var Purs_EntryPoints_SchoolDetails=(()=>{var M3e=Object.create;var $R=Object.defineProperty,G3e=Object.defineProperties,A3e=Object.getOwnPropertyDescriptor,x3e=Object.getOwnPropertyDescriptors,L3e=Object.getOwnPropertyNames,i$=Object.getOwnPropertySymbols,j3e=Object.getPrototypeOf,u$=Object.prototype.hasOwnProperty,N3e=Object.prototype.propertyIsEnumerable;var l$=(e,n,t)=>n in e?$R(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,ja=(e,n)=>{for(var t in n||(n={}))u$.call(n,t)&&l$(e,t,n[t]);if(i$)for(var t of i$(n))N3e.call(n,t)&&l$(e,t,n[t]);return e},ri=(e,n)=>G3e(e,x3e(n)),c$=e=>$R(e,"__esModule",{value:!0});var P3e=(e,n)=>()=>(e&&(n=e(e=0)),n);var Pe=(e,n)=>()=>(n||e((n={exports:{}}).exports,n),n.exports),YT=(e,n)=>{c$(e);for(var t in n)$R(e,t,{get:n[t],enumerable:!0})},k3e=(e,n,t)=>{if(n&&typeof n=="object"||typeof n=="function")for(let a of L3e(n))!u$.call(e,a)&&a!=="default"&&$R(e,a,{get:()=>n[a],enumerable:!(t=A3e(n,a))||t.enumerable});return e},ba=e=>k3e(c$($R(e!=null?M3e(j3e(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var Nh={};YT(Nh,{Children:()=>Lh,Component:()=>jh,Fragment:()=>B8,Suspense:()=>L5e,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>A5e,cloneElement:()=>eS,createContext:()=>H8,createElement:()=>ka,createRef:()=>BF,default:()=>wt,forwardRef:()=>hc,isValidElement:()=>J8,lazy:()=>x5e,useCallback:()=>nS,useContext:()=>j5e,useEffect:()=>br,useImperativeHandle:()=>pm,useLayoutEffect:()=>tS,useMemo:()=>aS,useReducer:()=>N5e,useRef:()=>Aa,useState:()=>Ff,version:()=>P5e});var wt,A5e,Lh,eS,jh,H8,ka,BF,hc,B8,J8,x5e,L5e,nS,j5e,br,pm,tS,aS,N5e,Aa,Ff,P5e,Wt=P3e(()=>{wt=window.React,{__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:A5e,Children:Lh,cloneElement:eS,Component:jh,createContext:H8,createElement:ka,createRef:BF,forwardRef:hc,Fragment:B8,isValidElement:J8,lazy:x5e,Suspense:L5e,useCallback:nS,useContext:j5e,useEffect:br,useImperativeHandle:pm,useLayoutEffect:tS,useMemo:aS,useReducer:N5e,useRef:Aa,useState:Ff,version:P5e}=window.React});var XF=Pe((TXn,QX)=>{"use strict";var VX=Object.getOwnPropertySymbols,p6e=Object.prototype.hasOwnProperty,_6e=Object.prototype.propertyIsEnumerable;function d6e(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function h6e(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var n={},t=0;t<10;t++)n["_"+String.fromCharCode(t)]=t;var a=Object.getOwnPropertyNames(n).map(function(o){return n[o]});if(a.join("")!=="0123456789")return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(o){r[o]=o}),Object.keys(Object.assign({},r)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}QX.exports=h6e()?Object.assign:function(e,n){for(var t,a=d6e(e),r,o=1;o{"use strict";var V8=XF(),g1=60103,YX=60106;Ha.Fragment=60107;Ha.StrictMode=60108;Ha.Profiler=60114;var XX=60109,ZX=60110,KX=60112;Ha.Suspense=60113;var eZ=60115,nZ=60116;typeof Symbol=="function"&&Symbol.for&&(hs=Symbol.for,g1=hs("react.element"),YX=hs("react.portal"),Ha.Fragment=hs("react.fragment"),Ha.StrictMode=hs("react.strict_mode"),Ha.Profiler=hs("react.profiler"),XX=hs("react.provider"),ZX=hs("react.context"),KX=hs("react.forward_ref"),Ha.Suspense=hs("react.suspense"),eZ=hs("react.memo"),nZ=hs("react.lazy"));var hs,tZ=typeof Symbol=="function"&&Symbol.iterator;function g6e(e){return e===null||typeof e!="object"?null:(e=tZ&&e[tZ]||e["@@iterator"],typeof e=="function"?e:null)}function fS(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t{"use strict";vZ.exports=fZ()});var jZ=Pe(y1=>{"use strict";var Gf=XF(),dm=Mf();function so(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;tpS;pS++)fu[pS]=pS+1;var fu,pS;fu[15]=0;var E6e=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,DZ=Object.prototype.hasOwnProperty,yZ={},bZ={};function RZ(e){return DZ.call(bZ,e)?!0:DZ.call(yZ,e)?!1:E6e.test(e)?bZ[e]=!0:(yZ[e]=!0,!1)}function C6e(e,n,t,a){if(t!==null&&t.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return a?!1:t!==null?!t.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function I6e(e,n,t,a){if(n===null||typeof n=="undefined"||C6e(e,n,t,a))return!0;if(a)return!1;if(t!==null)switch(t.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function nl(e,n,t,a,r,o,i){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=a,this.attributeNamespace=r,this.mustUseProperty=t,this.propertyName=e,this.type=n,this.sanitizeURL=o,this.removeEmptyString=i}var vu={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){vu[e]=new nl(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];vu[n]=new nl(n,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){vu[e]=new nl(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){vu[e]=new nl(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){vu[e]=new nl(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){vu[e]=new nl(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){vu[e]=new nl(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){vu[e]=new nl(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){vu[e]=new nl(e,5,!1,e.toLowerCase(),null,!1,!1)});var lL=/[\-:]([a-z])/g;function cL(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var n=e.replace(lL,cL);vu[n]=new nl(n,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(lL,cL);vu[n]=new nl(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(lL,cL);vu[n]=new nl(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){vu[e]=new nl(e,1,!1,e.toLowerCase(),null,!1,!1)});vu.xlinkHref=new nl("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){vu[e]=new nl(e,1,!1,e.toLowerCase(),null,!0,!0)});var T6e=/["'&<>]/;function Uh(e){if(typeof e=="boolean"||typeof e=="number")return""+e;e=""+e;var n=T6e.exec(e);if(n){var t="",a,r=0;for(a=n.index;ao2))throw Error(so(301));if(e===Xv)if(r2=!0,e={action:t,next:null},Zp===null&&(Zp=new Map),t=Zp.get(n),t===void 0)Zp.set(n,e);else{for(n=t;n.next!==null;)n=n.next;n.next=e}}function fL(){}var Bh=null,x6e={readContext:function(e){var n=Bh.threadID;return mS(e,n),e[n]},useContext:function(e){Hh();var n=Bh.threadID;return mS(e,n),e[n]},useMemo:TZ,useReducer:IZ,useRef:function(e){Xv=Hh(),jr=sL();var n=jr.memoizedState;return n===null?(e={current:e},jr.memoizedState=e):n},useState:function(e){return IZ(CZ,e)},useLayoutEffect:function(){},useCallback:function(e,n){return TZ(function(){return e},n)},useImperativeHandle:fL,useEffect:fL,useDebugValue:fL,useDeferredValue:function(e){return Hh(),e},useTransition:function(){return Hh(),[function(e){e()},!1]},useOpaqueIdentifier:function(){return(Bh.identifierPrefix||"")+"R:"+(Bh.uniqueID++).toString(36)},useMutableSource:function(e,n){return Hh(),n(e._source)}},FZ={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function MZ(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}var GZ={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},L6e=Gf({menuitem:!0},GZ),dS={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},j6e=["Webkit","ms","Moz","O"];Object.keys(dS).forEach(function(e){j6e.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),dS[n]=dS[e]})});var N6e=/([A-Z])/g,P6e=/^ms-/,Kp=dm.Children.toArray,vL=w6e.ReactCurrentDispatcher,k6e={listing:!0,pre:!0,textarea:!0},O6e=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,AZ={},mL={};function U6e(e){if(e==null)return e;var n="";return dm.Children.forEach(e,function(t){t!=null&&(n+=t)}),n}var H6e=Object.prototype.hasOwnProperty,B6e={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function xZ(e,n){if(e===void 0)throw Error(so(152,vS(n)||"Component"))}function J6e(e,n,t){function a(i,u){var l=u.prototype&&u.prototype.isReactComponent,c=S6e(u,n,t,l),s=[],f=!1,v={isMounted:function(){return!1},enqueueForceUpdate:function(){if(s===null)return null},enqueueReplaceState:function(G,P){f=!0,s=[P]},enqueueSetState:function(G,P){if(s===null)return null;s.push(P)}};if(l){if(l=new u(i.props,c,v),typeof u.getDerivedStateFromProps=="function"){var m=u.getDerivedStateFromProps.call(null,i.props,l.state);m!=null&&(l.state=Gf({},l.state,m))}}else if(Xv={},l=u(i.props,c,v),l=SZ(u,i.props,l,c),l==null||l.render==null){e=l,xZ(e,u);return}if(l.props=i.props,l.context=c,l.updater=v,v=l.state,v===void 0&&(l.state=v=null),typeof l.UNSAFE_componentWillMount=="function"||typeof l.componentWillMount=="function")if(typeof l.componentWillMount=="function"&&typeof u.getDerivedStateFromProps!="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&typeof u.getDerivedStateFromProps!="function"&&l.UNSAFE_componentWillMount(),s.length){v=s;var _=f;if(s=null,f=!1,_&&v.length===1)l.state=v[0];else{m=_?v[0]:l.state;var R=!0;for(_=_?1:0;_=u))throw Error(so(304));var l=new Uint16Array(u);for(l.set(i),fu=l,fu[0]=o+1,i=o;i=l.children.length){var c=l.footer;if(c!==""&&(this.previousWasTextNode=!1),this.stack.pop(),l.type==="select")this.currentSelectValue=null;else if(l.type!=null&&l.type.type!=null&&l.type.type.$$typeof===n2)this.popProvider(l.type);else if(l.type===t2){this.suspenseDepth--;var s=o.pop();if(i){i=!1;var f=l.fallbackFrame;if(!f)throw Error(so(303));this.stack.push(f),o[this.suspenseDepth]+="";continue}else o[this.suspenseDepth]+=s}o[this.suspenseDepth]+=c}else{var v=l.children[l.childIndex++],m="";try{m+=this.render(v,l.context,l.domNamespace)}catch(_){throw _!=null&&typeof _.then=="function"?Error(so(294)):_}finally{}o.length<=this.suspenseDepth&&o.push(""),o[this.suspenseDepth]+=m}}return o[0]}finally{vL.current=r,Bh=a,EZ()}},n.render=function(t,a,r){if(typeof t=="string"||typeof t=="number")return r=""+t,r===""?"":this.makeStaticMarkup?Uh(r):this.previousWasTextNode?""+Uh(r):(this.previousWasTextNode=!0,Uh(r));if(a=J6e(t,a,this.threadID),t=a.child,a=a.context,t===null||t===!1)return"";if(!dm.isValidElement(t)){if(t!=null&&t.$$typeof!=null)throw r=t.$$typeof,Error(r===eL?so(257):so(258,r.toString()));return t=Kp(t),this.stack.push({type:null,domNamespace:r,children:t,childIndex:0,context:a,footer:""}),""}var o=t.type;if(typeof o=="string")return this.renderDOM(t,a,r);switch(o){case hZ:case dZ:case nL:case tL:case oL:case e2:return t=Kp(t.props.children),this.stack.push({type:null,domNamespace:r,children:t,childIndex:0,context:a,footer:""}),"";case t2:throw Error(so(294));case _Z:throw Error(so(343))}if(typeof o=="object"&&o!==null)switch(o.$$typeof){case rL:Xv={};var i=o.render(t.props,t.ref);return i=SZ(o.render,t.props,i,t.ref),i=Kp(i),this.stack.push({type:null,domNamespace:r,children:i,childIndex:0,context:a,footer:""}),"";case iL:return t=[dm.createElement(o.type,Gf({ref:t.ref},t.props))],this.stack.push({type:null,domNamespace:r,children:t,childIndex:0,context:a,footer:""}),"";case n2:return o=Kp(t.props.children),r={type:t,domNamespace:r,children:o,childIndex:0,context:a,footer:""},this.pushProvider(t),this.stack.push(r),"";case aL:o=t.type,i=t.props;var u=this.threadID;return mS(o,u),o=Kp(i.children(o[u])),this.stack.push({type:t,domNamespace:r,children:o,childIndex:0,context:a,footer:""}),"";case pZ:throw Error(so(338));case uL:return o=t.type,i=o._init,o=i(o._payload),t=[dm.createElement(o,Gf({ref:t.ref},t.props))],this.stack.push({type:null,domNamespace:r,children:t,childIndex:0,context:a,footer:""}),""}throw Error(so(130,o==null?o:typeof o,""))},n.renderDOM=function(t,a,r){var o=t.type.toLowerCase();if(r===FZ.html&&MZ(o),!AZ.hasOwnProperty(o)){if(!O6e.test(o))throw Error(so(65,o));AZ[o]=!0}var i=t.props;if(o==="input")i=Gf({type:void 0},i,{defaultChecked:void 0,defaultValue:void 0,value:i.value!=null?i.value:i.defaultValue,checked:i.checked!=null?i.checked:i.defaultChecked});else if(o==="textarea"){var u=i.value;if(u==null){u=i.defaultValue;var l=i.children;if(l!=null){if(u!=null)throw Error(so(92));if(Array.isArray(l)){if(!(1>=l.length))throw Error(so(93));l=l[0]}u=""+l}u==null&&(u="")}i=Gf({},i,{value:void 0,children:""+u})}else if(o==="select")this.currentSelectValue=i.value!=null?i.value:i.defaultValue,i=Gf({},i,{value:void 0});else if(o==="option"){l=this.currentSelectValue;var c=U6e(i.children);if(l!=null){var s=i.value!=null?i.value+"":c;if(u=!1,Array.isArray(l)){for(var f=0;f":(P+=">",u="");e:{if(l=i.dangerouslySetInnerHTML,l!=null){if(l.__html!=null){l=l.__html;break e}}else if(l=i.children,typeof l=="string"||typeof l=="number"){l=Uh(l);break e}l=null}return l!=null?(i=[],k6e.hasOwnProperty(o)&&l.charAt(0)===` `&&(P+=` `),P+=l):i=Kp(i.children),t=t.type,r=r==null||r==="http://www.w3.org/1999/xhtml"?MZ(t):r==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":r,this.stack.push({domNamespace:r,type:o,children:i,childIndex:0,context:a,footer:u}),this.previousWasTextNode=!1,P},e}();y1.renderToNodeStream=function(){throw Error(so(207))};y1.renderToStaticMarkup=function(e,n){e=new LZ(e,!0,n);try{return e.read(1/0)}finally{e.destroy()}};y1.renderToStaticNodeStream=function(){throw Error(so(208))};y1.renderToString=function(e,n){e=new LZ(e,!1,n);try{return e.read(1/0)}finally{e.destroy()}};y1.version="17.0.2"});var PZ=Pe((AXn,NZ)=>{"use strict";NZ.exports=jZ()});var pre=Pe((rQt,mre)=>{"use strict";var HOe="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";mre.exports=HOe});var gre=Pe((oQt,hre)=>{"use strict";var BOe=pre();function _re(){}function dre(){}dre.resetWarningCache=_re;hre.exports=function(){function e(a,r,o,i,u,l){if(l!==BOe){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}e.isRequired=e;function n(){return e}var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:n,element:e,elementType:e,instanceOf:n,node:e,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:dre,resetWarningCache:_re};return t.PropTypes=t,t}});var ay=Pe((lQt,Dre)=>{Dre.exports=gre()();var iQt,uQt});var Ej=Pe(ry=>{"use strict";Object.defineProperty(ry,"__esModule",{value:!0});var yre=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],iG=yre.join(","),bre=typeof Element=="undefined",mg=bre?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,wj=!bre&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},Rre=function(n,t,a){var r=Array.prototype.slice.apply(n.querySelectorAll(iG));return t&&mg.call(n,iG)&&r.unshift(n),r=r.filter(a),r},wre=function e(n,t,a){for(var r=[],o=Array.from(n);o.length;){var i=o.shift();if(i.tagName==="SLOT"){var u=i.assignedElements(),l=u.length?u:i.children,c=e(l,!0,a);a.flatten?r.push.apply(r,c):r.push({scope:i,candidates:c})}else{var s=mg.call(i,iG);s&&a.filter(i)&&(t||!n.includes(i))&&r.push(i);var f=i.shadowRoot||typeof a.getShadowRoot=="function"&&a.getShadowRoot(i),v=!a.shadowRootFilter||a.shadowRootFilter(i);if(f&&v){var m=e(f===!0?i.children:f.children,!0,a);a.flatten?r.push.apply(r,m):r.push({scope:i,candidates:m})}else o.unshift.apply(o,i.children)}}return r},Sre=function(n,t){return n.tabIndex<0&&(t||/^(AUDIO|VIDEO|DETAILS)$/.test(n.tagName)||n.isContentEditable)&&isNaN(parseInt(n.getAttribute("tabindex"),10))?0:n.tabIndex},JOe=function(n,t){return n.tabIndex===t.tabIndex?n.documentOrder-t.documentOrder:n.tabIndex-t.tabIndex},Ere=function(n){return n.tagName==="INPUT"},WOe=function(n){return Ere(n)&&n.type==="hidden"},qOe=function(n){var t=n.tagName==="DETAILS"&&Array.prototype.slice.apply(n.children).some(function(a){return a.tagName==="SUMMARY"});return t},zOe=function(n,t){for(var a=0;asummary:first-of-type"),i=o?n.parentElement:n;if(mg.call(i,"details:not([open]) *"))return!0;var u=wj(n).host,l=(u==null?void 0:u.ownerDocument.contains(u))||n.ownerDocument.contains(n);if(!a||a==="full"){if(typeof r=="function"){for(var c=n;n;){var s=n.parentElement,f=wj(n);if(s&&!s.shadowRoot&&r(s)===!0)return Cre(n);n.assignedSlot?n=n.assignedSlot:!s&&f!==n.ownerDocument?n=f.host:n=s}n=c}if(l)return!n.getClientRects().length}else if(a==="non-zero-area")return Cre(n);return!1},XOe=function(n){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(n.tagName))for(var t=n.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var a=0;a=0)},KOe=function e(n){var t=[],a=[];return n.forEach(function(r,o){var i=!!r.scope,u=i?r.scope:r,l=Sre(u,i),c=i?e(r.candidates):u;l===0?i?t.push.apply(t,c):t.push(u):a.push({documentOrder:o,tabIndex:l,item:r,isScope:i,content:c})}),a.sort(JOe).reduce(function(r,o){return o.isScope?r.push.apply(r,o.content):r.push(o.content),r},[]).concat(t)},eUe=function(n,t){t=t||{};var a;return t.getShadowRoot?a=wre([n],t.includeContainer,{filter:Sj.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:ZOe}):a=Rre(n,t.includeContainer,Sj.bind(null,t)),KOe(a)},nUe=function(n,t){t=t||{};var a;return t.getShadowRoot?a=wre([n],t.includeContainer,{filter:uG.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):a=Rre(n,t.includeContainer,uG.bind(null,t)),a},tUe=function(n,t){if(t=t||{},!n)throw new Error("No node provided");return mg.call(n,iG)===!1?!1:Sj(t,n)},aUe=yre.concat("iframe").join(","),rUe=function(n,t){if(t=t||{},!n)throw new Error("No node provided");return mg.call(n,aUe)===!1?!1:uG(t,n)};ry.focusable=nUe;ry.isFocusable=rUe;ry.isTabbable=tUe;ry.tabbable=eUe});var Are=Pe(Cj=>{"use strict";Object.defineProperty(Cj,"__esModule",{value:!0});var Qm=Ej();function Ire(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,a)}return t}function Tre(e){for(var n=1;n0){var a=e[e.length-1];a!==t&&a.pause()}var r=e.indexOf(t);r===-1||e.splice(r,1),e.push(t)},deactivateTrap:function(t){var a=e.indexOf(t);a!==-1&&e.splice(a,1),e.length>0&&e[e.length-1].unpause()}}}(),iUe=function(n){return n.tagName&&n.tagName.toLowerCase()==="input"&&typeof n.select=="function"},uUe=function(n){return n.key==="Escape"||n.key==="Esc"||n.keyCode===27},lUe=function(n){return n.key==="Tab"||n.keyCode===9},Mre=function(n){return setTimeout(n,0)},Gre=function(n,t){var a=-1;return n.every(function(r,o){return t(r)?(a=o,!1):!0}),a},TE=function(n){for(var t=arguments.length,a=new Array(t>1?t-1:0),r=1;r1?oe-1:0),ve=1;ve=0)M=a.activeElement;else{var O=o.tabbableGroups[0],oe=O&&O.firstTabbableNode;M=oe||c("fallbackFocus")}if(!M)throw new Error("Your focus-trap needs to have at least one focusable element");return M},f=function(){if(o.containerGroups=o.containers.map(function(M){var O=Qm.tabbable(M,r.tabbableOptions),oe=Qm.focusable(M,r.tabbableOptions);return{container:M,tabbableNodes:O,focusableNodes:oe,firstTabbableNode:O.length>0?O[0]:null,lastTabbableNode:O.length>0?O[O.length-1]:null,nextTabbableNode:function(ve){var X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,be=oe.findIndex(function(pe){return pe===ve});if(!(be<0))return X?oe.slice(be+1).find(function(pe){return Qm.isTabbable(pe,r.tabbableOptions)}):oe.slice(0,be).reverse().find(function(pe){return Qm.isTabbable(pe,r.tabbableOptions)})}}}),o.tabbableGroups=o.containerGroups.filter(function(M){return M.tabbableNodes.length>0}),o.tabbableGroups.length<=0&&!c("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},v=function k(M){if(M!==!1&&M!==a.activeElement){if(!M||!M.focus){k(s());return}M.focus({preventScroll:!!r.preventScroll}),o.mostRecentlyFocusedNode=M,iUe(M)&&M.select()}},m=function(M){var O=c("setReturnFocus",M);return O||(O===!1?!1:M)},_=function(M){var O=lG(M);if(!(l(O)>=0)){if(TE(r.clickOutsideDeactivates,M)){i.deactivate({returnFocus:r.returnFocusOnDeactivate&&!Qm.isFocusable(O,r.tabbableOptions)});return}TE(r.allowOutsideClick,M)||M.preventDefault()}},R=function(M){var O=lG(M),oe=l(O)>=0;oe||O instanceof Document?oe&&(o.mostRecentlyFocusedNode=O):(M.stopImmediatePropagation(),v(o.mostRecentlyFocusedNode||s()))},D=function(M){var O=lG(M);f();var oe=null;if(o.tabbableGroups.length>0){var le=l(O),ve=le>=0?o.containerGroups[le]:void 0;if(le<0)M.shiftKey?oe=o.tabbableGroups[o.tabbableGroups.length-1].lastTabbableNode:oe=o.tabbableGroups[0].firstTabbableNode;else if(M.shiftKey){var X=Gre(o.tabbableGroups,function(jn){var Ve=jn.firstTabbableNode;return O===Ve});if(X<0&&(ve.container===O||Qm.isFocusable(O,r.tabbableOptions)&&!Qm.isTabbable(O,r.tabbableOptions)&&!ve.nextTabbableNode(O,!1))&&(X=le),X>=0){var be=X===0?o.tabbableGroups.length-1:X-1,pe=o.tabbableGroups[be];oe=pe.lastTabbableNode}}else{var De=Gre(o.tabbableGroups,function(jn){var Ve=jn.lastTabbableNode;return O===Ve});if(De<0&&(ve.container===O||Qm.isFocusable(O,r.tabbableOptions)&&!Qm.isTabbable(O,r.tabbableOptions)&&!ve.nextTabbableNode(O))&&(De=le),De>=0){var Ne=De===o.tabbableGroups.length-1?0:De+1,ie=o.tabbableGroups[Ne];oe=ie.firstTabbableNode}}}else oe=c("fallbackFocus");oe&&(M.preventDefault(),v(oe))},y=function(M){if(uUe(M)&&TE(r.escapeDeactivates,M)!==!1){M.preventDefault(),i.deactivate();return}if(lUe(M)){D(M);return}},S=function(M){var O=lG(M);l(O)>=0||TE(r.clickOutsideDeactivates,M)||TE(r.allowOutsideClick,M)||(M.preventDefault(),M.stopImmediatePropagation())},G=function(){if(!!o.active)return Fre.activateTrap(i),o.delayInitialFocusTimer=r.delayInitialFocus?Mre(function(){v(s())}):v(s()),a.addEventListener("focusin",R,!0),a.addEventListener("mousedown",_,{capture:!0,passive:!1}),a.addEventListener("touchstart",_,{capture:!0,passive:!1}),a.addEventListener("click",S,{capture:!0,passive:!1}),a.addEventListener("keydown",y,{capture:!0,passive:!1}),i},P=function(){if(!!o.active)return a.removeEventListener("focusin",R,!0),a.removeEventListener("mousedown",_,!0),a.removeEventListener("touchstart",_,!0),a.removeEventListener("click",S,!0),a.removeEventListener("keydown",y,!0),i};return i={get active(){return o.active},get paused(){return o.paused},activate:function(M){if(o.active)return this;var O=u(M,"onActivate"),oe=u(M,"onPostActivate"),le=u(M,"checkCanFocusTrap");le||f(),o.active=!0,o.paused=!1,o.nodeFocusedBeforeActivation=a.activeElement,O&&O();var ve=function(){le&&f(),G(),oe&&oe()};return le?(le(o.containers.concat()).then(ve,ve),this):(ve(),this)},deactivate:function(M){if(!o.active)return this;var O=Tre({onDeactivate:r.onDeactivate,onPostDeactivate:r.onPostDeactivate,checkCanReturnFocus:r.checkCanReturnFocus},M);clearTimeout(o.delayInitialFocusTimer),o.delayInitialFocusTimer=void 0,P(),o.active=!1,o.paused=!1,Fre.deactivateTrap(i);var oe=u(O,"onDeactivate"),le=u(O,"onPostDeactivate"),ve=u(O,"checkCanReturnFocus"),X=u(O,"returnFocus","returnFocusOnDeactivate");oe&&oe();var be=function(){Mre(function(){X&&v(m(o.nodeFocusedBeforeActivation)),le&&le()})};return X&&ve?(ve(m(o.nodeFocusedBeforeActivation)).then(be,be),this):(be(),this)},pause:function(){return o.paused||!o.active?this:(o.paused=!0,P(),this)},unpause:function(){return!o.paused||!o.active?this:(o.paused=!1,f(),G(),this)},updateContainerElements:function(M){var O=[].concat(M).filter(Boolean);return o.containers=O.map(function(oe){return typeof oe=="string"?a.querySelector(oe):oe}),o.active&&f(),this}},i.updateContainerElements(n),i};Cj.createFocusTrap=cUe});var jre=Pe((fQt,Lre)=>{"use strict";function Ij(e){return Ij=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Ij(e)}function sUe(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function xre(e,n){for(var t=0;t1?s-1:0),v=1;v element.");var i=function(c){var s=r.props.containerElements;o&&(typeof o.ref=="function"?o.ref(c):o.ref&&(o.ref.current=c)),r.focusTrapElements=s||[c]},u=sG.cloneElement(o,{ref:i});return u}return null}}]),t}(sG.Component),ME=typeof Element=="undefined"?Function:Element;Fj.propTypes={active:aa.bool,paused:aa.bool,focusTrapOptions:aa.shape({document:aa.object,onActivate:aa.func,onPostActivate:aa.func,checkCanFocusTrap:aa.func,onDeactivate:aa.func,onPostDeactivate:aa.func,checkCanReturnFocus:aa.func,initialFocus:aa.oneOfType([aa.instanceOf(ME),aa.string,aa.bool,aa.func]),fallbackFocus:aa.oneOfType([aa.instanceOf(ME),aa.string,aa.func]),escapeDeactivates:aa.oneOfType([aa.bool,aa.func]),clickOutsideDeactivates:aa.oneOfType([aa.bool,aa.func]),returnFocusOnDeactivate:aa.bool,setReturnFocus:aa.oneOfType([aa.instanceOf(ME),aa.string,aa.bool,aa.func]),allowOutsideClick:aa.oneOfType([aa.bool,aa.func]),preventScroll:aa.bool,tabbableOptions:aa.shape({displayCheck:aa.oneOf(["full","non-zero-area","none"]),getShadowRoot:aa.oneOfType([aa.bool,aa.func])})}),containerElements:aa.arrayOf(aa.instanceOf(ME)),children:aa.oneOfType([aa.element,aa.instanceOf(ME)])};Fj.defaultProps={active:!0,paused:!1,focusTrapOptions:{},_createFocusTrap:gUe};Lre.exports=Fj});var Jce=Pe(dr=>{"use strict";var eu=typeof Symbol=="function"&&Symbol.for,$N=eu?Symbol.for("react.element"):60103,VN=eu?Symbol.for("react.portal"):60106,M4=eu?Symbol.for("react.fragment"):60107,G4=eu?Symbol.for("react.strict_mode"):60108,A4=eu?Symbol.for("react.profiler"):60114,x4=eu?Symbol.for("react.provider"):60109,L4=eu?Symbol.for("react.context"):60110,QN=eu?Symbol.for("react.async_mode"):60111,j4=eu?Symbol.for("react.concurrent_mode"):60111,N4=eu?Symbol.for("react.forward_ref"):60112,P4=eu?Symbol.for("react.suspense"):60113,wVe=eu?Symbol.for("react.suspense_list"):60120,k4=eu?Symbol.for("react.memo"):60115,O4=eu?Symbol.for("react.lazy"):60116,SVe=eu?Symbol.for("react.block"):60121,EVe=eu?Symbol.for("react.fundamental"):60117,CVe=eu?Symbol.for("react.responder"):60118,IVe=eu?Symbol.for("react.scope"):60119;function Bc(e){if(typeof e=="object"&&e!==null){var n=e.$$typeof;switch(n){case $N:switch(e=e.type,e){case QN:case j4:case M4:case A4:case G4:case P4:return e;default:switch(e=e&&e.$$typeof,e){case L4:case N4:case O4:case k4:case x4:return e;default:return n}}case VN:return n}}}function Bce(e){return Bc(e)===j4}dr.AsyncMode=QN;dr.ConcurrentMode=j4;dr.ContextConsumer=L4;dr.ContextProvider=x4;dr.Element=$N;dr.ForwardRef=N4;dr.Fragment=M4;dr.Lazy=O4;dr.Memo=k4;dr.Portal=VN;dr.Profiler=A4;dr.StrictMode=G4;dr.Suspense=P4;dr.isAsyncMode=function(e){return Bce(e)||Bc(e)===QN};dr.isConcurrentMode=Bce;dr.isContextConsumer=function(e){return Bc(e)===L4};dr.isContextProvider=function(e){return Bc(e)===x4};dr.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===$N};dr.isForwardRef=function(e){return Bc(e)===N4};dr.isFragment=function(e){return Bc(e)===M4};dr.isLazy=function(e){return Bc(e)===O4};dr.isMemo=function(e){return Bc(e)===k4};dr.isPortal=function(e){return Bc(e)===VN};dr.isProfiler=function(e){return Bc(e)===A4};dr.isStrictMode=function(e){return Bc(e)===G4};dr.isSuspense=function(e){return Bc(e)===P4};dr.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===M4||e===j4||e===A4||e===G4||e===P4||e===wVe||typeof e=="object"&&e!==null&&(e.$$typeof===O4||e.$$typeof===k4||e.$$typeof===x4||e.$$typeof===L4||e.$$typeof===N4||e.$$typeof===EVe||e.$$typeof===CVe||e.$$typeof===IVe||e.$$typeof===SVe)};dr.typeOf=Bc});var qce=Pe((opa,Wce)=>{"use strict";Wce.exports=Jce()});var z_=Pe((Dpa,B4)=>{(function(){"use strict";var e={}.hasOwnProperty;function n(){for(var r="",o=0;o{function mQe(){this.__data__=[],this.size=0}Nse.exports=mQe});var gP=Pe((cda,kse)=>{function pQe(e,n){return e===n||e!==e&&n!==n}kse.exports=pQe});var uC=Pe((sda,Ose)=>{var _Qe=gP();function dQe(e,n){for(var t=e.length;t--;)if(_Qe(e[t][0],n))return t;return-1}Ose.exports=dQe});var Hse=Pe((fda,Use)=>{var hQe=uC(),gQe=Array.prototype,DQe=gQe.splice;function yQe(e){var n=this.__data__,t=hQe(n,e);if(t<0)return!1;var a=n.length-1;return t==a?n.pop():DQe.call(n,t,1),--this.size,!0}Use.exports=yQe});var Jse=Pe((vda,Bse)=>{var bQe=uC();function RQe(e){var n=this.__data__,t=bQe(n,e);return t<0?void 0:n[t][1]}Bse.exports=RQe});var qse=Pe((mda,Wse)=>{var wQe=uC();function SQe(e){return wQe(this.__data__,e)>-1}Wse.exports=SQe});var $se=Pe((pda,zse)=>{var EQe=uC();function CQe(e,n){var t=this.__data__,a=EQe(t,e);return a<0?(++this.size,t.push([e,n])):t[a][1]=n,this}zse.exports=CQe});var lC=Pe((_da,Vse)=>{var IQe=Pse(),TQe=Hse(),FQe=Jse(),MQe=qse(),GQe=$se();function Xy(e){var n=-1,t=e==null?0:e.length;for(this.clear();++n{var AQe=lC();function xQe(){this.__data__=new AQe,this.size=0}Qse.exports=xQe});var Zse=Pe((hda,Xse)=>{function LQe(e){var n=this.__data__,t=n.delete(e);return this.size=n.size,t}Xse.exports=LQe});var efe=Pe((gda,Kse)=>{function jQe(e){return this.__data__.get(e)}Kse.exports=jQe});var tfe=Pe((Dda,nfe)=>{function NQe(e){return this.__data__.has(e)}nfe.exports=NQe});var DP=Pe((yda,afe)=>{var PQe=typeof global=="object"&&global&&global.Object===Object&&global;afe.exports=PQe});var E0=Pe((bda,rfe)=>{var kQe=DP(),OQe=typeof self=="object"&&self&&self.Object===Object&&self,UQe=kQe||OQe||Function("return this")();rfe.exports=UQe});var c3=Pe((Rda,ofe)=>{var HQe=E0(),BQe=HQe.Symbol;ofe.exports=BQe});var cfe=Pe((wda,lfe)=>{var ife=c3(),ufe=Object.prototype,JQe=ufe.hasOwnProperty,WQe=ufe.toString,cC=ife?ife.toStringTag:void 0;function qQe(e){var n=JQe.call(e,cC),t=e[cC];try{e[cC]=void 0;var a=!0}catch{}var r=WQe.call(e);return a&&(n?e[cC]=t:delete e[cC]),r}lfe.exports=qQe});var ffe=Pe((Sda,sfe)=>{var zQe=Object.prototype,$Qe=zQe.toString;function VQe(e){return $Qe.call(e)}sfe.exports=VQe});var sC=Pe((Eda,pfe)=>{var vfe=c3(),QQe=cfe(),YQe=ffe(),XQe="[object Null]",ZQe="[object Undefined]",mfe=vfe?vfe.toStringTag:void 0;function KQe(e){return e==null?e===void 0?ZQe:XQe:mfe&&mfe in Object(e)?QQe(e):YQe(e)}pfe.exports=KQe});var yP=Pe((Cda,_fe)=>{function eYe(e){var n=typeof e;return e!=null&&(n=="object"||n=="function")}_fe.exports=eYe});var bP=Pe((Ida,dfe)=>{var nYe=sC(),tYe=yP(),aYe="[object AsyncFunction]",rYe="[object Function]",oYe="[object GeneratorFunction]",iYe="[object Proxy]";function uYe(e){if(!tYe(e))return!1;var n=nYe(e);return n==rYe||n==oYe||n==aYe||n==iYe}dfe.exports=uYe});var gfe=Pe((Tda,hfe)=>{var lYe=E0(),cYe=lYe["__core-js_shared__"];hfe.exports=cYe});var bfe=Pe((Fda,yfe)=>{var RP=gfe(),Dfe=function(){var e=/[^.]+$/.exec(RP&&RP.keys&&RP.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function sYe(e){return!!Dfe&&Dfe in e}yfe.exports=sYe});var wP=Pe((Mda,Rfe)=>{var fYe=Function.prototype,vYe=fYe.toString;function mYe(e){if(e!=null){try{return vYe.call(e)}catch{}try{return e+""}catch{}}return""}Rfe.exports=mYe});var Sfe=Pe((Gda,wfe)=>{var pYe=bP(),_Ye=bfe(),dYe=yP(),hYe=wP(),gYe=/[\\^$.*+?()[\]{}|]/g,DYe=/^\[object .+?Constructor\]$/,yYe=Function.prototype,bYe=Object.prototype,RYe=yYe.toString,wYe=bYe.hasOwnProperty,SYe=RegExp("^"+RYe.call(wYe).replace(gYe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function EYe(e){if(!dYe(e)||_Ye(e))return!1;var n=pYe(e)?SYe:DYe;return n.test(hYe(e))}wfe.exports=EYe});var Cfe=Pe((Ada,Efe)=>{function CYe(e,n){return e==null?void 0:e[n]}Efe.exports=CYe});var Ig=Pe((xda,Ife)=>{var IYe=Sfe(),TYe=Cfe();function FYe(e,n){var t=TYe(e,n);return IYe(t)?t:void 0}Ife.exports=FYe});var s3=Pe((Lda,Tfe)=>{var MYe=Ig(),GYe=E0(),AYe=MYe(GYe,"Map");Tfe.exports=AYe});var fC=Pe((jda,Ffe)=>{var xYe=Ig(),LYe=xYe(Object,"create");Ffe.exports=LYe});var Afe=Pe((Nda,Gfe)=>{var Mfe=fC();function jYe(){this.__data__=Mfe?Mfe(null):{},this.size=0}Gfe.exports=jYe});var Lfe=Pe((Pda,xfe)=>{function NYe(e){var n=this.has(e)&&delete this.__data__[e];return this.size-=n?1:0,n}xfe.exports=NYe});var Nfe=Pe((kda,jfe)=>{var PYe=fC(),kYe="__lodash_hash_undefined__",OYe=Object.prototype,UYe=OYe.hasOwnProperty;function HYe(e){var n=this.__data__;if(PYe){var t=n[e];return t===kYe?void 0:t}return UYe.call(n,e)?n[e]:void 0}jfe.exports=HYe});var kfe=Pe((Oda,Pfe)=>{var BYe=fC(),JYe=Object.prototype,WYe=JYe.hasOwnProperty;function qYe(e){var n=this.__data__;return BYe?n[e]!==void 0:WYe.call(n,e)}Pfe.exports=qYe});var Ufe=Pe((Uda,Ofe)=>{var zYe=fC(),$Ye="__lodash_hash_undefined__";function VYe(e,n){var t=this.__data__;return this.size+=this.has(e)?0:1,t[e]=zYe&&n===void 0?$Ye:n,this}Ofe.exports=VYe});var Bfe=Pe((Hda,Hfe)=>{var QYe=Afe(),YYe=Lfe(),XYe=Nfe(),ZYe=kfe(),KYe=Ufe();function Zy(e){var n=-1,t=e==null?0:e.length;for(this.clear();++n{var Jfe=Bfe(),eXe=lC(),nXe=s3();function tXe(){this.size=0,this.__data__={hash:new Jfe,map:new(nXe||eXe),string:new Jfe}}Wfe.exports=tXe});var $fe=Pe((Jda,zfe)=>{function aXe(e){var n=typeof e;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?e!=="__proto__":e===null}zfe.exports=aXe});var vC=Pe((Wda,Vfe)=>{var rXe=$fe();function oXe(e,n){var t=e.__data__;return rXe(n)?t[typeof n=="string"?"string":"hash"]:t.map}Vfe.exports=oXe});var Yfe=Pe((qda,Qfe)=>{var iXe=vC();function uXe(e){var n=iXe(this,e).delete(e);return this.size-=n?1:0,n}Qfe.exports=uXe});var Zfe=Pe((zda,Xfe)=>{var lXe=vC();function cXe(e){return lXe(this,e).get(e)}Xfe.exports=cXe});var eve=Pe(($da,Kfe)=>{var sXe=vC();function fXe(e){return sXe(this,e).has(e)}Kfe.exports=fXe});var tve=Pe((Vda,nve)=>{var vXe=vC();function mXe(e,n){var t=vXe(this,e),a=t.size;return t.set(e,n),this.size+=t.size==a?0:1,this}nve.exports=mXe});var SP=Pe((Qda,ave)=>{var pXe=qfe(),_Xe=Yfe(),dXe=Zfe(),hXe=eve(),gXe=tve();function Ky(e){var n=-1,t=e==null?0:e.length;for(this.clear();++n{var DXe=lC(),yXe=s3(),bXe=SP(),RXe=200;function wXe(e,n){var t=this.__data__;if(t instanceof DXe){var a=t.__data__;if(!yXe||a.length{var SXe=lC(),EXe=Yse(),CXe=Zse(),IXe=efe(),TXe=tfe(),FXe=ove();function eb(e){var n=this.__data__=new SXe(e);this.size=n.size}eb.prototype.clear=EXe;eb.prototype.delete=CXe;eb.prototype.get=IXe;eb.prototype.has=TXe;eb.prototype.set=FXe;ive.exports=eb});var cve=Pe((Zda,lve)=>{var MXe="__lodash_hash_undefined__";function GXe(e){return this.__data__.set(e,MXe),this}lve.exports=GXe});var fve=Pe((Kda,sve)=>{function AXe(e){return this.__data__.has(e)}sve.exports=AXe});var mve=Pe((eha,vve)=>{var xXe=SP(),LXe=cve(),jXe=fve();function f3(e){var n=-1,t=e==null?0:e.length;for(this.__data__=new xXe;++n{function NXe(e,n){for(var t=-1,a=e==null?0:e.length;++t{function PXe(e,n){return e.has(n)}dve.exports=PXe});var EP=Pe((aha,gve)=>{var kXe=mve(),OXe=_ve(),UXe=hve(),HXe=1,BXe=2;function JXe(e,n,t,a,r,o){var i=t&HXe,u=e.length,l=n.length;if(u!=l&&!(i&&l>u))return!1;var c=o.get(e),s=o.get(n);if(c&&s)return c==n&&s==e;var f=-1,v=!0,m=t&BXe?new kXe:void 0;for(o.set(e,n),o.set(n,e);++f{var WXe=E0(),qXe=WXe.Uint8Array;Dve.exports=qXe});var Rve=Pe((oha,bve)=>{function zXe(e){var n=-1,t=Array(e.size);return e.forEach(function(a,r){t[++n]=[r,a]}),t}bve.exports=zXe});var Sve=Pe((iha,wve)=>{function $Xe(e){var n=-1,t=Array(e.size);return e.forEach(function(a){t[++n]=a}),t}wve.exports=$Xe});var Fve=Pe((uha,Tve)=>{var Eve=c3(),Cve=yve(),VXe=gP(),QXe=EP(),YXe=Rve(),XXe=Sve(),ZXe=1,KXe=2,eZe="[object Boolean]",nZe="[object Date]",tZe="[object Error]",aZe="[object Map]",rZe="[object Number]",oZe="[object RegExp]",iZe="[object Set]",uZe="[object String]",lZe="[object Symbol]",cZe="[object ArrayBuffer]",sZe="[object DataView]",Ive=Eve?Eve.prototype:void 0,CP=Ive?Ive.valueOf:void 0;function fZe(e,n,t,a,r,o,i){switch(t){case sZe:if(e.byteLength!=n.byteLength||e.byteOffset!=n.byteOffset)return!1;e=e.buffer,n=n.buffer;case cZe:return!(e.byteLength!=n.byteLength||!o(new Cve(e),new Cve(n)));case eZe:case nZe:case rZe:return VXe(+e,+n);case tZe:return e.name==n.name&&e.message==n.message;case oZe:case uZe:return e==n+"";case aZe:var u=YXe;case iZe:var l=a&ZXe;if(u||(u=XXe),e.size!=n.size&&!l)return!1;var c=i.get(e);if(c)return c==n;a|=KXe,i.set(e,n);var s=QXe(u(e),u(n),a,r,o,i);return i.delete(e),s;case lZe:if(CP)return CP.call(e)==CP.call(n)}return!1}Tve.exports=fZe});var Gve=Pe((lha,Mve)=>{function vZe(e,n){for(var t=-1,a=n.length,r=e.length;++t{var mZe=Array.isArray;Ave.exports=mZe});var Lve=Pe((sha,xve)=>{var pZe=Gve(),_Ze=v3();function dZe(e,n,t){var a=n(e);return _Ze(e)?a:pZe(a,t(e))}xve.exports=dZe});var Nve=Pe((fha,jve)=>{function hZe(e,n){for(var t=-1,a=e==null?0:e.length,r=0,o=[];++t{function gZe(){return[]}Pve.exports=gZe});var Hve=Pe((mha,Uve)=>{var DZe=Nve(),yZe=kve(),bZe=Object.prototype,RZe=bZe.propertyIsEnumerable,Ove=Object.getOwnPropertySymbols,wZe=Ove?function(e){return e==null?[]:(e=Object(e),DZe(Ove(e),function(n){return RZe.call(e,n)}))}:yZe;Uve.exports=wZe});var Jve=Pe((pha,Bve)=>{function SZe(e,n){for(var t=-1,a=Array(e);++t{function EZe(e){return e!=null&&typeof e=="object"}Wve.exports=EZe});var zve=Pe((dha,qve)=>{var CZe=sC(),IZe=mC(),TZe="[object Arguments]";function FZe(e){return IZe(e)&&CZe(e)==TZe}qve.exports=FZe});var Yve=Pe((hha,Qve)=>{var $ve=zve(),MZe=mC(),Vve=Object.prototype,GZe=Vve.hasOwnProperty,AZe=Vve.propertyIsEnumerable,xZe=$ve(function(){return arguments}())?$ve:function(e){return MZe(e)&&GZe.call(e,"callee")&&!AZe.call(e,"callee")};Qve.exports=xZe});var Zve=Pe((gha,Xve)=>{function LZe(){return!1}Xve.exports=LZe});var IP=Pe((pC,nb)=>{var jZe=E0(),NZe=Zve(),Kve=typeof pC=="object"&&pC&&!pC.nodeType&&pC,e0e=Kve&&typeof nb=="object"&&nb&&!nb.nodeType&&nb,PZe=e0e&&e0e.exports===Kve,n0e=PZe?jZe.Buffer:void 0,kZe=n0e?n0e.isBuffer:void 0,OZe=kZe||NZe;nb.exports=OZe});var a0e=Pe((Dha,t0e)=>{var UZe=9007199254740991,HZe=/^(?:0|[1-9]\d*)$/;function BZe(e,n){var t=typeof e;return n=n==null?UZe:n,!!n&&(t=="number"||t!="symbol"&&HZe.test(e))&&e>-1&&e%1==0&&e{var JZe=9007199254740991;function WZe(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=JZe}r0e.exports=WZe});var i0e=Pe((bha,o0e)=>{var qZe=sC(),zZe=TP(),$Ze=mC(),VZe="[object Arguments]",QZe="[object Array]",YZe="[object Boolean]",XZe="[object Date]",ZZe="[object Error]",KZe="[object Function]",eKe="[object Map]",nKe="[object Number]",tKe="[object Object]",aKe="[object RegExp]",rKe="[object Set]",oKe="[object String]",iKe="[object WeakMap]",uKe="[object ArrayBuffer]",lKe="[object DataView]",cKe="[object Float32Array]",sKe="[object Float64Array]",fKe="[object Int8Array]",vKe="[object Int16Array]",mKe="[object Int32Array]",pKe="[object Uint8Array]",_Ke="[object Uint8ClampedArray]",dKe="[object Uint16Array]",hKe="[object Uint32Array]",$r={};$r[cKe]=$r[sKe]=$r[fKe]=$r[vKe]=$r[mKe]=$r[pKe]=$r[_Ke]=$r[dKe]=$r[hKe]=!0;$r[VZe]=$r[QZe]=$r[uKe]=$r[YZe]=$r[lKe]=$r[XZe]=$r[ZZe]=$r[KZe]=$r[eKe]=$r[nKe]=$r[tKe]=$r[aKe]=$r[rKe]=$r[oKe]=$r[iKe]=!1;function gKe(e){return $Ze(e)&&zZe(e.length)&&!!$r[qZe(e)]}o0e.exports=gKe});var l0e=Pe((Rha,u0e)=>{function DKe(e){return function(n){return e(n)}}u0e.exports=DKe});var s0e=Pe((dC,tb)=>{var yKe=DP(),c0e=typeof dC=="object"&&dC&&!dC.nodeType&&dC,_C=c0e&&typeof tb=="object"&&tb&&!tb.nodeType&&tb,bKe=_C&&_C.exports===c0e,FP=bKe&&yKe.process,RKe=function(){try{var e=_C&&_C.require&&_C.require("util").types;return e||FP&&FP.binding&&FP.binding("util")}catch{}}();tb.exports=RKe});var MP=Pe((wha,m0e)=>{var wKe=i0e(),SKe=l0e(),f0e=s0e(),v0e=f0e&&f0e.isTypedArray,EKe=v0e?SKe(v0e):wKe;m0e.exports=EKe});var _0e=Pe((Sha,p0e)=>{var CKe=Jve(),IKe=Yve(),TKe=v3(),FKe=IP(),MKe=a0e(),GKe=MP(),AKe=Object.prototype,xKe=AKe.hasOwnProperty;function LKe(e,n){var t=TKe(e),a=!t&&IKe(e),r=!t&&!a&&FKe(e),o=!t&&!a&&!r&&GKe(e),i=t||a||r||o,u=i?CKe(e.length,String):[],l=u.length;for(var c in e)(n||xKe.call(e,c))&&!(i&&(c=="length"||r&&(c=="offset"||c=="parent")||o&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||MKe(c,l)))&&u.push(c);return u}p0e.exports=LKe});var h0e=Pe((Eha,d0e)=>{var jKe=Object.prototype;function NKe(e){var n=e&&e.constructor,t=typeof n=="function"&&n.prototype||jKe;return e===t}d0e.exports=NKe});var D0e=Pe((Cha,g0e)=>{function PKe(e,n){return function(t){return e(n(t))}}g0e.exports=PKe});var b0e=Pe((Iha,y0e)=>{var kKe=D0e(),OKe=kKe(Object.keys,Object);y0e.exports=OKe});var w0e=Pe((Tha,R0e)=>{var UKe=h0e(),HKe=b0e(),BKe=Object.prototype,JKe=BKe.hasOwnProperty;function WKe(e){if(!UKe(e))return HKe(e);var n=[];for(var t in Object(e))JKe.call(e,t)&&t!="constructor"&&n.push(t);return n}R0e.exports=WKe});var E0e=Pe((Fha,S0e)=>{var qKe=bP(),zKe=TP();function $Ke(e){return e!=null&&zKe(e.length)&&!qKe(e)}S0e.exports=$Ke});var I0e=Pe((Mha,C0e)=>{var VKe=_0e(),QKe=w0e(),YKe=E0e();function XKe(e){return YKe(e)?VKe(e):QKe(e)}C0e.exports=XKe});var F0e=Pe((Gha,T0e)=>{var ZKe=Lve(),KKe=Hve(),een=I0e();function nen(e){return ZKe(e,een,KKe)}T0e.exports=nen});var A0e=Pe((Aha,G0e)=>{var M0e=F0e(),ten=1,aen=Object.prototype,ren=aen.hasOwnProperty;function oen(e,n,t,a,r,o){var i=t&ten,u=M0e(e),l=u.length,c=M0e(n),s=c.length;if(l!=s&&!i)return!1;for(var f=l;f--;){var v=u[f];if(!(i?v in n:ren.call(n,v)))return!1}var m=o.get(e),_=o.get(n);if(m&&_)return m==n&&_==e;var R=!0;o.set(e,n),o.set(n,e);for(var D=i;++f{var ien=Ig(),uen=E0(),len=ien(uen,"DataView");x0e.exports=len});var N0e=Pe((Lha,j0e)=>{var cen=Ig(),sen=E0(),fen=cen(sen,"Promise");j0e.exports=fen});var k0e=Pe((jha,P0e)=>{var ven=Ig(),men=E0(),pen=ven(men,"Set");P0e.exports=pen});var U0e=Pe((Nha,O0e)=>{var _en=Ig(),den=E0(),hen=_en(den,"WeakMap");O0e.exports=hen});var V0e=Pe((Pha,$0e)=>{var GP=L0e(),AP=s3(),xP=N0e(),LP=k0e(),jP=U0e(),H0e=sC(),ab=wP(),B0e="[object Map]",gen="[object Object]",J0e="[object Promise]",W0e="[object Set]",q0e="[object WeakMap]",z0e="[object DataView]",Den=ab(GP),yen=ab(AP),ben=ab(xP),Ren=ab(LP),wen=ab(jP),Tg=H0e;(GP&&Tg(new GP(new ArrayBuffer(1)))!=z0e||AP&&Tg(new AP)!=B0e||xP&&Tg(xP.resolve())!=J0e||LP&&Tg(new LP)!=W0e||jP&&Tg(new jP)!=q0e)&&(Tg=function(e){var n=H0e(e),t=n==gen?e.constructor:void 0,a=t?ab(t):"";if(a)switch(a){case Den:return z0e;case yen:return B0e;case ben:return J0e;case Ren:return W0e;case wen:return q0e}return n});$0e.exports=Tg});var tme=Pe((kha,nme)=>{var NP=uve(),Sen=EP(),Een=Fve(),Cen=A0e(),Q0e=V0e(),Y0e=v3(),X0e=IP(),Ien=MP(),Ten=1,Z0e="[object Arguments]",K0e="[object Array]",m3="[object Object]",Fen=Object.prototype,eme=Fen.hasOwnProperty;function Men(e,n,t,a,r,o){var i=Y0e(e),u=Y0e(n),l=i?K0e:Q0e(e),c=u?K0e:Q0e(n);l=l==Z0e?m3:l,c=c==Z0e?m3:c;var s=l==m3,f=c==m3,v=l==c;if(v&&X0e(e)){if(!X0e(n))return!1;i=!0,s=!1}if(v&&!s)return o||(o=new NP),i||Ien(e)?Sen(e,n,t,a,r,o):Een(e,n,l,t,a,r,o);if(!(t&Ten)){var m=s&&eme.call(e,"__wrapped__"),_=f&&eme.call(n,"__wrapped__");if(m||_){var R=m?e.value():e,D=_?n.value():n;return o||(o=new NP),r(R,D,t,a,o)}}return v?(o||(o=new NP),Cen(e,n,t,a,r,o)):!1}nme.exports=Men});var ime=Pe((Oha,ome)=>{var Gen=tme(),ame=mC();function rme(e,n,t,a,r){return e===n?!0:e==null||n==null||!ame(e)&&!ame(n)?e!==e&&n!==n:Gen(e,n,t,a,rme,r)}ome.exports=rme});var lme=Pe((Uha,ume)=>{var Aen=ime();function xen(e,n){return Aen(e,n)}ume.exports=xen});var Jme=Pe((xDa,unn)=>{unn.exports=`.rc-tooltip.rc-tooltip-zoom-appear, .rc-tooltip.rc-tooltip-zoom-enter { opacity: 0; } .rc-tooltip.rc-tooltip-zoom-enter, .rc-tooltip.rc-tooltip-zoom-leave { display: block; } .rc-tooltip-zoom-enter, .rc-tooltip-zoom-appear { opacity: 0; animation-duration: 0.3s; animation-fill-mode: both; animation-timing-function: cubic-bezier(0.18, 0.89, 0.32, 1.28); animation-play-state: paused; } .rc-tooltip-zoom-leave { animation-duration: 0.3s; animation-fill-mode: both; animation-timing-function: cubic-bezier(0.6, -0.3, 0.74, 0.05); animation-play-state: paused; } .rc-tooltip-zoom-enter.rc-tooltip-zoom-enter-active, .rc-tooltip-zoom-appear.rc-tooltip-zoom-appear-active { animation-name: rcToolTipZoomIn; animation-play-state: running; } .rc-tooltip-zoom-leave.rc-tooltip-zoom-leave-active { animation-name: rcToolTipZoomOut; animation-play-state: running; } @keyframes rcToolTipZoomIn { 0% { opacity: 0; transform-origin: 50% 50%; transform: scale(0, 0); } 100% { opacity: 1; transform-origin: 50% 50%; transform: scale(1, 1); } } @keyframes rcToolTipZoomOut { 0% { opacity: 1; transform-origin: 50% 50%; transform: scale(1, 1); } 100% { opacity: 0; transform-origin: 50% 50%; transform: scale(0, 0); } } .rc-tooltip { position: absolute; z-index: 1070; display: block; visibility: visible; line-height: 1.5; font-size: 12px; background-color: rgba(0, 0, 0, 0.05); padding: 1px; opacity: 0.9; } .rc-tooltip-hidden { display: none; } .rc-tooltip-inner { padding: 8px 10px; color: #333333; text-align: left; text-decoration: none; background-color: #ffffff; border-radius: 3px; min-height: 34px; border: 1px solid #b1b1b1; } .rc-tooltip-arrow, .rc-tooltip-arrow-inner { position: absolute; width: 0; height: 0; border-color: transparent; border-style: solid; } .rc-tooltip-placement-top .rc-tooltip-arrow, .rc-tooltip-placement-topLeft .rc-tooltip-arrow, .rc-tooltip-placement-topRight .rc-tooltip-arrow { bottom: -5px; margin-left: -6px; border-width: 6px 6px 0; border-top-color: #b1b1b1; } .rc-tooltip-placement-top .rc-tooltip-arrow-inner, .rc-tooltip-placement-topLeft .rc-tooltip-arrow-inner, .rc-tooltip-placement-topRight .rc-tooltip-arrow-inner { bottom: 1px; margin-left: -6px; border-width: 6px 6px 0; border-top-color: #ffffff; } .rc-tooltip-placement-top .rc-tooltip-arrow { left: 50%; } .rc-tooltip-placement-topLeft .rc-tooltip-arrow { left: 15%; } .rc-tooltip-placement-topRight .rc-tooltip-arrow { right: 15%; } .rc-tooltip-placement-right .rc-tooltip-arrow, .rc-tooltip-placement-rightTop .rc-tooltip-arrow, .rc-tooltip-placement-rightBottom .rc-tooltip-arrow { left: -5px; margin-top: -6px; border-width: 6px 6px 6px 0; border-right-color: #b1b1b1; } .rc-tooltip-placement-right .rc-tooltip-arrow-inner, .rc-tooltip-placement-rightTop .rc-tooltip-arrow-inner, .rc-tooltip-placement-rightBottom .rc-tooltip-arrow-inner { left: 1px; margin-top: -6px; border-width: 6px 6px 6px 0; border-right-color: #ffffff; } .rc-tooltip-placement-right .rc-tooltip-arrow { top: 50%; } .rc-tooltip-placement-rightTop .rc-tooltip-arrow { top: 15%; margin-top: 0; } .rc-tooltip-placement-rightBottom .rc-tooltip-arrow { bottom: 15%; } .rc-tooltip-placement-left .rc-tooltip-arrow, .rc-tooltip-placement-leftTop .rc-tooltip-arrow, .rc-tooltip-placement-leftBottom .rc-tooltip-arrow { right: -5px; margin-top: -6px; border-width: 6px 0 6px 6px; border-left-color: #b1b1b1; } .rc-tooltip-placement-left .rc-tooltip-arrow-inner, .rc-tooltip-placement-leftTop .rc-tooltip-arrow-inner, .rc-tooltip-placement-leftBottom .rc-tooltip-arrow-inner { right: 1px; margin-top: -6px; border-width: 6px 0 6px 6px; border-left-color: #ffffff; } .rc-tooltip-placement-left .rc-tooltip-arrow { top: 50%; } .rc-tooltip-placement-leftTop .rc-tooltip-arrow { top: 15%; margin-top: 0; } .rc-tooltip-placement-leftBottom .rc-tooltip-arrow { bottom: 15%; } .rc-tooltip-placement-bottom .rc-tooltip-arrow, .rc-tooltip-placement-bottomLeft .rc-tooltip-arrow, .rc-tooltip-placement-bottomRight .rc-tooltip-arrow { top: -5px; margin-left: -6px; border-width: 0 6px 6px; border-bottom-color: #b1b1b1; } .rc-tooltip-placement-bottom .rc-tooltip-arrow-inner, .rc-tooltip-placement-bottomLeft .rc-tooltip-arrow-inner, .rc-tooltip-placement-bottomRight .rc-tooltip-arrow-inner { top: 1px; margin-left: -6px; border-width: 0 6px 6px; border-bottom-color: #ffffff; } .rc-tooltip-placement-bottom .rc-tooltip-arrow { left: 50%; } .rc-tooltip-placement-bottomLeft .rc-tooltip-arrow { left: 15%; } .rc-tooltip-placement-bottomRight .rc-tooltip-arrow { right: 15%; } `});var S3=Pe(SC=>{"use strict";Object.defineProperty(SC,"__esModule",{value:!0});SC.Direction=void 0;var Ntn;(function(e){e.Right="to right",e.Left="to left",e.Down="to bottom",e.Up="to top"})(Ntn=SC.Direction||(SC.Direction={}))});var vk=Pe(Yt=>{"use strict";var EC=Yt&&Yt.__spreadArray||function(e,n,t){if(t||arguments.length===2)for(var a=0,r=n.length,o;ae)return l;if(c&&ca)return a;if(e=t)throw new RangeError("min (".concat(n,") is equal/bigger than max (").concat(t,")"));if(et)throw new RangeError("value (".concat(e,") is bigger than max (").concat(t,")"))}Yt.checkBoundaries=Btn;function Jtn(e,n,t){return et?t:e}Yt.checkValuesAgainstBoundaries=Jtn;function Wtn(e){if(!(e.length<2)&&!e.slice(1).every(function(n,t){return e[t]<=n}))throw new RangeError("values={[".concat(e,"]} needs to be sorted when allowOverlap={false}"))}Yt.checkInitialOverlap=Wtn;function qtn(e){var n=window.getComputedStyle(e);return{top:parseInt(n["margin-top"],10),bottom:parseInt(n["margin-bottom"],10),left:parseInt(n["margin-left"],10),right:parseInt(n["margin-right"],10)}}Yt.getMargin=qtn;function ztn(e){var n=window.getComputedStyle(e);return{top:parseInt(n["padding-top"],10)+parseInt(n["border-top-width"],10),bottom:parseInt(n["padding-bottom"],10)+parseInt(n["border-bottom-width"],10),left:parseInt(n["padding-left"],10)+parseInt(n["border-left-width"],10),right:parseInt(n["padding-right"],10)+parseInt(n["border-right-width"],10)}}Yt.getPaddingAndBorder=ztn;function $tn(e,n,t){var a=t?-1:1;e.forEach(function(r,o){return zpe(r,a*n[o].x,n[o].y)})}Yt.translateThumbs=$tn;function Vtn(e,n,t,a){for(var r=0,o=Vpe(e[0],n,t,a),i=1;ii?l:i},e.getBoundingClientRect().width));return o},ean=function(e,n,t,a,r,o,i){i===void 0&&(i=function(c){return c});var u=[],l=function(c){var s=$pe(t[c],a[c],r,o,i),f=n[c].x;n.forEach(function(v,m){var _=v.x,R=$pe(t[m],a[m],r,o,i);c!==m&&(f>=_&&f<=_+R||f+s>=_&&f+s<=_+R)&&(u.includes(m)||(u.push(c),u.push(m),u=EC(EC([],u,!0),[c,m],!1),l(m)))})};return l(e),Array.from(new Set(u.sort()))},nan=function(e,n,t,a,r,o){a===void 0&&(a=.1),r===void 0&&(r=" - "),o===void 0&&(o=function(m){return m});var i=(0,Yt.getStepDecimals)(a),u=(0,fk.useState)({}),l=u[0],c=u[1],s=(0,fk.useState)(o(n[t].toFixed(i))),f=s[0],v=s[1];return(0,fk.useEffect)(function(){if(e){var m=e.getThumbs();if(m.length<1)return;var _={},R=e.getOffsets(),D=ean(t,R,m,n,r,i,o),y=o(n[t].toFixed(i));if(D.length){var S=D.reduce(function(O,oe,le,ve){return O.length?EC(EC([],O,!0),[R[ve[le]].x],!1):[R[ve[le]].x]},[]);if(Math.min.apply(Math,S)===R[t].x){var G=[];D.forEach(function(O){G.push(n[O].toFixed(i))}),y=Array.from(new Set(G.sort(function(O,oe){return parseFloat(O)-parseFloat(oe)}))).map(o).join(r);var P=Math.min.apply(Math,S),k=Math.max.apply(Math,S),M=m[D[S.indexOf(k)]].getBoundingClientRect().width;_.left="".concat(Math.abs(P-(k+M))/2,"px"),_.transform="translate(-50%, 0)"}else _.visibility="hidden"}v(y),c(_)}},[e,n]),[f,l]};Yt.useThumbOverlap=nan;function Vpe(e,n,t,a){var r=e.getBoundingClientRect(),o=r.left,i=r.top,u=r.width,l=r.height;return qpe(a)?Math.abs(t-(i+l/2)):Math.abs(n-(o+u/2))}});var Ype=Pe(Jc=>{"use strict";var tan=Jc&&Jc.__extends||function(){var e=function(n,t){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(a[o]=r[o])},e(n,t)};return function(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(n,t);function a(){this.constructor=n}n.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}}(),aan=Jc&&Jc.__createBinding||(Object.create?function(e,n,t,a){a===void 0&&(a=t);var r=Object.getOwnPropertyDescriptor(n,t);(!r||("get"in r?!n.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return n[t]}}),Object.defineProperty(e,a,r)}:function(e,n,t,a){a===void 0&&(a=t),e[a]=n[t]}),ran=Jc&&Jc.__setModuleDefault||(Object.create?function(e,n){Object.defineProperty(e,"default",{enumerable:!0,value:n})}:function(e,n){e.default=n}),oan=Jc&&Jc.__importStar||function(e){if(e&&e.__esModule)return e;var n={};if(e!=null)for(var t in e)t!=="default"&&Object.prototype.hasOwnProperty.call(e,t)&&aan(n,e,t);return ran(n,e),n},Qpe=Jc&&Jc.__spreadArray||function(e,n,t){if(t||arguments.length===2)for(var a=0,r=n.length,o;a1&&a.props.draggableTrack){if(a.thumbRefs.some(function(u){var l;return(l=u.current)===null||l===void 0?void 0:l.contains(r.target)}))return;a.setState({draggedTrackPos:[r.clientX,r.clientY]},function(){return a.onMove(r.clientX,r.clientY)})}else{var i=(0,Wa.getClosestThumbIndex)(a.thumbRefs.map(function(u){return u.current}),r.clientX,r.clientY,a.props.direction);(o=a.thumbRefs[i].current)===null||o===void 0||o.focus(),a.setState({draggedThumbIndex:i},function(){return a.onMove(r.clientX,r.clientY)})}},a.onResize=function(){(0,Wa.translateThumbs)(a.getThumbs(),a.getOffsets(),a.props.rtl),a.calculateMarkOffsets()},a.onTouchStartTrack=function(r){var o;if(r.persist(),a.addTouchEvents(r.nativeEvent),a.props.values.length>1&&a.props.draggableTrack){if(a.thumbRefs.some(function(u){var l;return(l=u.current)===null||l===void 0?void 0:l.contains(r.target)}))return;a.setState({draggedTrackPos:[r.touches[0].clientX,r.touches[0].clientY]},function(){return a.onMove(r.touches[0].clientX,r.touches[0].clientY)})}else{var i=(0,Wa.getClosestThumbIndex)(a.thumbRefs.map(function(u){return u.current}),r.touches[0].clientX,r.touches[0].clientY,a.props.direction);(o=a.thumbRefs[i].current)===null||o===void 0||o.focus(),a.setState({draggedThumbIndex:i},function(){return a.onMove(r.touches[0].clientX,r.touches[0].clientY)})}},a.onMouseOrTouchStart=function(r){if(!a.props.disabled){var o=(0,Wa.isTouchEvent)(r);if(!(!o&&r.button!==0)){var i=a.getTargetIndex(r);i!==-1&&(o?a.addTouchEvents(r):a.addMouseEvents(r),a.setState({draggedThumbIndex:i,thumbZIndexes:a.state.thumbZIndexes.map(function(u,l){return l===i?Math.max.apply(Math,a.state.thumbZIndexes):u<=a.state.thumbZIndexes[i]?u:u-1})}))}}},a.onMouseMove=function(r){r.preventDefault(),a.onMove(r.clientX,r.clientY)},a.onTouchMove=function(r){r.preventDefault(),a.onMove(r.touches[0].clientX,r.touches[0].clientY)},a.onKeyDown=function(r){var o=a.props,i=o.values,u=o.onChange,l=o.step,c=o.rtl,s=o.direction,f=a.state.isChanged,v=a.getTargetIndex(r.nativeEvent),m=c||s===Ui.Direction.Left||s===Ui.Direction.Down?-1:1;v!==-1&&(ian.includes(r.key)?(r.preventDefault(),a.setState({draggedThumbIndex:v,isChanged:!0}),u((0,Wa.replaceAt)(i,v,a.normalizeValue(i[v]+m*(r.key==="PageUp"?l*10:l),v)))):uan.includes(r.key)?(r.preventDefault(),a.setState({draggedThumbIndex:v,isChanged:!0}),u((0,Wa.replaceAt)(i,v,a.normalizeValue(i[v]-m*(r.key==="PageDown"?l*10:l),v)))):r.key==="Tab"?a.setState({draggedThumbIndex:-1},function(){f&&a.fireOnFinalChange()}):f&&a.fireOnFinalChange())},a.onKeyUp=function(r){var o=a.state.isChanged;a.setState({draggedThumbIndex:-1},function(){o&&a.fireOnFinalChange()})},a.onMove=function(r,o){var i=a.state,u=i.draggedThumbIndex,l=i.draggedTrackPos,c=a.props,s=c.direction,f=c.min,v=c.max,m=c.onChange,_=c.values,R=c.step,D=c.rtl;if(u===-1&&l[0]===-1&&l[1]===-1)return null;var y=a.trackRef.current;if(!y)return null;var S=y.getBoundingClientRect(),G=(0,Wa.isVertical)(s)?S.height:S.width;if(l[0]!==-1&&l[1]!==-1){var P=r-l[0],k=o-l[1],M=0;switch(s){case Ui.Direction.Right:case Ui.Direction.Left:M=P/G*(v-f);break;case Ui.Direction.Down:case Ui.Direction.Up:M=k/G*(v-f);break;default:(0,Wa.assertUnreachable)(s)}if(D&&(M*=-1),Math.abs(M)>=R/2){for(var O=0;Ov?M=v-_[O]:oe=R/2&&m((0,Wa.replaceAt)(_,u,a.normalizeValue(ve,u)))}},a.normalizeValue=function(r,o){var i=a.props,u=i.min,l=i.max,c=i.step,s=i.allowOverlap,f=i.values;return(0,Wa.normalizeValue)(r,o,u,l,c,s,f)},a.onEnd=function(r){if(r.preventDefault(),document.removeEventListener("mousemove",a.schdOnMouseMove),document.removeEventListener("touchmove",a.schdOnTouchMove),document.removeEventListener("mouseup",a.schdOnEnd),document.removeEventListener("touchend",a.schdOnEnd),document.removeEventListener("touchcancel",a.schdOnEnd),a.state.draggedThumbIndex===-1&&a.state.draggedTrackPos[0]===-1&&a.state.draggedTrackPos[1]===-1)return null;a.setState({draggedThumbIndex:-1,draggedTrackPos:[-1,-1]},function(){a.fireOnFinalChange()})},a.fireOnFinalChange=function(){a.setState({isChanged:!1});var r=a.props,o=r.onFinalChange,i=r.values;o&&o(i)},a.updateMarkRefs=function(r){if(!r.renderMark){a.numOfMarks=void 0,a.markRefs=void 0;return}a.numOfMarks=(r.max-r.min)/a.props.step,a.markRefs=[];for(var o=0;o-1?"grabbing":this.props.draggableTrack?(0,Wa.isVertical)(this.props.direction)?"ns-resize":"ew-resize":l.length===1&&!v?"pointer":"inherit"},onMouseDown:v?Wa.voidFn:this.onMouseDownTrack,onTouchStart:v?Wa.voidFn:this.onTouchStartTrack,ref:this.trackRef},isDragged:this.state.draggedThumbIndex>-1,disabled:v,children:Qpe(Qpe([],D.map(function(y,S,G){return u({props:{style:t.props.direction===Ui.Direction.Left||t.props.direction===Ui.Direction.Right?{position:"absolute",left:"".concat(y[0],"px"),marginTop:"".concat(y[1],"px")}:{position:"absolute",top:"".concat(y[0],"px"),marginLeft:"".concat(y[1],"px")},key:"mark".concat(S),ref:t.markRefs[S]},index:S})}),!0),l.map(function(y,S){var G=t.state.draggedThumbIndex===S;return o({index:S,value:y,isDragged:G,props:{style:{position:"absolute",zIndex:R[S],cursor:v?"inherit":G?"grabbing":"grab",userSelect:"none",touchAction:"none",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none"},key:S,tabIndex:v?void 0:0,"aria-valuemax":f?s:l[S+1]||s,"aria-valuemin":f?c:l[S-1]||c,"aria-valuenow":y,draggable:!1,ref:t.thumbRefs[S],role:"slider",onKeyDown:v?Wa.voidFn:t.onKeyDown,onKeyUp:v?Wa.voidFn:t.onKeyUp}})}),!0)})},n.defaultProps={step:1,direction:Ui.Direction.Right,rtl:!1,disabled:!1,allowOverlap:!1,draggableTrack:!1,min:0,max:100},n}(E3.Component);Jc.default=lan});var Xpe=Pe(ku=>{"use strict";var can=ku&&ku.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(ku,"__esModule",{value:!0});ku.checkValuesAgainstBoundaries=ku.relativeValue=ku.useThumbOverlap=ku.Direction=ku.getTrackBackground=ku.Range=void 0;var san=can(Ype());ku.Range=san.default;var C3=vk();Object.defineProperty(ku,"getTrackBackground",{enumerable:!0,get:function(){return C3.getTrackBackground}});Object.defineProperty(ku,"useThumbOverlap",{enumerable:!0,get:function(){return C3.useThumbOverlap}});Object.defineProperty(ku,"relativeValue",{enumerable:!0,get:function(){return C3.relativeValue}});Object.defineProperty(ku,"checkValuesAgainstBoundaries",{enumerable:!0,get:function(){return C3.checkValuesAgainstBoundaries}});var fan=S3();Object.defineProperty(ku,"Direction",{enumerable:!0,get:function(){return fan.Direction}})});var S_e=Pe(ur=>{"use strict";var cb,TC,x3,Rk;typeof performance=="object"&&typeof performance.now=="function"?(D_e=performance,ur.unstable_now=function(){return D_e.now()}):(wk=Date,y_e=wk.now(),ur.unstable_now=function(){return wk.now()-y_e});var D_e,wk,y_e;typeof window=="undefined"||typeof MessageChannel!="function"?(sb=null,Sk=null,Ek=function(){if(sb!==null)try{var e=ur.unstable_now();sb(!0,e),sb=null}catch(n){throw setTimeout(Ek,0),n}},cb=function(e){sb!==null?setTimeout(cb,0,e):(sb=e,setTimeout(Ek,0))},TC=function(e,n){Sk=setTimeout(e,n)},x3=function(){clearTimeout(Sk)},ur.unstable_shouldYield=function(){return!1},Rk=ur.unstable_forceFrameRate=function(){}):(b_e=window.setTimeout,R_e=window.clearTimeout,typeof console!="undefined"&&(w_e=window.cancelAnimationFrame,typeof window.requestAnimationFrame!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),typeof w_e!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")),FC=!1,MC=null,L3=-1,Ck=5,Ik=0,ur.unstable_shouldYield=function(){return ur.unstable_now()>=Ik},Rk=function(){},ur.unstable_forceFrameRate=function(e){0>e||125>>1,r=e[a];if(r!==void 0&&0P3(i,t))l!==void 0&&0>P3(l,i)?(e[a]=l,e[u]=t,a=u):(e[a]=i,e[o]=t,a=o);else if(l!==void 0&&0>P3(l,t))e[a]=l,e[u]=t,a=u;else break e}}return n}return null}function P3(e,n){var t=e.sortIndex-n.sortIndex;return t!==0?t:e.id-n.id}var T0=[],Z_=[],Ban=1,Js=null,Ou=3,k3=!1,Lg=!1,GC=!1;function Mk(e){for(var n=fv(Z_);n!==null;){if(n.callback===null)N3(Z_);else if(n.startTime<=e)N3(Z_),n.sortIndex=n.expirationTime,Fk(T0,n);else break;n=fv(Z_)}}function Gk(e){if(GC=!1,Mk(e),!Lg)if(fv(T0)!==null)Lg=!0,cb(Ak);else{var n=fv(Z_);n!==null&&TC(Gk,n.startTime-e)}}function Ak(e,n){Lg=!1,GC&&(GC=!1,x3()),k3=!0;var t=Ou;try{for(Mk(n),Js=fv(T0);Js!==null&&(!(Js.expirationTime>n)||e&&!ur.unstable_shouldYield());){var a=Js.callback;if(typeof a=="function"){Js.callback=null,Ou=Js.priorityLevel;var r=a(Js.expirationTime<=n);n=ur.unstable_now(),typeof r=="function"?Js.callback=r:Js===fv(T0)&&N3(T0),Mk(n)}else N3(T0);Js=fv(T0)}if(Js!==null)var o=!0;else{var i=fv(Z_);i!==null&&TC(Gk,i.startTime-n),o=!1}return o}finally{Js=null,Ou=t,k3=!1}}var Jan=Rk;ur.unstable_IdlePriority=5;ur.unstable_ImmediatePriority=1;ur.unstable_LowPriority=4;ur.unstable_NormalPriority=3;ur.unstable_Profiling=null;ur.unstable_UserBlockingPriority=2;ur.unstable_cancelCallback=function(e){e.callback=null};ur.unstable_continueExecution=function(){Lg||k3||(Lg=!0,cb(Ak))};ur.unstable_getCurrentPriorityLevel=function(){return Ou};ur.unstable_getFirstCallbackNode=function(){return fv(T0)};ur.unstable_next=function(e){switch(Ou){case 1:case 2:case 3:var n=3;break;default:n=Ou}var t=Ou;Ou=n;try{return e()}finally{Ou=t}};ur.unstable_pauseExecution=function(){};ur.unstable_requestPaint=Jan;ur.unstable_runWithPriority=function(e,n){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var t=Ou;Ou=e;try{return n()}finally{Ou=t}};ur.unstable_scheduleCallback=function(e,n,t){var a=ur.unstable_now();switch(typeof t=="object"&&t!==null?(t=t.delay,t=typeof t=="number"&&0a?(e.sortIndex=t,Fk(Z_,e),fv(T0)===null&&e===fv(Z_)&&(GC?x3():GC=!0,TC(Gk,t-a))):(e.sortIndex=r,Fk(T0,e),Lg||k3||(Lg=!0,cb(Ak))),e};ur.unstable_wrapCallback=function(e){var n=Ou;return function(){var t=Ou;Ou=n;try{return e.apply(this,arguments)}finally{Ou=t}}}});var C_e=Pe((v5a,E_e)=>{"use strict";E_e.exports=S_e()});var vge=Pe(Qs=>{"use strict";var O3=Mf(),oo=XF(),nu=C_e();function En(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;tn}return!1}function vl(e,n,t,a,r,o,i){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=a,this.attributeNamespace=r,this.mustUseProperty=t,this.propertyName=e,this.type=n,this.sanitizeURL=o,this.removeEmptyString=i}var Du={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Du[e]=new vl(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];Du[n]=new vl(n,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Du[e]=new vl(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Du[e]=new vl(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Du[e]=new vl(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Du[e]=new vl(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Du[e]=new vl(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Du[e]=new vl(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Du[e]=new vl(e,5,!1,e.toLowerCase(),null,!1,!1)});var xk=/[\-:]([a-z])/g;function Lk(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var n=e.replace(xk,Lk);Du[n]=new vl(n,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(xk,Lk);Du[n]=new vl(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(xk,Lk);Du[n]=new vl(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Du[e]=new vl(e,1,!1,e.toLowerCase(),null,!1,!1)});Du.xlinkHref=new vl("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Du[e]=new vl(e,1,!1,e.toLowerCase(),null,!0,!0)});function jk(e,n,t,a){var r=Du.hasOwnProperty(n)?Du[n]:null,o=r!==null?r.type===0:a?!1:!(!(2u||r[i]!==o[u])return` `+r[i].replace(" at new "," at ");while(1<=i&&0<=u);break}}}finally{qk=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?PC(e):""}function Van(e){switch(e.tag){case 5:return PC(e.type);case 16:return PC("Lazy");case 13:return PC("Suspense");case 19:return PC("SuspenseList");case 0:case 2:case 15:return e=J3(e.type,!1),e;case 11:return e=J3(e.type.render,!1),e;case 22:return e=J3(e.type._render,!1),e;case 1:return e=J3(e.type,!0),e;default:return""}}function vb(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case K_:return"Fragment";case Pg:return"Portal";case LC:return"Profiler";case Nk:return"StrictMode";case jC:return"Suspense";case H3:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case kk:return(e.displayName||"Context")+".Consumer";case Pk:return(e._context.displayName||"Context")+".Provider";case U3:var n=e.render;return n=n.displayName||n.name||"",e.displayName||(n!==""?"ForwardRef("+n+")":"ForwardRef");case B3:return vb(e.type);case Uk:return vb(e._render);case Ok:n=e._payload,e=e._init;try{return vb(e(n))}catch{}}return null}function ed(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function x_e(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function Qan(e){var n=x_e(e)?"checked":"value",t=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),a=""+e[n];if(!e.hasOwnProperty(n)&&typeof t!="undefined"&&typeof t.get=="function"&&typeof t.set=="function"){var r=t.get,o=t.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return r.call(this)},set:function(i){a=""+i,o.call(this,i)}}),Object.defineProperty(e,n,{enumerable:t.enumerable}),{getValue:function(){return a},setValue:function(i){a=""+i},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function W3(e){e._valueTracker||(e._valueTracker=Qan(e))}function L_e(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),a="";return e&&(a=x_e(e)?e.checked?"true":"false":e.value),e=a,e!==t?(n.setValue(e),!0):!1}function q3(e){if(e=e||(typeof document!="undefined"?document:void 0),typeof e=="undefined")return null;try{return e.activeElement||e.body}catch{return e.body}}function zk(e,n){var t=n.checked;return oo({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t!=null?t:e._wrapperState.initialChecked})}function j_e(e,n){var t=n.defaultValue==null?"":n.defaultValue,a=n.checked!=null?n.checked:n.defaultChecked;t=ed(n.value!=null?n.value:t),e._wrapperState={initialChecked:a,initialValue:t,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function N_e(e,n){n=n.checked,n!=null&&jk(e,"checked",n,!1)}function $k(e,n){N_e(e,n);var t=ed(n.value),a=n.type;if(t!=null)a==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+t):e.value!==""+t&&(e.value=""+t);else if(a==="submit"||a==="reset"){e.removeAttribute("value");return}n.hasOwnProperty("value")?Vk(e,n.type,t):n.hasOwnProperty("defaultValue")&&Vk(e,n.type,ed(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function P_e(e,n,t){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var a=n.type;if(!(a!=="submit"&&a!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+e._wrapperState.initialValue,t||n===e.value||(e.value=n),e.defaultValue=n}t=e.name,t!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,t!==""&&(e.name=t)}function Vk(e,n,t){(n!=="number"||q3(e.ownerDocument)!==e)&&(t==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}function Yan(e){var n="";return O3.Children.forEach(e,function(t){t!=null&&(n+=t)}),n}function Qk(e,n){return e=oo({children:void 0},n),(n=Yan(n.children))&&(e.children=n),e}function mb(e,n,t,a){if(e=e.options,n){n={};for(var r=0;r=t.length))throw Error(En(93));t=t[0]}n=t}n==null&&(n=""),t=n}e._wrapperState={initialValue:ed(t)}}function O_e(e,n){var t=ed(n.value),a=ed(n.defaultValue);t!=null&&(t=""+t,t!==e.value&&(e.value=t),n.defaultValue==null&&e.defaultValue!==t&&(e.defaultValue=t)),a!=null&&(e.defaultValue=""+a)}function U_e(e){var n=e.textContent;n===e._wrapperState.initialValue&&n!==""&&n!==null&&(e.value=n)}var Xk={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function H_e(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Zk(e,n){return e==null||e==="http://www.w3.org/1999/xhtml"?H_e(n):e==="http://www.w3.org/2000/svg"&&n==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var z3,B_e=function(e){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(n,t,a,r){MSApp.execUnsafeLocalFunction(function(){return e(n,t,a,r)})}:e}(function(e,n){if(e.namespaceURI!==Xk.svg||"innerHTML"in e)e.innerHTML=n;else{for(z3=z3||document.createElement("div"),z3.innerHTML=""+n.valueOf().toString()+"",n=z3.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function kC(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&t.nodeType===3){t.nodeValue=n;return}}e.textContent=n}var OC={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Xan=["Webkit","ms","Moz","O"];Object.keys(OC).forEach(function(e){Xan.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),OC[n]=OC[e]})});function J_e(e,n,t){return n==null||typeof n=="boolean"||n===""?"":t||typeof n!="number"||n===0||OC.hasOwnProperty(e)&&OC[e]?(""+n).trim():n+"px"}function W_e(e,n){e=e.style;for(var t in n)if(n.hasOwnProperty(t)){var a=t.indexOf("--")===0,r=J_e(t,n[t],a);t==="float"&&(t="cssFloat"),a?e.setProperty(t,r):e[t]=r}}var Zan=oo({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Kk(e,n){if(n){if(Zan[e]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(En(137,e));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(En(60));if(!(typeof n.dangerouslySetInnerHTML=="object"&&"__html"in n.dangerouslySetInnerHTML))throw Error(En(61))}if(n.style!=null&&typeof n.style!="object")throw Error(En(62))}}function eO(e,n){if(e.indexOf("-")===-1)return typeof n.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function nO(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var tO=null,pb=null,_b=null;function q_e(e){if(e=aI(e)){if(typeof tO!="function")throw Error(En(280));var n=e.stateNode;n&&(n=mA(n),tO(e.stateNode,e.type,n))}}function z_e(e){pb?_b?_b.push(e):_b=[e]:pb=e}function $_e(){if(pb){var e=pb,n=_b;if(_b=pb=null,q_e(e),n)for(e=0;ea?0:1<t;t++)n.push(e);return n}function K3(e,n,t){e.pendingLanes|=n;var a=n-1;e.suspendedLanes&=a,e.pingedLanes&=a,e=e.eventTimes,n=31-rd(n),e[n]=t}var rd=Math.clz32?Math.clz32:prn,vrn=Math.log,mrn=Math.LN2;function prn(e){return e===0?32:31-(vrn(e)/mrn|0)|0}var _rn=nu.unstable_UserBlockingPriority,drn=nu.unstable_runWithPriority,eA=!0;function hrn(e,n,t,a){kg||rO();var r=dO,o=kg;kg=!0;try{V_e(r,e,n,t,a)}finally{(kg=o)||iO()}}function grn(e,n,t,a){drn(_rn,dO.bind(null,e,n,t,a))}function dO(e,n,t,a){if(eA){var r;if((r=(n&4)==0)&&0=YC),yde=String.fromCharCode(32),bde=!1;function Rde(e,n){switch(e){case"keyup":return Hrn.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function wde(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var bb=!1;function Jrn(e,n){switch(e){case"compositionend":return wde(n);case"keypress":return n.which!==32?null:(bde=!0,yde);case"textInput":return e=n.data,e===yde&&bde?null:e;default:return null}}function Wrn(e,n){if(bb)return e==="compositionend"||!SO&&Rde(e,n)?(e=pde(),nA=gO=od=null,bb=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1=n)return{node:t,offset:n-e};e=a}e:{for(;t;){if(t.nextSibling){t=t.nextSibling;break e}t=t.parentNode}t=void 0}t=Fde(t)}}function Gde(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?Gde(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function Ade(){for(var e=window,n=q3();n instanceof e.HTMLIFrameElement;){try{var t=typeof n.contentWindow.location.href=="string"}catch{t=!1}if(t)e=n.contentWindow;else break;n=q3(e.document)}return n}function CO(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}var eon=ap&&"documentMode"in document&&11>=document.documentMode,Rb=null,IO=null,eI=null,TO=!1;function xde(e,n,t){var a=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;TO||Rb==null||Rb!==q3(a)||(a=Rb,"selectionStart"in a&&CO(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),eI&&KC(eI,a)||(eI=a,a=cA(IO,"onSelect"),0Ib||(e.current=jO[Ib],jO[Ib]=null,Ib--)}function Po(e,n){Ib++,jO[Ib]=e.current,e.current=n}var ld={},Uu=ud(ld),zl=ud(!1),Hg=ld;function Tb(e,n){var t=e.type.contextTypes;if(!t)return ld;var a=e.stateNode;if(a&&a.__reactInternalMemoizedUnmaskedChildContext===n)return a.__reactInternalMemoizedMaskedChildContext;var r={},o;for(o in t)r[o]=n[o];return a&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=r),r}function $l(e){return e=e.childContextTypes,e!=null}function pA(){Qr(zl),Qr(Uu)}function Vde(e,n,t){if(Uu.current!==ld)throw Error(En(168));Po(Uu,n),Po(zl,t)}function Qde(e,n,t){var a=e.stateNode;if(e=n.childContextTypes,typeof a.getChildContext!="function")return t;a=a.getChildContext();for(var r in a)if(!(r in e))throw Error(En(108,vb(n)||"Unknown",r));return oo({},t,a)}function _A(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ld,Hg=Uu.current,Po(Uu,e),Po(zl,zl.current),!0}function Yde(e,n,t){var a=e.stateNode;if(!a)throw Error(En(169));t?(e=Qde(e,n,Hg),a.__reactInternalMemoizedMergedChildContext=e,Qr(zl),Qr(Uu),Po(Uu,e)):Qr(zl),Po(zl,t)}var NO=null,Bg=null,aon=nu.unstable_runWithPriority,PO=nu.unstable_scheduleCallback,kO=nu.unstable_cancelCallback,ron=nu.unstable_shouldYield,Xde=nu.unstable_requestPaint,OO=nu.unstable_now,oon=nu.unstable_getCurrentPriorityLevel,dA=nu.unstable_ImmediatePriority,Zde=nu.unstable_UserBlockingPriority,Kde=nu.unstable_NormalPriority,ehe=nu.unstable_LowPriority,nhe=nu.unstable_IdlePriority,UO={},ion=Xde!==void 0?Xde:function(){},rp=null,hA=null,HO=!1,the=OO(),Hu=1e4>the?OO:function(){return OO()-the};function Fb(){switch(oon()){case dA:return 99;case Zde:return 98;case Kde:return 97;case ehe:return 96;case nhe:return 95;default:throw Error(En(332))}}function ahe(e){switch(e){case 99:return dA;case 98:return Zde;case 97:return Kde;case 96:return ehe;case 95:return nhe;default:throw Error(En(332))}}function Jg(e,n){return e=ahe(e),aon(e,n)}function rI(e,n,t){return e=ahe(e),PO(e,n,t)}function M0(){if(hA!==null){var e=hA;hA=null,kO(e)}rhe()}function rhe(){if(!HO&&rp!==null){HO=!0;var e=0;try{var n=rp;Jg(99,function(){for(;eO?(oe=M,M=null):oe=M.sibling;var le=v(D,M,S[O],G);if(le===null){M===null&&(M=oe);break}e&&M&&le.alternate===null&&n(D,M),y=o(le,y,O),k===null?P=le:k.sibling=le,k=le,M=oe}if(O===S.length)return t(D,M),P;if(M===null){for(;OO?(oe=M,M=null):oe=M.sibling;var ve=v(D,M,le.value,G);if(ve===null){M===null&&(M=oe);break}e&&M&&ve.alternate===null&&n(D,M),y=o(ve,y,O),k===null?P=ve:k.sibling=ve,k=ve,M=oe}if(le.done)return t(D,M),P;if(M===null){for(;!le.done;O++,le=S.next())le=f(D,le.value,G),le!==null&&(y=o(le,y,O),k===null?P=le:k.sibling=le,k=le);return P}for(M=a(D,M);!le.done;O++,le=S.next())le=m(M,D,O,le.value,G),le!==null&&(e&&le.alternate!==null&&M.delete(le.key===null?O:le.key),y=o(le,y,O),k===null?P=le:k.sibling=le,k=le);return e&&M.forEach(function(X){return n(D,X)}),P}return function(D,y,S,G){var P=typeof S=="object"&&S!==null&&S.type===K_&&S.key===null;P&&(S=S.props.children);var k=typeof S=="object"&&S!==null;if(k)switch(S.$$typeof){case xC:e:{for(k=S.key,P=y;P!==null;){if(P.key===k){switch(P.tag){case 7:if(S.type===K_){t(D,P.sibling),y=r(P,S.props.children),y.return=D,D=y;break e}break;default:if(P.elementType===S.type){t(D,P.sibling),y=r(P,S.props),y.ref=iI(D,P,S),y.return=D,D=y;break e}}t(D,P);break}else n(D,P);P=P.sibling}S.type===K_?(y=Ob(S.props.children,D.mode,G,S.key),y.return=D,D=y):(G=BA(S.type,S.key,S.props,null,D.mode,G),G.ref=iI(D,y,S),G.return=D,D=G)}return i(D);case Pg:e:{for(P=S.key;y!==null;){if(y.key===P)if(y.tag===4&&y.stateNode.containerInfo===S.containerInfo&&y.stateNode.implementation===S.implementation){t(D,y.sibling),y=r(y,S.children||[]),y.return=D,D=y;break e}else{t(D,y);break}else n(D,y);y=y.sibling}y=TU(S,D.mode,G),y.return=D,D=y}return i(D)}if(typeof S=="string"||typeof S=="number")return S=""+S,y!==null&&y.tag===6?(t(D,y.sibling),y=r(y,S),y.return=D,D=y):(t(D,y),y=IU(S,D.mode,G),y.return=D,D=y),i(D);if(wA(S))return _(D,y,S,G);if(NC(S))return R(D,y,S,G);if(k&&SA(D,S),typeof S=="undefined"&&!P)switch(D.tag){case 1:case 22:case 0:case 11:case 15:throw Error(En(152,vb(D.type)||"Component"))}return t(D,y)}}var EA=mhe(!0),phe=mhe(!1),uI={},G0=ud(uI),lI=ud(uI),cI=ud(uI);function Wg(e){if(e===uI)throw Error(En(174));return e}function zO(e,n){switch(Po(cI,n),Po(lI,e),Po(G0,uI),e=n.nodeType,e){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:Zk(null,"");break;default:e=e===8?n.parentNode:n,n=e.namespaceURI||null,e=e.tagName,n=Zk(n,e)}Qr(G0),Po(G0,n)}function Ab(){Qr(G0),Qr(lI),Qr(cI)}function _he(e){Wg(cI.current);var n=Wg(G0.current),t=Zk(n,e.type);n!==t&&(Po(lI,e),Po(G0,t))}function $O(e){lI.current===e&&(Qr(G0),Qr(lI))}var ko=ud(0);function CA(e){for(var n=e;n!==null;){if(n.tag===13){var t=n.memoizedState;if(t!==null&&(t=t.dehydrated,t===null||t.data==="$?"||t.data==="$!"))return n}else if(n.tag===19&&n.memoizedProps.revealOrder!==void 0){if((n.flags&64)!=0)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var op=null,vd=null,A0=!1;function dhe(e,n){var t=Vs(5,null,null,0);t.elementType="DELETED",t.type="DELETED",t.stateNode=n,t.return=e,t.flags=8,e.lastEffect!==null?(e.lastEffect.nextEffect=t,e.lastEffect=t):e.firstEffect=e.lastEffect=t}function hhe(e,n){switch(e.tag){case 5:var t=e.type;return n=n.nodeType!==1||t.toLowerCase()!==n.nodeName.toLowerCase()?null:n,n!==null?(e.stateNode=n,!0):!1;case 6:return n=e.pendingProps===""||n.nodeType!==3?null:n,n!==null?(e.stateNode=n,!0):!1;case 13:return!1;default:return!1}}function VO(e){if(A0){var n=vd;if(n){var t=n;if(!hhe(e,n)){if(n=Sb(t.nextSibling),!n||!hhe(e,n)){e.flags=e.flags&-1025|2,A0=!1,op=e;return}dhe(op,t)}op=e,vd=Sb(n.firstChild)}else e.flags=e.flags&-1025|2,A0=!1,op=e}}function ghe(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;op=e}function IA(e){if(e!==op)return!1;if(!A0)return ghe(e),A0=!0,!1;var n=e.type;if(e.tag!==5||n!=="head"&&n!=="body"&&!AO(n,e.memoizedProps))for(n=vd;n;)dhe(e,n),n=Sb(n.nextSibling);if(ghe(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(En(317));e:{for(e=e.nextSibling,n=0;e;){if(e.nodeType===8){var t=e.data;if(t==="/$"){if(n===0){vd=Sb(e.nextSibling);break e}n--}else t!=="$"&&t!=="$!"&&t!=="$?"||n++}e=e.nextSibling}vd=null}}else vd=op?Sb(e.stateNode.nextSibling):null;return!0}function QO(){vd=op=null,A0=!1}var xb=[];function YO(){for(var e=0;eo))throw Error(En(301));o+=1,yu=Bu=null,n.updateQueue=null,sI.current=fon,e=t(a,r)}while(vI)}if(sI.current=AA,n=Bu!==null&&Bu.next!==null,fI=0,yu=Bu=Ko=null,TA=!1,n)throw Error(En(300));return e}function qg(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return yu===null?Ko.memoizedState=yu=e:yu=yu.next=e,yu}function zg(){if(Bu===null){var e=Ko.alternate;e=e!==null?e.memoizedState:null}else e=Bu.next;var n=yu===null?Ko.memoizedState:yu.next;if(n!==null)yu=n,Bu=e;else{if(e===null)throw Error(En(310));Bu=e,e={memoizedState:Bu.memoizedState,baseState:Bu.baseState,baseQueue:Bu.baseQueue,queue:Bu.queue,next:null},yu===null?Ko.memoizedState=yu=e:yu=yu.next=e}return yu}function x0(e,n){return typeof n=="function"?n(e):n}function mI(e){var n=zg(),t=n.queue;if(t===null)throw Error(En(311));t.lastRenderedReducer=e;var a=Bu,r=a.baseQueue,o=t.pending;if(o!==null){if(r!==null){var i=r.next;r.next=o.next,o.next=i}a.baseQueue=r=o,t.pending=null}if(r!==null){r=r.next,a=a.baseState;var u=i=o=null,l=r;do{var c=l.lane;if((fI&c)===c)u!==null&&(u=u.next={lane:0,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null}),a=l.eagerReducer===e?l.eagerState:e(a,l.action);else{var s={lane:c,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null};u===null?(i=u=s,o=a):u=u.next=s,Ko.lanes|=c,hI|=c}l=l.next}while(l!==null&&l!==r);u===null?o=a:u.next=i,Ws(a,n.memoizedState)||(mv=!0),n.memoizedState=a,n.baseState=o,n.baseQueue=u,t.lastRenderedState=a}return[n.memoizedState,t.dispatch]}function pI(e){var n=zg(),t=n.queue;if(t===null)throw Error(En(311));t.lastRenderedReducer=e;var a=t.dispatch,r=t.pending,o=n.memoizedState;if(r!==null){t.pending=null;var i=r=r.next;do o=e(o,i.action),i=i.next;while(i!==r);Ws(o,n.memoizedState)||(mv=!0),n.memoizedState=o,n.baseQueue===null&&(n.baseState=o),t.lastRenderedState=o}return[o,a]}function Dhe(e,n,t){var a=n._getVersion;a=a(n._source);var r=n._workInProgressVersionPrimary;if(r!==null?e=r===a:(e=e.mutableReadLanes,(e=(fI&e)===e)&&(n._workInProgressVersionPrimary=a,xb.push(n))),e)return t(n._source);throw xb.push(n),Error(En(350))}function yhe(e,n,t,a){var r=ml;if(r===null)throw Error(En(349));var o=n._getVersion,i=o(n._source),u=sI.current,l=u.useState(function(){return Dhe(r,n,t)}),c=l[1],s=l[0];l=yu;var f=e.memoizedState,v=f.refs,m=v.getSnapshot,_=f.source;f=f.subscribe;var R=Ko;return e.memoizedState={refs:v,source:n,subscribe:a},u.useEffect(function(){v.getSnapshot=t,v.setSnapshot=c;var D=o(n._source);if(!Ws(i,D)){D=t(n._source),Ws(s,D)||(c(D),D=pd(R),r.mutableReadLanes|=D&r.pendingLanes),D=r.mutableReadLanes,r.entangledLanes|=D;for(var y=r.entanglements,S=D;0t?98:t,function(){e(!0)}),Jg(97<\/script>",e=e.removeChild(e.firstChild)):typeof a.is=="string"?e=i.createElement(t,{is:a.is}):(e=i.createElement(t),t==="select"&&(i=e,a.multiple?i.multiple=!0:a.size&&(i.size=a.size))):e=i.createElementNS(e,t),e[id]=n,e[vA]=a,Hhe(e,n,!1,!1),n.stateNode=e,i=eO(t,a),t){case"dialog":Vr("cancel",e),Vr("close",e),r=a;break;case"iframe":case"object":case"embed":Vr("load",e),r=a;break;case"video":case"audio":for(r=0;rgU&&(n.flags|=64,o=!0,dI(a,!1),n.lanes=33554432)}else{if(!o)if(e=CA(i),e!==null){if(n.flags|=64,o=!0,t=e.updateQueue,t!==null&&(n.updateQueue=t,n.flags|=4),dI(a,!0),a.tail===null&&a.tailMode==="hidden"&&!i.alternate&&!A0)return n=n.lastEffect=a.lastEffect,n!==null&&(n.nextEffect=null),null}else 2*Hu()-a.renderingStartTime>gU&&t!==1073741824&&(n.flags|=64,o=!0,dI(a,!1),n.lanes=33554432);a.isBackwards?(i.sibling=n.child,n.child=i):(t=a.last,t!==null?t.sibling=i:n.child=i,a.last=i)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.lastEffect=n.lastEffect,a.renderingStartTime=Hu(),t.sibling=null,n=ko.current,Po(ko,o?n&1|2:n&1),t):null;case 23:case 24:return SU(),e!==null&&e.memoizedState!==null!=(n.memoizedState!==null)&&a.mode!=="unstable-defer-without-hiding"&&(n.flags|=4),null}throw Error(En(156,n.tag))}function pon(e){switch(e.tag){case 1:$l(e.type)&&pA();var n=e.flags;return n&4096?(e.flags=n&-4097|64,e):null;case 3:if(Ab(),Qr(zl),Qr(Uu),YO(),n=e.flags,(n&64)!=0)throw Error(En(285));return e.flags=n&-4097|64,e;case 5:return $O(e),null;case 13:return Qr(ko),n=e.flags,n&4096?(e.flags=n&-4097|64,e):null;case 19:return Qr(ko),null;case 4:return Ab(),null;case 10:return JO(e),null;case 23:case 24:return SU(),null;default:return null}}function lU(e,n){try{var t="",a=n;do t+=Van(a),a=a.return;while(a);var r=t}catch(o){r=` Error generating stack: `+o.message+` `+o.stack}return{value:e,source:n,stack:r}}function cU(e,n){try{console.error(n.value)}catch(t){setTimeout(function(){throw t})}}var _on=typeof WeakMap=="function"?WeakMap:Map;function Whe(e,n,t){t=sd(-1,t),t.tag=3,t.payload={element:null};var a=n.value;return t.callback=function(){NA||(NA=!0,DU=a),cU(e,n)},t}function qhe(e,n,t){t=sd(-1,t),t.tag=3;var a=e.type.getDerivedStateFromError;if(typeof a=="function"){var r=n.value;t.payload=function(){return cU(e,n),a(r)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(t.callback=function(){typeof a!="function"&&(L0===null?L0=new Set([this]):L0.add(this),cU(e,n));var i=n.stack;this.componentDidCatch(n.value,{componentStack:i!==null?i:""})}),t}var don=typeof WeakSet=="function"?WeakSet:Set;function zhe(e){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(t){hd(e,t)}else n.current=null}function hon(e,n){switch(n.tag){case 0:case 11:case 15:case 22:return;case 1:if(n.flags&256&&e!==null){var t=e.memoizedProps,a=e.memoizedState;e=n.stateNode,n=e.getSnapshotBeforeUpdate(n.elementType===n.type?t:vv(n.type,t),a),e.__reactInternalSnapshotBeforeUpdate=n}return;case 3:n.flags&256&&xO(n.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(En(163))}function gon(e,n,t){switch(t.tag){case 0:case 11:case 15:case 22:if(n=t.updateQueue,n=n!==null?n.lastEffect:null,n!==null){e=n=n.next;do{if((e.tag&3)==3){var a=e.create;e.destroy=a()}e=e.next}while(e!==n)}if(n=t.updateQueue,n=n!==null?n.lastEffect:null,n!==null){e=n=n.next;do{var r=e;a=r.next,r=r.tag,(r&4)!=0&&(r&1)!=0&&(uge(t,e),Con(t,e)),e=a}while(e!==n)}return;case 1:e=t.stateNode,t.flags&4&&(n===null?e.componentDidMount():(a=t.elementType===t.type?n.memoizedProps:vv(t.type,n.memoizedProps),e.componentDidUpdate(a,n.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),n=t.updateQueue,n!==null&&lhe(t,n,e);return;case 3:if(n=t.updateQueue,n!==null){if(e=null,t.child!==null)switch(t.child.tag){case 5:e=t.child.stateNode;break;case 1:e=t.child.stateNode}lhe(t,n,e)}return;case 5:e=t.stateNode,n===null&&t.flags&4&&Jde(t.type,t.memoizedProps)&&e.focus();return;case 6:return;case 4:return;case 12:return;case 13:t.memoizedState===null&&(t=t.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&ide(t))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(En(163))}function $he(e,n){for(var t=e;;){if(t.tag===5){var a=t.stateNode;if(n)a=a.style,typeof a.setProperty=="function"?a.setProperty("display","none","important"):a.display="none";else{a=t.stateNode;var r=t.memoizedProps.style;r=r!=null&&r.hasOwnProperty("display")?r.display:null,a.style.display=J_e("display",r)}}else if(t.tag===6)t.stateNode.nodeValue=n?"":t.memoizedProps;else if((t.tag!==23&&t.tag!==24||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return;t=t.return}t.sibling.return=t.return,t=t.sibling}}function Vhe(e,n){if(Bg&&typeof Bg.onCommitFiberUnmount=="function")try{Bg.onCommitFiberUnmount(NO,n)}catch{}switch(n.tag){case 0:case 11:case 14:case 15:case 22:if(e=n.updateQueue,e!==null&&(e=e.lastEffect,e!==null)){var t=e=e.next;do{var a=t,r=a.destroy;if(a=a.tag,r!==void 0)if((a&4)!=0)uge(n,t);else{a=n;try{r()}catch(o){hd(a,o)}}t=t.next}while(t!==e)}break;case 1:if(zhe(n),e=n.stateNode,typeof e.componentWillUnmount=="function")try{e.props=n.memoizedProps,e.state=n.memoizedState,e.componentWillUnmount()}catch(o){hd(n,o)}break;case 5:zhe(n);break;case 4:Zhe(e,n)}}function Qhe(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function Yhe(e){return e.tag===5||e.tag===3||e.tag===4}function Xhe(e){e:{for(var n=e.return;n!==null;){if(Yhe(n))break e;n=n.return}throw Error(En(160))}var t=n;switch(n=t.stateNode,t.tag){case 5:var a=!1;break;case 3:n=n.containerInfo,a=!0;break;case 4:n=n.containerInfo,a=!0;break;default:throw Error(En(161))}t.flags&16&&(kC(n,""),t.flags&=-17);e:n:for(t=e;;){for(;t.sibling===null;){if(t.return===null||Yhe(t.return)){t=null;break e}t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.flags&2||t.child===null||t.tag===4)continue n;t.child.return=t,t=t.child}if(!(t.flags&2)){t=t.stateNode;break e}}a?sU(e,t,n):fU(e,t,n)}function sU(e,n,t){var a=e.tag,r=a===5||a===6;if(r)e=r?e.stateNode:e.stateNode.instance,n?t.nodeType===8?t.parentNode.insertBefore(e,n):t.insertBefore(e,n):(t.nodeType===8?(n=t.parentNode,n.insertBefore(e,t)):(n=t,n.appendChild(e)),t=t._reactRootContainer,t!=null||n.onclick!==null||(n.onclick=sA));else if(a!==4&&(e=e.child,e!==null))for(sU(e,n,t),e=e.sibling;e!==null;)sU(e,n,t),e=e.sibling}function fU(e,n,t){var a=e.tag,r=a===5||a===6;if(r)e=r?e.stateNode:e.stateNode.instance,n?t.insertBefore(e,n):t.appendChild(e);else if(a!==4&&(e=e.child,e!==null))for(fU(e,n,t),e=e.sibling;e!==null;)fU(e,n,t),e=e.sibling}function Zhe(e,n){for(var t=n,a=!1,r,o;;){if(!a){a=t.return;e:for(;;){if(a===null)throw Error(En(160));switch(r=a.stateNode,a.tag){case 5:o=!1;break e;case 3:r=r.containerInfo,o=!0;break e;case 4:r=r.containerInfo,o=!0;break e}a=a.return}a=!0}if(t.tag===5||t.tag===6){e:for(var i=e,u=t,l=u;;)if(Vhe(i,l),l.child!==null&&l.tag!==4)l.child.return=l,l=l.child;else{if(l===u)break e;for(;l.sibling===null;){if(l.return===null||l.return===u)break e;l=l.return}l.sibling.return=l.return,l=l.sibling}o?(i=r,u=t.stateNode,i.nodeType===8?i.parentNode.removeChild(u):i.removeChild(u)):r.removeChild(t.stateNode)}else if(t.tag===4){if(t.child!==null){r=t.stateNode.containerInfo,o=!0,t.child.return=t,t=t.child;continue}}else if(Vhe(e,t),t.child!==null){t.child.return=t,t=t.child;continue}if(t===n)break;for(;t.sibling===null;){if(t.return===null||t.return===n)return;t=t.return,t.tag===4&&(a=!1)}t.sibling.return=t.return,t=t.sibling}}function vU(e,n){switch(n.tag){case 0:case 11:case 14:case 15:case 22:var t=n.updateQueue;if(t=t!==null?t.lastEffect:null,t!==null){var a=t=t.next;do(a.tag&3)==3&&(e=a.destroy,a.destroy=void 0,e!==void 0&&e()),a=a.next;while(a!==t)}return;case 1:return;case 5:if(t=n.stateNode,t!=null){a=n.memoizedProps;var r=e!==null?e.memoizedProps:a;e=n.type;var o=n.updateQueue;if(n.updateQueue=null,o!==null){for(t[vA]=a,e==="input"&&a.type==="radio"&&a.name!=null&&N_e(t,a),eO(e,r),n=eO(e,a),r=0;rr&&(r=i),t&=~o}if(t=r,t=Hu()-t,t=(120>t?120:480>t?480:1080>t?1080:1920>t?1920:3e3>t?3e3:4320>t?4320:1960*yon(t/1960))-t,10 component higher in the tree to provide a loading indicator or placeholder to display.`)}bu!==5&&(bu=2),l=lU(l,u),v=i;do{switch(v.tag){case 3:o=l,v.flags|=4096,n&=-n,v.lanes|=n;var k=Whe(v,o,n);uhe(v,k);break e;case 1:o=l;var M=v.type,O=v.stateNode;if((v.flags&64)==0&&(typeof M.getDerivedStateFromError=="function"||O!==null&&typeof O.componentDidCatch=="function"&&(L0===null||!L0.has(O)))){v.flags|=4096,n&=-n,v.lanes|=n;var oe=qhe(v,o,n);uhe(v,oe);break e}}v=v.return}while(v!==null)}ige(t)}catch(le){n=le,Bi===t&&t!==null&&(Bi=t=t.return);continue}break}while(1)}function rge(){var e=LA.current;return LA.current=AA,e===null?AA:e}function RI(e,n){var t=Xt;Xt|=16;var a=rge();ml===e&&Ju===n||kb(e,n);do try{Ron();break}catch(r){age(e,r)}while(1);if(BO(),Xt=t,LA.current=a,Bi!==null)throw Error(En(261));return ml=null,Ju=0,bu}function Ron(){for(;Bi!==null;)oge(Bi)}function won(){for(;Bi!==null&&!ron();)oge(Bi)}function oge(e){var n=cge(e.alternate,e,$g);e.memoizedProps=e.pendingProps,n===null?ige(e):Bi=n,mU.current=null}function ige(e){var n=e;do{var t=n.alternate;if(e=n.return,(n.flags&2048)==0){if(t=mon(t,n,$g),t!==null){Bi=t;return}if(t=n,t.tag!==24&&t.tag!==23||t.memoizedState===null||($g&1073741824)!=0||(t.mode&4)==0){for(var a=0,r=t.child;r!==null;)a|=r.lanes|r.childLanes,r=r.sibling;t.childLanes=a}e!==null&&(e.flags&2048)==0&&(e.firstEffect===null&&(e.firstEffect=n.firstEffect),n.lastEffect!==null&&(e.lastEffect!==null&&(e.lastEffect.nextEffect=n.firstEffect),e.lastEffect=n.lastEffect),1i&&(u=i,i=k,k=u),u=Mde(S,k),o=Mde(S,i),u&&o&&(P.rangeCount!==1||P.anchorNode!==u.node||P.anchorOffset!==u.offset||P.focusNode!==o.node||P.focusOffset!==o.offset)&&(G=G.createRange(),G.setStart(u.node,u.offset),P.removeAllRanges(),k>i?(P.addRange(G),P.extend(o.node,o.offset)):(G.setEnd(o.node,o.offset),P.addRange(G)))))),G=[],P=S;P=P.parentNode;)P.nodeType===1&&G.push({element:P,left:P.scrollLeft,top:P.scrollTop});for(typeof S.focus=="function"&&S.focus(),S=0;SHu()-hU?kb(e,0):_U|=t),$s(e,n)}function Fon(e,n){var t=e.stateNode;t!==null&&t.delete(n),n=0,n===0&&(n=e.mode,(n&2)==0?n=1:(n&4)==0?n=Fb()===99?1:2:(lp===0&&(lp=Lb),n=Db(62914560&~lp),n===0&&(n=4194304))),t=zc(),e=UA(e,n),e!==null&&(K3(e,n,t),$s(e,t))}var cge;cge=function(e,n,t){var a=n.lanes;if(e!==null)if(e.memoizedProps!==n.pendingProps||zl.current)mv=!0;else if((t&a)!=0)mv=(e.flags&16384)!=0;else{switch(mv=!1,n.tag){case 3:Lhe(n),QO();break;case 5:_he(n);break;case 1:$l(n.type)&&_A(n);break;case 4:zO(n,n.stateNode.containerInfo);break;case 10:a=n.memoizedProps.value;var r=n.type._context;Po(gA,r._currentValue),r._currentValue=a;break;case 13:if(n.memoizedState!==null)return(t&n.child.childLanes)!=0?jhe(e,n,t):(Po(ko,ko.current&1),n=ip(e,n,t),n!==null?n.sibling:null);Po(ko,ko.current&1);break;case 19:if(a=(t&n.childLanes)!=0,(e.flags&64)!=0){if(a)return Uhe(e,n,t);n.flags|=64}if(r=n.memoizedState,r!==null&&(r.rendering=null,r.tail=null,r.lastEffect=null),Po(ko,ko.current),a)break;return null;case 23:case 24:return n.lanes=0,aU(e,n,t)}return ip(e,n,t)}else mv=!1;switch(n.lanes=0,n.tag){case 2:if(a=n.type,e!==null&&(e.alternate=null,n.alternate=null,n.flags|=2),e=n.pendingProps,r=Tb(n,Uu.current),Gb(n,t),r=ZO(null,n,a,e,r,t),n.flags|=1,typeof r=="object"&&r!==null&&typeof r.render=="function"&&r.$$typeof===void 0){if(n.tag=1,n.memoizedState=null,n.updateQueue=null,$l(a)){var o=!0;_A(n)}else o=!1;n.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,WO(n);var i=a.getDerivedStateFromProps;typeof i=="function"&&bA(n,a,i,e),r.updater=RA,n.stateNode=r,r._reactInternals=n,qO(n,a,e,t),n=oU(null,n,a,!0,o,t)}else n.tag=0,Ql(null,n,r,t),n=n.child;return n;case 16:r=n.elementType;e:{switch(e!==null&&(e.alternate=null,n.alternate=null,n.flags|=2),e=n.pendingProps,o=r._init,r=o(r._payload),n.type=r,o=n.tag=Gon(r),e=vv(r,e),o){case 0:n=rU(null,n,r,e,t);break e;case 1:n=xhe(null,n,r,e,t);break e;case 11:n=Fhe(null,n,r,e,t);break e;case 14:n=Mhe(null,n,r,vv(r.type,e),a,t);break e}throw Error(En(306,r,""))}return n;case 0:return a=n.type,r=n.pendingProps,r=n.elementType===a?r:vv(a,r),rU(e,n,a,r,t);case 1:return a=n.type,r=n.pendingProps,r=n.elementType===a?r:vv(a,r),xhe(e,n,a,r,t);case 3:if(Lhe(n),a=n.updateQueue,e===null||a===null)throw Error(En(282));if(a=n.pendingProps,r=n.memoizedState,r=r!==null?r.element:null,ihe(e,n),oI(n,a,null,t),a=n.memoizedState.element,a===r)QO(),n=ip(e,n,t);else{if(r=n.stateNode,(o=r.hydrate)&&(vd=Sb(n.stateNode.containerInfo.firstChild),op=n,o=A0=!0),o){if(e=r.mutableSourceEagerHydrationData,e!=null)for(r=0;r{"use strict";function mge(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(mge)}catch(e){console.error(e)}}mge(),pge.exports=vge()});var II=Pe(jU=>{"use strict";Object.defineProperty(jU,"__esModule",{value:!0});var xU=Object.assign||function(e){for(var n=1;n=0||!Object.prototype.hasOwnProperty.call(e,a)||(t[a]=e[a]);return t}function Uon(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function Hon(e,n){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&(typeof n=="object"||typeof n=="function")?n:e}function Bon(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof n);e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(e,n):e.__proto__=n)}var gge={position:"absolute",top:0,left:0,visibility:"hidden",height:0,overflow:"scroll",whiteSpace:"pre"},Jon=["extraWidth","injectStyles","inputClassName","inputRef","inputStyle","minWidth","onAutosize","placeholderIsMinWidth"],Won=function(n){return Jon.forEach(function(t){return delete n[t]}),n},Dge=function(n,t){t.style.fontSize=n.fontSize,t.style.fontFamily=n.fontFamily,t.style.fontWeight=n.fontWeight,t.style.fontStyle=n.fontStyle,t.style.letterSpacing=n.letterSpacing,t.style.textTransform=n.textTransform},yge=typeof window!="undefined"&&window.navigator?/MSIE |Trident\/|Edge\//.test(window.navigator.userAgent):!1,bge=function(){return yge?"_"+Math.random().toString(36).substr(2,12):void 0},LU=function(e){Bon(n,e),_ge(n,null,[{key:"getDerivedStateFromProps",value:function(a,r){var o=a.id;return o!==r.prevId?{inputId:o||bge(),prevId:o}:null}}]);function n(t){Uon(this,n);var a=Hon(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,t));return a.inputRef=function(r){a.input=r,typeof a.props.inputRef=="function"&&a.props.inputRef(r)},a.placeHolderSizerRef=function(r){a.placeHolderSizer=r},a.sizerRef=function(r){a.sizer=r},a.state={inputWidth:t.minWidth,inputId:t.id||bge(),prevId:t.id},a}return _ge(n,[{key:"componentDidMount",value:function(){this.mounted=!0,this.copyInputStyles(),this.updateInputWidth()}},{key:"componentDidUpdate",value:function(a,r){r.inputWidth!==this.state.inputWidth&&typeof this.props.onAutosize=="function"&&this.props.onAutosize(this.state.inputWidth),this.updateInputWidth()}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"copyInputStyles",value:function(){if(!(!this.mounted||!window.getComputedStyle)){var a=this.input&&window.getComputedStyle(this.input);!a||(Dge(a,this.sizer),this.placeHolderSizer&&Dge(a,this.placeHolderSizer))}}},{key:"updateInputWidth",value:function(){if(!(!this.mounted||!this.sizer||typeof this.sizer.scrollWidth=="undefined")){var a=void 0;this.props.placeholder&&(!this.props.value||this.props.value&&this.props.placeholderIsMinWidth)?a=Math.max(this.sizer.scrollWidth,this.placeHolderSizer.scrollWidth)+2:a=this.sizer.scrollWidth+2;var r=this.props.type==="number"&&this.props.extraWidth===void 0?16:parseInt(this.props.extraWidth)||0;a+=r,a{(function(e,n){if(typeof define=="function"&&define.amd)define("react-list",["prop-types","react"],n);else if(typeof $U!="undefined")n(ay(),(Wt(),Nh));else{var t={exports:{}};n(e.PropTypes,e.React),e.ReactList=t.exports}})(typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:$U,function(e,n){"use strict";e=i(e),n=o(n);var t,a;function r(){if(typeof WeakMap!="function")return null;var x=new WeakMap;return r=function(){return x},x}function o(x){if(x&&x.__esModule)return x;if(x===null||u(x)!=="object"&&typeof x!="function")return{default:x};var ne=r();if(ne&&ne.has(x))return ne.get(x);var me={},ye=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var U in x)if(Object.prototype.hasOwnProperty.call(x,U)){var de=ye?Object.getOwnPropertyDescriptor(x,U):null;de&&(de.get||de.set)?Object.defineProperty(me,U,de):me[U]=x[U]}return me.default=x,ne&&ne.set(x,me),me}function i(x){return x&&x.__esModule?x:{default:x}}function u(x){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?u=function(me){return typeof me}:u=function(me){return me&&typeof Symbol=="function"&&me.constructor===Symbol&&me!==Symbol.prototype?"symbol":typeof me},u(x)}function l(x,ne){if(!(x instanceof ne))throw new TypeError("Cannot call a class as a function")}function c(x,ne){for(var me=0;meye&&(Ae=ye),V=de==="simple"||!V?0:Math.max(Math.min(V,ye-Ae),0),(He=V%Me)&&(V-=He,Ae+=He),V===me.from&&Ae==me.size?me:G(G({},me),{},{from:V,size:Ae})};UDe.exports=(a=t=function(x){f(me,x);var ne=m(me);s(me,null,[{key:"getDerivedStateFromProps",value:function(U,de){var V=q(U,de);return V===de?null:V}}]);function me(ye){var U;return l(this,me),U=ne.call(this,ye),U.state=q(ye,{itemsPerRow:1,from:ye.initialIndex,size:0}),U.cache={},U.cachedScrollPosition=null,U.prevPrevState={},U.unstable=!1,U.updateCounter=0,U}return s(me,[{key:"componentDidMount",value:function(){this.updateFrameAndClearCache=this.updateFrameAndClearCache.bind(this),window.addEventListener("resize",this.updateFrameAndClearCache),this.updateFrame(this.scrollTo.bind(this,this.props.initialIndex))}},{key:"componentDidUpdate",value:function(U){var de=this;if(this.props.axis!==U.axis&&this.clearSizeCache(),!this.unstable){if(++this.updateCounter>jn)return this.unstable=!0,console.error(ie);this.updateCounterTimeoutId||(this.updateCounterTimeoutId=setTimeout(function(){de.updateCounter=0,delete de.updateCounterTimeoutId},0)),this.updateFrame()}}},{key:"maybeSetState",value:function(U,de){if(Ve(this.state,U))return de();this.setState(U,de)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.updateFrameAndClearCache),this.scrollParent.removeEventListener("scroll",this.updateFrameAndClearCache,Ne),this.scrollParent.removeEventListener("mousewheel",De,Ne)}},{key:"getOffset",value:function(U){var de=this.props.axis,V=U[M[de]]||0,Ae=le[de];do V+=U[Ae]||0;while(U=U.offsetParent);return V}},{key:"getEl",value:function(){return this.el||this.items}},{key:"getScrollPosition",value:function(){if(typeof this.cachedScrollPosition=="number")return this.cachedScrollPosition;var U=this.scrollParent,de=this.props.axis,V=be[de],Ae=U===window?document.body[V]||document.documentElement[V]:U[V],Me=this.getScrollSize()-this.props.scrollParentViewportSizeGetter(this),He=Math.max(0,Math.min(Ae,Me)),$e=this.getEl();return this.cachedScrollPosition=this.getOffset(U)+He-this.getOffset($e),this.cachedScrollPosition}},{key:"setScroll",value:function(U){var de=this.scrollParent,V=this.props.axis;if(U+=this.getOffset(this.getEl()),de===window)return window.scrollTo(0,U);U-=this.getOffset(this.scrollParent),de[be[V]]=U}},{key:"getScrollSize",value:function(){var U=this.scrollParent,de=document,V=de.body,Ae=de.documentElement,Me=X[this.props.axis];return U===window?Math.max(V[Me],Ae[Me]):U[Me]}},{key:"hasDeterminateSize",value:function(){var U=this.props,de=U.itemSizeGetter,V=U.type;return V==="uniform"||de}},{key:"getStartAndEnd",value:function(){var U=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.threshold,de=this.getScrollPosition(),V=Math.max(0,de-U),Ae=de+this.props.scrollParentViewportSizeGetter(this)+U;return this.hasDeterminateSize()&&(Ae=Math.min(Ae,this.getSpaceBefore(this.props.length))),{start:V,end:Ae}}},{key:"getItemSizeAndItemsPerRow",value:function(){var U=this.props,de=U.axis,V=U.useStaticSize,Ae=this.state,Me=Ae.itemSize,He=Ae.itemsPerRow;if(V&&Me&&He)return{itemSize:Me,itemsPerRow:He};var $e=this.items.children;if(!$e.length)return{};var je=$e[0],In=je[oe[de]],cn=Math.abs(In-Me);if((isNaN(cn)||cn>=1)&&(Me=In),!Me)return{};var et=le[de],Cn=je[et];He=1;for(var nt=$e[He];nt&&nt[et]===Cn;nt=$e[He])++He;return{itemSize:Me,itemsPerRow:He}}},{key:"clearSizeCache",value:function(){this.cachedScrollPosition=null}},{key:"updateFrameAndClearCache",value:function(U){return this.clearSizeCache(),this.updateFrame(U)}},{key:"updateFrame",value:function(U){switch(this.updateScrollParent(),typeof U!="function"&&(U=De),this.props.type){case"simple":return this.updateSimpleFrame(U);case"variable":return this.updateVariableFrame(U);case"uniform":return this.updateUniformFrame(U)}}},{key:"updateScrollParent",value:function(){var U=this.scrollParent;this.scrollParent=this.props.scrollParentGetter(this),U!==this.scrollParent&&(U&&(U.removeEventListener("scroll",this.updateFrameAndClearCache),U.removeEventListener("mousewheel",De)),this.clearSizeCache(),this.scrollParent.addEventListener("scroll",this.updateFrameAndClearCache,Ne),this.scrollParent.addEventListener("mousewheel",De,Ne))}},{key:"updateSimpleFrame",value:function(U){var de=this.getStartAndEnd(),V=de.end,Ae=this.items.children,Me=0;if(Ae.length){var He=this.props.axis,$e=Ae[0],je=Ae[Ae.length-1];Me=this.getOffset(je)+je[oe[He]]-this.getOffset($e)}if(Me>V)return U();var In=this.props,cn=In.pageSize,et=In.length,Cn=Math.min(this.state.size+cn,et);this.maybeSetState({size:Cn},U)}},{key:"updateVariableFrame",value:function(U){this.props.itemSizeGetter||this.cacheSizes();for(var de=this.getStartAndEnd(),V=de.start,Ae=de.end,Me=this.props,He=Me.length,$e=Me.pageSize,je=0,In=0,cn=0,et=He-1;InV)break;je+=Cn,++In}for(var nt=He-In;cn1&&arguments[1]!==void 0?arguments[1]:{};if(de[U]!=null)return de[U];var V=this.state,Ae=V.itemSize,Me=V.itemsPerRow;if(Ae)return de[U]=Math.floor(U/Me)*Ae;for(var He=U;He>0&&de[--He]==null;);for(var $e=de[He]||0,je=He;je=cn&&UHe)return this.setScroll(He)}},{key:"getVisibleRange",value:function(){for(var U=this.state,de=U.from,V=U.size,Ae=this.getStartAndEnd(0),Me=Ae.start,He=Ae.end,$e={},je,In,cn=de;cnMe&&(je=cn),je!=null&&et{"use strict";Object.defineProperty(OB,"__esModule",{value:!0});var Hmn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},AB=Object.assign||function(e){for(var n=1;n1?n-1:0),a=1;aa.height),ef(m,this.animationStateClasses.animatingToHeightZero,y.height===0),ef(m,this.animationStateClasses.animatingToHeightAuto,y.height==="auto"),ef(m,this.animationStateClasses.animatingToHeightSpecific,y.height>0),m)),P=this.getStaticStateClasses(y.height);this.setState({animationStateClasses:G,height:D,overflow:"hidden",shouldUseTransitions:!S}),clearTimeout(this.timeoutID),clearTimeout(this.animationClassesTimeoutID),S?(y.shouldUseTransitions=!0,Hwe(this.animationFrameIDs),this.animationFrameIDs=Xmn(function(){o.setState(y),Kx(c,{newHeight:y.height})}),this.animationClassesTimeoutID=setTimeout(function(){o.setState({animationStateClasses:P,shouldUseTransitions:!1}),o.hideContent(y.height),Kx(l,{newHeight:y.height})},R)):(Kx(c,{newHeight:D}),this.timeoutID=setTimeout(function(){y.animationStateClasses=P,y.shouldUseTransitions=!1,o.setState(y),u!=="auto"&&o.hideContent(D),Kx(l,{newHeight:D})},R))}}},{key:"componentWillUnmount",value:function(){Hwe(this.animationFrameIDs),clearTimeout(this.timeoutID),clearTimeout(this.animationClassesTimeoutID),this.timeoutID=null}},{key:"getTimings",value:function(){if(this.prefersReducedMotion)return{delay:0,duration:0};var a=this.props,r=a.delay,o=a.duration;return{delay:r,duration:o}}},{key:"showContent",value:function(a){a===0&&(this.contentElement.style.display="")}},{key:"hideContent",value:function(a){a===0&&(this.contentElement.style.display="none")}},{key:"getStaticStateClasses",value:function(a){var r;return(0,LB.default)((r={},ef(r,this.animationStateClasses.static,!0),ef(r,this.animationStateClasses.staticHeightZero,a===0),ef(r,this.animationStateClasses.staticHeightSpecific,a>0),ef(r,this.animationStateClasses.staticHeightAuto,a==="auto"),r))}},{key:"render",value:function(){var a,r=this,o=this.props,i=o.animateOpacity,u=o.applyInlineTransitions,l=o.children,c=o.className,s=o.contentClassName,f=o.easing,v=o.id,m=o.style,_=this.state,R=_.height,D=_.overflow,y=_.animationStateClasses,S=_.shouldUseTransitions,G=this.getTimings(),P=G.duration,k=G.delay,M=AB({},m,{height:R,overflow:D||m.overflow});S&&u&&(M.transition="height "+P+"ms "+f+" "+k+"ms",m.transition&&(M.transition=m.transition+", "+M.transition),M.WebkitTransition=M.transition);var O={};i&&(O.transition="opacity "+P+"ms "+f+" "+k+"ms",O.WebkitTransition=O.transition,R===0&&(O.opacity=0));var oe=(0,LB.default)((a={},ef(a,y,!0),ef(a,c,c),a)),le=typeof this.props["aria-hidden"]!="undefined",ve=le?this.props["aria-hidden"]:R===0;return xB.default.createElement("div",AB({},Ymn.apply(void 0,[this.props].concat(Qmn)),{"aria-hidden":ve,className:oe,id:v,style:M}),xB.default.createElement("div",{className:s,style:O,ref:function(be){return r.contentElement=be}},l))}}]),n}(xB.default.Component),Zmn=function(n,t,a){var r=n[t];return typeof r=="number"&&r>=0||PB(r)||r==="auto"?null:new TypeError('value "'+r+'" of type "'+(typeof r=="undefined"?"undefined":Hmn(r))+'" is invalid type for '+t+" in "+a+'. It needs to be a positive number, string "auto" or percentage string (e.g. "15%").')};kB.propTypes={"aria-hidden":Xl.default.bool,animateOpacity:Xl.default.bool,animationStateClasses:Xl.default.object,applyInlineTransitions:Xl.default.bool,children:Xl.default.any.isRequired,className:Xl.default.string,contentClassName:Xl.default.string,delay:Xl.default.number,duration:Xl.default.number,easing:Xl.default.string,height:Zmn,id:Xl.default.string,onAnimationEnd:Xl.default.func,onAnimationStart:Xl.default.func,style:Xl.default.object};kB.defaultProps={animateOpacity:!1,animationStateClasses:Uwe,applyInlineTransitions:!0,duration:250,delay:0,easing:"ease",style:{}};OB.default=kB});var rCe=Pe((b7,dJ)=>{(function(n,t){typeof b7=="object"&&typeof dJ=="object"?dJ.exports=t():typeof define=="function"&&define.amd?define([],t):typeof b7=="object"?b7.Pusher=t():n.Pusher=t()})(window,function(){return function(e){var n={};function t(a){if(n[a])return n[a].exports;var r=n[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,t),r.l=!0,r.exports}return t.m=e,t.c=n,t.d=function(a,r,o){t.o(a,r)||Object.defineProperty(a,r,{enumerable:!0,get:o})},t.r=function(a){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},t.t=function(a,r){if(r&1&&(a=t(a)),r&8||r&4&&typeof a=="object"&&a&&a.__esModule)return a;var o=Object.create(null);if(t.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:a}),r&2&&typeof a!="string")for(var i in a)t.d(o,i,function(u){return a[u]}.bind(null,i));return o},t.n=function(a){var r=a&&a.__esModule?function(){return a.default}:function(){return a};return t.d(r,"a",r),r},t.o=function(a,r){return Object.prototype.hasOwnProperty.call(a,r)},t.p="",t(t.s=2)}([function(e,n,t){"use strict";var a=this&&this.__extends||function(){var m=function(_,R){return m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(D,y){D.__proto__=y}||function(D,y){for(var S in y)y.hasOwnProperty(S)&&(D[S]=y[S])},m(_,R)};return function(_,R){m(_,R);function D(){this.constructor=_}_.prototype=R===null?Object.create(R):(D.prototype=R.prototype,new D)}}();Object.defineProperty(n,"__esModule",{value:!0});var r=256,o=function(){function m(_){_===void 0&&(_="="),this._paddingCharacter=_}return m.prototype.encodedLength=function(_){return this._paddingCharacter?(_+2)/3*4|0:(_*8+5)/6|0},m.prototype.encode=function(_){for(var R="",D=0;D<_.length-2;D+=3){var y=_[D]<<16|_[D+1]<<8|_[D+2];R+=this._encodeByte(y>>>3*6&63),R+=this._encodeByte(y>>>2*6&63),R+=this._encodeByte(y>>>1*6&63),R+=this._encodeByte(y>>>0*6&63)}var S=_.length-D;if(S>0){var y=_[D]<<16|(S===2?_[D+1]<<8:0);R+=this._encodeByte(y>>>3*6&63),R+=this._encodeByte(y>>>2*6&63),S===2?R+=this._encodeByte(y>>>1*6&63):R+=this._paddingCharacter||"",R+=this._paddingCharacter||""}return R},m.prototype.maxDecodedLength=function(_){return this._paddingCharacter?_/4*3|0:(_*6+7)/8|0},m.prototype.decodedLength=function(_){return this.maxDecodedLength(_.length-this._getPaddingLength(_))},m.prototype.decode=function(_){if(_.length===0)return new Uint8Array(0);for(var R=this._getPaddingLength(_),D=_.length-R,y=new Uint8Array(this.maxDecodedLength(D)),S=0,G=0,P=0,k=0,M=0,O=0,oe=0;G>>4,y[S++]=M<<4|O>>>2,y[S++]=O<<6|oe,P|=k&r,P|=M&r,P|=O&r,P|=oe&r;if(G>>4,P|=k&r,P|=M&r),G>>2,P|=O&r),G>>8&0-65-26+97,R+=51-_>>>8&26-97-52+48,R+=61-_>>>8&52-48-62+43,R+=62-_>>>8&62-43-63+47,String.fromCharCode(R)},m.prototype._decodeChar=function(_){var R=r;return R+=(42-_&_-44)>>>8&-r+_-43+62,R+=(46-_&_-48)>>>8&-r+_-47+63,R+=(47-_&_-58)>>>8&-r+_-48+52,R+=(64-_&_-91)>>>8&-r+_-65+0,R+=(96-_&_-123)>>>8&-r+_-97+26,R},m.prototype._getPaddingLength=function(_){var R=0;if(this._paddingCharacter){for(var D=_.length-1;D>=0&&_[D]===this._paddingCharacter;D--)R++;if(_.length<4||R>2)throw new Error("Base64Coder: incorrect padding")}return R},m}();n.Coder=o;var i=new o;function u(m){return i.encode(m)}n.encode=u;function l(m){return i.decode(m)}n.decode=l;var c=function(m){a(_,m);function _(){return m!==null&&m.apply(this,arguments)||this}return _.prototype._encodeByte=function(R){var D=R;return D+=65,D+=25-R>>>8&0-65-26+97,D+=51-R>>>8&26-97-52+48,D+=61-R>>>8&52-48-62+45,D+=62-R>>>8&62-45-63+95,String.fromCharCode(D)},_.prototype._decodeChar=function(R){var D=r;return D+=(44-R&R-46)>>>8&-r+R-45+62,D+=(94-R&R-96)>>>8&-r+R-95+63,D+=(47-R&R-58)>>>8&-r+R-48+52,D+=(64-R&R-91)>>>8&-r+R-65+0,D+=(96-R&R-123)>>>8&-r+R-97+26,D},_}(o);n.URLSafeCoder=c;var s=new c;function f(m){return s.encode(m)}n.encodeURLSafe=f;function v(m){return s.decode(m)}n.decodeURLSafe=v,n.encodedLength=function(m){return i.encodedLength(m)},n.maxDecodedLength=function(m){return i.maxDecodedLength(m)},n.decodedLength=function(m){return i.decodedLength(m)}},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var a="utf8: invalid string",r="utf8: invalid source encoding";function o(l){for(var c=new Uint8Array(i(l)),s=0,f=0;f>6,c[s++]=128|v&63):v<55296?(c[s++]=224|v>>12,c[s++]=128|v>>6&63,c[s++]=128|v&63):(f++,v=(v&1023)<<10,v|=l.charCodeAt(f)&1023,v+=65536,c[s++]=240|v>>18,c[s++]=128|v>>12&63,c[s++]=128|v>>6&63,c[s++]=128|v&63)}return c}n.encode=o;function i(l){for(var c=0,s=0;s=l.length-1)throw new Error(a);s++,c+=4}else throw new Error(a)}return c}n.encodedLength=i;function u(l){for(var c=[],s=0;s=l.length)throw new Error(r);var m=l[++s];if((m&192)!=128)throw new Error(r);f=(f&31)<<6|m&63,v=128}else if(f<240){if(s>=l.length-1)throw new Error(r);var m=l[++s],_=l[++s];if((m&192)!=128||(_&192)!=128)throw new Error(r);f=(f&15)<<12|(m&63)<<6|_&63,v=2048}else if(f<248){if(s>=l.length-2)throw new Error(r);var m=l[++s],_=l[++s],R=l[++s];if((m&192)!=128||(_&192)!=128||(R&192)!=128)throw new Error(r);f=(f&15)<<18|(m&63)<<12|(_&63)<<6|R&63,v=65536}else throw new Error(r);if(f=55296&&f<=57343)throw new Error(r);if(f>=65536){if(f>1114111)throw new Error(r);f-=65536,c.push(String.fromCharCode(55296|f>>10)),f=56320|f&1023}}c.push(String.fromCharCode(f))}return c.join("")}n.decode=u},function(e,n,t){e.exports=t(3).default},function(e,n,t){"use strict";t.r(n);var a=function(){function g(h,w){this.lastId=0,this.prefix=h,this.name=w}return g.prototype.create=function(h){this.lastId++;var w=this.lastId,T=this.prefix+w,A=this.name+"["+w+"]",te=!1,ke=function(){te||(h.apply(null,arguments),te=!0)};return this[w]=ke,{number:w,id:T,name:A,callback:ke}},g.prototype.remove=function(h){delete this[h.number]},g}(),r=new a("_pusher_script_","Pusher.ScriptReceivers"),o={VERSION:"6.0.3",PROTOCOL:7,wsPort:80,wssPort:443,wsPath:"",httpHost:"sockjs.pusher.com",httpPort:80,httpsPort:443,httpPath:"/pusher",stats_host:"stats.pusher.com",authEndpoint:"/pusher/auth",authTransport:"ajax",activityTimeout:12e4,pongTimeout:3e4,unavailableTimeout:1e4,cluster:"mt1",cdn_http:"http://js.pusher.com",cdn_https:"https://js.pusher.com",dependency_suffix:""},i=o,u=function(){function g(h){this.options=h,this.receivers=h.receivers||r,this.loading={}}return g.prototype.load=function(h,w,T){var A=this;if(A.loading[h]&&A.loading[h].length>0)A.loading[h].push(T);else{A.loading[h]=[T];var te=wa.createScriptRequest(A.getPath(h,w)),ke=A.receivers.create(function(xn){if(A.receivers.remove(ke),A.loading[h]){var kt=A.loading[h];delete A.loading[h];for(var tr=function(Qu){Qu||te.cleanup()},Di=0;Di>>6)+v(128|h&63):v(224|h>>>12&15)+v(128|h>>>6&63)+v(128|h&63)},S=function(g){return g.replace(/[^\x00-\x7F]/g,y)},G=function(g){var h=[0,2,1][g.length%3],w=g.charCodeAt(0)<<16|(g.length>1?g.charCodeAt(1):0)<<8|(g.length>2?g.charCodeAt(2):0),T=[m.charAt(w>>>18),m.charAt(w>>>12&63),h>=2?"=":m.charAt(w>>>6&63),h>=1?"=":m.charAt(w&63)];return T.join("")},P=window.btoa||function(g){return g.replace(/[\s\S]{1,3}/g,G)},k=function(){function g(h,w,T,A){var te=this;this.clear=w,this.timer=h(function(){te.timer&&(te.timer=A(te.timer))},T)}return g.prototype.isRunning=function(){return this.timer!==null},g.prototype.ensureAborted=function(){this.timer&&(this.clear(this.timer),this.timer=null)},g}(),M=k,O=function(){var g=function(h,w){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,A){T.__proto__=A}||function(T,A){for(var te in A)A.hasOwnProperty(te)&&(T[te]=A[te])},g(h,w)};return function(h,w){g(h,w);function T(){this.constructor=h}h.prototype=w===null?Object.create(w):(T.prototype=w.prototype,new T)}}();function oe(g){window.clearTimeout(g)}function le(g){window.clearInterval(g)}var ve=function(g){O(h,g);function h(w,T){return g.call(this,setTimeout,oe,w,function(A){return T(),null})||this}return h}(M),X=function(g){O(h,g);function h(w,T){return g.call(this,setInterval,le,w,function(A){return T(),A})||this}return h}(M),be={now:function(){return Date.now?Date.now():new Date().valueOf()},defer:function(g){return new ve(0,g)},method:function(g){for(var h=[],w=1;w0)for(var A=0;A=1002&&g.code<=1004?"backoff":null:g.code===4e3?"tls_only":g.code<4100?"refused":g.code<4200?"backoff":g.code<4300?"retry":"refused"},getCloseError:function(g){return g.code!==1e3&&g.code!==1001?{type:"PusherError",data:{code:g.code,message:g.reason||g.message}}:null}},Kd=Oz,WGe=function(){var g=function(h,w){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,A){T.__proto__=A}||function(T,A){for(var te in A)A.hasOwnProperty(te)&&(T[te]=A[te])},g(h,w)};return function(h,w){g(h,w);function T(){this.constructor=h}h.prototype=w===null?Object.create(w):(T.prototype=w.prototype,new T)}}(),qGe=function(g){WGe(h,g);function h(w,T){var A=g.call(this)||this;return A.id=w,A.transport=T,A.activityTimeout=T.activityTimeout,A.bindListeners(),A}return h.prototype.handlesActivityChecks=function(){return this.transport.handlesActivityChecks()},h.prototype.send=function(w){return this.transport.send(w)},h.prototype.send_event=function(w,T,A){var te={event:w,data:T};return A&&(te.channel=A),je.debug("Event sent",te),this.send(Kd.encodeMessage(te))},h.prototype.ping=function(){this.transport.supportsPing()?this.transport.ping():this.send_event("pusher:ping",{})},h.prototype.close=function(){this.transport.close()},h.prototype.bindListeners=function(){var w=this,T={message:function(te){var ke;try{ke=Kd.decodeMessage(te)}catch(xn){w.emit("error",{type:"MessageParseError",error:xn,data:te.data})}if(ke!==void 0){switch(je.debug("Event recd",ke),ke.event){case"pusher:error":w.emit("error",{type:"PusherError",data:ke.data});break;case"pusher:ping":w.emit("ping");break;case"pusher:pong":w.emit("pong");break}w.emit("message",ke)}},activity:function(){w.emit("activity")},error:function(te){w.emit("error",{type:"WebSocketError",error:te})},closed:function(te){A(),te&&te.code&&w.handleCloseEvent(te),w.transport=null,w.emit("closed")}},A=function(){jn(T,function(te,ke){w.transport.unbind(ke,te)})};jn(T,function(te,ke){w.transport.bind(ke,te)})},h.prototype.handleCloseEvent=function(w){var T=Kd.getCloseAction(w),A=Kd.getCloseError(w);A&&this.emit("error",A),T&&this.emit(T,{action:T,error:A})},h}(cr),zGe=qGe,$Ge=function(){function g(h,w){this.transport=h,this.callback=w,this.bindListeners()}return g.prototype.close=function(){this.unbindListeners(),this.transport.close()},g.prototype.bindListeners=function(){var h=this;this.onMessage=function(w){h.unbindListeners();var T;try{T=Kd.processHandshake(w)}catch(A){h.finish("error",{error:A}),h.transport.close();return}T.action==="connected"?h.finish("connected",{connection:new zGe(T.id,h.transport),activityTimeout:T.activityTimeout}):(h.finish(T.action,{error:T.error}),h.transport.close())},this.onClosed=function(w){h.unbindListeners();var T=Kd.getCloseAction(w)||"backoff",A=Kd.getCloseError(w);h.finish(T,{error:A})},this.transport.bind("message",this.onMessage),this.transport.bind("closed",this.onClosed)},g.prototype.unbindListeners=function(){this.transport.unbind("message",this.onMessage),this.transport.unbind("closed",this.onClosed)},g.prototype.finish=function(h,w){this.callback(De({transport:this.transport,action:h},w))},g}(),VGe=$Ge,QGe=function(){function g(h,w){this.channel=h;var T=w.authTransport;if(typeof wa.getAuthorizers()[T]=="undefined")throw"'"+T+"' is not a recognized auth transport";this.type=T,this.options=w,this.authOptions=w.auth||{}}return g.prototype.composeQuery=function(h){var w="socket_id="+encodeURIComponent(h)+"&channel_name="+encodeURIComponent(this.channel.name);for(var T in this.authOptions.params)w+="&"+encodeURIComponent(T)+"="+encodeURIComponent(this.authOptions.params[T]);return w},g.prototype.authorize=function(h,w){g.authorizers=g.authorizers||wa.getAuthorizers(),g.authorizers[this.type].call(this,wa,h,w)},g}(),YGe=QGe,XGe=function(){function g(h,w){this.timeline=h,this.options=w||{}}return g.prototype.send=function(h,w){this.timeline.isEmpty()||this.timeline.send(wa.TimelineTransport.getAgent(this,h),w)},g}(),ZGe=XGe,eh=function(){var g=function(h,w){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,A){T.__proto__=A}||function(T,A){for(var te in A)A.hasOwnProperty(te)&&(T[te]=A[te])},g(h,w)};return function(h,w){g(h,w);function T(){this.constructor=h}h.prototype=w===null?Object.create(w):(T.prototype=w.prototype,new T)}}(),KGe=function(g){eh(h,g);function h(w){var T=this.constructor,A=g.call(this,w)||this;return Object.setPrototypeOf(A,T.prototype),A}return h}(Error),e4e=function(g){eh(h,g);function h(w){var T=this.constructor,A=g.call(this,w)||this;return Object.setPrototypeOf(A,T.prototype),A}return h}(Error),n4e=function(g){eh(h,g);function h(w){var T=this.constructor,A=g.call(this,w)||this;return Object.setPrototypeOf(A,T.prototype),A}return h}(Error),t4e=function(g){eh(h,g);function h(w){var T=this.constructor,A=g.call(this,w)||this;return Object.setPrototypeOf(A,T.prototype),A}return h}(Error),Uz=function(g){eh(h,g);function h(w){var T=this.constructor,A=g.call(this,w)||this;return Object.setPrototypeOf(A,T.prototype),A}return h}(Error),a4e=function(g){eh(h,g);function h(w){var T=this.constructor,A=g.call(this,w)||this;return Object.setPrototypeOf(A,T.prototype),A}return h}(Error),Hz=function(g){eh(h,g);function h(w){var T=this.constructor,A=g.call(this,w)||this;return Object.setPrototypeOf(A,T.prototype),A}return h}(Error),r4e=function(){var g=function(h,w){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,A){T.__proto__=A}||function(T,A){for(var te in A)A.hasOwnProperty(te)&&(T[te]=A[te])},g(h,w)};return function(h,w){g(h,w);function T(){this.constructor=h}h.prototype=w===null?Object.create(w):(T.prototype=w.prototype,new T)}}(),o4e=function(g){r4e(h,g);function h(w,T){var A=g.call(this,function(te,ke){je.debug("No callbacks on "+w+" for "+te)})||this;return A.name=w,A.pusher=T,A.subscribed=!1,A.subscriptionPending=!1,A.subscriptionCancelled=!1,A}return h.prototype.authorize=function(w,T){return T(!1,{auth:""})},h.prototype.trigger=function(w,T){if(w.indexOf("client-")!==0)throw new KGe("Event '"+w+"' does not start with 'client-'");if(!this.subscribed){var A=et.buildLogSuffix("triggeringClientEvents");je.warn("Client event triggered before channel 'subscription_succeeded' event . "+A)}return this.pusher.send_event(w,T,this.name)},h.prototype.disconnect=function(){this.subscribed=!1,this.subscriptionPending=!1},h.prototype.handleEvent=function(w){var T=w.event,A=w.data;if(T==="pusher_internal:subscription_succeeded")this.handleSubscriptionSucceededEvent(w);else if(T.indexOf("pusher_internal:")!==0){var te={};this.emit(T,A,te)}},h.prototype.handleSubscriptionSucceededEvent=function(w){this.subscriptionPending=!1,this.subscribed=!0,this.subscriptionCancelled?this.pusher.unsubscribe(this.name):this.emit("pusher:subscription_succeeded",w.data)},h.prototype.subscribe=function(){var w=this;this.subscribed||(this.subscriptionPending=!0,this.subscriptionCancelled=!1,this.authorize(this.pusher.connection.socket_id,function(T,A){T?(je.error(A),w.emit("pusher:subscription_error",A)):(A=A,w.pusher.send_event("pusher:subscribe",{auth:A.auth,channel_data:A.channel_data,channel:w.name}))}))},h.prototype.unsubscribe=function(){this.subscribed=!1,this.pusher.send_event("pusher:unsubscribe",{channel:this.name})},h.prototype.cancelSubscription=function(){this.subscriptionCancelled=!0},h.prototype.reinstateSubscription=function(){this.subscriptionCancelled=!1},h}(cr),Bz=o4e,i4e=function(){var g=function(h,w){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,A){T.__proto__=A}||function(T,A){for(var te in A)A.hasOwnProperty(te)&&(T[te]=A[te])},g(h,w)};return function(h,w){g(h,w);function T(){this.constructor=h}h.prototype=w===null?Object.create(w):(T.prototype=w.prototype,new T)}}(),u4e=function(g){i4e(h,g);function h(){return g!==null&&g.apply(this,arguments)||this}return h.prototype.authorize=function(w,T){var A=Av.createAuthorizer(this,this.pusher.config);return A.authorize(w,T)},h}(Bz),s6=u4e,l4e=function(){function g(){this.reset()}return g.prototype.get=function(h){return Object.prototype.hasOwnProperty.call(this.members,h)?{id:h,info:this.members[h]}:null},g.prototype.each=function(h){var w=this;jn(this.members,function(T,A){h(w.get(A))})},g.prototype.setMyID=function(h){this.myID=h},g.prototype.onSubscription=function(h){this.members=h.presence.hash,this.count=h.presence.count,this.me=this.get(this.myID)},g.prototype.addMember=function(h){return this.get(h.user_id)===null&&this.count++,this.members[h.user_id]=h.user_info,this.get(h.user_id)},g.prototype.removeMember=function(h){var w=this.get(h.user_id);return w&&(delete this.members[h.user_id],this.count--),w},g.prototype.reset=function(){this.members={},this.count=0,this.myID=null,this.me=null},g}(),c4e=l4e,s4e=function(){var g=function(h,w){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,A){T.__proto__=A}||function(T,A){for(var te in A)A.hasOwnProperty(te)&&(T[te]=A[te])},g(h,w)};return function(h,w){g(h,w);function T(){this.constructor=h}h.prototype=w===null?Object.create(w):(T.prototype=w.prototype,new T)}}(),f4e=function(g){s4e(h,g);function h(w,T){var A=g.call(this,w,T)||this;return A.members=new c4e,A}return h.prototype.authorize=function(w,T){var A=this;g.prototype.authorize.call(this,w,function(te,ke){if(!te){if(ke=ke,ke.channel_data===void 0){var xn=et.buildLogSuffix("authenticationEndpoint");je.error("Invalid auth response for channel '"+A.name+"',"+("expected 'channel_data' field. "+xn)),T("Invalid auth response");return}var kt=JSON.parse(ke.channel_data);A.members.setMyID(kt.user_id)}T(te,ke)})},h.prototype.handleEvent=function(w){var T=w.event;if(T.indexOf("pusher_internal:")===0)this.handleInternalEvent(w);else{var A=w.data,te={};w.user_id&&(te.user_id=w.user_id),this.emit(T,A,te)}},h.prototype.handleInternalEvent=function(w){var T=w.event,A=w.data;switch(T){case"pusher_internal:subscription_succeeded":this.handleSubscriptionSucceededEvent(w);break;case"pusher_internal:member_added":var te=this.members.addMember(A);this.emit("pusher:member_added",te);break;case"pusher_internal:member_removed":var ke=this.members.removeMember(A);ke&&this.emit("pusher:member_removed",ke);break}},h.prototype.handleSubscriptionSucceededEvent=function(w){this.subscriptionPending=!1,this.subscribed=!0,this.subscriptionCancelled?this.pusher.unsubscribe(this.name):(this.members.onSubscription(w.data),this.emit("pusher:subscription_succeeded",this.members))},h.prototype.disconnect=function(){this.members.reset(),g.prototype.disconnect.call(this)},h}(s6),v4e=f4e,Jz=t(1),f6=t(0),m4e=function(){var g=function(h,w){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,A){T.__proto__=A}||function(T,A){for(var te in A)A.hasOwnProperty(te)&&(T[te]=A[te])},g(h,w)};return function(h,w){g(h,w);function T(){this.constructor=h}h.prototype=w===null?Object.create(w):(T.prototype=w.prototype,new T)}}(),p4e=function(g){m4e(h,g);function h(w,T,A){var te=g.call(this,w,T)||this;return te.key=null,te.nacl=A,te}return h.prototype.authorize=function(w,T){var A=this;g.prototype.authorize.call(this,w,function(te,ke){if(te){T(!0,ke);return}var xn=ke.shared_secret;if(!xn){var kt="No shared_secret key in auth payload for encrypted channel: "+A.name;T(!0,kt);return}A.key=Object(f6.decode)(xn),delete ke.shared_secret,T(!1,ke)})},h.prototype.trigger=function(w,T){throw new Uz("Client events are not currently supported for encrypted channels")},h.prototype.handleEvent=function(w){var T=w.event,A=w.data;if(T.indexOf("pusher_internal:")===0||T.indexOf("pusher:")===0){g.prototype.handleEvent.call(this,w);return}this.handleEncryptedEvent(T,A)},h.prototype.handleEncryptedEvent=function(w,T){var A=this;if(!this.key){je.debug("Received encrypted event before key has been retrieved from the authEndpoint");return}if(!T.ciphertext||!T.nonce){je.error("Unexpected format for encrypted event, expected object with `ciphertext` and `nonce` fields, got: "+T);return}var te=Object(f6.decode)(T.ciphertext);if(te.length0&&this.emit("connecting_in",Math.round(w/1e3)),this.retryTimer=new ve(w||0,function(){T.disconnectInternally(),T.connect()})},h.prototype.clearRetryTimer=function(){this.retryTimer&&(this.retryTimer.ensureAborted(),this.retryTimer=null)},h.prototype.setUnavailableTimer=function(){var w=this;this.unavailableTimer=new ve(this.options.unavailableTimeout,function(){w.updateState("unavailable")})},h.prototype.clearUnavailableTimer=function(){this.unavailableTimer&&this.unavailableTimer.ensureAborted()},h.prototype.sendActivityCheck=function(){var w=this;this.stopActivityCheck(),this.connection.ping(),this.activityTimer=new ve(this.options.pongTimeout,function(){w.timeline.error({pong_timed_out:w.options.pongTimeout}),w.retryIn(0)})},h.prototype.resetActivityCheck=function(){var w=this;this.stopActivityCheck(),this.connection&&!this.connection.handlesActivityChecks()&&(this.activityTimer=new ve(this.activityTimeout,function(){w.sendActivityCheck()}))},h.prototype.stopActivityCheck=function(){this.activityTimer&&this.activityTimer.ensureAborted()},h.prototype.buildConnectionCallbacks=function(w){var T=this;return De({},w,{message:function(A){T.resetActivityCheck(),T.emit("message",A)},ping:function(){T.send_event("pusher:pong",{})},activity:function(){T.resetActivityCheck()},error:function(A){T.emit("error",{type:"WebSocketError",error:A})},closed:function(){T.abandonConnection(),T.shouldRetry()&&T.retryIn(1e3)}})},h.prototype.buildHandshakeCallbacks=function(w){var T=this;return De({},w,{connected:function(A){T.activityTimeout=Math.min(T.options.activityTimeout,A.activityTimeout,A.connection.activityTimeout||1/0),T.clearUnavailableTimer(),T.setConnection(A.connection),T.socket_id=T.connection.id,T.updateState("connected",{socket_id:T.socket_id})}})},h.prototype.buildErrorCallbacks=function(){var w=this,T=function(A){return function(te){te.error&&w.emit("error",{type:"WebSocketError",error:te.error}),A(te)}};return{tls_only:T(function(){w.usingTLS=!0,w.updateStrategy(),w.retryIn(0)}),refused:T(function(){w.disconnect()}),backoff:T(function(){w.retryIn(1e3)}),retry:T(function(){w.retryIn(0)})}},h.prototype.setConnection=function(w){this.connection=w;for(var T in this.connectionCallbacks)this.connection.bind(T,this.connectionCallbacks[T]);this.resetActivityCheck()},h.prototype.abandonConnection=function(){if(!!this.connection){this.stopActivityCheck();for(var w in this.connectionCallbacks)this.connection.unbind(w,this.connectionCallbacks[w]);var T=this.connection;return this.connection=null,T}},h.prototype.updateState=function(w,T){var A=this.state;if(this.state=w,A!==w){var te=w;te==="connected"&&(te+=" with new socket ID "+T.socket_id),je.debug("State changed",A+" -> "+te),this.timeline.info({state:w,params:T}),this.emit("state_change",{previous:A,current:w}),this.emit(w,T)}},h.prototype.shouldRetry=function(){return this.state==="connecting"||this.state==="connected"},h}(cr),g4e=h4e,D4e=function(){function g(){this.channels={}}return g.prototype.add=function(h,w){return this.channels[h]||(this.channels[h]=b4e(h,w)),this.channels[h]},g.prototype.all=function(){return Pn(this.channels)},g.prototype.find=function(h){return this.channels[h]},g.prototype.remove=function(h){var w=this.channels[h];return delete this.channels[h],w},g.prototype.disconnect=function(){jn(this.channels,function(h){h.disconnect()})},g}(),y4e=D4e;function b4e(g,h){if(g.indexOf("private-encrypted-")===0){if(h.config.nacl)return Av.createEncryptedChannel(g,h,h.config.nacl);var w="Tried to subscribe to a private-encrypted- channel but no nacl implementation available",T=et.buildLogSuffix("encryptedChannelSupport");throw new Uz(w+". "+T)}else return g.indexOf("private-")===0?Av.createPrivateChannel(g,h):g.indexOf("presence-")===0?Av.createPresenceChannel(g,h):Av.createChannel(g,h)}var R4e={createChannels:function(){return new y4e},createConnectionManager:function(g,h){return new g4e(g,h)},createChannel:function(g,h){return new Bz(g,h)},createPrivateChannel:function(g,h){return new s6(g,h)},createPresenceChannel:function(g,h){return new v4e(g,h)},createEncryptedChannel:function(g,h,w){return new _4e(g,h,w)},createTimelineSender:function(g,h){return new ZGe(g,h)},createAuthorizer:function(g,h){return h.authorizer?h.authorizer(g,h):new YGe(g,h)},createHandshake:function(g,h){return new VGe(g,h)},createAssistantToTheTransportManager:function(g,h,w){return new JGe(g,h,w)}},Av=R4e,w4e=function(){function g(h){this.options=h||{},this.livesLeft=this.options.lives||1/0}return g.prototype.getAssistant=function(h){return Av.createAssistantToTheTransportManager(this,h,{minPingDelay:this.options.minPingDelay,maxPingDelay:this.options.maxPingDelay})},g.prototype.isAlive=function(){return this.livesLeft>0},g.prototype.reportDeath=function(){this.livesLeft-=1},g}(),Wz=w4e,S4e=function(){function g(h,w){this.strategies=h,this.loop=Boolean(w.loop),this.failFast=Boolean(w.failFast),this.timeout=w.timeout,this.timeoutLimit=w.timeoutLimit}return g.prototype.isSupported=function(){return U(this.strategies,pe.method("isSupported"))},g.prototype.connect=function(h,w){var T=this,A=this.strategies,te=0,ke=this.timeout,xn=null,kt=function(tr,Di){Di?w(null,Di):(te=te+1,T.loop&&(te=te%A.length),te0&&(te=new ve(T.timeout,function(){ke.abort(),A(!0)})),ke=h.connect(w,function(xn,kt){xn&&te&&te.isRunning()&&!T.failFast||(te&&te.ensureAborted(),A(xn,kt))}),{abort:function(){te&&te.ensureAborted(),ke.abort()},forceMinPriority:function(xn){ke.forceMinPriority(xn)}}},g}(),nh=S4e,E4e=function(){function g(h){this.strategies=h}return g.prototype.isSupported=function(){return U(this.strategies,pe.method("isSupported"))},g.prototype.connect=function(h,w){return C4e(this.strategies,h,function(T,A){return function(te,ke){if(A[T].error=te,te){I4e(A)&&w(!0);return}kn(A,function(xn){xn.forceMinPriority(ke.transport.priority)}),w(null,ke)}})},g}(),v6=E4e;function C4e(g,h,w){var T=q(g,function(A,te,ke,xn){return A.connect(h,w(te,xn))});return{abort:function(){kn(T,T4e)},forceMinPriority:function(A){kn(T,function(te){te.forceMinPriority(A)})}}}function I4e(g){return de(g,function(h){return Boolean(h.error)})}function T4e(g){!g.error&&!g.aborted&&(g.abort(),g.aborted=!0)}var F4e=function(){function g(h,w,T){this.strategy=h,this.transports=w,this.ttl=T.ttl||1800*1e3,this.usingTLS=T.useTLS,this.timeline=T.timeline}return g.prototype.isSupported=function(){return this.strategy.isSupported()},g.prototype.connect=function(h,w){var T=this.usingTLS,A=G4e(T),te=[this.strategy];if(A&&A.timestamp+this.ttl>=pe.now()){var ke=this.transports[A.transport];ke&&(this.timeline.info({cached:!0,transport:A.transport,latency:A.latency}),te.push(new nh([ke],{timeout:A.latency*2+1e3,failFast:!0})))}var xn=pe.now(),kt=te.pop().connect(h,function tr(Di,Qu){Di?(qz(T),te.length>0?(xn=pe.now(),kt=te.pop().connect(h,tr)):w(Di)):(A4e(T,Qu.transport.name,pe.now()-xn),w(null,Qu))});return{abort:function(){kt.abort()},forceMinPriority:function(tr){h=tr,kt&&kt.forceMinPriority(tr)}}},g}(),M4e=F4e;function m6(g){return"pusherTransport"+(g?"TLS":"NonTLS")}function G4e(g){var h=wa.getLocalStorage();if(h)try{var w=h[m6(g)];if(w)return JSON.parse(w)}catch{qz(g)}return null}function A4e(g,h,w){var T=wa.getLocalStorage();if(T)try{T[m6(g)]=He({timestamp:pe.now(),transport:h,latency:w})}catch{}}function qz(g){var h=wa.getLocalStorage();if(h)try{delete h[m6(g)]}catch{}}var x4e=function(){function g(h,w){var T=w.delay;this.strategy=h,this.options={delay:T}}return g.prototype.isSupported=function(){return this.strategy.isSupported()},g.prototype.connect=function(h,w){var T=this.strategy,A,te=new ve(this.options.delay,function(){A=T.connect(h,w)});return{abort:function(){te.ensureAborted(),A&&A.abort()},forceMinPriority:function(ke){h=ke,A&&A.forceMinPriority(ke)}}},g}(),VT=x4e,L4e=function(){function g(h,w,T){this.test=h,this.trueBranch=w,this.falseBranch=T}return g.prototype.isSupported=function(){var h=this.test()?this.trueBranch:this.falseBranch;return h.isSupported()},g.prototype.connect=function(h,w){var T=this.test()?this.trueBranch:this.falseBranch;return T.connect(h,w)},g}(),qR=L4e,j4e=function(){function g(h){this.strategy=h}return g.prototype.isSupported=function(){return this.strategy.isSupported()},g.prototype.connect=function(h,w){var T=this.strategy.connect(h,function(A,te){te&&T.abort(),w(A,te)});return T},g}(),N4e=j4e;function zR(g){return function(){return g.isSupported()}}var P4e=function(g,h,w){var T={};function A(r$,C3e,I3e,T3e,F3e){var o$=w(g,r$,C3e,I3e,T3e,F3e);return T[r$]=o$,o$}var te=Object.assign({},h,{hostNonTLS:g.wsHost+":"+g.wsPort,hostTLS:g.wsHost+":"+g.wssPort,httpPath:g.wsPath}),ke=Object.assign({},te,{useTLS:!0}),xn=Object.assign({},h,{hostNonTLS:g.httpHost+":"+g.httpPort,hostTLS:g.httpHost+":"+g.httpsPort,httpPath:g.httpPath}),kt={loop:!0,timeout:15e3,timeoutLimit:6e4},tr=new Wz({lives:2,minPingDelay:1e4,maxPingDelay:g.activityTimeout}),Di=new Wz({lives:2,minPingDelay:1e4,maxPingDelay:g.activityTimeout}),Qu=A("ws","ws",3,te,tr),xv=A("wss","ws",3,ke,tr),b3e=A("sockjs","sockjs",1,xn),Zz=A("xhr_streaming","xhr_streaming",1,xn,Di),R3e=A("xdr_streaming","xdr_streaming",1,xn,Di),Kz=A("xhr_polling","xhr_polling",1,xn),w3e=A("xdr_polling","xdr_polling",1,xn),e$=new nh([Qu],kt),S3e=new nh([xv],kt),E3e=new nh([b3e],kt),n$=new nh([new qR(zR(Zz),Zz,R3e)],kt),t$=new nh([new qR(zR(Kz),Kz,w3e)],kt),a$=new nh([new qR(zR(n$),new v6([n$,new VT(t$,{delay:4e3})]),t$)],kt),h6=new qR(zR(a$),a$,E3e),g6;return h.useTLS?g6=new v6([e$,new VT(h6,{delay:2e3})]):g6=new v6([e$,new VT(S3e,{delay:2e3}),new VT(h6,{delay:5e3})]),new M4e(new N4e(new qR(zR(Qu),g6,h6)),T,{ttl:18e5,timeline:h.timeline,useTLS:h.useTLS})},k4e=P4e,O4e=function(){var g=this;g.timeline.info(g.buildTimelineMessage({transport:g.name+(g.options.useTLS?"s":"")})),g.hooks.isInitialized()?g.changeState("initialized"):g.hooks.file?(g.changeState("initializing"),s.load(g.hooks.file,{useTLS:g.options.useTLS},function(h,w){g.hooks.isInitialized()?(g.changeState("initialized"),w(!0)):(h&&g.onError(h),g.onClose(),w(!1))})):g.onClose()},U4e={getRequest:function(g){var h=new window.XDomainRequest;return h.ontimeout=function(){g.emit("error",new e4e),g.close()},h.onerror=function(w){g.emit("error",w),g.close()},h.onprogress=function(){h.responseText&&h.responseText.length>0&&g.onChunk(200,h.responseText)},h.onload=function(){h.responseText&&h.responseText.length>0&&g.onChunk(200,h.responseText),g.emit("finished",200),g.close()},h},abortRequest:function(g){g.ontimeout=g.onerror=g.onprogress=g.onload=null,g.abort()}},H4e=U4e,B4e=function(){var g=function(h,w){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,A){T.__proto__=A}||function(T,A){for(var te in A)A.hasOwnProperty(te)&&(T[te]=A[te])},g(h,w)};return function(h,w){g(h,w);function T(){this.constructor=h}h.prototype=w===null?Object.create(w):(T.prototype=w.prototype,new T)}}(),J4e=256*1024,W4e=function(g){B4e(h,g);function h(w,T,A){var te=g.call(this)||this;return te.hooks=w,te.method=T,te.url=A,te}return h.prototype.start=function(w){var T=this;this.position=0,this.xhr=this.hooks.getRequest(this),this.unloader=function(){T.close()},wa.addUnloadListener(this.unloader),this.xhr.open(this.method,this.url,!0),this.xhr.setRequestHeader&&this.xhr.setRequestHeader("Content-Type","application/json"),this.xhr.send(w)},h.prototype.close=function(){this.unloader&&(wa.removeUnloadListener(this.unloader),this.unloader=null),this.xhr&&(this.hooks.abortRequest(this.xhr),this.xhr=null)},h.prototype.onChunk=function(w,T){for(;;){var A=this.advanceBuffer(T);if(A)this.emit("chunk",{status:w,data:A});else break}this.isBufferTooLong(T)&&this.emit("buffer_too_long")},h.prototype.advanceBuffer=function(w){var T=w.slice(this.position),A=T.indexOf(` `);return A!==-1?(this.position+=A+1,T.slice(0,A)):null},h.prototype.isBufferTooLong=function(w){return this.position===w.length&&w.length>J4e},h}(cr),q4e=W4e,p6;(function(g){g[g.CONNECTING=0]="CONNECTING",g[g.OPEN=1]="OPEN",g[g.CLOSED=3]="CLOSED"})(p6||(p6={}));var th=p6,z4e=1,$4e=function(){function g(h,w){this.hooks=h,this.session=$z(1e3)+"/"+X4e(8),this.location=V4e(w),this.readyState=th.CONNECTING,this.openStream()}return g.prototype.send=function(h){return this.sendRaw(JSON.stringify([h]))},g.prototype.ping=function(){this.hooks.sendHeartbeat(this)},g.prototype.close=function(h,w){this.onClose(h,w,!0)},g.prototype.sendRaw=function(h){if(this.readyState===th.OPEN)try{return wa.createSocketRequest("POST",zz(Q4e(this.location,this.session))).start(h),!0}catch{return!1}else return!1},g.prototype.reconnect=function(){this.closeStream(),this.openStream()},g.prototype.onClose=function(h,w,T){this.closeStream(),this.readyState=th.CLOSED,this.onclose&&this.onclose({code:h,reason:w,wasClean:T})},g.prototype.onChunk=function(h){if(h.status===200){this.readyState===th.OPEN&&this.onActivity();var w,T=h.data.slice(0,1);switch(T){case"o":w=JSON.parse(h.data.slice(1)||"{}"),this.onOpen(w);break;case"a":w=JSON.parse(h.data.slice(1)||"[]");for(var A=0;A0&&g.onChunk(w.status,w.responseText);break;case 4:w.responseText&&w.responseText.length>0&&g.onChunk(w.status,w.responseText),g.emit("finished",w.status),g.close();break}},w},abortRequest:function(g){g.onreadystatechange=null,g.abort()}},r3e=a3e,o3e={createStreamingSocket:function(g){return this.createSocket(e3e,g)},createPollingSocket:function(g){return this.createSocket(t3e,g)},createSocket:function(g,h){return new Z4e(g,h)},createXHR:function(g,h){return this.createRequest(r3e,g,h)},createRequest:function(g,h,w){return new q4e(g,h,w)}},Vz=o3e;Vz.createXDR=function(g,h){return this.createRequest(H4e,g,h)};var i3e=Vz,u3e={nextAuthCallbackID:1,auth_callbacks:{},ScriptReceivers:r,DependenciesReceivers:c,getDefaultStrategy:k4e,Transports:kGe,transportConnectionInitializer:O4e,HTTPFactory:i3e,TimelineTransport:Ie,getXHRAPI:function(){return window.XMLHttpRequest},getWebSocketAPI:function(){return window.WebSocket||window.MozWebSocket},setup:function(g){var h=this;window.Pusher=g;var w=function(){h.onDocumentBody(g.ready)};window.JSON?w():s.load("json2",{},w)},getDocument:function(){return document},getProtocol:function(){return this.getDocument().location.protocol},getAuthorizers:function(){return{ajax:nt,jsonp:Fn}},onDocumentBody:function(g){var h=this;document.body?g():setTimeout(function(){h.onDocumentBody(g)},0)},createJSONPRequest:function(g,h){return new sn(g,h)},createScriptRequest:function(g){return new rt(g)},getLocalStorage:function(){try{return window.localStorage}catch{return}},createXHR:function(){return this.getXHRAPI()?this.createXMLHttpRequest():this.createMicrosoftXHR()},createXMLHttpRequest:function(){var g=this.getXHRAPI();return new g},createMicrosoftXHR:function(){return new ActiveXObject("Microsoft.XMLHTTP")},getNetwork:function(){return HGe},createWebSocket:function(g){var h=this.getWebSocketAPI();return new h(g)},createSocketRequest:function(g,h){if(this.isXHRSupported())return this.HTTPFactory.createXHR(g,h);if(this.isXDRSupported(h.indexOf("https:")===0))return this.HTTPFactory.createXDR(g,h);throw"Cross-origin HTTP requests are not supported"},isXHRSupported:function(){var g=this.getXHRAPI();return Boolean(g)&&new g().withCredentials!==void 0},isXDRSupported:function(g){var h=g?"https:":"http:",w=this.getProtocol();return Boolean(window.XDomainRequest)&&w===h},addUnloadListener:function(g){window.addEventListener!==void 0?window.addEventListener("unload",g,!1):window.attachEvent!==void 0&&window.attachEvent("onunload",g)},removeUnloadListener:function(g){window.addEventListener!==void 0?window.removeEventListener("unload",g,!1):window.detachEvent!==void 0&&window.detachEvent("onunload",g)}},wa=u3e,_6;(function(g){g[g.ERROR=3]="ERROR",g[g.INFO=6]="INFO",g[g.DEBUG=7]="DEBUG"})(_6||(_6={}));var QT=_6,l3e=function(){function g(h,w,T){this.key=h,this.session=w,this.events=[],this.options=T||{},this.sent=0,this.uniqueID=0}return g.prototype.log=function(h,w){h<=this.options.level&&(this.events.push(De({},w,{timestamp:pe.now()})),this.options.limit&&this.events.length>this.options.limit&&this.events.shift())},g.prototype.error=function(h){this.log(QT.ERROR,h)},g.prototype.info=function(h){this.log(QT.INFO,h)},g.prototype.debug=function(h){this.log(QT.DEBUG,h)},g.prototype.isEmpty=function(){return this.events.length===0},g.prototype.send=function(h,w){var T=this,A=De({session:this.session,bundle:this.sent+1,key:this.key,lib:"js",version:this.options.version,cluster:this.options.cluster,features:this.options.features,timeline:this.events},this.options.params);return this.events=[],h(A,function(te,ke){te||T.sent++,w&&w(te,ke)}),!0},g.prototype.generateUniqueID=function(){return this.uniqueID++,this.uniqueID},g}(),c3e=l3e,s3e=function(){function g(h,w,T,A){this.name=h,this.priority=w,this.transport=T,this.options=A||{}}return g.prototype.isSupported=function(){return this.transport.isSupported({useTLS:this.options.useTLS})},g.prototype.connect=function(h,w){var T=this;if(this.isSupported()){if(this.priority{PCe.exports=function(n){return n!=null&&n.constructor!=null&&typeof n.constructor.isBuffer=="function"&&n.constructor.isBuffer(n)}});var ZCe=Pe((h_r,XCe)=>{"use strict";var M7=Object.prototype.hasOwnProperty,WCe=Object.prototype.toString,qCe=Object.defineProperty,zCe=Object.getOwnPropertyDescriptor,$Ce=function(n){return typeof Array.isArray=="function"?Array.isArray(n):WCe.call(n)==="[object Array]"},VCe=function(n){if(!n||WCe.call(n)!=="[object Object]")return!1;var t=M7.call(n,"constructor"),a=n.constructor&&n.constructor.prototype&&M7.call(n.constructor.prototype,"isPrototypeOf");if(n.constructor&&!t&&!a)return!1;var r;for(r in n);return typeof r=="undefined"||M7.call(n,r)},QCe=function(n,t){qCe&&t.name==="__proto__"?qCe(n,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):n[t.name]=t.newValue},YCe=function(n,t){if(t==="__proto__")if(M7.call(n,t)){if(zCe)return zCe(n,t).value}else return;return n[t]};XCe.exports=function e(){var n,t,a,r,o,i,u=arguments[0],l=1,c=arguments.length,s=!1;for(typeof u=="boolean"&&(s=u,u=arguments[1]||{},l=2),(u==null||typeof u!="object"&&typeof u!="function")&&(u={});l{"use strict";var wW=Symbol.for("react.element"),SW=Symbol.for("react.portal"),t5=Symbol.for("react.fragment"),a5=Symbol.for("react.strict_mode"),r5=Symbol.for("react.profiler"),o5=Symbol.for("react.provider"),i5=Symbol.for("react.context"),obn=Symbol.for("react.server_context"),u5=Symbol.for("react.forward_ref"),l5=Symbol.for("react.suspense"),c5=Symbol.for("react.suspense_list"),s5=Symbol.for("react.memo"),f5=Symbol.for("react.lazy"),ibn=Symbol.for("react.offscreen"),gTe;gTe=Symbol.for("react.module.reference");function rf(e){if(typeof e=="object"&&e!==null){var n=e.$$typeof;switch(n){case wW:switch(e=e.type,e){case t5:case r5:case a5:case l5:case c5:return e;default:switch(e=e&&e.$$typeof,e){case obn:case i5:case u5:case f5:case s5:case o5:return e;default:return n}}case SW:return n}}}hr.ContextConsumer=i5;hr.ContextProvider=o5;hr.Element=wW;hr.ForwardRef=u5;hr.Fragment=t5;hr.Lazy=f5;hr.Memo=s5;hr.Portal=SW;hr.Profiler=r5;hr.StrictMode=a5;hr.Suspense=l5;hr.SuspenseList=c5;hr.isAsyncMode=function(){return!1};hr.isConcurrentMode=function(){return!1};hr.isContextConsumer=function(e){return rf(e)===i5};hr.isContextProvider=function(e){return rf(e)===o5};hr.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===wW};hr.isForwardRef=function(e){return rf(e)===u5};hr.isFragment=function(e){return rf(e)===t5};hr.isLazy=function(e){return rf(e)===f5};hr.isMemo=function(e){return rf(e)===s5};hr.isPortal=function(e){return rf(e)===SW};hr.isProfiler=function(e){return rf(e)===r5};hr.isStrictMode=function(e){return rf(e)===a5};hr.isSuspense=function(e){return rf(e)===l5};hr.isSuspenseList=function(e){return rf(e)===c5};hr.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===t5||e===r5||e===a5||e===l5||e===c5||e===ibn||typeof e=="object"&&e!==null&&(e.$$typeof===f5||e.$$typeof===s5||e.$$typeof===o5||e.$$typeof===i5||e.$$typeof===u5||e.$$typeof===gTe||e.getModuleId!==void 0)};hr.typeOf=rf});var bTe=Pe((Myr,yTe)=>{"use strict";yTe.exports=DTe()});var MTe=Pe((Lyr,FTe)=>{var ETe=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,ubn=/\n/g,lbn=/^\s*/,cbn=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,sbn=/^:\s*/,fbn=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,vbn=/^[;\s]*/,mbn=/^\s+|\s+$/g,pbn=` `,CTe="/",ITe="*",ID="",_bn="comment",dbn="declaration";FTe.exports=function(e,n){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];n=n||{};var t=1,a=1;function r(R){var D=R.match(ubn);D&&(t+=D.length);var y=R.lastIndexOf(pbn);a=~y?R.length-y:a+R.length}function o(){var R={line:t,column:a};return function(D){return D.position=new i(R),s(),D}}function i(R){this.start=R,this.end={line:t,column:a},this.source=n.source}i.prototype.content=e;var u=[];function l(R){var D=new Error(n.source+":"+t+":"+a+": "+R);if(D.reason=R,D.filename=n.source,D.line=t,D.column=a,D.source=e,n.silent)u.push(D);else throw D}function c(R){var D=R.exec(e);if(!!D){var y=D[0];return r(y),e=e.slice(y.length),D}}function s(){c(lbn)}function f(R){var D;for(R=R||[];D=v();)D!==!1&&R.push(D);return R}function v(){var R=o();if(!(CTe!=e.charAt(0)||ITe!=e.charAt(1))){for(var D=2;ID!=e.charAt(D)&&(ITe!=e.charAt(D)||CTe!=e.charAt(D+1));)++D;if(D+=2,ID===e.charAt(D-1))return l("End of comment missing");var y=e.slice(2,D-2);return a+=2,r(y),e=e.slice(D),a+=2,R({type:_bn,comment:y})}}function m(){var R=o(),D=c(cbn);if(!!D){if(v(),!c(sbn))return l("property missing ':'");var y=c(fbn),S=R({type:dbn,property:TTe(D[0].replace(ETe,ID)),value:y?TTe(y[0].replace(ETe,ID)):ID});return c(vbn),S}}function _(){var R=[];f(R);for(var D;D=m();)D!==!1&&(R.push(D),f(R));return R}return s(),_()};function TTe(e){return e?e.replace(mbn,ID):ID}});var ATe=Pe((jyr,IW)=>{var hbn=MTe();function GTe(e,n){var t=null;if(!e||typeof e!="string")return t;for(var a,r=hbn(e),o=typeof n=="function",i,u,l=0,c=r.length;lWCn});var s$=typeof Array.prototype.flatMap=="function"?function(e){return function(n){return e.flatMap(n)}}:function(e){return function(n){for(var t=[],a=e.length,r=0;r="0"&&e[r]<="9"?"\\&":"";return"\\"+t.charCodeAt(0).toString(10)+o})+'"'},z$=function(e){return function(n){for(var t=[],a=0,r=n.length;a0?Math.floor(e/n):-Math.floor(e/-n)}},fV=function(e){return function(n){if(n===0)return 0;var t=Math.abs(n);return(e%t+t)%t}};var T6={Ring0:function(){return Pv}};var El=function(e){return e.mod};var $a={degree:cV,div:sV,mod:fV,CommutativeRing0:function(){return T6}},gr=function(e){return e.div};var F6={mempty:Ce,Semigroup0:function(){return nw}},ft={mempty:"",Semigroup0:function(){return nm}};var Ov={mempty:[],Semigroup0:function(){return ca}};var Da=function(e){return e.mempty};var M6=function(e){return function(){return e}},mV=function(e){return function(n){return function(){return n(e())()}}};var G6=function(e){return function(n){return function(){for(var t=0,a=e.length;tn?-1:1,a=new Array(t*(n-e)+1),r=e,o=0;r!==n;)a[o++]=r,r+=t;return a[o]=r,a},oAe=function(e,n){if(e<1)return[];var t=new Array(e);return t.fill(n)},iAe=function(e,n){for(var t=[],a=0,r=0;r=t.length?n:e(t[a])};var IV=function(e,n,t,a){for(var r=0,o=a.length;r=a.length)return n;var r=a.slice();return r.splice(t,1),e(r)},FV=function(e,n,t,a,r){if(t<0||t>=r.length)return n;var o=r.slice();return o[t]=a,e(o)},fw=function(e){return e.slice().reverse()},JD=function(e){if(e.length<=1e4)return Array.prototype.concat.apply([],e);for(var n=[],t=0,a=e.length;t>1),u-o>1&&e(n,t,r,a,o,u),i-u>1&&e(n,t,r,a,u,i),l=o,c=u,s=o;l0?(a[s++]=v,++c):(a[s++]=f,++l);for(;l>1),u-o>1&&e(n,t,r,a,o,u),i-u>1&&e(n,t,r,a,u,i),l=o,c=u,s=o;l0?(a[s++]=v,++c):(a[s++]=f,++l);for(;l=0;o--)a=e(t[o])(a);return a}}},KV=function(e){return function(n){return function(t){for(var a=n,r=t.length,o=0;o=0;a--)t=e(n[a])(t);return t},BQ=function(e,n){for(var t=n[0],a=n.length,r=1;r0)return new d(Aw(e));if(xe)return C.value;throw new Error("Failed pattern match at Data.Array.NonEmpty (line 161, column 1 - line 161, column 58): "+[e.constructor.name])};var o1=function(e){return function(n){return Aw(Ci(e)(n))}};var YQ=function(e){return function(n){return qxe(e(sc(n)))}},Hp=YQ(Ei);var XQ=YQ(a8),ZQ=function(e){return function(n){return e(sc(n))}};var xw=ZQ(uu);var KQ=function(e){var n=ZQ(e);return function(t){return Aw(n(t))}},eY=function(e){return KQ(Ci(e))};var nY=function(e){var n=Cl(e);return function(t){return KQ(n(t))}};var tY=function(e){return function(n){return function(t){return(t|0)===t?e(t):n}}},st=function(e){return e};var yF=isFinite;var bF=Math.abs;var f8=Math.cos;var i1=Math.floor,v8=Math.log;var RF=function(e){return function(n){return Math.pow(e,n)}},Dh=function(e){return function(n){return e%n}},yh=Math.round;var m8=Math.sin;var zv=3.141592653589793;var aY=2.302585092994046;var rY=zi(PD),oY=oi(PD);var Bp=function(){return tY(d.create)(C.value)}(),iY=function(e){if(!yF(e))return 0;if(e>=st(rY))return rY;if(e<=st(oY))return oY;if(xe)return Ee(0)(Bp(e));throw new Error("Failed pattern match at Data.Int (line 72, column 1 - line 72, column 29): "+[e.constructor.name])},ls=function(e){return iY(yh(e))};var Br=function(e){return iY(i1(e))},uY=function(e){return(e&1)==0};var Jr=function(){function e(){}return e.value=new e,e}(),Ma=function(){function e(n,t){this.value0=n,this.value1=t}return e.create=function(n){return function(t){return new e(n,t)}},e}(),wF=function(e){return e},u7e=function(e){return new Ma(e.value0,e.value1)};var l7e=function(e){var n=function(t){return function(a){var r=t,o=!1,i;function u(l,c){if(c instanceof Ma&&c.value1 instanceof Ma&&c.value1.value1 instanceof Ma){r=new Ma(c,l),a=c.value1.value1.value1;return}var s=function(v){return v instanceof Ma&&v.value1 instanceof Ma&&v.value1.value1 instanceof Jr?new Ma(e(v.value0),new Ma(e(v.value1.value0),Jr.value)):v instanceof Ma&&v.value1 instanceof Jr?new Ma(e(v.value0),Jr.value):Jr.value},f=function(v){return function(m){var _=v,R=!1,D;function y(S,G){if(S instanceof Ma&&S.value0 instanceof Ma&&S.value0.value1 instanceof Ma&&S.value0.value1.value1 instanceof Ma){_=S.value1,m=new Ma(e(S.value0.value0),new Ma(e(S.value0.value1.value0),new Ma(e(S.value0.value1.value1.value0),G)));return}return R=!0,G}for(;!R;)D=y(_,m);return D}};return o=!0,f(l)(s(c))}for(;!o;)i=u(r,a);return i}};return n(Jr.value)},c7e={map:l7e};var cs={foldr:function(e){return function(n){var t=function(){var r=function(o){return function(i){var u=o,l=!1,c;function s(f,v){if(v instanceof Jr)return l=!0,f;if(v instanceof Ma){u=new Ma(v.value0,f),i=v.value1;return}throw new Error("Failed pattern match at Data.List.Types (line 107, column 7 - line 107, column 23): "+[f.constructor.name,v.constructor.name])}for(;!l;)c=s(u,i);return c}};return r(Jr.value)}(),a=Qa(cs)(Jt(e))(n);return function(r){return a(t(r))}}},foldl:function(e){var n=function(t){return function(a){var r=t,o=!1,i;function u(l,c){if(c instanceof Jr)return o=!0,l;if(c instanceof Ma){r=e(l)(c.value0),a=c.value1;return}throw new Error("Failed pattern match at Data.List.Types (line 111, column 12 - line 113, column 30): "+[c.constructor.name])}for(;!o;)i=u(r,a);return i}};return n},foldMap:function(e){var n=Ye(e.Semigroup0()),t=Da(e);return function(a){return Qa(cs)(function(r){var o=n(r);return function(i){return o(a(i))}})(t)}}};var s7e=Cr(cs);var p8={append:function(e){return function(n){return s7e(Ma.create)(n)(e)}}},cY=Ye(p8);var _8={append:function(e){return function(n){return new wf(e.value0,cY(e.value1)(u7e(n)))}}};var f7e={alt:cY,Functor0:function(){return c7e}},sY=function(){return{empty:Jr.value,Alt0:function(){return f7e}}}();var D7e=N(J);var d8=function(e){if(e instanceof Jr)return C.value;if(e instanceof Ma)return new d({head:e.value0,tail:e.value1});throw new Error("Failed pattern match at Data.List (line 259, column 1 - line 259, column 66): "+[e.constructor.name])},SF=function(e){return Fu(e)(function(n){return D7e(function(t){return new Ue(t.head,t.tail)})(d8(n))})};var bh=function(e){return Cr(e)(Ma.create)(Jr.value)};var pY=function(e){return e()};var _Y=function(e){throw new Error(e)};var dY=function(){return _Y};var y7e=dY(),b7e=pY,fc=function(e){return b7e(function(){return y7e(e)})};var h8=function(){var e=DF(sY);return function(n){return wF(e(n))}}();var hY=function(e){return e.value0};var DY=function(e,n,t){var a=0,r;return function(o){if(a===2)return r;if(a===1)throw new ReferenceError(e+" was needed before it finished initializing (module "+n+", line "+o+")",n,o);return a=1,r=t(),a=2,r}};var Ao=function(){function e(){}return e.value=new e,e}(),xo=function(){function e(n,t,a,r,o,i){this.value0=n,this.value1=t,this.value2=a,this.value3=r,this.value4=o,this.value5=i}return e.create=function(n){return function(t){return function(a){return function(r){return function(o){return function(i){return new e(n,t,a,r,o,i)}}}}}},e}(),yY=function(){function e(){}return e.value=new e,e}(),g8=function(){function e(n,t,a){this.value0=n,this.value1=t,this.value2=a}return e.create=function(n){return function(t){return function(a){return new e(n,t,a)}}},e}(),D8=function(){function e(n,t){this.value0=n,this.value1=t}return e.create=function(n){return function(t){return new e(n,t)}},e}(),bY=function(){function e(){}return e.value=new e,e}(),y8=function(){function e(n,t,a){this.value0=n,this.value1=t,this.value2=a}return e.create=function(n){return function(t){return function(a){return new e(n,t,a)}}},e}(),EF=function(){function e(n,t,a){this.value0=n,this.value1=t,this.value2=a}return e.create=function(n){return function(t){return function(a){return new e(n,t,a)}}},e}();var ss=function(e,n,t,a){if(t instanceof Ao){if(a instanceof Ao)return new xo(1,1,e,n,t,a);if(a instanceof xo)return new xo(1+a.value0|0,1+a.value1|0,e,n,t,a);throw new Error("Failed pattern match at Data.Map.Internal (line 702, column 5 - line 706, column 39): "+[a.constructor.name])}if(t instanceof xo){if(a instanceof Ao)return new xo(1+t.value0|0,1+t.value1|0,e,n,t,a);if(a instanceof xo)return new xo(1+function(){var r=t.value0>a.value0;return r?t.value0:a.value0}()|0,(1+t.value1|0)+a.value1|0,e,n,t,a);throw new Error("Failed pattern match at Data.Map.Internal (line 708, column 5 - line 712, column 68): "+[a.constructor.name])}throw new Error("Failed pattern match at Data.Map.Internal (line 700, column 32 - line 712, column 68): "+[t.constructor.name])},Lw=function(){return Jt(D8.create)(yY.value)}(),E7e=function(e){return function(n){return function(t){var a=function(r){var o=!1,i;function u(l){if(l instanceof yY)return o=!0,t(Ce);if(l instanceof g8)return o=!0,n(l.value0,l.value1,l.value2);if(l instanceof D8){r=e(l.value1)(l.value0);return}throw new Error("Failed pattern match at Data.Map.Internal (line 940, column 8 - line 946, column 20): "+[l.constructor.name])}for(;!o;)i=u(r);return i};return a}}};var u1=function(e){return function(n){return new xo(1,1,e,n,Ao.value,Ao.value)}},l1=function(){var e=function(a){if(a instanceof Ao)return 0;if(a instanceof xo)return a.value0;throw new Error("Failed pattern match at Data.Map.Internal (line 757, column 12 - line 759, column 26): "+[a.constructor.name])},n=function(a,r,o,i,u,l,c){return l instanceof xo&&l.value0>e(c)?ss(l.value2,l.value3,ss(a,r,o,l.value4),ss(i,u,l.value5,c)):ss(i,u,ss(a,r,o,l),c)},t=function(a,r,o,i,u,l,c){return l instanceof xo&&e(u)<=l.value0?ss(l.value2,l.value3,ss(o,i,u,l.value4),ss(a,r,l.value5,c)):ss(o,i,u,ss(a,r,l,c))};return function(a,r,o,i){if(o instanceof Ao)return i instanceof Ao?u1(a)(r):i instanceof xo&&i.value0>1?n(a,r,o,i.value2,i.value3,i.value4,i.value5):ss(a,r,o,i);if(o instanceof xo){if(i instanceof xo){if(i.value0>(o.value0+1|0))return n(a,r,o,i.value2,i.value3,i.value4,i.value5);if(o.value0>(i.value0+1|0))return t(a,r,o.value2,o.value3,o.value4,o.value5,i)}return i instanceof Ao&&o.value0>1?t(a,r,o.value2,o.value3,o.value4,o.value5,i):ss(a,r,o,i)}throw new Error("Failed pattern match at Data.Map.Internal (line 717, column 40 - line 738, column 34): "+[o.constructor.name])}}(),b8=DY("unsafeSplit","Data.Map.Internal",function(){return function(e,n,t){if(t instanceof Ao)return new EF(C.value,Ao.value,Ao.value);if(t instanceof xo){var a=e(n)(t.value2);if(a instanceof Se){var r=b8(793)(e,n,t.value4);return new EF(r.value0,r.value1,l1(t.value2,t.value3,r.value2,t.value5))}if(a instanceof we){var r=b8(796)(e,n,t.value5);return new EF(r.value0,l1(t.value2,t.value3,t.value4,r.value1),r.value2)}if(a instanceof Fe)return new EF(new d(t.value3),t.value4,t.value5);throw new Error("Failed pattern match at Data.Map.Internal (line 791, column 5 - line 799, column 30): "+[a.constructor.name])}throw new Error("Failed pattern match at Data.Map.Internal (line 787, column 34 - line 799, column 30): "+[t.constructor.name])}}),C7e=b8(786);var R8=DY("unsafeUnionWith","Data.Map.Internal",function(){return function(e,n,t,a){if(t instanceof Ao)return a;if(a instanceof Ao)return t;if(a instanceof xo){var r=C7e(e,a.value2,t),o=R8(809)(e,n,r.value1,a.value4),i=R8(810)(e,n,r.value2,a.value5);if(r.value0 instanceof d)return l1(a.value2,n(r.value0.value0)(a.value3),o,i);if(r.value0 instanceof C)return l1(a.value2,a.value3,o,i);throw new Error("Failed pattern match at Data.Map.Internal (line 811, column 5 - line 815, column 46): "+[r.value0.constructor.name])}throw new Error("Failed pattern match at Data.Map.Internal (line 804, column 42 - line 815, column 46): "+[t.constructor.name,a.constructor.name])}}),I7e=R8(803),T7e=function(e){var n=Ke(e);return function(t){return function(a){return function(r){return I7e(n,t,a,r)}}}},CF=function(e){return T7e(e)(an)};var Rh=function(e){var n=Ke(e);return function(t){var a=function(r){var o=!1,i;function u(l){if(l instanceof Ao)return o=!0,C.value;if(l instanceof xo){var c=n(t)(l.value2);if(c instanceof Se){r=l.value4;return}if(c instanceof we){r=l.value5;return}if(c instanceof Fe)return o=!0,new d(l.value3);throw new Error("Failed pattern match at Data.Map.Internal (line 283, column 7 - line 286, column 22): "+[c.constructor.name])}throw new Error("Failed pattern match at Data.Map.Internal (line 280, column 8 - line 286, column 22): "+[l.constructor.name])}for(;!o;)i=u(r);return i};return a}};var F7e=function(){var e=function(n){return function(t){var a=n,r=!1,o;function i(u,l){if(l instanceof Ao)return r=!0,u;if(l instanceof xo){if(l.value5 instanceof Ao){a=new g8(l.value2,l.value3,u),t=l.value4;return}a=new g8(l.value2,l.value3,new D8(l.value5,u)),t=l.value4;return}throw new Error("Failed pattern match at Data.Map.Internal (line 951, column 13 - line 958, column 48): "+[l.constructor.name])}for(;!r;)o=i(a,t);return o}};return e}(),jw=E7e(F7e),RY=function(){return jw(function(e,n,t){return new y8(e,n,t)})(an(bY.value))}(),M7e=function(e){var n=_e(e);return function(t){var a=_e(t);return{eq:function(){var r=function(o){return function(i){var u=o,l=!1,c;function s(f,v){var m=RY(f);if(m instanceof y8){var _=RY(v);if(_ instanceof y8&&n(m.value0)(_.value0)&&a(m.value1)(_.value1)){u=m.value2,i=_.value2;return}return l=!0,!1}if(m instanceof bY)return l=!0,!0;throw new Error("Failed pattern match at Data.Map.Internal (line 859, column 14 - line 868, column 13): "+[m.constructor.name])}for(;!l;)c=s(u,i);return c}};return r}()}}};var G7e=function(){var e=function(n,t,a){return new d(new Ue(new Ue(n,t),a))};return jw(e)(function(n){return C.value})}(),wh=function(e){var n=Fu(e)(G7e);return function(t){return n(Lw(t))}};var w8=function(e){return e instanceof Ao};var S8=function(e){var n=Ke(e);return function(t){return function(a){var r=function(o){if(o instanceof Ao)return u1(t)(a);if(o instanceof xo){var i=n(t)(o.value2);if(i instanceof Se)return l1(o.value2,o.value3,r(o.value4),o.value5);if(i instanceof we)return l1(o.value2,o.value3,o.value4,r(o.value5));if(i instanceof Fe)return new xo(o.value0,o.value1,t,a,o.value4,o.value5);throw new Error("Failed pattern match at Data.Map.Internal (line 471, column 7 - line 474, column 35): "+[i.constructor.name])}throw new Error("Failed pattern match at Data.Map.Internal (line 468, column 8 - line 474, column 35): "+[o.constructor.name])};return r}}};var E8=function(e){var n=M7e(e);return function(t){var a=_e(n(t));return{eq:function(r){return function(o){if(r instanceof Ao)return o instanceof Ao;if(r instanceof xo)return o instanceof xo&&r.value1===o.value1?a(Lw(r))(Lw(o)):!1;throw new Error("Failed pattern match at Data.Map.Internal (line 94, column 14 - line 105, column 16): "+[r.constructor.name])}}}}};var Sf=function(){return Ao.value}(),vc=function(e){var n=S8(e);return function(t){return Qa(t)(function(a){return function(r){return n(r.value0)(r.value1)(a)}})(Sf)}};var SY=zo();var A7e=function(e){return SY(CF(e))};var EY=function(e){return e};var CY=function(e){return u1(e)(Ce)};var IY=function(e){return{append:A7e(e)}};var TY=SY(w8);var FY=function(e){var n=S8(e);return function(t){return function(a){return n(t)(Ce)(a)}}};var MY=function(e){var n=_e(E8(e)(KR));return{eq:function(t){return function(a){return n(t)(a)}}}};var x7e=Sf,IF=function(e){var n=Qa(e);return function(t){var a=FY(t);return n(function(r){return function(o){return a(o)(r)}})(x7e)}};var L7e=typeof Array.from=="function",GY=typeof Symbol!="undefined"&&Symbol!=null&&typeof Symbol.iterator!="undefined"&&typeof String.prototype[Symbol.iterator]=="function",j7e=typeof String.prototype.fromCodePoint=="function",N7e=typeof String.prototype.codePointAt=="function",AY=function(e){return N7e?function(n){return n.codePointAt(0)}:e},xY=function(e){return function(n){return function(t){return function(a){return function(r){return function(o){var i=o.length;if(r<0||r>=i)return t;if(GY)for(var u=o[Symbol.iterator](),l=r;;--l){var c=u.next();if(c.done)return t;if(l===0)return n(a(c.value))}return e(r)(o)}}}}}};var LY=function(e){return j7e?String.fromCodePoint:e},jY=function(e){return function(n){return GY?function(t){for(var a="",r=t[Symbol.iterator](),o=0;o=Jp(kY)&&e<=Jp(OY)?new d(PY(e)):C.value},P7e={succ:Sh(I8)(Jp),pred:Eh(I8)(Jp),Ord0:function(){return nF}};var c1=function(){return{cardinality:Jp(OY)-Jp(kY)|0,toEnum:I8,fromEnum:Jp,Bounded0:function(){return Ap},Enum1:function(){return P7e}}}();var s1=function(e){return e.join("")},Nw=function(e){return e.split("")},Ch=function(e){return e},UY=function(e){return function(n){return function(t){return function(a){return t>=0&&t=0&&e1;if(t){var a=Ow(vm(1)(e)),r=WY(a);return r?JY(n)(a):n}return n},F8=AY(Q7e),Hw=NY(V7e)(F8),Zr=function(e){return da(Hw(e))};var M8=function(){var e=C8(c1)(oi(Ap))(zi(Ap));return function(n){return Ch(e(n))}}(),Y7e=function(e){if(e<=65535)return M8(e);var n=W7e(e-65536|0)(1024)+55296|0,t=q7e(e-65536|0)(1024)+56320|0;return M8(n)+M8(t)};var G8=LY(Y7e),zY=function(e){return function(n){if(e<1)return"";var t=Uw(n);return t instanceof d?G8(t.value0.head)+zY(e-1|0)(t.value0.tail):n}},pc=jY(zY);var GF={eq:function(e){return function(n){return e===n}}},AF={compare:function(e){return function(n){return z7e(e)(n)}},Eq0:function(){return GF}},Bw=function(e){return function(n){return fm(fs(pc(e)(n)))(n)}};var X7e=function(e){return function(n){var t=e,a=!1,r;function o(i,u){var l=Uw(u);if(l instanceof d){var c=i===0;if(c)return a=!0,new d(l.value0.head);t=i-1|0,n=l.value0.tail;return}return a=!0,C.value}for(;!a;)r=o(t,n);return r}},A8=function(e){return function(n){return e<0?C.value:e===0&&n===""?C.value:e===0?new d(F8(n)):xY(X7e)(d.create)(C.value)(F8)(e)(n)}},Z7e={bottom:0,top:1114111,Ord0:function(){return AF}},qp=function(){return{cardinality:1114111+1|0,fromEnum:function(e){return e},toEnum:function(e){if(e>=0&&e<=1114111)return new d(e);if(xe)return C.value;throw new Error("Failed pattern match at Data.String.CodePoints (line 63, column 1 - line 68, column 26): "+[e.constructor.name])},Bounded0:function(){return Z7e},Enum1:function(){return K7e(0)}}}(),K7e=H7e("enumCodePoint","Data.String.CodePoints",function(){return{succ:Sh(yt(qp))(dt(qp)),pred:Eh(yt(qp))(dt(qp)),Ord0:function(){return AF}}});function LF(e,n){var t={};for(var a in n)({}).hasOwnProperty.call(n,a)&&(t[a]=n[a]);for(var r in e)({}).hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}var Ef=function(){return function(){return function(e){return function(n){return LF(e,n)}}}};function KY(e){return typeof e=="string"}function x8(e){return typeof e=="number"}function eX(e){return typeof e=="boolean"}function jF(e){return e instanceof Object}function nX(e){return e instanceof Function}function Jw(e){return e===null?"":e===void 0?"":e instanceof Date?e.toString():typeof Blob!="undefined"&&e instanceof Blob?"file["+e.name+"]":JSON.stringify(e)}function L8(e){return typeof e}function Ww(e){return Object.prototype.toString.call(e).slice(8,-1)}function qw(e){return e===null}function Th(e){return e===void 0}var v1=Array.isArray||function(e){return Object.prototype.toString.call(e)==="[object Array]"};function Cf(e){return new Error(e)}function m1(e){return e.message}function NF(e){return function(){throw e}}var aX=function(e){return NF(Cf(e))};var Fi=function(e){return e.throwError};var _c=function(e){return e.catchError};var ms=function(e){var n=_c(e),t=e.MonadThrow0().Monad0(),a=N(t.Bind1().Apply0().Functor0()),r=z(t.Applicative0());return function(o){return n(a(ln.create)(o))(function(i){return r(rn.create(i))})}};var $v=function(e){return e.state};var Vv=function(e){return e.tell};var ps={liftEffect:Qe(Xe),Monad0:function(){return Uv}},Jn=function(e){return e.liftEffect};var f5e=N(ii);var j8=function(e){return e};var PF=function(e){return e};var kF=function(e){return function(n){return e(n)}},N8=function(e){var n=N(e);return{map:function(t){return kF(n(f5e(t)))}}};var oX=function(e){return{Applicative0:function(){return If(e)},Bind1:function(){return Qv(e)}}},Qv=function(e){var n=K(e.Bind1()),t=z(e.Applicative0());return{bind:function(a){return function(r){return n(a)(rr(function(o){return t(rn.create(o))})(function(o){var i=r(o);return i}))}},Apply0:function(){return P8(e)}}},P8=function(e){var n=N8(e.Bind1().Apply0().Functor0());return{apply:rc(oX(e)),Functor0:function(){return n}}},If=function(e){return{pure:function(){var n=z(e.Applicative0());return function(t){return j8(n(ln.create(t)))}}(),Apply0:function(){return P8(e)}}};var iX=function(e){var n=oX(e);return{throwError:function(){var t=z(e.Applicative0());return function(a){return j8(t(rn.create(a)))}}(),Monad0:function(){return n}}};var k8=function(e){var n=Ye(e);return function(t){var a=t.Bind1(),r=K(a),o=z(t.Applicative0()),i=N8(a.Apply0().Functor0());return{alt:function(u){return function(l){return r(u)(function(c){if(c instanceof ln)return o(new ln(c.value0));if(c instanceof rn)return r(l)(function(s){if(s instanceof ln)return o(new ln(s.value0));if(s instanceof rn)return o(new rn(n(c.value0)(s.value0)));throw new Error("Failed pattern match at Control.Monad.Except.Trans (line 87, column 9 - line 89, column 49): "+[s.constructor.name])});throw new Error("Failed pattern match at Control.Monad.Except.Trans (line 83, column 5 - line 89, column 49): "+[c.constructor.name])})}},Functor0:function(){return i}}}};var m5e=re(Ar),p5e=re(ze);var OF=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Qw=function(){function e(n,t){this.value0=n,this.value1=t}return e.create=function(n){return function(t){return new e(n,t)}},e}(),uX=function(){function e(n,t){this.value0=n,this.value1=t}return e.create=function(n){return function(t){return new e(n,t)}},e}(),lX=function(){function e(n,t){this.value0=n,this.value1=t}return e.create=function(n){return function(t){return new e(n,t)}},e}(),Ga=Be,$p=Be;var Yw=function(e){if(e instanceof OF)return e.value0;if(e instanceof uX)return"Error at array index "+(p5e(e.value0)+(": "+Yw(e.value1)));if(e instanceof lX)return"Error at property "+(m5e(e.value0)+(": "+Yw(e.value1)));if(e instanceof Qw)return"Type mismatch: expected "+(e.value0+(", found "+e.value1));throw new Error("Failed pattern match at Foreign (line 78, column 1 - line 78, column 45): "+[e.constructor.name])};var Mh=function(e){var n=Fi(iX(e));return function(t){return n(h8(t))}},cX=function(e){var n=z(If(e)),t=Mh(e);return function(a){if(v1(a))return n($p(a));if(xe)return t(new Qw("array",Ww(a)));throw new Error("Failed pattern match at Foreign (line 164, column 1 - line 164, column 99): "+[a.constructor.name])}},Tf=function(e){var n=z(If(e)),t=Mh(e);return function(a){return function(r){if(Ww(r)===a)return n($p(r));if(xe)return t(new Qw(a,Ww(r)));throw new Error("Failed pattern match at Foreign (line 123, column 1 - line 123, column 104): "+[a.constructor.name,r.constructor.name])}}};var Gh=function(e){return Tf(e)("String")};var sX=vr(ea),fX=Ua(sX),_5e=TQ(t1),d5e=re(ze),h5e=Rw(ft),cu=function(){function e(){}return e.value=new e,e}(),Ku=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),he={validateJsRecord:function(e){return cu.value}},Vp={validateForeignType:function(e){return cu.value}};var Ah=function(e){return function(n){return function(t){var a=n(t);return a?cu.value:new Ku({path:"",got:t,expected:e})}}},Xw={validateForeignType:Ah("Array")(v1)},zn={validateForeignType:Ah("Boolean")(eX)},vX={validateForeignType:Ah("Function")(nX)};var bt={validateForeignType:Ah("Int")(Df(sX)(x8)(function(e){return gt(Bp($p(e)))}))};var Gt={validateForeignType:Ah("Number")(x8)},UF={validateForeignType:Ah("Object")(jF)},ue={validateForeignType:Ah("String")(KY)},mX=function(e){return e.validateJsRecord},Qn=function(){return function(e){var n=mX(e);return{validateForeignType:function(t){if(jF(t))return n(t);if(xe)return new Ku({path:"",expected:"Object",got:t});throw new Error("Failed pattern match at Elmish.Foreign (line 209, column 1 - line 212, column 69): "+[t.constructor.name])}}}},_1=function(e){return e.validateForeignType},$n=function(e){var n=_1(e);return{validateForeignType:function(t){if(fX(v1)(t))return new Ku({path:"",expected:"Array",got:t});if(xe){var a=function(o){return function(i){var u=n(i);if(u instanceof cu)return C.value;if(u instanceof Ku)return new d({idx:o,invalid:u.value0});throw new Error("Failed pattern match at Elmish.Foreign (line 186, column 29 - line 188, column 51): "+[u.constructor.name])}},r=_5e(a)($p(t));if(r instanceof C)return cu.value;if(r instanceof d)return new Ku({expected:r.value0.invalid.expected,got:r.value0.invalid.got,path:"["+(d5e(r.value0.idx)+("]"+r.value0.invalid.path))});throw new Error("Failed pattern match at Elmish.Foreign (line 182, column 21 - line 184, column 101): "+[r.constructor.name])}throw new Error("Failed pattern match at Elmish.Foreign (line 179, column 6 - line 188, column 51): "+[t.constructor.name])}}},Ln=function(e){var n=_1(e);return{validateForeignType:function(t){if(qw(t)||Th(t))return cu.value;if(xe){var a=n(t);if(a instanceof cu)return cu.value;if(a instanceof Ku)return new Ku({path:a.value0.path,got:a.value0.got,expected:function(){var r=a.value0.path==="";return r?"Nullable "+a.value0.expected:a.value0.expected}()});throw new Error("Failed pattern match at Elmish.Foreign (line 196, column 11 - line 198, column 123): "+[a.constructor.name])}throw new Error("Failed pattern match at Elmish.Foreign (line 192, column 1 - line 198, column 123): "+[t.constructor.name])}}},xh=function(e){var n=_1(e);return{validateForeignType:function(t){if(fX(jF)(t))return new Ku({path:"",expected:"Object",got:t});if(xe){var a=function(r){return function(o){return function(i){if(r instanceof Ku)return C.value;var u=n(i);if(u instanceof cu)return new d(cu.value);if(u instanceof Ku)return new d(new Ku({expected:u.value0.expected,got:u.value0.got,path:"['"+(o+("']"+u.value0.path))}));throw new Error("Failed pattern match at Elmish.Foreign (line 151, column 29 - line 153, column 97): "+[u.constructor.name])}}};return PQ(a)(cu.value)($p(t))}throw new Error("Failed pattern match at Elmish.Foreign (line 145, column 6 - line 153, column 97): "+[t.constructor.name])}}};var E=function(e){var n=sr(e);return function(t){var a=_1(t);return function(r){var o=mX(r);return{validateJsRecord:function(i){var u=n(Et.value),l=Iu(u)($p(i)),c=a(l);if(c instanceof Ku)return new Ku({expected:c.value0.expected,got:c.value0.got,path:"."+(u+c.value0.path)});if(c instanceof cu)return o(i);throw new Error("Failed pattern match at Elmish.Foreign (line 235, column 9 - line 237, column 43): "+[c.constructor.name])}}}}},mm=function(e){var n=_1(e);return function(t){var a=n(t);if(a instanceof cu)return new ln($p(t));if(a instanceof Ku)return new rn(h5e([a.value0.path,function(){var r=a.value0.path==="";return r?"Expected ":": expected "}(),a.value0.expected," but got: ",Jw(a.value0.got)]));throw new Error("Failed pattern match at Elmish.Foreign (line 255, column 18 - line 263, column 6): "+[a.constructor.name])}},Rt=function(e){var n=mm(e);return function(t){return oc(n(t))}};var pX=on(),g5e=Ke(Ot);var HF=function(e){return e};var O8={show:pX};var Mi={show:pX};var D5e={eq:function(e){return function(n){return e===n}}},U8={compare:function(e){return function(n){return g5e(e)(n)}},Eq0:function(){return D5e}},dc={eq:function(e){return function(n){return e===n}}};var Zw=ue,_s=ue;var Kw="";function _X(e){var n=e.split(` `);return n.reduce(function(t,a){var r=R5e(a)||S5e(a)||I5e(a)||G5e(a)||F5e(a);return r&&t.push(r),t},[])}var y5e=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack||\/|[a-z]:\\|\\\\).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,b5e=/\((\S*)(?::(\d+))(?::(\d+))\)/;function R5e(e){var n=y5e.exec(e);if(!n)return null;var t=n[2]&&n[2].indexOf("native")===0,a=n[2]&&n[2].indexOf("eval")===0,r=b5e.exec(n[2]);return a&&r!=null&&(n[2]=r[1],n[3]=r[2],n[4]=r[3]),{file:t?null:n[2],methodName:n[1]||Kw,arguments:t?[n[2]]:[],lineNumber:n[3]?+n[3]:null,column:n[4]?+n[4]:null}}var w5e=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;function S5e(e){var n=w5e.exec(e);return n?{file:n[2],methodName:n[1]||Kw,arguments:[],lineNumber:+n[3],column:n[4]?+n[4]:null}:null}var E5e=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,C5e=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function I5e(e){var n=E5e.exec(e);if(!n)return null;var t=n[3]&&n[3].indexOf(" > eval")>-1,a=C5e.exec(n[3]);return t&&a!=null&&(n[3]=a[1],n[4]=a[2],n[5]=null),{file:n[3],methodName:n[1]||Kw,arguments:n[2]?n[2].split(","):[],lineNumber:n[4]?+n[4]:null,column:n[5]?+n[5]:null}}var T5e=/^\s*(?:([^@]*)(?:\((.*?)\))?@)?(\S.*?):(\d+)(?::(\d+))?\s*$/i;function F5e(e){var n=T5e.exec(e);return n?{file:n[3],methodName:n[1]||Kw,arguments:[],lineNumber:+n[4],column:n[5]?+n[5]:null}:null}var M5e=/^\s*at (?:((?:\[object object\])?[^\\/]+(?: \[as \S+\])?) )?\(?(.*?):(\d+)(?::(\d+))?\)?\s*$/i;function G5e(e){var n=M5e.exec(e);return n?{file:n[2],methodName:n[1]||Kw,arguments:[],lineNumber:+n[3],column:n[4]?+n[4]:null}:null}function dX({skipFrames:e,prefix:n}){let t=new Error().stack,r=_X(t)[e],o=hX(r.file.replace(/^(http(s?):\/\/)?[^\/]+/,"")),i=hX(r.methodName);return`${n}_${o}_${i}_${r.lineNumber}_${r.column}`}var hX=e=>e.replace(/[^\d\w]+/g,"_").replace(/(^_|_$)/g,"");Wt();var gX=function(){let e={};return function(n,t){let a=e[n]||(e[n]=bX(n));return t(a)}}();function DX(e){return e(bX())}var yX=wt.createElement,rS=e=>()=>e.props.def;function bX(e){class n extends wt.Component{constructor(a){super(a);a.init&&a.init(this)()}render(){return this.props.render(this)()}componentDidMount(){this.props.componentDidMount(this)()}componentWillUnmount(){this.props.componentWillUnmount(this)()}}return n.displayName=e?"Elmish_"+e:"ElmishRoot",n}var JF=typeof module=="undefined"?void 0:module.require,Vzn=function(){try{return JF===void 0?void 0:JF("util")}catch{return}}();var Qzn=function(){var e;if(typeof performance!="undefined")e=performance;else if(JF)try{e=JF("perf_hooks").performance}catch{}return function(){return(e||Date).now()}}();var Il=function(){var e={},n="Pure",t="Throw",a="Catch",r="Sync",o="Async",i="Bind",u="Bracket",l="Fork",c="Sequential",s="Map",f="Apply",v="Alt",m="Cons",_="Resume",R="Release",D="Finalizer",y="Finalized",S="Forked",G="Fiber",P="Thunk";function k(ne,me,ye,U){this.tag=ne,this._1=me,this._2=ye,this._3=U}function M(ne){var me=function(ye,U,de){return new k(ne,ye,U,de)};return me.tag=ne,me}function O(ne){return new k(n,void 0)}function oe(ne){try{ne()}catch(me){setTimeout(function(){throw me},0)}}function le(ne,me,ye){try{return me(ye())}catch(U){return ne(U)}}function ve(ne,me,ye){try{return me(ye)()}catch(U){return ye(ne(U))(),O}}var X=function(){var ne=1024,me=0,ye=0,U=new Array(ne),de=!1;function V(){var Ae;for(de=!0;me!==0;)me--,Ae=U[ye],U[ye]=void 0,ye=(ye+1)%ne,Ae();de=!1}return{isDraining:function(){return de},enqueue:function(Ae){var Me,He;me===ne&&(He=de,V(),de=He),U[(ye+me)%ne]=Ae,me++,de||V()}}}();function be(ne){var me={},ye=0,U=0;return{register:function(de){var V=ye++;de.onComplete({rethrow:!0,handler:function(Ae){return function(){U--,delete me[V]}}})(),me[V]=de,U++},isEmpty:function(){return U===0},killAll:function(de,V){return function(){if(U===0)return V();var Ae=0,Me={};function He(je){Me[je]=me[je].kill(de,function(In){return function(){delete Me[je],Ae--,ne.isLeft(In)&&ne.fromLeft(In)&&setTimeout(function(){throw ne.fromLeft(In)},0),Ae===0&&V()}})()}for(var $e in me)me.hasOwnProperty($e)&&(Ae++,He($e));return me={},ye=0,U=0,function(je){return new k(r,function(){for(var In in Me)Me.hasOwnProperty(In)&&Me[In]()})}}}}}var pe=0,De=1,Ne=2,ie=3,jn=4,Ve=5,Pn=6;function kn(ne,me,ye){var U=0,de=pe,V=ye,Ae=null,Me=null,He=null,$e=null,je=null,In=0,cn=0,et=null,Cn=!0;function nt(rt){for(var Hn,sn,vt;;)switch(Hn=null,sn=null,vt=null,de){case Ne:de=De;try{V=He(V),$e===null?He=null:(He=$e._1,$e=$e._2)}catch(Ie){de=Ve,Ae=ne.left(Ie),V=null}break;case ie:ne.isLeft(V)?(de=Ve,Ae=V,V=null):He===null?de=Ve:(de=Ne,V=ne.fromRight(V));break;case De:switch(V.tag){case i:He&&($e=new k(m,He,$e)),He=V._2,de=De,V=V._1;break;case n:He===null?(de=Ve,V=ne.right(V._1)):(de=Ne,V=V._1);break;case r:de=ie,V=le(ne.left,ne.right,V._1);break;case o:de=jn,V=ve(ne.left,V._1,function(Ie){return function(){U===rt&&(U++,X.enqueue(function(){U===rt+1&&(de=ie,V=Ie,nt(U))}))}});return;case t:de=Ve,Ae=ne.left(V._1),V=null;break;case a:He===null?je=new k(m,V,je,Me):je=new k(m,V,new k(m,new k(_,He,$e),je,Me),Me),He=null,$e=null,de=De,V=V._1;break;case u:In++,He===null?je=new k(m,V,je,Me):je=new k(m,V,new k(m,new k(_,He,$e),je,Me),Me),He=null,$e=null,de=De,V=V._1;break;case l:de=ie,Hn=kn(ne,me,V._2),me&&me.register(Hn),V._1&&Hn.run(),V=ne.right(Hn);break;case c:de=De,V=x(ne,me,V._1);break}break;case Ve:if(He=null,$e=null,je===null)de=Pn,V=Me||Ae||V;else switch(Hn=je._3,vt=je._1,je=je._2,vt.tag){case a:Me&&Me!==Hn&&In===0?de=Ve:Ae&&(de=De,V=vt._2(ne.fromLeft(Ae)),Ae=null);break;case _:Me&&Me!==Hn&&In===0||Ae?de=Ve:(He=vt._1,$e=vt._2,de=Ne,V=ne.fromRight(V));break;case u:In--,Ae===null&&(sn=ne.fromRight(V),je=new k(m,new k(R,vt._2,sn),je,Hn),(Me===Hn||In>0)&&(de=De,V=vt._3(sn)));break;case R:je=new k(m,new k(y,V,Ae),je,Me),de=De,Me&&Me!==Hn&&In===0?V=vt._1.killed(ne.fromLeft(Me))(vt._2):Ae?V=vt._1.failed(ne.fromLeft(Ae))(vt._2):V=vt._1.completed(ne.fromRight(V))(vt._2),Ae=null,In++;break;case D:In++,je=new k(m,new k(y,V,Ae),je,Me),de=De,V=vt._1;break;case y:In--,de=Ve,V=vt._1,Ae=vt._2;break}break;case Pn:for(var Oa in et)et.hasOwnProperty(Oa)&&(Cn=Cn&&et[Oa].rethrow,oe(et[Oa].handler(V)));et=null,Me&&Ae?setTimeout(function(){throw ne.fromLeft(Ae)},0):ne.isLeft(V)&&Cn&&setTimeout(function(){if(Cn)throw ne.fromLeft(V)},0);return;case pe:de=De;break;case jn:return}}function ht(rt){return function(){if(de===Pn)return Cn=Cn&&rt.rethrow,rt.handler(V)(),function(){};var Hn=cn++;return et=et||{},et[Hn]=rt,function(){et!==null&&delete et[Hn]}}}function Fn(rt,Hn){return function(){if(de===Pn)return Hn(ne.right(void 0))(),function(){};var sn=ht({rethrow:!1,handler:function(){return Hn(ne.right(void 0))}})();switch(de){case pe:Me=ne.left(rt),de=Pn,V=Me,nt(U);break;case jn:Me===null&&(Me=ne.left(rt)),In===0&&(de===jn&&(je=new k(m,new k(D,V(rt)),je,Me)),de=Ve,V=null,Ae=null,nt(++U));break;default:Me===null&&(Me=ne.left(rt)),In===0&&(de=Ve,V=null,Ae=null)}return sn}}function Ft(rt){return function(){var Hn=ht({rethrow:!1,handler:rt})();return de===pe&&nt(U),Hn}}return{kill:Fn,join:Ft,onComplete:ht,isSuspended:function(){return de===pe},run:function(){de===pe&&(X.isDraining()?nt(U):X.enqueue(function(){nt(U)}))}}}function q(ne,me,ye,U){var de=0,V={},Ae=0,Me={},He=new Error("[ParAff] Early exit"),$e=null,je=e;function In(ht,Fn,Ft){var rt=Fn,Hn=null,sn=null,vt=0,Oa={},Ie,qe;e:for(;;)switch(Ie=null,rt.tag){case S:if(rt._3===e&&(Ie=V[rt._1],Oa[vt++]=Ie.kill(ht,function(Mt){return function(){vt--,vt===0&&Ft(Mt)()}})),Hn===null)break e;rt=Hn._2,sn===null?Hn=null:(Hn=sn._1,sn=sn._2);break;case s:rt=rt._2;break;case f:case v:Hn&&(sn=new k(m,Hn,sn)),Hn=rt,rt=rt._1;break}if(vt===0)Ft(ne.right(void 0))();else for(qe=0,Ie=vt;qen[e],JX=(e,n,t)=>t[e]=n;var kh=function(n){return function(t){return n(t)()}};var h1=function(n){return function(t){return function(){return n(t)}}},Xp=function(n){return function(t){return function(a){return function(){return n(t,a)}}}},Oh=function(n){return function(t){return function(a){return function(r){return function(){return n(t,a,r)}}}}};var m6e=Z(it),sS=function(){function e(){}return e.value=new e,e}(),zX=function(){return function(e){var n=sr(e);return function(t){return Oh(JX)(n(Et.value))}}},z8=function(e){var n=Rt(e);return function(t){var a=sr(t);return function(r){return function(o){return m6e(function(){return BX(a(Et.value),o)})(n)}}}};var el=null;function $X(e,n,t){return e==null?n:t(e)}function Tl(e){return e}var Ut=Oe(el)(Tl),ee=function(e){return $X(e,C.value,d.create)};Wt();var gc=window.ReactDOM,{createPortal:$8,findDOMNode:EXn,flushSync:CXn}=window.ReactDOM;var pL=ba(PZ());function kZ(e){return e.state&&e.state.s}function OZ(e,n,t){return e.setState({s:n},t)}function UZ(e,n){return e.state={s:n}}var HZ=gc.render,BZ=gc.hydrate,_L=pL.default&&pL.default.renderToString||(e=>""),W6e=gc.unmountComponentAtNode,JZ=wt.Fragment;function WZ(e,n,t){return wt.createElement.apply(null,[e,q6e(e,n)].concat(t))}function q6e(e,n){if(typeof e!="string"||n._data==null)return n;var t={_data:void 0};for(var a in n._data){var r=n._data[a];t["data-"+a]=r}return Object.assign({},n,t)}function qZ(e){return n=>e===n}var hS=function(e){return function(n){return function(t){var a=ee(t);if(e instanceof C&&a instanceof C)return Ce;if(e instanceof d&&a instanceof C)return Ce;if(e instanceof d&&a instanceof d){if(qZ(e.value0)(a.value0))return Ce;if(xe)return n(new d(a.value0))()}return n(a)()}}};var L={asReactChildren:function(e){return[e]}},ae={asReactChildren:function(e){return[e]}},W={asReactChildren:Qe(Xe)};var Y=Be,dL=Oh(OZ),zZ=Xp(HZ),$Z=Xp(BZ),VZ=h1(kZ),un=!1;var QZ=Xp(UZ),Jh=function(e){return e.asReactChildren},Af=function(){return function(e){var n=Jh(e);return function(t){return function(a){return function(r){return WZ(t,a,n(r))}}}}},YZ=Af()(W),gs=function(){return function(e){return function(n){return YZ(e)(n)([])}}},ce=YZ(JZ)({});var hL=N(it),z6e=z(Kt),XZ=function(e){return{initialize:function(n){return QZ(n)(e.initialState)},getState:function(n){return function(){var a=hL(ee)(VZ(n))();return Ee(e.initialState)(a)}},setState:dL}},ZZ=function(){var e=function(n){return function(t){return{initialize:function(a){return df(new d(t.initialState))(n)},getState:function(a){return hL(Ee(t.initialState))(os(n))},setState:function(a){return function(r){return function(o){return function(){return df(new d(r))(n)(),dL(a)(r)(z6e(Ce))(),o()}}}}}}};return hL(e)(hf(C.value))}();var KZ=Z(ge),eK=Ye(ca);var $6e=z(Kt),nK=zX(),tK={reflectSymbol:function(){return"__unmounted"}},V6e=nK(tK),aK={reflectSymbol:function(){return"__subscriptions"}},Q6e=nK(aK),i2=Z(it),Y6e=z8(zn)(tK),rK=N(it),X6e=z8($n(vX))(aK),Z6e=Bn(Mn),K6e=mt(Va),e8e=z6(Kt)(Te),n8e=Z6e(Pt),oK=Jn(ps),t8e=rF(Uv),a8e=Ye(tw(iF(nw))),iK=function(e){return e},Wh=function(){function e(n,t){this.value0=n,this.value1=t}return e.create=function(n){return function(t){return new e(n,t)}},e}(),r8e={map:function(e){return function(n){return new Wh(e(n.value0),n.value1)}}},Gi=function(e){return{bimap:function(n){return function(t){return function(a){return new Wh(t(a.value0),KZ(a.value1)(function(r){return function(o){return r({dispatch:function(i){return o.dispatch(n(i))},onStop:o.onStop})}}))}}}}},uK={apply:function(e){return function(n){return new Wh(e.value0(n.value0),eK(e.value1)(n.value1))}},Functor0:function(){return r8e}},qt={bind:function(e){return function(n){var t=n(e.value0);return new Wh(t.value0,eK(e.value1)(t.value1))}},Apply0:function(){return uK}},pt={pure:function(e){return new Wh(e,[])},Apply0:function(){return uK}},lK={Applicative0:function(){return pt},Bind1:function(){return qt}};var o8e=function(e){var n=K(e);return function(t){var a=Jn(t);return function(r){return function(o){return new Wh(r,KZ(o)(function(i){return function(u){return n(i)(function(l){return a(u.dispatch(l))})}}))}}}};var e_=function(e){return new Wh(Ce,[e])},mr=function(e){return e_(an(e))},b1=function(e){var n=K(e.Monad0().Bind1()),t=Jn(e);return function(a){return e_(function(r){return n(a)(function(o){return t(Oe($6e(Ce))(r.dispatch)(o))})})}},Kr=function(e){var n=o8e(e.Monad0().Bind1())(e);return function(t){return n(Ce)([t])}},cK=function(e){return function(n){var t=V6e(sS.value),a=Q6e(sS.value),r=function(m){return function(_){return function(R){return function(){var y=i2(rS(m))(function(S){return S.init})();return n({initialState:y.value0}).setState(m)(_)(R)()}}}},o=function(){var m=rK(Ee(!1)),_=Y6e(sS.value);return function(R){return m(_(R))}}(),i=function(){var m=rK(Ee([])),_=X6e(sS.value);return function(R){return m(_(R))}}(),u=function(m){return function(){return K6e(e8e)(i(m))(),a([])(m)()}},l=function(m){return function(){var R=i2(rS(m))(function(D){return D.init})();return n({initialState:R.value0}).getState(m)()}},c=function(m){return function(_){return function(){var D=i(m)();return a(Ci(cS(_))(D))(m)()}}},s=function(m){return function(_){var R=function(D){return cS(n8e(ds(0))(function(){return D({dispatch:function(){var y=f(_);return function(S){return oK(y(S))}}(),onStop:c(_)})}))};return G6(m)(R)}},f=function(m){return function(_){return t8e(o(m))(function(){var D=l(m)(),y=i2(rS(m))(function(G){return G.update})(),S=y(D)(_);return r(m)(S.value0)(s(S.value1)(m))()})}},v=function(m){return function(){var R=l(m)(),D=i2(rS(m))(function(y){return y.view})();return D(R)(f(m))}};return function(m){return yX(e,{def:m,init:n({initialState:m.init.value0}).initialize,render:v,componentDidMount:s(m.init.value1),componentWillUnmount:a8e(t(!0))(u)})}}},sK=function(e){return function(){var t=oK(ZZ)();return DX(function(a){return cK(a)(t)(e)})}},tl=function(e){return function(n){return gX(e,function(t){var a=cK(t)(XZ);return function(r){return a(n(r))}})}};var i8e=z(pt),u8e=Qe(Xe),u2=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),l8e={map:function(e){return function(n){return new u2(function(t){return n.value0(function(a){return t(e(a))})})}}},fK=N(l8e);var gL=function(e){return iK(dX(e))},ci=function(e){return new u2(function(n){return n(e)})},R1=function(e){return function(n){return new u2(function(t){return tl(e)(n)(t)})}},DL=function(e){return function(n){return tl(e)(function(t){return{init:i8e(Ce),update:an(jD),view:an(an(n.value0(u8e)))}})(Ce)}},w1=function(e){var n=gL({skipFrames:3,prefix:"WithHook"});return function(t){return DL(n)(fK(t)(e))}},fo=function(e){var n=gL({skipFrames:3,prefix:"WithHookCurried"});return function(t){return DL(n)(fK(Bv(t))(e))}},Mu=function(e){var n=gL({skipFrames:3,prefix:"HooksComponent"});return DL(n)(e)},si=function(){return function(e){return function(n){return new u2(function(t){return e.value0(function(a){var r=n(a);return r.value0(t)})})}}},c8e=si(),Zv=function(e){return function(){return c8e}};var vK=z(pt),f8e=Qe(Xe);var v8e=function(e){return function(n){return function(t){return R1(e)(function(a){return n({init:vK(t),update:function(r){return function(o){return vK(o)}},view:$D(a)})})}}},sa=function(e){return v8e("UseState")(f8e)(e)};var mn=function(){return{"genericTop'":fe.value}}();var yL=function(e){return e["genericTop'"]},pn=function(e){return{"genericTop'":yL(e)}};var _n=function(){return{"genericBottom'":fe.value}}();var gS=function(e){return e["genericBottom'"]},dn=function(e){return{"genericBottom'":gS(e)}};var hn=function(e){return{"genericBottom'":new H(gS(e))}},mK=function(e){var n=lh(e);return function(t){return n(gS(t))}};var hm=N(J),l2=on();var bL=function(e){return e["genericToEnum'"]};var c2=function(e){return e["genericSucc'"]},s2=function(e){var n=lh(e),t=xp(e);return function(a){var r=hm(n),o=c2(a);return function(i){return r(o(t(i)))}}},f2=function(e){return e["genericPred'"]},_K=function(e){var n=lh(e),t=xp(e);return function(a){var r=hm(n),o=f2(a);return function(i){return r(o(t(i)))}}},v2=function(e){return e["genericFromEnum'"]},dK=function(e){var n=xp(e);return function(t){var a=v2(t);return function(r){return a(n(r))}}},gn=function(e){var n=f2(e),t=c2(e);return function(a){var r=yL(a);return function(o){var i=f2(o),u=c2(o);return function(l){var c=gS(l);return{"genericPred'":function(s){if(s instanceof H)return hm(H.create)(n(s.value0));if(s instanceof p){var f=i(s.value0);if(f instanceof C)return new d(new H(r));if(f instanceof d)return new d(new p(f.value0));throw new Error("Failed pattern match at Data.Enum.Generic (line 30, column 14 - line 32, column 31): "+[f.constructor.name])}throw new Error("Failed pattern match at Data.Enum.Generic (line 28, column 18 - line 32, column 31): "+[s.constructor.name])},"genericSucc'":function(s){if(s instanceof H){var f=t(s.value0);if(f instanceof C)return new d(new p(c));if(f instanceof d)return new d(new H(f.value0));throw new Error("Failed pattern match at Data.Enum.Generic (line 34, column 14 - line 36, column 31): "+[f.constructor.name])}if(s instanceof p)return hm(p.create)(u(s.value0));throw new Error("Failed pattern match at Data.Enum.Generic (line 33, column 18 - line 37, column 36): "+[s.constructor.name])}}}}}};var Dn={"genericPred'":function(e){return C.value},"genericSucc'":function(e){return C.value}},yn=function(e){var n=f2(e),t=c2(e);return{"genericPred'":function(a){return hm(iw)(n(a))},"genericSucc'":function(a){return hm(iw)(t(a))}}};var RL=function(e){return e["genericCardinality'"]};var bn=function(e){var n=RL(e),t=bL(e),a=v2(e);return function(r){var o=bL(r),i=v2(r);return{"genericCardinality'":l2(n)+l2(RL(r))|0,"genericToEnum'":function(u){var l=function(c){if(u>=0&&un=>t=>a=>{let r=h8e[e];if(typeof console!="undefined"&&console[r]&&console[r](n,t),typeof window!="undefined"){let o=new Error(n);typeof window.Sentry!="undefined"&&window.Sentry.captureException(o,{extra:t})}return a()},hK=(e,n)=>(n.__sentryFingerprint=e,n);var gK=function(e){return Tu(hK)(e)};var Qo="error";var m2={parseOrPanic:function(e){return function(n){var t=e.parse(n);if(t instanceof ln)return t.value0;if(t instanceof rn)return Lo(Qo)("Failed to parse "+e.diagnosticName)({error:t.value0,value:n})(function(a){return e.default});throw new Error("Failed pattern match at Utils.Parse (line 49, column 5 - line 57, column 24): "+[t.constructor.name])}}},ut=function(e){return e.parseOrPanic},g8e=ut(m2),Xn=function(e){var n=ut(e);return function(t){var a=N(t);return function(r){return n({parse:function(o){return a(d.create)(r.parse(o))},default:C.value,diagnosticName:r.diagnosticName})}}},D8e=Xn(m2)(ii),DS=function(e){var n=mm(e);return function(t){return D8e({parse:n,diagnosticName:t})}},Ge={parseOrPanic:function(e){return g8e({default:e.default,diagnosticName:e.diagnosticName,parse:function(){var n=Oe(new rn(""))(ln.create);return function(t){return n(e.parse(t))}}()})}};var DK=ut(Ge);var y8e=yf(Te);var n_={name:"United States of America",code:"US"},qh=function(e){return e.name},t_=function(e){return e.code};var wL=function(){var e=function(n){return function(t){return{name:n,code:t}}};return[e("Alabama")("AL"),e("Alaska")("AK"),e("Arizona")("AZ"),e("Arkansas")("AR"),e("California")("CA"),e("Colorado")("CO"),e("Connecticut")("CT"),e("Delaware")("DE"),e("Washington DC")("DC"),e("Florida")("FL"),e("Georgia")("GA"),e("Hawaii")("HI"),e("Idaho")("ID"),e("Illinois")("IL"),e("Indiana")("IN"),e("Iowa")("IA"),e("Kansas")("KS"),e("Kentucky")("KY"),e("Louisiana")("LA"),e("Maine")("ME"),e("Maryland")("MD"),e("Massachusetts")("MA"),e("Michigan")("MI"),e("Minnesota")("MN"),e("Mississippi")("MS"),e("Missouri")("MO"),e("Montana")("MT"),e("Nebraska")("NE"),e("Nevada")("NV"),e("New Hampshire")("NH"),e("New Jersey")("NJ"),e("New Mexico")("NM"),e("New York")("NY"),e("North Carolina")("NC"),e("North Dakota")("ND"),e("Ohio")("OH"),e("Oklahoma")("OK"),e("Oregon")("OR"),e("Pennsylvania")("PA"),e("Puerto Rico")("PR"),e("Rhode Island")("RI"),e("South Carolina")("SC"),e("South Dakota")("SD"),e("Tennessee")("TN"),e("Texas")("TX"),e("Utah")("UT"),e("Vermont")("VT"),e("Virginia")("VA"),e("Washington")("WA"),e("West Virginia")("WV"),e("Wisconsin")("WI"),e("Wyoming")("WY")]}(),b8e=Gn(t_)(wL),S1=DK({parse:b8e,default:{name:"",code:""},diagnosticName:"USState"}),yK=DK({parse:Gn(qh)(wL),default:{name:"",code:""},diagnosticName:"USState"}),bK=[n_,{name:"Afghanistan",code:"AF"},{name:"Albania",code:"AL"},{name:"Algeria",code:"DZ"},{name:"American Samoa",code:"AS"},{name:"Andorra",code:"AD"},{name:"Angola",code:"AO"},{name:"Anguilla",code:"AI"},{name:"Antarctica",code:"AQ"},{name:"Antigua and Barbuda",code:"AG"},{name:"Argentina",code:"AR"},{name:"Armenia",code:"AM"},{name:"Aruba",code:"AW"},{name:"Australia",code:"AU"},{name:"Austria",code:"AT"},{name:"Azerbaijan",code:"AZ"},{name:"Bahamas",code:"BS"},{name:"Bahrain",code:"BH"},{name:"Bangladesh",code:"BD"},{name:"Barbados",code:"BB"},{name:"Belarus",code:"BY"},{name:"Belgium",code:"BE"},{name:"Belize",code:"BZ"},{name:"Benin",code:"BJ"},{name:"Bermuda",code:"BM"},{name:"Bhutan",code:"BT"},{name:"Bolivia",code:"BO"},{name:"Bonaire, Sint Eustatius and Saba",code:"BQ"},{name:"Bosnia and Herzegovina",code:"BA"},{name:"Botswana",code:"BW"},{name:"Bouvet Island",code:"BV"},{name:"Brazil",code:"BR"},{name:"British Indian Ocean Territory",code:"IO"},{name:"Brunei Darussalam",code:"BN"},{name:"Bulgaria",code:"BG"},{name:"Burkina Faso",code:"BF"},{name:"Burundi",code:"BI"},{name:"Cabo Verde",code:"CV"},{name:"Cambodia",code:"KH"},{name:"Cameroon",code:"CM"},{name:"Canada",code:"CA"},{name:"Cayman Islands",code:"KY"},{name:"Central African Republic",code:"CF"},{name:"Chad",code:"TD"},{name:"Chile",code:"CL"},{name:"China",code:"CN"},{name:"Christmas Island",code:"CX"},{name:"Cocos (Keeling) Islands",code:"CC"},{name:"Colombia",code:"CO"},{name:"Comoros",code:"KM"},{name:"Democratic Republic of the Congo",code:"CD"},{name:"Congo",code:"CG"},{name:"Cook Islands",code:"CK"},{name:"Costa Rica",code:"CR"},{name:"Croatia",code:"HR"},{name:"Cuba",code:"CU"},{name:"Cura\xE7ao",code:"CW"},{name:"Cyprus",code:"CY"},{name:"Czech Republic",code:"CZ"},{name:"C\xF4te d'Ivoire",code:"CI"},{name:"Denmark",code:"DK"},{name:"Djibouti",code:"DJ"},{name:"Dominica",code:"DM"},{name:"Dominican Republic",code:"DO"},{name:"Ecuador",code:"EC"},{name:"Egypt",code:"EG"},{name:"El Salvador",code:"SV"},{name:"Equatorial Guinea",code:"GQ"},{name:"Eritrea",code:"ER"},{name:"Estonia",code:"EE"},{name:"Eswatini",code:"SZ"},{name:"Ethiopia",code:"ET"},{name:"Falkland Islands",code:"FK"},{name:"Faroe Islands",code:"FO"},{name:"Fiji",code:"FJ"},{name:"Finland",code:"FI"},{name:"France",code:"FR"},{name:"French Guiana",code:"GF"},{name:"French Polynesia",code:"PF"},{name:"French Southern Territories",code:"TF"},{name:"Gabon",code:"GA"},{name:"Gambia",code:"GM"},{name:"Georgia",code:"GE"},{name:"Germany",code:"DE"},{name:"Ghana",code:"GH"},{name:"Gibraltar",code:"GI"},{name:"Greece",code:"GR"},{name:"Greenland",code:"GL"},{name:"Grenada",code:"GD"},{name:"Guadeloupe",code:"GP"},{name:"Guam",code:"GU"},{name:"Guatemala",code:"GT"},{name:"Guernsey",code:"GG"},{name:"Guinea",code:"GN"},{name:"Guinea-Bissau",code:"GW"},{name:"Guyana",code:"GY"},{name:"Haiti",code:"HT"},{name:"Heard Island and McDonald Islands",code:"HM"},{name:"Honduras",code:"HN"},{name:"Hong Kong",code:"HK"},{name:"Hungary",code:"HU"},{name:"Iceland",code:"IS"},{name:"India",code:"IN"},{name:"Indonesia",code:"ID"},{name:"Iran",code:"IR"},{name:"Iraq",code:"IQ"},{name:"Ireland",code:"IE"},{name:"Isle of Man",code:"IM"},{name:"Israel",code:"IL"},{name:"Italy",code:"IT"},{name:"Jamaica",code:"JM"},{name:"Japan",code:"JP"},{name:"Jersey",code:"JE"},{name:"Jordan",code:"JO"},{name:"Kazakhstan",code:"KZ"},{name:"Kenya",code:"KE"},{name:"Kiribati",code:"KI"},{name:"North Korea",code:"KP"},{name:"South Korea",code:"KR"},{name:"Kuwait",code:"KW"},{name:"Kyrgyzstan",code:"KG"},{name:"Lao",code:"LA"},{name:"Latvia",code:"LV"},{name:"Lebanon",code:"LB"},{name:"Lesotho",code:"LS"},{name:"Liberia",code:"LR"},{name:"Libya",code:"LY"},{name:"Liechtenstein",code:"LI"},{name:"Lithuania",code:"LT"},{name:"Luxembourg",code:"LU"},{name:"Macao",code:"MO"},{name:"Madagascar",code:"MG"},{name:"Malawi",code:"MW"},{name:"Malaysia",code:"MY"},{name:"Maldives",code:"MV"},{name:"Mali",code:"ML"},{name:"Malta",code:"MT"},{name:"Marshall Islands",code:"MH"},{name:"Martinique",code:"MQ"},{name:"Mauritania",code:"MR"},{name:"Mauritius",code:"MU"},{name:"Mayotte",code:"YT"},{name:"Mexico",code:"MX"},{name:"Micronesia",code:"FM"},{name:"Moldova",code:"MD"},{name:"Monaco",code:"MC"},{name:"Mongolia",code:"MN"},{name:"Montenegro",code:"ME"},{name:"Montserrat",code:"MS"},{name:"Morocco",code:"MA"},{name:"Mozambique",code:"MZ"},{name:"Myanmar",code:"MM"},{name:"Namibia",code:"NA"},{name:"Nauru",code:"NR"},{name:"Nepal",code:"NP"},{name:"Netherlands",code:"NL"},{name:"New Caledonia",code:"NC"},{name:"New Zealand",code:"NZ"},{name:"Nicaragua",code:"NI"},{name:"Niger",code:"NE"},{name:"Nigeria",code:"NG"},{name:"Niue",code:"NU"},{name:"Norfolk Island",code:"NF"},{name:"Northern Mariana Islands",code:"MP"},{name:"Norway",code:"NO"},{name:"Oman",code:"OM"},{name:"Pakistan",code:"PK"},{name:"Palau",code:"PW"},{name:"Palestine",code:"PS"},{name:"Panama",code:"PA"},{name:"Papua New Guinea",code:"PG"},{name:"Paraguay",code:"PY"},{name:"Peru",code:"PE"},{name:"Philippines",code:"PH"},{name:"Pitcairn",code:"PN"},{name:"Poland",code:"PL"},{name:"Portugal",code:"PT"},{name:"Puerto Rico",code:"PR"},{name:"Qatar",code:"QA"},{name:"Republic of North Macedonia",code:"MK"},{name:"Romania",code:"RO"},{name:"Russian Federation",code:"RU"},{name:"Rwanda",code:"RW"},{name:"R\xE9union",code:"RE"},{name:"Saint Barth\xE9lemy",code:"BL"},{name:"Saint Helena, Ascension and Tristan da Cunha",code:"SH"},{name:"Saint Kitts and Nevis",code:"KN"},{name:"Saint Lucia",code:"LC"},{name:"Saint Martin (French part)",code:"MF"},{name:"Saint Pierre and Miquelon",code:"PM"},{name:"Saint Vincent and the Grenadines",code:"VC"},{name:"Samoa",code:"WS"},{name:"San Marino",code:"SM"},{name:"Sao Tome and Principe",code:"ST"},{name:"Saudi Arabia",code:"SA"},{name:"Senegal",code:"SN"},{name:"Serbia",code:"RS"},{name:"Seychelles",code:"SC"},{name:"Sierra Leone",code:"SL"},{name:"Singapore",code:"SG"},{name:"Sint Maarten",code:"SX"},{name:"Slovakia",code:"SK"},{name:"Slovenia",code:"SI"},{name:"Solomon Islands",code:"SB"},{name:"Somalia",code:"SO"},{name:"South Africa",code:"ZA"},{name:"South Georgia",code:"GS"},{name:"South Sudan",code:"SS"},{name:"Spain",code:"ES"},{name:"Sri Lanka",code:"LK"},{name:"Sudan",code:"SD"},{name:"Suriname",code:"SR"},{name:"Svalbard and Jan Mayen",code:"SJ"},{name:"Sweden",code:"SE"},{name:"Switzerland",code:"CH"},{name:"Syrian Arab Republic",code:"SY"},{name:"Taiwan",code:"TW"},{name:"Tajikistan",code:"TJ"},{name:"Tanzania",code:"TZ"},{name:"Thailand",code:"TH"},{name:"Timor-Leste",code:"TL"},{name:"Togo",code:"TG"},{name:"Tokelau",code:"TK"},{name:"Tonga",code:"TO"},{name:"Trinidad and Tobago",code:"TT"},{name:"Tunisia",code:"TN"},{name:"Turkey",code:"TR"},{name:"Turkmenistan",code:"TM"},{name:"Turks and Caicos Islands",code:"TC"},{name:"Tuvalu",code:"TV"},{name:"Uganda",code:"UG"},{name:"Ukraine",code:"UA"},{name:"United Arab Emirates",code:"AE"},{name:"United Kingdom",code:"GB"},{name:"United States Minor Outlying Islands",code:"UM"},{name:"Uruguay",code:"UY"},{name:"Uzbekistan",code:"UZ"},{name:"Vanuatu",code:"VU"},{name:"Venezuela (Bolivarian Republic of)",code:"VE"},{name:"Viet Nam",code:"VN"},{name:"Virgin Islands (British)",code:"VG"},{name:"Virgin Islands (U.S.)",code:"VI"},{name:"Wallis and Futuna",code:"WF"},{name:"Western Sahara",code:"EH"},{name:"Yemen",code:"YE"},{name:"Zambia",code:"ZM"},{name:"Zimbabwe",code:"ZW"},{name:"\xC5land Islands",code:"AX"}],R8e=function(e){return y8e(function(n){return function(t){return t===e}(function(t){return t.code}(n))})(bK)},p2=Xn(Ge)(J)({parse:R8e,diagnosticName:"Common.Geo.Country"});var w8e=function(e){return e};var E1=function(e){return e},yS=w8e;var RK=Z(J),S8e=Nt(Ur),E8e=Hr(Te)(ft),Fl=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),al=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),bS=function(e){if(e instanceof Fl)return qh(e.value0.state);if(e instanceof al)return e.value0.country.name;throw new Error("Failed pattern match at Common.Address (line 156, column 22 - line 158, column 41): "+[e.constructor.name])};var RS=function(e){if(e instanceof Fl)return e.value0.region;if(e instanceof al)return"Non-US";throw new Error("Failed pattern match at Common.Address (line 136, column 10 - line 138, column 29): "+[e.constructor.name])},C8e=function(e){return{street:e.street,city:e.city,county:e.county,region:e.region,zip:e.zip,state:S1(e.state),location:yS(e.location)}},I8e=function(e){return{address:e.address,country:Ee(n_)(p2(e.country)),location:yS(e.location)}},wK=function(e){var n=RK(ee(e.usAddress))(function(a){return new Fl(C8e(a))}),t=RK(ee(e.nonUSAddress))(function(a){return new al(I8e(a))});return aF(function(a){return Lo(Qo)("Unable to parse Address: Unknown Address")({raw:e})(function(r){return new al({address:"",country:n_,location:yS({lat:-48.8766632,lng:-123.395522})})})})(S8e(n)(t))},wS=function(e){if(e instanceof Fl||e instanceof al)return e.value0.location;throw new Error("Failed pattern match at Common.Address (line 131, column 12 - line 133, column 37): "+[e.constructor.name])},SS=function(e){if(e instanceof Fl)return e.value0.city+(", "+qh(e.value0.state));if(e instanceof al)return e.value0.country.name;throw new Error("Failed pattern match at Common.Address (line 141, column 26 - line 143, column 41): "+[e.constructor.name])},SL=function(e){if(e instanceof Fl)return E8e(" ")([e.value0.street,SS(e),e.value0.zip]);if(e instanceof al)return e.value0.address;throw new Error("Failed pattern match at Common.Address (line 120, column 18 - line 124, column 17): "+[e.constructor.name])};var T8e=ut(Ge),SK=yn(Dn),EK=gn(SK)(pn(mn)),CK=dn(_n),IK=hn(CK),TK=wn(Rn),FK=bn(TK),_2=function(){function e(){}return e.value=new e,e}(),EL=function(){function e(){}return e.value=new e,e}(),CL=function(){function e(){}return e.value=new e,e}(),F8e={to:function(e){if(e instanceof H)return _2.value;if(e instanceof p&&e.value0 instanceof H)return EL.value;if(e instanceof p&&e.value0 instanceof p)return CL.value;throw new Error("Failed pattern match at Common.CampusSetting (line 16, column 1 - line 16, column 40): "+[e.constructor.name])},from:function(e){if(e instanceof _2)return new H(fe.value);if(e instanceof EL)return new p(new H(fe.value));if(e instanceof CL)return new p(new p(fe.value));throw new Error("Failed pattern match at Common.CampusSetting (line 16, column 1 - line 16, column 40): "+[e.constructor.name])}},M8e=Sn(F8e)(EK(EK(SK)(CK))(IK))(FK(FK(TK)))(IK);var zh=function(e){if(e instanceof _2)return"Rural";if(e instanceof CL)return"Urban";if(e instanceof EL)return"Suburban";throw new Error("Failed pattern match at Common.CampusSetting (line 21, column 8 - line 24, column 25): "+[e.constructor.name])},MK=function(){return T8e({parse:Gn(zh)(M8e),default:_2.value,diagnosticName:"CampusSetting"})}();var GK=function(e){return function(n){return n.join(e)}};var G8e=Ye(ca),jo={genericShowArgs:function(e){return[]}};var A8e=function(e){return e.genericShowArgs};var eo=function(e){var n=A8e(e);return function(t){var a=sr(t);return{"genericShow'":function(r){var o=a(Et.value),i=n(r);return i.length===0?o:"("+(GK(" ")(G8e([o])(i))+")")}}}},IL=function(e){return e["genericShow'"]};var vo=function(e){var n=IL(e);return function(t){var a=IL(t);return{"genericShow'":function(r){if(r instanceof H)return n(r.value0);if(r instanceof p)return a(r.value0);throw new Error("Failed pattern match at Data.Show.Generic (line 26, column 1 - line 28, column 40): "+[r.constructor.name])}}}},no=function(e){var n=xp(e);return function(t){var a=IL(t);return function(r){return a(n(r))}}};var xf=function(e){var n=null;return function(){return e===void 0||(n=e(),e=void 0),n}},Dc=function(e){return e()};var h2=function(e){var n=N(e);return{map:function(t){return function(a){return function(r){return n(function(o){return new Ue(t(o.value0),o.value1)})(a(r))}}}}};var C1=function(e){return{Applicative0:function(){return ES(e)},Bind1:function(){return g2(e)}}},g2=function(e){var n=K(e.Bind1());return{bind:function(t){return function(a){return function(r){return n(t(r))(function(o){var i=a(o.value0);return i(o.value1)})}}},Apply0:function(){return D2(e)}}},D2=function(e){var n=h2(e.Bind1().Apply0().Functor0());return{apply:rc(C1(e)),Functor0:function(){return n}}},ES=function(e){var n=z(e.Applicative0());return{pure:function(t){return function(a){return n(new Ue(t,a))}},Apply0:function(){return D2(e)}}};var y2=function(e){var n=e.Monad0(),t=K(n.Bind1()),a=z(n.Applicative0()),r=Xu(e),o=C1(n);return{tailRecM:function(i){return function(u){var l=function(c){var s=i(c.value0);return t(s(c.value1))(function(f){return a(function(){if(f.value0 instanceof Wo)return new Wo(new Ue(f.value0.value0,f.value1));if(f.value0 instanceof qo)return new qo(new Ue(f.value0.value0,f.value1));throw new Error("Failed pattern match at Control.Monad.State.Trans (line 88, column 16 - line 90, column 40): "+[f.value0.constructor.name])}())})};return function(c){return r(l)(new Ue(u,c))}}},Monad0:function(){return o}}},I1=function(e){var n=z(e.Applicative0()),t=C1(e);return{state:function(a){return function(r){return n(a(r))}},Monad0:function(){return t}}};var b2=function(e){return function(n){var t=e(n);return t.value0}};var U8e=El($a),H8e=za();var jK=function(e){return e};var B8e=1,AL=2147483647,J8e=function(){return AL-1|0}(),NK=function(e){var n=function(t){return function(a){return function(r){var o=a-t|0,i=U8e(r)(o),u=it=>{try{let a=new Date(t);return isNaN(a.getTime())?n:e(a)}catch{return n}},f9=e=>({year:e.getFullYear(),month:e.getMonth(),day:e.getDate(),hour:e.getHours(),minute:e.getMinutes(),second:e.getSeconds(),millisecond:e.getMilliseconds()}),ane=()=>new Date,p9e=(()=>{let e=new Date;return typeof window!="undefined"?()=>e:()=>{let n=new Date;return n-e>1e3&&(e=n),e}})();var _9e=(()=>{let e=new Date().toString(),n=(e.match(/\(([\w\s]+)\)$/)||[])[1];return n?/\s/.test(n)?(n.match(/\b(\w)/g)||[]).join(""):n:(n=(e.match(/(\w{3,4})\s\d{4}$/)||[])[1],n||(n=(e.match(/(UTC[\+\-]\d+)/)||[])[1],n)||(n=(e.match(/(GMT[\+\-]\d+)/)||[])[1],n)?n:"")})();var rne=function(e,n,t){var a=new Date(Date.UTC(e,n,t));return e>=0&&e<100&&a.setUTCFullYear(e),a};function one(e,n,t,a){var r=rne(n,t-1,a);return e(r.getUTCFullYear())(r.getUTCMonth()+1)(r.getUTCDate())}function ine(e,n,t){return rne(e,n-1,t).getUTCDay()}var J2=function(e,n,t){var a=0,r;return function(o){if(a===2)return r;if(a===1)throw new ReferenceError(e+" was needed before it finished initializing (module "+n+", line "+o+")",n,o);return a=1,r=t(),a=2,r}};var Ic=function(){function e(){}return e.value=new e,e}(),ys=function(){function e(){}return e.value=new e,e}(),bs=function(){function e(){}return e.value=new e,e}(),Rs=function(){function e(){}return e.value=new e,e}(),ws=function(){function e(){}return e.value=new e,e}(),Ss=function(){function e(){}return e.value=new e,e}(),$f=function(){function e(){}return e.value=new e,e}(),rl=function(){function e(){}return e.value=new e,e}(),Gl=function(){function e(){}return e.value=new e,e}(),ol=function(){function e(){}return e.value=new e,e}(),Al=function(){function e(){}return e.value=new e,e}(),xl=function(){function e(){}return e.value=new e,e}(),il=function(){function e(){}return e.value=new e,e}(),ul=function(){function e(){}return e.value=new e,e}(),Ll=function(){function e(){}return e.value=new e,e}(),jl=function(){function e(){}return e.value=new e,e}(),Nl=function(){function e(){}return e.value=new e,e}(),Pl=function(){function e(){}return e.value=new e,e}(),Tc=function(){function e(){}return e.value=new e,e}();var une={show:function(e){if(e instanceof Ic)return"Monday";if(e instanceof ys)return"Tuesday";if(e instanceof bs)return"Wednesday";if(e instanceof Rs)return"Thursday";if(e instanceof ws)return"Friday";if(e instanceof Ss)return"Saturday";if(e instanceof $f)return"Sunday";throw new Error("Failed pattern match at Data.Date.Component (line 184, column 1 - line 191, column 25): "+[e.constructor.name])}},v9={show:function(e){if(e instanceof rl)return"January";if(e instanceof Gl)return"February";if(e instanceof ol)return"March";if(e instanceof Al)return"April";if(e instanceof xl)return"May";if(e instanceof il)return"June";if(e instanceof ul)return"July";if(e instanceof Ll)return"August";if(e instanceof jl)return"September";if(e instanceof Nl)return"October";if(e instanceof Pl)return"November";if(e instanceof Tc)return"December";throw new Error("Failed pattern match at Data.Date.Component (line 101, column 1 - line 113, column 29): "+[e.constructor.name])}};var W2=Dt,q2=Dt,lne=ar,d9e={eq:function(e){return function(n){return e instanceof Ic&&n instanceof Ic||e instanceof ys&&n instanceof ys||e instanceof bs&&n instanceof bs||e instanceof Rs&&n instanceof Rs||e instanceof ws&&n instanceof ws||e instanceof Ss&&n instanceof Ss||e instanceof $f&&n instanceof $f}}},cne={compare:function(e){return function(n){if(e instanceof Ic&&n instanceof Ic)return Fe.value;if(e instanceof Ic)return Se.value;if(n instanceof Ic)return we.value;if(e instanceof ys&&n instanceof ys)return Fe.value;if(e instanceof ys)return Se.value;if(n instanceof ys)return we.value;if(e instanceof bs&&n instanceof bs)return Fe.value;if(e instanceof bs)return Se.value;if(n instanceof bs)return we.value;if(e instanceof Rs&&n instanceof Rs)return Fe.value;if(e instanceof Rs)return Se.value;if(n instanceof Rs)return we.value;if(e instanceof ws&&n instanceof ws)return Fe.value;if(e instanceof ws)return Se.value;if(n instanceof ws)return we.value;if(e instanceof Ss&&n instanceof Ss)return Fe.value;if(e instanceof Ss)return Se.value;if(n instanceof Ss)return we.value;if(e instanceof $f&&n instanceof $f)return Fe.value;throw new Error("Failed pattern match at Data.Date.Component (line 0, column 0 - line 0, column 0): "+[e.constructor.name,n.constructor.name])}},Eq0:function(){return d9e}},m9={eq:function(e){return function(n){return e instanceof rl&&n instanceof rl||e instanceof Gl&&n instanceof Gl||e instanceof ol&&n instanceof ol||e instanceof Al&&n instanceof Al||e instanceof xl&&n instanceof xl||e instanceof il&&n instanceof il||e instanceof ul&&n instanceof ul||e instanceof Ll&&n instanceof Ll||e instanceof jl&&n instanceof jl||e instanceof Nl&&n instanceof Nl||e instanceof Pl&&n instanceof Pl||e instanceof Tc&&n instanceof Tc}}},x1={compare:function(e){return function(n){if(e instanceof rl&&n instanceof rl)return Fe.value;if(e instanceof rl)return Se.value;if(n instanceof rl)return we.value;if(e instanceof Gl&&n instanceof Gl)return Fe.value;if(e instanceof Gl)return Se.value;if(n instanceof Gl)return we.value;if(e instanceof ol&&n instanceof ol)return Fe.value;if(e instanceof ol)return Se.value;if(n instanceof ol)return we.value;if(e instanceof Al&&n instanceof Al)return Fe.value;if(e instanceof Al)return Se.value;if(n instanceof Al)return we.value;if(e instanceof xl&&n instanceof xl)return Fe.value;if(e instanceof xl)return Se.value;if(n instanceof xl)return we.value;if(e instanceof il&&n instanceof il)return Fe.value;if(e instanceof il)return Se.value;if(n instanceof il)return we.value;if(e instanceof ul&&n instanceof ul)return Fe.value;if(e instanceof ul)return Se.value;if(n instanceof ul)return we.value;if(e instanceof Ll&&n instanceof Ll)return Fe.value;if(e instanceof Ll)return Se.value;if(n instanceof Ll)return we.value;if(e instanceof jl&&n instanceof jl)return Fe.value;if(e instanceof jl)return Se.value;if(n instanceof jl)return we.value;if(e instanceof Nl&&n instanceof Nl)return Fe.value;if(e instanceof Nl)return Se.value;if(n instanceof Nl)return we.value;if(e instanceof Pl&&n instanceof Pl)return Fe.value;if(e instanceof Pl)return Se.value;if(n instanceof Pl)return we.value;if(e instanceof Tc&&n instanceof Tc)return Fe.value;throw new Error("Failed pattern match at Data.Date.Component (line 0, column 0 - line 0, column 0): "+[e.constructor.name,n.constructor.name])}},Eq0:function(){return m9}},sne=ar,fne=function(){return{bottom:-271820|0,top:275759,Ord0:function(){return W2}}}(),h9e=function(){return{bottom:Ic.value,top:$f.value,Ord0:function(){return cne}}}(),vne=function(){return{bottom:rl.value,top:Tc.value,Ord0:function(){return x1}}}(),vi={cardinality:547580,toEnum:function(e){if(e>=(-271820|0)&&e<=275759)return new d(e);if(xe)return C.value;throw new Error("Failed pattern match at Data.Date.Component (line 35, column 1 - line 40, column 24): "+[e.constructor.name])},fromEnum:function(e){return e},Bounded0:function(){return fne},Enum1:function(){return g9e(0)}},g9e=J2("enumYear","Data.Date.Component",function(){return{succ:function(){var e=yt(vi),n=dt(vi);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=yt(vi),n=dt(vi);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return W2}}});var f_={cardinality:7,toEnum:function(e){return e===1?new d(Ic.value):e===2?new d(ys.value):e===3?new d(bs.value):e===4?new d(Rs.value):e===5?new d(ws.value):e===6?new d(Ss.value):e===7?new d($f.value):C.value},fromEnum:function(e){if(e instanceof Ic)return 1;if(e instanceof ys)return 2;if(e instanceof bs)return 3;if(e instanceof Rs)return 4;if(e instanceof ws)return 5;if(e instanceof Ss)return 6;if(e instanceof $f)return 7;throw new Error("Failed pattern match at Data.Date.Component (line 175, column 14 - line 182, column 16): "+[e.constructor.name])},Bounded0:function(){return h9e},Enum1:function(){return D9e(0)}},D9e=J2("enumWeekday","Data.Date.Component",function(){return{succ:function(){var e=yt(f_),n=dt(f_);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=yt(f_),n=dt(f_);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return cne}}});var to={cardinality:12,toEnum:function(e){return e===1?new d(rl.value):e===2?new d(Gl.value):e===3?new d(ol.value):e===4?new d(Al.value):e===5?new d(xl.value):e===6?new d(il.value):e===7?new d(ul.value):e===8?new d(Ll.value):e===9?new d(jl.value):e===10?new d(Nl.value):e===11?new d(Pl.value):e===12?new d(Tc.value):C.value},fromEnum:function(e){if(e instanceof rl)return 1;if(e instanceof Gl)return 2;if(e instanceof ol)return 3;if(e instanceof Al)return 4;if(e instanceof xl)return 5;if(e instanceof il)return 6;if(e instanceof ul)return 7;if(e instanceof Ll)return 8;if(e instanceof jl)return 9;if(e instanceof Nl)return 10;if(e instanceof Pl)return 11;if(e instanceof Tc)return 12;throw new Error("Failed pattern match at Data.Date.Component (line 87, column 14 - line 99, column 19): "+[e.constructor.name])},Bounded0:function(){return vne},Enum1:function(){return y9e(0)}},y9e=J2("enumMonth","Data.Date.Component",function(){return{succ:function(){var e=yt(to),n=dt(to);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=yt(to),n=dt(to);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return x1}}});var p9={bottom:1,top:31,Ord0:function(){return q2}},ll={cardinality:31,toEnum:function(e){if(e>=1&&e<=31)return new d(e);if(xe)return C.value;throw new Error("Failed pattern match at Data.Date.Component (line 133, column 1 - line 138, column 23): "+[e.constructor.name])},fromEnum:function(e){return e},Bounded0:function(){return p9},Enum1:function(){return b9e(0)}},b9e=J2("enumDay","Data.Date.Component",function(){return{succ:function(){var e=yt(ll),n=dt(ll);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=yt(ll),n=dt(ll);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return q2}}});var mne=dt(to),_9=za(),pne=yt(f_);var w9e=_e(lne),S9e=_e(m9),E9e=_e(sne),C9e=Ke(W2),I9e=Ke(x1),T9e=Ke(q2);var F9e=yt(to);var _ne=function(){function e(n,t,a){this.value0=n,this.value1=t,this.value2=a}return e.create=function(n){return function(t){return function(a){return new e(n,t,a)}}},e}(),Fc=function(e){return e.value0},NS=function(e){var n=ine(e.value0,mne(e.value1),e.value2),t=n===0;return _9(pne(t?7:n))};var Mc=function(e){return e.value1};var $2={eq:function(e){return function(n){return w9e(e.value0)(n.value0)&&S9e(e.value1)(n.value1)&&E9e(e.value2)(n.value2)}}},M9e=_e($2),dne={compare:function(e){return function(n){var t=C9e(e.value0)(n.value0);if(t instanceof Se)return Se.value;if(t instanceof we)return we.value;var a=I9e(e.value1)(n.value1);return a instanceof Se?Se.value:a instanceof we?we.value:T9e(e.value2)(n.value2)}},Eq0:function(){return $2}};var i0=function(e){return e.value2},v_=function(e){return function(n){return function(t){var a=function(r){return function(o){return function(i){return new _ne(r,_9(F9e(o)),i)}}};return one(a,e,mne(n),t)}}},V2=function(e){return function(n){return function(t){var a=new _ne(e,n,t),r=M9e(v_(e)(n)(t))(a);return r?new d(a):C.value}}};var G9e=function(e,n,t,a,r,o,i){var u=new Date(Date.UTC(e,n,t,a,r,o,i));return e>=0&&e<100&&u.setUTCFullYear(e),u.getTime()};function hne(e){return function(n){return function(t){return function(a){var r=G9e(a.year,a.month-1,a.day,a.hour,a.minute,a.second,a.millisecond),o=new Date(r+t);return isNaN(o.getTime())?n:e({year:o.getUTCFullYear(),month:o.getUTCMonth()+1,day:o.getUTCDate(),hour:o.getUTCHours(),minute:o.getUTCMinutes(),second:o.getUTCSeconds(),millisecond:o.getUTCMilliseconds()})}}}}var Q2=function(e,n,t){var a=0,r;return function(o){if(a===2)return r;if(a===1)throw new ReferenceError(e+" was needed before it finished initializing (module "+n+", line "+o+")",n,o);return a=1,r=t(),a=2,r}};var Y2=Dt,X2=Dt,Z2=Dt,K2=Dt,gne=ar,Dne=ar,yne=ar,bne=ar,d9={bottom:0,top:59,Ord0:function(){return Y2}},h9={bottom:0,top:59,Ord0:function(){return X2}},g9={bottom:0,top:999,Ord0:function(){return Z2}},D9={bottom:0,top:23,Ord0:function(){return K2}},Gc={cardinality:60,toEnum:function(e){if(e>=0&&e<=59)return new d(e);if(xe)return C.value;throw new Error("Failed pattern match at Data.Time.Component (line 90, column 1 - line 95, column 26): "+[e.constructor.name])},fromEnum:function(e){return e},Bounded0:function(){return d9},Enum1:function(){return A9e(0)}},A9e=Q2("enumSecond","Data.Time.Component",function(){return{succ:function(){var e=yt(Gc),n=dt(Gc);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=yt(Gc),n=dt(Gc);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return Y2}}});var Ac={cardinality:60,toEnum:function(e){if(e>=0&&e<=59)return new d(e);if(xe)return C.value;throw new Error("Failed pattern match at Data.Time.Component (line 61, column 1 - line 66, column 26): "+[e.constructor.name])},fromEnum:function(e){return e},Bounded0:function(){return h9},Enum1:function(){return x9e(0)}},x9e=Q2("enumMinute","Data.Time.Component",function(){return{succ:function(){var e=yt(Ac),n=dt(Ac);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=yt(Ac),n=dt(Ac);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return X2}}});var xc={cardinality:1e3,toEnum:function(e){if(e>=0&&e<=999)return new d(e);if(xe)return C.value;throw new Error("Failed pattern match at Data.Time.Component (line 120, column 1 - line 125, column 31): "+[e.constructor.name])},fromEnum:function(e){return e},Bounded0:function(){return g9},Enum1:function(){return L9e(0)}},L9e=Q2("enumMillisecond","Data.Time.Component",function(){return{succ:function(){var e=yt(xc),n=dt(xc);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=yt(xc),n=dt(xc);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return Z2}}});var Lc={cardinality:24,toEnum:function(e){if(e>=0&&e<=23)return new d(e);if(xe)return C.value;throw new Error("Failed pattern match at Data.Time.Component (line 32, column 1 - line 37, column 24): "+[e.constructor.name])},fromEnum:function(e){return e},Bounded0:function(){return D9},Enum1:function(){return j9e(0)}},j9e=Q2("enumHour","Data.Time.Component",function(){return{succ:function(){var e=yt(Lc),n=dt(Lc);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=yt(Lc),n=dt(Lc);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return K2}}});var O9e=_e(bne),U9e=_e(Dne),H9e=_e(gne),B9e=_e(yne),J9e=Ke(K2),W9e=Ke(X2),q9e=Ke(Y2),z9e=Ke(Z2);var m_=function(){function e(n,t,a,r){this.value0=n,this.value1=t,this.value2=a,this.value3=r}return e.create=function(n){return function(t){return function(a){return function(r){return new e(n,t,a,r)}}}},e}();var ym=function(e){return e.value2},bm=function(e){return e.value1},u0=function(e){return e.value3};var l0=function(e){return e.value0};var y9={eq:function(e){return function(n){return O9e(e.value0)(n.value0)&&U9e(e.value1)(n.value1)&&H9e(e.value2)(n.value2)&&B9e(e.value3)(n.value3)}}},Rne={compare:function(e){return function(n){var t=J9e(e.value0)(n.value0);if(t instanceof Se)return Se.value;if(t instanceof we)return we.value;var a=W9e(e.value1)(n.value1);if(a instanceof Se)return Se.value;if(a instanceof we)return we.value;var r=q9e(e.value2)(n.value2);return r instanceof Se?Se.value:r instanceof we?we.value:z9e(e.value3)(n.value3)}},Eq0:function(){return y9}};var $9e=dt(vi),V9e=dt(to),Q9e=dt(ll),Y9e=dt(Lc),X9e=dt(Ac),Z9e=dt(Gc),K9e=dt(xc);var eje=_e($2),nje=_e(y9),tje=Ke(dne),aje=Ke(Rne),rje=K(Le),L1=qn(Pa),b9=N(J),oje=yl(Le),ije=yt(vi),uje=yt(to),lje=yt(ll),cje=yt(Lc),sje=yt(Ac),fje=yt(Gc),vje=yt(xc),p_=function(){function e(n,t){this.value0=n,this.value1=t}return e.create=function(n){return function(t){return new e(n,t)}},e}(),mje=function(e){return{year:$9e(Fc(e.value0)),month:V9e(Mc(e.value0)),day:Q9e(i0(e.value0)),hour:Y9e(l0(e.value1)),minute:X9e(bm(e.value1)),second:Z9e(ym(e.value1)),millisecond:K9e(u0(e.value1))}};var Sne={eq:function(e){return function(n){return eje(e.value0)(n.value0)&&nje(e.value1)(n.value1)}}},eM={compare:function(e){return function(n){var t=tje(e.value0)(n.value0);return t instanceof Se?Se.value:t instanceof we?we.value:aje(e.value1)(n.value1)}},Eq0:function(){return Sne}};var Ene=function(e){var n=$F(e);return function(t){return function(a){return rje(hne(d.create)(C.value)(n(t))(mje(a)))(function(r){return L1(b9(p_.create)(oje(L1(L1(b9(V2)(ije(r.year)))(uje(r.month)))(lje(r.day)))))(L1(L1(L1(b9(m_.create)(cje(r.hour)))(sje(r.minute)))(fje(r.second)))(vje(r.millisecond)))})}}};function nM(e){return Math.round(e).toString()}var Cne=function(e){var n=Ye(e.Semigroup0()),t=function(a){return function(r){return function(o){var i=a,u=r,l=!1,c;function s(f,v,m){if(m<1)return l=!0,f;i=n(f)(v),u=v,o=m-1|0}for(;!l;)c=s(i,u,o);return c}}};return t(Da(e))};var Ine=re(ze),pje=Dr(is),_je=YR(t0);var dje=function(e){return"(line "+(Ine(e.line)+(", col "+(Ine(e.column)+")")))},hje=function(e){return r9(e)+(" "+dje(a9(e)))},R9=function(e){return function(n){return pje(hje)(qee(n)(_je(e)(c9)))}};var j1=K(a0);var Rje=z(Ds),wje=n1(Xh)(M1);var Sje=i8(Xh)(M1),tM=Cne(ft),Eje=Np(Ds)(gw),Cje=N(J);var Fne=kv(Dt),Ije=gr($a),Tje=re(ze),Fje=Z(ii),Mje=re($i),Gje=Qe(Xe);var Aje=j1(Zh(r0(o0("+"))))(function(e){return j1(wje(o0("0")))(function(n){return j1(Zh(r0(o0(",0"))))(function(t){return j1(Zh(r0(o0("."))))(function(a){return j1(Eje(a)(function(r){return r0(Sje(o0("0")))}))(function(r){return j1(Zh(r0(o0("a"))))(function(o){return Rje({sign:gt(e),before:da(n),comma:gt(t),after:Ee(0)(Cje(da)(r)),abbreviations:gt(o)})})})})})})}),xje=R9(Aje);var Mne=function(e){return function(n){var t=bF(n),a=function(){if(t>0)return Fne(Br(v8(t)/aY))(0);if(xe)return 0;throw new Error("Failed pattern match at Data.Formatter.Number (line 100, column 5 - line 102, column 22): "+[])}();if(e.abbreviations){var r=Ije(a)(3),o=function(){var y=r<1;return y?n:n/RF(1e3)(st(r))}(),i=function(){if(r===0)return"";if(r===1)return"K";if(r===2)return"M";if(r===3)return"G";if(r===4)return"T";if(r===5)return"P";if(r===6)return"E";if(r===7)return"Z";if(r===8)return"Y";if(xe)return"10e+"+Tje(r*3|0);throw new Error("Failed pattern match at Data.Formatter.Number (line 107, column 7 - line 117, column 53): "+[])}();return Mne({comma:e.comma,before:e.before,after:e.after,sign:e.sign,abbreviations:!1})(o)+i}var u=(e.before-a|0)-1|0,l=RF(10)(st(Fne(0)(e.after))),c=yh(t*l)/l,s=i1(c),f=c-s,v=yh(f*l),m=function(){var y=nM(v),S=Zr(y),G=tM("0")(e.after-S|0);return G+y}(),_=function(){var y=e.after<1;return y?"":"."+(function(){var S=v===0;return S?tM("0")(e.after):""}()+function(){var S=v>0;return S?m:""}())}(),R=function(y){return function(S){return function(G){var P=y,k=S,M=!1,O;function oe(le,ve,X){var be=KD(X);if(be instanceof C)return M=!0,s1(le);if(be instanceof d&&ve<3){P=Ci(be.value0.head)(le),k=ve+1|0,G=be.value0.tail;return}P=Ci(",")(le),k=0,G=X}for(;!M;)O=oe(P,k,G);return O}}},D=function(){return e.comma?R([])(0)(fw(Nw(tM("0")(u)+nM(s)))):tM("0")(u)+nM(s)}();return function(){var y=n<0;if(y)return"-";var S=n>0&&e.sign;return S?"+":""}()+(D+_)}},Lje=function(e){return function(n){return Fje(xje(e))(Jt(Mne)(n))}},__=function(e){return function(n){return rr(an(Mje(n)))(Gje)(Lje(e)(n))}};var jje=function(e,n,t,a,r,o,i){var u=new Date(Date.UTC(e,n,t,a,r,o,i));return e>=0&&e<100&&u.setUTCFullYear(e),u};function Gne(e,n,t,a,r,o,i){return jje(e,n-1,t,a,r,o,i).getTime()}function Ane(e){return function(n){var t=new Date(n);return e(t.getUTCFullYear())(t.getUTCMonth()+1)(t.getUTCDate())(t.getUTCHours())(t.getUTCMinutes())(t.getUTCSeconds())(t.getUTCMilliseconds())}}var Nje=za(),Pje=yt(to);var kje=dt(to);var xne=function(e){return e},aM=function(){var e=function(n){return function(t){return function(a){return function(r){return function(o){return function(i){return function(u){return new p_(v_(n)(Nje(Pje(t)))(a),new m_(r,o,i,u))}}}}}}};return Ane(e)}();var Lne=function(e){return Gne(Fc(e.value0),kje(Mc(e.value0)),i0(e.value0),l0(e.value1),bm(e.value1),ym(e.value1),u0(e.value1))};function w9(){return Date.now()}var Bje=N(it);var S9=Bje(aM)(w9);var rDt=function(){function e(){this.head=null,this.last=null,this.size=0}function n(s,f){this.queue=s,this.value=f,this.next=null,this.prev=null}function t(s){this.draining=!1,this.error=null,this.value=s,this.takes=new e,this.reads=new e,this.puts=new e}var a={};function r(s){try{s()}catch(f){setTimeout(function(){throw f},0)}}function o(s,f){var v=new n(s,f);switch(s.size){case 0:s.head=v;break;case 1:v.prev=s.head,s.head.next=v,s.last=v;break;default:v.prev=s.last,s.last.next=v,s.last=v}return s.size++,v}function i(s){var f;switch(s.size){case 0:return null;case 1:f=s.head,s.head=null;break;case 2:f=s.last,s.head.next=null,s.last=null;break;default:f=s.last,s.last=f.prev,s.last.next=null}return f.prev=null,f.queue=null,s.size--,f.value}function u(s){var f;switch(s.size){case 0:return null;case 1:f=s.head,s.head=null;break;case 2:f=s.head,s.last.prev=null,s.head=s.last,s.last=null;break;default:f=s.head,s.head=f.next,s.head.prev=null}return f.next=null,f.queue=null,s.size--,f.value}function l(s){if(s.queue!==null){if(s.queue.last===s){i(s.queue);return}if(s.queue.head===s){u(s.queue);return}s.prev&&(s.prev.next=s.next),s.next&&(s.next.prev=s.prev),s.queue.size--,s.queue=null,s.value=null,s.next=null,s.prev=null}}function c(s,f){if(!f.draining){var v=f.puts,m=f.takes,_=f.reads,R,D,y,S,G;for(f.draining=!0;;){if(R=null,D=null,y=null,S=f.value,G=_.size,f.error!==null){for(S=s.left(f.error);R=u(v);)r(R.cb(S));for(;D=u(_);)r(D(S));for(;y=u(m);)r(y(S));break}if(S===a&&(R=u(v))&&(f.value=S=R.value),S!==a){for(y=u(m);G--&&(D=u(_));)r(D(s.right(S)));y!==null&&(f.value=a,r(y(s.right(S))))}if(R!==null&&r(R.cb(s.right(void 0))),f.value===a&&v.size===0||f.value!==a&&m.size===0)break}f.draining=!1}}return t.EMPTY=a,t.putLast=o,t.takeLast=i,t.takeHead=u,t.deleteCell=l,t.drainVar=c,t}();var Kje=z(Kt),d_=K(Le),eNe=yt(vi),nNe=yt(to),tNe=yt(ll),aNe=yt(Lc),rNe=yt(Ac),oNe=yt(Gc),iNe=yt(xc),uNe=z(On),lNe=mt(Va),cNe=Z(J);var Nne=function(e){return d_(eNe(e.year))(function(n){return d_(nNe(e.month+1|0))(function(t){return d_(tNe(e.day))(function(a){return d_(aNe(e.hour))(function(r){return d_(rNe(e.minute))(function(o){return d_(oNe(e.second))(function(i){return d_(iNe(e.millisecond))(function(u){return uNe(new p_(v_(n)(t)(a),new m_(r,o,i,u)))})})})})})})})},sNe=function(e){var n=aX("Failed to obtain current time. This should never happen.");return Oe(n)(Kje)(Nne(f9(e)))},Kh=lNe(sNe)(ane);var eg=function(e){return d_(cNe(tne({just:d.create,nothing:C.value})(e))(f9))(Nne)};var oM=function(){function e(){}return e.value=new e,e}(),_Ne=function(){function e(){}return e.value=new e,e}(),dNe=function(){function e(){}return e.value=new e,e}();var Pne=function(e){if(e instanceof oM)return C.value;if(e instanceof dNe)return new d("open");if(e instanceof _Ne)return new d("on");throw new Error("Failed pattern match at Hub.Types.WhatificatorPhase (line 21, column 13 - line 24, column 22): "+[e.constructor.name])};var C9=void 0;var kne=Be;var N1=Be,kS=function(e){return Th(e)};var One=function(e){return function(n){var t=kS(n);return t?C9:N1(e(kne(n)))}},Rr=function(e){var n=kS(e);return n?C.value:new d(kne(e))};var Un=function(e){return function(n){var t=kS(e);return t?n:e}};var Sa=function(){return Be};var Une=z(Kt),Hne=zo(),Bne=function(e){return{handleMaybe:function(n){return function(t){return kh(function(){var a=Oe(Une(Ce))(n);return function(r){return a(Hne(t(r)))}}())}}}},iM=function(e){return{handleMaybe:function(n){return function(t){return function(a){return Oe(Une(Ce))(n)(Hne(t))()}}}}},ao={handle:function(e){return function(n){return function(t){return e(n(t))()}}}},mu={handleEffect:function(e){return kh(e)}},pr={handleEffect:function(e){return kh(an(e))}},_t={handle:function(e){return function(n){return function(t){return e(n)()}}}},P1=function(e){return e.handleMaybe},la=function(e){return e.handleEffect},An=function(e){return e.handle};var I9=gs(),T9=Af(),Jne=Ef()(),hNe=Mw();var k1=Be,Wne=function(e){return function(n){return I9(k1(e))(n)}},uM=function(e){var n=T9(e);return function(t){return function(a){return n(k1(t))(a)}}},jc=function(e){var n=T9(e);return function(t){return function(a){return function(r){return n(k1(t))(Jne(r)({className:a}))}}}},h_=function(e){return function(n){return function(t){return I9(k1(e))(Jne(t)({className:n}))}}},F9=function(e){return function(n){return I9(k1(e))({className:n})}},mo=function(e){return function(n){var t=T9(n);return function(a){return function(r){return t(k1(e))({className:a})(r)}}}};var fn=Be,O1=function(){return hNe};var U1=function(e){var n=jc(e);return function(){return function(){return n("ul")}}},Vf=function(e){return mo("ul")(e)};var c0=function(e){return mo("tr")(e)};var H1=function(e){return mo("thead")(e)};var B1=function(e){return mo("th")(e)};var kl=function(){return function(){return h_("textarea")}};var Es=function(e){return mo("td")(e)};var s0=function(e){return mo("tbody")(e)};var f0=function(e){return mo("table")(e)},Cs=function(e){var n=jc(e);return function(){return function(){return n("svg")}}};var lM=function(e){return mo("sup")(e)};var Ea=function(e){return mo("strong")(e)},J1=function(e){var n=jc(e);return function(){return function(){return n("span")}}},en=function(e){return mo("span")(e)};var cM=function(e){var n=jc(e);return function(){return function(){return n("select")}}};var sM=function(e){return mo("section")(e)};var Vn=function(e){return mo("p")(e)};var fM=function(e){var n=jc(e);return function(){return function(){return n("option")}}};var vM=function(e){return mo("ol")(e)};var mM=function(){return function(){return h_("meta")}};var cl=function(e){return mo("li")(e)};var pu=function(e){return mo("label")(e)};var Yo=function(){return function(){return h_("input")}};var v0=function(){return function(){return h_("img")}};var m0=function(e){var n=jc(e);return function(){return function(){return n("iframe")}}};var ta=function(e){return mo("i")(e)};var Ba=F9("hr");var Is=function(e){return mo("h6")(e)};var Ir=function(e){return mo("h4")(e)};var It=function(e){return mo("h3")(e)};var Zn=function(e){return mo("h2")(e)};var Nc=function(e){return mo("h1")(e)},pM=function(e){var n=jc(e);return function(){return function(){return n("form")}}};var Yn=function(e){var n=jc(e);return function(){return function(){return n("div")}}},B=function(e){return mo("div")(e)};var Ct=function(e){var n=jc(e);return function(){return function(){return n("button")}}};var _M=F9("br");var xa=function(e){var n=jc(e);return function(){return function(){return n("a")}}};var M9=function(){typeof window!="undefined"&&window.scrollTo(0,0)};var qne=function(e){var n=uM(e);return function(){return function(){return n("script")}}};var zne=function(e){var n=uM(e);return function(){return function(){return n("button")}}},$ne=function(){return function(){return Wne("br")}};var Vne=function(e){var n=uM(e);return function(){return function(){return n("a")}}};function Qne(e){return function(n){return function(){return n.getElementById(e)}}}var gNe=N(it),dM=function(e){var n=gNe(ee),t=Qne(e);return function(a){return n(t(a))}};var hM=function(e){return function(n){return function(){return n[e]}}},DNe=hM("children"),yNe=hM("firstElementChild"),bNe=hM("lastElementChild"),RNe=hM("childElementCount");var po=function(){return window};function Yne(e,n,t,a){if(typeof window!="undefined"){var r=window[t];if(r!=null&&a instanceof r)return n(a)}for(var o=a;o!=null;){var i=Object.getPrototypeOf(o),u=i.constructor.name;if(u===t)return n(a);if(u==="Object")return e;o=i}return e}var ot=function(e){return function(n){return Yne(C.value,d.create,e,n)}};var Xne=Be;function Zne(e){return e.body}var wNe=N(it);var gM=Be;var Kne=Be,ete=Be;var nte=function(e){return wNe(ee)(function(){return Zne(e)})};var tte=Be;function DM(e){return function(n){return function(t){return function(a){return function(){return a.replaceState(e,n,t)}}}}}function G9(e){return function(n){return function(){n.href=e}}}function Rm(e){return function(){return e.document}}function A9(e){return function(){return e.location}}function OS(e){return function(){return e.history}}function rte(e){return function(n){return function(t){return function(a){return function(){return a.open(e,n,t)}}}}}function W1(e){return function(){return e.localStorage}}var xNe=N(it);var ote=Be;var ite=function(e){return function(n){return function(t){return function(a){return xNe(ee)(rte(e)(n)(t)(a))}}}};var LNe=N(ge);var jNe=$ne()();var ute=K(Va),NNe=Z(it);var ma=Ee(un),Je=Jt(Oe(un));var PNe=function(e){return function(n){if(e)return un;if(xe)return n(Ce);throw new Error("Failed pattern match at Utils.HTML (line 111, column 1 - line 111, column 65): "+[e.constructor.name,n.constructor.name])}},x9=function(e){return function(n){return PNe(e)(an(n))}};var ng=function(e){return function(n){if(e)return n(Ce);if(xe)return un;throw new Error("Failed pattern match at Utils.HTML (line 98, column 1 - line 98, column 61): "+[e.constructor.name,n.constructor.name])}},vn=function(e){return function(n){return ng(e)(an(n))}};var US=function(e){return ce(ph(jNe({}))(LNe(Y)(Ii(` `)(e))))};var lte=function(e){return ute(NNe(ute(po)(Rm))(gM))(dM(e))};var Pc=zo(),kNe=Z(ge),ONe=hh(Vo),cte=cm(Te),UNe=N(J),HNe=N(Fw);var L9=function(e){return function(n){return function(t){return c8(function(a){return d.create(t(a))})(Pc(e))(Pc(n))}}};var yM=function(e){return function(n){return Tw(Pc(e))(n)}},bM=function(e){return function(n){return cte(Go(function(t){return UNe(Ue.create(Pc(t.value0)))(e(t.value1))})(ONe(n)))}},wm=function(e){return function(n){return HNe(e)(n)}},ste=function(e){return function(n){return function(t){return OQ(function(a){return d.create(t(a))})(Pc(e))(Pc(n))}}},Ts=function(e){return function(n){return cc(Pc(e))(Pc(n))}};var tg=function(e){return function(n){return function(t){return lm(Pc(e))(n)(Pc(t))}}},HS=function(e){return function(n){return function(t){return cte(kNe(t)(function(a){return new Ue(Pc(e(a)),n(a))}))}}};var BS=am,fte=function(e){return function(n){return l8(Pc(e))(Pc(n))}};var vte=yn(Dn),JS=gn(vte)(pn(mn)),mte=dn(_n),WS=hn(mte),pte=wn(Rn),qS=bn(pte),g_=function(){function e(){}return e.value=new e,e}(),zS=function(){function e(){}return e.value=new e,e}(),$S=function(){function e(){}return e.value=new e,e}(),VS=function(){function e(){}return e.value=new e,e}(),QS=function(){function e(){}return e.value=new e,e}(),YS=function(){function e(){}return e.value=new e,e}(),_te={to:function(e){if(e instanceof H)return g_.value;if(e instanceof p&&e.value0 instanceof H)return zS.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof H)return $S.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof H)return VS.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof H)return QS.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p)return YS.value;throw new Error("Failed pattern match at Hub.Types.ApplicationRound (line 25, column 1 - line 25, column 43): "+[e.constructor.name])},from:function(e){if(e instanceof g_)return new H(fe.value);if(e instanceof zS)return new p(new H(fe.value));if(e instanceof $S)return new p(new p(new H(fe.value)));if(e instanceof VS)return new p(new p(new p(new H(fe.value))));if(e instanceof QS)return new p(new p(new p(new p(new H(fe.value)))));if(e instanceof YS)return new p(new p(new p(new p(new p(fe.value)))));throw new Error("Failed pattern match at Hub.Types.ApplicationRound (line 25, column 1 - line 25, column 43): "+[e.constructor.name])}};var j9=function(e){if(e instanceof g_)return"REGULAR";if(e instanceof zS)return"EARLY_ACTION";if(e instanceof $S)return"EARLY_DECISION_I";if(e instanceof VS)return"EARLY_DECISION_II";if(e instanceof QS)return"OUT_OF_STATE";if(e instanceof YS)return"TRANSFER";throw new Error("Failed pattern match at Hub.Types.ApplicationRound (line 45, column 13 - line 51, column 25): "+[e.constructor.name])};var RM=function(){return g_.value}(),dte=ut(Ge)({parse:Gn(j9)(Sn(_te)(JS(JS(JS(JS(JS(vte)(mte))(WS))(WS))(WS))(WS))(qS(qS(qS(qS(qS(pte))))))(WS)),default:RM,diagnosticName:"ApplicationRound"});var BNe=K(jv),JNe=zo(),WNe=z(em);var N9=Ot,qNe=vc(N9)(Te);var wM=function(e){return qNe(BNe(JNe(e))(function(n){return WNe(new Ue(n.cipCode,n))}))},hte=function(){var e=r8(Eu(_e(va))(function(t){return t.areaOfStudy})),n=Cl(Ot)(function(t){return t.areaOfStudy});return function(t){return e(n(t))}}();var gte=function(e){return{id:e.id,slug:e.slug,name:e.name,imgixImageUrl:e.imgixImageUrl,acceptanceRate:ee(e.acceptanceRate),cityState:ee(e.cityState)}};var zNe=N(J);var Ra=function(){function e(){}return e.value=new e,e}(),zt=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),or=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Qf={map:function(e){return function(n){if(n instanceof Ra)return Ra.value;if(n instanceof zt)return new zt(e(n.value0));if(n instanceof or)return new or(zNe(e)(n.value0));throw new Error("Failed pattern match at Utils.Loadable (line 0, column 0 - line 0, column 0): "+[n.constructor.name])}}};var q1=function(e){if(e instanceof Ra)return new or(C.value);if(e instanceof zt)return new or(new d(e.value0));if(e instanceof or)return new or(e.value0);throw new Error("Failed pattern match at Utils.Loadable (line 63, column 13 - line 66, column 25): "+[e.constructor.name])},_o=function(e){if(e instanceof Ra)return C.value;if(e instanceof zt)return new d(e.value0);if(e instanceof or)return e.value0;throw new Error("Failed pattern match at Utils.Loadable (line 48, column 11 - line 51, column 17): "+[e.constructor.name])},XS=function(e){return function(n){if(n instanceof or&&n.value0 instanceof C)return new or(C.value);var t=function(r){var o=function(u){return Ra.value};if(n instanceof zt){var i=e(n.value0);return i instanceof d?new zt(i.value0):o(!0)}return o(!0)};if(n instanceof or&&n.value0 instanceof d){var a=e(n.value0.value0);return a instanceof d?new or(new d(a.value0)):t(!0)}return t(!0)}};var $Ne=Z(J),P9=K(Le);var VNe=Np(On)(wi),QNe=Rh(N9);var k9=function(e){return function(n){return Ee("")(Ts(e)(n.schoolNotes))}},ZS=function(e){return function(n){return Ts(e)(n.schoolList)}};var KS=function(e){return function(n){return XS(Ts(e))(n.schoolConnections)}};var SM=function(e){return function(n){return P9(_o(n.all))(function(t){return Ts(e)(t.table)})}};var O9=function(e){return function(n){return Ee([])(P9(SM(e)(n))(function(t){return VNe(t.majors)(function(a){return QNe(a)(n.majors)})}))}};var z1=function(e){return function(n){return XS(Ts(e))(n.financials)}};var ag=function(e){return function(n){return P9(_o(n.contentModules.content))(Ts(e))}};var U9=function(e){return function(n){return Ee(RM)($Ne(ZS(e)(n))(function(t){return t.applicationRound}))}};var _u=re(ze);var YNe=li(cs),XNe=YNe(ft);var ZNe=S6(Dt)(Pv);var H9=dt(vi),KNe=re(v9),ePe=dt(to),Dte=dt(ll),nPe=on(),tPe=dt(f_),yte=re(une),B9=dt(Lc),aPe=El($a),bte=dt(Ac),Rte=dt(Gc),J9=dt(xc),wte=gr($a);var EM=function(){function e(){}return e.value=new e,e}(),Ste=function(){function e(){}return e.value=new e,e}(),rPe=function(){function e(){}return e.value=new e,e}(),CM=function(){function e(){}return e.value=new e,e}(),eE=function(){function e(){}return e.value=new e,e}(),Ete=function(){function e(){}return e.value=new e,e}(),IM=function(){function e(){}return e.value=new e,e}(),TM=function(){function e(){}return e.value=new e,e}(),oPe=function(){function e(){}return e.value=new e,e}(),iPe=function(){function e(){}return e.value=new e,e}(),W9=function(){function e(){}return e.value=new e,e}(),uPe=function(){function e(){}return e.value=new e,e}(),lPe=function(){function e(){}return e.value=new e,e}(),FM=function(){function e(){}return e.value=new e,e}(),MM=function(){function e(){}return e.value=new e,e}(),cPe=function(){function e(){}return e.value=new e,e}(),GM=function(){function e(){}return e.value=new e,e}(),sPe=function(){function e(){}return e.value=new e,e}(),fPe=function(){function e(){}return e.value=new e,e}(),vPe=function(){function e(){}return e.value=new e,e}(),mPe=function(){function e(){}return e.value=new e,e}(),pPe=function(){function e(){}return e.value=new e,e}(),Sm=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}();var _Pe=function(e){if(e instanceof rl)return"Jan";if(e instanceof Gl)return"Feb";if(e instanceof ol)return"Mar";if(e instanceof Al)return"Apr";if(e instanceof xl)return"May";if(e instanceof il)return"Jun";if(e instanceof ul)return"Jul";if(e instanceof Ll)return"Aug";if(e instanceof jl)return"Sep";if(e instanceof Nl)return"Oct";if(e instanceof Pl)return"Nov";if(e instanceof Tc)return"Dec";throw new Error("Failed pattern match at Data.Formatter.DateTime (line 489, column 19 - line 501, column 22): "+[e.constructor.name])};var D_=function(e){if(e<0)return"-"+D_(-e|0);if(e<10)return"0"+_u(e);if(xe)return _u(e);throw new Error("Failed pattern match at Data.Formatter.DateTime (line 194, column 1 - line 194, column 32): "+[e.constructor.name])},Cte=function(e){if(e<0)return"-"+Cte(-e|0);if(e<10)return"000"+_u(e);if(e<100)return"00"+_u(e);if(e<1e3)return"0"+_u(e);if(xe)return _u(e);throw new Error("Failed pattern match at Data.Formatter.DateTime (line 207, column 1 - line 207, column 35): "+[e.constructor.name])},Ite=function(e){if(e<0)return"-"+Ite(-e|0);if(e<10)return"00"+_u(e);if(e<100)return"0"+_u(e);if(xe)return _u(e);throw new Error("Failed pattern match at Data.Formatter.DateTime (line 200, column 1 - line 200, column 32): "+[e.constructor.name])};var dPe=function(e){var n=_u(ZNe(e)),t=Zr(n);return t===1?"0"+n:t===2?n:Bw(t-2|0)(n)};var hPe=function(e){var n=e===0;return n?12:e},gPe=function(e){return function(n){if(n instanceof EM)return Cte(H9(Fc(e.value0)));if(n instanceof Ste)return dPe(H9(Fc(e.value0)));if(n instanceof rPe)return _u(H9(Fc(e.value0)));if(n instanceof CM)return KNe(Mc(e.value0));if(n instanceof eE)return _Pe(Mc(e.value0));if(n instanceof Ete)return D_(ePe(Mc(e.value0)));if(n instanceof IM)return D_(Dte(i0(e.value0)));if(n instanceof TM)return _u(Dte(i0(e.value0)));if(n instanceof oPe)return _u(Br(function(a){return a/1e3}(nPe(xne(Lne(e))))));if(n instanceof iPe)return _u(tPe(NS(e.value0)));if(n instanceof W9)return yte(NS(e.value0));if(n instanceof uPe)return pc(3)(yte(NS(e.value0)));if(n instanceof lPe)return D_(B9(l0(e.value1)));if(n instanceof FM)return D_(hPe(aPe(B9(l0(e.value1)))(12)));if(n instanceof MM){var t=B9(l0(e.value1))>=12;return t?"PM":"AM"}if(n instanceof cPe)return _u(bte(bm(e.value1)));if(n instanceof GM)return D_(bte(bm(e.value1)));if(n instanceof sPe)return _u(Rte(ym(e.value1)));if(n instanceof fPe)return D_(Rte(ym(e.value1)));if(n instanceof vPe)return Ite(J9(u0(e.value1)));if(n instanceof mPe)return _u(function(a){return wte(a)(100)}(J9(u0(e.value1))));if(n instanceof pPe)return D_(function(a){return wte(a)(10)}(J9(u0(e.value1))));if(n instanceof Sm)return n.value0;throw new Error("Failed pattern match at Data.Formatter.DateTime (line 169, column 38 - line 192, column 21): "+[n.constructor.name])}},nE=function(e){return function(n){return XNe(gPe(n))(e)}};var Tte=function(e){var n=function(o){return{month:ee(o.satSubjectTestDeadlineMonth),day:ee(o.satSubjectTestDeadlineDay)}},t=function(o){return{month:ee(o.satActDeadlineMonth),day:ee(o.satActDeadlineDay)}},a=function(o){return{month:ee(o.month),day:ee(o.day),isContinuous:ee(o.isContinuous)}},r=function(o){return{deadline:a(o.deadline),notification:a(o.notification)}};return{ipedsUnitId:ee(e.ipedsUnitId),inunId:e.inunId,year:e.year,hasEarlyAdmission:ee(e.hasEarlyAdmission),hasEarlyAction:ee(e.hasEarlyAction),hasEarlyDecision:ee(e.hasEarlyDecision),fallFreshmenDates:r(e.fallFreshmenDates),outstateFallFreshmenDates:r(e.outstateFallFreshmenDates),fallTransfersDates:r(e.fallTransfersDates),earlyDecisionDates:r(e.earlyDecisionDates),otherEarlyDecisionDates:r(e.otherEarlyDecisionDates),earlyActionDates:r(e.earlyActionDates),satActDeadline:t(e),satSubjectTestDeadline:n(e)}};var Fte=yn(Dn),q9=gn(Fte)(pn(mn)),Mte=dn(_n),z9=hn(Mte),Gte=wn(Rn),$9=bn(Gte),y_=function(){function e(){}return e.value=new e,e}(),rg=function(){function e(){}return e.value=new e,e}(),og=function(){function e(){}return e.value=new e,e}(),ig=function(){function e(){}return e.value=new e,e}(),DPe={to:function(e){if(e instanceof H)return y_.value;if(e instanceof p&&e.value0 instanceof H)return rg.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof H)return og.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p)return ig.value;throw new Error("Failed pattern match at Hub.Types.Chancing.Classification (line 23, column 1 - line 23, column 41): "+[e.constructor.name])},from:function(e){if(e instanceof y_)return new H(fe.value);if(e instanceof rg)return new p(new H(fe.value));if(e instanceof og)return new p(new p(new H(fe.value)));if(e instanceof ig)return new p(new p(new p(fe.value)));throw new Error("Failed pattern match at Hub.Types.Chancing.Classification (line 23, column 1 - line 23, column 41): "+[e.constructor.name])}};var Ate=function(e){if(e instanceof y_)return"reach";if(e instanceof rg)return"hard_target";if(e instanceof og)return"target";if(e instanceof ig)return"safety";throw new Error("Failed pattern match at Hub.Types.Chancing.Classification (line 36, column 13 - line 40, column 21): "+[e.constructor.name])},xte=function(){return ut(Ge)({parse:Gn(Ate)(Sn(DPe)(q9(q9(q9(Fte)(Mte))(z9))(z9))($9($9($9(Gte))))(z9)),default:y_.value,diagnosticName:"Hub.Types.Chancing.Classification"})}();var $1=function(e){if(e instanceof y_)return"Reach";if(e instanceof rg)return"Hard Target";if(e instanceof og)return"Target";if(e instanceof ig)return"Safety";throw new Error("Failed pattern match at Hub.Types.Chancing.Classification (line 43, column 9 - line 47, column 21): "+[e.constructor.name])};var Lte=function(e){if(e instanceof y_)return"bg-soft-warning bg-warning-soft text-warning-dark";if(e instanceof rg||e instanceof og)return"bg-soft-primary bg-primary-soft text-primary";if(e instanceof ig)return"bg-soft-success bg-success-soft text-success-dark";throw new Error("Failed pattern match at Hub.Types.Chancing.Classification (line 64, column 9 - line 68, column 64): "+[e.constructor.name])};var jte=yn(Dn),AM=gn(jte)(pn(mn)),Nte=dn(_n),xM=hn(Nte),Pte=wn(Rn),LM=bn(Pte),ug=function(){function e(){}return e.value=new e,e}(),Em=function(){function e(){}return e.value=new e,e}(),p0=function(){function e(){}return e.value=new e,e}(),lg=function(){function e(){}return e.value=new e,e}(),cg=function(){function e(){}return e.value=new e,e}(),yPe={to:function(e){if(e instanceof H)return ug.value;if(e instanceof p&&e.value0 instanceof H)return Em.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof H)return p0.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof H)return lg.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p)return cg.value;throw new Error("Failed pattern match at Hub.Types.Chancing.SpecialCaseRule (line 22, column 1 - line 22, column 42): "+[e.constructor.name])},from:function(e){if(e instanceof ug)return new H(fe.value);if(e instanceof Em)return new p(new H(fe.value));if(e instanceof p0)return new p(new p(new H(fe.value)));if(e instanceof lg)return new p(new p(new p(new H(fe.value))));if(e instanceof cg)return new p(new p(new p(new p(fe.value))));throw new Error("Failed pattern match at Hub.Types.Chancing.SpecialCaseRule (line 22, column 1 - line 22, column 42): "+[e.constructor.name])}};var bPe=function(e){if(e instanceof ug)return"ArtOrMusicSchool";if(e instanceof Em)return"DisqualifiedGender";if(e instanceof p0)return"TestsRequiredButNoneGiven";if(e instanceof lg)return"SchoolAutoAdmission";if(e instanceof cg)return"OpenAdmission";throw new Error("Failed pattern match at Hub.Types.Chancing.SpecialCaseRule (line 33, column 13 - line 38, column 35): "+[e.constructor.name])},kte=Xn(Ge)(J)({parse:Gn(bPe)(Sn(yPe)(AM(AM(AM(AM(jte)(Nte))(xM))(xM))(xM))(LM(LM(LM(LM(Pte)))))(xM)),diagnosticName:"Hub.Types.Chancing.SpecialCaseRule"});var RPe=re(ze),wPe=mt(Le),jM=function(e){return RPe(e)+"%"},SPe=function(e){return function(n){if(n instanceof ug)return new d("art or music school");if(n instanceof Em)return new d(lu(o_(e.gender)));if(n instanceof p0)return C.value;if(n instanceof lg)return C.value;if(n instanceof cg)return new d("open admission");throw new Error("Failed pattern match at Hub.Types.Chancing.Label (line 43, column 40 - line 48, column 41): "+[n.constructor.name])}},Ote=function(e){return function(n){var t=wPe(SPe(e))(n);if(t instanceof d)return"N/A ("+(t.value0+")");if(t instanceof C)return"N/A";throw new Error("Failed pattern match at Hub.Types.Chancing.Label (line 37, column 3 - line 39, column 21): "+[t.constructor.name])}},tE=function(e){return function(n){if(n.score instanceof d)return jM(n.score.value0);if(n.score instanceof C)return Ote(e)(n.specialCase);throw new Error("Failed pattern match at Hub.Types.Chancing.Label (line 31, column 34 - line 33, column 61): "+[n.score.constructor.name])}},NM=function(e){return function(n){if(n.classification instanceof d)return $1(n.classification.value0);if(n.classification instanceof C)return Ote(e)(n.specialCase);throw new Error("Failed pattern match at Hub.Types.Chancing.Label (line 22, column 29 - line 24, column 61): "+[n.classification.constructor.name])}};var sg=function(){function e(){}return e.value=new e,e}(),V1=function(){function e(){}return e.value=new e,e}(),aE=function(){function e(){}return e.value=new e,e}(),b_=function(){function e(){}return e.value=new e,e}(),R_=function(){function e(){}return e.value=new e,e}(),w_=function(){function e(){}return e.value=new e,e}(),S_=function(){function e(){}return e.value=new e,e}();var Ute={eq:function(e){return function(n){return e instanceof sg&&n instanceof sg||e instanceof V1&&n instanceof V1||e instanceof aE&&n instanceof aE||e instanceof b_&&n instanceof b_||e instanceof R_&&n instanceof R_||e instanceof w_&&n instanceof w_||e instanceof S_&&n instanceof S_}}};var V9=function(){return[sg.value,V1.value,aE.value,b_.value,R_.value,w_.value,S_.value]}(),rE=function(e){if(e instanceof sg)return"INTERESTED";if(e instanceof V1)return"APPLYING";if(e instanceof aE)return"APPLIED";if(e instanceof b_)return"WAITLISTED";if(e instanceof R_)return"ACCEPTED";if(e instanceof w_)return"DENIED";if(e instanceof S_)return"ENROLLED";throw new Error("Failed pattern match at Hub.Types.SchoolListStatus (line 36, column 13 - line 43, column 25): "+[e.constructor.name])},Q9=function(){return ut(Ge)({parse:Gn(rE)(V9),default:V1.value,diagnosticName:"SchoolListStatus"})}(),PM=function(e){if(e instanceof sg)return"Considering";if(e instanceof V1)return"Applying";if(e instanceof aE)return"Applied";if(e instanceof b_)return"Waitlisted";if(e instanceof R_)return"Accepted";if(e instanceof w_)return"Denied";if(e instanceof S_)return"Enrolled";throw new Error("Failed pattern match at Hub.Types.SchoolListStatus (line 47, column 8 - line 54, column 25): "+[e.constructor.name])};var oE=re(ze);var EPe=gr($a);var iE=function(e){return oE(ls(e*100))+"%"},La=function(e){return oE(ls(e*100))+"%"};var Hte=__("0,0"),du=function(e){return"$"+Hte(e)},Fs=function(e){return Hte(st(e))};var E_=function(e){var n=function(){var a=Dh(st(e))(60),r=a<10;return r?"0"+oE(Br(a)):oE(Br(a))}(),t=oE(EPe(e)(60));return t+(":"+n)};function Bte(e){return e.replace(/[!'()*]/g,function(n){return"%"+n.charCodeAt(0).toString(16)})}function Jte(e,n,t){try{return n(Bte(encodeURIComponent(t)))}catch(a){return e(a)}}function Wte(e,n,t){try{return n(Bte(encodeURIComponent(t)).replace(/%20/g,"+"))}catch(a){return e(a)}}var Y9=function(){return Wv(Jte)(an(C.value))(d.create)}();var kM=function(){return Wv(Wte)(an(C.value))(d.create)}();var qte=za();var IPe=Qe(Xe);var OM=function(e){var n=function(o){return function(i){return Ee(i)(f1(o)(i))}},t=function(o){return function(i){return Ee(i)(mc(o)(i))}},a=t("https://")(t("http://")(e)),r=n("/")(t("www.")(a));return{siteName:r,url:"http://"+a}},Ms=function(e){return function(n){var t=function(){var o=vs("?")(n);return o?"&":"?"}(),a=qte(Y9(e.value)),r=qte(Y9(e.key));return n+(t+(r+("="+a)))}},Cm=function(e){if(e.value instanceof C)return IPe;if(e.value instanceof d)return Ms({key:e.key,value:e.value.value0});throw new Error("Failed pattern match at Utils.URL (line 46, column 1 - line 46, column 73): "+[e.constructor.name])};var UM=function(){function e(){}return e.value=new e,e}(),xPe=function(){function e(){}return e.value=new e,e}(),LPe=function(){function e(){}return e.value=new e,e}(),jPe=function(){function e(){}return e.value=new e,e}(),NPe=function(){function e(){}return e.value=new e,e}(),PPe=function(){function e(){}return e.value=new e,e}(),kPe=function(){function e(){}return e.value=new e,e}(),OPe=function(){function e(){}return e.value=new e,e}(),UPe=function(){function e(){}return e.value=new e,e}(),HPe=function(){function e(){}return e.value=new e,e}(),BPe=function(){function e(){}return e.value=new e,e}(),JPe=function(){function e(){}return e.value=new e,e}(),WPe=function(){function e(){}return e.value=new e,e}(),qPe=function(){function e(){}return e.value=new e,e}(),zPe=function(){function e(){}return e.value=new e,e}(),$Pe=function(){function e(){}return e.value=new e,e}(),VPe=function(){function e(){}return e.value=new e,e}(),HM=function(){function e(){}return e.value=new e,e}(),QPe=function(){function e(){}return e.value=new e,e}(),YPe=function(){function e(){}return e.value=new e,e}(),zte=function(){function e(){}return e.value=new e,e}(),XPe=function(){function e(){}return e.value=new e,e}(),ZPe=function(){function e(){}return e.value=new e,e}(),KPe=function(){function e(){}return e.value=new e,e}(),$te=function(){function e(){}return e.value=new e,e}(),eke=function(){function e(){}return e.value=new e,e}(),nke=function(){function e(){}return e.value=new e,e}(),tke=function(){function e(){}return e.value=new e,e}(),ake=function(){function e(){}return e.value=new e,e}(),BM=function(){function e(){}return e.value=new e,e}(),rke=function(){function e(){}return e.value=new e,e}(),oke=function(){function e(){}return e.value=new e,e}(),ike=function(){function e(){}return e.value=new e,e}(),uke=function(){function e(){}return e.value=new e,e}(),lke=function(){function e(){}return e.value=new e,e}(),JM=function(){function e(){}return e.value=new e,e}(),cke=function(){function e(){}return e.value=new e,e}(),ske=function(){function e(){}return e.value=new e,e}(),fke=function(){function e(){}return e.value=new e,e}(),vke=function(){function e(){}return e.value=new e,e}(),mke=function(){function e(){}return e.value=new e,e}(),pke=function(){function e(){}return e.value=new e,e}(),_ke=function(){function e(){}return e.value=new e,e}(),WM=function(){function e(){}return e.value=new e,e}(),dke=function(){function e(){}return e.value=new e,e}(),Vte=function(){function e(){}return e.value=new e,e}(),hke=function(){function e(){}return e.value=new e,e}(),Qte=function(){function e(){}return e.value=new e,e}(),gke=function(){function e(){}return e.value=new e,e}(),qM=function(){function e(){}return e.value=new e,e}(),Dke=function(){function e(){}return e.value=new e,e}(),Yte=function(){function e(){}return e.value=new e,e}(),yke=function(){function e(){}return e.value=new e,e}(),bke=function(){function e(){}return e.value=new e,e}(),Rke=function(){function e(){}return e.value=new e,e}(),wke=function(){function e(){}return e.value=new e,e}();var St=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),sl=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}();var Ske=function(e){return e instanceof UM?new d(` This is the percentage of accepted students vs. all students who apply. The lower this number is, the harder it typically is to get accepted to the school. `):e instanceof qM?new d(` The number of students per individual faculty member. A lower ratio can mean easier access to professors and more personal attention for each student \u2013 but can also indicate a smaller school with fewer overall resources. `):e instanceof $te?new d(` Percentage of a school\u2019s first-time, first-year undergraduate students who complete their program. Low 4-year graduation rates indicate that many students need additional time to complete their programs. You should look for schools with high graduation rates. `):e instanceof Qte?new d(` Percentage of a school\u2019s first-time, first-year undergraduate students who complete their program. Low 6-year graduation rates indicate that many students drop out without completing their programs. You should look for schools with high graduation rates. `):e instanceof JM?new d(` Students who do not hold citizenship or permanent residence in the US. Schools do not report diversity data among international students. `):e instanceof HM?new d(` Schools that have a relatively high ratio of students who commute to campus vs. students who live on campus. Commuter colleges may have fewer social events and resources, be primarily academic in focus, and may have a wider age-range of attending undergraduates. `):e instanceof BM?new d(` Colleges established to serve black students prior to desegregation in 1964. HBCUs are open to students of all races, but will typically have a much higher proportion of black students and students of color than non-HBCU colleges. `):e instanceof zte?new d(` Filter your search to only schools that offer the major(s) or program(s) you select here. `):e instanceof WM?new d(` Most schools do not have a specific religious affiliation. Some will have a declared affiliation, but are still open to all students. Religious affiliation can somewhat affect campus culture, as well as the demographics of students who decide to attend. `):e instanceof Vte?new d(` Policies change during COVID-19; please confirm by looking at school websites `):e instanceof Yte?new d(` TOEFL policies are only applicable to international students `):C.value},_0=function(){var e=Ee("");return function(n){return e(Ske(n))}}();var Xte=function(e){if(e instanceof St&&e.value0 instanceof UM)return"AcceptanceRate";if(e instanceof St&&e.value0 instanceof xPe)return"AcceptanceRateMen";if(e instanceof St&&e.value0 instanceof LPe)return"AcceptanceRateWomen";if(e instanceof St&&e.value0 instanceof jPe)return"Address";if(e instanceof St&&e.value0 instanceof NPe)return"AdmissionChances";if(e instanceof St&&e.value0 instanceof PPe)return"AdmissionDifficulty";if(e instanceof St&&e.value0 instanceof kPe)return"AdmissionsNotificationDate";if(e instanceof St&&e.value0 instanceof OPe)return"AdmissionsWebsite";if(e instanceof St&&e.value0 instanceof UPe)return"AppDeadlineIsRolling";if(e instanceof St&&e.value0 instanceof HPe)return"ApplicationEffort";if(e instanceof St&&e.value0 instanceof BPe)return"ApplicationRound";if(e instanceof St&&e.value0 instanceof JPe)return"BasketballConference";if(e instanceof St&&e.value0 instanceof WPe)return"CampusSetting";if(e instanceof St&&e.value0 instanceof qPe)return"City";if(e instanceof St&&e.value0 instanceof zPe)return"ClassRank";if(e instanceof St&&e.value0 instanceof $Pe)return"CoEdSingleSex";if(e instanceof St&&e.value0 instanceof VPe)return"CollegeType";if(e instanceof St&&e.value0 instanceof HM)return"CommuterCollege";if(e instanceof St&&e.value0 instanceof QPe)return"Diversity";if(e instanceof St&&e.value0 instanceof YPe)return"DropoutRate";if(e instanceof St&&e.value0 instanceof XPe)return"FinancialAidWebsite";if(e instanceof St&&e.value0 instanceof ZPe)return"FirstYearEnrollment";if(e instanceof St&&e.value0 instanceof KPe)return"FootballConference";if(e instanceof St&&e.value0 instanceof $te)return"FourYearGraduationRate";if(e instanceof St&&e.value0 instanceof eke)return"HasDivisionOneBasketball";if(e instanceof St&&e.value0 instanceof nke)return"HasDivisionOneFootball";if(e instanceof St&&e.value0 instanceof tke)return"HasMedicalSchool";if(e instanceof St&&e.value0 instanceof ake)return"HasStudyAbroad";if(e instanceof St&&e.value0 instanceof BM)return"HBCU";if(e instanceof St&&e.value0 instanceof rke)return"InListStatus";if(e instanceof St&&e.value0 instanceof oke)return"MainWebsite";if(e instanceof St&&e.value0 instanceof zte)return"Majors";if(e instanceof St&&e.value0 instanceof ike)return"Name";if(e instanceof St&&e.value0 instanceof uke)return"NetCostEstimate";if(e instanceof St&&e.value0 instanceof lke)return"Notes";if(e instanceof St&&e.value0 instanceof JM)return"PercentInternationalStudents";if(e instanceof St&&e.value0 instanceof cke)return"Phone";if(e instanceof St&&e.value0 instanceof ske)return"Photo";if(e instanceof St&&e.value0 instanceof fke)return"Prestige";if(e instanceof St&&e.value0 instanceof vke)return"ProgramLength";if(e instanceof St&&e.value0 instanceof mke)return"PublicPrivate";if(e instanceof St&&e.value0 instanceof pke)return"RecommendationLetters";if(e instanceof St&&e.value0 instanceof _ke)return"Region";if(e instanceof St&&e.value0 instanceof WM)return"ReligiousAffiliation";if(e instanceof St&&e.value0 instanceof dke)return"SatActDeadline";if(e instanceof St&&e.value0 instanceof Vte)return"SatActTestPolicy";if(e instanceof St&&e.value0 instanceof hke)return"SatSubjectTestDeadline";if(e instanceof St&&e.value0 instanceof Qte)return"SixYearGraduationRate";if(e instanceof St&&e.value0 instanceof gke)return"State";if(e instanceof St&&e.value0 instanceof qM)return"StudentFacultyRatio";if(e instanceof St&&e.value0 instanceof Dke)return"SubmissionDeadline";if(e instanceof St&&e.value0 instanceof Yte)return"TOEFLPolicy";if(e instanceof St&&e.value0 instanceof yke)return"TotalUndergrads";if(e instanceof St&&e.value0 instanceof bke)return"TuitionInState";if(e instanceof St&&e.value0 instanceof Rke)return"TuitionOutOfState";if(e instanceof St&&e.value0 instanceof wke)return"YieldRate";if(e instanceof sl&&e.value0 instanceof Ia&&e.value0.value0 instanceof Lf)return"RankingArchitecture";if(e instanceof sl&&e.value0 instanceof Ia&&e.value0.value0 instanceof jf)return"RankingBusiness";if(e instanceof sl&&e.value0 instanceof Ia&&e.value0.value0 instanceof Nf)return"RankingChemistry";if(e instanceof sl&&e.value0 instanceof Ia&&e.value0.value0 instanceof Pf)return"RankingComputerScience";if(e instanceof sl&&e.value0 instanceof Ia&&e.value0.value0 instanceof kf)return"RankingCriminalJusticeAndCorrections";if(e instanceof sl&&e.value0 instanceof Ia&&e.value0.value0 instanceof Of)return"RankingEconomics";if(e instanceof sl&&e.value0 instanceof Ia&&e.value0.value0 instanceof Uf)return"RankingEngineering";if(e instanceof sl&&e.value0 instanceof Ia&&e.value0.value0 instanceof Hf)return"RankingEnglish";if(e instanceof sl&&e.value0 instanceof Ia&&e.value0.value0 instanceof Bf)return"RankingFilm";if(e instanceof sl&&e.value0 instanceof Ia&&e.value0.value0 instanceof Jf)return"RankingFinance";if(e instanceof sl&&e.value0 instanceof Ia&&e.value0.value0 instanceof Wf)return"RankingHistory";if(e instanceof sl&&e.value0 instanceof Ia&&e.value0.value0 instanceof qf)return"RankingPoliticalScience";if(e instanceof sl&&e.value0 instanceof Ia&&e.value0.value0 instanceof zf)return"RankingPreMed";if(e instanceof sl&&e.value0 instanceof Ia&&e.value0.value0 instanceof gm)return"RankingPsychology";if(e instanceof sl&&e.value0 instanceof r_)return"OverallRanking";throw new Error("Failed pattern match at Hub.Facet (line 305, column 6 - line 376, column 43): "+[e.constructor.name])};var Eke=function(){function e(){}return e.value=new e,e}(),Cke=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Ike=function(){function e(){}return e.value=new e,e}();var Zte=function(e){if(e instanceof Eke)return"filters";if(e instanceof Cke)return"filter:"+Xte(e.value0);if(e instanceof Ike)return"rankings";throw new Error("Failed pattern match at Hub.Visuals.MobileOverlay (line 34, column 26 - line 37, column 39): "+[e.constructor.name])};function Kte(e,n){typeof CV!="undefined"&&CV.tracking&&CV.tracking.event(e,n)}var Tke=Sa(),Fke=Qe(Xe),Mke=Mw(),zM=function(){return function(e){return function(n){var t=Tke(e);return function(){var a=Rr(t.utmContent);if(a instanceof d)return Ms({key:"utm_content",value:a.value0});if(a instanceof C)return Fke;throw new Error("Failed pattern match at Utils.Tracking (line 52, column 5 - line 56, column 17): "+[a.constructor.name])}()(Ms({key:"utm_campaign",value:t.utmCampaign})(Ms({key:"utm_source",value:Un(t.utmSource)("collegevine.com")})(n)))}}},Gke=function(e){var n=Jn(e);return function(t){return function(a){return n(function(){return Kte(t,a)})}}},uE=function(e){var n=Gke(e);return function(){return function(t){return function(a){return n(t)(Mke(a))}}}};var lE=function(){function e(){}return e.value=new e,e}(),Ake=function(){function e(){}return e.value=new e,e}(),xke=function(){function e(){}return e.value=new e,e}(),Lke=function(){function e(){}return e.value=new e,e}(),X9=function(e){if(e instanceof lE)return"school-detail";if(e instanceof Ake)return"school-connections";if(e instanceof xke)return"explore-schools";if(e instanceof Lke)return"school-list";throw new Error("Failed pattern match at Hub.Tracker (line 16, column 28 - line 24, column 18): "+[e.constructor.name])};var Yf=function(){function e(){}return e.value=new e,e}(),Xf=function(){function e(){}return e.value=new e,e}(),Im=function(){function e(){}return e.value=new e,e}(),$M={show:function(e){if(e instanceof Yf)return"SAT";if(e instanceof Xf)return"ACT";if(e instanceof Im)return"SATAndACT";throw new Error("Failed pattern match at Chancing.Guidance.Types.TestConfiguration (line 11, column 1 - line 14, column 31): "+[e.constructor.name])}};var cE=function(e){return e==="SAT"?new d(Yf.value):e==="ACT"?new d(Xf.value):e==="SATAndACT"?new d(Im.value):C.value};function eae(e,n,t,a){return a==null?e:n(a[t])}var jke=function(e){var n=Mh(e),t=z(If(e));return function(a){return function(r){return eae(n(new Qw("object",L8(r))),t,a,r)}}},Q1=function(e){return jke(e)};var Pke=on();var sE=function(e){return Pke(PF(e))};var ho=function(e){return oc(sE(e))};var Oke=oa(Te)(ft),Uke=re($M);var Y1=K(Le),nae=Tf(ga),Z9=K(Qv(ga)),K9=Q1(ga),ej=Gh(ga),tae=Bn(Mn)(Le),aae=Xr(Fo),rae=z(On),Hke=Nt(Ur),fE=function(){function e(){}return e.value=new e,e}(),d0=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),nj={show:function(e){if(e instanceof fE)return"ATOStrongest";if(e instanceof d0)return Oke(["(ATOWithCloseTests ",Uke(e.value0),")"]);throw new Error("Failed pattern match at Chancing.Guidance.Types.ApplyTestOptionalGuidance (line 20, column 1 - line 26, column 6): "+[e.constructor.name])}};var Bke=function(e){return Y1(ho(nae("Object")(e)))(function(n){return Y1(ho(Z9(K9("tag")(n))(ej)))(function(t){return tae(aae(t==="ATOWithCloseTests"))(function(){return Y1(Y1(ho(Z9(K9("contents")(n))(ej)))(cE))(function(a){return rae(new d0(a))})})})})},Jke=function(e){return Y1(ho(nae("Object")(e)))(function(n){return Y1(ho(Z9(K9("tag")(n))(ej)))(function(t){return tae(aae(t==="ATOStrongest"))(function(){return rae(fE.value)})})})},oae=function(e){return Hke(Jke(e))(Bke(e))};var iae=yn(Dn),uae=gn(iae)(pn(mn)),lae=dn(_n),cae=hn(lae),sae=wn(Rn),fae=bn(sae),Ka=function(){function e(){}return e.value=new e,e}(),wr=function(){function e(){}return e.value=new e,e}(),qr=function(){function e(){}return e.value=new e,e}(),Wke={to:function(e){if(e instanceof H)return Ka.value;if(e instanceof p&&e.value0 instanceof H)return wr.value;if(e instanceof p&&e.value0 instanceof p)return qr.value;throw new Error("Failed pattern match at Chancing.Types.ApplicationStrategy (line 16, column 1 - line 16, column 46): "+[e.constructor.name])},from:function(e){if(e instanceof Ka)return new H(fe.value);if(e instanceof wr)return new p(new H(fe.value));if(e instanceof qr)return new p(new p(fe.value));throw new Error("Failed pattern match at Chancing.Types.ApplicationStrategy (line 16, column 1 - line 16, column 46): "+[e.constructor.name])}},X1={eq:function(e){return function(n){return e instanceof Ka&&n instanceof Ka||e instanceof wr&&n instanceof wr||e instanceof qr&&n instanceof qr}}},VM={compare:function(e){return function(n){if(e instanceof Ka&&n instanceof Ka)return Fe.value;if(e instanceof Ka)return Se.value;if(n instanceof Ka)return we.value;if(e instanceof wr&&n instanceof wr)return Fe.value;if(e instanceof wr)return Se.value;if(n instanceof wr)return we.value;if(e instanceof qr&&n instanceof qr)return Fe.value;throw new Error("Failed pattern match at Chancing.Types.ApplicationStrategy (line 0, column 0 - line 0, column 0): "+[e.constructor.name,n.constructor.name])}},Eq0:function(){return X1}},vae=function(e){if(e instanceof Ka)return"ApplyTestOptional";if(e instanceof wr)return"ApplyWithSat";if(e instanceof qr)return"ApplyWithAct";throw new Error("Failed pattern match at Chancing.Types.ApplicationStrategy (line 21, column 13 - line 24, column 33): "+[e.constructor.name])},QM={show:vae},YM=function(){return ut(Ge)({default:Ka.value,diagnosticName:"ApplicationStrategy",parse:Gn(vae)(Sn(Wke)(uae(uae(iae)(lae))(cae))(fae(fae(sae)))(cae))})}();var mae=zo(),zke=N(im);var $ke=function(e){var n=jw(function(r,o,i){return new d(new Ue(r,i))})(function(r){return C.value}),t=jw(function(r,o,i){return new Ue(r,i)})(function(r){return fc("toUnfoldable1: impossible")}),a=Pp(e)(function(r){return zke(n)(r)});return function(r){return a(t(Lw(EY(mae(r)))))}},Vke=$ke(gF);var Z1=mae(CY),pae=function(e){var n=re(WQ(e));return{show:function(t){return"(fromFoldable1 "+(n(Vke(t))+")")}}},Qke=function(e){return IY(e)};var Yke=function(e){var n=TY(e);return n?C.value:new d(e)};var _ae=function(e){var n=ZD(e);return function(t){return n(Qke(t))(Z1)}},dae=function(e){var n=IF(e);return function(t){var a=n(t);return function(r){return Yke(a(r))}}};var tj=function(e){return MY(e)};var hae=re($M),Xke=oa(Te)(ft),Zke=re(pae(QM));var Ol=K(Le),gae=Tf(ga),XM=K(Qv(ga)),ZM=Q1(ga),vE=Gh(ga),Dae=Bn(Mn)(Le),yae=Xr(Fo),bae=cX(ga),Kke=Mo(wi)(If(ga)),eOe=dae(Te)(VM),nOe=N(ge),Rae=z(On),tOe=Nt(Ur),Gs=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),kc=function(){function e(n,t){this.value0=n,this.value1=t}return e.create=function(n){return function(t){return new e(n,t)}},e}(),aj={show:function(e){if(e instanceof Gs)return"(AWTStrongest "+(hae(e.value0)+")");if(e instanceof kc)return Xke(["(AWTWithCloseStrategies ",hae(e.value0)," ",Zke(e.value1),")"]);throw new Error("Failed pattern match at Chancing.Guidance.Types.ApplyWithTestGuidance (line 25, column 1 - line 33, column 6): "+[e.constructor.name])}};var aOe=function(e){return Ol(ho(gae("Object")(e)))(function(n){return Ol(ho(XM(ZM("tag")(n))(vE)))(function(t){return Dae(yae(t==="AWTWithCloseStrategies"))(function(){return Ol(Ol(ho(XM(ZM("contents")(n))(bae)))(us))(function(a){return Ol(Ol(ho(vE(Hp(a))))(cE))(function(r){return Ol(Ol(xw(a)(1))(function(o){return ho(bae(o))}))(function(o){return Ol(ho(Kke(vE)(o)))(function(i){return Ol(eOe(nOe(YM)(i)))(function(u){return Rae(new kc(r,u))})})})})})})})})},rOe=function(e){return Ol(ho(gae("Object")(e)))(function(n){return Ol(ho(XM(ZM("tag")(n))(vE)))(function(t){return Dae(yae(t==="AWTStrongest"))(function(){return Ol(Ol(ho(XM(ZM("contents")(n))(vE)))(cE))(function(a){return Rae(new Gs(a))})})})})},wae=function(e){return tOe(rOe(e))(aOe(e))};var C_=K(Le),Sae=Tf(ga),Eae=K(Qv(ga)),KM=Q1(ga),Cae=Gh(ga),Iae=Bn(Mn)(Le),Tae=Xr(Fo),Fae=z(On),oOe=Nt(Ur),rj=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),oj=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}();var iOe=function(e){return C_(ho(Sae("Object")(e)))(function(n){return C_(ho(Eae(KM("tag")(n))(Cae)))(function(t){return Iae(Tae(t==="GuidanceApplyWithTest"))(function(){return C_(ho(KM("contents")(n)))(function(a){return C_(wae(a))(function(r){return Fae(new oj(r))})})})})})},uOe=function(e){return C_(ho(Sae("Object")(e)))(function(n){return C_(ho(Eae(KM("tag")(n))(Cae)))(function(t){return Iae(Tae(t==="GuidanceApplyTestOptional"))(function(){return C_(ho(KM("contents")(n)))(function(a){return C_(oae(a))(function(r){return Fae(new rj(r))})})})})})},Mae=Xn(Ge)(J)({parse:function(e){return oOe(uOe(e))(iOe(e))},diagnosticName:"Chancing Guidance"});var Gae=function(){function e(){}return e.value=new e,e}(),lOe=function(){function e(){}return e.value=new e,e}();var Aae=function(){return ut(Ge)({default:Gae.value,parse:function(e){return e==="BelowAcademicThreshold"?new d(Gae.value):e==="AboveAcademicThreshold"?new d(lOe.value):C.value},diagnosticName:"Chancing.AcademicThresholdStatus"})}();var ij=K(Le),cOe=z(On),Tm=function(){function e(){}return e.value=new e,e}(),Fm=function(){function e(){}return e.value=new e,e}(),Zf=function(){function e(){}return e.value=new e,e}(),Oc=function(){function e(){}return e.value=new e,e}();var uj=function(){return ut(Ge)({default:Oc.value,parse:function(e){return e==="PSWeak"?new d(Zf.value):e==="PSFair"?new d(Fm.value):e==="PSStrong"?new d(Tm.value):C.value},diagnosticName:"Chancing.ScoreProgress"})}(),mE=function(e){var n=ih(e);return function(t){return function(a){return Ee(Oc.value)(ij(t)(function(r){return ij(a.p50)(function(o){return ij(a.p75)(function(i){return cOe(function(){var u=n(r)(o);if(u)return Zf.value;var l=n(r)(i);return l?Fm.value:Tm.value}())})})}))}}};var sOe=N(J),fOe=mt(Le),lj=function(e){return{applicationStrategy:YM(e.applicationStrategy),isRecommendedStrategy:e.isRecommendedStrategy,classification:sOe(xte)(ee(e.classification)),score:ee(e.score),academicThresholdStatus:Aae(e.academicThresholdStatus),shouldApplyTestOptional:e.shouldApplyTestOptional,ecStrength:Oe(Oc.value)(uj)(ee(e.ecStrength)),courseRigorStrength:Oe(Oc.value)(uj)(ee(e.courseRigorStrength)),specialCase:fOe(kte)(ee(e.specialCase))}};var vOe=N(ge),mOe=mt(Le),I_=function(e){return{top:lj(e.top),all:vOe(lj)(e.all),guidance:mOe(Mae)(ee(e.guidance)),sameDemographicStats:dee(ee(e.sameDemographicStats))}};var pOe=Jo(Yu),_Oe=qn(Pa),xae=N(J),dOe=YD(Te)(Yu),hOe=Rf(wi)(On);var T_=function(e){return _Oe(xae(pOe)(e.sat.readingWriting))(e.sat.math)};var gOe=function(e){return ls(st(dOe(e))/4)};var F_=function(e){return xae(gOe)(hOe([e.act.math,e.act.english,e.act.reading,e.act.science]))};var pE=function(){function e(){}return e.value=new e,e}(),K1=function(){function e(){}return e.value=new e,e}();var Mm=function(){function e(){}return e.value=new e,e}(),Gm=function(){function e(){}return e.value=new e,e}(),Am=function(){function e(){}return e.value=new e,e}(),xm=function(){function e(){}return e.value=new e,e}(),Lm=function(){function e(){}return e.value=new e,e}(),jm=function(){function e(){}return e.value=new e,e}(),Nm=function(){function e(){}return e.value=new e,e}(),Pm=function(){function e(){}return e.value=new e,e}(),km=function(){function e(){}return e.value=new e,e}(),Om=function(){function e(){}return e.value=new e,e}(),Um=function(){function e(){}return e.value=new e,e}(),Hm=function(){function e(){}return e.value=new e,e}(),Bm=function(){function e(){}return e.value=new e,e}(),Jm=function(){function e(){}return e.value=new e,e}(),Wm=function(){function e(){}return e.value=new e,e}(),qm=function(){function e(){}return e.value=new e,e}(),zm=function(){function e(){}return e.value=new e,e}(),$m=function(){function e(){}return e.value=new e,e}(),h0=function(){function e(){}return e.value=new e,e}(),ey={show:function(e){if(e instanceof Mm)return"Sports";if(e instanceof Gm)return"CommService";if(e instanceof Am)return"Hobbies";if(e instanceof xm)return"NonArtComps";if(e instanceof Lm)return"Politics";if(e instanceof jm)return"Drama";if(e instanceof Nm)return"VisualArts";if(e instanceof Pm)return"Music";if(e instanceof km)return"Writing";if(e instanceof Om)return"HonorSocieties";if(e instanceof Um)return"Employment";if(e instanceof Hm)return"OwnInitiative";if(e instanceof Bm)return"StudentGov";if(e instanceof Jm)return"InterestClubs";if(e instanceof Wm)return"AffinityGroups";if(e instanceof qm)return"Research";if(e instanceof zm)return"SummerPrograms";if(e instanceof $m)return"Software";if(e instanceof h0)return"Other";throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECCategory (line 36, column 1 - line 55, column 23): "+[e.constructor.name])}};var _E={eq:function(e){return function(n){return e instanceof Mm&&n instanceof Mm||e instanceof Gm&&n instanceof Gm||e instanceof Am&&n instanceof Am||e instanceof xm&&n instanceof xm||e instanceof Lm&&n instanceof Lm||e instanceof jm&&n instanceof jm||e instanceof Nm&&n instanceof Nm||e instanceof Pm&&n instanceof Pm||e instanceof km&&n instanceof km||e instanceof Om&&n instanceof Om||e instanceof Um&&n instanceof Um||e instanceof Hm&&n instanceof Hm||e instanceof Bm&&n instanceof Bm||e instanceof Jm&&n instanceof Jm||e instanceof Wm&&n instanceof Wm||e instanceof qm&&n instanceof qm||e instanceof zm&&n instanceof zm||e instanceof $m&&n instanceof $m||e instanceof h0&&n instanceof h0}}};var ny=function(e){return e==="Sports"?new d(Mm.value):e==="CommService"?new d(Gm.value):e==="Hobbies"?new d(Am.value):e==="NonArtComps"?new d(xm.value):e==="Politics"?new d(Lm.value):e==="Drama"?new d(jm.value):e==="VisualArts"?new d(Nm.value):e==="Music"?new d(Pm.value):e==="Writing"?new d(km.value):e==="HonorSocieties"?new d(Om.value):e==="Employment"?new d(Um.value):e==="OwnInitiative"?new d(Hm.value):e==="StudentGov"?new d(Bm.value):e==="InterestClubs"?new d(Jm.value):e==="AffinityGroups"?new d(Wm.value):e==="Research"?new d(qm.value):e==="SummerPrograms"?new d(zm.value):e==="Software"?new d($m.value):e==="Other"?new d(h0.value):C.value};var M_=function(e){if(e instanceof Mm)return"Sports";if(e instanceof Gm)return"Community Service";if(e instanceof Am)return"Hobbies";if(e instanceof xm)return"Non-Art Competitions";if(e instanceof Lm)return"Politics";if(e instanceof jm)return"Drama";if(e instanceof Nm)return"Visual Arts";if(e instanceof Pm)return"Music";if(e instanceof km)return"Writing";if(e instanceof Om)return"Honor Societies";if(e instanceof Um)return"Employment";if(e instanceof Hm)return"Own Initiative";if(e instanceof Bm)return"Student Government";if(e instanceof Jm)return"Interest Clubs";if(e instanceof Wm)return"Affinity Groups";if(e instanceof qm)return"Research";if(e instanceof zm)return"Summer Programs";if(e instanceof $m)return"Software";if(e instanceof h0)return"Other";throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECCategory (line 108, column 11 - line 127, column 19): "+[e.constructor.name])},Lae=function(){return[Mm.value,Gm.value,Am.value,xm.value,Lm.value,jm.value,Nm.value,Pm.value,km.value,Om.value,Um.value,Hm.value,Bm.value,Jm.value,Wm.value,qm.value,zm.value,$m.value]}();var jae=yn(Dn),Kf=gn(jae)(pn(mn)),Nae=dn(_n),ev=hn(Nae),cj=Kf(Kf(Kf(Kf(Kf(Kf(Kf(Kf(Kf(Kf(Kf(jae)(Nae))(ev))(ev))(ev))(ev))(ev))(ev))(ev))(ev))(ev))(ev);var Pae=wn(Rn),nv=bn(Pae),kae=nv(nv(nv(nv(nv(nv(nv(nv(nv(nv(nv(Pae))))))))))),DOe=Z(J),yOe=N(ge),dE=function(){function e(){}return e.value=new e,e}(),hE=function(){function e(){}return e.value=new e,e}(),gE=function(){function e(){}return e.value=new e,e}(),DE=function(){function e(){}return e.value=new e,e}(),Qi=function(){function e(){}return e.value=new e,e}(),Tr=function(){function e(){}return e.value=new e,e}(),_r=function(){function e(){}return e.value=new e,e}(),Nr=function(){function e(){}return e.value=new e,e}(),go=function(){function e(){}return e.value=new e,e}(),Sr=function(){function e(){}return e.value=new e,e}(),Yi=function(){function e(){}return e.value=new e,e}(),mi=function(){function e(){}return e.value=new e,e}(),Pi=function(){function e(){}return e.value=new e,e}(),Do=function(){function e(){}return e.value=new e,e}(),Ul=function(){function e(){}return e.value=new e,e}(),fl=function(){function e(){}return e.value=new e,e}(),G_={to:function(e){if(e instanceof H)return Qi.value;if(e instanceof p&&e.value0 instanceof H)return Tr.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof H)return _r.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof H)return Nr.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof H)return go.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0 instanceof H)return Sr.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0 instanceof H)return Yi.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0 instanceof H)return mi.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0 instanceof H)return Pi.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0.value0 instanceof H)return Do.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0.value0.value0 instanceof H)return Ul.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0.value0.value0 instanceof p)return fl.value;throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECTier (line 60, column 1 - line 60, column 33): "+[e.constructor.name])},from:function(e){if(e instanceof Qi)return new H(fe.value);if(e instanceof Tr)return new p(new H(fe.value));if(e instanceof _r)return new p(new p(new H(fe.value)));if(e instanceof Nr)return new p(new p(new p(new H(fe.value))));if(e instanceof go)return new p(new p(new p(new p(new H(fe.value)))));if(e instanceof Sr)return new p(new p(new p(new p(new p(new H(fe.value))))));if(e instanceof Yi)return new p(new p(new p(new p(new p(new p(new H(fe.value)))))));if(e instanceof mi)return new p(new p(new p(new p(new p(new p(new p(new H(fe.value))))))));if(e instanceof Pi)return new p(new p(new p(new p(new p(new p(new p(new p(new H(fe.value)))))))));if(e instanceof Do)return new p(new p(new p(new p(new p(new p(new p(new p(new p(new H(fe.value))))))))));if(e instanceof Ul)return new p(new p(new p(new p(new p(new p(new p(new p(new p(new p(new H(fe.value)))))))))));if(e instanceof fl)return new p(new p(new p(new p(new p(new p(new p(new p(new p(new p(new p(fe.value)))))))))));throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECTier (line 60, column 1 - line 60, column 33): "+[e.constructor.name])}},As={eq:function(e){return function(n){return e instanceof Qi&&n instanceof Qi||e instanceof Tr&&n instanceof Tr||e instanceof _r&&n instanceof _r||e instanceof Nr&&n instanceof Nr||e instanceof go&&n instanceof go||e instanceof Sr&&n instanceof Sr||e instanceof Yi&&n instanceof Yi||e instanceof mi&&n instanceof mi||e instanceof Pi&&n instanceof Pi||e instanceof Do&&n instanceof Do||e instanceof Ul&&n instanceof Ul||e instanceof fl&&n instanceof fl}}},bOe=_e(As),ROe={compare:function(e){return function(n){if(e instanceof Qi&&n instanceof Qi)return Fe.value;if(e instanceof Qi)return Se.value;if(n instanceof Qi)return we.value;if(e instanceof Tr&&n instanceof Tr)return Fe.value;if(e instanceof Tr)return Se.value;if(n instanceof Tr)return we.value;if(e instanceof _r&&n instanceof _r)return Fe.value;if(e instanceof _r)return Se.value;if(n instanceof _r)return we.value;if(e instanceof Nr&&n instanceof Nr)return Fe.value;if(e instanceof Nr)return Se.value;if(n instanceof Nr)return we.value;if(e instanceof go&&n instanceof go)return Fe.value;if(e instanceof go)return Se.value;if(n instanceof go)return we.value;if(e instanceof Sr&&n instanceof Sr)return Fe.value;if(e instanceof Sr)return Se.value;if(n instanceof Sr)return we.value;if(e instanceof Yi&&n instanceof Yi)return Fe.value;if(e instanceof Yi)return Se.value;if(n instanceof Yi)return we.value;if(e instanceof mi&&n instanceof mi)return Fe.value;if(e instanceof mi)return Se.value;if(n instanceof mi)return we.value;if(e instanceof Pi&&n instanceof Pi)return Fe.value;if(e instanceof Pi)return Se.value;if(n instanceof Pi)return we.value;if(e instanceof Do&&n instanceof Do)return Fe.value;if(e instanceof Do)return Se.value;if(n instanceof Do)return we.value;if(e instanceof Ul&&n instanceof Ul)return Fe.value;if(e instanceof Ul)return Se.value;if(n instanceof Ul)return we.value;if(e instanceof fl&&n instanceof fl)return Fe.value;throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECTier (line 0, column 0 - line 0, column 0): "+[e.constructor.name,n.constructor.name])}},Eq0:function(){return As}},Oae={succ:s2(G_)(cj),pred:_K(G_)(cj),Ord0:function(){return ROe}};var Uae=function(e){if(e instanceof Qi)return"A";if(e instanceof Tr)return"B";if(e instanceof _r)return"C";if(e instanceof Nr)return"D";if(e instanceof go)return"E";if(e instanceof Sr)return"F";if(e instanceof Yi)return"G";if(e instanceof mi)return"H";if(e instanceof Pi)return"I";if(e instanceof Do)return"J";if(e instanceof Ul)return"K";if(e instanceof fl)return"L";throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECTier (line 43, column 13 - line 55, column 13): "+[e.constructor.name])},Hae={show:Uae},Bae=Gn(Uae)(Sn(G_)(cj)(kae)(ev)),sj=function(e){if(e instanceof Qi)return{group:dE.value,subGroup:"a"};if(e instanceof Tr)return{group:dE.value,subGroup:"b"};if(e instanceof _r)return{group:dE.value,subGroup:"c"};if(e instanceof Nr)return{group:hE.value,subGroup:"a"};if(e instanceof go)return{group:hE.value,subGroup:"b"};if(e instanceof Sr)return{group:hE.value,subGroup:"c"};if(e instanceof Yi)return{group:gE.value,subGroup:"a"};if(e instanceof mi)return{group:gE.value,subGroup:"b"};if(e instanceof Pi)return{group:gE.value,subGroup:"c"};if(e instanceof Do)return{group:DE.value,subGroup:"a"};if(e instanceof Ul)return{group:DE.value,subGroup:"b"};if(e instanceof fl)return{group:DE.value,subGroup:"c"};throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECTier (line 119, column 9 - line 131, column 44): "+[e.constructor.name])},Jae=dK(G_)(kae),wOe=function(e){return function(n){if(n instanceof dE)return"1";if(n instanceof hE)return"2";if(n instanceof gE)return"3";if(n instanceof DE)return"4";throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECTier (line 87, column 43 - line 91, column 18): "+[n.constructor.name])}(function(n){return n.group}(sj(e)))},fj=function(e){return wOe(e)+sj(e).subGroup},ty=function(e){return fj(e)+(": "+function(){var n=sj(e).group;if(n instanceof dE)return"Exceptional";if(n instanceof hE)return"Very strong";if(n instanceof gE)return"Strong";if(n instanceof DE)return"Standard";throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECTier (line 75, column 39 - line 79, column 25): "+[n.constructor.name])}())},Wae=function(){var e=function(n){return function(t){return{tier:n,description:t}}};return function(n){if(n instanceof Mm)return[e(Qi.value)(["I play for the youth national team at my age group in this sport","I am a national champion in this sport"]),e(Tr.value)(["I play for a state-level team","I am a Top 100 athlete in this sport in the country for my age group","I won player of the year for this sport in my state"]),e(_r.value)(["I am a varsity athlete with some sort of state level recognition or accomplishment in this sport, e.g. I am all-state"]),e(Nr.value)(["I'm a varsity athlete with top all-conference/region or conference/region award"]),e(go.value)(["I'm a varsity athlete with all-conference/region or conference/region award","I am the captain of the varsity team"]),e(Sr.value)(["I'm a varsity athlete in this sport"]),e(mi.value)(["I'm a JV athlete that won an award in this sport","I am the JV team captain"]),e(Do.value)(["I'm a JV athlete in this sport"]),e(fl.value)(["I play this sport recreationally"])];if(n instanceof Gm)return[e(Tr.value)(["I am on the national leadership board for this nationwide community service club","I led an initiative or drive that raised more than $100k","I led an initiative that attracted more than 3,500 participants"]),e(_r.value)(["I am the highest state level leader in a community service org","I led an initiative that raised more than $35k","I led an initiative that attracted more than 1,000 participants"]),e(Nr.value)(["I held state level leadership in a community service org","I led an initiative that raised more than $15k","I led an initiative that attracted more than 500 participants","I founded a large (>15 members) school community service organization or club"]),e(go.value)(["I held the highest school level leadership in a large community service club (>15 members)","I led an initiative that raised more than $10k"]),e(Sr.value)(["I held school-level leadership in a large (>15 members) community service club","I led an initiative that attracted more than 100 participants","I founded or was president of a small (<15 members) school community service org"]),e(mi.value)(["I won a community service award either in a school club or in an out of school organization"]),e(Pi.value)(["I was a key member in a community service club (e.g. I led specific club initiatives)","I led an initiative that raised $1k+","I led an initiative that attracted 10+ participants","I volunteered for 100+ hours at one activity for 6+ months"]),e(Do.value)(["I led an initiative that raised more than $100","I was member of school community service club","I have more than 30 volunteer hours"]),e(fl.value)(["I have less than 30 volunteer hours"])];if(n instanceof Am)return[e(Tr.value)(["I achieved tangible real world recognition for this hobby or did something substantial with large numbers involved (e.g. I was quoted in WSJ about aviation multiple times; I climbed a 20,000 foot mountain; I built an online game with 15,000 users)"]),e(_r.value)(["I took substantial initiative with this hobby and have some sort of tangible accomplishment/documentation for it - e.g. I was an administrator for my knitting forum with 500 members","I built a 2000 piece model train set","I keep 1000 bees"]),e(Sr.value)(["There's something tangible to prove my participation in this hobby e.g. I rebuilt a vintage car","I carved 5 dollhouses for my sister's friends out of wood","I built a game/published it online","I created a YouTube channel with multiple how-to videos"]),e(Do.value)(["I have participated in this hobby for an extended period of time"])];if(n instanceof xm)return[e(Qi.value)(["I won a highly prestigious national level individual competition e.g. Siemens Contest or Intel","I qualified for an international level competition with at least 2,000 people vying for 50 or fewer spots e.g. USAMO"]),e(Tr.value)(["I placed in the top 20 overall in the highest individual competition for this activity in the country e.g. I placed 16th out of 20 at the Lincoln-Douglas Debate National Championship"]),e(_r.value)(["I won an individual event/award in this competition at the national level e.g. I won Road Scholar at the national Science Olympiad","I won Accounting II or Business Ethics at the FBLA Nationals","I was the highest level state leader of an organization"]),e(Nr.value)(["I founded a competition-based club at my school and grew it to 50+ members or was president/the highest leader","I was part of a team that reached the national competition","I held state-level leadership","I won the highest individual state-level award"]),e(go.value)(["I won a state level individual award in this activity","I held the highest school level leadership in this activity"]),e(Sr.value)(["I held school level leadership in this activity","I founded a competition based club at my school, for example Model United Nations, and grew it to 15+ members"]),e(Yi.value)(["I was part of a team that reached the state level competition in this activity in a competitive process"]),e(Pi.value)(["I competed at the state or regional level in this activity","I won a school level award in this activity"]),e(Ul.value)(["I competed at the local or school level in this activity"])];if(n instanceof Lm)return[e(Tr.value)(["I worked a substantial, paid strategy role for a national level political campaign (Congressional or higher)"]),e(_r.value)(["I worked a substantial, paid strategy role for a state level political campaign"]),e(Nr.value)(["I founded a political advocacy group at my school, e.g. the Young Democrats, with more than 25 contributors,","I worked a substantial strategy role for a local political campaign"]),e(go.value)(["I was president of a political advocacy group at my school, e.g. the Young Democrats, with more than 25 contributors","I founded a political advocacy group with fewer than 25 contributors"]),e(Sr.value)(["I held a non-presidential leadership role of a political advocacy group at my school","I was president of a political advocacy group with fewer than 25 contributors"]),e(Do.value)(["I canvassed for a state or national level political campaign","I am a member of political interest club at my school"]),e(Ul.value)(["I canvassed or phone banked for local level political campaign"])];if(n instanceof jm)return[e(_r.value)(["I won a national level award for acting/writing","I was selected to play a lead role in a non-student play at a major theater in my city"]),e(Nr.value)(["I won a state level award for acting/writing","I was selected to an elite prestigious applicant only theater program e.g. Royal Academy of Sciences and Arts","I wrote a play that was performed by a non-student theater"]),e(go.value)(["I held a top-billed lead role in a school play","The play that I wrote was performed by my school","I headed the stage crew","I was selected to an applicant only theater program"]),e(Sr.value)(["I had a non-lead but highly important role in school play"]),e(Yi.value)(["I performed a substantial role in a school play"]),e(mi.value)(["I performed a role in a non-student play at a theater in my city"]),e(Pi.value)(["I performed a role with lines in a school play","I was a member of the stage crew or Pit orchestra"]),e(Ul.value)(["I was an extra in the school play"])];if(n instanceof Nm)return[e(Qi.value)(["I sold a piece of art for $5,000+","I got a film screened at a top international film festival like Cannes, Sundance, Tribeca, or TIFF","I have a substantial Youtube or video network presence consistently getting over a million views/video"]),e(Tr.value)(["I won the Scholastic Art competition as a top submission in my class","I got a film screened at a top film festival like Austin Film Festival or NY Film Festival","I have a substantial video network presence consistently getting 100,000+ views/video"]),e(_r.value)(["I won a Gold Key art award from Scholastic","I had a film screened at an accredited regional film festival"]),e(Nr.value)(["I have a substantial video network presence consistently getting 10,000+ views/video","I won a state-level art/film contest","I was the president of my school's art club/film club","I have a video production company that does work for local businesses"]),e(go.value)(["I won a city or regional art award","I screened a film at citywide or regional film festival"]),e(Sr.value)(["I held school level leadership in an art or film club","I won the national Scholastic Silver Key award"]),e(mi.value)(["I produced at least 20 high quality YouTube or other video platform videos with at least 1,000 views per video","I won a school level art contest"]),e(Do.value)(["I am a member of my school's art or film club"]),e(fl.value)(["I draw, paint, or make videos for fun"])];if(n instanceof Pm)return[e(Qi.value)(["I am amongst the top 2-3 people at the national level at my instrument for my age group","I'm a music artist w/a record deal worth $100,000+","I'm a recording artist w/substantial, quantifiable internet traction e.g. 500,000 plays on Spotify on one song"]),e(Tr.value)(["I have an accomplishment proving that I'm one of the 10-20 best in the country at my instrument","I'm a musician w/a record deal with a credible record company","I'm a recording artist with quantifiable internet traction (e.g. 75,000 plays on Spotify)"]),e(_r.value)(["I am first chair in my state band/orchestra/choir for my instrument","I made an all-national audition group,","I am a recording artist with substantial and numerically quantifiable traction on the internet e.g. 25,000 plays on Spotify on one song"]),e(Nr.value)(["I made an all-state level audition group","I achieved the highest level of certification for my instrument e.g. ABRSM grade","I am a recording artist with substantial, quantifiable traction on the internet e.g. 10,000 plays on Spotify on one song"]),e(go.value)(["I made an all-regional/all-district audition group","I am the drum major/band captain in marching band","I am the music group leader"]),e(Sr.value)(["I am the principal player/section leader for the highest school/non-school musical group in my school/town"]),e(Yi.value)(["If my school has multiple groups, I am a member of the highest group in my school"]),e(Do.value)(["I am a member of a music group inside or outside school"]),e(fl.value)(["I play an instrument or sing recreationally"])];if(n instanceof km)return[e(Qi.value)(["I got a book deal by a Big 4 publisher,","I am a writer for a top tier national publication (e.g. Forbes, Buzzfeed, NY Mag, Sports Illustrated)","I got a play/short story published in a tier 1 literary journal like New Yorker, Ploughsares or Tin House"]),e(Tr.value)(["I got a book published in print by a recognizable publisher","I wrote multiple articles for a top national publication (e.g. Forbes, Business Insider, Buzzfeed, NY Mag, Sports Illustrated)","I got a creative piece published by a Top 20 literary journal"]),e(_r.value)(["I got an article published by a national publication","I was a writer at a second-tier publication","I won a top essay contest","I got published by a Top 100 lit journal","I founded my own publication w/non-local writers and 100,000+ words published"]),e(Nr.value)(["I self-published a book (>100 pages)","I wrote for a 2nd tier publication","I had a successful blog (>250,000 views)","I won a 2nd tier essay contest","I was published in a lit journal","I founded/was Editor-in-Chief of a school publication"]),e(go.value)(["I published a full-length book or books through Amazon (total length <100 pages) or self-publishing"]),e(Sr.value)(["I served as an associate editor or equivalent leader for a school publication","I had a large (volume wise) personal or topical blog with at least 50,000 words of content and a professional design"]),e(mi.value)(["I served as a staff writer for my school newspaper or publication, or contributed more than 10 articles to a school newspaper or publication ","I had a personal or topical blog with at least 10,000 words of content"]),e(Pi.value)(["I contributed an article to a single submission school publication (like a literary magazine)","I contributed 2-10 articles to a school newspaper or publication","I have a personal or topical blog with under 10,000 words of content"]),e(Do.value)(["I contributed 1-2 articles to a school newspaper or publication"]),e(fl.value)(["I write for fun"])];if(n instanceof Om)return[e(Tr.value)(["I am a member of a national level honor society with 50-100 spots where more than 10,000 people apply for the position","I am the highest state level leader in a statewide program"]),e(_r.value)(["I held state level leadership in a statewide honor program","I was a member of a national level honor society with <1,000 spots where more than 20,000 people apply","I was a member of a state level honor society recognizing less than 5% of entrants"]),e(Nr.value)(["I was the president of a school or local level honor society"]),e(Sr.value)(["I held leadership in school or local honor society"]),e(Yi.value)(["I was a member of an honor society and had significant involvement e.g. I spent 25 hrs designing and implementing NHS tutoring at my school"]),e(mi.value)(["I was a member of school level honor society e.g. National Honor Society"]),e(Pi.value)(["I was a member of a subject level school honor society i.e. Spanish Honor Society"])];if(n instanceof Um)return[e(Tr.value)(["I had a top tier paid internship i.e. a normal competitive college student level with a top tier US corporation like Facebook, Johnson & Johnson, or Goldman Sachs"]),e(_r.value)(["I was an intern or page for a US Senator or Congressperson","I had a paid internship with a major US corporation (again competitive with college students)"]),e(Nr.value)(["I had an unpaid internship at nonprofit or medium or larger sized business with substantial accomplishments (i.e. I led a project to upgrade payment processing or designed initiative that was actually used by the company)"]),e(Sr.value)(["I had paid employment with substantial responsibility at local small business e.g. assistant manager at yogurt shop","I had an internship with state level politician"]),e(Yi.value)(["I had an unpaid internship at a local small business or government office"]),e(Pi.value)(["I had hourly paid work at local business e.g. as a cashier, waitress, or secretary"])];if(n instanceof Hm)return[e(Qi.value)(["I started a business making $300k/year and/or with 10+ employees","I was the winner of a startup competition","I founded a venture-backed startup","I founded a startup backed on Shark Tank/equivalent","I started a nonprofit that raised at least $250k"]),e(Tr.value)(["I started a business making $100k/year with at least 1-2 employees besides myself","I was the winner of a startup contest","I started an organization with 1000+ participants and multiple administrators/leaders","I started a nonprofit that raised $100k+"]),e(_r.value)(["I started a business making $50k per year","I started a nonprofit that raised at least $25k","I started a self built organization or initiative with more than 200 participants and multiple additional administrators or leaders"]),e(Nr.value)(["I started business making $20k per year","I started self built organization or initiative with more than 100 participants","I started a nonprofit that raised at least $10k"]),e(Sr.value)(["I started a business making $10k per year","I started a self built organization or initiative with more than 25 participants","I started a nonprofit that raised at least $5k"]),e(mi.value)(["I started a business making $2k per year","I started a self built organization or initiative with more than 10 participants","I started a nonprofit that raised at least $1k"])];if(n instanceof Bm)return[e(Nr.value)(["I was School President or Head Boy/Girl"]),e(go.value)(["I was the president of Student Council","I was class president"]),e(Sr.value)(["I was a class officer","I held student council leadership"]),e(mi.value)(["I was a member of Student Council"])];if(n instanceof Jm)return[e(Tr.value)(["I organized a nationwide event or conference for this interest (i.e. national anime conference)"]),e(_r.value)(["I organized a statewide event or conference for this interest","I was the head of statewide interest group e.g. New York Super Smash Brothers Club"]),e(Nr.value)(["I was the president and/or founder of school level interest club","I organized a city or regional event or conference for this area interest"]),e(Sr.value)(["I held leadership in a school-level interest club"]),e(Do.value)(["I was a member of school level interest based club"])];if(n instanceof Wm)return[e(Tr.value)(["I was a leader or board member of a nationwide affinity group for high schoolers e.g. I was on the national board of the Black Students Association"]),e(_r.value)(["I was the highest state leader of an affinity group for high schoolers e.g.Black Students Association"]),e(Nr.value)(["I was the president and/or founder of school level affinity group","I held state level leadership of an affinity group for high schoolers e.g. Hispanic Students Association"]),e(Sr.value)(["I held school-level leadership in an affinity group or club"]),e(Do.value)(["I was a member of a school level affinity club"])];if(n instanceof qm)return[e(Qi.value)(["I had a major research breakthrough published or I will be published in a Top 10 Scientific journal with me as the lead on the experiment or study"]),e(Tr.value)(["I had research that was published or will be published in a Top 30 scientific journal with me as a co-lead on the experiment or study"]),e(_r.value)(["I was selected for a formal, honorary application required research programs"]),e(Nr.value)(["I had research that was or will be published in a Top 250 scientific journal on which I am a co-author on the experiment or study"]),e(go.value)(["I conducted research through a formal, application required program with an accredited university"]),e(Sr.value)(["I had research that was or will be published"]),e(Yi.value)(["I conducted independent research with a college level advisor that won't be published","I had a research internship with a private company"]),e(Pi.value)(["I paid money to participate in a research program"])];if(n instanceof zm)return[e(Tr.value)(["I attended one of TASP, RSI, PROMYS, SSP, Boys/Girls Nation"]),e(_r.value)(["I attended one of RISE, MITES, SuMaC, Boys/Girls State, or Gov School"]),e(go.value)(["I attended one of SIP, EFL, SAMS, HCSSIM, JCamp, MAthlLy, HSHSP, Clark Scholars, Notre Dame Summer Scholars"]),e(Sr.value)(["I attended any other free (for the full summer program, application fee and cost of living out of pocket okay), application required summer program associated with a university or reputable entity like NASA or a journalism foundation"]),e(Pi.value)(["I participated in study abroad through my school","I attended a paid summer program requiring an application"]),e(Do.value)(["I attended a paid summer program where there is no application required"])];if(n instanceof $m)return[e(Tr.value)(["I built an app with more than 500,000 downloads, I have a web app with more than 1 million visitors a year"]),e(_r.value)(["I built commercially used software","I built an app with more than 100,000 downloads"]),e(go.value)(["I published an app with 10,000 downloads"]),e(mi.value)(["I published an app on the App/Google Play store","I contributed to an open source software project"]),e(Do.value)(["I write programs for fun"])];if(n instanceof h0)return[e(_r.value)([""]),e(Yi.value)([""]),e(Do.value)([""]),e(fl.value)([""])];throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECTier (line 134, column 17 - line 322, column 6): "+[n.constructor.name])}}(),qae=function(e){return function(n){return DOe(o8(function(){var t=bOe(n);return function(a){return t(function(r){return r.tier}(a))}}())(Wae(e)))(function(t){return t.description})}},yE=function(e){return yOe(function(n){return n.tier})(Wae(e))},zae=function(e){return Ei(yE(e))},eG=function(e){return _h(yE(e))};var Vae=re(ey),Qae=re(Hae),SOe=re(as(Ar)),EOe=_e(_E),COe=_e(xt(va)),IOe=_e(xt(ar)),TOe=_e(As),FOe=dh(As),MOe=TF(Oae),vj=K(Le),GOe=z(On),AOe=yl(Le),mj=K0(J),xOe=qn(Pa),LOe=N(J);var jOe=Up(As);var pj={show:function(e){return"ECActivity "+("{ name: "+(e.name+(", category: "+(Vae(e.category)+(", tier: "+(Qae(e.tier)+(", description: "+(SOe(e.description)+" }"))))))))}};var Yae={show:function(){var e=re(ze),n=on();return function(t){return e(n(t))}}()},_j={eq:function(e){return function(n){return e===n}}},NOe=_e(xt(_j)),bE={eq:function(e){return function(n){return NOe(e.canonicalId)(n.canonicalId)&&EOe(e.category)(n.category)&&COe(e.description)(n.description)&&IOe(e.id)(n.id)&&e.name===n.name&&TOe(e.tier)(n.tier)}}},RE=bt;var Hl=function(e){return e.tier},A_=function(e){return e.name},wE=function(e){return function(n){return function(t){return function(a){return function(r){return function(o){var i=yE(n),u=function(l){var c=!1,s;function f(v){if(FOe(v)(i))return c=!0,new d(v);var m=function(R){if(xe)return Ei(i);throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivity (line 78, column 1 - line 78, column 105): "+[v.constructor.name])},_=MOe(v);if(_ instanceof d){l=_.value0;return}return c=!0,m(!0)}for(;!c;)s=f(l);return s};return vj(u(t))(function(l){return GOe({name:e,category:n,tier:l,id:a,description:r,canonicalId:o})})}}}}}},POe=Xn(Ge)(J)({diagnosticName:"EC Activity",parse:function(e){return AOe(mj(mj(mj(xOe(LOe(wE(e.name))(ny(e.category)))(Bae(e.tier)))(ee(e.id)))(ee(e.description)))(ee(e.canonical_ec_activity_id)))}}),SE=Go(POe);var nG=function(e){return e.id},Xae=function(e){return function(n){var t=yE(n.category);return vj(jOe(n.tier)(t))(function(a){return vj(uu(t)(e(a)))(function(r){return wE(n.name)(n.category)(r)(n.id)(n.description)(n.canonicalId)})})}},Zae=Xae(function(e){return e+1|0}),Kae=Xae(function(e){return e-1|0}),EE=function(e){return e.description},tv=function(e){return e.category},tG=function(e){return e.canonicalId},fg=N(ge)(function(e){return{name:A_(e),category:Vae(tv(e)),tier:Qae(Hl(e)),id:Ut(nG(e)),description:Ut(EE(e)),canonical_ec_activity_id:Ut(tG(e))}});var dj=z(On),kOe=Nt(Ur);var CE=function(e){var n=T_(e);if(n instanceof d&&e.psatPredictedCompositeSAT instanceof C)return dj(pE.value);if(n instanceof d&&e.psatPredictedCompositeSAT instanceof d)return dj(pE.value);if(n instanceof C&&e.psatPredictedCompositeSAT instanceof d)return dj(K1.value);if(n instanceof C&&e.psatPredictedCompositeSAT instanceof C)return C.value;throw new Error("Failed pattern match at Hub.Types.ChancingProfile (line 50, column 3 - line 58, column 14): "+[n.constructor.name,e.psatPredictedCompositeSAT.constructor.name])},ere=function(e){return{sat:{readingWriting:ee(e.sat.readingWriting),math:ee(e.sat.math)},psatPredictedCompositeSAT:ee(e.psatPredictedCompositeSAT),act:{math:ee(e.act.math),english:ee(e.act.english),reading:ee(e.act.reading),science:ee(e.act.science)},gpa:ee(e.gpa),courseRigor:{ap:ee(e.courseRigor.ap),honors:ee(e.courseRigor.honors),collegeClasses:ee(e.courseRigor.collegeClasses)},ecScore:ee(e.ecScore),ecActivities:SE(e.ecActivities)}};var hj=function(e){return kOe(T_(e))(e.psatPredictedCompositeSAT)};var aG=function(e){return{estimatedNetCost:e.estimatedNetCost,stickerPrice:e.stickerPrice,financialAid:e.financialAid,estimatedMeritAid:ee(e.estimatedMeritAid)}};var nre=wm(function(e){return{status:Q9(e.status),applicationRound:dte(e.applicationRound)}}),gj=function(){return{status:sg.value,applicationRound:g_.value}}();var tre=wm(Qe(Xe)),rG=500;var av=function(){function e(){}return e.value=new e,e}(),vg=function(){function e(){}return e.value=new e,e}();var are={eq:function(e){return function(n){return e instanceof av&&n instanceof av||e instanceof vg&&n instanceof vg}}};var Gu=function(e){if(e instanceof av)return d.create;if(e instanceof vg)return an(C.value);throw new Error("Failed pattern match at SchoolDetails.Configuration (line 16, column 1 - line 16, column 62): "+[e.constructor.name])},xs=function(e){if(e instanceof vg)return d.create;if(e instanceof av)return an(C.value);throw new Error("Failed pattern match at SchoolDetails.Configuration (line 20, column 1 - line 20, column 61): "+[e.constructor.name])},Vm=function(){return d.create}();var rre=yn(Dn),ore=gn(rre)(pn(mn)),ire=dn(_n),ure=hn(ire),lre=wn(Rn),cre=bn(lre),oG=function(){function e(){}return e.value=new e,e}(),Dj=function(){function e(){}return e.value=new e,e}(),yj=function(){function e(){}return e.value=new e,e}(),OOe={to:function(e){if(e instanceof H)return oG.value;if(e instanceof p&&e.value0 instanceof H)return Dj.value;if(e instanceof p&&e.value0 instanceof p)return yj.value;throw new Error("Failed pattern match at Autopilot.Student.Types.AutopilotStatus (line 14, column 1 - line 14, column 42): "+[e.constructor.name])},from:function(e){if(e instanceof oG)return new H(fe.value);if(e instanceof Dj)return new p(new H(fe.value));if(e instanceof yj)return new p(new p(fe.value));throw new Error("Failed pattern match at Autopilot.Student.Types.AutopilotStatus (line 14, column 1 - line 14, column 42): "+[e.constructor.name])}};var bj=function(){var e=function(n){if(n instanceof oG)return"ineligible";if(n instanceof Dj)return"eligible";if(n instanceof yj)return"joined";throw new Error("Failed pattern match at Autopilot.Student.Types.AutopilotStatus (line 24, column 17 - line 27, column 25): "+[n.constructor.name])};return ut(Ge)({parse:Gn(e)(Sn(OOe)(ore(ore(rre)(ire))(ure))(cre(cre(lre)))(ure)),default:oG.value,diagnosticName:"Autopilot Status"})}();var sre=function(e){return{rcr2577ClaimSchoolProfileLinkOnSdp:e.rcr2577ClaimSchoolProfileLinkOnSdp,app18667SageOnSdp:e.app18667SageOnSdp,app18667TrellisRecruiter:e.app18667TrellisRecruiter,autopilot:bj(e.autopilot)}};var UOe=function(){function e(){}return e.value=new e,e}(),Rj=function(){function e(){}return e.value=new e,e}(),IE=function(){function e(){}return e.value=new e,e}(),fre=function(){function e(){}return e.value=new e,e}(),vre=function(e){if(e instanceof UOe)return"modal-sm";if(e instanceof Rj)return"";if(e instanceof IE)return"modal-lg";if(e instanceof fre)return"modal-xl";throw new Error("Failed pattern match at Bootstrap.Modal.Size (line 14, column 13 - line 18, column 27): "+[e.constructor.name])};var Nre=ba(jre()),Pre=Nre.default;var bUe=Af(),kre=function(e){var n=bUe(e);return function(){return function(){return n(Pre)}}};var Ore=lS(iS);var Ure={map:function(e){return function(n){return Ore(Ore(e))(n)}}},RUe=Z(Ure),wUe=function(e){var n=K(e.Monad0().Bind1()),t=Jn(e);return function(a){return e_(function(r){return n(a(r.dispatch))(function(o){return t(r.onStop(o))})})}},Hre=function(e){var n=wUe(e);return function(t){return function(a){return n(RUe(a)(t))}}};var Bre=Bn(Mn)(qt),SUe=Hre(tt),EUe=Qe(Xe),Jre=z(pt),fG=function(e){return function(n){return R1("UseSubscription")(function(t){return{init:Bre(SUe(EUe)(e))(function(){return Jre(Ce)}),update:function(a){return function(r){return Bre(mr(n(r)))(function(){return Jre(Ce)})}},view:function(a){return function(r){return t(Ce)}}}})}};function GE(e){return function(){return function(n){return e(n)()}}}function AE(e){return function(n){return function(t){return function(a){return function(){return a.addEventListener(e,n,t)}}}}}function Mj(e){return function(n){return function(t){return function(a){return function(){return a.removeEventListener(e,n,t)}}}}}var Wre="message";var qre="hashchange";var zre="popstate";var $re="keyup",Vre="keydown";var Qre="mouseup";var Yre="mousemove";var Xre=Jn(tt),Zre=N(it),CUe=mt(Va),xE=function(){var e=function(a){return function(r){return function(o){return Xre(function(){var u=r(),l=GE(function(c){return o(c)})();return AE(a)(l)(!1)(u)(),Xre(Mj(a)(l)(!1)(u))})}}},n=function(a){return e(a)(Zre(ote)(po))},t=function(a){return e(a)(Zre(Kne)(CUe(Rm)(po)))};return{hashchange:n(qre),mousemove:n(Yre),mouseup:n(Qre),popstate:n(zre),resize:n("resize"),message:n(Wre),keydown:t(Vre),keyup:t($re),selectionchange:t("selectionchange"),visibilitychange:t("visibilitychange")}}();var eoe=Ef()(),oWe=function(e){return e},Fr=Ga(el),Mr=function(e){var n=zne(e)()();return function(){return function(){return function(t){return function(a){return function(r){return function(o){return n(eoe(r)({className:t,"aria-label":a}))(o)}}}}}}};var Ls=function(e){return oWe(Ga(e))},g0=function(e){var n=Vne(e)()();return function(){return function(){return function(t){return function(a){return function(r){return function(o){return n(eoe(r)({className:t,"aria-label":a}))(o)}}}}}}};var LE=function(){return Be};var oy=B(ae),Aj=Sa(),iWe=kre(ae)()(),uWe=Yn(ae)()(),lWe=Yn(W)()(),cWe=B(W),sWe=Mr(L)()(),fWe=la(pr),vWe=To(na),mWe=Jn(tt),noe=LE(),vG=function(){return function(e){var n=oy("modal-backdrop fade show")(un),t=Aj(e),a=Rr(t.footer),r=Rr(t.header),o=Un(t.size)(Rj.value),i=Wr(" ")([function(){var l=Un(t.scrollable)(!0);return l?"modal-dialog-scrollable":""}(),function(){var l=Un(t.centered)(!0);return l?"modal-dialog-centered":""}(),vre(o),Un(t.dialogClass)("")]),u=iWe({focusTrapOptions:{escapeDeactivates:!1,fallbackFocus:".modal-content",allowOutsideClick:!0}})(oy("modal fade show d-block")(uWe("modal-dialog "+i)({style:Un(t.dialogStyle)(fn({}))})(lWe("modal-content "+Un(t.contentClass)(""))({style:Un(t.contentStyle)(fn({}))})([Je(r)(oy("modal-header "+Un(t.headerClass)(""))),oy("modal-body "+Un(t.bodyClass)(""))(t.body),Je(a)(oy("modal-footer "+Un(t.footerClass)("")))]))));return ce([u,n])}},toe=vG(),Ym=function(){return function(e){var n=Aj(e),t=cWe("d-flex w-100 justify-content-between align-items-center")([oy("mr-4")(Un(n.title)(un)),sWe("btn btn-link large mr-n3 py-0 fe fe-x t--close "+Un(n.dismissButtonClass)("text-body"))(Ls("Close"))({type:"button",onClick:fWe(n.onDismiss)})("")]),a=function(r){return vWe(r.key==="Escape")(mWe(n.onDismiss))};return w1(fG(xE.keyup)(a))(function(r){var o=Un(n.bodyScrollable)(!1);return toe(o?function(){var i=Aj(noe(n));return{body:i.body,bodyClass:i.bodyClass,centered:i.centered,contentClass:i.contentClass,contentStyle:i.contentStyle,dialogClass:i.dialogClass,dialogStyle:i.dialogStyle,footer:i.footer,footerClass:i.footerClass,headerClass:i.headerClass,scrollable:i.scrollable,size:i.size,header:t}}():noe({bodyClass:n.bodyClass,bodyScrollable:n.bodyScrollable,centered:n.centered,contentClass:n.contentClass,contentStyle:n.contentStyle,dialogClass:n.dialogClass,dialogStyle:n.dialogStyle,dismissButtonClass:n.dismissButtonClass,footer:n.footer,footerClass:n.footerClass,headerClass:n.headerClass,onDismiss:n.onDismiss,scrollable:n.scrollable,size:n.size,title:n.title,body:ce([t,n.body])}))})}};function aoe(e){if(typeof auth0=="undefined")throw new Error("Tried to login with SSO in a context where `auth0` is not defined.");new auth0.WebAuth({domain:e.auth0Config.auth0Domain,clientID:e.auth0Config.auth0ClientId,redirectUri:e.auth0Config.auth0RedirectUri,responseType:"code"}).authorize({connection:e.connection,state:e.auth0Config.omniAuthState})}var roe=typeof CV!="undefined"&&CV.pathInfo||typeof global!="undefined"&&global.CV&&global.CV.pathInfo||(e=>null);function ooe(e,n){let t=typeof CV!="undefined"&&CV.apiEndpoint||typeof global!="undefined"&&global.CV&&global.CV.apiEndpoint;return t||console.error("Missing `CV.apiEndpoint` function"),t&&t(e,n)}function ioe(e,n,t,a,r){return function(o,i){var u=e.newXHR(),l=e.fixupUrl(r.url,u);if(u.open(r.method||"GET",l,!0,r.username,r.password),r.headers)try{for(var c=0,s;(s=r.headers[c])!=null;c++)u.setRequestHeader(s.field,s.value)}catch(v){o(v)}var f=function(v){return function(){o(new Error(v))}};return u.onerror=f(t),u.ontimeout=f(n),u.onload=function(){i({status:u.status,statusText:u.statusText,headers:u.getAllResponseHeaders().split(`\r `).filter(function(v){return v.length>0}).map(function(v){var m=v.indexOf(":");return a(v.substring(0,m))(v.substring(m+2))}),body:u.response})},u.responseType=r.responseType,u.withCredentials=r.withCredentials,u.timeout=r.timeout,u.send(r.content),function(v,m,_){try{u.abort()}catch(R){return m(R)}return _()}}}var mG="application/json",uoe="application/x-www-form-urlencoded";var loe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),coe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),soe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),foe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),voe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),xj=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),pG=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),moe=function(e){return e instanceof xj?new d(uoe):e instanceof pG?new d(mG):C.value};var poe=function(){return pG.create}();var _oe=on();var _G=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),dG=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),iy=function(){function e(n,t){this.value0=n,this.value1=t}return e.create=function(n){return function(t){return new e(n,t)}},e}(),doe=function(e){if(e instanceof _G||e instanceof dG)return _oe(e.value0);if(e instanceof iy)return e.value1;throw new Error("Failed pattern match at Affjax.RequestHeader (line 26, column 1 - line 26, column 33): "+[e.constructor.name])};var Lj=function(e){if(e instanceof _G)return"Accept";if(e instanceof dG)return"Content-Type";if(e instanceof iy)return e.value0;throw new Error("Failed pattern match at Affjax.RequestHeader (line 21, column 1 - line 21, column 32): "+[e.constructor.name])};var hoe=Qe(Xe),jj=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Nj=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Pj=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),hG=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),gG=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),DG=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),goe=function(e){if(e instanceof jj)return"arraybuffer";if(e instanceof Nj)return"blob";if(e instanceof Pj)return"document";if(e instanceof hG||e instanceof gG)return"text";if(e instanceof DG)return"";throw new Error("Failed pattern match at Affjax.ResponseFormat (line 44, column 3 - line 50, column 19): "+[e.constructor.name])},Doe=function(e){return e instanceof hG?new d(mG):C.value},yoe=function(){return new gG(hoe)}();var boe=function(){return new DG(hoe)}();var Roe=function(){function e(n,t){this.value0=n,this.value1=t}return e.create=function(n){return function(t){return new e(n,t)}},e}();function woe(e,n,t){try{return n(JSON.parse(t))}catch(a){return e(a.message)}}var yG=function(e){return woe(rn.create,ln.create,e)};var pWe=qn(Pa),Soe=N(J),_We=Mo(wi)(On);var dWe=function(e){return e};var Eoe=function(){var e=function(a){if(a.value1 instanceof C)return kM(a.value0);if(a.value1 instanceof d)return pWe(Soe(function(r){return function(o){return r+("="+o)}})(kM(a.value0)))(kM(a.value1.value0));throw new Error("Failed pattern match at Data.FormURLEncoded (line 37, column 16 - line 39, column 114): "+[a.constructor.name])},n=Soe(Wr("&")),t=_We(e);return function(a){return n(t(dWe(a)))}}();var kj=function(){function e(){}return e.value=new e,e}(),x_=function(){function e(){}return e.value=new e,e}(),Oj=function(){function e(){}return e.value=new e,e}(),Xm=function(){function e(){}return e.value=new e,e}(),bG=function(){function e(){}return e.value=new e,e}(),jE=function(){function e(){}return e.value=new e,e}(),Uj=function(){function e(){}return e.value=new e,e}(),Hj=function(){function e(){}return e.value=new e,e}(),Bj=function(){function e(){}return e.value=new e,e}(),Jj=function(){function e(){}return e.value=new e,e}(),Wj=function(){function e(){}return e.value=new e,e}(),qj=function(){function e(){}return e.value=new e,e}(),zj=function(){function e(){}return e.value=new e,e}(),$j=function(){function e(){}return e.value=new e,e}(),Vj=function(){function e(){}return e.value=new e,e}(),RG=function(){function e(){}return e.value=new e,e}();var hWe=function(e){return e},gWe={show:function(e){if(e instanceof kj)return"OPTIONS";if(e instanceof x_)return"GET";if(e instanceof Oj)return"HEAD";if(e instanceof Xm)return"POST";if(e instanceof bG)return"PUT";if(e instanceof jE)return"DELETE";if(e instanceof Uj)return"TRACE";if(e instanceof Hj)return"CONNECT";if(e instanceof Bj)return"PROPFIND";if(e instanceof Jj)return"PROPPATCH";if(e instanceof Wj)return"MKCOL";if(e instanceof qj)return"COPY";if(e instanceof zj)return"MOVE";if(e instanceof $j)return"LOCK";if(e instanceof Vj)return"UNLOCK";if(e instanceof RG)return"PATCH";throw new Error("Failed pattern match at Data.HTTP.Method (line 43, column 1 - line 59, column 23): "+[e.constructor.name])}};var Coe=rr(re(gWe))(hWe);var Ioe={eq:function(e){return function(n){return e instanceof kj&&n instanceof kj||e instanceof x_&&n instanceof x_||e instanceof Oj&&n instanceof Oj||e instanceof Xm&&n instanceof Xm||e instanceof bG&&n instanceof bG||e instanceof jE&&n instanceof jE||e instanceof Uj&&n instanceof Uj||e instanceof Hj&&n instanceof Hj||e instanceof Bj&&n instanceof Bj||e instanceof Jj&&n instanceof Jj||e instanceof Wj&&n instanceof Wj||e instanceof qj&&n instanceof qj||e instanceof zj&&n instanceof zj||e instanceof $j&&n instanceof $j||e instanceof Vj&&n instanceof Vj||e instanceof RG&&n instanceof RG}}};var Toe=function(e){return Ph(function(n){return function(){var a=e(function(r){return n(rn.create(r))()},function(r){return n(ln.create(r))()});return function(r){return Ph(function(o){return function(){return a(r,function(u){return o(rn.create(u))()},function(u){return o(ln.create(u))()}),HX}})}}})};var Qj=z(If(ga)),DWe=Mh(ga),pg=Tf(ga),Foe=Nt(k8(_8)(ga)),yWe=rh(Qv(ga)),wG=N(J),bWe=ic(Te)(ea),RWe=_e(va),wWe=mt(Le),SWe=N(ge),EWe=Z(Vt),CWe=ms(Yv),IWe=z(na);var SG=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),EG=function(){function e(n,t){this.value0=n,this.value1=t}return e.create=function(n){return function(t){return new e(n,t)}},e}(),CG=function(){function e(){}return e.value=new e,e}(),IG=function(){function e(){}return e.value=new e,e}(),TG=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Moe=function(e){return function(n){var t=function(s){return s===""?Qj(UQ):rr(function(f){return DWe(OF.create(f))})(Qj)(yG(s))},a=function(){if(n.responseFormat instanceof jj)return pg("ArrayBuffer");if(n.responseFormat instanceof Nj)return pg("Blob");if(n.responseFormat instanceof Pj)return function(s){return Foe(pg("Document")(s))(Foe(pg("XMLDocument")(s))(pg("HTMLDocument")(s)))};if(n.responseFormat instanceof hG)return yWe(function(s){return n.responseFormat.value0(t(s))})(pg("String"));if(n.responseFormat instanceof gG)return pg("String");if(n.responseFormat instanceof DG)return an(n.responseFormat.value0(Qj(Ce)));throw new Error("Failed pattern match at Affjax (line 274, column 18 - line 283, column 57): "+[n.responseFormat.constructor.name])}(),r=function(s){if(s instanceof loe)return new ln(s.value0(Ga));if(s instanceof coe)return new ln(Ga(s.value0));if(s instanceof soe)return new ln(Ga(s.value0));if(s instanceof foe)return new ln(Ga(s.value0));if(s instanceof voe)return new ln(Ga(s.value0));if(s instanceof xj)return HD("Body contains values that cannot be encoded as application/x-www-form-urlencoded")(wG(Ga)(Eoe(s.value0)));if(s instanceof pG)return new ln(Ga(XT(s.value0)));throw new Error("Failed pattern match at Affjax (line 235, column 20 - line 250, column 69): "+[s.constructor.name])},o=function(s){return function(f){return s instanceof d&&!bWe(Eu(RWe)(Lj)(s.value0))(f)?Dw(f)(s.value0):f}},i=function(s){return o(wG(dG.create)(wWe(moe)(s)))(o(wG(_G.create)(Doe(n.responseFormat)))(n.headers))},u=function(s){return{method:Coe(n.method),url:n.url,headers:SWe(function(f){return{field:Lj(f),value:doe(f)}})(i(n.content)),content:s,responseType:goe(n.responseFormat),username:Ut(n.username),password:Ut(n.password),withCredentials:n.withCredentials,timeout:Ee(0)(wG(function(f){return f})(n.timeout))}},l=function(s){return EWe(CWe(Toe(ioe(e,"AffjaxTimeoutErrorMessageIdent","AffjaxRequestFailedMessageIdent",Roe.create,u(s)))))(function(f){if(f instanceof ln){var v=sE(a(f.value0.body));if(v instanceof rn)return new rn(new EG(hY(v.value0),f.value0));if(v instanceof ln)return new ln({headers:f.value0.headers,status:f.value0.status,statusText:f.value0.statusText,body:v.value0});throw new Error("Failed pattern match at Affjax (line 209, column 9 - line 211, column 52): "+[v.constructor.name])}if(f instanceof rn)return new rn(function(){var m=m1(f.value0),_=m==="AffjaxTimeoutErrorMessageIdent";if(_)return CG.value;var R=m==="AffjaxRequestFailedMessageIdent";return R?IG.value:new TG(f.value0)}());throw new Error("Failed pattern match at Affjax (line 207, column 144 - line 219, column 28): "+[f.constructor.name])})};if(n.content instanceof C)return l(Ut(C.value));if(n.content instanceof d){var c=r(n.content.value0);if(c instanceof ln)return l(Ut(new d(c.value0)));if(c instanceof rn)return IWe(new rn(new SG(c.value0)));throw new Error("Failed pattern match at Affjax (line 199, column 7 - line 203, column 48): "+[c.constructor.name])}throw new Error("Failed pattern match at Affjax (line 195, column 3 - line 203, column 48): "+[n.content.constructor.name])}};var uy=function(){return{method:new rn(x_.value),url:"/",headers:[],content:C.value,username:C.value,password:C.value,withCredentials:!1,responseFormat:boe,timeout:C.value}}();var Goe={eq:function(e){return function(n){return e===n}}};var Yj={newXHR:function(){return new XMLHttpRequest},fixupUrl:function(e){return e||"/"}};var Aoe=Moe(Yj);function xoe(e){return Buffer.from(e).toString("base64")}function Loe(e,n,t){let a;try{a=n(btoa(t))}catch(r){a=e(r)}return a}var Xj=typeof btoa=="function";function joe(e){let n=32768,t=[];for(let a=0;a=0)&&(t[r]=e[r]);return t}function pi(e,n){if(e==null)return{};var t=WN(e,n),a,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&(!Object.prototype.propertyIsEnumerable.call(e,a)||(t[a]=e[a]))}return t}Wt();Wt();function bo(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function Pce(e,n){for(var t=0;t1&&arguments[1]!==void 0?arguments[1]:1;Uce+=1;var t=Uce;function a(r){if(r===0)Hce(t),e();else{var o=kce(function(){a(r-1)});zN.set(t,o)}}return a(n),t}Hc.cancel=function(e){var n=zN.get(e);return Hce(n),Oce(n)};function Eg(e,n){return e?e.contains(n):!1}function ZE(e){return e instanceof HTMLElement?e:gc.findDOMNode(e)}var zce=ba(qce());Wt();function YN(e,n){typeof e=="function"?e(n):yo(e)==="object"&&e&&"current"in e&&(e.current=n)}function U4(){for(var e=arguments.length,n=new Array(e),t=0;te.length)&&(n=e.length);for(var t=0,a=new Array(n);t1&&arguments[1]!==void 0?arguments[1]:2;n();var o=Hc(function(){r<=1?a({isCanceled:function(){return o!==e.current}}):t(a,r-1)});e.current=o}return br(function(){return function(){n()}},[]),[t,n]};Wt();var AVe=w0()?tS:br,z4=AVe;var rse=[Ps,ep,V_,q4],rP=!1,ose=!0;function $4(e){return e===V_||e===q4}var ise=function(e,n){var t=np(aP),a=Ja(t,2),r=a[0],o=a[1],i=ase(),u=Ja(i,2),l=u[0],c=u[1];function s(){o(Ps,!0)}return z4(function(){if(r!==aP&&r!==q4){var f=rse.indexOf(r),v=rse[f+1],m=n(r);m===rP?o(v,!0):l(function(_){function R(){_.isCanceled()||o(v,!0)}m===!0?R():Promise.resolve(m).then(R)})}},[e,r]),br(function(){return function(){c()}},[]),[s,r]};Wt();Wt();var use=function(e){var n=Aa(),t=Aa(e);t.current=e;var a=nS(function(i){t.current(i)},[]);function r(i){i&&(i.removeEventListener(nP,a),i.removeEventListener(eP,a))}function o(i){n.current&&n.current!==i&&r(n.current),i&&i!==n.current&&(i.addEventListener(nP,a),i.addEventListener(eP,a),n.current=i)}return br(function(){return function(){r(n.current)}},[]),[o,r]};function oP(e,n,t,a){var r=a.motionEnter,o=r===void 0?!0:r,i=a.motionAppear,u=i===void 0?!0:i,l=a.motionLeave,c=l===void 0?!0:l,s=a.motionDeadline,f=a.motionLeaveImmediately,v=a.onAppearPrepare,m=a.onEnterPrepare,_=a.onLeavePrepare,R=a.onAppearStart,D=a.onEnterStart,y=a.onLeaveStart,S=a.onAppearActive,G=a.onEnterActive,P=a.onLeaveActive,k=a.onAppearEnd,M=a.onEnterEnd,O=a.onLeaveEnd,oe=a.onVisibleChanged,le=np(),ve=Ja(le,2),X=ve[0],be=ve[1],pe=np($_),De=Ja(pe,2),Ne=De[0],ie=De[1],jn=np(null),Ve=Ja(jn,2),Pn=Ve[0],kn=Ve[1],q=Aa(!1),x=Aa(null);function ne(){return t()}var me=Aa(!1);function ye(Cn){var nt=ne();if(!(Cn&&!Cn.deadline&&Cn.target!==nt)){var ht=me.current,Fn;Ne===eC&&ht?Fn=k==null?void 0:k(nt,Cn):Ne===nC&&ht?Fn=M==null?void 0:M(nt,Cn):Ne===tC&&ht&&(Fn=O==null?void 0:O(nt,Cn)),Ne!==$_&&ht&&Fn!==!1&&(ie($_,!0),kn(null,!0))}}var U=use(ye),de=Ja(U,1),V=de[0],Ae=aS(function(){var Cn,nt,ht;switch(Ne){case eC:return Cn={},Fa(Cn,Ps,v),Fa(Cn,ep,R),Fa(Cn,V_,S),Cn;case nC:return nt={},Fa(nt,Ps,m),Fa(nt,ep,D),Fa(nt,V_,G),nt;case tC:return ht={},Fa(ht,Ps,_),Fa(ht,ep,y),Fa(ht,V_,P),ht;default:return{}}},[Ne]),Me=ise(Ne,function(Cn){if(Cn===Ps){var nt=Ae[Ps];return nt?nt(ne()):rP}if(je in Ae){var ht;kn(((ht=Ae[je])===null||ht===void 0?void 0:ht.call(Ae,ne(),null))||null)}return je===V_&&(V(ne()),s>0&&(clearTimeout(x.current),x.current=setTimeout(function(){ye({deadline:!0})},s))),ose}),He=Ja(Me,2),$e=He[0],je=He[1],In=$4(je);me.current=In,z4(function(){be(n);var Cn=q.current;if(q.current=!0,!!e){var nt;!Cn&&n&&u&&(nt=eC),Cn&&n&&o&&(nt=nC),(Cn&&!n&&c||!Cn&&f&&!n&&c)&&(nt=tC),nt&&(ie(nt),$e())}},[n]),br(function(){(Ne===eC&&!u||Ne===nC&&!o||Ne===tC&&!c)&&ie($_)},[u,o,c]),br(function(){return function(){q.current=!1,clearTimeout(x.current)}},[]);var cn=Aa(!1);br(function(){X&&(cn.current=!0),X!==void 0&&Ne===$_&&((cn.current||X)&&(oe==null||oe(X)),cn.current=!0)},[X,Ne]);var et=Pn;return Ae[Ps]&&je===ep&&(et=Ht({transition:"none"},et)),[Ne,je,et,X!=null?X:n]}Wt();var xVe=function(e){wo(t,e);var n=Sg(t);function t(){return bo(this,t),n.apply(this,arguments)}return Ro(t,[{key:"render",value:function(){return this.props.children}}]),t}(jh),lse=xVe;function LVe(e){var n=e;yo(e)==="object"&&(n=e.transitionSupport);function t(r){return!!(r.motionName&&n)}var a=hc(function(r,o){var i=r.visible,u=i===void 0?!0:i,l=r.removeOnLeave,c=l===void 0?!0:l,s=r.forceRender,f=r.children,v=r.motionName,m=r.leavedClassName,_=r.eventProps,R=t(r),D=Aa(),y=Aa();function S(){try{return D.current instanceof HTMLElement?D.current:ZE(y.current)}catch{return null}}var G=oP(R,u,S,r),P=Ja(G,4),k=P[0],M=P[1],O=P[2],oe=P[3],le=Aa(oe);oe&&(le.current=!0);var ve=nS(function(jn){D.current=jn,YN(o,jn)},[o]),X,be=Ht(Ht({},_),{},{visible:u});if(!f)X=null;else if(k===$_||!t(r))oe?X=f(Ht({},be),ve):!c&&le.current?X=f(Ht(Ht({},be),{},{className:m}),ve):s?X=f(Ht(Ht({},be),{},{style:{display:"none"}}),ve):X=null;else{var pe,De;M===Ps?De="prepare":$4(M)?De="active":M===ep&&(De="start"),X=f(Ht(Ht({},be),{},{className:(0,cse.default)(tP(v,k),(pe={},Fa(pe,tP(v,"".concat(k,"-").concat(De)),De),Fa(pe,v,typeof v=="string"),pe)),style:O}),ve)}if(J8(X)&&H4(X)){var Ne=X,ie=Ne.ref;ie||(X=eS(X,{ref:ve}))}return ka(lse,{ref:y},X)});return a.displayName="CSSMotion",a}var V4=LVe(W4);Wt();var Q4="add",Y4="keep",X4="remove",Z4="removed";function jVe(e){var n;return e&&yo(e)==="object"&&"key"in e?n=e:n={key:e},Ht(Ht({},n),{},{key:String(n.key)})}function K4(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(jVe)}function sse(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],t=[],a=0,r=n.length,o=K4(e),i=K4(n);o.forEach(function(c){for(var s=!1,f=a;f1});return l.forEach(function(c){t=t.filter(function(s){var f=s.key,v=s.status;return f!==c||v!==X4}),t.forEach(function(s){s.key===c&&(s.status=Y4)})}),t}var NVe=["component","children","onVisibleChanged","onAllRemoved"],PVe=["status"],kVe=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function OVe(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:V4,t=function(a){wo(o,a);var r=Sg(o);function o(){var i;bo(this,o);for(var u=arguments.length,l=new Array(u),c=0;c=0&&t.left>=0&&t.bottom>t.top&&t.right>t.left?t:null}function cQe(e,n,t,a){var r=ia.clone(e),o={width:n.width,height:n.height};return a.adjustX&&r.left=t.left&&r.left+o.width>t.right&&(o.width-=r.left+o.width-t.right),a.adjustX&&r.left+o.width>t.right&&(r.left=Math.max(t.right-o.width,t.left)),a.adjustY&&r.top=t.top&&r.top+o.height>t.bottom&&(o.height-=r.top+o.height-t.bottom),a.adjustY&&r.top+o.height>t.bottom&&(r.top=Math.max(t.bottom-o.height,t.top)),ia.mix(r,o)}function hP(e){var n,t,a;if(!ia.isWindow(e)&&e.nodeType!==9)n=ia.offset(e),t=ia.outerWidth(e),a=ia.outerHeight(e);else{var r=ia.getWindow(e);n={left:ia.getWindowScrollLeft(r),top:ia.getWindowScrollTop(r)},t=ia.viewportWidth(r),a=ia.viewportHeight(r)}return n.width=t,n.height=a,n}function Fse(e,n){var t=n.charAt(0),a=n.charAt(1),r=e.width,o=e.height,i=e.left,u=e.top;return t==="c"?u+=o/2:t==="b"&&(u+=o),a==="c"?i+=r/2:a==="r"&&(i+=r),{left:i,top:u}}function o3(e,n,t,a,r){var o=Fse(n,t[1]),i=Fse(e,t[0]),u=[i.left-o.left,i.top-o.top];return{left:Math.round(e.left-u[0]+a[0]-r[0]),top:Math.round(e.top-u[1]+a[1]-r[1])}}function Mse(e,n,t){return e.leftt.right}function Gse(e,n,t){return e.topt.bottom}function sQe(e,n,t){return e.left>t.right||e.left+n.widtht.bottom||e.top+n.height=t.right||a.top>=t.bottom}function l3(e,n,t){var a=t.target||n,r=hP(a),o=!vQe(a,t.overflow&&t.overflow.alwaysByViewport);return Lse(e,r,t,o)}l3.__getOffsetParent=_P;l3.__getVisibleRectForElement=dP;function jse(e,n,t){var a,r,o=ia.getDocument(e),i=o.defaultView||o.parentWindow,u=ia.getWindowScrollLeft(i),l=ia.getWindowScrollTop(i),c=ia.viewportWidth(i),s=ia.viewportHeight(i);"pageX"in n?a=n.pageX:a=u+n.clientX,"pageY"in n?r=n.pageY:r=l+n.clientY;var f={left:a,top:r,width:0,height:0},v=a>=0&&a<=u+c&&r>=0&&r<=l+s,m=[t.points[0],"cc"];return Lse(e,f,pse(pse({},t),{},{points:m}),v)}var Dme=ba(lme());var cme=function(){if(typeof Map!="undefined")return Map;function e(n,t){var a=-1;return n.some(function(r,o){return r[0]===t?(a=o,!0):!1}),a}return function(){function n(){this.__entries__=[]}return Object.defineProperty(n.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),n.prototype.get=function(t){var a=e(this.__entries__,t),r=this.__entries__[a];return r&&r[1]},n.prototype.set=function(t,a){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=a:this.__entries__.push([t,a])},n.prototype.delete=function(t){var a=this.__entries__,r=e(a,t);~r&&a.splice(r,1)},n.prototype.has=function(t){return!!~e(this.__entries__,t)},n.prototype.clear=function(){this.__entries__.splice(0)},n.prototype.forEach=function(t,a){a===void 0&&(a=null);for(var r=0,o=this.__entries__;r0},e.prototype.connect_=function(){!PP||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Oen?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!PP||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(n){var t=n.propertyName,a=t===void 0?"":t,r=ken.some(function(o){return!!~a.indexOf(o)});r&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),sme=function(e,n){for(var t=0,a=Object.keys(n);t0},e}(),mme=typeof WeakMap!="undefined"?new WeakMap:new cme,pme=function(){function e(n){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var t=Uen.getInstance(),a=new Yen(n,t,this);mme.set(this,a)}return e}();["observe","unobserve","disconnect"].forEach(function(e){pme.prototype[e]=function(){var n;return(n=mme.get(this))[e].apply(n,arguments)}});var Xen=function(){return typeof p3.ResizeObserver!="undefined"?p3.ResizeObserver:pme}(),_me=Xen;function dme(e,n){return e===n?!0:!e||!n?!1:"pageX"in n&&"pageY"in n?e.pageX===n.pageX&&e.pageY===n.pageY:"clientX"in n&&"clientY"in n?e.clientX===n.clientX&&e.clientY===n.clientY:!1}function hme(e,n){e!==document.activeElement&&Eg(n,e)&&typeof e.focus=="function"&&e.focus()}function kP(e,n){var t=null,a=null;function r(i){var u=Ja(i,1),l=u[0].target;if(!!document.documentElement.contains(l)){var c=l.getBoundingClientRect(),s=c.width,f=c.height,v=Math.floor(s),m=Math.floor(f);(t!==v||a!==m)&&Promise.resolve().then(function(){n({width:v,height:m})}),t=v,a=m}}var o=new _me(r);return e&&o.observe(e),function(){o.disconnect()}}Wt();var gme=function(e,n){var t=wt.useRef(!1),a=wt.useRef(null);function r(){window.clearTimeout(a.current)}function o(i){if(r(),!t.current||i===!0){if(e()===!1)return;t.current=!0,a.current=window.setTimeout(function(){t.current=!1},n)}else a.current=window.setTimeout(function(){t.current=!1,o()},n)}return[o,function(){t.current=!1,r()}]};function yme(e){return typeof e!="function"?null:e()}function bme(e){return yo(e)!=="object"||!e?null:e}var Zen=function(n,t){var a=n.children,r=n.disabled,o=n.target,i=n.align,u=n.onAlign,l=n.monitorWindowResize,c=n.monitorBufferTime,s=c===void 0?0:c,f=wt.useRef({}),v=wt.useRef(),m=wt.Children.only(a),_=wt.useRef({});_.current.disabled=r,_.current.target=o,_.current.align=i,_.current.onAlign=u;var R=gme(function(){var M=_.current,O=M.disabled,oe=M.target,le=M.align,ve=M.onAlign;if(!O&&oe){var X=v.current,be,pe=yme(oe),De=bme(oe);f.current.element=pe,f.current.point=De,f.current.align=le;var Ne=document,ie=Ne.activeElement;return pe&&vse(pe)?be=l3(X,pe,le):De&&(be=jse(X,De,le)),hme(ie,X),ve&&be&&ve(X,be),!0}return!1},s),D=Ja(R,2),y=D[0],S=D[1],G=wt.useRef({cancel:function(){}}),P=wt.useRef({cancel:function(){}});wt.useEffect(function(){var M=yme(o),O=bme(o);v.current!==P.current.element&&(P.current.cancel(),P.current.element=v.current,P.current.cancel=kP(v.current,y)),(f.current.element!==M||!dme(f.current.point,O)||!(0,Dme.default)(f.current.align,i))&&(y(),G.current.element!==M&&(G.current.cancel(),G.current.element=M,G.current.cancel=kP(M,y)))}),wt.useEffect(function(){r?S():y()},[r]);var k=wt.useRef(null);return wt.useEffect(function(){l?k.current||(k.current=q_(window,"resize",y)):k.current&&(k.current.remove(),k.current=null)},[l]),wt.useEffect(function(){return function(){G.current.cancel(),P.current.cancel(),k.current&&k.current.remove(),S()}},[]),wt.useImperativeHandle(t,function(){return{forceAlign:function(){return y(!0)}}}),wt.isValidElement(m)&&(m=wt.cloneElement(m,{ref:U4(m.ref,v)})),m},Rme=wt.forwardRef(Zen);Rme.displayName="Align";var wme=Rme;var Sme=wme;Wt();var Ken=w0()?tS:br,OP=Ken;var Fme=ba(z_());function hC(){"use strict";hC=function(){return e};var e={},n=Object.prototype,t=n.hasOwnProperty,a=typeof Symbol=="function"?Symbol:{},r=a.iterator||"@@iterator",o=a.asyncIterator||"@@asyncIterator",i=a.toStringTag||"@@toStringTag";function u(ve,X,be){return Object.defineProperty(ve,X,{value:be,enumerable:!0,configurable:!0,writable:!0}),ve[X]}try{u({},"")}catch{u=function(be,pe,De){return be[pe]=De}}function l(ve,X,be,pe){var De=X&&X.prototype instanceof f?X:f,Ne=Object.create(De.prototype),ie=new O(pe||[]);return Ne._invoke=function(jn,Ve,Pn){var kn="suspendedStart";return function(q,x){if(kn==="executing")throw new Error("Generator is already running");if(kn==="completed"){if(q==="throw")throw x;return le()}for(Pn.method=q,Pn.arg=x;;){var ne=Pn.delegate;if(ne){var me=P(ne,Pn);if(me){if(me===s)continue;return me}}if(Pn.method==="next")Pn.sent=Pn._sent=Pn.arg;else if(Pn.method==="throw"){if(kn==="suspendedStart")throw kn="completed",Pn.arg;Pn.dispatchException(Pn.arg)}else Pn.method==="return"&&Pn.abrupt("return",Pn.arg);kn="executing";var ye=c(jn,Ve,Pn);if(ye.type==="normal"){if(kn=Pn.done?"completed":"suspendedYield",ye.arg===s)continue;return{value:ye.arg,done:Pn.done}}ye.type==="throw"&&(kn="completed",Pn.method="throw",Pn.arg=ye.arg)}}}(ve,be,ie),Ne}function c(ve,X,be){try{return{type:"normal",arg:ve.call(X,be)}}catch(pe){return{type:"throw",arg:pe}}}e.wrap=l;var s={};function f(){}function v(){}function m(){}var _={};u(_,r,function(){return this});var R=Object.getPrototypeOf,D=R&&R(R(oe([])));D&&D!==n&&t.call(D,r)&&(_=D);var y=m.prototype=f.prototype=Object.create(_);function S(ve){["next","throw","return"].forEach(function(X){u(ve,X,function(be){return this._invoke(X,be)})})}function G(ve,X){function be(De,Ne,ie,jn){var Ve=c(ve[De],ve,Ne);if(Ve.type!=="throw"){var Pn=Ve.arg,kn=Pn.value;return kn&&yo(kn)=="object"&&t.call(kn,"__await")?X.resolve(kn.__await).then(function(q){be("next",q,ie,jn)},function(q){be("throw",q,ie,jn)}):X.resolve(kn).then(function(q){Pn.value=q,ie(Pn)},function(q){return be("throw",q,ie,jn)})}jn(Ve.arg)}var pe;this._invoke=function(De,Ne){function ie(){return new X(function(jn,Ve){be(De,Ne,jn,Ve)})}return pe=pe?pe.then(ie,ie):ie()}}function P(ve,X){var be=ve.iterator[X.method];if(be===void 0){if(X.delegate=null,X.method==="throw"){if(ve.iterator.return&&(X.method="return",X.arg=void 0,P(ve,X),X.method==="throw"))return s;X.method="throw",X.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var pe=c(be,ve.iterator,X.arg);if(pe.type==="throw")return X.method="throw",X.arg=pe.arg,X.delegate=null,s;var De=pe.arg;return De?De.done?(X[ve.resultName]=De.value,X.next=ve.nextLoc,X.method!=="return"&&(X.method="next",X.arg=void 0),X.delegate=null,s):De:(X.method="throw",X.arg=new TypeError("iterator result is not an object"),X.delegate=null,s)}function k(ve){var X={tryLoc:ve[0]};1 in ve&&(X.catchLoc=ve[1]),2 in ve&&(X.finallyLoc=ve[2],X.afterLoc=ve[3]),this.tryEntries.push(X)}function M(ve){var X=ve.completion||{};X.type="normal",delete X.arg,ve.completion=X}function O(ve){this.tryEntries=[{tryLoc:"root"}],ve.forEach(k,this),this.reset(!0)}function oe(ve){if(ve){var X=ve[r];if(X)return X.call(ve);if(typeof ve.next=="function")return ve;if(!isNaN(ve.length)){var be=-1,pe=function De(){for(;++be=0;--De){var Ne=this.tryEntries[De],ie=Ne.completion;if(Ne.tryLoc==="root")return pe("end");if(Ne.tryLoc<=this.prev){var jn=t.call(Ne,"catchLoc"),Ve=t.call(Ne,"finallyLoc");if(jn&&Ve){if(this.prev=0;--pe){var De=this.tryEntries[pe];if(De.tryLoc<=this.prev&&t.call(De,"finallyLoc")&&this.prev=0;--be){var pe=this.tryEntries[be];if(pe.finallyLoc===X)return this.complete(pe.completion,pe.afterLoc),M(pe),s}},catch:function(X){for(var be=this.tryEntries.length-1;be>=0;--be){var pe=this.tryEntries[be];if(pe.tryLoc===X){var De=pe.completion;if(De.type==="throw"){var Ne=De.arg;M(pe)}return Ne}}throw new Error("illegal catch attempt")},delegateYield:function(X,be,pe){return this.delegate={iterator:oe(X),resultName:be,nextLoc:pe},this.method==="next"&&(this.arg=void 0),s}},e}function Eme(e,n,t,a,r,o,i){try{var u=e[o](i),l=u.value}catch(c){t(c);return}u.done?n(l):Promise.resolve(l).then(a,r)}function UP(e){return function(){var n=this,t=arguments;return new Promise(function(a,r){var o=e.apply(n,t);function i(l){Eme(o,a,r,i,u,"next",l)}function u(l){Eme(o,a,r,i,u,"throw",l)}i(void 0)})}}Wt();var Cme=["measure","alignPre","align",null,"motion"],Ime=function(e,n){var t=np(null),a=Ja(t,2),r=a[0],o=a[1],i=Aa();function u(s){o(s,!0)}function l(){Hc.cancel(i.current)}function c(s){l(),i.current=Hc(function(){u(function(f){switch(r){case"align":return"motion";case"motion":return"stable";default:}return f}),s==null||s()})}return br(function(){u("measure")},[e]),br(function(){switch(r){case"measure":n();break;default:}r&&(i.current=Hc(UP(hC().mark(function s(){var f,v;return hC().wrap(function(_){for(;;)switch(_.prev=_.next){case 0:f=Cme.indexOf(r),v=Cme[f+1],v&&f!==-1&&u(v);case 3:case"end":return _.stop()}},s)}))))},[r]),br(function(){return function(){l()}},[]),[r,c]};Wt();var Tme=function(e){var n=Ff({width:0,height:0}),t=Ja(n,2),a=t[0],r=t[1];function o(u){r({width:u.offsetWidth,height:u.offsetHeight})}var i=aS(function(){var u={};if(e){var l=a.width,c=a.height;e.indexOf("height")!==-1&&c?u.height=c:e.indexOf("minHeight")!==-1&&c&&(u.minHeight=c),e.indexOf("width")!==-1&&l?u.width=l:e.indexOf("minWidth")!==-1&&l&&(u.minWidth=l)}return u},[e,a]);return[i,o]};var Mme=hc(function(e,n){var t=e.visible,a=e.prefixCls,r=e.className,o=e.style,i=e.children,u=e.zIndex,l=e.stretch,c=e.destroyPopupOnHide,s=e.forceRender,f=e.align,v=e.point,m=e.getRootDomNode,_=e.getClassNameFromAlign,R=e.onAlign,D=e.onMouseEnter,y=e.onMouseLeave,S=e.onMouseDown,G=e.onTouchStart,P=e.onClick,k=Aa(),M=Aa(),O=Ff(),oe=Ja(O,2),le=oe[0],ve=oe[1],X=Tme(l),be=Ja(X,2),pe=be[0],De=be[1];function Ne(){l&&De(m())}var ie=Ime(t,Ne),jn=Ja(ie,2),Ve=jn[0],Pn=jn[1],kn=Ff(0),q=Ja(kn,2),x=q[0],ne=q[1],me=Aa();OP(function(){Ve==="alignPre"&&ne(0)},[Ve]);function ye(){return v||m}function U(){var je;(je=k.current)===null||je===void 0||je.forceAlign()}function de(je,In){var cn=_(In);le!==cn&&ve(cn),ne(function(et){return et+1}),Ve==="align"&&(R==null||R(je,In))}OP(function(){Ve==="align"&&(x<2?U():Pn(function(){var je;(je=me.current)===null||je===void 0||je.call(me)}))},[x]);var V=Ht({},e3(e));["onAppearEnd","onEnterEnd","onLeaveEnd"].forEach(function(je){var In=V[je];V[je]=function(cn,et){return Pn(),In==null?void 0:In(cn,et)}});function Ae(){return new Promise(function(je){me.current=je})}br(function(){!V.motionName&&Ve==="motion"&&Pn()},[V.motionName,Ve]),pm(n,function(){return{forceAlign:U,getElement:function(){return M.current}}});var Me=Ht(Ht({},pe),{},{zIndex:u,opacity:Ve==="motion"||Ve==="stable"||!t?void 0:0,pointerEvents:!t&&Ve!=="stable"?"none":void 0},o),He=!0;(f==null?void 0:f.points)&&(Ve==="align"||Ve==="stable")&&(He=!1);var $e=i;return Lh.count(i)>1&&($e=ka("div",{className:"".concat(a,"-content")},i)),ka(Qy,lt({visible:t,ref:M,leavedClassName:"".concat(a,"-hidden")},V,{onAppearPrepare:Ae,onEnterPrepare:Ae,removeOnLeave:c,forceRender:s}),function(je,In){var cn=je.className,et=je.style,Cn=(0,Fme.default)(a,r,le,cn);return ka(Sme,{target:ye(),key:"popup",ref:k,monitorWindowResize:!0,disabled:He,align:f,onAlign:de},ka("div",{ref:In,className:Cn,onMouseEnter:D,onMouseLeave:y,onMouseDownCapture:S,onTouchStartCapture:G,onClick:P,style:Ht(Ht({},et),Me)},$e))})});Mme.displayName="PopupInner";var Gme=Mme;Wt();var Ame=ba(z_()),xme=hc(function(e,n){var t=e.prefixCls,a=e.visible,r=e.zIndex,o=e.children,i=e.mobile;i=i===void 0?{}:i;var u=i.popupClassName,l=i.popupStyle,c=i.popupMotion,s=c===void 0?{}:c,f=i.popupRender,v=e.onClick,m=Aa();pm(n,function(){return{forceAlign:function(){},getElement:function(){return m.current}}});var _=Ht({zIndex:r},l),R=o;return Lh.count(o)>1&&(R=ka("div",{className:"".concat(t,"-content")},o)),f&&(R=f(R)),ka(Qy,lt({visible:a,ref:m,removeOnLeave:!0},s),function(D,y){var S=D.className,G=D.style,P=(0,Ame.default)(t,u,S);return ka("div",{ref:y,className:P,onClick:v,style:Ht(Ht({},G),_)},R)})});xme.displayName="MobilePopupInner";var Lme=xme;var enn=["visible","mobile"],jme=hc(function(e,n){var t=e.visible,a=e.mobile,r=pi(e,enn),o=Ff(t),i=Ja(o,2),u=i[0],l=i[1],c=Ff(!1),s=Ja(c,2),f=s[0],v=s[1],m=Ht(Ht({},r),{},{visible:u});br(function(){l(t),t&&a&&v(Yce())},[t,a]);var _=f?ka(Lme,lt({},m,{mobile:a,ref:n})):ka(Gme,lt({},m,{ref:n}));return ka("div",null,ka(iP,m),_)});jme.displayName="Popup";var Nme=jme;Wt();var nnn=H8(null),HP=nnn;function BP(){}function tnn(){return""}function ann(e){return e?e.ownerDocument:window.document}var rnn=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];function onn(e){var n=function(t){wo(r,t);var a=Sg(r);function r(o){var i;bo(this,r),i=a.call(this,o),i.popupRef=BF(),i.triggerRef=BF(),i.portalContainer=void 0,i.attachId=void 0,i.clickOutsideHandler=void 0,i.touchOutsideHandler=void 0,i.contextMenuOutsideHandler1=void 0,i.contextMenuOutsideHandler2=void 0,i.mouseDownTimeout=void 0,i.focusTime=void 0,i.preClickTime=void 0,i.preTouchTime=void 0,i.delayTimer=void 0,i.hasPopupMouseDown=void 0,i.onMouseEnter=function(l){var c=i.props.mouseEnterDelay;i.fireEvents("onMouseEnter",l),i.delaySetPopupVisible(!0,c,c?null:l)},i.onMouseMove=function(l){i.fireEvents("onMouseMove",l),i.setPoint(l)},i.onMouseLeave=function(l){i.fireEvents("onMouseLeave",l),i.delaySetPopupVisible(!1,i.props.mouseLeaveDelay)},i.onPopupMouseEnter=function(){i.clearDelayTimer()},i.onPopupMouseLeave=function(l){var c;l.relatedTarget&&!l.relatedTarget.setTimeout&&Eg((c=i.popupRef.current)===null||c===void 0?void 0:c.getElement(),l.relatedTarget)||i.delaySetPopupVisible(!1,i.props.mouseLeaveDelay)},i.onFocus=function(l){i.fireEvents("onFocus",l),i.clearDelayTimer(),i.isFocusToShow()&&(i.focusTime=Date.now(),i.delaySetPopupVisible(!0,i.props.focusDelay))},i.onMouseDown=function(l){i.fireEvents("onMouseDown",l),i.preClickTime=Date.now()},i.onTouchStart=function(l){i.fireEvents("onTouchStart",l),i.preTouchTime=Date.now()},i.onBlur=function(l){i.fireEvents("onBlur",l),i.clearDelayTimer(),i.isBlurToHide()&&i.delaySetPopupVisible(!1,i.props.blurDelay)},i.onContextMenu=function(l){l.preventDefault(),i.fireEvents("onContextMenu",l),i.setPopupVisible(!0,l)},i.onContextMenuClose=function(){i.isContextMenuToShow()&&i.close()},i.onClick=function(l){if(i.fireEvents("onClick",l),i.focusTime){var c;if(i.preClickTime&&i.preTouchTime?c=Math.min(i.preClickTime,i.preTouchTime):i.preClickTime?c=i.preClickTime:i.preTouchTime&&(c=i.preTouchTime),Math.abs(c-i.focusTime)<20)return;i.focusTime=0}i.preClickTime=0,i.preTouchTime=0,i.isClickToShow()&&(i.isClickToHide()||i.isBlurToHide())&&l&&l.preventDefault&&l.preventDefault();var s=!i.state.popupVisible;(i.isClickToHide()&&!s||s&&i.isClickToShow())&&i.setPopupVisible(!i.state.popupVisible,l)},i.onPopupMouseDown=function(){if(i.hasPopupMouseDown=!0,clearTimeout(i.mouseDownTimeout),i.mouseDownTimeout=window.setTimeout(function(){i.hasPopupMouseDown=!1},0),i.context){var l;(l=i.context).onPopupMouseDown.apply(l,arguments)}},i.onDocumentClick=function(l){if(!(i.props.mask&&!i.props.maskClosable)){var c=l.target,s=i.getRootDomNode(),f=i.getPopupDomNode();(!Eg(s,c)||i.isContextMenuOnly())&&!Eg(f,c)&&!i.hasPopupMouseDown&&i.close()}},i.getRootDomNode=function(){var l=i.props.getTriggerDOMNode;if(l)return l(i.triggerRef.current);try{var c=ZE(i.triggerRef.current);if(c)return c}catch{}return gc.findDOMNode(W_(i))},i.getPopupClassNameFromAlign=function(l){var c=[],s=i.props,f=s.popupPlacement,v=s.builtinPlacements,m=s.prefixCls,_=s.alignPoint,R=s.getPopupClassNameFromAlign;return f&&v&&c.push(Qce(v,m,l,_)),R&&c.push(R(l)),c.join(" ")},i.getComponent=function(){var l=i.props,c=l.prefixCls,s=l.destroyPopupOnHide,f=l.popupClassName,v=l.onPopupAlign,m=l.popupMotion,_=l.popupAnimation,R=l.popupTransitionName,D=l.popupStyle,y=l.mask,S=l.maskAnimation,G=l.maskTransitionName,P=l.maskMotion,k=l.zIndex,M=l.popup,O=l.stretch,oe=l.alignPoint,le=l.mobile,ve=l.forceRender,X=l.onPopupClick,be=i.state,pe=be.popupVisible,De=be.point,Ne=i.getPopupAlign(),ie={};return i.isMouseEnterToShow()&&(ie.onMouseEnter=i.onPopupMouseEnter),i.isMouseLeaveToHide()&&(ie.onMouseLeave=i.onPopupMouseLeave),ie.onMouseDown=i.onPopupMouseDown,ie.onTouchStart=i.onPopupMouseDown,ka(Nme,lt({prefixCls:c,destroyPopupOnHide:s,visible:pe,point:oe&&De,className:f,align:Ne,onAlign:v,animation:_,getClassNameFromAlign:i.getPopupClassNameFromAlign},ie,{stretch:O,getRootDomNode:i.getRootDomNode,style:D,mask:y,zIndex:k,transitionName:R,maskAnimation:S,maskTransitionName:G,maskMotion:P,ref:i.popupRef,motion:m,mobile:le,forceRender:ve,onClick:X}),typeof M=="function"?M():M)},i.attachParent=function(l){Hc.cancel(i.attachId);var c=i.props,s=c.getPopupContainer,f=c.getDocument,v=i.getRootDomNode(),m;s?(v||s.length===0)&&(m=s(v)):m=f(i.getRootDomNode()).body,m?m.appendChild(l):i.attachId=Hc(function(){i.attachParent(l)})},i.getContainer=function(){if(!i.portalContainer){var l=i.props.getDocument,c=l(i.getRootDomNode()).createElement("div");c.style.position="absolute",c.style.top="0",c.style.left="0",c.style.width="100%",i.portalContainer=c}return i.attachParent(i.portalContainer),i.portalContainer},i.setPoint=function(l){var c=i.props.alignPoint;!c||!l||i.setState({point:{pageX:l.pageX,pageY:l.pageY}})},i.handlePortalUpdate=function(){i.state.prevPopupVisible!==i.state.popupVisible&&i.props.afterPopupVisibleChange(i.state.popupVisible)},i.triggerContextValue={onPopupMouseDown:i.onPopupMouseDown};var u;return"popupVisible"in o?u=!!o.popupVisible:u=!!o.defaultPopupVisible,i.state={prevPopupVisible:u,popupVisible:u},rnn.forEach(function(l){i["fire".concat(l)]=function(c){i.fireEvents(l,c)}}),i}return Ro(r,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var i=this.props,u=this.state;if(u.popupVisible){var l;!this.clickOutsideHandler&&(this.isClickToHide()||this.isContextMenuToShow())&&(l=i.getDocument(this.getRootDomNode()),this.clickOutsideHandler=q_(l,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(l=l||i.getDocument(this.getRootDomNode()),this.touchOutsideHandler=q_(l,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(l=l||i.getDocument(this.getRootDomNode()),this.contextMenuOutsideHandler1=q_(l,"scroll",this.onContextMenuClose)),!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=q_(window,"blur",this.onContextMenuClose));return}this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),Hc.cancel(this.attachId)}},{key:"getPopupDomNode",value:function(){var i;return((i=this.popupRef.current)===null||i===void 0?void 0:i.getElement())||null}},{key:"getPopupAlign",value:function(){var i=this.props,u=i.popupPlacement,l=i.popupAlign,c=i.builtinPlacements;return u&&c?Vce(c,u,l):l}},{key:"setPopupVisible",value:function(i,u){var l=this.props.alignPoint,c=this.state.popupVisible;this.clearDelayTimer(),c!==i&&("popupVisible"in this.props||this.setState({popupVisible:i,prevPopupVisible:c}),this.props.onPopupVisibleChange(i)),l&&u&&i&&this.setPoint(u)}},{key:"delaySetPopupVisible",value:function(i,u,l){var c=this,s=u*1e3;if(this.clearDelayTimer(),s){var f=l?{pageX:l.pageX,pageY:l.pageY}:null;this.delayTimer=window.setTimeout(function(){c.setPopupVisible(i,f),c.clearDelayTimer()},s)}else this.setPopupVisible(i,l)}},{key:"clearDelayTimer",value:function(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)}},{key:"clearOutsideHandler",value:function(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextMenuOutsideHandler1&&(this.contextMenuOutsideHandler1.remove(),this.contextMenuOutsideHandler1=null),this.contextMenuOutsideHandler2&&(this.contextMenuOutsideHandler2.remove(),this.contextMenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)}},{key:"createTwoChains",value:function(i){var u=this.props.children.props,l=this.props;return u[i]&&l[i]?this["fire".concat(i)]:u[i]||l[i]}},{key:"isClickToShow",value:function(){var i=this.props,u=i.action,l=i.showAction;return u.indexOf("click")!==-1||l.indexOf("click")!==-1}},{key:"isContextMenuOnly",value:function(){var i=this.props.action;return i==="contextMenu"||i.length===1&&i[0]==="contextMenu"}},{key:"isContextMenuToShow",value:function(){var i=this.props,u=i.action,l=i.showAction;return u.indexOf("contextMenu")!==-1||l.indexOf("contextMenu")!==-1}},{key:"isClickToHide",value:function(){var i=this.props,u=i.action,l=i.hideAction;return u.indexOf("click")!==-1||l.indexOf("click")!==-1}},{key:"isMouseEnterToShow",value:function(){var i=this.props,u=i.action,l=i.showAction;return u.indexOf("hover")!==-1||l.indexOf("mouseEnter")!==-1}},{key:"isMouseLeaveToHide",value:function(){var i=this.props,u=i.action,l=i.hideAction;return u.indexOf("hover")!==-1||l.indexOf("mouseLeave")!==-1}},{key:"isFocusToShow",value:function(){var i=this.props,u=i.action,l=i.showAction;return u.indexOf("focus")!==-1||l.indexOf("focus")!==-1}},{key:"isBlurToHide",value:function(){var i=this.props,u=i.action,l=i.hideAction;return u.indexOf("focus")!==-1||l.indexOf("blur")!==-1}},{key:"forcePopupAlign",value:function(){if(this.state.popupVisible){var i;(i=this.popupRef.current)===null||i===void 0||i.forceAlign()}}},{key:"fireEvents",value:function(i,u){var l=this.props.children.props[i];l&&l(u);var c=this.props[i];c&&c(u)}},{key:"close",value:function(){this.setPopupVisible(!1)}},{key:"render",value:function(){var i=this.state.popupVisible,u=this.props,l=u.children,c=u.forceRender,s=u.alignPoint,f=u.className,v=u.autoDestroy,m=Lh.only(l),_={key:"trigger"};this.isContextMenuToShow()?_.onContextMenu=this.onContextMenu:_.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(_.onClick=this.onClick,_.onMouseDown=this.onMouseDown,_.onTouchStart=this.onTouchStart):(_.onClick=this.createTwoChains("onClick"),_.onMouseDown=this.createTwoChains("onMouseDown"),_.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(_.onMouseEnter=this.onMouseEnter,s&&(_.onMouseMove=this.onMouseMove)):_.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?_.onMouseLeave=this.onMouseLeave:_.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(_.onFocus=this.onFocus,_.onBlur=this.onBlur):(_.onFocus=this.createTwoChains("onFocus"),_.onBlur=this.createTwoChains("onBlur"));var R=(0,Pme.default)(m&&m.props&&m.props.className,f);R&&(_.className=R);var D=Ht({},_);H4(m)&&(D.ref=U4(this.triggerRef,m.ref));var y=eS(m,D),S;return(i||this.popupRef.current||c)&&(S=ka(e,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!i&&v&&(S=null),ka(HP.Provider,{value:this.triggerContextValue},y,S)}}],[{key:"getDerivedStateFromProps",value:function(i,u){var l=i.popupVisible,c={};return l!==void 0&&u.popupVisible!==l&&(c.popupVisible=l,c.prevPopupVisible=u.popupVisible),c}}]),r}(jh);return n.contextType=HP,n.defaultProps={prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:tnn,getDocument:ann,onPopupVisibleChange:BP,afterPopupVisibleChange:BP,onPopupAlign:BP,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[],autoDestroy:!1},n}var kme=onn($ce);var ks={adjustX:1,adjustY:1},Os=[0,0],Ome={left:{points:["cr","cl"],overflow:ks,offset:[-4,0],targetOffset:Os},right:{points:["cl","cr"],overflow:ks,offset:[4,0],targetOffset:Os},top:{points:["bc","tc"],overflow:ks,offset:[0,-4],targetOffset:Os},bottom:{points:["tc","bc"],overflow:ks,offset:[0,4],targetOffset:Os},topLeft:{points:["bl","tl"],overflow:ks,offset:[0,-4],targetOffset:Os},leftTop:{points:["tr","tl"],overflow:ks,offset:[-4,0],targetOffset:Os},topRight:{points:["br","tr"],overflow:ks,offset:[0,-4],targetOffset:Os},rightTop:{points:["tl","tr"],overflow:ks,offset:[4,0],targetOffset:Os},bottomRight:{points:["tr","br"],overflow:ks,offset:[0,4],targetOffset:Os},rightBottom:{points:["bl","br"],overflow:ks,offset:[4,0],targetOffset:Os},bottomLeft:{points:["tl","bl"],overflow:ks,offset:[0,4],targetOffset:Os},leftBottom:{points:["br","bl"],overflow:ks,offset:[-4,0],targetOffset:Os}};Wt();var Ume=ba(z_());function h3(e){var n=e.showArrow,t=e.arrowContent,a=e.children,r=e.prefixCls,o=e.id,i=e.overlayInnerStyle,u=e.className,l=e.style;return ka("div",{className:(0,Ume.default)("".concat(r,"-content"),u),style:l},n!==!1&&ka("div",{className:"".concat(r,"-arrow"),key:"arrow"},t),ka("div",{className:"".concat(r,"-inner"),id:o,role:"tooltip",style:i},typeof a=="function"?a():a))}var inn=function(n,t){var a=n.overlayClassName,r=n.trigger,o=r===void 0?["hover"]:r,i=n.mouseEnterDelay,u=i===void 0?0:i,l=n.mouseLeaveDelay,c=l===void 0?.1:l,s=n.overlayStyle,f=n.prefixCls,v=f===void 0?"rc-tooltip":f,m=n.children,_=n.onVisibleChange,R=n.afterVisibleChange,D=n.transitionName,y=n.animation,S=n.motion,G=n.placement,P=G===void 0?"right":G,k=n.align,M=k===void 0?{}:k,O=n.destroyTooltipOnHide,oe=O===void 0?!1:O,le=n.defaultVisible,ve=n.getTooltipContainer,X=n.overlayInnerStyle,be=n.arrowContent,pe=n.overlay,De=n.id,Ne=n.showArrow,ie=pi(n,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"]),jn=Aa(null);pm(t,function(){return jn.current});var Ve=Ht({},ie);"visible"in n&&(Ve.popupVisible=n.visible);var Pn=function(){return ka(h3,{showArrow:Ne,arrowContent:be,key:"content",prefixCls:v,id:De,overlayInnerStyle:X},pe)},kn=!1,q=!1;if(typeof oe=="boolean")kn=oe;else if(oe&&yo(oe)==="object"){var x=oe.keepParent;kn=x===!0,q=x===!1}return ka(kme,lt({popupClassName:a,prefixCls:v,popup:Pn,action:o,builtinPlacements:Ome,popupPlacement:P,ref:jn,popupAlign:M,getPopupContainer:ve,onPopupVisibleChange:_,afterPopupVisibleChange:R,popupTransitionName:D,popupAnimation:y,popupMotion:S,defaultPopupVisible:le,destroyPopupOnHide:kn,autoDestroy:q,mouseLeaveDelay:c,popupStyle:s,mouseEnterDelay:u},Ve),m)},Hme=hc(inn);var Bme=Hme;var Wme=e=>wt.createElement(Bme,Object.assign({},e,{overlayClassName:`cv-tooltip ${e.overlayClassName}`,getTooltipContainer:e.tooltipContainerSelector?()=>document.querySelector(e.tooltipContainerSelector)||document.body:void 0}));if(typeof window!="undefined"&&typeof global=="undefined")try{Promise.resolve().then(()=>ba(Jme())).then(e=>{let n=e.default,t=document.createElement("style");t.type="text/css",t.appendChild(document.createTextNode(n)),document.head.appendChild(t)})}catch(e){window.Sentry&&window.Sentry.captureException(e)}Wt();var qme=class extends wt.Component{componentDidUpdate(n){this.props.componentDidUpdate(n.deps)}render(){return this.props.children}},zme=qme;var lnn=za();var $me=function(e){return"ref:"+sr(e)(Et.value)},Vme=function(e){var n=$me(e);return function(t){return lnn(cc(n)(t))}},Qme=function(e){var n=$me(e);return function(t){return Tw(n)(t)}};var cnn=Af(),Yme=Bn(Mn)(qt),Xme=z(pt),snn=P1(Bne(d1)),Zme={reflectSymbol:function(){return"deps"}},fnn=Vme(Zme),vnn=Qme(Zme),Kme=Qe(Xe);var mnn=function(e){var n=cnn(e);return function(){return function(){return n(zme)}}},pnn=mnn(ae)()(),epe=function(e){var n=mf(e);return function(t){return function(a){return function(r){return function(o){return R1(t)(function(i){return a({init:Yme(mr(o(r)))(function(){return Xme(r)}),update:function(u){return function(l){return Yme(mr(o(l)))(function(){return Xme(l)})}},view:function(u){return function(l){return pnn({componentDidUpdate:snn(l)(function(c){var s=n(fnn(c))(r);return s?new d(r):C.value}),deps:vnn(r)})(i(Ce))}}})})}}}}},_nn=epe(KR),gC=function(e){var n=epe(e);return function(t){return function(a){return n("UseEffectPrime")(Kme)(t)(a)}}},JP=function(e){return _nn("UseEffect")(Kme)(Ce)(an(e))};function npe(e){return function(n){return function(){return n.getItem(e)}}}function ob(e){return function(n){return function(t){return function(){t.setItem(e,n)}}}}var dnn=N(it);var g3=function(e){var n=dnn(ee),t=npe(e);return function(a){return n(t(a))}};var hnn=si(),gnn=Zv(Mn)(),Dnn=Jn(tt),ib=mt(Va),ynn=function(e){return function(n){return function(t){return hnn(sa(C.value))(function(a){return gnn(JP(Dnn(function(){var o=ib(g3(n))(ib(e)(po))();if(o instanceof d)return a.value1(new d(o.value0))();if(o instanceof C)return a.value1(new d(t))(),ib(ob(n)(t))(ib(e)(po))();throw new Error("Failed pattern match at Utils.UseStorage (line 37, column 5 - line 42, column 56): "+[o.constructor.name])})))(function(){return ci(new Ue(a.value0,function(r){return function(){return a.value1(new d(r))(),ib(ob(n)(r))(ib(e)(po))()}}))})})}}};var D3=ynn(W1);var bnn=Af();var tpe="hover",Q_="click";var Us="top",_i=function(e){var n=bnn(e);return function(){return function(){return n(Wme)}}};var ape="right";var rpe="bottomRight";var DC="bottom";var ope=e=>()=>e.preventDefault&&e.preventDefault(),ipe=e=>()=>e.stopPropagation&&e.stopPropagation();var WP=function(){return ipe},cv=function(){return ope};var Rnn=Qn();var qP=K(Le),zP=Rt(Rnn(E({reflectSymbol:function(){return"value"}})(ue)(he))),$P=z(On);var Hs=function(e){return Ee("")(qP(zP(Ga(e.target)))(function(n){return $P(n.value)}))},upe=function(e){return Ee("")(qP(zP(Ga(e.target)))(function(n){return $P(n.value)}))},Bs=function(e){return Ee("")(qP(zP(Ga(e.target)))(function(n){return $P(n.value)}))};var lpe="/network/connections";var cpe=15;var wnn=_i(ae)()(),Snn=en(W),Enn=function(){return"You\u2019ve hit the "+(re(ze)(cpe)+`-connection limit, designed to encourage you to focus on building meaningful connections that lead to impactful opportunities. Remove an existing connection to make space for a new one that aligns with your goals. `)}(),Cnn=Ea(ae)("text-decoration-underline")(xa(L)()()("text-dark")({href:lpe})("Manage my connections")),yC=function(e){return function(n){return wnn({placement:e,trigger:Q_,overlay:Snn("")([Y(Enn),Cnn]),overlayStyle:fn({width:"15rem"}),overlayClassName:"t--connection-limit-tooltip"})(n)}};var Inn=Hr(Te)(ft),spe=re(ze),Tnn=oa(Te)(ft),Fnn=en(L);var fpe=25,VP=function(e){return Zr(e)>=fpe},vpe=function(e){var n=Zr(e),t=n>0,a=Inn(" ")([function(){return t?spe(n)+" characters":""}(),Tnn(["(",spe(fpe),function(){return t?"":" character"}()," minimum)"])]),r=function(){var o=VP(e);return o?"text-success":""}();return Fnn(r)(a)};var Mnn=function(){function e(){}return e.value=new e,e}(),QP=function(){function e(){}return e.value=new e,e}(),Gnn=function(){function e(){}return e.value=new e,e}(),Ann=function(){function e(){}return e.value=new e,e}(),xnn=function(){function e(){}return e.value=new e,e}(),y3=function(){function e(){}return e.value=new e,e}(),bC=function(){function e(){}return e.value=new e,e}(),YP=function(){function e(){}return e.value=new e,e}(),XP=function(){function e(){}return e.value=new e,e}();var mpe=function(e){if(e instanceof Mnn)return"sheet-view";if(e instanceof QP)return"school-details";if(e instanceof Gnn)return"network-gallery";if(e instanceof Ann)return"livestream-details";if(e instanceof xnn)return"card-view";throw new Error("Failed pattern match at Sem.Types.User (line 100, column 25 - line 105, column 26): "+[e.constructor.name])};var jnn=Number.MAX_SAFE_INTEGER;var KP=function(e){if(e.first==="")return e.last;if(e.last==="")return e.first;if(xe)return e.first+(" "+e.last);throw new Error("Failed pattern match at Profile.Types.Name (line 11, column 1 - line 11, column 27): "+[e.constructor.name])};var Ynn=_e(Iie);var _pe=function(e){return Ynn(e.publishScope)(D0.value)};var ntn=Pr(No),gpe=ro(ntn),Dpe=K(Pt);var ype=gpe("profile_visibility_path")(function(e){return function(n){return Dpe(e({visibility:{publish_scope:xG(n)}}))(Au)}});var bpe=gpe("profile_name_path")(function(e){return function(n){return Dpe(e({name:n}))(Au)}});var at=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Qt=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}();var ttn=Ym(),atn=It(L),rtn=Zn(L),ek=Vn(L),nk=Ir(L),Y_=B(W),ub=Ct(L)()(),tk=la(pr),otn=Bn(Mn),ak=An(_t),Fg=B(ae),Rpe=js()(),itn=Nc(L),utn=oa(Te)(ft),wpe=Yo()(),rk=An(ao),ltn=kl()(),Spe=B(L),ctn=Vf(W),ok=cl(L),stn=en(L),ftn=_i(ae)()(),vtn=Vn(W),mtn=xa(L)()(),ptn=ta(L),Mg=z(pt),Epe=otn(qt),_tn=LE(),RC=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Cpe=function(){function e(){}return e.value=new e,e}(),Ipe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Tpe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Fpe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Mpe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),wC=function(){function e(){}return e.value=new e,e}(),ik=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Gpe=function(e){return function(n){var t=function(c){return ttn({body:c,title:atn("my-0")(function(){return e.stage instanceof y3?"Join the CollegeVine network":"Connect with "+e.schoolName}()),headerClass:"pb-0",onDismiss:n(new Qt(wC.value)),size:IE.value})},a=mpe(e.context),r=ce([rtn("mt-3")("Review your message before you send it"),ek("mt-2")(` Because this is your first message to the counselor, we want to make sure you\u2019re ready to send. `),nk("mt-4")("Your message"),US(e.message),Y_("d-flex mt-4 justify-content-start")([ub("btn btn-primary btn-lg t--sem-user-connection-modal-confirm-message-"+a)({onClick:tk(function(){return n(new Qt(new ik({introMessage:e.message})))(),n(new at(new RC(XP.value)))()})})("Send"),ub("btn btn-lg btn-outline-primary ml-3 text-nowrap")({onClick:ak(n)(new at(new RC(bC.value)))})("No, I need to edit something")])]),o=ce([Y_("text-center")([Fg("")(Rpe("mt-4")({src:"/img/checkmate-icon.png",height:"80",width:"80"})),itn("mt-4")("Connection request sent!"),ek("mx-md-4")(utn(["You\u2019ve successfully demonstrated your interest to ",e.schoolName,". ","This counselor isn\u2019t part of the platform yet but we\u2019ve forwarded your message to them. ","You\u2019ll get an email notification when they respond."])),ub("btn btn-lg btn-outline-secondary mt-4")({onClick:ak(n)(new Qt(wC.value))})("Close")])]),i=ub("btn btn-outline-secondary ml-3 t--sem-user-connection-modal-close-"+a)({onClick:ak(n)(new Qt(wC.value))})("Cancel"),u=function(){var c=VP(e.message)&&function(){if(e.profile.fullName instanceof d)return!0;if(e.profile.fullName instanceof C)return!Ti(e.firstName)&&!Ti(e.lastName);throw new Error("Failed pattern match at Network.SemVine.InviteSchoolModal (line 238, column 15 - line 242, column 88): "+[e.profile.fullName.constructor.name])}(),s=function(){if(e.vineBelowConnectionLimit instanceof d&&e.vineBelowConnectionLimit.value0)return!1;if(e.vineBelowConnectionLimit instanceof d&&!e.vineBelowConnectionLimit.value0)return!0;if(e.vineBelowConnectionLimit instanceof C)return!1;throw new Error("Failed pattern match at Network.SemVine.InviteSchoolModal (line 231, column 13 - line 234, column 31): "+[e.vineBelowConnectionLimit.constructor.name])}();return ce([vn(fr(e.profile.fullName))(ce([nk("mt-md-4")("Your preferred name"),Y_("form-row mx-1")([wpe("col form-control mr-2 t--sem-user-connection-modal-first-name-"+a)({type:"text",value:e.firstName,onChange:rk(n)(function(f){return at.create(Fpe.create(Bs(f)))}),placeholder:"First name"}),wpe("col form-control ml-2 t--sem-user-connection-modal-last-name-"+a)({type:"text",value:e.lastName,onChange:rk(n)(function(f){return at.create(Mpe.create(Bs(f)))}),placeholder:"Last name"})])])),nk("mt-md-4")("Your message"),ltn("form-control t--sem-user-connection-modal-text-area-"+a)({rows:7,value:e.message,onChange:rk(n)(function(f){return at.create(Tpe.create(Hs(f)))}),placeholder:`Sample introductory message: Hi Jane, My name is Sam and I\u2019m a senior at Oak Ridge High School in Oak Ridge, MD. I\u2019m really excited to apply for CV University this fall, and I\u2019m hoping to study history there. Are there any upcoming virtual events I can register for? I\u2019m excited to stay in touch and learn more about your school. Thanks! `}),Fg("mt-2")(vpe(e.message)),Spe("mt-3 mt-md-4 small")("The ideal connection message should include:"),ctn("small")([ok("")("Your name, where you\u2019re from, and a bit about who you are"),ok("")("What you\u2019re interested in studying along with one or two insightful questions"),ok("")("That you\u2019re eager to connect with an admissions counselor and would love to stay in touch")]),Y_("d-flex mt-4 justify-content-start")([yC(Us)(Fg("")(ub("btn btn-primary btn-lg t--sem-user-connection-modal-connect-"+a)({onClick:tk(function(){return function(){if(e.profile.fullName instanceof d)return Ce;if(e.profile.fullName instanceof C)return n(new at(new Ipe({first:e.firstName,last:e.lastName})))();throw new Error("Failed pattern match at Network.SemVine.InviteSchoolModal (line 214, column 23 - line 218, column 113): "+[e.profile.fullName.constructor.name])}(),n(new at(new RC(YP.value)))()}),disabled:!c||s,style:fn({pointerEvents:function(){return s?"none":"auto"}()})})("Connect"))),i])])}(),l=Y_("mx-md-7")([Fg("border border-success rounded p-4 my-4")(Y_("row align-items-center")([Fg("col-12 col-md-auto text-center text-md-left")(Rpe("img-fluid")({src:"/img/network/publish-profile-icon.png",height:"67",width:"143"})),Fg("col text-center text-md-left")(stn("fw-bold font-weight-bold text-gray-800")("Network with verified admissions counselors on CollegeVine"))])),Y_("d-flex flex-nowrap align-items-center")([Spe("mr-4")("Publish your profile to join the CollegeVine Network"),ftn({placement:ape,overlay:vtn("")([Y(` Your profile includes academics, extracurriculars, major interest, demographics and financial aid intent. By agreeing to publish, you will also be adding select preferences survey answers to `),mtn("")({href:Km})("your profile"),Y(".")]),overlayStyle:fn({width:"15rem"})})(ptn("cursor-default text-secondary fe fe-info large")(""))]),ek("text-secondary small d-none d-md-block mt-4")("Joining the CollegeVine Network won\u2019t result in spam from colleges you don\u2019t want to hear from."),Y_("d-flex mt-4 justify-content-start justify-content-md-center")([ub("btn btn-primary t--sem-user-connection-modal-publish-profile-"+a)({onClick:tk(function(){return n(new at(Cpe.value))(),n(new at(new RC(bC.value)))()})})("Publish profile"),i])]);return Fg("t--network-sem-user-modal")(function(){if(e.stage instanceof y3)return t(l);if(e.stage instanceof bC)return t(u);if(e.stage instanceof YP)return t(r);if(e.stage instanceof XP)return t(o);throw new Error("Failed pattern match at Network.SemVine.InviteSchoolModal (line 96, column 5 - line 100, column 38): "+[e.stage.constructor.name])}())}},Ape=function(e){return function(n){if(n instanceof at){if(n.value0 instanceof RC)return Mg({context:e.context,firstName:e.firstName,lastName:e.lastName,message:e.message,profile:e.profile,schoolName:e.schoolName,vineBelowConnectionLimit:e.vineBelowConnectionLimit,stage:n.value0.value0});if(n.value0 instanceof Cpe)return Epe(mr(ype(D0.value)))(function(){return Mg({context:e.context,firstName:e.firstName,lastName:e.lastName,message:e.message,schoolName:e.schoolName,stage:e.stage,vineBelowConnectionLimit:e.vineBelowConnectionLimit,profile:{fullName:e.profile.fullName,publishScope:D0.value}})});if(n.value0 instanceof Ipe)return Epe(mr(bpe(n.value0.value0)))(function(){return Mg({context:e.context,firstName:e.firstName,lastName:e.lastName,message:e.message,schoolName:e.schoolName,stage:e.stage,vineBelowConnectionLimit:e.vineBelowConnectionLimit,profile:{publishScope:e.profile.publishScope,fullName:new d(KP(n.value0.value0))}})});if(n.value0 instanceof Tpe)return Mg({context:e.context,firstName:e.firstName,lastName:e.lastName,profile:e.profile,schoolName:e.schoolName,stage:e.stage,vineBelowConnectionLimit:e.vineBelowConnectionLimit,message:n.value0.value0});if(n.value0 instanceof Fpe)return Mg({context:e.context,lastName:e.lastName,message:e.message,profile:e.profile,schoolName:e.schoolName,stage:e.stage,vineBelowConnectionLimit:e.vineBelowConnectionLimit,firstName:n.value0.value0});if(n.value0 instanceof Mpe)return Mg({context:e.context,firstName:e.firstName,message:e.message,profile:e.profile,schoolName:e.schoolName,stage:e.stage,vineBelowConnectionLimit:e.vineBelowConnectionLimit,lastName:n.value0.value0});throw new Error("Failed pattern match at Network.SemVine.InviteSchoolModal (line 75, column 31 - line 89, column 39): "+[n.value0.constructor.name])}if(n instanceof Qt)return Mg(e);throw new Error("Failed pattern match at Network.SemVine.InviteSchoolModal (line 74, column 1 - line 74, column 55): "+[e.constructor.name,n.constructor.name])}},dtn=function(e){var n=_pe(e);return n?bC.value:y3.value},xpe=function(e){return{firstName:"",lastName:"",message:"",profile:_tn(e.profile),stage:dtn(e.profile),schoolName:e.schoolName,context:e.context,vineBelowConnectionLimit:e.vineBelowConnectionLimit}};var uk="support@collegevine.com";var b3="https://www.collegevine.com/admissions-calculator";var lk=function(){return si()(sa(C.value))(function(e){return ci(new Ue(e.value0,hS(e.value0)(e.value1)))})}();var Lpe=yn(Dn),jpe=dn(_n),Npe=wn(Rn),er=function(){function e(){}return e.value=new e,e}(),Ya=function(){function e(){}return e.value=new e,e}(),htn={to:function(e){if(e instanceof H)return er.value;if(e instanceof p)return Ya.value;throw new Error("Failed pattern match at Utils.Expandable (line 26, column 1 - line 26, column 32): "+[e.constructor.name])},from:function(e){if(e instanceof er)return new H(fe.value);if(e instanceof Ya)return new p(fe.value);throw new Error("Failed pattern match at Utils.Expandable (line 26, column 1 - line 26, column 32): "+[e.constructor.name])}},X_={eq:function(e){return function(n){return e instanceof er&&n instanceof er||e instanceof Ya&&n instanceof Ya}}};var C0=function(e){if(e instanceof er)return Ya.value;if(e instanceof Ya)return er.value;throw new Error("Failed pattern match at Utils.Expandable (line 30, column 10 - line 32, column 24): "+[e.constructor.name])};var ck=function(e){if(e instanceof er)return"Expanded";if(e instanceof Ya)return"Collapsed";throw new Error("Failed pattern match at Utils.Expandable (line 35, column 10 - line 37, column 27): "+[e.constructor.name])},Ppe=Gn(ck)(Sn(htn)(gn(Lpe)(pn(mn))(Lpe)(jpe))(bn(Npe)(Npe))(hn(jpe)));function kpe(e){return function(n){return function(){return e.item(n)}}}var gtn=N(it),Ope=function(e){var n=gtn(ee),t=kpe(e);return function(a){return n(t(a))}};var Dtn=Z(it),ytn=Ye(ca),sk=z(Kt),btn=Z(J),Rtn=oa(Te)(ft),wtn=N(it),Stn=mt(Va),Etn=Sa(),Upe=si(),Ctn=Zv(Mn)(),Itn=z(na),Ttn=Jn(tt),Ftn=rF(Uv),Mtn=N(J),Gtn=Yn(W)()(),R3=_e(X_),Atn=P1(iM(d1)),xtn=Mr(ae)()(),Ltn=An(_t),Hpe=re(ow),Bpe=function(){function e(){}return e.value=new e,e}(),Jpe=function(){function e(){}return e.value=new e,e}(),Wpe=function(){return function(e){return function(n){var t=function(i){var u=function(c){return function(s){return function(){var v=Ope(c)(s)();if(v instanceof d)return Dtn(u(c)(s+1|0))(function(m){return ytn([v.value0])(m)})();if(v instanceof C)return[];throw new Error("Failed pattern match at Component.Dropdown (line 187, column 45 - line 189, column 31): "+[v.constructor.name])}}},l=btn(tie(i))(function(c){return function(){var f=tN(c)(),v=u(f)(0)();return Rtn(v)}});return wtn(vs("-menu"))(Ee(sk(""))(l))},a=function(i){return function(u){if(i instanceof C||u instanceof C)return sk(!1);if(i instanceof d&&u instanceof d)return function(){var c=rN(i.value0)(u.value0)(),s=t(u.value0)();return c||s?!0:Stn(a(new d(i.value0)))(rie(u.value0))()};throw new Error("Failed pattern match at Component.Dropdown (line 163, column 5 - line 163, column 42): "+[i.constructor.name,u.constructor.name])}},r=Etn(n),o=Un(r.alignment)(Bpe.value);return Mu(Upe(sa(Ya.value))(function(i){return Upe(lk)(function(u){return Ctn(fG(xE.mouseup)(function(l){if(i.value0 instanceof Ya)return Itn(Ce);if(i.value0 instanceof er)return Ttn(Ftn(a(Mtn(Xne)(u.value0))(new d(AG(l.target))))(i.value1(Ya.value)));throw new Error("Failed pattern match at Component.Dropdown (line 123, column 5 - line 129, column 29): "+[i.value0.constructor.name])}))(function(){return ci(Gtn("dropdown "+(e+function(){var l=R3(i.value0)(er.value);return l?" show":""}()))({onClick:Atn(i.value1)(function(){var l=r.closeOnClick&&R3(i.value0)(er.value);return l?new d(Ya.value):C.value}()),ref:u.value1})([xtn(r.toggleClass)(r.ariaLabelInput)({onClick:Ltn(i.value1)(C0(i.value0)),"aria-expanded":Hpe(R3(i.value0)(er.value)),role:"combobox","aria-haspopup":"listbox","aria-controls":r.contentId})(r.toggleContent),r.content({visible:R3(i.value0)(er.value),className:"dropdown-menu show"+function(){if(o instanceof Bpe)return"";if(o instanceof Jpe)return" dropdown-menu-right";throw new Error("Failed pattern match at Component.Dropdown (line 146, column 46 - line 148, column 51): "+[o.constructor.name])}(),closeDropdown:i.value1(Ya.value),contentId:r.contentId,role:"listbox",roleSelectOption:"option",ariaSelected:Hpe})]))})})}))}}},jtn=Wpe(),w3=function(e){return function(n){return jtn(e)({contentId:n.contentId,toggleClass:n.toggleClass+" dropdown-toggle",toggleContent:n.toggleContent,content:function(t){return vn(t.visible)(n.content({className:t.className,contentId:t.contentId,role:t.role,roleSelectOption:t.roleSelectOption,ariaSelected:t.ariaSelected}))},closeOnClick:!0,ariaLabelInput:n.ariaLabelInput})}};Wt();var sv={PRIMARY:"#008CFD",SECONDARY:"#6E84A3",WHITE:"#FFF",GRAY_300:"#E3EBF6"};var CC=ba(Xpe()),Zpe=4,van=({trackColor:e,background:n})=>({props:t,children:a})=>wt.createElement("div",Object.assign({},t,{style:Object.assign({},t.style,{height:`${Zpe}px`,borderRadius:`${Zpe*2}px`,background:n||e})}),...a),man=({horizontal:e})=>({props:n,isDragged:t})=>wt.createElement("svg",Object.assign({},n,{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",fill:"none",viewBox:"0 0 18 18"}),wt.createElement("circle",{cx:"9",cy:"9",r:"8.5",fill:t?sv.SECONDARY:sv.WHITE,stroke:sv.SECONDARY}),wt.createElement("path",{stroke:t?sv.WHITE:sv.SECONDARY,d:e?"M7.5 6L7.5 12":"M6 7.5L12 7.5"}),wt.createElement("path",{stroke:t?sv.WHITE:sv.SECONDARY,d:e?"M10.5 6L10.5 12":"M6 10.5L12 10.5"})),Kpe=e=>wt.createElement("div",{"aria-label":e.ariaLabel},wt.createElement(CC.Range,{step:e.step,min:e.min,max:e.max,values:[e.value],onChange:([n])=>e.onChange(n),onFinalChange:([n])=>e.onFinalChange&&e.onFinalChange(n),renderTrack:van({trackColor:e.trackColor||sv.GRAY_300,background:e.fillBefore?(0,CC.getTrackBackground)({values:[e.value],colors:[sv.PRIMARY,sv.GRAY_300],min:e.min,max:e.max,"aria-valuemax":e.max,"aria-valuemin":e.min,"aria-valuenow":e.value}):void 0}),renderThumb:man({horizontal:!0})}));var pan=gs(),e_e={CanPassToJavaScript0:function(){},CanReceiveFromJavaScript1:function(){return Gt}};var n_e=function(e){return function(){return function(){return pan(Kpe)}}};var t_e=function(e){return function(n){return fr(n(e))}};var _an=Sa(),dan=_i(ae)()(),han=en(W),gan=ta(L),Dan=function(e){var n=Jh(e);return function(){return function(t){return function(a){var r=_an(t);return dan({placement:Us,overlay:ce(n(a)),overlayStyle:Un(r.overlayStyle)(fn({width:"15rem"}))})(han("d-inline-flex align-items-center text-secondary "+r.className)([gan("d-inline-block fe fe-help-circle "+function(){var o=r.anchorText==="";return o?"":"mr-2"}())(""),Y(r.anchorText)]))}}}},gu=function(e){var n=Dan(e)();return function(t){return n({className:t,anchorText:""})}};Wt();function mk(e){if(Array.isArray(e))return Vy(e)}function pk(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function _k(){throw new TypeError(`Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ag(e){return mk(e)||pk(e)||KE(e)||_k()}var PDe=ba(Mf());var a_e=Number.isNaN||function(n){return typeof n=="number"&&n!==n};function yan(e,n){return!!(e===n||a_e(e)&&a_e(n))}function ban(e,n){if(e.length!==n.length)return!1;for(var t=0;tHe)&&(Fn=(sn=sn.replace(" ",":")).length),0ye&&(ye=(ne=ne.trim()).charCodeAt(0)),ye){case 38:return ne.replace(y,"$1"+x.trim());case 58:return x.trim()+ne.replace(y,"$1"+x.trim());default:if(0<1*me&&0V.charCodeAt(8))break;case 115:U=U.replace(V,"-webkit-"+V)+";"+U;break;case 207:case 102:U=U.replace(V,"-webkit-"+(102me.charCodeAt(0)&&(me=me.trim()),q=me,me=[q],0=4;++a,r-=4)t=e.charCodeAt(a)&255|(e.charCodeAt(++a)&255)<<8|(e.charCodeAt(++a)&255)<<16|(e.charCodeAt(++a)&255)<<24,t=(t&65535)*1540483477+((t>>>16)*59797<<16),t^=t>>>24,n=(t&65535)*1540483477+((t>>>16)*59797<<16)^(n&65535)*1540483477+((n>>>16)*59797<<16);switch(r){case 3:n^=(e.charCodeAt(a+2)&255)<<16;case 2:n^=(e.charCodeAt(a+1)&255)<<8;case 1:n^=e.charCodeAt(a)&255,n=(n&65535)*1540483477+((n>>>16)*59797<<16)}return n^=n>>>13,n=(n&65535)*1540483477+((n>>>16)*59797<<16),((n^n>>>15)>>>0).toString(36)}var o_e=Gan;var Aan={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},i_e=Aan;function xan(e){var n={};return function(t){return n[t]===void 0&&(n[t]=e(t)),n[t]}}var u_e=xan;var Lan=/[A-Z]|^ms/g,jan=/_EMO_([^_]+?)_([^]*?)_EMO_/g,l_e=function(n){return n.charCodeAt(1)===45},c_e=function(n){return n!=null&&typeof n!="boolean"},yk=u_e(function(e){return l_e(e)?e:e.replace(Lan,"-$&").toLowerCase()}),s_e=function(n,t){switch(n){case"animation":case"animationName":if(typeof t=="string")return t.replace(jan,function(a,r,o){return I0={name:r,styles:o,next:I0},r})}return i_e[n]!==1&&!l_e(n)&&typeof t=="number"&&t!==0?t+"px":t};function IC(e,n,t,a){if(t==null)return"";if(t.__emotion_styles!==void 0)return t;switch(typeof t){case"boolean":return"";case"object":{if(t.anim===1)return I0={name:t.name,styles:t.styles,next:I0},t.name;if(t.styles!==void 0){var r=t.next;if(r!==void 0)for(;r!==void 0;)I0={name:r.name,styles:r.styles,next:I0},r=r.next;var o=t.styles+";";return o}return Nan(e,n,t)}case"function":{if(e!==void 0){var i=I0,u=t(e);return I0=i,IC(e,n,u,a)}break}case"string":if(!1)var l,c;break}if(n==null)return t;var s=n[t];return s!==void 0&&!a?s:t}function Nan(e,n,t){var a="";if(Array.isArray(t))for(var r=0;r-1}function Cge(e){return qA(e)?window.pageYOffset:e.scrollTop}function zA(e,n){if(qA(e)){window.scrollTo(0,n);return}e.scrollTop=n}function zon(e){var n=getComputedStyle(e),t=n.position==="absolute",a=/(auto|scroll)/,r=document.documentElement;if(n.position==="fixed")return r;for(var o=e;o=o.parentElement;)if(n=getComputedStyle(o),!(t&&n.position==="static")&&a.test(n.overflow+n.overflowY+n.overflowX))return o;return r}function $on(e,n,t,a){return t*((e=e/a-1)*e*e+1)+n}function $A(e,n){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:NU,r=Cge(e),o=n-r,i=10,u=0;function l(){u+=i;var c=$on(u,r,o,t);zA(e,c),ut.bottom?zA(e,Math.min(n.offsetTop+n.clientHeight-e.offsetHeight+r,e.scrollHeight)):a.top-r=R)return{placement:"bottom",maxHeight:n};if(ve>=R&&!i)return o&&$A(c,X,pe),{placement:"bottom",maxHeight:n};if(!i&&ve>=a||i&&oe>=a){o&&$A(c,X,pe);var De=i?oe-k:ve-k;return{placement:"bottom",maxHeight:De}}if(r==="auto"||i){var Ne=n,ie=i?O:le;return ie>=a&&(Ne=Math.min(ie-k-l.controlHeight,n)),{placement:"top",maxHeight:Ne}}if(r==="bottom")return zA(c,X),{placement:"bottom",maxHeight:n};break;case"top":if(O>=R)return{placement:"top",maxHeight:n};if(le>=R&&!i)return o&&$A(c,be,pe),{placement:"top",maxHeight:n};if(!i&&le>=a||i&&O>=a){var jn=n;return(!i&&le>=a||i&&O>=a)&&(jn=i?O-M:le-M),o&&$A(c,be,pe),{placement:"top",maxHeight:jn}}return{placement:"bottom",maxHeight:n};default:throw new Error('Invalid placement provided "'.concat(r,'".'))}return s}function Xon(e){var n={bottom:"top",top:"bottom"};return e?n[e]:"bottom"}var kU=function(n){return n==="auto"?"bottom":n},Age=function(n){var t,a=n.placement,r=n.theme,o=r.borderRadius,i=r.spacing,u=r.colors;return t={label:"menu"},Fa(t,Xon(a),"100%"),Fa(t,"backgroundColor",u.neutral0),Fa(t,"borderRadius",o),Fa(t,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),Fa(t,"marginBottom",i.menuGutter),Fa(t,"marginTop",i.menuGutter),Fa(t,"position","absolute"),Fa(t,"width","100%"),Fa(t,"zIndex",1),t},xge=(0,TI.createContext)({getPortalPlacement:null}),OU=function(e){wo(t,e);var n=Gge(t);function t(){var a;bo(this,t);for(var r=arguments.length,o=new Array(r),i=0;i-1}};var Tin={name:"1laao21-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;"},Fin=function(n){return Bt("span",lt({css:Tin},n))};function Min(e){var n=e.in,t=e.out,a=e.onExited,r=e.appear,o=e.enter,i=e.exit,u=e.innerRef,l=e.emotion,c=pi(e,["in","out","onExited","appear","enter","exit","innerRef","emotion"]);return Bt("input",lt({ref:u},c,{css:xg({label:"dummyInput",background:0,border:0,fontSize:"inherit",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(0)"},"")}))}function Gin(e){var n=Ain();return function(){var a=ir(e),r;if(n){var o=ir(this).constructor;r=Reflect.construct(a,arguments,o)}else r=a.apply(this,arguments);return Ki(this,r)}}function Ain(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var EDe=function(e){wo(t,e);var n=Gin(t);function t(){return bo(this,t),n.apply(this,arguments)}return Ro(t,[{key:"componentDidMount",value:function(){this.props.innerRef((0,yDe.findDOMNode)(this))}},{key:"componentWillUnmount",value:function(){this.props.innerRef(null)}},{key:"render",value:function(){return this.props.children}}]),t}(pa.Component),CDe=["boxSizing","height","overflow","paddingRight","position"],IDe={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function TDe(e){e.preventDefault()}function FDe(e){e.stopPropagation()}function MDe(){var e=this.scrollTop,n=this.scrollHeight,t=e+this.offsetHeight;e===0?this.scrollTop=1:t===n&&(this.scrollTop=e-1)}function GDe(){return"ontouchstart"in window||navigator.maxTouchPoints}function xin(e){var n=Lin();return function(){var a=ir(e),r;if(n){var o=ir(this).constructor;r=Reflect.construct(a,arguments,o)}else r=a.apply(this,arguments);return Ki(this,r)}}function Lin(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var ADe=!!(window.document&&window.document.createElement),FI=0,xDe=function(e){wo(t,e);var n=xin(t);function t(){var a;bo(this,t);for(var r=arguments.length,o=new Array(r),i=0;i0,P=D-y-R,k=!1;P>l&&a.isBottom&&(f&&f(u),a.isBottom=!1),G&&a.isTop&&(m&&m(u),a.isTop=!1),G&&l>P?(s&&!a.isBottom&&s(u),S.scrollTop=D,k=!0,a.isBottom=!0):!G&&-l>R&&(v&&!a.isTop&&v(u),S.scrollTop=0,k=!0,a.isTop=!0),k&&a.cancelScroll(u)},a.onWheel=function(u){a.handleEventDelta(u,u.deltaY)},a.onTouchStart=function(u){a.touchStart=u.changedTouches[0].clientY},a.onTouchMove=function(u){var l=a.touchStart-u.changedTouches[0].clientY;a.handleEventDelta(u,l)},a.getScrollTarget=function(u){a.scrollTarget=u},a}return Ro(t,[{key:"componentDidMount",value:function(){this.startListening(this.scrollTarget)}},{key:"componentWillUnmount",value:function(){this.stopListening(this.scrollTarget)}},{key:"startListening",value:function(r){!r||(typeof r.addEventListener=="function"&&r.addEventListener("wheel",this.onWheel,!1),typeof r.addEventListener=="function"&&r.addEventListener("touchstart",this.onTouchStart,!1),typeof r.addEventListener=="function"&&r.addEventListener("touchmove",this.onTouchMove,!1))}},{key:"stopListening",value:function(r){!r||(typeof r.removeEventListener=="function"&&r.removeEventListener("wheel",this.onWheel,!1),typeof r.removeEventListener=="function"&&r.removeEventListener("touchstart",this.onTouchStart,!1),typeof r.removeEventListener=="function"&&r.removeEventListener("touchmove",this.onTouchMove,!1))}},{key:"render",value:function(){return pa.default.createElement(EDe,{innerRef:this.getScrollTarget},this.props.children)}}]),t}(pa.Component);function Bin(e){var n=e.isEnabled,t=n===void 0?!0:n,a=pi(e,["isEnabled"]);return t?pa.default.createElement(Hin,a):a.children}var Jin=function(n){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=t.isSearchable,r=t.isMulti,o=t.label,i=t.isDisabled,u=t.tabSelectsValue;switch(n){case"menu":return"Use Up and Down to choose options".concat(i?"":", press Enter to select the currently focused option",", press Escape to exit the menu").concat(u?", press Tab to select the option and exit the menu":"",".");case"input":return"".concat(o||"Select"," is focused ").concat(a?",type to refine list":"",", press Down to open the menu, ").concat(r?" press left to focus selected values":"");case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value"}},Win=function(n,t){var a=t.value,r=t.isDisabled;if(!!a)switch(n){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(a,", deselected.");case"select-option":return r?"option ".concat(a," is disabled. Select another option."):"option ".concat(a,", selected.")}},qin=function(n){var t=n.focusedValue,a=n.getOptionLabel,r=n.selectValue;return"value ".concat(a(t)," focused, ").concat(r.indexOf(t)+1," of ").concat(r.length,".")},zin=function(n){var t=n.focusedOption,a=n.getOptionLabel,r=n.options;return"option ".concat(a(t)," focused").concat(t.isDisabled?" disabled":"",", ").concat(r.indexOf(t)+1," of ").concat(r.length,".")},$in=function(n){var t=n.inputValue,a=n.screenReaderMessage;return"".concat(a).concat(t?" for search term "+t:"",".")},Vin=function(n){return n.label},Qin=function(n){return n.label},Yin=function(n){return n.value},LDe=function(n){return!!n.isDisabled};var Xin={clearIndicator:Zge,container:Wge,control:tDe,dropdownIndicator:Xge,group:rDe,groupHeading:oDe,indicatorsContainer:zge,indicatorSeparator:Kge,input:uDe,loadingIndicator:eDe,loadingMessage:Pge,menu:Age,menuList:Lge,menuPortal:Uge,multiValue:cDe,multiValueLabel:sDe,multiValueRemove:fDe,noOptionsMessage:Nge,option:pDe,placeholder:_De,singleValue:dDe,valueContainer:qge};var Zin={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},Kin=4,jDe=4,eun=38,nun=jDe*2,tun={baseUnit:jDe,controlHeight:eun,menuGutter:nun},qU={borderRadius:Kin,colors:Zin,spacing:tun};function NDe(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,a)}return t}function Bb(e){for(var n=1;n1&&arguments[1]!==void 0?arguments[1]:"set-value",s=arguments.length>2?arguments[2]:void 0,f=r.props,v=f.closeMenuOnSelect,m=f.isMulti;r.onInputChange("",{action:"set-value"}),v&&(r.inputIsHiddenAfterUpdate=!m,r.onMenuClose()),r.clearFocusValueOnUpdate=!0,r.onChange(l,{action:c,option:s})},r.selectOption=function(l){var c=r.props,s=c.blurInputOnSelect,f=c.isMulti,v=r.state.selectValue;if(f)if(r.isOptionSelected(l,v)){var m=r.getOptionValue(l);r.setValue(v.filter(function(_){return r.getOptionValue(_)!==m}),"deselect-option",l),r.announceAriaLiveSelection({event:"deselect-option",context:{value:r.getOptionLabel(l)}})}else r.isOptionDisabled(l,v)?r.announceAriaLiveSelection({event:"select-option",context:{value:r.getOptionLabel(l),isDisabled:!0}}):(r.setValue([].concat(Ag(v),[l]),"select-option",l),r.announceAriaLiveSelection({event:"select-option",context:{value:r.getOptionLabel(l)}}));else r.isOptionDisabled(l,v)?r.announceAriaLiveSelection({event:"select-option",context:{value:r.getOptionLabel(l),isDisabled:!0}}):(r.setValue(l,"select-option"),r.announceAriaLiveSelection({event:"select-option",context:{value:r.getOptionLabel(l)}}));s&&r.blurInput()},r.removeValue=function(l){var c=r.state.selectValue,s=r.getOptionValue(l),f=c.filter(function(v){return r.getOptionValue(v)!==s});r.onChange(f.length?f:null,{action:"remove-value",removedValue:l}),r.announceAriaLiveSelection({event:"remove-value",context:{value:l?r.getOptionLabel(l):""}}),r.focusInput()},r.clearValue=function(){r.onChange(null,{action:"clear"})},r.popValue=function(){var l=r.state.selectValue,c=l[l.length-1],s=l.slice(0,l.length-1);r.announceAriaLiveSelection({event:"pop-value",context:{value:c?r.getOptionLabel(c):""}}),r.onChange(s.length?s:null,{action:"pop-value",removedValue:c})},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var l=arguments.length,c=new Array(l),s=0;sm||v>m}},r.onTouchEnd=function(l){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(l.target)&&r.menuListRef&&!r.menuListRef.contains(l.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(l){r.userIsDragging||r.onControlMouseDown(l)},r.onClearIndicatorTouchEnd=function(l){r.userIsDragging||r.onClearIndicatorMouseDown(l)},r.onDropdownIndicatorTouchEnd=function(l){r.userIsDragging||r.onDropdownIndicatorMouseDown(l)},r.handleInputChange=function(l){var c=l.currentTarget.value;r.inputIsHiddenAfterUpdate=!1,r.onInputChange(c,{action:"input-change"}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(l){var c=r.props,s=c.isSearchable,f=c.isMulti;r.props.onFocus&&r.props.onFocus(l),r.inputIsHiddenAfterUpdate=!1,r.announceAriaLiveContext({event:"input",context:{isSearchable:s,isMulti:f}}),r.setState({isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(l){if(r.menuListRef&&r.menuListRef.contains(document.activeElement)){r.inputRef.focus();return}r.props.onBlur&&r.props.onBlur(l),r.onInputChange("",{action:"input-blur"}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1})},r.onOptionHover=function(l){r.blockOptionHover||r.state.focusedOption===l||r.setState({focusedOption:l})},r.shouldHideSelectedOptions=function(){var l=r.props,c=l.hideSelectedOptions,s=l.isMulti;return c===void 0?s:c},r.onKeyDown=function(l){var c=r.props,s=c.isMulti,f=c.backspaceRemovesValue,v=c.escapeClearsValue,m=c.inputValue,_=c.isClearable,R=c.isDisabled,D=c.menuIsOpen,y=c.onKeyDown,S=c.tabSelectsValue,G=c.openMenuOnFocus,P=r.state,k=P.focusedOption,M=P.focusedValue,O=P.selectValue;if(!R&&!(typeof y=="function"&&(y(l),l.defaultPrevented))){switch(r.blockOptionHover=!0,l.key){case"ArrowLeft":if(!s||m)return;r.focusValue("previous");break;case"ArrowRight":if(!s||m)return;r.focusValue("next");break;case"Delete":case"Backspace":if(m)return;if(M)r.removeValue(M);else{if(!f)return;s?r.popValue():_&&r.clearValue()}break;case"Tab":if(r.isComposing||l.shiftKey||!D||!S||!k||G&&r.isOptionSelected(k,O))return;r.selectOption(k);break;case"Enter":if(l.keyCode===229)break;if(D){if(!k||r.isComposing)return;r.selectOption(k);break}return;case"Escape":D?(r.inputIsHiddenAfterUpdate=!1,r.onInputChange("",{action:"menu-close"}),r.onMenuClose()):_&&v&&r.clearValue();break;case" ":if(m)return;if(!D){r.openMenu("first");break}if(!k)return;r.selectOption(k);break;case"ArrowUp":D?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":D?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!D)return;r.focusOption("pageup");break;case"PageDown":if(!D)return;r.focusOption("pagedown");break;case"Home":if(!D)return;r.focusOption("first");break;case"End":if(!D)return;r.focusOption("last");break;default:return}l.preventDefault()}},r.buildMenuOptions=function(l,c){var s=l.inputValue,f=s===void 0?"":s,v=l.options,m=function(R,D){var y=r.isOptionDisabled(R,c),S=r.isOptionSelected(R,c),G=r.getOptionLabel(R),P=r.getOptionValue(R);if(!(r.shouldHideSelectedOptions()&&S||!r.filterOption({label:G,value:P,data:R},f))){var k=y?void 0:function(){return r.onOptionHover(R)},M=y?void 0:function(){return r.selectOption(R)},O="".concat(r.getElementId("option"),"-").concat(D);return{innerProps:{id:O,onClick:M,onMouseMove:k,onMouseOver:k,tabIndex:-1},data:R,isDisabled:y,isSelected:S,key:O,label:G,type:"option",value:P}}};return v.reduce(function(_,R,D){if(R.options){r.hasGroups||(r.hasGroups=!0);var y=R.options,S=y.map(function(k,M){var O=m(k,"".concat(D,"-").concat(M));return O&&_.focusable.push(k),O}).filter(Boolean);if(S.length){var G="".concat(r.getElementId("group"),"-").concat(D);_.render.push({type:"group",key:G,data:R,options:S})}}else{var P=m(R,"".concat(D));P&&(_.render.push(P),_.focusable.push(R))}return _},{render:[],focusable:[]})};var o=a.value;r.cacheComponents=dk(r.cacheComponents,Jge).bind(W_(r)),r.cacheComponents(a.components),r.instancePrefix="react-select-"+(r.props.instanceId||++iun);var i=Hb(o);r.buildMenuOptions=dk(r.buildMenuOptions,function(l,c){var s=l,f=Ja(s,2),v=f[0],m=f[1],_=c,R=Ja(_,2),D=R[0],y=R[1];return m===y&&v.inputValue===D.inputValue&&v.options===D.options}).bind(W_(r));var u=a.menuIsOpen?r.buildMenuOptions(a,i):{render:[],focusable:[]};return r.state.menuOptions=u,r.state.selectValue=i,r}return Ro(t,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput()}},{key:"UNSAFE_componentWillReceiveProps",value:function(r){var o=this.props,i=o.options,u=o.value,l=o.menuIsOpen,c=o.inputValue;if(this.cacheComponents(r.components),r.value!==u||r.options!==i||r.menuIsOpen!==l||r.inputValue!==c){var s=Hb(r.value),f=r.menuIsOpen?this.buildMenuOptions(r,s):{render:[],focusable:[]},v=this.getNextFocusedValue(s),m=this.getNextFocusedOption(f.focusable);this.setState({menuOptions:f,selectValue:s,focusedOption:m,focusedValue:v})}this.inputIsHiddenAfterUpdate!=null&&(this.setState({inputIsHidden:this.inputIsHiddenAfterUpdate}),delete this.inputIsHiddenAfterUpdate)}},{key:"componentDidUpdate",value:function(r){var o=this.props,i=o.isDisabled,u=o.menuIsOpen,l=this.state.isFocused;(l&&!i&&r.isDisabled||l&&u&&!r.menuIsOpen)&&this.focusInput(),l&&i&&!r.isDisabled&&this.setState({isFocused:!1},this.onMenuClose),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Ige(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){var r=this.props,o=r.isSearchable,i=r.isMulti;this.announceAriaLiveContext({event:"input",context:{isSearchable:o,isMulti:i}}),this.onInputChange("",{action:"menu-close"}),this.props.onMenuClose()}},{key:"onInputChange",value:function(r,o){this.props.onInputChange(r,o)}},{key:"focusInput",value:function(){!this.inputRef||this.inputRef.focus()}},{key:"blurInput",value:function(){!this.inputRef||this.inputRef.blur()}},{key:"openMenu",value:function(r){var o=this,i=this.state,u=i.selectValue,l=i.isFocused,c=this.buildMenuOptions(this.props,u),s=this.props,f=s.isMulti,v=s.tabSelectsValue,m=r==="first"?0:c.focusable.length-1;if(!f){var _=c.focusable.indexOf(u[0]);_>-1&&(m=_)}this.scrollToFocusedOptionOnUpdate=!(l&&this.menuListRef),this.inputIsHiddenAfterUpdate=!1,this.setState({menuOptions:c,focusedValue:null,focusedOption:c.focusable[m]},function(){o.onMenuOpen(),o.announceAriaLiveContext({event:"menu",context:{tabSelectsValue:v}})})}},{key:"focusValue",value:function(r){var o=this.props,i=o.isMulti,u=o.isSearchable,l=this.state,c=l.selectValue,s=l.focusedValue;if(!!i){this.setState({focusedOption:null});var f=c.indexOf(s);s||(f=-1,this.announceAriaLiveContext({event:"value"}));var v=c.length-1,m=-1;if(!!c.length){switch(r){case"previous":f===0?m=0:f===-1?m=v:m=f-1;break;case"next":f>-1&&f0&&arguments[0]!==void 0?arguments[0]:"first",o=this.props,i=o.pageSize,u=o.tabSelectsValue,l=this.state,c=l.focusedOption,s=l.menuOptions,f=s.focusable;if(!!f.length){var v=0,m=f.indexOf(c);c||(m=-1,this.announceAriaLiveContext({event:"menu",context:{tabSelectsValue:u}})),r==="up"?v=m>0?m-1:f.length-1:r==="down"?v=(m+1)%f.length:r==="pageup"?(v=m-i,v<0&&(v=0)):r==="pagedown"?(v=m+i,v>f.length-1&&(v=f.length-1)):r==="last"&&(v=f.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:f[v],focusedValue:null}),this.announceAriaLiveContext({event:"menu",context:{isDisabled:LDe(f[v]),tabSelectsValue:u}})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(qU):Bb(Bb({},qU),this.props.theme):qU}},{key:"getCommonProps",value:function(){var r=this.clearValue,o=this.cx,i=this.getStyles,u=this.getValue,l=this.setValue,c=this.selectOption,s=this.props,f=s.isMulti,v=s.isRtl,m=s.options,_=this.hasValue();return{cx:o,clearValue:r,getStyles:i,getValue:u,hasValue:_,isMulti:f,isRtl:v,options:m,selectOption:c,setValue:l,selectProps:s,theme:this.getTheme()}}},{key:"getNextFocusedValue",value:function(r){if(this.clearFocusValueOnUpdate)return this.clearFocusValueOnUpdate=!1,null;var o=this.state,i=o.focusedValue,u=o.selectValue,l=u.indexOf(i);if(l>-1){var c=r.indexOf(i);if(c>-1)return i;if(l-1?o:r[0]}},{key:"hasValue",value:function(){var r=this.state.selectValue;return r.length>0}},{key:"hasOptions",value:function(){return!!this.state.menuOptions.render.length}},{key:"countOptions",value:function(){return this.state.menuOptions.focusable.length}},{key:"isClearable",value:function(){var r=this.props,o=r.isClearable,i=r.isMulti;return o===void 0?i:o}},{key:"isOptionDisabled",value:function(r,o){return typeof this.props.isOptionDisabled=="function"?this.props.isOptionDisabled(r,o):!1}},{key:"isOptionSelected",value:function(r,o){var i=this;if(o.indexOf(r)>-1)return!0;if(typeof this.props.isOptionSelected=="function")return this.props.isOptionSelected(r,o);var u=this.getOptionValue(r);return o.some(function(l){return i.getOptionValue(l)===u})}},{key:"filterOption",value:function(r,o){return this.props.filterOption?this.props.filterOption(r,o):!0}},{key:"formatOptionLabel",value:function(r,o){if(typeof this.props.formatOptionLabel=="function"){var i=this.props.inputValue,u=this.state.selectValue;return this.props.formatOptionLabel(r,{context:o,inputValue:i,selectValue:u})}else return this.getOptionLabel(r)}},{key:"formatGroupLabel",value:function(r){return this.props.formatGroupLabel(r)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"constructAriaLiveMessage",value:function(){var r=this.state,o=r.ariaLiveContext,i=r.selectValue,u=r.focusedValue,l=r.focusedOption,c=this.props,s=c.options,f=c.menuIsOpen,v=c.inputValue,m=c.screenReaderStatus,_=u?qin({focusedValue:u,getOptionLabel:this.getOptionLabel,selectValue:i}):"",R=l&&f?zin({focusedOption:l,getOptionLabel:this.getOptionLabel,options:s}):"",D=$in({inputValue:v,screenReaderMessage:m({count:this.countOptions()})});return"".concat(_," ").concat(R," ").concat(D," ").concat(o)}},{key:"renderInput",value:function(){var r=this.props,o=r.isDisabled,i=r.isSearchable,u=r.inputId,l=r.inputValue,c=r.tabIndex,s=r.form,f=this.components.Input,v=this.state.inputIsHidden,m=u||this.getElementId("input"),_={"aria-autocomplete":"list","aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"]};if(!i)return pa.default.createElement(Min,lt({id:m,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:NU,onFocus:this.onInputFocus,readOnly:!0,disabled:o,tabIndex:c,form:s,value:""},_));var R=this.commonProps,D=R.cx,y=R.theme,S=R.selectProps;return pa.default.createElement(f,lt({autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",cx:D,getStyles:this.getStyles,id:m,innerRef:this.getInputRef,isDisabled:o,isHidden:v,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,selectProps:S,spellCheck:"false",tabIndex:c,form:s,theme:y,type:"text",value:l},_))}},{key:"renderPlaceholderOrValue",value:function(){var r=this,o=this.components,i=o.MultiValue,u=o.MultiValueContainer,l=o.MultiValueLabel,c=o.MultiValueRemove,s=o.SingleValue,f=o.Placeholder,v=this.commonProps,m=this.props,_=m.controlShouldRenderValue,R=m.isDisabled,D=m.isMulti,y=m.inputValue,S=m.placeholder,G=this.state,P=G.selectValue,k=G.focusedValue,M=G.isFocused;if(!this.hasValue()||!_)return y?null:pa.default.createElement(f,lt({},v,{key:"placeholder",isDisabled:R,isFocused:M}),S);if(D){var O=P.map(function(le,ve){var X=le===k;return pa.default.createElement(i,lt({},v,{components:{Container:u,Label:l,Remove:c},isFocused:X,isDisabled:R,key:"".concat(r.getOptionValue(le)).concat(ve),index:ve,removeProps:{onClick:function(){return r.removeValue(le)},onTouchEnd:function(){return r.removeValue(le)},onMouseDown:function(pe){pe.preventDefault(),pe.stopPropagation()}},data:le}),r.formatOptionLabel(le,"value"))});return O}if(y)return null;var oe=P[0];return pa.default.createElement(s,lt({},v,{data:oe,isDisabled:R}),this.formatOptionLabel(oe,"value"))}},{key:"renderClearIndicator",value:function(){var r=this.components.ClearIndicator,o=this.commonProps,i=this.props,u=i.isDisabled,l=i.isLoading,c=this.state.isFocused;if(!this.isClearable()||!r||u||!this.hasValue()||l)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return pa.default.createElement(r,lt({},o,{innerProps:s,isFocused:c}))}},{key:"renderLoadingIndicator",value:function(){var r=this.components.LoadingIndicator,o=this.commonProps,i=this.props,u=i.isDisabled,l=i.isLoading,c=this.state.isFocused;if(!r||!l)return null;var s={"aria-hidden":"true"};return pa.default.createElement(r,lt({},o,{innerProps:s,isDisabled:u,isFocused:c}))}},{key:"renderIndicatorSeparator",value:function(){var r=this.components,o=r.DropdownIndicator,i=r.IndicatorSeparator;if(!o||!i)return null;var u=this.commonProps,l=this.props.isDisabled,c=this.state.isFocused;return pa.default.createElement(i,lt({},u,{isDisabled:l,isFocused:c}))}},{key:"renderDropdownIndicator",value:function(){var r=this.components.DropdownIndicator;if(!r)return null;var o=this.commonProps,i=this.props.isDisabled,u=this.state.isFocused,l={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return pa.default.createElement(r,lt({},o,{innerProps:l,isDisabled:i,isFocused:u}))}},{key:"renderMenu",value:function(){var r=this,o=this.components,i=o.Group,u=o.GroupHeading,l=o.Menu,c=o.MenuList,s=o.MenuPortal,f=o.LoadingMessage,v=o.NoOptionsMessage,m=o.Option,_=this.commonProps,R=this.state,D=R.focusedOption,y=R.menuOptions,S=this.props,G=S.captureMenuScroll,P=S.inputValue,k=S.isLoading,M=S.loadingMessage,O=S.minMenuHeight,oe=S.maxMenuHeight,le=S.menuIsOpen,ve=S.menuPlacement,X=S.menuPosition,be=S.menuPortalTarget,pe=S.menuShouldBlockScroll,De=S.menuShouldScrollIntoView,Ne=S.noOptionsMessage,ie=S.onMenuScrollToTop,jn=S.onMenuScrollToBottom;if(!le)return null;var Ve=function(ye){var U=D===ye.data;return ye.innerRef=U?r.getFocusedOptionRef:void 0,pa.default.createElement(m,lt({},_,ye,{isFocused:U}),r.formatOptionLabel(ye.data,"menu"))},Pn;if(this.hasOptions())Pn=y.render.map(function(me){if(me.type==="group"){var ye=me.type,U=pi(me,["type"]),de="".concat(me.key,"-heading");return pa.default.createElement(i,lt({},_,U,{Heading:u,headingProps:{id:de,data:me.data},label:r.formatGroupLabel(me.data)}),me.options.map(function(V){return Ve(V)}))}else if(me.type==="option")return Ve(me)});else if(k){var kn=M({inputValue:P});if(kn===null)return null;Pn=pa.default.createElement(f,_,kn)}else{var q=Ne({inputValue:P});if(q===null)return null;Pn=pa.default.createElement(v,_,q)}var x={minMenuHeight:O,maxMenuHeight:oe,menuPlacement:ve,menuPosition:X,menuShouldScrollIntoView:De},ne=pa.default.createElement(OU,lt({},_,x),function(me){var ye=me.ref,U=me.placerProps,de=U.placement,V=U.maxHeight;return pa.default.createElement(l,lt({},_,x,{innerRef:ye,innerProps:{onMouseDown:r.onMenuMouseDown,onMouseMove:r.onMenuMouseMove},isLoading:k,placement:de}),pa.default.createElement(Bin,{isEnabled:G,onTopArrive:ie,onBottomArrive:jn},pa.default.createElement(kin,{isEnabled:pe},pa.default.createElement(c,lt({},_,{innerRef:r.getMenuListRef,isLoading:k,maxHeight:V}),Pn))))});return be||X==="fixed"?pa.default.createElement(s,lt({},_,{appendTo:be,controlElement:this.controlRef,menuPlacement:ve,menuPosition:X}),ne):ne}},{key:"renderFormField",value:function(){var r=this,o=this.props,i=o.delimiter,u=o.isDisabled,l=o.isMulti,c=o.name,s=this.state.selectValue;if(!(!c||u))if(l)if(i){var f=s.map(function(_){return r.getOptionValue(_)}).join(i);return pa.default.createElement("input",{name:c,type:"hidden",value:f})}else{var v=s.length>0?s.map(function(_,R){return pa.default.createElement("input",{key:"i-".concat(R),name:c,type:"hidden",value:r.getOptionValue(_)})}):pa.default.createElement("input",{name:c,type:"hidden"});return pa.default.createElement("div",null,v)}else{var m=s[0]?this.getOptionValue(s[0]):"";return pa.default.createElement("input",{name:c,type:"hidden",value:m})}}},{key:"renderLiveRegion",value:function(){return this.state.isFocused?pa.default.createElement(Fin,{"aria-live":"polite"},pa.default.createElement("span",{id:"aria-selection-event"},"\xA0",this.state.ariaLiveSelection),pa.default.createElement("span",{id:"aria-context"},"\xA0",this.constructAriaLiveMessage())):null}},{key:"render",value:function(){var r=this.components,o=r.Control,i=r.IndicatorsContainer,u=r.SelectContainer,l=r.ValueContainer,c=this.props,s=c.className,f=c.id,v=c.isDisabled,m=c.menuIsOpen,_=this.state.isFocused,R=this.commonProps=this.getCommonProps();return pa.default.createElement(u,lt({},R,{className:s,innerProps:{id:f,onKeyDown:this.onKeyDown},isDisabled:v,isFocused:_}),this.renderLiveRegion(),pa.default.createElement(o,lt({},R,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:v,isFocused:_,menuIsOpen:m}),pa.default.createElement(l,lt({},R,{isDisabled:v}),this.renderPlaceholderOrValue(),this.renderInput()),pa.default.createElement(i,lt({},R,{isDisabled:v}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}]),t}(pa.Component);Qg.defaultProps=oun;var h6a=ba(II());var XA=ba(Mf());function uun(e){var n=lun();return function(){var a=ir(e),r;if(n){var o=ir(this).constructor;r=Reflect.construct(a,arguments,o)}else r=a.apply(this,arguments);return Ki(this,r)}}function lun(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var cun={defaultInputValue:"",defaultMenuIsOpen:!1,defaultValue:null},Jb=function(n){var t,a;return a=t=function(r){wo(i,r);var o=uun(i);function i(){var u;bo(this,i);for(var l=arguments.length,c=new Array(l),s=0;s1?s-1:0),v=1;v0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,a=String(n).toLowerCase(),r=String(t.value).toLowerCase(),o=String(t.label).toLowerCase();return r===a||o===a},pun={formatCreateLabel:function(n){return'Create "'.concat(n,'"')},isValidNewOption:function(n,t,a){return!(!n||t.some(function(r){return ODe(n,r)})||a.some(function(r){return ODe(n,r)}))},getNewOptionData:function(n,t){return{label:t,value:n,__isNew__:!0}}},_un=mun({allowCreateWhileLoading:!1,createOptionPosition:"last"},pun),dun=function(n){var t,a;return a=t=function(r){wo(i,r);var o=fun(i);function i(u){var l;bo(this,i),l=o.call(this,u),l.select=void 0,l.onChange=function(s,f){var v=l.props,m=v.getNewOptionData,_=v.inputValue,R=v.isMulti,D=v.onChange,y=v.onCreateOption,S=v.value,G=v.name;if(f.action!=="select-option")return D(s,f);var P=l.state.newOption,k=Array.isArray(s)?s:[s];if(k[k.length-1]===P){if(y)y(_);else{var M=m(_,_),O={action:"create-option",name:G};D(R?[].concat(Ag(Hb(S)),[M]):M,O)}return}D(s,f)};var c=u.options||[];return l.state={newOption:void 0,options:c},l}return Ro(i,[{key:"UNSAFE_componentWillReceiveProps",value:function(l){var c=l.allowCreateWhileLoading,s=l.createOptionPosition,f=l.formatCreateLabel,v=l.getNewOptionData,m=l.inputValue,_=l.isLoading,R=l.isValidNewOption,D=l.value,y=l.options||[],S=this.state.newOption;R(m,Hb(D),y)?S=v(m,f(m)):S=void 0,this.setState({newOption:S,options:(c||!_)&&S?s==="first"?[S].concat(Ag(y)):[].concat(Ag(y),[S]):y})}},{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"render",value:function(){var l=this,c=this.state.options;return KA.default.createElement(n,lt({},this.props,{ref:function(f){l.select=f},options:c,onChange:this.onChange}))}}]),i}(KA.Component),t.defaultProps=_un,a},hun=dun(Qg),gun=Jb(hun),zU=gun;var ex=ba(Mf());var e8a=ba(Ub());var i8a=ba(II());function Dun(e){var n=yun();return function(){var a=ir(e),r;if(n){var o=ir(this).constructor;r=Reflect.construct(a,arguments,o)}else r=a.apply(this,arguments);return Ki(this,r)}}function yun(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var bun={cacheOptions:!1,defaultOptions:!1,filterOption:null,isLoading:!1},Run=function(n){var t,a;return a=t=function(r){wo(i,r);var o=Dun(i);function i(u){var l;return bo(this,i),l=o.call(this),l.select=void 0,l.lastRequest=void 0,l.mounted=!1,l.optionsCache={},l.handleInputChange=function(c,s){var f=l.props,v=f.cacheOptions,m=f.onInputChange,_=Ege(c,s,m);if(!_){delete l.lastRequest,l.setState({inputValue:"",loadedInputValue:"",loadedOptions:[],isLoading:!1,passEmptyOptions:!1});return}if(v&&l.optionsCache[_])l.setState({inputValue:_,loadedInputValue:_,loadedOptions:l.optionsCache[_],isLoading:!1,passEmptyOptions:!1});else{var R=l.lastRequest={};l.setState({inputValue:_,isLoading:!0,passEmptyOptions:!l.state.loadedInputValue},function(){l.loadOptions(_,function(D){!l.mounted||(D&&(l.optionsCache[_]=D),R===l.lastRequest&&(delete l.lastRequest,l.setState({isLoading:!1,loadedInputValue:_,loadedOptions:D||[],passEmptyOptions:!1})))})})}return _},l.state={defaultOptions:Array.isArray(u.defaultOptions)?u.defaultOptions:void 0,inputValue:typeof u.inputValue!="undefined"?u.inputValue:"",isLoading:u.defaultOptions===!0,loadedOptions:[],passEmptyOptions:!1},l}return Ro(i,[{key:"componentDidMount",value:function(){var l=this;this.mounted=!0;var c=this.props.defaultOptions,s=this.state.inputValue;c===!0&&this.loadOptions(s,function(f){if(!!l.mounted){var v=!!l.lastRequest;l.setState({defaultOptions:f||[],isLoading:v})}})}},{key:"UNSAFE_componentWillReceiveProps",value:function(l){l.cacheOptions!==this.props.cacheOptions&&(this.optionsCache={}),l.defaultOptions!==this.props.defaultOptions&&this.setState({defaultOptions:Array.isArray(l.defaultOptions)?l.defaultOptions:void 0})}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"loadOptions",value:function(l,c){var s=this.props.loadOptions;if(!s)return c();var f=s(l,c);f&&typeof f.then=="function"&&f.then(c,function(){return c()})}},{key:"render",value:function(){var l=this,c=this.props,s=c.loadOptions,f=c.isLoading,v=pi(c,["loadOptions","isLoading"]),m=this.state,_=m.defaultOptions,R=m.inputValue,D=m.isLoading,y=m.loadedInputValue,S=m.loadedOptions,G=m.passEmptyOptions,P=G?[]:R&&y?S:_||[];return ex.default.createElement(n,lt({},v,{ref:function(M){l.select=M},options:P,isLoading:D||f,onInputChange:this.handleInputChange}))}}]),i}(ex.Component),t.defaultProps=bun,a},wun=Jb(Qg),Sun=Run(wun),nx=Sun;var BDe=ba(HDe()),MI=({baseClass:e,isMulti:n})=>t=>{let a=(i,u)=>Object.assign({},i,u),r=i=>u=>a(u,i),o=!Fun&&typeof document!="undefined";return wt.createElement(e,ri(ja({},t),{isMulti:n,components:{MenuList:Eun},menuPortalTarget:t.useMenuPortal&&o?document.body:void 0,options:qDe(t.options),value:qDe(t.value),getOptionLabel:VU(t.getOptionLabel),getOptionValue:VU(t.getOptionValue),formatOptionLabel:VU(t.formatOptionLabel),loadOptions:t.loadOptions&&((...i)=>t.loadOptions(...i).then(Wb)),onChange:(i,{action:u})=>{switch(u){case"select-option":i.__isNew__?t.onCreate&&t.onCreate(i.label):t.onSelect&&t.onSelect(Wb(i));break;case"clear":t.onClear&&t.onClear();break;case"remove-value":t.onSelect&&t.onSelect(Wb(i||[]));break;case"create-option":t.onCreate&&t.onCreate(i.label);break}},isOptionDisabled:t.isOptionDisabled&&(i=>!i.__isNew__&&t.isOptionDisabled(Wb(i))),styles:{indicatorsContainer:r(t.indicatorsContainerStyle),control:r(t.controlStyle),menuList:r(t.menuListStyle),placeholder:r({color:"#B1C2D9"}),menu:r(a({zIndex:1e3},t.menuStyle)),menuPortal:r({zIndex:1e4}),option:(i,u)=>a(i,u.isFocused?t.focusedOptionStyle:{})}}))},Eun=e=>{let n=Array.isArray(e.children)?e.children:[e.children],t=[];return e.selectProps.footerOption&&e.selectProps.options&&(t=[wt.createElement("hr",{className:"py-0 my-0"}),e.selectProps.footerOption({inputValue:e.selectProps.inputValue,options:Wb(e.selectProps.options)})]),wt.createElement("div",{className:"overflow-y-auto overflow-x-hidden",style:Object.assign({},{maxHeight:e.selectProps.maxMenuHeight},e.selectProps.menuListStyle)},wt.createElement(BDe.default,{length:n.length,itemRenderer:(a,r)=>wt.createElement("div",{key:r},n[a])}),...t)};ZA.displayName="ReactSelect";zU.displayName="ReactSelectCreatable";nx.displayName="ReactSelectAsync";var JDe=MI({baseClass:ZA,isMulti:!1}),Cun=MI({baseClass:zU,isMulti:!1}),Iun=MI({baseClass:ZA,isMulti:!0}),WDe=MI({baseClass:nx,isMulti:!1}),Tun=MI({baseClass:nx,isMulti:!0}),Fun=0;var qDe=e=>e instanceof Array?typeof e[0]=="object"?e:e.map(n=>({__wrap:n})):typeof e=="undefined"||typeof e=="object"?e:{__wrap:e},Wb=e=>{let n=t=>t&&typeof t=="object"&&"__wrap"in t;return e instanceof Array?n(e[0])?e.map(t=>t.__wrap):e:n(e)?e.__wrap:e},VU=e=>e&&(n=>e(Wb(n)));var zDe=e=>()=>new Promise((n,t)=>{var a=o=>()=>n(o),r=o=>()=>t(o);try{e(a)(r)()}catch(o){t(o)}});var $De=function(e){return zDe(function(n){return function(t){return UX(rr(t)(n))(e)}})};var GI=zo(),Mun=Rt(Qn()(E({reflectSymbol:function(){return"inputValue"}})(ue)(he)));var Gun=N(Vt),Aun=N(J),VDe=gs(),QDe=Sa();var xun=function(e){return e};var Ru=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Lun=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}();var YDe=function(e){return function(n){if(e instanceof Ru){var t={};for(var a in n)({}).hasOwnProperty.call(n,a)&&(t[a]=n[a]);return t["aria-label"]=N1(e.value0),t}if(e instanceof Lun){var r={};for(var o in n)({}).hasOwnProperty.call(n,o)&&(r[o]=n[o]);return r["aria-labelledby"]=N1(e.value0),r}throw new Error("Failed pattern match at Component.ReactSelect (line 174, column 3 - line 176, column 66): "+[e.constructor.name])}},tx=function(e){return GI(function(n){return Je(Mun(n))(e)})};var ax=function(e){return function(n){return $De(Gun(Be)(e(n)))()}};var XDe=function(e){return function(n){return Ut(e({inputValue:ee(n.inputValue),options:n.options}))}};var ZDe=function(e){var n={};for(var t in e)({}).hasOwnProperty.call(e,t)&&(n[t]=e[t]);return n.value=One(function(a){return Ut(Aun(xun)(a))})(e.value),n},jun=GI,KDe=GI;var Nun=GI;var e1e=GI;var Ys=function(e){return function(){var n=VDe(JDe),t=YDe(e);return function(a){return n(jun(ZDe(KDe(t(e1e(QDe(a)))))))}}},rx=function(e){return function(){var n=VDe(WDe),t=YDe(e);return function(a){return n(Nun(ZDe(KDe(t(e1e(QDe(a)))))))}}};var n1e="top";var t1e=ro(Pr(No)),Pun=Z(Vt),a1e=K(Pt),kun=Xi($n(Qn()(E({reflectSymbol:function(){return"category"}})(ue)(E({reflectSymbol:function(){return"id"}})(RE)(E({reflectSymbol:function(){return"name"}})(ue)(he)))))),Oun=Z(ge),Uun=Z(J),Hun=Xi(ue),r1e=t1e("profile_search_extracurricular_activities_path")(function(e){return function(n){return Pun(a1e(e({search_term:n}))(zr(kun("Network.ECSelector.API"))))(function(t){return yr(Oun(t)(function(a){return Uun(ny(a.category))(function(r){return{id:a.id,name:a.name,category:r}})}))})}}),o1e=t1e("profile_generate_ec_description_path")(function(e){return function(n){return a1e(e(n))(zr(Hun("Profile.ECSelector.API.generateEcDescription response")))}});var Bun=re(ze),Jun=oa(Te)(ft),i1e=function(e){var n=jc(e);return function(){return function(){return n("text")}}};var QU=function(){return function(){return h_("path")}},Wun=QU()();var qb=function(e){var n=function(u){return Bun(ls(u))},t=function(u){return function(l){return n(u*l.x)+(" "+n(u*l.y))}},a=function(u){return{x:e.center.x+f8(u),y:e.center.y-m8(u)}},r=a(e.angle1),o=a(e.angle0),i=function(){var u=e.angle1-e.angle0>zv;return u?"1":"0"}();return Wun("")({d:Jun([" M ",t(e.outerRadius)(o)," A ",n(e.outerRadius)," ",n(e.outerRadius)," 0 ",i," 0 ",t(e.outerRadius)(r)," L ",t(e.innerRadius)(r)," A ",n(e.innerRadius)," ",n(e.innerRadius)," 0 ",i," 1 ",t(e.innerRadius)(o)," Z"]),fill:e.fill,stroke:e.stroke.color,strokeWidth:e.stroke.width})},u1e=function(){return function(){return h_("circle")}};var l1e=yn(Dn),pv=gn(l1e)(pn(mn)),c1e=dn(_n),_v=hn(c1e),s1e=wn(Rn),dv=bn(s1e),qun=QU()(),cp=re($i),zun=_i(ae)()(),AI=B(L),$un=Cs(W)()(),Vun=Z(ge),Qun=i1e(L)()(),Yun=re(ze),Xun=Ct(ae)()(),Zun=An(_t),Kun=ta(L),xI=B(W),zb=B(ae),f1e=_e(xt(As)),eln=Vf(W),nln=N(ge),tln=cl(L),YU=function(){function e(){}return e.value=new e,e}(),XU=function(){function e(){}return e.value=new e,e}(),v1e=function(e){return function(n){if(n instanceof XU)return Ee(e)(Zae(e));if(n instanceof YU)return Ee(e)(Kae(e));throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivityTier (line 23, column 1 - line 23, column 46): "+[e.constructor.name,n.constructor.name])}},m1e=function(){return 100/st(da(Sn(G_)(pv(pv(pv(pv(pv(pv(pv(pv(pv(pv(pv(l1e)(c1e))(_v))(_v))(_v))(_v))(_v))(_v))(_v))(_v))(_v))(_v))(dv(dv(dv(dv(dv(dv(dv(dv(dv(dv(dv(s1e))))))))))))(_v)))}(),aln=function(e){var n=Hl(e),t=Jae(n),a=function(r){return function(o){return function(i){var u=o-1,l=r+1,c=u/2,s=l/2;return qun("")({d:Wr(" ")(["M",cp(-s),cp(l),"L",cp(s),cp(l),"L",cp(c),cp(u),"L",cp(-c),cp(u),"Z"]),fill:i})}}};return zun({overlay:ce([AI("")("Use the arrows to choose"),AI("")("higher or lower levels")]),trigger:Q_,placement:Us})($un("")({viewBox:"-50 0 100 100",height:"100",width:"100"})([a(0)(25)("#6EF06B"),a(25)(50)("#B7EAB6"),a(50)(75)("#DEEDDE"),a(75)(100)("#EBEBEB"),a(st(t)*m1e)(st(t+1|0)*m1e)("#64A063"),ce(Vun(vF(1)(4))(function(r){return Qun("")({x:"0",y:cp(25*st(r)-11),dominantBaseline:"middle",textAnchor:"middle"})(Yun(r))}))]))},p1e=function(e){return function(n){var t=Hl(e),a=tv(e),r=function(o){var i=function(){if(o.msg instanceof YU)return"up";if(o.msg instanceof XU)return"down";throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivityTier (line 67, column 17 - line 69, column 33): "+[o.msg.constructor.name])}();return Xun("py-0 px-2 my-2 btn btn-outline-light t--tier-"+(i+function(){return o.disabled?"":" text-body"}()))({type:"button",onClick:Zun(n)(o.msg),disabled:o.disabled})(Kun("x-large fe fe-arrow-"+i)(""))};return ce([xI("d-flex justify-content-between align-items-center")([AI("font-weight-bold fw-bold")("Tier "+ty(t)),xI("d-flex align-items-center")([zb("mr-2")(r({msg:YU.value,disabled:f1e(new d(t))(zae(a))})),zb("")(r({msg:XU.value,disabled:f1e(new d(t))(eG(a))}))])]),zb("card shadow-none")(zb("card-body")(xI("row align-items-start")([zb("col-12 col-md-7")(Je(qae(a)(t))(function(o){return ce([Y("I did the equivalent of ANY of the following:"),eln("")(nln(tln(""))(o))])})),zb("col-12 col-md-5")(xI("row align-items-center")([xI("col-7 d-flex flex-column align-items-center")([AI("mb-2 small")("Exceptional"),aln(e),AI("mt-2 small")("Standard")])]))])))])}};var ox=z(pt),rln=Sa(),oln=Bn(Mn)(qt),iln=Kr(tt),uln=Z(Vt),lln=ms(Yv),cln=Ct(ae)()(),_1e=B(L),d1e=An(_t),ZU=function(){function e(){}return e.value=new e,e}(),h1e=function(){function e(){}return e.value=new e,e}(),g1e=function(){function e(){}return e.value=new e,e}(),KU=function(){function e(){}return e.value=new e,e}(),D1e=function(){function e(){}return e.value=new e,e}(),y1e=function(){function e(){}return e.value=new e,e}(),b1e=function(){var e=function(n){var t=ox(ZU.value),a=rln(n),r=function(i){return function(u){if(u instanceof KU)return oln(iln(uln(lln(a.onClick))(rr(an(y1e.value))(an(D1e.value)))))(function(){return ox(h1e.value)});if(u instanceof D1e)return ox(ZU.value);if(u instanceof y1e)return ox(g1e.value);throw new Error("Failed pattern match at Utils.EffectButton (line 68, column 9 - line 70, column 24): "+[i.constructor.name,u.constructor.name])}},o=function(i){return function(u){var l=function(s){return cln(Un(a.buttonClass)("btn btn-primary px-4"))({onClick:s,disabled:Un(a.disabled)(!1)})(Un(a.buttonContent)(Y("Submit")))},c=Un(a.render)({idle:l,inFlight:function(s){return _1e(Un(a.spinnerClass)("spinner spinner-border text-primary"))("")},erroredOut:function(s){return ce([l(s),_1e("invalid-feedback d-block")(Un(a.errorMessage)("Something went wrong. Try refreshing the page."))])}});if(i instanceof ZU)return c.idle(d1e(u)(KU.value));if(i instanceof h1e)return c.inFlight(Ce);if(i instanceof g1e)return c.erroredOut(d1e(u)(KU.value));throw new Error("Failed pattern match at Utils.EffectButton (line 49, column 11 - line 52, column 65): "+[i.constructor.name])}};return{init:t,view:o,update:r}};return tl("EffectButton")(e)};var R1e=function(){function e(){}return e.value=new e,e}(),w1e=function(){function e(){}return e.value=new e,e}(),$b=function(){function e(){}return e.value=new e,e}(),ix=function(){function e(){}return e.value=new e,e}(),S1e=function(){function e(){}return e.value=new e,e}(),E1e=function(){function e(){}return e.value=new e,e}(),Vb=function(){function e(){}return e.value=new e,e}(),C1e=function(e){if(e instanceof R1e)return"avatar-xxs";if(e instanceof w1e)return"avatar-xs";if(e instanceof $b)return"avatar-sm";if(e instanceof ix)return"";if(e instanceof S1e)return"avatar-lg";if(e instanceof E1e)return"avatar-xl";if(e instanceof Vb)return"avatar-xxl";throw new Error("Failed pattern match at Dashkit.Avatar.Size (line 16, column 13 - line 23, column 34): "+[e.constructor.name])};var ux=_e(xt(va)),sln=Sa(),fln=B(ae),vln=js()(),eH=en(L),nH=Yn(ae)()(),mln=ta(L),pln=si(),_ln=Zv(Mn)(),dln=Jn(tt),hln=Mr(W)()(),gln=la(mu),Dln=cv(),yln=mt(Va),wu=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Yg=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),tH=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),aH=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),I1e=function(){function e(){}return e.value=new e,e}(),bln=function(){function e(){}return e.value=new e,e}(),Rln={eq:function(e){return function(n){return e instanceof wu&&n instanceof wu?e.value0.url===n.value0.url:e instanceof Yg&&n instanceof Yg?ux(e.value0.backgroundColorClass)(n.value0.backgroundColorClass)&&e.value0.initials===n.value0.initials&&ux(e.value0.textColorClass)(n.value0.textColorClass):e instanceof tH&&n instanceof tH?ux(e.value0.backgroundColorClass)(n.value0.backgroundColorClass)&&e.value0.iconClass===n.value0.iconClass:e instanceof aH&&n instanceof aH?ux(e.value0.backgroundColorClass)(n.value0.backgroundColorClass)&&e.value0.name===n.value0.name:!1}}},wln=gC(Rln),j0=function(){return function(e){var n=sln(e),t=function(){var r=Un(n.shape)(I1e.value);if(r instanceof I1e)return"rounded-circle";if(r instanceof bln)return"rounded";throw new Error("Failed pattern match at Dashkit.Avatar (line 119, column 9 - line 121, column 37): "+[r.constructor.name])}(),a=function(r){return fln("avatar "+(C1e(Un(n.size)(ix.value))+(" "+Un(n.className)(""))))(function(){if(r instanceof wu)return vln("avatar-img img-fluid "+(t+(" "+Un(n.borderClassName)(""))))({src:r.value0.url,alt:Un(n.ariaLabel)("Avatar image")});if(r instanceof Yg)return eH("avatar-title font-weight-bold fw-bold "+(t+(" "+(Ee("")(r.value0.backgroundColorClass)+(" "+(Ee("")(r.value0.textColorClass)+(" "+Un(n.borderClassName)(""))))))))(r.value0.initials);if(r instanceof tH)return nH("avatar-title "+(t+(" "+(Ee("")(r.value0.backgroundColorClass)+(" "+Un(n.borderClassName)(""))))))({"aria-label":Un(n.ariaLabel)("Avatar icon")})(mln(r.value0.iconClass)(""));if(r instanceof aH)return nH("avatar-title "+(t+(" "+(Ee("")(r.value0.backgroundColorClass)+(" "+Un(n.borderClassName)(""))))))({"aria-label":Un(n.ariaLabel)("Avatar icon")})(eH("material-symbol")(r.value0.name));throw new Error("Failed pattern match at Dashkit.Avatar (line 78, column 11 - line 116, column 46): "+[r.constructor.name])}())};return Mu(pln(sa(n.source))(function(r){return _ln(wln(n.source)(function(o){return dln(r.value1(o))}))(function(){return ci(ce([a(r.value0),function(){return r.value0 instanceof wu?Je(Rr(n.hideAvatar))(function(o){return nH("hq-only-menu-item")({style:fn({marginTop:"-50px",marginLeft:"200px"})})(hln("btn btn-sm btn-warning mb-4 t--hide-avatar")(Fr)({onClick:gln(function(i){return function(){return Dln(i)(),yln(r.value1)(o)()}})})([eH("badge badge-info bg-info text-dark mr-2")("HQ"),Y("Hide")]))}):un}()]))})}))}};var Sln=j0();var Eln=function(e){return Sln({source:new wu({url:gg("/img/icons/ai-avatar-logo-purple-3.svg")}),size:e.size})},Qb=function(){return Eln({size:$b.value})}();var T1e=function(){var e=[eE.value,new Sm(" "),IM.value,new Sm(", "),FM.value,new Sm(":"),GM.value,new Sm(" "),MM.value],n=nE(bh(Te)(e));return function(t){return n(function(a){return a.sentAt}(t))}}();var sp=B(W),Cln=en(L),Iln=gu(L),Tln=yl(Le),rH=K0(J),F1e=N(J),Fln=Z(J),Mln=mt(Le),Gln=fh(Te)(ea),oH=Bn(Mn)(Le),iH=Xr(Fo),uH=K(Le),lH=pu(L),M1e=kl()(),LI=An(ao),Xg=B(ae),G1e=Ct(L)()(),cH=An(_t),A1e=fM(L)()(),x1e=re(ey),Aln=Ye(ca),xln=N(ge),Lln=Yo()(),L1e=O1(),jln=cM(W)()(),j1e=Z(Vt),Nln=ms(Yv),Pln=dh(va),kln=Z(ge),Oln=Yn(L)()(),Uln=re(Yae),Hln=qn(Pa),N1e=B(L),Bln=b1e(),Jln=K(Pt),Wln=Jn(tt),Zg=function(){function e(){}return e.value=new e,e}(),lx=function(){function e(){}return e.value=new e,e}(),Kg=function(){function e(){}return e.value=new e,e}(),P1e=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),k1e=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),sH=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),O1e=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),U1e=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),H1e=function(){function e(){}return e.value=new e,e}(),B1e=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),J1e=function(){function e(){}return e.value=new e,e}(),W1e=function(){function e(){}return e.value=new e,e}(),q1e=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),z1e={eq:function(e){return function(n){return e instanceof Zg&&n instanceof Zg||e instanceof lx&&n instanceof lx||e instanceof Kg&&n instanceof Kg}}},qln=function(e){return e.tierSelector instanceof d?C.value:new d({errorMessage:"Please select a tier."})},zln=function(e){if(e.name==="")return new d({errorMessage:"Please enter an activity name."});if(xe)return C.value;throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivityEditor (line 321, column 1 - line 321, column 32): "+[e.constructor.name])},$ln=function(e){if(fr(e.category))return new d({errorMessage:"Please select a category."});if(xe)return C.value;throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivityEditor (line 326, column 1 - line 326, column 36): "+[e.constructor.name])},$1e=function(e){return function(n){return ce([sp("")([Cln("")("Level of achievement"),Iln("ml-3")(` Choose a description that ROUGHLY aligns with what you do. Use the arrows to choose higher or lower tiers. If you\u2019re torn between two tier descriptions, pick the one that\u2019s higher on the pyramid. `)]),p1e(n)(function(t){return e(O1e.create(t))})])}},V1e=function(e){return Tln(rH(rH(rH(F1e(wE("")(e))(eG(e)))(C.value))(C.value))(C.value))},Q1e=function(e){return function(n){if(n instanceof O1e)return{isNew:e.isNew,name:e.name,category:e.category,id:e.id,canonicalId:e.canonicalId,description:e.description,compactView:e.compactView,view:e.view,tierSelector:Fln(e.tierSelector)(function(t){return v1e(t)(n.value0)})};if(n instanceof P1e)return{isNew:e.isNew,category:e.category,id:e.id,canonicalId:e.canonicalId,tierSelector:e.tierSelector,description:e.description,compactView:e.compactView,view:e.view,name:n.value0};if(n instanceof k1e)return{isNew:e.isNew,name:e.name,id:e.id,canonicalId:e.canonicalId,description:e.description,compactView:e.compactView,view:e.view,category:n.value0,tierSelector:Mln(V1e)(n.value0)};if(n instanceof sH)return{isNew:e.isNew,name:e.name,category:e.category,id:e.id,canonicalId:e.canonicalId,tierSelector:e.tierSelector,compactView:e.compactView,view:e.view,description:n.value0};if(n instanceof U1e)return{isNew:e.isNew,id:e.id,description:e.description,compactView:e.compactView,view:e.view,name:n.value0.name,category:new d(n.value0.category),canonicalId:new d(n.value0.id),tierSelector:V1e(n.value0.category)};if(n instanceof H1e)return{isNew:e.isNew,id:e.id,description:e.description,compactView:e.compactView,view:e.view,name:"",category:C.value,canonicalId:C.value,tierSelector:C.value};if(n instanceof B1e)return{isNew:e.isNew,category:e.category,id:e.id,canonicalId:e.canonicalId,tierSelector:e.tierSelector,description:e.description,compactView:e.compactView,view:Kg.value,name:n.value0.name};if(n instanceof J1e)return{isNew:e.isNew,name:e.name,category:e.category,id:e.id,canonicalId:e.canonicalId,tierSelector:e.tierSelector,description:e.description,compactView:e.compactView,view:lx.value};if(n instanceof W1e)return{isNew:e.isNew,name:e.name,category:e.category,id:e.id,canonicalId:e.canonicalId,tierSelector:e.tierSelector,description:e.description,compactView:e.compactView,view:function(){if(e.canonicalId instanceof d)return Zg.value;if(e.canonicalId instanceof C)return Kg.value;throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivityEditor (line 305, column 9 - line 307, column 30): "+[e.canonicalId.constructor.name])}()};if(n instanceof q1e)return{isNew:e.isNew,name:e.name,category:e.category,id:e.id,canonicalId:e.canonicalId,tierSelector:e.tierSelector,compactView:e.compactView,description:n.value0,view:function(){if(e.canonicalId instanceof d)return Zg.value;if(e.canonicalId instanceof C)return Kg.value;throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivityEditor (line 313, column 9 - line 315, column 30): "+[e.canonicalId.constructor.name])}()};throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivityEditor (line 279, column 1 - line 279, column 36): "+[e.constructor.name,n.constructor.name])}},jI=function(e){return Gln(t_e(e))([zln,$ln,qln])},cx=function(e){return function(n){if(n instanceof d){var t=Ee("")(EE(n.value0)),a=tv(n.value0);return{isNew:!1,name:A_(n.value0),category:new d(a),tierSelector:function(){return a instanceof h0?C.value:new d(n.value0)}(),id:nG(n.value0),canonicalId:tG(n.value0),description:t,compactView:e.compactView,view:function(){var r=gt(tG(n.value0));return r?Zg.value:Kg.value}()}}if(n instanceof C)return{isNew:!0,name:"",category:C.value,tierSelector:C.value,id:C.value,canonicalId:C.value,description:"",compactView:e.compactView,view:Zg.value};throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivityEditor (line 72, column 1 - line 72, column 73): "+[e.constructor.name,n.constructor.name])}},sx=function(e){return oH(iH(jI(e)))(function(){return uH(e.tierSelector)(function(n){return uH(e.category)(function(t){return wE(e.name)(t)(Hl(n))(e.id)(new d(e.description))(e.canonicalId)})})})},Y1e="Summarize your role, highlighting specific achievements. Include quantifiable results (if possible) and skills developed.",X1e=function(e){return function(n){return function(t){var a=ce([lH("")("Description (optional)"),M1e("form-control mb-3 t--description")({placeholder:Y1e,rows:2,maxLength:1e3,onChange:LI(t)(function(r){return sH.create(Hs(r))}),value:n.description}),sp("row")([Xg("col-auto")(Qb),vn(e.featureFlags.showGenerateEcDescription)(Xg("col pl-0")(G1e("btn btn-outline-primary rounded-pill t--generate-description")({onClick:cH(t)(J1e.value)})("Write description for me")))])]);return vn(!n.compactView)(a)}}},Z1e=function(e){return function(n){return function(t){if(n.view instanceof Kg){var a=function(u){return A1e("")({value:x1e(u)})(M_(u))},r=Aln([A1e("")({value:""})("Select category")])(xln(a)(Lae));return ce([sp("row pb-4")([sp("col-12 mt-3 mt-lg-0 col-lg-8 align-self-baseline")([lH("font-weight-bold fw-bold")("Activity name *"),Lln("")({className:"form-control t--name",autoFocus:!0,value:n.name,onChange:LI(t)(function(u){return P1e.create(Bs(u))}),minLength:5,maxLength:50,required:!0,_data:L1e({"test-id":"ec-selector-activity-name"}),"aria-required":"true"})]),sp("col-12 mt-3 mt-lg-0 col-lg-4 align-self-baseline")([lH("font-weight-bold fw-bold")("Category *"),jln("")({className:"form-control t--category",onChange:LI(t)(function(u){return k1e.create(ny(upe(u)))}),value:Oe("")(x1e)(n.category),_data:L1e({"test-id":"ec-selector-activity-category"}),required:!0,"aria-required":"true"})(r)])]),Je(n.tierSelector)($1e(t)),X1e(e)(n)(t)])}if(n.view instanceof Zg){var o=function(u){return j1e(j1e(Nln(r1e(u)))(oc))(Ee([]))},i=function(){var u=function(l){return lu(kw(l))};return XDe(function(l){return uH(l.inputValue)(function(c){return oH(iH(Zr(c)>=3))(function(){return oH(iH(!Pln(u(c))(kln(l.options)(function(s){return u(function(f){return f.name}(s))}))))(function(){return new d(Oln("text-center text-primary cursor-pointer py-3 t--ec-activity-custom")({onClick:cH(t)(new B1e({name:c}))})("Add \u2018"+(c+"\u2019 as a custom activity")))})})})})}();return sp("my-4 overflow-hidden ")([Y("Activity name*"),rx(new Ru("Search for an activity"))()({className:"mt-2 t--ec-activity-name",classNamePrefix:"t--canonical-ec-activity",placeholder:"Type to select\u2026",loadOptions:ax(o),defaultOptions:!1,getOptionLabel:function(u){return u.name},getOptionValue:function(u){return Uln(function(l){return l.id}(u))},onSelect:LI(t)(U1e.create),useMenuPortal:!0,value:Hln(F1e(function(u){return function(l){return{name:n.name,category:u,id:l}}})(n.category))(n.canonicalId),isClearable:!0,onClear:t(H1e.value),footerOption:i,menuPlacement:n1e,noOptionsMessage:tx(function(u){return Y(function(){var l=Zr(u.inputValue)<=3;return l?"Type to search activities":"No matches. Try a different search."}())})}),Je(n.category)(function(u){return N1e("mt-2 text-muted t--ec-activity-category")("Category: "+M_(u))}),Je(n.tierSelector)(function(){var u=Xg("mt-4"),l=$1e(t);return function(c){return u(l(c))}}()),Je(n.canonicalId)(function(u){return Xg("mt-4")(X1e(e)(n)(t))})])}if(n.view instanceof lx)return sp("my-4 overflow-hidden t--description-generator")([sp("row")([Xg("col-auto")(Qb),N1e("col pl-0")("Tell me about your role, contributions, and any achievements so I can write a strong description.")]),M1e("form-control my-3 t--description")({placeholder:Y1e,rows:5,maxLength:1e3,onChange:LI(t)(function(u){return sH.create(Hs(u))}),value:n.description}),sp("row")([Xg("col-6")(G1e("btn btn-light btn-block")({onClick:cH(t)(W1e.value)})("Cancel")),Xg("col-6")(Bln({buttonClass:"btn btn-primary btn-block t--generate-description-confirm",buttonContent:Y("Write description"),onClick:Jln(o1e({activity:n.name,category:Oe("")(M_)(n.category),description:n.description}))(function(u){return Wln(t(new q1e(u)))})}))])]);throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivityEditor (line 103, column 1 - line 103, column 78): "+[e.constructor.name,n.constructor.name,t.constructor.name])}}};var Vln=Ym(),Qln=Zn(L),Yln=B(W),K1e=B(ae),eye=Ct(L)()(),Xln=P1(iM(d1)),Zln=yi(J),Kln=Xr(Fo),ecn=Ua(vr(ea)),ncn=An(_t),fH=z(pt),nye=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),fx=function(){function e(){}return e.value=new e,e}(),NI=function(){function e(){}return e.value=new e,e}(),vH=function(e){return function(n){return function(t){var a=function(){return n.isNew?"Add":"Edit"}();return Vln({onDismiss:t(NI.value),title:Qln("")(a+" activity"),size:IE.value,bodyClass:"t--ec-editor",body:ce([Z1e(e)(n)(function(r){return t(nye.create(r))}),Ba(""),Yln("row justify-content-between mt-n3")([K1e("col-12 col-md-3 mt-3")(eye("btn btn-primary btn-block t--save-ec-activity")({type:"button",onClick:Xln(t)(Zln(Kln(jI(n)))(fx.value)),disabled:ecn(jI)(n)})("Save activity")),K1e("col-12 col-md-3 mt-3")(eye("btn btn-outline-secondary btn-block")({type:"button",onClick:ncn(t)(NI.value)})("Cancel"))])])})}}},mH=function(e){return function(n){if(n instanceof nye)return fH(Q1e(e)(n.value0));if(n instanceof fx||n instanceof NI)return fH(e);throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivityEditModal (line 54, column 1 - line 54, column 69): "+[e.constructor.name,n.constructor.name])}};var tcn=_e(bE),tye=_e(xt(_j)),aye=_e(xt(_E)),acn=_e(va),rye=_e(xt(ar)),oye=_e(xt(bE)),iye=_e(z1e),uye=vr(ea),lye=Ua(uye),rcn=mt(Le),Su=z(pt),ocn=ww(bE),cye=Ye(ca),pH=Bn(Mn)(qt),sye=Kr(tt),fye=z(na),_H=K(qt),vye=Dr(Gi(Vt)),fp=B(W),Yb=Vn(L),mye=re(ze),icn=K(jv),ucn=z(em),Xs=B(ae),lcn=Ct(W)()(),ccn=en(ae),scn=en(L),fcn=B(L),pye=Df(vr(uye)),vcn=_e(_E),mcn=_e(As),pcn=Yo()(),_cn=uv(),vx=Ct(L)()(),PI=An(_t),dcn=Yn(W)()(),hcn=O1(),gcn=Ea(L),Dcn=Vn(W),ycn=Jn(tt);var mx=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),dH=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),hH=function(){function e(){}return e.value=new e,e}(),px=function(){function e(){}return e.value=new e,e}(),eD=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),nD=function(){function e(){}return e.value=new e,e}(),Xb=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Dd=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),yd=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),bcn={eq:function(e){return function(n){return e instanceof nD&&n instanceof nD?!0:e instanceof Xb&&n instanceof Xb?tcn(e.value0.activity)(n.value0.activity):e instanceof Dd&&n instanceof Dd?e.value0.index===n.value0.index&&tye(e.value0.state.canonicalId)(n.value0.state.canonicalId)&&aye(e.value0.state.category)(n.value0.state.category)&&e.value0.state.compactView===n.value0.state.compactView&&e.value0.state.description===n.value0.state.description&&rye(e.value0.state.id)(n.value0.state.id)&&e.value0.state.isNew===n.value0.state.isNew&&e.value0.state.name===n.value0.state.name&&oye(e.value0.state.tierSelector)(n.value0.state.tierSelector)&&iye(e.value0.state.view)(n.value0.state.view):e instanceof yd&&n instanceof yd?tye(e.value0.canonicalId)(n.value0.canonicalId)&&aye(e.value0.category)(n.value0.category)&&e.value0.compactView===n.value0.compactView&&e.value0.description===n.value0.description&&rye(e.value0.id)(n.value0.id)&&e.value0.isNew===n.value0.isNew&&e.value0.name===n.value0.name&&oye(e.value0.tierSelector)(n.value0.tierSelector)&&iye(e.value0.view)(n.value0.view):!1}}},Rcn=_e(bcn),wcn=function(e){return e.maxActivities-da(e.activities)|0},_ye=function(e){if(e.editor instanceof nD||e.editor instanceof Xb)return!1;if(e.editor instanceof yd||e.editor instanceof Dd)return!0;throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.Extracurriculars (line 352, column 15 - line 356, column 21): "+[e.editor.constructor.name])},Scn=function(e){return function(n){if(n instanceof mx&&lye(_ye)(e)){var t=rcn(uu(e.activities))(n.value0.index);if(n.value0.index instanceof d&&t instanceof d){var a=cx(e)(new d(t.value0));return Su({activities:e.activities,activitiesToDestroy:e.activitiesToDestroy,attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:new Dd({index:n.value0.index.value0,state:a})})}var a=cx(e)(C.value);return Su({activities:e.activities,activitiesToDestroy:e.activitiesToDestroy,attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:new yd(a)})}if(n instanceof mx)return Su(e);if(n instanceof dH&&lye(_ye)(e))return Su({activities:e.activities,activitiesToDestroy:e.activitiesToDestroy,attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:new Xb({activity:n.value0.activity})});if(n instanceof dH)return Su(e);if(n instanceof hH)return Su({activities:e.activities,activitiesToDestroy:e.activitiesToDestroy,attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:nD.value});if(n instanceof px){var r=function(l){return Su({activitiesToDestroy:e.activitiesToDestroy,attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:nD.value,activities:l(e.activities)})},o=function(l){return r(function(c){return Ee(c)(l(c))})};if(e.editor instanceof Xb)return Su({attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:nD.value,activities:ocn(e.editor.value0.activity)(e.activities),activitiesToDestroy:Ci(e.editor.value0.activity)(e.activitiesToDestroy)});var t=function(l){var c=function(f){return Su(e)};if(e.editor instanceof yd){var s=sx(e.editor.value0);return s instanceof d?r(function(f){return cye(f)([s.value0])}):c(!0)}return c(!0)};if(e.editor instanceof Dd){var i=sx(e.editor.value0.state);return i instanceof d?o(fF(e.editor.value0.index)(i.value0)):t(!0)}return t(!0)}if(n instanceof eD&&n.value0 instanceof NI)return pH(sye(fye(hH.value)))(function(){return Su(e)});if(n instanceof eD&&n.value0 instanceof fx)return pH(sye(fye(px.value)))(function(){return Su(e)});if(n instanceof eD)return e.editor instanceof Dd?_H(vye(eD.create)(mH(e.editor.value0.state)(n.value0)))(function(u){return Su({activities:e.activities,activitiesToDestroy:e.activitiesToDestroy,attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:new Dd({index:e.editor.value0.index,state:u})})}):e.editor instanceof yd?_H(vye(eD.create)(mH(e.editor.value0)(n.value0)))(function(u){return Su({activities:e.activities,activitiesToDestroy:e.activitiesToDestroy,attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:new yd(u)})}):Su(e);throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.Extracurriculars (line 292, column 1 - line 292, column 55): "+[e.constructor.name,n.constructor.name])}},Ecn=function(e){return fp(function(){return e.compactView?"container-xs":""}())([Yb("font-weight-bold fw-bold")("Add up to "+(mye(e.maxActivities)+" unique extracurricular activities")),fp("row")(icn(cye(e.activities)([e.addNewButton(wcn(e))(e.onStartEditing)]))(function(n){return ucn(Xs("col-12 col-md-6 d-flex")(n))})),e.hiddenInputs,vn(!e.compactView)(Yb("text-secondary mt-4")(` Your chancing results might be lower if you don\u2019t enter all your activities. You can add and edit activities any time in your profile. `))])},Ccn=10,Icn=function(e){return function(n){if(e>0)return Xs("card")(fp("card-body")([Xs("align-middle pb-2")(lcn("btn btn-link p-0 t--add-new-ec")({type:"button",onClick:n})([ccn("fe fe-plus")(un),scn("")("Add new activity")])),fcn("")("You can add "+(mye(e)+(" more "+(function(){var t=e===1;return t?"activity":"activities"}()+". Your activities will show up on this page."))))]));if(xe)return un;throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.Extracurriculars (line 142, column 1 - line 142, column 78): "+[e.constructor.name,n.constructor.name])}},Tcn=function(e){return function(n){return function(t){var a=function(c){var s=pye(Eu(acn)(A_))(pye(Eu(vcn)(tv))(Eu(mcn)(Hl)));return function(f){return f>1}(da(Lr(s(c))(n.activities)))},r=function(c){return pcn("")({type:"hidden",name:c,value:_cn(fg(n.activities))})},o=function(){return n.editor instanceof Dd?cy("ec-editor-modal")(vH(e)(n.editor.value0.state)(function(c){return t(eD.create(c))})):n.editor instanceof yd?cy("ec-editor-modal")(vH(e)(n.editor.value0)(function(c){return t(eD.create(c))})):un}(),i=function(c){return function(s){if(Rcn(n.editor)(new Xb({activity:s})))return Xs("card mx-auto")(fp("card-body")([Yb("")("Delete this activity?"),fp("row")([Xs("col-12 col-sm-6 text-center")(vx("btn btn-secondary px-4 text-nowrap t--no-dont-remove")({type:"button",onClick:PI(t)(hH.value)})("Keep it")),Xs("col-12 col-sm-6 text-center mt-2 mt-md-0")(vx("btn btn-danger px-4 text-nowrap t--yes-remove")({type:"button",onClick:PI(t)(px.value)})("Delete it"))])]));if(xe){var f=function(_){return _===""?Yb("text-muted")("No activity name yet"):Yb("")(_)},v=function(){if(n.compactView)return"";if(xe)return Ee("")(EE(s));throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.Extracurriculars (line 267, column 7 - line 269, column 69): "+[])}(),m=function(){var _=Zr(v)>100;return _?pc(100)(v)+"\u2026":v}();return dcn("card d-flex w-100 t--ec-activity")({_data:hcn({"test-id":"ec-selector-activity-view"})})([Xs("card-body pb-0")(fp("row")([fp("col-12")([vn(a(s))(Xs("d-flex justify-content-end")(fp("badge badge-warning bg-warning text-dark")([gcn("")("Smart Alert: "),Y("this activity appears twice")]))),f(A_(s)),Dcn("")([Y(M_(tv(s))),Y(" | Tier "),Y(ty(Hl(s)))])]),Xs("col-12 mt-n2")(Yb("text-muted small")(m))])),Xs("card-footer border-top-0 pt-0")(fp("row")([Xs("col col-6 ml-sm-auto")(vx("btn btn-link p-0 t--edit")({type:"button",onClick:PI(t)(new mx({index:new d(c)}))})("Edit")),Xs("col col-6 ml-sm-auto text-right")(vx("btn btn-link btn-secondary-outline p-0 t--remove")({type:"button",onClick:PI(t)(new dH({activity:s}))})("Remove"))]))])}throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.Extracurriculars (line 198, column 3 - line 269, column 69): "+[c.constructor.name,s.constructor.name])}},u=bw(i)(n.activities),l={activities:u,ecActivities:n.activities,hiddenInputs:Je(n.attributesPath)(r),addNewButton:Icn,maxActivities:n.maxActivities,compactView:n.compactView,onStartEditing:PI(t)(new mx({index:C.value})),redirectUrlOverride:C.value};return ce([n.defaultView(l),o])}}},dye=tl("Extracurriculars")(function(e){return{init:Su({activities:e.extracurriculars,attributesPath:C.value,attributesFormGroup:"",activitiesToDestroy:[],editor:nD.value,compactView:e.compactView,maxActivities:Ee(Ccn)(e.maxActivities),defaultView:Ee(Ecn)(e.defaultView)}),view:function(n){return Tcn(e)({attributesPath:n.attributesPath,attributesFormGroup:n.attributesFormGroup,editor:n.editor,activitiesToDestroy:n.activitiesToDestroy,maxActivities:n.maxActivities,defaultView:n.defaultView,activities:e.extracurriculars,compactView:e.compactView})},update:function(n){return function(t){return _H(Scn(n)(t))(function(a){return pH(function(){return t instanceof px?mr(ycn(e.onChange(a.activities))):Su(Ce)}())(function(){return Su(a)})})}}}});var Fcn=on(),Mcn=re(Mi),Gcn=Yn(W)()(),hye=n_e(e_e)()(),gye=k$(iu),Zb=B(W),kI=B(L),Dye=K(Pt),Acn=dg($n(Qn()(E({reflectSymbol:function(){return"imageUrl"}})(ue)(E({reflectSymbol:function(){return"schoolId"}})(_s)(E({reflectSymbol:function(){return"schoolName"}})(ue)(E({reflectSymbol:function(){return"score"}})(Gt)(he))))))),gH=Z(ge);var DH=B(ae),xcn=Z(J),Lcn=Bn(Mn),_x=Lcn(qt),dx=Kr(tt),hx=z(na),bd=z(pt),jcn=Ir(L),yH=g0(L)()(),Ncn=la(mu),Pcn=cv(),kcn=en(ae),Ocn=re(ey),Ucn=Ua(vr(ea)),Hcn=U1(W)()(),yye=yn(Dn),bH=gn(yye)(pn(mn)),bye=dn(_n),RH=hn(bye),Rye=wn(Rn),wH=bn(Rye),Bcn=cl(ae),gx=la(pr),SH=An(ao),Dx=function(){function e(){}return e.value=new e,e}(),yx=function(){function e(){}return e.value=new e,e}(),EH=function(){function e(){}return e.value=new e,e}(),bx=function(){function e(){}return e.value=new e,e}(),Jcn=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),wye=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Sye=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Eye=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Cye=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Iye=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),tD=function(){function e(){}return e.value=new e,e}(),Tye=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Wcn={to:function(e){if(e instanceof H)return Dx.value;if(e instanceof p&&e.value0 instanceof H)return yx.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof H)return EH.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p)return bx.value;throw new Error("Failed pattern match at Guidance.LiteChancingCta (line 85, column 1 - line 85, column 39): "+[e.constructor.name])},from:function(e){if(e instanceof Dx)return new H(fe.value);if(e instanceof yx)return new p(new H(fe.value));if(e instanceof EH)return new p(new p(new H(fe.value)));if(e instanceof bx)return new p(new p(new p(fe.value)));throw new Error("Failed pattern match at Guidance.LiteChancingCta (line 85, column 1 - line 85, column 39): "+[e.constructor.name])}},qcn=Sn(Wcn)(bH(bH(bH(yye)(bye))(RH))(RH))(wH(wH(wH(Rye))))(RH),Fye=function(e){if(e instanceof Dx)return"Female";if(e instanceof yx)return"Male";if(e instanceof EH)return"Non-binary / third gender";if(e instanceof bx)return"Gender not specified";throw new Error("Failed pattern match at Guidance.LiteChancingCta (line 88, column 20 - line 92, column 43): "+[e.constructor.name])},Mye=function(e){return Ee(e)(uu(Ii("|")(e))(1))},Gye=function(e){return{label:e.name,value:Fcn(e.slug)+("_"+Mcn(e.id))}},zcn=function(){var e=Ii("_");return function(n){return function(t){return uu(t)(1)}(e(function(t){return t.value}(n)))}}(),Aye=function(e){return Gcn(e.className)({style:fn({flexBasis:"46%"})})([e.label,hye({min:200,max:800,step:10,value:gye(200)(800)(e.score),trackColor:"#008CFD",fillBefore:!0,ariaLabel:"SAT "+(e.ariaLabelPartial+" score slider"),onChange:e.onChange,onFinalChange:e.onFinalChange}),Zb("mt-2 d-flex flex-row justify-content-between")([kI("")("200"),kI("")("800")])])},$cn=ro(Pr(No))("blog_lite_chancing_path")(function(e){return function(n){return Dye(e(n))(zr(function(t){return Acn("Lite Chancing Response")(t)(function(a){return new d(gH(a)(function(r){return{imageUrl:r.imageUrl,schoolId:r.schoolId,schoolName:r.schoolName,score:new d(r.score)}}))})}))}});var Vcn=function(e){return Zb(e.className)([e.label,DH("t--lite-chancing-cta-left-sidebar-gpa")(hye({min:1,max:4,step:.1,value:gye(1)(4)(e.gpa),trackColor:"#008CFD",fillBefore:!0,ariaLabel:"GPA slider",onChange:e.onChange,onFinalChange:e.onFinalChange})),Zb("mt-2 d-flex flex-row justify-content-between")([kI("")("1.0"),kI("")("4.0")])])},Qcn=function(e){return e instanceof Dx?"female":e instanceof yx?"male":"other"},xye=function(e){return function(n){var t=Go(function(o){return xcn(zcn(o))(HF)})(e),a=Qcn(n.genderOption),r=fg(n.ecs);return _x(dx(Dye($cn({schoolIds:t,gpa:n.gpa,satMath:n.satMath,satVerbal:n.satVerbal,gender:a,ecs:r}))(function(o){return hx(new at(new Tye(o)))})))(function(){return bd({ecs:n.ecs,genderOption:n.genderOption,gpa:n.gpa,redirectUrlOverride:n.redirectUrlOverride,satMath:n.satMath,satVerbal:n.satVerbal,chancingIsLoading:!0})})}},Lye=function(e){return xye(e.schoolItems)({gpa:3.7,satMath:720,satVerbal:800,genderOption:bx.value,ecs:[],chancingIsLoading:!1,redirectUrlOverride:e.redirectUrlOverride})},jye=function(e){return function(n){return function(t){if(t instanceof at&&t.value0 instanceof wye)return _x(dx(hx(new at(tD.value))))(function(){return bd({chancingIsLoading:n.chancingIsLoading,genderOption:n.genderOption,gpa:n.gpa,redirectUrlOverride:n.redirectUrlOverride,satMath:n.satMath,satVerbal:n.satVerbal,ecs:t.value0.value0})});if(t instanceof at&&t.value0 instanceof Eye)return _x(dx(hx(new at(tD.value))))(function(){return bd({chancingIsLoading:n.chancingIsLoading,ecs:n.ecs,gpa:n.gpa,redirectUrlOverride:n.redirectUrlOverride,satMath:n.satMath,satVerbal:n.satVerbal,genderOption:t.value0.value0})});if(t instanceof at&&t.value0 instanceof Sye)return bd({chancingIsLoading:n.chancingIsLoading,ecs:n.ecs,genderOption:n.genderOption,redirectUrlOverride:n.redirectUrlOverride,satMath:n.satMath,satVerbal:n.satVerbal,gpa:t.value0.value0});if(t instanceof at&&t.value0 instanceof Cye)return bd({chancingIsLoading:n.chancingIsLoading,ecs:n.ecs,genderOption:n.genderOption,gpa:n.gpa,redirectUrlOverride:n.redirectUrlOverride,satVerbal:n.satVerbal,satMath:t.value0.value0});if(t instanceof at&&t.value0 instanceof Iye)return bd({chancingIsLoading:n.chancingIsLoading,ecs:n.ecs,genderOption:n.genderOption,gpa:n.gpa,redirectUrlOverride:n.redirectUrlOverride,satMath:n.satMath,satVerbal:t.value0.value0});if(t instanceof at&&t.value0 instanceof tD)return xye(e.schools)(n);if(t instanceof at&&t.value0 instanceof Tye)return _x(dx(hx(new Qt(new Jcn(t.value0.value0)))))(function(){return bd({ecs:n.ecs,genderOption:n.genderOption,gpa:n.gpa,redirectUrlOverride:n.redirectUrlOverride,satMath:n.satMath,satVerbal:n.satVerbal,chancingIsLoading:!1})});if(t instanceof Qt)return bd(n);throw new Error("Failed pattern match at Guidance.LiteChancingCta (line 157, column 21 - line 183, column 15): "+[t.constructor.name])}}},Nye=b3,Ycn=function(e){return function(n){return ce([Zb("t--lite-chancing-mobile-and-left-sidebar-extracurriculars d-flex"+(" flex-row justify-content-between align-items-center "+e.className))([jcn("mt-3")("Extracurriculars"),DH("")(vn(Si(n.ecActivities))(yH("t--lite-chancing-mobile-and-left-sidebar-add-ec")(Ls("Add extracurriculars"))({href:"#",onClick:Ncn(function(t){return function(){return Pcn(t)(),n.onStartEditing(t)}})})("+ add")))]),Zb("mt-0 pb-3 mb-2")(gH(n.ecActivities)(function(t){return kcn("badge badge-soft-secondary bg-secondary-soft small mr-1"+(" t--lite-chancing-cta-left-sidebar-add-criteria-"+M_(tv(t))))(Y(Ocn(tv(t))))})),vn(Ucn(Si)(n.ecActivities))(DH("card bg-white border-dashed")(Zb("card-body "+e.className)([Y("To add more ECs & see chances for 1,500 schools, "),yH("t--lite-chancing-mobile-and-left-sidebar-create-a-profile")(Fr)({href:Ee(Nye)(e.redirectUrlOverride)})("create a full profile")]))),kI("mb-2")("")])}};var Pye=function(e){return function(n){return function(t){return t({redirectUrl:Ee(Nye)(e.redirectUrlOverride),ecSelector:function(a){return dye({extracurriculars:e.ecs,compactView:!0,onChange:function(r){return function(){return n(new at(new wye(r)))(),a.onChange()}},maxActivities:new d(1),defaultView:new d(Ycn({redirectUrlOverride:e.redirectUrlOverride,className:a.className})),featureFlags:{showGenerateEcDescription:!1}})},genderDropdown:function(a){return w3("t--lite-chancing-cta-gender gender-dropdown w-100")({toggleClass:"btn btn-outline-secondary mw-100 text-truncate "+a.className,toggleContent:Y(Fye(e.genderOption)),contentId:"gender-dropdown-options-1",content:function(r){return Hcn(r.className+" dropdown-menu shadow")({id:r.contentId})(gH(qcn)(function(o){return Bcn("hover-bg-light")(yH("btn btn-link text-body d-block text-left t--lite-chancing-cta-gender-option")(Fr)({onClick:gx(function(){return n(new at(new Eye(o)))(),a.onChange()})})(Fye(o)))}))},ariaLabelInput:Ls("Gender dropdown")})},gpaSlider:function(a){return Vcn({gpa:e.gpa,className:a.className,onChange:SH(n)(function(r){return at.create(Sye.create(r))}),onFinalChange:gx(function(){return n(new at(tD.value))(),a.onChange()}),label:a.label(e.gpa)})},requestChances:n(new at(tD.value)),satMathScoreSlider:function(a){return Aye({score:e.satMath,onChange:SH(n)(function(r){return at.create(Cye.create(r))}),onFinalChange:gx(function(){return n(new at(tD.value))(),a.onChange()}),label:a.label(Br(e.satMath)),className:a.className,ariaLabelPartial:"math"})},satVerbalScoreSlider:function(a){return Aye({score:e.satVerbal,onChange:SH(n)(function(r){return at.create(Iye.create(r))}),onFinalChange:gx(function(){return n(new at(tD.value))(),a.onChange()}),label:a.label(Br(e.satVerbal)),className:a.className,ariaLabelPartial:"verbal"})}})}}};var CH=function(){function e(){}return e.value=new e,e}(),IH=function(){function e(){}return e.value=new e,e}(),TH=function(){function e(){}return e.value=new e,e}(),FH=function(){function e(){}return e.value=new e,e}(),MH=function(){function e(){}return e.value=new e,e}();var aD=function(e){if(e instanceof CH)return"much lower than average";if(e instanceof IH)return"lower than average";if(e instanceof TH)return"about average";if(e instanceof FH)return"above average";if(e instanceof MH)return"among the highest";throw new Error("Failed pattern match at Common.Quintile (line 28, column 15 - line 33, column 28): "+[e.constructor.name])},Rd=function(e){if(e<.2)return CH.value;if(e<.4)return IH.value;if(e<.6)return TH.value;if(e<.8)return FH.value;if(xe)return MH.value;throw new Error("Failed pattern match at Common.Quintile (line 19, column 1 - line 19, column 37): "+[e.constructor.name])};var Xcn=g0(W)()(),Zcn=Z(J),Kcn=Mr(W)()(),esn=la(pr),GH=ta(L),nsn=K(jv),tsn=z(em),kye=B(W),Oye=gu(L),Uye=B(ae),asn=_i(ae)()(),rsn=en(L),osn=en(W),Hye=B(L);var isn=gr($a),usn=function(e){return function(n){var t=function(a){if(n instanceof _N)return Xcn(a)(Fr)({href:ole(Zcn(n.value0)(function(r){return{slug:r.slug,tab:Zi.value}}))});if(n instanceof Zue)return Kcn(a)(Fr)({onClick:esn(n.value0)});throw new Error("Failed pattern match at SchoolDetails.Utils (line 158, column 15 - line 166, column 46): "+[n.constructor.name])};return t(e)([GH("material-symbol mr-2")("tune"),Y(" Simulate chances")])}},Bye=usn("btn btn-outline-primary d-flex align-items-center justify-content-center px-4"),wd=function(e){var n=B(e);return function(t){var a=B(t);return function(r){return ce(JD(nsn(r)(function(o){return tsn([kye("row align-items-center")([n("col text-nowrap")(o.title),a("col-auto font-weight-semibold")(o.value)]),Ba("")])})))}}},rD=function(e){return B(e)("t--subtitle")},lsn=rD(W),Kb=function(e){var n=Jh(e);return function(t){return function(a){return lsn([ce(n(t)),Y(" "),Oye("text-secondary")(a)])}}},Jye=function(e){var n=B(e);return function(t){return function(a){return function(r){return kye("row "+a)([Uye("col-auto")(GH(r+(" fe large fe-"+t.icon))("")),n("col pl-0")(t.body)])}}}},AH=function(e){var n=Jye(e);return function(t){return n(t)("mb-3")("")}},Wye=function(e){var n=Jye(e);return function(t){return n(t)("mb-4")("text-secondary font-weight-bold fw-bold")}},qye="bg-very-light-grey d-inline-block rounded-pill border small mr-2 mb-2 py-2 px-3",OI=function(e){return function(n){return Uye(qye)(asn({placement:Us,overlay:rsn("text-secondary")(n),overlayStyle:fn({width:"15rem"})})(osn("d-inline-flex align-items-center")([Y(e),GH("d-inline-block fe fe-help-circle ml-2 text-secondary")("")])))}},pl=Hye(qye);var Xa=function(e){return Hye("x-large "+e)};var Rx=function(e){if(e.totalUndergrads<200)return"fewer than 200";if(xe)return Fs(isn(e.totalUndergrads)(100)*100|0);throw new Error("Failed pattern match at SchoolDetails.Utils (line 140, column 1 - line 140, column 71): "+[e.constructor.name])};var wx=Oye("text-secondary ml-2")(` Our calculator evaluates your profile like the way an admissions officer does \u2014 first, minimum academic requirements based on your demographic, then a holistic review. `);var csn=ta(ae),ssn=g0(ae)()(),eR=function(){function e(){}return e.value=new e,e}(),xH=function(){function e(){}return e.value=new e,e}(),UI=function(){function e(){}return e.value=new e,e}(),N0=function(e){return function(n){var t=function(o){return csn("fe fe-external-link "+o)(un)},a=OM(n),r=Ee(a.siteName)(e.text);return ssn(e.className)(Ls(r))({href:a.url,target:"_blank",rel:"noopener"})(function(){if(e.icon instanceof eR)return Y(r);if(e.icon instanceof xH)return ce([t("mr-1 large"),Y(r)]);if(e.icon instanceof UI)return ce([Y(r),t("ml-1")]);throw new Error("Failed pattern match at SchoolDetails.Website (line 26, column 5 - line 29, column 61): "+[e.icon.constructor.name])}())}},zye=function(){return N0({className:"text-body mt-1 d-inline-block",icon:eR.value,text:C.value})}();var psn=B(W),_sn=xa(L)()(),NH=function(e){return e.chancing.endorsed?un:psn("my-1 ml-1 small text-gray-800")([Y("Chancing is not endorsed by "),Y(e.name),Y("."),Je(e.chancing.moreInfoLink)(function(n){return ce([Y(" If interested in applying, learn more about "),_sn("")({href:n})("how to prepare ")])})])};var PH=Z(J),Vye=Mr(L)()(),kH=An(_t),Ssn=Mr(ae)()(),Esn=B(W),Qye=en(L);var Sd=function(){function e(){}return e.value=new e,e}(),nR=function(){function e(){}return e.value=new e,e}(),tR=function(){function e(){}return e.value=new e,e}(),Ed=function(){function e(){}return e.value=new e,e}(),aR=function(){function e(){}return e.value=new e,e}(),rR=function(){function e(){}return e.value=new e,e}(),oR=function(){function e(){}return e.value=new e,e}(),iR=function(){function e(){}return e.value=new e,e}(),Cd=function(){function e(){}return e.value=new e,e}(),Yye={to:function(e){if(e instanceof H)return Sd.value;if(e instanceof p&&e.value0 instanceof H)return nR.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof H)return tR.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof H)return Ed.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof H)return aR.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0 instanceof H)return rR.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0 instanceof H)return oR.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0 instanceof H)return iR.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0 instanceof p)return Cd.value;throw new Error("Failed pattern match at Sem.SchoolDetails.Edit.Section (line 53, column 1 - line 53, column 34): "+[e.constructor.name])},from:function(e){if(e instanceof Sd)return new H(fe.value);if(e instanceof nR)return new p(new H(fe.value));if(e instanceof tR)return new p(new p(new H(fe.value)));if(e instanceof Ed)return new p(new p(new p(new H(fe.value))));if(e instanceof aR)return new p(new p(new p(new p(new H(fe.value)))));if(e instanceof rR)return new p(new p(new p(new p(new p(new H(fe.value))))));if(e instanceof oR)return new p(new p(new p(new p(new p(new p(new H(fe.value)))))));if(e instanceof iR)return new p(new p(new p(new p(new p(new p(new p(new H(fe.value))))))));if(e instanceof Cd)return new p(new p(new p(new p(new p(new p(new p(new p(fe.value))))))));throw new Error("Failed pattern match at Sem.SchoolDetails.Edit.Section (line 53, column 1 - line 53, column 34): "+[e.constructor.name])}},Xye=function(e){return!(e instanceof Cd)},OH=function(e){if(e instanceof Sd)return"Basic Info";if(e instanceof tR)return"Admissions";if(e instanceof Ed)return"Costs";if(e instanceof aR)return"Enrollment";if(e instanceof rR)return"Application Requirements";if(e instanceof oR)return"Academic Offerings";if(e instanceof iR)return"Chancing";if(e instanceof nR)return"Header Image";if(e instanceof Cd)return"Message from the College";throw new Error("Failed pattern match at Sem.SchoolDetails.Edit.Section (line 148, column 16 - line 157, column 40): "+[e.constructor.name])},qI=function(e){if(e instanceof Sd)return"basic";if(e instanceof tR)return"admissions";if(e instanceof Ed)return"costs";if(e instanceof aR)return"enrollment";if(e instanceof rR)return"admission-requirements";if(e instanceof oR)return"academic-offerings";if(e instanceof iR)return"chancing";if(e instanceof nR)return"header-image";if(e instanceof Cd)return"message-from-college";throw new Error("Failed pattern match at Sem.SchoolDetails.Edit.Section (line 160, column 13 - line 169, column 36): "+[e.constructor.name])},UH=function(e){return Ls("Edit "+OH(e))},Zye=function(e){return function(n){return function(t){return PH(e)(function(a){return Vye("btn btn-outline-primary t--text-edit-"+qI(n))(UH(n))({onClick:kH(a)(n)})(t)})}}},Kye=function(e){return function(n){return PH(e)(function(t){return Ssn("btn btn-outline-primary t--edit-"+qI(n))(UH(n))({onClick:kH(t)(n)})(Esn("d-flex align-content-center")([Qye("material-symbol x-large")("edit"),Qye("ml-2")("Edit")]))})}},di=function(e){return function(n){return PH(e)(function(t){return Vye("btn btn-link p-0 material-symbol x-large t--edit-"+qI(n))(UH(n))({onClick:kH(t)(n)})("edit")})}};var Csn=_e(xt(QK)),Isn=Bn(Mn)(Le),Tsn=Xr(Fo),Fsn=uc(Te)(k2),ebe=K(Le),Msn=z(On),hv=B(W),nbe=It(L),Gsn=gu(L),tbe=en(L),abe=B(ae),rbe=Yn(L)()(),Asn=ta(L),xsn=Zn(L),Lsn=N(ge),HH=function(e){var n=Csn(e.school.appGroup)(new d(XK)),t=function(){if(e.school.admissions.reqClassRank instanceof C||e.school.admissions.reqClassRank instanceof d&&e.school.admissions.reqClassRank.value0 instanceof fi)return!1;if(e.school.admissions.reqClassRank instanceof d&&e.school.admissions.reqClassRank.value0 instanceof Ml||e.school.admissions.reqClassRank instanceof d&&e.school.admissions.reqClassRank.value0 instanceof Cc)return!0;throw new Error("Failed pattern match at SchoolDetails.Overview.Applications (line 61, column 26 - line 65, column 28): "+[e.school.admissions.reqClassRank.constructor.name])}(),a=Ee(Ml.value)(e.school.admissions.reqStandardTests),r=ce([ma(Isn(Tsn(Fsn(a)([Ml.value,Cc.value])))(function(){return ebe(e.school.admissions.fracSubmittedSat)(function(o){return ebe(e.school.admissions.fracSubmittedAct)(function(i){return Msn(hv("row mb-4")([hv("col-12 text-nowrap mb1")([hv("d-flex align-items-center mb-4")([nbe("mr-2 mb-0")("Tests typically submitted"),Gsn("")(` If there is a significant gap between the number of students submitting one test vs. another, submitting the more common test might give you a very slight chancing boost. Note: some students may submit both or neither test. `)]),hv("")([Y("SAT: "),tbe("font-weight-semibold")(La(o))]),abe("progress progress-md mt-3 mt-2")(rbe("progress-bar")({style:fn({width:iE(o)})})("")),Ba(""),hv("")([Y("ACT: "),tbe("font-weight-semibold")(La(i))]),abe("progress progress-md mt-3")(rbe("progress-bar")({style:fn({width:iE(i)})})(""))])]))})})})),hv("d-flex align-items-center")([Asn("fe fe-info large pr-2")(""),hv("")([Y(" Policies can change. Please confirm by looking at "),N0({className:"",icon:eR.value,text:new d("this school\u2019s website.")})(e.school.urls.main)])])]);return hv("card")([hv("card-body")([hv("d-flex align-items-center justify-content-between mb-4")([xsn("my-0 mr-3 flex-grow-1")("Applications"),ma(di(e.onEdit)(rR.value))]),nbe("mb-4")("How to apply"),hv("mb-4")(Lsn(pl)([function(){return n?"Accepts Common App":"Doesn\u2019t accept Common App"}(),Pee(a),function(){var o=Ee(Ml.value)(e.school.admissions.reqRecLetters);if(o instanceof fi)return"Rec letters not used";if(o instanceof Ml)return"Rec letters optional";if(o instanceof Cc)return"Rec letters required";throw new Error("Failed pattern match at SchoolDetails.Overview.Applications (line 42, column 9 - line 45, column 45): "+[o.constructor.name])}(),function(){return t?"Considers class rank":"Doesn\u2019t consider class rank"}(),function(){var o=Ee(Ml.value)(e.school.admissions.reqToefl);if(o instanceof fi)return"TOEFL not used (international applicants)";if(o instanceof Ml)return"TOEFL optional (international applicants)";if(o instanceof Cc)return"TOEFL required (international applicants)";throw new Error("Failed pattern match at SchoolDetails.Overview.Applications (line 49, column 9 - line 52, column 66): "+[o.constructor.name])}()])),r])])},obe=function(e){return HH(e)};var ibe=gr($a),jsn=Jo(w6()(KT({reflectSymbol:function(){return"p25"}})()(KT({reflectSymbol:function(){return"p75"}})()(R6)(Yu))(Yu))),Wi=B(W),Id=B(ae),ube=It(L),gv=Vn(L),lbe=qn(Pa),cbe=N(J),Sx=Is(L),Nsn=function(e){return ibe(e.p25+e.p75|0)(2)},sbe=function(e){if(e instanceof d)return La(e.value0);if(e instanceof C)return"Not Reported";throw new Error("Failed pattern match at SchoolDetails.AdmissionRequirements (line 131, column 37 - line 133, column 28): "+[e.constructor.name])},BH=function(e){return Ih(",")("")(e)},uR=function(e){if(e instanceof d)return BH(Fs(e.value0.p25)+(" - "+Fs(e.value0.p75)));if(e instanceof C)return"Not Reported";throw new Error("Failed pattern match at SchoolDetails.AdmissionRequirements (line 136, column 33 - line 138, column 28): "+[e.constructor.name])},Psn=function(e){return function(n){return Nsn(jsn(e)(n))}},ksn=function(e){return function(n){return{p25:e.p25+n.p25|0,p75:e.p75+n.p75|0}}},Osn=ce([Wi("row")([Id("col-12 col-md-7")(Ir(L)("my-5")("Wondering your admission chance to this school? Calculate your chance now")),Id(" col-12 col-md-5 my-4")(FG()({text:"Calculate your admission chance",className:"btn btn-primary btn-block"}))])]),Usn=function(e){if(e instanceof d)return BH(Fs(ibe(e.value0.p25+e.value0.p75|0)(2)));if(e instanceof C)return"Not Reported";throw new Error("Failed pattern match at SchoolDetails.AdmissionRequirements (line 126, column 36 - line 128, column 28): "+[e.constructor.name])},Hsn=function(e){var n=function(t){return Id("card bg-white")(Wi("card-body")(t))};return Id("row")(Wi("col-12")([n([ube("")("SAT"),Wi("row")([Wi("col col-md-6")([gv("")("Average SAT "),Xa("")(BH(Oe("Not Reported")(Fs)(lbe(cbe(Psn)(e.admissions.satMath))(e.admissions.satVerbal))))]),Wi("col col-md-6")([gv("")("SAT 25th-75th"),Xa("")(uR(lbe(cbe(ksn)(e.admissions.satMath))(e.admissions.satVerbal)))])]),Wi("row")([Wi("col col-md-6")([gv("mt-5")("Students Submitting SAT"),Xa("")(sbe(e.admissions.fracSubmittedSat))])]),Wi("row")([Wi("col col-md-6")([gv("mt-5")("Math"),Sx("text-muted")("Average (25th - 75th)"),Xa("")(uR(e.admissions.satMath))]),Wi("col col-md-6")([gv("mt-5 text-nowrap")("Reading and Writing"),Sx("text-muted")("Average (25th - 75th)"),Xa("")(uR(e.admissions.satVerbal))])])]),n([ube("")("ACT"),Wi("row")([Wi("col col-md-6")([gv("")("Average ACT"),Xa("")(Usn(e.admissions.actComposite))]),Wi("col col-md-6")([gv("")("ACT 25th-75th"),Xa("")(uR(e.admissions.actComposite))])]),Id("row")(Wi("col col-md-6")([gv("mt-5")("Students Submitting ACT"),Xa("")(sbe(e.admissions.fracSubmittedAct))])),Wi("row")([Wi("col col-md-6")([gv("mt-5")("Math"),Sx("text-muted")("Average (25th - 75th)"),Xa("")(uR(e.admissions.actMath))]),Wi("col col-md-6")([gv("mt-5")("English"),Sx("text-muted")("Average (25th - 75th)"),Xa("")(uR(e.admissions.actVerbal))])])])]))},Bsn=function(e){return Id("card")(Wi("card-body")([gv("")("Acceptance Rate"),Xa("")(Oe("Not reported")(function(n){return La(function(t){return t.value}(n))})(e.admissions.acceptanceRate))]))},Jsn=function(e){return Id("row")(Id("col-12")(Bsn(e)))},fbe=function(e){return ce([Jsn(e.school),Hsn(e.school),Osn,HH(e)])};var Wsn=en(L),qsn=re(QM),JH=function(e){var n=function(t){return function(a){return Wsn("badge font-weight-bold fw-bold py-2 "+t)(a)}};if(e.strategy instanceof Ka&&e.testPolicy instanceof d&&e.testPolicy.value0 instanceof fi)return n("badge-apply-test-optional")("Test-blind admissions");if(e.testPolicy instanceof d&&e.testPolicy.value0 instanceof fi)return Lo(Qo)("Received strategy, "+(qsn(e.strategy)+", in chancing response for a test-blind school"))({})(function(t){return n("badge-apply-test-optional")("Test-blind admissions")});if(e.strategy instanceof Ka)return n("badge-apply-test-optional")("Apply test optional");if(e.strategy instanceof wr&&e.satOrigin instanceof d&&e.satOrigin.value0 instanceof K1)return n("badge-apply-with-sat")("Apply with SAT (projected from PSAT)");if(e.strategy instanceof wr)return n("badge-apply-with-sat")("Apply with SAT");if(e.strategy instanceof qr)return n("badge-apply-with-act")("Apply with ACT");throw new Error("Failed pattern match at Chancing.ApplicationStrategy (line 21, column 13 - line 37, column 51): "+[e.strategy.constructor.name,e.satOrigin.constructor.name,e.testPolicy.constructor.name])};var zsn=N(Qf),$sn=qn(Pa),Vsn=N(J),WH=B(ae),vbe=B(W),mbe=It(L),Qsn=Cs(ae)()(),qH=en(L),pbe=re(ze),_be=ta(L),Ysn=on(),dbe=Z(J),Xsn=Z(Qf);var zH=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),hbe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),$H=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),lR=function(){function e(n,t){this.value0=n,this.value1=t}return e.create=function(n){return function(t){return new e(n,t)}},e}(),cR=function(){function e(){}return e.value=new e,e}(),sR=function(){function e(){}return e.value=new e,e}(),fR=function(){function e(){}return e.value=new e,e}(),Zsn=function(e){return e};var Ex={map:function(e){return function(n){return zsn(function(t){return{regular:e(t.regular),simulated:e(t.simulated)}})(n)}}},gbe=function(e){return XS(function(n){return $sn(Vsn(function(t){return function(a){return a-t|0}})(n.regular.score))(n.simulated.score)})(e)},zI=function(e){return WH("card")(WH("card-body")(vbe("row")([WH("col-8 "+function(){return e.narrowLayout?"":"order-1"}())(mbe("")("Chancing for this school is coming soon")),vbe("col-4 order-md-0 d-flex flex-column align-items-center "+function(){return e.narrowLayout?"":"order-0"}())([Qsn("")({viewBox:"-100 -100 200 100"})(qb({center:{x:0,y:0},angle0:0,angle1:zv,innerRadius:50,outerRadius:90,fill:"#EDF2F9",stroke:{color:"#EDF2F9",width:1}})),mbe("text-muted mt-2")("N/A")])])))};var Cx=function(e){if(e instanceof zH)return new d(e.value0);if(e instanceof hbe)return _o(e.value0);if(e instanceof $H)return new d(Ee(e.value0.regular)(_o(e.value0.simulated)));throw new Error("Failed pattern match at Hub.Chancing (line 52, column 19 - line 55, column 101): "+[e.constructor.name])};var Dbe=function(e){return function(n){return function(t){if(t instanceof zt&&t.value0>0)return qH("text-success "+e)("+"+(pbe(t.value0)+"%"));if(t instanceof zt&&t.value0<0)return qH("text-danger "+e)("-"+(pbe(-t.value0|0)+"%"));if(t instanceof zt)return un;if(t instanceof Ra)return un;if(t instanceof or)return qH("spinner-border spinner-border-sm text-primary "+e)("");throw new Error("Failed pattern match at Hub.Chancing (line 177, column 51 - line 182, column 85): "+[t.constructor.name])}(gbe(n))}},ybe=function(e){return function(n){return function(t){if(t instanceof zt&&t.value0>0)return _be("fe fe-arrow-up text-success "+e)("");if(t instanceof zt&&t.value0<0)return _be("fe fe-arrow-down text-danger "+e)("");if(t instanceof zt)return un;if(t instanceof Ra)return un;if(t instanceof or)return un;throw new Error("Failed pattern match at Hub.Chancing (line 169, column 46 - line 174, column 25): "+[t.constructor.name])}(gbe(n))}},Ix=function(e){var n=function(a){return function(r){if(e.chancingState.simulation instanceof d)return new lR(e.chancingState.simulation.value0.effectiveProfile,new $H({regular:r,simulated:e.chancingState.simulation.value0.results(e.school.id)}));if(e.chancingState.simulation instanceof C)return new lR(Ysn(a),new zH(r));throw new Error("Failed pattern match at Hub.Chancing (line 117, column 7 - line 121, column 62): "+[e.chancingState.simulation.constructor.name])}},t=function(a){return Lo(Qo)("Both chancing data and profile are present, but chancing result is absent")({schoolId:e.school.id})(function(r){return fR.value})};if(!e.school.chancing.canChance)return fR.value;if(e.currentUser instanceof C||e.chancingState.permanentProfile instanceof C)return sR.value;if(e.chancingState.permanentProfile instanceof d){if(e.chancingState.chances instanceof Ra)return t(Ce);if(e.chancingState.chances instanceof or&&e.chancingState.chances.value0 instanceof C)return cR.value;if(e.chancingState.chances instanceof or&&e.chancingState.chances.value0 instanceof d)return Ee(cR.value)(dbe(e.chancingState.chances.value0.value0(e.school.id))(n(e.chancingState.permanentProfile.value0)));if(e.chancingState.chances instanceof zt)return aF(t)(dbe(e.chancingState.chances.value0(e.school.id))(n(e.chancingState.permanentProfile.value0)));throw new Error("Failed pattern match at Hub.Chancing (line 100, column 36 - line 108, column 83): "+[e.chancingState.chances.constructor.name])}throw new Error("Failed pattern match at Hub.Chancing (line 88, column 21 - line 108, column 83): "+[e.constructor.name])},Tx=function(e){return Zsn(function(n){if(n instanceof zH)return Ra.value;if(n instanceof hbe)return Ra.value;if(n instanceof $H)return Xsn(n.value0.simulated)(function(t){return{regular:n.value0.regular,simulated:t}});throw new Error("Failed pattern match at Hub.Chancing (line 154, column 29 - line 160, column 44): "+[n.constructor.name])}(e))};var Ksn=N(ge),efn=Vn(L),bbe=function(e){var n=[` At a target school, your admissions profile is similar to that of the average admitted student from your demographic background. `,` Improving either your academic or extracurricular profile will increase your admissions chances at this school. `],t=[` At a safety school, your admissions profile is much stronger than that of the average admitted student from your demographic background. `,` You have a strong admissions profile for this school. Writing strong essays and improving your profile further can help you win merit scholarships. `],a=[` At a reach school, your admissions profile is weaker than that of the average admitted student from your demographic background. `,` Improving either your academic or extracurricular profile will increase your admissions chances at this school. `],r=function(){if(e instanceof y_)return a;if(e instanceof rg||e instanceof og)return n;if(e instanceof ig)return t;throw new Error("Failed pattern match at SchoolDetails.Chancing.Classification (line 17, column 18 - line 21, column 38): "+[e.constructor.name])}();return ce(Ksn(efn(""))(r))};var vR=B(ae),VH=ta(L),nfn=Yn(L)()(),tfn=gr($a),afn=Nt(Ur),rfn=qn(Pa),ofn=N(J),QH=B(W),ifn=en(W),ufn=en(L),lfn=Mr(W)()(),cfn=la(pr),mR=vR("col-auto")(g0(W)()()("")(Fr)({href:Km})([VH("fe fe-edit-2")(""),Y(" edit")])),pR=function(e){if(e instanceof Tm)return"success";if(e instanceof Fm)return"primary";if(e instanceof Zf)return"warning";if(e instanceof Oc)return"secondary";throw new Error("Failed pattern match at SchoolDetails.Chancing.Common (line 109, column 17 - line 113, column 28): "+[e.constructor.name])},iD=function(e){return function(n){return function(t){return vR("progress progress-"+e)(nfn("progress-bar bg-"+n)({style:fn({width:iE(t)})})(""))}}},Rbe=function(e){var n=function(t){return function(a){return tfn(t+a|0)(2)}};return{p25:e.p25,p75:e.p75,p50:afn(e.p50)(rfn(ofn(n)(e.p25))(e.p75))}},Td=function(e){return function(n){var t=pR(n),a=function(r){return function(o){return QH("d-flex large font-weight-bold fw-bold mb-3")([VH("mr-3 fe fe-"+(o+(" text-"+t)))(""),ifn("")([Y(e),ufn("text-"+t)(" \u2013 "+r)])])}};if(n instanceof Tm)return a("above average")("check-circle");if(n instanceof Fm)return a("about average")("thumbs-up");if(n instanceof Zf)return a("below average")("trending-down");if(n instanceof Oc)return a("N/A")("refresh-ccw");throw new Error("Failed pattern match at SchoolDetails.Chancing.Common (line 91, column 3 - line 95, column 45): "+[n.constructor.name])}},YH=function(e){if(e.expanded){var n=lfn("btn btn-link px-0 t--show-less")(Fr)({onClick:cfn(e.onCollapse)})([Y("show less "),VH("fe fe-chevron-up")("")]);return vR("card bg-very-light-grey mt-3")(QH("card-body "+e.card.testClass)([QH("row")([vR("col")(e.card.title),vR("col-auto d-none d-md-block")(n)]),e.card.content,vR("d-md-none d-flex justify-content-end mt-3")(n)]))}if(xe)return e.card.title;throw new Error("Failed pattern match at SchoolDetails.Chancing.Common (line 41, column 1 - line 41, column 89): "+[e.constructor.name])},wbe=function(e){return gt(e.p25)&>(e.p50)&>(e.p75)};var Sbe=B(W),Ebe=B(L),Cbe=Vn(W),Ibe=Ea(L),sfn=re(ze),ffn=xa(L)()(),Tbe=function(e){return function(n){var t=Sbe("row mb-2")([Ebe("col-auto pr-0 large")("Your coursework"),vn(e.showUpdateLinks)(mR)]),a=Cbe("")([Y("Coursework rigor is "),Ibe("")("very important"),Y(` for your admissions chances. Admissions officers will evaluate your coursework based on the classes available at your school, so don\u2019t worry if few or no AP or Honors classes are offered. `)]),r=function(u){return function(l){return ce([Ibe("")(sfn(Ee(0)(u))),Y(" "+(l+" "))])}},o=Ebe("mb-3 large font-weight-bold fw-bold text-"+pR(n.chances.courseRigorStrength))(function(){if(n.chances.courseRigorStrength instanceof Oc)return"";if(n.chances.courseRigorStrength instanceof Zf)return"Your coursework is below average for this school";if(n.chances.courseRigorStrength instanceof Fm)return"Your coursework is about average for this school";if(n.chances.courseRigorStrength instanceof Tm)return"Your coursework is above average for this school";throw new Error("Failed pattern match at SchoolDetails.Chancing.CourseRigor (line 44, column 9 - line 48, column 82): "+[n.chances.courseRigorStrength.constructor.name])}()),i=Cbe("mb-0")([Y("Read about what "),ffn("")({href:"https://blog.collegevine.com/category/academics/choosing-classes/",target:"_blank"})("courses you should take"),Y(".")]);return{title:Td("Coursework")(n.chances.courseRigorStrength),testClass:"t--course-rigor",content:ce([t,Sbe("")([r(n.chancingProfile.courseRigor.ap)("AP / IB classes + "),r(n.chancingProfile.courseRigor.honors)("Honors classes + "),r(n.chancingProfile.courseRigor.collegeClasses)("College course taken at a local four-year or community college = ")]),o,a,i])}}};var tu=function(){function e(){}return e.value=new e,e}(),au=function(){function e(){}return e.value=new e,e}(),Fbe={show:function(e){if(e instanceof tu)return"SAT";if(e instanceof au)return"ACT";throw new Error("Failed pattern match at Chancing.Guidance.Types.StandardizedTest (line 14, column 1 - line 16, column 19): "+[e.constructor.name])}};var Mbe=function(e){if(e instanceof tu)return au.value;if(e instanceof au)return tu.value;throw new Error("Failed pattern match at Chancing.Guidance.Types.StandardizedTest (line 24, column 1 - line 24, column 46): "+[e.constructor.name])};var vfn=Hr(Te)(ft),Gbe=function(){function e(){}return e.value=new e,e}(),Abe=function(){function e(){}return e.value=new e,e}(),xbe=function(e){return function(n){var t=function(){if(e instanceof Gbe)return"and";if(e instanceof Abe)return"or";throw new Error("Failed pattern match at Utils.Text (line 26, column 24 - line 28, column 19): "+[e.constructor.name])}(),a=XQ(n);return a.init.length===0?a.last:a.init.length===1?a.init[0]+(" "+(t+(" "+a.last))):vfn(", ")(a.init)+(", "+(t+(" "+a.last)))}},Lbe=function(){return xbe(Gbe.value)}(),jbe=function(){return xbe(Abe.value)}();var Zs=oa(Te)(ft),Nbe=N(sm),Wu=re(ze),ru=z(On),Fx=re(nj),Mx=tm()(),Pbe=Ri({reflectSymbol:function(){return"math"}}),Dv=as(ze),kbe=as($i),yv=re(Mx(Ri({reflectSymbol:function(){return"act"}})(Ri({reflectSymbol:function(){return"courseRigor"}})(Ri({reflectSymbol:function(){return"ecActivities"}})(Ri({reflectSymbol:function(){return"ecScore"}})(Ri({reflectSymbol:function(){return"gpa"}})(Ri({reflectSymbol:function(){return"psatPredictedCompositeSAT"}})(ts({reflectSymbol:function(){return"sat"}})(Mx(Pbe(ts({reflectSymbol:function(){return"readingWriting"}})(Dv))(Dv))))(Dv))(kbe))(kbe))(wl(pj)))(Mx(Ri({reflectSymbol:function(){return"ap"}})(Ri({reflectSymbol:function(){return"collegeClasses"}})(ts({reflectSymbol:function(){return"honors"}})(Dv))(Dv))(Dv))))(Mx(Ri({reflectSymbol:function(){return"english"}})(Pbe(Ri({reflectSymbol:function(){return"reading"}})(ts({reflectSymbol:function(){return"science"}})(Dv))(Dv))(Dv))(Dv))))),uD=re(Fbe),mfn=_ae(Gw)(VM),Fd=re(aj),_R=_e(tj(X1)),Obe=re(Dv),Gx=Z(J),pfn=xa(L)()(),_fn=It(L),dfn=Vn(ae),hfn=Vn(W),gfn=Ea(L),Dfn=function(e){return e},yfn=function(e){return e},XH=function(e){if(e instanceof tu)return wr.value;if(e instanceof au)return qr.value;throw new Error("Failed pattern match at SchoolDetails.Chancing.Guidance (line 551, column 18 - line 553, column 22): "+[e.constructor.name])},bfn=function(e){if(e instanceof wr)return"with SAT";if(e instanceof qr)return"with ACT";if(e instanceof Ka)return"with a test-optional application";throw new Error("Failed pattern match at SchoolDetails.Chancing.Guidance (line 545, column 17 - line 548, column 58): "+[e.constructor.name])},$I=function(e){return function(n){return Zs(["Your simulated chances of admission ",Lbe(Nbe(bfn)(eY(e)(n)))," are very close."])}},Ube=60,bv=function(e){return function(n){return Lo(Qo)("SchoolDetails.Chancing.Guidance: Invalid state: "+e)(n)(function(t){return C.value})}},Hbe=3,VI=gu(L)("text-secondary ml-1")(Zs(["If your SAT or ACT scores fall within ",Wu(Ube)," points of the 25th percentile score (SAT) or ",Wu(Hbe)," points of the 25th percentile score (ACT)"," for accepted students at a given college,"," then you should go ahead and submit them."])),Ax=function(e){return ce([Y(Zs([$I(Ka.value)(gh(XH(e.standardizedTest)))," But because your score ",Wu(e.actualScore)," is ",function(){if(e.recommendedStrategy instanceof wr||e.recommendedStrategy instanceof qr)return"higher";if(e.recommendedStrategy instanceof Ka)return"lower";throw new Error("Failed pattern match at SchoolDetails.Chancing.Guidance (line 490, column 7 - line 493, column 37): "+[e.recommendedStrategy.constructor.name])}()," than ",Wu(e.guidanceScore)])),VI,Y(Zs([", we recommend you apply ",function(){if(e.recommendedStrategy instanceof wr)return"with SAT";if(e.recommendedStrategy instanceof qr)return"with ACT";if(e.recommendedStrategy instanceof Ka)return"test-optional";throw new Error("Failed pattern match at SchoolDetails.Chancing.Guidance (line 500, column 7 - line 503, column 45): "+[e.recommendedStrategy.constructor.name])}(),"."]))])},Rfn=function(e){return function(n){return function(t){return function(a){var r=hj(n),o=F_(n);if(e instanceof d0&&e.value0 instanceof Im&&r instanceof d&&o instanceof d)return ru({title:"Applying test-optional should be best for you",body:ce([Y(Zs([$I(Ka.value)(o1(wr.value)([qr.value]))," But because your SAT score ",Wu(r.value0)," is lower than ",Wu(t)])),VI,Y(Zs([" and your ACT score ",Wu(o.value0)," is lower than ",Wu(a)])),VI,Y(", we recommend you apply test-optional.")])});if(e instanceof d0&&e.value0 instanceof Im)return bv("\u2018Apply test optional too close with SAT + ACT\u2019 recommended but not both tests reported.")({guidance:Fx(e),profile:yv(n)});if(e instanceof d0&&r instanceof C&&o instanceof C)return bv("\u2018Apply test optional too close with\u2026\u2019 recommended but no other tests reported.")({guidance:Fx(e),profile:yv(n)});if(e instanceof d0&&e.value0 instanceof Yf&&r instanceof d)return ru({title:"Applying test-optional should be best for you",body:Ax({standardizedTest:tu.value,actualScore:r.value0,guidanceScore:t,recommendedStrategy:Ka.value})});if(e instanceof d0&&e.value0 instanceof Yf&&r instanceof C)return bv("\u2018Apply test optional (SAT too close)\u2019: No SAT reported.")({guidance:Fx(e),profile:yv(n)});if(e instanceof d0&&e.value0 instanceof Xf&&o instanceof d)return ru({title:"Applying test-optional should be best for you",body:Ax({standardizedTest:au.value,actualScore:o.value0,guidanceScore:a,recommendedStrategy:Ka.value})});if(e instanceof d0&&e.value0 instanceof Xf&&o instanceof C)return bv("\u2018Apply test optional (ACT too close)\u2019: No ACT reported.")({guidance:Fx(e),profile:yv(n)});if(e instanceof fE&&r instanceof C&&o instanceof C)return ru({title:"Applying test-optional should be best for you",body:Y(Zs(["You\u2019re good to apply without a test score."," If you later decide to take a test, a score of ",Wu(t),"+ for SAT or ",Wu(a),"+ for ACT will make your chance higher at this school."]))});if(e instanceof fE)return ru({title:"Applying test-optional should be best for you",body:Y(Zs(["Your simulated chances of admission with a test-optional"," application are significantly higher than with ",function(){if(r instanceof d&&o instanceof d)return"SAT and ACT";if(r instanceof d&&o instanceof C)return"SAT";if(r instanceof C&&o instanceof d)return"ACT";if(r instanceof C&&o instanceof C)return fc("SchoolDetails.Chancing.Guidance: No tests reported.");throw new Error("Failed pattern match at SchoolDetails.Chancing.Guidance (line 182, column 13 - line 191, column 86): "+[r.constructor.name,o.constructor.name])}(),"."]))});throw new Error("Failed pattern match at SchoolDetails.Chancing.Guidance (line 94, column 3 - line 194, column 10): "+[e.constructor.name,r.constructor.name,o.constructor.name])}}}},wfn=function(e){return function(n){return function(t){return function(a){var r=function(f){return"Applying with "+(uD(f)+" should be best for you")},o=function(f){return ce([Y(Zs([Bv($I)(function(){return f.includeTestOptional?new Ue(Ka.value,o1(wr.value)([qr.value])):new Ue(XH(f.stronger.test),Nbe(XH)(gh(f.weaker.test)))}())," But because your ",uD(f.stronger.test)," score ",Wu(f.stronger.actualScore)," is higher than ",Wu(f.stronger.guidanceScore)])),VI,Y(Zs([" and your ",uD(f.weaker.test)," score ",Wu(f.weaker.actualScore)," is lower than ",Wu(f.weaker.guidanceScore)])),VI,Y(Zs([", we recommend you apply with ",uD(f.stronger.test),"."]))])},i=hj(n),u=F_(n),l=function(f){return function(v){return mfn(o1(f)([v]))}},c=function(f){return"Your simulated chances of admission with "+(uD(f)+(" are significantly higher than with a test-optional"+(" application and with "+(uD(Mbe(f))+"."))))},s=function(f){return Y("Your simulated chances of admission with "+(uD(f)+" are significantly higher than with a test-optional application."))};if(e instanceof kc&&e.value0 instanceof Im&&i instanceof d&&u instanceof d)return ru({title:"You can apply with either SAT or ACT, or submit both of them",body:Y(Wr(" ")([$I(Ka.value)(o1(wr.value)([qr.value])),` We recommend you submit the score with a higher percentile. If they have the same percentile, submit the one you took fewer attempts. If you\u2019ve taken both exams the same number of times, use the exam where your strongest score was achieved earliest. `]))});if(e instanceof kc&&e.value0 instanceof Im)return bv("\u2018Apply with tests: SAT + ACT + test-optional too close\u2019 recommended but not both tests reported.")({guidance:Fd(e),profile:yv(n)});if(e instanceof Gs&&e.value0 instanceof Im&&i instanceof d&&u instanceof d)return ru({title:"You can apply with either SAT or ACT, or submit both of them",body:Y(Wr(" ")([$I(wr.value)(gh(qr.value)),` We recommend you submit the score with a higher percentile. If they have the same percentile, submit the one you took fewer attempts. If you\u2019ve taken both exams the same number of times, use the exam where your strongest score was achieved earliest. `]))});if(e instanceof Gs&&e.value0 instanceof Im)return bv("\u2018Apply with tests: SAT + ACT too close\u2019 recommended but not both tests reported.")({guidance:Fd(e),profile:yv(n)});if(e instanceof kc&&i instanceof C&&u instanceof C)return bv("\u2018Apply with tests: [test] strongest (test-optional and [test] too close)\u2019 recommended but no tests reported.")({guidance:Fd(e),profile:yv(n)});if(e instanceof kc&&e.value0 instanceof Yf&&i instanceof d&&_R(e.value1)(Z1(Ka.value)))return ru({title:r(tu.value),body:Ax({standardizedTest:tu.value,actualScore:i.value0,guidanceScore:t,recommendedStrategy:wr.value})});if(e instanceof kc&&e.value0 instanceof Xf&&u instanceof d&&_R(e.value1)(Z1(Ka.value)))return ru({title:r(au.value),body:Ax({standardizedTest:au.value,actualScore:u.value0,guidanceScore:a,recommendedStrategy:qr.value})});if(e instanceof kc&&e.value0 instanceof Yf&&i instanceof d&&u instanceof d&&_R(e.value1)(l(qr.value)(Ka.value)))return ru({title:r(tu.value),body:o({stronger:{test:tu.value,actualScore:i.value0,guidanceScore:t},weaker:{test:au.value,actualScore:u.value0,guidanceScore:a},includeTestOptional:!0})});if(e instanceof kc&&e.value0 instanceof Xf&&i instanceof d&&u instanceof d&&_R(e.value1)(l(wr.value)(Ka.value)))return ru({title:r(au.value),body:o({stronger:{test:au.value,actualScore:u.value0,guidanceScore:a},weaker:{test:tu.value,actualScore:i.value0,guidanceScore:t},includeTestOptional:!0})});if(e instanceof kc&&e.value0 instanceof Yf&&i instanceof d&&u instanceof d&&_R(e.value1)(Z1(qr.value)))return ru({title:r(tu.value),body:o({stronger:{test:tu.value,actualScore:i.value0,guidanceScore:t},weaker:{test:au.value,actualScore:u.value0,guidanceScore:a},includeTestOptional:!1})});if(e instanceof kc&&e.value0 instanceof Xf&&i instanceof d&&u instanceof d&&_R(e.value1)(Z1(wr.value)))return ru({title:r(au.value),body:o({stronger:{test:au.value,actualScore:u.value0,guidanceScore:a},weaker:{test:tu.value,actualScore:i.value0,guidanceScore:t},includeTestOptional:!1})});if(e instanceof kc)return bv(Zs(["\u2018Apply with tests: \u2026 too close\u2019: Unknown state:"," guidance: ",Fd(e),", SAT: ",Obe(i),", ACT: ",Obe(u),", SAT guidance: ",Wu(t),", ACT guidance: ",Wu(a)]))({guidance:Fd(e),profile:yv(n)});if(e instanceof Gs&&i instanceof C&&u instanceof C)return bv("\u2018Apply with tests: [test] strongest\u2019 recommended but no tests reported.")({guidance:Fd(e),profile:yv(n)});if(e instanceof Gs&&e.value0 instanceof Yf&&i instanceof d&&u instanceof d)return ru({title:r(tu.value),body:Y(c(tu.value))});if(e instanceof Gs&&e.value0 instanceof Xf&&i instanceof d&&u instanceof d)return ru({title:r(au.value),body:Y(c(au.value))});if(e instanceof Gs&&e.value0 instanceof Yf&&i instanceof d&&u instanceof C)return ru({title:r(tu.value),body:s(tu.value)});if(e instanceof Gs&&e.value0 instanceof Yf&&i instanceof C&&u instanceof d)return bv("\u2018Apply with tests: SAT strongest\u2019 recommended but ACT test reported.")({guidance:Fd(e),profile:yv(n)});if(e instanceof Gs&&e.value0 instanceof Xf&&i instanceof C&&u instanceof d)return ru({title:r(au.value),body:s(au.value)});if(e instanceof Gs&&e.value0 instanceof Xf&&i instanceof d&&u instanceof C)return bv("\u2018Apply with tests: ACT strongest\u2019 recommended but SAT reported.")({guidance:Fd(e),profile:yv(n)});throw new Error("Failed pattern match at SchoolDetails.Chancing.Guidance (line 207, column 3 - line 390, column 59): "+[e.constructor.name,i.constructor.name,u.constructor.name])}}}},Sfn=function(e){return function(n){return function(t){var a=Gx(Gx(t.sat.p25)(function(o){return o-Ube|0}))(Dfn),r=Gx(Gx(t.act.p25)(function(o){return o-Hbe|0}))(yfn);if(a instanceof d&&r instanceof d){if(e instanceof rj)return Rfn(e.value0)(n)(a.value0)(r.value0);if(e instanceof oj)return wfn(e.value0)(n)(a.value0)(r.value0);throw new Error("Failed pattern match at SchoolDetails.Chancing.Guidance (line 67, column 7 - line 71, column 85): "+[e.constructor.name])}return ru({title:"We\u2019re still collecting detailed guidance data\u2026",body:ce([Y("Learn more about the "),pfn("")({href:"https://blog.collegevine.com/test-optional-coronavirus-policies"})("best test optional strategy recommendation"),Y(".")])})}}},Bbe=function(e){return function(n){return function(t){var a=Sfn(e)(n)(t);return Je(a)(function(r){return ce([_fn("")("Recommendation: "+r.title),dfn("")(r.body),function(){var o=CE(n);if(o instanceof d&&o.value0 instanceof K1)return hfn("")([gfn("")("Note:"),Y(" "),Y("Your SAT score is projected based on your PSAT score.")]);if(o instanceof d&&o.value0 instanceof pE)return un;if(o instanceof C)return un;throw new Error("Failed pattern match at SchoolDetails.Chancing.Guidance (line 38, column 9 - line 48, column 20): "+[o.constructor.name])}()])})}}};var Efn=Mr(W)()(),Cfn=An(_t),Jbe=_e(X_),Ifn=ta(L),Wbe=B(W),Tfn=Is(L),QI=Vn(L),qbe=It(L),Ffn=Ir(L),zbe=B(ae),Mfn=B(L),YI=function(e){var n=function(a){return Efn("btn btn-link p-0 ml-2 d-flex align-items-center")(Fr)({onClick:Cfn(a.value1)(C0(a.value0))})([Y(function(){var r=Jbe(a.value0)(er.value);return r?"show less ":"show more "}()),Ifn("fe fe-chevron-"+function(){var r=Jbe(a.value0)(er.value);return r?"up":"down"}())("")])},t=function(a){return Wbe("card-body pb-3")([Tfn("text-uppercase text-secondary")("Learn about chancing"),QI("")("Colleges evaluate profiles using both academic and holistic reasons."),qbe("my-2")("We evaluate your profile like colleges do, considering all factors."),QI("")("Most websites only consider GPA and test scores when determining what sort of applicant you are. We consider your coursework, GPA, extracurriculars, demographics, intended major, class rank, and test scores (if you have them)."),qbe("my-2")("Academics are more than just grades, which we take into account."),QI("")("Grades matter, but so does the difficulty of the classes you took. Extracurricular activities count, both in terms of what positions you have held and how you have improved your community."),Ba("border-gray-500"),Ffn("")("How does the chancing calculator help me without counting in all the holistic factors?"),QI("")("You can use it as your baseline for building school lists, improving your profile, and coming up with application strategies."),QI("")("We also have tools and resources that can assist with writing essays and improving other holistic aspects."),Je(a)(function(r){return zbe("d-flex justify-content-end")(n(r))})])};return zbe("card bg-light t--sidebar")(function(){return e.mobileLayout?w1(sa(Ya.value))(function(a){var r=ui(a);if(r instanceof Ya)return Wbe("card-body pb-3 d-flex align-items-center justify-content-between")([Mfn("small font-weight-bold fw-bold")("Learn how your chances are calculated"),n(a)]);if(r instanceof er)return t(new d(a));throw new Error("Failed pattern match at SchoolDetails.Chancing.Sidebar (line 14, column 49 - line 21, column 34): "+[r.constructor.name])}):t(C.value)}())};var $be=yn(Dn),Rv=gn($be)(pn(mn)),Vbe=dn(_n),wv=hn(Vbe),Qbe=wn(Rn),Sv=bn(Qbe),Gfn=Z(J),Afn=yf(Te),xfn=_e(As),Lfn=f0(W),jfn=H1(ae),Ybe=c0(W),ZH=B1(L),Nfn=s0(W),Pfn=Z(ge),kfn=Cl(iu),Ofn=Es(L),Ufn=Es(W),Xbe=en(L),Hfn=Es(ae),Bfn=B(W),Jfn=B(L),Wfn=function(){var e=Sn(G_)(Rv(Rv(Rv(Rv(Rv(Rv(Rv(Rv(Rv(Rv(Rv($be)(Vbe))(wv))(wv))(wv))(wv))(wv))(wv))(wv))(wv))(wv))(wv))(Sv(Sv(Sv(Sv(Sv(Sv(Sv(Sv(Sv(Sv(Sv(Qbe))))))))))))(wv),n=st(da(e));return lc(bf)(function(t){return function(a){return{tier:a,strength:1-st(t)/n}}})(e)}(),Zbe=function(e){return function(n){return function(t){var a=function(c){return Ee(0)(Gfn(Afn(function(s){return xfn(s.tier)(c)})(Wfn))(function(s){return s.strength}))},r=Lfn("table border border-light border-3")([jfn("")(Ybe("")([ZH("")("Activity"),ZH("")("Tier"),ZH("")("Strength")])),Nfn("bg-white")(Pfn(kfn(function(c){return-a(Hl(c))})(n.ecActivities))(function(c){return Ybe("")([Ofn("")(A_(c)),Ufn("")([Xbe("d-none d-md-inline")(ty(Hl(c))),Xbe("d-md-none")(fj(Hl(c)))]),Hfn("pt-4")(iD("sm")("primary")(a(Hl(c))))])}))]),o=Si(n.ecActivities),i=function(){if(o)return Oc.value;if(xe)return t.ecStrength;throw new Error("Failed pattern match at SchoolDetails.Extracurriculars (line 29, column 5 - line 31, column 39): "+[])}(),u=function(){if(i instanceof Zf)return Y("A typical student from your demographic background at this school has a stronger resume.");if(i instanceof Fm)return Y("A typical student from your demographic background at this school has a similar resume.");if(i instanceof Tm)return Y("Your resume is more impressive than that of a typical student from your demographic background at this school.");if(i instanceof Oc)return un;throw new Error("Failed pattern match at SchoolDetails.Extracurriculars (line 63, column 26 - line 71, column 16): "+[i.constructor.name])}(),l=Bfn("row mb-2")([Jfn("col-auto pr-0 font-weight-bold fw-bold")(function(){return o?"You haven't entered any extracurriculars":"Your extracurricular resume"}()),vn(e.showUpdateLinks)(mR)]);return{title:Td("Extracurriculars")(i),testClass:"t--extracurriculars",content:ce([l,vn(!o)(r),u])}}}};var XI=function(e){var n=yr(e);return n.length===0?C.value:new d(ce(n))};var Kbe=K(Le),eRe=z(On),nRe=Kb(L),qfn=Cs(W)()(),ZI=B(ae),KH=re(ze),tRe=gr($a),lD=B(W),aRe=It(L),rRe=wd(L)(L),oRe=en(L),zfn=Yn(L)()(),$fn=qn(Pa),dR=N(J),Vfn=oa(Te)(ft),Qfn=N(Cu),Yfn=on(),Xfn=Zn(L),Zfn=function(e){var n=function(t){return aD(Rd(function(a){return a.percentile}(t)))};return Kbe(e.admissions.yieldRate)(function(t){return eRe(ce([nRe("Yield rate - overall")(` Yield rates are typically higher at the most prestigious schools, and are a major factor in rankings and prestige. Compared to other schools on CollegeVine, `+(La(t.value)+(" is "+(n(t)+`. `)))),Xa("mr-1")(La(t.value))]))})},iRe=function(e){return function(n){var t=function(){if(n<=.1)return" is an extremely competitive school";if(n<=.3)return" is a very competitive school";if(n<=.5)return" is a competitive school";if(n<=.7)return" is a somewhat competitive school";if(xe)return" is less competitive than most schools";throw new Error("Failed pattern match at SchoolDetails.Overview.Admissions (line 126, column 7 - line 131, column 63): "+[])}();return e+t}},hR=function(e){var n=function(r){return function(o){return function(i){return qb({center:{x:0,y:0},angle0:r,angle1:o,innerRadius:50,outerRadius:90,fill:i,stroke:{color:"#EDF2F9",width:4}})}}},t=ma(Kbe(e.score)(function(r){var o=zv*(1-st(r)/100);return eRe(n(o)(zv)("#008CFD"))})),a=n(0)(zv)("#EDF2F9");return qfn("")({viewBox:"-100 -100 200 100"})([a,t])},Kfn=function(e){return ZI("t--admissions-website")(N0({className:"d-flex align-items-center",icon:xH.value,text:C.value})(Ee(e.urls.main)(e.urls.admissions)))},eB=function(e){var n=function(o){return function(i){var u=function(l){return KH(tRe(l(i)*100|0)(l(o)))+"%"};return lD("mb-4")([aRe("mb-4")("Acceptance rate breakdown"),rRe([{title:"Women",value:u(function(l){return l.women})},{title:"Men",value:u(function(l){return l.men})}])])}},t=function(o){return ce([aRe("mb-4")("Applicant breakdown"),rRe([{title:"Total number of applicants",value:Fs(o.value)}])])},a=function(o){var i=o.women+o.men|0,u=tRe(o.women*100|0)(i),l=KH(100-u|0)+"%",c=KH(u)+"%";return ce([lD("row mb-3")([lD("col")([Y("Women: "),oRe("font-weight-semibold")(c)]),lD("col-auto")([Y("Men: "),oRe("font-weight-semibold")(l)])]),ZI("progress progress-md bg-warning")(zfn("progress-bar")({style:fn({width:c})})(""))])},r=yr([$fn(dR(n)(e.admissions.applicants))(e.admissions.admitted),dR(t)(e.admissions.totalApplicants),dR(a)(e.admissions.applicants)]);return r.length===0?C.value:new d(ce(r))},cD=function(e){var n=function(a){if(a<=.1)return"extremely competitive";if(a<=.3)return"very competitive";if(a<=.5)return"competitive";if(a<=.7)return"somewhat competitive";if(xe)return"less competitive than most schools";throw new Error("Failed pattern match at SchoolDetails.Overview.Admissions (line 115, column 5 - line 120, column 57): "+[a.constructor.name])},t=Oe("")(function(a){return Vfn([La(a.value)," is ",n(a.value),"."])})(e.admissions.acceptanceRate);return _0(UM.value)+t},uRe=function(e){return function(n){var t=function(r){return ce([nRe("Overall acceptance rate")(cD(n)),Xa("mr-1")(La(r.value))])},a=XI([dR(ZI("row"))(XI([dR(Qfn(ZI("col-12 col-md-6 mb-4"))(t))(Yfn(n).admissions.acceptanceRate),dR(ZI("col-12 col-md-6 mb-4"))(Zfn(n))])),eB(n)]);return lD("card t--admission-stats")([lD("card-body")([lD("d-flex mb-4 align-items-center")([Xfn("mb-0 flex-grow-1")("Admissions"),ma(di(e.onEdit)(tR.value))]),Je(a)(function(r){return ce([r,Ba("")])}),Kfn(n)])])}};var $c=B(W),nB=en(L),vp=Ea(L),sD=K(Le),lRe=z(On),tB=mE(Dt),cRe=B(L),gR=re(ze),sRe=B(ae),evn=Z(J),fRe=Vn(W),nvn=Vn(L),tvn=lM(L),avn=xa(L)()(),rvn=mE(iu),aB=function(e){return function(n){return $c("row align-items-center mb-2")([$c("col-auto pr-0")([nB("mr-2")("You:"),function(){if(n.score instanceof C)return nB("text-secondary")("N/A");if(n.score instanceof d)return vp("")(n.showScore(n.score.value0));throw new Error("Failed pattern match at SchoolDetails.TestScores (line 198, column 7 - line 200, column 49): "+[n.score.constructor.name])}(),vn(n.simulated)(nB("text-muted ml-2")("(simulated)"))]),vn(e.showUpdateLinks)(mR)])}},vRe=function(e){var n=mE(e);return function(t){return function(a){var r=n(a.score)(a.percentiles);return r instanceof Zf?Je(a.percentiles.p50)(function(o){return $c("mt-3")([Y("Improving your "+(t+" can help your chances, especially if you can earn a ")),vp("")(a.showScore(o)),Y(" or higher.")])}):un}}},ovn=vRe(iu),mRe=vRe(Dt),pRe=function(e){var n=mE(e);return function(t){if(t.score instanceof C)return un;if(t.score instanceof d){var a=iD("md")(pR(n(new d(t.score.value0))(t.percentiles)))(t.normalizeScore(t.score.value0)),r=ma(sD(t.percentiles.p25)(function(o){return sD(t.percentiles.p75)(function(i){return sD(t.percentiles.p50)(function(u){return lRe(ce([$c("mb-2 mt-3")([Y("Typical accepted student: "),vp("")(t.showScore(u)),Y(" ("+(t.showScore(o)+("\u2013"+(t.showScore(i)+")"))))]),iD("md")("secondary")(t.normalizeScore(u))]))})})}));return $c("mb-2")([a,r])}throw new Error("Failed pattern match at SchoolDetails.TestScores (line 218, column 1 - line 218, column 72): "+[t.constructor.name])}},ivn=pRe(iu),_Re=pRe(Dt),dRe=$c("mt-3")([Y("Standardized tests are "),vp("")("important"),Y(" for your admissions chances.")]),xx=function(e){var n=Rbe(e.percentiles),t=tB(e.score)(n);return Ee(un)(sD(e.score)(function(a){return sD(n.p25)(function(r){return sD(n.p50)(function(o){return sD(n.p75)(function(i){return lRe($c("col-6 my-3")([cRe("large mb-2")(e.title),$c("")([Y("You: "),vp("")(gR(a))]),sRe("my-2")(iD("sm")(pR(t))(e.normalizeScore(a))),sRe("mb-2 mt-3")(iD("sm")("secondary")(e.normalizeScore(o))),$c("small")([Y("Typical accepted: "),vp("")(gR(o)),Y(" ("+(gR(r)+("\u2013"+(gR(i)+")"))))])]))})})})}))},rB=function(e){return function(n){return Ee(!1)(evn(e.chancingState.simulation)(function(t){return t.isFieldSimulated(n)}))}},oB=cRe("d-flex align-items-center mb-2 large"),uvn=function(e){return function(n){return function(t){return ce([oB("Notes on Test Optional"),fRe("")([vp("")("Our take: consider applying test optional for this school.")]),nvn("")("We ran a couple of scenarios behind the scenes and we think someone in your situation applying to this school would actually benefit from applying test optional."),vn(wbe(t.percentiles))(Je(t.percentiles.p25)(function(a){return fRe("")([Y("For reference, we estimate that the 25"),tvn("")("th"),Y(" percentile "+(n+" score at this school is ")),vp("")(t.showScore(a)),Y(". So if you\u2019re around or below this score, it would make sense to apply test optional.")])}))])}}},hRe=uvn(Dt),iB=function(e){return function(n){return $c("my-3")([Y("Read about "),avn("")({href:n,target:"_blank"})(e),Y(".")])}},gRe=function(e){return function(n){var t=$c("mt-4")([Y("GPA is "),vp("")("very important"),Y(" for your admissions chances.")]),a={score:n.chancingProfile.gpa,percentiles:n.schoolStats.gpa.all,normalizeScore:function(r){return r/4.5},showScore:__("0.00"),simulated:rB(e)(Rle.value)};return{title:Td("GPA")(rvn(a.score)(a.percentiles)),testClass:"t--gpa",content:ce([aB(e)(a),ivn(a),t,ovn("GPA")(a),iB("how to increase your GPA")("https://blog.collegevine.com/improve-your-high-school-gpa-with-these-5-strategies/")])}}},DRe=function(e){return function(n){var t=$c("row")([xx({title:"Math ",score:n.chancingProfile.sat.math,percentiles:n.schoolStats.sat.math,normalizeScore:function(u){return st(u)/800}}),xx({title:"Reading and Writing",score:n.chancingProfile.sat.readingWriting,percentiles:n.schoolStats.sat.readingWriting,normalizeScore:function(u){return st(u)/800}})]),a=Td("SAT"),r={score:T_(n.chancingProfile),percentiles:n.schoolStats.sat.all,normalizeScore:function(u){return st(u)/1600},showScore:gR,simulated:rB(e)(wle.value)},o=ce([vn(gt(r.score))(oB("SAT Composite score")),aB(e)(r),_Re(r),t,dRe,mRe("SAT score")(r),iB("how to increase your SAT score")("https://blog.collegevine.com/10-tips-to-improve-your-sat-score/")]),i=tB(r.score)(r.percentiles);return n.chances.shouldApplyTestOptional?{title:a(i),testClass:"t--sat",content:ce([hRe("SAT")(r),o])}:{title:a(i),testClass:"t--sat",content:o}}},yRe=function(e){return function(n){var t=Td("ACT"),a={score:F_(n.chancingProfile),percentiles:n.schoolStats.act.all,normalizeScore:function(u){return st(u)/36},showScore:gR,simulated:rB(e)(Sle.value)},r=$c("row")([xx({title:"Math",score:n.chancingProfile.act.math,percentiles:n.schoolStats.act.math,normalizeScore:a.normalizeScore}),xx({title:"English",score:n.chancingProfile.act.english,percentiles:n.schoolStats.act.english,normalizeScore:a.normalizeScore})]),o=ce([vn(gt(a.score))(oB("ACT Composite score")),aB(e)(a),_Re(a),r,dRe,mRe("ACT score")(a),iB("how to increase your ACT score")("https://blog.collegevine.com/10-tips-to-improve-your-act-score/")]),i=tB(a.score)(a.percentiles);return n.chances.shouldApplyTestOptional?{title:t(i),testClass:"t--act",content:ce([hRe("ACT")(a),o])}:{title:t(i),testClass:"t--act",content:o}}};var Oo=B(W),Md=B(L),ou=B(ae),uB=Ct(W)()(),lB=An(_t),KI=ta(L),cB=Ir(L),bRe=It(W),Lx=en(L),RRe=K(Le),lvn=gu(L),wRe=xa(L)()(),SRe=Vn(ae),cvn=Ea(L),ERe=rD(L),fD=_e(X_),CRe=mf(xt(k2)),svn=oa(Te)(ft),fvn=yf(Te),vvn=_e(X1),mvn=ta(ae),pvn=Yn(L)()(),_vn=N(ge),dvn=Z(ge),hvn=It(ae),gvn=Zn(W),Dvn=gu(ae),yvn=N(sm),bvn=Vn(W),Rvn=Vn(L),jx=Zn(L),wvn=Z(Ex),Svn=en(ae),IRe=function(e){return Oo("row")([Md("col")(""),ou("col-auto")(uB("btn btn-link t--show-more")({onClick:lB(e)(er.value)})([Y("show more "),KI("fe fe-chevron-down")("")]))])},TRe=function(e){return function(n){return function(t){return Oo("row align-items-center mb-3")([ou("col-12 col-lg-6")(Oo("row")([Oo("col-6 order-1 order-lg-2 my-auto")([cB("font-weight-normal fw-normal")("Your chances"),bRe("mb-0 t--chancing-percentage-label d-flex align-items-center")([Lx("mr-1")(tE(e)({score:RRe(t)(function(a){return a.score}),specialCase:C.value})),wx,Lx("mx-2")(""),ybe("")(n),Dbe("")(n)])]),ou("col-6 order-2 order-lg-1 px-sm-4 px-lg-0")(hR({score:RRe(t)(function(a){return a.score})}))])),Oo("col-12 col-lg-6 py-3 my-auto")([cB("font-weight-normal fw-normal")("Overall acceptance rate"),bRe("text-gray-800 mb-0")([Y(Oe("\u2014")(function(a){return La(function(r){return r.value}(a))})(e.admissions.acceptanceRate)),lvn("text-secondary ml-2")(cD(e))])])])}}},FRe=function(e){return ce([Y(e),Y(" requires standardized tests, but currently "),wRe("")({href:Km})("your profile"),Y(" indicates that you do not have test scores.")])},Evn=function(e){return ce([Md("badge badge-apply-test-optional font-weight-bold fw-bold py-2 mb-2")("Tests required"),TRe(e)(Ra.value)(C.value),SRe("")(FRe(e.name))])},MRe=function(e){return function(n){return function(t){return function(a){var r=Oo("row")([ou("col-auto pr-0")(KI("fe fe-info large text-secondary mt-3")("")),Oo("col")([Oo("large")([cvn("")("Recommendation letters "),Lx("text-secondary")("are often required.")]),Md("text-secondary mt-2")(` Having a great recommendation sometimes improves your chances, but it\u2019s most important to make sure that you\u2019re not disqualified because one is missing. `)])]);return fo(sa(er.value))(function(o){return function(i){return ou("card")(Oo("card-body t--phase2")([ERe("Your chancing: Phase 2"),vn(fD(o)(Ya.value))(Md("mb-4")("")),YH({card:Zbe(e)(t)(a),expanded:fD(o)(er.value),onCollapse:i(Ya.value)}),vn(CRe(n.admissions.reqRecLetters)(new d(fi.value)))(r),vn(fD(o)(Ya.value))(IRe(i))]))}})}}}},GRe=function(e){return function(n){return function(t){return function(a){var r=CRe(n.admissions.reqStandardTests)(new d(fi.value)),o=gt(F_(t))&&r,i=gt(T_(t))&&r,u=function(l){return function(c){return YH({card:c(e)({chancingProfile:t,chances:a,schoolStats:n.testScoreStats}),expanded:fD(l.value0)(er.value),onCollapse:l.value1(Ya.value)})}};return w1(sa(er.value))(function(l){return ou("card")(Oo("card-body t--phase1")([ERe("Your chancing: Phase 1"),vn(fD(l.value0)(Ya.value))(Md("mb-4")("")),u(l)(gRe),u(l)(Tbe),vn(i)(u(l)(DRe)),vn(o)(u(l)(yRe)),vn(fD(l.value0)(Ya.value))(IRe(l.value1))]))})}}}},Cvn=function(e){return Y(svn(["Chancing is not available for ",e.name," because all students are admitted if they have a high school diploma or GED."]))},Ivn=function(e){return ce([Y("You\u2019re likely not eligible for admission at "),Y(e.name),Y(" because it is an "),Y(lu(o_(e.gender))),Y(" school. This conclusion is based on the gender information you entered in your "),wRe("")({href:Km})("profile"),Y(".")])},Tvn=function(e){return ce([Y("Chancing is not available for "),Y(e.name),Y(` because admission decisions rely heavily on art or music portfolios and auditions. We recommend that you reach out to the admissions department at this school to learn if they can assist with a pre-application portfolio review or audition. `)])},Fvn=function(e){return function(n){return function(t){return function(a){return function(r){var o=function(c){if(c instanceof Ka)return"test-optional";if(c instanceof wr)return"with SAT";if(c instanceof qr)return"with ACT";throw new Error("Failed pattern match at SchoolDetails.Chancing (line 288, column 21 - line 291, column 33): "+[c.constructor.name])},i=function(c){var s=fvn(function(v){return vvn(v.applicationStrategy)(c)})(r.all),f=JH({strategy:c,satOrigin:CE(t),testPolicy:n.admissions.reqStandardTests});return Oo("row border-1 border-bottom border-light py-3 align-items-center")(function(){if(s instanceof d)return[Oo("col-12 mb-2 mb-md-0 col-md pr-0 d-flex align-items-end")([f,vn(s.value0.isRecommendedStrategy)(mvn("ml-2 fe fe-thumbs-up text-primary h3 mb-0")(un))]),ou("col-auto pl-md-0")(Lx("badge badge-light bg-light text-dark")(NM(n)(s.value0))),Md("col-auto col-md-auto pl-md-0")(tE(n)(s.value0)),ou("col col-md-2 pl-md-0")(function(){if(s.value0.score instanceof d)return ou("progress progress-md")(pvn("progress-bar")({style:fn({width:jM(s.value0.score.value0)})})(""));if(s.value0.score instanceof C)return Md("text-secondary small")("N/A");throw new Error("Failed pattern match at SchoolDetails.Chancing (line 306, column 46 - line 311, column 55): "+[s.value0.score.constructor.name])}())];if(s instanceof C)return[ou("col pr-0 d-flex align-items-end")(f),Md("col-auto text-gray-800")(function(){if(c instanceof Ka)return"";if(c instanceof wr)return"No SAT score";if(c instanceof qr)return"No ACT score";throw new Error("Failed pattern match at SchoolDetails.Chancing (line 318, column 19 - line 321, column 53): "+[c.constructor.name])}())];throw new Error("Failed pattern match at SchoolDetails.Chancing (line 295, column 11 - line 322, column 16): "+[s.constructor.name])}())},u=function(){var c=function(s){return s.length===0?Lo(Qo)("Empty chancing recommended strategies, even though chances are present")({})(function(f){return[]}):s};return c(_vn(function(s){return s.applicationStrategy})(Lr(function(s){return s.isRecommendedStrategy})(r.all)))}(),l=function(c){return fo(sa(Ya.value))(function(s){return function(f){return ce([Oo("row mb-2 justify-content-between")([Oo("col")(dvn(u)(function(v){return hvn("d-inline-block mr-2")(JH({strategy:v,satOrigin:CE(t),testPolicy:n.admissions.reqStandardTests}))})),ou("col-auto")(uB("btn btn-link p-0 d-flex align-items-center")({onClick:lB(f)(C0(s))})(function(){if(s instanceof Ya)return[Y("See why"),KI("fe fe-chevron-down ml-2")("")];if(s instanceof er)return[Y("Show less"),KI("fe fe-chevron-up ml-2")("")];throw new Error("Failed pattern match at SchoolDetails.Chancing (line 208, column 15 - line 210, column 92): "+[s.constructor.name])}()))]),Je(r.top.classification)(function(v){return gvn("")([Y(n.name+(" is a "+$1(v))),Dvn("ml-1 text-secondary h2 mb-0")(bbe(v)),function(){if(n.admissions.reqStandardTests instanceof d&&n.admissions.reqStandardTests.value0 instanceof fi)return un;if(r.top.specialCase instanceof d&&r.top.specialCase.value0 instanceof p0)return un;var m=function(R){return un},_=us(u);return _ instanceof d?Y(" if you apply "+jbe(yvn(o)(_.value0))):m(!0)}()])}),TRe(n)(a)(new d(r.top)),vn(fD(s)(er.value))(ce([Ba("mb-4"),Oo("")([bvn("")([Y("Test policies may change in the future so be sure to check "),N0({className:"",text:new d("this school\u2019s website"),icon:UI.value})(Ee(n.urls.main)(n.urls.admissions))]),function(){return n.admissions.reqStandardTests instanceof d&&n.admissions.reqStandardTests.value0 instanceof fi?Rvn("font-weight-bold fw-bold")(` This school is test-blind, meaning they do not consider your standardized test scores even if you submit them. `):r.top.specialCase instanceof d&&r.top.specialCase.value0 instanceof p0?SRe("font-weight-bold fw-bold")(FRe(n.name)):ce([cB("")("Here\u2019s our estimation for all possible scenarios:"),function(){return n.admissions.reqStandardTests instanceof d&&n.admissions.reqStandardTests.value0 instanceof Cc?un:i(Ka.value)}(),i(wr.value),i(qr.value)])}()]),function(){return n.admissions.reqStandardTests instanceof d&&n.admissions.reqStandardTests.value0 instanceof fi?un:r.top.specialCase instanceof d&&r.top.specialCase.value0 instanceof p0?un:Je(r.guidance)(function(v){return ou("mt-4")(Bbe(v)(t)(r.sameDemographicStats))})}()])),function(){return e.showViewChancingExplanationCTA&&e.onSwitchTab instanceof d?ce([Ba(""),uB("btn btn-link t--chancing-breakdown-cta p-0")({onClick:lB(e.onSwitchTab.value0)(Zi.value)})([KI("material-symbol x-large align-middle pr-2")("format_list_bulleted"),Y("See chancing explanation")])]):un}()])}})};if(r.top.specialCase instanceof d&&r.top.specialCase.value0 instanceof ug)return Tvn(n);if(r.top.specialCase instanceof d&&r.top.specialCase.value0 instanceof Em)return Ivn(n);if(r.top.specialCase instanceof d&&r.top.specialCase.value0 instanceof p0)return Evn(n);if(r.top.specialCase instanceof d&&r.top.specialCase.value0 instanceof lg)return l(Ce);if(r.top.specialCase instanceof d&&r.top.specialCase.value0 instanceof cg)return Cvn(n);if(r.top.specialCase instanceof C)return l(Ce);throw new Error("Failed pattern match at SchoolDetails.Chancing (line 185, column 3 - line 191, column 28): "+[r.top.specialCase.constructor.name])}}}}},DR=function(e){return function(n){return function(t){return function(a){return function(r){return Oo("mb-4")([ou("card mb-0 t--chancing")(Oo("card-body t--chancing-overview")([jx("")("Chancing"),Fvn(e)(n)(t)(a)(r)])),NH(n)])}}}}},Mvn=function(e){return function(n){return function(t){return function(a){return function(r){return function(o){return o.top.specialCase instanceof d&&o.top.specialCase.value0 instanceof Em&&e.mobileLayout?DR(n)(t)(a)(r)(o):o.top.specialCase instanceof d&&o.top.specialCase.value0 instanceof Em?ou("row")(ou("col-8")(DR(n)(t)(a)(r)(o))):e.mobileLayout?ce([DR(n)(t)(a)(r)(o),jx("")("Detailed profile breakdown"),GRe(e)(t)(a)(o.top),MRe(e)(t)(a)(o.top),YI(e)]):Oo("row")([Oo("col-8")([DR(n)(t)(a)(r)(o),jx("")("Detailed profile breakdown"),GRe(e)(t)(a)(o.top),MRe(e)(t)(a)(o.top)]),Oo("col-4")([Je(e.currentUser)(function(i){return ou("mb-3")(Bye(e.whatificatorLink))}),YI(e)])])}}}}}},ARe=function(e){return function(n){return function(t){var a=function(i){return Lo(Qo)("SDP Chancing Tab is visible when chancing profile is absent")({schoolId:e.id})(function(u){return un})},r=function(i){return Je(eB(e))(function(u){return ce([jx("")("In the meantime, here\u2019s the published data about admissions at "+(e.name+":")),u])})},o=function(i){if(n.mobileLayout)return ce([zI({narrowLayout:!0}),YI(n),r(Ce)]);if(xe)return Oo("row")([Oo("col-8")([zI({narrowLayout:!1}),r(Ce)]),ou("col-4")(YI(n))]);throw new Error("Failed pattern match at SchoolDetails.Chancing (line 98, column 5 - line 113, column 12): "+[i.constructor.name])};return function(i){if(i instanceof lR)return Je(Cx(i.value1))(Mvn(n)(t)(e)(i.value0)(wvn(Tx(i.value1))(function(u){return u.top})));if(i instanceof sR)return a(Ce);if(i instanceof fR)return o(Ce);if(i instanceof cR)return ou("text-center p-6")(Svn("spinner-border spinner-border-sm text-primary")(un));throw new Error("Failed pattern match at SchoolDetails.Chancing (line 81, column 5 - line 90, column 73): "+[i.constructor.name])}(Ix({currentUser:n.currentUser,chancingState:n.chancingState,school:e}))}}};var xRe=function(e){return function(n){return un}};var LRe=ov(),vD=B(W)("d-flex")([LRe({text:"Log in",className:"btn btn-primary px-4 mr-3",auth0ActiveTab:hg}),LRe({text:"Sign up (it's free!)",className:"btn btn-outline-primary px-4",auth0ActiveTab:rv})]);var Gvn=B(W),jRe=B(ae),Avn=Ir(L),xvn=Mr(W)()(),Lvn=la(pr),jvn=ta(L),sB=Vn(W),NRe=B(L),fB=Ea(L),Nvn=en(W),PRe=g0(L)()(),Pvn=cl(W),kRe=vG(),vB=Vn(L),kvn=vM(W),ORe=function(e){return function(n){return Gvn("row align-items-center w-100")([jRe("col")(Avn("my-0")(n)),jRe("col-auto pr-0")(xvn("btn btn-link p-0 d-flex align-items-center")(Fr)({onClick:Lvn(e)})([Y("Cancel "),jvn("fe fe-x ml-2 large")("")]))])}},URe=function(e){return function(n){var t=function(r){return function(o){return function(i){if(i)return ce([sB("mb-1")([NRe("badge badge-soft-success bg-success-soft mr-2")("Profile complete"),fB("text-success")("Great job \u2013\xA0your CollegeVine "+(r+" profile looks complete."))]),Nvn("")([Y("(you can always "),PRe("")(Fr)({href:o})("update it"),Y(" to make sure)")])]);if(!i)return ce([sB("")([NRe("badge badge-soft-danger bg-danger-soft mr-2")("Incomplete"),fB("text-danger")("Your "+(r+" profile is incomplete."))]),PRe("btn btn-primary px-4")(Fr)({href:o})("Complete "+(r+" profile"))]);throw new Error("Failed pattern match at SchoolDetails.Finances.Modal (line 54, column 5 - line 64, column 8): "+[r.constructor.name,o.constructor.name,i.constructor.name])}}},a=function(r){return Pvn("mb-4")([sB("mb-1")([fB("")("Your "+(r.name+" profile,")),Y(r.description)]),t(r.name)(r.url)(r.isComplete)])};return kRe({header:ORe(n.close)("Great, let\u2019s estimate your personalized net cost."),body:ce([vB("")("Your college cost depends on two types of information:"),kvn("")([a({name:"chancing",url:Km,isComplete:gt(e.chancingState.effectiveProfile),description:` which includes academics and extracurriculars. This determines your chances of admission to a college, and also whether you\u2019re likely to be eligible for merit-based scholarships. `}),a({name:"financial",url:s4,isComplete:e.hasFinancialProfile,description:` which includes information that colleges will use to determine your financial need. `})])])})}},HRe=function(e){return kRe({header:ORe(e.close)("Please log in to get your personalized cost estimate"),body:ce([vB("")(` You need a CollegeVine account to estimate your cost. You\u2019ll enter your information once and unlock estimates for all schools on CollegeVine! `),vB("")("Please log in or sign up to continue:"),vD])})};var Uo=B(W),Nx=Zn(L),Ks=B(ae),BRe=Ir(L),mB=Vn(W),JRe=B(L),pB=Ea(L),_B=wd(L)(L),eT=Vn(L),WRe=It(W),qRe=gu(L),Ovn=N(J),Uvn=Ct(W)()(),zRe=An(_t),Hvn=ta(L),$Re=rD(L),Bvn=Ct(L)()(),VRe=Nc(L),Jvn=xa(L)()(),Wvn=It(L),yR=function(){function e(){}return e.value=new e,e}(),Px=function(){function e(){}return e.value=new e,e}(),QRe=function(){function e(){}return e.value=new e,e}(),nT=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),dB=function(){function e(){}return e.value=new e,e}(),kx=function(){function e(){}return e.value=new e,e}(),Ox=function(e){return function(n){return Uo("card t--financials-zero-cost")([Uo("d-flex align-items-center justify-content-between card-header")([Nx("flex-grow-1 my-0")("Cost & scholarships"),Je(e.editButton)(Ks("flex-grow-0"))]),Uo("card-body")([BRe("")("The cost to students is zero"),mB("small text-muted mb-0")([Y("Some schools do not charge tuition, or they cover the full cost for students. Always check "),N0({className:"",icon:eR.value,text:new d("the school\u2019s website")})(n.urls.main),Y(` to understand the type of commitment you\u2019re making, or conditions you must satisfy, in order to qualify for the no-cost program. `)])])])}},Ux=function(e){return function(n){return function(t){var a=t(new nT(yR.value));if(n instanceof yR)return un;if(n instanceof Px)return URe(e)({close:a});if(n instanceof QRe)return HRe({close:a});throw new Error("Failed pattern match at SchoolDetails.Finances.Common (line 328, column 3 - line 331, column 45): "+[n.constructor.name])}}},hB=function(e){var n=function(t){return function(a){return{title:a,value:du(t)}}};return ce([Uo("row py-3")([JRe("col font-weight-semibold")("Income"),Ks("col-auto")(pB("")("Average net cost"))]),Ba("mt-0"),Ks("mt-4")(_B([n(e.quintile1)("$0\u201330,000"),n(e.quintile2)("$30,001\u201348,000"),n(e.quintile3)("$48,001\u201375,000"),n(e.quintile4)("$75,001\u2013110,000"),n(e.quintile5)("Over $110,000")]))])},Hx=function(e){var n=function(a){return function(r){return N0({className:"",icon:UI.value,text:new d(r)})(a)}},t=function(){if(e.finAid instanceof d&&e.priceCalculator instanceof d)return ce([n(e.finAid.value0)("financial aid website"),Y(" or their "),n(e.priceCalculator.value0)("net price calculator")]);if(e.finAid instanceof d&&e.priceCalculator instanceof C)return n(e.finAid.value0)("financial aid website");if(e.finAid instanceof C&&e.priceCalculator instanceof d)return n(e.priceCalculator.value0)("net price calculator");if(e.finAid instanceof C&&e.priceCalculator instanceof C)return n(e.main)("website");throw new Error("Failed pattern match at SchoolDetails.Finances.Common (line 229, column 16 - line 240, column 33): "+[e.finAid.constructor.name,e.priceCalculator.constructor.name])}();return ce([eT("font-weight-bold fw-bold small text-gray-800 mb-1")("* This is an estimate"),mB("small text-gray-800")([Y(` Be sure to confirm your costs and other requirements on the school\u2019s website. Visit the school\u2019s `),t,Y(" to learn more.")])])},qvn=Ks("")(WRe("mb-4")([Y("Cost before aid "),qRe("text-secondary")(` The \u201Csticker price\u201D of a school, which includes tuition, fees, and room and board. `)])),YRe=eT("")(` Published costs and averages can be misleading: they don\u2019t fully account for your family\u2019s finances (for financial aid) or your academic profile (for scholarships). `),tT=ce([YRe,eT("font-weight-bold fw-bold mb-2")("Want to see your personalized net cost after financial aid and scholarships?")]),gB=WRe("mb-3 mt-4")([Y("Average net cost after aid "),qRe("text-secondary")(` The average of the amount actually paid by students, per family income range. `)]),DB=function(e){return ce([Ks("")(gB),Ba("mb-0"),Ks("mb-4")(hB(e))])},yB=function(e){return function(n){return Uo("card t--financials-cost-before-aid")([Uo("card-body")([Uo("d-flex align-items-center justify-content-between mb-5")([Nx("my-0 mr-3 flex-grow-1")("Cost & scholarships"),ma(di(n.onEdit)(Ed.value))]),qvn,_B([{title:"In-state total cost",value:Oe("unknown")(function(t){return du(st(t))})(Dm(n.school))},{title:"Out-of-state total cost",value:Oe("unknown")(function(t){return du(st(t))})(xS(n.school))}]),Ee(un)(Ovn(DB)(n.school.averageNetPrice)),vn(n.showCta)(ce([tT,Uvn("btn btn-link t--estimate-my-cost p-0")({onClick:zRe(e)(new nT(Px.value))})([Hvn("material-symbol x-large align-middle pr-2")("calculate"),Y("Estimate my personalized net cost")])]))])])}},bB=function(e){return function(n){var t=function(o){return function(i){return Uo("col-12 mt-2 col-md-6 mt-md-0")([$Re(i),Xa("")(Oe("unknown")(function(u){return du(st(u))})(o))])}},a=Uo("row")([Uo("col-12 col-md mb-2 mb-md-4")([$Re("Your estimated net cost"),JRe("font-weight-bold fw-bold text-secondary x-large")("$ ? / year")]),vn(n.showCta)(Ks("col-12 col-md-auto mb-3 mb-md-0")(Bvn("btn btn-primary px-4 t--estimate-my-cost")({onClick:zRe(e)(new nT(QRe.value))})("Estimate my cost")))]),r=ce([VRe("")("What are "+(n.school.name+"\u2019s Tuition and Fees?")),mB("")([Y("What does it cost to attend "+(n.school.name+("? Below we\u2019ve mapped out the tuition, fees, and room and board that"+(" will help you understand how much you will pay for "+(n.school.name+`. We\u2019ve also included financial aid information to help you pay for college. If you\u2019d like to get a personal estimated cost of attendance based on your situation, use our `))))),Jvn("")({href:s4})("free cost calculator"),Y(".")])]);return Uo("card border border-light rounded p-4 mx-2 mb-4")([vn(n.showExtended)(r),a,Uo("row")([t(Dm(n.school))("In-state"),t(xS(n.school))("Out-of-state")])])}},aT=function(e){return function(n){return function(t){return function(a){if(a instanceof dB){var r=Uo("d-flex align-items-center justify-content-between mb-3")([Nx("my-0 mr-3")("Cost & scholarships"),ma(e.editButton)]);return ce([Uo("card t--financials-anonymous")(function(){if(t.averageNetPrice instanceof C)return[Uo("card-body")([r,bB(n)({school:t,showCta:e.showCta,showExtended:!1}),tT,vD])];if(t.averageNetPrice instanceof d)return[Uo("card-body")([Nx("")("Cost & scholarships"),bB(n)({school:t,showCta:e.showCta,showExtended:!1}),gB,hB(t.averageNetPrice.value0),Uo("px-3")([tT,vD])])];throw new Error("Failed pattern match at SchoolDetails.Finances.Common (line 80, column 5 - line 100, column 10): "+[t.averageNetPrice.constructor.name])}())])}if(a instanceof kx){var o=function(){var i=function(u){return function(l){return{title:l,value:Oe("unknown")(function(c){return du(st(c))})(u)}}};return ce([Uo("row mx-0 py-3 border-bottom")([Ks("col pl-0")(pB("")("Type")),Ks("col-auto pr-0")(pB("")("Annual Cost"))]),Ks("mt-4")(_B([i(t.tuitionInState)("In-state tuition"),i(t.feesInState)("In-state fees"),i(t.tuitionOutOfState)("Out-of-state tuition"),i(t.feesOutOfState)("Out-of-state fees"),i(t.costRoomBoard)("Room and board")]))])}();return ce([bB(n)({school:t,showCta:e.showCta,showExtended:!0}),Ks("card")(Uo("card-body")([VRe("mb-4")("What does it cost to attend "+(t.name+"?")),BRe("")("Net Price Breakdown"),eT("mb-5")("The Net Price is the estimated cost after the average aid amount is applied to the total amount."),Uo("t--financials-anonymous")(function(){if(t.averageNetPrice instanceof C)return[tT,vD];if(t.averageNetPrice instanceof d)return[gB,hB(t.averageNetPrice.value0),function(){return e.showCta?Uo("")([tT,vD]):YRe}()];throw new Error("Failed pattern match at SchoolDetails.Finances.Common (line 117, column 9 - line 133, column 14): "+[t.averageNetPrice.constructor.name])}())])),Ks("card")(Uo("card-body")([Wvn("mb-4")("Sticker Price Breakdown"),eT("")(` The sticker price is the advertised price of the school. You may not have to pay the full sticker price if you get financial aid or scholarships. `),o]))])}throw new Error("Failed pattern match at SchoolDetails.Finances.Common (line 77, column 1 - line 77, column 139): "+[e.constructor.name,n.constructor.name,t.constructor.name,a.constructor.name])}}}};var zvn=z(pt),$vn=on(),rT=B(ae),Vc=B(W),XRe=Nc(L),mD=Vn(L),Vvn=xa(W)()(),RB=en(L),ZRe=B(L),KRe=Ea(L),Qvn=Hr(Te)(Ov),Yvn=N(ge),Xvn=Zn(L),Zvn=It(ae),Kvn=rD(L),e0n=N(J),n0n=Ct(W)()(),t0n=An(_t),a0n=ta(L),r0n=_e(xt(ar)),ewe=function(e){return function(n){return zvn(n.value0)}},nwe=function(){return yR.value}(),wB=function(e){var n=function(){var a=$vn(e.id);return a==="b1fe9c0b-0310-45f9-8579-1ad20fabacb1"?{grants:!0,loans:!1,scholarships:!1,workStudy:!0}:{grants:!0,loans:!0,scholarships:!0,workStudy:!0}}(),t=function(a){return function(r){return function(o){return vn(a)(rT("card")(Vc("card-body")([XRe("")(r),o])))}}};return Vc("t--financials-aid-explanation mt-5")([t(n.grants)("Grants")(ce([mD("")("Grants can be given out by the federal government, your state, or the college and are based on your financial need. Grants do not need to be repaid."),Y("% of undergraduates that receive Pell grants"),Xa("")(La(e.fracPellGrants))])),t(n.scholarships)("Merit scholarships")(mD("mb-2")("Scholarships are awarded based on your your financial need or academic achievements. They do not need to be repaid but you may have to reapply for them each year.")),t(n.loans)("Student loans")(ce([mD("")("Student loans are sums of money given to students to help them pay for college now. You must pay this money back later with interest."),Vc("row")([Vc("col")([Y("% of full-time first-time undergraduates awarded federal student loans"),Xa("")(La(e.fracLoans))]),Vc("col")([Y("Avg. amount of federal student loans awarded to full-time first-time undergrads"),Xa("")(du(st(Ee(0)(e.averageFederalLoan))))])])])),t(n.workStudy)("Work-study")(ce([mD("")("Work-study is when you work during the school year, typically an on-campus job. The money you make pays a part of the tuition. It\u2019s a great opportunity, but it\u2019s not free."),Vvn("d-flex align-items-center")({href:ile,target:"_blank"})([RB("material-symbol pr-2")("open_in_new"),RB("")("Learn more about how it works and what types of jobs are available")])]))])},o0n=function(e){return function(n){var t=function(l){return[Vc("row align-items-center")([rT("col")(l.title),rT("col-auto")(l.value)])]},a=ce([mD("mb-1")("Your estimated net cost"),Xa("")(du(n.estimatedNetCost)+" / year *")]),r=Ee(0)(n.estimatedMeritAid),o=ce([ZRe("mb-3")("Scholarships"),ZRe("small text-gray-800")(function(){var l=r>0;return l?` Based on your profile and this school's historical data, we think you could get a merit scholarship of this amount. `:` Based on your profile and the amount of need-based aid projected, it seems unlikely that you\u2019ll receive additional merit scholarships at this college. `}())]),i=function(l){var c=l>0;return c?KRe("")("-"+du(l)):RB("text-muted")("Unlikely")},u=Vc("mb-2")(Qvn([Ba("mt-3 mb-3")])(Yvn(t)([{title:Y("Cost (tuition, fees, room and board)"),value:KRe("")(du(n.stickerPrice))},{title:Y("Need-based financial aid"),value:i(n.financialAid)},{title:o,value:i(r)}])));return ce([rT("card t--financials-personal-estimate-breakdown")(Vc("card-body")([Xvn("mb-5")("Cost & scholarships"),a,Ba("mb-4 mt-2"),Zvn("mb-4 mt-2")(Kvn("Your estimated net cost breakdown")),u,Ba("mt-3 mb-3"),rT("mb-n3")(Hx(e.urls))])),wB(e)])}},i0n=function(e){return function(n){var t=Vc("row mb-4")([Vc("col-12 col-md-6")([mD("mb-1")("In-state total cost"),Xa("")(Oe("unknown")(function(a){return du(st(a))})(Dm(n)))]),Vc("col-12 col-md-6")([mD("mb-1")("Out-of-state total cost"),Xa("")(Oe("unknown")(function(a){return du(st(a))})(xS(n)))])]);return Vc("card t--financials-cost-before-aid")([Vc("card-body")([XRe("fw-normal font-weight-normal")("Cost"),t,Ee(un)(e0n(DB)(n.averageNetPrice)),n0n("btn btn-link t--estimate-my-cost p-0")({onClick:t0n(e)(new nT(Px.value))})([a0n("material-symbol x-large align-middle pr-2")("calculate"),Y("Estimate my personalized net cost")])])])}},twe=function(e){return function(n){return function(t){return function(a){return function(r){return ce([Ux(n)(a)(r),function(){var o=r0n(Dm(e))(new d(0));if(o)return Ox({editButton:C.value})(e);var i=fr(n.currentUser);if(i)return ce([ma(xs(n.configuration)(aT({showCta:!1,editButton:C.value})(r)(e)(kx.value))),ma(Gu(n.configuration)(aT({showCta:!0,editButton:C.value})(r)(e)(kx.value))),wB(e)]);var u=gt(t);return u?Je(t)(o0n(e)):ce([i0n(r)(e),wB(e)])}()])}}}}};var u0n=on(),awe=Ct(L)()(),rwe=la(pr),Bx=B(W),SB=B(ae),l0n=si(),c0n=_e(xt(jG)),EB=Z(J),s0n=_e(xt(LG)),owe=ta(L),f0n=B(L),iwe=en(L),v0n=_i(ae)()(),uwe=function(e){var n=u0n(e.school),t=function(u){return awe("btn btn-outline-primary flex-grow-1 px-md-4 t--sdp-invitation-footer-ignore "+u)({onClick:rwe(e.onIgnoreInvitation)})("Ignore")},a="fe fe-link bg-ocean mr-3 line-height-1 rounded-circle "+function(){return e.mobileLayout?"p-2":"p-3 large"}(),r=_o(KS(n.id)(e.schoolDb)),o=function(u){if(e.mobileLayout)return Bx("card-footer bg-white "+u);var l=SB("container card"),c=Bx("card-body mb-0 "+u);return function(s){return l(c(s))}},i=function(u){return awe("btn btn-primary flex-grow-1 px-md-4 t--sdp-invitation-footer-accept "+u)({onClick:rwe(e.onAcceptInvitation)})("Accept")};return Mu(l0n(sa(c0n(EB(r)(function(u){return u.status}))(new d(Xo.value))&&s0n(EB(r)(function(u){return u.initiator}))(new d(ki.value))))(function(u){return ci(ng(u.value0)(function(l){return Je(EB(r)(function(c){return c.status}))(function(c){return SB("position-fixed fixed-bottom t--sdp-invitation-footer")(o("d-flex flex-column flex-md-row align-items-stretch align-items-md-center")([Bx("d-flex flex-nowrap align-items-center mr-md-3")([owe(a)(""),f0n("")(n.name+" wants to connect!")]),SB("d-flex flex-nowrap mt-3 mt-md-0 mr-md-3")(function(){if(c instanceof Xo&&e.mobileLayout)return ce([i("mr-3"),t("")]);if(c instanceof Xo)return ce([t("mr-3"),i("")]);if(c instanceof Bl)return iwe("text-success")("Connected");if(c instanceof xu)return iwe("text-secondary")("Ignored");throw new Error("Failed pattern match at SchoolDetails.Footer (line 46, column 15 - line 54, column 52): "+[c.constructor.name])}()),Bx("d-flex flex-nowrap align-items-center mt-3 mt-md-0 flex-grow-1 justify-content-md-end")([Y("What is a connection?"),v0n({placement:Us,overlay:Y(` A connection means a school is interested in your profile and accomplishments and wants to share more about their school. A connection does not mean you\u2019ve been accepted to the college. However, it\u2019s a great way to build relationships and find out if it\u2019s the right school for you! `),overlayStyle:fn({maxWidth:"15rem",position:"fixed"}),trigger:function(){return e.mobileLayout?Q_:tpe}()})(owe("fe fe-info pl-2")(""))])]))})}))}))};var k0=` (min-width: 1200px) 1140px, (min-width: 992px) 960px, (min-width: 768px) 720px, (min-width: 576px) 540px `;Wt();var CB=class extends wt.Component{constructor(){super()}componentDidMount(){let n=document.querySelector("."+this.props.containerClassName);!n||(this.props.onMountShowContainer&&(n.style.display="block"),this.flickity=new Flickity(n,{cellAlign:"left",contain:!0,imagesLoaded:!0,pageDots:!!this.props.pageDots,prevNextButtons:!0,wrapAround:!0}))}render(){return null}componentWillUnmount(){this.flickity&&this.flickity.destroy()}};var m0n=gs(),Yl=function(){return function(){return m0n(CB)}};var p0n=on(),lwe=ta(L),cwe=en(L),IB=B(ae),_0n=B(W),d0n=Zn(L),h0n=js()(),g0n=An(_t),ha=function(e){var n=function(){return e.module.isLiked?"t--content-module-liked-icon":"t--content-module-not-liked-icon"}(),t=function(){var o=function(u){return u.gender}(p0n(e.school)),i=lv(e.module.data);return i instanceof y0&&o instanceof T1?"Alumni spotlight":i instanceof y0&&o instanceof F1?"Alumnae spotlight":i instanceof y0&&o instanceof $h?"Alumni spotlight":L_(lv(e.module.data))}(),a=vn(e.isUserHq)(function(){return e.isPublished?ce([lwe("fe fe-check-circle large text-success mr-2 t--module-live-icon")(""),cwe("text-success")("Live")]):ce([lwe("fe fe-x-circle large text-warning mr-2 t--module-draft-icon")(""),cwe("text-warning")("Draft")])}()),r=function(){return e.module.isLiked?"/img/icons/heart-filled-gray-800.svg":"/img/icons/heart-empty.svg"}();return IB("card-header")(_0n("row align-items-center")([d0n("col-auto mb-0")(t),IB("col d-flex align-items-center justify-content-end")(a),vn(e.showLikeButton)(IB("col-auto")(h0n("cursor-pointer t--content-module-interaction "+n)({src:r,height:"18",width:"18",onClick:g0n(e.onContentModuleInteraction)({type:function(){return e.module.isLiked?new d(YE.value):new d(QE.value)}(),moduleId:e.module.id})})))]))};var D0n=Sa(),Jx=Z(J),oT=re(ze),y0n=oa(Te)(ft),b0n=Hr(Te)(ft),R0n=Z(ge),w0n=v0()(),S0n=Ye(ca)(Fu(Vo)(function(e){var n=e>=5120;return n?C.value:new d(new Ue(e,e*1.16))})(640))([5120]),Ho=function(){return function(e){return function(n){var t=D0n(n),a=Ms({key:"auto",value:Un(t.auto)("format")})(Cm({key:"q",value:Jx(Rr(t.q))(oT)})(Cm({key:"dpr",value:Jx(Rr(t.dpr))(oT)})(Cm({key:"ar",value:Rr(t.ar)})(Cm({key:"crop",value:Rr(t.crop)})(Cm({key:"fit",value:Rr(t.fit)})(Cm({key:"h",value:Jx(Rr(t.h))(oT)})(Cm({key:"w",value:Jx(Rr(t.w))(oT)})(Ee(t.src)(f1("?")(t.src)))))))))),r=function(i){var u=oT(Br(i));return y0n([a,"&w=",u," ",u,"w"])},o=function(){if(kS(t.w))return b0n(",")(R0n(S0n)(r));if(xe)return"";throw new Error("Failed pattern match at Utils.Imgix (line 61, column 5 - line 65, column 13): "+[])}();return w0n(e)({src:a,srcSet:o,style:Un(t.style)(fn({})),alt:Un(t.alt)(""),sizes:Un(t.sizes)("")})}}};var E0n=re(Mi),swe=B(W),C0n=Yn(W)()(),I0n=Z(ge),T0n=Ho(),F0n=Yl()(),fwe=function(e){var n="t--academic-photo-gallery-carousel-"+E0n(ua(e.school));return swe("card")([ha(e),swe("card-body")([C0n("flickity-viewport-visible mb-4 "+n)({style:fn({display:"none"})})(I0n(e.photos)(function(t){return T0n("w-100 rounded")({src:t.url,ar:"2:1",fit:"crop",crop:"faces",auto:"compress,format",sizes:k0})})),F0n({containerClassName:n,onMountShowContainer:!0,pageDots:!0})])])};var M0n=B(ae),G0n=j0(),Wx=B(W),A0n=Yn(W)()(),x0n=Z(ge),L0n=Zn(L),vwe=B(L),j0n=Yl()(),mwe=function(e){var n=function(t){return Je(t)(function(a){return M0n("col-12 col-md-auto mb-4 mb-md-0 d-flex justify-content-center justify-content-md-start align-items-md-center")(G0n({source:new wu({url:a+"?fit=crop&crop=faces,edges&w=256&h=256&auto=compress,format"}),size:Vb.value}))})};return Wx("card")([ha(e),Wx("card-body mb-4")([A0n("flickity-viewport-visible t--alumni-spotlight-carousel")({style:fn({display:"none"})})(x0n(e.props.alumni)(function(t){return Wx("row py-3 px-5 w-100")([n(t.avatarURL),Wx("col-12 col-md ml-2")([L0n("mb-1")(t.name),vwe("small text-secondary")(t.degreeGraduationYear),vwe("mt-3")(t.bio)])])})),j0n({containerClassName:"t--alumni-spotlight-carousel",onMountShowContainer:!0,pageDots:!0})])])};var qx=B(W),N0n=Z(ge),P0n=B(ae),k0n=m0(L)()(),O0n=It(L),U0n=Vn(L),pwe=function(e){return qx("card")([ha(e),qx("card-body")(N0n(e.videos)(function(n){return qx("row mb-4 align-items-center text-center text-md-left")([P0n("col-12 col-md-auto")(k0n("h-100 border-0 rounded")({src:n.link,allowFullScreen:!0})("")),qx("col mt-2 mt-md-0")([O0n("")(n.title),U0n("")(E_(n.duration))])])}))])};var H0n=on(),_we=oa(Te)(ft),zx=re($i),dwe=Wye(W),TB=B(L),hwe=B(W),B0n=v0()(),J0n=wd(L)(ae),gwe=function(e){var n=H0n(e.school),t=E1(wS(n.address)).lng,a=E1(wS(n.address)).lat,r=function(i){return _we(["https://api.mapbox.com/styles/v1/collegevine-ivy/ck8z1m02b06f41io4o6s4z5md/static/pin-s+3c8df5(",zx(t),",",zx(a)+")/",zx(t),",",zx(a),",6.57,0/600x400@2x?access_token=",i])},o=function(i){if(i instanceof Fl)return dwe({icon:"map-pin",body:[TB("")(i.value0.street),TB("")(_we([i.value0.city,", ",t_(i.value0.state)," ",i.value0.zip]))]});if(i instanceof al)return dwe({icon:"map-pin",body:[TB("")(i.value0.address)]});throw new Error("Failed pattern match at SchoolDetails.ContentModules.CampusLocation (line 40, column 15 - line 55, column 10): "+[i.constructor.name])};return hwe("card")([ha(e),hwe("card-body")([B0n("w-100 mb-5 rounded")({src:r(e.mapboxAccessToken)}),J0n([{title:"Campus Setting",value:Y(zh(n.setting))},{title:"Region",value:Y(RS(n.address))}]),o(n.address)])])};var W0n=re(Mi),Dwe=B(W),q0n=Yn(W)()(),z0n=Z(ge),$0n=Ho(),V0n=Yl()(),ywe=function(e){var n="t--campus-photo-gallery-carousel-"+W0n(ua(e.school));return Dwe("card")([ha(e),Dwe("card-body")([q0n("flickity-viewport-visible mb-4 "+n)({style:fn({display:"none"})})(z0n(e.photos)(function(t){return $0n("w-100 rounded")({src:t.url,fit:"crop",crop:"faces",ar:"2:1",auto:"compress,format",sizes:k0})})),V0n({containerClassName:n,onMountShowContainer:!0,pageDots:!0})])])};var $x=B(W),Q0n=Z(ge),Y0n=B(ae),X0n=m0(L)()(),Z0n=It(L),K0n=Vn(L),bwe=function(e){return $x("card")([ha(e),$x("card-body")(Q0n(e.videos)(function(n){return $x("row mb-4 align-items-center text-center text-md-left")([Y0n("col-12 col-md-auto")(X0n("h-100 border-0 rounded")({src:n.url,allowFullScreen:!0})("")),$x("col mt-2 mt-md-0")([Z0n("")(n.title),K0n("")(E_(n.duration))])])}))])};var Rwe=si(),emn=Yn(ae)()(),iT=B(W),nmn=Zn(L),Vx=B(ae),tmn=Yo()(),wwe=An(ao),amn=en(L),Swe=Qe(Xe),rmn=Z(ge),Gd=function(e){var n=function(a){return function(r){return function(o){var i=function(u){return Lr(function(l){return r(u)(e.filter.toValue(l))})(o)};return Oe(o)(i)(a)}}},t=function(a){return function(r){return a===""?r:Lr(function(o){return vs(lu(a))(lu(e.search.toTerm(o)))})(r)}};return Mu(Rwe(sa(""))(function(a){return Rwe(sa(C.value))(function(r){return ci(emn("")({style:fn({marginBottom:"10rem"})})(iT("card")([nmn("card-header")(e.title),iT("card-body")([iT("form-row")([Vx("col-12 col-md-6")(iT("input-group input-group-merge")([tmn("form-control form-control-prepended "+e.search.className)({type:"text",value:a.value0,placeholder:e.search.placeholder,onChange:wwe(a.value1)(Bs)}),Vx("input-group-prepend")(Vx("input-group-text")(amn("fe fe-search font-weight-bold fw-bold")("")))])),Vx("col-12 col-md-6 mt-2 mt-md-0")(Ys(new Ru("Search"))()({className:e.filter.className,value:r.value0,options:e.filter.items,getOptionLabel:Swe,getOptionValue:Swe,onSelect:wwe(r.value1)(d.create),isClearable:!0,onClear:r.value1(C.value),placeholder:e.filter.placeholder}))]),iT("mt-5")(rmn(n(r.value0)(e.filter.predicate)(t(a.value0)(e.items)))(e.renderItem))])])))})}))};var omn=N(CS);var Ewe=function(e){return function(n){return function(t){return HK(omn(e1(n))(JK(t)))({newSeed:e,size:n})}}};var uT=B(W),lT=B(ae),imn=J1(L)()(),umn=on(),lmn=Zn(L),Cwe=Vn(L),Iwe=B(L),cmn=re(ze),Twe=_e(va),smn=mh(Ot),Fwe=Op(Ot),FB=Z(ge),Mwe=Qe(Xe),fmn=An(ao),vmn=Ct(L)()(),mmn=An(_t),Gwe=function(e){var n=function(u){return u.number+(" "+u.name)},t=function(u){return ce([uT("row no-gutters g-0")([lT("col-auto")(imn("mr-3 fe fe-book-open xx-large")({style:fn({color:Ee("")(function(l){return l.colors.primary}(umn(e.school)))})})("")),uT("col mt-3 pr-5")([lmn("")(n(u)),Je(u.description)(function(l){return Cwe("")(l)}),Je(u.size)(function(l){return Iwe("mt-2 text-secondary")("Expected class size: "+cmn(l))}),Je(u.instructors)(function(l){return Iwe("mt-2 text-secondary")("Taught by: "+l)})])]),Ba("")])},a=function(u){var l=Lr(function(){var c=Twe(u);return function(s){return c(function(f){return f.department}(s))}}())(e.props.courses);return Ewe(e.randomSeed)(2)(l)},r=smn(Fwe(FB(e.props.courses)(function(u){return u.department}))),o=Fwe(FB(e.props.courses)(function(u){return u.department})),i=Gd({title:L_(lv(e.module.data)),items:e.props.courses,renderItem:function(u){return lT("mb-5")(t(u))},search:{className:"t--course-name-search",placeholder:"Search a course",toTerm:n},filter:{className:"t--course-location-selector",placeholder:"All departments",toValue:function(u){return u.department},items:r,predicate:Twe}});return fo(sa(Ei(o)))(function(u){return function(l){return uT("card")([ha(e),uT("card-body")([lT("w-50")(Ys(new Ru("Select Department"))()({options:o,getOptionLabel:Mwe,getOptionValue:Mwe,onSelect:fmn(l)(d.create),value:u})),Je(u)(function(c){return ce([uT("mt-4")([Cwe("text-secondary")("A sample of courses for this department"),ce(FB(a(c))(t))]),lT("row mt-4")(lT("col-6 offset-3")(vmn("btn btn-outline-primary btn-block")({onClick:mmn(e.showOverlay)(i)})("Check out the full course catalog")))])})])])}})};var pmn=Hr(Te)(ft),cT=B(W),_mn=Zn(L),Awe=Vn(L),dmn=B(L),Qx=B(ae),xwe=Qe(Xe),hmn=An(ao),gmn=Z(ge),Dmn=Ct(L)()(),ymn=An(_t),Lwe=function(e){var n=function(u){return function(l){return u?new d(l):C.value}},t=function(u){return pmn(", ")(yr([n(u.offerings.major)("Major"),n(u.offerings.minor)("Minor"),n(u.offerings.concentration)("Concentration")]))},a=function(u){var l=Lr(function(c){return vs(u)(t(c))})(e.props.degrees);return e1(3)(l)},r=function(u){return ce([cT("row no-gutters g-0")([cT("col mt-3 pr-5")([_mn("")(u.name),Awe("")(u.description),dmn("mt-2 text-secondary")("Offerings: "+t(u))])]),Ba("")])},o=["Major","Minor","Concentration"],i=Gd({title:L_(lv(e.module.data)),items:e.props.degrees,renderItem:function(u){return Qx("mb-5")(r(u))},search:{className:"t--degree-name-search",placeholder:"Search a degree option",toTerm:function(u){return u.name}},filter:{className:"t--degree-location-selector",placeholder:"All offerings",toValue:function(u){return t(u)},items:o,predicate:function(u){return vs(u)}}});return fo(sa(Ei(o)))(function(u){return function(l){return cT("card")([ha(e),cT("card-body")([Qx("w-50")(Ys(new Ru("Select Degree Option"))()({options:o,getOptionLabel:xwe,getOptionValue:xwe,onSelect:hmn(l)(d.create),value:u})),Je(u)(function(c){return ce([cT("mt-4")([Awe("text-secondary")("A sample of degree options for this offering"),ce(gmn(a(c))(r))]),Qx("row mt-4")(Qx("col-6 offset-3")(Dmn("btn btn-outline-primary btn-block")({onClick:ymn(e.showOverlay)(i)})("Check out all the degree options")))])})])])}})};var bmn=re(Mi),Rmn=B(ae),wmn=j0(),Yx=B(W),Smn=Yn(W)()(),Emn=Z(ge),Cmn=Zn(L),jwe=B(L),Imn=Yl()(),Nwe=function(e){var n="t--faculty-spotlight-carousel-"+bmn(ua(e.school)),t=function(a){return Je(a)(function(r){return Rmn("col-12 col-md-auto mb-4 mb-md-0 d-flex justify-content-center justify-content-md-start align-items-md-center")(wmn({source:new wu({url:r+"?fit=crop&crop=faces,edges&w=256&h=256&auto=compress,format"}),size:Vb.value}))})};return Yx("card")([ha(e),Yx("card-body mb-4")([Smn("flickity-viewport-visible "+n)({style:fn({display:"none"})})(Emn(e.faculty)(function(a){return Yx("row py-3 px-5 w-100")([t(a.avatarUrl),Yx("col-12 col-md ml-2")([Cmn("mb-1")(a.name),jwe("small text-secondary")(a.department),jwe("mt-3")(a.bio)])])})),Imn({containerClassName:n,onMountShowContainer:!0,pageDots:!0})])])};var Tmn=Yn(L)()(),MB=Z(ge),pD=B(W),Xx=B(L),Fmn=_i(ae)()(),Mmn=Cs(W)()(),Gmn=Sa(),Amn=Zn(L),sT=B(ae),xmn=function(e){return function(n){var t=function(c){return Tmn("rounded")({style:fn({width:"0.5rem",height:"0.5rem",backgroundColor:c})})("")},a=ce(MB(e)(function(c){return pD("d-flex align-items-center mt-2")([t(c.color),Xx("ml-2")(c.name+(": "+c.pct))])})),r=ce(MB(e)(function(c){return ce([pD("row align-items-center")([pD("col text-nowrap")([pD("d-flex align-items-center")([t(c.color),Xx("ml-2")(c.name)])]),Xx("col-auto font-weight-semibold")(c.pct)]),Ba("my-3")])})),o=function(){return n?r:a}(),i=function(c){return pD("d-flex flex-column align-items-center")([Y(c.name),pD("d-flex align-items-center")([t(c.color),Xx("ml-2")(c.pct)])])},u=function(c){return function(s){var f=c.angle+2*zv*s.value;return{angle:f,visual:Fmn({overlay:i(s)})(qb({center:{x:0,y:0},angle0:c.angle,angle1:f,innerRadius:60,outerRadius:150,fill:s.color,stroke:{color:"white",width:1}}))}}},l=Mmn("my-3")({viewBox:"-160 -160 320 320",width:"200",height:"200"})(MB(n8(u)({angle:0,visual:un})(e))(function(c){return c.visual}));return{chart:l,legend:o}}},Zx=function(){return function(e){var n=Gmn(e),t=xmn(n.segments)(n.tableLegend),a=Je(Rr(n.title))(Amn("text-uppercase text-secondary small t--subtitle")),r=function(o){if(n.tableLegend)return sT("col-12 text-center col-md mb-3 mb-md-0")(sT("bg-very-light-grey py-4")(o));if(xe)return sT("col-12 text-center col-md-4")(o);throw new Error("Failed pattern match at Component.PieChart (line 57, column 5 - line 62, column 52): "+[o.constructor.name])};return n.stackLegend?ce([a,t.chart,t.legend]):ce([sT("ml-4")(a),pD("row align-items-center justify-content-center")([r(t.chart),sT("col")(t.legend)])])}};var Lmn=Z(ge),jmn=Zx(),Nmn=B(W),Pmn=B(ae),Pwe=function(e){var n=function(){var t=Lmn(e.props.breakdown)(function(a){return{value:a.percentage,color:a.chartColor,name:a.label,pct:La(a.percentage)}});return jmn({segments:t,title:"Average aid package",stackLegend:!1,tableLegend:!1})}();return Nmn("card")([ha(e),Pmn("card-body")(n)])};var GB=B(W),kwe=B(ae),kmn=m0(L)()(),Omn=It(L),Umn=Vn(L),Owe=function(e){return GB("card")([ha(e),kwe("card-body")(GB("row mb-4 align-items-center text-center text-md-left")([kwe("col-12 col-md-auto")(kmn("h-100 border-0 rounded")({src:e.video.link,allowFullScreen:!0})("")),GB("col mt-2 mt-md-0")([Omn("")(e.video.title),Umn("")(E_(e.video.duration))])]))])};var UB=ba(Bwe());var Kmn=Af(),epn=function(e){return e},npn=function(e){return e};var Jwe=function(e){var n=Kmn(e);return function(){return function(){return n(UB.default)}}},Wwe=function(e){return epn(Ga(e))};var qwe=npn,zwe=Ga("auto");var tpn=Jwe(ae)()(),e7=B(W),apn=Yn(W)()(),rpn=An(_t),opn=It(L),$we=B(L),ipn=xa(L)()(),upn=N(ge),lpn=function(e){var n=function(a){return tpn({duration:qwe(350),height:function(){if(a instanceof Ya)return Wwe(0);if(a instanceof er)return zwe;throw new Error("Failed pattern match at SchoolDetails.ContentModules.GrantsAndScholarships (line 43, column 19 - line 45, column 43): "+[a.constructor.name])}()})},t=function(a){if(a instanceof Ya)return"down";if(a instanceof er)return"up";throw new Error("Failed pattern match at SchoolDetails.ContentModules.GrantsAndScholarships (line 38, column 5 - line 38, column 31): "+[a.constructor.name])};return fo(sa(Ya.value))(function(a){return function(r){return e7("")([apn("row border-bottom align-items-center mb-4")({onClick:rpn(r)(C0(a))})([opn("mb-4 mx-2")(e.name),$we("ml-auto ms-auto mb-4 x-large fe fe-chevron-"+t(a))("")]),n(a)(e7("mb-4")([$we("mb-3")(e.description),ipn("")({href:e.url,target:"_blank"})("Learn more here")]))])}})},Vwe=function(e){return e7("card")([ha(e),e7("card-body")(upn(lpn)(e.props.grantsAndScholarships))])};var cpn=re(Mi),fT=B(W),spn=Nc(L),Qwe=Vn(L),fpn=Yn(W)()(),Ywe=Z(ge),vpn=Ho(),mpn=Yl()(),ppn=Is(L),_pn=Zn(L),Xwe=function(e){var n="t--local-area-spotlight-carousel-"+cpn(ua(e.school));return fT("card")([ha(e),fT("card-body")([spn("")(e.area.name),Qwe("")(e.area.description),fT("mb-4")([fpn("flickity-viewport-visible "+n)({style:fn({display:"none"})})(Ywe(e.area.images)(function(t){return vpn("w-100 rounded")({src:t.url,ar:"2:1",fit:"crop",auto:"compress,format",sizes:k0})})),mpn({containerClassName:n,onMountShowContainer:!0,pageDots:!0})]),ppn("small text-uppercase mt-6 mb-4")("Top things to do"),fT("row")(Ywe(e.activities)(function(t){return fT("col-12 col-md-6")([_pn("")(t.name),Qwe("")(t.description)])}))])])};var dpn=Ct(L)()(),hpn=_e(Tue),gpn=An(_t),Dpn=re(Mi),HB=B(W),Zwe=Vn(L),ypn=f0(ae),bpn=s0(W),Kwe=Z(ge),Rpn=c0(W),eSe=Es(L),wpn=Ir(L),Spn=Hr(Te)(ft),Epn=Yn(W)()(),Cpn=Ho(),Ipn=Yl()(),nSe=function(e){var n=function(r){return function(o){return function(i){return Je(r)(function(u){return dpn("btn "+function(){var l=hpn(u)(o);return l?"btn-primary":"btn-outline-secondary"}())({onClick:gpn(i)(u)})(Fue(u))})}}},t=function(r){return"t--non-academic-facilities-carousel-"+(Dpn(ua(e.school))+("-"+Oe("")(OG)(r)))},a=function(r){if(r instanceof b0)return e.residence;if(r instanceof j_)return e.athletic;if(r instanceof Zm)return e.dining;throw new Error("Failed pattern match at SchoolDetails.ContentModules.NonAcademicFacilities (line 73, column 18 - line 76, column 32): "+[r.constructor.name])};return fo(sa(b0.value))(function(r){return function(o){return HB("card")([ha(e),HB("card-body")([HB("btn-group btn-group-toggle w-100 mb-4")([n(e.residence.id)(r)(o),n(e.athletic.id)(r)(o),n(e.dining.id)(r)(o)]),Zwe("")(a(r).description),ypn("table table-lg")(bpn("")(Kwe(a(r).information)(function(i){return Rpn("")([eSe("")(i.name),eSe("text-right w-50 font-weight-bold fw-bold")(i.description)])}))),Je(a(r).list)(function(i){return ce([wpn("uppercase text-secondary")(Ee("")(Mue(a(r).id))),Zwe("")(Spn(", ")(i))])}),Epn("flickity-viewport-visible mb-4 "+t(a(r).id))({style:fn({display:"none"})})(Kwe(function(i){return i.photos}(a(r)))(function(i){return Cpn("w-100 rounded")({src:i.url,ar:"2:1",fit:"crop",crop:"faces",auto:"compress,format",sizes:k0})})),Ipn({containerClassName:t(a(r).id),onMountShowContainer:!0,pageDots:!0,key:OG(Ee(b0.value)(a(r).id))})])])}})};var Tpn=B(W),Fpn=B(ae),Mpn=f0(ae),Gpn=s0(W),Apn=Z(ge),xpn=c0(W),tSe=Es(L),aSe=function(e){return Tpn("card")([ha(e),Fpn("card-body")(Mpn("table table-lg")(Gpn("")(Apn(e.props.costs)(function(n){return Je(n.description)(function(t){return xpn("")([tSe("")(n.name),tSe("text-right w-50")(t)])})}))))])};var bR=B(W),Lpn=B(ae),jpn=Ho(),Npn=It(L),rSe=Vn(L),Ppn=Ea(L),kpn=Is(L),Opn=N(ge),oSe=function(e){var n=function(t){return bR("row mb-4 align-items-center text-center text-md-left")([Lpn("col-12 col-md-3")(jpn("rounded img-fluid")({src:t.url,fit:"crop",crop:"edges",ar:"3:2",sizes:` (min-width: 1200px) 285px, (min-width: 992px) 215px, (min-width: 768px) 180px, (min-width: 576px) 540px `})),bR("col mt-2 mt-md-0")([Npn("")(t.name)])])};return bR("card")([ha(e),bR("card-body")([rSe("")(e.description),bR("row pt-5 mx-1 border-bottom")([rSe("col-6 px-0")("Religious affiliation"),Ppn("col-6 ml-auto ms-auto text-right px-0")(e.affiliation)]),kpn("small text-uppercase my-5")("Sacred spaces and religious facilities"),bR("")(Opn(n)(e.locations))])])};var vT=B(W),BB=Vn(L),Upn=Ea(L),Hpn=B(ae),Bpn=m0(L)()(),Jpn=It(L),Wpn=Ho(),iSe=function(e){return vT("card")([ha(e),vT("card-body")([BB("")(e.spectatorSports.description),vT("row pt-5 mx-1 border-bottom")([BB("")("Conference affiliation"),Upn("ml-auto ms-auto")(e.spectatorSports.conferenceAffiliation)]),vT("row my-4 align-items-center")([Hpn("col-12 col-md-auto")(Bpn("h-100 border-0 rounded")({src:e.spectatorSports.video.url,allowFullScreen:!0})("")),vT("col mt-2 mt-md-0")([Jpn("")(e.spectatorSports.video.title),BB("")(E_(e.spectatorSports.video.duration))])]),Je(e.spectatorSports.photoUrl)(function(n){return Wpn("rounded img-fluid mt-3")({src:n,ar:"3:2",fit:"crop",crop:"edges",sizes:k0})})])])};var _D=B(W),uSe=Zn(L),JB=Vn(L),qpn=mh(Ot),zpn=Op(Ot),WB=Z(ge),$pn=re(Mi),mT=B(ae),Vpn=_e(va),Qpn=Yn(W)()(),Ypn=Ho(),Xpn=Yl()(),lSe=en(L),Zpn=re(ze),Kpn=Ct(L)()(),e_n=An(_t),cSe=function(e){var n=function(o){return ce([_D("col mt-3 pr-5")([uSe("mb-2")(o.name),JB("text-secondary")(o.category),Je(o.description)(function(i){return JB("")(i)})]),Ba("")])},t=qpn(zpn(WB(e.props.groups)(function(o){return o.category}))),a="t--student-groups-carousel-"+$pn(ua(e.school)),r=Gd({title:L_(lv(e.module.data)),items:e.props.groups,renderItem:function(o){return mT("mb-5")(n(o))},search:{className:"t--student-group-search",placeholder:"Search a student group",toTerm:function(o){return o.name}},filter:{className:"t--student-group-category-selector",placeholder:"All categories",toValue:function(o){return o.category},items:t,predicate:Vpn}});return _D("card")([ha(e),_D("card-body")([_D("mb-4")([Qpn("flickity-viewport-visible "+a)({style:fn({display:"none"})})(WB(e.props.photos)(function(o){return Ypn("w-100 rounded")({src:o.url,ar:"2:1",fit:"crop",auto:"compress,format"})})),Xpn({containerClassName:a,onMountShowContainer:!0,pageDots:!0})]),_D("row mt-6")([mT("col")(lSe("large")("Student-run groups and organizations")),mT("col-auto")(lSe("large")(Zpn(da(e.props.groups))))]),Ba(""),_D("row")(WB(Lr(function(o){return o.isFeatured})(e.props.groups))(function(o){return _D("col-12 col-md-6")([uSe("mt-4 mb-2")(o.name),JB("text-secondary small")(o.category)])})),mT("row mt-4")(mT("col-6 offset-3")(Kpn("btn btn-outline-primary btn-block")({onClick:e_n(e.showOverlay)(r)})("All student groups")))])])};var n_n=mh(Ot),t_n=Op(Ot),a_n=Z(ge),pT=B(W),r_n=Ho(),sSe=Zn(L),fSe=Vn(L),RR=B(L),o_n=_e(va),i_n=sM(W),u_n=Ir(L),l_n=N(ge),vSe=B(ae),c_n=Ct(L)()(),s_n=An(_t),mSe=function(e){var n=function(o){return o.city+(", "+o.country)},t=n_n(t_n(a_n(e.props.programs)(n))),a=function(o){return pT("col-12 mb-4 col-md-6 mb-md-0")([Je(o.imageURL)(function(i){return r_n("rounded img-fluid")({src:i,ar:"3:2",fit:"crop",crop:"edges"})}),sSe("mt-3")(o.name),Je(o.description)(function(i){return fSe("")(i)}),RR("mt-n2 text-secondary")("Location: "+n(o)),Je(o.duration)(function(i){return RR("text-secondary mt-2")("Program length: "+i)})])},r=Gd({title:"All programs",items:e.props.programs,renderItem:function(o){return pT("mb-5")([sSe("")(o.name),Je(o.description)(function(i){return fSe("")(i)}),RR("mt-n2 text-secondary")("Location: "+n(o)),Je(o.region)(function(i){return RR("text-secondary mt-2")("Region: "+i)}),Je(o.duration)(function(i){return RR("text-secondary mt-2")("Program length: "+i)})])},search:{className:"t--program-name-search",placeholder:"Search a program",toTerm:function(o){return o.name}},filter:{className:"t--program-location-selector",placeholder:"All locations",toValue:n,items:t,predicate:o_n}});return pT("card")([ha(e),pT("card-body")([Je(e.props.description)(function(o){return RR("mb-4")(o)}),i_n("")([u_n("")("Featured programs"),pT("row mt-4")(l_n(a)(e.props.featuredPrograms))]),vSe("row mt-4")(vSe("col-6 offset-3")(c_n("btn btn-outline-primary btn-block")({onClick:s_n(e.showOverlay)(r)})("All programs")))])])};var qB=B(W),pSe=B(ae),f_n=Z(ge),v_n=Ho(),m_n=Zn(L),p_n=Vn(L),_Se=function(e){return qB("card")([ha(e),pSe("card-body")(ce(f_n(e.traditions)(function(n){return qB("row mb-4")([Je(n.photoUrl)(function(t){return pSe("col-12 col-md mb-4 mb-md-0")(v_n("w-100 rounded")({src:t,fit:"crop",crop:"faces",ar:"2:1",auto:"compress,format"}))}),qB("col")([m_n("")(n.name),p_n("")(n.description)])])})))])};var __n=B(ae),d_n=Yn(ae)()(),h_n=B(L),g_n=B(W),D_n=Z(ge),hi=Ef()(),y_n=An(_t),b_n=Ct(W)()(),R_n=en(L),w_n=Bn(Mn)(qt),S_n=Jn(tt),zB=z(pt),dSe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),hSe=function(){function e(){}return e.value=new e,e}(),gSe=function(e){return function(n){return function(t){var a=__n("text-center p-4")(d_n("spinner-border text-primary")({role:"status"})(h_n("sr-only")("Loading\u2026"))),r=function(u){return t(dSe.create(u))},o=function(u){var l=qv(Eu(zue)(function(s){return lv(s.data)})),c=function(s){return{isPublished:s.isPublished,isUserHq:e.isUserHq,module:s,onContentModuleInteraction:e.onContentModuleInteraction,showLikeButton:e.showLikeButton,school:e.school,schoolDb:e.schoolDb}};return g_n("pb-5 "+function(){var s=gt(n.overlay);return s?"d-none":""}())(D_n(l(u))(function(s){if(s.data instanceof HG)return fwe(hi(c(s))(s.data.value0));if(s.data instanceof BG)return mwe(hi(c(s))({props:s.data.value0}));if(s.data instanceof JG)return pwe(hi(c(s))(s.data.value0));if(s.data instanceof WG)return gwe(hi(c(s))({mapboxAccessToken:e.mapboxAccessToken}));if(s.data instanceof qG)return ywe(hi(c(s))(s.data.value0));if(s.data instanceof zG)return bwe(hi(c(s))(s.data.value0));if(s.data instanceof $G)return Gwe(hi(c(s))({props:s.data.value0,showOverlay:r,randomSeed:e.randomSeed}));if(s.data instanceof VG)return Lwe(hi(c(s))({props:s.data.value0,showOverlay:r}));if(s.data instanceof QG)return Nwe(hi(c(s))(s.data.value0));if(s.data instanceof YG)return Pwe(hi(c(s))({props:s.data.value0}));if(s.data instanceof XG)return Owe(hi(c(s))(s.data.value0));if(s.data instanceof ZG)return Vwe(hi(c(s))({props:s.data.value0}));if(s.data instanceof KG)return Xwe(hi(c(s))(s.data.value0));if(s.data instanceof e4)return nSe(hi(c(s))(s.data.value0));if(s.data instanceof n4)return aSe(hi(c(s))({props:s.data.value0}));if(s.data instanceof t4)return oSe(hi(c(s))(s.data.value0));if(s.data instanceof a4)return iSe(hi(c(s))(s.data.value0));if(s.data instanceof r4)return cSe(hi(c(s))({props:s.data.value0,showOverlay:r}));if(s.data instanceof o4)return mSe(hi(c(s))({props:s.data.value0,showOverlay:r}));if(s.data instanceof i4)return _Se(hi(c(s))(s.data.value0));throw new Error("Failed pattern match at SchoolDetails.ForYou (line 115, column 47 - line 184, column 48): "+[s.data.constructor.name])}))},i=y_n(t)(hSe.value);return ce([Oe(a)(o)(_o(e.contentModules)),Je(n.overlay)(function(u){return ce([b_n("btn btn-link px-0")({onClick:i})([R_n("fe fe-chevron-left mr-1")(""),Y("Back")]),u])})])}}},DSe=function(e){return function(n){if(n instanceof dSe)return w_n(mr(S_n(M9)))(function(){return zB({overlay:new d(n.value0)})});if(n instanceof hSe)return zB({overlay:C.value});throw new Error("Failed pattern match at SchoolDetails.ForYou (line 66, column 1 - line 66, column 55): "+[e.constructor.name,n.constructor.name])}},ySe=function(){return zB({overlay:C.value})}();var E_n=la(mu),C_n=cv(),I_n=WP(),bSe=function(e){var n=xa(e)()();return function(t){return function(a){return n(t)({href:a.href,onClick:E_n(function(r){return function(){return C_n(r)(),I_n(r)(),a.onClick()}})})}}};var T_n=Mr(L)()(),RSe=An(_t),F_n=Mr(W)()(),M_n=en(L),G_n=Sw(Ute),A_n=Sa(),x_n=Yn(W)()(),L_n=Ye(ca),j_n=N(ge),N_n=function(e){return function(n){return n instanceof d&&n.value0 instanceof R_?"btn-success":n instanceof d&&n.value0 instanceof w_?"btn-danger":n instanceof d&&n.value0 instanceof b_?"btn-secondary":n instanceof d&&n.value0 instanceof S_||n instanceof C&&e.primary?"btn-primary":n instanceof C?"btn-outline-primary":"btn-light"}},P_n=function(e){return e instanceof R_?"badge-soft-success bg-success-soft":e instanceof w_?"badge-soft-danger bg-danger-soft":e instanceof b_?"badge-secondary bg-secondary":e instanceof S_?"badge-soft-primary bg-primary-soft":"badge-light bg-light text-dark"},wSe=function(){return function(e){return function(n){return function(t){var a=function(v){return" t--school-list-status-"+lu(rE(v))},r=function(v){return T_n("dropdown-item mb-1 "+(P_n(v)+a(v)))(Fr)({onClick:RSe(t)(new d(v))})(PM(v))},o=function(){var v=function(m){if(xe)return[F_n("dropdown-item mb-1 d-flex align-items-end badge-danger bg-danger t--school-list-status-remove")(Fr)({onClick:RSe(t)(C.value)})([M_n("fe fe-x mr-2")(""),Y("Remove from list")])];throw new Error("Failed pattern match at Hub.ListStatusSelector (line 25, column 1 - line 30, column 15): "+[])};return n instanceof C?[]:v(!0)}(),i=G_n(V9)(Oe([])(kp)(n)),u=A_n(e),l=Un(u.buttonContent)(Y(Oe("Add to my list")(PM)(n))),c=Un(u.primary)(!1),s=Un(u.small)(!1),f=Un(u.buttonClass)("btn btn-block "+function(){return s?"no-animation btn-sm":"px-4"}());return w3("")({toggleClass:f+(" t--school-list-status-selector "+N_n({primary:c})(n)),toggleContent:l,contentId:"school-list-status-selector-dropdown-options",content:function(v){return x_n(Un(u.menuClass)("")+(" "+v.className))({id:v.contentId})(L_n(j_n(r)(i))(o))},ariaLabelInput:Ls("School list selector dropdown")})}}}};var k_n=on(),O_n=An(ao),SSe=function(e){return Ys(new Ru(e.placeholder))()({options:jce(e.schoolDb),getOptionLabel:LS,getOptionValue:function(n){return k_n(ua(n))},onSelect:O_n(e.onSelect)(function(n){return n}),placeholder:e.placeholder,noOptionsMessage:tx(function(n){return Y("No schools found")}),classNamePrefix:e.classNamePrefix})};var ESe="/messages";var n7=Ct(L)()(),$B=la(pr),t7=B(ae),$_n=B(W),V_n=xa(L)()(),a7=function(e){var n=n7("btn btn-block btn-outline-secondary t--sdp-connection-pending")({disabled:!0,title:"Your connection request has been sent to the school"})("Requested"),t=function(){if(e.shortText)return"Ignore";if(xe)return"Ignore connection";throw new Error("Failed pattern match at Network.SemVine.SchoolDetailsButton (line 106, column 5 - line 108, column 40): "+[])}(),a=function(){if(e.vineBelowConnectionLimit instanceof d&&!e.vineBelowConnectionLimit.value0)return!0;if(e.vineBelowConnectionLimit instanceof d&&e.vineBelowConnectionLimit.value0||e.vineBelowConnectionLimit instanceof C)return!1;throw new Error("Failed pattern match at Network.SemVine.SchoolDetailsButton (line 111, column 7 - line 114, column 25): "+[e.vineBelowConnectionLimit.constructor.name])}(),r=n7("btn btn-block btn-primary px-4 t--sdp-connection-invite")({onClick:$B(e.onInviteSchool),disabled:a,style:fn({pointerEvents:function(){return a?"none":"auto"}()})})("Connect"),o=function(){return a?yC(DC)(t7("t--sdp-connection-invite-wrapper")(r)):r}(),i=function(){if(e.shortText)return"Accept";if(xe)return"Accept connection";throw new Error("Failed pattern match at Network.SemVine.SchoolDetailsButton (line 102, column 5 - line 104, column 40): "+[])}(),u=n7("btn btn-block btn-primary text-nowrap t--sdp-connection-accept")({onClick:$B(e.onAcceptInvitation),disabled:a,style:fn({pointerEvents:function(){return a?"none":"auto"}()})})(i),l=$_n("form-row")([t7("col-6 pr-2")(function(){return a?yC(DC)(t7("t--sdp-connection-accept-wrapper")(u)):u}()),t7("col-6 pl-2")(n7("btn btn-block btn-light text-nowrap t--sdp-connection-ignore")({onClick:$B(e.onIgnoreInvitation)})(t))]),c=KS(ua(e.school))(e.schoolDb);if(c instanceof zt&&c.value0.status instanceof Bl)return V_n("btn btn-block btn-outline-primary t--sdp-connection-go-to-chat")({href:ESe})("Message");if(c instanceof zt&&c.value0.status instanceof Xo&&c.value0.initiator instanceof ki)return l;if(c instanceof zt&&c.value0.status instanceof xu&&c.value0.initiator instanceof ki)return o;if(c instanceof zt&&c.value0.status instanceof Xo&&c.value0.initiator instanceof Ns||c instanceof zt&&c.value0.status instanceof xu&&c.value0.initiator instanceof Ns)return n;if(c instanceof Ra)return o;if(c instanceof or)return un;throw new Error("Failed pattern match at Network.SemVine.SchoolDetailsButton (line 33, column 3 - line 55, column 14): "+[c.constructor.name])};var Q_n=ro(Pr(No)),CSe=K(Pt),Y_n=Sa(),X_n=Xi($n(Qn()(E({reflectSymbol:function(){return"id"}})(ue)(E({reflectSymbol:function(){return"imageUrl"}})(ue)(E({reflectSymbol:function(){return"name"}})(ue)(E({reflectSymbol:function(){return"slug"}})(ue)(he))))))),Z_n=z(na),K_n=Z(ge),ISe=um(),edn=function(){return Q_n("schools_search_path")(function(e){return function(n){return CSe(function(){var t=Y_n(n);return e({term:t.term,only_ui_discoverable:Un(t.onlyUiDiscoverable)(!0)})}())(zr(function(t){return CSe(X_n("School Search Results")(t))(function(a){return Z_n(K_n(a)(function(r){return{imageUrl:r.imageUrl,name:r.name,id:ISe(r.id),slug:ISe(r.slug)}}))})}))}})},ndn=edn(),TSe=function(e){return ndn({term:e})};var FSe=Z(Vt),tdn=ms(Yv),MSe=function(){var e=function(t){return FSe(FSe(tdn(TSe(t)))(oc))(Ee([]))},n=function(t){return c4(R0(Zo.value)(t.slug))};return rx(new Ru("Search school"))()({loadOptions:ax(e),defaultOptions:!0,getOptionLabel:function(t){return t.name},getOptionValue:function(){var t=re(Mi);return function(a){return t(function(r){return r.id}(a))}}(),onSelect:la(mu)(n),placeholder:"Type to search",instanceId:"school-jump-bar"})}();var adn=Vf(W),rdn=Z(ge),odn=cl(ae),idn=bSe(L),udn=_e(Kue),GSe=on(),ldn=ov(),cdn=Z(J),sdn=wSe(),Qc=B(ae),fdn=Ho(),mp=B(W),vdn=B(L),VB=N(J),mdn=Yn(ae)()(),pdn=Nc(L),_dn=en(L),ddn=function(e){return function(n){var t=Lr(l4({chancingState:n.chancingState,featureFlags:n.featureFlags,currentUser:n.currentUser,configuration:n.configuration,school:e.school,schoolDb:e.schoolDb}))([Lu.value,Zo.value,Zi.value,ju.value,Jl.value,Wl.value,ql.value]),a=function(o){if(o instanceof Zo)return"Overview";if(o instanceof Lu)return"For you";if(o instanceof Zi)return"Chancing";if(o instanceof ju)return"Cost & scholarships";if(o instanceof Jl)return"Majors";if(o instanceof Wl)return"Admissions";if(o instanceof ql)return"Essay prompt";throw new Error("Failed pattern match at SchoolDetails.Header (line 183, column 15 - line 190, column 43): "+[o.constructor.name])},r=function(){if(n.mobileLayout)return"px-4 pb-0 mx-n3 bg-white nav-sm flex-nowrap overflow-x-auto overflow-y-hidden";if(xe)return"";throw new Error("Failed pattern match at SchoolDetails.Header (line 192, column 5 - line 196, column 13): "+[])}();return vn(e.showNav)(adn("nav nav-tabs overflow-visible border-bottom-0 "+r)(rdn(t)(function(o){return odn("nav-item text-nowrap")(idn("cursor-pointer py-3 nav-link t--sdp-tab-"+(JE(o)+function(){var i=udn(o)(e.activeTab);return i?" active":""}()))({onClick:e.onSwitchTab(o),href:R0(o)(function(i){return i.slug}(GSe(e.school)))})(a(o)))})))}},hdn=function(e){return function(n){if(n.currentUser instanceof C)return ldn({text:"Add to my list",className:"btn btn-outline-primary btn-block",auth0ActiveTab:rv});if(n.currentUser instanceof d){var t=cdn(ZS(ua(e.school))(e.schoolDb))(function(a){return a.status});return sdn({small:!1,primary:!1})(t)(e.onListStatusChange)}throw new Error("Failed pattern match at SchoolDetails.Header (line 138, column 33 - line 150, column 34): "+[n.currentUser.constructor.name])}},ASe=function(e){return function(n){var t=Qc("col-10 col-lg-5 py-2 mr-lg-0 pl-0")(function(){var i=da(e.schoolDb.searchOptions)<10;return i?MSe:SSe({schoolDb:e.schoolDb,onSelect:e.onSelectSchool,placeholder:"Type to search...",classNamePrefix:""})}()),a=GSe(e.school),r=function(){if(a.publicPrivate instanceof l_)return"Public";if(a.publicPrivate instanceof c_)return"Private";throw new Error("Failed pattern match at SchoolDetails.Header (line 105, column 21 - line 107, column 33): "+[a.publicPrivate.constructor.name])}(),o=function(i){return fdn("rounded")({src:a.imgixPath,fit:"crop",crop:"edges",style:fn({height:i,width:"100%",objectFit:"cover"})})};return mp("header mb-3 mx-n3 mx-md-0")([mp("row pr-3 my-3")([Qc("col pr-0")(ma(n.backButton)),ma(Gu(e.configuration)(t)),vdn("col")("")]),mp("position-relative mx-3 mx-lg-0")([Qc("d-md-none")(o("15rem")),Qc("d-none d-md-block")(o("20rem")),ma(VB(mdn("position-absolute d-inline bg-gray-100 rounded")({style:fn({top:"1.5rem",right:"1.5rem"})}))(Kye(e.onEdit)(nR.value)))]),Qc("container px-lg-0")(mp("pb-0 pb-md-3")([mp("row align-items-end mt-4")([mp("col mb-3")([mp("row align-items-center")([Qc("col-auto")(pdn("header-title")(a.name)),ma(VB(Qc("col-auto pl-0"))(di(e.onEdit)(Sd.value)))]),Qc("row")(mp("col small")(ph(_dn("mx-2")("\u2022"))(Go(VB(Y))([new d(SS(a.address)),n9(a),new d(r)]))))]),Qc("col-12 col-lg-auto my-0 mb-lg-3")(mp("row no-gutters g-0 align-items-center")([vn(e.showConnectButton)(Qc("col-12 col-lg-auto pb-3 pb-lg-0 pr-lg-2")(a7({school:e.school,schoolDb:e.schoolDb,onInviteSchool:e.onInviteSchool,onAcceptInvitation:e.onAcceptInvitation,onIgnoreInvitation:e.onIgnoreInvitation,featureFlags:n.featureFlags,vineBelowConnectionLimit:e.vineBelowConnectionLimit,shortText:!1}))),ma(Gu(e.configuration)(Qc("col-12 col-lg-auto")(hdn(e)(n))))]))]),Qc("row border-bottom mx-1")(Qc("col col-lg-auto mt-3 mt-lg-0 px-0")(ddn(e)(n)))]))])}};var xSe=B(ae),gdn=en(L),Ddn=re(ze),ydn=Zn(L),r7=B(W),LSe=f0(W),jSe=H1(ae),o7=c0(ae),NSe=B1(L),PSe=s0(W),QB=Z(ge),kSe=Es(L),bdn=Ir(L),Rdn=pf(Ot),wdn=function(e){return xSe("card bg-white")(xSe("card-body")(gdn("")(e.name+(" has "+(Ddn(da(e.majors))+" different majors")))))},Sdn=function(e){return ce([ydn("")("Most popular majors"),r7("card")([r7("table-responsive")([LSe("table table-sm table-nowrap card-table")([jSe("")(o7("")(NSe("")("Major"))),PSe("list")(QB(e)(function(n){return o7("")(kSe("")(n.name))}))])])])])},Edn=function(e){return function(n){var t=O9(n.id)(e),a=QB(hte(t))(function(r){var o=Hp(r).areaOfStudy;return ce([r7("card")([bdn("card-header")(o),r7("table-responsive")([LSe("table table-sm table-nowrap card-table")([jSe("")(o7("")(NSe("")("Major"))),PSe("list")(QB(qv(Rdn(function(i){return i.name}))(sc(r)))(function(i){return o7("")(kSe("")(i.name))}))])])])])});return ce(a)}},OSe=function(e){return function(n){var t=[{name:"Economics"},{name:"Biology"},{name:"Math"},{name:"Political Science"},{name:"English"},{name:"Psychology"},{name:"Computer Science"},{name:"Chemistry"},{name:"Art"}];return ce([wdn(n),function(){return n.id==="b1fe9c0b-0310-45f9-8579-1ad20fabacb1"?Sdn(t):un}(),Edn(e)(n)])}};var USe=z(pt),HSe=Gi(Vt),Cdn=xr(HSe),Idn=K(qt),Tdn=Dr(HSe),O0=B(W),i7=Yn(ae)()(),BSe=It(L),YB=B(L),u7=B(ae),Fdn=Zn(L),Mdn=Ir(L),XB=en(L),Gdn=en(ae),ZB=Ea(L),Adn=re($i),JSe=re(ze),xdn=Yn(L)()(),Ldn=xa(L)()(),KB=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),WSe=function(e){return function(n){if(n.value0 instanceof Qt)return USe({liteChancing:e.liteChancing,schools:e.schools,chancedSchool:function(){var t=Ei(n.value0.value0.value0);if(t instanceof d)return new zt(t.value0);if(t instanceof C)return Ra.value;throw new Error("Failed pattern match at SchoolDetails.Chancing.LiteChancingCta (line 57, column 11 - line 59, column 30): "+[t.constructor.name])}()});if(n.value0 instanceof at)return Cdn(KB.create)(function(t){return{chancedSchool:e.chancedSchool,schools:e.schools,liteChancing:t}})(jye({schools:e.schools})(e.liteChancing)(n.value0));throw new Error("Failed pattern match at SchoolDetails.Chancing.LiteChancingCta (line 52, column 16 - line 63, column 55): "+[n.constructor.name])}},qSe=zM()({utmCampaign:"uaq-38-sdp"})(b3),zSe=function(e){var n=[Gye(e)];return Idn(Tdn(KB.create)(Lye({schoolItems:n,redirectUrlOverride:new d(qSe)})))(function(t){return USe({schools:n,chancedSchool:new or(C.value),liteChancing:t})})},$Se=function(e){return function(n){return function(t){return function(a){var r=function(l){return Je(l.score)(function(c){return O0("row align-items-center mb-3")([i7("col-12 col-lg-auto")({style:fn({minHeight:"140px",minWidth:"280px"})})(hR({score:new d(Br(c*100))})),O0("col-12 col-lg py-3 my-auto")([BSe("font-weight-normal fw-normal")("Your chances"),YB("h3 text-gray-800 mb-0 large")(La(c))])])})},o=function(l){return tle(l)},i=function(l){return e.liteChancing.chancingIsLoading?i7("mb-4 spinner-border spinner-border-lg text-primary small")({role:"status"})(YB("sr-only")("Loading\u2026")):r(l)},u=function(l){return Pye(e.liteChancing)(function(c){return n(KB.create(c))})(function(c){return u7("mt-2 mb-0 lite-chancing-cta")(u7("card h-100")(O0("card-body overflow-auto mh-100")([O0("d-flex align-items-center mb-4")([Fdn("my-0 mr-3")("Chancing"),ma(di(a)(iR.value))]),O0("row")([O0("col-12 col-lg-6")([BSe("")("What are your chances of acceptance?"),i(l)]),O0("col-12 col-lg-6")([Mdn("font-weight-normal fw-normal")("Your chancing factors"),c.gpaSlider({className:"mt-2 mb-3",label:function(s){return ce([XB("mb-2")("Unweighted GPA:"),Gdn("gpa")(ZB("")(" "+Adn(s)))])},onChange:o(c.redirectUrl)}),O0("mb-3 d-flex flex-row justify-content-between")([c.satMathScoreSlider({className:"small t--sdp-lite-chancing-cta-left-sidebar-sat-math",label:function(s){return ce([Y("SAT: "),ZB("")(JSe(s)+" math")])},onChange:o(c.redirectUrl)}),c.satVerbalScoreSlider({className:"small t--sdp-lite-chancing-cta-left-sidebar-sat-verbal",label:function(s){return ce([Y(" | "),ZB("")(JSe(s)+" verbal")])},onChange:o(c.redirectUrl)})]),u7("mb-2")(c.genderDropdown({onChange:o(c.redirectUrl),className:""})),c.ecSelector({onChange:o(c.redirectUrl),className:""}),O0("")([O0("mb-1 small")([XB("text-danger")("Low accuracy"),XB("text-muted")(" (4 of 18 factors)")]),i7("progress")({style:fn({backgroundColor:"#95aac9",height:"3px"})})(xdn("progress-bar bg-danger")({role:"progressbar",style:fn({width:"15%"})})(""))]),u7("mt-4")(Ldn("t--sdp-lite-chancing-cta-left-sidebar-complete-full-profile-uaq-8 btn btn-primary w-100")({href:Ms({key:"utm_content",value:"add-more-factors"})(qSe)})("Add more factors \u203A"))])])])))})};if(e.chancedSchool instanceof or)return i7("mb-4 spinner-border spinner-border-lg text-primary small")({role:"status"})(YB("sr-only")("Loading\u2026"));if(e.chancedSchool instanceof Ra)return t;if(e.chancedSchool instanceof zt)return u(e.chancedSchool.value0);throw new Error("Failed pattern match at SchoolDetails.Chancing.LiteChancingCta (line 67, column 3 - line 79, column 32): "+[e.chancedSchool.constructor.name])}}}};var VSe=Kb(L),jdn=oa(Te)(ft),QSe=re(ze),Ndn=Zn(ae),Pdn=It(L),l7=B(W),c7=B(ae),kdn=Zn(L),Odn=function(e){var n=aD(Rd(e.studentsPerFaculty.percentile));return ce([VSe("Student faculty ratio")(jdn([_0(qM.value),QSe(e.studentsPerFaculty.value),":1 is ",n,"."])),Xa("")(QSe(e.studentsPerFaculty.value)+":1")])},Udn=function(e){return ce([VSe("Calendar system")(` While most colleges use the semester system (2 terms), some use quarters or trimesters. Quarters and trimesters compress typical semesters into a faster-paced schedule, but allow for more classes to be taken. Some schools also use quarters/trimesters to facilitate co-op programs. `),Xa("mr-1")(aee(e.calendarSystem))])},Hdn=function(e){var n=function(t){return Ndn("d-inline-block mb-2")(pl(t))};return ce([Pdn("mb-4 mt-5 mt-md-4")("Special academic offering"),l7("")([vn(e.academicOfferings.studyAbroad)(n("Study abroad")),function(){if(e.academicOfferings.creditForApExams&&e.academicOfferings.creditForIbExams)return n("Credit for AP and IB exams");if(e.academicOfferings.creditForApExams&&!e.academicOfferings.creditForIbExams)return n("Credit for AP exams");if(!e.academicOfferings.creditForApExams&&e.academicOfferings.creditForIbExams)return n("Credit for IB exams");if(!e.academicOfferings.creditForApExams&&!e.academicOfferings.creditForIbExams)return un;throw new Error("Failed pattern match at SchoolDetails.Overview.Academics (line 72, column 7 - line 76, column 32): "+[e.academicOfferings.creditForApExams.constructor.name,e.academicOfferings.creditForIbExams.constructor.name])}(),vn(e.academicOfferings.offersGradDegree)(n("Offers graduate degree")),vn(e.academicOfferings.careerCounseling)(n("Academic and career counseling"))])])},YSe=function(e){return c7("card t--academics mt-5")(c7("card-body d-flex align-items-start")(l7("flex-grow-1 mr-4")([l7("d-flex align-items-center mb-5")([kdn("my-0 mr-3 flex-grow-1")("Academics"),ma(di(e.onEdit)(oR.value))]),l7("row")([c7("col-12 col-md-6")(Odn(e.school)),c7("col-12 col-md-6")(Udn(e.school))]),Hdn(e.school)])))};var s7=B(W),wR=B(ae),Bdn=Is(L),Jdn=It(W),Wdn=gu(L),qdn=Zn(ae),zdn=Ir(L),$dn=Vn(L),Vdn=FG(),Qdn=z(On),Ydn=Z(Ex),Xdn=Zn(L),Zdn=en(ae),Kdn=on(),ehn=function(e){return Je(e.admissions.acceptanceRate)(function(n){return s7("row align-items-center mb-3")([wR("col-12 col-lg-6")(wR("row")(wR("col-6 order-2 order-lg-1 px-sm-4 px-lg-0")(hR({score:new d(Br(100*n.value))})))),s7("col-12 col-lg-6 py-3 my-auto")([Bdn("text-uppercase text-muted")("Overall acceptance rate"),Jdn("text-gray-800 mb-0")([Y(La(n.value)),Wdn("text-secondary ml-2")(cD(e))])])])})},nhn=function(e){return wR("card t--chancing")(s7("card-body")([qdn("")(Y(function(){if(e.admissions.acceptanceRate instanceof d)return iRe(e.name)(e.admissions.acceptanceRate.value0.value);if(e.admissions.acceptanceRate instanceof C)return e.name;throw new Error("Failed pattern match at SchoolDetails.Overview.Chancing (line 69, column 26 - line 71, column 31): "+[e.admissions.acceptanceRate.constructor.name])}())),ehn(e),zdn("")("Want to see your real chances?"),$dn("")("We take every aspect of your personal profile into consideration when calculating your admissions chances."),Vdn({text:"Calculate my chances",className:"btn btn-primary"})]))},XSe=function(e){return function(n){return function(t){var a=nhn(e.school);return function(r){if(r instanceof lR)return Je(Cx(r.value1))(DR({onSwitchTab:Qdn(e.onSwitchTab),showViewChancingExplanationCTA:!0,schoolDb:e.schoolDb})(e.school)(r.value0)(Ydn(Tx(r.value1))(function(o){return o.top})));if(r instanceof sR)return $Se(e.liteChancing)(t)(a)(e.onEdit);if(r instanceof fR)return zI({narrowLayout:n.mobileLayout});if(r instanceof cR)return wR("card")(s7("card-body")([Xdn("mr-3")("Chancing"),wR("p-6 text-center")(Zdn("spinner-border spinner-border-sm text-primary")(un))]));throw new Error("Failed pattern match at SchoolDetails.Overview.Chancing (line 42, column 7 - line 61, column 16): "+[r.constructor.name])}(Ix({currentUser:n.currentUser,chancingState:n.chancingState,school:Kdn(e.school)}))}}};var f7="/recruit/verify-profile";var thn=mt(Le),ahn=Z(J),rhn=_e(dc),ohn=xa(W)()(),ihn=en(L),v7=B(W),eJ=B(L),ZSe=xa(L)()(),uhn=B(ae),lhn=Zn(L),chn=Vn(L),nJ=function(e){return function(n){return e.featureFlags.rcr2577ClaimSchoolProfileLinkOnSdp?e.school.profileClaimed?C.value:thn(Gu(e.configuration))(function(){var t=ahn(e.currentUser)(function(a){return a.role});return t instanceof C?new d(n(Ce)):t instanceof d&&t.value0 instanceof uN&&rhn(t.value0.value0.schoolId)(ua(e.school))?new d(n(Ce)):C.value}()):C.value}},KSe=function(e){return nJ(e)(function(n){return ohn("d-flex align-items-center")({href:f7})([ihn("material-symbol large mr-2")("verified"),v7("d-flex flex-column flex-md-row")([eJ("mr-md-2")("Work at "+(LS(e.school)+"?")),eJ("")("Verify your profile")])])})},eEe=function(e){return nJ(e)(function(n){return v7("d-flex flex-column flex-md-row justify-content-center align-items-center border-top pt-3 mb-5")([eJ("mr-md-2")("Do you work at a school?"),ZSe("")({href:f7})("Verify your profile")])})},nEe=function(e){return nJ(e)(function(n){return uhn("card bg-cv-green-50")(v7("card-body d-flex align-items-center")([kE("img-fluid mr-4 d-none d-md-block")("/img/sem/claim-school-profile-cta.svg"),v7("")([lhn("")("Do you work at "+(LS(e.school)+"?")),chn("")(` Verify your profile\xA0to keep your college's data up to date, get insights on user activity and connect with hand raiser students `),ZSe("")({href:f7})("Verify your profile")])]))})};var shn=_e(dc),tJ=B(W),fhn=pu(L),vhn=kl()(),mhn=An(ao),phn=ta(L),_hn=B(ae),dhn=en(L),tEe=re(ze),_T=z(pt),aEe=Bn(Mn),rEe=aEe(qt),aJ=Kr(tt),rJ=z(na),hhn=aEe(Pt),oJ=function(){function e(){}return e.value=new e,e}(),oEe=function(){function e(){}return e.value=new e,e}(),iEe=function(){function e(){}return e.value=new e,e}(),uEe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),lEe=function(){function e(){}return e.value=new e,e}(),cEe=function(){function e(){}return e.value=new e,e}(),sEe=function(e){return function(n){return function(t){var a=ua(e.school),r=function(){return n.stagedNotes instanceof d&&shn(n.stagedNotes.value0.schoolId)(a)?n.stagedNotes.value0.text:k9(a)(e.schoolDb)}(),o=function(){if(n.savedIndicator instanceof oJ)return"hidden";if(n.savedIndicator instanceof oEe)return"";if(n.savedIndicator instanceof iEe)return"fade-out";throw new Error("Failed pattern match at SchoolDetails.Overview.Notes (line 88, column 27 - line 91, column 27): "+[n.savedIndicator.constructor.name])}(),i=st(rG),u=function(c){if(c{let e=null,n=0,t=()=>{if(!U0||!U0.key)return U0||console.error("Pusher config is missing in global context"),new eDn;let a={auth:{headers:{"X-CSRF-Token":U0.authToken}},authEndpoint:U0.authPath,cluster:U0.cluster};return U0.dev&&Object.assign(a,{wsHost:U0.dev.wsHost,wsPort:U0.dev.wsPort,enabledTransports:["ws"],forceTLS:!1,disableStats:!0}),new oCe.default(U0.key,a)};return{acquireConnection:()=>(e||(e=t(),n=0),n++,e),releaseConnection:()=>{--n<=0&&(e.disconnect(),e=null)}}})(),iCe=e=>{let n=Zgn().subscribe(e.channel);return n.bind(e.event,e.handler),()=>{n.unbind(e.event,e.handler),Kgn()}};function eDn(){typeof document!="undefined"&&(document.mockPusher=this),this.localObject={},this.channels=[],this.disconnect=function(){document.mockPusher=null},this.subscribe=function(e){let n=this.channels.find(a=>a.name===e);if(n)return n;let t=new nDn(e);return this.channels.push(t),t},this.channelNames=function(){return this.channels.map(e=>e.name)}}function nDn(e){this.name=e,this.handlers={},this.triggered=[],this.disconnect=()=>{},this.bind=function(n,t){this.handlers[n]=t},this.unbind=function(n,t){this.handlers[n]===t&&(this.handlers[n]=null)},this.trigger=function(n,t){this.triggered.push({eventName:n,eventData:t})}}var tDn=oa(Te)(ft),aDn=lo(Kt)($o);var rDn={show:function(e){return e}},oDn=re(rDn),hJ=ue,uCe=function(e){var n=DS(e);return function(t){return function(a){return function(r){var o=tDn(["Pusher event ",a," over channel ",oDn(t)]),i=function(u){return aDn(n(o)(u))(r)()};return function(){return iCe({channel:t,event:a,handler:i})}}}}};var gJ=ue;var lCe=Pr(No),cCe=K(Pt),sCe=Qn(),iDn=Xi(sCe(E({reflectSymbol:function(){return"failureReason"}})(ue)(E({reflectSymbol:function(){return"success"}})(zn)(he)))),uDn=Xi(sCe(E({reflectSymbol:function(){return"conversationId"}})(gJ)(E({reflectSymbol:function(){return"pusherChannel"}})(hJ)(he)))),fCe=ro(Pr(Pr(lCe)))("trellis_inference_recruiter_send_message_path")(function(e){return function(n){return function(t){return function(a){return cCe(e({conversationId:t,message:a,presetTopic:Si,vault:n}))(zr(iDn("Trellis.Inference.Recruiter.API: sendMessage")))}}}}),vCe=ro(lCe)("trellis_inference_recruiter_create_conversation_path")(function(e){return function(n){return cCe(e({school_id:n}))(zr(function(t){return uDn("Trellis.Inference.Recruiter.API: createConversation")(t)}))}});var lDn=on();var mCe=function(e){return"/trellis/inference/recruiter/direct-message-introduction/"+lDn(e)};var pCe="active";var DJ=u1e()(),R7=Cs(W)()()("")({style:fn({height:40,width:40})})([DJ("blink")({cx:10,cy:20,r:3,style:fn({fill:"grey"})}),DJ("blink")({cx:20,cy:20,r:3,style:fn({fill:"grey",animationDelay:"250ms"})}),DJ("blink")({cx:30,cy:20,r:3,style:fn({fill:"grey",animationDelay:"500ms"})})]);var cDn=Z(it);var _Ce=function(e){return cDn(aN(e.currentTarget))(function(n){return Un(N1(n))(0)})};var dCe=za(),sDn=Ye(u9),fDn=Rw(ft),yJ=re(ze),vDn=yl(Le),mDn=K(Le);var w7=function(){var e=dCe(oc(A1("\\s+")(sDn(H2)(Xee)))),n=Lr(function(a){return a!==""}),t=i9(e);return function(a){return da(n(t(a)))}}(),hCe=function(e){return function(n){var t=w7(n);return fDn([yJ(t),"/",yJ(e)," words"])}},gCe=function(e){return function(n){var t=function(i){return dCe(oc(A1("^(?:[\\w-]+[^\\w-]+){"+(yJ(i)+"}[\\w-]+"))(Yee)))},a=function(i){return function(u){var l=vDn(mDn(l9(t(i-1|0))(u))(Jt(xw)(0)));return Ee(u)(l)}},r=Hs(n),o=w7(r)0;return i?"/img/icons/sage-send-purple.svg":"/img/icons/ai-send.svg"}()))},r=gDn(e);return ce([DDn("flex-grow-1")([yDn("form-control t--new-message-body "+Un(r.className)(""))({autoFocus:Un(r.autoFocus)(!0),placeholder:r.placeholder,style:fn({borderStyle:"none",resize:"none",height:function(){if(n.messageHeight instanceof C)return"";if(n.messageHeight instanceof d)return bDn(n.messageHeight.value0)+"px";throw new Error("Failed pattern match at Vinai.AuthorChatMessage (line 87, column 19 - line 89, column 37): "+[n.messageHeight.constructor.name])}(),background:"none"}),rows:1,value:n.message,onChange:function(o){var i=gCe(1e3)(o),u=MDn(o)(),l=function(){var c=Zr(i)<5;return c?C.value:new d(u)}();return t(at.create(IDn.create({message:i,messageHeight:l})))()},onKeyPress:RDn(function(o){return yCe(o.key==="Enter"&&!o.shiftKey)(function(){return wDn(o)(),yCe(n.message!==""&&FDn(r.sendButtonStatus)(Nd.value))(t(Qt.create(bJ.create(n.message))))()})})}),vn(w7(n.message)>=SDn(1e3)(2))(EDn("pl-3 pb-3 text-muted small")(hCe(1e3)(n.message)))]),CDn("text-right d-flex")(function(){if(r.sendButtonStatus instanceof Nd)return a(!0);if(r.sendButtonStatus instanceof hD)return a(!1);if(r.sendButtonStatus instanceof Pd)return R7;throw new Error("Failed pattern match at Vinai.AuthorChatMessage (line 110, column 7 - line 113, column 35): "+[r.sendButtonStatus.constructor.name])}())])}}}};var S7=function(){return{message:"",messageHeight:C.value}}();var GDn=on();var ADn=function(e){return GDn(WF(e))};var bCe=function(e){return Yr(ADn(e))};var xDn=CF(Ot),LDn=wh(Vo),jDn=K(Va),RCe=Jn(ps),wCe=z(Kt),NDn=Np(Kt)(wi),PDn=uCe(Vp),kDn=Qe(Xe),ODn=oa(Te)(x6(F6)),UDn=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),E7=function(){function e(){}return e.value=new e,e}(),C7=function(){function e(){}return e.value=new e,e}();var SJ={append:function(e){return function(n){return xDn(n)(e)}}},HDn={mempty:Sf,Semigroup0:function(){return SJ}},BDn=Vv(zF(HDn)(ga)),SCe=function(e){return e.value0.disconnect},ECe=function(e){return function(n){var t=bCe(n),a=LDn(t);return function(){var o=RCe(hf(wCe(Ce)))(),i=NDn(a)(function(l){return PDn(e)(l.value0)(function(c){return function(){var f=l.value1(c)();if(f instanceof E7)return Ce;if(f instanceof C7)return jDn(os(o))(kDn)();throw new Error("Failed pattern match at Utils.Pusher.ListenMany (line 70, column 23 - line 72, column 66): "+[f.constructor.name])}})})(),u=ODn(i);return RCe(df(u)(o))(),new UDn({disconnect:u})}}},I7=function(e){var n=mm(e);return function(t){return function(a){return BDn(u1(t)(function(r){var o=n(r);if(o instanceof ln)return a(o.value0);if(o instanceof rn)return Lo(Qo)("Error parsing Pusher event")({error:o.value0,event:t,value:r})(function(i){return wCe(E7.value)});throw new Error("Failed pattern match at Utils.Pusher.ListenMany (line 32, column 65 - line 34, column 122): "+[o.constructor.name])}))}}};var gD=function(){function e(){}return e.value=new e,e}(),bT=function(){function e(){}return e.value=new e,e}();var Ev=function(){function e(){}return e.value=new e,e}(),nf=function(){function e(){}return e.value=new e,e}();var EJ={eq:function(e){return function(n){return e instanceof Ev&&n instanceof Ev||e instanceof nf&&n instanceof nf}}};var zDn={reflectSymbol:function(){return"timestamp"}};var CJ=Bn(Mn),RT=CJ(qt),IJ=K(Pt),wT=Jn(tt),CCe=CJ(Qp(SJ)(C6)),TJ=Qn(),ICe=E({reflectSymbol:function(){return"id"}})(ue),$Dn=I7(TJ(E({reflectSymbol:function(){return"delta"}})(ue)(ICe(E(zDn)(ue)(he))))),VDn=I7(TJ(E({reflectSymbol:function(){return"body"}})(ue)(ICe(he)))),QDn=I7(TJ(he)),FJ=CJ(Pt),T7=z(na),MJ=Kr(tt),YDn=bQ(ft),XDn=li(s8)(ft),Cv=z(pt),TCe=Ye(ca),ZDn=nY(eM),KDn=lo(pt)($o),Iv=function(){function e(){}return e.value=new e,e}(),_p=function(){function e(){}return e.value=new e,e}(),dp=function(){function e(){}return e.value=new e,e}(),Yc=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),H0=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),F7=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),FCe=function(){function e(){}return e.value=new e,e}(),GJ=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),AJ=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),MCe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),GCe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),ACe=function(){function e(n,t){this.value0=n,this.value1=t}return e.create=function(n){return function(t){return new e(n,t)}},e}(),e1n=function(){function e(){}return e.value=new e,e}();var n1n=function(e){return{delta:e.delta,id:e.id,timestamp:eg(e.timestamp)}},xCe=function(e){return function(n){var t=function(a){return function(r){return{body:r.body,sender:bT.value,sentAt:a,id:new d(r.id)}}};return RT(e_(function(a){return IJ(wT(ECe(e.receiveChannelName)(CCe($Dn("chat-completion-chunk")(function(r){return function(){var i=Kh();return a.dispatch(new ACe(i,n1n(r)))(),E7.value}}))(function(){return CCe(VDn("chat-completion-message-received")(function(r){return function(){var i=Kh();return a.dispatch(new AJ(t(i)(r)))(),C7.value}}))(function(){return QDn("chat-completion-failed")(function(r){return function(){return a.dispatch(new GJ(C.value))(),C7.value}})})}))))(function(r){return FJ(wT(a.dispatch(new GCe(r))))(function(){return IJ(e.sendMessage(n))(function(o){return o.success?T7(Ce):wT(a.dispatch(new GJ(new d(o.failureReason))))})})})}))(function(){return MJ(FJ(ds(200))(function(){return T7(FCe.value)}))})}},t1n=function(e){return function(n){return RT(MJ(IJ(wT(Kh))(function(t){return T7(new MCe({sender:gD.value,body:n,sentAt:t,id:C.value}))})))(function(){return xCe(e)(n)})}},xJ=function(e){var n=function(t){var a=Ii("$$")(t),r=uY(da(a));return r?YDn("$$")(yw(0)(da(a)-1|0)(a)):t};return{sender:bT.value,body:n(XDn(function(t){return t.content})(e.deltas)),sentAt:Hp(e.deltas).timestamp,id:new d(e.id)}},a1n=function(e){if(e.receivingResponse instanceof C)return Cv(Ce);if(e.receivingResponse instanceof d)return e.sendingState instanceof Yc?MJ(FJ(wT(SCe(e.receivingResponse.value0)))(function(){return T7(new AJ(xJ(e.sendingState.value0)))})):Cv(Ce);throw new Error("Failed pattern match at Vinai.Chatbot (line 290, column 1 - line 290, column 51): "+[e.constructor.name])},LJ=function(e){return function(n){if(n instanceof F7)return RT(t1n(e)(n.value0))(function(){return Cv(e)});if(n instanceof FCe)return Cv({messages:e.messages,receiveChannelName:e.receiveChannelName,receivingResponse:e.receivingResponse,sendMessage:e.sendMessage,sendingState:function(){if(e.sendingState instanceof Iv)return Iv.value;if(e.sendingState instanceof _p||e.sendingState instanceof dp)return dp.value;if(e.sendingState instanceof Yc)return new Yc(e.sendingState.value0);if(e.sendingState instanceof H0)return new H0(e.sendingState.value0);throw new Error("Failed pattern match at Vinai.Chatbot (line 158, column 9 - line 163, column 59): "+[e.sendingState.constructor.name])}()});if(n instanceof GJ)return Cv({messages:e.messages,receiveChannelName:e.receiveChannelName,sendMessage:e.sendMessage,sendingState:new H0(n.value0),receivingResponse:C.value});if(n instanceof AJ)return Cv({receiveChannelName:e.receiveChannelName,sendMessage:e.sendMessage,messages:TCe(e.messages)([n.value0]),sendingState:Iv.value,receivingResponse:C.value});if(n instanceof MCe)return Cv({receiveChannelName:e.receiveChannelName,receivingResponse:e.receivingResponse,sendMessage:e.sendMessage,messages:TCe(e.messages)([n.value0]),sendingState:_p.value});if(n instanceof GCe)return Cv({messages:e.messages,receiveChannelName:e.receiveChannelName,sendMessage:e.sendMessage,sendingState:e.sendingState,receivingResponse:new d(n.value0)});if(n instanceof ACe)return Cv({messages:e.messages,receiveChannelName:e.receiveChannelName,receivingResponse:e.receivingResponse,sendMessage:e.sendMessage,sendingState:function(){if(e.sendingState instanceof Yc&&n.value1.id===e.sendingState.value0.id)return new Yc({id:e.sendingState.value0.id,deltas:ZDn(function(t){return t.timestamp})(QQ(e.sendingState.value0.deltas)({content:n.value1.delta,timestamp:Ee(n.value0)(n.value1.timestamp)}))});if(e.sendingState instanceof Yc)return e.sendingState;if(e.sendingState instanceof dp)return new Yc({deltas:gh({content:n.value1.delta,timestamp:Ee(n.value0)(n.value1.timestamp)}),id:n.value1.id});if(e.sendingState instanceof _p)return new Yc({deltas:gh({content:n.value1.delta,timestamp:Ee(n.value0)(n.value1.timestamp)}),id:n.value1.id});if(e.sendingState instanceof Iv||e.sendingState instanceof H0)return e.sendingState;throw new Error("Failed pattern match at Vinai.Chatbot (line 178, column 22 - line 200, column 29): "+[e.sendingState.constructor.name])}()});if(n instanceof e1n)return RT(a1n(e))(function(){return Cv(e)});throw new Error("Failed pattern match at Vinai.Chatbot (line 151, column 1 - line 151, column 55): "+[e.constructor.name,n.constructor.name])}},jJ=function(e){var n={messages:e.messages,receivingResponse:C.value,receiveChannelName:e.receiveChannelName,sendingState:function(){if(e.initialMessageBody instanceof C)return Iv.value;if(e.initialMessageBody instanceof d)return _p.value;throw new Error("Failed pattern match at Vinai.Chatbot (line 145, column 23 - line 147, column 28): "+[e.initialMessageBody.constructor.name])}(),sendMessage:e.sendMessage};return RT(KDn(e.initialMessageBody)(xCe(n)))(function(){return Cv(n)})};var jCe=["http","https","mailto","tel"];function NCe(e){let n=(e||"").trim(),t=n.charAt(0);if(t==="#"||t==="/")return n;let a=n.indexOf(":");if(a===-1)return n;let r=-1;for(;++rr||(r=n.indexOf("#"),r!==-1&&a>r)?n:"javascript:void(0)"}Wt();var BCe=ba(NJ());function kd(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?kCe(e.position):"start"in e||"end"in e?kCe(e):"line"in e||"column"in e?PJ(e):""}function PJ(e){return OCe(e&&e.line)+":"+OCe(e&&e.column)}function kCe(e){return PJ(e&&e.start)+"-"+PJ(e&&e.end)}function OCe(e){return e&&typeof e=="number"?e:1}var _l=class extends Error{constructor(n,t,a){let r=[null,null],o={start:{line:null,column:null},end:{line:null,column:null}};super();if(typeof t=="string"&&(a=t,t=void 0),typeof a=="string"){let i=a.indexOf(":");i===-1?r[1]=a:(r[0]=a.slice(0,i),r[1]=a.slice(i+1))}t&&("type"in t||"position"in t?t.position&&(o=t.position):"start"in t||"end"in t?o=t:("line"in t||"column"in t)&&(o.start=t)),this.name=kd(t)||"1:1",this.message=typeof n=="object"?n.message:n,this.stack="",typeof n=="object"&&n.stack&&(this.stack=n.stack),this.reason=this.message,this.fatal,this.line=o.start.line,this.column=o.start.column,this.position=o,this.source=r[0],this.ruleId=r[1],this.file,this.actual,this.expected,this.url,this.note}};_l.prototype.file="";_l.prototype.name="";_l.prototype.reason="";_l.prototype.message="";_l.prototype.stack="";_l.prototype.fatal=null;_l.prototype.column=null;_l.prototype.line=null;_l.prototype.source=null;_l.prototype.ruleId=null;_l.prototype.position=null;var Tv={basename:r1n,dirname:o1n,extname:i1n,join:u1n,sep:"/"};function r1n(e,n){if(n!==void 0&&typeof n!="string")throw new TypeError('"ext" argument must be a string');ST(e);let t=0,a=-1,r=e.length,o;if(n===void 0||n.length===0||n.length>e.length){for(;r--;)if(e.charCodeAt(r)===47){if(o){t=r+1;break}}else a<0&&(o=!0,a=r+1);return a<0?"":e.slice(t,a)}if(n===e)return"";let i=-1,u=n.length-1;for(;r--;)if(e.charCodeAt(r)===47){if(o){t=r+1;break}}else i<0&&(o=!0,i=r+1),u>-1&&(e.charCodeAt(r)===n.charCodeAt(u--)?u<0&&(a=r):(u=-1,a=i));return t===a?a=i:a<0&&(a=e.length),e.slice(t,a)}function o1n(e){if(ST(e),e.length===0)return".";let n=-1,t=e.length,a;for(;--t;)if(e.charCodeAt(t)===47){if(a){n=t;break}}else a||(a=!0);return n<0?e.charCodeAt(0)===47?"/":".":n===1&&e.charCodeAt(0)===47?"//":e.slice(0,n)}function i1n(e){ST(e);let n=e.length,t=-1,a=0,r=-1,o=0,i;for(;n--;){let u=e.charCodeAt(n);if(u===47){if(i){a=n+1;break}continue}t<0&&(i=!0,t=n+1),u===46?r<0?r=n:o!==1&&(o=1):r>-1&&(o=-1)}return r<0||t<0||o===0||o===1&&r===t-1&&r===a+1?"":e.slice(r,t)}function u1n(...e){let n=-1,t;for(;++n0&&e.charCodeAt(e.length-1)===47&&(t+="/"),n?"/"+t:t}function c1n(e,n){let t="",a=0,r=-1,o=0,i=-1,u,l;for(;++i<=e.length;){if(i2){if(l=t.lastIndexOf("/"),l!==t.length-1){l<0?(t="",a=0):(t=t.slice(0,l),a=t.length-1-t.lastIndexOf("/")),r=i,o=0;continue}}else if(t.length>0){t="",a=0,r=i,o=0;continue}}n&&(t=t.length>0?t+"/..":"..",a=2)}else t.length>0?t+="/"+e.slice(r+1,i):t=e.slice(r+1,i),a=i-r-1;r=i,o=0}else u===46&&o>-1?o++:o=-1}return t}function ST(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}var UCe={cwd:s1n};function s1n(){return"/"}function ER(e){return e!==null&&typeof e=="object"&&e.href&&e.origin}function HCe(e){if(typeof e=="string")e=new URL(e);else if(!ER(e)){let n=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw n.code="ERR_INVALID_ARG_TYPE",n}if(e.protocol!=="file:"){let n=new TypeError("The URL must be of scheme file");throw n.code="ERR_INVALID_URL_SCHEME",n}return f1n(e)}function f1n(e){if(e.hostname!==""){let a=new TypeError('File URL host must be "localhost" or empty on darwin');throw a.code="ERR_INVALID_FILE_URL_HOST",a}let n=e.pathname,t=-1;for(;++ti.length,l;u&&i.push(r);try{l=e.apply(this,i)}catch(c){let s=c;if(u&&t)throw s;return r(s)}u||(l instanceof Promise?l.then(o,r):l instanceof Error?r(l):o(l))}function r(i,...u){t||(t=!0,n(i,...u))}function o(i){r(null,i)}}var JJ=tIe().freeze(),nIe={}.hasOwnProperty;function tIe(){let e=KCe(),n=[],t={},a,r=-1;return o.data=i,o.Parser=void 0,o.Compiler=void 0,o.freeze=u,o.attachers=n,o.use=l,o.parse=c,o.stringify=s,o.run=f,o.runSync=v,o.process=m,o.processSync=_,o;function o(){let R=tIe(),D=-1;for(;++D{if(M||!O||!oe)k(M);else{let le=o.stringify(O,oe);le==null||(d1n(le)?oe.value=le:oe.result=le),k(M,oe)}});function k(M,O){M||!O?G(M):S?S(O):D(null,O)}}}function _(R){let D;o.freeze(),WJ("processSync",o.Parser),qJ("processSync",o.Compiler);let y=CT(R);return o.process(y,S),oIe("processSync","process",D),y;function S(G){D=!0,HJ(G)}}}function aIe(e,n){return typeof e=="function"&&e.prototype&&(p1n(e.prototype)||n in e.prototype)}function p1n(e){let n;for(n in e)if(nIe.call(e,n))return!0;return!1}function WJ(e,n){if(typeof n!="function")throw new TypeError("Cannot `"+e+"` without `Parser`")}function qJ(e,n){if(typeof n!="function")throw new TypeError("Cannot `"+e+"` without `Compiler`")}function zJ(e,n){if(n)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function rIe(e){if(!ET(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function oIe(e,n,t){if(!t)throw new Error("`"+e+"` finished async. Use `"+n+"` instead")}function CT(e){return _1n(e)?e:new CR(e)}function _1n(e){return Boolean(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function d1n(e){return typeof e=="string"||(0,eIe.default)(e)}function $J(e,n){let t=(n||{}).includeImageAlt;return iIe(e,typeof t=="boolean"?t:!0)}function iIe(e,n){return h1n(e)&&("value"in e&&e.value||n&&"alt"in e&&e.alt||"children"in e&&uIe(e.children,n))||Array.isArray(e)&&uIe(e,n)||""}function uIe(e,n){let t=[],a=-1;for(;++ar?0:r+n:n=n>r?r:n,t=t>0?t:0,a.length<1e4)i=Array.from(a),i.unshift(n,t),[].splice.apply(e,i);else for(t&&[].splice.apply(e,[n,t]);o0?(ei(e,e.length,0,n),e):n}var lIe={}.hasOwnProperty;function G7(e){let n={},t=-1;for(;++ti))return;let O=n.events.length,oe=O,le,ve;for(;oe--;)if(n.events[oe][0]==="exit"&&n.events[oe][1].type==="chunkFlow"){if(le){ve=n.events[oe][1].end;break}le=!0}for(y(a),M=O;MG;){let k=t[P];n.containerState=k[1],k[0].exit.call(n,e)}t.length=G}function S(){r.write([null]),o=void 0,r=void 0,n.containerState._closeFlow=void 0}}function R1n(e,n,t){return At(e,e.attempt(this.parser.constructs.document,n,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function IR(e){if(e===null||Za(e)||yD(e))return 1;if(bD(e))return 2}function Hd(e,n,t){let a=[],r=-1;for(;++r1&&e[t][1].end.offset-e[t][1].start.offset>1?2:1;let f=Object.assign({},e[a][1].end),v=Object.assign({},e[t][1].start);_Ie(f,-l),_Ie(v,l),i={type:l>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[a][1].end)},u={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[t][1].start),end:v},o={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[a][1].end),end:Object.assign({},e[t][1].start)},r={type:l>1?"strong":"emphasis",start:Object.assign({},i.start),end:Object.assign({},u.end)},e[a][1].end=Object.assign({},i.start),e[t][1].start=Object.assign({},u.end),c=[],e[a][1].end.offset-e[a][1].start.offset&&(c=dl(c,[["enter",e[a][1],n],["exit",e[a][1],n]])),c=dl(c,[["enter",r,n],["enter",i,n],["exit",i,n],["enter",o,n]]),c=dl(c,Hd(n.parser.constructs.insideSpan.null,e.slice(a+1,t),n)),c=dl(c,[["exit",o,n],["enter",u,n],["exit",u,n],["exit",r,n]]),e[t][1].end.offset-e[t][1].start.offset?(s=2,c=dl(c,[["enter",e[t][1],n],["exit",e[t][1],n]])):s=0,ei(e,a-1,t-a+3,c),t=a+c.length-s-2;break}}for(t=-1;++t=4?i(c):t(c)}function i(c){return c===null?l(c):Nn(c)?e.attempt(x1n,i,l)(c):(e.enter("codeFlowValue"),u(c))}function u(c){return c===null||Nn(c)?(e.exit("codeFlowValue"),i(c)):(e.consume(c),u)}function l(c){return e.exit("codeIndented"),n(c)}}function j1n(e,n,t){let a=this;return r;function r(i){return a.parser.lazy[a.now().line]?t(i):Nn(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),r):At(e,o,"linePrefix",4+1)(i)}function o(i){let u=a.events[a.events.length-1];return u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?n(i):Nn(i)?r(i):t(i)}}var YJ={name:"codeText",tokenize:k1n,resolve:N1n,previous:P1n};function N1n(e){let n=e.length-4,t=3,a,r;if((e[t][1].type==="lineEnding"||e[t][1].type==="space")&&(e[n][1].type==="lineEnding"||e[n][1].type==="space")){for(a=t;++a=4?n(i):e.interrupt(a.parser.constructs.flow,t,n)(i)}}function P7(e,n,t,a,r,o,i,u,l){let c=l||Number.POSITIVE_INFINITY,s=0;return f;function f(y){return y===60?(e.enter(a),e.enter(r),e.enter(o),e.consume(y),e.exit(o),v):y===null||y===41||Od(y)?t(y):(e.enter(a),e.enter(i),e.enter(u),e.enter("chunkString",{contentType:"string"}),R(y))}function v(y){return y===62?(e.enter(o),e.consume(y),e.exit(o),e.exit(r),e.exit(a),n):(e.enter(u),e.enter("chunkString",{contentType:"string"}),m(y))}function m(y){return y===62?(e.exit("chunkString"),e.exit(u),v(y)):y===null||y===60||Nn(y)?t(y):(e.consume(y),y===92?_:m)}function _(y){return y===60||y===62||y===92?(e.consume(y),m):m(y)}function R(y){return y===40?++s>c?t(y):(e.consume(y),R):y===41?s--?(e.consume(y),R):(e.exit("chunkString"),e.exit(u),e.exit(i),e.exit(a),n(y)):y===null||Za(y)?s?t(y):(e.exit("chunkString"),e.exit(u),e.exit(i),e.exit(a),n(y)):Od(y)?t(y):(e.consume(y),y===92?D:R)}function D(y){return y===40||y===41||y===92?(e.consume(y),R):R(y)}}function k7(e,n,t,a,r,o){let i=this,u=0,l;return c;function c(m){return e.enter(a),e.enter(r),e.consume(m),e.exit(r),e.enter(o),s}function s(m){return m===null||m===91||m===93&&!l||m===94&&!u&&"_hiddenFootnoteSupport"in i.parser.constructs||u>999?t(m):m===93?(e.exit(o),e.enter(r),e.consume(m),e.exit(r),e.exit(a),n):Nn(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),s):(e.enter("chunkString",{contentType:"string"}),f(m))}function f(m){return m===null||m===91||m===93||Nn(m)||u++>999?(e.exit("chunkString"),s(m)):(e.consume(m),l=l||!Ca(m),m===92?v:f)}function v(m){return m===91||m===92||m===93?(e.consume(m),u++,f):f(m)}}function O7(e,n,t,a,r,o){let i;return u;function u(v){return e.enter(a),e.enter(r),e.consume(v),e.exit(r),i=v===40?41:v,l}function l(v){return v===i?(e.enter(r),e.consume(v),e.exit(r),e.exit(a),n):(e.enter(o),c(v))}function c(v){return v===i?(e.exit(o),l(i)):v===null?t(v):Nn(v)?(e.enter("lineEnding"),e.consume(v),e.exit("lineEnding"),At(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),s(v))}function s(v){return v===i||v===null||Nn(v)?(e.exit("chunkString"),c(v)):(e.consume(v),v===92?f:s)}function f(v){return v===i||v===92?(e.consume(v),s):s(v)}}function RD(e,n){let t;return a;function a(r){return Nn(r)?(e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t=!0,a):Ca(r)?At(e,a,t?"linePrefix":"lineSuffix")(r):n(r)}}function zu(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var ZJ={name:"definition",tokenize:q1n},W1n={tokenize:z1n,partial:!0};function q1n(e,n,t){let a=this,r;return o;function o(l){return e.enter("definition"),k7.call(a,e,i,t,"definitionLabel","definitionLabelMarker","definitionLabelString")(l)}function i(l){return r=zu(a.sliceSerialize(a.events[a.events.length-1][1]).slice(1,-1)),l===58?(e.enter("definitionMarker"),e.consume(l),e.exit("definitionMarker"),RD(e,P7(e,e.attempt(W1n,At(e,u,"whitespace"),At(e,u,"whitespace")),t,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):t(l)}function u(l){return l===null||Nn(l)?(e.exit("definition"),a.parser.defined.includes(r)||a.parser.defined.push(r),n(l)):t(l)}}function z1n(e,n,t){return a;function a(i){return Za(i)?RD(e,r)(i):t(i)}function r(i){return i===34||i===39||i===40?O7(e,At(e,o,"whitespace"),t,"definitionTitle","definitionTitleMarker","definitionTitleString")(i):t(i)}function o(i){return i===null||Nn(i)?n(i):t(i)}}var KJ={name:"hardBreakEscape",tokenize:$1n};function $1n(e,n,t){return a;function a(o){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(o),r}function r(o){return Nn(o)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),n(o)):t(o)}}var eW={name:"headingAtx",tokenize:Q1n,resolve:V1n};function V1n(e,n){let t=e.length-2,a=3,r,o;return e[a][1].type==="whitespace"&&(a+=2),t-2>a&&e[t][1].type==="whitespace"&&(t-=2),e[t][1].type==="atxHeadingSequence"&&(a===t-1||t-4>a&&e[t-2][1].type==="whitespace")&&(t-=a+1===t?2:4),t>a&&(r={type:"atxHeadingText",start:e[a][1].start,end:e[t][1].end},o={type:"chunkText",start:e[a][1].start,end:e[t][1].end,contentType:"text"},ei(e,a,t-a+1,[["enter",r,n],["enter",o,n],["exit",o,n],["exit",r,n]])),e}function Q1n(e,n,t){let a=this,r=0;return o;function o(s){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),i(s)}function i(s){return s===35&&r++<6?(e.consume(s),i):s===null||Za(s)?(e.exit("atxHeadingSequence"),a.interrupt?n(s):u(s)):t(s)}function u(s){return s===35?(e.enter("atxHeadingSequence"),l(s)):s===null||Nn(s)?(e.exit("atxHeading"),n(s)):Ca(s)?At(e,u,"whitespace")(s):(e.enter("atxHeadingText"),c(s))}function l(s){return s===35?(e.consume(s),l):(e.exit("atxHeadingSequence"),u(s))}function c(s){return s===null||s===35||Za(s)?(e.exit("atxHeadingText"),u(s)):(e.consume(s),c)}}var hIe=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],nW=["pre","script","style","textarea"];var tW={name:"htmlFlow",tokenize:Z1n,resolveTo:X1n,concrete:!0},Y1n={tokenize:K1n,partial:!0};function X1n(e){let n=e.length;for(;n--&&!(e[n][0]==="enter"&&e[n][1].type==="htmlFlow"););return n>1&&e[n-2][1].type==="linePrefix"&&(e[n][1].start=e[n-2][1].start,e[n+1][1].start=e[n-2][1].start,e.splice(n-2,2)),e}function Z1n(e,n,t){let a=this,r,o,i,u,l;return c;function c(x){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(x),s}function s(x){return x===33?(e.consume(x),f):x===47?(e.consume(x),_):x===63?(e.consume(x),r=3,a.interrupt?n:Pn):qu(x)?(e.consume(x),i=String.fromCharCode(x),o=!0,R):t(x)}function f(x){return x===45?(e.consume(x),r=2,v):x===91?(e.consume(x),r=5,i="CDATA[",u=0,m):qu(x)?(e.consume(x),r=4,a.interrupt?n:Pn):t(x)}function v(x){return x===45?(e.consume(x),a.interrupt?n:Pn):t(x)}function m(x){return x===i.charCodeAt(u++)?(e.consume(x),u===i.length?a.interrupt?n:X:m):t(x)}function _(x){return qu(x)?(e.consume(x),i=String.fromCharCode(x),R):t(x)}function R(x){return x===null||x===47||x===62||Za(x)?x!==47&&o&&nW.includes(i.toLowerCase())?(r=1,a.interrupt?n(x):X(x)):hIe.includes(i.toLowerCase())?(r=6,x===47?(e.consume(x),D):a.interrupt?n(x):X(x)):(r=7,a.interrupt&&!a.parser.lazy[a.now().line]?t(x):o?S(x):y(x)):x===45||ni(x)?(e.consume(x),i+=String.fromCharCode(x),R):t(x)}function D(x){return x===62?(e.consume(x),a.interrupt?n:X):t(x)}function y(x){return Ca(x)?(e.consume(x),y):le(x)}function S(x){return x===47?(e.consume(x),le):x===58||x===95||qu(x)?(e.consume(x),G):Ca(x)?(e.consume(x),S):le(x)}function G(x){return x===45||x===46||x===58||x===95||ni(x)?(e.consume(x),G):P(x)}function P(x){return x===61?(e.consume(x),k):Ca(x)?(e.consume(x),P):S(x)}function k(x){return x===null||x===60||x===61||x===62||x===96?t(x):x===34||x===39?(e.consume(x),l=x,M):Ca(x)?(e.consume(x),k):(l=null,O(x))}function M(x){return x===null||Nn(x)?t(x):x===l?(e.consume(x),oe):(e.consume(x),M)}function O(x){return x===null||x===34||x===39||x===60||x===61||x===62||x===96||Za(x)?P(x):(e.consume(x),O)}function oe(x){return x===47||x===62||Ca(x)?S(x):t(x)}function le(x){return x===62?(e.consume(x),ve):t(x)}function ve(x){return Ca(x)?(e.consume(x),ve):x===null||Nn(x)?X(x):t(x)}function X(x){return x===45&&r===2?(e.consume(x),Ne):x===60&&r===1?(e.consume(x),ie):x===62&&r===4?(e.consume(x),kn):x===63&&r===3?(e.consume(x),Pn):x===93&&r===5?(e.consume(x),Ve):Nn(x)&&(r===6||r===7)?e.check(Y1n,kn,be)(x):x===null||Nn(x)?be(x):(e.consume(x),X)}function be(x){return e.exit("htmlFlowData"),pe(x)}function pe(x){return x===null?q(x):Nn(x)?e.attempt({tokenize:De,partial:!0},pe,q)(x):(e.enter("htmlFlowData"),X(x))}function De(x,ne,me){return ye;function ye(de){return x.enter("lineEnding"),x.consume(de),x.exit("lineEnding"),U}function U(de){return a.parser.lazy[a.now().line]?me(de):ne(de)}}function Ne(x){return x===45?(e.consume(x),Pn):X(x)}function ie(x){return x===47?(e.consume(x),i="",jn):X(x)}function jn(x){return x===62&&nW.includes(i.toLowerCase())?(e.consume(x),kn):qu(x)&&i.length<8?(e.consume(x),i+=String.fromCharCode(x),jn):X(x)}function Ve(x){return x===93?(e.consume(x),Pn):X(x)}function Pn(x){return x===62?(e.consume(x),kn):x===45&&r===2?(e.consume(x),Pn):X(x)}function kn(x){return x===null||Nn(x)?(e.exit("htmlFlowData"),q(x)):(e.consume(x),kn)}function q(x){return e.exit("htmlFlow"),n(x)}}function K1n(e,n,t){return a;function a(r){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),e.attempt(B0,n,t)}}var aW={name:"htmlText",tokenize:eyn};function eyn(e,n,t){let a=this,r,o,i,u;return l;function l(q){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(q),c}function c(q){return q===33?(e.consume(q),s):q===47?(e.consume(q),O):q===63?(e.consume(q),k):qu(q)?(e.consume(q),ve):t(q)}function s(q){return q===45?(e.consume(q),f):q===91?(e.consume(q),o="CDATA[",i=0,D):qu(q)?(e.consume(q),P):t(q)}function f(q){return q===45?(e.consume(q),v):t(q)}function v(q){return q===null||q===62?t(q):q===45?(e.consume(q),m):_(q)}function m(q){return q===null||q===62?t(q):_(q)}function _(q){return q===null?t(q):q===45?(e.consume(q),R):Nn(q)?(u=_,Ve(q)):(e.consume(q),_)}function R(q){return q===45?(e.consume(q),kn):_(q)}function D(q){return q===o.charCodeAt(i++)?(e.consume(q),i===o.length?y:D):t(q)}function y(q){return q===null?t(q):q===93?(e.consume(q),S):Nn(q)?(u=y,Ve(q)):(e.consume(q),y)}function S(q){return q===93?(e.consume(q),G):y(q)}function G(q){return q===62?kn(q):q===93?(e.consume(q),G):y(q)}function P(q){return q===null||q===62?kn(q):Nn(q)?(u=P,Ve(q)):(e.consume(q),P)}function k(q){return q===null?t(q):q===63?(e.consume(q),M):Nn(q)?(u=k,Ve(q)):(e.consume(q),k)}function M(q){return q===62?kn(q):k(q)}function O(q){return qu(q)?(e.consume(q),oe):t(q)}function oe(q){return q===45||ni(q)?(e.consume(q),oe):le(q)}function le(q){return Nn(q)?(u=le,Ve(q)):Ca(q)?(e.consume(q),le):kn(q)}function ve(q){return q===45||ni(q)?(e.consume(q),ve):q===47||q===62||Za(q)?X(q):t(q)}function X(q){return q===47?(e.consume(q),kn):q===58||q===95||qu(q)?(e.consume(q),be):Nn(q)?(u=X,Ve(q)):Ca(q)?(e.consume(q),X):kn(q)}function be(q){return q===45||q===46||q===58||q===95||ni(q)?(e.consume(q),be):pe(q)}function pe(q){return q===61?(e.consume(q),De):Nn(q)?(u=pe,Ve(q)):Ca(q)?(e.consume(q),pe):X(q)}function De(q){return q===null||q===60||q===61||q===62||q===96?t(q):q===34||q===39?(e.consume(q),r=q,Ne):Nn(q)?(u=De,Ve(q)):Ca(q)?(e.consume(q),De):(e.consume(q),r=void 0,jn)}function Ne(q){return q===r?(e.consume(q),ie):q===null?t(q):Nn(q)?(u=Ne,Ve(q)):(e.consume(q),Ne)}function ie(q){return q===62||q===47||Za(q)?X(q):t(q)}function jn(q){return q===null||q===34||q===39||q===60||q===61||q===96?t(q):q===62||Za(q)?X(q):(e.consume(q),jn)}function Ve(q){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(q),e.exit("lineEnding"),At(e,Pn,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Pn(q){return e.enter("htmlTextData"),u(q)}function kn(q){return q===62?(e.consume(q),e.exit("htmlTextData"),e.exit("htmlText"),n):t(q)}}var wD={name:"labelEnd",tokenize:iyn,resolveTo:oyn,resolveAll:ryn},nyn={tokenize:uyn},tyn={tokenize:lyn},ayn={tokenize:cyn};function ryn(e){let n=-1,t;for(;++n-1&&(i[0]=i[0].slice(a)),o>0&&i.push(e[r].slice(0,o))),i}function Cyn(e,n){let t=-1,a=[],r;for(;++tLyn,contentInitial:()=>Tyn,disable:()=>jyn,document:()=>Iyn,flow:()=>Myn,flowInitial:()=>Fyn,insideSpan:()=>xyn,string:()=>Gyn,text:()=>Ayn});var Iyn={[42]:$u,[43]:$u,[45]:$u,[48]:$u,[49]:$u,[50]:$u,[51]:$u,[52]:$u,[53]:$u,[54]:$u,[55]:$u,[56]:$u,[57]:$u,[62]:A7},Tyn={[91]:ZJ},Fyn={[-2]:TT,[-1]:TT,[32]:TT},Myn={[35]:eW,[42]:SD,[45]:[U7,SD],[60]:tW,[61]:U7,[95]:SD,[96]:j7,[126]:j7},Gyn={[38]:L7,[92]:x7},Ayn={[-5]:FT,[-4]:FT,[-3]:FT,[33]:rW,[38]:L7,[42]:IT,[60]:[QJ,aW],[91]:oW,[92]:[KJ,x7],[93]:wD,[95]:IT,[96]:YJ},xyn={null:[IT,DIe]},Lyn={null:[42,95]},jyn={null:[]};function EIe(e={}){let n=G7([iW].concat(e.extensions||[])),t={defined:[],lazy:{},constructs:n,content:a(vIe),document:a(mIe),flow:a(gIe),string:a(yIe),text:a(bIe)};return t;function a(r){return o;function o(i){return SIe(t,r,i)}}}var CIe=/[\0\t\n\r]/g;function IIe(){let e=1,n="",t=!0,a;return r;function r(o,i,u){let l=[],c,s,f,v,m;for(o=n+o.toString(i),f=0,n="",t&&(o.charCodeAt(0)===65279&&f++,t=void 0);f13&&t<32||t>126&&t<160||t>55295&&t<57344||t>64975&&t<65008||(t&65535)==65535||(t&65535)==65534||t>1114111?"\uFFFD":String.fromCharCode(t)}var Nyn=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function B7(e){return e.replace(Nyn,Pyn)}function Pyn(e,n,t){if(n)return n;if(t.charCodeAt(0)===35){let r=t.charCodeAt(1),o=r===120||r===88;return H7(t.slice(o?2:1),o?16:10)}return TR(t)||e}var FIe={}.hasOwnProperty,uW=function(e,n,t){return typeof n!="string"&&(t=n,n=void 0),kyn(t)(TIe(EIe(t).document().write(IIe()(e,n,!0))))};function kyn(e){let n={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:u(Fn),autolinkProtocol:X,autolinkEmail:X,atxHeading:u(et),blockQuote:u(He),characterEscape:X,characterReference:X,codeFenced:u($e),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:u($e,l),codeText:u(je,l),codeTextData:X,data:X,codeFlowValue:X,definition:u(In),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:u(cn),hardBreakEscape:u(Cn),hardBreakTrailing:u(Cn),htmlFlow:u(nt,l),htmlFlowData:X,htmlText:u(nt,l),htmlTextData:X,image:u(ht),label:l,link:u(Fn),listItem:u(rt),listItemValue:_,listOrdered:u(Ft,m),listUnordered:u(Ft),paragraph:u(Hn),reference:ye,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:u(et),strong:u(sn),thematicBreak:u(Oa)},exit:{atxHeading:s(),atxHeadingSequence:O,autolink:s(),autolinkEmail:Me,autolinkProtocol:Ae,blockQuote:s(),characterEscapeValue:be,characterReferenceMarkerHexadecimal:de,characterReferenceMarkerNumeric:de,characterReferenceValue:V,codeFenced:s(S),codeFencedFence:y,codeFencedFenceInfo:R,codeFencedFenceMeta:D,codeFlowValue:be,codeIndented:s(G),codeText:s(jn),codeTextData:be,data:be,definition:s(),definitionDestinationString:M,definitionLabelString:P,definitionTitleString:k,emphasis:s(),hardBreakEscape:s(De),hardBreakTrailing:s(De),htmlFlow:s(Ne),htmlFlowData:be,htmlText:s(ie),htmlTextData:be,image:s(Pn),label:q,labelText:kn,lineEnding:pe,link:s(Ve),listItem:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:U,resourceDestinationString:x,resourceTitleString:ne,resource:me,setextHeading:s(ve),setextHeadingLineSequence:le,setextHeadingText:oe,strong:s(),thematicBreak:s()}};MIe(n,(e||{}).mdastExtensions||[]);let t={};return a;function a(Ie){let qe={type:"root",children:[]},Mt={stack:[qe],tokenStack:[],config:n,enter:c,exit:f,buffer:l,resume:v,setData:o,getData:i},nr=[],lr=-1;for(;++lr0){let ac=Mt.tokenStack[Mt.tokenStack.length-1];(ac[1]||GIe).call(Mt,void 0,ac[0])}for(qe.position={start:Bd(Ie.length>0?Ie[0][1].start:{line:1,column:1,offset:0}),end:Bd(Ie.length>0?Ie[Ie.length-2][1].end:{line:1,column:1,offset:0})},lr=-1;++lr{let a=this.data("settings");return uW(t,Object.assign({},a,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}function AIe(e,n){let t={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(n),!0)};return e.patch(n,t),e.applyData(n,t)}function xIe(e,n){let t={type:"element",tagName:"br",properties:{},children:[]};return e.patch(n,t),[e.applyData(n,t),{type:"text",value:` `}]}function LIe(e,n){let t=n.value?n.value+` `:"",a=n.lang?n.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,r={};a&&(r.className=["language-"+a]);let o={type:"element",tagName:"code",properties:r,children:[{type:"text",value:t}]};return n.meta&&(o.data={meta:n.meta}),e.patch(n,o),o=e.applyData(n,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(n,o),o}function jIe(e,n){let t={type:"element",tagName:"del",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)}function NIe(e,n){let t={type:"element",tagName:"em",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)}function tf(e){let n=[],t=-1,a=0,r=0;for(;++t55295&&o<57344){let u=e.charCodeAt(t+1);o<56320&&u>56319&&u<57344?(i=String.fromCharCode(o,u),r=1):i="\uFFFD"}else i=String.fromCharCode(o);i&&(n.push(e.slice(a,t),encodeURIComponent(i)),a=t+r+1,i=""),r&&(t+=r,r=0)}return n.join("")+e.slice(a)}function W7(e,n){let t=String(n.identifier).toUpperCase(),a=tf(t.toLowerCase()),r=e.footnoteOrder.indexOf(t),o;r===-1?(e.footnoteOrder.push(t),e.footnoteCounts[t]=1,o=e.footnoteOrder.length):(e.footnoteCounts[t]++,o=r+1);let i=e.footnoteCounts[t],u={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fn-"+a,id:e.clobberPrefix+"fnref-"+a+(i>1?"-"+i:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(n,u);let l={type:"element",tagName:"sup",properties:{},children:[u]};return e.patch(n,l),e.applyData(n,l)}function PIe(e,n){let t=e.footnoteById,a=1;for(;a in t;)a++;let r=String(a);return t[r]={type:"footnoteDefinition",identifier:r,children:[{type:"paragraph",children:n.children}],position:n.position},W7(e,{type:"footnoteReference",identifier:r,position:n.position})}function kIe(e,n){let t={type:"element",tagName:"h"+n.depth,properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)}function OIe(e,n){if(e.dangerous){let t={type:"raw",value:n.value};return e.patch(n,t),e.applyData(n,t)}return null}function q7(e,n){let t=n.referenceType,a="]";if(t==="collapsed"?a+="[]":t==="full"&&(a+="["+(n.label||n.identifier)+"]"),n.type==="imageReference")return{type:"text",value:"!["+n.alt+a};let r=e.all(n),o=r[0];o&&o.type==="text"?o.value="["+o.value:r.unshift({type:"text",value:"["});let i=r[r.length-1];return i&&i.type==="text"?i.value+=a:r.push({type:"text",value:a}),r}function UIe(e,n){let t=e.definition(n.identifier);if(!t)return q7(e,n);let a={src:tf(t.url||""),alt:n.alt};t.title!==null&&t.title!==void 0&&(a.title=t.title);let r={type:"element",tagName:"img",properties:a,children:[]};return e.patch(n,r),e.applyData(n,r)}function HIe(e,n){let t={src:tf(n.url)};n.alt!==null&&n.alt!==void 0&&(t.alt=n.alt),n.title!==null&&n.title!==void 0&&(t.title=n.title);let a={type:"element",tagName:"img",properties:t,children:[]};return e.patch(n,a),e.applyData(n,a)}function BIe(e,n){let t={type:"text",value:n.value.replace(/\r?\n|\r/g," ")};e.patch(n,t);let a={type:"element",tagName:"code",properties:{},children:[t]};return e.patch(n,a),e.applyData(n,a)}function JIe(e,n){let t=e.definition(n.identifier);if(!t)return q7(e,n);let a={href:tf(t.url||"")};t.title!==null&&t.title!==void 0&&(a.title=t.title);let r={type:"element",tagName:"a",properties:a,children:e.all(n)};return e.patch(n,r),e.applyData(n,r)}function WIe(e,n){let t={href:tf(n.url)};n.title!==null&&n.title!==void 0&&(t.title=n.title);let a={type:"element",tagName:"a",properties:t,children:e.all(n)};return e.patch(n,a),e.applyData(n,a)}function qIe(e,n,t){let a=e.all(n),r=t?Uyn(t):zIe(n),o={},i=[];if(typeof n.checked=="boolean"){let s=a[0],f;s&&s.type==="element"&&s.tagName==="p"?f=s:(f={type:"element",tagName:"p",properties:{},children:[]},a.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:n.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let u=-1;for(;++u1:n}function $Ie(e,n){let t={},a=e.all(n),r=-1;for(typeof n.start=="number"&&n.start!==1&&(t.start=n.start);++r-1?a.offset:null}}}function ZIe(e,n){let t=e.all(n),a=t.shift(),r=[];if(a){let i={type:"element",tagName:"thead",properties:{},children:e.wrap([a],!0)};e.patch(n.children[0],i),r.push(i)}if(t.length>0){let i={type:"element",tagName:"tbody",properties:{},children:e.wrap(t,!0)},u=FR(n.children[1]),l=MR(n.children[n.children.length-1]);u.line&&l.line&&(i.position={start:u,end:l}),r.push(i)}let o={type:"element",tagName:"table",properties:{},children:e.wrap(r,!0)};return e.patch(n,o),e.applyData(n,o)}function KIe(e,n,t){let a=t?t.children:void 0,o=(a?a.indexOf(n):1)===0?"th":"td",i=t&&t.type==="table"?t.align:void 0,u=i?i.length:n.children.length,l=-1,c=[];for(;++l0,!0),a[0]),r=a.index+a[0].length,a=t.exec(n);return o.push(rTe(n.slice(r),r>0,!1)),o.join("")}function rTe(e,n,t){let a=0,r=e.length;if(n){let o=e.codePointAt(a);for(;o===nTe||o===tTe;)a++,o=e.codePointAt(a)}if(t){let o=e.codePointAt(r-1);for(;o===nTe||o===tTe;)r--,o=e.codePointAt(r-1)}return r>a?e.slice(a,r):""}function oTe(e,n){let t={type:"text",value:aTe(String(n.value))};return e.patch(n,t),e.applyData(n,t)}function iTe(e,n){let t={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(n,t),e.applyData(n,t)}var uTe={blockquote:AIe,break:xIe,code:LIe,delete:jIe,emphasis:NIe,footnoteReference:W7,footnote:PIe,heading:kIe,html:OIe,imageReference:UIe,image:HIe,inlineCode:BIe,linkReference:JIe,link:WIe,listItem:qIe,list:$Ie,paragraph:VIe,root:QIe,strong:YIe,table:ZIe,tableCell:eTe,tableRow:KIe,text:oTe,thematicBreak:iTe,toml:z7,yaml:z7,definition:z7,footnoteDefinition:z7};function z7(){return null}var MT=function(e){if(e==null)return Wyn;if(typeof e=="string")return Jyn(e);if(typeof e=="object")return Array.isArray(e)?Hyn(e):Byn(e);if(typeof e=="function")return $7(e);throw new Error("Expected function, string, or object as test")};function Hyn(e){let n=[],t=-1;for(;++t":""))+")"})}return f;function f(){let v=[],m,_,R;if((!n||r(u,l,c[c.length-1]||null))&&(v=qyn(t(u,c)),v[0]===V7))return v;if(u.children&&v[0]!==sW)for(_=(a?u.children.length:-1)+o,R=c.concat(u);_>-1&&_{let r=sTe(a.identifier);r&&!cTe.call(n,r)&&(n[r]=a)}),t;function t(a){let r=sTe(a);return r&&cTe.call(n,r)?n[r]:null}}function sTe(e){return String(e||"").toUpperCase()}var Q7={}.hasOwnProperty;function fTe(e,n){let t=n||{},a=t.allowDangerousHtml||!1,r={};return i.dangerous=a,i.clobberPrefix=t.clobberPrefix===void 0||t.clobberPrefix===null?"user-content-":t.clobberPrefix,i.footnoteLabel=t.footnoteLabel||"Footnotes",i.footnoteLabelTagName=t.footnoteLabelTagName||"h2",i.footnoteLabelProperties=t.footnoteLabelProperties||{className:["sr-only"]},i.footnoteBackLabel=t.footnoteBackLabel||"Back to content",i.unknownHandler=t.unknownHandler,i.passThrough=t.passThrough,i.handlers=ja(ja({},uTe),t.handlers),i.definition=vW(e),i.footnoteById=r,i.footnoteOrder=[],i.footnoteCounts={},i.patch=zyn,i.applyData=$yn,i.one=u,i.all=l,i.wrap=Qyn,i.augment=o,ED(e,"footnoteDefinition",c=>{let s=String(c.identifier).toUpperCase();Q7.call(r,s)||(r[s]=c)}),i;function o(c,s){if(c&&"data"in c&&c.data){let f=c.data;f.hName&&(s.type!=="element"&&(s={type:"element",tagName:"",properties:{},children:[]}),s.tagName=f.hName),s.type==="element"&&f.hProperties&&(s.properties=ja(ja({},s.properties),f.hProperties)),"children"in s&&s.children&&f.hChildren&&(s.children=f.hChildren)}if(c){let f="type"in c?c:{position:c};fW(f)||(s.position={start:FR(f),end:MR(f)})}return s}function i(c,s,f,v){return Array.isArray(f)&&(v=f,f={}),o(c,{type:"element",tagName:s,properties:f||{},children:v||[]})}function u(c,s){return vTe(i,c,s)}function l(c){return mW(i,c)}}function zyn(e,n){e.position&&(n.position=lW(e))}function $yn(e,n){let t=n;if(e&&e.data){let a=e.data.hName,r=e.data.hChildren,o=e.data.hProperties;typeof a=="string"&&(t.type==="element"?t.tagName=a:t={type:"element",tagName:a,properties:{},children:[]}),t.type==="element"&&o&&(t.properties=ja(ja({},t.properties),o)),"children"in t&&t.children&&r!==null&&r!==void 0&&(t.children=r)}return t}function vTe(e,n,t){let a=n&&n.type;if(!a)throw new Error("Expected node, got `"+n+"`");return Q7.call(e.handlers,a)?e.handlers[a](e,n,t):e.passThrough&&e.passThrough.includes(a)?"children"in n?ri(ja({},n),{children:mW(e,n)}):n:e.unknownHandler?e.unknownHandler(e,n,t):Vyn(e,n)}function mW(e,n){let t=[];if("children"in n){let a=n.children,r=-1;for(;++r0&&t.push({type:"text",value:` `}),t}function mTe(e){let n=[],t=-1;for(;++t1?"-"+u:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"\u21A9"}]};u>1&&f.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(u)}]}),l.length>0&&l.push({type:"text",value:" "}),l.push(f)}let c=r[r.length-1];if(c&&c.type==="element"&&c.tagName==="p"){let f=c.children[c.children.length-1];f&&f.type==="text"?f.value+=" ":c.children.push({type:"text",value:" "}),c.children.push(...l)}else r.push(...l);let s={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+i},children:e.wrap(r,!0)};e.patch(a,s),n.push(s)}if(n.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:ri(ja({},JSON.parse(JSON.stringify(e.footnoteLabelProperties))),{id:"footnote-label"}),children:[{type:"text",value:e.footnoteLabel}]},{type:"text",value:` `},{type:"element",tagName:"ol",properties:{},children:e.wrap(n,!0)},{type:"text",value:` `}]}}function Y7(e,n){let t=fTe(e,n),a=t.one(e,null),r=mTe(t);return r&&a.children.push({type:"text",value:` `},r),Array.isArray(a)?{type:"root",children:a}:a}var Yyn=function(e,n){return e&&"run"in e?Xyn(e,n):Zyn(e||n)},pW=Yyn;function Xyn(e,n){return(t,a,r)=>{e.run(Y7(t,n),a,o=>{r(o)})}}function Zyn(e){return n=>Y7(n,e)}var ra=ba(ay());var Jd=class{constructor(n,t,a){this.property=n,this.normal=t,a&&(this.space=a)}};Jd.prototype.property={};Jd.prototype.normal={};Jd.prototype.space=null;function _W(e,n){let t={},a={},r=-1;for(;++rfa,booleanish:()=>Bo,commaOrSpaceSeparated:()=>Zl,commaSeparated:()=>Wd,number:()=>nn,overloadedBoolean:()=>dW,spaceSeparated:()=>Er});var Kyn=0,fa=CD(),Bo=CD(),dW=CD(),nn=CD(),Er=CD(),Wd=CD(),Zl=CD();function CD(){return 2**++Kyn}var hW=Object.keys(AT),GR=class extends hl{constructor(n,t,a,r){let o=-1;super(n,t);if(pTe(this,"space",r),typeof a=="number")for(;++o4&&t.slice(0,4)==="data"&&nbn.test(n)){if(n.charAt(4)==="-"){let o=n.slice(5).replace(hTe,rbn);a="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{let o=n.slice(4);if(!hTe.test(o)){let i=o.replace(tbn,abn);i.charAt(0)!=="-"&&(i="-"+i),n="data"+i}}r=GR}return new r(a,n)}function abn(e){return"-"+e.toLowerCase()}function rbn(e){return e.charAt(1).toUpperCase()}var K7={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var e5=_W([DW,gW,yW,bW,_Te],"html"),n5=_W([DW,gW,yW,bW,dTe],"svg");function RW(e){if(e.allowedElements&&e.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return n=>{ED(n,"element",(t,a,r)=>{let o=r,i;if(e.allowedElements?i=!e.allowedElements.includes(t.tagName):e.disallowedElements&&(i=e.disallowedElements.includes(t.tagName)),!i&&e.allowElement&&typeof a=="number"&&(i=!e.allowElement(t,a,o)),i&&typeof a=="number")return e.unwrapDisallowed&&t.children?o.children.splice(a,1,...t.children):o.children.splice(a,1),a})}}Wt();var jTe=ba(bTe());function RTe(e){let n=e&&typeof e=="object"&&e.type==="text"?e.value||"":e;return typeof n=="string"&&n.replace(/[ \t\n\f\r]/g,"")===""}function EW(e){let n=String(e||"").trim();return n?n.split(/[ \t\n\r\f]+/g):[]}function wTe(e){return e.join(" ").trim()}function CW(e){let n=[],t=String(e||""),a=t.indexOf(","),r=0,o=!1;for(;!o;){a===-1&&(a=t.length,o=!0);let i=t.slice(r,a).trim();(i||!o)&&n.push(i),r=a+1,a=t.indexOf(",",r)}return n}function STe(e,n){let t=n||{};return(e[e.length-1]===""?[...e,""]:e).join((t.padRight?" ":"")+","+(t.padLeft===!1?"":" ")).trim()}var xTe=ba(ATe()),LTe=xTe.default;var TW={}.hasOwnProperty,gbn=new Set(["table","thead","tbody","tfoot","tr"]);function FW(e,n){let t=[],a=-1,r;for(;++a0?wt.createElement(m,l,f):wt.createElement(m,l)}function ybn(e){let n=-1;for(;++n for more info)`),delete v5[o]}let n=JJ().use(J7).use(e.remarkPlugins||[]).use(pW,ri(ja({},e.remarkRehypeOptions),{allowDangerousHtml:!0})).use(e.rehypePlugins||[]).use(RW,e),t=new CR;typeof e.children=="string"?t.value=e.children:e.children!==void 0&&e.children!==null&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);let a=n.runSync(n.parse(t),t);if(a.type!=="root")throw new TypeError("Expected a `root` node");let r=wt.createElement(wt.Fragment,{},FW({options:e,schema:e5,listDepth:0},a));return e.className&&(r=wt.createElement("div",{className:e.className},r)),r}m5.propTypes={children:ra.default.string,className:ra.default.string,allowElement:ra.default.func,allowedElements:ra.default.arrayOf(ra.default.string),disallowedElements:ra.default.arrayOf(ra.default.string),unwrapDisallowed:ra.default.bool,remarkPlugins:ra.default.arrayOf(ra.default.oneOfType([ra.default.object,ra.default.func,ra.default.arrayOf(ra.default.oneOfType([ra.default.bool,ra.default.string,ra.default.object,ra.default.func,ra.default.arrayOf(ra.default.any)]))])),rehypePlugins:ra.default.arrayOf(ra.default.oneOfType([ra.default.object,ra.default.func,ra.default.arrayOf(ra.default.oneOfType([ra.default.bool,ra.default.string,ra.default.object,ra.default.func,ra.default.arrayOf(ra.default.any)]))])),sourcePos:ra.default.bool,rawSourcePos:ra.default.bool,skipHtml:ra.default.bool,includeElementIndex:ra.default.bool,transformLinkUri:ra.default.oneOfType([ra.default.func,ra.default.bool]),linkTarget:ra.default.oneOfType([ra.default.func,ra.default.string]),transformImageUri:ra.default.func,components:ra.default.object};var PTe=/[#.]/g;function GW(e,n){let t=e||"",a={},r=0,o,i;for(;rl&&(l=c):c&&(l!==void 0&&l>-1&&u.push(` `.repeat(l)||" "),l=-1,u.push(c))}return u.join("")}function QTe(e,n,t){return e.type==="element"?Qbn(e,n,t):e.type==="text"?t.whitespace==="normal"?YTe(e,t):Ybn(e):[]}function Qbn(e,n,t){let a=XTe(e,t),r=e.children||[],o=-1,i=[];if(Vbn(e))return i;let u,l;for(OW(e)||$Te(e)&&h5(n,e,$Te)?l=` `:$bn(e)?(u=2,l=2):VTe(e)&&(u=1,l=1);++o15?c="\u2026"+u.slice(r-15,r):c=u.slice(0,r);var s;o+15":">","<":"<",'"':""","'":"'"},iRn=/[&><"']/g;function uRn(e){return String(e).replace(iRn,n=>oRn[n])}var ZTe=function e(n){return n.type==="ordgroup"||n.type==="color"?n.body.length===1?e(n.body[0]):n:n.type==="font"?e(n.body):n},lRn=function(n){var t=ZTe(n);return t.type==="mathord"||t.type==="textord"||t.type==="atom"},cRn=function(n){if(!n)throw new Error("Expected non-null, but got "+String(n));return n},sRn=function(n){var t=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(n);return t?t[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?null:t[1].toLowerCase():"_relative"},Tt={contains:nRn,deflt:tRn,escape:uRn,hyphenate:rRn,getBaseElem:ZTe,isCharacterBox:lRn,protocolFromUrl:sRn},g5={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format "},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:e=>"#"+e},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(e,n)=>(n.push(e),n)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:e=>Math.max(0,e),cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:e=>Math.max(0,e),cli:"-e, --max-expand ",cliProcessor:e=>e==="Infinity"?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};function fRn(e){if(e.default)return e.default;var n=e.type,t=Array.isArray(n)?n[0]:n;if(typeof t!="string")return t.enum[0];switch(t){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}var D5=class{constructor(n){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,n=n||{};for(var t in g5)if(g5.hasOwnProperty(t)){var a=g5[t];this[t]=n[t]!==void 0?a.processor?a.processor(n[t]):n[t]:fRn(a)}}reportNonstrict(n,t,a){var r=this.strict;if(typeof r=="function"&&(r=r(n,t,a)),!(!r||r==="ignore")){if(r===!0||r==="error")throw new tn("LaTeX-incompatible input and strict mode is set to 'error': "+(t+" ["+n+"]"),a);r==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(t+" ["+n+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+r+"': "+t+" ["+n+"]"))}}useStrictBehavior(n,t,a){var r=this.strict;if(typeof r=="function")try{r=r(n,t,a)}catch{r="error"}return!r||r==="ignore"?!1:r===!0||r==="error"?!0:r==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(t+" ["+n+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+r+"': "+t+" ["+n+"]")),!1)}isTrusted(n){if(n.url&&!n.protocol){var t=Tt.protocolFromUrl(n.url);if(t==null)return!1;n.protocol=t}var a=typeof this.trust=="function"?this.trust(n):this.trust;return Boolean(a)}},Dp=class{constructor(n,t,a){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=n,this.size=t,this.cramped=a}sup(){return J0[vRn[this.id]]}sub(){return J0[mRn[this.id]]}fracNum(){return J0[pRn[this.id]]}fracDen(){return J0[_Rn[this.id]]}cramp(){return J0[dRn[this.id]]}text(){return J0[hRn[this.id]]}isTight(){return this.size>=2}},HW=0,y5=1,AR=2,yp=3,LT=4,of=5,xR=6,gl=7,J0=[new Dp(HW,0,!1),new Dp(y5,0,!0),new Dp(AR,1,!1),new Dp(yp,1,!0),new Dp(LT,2,!1),new Dp(of,2,!0),new Dp(xR,3,!1),new Dp(gl,3,!0)],vRn=[LT,of,LT,of,xR,gl,xR,gl],mRn=[of,of,of,of,gl,gl,gl,gl],pRn=[AR,yp,LT,of,xR,gl,xR,gl],_Rn=[yp,yp,of,of,gl,gl,gl,gl],dRn=[y5,y5,yp,yp,of,of,gl,gl],hRn=[HW,y5,AR,yp,AR,yp,AR,yp],Lt={DISPLAY:J0[HW],TEXT:J0[AR],SCRIPT:J0[LT],SCRIPTSCRIPT:J0[xR]},BW=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function gRn(e){for(var n=0;n=r[0]&&e<=r[1])return t.name}return null}var b5=[];BW.forEach(e=>e.blocks.forEach(n=>b5.push(...n)));function KTe(e){for(var n=0;n=b5[n]&&e<=b5[n+1])return!0;return!1}var LR=80,DRn=function(n,t){return"M95,"+(622+n+t)+` c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14 c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54 c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10 s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429 c69,-144,104.5,-217.7,106.5,-221 l`+n/2.075+" -"+n+` c5.3,-9.3,12,-14,20,-14 H400000v`+(40+n)+`H845.2724 s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7 c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z M`+(834+n)+" "+t+"h400000v"+(40+n)+"h-400000z"},yRn=function(n,t){return"M263,"+(601+n+t)+`c0.7,0,18,39.7,52,119 c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120 c340,-704.7,510.7,-1060.3,512,-1067 l`+n/2.084+" -"+n+` c4.7,-7.3,11,-11,19,-11 H40000v`+(40+n)+`H1012.3 s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232 c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1 s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26 c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z M`+(1001+n)+" "+t+"h400000v"+(40+n)+"h-400000z"},bRn=function(n,t){return"M983 "+(10+n+t)+` l`+n/3.13+" -"+n+` c4,-6.7,10,-10,18,-10 H400000v`+(40+n)+` H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7 s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744 c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30 c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722 c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5 c53.7,-170.3,84.5,-266.8,92.5,-289.5z M`+(1001+n)+" "+t+"h400000v"+(40+n)+"h-400000z"},RRn=function(n,t){return"M424,"+(2398+n+t)+` c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514 c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20 s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121 s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081 l`+n/4.223+" -"+n+`c4,-6.7,10,-10,18,-10 H400000 v`+(40+n)+`H1014.6 s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185 c-2,6,-10,9,-24,9 c-8,0,-12,-0.7,-12,-2z M`+(1001+n)+" "+t+` h400000v`+(40+n)+"h-400000z"},wRn=function(n,t){return"M473,"+(2713+n+t)+` c339.3,-1799.3,509.3,-2700,510,-2702 l`+n/5.298+" -"+n+` c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+n)+`H1017.7 s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9 c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200 c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26 s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104, 606zM`+(1001+n)+" "+t+"h400000v"+(40+n)+"H1017.7z"},SRn=function(n){var t=n/2;return"M400000 "+n+" H0 L"+t+" 0 l65 45 L145 "+(n-80)+" H400000z"},ERn=function(n,t,a){var r=a-54-t-n;return"M702 "+(n+t)+"H400000"+(40+n)+` H742v`+r+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1 h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170 c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667 219 661 l218 661zM702 `+t+"H400000v"+(40+n)+"H742z"},CRn=function(n,t,a){t=1e3*t;var r="";switch(n){case"sqrtMain":r=DRn(t,LR);break;case"sqrtSize1":r=yRn(t,LR);break;case"sqrtSize2":r=bRn(t,LR);break;case"sqrtSize3":r=RRn(t,LR);break;case"sqrtSize4":r=wRn(t,LR);break;case"sqrtTall":r=ERn(t,LR,a)}return r},IRn=function(n,t){switch(n){case"\u239C":return"M291 0 H417 V"+t+" H291z M291 0 H417 V"+t+" H291z";case"\u2223":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z";case"\u2225":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z"+("M367 0 H410 V"+t+" H367z M367 0 H410 V"+t+" H367z");case"\u239F":return"M457 0 H583 V"+t+" H457z M457 0 H583 V"+t+" H457z";case"\u23A2":return"M319 0 H403 V"+t+" H319z M319 0 H403 V"+t+" H319z";case"\u23A5":return"M263 0 H347 V"+t+" H263z M263 0 H347 V"+t+" H263z";case"\u23AA":return"M384 0 H504 V"+t+" H384z M384 0 H504 V"+t+" H384z";case"\u23D0":return"M312 0 H355 V"+t+" H312z M312 0 H355 V"+t+" H312z";case"\u2016":return"M257 0 H300 V"+t+" H257z M257 0 H300 V"+t+" H257z"+("M478 0 H521 V"+t+" H478z M478 0 H521 V"+t+" H478z");default:return""}},eFe={doubleleftarrow:`M262 157 l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5 c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87 -86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7 -2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l -10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88 -33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68 -17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18 -13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782 c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3 -107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8 -5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247 c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202 l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117 -45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7 5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7 -331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80 H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0 435 0h399565z`,leftgroupunder:`M400000 262 H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219 435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3 -3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5 -18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7 -196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3 -4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7 -10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667 -152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7 -2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0 v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5 -83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3 -68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21 71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23 -.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8 c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334 c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14 -53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214 c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0 -5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6 -320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8 60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8 -451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2 c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6 -480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0 85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8 -707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1 c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128 -16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85 -40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5 -12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67 151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l -6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5 s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1 c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237 -174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0 3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3 -3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2 -10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11 -18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5 -7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95 -27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3 -64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0 -13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32 -52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142 -167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69 -70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3 -40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19 -37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167 c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333 -19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7 -2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128 -68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418 -8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114 c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751 181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457 -11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696 -338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345 -11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409 -175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5 3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11 10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63 -1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1 -7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59 H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359 c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22 c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10 -11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10 -11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10 -11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1, -5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10, -11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10, -11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10, -11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202 c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5 c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130 s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47 121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6 s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11 c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32 -27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39 -84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5 -119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5 -12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67 151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11 c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17 c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21 c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40 c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0 c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199, -231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6 c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11 c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9, 1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7, -152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0 c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199, -231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6 c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},TRn=function(n,t){switch(n){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+` v1759 h347 v-84 H403z M403 1759 V0 H319 V1759 v`+t+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+` v1759 H0 v84 H347z M347 1759 V0 H263 V1759 v`+t+" v1759 h84z";case"vert":return"M145 15 v585 v"+t+` v585 c2.667,10,9.667,15,21,15 c10,0,16.667,-5,20,-15 v-585 v`+-t+` v-585 c-2.667,-10,-9.667,-15,-21,-15 c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+t+" v585 h43z";case"doublevert":return"M145 15 v585 v"+t+` v585 c2.667,10,9.667,15,21,15 c10,0,16.667,-5,20,-15 v-585 v`+-t+` v-585 c-2.667,-10,-9.667,-15,-21,-15 c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+t+` v585 h43z M367 15 v585 v`+t+` v585 c2.667,10,9.667,15,21,15 c10,0,16.667,-5,20,-15 v-585 v`+-t+` v-585 c-2.667,-10,-9.667,-15,-21,-15 c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+t+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+t+` v1715 h263 v84 H319z MM319 602 V0 H403 V602 v`+t+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+t+` v1799 H0 v-84 H319z MM319 602 V0 H403 V602 v`+t+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+` v602 h84z M403 1759 V0 H319 V1759 v`+t+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+` v602 h84z M347 1759 V0 h-84 V1759 v`+t+" v602 h84z";case"lparen":return`M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1 c-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349, -36,557 l0,`+(t+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210, 949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9 c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5, -544.7,-112.5,-882c-2,-104,-3,-167,-3,-189 l0,-`+(t+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3, -210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z`;case"rparen":return`M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3, 63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5 c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(t+9)+` c-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664 c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11 c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17 c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558 l0,-`+(t+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7, -470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}},jR=class{constructor(n){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=n,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(n){return Tt.contains(this.classes,n)}toNode(){for(var n=document.createDocumentFragment(),t=0;tt.toText();return this.children.map(n).join("")}},W0={"AMS-Regular":{"32":[0,0,0,0,.25],"65":[0,.68889,0,0,.72222],"66":[0,.68889,0,0,.66667],"67":[0,.68889,0,0,.72222],"68":[0,.68889,0,0,.72222],"69":[0,.68889,0,0,.66667],"70":[0,.68889,0,0,.61111],"71":[0,.68889,0,0,.77778],"72":[0,.68889,0,0,.77778],"73":[0,.68889,0,0,.38889],"74":[.16667,.68889,0,0,.5],"75":[0,.68889,0,0,.77778],"76":[0,.68889,0,0,.66667],"77":[0,.68889,0,0,.94445],"78":[0,.68889,0,0,.72222],"79":[.16667,.68889,0,0,.77778],"80":[0,.68889,0,0,.61111],"81":[.16667,.68889,0,0,.77778],"82":[0,.68889,0,0,.72222],"83":[0,.68889,0,0,.55556],"84":[0,.68889,0,0,.66667],"85":[0,.68889,0,0,.72222],"86":[0,.68889,0,0,.72222],"87":[0,.68889,0,0,1],"88":[0,.68889,0,0,.72222],"89":[0,.68889,0,0,.72222],"90":[0,.68889,0,0,.66667],"107":[0,.68889,0,0,.55556],"160":[0,0,0,0,.25],"165":[0,.675,.025,0,.75],"174":[.15559,.69224,0,0,.94666],"240":[0,.68889,0,0,.55556],"295":[0,.68889,0,0,.54028],"710":[0,.825,0,0,2.33334],"732":[0,.9,0,0,2.33334],"770":[0,.825,0,0,2.33334],"771":[0,.9,0,0,2.33334],"989":[.08167,.58167,0,0,.77778],"1008":[0,.43056,.04028,0,.66667],"8245":[0,.54986,0,0,.275],"8463":[0,.68889,0,0,.54028],"8487":[0,.68889,0,0,.72222],"8498":[0,.68889,0,0,.55556],"8502":[0,.68889,0,0,.66667],"8503":[0,.68889,0,0,.44445],"8504":[0,.68889,0,0,.66667],"8513":[0,.68889,0,0,.63889],"8592":[-.03598,.46402,0,0,.5],"8594":[-.03598,.46402,0,0,.5],"8602":[-.13313,.36687,0,0,1],"8603":[-.13313,.36687,0,0,1],"8606":[.01354,.52239,0,0,1],"8608":[.01354,.52239,0,0,1],"8610":[.01354,.52239,0,0,1.11111],"8611":[.01354,.52239,0,0,1.11111],"8619":[0,.54986,0,0,1],"8620":[0,.54986,0,0,1],"8621":[-.13313,.37788,0,0,1.38889],"8622":[-.13313,.36687,0,0,1],"8624":[0,.69224,0,0,.5],"8625":[0,.69224,0,0,.5],"8630":[0,.43056,0,0,1],"8631":[0,.43056,0,0,1],"8634":[.08198,.58198,0,0,.77778],"8635":[.08198,.58198,0,0,.77778],"8638":[.19444,.69224,0,0,.41667],"8639":[.19444,.69224,0,0,.41667],"8642":[.19444,.69224,0,0,.41667],"8643":[.19444,.69224,0,0,.41667],"8644":[.1808,.675,0,0,1],"8646":[.1808,.675,0,0,1],"8647":[.1808,.675,0,0,1],"8648":[.19444,.69224,0,0,.83334],"8649":[.1808,.675,0,0,1],"8650":[.19444,.69224,0,0,.83334],"8651":[.01354,.52239,0,0,1],"8652":[.01354,.52239,0,0,1],"8653":[-.13313,.36687,0,0,1],"8654":[-.13313,.36687,0,0,1],"8655":[-.13313,.36687,0,0,1],"8666":[.13667,.63667,0,0,1],"8667":[.13667,.63667,0,0,1],"8669":[-.13313,.37788,0,0,1],"8672":[-.064,.437,0,0,1.334],"8674":[-.064,.437,0,0,1.334],"8705":[0,.825,0,0,.5],"8708":[0,.68889,0,0,.55556],"8709":[.08167,.58167,0,0,.77778],"8717":[0,.43056,0,0,.42917],"8722":[-.03598,.46402,0,0,.5],"8724":[.08198,.69224,0,0,.77778],"8726":[.08167,.58167,0,0,.77778],"8733":[0,.69224,0,0,.77778],"8736":[0,.69224,0,0,.72222],"8737":[0,.69224,0,0,.72222],"8738":[.03517,.52239,0,0,.72222],"8739":[.08167,.58167,0,0,.22222],"8740":[.25142,.74111,0,0,.27778],"8741":[.08167,.58167,0,0,.38889],"8742":[.25142,.74111,0,0,.5],"8756":[0,.69224,0,0,.66667],"8757":[0,.69224,0,0,.66667],"8764":[-.13313,.36687,0,0,.77778],"8765":[-.13313,.37788,0,0,.77778],"8769":[-.13313,.36687,0,0,.77778],"8770":[-.03625,.46375,0,0,.77778],"8774":[.30274,.79383,0,0,.77778],"8776":[-.01688,.48312,0,0,.77778],"8778":[.08167,.58167,0,0,.77778],"8782":[.06062,.54986,0,0,.77778],"8783":[.06062,.54986,0,0,.77778],"8785":[.08198,.58198,0,0,.77778],"8786":[.08198,.58198,0,0,.77778],"8787":[.08198,.58198,0,0,.77778],"8790":[0,.69224,0,0,.77778],"8791":[.22958,.72958,0,0,.77778],"8796":[.08198,.91667,0,0,.77778],"8806":[.25583,.75583,0,0,.77778],"8807":[.25583,.75583,0,0,.77778],"8808":[.25142,.75726,0,0,.77778],"8809":[.25142,.75726,0,0,.77778],"8812":[.25583,.75583,0,0,.5],"8814":[.20576,.70576,0,0,.77778],"8815":[.20576,.70576,0,0,.77778],"8816":[.30274,.79383,0,0,.77778],"8817":[.30274,.79383,0,0,.77778],"8818":[.22958,.72958,0,0,.77778],"8819":[.22958,.72958,0,0,.77778],"8822":[.1808,.675,0,0,.77778],"8823":[.1808,.675,0,0,.77778],"8828":[.13667,.63667,0,0,.77778],"8829":[.13667,.63667,0,0,.77778],"8830":[.22958,.72958,0,0,.77778],"8831":[.22958,.72958,0,0,.77778],"8832":[.20576,.70576,0,0,.77778],"8833":[.20576,.70576,0,0,.77778],"8840":[.30274,.79383,0,0,.77778],"8841":[.30274,.79383,0,0,.77778],"8842":[.13597,.63597,0,0,.77778],"8843":[.13597,.63597,0,0,.77778],"8847":[.03517,.54986,0,0,.77778],"8848":[.03517,.54986,0,0,.77778],"8858":[.08198,.58198,0,0,.77778],"8859":[.08198,.58198,0,0,.77778],"8861":[.08198,.58198,0,0,.77778],"8862":[0,.675,0,0,.77778],"8863":[0,.675,0,0,.77778],"8864":[0,.675,0,0,.77778],"8865":[0,.675,0,0,.77778],"8872":[0,.69224,0,0,.61111],"8873":[0,.69224,0,0,.72222],"8874":[0,.69224,0,0,.88889],"8876":[0,.68889,0,0,.61111],"8877":[0,.68889,0,0,.61111],"8878":[0,.68889,0,0,.72222],"8879":[0,.68889,0,0,.72222],"8882":[.03517,.54986,0,0,.77778],"8883":[.03517,.54986,0,0,.77778],"8884":[.13667,.63667,0,0,.77778],"8885":[.13667,.63667,0,0,.77778],"8888":[0,.54986,0,0,1.11111],"8890":[.19444,.43056,0,0,.55556],"8891":[.19444,.69224,0,0,.61111],"8892":[.19444,.69224,0,0,.61111],"8901":[0,.54986,0,0,.27778],"8903":[.08167,.58167,0,0,.77778],"8905":[.08167,.58167,0,0,.77778],"8906":[.08167,.58167,0,0,.77778],"8907":[0,.69224,0,0,.77778],"8908":[0,.69224,0,0,.77778],"8909":[-.03598,.46402,0,0,.77778],"8910":[0,.54986,0,0,.76042],"8911":[0,.54986,0,0,.76042],"8912":[.03517,.54986,0,0,.77778],"8913":[.03517,.54986,0,0,.77778],"8914":[0,.54986,0,0,.66667],"8915":[0,.54986,0,0,.66667],"8916":[0,.69224,0,0,.66667],"8918":[.0391,.5391,0,0,.77778],"8919":[.0391,.5391,0,0,.77778],"8920":[.03517,.54986,0,0,1.33334],"8921":[.03517,.54986,0,0,1.33334],"8922":[.38569,.88569,0,0,.77778],"8923":[.38569,.88569,0,0,.77778],"8926":[.13667,.63667,0,0,.77778],"8927":[.13667,.63667,0,0,.77778],"8928":[.30274,.79383,0,0,.77778],"8929":[.30274,.79383,0,0,.77778],"8934":[.23222,.74111,0,0,.77778],"8935":[.23222,.74111,0,0,.77778],"8936":[.23222,.74111,0,0,.77778],"8937":[.23222,.74111,0,0,.77778],"8938":[.20576,.70576,0,0,.77778],"8939":[.20576,.70576,0,0,.77778],"8940":[.30274,.79383,0,0,.77778],"8941":[.30274,.79383,0,0,.77778],"8994":[.19444,.69224,0,0,.77778],"8995":[.19444,.69224,0,0,.77778],"9416":[.15559,.69224,0,0,.90222],"9484":[0,.69224,0,0,.5],"9488":[0,.69224,0,0,.5],"9492":[0,.37788,0,0,.5],"9496":[0,.37788,0,0,.5],"9585":[.19444,.68889,0,0,.88889],"9586":[.19444,.74111,0,0,.88889],"9632":[0,.675,0,0,.77778],"9633":[0,.675,0,0,.77778],"9650":[0,.54986,0,0,.72222],"9651":[0,.54986,0,0,.72222],"9654":[.03517,.54986,0,0,.77778],"9660":[0,.54986,0,0,.72222],"9661":[0,.54986,0,0,.72222],"9664":[.03517,.54986,0,0,.77778],"9674":[.11111,.69224,0,0,.66667],"9733":[.19444,.69224,0,0,.94445],"10003":[0,.69224,0,0,.83334],"10016":[0,.69224,0,0,.83334],"10731":[.11111,.69224,0,0,.66667],"10846":[.19444,.75583,0,0,.61111],"10877":[.13667,.63667,0,0,.77778],"10878":[.13667,.63667,0,0,.77778],"10885":[.25583,.75583,0,0,.77778],"10886":[.25583,.75583,0,0,.77778],"10887":[.13597,.63597,0,0,.77778],"10888":[.13597,.63597,0,0,.77778],"10889":[.26167,.75726,0,0,.77778],"10890":[.26167,.75726,0,0,.77778],"10891":[.48256,.98256,0,0,.77778],"10892":[.48256,.98256,0,0,.77778],"10901":[.13667,.63667,0,0,.77778],"10902":[.13667,.63667,0,0,.77778],"10933":[.25142,.75726,0,0,.77778],"10934":[.25142,.75726,0,0,.77778],"10935":[.26167,.75726,0,0,.77778],"10936":[.26167,.75726,0,0,.77778],"10937":[.26167,.75726,0,0,.77778],"10938":[.26167,.75726,0,0,.77778],"10949":[.25583,.75583,0,0,.77778],"10950":[.25583,.75583,0,0,.77778],"10955":[.28481,.79383,0,0,.77778],"10956":[.28481,.79383,0,0,.77778],"57350":[.08167,.58167,0,0,.22222],"57351":[.08167,.58167,0,0,.38889],"57352":[.08167,.58167,0,0,.77778],"57353":[0,.43056,.04028,0,.66667],"57356":[.25142,.75726,0,0,.77778],"57357":[.25142,.75726,0,0,.77778],"57358":[.41951,.91951,0,0,.77778],"57359":[.30274,.79383,0,0,.77778],"57360":[.30274,.79383,0,0,.77778],"57361":[.41951,.91951,0,0,.77778],"57366":[.25142,.75726,0,0,.77778],"57367":[.25142,.75726,0,0,.77778],"57368":[.25142,.75726,0,0,.77778],"57369":[.25142,.75726,0,0,.77778],"57370":[.13597,.63597,0,0,.77778],"57371":[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{"32":[0,0,0,0,.25],"65":[0,.68333,0,.19445,.79847],"66":[0,.68333,.03041,.13889,.65681],"67":[0,.68333,.05834,.13889,.52653],"68":[0,.68333,.02778,.08334,.77139],"69":[0,.68333,.08944,.11111,.52778],"70":[0,.68333,.09931,.11111,.71875],"71":[.09722,.68333,.0593,.11111,.59487],"72":[0,.68333,.00965,.11111,.84452],"73":[0,.68333,.07382,0,.54452],"74":[.09722,.68333,.18472,.16667,.67778],"75":[0,.68333,.01445,.05556,.76195],"76":[0,.68333,0,.13889,.68972],"77":[0,.68333,0,.13889,1.2009],"78":[0,.68333,.14736,.08334,.82049],"79":[0,.68333,.02778,.11111,.79611],"80":[0,.68333,.08222,.08334,.69556],"81":[.09722,.68333,0,.11111,.81667],"82":[0,.68333,0,.08334,.8475],"83":[0,.68333,.075,.13889,.60556],"84":[0,.68333,.25417,0,.54464],"85":[0,.68333,.09931,.08334,.62583],"86":[0,.68333,.08222,0,.61278],"87":[0,.68333,.08222,.08334,.98778],"88":[0,.68333,.14643,.13889,.7133],"89":[.09722,.68333,.08222,.08334,.66834],"90":[0,.68333,.07944,.13889,.72473],"160":[0,0,0,0,.25]},"Fraktur-Regular":{"32":[0,0,0,0,.25],"33":[0,.69141,0,0,.29574],"34":[0,.69141,0,0,.21471],"38":[0,.69141,0,0,.73786],"39":[0,.69141,0,0,.21201],"40":[.24982,.74947,0,0,.38865],"41":[.24982,.74947,0,0,.38865],"42":[0,.62119,0,0,.27764],"43":[.08319,.58283,0,0,.75623],"44":[0,.10803,0,0,.27764],"45":[.08319,.58283,0,0,.75623],"46":[0,.10803,0,0,.27764],"47":[.24982,.74947,0,0,.50181],"48":[0,.47534,0,0,.50181],"49":[0,.47534,0,0,.50181],"50":[0,.47534,0,0,.50181],"51":[.18906,.47534,0,0,.50181],"52":[.18906,.47534,0,0,.50181],"53":[.18906,.47534,0,0,.50181],"54":[0,.69141,0,0,.50181],"55":[.18906,.47534,0,0,.50181],"56":[0,.69141,0,0,.50181],"57":[.18906,.47534,0,0,.50181],"58":[0,.47534,0,0,.21606],"59":[.12604,.47534,0,0,.21606],"61":[-.13099,.36866,0,0,.75623],"63":[0,.69141,0,0,.36245],"65":[0,.69141,0,0,.7176],"66":[0,.69141,0,0,.88397],"67":[0,.69141,0,0,.61254],"68":[0,.69141,0,0,.83158],"69":[0,.69141,0,0,.66278],"70":[.12604,.69141,0,0,.61119],"71":[0,.69141,0,0,.78539],"72":[.06302,.69141,0,0,.7203],"73":[0,.69141,0,0,.55448],"74":[.12604,.69141,0,0,.55231],"75":[0,.69141,0,0,.66845],"76":[0,.69141,0,0,.66602],"77":[0,.69141,0,0,1.04953],"78":[0,.69141,0,0,.83212],"79":[0,.69141,0,0,.82699],"80":[.18906,.69141,0,0,.82753],"81":[.03781,.69141,0,0,.82699],"82":[0,.69141,0,0,.82807],"83":[0,.69141,0,0,.82861],"84":[0,.69141,0,0,.66899],"85":[0,.69141,0,0,.64576],"86":[0,.69141,0,0,.83131],"87":[0,.69141,0,0,1.04602],"88":[0,.69141,0,0,.71922],"89":[.18906,.69141,0,0,.83293],"90":[.12604,.69141,0,0,.60201],"91":[.24982,.74947,0,0,.27764],"93":[.24982,.74947,0,0,.27764],"94":[0,.69141,0,0,.49965],"97":[0,.47534,0,0,.50046],"98":[0,.69141,0,0,.51315],"99":[0,.47534,0,0,.38946],"100":[0,.62119,0,0,.49857],"101":[0,.47534,0,0,.40053],"102":[.18906,.69141,0,0,.32626],"103":[.18906,.47534,0,0,.5037],"104":[.18906,.69141,0,0,.52126],"105":[0,.69141,0,0,.27899],"106":[0,.69141,0,0,.28088],"107":[0,.69141,0,0,.38946],"108":[0,.69141,0,0,.27953],"109":[0,.47534,0,0,.76676],"110":[0,.47534,0,0,.52666],"111":[0,.47534,0,0,.48885],"112":[.18906,.52396,0,0,.50046],"113":[.18906,.47534,0,0,.48912],"114":[0,.47534,0,0,.38919],"115":[0,.47534,0,0,.44266],"116":[0,.62119,0,0,.33301],"117":[0,.47534,0,0,.5172],"118":[0,.52396,0,0,.5118],"119":[0,.52396,0,0,.77351],"120":[.18906,.47534,0,0,.38865],"121":[.18906,.47534,0,0,.49884],"122":[.18906,.47534,0,0,.39054],"160":[0,0,0,0,.25],"8216":[0,.69141,0,0,.21471],"8217":[0,.69141,0,0,.21471],"58112":[0,.62119,0,0,.49749],"58113":[0,.62119,0,0,.4983],"58114":[.18906,.69141,0,0,.33328],"58115":[.18906,.69141,0,0,.32923],"58116":[.18906,.47534,0,0,.50343],"58117":[0,.69141,0,0,.33301],"58118":[0,.62119,0,0,.33409],"58119":[0,.47534,0,0,.50073]},"Main-Bold":{"32":[0,0,0,0,.25],"33":[0,.69444,0,0,.35],"34":[0,.69444,0,0,.60278],"35":[.19444,.69444,0,0,.95833],"36":[.05556,.75,0,0,.575],"37":[.05556,.75,0,0,.95833],"38":[0,.69444,0,0,.89444],"39":[0,.69444,0,0,.31944],"40":[.25,.75,0,0,.44722],"41":[.25,.75,0,0,.44722],"42":[0,.75,0,0,.575],"43":[.13333,.63333,0,0,.89444],"44":[.19444,.15556,0,0,.31944],"45":[0,.44444,0,0,.38333],"46":[0,.15556,0,0,.31944],"47":[.25,.75,0,0,.575],"48":[0,.64444,0,0,.575],"49":[0,.64444,0,0,.575],"50":[0,.64444,0,0,.575],"51":[0,.64444,0,0,.575],"52":[0,.64444,0,0,.575],"53":[0,.64444,0,0,.575],"54":[0,.64444,0,0,.575],"55":[0,.64444,0,0,.575],"56":[0,.64444,0,0,.575],"57":[0,.64444,0,0,.575],"58":[0,.44444,0,0,.31944],"59":[.19444,.44444,0,0,.31944],"60":[.08556,.58556,0,0,.89444],"61":[-.10889,.39111,0,0,.89444],"62":[.08556,.58556,0,0,.89444],"63":[0,.69444,0,0,.54305],"64":[0,.69444,0,0,.89444],"65":[0,.68611,0,0,.86944],"66":[0,.68611,0,0,.81805],"67":[0,.68611,0,0,.83055],"68":[0,.68611,0,0,.88194],"69":[0,.68611,0,0,.75555],"70":[0,.68611,0,0,.72361],"71":[0,.68611,0,0,.90416],"72":[0,.68611,0,0,.9],"73":[0,.68611,0,0,.43611],"74":[0,.68611,0,0,.59444],"75":[0,.68611,0,0,.90138],"76":[0,.68611,0,0,.69166],"77":[0,.68611,0,0,1.09166],"78":[0,.68611,0,0,.9],"79":[0,.68611,0,0,.86388],"80":[0,.68611,0,0,.78611],"81":[.19444,.68611,0,0,.86388],"82":[0,.68611,0,0,.8625],"83":[0,.68611,0,0,.63889],"84":[0,.68611,0,0,.8],"85":[0,.68611,0,0,.88472],"86":[0,.68611,.01597,0,.86944],"87":[0,.68611,.01597,0,1.18888],"88":[0,.68611,0,0,.86944],"89":[0,.68611,.02875,0,.86944],"90":[0,.68611,0,0,.70277],"91":[.25,.75,0,0,.31944],"92":[.25,.75,0,0,.575],"93":[.25,.75,0,0,.31944],"94":[0,.69444,0,0,.575],"95":[.31,.13444,.03194,0,.575],"97":[0,.44444,0,0,.55902],"98":[0,.69444,0,0,.63889],"99":[0,.44444,0,0,.51111],"100":[0,.69444,0,0,.63889],"101":[0,.44444,0,0,.52708],"102":[0,.69444,.10903,0,.35139],"103":[.19444,.44444,.01597,0,.575],"104":[0,.69444,0,0,.63889],"105":[0,.69444,0,0,.31944],"106":[.19444,.69444,0,0,.35139],"107":[0,.69444,0,0,.60694],"108":[0,.69444,0,0,.31944],"109":[0,.44444,0,0,.95833],"110":[0,.44444,0,0,.63889],"111":[0,.44444,0,0,.575],"112":[.19444,.44444,0,0,.63889],"113":[.19444,.44444,0,0,.60694],"114":[0,.44444,0,0,.47361],"115":[0,.44444,0,0,.45361],"116":[0,.63492,0,0,.44722],"117":[0,.44444,0,0,.63889],"118":[0,.44444,.01597,0,.60694],"119":[0,.44444,.01597,0,.83055],"120":[0,.44444,0,0,.60694],"121":[.19444,.44444,.01597,0,.60694],"122":[0,.44444,0,0,.51111],"123":[.25,.75,0,0,.575],"124":[.25,.75,0,0,.31944],"125":[.25,.75,0,0,.575],"126":[.35,.34444,0,0,.575],"160":[0,0,0,0,.25],"163":[0,.69444,0,0,.86853],"168":[0,.69444,0,0,.575],"172":[0,.44444,0,0,.76666],"176":[0,.69444,0,0,.86944],"177":[.13333,.63333,0,0,.89444],"184":[.17014,0,0,0,.51111],"198":[0,.68611,0,0,1.04166],"215":[.13333,.63333,0,0,.89444],"216":[.04861,.73472,0,0,.89444],"223":[0,.69444,0,0,.59722],"230":[0,.44444,0,0,.83055],"247":[.13333,.63333,0,0,.89444],"248":[.09722,.54167,0,0,.575],"305":[0,.44444,0,0,.31944],"338":[0,.68611,0,0,1.16944],"339":[0,.44444,0,0,.89444],"567":[.19444,.44444,0,0,.35139],"710":[0,.69444,0,0,.575],"711":[0,.63194,0,0,.575],"713":[0,.59611,0,0,.575],"714":[0,.69444,0,0,.575],"715":[0,.69444,0,0,.575],"728":[0,.69444,0,0,.575],"729":[0,.69444,0,0,.31944],"730":[0,.69444,0,0,.86944],"732":[0,.69444,0,0,.575],"733":[0,.69444,0,0,.575],"915":[0,.68611,0,0,.69166],"916":[0,.68611,0,0,.95833],"920":[0,.68611,0,0,.89444],"923":[0,.68611,0,0,.80555],"926":[0,.68611,0,0,.76666],"928":[0,.68611,0,0,.9],"931":[0,.68611,0,0,.83055],"933":[0,.68611,0,0,.89444],"934":[0,.68611,0,0,.83055],"936":[0,.68611,0,0,.89444],"937":[0,.68611,0,0,.83055],"8211":[0,.44444,.03194,0,.575],"8212":[0,.44444,.03194,0,1.14999],"8216":[0,.69444,0,0,.31944],"8217":[0,.69444,0,0,.31944],"8220":[0,.69444,0,0,.60278],"8221":[0,.69444,0,0,.60278],"8224":[.19444,.69444,0,0,.51111],"8225":[.19444,.69444,0,0,.51111],"8242":[0,.55556,0,0,.34444],"8407":[0,.72444,.15486,0,.575],"8463":[0,.69444,0,0,.66759],"8465":[0,.69444,0,0,.83055],"8467":[0,.69444,0,0,.47361],"8472":[.19444,.44444,0,0,.74027],"8476":[0,.69444,0,0,.83055],"8501":[0,.69444,0,0,.70277],"8592":[-.10889,.39111,0,0,1.14999],"8593":[.19444,.69444,0,0,.575],"8594":[-.10889,.39111,0,0,1.14999],"8595":[.19444,.69444,0,0,.575],"8596":[-.10889,.39111,0,0,1.14999],"8597":[.25,.75,0,0,.575],"8598":[.19444,.69444,0,0,1.14999],"8599":[.19444,.69444,0,0,1.14999],"8600":[.19444,.69444,0,0,1.14999],"8601":[.19444,.69444,0,0,1.14999],"8636":[-.10889,.39111,0,0,1.14999],"8637":[-.10889,.39111,0,0,1.14999],"8640":[-.10889,.39111,0,0,1.14999],"8641":[-.10889,.39111,0,0,1.14999],"8656":[-.10889,.39111,0,0,1.14999],"8657":[.19444,.69444,0,0,.70277],"8658":[-.10889,.39111,0,0,1.14999],"8659":[.19444,.69444,0,0,.70277],"8660":[-.10889,.39111,0,0,1.14999],"8661":[.25,.75,0,0,.70277],"8704":[0,.69444,0,0,.63889],"8706":[0,.69444,.06389,0,.62847],"8707":[0,.69444,0,0,.63889],"8709":[.05556,.75,0,0,.575],"8711":[0,.68611,0,0,.95833],"8712":[.08556,.58556,0,0,.76666],"8715":[.08556,.58556,0,0,.76666],"8722":[.13333,.63333,0,0,.89444],"8723":[.13333,.63333,0,0,.89444],"8725":[.25,.75,0,0,.575],"8726":[.25,.75,0,0,.575],"8727":[-.02778,.47222,0,0,.575],"8728":[-.02639,.47361,0,0,.575],"8729":[-.02639,.47361,0,0,.575],"8730":[.18,.82,0,0,.95833],"8733":[0,.44444,0,0,.89444],"8734":[0,.44444,0,0,1.14999],"8736":[0,.69224,0,0,.72222],"8739":[.25,.75,0,0,.31944],"8741":[.25,.75,0,0,.575],"8743":[0,.55556,0,0,.76666],"8744":[0,.55556,0,0,.76666],"8745":[0,.55556,0,0,.76666],"8746":[0,.55556,0,0,.76666],"8747":[.19444,.69444,.12778,0,.56875],"8764":[-.10889,.39111,0,0,.89444],"8768":[.19444,.69444,0,0,.31944],"8771":[.00222,.50222,0,0,.89444],"8773":[.027,.638,0,0,.894],"8776":[.02444,.52444,0,0,.89444],"8781":[.00222,.50222,0,0,.89444],"8801":[.00222,.50222,0,0,.89444],"8804":[.19667,.69667,0,0,.89444],"8805":[.19667,.69667,0,0,.89444],"8810":[.08556,.58556,0,0,1.14999],"8811":[.08556,.58556,0,0,1.14999],"8826":[.08556,.58556,0,0,.89444],"8827":[.08556,.58556,0,0,.89444],"8834":[.08556,.58556,0,0,.89444],"8835":[.08556,.58556,0,0,.89444],"8838":[.19667,.69667,0,0,.89444],"8839":[.19667,.69667,0,0,.89444],"8846":[0,.55556,0,0,.76666],"8849":[.19667,.69667,0,0,.89444],"8850":[.19667,.69667,0,0,.89444],"8851":[0,.55556,0,0,.76666],"8852":[0,.55556,0,0,.76666],"8853":[.13333,.63333,0,0,.89444],"8854":[.13333,.63333,0,0,.89444],"8855":[.13333,.63333,0,0,.89444],"8856":[.13333,.63333,0,0,.89444],"8857":[.13333,.63333,0,0,.89444],"8866":[0,.69444,0,0,.70277],"8867":[0,.69444,0,0,.70277],"8868":[0,.69444,0,0,.89444],"8869":[0,.69444,0,0,.89444],"8900":[-.02639,.47361,0,0,.575],"8901":[-.02639,.47361,0,0,.31944],"8902":[-.02778,.47222,0,0,.575],"8968":[.25,.75,0,0,.51111],"8969":[.25,.75,0,0,.51111],"8970":[.25,.75,0,0,.51111],"8971":[.25,.75,0,0,.51111],"8994":[-.13889,.36111,0,0,1.14999],"8995":[-.13889,.36111,0,0,1.14999],"9651":[.19444,.69444,0,0,1.02222],"9657":[-.02778,.47222,0,0,.575],"9661":[.19444,.69444,0,0,1.02222],"9667":[-.02778,.47222,0,0,.575],"9711":[.19444,.69444,0,0,1.14999],"9824":[.12963,.69444,0,0,.89444],"9825":[.12963,.69444,0,0,.89444],"9826":[.12963,.69444,0,0,.89444],"9827":[.12963,.69444,0,0,.89444],"9837":[0,.75,0,0,.44722],"9838":[.19444,.69444,0,0,.44722],"9839":[.19444,.69444,0,0,.44722],"10216":[.25,.75,0,0,.44722],"10217":[.25,.75,0,0,.44722],"10815":[0,.68611,0,0,.9],"10927":[.19667,.69667,0,0,.89444],"10928":[.19667,.69667,0,0,.89444],"57376":[.19444,.69444,0,0,0]},"Main-BoldItalic":{"32":[0,0,0,0,.25],"33":[0,.69444,.11417,0,.38611],"34":[0,.69444,.07939,0,.62055],"35":[.19444,.69444,.06833,0,.94444],"37":[.05556,.75,.12861,0,.94444],"38":[0,.69444,.08528,0,.88555],"39":[0,.69444,.12945,0,.35555],"40":[.25,.75,.15806,0,.47333],"41":[.25,.75,.03306,0,.47333],"42":[0,.75,.14333,0,.59111],"43":[.10333,.60333,.03306,0,.88555],"44":[.19444,.14722,0,0,.35555],"45":[0,.44444,.02611,0,.41444],"46":[0,.14722,0,0,.35555],"47":[.25,.75,.15806,0,.59111],"48":[0,.64444,.13167,0,.59111],"49":[0,.64444,.13167,0,.59111],"50":[0,.64444,.13167,0,.59111],"51":[0,.64444,.13167,0,.59111],"52":[.19444,.64444,.13167,0,.59111],"53":[0,.64444,.13167,0,.59111],"54":[0,.64444,.13167,0,.59111],"55":[.19444,.64444,.13167,0,.59111],"56":[0,.64444,.13167,0,.59111],"57":[0,.64444,.13167,0,.59111],"58":[0,.44444,.06695,0,.35555],"59":[.19444,.44444,.06695,0,.35555],"61":[-.10889,.39111,.06833,0,.88555],"63":[0,.69444,.11472,0,.59111],"64":[0,.69444,.09208,0,.88555],"65":[0,.68611,0,0,.86555],"66":[0,.68611,.0992,0,.81666],"67":[0,.68611,.14208,0,.82666],"68":[0,.68611,.09062,0,.87555],"69":[0,.68611,.11431,0,.75666],"70":[0,.68611,.12903,0,.72722],"71":[0,.68611,.07347,0,.89527],"72":[0,.68611,.17208,0,.8961],"73":[0,.68611,.15681,0,.47166],"74":[0,.68611,.145,0,.61055],"75":[0,.68611,.14208,0,.89499],"76":[0,.68611,0,0,.69777],"77":[0,.68611,.17208,0,1.07277],"78":[0,.68611,.17208,0,.8961],"79":[0,.68611,.09062,0,.85499],"80":[0,.68611,.0992,0,.78721],"81":[.19444,.68611,.09062,0,.85499],"82":[0,.68611,.02559,0,.85944],"83":[0,.68611,.11264,0,.64999],"84":[0,.68611,.12903,0,.7961],"85":[0,.68611,.17208,0,.88083],"86":[0,.68611,.18625,0,.86555],"87":[0,.68611,.18625,0,1.15999],"88":[0,.68611,.15681,0,.86555],"89":[0,.68611,.19803,0,.86555],"90":[0,.68611,.14208,0,.70888],"91":[.25,.75,.1875,0,.35611],"93":[.25,.75,.09972,0,.35611],"94":[0,.69444,.06709,0,.59111],"95":[.31,.13444,.09811,0,.59111],"97":[0,.44444,.09426,0,.59111],"98":[0,.69444,.07861,0,.53222],"99":[0,.44444,.05222,0,.53222],"100":[0,.69444,.10861,0,.59111],"101":[0,.44444,.085,0,.53222],"102":[.19444,.69444,.21778,0,.4],"103":[.19444,.44444,.105,0,.53222],"104":[0,.69444,.09426,0,.59111],"105":[0,.69326,.11387,0,.35555],"106":[.19444,.69326,.1672,0,.35555],"107":[0,.69444,.11111,0,.53222],"108":[0,.69444,.10861,0,.29666],"109":[0,.44444,.09426,0,.94444],"110":[0,.44444,.09426,0,.64999],"111":[0,.44444,.07861,0,.59111],"112":[.19444,.44444,.07861,0,.59111],"113":[.19444,.44444,.105,0,.53222],"114":[0,.44444,.11111,0,.50167],"115":[0,.44444,.08167,0,.48694],"116":[0,.63492,.09639,0,.385],"117":[0,.44444,.09426,0,.62055],"118":[0,.44444,.11111,0,.53222],"119":[0,.44444,.11111,0,.76777],"120":[0,.44444,.12583,0,.56055],"121":[.19444,.44444,.105,0,.56166],"122":[0,.44444,.13889,0,.49055],"126":[.35,.34444,.11472,0,.59111],"160":[0,0,0,0,.25],"168":[0,.69444,.11473,0,.59111],"176":[0,.69444,0,0,.94888],"184":[.17014,0,0,0,.53222],"198":[0,.68611,.11431,0,1.02277],"216":[.04861,.73472,.09062,0,.88555],"223":[.19444,.69444,.09736,0,.665],"230":[0,.44444,.085,0,.82666],"248":[.09722,.54167,.09458,0,.59111],"305":[0,.44444,.09426,0,.35555],"338":[0,.68611,.11431,0,1.14054],"339":[0,.44444,.085,0,.82666],"567":[.19444,.44444,.04611,0,.385],"710":[0,.69444,.06709,0,.59111],"711":[0,.63194,.08271,0,.59111],"713":[0,.59444,.10444,0,.59111],"714":[0,.69444,.08528,0,.59111],"715":[0,.69444,0,0,.59111],"728":[0,.69444,.10333,0,.59111],"729":[0,.69444,.12945,0,.35555],"730":[0,.69444,0,0,.94888],"732":[0,.69444,.11472,0,.59111],"733":[0,.69444,.11472,0,.59111],"915":[0,.68611,.12903,0,.69777],"916":[0,.68611,0,0,.94444],"920":[0,.68611,.09062,0,.88555],"923":[0,.68611,0,0,.80666],"926":[0,.68611,.15092,0,.76777],"928":[0,.68611,.17208,0,.8961],"931":[0,.68611,.11431,0,.82666],"933":[0,.68611,.10778,0,.88555],"934":[0,.68611,.05632,0,.82666],"936":[0,.68611,.10778,0,.88555],"937":[0,.68611,.0992,0,.82666],"8211":[0,.44444,.09811,0,.59111],"8212":[0,.44444,.09811,0,1.18221],"8216":[0,.69444,.12945,0,.35555],"8217":[0,.69444,.12945,0,.35555],"8220":[0,.69444,.16772,0,.62055],"8221":[0,.69444,.07939,0,.62055]},"Main-Italic":{"32":[0,0,0,0,.25],"33":[0,.69444,.12417,0,.30667],"34":[0,.69444,.06961,0,.51444],"35":[.19444,.69444,.06616,0,.81777],"37":[.05556,.75,.13639,0,.81777],"38":[0,.69444,.09694,0,.76666],"39":[0,.69444,.12417,0,.30667],"40":[.25,.75,.16194,0,.40889],"41":[.25,.75,.03694,0,.40889],"42":[0,.75,.14917,0,.51111],"43":[.05667,.56167,.03694,0,.76666],"44":[.19444,.10556,0,0,.30667],"45":[0,.43056,.02826,0,.35778],"46":[0,.10556,0,0,.30667],"47":[.25,.75,.16194,0,.51111],"48":[0,.64444,.13556,0,.51111],"49":[0,.64444,.13556,0,.51111],"50":[0,.64444,.13556,0,.51111],"51":[0,.64444,.13556,0,.51111],"52":[.19444,.64444,.13556,0,.51111],"53":[0,.64444,.13556,0,.51111],"54":[0,.64444,.13556,0,.51111],"55":[.19444,.64444,.13556,0,.51111],"56":[0,.64444,.13556,0,.51111],"57":[0,.64444,.13556,0,.51111],"58":[0,.43056,.0582,0,.30667],"59":[.19444,.43056,.0582,0,.30667],"61":[-.13313,.36687,.06616,0,.76666],"63":[0,.69444,.1225,0,.51111],"64":[0,.69444,.09597,0,.76666],"65":[0,.68333,0,0,.74333],"66":[0,.68333,.10257,0,.70389],"67":[0,.68333,.14528,0,.71555],"68":[0,.68333,.09403,0,.755],"69":[0,.68333,.12028,0,.67833],"70":[0,.68333,.13305,0,.65277],"71":[0,.68333,.08722,0,.77361],"72":[0,.68333,.16389,0,.74333],"73":[0,.68333,.15806,0,.38555],"74":[0,.68333,.14028,0,.525],"75":[0,.68333,.14528,0,.76888],"76":[0,.68333,0,0,.62722],"77":[0,.68333,.16389,0,.89666],"78":[0,.68333,.16389,0,.74333],"79":[0,.68333,.09403,0,.76666],"80":[0,.68333,.10257,0,.67833],"81":[.19444,.68333,.09403,0,.76666],"82":[0,.68333,.03868,0,.72944],"83":[0,.68333,.11972,0,.56222],"84":[0,.68333,.13305,0,.71555],"85":[0,.68333,.16389,0,.74333],"86":[0,.68333,.18361,0,.74333],"87":[0,.68333,.18361,0,.99888],"88":[0,.68333,.15806,0,.74333],"89":[0,.68333,.19383,0,.74333],"90":[0,.68333,.14528,0,.61333],"91":[.25,.75,.1875,0,.30667],"93":[.25,.75,.10528,0,.30667],"94":[0,.69444,.06646,0,.51111],"95":[.31,.12056,.09208,0,.51111],"97":[0,.43056,.07671,0,.51111],"98":[0,.69444,.06312,0,.46],"99":[0,.43056,.05653,0,.46],"100":[0,.69444,.10333,0,.51111],"101":[0,.43056,.07514,0,.46],"102":[.19444,.69444,.21194,0,.30667],"103":[.19444,.43056,.08847,0,.46],"104":[0,.69444,.07671,0,.51111],"105":[0,.65536,.1019,0,.30667],"106":[.19444,.65536,.14467,0,.30667],"107":[0,.69444,.10764,0,.46],"108":[0,.69444,.10333,0,.25555],"109":[0,.43056,.07671,0,.81777],"110":[0,.43056,.07671,0,.56222],"111":[0,.43056,.06312,0,.51111],"112":[.19444,.43056,.06312,0,.51111],"113":[.19444,.43056,.08847,0,.46],"114":[0,.43056,.10764,0,.42166],"115":[0,.43056,.08208,0,.40889],"116":[0,.61508,.09486,0,.33222],"117":[0,.43056,.07671,0,.53666],"118":[0,.43056,.10764,0,.46],"119":[0,.43056,.10764,0,.66444],"120":[0,.43056,.12042,0,.46389],"121":[.19444,.43056,.08847,0,.48555],"122":[0,.43056,.12292,0,.40889],"126":[.35,.31786,.11585,0,.51111],"160":[0,0,0,0,.25],"168":[0,.66786,.10474,0,.51111],"176":[0,.69444,0,0,.83129],"184":[.17014,0,0,0,.46],"198":[0,.68333,.12028,0,.88277],"216":[.04861,.73194,.09403,0,.76666],"223":[.19444,.69444,.10514,0,.53666],"230":[0,.43056,.07514,0,.71555],"248":[.09722,.52778,.09194,0,.51111],"338":[0,.68333,.12028,0,.98499],"339":[0,.43056,.07514,0,.71555],"710":[0,.69444,.06646,0,.51111],"711":[0,.62847,.08295,0,.51111],"713":[0,.56167,.10333,0,.51111],"714":[0,.69444,.09694,0,.51111],"715":[0,.69444,0,0,.51111],"728":[0,.69444,.10806,0,.51111],"729":[0,.66786,.11752,0,.30667],"730":[0,.69444,0,0,.83129],"732":[0,.66786,.11585,0,.51111],"733":[0,.69444,.1225,0,.51111],"915":[0,.68333,.13305,0,.62722],"916":[0,.68333,0,0,.81777],"920":[0,.68333,.09403,0,.76666],"923":[0,.68333,0,0,.69222],"926":[0,.68333,.15294,0,.66444],"928":[0,.68333,.16389,0,.74333],"931":[0,.68333,.12028,0,.71555],"933":[0,.68333,.11111,0,.76666],"934":[0,.68333,.05986,0,.71555],"936":[0,.68333,.11111,0,.76666],"937":[0,.68333,.10257,0,.71555],"8211":[0,.43056,.09208,0,.51111],"8212":[0,.43056,.09208,0,1.02222],"8216":[0,.69444,.12417,0,.30667],"8217":[0,.69444,.12417,0,.30667],"8220":[0,.69444,.1685,0,.51444],"8221":[0,.69444,.06961,0,.51444],"8463":[0,.68889,0,0,.54028]},"Main-Regular":{"32":[0,0,0,0,.25],"33":[0,.69444,0,0,.27778],"34":[0,.69444,0,0,.5],"35":[.19444,.69444,0,0,.83334],"36":[.05556,.75,0,0,.5],"37":[.05556,.75,0,0,.83334],"38":[0,.69444,0,0,.77778],"39":[0,.69444,0,0,.27778],"40":[.25,.75,0,0,.38889],"41":[.25,.75,0,0,.38889],"42":[0,.75,0,0,.5],"43":[.08333,.58333,0,0,.77778],"44":[.19444,.10556,0,0,.27778],"45":[0,.43056,0,0,.33333],"46":[0,.10556,0,0,.27778],"47":[.25,.75,0,0,.5],"48":[0,.64444,0,0,.5],"49":[0,.64444,0,0,.5],"50":[0,.64444,0,0,.5],"51":[0,.64444,0,0,.5],"52":[0,.64444,0,0,.5],"53":[0,.64444,0,0,.5],"54":[0,.64444,0,0,.5],"55":[0,.64444,0,0,.5],"56":[0,.64444,0,0,.5],"57":[0,.64444,0,0,.5],"58":[0,.43056,0,0,.27778],"59":[.19444,.43056,0,0,.27778],"60":[.0391,.5391,0,0,.77778],"61":[-.13313,.36687,0,0,.77778],"62":[.0391,.5391,0,0,.77778],"63":[0,.69444,0,0,.47222],"64":[0,.69444,0,0,.77778],"65":[0,.68333,0,0,.75],"66":[0,.68333,0,0,.70834],"67":[0,.68333,0,0,.72222],"68":[0,.68333,0,0,.76389],"69":[0,.68333,0,0,.68056],"70":[0,.68333,0,0,.65278],"71":[0,.68333,0,0,.78472],"72":[0,.68333,0,0,.75],"73":[0,.68333,0,0,.36111],"74":[0,.68333,0,0,.51389],"75":[0,.68333,0,0,.77778],"76":[0,.68333,0,0,.625],"77":[0,.68333,0,0,.91667],"78":[0,.68333,0,0,.75],"79":[0,.68333,0,0,.77778],"80":[0,.68333,0,0,.68056],"81":[.19444,.68333,0,0,.77778],"82":[0,.68333,0,0,.73611],"83":[0,.68333,0,0,.55556],"84":[0,.68333,0,0,.72222],"85":[0,.68333,0,0,.75],"86":[0,.68333,.01389,0,.75],"87":[0,.68333,.01389,0,1.02778],"88":[0,.68333,0,0,.75],"89":[0,.68333,.025,0,.75],"90":[0,.68333,0,0,.61111],"91":[.25,.75,0,0,.27778],"92":[.25,.75,0,0,.5],"93":[.25,.75,0,0,.27778],"94":[0,.69444,0,0,.5],"95":[.31,.12056,.02778,0,.5],"97":[0,.43056,0,0,.5],"98":[0,.69444,0,0,.55556],"99":[0,.43056,0,0,.44445],"100":[0,.69444,0,0,.55556],"101":[0,.43056,0,0,.44445],"102":[0,.69444,.07778,0,.30556],"103":[.19444,.43056,.01389,0,.5],"104":[0,.69444,0,0,.55556],"105":[0,.66786,0,0,.27778],"106":[.19444,.66786,0,0,.30556],"107":[0,.69444,0,0,.52778],"108":[0,.69444,0,0,.27778],"109":[0,.43056,0,0,.83334],"110":[0,.43056,0,0,.55556],"111":[0,.43056,0,0,.5],"112":[.19444,.43056,0,0,.55556],"113":[.19444,.43056,0,0,.52778],"114":[0,.43056,0,0,.39167],"115":[0,.43056,0,0,.39445],"116":[0,.61508,0,0,.38889],"117":[0,.43056,0,0,.55556],"118":[0,.43056,.01389,0,.52778],"119":[0,.43056,.01389,0,.72222],"120":[0,.43056,0,0,.52778],"121":[.19444,.43056,.01389,0,.52778],"122":[0,.43056,0,0,.44445],"123":[.25,.75,0,0,.5],"124":[.25,.75,0,0,.27778],"125":[.25,.75,0,0,.5],"126":[.35,.31786,0,0,.5],"160":[0,0,0,0,.25],"163":[0,.69444,0,0,.76909],"167":[.19444,.69444,0,0,.44445],"168":[0,.66786,0,0,.5],"172":[0,.43056,0,0,.66667],"176":[0,.69444,0,0,.75],"177":[.08333,.58333,0,0,.77778],"182":[.19444,.69444,0,0,.61111],"184":[.17014,0,0,0,.44445],"198":[0,.68333,0,0,.90278],"215":[.08333,.58333,0,0,.77778],"216":[.04861,.73194,0,0,.77778],"223":[0,.69444,0,0,.5],"230":[0,.43056,0,0,.72222],"247":[.08333,.58333,0,0,.77778],"248":[.09722,.52778,0,0,.5],"305":[0,.43056,0,0,.27778],"338":[0,.68333,0,0,1.01389],"339":[0,.43056,0,0,.77778],"567":[.19444,.43056,0,0,.30556],"710":[0,.69444,0,0,.5],"711":[0,.62847,0,0,.5],"713":[0,.56778,0,0,.5],"714":[0,.69444,0,0,.5],"715":[0,.69444,0,0,.5],"728":[0,.69444,0,0,.5],"729":[0,.66786,0,0,.27778],"730":[0,.69444,0,0,.75],"732":[0,.66786,0,0,.5],"733":[0,.69444,0,0,.5],"915":[0,.68333,0,0,.625],"916":[0,.68333,0,0,.83334],"920":[0,.68333,0,0,.77778],"923":[0,.68333,0,0,.69445],"926":[0,.68333,0,0,.66667],"928":[0,.68333,0,0,.75],"931":[0,.68333,0,0,.72222],"933":[0,.68333,0,0,.77778],"934":[0,.68333,0,0,.72222],"936":[0,.68333,0,0,.77778],"937":[0,.68333,0,0,.72222],"8211":[0,.43056,.02778,0,.5],"8212":[0,.43056,.02778,0,1],"8216":[0,.69444,0,0,.27778],"8217":[0,.69444,0,0,.27778],"8220":[0,.69444,0,0,.5],"8221":[0,.69444,0,0,.5],"8224":[.19444,.69444,0,0,.44445],"8225":[.19444,.69444,0,0,.44445],"8230":[0,.123,0,0,1.172],"8242":[0,.55556,0,0,.275],"8407":[0,.71444,.15382,0,.5],"8463":[0,.68889,0,0,.54028],"8465":[0,.69444,0,0,.72222],"8467":[0,.69444,0,.11111,.41667],"8472":[.19444,.43056,0,.11111,.63646],"8476":[0,.69444,0,0,.72222],"8501":[0,.69444,0,0,.61111],"8592":[-.13313,.36687,0,0,1],"8593":[.19444,.69444,0,0,.5],"8594":[-.13313,.36687,0,0,1],"8595":[.19444,.69444,0,0,.5],"8596":[-.13313,.36687,0,0,1],"8597":[.25,.75,0,0,.5],"8598":[.19444,.69444,0,0,1],"8599":[.19444,.69444,0,0,1],"8600":[.19444,.69444,0,0,1],"8601":[.19444,.69444,0,0,1],"8614":[.011,.511,0,0,1],"8617":[.011,.511,0,0,1.126],"8618":[.011,.511,0,0,1.126],"8636":[-.13313,.36687,0,0,1],"8637":[-.13313,.36687,0,0,1],"8640":[-.13313,.36687,0,0,1],"8641":[-.13313,.36687,0,0,1],"8652":[.011,.671,0,0,1],"8656":[-.13313,.36687,0,0,1],"8657":[.19444,.69444,0,0,.61111],"8658":[-.13313,.36687,0,0,1],"8659":[.19444,.69444,0,0,.61111],"8660":[-.13313,.36687,0,0,1],"8661":[.25,.75,0,0,.61111],"8704":[0,.69444,0,0,.55556],"8706":[0,.69444,.05556,.08334,.5309],"8707":[0,.69444,0,0,.55556],"8709":[.05556,.75,0,0,.5],"8711":[0,.68333,0,0,.83334],"8712":[.0391,.5391,0,0,.66667],"8715":[.0391,.5391,0,0,.66667],"8722":[.08333,.58333,0,0,.77778],"8723":[.08333,.58333,0,0,.77778],"8725":[.25,.75,0,0,.5],"8726":[.25,.75,0,0,.5],"8727":[-.03472,.46528,0,0,.5],"8728":[-.05555,.44445,0,0,.5],"8729":[-.05555,.44445,0,0,.5],"8730":[.2,.8,0,0,.83334],"8733":[0,.43056,0,0,.77778],"8734":[0,.43056,0,0,1],"8736":[0,.69224,0,0,.72222],"8739":[.25,.75,0,0,.27778],"8741":[.25,.75,0,0,.5],"8743":[0,.55556,0,0,.66667],"8744":[0,.55556,0,0,.66667],"8745":[0,.55556,0,0,.66667],"8746":[0,.55556,0,0,.66667],"8747":[.19444,.69444,.11111,0,.41667],"8764":[-.13313,.36687,0,0,.77778],"8768":[.19444,.69444,0,0,.27778],"8771":[-.03625,.46375,0,0,.77778],"8773":[-.022,.589,0,0,.778],"8776":[-.01688,.48312,0,0,.77778],"8781":[-.03625,.46375,0,0,.77778],"8784":[-.133,.673,0,0,.778],"8801":[-.03625,.46375,0,0,.77778],"8804":[.13597,.63597,0,0,.77778],"8805":[.13597,.63597,0,0,.77778],"8810":[.0391,.5391,0,0,1],"8811":[.0391,.5391,0,0,1],"8826":[.0391,.5391,0,0,.77778],"8827":[.0391,.5391,0,0,.77778],"8834":[.0391,.5391,0,0,.77778],"8835":[.0391,.5391,0,0,.77778],"8838":[.13597,.63597,0,0,.77778],"8839":[.13597,.63597,0,0,.77778],"8846":[0,.55556,0,0,.66667],"8849":[.13597,.63597,0,0,.77778],"8850":[.13597,.63597,0,0,.77778],"8851":[0,.55556,0,0,.66667],"8852":[0,.55556,0,0,.66667],"8853":[.08333,.58333,0,0,.77778],"8854":[.08333,.58333,0,0,.77778],"8855":[.08333,.58333,0,0,.77778],"8856":[.08333,.58333,0,0,.77778],"8857":[.08333,.58333,0,0,.77778],"8866":[0,.69444,0,0,.61111],"8867":[0,.69444,0,0,.61111],"8868":[0,.69444,0,0,.77778],"8869":[0,.69444,0,0,.77778],"8872":[.249,.75,0,0,.867],"8900":[-.05555,.44445,0,0,.5],"8901":[-.05555,.44445,0,0,.27778],"8902":[-.03472,.46528,0,0,.5],"8904":[.005,.505,0,0,.9],"8942":[.03,.903,0,0,.278],"8943":[-.19,.313,0,0,1.172],"8945":[-.1,.823,0,0,1.282],"8968":[.25,.75,0,0,.44445],"8969":[.25,.75,0,0,.44445],"8970":[.25,.75,0,0,.44445],"8971":[.25,.75,0,0,.44445],"8994":[-.14236,.35764,0,0,1],"8995":[-.14236,.35764,0,0,1],"9136":[.244,.744,0,0,.412],"9137":[.244,.745,0,0,.412],"9651":[.19444,.69444,0,0,.88889],"9657":[-.03472,.46528,0,0,.5],"9661":[.19444,.69444,0,0,.88889],"9667":[-.03472,.46528,0,0,.5],"9711":[.19444,.69444,0,0,1],"9824":[.12963,.69444,0,0,.77778],"9825":[.12963,.69444,0,0,.77778],"9826":[.12963,.69444,0,0,.77778],"9827":[.12963,.69444,0,0,.77778],"9837":[0,.75,0,0,.38889],"9838":[.19444,.69444,0,0,.38889],"9839":[.19444,.69444,0,0,.38889],"10216":[.25,.75,0,0,.38889],"10217":[.25,.75,0,0,.38889],"10222":[.244,.744,0,0,.412],"10223":[.244,.745,0,0,.412],"10229":[.011,.511,0,0,1.609],"10230":[.011,.511,0,0,1.638],"10231":[.011,.511,0,0,1.859],"10232":[.024,.525,0,0,1.609],"10233":[.024,.525,0,0,1.638],"10234":[.024,.525,0,0,1.858],"10236":[.011,.511,0,0,1.638],"10815":[0,.68333,0,0,.75],"10927":[.13597,.63597,0,0,.77778],"10928":[.13597,.63597,0,0,.77778],"57376":[.19444,.69444,0,0,0]},"Math-BoldItalic":{"32":[0,0,0,0,.25],"48":[0,.44444,0,0,.575],"49":[0,.44444,0,0,.575],"50":[0,.44444,0,0,.575],"51":[.19444,.44444,0,0,.575],"52":[.19444,.44444,0,0,.575],"53":[.19444,.44444,0,0,.575],"54":[0,.64444,0,0,.575],"55":[.19444,.44444,0,0,.575],"56":[0,.64444,0,0,.575],"57":[.19444,.44444,0,0,.575],"65":[0,.68611,0,0,.86944],"66":[0,.68611,.04835,0,.8664],"67":[0,.68611,.06979,0,.81694],"68":[0,.68611,.03194,0,.93812],"69":[0,.68611,.05451,0,.81007],"70":[0,.68611,.15972,0,.68889],"71":[0,.68611,0,0,.88673],"72":[0,.68611,.08229,0,.98229],"73":[0,.68611,.07778,0,.51111],"74":[0,.68611,.10069,0,.63125],"75":[0,.68611,.06979,0,.97118],"76":[0,.68611,0,0,.75555],"77":[0,.68611,.11424,0,1.14201],"78":[0,.68611,.11424,0,.95034],"79":[0,.68611,.03194,0,.83666],"80":[0,.68611,.15972,0,.72309],"81":[.19444,.68611,0,0,.86861],"82":[0,.68611,.00421,0,.87235],"83":[0,.68611,.05382,0,.69271],"84":[0,.68611,.15972,0,.63663],"85":[0,.68611,.11424,0,.80027],"86":[0,.68611,.25555,0,.67778],"87":[0,.68611,.15972,0,1.09305],"88":[0,.68611,.07778,0,.94722],"89":[0,.68611,.25555,0,.67458],"90":[0,.68611,.06979,0,.77257],"97":[0,.44444,0,0,.63287],"98":[0,.69444,0,0,.52083],"99":[0,.44444,0,0,.51342],"100":[0,.69444,0,0,.60972],"101":[0,.44444,0,0,.55361],"102":[.19444,.69444,.11042,0,.56806],"103":[.19444,.44444,.03704,0,.5449],"104":[0,.69444,0,0,.66759],"105":[0,.69326,0,0,.4048],"106":[.19444,.69326,.0622,0,.47083],"107":[0,.69444,.01852,0,.6037],"108":[0,.69444,.0088,0,.34815],"109":[0,.44444,0,0,1.0324],"110":[0,.44444,0,0,.71296],"111":[0,.44444,0,0,.58472],"112":[.19444,.44444,0,0,.60092],"113":[.19444,.44444,.03704,0,.54213],"114":[0,.44444,.03194,0,.5287],"115":[0,.44444,0,0,.53125],"116":[0,.63492,0,0,.41528],"117":[0,.44444,0,0,.68102],"118":[0,.44444,.03704,0,.56666],"119":[0,.44444,.02778,0,.83148],"120":[0,.44444,0,0,.65903],"121":[.19444,.44444,.03704,0,.59028],"122":[0,.44444,.04213,0,.55509],"160":[0,0,0,0,.25],"915":[0,.68611,.15972,0,.65694],"916":[0,.68611,0,0,.95833],"920":[0,.68611,.03194,0,.86722],"923":[0,.68611,0,0,.80555],"926":[0,.68611,.07458,0,.84125],"928":[0,.68611,.08229,0,.98229],"931":[0,.68611,.05451,0,.88507],"933":[0,.68611,.15972,0,.67083],"934":[0,.68611,0,0,.76666],"936":[0,.68611,.11653,0,.71402],"937":[0,.68611,.04835,0,.8789],"945":[0,.44444,0,0,.76064],"946":[.19444,.69444,.03403,0,.65972],"947":[.19444,.44444,.06389,0,.59003],"948":[0,.69444,.03819,0,.52222],"949":[0,.44444,0,0,.52882],"950":[.19444,.69444,.06215,0,.50833],"951":[.19444,.44444,.03704,0,.6],"952":[0,.69444,.03194,0,.5618],"953":[0,.44444,0,0,.41204],"954":[0,.44444,0,0,.66759],"955":[0,.69444,0,0,.67083],"956":[.19444,.44444,0,0,.70787],"957":[0,.44444,.06898,0,.57685],"958":[.19444,.69444,.03021,0,.50833],"959":[0,.44444,0,0,.58472],"960":[0,.44444,.03704,0,.68241],"961":[.19444,.44444,0,0,.6118],"962":[.09722,.44444,.07917,0,.42361],"963":[0,.44444,.03704,0,.68588],"964":[0,.44444,.13472,0,.52083],"965":[0,.44444,.03704,0,.63055],"966":[.19444,.44444,0,0,.74722],"967":[.19444,.44444,0,0,.71805],"968":[.19444,.69444,.03704,0,.75833],"969":[0,.44444,.03704,0,.71782],"977":[0,.69444,0,0,.69155],"981":[.19444,.69444,0,0,.7125],"982":[0,.44444,.03194,0,.975],"1009":[.19444,.44444,0,0,.6118],"1013":[0,.44444,0,0,.48333],"57649":[0,.44444,0,0,.39352],"57911":[.19444,.44444,0,0,.43889]},"Math-Italic":{"32":[0,0,0,0,.25],"48":[0,.43056,0,0,.5],"49":[0,.43056,0,0,.5],"50":[0,.43056,0,0,.5],"51":[.19444,.43056,0,0,.5],"52":[.19444,.43056,0,0,.5],"53":[.19444,.43056,0,0,.5],"54":[0,.64444,0,0,.5],"55":[.19444,.43056,0,0,.5],"56":[0,.64444,0,0,.5],"57":[.19444,.43056,0,0,.5],"65":[0,.68333,0,.13889,.75],"66":[0,.68333,.05017,.08334,.75851],"67":[0,.68333,.07153,.08334,.71472],"68":[0,.68333,.02778,.05556,.82792],"69":[0,.68333,.05764,.08334,.7382],"70":[0,.68333,.13889,.08334,.64306],"71":[0,.68333,0,.08334,.78625],"72":[0,.68333,.08125,.05556,.83125],"73":[0,.68333,.07847,.11111,.43958],"74":[0,.68333,.09618,.16667,.55451],"75":[0,.68333,.07153,.05556,.84931],"76":[0,.68333,0,.02778,.68056],"77":[0,.68333,.10903,.08334,.97014],"78":[0,.68333,.10903,.08334,.80347],"79":[0,.68333,.02778,.08334,.76278],"80":[0,.68333,.13889,.08334,.64201],"81":[.19444,.68333,0,.08334,.79056],"82":[0,.68333,.00773,.08334,.75929],"83":[0,.68333,.05764,.08334,.6132],"84":[0,.68333,.13889,.08334,.58438],"85":[0,.68333,.10903,.02778,.68278],"86":[0,.68333,.22222,0,.58333],"87":[0,.68333,.13889,0,.94445],"88":[0,.68333,.07847,.08334,.82847],"89":[0,.68333,.22222,0,.58056],"90":[0,.68333,.07153,.08334,.68264],"97":[0,.43056,0,0,.52859],"98":[0,.69444,0,0,.42917],"99":[0,.43056,0,.05556,.43276],"100":[0,.69444,0,.16667,.52049],"101":[0,.43056,0,.05556,.46563],"102":[.19444,.69444,.10764,.16667,.48959],"103":[.19444,.43056,.03588,.02778,.47697],"104":[0,.69444,0,0,.57616],"105":[0,.65952,0,0,.34451],"106":[.19444,.65952,.05724,0,.41181],"107":[0,.69444,.03148,0,.5206],"108":[0,.69444,.01968,.08334,.29838],"109":[0,.43056,0,0,.87801],"110":[0,.43056,0,0,.60023],"111":[0,.43056,0,.05556,.48472],"112":[.19444,.43056,0,.08334,.50313],"113":[.19444,.43056,.03588,.08334,.44641],"114":[0,.43056,.02778,.05556,.45116],"115":[0,.43056,0,.05556,.46875],"116":[0,.61508,0,.08334,.36111],"117":[0,.43056,0,.02778,.57246],"118":[0,.43056,.03588,.02778,.48472],"119":[0,.43056,.02691,.08334,.71592],"120":[0,.43056,0,.02778,.57153],"121":[.19444,.43056,.03588,.05556,.49028],"122":[0,.43056,.04398,.05556,.46505],"160":[0,0,0,0,.25],"915":[0,.68333,.13889,.08334,.61528],"916":[0,.68333,0,.16667,.83334],"920":[0,.68333,.02778,.08334,.76278],"923":[0,.68333,0,.16667,.69445],"926":[0,.68333,.07569,.08334,.74236],"928":[0,.68333,.08125,.05556,.83125],"931":[0,.68333,.05764,.08334,.77986],"933":[0,.68333,.13889,.05556,.58333],"934":[0,.68333,0,.08334,.66667],"936":[0,.68333,.11,.05556,.61222],"937":[0,.68333,.05017,.08334,.7724],"945":[0,.43056,.0037,.02778,.6397],"946":[.19444,.69444,.05278,.08334,.56563],"947":[.19444,.43056,.05556,0,.51773],"948":[0,.69444,.03785,.05556,.44444],"949":[0,.43056,0,.08334,.46632],"950":[.19444,.69444,.07378,.08334,.4375],"951":[.19444,.43056,.03588,.05556,.49653],"952":[0,.69444,.02778,.08334,.46944],"953":[0,.43056,0,.05556,.35394],"954":[0,.43056,0,0,.57616],"955":[0,.69444,0,0,.58334],"956":[.19444,.43056,0,.02778,.60255],"957":[0,.43056,.06366,.02778,.49398],"958":[.19444,.69444,.04601,.11111,.4375],"959":[0,.43056,0,.05556,.48472],"960":[0,.43056,.03588,0,.57003],"961":[.19444,.43056,0,.08334,.51702],"962":[.09722,.43056,.07986,.08334,.36285],"963":[0,.43056,.03588,0,.57141],"964":[0,.43056,.1132,.02778,.43715],"965":[0,.43056,.03588,.02778,.54028],"966":[.19444,.43056,0,.08334,.65417],"967":[.19444,.43056,0,.05556,.62569],"968":[.19444,.69444,.03588,.11111,.65139],"969":[0,.43056,.03588,0,.62245],"977":[0,.69444,0,.08334,.59144],"981":[.19444,.69444,0,.08334,.59583],"982":[0,.43056,.02778,0,.82813],"1009":[.19444,.43056,0,.08334,.51702],"1013":[0,.43056,0,.05556,.4059],"57649":[0,.43056,0,.02778,.32246],"57911":[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{"32":[0,0,0,0,.25],"33":[0,.69444,0,0,.36667],"34":[0,.69444,0,0,.55834],"35":[.19444,.69444,0,0,.91667],"36":[.05556,.75,0,0,.55],"37":[.05556,.75,0,0,1.02912],"38":[0,.69444,0,0,.83056],"39":[0,.69444,0,0,.30556],"40":[.25,.75,0,0,.42778],"41":[.25,.75,0,0,.42778],"42":[0,.75,0,0,.55],"43":[.11667,.61667,0,0,.85556],"44":[.10556,.13056,0,0,.30556],"45":[0,.45833,0,0,.36667],"46":[0,.13056,0,0,.30556],"47":[.25,.75,0,0,.55],"48":[0,.69444,0,0,.55],"49":[0,.69444,0,0,.55],"50":[0,.69444,0,0,.55],"51":[0,.69444,0,0,.55],"52":[0,.69444,0,0,.55],"53":[0,.69444,0,0,.55],"54":[0,.69444,0,0,.55],"55":[0,.69444,0,0,.55],"56":[0,.69444,0,0,.55],"57":[0,.69444,0,0,.55],"58":[0,.45833,0,0,.30556],"59":[.10556,.45833,0,0,.30556],"61":[-.09375,.40625,0,0,.85556],"63":[0,.69444,0,0,.51945],"64":[0,.69444,0,0,.73334],"65":[0,.69444,0,0,.73334],"66":[0,.69444,0,0,.73334],"67":[0,.69444,0,0,.70278],"68":[0,.69444,0,0,.79445],"69":[0,.69444,0,0,.64167],"70":[0,.69444,0,0,.61111],"71":[0,.69444,0,0,.73334],"72":[0,.69444,0,0,.79445],"73":[0,.69444,0,0,.33056],"74":[0,.69444,0,0,.51945],"75":[0,.69444,0,0,.76389],"76":[0,.69444,0,0,.58056],"77":[0,.69444,0,0,.97778],"78":[0,.69444,0,0,.79445],"79":[0,.69444,0,0,.79445],"80":[0,.69444,0,0,.70278],"81":[.10556,.69444,0,0,.79445],"82":[0,.69444,0,0,.70278],"83":[0,.69444,0,0,.61111],"84":[0,.69444,0,0,.73334],"85":[0,.69444,0,0,.76389],"86":[0,.69444,.01528,0,.73334],"87":[0,.69444,.01528,0,1.03889],"88":[0,.69444,0,0,.73334],"89":[0,.69444,.0275,0,.73334],"90":[0,.69444,0,0,.67223],"91":[.25,.75,0,0,.34306],"93":[.25,.75,0,0,.34306],"94":[0,.69444,0,0,.55],"95":[.35,.10833,.03056,0,.55],"97":[0,.45833,0,0,.525],"98":[0,.69444,0,0,.56111],"99":[0,.45833,0,0,.48889],"100":[0,.69444,0,0,.56111],"101":[0,.45833,0,0,.51111],"102":[0,.69444,.07639,0,.33611],"103":[.19444,.45833,.01528,0,.55],"104":[0,.69444,0,0,.56111],"105":[0,.69444,0,0,.25556],"106":[.19444,.69444,0,0,.28611],"107":[0,.69444,0,0,.53056],"108":[0,.69444,0,0,.25556],"109":[0,.45833,0,0,.86667],"110":[0,.45833,0,0,.56111],"111":[0,.45833,0,0,.55],"112":[.19444,.45833,0,0,.56111],"113":[.19444,.45833,0,0,.56111],"114":[0,.45833,.01528,0,.37222],"115":[0,.45833,0,0,.42167],"116":[0,.58929,0,0,.40417],"117":[0,.45833,0,0,.56111],"118":[0,.45833,.01528,0,.5],"119":[0,.45833,.01528,0,.74445],"120":[0,.45833,0,0,.5],"121":[.19444,.45833,.01528,0,.5],"122":[0,.45833,0,0,.47639],"126":[.35,.34444,0,0,.55],"160":[0,0,0,0,.25],"168":[0,.69444,0,0,.55],"176":[0,.69444,0,0,.73334],"180":[0,.69444,0,0,.55],"184":[.17014,0,0,0,.48889],"305":[0,.45833,0,0,.25556],"567":[.19444,.45833,0,0,.28611],"710":[0,.69444,0,0,.55],"711":[0,.63542,0,0,.55],"713":[0,.63778,0,0,.55],"728":[0,.69444,0,0,.55],"729":[0,.69444,0,0,.30556],"730":[0,.69444,0,0,.73334],"732":[0,.69444,0,0,.55],"733":[0,.69444,0,0,.55],"915":[0,.69444,0,0,.58056],"916":[0,.69444,0,0,.91667],"920":[0,.69444,0,0,.85556],"923":[0,.69444,0,0,.67223],"926":[0,.69444,0,0,.73334],"928":[0,.69444,0,0,.79445],"931":[0,.69444,0,0,.79445],"933":[0,.69444,0,0,.85556],"934":[0,.69444,0,0,.79445],"936":[0,.69444,0,0,.85556],"937":[0,.69444,0,0,.79445],"8211":[0,.45833,.03056,0,.55],"8212":[0,.45833,.03056,0,1.10001],"8216":[0,.69444,0,0,.30556],"8217":[0,.69444,0,0,.30556],"8220":[0,.69444,0,0,.55834],"8221":[0,.69444,0,0,.55834]},"SansSerif-Italic":{"32":[0,0,0,0,.25],"33":[0,.69444,.05733,0,.31945],"34":[0,.69444,.00316,0,.5],"35":[.19444,.69444,.05087,0,.83334],"36":[.05556,.75,.11156,0,.5],"37":[.05556,.75,.03126,0,.83334],"38":[0,.69444,.03058,0,.75834],"39":[0,.69444,.07816,0,.27778],"40":[.25,.75,.13164,0,.38889],"41":[.25,.75,.02536,0,.38889],"42":[0,.75,.11775,0,.5],"43":[.08333,.58333,.02536,0,.77778],"44":[.125,.08333,0,0,.27778],"45":[0,.44444,.01946,0,.33333],"46":[0,.08333,0,0,.27778],"47":[.25,.75,.13164,0,.5],"48":[0,.65556,.11156,0,.5],"49":[0,.65556,.11156,0,.5],"50":[0,.65556,.11156,0,.5],"51":[0,.65556,.11156,0,.5],"52":[0,.65556,.11156,0,.5],"53":[0,.65556,.11156,0,.5],"54":[0,.65556,.11156,0,.5],"55":[0,.65556,.11156,0,.5],"56":[0,.65556,.11156,0,.5],"57":[0,.65556,.11156,0,.5],"58":[0,.44444,.02502,0,.27778],"59":[.125,.44444,.02502,0,.27778],"61":[-.13,.37,.05087,0,.77778],"63":[0,.69444,.11809,0,.47222],"64":[0,.69444,.07555,0,.66667],"65":[0,.69444,0,0,.66667],"66":[0,.69444,.08293,0,.66667],"67":[0,.69444,.11983,0,.63889],"68":[0,.69444,.07555,0,.72223],"69":[0,.69444,.11983,0,.59722],"70":[0,.69444,.13372,0,.56945],"71":[0,.69444,.11983,0,.66667],"72":[0,.69444,.08094,0,.70834],"73":[0,.69444,.13372,0,.27778],"74":[0,.69444,.08094,0,.47222],"75":[0,.69444,.11983,0,.69445],"76":[0,.69444,0,0,.54167],"77":[0,.69444,.08094,0,.875],"78":[0,.69444,.08094,0,.70834],"79":[0,.69444,.07555,0,.73611],"80":[0,.69444,.08293,0,.63889],"81":[.125,.69444,.07555,0,.73611],"82":[0,.69444,.08293,0,.64584],"83":[0,.69444,.09205,0,.55556],"84":[0,.69444,.13372,0,.68056],"85":[0,.69444,.08094,0,.6875],"86":[0,.69444,.1615,0,.66667],"87":[0,.69444,.1615,0,.94445],"88":[0,.69444,.13372,0,.66667],"89":[0,.69444,.17261,0,.66667],"90":[0,.69444,.11983,0,.61111],"91":[.25,.75,.15942,0,.28889],"93":[.25,.75,.08719,0,.28889],"94":[0,.69444,.0799,0,.5],"95":[.35,.09444,.08616,0,.5],"97":[0,.44444,.00981,0,.48056],"98":[0,.69444,.03057,0,.51667],"99":[0,.44444,.08336,0,.44445],"100":[0,.69444,.09483,0,.51667],"101":[0,.44444,.06778,0,.44445],"102":[0,.69444,.21705,0,.30556],"103":[.19444,.44444,.10836,0,.5],"104":[0,.69444,.01778,0,.51667],"105":[0,.67937,.09718,0,.23889],"106":[.19444,.67937,.09162,0,.26667],"107":[0,.69444,.08336,0,.48889],"108":[0,.69444,.09483,0,.23889],"109":[0,.44444,.01778,0,.79445],"110":[0,.44444,.01778,0,.51667],"111":[0,.44444,.06613,0,.5],"112":[.19444,.44444,.0389,0,.51667],"113":[.19444,.44444,.04169,0,.51667],"114":[0,.44444,.10836,0,.34167],"115":[0,.44444,.0778,0,.38333],"116":[0,.57143,.07225,0,.36111],"117":[0,.44444,.04169,0,.51667],"118":[0,.44444,.10836,0,.46111],"119":[0,.44444,.10836,0,.68334],"120":[0,.44444,.09169,0,.46111],"121":[.19444,.44444,.10836,0,.46111],"122":[0,.44444,.08752,0,.43472],"126":[.35,.32659,.08826,0,.5],"160":[0,0,0,0,.25],"168":[0,.67937,.06385,0,.5],"176":[0,.69444,0,0,.73752],"184":[.17014,0,0,0,.44445],"305":[0,.44444,.04169,0,.23889],"567":[.19444,.44444,.04169,0,.26667],"710":[0,.69444,.0799,0,.5],"711":[0,.63194,.08432,0,.5],"713":[0,.60889,.08776,0,.5],"714":[0,.69444,.09205,0,.5],"715":[0,.69444,0,0,.5],"728":[0,.69444,.09483,0,.5],"729":[0,.67937,.07774,0,.27778],"730":[0,.69444,0,0,.73752],"732":[0,.67659,.08826,0,.5],"733":[0,.69444,.09205,0,.5],"915":[0,.69444,.13372,0,.54167],"916":[0,.69444,0,0,.83334],"920":[0,.69444,.07555,0,.77778],"923":[0,.69444,0,0,.61111],"926":[0,.69444,.12816,0,.66667],"928":[0,.69444,.08094,0,.70834],"931":[0,.69444,.11983,0,.72222],"933":[0,.69444,.09031,0,.77778],"934":[0,.69444,.04603,0,.72222],"936":[0,.69444,.09031,0,.77778],"937":[0,.69444,.08293,0,.72222],"8211":[0,.44444,.08616,0,.5],"8212":[0,.44444,.08616,0,1],"8216":[0,.69444,.07816,0,.27778],"8217":[0,.69444,.07816,0,.27778],"8220":[0,.69444,.14205,0,.5],"8221":[0,.69444,.00316,0,.5]},"SansSerif-Regular":{"32":[0,0,0,0,.25],"33":[0,.69444,0,0,.31945],"34":[0,.69444,0,0,.5],"35":[.19444,.69444,0,0,.83334],"36":[.05556,.75,0,0,.5],"37":[.05556,.75,0,0,.83334],"38":[0,.69444,0,0,.75834],"39":[0,.69444,0,0,.27778],"40":[.25,.75,0,0,.38889],"41":[.25,.75,0,0,.38889],"42":[0,.75,0,0,.5],"43":[.08333,.58333,0,0,.77778],"44":[.125,.08333,0,0,.27778],"45":[0,.44444,0,0,.33333],"46":[0,.08333,0,0,.27778],"47":[.25,.75,0,0,.5],"48":[0,.65556,0,0,.5],"49":[0,.65556,0,0,.5],"50":[0,.65556,0,0,.5],"51":[0,.65556,0,0,.5],"52":[0,.65556,0,0,.5],"53":[0,.65556,0,0,.5],"54":[0,.65556,0,0,.5],"55":[0,.65556,0,0,.5],"56":[0,.65556,0,0,.5],"57":[0,.65556,0,0,.5],"58":[0,.44444,0,0,.27778],"59":[.125,.44444,0,0,.27778],"61":[-.13,.37,0,0,.77778],"63":[0,.69444,0,0,.47222],"64":[0,.69444,0,0,.66667],"65":[0,.69444,0,0,.66667],"66":[0,.69444,0,0,.66667],"67":[0,.69444,0,0,.63889],"68":[0,.69444,0,0,.72223],"69":[0,.69444,0,0,.59722],"70":[0,.69444,0,0,.56945],"71":[0,.69444,0,0,.66667],"72":[0,.69444,0,0,.70834],"73":[0,.69444,0,0,.27778],"74":[0,.69444,0,0,.47222],"75":[0,.69444,0,0,.69445],"76":[0,.69444,0,0,.54167],"77":[0,.69444,0,0,.875],"78":[0,.69444,0,0,.70834],"79":[0,.69444,0,0,.73611],"80":[0,.69444,0,0,.63889],"81":[.125,.69444,0,0,.73611],"82":[0,.69444,0,0,.64584],"83":[0,.69444,0,0,.55556],"84":[0,.69444,0,0,.68056],"85":[0,.69444,0,0,.6875],"86":[0,.69444,.01389,0,.66667],"87":[0,.69444,.01389,0,.94445],"88":[0,.69444,0,0,.66667],"89":[0,.69444,.025,0,.66667],"90":[0,.69444,0,0,.61111],"91":[.25,.75,0,0,.28889],"93":[.25,.75,0,0,.28889],"94":[0,.69444,0,0,.5],"95":[.35,.09444,.02778,0,.5],"97":[0,.44444,0,0,.48056],"98":[0,.69444,0,0,.51667],"99":[0,.44444,0,0,.44445],"100":[0,.69444,0,0,.51667],"101":[0,.44444,0,0,.44445],"102":[0,.69444,.06944,0,.30556],"103":[.19444,.44444,.01389,0,.5],"104":[0,.69444,0,0,.51667],"105":[0,.67937,0,0,.23889],"106":[.19444,.67937,0,0,.26667],"107":[0,.69444,0,0,.48889],"108":[0,.69444,0,0,.23889],"109":[0,.44444,0,0,.79445],"110":[0,.44444,0,0,.51667],"111":[0,.44444,0,0,.5],"112":[.19444,.44444,0,0,.51667],"113":[.19444,.44444,0,0,.51667],"114":[0,.44444,.01389,0,.34167],"115":[0,.44444,0,0,.38333],"116":[0,.57143,0,0,.36111],"117":[0,.44444,0,0,.51667],"118":[0,.44444,.01389,0,.46111],"119":[0,.44444,.01389,0,.68334],"120":[0,.44444,0,0,.46111],"121":[.19444,.44444,.01389,0,.46111],"122":[0,.44444,0,0,.43472],"126":[.35,.32659,0,0,.5],"160":[0,0,0,0,.25],"168":[0,.67937,0,0,.5],"176":[0,.69444,0,0,.66667],"184":[.17014,0,0,0,.44445],"305":[0,.44444,0,0,.23889],"567":[.19444,.44444,0,0,.26667],"710":[0,.69444,0,0,.5],"711":[0,.63194,0,0,.5],"713":[0,.60889,0,0,.5],"714":[0,.69444,0,0,.5],"715":[0,.69444,0,0,.5],"728":[0,.69444,0,0,.5],"729":[0,.67937,0,0,.27778],"730":[0,.69444,0,0,.66667],"732":[0,.67659,0,0,.5],"733":[0,.69444,0,0,.5],"915":[0,.69444,0,0,.54167],"916":[0,.69444,0,0,.83334],"920":[0,.69444,0,0,.77778],"923":[0,.69444,0,0,.61111],"926":[0,.69444,0,0,.66667],"928":[0,.69444,0,0,.70834],"931":[0,.69444,0,0,.72222],"933":[0,.69444,0,0,.77778],"934":[0,.69444,0,0,.72222],"936":[0,.69444,0,0,.77778],"937":[0,.69444,0,0,.72222],"8211":[0,.44444,.02778,0,.5],"8212":[0,.44444,.02778,0,1],"8216":[0,.69444,0,0,.27778],"8217":[0,.69444,0,0,.27778],"8220":[0,.69444,0,0,.5],"8221":[0,.69444,0,0,.5]},"Script-Regular":{"32":[0,0,0,0,.25],"65":[0,.7,.22925,0,.80253],"66":[0,.7,.04087,0,.90757],"67":[0,.7,.1689,0,.66619],"68":[0,.7,.09371,0,.77443],"69":[0,.7,.18583,0,.56162],"70":[0,.7,.13634,0,.89544],"71":[0,.7,.17322,0,.60961],"72":[0,.7,.29694,0,.96919],"73":[0,.7,.19189,0,.80907],"74":[.27778,.7,.19189,0,1.05159],"75":[0,.7,.31259,0,.91364],"76":[0,.7,.19189,0,.87373],"77":[0,.7,.15981,0,1.08031],"78":[0,.7,.3525,0,.9015],"79":[0,.7,.08078,0,.73787],"80":[0,.7,.08078,0,1.01262],"81":[0,.7,.03305,0,.88282],"82":[0,.7,.06259,0,.85],"83":[0,.7,.19189,0,.86767],"84":[0,.7,.29087,0,.74697],"85":[0,.7,.25815,0,.79996],"86":[0,.7,.27523,0,.62204],"87":[0,.7,.27523,0,.80532],"88":[0,.7,.26006,0,.94445],"89":[0,.7,.2939,0,.70961],"90":[0,.7,.24037,0,.8212],"160":[0,0,0,0,.25]},"Size1-Regular":{"32":[0,0,0,0,.25],"40":[.35001,.85,0,0,.45834],"41":[.35001,.85,0,0,.45834],"47":[.35001,.85,0,0,.57778],"91":[.35001,.85,0,0,.41667],"92":[.35001,.85,0,0,.57778],"93":[.35001,.85,0,0,.41667],"123":[.35001,.85,0,0,.58334],"125":[.35001,.85,0,0,.58334],"160":[0,0,0,0,.25],"710":[0,.72222,0,0,.55556],"732":[0,.72222,0,0,.55556],"770":[0,.72222,0,0,.55556],"771":[0,.72222,0,0,.55556],"8214":[-99e-5,.601,0,0,.77778],"8593":[1e-5,.6,0,0,.66667],"8595":[1e-5,.6,0,0,.66667],"8657":[1e-5,.6,0,0,.77778],"8659":[1e-5,.6,0,0,.77778],"8719":[.25001,.75,0,0,.94445],"8720":[.25001,.75,0,0,.94445],"8721":[.25001,.75,0,0,1.05556],"8730":[.35001,.85,0,0,1],"8739":[-.00599,.606,0,0,.33333],"8741":[-.00599,.606,0,0,.55556],"8747":[.30612,.805,.19445,0,.47222],"8748":[.306,.805,.19445,0,.47222],"8749":[.306,.805,.19445,0,.47222],"8750":[.30612,.805,.19445,0,.47222],"8896":[.25001,.75,0,0,.83334],"8897":[.25001,.75,0,0,.83334],"8898":[.25001,.75,0,0,.83334],"8899":[.25001,.75,0,0,.83334],"8968":[.35001,.85,0,0,.47222],"8969":[.35001,.85,0,0,.47222],"8970":[.35001,.85,0,0,.47222],"8971":[.35001,.85,0,0,.47222],"9168":[-99e-5,.601,0,0,.66667],"10216":[.35001,.85,0,0,.47222],"10217":[.35001,.85,0,0,.47222],"10752":[.25001,.75,0,0,1.11111],"10753":[.25001,.75,0,0,1.11111],"10754":[.25001,.75,0,0,1.11111],"10756":[.25001,.75,0,0,.83334],"10758":[.25001,.75,0,0,.83334]},"Size2-Regular":{"32":[0,0,0,0,.25],"40":[.65002,1.15,0,0,.59722],"41":[.65002,1.15,0,0,.59722],"47":[.65002,1.15,0,0,.81111],"91":[.65002,1.15,0,0,.47222],"92":[.65002,1.15,0,0,.81111],"93":[.65002,1.15,0,0,.47222],"123":[.65002,1.15,0,0,.66667],"125":[.65002,1.15,0,0,.66667],"160":[0,0,0,0,.25],"710":[0,.75,0,0,1],"732":[0,.75,0,0,1],"770":[0,.75,0,0,1],"771":[0,.75,0,0,1],"8719":[.55001,1.05,0,0,1.27778],"8720":[.55001,1.05,0,0,1.27778],"8721":[.55001,1.05,0,0,1.44445],"8730":[.65002,1.15,0,0,1],"8747":[.86225,1.36,.44445,0,.55556],"8748":[.862,1.36,.44445,0,.55556],"8749":[.862,1.36,.44445,0,.55556],"8750":[.86225,1.36,.44445,0,.55556],"8896":[.55001,1.05,0,0,1.11111],"8897":[.55001,1.05,0,0,1.11111],"8898":[.55001,1.05,0,0,1.11111],"8899":[.55001,1.05,0,0,1.11111],"8968":[.65002,1.15,0,0,.52778],"8969":[.65002,1.15,0,0,.52778],"8970":[.65002,1.15,0,0,.52778],"8971":[.65002,1.15,0,0,.52778],"10216":[.65002,1.15,0,0,.61111],"10217":[.65002,1.15,0,0,.61111],"10752":[.55001,1.05,0,0,1.51112],"10753":[.55001,1.05,0,0,1.51112],"10754":[.55001,1.05,0,0,1.51112],"10756":[.55001,1.05,0,0,1.11111],"10758":[.55001,1.05,0,0,1.11111]},"Size3-Regular":{"32":[0,0,0,0,.25],"40":[.95003,1.45,0,0,.73611],"41":[.95003,1.45,0,0,.73611],"47":[.95003,1.45,0,0,1.04445],"91":[.95003,1.45,0,0,.52778],"92":[.95003,1.45,0,0,1.04445],"93":[.95003,1.45,0,0,.52778],"123":[.95003,1.45,0,0,.75],"125":[.95003,1.45,0,0,.75],"160":[0,0,0,0,.25],"710":[0,.75,0,0,1.44445],"732":[0,.75,0,0,1.44445],"770":[0,.75,0,0,1.44445],"771":[0,.75,0,0,1.44445],"8730":[.95003,1.45,0,0,1],"8968":[.95003,1.45,0,0,.58334],"8969":[.95003,1.45,0,0,.58334],"8970":[.95003,1.45,0,0,.58334],"8971":[.95003,1.45,0,0,.58334],"10216":[.95003,1.45,0,0,.75],"10217":[.95003,1.45,0,0,.75]},"Size4-Regular":{"32":[0,0,0,0,.25],"40":[1.25003,1.75,0,0,.79167],"41":[1.25003,1.75,0,0,.79167],"47":[1.25003,1.75,0,0,1.27778],"91":[1.25003,1.75,0,0,.58334],"92":[1.25003,1.75,0,0,1.27778],"93":[1.25003,1.75,0,0,.58334],"123":[1.25003,1.75,0,0,.80556],"125":[1.25003,1.75,0,0,.80556],"160":[0,0,0,0,.25],"710":[0,.825,0,0,1.8889],"732":[0,.825,0,0,1.8889],"770":[0,.825,0,0,1.8889],"771":[0,.825,0,0,1.8889],"8730":[1.25003,1.75,0,0,1],"8968":[1.25003,1.75,0,0,.63889],"8969":[1.25003,1.75,0,0,.63889],"8970":[1.25003,1.75,0,0,.63889],"8971":[1.25003,1.75,0,0,.63889],"9115":[.64502,1.155,0,0,.875],"9116":[1e-5,.6,0,0,.875],"9117":[.64502,1.155,0,0,.875],"9118":[.64502,1.155,0,0,.875],"9119":[1e-5,.6,0,0,.875],"9120":[.64502,1.155,0,0,.875],"9121":[.64502,1.155,0,0,.66667],"9122":[-99e-5,.601,0,0,.66667],"9123":[.64502,1.155,0,0,.66667],"9124":[.64502,1.155,0,0,.66667],"9125":[-99e-5,.601,0,0,.66667],"9126":[.64502,1.155,0,0,.66667],"9127":[1e-5,.9,0,0,.88889],"9128":[.65002,1.15,0,0,.88889],"9129":[.90001,0,0,0,.88889],"9130":[0,.3,0,0,.88889],"9131":[1e-5,.9,0,0,.88889],"9132":[.65002,1.15,0,0,.88889],"9133":[.90001,0,0,0,.88889],"9143":[.88502,.915,0,0,1.05556],"10216":[1.25003,1.75,0,0,.80556],"10217":[1.25003,1.75,0,0,.80556],"57344":[-.00499,.605,0,0,1.05556],"57345":[-.00499,.605,0,0,1.05556],"57680":[0,.12,0,0,.45],"57681":[0,.12,0,0,.45],"57682":[0,.12,0,0,.45],"57683":[0,.12,0,0,.45]},"Typewriter-Regular":{"32":[0,0,0,0,.525],"33":[0,.61111,0,0,.525],"34":[0,.61111,0,0,.525],"35":[0,.61111,0,0,.525],"36":[.08333,.69444,0,0,.525],"37":[.08333,.69444,0,0,.525],"38":[0,.61111,0,0,.525],"39":[0,.61111,0,0,.525],"40":[.08333,.69444,0,0,.525],"41":[.08333,.69444,0,0,.525],"42":[0,.52083,0,0,.525],"43":[-.08056,.53055,0,0,.525],"44":[.13889,.125,0,0,.525],"45":[-.08056,.53055,0,0,.525],"46":[0,.125,0,0,.525],"47":[.08333,.69444,0,0,.525],"48":[0,.61111,0,0,.525],"49":[0,.61111,0,0,.525],"50":[0,.61111,0,0,.525],"51":[0,.61111,0,0,.525],"52":[0,.61111,0,0,.525],"53":[0,.61111,0,0,.525],"54":[0,.61111,0,0,.525],"55":[0,.61111,0,0,.525],"56":[0,.61111,0,0,.525],"57":[0,.61111,0,0,.525],"58":[0,.43056,0,0,.525],"59":[.13889,.43056,0,0,.525],"60":[-.05556,.55556,0,0,.525],"61":[-.19549,.41562,0,0,.525],"62":[-.05556,.55556,0,0,.525],"63":[0,.61111,0,0,.525],"64":[0,.61111,0,0,.525],"65":[0,.61111,0,0,.525],"66":[0,.61111,0,0,.525],"67":[0,.61111,0,0,.525],"68":[0,.61111,0,0,.525],"69":[0,.61111,0,0,.525],"70":[0,.61111,0,0,.525],"71":[0,.61111,0,0,.525],"72":[0,.61111,0,0,.525],"73":[0,.61111,0,0,.525],"74":[0,.61111,0,0,.525],"75":[0,.61111,0,0,.525],"76":[0,.61111,0,0,.525],"77":[0,.61111,0,0,.525],"78":[0,.61111,0,0,.525],"79":[0,.61111,0,0,.525],"80":[0,.61111,0,0,.525],"81":[.13889,.61111,0,0,.525],"82":[0,.61111,0,0,.525],"83":[0,.61111,0,0,.525],"84":[0,.61111,0,0,.525],"85":[0,.61111,0,0,.525],"86":[0,.61111,0,0,.525],"87":[0,.61111,0,0,.525],"88":[0,.61111,0,0,.525],"89":[0,.61111,0,0,.525],"90":[0,.61111,0,0,.525],"91":[.08333,.69444,0,0,.525],"92":[.08333,.69444,0,0,.525],"93":[.08333,.69444,0,0,.525],"94":[0,.61111,0,0,.525],"95":[.09514,0,0,0,.525],"96":[0,.61111,0,0,.525],"97":[0,.43056,0,0,.525],"98":[0,.61111,0,0,.525],"99":[0,.43056,0,0,.525],"100":[0,.61111,0,0,.525],"101":[0,.43056,0,0,.525],"102":[0,.61111,0,0,.525],"103":[.22222,.43056,0,0,.525],"104":[0,.61111,0,0,.525],"105":[0,.61111,0,0,.525],"106":[.22222,.61111,0,0,.525],"107":[0,.61111,0,0,.525],"108":[0,.61111,0,0,.525],"109":[0,.43056,0,0,.525],"110":[0,.43056,0,0,.525],"111":[0,.43056,0,0,.525],"112":[.22222,.43056,0,0,.525],"113":[.22222,.43056,0,0,.525],"114":[0,.43056,0,0,.525],"115":[0,.43056,0,0,.525],"116":[0,.55358,0,0,.525],"117":[0,.43056,0,0,.525],"118":[0,.43056,0,0,.525],"119":[0,.43056,0,0,.525],"120":[0,.43056,0,0,.525],"121":[.22222,.43056,0,0,.525],"122":[0,.43056,0,0,.525],"123":[.08333,.69444,0,0,.525],"124":[.08333,.69444,0,0,.525],"125":[.08333,.69444,0,0,.525],"126":[0,.61111,0,0,.525],"127":[0,.61111,0,0,.525],"160":[0,0,0,0,.525],"176":[0,.61111,0,0,.525],"184":[.19445,0,0,0,.525],"305":[0,.43056,0,0,.525],"567":[.22222,.43056,0,0,.525],"711":[0,.56597,0,0,.525],"713":[0,.56555,0,0,.525],"714":[0,.61111,0,0,.525],"715":[0,.61111,0,0,.525],"728":[0,.61111,0,0,.525],"730":[0,.61111,0,0,.525],"770":[0,.61111,0,0,.525],"771":[0,.61111,0,0,.525],"776":[0,.61111,0,0,.525],"915":[0,.61111,0,0,.525],"916":[0,.61111,0,0,.525],"920":[0,.61111,0,0,.525],"923":[0,.61111,0,0,.525],"926":[0,.61111,0,0,.525],"928":[0,.61111,0,0,.525],"931":[0,.61111,0,0,.525],"933":[0,.61111,0,0,.525],"934":[0,.61111,0,0,.525],"936":[0,.61111,0,0,.525],"937":[0,.61111,0,0,.525],"8216":[0,.61111,0,0,.525],"8217":[0,.61111,0,0,.525],"8242":[0,.61111,0,0,.525],"9251":[.11111,.21944,0,0,.525]}},R5={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},nFe={\u00C5:"A",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function FRn(e,n){W0[e]=n}function JW(e,n,t){if(!W0[n])throw new Error("Font metrics not found for font: "+n+".");var a=e.charCodeAt(0),r=W0[n][a];if(!r&&e[0]in nFe&&(a=nFe[e[0]].charCodeAt(0),r=W0[n][a]),!r&&t==="text"&&KTe(a)&&(r=W0[n][77]),r)return{depth:r[0],height:r[1],italic:r[2],skew:r[3],width:r[4]}}var WW={};function MRn(e){var n;if(e>=5?n=0:e>=3?n=1:n=2,!WW[n]){var t=WW[n]={cssEmPerMu:R5.quad[n]/18};for(var a in R5)R5.hasOwnProperty(a)&&(t[a]=R5[a][n])}return WW[n]}var GRn=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],tFe=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],aFe=function(n,t){return t.size<2?n:GRn[n-1][t.size-1]},q0=class{constructor(n){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=n.style,this.color=n.color,this.size=n.size||q0.BASESIZE,this.textSize=n.textSize||this.size,this.phantom=!!n.phantom,this.font=n.font||"",this.fontFamily=n.fontFamily||"",this.fontWeight=n.fontWeight||"",this.fontShape=n.fontShape||"",this.sizeMultiplier=tFe[this.size-1],this.maxSize=n.maxSize,this.minRuleThickness=n.minRuleThickness,this._fontMetrics=void 0}extend(n){var t={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var a in n)n.hasOwnProperty(a)&&(t[a]=n[a]);return new q0(t)}havingStyle(n){return this.style===n?this:this.extend({style:n,size:aFe(this.textSize,n)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(n){return this.size===n&&this.textSize===n?this:this.extend({style:this.style.text(),size:n,textSize:n,sizeMultiplier:tFe[n-1]})}havingBaseStyle(n){n=n||this.style.text();var t=aFe(q0.BASESIZE,n);return this.size===t&&this.textSize===q0.BASESIZE&&this.style===n?this:this.extend({style:n,size:t})}havingBaseSizing(){var n;switch(this.style.id){case 4:case 5:n=3;break;case 6:case 7:n=1;break;default:n=6}return this.extend({style:this.style.text(),size:n})}withColor(n){return this.extend({color:n})}withPhantom(){return this.extend({phantom:!0})}withFont(n){return this.extend({font:n})}withTextFontFamily(n){return this.extend({fontFamily:n,font:""})}withTextFontWeight(n){return this.extend({fontWeight:n,font:""})}withTextFontShape(n){return this.extend({fontShape:n,font:""})}sizingClasses(n){return n.size!==this.size?["sizing","reset-size"+n.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==q0.BASESIZE?["sizing","reset-size"+this.size,"size"+q0.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=MRn(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}};q0.BASESIZE=6;var qW={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},ARn={ex:!0,em:!0,mu:!0},rFe=function(n){return typeof n!="string"&&(n=n.unit),n in qW||n in ARn||n==="ex"},So=function(n,t){var a;if(n.unit in qW)a=qW[n.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if(n.unit==="mu")a=t.fontMetrics().cssEmPerMu;else{var r;if(t.style.isTight()?r=t.havingStyle(t.style.text()):r=t,n.unit==="ex")a=r.fontMetrics().xHeight;else if(n.unit==="em")a=r.fontMetrics().quad;else throw new tn("Invalid unit: '"+n.unit+"'");r!==t&&(a*=r.sizeMultiplier/t.sizeMultiplier)}return Math.min(n.number*a,t.maxSize)},Tn=function(n){return+n.toFixed(4)+"em"},qd=function(n){return n.filter(t=>t).join(" ")},oFe=function(n,t,a){if(this.classes=n||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=a||{},t){t.style.isTight()&&this.classes.push("mtight");var r=t.getColor();r&&(this.style.color=r)}},iFe=function(n){var t=document.createElement(n);t.className=qd(this.classes);for(var a in this.style)this.style.hasOwnProperty(a)&&(t.style[a]=this.style[a]);for(var r in this.attributes)this.attributes.hasOwnProperty(r)&&t.setAttribute(r,this.attributes[r]);for(var o=0;o/=\x00-\x1f]/,uFe=function(n){var t="<"+n;this.classes.length&&(t+=' class="'+Tt.escape(qd(this.classes))+'"');var a="";for(var r in this.style)this.style.hasOwnProperty(r)&&(a+=Tt.hyphenate(r)+":"+this.style[r]+";");a&&(t+=' style="'+Tt.escape(a)+'"');for(var o in this.attributes)if(this.attributes.hasOwnProperty(o)){if(xRn.test(o))throw new tn("Invalid attribute name '"+o+"'");t+=" "+o+'="'+Tt.escape(this.attributes[o])+'"'}t+=">";for(var i=0;i",t},NR=class{constructor(n,t,a,r){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,oFe.call(this,n,a,r),this.children=t||[]}setAttribute(n,t){this.attributes[n]=t}hasClass(n){return Tt.contains(this.classes,n)}toNode(){return iFe.call(this,"span")}toMarkup(){return uFe.call(this,"span")}},w5=class{constructor(n,t,a,r){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,oFe.call(this,t,r),this.children=a||[],this.setAttribute("href",n)}setAttribute(n,t){this.attributes[n]=t}hasClass(n){return Tt.contains(this.classes,n)}toNode(){return iFe.call(this,"a")}toMarkup(){return uFe.call(this,"a")}},lFe=class{constructor(n,t,a){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=t,this.src=n,this.classes=["mord"],this.style=a}hasClass(n){return Tt.contains(this.classes,n)}toNode(){var n=document.createElement("img");n.src=this.src,n.alt=this.alt,n.className="mord";for(var t in this.style)this.style.hasOwnProperty(t)&&(n.style[t]=this.style[t]);return n}toMarkup(){var n=''+Tt.escape(this.alt)+'0&&(t=document.createElement("span"),t.style.marginRight=Tn(this.italic)),this.classes.length>0&&(t=t||document.createElement("span"),t.className=qd(this.classes));for(var a in this.style)this.style.hasOwnProperty(a)&&(t=t||document.createElement("span"),t.style[a]=this.style[a]);return t?(t.appendChild(n),t):n}toMarkup(){var n=!1,t="0&&(a+="margin-right:"+this.italic+"em;");for(var r in this.style)this.style.hasOwnProperty(r)&&(a+=Tt.hyphenate(r)+":"+this.style[r]+";");a&&(n=!0,t+=' style="'+Tt.escape(a)+'"');var o=Tt.escape(this.text);return n?(t+=">",t+=o,t+="",t):o}},z0=class{constructor(n,t){this.children=void 0,this.attributes=void 0,this.children=n||[],this.attributes=t||{}}toNode(){var n="http://www.w3.org/2000/svg",t=document.createElementNS(n,"svg");for(var a in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,a)&&t.setAttribute(a,this.attributes[a]);for(var r=0;r':''}},S5=class{constructor(n){this.attributes=void 0,this.attributes=n||{}}toNode(){var n="http://www.w3.org/2000/svg",t=document.createElementNS(n,"line");for(var a in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,a)&&t.setAttribute(a,this.attributes[a]);return t}toMarkup(){var n=" but got "+String(e)+".")}var NRn={bin:1,close:1,inner:1,open:1,punct:1,rel:1},PRn={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Or={math:{},text:{}};function b(e,n,t,a,r,o){Or[e][r]={font:n,group:t,replace:a},o&&a&&(Or[e][a]=Or[e][r])}var I="math",We="text",F="main",$="ams",io="accent-token",Kn="bin",Dl="close",PR="inner",jt="mathord",gi="op-token",Kc="open",E5="punct",Q="rel",Rp="spacing",se="textord";b(I,F,Q,"\u2261","\\equiv",!0);b(I,F,Q,"\u227A","\\prec",!0);b(I,F,Q,"\u227B","\\succ",!0);b(I,F,Q,"\u223C","\\sim",!0);b(I,F,Q,"\u22A5","\\perp");b(I,F,Q,"\u2AAF","\\preceq",!0);b(I,F,Q,"\u2AB0","\\succeq",!0);b(I,F,Q,"\u2243","\\simeq",!0);b(I,F,Q,"\u2223","\\mid",!0);b(I,F,Q,"\u226A","\\ll",!0);b(I,F,Q,"\u226B","\\gg",!0);b(I,F,Q,"\u224D","\\asymp",!0);b(I,F,Q,"\u2225","\\parallel");b(I,F,Q,"\u22C8","\\bowtie",!0);b(I,F,Q,"\u2323","\\smile",!0);b(I,F,Q,"\u2291","\\sqsubseteq",!0);b(I,F,Q,"\u2292","\\sqsupseteq",!0);b(I,F,Q,"\u2250","\\doteq",!0);b(I,F,Q,"\u2322","\\frown",!0);b(I,F,Q,"\u220B","\\ni",!0);b(I,F,Q,"\u221D","\\propto",!0);b(I,F,Q,"\u22A2","\\vdash",!0);b(I,F,Q,"\u22A3","\\dashv",!0);b(I,F,Q,"\u220B","\\owns");b(I,F,E5,".","\\ldotp");b(I,F,E5,"\u22C5","\\cdotp");b(I,F,se,"#","\\#");b(We,F,se,"#","\\#");b(I,F,se,"&","\\&");b(We,F,se,"&","\\&");b(I,F,se,"\u2135","\\aleph",!0);b(I,F,se,"\u2200","\\forall",!0);b(I,F,se,"\u210F","\\hbar",!0);b(I,F,se,"\u2203","\\exists",!0);b(I,F,se,"\u2207","\\nabla",!0);b(I,F,se,"\u266D","\\flat",!0);b(I,F,se,"\u2113","\\ell",!0);b(I,F,se,"\u266E","\\natural",!0);b(I,F,se,"\u2663","\\clubsuit",!0);b(I,F,se,"\u2118","\\wp",!0);b(I,F,se,"\u266F","\\sharp",!0);b(I,F,se,"\u2662","\\diamondsuit",!0);b(I,F,se,"\u211C","\\Re",!0);b(I,F,se,"\u2661","\\heartsuit",!0);b(I,F,se,"\u2111","\\Im",!0);b(I,F,se,"\u2660","\\spadesuit",!0);b(I,F,se,"\xA7","\\S",!0);b(We,F,se,"\xA7","\\S");b(I,F,se,"\xB6","\\P",!0);b(We,F,se,"\xB6","\\P");b(I,F,se,"\u2020","\\dag");b(We,F,se,"\u2020","\\dag");b(We,F,se,"\u2020","\\textdagger");b(I,F,se,"\u2021","\\ddag");b(We,F,se,"\u2021","\\ddag");b(We,F,se,"\u2021","\\textdaggerdbl");b(I,F,Dl,"\u23B1","\\rmoustache",!0);b(I,F,Kc,"\u23B0","\\lmoustache",!0);b(I,F,Dl,"\u27EF","\\rgroup",!0);b(I,F,Kc,"\u27EE","\\lgroup",!0);b(I,F,Kn,"\u2213","\\mp",!0);b(I,F,Kn,"\u2296","\\ominus",!0);b(I,F,Kn,"\u228E","\\uplus",!0);b(I,F,Kn,"\u2293","\\sqcap",!0);b(I,F,Kn,"\u2217","\\ast");b(I,F,Kn,"\u2294","\\sqcup",!0);b(I,F,Kn,"\u25EF","\\bigcirc",!0);b(I,F,Kn,"\u2219","\\bullet",!0);b(I,F,Kn,"\u2021","\\ddagger");b(I,F,Kn,"\u2240","\\wr",!0);b(I,F,Kn,"\u2A3F","\\amalg");b(I,F,Kn,"&","\\And");b(I,F,Q,"\u27F5","\\longleftarrow",!0);b(I,F,Q,"\u21D0","\\Leftarrow",!0);b(I,F,Q,"\u27F8","\\Longleftarrow",!0);b(I,F,Q,"\u27F6","\\longrightarrow",!0);b(I,F,Q,"\u21D2","\\Rightarrow",!0);b(I,F,Q,"\u27F9","\\Longrightarrow",!0);b(I,F,Q,"\u2194","\\leftrightarrow",!0);b(I,F,Q,"\u27F7","\\longleftrightarrow",!0);b(I,F,Q,"\u21D4","\\Leftrightarrow",!0);b(I,F,Q,"\u27FA","\\Longleftrightarrow",!0);b(I,F,Q,"\u21A6","\\mapsto",!0);b(I,F,Q,"\u27FC","\\longmapsto",!0);b(I,F,Q,"\u2197","\\nearrow",!0);b(I,F,Q,"\u21A9","\\hookleftarrow",!0);b(I,F,Q,"\u21AA","\\hookrightarrow",!0);b(I,F,Q,"\u2198","\\searrow",!0);b(I,F,Q,"\u21BC","\\leftharpoonup",!0);b(I,F,Q,"\u21C0","\\rightharpoonup",!0);b(I,F,Q,"\u2199","\\swarrow",!0);b(I,F,Q,"\u21BD","\\leftharpoondown",!0);b(I,F,Q,"\u21C1","\\rightharpoondown",!0);b(I,F,Q,"\u2196","\\nwarrow",!0);b(I,F,Q,"\u21CC","\\rightleftharpoons",!0);b(I,$,Q,"\u226E","\\nless",!0);b(I,$,Q,"\uE010","\\@nleqslant");b(I,$,Q,"\uE011","\\@nleqq");b(I,$,Q,"\u2A87","\\lneq",!0);b(I,$,Q,"\u2268","\\lneqq",!0);b(I,$,Q,"\uE00C","\\@lvertneqq");b(I,$,Q,"\u22E6","\\lnsim",!0);b(I,$,Q,"\u2A89","\\lnapprox",!0);b(I,$,Q,"\u2280","\\nprec",!0);b(I,$,Q,"\u22E0","\\npreceq",!0);b(I,$,Q,"\u22E8","\\precnsim",!0);b(I,$,Q,"\u2AB9","\\precnapprox",!0);b(I,$,Q,"\u2241","\\nsim",!0);b(I,$,Q,"\uE006","\\@nshortmid");b(I,$,Q,"\u2224","\\nmid",!0);b(I,$,Q,"\u22AC","\\nvdash",!0);b(I,$,Q,"\u22AD","\\nvDash",!0);b(I,$,Q,"\u22EA","\\ntriangleleft");b(I,$,Q,"\u22EC","\\ntrianglelefteq",!0);b(I,$,Q,"\u228A","\\subsetneq",!0);b(I,$,Q,"\uE01A","\\@varsubsetneq");b(I,$,Q,"\u2ACB","\\subsetneqq",!0);b(I,$,Q,"\uE017","\\@varsubsetneqq");b(I,$,Q,"\u226F","\\ngtr",!0);b(I,$,Q,"\uE00F","\\@ngeqslant");b(I,$,Q,"\uE00E","\\@ngeqq");b(I,$,Q,"\u2A88","\\gneq",!0);b(I,$,Q,"\u2269","\\gneqq",!0);b(I,$,Q,"\uE00D","\\@gvertneqq");b(I,$,Q,"\u22E7","\\gnsim",!0);b(I,$,Q,"\u2A8A","\\gnapprox",!0);b(I,$,Q,"\u2281","\\nsucc",!0);b(I,$,Q,"\u22E1","\\nsucceq",!0);b(I,$,Q,"\u22E9","\\succnsim",!0);b(I,$,Q,"\u2ABA","\\succnapprox",!0);b(I,$,Q,"\u2246","\\ncong",!0);b(I,$,Q,"\uE007","\\@nshortparallel");b(I,$,Q,"\u2226","\\nparallel",!0);b(I,$,Q,"\u22AF","\\nVDash",!0);b(I,$,Q,"\u22EB","\\ntriangleright");b(I,$,Q,"\u22ED","\\ntrianglerighteq",!0);b(I,$,Q,"\uE018","\\@nsupseteqq");b(I,$,Q,"\u228B","\\supsetneq",!0);b(I,$,Q,"\uE01B","\\@varsupsetneq");b(I,$,Q,"\u2ACC","\\supsetneqq",!0);b(I,$,Q,"\uE019","\\@varsupsetneqq");b(I,$,Q,"\u22AE","\\nVdash",!0);b(I,$,Q,"\u2AB5","\\precneqq",!0);b(I,$,Q,"\u2AB6","\\succneqq",!0);b(I,$,Q,"\uE016","\\@nsubseteqq");b(I,$,Kn,"\u22B4","\\unlhd");b(I,$,Kn,"\u22B5","\\unrhd");b(I,$,Q,"\u219A","\\nleftarrow",!0);b(I,$,Q,"\u219B","\\nrightarrow",!0);b(I,$,Q,"\u21CD","\\nLeftarrow",!0);b(I,$,Q,"\u21CF","\\nRightarrow",!0);b(I,$,Q,"\u21AE","\\nleftrightarrow",!0);b(I,$,Q,"\u21CE","\\nLeftrightarrow",!0);b(I,$,Q,"\u25B3","\\vartriangle");b(I,$,se,"\u210F","\\hslash");b(I,$,se,"\u25BD","\\triangledown");b(I,$,se,"\u25CA","\\lozenge");b(I,$,se,"\u24C8","\\circledS");b(I,$,se,"\xAE","\\circledR");b(We,$,se,"\xAE","\\circledR");b(I,$,se,"\u2221","\\measuredangle",!0);b(I,$,se,"\u2204","\\nexists");b(I,$,se,"\u2127","\\mho");b(I,$,se,"\u2132","\\Finv",!0);b(I,$,se,"\u2141","\\Game",!0);b(I,$,se,"\u2035","\\backprime");b(I,$,se,"\u25B2","\\blacktriangle");b(I,$,se,"\u25BC","\\blacktriangledown");b(I,$,se,"\u25A0","\\blacksquare");b(I,$,se,"\u29EB","\\blacklozenge");b(I,$,se,"\u2605","\\bigstar");b(I,$,se,"\u2222","\\sphericalangle",!0);b(I,$,se,"\u2201","\\complement",!0);b(I,$,se,"\xF0","\\eth",!0);b(We,F,se,"\xF0","\xF0");b(I,$,se,"\u2571","\\diagup");b(I,$,se,"\u2572","\\diagdown");b(I,$,se,"\u25A1","\\square");b(I,$,se,"\u25A1","\\Box");b(I,$,se,"\u25CA","\\Diamond");b(I,$,se,"\xA5","\\yen",!0);b(We,$,se,"\xA5","\\yen",!0);b(I,$,se,"\u2713","\\checkmark",!0);b(We,$,se,"\u2713","\\checkmark");b(I,$,se,"\u2136","\\beth",!0);b(I,$,se,"\u2138","\\daleth",!0);b(I,$,se,"\u2137","\\gimel",!0);b(I,$,se,"\u03DD","\\digamma",!0);b(I,$,se,"\u03F0","\\varkappa");b(I,$,Kc,"\u250C","\\@ulcorner",!0);b(I,$,Dl,"\u2510","\\@urcorner",!0);b(I,$,Kc,"\u2514","\\@llcorner",!0);b(I,$,Dl,"\u2518","\\@lrcorner",!0);b(I,$,Q,"\u2266","\\leqq",!0);b(I,$,Q,"\u2A7D","\\leqslant",!0);b(I,$,Q,"\u2A95","\\eqslantless",!0);b(I,$,Q,"\u2272","\\lesssim",!0);b(I,$,Q,"\u2A85","\\lessapprox",!0);b(I,$,Q,"\u224A","\\approxeq",!0);b(I,$,Kn,"\u22D6","\\lessdot");b(I,$,Q,"\u22D8","\\lll",!0);b(I,$,Q,"\u2276","\\lessgtr",!0);b(I,$,Q,"\u22DA","\\lesseqgtr",!0);b(I,$,Q,"\u2A8B","\\lesseqqgtr",!0);b(I,$,Q,"\u2251","\\doteqdot");b(I,$,Q,"\u2253","\\risingdotseq",!0);b(I,$,Q,"\u2252","\\fallingdotseq",!0);b(I,$,Q,"\u223D","\\backsim",!0);b(I,$,Q,"\u22CD","\\backsimeq",!0);b(I,$,Q,"\u2AC5","\\subseteqq",!0);b(I,$,Q,"\u22D0","\\Subset",!0);b(I,$,Q,"\u228F","\\sqsubset",!0);b(I,$,Q,"\u227C","\\preccurlyeq",!0);b(I,$,Q,"\u22DE","\\curlyeqprec",!0);b(I,$,Q,"\u227E","\\precsim",!0);b(I,$,Q,"\u2AB7","\\precapprox",!0);b(I,$,Q,"\u22B2","\\vartriangleleft");b(I,$,Q,"\u22B4","\\trianglelefteq");b(I,$,Q,"\u22A8","\\vDash",!0);b(I,$,Q,"\u22AA","\\Vvdash",!0);b(I,$,Q,"\u2323","\\smallsmile");b(I,$,Q,"\u2322","\\smallfrown");b(I,$,Q,"\u224F","\\bumpeq",!0);b(I,$,Q,"\u224E","\\Bumpeq",!0);b(I,$,Q,"\u2267","\\geqq",!0);b(I,$,Q,"\u2A7E","\\geqslant",!0);b(I,$,Q,"\u2A96","\\eqslantgtr",!0);b(I,$,Q,"\u2273","\\gtrsim",!0);b(I,$,Q,"\u2A86","\\gtrapprox",!0);b(I,$,Kn,"\u22D7","\\gtrdot");b(I,$,Q,"\u22D9","\\ggg",!0);b(I,$,Q,"\u2277","\\gtrless",!0);b(I,$,Q,"\u22DB","\\gtreqless",!0);b(I,$,Q,"\u2A8C","\\gtreqqless",!0);b(I,$,Q,"\u2256","\\eqcirc",!0);b(I,$,Q,"\u2257","\\circeq",!0);b(I,$,Q,"\u225C","\\triangleq",!0);b(I,$,Q,"\u223C","\\thicksim");b(I,$,Q,"\u2248","\\thickapprox");b(I,$,Q,"\u2AC6","\\supseteqq",!0);b(I,$,Q,"\u22D1","\\Supset",!0);b(I,$,Q,"\u2290","\\sqsupset",!0);b(I,$,Q,"\u227D","\\succcurlyeq",!0);b(I,$,Q,"\u22DF","\\curlyeqsucc",!0);b(I,$,Q,"\u227F","\\succsim",!0);b(I,$,Q,"\u2AB8","\\succapprox",!0);b(I,$,Q,"\u22B3","\\vartriangleright");b(I,$,Q,"\u22B5","\\trianglerighteq");b(I,$,Q,"\u22A9","\\Vdash",!0);b(I,$,Q,"\u2223","\\shortmid");b(I,$,Q,"\u2225","\\shortparallel");b(I,$,Q,"\u226C","\\between",!0);b(I,$,Q,"\u22D4","\\pitchfork",!0);b(I,$,Q,"\u221D","\\varpropto");b(I,$,Q,"\u25C0","\\blacktriangleleft");b(I,$,Q,"\u2234","\\therefore",!0);b(I,$,Q,"\u220D","\\backepsilon");b(I,$,Q,"\u25B6","\\blacktriangleright");b(I,$,Q,"\u2235","\\because",!0);b(I,$,Q,"\u22D8","\\llless");b(I,$,Q,"\u22D9","\\gggtr");b(I,$,Kn,"\u22B2","\\lhd");b(I,$,Kn,"\u22B3","\\rhd");b(I,$,Q,"\u2242","\\eqsim",!0);b(I,F,Q,"\u22C8","\\Join");b(I,$,Q,"\u2251","\\Doteq",!0);b(I,$,Kn,"\u2214","\\dotplus",!0);b(I,$,Kn,"\u2216","\\smallsetminus");b(I,$,Kn,"\u22D2","\\Cap",!0);b(I,$,Kn,"\u22D3","\\Cup",!0);b(I,$,Kn,"\u2A5E","\\doublebarwedge",!0);b(I,$,Kn,"\u229F","\\boxminus",!0);b(I,$,Kn,"\u229E","\\boxplus",!0);b(I,$,Kn,"\u22C7","\\divideontimes",!0);b(I,$,Kn,"\u22C9","\\ltimes",!0);b(I,$,Kn,"\u22CA","\\rtimes",!0);b(I,$,Kn,"\u22CB","\\leftthreetimes",!0);b(I,$,Kn,"\u22CC","\\rightthreetimes",!0);b(I,$,Kn,"\u22CF","\\curlywedge",!0);b(I,$,Kn,"\u22CE","\\curlyvee",!0);b(I,$,Kn,"\u229D","\\circleddash",!0);b(I,$,Kn,"\u229B","\\circledast",!0);b(I,$,Kn,"\u22C5","\\centerdot");b(I,$,Kn,"\u22BA","\\intercal",!0);b(I,$,Kn,"\u22D2","\\doublecap");b(I,$,Kn,"\u22D3","\\doublecup");b(I,$,Kn,"\u22A0","\\boxtimes",!0);b(I,$,Q,"\u21E2","\\dashrightarrow",!0);b(I,$,Q,"\u21E0","\\dashleftarrow",!0);b(I,$,Q,"\u21C7","\\leftleftarrows",!0);b(I,$,Q,"\u21C6","\\leftrightarrows",!0);b(I,$,Q,"\u21DA","\\Lleftarrow",!0);b(I,$,Q,"\u219E","\\twoheadleftarrow",!0);b(I,$,Q,"\u21A2","\\leftarrowtail",!0);b(I,$,Q,"\u21AB","\\looparrowleft",!0);b(I,$,Q,"\u21CB","\\leftrightharpoons",!0);b(I,$,Q,"\u21B6","\\curvearrowleft",!0);b(I,$,Q,"\u21BA","\\circlearrowleft",!0);b(I,$,Q,"\u21B0","\\Lsh",!0);b(I,$,Q,"\u21C8","\\upuparrows",!0);b(I,$,Q,"\u21BF","\\upharpoonleft",!0);b(I,$,Q,"\u21C3","\\downharpoonleft",!0);b(I,F,Q,"\u22B6","\\origof",!0);b(I,F,Q,"\u22B7","\\imageof",!0);b(I,$,Q,"\u22B8","\\multimap",!0);b(I,$,Q,"\u21AD","\\leftrightsquigarrow",!0);b(I,$,Q,"\u21C9","\\rightrightarrows",!0);b(I,$,Q,"\u21C4","\\rightleftarrows",!0);b(I,$,Q,"\u21A0","\\twoheadrightarrow",!0);b(I,$,Q,"\u21A3","\\rightarrowtail",!0);b(I,$,Q,"\u21AC","\\looparrowright",!0);b(I,$,Q,"\u21B7","\\curvearrowright",!0);b(I,$,Q,"\u21BB","\\circlearrowright",!0);b(I,$,Q,"\u21B1","\\Rsh",!0);b(I,$,Q,"\u21CA","\\downdownarrows",!0);b(I,$,Q,"\u21BE","\\upharpoonright",!0);b(I,$,Q,"\u21C2","\\downharpoonright",!0);b(I,$,Q,"\u21DD","\\rightsquigarrow",!0);b(I,$,Q,"\u21DD","\\leadsto");b(I,$,Q,"\u21DB","\\Rrightarrow",!0);b(I,$,Q,"\u21BE","\\restriction");b(I,F,se,"\u2018","`");b(I,F,se,"$","\\$");b(We,F,se,"$","\\$");b(We,F,se,"$","\\textdollar");b(I,F,se,"%","\\%");b(We,F,se,"%","\\%");b(I,F,se,"_","\\_");b(We,F,se,"_","\\_");b(We,F,se,"_","\\textunderscore");b(I,F,se,"\u2220","\\angle",!0);b(I,F,se,"\u221E","\\infty",!0);b(I,F,se,"\u2032","\\prime");b(I,F,se,"\u25B3","\\triangle");b(I,F,se,"\u0393","\\Gamma",!0);b(I,F,se,"\u0394","\\Delta",!0);b(I,F,se,"\u0398","\\Theta",!0);b(I,F,se,"\u039B","\\Lambda",!0);b(I,F,se,"\u039E","\\Xi",!0);b(I,F,se,"\u03A0","\\Pi",!0);b(I,F,se,"\u03A3","\\Sigma",!0);b(I,F,se,"\u03A5","\\Upsilon",!0);b(I,F,se,"\u03A6","\\Phi",!0);b(I,F,se,"\u03A8","\\Psi",!0);b(I,F,se,"\u03A9","\\Omega",!0);b(I,F,se,"A","\u0391");b(I,F,se,"B","\u0392");b(I,F,se,"E","\u0395");b(I,F,se,"Z","\u0396");b(I,F,se,"H","\u0397");b(I,F,se,"I","\u0399");b(I,F,se,"K","\u039A");b(I,F,se,"M","\u039C");b(I,F,se,"N","\u039D");b(I,F,se,"O","\u039F");b(I,F,se,"P","\u03A1");b(I,F,se,"T","\u03A4");b(I,F,se,"X","\u03A7");b(I,F,se,"\xAC","\\neg",!0);b(I,F,se,"\xAC","\\lnot");b(I,F,se,"\u22A4","\\top");b(I,F,se,"\u22A5","\\bot");b(I,F,se,"\u2205","\\emptyset");b(I,$,se,"\u2205","\\varnothing");b(I,F,jt,"\u03B1","\\alpha",!0);b(I,F,jt,"\u03B2","\\beta",!0);b(I,F,jt,"\u03B3","\\gamma",!0);b(I,F,jt,"\u03B4","\\delta",!0);b(I,F,jt,"\u03F5","\\epsilon",!0);b(I,F,jt,"\u03B6","\\zeta",!0);b(I,F,jt,"\u03B7","\\eta",!0);b(I,F,jt,"\u03B8","\\theta",!0);b(I,F,jt,"\u03B9","\\iota",!0);b(I,F,jt,"\u03BA","\\kappa",!0);b(I,F,jt,"\u03BB","\\lambda",!0);b(I,F,jt,"\u03BC","\\mu",!0);b(I,F,jt,"\u03BD","\\nu",!0);b(I,F,jt,"\u03BE","\\xi",!0);b(I,F,jt,"\u03BF","\\omicron",!0);b(I,F,jt,"\u03C0","\\pi",!0);b(I,F,jt,"\u03C1","\\rho",!0);b(I,F,jt,"\u03C3","\\sigma",!0);b(I,F,jt,"\u03C4","\\tau",!0);b(I,F,jt,"\u03C5","\\upsilon",!0);b(I,F,jt,"\u03D5","\\phi",!0);b(I,F,jt,"\u03C7","\\chi",!0);b(I,F,jt,"\u03C8","\\psi",!0);b(I,F,jt,"\u03C9","\\omega",!0);b(I,F,jt,"\u03B5","\\varepsilon",!0);b(I,F,jt,"\u03D1","\\vartheta",!0);b(I,F,jt,"\u03D6","\\varpi",!0);b(I,F,jt,"\u03F1","\\varrho",!0);b(I,F,jt,"\u03C2","\\varsigma",!0);b(I,F,jt,"\u03C6","\\varphi",!0);b(I,F,Kn,"\u2217","*",!0);b(I,F,Kn,"+","+");b(I,F,Kn,"\u2212","-",!0);b(I,F,Kn,"\u22C5","\\cdot",!0);b(I,F,Kn,"\u2218","\\circ",!0);b(I,F,Kn,"\xF7","\\div",!0);b(I,F,Kn,"\xB1","\\pm",!0);b(I,F,Kn,"\xD7","\\times",!0);b(I,F,Kn,"\u2229","\\cap",!0);b(I,F,Kn,"\u222A","\\cup",!0);b(I,F,Kn,"\u2216","\\setminus",!0);b(I,F,Kn,"\u2227","\\land");b(I,F,Kn,"\u2228","\\lor");b(I,F,Kn,"\u2227","\\wedge",!0);b(I,F,Kn,"\u2228","\\vee",!0);b(I,F,se,"\u221A","\\surd");b(I,F,Kc,"\u27E8","\\langle",!0);b(I,F,Kc,"\u2223","\\lvert");b(I,F,Kc,"\u2225","\\lVert");b(I,F,Dl,"?","?");b(I,F,Dl,"!","!");b(I,F,Dl,"\u27E9","\\rangle",!0);b(I,F,Dl,"\u2223","\\rvert");b(I,F,Dl,"\u2225","\\rVert");b(I,F,Q,"=","=");b(I,F,Q,":",":");b(I,F,Q,"\u2248","\\approx",!0);b(I,F,Q,"\u2245","\\cong",!0);b(I,F,Q,"\u2265","\\ge");b(I,F,Q,"\u2265","\\geq",!0);b(I,F,Q,"\u2190","\\gets");b(I,F,Q,">","\\gt",!0);b(I,F,Q,"\u2208","\\in",!0);b(I,F,Q,"\uE020","\\@not");b(I,F,Q,"\u2282","\\subset",!0);b(I,F,Q,"\u2283","\\supset",!0);b(I,F,Q,"\u2286","\\subseteq",!0);b(I,F,Q,"\u2287","\\supseteq",!0);b(I,$,Q,"\u2288","\\nsubseteq",!0);b(I,$,Q,"\u2289","\\nsupseteq",!0);b(I,F,Q,"\u22A8","\\models");b(I,F,Q,"\u2190","\\leftarrow",!0);b(I,F,Q,"\u2264","\\le");b(I,F,Q,"\u2264","\\leq",!0);b(I,F,Q,"<","\\lt",!0);b(I,F,Q,"\u2192","\\rightarrow",!0);b(I,F,Q,"\u2192","\\to");b(I,$,Q,"\u2271","\\ngeq",!0);b(I,$,Q,"\u2270","\\nleq",!0);b(I,F,Rp,"\xA0","\\ ");b(I,F,Rp,"\xA0","\\space");b(I,F,Rp,"\xA0","\\nobreakspace");b(We,F,Rp,"\xA0","\\ ");b(We,F,Rp,"\xA0"," ");b(We,F,Rp,"\xA0","\\space");b(We,F,Rp,"\xA0","\\nobreakspace");b(I,F,Rp,null,"\\nobreak");b(I,F,Rp,null,"\\allowbreak");b(I,F,E5,",",",");b(I,F,E5,";",";");b(I,$,Kn,"\u22BC","\\barwedge",!0);b(I,$,Kn,"\u22BB","\\veebar",!0);b(I,F,Kn,"\u2299","\\odot",!0);b(I,F,Kn,"\u2295","\\oplus",!0);b(I,F,Kn,"\u2297","\\otimes",!0);b(I,F,se,"\u2202","\\partial",!0);b(I,F,Kn,"\u2298","\\oslash",!0);b(I,$,Kn,"\u229A","\\circledcirc",!0);b(I,$,Kn,"\u22A1","\\boxdot",!0);b(I,F,Kn,"\u25B3","\\bigtriangleup");b(I,F,Kn,"\u25BD","\\bigtriangledown");b(I,F,Kn,"\u2020","\\dagger");b(I,F,Kn,"\u22C4","\\diamond");b(I,F,Kn,"\u22C6","\\star");b(I,F,Kn,"\u25C3","\\triangleleft");b(I,F,Kn,"\u25B9","\\triangleright");b(I,F,Kc,"{","\\{");b(We,F,se,"{","\\{");b(We,F,se,"{","\\textbraceleft");b(I,F,Dl,"}","\\}");b(We,F,se,"}","\\}");b(We,F,se,"}","\\textbraceright");b(I,F,Kc,"{","\\lbrace");b(I,F,Dl,"}","\\rbrace");b(I,F,Kc,"[","\\lbrack",!0);b(We,F,se,"[","\\lbrack",!0);b(I,F,Dl,"]","\\rbrack",!0);b(We,F,se,"]","\\rbrack",!0);b(I,F,Kc,"(","\\lparen",!0);b(I,F,Dl,")","\\rparen",!0);b(We,F,se,"<","\\textless",!0);b(We,F,se,">","\\textgreater",!0);b(I,F,Kc,"\u230A","\\lfloor",!0);b(I,F,Dl,"\u230B","\\rfloor",!0);b(I,F,Kc,"\u2308","\\lceil",!0);b(I,F,Dl,"\u2309","\\rceil",!0);b(I,F,se,"\\","\\backslash");b(I,F,se,"\u2223","|");b(I,F,se,"\u2223","\\vert");b(We,F,se,"|","\\textbar",!0);b(I,F,se,"\u2225","\\|");b(I,F,se,"\u2225","\\Vert");b(We,F,se,"\u2225","\\textbardbl");b(We,F,se,"~","\\textasciitilde");b(We,F,se,"\\","\\textbackslash");b(We,F,se,"^","\\textasciicircum");b(I,F,Q,"\u2191","\\uparrow",!0);b(I,F,Q,"\u21D1","\\Uparrow",!0);b(I,F,Q,"\u2193","\\downarrow",!0);b(I,F,Q,"\u21D3","\\Downarrow",!0);b(I,F,Q,"\u2195","\\updownarrow",!0);b(I,F,Q,"\u21D5","\\Updownarrow",!0);b(I,F,gi,"\u2210","\\coprod");b(I,F,gi,"\u22C1","\\bigvee");b(I,F,gi,"\u22C0","\\bigwedge");b(I,F,gi,"\u2A04","\\biguplus");b(I,F,gi,"\u22C2","\\bigcap");b(I,F,gi,"\u22C3","\\bigcup");b(I,F,gi,"\u222B","\\int");b(I,F,gi,"\u222B","\\intop");b(I,F,gi,"\u222C","\\iint");b(I,F,gi,"\u222D","\\iiint");b(I,F,gi,"\u220F","\\prod");b(I,F,gi,"\u2211","\\sum");b(I,F,gi,"\u2A02","\\bigotimes");b(I,F,gi,"\u2A01","\\bigoplus");b(I,F,gi,"\u2A00","\\bigodot");b(I,F,gi,"\u222E","\\oint");b(I,F,gi,"\u222F","\\oiint");b(I,F,gi,"\u2230","\\oiiint");b(I,F,gi,"\u2A06","\\bigsqcup");b(I,F,gi,"\u222B","\\smallint");b(We,F,PR,"\u2026","\\textellipsis");b(I,F,PR,"\u2026","\\mathellipsis");b(We,F,PR,"\u2026","\\ldots",!0);b(I,F,PR,"\u2026","\\ldots",!0);b(I,F,PR,"\u22EF","\\@cdots",!0);b(I,F,PR,"\u22F1","\\ddots",!0);b(I,F,se,"\u22EE","\\varvdots");b(We,F,se,"\u22EE","\\varvdots");b(I,F,io,"\u02CA","\\acute");b(I,F,io,"\u02CB","\\grave");b(I,F,io,"\xA8","\\ddot");b(I,F,io,"~","\\tilde");b(I,F,io,"\u02C9","\\bar");b(I,F,io,"\u02D8","\\breve");b(I,F,io,"\u02C7","\\check");b(I,F,io,"^","\\hat");b(I,F,io,"\u20D7","\\vec");b(I,F,io,"\u02D9","\\dot");b(I,F,io,"\u02DA","\\mathring");b(I,F,jt,"\uE131","\\@imath");b(I,F,jt,"\uE237","\\@jmath");b(I,F,se,"\u0131","\u0131");b(I,F,se,"\u0237","\u0237");b(We,F,se,"\u0131","\\i",!0);b(We,F,se,"\u0237","\\j",!0);b(We,F,se,"\xDF","\\ss",!0);b(We,F,se,"\xE6","\\ae",!0);b(We,F,se,"\u0153","\\oe",!0);b(We,F,se,"\xF8","\\o",!0);b(We,F,se,"\xC6","\\AE",!0);b(We,F,se,"\u0152","\\OE",!0);b(We,F,se,"\xD8","\\O",!0);b(We,F,io,"\u02CA","\\'");b(We,F,io,"\u02CB","\\`");b(We,F,io,"\u02C6","\\^");b(We,F,io,"\u02DC","\\~");b(We,F,io,"\u02C9","\\=");b(We,F,io,"\u02D8","\\u");b(We,F,io,"\u02D9","\\.");b(We,F,io,"\xB8","\\c");b(We,F,io,"\u02DA","\\r");b(We,F,io,"\u02C7","\\v");b(We,F,io,"\xA8",'\\"');b(We,F,io,"\u02DD","\\H");b(We,F,io,"\u25EF","\\textcircled");var sFe={"--":!0,"---":!0,"``":!0,"''":!0};b(We,F,se,"\u2013","--",!0);b(We,F,se,"\u2013","\\textendash");b(We,F,se,"\u2014","---",!0);b(We,F,se,"\u2014","\\textemdash");b(We,F,se,"\u2018","`",!0);b(We,F,se,"\u2018","\\textquoteleft");b(We,F,se,"\u2019","'",!0);b(We,F,se,"\u2019","\\textquoteright");b(We,F,se,"\u201C","``",!0);b(We,F,se,"\u201C","\\textquotedblleft");b(We,F,se,"\u201D","''",!0);b(We,F,se,"\u201D","\\textquotedblright");b(I,F,se,"\xB0","\\degree",!0);b(We,F,se,"\xB0","\\degree");b(We,F,se,"\xB0","\\textdegree",!0);b(I,F,se,"\xA3","\\pounds");b(I,F,se,"\xA3","\\mathsterling",!0);b(We,F,se,"\xA3","\\pounds");b(We,F,se,"\xA3","\\textsterling",!0);b(I,$,se,"\u2720","\\maltese");b(We,$,se,"\u2720","\\maltese");var fFe='0123456789/@."';for(C5=0;C50)return Fv(o,c,r,t,i.concat(s));if(l){var f,v;if(l==="boldsymbol"){var m=URn(o,r,t,i,a);f=m.fontName,v=[m.fontClass]}else u?(f=dFe[l].fontName,v=[l]):(f=x5(l,t.fontWeight,t.fontShape),v=[l,t.fontWeight,t.fontShape]);if(A5(o,f,r).metrics)return Fv(o,f,r,t,i.concat(v));if(sFe.hasOwnProperty(o)&&f.slice(0,10)==="Typewriter"){for(var _=[],R=0;R{if(qd(e.classes)!==qd(n.classes)||e.skew!==n.skew||e.maxFontSize!==n.maxFontSize)return!1;if(e.classes.length===1){var t=e.classes[0];if(t==="mbin"||t==="mord")return!1}for(var a in e.style)if(e.style.hasOwnProperty(a)&&e.style[a]!==n.style[a])return!1;for(var r in n.style)if(n.style.hasOwnProperty(r)&&e.style[r]!==n.style[r])return!1;return!0},JRn=e=>{for(var n=0;nt&&(t=i.height),i.depth>a&&(a=i.depth),i.maxFontSize>r&&(r=i.maxFontSize)}n.height=t,n.depth=a,n.maxFontSize=r},ec=function(n,t,a,r){var o=new NR(n,t,a,r);return QW(o),o},pFe=(e,n,t,a)=>new NR(e,n,t,a),WRn=function(n,t,a){var r=ec([n],[],t);return r.height=Math.max(a||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),r.style.borderBottomWidth=Tn(r.height),r.maxFontSize=1,r},qRn=function(n,t,a,r){var o=new w5(n,t,a,r);return QW(o),o},_Fe=function(n){var t=new jR(n);return QW(t),t},zRn=function(n,t){return n instanceof jR?ec([],[n],t):n},$Rn=function(n){if(n.positionType==="individualShift"){for(var t=n.children,a=[t[0]],r=-t[0].shift-t[0].elem.depth,o=r,i=1;i{var t=ec(["mspace"],[],n),a=So(e,n);return t.style.marginRight=Tn(a),t},x5=function(n,t,a){var r="";switch(n){case"amsrm":r="AMS";break;case"textrm":r="Main";break;case"textsf":r="SansSerif";break;case"texttt":r="Typewriter";break;default:r=n}var o;return t==="textbf"&&a==="textit"?o="BoldItalic":t==="textbf"?o="Bold":t==="textit"?o="Italic":o="Regular",r+"-"+o},dFe={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathsfit:{variant:"sans-serif-italic",fontName:"SansSerif-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},hFe={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},YRn=function(n,t){var[a,r,o]=hFe[n],i=new bp(a),u=new z0([i],{width:Tn(r),height:Tn(o),style:"width:"+Tn(r),viewBox:"0 0 "+1e3*r+" "+1e3*o,preserveAspectRatio:"xMinYMin"}),l=pFe(["overlay"],[u],t);return l.height=o,l.style.height=Tn(o),l.style.width=Tn(r),l},Re={fontMap:dFe,makeSymbol:Fv,mathsym:ORn,makeSpan:ec,makeSvgSpan:pFe,makeLineSpan:WRn,makeAnchor:qRn,makeFragment:_Fe,wrapFragment:zRn,makeVList:VRn,makeOrd:HRn,makeGlue:QRn,staticSvg:YRn,svgData:hFe,tryCombineChars:JRn},Co={number:3,unit:"mu"},TD={number:4,unit:"mu"},Sp={number:5,unit:"mu"},XRn={mord:{mop:Co,mbin:TD,mrel:Sp,minner:Co},mop:{mord:Co,mop:Co,mrel:Sp,minner:Co},mbin:{mord:TD,mop:TD,mopen:TD,minner:TD},mrel:{mord:Sp,mop:Sp,mopen:Sp,minner:Sp},mopen:{},mclose:{mop:Co,mbin:TD,mrel:Sp,minner:Co},mpunct:{mord:Co,mop:Co,mrel:Sp,mopen:Co,mclose:Co,mpunct:Co,minner:Co},minner:{mord:Co,mop:Co,mbin:TD,mrel:Sp,mopen:Co,mpunct:Co,minner:Co}},ZRn={mord:{mop:Co},mop:{mord:Co,mop:Co},mbin:{},mrel:{},mopen:{},mclose:{mop:Co},mpunct:{},minner:{mop:Co}},gFe={},L5={},j5={};function Wn(e){for(var{type:n,names:t,props:a,handler:r,htmlBuilder:o,mathmlBuilder:i}=e,u={type:n,numArgs:a.numArgs,argTypes:a.argTypes,allowedInArgument:!!a.allowedInArgument,allowedInText:!!a.allowedInText,allowedInMath:a.allowedInMath===void 0?!0:a.allowedInMath,numOptionalArgs:a.numOptionalArgs||0,infix:!!a.infix,primitive:!!a.primitive,handler:r},l=0;l{var D=R.classes[0],y=_.classes[0];D==="mbin"&&Tt.contains(ewn,y)?R.classes[0]="mord":y==="mbin"&&Tt.contains(KRn,D)&&(_.classes[0]="mord")},{node:f},v,m),DFe(o,(_,R)=>{var D=YW(R),y=YW(_),S=D&&y?_.hasClass("mtight")?ZRn[D][y]:XRn[D][y]:null;if(S)return Re.makeGlue(S,c)},{node:f},v,m),o},DFe=function e(n,t,a,r,o){r&&n.push(r);for(var i=0;iv=>{n.splice(f+1,0,v),i++})(i)}r&&n.pop()},yFe=function(n){return n instanceof jR||n instanceof w5||n instanceof NR&&n.hasClass("enclosing")?n:null},awn=function e(n,t){var a=yFe(n);if(a){var r=a.children;if(r.length){if(t==="right")return e(r[r.length-1],"right");if(t==="left")return e(r[0],"left")}}return n},YW=function(n,t){return n?(t&&(n=awn(n,t)),twn[n.classes[0]]||null):null},PT=function(n,t){var a=["nulldelimiter"].concat(n.baseSizingClasses());return Ep(t.concat(a))},qa=function(n,t,a){if(!n)return Ep();if(L5[n.type]){var r=L5[n.type](n,t);if(a&&t.size!==a.size){r=Ep(t.sizingClasses(a),[r],t);var o=t.sizeMultiplier/a.sizeMultiplier;r.height*=o,r.depth*=o}return r}else throw new tn("Got group of unknown type: '"+n.type+"'")};function P5(e,n){var t=Ep(["base"],e,n),a=Ep(["strut"]);return a.style.height=Tn(t.height+t.depth),t.depth&&(a.style.verticalAlign=Tn(-t.depth)),t.children.unshift(a),t}function XW(e,n){var t=null;e.length===1&&e[0].type==="tag"&&(t=e[0].tag,e=e[0].body);var a=qi(e,n,"root"),r;a.length===2&&a[1].hasClass("tag")&&(r=a.pop());for(var o=[],i=[],u=0;u0&&(o.push(P5(i,n)),i=[]),o.push(a[u]));i.length>0&&o.push(P5(i,n));var c;t?(c=P5(qi(t,n,!0)),c.classes=["tag"],o.push(c)):r&&o.push(r);var s=Ep(["katex-html"],o);if(s.setAttribute("aria-hidden","true"),c){var f=c.children[0];f.style.height=Tn(s.height+s.depth),s.depth&&(f.style.verticalAlign=Tn(-s.depth))}return s}function bFe(e){return new jR(e)}var nc=class{constructor(n,t,a){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=n,this.attributes={},this.children=t||[],this.classes=a||[]}setAttribute(n,t){this.attributes[n]=t}getAttribute(n){return this.attributes[n]}toNode(){var n=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&n.setAttribute(t,this.attributes[t]);this.classes.length>0&&(n.className=qd(this.classes));for(var a=0;a0&&(n+=' class ="'+Tt.escape(qd(this.classes))+'"'),n+=">";for(var a=0;a",n}toText(){return this.children.map(n=>n.toText()).join("")}},Mv=class{constructor(n){this.text=void 0,this.text=n}toNode(){return document.createTextNode(this.text)}toMarkup(){return Tt.escape(this.toText())}toText(){return this.text}},RFe=class{constructor(n){this.width=void 0,this.character=void 0,this.width=n,n>=.05555&&n<=.05556?this.character="\u200A":n>=.1666&&n<=.1667?this.character="\u2009":n>=.2222&&n<=.2223?this.character="\u2005":n>=.2777&&n<=.2778?this.character="\u2005\u200A":n>=-.05556&&n<=-.05555?this.character="\u200A\u2063":n>=-.1667&&n<=-.1666?this.character="\u2009\u2063":n>=-.2223&&n<=-.2222?this.character="\u205F\u2063":n>=-.2778&&n<=-.2777?this.character="\u2005\u2063":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var n=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return n.setAttribute("width",Tn(this.width)),n}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}},Ze={MathNode:nc,TextNode:Mv,SpaceNode:RFe,newDocumentFragment:bFe},uf=function(n,t,a){return Or[t][n]&&Or[t][n].replace&&n.charCodeAt(0)!==55349&&!(sFe.hasOwnProperty(n)&&a&&(a.fontFamily&&a.fontFamily.slice(4,6)==="tt"||a.font&&a.font.slice(4,6)==="tt"))&&(n=Or[t][n].replace),new Ze.TextNode(n)},ZW=function(n){return n.length===1?n[0]:new Ze.MathNode("mrow",n)},KW=function(n,t){if(t.fontFamily==="texttt")return"monospace";if(t.fontFamily==="textsf")return t.fontShape==="textit"&&t.fontWeight==="textbf"?"sans-serif-bold-italic":t.fontShape==="textit"?"sans-serif-italic":t.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(t.fontShape==="textit"&&t.fontWeight==="textbf")return"bold-italic";if(t.fontShape==="textit")return"italic";if(t.fontWeight==="textbf")return"bold";var a=t.font;if(!a||a==="mathnormal")return null;var r=n.mode;if(a==="mathit")return"italic";if(a==="boldsymbol")return n.type==="textord"?"bold":"bold-italic";if(a==="mathbf")return"bold";if(a==="mathbb")return"double-struck";if(a==="mathsfit")return"sans-serif-italic";if(a==="mathfrak")return"fraktur";if(a==="mathscr"||a==="mathcal")return"script";if(a==="mathsf")return"sans-serif";if(a==="mathtt")return"monospace";var o=n.text;if(Tt.contains(["\\imath","\\jmath"],o))return null;Or[r][o]&&Or[r][o].replace&&(o=Or[r][o].replace);var i=Re.fontMap[a].fontName;return JW(o,i,r)?Re.fontMap[a].variant:null};function eq(e){if(!e)return!1;if(e.type==="mi"&&e.children.length===1){var n=e.children[0];return n instanceof Mv&&n.text==="."}else if(e.type==="mo"&&e.children.length===1&&e.getAttribute("separator")==="true"&&e.getAttribute("lspace")==="0em"&&e.getAttribute("rspace")==="0em"){var t=e.children[0];return t instanceof Mv&&t.text===","}else return!1}var tc=function(n,t,a){if(n.length===1){var r=Gr(n[0],t);return a&&r instanceof nc&&r.type==="mo"&&(r.setAttribute("lspace","0em"),r.setAttribute("rspace","0em")),[r]}for(var o=[],i,u=0;u=1&&(i.type==="mn"||eq(i))){var c=l.children[0];c instanceof nc&&c.type==="mn"&&(c.children=[...i.children,...c.children],o.pop())}else if(i.type==="mi"&&i.children.length===1){var s=i.children[0];if(s instanceof Mv&&s.text==="\u0338"&&(l.type==="mo"||l.type==="mi"||l.type==="mn")){var f=l.children[0];f instanceof Mv&&f.text.length>0&&(f.text=f.text.slice(0,1)+"\u0338"+f.text.slice(1),o.pop())}}}o.push(l),i=l}return o},$d=function(n,t,a){return ZW(tc(n,t,a))},Gr=function(n,t){if(!n)return new Ze.MathNode("mrow");if(j5[n.type]){var a=j5[n.type](n,t);return a}else throw new tn("Got group of unknown type: '"+n.type+"'")};function wFe(e,n,t,a,r){var o=tc(e,t),i;o.length===1&&o[0]instanceof nc&&Tt.contains(["mrow","mtable"],o[0].type)?i=o[0]:i=new Ze.MathNode("mrow",o);var u=new Ze.MathNode("annotation",[new Ze.TextNode(n)]);u.setAttribute("encoding","application/x-tex");var l=new Ze.MathNode("semantics",[i,u]),c=new Ze.MathNode("math",[l]);c.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),a&&c.setAttribute("display","block");var s=r?"katex":"katex-mathml";return Re.makeSpan([s],[c])}var SFe=function(n){return new q0({style:n.displayMode?Lt.DISPLAY:Lt.TEXT,maxSize:n.maxSize,minRuleThickness:n.minRuleThickness})},EFe=function(n,t){if(t.displayMode){var a=["katex-display"];t.leqno&&a.push("leqno"),t.fleqn&&a.push("fleqn"),n=Re.makeSpan(a,[n])}return n},rwn=function(n,t,a){var r=SFe(a),o;if(a.output==="mathml")return wFe(n,t,r,a.displayMode,!0);if(a.output==="html"){var i=XW(n,r);o=Re.makeSpan(["katex"],[i])}else{var u=wFe(n,t,r,a.displayMode,!1),l=XW(n,r);o=Re.makeSpan(["katex"],[u,l])}return EFe(o,a)},own=function(n,t,a){var r=SFe(a),o=XW(n,r),i=Re.makeSpan(["katex"],[o]);return EFe(i,a)},iwn={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xrightleftarrows:"\u21C4",xrightequilibrium:"\u21CC",xleftequilibrium:"\u21CB","\\cdrightarrow":"\u2192","\\cdleftarrow":"\u2190","\\cdlongequal":"="},uwn=function(n){var t=new Ze.MathNode("mo",[new Ze.TextNode(iwn[n.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},lwn={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},cwn=function(n){return n.type==="ordgroup"?n.body.length:1},swn=function(n,t){function a(){var u=4e5,l=n.label.slice(1);if(Tt.contains(["widehat","widecheck","widetilde","utilde"],l)){var c=n,s=cwn(c.base),f,v,m;if(s>5)l==="widehat"||l==="widecheck"?(f=420,u=2364,m=.42,v=l+"4"):(f=312,u=2340,m=.34,v="tilde4");else{var _=[1,1,2,2,3,3][s];l==="widehat"||l==="widecheck"?(u=[0,1062,2364,2364,2364][_],f=[0,239,300,360,420][_],m=[0,.24,.3,.3,.36,.42][_],v=l+_):(u=[0,600,1033,2339,2340][_],f=[0,260,286,306,312][_],m=[0,.26,.286,.3,.306,.34][_],v="tilde"+_)}var R=new bp(v),D=new z0([R],{width:"100%",height:Tn(m),viewBox:"0 0 "+u+" "+f,preserveAspectRatio:"none"});return{span:Re.makeSvgSpan([],[D],t),minWidth:0,height:m}}else{var y=[],S=lwn[l],[G,P,k]=S,M=k/1e3,O=G.length,oe,le;if(O===1){var ve=S[3];oe=["hide-tail"],le=[ve]}else if(O===2)oe=["halfarrow-left","halfarrow-right"],le=["xMinYMin","xMaxYMin"];else if(O===3)oe=["brace-left","brace-center","brace-right"],le=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support `+O+" children.");for(var X=0;X0&&(r.style.minWidth=Tn(o)),r},fwn=function(n,t,a,r,o){var i,u=n.height+n.depth+a+r;if(/fbox|color|angl/.test(t)){if(i=Re.makeSpan(["stretchy",t],[],o),t==="fbox"){var l=o.color&&o.getColor();l&&(i.style.borderColor=l)}}else{var c=[];/^[bx]cancel$/.test(t)&&c.push(new S5({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&c.push(new S5({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var s=new z0(c,{width:"100%",height:Tn(u)});i=Re.makeSvgSpan([],[s],o)}return i.height=u,i.style.height=Tn(u),i},Cp={encloseSpan:fwn,mathMLnode:uwn,svgSpan:swn};function _a(e,n){if(!e||e.type!==n)throw new Error("Expected node of type "+n+", but got "+(e?"node of type "+e.type:String(e)));return e}function nq(e){var n=k5(e);if(!n)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return n}function k5(e){return e&&(e.type==="atom"||PRn.hasOwnProperty(e.type))?e:null}var tq=(e,n)=>{var t,a,r;e&&e.type==="supsub"?(a=_a(e.base,"accent"),t=a.base,e.base=t,r=jRn(qa(e,n)),e.base=a):(a=_a(e,"accent"),t=a.base);var o=qa(t,n.havingCrampedStyle()),i=a.isShifty&&Tt.isCharacterBox(t),u=0;if(i){var l=Tt.getBaseElem(t),c=qa(l,n.havingCrampedStyle());u=cFe(c).skew}var s=a.label==="\\c",f=s?o.height+o.depth:Math.min(o.height,n.fontMetrics().xHeight),v;if(a.isStretchy)v=Cp.svgSpan(a,n),v=Re.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"elem",elem:v,wrapperClasses:["svg-align"],wrapperStyle:u>0?{width:"calc(100% - "+Tn(2*u)+")",marginLeft:Tn(2*u)}:void 0}]},n);else{var m,_;a.label==="\\vec"?(m=Re.staticSvg("vec",n),_=Re.svgData.vec[1]):(m=Re.makeOrd({mode:a.mode,text:a.label},n,"textord"),m=cFe(m),m.italic=0,_=m.width,s&&(f+=m.depth)),v=Re.makeSpan(["accent-body"],[m]);var R=a.label==="\\textcircled";R&&(v.classes.push("accent-full"),f=o.height);var D=u;R||(D-=_/2),v.style.left=Tn(D),a.label==="\\textcircled"&&(v.style.top=".2em"),v=Re.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:-f},{type:"elem",elem:v}]},n)}var y=Re.makeSpan(["mord","accent"],[v],n);return r?(r.children[0]=y,r.height=Math.max(y.height,r.height),r.classes[0]="mord",r):y},CFe=(e,n)=>{var t=e.isStretchy?Cp.mathMLnode(e.label):new Ze.MathNode("mo",[uf(e.label,e.mode)]),a=new Ze.MathNode("mover",[Gr(e.base,n),t]);return a.setAttribute("accent","true"),a},vwn=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));Wn({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(e,n)=>{var t=N5(n[0]),a=!vwn.test(e.funcName),r=!a||e.funcName==="\\widehat"||e.funcName==="\\widetilde"||e.funcName==="\\widecheck";return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:a,isShifty:r,base:t}},htmlBuilder:tq,mathmlBuilder:CFe});Wn({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,n)=>{var t=n[0],a=e.parser.mode;return a==="math"&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),a="text"),{type:"accent",mode:a,label:e.funcName,isStretchy:!1,isShifty:!0,base:t}},htmlBuilder:tq,mathmlBuilder:CFe});Wn({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,n)=>{var{parser:t,funcName:a}=e,r=n[0];return{type:"accentUnder",mode:t.mode,label:a,base:r}},htmlBuilder:(e,n)=>{var t=qa(e.base,n),a=Cp.svgSpan(e,n),r=e.label==="\\utilde"?.12:0,o=Re.makeVList({positionType:"top",positionData:t.height,children:[{type:"elem",elem:a,wrapperClasses:["svg-align"]},{type:"kern",size:r},{type:"elem",elem:t}]},n);return Re.makeSpan(["mord","accentunder"],[o],n)},mathmlBuilder:(e,n)=>{var t=Cp.mathMLnode(e.label),a=new Ze.MathNode("munder",[Gr(e.base,n),t]);return a.setAttribute("accentunder","true"),a}});var O5=e=>{var n=new Ze.MathNode("mpadded",e?[e]:[]);return n.setAttribute("width","+0.6em"),n.setAttribute("lspace","0.3em"),n};Wn({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(e,n,t){var{parser:a,funcName:r}=e;return{type:"xArrow",mode:a.mode,label:r,body:n[0],below:t[0]}},htmlBuilder(e,n){var t=n.style,a=n.havingStyle(t.sup()),r=Re.wrapFragment(qa(e.body,a,n),n),o=e.label.slice(0,2)==="\\x"?"x":"cd";r.classes.push(o+"-arrow-pad");var i;e.below&&(a=n.havingStyle(t.sub()),i=Re.wrapFragment(qa(e.below,a,n),n),i.classes.push(o+"-arrow-pad"));var u=Cp.svgSpan(e,n),l=-n.fontMetrics().axisHeight+.5*u.height,c=-n.fontMetrics().axisHeight-.5*u.height-.111;(r.depth>.25||e.label==="\\xleftequilibrium")&&(c-=r.depth);var s;if(i){var f=-n.fontMetrics().axisHeight+i.height+.5*u.height+.111;s=Re.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:c},{type:"elem",elem:u,shift:l},{type:"elem",elem:i,shift:f}]},n)}else s=Re.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:c},{type:"elem",elem:u,shift:l}]},n);return s.children[0].children[0].children[1].classes.push("svg-align"),Re.makeSpan(["mrel","x-arrow"],[s],n)},mathmlBuilder(e,n){var t=Cp.mathMLnode(e.label);t.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var a;if(e.body){var r=O5(Gr(e.body,n));if(e.below){var o=O5(Gr(e.below,n));a=new Ze.MathNode("munderover",[t,o,r])}else a=new Ze.MathNode("mover",[t,r])}else if(e.below){var i=O5(Gr(e.below,n));a=new Ze.MathNode("munder",[t,i])}else a=O5(),a=new Ze.MathNode("mover",[t,a]);return a}});var mwn=Re.makeSpan;function IFe(e,n){var t=qi(e.body,n,!0);return mwn([e.mclass],t,n)}function TFe(e,n){var t,a=tc(e.body,n);return e.mclass==="minner"?t=new Ze.MathNode("mpadded",a):e.mclass==="mord"?e.isCharacterBox?(t=a[0],t.type="mi"):t=new Ze.MathNode("mi",a):(e.isCharacterBox?(t=a[0],t.type="mo"):t=new Ze.MathNode("mo",a),e.mclass==="mbin"?(t.attributes.lspace="0.22em",t.attributes.rspace="0.22em"):e.mclass==="mpunct"?(t.attributes.lspace="0em",t.attributes.rspace="0.17em"):e.mclass==="mopen"||e.mclass==="mclose"?(t.attributes.lspace="0em",t.attributes.rspace="0em"):e.mclass==="minner"&&(t.attributes.lspace="0.0556em",t.attributes.width="+0.1111em")),t}Wn({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,n){var{parser:t,funcName:a}=e,r=n[0];return{type:"mclass",mode:t.mode,mclass:"m"+a.slice(5),body:ti(r),isCharacterBox:Tt.isCharacterBox(r)}},htmlBuilder:IFe,mathmlBuilder:TFe});var U5=e=>{var n=e.type==="ordgroup"&&e.body.length?e.body[0]:e;return n.type==="atom"&&(n.family==="bin"||n.family==="rel")?"m"+n.family:"mord"};Wn({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,n){var{parser:t}=e;return{type:"mclass",mode:t.mode,mclass:U5(n[0]),body:ti(n[1]),isCharacterBox:Tt.isCharacterBox(n[1])}}});Wn({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,n){var{parser:t,funcName:a}=e,r=n[1],o=n[0],i;a!=="\\stackrel"?i=U5(r):i="mrel";var u={type:"op",mode:r.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:a!=="\\stackrel",body:ti(r)},l={type:"supsub",mode:o.mode,base:u,sup:a==="\\underset"?null:o,sub:a==="\\underset"?o:null};return{type:"mclass",mode:t.mode,mclass:i,body:[l],isCharacterBox:Tt.isCharacterBox(l)}},htmlBuilder:IFe,mathmlBuilder:TFe});Wn({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,n){var{parser:t}=e;return{type:"pmb",mode:t.mode,mclass:U5(n[0]),body:ti(n[0])}},htmlBuilder(e,n){var t=qi(e.body,n,!0),a=Re.makeSpan([e.mclass],t,n);return a.style.textShadow="0.02em 0.01em 0.04px",a},mathmlBuilder(e,n){var t=tc(e.body,n),a=new Ze.MathNode("mstyle",t);return a.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),a}});var pwn={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},FFe=()=>({type:"styling",body:[],mode:"math",style:"display"}),MFe=e=>e.type==="textord"&&e.text==="@",_wn=(e,n)=>(e.type==="mathord"||e.type==="atom")&&e.text===n;function dwn(e,n,t){var a=pwn[e];switch(a){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return t.callFunction(a,[n[0]],[n[1]]);case"\\uparrow":case"\\downarrow":{var r=t.callFunction("\\\\cdleft",[n[0]],[]),o={type:"atom",text:a,mode:"math",family:"rel"},i=t.callFunction("\\Big",[o],[]),u=t.callFunction("\\\\cdright",[n[1]],[]),l={type:"ordgroup",mode:"math",body:[r,i,u]};return t.callFunction("\\\\cdparent",[l],[])}case"\\\\cdlongequal":return t.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var c={type:"textord",text:"\\Vert",mode:"math"};return t.callFunction("\\Big",[c],[])}default:return{type:"textord",text:" ",mode:"math"}}}function hwn(e){var n=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){n.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var t=e.fetch().text;if(t==="&"||t==="\\\\")e.consume();else if(t==="\\end"){n[n.length-1].length===0&&n.pop();break}else throw new tn("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var a=[],r=[a],o=0;o-1))if("<>AV".indexOf(c)>-1)for(var f=0;f<2;f++){for(var v=!0,m=l+1;mAV=|." after @',i[l]);var _=dwn(c,s,e),R={type:"styling",body:[_],mode:"math",style:"display"};a.push(R),u=FFe()}o%2==0?a.push(u):a.shift(),a=[],r.push(a)}e.gullet.endGroup(),e.gullet.endGroup();var D=new Array(r[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:r,arraystretch:1,addJot:!0,rowGaps:[null],cols:D,colSeparationType:"CD",hLinesBeforeRow:new Array(r.length+1).fill([])}}Wn({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,n){var{parser:t,funcName:a}=e;return{type:"cdlabel",mode:t.mode,side:a.slice(4),label:n[0]}},htmlBuilder(e,n){var t=n.havingStyle(n.style.sup()),a=Re.wrapFragment(qa(e.label,t,n),n);return a.classes.push("cd-label-"+e.side),a.style.bottom=Tn(.8-a.depth),a.height=0,a.depth=0,a},mathmlBuilder(e,n){var t=new Ze.MathNode("mrow",[Gr(e.label,n)]);return t=new Ze.MathNode("mpadded",[t]),t.setAttribute("width","0"),e.side==="left"&&t.setAttribute("lspace","-1width"),t.setAttribute("voffset","0.7em"),t=new Ze.MathNode("mstyle",[t]),t.setAttribute("displaystyle","false"),t.setAttribute("scriptlevel","1"),t}});Wn({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,n){var{parser:t}=e;return{type:"cdlabelparent",mode:t.mode,fragment:n[0]}},htmlBuilder(e,n){var t=Re.wrapFragment(qa(e.fragment,n),n);return t.classes.push("cd-vert-arrow"),t},mathmlBuilder(e,n){return new Ze.MathNode("mrow",[Gr(e.fragment,n)])}});Wn({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,n){for(var{parser:t}=e,a=_a(n[0],"ordgroup"),r=a.body,o="",i=0;i=1114111)throw new tn("\\@char with invalid code point "+o);return l<=65535?c=String.fromCharCode(l):(l-=65536,c=String.fromCharCode((l>>10)+55296,(l&1023)+56320)),{type:"textord",mode:t.mode,text:c}}});var GFe=(e,n)=>{var t=qi(e.body,n.withColor(e.color),!1);return Re.makeFragment(t)},AFe=(e,n)=>{var t=tc(e.body,n.withColor(e.color)),a=new Ze.MathNode("mstyle",t);return a.setAttribute("mathcolor",e.color),a};Wn({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,n){var{parser:t}=e,a=_a(n[0],"color-token").color,r=n[1];return{type:"color",mode:t.mode,color:a,body:ti(r)}},htmlBuilder:GFe,mathmlBuilder:AFe});Wn({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,n){var{parser:t,breakOnTokenText:a}=e,r=_a(n[0],"color-token").color;t.gullet.macros.set("\\current@color",r);var o=t.parseExpression(!0,a);return{type:"color",mode:t.mode,color:r,body:o}},htmlBuilder:GFe,mathmlBuilder:AFe});Wn({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,n,t){var{parser:a}=e,r=a.gullet.future().text==="["?a.parseSizeGroup(!0):null,o=!a.settings.displayMode||!a.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:a.mode,newLine:o,size:r&&_a(r,"size").value}},htmlBuilder(e,n){var t=Re.makeSpan(["mspace"],[],n);return e.newLine&&(t.classes.push("newline"),e.size&&(t.style.marginTop=Tn(So(e.size,n)))),t},mathmlBuilder(e,n){var t=new Ze.MathNode("mspace");return e.newLine&&(t.setAttribute("linebreak","newline"),e.size&&t.setAttribute("height",Tn(So(e.size,n)))),t}});var aq={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},xFe=e=>{var n=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(n))throw new tn("Expected a control sequence",e);return n},gwn=e=>{var n=e.gullet.popToken();return n.text==="="&&(n=e.gullet.popToken(),n.text===" "&&(n=e.gullet.popToken())),n},LFe=(e,n,t,a)=>{var r=e.gullet.macros.get(t.text);r==null&&(t.noexpand=!0,r={tokens:[t],numArgs:0,unexpandable:!e.gullet.isExpandable(t.text)}),e.gullet.macros.set(n,r,a)};Wn({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:n,funcName:t}=e;n.consumeSpaces();var a=n.fetch();if(aq[a.text])return(t==="\\global"||t==="\\\\globallong")&&(a.text=aq[a.text]),_a(n.parseFunction(),"internal");throw new tn("Invalid token after macro prefix",a)}});Wn({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:n,funcName:t}=e,a=n.gullet.popToken(),r=a.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(r))throw new tn("Expected a control sequence",a);for(var o=0,i,u=[[]];n.gullet.future().text!=="{";)if(a=n.gullet.popToken(),a.text==="#"){if(n.gullet.future().text==="{"){i=n.gullet.future(),u[o].push("{");break}if(a=n.gullet.popToken(),!/^[1-9]$/.test(a.text))throw new tn('Invalid argument number "'+a.text+'"');if(parseInt(a.text)!==o+1)throw new tn('Argument number "'+a.text+'" out of order');o++,u.push([])}else{if(a.text==="EOF")throw new tn("Expected a macro definition");u[o].push(a.text)}var{tokens:l}=n.gullet.consumeArg();return i&&l.unshift(i),(t==="\\edef"||t==="\\xdef")&&(l=n.gullet.expandTokens(l),l.reverse()),n.gullet.macros.set(r,{tokens:l,numArgs:o,delimiters:u},t===aq[t]),{type:"internal",mode:n.mode}}});Wn({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:n,funcName:t}=e,a=xFe(n.gullet.popToken());n.gullet.consumeSpaces();var r=gwn(n);return LFe(n,a,r,t==="\\\\globallet"),{type:"internal",mode:n.mode}}});Wn({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:n,funcName:t}=e,a=xFe(n.gullet.popToken()),r=n.gullet.popToken(),o=n.gullet.popToken();return LFe(n,a,o,t==="\\\\globalfuture"),n.gullet.pushToken(o),n.gullet.pushToken(r),{type:"internal",mode:n.mode}}});var kT=function(n,t,a){var r=Or.math[n]&&Or.math[n].replace,o=JW(r||n,t,a);if(!o)throw new Error("Unsupported symbol "+n+" and font size "+t+".");return o},rq=function(n,t,a,r){var o=a.havingBaseStyle(t),i=Re.makeSpan(r.concat(o.sizingClasses(a)),[n],a),u=o.sizeMultiplier/a.sizeMultiplier;return i.height*=u,i.depth*=u,i.maxFontSize=o.sizeMultiplier,i},jFe=function(n,t,a){var r=t.havingBaseStyle(a),o=(1-t.sizeMultiplier/r.sizeMultiplier)*t.fontMetrics().axisHeight;n.classes.push("delimcenter"),n.style.top=Tn(o),n.height-=o,n.depth+=o},Dwn=function(n,t,a,r,o,i){var u=Re.makeSymbol(n,"Main-Regular",o,r),l=rq(u,t,r,i);return a&&jFe(l,r,t),l},ywn=function(n,t,a,r){return Re.makeSymbol(n,"Size"+t+"-Regular",a,r)},NFe=function(n,t,a,r,o,i){var u=ywn(n,t,o,r),l=rq(Re.makeSpan(["delimsizing","size"+t],[u],r),Lt.TEXT,r,i);return a&&jFe(l,r,Lt.TEXT),l},oq=function(n,t,a){var r;t==="Size1-Regular"?r="delim-size1":r="delim-size4";var o=Re.makeSpan(["delimsizinginner",r],[Re.makeSpan([],[Re.makeSymbol(n,t,a)])]);return{type:"elem",elem:o}},iq=function(n,t,a){var r=W0["Size4-Regular"][n.charCodeAt(0)]?W0["Size4-Regular"][n.charCodeAt(0)][4]:W0["Size1-Regular"][n.charCodeAt(0)][4],o=new bp("inner",IRn(n,Math.round(1e3*t))),i=new z0([o],{width:Tn(r),height:Tn(t),style:"width:"+Tn(r),viewBox:"0 0 "+1e3*r+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),u=Re.makeSvgSpan([],[i],a);return u.height=t,u.style.height=Tn(t),u.style.width=Tn(r),{type:"elem",elem:u}},uq=.008,H5={type:"kern",size:-1*uq},bwn=["|","\\lvert","\\rvert","\\vert"],Rwn=["\\|","\\lVert","\\rVert","\\Vert"],PFe=function(n,t,a,r,o,i){var u,l,c,s,f="",v=0;u=c=s=n,l=null;var m="Size1-Regular";n==="\\uparrow"?c=s="\u23D0":n==="\\Uparrow"?c=s="\u2016":n==="\\downarrow"?u=c="\u23D0":n==="\\Downarrow"?u=c="\u2016":n==="\\updownarrow"?(u="\\uparrow",c="\u23D0",s="\\downarrow"):n==="\\Updownarrow"?(u="\\Uparrow",c="\u2016",s="\\Downarrow"):Tt.contains(bwn,n)?(c="\u2223",f="vert",v=333):Tt.contains(Rwn,n)?(c="\u2225",f="doublevert",v=556):n==="["||n==="\\lbrack"?(u="\u23A1",c="\u23A2",s="\u23A3",m="Size4-Regular",f="lbrack",v=667):n==="]"||n==="\\rbrack"?(u="\u23A4",c="\u23A5",s="\u23A6",m="Size4-Regular",f="rbrack",v=667):n==="\\lfloor"||n==="\u230A"?(c=u="\u23A2",s="\u23A3",m="Size4-Regular",f="lfloor",v=667):n==="\\lceil"||n==="\u2308"?(u="\u23A1",c=s="\u23A2",m="Size4-Regular",f="lceil",v=667):n==="\\rfloor"||n==="\u230B"?(c=u="\u23A5",s="\u23A6",m="Size4-Regular",f="rfloor",v=667):n==="\\rceil"||n==="\u2309"?(u="\u23A4",c=s="\u23A5",m="Size4-Regular",f="rceil",v=667):n==="("||n==="\\lparen"?(u="\u239B",c="\u239C",s="\u239D",m="Size4-Regular",f="lparen",v=875):n===")"||n==="\\rparen"?(u="\u239E",c="\u239F",s="\u23A0",m="Size4-Regular",f="rparen",v=875):n==="\\{"||n==="\\lbrace"?(u="\u23A7",l="\u23A8",s="\u23A9",c="\u23AA",m="Size4-Regular"):n==="\\}"||n==="\\rbrace"?(u="\u23AB",l="\u23AC",s="\u23AD",c="\u23AA",m="Size4-Regular"):n==="\\lgroup"||n==="\u27EE"?(u="\u23A7",s="\u23A9",c="\u23AA",m="Size4-Regular"):n==="\\rgroup"||n==="\u27EF"?(u="\u23AB",s="\u23AD",c="\u23AA",m="Size4-Regular"):n==="\\lmoustache"||n==="\u23B0"?(u="\u23A7",s="\u23AD",c="\u23AA",m="Size4-Regular"):(n==="\\rmoustache"||n==="\u23B1")&&(u="\u23AB",s="\u23A9",c="\u23AA",m="Size4-Regular");var _=kT(u,m,o),R=_.height+_.depth,D=kT(c,m,o),y=D.height+D.depth,S=kT(s,m,o),G=S.height+S.depth,P=0,k=1;if(l!==null){var M=kT(l,m,o);P=M.height+M.depth,k=2}var O=R+G+P,oe=Math.max(0,Math.ceil((t-O)/(k*y))),le=O+oe*k*y,ve=r.fontMetrics().axisHeight;a&&(ve*=r.sizeMultiplier);var X=le/2-ve,be=[];if(f.length>0){var pe=le-R-G,De=Math.round(le*1e3),Ne=TRn(f,Math.round(pe*1e3)),ie=new bp(f,Ne),jn=(v/1e3).toFixed(3)+"em",Ve=(De/1e3).toFixed(3)+"em",Pn=new z0([ie],{width:jn,height:Ve,viewBox:"0 0 "+v+" "+De}),kn=Re.makeSvgSpan([],[Pn],r);kn.height=De/1e3,kn.style.width=jn,kn.style.height=Ve,be.push({type:"elem",elem:kn})}else{if(be.push(oq(s,m,o)),be.push(H5),l===null){var q=le-R-G+2*uq;be.push(iq(c,q,r))}else{var x=(le-R-G-P)/2+2*uq;be.push(iq(c,x,r)),be.push(H5),be.push(oq(l,m,o)),be.push(H5),be.push(iq(c,x,r))}be.push(H5),be.push(oq(u,m,o))}var ne=r.havingBaseStyle(Lt.TEXT),me=Re.makeVList({positionType:"bottom",positionData:X,children:be},ne);return rq(Re.makeSpan(["delimsizing","mult"],[me],ne),Lt.TEXT,r,i)},lq=80,cq=.08,sq=function(n,t,a,r,o){var i=CRn(n,r,a),u=new bp(n,i),l=new z0([u],{width:"400em",height:Tn(t),viewBox:"0 0 400000 "+a,preserveAspectRatio:"xMinYMin slice"});return Re.makeSvgSpan(["hide-tail"],[l],o)},wwn=function(n,t){var a=t.havingBaseSizing(),r=HFe("\\surd",n*a.sizeMultiplier,UFe,a),o=a.sizeMultiplier,i=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),u,l=0,c=0,s=0,f;return r.type==="small"?(s=1e3+1e3*i+lq,n<1?o=1:n<1.4&&(o=.7),l=(1+i+cq)/o,c=(1+i)/o,u=sq("sqrtMain",l,s,i,t),u.style.minWidth="0.853em",f=.833/o):r.type==="large"?(s=(1e3+lq)*OT[r.size],c=(OT[r.size]+i)/o,l=(OT[r.size]+i+cq)/o,u=sq("sqrtSize"+r.size,l,s,i,t),u.style.minWidth="1.02em",f=1/o):(l=n+i+cq,c=n+i,s=Math.floor(1e3*n+i)+lq,u=sq("sqrtTall",l,s,i,t),u.style.minWidth="0.742em",f=1.056),u.height=c,u.style.height=Tn(l),{span:u,advanceWidth:f,ruleWidth:(t.fontMetrics().sqrtRuleThickness+i)*o}},kFe=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],Swn=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],OFe=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],OT=[0,1.2,1.8,2.4,3],Ewn=function(n,t,a,r,o){if(n==="<"||n==="\\lt"||n==="\u27E8"?n="\\langle":(n===">"||n==="\\gt"||n==="\u27E9")&&(n="\\rangle"),Tt.contains(kFe,n)||Tt.contains(OFe,n))return NFe(n,t,!1,a,r,o);if(Tt.contains(Swn,n))return PFe(n,OT[t],!1,a,r,o);throw new tn("Illegal delimiter: '"+n+"'")},Cwn=[{type:"small",style:Lt.SCRIPTSCRIPT},{type:"small",style:Lt.SCRIPT},{type:"small",style:Lt.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Iwn=[{type:"small",style:Lt.SCRIPTSCRIPT},{type:"small",style:Lt.SCRIPT},{type:"small",style:Lt.TEXT},{type:"stack"}],UFe=[{type:"small",style:Lt.SCRIPTSCRIPT},{type:"small",style:Lt.SCRIPT},{type:"small",style:Lt.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Twn=function(n){if(n.type==="small")return"Main-Regular";if(n.type==="large")return"Size"+n.size+"-Regular";if(n.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+n.type+"' here.")},HFe=function(n,t,a,r){for(var o=Math.min(2,3-r.style.size),i=o;it)return a[i]}return a[a.length-1]},BFe=function(n,t,a,r,o,i){n==="<"||n==="\\lt"||n==="\u27E8"?n="\\langle":(n===">"||n==="\\gt"||n==="\u27E9")&&(n="\\rangle");var u;Tt.contains(OFe,n)?u=Cwn:Tt.contains(kFe,n)?u=UFe:u=Iwn;var l=HFe(n,t,u,r);return l.type==="small"?Dwn(n,l.style,a,r,o,i):l.type==="large"?NFe(n,l.size,a,r,o,i):PFe(n,t,a,r,o,i)},Fwn=function(n,t,a,r,o,i){var u=r.fontMetrics().axisHeight*r.sizeMultiplier,l=901,c=5/r.fontMetrics().ptPerEm,s=Math.max(t-u,a+u),f=Math.max(s/500*l,2*s-c);return BFe(n,f,!0,r,o,i)},Ip={sqrtImage:wwn,sizedDelim:Ewn,sizeToMaxHeight:OT,customSizedDelim:BFe,leftRightDelim:Fwn},JFe={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},Mwn=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27E8","\\rangle","\u27E9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function B5(e,n){var t=k5(e);if(t&&Tt.contains(Mwn,t.text))return t;throw t?new tn("Invalid delimiter '"+t.text+"' after '"+n.funcName+"'",e):new tn("Invalid delimiter type '"+e.type+"'",e)}Wn({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(e,n)=>{var t=B5(n[0],e);return{type:"delimsizing",mode:e.parser.mode,size:JFe[e.funcName].size,mclass:JFe[e.funcName].mclass,delim:t.text}},htmlBuilder:(e,n)=>e.delim==="."?Re.makeSpan([e.mclass]):Ip.sizedDelim(e.delim,e.size,n,e.mode,[e.mclass]),mathmlBuilder:e=>{var n=[];e.delim!=="."&&n.push(uf(e.delim,e.mode));var t=new Ze.MathNode("mo",n);e.mclass==="mopen"||e.mclass==="mclose"?t.setAttribute("fence","true"):t.setAttribute("fence","false"),t.setAttribute("stretchy","true");var a=Tn(Ip.sizeToMaxHeight[e.size]);return t.setAttribute("minsize",a),t.setAttribute("maxsize",a),t}});function WFe(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Wn({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,n)=>{var t=e.parser.gullet.macros.get("\\current@color");if(t&&typeof t!="string")throw new tn("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:B5(n[0],e).text,color:t}}});Wn({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,n)=>{var t=B5(n[0],e),a=e.parser;++a.leftrightDepth;var r=a.parseExpression(!1);--a.leftrightDepth,a.expect("\\right",!1);var o=_a(a.parseFunction(),"leftright-right");return{type:"leftright",mode:a.mode,body:r,left:t.text,right:o.delim,rightColor:o.color}},htmlBuilder:(e,n)=>{WFe(e);for(var t=qi(e.body,n,!0,["mopen","mclose"]),a=0,r=0,o=!1,i=0;i{WFe(e);var t=tc(e.body,n);if(e.left!=="."){var a=new Ze.MathNode("mo",[uf(e.left,e.mode)]);a.setAttribute("fence","true"),t.unshift(a)}if(e.right!=="."){var r=new Ze.MathNode("mo",[uf(e.right,e.mode)]);r.setAttribute("fence","true"),e.rightColor&&r.setAttribute("mathcolor",e.rightColor),t.push(r)}return ZW(t)}});Wn({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,n)=>{var t=B5(n[0],e);if(!e.parser.leftrightDepth)throw new tn("\\middle without preceding \\left",t);return{type:"middle",mode:e.parser.mode,delim:t.text}},htmlBuilder:(e,n)=>{var t;if(e.delim===".")t=PT(n,[]);else{t=Ip.sizedDelim(e.delim,1,n,e.mode,[]);var a={delim:e.delim,options:n};t.isMiddle=a}return t},mathmlBuilder:(e,n)=>{var t=e.delim==="\\vert"||e.delim==="|"?uf("|","text"):uf(e.delim,e.mode),a=new Ze.MathNode("mo",[t]);return a.setAttribute("fence","true"),a.setAttribute("lspace","0.05em"),a.setAttribute("rspace","0.05em"),a}});var fq=(e,n)=>{var t=Re.wrapFragment(qa(e.body,n),n),a=e.label.slice(1),r=n.sizeMultiplier,o,i=0,u=Tt.isCharacterBox(e.body);if(a==="sout")o=Re.makeSpan(["stretchy","sout"]),o.height=n.fontMetrics().defaultRuleThickness/r,i=-.5*n.fontMetrics().xHeight;else if(a==="phase"){var l=So({number:.6,unit:"pt"},n),c=So({number:.35,unit:"ex"},n),s=n.havingBaseSizing();r=r/s.sizeMultiplier;var f=t.height+t.depth+l+c;t.style.paddingLeft=Tn(f/2+l);var v=Math.floor(1e3*f*r),m=SRn(v),_=new z0([new bp("phase",m)],{width:"400em",height:Tn(v/1e3),viewBox:"0 0 400000 "+v,preserveAspectRatio:"xMinYMin slice"});o=Re.makeSvgSpan(["hide-tail"],[_],n),o.style.height=Tn(f),i=t.depth+l+c}else{/cancel/.test(a)?u||t.classes.push("cancel-pad"):a==="angl"?t.classes.push("anglpad"):t.classes.push("boxpad");var R=0,D=0,y=0;/box/.test(a)?(y=Math.max(n.fontMetrics().fboxrule,n.minRuleThickness),R=n.fontMetrics().fboxsep+(a==="colorbox"?0:y),D=R):a==="angl"?(y=Math.max(n.fontMetrics().defaultRuleThickness,n.minRuleThickness),R=4*y,D=Math.max(0,.25-t.depth)):(R=u?.2:0,D=R),o=Cp.encloseSpan(t,a,R,D,n),/fbox|boxed|fcolorbox/.test(a)?(o.style.borderStyle="solid",o.style.borderWidth=Tn(y)):a==="angl"&&y!==.049&&(o.style.borderTopWidth=Tn(y),o.style.borderRightWidth=Tn(y)),i=t.depth+D,e.backgroundColor&&(o.style.backgroundColor=e.backgroundColor,e.borderColor&&(o.style.borderColor=e.borderColor))}var S;if(e.backgroundColor)S=Re.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:i},{type:"elem",elem:t,shift:0}]},n);else{var G=/cancel|phase/.test(a)?["svg-align"]:[];S=Re.makeVList({positionType:"individualShift",children:[{type:"elem",elem:t,shift:0},{type:"elem",elem:o,shift:i,wrapperClasses:G}]},n)}return/cancel/.test(a)&&(S.height=t.height,S.depth=t.depth),/cancel/.test(a)&&!u?Re.makeSpan(["mord","cancel-lap"],[S],n):Re.makeSpan(["mord"],[S],n)},vq=(e,n)=>{var t=0,a=new Ze.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Gr(e.body,n)]);switch(e.label){case"\\cancel":a.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":a.setAttribute("notation","downdiagonalstrike");break;case"\\phase":a.setAttribute("notation","phasorangle");break;case"\\sout":a.setAttribute("notation","horizontalstrike");break;case"\\fbox":a.setAttribute("notation","box");break;case"\\angl":a.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(t=n.fontMetrics().fboxsep*n.fontMetrics().ptPerEm,a.setAttribute("width","+"+2*t+"pt"),a.setAttribute("height","+"+2*t+"pt"),a.setAttribute("lspace",t+"pt"),a.setAttribute("voffset",t+"pt"),e.label==="\\fcolorbox"){var r=Math.max(n.fontMetrics().fboxrule,n.minRuleThickness);a.setAttribute("style","border: "+r+"em solid "+String(e.borderColor))}break;case"\\xcancel":a.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&a.setAttribute("mathbackground",e.backgroundColor),a};Wn({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,n,t){var{parser:a,funcName:r}=e,o=_a(n[0],"color-token").color,i=n[1];return{type:"enclose",mode:a.mode,label:r,backgroundColor:o,body:i}},htmlBuilder:fq,mathmlBuilder:vq});Wn({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,n,t){var{parser:a,funcName:r}=e,o=_a(n[0],"color-token").color,i=_a(n[1],"color-token").color,u=n[2];return{type:"enclose",mode:a.mode,label:r,backgroundColor:i,borderColor:o,body:u}},htmlBuilder:fq,mathmlBuilder:vq});Wn({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,n){var{parser:t}=e;return{type:"enclose",mode:t.mode,label:"\\fbox",body:n[0]}}});Wn({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,n){var{parser:t,funcName:a}=e,r=n[0];return{type:"enclose",mode:t.mode,label:a,body:r}},htmlBuilder:fq,mathmlBuilder:vq});Wn({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,n){var{parser:t}=e;return{type:"enclose",mode:t.mode,label:"\\angl",body:n[0]}}});var qFe={};function $0(e){for(var{type:n,names:t,props:a,handler:r,htmlBuilder:o,mathmlBuilder:i}=e,u={type:n,numArgs:a.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:r},l=0;l{var n=e.parser.settings;if(!n.displayMode)throw new tn("{"+e.envName+"} can be used only in display mode.")};function mq(e){if(e.indexOf("ed")===-1)return e.indexOf("*")===-1}function Vd(e,n,t){var{hskipBeforeAndAfter:a,addJot:r,cols:o,arraystretch:i,colSeparationType:u,autoTag:l,singleRow:c,emptySingleRow:s,maxNumCols:f,leqno:v}=n;if(e.gullet.beginGroup(),c||e.gullet.macros.set("\\cr","\\\\\\relax"),!i){var m=e.gullet.expandMacroAsText("\\arraystretch");if(m==null)i=1;else if(i=parseFloat(m),!i||i<0)throw new tn("Invalid \\arraystretch: "+m)}e.gullet.beginGroup();var _=[],R=[_],D=[],y=[],S=l!=null?[]:void 0;function G(){l&&e.gullet.macros.set("\\@eqnsw","1",!0)}function P(){S&&(e.gullet.macros.get("\\df@tag")?(S.push(e.subparse([new Xc("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):S.push(Boolean(l)&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(G(),y.push($Fe(e));;){var k=e.parseExpression(!1,c?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),k={type:"ordgroup",mode:e.mode,body:k},t&&(k={type:"styling",mode:e.mode,style:t,body:[k]}),_.push(k);var M=e.fetch().text;if(M==="&"){if(f&&_.length===f){if(c||u)throw new tn("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(M==="\\end"){P(),_.length===1&&k.type==="styling"&&k.body[0].body.length===0&&(R.length>1||!s)&&R.pop(),y.length0&&(G+=.25),c.push({pos:G,isDashed:nt[ht]})}for(P(i[0]),a=0;a0&&(X+=S,Ont))for(a=0;a=u)){var de=void 0;(r>0||n.hskipBeforeAndAfter)&&(de=Tt.deflt(x.pregap,v),de!==0&&(Ne=Re.makeSpan(["arraycolsep"],[]),Ne.style.width=Tn(de),De.push(Ne)));var V=[];for(a=0;a0){for(var $e=Re.makeLineSpan("hline",t,s),je=Re.makeLineSpan("hdashline",t,s),In=[{type:"elem",elem:l,shift:0}];c.length>0;){var cn=c.pop(),et=cn.pos-be;cn.isDashed?In.push({type:"elem",elem:je,shift:et}):In.push({type:"elem",elem:$e,shift:et})}l=Re.makeVList({positionType:"individualShift",children:In},t)}if(jn.length===0)return Re.makeSpan(["mord"],[l],t);var Cn=Re.makeVList({positionType:"individualShift",children:jn},t);return Cn=Re.makeSpan(["tag"],[Cn],t),Re.makeFragment([l,Cn])},Gwn={c:"center ",l:"left ",r:"right "},Q0=function(n,t){for(var a=[],r=new Ze.MathNode("mtd",[],["mtr-glue"]),o=new Ze.MathNode("mtd",[],["mml-eqn-num"]),i=0;i0){var _=n.cols,R="",D=!1,y=0,S=_.length;_[0].type==="separator"&&(v+="top ",y=1),_[_.length-1].type==="separator"&&(v+="bottom ",S-=1);for(var G=y;G0?"left ":"",v+=oe[oe.length-1].length>0?"right ":"";for(var le=1;le-1?"alignat":"align",o=n.envName==="split",i=Vd(n.parser,{cols:a,addJot:!0,autoTag:o?void 0:mq(n.envName),emptySingleRow:!0,colSeparationType:r,maxNumCols:o?2:void 0,leqno:n.parser.settings.leqno},"display"),u,l=0,c={type:"ordgroup",mode:n.mode,body:[]};if(t[0]&&t[0].type==="ordgroup"){for(var s="",f=0;f0&&m&&(D=1),a[_]={type:"align",align:R,pregap:D,postgap:0}}return i.colSeparationType=m?"align":"alignat",i};$0({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,n){var t=k5(n[0]),a=t?[n[0]]:_a(n[0],"ordgroup").body,r=a.map(function(i){var u=nq(i),l=u.text;if("lcr".indexOf(l)!==-1)return{type:"align",align:l};if(l==="|")return{type:"separator",separator:"|"};if(l===":")return{type:"separator",separator:":"};throw new tn("Unknown column alignment: "+l,i)}),o={cols:r,hskipBeforeAndAfter:!0,maxNumCols:r.length};return Vd(e.parser,o,pq(e.envName))},htmlBuilder:V0,mathmlBuilder:Q0});$0({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){var n={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],t="c",a={hskipBeforeAndAfter:!1,cols:[{type:"align",align:t}]};if(e.envName.charAt(e.envName.length-1)==="*"){var r=e.parser;if(r.consumeSpaces(),r.fetch().text==="["){if(r.consume(),r.consumeSpaces(),t=r.fetch().text,"lcr".indexOf(t)===-1)throw new tn("Expected l or c or r",r.nextToken);r.consume(),r.consumeSpaces(),r.expect("]"),r.consume(),a.cols=[{type:"align",align:t}]}}var o=Vd(e.parser,a,pq(e.envName)),i=Math.max(0,...o.body.map(u=>u.length));return o.cols=new Array(i).fill({type:"align",align:t}),n?{type:"leftright",mode:e.mode,body:[o],left:n[0],right:n[1],rightColor:void 0}:o},htmlBuilder:V0,mathmlBuilder:Q0});$0({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var n={arraystretch:.5},t=Vd(e.parser,n,"script");return t.colSeparationType="small",t},htmlBuilder:V0,mathmlBuilder:Q0});$0({type:"array",names:["subarray"],props:{numArgs:1},handler(e,n){var t=k5(n[0]),a=t?[n[0]]:_a(n[0],"ordgroup").body,r=a.map(function(i){var u=nq(i),l=u.text;if("lc".indexOf(l)!==-1)return{type:"align",align:l};throw new tn("Unknown column alignment: "+l,i)});if(r.length>1)throw new tn("{subarray} can contain only one column");var o={cols:r,hskipBeforeAndAfter:!1,arraystretch:.5};if(o=Vd(e.parser,o,"script"),o.body.length>0&&o.body[0].length>1)throw new tn("{subarray} can contain only one column");return o},htmlBuilder:V0,mathmlBuilder:Q0});$0({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var n={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},t=Vd(e.parser,n,pq(e.envName));return{type:"leftright",mode:e.mode,body:[t],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:V0,mathmlBuilder:Q0});$0({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:VFe,htmlBuilder:V0,mathmlBuilder:Q0});$0({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){Tt.contains(["gather","gather*"],e.envName)&&J5(e);var n={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:mq(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return Vd(e.parser,n,"display")},htmlBuilder:V0,mathmlBuilder:Q0});$0({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:VFe,htmlBuilder:V0,mathmlBuilder:Q0});$0({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){J5(e);var n={autoTag:mq(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return Vd(e.parser,n,"display")},htmlBuilder:V0,mathmlBuilder:Q0});$0({type:"array",names:["CD"],props:{numArgs:0},handler(e){return J5(e),hwn(e.parser)},htmlBuilder:V0,mathmlBuilder:Q0});j("\\nonumber","\\gdef\\@eqnsw{0}");j("\\notag","\\nonumber");Wn({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,n){throw new tn(e.funcName+" valid only within array environment")}});var QFe=qFe;Wn({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,n){var{parser:t,funcName:a}=e,r=n[0];if(r.type!=="ordgroup")throw new tn("Invalid environment name",r);for(var o="",i=0;i{var t=e.font,a=n.withFont(t);return qa(e.body,a)},XFe=(e,n)=>{var t=e.font,a=n.withFont(t);return Gr(e.body,a)},ZFe={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Wn({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,n)=>{var{parser:t,funcName:a}=e,r=N5(n[0]),o=a;return o in ZFe&&(o=ZFe[o]),{type:"font",mode:t.mode,font:o.slice(1),body:r}},htmlBuilder:YFe,mathmlBuilder:XFe});Wn({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,n)=>{var{parser:t}=e,a=n[0],r=Tt.isCharacterBox(a);return{type:"mclass",mode:t.mode,mclass:U5(a),body:[{type:"font",mode:t.mode,font:"boldsymbol",body:a}],isCharacterBox:r}}});Wn({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,n)=>{var{parser:t,funcName:a,breakOnTokenText:r}=e,{mode:o}=t,i=t.parseExpression(!0,r),u="math"+a.slice(1);return{type:"font",mode:o,font:u,body:{type:"ordgroup",mode:t.mode,body:i}}},htmlBuilder:YFe,mathmlBuilder:XFe});var KFe=(e,n)=>{var t=n;return e==="display"?t=t.id>=Lt.SCRIPT.id?t.text():Lt.DISPLAY:e==="text"&&t.size===Lt.DISPLAY.size?t=Lt.TEXT:e==="script"?t=Lt.SCRIPT:e==="scriptscript"&&(t=Lt.SCRIPTSCRIPT),t},_q=(e,n)=>{var t=KFe(e.size,n.style),a=t.fracNum(),r=t.fracDen(),o;o=n.havingStyle(a);var i=qa(e.numer,o,n);if(e.continued){var u=8.5/n.fontMetrics().ptPerEm,l=3.5/n.fontMetrics().ptPerEm;i.height=i.height0?_=3*v:_=7*v,R=n.fontMetrics().denom1):(f>0?(m=n.fontMetrics().num2,_=v):(m=n.fontMetrics().num3,_=3*v),R=n.fontMetrics().denom2);var D;if(s){var S=n.fontMetrics().axisHeight;m-i.depth-(S+.5*f)<_&&(m+=_-(m-i.depth-(S+.5*f))),S-.5*f-(c.height-R)<_&&(R+=_-(S-.5*f-(c.height-R)));var G=-(S-.5*f);D=Re.makeVList({positionType:"individualShift",children:[{type:"elem",elem:c,shift:R},{type:"elem",elem:s,shift:G},{type:"elem",elem:i,shift:-m}]},n)}else{var y=m-i.depth-(c.height-R);y<_&&(m+=.5*(_-y),R+=.5*(_-y)),D=Re.makeVList({positionType:"individualShift",children:[{type:"elem",elem:c,shift:R},{type:"elem",elem:i,shift:-m}]},n)}o=n.havingStyle(t),D.height*=o.sizeMultiplier/n.sizeMultiplier,D.depth*=o.sizeMultiplier/n.sizeMultiplier;var P;t.size===Lt.DISPLAY.size?P=n.fontMetrics().delim1:t.size===Lt.SCRIPTSCRIPT.size?P=n.havingStyle(Lt.SCRIPT).fontMetrics().delim2:P=n.fontMetrics().delim2;var k,M;return e.leftDelim==null?k=PT(n,["mopen"]):k=Ip.customSizedDelim(e.leftDelim,P,!0,n.havingStyle(t),e.mode,["mopen"]),e.continued?M=Re.makeSpan([]):e.rightDelim==null?M=PT(n,["mclose"]):M=Ip.customSizedDelim(e.rightDelim,P,!0,n.havingStyle(t),e.mode,["mclose"]),Re.makeSpan(["mord"].concat(o.sizingClasses(n)),[k,Re.makeSpan(["mfrac"],[D]),M],n)},dq=(e,n)=>{var t=new Ze.MathNode("mfrac",[Gr(e.numer,n),Gr(e.denom,n)]);if(!e.hasBarLine)t.setAttribute("linethickness","0px");else if(e.barSize){var a=So(e.barSize,n);t.setAttribute("linethickness",Tn(a))}var r=KFe(e.size,n.style);if(r.size!==n.style.size){t=new Ze.MathNode("mstyle",[t]);var o=r.size===Lt.DISPLAY.size?"true":"false";t.setAttribute("displaystyle",o),t.setAttribute("scriptlevel","0")}if(e.leftDelim!=null||e.rightDelim!=null){var i=[];if(e.leftDelim!=null){var u=new Ze.MathNode("mo",[new Ze.TextNode(e.leftDelim.replace("\\",""))]);u.setAttribute("fence","true"),i.push(u)}if(i.push(t),e.rightDelim!=null){var l=new Ze.MathNode("mo",[new Ze.TextNode(e.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),i.push(l)}return ZW(i)}return t};Wn({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,n)=>{var{parser:t,funcName:a}=e,r=n[0],o=n[1],i,u=null,l=null,c="auto";switch(a){case"\\dfrac":case"\\frac":case"\\tfrac":i=!0;break;case"\\\\atopfrac":i=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":i=!1,u="(",l=")";break;case"\\\\bracefrac":i=!1,u="\\{",l="\\}";break;case"\\\\brackfrac":i=!1,u="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}switch(a){case"\\dfrac":case"\\dbinom":c="display";break;case"\\tfrac":case"\\tbinom":c="text";break}return{type:"genfrac",mode:t.mode,continued:!1,numer:r,denom:o,hasBarLine:i,leftDelim:u,rightDelim:l,size:c,barSize:null}},htmlBuilder:_q,mathmlBuilder:dq});Wn({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,n)=>{var{parser:t,funcName:a}=e,r=n[0],o=n[1];return{type:"genfrac",mode:t.mode,continued:!0,numer:r,denom:o,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}});Wn({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var{parser:n,funcName:t,token:a}=e,r;switch(t){case"\\over":r="\\frac";break;case"\\choose":r="\\binom";break;case"\\atop":r="\\\\atopfrac";break;case"\\brace":r="\\\\bracefrac";break;case"\\brack":r="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:n.mode,replaceWith:r,token:a}}});var e2e=["display","text","script","scriptscript"],n2e=function(n){var t=null;return n.length>0&&(t=n,t=t==="."?null:t),t};Wn({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,n){var{parser:t}=e,a=n[4],r=n[5],o=N5(n[0]),i=o.type==="atom"&&o.family==="open"?n2e(o.text):null,u=N5(n[1]),l=u.type==="atom"&&u.family==="close"?n2e(u.text):null,c=_a(n[2],"size"),s,f=null;c.isBlank?s=!0:(f=c.value,s=f.number>0);var v="auto",m=n[3];if(m.type==="ordgroup"){if(m.body.length>0){var _=_a(m.body[0],"textord");v=e2e[Number(_.text)]}}else m=_a(m,"textord"),v=e2e[Number(m.text)];return{type:"genfrac",mode:t.mode,numer:a,denom:r,continued:!1,hasBarLine:s,barSize:f,leftDelim:i,rightDelim:l,size:v}},htmlBuilder:_q,mathmlBuilder:dq});Wn({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,n){var{parser:t,funcName:a,token:r}=e;return{type:"infix",mode:t.mode,replaceWith:"\\\\abovefrac",size:_a(n[0],"size").value,token:r}}});Wn({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,n)=>{var{parser:t,funcName:a}=e,r=n[0],o=cRn(_a(n[1],"infix").size),i=n[2],u=o.number>0;return{type:"genfrac",mode:t.mode,numer:r,denom:i,continued:!1,hasBarLine:u,barSize:o,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:_q,mathmlBuilder:dq});var t2e=(e,n)=>{var t=n.style,a,r;e.type==="supsub"?(a=e.sup?qa(e.sup,n.havingStyle(t.sup()),n):qa(e.sub,n.havingStyle(t.sub()),n),r=_a(e.base,"horizBrace")):r=_a(e,"horizBrace");var o=qa(r.base,n.havingBaseStyle(Lt.DISPLAY)),i=Cp.svgSpan(r,n),u;if(r.isOver?(u=Re.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:i}]},n),u.children[0].children[0].children[1].classes.push("svg-align")):(u=Re.makeVList({positionType:"bottom",positionData:o.depth+.1+i.height,children:[{type:"elem",elem:i},{type:"kern",size:.1},{type:"elem",elem:o}]},n),u.children[0].children[0].children[0].classes.push("svg-align")),a){var l=Re.makeSpan(["mord",r.isOver?"mover":"munder"],[u],n);r.isOver?u=Re.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:a}]},n):u=Re.makeVList({positionType:"bottom",positionData:l.depth+.2+a.height+a.depth,children:[{type:"elem",elem:a},{type:"kern",size:.2},{type:"elem",elem:l}]},n)}return Re.makeSpan(["mord",r.isOver?"mover":"munder"],[u],n)},Awn=(e,n)=>{var t=Cp.mathMLnode(e.label);return new Ze.MathNode(e.isOver?"mover":"munder",[Gr(e.base,n),t])};Wn({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,n){var{parser:t,funcName:a}=e;return{type:"horizBrace",mode:t.mode,label:a,isOver:/^\\over/.test(a),base:n[0]}},htmlBuilder:t2e,mathmlBuilder:Awn});Wn({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,n)=>{var{parser:t}=e,a=n[1],r=_a(n[0],"url").url;return t.settings.isTrusted({command:"\\href",url:r})?{type:"href",mode:t.mode,href:r,body:ti(a)}:t.formatUnsupportedCmd("\\href")},htmlBuilder:(e,n)=>{var t=qi(e.body,n,!1);return Re.makeAnchor(e.href,[],t,n)},mathmlBuilder:(e,n)=>{var t=$d(e.body,n);return t instanceof nc||(t=new nc("mrow",[t])),t.setAttribute("href",e.href),t}});Wn({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,n)=>{var{parser:t}=e,a=_a(n[0],"url").url;if(!t.settings.isTrusted({command:"\\url",url:a}))return t.formatUnsupportedCmd("\\url");for(var r=[],o=0;o{var{parser:t,funcName:a,token:r}=e,o=_a(n[0],"raw").string,i=n[1];t.settings.strict&&t.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var u,l={};switch(a){case"\\htmlClass":l.class=o,u={command:"\\htmlClass",class:o};break;case"\\htmlId":l.id=o,u={command:"\\htmlId",id:o};break;case"\\htmlStyle":l.style=o,u={command:"\\htmlStyle",style:o};break;case"\\htmlData":{for(var c=o.split(","),s=0;s{var t=qi(e.body,n,!1),a=["enclosing"];e.attributes.class&&a.push(...e.attributes.class.trim().split(/\s+/));var r=Re.makeSpan(a,t,n);for(var o in e.attributes)o!=="class"&&e.attributes.hasOwnProperty(o)&&r.setAttribute(o,e.attributes[o]);return r},mathmlBuilder:(e,n)=>$d(e.body,n)});Wn({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,n)=>{var{parser:t}=e;return{type:"htmlmathml",mode:t.mode,html:ti(n[0]),mathml:ti(n[1])}},htmlBuilder:(e,n)=>{var t=qi(e.html,n,!1);return Re.makeFragment(t)},mathmlBuilder:(e,n)=>$d(e.mathml,n)});var hq=function(n){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(n))return{number:+n,unit:"bp"};var t=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(n);if(!t)throw new tn("Invalid size: '"+n+"' in \\includegraphics");var a={number:+(t[1]+t[2]),unit:t[3]};if(!rFe(a))throw new tn("Invalid unit: '"+a.unit+"' in \\includegraphics.");return a};Wn({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,n,t)=>{var{parser:a}=e,r={number:0,unit:"em"},o={number:.9,unit:"em"},i={number:0,unit:"em"},u="";if(t[0])for(var l=_a(t[0],"raw").string,c=l.split(","),s=0;s{var t=So(e.height,n),a=0;e.totalheight.number>0&&(a=So(e.totalheight,n)-t);var r=0;e.width.number>0&&(r=So(e.width,n));var o={height:Tn(t+a)};r>0&&(o.width=Tn(r)),a>0&&(o.verticalAlign=Tn(-a));var i=new lFe(e.src,e.alt,o);return i.height=t,i.depth=a,i},mathmlBuilder:(e,n)=>{var t=new Ze.MathNode("mglyph",[]);t.setAttribute("alt",e.alt);var a=So(e.height,n),r=0;if(e.totalheight.number>0&&(r=So(e.totalheight,n)-a,t.setAttribute("valign",Tn(-r))),t.setAttribute("height",Tn(a+r)),e.width.number>0){var o=So(e.width,n);t.setAttribute("width",Tn(o))}return t.setAttribute("src",e.src),t}});Wn({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,n){var{parser:t,funcName:a}=e,r=_a(n[0],"size");if(t.settings.strict){var o=a[1]==="m",i=r.value.unit==="mu";o?(i||t.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" supports only mu units, "+("not "+r.value.unit+" units")),t.mode!=="math"&&t.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" works only in math mode")):i&&t.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" doesn't support mu units")}return{type:"kern",mode:t.mode,dimension:r.value}},htmlBuilder(e,n){return Re.makeGlue(e.dimension,n)},mathmlBuilder(e,n){var t=So(e.dimension,n);return new Ze.SpaceNode(t)}});Wn({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,n)=>{var{parser:t,funcName:a}=e,r=n[0];return{type:"lap",mode:t.mode,alignment:a.slice(5),body:r}},htmlBuilder:(e,n)=>{var t;e.alignment==="clap"?(t=Re.makeSpan([],[qa(e.body,n)]),t=Re.makeSpan(["inner"],[t],n)):t=Re.makeSpan(["inner"],[qa(e.body,n)]);var a=Re.makeSpan(["fix"],[]),r=Re.makeSpan([e.alignment],[t,a],n),o=Re.makeSpan(["strut"]);return o.style.height=Tn(r.height+r.depth),r.depth&&(o.style.verticalAlign=Tn(-r.depth)),r.children.unshift(o),r=Re.makeSpan(["thinbox"],[r],n),Re.makeSpan(["mord","vbox"],[r],n)},mathmlBuilder:(e,n)=>{var t=new Ze.MathNode("mpadded",[Gr(e.body,n)]);if(e.alignment!=="rlap"){var a=e.alignment==="llap"?"-1":"-0.5";t.setAttribute("lspace",a+"width")}return t.setAttribute("width","0px"),t}});Wn({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,n){var{funcName:t,parser:a}=e,r=a.mode;a.switchMode("math");var o=t==="\\("?"\\)":"$",i=a.parseExpression(!1,o);return a.expect(o),a.switchMode(r),{type:"styling",mode:a.mode,style:"text",body:i}}});Wn({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,n){throw new tn("Mismatched "+e.funcName)}});var a2e=(e,n)=>{switch(n.style.size){case Lt.DISPLAY.size:return e.display;case Lt.TEXT.size:return e.text;case Lt.SCRIPT.size:return e.script;case Lt.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};Wn({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,n)=>{var{parser:t}=e;return{type:"mathchoice",mode:t.mode,display:ti(n[0]),text:ti(n[1]),script:ti(n[2]),scriptscript:ti(n[3])}},htmlBuilder:(e,n)=>{var t=a2e(e,n),a=qi(t,n,!1);return Re.makeFragment(a)},mathmlBuilder:(e,n)=>{var t=a2e(e,n);return $d(t,n)}});var r2e=(e,n,t,a,r,o,i)=>{e=Re.makeSpan([],[e]);var u=t&&Tt.isCharacterBox(t),l,c;if(n){var s=qa(n,a.havingStyle(r.sup()),a);c={elem:s,kern:Math.max(a.fontMetrics().bigOpSpacing1,a.fontMetrics().bigOpSpacing3-s.depth)}}if(t){var f=qa(t,a.havingStyle(r.sub()),a);l={elem:f,kern:Math.max(a.fontMetrics().bigOpSpacing2,a.fontMetrics().bigOpSpacing4-f.height)}}var v;if(c&&l){var m=a.fontMetrics().bigOpSpacing5+l.elem.height+l.elem.depth+l.kern+e.depth+i;v=Re.makeVList({positionType:"bottom",positionData:m,children:[{type:"kern",size:a.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:Tn(-o)},{type:"kern",size:l.kern},{type:"elem",elem:e},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:Tn(o)},{type:"kern",size:a.fontMetrics().bigOpSpacing5}]},a)}else if(l){var _=e.height-i;v=Re.makeVList({positionType:"top",positionData:_,children:[{type:"kern",size:a.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:Tn(-o)},{type:"kern",size:l.kern},{type:"elem",elem:e}]},a)}else if(c){var R=e.depth+i;v=Re.makeVList({positionType:"bottom",positionData:R,children:[{type:"elem",elem:e},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:Tn(o)},{type:"kern",size:a.fontMetrics().bigOpSpacing5}]},a)}else return e;var D=[v];if(l&&o!==0&&!u){var y=Re.makeSpan(["mspace"],[],a);y.style.marginRight=Tn(o),D.unshift(y)}return Re.makeSpan(["mop","op-limits"],D,a)},o2e=["\\smallint"],kR=(e,n)=>{var t,a,r=!1,o;e.type==="supsub"?(t=e.sup,a=e.sub,o=_a(e.base,"op"),r=!0):o=_a(e,"op");var i=n.style,u=!1;i.size===Lt.DISPLAY.size&&o.symbol&&!Tt.contains(o2e,o.name)&&(u=!0);var l;if(o.symbol){var c=u?"Size2-Regular":"Size1-Regular",s="";if((o.name==="\\oiint"||o.name==="\\oiiint")&&(s=o.name.slice(1),o.name=s==="oiint"?"\\iint":"\\iiint"),l=Re.makeSymbol(o.name,c,"math",n,["mop","op-symbol",u?"large-op":"small-op"]),s.length>0){var f=l.italic,v=Re.staticSvg(s+"Size"+(u?"2":"1"),n);l=Re.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:0},{type:"elem",elem:v,shift:u?.08:0}]},n),o.name="\\"+s,l.classes.unshift("mop"),l.italic=f}}else if(o.body){var m=qi(o.body,n,!0);m.length===1&&m[0]instanceof Zc?(l=m[0],l.classes[0]="mop"):l=Re.makeSpan(["mop"],m,n)}else{for(var _=[],R=1;R{var t;if(e.symbol)t=new nc("mo",[uf(e.name,e.mode)]),Tt.contains(o2e,e.name)&&t.setAttribute("largeop","false");else if(e.body)t=new nc("mo",tc(e.body,n));else{t=new nc("mi",[new Mv(e.name.slice(1))]);var a=new nc("mo",[uf("\u2061","text")]);e.parentIsSupSub?t=new nc("mrow",[t,a]):t=bFe([t,a])}return t},xwn={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};Wn({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220F","\u2210","\u2211","\u22C0","\u22C1","\u22C2","\u22C3","\u2A00","\u2A01","\u2A02","\u2A04","\u2A06"],props:{numArgs:0},handler:(e,n)=>{var{parser:t,funcName:a}=e,r=a;return r.length===1&&(r=xwn[r]),{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:kR,mathmlBuilder:UT});Wn({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,n)=>{var{parser:t}=e,a=n[0];return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:ti(a)}},htmlBuilder:kR,mathmlBuilder:UT});var Lwn={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};Wn({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(e){var{parser:n,funcName:t}=e;return{type:"op",mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:t}},htmlBuilder:kR,mathmlBuilder:UT});Wn({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){var{parser:n,funcName:t}=e;return{type:"op",mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:t}},htmlBuilder:kR,mathmlBuilder:UT});Wn({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler(e){var{parser:n,funcName:t}=e,a=t;return a.length===1&&(a=Lwn[a]),{type:"op",mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:a}},htmlBuilder:kR,mathmlBuilder:UT});var i2e=(e,n)=>{var t,a,r=!1,o;e.type==="supsub"?(t=e.sup,a=e.sub,o=_a(e.base,"operatorname"),r=!0):o=_a(e,"operatorname");var i;if(o.body.length>0){for(var u=o.body.map(f=>{var v=f.text;return typeof v=="string"?{type:"textord",mode:f.mode,text:v}:f}),l=qi(u,n.withFont("mathrm"),!0),c=0;c{for(var t=tc(e.body,n.withFont("mathrm")),a=!0,r=0;rs.toText()).join("");t=[new Ze.TextNode(u)]}var l=new Ze.MathNode("mi",t);l.setAttribute("mathvariant","normal");var c=new Ze.MathNode("mo",[uf("\u2061","text")]);return e.parentIsSupSub?new Ze.MathNode("mrow",[l,c]):Ze.newDocumentFragment([l,c])};Wn({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,n)=>{var{parser:t,funcName:a}=e,r=n[0];return{type:"operatorname",mode:t.mode,body:ti(r),alwaysHandleSupSub:a==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:i2e,mathmlBuilder:jwn});j("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");FD({type:"ordgroup",htmlBuilder(e,n){return e.semisimple?Re.makeFragment(qi(e.body,n,!1)):Re.makeSpan(["mord"],qi(e.body,n,!0),n)},mathmlBuilder(e,n){return $d(e.body,n,!0)}});Wn({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,n){var{parser:t}=e,a=n[0];return{type:"overline",mode:t.mode,body:a}},htmlBuilder(e,n){var t=qa(e.body,n.havingCrampedStyle()),a=Re.makeLineSpan("overline-line",n),r=n.fontMetrics().defaultRuleThickness,o=Re.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:t},{type:"kern",size:3*r},{type:"elem",elem:a},{type:"kern",size:r}]},n);return Re.makeSpan(["mord","overline"],[o],n)},mathmlBuilder(e,n){var t=new Ze.MathNode("mo",[new Ze.TextNode("\u203E")]);t.setAttribute("stretchy","true");var a=new Ze.MathNode("mover",[Gr(e.body,n),t]);return a.setAttribute("accent","true"),a}});Wn({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,n)=>{var{parser:t}=e,a=n[0];return{type:"phantom",mode:t.mode,body:ti(a)}},htmlBuilder:(e,n)=>{var t=qi(e.body,n.withPhantom(),!1);return Re.makeFragment(t)},mathmlBuilder:(e,n)=>{var t=tc(e.body,n);return new Ze.MathNode("mphantom",t)}});Wn({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,n)=>{var{parser:t}=e,a=n[0];return{type:"hphantom",mode:t.mode,body:a}},htmlBuilder:(e,n)=>{var t=Re.makeSpan([],[qa(e.body,n.withPhantom())]);if(t.height=0,t.depth=0,t.children)for(var a=0;a{var t=tc(ti(e.body),n),a=new Ze.MathNode("mphantom",t),r=new Ze.MathNode("mpadded",[a]);return r.setAttribute("height","0px"),r.setAttribute("depth","0px"),r}});Wn({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,n)=>{var{parser:t}=e,a=n[0];return{type:"vphantom",mode:t.mode,body:a}},htmlBuilder:(e,n)=>{var t=Re.makeSpan(["inner"],[qa(e.body,n.withPhantom())]),a=Re.makeSpan(["fix"],[]);return Re.makeSpan(["mord","rlap"],[t,a],n)},mathmlBuilder:(e,n)=>{var t=tc(ti(e.body),n),a=new Ze.MathNode("mphantom",t),r=new Ze.MathNode("mpadded",[a]);return r.setAttribute("width","0px"),r}});Wn({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,n){var{parser:t}=e,a=_a(n[0],"size").value,r=n[1];return{type:"raisebox",mode:t.mode,dy:a,body:r}},htmlBuilder(e,n){var t=qa(e.body,n),a=So(e.dy,n);return Re.makeVList({positionType:"shift",positionData:-a,children:[{type:"elem",elem:t}]},n)},mathmlBuilder(e,n){var t=new Ze.MathNode("mpadded",[Gr(e.body,n)]),a=e.dy.number+e.dy.unit;return t.setAttribute("voffset",a),t}});Wn({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:n}=e;return{type:"internal",mode:n.mode}}});Wn({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(e,n,t){var{parser:a}=e,r=t[0],o=_a(n[0],"size"),i=_a(n[1],"size");return{type:"rule",mode:a.mode,shift:r&&_a(r,"size").value,width:o.value,height:i.value}},htmlBuilder(e,n){var t=Re.makeSpan(["mord","rule"],[],n),a=So(e.width,n),r=So(e.height,n),o=e.shift?So(e.shift,n):0;return t.style.borderRightWidth=Tn(a),t.style.borderTopWidth=Tn(r),t.style.bottom=Tn(o),t.width=a,t.height=r+o,t.depth=-o,t.maxFontSize=r*1.125*n.sizeMultiplier,t},mathmlBuilder(e,n){var t=So(e.width,n),a=So(e.height,n),r=e.shift?So(e.shift,n):0,o=n.color&&n.getColor()||"black",i=new Ze.MathNode("mspace");i.setAttribute("mathbackground",o),i.setAttribute("width",Tn(t)),i.setAttribute("height",Tn(a));var u=new Ze.MathNode("mpadded",[i]);return r>=0?u.setAttribute("height",Tn(r)):(u.setAttribute("height",Tn(r)),u.setAttribute("depth",Tn(-r))),u.setAttribute("voffset",Tn(r)),u}});function u2e(e,n,t){for(var a=qi(e,n,!1),r=n.sizeMultiplier/t.sizeMultiplier,o=0;o{var t=n.havingSize(e.size);return u2e(e.body,t,n)};Wn({type:"sizing",names:l2e,props:{numArgs:0,allowedInText:!0},handler:(e,n)=>{var{breakOnTokenText:t,funcName:a,parser:r}=e,o=r.parseExpression(!1,t);return{type:"sizing",mode:r.mode,size:l2e.indexOf(a)+1,body:o}},htmlBuilder:Nwn,mathmlBuilder:(e,n)=>{var t=n.havingSize(e.size),a=tc(e.body,t),r=new Ze.MathNode("mstyle",a);return r.setAttribute("mathsize",Tn(t.sizeMultiplier)),r}});Wn({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,n,t)=>{var{parser:a}=e,r=!1,o=!1,i=t[0]&&_a(t[0],"ordgroup");if(i)for(var u="",l=0;l{var t=Re.makeSpan([],[qa(e.body,n)]);if(!e.smashHeight&&!e.smashDepth)return t;if(e.smashHeight&&(t.height=0,t.children))for(var a=0;a{var t=new Ze.MathNode("mpadded",[Gr(e.body,n)]);return e.smashHeight&&t.setAttribute("height","0px"),e.smashDepth&&t.setAttribute("depth","0px"),t}});Wn({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,n,t){var{parser:a}=e,r=t[0],o=n[0];return{type:"sqrt",mode:a.mode,body:o,index:r}},htmlBuilder(e,n){var t=qa(e.body,n.havingCrampedStyle());t.height===0&&(t.height=n.fontMetrics().xHeight),t=Re.wrapFragment(t,n);var a=n.fontMetrics(),r=a.defaultRuleThickness,o=r;n.style.idt.height+t.depth+i&&(i=(i+f-t.height-t.depth)/2);var v=l.height-t.height-i-c;t.style.paddingLeft=Tn(s);var m=Re.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:t,wrapperClasses:["svg-align"]},{type:"kern",size:-(t.height+v)},{type:"elem",elem:l},{type:"kern",size:c}]},n);if(e.index){var _=n.havingStyle(Lt.SCRIPTSCRIPT),R=qa(e.index,_,n),D=.6*(m.height-m.depth),y=Re.makeVList({positionType:"shift",positionData:-D,children:[{type:"elem",elem:R}]},n),S=Re.makeSpan(["root"],[y]);return Re.makeSpan(["mord","sqrt"],[S,m],n)}else return Re.makeSpan(["mord","sqrt"],[m],n)},mathmlBuilder(e,n){var{body:t,index:a}=e;return a?new Ze.MathNode("mroot",[Gr(t,n),Gr(a,n)]):new Ze.MathNode("msqrt",[Gr(t,n)])}});var c2e={display:Lt.DISPLAY,text:Lt.TEXT,script:Lt.SCRIPT,scriptscript:Lt.SCRIPTSCRIPT};Wn({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,n){var{breakOnTokenText:t,funcName:a,parser:r}=e,o=r.parseExpression(!0,t),i=a.slice(1,a.length-5);return{type:"styling",mode:r.mode,style:i,body:o}},htmlBuilder(e,n){var t=c2e[e.style],a=n.havingStyle(t).withFont("");return u2e(e.body,a,n)},mathmlBuilder(e,n){var t=c2e[e.style],a=n.havingStyle(t),r=tc(e.body,a),o=new Ze.MathNode("mstyle",r),i={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},u=i[e.style];return o.setAttribute("scriptlevel",u[0]),o.setAttribute("displaystyle",u[1]),o}});var Pwn=function(n,t){var a=n.base;if(a)if(a.type==="op"){var r=a.limits&&(t.style.size===Lt.DISPLAY.size||a.alwaysHandleSupSub);return r?kR:null}else if(a.type==="operatorname"){var o=a.alwaysHandleSupSub&&(t.style.size===Lt.DISPLAY.size||a.limits);return o?i2e:null}else{if(a.type==="accent")return Tt.isCharacterBox(a.base)?tq:null;if(a.type==="horizBrace"){var i=!n.sub;return i===a.isOver?t2e:null}else return null}else return null};FD({type:"supsub",htmlBuilder(e,n){var t=Pwn(e,n);if(t)return t(e,n);var{base:a,sup:r,sub:o}=e,i=qa(a,n),u,l,c=n.fontMetrics(),s=0,f=0,v=a&&Tt.isCharacterBox(a);if(r){var m=n.havingStyle(n.style.sup());u=qa(r,m,n),v||(s=i.height-m.fontMetrics().supDrop*m.sizeMultiplier/n.sizeMultiplier)}if(o){var _=n.havingStyle(n.style.sub());l=qa(o,_,n),v||(f=i.depth+_.fontMetrics().subDrop*_.sizeMultiplier/n.sizeMultiplier)}var R;n.style===Lt.DISPLAY?R=c.sup1:n.style.cramped?R=c.sup3:R=c.sup2;var D=n.sizeMultiplier,y=Tn(.5/c.ptPerEm/D),S=null;if(l){var G=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(i instanceof Zc||G)&&(S=Tn(-i.italic))}var P;if(u&&l){s=Math.max(s,R,u.depth+.25*c.xHeight),f=Math.max(f,c.sub2);var k=c.defaultRuleThickness,M=4*k;if(s-u.depth-(l.height-f)0&&(s+=O,f-=O)}var oe=[{type:"elem",elem:l,shift:f,marginRight:y,marginLeft:S},{type:"elem",elem:u,shift:-s,marginRight:y}];P=Re.makeVList({positionType:"individualShift",children:oe},n)}else if(l){f=Math.max(f,c.sub1,l.height-.8*c.xHeight);var le=[{type:"elem",elem:l,marginLeft:S,marginRight:y}];P=Re.makeVList({positionType:"shift",positionData:f,children:le},n)}else if(u)s=Math.max(s,R,u.depth+.25*c.xHeight),P=Re.makeVList({positionType:"shift",positionData:-s,children:[{type:"elem",elem:u,marginRight:y}]},n);else throw new Error("supsub must have either sup or sub.");var ve=YW(i,"right")||"mord";return Re.makeSpan([ve],[i,Re.makeSpan(["msupsub"],[P])],n)},mathmlBuilder(e,n){var t=!1,a,r;e.base&&e.base.type==="horizBrace"&&(r=!!e.sup,r===e.base.isOver&&(t=!0,a=e.base.isOver)),e.base&&(e.base.type==="op"||e.base.type==="operatorname")&&(e.base.parentIsSupSub=!0);var o=[Gr(e.base,n)];e.sub&&o.push(Gr(e.sub,n)),e.sup&&o.push(Gr(e.sup,n));var i;if(t)i=a?"mover":"munder";else if(e.sub)if(e.sup){var c=e.base;c&&c.type==="op"&&c.limits&&n.style===Lt.DISPLAY||c&&c.type==="operatorname"&&c.alwaysHandleSupSub&&(n.style===Lt.DISPLAY||c.limits)?i="munderover":i="msubsup"}else{var l=e.base;l&&l.type==="op"&&l.limits&&(n.style===Lt.DISPLAY||l.alwaysHandleSupSub)||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(l.limits||n.style===Lt.DISPLAY)?i="munder":i="msub"}else{var u=e.base;u&&u.type==="op"&&u.limits&&(n.style===Lt.DISPLAY||u.alwaysHandleSupSub)||u&&u.type==="operatorname"&&u.alwaysHandleSupSub&&(u.limits||n.style===Lt.DISPLAY)?i="mover":i="msup"}return new Ze.MathNode(i,o)}});FD({type:"atom",htmlBuilder(e,n){return Re.mathsym(e.text,e.mode,n,["m"+e.family])},mathmlBuilder(e,n){var t=new Ze.MathNode("mo",[uf(e.text,e.mode)]);if(e.family==="bin"){var a=KW(e,n);a==="bold-italic"&&t.setAttribute("mathvariant",a)}else e.family==="punct"?t.setAttribute("separator","true"):(e.family==="open"||e.family==="close")&&t.setAttribute("stretchy","false");return t}});var s2e={mi:"italic",mn:"normal",mtext:"normal"};FD({type:"mathord",htmlBuilder(e,n){return Re.makeOrd(e,n,"mathord")},mathmlBuilder(e,n){var t=new Ze.MathNode("mi",[uf(e.text,e.mode,n)]),a=KW(e,n)||"italic";return a!==s2e[t.type]&&t.setAttribute("mathvariant",a),t}});FD({type:"textord",htmlBuilder(e,n){return Re.makeOrd(e,n,"textord")},mathmlBuilder(e,n){var t=uf(e.text,e.mode,n),a=KW(e,n)||"normal",r;return e.mode==="text"?r=new Ze.MathNode("mtext",[t]):/[0-9]/.test(e.text)?r=new Ze.MathNode("mn",[t]):e.text==="\\prime"?r=new Ze.MathNode("mo",[t]):r=new Ze.MathNode("mi",[t]),a!==s2e[r.type]&&r.setAttribute("mathvariant",a),r}});var gq={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Dq={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};FD({type:"spacing",htmlBuilder(e,n){if(Dq.hasOwnProperty(e.text)){var t=Dq[e.text].className||"";if(e.mode==="text"){var a=Re.makeOrd(e,n,"textord");return a.classes.push(t),a}else return Re.makeSpan(["mspace",t],[Re.mathsym(e.text,e.mode,n)],n)}else{if(gq.hasOwnProperty(e.text))return Re.makeSpan(["mspace",gq[e.text]],[],n);throw new tn('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,n){var t;if(Dq.hasOwnProperty(e.text))t=new Ze.MathNode("mtext",[new Ze.TextNode("\xA0")]);else{if(gq.hasOwnProperty(e.text))return new Ze.MathNode("mspace");throw new tn('Unknown type of space "'+e.text+'"')}return t}});var f2e=()=>{var e=new Ze.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};FD({type:"tag",mathmlBuilder(e,n){var t=new Ze.MathNode("mtable",[new Ze.MathNode("mtr",[f2e(),new Ze.MathNode("mtd",[$d(e.body,n)]),f2e(),new Ze.MathNode("mtd",[$d(e.tag,n)])])]);return t.setAttribute("width","100%"),t}});var v2e={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},m2e={"\\textbf":"textbf","\\textmd":"textmd"},kwn={"\\textit":"textit","\\textup":"textup"},p2e=(e,n)=>{var t=e.font;if(t){if(v2e[t])return n.withTextFontFamily(v2e[t]);if(m2e[t])return n.withTextFontWeight(m2e[t]);if(t==="\\emph")return n.fontShape==="textit"?n.withTextFontShape("textup"):n.withTextFontShape("textit")}else return n;return n.withTextFontShape(kwn[t])};Wn({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,n){var{parser:t,funcName:a}=e,r=n[0];return{type:"text",mode:t.mode,body:ti(r),font:a}},htmlBuilder(e,n){var t=p2e(e,n),a=qi(e.body,t,!0);return Re.makeSpan(["mord","text"],a,t)},mathmlBuilder(e,n){var t=p2e(e,n);return $d(e.body,t)}});Wn({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,n){var{parser:t}=e;return{type:"underline",mode:t.mode,body:n[0]}},htmlBuilder(e,n){var t=qa(e.body,n),a=Re.makeLineSpan("underline-line",n),r=n.fontMetrics().defaultRuleThickness,o=Re.makeVList({positionType:"top",positionData:t.height,children:[{type:"kern",size:r},{type:"elem",elem:a},{type:"kern",size:3*r},{type:"elem",elem:t}]},n);return Re.makeSpan(["mord","underline"],[o],n)},mathmlBuilder(e,n){var t=new Ze.MathNode("mo",[new Ze.TextNode("\u203E")]);t.setAttribute("stretchy","true");var a=new Ze.MathNode("munder",[Gr(e.body,n),t]);return a.setAttribute("accentunder","true"),a}});Wn({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,n){var{parser:t}=e;return{type:"vcenter",mode:t.mode,body:n[0]}},htmlBuilder(e,n){var t=qa(e.body,n),a=n.fontMetrics().axisHeight,r=.5*(t.height-a-(t.depth+a));return Re.makeVList({positionType:"shift",positionData:r,children:[{type:"elem",elem:t}]},n)},mathmlBuilder(e,n){return new Ze.MathNode("mpadded",[Gr(e.body,n)],["vcenter"])}});Wn({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,n,t){throw new tn("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,n){for(var t=_2e(e),a=[],r=n.havingStyle(n.style.text()),o=0;oe.body.replace(/ /g,e.star?"\u2423":"\xA0"),Qd=gFe,d2e=`[ \r ]`,Own="\\\\[a-zA-Z@]+",Uwn="\\\\[^\uD800-\uDFFF]",Hwn="("+Own+")"+d2e+"*",Bwn=`\\\\( |[ \r ]+ ?)[ \r ]*`,yq="[\u0300-\u036F]",Jwn=new RegExp(yq+"+$"),Wwn="("+d2e+"+)|"+(Bwn+"|")+"([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(yq+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(yq+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+Hwn)+("|"+Uwn+")"),bq=class{constructor(n,t){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=n,this.settings=t,this.tokenRegex=new RegExp(Wwn,"g"),this.catcodes={"%":14,"~":13}}setCatcode(n,t){this.catcodes[n]=t}lex(){var n=this.input,t=this.tokenRegex.lastIndex;if(t===n.length)return new Xc("EOF",new Kl(this,t,t));var a=this.tokenRegex.exec(n);if(a===null||a.index!==t)throw new tn("Unexpected character: '"+n[t]+"'",new Xc(n[t],new Kl(this,t,t+1)));var r=a[6]||a[3]||(a[2]?"\\ ":" ");if(this.catcodes[r]===14){var o=n.indexOf(` `,this.tokenRegex.lastIndex);return o===-1?(this.tokenRegex.lastIndex=n.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=o+1,this.lex()}return new Xc(r,new Kl(this,t,this.tokenRegex.lastIndex))}},h2e=class{constructor(n,t){n===void 0&&(n={}),t===void 0&&(t={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=t,this.builtins=n,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new tn("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var n=this.undefStack.pop();for(var t in n)n.hasOwnProperty(t)&&(n[t]==null?delete this.current[t]:this.current[t]=n[t])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(n){return this.current.hasOwnProperty(n)||this.builtins.hasOwnProperty(n)}get(n){return this.current.hasOwnProperty(n)?this.current[n]:this.builtins[n]}set(n,t,a){if(a===void 0&&(a=!1),a){for(var r=0;r0&&(this.undefStack[this.undefStack.length-1][n]=t)}else{var o=this.undefStack[this.undefStack.length-1];o&&!o.hasOwnProperty(n)&&(o[n]=this.current[n])}t==null?delete this.current[n]:this.current[n]=t}},qwn=zFe;j("\\noexpand",function(e){var n=e.popToken();return e.isExpandable(n.text)&&(n.noexpand=!0,n.treatAsRelax=!0),{tokens:[n],numArgs:0}});j("\\expandafter",function(e){var n=e.popToken();return e.expandOnce(!0),{tokens:[n],numArgs:0}});j("\\@firstoftwo",function(e){var n=e.consumeArgs(2);return{tokens:n[0],numArgs:0}});j("\\@secondoftwo",function(e){var n=e.consumeArgs(2);return{tokens:n[1],numArgs:0}});j("\\@ifnextchar",function(e){var n=e.consumeArgs(3);e.consumeSpaces();var t=e.future();return n[0].length===1&&n[0][0].text===t.text?{tokens:n[1],numArgs:0}:{tokens:n[2],numArgs:0}});j("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");j("\\TextOrMath",function(e){var n=e.consumeArgs(2);return e.mode==="text"?{tokens:n[0],numArgs:0}:{tokens:n[1],numArgs:0}});var g2e={"0":0,"1":1,"2":2,"3":3,"4":4,"5":5,"6":6,"7":7,"8":8,"9":9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};j("\\char",function(e){var n=e.popToken(),t,a="";if(n.text==="'")t=8,n=e.popToken();else if(n.text==='"')t=16,n=e.popToken();else if(n.text==="`")if(n=e.popToken(),n.text[0]==="\\")a=n.text.charCodeAt(1);else{if(n.text==="EOF")throw new tn("\\char` missing argument");a=n.text.charCodeAt(0)}else t=10;if(t){if(a=g2e[n.text],a==null||a>=t)throw new tn("Invalid base-"+t+" digit "+n.text);for(var r;(r=g2e[e.future().text])!=null&&r{var r=e.consumeArg().tokens;if(r.length!==1)throw new tn("\\newcommand's first argument must be a macro name");var o=r[0].text,i=e.isDefined(o);if(i&&!n)throw new tn("\\newcommand{"+o+"} attempting to redefine "+(o+"; use \\renewcommand"));if(!i&&!t)throw new tn("\\renewcommand{"+o+"} when command "+o+" does not yet exist; use \\newcommand");var u=0;if(r=e.consumeArg().tokens,r.length===1&&r[0].text==="["){for(var l="",c=e.expandNextToken();c.text!=="]"&&c.text!=="EOF";)l+=c.text,c=e.expandNextToken();if(!l.match(/^\s*[0-9]+\s*$/))throw new tn("Invalid number of arguments: "+l);u=parseInt(l),r=e.consumeArg().tokens}return i&&a||e.macros.set(o,{tokens:r,numArgs:u}),""};j("\\newcommand",e=>Rq(e,!1,!0,!1));j("\\renewcommand",e=>Rq(e,!0,!1,!1));j("\\providecommand",e=>Rq(e,!0,!0,!0));j("\\message",e=>{var n=e.consumeArgs(1)[0];return console.log(n.reverse().map(t=>t.text).join("")),""});j("\\errmessage",e=>{var n=e.consumeArgs(1)[0];return console.error(n.reverse().map(t=>t.text).join("")),""});j("\\show",e=>{var n=e.popToken(),t=n.text;return console.log(n,e.macros.get(t),Qd[t],Or.math[t],Or.text[t]),""});j("\\bgroup","{");j("\\egroup","}");j("~","\\nobreakspace");j("\\lq","`");j("\\rq","'");j("\\aa","\\r a");j("\\AA","\\r A");j("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}");j("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");j("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}");j("\u212C","\\mathscr{B}");j("\u2130","\\mathscr{E}");j("\u2131","\\mathscr{F}");j("\u210B","\\mathscr{H}");j("\u2110","\\mathscr{I}");j("\u2112","\\mathscr{L}");j("\u2133","\\mathscr{M}");j("\u211B","\\mathscr{R}");j("\u212D","\\mathfrak{C}");j("\u210C","\\mathfrak{H}");j("\u2128","\\mathfrak{Z}");j("\\Bbbk","\\Bbb{k}");j("\xB7","\\cdotp");j("\\llap","\\mathllap{\\textrm{#1}}");j("\\rlap","\\mathrlap{\\textrm{#1}}");j("\\clap","\\mathclap{\\textrm{#1}}");j("\\mathstrut","\\vphantom{(}");j("\\underbar","\\underline{\\text{#1}}");j("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');j("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}");j("\\ne","\\neq");j("\u2260","\\neq");j("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}");j("\u2209","\\notin");j("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}");j("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}");j("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}");j("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}");j("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}");j("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}");j("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}");j("\u27C2","\\perp");j("\u203C","\\mathclose{!\\mkern-0.8mu!}");j("\u220C","\\notni");j("\u231C","\\ulcorner");j("\u231D","\\urcorner");j("\u231E","\\llcorner");j("\u231F","\\lrcorner");j("\xA9","\\copyright");j("\xAE","\\textregistered");j("\uFE0F","\\textregistered");j("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');j("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');j("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');j("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');j("\\vdots","{\\varvdots\\rule{0pt}{15pt}}");j("\u22EE","\\vdots");j("\\varGamma","\\mathit{\\Gamma}");j("\\varDelta","\\mathit{\\Delta}");j("\\varTheta","\\mathit{\\Theta}");j("\\varLambda","\\mathit{\\Lambda}");j("\\varXi","\\mathit{\\Xi}");j("\\varPi","\\mathit{\\Pi}");j("\\varSigma","\\mathit{\\Sigma}");j("\\varUpsilon","\\mathit{\\Upsilon}");j("\\varPhi","\\mathit{\\Phi}");j("\\varPsi","\\mathit{\\Psi}");j("\\varOmega","\\mathit{\\Omega}");j("\\substack","\\begin{subarray}{c}#1\\end{subarray}");j("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");j("\\boxed","\\fbox{$\\displaystyle{#1}$}");j("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");j("\\implies","\\DOTSB\\;\\Longrightarrow\\;");j("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");j("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}");j("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var D2e={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};j("\\dots",function(e){var n="\\dotso",t=e.expandAfterFuture().text;return t in D2e?n=D2e[t]:(t.slice(0,4)==="\\not"||t in Or.math&&Tt.contains(["bin","rel"],Or.math[t].group))&&(n="\\dotsb"),n});var wq={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};j("\\dotso",function(e){var n=e.future().text;return n in wq?"\\ldots\\,":"\\ldots"});j("\\dotsc",function(e){var n=e.future().text;return n in wq&&n!==","?"\\ldots\\,":"\\ldots"});j("\\cdots",function(e){var n=e.future().text;return n in wq?"\\@cdots\\,":"\\@cdots"});j("\\dotsb","\\cdots");j("\\dotsm","\\cdots");j("\\dotsi","\\!\\cdots");j("\\dotsx","\\ldots\\,");j("\\DOTSI","\\relax");j("\\DOTSB","\\relax");j("\\DOTSX","\\relax");j("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");j("\\,","\\tmspace+{3mu}{.1667em}");j("\\thinspace","\\,");j("\\>","\\mskip{4mu}");j("\\:","\\tmspace+{4mu}{.2222em}");j("\\medspace","\\:");j("\\;","\\tmspace+{5mu}{.2777em}");j("\\thickspace","\\;");j("\\!","\\tmspace-{3mu}{.1667em}");j("\\negthinspace","\\!");j("\\negmedspace","\\tmspace-{4mu}{.2222em}");j("\\negthickspace","\\tmspace-{5mu}{.277em}");j("\\enspace","\\kern.5em ");j("\\enskip","\\hskip.5em\\relax");j("\\quad","\\hskip1em\\relax");j("\\qquad","\\hskip2em\\relax");j("\\tag","\\@ifstar\\tag@literal\\tag@paren");j("\\tag@paren","\\tag@literal{({#1})}");j("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new tn("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});j("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");j("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");j("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");j("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");j("\\newline","\\\\\\relax");j("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var y2e=Tn(W0["Main-Regular"]["T".charCodeAt(0)][1]-.7*W0["Main-Regular"]["A".charCodeAt(0)][1]);j("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+y2e+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");j("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+y2e+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");j("\\hspace","\\@ifstar\\@hspacer\\@hspace");j("\\@hspace","\\hskip #1\\relax");j("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");j("\\ordinarycolon",":");j("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");j("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');j("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');j("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');j("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');j("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');j("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');j("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');j("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');j("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');j("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');j("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');j("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');j("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');j("\u2237","\\dblcolon");j("\u2239","\\eqcolon");j("\u2254","\\coloneqq");j("\u2255","\\eqqcolon");j("\u2A74","\\Coloneqq");j("\\ratio","\\vcentcolon");j("\\coloncolon","\\dblcolon");j("\\colonequals","\\coloneqq");j("\\coloncolonequals","\\Coloneqq");j("\\equalscolon","\\eqqcolon");j("\\equalscoloncolon","\\Eqqcolon");j("\\colonminus","\\coloneq");j("\\coloncolonminus","\\Coloneq");j("\\minuscolon","\\eqcolon");j("\\minuscoloncolon","\\Eqcolon");j("\\coloncolonapprox","\\Colonapprox");j("\\coloncolonsim","\\Colonsim");j("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");j("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");j("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");j("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");j("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}");j("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");j("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");j("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");j("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");j("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");j("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");j("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");j("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");j("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}");j("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}");j("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}");j("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}");j("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}");j("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}");j("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}");j("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}");j("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}");j("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}");j("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}");j("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}");j("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}");j("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}");j("\\imath","\\html@mathml{\\@imath}{\u0131}");j("\\jmath","\\html@mathml{\\@jmath}{\u0237}");j("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}");j("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}");j("\u27E6","\\llbracket");j("\u27E7","\\rrbracket");j("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}");j("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}");j("\u2983","\\lBrace");j("\u2984","\\rBrace");j("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`\u29B5}}");j("\u29B5","\\minuso");j("\\darr","\\downarrow");j("\\dArr","\\Downarrow");j("\\Darr","\\Downarrow");j("\\lang","\\langle");j("\\rang","\\rangle");j("\\uarr","\\uparrow");j("\\uArr","\\Uparrow");j("\\Uarr","\\Uparrow");j("\\N","\\mathbb{N}");j("\\R","\\mathbb{R}");j("\\Z","\\mathbb{Z}");j("\\alef","\\aleph");j("\\alefsym","\\aleph");j("\\Alpha","\\mathrm{A}");j("\\Beta","\\mathrm{B}");j("\\bull","\\bullet");j("\\Chi","\\mathrm{X}");j("\\clubs","\\clubsuit");j("\\cnums","\\mathbb{C}");j("\\Complex","\\mathbb{C}");j("\\Dagger","\\ddagger");j("\\diamonds","\\diamondsuit");j("\\empty","\\emptyset");j("\\Epsilon","\\mathrm{E}");j("\\Eta","\\mathrm{H}");j("\\exist","\\exists");j("\\harr","\\leftrightarrow");j("\\hArr","\\Leftrightarrow");j("\\Harr","\\Leftrightarrow");j("\\hearts","\\heartsuit");j("\\image","\\Im");j("\\infin","\\infty");j("\\Iota","\\mathrm{I}");j("\\isin","\\in");j("\\Kappa","\\mathrm{K}");j("\\larr","\\leftarrow");j("\\lArr","\\Leftarrow");j("\\Larr","\\Leftarrow");j("\\lrarr","\\leftrightarrow");j("\\lrArr","\\Leftrightarrow");j("\\Lrarr","\\Leftrightarrow");j("\\Mu","\\mathrm{M}");j("\\natnums","\\mathbb{N}");j("\\Nu","\\mathrm{N}");j("\\Omicron","\\mathrm{O}");j("\\plusmn","\\pm");j("\\rarr","\\rightarrow");j("\\rArr","\\Rightarrow");j("\\Rarr","\\Rightarrow");j("\\real","\\Re");j("\\reals","\\mathbb{R}");j("\\Reals","\\mathbb{R}");j("\\Rho","\\mathrm{P}");j("\\sdot","\\cdot");j("\\sect","\\S");j("\\spades","\\spadesuit");j("\\sub","\\subset");j("\\sube","\\subseteq");j("\\supe","\\supseteq");j("\\Tau","\\mathrm{T}");j("\\thetasym","\\vartheta");j("\\weierp","\\wp");j("\\Zeta","\\mathrm{Z}");j("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");j("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");j("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");j("\\bra","\\mathinner{\\langle{#1}|}");j("\\ket","\\mathinner{|{#1}\\rangle}");j("\\braket","\\mathinner{\\langle{#1}\\rangle}");j("\\Bra","\\left\\langle#1\\right|");j("\\Ket","\\left|#1\\right\\rangle");var b2e=e=>n=>{var t=n.consumeArg().tokens,a=n.consumeArg().tokens,r=n.consumeArg().tokens,o=n.consumeArg().tokens,i=n.macros.get("|"),u=n.macros.get("\\|");n.macros.beginGroup();var l=f=>v=>{e&&(v.macros.set("|",i),r.length&&v.macros.set("\\|",u));var m=f;if(!f&&r.length){var _=v.future();_.text==="|"&&(v.popToken(),m=!0)}return{tokens:m?r:a,numArgs:0}};n.macros.set("|",l(!1)),r.length&&n.macros.set("\\|",l(!0));var c=n.consumeArg().tokens,s=n.expandTokens([...o,...c,...t]);return n.macros.endGroup(),{tokens:s.reverse(),numArgs:0}};j("\\bra@ket",b2e(!1));j("\\bra@set",b2e(!0));j("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");j("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");j("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");j("\\angln","{\\angl n}");j("\\blue","\\textcolor{##6495ed}{#1}");j("\\orange","\\textcolor{##ffa500}{#1}");j("\\pink","\\textcolor{##ff00af}{#1}");j("\\red","\\textcolor{##df0030}{#1}");j("\\green","\\textcolor{##28ae7b}{#1}");j("\\gray","\\textcolor{gray}{#1}");j("\\purple","\\textcolor{##9d38bd}{#1}");j("\\blueA","\\textcolor{##ccfaff}{#1}");j("\\blueB","\\textcolor{##80f6ff}{#1}");j("\\blueC","\\textcolor{##63d9ea}{#1}");j("\\blueD","\\textcolor{##11accd}{#1}");j("\\blueE","\\textcolor{##0c7f99}{#1}");j("\\tealA","\\textcolor{##94fff5}{#1}");j("\\tealB","\\textcolor{##26edd5}{#1}");j("\\tealC","\\textcolor{##01d1c1}{#1}");j("\\tealD","\\textcolor{##01a995}{#1}");j("\\tealE","\\textcolor{##208170}{#1}");j("\\greenA","\\textcolor{##b6ffb0}{#1}");j("\\greenB","\\textcolor{##8af281}{#1}");j("\\greenC","\\textcolor{##74cf70}{#1}");j("\\greenD","\\textcolor{##1fab54}{#1}");j("\\greenE","\\textcolor{##0d923f}{#1}");j("\\goldA","\\textcolor{##ffd0a9}{#1}");j("\\goldB","\\textcolor{##ffbb71}{#1}");j("\\goldC","\\textcolor{##ff9c39}{#1}");j("\\goldD","\\textcolor{##e07d10}{#1}");j("\\goldE","\\textcolor{##a75a05}{#1}");j("\\redA","\\textcolor{##fca9a9}{#1}");j("\\redB","\\textcolor{##ff8482}{#1}");j("\\redC","\\textcolor{##f9685d}{#1}");j("\\redD","\\textcolor{##e84d39}{#1}");j("\\redE","\\textcolor{##bc2612}{#1}");j("\\maroonA","\\textcolor{##ffbde0}{#1}");j("\\maroonB","\\textcolor{##ff92c6}{#1}");j("\\maroonC","\\textcolor{##ed5fa6}{#1}");j("\\maroonD","\\textcolor{##ca337c}{#1}");j("\\maroonE","\\textcolor{##9e034e}{#1}");j("\\purpleA","\\textcolor{##ddd7ff}{#1}");j("\\purpleB","\\textcolor{##c6b9fc}{#1}");j("\\purpleC","\\textcolor{##aa87ff}{#1}");j("\\purpleD","\\textcolor{##7854ab}{#1}");j("\\purpleE","\\textcolor{##543b78}{#1}");j("\\mintA","\\textcolor{##f5f9e8}{#1}");j("\\mintB","\\textcolor{##edf2df}{#1}");j("\\mintC","\\textcolor{##e0e5cc}{#1}");j("\\grayA","\\textcolor{##f6f7f7}{#1}");j("\\grayB","\\textcolor{##f0f1f2}{#1}");j("\\grayC","\\textcolor{##e3e5e6}{#1}");j("\\grayD","\\textcolor{##d6d8da}{#1}");j("\\grayE","\\textcolor{##babec2}{#1}");j("\\grayF","\\textcolor{##888d93}{#1}");j("\\grayG","\\textcolor{##626569}{#1}");j("\\grayH","\\textcolor{##3b3e40}{#1}");j("\\grayI","\\textcolor{##21242c}{#1}");j("\\kaBlue","\\textcolor{##314453}{#1}");j("\\kaGreen","\\textcolor{##71B307}{#1}");var R2e={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},w2e=class{constructor(n,t,a){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=t,this.expansionCount=0,this.feed(n),this.macros=new h2e(qwn,t.macros),this.mode=a,this.stack=[]}feed(n){this.lexer=new bq(n,this.settings)}switchMode(n){this.mode=n}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(n){this.stack.push(n)}pushTokens(n){this.stack.push(...n)}scanArgument(n){var t,a,r;if(n){if(this.consumeSpaces(),this.future().text!=="[")return null;t=this.popToken(),{tokens:r,end:a}=this.consumeArg(["]"])}else({tokens:r,start:t,end:a}=this.consumeArg());return this.pushToken(new Xc("EOF",a.loc)),this.pushTokens(r),t.range(a,"")}consumeSpaces(){for(;;){var n=this.future();if(n.text===" ")this.stack.pop();else break}}consumeArg(n){var t=[],a=n&&n.length>0;a||this.consumeSpaces();var r=this.future(),o,i=0,u=0;do{if(o=this.popToken(),t.push(o),o.text==="{")++i;else if(o.text==="}"){if(--i,i===-1)throw new tn("Extra }",o)}else if(o.text==="EOF")throw new tn("Unexpected end of input in a macro argument, expected '"+(n&&a?n[u]:"}")+"'",o);if(n&&a)if((i===0||i===1&&n[u]==="{")&&o.text===n[u]){if(++u,u===n.length){t.splice(-u,u);break}}else u=0}while(i!==0||a);return r.text==="{"&&t[t.length-1].text==="}"&&(t.pop(),t.shift()),t.reverse(),{tokens:t,start:r,end:o}}consumeArgs(n,t){if(t){if(t.length!==n+1)throw new tn("The length of delimiters doesn't match the number of args!");for(var a=t[0],r=0;rthis.settings.maxExpand)throw new tn("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(n){var t=this.popToken(),a=t.text,r=t.noexpand?null:this._getExpansion(a);if(r==null||n&&r.unexpandable){if(n&&r==null&&a[0]==="\\"&&!this.isDefined(a))throw new tn("Undefined control sequence: "+a);return this.pushToken(t),!1}this.countExpansion(1);var o=r.tokens,i=this.consumeArgs(r.numArgs,r.delimiters);if(r.numArgs){o=o.slice();for(var u=o.length-1;u>=0;--u){var l=o[u];if(l.text==="#"){if(u===0)throw new tn("Incomplete placeholder at end of macro body",l);if(l=o[--u],l.text==="#")o.splice(u+1,1);else if(/^[1-9]$/.test(l.text))o.splice(u,2,...i[+l.text-1]);else throw new tn("Not a valid argument number",l)}}}return this.pushTokens(o),o.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var n=this.stack.pop();return n.treatAsRelax&&(n.text="\\relax"),n}throw new Error}expandMacro(n){return this.macros.has(n)?this.expandTokens([new Xc(n)]):void 0}expandTokens(n){var t=[],a=this.stack.length;for(this.pushTokens(n);this.stack.length>a;)if(this.expandOnce(!0)===!1){var r=this.stack.pop();r.treatAsRelax&&(r.noexpand=!1,r.treatAsRelax=!1),t.push(r)}return this.countExpansion(t.length),t}expandMacroAsText(n){var t=this.expandMacro(n);return t&&t.map(a=>a.text).join("")}_getExpansion(n){var t=this.macros.get(n);if(t==null)return t;if(n.length===1){var a=this.lexer.catcodes[n];if(a!=null&&a!==13)return}var r=typeof t=="function"?t(this):t;if(typeof r=="string"){var o=0;if(r.indexOf("#")!==-1)for(var i=r.replace(/##/g,"");i.indexOf("#"+(o+1))!==-1;)++o;for(var u=new bq(r,this.settings),l=[],c=u.lex();c.text!=="EOF";)l.push(c),c=u.lex();l.reverse();var s={tokens:l,numArgs:o};return s}return r}isDefined(n){return this.macros.has(n)||Qd.hasOwnProperty(n)||Or.math.hasOwnProperty(n)||Or.text.hasOwnProperty(n)||R2e.hasOwnProperty(n)}isExpandable(n){var t=this.macros.get(n);return t!=null?typeof t=="string"||typeof t=="function"||!t.unexpandable:Qd.hasOwnProperty(n)&&!Qd[n].primitive}},S2e=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,W5=Object.freeze({"\u208A":"+","\u208B":"-","\u208C":"=","\u208D":"(","\u208E":")","\u2080":"0","\u2081":"1","\u2082":"2","\u2083":"3","\u2084":"4","\u2085":"5","\u2086":"6","\u2087":"7","\u2088":"8","\u2089":"9","\u2090":"a","\u2091":"e","\u2095":"h","\u1D62":"i","\u2C7C":"j","\u2096":"k","\u2097":"l","\u2098":"m","\u2099":"n","\u2092":"o","\u209A":"p","\u1D63":"r","\u209B":"s","\u209C":"t","\u1D64":"u","\u1D65":"v","\u2093":"x","\u1D66":"\u03B2","\u1D67":"\u03B3","\u1D68":"\u03C1","\u1D69":"\u03D5","\u1D6A":"\u03C7","\u207A":"+","\u207B":"-","\u207C":"=","\u207D":"(","\u207E":")","\u2070":"0","\xB9":"1","\xB2":"2","\xB3":"3","\u2074":"4","\u2075":"5","\u2076":"6","\u2077":"7","\u2078":"8","\u2079":"9","\u1D2C":"A","\u1D2E":"B","\u1D30":"D","\u1D31":"E","\u1D33":"G","\u1D34":"H","\u1D35":"I","\u1D36":"J","\u1D37":"K","\u1D38":"L","\u1D39":"M","\u1D3A":"N","\u1D3C":"O","\u1D3E":"P","\u1D3F":"R","\u1D40":"T","\u1D41":"U","\u2C7D":"V","\u1D42":"W","\u1D43":"a","\u1D47":"b","\u1D9C":"c","\u1D48":"d","\u1D49":"e","\u1DA0":"f","\u1D4D":"g",\u02B0:"h","\u2071":"i",\u02B2:"j","\u1D4F":"k",\u02E1:"l","\u1D50":"m",\u207F:"n","\u1D52":"o","\u1D56":"p",\u02B3:"r",\u02E2:"s","\u1D57":"t","\u1D58":"u","\u1D5B":"v",\u02B7:"w",\u02E3:"x",\u02B8:"y","\u1DBB":"z","\u1D5D":"\u03B2","\u1D5E":"\u03B3","\u1D5F":"\u03B4","\u1D60":"\u03D5","\u1D61":"\u03C7","\u1DBF":"\u03B8"}),Sq={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030C":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030A":{text:"\\r",math:"\\mathring"},"\u030B":{text:"\\H"},"\u0327":{text:"\\c"}},E2e={\u00E1:"a\u0301",\u00E0:"a\u0300",\u00E4:"a\u0308",\u01DF:"a\u0308\u0304",\u00E3:"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C",\u00E2:"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304",\u00E5:"a\u030A",\u01FB:"a\u030A\u0301",\u1E03:"b\u0307",\u0107:"c\u0301",\u1E09:"c\u0327\u0301",\u010D:"c\u030C",\u0109:"c\u0302",\u010B:"c\u0307",\u00E7:"c\u0327",\u010F:"d\u030C",\u1E0B:"d\u0307",\u1E11:"d\u0327",\u00E9:"e\u0301",\u00E8:"e\u0300",\u00EB:"e\u0308",\u1EBD:"e\u0303",\u0113:"e\u0304",\u1E17:"e\u0304\u0301",\u1E15:"e\u0304\u0300",\u0115:"e\u0306",\u1E1D:"e\u0327\u0306",\u011B:"e\u030C",\u00EA:"e\u0302",\u1EBF:"e\u0302\u0301",\u1EC1:"e\u0302\u0300",\u1EC5:"e\u0302\u0303",\u0117:"e\u0307",\u0229:"e\u0327",\u1E1F:"f\u0307",\u01F5:"g\u0301",\u1E21:"g\u0304",\u011F:"g\u0306",\u01E7:"g\u030C",\u011D:"g\u0302",\u0121:"g\u0307",\u0123:"g\u0327",\u1E27:"h\u0308",\u021F:"h\u030C",\u0125:"h\u0302",\u1E23:"h\u0307",\u1E29:"h\u0327",\u00ED:"i\u0301",\u00EC:"i\u0300",\u00EF:"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C",\u00EE:"i\u0302",\u01F0:"j\u030C",\u0135:"j\u0302",\u1E31:"k\u0301",\u01E9:"k\u030C",\u0137:"k\u0327",\u013A:"l\u0301",\u013E:"l\u030C",\u013C:"l\u0327",\u1E3F:"m\u0301",\u1E41:"m\u0307",\u0144:"n\u0301",\u01F9:"n\u0300",\u00F1:"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u0146:"n\u0327",\u00F3:"o\u0301",\u00F2:"o\u0300",\u00F6:"o\u0308",\u022B:"o\u0308\u0304",\u00F5:"o\u0303",\u1E4D:"o\u0303\u0301",\u1E4F:"o\u0303\u0308",\u022D:"o\u0303\u0304",\u014D:"o\u0304",\u1E53:"o\u0304\u0301",\u1E51:"o\u0304\u0300",\u014F:"o\u0306",\u01D2:"o\u030C",\u00F4:"o\u0302",\u1ED1:"o\u0302\u0301",\u1ED3:"o\u0302\u0300",\u1ED7:"o\u0302\u0303",\u022F:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030B",\u1E55:"p\u0301",\u1E57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030C",\u1E59:"r\u0307",\u0157:"r\u0327",\u015B:"s\u0301",\u1E65:"s\u0301\u0307",\u0161:"s\u030C",\u1E67:"s\u030C\u0307",\u015D:"s\u0302",\u1E61:"s\u0307",\u015F:"s\u0327",\u1E97:"t\u0308",\u0165:"t\u030C",\u1E6B:"t\u0307",\u0163:"t\u0327",\u00FA:"u\u0301",\u00F9:"u\u0300",\u00FC:"u\u0308",\u01D8:"u\u0308\u0301",\u01DC:"u\u0308\u0300",\u01D6:"u\u0308\u0304",\u01DA:"u\u0308\u030C",\u0169:"u\u0303",\u1E79:"u\u0303\u0301",\u016B:"u\u0304",\u1E7B:"u\u0304\u0308",\u016D:"u\u0306",\u01D4:"u\u030C",\u00FB:"u\u0302",\u016F:"u\u030A",\u0171:"u\u030B",\u1E7D:"v\u0303",\u1E83:"w\u0301",\u1E81:"w\u0300",\u1E85:"w\u0308",\u0175:"w\u0302",\u1E87:"w\u0307",\u1E98:"w\u030A",\u1E8D:"x\u0308",\u1E8B:"x\u0307",\u00FD:"y\u0301",\u1EF3:"y\u0300",\u00FF:"y\u0308",\u1EF9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1E8F:"y\u0307",\u1E99:"y\u030A",\u017A:"z\u0301",\u017E:"z\u030C",\u1E91:"z\u0302",\u017C:"z\u0307",\u00C1:"A\u0301",\u00C0:"A\u0300",\u00C4:"A\u0308",\u01DE:"A\u0308\u0304",\u00C3:"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C",\u00C2:"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304",\u00C5:"A\u030A",\u01FA:"A\u030A\u0301",\u1E02:"B\u0307",\u0106:"C\u0301",\u1E08:"C\u0327\u0301",\u010C:"C\u030C",\u0108:"C\u0302",\u010A:"C\u0307",\u00C7:"C\u0327",\u010E:"D\u030C",\u1E0A:"D\u0307",\u1E10:"D\u0327",\u00C9:"E\u0301",\u00C8:"E\u0300",\u00CB:"E\u0308",\u1EBC:"E\u0303",\u0112:"E\u0304",\u1E16:"E\u0304\u0301",\u1E14:"E\u0304\u0300",\u0114:"E\u0306",\u1E1C:"E\u0327\u0306",\u011A:"E\u030C",\u00CA:"E\u0302",\u1EBE:"E\u0302\u0301",\u1EC0:"E\u0302\u0300",\u1EC4:"E\u0302\u0303",\u0116:"E\u0307",\u0228:"E\u0327",\u1E1E:"F\u0307",\u01F4:"G\u0301",\u1E20:"G\u0304",\u011E:"G\u0306",\u01E6:"G\u030C",\u011C:"G\u0302",\u0120:"G\u0307",\u0122:"G\u0327",\u1E26:"H\u0308",\u021E:"H\u030C",\u0124:"H\u0302",\u1E22:"H\u0307",\u1E28:"H\u0327",\u00CD:"I\u0301",\u00CC:"I\u0300",\u00CF:"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C",\u00CE:"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1E30:"K\u0301",\u01E8:"K\u030C",\u0136:"K\u0327",\u0139:"L\u0301",\u013D:"L\u030C",\u013B:"L\u0327",\u1E3E:"M\u0301",\u1E40:"M\u0307",\u0143:"N\u0301",\u01F8:"N\u0300",\u00D1:"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u0145:"N\u0327",\u00D3:"O\u0301",\u00D2:"O\u0300",\u00D6:"O\u0308",\u022A:"O\u0308\u0304",\u00D5:"O\u0303",\u1E4C:"O\u0303\u0301",\u1E4E:"O\u0303\u0308",\u022C:"O\u0303\u0304",\u014C:"O\u0304",\u1E52:"O\u0304\u0301",\u1E50:"O\u0304\u0300",\u014E:"O\u0306",\u01D1:"O\u030C",\u00D4:"O\u0302",\u1ED0:"O\u0302\u0301",\u1ED2:"O\u0302\u0300",\u1ED6:"O\u0302\u0303",\u022E:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030B",\u1E54:"P\u0301",\u1E56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030C",\u1E58:"R\u0307",\u0156:"R\u0327",\u015A:"S\u0301",\u1E64:"S\u0301\u0307",\u0160:"S\u030C",\u1E66:"S\u030C\u0307",\u015C:"S\u0302",\u1E60:"S\u0307",\u015E:"S\u0327",\u0164:"T\u030C",\u1E6A:"T\u0307",\u0162:"T\u0327",\u00DA:"U\u0301",\u00D9:"U\u0300",\u00DC:"U\u0308",\u01D7:"U\u0308\u0301",\u01DB:"U\u0308\u0300",\u01D5:"U\u0308\u0304",\u01D9:"U\u0308\u030C",\u0168:"U\u0303",\u1E78:"U\u0303\u0301",\u016A:"U\u0304",\u1E7A:"U\u0304\u0308",\u016C:"U\u0306",\u01D3:"U\u030C",\u00DB:"U\u0302",\u016E:"U\u030A",\u0170:"U\u030B",\u1E7C:"V\u0303",\u1E82:"W\u0301",\u1E80:"W\u0300",\u1E84:"W\u0308",\u0174:"W\u0302",\u1E86:"W\u0307",\u1E8C:"X\u0308",\u1E8A:"X\u0307",\u00DD:"Y\u0301",\u1EF2:"Y\u0300",\u0178:"Y\u0308",\u1EF8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1E8E:"Y\u0307",\u0179:"Z\u0301",\u017D:"Z\u030C",\u1E90:"Z\u0302",\u017B:"Z\u0307",\u03AC:"\u03B1\u0301",\u1F70:"\u03B1\u0300",\u1FB1:"\u03B1\u0304",\u1FB0:"\u03B1\u0306",\u03AD:"\u03B5\u0301",\u1F72:"\u03B5\u0300",\u03AE:"\u03B7\u0301",\u1F74:"\u03B7\u0300",\u03AF:"\u03B9\u0301",\u1F76:"\u03B9\u0300",\u03CA:"\u03B9\u0308",\u0390:"\u03B9\u0308\u0301",\u1FD2:"\u03B9\u0308\u0300",\u1FD1:"\u03B9\u0304",\u1FD0:"\u03B9\u0306",\u03CC:"\u03BF\u0301",\u1F78:"\u03BF\u0300",\u03CD:"\u03C5\u0301",\u1F7A:"\u03C5\u0300",\u03CB:"\u03C5\u0308",\u03B0:"\u03C5\u0308\u0301",\u1FE2:"\u03C5\u0308\u0300",\u1FE1:"\u03C5\u0304",\u1FE0:"\u03C5\u0306",\u03CE:"\u03C9\u0301",\u1F7C:"\u03C9\u0300",\u038E:"\u03A5\u0301",\u1FEA:"\u03A5\u0300",\u03AB:"\u03A5\u0308",\u1FE9:"\u03A5\u0304",\u1FE8:"\u03A5\u0306",\u038F:"\u03A9\u0301",\u1FFA:"\u03A9\u0300"},HT=class{constructor(n,t){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new w2e(n,t,this.mode),this.settings=t,this.leftrightDepth=0}expect(n,t){if(t===void 0&&(t=!0),this.fetch().text!==n)throw new tn("Expected '"+n+"', got '"+this.fetch().text+"'",this.fetch());t&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(n){this.mode=n,this.gullet.switchMode(n)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var n=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),n}finally{this.gullet.endGroups()}}subparse(n){var t=this.nextToken;this.consume(),this.gullet.pushToken(new Xc("}")),this.gullet.pushTokens(n);var a=this.parseExpression(!1);return this.expect("}"),this.nextToken=t,a}parseExpression(n,t){for(var a=[];;){this.mode==="math"&&this.consumeSpaces();var r=this.fetch();if(HT.endOfExpression.indexOf(r.text)!==-1||t&&r.text===t||n&&Qd[r.text]&&Qd[r.text].infix)break;var o=this.parseAtom(t);if(o){if(o.type==="internal")continue}else break;a.push(o)}return this.mode==="text"&&this.formLigatures(a),this.handleInfixNodes(a)}handleInfixNodes(n){for(var t=-1,a,r=0;r=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',n);var u=Or[this.mode][t].group,l=Kl.range(n),c;if(NRn.hasOwnProperty(u)){var s=u;c={type:"atom",mode:this.mode,family:s,loc:l,text:t}}else c={type:u,mode:this.mode,loc:l,text:t};i=c}else if(t.charCodeAt(0)>=128)this.settings.strict&&(KTe(t.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+t[0]+'" used in math mode',n):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+t[0]+'"'+(" ("+t.charCodeAt(0)+")"),n)),i={type:"textord",mode:"text",loc:Kl.range(n),text:t};else return null;if(this.consume(),o)for(var f=0;f":""))+")"})}return v;function v(){let m=F2e,_,R,D;if((!n||o(l,c,s[s.length-1]||void 0))&&(m=tSn(t(l,s)),m[0]===Tq))return m;if("children"in l&&l.children){let y=l;if(y.children&&m[0]!==$5)for(R=(a?y.children.length:-1)+i,D=s.concat(y);R>-1&&R0&&!t&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),t}var pSn={tokenize:bSn,partial:!0};function Lq(){return{document:{[91]:{tokenize:gSn,continuation:{tokenize:DSn},exit:ySn}},text:{[91]:{tokenize:hSn},[93]:{add:"after",tokenize:_Sn,resolveTo:dSn}}}}function _Sn(e,n,t){let a=this,r=a.events.length,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]),i;for(;r--;){let l=a.events[r][1];if(l.type==="labelImage"){i=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return u;function u(l){if(!i||!i._balanced)return t(l);let c=zu(a.sliceSerialize({start:i.end,end:a.now()}));return c.charCodeAt(0)!==94||!o.includes(c.slice(1))?t(l):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),n(l))}}function dSn(e,n){let t=e.length,a;for(;t--;)if(e[t][1].type==="labelImage"&&e[t][0]==="enter"){a=e[t][1];break}e[t+1][1].type="data",e[t+3][1].type="gfmFootnoteCallLabelMarker";let r={type:"gfmFootnoteCall",start:Object.assign({},e[t+3][1].start),end:Object.assign({},e[e.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},e[t+3][1].end),end:Object.assign({},e[t+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;let i={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},e[e.length-1][1].start)},u={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},l=[e[t+1],e[t+2],["enter",r,n],e[t+3],e[t+4],["enter",o,n],["exit",o,n],["enter",i,n],["enter",u,n],["exit",u,n],["exit",i,n],e[e.length-2],e[e.length-1],["exit",r,n]];return e.splice(t,e.length-t+1,...l),e}function hSn(e,n,t){let a=this,r=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]),o=0,i;return u;function u(v){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(v),e.exit("gfmFootnoteCallLabelMarker"),l}function l(v){return v!==94?t(v):(e.enter("gfmFootnoteCallMarker"),e.consume(v),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(v){let m;return v===null||v===91||o++>999?t(v):v===93?i?(e.exit("chunkString"),m=e.exit("gfmFootnoteCallString"),r.includes(zu(a.sliceSerialize(m)))?f(v):t(v)):t(v):(e.consume(v),Za(v)||(i=!0),v===92?s:c)}function s(v){return v===91||v===92||v===93?(e.consume(v),o++,c):c(v)}function f(v){return e.enter("gfmFootnoteCallLabelMarker"),e.consume(v),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),n}}function gSn(e,n,t){let a=this,r=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]),o,i=0,u;return l;function l(R){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(R),e.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(R){return R===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(R),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),s):t(R)}function s(R){let D;return R===null||R===91||i>999?t(R):R===93?u?(D=e.exit("gfmFootnoteDefinitionLabelString"),o=zu(a.sliceSerialize(D)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(R),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),m):t(R):Nn(R)?(e.enter("lineEnding"),e.consume(R),e.exit("lineEnding"),i++,s):(e.enter("chunkString").contentType="string",f(R))}function f(R){return R===null||Nn(R)||R===91||R===93||i>999?(e.exit("chunkString"),s(R)):(Za(R)||(u=!0),i++,e.consume(R),R===92?v:f)}function v(R){return R===91||R===92||R===93?(e.consume(R),i++,f):f(R)}function m(R){return R===58?(e.enter("definitionMarker"),e.consume(R),e.exit("definitionMarker"),At(e,_,"gfmFootnoteDefinitionWhitespace")):t(R)}function _(R){return r.includes(o)||r.push(o),n(R)}}function DSn(e,n,t){return e.check(B0,n,e.attempt(pSn,n,t))}function ySn(e){e.exit("gfmFootnoteDefinition")}function bSn(e,n,t){let a=this;return At(e,r,"gfmFootnoteDefinitionIndent",4+1);function r(o){let i=a.events[a.events.length-1];return i&&i[1].type==="gfmFootnoteDefinitionIndent"&&i[2].sliceSerialize(i[1],!0).length===4?n(o):t(o)}}function jq(e={}){let n=e.singleTilde,t={tokenize:r,resolveAll:a};return n==null&&(n=!0),{text:{[126]:t},insideSpan:{null:[t]},attentionMarkers:{null:[126]}};function a(o,i){let u=-1;for(;++u1?u(m):(o.consume(m),s++,v);if(s<2&&!n)return u(m);let R=o.exit("strikethroughSequenceTemporary"),D=IR(m);return R._open=!D||D===2&&Boolean(_),R._close=!_||_===2&&Boolean(D),i(m)}}}var Nq={flow:{null:{tokenize:wSn,resolve:RSn}}},U2e={tokenize:SSn,partial:!0};function RSn(e,n){let t=-1,a,r,o,i,u,l,c;for(;++t=4?Ve(q):(a._gfmTableDynamicInterruptHack=!0,ie.check(a.parser.constructs.flow,function(ne){return a._gfmTableDynamicInterruptHack=!1,Ve(ne)},function(ne){return a._gfmTableDynamicInterruptHack=!1,jn(ne)})(q))}}}function SSn(e,n,t){let a=0;return r;function r(i){return e.enter("check"),e.consume(i),o}function o(i){return i===-1||i===32?(e.consume(i),a++,a===4?n:o):i===null||Za(i)?n(i):t(i)}}var ESn={tokenize:CSn},Pq={text:{[91]:ESn}};function CSn(e,n,t){let a=this;return r;function r(u){return a.previous!==null||!a._gfmTasklistFirstContentOfListItem?t(u):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),o)}function o(u){return Za(u)?(e.enter("taskListCheckValueUnchecked"),e.consume(u),e.exit("taskListCheckValueUnchecked"),i):u===88||u===120?(e.enter("taskListCheckValueChecked"),e.consume(u),e.exit("taskListCheckValueChecked"),i):t(u)}function i(u){return u===93?(e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),e.check({tokenize:ISn},n,t)):t(u)}}function ISn(e,n,t){let a=this;return At(e,r,"whitespace");function r(o){let i=a.events[a.events.length-1];return(i&&i[1].type==="whitespace"||Nn(o))&&o!==null?n(o):t(o)}}function H2e(e){return G7([Mq,Lq(),jq(e),Nq,Pq])}function kq(e,n){let t=String(e);if(typeof n!="string")throw new TypeError("Expected character");let a=0,r=t.indexOf(n);for(;r!==-1;)a++,r=t.indexOf(n,r+n.length);return a}function Oq(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var TSn={}.hasOwnProperty,Uq=function(e,n,t,a){let r,o;typeof n=="string"||n instanceof RegExp?(o=[[n,t]],r=a):(o=n,r=t),r||(r={});let i=MT(r.ignore||[]),u=FSn(o),l=-1;for(;++l0?{type:"text",value:O}:void 0),O!==!1&&(D!==P&&G.push({type:"text",value:f.value.slice(D,P)}),Array.isArray(O)?G.push(...O):O&&G.push(O),D=P+k[0].length,S=!0),!_.global)break;k=_.exec(f.value)}return S?(De}var Hq="phrasing",Bq=["autolink","link","image","label"],Jq={transforms:[jSn],enter:{literalAutolink:MSn,literalAutolinkEmail:qq,literalAutolinkHttp:qq,literalAutolinkWww:qq},exit:{literalAutolink:LSn,literalAutolinkEmail:xSn,literalAutolinkHttp:GSn,literalAutolinkWww:ASn}},Wq={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Hq,notInConstruct:Bq},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Hq,notInConstruct:Bq},{character:":",before:"[ps]",after:"\\/",inConstruct:Hq,notInConstruct:Bq}]};function MSn(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function qq(e){this.config.enter.autolinkProtocol.call(this,e)}function GSn(e){this.config.exit.autolinkProtocol.call(this,e)}function ASn(e){this.config.exit.data.call(this,e);let n=this.stack[this.stack.length-1];n.url="http://"+this.sliceSerialize(e)}function xSn(e){this.config.exit.autolinkEmail.call(this,e)}function LSn(e){this.exit(e)}function jSn(e){Uq(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,NSn],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,PSn]],{ignore:["link","linkReference"]})}function NSn(e,n,t,a,r){let o="";if(!W2e(r)||(/^w/i.test(n)&&(t=n+t,n="",o="http://"),!kSn(t)))return!1;let i=OSn(t+a);if(!i[0])return!1;let u={type:"link",title:null,url:o+n+i[0],children:[{type:"text",value:n+i[0]}]};return i[1]?[u,{type:"text",value:i[1]}]:u}function PSn(e,n,t,a){return!W2e(a,!0)||/[-\d_]$/.test(t)?!1:{type:"link",title:null,url:"mailto:"+n+"@"+t,children:[{type:"text",value:n+"@"+t}]}}function kSn(e){let n=e.split(".");return!(n.length<2||n[n.length-1]&&(/_/.test(n[n.length-1])||!/[a-zA-Z\d]/.test(n[n.length-1]))||n[n.length-2]&&(/_/.test(n[n.length-2])||!/[a-zA-Z\d]/.test(n[n.length-2])))}function OSn(e){let n=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!n)return[e,void 0];e=e.slice(0,n.index);let t=n[0],a=t.indexOf(")"),r=kq(e,"("),o=kq(e,")");for(;a!==-1&&r>o;)e+=t.slice(0,a+1),t=t.slice(a+1),a=t.indexOf(")"),o++;return[e,t]}function W2e(e,n){let t=e.input.charCodeAt(e.index-1);return(e.index===0||yD(t)||bD(t))&&(!n||t!==47)}function zq(e){return e.label||!e.identifier?e.label||"":B7(e.identifier)}function q2e(e,n,t){let a=n.indexStack,r=e.children||[],o=n.createTracker(t),i=[],u=-1;for(a.push(-1);++u `}return` `}var HSn=/\r?\n|\r/g;function z2e(e,n){let t=[],a=0,r=0,o;for(;o=HSn.exec(e);)i(e.slice(a,o.index)),t.push(o[0]),a=o.index+o[0].length,r++;return i(e.slice(a)),t.join("");function i(u){t.push(n(u,r,!u))}}function Q5(e){if(!e._compiled){let n=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=new RegExp((n?"("+n+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}function $2e(e,n){return V2e(e,n.inConstruct,!0)&&!V2e(e,n.notInConstruct,!1)}function V2e(e,n,t){if(typeof n=="string"&&(n=[n]),!n||n.length===0)return t;let a=-1;for(;++a=c||s+10?" ":"")),r.shift(4),o+=r.move(z2e(q2e(e,t,r.current()),KSn)),i(),o}function KSn(e,n,t){return n===0?e:(t?"":" ")+e}function Y5(e,n,t){let a=n.indexStack,r=e.children||[],o=[],i=-1,u=t.before;a.push(-1);let l=n.createTracker(t);for(;++i0&&(u==="\r"||u===` `)&&c.type==="html"&&(o[o.length-1]=o[o.length-1].replace(/(\r?\n|\r)$/," "),u=" ",l=n.createTracker(t),l.move(o.join(""))),o.push(l.move(n.handle(c,e,n,ri(ja({},l.current()),{before:u,after:s})))),u=o[o.length-1].slice(-1)}return a.pop(),o.join("")}var eEn=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];X2e.peek=aEn;var Yq={canContainEols:["delete"],enter:{strikethrough:nEn},exit:{strikethrough:tEn}},Xq={unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:eEn}],handlers:{delete:X2e}};function nEn(e){this.enter({type:"delete",children:[]},e)}function tEn(e){this.exit(e)}function X2e(e,n,t,a){let r=GD(a),o=t.enter("strikethrough"),i=r.move("~~");return i+=Y5(e,t,ri(ja({},r.current()),{before:i,after:"~"})),i+=r.move("~~"),o(),i}function aEn(){return"~"}Zq.peek=rEn;function Zq(e,n,t){let a=e.value||"",r="`",o=-1;for(;new RegExp("(^|[^`])"+r+"([^`]|$)").test(a);)r+="`";for(/[^ \r\n]/.test(a)&&(/^[ \r\n]/.test(a)&&/[ \r\n]$/.test(a)||/^`|`$/.test(a))&&(a=" "+a+" ");++ol&&(l=e[c].length);++Du[D])&&(u[D]=S)}_.push(y)}o[c]=_,i[c]=R}let s=-1;if(typeof t=="object"&&"length"in t)for(;++su[s]&&(u[s]=y),v[s]=y),f[s]=S}o.splice(1,0,f),i.splice(1,0,v),c=-1;let m=[];for(;++ct==="none"?null:t),children:[]},e),this.setData("inTable",!0)}function lEn(e){this.exit(e),this.setData("inTable")}function cEn(e){this.enter({type:"tableRow",children:[]},e)}function ez(e){this.exit(e)}function eMe(e){this.enter({type:"tableCell",children:[]},e)}function sEn(e){let n=this.resume();this.getData("inTable")&&(n=n.replace(/\\([\\|])/g,fEn));let t=this.stack[this.stack.length-1];t.value=n,this.exit(e)}function fEn(e,n){return n==="|"?n:e}function nz(e){let n=e||{},t=n.tableCellPadding,a=n.tablePipeAlign,r=n.stringLength,o=t?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:` `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:i,tableRow:u,tableCell:l,inlineCode:v}};function i(m,_,R,D){return c(s(m,R,D),m.align)}function u(m,_,R,D){let y=f(m,R,D),S=c([y]);return S.slice(0,S.indexOf(` `))}function l(m,_,R,D){let y=R.enter("tableCell"),S=R.enter("phrasing"),G=Y5(m,R,ri(ja({},D),{before:o,after:o}));return S(),y(),G}function c(m,_){return Z2e(m,{align:_,alignDelimiters:a,padding:t,stringLength:r})}function s(m,_,R){let D=m.children,y=-1,S=[],G=_.enter("table");for(;++y-1?n.start:1)+(t.options.incrementListMarker===!1?0:n.children.indexOf(e))+o);let i=o.length+1;(r==="tab"||r==="mixed"&&(n&&n.type==="list"&&n.spread||e.spread))&&(i=Math.ceil(i/4)*4);let u=t.createTracker(a);u.move(o+" ".repeat(i-o.length)),u.shift(i);let l=t.enter("listItem"),c=t.indentLines(t.containerFlow(e,u.current()),s);return l(),c;function s(f,v,m){return v?(m?"":" ".repeat(i))+f:(m?o:o+" ".repeat(i-o.length))+f}}var tz={exit:{taskListCheckValueChecked:rMe,taskListCheckValueUnchecked:rMe,paragraph:vEn}},az={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:mEn}};function rMe(e){let n=this.stack[this.stack.length-2];n.checked=e.type==="taskListCheckValueChecked"}function vEn(e){let n=this.stack[this.stack.length-2];if(n&&n.type==="listItem"&&typeof n.checked=="boolean"){let t=this.stack[this.stack.length-1],a=t.children[0];if(a&&a.type==="text"){let r=n.children,o=-1,i;for(;++oi&&(i=o):o=1,r=a+n.length,a=t.indexOf(n,r);return i}function iz(){return{enter:{mathFlow:e,mathFlowFenceMeta:n,mathText:o},exit:{mathFlow:r,mathFlowFence:a,mathFlowFenceMeta:t,mathFlowValue:u,mathText:i,mathTextData:u}};function e(l){let c={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[c]}},l)}function n(){this.buffer()}function t(){let l=this.resume(),c=this.stack[this.stack.length-1];UR(c.type==="math"),c.meta=l}function a(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function r(l){let c=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),s=this.stack[this.stack.length-1];UR(s.type==="math"),this.exit(l),s.value=c;let f=s.data.hChildren[0];UR(f.type==="element"),UR(f.tagName==="code"),f.children.push({type:"text",value:c}),this.data.mathFlowInside=void 0}function o(l){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},l),this.buffer()}function i(l){let c=this.resume(),s=this.stack[this.stack.length-1];UR(s.type==="inlineMath"),this.exit(l),s.value=c,s.data.hChildren.push({type:"text",value:c})}function u(l){this.config.enter.data.call(this,l),this.config.exit.data.call(this,l)}}function uz(e){let n=(e||{}).singleDollarTextMath;return n==null&&(n=!0),a.peek=r,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:` `,inConstruct:"mathFlowMeta"},{character:"$",after:n?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:t,inlineMath:a}};function t(o,i,u,l){let c=o.value||"",s=u.createTracker(l),f="$".repeat(Math.max(oMe(c,"$")+1,2)),v=u.enter("mathFlow"),m=s.move(f);if(o.meta){let _=u.enter("mathFlowMeta");m+=s.move(u.safe(o.meta,ja({after:` `,before:m,encode:["$"]},s.current()))),_()}return m+=s.move(` `),c&&(m+=s.move(c+` `)),m+=s.move(f),v(),m}function a(o,i,u){let l=o.value||"",c=1;for(n||c++;new RegExp("(^|[^$])"+"\\$".repeat(c)+"([^$]|$)").test(l);)c++;let s="$".repeat(c);/[^ \r\n]/.test(l)&&(/^[ \r\n]/.test(l)&&/[ \r\n]$/.test(l)||/^\$|\$$/.test(l))&&(l=" "+l+" ");let f=-1;for(;++f-1&&e.test(String.fromCharCode(t))}}function BT(e,n,t,a){let r=a?a-1:Number.POSITIVE_INFINITY,o=0;return i;function i(l){return lz(l)?(e.enter(t),u(l)):n(l)}function u(l){return lz(l)&&o++React.createElement("table",{className:"table table-bordered table-sm",children:e.children}),sMe=[Z5,{singleDollarTextMath:!1}],fMe=[V5,{throwOnError:!1}];var vMe=e=>{try{return m5(e)}catch{return e.fallback}};Wt();var mMe=class extends wt.Component{constructor(n){super(n);this.state={error:null}}static getDerivedStateFromError(n){return{error:n}}componentDidCatch(n,t){this.props.componentDidCatch(n,t)}render(){return this.props.render(this.state)}},pMe=mMe;var DEn=gs(),yEn=z(Kt);var bEn=function(){return function(){return DEn(pMe)}},REn=bEn()(),_Me=function(e){return REn({render:function(n){return e({hasError:gt(ee(n.error))})},componentDidCatch:function(n,t){return Lo(Qo)("Error within error boundary")({error:n,componentStack:t.componentStack})(function(a){return yEn(Ce)})()}})};var wEn=gs(),SEn=Ye(ca),EEn=function(e){return function(n){var t=US(e);return _Me(function(a){return a.hasError?t:wEn(vMe)({children:e,rehypePlugins:SEn([fMe])(n),remarkPlugins:[X5,sMe],components:{table:cMe},fallback:t})})}},dMe=function(e){return EEn(e)([])};var CEn=_e(xt(va)),sz=B(ae),IEn=B(W),TEn=Ct(ae)()(),FEn=An(_t),MEn=en(ae),fz=function(e){return fo(D3(e.key)("false"))(function(n){return function(t){return vn(CEn(n)(new d("false")))(sz("alert rounded-0 bg-light")(IEn("row")([sz("col")(e.label),sz("col-auto")(TEn("btn btn-sm p-0")({onClick:FEn(t)("true")})(MEn("fe fe-x")(un)))])))}})};var vz=B(ae),hMe=Ua(vr(ea)),GEn=oa(Te)(ft),AEn=B(L),xEn=j0(),gMe=_e(xt(EJ)),LEn=Ct(ae)()(),jEn=la(pr),NEn=z(Kt),DMe=en(L),K5=B(W),PEn=N(ge),kEn=um(),OEn=_i(ae)()(),UEn=xa(L)()(),yMe=ov(),HEn=Yn(W)()(),BEn=Z(ge),JEn=Yn(L)()(),mz=function(e){var n=e.chatMessage(ae),t=e.chatMessage(W),a=n(e.chatbotAvatar),r=function(){var c=function(){var s=vz("my-auto t--ai-chatbot-ai-welcome-message");return function(f){return a(s(f))}}();return function(s){if(hMe(Ti)(e.bannedReason))return c(Y(GEn(["The service is not available for the following reason: ",e.bannedReason,". Please try again later or email ",uk," for more information."])));if(s instanceof C)return un;if(s instanceof d)return c(s.value0);throw new Error("Failed pattern match at Vinai.ChatbotPage.Conversation (line 169, column 26 - line 178, column 24): "+[s.constructor.name])}}(),o=a(vz("my-auto")(R7)),i=function(c){return a(AEn("my-auto text-danger")(function(){if(c instanceof C)return"Something went wrong. Try resending your message.";if(c instanceof d)return c.value0;throw new Error("Failed pattern match at Vinai.ChatbotPage.Conversation (line 186, column 11 - line 188, column 34): "+[c.constructor.name])}()))},u=xEn({source:function(){return e.user instanceof d&&e.user.value0.avatarUrl instanceof d?new wu({url:e.user.value0.avatarUrl.value0}):e.user instanceof d&&e.user.value0.initials instanceof d?new Yg({initials:e.user.value0.initials.value0,backgroundColorClass:C.value,textColorClass:C.value}):new wu({url:gg("/img/smiley-grey.svg")})}(),size:$b.value}),l=function(c){var s=function(m){return function(_){return m instanceof Ev&&gMe(_)(new d(m))||m instanceof nf&&gMe(_)(new d(m))?"text-primary bg-soft-primary":"text-gray-700"}},f=function(m){return function(_){return function(R){return function(D){return LEn("btn btn-link p-2 large d-flex align-items-center mr-2 "+s(m)(_))({onClick:jEn(function(){if(c.id instanceof C)return NEn(Ce);if(c.id instanceof d&&m instanceof Ev&&_ instanceof d&&_.value0 instanceof Ev)return function(){return R(C.value)(),D({messageId:c.id.value0,reaction:C.value})()};if(c.id instanceof d&&m instanceof nf&&_ instanceof d&&_.value0 instanceof nf)return function(){return R(C.value)(),D({messageId:c.id.value0,reaction:C.value})()};if(c.id instanceof d&&m instanceof Ev)return function(){return R(new d(Ev.value))(),D({messageId:c.id.value0,reaction:new d(Ev.value)})()};if(c.id instanceof d&&m instanceof nf)return function(){return R(new d(nf.value))(),D({messageId:c.id.value0,reaction:new d(nf.value)})()};throw new Error("Failed pattern match at Vinai.ChatbotPage.Conversation (line 142, column 17 - line 156, column 76): "+[c.id.constructor.name,m.constructor.name,_.constructor.name])}())})(DMe("material-symbol")(function(){if(m instanceof Ev)return"thumb_up";if(m instanceof nf)return"thumb_down";throw new Error("Failed pattern match at Vinai.ChatbotPage.Conversation (line 159, column 15 - line 161, column 43): "+[m.constructor.name])}()))}}}};if(c.sender instanceof gD)return n(u)(K5("t--ai-chatbot-user-message")(ph(_M(""))(PEn(DMe(""))(Ii(kEn(` `))(c.body)))));if(c.sender instanceof bT){var v=OEn({placement:rpe,overlay:Y(T1e(c))})(e.chatbotAvatar);return t(v)([vz("my-auto t--ai-chatbot-ai-message "+("t--ai-chatbot-ai-message-"+Ee("")(c.id)))(dMe(c.body)),Je(e.onReaction)(function(m){return fo(sa(C.value))(function(_){return function(R){return K5("d-flex mt-3")([f(Ev.value)(_)(R)(m),f(nf.value)(_)(R)(m)])}})})])}throw new Error("Failed pattern match at Vinai.ChatbotPage.Conversation (line 111, column 7 - line 135, column 36): "+[c.sender.constructor.name])};return K5("flex-grow-1 d-flex flex-column overflow-y-auto p-0")([vn(e.showAddStudentProfileBanner)(fz({key:"ai-no-profile-banner-dismissed",label:ce([Y("For more personalized responses "),UEn("")({href:e.chancingWizardPath})("add a student profile"),Y(".")])})),vn(e.showLogInBanner)(fz({key:"ai-anonymous-banner-dismissed",label:ce([Y("For more personalized responses "),yMe({text:"log in",className:"btn btn-link p-0 align-baseline"}),Y(" or "),yMe({text:"sign up",className:"btn btn-link p-0 align-baseline",auth0ActiveTab:rv}),Y(".")])})),HEn("flex-grow-1 d-flex flex-column")({id:"chat-conversation"})([K5("flex-grow-1 px-3")([r(e.welcomeMessage),function(){return e.chatbotState instanceof d&&hMe(Si)(e.chatbotState.value0.messages)?ce(BEn(e.chatbotState.value0.messages)(l)):un}(),function(){if(e.messageSendingState instanceof dp)return o;if(e.messageSendingState instanceof Yc)return l(xJ(e.messageSendingState.value0));if(e.messageSendingState instanceof _p)return un;if(e.messageSendingState instanceof Iv)return un;if(e.messageSendingState instanceof H0)return i(e.messageSendingState.value0);throw new Error("Failed pattern match at Vinai.ChatbotPage.Conversation (line 92, column 9 - line 103, column 45): "+[e.messageSendingState.constructor.name])}()]),ma(e.footer),JEn("")({id:"chat-anchor",style:fn({overflowAnchor:"auto",height:"1px"})})("")])])};function e6(e){return function(){document.getElementById(e).scrollIntoView()}}var pz=function(e){return Oe(Iv.value)(function(n){return n.sendingState})(e)};var KEn=N(J),eCn=wJ(),nCn=Ua(vr(ea)),tCn=B(W),_z=B(ae),aCn=Yn(W)()(),n6=z(pt),rCn=K(qt),bMe=Gi(Vt),oCn=Dr(bMe),RMe=xr(bMe),wMe=Bn(Mn)(qt),iCn=To(pt),uCn=Kr(tt),lCn=z(na),cCn=K(Pt),SMe=Jn(tt),sCn=N(Vt),JT=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),EMe=function(){function e(n,t,a){this.value0=n,this.value1=t,this.value2=a}return e.create=function(n){return function(t){return function(a){return new e(n,t,a)}}},e}(),t6=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),fCn=function(e){return function(n){return function(t){return mz({bannedReason:e.bannedReason,chancingWizardPath:"",chatbotState:n.chatbot,footer:C.value,messageSendingState:pz(n.chatbot),onReaction:C.value,showAddStudentProfileBanner:!1,showLogInBanner:!1,user:e.user,welcomeMessage:KEn(Y)(e.welcomeMessage),chatMessage:function(a){return t(a)},chatbotAvatar:e.chatbotAvatar})}}},vCn=function(e){return function(n){return function(t){return eCn({placeholder:"Message\u2026",sendButtonStatus:function(){var a=nCn(Ti)(e.bannedReason);if(a)return hD.value;var r=pz(n.chatbot);if(r instanceof Iv)return Nd.value;if(r instanceof _p)return Pd.value;if(r instanceof dp)return Pd.value;if(r instanceof Yc)return Pd.value;var o=function(i){if(r instanceof H0&&xe)return hD.value;throw new Error("Failed pattern match at Vinai.ChatbotWidget (line 149, column 1 - line 149, column 72): "+[r.constructor.name])};return r instanceof H0&&r.value0 instanceof C?Nd.value:o(!0)}()})(n.authorChatMessage)(function(a){return t(t6.create(a))})}}},mCn=function(e){return function(n){return function(t){var a=function(){return n.authorChatMessage.messageHeight instanceof d&&n.authorChatMessage.messageHeight.value0>40?"rounded-lg":"rounded-pill"}(),r=function(o){var i=B(o);return function(u){return function(l){return tCn("d-flex justify-content-end mb-4")([_z("d-flex align-self-start bg-white rounded-pill shadow pointer-events-auto mx-3 mt-1")(u),i("d-flex border border-gray-500 bg-white rounded-lg p-3 shadow pointer-events-auto")(l)])}}};return aCn("t--floating-chatbot pointer-events-none flex-grow-1 d-flex flex-column")({style:fn({position:"fixed",right:"0",bottom:"0",width:"400px",maxWidth:"100%",maxHeight:"75vh"})})([fCn(e)(n)(function(o){return r(o)}),_z("pb-3 px-3 border-0")(_z("d-flex w-100 border border-gray-500 m-0 p-2 bg-white shadow pointer-events-auto "+a)(vCn(e)(n)(t)))])}}},pCn=function(e){return function(n){return function(t){var a=function(r){if(t instanceof JT)return n6(n);if(t instanceof EMe)return rCn(oCn(JT.create)(jJ({initialMessageBody:new d(t.value1),messages:[{sender:gD.value,body:t.value1,sentAt:t.value0,id:C.value}],receiveChannelName:t.value2.pusherChannel,sendMessage:e.sendMessage(t.value2.conversationId)})))(function(o){return n6({authorChatMessage:n.authorChatMessage,chatbot:new d(o)})});if(t instanceof t6&&t.value0 instanceof at)return RMe(t6.create)(function(o){return{chatbot:n.chatbot,authorChatMessage:o}})(RJ(n.authorChatMessage)(t.value0));if(t instanceof t6&&t.value0 instanceof Qt)return wMe(iCn(Ti(e.bannedReason))(uCn(function(){if(n.chatbot instanceof d)return lCn(new JT(new F7(t.value0.value0.value0)));if(n.chatbot instanceof C)return cCn(SMe(Kh))(function(o){return sCn(EMe.create(o)(t.value0.value0.value0))(e.createConversation(Ce))});throw new Error("Failed pattern match at Vinai.ChatbotWidget (line 94, column 9 - line 99, column 79): "+[n.chatbot.constructor.name])}())))(function(){return n6({chatbot:n.chatbot,authorChatMessage:S7})});throw new Error("Failed pattern match at Vinai.ChatbotWidget (line 58, column 1 - line 58, column 64): "+[t.constructor.name])};return t instanceof JT&&n.chatbot instanceof d?wMe(mr(SMe(e6("chat-anchor"))))(function(){return RMe(JT.create)(function(r){return{authorChatMessage:n.authorChatMessage,chatbot:new d(r)}})(LJ(n.chatbot.value0)(t.value0))}):a(!0)}}},_Cn=function(){return{authorChatMessage:S7,chatbot:C.value}}(),CMe=function(e){return tl("FloatingChatbot"+e)(function(n){return{init:n6(_Cn),view:mCn(n),update:pCn(n)}})};var dz=K(Le),dCn=z(On),IMe=Z(J),hCn=Bn(Mn),gCn=To(Kt),DCn=Jn(ps),yCn=yi(J),TMe=mt(Le),bCn=B(W),FMe=B(ae),hz=on(),a6=z(pt),MMe=Gi(Vt),gz=xr(MMe),RCn=hCn(qt),wCn=Kr(tt),SCn=z(na),GMe=K(qt),Dz=Dr(MMe),ECn=Jv(pt)(Te),CCn=_e(xt(dc)),yz=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),r6=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),HR=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),bz=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Xd=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Rz=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),o6=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),wz=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),AMe=function(e){return function(n){return function(t){return function(a){var r=dz(n.recommendedSchools)(function(y){return dCn(h7({recommendedSchools:y,school:e.school,onViewSchool:e.onViewSchool}))}),o=a(new Qt(new wz(QP.value))),i=a(new Qt(new Xd(new H_(ua(e.school))))),u=function(y){return a(new Qt(new Xd(new P_(ua(e.school),y))))},l=function(){a(new Qt(new Xd(new O_(ua(e.school)))))();var S=IMe(dz(_o(e.schoolDb.schoolConnections))(Ts(ua(e.school))))(function(G){return G.schoolUsesAiRecruiter});return gCn(n.featureFlags.app18667TrellisRecruiter&&Ee(!1)(S))(DCn(c4(mCe(ua(e.school)))))(),Ce},c={school:e.school,schoolDb:e.schoolDb,onSwitchTab:function(y){return a(Qt.create(o6.create(y)))},onViewSchool:e.onViewSchool,onEdit:e.onEdit,featureFlags:n.featureFlags,recommendedSchools:n.recommendedSchools,onInviteSchool:o,onAcceptInvitation:l,onIgnoreInvitation:i,vineBelowConnectionLimit:n.vineBelowConnectionLimit,showConnectButton:n.showNetworkCard},s=function(){return n.showNetworkCard?yCn(n.currentUser)(d7(c)({user:TMe(yg)(n.currentUser),featureFlags:n.featureFlags})):C.value}(),f=function(y){var S=TMe(Gu(n.configuration))(XI([s,r]));return bCn("row")([FMe("col"+function(){var G=gt(S);return G?" col-md-8":""}())(y),Je(S)(FMe("col col-md-4 d-none d-md-block"))])},v=function(){var y=l4({chancingState:n.chancingState,featureFlags:n.featureFlags,currentUser:n.currentUser,configuration:n.configuration,school:e.school,schoolDb:e.schoolDb})(e.activeTab);return y?e.activeTab:Zo.value}(),m=ASe({school:e.school,schoolDb:e.schoolDb,activeTab:v,configuration:n.configuration,showNav:!0,showConnectButton:n.showNetworkCard,onSwitchTab:function(y){return a(Qt.create(o6.create(y)))},onListStatusChange:function(y){return a(Qt.create(bz.create(y)))},onSelectSchool:function(y){return a(Qt.create(Rz.create(y)))},onInviteSchool:o,onAcceptInvitation:l,onIgnoreInvitation:i,onEdit:e.onEdit,vineBelowConnectionLimit:n.vineBelowConnectionLimit})(n),_=IMe(dz(n.currentUser)(yg))(function(y){return{avatarUrl:y.avatarUrl,initials:y.initials}}),R="Hi! I'm Sage. Ask me anything about "+Mye(hz(e.school).name),D=function(){if(v instanceof Zo)return aCe(c)(n)(t.overview)(function(S){return a(at.create(HR.create(S)))});if(v instanceof Lu)return Je(ag(ua(e.school))(e.schoolDb))(function(S){return f(gSe({school:e.school,schoolDb:e.schoolDb,contentModules:S,mapboxAccessToken:n.mapboxAccessToken,showLikeButton:gt(n.currentUser),randomSeed:n.randomSeed,onContentModuleInteraction:u,isUserHq:Oe(!1)(function(G){return G.isHq})(n.currentUser)})(t.forYou)(function(G){return a(at.create(r6.create(G)))}))});if(v instanceof ju){var y=_o(z1(ua(e.school))(e.schoolDb));return f(twe(e.school)(n)(y)(t.finances)(function(S){return a(at.create(yz.create(S)))}))}if(v instanceof Zi)return ARe(e.school)(n)({onSwitchTab:C.value,showViewChancingExplanationCTA:!1,schoolDb:e.schoolDb});if(v instanceof Jl)return f(OSe(e.schoolDb)(e.school));if(v instanceof Wl)return f(fbe({school:e.school,onEdit:e.onEdit,props:n}));if(v instanceof ql)return xRe(e.school)(n);throw new Error("Failed pattern match at SchoolDetails.SchoolDetails (line 174, column 12 - line 210, column 44): "+[v.constructor.name])}();return ce([m,D,ng(n.showNetworkCard)(function(y){return uwe({mobileLayout:n.mobileLayout,school:e.school,schoolDb:e.schoolDb,onAcceptInvitation:l,onIgnoreInvitation:i})}),vn(n.featureFlags.app18667SageOnSdp)(CMe(hz(e.school).name)({bannedReason:"",welcomeMessage:new d(R),user:_,createConversation:function(y){return vCe(hz(e.school).id)},sendMessage:fCe(pCe),chatbotAvatar:Qb}))])}}}},xMe=function(e){return function(n){return function(t){if(t instanceof Qt)return a6(n);if(t instanceof at){if(t.value0 instanceof yz)return gz(function(a){return at.create(yz.create(a))})(function(a){return{forYou:n.forYou,overview:n.overview,finances:a}})(ewe(n.finances)(t.value0.value0));if(t.value0 instanceof r6)return gz(function(a){return at.create(r6.create(a))})(function(a){return{finances:n.finances,overview:n.overview,forYou:a}})(DSe(n.forYou)(t.value0.value0));if(t.value0 instanceof HR&&t.value0.value0 instanceof dD&&t.value0.value0.value0 instanceof Qt)return RCn(wCn(SCn(new Qt(new Xd(t.value0.value0.value0.value0)))))(function(){return a6(n)});if(t.value0 instanceof HR)return gz(function(a){return at.create(HR.create(a))})(function(a){return{finances:n.finances,forYou:n.forYou,overview:a}})(nCe(e)(n.overview)(t.value0.value0));throw new Error("Failed pattern match at SchoolDetails.SchoolDetails (line 100, column 44 - line 112, column 62): "+[t.value0.constructor.name])}throw new Error("Failed pattern match at SchoolDetails.SchoolDetails (line 98, column 1 - line 98, column 75): "+[e.constructor.name,n.constructor.name,t.constructor.name])}}},LMe=function(e){return GMe(Dz(function(n){return at.create(HR.create(n))})(tCe(e)))(function(n){return GMe(Dz(function(t){return at.create(r6.create(t))})(ySe))(function(t){return a6({finances:nwe,forYou:t,overview:n})})})},jMe=function(e){return ECn(function(n){return n instanceof BN&&CCn(lce(n.value0))(new d(ua(e.school)))?Dz(function(t){return at.create(HR.create(dD.create(t)))})(REe(n.value0)):a6(Ce)})};var ICn=uE(ps)(),TCn=re(Mi),NMe=function(e){var n=Jn(e);return function(t){return n(ICn("SDP: Viewed page")({tab:JE(t.tab),school_name:t.school.name,school_id:TCn(t.school.id)}))}};var PMe=K(qt),kMe=Gi(Vt),Sz=Dr(kMe),OMe=Bn(Mn),WT=OMe(qt),UMe=NMe(tt),i6=on(),Mp=z(pt),FCn=wN(),u6=Z(J),Ez=xr(kMe),MCn=OMe(Pt),GCn=Jn(tt),HMe=K(Va),BMe=Kr(tt),JMe=z(na),ACn=K(Le),WMe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Cz=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),lf=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),BR=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),qMe=function(e){return function(n){return function(t){return function(a){return ce([AMe({activeTab:t.activeTab,school:t.school,schoolDb:t.schoolDb,onEdit:e.onEdit,onViewSchool:C.value,vineBelowConnectionLimit:n.vineBelowConnectionLimit})(n)(t.page)(function(r){return a(lf.create(r))}),Je(t.modal)(function(r){return Gpe(r.value0)(function(o){return a(BR.create(o))})})])}}}},zMe=function(e){return function(n){return PMe(Sz(lf.create)(LMe(e.school)))(function(t){return WT(mr(UMe({tab:e.tab,school:i6(e.school),featureFlags:n.featureFlags})))(function(){return Mp({school:e.school,activeTab:e.tab,schoolDb:FCn({schools:new or(new d([e.school])),majors:e.majors,chances:Oe(Ra.value)(zt.create)(u6(e.chances)(yM(ua(e.school)))),contentModules:Oe([])(function(a){return[{schoolId:ua(e.school),modules:a}]})(e.contentModules),financials:Oe(Ra.value)(zt.create)(u6(e.financials)(yM(ua(e.school)))),schoolConnections:Ee(BS)(u6(e.schoolConnection)(yM(ua(e.school)))),schoolList:e.schoolList,schoolNotes:e.schoolNotes}),page:t,modal:C.value,vineBelowConnectionLimit:n.vineBelowConnectionLimit})})})}},xCn=function(e){return function(n){return Ez(Cz.create)(function(t){return{activeTab:e.activeTab,modal:e.modal,page:e.page,school:e.school,vineBelowConnectionLimit:e.vineBelowConnectionLimit,schoolDb:t}})(JN(n)(e.schoolDb))}},$Me=function(e){return function(n){var t=i6(n.school);return function(a){if(a instanceof lf&&a.value0 instanceof Qt&&a.value0.value0 instanceof Xd)return xCn(n)(a.value0.value0.value0);if(a instanceof lf&&a.value0 instanceof Qt&&a.value0.value0 instanceof o6)return WT(mr(MCn(UMe({tab:a.value0.value0.value0,school:i6(n.school),featureFlags:e.featureFlags}))(function(){return GCn(HMe(HMe(po)(OS))(DM(Ga(el))(t.name+" | CollegeVine")(R0(a.value0.value0.value0)(t.slug))))})))(function(){return Mp({modal:n.modal,page:n.page,school:n.school,schoolDb:n.schoolDb,vineBelowConnectionLimit:n.vineBelowConnectionLimit,activeTab:a.value0.value0.value0})});if(a instanceof lf&&a.value0 instanceof Qt&&a.value0.value0 instanceof bz)return WT(BMe(function(){var o=new N_(t.id,a.value0.value0.value0,lE.value,U9(t.id)(n.schoolDb));return JMe(new lf(new Qt(new Xd(o))))}()))(function(){return Mp(n)});if(a instanceof lf&&a.value0 instanceof Qt&&a.value0.value0 instanceof Rz)return Mp(n);if(a instanceof lf&&a.value0 instanceof Qt&&a.value0.value0 instanceof wz)return Mp({activeTab:n.activeTab,page:n.page,school:n.school,schoolDb:n.schoolDb,vineBelowConnectionLimit:n.vineBelowConnectionLimit,modal:u6(ACn(e.currentUser)(yg))(function(o){return new WMe(xpe({schoolName:function(i){return i.name}(i6(n.school)),profile:o,context:a.value0.value0.value0,vineBelowConnectionLimit:n.vineBelowConnectionLimit}))})});if(a instanceof lf&&a.value0 instanceof at)return Ez(lf.create)(function(o){return{activeTab:n.activeTab,modal:n.modal,school:n.school,schoolDb:n.schoolDb,vineBelowConnectionLimit:n.vineBelowConnectionLimit,page:o}})(xMe(n)(n.page)(a.value0));if(a instanceof Cz)return PMe(Sz(Cz.create)(Lce(n.schoolDb)(a.value0)))(function(o){return WT(Sz(lf.create)(jMe(n)(o.events)))(function(){return Mp({activeTab:n.activeTab,modal:n.modal,page:n.page,vineBelowConnectionLimit:n.vineBelowConnectionLimit,school:Ee(n.school)(SM(t.id)(o.state)),schoolDb:o.state})})});if(a instanceof BR&&a.value0 instanceof Qt&&a.value0.value0 instanceof ik)return WT(BMe(JMe(new lf(new Qt(new Xd(new U_({schoolId:t.id,introMessage:a.value0.value0.value0.introMessage})))))))(function(){return Mp(n)});if(a instanceof BR&&a.value0 instanceof Qt&&a.value0.value0 instanceof wC)return Mp({activeTab:n.activeTab,page:n.page,school:n.school,schoolDb:n.schoolDb,vineBelowConnectionLimit:n.vineBelowConnectionLimit,modal:C.value});var r=function(o){if(a instanceof BR&&a.value0 instanceof at&&xe)return Mp(n);throw new Error("Failed pattern match at SchoolDetails.SchoolDetailsPage (line 84, column 1 - line 84, column 64): "+[a.constructor.name])};return a instanceof BR&&a.value0 instanceof at&&n.modal instanceof d?Ez(BR.create)(function(o){return{activeTab:n.activeTab,page:n.page,school:n.school,schoolDb:n.schoolDb,vineBelowConnectionLimit:n.vineBelowConnectionLimit,modal:new d(new WMe(o))}})(Ape(n.modal.value0.value0)(new at(a.value0.value0))):r(!0)}}};var l6=function(e){return function(){console.error(e)}};var eGe=function(e){var n=Jn(e);return function(t){return n(l6(t))}};var OCn=z(Kt),nGe=K(Va),UCn=N(it),HCn=eGe(ps),tGe=function(e){var n=function(a){var r=e(a);return _L(r.view(r.init.value0)(an(OCn(Ce))))},t=function(a){return function(r){return function(o){return function(){var u=nGe(nGe(po)(function(){var c=UCn(gM);return function(s){return c(Rm(s))}}()))(dM(r))();if(u instanceof C)return HCn("Element #"+(r+" not found"))();if(u instanceof d){var l=sK(e(o))();return a(l)(u.value0)()}throw new Error("Failed pattern match at Elmish.Boot (line 117, column 11 - line 122, column 21): "+[u.constructor.name])}}}};return{mount:t(zZ),renderToString:n,hydrate:t($Z)}};var BCn=ut(m2),JCn=K(_f),aGe=z(pt),rGe=function(e){var n=mm(e);return function(t){return tGe(BCn({parse:function(a){return JCn(n(a))(function(r){return Oe(new rn("Component construction failed"))(ln.create)(t.def(r))})},diagnosticName:"Props for "+t.diagnosticName,default:{init:aGe(Ce),update:function(a){return function(r){return aGe(Ce)}},view:function(a){return function(r){return un}}}}))}};var Zt=Qn(),Iz=E({reflectSymbol:function(){return"all"}}),Io=Ln(ue),ai=Ln(bt),oGe=Zt(E({reflectSymbol:function(){return"academicThresholdStatus"}})(ue)(E({reflectSymbol:function(){return"applicationStrategy"}})(ue)(E({reflectSymbol:function(){return"classification"}})(Io)(E({reflectSymbol:function(){return"courseRigorStrength"}})(Io)(E({reflectSymbol:function(){return"ecStrength"}})(Io)(E({reflectSymbol:function(){return"isRecommendedStrategy"}})(zn)(E({reflectSymbol:function(){return"score"}})(ai)(E({reflectSymbol:function(){return"shouldApplyTestOptional"}})(zn)(E({reflectSymbol:function(){return"specialCase"}})(Io)(he)))))))))),Tz=E({reflectSymbol:function(){return"act"}}),Fz=E({reflectSymbol:function(){return"p25"}}),iGe=E({reflectSymbol:function(){return"p50"}}),Mz=E({reflectSymbol:function(){return"p75"}}),JR=Zt(Fz(ai)(iGe(ai)(Mz(ai)(he)))),Gz=E({reflectSymbol:function(){return"gpa"}}),X0=Ln(Gt),uGe=Zt(Fz(X0)(iGe(X0)(Mz(X0)(he)))),Az=E({reflectSymbol:function(){return"sat"}}),lGe=E({reflectSymbol:function(){return"english"}}),cGe=E({reflectSymbol:function(){return"math"}}),sGe=cGe(ai),fGe=E({reflectSymbol:function(){return"id"}}),c6=E({reflectSymbol:function(){return"name"}})(ue),vGe=E({reflectSymbol:function(){return"readingWriting"}}),mGe=E({reflectSymbol:function(){return"majors"}}),pGe=c6(he),_Ge=E({reflectSymbol:function(){return"acceptanceRate"}}),dGe=fGe(_s),hGe=E({reflectSymbol:function(){return"slug"}})(Zw),gGe=E({reflectSymbol:function(){return"status"}})(ue)(he),DGe=E({reflectSymbol:function(){return"address"}}),yGe=E({reflectSymbol:function(){return"location"}})(Zt(E({reflectSymbol:function(){return"lat"}})(Gt)(E({reflectSymbol:function(){return"lng"}})(Gt)(he)))),bGe=E({reflectSymbol:function(){return"admissions"}}),RGe=E({reflectSymbol:function(){return"percentile"}})(Gt),wGe=E({reflectSymbol:function(){return"value"}}),qT=Ln(Zt(RGe(wGe(Gt)(he)))),zT=Ln(Zt(Fz(bt)(Mz(bt)(he)))),xz=Ln(Zt(E({reflectSymbol:function(){return"men"}})(bt)(E({reflectSymbol:function(){return"women"}})(bt)(he)))),SGe=Zt(RGe(wGe(bt)(he))),EGe=Ln(SGe),CGe=Zt(E({reflectSymbol:function(){return"conference"}})(Ln(Zt(E({reflectSymbol:function(){return"group"}})(ue)(pGe))))(E({reflectSymbol:function(){return"division1"}})(zn)(he))),IGe=Iz(JR),TGe=cGe(JR),WCn=function(){var e=function(n){var t=ele(av.value)(n),a=function(r){return function(o){return ce([qMe({onEdit:C.value})(t.value1)(r)(o),fo(sa(t.value0.showInvitationAcceptedCTA))(function(i){return function(u){return Je(i)(function(l){if(l instanceof OE)return Rie({origin:R0(r.activeTab)(e9(r.school)),onDismiss:u(C.value),auth0Config:t.value0.auth0Config,mobileLayout:t.value1.mobileLayout,currentUser:t.value1.currentUser,school:r.school});if(l instanceof UE)return wie({origin:t.value0.originUrl,onDismiss:u(C.value),auth0Config:t.value0.auth0Config,mobileLayout:t.value1.mobileLayout,currentUser:C.value,school:r.school});throw new Error("Failed pattern match at EntryPoints.SchoolDetails (line 27, column 34 - line 45, column 20): "+[l.constructor.name])})}})])}};return new d({init:zMe(t.value0)(t.value1),update:$Me(t.value1),view:a})};return rGe(Zt(E({reflectSymbol:function(){return"auth0Config"}})(Zt(E({reflectSymbol:function(){return"auth0ClientId"}})(ue)(E({reflectSymbol:function(){return"auth0Domain"}})(ue)(E({reflectSymbol:function(){return"auth0RedirectUri"}})(ue)(E({reflectSymbol:function(){return"omniAuthState"}})(ue)(he))))))(E({reflectSymbol:function(){return"chances"}})(Ln(Zt(Iz($n(oGe))(E({reflectSymbol:function(){return"guidance"}})(Ln(Vp))(E({reflectSymbol:function(){return"sameDemographicStats"}})(Ln(Zt(Tz(JR)(Gz(uGe)(Az(JR)(he))))))(E({reflectSymbol:function(){return"top"}})(oGe)(he)))))))(E({reflectSymbol:function(){return"chancingProfile"}})(Ln(Zt(Tz(Zt(lGe(ai)(sGe(E({reflectSymbol:function(){return"reading"}})(ai)(E({reflectSymbol:function(){return"science"}})(ai)(he))))))(E({reflectSymbol:function(){return"courseRigor"}})(Zt(E({reflectSymbol:function(){return"ap"}})(ai)(E({reflectSymbol:function(){return"collegeClasses"}})(ai)(E({reflectSymbol:function(){return"honors"}})(ai)(he)))))(E({reflectSymbol:function(){return"ecActivities"}})($n(Zt(E({reflectSymbol:function(){return"canonical_ec_activity_id"}})(Ln(RE))(E({reflectSymbol:function(){return"category"}})(ue)(E({reflectSymbol:function(){return"description"}})(Io)(fGe(ai)(c6(E({reflectSymbol:function(){return"tier"}})(ue)(he)))))))))(E({reflectSymbol:function(){return"ecScore"}})(X0)(Gz(X0)(E({reflectSymbol:function(){return"psatPredictedCompositeSAT"}})(ai)(Az(Zt(sGe(vGe(ai)(he))))(he))))))))))(E({reflectSymbol:function(){return"contentModules"}})(Ln(Xw))(E({reflectSymbol:function(){return"currentUser"}})(Ln(Zt(E({reflectSymbol:function(){return"cvid"}})(ue)(E({reflectSymbol:function(){return"isHq"}})(zn)(E({reflectSymbol:function(){return"role"}})(Zt(E({reflectSymbol:function(){return"counselor"}})(Ln(Zt(he)))(E({reflectSymbol:function(){return"semUser"}})(Ln(Zt(E({reflectSymbol:function(){return"schoolId"}})(_s)(he))))(E({reflectSymbol:function(){return"vine"}})(Ln(Zt(E({reflectSymbol:function(){return"admissionYear"}})(ai)(E({reflectSymbol:function(){return"avatarUrl"}})(Io)(E({reflectSymbol:function(){return"fullName"}})(Io)(E({reflectSymbol:function(){return"homeState"}})(Io)(E({reflectSymbol:function(){return"initials"}})(Io)(E({reflectSymbol:function(){return"publishScope"}})(ue)(he)))))))))(he)))))(he))))))(E({reflectSymbol:function(){return"featureFlags"}})(Zt(E({reflectSymbol:function(){return"app18667SageOnSdp"}})(zn)(E({reflectSymbol:function(){return"app18667TrellisRecruiter"}})(zn)(E({reflectSymbol:function(){return"autopilot"}})(ue)(E({reflectSymbol:function(){return"rcr2577ClaimSchoolProfileLinkOnSdp"}})(zn)(he))))))(E({reflectSymbol:function(){return"financials"}})(Ln(Zt(E({reflectSymbol:function(){return"estimatedMeritAid"}})(X0)(E({reflectSymbol:function(){return"estimatedNetCost"}})(Gt)(E({reflectSymbol:function(){return"financialAid"}})(Gt)(E({reflectSymbol:function(){return"stickerPrice"}})(Gt)(he)))))))(E({reflectSymbol:function(){return"hasFinancialProfile"}})(zn)(E({reflectSymbol:function(){return"initialTab"}})(ue)(mGe($n(Zt(E({reflectSymbol:function(){return"areaOfStudy"}})(ue)(E({reflectSymbol:function(){return"cipCode"}})(ue)(E({reflectSymbol:function(){return"compressedName"}})(ue)(pGe))))))(E({reflectSymbol:function(){return"mapboxAccessToken"}})(ule)(E({reflectSymbol:function(){return"mobileLayout"}})(zn)(E({reflectSymbol:function(){return"originUrl"}})(ue)(E({reflectSymbol:function(){return"randomSeed"}})(bt)(E({reflectSymbol:function(){return"recommendedSchools"}})(Ln($n(Zt(_Ge(X0)(E({reflectSymbol:function(){return"cityState"}})(Io)(dGe(E({reflectSymbol:function(){return"imgixImageUrl"}})(ue)(c6(hGe(he))))))))))(E({reflectSymbol:function(){return"schoolConnection"}})(Ln(Zt(E({reflectSymbol:function(){return"initiator"}})(ue)(E({reflectSymbol:function(){return"schoolUsesAiRecruiter"}})(zn)(gGe)))))(E({reflectSymbol:function(){return"schoolList"}})(xh(Zt(E({reflectSymbol:function(){return"applicationRound"}})(ue)(gGe))))(E({reflectSymbol:function(){return"schoolNotes"}})(xh(ue))(E({reflectSymbol:function(){return"showInvitationAcceptedCTA"}})(ue)(E({reflectSymbol:function(){return"showNetworkCard"}})(zn)(E({reflectSymbol:function(){return"staticSchool"}})(Zt(E({reflectSymbol:function(){return"academicOfferings"}})(Zt(E({reflectSymbol:function(){return"careerCounseling"}})(zn)(E({reflectSymbol:function(){return"creditForApExams"}})(zn)(E({reflectSymbol:function(){return"creditForIbExams"}})(zn)(E({reflectSymbol:function(){return"hasMedicalSchool"}})(zn)(E({reflectSymbol:function(){return"offersGradDegree"}})(zn)(E({reflectSymbol:function(){return"specialFocus"}})(Io)(E({reflectSymbol:function(){return"studyAbroad"}})(zn)(he)))))))))(DGe(Zt(E({reflectSymbol:function(){return"nonUSAddress"}})(Ln(Zt(DGe(ue)(E({reflectSymbol:function(){return"country"}})(ue)(yGe(he))))))(E({reflectSymbol:function(){return"usAddress"}})(Ln(Zt(E({reflectSymbol:function(){return"city"}})(ue)(E({reflectSymbol:function(){return"county"}})(ue)(yGe(E({reflectSymbol:function(){return"region"}})(ue)(E({reflectSymbol:function(){return"state"}})(ue)(E({reflectSymbol:function(){return"street"}})(ue)(E({reflectSymbol:function(){return"zip"}})(ue)(he))))))))))(he))))(bGe(Zt(_Ge(qT)(E({reflectSymbol:function(){return"actComposite"}})(zT)(E({reflectSymbol:function(){return"actMath"}})(zT)(E({reflectSymbol:function(){return"actVerbal"}})(zT)(E({reflectSymbol:function(){return"admitted"}})(xz)(E({reflectSymbol:function(){return"applicants"}})(xz)(E({reflectSymbol:function(){return"enrolled"}})(xz)(E({reflectSymbol:function(){return"fracSubmittedAct"}})(X0)(E({reflectSymbol:function(){return"fracSubmittedSat"}})(X0)(E({reflectSymbol:function(){return"reqClassRank"}})(Io)(E({reflectSymbol:function(){return"reqRecLetters"}})(Io)(E({reflectSymbol:function(){return"reqStandardTests"}})(Io)(E({reflectSymbol:function(){return"reqToefl"}})(Io)(E({reflectSymbol:function(){return"satMath"}})(zT)(E({reflectSymbol:function(){return"satVerbal"}})(zT)(E({reflectSymbol:function(){return"totalApplicants"}})(EGe)(E({reflectSymbol:function(){return"yieldRate"}})(qT)(he)))))))))))))))))))(E({reflectSymbol:function(){return"appGroup"}})(Io)(E({reflectSymbol:function(){return"applicationTimeHours"}})(bt)(E({reflectSymbol:function(){return"averageFederalLoan"}})(ai)(E({reflectSymbol:function(){return"averageNetPrice"}})(Ln(Zt(E({reflectSymbol:function(){return"quintile1"}})(Gt)(E({reflectSymbol:function(){return"quintile2"}})(Gt)(E({reflectSymbol:function(){return"quintile3"}})(Gt)(E({reflectSymbol:function(){return"quintile4"}})(Gt)(E({reflectSymbol:function(){return"quintile5"}})(Gt)(he))))))))(E({reflectSymbol:function(){return"basketball"}})(CGe)(E({reflectSymbol:function(){return"calendarSystem"}})(ue)(E({reflectSymbol:function(){return"chancing"}})(Zt(E({reflectSymbol:function(){return"canChance"}})(zn)(E({reflectSymbol:function(){return"endorsed"}})(zn)(E({reflectSymbol:function(){return"moreInfoLink"}})(Io)(he)))))(E({reflectSymbol:function(){return"colors"}})(Zt(E({reflectSymbol:function(){return"primary"}})(Io)(E({reflectSymbol:function(){return"secondary"}})(Io)(he))))(E({reflectSymbol:function(){return"costRoomBoard"}})(ai)(E({reflectSymbol:function(){return"diversity"}})(ue)(E({reflectSymbol:function(){return"dropOutRate"}})(bt)(E({reflectSymbol:function(){return"feesInState"}})(ai)(E({reflectSymbol:function(){return"feesOutOfState"}})(ai)(E({reflectSymbol:function(){return"football"}})(CGe)(E({reflectSymbol:function(){return"fourYearGradRate"}})(X0)(E({reflectSymbol:function(){return"fracInternationalStudents"}})(qT)(E({reflectSymbol:function(){return"fracLoans"}})(Gt)(E({reflectSymbol:function(){return"fracPellGrants"}})(Gt)(E({reflectSymbol:function(){return"gender"}})(ue)(E({reflectSymbol:function(){return"hasFourYearProgram"}})(zn)(E({reflectSymbol:function(){return"hasOnCampusHousing"}})(zn)(E({reflectSymbol:function(){return"hasTwoYearProgram"}})(zn)(E({reflectSymbol:function(){return"hbcu"}})(zn)(dGe(E({reflectSymbol:function(){return"imgixPath"}})(ue)(E({reflectSymbol:function(){return"ipedsUnitId"}})(Io)(E({reflectSymbol:function(){return"isCommuterCollege"}})(zn)(E({reflectSymbol:function(){return"isForProfit"}})(zn)(E({reflectSymbol:function(){return"isPublic"}})(zn)(mGe($n(ue))(E({reflectSymbol:function(){return"message"}})(ue)(c6(E({reflectSymbol:function(){return"numFreshmen"}})(EGe)(E({reflectSymbol:function(){return"phone"}})(ue)(E({reflectSymbol:function(){return"prestige"}})(ue)(E({reflectSymbol:function(){return"profileClaimed"}})(zn)(E({reflectSymbol:function(){return"racialBreakdown"}})(Ln(Zt(E({reflectSymbol:function(){return"asian"}})(Gt)(E({reflectSymbol:function(){return"black"}})(Gt)(E({reflectSymbol:function(){return"hispanic"}})(Gt)(E({reflectSymbol:function(){return"nativeAmerican"}})(Gt)(E({reflectSymbol:function(){return"white"}})(Gt)(he))))))))(E({reflectSymbol:function(){return"rankings"}})($n(Zt(E({reflectSymbol:function(){return"bucket"}})(ue)(E({reflectSymbol:function(){return"key"}})(ue)(E({reflectSymbol:function(){return"order"}})(bt)(he))))))(E({reflectSymbol:function(){return"religiousAffiliation"}})(ue)(E({reflectSymbol:function(){return"retentionRate"}})(qT)(E({reflectSymbol:function(){return"schoolType"}})(ue)(E({reflectSymbol:function(){return"setting"}})(ue)(E({reflectSymbol:function(){return"sixYearGradRate"}})(qT)(hGe(E({reflectSymbol:function(){return"studentsPerFaculty"}})(SGe)(E({reflectSymbol:function(){return"testScoreStats"}})(Ln(Zt(Tz(Zt(IGe(lGe(JR)(TGe(he)))))(Gz(Zt(Iz(uGe)(he)))(Az(Zt(IGe(TGe(vGe(JR)(he)))))(he))))))(E({reflectSymbol:function(){return"totalUndergrads"}})(bt)(E({reflectSymbol:function(){return"tuitionInState"}})(ai)(E({reflectSymbol:function(){return"tuitionOutOfState"}})(ai)(E({reflectSymbol:function(){return"urls"}})(Zt(bGe(Io)(E({reflectSymbol:function(){return"finAid"}})(Io)(E({reflectSymbol:function(){return"main"}})(ue)(E({reflectSymbol:function(){return"priceCalculator"}})(Io)(he))))))(he)))))))))))))))))))))))))))))))))))))))))))))))))))))))(E({reflectSymbol:function(){return"vineBelowConnectionLimit"}})(Ln(zn))(he))))))))))))))))))))))))({diagnosticName:"EntryPoints.SchoolDetails",def:e})}();return qCn;})(); /* object-assign (c) Sindre Sorhus @license MIT */ /*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */ /*! * Determine if an object is a Buffer * * @author Feross Aboukhadijeh * @license MIT */ /*! * Pusher JavaScript Library v6.0.3 * https://pusher.com/ * * Copyright 2020, Pusher * Released under the MIT licence. */ /*! * focus-trap 6.9.4 * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE */ /*! * tabbable 5.3.3 * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE */ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ /** * @license React * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /** @license React v0.20.2 * scheduler.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /** @license React v16.13.1 * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /** @license React v17.0.2 * react-dom-server.browser.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /** @license React v17.0.2 * react-dom.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /** @license React v17.0.2 * react.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */