var Purs_EntryPoints_SchoolDetails=(()=>{var KGe=Object.create;var CR=Object.defineProperty,e4e=Object.defineProperties,n4e=Object.getOwnPropertyDescriptor,t4e=Object.getOwnPropertyDescriptors,a4e=Object.getOwnPropertyNames,vz=Object.getOwnPropertySymbols,r4e=Object.getPrototypeOf,mz=Object.prototype.hasOwnProperty,o4e=Object.prototype.propertyIsEnumerable;var pz=(e,n,t)=>n in e?CR(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,Aa=(e,n)=>{for(var t in n||(n={}))mz.call(n,t)&&pz(e,t,n[t]);if(vz)for(var t of vz(n))o4e.call(n,t)&&pz(e,t,n[t]);return e},ni=(e,n)=>e4e(e,t4e(n)),_z=e=>CR(e,"__esModule",{value:!0});var i4e=(e,n)=>()=>(e&&(n=e(e=0)),n);var Ne=(e,n)=>()=>(n||e((n={exports:{}}).exports,n),n.exports),dT=(e,n)=>{_z(e);for(var t in n)CR(e,t,{get:n[t],enumerable:!0})},u4e=(e,n,t)=>{if(n&&typeof n=="object"||typeof n=="function")for(let a of a4e(n))!mz.call(e,a)&&a!=="default"&&CR(e,a,{get:()=>n[a],enumerable:!(t=n4e(n,a))||t.enumerable});return e},Da=e=>u4e(_z(CR(e!=null?KGe(r4e(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var a1={};dT(a1,{Children:()=>ph,Component:()=>_h,Fragment:()=>t8,Suspense:()=>t7e,cloneElement:()=>Aw,createContext:()=>n8,createElement:()=>La,createRef:()=>cF,default:()=>yt,forwardRef:()=>cc,isValidElement:()=>a8,lazy:()=>n7e,useCallback:()=>xw,useContext:()=>a7e,useEffect:()=>dr,useImperativeHandle:()=>Z0,useLayoutEffect:()=>Lw,useMemo:()=>jw,useReducer:()=>r7e,useRef:()=>Ta,useState:()=>hf});var yt,ph,Aw,_h,n8,La,cF,cc,t8,a8,n7e,t7e,xw,a7e,dr,Z0,Lw,jw,r7e,Ta,hf,Wt=i4e(()=>{yt=window.React,{Children:ph,cloneElement:Aw,Component:_h,createContext:n8,createElement:La,createRef:cF,forwardRef:cc,Fragment:t8,isValidElement:a8,lazy:n7e,Suspense:t7e,useCallback:xw,useContext:a7e,useEffect:dr,useImperativeHandle:Z0,useLayoutEffect:Lw,useMemo:jw,useReducer:r7e,useRef:Ta,useState:hf}=window.React});var gF=Ne(($Wn,$Y)=>{"use strict";var zY=Object.getOwnPropertySymbols,y7e=Object.prototype.hasOwnProperty,b7e=Object.prototype.propertyIsEnumerable;function R7e(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function w7e(){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}}$Y.exports=w7e()?Object.assign:function(e,n){for(var t,a=R7e(e),r,o=1;o{"use strict";var f8=gF(),o1=60103,VY=60106;Oa.Fragment=60107;Oa.StrictMode=60108;Oa.Profiler=60114;var QY=60109,YY=60110,XY=60112;Oa.Suspense=60113;var ZY=60115,KY=60116;typeof Symbol=="function"&&Symbol.for&&(ss=Symbol.for,o1=ss("react.element"),VY=ss("react.portal"),Oa.Fragment=ss("react.fragment"),Oa.StrictMode=ss("react.strict_mode"),Oa.Profiler=ss("react.profiler"),QY=ss("react.provider"),YY=ss("react.context"),XY=ss("react.forward_ref"),Oa.Suspense=ss("react.suspense"),ZY=ss("react.memo"),KY=ss("react.lazy"));var ss,eX=typeof Symbol=="function"&&Symbol.iterator;function S7e(e){return e===null||typeof e!="object"?null:(e=eX&&e[eX]||e["@@iterator"],typeof e=="function"?e:null)}function Pw(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t{"use strict";sX.exports=cX()});var xX=Ne(u1=>{"use strict";var gf=gF(),em=fs();function ro(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;tUw;Uw++)su[Uw]=Uw+1;var su,Uw;su[15]=0;var G7e=/^[: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]*$/,hX=Object.prototype.hasOwnProperty,gX={},DX={};function yX(e){return hX.call(DX,e)?!0:hX.call(gX,e)?!1:G7e.test(e)?DX[e]=!0:(gX[e]=!0,!1)}function A7e(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 x7e(e,n,t,a){if(n===null||typeof n=="undefined"||A7e(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 Xu(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 fu={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){fu[e]=new Xu(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];fu[n]=new Xu(n,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){fu[e]=new Xu(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){fu[e]=new Xu(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){fu[e]=new Xu(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){fu[e]=new Xu(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){fu[e]=new Xu(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){fu[e]=new Xu(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){fu[e]=new Xu(e,5,!1,e.toLowerCase(),null,!1,!1)});var E8=/[\-:]([a-z])/g;function C8(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(E8,C8);fu[n]=new Xu(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(E8,C8);fu[n]=new Xu(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(E8,C8);fu[n]=new Xu(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){fu[e]=new Xu(e,1,!1,e.toLowerCase(),null,!1,!1)});fu.xlinkHref=new Xu("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){fu[e]=new Xu(e,1,!1,e.toLowerCase(),null,!0,!0)});var L7e=/["'&<>]/;function hh(e){if(typeof e=="boolean"||typeof e=="number")return""+e;e=""+e;var n=L7e.exec(e);if(n){var t="",a,r=0;for(a=n.index;aCF))throw Error(ro(301));if(e===Ov)if(EF=!0,e={action:t,next:null},jp===null&&(jp=new Map),t=jp.get(n),t===void 0)jp.set(n,e);else{for(n=t;n.next!==null;)n=n.next;n.next=e}}function T8(){}var Dh=null,k7e={readContext:function(e){var n=Dh.threadID;return kw(e,n),e[n]},useContext:function(e){gh();var n=Dh.threadID;return kw(e,n),e[n]},useMemo:CX,useReducer:EX,useRef:function(e){Ov=gh(),Tr=I8();var n=Tr.memoizedState;return n===null?(e={current:e},Tr.memoizedState=e):n},useState:function(e){return EX(SX,e)},useLayoutEffect:function(){},useCallback:function(e,n){return CX(function(){return e},n)},useImperativeHandle:T8,useEffect:T8,useDebugValue:T8,useDeferredValue:function(e){return gh(),e},useTransition:function(){return gh(),[function(e){e()},!1]},useOpaqueIdentifier:function(){return(Dh.identifierPrefix||"")+"R:"+(Dh.uniqueID++).toString(36)},useMutableSource:function(e,n){return gh(),n(e._source)}},IX={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function TX(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 FX={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},U7e=gf({menuitem:!0},FX),Bw={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},H7e=["Webkit","ms","Moz","O"];Object.keys(Bw).forEach(function(e){H7e.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),Bw[n]=Bw[e]})});var B7e=/([A-Z])/g,J7e=/^ms-/,Np=em.Children.toArray,F8=F7e.ReactCurrentDispatcher,W7e={listing:!0,pre:!0,textarea:!0},q7e=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,MX={},M8={};function z7e(e){if(e==null)return e;var n="";return em.Children.forEach(e,function(t){t!=null&&(n+=t)}),n}var $7e=Object.prototype.hasOwnProperty,V7e={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function GX(e,n){if(e===void 0)throw Error(ro(152,Ow(n)||"Component"))}function Q7e(e,n,t){function a(i,u){var l=u.prototype&&u.prototype.isReactComponent,c=M7e(u,n,t,l),s=[],f=!1,v={isMounted:function(){return!1},enqueueForceUpdate:function(){if(s===null)return null},enqueueReplaceState:function(M,P){f=!0,s=[P]},enqueueSetState:function(M,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(Ov={},l=u(i.props,c,v),l=RX(u,i.props,l,c),l==null||l.render==null){e=l,GX(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(ro(304));var l=new Uint16Array(u);for(l.set(i),su=l,su[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===RF)this.popProvider(l.type);else if(l.type===wF){this.suspenseDepth--;var s=o.pop();if(i){i=!1;var f=l.fallbackFrame;if(!f)throw Error(ro(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(ro(294)):_}finally{}o.length<=this.suspenseDepth&&o.push(""),o[this.suspenseDepth]+=m}}return o[0]}finally{F8.current=r,Dh=a,wX()}},n.render=function(t,a,r){if(typeof t=="string"||typeof t=="number")return r=""+t,r===""?"":this.makeStaticMarkup?hh(r):this.previousWasTextNode?""+hh(r):(this.previousWasTextNode=!0,hh(r));if(a=Q7e(t,a,this.threadID),t=a.child,a=a.context,t===null||t===!1)return"";if(!em.isValidElement(t)){if(t!=null&&t.$$typeof!=null)throw r=t.$$typeof,Error(r===h8?ro(257):ro(258,r.toString()));return t=Np(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 _X:case pX:case g8:case D8:case R8:case bF:return t=Np(t.props.children),this.stack.push({type:null,domNamespace:r,children:t,childIndex:0,context:a,footer:""}),"";case wF:throw Error(ro(294));case mX:throw Error(ro(343))}if(typeof o=="object"&&o!==null)switch(o.$$typeof){case b8:Ov={};var i=o.render(t.props,t.ref);return i=RX(o.render,t.props,i,t.ref),i=Np(i),this.stack.push({type:null,domNamespace:r,children:i,childIndex:0,context:a,footer:""}),"";case w8:return t=[em.createElement(o.type,gf({ref:t.ref},t.props))],this.stack.push({type:null,domNamespace:r,children:t,childIndex:0,context:a,footer:""}),"";case RF:return o=Np(t.props.children),r={type:t,domNamespace:r,children:o,childIndex:0,context:a,footer:""},this.pushProvider(t),this.stack.push(r),"";case y8:o=t.type,i=t.props;var u=this.threadID;return kw(o,u),o=Np(i.children(o[u])),this.stack.push({type:t,domNamespace:r,children:o,childIndex:0,context:a,footer:""}),"";case vX:throw Error(ro(338));case S8:return o=t.type,i=o._init,o=i(o._payload),t=[em.createElement(o,gf({ref:t.ref},t.props))],this.stack.push({type:null,domNamespace:r,children:t,childIndex:0,context:a,footer:""}),""}throw Error(ro(130,o==null?o:typeof o,""))},n.renderDOM=function(t,a,r){var o=t.type.toLowerCase();if(r===IX.html&&TX(o),!MX.hasOwnProperty(o)){if(!q7e.test(o))throw Error(ro(65,o));MX[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(ro(92));if(Array.isArray(l)){if(!(1>=l.length))throw Error(ro(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=z7e(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=hh(l);break e}l=null}return l!=null?(i=[],W7e.hasOwnProperty(o)&&l.charAt(0)===` `&&(P+=` `),P+=l):i=Np(i.children),t=t.type,r=r==null||r==="http://www.w3.org/1999/xhtml"?TX(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}();u1.renderToNodeStream=function(){throw Error(ro(207))};u1.renderToStaticMarkup=function(e,n){e=new AX(e,!0,n);try{return e.read(1/0)}finally{e.destroy()}};u1.renderToStaticNodeStream=function(){throw Error(ro(208))};u1.renderToString=function(e,n){e=new AX(e,!1,n);try{return e.read(1/0)}finally{e.destroy()}};u1.version="17.0.2"});var jX=Ne((XWn,LX)=>{"use strict";LX.exports=xX()});var sle=Ne(sr=>{"use strict";var Xi=typeof Symbol=="function"&&Symbol.for,aN=Xi?Symbol.for("react.element"):60103,rN=Xi?Symbol.for("react.portal"):60106,HG=Xi?Symbol.for("react.fragment"):60107,BG=Xi?Symbol.for("react.strict_mode"):60108,JG=Xi?Symbol.for("react.profiler"):60114,WG=Xi?Symbol.for("react.provider"):60109,qG=Xi?Symbol.for("react.context"):60110,oN=Xi?Symbol.for("react.async_mode"):60111,zG=Xi?Symbol.for("react.concurrent_mode"):60111,$G=Xi?Symbol.for("react.forward_ref"):60112,VG=Xi?Symbol.for("react.suspense"):60113,TBe=Xi?Symbol.for("react.suspense_list"):60120,QG=Xi?Symbol.for("react.memo"):60115,YG=Xi?Symbol.for("react.lazy"):60116,FBe=Xi?Symbol.for("react.block"):60121,MBe=Xi?Symbol.for("react.fundamental"):60117,GBe=Xi?Symbol.for("react.responder"):60118,ABe=Xi?Symbol.for("react.scope"):60119;function xc(e){if(typeof e=="object"&&e!==null){var n=e.$$typeof;switch(n){case aN:switch(e=e.type,e){case oN:case zG:case HG:case JG:case BG:case VG:return e;default:switch(e=e&&e.$$typeof,e){case qG:case $G:case YG:case QG:case WG:return e;default:return n}}case rN:return n}}}function cle(e){return xc(e)===zG}sr.AsyncMode=oN;sr.ConcurrentMode=zG;sr.ContextConsumer=qG;sr.ContextProvider=WG;sr.Element=aN;sr.ForwardRef=$G;sr.Fragment=HG;sr.Lazy=YG;sr.Memo=QG;sr.Portal=rN;sr.Profiler=JG;sr.StrictMode=BG;sr.Suspense=VG;sr.isAsyncMode=function(e){return cle(e)||xc(e)===oN};sr.isConcurrentMode=cle;sr.isContextConsumer=function(e){return xc(e)===qG};sr.isContextProvider=function(e){return xc(e)===WG};sr.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===aN};sr.isForwardRef=function(e){return xc(e)===$G};sr.isFragment=function(e){return xc(e)===HG};sr.isLazy=function(e){return xc(e)===YG};sr.isMemo=function(e){return xc(e)===QG};sr.isPortal=function(e){return xc(e)===rN};sr.isProfiler=function(e){return xc(e)===JG};sr.isStrictMode=function(e){return xc(e)===BG};sr.isSuspense=function(e){return xc(e)===VG};sr.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===HG||e===zG||e===JG||e===BG||e===VG||e===TBe||typeof e=="object"&&e!==null&&(e.$$typeof===YG||e.$$typeof===QG||e.$$typeof===WG||e.$$typeof===qG||e.$$typeof===$G||e.$$typeof===MBe||e.$$typeof===GBe||e.$$typeof===ABe||e.$$typeof===FBe)};sr.typeOf=xc});var vle=Ne((Rua,fle)=>{"use strict";fle.exports=sle()});var A_=Ne((Nua,KG)=>{(function(){"use strict";var e={}.hasOwnProperty;function n(){for(var t=[],a=0;a{function gJe(){this.__data__=[],this.size=0}ace.exports=gJe});var TN=Ne((Cca,oce)=>{function DJe(e,n){return e===n||e!==e&&n!==n}oce.exports=DJe});var ME=Ne((Ica,ice)=>{var yJe=TN();function bJe(e,n){for(var t=e.length;t--;)if(yJe(e[t][0],n))return t;return-1}ice.exports=bJe});var lce=Ne((Tca,uce)=>{var RJe=ME(),wJe=Array.prototype,SJe=wJe.splice;function EJe(e){var n=this.__data__,t=RJe(n,e);if(t<0)return!1;var a=n.length-1;return t==a?n.pop():SJe.call(n,t,1),--this.size,!0}uce.exports=EJe});var sce=Ne((Fca,cce)=>{var CJe=ME();function IJe(e){var n=this.__data__,t=CJe(n,e);return t<0?void 0:n[t][1]}cce.exports=IJe});var vce=Ne((Mca,fce)=>{var TJe=ME();function FJe(e){return TJe(this.__data__,e)>-1}fce.exports=FJe});var pce=Ne((Gca,mce)=>{var MJe=ME();function GJe(e,n){var t=this.__data__,a=MJe(t,e);return a<0?(++this.size,t.push([e,n])):t[a][1]=n,this}mce.exports=GJe});var GE=Ne((Aca,_ce)=>{var AJe=rce(),xJe=lce(),LJe=sce(),jJe=vce(),NJe=pce();function My(e){var n=-1,t=e==null?0:e.length;for(this.clear();++n{var PJe=GE();function OJe(){this.__data__=new PJe,this.size=0}dce.exports=OJe});var Dce=Ne((Lca,gce)=>{function kJe(e){var n=this.__data__,t=n.delete(e);return this.size=n.size,t}gce.exports=kJe});var bce=Ne((jca,yce)=>{function UJe(e){return this.__data__.get(e)}yce.exports=UJe});var wce=Ne((Nca,Rce)=>{function HJe(e){return this.__data__.has(e)}Rce.exports=HJe});var FN=Ne((Pca,Sce)=>{var BJe=typeof global=="object"&&global&&global.Object===Object&&global;Sce.exports=BJe});var l0=Ne((Oca,Ece)=>{var JJe=FN(),WJe=typeof self=="object"&&self&&self.Object===Object&&self,qJe=JJe||WJe||Function("return this")();Ece.exports=qJe});var y4=Ne((kca,Cce)=>{var zJe=l0(),$Je=zJe.Symbol;Cce.exports=$Je});var Mce=Ne((Uca,Fce)=>{var Ice=y4(),Tce=Object.prototype,VJe=Tce.hasOwnProperty,QJe=Tce.toString,AE=Ice?Ice.toStringTag:void 0;function YJe(e){var n=VJe.call(e,AE),t=e[AE];try{e[AE]=void 0;var a=!0}catch{}var r=QJe.call(e);return a&&(n?e[AE]=t:delete e[AE]),r}Fce.exports=YJe});var Ace=Ne((Hca,Gce)=>{var XJe=Object.prototype,ZJe=XJe.toString;function KJe(e){return ZJe.call(e)}Gce.exports=KJe});var xE=Ne((Bca,jce)=>{var xce=y4(),eWe=Mce(),nWe=Ace(),tWe="[object Null]",aWe="[object Undefined]",Lce=xce?xce.toStringTag:void 0;function rWe(e){return e==null?e===void 0?aWe:tWe:Lce&&Lce in Object(e)?eWe(e):nWe(e)}jce.exports=rWe});var MN=Ne((Jca,Nce)=>{function oWe(e){var n=typeof e;return e!=null&&(n=="object"||n=="function")}Nce.exports=oWe});var GN=Ne((Wca,Pce)=>{var iWe=xE(),uWe=MN(),lWe="[object AsyncFunction]",cWe="[object Function]",sWe="[object GeneratorFunction]",fWe="[object Proxy]";function vWe(e){if(!uWe(e))return!1;var n=iWe(e);return n==cWe||n==sWe||n==lWe||n==fWe}Pce.exports=vWe});var kce=Ne((qca,Oce)=>{var mWe=l0(),pWe=mWe["__core-js_shared__"];Oce.exports=pWe});var Bce=Ne((zca,Hce)=>{var AN=kce(),Uce=function(){var e=/[^.]+$/.exec(AN&&AN.keys&&AN.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function _We(e){return!!Uce&&Uce in e}Hce.exports=_We});var xN=Ne(($ca,Jce)=>{var dWe=Function.prototype,hWe=dWe.toString;function gWe(e){if(e!=null){try{return hWe.call(e)}catch{}try{return e+""}catch{}}return""}Jce.exports=gWe});var qce=Ne((Vca,Wce)=>{var DWe=GN(),yWe=Bce(),bWe=MN(),RWe=xN(),wWe=/[\\^$.*+?()[\]{}|]/g,SWe=/^\[object .+?Constructor\]$/,EWe=Function.prototype,CWe=Object.prototype,IWe=EWe.toString,TWe=CWe.hasOwnProperty,FWe=RegExp("^"+IWe.call(TWe).replace(wWe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function MWe(e){if(!bWe(e)||yWe(e))return!1;var n=DWe(e)?FWe:SWe;return n.test(RWe(e))}Wce.exports=MWe});var $ce=Ne((Qca,zce)=>{function GWe(e,n){return e==null?void 0:e[n]}zce.exports=GWe});var sg=Ne((Yca,Vce)=>{var AWe=qce(),xWe=$ce();function LWe(e,n){var t=xWe(e,n);return AWe(t)?t:void 0}Vce.exports=LWe});var b4=Ne((Xca,Qce)=>{var jWe=sg(),NWe=l0(),PWe=jWe(NWe,"Map");Qce.exports=PWe});var LE=Ne((Zca,Yce)=>{var OWe=sg(),kWe=OWe(Object,"create");Yce.exports=kWe});var Kce=Ne((Kca,Zce)=>{var Xce=LE();function UWe(){this.__data__=Xce?Xce(null):{},this.size=0}Zce.exports=UWe});var nse=Ne((esa,ese)=>{function HWe(e){var n=this.has(e)&&delete this.__data__[e];return this.size-=n?1:0,n}ese.exports=HWe});var ase=Ne((nsa,tse)=>{var BWe=LE(),JWe="__lodash_hash_undefined__",WWe=Object.prototype,qWe=WWe.hasOwnProperty;function zWe(e){var n=this.__data__;if(BWe){var t=n[e];return t===JWe?void 0:t}return qWe.call(n,e)?n[e]:void 0}tse.exports=zWe});var ose=Ne((tsa,rse)=>{var $We=LE(),VWe=Object.prototype,QWe=VWe.hasOwnProperty;function YWe(e){var n=this.__data__;return $We?n[e]!==void 0:QWe.call(n,e)}rse.exports=YWe});var use=Ne((asa,ise)=>{var XWe=LE(),ZWe="__lodash_hash_undefined__";function KWe(e,n){var t=this.__data__;return this.size+=this.has(e)?0:1,t[e]=XWe&&n===void 0?ZWe:n,this}ise.exports=KWe});var cse=Ne((rsa,lse)=>{var eqe=Kce(),nqe=nse(),tqe=ase(),aqe=ose(),rqe=use();function Gy(e){var n=-1,t=e==null?0:e.length;for(this.clear();++n{var sse=cse(),oqe=GE(),iqe=b4();function uqe(){this.size=0,this.__data__={hash:new sse,map:new(iqe||oqe),string:new sse}}fse.exports=uqe});var pse=Ne((isa,mse)=>{function lqe(e){var n=typeof e;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?e!=="__proto__":e===null}mse.exports=lqe});var jE=Ne((usa,_se)=>{var cqe=pse();function sqe(e,n){var t=e.__data__;return cqe(n)?t[typeof n=="string"?"string":"hash"]:t.map}_se.exports=sqe});var hse=Ne((lsa,dse)=>{var fqe=jE();function vqe(e){var n=fqe(this,e).delete(e);return this.size-=n?1:0,n}dse.exports=vqe});var Dse=Ne((csa,gse)=>{var mqe=jE();function pqe(e){return mqe(this,e).get(e)}gse.exports=pqe});var bse=Ne((ssa,yse)=>{var _qe=jE();function dqe(e){return _qe(this,e).has(e)}yse.exports=dqe});var wse=Ne((fsa,Rse)=>{var hqe=jE();function gqe(e,n){var t=hqe(this,e),a=t.size;return t.set(e,n),this.size+=t.size==a?0:1,this}Rse.exports=gqe});var LN=Ne((vsa,Sse)=>{var Dqe=vse(),yqe=hse(),bqe=Dse(),Rqe=bse(),wqe=wse();function Ay(e){var n=-1,t=e==null?0:e.length;for(this.clear();++n{var Sqe=GE(),Eqe=b4(),Cqe=LN(),Iqe=200;function Tqe(e,n){var t=this.__data__;if(t instanceof Sqe){var a=t.__data__;if(!Eqe||a.length{var Fqe=GE(),Mqe=hce(),Gqe=Dce(),Aqe=bce(),xqe=wce(),Lqe=Cse();function xy(e){var n=this.__data__=new Fqe(e);this.size=n.size}xy.prototype.clear=Mqe;xy.prototype.delete=Gqe;xy.prototype.get=Aqe;xy.prototype.has=xqe;xy.prototype.set=Lqe;Ise.exports=xy});var Mse=Ne((_sa,Fse)=>{var jqe="__lodash_hash_undefined__";function Nqe(e){return this.__data__.set(e,jqe),this}Fse.exports=Nqe});var Ase=Ne((dsa,Gse)=>{function Pqe(e){return this.__data__.has(e)}Gse.exports=Pqe});var Lse=Ne((hsa,xse)=>{var Oqe=LN(),kqe=Mse(),Uqe=Ase();function R4(e){var n=-1,t=e==null?0:e.length;for(this.__data__=new Oqe;++n{function Hqe(e,n){for(var t=-1,a=e==null?0:e.length;++t{function Bqe(e,n){return e.has(n)}Pse.exports=Bqe});var jN=Ne((ysa,kse)=>{var Jqe=Lse(),Wqe=Nse(),qqe=Ose(),zqe=1,$qe=2;function Vqe(e,n,t,a,r,o){var i=t&zqe,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&$qe?new Jqe:void 0;for(o.set(e,n),o.set(n,e);++f{var Qqe=l0(),Yqe=Qqe.Uint8Array;Use.exports=Yqe});var Jse=Ne((Rsa,Bse)=>{function Xqe(e){var n=-1,t=Array(e.size);return e.forEach(function(a,r){t[++n]=[r,a]}),t}Bse.exports=Xqe});var qse=Ne((wsa,Wse)=>{function Zqe(e){var n=-1,t=Array(e.size);return e.forEach(function(a){t[++n]=a}),t}Wse.exports=Zqe});var Yse=Ne((Ssa,Qse)=>{var zse=y4(),$se=Hse(),Kqe=TN(),eze=jN(),nze=Jse(),tze=qse(),aze=1,rze=2,oze="[object Boolean]",ize="[object Date]",uze="[object Error]",lze="[object Map]",cze="[object Number]",sze="[object RegExp]",fze="[object Set]",vze="[object String]",mze="[object Symbol]",pze="[object ArrayBuffer]",_ze="[object DataView]",Vse=zse?zse.prototype:void 0,NN=Vse?Vse.valueOf:void 0;function dze(e,n,t,a,r,o,i){switch(t){case _ze:if(e.byteLength!=n.byteLength||e.byteOffset!=n.byteOffset)return!1;e=e.buffer,n=n.buffer;case pze:return!(e.byteLength!=n.byteLength||!o(new $se(e),new $se(n)));case oze:case ize:case cze:return Kqe(+e,+n);case uze:return e.name==n.name&&e.message==n.message;case sze:case vze:return e==n+"";case lze:var u=nze;case fze:var l=a&aze;if(u||(u=tze),e.size!=n.size&&!l)return!1;var c=i.get(e);if(c)return c==n;a|=rze,i.set(e,n);var s=eze(u(e),u(n),a,r,o,i);return i.delete(e),s;case mze:if(NN)return NN.call(e)==NN.call(n)}return!1}Qse.exports=dze});var Zse=Ne((Esa,Xse)=>{function hze(e,n){for(var t=-1,a=n.length,r=e.length;++t{var gze=Array.isArray;Kse.exports=gze});var nfe=Ne((Isa,efe)=>{var Dze=Zse(),yze=w4();function bze(e,n,t){var a=n(e);return yze(e)?a:Dze(a,t(e))}efe.exports=bze});var afe=Ne((Tsa,tfe)=>{function Rze(e,n){for(var t=-1,a=e==null?0:e.length,r=0,o=[];++t{function wze(){return[]}rfe.exports=wze});var lfe=Ne((Msa,ufe)=>{var Sze=afe(),Eze=ofe(),Cze=Object.prototype,Ize=Cze.propertyIsEnumerable,ife=Object.getOwnPropertySymbols,Tze=ife?function(e){return e==null?[]:(e=Object(e),Sze(ife(e),function(n){return Ize.call(e,n)}))}:Eze;ufe.exports=Tze});var sfe=Ne((Gsa,cfe)=>{function Fze(e,n){for(var t=-1,a=Array(e);++t{function Mze(e){return e!=null&&typeof e=="object"}ffe.exports=Mze});var mfe=Ne((xsa,vfe)=>{var Gze=xE(),Aze=NE(),xze="[object Arguments]";function Lze(e){return Aze(e)&&Gze(e)==xze}vfe.exports=Lze});var hfe=Ne((Lsa,dfe)=>{var pfe=mfe(),jze=NE(),_fe=Object.prototype,Nze=_fe.hasOwnProperty,Pze=_fe.propertyIsEnumerable,Oze=pfe(function(){return arguments}())?pfe:function(e){return jze(e)&&Nze.call(e,"callee")&&!Pze.call(e,"callee")};dfe.exports=Oze});var Dfe=Ne((jsa,gfe)=>{function kze(){return!1}gfe.exports=kze});var PN=Ne((PE,Ly)=>{var Uze=l0(),Hze=Dfe(),yfe=typeof PE=="object"&&PE&&!PE.nodeType&&PE,bfe=yfe&&typeof Ly=="object"&&Ly&&!Ly.nodeType&&Ly,Bze=bfe&&bfe.exports===yfe,Rfe=Bze?Uze.Buffer:void 0,Jze=Rfe?Rfe.isBuffer:void 0,Wze=Jze||Hze;Ly.exports=Wze});var Sfe=Ne((Nsa,wfe)=>{var qze=9007199254740991,zze=/^(?:0|[1-9]\d*)$/;function $ze(e,n){var t=typeof e;return n=n==null?qze:n,!!n&&(t=="number"||t!="symbol"&&zze.test(e))&&e>-1&&e%1==0&&e{var Vze=9007199254740991;function Qze(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Vze}Efe.exports=Qze});var Ife=Ne((Osa,Cfe)=>{var Yze=xE(),Xze=ON(),Zze=NE(),Kze="[object Arguments]",e$e="[object Array]",n$e="[object Boolean]",t$e="[object Date]",a$e="[object Error]",r$e="[object Function]",o$e="[object Map]",i$e="[object Number]",u$e="[object Object]",l$e="[object RegExp]",c$e="[object Set]",s$e="[object String]",f$e="[object WeakMap]",v$e="[object ArrayBuffer]",m$e="[object DataView]",p$e="[object Float32Array]",_$e="[object Float64Array]",d$e="[object Int8Array]",h$e="[object Int16Array]",g$e="[object Int32Array]",D$e="[object Uint8Array]",y$e="[object Uint8ClampedArray]",b$e="[object Uint16Array]",R$e="[object Uint32Array]",Ur={};Ur[p$e]=Ur[_$e]=Ur[d$e]=Ur[h$e]=Ur[g$e]=Ur[D$e]=Ur[y$e]=Ur[b$e]=Ur[R$e]=!0;Ur[Kze]=Ur[e$e]=Ur[v$e]=Ur[n$e]=Ur[m$e]=Ur[t$e]=Ur[a$e]=Ur[r$e]=Ur[o$e]=Ur[i$e]=Ur[u$e]=Ur[l$e]=Ur[c$e]=Ur[s$e]=Ur[f$e]=!1;function w$e(e){return Zze(e)&&Xze(e.length)&&!!Ur[Yze(e)]}Cfe.exports=w$e});var Ffe=Ne((ksa,Tfe)=>{function S$e(e){return function(n){return e(n)}}Tfe.exports=S$e});var Gfe=Ne((kE,jy)=>{var E$e=FN(),Mfe=typeof kE=="object"&&kE&&!kE.nodeType&&kE,OE=Mfe&&typeof jy=="object"&&jy&&!jy.nodeType&&jy,C$e=OE&&OE.exports===Mfe,kN=C$e&&E$e.process,I$e=function(){try{var e=OE&&OE.require&&OE.require("util").types;return e||kN&&kN.binding&&kN.binding("util")}catch{}}();jy.exports=I$e});var UN=Ne((Usa,Lfe)=>{var T$e=Ife(),F$e=Ffe(),Afe=Gfe(),xfe=Afe&&Afe.isTypedArray,M$e=xfe?F$e(xfe):T$e;Lfe.exports=M$e});var Nfe=Ne((Hsa,jfe)=>{var G$e=sfe(),A$e=hfe(),x$e=w4(),L$e=PN(),j$e=Sfe(),N$e=UN(),P$e=Object.prototype,O$e=P$e.hasOwnProperty;function k$e(e,n){var t=x$e(e),a=!t&&A$e(e),r=!t&&!a&&L$e(e),o=!t&&!a&&!r&&N$e(e),i=t||a||r||o,u=i?G$e(e.length,String):[],l=u.length;for(var c in e)(n||O$e.call(e,c))&&!(i&&(c=="length"||r&&(c=="offset"||c=="parent")||o&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||j$e(c,l)))&&u.push(c);return u}jfe.exports=k$e});var Ofe=Ne((Bsa,Pfe)=>{var U$e=Object.prototype;function H$e(e){var n=e&&e.constructor,t=typeof n=="function"&&n.prototype||U$e;return e===t}Pfe.exports=H$e});var Ufe=Ne((Jsa,kfe)=>{function B$e(e,n){return function(t){return e(n(t))}}kfe.exports=B$e});var Bfe=Ne((Wsa,Hfe)=>{var J$e=Ufe(),W$e=J$e(Object.keys,Object);Hfe.exports=W$e});var Wfe=Ne((qsa,Jfe)=>{var q$e=Ofe(),z$e=Bfe(),$$e=Object.prototype,V$e=$$e.hasOwnProperty;function Q$e(e){if(!q$e(e))return z$e(e);var n=[];for(var t in Object(e))V$e.call(e,t)&&t!="constructor"&&n.push(t);return n}Jfe.exports=Q$e});var zfe=Ne((zsa,qfe)=>{var Y$e=GN(),X$e=ON();function Z$e(e){return e!=null&&X$e(e.length)&&!Y$e(e)}qfe.exports=Z$e});var Vfe=Ne(($sa,$fe)=>{var K$e=Nfe(),eVe=Wfe(),nVe=zfe();function tVe(e){return nVe(e)?K$e(e):eVe(e)}$fe.exports=tVe});var Yfe=Ne((Vsa,Qfe)=>{var aVe=nfe(),rVe=lfe(),oVe=Vfe();function iVe(e){return aVe(e,oVe,rVe)}Qfe.exports=iVe});var Kfe=Ne((Qsa,Zfe)=>{var Xfe=Yfe(),uVe=1,lVe=Object.prototype,cVe=lVe.hasOwnProperty;function sVe(e,n,t,a,r,o){var i=t&uVe,u=Xfe(e),l=u.length,c=Xfe(n),s=c.length;if(l!=s&&!i)return!1;for(var f=l;f--;){var v=u[f];if(!(i?v in n:cVe.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 y=i;++f{var fVe=sg(),vVe=l0(),mVe=fVe(vVe,"DataView");eve.exports=mVe});var ave=Ne((Xsa,tve)=>{var pVe=sg(),_Ve=l0(),dVe=pVe(_Ve,"Promise");tve.exports=dVe});var ove=Ne((Zsa,rve)=>{var hVe=sg(),gVe=l0(),DVe=hVe(gVe,"Set");rve.exports=DVe});var uve=Ne((Ksa,ive)=>{var yVe=sg(),bVe=l0(),RVe=yVe(bVe,"WeakMap");ive.exports=RVe});var _ve=Ne((efa,pve)=>{var HN=nve(),BN=b4(),JN=ave(),WN=ove(),qN=uve(),lve=xE(),Ny=xN(),cve="[object Map]",wVe="[object Object]",sve="[object Promise]",fve="[object Set]",vve="[object WeakMap]",mve="[object DataView]",SVe=Ny(HN),EVe=Ny(BN),CVe=Ny(JN),IVe=Ny(WN),TVe=Ny(qN),fg=lve;(HN&&fg(new HN(new ArrayBuffer(1)))!=mve||BN&&fg(new BN)!=cve||JN&&fg(JN.resolve())!=sve||WN&&fg(new WN)!=fve||qN&&fg(new qN)!=vve)&&(fg=function(e){var n=lve(e),t=n==wVe?e.constructor:void 0,a=t?Ny(t):"";if(a)switch(a){case SVe:return mve;case EVe:return cve;case CVe:return sve;case IVe:return fve;case TVe:return vve}return n});pve.exports=fg});var wve=Ne((nfa,Rve)=>{var zN=Tse(),FVe=jN(),MVe=Yse(),GVe=Kfe(),dve=_ve(),hve=w4(),gve=PN(),AVe=UN(),xVe=1,Dve="[object Arguments]",yve="[object Array]",S4="[object Object]",LVe=Object.prototype,bve=LVe.hasOwnProperty;function jVe(e,n,t,a,r,o){var i=hve(e),u=hve(n),l=i?yve:dve(e),c=u?yve:dve(n);l=l==Dve?S4:l,c=c==Dve?S4:c;var s=l==S4,f=c==S4,v=l==c;if(v&&gve(e)){if(!gve(n))return!1;i=!0,s=!1}if(v&&!s)return o||(o=new zN),i||AVe(e)?FVe(e,n,t,a,r,o):MVe(e,n,l,t,a,r,o);if(!(t&xVe)){var m=s&&bve.call(e,"__wrapped__"),_=f&&bve.call(n,"__wrapped__");if(m||_){var R=m?e.value():e,y=_?n.value():n;return o||(o=new zN),r(R,y,t,a,o)}}return v?(o||(o=new zN),GVe(e,n,t,a,r,o)):!1}Rve.exports=jVe});var Ive=Ne((tfa,Cve)=>{var NVe=wve(),Sve=NE();function Eve(e,n,t,a,r){return e===n?!0:e==null||n==null||!Sve(e)&&!Sve(n)?e!==e&&n!==n:NVe(e,n,t,a,Eve,r)}Cve.exports=Eve});var Fve=Ne((afa,Tve)=>{var PVe=Ive();function OVe(e,n){return PVe(e,n)}Tve.exports=OVe});var s0e=Ne((Yva,vQe)=>{vQe.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 j4=Ne($E=>{"use strict";Object.defineProperty($E,"__esModule",{value:!0});$E.Direction=void 0;var UYe;(function(e){e.Right="to right",e.Left="to left",e.Down="to bottom",e.Up="to top"})(UYe=$E.Direction||($E.Direction={}))});var RP=Ne(Zt=>{"use strict";var VE=Zt&&Zt.__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,")"))}Zt.checkBoundaries=zYe;function $Ye(e,n,t){return et?t:e}Zt.checkValuesAgainstBoundaries=$Ye;function VYe(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}"))}Zt.checkInitialOverlap=VYe;function QYe(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)}}Zt.getMargin=QYe;function YYe(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)}}Zt.getPaddingAndBorder=YYe;function XYe(e,n,t){var a=t?-1:1;e.forEach(function(r,o){return vme(r,a*n[o].x,n[o].y)})}Zt.translateThumbs=XYe;function ZYe(e,n,t,a){for(var r=0,o=pme(e[0],n,t,a),i=1;ii?l:i},e.getBoundingClientRect().width));return o},rXe=function(e,n,t,a,r,o,i){i===void 0&&(i=function(c){return c});var u=[],l=function(c){var s=mme(t[c],a[c],r,o,i),f=n[c].x;n.forEach(function(v,m){var _=v.x,R=mme(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=VE(VE([],u,!0),[c,m],!1),l(m)))})};return l(e),Array.from(new Set(u.sort()))},oXe=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,Zt.getStepDecimals)(a),u=(0,bP.useState)({}),l=u[0],c=u[1],s=(0,bP.useState)(o(n[t].toFixed(i))),f=s[0],v=s[1];return(0,bP.useEffect)(function(){if(e){var m=e.getThumbs();if(m.length<1)return;var _={},R=e.getOffsets(),y=rXe(t,R,m,n,r,i,o),D=o(n[t].toFixed(i));if(y.length){var S=y.reduce(function(Q,de,fe,ge){return Q.length?VE(VE([],Q,!0),[R[ge[fe]].x],!1):[R[ge[fe]].x]},[]);if(Math.min.apply(Math,S)===R[t].x){var M=[];y.forEach(function(Q){M.push(n[Q].toFixed(i))}),D=Array.from(new Set(M.sort(function(Q,de){return parseFloat(Q)-parseFloat(de)}))).map(o).join(r);var P=Math.min.apply(Math,S),k=Math.max.apply(Math,S),N=m[y[S.indexOf(k)]].getBoundingClientRect().width;_.left="".concat(Math.abs(P-(k+N))/2,"px"),_.transform="translate(-50%, 0)"}else _.visibility="hidden"}v(D),c(_)}},[e,n]),[f,l]};Zt.useThumbOverlap=oXe;function pme(e,n,t,a){var r=e.getBoundingClientRect(),o=r.left,i=r.top,u=r.width,l=r.height;return fme(a)?Math.abs(t-(i+l/2)):Math.abs(n-(o+u/2))}});var dme=Ne(Lc=>{"use strict";var iXe=Lc&&Lc.__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)}}(),uXe=Lc&&Lc.__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]}),lXe=Lc&&Lc.__setModuleDefault||(Object.create?function(e,n){Object.defineProperty(e,"default",{enumerable:!0,value:n})}:function(e,n){e.default=n}),cXe=Lc&&Lc.__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)&&uXe(n,e,t);return lXe(n,e),n},_me=Lc&&Lc.__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,Ua.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,Ua.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,Ua.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,Ua.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===Pi.Direction.Left||s===Pi.Direction.Down?-1:1;v!==-1&&(sXe.includes(r.key)?(r.preventDefault(),a.setState({draggedThumbIndex:v,isChanged:!0}),u((0,Ua.replaceAt)(i,v,a.normalizeValue(i[v]+m*(r.key==="PageUp"?l*10:l),v)))):fXe.includes(r.key)?(r.preventDefault(),a.setState({draggedThumbIndex:v,isChanged:!0}),u((0,Ua.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,y=c.rtl;if(u===-1&&l[0]===-1&&l[1]===-1)return null;var D=a.trackRef.current;if(!D)return null;var S=D.getBoundingClientRect(),M=(0,Ua.isVertical)(s)?S.height:S.width;if(l[0]!==-1&&l[1]!==-1){var P=r-l[0],k=o-l[1],N=0;switch(s){case Pi.Direction.Right:case Pi.Direction.Left:N=P/M*(v-f);break;case Pi.Direction.Down:case Pi.Direction.Up:N=k/M*(v-f);break;default:(0,Ua.assertUnreachable)(s)}if(y&&(N*=-1),Math.abs(N)>=R/2){for(var Q=0;Qv?N=v-_[Q]:de=R/2&&m((0,Ua.replaceAt)(_,u,a.normalizeValue(ge,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,Ua.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,Ua.isVertical)(this.props.direction)?"ns-resize":"ew-resize":l.length===1&&!v?"pointer":"inherit"},onMouseDown:v?Ua.voidFn:this.onMouseDownTrack,onTouchStart:v?Ua.voidFn:this.onTouchStartTrack,ref:this.trackRef},isDragged:this.state.draggedThumbIndex>-1,disabled:v,children:_me(_me([],y.map(function(D,S,M){return u({props:{style:t.props.direction===Pi.Direction.Left||t.props.direction===Pi.Direction.Right?{position:"absolute",left:"".concat(D[0],"px"),marginTop:"".concat(D[1],"px")}:{position:"absolute",top:"".concat(D[0],"px"),marginLeft:"".concat(D[1],"px")},key:"mark".concat(S),ref:t.markRefs[S]},index:S})}),!0),l.map(function(D,S){var M=t.state.draggedThumbIndex===S;return o({index:S,value:D,isDragged:M,props:{style:{position:"absolute",zIndex:R[S],cursor:v?"inherit":M?"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":D,draggable:!1,ref:t.thumbRefs[S],role:"slider",onKeyDown:v?Ua.voidFn:t.onKeyDown,onKeyUp:v?Ua.voidFn:t.onKeyUp}})}),!0)})},n.defaultProps={step:1,direction:Pi.Direction.Right,rtl:!1,disabled:!1,allowOverlap:!1,draggableTrack:!1,min:0,max:100},n}(N4.Component);Lc.default=vXe});var hme=Ne(Lu=>{"use strict";var mXe=Lu&&Lu.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Lu,"__esModule",{value:!0});Lu.checkValuesAgainstBoundaries=Lu.relativeValue=Lu.useThumbOverlap=Lu.Direction=Lu.getTrackBackground=Lu.Range=void 0;var pXe=mXe(dme());Lu.Range=pXe.default;var P4=RP();Object.defineProperty(Lu,"getTrackBackground",{enumerable:!0,get:function(){return P4.getTrackBackground}});Object.defineProperty(Lu,"useThumbOverlap",{enumerable:!0,get:function(){return P4.useThumbOverlap}});Object.defineProperty(Lu,"relativeValue",{enumerable:!0,get:function(){return P4.relativeValue}});Object.defineProperty(Lu,"checkValuesAgainstBoundaries",{enumerable:!0,get:function(){return P4.checkValuesAgainstBoundaries}});var _Xe=j4();Object.defineProperty(Lu,"Direction",{enumerable:!0,get:function(){return _Xe.Direction}})});var Wme=Ne(rr=>{"use strict";var By,XE,W4,AP;typeof performance=="object"&&typeof performance.now=="function"?(kme=performance,rr.unstable_now=function(){return kme.now()}):(xP=Date,Ume=xP.now(),rr.unstable_now=function(){return xP.now()-Ume});var kme,xP,Ume;typeof window=="undefined"||typeof MessageChannel!="function"?(Jy=null,LP=null,jP=function(){if(Jy!==null)try{var e=rr.unstable_now();Jy(!0,e),Jy=null}catch(n){throw setTimeout(jP,0),n}},By=function(e){Jy!==null?setTimeout(By,0,e):(Jy=e,setTimeout(jP,0))},XE=function(e,n){LP=setTimeout(e,n)},W4=function(){clearTimeout(LP)},rr.unstable_shouldYield=function(){return!1},AP=rr.unstable_forceFrameRate=function(){}):(Hme=window.setTimeout,Bme=window.clearTimeout,typeof console!="undefined"&&(Jme=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 Jme!="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")),ZE=!1,KE=null,q4=-1,NP=5,PP=0,rr.unstable_shouldYield=function(){return rr.unstable_now()>=PP},AP=function(){},rr.unstable_forceFrameRate=function(e){0>e||125>>1,r=e[a];if(r!==void 0&&0V4(i,t))l!==void 0&&0>V4(l,i)?(e[a]=l,e[u]=t,a=u):(e[a]=i,e[o]=t,a=o);else if(l!==void 0&&0>V4(l,t))e[a]=l,e[u]=t,a=u;else break e}}return n}return null}function V4(e,n){var t=e.sortIndex-n.sortIndex;return t!==0?t:e.id-n.id}var f0=[],O_=[],zXe=1,As=null,ju=3,Q4=!1,hg=!1,eC=!1;function UP(e){for(var n=Kf(O_);n!==null;){if(n.callback===null)$4(O_);else if(n.startTime<=e)$4(O_),n.sortIndex=n.expirationTime,kP(f0,n);else break;n=Kf(O_)}}function HP(e){if(eC=!1,UP(e),!hg)if(Kf(f0)!==null)hg=!0,By(BP);else{var n=Kf(O_);n!==null&&XE(HP,n.startTime-e)}}function BP(e,n){hg=!1,eC&&(eC=!1,W4()),Q4=!0;var t=ju;try{for(UP(n),As=Kf(f0);As!==null&&(!(As.expirationTime>n)||e&&!rr.unstable_shouldYield());){var a=As.callback;if(typeof a=="function"){As.callback=null,ju=As.priorityLevel;var r=a(As.expirationTime<=n);n=rr.unstable_now(),typeof r=="function"?As.callback=r:As===Kf(f0)&&$4(f0),UP(n)}else $4(f0);As=Kf(f0)}if(As!==null)var o=!0;else{var i=Kf(O_);i!==null&&XE(HP,i.startTime-n),o=!1}return o}finally{As=null,ju=t,Q4=!1}}var $Xe=AP;rr.unstable_IdlePriority=5;rr.unstable_ImmediatePriority=1;rr.unstable_LowPriority=4;rr.unstable_NormalPriority=3;rr.unstable_Profiling=null;rr.unstable_UserBlockingPriority=2;rr.unstable_cancelCallback=function(e){e.callback=null};rr.unstable_continueExecution=function(){hg||Q4||(hg=!0,By(BP))};rr.unstable_getCurrentPriorityLevel=function(){return ju};rr.unstable_getFirstCallbackNode=function(){return Kf(f0)};rr.unstable_next=function(e){switch(ju){case 1:case 2:case 3:var n=3;break;default:n=ju}var t=ju;ju=n;try{return e()}finally{ju=t}};rr.unstable_pauseExecution=function(){};rr.unstable_requestPaint=$Xe;rr.unstable_runWithPriority=function(e,n){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var t=ju;ju=e;try{return n()}finally{ju=t}};rr.unstable_scheduleCallback=function(e,n,t){var a=rr.unstable_now();switch(typeof t=="object"&&t!==null?(t=t.delay,t=typeof t=="number"&&0a?(e.sortIndex=t,kP(O_,e),Kf(f0)===null&&e===Kf(O_)&&(eC?W4():eC=!0,XE(HP,t-a))):(e.sortIndex=r,kP(f0,e),hg||Q4||(hg=!0,By(BP))),e};rr.unstable_wrapCallback=function(e){var n=ju;return function(){var t=ju;ju=n;try{return e.apply(this,arguments)}finally{ju=t}}}});var zme=Ne((FMa,qme)=>{"use strict";qme.exports=Wme()});var Ade=Ne(Os=>{"use strict";var Y4=fs(),Zr=gF(),Zi=zme();function fn(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;tn}return!1}function ll(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 ll(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 ll(n,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){du[e]=new ll(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){du[e]=new ll(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 ll(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){du[e]=new ll(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){du[e]=new ll(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){du[e]=new ll(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){du[e]=new ll(e,5,!1,e.toLowerCase(),null,!1,!1)});var JP=/[\-:]([a-z])/g;function WP(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(JP,WP);du[n]=new ll(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(JP,WP);du[n]=new ll(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(JP,WP);du[n]=new ll(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){du[e]=new ll(e,1,!1,e.toLowerCase(),null,!1,!1)});du.xlinkHref=new ll("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){du[e]=new ll(e,1,!1,e.toLowerCase(),null,!0,!0)});function qP(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{nO=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?iC(e):""}function ZXe(e){switch(e.tag){case 5:return iC(e.type);case 16:return iC("Lazy");case 13:return iC("Suspense");case 19:return iC("SuspenseList");case 0:case 2:case 15:return e=e3(e.type,!1),e;case 11:return e=e3(e.type.render,!1),e;case 22:return e=e3(e.type._render,!1),e;case 1:return e=e3(e.type,!0),e;default:return""}}function qy(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 yg:return"Portal";case aC:return"Profiler";case zP:return"StrictMode";case rC:return"Suspense";case Z4:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case VP:return(e.displayName||"Context")+".Consumer";case $P:return(e._context.displayName||"Context")+".Provider";case X4:var n=e.render;return n=n.displayName||n.name||"",e.displayName||(n!==""?"ForwardRef("+n+")":"ForwardRef");case K4:return qy(e.type);case YP:return qy(e._render);case QP:n=e._payload,e=e._init;try{return qy(e(n))}catch{}}return null}function U_(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function Kme(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function KXe(e){var n=Kme(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 n3(e){e._valueTracker||(e._valueTracker=KXe(e))}function epe(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),a="";return e&&(a=Kme(e)?e.checked?"true":"false":e.value),e=a,e!==t?(n.setValue(e),!0):!1}function t3(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 tO(e,n){var t=n.checked;return Zr({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t!=null?t:e._wrapperState.initialChecked})}function npe(e,n){var t=n.defaultValue==null?"":n.defaultValue,a=n.checked!=null?n.checked:n.defaultChecked;t=U_(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 tpe(e,n){n=n.checked,n!=null&&qP(e,"checked",n,!1)}function aO(e,n){tpe(e,n);var t=U_(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")?rO(e,n.type,t):n.hasOwnProperty("defaultValue")&&rO(e,n.type,U_(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function ape(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 rO(e,n,t){(n!=="number"||t3(e.ownerDocument)!==e)&&(t==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}function eZe(e){var n="";return Y4.Children.forEach(e,function(t){t!=null&&(n+=t)}),n}function oO(e,n){return e=Zr({children:void 0},n),(n=eZe(n.children))&&(e.children=n),e}function zy(e,n,t,a){if(e=e.options,n){n={};for(var r=0;r=t.length))throw Error(fn(93));t=t[0]}n=t}n==null&&(n=""),t=n}e._wrapperState={initialValue:U_(t)}}function ope(e,n){var t=U_(n.value),a=U_(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 ipe(e){var n=e.textContent;n===e._wrapperState.initialValue&&n!==""&&n!==null&&(e.value=n)}var uO={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function upe(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 lO(e,n){return e==null||e==="http://www.w3.org/1999/xhtml"?upe(n):e==="http://www.w3.org/2000/svg"&&n==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var a3,lpe=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!==uO.svg||"innerHTML"in e)e.innerHTML=n;else{for(a3=a3||document.createElement("div"),a3.innerHTML=""+n.valueOf().toString()+"",n=a3.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function uC(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&t.nodeType===3){t.nodeValue=n;return}}e.textContent=n}var lC={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},nZe=["Webkit","ms","Moz","O"];Object.keys(lC).forEach(function(e){nZe.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),lC[n]=lC[e]})});function cpe(e,n,t){return n==null||typeof n=="boolean"||n===""?"":t||typeof n!="number"||n===0||lC.hasOwnProperty(e)&&lC[e]?(""+n).trim():n+"px"}function spe(e,n){e=e.style;for(var t in n)if(n.hasOwnProperty(t)){var a=t.indexOf("--")===0,r=cpe(t,n[t],a);t==="float"&&(t="cssFloat"),a?e.setProperty(t,r):e[t]=r}}var tZe=Zr({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 cO(e,n){if(n){if(tZe[e]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(fn(137,e));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(fn(60));if(!(typeof n.dangerouslySetInnerHTML=="object"&&"__html"in n.dangerouslySetInnerHTML))throw Error(fn(61))}if(n.style!=null&&typeof n.style!="object")throw Error(fn(62))}}function sO(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 fO(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var vO=null,$y=null,Vy=null;function fpe(e){if(e=CC(e)){if(typeof vO!="function")throw Error(fn(280));var n=e.stateNode;n&&(n=S3(n),vO(e.stateNode,e.type,n))}}function vpe(e){$y?Vy?Vy.push(e):Vy=[e]:$y=e}function mpe(){if($y){var e=$y,n=Vy;if(Vy=$y=null,fpe(e),n)for(e=0;ea?0:1<t;t++)n.push(e);return n}function s3(e,n,t){e.pendingLanes|=n;var a=n-1;e.suspendedLanes&=a,e.pingedLanes&=a,e=e.eventTimes,n=31-W_(n),e[n]=t}var W_=Math.clz32?Math.clz32:gZe,dZe=Math.log,hZe=Math.LN2;function gZe(e){return e===0?32:31-(dZe(e)/hZe|0)|0}var DZe=Zi.unstable_UserBlockingPriority,yZe=Zi.unstable_runWithPriority,f3=!0;function bZe(e,n,t,a){bg||pO();var r=CO,o=bg;bg=!0;try{ppe(r,e,n,t,a)}finally{(bg=o)||dO()}}function RZe(e,n,t,a){yZe(DZe,CO.bind(null,e,n,t,a))}function CO(e,n,t,a){if(f3){var r;if((r=(n&4)==0)&&0=DC),Upe=String.fromCharCode(32),Hpe=!1;function Bpe(e,n){switch(e){case"keyup":return qZe.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Jpe(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var eb=!1;function $Ze(e,n){switch(e){case"compositionend":return Jpe(n);case"keypress":return n.which!==32?null:(Hpe=!0,Upe);case"textInput":return e=n.data,e===Upe&&Hpe?null:e;default:return null}}function VZe(e,n){if(eb)return e==="compositionend"||!LO&&Bpe(e,n)?(e=Lpe(),v3=TO=q_=null,eb=!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=Qpe(t)}}function Xpe(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?Xpe(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function Zpe(){for(var e=window,n=t3();n instanceof e.HTMLIFrameElement;){try{var t=typeof n.contentWindow.location.href=="string"}catch{t=!1}if(t)e=n.contentWindow;else break;n=t3(e.document)}return n}function NO(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 rKe=km&&"documentMode"in document&&11>=document.documentMode,nb=null,PO=null,wC=null,OO=!1;function Kpe(e,n,t){var a=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;OO||nb==null||nb!==t3(a)||(a=nb,"selectionStart"in a&&NO(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}),wC&&RC(wC,a)||(wC=a,a=y3(PO,"onSelect"),0ib||(e.current=qO[ib],qO[ib]=null,ib--)}function Ao(e,n){ib++,qO[ib]=e.current,e.current=n}var V_={},Nu=$_(V_),Jl=$_(!1),Sg=V_;function ub(e,n){var t=e.type.contextTypes;if(!t)return V_;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 Wl(e){return e=e.childContextTypes,e!=null}function E3(){Br(Jl),Br(Nu)}function p_e(e,n,t){if(Nu.current!==V_)throw Error(fn(168));Ao(Nu,n),Ao(Jl,t)}function __e(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(fn(108,qy(n)||"Unknown",r));return Zr({},t,a)}function C3(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||V_,Sg=Nu.current,Ao(Nu,e),Ao(Jl,Jl.current),!0}function d_e(e,n,t){var a=e.stateNode;if(!a)throw Error(fn(169));t?(e=__e(e,n,Sg),a.__reactInternalMemoizedMergedChildContext=e,Br(Jl),Br(Nu),Ao(Nu,e)):Br(Jl),Ao(Jl,t)}var zO=null,Eg=null,uKe=Zi.unstable_runWithPriority,$O=Zi.unstable_scheduleCallback,VO=Zi.unstable_cancelCallback,lKe=Zi.unstable_shouldYield,h_e=Zi.unstable_requestPaint,QO=Zi.unstable_now,cKe=Zi.unstable_getCurrentPriorityLevel,I3=Zi.unstable_ImmediatePriority,g_e=Zi.unstable_UserBlockingPriority,D_e=Zi.unstable_NormalPriority,y_e=Zi.unstable_LowPriority,b_e=Zi.unstable_IdlePriority,YO={},sKe=h_e!==void 0?h_e:function(){},Um=null,T3=null,XO=!1,R_e=QO(),Pu=1e4>R_e?QO:function(){return QO()-R_e};function lb(){switch(cKe()){case I3:return 99;case g_e:return 98;case D_e:return 97;case y_e:return 96;case b_e:return 95;default:throw Error(fn(332))}}function w_e(e){switch(e){case 99:return I3;case 98:return g_e;case 97:return D_e;case 96:return y_e;case 95:return b_e;default:throw Error(fn(332))}}function Cg(e,n){return e=w_e(e),uKe(e,n)}function IC(e,n,t){return e=w_e(e),$O(e,n,t)}function m0(){if(T3!==null){var e=T3;T3=null,VO(e)}S_e()}function S_e(){if(!XO&&Um!==null){XO=!0;var e=0;try{var n=Um;Cg(99,function(){for(;eQ?(de=N,N=null):de=N.sibling;var fe=v(y,N,S[Q],M);if(fe===null){N===null&&(N=de);break}e&&N&&fe.alternate===null&&n(y,N),D=o(fe,D,Q),k===null?P=fe:k.sibling=fe,k=fe,N=de}if(Q===S.length)return t(y,N),P;if(N===null){for(;QQ?(de=N,N=null):de=N.sibling;var ge=v(y,N,fe.value,M);if(ge===null){N===null&&(N=de);break}e&&N&&ge.alternate===null&&n(y,N),D=o(ge,D,Q),k===null?P=ge:k.sibling=ge,k=ge,N=de}if(fe.done)return t(y,N),P;if(N===null){for(;!fe.done;Q++,fe=S.next())fe=f(y,fe.value,M),fe!==null&&(D=o(fe,D,Q),k===null?P=fe:k.sibling=fe,k=fe);return P}for(N=a(y,N);!fe.done;Q++,fe=S.next())fe=m(N,y,Q,fe.value,M),fe!==null&&(e&&fe.alternate!==null&&N.delete(fe.key===null?Q:fe.key),D=o(fe,D,Q),k===null?P=fe:k.sibling=fe,k=fe);return e&&N.forEach(function(re){return n(y,re)}),P}return function(y,D,S,M){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 tC:e:{for(k=S.key,P=D;P!==null;){if(P.key===k){switch(P.tag){case 7:if(S.type===k_){t(y,P.sibling),D=r(P,S.props.children),D.return=y,y=D;break e}break;default:if(P.elementType===S.type){t(y,P.sibling),D=r(P,S.props),D.ref=FC(y,P,S),D.return=y,y=D;break e}}t(y,P);break}else n(y,P);P=P.sibling}S.type===k_?(D=gb(S.props.children,y.mode,M,S.key),D.return=y,y=D):(M=K3(S.type,S.key,S.props,null,y.mode,M),M.ref=FC(y,D,S),M.return=y,y=M)}return i(y);case yg:e:{for(P=S.key;D!==null;){if(D.key===P)if(D.tag===4&&D.stateNode.containerInfo===S.containerInfo&&D.stateNode.implementation===S.implementation){t(y,D.sibling),D=r(D,S.children||[]),D.return=y,y=D;break e}else{t(y,D);break}else n(y,D);D=D.sibling}D=Ok(S,y.mode,M),D.return=y,y=D}return i(y)}if(typeof S=="string"||typeof S=="number")return S=""+S,D!==null&&D.tag===6?(t(y,D.sibling),D=r(D,S),D.return=y,y=D):(t(y,D),D=Pk(S,y.mode,M),D.return=y,y=D),i(y);if(L3(S))return _(y,D,S,M);if(oC(S))return R(y,D,S,M);if(k&&j3(y,S),typeof S=="undefined"&&!P)switch(y.tag){case 1:case 22:case 0:case 11:case 15:throw Error(fn(152,qy(y.type)||"Component"))}return t(y,D)}}var N3=x_e(!0),L_e=x_e(!1),MC={},p0=$_(MC),GC=$_(MC),AC=$_(MC);function Ig(e){if(e===MC)throw Error(fn(174));return e}function tk(e,n){switch(Ao(AC,n),Ao(GC,e),Ao(p0,MC),e=n.nodeType,e){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:lO(null,"");break;default:e=e===8?n.parentNode:n,n=e.namespaceURI||null,e=e.tagName,n=lO(n,e)}Br(p0),Ao(p0,n)}function fb(){Br(p0),Br(GC),Br(AC)}function j_e(e){Ig(AC.current);var n=Ig(p0.current),t=lO(n,e.type);n!==t&&(Ao(GC,e),Ao(p0,t))}function ak(e){GC.current===e&&(Br(p0),Br(GC))}var xo=$_(0);function P3(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 Hm=null,Z_=null,_0=!1;function N_e(e,n){var t=Ps(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 P_e(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 rk(e){if(_0){var n=Z_;if(n){var t=n;if(!P_e(e,n)){if(n=ab(t.nextSibling),!n||!P_e(e,n)){e.flags=e.flags&-1025|2,_0=!1,Hm=e;return}N_e(Hm,t)}Hm=e,Z_=ab(n.firstChild)}else e.flags=e.flags&-1025|2,_0=!1,Hm=e}}function O_e(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Hm=e}function O3(e){if(e!==Hm)return!1;if(!_0)return O_e(e),_0=!0,!1;var n=e.type;if(e.tag!==5||n!=="head"&&n!=="body"&&!BO(n,e.memoizedProps))for(n=Z_;n;)N_e(e,n),n=ab(n.nextSibling);if(O_e(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(fn(317));e:{for(e=e.nextSibling,n=0;e;){if(e.nodeType===8){var t=e.data;if(t==="/$"){if(n===0){Z_=ab(e.nextSibling);break e}n--}else t!=="$"&&t!=="$!"&&t!=="$?"||n++}e=e.nextSibling}Z_=null}}else Z_=Hm?ab(e.stateNode.nextSibling):null;return!0}function ok(){Z_=Hm=null,_0=!1}var vb=[];function ik(){for(var e=0;eo))throw Error(fn(301));o+=1,hu=Ou=null,n.updateQueue=null,xC.current=_Ke,e=t(a,r)}while(jC)}if(xC.current=J3,n=Ou!==null&&Ou.next!==null,LC=0,hu=Ou=Yo=null,k3=!1,n)throw Error(fn(300));return e}function Tg(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return hu===null?Yo.memoizedState=hu=e:hu=hu.next=e,hu}function Fg(){if(Ou===null){var e=Yo.alternate;e=e!==null?e.memoizedState:null}else e=Ou.next;var n=hu===null?Yo.memoizedState:hu.next;if(n!==null)hu=n,Ou=e;else{if(e===null)throw Error(fn(310));Ou=e,e={memoizedState:Ou.memoizedState,baseState:Ou.baseState,baseQueue:Ou.baseQueue,queue:Ou.queue,next:null},hu===null?Yo.memoizedState=hu=e:hu=hu.next=e}return hu}function d0(e,n){return typeof n=="function"?n(e):n}function NC(e){var n=Fg(),t=n.queue;if(t===null)throw Error(fn(311));t.lastRenderedReducer=e;var a=Ou,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((LC&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,Yo.lanes|=c,UC|=c}l=l.next}while(l!==null&&l!==r);u===null?o=a:u.next=i,xs(a,n.memoizedState)||(nv=!0),n.memoizedState=a,n.baseState=o,n.baseQueue=u,t.lastRenderedState=a}return[n.memoizedState,t.dispatch]}function PC(e){var n=Fg(),t=n.queue;if(t===null)throw Error(fn(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);xs(o,n.memoizedState)||(nv=!0),n.memoizedState=o,n.baseQueue===null&&(n.baseState=o),t.lastRenderedState=o}return[o,a]}function k_e(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=(LC&e)===e)&&(n._workInProgressVersionPrimary=a,vb.push(n))),e)return t(n._source);throw vb.push(n),Error(fn(350))}function U_e(e,n,t,a){var r=cl;if(r===null)throw Error(fn(349));var o=n._getVersion,i=o(n._source),u=xC.current,l=u.useState(function(){return k_e(r,n,t)}),c=l[1],s=l[0];l=hu;var f=e.memoizedState,v=f.refs,m=v.getSnapshot,_=f.source;f=f.subscribe;var R=Yo;return e.memoizedState={refs:v,source:n,subscribe:a},u.useEffect(function(){v.getSnapshot=t,v.setSnapshot=c;var y=o(n._source);if(!xs(i,y)){y=t(n._source),xs(s,y)||(c(y),y=ed(R),r.mutableReadLanes|=y&r.pendingLanes),y=r.mutableReadLanes,r.entangledLanes|=y;for(var D=r.entanglements,S=y;0t?98:t,function(){e(!0)}),Cg(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[z_]=n,e[w3]=a,ude(e,n,!1,!1),n.stateNode=e,i=sO(t,a),t){case"dialog":Hr("cancel",e),Hr("close",e),r=a;break;case"iframe":case"object":case"embed":Hr("load",e),r=a;break;case"video":case"audio":for(r=0;rTk&&(n.flags|=64,o=!0,kC(a,!1),n.lanes=33554432)}else{if(!o)if(e=P3(i),e!==null){if(n.flags|=64,o=!0,t=e.updateQueue,t!==null&&(n.updateQueue=t,n.flags|=4),kC(a,!0),a.tail===null&&a.tailMode==="hidden"&&!i.alternate&&!_0)return n=n.lastEffect=a.lastEffect,n!==null&&(n.nextEffect=null),null}else 2*Pu()-a.renderingStartTime>Tk&&t!==1073741824&&(n.flags|=64,o=!0,kC(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=Pu(),t.sibling=null,n=xo.current,Ao(xo,o?n&1|2:n&1),t):null;case 23:case 24:return Lk(),e!==null&&e.memoizedState!==null!=(n.memoizedState!==null)&&a.mode!=="unstable-defer-without-hiding"&&(n.flags|=4),null}throw Error(fn(156,n.tag))}function gKe(e){switch(e.tag){case 1:Wl(e.type)&&E3();var n=e.flags;return n&4096?(e.flags=n&-4097|64,e):null;case 3:if(fb(),Br(Jl),Br(Nu),ik(),n=e.flags,(n&64)!=0)throw Error(fn(285));return e.flags=n&-4097|64,e;case 5:return ak(e),null;case 13:return Br(xo),n=e.flags,n&4096?(e.flags=n&-4097|64,e):null;case 19:return Br(xo),null;case 4:return fb(),null;case 10:return KO(e),null;case 23:case 24:return Lk(),null;default:return null}}function gk(e,n){try{var t="",a=n;do t+=ZXe(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 Dk(e,n){try{console.error(n.value)}catch(t){setTimeout(function(){throw t})}}var DKe=typeof WeakMap=="function"?WeakMap:Map;function sde(e,n,t){t=Y_(-1,t),t.tag=3,t.payload={element:null};var a=n.value;return t.callback=function(){$3||($3=!0,Fk=a),Dk(e,n)},t}function fde(e,n,t){t=Y_(-1,t),t.tag=3;var a=e.type.getDerivedStateFromError;if(typeof a=="function"){var r=n.value;t.payload=function(){return Dk(e,n),a(r)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(t.callback=function(){typeof a!="function"&&(h0===null?h0=new Set([this]):h0.add(this),Dk(e,n));var i=n.stack;this.componentDidCatch(n.value,{componentStack:i!==null?i:""})}),t}var yKe=typeof WeakSet=="function"?WeakSet:Set;function vde(e){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(t){ad(e,t)}else n.current=null}function bKe(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:ev(n.type,t),a),e.__reactInternalSnapshotBeforeUpdate=n}return;case 3:n.flags&256&&JO(n.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(fn(163))}function RKe(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&&(Ide(t,e),MKe(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:ev(t.type,n.memoizedProps),e.componentDidUpdate(a,n.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),n=t.updateQueue,n!==null&&T_e(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}T_e(t,n,e)}return;case 5:e=t.stateNode,n===null&&t.flags&4&&c_e(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&&Cpe(t))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(fn(163))}function mde(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=cpe("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 pde(e,n){if(Eg&&typeof Eg.onCommitFiberUnmount=="function")try{Eg.onCommitFiberUnmount(zO,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)Ide(n,t);else{a=n;try{r()}catch(o){ad(a,o)}}t=t.next}while(t!==e)}break;case 1:if(vde(n),e=n.stateNode,typeof e.componentWillUnmount=="function")try{e.props=n.memoizedProps,e.state=n.memoizedState,e.componentWillUnmount()}catch(o){ad(n,o)}break;case 5:vde(n);break;case 4:gde(e,n)}}function _de(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 dde(e){return e.tag===5||e.tag===3||e.tag===4}function hde(e){e:{for(var n=e.return;n!==null;){if(dde(n))break e;n=n.return}throw Error(fn(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(fn(161))}t.flags&16&&(uC(n,""),t.flags&=-17);e:n:for(t=e;;){for(;t.sibling===null;){if(t.return===null||dde(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?yk(e,t,n):bk(e,t,n)}function yk(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=b3));else if(a!==4&&(e=e.child,e!==null))for(yk(e,n,t),e=e.sibling;e!==null;)yk(e,n,t),e=e.sibling}function bk(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(bk(e,n,t),e=e.sibling;e!==null;)bk(e,n,t),e=e.sibling}function gde(e,n){for(var t=n,a=!1,r,o;;){if(!a){a=t.return;e:for(;;){if(a===null)throw Error(fn(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(pde(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(pde(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 Rk(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[w3]=a,e==="input"&&a.type==="radio"&&a.name!=null&&tpe(t,a),sO(e,r),n=sO(e,a),r=0;rr&&(r=i),t&=~o}if(t=r,t=Pu()-t,t=(120>t?120:480>t?480:1080>t?1080:1920>t?1920:3e3>t?3e3:4320>t?4320:1960*SKe(t/1960))-t,10 component higher in the tree to provide a loading indicator or placeholder to display.`)}gu!==5&&(gu=2),l=gk(l,u),v=i;do{switch(v.tag){case 3:o=l,v.flags|=4096,n&=-n,v.lanes|=n;var k=sde(v,o,n);I_e(v,k);break e;case 1:o=l;var N=v.type,Q=v.stateNode;if((v.flags&64)==0&&(typeof N.getDerivedStateFromError=="function"||Q!==null&&typeof Q.componentDidCatch=="function"&&(h0===null||!h0.has(Q)))){v.flags|=4096,n&=-n,v.lanes|=n;var de=fde(v,o,n);I_e(v,de);break e}}v=v.return}while(v!==null)}Cde(t)}catch(fe){n=fe,ki===t&&t!==null&&(ki=t=t.return);continue}break}while(1)}function Sde(){var e=q3.current;return q3.current=J3,e===null?J3:e}function qC(e,n){var t=Kt;Kt|=16;var a=Sde();cl===e&&ku===n||hb(e,n);do try{CKe();break}catch(r){wde(e,r)}while(1);if(ZO(),Kt=t,q3.current=a,ki!==null)throw Error(fn(261));return cl=null,ku=0,gu}function CKe(){for(;ki!==null;)Ede(ki)}function IKe(){for(;ki!==null&&!lKe();)Ede(ki)}function Ede(e){var n=Fde(e.alternate,e,Mg);e.memoizedProps=e.pendingProps,n===null?Cde(e):ki=n,wk.current=null}function Cde(e){var n=e;do{var t=n.alternate;if(e=n.return,(n.flags&2048)==0){if(t=hKe(t,n,Mg),t!==null){ki=t;return}if(t=n,t.tag!==24&&t.tag!==23||t.memoizedState===null||(Mg&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=Ype(S,k),o=Ype(S,i),u&&o&&(P.rangeCount!==1||P.anchorNode!==u.node||P.anchorOffset!==u.offset||P.focusNode!==o.node||P.focusOffset!==o.offset)&&(M=M.createRange(),M.setStart(u.node,u.offset),P.removeAllRanges(),k>i?(P.addRange(M),P.extend(o.node,o.offset)):(M.setEnd(o.node,o.offset),P.addRange(M)))))),M=[],P=S;P=P.parentNode;)P.nodeType===1&&M.push({element:P,left:P.scrollLeft,top:P.scrollTop});for(typeof S.focus=="function"&&S.focus(),S=0;SPu()-Ik?hb(e,0):Ek|=t),Ns(e,n)}function xKe(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=lb()===99?1:2:(Wm===0&&(Wm=mb),n=Zy(62914560&~Wm),n===0&&(n=4194304))),t=Pc(),e=X3(e,n),e!==null&&(s3(e,n,t),Ns(e,t))}var Fde;Fde=function(e,n,t){var a=n.lanes;if(e!==null)if(e.memoizedProps!==n.pendingProps||Jl.current)nv=!0;else if((t&a)!=0)nv=(e.flags&16384)!=0;else{switch(nv=!1,n.tag){case 3:ede(n),ok();break;case 5:j_e(n);break;case 1:Wl(n.type)&&C3(n);break;case 4:tk(n,n.stateNode.containerInfo);break;case 10:a=n.memoizedProps.value;var r=n.type._context;Ao(F3,r._currentValue),r._currentValue=a;break;case 13:if(n.memoizedState!==null)return(t&n.child.childLanes)!=0?nde(e,n,t):(Ao(xo,xo.current&1),n=Bm(e,n,t),n!==null?n.sibling:null);Ao(xo,xo.current&1);break;case 19:if(a=(t&n.childLanes)!=0,(e.flags&64)!=0){if(a)return ide(e,n,t);n.flags|=64}if(r=n.memoizedState,r!==null&&(r.rendering=null,r.tail=null,r.lastEffect=null),Ao(xo,xo.current),a)break;return null;case 23:case 24:return n.lanes=0,mk(e,n,t)}return Bm(e,n,t)}else nv=!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=ub(n,Nu.current),sb(n,t),r=lk(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,Wl(a)){var o=!0;C3(n)}else o=!1;n.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,ek(n);var i=a.getDerivedStateFromProps;typeof i=="function"&&A3(n,a,i,e),r.updater=x3,n.stateNode=r,r._reactInternals=n,nk(n,a,e,t),n=_k(null,n,a,!0,o,t)}else n.tag=0,zl(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=jKe(r),e=ev(r,e),o){case 0:n=pk(null,n,r,e,t);break e;case 1:n=K_e(null,n,r,e,t);break e;case 11:n=Q_e(null,n,r,e,t);break e;case 14:n=Y_e(null,n,r,ev(r.type,e),a,t);break e}throw Error(fn(306,r,""))}return n;case 0:return a=n.type,r=n.pendingProps,r=n.elementType===a?r:ev(a,r),pk(e,n,a,r,t);case 1:return a=n.type,r=n.pendingProps,r=n.elementType===a?r:ev(a,r),K_e(e,n,a,r,t);case 3:if(ede(n),a=n.updateQueue,e===null||a===null)throw Error(fn(282));if(a=n.pendingProps,r=n.memoizedState,r=r!==null?r.element:null,C_e(e,n),TC(n,a,null,t),a=n.memoizedState.element,a===r)ok(),n=Bm(e,n,t);else{if(r=n.stateNode,(o=r.hydrate)&&(Z_=ab(n.stateNode.containerInfo.firstChild),Hm=n,o=_0=!0),o){if(e=r.mutableSourceEagerHydrationData,e!=null)for(r=0;r{"use strict";function xde(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(xde)}catch(e){console.error(e)}}xde(),Lde.exports=Ade()});var Nde=Ne((xMa,jde)=>{"use strict";var BKe="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";jde.exports=BKe});var Ude=Ne((LMa,kde)=>{"use strict";var JKe=Nde();function Pde(){}function Ode(){}Ode.resetWarningCache=Pde;kde.exports=function(){function e(a,r,o,i,u,l){if(l!==JKe){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:Ode,resetWarningCache:Pde};return t.PropTypes=t,t}});var QC=Ne((PMa,Hde)=>{Hde.exports=Ude()();var jMa,NMa});var XC=Ne(qk=>{"use strict";Object.defineProperty(qk,"__esModule",{value:!0});var Jk=Object.assign||function(e){for(var n=1;n=0||!Object.prototype.hasOwnProperty.call(e,a)||(t[a]=e[a]);return t}function zKe(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function $Ke(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 VKe(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 qde={position:"absolute",top:0,left:0,visibility:"hidden",height:0,overflow:"scroll",whiteSpace:"pre"},QKe=["extraWidth","injectStyles","inputClassName","inputRef","inputStyle","minWidth","onAutosize","placeholderIsMinWidth"],YKe=function(n){return QKe.forEach(function(t){return delete n[t]}),n},zde=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},$de=typeof window!="undefined"&&window.navigator?/MSIE |Trident\/|Edge\//.test(window.navigator.userAgent):!1,Vde=function(){return $de?"_"+Math.random().toString(36).substr(2,12):void 0},Wk=function(e){VKe(n,e),Bde(n,null,[{key:"getDerivedStateFromProps",value:function(a,r){var o=a.id;return o!==r.prevId?{inputId:o||Vde(),prevId:o}:null}}]);function n(t){zKe(this,n);var a=$Ke(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||Vde(),prevId:t.id},a}return Bde(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||(zde(a,this.sizer),this.placeHolderSizer&&zde(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 aU!="undefined")n(QC(),(Wt(),a1));else{var t={exports:{}};n(e.PropTypes,e.React),e.ReactList=t.exports}})(typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:aU,function(e,n){"use strict";e=i(e),n=o(n);var t,a;function r(){if(typeof WeakMap!="function")return null;var A=new WeakMap;return r=function(){return A},A}function o(A){if(A&&A.__esModule)return A;if(A===null||u(A)!=="object"&&typeof A!="function")return{default:A};var ee=r();if(ee&&ee.has(A))return ee.get(A);var se={},De=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var O in A)if(Object.prototype.hasOwnProperty.call(A,O)){var ve=De?Object.getOwnPropertyDescriptor(A,O):null;ve&&(ve.get||ve.set)?Object.defineProperty(se,O,ve):se[O]=A[O]}return se.default=A,ee&&ee.set(A,se),se}function i(A){return A&&A.__esModule?A:{default:A}}function u(A){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?u=function(se){return typeof se}:u=function(se){return se&&typeof Symbol=="function"&&se.constructor===Symbol&&se!==Symbol.prototype?"symbol":typeof se},u(A)}function l(A,ee){if(!(A instanceof ee))throw new TypeError("Cannot call a class as a function")}function c(A,ee){for(var se=0;seDe&&(Ge=De),$=ve==="simple"||!$?0:Math.max(Math.min($,De-Ge),0),(Ue=$%Fe)&&($-=Ue,Ge+=Ue),$===se.from&&Ge==se.size?se:M(M({},se),{},{from:$,size:Ge})};mge.exports=(a=t=function(A){f(se,A);var ee=m(se);s(se,null,[{key:"getDerivedStateFromProps",value:function(O,ve){var $=W(O,ve);return $===ve?null:$}}]);function se(De){var O;return l(this,se),O=ee.call(this,De),O.state=W(De,{itemsPerRow:1,from:De.initialIndex,size:0}),O.cache={},O.cachedScrollPosition=null,O.prevPrevState={},O.unstable=!1,O.updateCounter=0,O}return s(se,[{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(O){var ve=this;if(this.props.axis!==O.axis&&this.clearSizeCache(),!this.unstable){if(++this.updateCounter>Un)return this.unstable=!0,console.error(oe);this.updateCounterTimeoutId||(this.updateCounterTimeoutId=setTimeout(function(){ve.updateCounter=0,delete ve.updateCounterTimeoutId},0)),this.updateFrame()}}},{key:"maybeSetState",value:function(O,ve){if(Ke(this.state,O))return ve();this.setState(O,ve)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.updateFrameAndClearCache),this.scrollParent.removeEventListener("scroll",this.updateFrameAndClearCache,je),this.scrollParent.removeEventListener("mousewheel",ye,je)}},{key:"getOffset",value:function(O){var ve=this.props.axis,$=O[N[ve]]||0,Ge=fe[ve];do $+=O[Ge]||0;while(O=O.offsetParent);return $}},{key:"getEl",value:function(){return this.el||this.items}},{key:"getScrollPosition",value:function(){if(typeof this.cachedScrollPosition=="number")return this.cachedScrollPosition;var O=this.scrollParent,ve=this.props.axis,$=Ee[ve],Ge=O===window?document.body[$]||document.documentElement[$]:O[$],Fe=this.getScrollSize()-this.props.scrollParentViewportSizeGetter(this),Ue=Math.max(0,Math.min(Ge,Fe)),qe=this.getEl();return this.cachedScrollPosition=this.getOffset(O)+Ue-this.getOffset(qe),this.cachedScrollPosition}},{key:"setScroll",value:function(O){var ve=this.scrollParent,$=this.props.axis;if(O+=this.getOffset(this.getEl()),ve===window)return window.scrollTo(0,O);O-=this.getOffset(this.scrollParent),ve[Ee[$]]=O}},{key:"getScrollSize",value:function(){var O=this.scrollParent,ve=document,$=ve.body,Ge=ve.documentElement,Fe=re[this.props.axis];return O===window?Math.max($[Fe],Ge[Fe]):O[Fe]}},{key:"hasDeterminateSize",value:function(){var O=this.props,ve=O.itemSizeGetter,$=O.type;return $==="uniform"||ve}},{key:"getStartAndEnd",value:function(){var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.threshold,ve=this.getScrollPosition(),$=Math.max(0,ve-O),Ge=ve+this.props.scrollParentViewportSizeGetter(this)+O;return this.hasDeterminateSize()&&(Ge=Math.min(Ge,this.getSpaceBefore(this.props.length))),{start:$,end:Ge}}},{key:"getItemSizeAndItemsPerRow",value:function(){var O=this.props,ve=O.axis,$=O.useStaticSize,Ge=this.state,Fe=Ge.itemSize,Ue=Ge.itemsPerRow;if($&&Fe&&Ue)return{itemSize:Fe,itemsPerRow:Ue};var qe=this.items.children;if(!qe.length)return{};var xe=qe[0],In=xe[de[ve]],cn=Math.abs(In-Fe);if((isNaN(cn)||cn>=1)&&(Fe=In),!Fe)return{};var Yn=fe[ve],En=xe[Yn];Ue=1;for(var Xn=qe[Ue];Xn&&Xn[Yn]===En;Xn=qe[Ue])++Ue;return{itemSize:Fe,itemsPerRow:Ue}}},{key:"clearSizeCache",value:function(){this.cachedScrollPosition=null}},{key:"updateFrameAndClearCache",value:function(O){return this.clearSizeCache(),this.updateFrame(O)}},{key:"updateFrame",value:function(O){switch(this.updateScrollParent(),typeof O!="function"&&(O=ye),this.props.type){case"simple":return this.updateSimpleFrame(O);case"variable":return this.updateVariableFrame(O);case"uniform":return this.updateUniformFrame(O)}}},{key:"updateScrollParent",value:function(){var O=this.scrollParent;this.scrollParent=this.props.scrollParentGetter(this),O!==this.scrollParent&&(O&&(O.removeEventListener("scroll",this.updateFrameAndClearCache),O.removeEventListener("mousewheel",ye)),this.clearSizeCache(),this.scrollParent.addEventListener("scroll",this.updateFrameAndClearCache,je),this.scrollParent.addEventListener("mousewheel",ye,je))}},{key:"updateSimpleFrame",value:function(O){var ve=this.getStartAndEnd(),$=ve.end,Ge=this.items.children,Fe=0;if(Ge.length){var Ue=this.props.axis,qe=Ge[0],xe=Ge[Ge.length-1];Fe=this.getOffset(xe)+xe[de[Ue]]-this.getOffset(qe)}if(Fe>$)return O();var In=this.props,cn=In.pageSize,Yn=In.length,En=Math.min(this.state.size+cn,Yn);this.maybeSetState({size:En},O)}},{key:"updateVariableFrame",value:function(O){this.props.itemSizeGetter||this.cacheSizes();for(var ve=this.getStartAndEnd(),$=ve.start,Ge=ve.end,Fe=this.props,Ue=Fe.length,qe=Fe.pageSize,xe=0,In=0,cn=0,Yn=Ue-1;In$)break;xe+=En,++In}for(var Xn=Ue-In;cn1&&arguments[1]!==void 0?arguments[1]:{};if(ve[O]!=null)return ve[O];var $=this.state,Ge=$.itemSize,Fe=$.itemsPerRow;if(Ge)return ve[O]=Math.floor(O/Fe)*Ge;for(var Ue=O;Ue>0&&ve[--Ue]==null;);for(var qe=ve[Ue]||0,xe=Ue;xe=cn&&OUe)return this.setScroll(Ue)}},{key:"getVisibleRange",value:function(){for(var O=this.state,ve=O.from,$=O.size,Ge=this.getStartAndEnd(0),Fe=Ge.start,Ue=Ge.end,qe={},xe,In,cn=ve;cnFe&&(xe=cn),xe!=null&&Yn{"use strict";Object.defineProperty(qH,"__esModule",{value:!0});var Xln=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},OH=Object.assign||function(e){for(var n=1;n1?n-1:0),a=1;aa.height),Bs(m,this.animationStateClasses.animatingToHeightZero,D.height===0),Bs(m,this.animationStateClasses.animatingToHeightAuto,D.height==="auto"),Bs(m,this.animationStateClasses.animatingToHeightSpecific,D.height>0),m)),P=this.getStaticStateClasses(D.height);this.setState({animationStateClasses:M,height:y,overflow:"hidden",shouldUseTransitions:!S}),clearTimeout(this.timeoutID),clearTimeout(this.animationClassesTimeoutID),S?(D.shouldUseTransitions=!0,_Re(this.animationFrameIDs),this.animationFrameIDs=ucn(function(){o.setState(D),_x(c,{newHeight:D.height})}),this.animationClassesTimeoutID=setTimeout(function(){o.setState({animationStateClasses:P,shouldUseTransitions:!1}),o.hideContent(D.height),_x(l,{newHeight:D.height})},R)):(_x(c,{newHeight:y}),this.timeoutID=setTimeout(function(){D.animationStateClasses=P,D.shouldUseTransitions=!1,o.setState(D),u!=="auto"&&o.hideContent(y),_x(l,{newHeight:y})},R))}}},{key:"componentWillUnmount",value:function(){_Re(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,UH.default)((r={},Bs(r,this.animationStateClasses.static,!0),Bs(r,this.animationStateClasses.staticHeightZero,a===0),Bs(r,this.animationStateClasses.staticHeightSpecific,a>0),Bs(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,y=_.overflow,D=_.animationStateClasses,S=_.shouldUseTransitions,M=this.getTimings(),P=M.duration,k=M.delay,N=OH({},m,{height:R,overflow:y||m.overflow});S&&u&&(N.transition="height "+P+"ms "+f+" "+k+"ms",m.transition&&(N.transition=m.transition+", "+N.transition),N.WebkitTransition=N.transition);var Q={};i&&(Q.transition="opacity "+P+"ms "+f+" "+k+"ms",Q.WebkitTransition=Q.transition,R===0&&(Q.opacity=0));var de=(0,UH.default)((a={},Bs(a,D,!0),Bs(a,c,c),a)),fe=typeof this.props["aria-hidden"]!="undefined",ge=fe?this.props["aria-hidden"]:R===0;return kH.default.createElement("div",OH({},icn.apply(void 0,[this.props].concat(ocn)),{"aria-hidden":ge,className:de,id:v,style:N}),kH.default.createElement("div",{className:s,style:Q,ref:function(Ee){return r.contentElement=Ee}},l))}}]),n}(kH.default.Component),lcn=function(n,t,a){var r=n[t];return typeof r=="number"&&r>=0||JH(r)||r==="auto"?null:new TypeError('value "'+r+'" of type "'+(typeof r=="undefined"?"undefined":Xln(r))+'" is invalid type for '+t+" in "+a+'. It needs to be a positive number, string "auto" or percentage string (e.g. "15%").')};WH.propTypes={"aria-hidden":Vl.default.bool,animateOpacity:Vl.default.bool,animationStateClasses:Vl.default.object,applyInlineTransitions:Vl.default.bool,children:Vl.default.any.isRequired,className:Vl.default.string,contentClassName:Vl.default.string,delay:Vl.default.number,duration:Vl.default.number,easing:Vl.default.string,height:lcn,id:Vl.default.string,onAnimationEnd:Vl.default.func,onAnimationStart:Vl.default.func,style:Vl.default.object};WH.defaultProps={animateOpacity:!1,animationStateClasses:pRe,applyInlineTransitions:!0,duration:250,delay:0,easing:"ease",style:{}};qH.default=WH});var FSe=Ne((jx,wB)=>{(function(n,t){typeof jx=="object"&&typeof wB=="object"?wB.exports=t():typeof define=="function"&&define.amd?define([],t):typeof jx=="object"?jx.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(y,D){y.__proto__=D}||function(y,D){for(var S in D)D.hasOwnProperty(S)&&(y[S]=D[S])},m(_,R)};return function(_,R){m(_,R);function y(){this.constructor=_}_.prototype=R===null?Object.create(R):(y.prototype=R.prototype,new y)}}();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="",y=0;y<_.length-2;y+=3){var D=_[y]<<16|_[y+1]<<8|_[y+2];R+=this._encodeByte(D>>>3*6&63),R+=this._encodeByte(D>>>2*6&63),R+=this._encodeByte(D>>>1*6&63),R+=this._encodeByte(D>>>0*6&63)}var S=_.length-y;if(S>0){var D=_[y]<<16|(S===2?_[y+1]<<8:0);R+=this._encodeByte(D>>>3*6&63),R+=this._encodeByte(D>>>2*6&63),S===2?R+=this._encodeByte(D>>>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(_),y=_.length-R,D=new Uint8Array(this.maxDecodedLength(y)),S=0,M=0,P=0,k=0,N=0,Q=0,de=0;M>>4,D[S++]=N<<4|Q>>>2,D[S++]=Q<<6|de,P|=k&r,P|=N&r,P|=Q&r,P|=de&r;if(M>>4,P|=k&r,P|=N&r),M>>2,P|=Q&r),M>>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 y=_.length-1;y>=0&&_[y]===this._paddingCharacter;y--)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 y=R;return y+=65,y+=25-R>>>8&0-65-26+97,y+=51-R>>>8&26-97-52+48,y+=61-R>>>8&52-48-62+45,y+=62-R>>>8&62-45-63+95,String.fromCharCode(y)},_.prototype._decodeChar=function(R){var y=r;return y+=(44-R&R-46)>>>8&-r+R-45+62,y+=(94-R&R-96)>>>8&-r+R-95+63,y+=(47-R&R-58)>>>8&-r+R-48+52,y+=(64-R&R-91)>>>8&-r+R-65+0,y+=(96-R&R-123)>>>8&-r+R-97+26,y},_}(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,G=this.name+"["+w+"]",ne=!1,Pe=function(){ne||(h.apply(null,arguments),ne=!0)};return this[w]=Pe,{number:w,id:T,name:G,callback:Pe}},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 G=this;if(G.loading[h]&&G.loading[h].length>0)G.loading[h].push(T);else{G.loading[h]=[T];var ne=ba.createScriptRequest(G.getPath(h,w)),Pe=G.receivers.create(function(xn){if(G.receivers.remove(Pe),G.loading[h]){var kt=G.loading[h];delete G.loading[h];for(var Ya=function(qu){qu||ne.cleanup()},hi=0;hi>>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,D)},M=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,M)},k=function(){function g(h,w,T,G){var ne=this;this.clear=w,this.timer=h(function(){ne.timer&&(ne.timer=G(ne.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}(),N=k,Q=function(){var g=function(h,w){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,G){T.__proto__=G}||function(T,G){for(var ne in G)G.hasOwnProperty(ne)&&(T[ne]=G[ne])},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 de(g){window.clearTimeout(g)}function fe(g){window.clearInterval(g)}var ge=function(g){Q(h,g);function h(w,T){return g.call(this,setTimeout,de,w,function(G){return T(),null})||this}return h}(N),re=function(g){Q(h,g);function h(w,T){return g.call(this,setInterval,fe,w,function(G){return T(),G})||this}return h}(N),Ee={now:function(){return Date.now?Date.now():new Date().valueOf()},defer:function(g){return new ge(0,g)},method:function(g){for(var h=[],w=1;w0)for(var G=0;G=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}},jd=qq,m2e=function(){var g=function(h,w){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,G){T.__proto__=G}||function(T,G){for(var ne in G)G.hasOwnProperty(ne)&&(T[ne]=G[ne])},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)}}(),p2e=function(g){m2e(h,g);function h(w,T){var G=g.call(this)||this;return G.id=w,G.transport=T,G.activityTimeout=T.activityTimeout,G.bindListeners(),G}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,G){var ne={event:w,data:T};return G&&(ne.channel=G),xe.debug("Event sent",ne),this.send(jd.encodeMessage(ne))},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(ne){var Pe;try{Pe=jd.decodeMessage(ne)}catch(xn){w.emit("error",{type:"MessageParseError",error:xn,data:ne.data})}if(Pe!==void 0){switch(xe.debug("Event recd",Pe),Pe.event){case"pusher:error":w.emit("error",{type:"PusherError",data:Pe.data});break;case"pusher:ping":w.emit("ping");break;case"pusher:pong":w.emit("pong");break}w.emit("message",Pe)}},activity:function(){w.emit("activity")},error:function(ne){w.emit("error",{type:"WebSocketError",error:ne})},closed:function(ne){G(),ne&&ne.code&&w.handleCloseEvent(ne),w.transport=null,w.emit("closed")}},G=function(){Un(T,function(ne,Pe){w.transport.unbind(Pe,ne)})};Un(T,function(ne,Pe){w.transport.bind(Pe,ne)})},h.prototype.handleCloseEvent=function(w){var T=jd.getCloseAction(w),G=jd.getCloseError(w);G&&this.emit("error",G),T&&this.emit(T,{action:T,error:G})},h}(ir),_2e=p2e,d2e=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=jd.processHandshake(w)}catch(G){h.finish("error",{error:G}),h.transport.close();return}T.action==="connected"?h.finish("connected",{connection:new _2e(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=jd.getCloseAction(w)||"backoff",G=jd.getCloseError(w);h.finish(T,{error:G})},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(ye({transport:this.transport,action:h},w))},g}(),h2e=d2e,g2e=function(){function g(h,w){this.channel=h;var T=w.authTransport;if(typeof ba.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||ba.getAuthorizers(),g.authorizers[this.type].call(this,ba,h,w)},g}(),D2e=g2e,y2e=function(){function g(h,w){this.timeline=h,this.options=w||{}}return g.prototype.send=function(h,w){this.timeline.isEmpty()||this.timeline.send(ba.TimelineTransport.getAgent(this,h),w)},g}(),b2e=y2e,Nd=function(){var g=function(h,w){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,G){T.__proto__=G}||function(T,G){for(var ne in G)G.hasOwnProperty(ne)&&(T[ne]=G[ne])},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)}}(),R2e=function(g){Nd(h,g);function h(w){var T=this.constructor,G=g.call(this,w)||this;return Object.setPrototypeOf(G,T.prototype),G}return h}(Error),w2e=function(g){Nd(h,g);function h(w){var T=this.constructor,G=g.call(this,w)||this;return Object.setPrototypeOf(G,T.prototype),G}return h}(Error),S2e=function(g){Nd(h,g);function h(w){var T=this.constructor,G=g.call(this,w)||this;return Object.setPrototypeOf(G,T.prototype),G}return h}(Error),E2e=function(g){Nd(h,g);function h(w){var T=this.constructor,G=g.call(this,w)||this;return Object.setPrototypeOf(G,T.prototype),G}return h}(Error),zq=function(g){Nd(h,g);function h(w){var T=this.constructor,G=g.call(this,w)||this;return Object.setPrototypeOf(G,T.prototype),G}return h}(Error),C2e=function(g){Nd(h,g);function h(w){var T=this.constructor,G=g.call(this,w)||this;return Object.setPrototypeOf(G,T.prototype),G}return h}(Error),$q=function(g){Nd(h,g);function h(w){var T=this.constructor,G=g.call(this,w)||this;return Object.setPrototypeOf(G,T.prototype),G}return h}(Error),I2e=function(){var g=function(h,w){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,G){T.__proto__=G}||function(T,G){for(var ne in G)G.hasOwnProperty(ne)&&(T[ne]=G[ne])},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)}}(),T2e=function(g){I2e(h,g);function h(w,T){var G=g.call(this,function(ne,Pe){xe.debug("No callbacks on "+w+" for "+ne)})||this;return G.name=w,G.pusher=T,G.subscribed=!1,G.subscriptionPending=!1,G.subscriptionCancelled=!1,G}return h.prototype.authorize=function(w,T){return T(!1,{auth:""})},h.prototype.trigger=function(w,T){if(w.indexOf("client-")!==0)throw new R2e("Event '"+w+"' does not start with 'client-'");if(!this.subscribed){var G=Yn.buildLogSuffix("triggeringClientEvents");xe.warn("Client event triggered before channel 'subscription_succeeded' event . "+G)}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,G=w.data;if(T==="pusher_internal:subscription_succeeded")this.handleSubscriptionSucceededEvent(w);else if(T.indexOf("pusher_internal:")!==0){var ne={};this.emit(T,G,ne)}},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,G){T?(xe.error(G),w.emit("pusher:subscription_error",G)):(G=G,w.pusher.send_event("pusher:subscribe",{auth:G.auth,channel_data:G.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}(ir),Vq=T2e,F2e=function(){var g=function(h,w){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,G){T.__proto__=G}||function(T,G){for(var ne in G)G.hasOwnProperty(ne)&&(T[ne]=G[ne])},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)}}(),M2e=function(g){F2e(h,g);function h(){return g!==null&&g.apply(this,arguments)||this}return h.prototype.authorize=function(w,T){var G=yv.createAuthorizer(this,this.pusher.config);return G.authorize(w,T)},h}(Vq),S5=M2e,G2e=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;Un(this.members,function(T,G){h(w.get(G))})},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}(),A2e=G2e,x2e=function(){var g=function(h,w){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,G){T.__proto__=G}||function(T,G){for(var ne in G)G.hasOwnProperty(ne)&&(T[ne]=G[ne])},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)}}(),L2e=function(g){x2e(h,g);function h(w,T){var G=g.call(this,w,T)||this;return G.members=new A2e,G}return h.prototype.authorize=function(w,T){var G=this;g.prototype.authorize.call(this,w,function(ne,Pe){if(!ne){if(Pe=Pe,Pe.channel_data===void 0){var xn=Yn.buildLogSuffix("authenticationEndpoint");xe.error("Invalid auth response for channel '"+G.name+"',"+("expected 'channel_data' field. "+xn)),T("Invalid auth response");return}var kt=JSON.parse(Pe.channel_data);G.members.setMyID(kt.user_id)}T(ne,Pe)})},h.prototype.handleEvent=function(w){var T=w.event;if(T.indexOf("pusher_internal:")===0)this.handleInternalEvent(w);else{var G=w.data,ne={};w.user_id&&(ne.user_id=w.user_id),this.emit(T,G,ne)}},h.prototype.handleInternalEvent=function(w){var T=w.event,G=w.data;switch(T){case"pusher_internal:subscription_succeeded":this.handleSubscriptionSucceededEvent(w);break;case"pusher_internal:member_added":var ne=this.members.addMember(G);this.emit("pusher:member_added",ne);break;case"pusher_internal:member_removed":var Pe=this.members.removeMember(G);Pe&&this.emit("pusher:member_removed",Pe);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}(S5),j2e=L2e,Qq=t(1),E5=t(0),N2e=function(){var g=function(h,w){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,G){T.__proto__=G}||function(T,G){for(var ne in G)G.hasOwnProperty(ne)&&(T[ne]=G[ne])},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)}}(),P2e=function(g){N2e(h,g);function h(w,T,G){var ne=g.call(this,w,T)||this;return ne.key=null,ne.nacl=G,ne}return h.prototype.authorize=function(w,T){var G=this;g.prototype.authorize.call(this,w,function(ne,Pe){if(ne){T(!0,Pe);return}var xn=Pe.shared_secret;if(!xn){var kt="No shared_secret key in auth payload for encrypted channel: "+G.name;T(!0,kt);return}G.key=Object(E5.decode)(xn),delete Pe.shared_secret,T(!1,Pe)})},h.prototype.trigger=function(w,T){throw new zq("Client events are not currently supported for encrypted channels")},h.prototype.handleEvent=function(w){var T=w.event,G=w.data;if(T.indexOf("pusher_internal:")===0||T.indexOf("pusher:")===0){g.prototype.handleEvent.call(this,w);return}this.handleEncryptedEvent(T,G)},h.prototype.handleEncryptedEvent=function(w,T){var G=this;if(!this.key){xe.debug("Received encrypted event before key has been retrieved from the authEndpoint");return}if(!T.ciphertext||!T.nonce){xe.error("Unexpected format for encrypted event, expected object with `ciphertext` and `nonce` fields, got: "+T);return}var ne=Object(E5.decode)(T.ciphertext);if(ne.length0&&this.emit("connecting_in",Math.round(w/1e3)),this.retryTimer=new ge(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 ge(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 ge(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 ge(this.activityTimeout,function(){w.sendActivityCheck()}))},h.prototype.stopActivityCheck=function(){this.activityTimer&&this.activityTimer.ensureAborted()},h.prototype.buildConnectionCallbacks=function(w){var T=this;return ye({},w,{message:function(G){T.resetActivityCheck(),T.emit("message",G)},ping:function(){T.send_event("pusher:pong",{})},activity:function(){T.resetActivityCheck()},error:function(G){T.emit("error",{type:"WebSocketError",error:G})},closed:function(){T.abandonConnection(),T.shouldRetry()&&T.retryIn(1e3)}})},h.prototype.buildHandshakeCallbacks=function(w){var T=this;return ye({},w,{connected:function(G){T.activityTimeout=Math.min(T.options.activityTimeout,G.activityTimeout,G.connection.activityTimeout||1/0),T.clearUnavailableTimer(),T.setConnection(G.connection),T.socket_id=T.connection.id,T.updateState("connected",{socket_id:T.socket_id})}})},h.prototype.buildErrorCallbacks=function(){var w=this,T=function(G){return function(ne){ne.error&&w.emit("error",{type:"WebSocketError",error:ne.error}),G(ne)}};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 G=this.state;if(this.state=w,G!==w){var ne=w;ne==="connected"&&(ne+=" with new socket ID "+T.socket_id),xe.debug("State changed",G+" -> "+ne),this.timeline.info({state:w,params:T}),this.emit("state_change",{previous:G,current:w}),this.emit(w,T)}},h.prototype.shouldRetry=function(){return this.state==="connecting"||this.state==="connected"},h}(ir),H2e=U2e,B2e=function(){function g(){this.channels={}}return g.prototype.add=function(h,w){return this.channels[h]||(this.channels[h]=W2e(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(){Un(this.channels,function(h){h.disconnect()})},g}(),J2e=B2e;function W2e(g,h){if(g.indexOf("private-encrypted-")===0){if(h.config.nacl)return yv.createEncryptedChannel(g,h,h.config.nacl);var w="Tried to subscribe to a private-encrypted- channel but no nacl implementation available",T=Yn.buildLogSuffix("encryptedChannelSupport");throw new zq(w+". "+T)}else return g.indexOf("private-")===0?yv.createPrivateChannel(g,h):g.indexOf("presence-")===0?yv.createPresenceChannel(g,h):yv.createChannel(g,h)}var q2e={createChannels:function(){return new J2e},createConnectionManager:function(g,h){return new H2e(g,h)},createChannel:function(g,h){return new Vq(g,h)},createPrivateChannel:function(g,h){return new S5(g,h)},createPresenceChannel:function(g,h){return new j2e(g,h)},createEncryptedChannel:function(g,h,w){return new O2e(g,h,w)},createTimelineSender:function(g,h){return new b2e(g,h)},createAuthorizer:function(g,h){return h.authorizer?h.authorizer(g,h):new D2e(g,h)},createHandshake:function(g,h){return new h2e(g,h)},createAssistantToTheTransportManager:function(g,h,w){return new v2e(g,h,w)}},yv=q2e,z2e=function(){function g(h){this.options=h||{},this.livesLeft=this.options.lives||1/0}return g.prototype.getAssistant=function(h){return yv.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}(),Yq=z2e,$2e=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 O(this.strategies,pe.method("isSupported"))},g.prototype.connect=function(h,w){var T=this,G=this.strategies,ne=0,Pe=this.timeout,xn=null,kt=function(Ya,hi){hi?w(null,hi):(ne=ne+1,T.loop&&(ne=ne%G.length),ne0&&(ne=new ge(T.timeout,function(){Pe.abort(),G(!0)})),Pe=h.connect(w,function(xn,kt){xn&&ne&&ne.isRunning()&&!T.failFast||(ne&&ne.ensureAborted(),G(xn,kt))}),{abort:function(){ne&&ne.ensureAborted(),Pe.abort()},forceMinPriority:function(xn){Pe.forceMinPriority(xn)}}},g}(),Pd=$2e,V2e=function(){function g(h){this.strategies=h}return g.prototype.isSupported=function(){return O(this.strategies,pe.method("isSupported"))},g.prototype.connect=function(h,w){return Q2e(this.strategies,h,function(T,G){return function(ne,Pe){if(G[T].error=ne,ne){Y2e(G)&&w(!0);return}On(G,function(xn){xn.forceMinPriority(Pe.transport.priority)}),w(null,Pe)}})},g}(),C5=V2e;function Q2e(g,h,w){var T=W(g,function(G,ne,Pe,xn){return G.connect(h,w(ne,xn))});return{abort:function(){On(T,X2e)},forceMinPriority:function(G){On(T,function(ne){ne.forceMinPriority(G)})}}}function Y2e(g){return ve(g,function(h){return Boolean(h.error)})}function X2e(g){!g.error&&!g.aborted&&(g.abort(),g.aborted=!0)}var Z2e=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,G=eGe(T),ne=[this.strategy];if(G&&G.timestamp+this.ttl>=pe.now()){var Pe=this.transports[G.transport];Pe&&(this.timeline.info({cached:!0,transport:G.transport,latency:G.latency}),ne.push(new Pd([Pe],{timeout:G.latency*2+1e3,failFast:!0})))}var xn=pe.now(),kt=ne.pop().connect(h,function Ya(hi,qu){hi?(Xq(T),ne.length>0?(xn=pe.now(),kt=ne.pop().connect(h,Ya)):w(hi)):(nGe(T,qu.transport.name,pe.now()-xn),w(null,qu))});return{abort:function(){kt.abort()},forceMinPriority:function(Ya){h=Ya,kt&&kt.forceMinPriority(Ya)}}},g}(),K2e=Z2e;function I5(g){return"pusherTransport"+(g?"TLS":"NonTLS")}function eGe(g){var h=ba.getLocalStorage();if(h)try{var w=h[I5(g)];if(w)return JSON.parse(w)}catch{Xq(g)}return null}function nGe(g,h,w){var T=ba.getLocalStorage();if(T)try{T[I5(g)]=Ue({timestamp:pe.now(),transport:h,latency:w})}catch{}}function Xq(g){var h=ba.getLocalStorage();if(h)try{delete h[I5(g)]}catch{}}var tGe=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,G,ne=new ge(this.options.delay,function(){G=T.connect(h,w)});return{abort:function(){ne.ensureAborted(),G&&G.abort()},forceMinPriority:function(Pe){h=Pe,G&&G.forceMinPriority(Pe)}}},g}(),pT=tGe,aGe=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}(),SR=aGe,rGe=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(G,ne){ne&&T.abort(),w(G,ne)});return T},g}(),oGe=rGe;function ER(g){return function(){return g.isSupported()}}var iGe=function(g,h,w){var T={};function G(sz,QGe,YGe,XGe,ZGe){var fz=w(g,sz,QGe,YGe,XGe,ZGe);return T[sz]=fz,fz}var ne=Object.assign({},h,{hostNonTLS:g.wsHost+":"+g.wsPort,hostTLS:g.wsHost+":"+g.wssPort,httpPath:g.wsPath}),Pe=Object.assign({},ne,{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},Ya=new Yq({lives:2,minPingDelay:1e4,maxPingDelay:g.activityTimeout}),hi=new Yq({lives:2,minPingDelay:1e4,maxPingDelay:g.activityTimeout}),qu=G("ws","ws",3,ne,Ya),bv=G("wss","ws",3,Pe,Ya),WGe=G("sockjs","sockjs",1,xn),rz=G("xhr_streaming","xhr_streaming",1,xn,hi),qGe=G("xdr_streaming","xdr_streaming",1,xn,hi),oz=G("xhr_polling","xhr_polling",1,xn),zGe=G("xdr_polling","xdr_polling",1,xn),iz=new Pd([qu],kt),$Ge=new Pd([bv],kt),VGe=new Pd([WGe],kt),uz=new Pd([new SR(ER(rz),rz,qGe)],kt),lz=new Pd([new SR(ER(oz),oz,zGe)],kt),cz=new Pd([new SR(ER(uz),new C5([uz,new pT(lz,{delay:4e3})]),lz)],kt),G5=new SR(ER(cz),cz,VGe),A5;return h.useTLS?A5=new C5([iz,new pT(G5,{delay:2e3})]):A5=new C5([iz,new pT($Ge,{delay:2e3}),new pT(G5,{delay:5e3})]),new K2e(new oGe(new SR(ER(qu),A5,G5)),T,{ttl:18e5,timeline:h.timeline,useTLS:h.useTLS})},uGe=iGe,lGe=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()},cGe={getRequest:function(g){var h=new window.XDomainRequest;return h.ontimeout=function(){g.emit("error",new w2e),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()}},sGe=cGe,fGe=function(){var g=function(h,w){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,G){T.__proto__=G}||function(T,G){for(var ne in G)G.hasOwnProperty(ne)&&(T[ne]=G[ne])},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)}}(),vGe=256*1024,mGe=function(g){fGe(h,g);function h(w,T,G){var ne=g.call(this)||this;return ne.hooks=w,ne.method=T,ne.url=G,ne}return h.prototype.start=function(w){var T=this;this.position=0,this.xhr=this.hooks.getRequest(this),this.unloader=function(){T.close()},ba.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&&(ba.removeUnloadListener(this.unloader),this.unloader=null),this.xhr&&(this.hooks.abortRequest(this.xhr),this.xhr=null)},h.prototype.onChunk=function(w,T){for(;;){var G=this.advanceBuffer(T);if(G)this.emit("chunk",{status:w,data:G});else break}this.isBufferTooLong(T)&&this.emit("buffer_too_long")},h.prototype.advanceBuffer=function(w){var T=w.slice(this.position),G=T.indexOf(` `);return G!==-1?(this.position+=G+1,T.slice(0,G)):null},h.prototype.isBufferTooLong=function(w){return this.position===w.length&&w.length>vGe},h}(ir),pGe=mGe,T5;(function(g){g[g.CONNECTING=0]="CONNECTING",g[g.OPEN=1]="OPEN",g[g.CLOSED=3]="CLOSED"})(T5||(T5={}));var Od=T5,_Ge=1,dGe=function(){function g(h,w){this.hooks=h,this.session=Kq(1e3)+"/"+yGe(8),this.location=hGe(w),this.readyState=Od.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===Od.OPEN)try{return ba.createSocketRequest("POST",Zq(gGe(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=Od.CLOSED,this.onclose&&this.onclose({code:h,reason:w,wasClean:T})},g.prototype.onChunk=function(h){if(h.status===200){this.readyState===Od.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 G=0;G0&&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()}},IGe=CGe,TGe={createStreamingSocket:function(g){return this.createSocket(wGe,g)},createPollingSocket:function(g){return this.createSocket(EGe,g)},createSocket:function(g,h){return new bGe(g,h)},createXHR:function(g,h){return this.createRequest(IGe,g,h)},createRequest:function(g,h,w){return new pGe(g,h,w)}},ez=TGe;ez.createXDR=function(g,h){return this.createRequest(sGe,g,h)};var FGe=ez,MGe={nextAuthCallbackID:1,auth_callbacks:{},ScriptReceivers:r,DependenciesReceivers:c,getDefaultStrategy:uGe,Transports:u2e,transportConnectionInitializer:lGe,HTTPFactory:FGe,TimelineTransport:Ce,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:Xn,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 et(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 s2e},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)}},ba=MGe,F5;(function(g){g[g.ERROR=3]="ERROR",g[g.INFO=6]="INFO",g[g.DEBUG=7]="DEBUG"})(F5||(F5={}));var _T=F5,GGe=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(ye({},w,{timestamp:pe.now()})),this.options.limit&&this.events.length>this.options.limit&&this.events.shift())},g.prototype.error=function(h){this.log(_T.ERROR,h)},g.prototype.info=function(h){this.log(_T.INFO,h)},g.prototype.debug=function(h){this.log(_T.DEBUG,h)},g.prototype.isEmpty=function(){return this.events.length===0},g.prototype.send=function(h,w){var T=this,G=ye({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(G,function(ne,Pe){ne||T.sent++,w&&w(ne,Pe)}),!0},g.prototype.generateUniqueID=function(){return this.uniqueID++,this.uniqueID},g}(),AGe=GGe,xGe=function(){function g(h,w,T,G){this.name=h,this.priority=w,this.transport=T,this.options=G||{}}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{lEe.exports=function(n){return n!=null&&n.constructor!=null&&typeof n.constructor.isBuffer=="function"&&n.constructor.isBuffer(n)}});var wEe=Ne((Dcr,REe)=>{"use strict";var Wx=Object.prototype.hasOwnProperty,_Ee=Object.prototype.toString,dEe=Object.defineProperty,hEe=Object.getOwnPropertyDescriptor,gEe=function(n){return typeof Array.isArray=="function"?Array.isArray(n):_Ee.call(n)==="[object Array]"},DEe=function(n){if(!n||_Ee.call(n)!=="[object Object]")return!1;var t=Wx.call(n,"constructor"),a=n.constructor&&n.constructor.prototype&&Wx.call(n.constructor.prototype,"isPrototypeOf");if(n.constructor&&!t&&!a)return!1;var r;for(r in n);return typeof r=="undefined"||Wx.call(n,r)},yEe=function(n,t){dEe&&t.name==="__proto__"?dEe(n,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):n[t.name]=t.newValue},bEe=function(n,t){if(t==="__proto__")if(Wx.call(n,t)){if(hEe)return hEe(n,t).value}else return;return n[t]};REe.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 MJ=Symbol.for("react.element"),GJ=Symbol.for("react.portal"),d7=Symbol.for("react.fragment"),h7=Symbol.for("react.strict_mode"),g7=Symbol.for("react.profiler"),D7=Symbol.for("react.provider"),y7=Symbol.for("react.context"),cdn=Symbol.for("react.server_context"),b7=Symbol.for("react.forward_ref"),R7=Symbol.for("react.suspense"),w7=Symbol.for("react.suspense_list"),S7=Symbol.for("react.memo"),E7=Symbol.for("react.lazy"),sdn=Symbol.for("react.offscreen"),JCe;JCe=Symbol.for("react.module.reference");function zs(e){if(typeof e=="object"&&e!==null){var n=e.$$typeof;switch(n){case MJ:switch(e=e.type,e){case d7:case g7:case h7:case R7:case w7:return e;default:switch(e=e&&e.$$typeof,e){case cdn:case y7:case b7:case E7:case S7:case D7:return e;default:return n}}case GJ:return n}}}fr.ContextConsumer=y7;fr.ContextProvider=D7;fr.Element=MJ;fr.ForwardRef=b7;fr.Fragment=d7;fr.Lazy=E7;fr.Memo=S7;fr.Portal=GJ;fr.Profiler=g7;fr.StrictMode=h7;fr.Suspense=R7;fr.SuspenseList=w7;fr.isAsyncMode=function(){return!1};fr.isConcurrentMode=function(){return!1};fr.isContextConsumer=function(e){return zs(e)===y7};fr.isContextProvider=function(e){return zs(e)===D7};fr.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===MJ};fr.isForwardRef=function(e){return zs(e)===b7};fr.isFragment=function(e){return zs(e)===d7};fr.isLazy=function(e){return zs(e)===E7};fr.isMemo=function(e){return zs(e)===S7};fr.isPortal=function(e){return zs(e)===GJ};fr.isProfiler=function(e){return zs(e)===g7};fr.isStrictMode=function(e){return zs(e)===h7};fr.isSuspense=function(e){return zs(e)===R7};fr.isSuspenseList=function(e){return zs(e)===w7};fr.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===d7||e===g7||e===h7||e===R7||e===w7||e===sdn||typeof e=="object"&&e!==null&&(e.$$typeof===E7||e.$$typeof===S7||e.$$typeof===D7||e.$$typeof===y7||e.$$typeof===b7||e.$$typeof===JCe||e.getModuleId!==void 0)};fr.typeOf=zs});var zCe=Ne((Apr,qCe)=>{"use strict";qCe.exports=WCe()});var nIe=Ne((Npr,eIe)=>{var YCe=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,fdn=/\n/g,vdn=/^\s*/,mdn=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,pdn=/^:\s*/,_dn=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,ddn=/^[;\s]*/,hdn=/^\s+|\s+$/g,gdn=` `,XCe="/",ZCe="*",mD="",Ddn="comment",ydn="declaration";eIe.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 y=R.match(fdn);y&&(t+=y.length);var D=R.lastIndexOf(gdn);a=~D?R.length-D:a+R.length}function o(){var R={line:t,column:a};return function(y){return y.position=new i(R),s(),y}}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 y=new Error(n.source+":"+t+":"+a+": "+R);if(y.reason=R,y.filename=n.source,y.line=t,y.column=a,y.source=e,n.silent)u.push(y);else throw y}function c(R){var y=R.exec(e);if(!!y){var D=y[0];return r(D),e=e.slice(D.length),y}}function s(){c(vdn)}function f(R){var y;for(R=R||[];y=v();)y!==!1&&R.push(y);return R}function v(){var R=o();if(!(XCe!=e.charAt(0)||ZCe!=e.charAt(1))){for(var y=2;mD!=e.charAt(y)&&(ZCe!=e.charAt(y)||XCe!=e.charAt(y+1));)++y;if(y+=2,mD===e.charAt(y-1))return l("End of comment missing");var D=e.slice(2,y-2);return a+=2,r(D),e=e.slice(y),a+=2,R({type:Ddn,comment:D})}}function m(){var R=o(),y=c(mdn);if(!!y){if(v(),!c(pdn))return l("property missing ':'");var D=c(_dn),S=R({type:ydn,property:KCe(y[0].replace(YCe,mD)),value:D?KCe(D[0].replace(YCe,mD)):mD});return c(ddn),S}}function _(){var R=[];f(R);for(var y;y=m();)y!==!1&&(R.push(y),f(R));return R}return s(),_()};function KCe(e){return e?e.replace(hdn,mD):mD}});var aIe=Ne((Ppr,LJ)=>{var bdn=nIe();function tIe(e,n){var t=null;if(!e||typeof e!="string")return t;for(var a,r=bdn(e),o=typeof n=="function",i,u,l=0,c=r.length;lByn});var dz=function(e){return function(n){for(var t=[],a=0,r=e.length;a="0"&&e[r]<="9"?"\\&":"";return"\\"+t.charCodeAt(0).toString(10)+o})+'"'},Zz=function(e){return function(n){for(var t=[],a=0,r=n.length;a0?Math.floor(e/n):-Math.floor(e/-n)}},h$=function(e){return function(n){if(n===0)return 0;var t=Math.abs(n);return(e%t+t)%t}};var J5={Ring0:function(){return Ev}};var bl=function(e){return e.mod};var Ba={degree:_$,div:d$,mod:h$,CommutativeRing0:function(){return J5}},vr=function(e){return e.div};var W5={mempty:Ie,Semigroup0:function(){return jR}},st={mempty:"",Semigroup0:function(){return P0}};var af={mempty:[],Semigroup0:function(){return ma}};var ha=function(e){return e.mempty};var q5=function(e){return function(){return e}},D$=function(e){return function(n){return function(){return n(e())()}}};var z5=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},T4e=function(e,n){if(e<1)return[];var t=new Array(e);return t.fill(n)},F4e=function(e,n){for(var t=[],a=0,r=0;r=t.length?n:e(t[a])};var G$=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)},x$=function(e,n,t,a,r){if(t<0||t>=r.length)return n;var o=r.slice();return o[t]=a,e(o)},WR=function(e){return e.slice().reverse()},TD=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}}},aV=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},zV=function(e,n){for(var t=n[0],a=n.length,r=1;r0)return new d(fw(e));if(Le)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 zD=function(e){return function(n){return fw(wi(e)(n))}};var nQ=function(e){return function(n){return pAe(e(ac(n)))}},Cp=nQ(Ri);var tQ=nQ(EV),aQ=function(e){return function(n){return e(ac(n))}};var vw=aQ(iu);var rQ=function(e){var n=aQ(e);return function(t){return fw(n(t))}},oQ=function(e){return rQ(wi(e))};var iQ=function(e){var n=Rl(e);return function(t){return rQ(n(t))}};var uQ=function(e){return function(n){return function(t){return(t|0)===t?e(t):n}}},ct=function(e){return e};var UT=isFinite;var HT=Math.abs;var E6=Math.cos;var $D=Math.floor,C6=Math.log;var BT=function(e){return function(n){return Math.pow(e,n)}},Kd=function(e){return function(n){return e%n}},eh=Math.round;var I6=Math.sin;var xv=3.141592653589793;var lQ=2.302585092994046;var cQ=Ji(RD),sQ=ti(RD);var Ip=function(){return uQ(d.create)(C.value)}(),fQ=function(e){if(!UT(e))return 0;if(e>=ct(cQ))return cQ;if(e<=ct(sQ))return sQ;if(Le)return Se(0)(Ip(e));throw new Error("Failed pattern match at Data.Int (line 72, column 1 - line 72, column 29): "+[e.constructor.name])},es=function(e){return fQ(eh(e))};var jr=function(e){return fQ($D(e))},vQ=function(e){return(e&1)==0};var Nr=function(){function e(){}return e.value=new e,e}(),Ia=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}(),JT=function(e){return e},MAe=function(e){return new Ia(e.value0,e.value1)};var GAe=function(e){var n=function(t){return function(a){var r=t,o=!1,i;function u(l,c){if(c instanceof Ia&&c.value1 instanceof Ia&&c.value1.value1 instanceof Ia){r=new Ia(c,l),a=c.value1.value1.value1;return}var s=function(v){return v instanceof Ia&&v.value1 instanceof Ia&&v.value1.value1 instanceof Nr?new Ia(e(v.value0),new Ia(e(v.value1.value0),Nr.value)):v instanceof Ia&&v.value1 instanceof Nr?new Ia(e(v.value0),Nr.value):Nr.value},f=function(v){return function(m){var _=v,R=!1,y;function D(S,M){if(S instanceof Ia&&S.value0 instanceof Ia&&S.value0.value1 instanceof Ia&&S.value0.value1.value1 instanceof Ia){_=S.value1,m=new Ia(e(S.value0.value0),new Ia(e(S.value0.value1.value0),new Ia(e(S.value0.value1.value1.value0),M)));return}return R=!0,M}for(;!R;)y=D(_,m);return y}};return o=!0,f(l)(s(c))}for(;!o;)i=u(r,a);return i}};return n(Nr.value)},AAe={map:GAe};var ns={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 Nr)return l=!0,f;if(v instanceof Ia){u=new Ia(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(Nr.value)}(),a=pr(ns)(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 Nr)return o=!0,l;if(c instanceof Ia){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=Qe(e.Semigroup0()),t=ha(e);return function(a){return pr(ns)(function(r){var o=n(r);return function(i){return o(a(i))}})(t)}}};var xAe=br(ns);var T6={append:function(e){return function(n){return xAe(Ia.create)(n)(e)}}},pQ=Qe(T6);var F6={append:function(e){return function(n){return new vf(e.value0,pQ(e.value1)(MAe(n)))}}};var LAe={alt:pQ,Functor0:function(){return AAe}},_Q=function(){return{empty:Nr.value,Alt0:function(){return LAe}}}();var BAe=j(H);var M6=function(e){if(e instanceof Nr)return C.value;if(e instanceof Ia)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])},WT=function(e){return Eu(e)(function(n){return BAe(function(t){return new Oe(t.head,t.tail)})(M6(n))})};var nh=function(e){return br(e)(Ia.create)(Nr.value)};var DQ=function(e){return e()};var yQ=function(e){throw new Error(e)};var bQ=function(){return yQ};var JAe=bQ(),WAe=DQ,rc=function(e){return WAe(function(){return JAe(e)})};var G6=function(){var e=kT(_Q);return function(n){return JT(e(n))}}();var RQ=function(e){return e.value0};var SQ=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 Io=function(){function e(){}return e.value=new e,e}(),To=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}(),EQ=function(){function e(){}return e.value=new e,e}(),A6=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}(),x6=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}(),CQ=function(){function e(){}return e.value=new e,e}(),L6=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}(),qT=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 ts=function(e,n,t,a){if(t instanceof Io){if(a instanceof Io)return new To(1,1,e,n,t,a);if(a instanceof To)return new To(1+a.value0|0,1+a.value1|0,e,n,t,a);throw new Error("Failed pattern match at Data.Map.Internal (line 680, column 5 - line 684, column 39): "+[a.constructor.name])}if(t instanceof To){if(a instanceof Io)return new To(1+t.value0|0,1+t.value1|0,e,n,t,a);if(a instanceof To)return new To(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 686, column 5 - line 690, column 68): "+[a.constructor.name])}throw new Error("Failed pattern match at Data.Map.Internal (line 678, column 32 - line 690, column 68): "+[t.constructor.name])},mw=function(){return jt(x6.create)(EQ.value)}(),VAe=function(e){return function(n){return function(t){var a=function(r){var o=!1,i;function u(l){if(l instanceof EQ)return o=!0,t(Ie);if(l instanceof A6)return o=!0,n(l.value0,l.value1,l.value2);if(l instanceof x6){r=e(l.value1)(l.value0);return}throw new Error("Failed pattern match at Data.Map.Internal (line 918, column 8 - line 924, column 20): "+[l.constructor.name])}for(;!o;)i=u(r);return i};return a}}};var VD=function(e){return function(n){return new To(1,1,e,n,Io.value,Io.value)}},QD=function(){var e=function(a){if(a instanceof Io)return 0;if(a instanceof To)return a.value0;throw new Error("Failed pattern match at Data.Map.Internal (line 735, column 12 - line 737, column 26): "+[a.constructor.name])},n=function(a,r,o,i,u,l,c){return l instanceof To&&l.value0>e(c)?ts(l.value2,l.value3,ts(a,r,o,l.value4),ts(i,u,l.value5,c)):ts(i,u,ts(a,r,o,l),c)},t=function(a,r,o,i,u,l,c){return l instanceof To&&e(u)<=l.value0?ts(l.value2,l.value3,ts(o,i,u,l.value4),ts(a,r,l.value5,c)):ts(o,i,u,ts(a,r,l,c))};return function(a,r,o,i){if(o instanceof Io)return i instanceof Io?VD(a)(r):i instanceof To&&i.value0>1?n(a,r,o,i.value2,i.value3,i.value4,i.value5):ts(a,r,o,i);if(o instanceof To){if(i instanceof To){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 Io&&o.value0>1?t(a,r,o.value2,o.value3,o.value4,o.value5,i):ts(a,r,o,i)}throw new Error("Failed pattern match at Data.Map.Internal (line 695, column 40 - line 716, column 34): "+[o.constructor.name])}}(),j6=SQ("unsafeSplit","Data.Map.Internal",function(){return function(e,n,t){if(t instanceof Io)return new qT(C.value,Io.value,Io.value);if(t instanceof To){var a=e(n)(t.value2);if(a instanceof we){var r=j6(771)(e,n,t.value4);return new qT(r.value0,r.value1,QD(t.value2,t.value3,r.value2,t.value5))}if(a instanceof Re){var r=j6(774)(e,n,t.value5);return new qT(r.value0,QD(t.value2,t.value3,t.value4,r.value1),r.value2)}if(a instanceof Te)return new qT(new d(t.value3),t.value4,t.value5);throw new Error("Failed pattern match at Data.Map.Internal (line 769, column 5 - line 777, column 30): "+[a.constructor.name])}throw new Error("Failed pattern match at Data.Map.Internal (line 765, column 34 - line 777, column 30): "+[t.constructor.name])}}),QAe=j6(764);var N6=SQ("unsafeUnionWith","Data.Map.Internal",function(){return function(e,n,t,a){if(t instanceof Io)return a;if(a instanceof Io)return t;if(a instanceof To){var r=QAe(e,a.value2,t),o=N6(787)(e,n,r.value1,a.value4),i=N6(788)(e,n,r.value2,a.value5);if(r.value0 instanceof d)return QD(a.value2,n(r.value0.value0)(a.value3),o,i);if(r.value0 instanceof C)return QD(a.value2,a.value3,o,i);throw new Error("Failed pattern match at Data.Map.Internal (line 789, column 5 - line 793, column 46): "+[r.value0.constructor.name])}throw new Error("Failed pattern match at Data.Map.Internal (line 782, column 42 - line 793, column 46): "+[t.constructor.name,a.constructor.name])}}),YAe=N6(781),XAe=function(e){var n=Ze(e);return function(t){return function(a){return function(r){return YAe(n,t,a,r)}}}},zT=function(e){return XAe(e)(an)};var th=function(e){var n=Ze(e);return function(t){var a=function(r){var o=!1,i;function u(l){if(l instanceof Io)return o=!0,C.value;if(l instanceof To){var c=n(t)(l.value2);if(c instanceof we){r=l.value4;return}if(c instanceof Re){r=l.value5;return}if(c instanceof Te)return o=!0,new d(l.value3);throw new Error("Failed pattern match at Data.Map.Internal (line 281, column 7 - line 284, column 22): "+[c.constructor.name])}throw new Error("Failed pattern match at Data.Map.Internal (line 278, column 8 - line 284, column 22): "+[l.constructor.name])}for(;!o;)i=u(r);return i};return a}};var ZAe=function(){var e=function(n){return function(t){var a=n,r=!1,o;function i(u,l){if(l instanceof Io)return r=!0,u;if(l instanceof To){if(l.value5 instanceof Io){a=new A6(l.value2,l.value3,u),t=l.value4;return}a=new A6(l.value2,l.value3,new x6(l.value5,u)),t=l.value4;return}throw new Error("Failed pattern match at Data.Map.Internal (line 929, column 13 - line 936, column 48): "+[l.constructor.name])}for(;!r;)o=i(a,t);return o}};return e}(),pw=VAe(ZAe),IQ=function(){return pw(function(e,n,t){return new L6(e,n,t)})(an(CQ.value))}(),KAe=function(e){var n=me(e);return function(t){var a=me(t);return{eq:function(){var r=function(o){return function(i){var u=o,l=!1,c;function s(f,v){var m=IQ(f);if(m instanceof L6){var _=IQ(v);if(_ instanceof L6&&n(m.value0)(_.value0)&&a(m.value1)(_.value1)){u=m.value2,i=_.value2;return}return l=!0,!1}if(m instanceof CQ)return l=!0,!0;throw new Error("Failed pattern match at Data.Map.Internal (line 837, column 14 - line 846, column 13): "+[m.constructor.name])}for(;!l;)c=s(u,i);return c}};return r}()}}};var exe=function(){var e=function(n,t,a){return new d(new Oe(new Oe(n,t),a))};return pw(e)(function(n){return C.value})}(),ah=function(e){var n=Eu(e)(exe);return function(t){return n(mw(t))}};var P6=function(e){return e instanceof Io};var O6=function(e){var n=Ze(e);return function(t){return function(a){var r=function(o){if(o instanceof Io)return VD(t)(a);if(o instanceof To){var i=n(t)(o.value2);if(i instanceof we)return QD(o.value2,o.value3,r(o.value4),o.value5);if(i instanceof Re)return QD(o.value2,o.value3,o.value4,r(o.value5));if(i instanceof Te)return new To(o.value0,o.value1,t,a,o.value4,o.value5);throw new Error("Failed pattern match at Data.Map.Internal (line 469, column 7 - line 472, column 35): "+[i.constructor.name])}throw new Error("Failed pattern match at Data.Map.Internal (line 466, column 8 - line 472, column 35): "+[o.constructor.name])};return r}}};var k6=function(e){var n=KAe(e);return function(t){var a=me(n(t));return{eq:function(r){return function(o){if(r instanceof Io)return o instanceof Io;if(r instanceof To)return o instanceof To&&r.value1===o.value1?a(mw(r))(mw(o)):!1;throw new Error("Failed pattern match at Data.Map.Internal (line 92, column 14 - line 103, column 16): "+[r.constructor.name])}}}}};var mf=function(){return Io.value}(),oc=function(e){var n=O6(e);return function(t){return pr(t)(function(a){return function(r){return n(r.value0)(r.value1)(a)}})(mf)}};var FQ=Bo();var nxe=function(e){return FQ(zT(e))};var MQ=function(e){return e};var GQ=function(e){return VD(e)(Ie)};var AQ=function(e){return{append:nxe(e)}};var xQ=FQ(P6);var LQ=function(e){var n=O6(e);return function(t){return function(a){return n(t)(Ie)(a)}}};var jQ=function(e){var n=me(k6(e)(xR));return{eq:function(t){return function(a){return n(t)(a)}}}};var txe=mf,$T=function(e){var n=pr(e);return function(t){var a=LQ(t);return n(function(r){return function(o){return a(o)(r)}})(txe)}};var axe=typeof Array.from=="function",NQ=typeof Symbol!="undefined"&&Symbol!=null&&typeof Symbol.iterator!="undefined"&&typeof String.prototype[Symbol.iterator]=="function",rxe=typeof String.prototype.fromCodePoint=="function",oxe=typeof String.prototype.codePointAt=="function",PQ=function(e){return oxe?function(n){return n.codePointAt(0)}:e},OQ=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(NQ)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 kQ=function(e){return rxe?String.fromCodePoint:e},UQ=function(e){return function(n){return NQ?function(t){for(var a="",r=t[Symbol.iterator](),o=0;o=Tp(JQ)&&e<=Tp(WQ)?new d(BQ(e)):C.value},ixe={succ:rh(H6)(Tp),pred:oh(H6)(Tp),Ord0:function(){return bT}};var YD=function(){return{cardinality:Tp(WQ)-Tp(JQ)|0,toEnum:H6,fromEnum:Tp,Bounded0:function(){return _p},Enum1:function(){return ixe}}}();var XD=function(e){return e.join("")},_w=function(e){return e.split("")},ih=function(e){return e},qQ=function(e){return function(n){return function(t){return function(a){return t>=0&&t=0&&e1;if(t){var a=gw(Q0(1)(e)),r=QQ(a);return r?VQ(n)(a):n}return n},J6=PQ(gxe),XT=HQ(hxe)(J6),zr=function(e){return pa(XT(e))};var W6=function(){var e=U6(YD)(ti(_p))(Ji(_p));return function(n){return ih(e(n))}}(),Dxe=function(e){if(e<=65535)return W6(e);var n=mxe(e-65536|0)(1024)+55296|0,t=pxe(e-65536|0)(1024)+56320|0;return W6(n)+W6(t)};var q6=kQ(Dxe),XQ=function(e){return function(n){if(e<1)return"";var t=Dw(n);return t instanceof d?q6(t.value0.head)+XQ(e-1|0)(t.value0.tail):n}},os=UQ(XQ);var ZT={eq:function(e){return function(n){return e===n}}},KT={compare:function(e){return function(n){return _xe(e)(n)}},Eq0:function(){return ZT}},eF=function(e){return function(n){return V0(as(os(e)(n)))(n)}};var yxe=function(e){return function(n){var t=e,a=!1,r;function o(i,u){var l=Dw(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}},z6=function(e){return function(n){return e<0?C.value:e===0&&n===""?C.value:e===0?new d(J6(n)):OQ(yxe)(d.create)(C.value)(J6)(e)(n)}},bxe={bottom:0,top:1114111,Ord0:function(){return KT}},Mp=function(){return{cardinality:1114111+1|0,fromEnum:function(e){return e},toEnum:function(e){if(e>=0&&e<=1114111)return new d(e);if(Le)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 bxe},Enum1:function(){return Rxe(0)}}}(),Rxe=sxe("enumCodePoint","Data.String.CodePoints",function(){return{succ:rh(Rt(Mp))(_t(Mp)),pred:oh(Rt(Mp))(_t(Mp)),Ord0:function(){return KT}}});function nF(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 Y0=function(){return function(){return function(e){return function(n){return nF(e,n)}}}};function rY(e){return typeof e=="string"}function $6(e){return typeof e=="number"}function oY(e){return typeof e=="boolean"}function tF(e){return e instanceof Object}function iY(e){return e instanceof Function}function bw(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 V6(e){return typeof e}function Rw(e){return Object.prototype.toString.call(e).slice(8,-1)}function ww(e){return e===null}function lh(e){return e===void 0}var KD=Array.isArray||function(e){return Object.prototype.toString.call(e)==="[object Array]"};function pf(e){return new Error(e)}function e1(e){return e.message}function aF(e){return function(){throw e}}var lY=function(e){return aF(pf(e))};var Ei=function(e){return e.throwError};var uc=function(e){return e.catchError};var is=function(e){var n=uc(e),t=e.MonadThrow0().Monad0(),a=j(t.Bind1().Apply0().Functor0()),r=q(t.Applicative0());return function(o){return n(a(un.create)(o))(function(i){return r(rn.create(i))})}};var Lv=function(e){return e.state};var jv=function(e){return e.tell};var us={liftEffect:Ve(Xe),Monad0:function(){return Iv}},it=function(e){return e.liftEffect};var Lxe=j(ai);var Q6=function(e){return e};var rF=function(e){return e};var oF=function(e){return function(n){return e(n)}},Y6=function(e){var n=j(e);return{map:function(t){return oF(n(Lxe(t)))}}};var X6=function(e){return{Applicative0:function(){return _f(e)},Bind1:function(){return Nv(e)}}},Nv=function(e){var n=Z(e.Bind1()),t=q(e.Applicative0());return{bind:function(a){return function(r){return n(a)(Za(function(o){return t(rn.create(o))})(function(o){var i=r(o);return i}))}},Apply0:function(){return sY(e)}}},sY=function(e){var n=Y6(e.Bind1().Apply0().Functor0());return{apply:ec(X6(e)),Functor0:function(){return n}}},_f=function(e){return{pure:function(){var n=q(e.Applicative0());return function(t){return Q6(n(un.create(t)))}}(),Apply0:function(){return sY(e)}}};var fY=function(e){var n=X6(e);return{throwError:function(){var t=q(e.Applicative0());return function(a){return Q6(t(rn.create(a)))}}(),Monad0:function(){return n}}};var Z6=function(e){var n=Qe(e);return function(t){var a=t.Bind1(),r=Z(a),o=q(t.Applicative0()),i=Y6(a.Apply0().Functor0());return{alt:function(u){return function(l){return r(u)(function(c){if(c instanceof un)return o(new un(c.value0));if(c instanceof rn)return r(l)(function(s){if(s instanceof un)return o(new un(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 86, column 9 - line 88, column 49): "+[s.constructor.name])});throw new Error("Failed pattern match at Control.Monad.Except.Trans (line 82, column 5 - line 88, column 49): "+[c.constructor.name])})}},Functor0:function(){return i}}}};var Nxe=te(Jr),Pxe=te(ze);var iF=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Iw=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}(),vY=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}(),mY=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}(),ao=Be,Gp=Be;var Tw=function(e){if(e instanceof iF)return e.value0;if(e instanceof vY)return"Error at array index "+(Pxe(e.value0)+(": "+Tw(e.value1)));if(e instanceof mY)return"Error at property "+(Nxe(e.value0)+(": "+Tw(e.value1)));if(e instanceof Iw)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 sh=function(e){var n=Ei(fY(e));return function(t){return n(G6(t))}},pY=function(e){var n=q(_f(e)),t=sh(e);return function(a){if(KD(a))return n(Gp(a));if(Le)return t(new Iw("array",Rw(a)));throw new Error("Failed pattern match at Foreign (line 164, column 1 - line 164, column 99): "+[a.constructor.name])}},df=function(e){var n=q(_f(e)),t=sh(e);return function(a){return function(r){if(Rw(r)===a)return n(Gp(r));if(Le)return t(new Iw(a,Rw(r)));throw new Error("Failed pattern match at Foreign (line 123, column 1 - line 123, column 104): "+[a.constructor.name,r.constructor.name])}}};var fh=function(e){return df(e)("String")};var _Y=lr(ta),dY=Pa(_Y),Oxe=AV(JD),kxe=te(ze),Uxe=Rr(st),lu=function(){function e(){}return e.value=new e,e}(),Yu=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),_e={validateJsRecord:function(e){return lu.value}},Ap={validateForeignType:function(e){return lu.value}};var vh=function(e){return function(n){return function(t){var a=n(t);return a?lu.value:new Yu({path:"",got:t,expected:e})}}},Fw={validateForeignType:vh("Array")(KD)},Wn={validateForeignType:vh("Boolean")(oY)},hY={validateForeignType:vh("Function")(iY)};var wt={validateForeignType:vh("Int")(lf(_Y)($6)(function(e){return gt(Ip(Gp(e)))}))};var Ft={validateForeignType:vh("Number")($6)},uF={validateForeignType:vh("Object")(tF)},ie={validateForeignType:vh("String")(rY)},gY=function(e){return e.validateJsRecord},$n=function(){return function(e){var n=gY(e);return{validateForeignType:function(t){if(tF(t))return n(t);if(Le)return new Yu({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])}}}},t1=function(e){return e.validateForeignType},qn=function(e){var n=t1(e);return{validateForeignType:function(t){if(dY(KD)(t))return new Yu({path:"",expected:"Array",got:t});if(Le){var a=function(o){return function(i){var u=n(i);if(u instanceof lu)return C.value;if(u instanceof Yu)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=Oxe(a)(Gp(t));if(r instanceof C)return lu.value;if(r instanceof d)return new Yu({expected:r.value0.invalid.expected,got:r.value0.invalid.got,path:"["+(kxe(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=t1(e);return{validateForeignType:function(t){if(ww(t)||lh(t))return lu.value;if(Le){var a=n(t);if(a instanceof lu)return lu.value;if(a instanceof Yu)return new Yu({path:a.value0.path,got:a.value0.got,expected:"Nullable "+a.value0.expected});throw new Error("Failed pattern match at Elmish.Foreign (line 196, column 11 - line 198, column 82): "+[a.constructor.name])}throw new Error("Failed pattern match at Elmish.Foreign (line 192, column 1 - line 198, column 82): "+[t.constructor.name])}}},mh=function(e){var n=t1(e);return{validateForeignType:function(t){if(dY(tF)(t))return new Yu({path:"",expected:"Object",got:t});if(Le){var a=function(r){return function(o){return function(i){if(r instanceof Yu)return C.value;var u=n(i);if(u instanceof lu)return new d(lu.value);if(u instanceof Yu)return new d(new Yu({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 HV(a)(lu.value)(Gp(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=Cr(e);return function(t){var a=t1(t);return function(r){var o=gY(r);return{validateJsRecord:function(i){var u=n(Gt.value),l=wu(u)(Gp(i)),c=a(l);if(c instanceof Yu)return new Yu({expected:c.value0.expected,got:c.value0.got,path:"."+(u+c.value0.path)});if(c instanceof lu)return o(i);throw new Error("Failed pattern match at Elmish.Foreign (line 235, column 9 - line 237, column 43): "+[c.constructor.name])}}}}},X0=function(e){var n=t1(e);return function(t){var a=n(t);if(a instanceof lu)return new un(Gp(t));if(a instanceof Yu)return new rn(Uxe([a.value0.path,function(){var r=a.value0.path==="";return r?"Expected ":": expected "}(),a.value0.expected," but got: ",bw(a.value0.got)]));throw new Error("Failed pattern match at Elmish.Foreign (line 255, column 18 - line 263, column 6): "+[a.constructor.name])}},St=function(e){var n=X0(e);return function(t){return nc(n(t))}};var DY=on(),Hxe=Ze(Ut);var lF=function(e){return e};var K6={show:DY};var Ci={show:DY};var Bxe={eq:function(e){return function(n){return e===n}}},e8={compare:function(e){return function(n){return Hxe(e)(n)}},Eq0:function(){return Bxe}},lc={eq:function(e){return function(n){return e===n}}};var Mw=ie,ls=ie;var Gw="";function yY(e){var n=e.split(` `);return n.reduce(function(t,a){var r=qxe(a)||$xe(a)||Yxe(a)||e7e(a)||Zxe(a);return r&&t.push(r),t},[])}var Jxe=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack||\/|[a-z]:\\|\\\\).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Wxe=/\((\S*)(?::(\d+))(?::(\d+))\)/;function qxe(e){var n=Jxe.exec(e);if(!n)return null;var t=n[2]&&n[2].indexOf("native")===0,a=n[2]&&n[2].indexOf("eval")===0,r=Wxe.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]||Gw,arguments:t?[n[2]]:[],lineNumber:n[3]?+n[3]:null,column:n[4]?+n[4]:null}}var zxe=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;function $xe(e){var n=zxe.exec(e);return n?{file:n[2],methodName:n[1]||Gw,arguments:[],lineNumber:+n[3],column:n[4]?+n[4]:null}:null}var Vxe=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,Qxe=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function Yxe(e){var n=Vxe.exec(e);if(!n)return null;var t=n[3]&&n[3].indexOf(" > eval")>-1,a=Qxe.exec(n[3]);return t&&a!=null&&(n[3]=a[1],n[4]=a[2],n[5]=null),{file:n[3],methodName:n[1]||Gw,arguments:n[2]?n[2].split(","):[],lineNumber:n[4]?+n[4]:null,column:n[5]?+n[5]:null}}var Xxe=/^\s*(?:([^@]*)(?:\((.*?)\))?@)?(\S.*?):(\d+)(?::(\d+))?\s*$/i;function Zxe(e){var n=Xxe.exec(e);return n?{file:n[3],methodName:n[1]||Gw,arguments:[],lineNumber:+n[4],column:n[5]?+n[5]:null}:null}var Kxe=/^\s*at (?:((?:\[object object\])?[^\\/]+(?: \[as \S+\])?) )?\(?(.*?):(\d+)(?::(\d+))?\)?\s*$/i;function e7e(e){var n=Kxe.exec(e);return n?{file:n[2],methodName:n[1]||Gw,arguments:[],lineNumber:+n[3],column:n[4]?+n[4]:null}:null}function bY({skipFrames:e,prefix:n}){let t=new Error().stack,r=yY(t)[e],o=RY(r.file.replace(/^(http(s?):\/\/)?[^\/]+/,"")),i=RY(r.methodName);return`${n}_${o}_${i}_${r.lineNumber}_${r.column}`}var RY=e=>e.replace(/[^\d\w]+/g,"_").replace(/(^_|_$)/g,"");Wt();var wY=function(){let e={};return function(n,t){let a=e[n]||(e[n]=CY(n));return t(a)}}();function SY(e){return e(CY())}var EY=yt.createElement;function CY(e){class n extends yt.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 sF=typeof module=="undefined"?void 0:module.require,GUn=function(){try{return sF===void 0?void 0:sF("util")}catch{return}}();var AUn=function(){var e;if(typeof performance!="undefined")e=performance;else if(sF)try{e=sF("perf_hooks").performance}catch{}return function(){return(e||Date).now()}}();var wl=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",y="Finalizer",D="Finalized",S="Forked",M="Fiber",P="Thunk";function k(ee,se,De,O){this.tag=ee,this._1=se,this._2=De,this._3=O}function N(ee){var se=function(De,O,ve){return new k(ee,De,O,ve)};return se.tag=ee,se}function Q(ee){return new k(n,void 0)}function de(ee){try{ee()}catch(se){setTimeout(function(){throw se},0)}}function fe(ee,se,De){try{return se(De())}catch(O){return ee(O)}}function ge(ee,se,De){try{return se(De)()}catch(O){return De(ee(O))(),Q}}var re=function(){var ee=1024,se=0,De=0,O=new Array(ee),ve=!1;function $(){var Ge;for(ve=!0;se!==0;)se--,Ge=O[De],O[De]=void 0,De=(De+1)%ee,Ge();ve=!1}return{isDraining:function(){return ve},enqueue:function(Ge){var Fe,Ue;se===ee&&(Ue=ve,$(),ve=Ue),O[(De+se)%ee]=Ge,se++,ve||$()}}}();function Ee(ee){var se={},De=0,O=0;return{register:function(ve){var $=De++;ve.onComplete({rethrow:!0,handler:function(Ge){return function(){O--,delete se[$]}}})(),se[$]=ve,O++},isEmpty:function(){return O===0},killAll:function(ve,$){return function(){if(O===0)return $();var Ge=0,Fe={};function Ue(xe){Fe[xe]=se[xe].kill(ve,function(In){return function(){delete Fe[xe],Ge--,ee.isLeft(In)&&ee.fromLeft(In)&&setTimeout(function(){throw ee.fromLeft(In)},0),Ge===0&&$()}})()}for(var qe in se)se.hasOwnProperty(qe)&&(Ge++,Ue(qe));return se={},De=0,O=0,function(xe){return new k(r,function(){for(var In in Fe)Fe.hasOwnProperty(In)&&Fe[In]()})}}}}}var pe=0,ye=1,je=2,oe=3,Un=4,Ke=5,Pn=6;function On(ee,se,De){var O=0,ve=pe,$=De,Ge=null,Fe=null,Ue=null,qe=null,xe=null,In=0,cn=0,Yn=null,En=!0;function Xn(et){for(var Hn,sn,vt;;)switch(Hn=null,sn=null,vt=null,ve){case je:ve=ye;try{$=Ue($),qe===null?Ue=null:(Ue=qe._1,qe=qe._2)}catch(Ce){ve=Ke,Ge=ee.left(Ce),$=null}break;case oe:ee.isLeft($)?(ve=Ke,Ge=$,$=null):Ue===null?ve=Ke:(ve=je,$=ee.fromRight($));break;case ye:switch($.tag){case i:Ue&&(qe=new k(m,Ue,qe)),Ue=$._2,ve=ye,$=$._1;break;case n:Ue===null?(ve=Ke,$=ee.right($._1)):(ve=je,$=$._1);break;case r:ve=oe,$=fe(ee.left,ee.right,$._1);break;case o:ve=Un,$=ge(ee.left,$._1,function(Ce){return function(){O===et&&(O++,re.enqueue(function(){O===et+1&&(ve=oe,$=Ce,Xn(O))}))}});return;case t:ve=Ke,Ge=ee.left($._1),$=null;break;case a:Ue===null?xe=new k(m,$,xe,Fe):xe=new k(m,$,new k(m,new k(_,Ue,qe),xe,Fe),Fe),Ue=null,qe=null,ve=ye,$=$._1;break;case u:In++,Ue===null?xe=new k(m,$,xe,Fe):xe=new k(m,$,new k(m,new k(_,Ue,qe),xe,Fe),Fe),Ue=null,qe=null,ve=ye,$=$._1;break;case l:ve=oe,Hn=On(ee,se,$._2),se&&se.register(Hn),$._1&&Hn.run(),$=ee.right(Hn);break;case c:ve=ye,$=A(ee,se,$._1);break}break;case Ke:if(Ue=null,qe=null,xe===null)ve=Pn,$=Fe||Ge||$;else switch(Hn=xe._3,vt=xe._1,xe=xe._2,vt.tag){case a:Fe&&Fe!==Hn&&In===0?ve=Ke:Ge&&(ve=ye,$=vt._2(ee.fromLeft(Ge)),Ge=null);break;case _:Fe&&Fe!==Hn&&In===0||Ge?ve=Ke:(Ue=vt._1,qe=vt._2,ve=je,$=ee.fromRight($));break;case u:In--,Ge===null&&(sn=ee.fromRight($),xe=new k(m,new k(R,vt._2,sn),xe,Hn),(Fe===Hn||In>0)&&(ve=ye,$=vt._3(sn)));break;case R:xe=new k(m,new k(D,$,Ge),xe,Fe),ve=ye,Fe&&Fe!==Hn&&In===0?$=vt._1.killed(ee.fromLeft(Fe))(vt._2):Ge?$=vt._1.failed(ee.fromLeft(Ge))(vt._2):$=vt._1.completed(ee.fromRight($))(vt._2),Ge=null,In++;break;case y:In++,xe=new k(m,new k(D,$,Ge),xe,Fe),ve=ye,$=vt._1;break;case D:In--,ve=Ke,$=vt._1,Ge=vt._2;break}break;case Pn:for(var ja in Yn)Yn.hasOwnProperty(ja)&&(En=En&&Yn[ja].rethrow,de(Yn[ja].handler($)));Yn=null,Fe&&Ge?setTimeout(function(){throw ee.fromLeft(Ge)},0):ee.isLeft($)&&En&&setTimeout(function(){if(En)throw ee.fromLeft($)},0);return;case pe:ve=ye;break;case Un:return}}function dt(et){return function(){if(ve===Pn)return En=En&&et.rethrow,et.handler($)(),function(){};var Hn=cn++;return Yn=Yn||{},Yn[Hn]=et,function(){Yn!==null&&delete Yn[Hn]}}}function Fn(et,Hn){return function(){if(ve===Pn)return Hn(ee.right(void 0))(),function(){};var sn=dt({rethrow:!1,handler:function(){return Hn(ee.right(void 0))}})();switch(ve){case pe:Fe=ee.left(et),ve=Pn,$=Fe,Xn(O);break;case Un:Fe===null&&(Fe=ee.left(et)),In===0&&(ve===Un&&(xe=new k(m,new k(y,$(et)),xe,Fe)),ve=Ke,$=null,Ge=null,Xn(++O));break;default:Fe===null&&(Fe=ee.left(et)),In===0&&(ve=Ke,$=null,Ge=null)}return sn}}function It(et){return function(){var Hn=dt({rethrow:!1,handler:et})();return ve===pe&&Xn(O),Hn}}return{kill:Fn,join:It,onComplete:dt,isSuspended:function(){return ve===pe},run:function(){ve===pe&&(re.isDraining()?Xn(O):re.enqueue(function(){Xn(O)}))}}}function W(ee,se,De,O){var ve=0,$={},Ge=0,Fe={},Ue=new Error("[ParAff] Early exit"),qe=null,xe=e;function In(dt,Fn,It){var et=Fn,Hn=null,sn=null,vt=0,ja={},Ce,We;e:for(;;)switch(Ce=null,et.tag){case S:if(et._3===e&&(Ce=$[et._1],ja[vt++]=Ce.kill(dt,function(Tt){return function(){vt--,vt===0&&It(Tt)()}})),Hn===null)break e;et=Hn._2,sn===null?Hn=null:(Hn=sn._1,sn=sn._2);break;case s:et=et._2;break;case f:case v:Hn&&(sn=new k(m,Hn,sn)),Hn=et,et=et._1;break}if(vt===0)It(ee.right(void 0))();else for(We=0,Ce=vt;We""),Y7e=sc.unmountComponentAtNode;function HX(e,n,t){return yt.createElement.apply(null,[e,X7e(e,n)].concat(t))}function X7e(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)}var BX=(e,n)=>n[e],JX=(e,n,t)=>t[e]=n;var yh=function(n){return function(t){return n(t)()}};var l1=function(n){return function(t){return function(){return n(t)}}},Pp=function(n){return function(t){return function(a){return function(){return n(t,a)}}}},c1=function(n){return function(t){return function(a){return function(r){return function(){return n(t,a,r)}}}}};function zX(e){return n=>e===n}var Zu=null;function $X(e,n,t){return e==null?n:t(e)}function Sl(e){return e}var Ht=ke(Zu)(Sl),K=function(e){return $X(e,C.value,d.create)};var Jw=function(e){return function(n){return function(t){var a=K(t);if(e instanceof C&&a instanceof C)return Ie;if(e instanceof d&&a instanceof C)return Ie;if(e instanceof d&&a instanceof d){if(zX(e.value0)(a.value0))return Ie;if(Le)return n(new d(a.value0))()}return n(a)()}}};var v5e=X(ft);var x={asReactChildren:function(e){return[e]}},ae={asReactChildren:function(e){return[e]}},J={asReactChildren:Ve(Xe)};var x8=c1(PX),VX=function(){return c1(JX)},QX=Pp(kX),YX=Pp(UX),XX=l1(NX),L8=function(e){var n=St(e);return function(t){return function(a){return v5e(function(){return BX(t,a)})(n)}}},ZX=Pp(OX),bh=function(e){return e.asReactChildren},Df=function(){return function(e){var n=bh(e);return function(t){return function(a){return function(r){return HX(t,a,n(r))}}}}},m5e=Df()(J),El=function(){return function(e){return function(n){return m5e(e)(n)([])}}};var j8=j(ft),p5e=q($t),KX=function(e){return{initialize:function(n){return ZX(n)(e.initialState)},getState:function(n){return function(){var a=j8(K)(XX(n))();return Se(e.initialState)(a)}},setState:x8}},eZ=function(){var e=function(n){return function(t){return{initialize:function(a){return rf(new d(t.initialState))(n)},getState:function(a){return j8(Se(t.initialState))(Xc(n))},setState:function(a){return function(r){return function(o){return function(){return rf(new d(r))(n)(),x8(a)(r)(p5e(Ie))(),o()}}}}}}};return j8(e)(of(C.value))}();var nZ=X(he),tZ=Qe(ma);var d5e=q($t),aZ=VX(),h5e=L8(Wn),rZ=j(ft),g5e=L8(qn(hY)),D5e=zn(Nn),y5e=pt(Ka),b5e=l6($t)($e),R5e=D5e(Ot),oZ=it(us),w5e=ST(Iv),S5e=Qe(NR(ET(jR))),iZ=function(e){return e},Rh=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}(),E5e={map:function(e){return function(n){return new Rh(e(n.value0),n.value1)}}},Ii=function(e){return{bimap:function(n){return function(t){return function(a){return new Rh(t(a.value0),nZ(a.value1)(function(r){return function(o){return r({dispatch:function(i){return o.dispatch(n(i))},onStop:o.onStop})}}))}}}}},uZ={apply:function(e){return function(n){return new Rh(e.value0(n.value0),tZ(e.value1)(n.value1))}},Functor0:function(){return E5e}},Xt={bind:function(e){return function(n){var t=n(e.value0);return new Rh(t.value0,tZ(e.value1)(t.value1))}},Apply0:function(){return uZ}},ht={pure:function(e){return new Rh(e,[])},Apply0:function(){return uZ}},lZ={Applicative0:function(){return ht},Bind1:function(){return Xt}};var C5e=function(e){var n=Z(e);return function(t){var a=it(t);return function(r){return function(o){return new Rh(r,nZ(o)(function(i){return function(u){return n(i)(function(l){return a(u.dispatch(l))})}}))}}}};var wh=function(e){return new Rh(Ie,[e])},wr=function(e){return wh(an(e))},s1=function(e){var n=Z(e.Monad0().Bind1()),t=it(e);return function(a){return wh(function(r){return n(a)(function(o){return t(ke(d5e(Ie))(r.dispatch)(o))})})}},$r=function(e){var n=C5e(e.Monad0().Bind1())(e);return function(t){return n(Ie)([t])}},cZ=function(e){return function(n){return function(t){var a=t({initialState:n.init.value0}),r=aZ("__unmounted"),o=aZ("__subscriptions"),i=function(){var m=rZ(Se(!1)),_=h5e("__unmounted");return function(R){return m(_(R))}}(),u=function(){var m=rZ(Se([])),_=g5e("__subscriptions");return function(R){return m(_(R))}}(),l=function(m){return function(){return y5e(b5e)(u(m))(),o([])(m)()}},c=function(m){return function(_){return function(){var y=u(m)();return o(wi(_F(_))(y))(m)()}}},s=function(m){return function(_){var R=function(y){return _F(R5e(cs(0))(function(){return y({dispatch:function(){var D=f(_);return function(S){return oZ(D(S))}}(),onStop:c(_)})}))};return z5(m)(R)}},f=function(m){return function(_){return w5e(i(m))(function(){var y=a.getState(m)(),D=n.update(y)(_);return a.setState(m)(D.value0)(s(D.value1)(m))()})}},v=function(m){return function(){var R=a.getState(m)();return n.view(R)(f(m))}};return EY(e,{init:a.initialize,render:v,componentDidMount:s(n.init.value1),componentWillUnmount:S5e(r(!0))(l)})}}},sZ=function(e){return function(){var t=oZ(eZ)();return SY(function(a){return cZ(a)(e)(t)})}},Ku=function(e){return function(n){return wY(e,function(t){return function(a){return cZ(t)(n(a))(KX)}})}};var I5e=q(ht),T5e=Ve(Xe),IF=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),F5e={map:function(e){return function(n){return new IF(function(t){return n.value0(function(a){return t(e(a))})})}}},fZ=j(F5e);var N8=function(e){return iZ(bY(e))},ui=function(e){return new IF(function(n){return n(e)})},TF=function(e){return function(n){return new IF(function(t){return Ku(e)(n)(t)})}},P8=function(e){return function(n){return Ku(e)(function(t){return{init:I5e(Ie),update:an(yD),view:an(an(n.value0(T5e)))}})(Ie)}},FF=function(e){var n=N8({skipFrames:3,prefix:"WithHook"});return function(t){return P8(n)(fZ(t)(e))}},oo=function(e){var n=N8({skipFrames:3,prefix:"WithHookCurried"});return function(t){return P8(n)(fZ(Fv(t))(e))}},Cu=function(e){var n=N8({skipFrames:3,prefix:"HooksComponent"});return P8(n)(e)},li=function(){return function(e){return function(n){return new IF(function(t){return e.value0(function(a){var r=n(a);return r.value0(t)})})}}},M5e=li(),Op=function(e){return function(){return M5e}};var vZ=q(ht),A5e=Ve(Xe);var x5e=function(e){return function(n){return function(t){return TF(e)(function(a){return n({init:vZ(t),update:function(r){return function(o){return vZ(o)}},view:AD(a)})})}}},ua=function(e){return x5e("UseState")(A5e)(e)};var mZ=Da(fs()),pZ=mZ.Fragment;var Y=Be,ue=Df()(J)(pZ)({}),ln=!1;var vn=function(){return{"genericTop'":ce.value}}();var O8=function(e){return e["genericTop'"]},mn=function(e){return{"genericTop'":O8(e)}};var pn=function(){return{"genericBottom'":ce.value}}();var Ww=function(e){return e["genericBottom'"]},_n=function(e){return{"genericBottom'":Ww(e)}};var dn=function(e){return{"genericBottom'":new U(Ww(e))}},_Z=function(e){var n=Wd(e);return function(t){return n(Ww(t))}};var nm=j(H),MF=on();var k8=function(e){return e["genericToEnum'"]};var GF=function(e){return e["genericSucc'"]},AF=function(e){var n=Wd(e),t=dp(e);return function(a){var r=nm(n),o=GF(a);return function(i){return r(o(t(i)))}}},xF=function(e){return e["genericPred'"]},hZ=function(e){var n=Wd(e),t=dp(e);return function(a){var r=nm(n),o=xF(a);return function(i){return r(o(t(i)))}}},LF=function(e){return e["genericFromEnum'"]},gZ=function(e){var n=dp(e);return function(t){var a=LF(t);return function(r){return a(n(r))}}},hn=function(e){var n=xF(e),t=GF(e);return function(a){var r=O8(a);return function(o){var i=xF(o),u=GF(o);return function(l){var c=Ww(l);return{"genericPred'":function(s){if(s instanceof U)return nm(U.create)(n(s.value0));if(s instanceof p){var f=i(s.value0);if(f instanceof C)return new d(new U(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 U){var f=t(s.value0);if(f instanceof C)return new d(new p(c));if(f instanceof d)return new d(new U(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 nm(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 gn={"genericPred'":function(e){return C.value},"genericSucc'":function(e){return C.value}},Dn=function(e){var n=xF(e),t=GF(e);return{"genericPred'":function(a){return nm(kR)(n(a))},"genericSucc'":function(a){return nm(kR)(t(a))}}};var U8=function(e){return e["genericCardinality'"]};var yn=function(e){var n=U8(e),t=k8(e),a=LF(e);return function(r){var o=k8(r),i=LF(r);return{"genericCardinality'":MF(n)+MF(U8(r))|0,"genericToEnum'":function(u){var l=function(c){if(u>=0&&un=>t=>a=>{let r=O5e[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()},DZ=(e,n)=>(n.__sentryFingerprint=e,n);var yZ=function(e){return Su(DZ)(e)};var zo="error";var jF={parseOrPanic:function(e){return function(n){var t=e.parse(n);if(t instanceof un)return t.value0;if(t instanceof rn)return Fo(zo)("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])}}},at=function(e){return e.parseOrPanic},k5e=at(jF),Vn=function(e){var n=at(e);return function(t){var a=j(t);return function(r){return n({parse:function(o){return a(d.create)(r.parse(o))},default:C.value,diagnosticName:r.diagnosticName})}}},U5e=Vn(jF)(ai),qw=function(e){var n=X0(e);return function(t){return U5e({parse:n,diagnosticName:t})}},Me={parseOrPanic:function(e){return k5e({default:e.default,diagnosticName:e.diagnosticName,parse:function(){var n=ke(new rn(""))(un.create);return function(t){return n(e.parse(t))}}()})}};var bZ=at(Me);var kp={name:"United States of America",code:"US"},Sh=function(e){return e.name},Up=function(e){return e.code};var H8=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")]}(),H5e=Gn(Up)(H8),f1=bZ({parse:H5e,default:{name:"",code:""},diagnosticName:"USState"}),RZ=bZ({parse:Gn(Sh)(H8),default:{name:"",code:""},diagnosticName:"USState"}),wZ=[kp,{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"}],B5e=function(e){return Sp(function(n){return function(t){return t===e}(function(t){return t.code}(n))})(wZ)},NF=Vn(Me)(H)({parse:B5e,diagnosticName:"Common.Geo.Country"});var J5e=function(e){return e};var v1=function(e){return e},zw=J5e;var SZ=X(H),W5e=Nt(xr),q5e=oi($e)(st),Cl=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),el=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),$w=function(e){if(e instanceof Cl)return Sh(e.value0.state);if(e instanceof el)return e.value0.country.name;throw new Error("Failed pattern match at Common.Address (line 160, column 22 - line 162, column 41): "+[e.constructor.name])};var Vw=function(e){if(e instanceof Cl)return e.value0.region;if(e instanceof el)return"Non-US";throw new Error("Failed pattern match at Common.Address (line 140, column 10 - line 142, column 29): "+[e.constructor.name])},z5e=function(e){return{street:e.street,city:e.city,county:e.county,region:e.region,zip:e.zip,state:f1(e.state),location:zw(e.location)}},$5e=function(e){return{address:e.address,country:Se(kp)(NF(e.country)),location:zw(e.location)}},EZ=function(e){var n=SZ(K(e.usAddress))(function(a){return new Cl(z5e(a))}),t=SZ(K(e.nonUSAddress))(function(a){return new el($5e(a))});return wT(function(a){return Fo(zo)("Unable to parse Address: Unknown Address")({raw:e})(function(r){return new el({address:"",country:kp,location:zw({lat:-48.8766632,lng:-123.395522})})})})(W5e(n)(t))},Qw=function(e){if(e instanceof Cl||e instanceof el)return e.value0.location;throw new Error("Failed pattern match at Common.Address (line 135, column 12 - line 137, column 37): "+[e.constructor.name])},Yw=function(e){if(e instanceof Cl)return e.value0.city+(", "+Sh(e.value0.state));if(e instanceof el)return e.value0.country.name;throw new Error("Failed pattern match at Common.Address (line 145, column 26 - line 147, column 41): "+[e.constructor.name])},B8=function(e){if(e instanceof Cl)return q5e(" ")([e.value0.street,Yw(e),e.value0.zip]);if(e instanceof el)return e.value0.address;throw new Error("Failed pattern match at Common.Address (line 124, column 18 - line 128, column 17): "+[e.constructor.name])};var V5e=at(Me),CZ=Dn(gn),IZ=hn(CZ)(mn(vn)),TZ=_n(pn),FZ=dn(TZ),MZ=Rn(bn),GZ=yn(MZ),PF=function(){function e(){}return e.value=new e,e}(),J8=function(){function e(){}return e.value=new e,e}(),W8=function(){function e(){}return e.value=new e,e}(),Q5e={to:function(e){if(e instanceof U)return PF.value;if(e instanceof p&&e.value0 instanceof U)return J8.value;if(e instanceof p&&e.value0 instanceof p)return W8.value;throw new Error("Failed pattern match at Common.CampusSetting (line 20, column 1 - line 20, column 40): "+[e.constructor.name])},from:function(e){if(e instanceof PF)return new U(ce.value);if(e instanceof J8)return new p(new U(ce.value));if(e instanceof W8)return new p(new p(ce.value));throw new Error("Failed pattern match at Common.CampusSetting (line 20, column 1 - line 20, column 40): "+[e.constructor.name])}},Y5e=wn(Q5e)(IZ(IZ(CZ)(TZ))(FZ))(GZ(GZ(MZ)))(FZ);var Eh=function(e){if(e instanceof PF)return"Rural";if(e instanceof W8)return"Urban";if(e instanceof J8)return"Suburban";throw new Error("Failed pattern match at Common.CampusSetting (line 25, column 8 - line 28, column 25): "+[e.constructor.name])},AZ=function(){return V5e({parse:Gn(Eh)(Y5e),default:PF.value,diagnosticName:"CampusSetting"})}();var xZ=function(e){return function(n){return n.join(e)}};var X5e=Qe(ma),Mo={genericShowArgs:function(e){return[]}};var Z5e=function(e){return e.genericShowArgs};var Vr=function(e){var n=Z5e(e);return function(t){var a=Cr(t);return{"genericShow'":function(r){var o=a(Gt.value),i=n(r);return i.length===0?o:"("+(xZ(" ")(X5e([o])(i))+")")}}}},q8=function(e){return e["genericShow'"]};var io=function(e){var n=q8(e);return function(t){var a=q8(t);return{"genericShow'":function(r){if(r instanceof U)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])}}}},Qr=function(e){var n=dp(e);return function(t){var a=q8(t);return function(r){return a(n(r))}}};var yf=function(e){var n=null;return function(){return e===void 0||(n=e(),e=void 0),n}},fc=function(e){return e()};var kF=function(e){var n=j(e);return{map:function(t){return function(a){return function(r){return n(function(o){return new Oe(t(o.value0),o.value1)})(a(r))}}}}};var m1=function(e){return{Applicative0:function(){return Xw(e)},Bind1:function(){return UF(e)}}},UF=function(e){var n=Z(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 HF(e)}}},HF=function(e){var n=kF(e.Bind1().Apply0().Functor0());return{apply:ec(m1(e)),Functor0:function(){return n}}},Xw=function(e){var n=q(e.Applicative0());return{pure:function(t){return function(a){return n(new Oe(t,a))}},Apply0:function(){return HF(e)}}};var BF=function(e){var n=e.Monad0(),t=Z(n.Bind1()),a=q(n.Applicative0()),r=$u(e),o=m1(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 Uo)return new Uo(new Oe(f.value0.value0,f.value1));if(f.value0 instanceof Ho)return new Ho(new Oe(f.value0.value0,f.value1));throw new Error("Failed pattern match at Control.Monad.State.Trans (line 87, column 16 - line 89, column 40): "+[f.value0.constructor.name])}())})};return function(c){return r(l)(new Oe(u,c))}}},Monad0:function(){return o}}},p1=function(e){var n=q(e.Applicative0()),t=m1(e);return{state:function(a){return function(r){return n(a(r))}},Monad0:function(){return t}}};var JF=function(e){return function(n){var t=e(n);return t.value0}};var i6e=bl(Ba),u6e=qa();var PZ=function(e){return e};var l6e=1,Y8=2147483647,c6e=function(){return Y8-1|0}(),OZ=function(e){var n=function(t){return function(a){return function(r){var o=a-t|0,i=i6e(r)(o),u=it=>{try{let a=new Date(t);return isNaN(a.getTime())?n:e(a)}catch{return n}},TL=e=>({year:e.getFullYear(),month:e.getMonth(),day:e.getDate(),hour:e.getHours(),minute:e.getMinutes(),second:e.getSeconds(),millisecond:e.getMilliseconds()}),oee=()=>new Date,A8e=(()=>{let e=new Date;return typeof window!="undefined"?()=>e:()=>{let n=new Date;return n-e>1e3&&(e=n),e}})();var x8e=(()=>{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 iee=function(e,n,t){var a=new Date(Date.UTC(e,n,t));return e>=0&&e<100&&a.setUTCFullYear(e),a};function uee(e,n,t,a){var r=iee(n,t-1,a);return e(r.getUTCFullYear())(r.getUTCMonth()+1)(r.getUTCDate())}function lee(e,n,t){return iee(e,n-1,t).getUTCDay()}var fM=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 Dc=function(){function e(){}return e.value=new e,e}(),ms=function(){function e(){}return e.value=new e,e}(),ps=function(){function e(){}return e.value=new e,e}(),_s=function(){function e(){}return e.value=new e,e}(),ds=function(){function e(){}return e.value=new e,e}(),hs=function(){function e(){}return e.value=new e,e}(),Lf=function(){function e(){}return e.value=new e,e}(),nl=function(){function e(){}return e.value=new e,e}(),Tl=function(){function e(){}return e.value=new e,e}(),tl=function(){function e(){}return e.value=new e,e}(),Fl=function(){function e(){}return e.value=new e,e}(),Ml=function(){function e(){}return e.value=new e,e}(),al=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}(),Al=function(){function e(){}return e.value=new e,e}(),xl=function(){function e(){}return e.value=new e,e}(),Ll=function(){function e(){}return e.value=new e,e}(),yc=function(){function e(){}return e.value=new e,e}();var cee={show:function(e){if(e instanceof Dc)return"Monday";if(e instanceof ms)return"Tuesday";if(e instanceof ps)return"Wednesday";if(e instanceof _s)return"Thursday";if(e instanceof ds)return"Friday";if(e instanceof hs)return"Saturday";if(e instanceof Lf)return"Sunday";throw new Error("Failed pattern match at Data.Date.Component (line 184, column 1 - line 191, column 25): "+[e.constructor.name])}},FL={show:function(e){if(e instanceof nl)return"January";if(e instanceof Tl)return"February";if(e instanceof tl)return"March";if(e instanceof Fl)return"April";if(e instanceof Ml)return"May";if(e instanceof al)return"June";if(e instanceof rl)return"July";if(e instanceof Gl)return"August";if(e instanceof Al)return"September";if(e instanceof xl)return"October";if(e instanceof Ll)return"November";if(e instanceof yc)return"December";throw new Error("Failed pattern match at Data.Date.Component (line 101, column 1 - line 113, column 29): "+[e.constructor.name])}};var vM=bt,mM=bt,see=Xa,L8e={eq:function(e){return function(n){return e instanceof Dc&&n instanceof Dc||e instanceof ms&&n instanceof ms||e instanceof ps&&n instanceof ps||e instanceof _s&&n instanceof _s||e instanceof ds&&n instanceof ds||e instanceof hs&&n instanceof hs||e instanceof Lf&&n instanceof Lf}}},fee={compare:function(e){return function(n){if(e instanceof Dc&&n instanceof Dc)return Te.value;if(e instanceof Dc)return we.value;if(n instanceof Dc)return Re.value;if(e instanceof ms&&n instanceof ms)return Te.value;if(e instanceof ms)return we.value;if(n instanceof ms)return Re.value;if(e instanceof ps&&n instanceof ps)return Te.value;if(e instanceof ps)return we.value;if(n instanceof ps)return Re.value;if(e instanceof _s&&n instanceof _s)return Te.value;if(e instanceof _s)return we.value;if(n instanceof _s)return Re.value;if(e instanceof ds&&n instanceof ds)return Te.value;if(e instanceof ds)return we.value;if(n instanceof ds)return Re.value;if(e instanceof hs&&n instanceof hs)return Te.value;if(e instanceof hs)return we.value;if(n instanceof hs)return Re.value;if(e instanceof Lf&&n instanceof Lf)return Te.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 L8e}},ML={eq:function(e){return function(n){return e instanceof nl&&n instanceof nl||e instanceof Tl&&n instanceof Tl||e instanceof tl&&n instanceof tl||e instanceof Fl&&n instanceof Fl||e instanceof Ml&&n instanceof Ml||e instanceof al&&n instanceof al||e instanceof rl&&n instanceof rl||e instanceof Gl&&n instanceof Gl||e instanceof Al&&n instanceof Al||e instanceof xl&&n instanceof xl||e instanceof Ll&&n instanceof Ll||e instanceof yc&&n instanceof yc}}},y1={compare:function(e){return function(n){if(e instanceof nl&&n instanceof nl)return Te.value;if(e instanceof nl)return we.value;if(n instanceof nl)return Re.value;if(e instanceof Tl&&n instanceof Tl)return Te.value;if(e instanceof Tl)return we.value;if(n instanceof Tl)return Re.value;if(e instanceof tl&&n instanceof tl)return Te.value;if(e instanceof tl)return we.value;if(n instanceof tl)return Re.value;if(e instanceof Fl&&n instanceof Fl)return Te.value;if(e instanceof Fl)return we.value;if(n instanceof Fl)return Re.value;if(e instanceof Ml&&n instanceof Ml)return Te.value;if(e instanceof Ml)return we.value;if(n instanceof Ml)return Re.value;if(e instanceof al&&n instanceof al)return Te.value;if(e instanceof al)return we.value;if(n instanceof al)return Re.value;if(e instanceof rl&&n instanceof rl)return Te.value;if(e instanceof rl)return we.value;if(n instanceof rl)return Re.value;if(e instanceof Gl&&n instanceof Gl)return Te.value;if(e instanceof Gl)return we.value;if(n instanceof Gl)return Re.value;if(e instanceof Al&&n instanceof Al)return Te.value;if(e instanceof Al)return we.value;if(n instanceof Al)return Re.value;if(e instanceof xl&&n instanceof xl)return Te.value;if(e instanceof xl)return we.value;if(n instanceof xl)return Re.value;if(e instanceof Ll&&n instanceof Ll)return Te.value;if(e instanceof Ll)return we.value;if(n instanceof Ll)return Re.value;if(e instanceof yc&&n instanceof yc)return Te.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 ML}},vee=Xa,mee=function(){return{bottom:-271820|0,top:275759,Ord0:function(){return vM}}}(),j8e=function(){return{bottom:Dc.value,top:Lf.value,Ord0:function(){return fee}}}(),pee=function(){return{bottom:nl.value,top:yc.value,Ord0:function(){return y1}}}(),si={cardinality:547580,toEnum:function(e){if(e>=(-271820|0)&&e<=275759)return new d(e);if(Le)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 mee},Enum1:function(){return N8e(0)}},N8e=fM("enumYear","Data.Date.Component",function(){return{succ:function(){var e=Rt(si),n=_t(si);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=Rt(si),n=_t(si);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return vM}}});var zp={cardinality:7,toEnum:function(e){return e===1?new d(Dc.value):e===2?new d(ms.value):e===3?new d(ps.value):e===4?new d(_s.value):e===5?new d(ds.value):e===6?new d(hs.value):e===7?new d(Lf.value):C.value},fromEnum:function(e){if(e instanceof Dc)return 1;if(e instanceof ms)return 2;if(e instanceof ps)return 3;if(e instanceof _s)return 4;if(e instanceof ds)return 5;if(e instanceof hs)return 6;if(e instanceof Lf)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 j8e},Enum1:function(){return P8e(0)}},P8e=fM("enumWeekday","Data.Date.Component",function(){return{succ:function(){var e=Rt(zp),n=_t(zp);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=Rt(zp),n=_t(zp);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return fee}}});var Yr={cardinality:12,toEnum:function(e){return e===1?new d(nl.value):e===2?new d(Tl.value):e===3?new d(tl.value):e===4?new d(Fl.value):e===5?new d(Ml.value):e===6?new d(al.value):e===7?new d(rl.value):e===8?new d(Gl.value):e===9?new d(Al.value):e===10?new d(xl.value):e===11?new d(Ll.value):e===12?new d(yc.value):C.value},fromEnum:function(e){if(e instanceof nl)return 1;if(e instanceof Tl)return 2;if(e instanceof tl)return 3;if(e instanceof Fl)return 4;if(e instanceof Ml)return 5;if(e instanceof al)return 6;if(e instanceof rl)return 7;if(e instanceof Gl)return 8;if(e instanceof Al)return 9;if(e instanceof xl)return 10;if(e instanceof Ll)return 11;if(e instanceof yc)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 pee},Enum1:function(){return O8e(0)}},O8e=fM("enumMonth","Data.Date.Component",function(){return{succ:function(){var e=Rt(Yr),n=_t(Yr);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=Rt(Yr),n=_t(Yr);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return y1}}});var GL={bottom:1,top:31,Ord0:function(){return mM}},ol={cardinality:31,toEnum:function(e){if(e>=1&&e<=31)return new d(e);if(Le)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 GL},Enum1:function(){return k8e(0)}},k8e=fM("enumDay","Data.Date.Component",function(){return{succ:function(){var e=Rt(ol),n=_t(ol);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=Rt(ol),n=_t(ol);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return mM}}});var _ee=_t(Yr),AL=qa(),dee=Rt(zp);var H8e=me(see),B8e=me(ML),J8e=me(vee),W8e=Ze(vM),q8e=Ze(y1),z8e=Ze(mM);var $8e=Rt(Yr);var hee=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}(),bc=function(e){return e.value0},cS=function(e){var n=lee(e.value0,_ee(e.value1),e.value2),t=n===0;return AL(dee(t?7:n))};var Rc=function(e){return e.value1};var _M={eq:function(e){return function(n){return H8e(e.value0)(n.value0)&&B8e(e.value1)(n.value1)&&J8e(e.value2)(n.value2)}}},V8e=me(_M),gee={compare:function(e){return function(n){var t=W8e(e.value0)(n.value0);if(t instanceof we)return we.value;if(t instanceof Re)return Re.value;var a=q8e(e.value1)(n.value1);return a instanceof we?we.value:a instanceof Re?Re.value:z8e(e.value2)(n.value2)}},Eq0:function(){return _M}};var zv=function(e){return e.value2},$p=function(e){return function(n){return function(t){var a=function(r){return function(o){return function(i){return new hee(r,AL($8e(o)),i)}}};return uee(a,e,_ee(n),t)}}},dM=function(e){return function(n){return function(t){var a=new hee(e,n,t),r=V8e($p(e)(n)(t))(a);return r?new d(a):C.value}}};var Q8e=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 Dee(e){return function(n){return function(t){return function(a){var r=Q8e(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 hM=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 gM=bt,DM=bt,yM=bt,bM=bt,yee=Xa,bee=Xa,Ree=Xa,wee=Xa,xL={bottom:0,top:59,Ord0:function(){return gM}},LL={bottom:0,top:59,Ord0:function(){return DM}},jL={bottom:0,top:999,Ord0:function(){return yM}},NL={bottom:0,top:23,Ord0:function(){return bM}},wc={cardinality:60,toEnum:function(e){if(e>=0&&e<=59)return new d(e);if(Le)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 xL},Enum1:function(){return Y8e(0)}},Y8e=hM("enumSecond","Data.Time.Component",function(){return{succ:function(){var e=Rt(wc),n=_t(wc);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=Rt(wc),n=_t(wc);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return gM}}});var Sc={cardinality:60,toEnum:function(e){if(e>=0&&e<=59)return new d(e);if(Le)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 LL},Enum1:function(){return X8e(0)}},X8e=hM("enumMinute","Data.Time.Component",function(){return{succ:function(){var e=Rt(Sc),n=_t(Sc);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=Rt(Sc),n=_t(Sc);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return DM}}});var Ec={cardinality:1e3,toEnum:function(e){if(e>=0&&e<=999)return new d(e);if(Le)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 jL},Enum1:function(){return Z8e(0)}},Z8e=hM("enumMillisecond","Data.Time.Component",function(){return{succ:function(){var e=Rt(Ec),n=_t(Ec);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=Rt(Ec),n=_t(Ec);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return yM}}});var Cc={cardinality:24,toEnum:function(e){if(e>=0&&e<=23)return new d(e);if(Le)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 NL},Enum1:function(){return K8e(0)}},K8e=hM("enumHour","Data.Time.Component",function(){return{succ:function(){var e=Rt(Cc),n=_t(Cc);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=Rt(Cc),n=_t(Cc);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return bM}}});var aLe=me(wee),rLe=me(bee),oLe=me(yee),iLe=me(Ree),uLe=Ze(bM),lLe=Ze(DM),cLe=Ze(gM),sLe=Ze(yM);var Vp=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 rm=function(e){return e.value2},om=function(e){return e.value1},$v=function(e){return e.value3};var Vv=function(e){return e.value0};var PL={eq:function(e){return function(n){return aLe(e.value0)(n.value0)&&rLe(e.value1)(n.value1)&&oLe(e.value2)(n.value2)&&iLe(e.value3)(n.value3)}}},See={compare:function(e){return function(n){var t=uLe(e.value0)(n.value0);if(t instanceof we)return we.value;if(t instanceof Re)return Re.value;var a=lLe(e.value1)(n.value1);if(a instanceof we)return we.value;if(a instanceof Re)return Re.value;var r=cLe(e.value2)(n.value2);return r instanceof we?we.value:r instanceof Re?Re.value:sLe(e.value3)(n.value3)}},Eq0:function(){return PL}};var fLe=_t(si),vLe=_t(Yr),mLe=_t(ol),pLe=_t(Cc),_Le=_t(Sc),dLe=_t(wc),hLe=_t(Ec);var gLe=me(_M),DLe=me(PL),yLe=Ze(gee),bLe=Ze(See),RLe=Z(Ae),b1=Jn(Na),OL=j(H),wLe=dl(Ae),SLe=Rt(si),ELe=Rt(Yr),CLe=Rt(ol),ILe=Rt(Cc),TLe=Rt(Sc),FLe=Rt(wc),MLe=Rt(Ec),Qp=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}(),GLe=function(e){return{year:fLe(bc(e.value0)),month:vLe(Rc(e.value0)),day:mLe(zv(e.value0)),hour:pLe(Vv(e.value1)),minute:_Le(om(e.value1)),second:dLe(rm(e.value1)),millisecond:hLe($v(e.value1))}};var Cee={eq:function(e){return function(n){return gLe(e.value0)(n.value0)&&DLe(e.value1)(n.value1)}}},RM={compare:function(e){return function(n){var t=yLe(e.value0)(n.value0);return t instanceof we?we.value:t instanceof Re?Re.value:bLe(e.value1)(n.value1)}},Eq0:function(){return Cee}};var Iee=function(e){var n=mF(e);return function(t){return function(a){return RLe(Dee(d.create)(C.value)(n(t))(GLe(a)))(function(r){return b1(OL(Qp.create)(wLe(b1(b1(OL(dM)(SLe(r.year)))(ELe(r.month)))(CLe(r.day)))))(b1(b1(b1(OL(Vp.create)(ILe(r.hour)))(TLe(r.minute)))(FLe(r.second)))(MLe(r.millisecond)))})}}};function wM(e){return Math.round(e).toString()}var Tee=function(e){var n=Qe(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(ha(e))};var Fee=te(ze),ALe=mr(Zc),xLe=MR(Bv);var LLe=function(e){return"(line "+(Fee(e.line)+(", col "+(Fee(e.column)+")")))},jLe=function(e){return bL(e)+(" "+LLe(yL(e)))},kL=function(e){return function(n){return ALe(jLe)($K(n)(xLe(e)(CL)))}};var R1=Z(Jv);var HLe=q(vs),BLe=BD(Ah)(h1);var JLe=y6(Ah)(h1),SM=Tee(st),WLe=yp(vs)(ZR),qLe=j(H);var Gee=Cv(bt),zLe=vr(Ba),$Le=te(ze),VLe=X(ai),QLe=te(Wi),YLe=Ve(Xe);var XLe=R1(xh(Wv(qv("+"))))(function(e){return R1(BLe(qv("0")))(function(n){return R1(xh(Wv(qv(",0"))))(function(t){return R1(xh(Wv(qv("."))))(function(a){return R1(WLe(a)(function(r){return Wv(JLe(qv("0")))}))(function(r){return R1(xh(Wv(qv("a"))))(function(o){return HLe({sign:gt(e),before:pa(n),comma:gt(t),after:Se(0)(qLe(pa)(r)),abbreviations:gt(o)})})})})})})}),ZLe=kL(XLe);var Aee=function(e){return function(n){var t=HT(n),a=function(){if(t>0)return Gee(jr(C6(t)/lQ))(0);if(Le)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=zLe(a)(3),o=function(){var D=r<1;return D?n:n/BT(1e3)(ct(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(Le)return"10e+"+$Le(r*3|0);throw new Error("Failed pattern match at Data.Formatter.Number (line 107, column 7 - line 117, column 53): "+[])}();return Aee({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=BT(10)(ct(Gee(0)(e.after))),c=eh(t*l)/l,s=$D(c),f=c-s,v=eh(f*l),m=function(){var D=wM(v),S=zr(D),M=SM("0")(e.after-S|0);return M+D}(),_=function(){var D=e.after<1;return D?"":"."+(function(){var S=v===0;return S?SM("0")(e.after):""}()+function(){var S=v>0;return S?m:""}())}(),R=function(D){return function(S){return function(M){var P=D,k=S,N=!1,Q;function de(fe,ge,re){var Ee=UD(re);if(Ee instanceof C)return N=!0,XD(fe);if(Ee instanceof d&&ge<3){P=wi(Ee.value0.head)(fe),k=ge+1|0,M=Ee.value0.tail;return}P=wi(",")(fe),k=0,M=re}for(;!N;)Q=de(P,k,M);return Q}}},y=function(){return e.comma?R([])(0)(WR(_w(SM("0")(u)+wM(s)))):SM("0")(u)+wM(s)}();return function(){var D=n<0;if(D)return"-";var S=n>0&&e.sign;return S?"+":""}()+(y+_)}},KLe=function(e){return function(n){return VLe(ZLe(e))(jt(Aee)(n))}},Yp=function(e){return function(n){return Za(an(QLe(n)))(YLe)(KLe(e)(n))}};var e9e=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 xee(e,n,t,a,r,o,i){return e9e(e,n-1,t,a,r,o,i).getTime()}function Lee(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 n9e=qa(),t9e=Rt(Yr);var a9e=_t(Yr);var jee=function(e){return e},EM=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 Qp($p(n)(n9e(t9e(t)))(a),new Vp(r,o,i,u))}}}}}}};return Lee(e)}();var Nee=function(e){return xee(bc(e.value0),a9e(Rc(e.value0)),zv(e.value0),Vv(e.value1),om(e.value1),rm(e.value1),$v(e.value1))};function UL(){return Date.now()}var u9e=j(ft);var HL=u9e(EM)(UL);var Q0t=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,y,D,S,M;for(f.draining=!0;;){if(R=null,y=null,D=null,S=f.value,M=_.size,f.error!==null){for(S=s.left(f.error);R=u(v);)r(R.cb(S));for(;y=u(_);)r(y(S));for(;D=u(m);)r(D(S));break}if(S===a&&(R=u(v))&&(f.value=S=R.value),S!==a){for(D=u(m);M--&&(y=u(_));)r(y(s.right(S)));D!==null&&(f.value=a,r(D(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 Xp=Z(Ae),g9e=Rt(si),D9e=Rt(Yr),y9e=Rt(ol),b9e=Rt(Cc),R9e=Rt(Sc),w9e=Rt(wc),S9e=Rt(Ec),E9e=q(kn),C9e=q($t),I9e=pt(Ka),T9e=X(H);var Oee=function(e){return Xp(g9e(e.year))(function(n){return Xp(D9e(e.month+1|0))(function(t){return Xp(y9e(e.day))(function(a){return Xp(b9e(e.hour))(function(r){return Xp(R9e(e.minute))(function(o){return Xp(w9e(e.second))(function(i){return Xp(S9e(e.millisecond))(function(u){return E9e(new Qp($p(n)(t)(a),new Vp(r,o,i,u)))})})})})})})})},F9e=function(e){var n=lY("Failed to obtain current time. This should never happen.");return ke(n)(C9e)(Oee(TL(e)))},jh=I9e(F9e)(oee);var Nh=function(e){return Xp(T9e(ree({just:d.create,nothing:C.value})(e))(TL))(Oee)};var IM=function(){function e(){}return e.value=new e,e}(),L9e=function(){function e(){}return e.value=new e,e}(),j9e=function(){function e(){}return e.value=new e,e}();var kee=function(e){if(e instanceof IM)return C.value;if(e instanceof j9e)return new d("open");if(e instanceof L9e)return new d("on");throw new Error("Failed pattern match at Hub.Types.WhatificatorPhase (line 26, column 13 - line 29, column 22): "+[e.constructor.name])};var JL=void 0;var Uee=Be;var WL=Be,fS=function(e){return lh(e)};var Hee=function(e){return function(n){var t=fS(n);return t?JL:WL(e(Uee(n)))}},hr=function(e){var n=fS(e);return n?C.value:new d(Uee(e))};var Zn=function(e){return function(n){var t=fS(e);return t?n:e}};var Fa=function(){return Be};var Bee=q($t),Jee=Bo(),Wee=function(e){return{handleMaybe:function(n){return function(t){return yh(function(){var a=ke(Bee(Ie))(n);return function(r){return a(Jee(t(r)))}}())}}}},TM=function(e){return{handleMaybe:function(n){return function(t){return function(a){return ke(Bee(Ie))(n)(Jee(t))()}}}}},uo={handle:function(e){return function(n){return function(t){return e(n(t))()}}}},$o={handleEffect:function(e){return yh(e)}},er={handleEffect:function(e){return yh(an(e))}},mt={handle:function(e){return function(n){return function(t){return e(n)()}}}},w1=function(e){return e.handleMaybe},Qt=function(e){return e.handleEffect},An=function(e){return e.handle};var qL=El(),zL=Df(),qee=Y0()(),N9e=cw();var S1=Be,$L=function(e){return function(n){return qL(S1(e))(n)}},zee=function(e){var n=zL(e);return function(t){return function(a){return n(S1(t))(a)}}},gs=function(e){var n=zL(e);return function(t){return function(a){return function(r){return n(S1(t))(qee(r)({className:a}))}}}},Ph=function(e){return function(n){return function(t){return qL(S1(e))(qee(t)({className:n}))}}},VL=function(e){return function(n){return qL(S1(e))({className:n})}},lo=function(e){return function(n){var t=zL(n);return function(a){return function(r){return t(S1(e))({className:a})(r)}}}};var Sn=Be,FM=function(){return N9e};var Ds=function(e){return lo("ul")(e)};var Zp=function(e){return lo("tr")(e)};var MM=function(e){return lo("thead")(e)};var GM=function(e){return lo("th")(e)};var jf=function(){return function(){return Ph("textarea")}};var Qv=function(e){return lo("td")(e)};var Kp=function(e){return lo("tbody")(e)};var e_=function(e){return lo("table")(e)},Yv=function(e){var n=gs(e);return function(){return function(){return n("svg")}}};var $ee=function(e){return lo("sup")(e)};var Ma=function(e){return lo("strong")(e)},AM=function(e){var n=gs(e);return function(){return function(){return n("span")}}},nn=function(e){return lo("span")(e)};var Vee=function(e){var n=gs(e);return function(){return function(){return n("select")}}};var Qee=function(e){return lo("section")(e)};var nt=function(e){return lo("p")(e)};var Yee=function(e){var n=gs(e);return function(){return function(){return n("option")}}};var Xee=function(e){return lo("ol")(e)};var Ic=function(e){return lo("li")(e)};var jl=function(e){return lo("label")(e)};var xi=function(){return function(){return Ph("input")}};var n_=function(){return function(){return Ph("img")}};var t_=function(e){var n=gs(e);return function(){return function(){return n("iframe")}}};var ia=function(e){return lo("i")(e)};var za=VL("hr");var Xv=function(e){return lo("h6")(e)};var co=function(e){return lo("h4")(e)};var At=function(e){return lo("h3")(e)};var ut=function(e){return lo("h2")(e)};var Nf=function(e){return lo("h1")(e)},Zee=function(e){var n=gs(e);return function(){return function(){return n("form")}}};var rt=function(e){var n=gs(e);return function(){return function(){return n("div")}}},B=function(e){return lo("div")(e)};var Mn=function(e){var n=gs(e);return function(){return function(){return n("button")}}};var Kee=VL("br");var aa=function(e){var n=gs(e);return function(){return function(){return n("a")}}};var QL=function(){typeof window!="undefined"&&window.scrollTo(0,0)};var ene=function(e){var n=zee(e);return function(){return function(){return n("script")}}};var nne=function(){return function(){return $L("meta")}};var tne=function(){return function(){return $L("br")}};function ane(e){return function(n){return function(){return n.getElementById(e)}}}var P9e=j(ft),xM=function(e){var n=P9e(K),t=ane(e);return function(a){return n(t(a))}};var LM=function(e){return function(n){return function(){return n[e]}}},O9e=LM("children"),k9e=LM("firstElementChild"),U9e=LM("lastElementChild"),H9e=LM("childElementCount");var fi=function(){return window};function rne(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 tt=function(e){return function(n){return rne(C.value,d.create,e,n)}};var one=Be;function ine(e){return e.body}var B9e=j(ft);var jM=Be;var une=Be;var lne=function(e){return B9e(K)(function(){return ine(e)})};var cne=Be;function NM(e){return function(n){return function(t){return function(a){return function(){return a.replaceState(e,n,t)}}}}}function YL(e){return function(n){return function(){n.href=e}}}function Oh(e){return function(){return e.document}}function XL(e){return function(){return e.location}}function vS(e){return function(){return e.history}}function fne(e){return function(n){return function(t){return function(a){return function(){return a.open(e,n,t)}}}}}function E1(e){return function(){return e.localStorage}}var Z9e=j(ft);var vne=function(e){return function(n){return function(t){return function(a){return Z9e(K)(fne(e)(n)(t)(a))}}}};var K9e=oi($e)(af),mne=j(he);var eje=tne()();var pne=Z(Ka),nje=X(ft);var Sa=Se(ln),He=jt(ke(ln)),_ne=function(e){var n=K9e([e]),t=mne(W0);return function(a){return ue(n(t(a)))}};var kh=function(e){return function(n){if(e)return n(Ie);if(Le)return ln;throw new Error("Failed pattern match at Utils.HTML (line 94, column 1 - line 94, column 61): "+[e.constructor.name,n.constructor.name])}},Cn=function(e){return function(n){return kh(e)(an(n))}};var mS=function(e){return ue(nw(eje({}))(mne(Y)(Si(` `)(e))))};var dne=function(e){return pne(nje(pne(fi)(Oh))(jM))(xM(e))};var Tc=Bo(),tje=X(he),aje=Xd(Wo),hne=z0($e),rje=j(H),oje=j(lw);var ZL=function(e){return function(n){return function(t){return w6(function(a){return d.create(t(a))})(Tc(e))(Tc(n))}}};var PM=function(e){return function(n){return uw(Tc(e))(n)}},OM=function(e){return function(n){return hne(Co(function(t){return rje(Oe.create(Tc(t.value0)))(e(t.value1))})(aje(n)))}},im=function(e){return function(n){return oje(e)(n)}},gne=function(e){return function(n){return function(t){return JV(function(a){return d.create(t(a))})(Tc(e))(Tc(n))}}},ys=function(e){return function(n){return tc(Tc(e))(Tc(n))}};var Uh=function(e){return function(n){return function(t){return q0(Tc(e))(n)(Tc(t))}}},pS=function(e){return function(n){return function(t){return hne(tje(t)(function(a){return new Oe(Tc(e(a)),n(a))}))}}};var _S=k0,Dne=function(e){return function(n){return R6(Tc(e))(Tc(n))}};var yne=Dn(gn),dS=hn(yne)(mn(vn)),bne=_n(pn),hS=dn(bne),Rne=Rn(bn),gS=yn(Rne),a_=function(){function e(){}return e.value=new e,e}(),DS=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}(),wne={to:function(e){if(e instanceof U)return a_.value;if(e instanceof p&&e.value0 instanceof U)return DS.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof U)return yS.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof U)return bS.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 U)return RS.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 wS.value;throw new Error("Failed pattern match at Hub.Types.ApplicationRound (line 29, column 1 - line 29, column 43): "+[e.constructor.name])},from:function(e){if(e instanceof a_)return new U(ce.value);if(e instanceof DS)return new p(new U(ce.value));if(e instanceof yS)return new p(new p(new U(ce.value)));if(e instanceof bS)return new p(new p(new p(new U(ce.value))));if(e instanceof RS)return new p(new p(new p(new p(new U(ce.value)))));if(e instanceof wS)return new p(new p(new p(new p(new p(ce.value)))));throw new Error("Failed pattern match at Hub.Types.ApplicationRound (line 29, column 1 - line 29, column 43): "+[e.constructor.name])}};var KL=function(e){if(e instanceof a_)return"REGULAR";if(e instanceof DS)return"EARLY_ACTION";if(e instanceof yS)return"EARLY_DECISION_I";if(e instanceof bS)return"EARLY_DECISION_II";if(e instanceof RS)return"OUT_OF_STATE";if(e instanceof wS)return"TRANSFER";throw new Error("Failed pattern match at Hub.Types.ApplicationRound (line 49, column 13 - line 55, column 25): "+[e.constructor.name])};var kM=function(){return a_.value}(),Sne=at(Me)({parse:Gn(KL)(wn(wne)(dS(dS(dS(dS(dS(yne)(bne))(hS))(hS))(hS))(hS))(gS(gS(gS(gS(gS(Rne))))))(hS)),default:kM,diagnosticName:"ApplicationRound"});var ije=Z(wv),uje=Bo(),lje=q(N0);var e9=Ut,cje=oc(e9)($e);var UM=function(e){return cje(ije(uje(e))(function(n){return lje(new Oe(n.cipCode,n))}))},Ene=function(){var e=D6(bu(me(ca))(function(t){return t.areaOfStudy})),n=Rl(Ut)(function(t){return t.areaOfStudy});return function(t){return e(n(t))}}();var Cne=function(e){return{id:e.id,slug:e.slug,name:e.name,imgixImageUrl:e.imgixImageUrl,acceptanceRate:K(e.acceptanceRate),cityState:K(e.cityState)}};var sje=j(H);var ya=function(){function e(){}return e.value=new e,e}(),qt=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),nr=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Pf={map:function(e){return function(n){if(n instanceof ya)return ya.value;if(n instanceof qt)return new qt(e(n.value0));if(n instanceof nr)return new nr(sje(e)(n.value0));throw new Error("Failed pattern match at Utils.Loadable (line 0, column 0 - line 0, column 0): "+[n.constructor.name])}}};var C1=function(e){if(e instanceof ya)return new nr(C.value);if(e instanceof qt)return new nr(new d(e.value0));if(e instanceof nr)return new nr(e.value0);throw new Error("Failed pattern match at Utils.Loadable (line 62, column 13 - line 65, column 25): "+[e.constructor.name])},so=function(e){if(e instanceof ya)return C.value;if(e instanceof qt)return new d(e.value0);if(e instanceof nr)return e.value0;throw new Error("Failed pattern match at Utils.Loadable (line 47, column 11 - line 50, column 17): "+[e.constructor.name])},SS=function(e){return function(n){if(n instanceof nr&&n.value0 instanceof C)return new nr(C.value);var t=function(r){var o=function(u){return ya.value};if(n instanceof qt){var i=e(n.value0);return i instanceof d?new qt(i.value0):o(!0)}return o(!0)};if(n instanceof nr&&n.value0 instanceof d){var a=e(n.value0.value0);return a instanceof d?new nr(new d(a.value0)):t(!0)}return t(!0)}};var fje=X(H),n9=Z(Ae);var vje=yp(kn)(bi),mje=th(e9);var t9=function(e){return function(n){return Se("")(ys(e)(n.schoolNotes))}},ES=function(e){return function(n){return ys(e)(n.schoolList)}};var CS=function(e){return function(n){return SS(ys(e))(n.schoolConnections)}};var HM=function(e){return function(n){return n9(so(n.all))(function(t){return ys(e)(t.table)})}};var a9=function(e){return function(n){return Se([])(n9(HM(e)(n))(function(t){return vje(t.majors)(function(a){return mje(a)(n.majors)})}))}};var I1=function(e){return function(n){return SS(ys(e))(n.financials)}};var Hh=function(e){return function(n){return n9(so(n.contentModules.content))(ys(e))}};var r9=function(e){return function(n){return Se(kM)(fje(ES(e)(n))(function(t){return t.applicationRound}))}};var vu=te(ze);var pje=ii(ns),_je=pje(st);var dje=O5(bt)(Ev);var o9=_t(si),hje=te(FL),gje=_t(Yr),Ine=_t(ol),Dje=on(),yje=_t(zp),Tne=te(cee),i9=_t(Cc),bje=bl(Ba),Fne=_t(Sc),Mne=_t(wc),u9=_t(Ec),Gne=vr(Ba);var BM=function(){function e(){}return e.value=new e,e}(),Ane=function(){function e(){}return e.value=new e,e}(),Rje=function(){function e(){}return e.value=new e,e}(),JM=function(){function e(){}return e.value=new e,e}(),IS=function(){function e(){}return e.value=new e,e}(),xne=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}(),wje=function(){function e(){}return e.value=new e,e}(),Sje=function(){function e(){}return e.value=new e,e}(),l9=function(){function e(){}return e.value=new e,e}(),Eje=function(){function e(){}return e.value=new e,e}(),Cje=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}(),Ije=function(){function e(){}return e.value=new e,e}(),VM=function(){function e(){}return e.value=new e,e}(),Tje=function(){function e(){}return e.value=new e,e}(),Fje=function(){function e(){}return e.value=new e,e}(),Mje=function(){function e(){}return e.value=new e,e}(),Gje=function(){function e(){}return e.value=new e,e}(),Aje=function(){function e(){}return e.value=new e,e}(),um=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}();var xje=function(e){if(e instanceof nl)return"Jan";if(e instanceof Tl)return"Feb";if(e instanceof tl)return"Mar";if(e instanceof Fl)return"Apr";if(e instanceof Ml)return"May";if(e instanceof al)return"Jun";if(e instanceof rl)return"Jul";if(e instanceof Gl)return"Aug";if(e instanceof Al)return"Sep";if(e instanceof xl)return"Oct";if(e instanceof Ll)return"Nov";if(e instanceof yc)return"Dec";throw new Error("Failed pattern match at Data.Formatter.DateTime (line 489, column 19 - line 501, column 22): "+[e.constructor.name])};var r_=function(e){if(e<0)return"-"+r_(-e|0);if(e<10)return"0"+vu(e);if(Le)return vu(e);throw new Error("Failed pattern match at Data.Formatter.DateTime (line 194, column 1 - line 194, column 32): "+[e.constructor.name])},Lne=function(e){if(e<0)return"-"+Lne(-e|0);if(e<10)return"000"+vu(e);if(e<100)return"00"+vu(e);if(e<1e3)return"0"+vu(e);if(Le)return vu(e);throw new Error("Failed pattern match at Data.Formatter.DateTime (line 207, column 1 - line 207, column 35): "+[e.constructor.name])},jne=function(e){if(e<0)return"-"+jne(-e|0);if(e<10)return"00"+vu(e);if(e<100)return"0"+vu(e);if(Le)return vu(e);throw new Error("Failed pattern match at Data.Formatter.DateTime (line 200, column 1 - line 200, column 32): "+[e.constructor.name])};var Lje=function(e){var n=vu(dje(e)),t=zr(n);return t===1?"0"+n:t===2?n:eF(t-2|0)(n)};var jje=function(e){var n=e===0;return n?12:e},Nje=function(e){return function(n){if(n instanceof BM)return Lne(o9(bc(e.value0)));if(n instanceof Ane)return Lje(o9(bc(e.value0)));if(n instanceof Rje)return vu(o9(bc(e.value0)));if(n instanceof JM)return hje(Rc(e.value0));if(n instanceof IS)return xje(Rc(e.value0));if(n instanceof xne)return r_(gje(Rc(e.value0)));if(n instanceof WM)return r_(Ine(zv(e.value0)));if(n instanceof qM)return vu(Ine(zv(e.value0)));if(n instanceof wje)return vu(jr(function(a){return a/1e3}(Dje(jee(Nee(e))))));if(n instanceof Sje)return vu(yje(cS(e.value0)));if(n instanceof l9)return Tne(cS(e.value0));if(n instanceof Eje)return os(3)(Tne(cS(e.value0)));if(n instanceof Cje)return r_(i9(Vv(e.value1)));if(n instanceof zM)return r_(jje(bje(i9(Vv(e.value1)))(12)));if(n instanceof $M){var t=i9(Vv(e.value1))>=12;return t?"PM":"AM"}if(n instanceof Ije)return vu(Fne(om(e.value1)));if(n instanceof VM)return r_(Fne(om(e.value1)));if(n instanceof Tje)return vu(Mne(rm(e.value1)));if(n instanceof Fje)return r_(Mne(rm(e.value1)));if(n instanceof Mje)return jne(u9($v(e.value1)));if(n instanceof Gje)return vu(function(a){return Gne(a)(100)}(u9($v(e.value1))));if(n instanceof Aje)return r_(function(a){return Gne(a)(10)}(u9($v(e.value1))));if(n instanceof um)return n.value0;throw new Error("Failed pattern match at Data.Formatter.DateTime (line 169, column 38 - line 192, column 21): "+[n.constructor.name])}},TS=function(e){return function(n){return _je(Nje(n))(e)}};var Nne=function(e){var n=function(o){return{month:K(o.satSubjectTestDeadlineMonth),day:K(o.satSubjectTestDeadlineDay)}},t=function(o){return{month:K(o.satActDeadlineMonth),day:K(o.satActDeadlineDay)}},a=function(o){return{month:K(o.month),day:K(o.day),isContinuous:K(o.isContinuous)}},r=function(o){return{deadline:a(o.deadline),notification:a(o.notification)}};return{ipedsUnitId:K(e.ipedsUnitId),inunId:e.inunId,year:e.year,hasEarlyAdmission:K(e.hasEarlyAdmission),hasEarlyAction:K(e.hasEarlyAction),hasEarlyDecision:K(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 Pne=Dn(gn),c9=hn(Pne)(mn(vn)),One=_n(pn),s9=dn(One),kne=Rn(bn),f9=yn(kne),o_=function(){function e(){}return e.value=new e,e}(),Bh=function(){function e(){}return e.value=new e,e}(),Jh=function(){function e(){}return e.value=new e,e}(),Wh=function(){function e(){}return e.value=new e,e}(),Pje={to:function(e){if(e instanceof U)return o_.value;if(e instanceof p&&e.value0 instanceof U)return Bh.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof U)return Jh.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p)return Wh.value;throw new Error("Failed pattern match at Hub.Types.Chancing.Classification (line 28, column 1 - line 28, column 41): "+[e.constructor.name])},from:function(e){if(e instanceof o_)return new U(ce.value);if(e instanceof Bh)return new p(new U(ce.value));if(e instanceof Jh)return new p(new p(new U(ce.value)));if(e instanceof Wh)return new p(new p(new p(ce.value)));throw new Error("Failed pattern match at Hub.Types.Chancing.Classification (line 28, column 1 - line 28, column 41): "+[e.constructor.name])}};var Une=function(e){if(e instanceof o_)return"reach";if(e instanceof Bh)return"hard_target";if(e instanceof Jh)return"target";if(e instanceof Wh)return"safety";throw new Error("Failed pattern match at Hub.Types.Chancing.Classification (line 41, column 13 - line 45, column 21): "+[e.constructor.name])},Hne=function(){return at(Me)({parse:Gn(Une)(wn(Pje)(c9(c9(c9(Pne)(One))(s9))(s9))(f9(f9(f9(kne))))(s9)),default:o_.value,diagnosticName:"Hub.Types.Chancing.Classification"})}();var T1=function(e){if(e instanceof o_)return"Reach";if(e instanceof Bh)return"Hard Target";if(e instanceof Jh)return"Target";if(e instanceof Wh)return"Safety";throw new Error("Failed pattern match at Hub.Types.Chancing.Classification (line 48, column 9 - line 52, column 21): "+[e.constructor.name])};var Bne=function(e){if(e instanceof o_)return"bg-soft-warning bg-warning-soft text-warning-dark";if(e instanceof Bh||e instanceof Jh)return"bg-soft-primary bg-primary-soft text-primary";if(e instanceof Wh)return"bg-soft-success bg-success-soft text-success-dark";throw new Error("Failed pattern match at Hub.Types.Chancing.Classification (line 69, column 9 - line 73, column 64): "+[e.constructor.name])};var Jne=Dn(gn),QM=hn(Jne)(mn(vn)),Wne=_n(pn),YM=dn(Wne),qne=Rn(bn),XM=yn(qne),qh=function(){function e(){}return e.value=new e,e}(),lm=function(){function e(){}return e.value=new e,e}(),Zv=function(){function e(){}return e.value=new e,e}(),zh=function(){function e(){}return e.value=new e,e}(),$h=function(){function e(){}return e.value=new e,e}(),Oje={to:function(e){if(e instanceof U)return qh.value;if(e instanceof p&&e.value0 instanceof U)return lm.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof U)return Zv.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof U)return zh.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p)return $h.value;throw new Error("Failed pattern match at Hub.Types.Chancing.SpecialCaseRule (line 26, column 1 - line 26, column 42): "+[e.constructor.name])},from:function(e){if(e instanceof qh)return new U(ce.value);if(e instanceof lm)return new p(new U(ce.value));if(e instanceof Zv)return new p(new p(new U(ce.value)));if(e instanceof zh)return new p(new p(new p(new U(ce.value))));if(e instanceof $h)return new p(new p(new p(new p(ce.value))));throw new Error("Failed pattern match at Hub.Types.Chancing.SpecialCaseRule (line 26, column 1 - line 26, column 42): "+[e.constructor.name])}};var kje=function(e){if(e instanceof qh)return"ArtOrMusicSchool";if(e instanceof lm)return"DisqualifiedGender";if(e instanceof Zv)return"TestsRequiredButNoneGiven";if(e instanceof zh)return"SchoolAutoAdmission";if(e instanceof $h)return"OpenAdmission";throw new Error("Failed pattern match at Hub.Types.Chancing.SpecialCaseRule (line 37, column 13 - line 42, column 35): "+[e.constructor.name])},zne=Vn(Me)(H)({parse:Gn(kje)(wn(Oje)(QM(QM(QM(QM(Jne)(Wne))(YM))(YM))(YM))(XM(XM(XM(XM(qne)))))(YM)),diagnosticName:"Hub.Types.Chancing.SpecialCaseRule"});var Uje=te(ze),Hje=pt(Ae),ZM=function(e){return Uje(e)+"%"},Bje=function(e){return function(n){if(n instanceof qh)return new d("art or music school");if(n instanceof lm)return new d(uu(Ih(e.gender)));if(n instanceof Zv)return C.value;if(n instanceof zh)return C.value;if(n instanceof $h)return new d("open admission");throw new Error("Failed pattern match at Hub.Types.Chancing.Label (line 44, column 40 - line 49, column 41): "+[n.constructor.name])}},$ne=function(e){return function(n){var t=Hje(Bje(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 38, column 3 - line 40, column 21): "+[t.constructor.name])}},FS=function(e){return function(n){if(n.score instanceof d)return ZM(n.score.value0);if(n.score instanceof C)return $ne(e)(n.specialCase);throw new Error("Failed pattern match at Hub.Types.Chancing.Label (line 32, column 34 - line 34, column 61): "+[n.score.constructor.name])}},KM=function(e){return function(n){if(n.classification instanceof d)return T1(n.classification.value0);if(n.classification instanceof C)return $ne(e)(n.specialCase);throw new Error("Failed pattern match at Hub.Types.Chancing.Label (line 23, column 29 - line 25, column 61): "+[n.classification.constructor.name])}};var Vh=function(){function e(){}return e.value=new e,e}(),F1=function(){function e(){}return e.value=new e,e}(),MS=function(){function e(){}return e.value=new e,e}(),i_=function(){function e(){}return e.value=new e,e}(),u_=function(){function e(){}return e.value=new e,e}(),l_=function(){function e(){}return e.value=new e,e}(),c_=function(){function e(){}return e.value=new e,e}();var Vne={eq:function(e){return function(n){return e instanceof Vh&&n instanceof Vh||e instanceof F1&&n instanceof F1||e instanceof MS&&n instanceof MS||e instanceof i_&&n instanceof i_||e instanceof u_&&n instanceof u_||e instanceof l_&&n instanceof l_||e instanceof c_&&n instanceof c_}}};var v9=function(){return[Vh.value,F1.value,MS.value,i_.value,u_.value,l_.value,c_.value]}(),GS=function(e){if(e instanceof Vh)return"INTERESTED";if(e instanceof F1)return"APPLYING";if(e instanceof MS)return"APPLIED";if(e instanceof i_)return"WAITLISTED";if(e instanceof u_)return"ACCEPTED";if(e instanceof l_)return"DENIED";if(e instanceof c_)return"ENROLLED";throw new Error("Failed pattern match at Hub.Types.SchoolListStatus (line 40, column 13 - line 47, column 25): "+[e.constructor.name])},m9=function(){return at(Me)({parse:Gn(GS)(v9),default:F1.value,diagnosticName:"SchoolListStatus"})}(),e2=function(e){if(e instanceof Vh)return"Considering";if(e instanceof F1)return"Applying";if(e instanceof MS)return"Applied";if(e instanceof i_)return"Waitlisted";if(e instanceof u_)return"Accepted";if(e instanceof l_)return"Denied";if(e instanceof c_)return"Enrolled";throw new Error("Failed pattern match at Hub.Types.SchoolListStatus (line 51, column 8 - line 58, column 25): "+[e.constructor.name])};var AS=te(ze);var Jje=vr(Ba);var xS=function(e){return AS(es(e*100))+"%"},Ga=function(e){return AS(es(e*100))+"%"};var Qne=Yp("0,0"),mu=function(e){return"$"+Qne(e)},bs=function(e){return Qne(ct(e))};var s_=function(e){var n=function(){var a=Kd(ct(e))(60),r=a<10;return r?"0"+AS(jr(a)):AS(jr(a))}(),t=AS(Jje(e)(60));return t+(":"+n)};function Yne(e){return e.replace(/[!'()*]/g,function(n){return"%"+n.charCodeAt(0).toString(16)})}function Xne(e,n,t){try{return n(Yne(encodeURIComponent(t)))}catch(a){return e(a)}}function Zne(e,n,t){try{return n(Yne(encodeURIComponent(t)).replace(/%20/g,"+"))}catch(a){return e(a)}}var p9=function(){return sf(Xne)(an(C.value))(d.create)}();var n2=function(){return sf(Zne)(an(C.value))(d.create)}();var Kne=qa();var qje=Ve(Xe);var t2=function(e){var n=function(o){return function(i){return Se(i)(ZD(o)(i))}},t=function(o){return function(i){return Se(i)(ic(o)(i))}},a=t("https://")(t("http://")(e)),r=n("/")(t("www.")(a));return{siteName:r,url:"http://"+a}},Rs=function(e){return function(n){var t=function(){var o=rs("?")(n);return o?"&":"?"}(),a=Kne(p9(e.value)),r=Kne(p9(e.key));return n+(t+(r+("="+a)))}},cm=function(e){if(e.value instanceof C)return qje;if(e.value instanceof d)return Rs({key:e.key,value:e.value.value0});throw new Error("Failed pattern match at Utils.URL (line 49, column 1 - line 49, column 73): "+[e.constructor.name])};var a2=function(){function e(){}return e.value=new e,e}(),Xje=function(){function e(){}return e.value=new e,e}(),Zje=function(){function e(){}return e.value=new e,e}(),Kje=function(){function e(){}return e.value=new e,e}(),eNe=function(){function e(){}return e.value=new e,e}(),nNe=function(){function e(){}return e.value=new e,e}(),tNe=function(){function e(){}return e.value=new e,e}(),aNe=function(){function e(){}return e.value=new e,e}(),rNe=function(){function e(){}return e.value=new e,e}(),oNe=function(){function e(){}return e.value=new e,e}(),iNe=function(){function e(){}return e.value=new e,e}(),uNe=function(){function e(){}return e.value=new e,e}(),lNe=function(){function e(){}return e.value=new e,e}(),cNe=function(){function e(){}return e.value=new e,e}(),sNe=function(){function e(){}return e.value=new e,e}(),fNe=function(){function e(){}return e.value=new e,e}(),vNe=function(){function e(){}return e.value=new e,e}(),r2=function(){function e(){}return e.value=new e,e}(),mNe=function(){function e(){}return e.value=new e,e}(),pNe=function(){function e(){}return e.value=new e,e}(),ete=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}(),hNe=function(){function e(){}return e.value=new e,e}(),nte=function(){function e(){}return e.value=new e,e}(),gNe=function(){function e(){}return e.value=new e,e}(),DNe=function(){function e(){}return e.value=new e,e}(),yNe=function(){function e(){}return e.value=new e,e}(),bNe=function(){function e(){}return e.value=new e,e}(),o2=function(){function e(){}return e.value=new e,e}(),RNe=function(){function e(){}return e.value=new e,e}(),wNe=function(){function e(){}return e.value=new e,e}(),SNe=function(){function e(){}return e.value=new e,e}(),ENe=function(){function e(){}return e.value=new e,e}(),CNe=function(){function e(){}return e.value=new e,e}(),i2=function(){function e(){}return e.value=new e,e}(),INe=function(){function e(){}return e.value=new e,e}(),TNe=function(){function e(){}return e.value=new e,e}(),FNe=function(){function e(){}return e.value=new e,e}(),MNe=function(){function e(){}return e.value=new e,e}(),GNe=function(){function e(){}return e.value=new e,e}(),ANe=function(){function e(){}return e.value=new e,e}(),xNe=function(){function e(){}return e.value=new e,e}(),u2=function(){function e(){}return e.value=new e,e}(),LNe=function(){function e(){}return e.value=new e,e}(),tte=function(){function e(){}return e.value=new e,e}(),jNe=function(){function e(){}return e.value=new e,e}(),ate=function(){function e(){}return e.value=new e,e}(),NNe=function(){function e(){}return e.value=new e,e}(),l2=function(){function e(){}return e.value=new e,e}(),PNe=function(){function e(){}return e.value=new e,e}(),rte=function(){function e(){}return e.value=new e,e}(),ONe=function(){function e(){}return e.value=new e,e}(),kNe=function(){function e(){}return e.value=new e,e}(),UNe=function(){function e(){}return e.value=new e,e}(),HNe=function(){function e(){}return e.value=new e,e}();var Et=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),il=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}();var BNe=function(e){return e instanceof a2?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 l2?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 nte?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 ate?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 i2?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 r2?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 o2?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 ete?new d(` Filter your search to only schools that offer the major(s) or program(s) you select here. `):e instanceof u2?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 tte?new d(` Policies change during COVID-19; please confirm by looking at school websites `):e instanceof rte?new d(` TOEFL policies are only applicable to international students `):C.value},Kv=function(){var e=Se("");return function(n){return e(BNe(n))}}();var ote=function(e){if(e instanceof Et&&e.value0 instanceof a2)return"AcceptanceRate";if(e instanceof Et&&e.value0 instanceof Xje)return"AcceptanceRateMen";if(e instanceof Et&&e.value0 instanceof Zje)return"AcceptanceRateWomen";if(e instanceof Et&&e.value0 instanceof Kje)return"Address";if(e instanceof Et&&e.value0 instanceof eNe)return"AdmissionChances";if(e instanceof Et&&e.value0 instanceof nNe)return"AdmissionDifficulty";if(e instanceof Et&&e.value0 instanceof tNe)return"AdmissionsNotificationDate";if(e instanceof Et&&e.value0 instanceof aNe)return"AdmissionsWebsite";if(e instanceof Et&&e.value0 instanceof rNe)return"AppDeadlineIsRolling";if(e instanceof Et&&e.value0 instanceof oNe)return"ApplicationEffort";if(e instanceof Et&&e.value0 instanceof iNe)return"ApplicationRound";if(e instanceof Et&&e.value0 instanceof uNe)return"BasketballConference";if(e instanceof Et&&e.value0 instanceof lNe)return"CampusSetting";if(e instanceof Et&&e.value0 instanceof cNe)return"City";if(e instanceof Et&&e.value0 instanceof sNe)return"ClassRank";if(e instanceof Et&&e.value0 instanceof fNe)return"CoEdSingleSex";if(e instanceof Et&&e.value0 instanceof vNe)return"CollegeType";if(e instanceof Et&&e.value0 instanceof r2)return"CommuterCollege";if(e instanceof Et&&e.value0 instanceof mNe)return"Diversity";if(e instanceof Et&&e.value0 instanceof pNe)return"DropoutRate";if(e instanceof Et&&e.value0 instanceof _Ne)return"FinancialAidWebsite";if(e instanceof Et&&e.value0 instanceof dNe)return"FirstYearEnrollment";if(e instanceof Et&&e.value0 instanceof hNe)return"FootballConference";if(e instanceof Et&&e.value0 instanceof nte)return"FourYearGraduationRate";if(e instanceof Et&&e.value0 instanceof gNe)return"HasDivisionOneBasketball";if(e instanceof Et&&e.value0 instanceof DNe)return"HasDivisionOneFootball";if(e instanceof Et&&e.value0 instanceof yNe)return"HasMedicalSchool";if(e instanceof Et&&e.value0 instanceof bNe)return"HasStudyAbroad";if(e instanceof Et&&e.value0 instanceof o2)return"HBCU";if(e instanceof Et&&e.value0 instanceof RNe)return"InListStatus";if(e instanceof Et&&e.value0 instanceof wNe)return"MainWebsite";if(e instanceof Et&&e.value0 instanceof ete)return"Majors";if(e instanceof Et&&e.value0 instanceof SNe)return"Name";if(e instanceof Et&&e.value0 instanceof ENe)return"NetCostEstimate";if(e instanceof Et&&e.value0 instanceof CNe)return"Notes";if(e instanceof Et&&e.value0 instanceof i2)return"PercentInternationalStudents";if(e instanceof Et&&e.value0 instanceof INe)return"Phone";if(e instanceof Et&&e.value0 instanceof TNe)return"Photo";if(e instanceof Et&&e.value0 instanceof FNe)return"Prestige";if(e instanceof Et&&e.value0 instanceof MNe)return"ProgramLength";if(e instanceof Et&&e.value0 instanceof GNe)return"PublicPrivate";if(e instanceof Et&&e.value0 instanceof ANe)return"RecommendationLetters";if(e instanceof Et&&e.value0 instanceof xNe)return"Region";if(e instanceof Et&&e.value0 instanceof u2)return"ReligiousAffiliation";if(e instanceof Et&&e.value0 instanceof LNe)return"SatActDeadline";if(e instanceof Et&&e.value0 instanceof tte)return"SatActTestPolicy";if(e instanceof Et&&e.value0 instanceof jNe)return"SatSubjectTestDeadline";if(e instanceof Et&&e.value0 instanceof ate)return"SixYearGraduationRate";if(e instanceof Et&&e.value0 instanceof NNe)return"State";if(e instanceof Et&&e.value0 instanceof l2)return"StudentFacultyRatio";if(e instanceof Et&&e.value0 instanceof PNe)return"SubmissionDeadline";if(e instanceof Et&&e.value0 instanceof rte)return"TOEFLPolicy";if(e instanceof Et&&e.value0 instanceof ONe)return"TotalUndergrads";if(e instanceof Et&&e.value0 instanceof kNe)return"TuitionInState";if(e instanceof Et&&e.value0 instanceof UNe)return"TuitionOutOfState";if(e instanceof Et&&e.value0 instanceof HNe)return"YieldRate";if(e instanceof il&&e.value0 instanceof wa&&e.value0.value0 instanceof bf)return"RankingArchitecture";if(e instanceof il&&e.value0 instanceof wa&&e.value0.value0 instanceof Rf)return"RankingBusiness";if(e instanceof il&&e.value0 instanceof wa&&e.value0.value0 instanceof wf)return"RankingChemistry";if(e instanceof il&&e.value0 instanceof wa&&e.value0.value0 instanceof Sf)return"RankingComputerScience";if(e instanceof il&&e.value0 instanceof wa&&e.value0.value0 instanceof Ef)return"RankingCriminalJusticeAndCorrections";if(e instanceof il&&e.value0 instanceof wa&&e.value0.value0 instanceof Cf)return"RankingEconomics";if(e instanceof il&&e.value0 instanceof wa&&e.value0.value0 instanceof If)return"RankingEngineering";if(e instanceof il&&e.value0 instanceof wa&&e.value0.value0 instanceof Tf)return"RankingEnglish";if(e instanceof il&&e.value0 instanceof wa&&e.value0.value0 instanceof Ff)return"RankingFilm";if(e instanceof il&&e.value0 instanceof wa&&e.value0.value0 instanceof Mf)return"RankingFinance";if(e instanceof il&&e.value0 instanceof wa&&e.value0.value0 instanceof Gf)return"RankingHistory";if(e instanceof il&&e.value0 instanceof wa&&e.value0.value0 instanceof Af)return"RankingPoliticalScience";if(e instanceof il&&e.value0 instanceof wa&&e.value0.value0 instanceof xf)return"RankingPreMed";if(e instanceof il&&e.value0 instanceof wa&&e.value0.value0 instanceof tm)return"RankingPsychology";if(e instanceof il&&e.value0 instanceof Bp)return"OverallRanking";throw new Error("Failed pattern match at Hub.Facet (line 309, column 6 - line 380, column 43): "+[e.constructor.name])};var JNe=function(){function e(){}return e.value=new e,e}(),WNe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),qNe=function(){function e(){}return e.value=new e,e}();var ite=function(e){if(e instanceof JNe)return"filters";if(e instanceof WNe)return"filter:"+ote(e.value0);if(e instanceof qNe)return"rankings";throw new Error("Failed pattern match at Hub.Visuals.MobileOverlay (line 40, column 26 - line 43, column 39): "+[e.constructor.name])};function ute(e,n){typeof CV!="undefined"&&CV.tracking&&CV.tracking.event(e,n)}var zNe=Fa(),$Ne=Ve(Xe),VNe=cw(),c2=function(){return function(e){return function(n){var t=zNe(e);return function(){var a=hr(t.utmContent);if(a instanceof d)return Rs({key:"utm_content",value:a.value0});if(a instanceof C)return $Ne;throw new Error("Failed pattern match at Utils.Tracking (line 55, column 5 - line 59, column 17): "+[a.constructor.name])}()(Rs({key:"utm_campaign",value:t.utmCampaign})(Rs({key:"utm_source",value:Zn(t.utmSource)("collegevine.com")})(n)))}}},QNe=function(e){var n=it(e);return function(t){return function(a){return n(function(){return ute(t,a)})}}},LS=function(e){var n=QNe(e);return function(){return function(t){return function(a){return n(t)(VNe(a))}}}};var jS=function(){function e(){}return e.value=new e,e}(),YNe=function(){function e(){}return e.value=new e,e}(),XNe=function(){function e(){}return e.value=new e,e}(),ZNe=function(){function e(){}return e.value=new e,e}(),_9=function(e){if(e instanceof jS)return"school-detail";if(e instanceof YNe)return"school-connections";if(e instanceof XNe)return"explore-schools";if(e instanceof ZNe)return"school-list";throw new Error("Failed pattern match at Hub.Tracker (line 16, column 28 - line 24, column 18): "+[e.constructor.name])};var Of=function(){function e(){}return e.value=new e,e}(),kf=function(){function e(){}return e.value=new e,e}(),sm=function(){function e(){}return e.value=new e,e}(),s2={show:function(e){if(e instanceof Of)return"SAT";if(e instanceof kf)return"ACT";if(e instanceof sm)return"SATAndACT";throw new Error("Failed pattern match at Chancing.Guidance.Types.TestConfiguration (line 15, column 1 - line 18, column 31): "+[e.constructor.name])}};var NS=function(e){return e==="SAT"?new d(Of.value):e==="ACT"?new d(kf.value):e==="SATAndACT"?new d(sm.value):C.value};function lte(e,n,t,a){return a==null?e:n(a[t])}var KNe=function(e){var n=sh(e),t=q(_f(e));return function(a){return function(r){return lte(n(new Iw("object",V6(r))),t,a,r)}}},M1=function(e){return KNe(e)};var nPe=on();var PS=function(e){return nPe(rF(e))};var fo=function(e){return nc(PS(e))};var aPe=So($e)(st),rPe=te(s2);var G1=Z(Ae),cte=df(da),d9=Z(Nv(da)),h9=M1(da),g9=fh(da),ste=zn(Nn)(Ae),fte=qr(wo),vte=q(kn),oPe=Nt(xr),OS=function(){function e(){}return e.value=new e,e}(),e0=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),D9={show:function(e){if(e instanceof OS)return"ATOStrongest";if(e instanceof e0)return aPe(["(ATOWithCloseTests ",rPe(e.value0),")"]);throw new Error("Failed pattern match at Chancing.Guidance.Types.ApplyTestOptionalGuidance (line 22, column 1 - line 28, column 6): "+[e.constructor.name])}};var iPe=function(e){return G1(fo(cte("Object")(e)))(function(n){return G1(fo(d9(h9("tag")(n))(g9)))(function(t){return ste(fte(t==="ATOWithCloseTests"))(function(){return G1(G1(fo(d9(h9("contents")(n))(g9)))(NS))(function(a){return vte(new e0(a))})})})})},uPe=function(e){return G1(fo(cte("Object")(e)))(function(n){return G1(fo(d9(h9("tag")(n))(g9)))(function(t){return ste(fte(t==="ATOStrongest"))(function(){return vte(OS.value)})})})},mte=function(e){return oPe(uPe(e))(iPe(e))};var pte=Dn(gn),_te=hn(pte)(mn(vn)),dte=_n(pn),hte=dn(dte),gte=Rn(bn),Dte=yn(gte),$a=function(){function e(){}return e.value=new e,e}(),gr=function(){function e(){}return e.value=new e,e}(),Or=function(){function e(){}return e.value=new e,e}(),lPe={to:function(e){if(e instanceof U)return $a.value;if(e instanceof p&&e.value0 instanceof U)return gr.value;if(e instanceof p&&e.value0 instanceof p)return Or.value;throw new Error("Failed pattern match at Chancing.Types.ApplicationStrategy (line 20, column 1 - line 20, column 46): "+[e.constructor.name])},from:function(e){if(e instanceof $a)return new U(ce.value);if(e instanceof gr)return new p(new U(ce.value));if(e instanceof Or)return new p(new p(ce.value));throw new Error("Failed pattern match at Chancing.Types.ApplicationStrategy (line 20, column 1 - line 20, column 46): "+[e.constructor.name])}},A1={eq:function(e){return function(n){return e instanceof $a&&n instanceof $a||e instanceof gr&&n instanceof gr||e instanceof Or&&n instanceof Or}}},f2={compare:function(e){return function(n){if(e instanceof $a&&n instanceof $a)return Te.value;if(e instanceof $a)return we.value;if(n instanceof $a)return Re.value;if(e instanceof gr&&n instanceof gr)return Te.value;if(e instanceof gr)return we.value;if(n instanceof gr)return Re.value;if(e instanceof Or&&n instanceof Or)return Te.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 A1}},yte=function(e){if(e instanceof $a)return"ApplyTestOptional";if(e instanceof gr)return"ApplyWithSat";if(e instanceof Or)return"ApplyWithAct";throw new Error("Failed pattern match at Chancing.Types.ApplicationStrategy (line 25, column 13 - line 28, column 33): "+[e.constructor.name])},v2={show:yte},m2=function(){return at(Me)({default:$a.value,diagnosticName:"ApplicationStrategy",parse:Gn(yte)(wn(lPe)(_te(_te(pte)(dte))(hte))(Dte(Dte(gte)))(hte))})}();var bte=Bo(),sPe=j(B0);var fPe=function(e){var n=pw(function(r,o,i){return new d(new Oe(r,i))})(function(r){return C.value}),t=pw(function(r,o,i){return new Oe(r,i)})(function(r){return rc("toUnfoldable1: impossible")}),a=bp(e)(function(r){return sPe(n)(r)});return function(r){return a(t(mw(MQ(bte(r)))))}},vPe=fPe(OT);var x1=bte(GQ),Rte=function(e){var n=te(VV(e));return{show:function(t){return"(fromFoldable1 "+(n(vPe(t))+")")}}},mPe=function(e){return AQ(e)};var pPe=function(e){var n=xQ(e);return n?C.value:new d(e)};var wte=function(e){var n=kD(e);return function(t){return n(mPe(t))(x1)}},Ste=function(e){var n=$T(e);return function(t){var a=n(t);return function(r){return pPe(a(r))}}};var y9=function(e){return jQ(e)};var Ete=te(s2),_Pe=So($e)(st),dPe=te(Rte(v2));var Nl=Z(Ae),Cte=df(da),p2=Z(Nv(da)),_2=M1(da),kS=fh(da),Ite=zn(Nn)(Ae),Tte=qr(wo),Fte=pY(da),hPe=Eo(bi)(_f(da)),gPe=Ste($e)(f2),DPe=j(he),Mte=q(kn),yPe=Nt(xr),ws=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Fc=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}(),b9={show:function(e){if(e instanceof ws)return"(AWTStrongest "+(Ete(e.value0)+")");if(e instanceof Fc)return _Pe(["(AWTWithCloseStrategies ",Ete(e.value0)," ",dPe(e.value1),")"]);throw new Error("Failed pattern match at Chancing.Guidance.Types.ApplyWithTestGuidance (line 28, column 1 - line 36, column 6): "+[e.constructor.name])}};var bPe=function(e){return Nl(fo(Cte("Object")(e)))(function(n){return Nl(fo(p2(_2("tag")(n))(kS)))(function(t){return Ite(Tte(t==="AWTWithCloseStrategies"))(function(){return Nl(Nl(fo(p2(_2("contents")(n))(Fte)))(Kc))(function(a){return Nl(Nl(fo(kS(Cp(a))))(NS))(function(r){return Nl(Nl(vw(a)(1))(function(o){return fo(Fte(o))}))(function(o){return Nl(fo(hPe(kS)(o)))(function(i){return Nl(gPe(DPe(m2)(i)))(function(u){return Mte(new Fc(r,u))})})})})})})})})},RPe=function(e){return Nl(fo(Cte("Object")(e)))(function(n){return Nl(fo(p2(_2("tag")(n))(kS)))(function(t){return Ite(Tte(t==="AWTStrongest"))(function(){return Nl(Nl(fo(p2(_2("contents")(n))(kS)))(NS))(function(a){return Mte(new ws(a))})})})})},Gte=function(e){return yPe(RPe(e))(bPe(e))};var f_=Z(Ae),Ate=df(da),xte=Z(Nv(da)),d2=M1(da),Lte=fh(da),jte=zn(Nn)(Ae),Nte=qr(wo),Pte=q(kn),wPe=Nt(xr),R9=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),w9=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}();var SPe=function(e){return f_(fo(Ate("Object")(e)))(function(n){return f_(fo(xte(d2("tag")(n))(Lte)))(function(t){return jte(Nte(t==="GuidanceApplyWithTest"))(function(){return f_(fo(d2("contents")(n)))(function(a){return f_(Gte(a))(function(r){return Pte(new w9(r))})})})})})},EPe=function(e){return f_(fo(Ate("Object")(e)))(function(n){return f_(fo(xte(d2("tag")(n))(Lte)))(function(t){return jte(Nte(t==="GuidanceApplyTestOptional"))(function(){return f_(fo(d2("contents")(n)))(function(a){return f_(mte(a))(function(r){return Pte(new R9(r))})})})})})},Ote=Vn(Me)(H)({parse:function(e){return wPe(EPe(e))(SPe(e))},diagnosticName:"Chancing Guidance"});var kte=function(){function e(){}return e.value=new e,e}(),CPe=function(){function e(){}return e.value=new e,e}();var Ute=function(){return at(Me)({default:kte.value,parse:function(e){return e==="BelowAcademicThreshold"?new d(kte.value):e==="AboveAcademicThreshold"?new d(CPe.value):C.value},diagnosticName:"Chancing.AcademicThresholdStatus"})}();var S9=Z(Ae),IPe=q(kn),fm=function(){function e(){}return e.value=new e,e}(),vm=function(){function e(){}return e.value=new e,e}(),Uf=function(){function e(){}return e.value=new e,e}(),Mc=function(){function e(){}return e.value=new e,e}();var E9=function(){return at(Me)({default:Mc.value,parse:function(e){return e==="PSWeak"?new d(Uf.value):e==="PSFair"?new d(vm.value):e==="PSStrong"?new d(fm.value):C.value},diagnosticName:"Chancing.ScoreProgress"})}(),US=function(e){var n=Bd(e);return function(t){return function(a){return Se(Mc.value)(S9(t)(function(r){return S9(a.p50)(function(o){return S9(a.p75)(function(i){return IPe(function(){var u=n(r)(o);if(u)return Uf.value;var l=n(r)(i);return l?vm.value:fm.value}())})})}))}}};var TPe=j(H),FPe=pt(Ae),C9=function(e){return{applicationStrategy:m2(e.applicationStrategy),isRecommendedStrategy:e.isRecommendedStrategy,classification:TPe(Hne)(K(e.classification)),score:K(e.score),academicThresholdStatus:Ute(e.academicThresholdStatus),shouldApplyTestOptional:e.shouldApplyTestOptional,ecStrength:ke(Mc.value)(E9)(K(e.ecStrength)),courseRigorStrength:ke(Mc.value)(E9)(K(e.courseRigorStrength)),specialCase:FPe(zne)(K(e.specialCase))}};var MPe=j(he),GPe=pt(Ae),v_=function(e){return{top:C9(e.top),all:MPe(C9)(e.all),guidance:GPe(Ote)(K(e.guidance)),sameDemographicStats:gK(K(e.sameDemographicStats))}};var APe=ko(zu),xPe=Jn(Na),Hte=j(H),LPe=jD($e)(zu),jPe=ff(bi)(kn);var m_=function(e){return xPe(Hte(APe)(e.sat.readingWriting))(e.sat.math)};var NPe=function(e){return es(ct(LPe(e))/4)};var p_=function(e){return Hte(NPe)(jPe([e.act.math,e.act.english,e.act.reading,e.act.science]))};var HS=function(){function e(){}return e.value=new e,e}(),L1=function(){function e(){}return e.value=new e,e}();var mm=function(){function e(){}return e.value=new e,e}(),pm=function(){function e(){}return e.value=new e,e}(),_m=function(){function e(){}return e.value=new e,e}(),dm=function(){function e(){}return e.value=new e,e}(),hm=function(){function e(){}return e.value=new e,e}(),gm=function(){function e(){}return e.value=new e,e}(),Dm=function(){function e(){}return e.value=new e,e}(),ym=function(){function e(){}return e.value=new e,e}(),bm=function(){function e(){}return e.value=new e,e}(),Rm=function(){function e(){}return e.value=new e,e}(),wm=function(){function e(){}return e.value=new e,e}(),Sm=function(){function e(){}return e.value=new e,e}(),Em=function(){function e(){}return e.value=new e,e}(),Cm=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}(),Fm=function(){function e(){}return e.value=new e,e}(),Mm=function(){function e(){}return e.value=new e,e}(),n0=function(){function e(){}return e.value=new e,e}(),j1={show:function(e){if(e instanceof mm)return"Sports";if(e instanceof pm)return"CommService";if(e instanceof _m)return"Hobbies";if(e instanceof dm)return"NonArtComps";if(e instanceof hm)return"Politics";if(e instanceof gm)return"Drama";if(e instanceof Dm)return"VisualArts";if(e instanceof ym)return"Music";if(e instanceof bm)return"Writing";if(e instanceof Rm)return"HonorSocieties";if(e instanceof wm)return"Employment";if(e instanceof Sm)return"OwnInitiative";if(e instanceof Em)return"StudentGov";if(e instanceof Cm)return"InterestClubs";if(e instanceof Im)return"AffinityGroups";if(e instanceof Tm)return"Research";if(e instanceof Fm)return"SummerPrograms";if(e instanceof Mm)return"Software";if(e instanceof n0)return"Other";throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECCategory (line 38, column 1 - line 57, column 23): "+[e.constructor.name])}};var BS={eq:function(e){return function(n){return e instanceof mm&&n instanceof mm||e instanceof pm&&n instanceof pm||e instanceof _m&&n instanceof _m||e instanceof dm&&n instanceof dm||e instanceof hm&&n instanceof hm||e instanceof gm&&n instanceof gm||e instanceof Dm&&n instanceof Dm||e instanceof ym&&n instanceof ym||e instanceof bm&&n instanceof bm||e instanceof Rm&&n instanceof Rm||e instanceof wm&&n instanceof wm||e instanceof Sm&&n instanceof Sm||e instanceof Em&&n instanceof Em||e instanceof Cm&&n instanceof Cm||e instanceof Im&&n instanceof Im||e instanceof Tm&&n instanceof Tm||e instanceof Fm&&n instanceof Fm||e instanceof Mm&&n instanceof Mm||e instanceof n0&&n instanceof n0}}};var N1=function(e){return e==="Sports"?new d(mm.value):e==="CommService"?new d(pm.value):e==="Hobbies"?new d(_m.value):e==="NonArtComps"?new d(dm.value):e==="Politics"?new d(hm.value):e==="Drama"?new d(gm.value):e==="VisualArts"?new d(Dm.value):e==="Music"?new d(ym.value):e==="Writing"?new d(bm.value):e==="HonorSocieties"?new d(Rm.value):e==="Employment"?new d(wm.value):e==="OwnInitiative"?new d(Sm.value):e==="StudentGov"?new d(Em.value):e==="InterestClubs"?new d(Cm.value):e==="AffinityGroups"?new d(Im.value):e==="Research"?new d(Tm.value):e==="SummerPrograms"?new d(Fm.value):e==="Software"?new d(Mm.value):e==="Other"?new d(n0.value):C.value};var __=function(e){if(e instanceof mm)return"Sports";if(e instanceof pm)return"Community Service";if(e instanceof _m)return"Hobbies";if(e instanceof dm)return"Non-Art Competitions";if(e instanceof hm)return"Politics";if(e instanceof gm)return"Drama";if(e instanceof Dm)return"Visual Arts";if(e instanceof ym)return"Music";if(e instanceof bm)return"Writing";if(e instanceof Rm)return"Honor Societies";if(e instanceof wm)return"Employment";if(e instanceof Sm)return"Own Initiative";if(e instanceof Em)return"Student Government";if(e instanceof Cm)return"Interest Clubs";if(e instanceof Im)return"Affinity Groups";if(e instanceof Tm)return"Research";if(e instanceof Fm)return"Summer Programs";if(e instanceof Mm)return"Software";if(e instanceof n0)return"Other";throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECCategory (line 110, column 11 - line 129, column 19): "+[e.constructor.name])},Bte=function(){return[mm.value,pm.value,_m.value,dm.value,hm.value,gm.value,Dm.value,ym.value,bm.value,Rm.value,wm.value,Sm.value,Em.value,Cm.value,Im.value,Tm.value,Fm.value,Mm.value]}();var Jte=Dn(gn),Hf=hn(Jte)(mn(vn)),Wte=_n(pn),Bf=dn(Wte),I9=Hf(Hf(Hf(Hf(Hf(Hf(Hf(Hf(Hf(Hf(Hf(Jte)(Wte))(Bf))(Bf))(Bf))(Bf))(Bf))(Bf))(Bf))(Bf))(Bf))(Bf);var qte=Rn(bn),Jf=yn(qte),zte=Jf(Jf(Jf(Jf(Jf(Jf(Jf(Jf(Jf(Jf(Jf(qte))))))))))),PPe=X(H),OPe=j(he),JS=function(){function e(){}return e.value=new e,e}(),WS=function(){function e(){}return e.value=new e,e}(),qS=function(){function e(){}return e.value=new e,e}(),zS=function(){function e(){}return e.value=new e,e}(),zi=function(){function e(){}return e.value=new e,e}(),Sr=function(){function e(){}return e.value=new e,e}(),cr=function(){function e(){}return e.value=new e,e}(),Fr=function(){function e(){}return e.value=new e,e}(),vo=function(){function e(){}return e.value=new e,e}(),Dr=function(){function e(){}return e.value=new e,e}(),$i=function(){function e(){}return e.value=new e,e}(),vi=function(){function e(){}return e.value=new e,e}(),Li=function(){function e(){}return e.value=new e,e}(),mo=function(){function e(){}return e.value=new e,e}(),Pl=function(){function e(){}return e.value=new e,e}(),ul=function(){function e(){}return e.value=new e,e}(),d_={to:function(e){if(e instanceof U)return zi.value;if(e instanceof p&&e.value0 instanceof U)return Sr.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof U)return cr.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof U)return Fr.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 U)return vo.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 U)return Dr.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 U)return $i.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 U)return vi.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 U)return Li.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 U)return mo.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 U)return Pl.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 ul.value;throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECTier (line 63, column 1 - line 63, column 33): "+[e.constructor.name])},from:function(e){if(e instanceof zi)return new U(ce.value);if(e instanceof Sr)return new p(new U(ce.value));if(e instanceof cr)return new p(new p(new U(ce.value)));if(e instanceof Fr)return new p(new p(new p(new U(ce.value))));if(e instanceof vo)return new p(new p(new p(new p(new U(ce.value)))));if(e instanceof Dr)return new p(new p(new p(new p(new p(new U(ce.value))))));if(e instanceof $i)return new p(new p(new p(new p(new p(new p(new U(ce.value)))))));if(e instanceof vi)return new p(new p(new p(new p(new p(new p(new p(new U(ce.value))))))));if(e instanceof Li)return new p(new p(new p(new p(new p(new p(new p(new p(new U(ce.value)))))))));if(e instanceof mo)return new p(new p(new p(new p(new p(new p(new p(new p(new p(new U(ce.value))))))))));if(e instanceof Pl)return new p(new p(new p(new p(new p(new p(new p(new p(new p(new p(new U(ce.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 p(ce.value)))))))))));throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECTier (line 63, column 1 - line 63, column 33): "+[e.constructor.name])}},Ss={eq:function(e){return function(n){return e instanceof zi&&n instanceof zi||e instanceof Sr&&n instanceof Sr||e instanceof cr&&n instanceof cr||e instanceof Fr&&n instanceof Fr||e instanceof vo&&n instanceof vo||e instanceof Dr&&n instanceof Dr||e instanceof $i&&n instanceof $i||e instanceof vi&&n instanceof vi||e instanceof Li&&n instanceof Li||e instanceof mo&&n instanceof mo||e instanceof Pl&&n instanceof Pl||e instanceof ul&&n instanceof ul}}},kPe=me(Ss),UPe={compare:function(e){return function(n){if(e instanceof zi&&n instanceof zi)return Te.value;if(e instanceof zi)return we.value;if(n instanceof zi)return Re.value;if(e instanceof Sr&&n instanceof Sr)return Te.value;if(e instanceof Sr)return we.value;if(n instanceof Sr)return Re.value;if(e instanceof cr&&n instanceof cr)return Te.value;if(e instanceof cr)return we.value;if(n instanceof cr)return Re.value;if(e instanceof Fr&&n instanceof Fr)return Te.value;if(e instanceof Fr)return we.value;if(n instanceof Fr)return Re.value;if(e instanceof vo&&n instanceof vo)return Te.value;if(e instanceof vo)return we.value;if(n instanceof vo)return Re.value;if(e instanceof Dr&&n instanceof Dr)return Te.value;if(e instanceof Dr)return we.value;if(n instanceof Dr)return Re.value;if(e instanceof $i&&n instanceof $i)return Te.value;if(e instanceof $i)return we.value;if(n instanceof $i)return Re.value;if(e instanceof vi&&n instanceof vi)return Te.value;if(e instanceof vi)return we.value;if(n instanceof vi)return Re.value;if(e instanceof Li&&n instanceof Li)return Te.value;if(e instanceof Li)return we.value;if(n instanceof Li)return Re.value;if(e instanceof mo&&n instanceof mo)return Te.value;if(e instanceof mo)return we.value;if(n instanceof mo)return Re.value;if(e instanceof Pl&&n instanceof Pl)return Te.value;if(e instanceof Pl)return we.value;if(n instanceof Pl)return Re.value;if(e instanceof ul&&n instanceof ul)return Te.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 Ss}},$te={succ:AF(d_)(I9),pred:hZ(d_)(I9),Ord0:function(){return UPe}};var Vte=function(e){if(e instanceof zi)return"A";if(e instanceof Sr)return"B";if(e instanceof cr)return"C";if(e instanceof Fr)return"D";if(e instanceof vo)return"E";if(e instanceof Dr)return"F";if(e instanceof $i)return"G";if(e instanceof vi)return"H";if(e instanceof Li)return"I";if(e instanceof mo)return"J";if(e instanceof Pl)return"K";if(e instanceof ul)return"L";throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECTier (line 46, column 13 - line 58, column 13): "+[e.constructor.name])},Qte={show:Vte},Yte=Gn(Vte)(wn(d_)(I9)(zte)(Bf)),T9=function(e){if(e instanceof zi)return{group:JS.value,subGroup:"a"};if(e instanceof Sr)return{group:JS.value,subGroup:"b"};if(e instanceof cr)return{group:JS.value,subGroup:"c"};if(e instanceof Fr)return{group:WS.value,subGroup:"a"};if(e instanceof vo)return{group:WS.value,subGroup:"b"};if(e instanceof Dr)return{group:WS.value,subGroup:"c"};if(e instanceof $i)return{group:qS.value,subGroup:"a"};if(e instanceof vi)return{group:qS.value,subGroup:"b"};if(e instanceof Li)return{group:qS.value,subGroup:"c"};if(e instanceof mo)return{group:zS.value,subGroup:"a"};if(e instanceof Pl)return{group:zS.value,subGroup:"b"};if(e instanceof ul)return{group:zS.value,subGroup:"c"};throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECTier (line 122, column 9 - line 134, column 44): "+[e.constructor.name])},Xte=gZ(d_)(zte),HPe=function(e){return function(n){if(n instanceof JS)return"1";if(n instanceof WS)return"2";if(n instanceof qS)return"3";if(n instanceof zS)return"4";throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECTier (line 90, column 43 - line 94, column 18): "+[n.constructor.name])}(function(n){return n.group}(T9(e)))},F9=function(e){return HPe(e)+T9(e).subGroup},P1=function(e){return F9(e)+(": "+function(){var n=T9(e).group;if(n instanceof JS)return"Exceptional";if(n instanceof WS)return"Very strong";if(n instanceof qS)return"Strong";if(n instanceof zS)return"Standard";throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECTier (line 78, column 39 - line 82, column 25): "+[n.constructor.name])}())},Zte=function(){var e=function(n){return function(t){return{tier:n,description:t}}};return function(n){if(n instanceof mm)return[e(zi.value)(["I play for the youth national team at my age group in this sport","I am a national champion in this sport"]),e(Sr.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(cr.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(Fr.value)(["I'm a varsity athlete with top all-conference/region or conference/region award"]),e(vo.value)(["I'm a varsity athlete with all-conference/region or conference/region award","I am the captain of the varsity team"]),e(Dr.value)(["I'm a varsity athlete in this sport"]),e(vi.value)(["I'm a JV athlete that won an award in this sport","I am the JV team captain"]),e(mo.value)(["I'm a JV athlete in this sport"]),e(ul.value)(["I play this sport recreationally"])];if(n instanceof pm)return[e(Sr.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(cr.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(Fr.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(vo.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(Dr.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(vi.value)(["I won a community service award either in a school club or in an out of school organization"]),e(Li.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(mo.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(ul.value)(["I have less than 30 volunteer hours"])];if(n instanceof _m)return[e(Sr.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(cr.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(Dr.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(mo.value)(["I have participated in this hobby for an extended period of time"])];if(n instanceof dm)return[e(zi.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(Sr.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(cr.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(Fr.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(vo.value)(["I won a state level individual award in this activity","I held the highest school level leadership in this activity"]),e(Dr.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($i.value)(["I was part of a team that reached the state level competition in this activity in a competitive process"]),e(Li.value)(["I competed at the state or regional level in this activity","I won a school level award in this activity"]),e(Pl.value)(["I competed at the local or school level in this activity"])];if(n instanceof hm)return[e(Sr.value)(["I worked a substantial, paid strategy role for a national level political campaign (Congressional or higher)"]),e(cr.value)(["I worked a substantial, paid strategy role for a state level political campaign"]),e(Fr.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(vo.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(Dr.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(mo.value)(["I canvassed for a state or national level political campaign","I am a member of political interest club at my school"]),e(Pl.value)(["I canvassed or phone banked for local level political campaign"])];if(n instanceof gm)return[e(cr.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(Fr.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(vo.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(Dr.value)(["I had a non-lead but highly important role in school play"]),e($i.value)(["I performed a substantial role in a school play"]),e(vi.value)(["I performed a role in a non-student play at a theater in my city"]),e(Li.value)(["I performed a role with lines in a school play","I was a member of the stage crew or Pit orchestra"]),e(Pl.value)(["I was an extra in the school play"])];if(n instanceof Dm)return[e(zi.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(Sr.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(cr.value)(["I won a Gold Key art award from Scholastic","I had a film screened at an accredited regional film festival"]),e(Fr.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(vo.value)(["I won a city or regional art award","I screened a film at citywide or regional film festival"]),e(Dr.value)(["I held school level leadership in an art or film club","I won the national Scholastic Silver Key award"]),e(vi.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(mo.value)(["I am a member of my school's art or film club"]),e(ul.value)(["I draw, paint, or make videos for fun"])];if(n instanceof ym)return[e(zi.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(Sr.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(cr.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(Fr.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(vo.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(Dr.value)(["I am the principal player/section leader for the highest school/non-school musical group in my school/town"]),e($i.value)(["If my school has multiple groups, I am a member of the highest group in my school"]),e(mo.value)(["I am a member of a music group inside or outside school"]),e(ul.value)(["I play an instrument or sing recreationally"])];if(n instanceof bm)return[e(zi.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(Sr.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(cr.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(Fr.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(vo.value)(["I published a full-length book or books through Amazon (total length <100 pages) or self-publishing"]),e(Dr.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(vi.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(Li.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(mo.value)(["I contributed 1-2 articles to a school newspaper or publication"]),e(ul.value)(["I write for fun"])];if(n instanceof Rm)return[e(Sr.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(cr.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(Fr.value)(["I was the president of a school or local level honor society"]),e(Dr.value)(["I held leadership in school or local honor society"]),e($i.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(vi.value)(["I was a member of school level honor society e.g. National Honor Society"]),e(Li.value)(["I was a member of a subject level school honor society i.e. Spanish Honor Society"])];if(n instanceof wm)return[e(Sr.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(cr.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(Fr.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(Dr.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($i.value)(["I had an unpaid internship at a local small business or government office"]),e(Li.value)(["I had hourly paid work at local business e.g. as a cashier, waitress, or secretary"])];if(n instanceof Sm)return[e(zi.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(Sr.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(cr.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(Fr.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(Dr.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(vi.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 Em)return[e(Fr.value)(["I was School President or Head Boy/Girl"]),e(vo.value)(["I was the president of Student Council","I was class president"]),e(Dr.value)(["I was a class officer","I held student council leadership"]),e(vi.value)(["I was a member of Student Council"])];if(n instanceof Cm)return[e(Sr.value)(["I organized a nationwide event or conference for this interest (i.e. national anime conference)"]),e(cr.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(Fr.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(Dr.value)(["I held leadership in a school-level interest club"]),e(mo.value)(["I was a member of school level interest based club"])];if(n instanceof Im)return[e(Sr.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(cr.value)(["I was the highest state leader of an affinity group for high schoolers e.g.Black Students Association"]),e(Fr.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(Dr.value)(["I held school-level leadership in an affinity group or club"]),e(mo.value)(["I was a member of a school level affinity club"])];if(n instanceof Tm)return[e(zi.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(Sr.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(cr.value)(["I was selected for a formal, honorary application required research programs"]),e(Fr.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(vo.value)(["I conducted research through a formal, application required program with an accredited university"]),e(Dr.value)(["I had research that was or will be published"]),e($i.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(Li.value)(["I paid money to participate in a research program"])];if(n instanceof Fm)return[e(Sr.value)(["I attended one of TASP, RSI, PROMYS, SSP, Boys/Girls Nation"]),e(cr.value)(["I attended one of RISE, MITES, SuMaC, Boys/Girls State, or Gov School"]),e(vo.value)(["I attended one of SIP, EFL, SAMS, HCSSIM, JCamp, MAthlLy, HSHSP, Clark Scholars, Notre Dame Summer Scholars"]),e(Dr.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(Li.value)(["I participated in study abroad through my school","I attended a paid summer program requiring an application"]),e(mo.value)(["I attended a paid summer program where there is no application required"])];if(n instanceof Mm)return[e(Sr.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(cr.value)(["I built commercially used software","I built an app with more than 100,000 downloads"]),e(vo.value)(["I published an app with 10,000 downloads"]),e(vi.value)(["I published an app on the App/Google Play store","I contributed to an open source software project"]),e(mo.value)(["I write programs for fun"])];if(n instanceof n0)return[e(cr.value)([""]),e($i.value)([""]),e(mo.value)([""]),e(ul.value)([""])];throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECTier (line 137, column 17 - line 325, column 6): "+[n.constructor.name])}}(),Kte=function(e){return function(n){return PPe(Sp(function(){var t=kPe(n);return function(a){return t(function(r){return r.tier}(a))}}())(Zte(e)))(function(t){return t.description})}},$S=function(e){return OPe(function(n){return n.tier})(Zte(e))},eae=function(e){return Ri($S(e))},h2=function(e){return Yd($S(e))};var tae=te(j1),aae=te(Qte),BPe=te(Qc(Jr)),JPe=me(BS),WPe=me(Pt(ca)),qPe=me(Pt(Xa)),zPe=me(Ss),$Pe=Qu(Ss),VPe=VT($te),M9=Z(Ae),QPe=q(kn),YPe=dl(Ae),G9=j0(H),XPe=Jn(Na),ZPe=j(H);var KPe=Ep(Ss);var A9={show:function(e){return"ECActivity "+("{ name: "+(e.name+(", category: "+(tae(e.category)+(", tier: "+(aae(e.tier)+(", description: "+(BPe(e.description)+" }"))))))))}};var rae={show:function(){var e=te(ze),n=on();return function(t){return e(n(t))}}()},x9={eq:function(e){return function(n){return e===n}}},eOe=me(Pt(x9)),VS={eq:function(e){return function(n){return eOe(e.canonicalId)(n.canonicalId)&&JPe(e.category)(n.category)&&WPe(e.description)(n.description)&&qPe(e.id)(n.id)&&e.name===n.name&&zPe(e.tier)(n.tier)}}},QS=wt;var Ol=function(e){return e.tier},h_=function(e){return e.name},YS=function(e){return function(n){return function(t){return function(a){return function(r){return function(o){var i=$S(n),u=function(l){var c=!1,s;function f(v){if($Pe(v)(i))return c=!0,new d(v);var m=function(R){if(Le)return Ri(i);throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivity (line 83, column 1 - line 83, column 105): "+[v.constructor.name])},_=VPe(v);if(_ instanceof d){l=_.value0;return}return c=!0,m(!0)}for(;!c;)s=f(l);return s};return M9(u(t))(function(l){return QPe({name:e,category:n,tier:l,id:a,description:r,canonicalId:o})})}}}}}},nOe=Vn(Me)(H)({diagnosticName:"EC Activity",parse:function(e){return YPe(G9(G9(G9(XPe(ZPe(YS(e.name))(N1(e.category)))(Yte(e.tier)))(K(e.id)))(K(e.description)))(K(e.canonical_ec_activity_id)))}}),XS=Co(nOe);var g2=function(e){return e.id},oae=function(e){return function(n){var t=$S(n.category);return M9(KPe(n.tier)(t))(function(a){return M9(iu(t)(e(a)))(function(r){return YS(n.name)(n.category)(r)(n.id)(n.description)(n.canonicalId)})})}},iae=oae(function(e){return e+1|0}),uae=oae(function(e){return e-1|0}),ZS=function(e){return e.description},Wf=function(e){return e.category},D2=function(e){return e.canonicalId},Qh=j(he)(function(e){return{name:h_(e),category:tae(Wf(e)),tier:aae(Ol(e)),id:Ht(g2(e)),description:Ht(ZS(e)),canonical_ec_activity_id:Ht(D2(e))}});var L9=q(kn),tOe=Nt(xr);var KS=function(e){var n=m_(e);if(n instanceof d&&e.psatPredictedCompositeSAT instanceof C)return L9(HS.value);if(n instanceof d&&e.psatPredictedCompositeSAT instanceof d)return L9(HS.value);if(n instanceof C&&e.psatPredictedCompositeSAT instanceof d)return L9(L1.value);if(n instanceof C&&e.psatPredictedCompositeSAT instanceof C)return C.value;throw new Error("Failed pattern match at Hub.Types.ChancingProfile (line 54, column 3 - line 62, column 14): "+[n.constructor.name,e.psatPredictedCompositeSAT.constructor.name])},lae=function(e){return{sat:{readingWriting:K(e.sat.readingWriting),math:K(e.sat.math)},psatPredictedCompositeSAT:K(e.psatPredictedCompositeSAT),act:{math:K(e.act.math),english:K(e.act.english),reading:K(e.act.reading),science:K(e.act.science)},gpa:K(e.gpa),courseRigor:{ap:K(e.courseRigor.ap),honors:K(e.courseRigor.honors),collegeClasses:K(e.courseRigor.collegeClasses)},ecScore:K(e.ecScore),ecActivities:XS(e.ecActivities)}};var j9=function(e){return tOe(m_(e))(e.psatPredictedCompositeSAT)};var y2=function(e){return{estimatedNetCost:e.estimatedNetCost,stickerPrice:e.stickerPrice,financialAid:e.financialAid,estimatedMeritAid:K(e.estimatedMeritAid)}};var cae=im(function(e){return{status:m9(e.status),applicationRound:Sne(e.applicationRound)}}),N9=function(){return{status:Vh.value,applicationRound:a_.value}}();var sae=im(Ve(Xe)),b2=500;var Yh=function(){function e(){}return e.value=new e,e}(),eE=function(){function e(){}return e.value=new e,e}();var Iu=function(e){if(e instanceof Yh)return d.create;if(e instanceof eE)return an(C.value);throw new Error("Failed pattern match at SchoolDetails.Configuration (line 21, column 1 - line 21, column 62): "+[e.constructor.name])},Gm=function(e){if(e instanceof eE)return d.create;if(e instanceof Yh)return an(C.value);throw new Error("Failed pattern match at SchoolDetails.Configuration (line 25, column 1 - line 25, column 61): "+[e.constructor.name])},g_=function(){return d.create}();var fae=Dn(gn),vae=hn(fae)(mn(vn)),mae=_n(pn),pae=dn(mae),_ae=Rn(bn),dae=yn(_ae),R2=function(){function e(){}return e.value=new e,e}(),P9=function(){function e(){}return e.value=new e,e}(),O9=function(){function e(){}return e.value=new e,e}(),aOe={to:function(e){if(e instanceof U)return R2.value;if(e instanceof p&&e.value0 instanceof U)return P9.value;if(e instanceof p&&e.value0 instanceof p)return O9.value;throw new Error("Failed pattern match at Autopilot.Student.Types.AutopilotStatus (line 18, column 1 - line 18, column 42): "+[e.constructor.name])},from:function(e){if(e instanceof R2)return new U(ce.value);if(e instanceof P9)return new p(new U(ce.value));if(e instanceof O9)return new p(new p(ce.value));throw new Error("Failed pattern match at Autopilot.Student.Types.AutopilotStatus (line 18, column 1 - line 18, column 42): "+[e.constructor.name])}};var k9=function(){var e=function(n){if(n instanceof R2)return"ineligible";if(n instanceof P9)return"eligible";if(n instanceof O9)return"joined";throw new Error("Failed pattern match at Autopilot.Student.Types.AutopilotStatus (line 28, column 17 - line 31, column 25): "+[n.constructor.name])};return at(Me)({parse:Gn(e)(wn(aOe)(vae(vae(fae)(mae))(pae))(dae(dae(_ae)))(pae)),default:R2.value,diagnosticName:"Autopilot Status"})}();var hae=function(e){return{rcr2577ClaimSchoolProfileLinkOnSdp:e.rcr2577ClaimSchoolProfileLinkOnSdp,app18667IvyOnSdp:e.app18667IvyOnSdp,app18667TrellisRecruiter:e.app18667TrellisRecruiter,autopilot:k9(e.autopilot)}};var rOe=function(){function e(){}return e.value=new e,e}(),U9=function(){function e(){}return e.value=new e,e}(),nE=function(){function e(){}return e.value=new e,e}(),gae=function(){function e(){}return e.value=new e,e}(),Dae=function(e){if(e instanceof rOe)return"modal-sm";if(e instanceof U9)return"";if(e instanceof nE)return"modal-lg";if(e instanceof gae)return"modal-xl";throw new Error("Failed pattern match at Bootstrap.Modal.Size (line 14, column 13 - line 18, column 27): "+[e.constructor.name])};Wt();var oOe=["selectionchange","visibilitychange","keyup","keydown"],iOe=["resize","mouseup","mousemove","hashchange","popstate","message"],H9=class extends yt.Component{constructor(){super();let n=t=>{let a={};return t.forEach(r=>{a[r]=o=>{let i=this.props[r];i&&i(o)}}),a};this.handleWindow=n(iOe),this.handleDocument=n(oOe)}componentDidMount(){let n=(t,a)=>Object.keys(a).forEach(r=>t.addEventListener(r,a[r]));n(window,this.handleWindow),n(document,this.handleDocument)}componentWillUnmount(){let n=(t,a)=>Object.keys(a).forEach(r=>t.removeEventListener(r,a[r]));n(window,this.handleWindow),n(document,this.handleDocument)}render(){return null}};var uOe=El(),tE=function(){return function(){return uOe(H9)}};var aE=function(){return Be};var O1=B(ae),B9=Fa(),lOe=rt(ae)()(),cOe=rt(J)()(),sOe=B(J),fOe=Mn(x)()(),vOe=Qt(er),mOe=Oo($t),yae=aE(),pOe=tE()(),_Oe=Qt($o),w2=function(){return function(e){var n=O1("modal-backdrop fade show")(ln),t=B9(e),a=hr(t.footer),r=hr(t.header),o=Zn(t.size)(U9.value),i=Pr(" ")([function(){var l=Zn(t.scrollable)(!0);return l?"modal-dialog-scrollable":""}(),function(){var l=Zn(t.centered)(!0);return l?"modal-dialog-centered":""}(),Dae(o),Zn(t.dialogClass)("")]),u=O1("modal fade show d-block")(lOe("modal-dialog "+i)({style:Zn(t.dialogStyle)(Sn({}))})(cOe("modal-content "+Zn(t.contentClass)(""))({style:Zn(t.contentStyle)(Sn({}))})([He(r)(O1("modal-header "+Zn(t.headerClass)(""))),O1("modal-body "+Zn(t.bodyClass)(""))(t.body),He(a)(O1("modal-footer "+Zn(t.footerClass)("")))])));return ue([u,n])}},bae=w2(),Am=function(){return function(e){var n=B9(e),t=sOe("d-flex w-100 justify-content-between align-items-center")([O1("mr-4")(Zn(n.title)(ln)),fOe("btn btn-link large mr-n3 py-0 fe fe-x t--close "+Zn(n.dismissButtonClass)("text-body"))({type:"button",onClick:vOe(n.onDismiss)})("")]),a=function(r){return mOe(r.key==="Escape")(n.onDismiss)};return ue([function(){var r=Zn(n.bodyScrollable)(!1);return bae(r?function(){var o=B9(yae(n));return{body:o.body,bodyClass:o.bodyClass,centered:o.centered,contentClass:o.contentClass,contentStyle:o.contentStyle,dialogClass:o.dialogClass,dialogStyle:o.dialogStyle,footer:o.footer,footerClass:o.footerClass,headerClass:o.headerClass,scrollable:o.scrollable,size:o.size,header:t}}():yae({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:ue([t,n.body])}))}(),pOe({keyup:_Oe(a)})])}};function Rae(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 wae=typeof CV!="undefined"&&CV.pathInfo||typeof global!="undefined"&&global.CV&&global.CV.pathInfo||(e=>null);function Sae(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 Eae(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 S2="application/json",Cae="application/x-www-form-urlencoded";var Iae=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Tae=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Fae=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Mae=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Gae=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),J9=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),E2=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Aae=function(e){return e instanceof J9?new d(Cae):e instanceof E2?new d(S2):C.value};var xae=function(){return E2.create}();var Lae=on();var C2=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),I2=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),k1=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}(),jae=function(e){if(e instanceof C2||e instanceof I2)return Lae(e.value0);if(e instanceof k1)return e.value1;throw new Error("Failed pattern match at Affjax.RequestHeader (line 26, column 1 - line 26, column 33): "+[e.constructor.name])};var W9=function(e){if(e instanceof C2)return"Accept";if(e instanceof I2)return"Content-Type";if(e instanceof k1)return e.value0;throw new Error("Failed pattern match at Affjax.RequestHeader (line 21, column 1 - line 21, column 32): "+[e.constructor.name])};var Nae=Ve(Xe),q9=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),z9=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),$9=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),T2=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),F2=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),M2=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Pae=function(e){if(e instanceof q9)return"arraybuffer";if(e instanceof z9)return"blob";if(e instanceof $9)return"document";if(e instanceof T2||e instanceof F2)return"text";if(e instanceof M2)return"";throw new Error("Failed pattern match at Affjax.ResponseFormat (line 44, column 3 - line 50, column 19): "+[e.constructor.name])},Oae=function(e){return e instanceof T2?new d(S2):C.value},kae=function(){return new F2(Nae)}();var Uae=function(){return new M2(Nae)}();var Hae=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 Bae(e,n,t){try{return n(JSON.parse(t))}catch(a){return e(a.message)}}var G2=function(e){return Bae(rn.create,un.create,e)};var dOe=Jn(Na),Jae=j(H),hOe=Eo(bi)(kn);var gOe=function(e){return e};var Wae=function(){var e=function(a){if(a.value1 instanceof C)return n2(a.value0);if(a.value1 instanceof d)return dOe(Jae(function(r){return function(o){return r+("="+o)}})(n2(a.value0)))(n2(a.value1.value0));throw new Error("Failed pattern match at Data.FormURLEncoded (line 37, column 16 - line 39, column 114): "+[a.constructor.name])},n=Jae(Pr("&")),t=hOe(e);return function(a){return n(t(gOe(a)))}}();var V9=function(){function e(){}return e.value=new e,e}(),D_=function(){function e(){}return e.value=new e,e}(),Q9=function(){function e(){}return e.value=new e,e}(),xm=function(){function e(){}return e.value=new e,e}(),A2=function(){function e(){}return e.value=new e,e}(),rE=function(){function e(){}return e.value=new e,e}(),Y9=function(){function e(){}return e.value=new e,e}(),X9=function(){function e(){}return e.value=new e,e}(),Z9=function(){function e(){}return e.value=new e,e}(),K9=function(){function e(){}return e.value=new e,e}(),ej=function(){function e(){}return e.value=new e,e}(),nj=function(){function e(){}return e.value=new e,e}(),tj=function(){function e(){}return e.value=new e,e}(),aj=function(){function e(){}return e.value=new e,e}(),rj=function(){function e(){}return e.value=new e,e}(),x2=function(){function e(){}return e.value=new e,e}();var DOe=function(e){return e},yOe={show:function(e){if(e instanceof V9)return"OPTIONS";if(e instanceof D_)return"GET";if(e instanceof Q9)return"HEAD";if(e instanceof xm)return"POST";if(e instanceof A2)return"PUT";if(e instanceof rE)return"DELETE";if(e instanceof Y9)return"TRACE";if(e instanceof X9)return"CONNECT";if(e instanceof Z9)return"PROPFIND";if(e instanceof K9)return"PROPPATCH";if(e instanceof ej)return"MKCOL";if(e instanceof nj)return"COPY";if(e instanceof tj)return"MOVE";if(e instanceof aj)return"LOCK";if(e instanceof rj)return"UNLOCK";if(e instanceof x2)return"PATCH";throw new Error("Failed pattern match at Data.HTTP.Method (line 43, column 1 - line 59, column 23): "+[e.constructor.name])}};var qae=Za(te(yOe))(DOe);var zae={eq:function(e){return function(n){return e instanceof V9&&n instanceof V9||e instanceof D_&&n instanceof D_||e instanceof Q9&&n instanceof Q9||e instanceof xm&&n instanceof xm||e instanceof A2&&n instanceof A2||e instanceof rE&&n instanceof rE||e instanceof Y9&&n instanceof Y9||e instanceof X9&&n instanceof X9||e instanceof Z9&&n instanceof Z9||e instanceof K9&&n instanceof K9||e instanceof ej&&n instanceof ej||e instanceof nj&&n instanceof nj||e instanceof tj&&n instanceof tj||e instanceof aj&&n instanceof aj||e instanceof rj&&n instanceof rj||e instanceof x2&&n instanceof x2}}};var $ae=function(e){return dh(function(n){return function(){var a=e(function(r){return n(rn.create(r))()},function(r){return n(un.create(r))()});return function(r){return dh(function(o){return function(){return a(r,function(u){return o(rn.create(u))()},function(u){return o(un.create(u))()}),qY}})}}})};var oj=q(_f(da)),bOe=sh(da),Xh=df(da),Vae=Nt(Z6(F6)(da)),ROe=Ud(Nv(da)),L2=j(H),wOe=cf($e)(ta),SOe=me(ca),EOe=pt(Ae),COe=j(he),IOe=X(Vt),TOe=is(Pv),FOe=q(sa);var j2=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),N2=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}(),P2=function(){function e(){}return e.value=new e,e}(),O2=function(){function e(){}return e.value=new e,e}(),k2=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Qae=function(e){return function(n){var t=function(s){return s===""?oj(WV):Za(function(f){return bOe(iF.create(f))})(oj)(G2(s))},a=function(){if(n.responseFormat instanceof q9)return Xh("ArrayBuffer");if(n.responseFormat instanceof z9)return Xh("Blob");if(n.responseFormat instanceof $9)return function(s){return Vae(Xh("Document")(s))(Vae(Xh("XMLDocument")(s))(Xh("HTMLDocument")(s)))};if(n.responseFormat instanceof T2)return ROe(function(s){return n.responseFormat.value0(t(s))})(Xh("String"));if(n.responseFormat instanceof F2)return Xh("String");if(n.responseFormat instanceof M2)return an(n.responseFormat.value0(oj(Ie)));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 Iae)return new un(s.value0(ao));if(s instanceof Tae)return new un(ao(s.value0));if(s instanceof Fae)return new un(ao(s.value0));if(s instanceof Mae)return new un(ao(s.value0));if(s instanceof Gae)return new un(ao(s.value0));if(s instanceof J9)return CD("Body contains values that cannot be encoded as application/x-www-form-urlencoded")(L2(ao)(Wae(s.value0)));if(s instanceof E2)return new un(ao(hT(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&&!wOe(bu(SOe)(W9)(s.value0))(f)?KR(f)(s.value0):f}},i=function(s){return o(L2(I2.create)(EOe(Aae)(s)))(o(L2(C2.create)(Oae(n.responseFormat)))(n.headers))},u=function(s){return{method:qae(n.method),url:n.url,headers:COe(function(f){return{field:W9(f),value:jae(f)}})(i(n.content)),content:s,responseType:Pae(n.responseFormat),username:Ht(n.username),password:Ht(n.password),withCredentials:n.withCredentials,timeout:Se(0)(L2(function(f){return f})(n.timeout))}},l=function(s){return IOe(TOe($ae(Eae(e,"AffjaxTimeoutErrorMessageIdent","AffjaxRequestFailedMessageIdent",Hae.create,u(s)))))(function(f){if(f instanceof un){var v=PS(a(f.value0.body));if(v instanceof rn)return new rn(new N2(RQ(v.value0),f.value0));if(v instanceof un)return new un({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=e1(f.value0),_=m==="AffjaxTimeoutErrorMessageIdent";if(_)return P2.value;var R=m==="AffjaxRequestFailedMessageIdent";return R?O2.value:new k2(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(Ht(C.value));if(n.content instanceof d){var c=r(n.content.value0);if(c instanceof un)return l(Ht(new d(c.value0)));if(c instanceof rn)return FOe(new rn(new j2(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 U1=function(){return{method:new rn(D_.value),url:"/",headers:[],content:C.value,username:C.value,password:C.value,withCredentials:!1,responseFormat:Uae,timeout:C.value}}();var Yae={eq:function(e){return function(n){return e===n}}};var ij={newXHR:function(){return new XMLHttpRequest},fixupUrl:function(e){return e||"/"}};var Xae=Qae(ij);function Zae(e){return Buffer.from(e).toString("base64")}function Kae(e,n,t){let a;try{a=n(btoa(t))}catch(r){a=e(r)}return a}var uj=typeof btoa=="function";function ere(e){let n=32768,t=[];for(let a=0;a=0)&&(t[r]=e[r]);return t}function mi(e,n){if(e==null)return{};var t=eN(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 _o(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function rle(e,n){for(var t=0;t1&&arguments[1]!==void 0?arguments[1]:1;ule+=1;var t=ule;function a(r){if(r===0)lle(t),e();else{var o=ole(function(){a(r-1)});tN.set(t,o)}}return a(n),t}Ac.cancel=function(e){var n=tN.get(e);return lle(n),ile(n)};function lg(e,n){return e?e.contains(n):!1}function bE(e){return e instanceof HTMLElement?e:sc.findDOMNode(e)}var mle=Da(vle());Wt();function iN(e,n){typeof e=="function"?e(n):po(e)==="object"&&e&&"current"in e&&(e.current=n)}function XG(){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=Ac(function(){r<=1?a({isCanceled:function(){return o!==e.current}}):t(a,r-1)});e.current=o}return dr(function(){return function(){n()}},[]),[t,n]};Wt();var PBe=i0()?Lw:dr,a4=PBe;var Ele=[Is,Nm,L_,t4],pN=!1,Cle=!0;function r4(e){return e===L_||e===t4}var Ile=function(e,n){var t=Pm(mN),a=ka(t,2),r=a[0],o=a[1],i=Sle(),u=ka(i,2),l=u[0],c=u[1];function s(){o(Is,!0)}return a4(function(){if(r!==mN&&r!==t4){var f=Ele.indexOf(r),v=Ele[f+1],m=n(r);m===pN?o(v,!0):l(function(_){function R(){_.isCanceled()||o(v,!0)}m===!0?R():Promise.resolve(m).then(R)})}},[e,r]),dr(function(){return function(){c()}},[]),[s,r]};Wt();Wt();var Tle=function(e){var n=Ta(),t=Ta(e);t.current=e;var a=xw(function(i){t.current(i)},[]);function r(i){i&&(i.removeEventListener(fN,a),i.removeEventListener(sN,a))}function o(i){n.current&&n.current!==i&&r(n.current),i&&i!==n.current&&(i.addEventListener(fN,a),i.addEventListener(sN,a),n.current=i)}return dr(function(){return function(){r(n.current)}},[]),[o,r]};function _N(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,y=a.onEnterStart,D=a.onLeaveStart,S=a.onAppearActive,M=a.onEnterActive,P=a.onLeaveActive,k=a.onAppearEnd,N=a.onEnterEnd,Q=a.onLeaveEnd,de=a.onVisibleChanged,fe=Pm(),ge=ka(fe,2),re=ge[0],Ee=ge[1],pe=Pm(x_),ye=ka(pe,2),je=ye[0],oe=ye[1],Un=Pm(null),Ke=ka(Un,2),Pn=Ke[0],On=Ke[1],W=Ta(!1),A=Ta(null);function ee(){return t()}var se=Ta(!1);function De(En){var Xn=ee();if(!(En&&!En.deadline&&En.target!==Xn)){var dt=se.current,Fn;je===wE&&dt?Fn=k==null?void 0:k(Xn,En):je===SE&&dt?Fn=N==null?void 0:N(Xn,En):je===EE&&dt&&(Fn=Q==null?void 0:Q(Xn,En)),je!==x_&&dt&&Fn!==!1&&(oe(x_,!0),On(null,!0))}}var O=Tle(De),ve=ka(O,1),$=ve[0],Ge=jw(function(){var En,Xn,dt;switch(je){case wE:return En={},Ca(En,Is,v),Ca(En,Nm,R),Ca(En,L_,S),En;case SE:return Xn={},Ca(Xn,Is,m),Ca(Xn,Nm,y),Ca(Xn,L_,M),Xn;case EE:return dt={},Ca(dt,Is,_),Ca(dt,Nm,D),Ca(dt,L_,P),dt;default:return{}}},[je]),Fe=Ile(je,function(En){if(En===Is){var Xn=Ge[Is];return Xn?Xn(ee()):pN}if(xe in Ge){var dt;On(((dt=Ge[xe])===null||dt===void 0?void 0:dt.call(Ge,ee(),null))||null)}return xe===L_&&($(ee()),s>0&&(clearTimeout(A.current),A.current=setTimeout(function(){De({deadline:!0})},s))),Cle}),Ue=ka(Fe,2),qe=Ue[0],xe=Ue[1],In=r4(xe);se.current=In,a4(function(){Ee(n);var En=W.current;if(W.current=!0,!!e){var Xn;!En&&n&&u&&(Xn=wE),En&&n&&o&&(Xn=SE),(En&&!n&&c||!En&&f&&!n&&c)&&(Xn=EE),Xn&&(oe(Xn),qe())}},[n]),dr(function(){(je===wE&&!u||je===SE&&!o||je===EE&&!c)&&oe(x_)},[u,o,c]),dr(function(){return function(){W.current=!1,clearTimeout(A.current)}},[]);var cn=Ta(!1);dr(function(){re&&(cn.current=!0),re!==void 0&&je===x_&&((cn.current||re)&&(de==null||de(re)),cn.current=!0)},[re,je]);var Yn=Pn;return Ge[Is]&&xe===Nm&&(Yn=Bt({transition:"none"},Yn)),[je,xe,Yn,re!=null?re:n]}Wt();var OBe=function(e){go(t,e);var n=ug(t);function t(){return _o(this,t),n.apply(this,arguments)}return ho(t,[{key:"render",value:function(){return this.props.children}}]),t}(_h),Fle=OBe;function kBe(e){var n=e;po(e)==="object"&&(n=e.transitionSupport);function t(r){return!!(r.motionName&&n)}var a=cc(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),y=Ta(),D=Ta();function S(){try{return y.current instanceof HTMLElement?y.current:bE(D.current)}catch{return null}}var M=_N(R,u,S,r),P=ka(M,4),k=P[0],N=P[1],Q=P[2],de=P[3],fe=Ta(de);de&&(fe.current=!0);var ge=xw(function(Un){y.current=Un,iN(o,Un)},[o]),re,Ee=Bt(Bt({},_),{},{visible:u});if(!f)re=null;else if(k===x_||!t(r))de?re=f(Bt({},Ee),ge):!c&&fe.current?re=f(Bt(Bt({},Ee),{},{className:m}),ge):s?re=f(Bt(Bt({},Ee),{},{style:{display:"none"}}),ge):re=null;else{var pe,ye;N===Is?ye="prepare":r4(N)?ye="active":N===Nm&&(ye="start"),re=f(Bt(Bt({},Ee),{},{className:(0,Mle.default)(vN(v,k),(pe={},Ca(pe,vN(v,"".concat(k,"-").concat(ye)),ye),Ca(pe,v,typeof v=="string"),pe)),style:Q}),ge)}if(a8(re)&&ZG(re)){var je=re,oe=je.ref;oe||(re=Aw(re,{ref:ge}))}return La(Fle,{ref:D},re)});return a.displayName="CSSMotion",a}var o4=kBe(n4);Wt();var i4="add",u4="keep",l4="remove",c4="removed";function UBe(e){var n;return e&&po(e)==="object"&&"key"in e?n=e:n={key:e},Bt(Bt({},n),{},{key:String(n.key)})}function s4(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(UBe)}function Gle(){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=s4(e),i=s4(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!==l4}),t.forEach(function(s){s.key===c&&(s.status=u4)})}),t}var HBe=["component","children","onVisibleChanged","onAllRemoved"],BBe=["status"],JBe=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function WBe(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:o4,t=function(a){go(o,a);var r=ug(o);function o(){var i;_o(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 pJe(e,n,t,a){var r=ra.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)),ra.mix(r,o)}function IN(e){var n,t,a;if(!ra.isWindow(e)&&e.nodeType!==9)n=ra.offset(e),t=ra.outerWidth(e),a=ra.outerHeight(e);else{var r=ra.getWindow(e);n={left:ra.getWindowScrollLeft(r),top:ra.getWindowScrollTop(r)},t=ra.viewportWidth(r),a=ra.viewportHeight(r)}return n.width=t,n.height=a,n}function Yle(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 d4(e,n,t,a,r){var o=Yle(n,t[1]),i=Yle(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 Xle(e,n,t){return e.leftt.right}function Zle(e,n,t){return e.topt.bottom}function _Je(e,n,t){return e.left>t.right||e.left+n.widtht.bottom||e.top+n.height=t.right||a.top>=t.bottom}function D4(e,n,t){var a=t.target||n,r=IN(a),o=!hJe(a,t.overflow&&t.overflow.alwaysByViewport);return nce(e,r,t,o)}D4.__getOffsetParent=EN;D4.__getVisibleRectForElement=CN;function tce(e,n,t){var a,r,o=ra.getDocument(e),i=o.defaultView||o.parentWindow,u=ra.getWindowScrollLeft(i),l=ra.getWindowScrollTop(i),c=ra.viewportWidth(i),s=ra.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 nce(e,f,jle(jle({},t),{},{points:m}),v)}var Uve=Da(Fve());var Mve=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(){!$N||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),WVe?(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(){!$N||!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=JVe.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}(),Gve=function(e,n){for(var t=0,a=Object.keys(n);t0},e}(),Lve=typeof WeakMap!="undefined"?new WeakMap:new Mve,jve=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=qVe.getInstance(),a=new nQe(n,t,this);Lve.set(this,a)}return e}();["observe","unobserve","disconnect"].forEach(function(e){jve.prototype[e]=function(){var n;return(n=Lve.get(this))[e].apply(n,arguments)}});var tQe=function(){return typeof E4.ResizeObserver!="undefined"?E4.ResizeObserver:jve}(),Nve=tQe;function Pve(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 Ove(e,n){e!==document.activeElement&&lg(n,e)&&typeof e.focus=="function"&&e.focus()}function VN(e,n){var t=null,a=null;function r(i){var u=ka(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 Nve(r);return e&&o.observe(e),function(){o.disconnect()}}Wt();var kve=function(e,n){var t=yt.useRef(!1),a=yt.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 Hve(e){return typeof e!="function"?null:e()}function Bve(e){return po(e)!=="object"||!e?null:e}var aQe=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=yt.useRef({}),v=yt.useRef(),m=yt.Children.only(a),_=yt.useRef({});_.current.disabled=r,_.current.target=o,_.current.align=i,_.current.onAlign=u;var R=kve(function(){var N=_.current,Q=N.disabled,de=N.target,fe=N.align,ge=N.onAlign;if(!Q&&de){var re=v.current,Ee,pe=Hve(de),ye=Bve(de);f.current.element=pe,f.current.point=ye,f.current.align=fe;var je=document,oe=je.activeElement;return pe&&xle(pe)?Ee=D4(re,pe,fe):ye&&(Ee=tce(re,ye,fe)),Ove(oe,re),ge&&Ee&&ge(re,Ee),!0}return!1},s),y=ka(R,2),D=y[0],S=y[1],M=yt.useRef({cancel:function(){}}),P=yt.useRef({cancel:function(){}});yt.useEffect(function(){var N=Hve(o),Q=Bve(o);v.current!==P.current.element&&(P.current.cancel(),P.current.element=v.current,P.current.cancel=VN(v.current,D)),(f.current.element!==N||!Pve(f.current.point,Q)||!(0,Uve.default)(f.current.align,i))&&(D(),M.current.element!==N&&(M.current.cancel(),M.current.element=N,M.current.cancel=VN(N,D)))}),yt.useEffect(function(){r?S():D()},[r]);var k=yt.useRef(null);return yt.useEffect(function(){l?k.current||(k.current=G_(window,"resize",D)):k.current&&(k.current.remove(),k.current=null)},[l]),yt.useEffect(function(){return function(){M.current.cancel(),P.current.cancel(),k.current&&k.current.remove(),S()}},[]),yt.useImperativeHandle(t,function(){return{forceAlign:function(){return D(!0)}}}),yt.isValidElement(m)&&(m=yt.cloneElement(m,{ref:XG(m.ref,v)})),m},Jve=yt.forwardRef(aQe);Jve.displayName="Align";var Wve=Jve;var qve=Wve;Wt();var rQe=i0()?Lw:dr,QN=rQe;var Yve=Da(A_());function UE(){"use strict";UE=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(ge,re,Ee){return Object.defineProperty(ge,re,{value:Ee,enumerable:!0,configurable:!0,writable:!0}),ge[re]}try{u({},"")}catch{u=function(Ee,pe,ye){return Ee[pe]=ye}}function l(ge,re,Ee,pe){var ye=re&&re.prototype instanceof f?re:f,je=Object.create(ye.prototype),oe=new Q(pe||[]);return je._invoke=function(Un,Ke,Pn){var On="suspendedStart";return function(W,A){if(On==="executing")throw new Error("Generator is already running");if(On==="completed"){if(W==="throw")throw A;return fe()}for(Pn.method=W,Pn.arg=A;;){var ee=Pn.delegate;if(ee){var se=P(ee,Pn);if(se){if(se===s)continue;return se}}if(Pn.method==="next")Pn.sent=Pn._sent=Pn.arg;else if(Pn.method==="throw"){if(On==="suspendedStart")throw On="completed",Pn.arg;Pn.dispatchException(Pn.arg)}else Pn.method==="return"&&Pn.abrupt("return",Pn.arg);On="executing";var De=c(Un,Ke,Pn);if(De.type==="normal"){if(On=Pn.done?"completed":"suspendedYield",De.arg===s)continue;return{value:De.arg,done:Pn.done}}De.type==="throw"&&(On="completed",Pn.method="throw",Pn.arg=De.arg)}}}(ge,Ee,oe),je}function c(ge,re,Ee){try{return{type:"normal",arg:ge.call(re,Ee)}}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,y=R&&R(R(de([])));y&&y!==n&&t.call(y,r)&&(_=y);var D=m.prototype=f.prototype=Object.create(_);function S(ge){["next","throw","return"].forEach(function(re){u(ge,re,function(Ee){return this._invoke(re,Ee)})})}function M(ge,re){function Ee(ye,je,oe,Un){var Ke=c(ge[ye],ge,je);if(Ke.type!=="throw"){var Pn=Ke.arg,On=Pn.value;return On&&po(On)=="object"&&t.call(On,"__await")?re.resolve(On.__await).then(function(W){Ee("next",W,oe,Un)},function(W){Ee("throw",W,oe,Un)}):re.resolve(On).then(function(W){Pn.value=W,oe(Pn)},function(W){return Ee("throw",W,oe,Un)})}Un(Ke.arg)}var pe;this._invoke=function(ye,je){function oe(){return new re(function(Un,Ke){Ee(ye,je,Un,Ke)})}return pe=pe?pe.then(oe,oe):oe()}}function P(ge,re){var Ee=ge.iterator[re.method];if(Ee===void 0){if(re.delegate=null,re.method==="throw"){if(ge.iterator.return&&(re.method="return",re.arg=void 0,P(ge,re),re.method==="throw"))return s;re.method="throw",re.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var pe=c(Ee,ge.iterator,re.arg);if(pe.type==="throw")return re.method="throw",re.arg=pe.arg,re.delegate=null,s;var ye=pe.arg;return ye?ye.done?(re[ge.resultName]=ye.value,re.next=ge.nextLoc,re.method!=="return"&&(re.method="next",re.arg=void 0),re.delegate=null,s):ye:(re.method="throw",re.arg=new TypeError("iterator result is not an object"),re.delegate=null,s)}function k(ge){var re={tryLoc:ge[0]};1 in ge&&(re.catchLoc=ge[1]),2 in ge&&(re.finallyLoc=ge[2],re.afterLoc=ge[3]),this.tryEntries.push(re)}function N(ge){var re=ge.completion||{};re.type="normal",delete re.arg,ge.completion=re}function Q(ge){this.tryEntries=[{tryLoc:"root"}],ge.forEach(k,this),this.reset(!0)}function de(ge){if(ge){var re=ge[r];if(re)return re.call(ge);if(typeof ge.next=="function")return ge;if(!isNaN(ge.length)){var Ee=-1,pe=function ye(){for(;++Ee=0;--ye){var je=this.tryEntries[ye],oe=je.completion;if(je.tryLoc==="root")return pe("end");if(je.tryLoc<=this.prev){var Un=t.call(je,"catchLoc"),Ke=t.call(je,"finallyLoc");if(Un&&Ke){if(this.prev=0;--pe){var ye=this.tryEntries[pe];if(ye.tryLoc<=this.prev&&t.call(ye,"finallyLoc")&&this.prev=0;--Ee){var pe=this.tryEntries[Ee];if(pe.finallyLoc===re)return this.complete(pe.completion,pe.afterLoc),N(pe),s}},catch:function(re){for(var Ee=this.tryEntries.length-1;Ee>=0;--Ee){var pe=this.tryEntries[Ee];if(pe.tryLoc===re){var ye=pe.completion;if(ye.type==="throw"){var je=ye.arg;N(pe)}return je}}throw new Error("illegal catch attempt")},delegateYield:function(re,Ee,pe){return this.delegate={iterator:de(re),resultName:Ee,nextLoc:pe},this.method==="next"&&(this.arg=void 0),s}},e}function zve(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 YN(e){return function(){var n=this,t=arguments;return new Promise(function(a,r){var o=e.apply(n,t);function i(l){zve(o,a,r,i,u,"next",l)}function u(l){zve(o,a,r,i,u,"throw",l)}i(void 0)})}}Wt();var $ve=["measure","alignPre","align",null,"motion"],Vve=function(e,n){var t=Pm(null),a=ka(t,2),r=a[0],o=a[1],i=Ta();function u(s){o(s,!0)}function l(){Ac.cancel(i.current)}function c(s){l(),i.current=Ac(function(){u(function(f){switch(r){case"align":return"motion";case"motion":return"stable";default:}return f}),s==null||s()})}return dr(function(){u("measure")},[e]),dr(function(){switch(r){case"measure":n();break;default:}r&&(i.current=Ac(YN(UE().mark(function s(){var f,v;return UE().wrap(function(_){for(;;)switch(_.prev=_.next){case 0:f=$ve.indexOf(r),v=$ve[f+1],v&&f!==-1&&u(v);case 3:case"end":return _.stop()}},s)}))))},[r]),dr(function(){return function(){l()}},[]),[r,c]};Wt();var Qve=function(e){var n=hf({width:0,height:0}),t=ka(n,2),a=t[0],r=t[1];function o(u){r({width:u.offsetWidth,height:u.offsetHeight})}var i=jw(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 Xve=cc(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,y=e.onMouseEnter,D=e.onMouseLeave,S=e.onMouseDown,M=e.onTouchStart,P=e.onClick,k=Ta(),N=Ta(),Q=hf(),de=ka(Q,2),fe=de[0],ge=de[1],re=Qve(l),Ee=ka(re,2),pe=Ee[0],ye=Ee[1];function je(){l&&ye(m())}var oe=Vve(t,je),Un=ka(oe,2),Ke=Un[0],Pn=Un[1],On=hf(0),W=ka(On,2),A=W[0],ee=W[1],se=Ta();QN(function(){Ke==="alignPre"&&ee(0)},[Ke]);function De(){return v||m}function O(){var xe;(xe=k.current)===null||xe===void 0||xe.forceAlign()}function ve(xe,In){var cn=_(In);fe!==cn&&ge(cn),ee(function(Yn){return Yn+1}),Ke==="align"&&(R==null||R(xe,In))}QN(function(){Ke==="align"&&(A<2?O():Pn(function(){var xe;(xe=se.current)===null||xe===void 0||xe.call(se)}))},[A]);var $=Bt({},f4(e));["onAppearEnd","onEnterEnd","onLeaveEnd"].forEach(function(xe){var In=$[xe];$[xe]=function(cn,Yn){return Pn(),In==null?void 0:In(cn,Yn)}});function Ge(){return new Promise(function(xe){se.current=xe})}dr(function(){!$.motionName&&Ke==="motion"&&Pn()},[$.motionName,Ke]),Z0(n,function(){return{forceAlign:O,getElement:function(){return N.current}}});var Fe=Bt(Bt({},pe),{},{zIndex:u,opacity:Ke==="motion"||Ke==="stable"||!t?void 0:0,pointerEvents:!t&&Ke!=="stable"?"none":void 0},o),Ue=!0;(f==null?void 0:f.points)&&(Ke==="align"||Ke==="stable")&&(Ue=!1);var qe=i;return ph.count(i)>1&&(qe=La("div",{className:"".concat(a,"-content")},i)),La(Ty,ot({visible:t,ref:N,leavedClassName:"".concat(a,"-hidden")},$,{onAppearPrepare:Ge,onEnterPrepare:Ge,removeOnLeave:c,forceRender:s}),function(xe,In){var cn=xe.className,Yn=xe.style,En=(0,Yve.default)(a,r,fe,cn);return La(qve,{target:De(),key:"popup",ref:k,monitorWindowResize:!0,disabled:Ue,align:f,onAlign:ve},La("div",{ref:In,className:En,onMouseEnter:y,onMouseLeave:D,onMouseDownCapture:S,onTouchStartCapture:M,onClick:P,style:Bt(Bt({},Yn),Fe)},qe))})});Xve.displayName="PopupInner";var Zve=Xve;Wt();var Kve=Da(A_()),e0e=cc(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=Ta();Z0(n,function(){return{forceAlign:function(){},getElement:function(){return m.current}}});var _=Bt({zIndex:r},l),R=o;return ph.count(o)>1&&(R=La("div",{className:"".concat(t,"-content")},o)),f&&(R=f(R)),La(Ty,ot({visible:a,ref:m,removeOnLeave:!0},s),function(y,D){var S=y.className,M=y.style,P=(0,Kve.default)(t,u,S);return La("div",{ref:D,className:P,onClick:v,style:Bt(Bt({},M),_)},R)})});e0e.displayName="MobilePopupInner";var n0e=e0e;var oQe=["visible","mobile"],t0e=cc(function(e,n){var t=e.visible,a=e.mobile,r=mi(e,oQe),o=hf(t),i=ka(o,2),u=i[0],l=i[1],c=hf(!1),s=ka(c,2),f=s[0],v=s[1],m=Bt(Bt({},r),{},{visible:u});dr(function(){l(t),t&&a&&v(hle())},[t,a]);var _=f?La(n0e,ot({},m,{mobile:a,ref:n})):La(Zve,ot({},m,{ref:n}));return La("div",null,La(dN,m),_)});t0e.displayName="Popup";var a0e=t0e;Wt();var iQe=n8(null),XN=iQe;function ZN(){}function uQe(){return""}function lQe(e){return e?e.ownerDocument:window.document}var cQe=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];function sQe(e){var n=function(t){go(r,t);var a=ug(r);function r(o){var i;_o(this,r),i=a.call(this,o),i.popupRef=cF(),i.triggerRef=cF(),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&&lg((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();(!lg(s,c)||i.isContextMenuOnly())&&!lg(f,c)&&!i.hasPopupMouseDown&&i.close()}},i.getRootDomNode=function(){var l=i.props.getTriggerDOMNode;if(l)return l(i.triggerRef.current);try{var c=bE(i.triggerRef.current);if(c)return c}catch{}return sc.findDOMNode(M_(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(dle(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,y=l.popupStyle,D=l.mask,S=l.maskAnimation,M=l.maskTransitionName,P=l.maskMotion,k=l.zIndex,N=l.popup,Q=l.stretch,de=l.alignPoint,fe=l.mobile,ge=l.forceRender,re=l.onPopupClick,Ee=i.state,pe=Ee.popupVisible,ye=Ee.point,je=i.getPopupAlign(),oe={};return i.isMouseEnterToShow()&&(oe.onMouseEnter=i.onPopupMouseEnter),i.isMouseLeaveToHide()&&(oe.onMouseLeave=i.onPopupMouseLeave),oe.onMouseDown=i.onPopupMouseDown,oe.onTouchStart=i.onPopupMouseDown,La(a0e,ot({prefixCls:c,destroyPopupOnHide:s,visible:pe,point:de&&ye,className:f,align:je,onAlign:v,animation:_,getClassNameFromAlign:i.getPopupClassNameFromAlign},oe,{stretch:Q,getRootDomNode:i.getRootDomNode,style:y,mask:D,zIndex:k,transitionName:R,maskAnimation:S,maskTransitionName:M,maskMotion:P,ref:i.popupRef,motion:m,mobile:fe,forceRender:ge,onClick:re}),typeof N=="function"?N():N)},i.attachParent=function(l){Ac.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=Ac(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},cQe.forEach(function(l){i["fire".concat(l)]=function(c){i.fireEvents(l,c)}}),i}return ho(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=G_(l,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(l=l||i.getDocument(this.getRootDomNode()),this.touchOutsideHandler=G_(l,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(l=l||i.getDocument(this.getRootDomNode()),this.contextMenuOutsideHandler1=G_(l,"scroll",this.onContextMenuClose)),!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=G_(window,"blur",this.onContextMenuClose));return}this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),Ac.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?_le(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=ph.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,r0e.default)(m&&m.props&&m.props.className,f);R&&(_.className=R);var y=Bt({},_);ZG(m)&&(y.ref=XG(this.triggerRef,m.ref));var D=Aw(m,y),S;return(i||this.popupRef.current||c)&&(S=La(e,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!i&&v&&(S=null),La(XN.Provider,{value:this.triggerContextValue},D,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}(_h);return n.contextType=XN,n.defaultProps={prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:uQe,getDocument:lQe,onPopupVisibleChange:ZN,afterPopupVisibleChange:ZN,onPopupAlign:ZN,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 o0e=sQe(ple);var Ts={adjustX:1,adjustY:1},Fs=[0,0],i0e={left:{points:["cr","cl"],overflow:Ts,offset:[-4,0],targetOffset:Fs},right:{points:["cl","cr"],overflow:Ts,offset:[4,0],targetOffset:Fs},top:{points:["bc","tc"],overflow:Ts,offset:[0,-4],targetOffset:Fs},bottom:{points:["tc","bc"],overflow:Ts,offset:[0,4],targetOffset:Fs},topLeft:{points:["bl","tl"],overflow:Ts,offset:[0,-4],targetOffset:Fs},leftTop:{points:["tr","tl"],overflow:Ts,offset:[-4,0],targetOffset:Fs},topRight:{points:["br","tr"],overflow:Ts,offset:[0,-4],targetOffset:Fs},rightTop:{points:["tl","tr"],overflow:Ts,offset:[4,0],targetOffset:Fs},bottomRight:{points:["tr","br"],overflow:Ts,offset:[0,4],targetOffset:Fs},rightBottom:{points:["bl","br"],overflow:Ts,offset:[4,0],targetOffset:Fs},bottomLeft:{points:["tl","bl"],overflow:Ts,offset:[0,4],targetOffset:Fs},leftBottom:{points:["br","bl"],overflow:Ts,offset:[-4,0],targetOffset:Fs}};Wt();var u0e=Da(A_());function T4(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 La("div",{className:(0,u0e.default)("".concat(r,"-content"),u),style:l},n!==!1&&La("div",{className:"".concat(r,"-arrow"),key:"arrow"},t),La("div",{className:"".concat(r,"-inner"),id:o,role:"tooltip",style:i},typeof a=="function"?a():a))}var fQe=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,y=n.transitionName,D=n.animation,S=n.motion,M=n.placement,P=M===void 0?"right":M,k=n.align,N=k===void 0?{}:k,Q=n.destroyTooltipOnHide,de=Q===void 0?!1:Q,fe=n.defaultVisible,ge=n.getTooltipContainer,re=n.overlayInnerStyle,Ee=n.arrowContent,pe=n.overlay,ye=n.id,je=n.showArrow,oe=mi(n,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"]),Un=Ta(null);Z0(t,function(){return Un.current});var Ke=Bt({},oe);"visible"in n&&(Ke.popupVisible=n.visible);var Pn=function(){return La(T4,{showArrow:je,arrowContent:Ee,key:"content",prefixCls:v,id:ye,overlayInnerStyle:re},pe)},On=!1,W=!1;if(typeof de=="boolean")On=de;else if(de&&po(de)==="object"){var A=de.keepParent;On=A===!0,W=A===!1}return La(o0e,ot({popupClassName:a,prefixCls:v,popup:Pn,action:o,builtinPlacements:i0e,popupPlacement:P,ref:Un,popupAlign:N,getPopupContainer:ge,onPopupVisibleChange:_,afterPopupVisibleChange:R,popupTransitionName:y,popupAnimation:D,popupMotion:S,defaultPopupVisible:fe,destroyPopupOnHide:On,autoDestroy:W,mouseLeaveDelay:c,popupStyle:s,mouseEnterDelay:u},Ke),m)},l0e=cc(fQe);var c0e=l0e;var f0e=e=>yt.createElement(c0e,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(()=>Da(s0e())).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 v0e=class extends yt.Component{componentDidUpdate(n){this.props.componentDidUpdate(n.deps)}render(){return this.props.children}},m0e=v0e;var mQe=qa();var p0e=function(e){return"ref:"+Cr(e)(Gt.value)},_0e=function(e){var n=p0e(e);return function(t){return mQe(tc(n)(t))}},d0e=function(e){var n=p0e(e);return function(t){return uw(n)(t)}};var pQe=Df(),h0e=zn(Nn)(Xt),g0e=q(ht),_Qe=w1(Wee(r1)),D0e={reflectSymbol:function(){return"deps"}},dQe=_0e(D0e),hQe=d0e(D0e),y0e=Ve(Xe);var gQe=function(e){var n=pQe(e);return function(){return function(){return n(m0e)}}},DQe=gQe(ae)()(),b0e=function(e){var n=ef(e);return function(t){return function(a){return function(r){return function(o){return TF(t)(function(i){return a({init:h0e(wr(o(r)))(function(){return g0e(r)}),update:function(u){return function(l){return h0e(wr(o(l)))(function(){return g0e(l)})}},view:function(u){return function(l){return DQe({componentDidUpdate:_Qe(l)(function(c){var s=n(dQe(c))(r);return s?new d(r):C.value}),deps:hQe(r)})(i(Ie))}}})})}}}}},yQe=b0e(xR),HE=function(e){var n=b0e(e);return function(t){return function(a){return n("UseEffectPrime")(y0e)(t)(a)}}},KN=function(e){return yQe("UseEffect")(y0e)(Ie)(an(e))};function R0e(e){return function(n){return function(){return n.getItem(e)}}}function Oy(e){return function(n){return function(t){return function(){t.setItem(e,n)}}}}var bQe=j(ft);var F4=function(e){var n=bQe(K),t=R0e(e);return function(a){return n(t(a))}};var RQe=li(),wQe=Op(Nn)(),SQe=it(Dt),ky=pt(Ka),EQe=function(e){return function(n){return function(t){return RQe(ua(C.value))(function(a){return wQe(KN(SQe(function(){var o=ky(F4(n))(ky(e)(fi))();if(o instanceof d)return a.value1(new d(o.value0))();if(o instanceof C)return a.value1(new d(t))(),ky(Oy(n)(t))(ky(e)(fi))();throw new Error("Failed pattern match at Utils.UseStorage (line 43, column 5 - line 48, column 56): "+[o.constructor.name])})))(function(){return ui(new Oe(a.value0,function(r){return function(){return a.value1(new d(r))(),ky(Oy(n)(r))(ky(e)(fi))()}}))})})}}};var M4=EQe(E1);var CQe=Df();var w0e="hover",j_="click";var Ms="top",pi=function(e){var n=CQe(e);return function(){return function(){return n(f0e)}}};var S0e="right";var E0e="bottomRight";var BE="bottom";var C0e=e=>()=>e.preventDefault&&e.preventDefault(),I0e=e=>()=>e.stopPropagation&&e.stopPropagation();var eP=function(){return I0e},Yf=function(){return C0e};var IQe=$n();var nP=Z(Ae),tP=St(IQe(E({reflectSymbol:function(){return"value"}})(ie)(_e))),aP=q(kn);var Xf=function(e){return Se("")(nP(tP(ao(e.target)))(function(n){return aP(n.value)}))},T0e=function(e){return Se("")(nP(tP(ao(e.target)))(function(n){return aP(n.value)}))},Gs=function(e){return Se("")(nP(tP(ao(e.target)))(function(n){return aP(n.value)}))};var F0e="/network/connections";var M0e=15;var TQe=pi(ae)()(),FQe=nn(J),MQe=function(){return"You\u2019ve hit the "+(te(ze)(M0e)+`-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. `)}(),GQe=Ma(ae)("text-decoration-underline")(aa(x)()()("text-dark")({href:F0e})("Manage my connections")),JE=function(e){return function(n){return TQe({placement:e,trigger:j_,overlay:FQe("")([Y(MQe),GQe]),overlayStyle:Sn({width:"15rem"}),overlayClassName:"t--connection-limit-tooltip"})(n)}};var AQe=Rp(st),G0e=te(ze),xQe=Rr(st),LQe=nn(x);var A0e=25,rP=function(e){return zr(e)>=A0e},x0e=function(e){var n=zr(e),t=n>0,a=AQe(" ")([function(){return t?G0e(n)+" characters":""}(),xQe(["(",G0e(A0e),function(){return t?"":" character"}()," minimum)"])]),r=function(){var o=rP(e);return o?"text-success":""}();return LQe(r)(a)};var jQe=function(){function e(){}return e.value=new e,e}(),oP=function(){function e(){}return e.value=new e,e}(),NQe=function(){function e(){}return e.value=new e,e}(),PQe=function(){function e(){}return e.value=new e,e}(),OQe=function(){function e(){}return e.value=new e,e}(),G4=function(){function e(){}return e.value=new e,e}(),WE=function(){function e(){}return e.value=new e,e}(),iP=function(){function e(){}return e.value=new e,e}(),uP=function(){function e(){}return e.value=new e,e}();var L0e=function(e){if(e instanceof jQe)return"sheet-view";if(e instanceof oP)return"school-details";if(e instanceof NQe)return"network-gallery";if(e instanceof PQe)return"livestream-details";if(e instanceof OQe)return"card-view";throw new Error("Failed pattern match at Sem.Types.User (line 105, column 25 - line 110, column 26): "+[e.constructor.name])};var UQe=Number.MAX_SAFE_INTEGER;var cP=function(e){if(e.first==="")return e.last;if(e.last==="")return e.first;if(Le)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 nYe=me($re);var N0e=function(e){return nYe(e.publishScope)(t0.value)};var iYe=Mr(Go),k0e=Xr(iYe),U0e=Z(Ot);var H0e=k0e("profile_visibility_path")(function(e){return function(n){return U0e(e({visibility:{publish_scope:W2(n)}}))(Tu)}});var B0e=k0e("profile_name_path")(function(e){return function(n){return U0e(e({name:n}))(Tu)}});var Kn=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Yt=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}();var uYe=Am(),lYe=At(x),cYe=ut(x),sP=nt(x),fP=co(x),N_=B(J),Uy=Mn(x)()(),vP=Qt(er),sYe=zn(Nn),mP=An(mt),vg=B(ae),J0e=Es()(),fYe=Nf(x),vYe=Rr(st),W0e=xi()(),pP=An(uo),mYe=jf()(),q0e=B(x),pYe=Ds(J),_P=Ic(x),_Ye=nn(x),dYe=pi(ae)()(),hYe=nt(J),gYe=aa(x)()(),DYe=ia(x),mg=q(ht),z0e=sYe(Xt),yYe=aE(),qE=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),$0e=function(){function e(){}return e.value=new e,e}(),V0e=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Q0e=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Y0e=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),X0e=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),zE=function(){function e(){}return e.value=new e,e}(),dP=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Z0e=function(e){return function(n){var t=function(c){return uYe({body:c,title:lYe("my-0")(function(){return e.stage instanceof G4?"Join the CollegeVine network":"Connect with "+e.schoolName}()),headerClass:"pb-0",onDismiss:n(new Yt(zE.value)),size:nE.value})},a=L0e(e.context),r=ue([cYe("mt-3")("Review your message before you send it"),sP("mt-2")(` Because this is your first message to the counselor, we want to make sure you\u2019re ready to send. `),fP("mt-4")("Your message"),mS(e.message),N_("d-flex mt-4 justify-content-start")([Uy("btn btn-primary btn-lg t--sem-user-connection-modal-confirm-message-"+a)({onClick:vP(function(){return n(new Yt(new dP({introMessage:e.message})))(),n(new Kn(new qE(uP.value)))()})})("Send"),Uy("btn btn-lg btn-outline-primary ml-3 text-nowrap")({onClick:mP(n)(new Kn(new qE(WE.value)))})("No, I need to edit something")])]),o=ue([N_("text-center")([vg("")(J0e("mt-4")({src:"/img/checkmate-icon.png",height:"80",width:"80"})),fYe("mt-4")("Connection request sent!"),sP("mx-md-4")(vYe(["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."])),Uy("btn btn-lg btn-outline-secondary mt-4")({onClick:mP(n)(new Yt(zE.value))})("Close")])]),i=Uy("btn btn-outline-secondary ml-3 t--sem-user-connection-modal-close-"+a)({onClick:mP(n)(new Yt(zE.value))})("Cancel"),u=function(){var c=rP(e.message)&&function(){if(e.profile.fullName instanceof d)return!0;if(e.profile.fullName instanceof C)return!qo(e.firstName)&&!qo(e.lastName);throw new Error("Failed pattern match at Network.SemVine.InviteSchoolModal (line 240, column 15 - line 244, 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 233, column 13 - line 236, column 31): "+[e.vineBelowConnectionLimit.constructor.name])}();return ue([Cn(ur(e.profile.fullName))(ue([fP("mt-md-4")("Your preferred name"),N_("form-row mx-1")([W0e("col form-control mr-2 t--sem-user-connection-modal-first-name-"+a)({type:"text",value:e.firstName,onChange:pP(n)(function(f){return Kn.create(Y0e.create(Gs(f)))}),placeholder:"First name"}),W0e("col form-control ml-2 t--sem-user-connection-modal-last-name-"+a)({type:"text",value:e.lastName,onChange:pP(n)(function(f){return Kn.create(X0e.create(Gs(f)))}),placeholder:"Last name"})])])),fP("mt-md-4")("Your message"),mYe("form-control t--sem-user-connection-modal-text-area-"+a)({rows:7,value:e.message,onChange:pP(n)(function(f){return Kn.create(Q0e.create(Xf(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! `}),vg("mt-2")(x0e(e.message)),q0e("mt-3 mt-md-4 small")("The ideal connection message should include:"),pYe("small")([_P("")("Your name, where you\u2019re from, and a bit about who you are"),_P("")("What you\u2019re interested in studying along with one or two insightful questions"),_P("")("That you\u2019re eager to connect with an admissions counselor and would love to stay in touch")]),N_("d-flex mt-4 justify-content-start")([JE(Ms)(vg("")(Uy("btn btn-primary btn-lg t--sem-user-connection-modal-connect-"+a)({onClick:vP(function(){return function(){if(e.profile.fullName instanceof d)return Ie;if(e.profile.fullName instanceof C)return n(new Kn(new V0e({first:e.firstName,last:e.lastName})))();throw new Error("Failed pattern match at Network.SemVine.InviteSchoolModal (line 216, column 23 - line 220, column 113): "+[e.profile.fullName.constructor.name])}(),n(new Kn(new qE(iP.value)))()}),disabled:!c||s,style:Sn({pointerEvents:function(){return s?"none":"auto"}()})})("Connect"))),i])])}(),l=N_("mx-md-7")([vg("border border-success rounded p-4 my-4")(N_("row align-items-center")([vg("col-12 col-md-auto text-center text-md-left")(J0e("img-fluid")({src:"/img/network/publish-profile-icon.png",height:"67",width:"143"})),vg("col text-center text-md-left")(_Ye("fw-bold font-weight-bold text-gray-800")("Network with verified admissions counselors on CollegeVine"))])),N_("d-flex flex-nowrap align-items-center")([q0e("mr-4")("Publish your profile to join the CollegeVine Network"),dYe({placement:S0e,overlay:hYe("")([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 `),gYe("")({href:jm})("your profile"),Y(".")]),overlayStyle:Sn({width:"15rem"})})(DYe("cursor-default text-secondary fe fe-info large")(""))]),sP("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."),N_("d-flex mt-4 justify-content-start justify-content-md-center")([Uy("btn btn-primary t--sem-user-connection-modal-publish-profile-"+a)({onClick:vP(function(){return n(new Kn($0e.value))(),n(new Kn(new qE(WE.value)))()})})("Publish profile"),i])]);return vg("t--network-sem-user-modal")(function(){if(e.stage instanceof G4)return t(l);if(e.stage instanceof WE)return t(u);if(e.stage instanceof iP)return t(r);if(e.stage instanceof uP)return t(o);throw new Error("Failed pattern match at Network.SemVine.InviteSchoolModal (line 98, column 5 - line 102, column 38): "+[e.stage.constructor.name])}())}},K0e=function(e){return function(n){if(n instanceof Kn){if(n.value0 instanceof qE)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 $0e)return z0e(wr(H0e(t0.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:t0.value}})});if(n.value0 instanceof V0e)return z0e(wr(B0e(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(cP(n.value0.value0))}})});if(n.value0 instanceof Q0e)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 Y0e)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 X0e)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 81, column 31 - line 91, column 61): "+[n.value0.constructor.name])}if(n instanceof Yt)return mg(e);throw new Error("Failed pattern match at Network.SemVine.InviteSchoolModal (line 80, column 1 - line 80, column 55): "+[e.constructor.name,n.constructor.name])}},bYe=function(e){var n=N0e(e);return n?WE.value:G4.value},eme=function(e){return{firstName:"",lastName:"",message:"",profile:yYe(e.profile),stage:bYe(e.profile),schoolName:e.schoolName,context:e.context,vineBelowConnectionLimit:e.vineBelowConnectionLimit}};var hP="support@collegevine.com";var A4="https://www.collegevine.com/admissions-calculator";var gP=function(){return li()(ua(C.value))(function(e){return ui(new Oe(e.value0,Jw(e.value0)(e.value1)))})}();var nme=Dn(gn),tme=_n(pn),ame=Rn(bn),ar=function(){function e(){}return e.value=new e,e}(),Va=function(){function e(){}return e.value=new e,e}(),RYe={to:function(e){if(e instanceof U)return ar.value;if(e instanceof p)return Va.value;throw new Error("Failed pattern match at Utils.Expandable (line 32, column 1 - line 32, column 32): "+[e.constructor.name])},from:function(e){if(e instanceof ar)return new U(ce.value);if(e instanceof Va)return new p(ce.value);throw new Error("Failed pattern match at Utils.Expandable (line 32, column 1 - line 32, column 32): "+[e.constructor.name])}},P_={eq:function(e){return function(n){return e instanceof ar&&n instanceof ar||e instanceof Va&&n instanceof Va}}};var c0=function(e){if(e instanceof ar)return Va.value;if(e instanceof Va)return ar.value;throw new Error("Failed pattern match at Utils.Expandable (line 36, column 10 - line 38, column 24): "+[e.constructor.name])};var DP=function(e){if(e instanceof ar)return"Expanded";if(e instanceof Va)return"Collapsed";throw new Error("Failed pattern match at Utils.Expandable (line 41, column 10 - line 43, column 27): "+[e.constructor.name])},rme=Gn(DP)(wn(RYe)(hn(nme)(mn(vn))(nme)(tme))(yn(ame)(ame))(dn(tme)));function ome(e){return function(n){return function(){return e.item(n)}}}var wYe=j(ft),ime=function(e){var n=wYe(K),t=ome(e);return function(a){return n(t(a))}};var SYe=X(ft),EYe=Qe(ma),yP=q($t),CYe=X(H),IYe=Rr(st),TYe=j(ft),FYe=pt(Ka),MYe=Fa(),ume=li(),GYe=rt(J)()(),x4=me(P_),AYe=w1(TM(r1)),xYe=Mn(ae)()(),LYe=An(mt),jYe=tE()(),NYe=Qt($o),PYe=ST(Iv),OYe=j(H),lme=function(){function e(){}return e.value=new e,e}(),cme=function(){function e(){}return e.value=new e,e}(),sme=function(){return function(e){return function(n){var t=function(i){var u=function(c){return function(s){return function(){var v=ime(c)(s)();if(v instanceof d)return SYe(u(c)(s+1|0))(function(m){return EYe([v.value0])(m)})();if(v instanceof C)return[];throw new Error("Failed pattern match at Component.Dropdown (line 141, column 45 - line 143, column 31): "+[v.constructor.name])}}},l=CYe(Rre(i))(function(c){return function(){var f=vj(c)(),v=u(f)(0)();return IYe(v)}});return TYe(rs("-menu"))(Se(yP(""))(l))},a=function(i){return function(u){if(i instanceof C||u instanceof C)return yP(!1);if(i instanceof d&&u instanceof d)return function(){var c=pj(i.value0)(u.value0)(),s=t(u.value0)();return c||s?!0:FYe(a(new d(i.value0)))(Sre(u.value0))()};throw new Error("Failed pattern match at Component.Dropdown (line 117, column 5 - line 117, column 42): "+[i.constructor.name,u.constructor.name])}},r=MYe(n),o=Zn(r.alignment)(lme.value);return Cu(ume(ua(Va.value))(function(i){return ume(gP)(function(u){return ui(GYe("dropdown "+(e+function(){var l=x4(i.value0)(ar.value);return l?" show":""}()))({onClick:AYe(i.value1)(function(){var l=r.closeOnClick&&x4(i.value0)(ar.value);return l?new d(Va.value):C.value}()),ref:u.value1})([xYe(r.toggleClass)({onClick:LYe(i.value1)(c0(i.value0))})(r.toggleContent),r.content({visible:x4(i.value0)(ar.value),className:"dropdown-menu show"+function(){if(o instanceof lme)return"";if(o instanceof cme)return" dropdown-menu-right";throw new Error("Failed pattern match at Component.Dropdown (line 97, column 46 - line 99, column 51): "+[o.constructor.name])}(),closeDropdown:i.value1(Va.value)}),Cn(x4(i.value0)(ar.value))(jYe({mouseup:NYe(function(l){return PYe(a(OYe(one)(u.value0))(new d(J2(l.target))))(i.value1(Va.value))})}))]))})}))}}},kYe=sme(),L4=function(e){return function(n){return kYe(e)({toggleClass:n.toggleClass+" dropdown-toggle",toggleContent:n.toggleContent,content:function(t){return t.visible?n.content({className:t.className}):ln},closeOnClick:!0})}};Wt();var Zf={PRIMARY:"#008CFD",SECONDARY:"#6E84A3",WHITE:"#FFF",GRAY_300:"#E3EBF6"};var QE=Da(hme()),gme=4,dXe=({trackColor:e,background:n})=>({props:t,children:a})=>yt.createElement("div",Object.assign({},t,{style:Object.assign({},t.style,{height:`${gme}px`,borderRadius:`${gme*2}px`,background:n||e})}),...a),hXe=({horizontal:e})=>({props:n,isDragged:t})=>yt.createElement("svg",Object.assign({},n,{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",fill:"none",viewBox:"0 0 18 18"}),yt.createElement("circle",{cx:"9",cy:"9",r:"8.5",fill:t?Zf.SECONDARY:Zf.WHITE,stroke:Zf.SECONDARY}),yt.createElement("path",{stroke:t?Zf.WHITE:Zf.SECONDARY,d:e?"M7.5 6L7.5 12":"M6 7.5L12 7.5"}),yt.createElement("path",{stroke:t?Zf.WHITE:Zf.SECONDARY,d:e?"M10.5 6L10.5 12":"M6 10.5L12 10.5"})),Dme=e=>yt.createElement("div",{"aria-label":e.ariaLabel},yt.createElement(QE.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:dXe({trackColor:e.trackColor||Zf.GRAY_300,background:e.fillBefore?(0,QE.getTrackBackground)({values:[e.value],colors:[Zf.PRIMARY,Zf.GRAY_300],min:e.min,max:e.max,"aria-valuemax":e.max,"aria-valuemin":e.min,"aria-valuenow":e.value}):void 0}),renderThumb:hXe({horizontal:!0})}));var gXe=El(),yme={CanPassToJavaScript0:function(){},CanReceiveFromJavaScript1:function(){return Ft}};var bme=function(e){return function(){return function(){return gXe(Dme)}}};var Rme=function(e){return function(n){return ur(n(e))}};var DXe=Fa(),yXe=pi(ae)()(),bXe=nn(J),RXe=ia(x),wXe=function(e){var n=bh(e);return function(){return function(t){return function(a){var r=DXe(t);return yXe({placement:Ms,overlay:ue(n(a)),overlayStyle:Zn(r.overlayStyle)(Sn({width:"15rem"}))})(bXe("d-inline-flex align-items-center text-secondary "+r.className)([RXe("d-inline-block fe fe-help-circle "+function(){var o=qo(r.anchorText);return o?"":"mr-2"}())(""),Y(r.anchorText)]))}}}},_u=function(e){var n=wXe(e)();return function(t){return n({className:t,anchorText:""})}};Wt();function wP(e){if(Array.isArray(e))return Iy(e)}function SP(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function EP(){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 _g(e){return wP(e)||SP(e)||RE(e)||EP()}var sge=Da(fs());var wme=Number.isNaN||function(n){return typeof n=="number"&&n!==n};function SXe(e,n){return!!(e===n||wme(e)&&wme(n))}function EXe(e,n){if(e.length!==n.length)return!1;for(var t=0;tUe)&&(Fn=(sn=sn.replace(" ",":")).length),0De&&(De=(ee=ee.trim()).charCodeAt(0)),De){case 38:return ee.replace(D,"$1"+A.trim());case 58:return A.trim()+ee.replace(D,"$1"+A.trim());default:if(0<1*se&&0$.charCodeAt(8))break;case 115:O=O.replace($,"-webkit-"+$)+";"+O;break;case 207:case 102:O=O.replace($,"-webkit-"+(102se.charCodeAt(0)&&(se=se.trim()),W=se,se=[W],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 Eme=jXe;var NXe={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},Cme=NXe;function PXe(e){var n={};return function(t){return n[t]===void 0&&(n[t]=e(t)),n[t]}}var Ime=PXe;var OXe=/[A-Z]|^ms/g,kXe=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Tme=function(n){return n.charCodeAt(1)===45},Fme=function(n){return n!=null&&typeof n!="boolean"},MP=Ime(function(e){return Tme(e)?e:e.replace(OXe,"-$&").toLowerCase()}),Mme=function(n,t){switch(n){case"animation":case"animationName":if(typeof t=="string")return t.replace(kXe,function(a,r,o){return s0={name:r,styles:o,next:s0},r})}return Cme[n]!==1&&!Tme(n)&&typeof t=="number"&&t!==0?t+"px":t};function YE(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 s0={name:t.name,styles:t.styles,next:s0},t.name;if(t.styles!==void 0){var r=t.next;if(r!==void 0)for(;r!==void 0;)s0={name:r.name,styles:r.styles,next:s0},r=r.next;var o=t.styles+";";return o}return UXe(e,n,t)}case"function":{if(e!==void 0){var i=s0,u=t(e);return s0=i,YE(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 UXe(e,n,t){var a="";if(Array.isArray(t))for(var r=0;r-1}function Kde(e){return tA(e)?window.pageYOffset:e.scrollTop}function aA(e,n){if(tA(e)){window.scrollTo(0,n);return}e.scrollTop=n}function ZKe(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 KKe(e,n,t,a){return t*((e=e/a-1)*e*e+1)+n}function rA(e,n){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:zk,r=Kde(e),o=n-r,i=10,u=0;function l(){u+=i;var c=KKe(u,r,o,t);aA(e,c),ut.bottom?aA(e,Math.min(n.offsetTop+n.clientHeight-e.offsetHeight+r,e.scrollHeight)):a.top-r=R)return{placement:"bottom",maxHeight:n};if(ge>=R&&!i)return o&&rA(c,re,pe),{placement:"bottom",maxHeight:n};if(!i&&ge>=a||i&&de>=a){o&&rA(c,re,pe);var ye=i?de-k:ge-k;return{placement:"bottom",maxHeight:ye}}if(r==="auto"||i){var je=n,oe=i?Q:fe;return oe>=a&&(je=Math.min(oe-k-l.controlHeight,n)),{placement:"top",maxHeight:je}}if(r==="bottom")return aA(c,re),{placement:"bottom",maxHeight:n};break;case"top":if(Q>=R)return{placement:"top",maxHeight:n};if(fe>=R&&!i)return o&&rA(c,Ee,pe),{placement:"top",maxHeight:n};if(!i&&fe>=a||i&&Q>=a){var Un=n;return(!i&&fe>=a||i&&Q>=a)&&(Un=i?Q-N:fe-N),o&&rA(c,Ee,pe),{placement:"top",maxHeight:Un}}return{placement:"bottom",maxHeight:n};default:throw new Error('Invalid placement provided "'.concat(r,'".'))}return s}function aen(e){var n={bottom:"top",top:"bottom"};return e?n[e]:"bottom"}var Vk=function(n){return n==="auto"?"bottom":n},ohe=function(n){var t,a=n.placement,r=n.theme,o=r.borderRadius,i=r.spacing,u=r.colors;return t={label:"menu"},Ca(t,aen(a),"100%"),Ca(t,"backgroundColor",u.neutral0),Ca(t,"borderRadius",o),Ca(t,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),Ca(t,"marginBottom",i.menuGutter),Ca(t,"marginTop",i.menuGutter),Ca(t,"position","absolute"),Ca(t,"width","100%"),Ca(t,"zIndex",1),t},ihe=(0,ZC.createContext)({getPortalPlacement:null}),Qk=function(e){go(t,e);var n=rhe(t);function t(){var a;_o(this,t);for(var r=arguments.length,o=new Array(r),i=0;i-1}};var Len={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;"},jen=function(n){return Jt("span",ot({css:Len},n))};function Nen(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=mi(e,["in","out","onExited","appear","enter","exit","innerRef","emotion"]);return Jt("input",ot({ref:u},c,{css:dg({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 Pen(e){var n=Oen();return function(){var a=tr(e),r;if(n){var o=tr(this).constructor;r=Reflect.construct(a,arguments,o)}else r=a.apply(this,arguments);return Yi(this,r)}}function Oen(){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 Zhe=function(e){go(t,e);var n=Pen(t);function t(){return _o(this,t),n.apply(this,arguments)}return ho(t,[{key:"componentDidMount",value:function(){this.props.innerRef((0,$he.findDOMNode)(this))}},{key:"componentWillUnmount",value:function(){this.props.innerRef(null)}},{key:"render",value:function(){return this.props.children}}]),t}(fa.Component),Khe=["boxSizing","height","overflow","paddingRight","position"],ege={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function nge(e){e.preventDefault()}function tge(e){e.stopPropagation()}function age(){var e=this.scrollTop,n=this.scrollHeight,t=e+this.offsetHeight;e===0?this.scrollTop=1:t===n&&(this.scrollTop=e-1)}function rge(){return"ontouchstart"in window||navigator.maxTouchPoints}function ken(e){var n=Uen();return function(){var a=tr(e),r;if(n){var o=tr(this).constructor;r=Reflect.construct(a,arguments,o)}else r=a.apply(this,arguments);return Yi(this,r)}}function Uen(){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 oge=!!(window.document&&window.document.createElement),KC=0,ige=function(e){go(t,e);var n=ken(t);function t(){var a;_o(this,t);for(var r=arguments.length,o=new Array(r),i=0;i0,P=y-D-R,k=!1;P>l&&a.isBottom&&(f&&f(u),a.isBottom=!1),M&&a.isTop&&(m&&m(u),a.isTop=!1),M&&l>P?(s&&!a.isBottom&&s(u),S.scrollTop=y,k=!0,a.isBottom=!0):!M&&-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 ho(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 fa.default.createElement(Zhe,{innerRef:this.getScrollTarget},this.props.children)}}]),t}(fa.Component);function Ven(e){var n=e.isEnabled,t=n===void 0?!0:n,a=mi(e,["isEnabled"]);return t?fa.default.createElement($en,a):a.children}var Qen=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"}},Yen=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.")}},Xen=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,".")},Zen=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,".")},Ken=function(n){var t=n.inputValue,a=n.screenReaderMessage;return"".concat(a).concat(t?" for search term "+t:"",".")},enn=function(n){return n.label},nnn=function(n){return n.label},tnn=function(n){return n.value},uge=function(n){return!!n.isDisabled};var ann={clearIndicator:Ehe,container:hhe,control:Fhe,dropdownIndicator:She,group:Ghe,groupHeading:Ahe,indicatorsContainer:Dhe,indicatorSeparator:Che,input:Lhe,loadingIndicator:Ihe,loadingMessage:she,menu:ohe,menuList:uhe,menuPortal:mhe,multiValue:Nhe,multiValueLabel:Phe,multiValueRemove:Ohe,noOptionsMessage:che,option:Hhe,placeholder:Bhe,singleValue:Jhe,valueContainer:ghe};var rnn={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%)"},onn=4,lge=4,inn=38,unn=lge*2,lnn={baseUnit:lge,controlHeight:inn,menuGutter:unn},nU={borderRadius:onn,colors:rnn,spacing:lnn};function cge(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(_g(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,y=c.menuIsOpen,D=c.onKeyDown,S=c.tabSelectsValue,M=c.openMenuOnFocus,P=r.state,k=P.focusedOption,N=P.focusedValue,Q=P.selectValue;if(!R&&!(typeof D=="function"&&(D(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(N)r.removeValue(N);else{if(!f)return;s?r.popValue():_&&r.clearValue()}break;case"Tab":if(r.isComposing||l.shiftKey||!y||!S||!k||M&&r.isOptionSelected(k,Q))return;r.selectOption(k);break;case"Enter":if(l.keyCode===229)break;if(y){if(!k||r.isComposing)return;r.selectOption(k);break}return;case"Escape":y?(r.inputIsHiddenAfterUpdate=!1,r.onInputChange("",{action:"menu-close"}),r.onMenuClose()):_&&v&&r.clearValue();break;case" ":if(m)return;if(!y){r.openMenu("first");break}if(!k)return;r.selectOption(k);break;case"ArrowUp":y?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":y?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!y)return;r.focusOption("pageup");break;case"PageDown":if(!y)return;r.focusOption("pagedown");break;case"Home":if(!y)return;r.focusOption("first");break;case"End":if(!y)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,y){var D=r.isOptionDisabled(R,c),S=r.isOptionSelected(R,c),M=r.getOptionLabel(R),P=r.getOptionValue(R);if(!(r.shouldHideSelectedOptions()&&S||!r.filterOption({label:M,value:P,data:R},f))){var k=D?void 0:function(){return r.onOptionHover(R)},N=D?void 0:function(){return r.selectOption(R)},Q="".concat(r.getElementId("option"),"-").concat(y);return{innerProps:{id:Q,onClick:N,onMouseMove:k,onMouseOver:k,tabIndex:-1},data:R,isDisabled:D,isSelected:S,key:Q,label:M,type:"option",value:P}}};return v.reduce(function(_,R,y){if(R.options){r.hasGroups||(r.hasGroups=!0);var D=R.options,S=D.map(function(k,N){var Q=m(k,"".concat(y,"-").concat(N));return Q&&_.focusable.push(k),Q}).filter(Boolean);if(S.length){var M="".concat(r.getElementId("group"),"-").concat(y);_.render.push({type:"group",key:M,data:R,options:S})}}else{var P=m(R,"".concat(y));P&&(_.render.push(P),_.focusable.push(R))}return _},{render:[],focusable:[]})};var o=a.value;r.cacheComponents=CP(r.cacheComponents,dhe).bind(M_(r)),r.cacheComponents(a.components),r.instancePrefix="react-select-"+(r.props.instanceId||++vnn);var i=yb(o);r.buildMenuOptions=CP(r.buildMenuOptions,function(l,c){var s=l,f=ka(s,2),v=f[0],m=f[1],_=c,R=ka(_,2),y=R[0],D=R[1];return m===D&&v.inputValue===y.inputValue&&v.options===y.options}).bind(M_(r));var u=a.menuIsOpen?r.buildMenuOptions(a,i):{render:[],focusable:[]};return r.state.menuOptions=u,r.state.selectValue=i,r}return ho(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=yb(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&&(ehe(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:uge(f[v]),tabSelectsValue:u}})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(nU):bb(bb({},nU),this.props.theme):nU}},{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?Xen({focusedValue:u,getOptionLabel:this.getOptionLabel,selectValue:i}):"",R=l&&f?Zen({focusedOption:l,getOptionLabel:this.getOptionLabel,options:s}):"",y=Ken({inputValue:v,screenReaderMessage:m({count:this.countOptions()})});return"".concat(_," ").concat(R," ").concat(y," ").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 fa.default.createElement(Nen,ot({id:m,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:zk,onFocus:this.onInputFocus,readOnly:!0,disabled:o,tabIndex:c,form:s,value:""},_));var R=this.commonProps,y=R.cx,D=R.theme,S=R.selectProps;return fa.default.createElement(f,ot({autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",cx:y,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:D,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,y=m.isMulti,D=m.inputValue,S=m.placeholder,M=this.state,P=M.selectValue,k=M.focusedValue,N=M.isFocused;if(!this.hasValue()||!_)return D?null:fa.default.createElement(f,ot({},v,{key:"placeholder",isDisabled:R,isFocused:N}),S);if(y){var Q=P.map(function(fe,ge){var re=fe===k;return fa.default.createElement(i,ot({},v,{components:{Container:u,Label:l,Remove:c},isFocused:re,isDisabled:R,key:"".concat(r.getOptionValue(fe)).concat(ge),index:ge,removeProps:{onClick:function(){return r.removeValue(fe)},onTouchEnd:function(){return r.removeValue(fe)},onMouseDown:function(pe){pe.preventDefault(),pe.stopPropagation()}},data:fe}),r.formatOptionLabel(fe,"value"))});return Q}if(D)return null;var de=P[0];return fa.default.createElement(s,ot({},v,{data:de,isDisabled:R}),this.formatOptionLabel(de,"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 fa.default.createElement(r,ot({},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 fa.default.createElement(r,ot({},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 fa.default.createElement(i,ot({},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 fa.default.createElement(r,ot({},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,y=R.focusedOption,D=R.menuOptions,S=this.props,M=S.captureMenuScroll,P=S.inputValue,k=S.isLoading,N=S.loadingMessage,Q=S.minMenuHeight,de=S.maxMenuHeight,fe=S.menuIsOpen,ge=S.menuPlacement,re=S.menuPosition,Ee=S.menuPortalTarget,pe=S.menuShouldBlockScroll,ye=S.menuShouldScrollIntoView,je=S.noOptionsMessage,oe=S.onMenuScrollToTop,Un=S.onMenuScrollToBottom;if(!fe)return null;var Ke=function(De){var O=y===De.data;return De.innerRef=O?r.getFocusedOptionRef:void 0,fa.default.createElement(m,ot({},_,De,{isFocused:O}),r.formatOptionLabel(De.data,"menu"))},Pn;if(this.hasOptions())Pn=D.render.map(function(se){if(se.type==="group"){var De=se.type,O=mi(se,["type"]),ve="".concat(se.key,"-heading");return fa.default.createElement(i,ot({},_,O,{Heading:u,headingProps:{id:ve,data:se.data},label:r.formatGroupLabel(se.data)}),se.options.map(function($){return Ke($)}))}else if(se.type==="option")return Ke(se)});else if(k){var On=N({inputValue:P});if(On===null)return null;Pn=fa.default.createElement(f,_,On)}else{var W=je({inputValue:P});if(W===null)return null;Pn=fa.default.createElement(v,_,W)}var A={minMenuHeight:Q,maxMenuHeight:de,menuPlacement:ge,menuPosition:re,menuShouldScrollIntoView:ye},ee=fa.default.createElement(Qk,ot({},_,A),function(se){var De=se.ref,O=se.placerProps,ve=O.placement,$=O.maxHeight;return fa.default.createElement(l,ot({},_,A,{innerRef:De,innerProps:{onMouseDown:r.onMenuMouseDown,onMouseMove:r.onMenuMouseMove},isLoading:k,placement:ve}),fa.default.createElement(Ven,{isEnabled:M,onTopArrive:oe,onBottomArrive:Un},fa.default.createElement(Wen,{isEnabled:pe},fa.default.createElement(c,ot({},_,{innerRef:r.getMenuListRef,isLoading:k,maxHeight:$}),Pn))))});return Ee||re==="fixed"?fa.default.createElement(s,ot({},_,{appendTo:Ee,controlElement:this.controlRef,menuPlacement:ge,menuPosition:re}),ee):ee}},{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 fa.default.createElement("input",{name:c,type:"hidden",value:f})}else{var v=s.length>0?s.map(function(_,R){return fa.default.createElement("input",{key:"i-".concat(R),name:c,type:"hidden",value:r.getOptionValue(_)})}):fa.default.createElement("input",{name:c,type:"hidden"});return fa.default.createElement("div",null,v)}else{var m=s[0]?this.getOptionValue(s[0]):"";return fa.default.createElement("input",{name:c,type:"hidden",value:m})}}},{key:"renderLiveRegion",value:function(){return this.state.isFocused?fa.default.createElement(jen,{"aria-live":"polite"},fa.default.createElement("span",{id:"aria-selection-event"},"\xA0",this.state.ariaLiveSelection),fa.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 fa.default.createElement(u,ot({},R,{className:s,innerProps:{id:f,onKeyDown:this.onKeyDown},isDisabled:v,isFocused:_}),this.renderLiveRegion(),fa.default.createElement(o,ot({},R,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:v,isFocused:_,menuIsOpen:m}),fa.default.createElement(l,ot({},R,{isDisabled:v}),this.renderPlaceholderOrValue(),this.renderInput()),fa.default.createElement(i,ot({},R,{isDisabled:v}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}]),t}(fa.Component);Ag.defaultProps=fnn;var k2a=Da(XC());var lA=Da(fs());function mnn(e){var n=pnn();return function(){var a=tr(e),r;if(n){var o=tr(this).constructor;r=Reflect.construct(a,arguments,o)}else r=a.apply(this,arguments);return Yi(this,r)}}function pnn(){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 _nn={defaultInputValue:"",defaultMenuIsOpen:!1,defaultValue:null},Rb=function(n){var t,a;return a=t=function(r){go(i,r);var o=mnn(i);function i(){var u;_o(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},ynn={formatCreateLabel:function(n){return'Create "'.concat(n,'"')},isValidNewOption:function(n,t,a){return!(!n||t.some(function(r){return vge(n,r)})||a.some(function(r){return vge(n,r)}))},getNewOptionData:function(n,t){return{label:t,value:n,__isNew__:!0}}},bnn=Dnn({allowCreateWhileLoading:!1,createOptionPosition:"last"},ynn),Rnn=function(n){var t,a;return a=t=function(r){go(i,r);var o=hnn(i);function i(u){var l;_o(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,y=v.onChange,D=v.onCreateOption,S=v.value,M=v.name;if(f.action!=="select-option")return y(s,f);var P=l.state.newOption,k=Array.isArray(s)?s:[s];if(k[k.length-1]===P){if(D)D(_);else{var N=m(_,_),Q={action:"create-option",name:M};y(R?[].concat(_g(yb(S)),[N]):N,Q)}return}y(s,f)};var c=u.options||[];return l.state={newOption:void 0,options:c},l}return ho(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,y=l.value,D=l.options||[],S=this.state.newOption;R(m,yb(y),D)?S=v(m,f(m)):S=void 0,this.setState({newOption:S,options:(c||!_)&&S?s==="first"?[S].concat(_g(D)):[].concat(_g(D),[S]):D})}},{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 sA.default.createElement(n,ot({},this.props,{ref:function(f){l.select=f},options:c,onChange:this.onChange}))}}]),i}(sA.Component),t.defaultProps=bnn,a},wnn=Rnn(Ag),Snn=Rb(wnn),tU=Snn;var fA=Da(fs());var RGa=Da(Db());var TGa=Da(XC());function Enn(e){var n=Cnn();return function(){var a=tr(e),r;if(n){var o=tr(this).constructor;r=Reflect.construct(a,arguments,o)}else r=a.apply(this,arguments);return Yi(this,r)}}function Cnn(){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 Inn={cacheOptions:!1,defaultOptions:!1,filterOption:null,isLoading:!1},Tnn=function(n){var t,a;return a=t=function(r){go(i,r);var o=Enn(i);function i(u){var l;return _o(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,_=Zde(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(y){!l.mounted||(y&&(l.optionsCache[_]=y),R===l.lastRequest&&(delete l.lastRequest,l.setState({isLoading:!1,loadedInputValue:_,loadedOptions:y||[],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 ho(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=mi(c,["loadOptions","isLoading"]),m=this.state,_=m.defaultOptions,R=m.inputValue,y=m.isLoading,D=m.loadedInputValue,S=m.loadedOptions,M=m.passEmptyOptions,P=M?[]:R&&D?S:_||[];return fA.default.createElement(n,ot({},v,{ref:function(N){l.select=N},options:P,isLoading:y||f,onInputChange:this.handleInputChange}))}}]),i}(fA.Component),t.defaultProps=Inn,a},Fnn=Rb(Ag),Mnn=Tnn(Fnn),vA=Mnn;var _ge=Da(pge()),eI=({baseClass:e,isMulti:n})=>t=>{let a=(i,u)=>Object.assign({},i,u),r=i=>u=>a(u,i),o=!jnn&&typeof document!="undefined";return yt.createElement(e,ni(Aa({},t),{isMulti:n,components:{MenuList:Gnn},menuPortalTarget:t.useMenuPortal&&o?document.body:void 0,options:gge(t.options),value:gge(t.value),getOptionLabel:rU(t.getOptionLabel),getOptionValue:rU(t.getOptionValue),formatOptionLabel:rU(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:{})}}))},Gnn=e=>{let n=Array.isArray(e.children)?e.children:[e.children],t=[];return e.selectProps.footerOption&&e.selectProps.options&&(t=[yt.createElement("hr",{className:"py-0 my-0"}),e.selectProps.footerOption({inputValue:e.selectProps.inputValue,options:wb(e.selectProps.options)})]),yt.createElement("div",{className:"overflow-y-auto overflow-x-hidden",style:Object.assign({},{maxHeight:e.selectProps.maxMenuHeight},e.selectProps.menuListStyle)},yt.createElement(_ge.default,{length:n.length,itemRenderer:(a,r)=>yt.createElement("div",{key:r},n[a])}),...t)};cA.displayName="ReactSelect";tU.displayName="ReactSelectCreatable";vA.displayName="ReactSelectAsync";var dge=eI({baseClass:cA,isMulti:!1}),Ann=eI({baseClass:tU,isMulti:!1}),xnn=eI({baseClass:cA,isMulti:!0}),hge=eI({baseClass:vA,isMulti:!1}),Lnn=eI({baseClass:vA,isMulti:!0}),jnn=0;var gge=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},rU=e=>e&&(n=>e(wb(n)));var Dge=e=>()=>new Promise((n,t)=>{var a=o=>()=>n(o),r=o=>()=>t(o);try{e(a)(r)()}catch(o){t(o)}});var yge=function(e){return Dge(function(n){return function(t){return WY(Za(t)(n))(e)}})};var nI=Bo(),Nnn=St($n()(E({reflectSymbol:function(){return"inputValue"}})(ie)(_e)));var Pnn=j(Vt),Onn=j(H),bge=El(),Rge=Fa();var knn=function(e){return e};var mA=function(e){return nI(function(n){return He(Nnn(n))(e)})};var pA=function(e){return function(n){return yge(Pnn(Be)(e(n)))()}};var wge=function(e){return function(n){return Ht(e({inputValue:K(n.inputValue),options:n.options}))}};var Sge=function(e){var n={};for(var t in e)({}).hasOwnProperty.call(e,t)&&(n[t]=e[t]);return n.value=Hee(function(a){return Ht(Onn(knn)(a))})(e.value),n},Unn=nI,Ege=nI;var Hnn=nI;var Cge=nI;var tv=function(){var e=bge(dge);return function(n){return e(Unn(Sge(Ege(Cge(Rge(n))))))}},_A=function(){var e=bge(hge);return function(n){return e(Hnn(Sge(Ege(Cge(Rge(n))))))}};var Ige="top";var Tge=Xr(Mr(Go)),Bnn=X(Vt),Fge=Z(Ot),Jnn=Vi(qn($n()(E({reflectSymbol:function(){return"category"}})(ie)(E({reflectSymbol:function(){return"id"}})(QS)(E({reflectSymbol:function(){return"name"}})(ie)(_e)))))),Wnn=X(he),qnn=X(H),znn=Vi(ie),Mge=Tge("profile_search_extracurricular_activities_path")(function(e){return function(n){return Bnn(Fge(e({search_term:n}))(kr(Jnn("Network.ECSelector.API"))))(function(t){return _r(Wnn(t)(function(a){return qnn(N1(a.category))(function(r){return{id:a.id,name:a.name,category:r}})}))})}}),Gge=Tge("profile_generate_ec_description_path")(function(e){return function(n){return Fge(e(n))(kr(znn("Profile.ECSelector.API.generateEcDescription response")))}});var $nn=te(ze),Vnn=So($e)(st),Age=function(e){var n=gs(e);return function(){return function(){return n("text")}}};var oU=function(){return function(){return Ph("path")}},Qnn=oU()();var Sb=function(e){var n=function(u){return $nn(es(u))},t=function(u){return function(l){return n(u*l.x)+(" "+n(u*l.y))}},a=function(u){return{x:e.center.x+E6(u),y:e.center.y-I6(u)}},r=a(e.angle1),o=a(e.angle0),i=function(){var u=e.angle1-e.angle0>xv;return u?"1":"0"}();return Qnn("")({d:Vnn([" 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})},xge=function(){return function(){return Ph("circle")}};var Lge=Dn(gn),av=hn(Lge)(mn(vn)),jge=_n(pn),rv=dn(jge),Nge=Rn(bn),ov=yn(Nge),Ynn=oU()(),qm=te(Wi),Xnn=pi(ae)()(),tI=B(x),Znn=Yv(J)()(),Knn=X(he),etn=Age(x)()(),ntn=te(ze),ttn=Mn(ae)()(),atn=An(mt),rtn=ia(x),aI=B(J),Eb=B(ae),Pge=me(Pt(Ss)),otn=Ds(J),itn=j(he),utn=Ic(x),iU=function(){function e(){}return e.value=new e,e}(),uU=function(){function e(){}return e.value=new e,e}(),Oge=function(e){return function(n){if(n instanceof uU)return Se(e)(iae(e));if(n instanceof iU)return Se(e)(uae(e));throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivityTier (line 29, column 1 - line 29, column 46): "+[e.constructor.name,n.constructor.name])}},kge=function(){return 100/ct(pa(wn(d_)(av(av(av(av(av(av(av(av(av(av(av(Lge)(jge))(rv))(rv))(rv))(rv))(rv))(rv))(rv))(rv))(rv))(rv))(ov(ov(ov(ov(ov(ov(ov(ov(ov(ov(ov(Nge))))))))))))(rv)))}(),ltn=function(e){var n=Ol(e),t=Xte(n),a=function(r){return function(o){return function(i){var u=o-1,l=r+1,c=u/2,s=l/2;return Ynn("")({d:Pr(" ")(["M",qm(-s),qm(l),"L",qm(s),qm(l),"L",qm(c),qm(u),"L",qm(-c),qm(u),"Z"]),fill:i})}}};return Xnn({overlay:ue([tI("")("Use the arrows to choose"),tI("")("higher or lower levels")]),trigger:j_,placement:Ms})(Znn("")({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(ct(t)*kge)(ct(t+1|0)*kge)("#64A063"),ue(Knn(GT(1)(4))(function(r){return etn("")({x:"0",y:qm(25*ct(r)-11),dominantBaseline:"middle",textAnchor:"middle"})(ntn(r))}))]))},Uge=function(e){return function(n){var t=Ol(e),a=Wf(e),r=function(o){var i=function(){if(o.msg instanceof iU)return"up";if(o.msg instanceof uU)return"down";throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivityTier (line 73, column 17 - line 75, column 33): "+[o.msg.constructor.name])}();return ttn("py-0 px-2 my-2 btn btn-outline-light t--tier-"+(i+function(){return o.disabled?"":" text-body"}()))({type:"button",onClick:atn(n)(o.msg),disabled:o.disabled})(rtn("x-large fe fe-arrow-"+i)(""))};return ue([aI("d-flex justify-content-between align-items-center")([tI("font-weight-bold fw-bold")("Tier "+P1(t)),aI("d-flex align-items-center")([Eb("mr-2")(r({msg:iU.value,disabled:Pge(new d(t))(eae(a))})),Eb("")(r({msg:uU.value,disabled:Pge(new d(t))(h2(a))}))])]),Eb("card shadow-none")(Eb("card-body")(aI("row align-items-start")([Eb("col-12 col-md-7")(He(Kte(a)(t))(function(o){return ue([Y("I did the equivalent of ANY of the following:"),otn("")(itn(utn(""))(o))])})),Eb("col-12 col-md-5")(aI("row align-items-center")([aI("col-7 d-flex flex-column align-items-center")([tI("mb-2 small")("Exceptional"),ltn(e),tI("mt-2 small")("Standard")])]))])))])}};var dA=q(ht),ctn=Fa(),stn=zn(Nn)(Xt),ftn=$r(Dt),vtn=X(Vt),mtn=is(Pv),ptn=Mn(ae)()(),Hge=B(x),Bge=An(mt),lU=function(){function e(){}return e.value=new e,e}(),Jge=function(){function e(){}return e.value=new e,e}(),Wge=function(){function e(){}return e.value=new e,e}(),cU=function(){function e(){}return e.value=new e,e}(),qge=function(){function e(){}return e.value=new e,e}(),zge=function(){function e(){}return e.value=new e,e}(),$ge=function(){var e=function(n){var t=dA(lU.value),a=ctn(n),r=function(i){return function(u){if(u instanceof cU)return stn(ftn(vtn(mtn(a.onClick))(Za(an(zge.value))(an(qge.value)))))(function(){return dA(Jge.value)});if(u instanceof qge)return dA(lU.value);if(u instanceof zge)return dA(Wge.value);throw new Error("Failed pattern match at Utils.EffectButton (line 70, column 9 - line 72, column 24): "+[i.constructor.name,u.constructor.name])}},o=function(i){return function(u){var l=function(s){return ptn(Zn(a.buttonClass)("btn btn-primary px-4"))({onClick:s,disabled:Zn(a.disabled)(!1)})(Zn(a.buttonContent)(Y("Submit")))},c=Zn(a.render)({idle:l,inFlight:function(s){return Hge("spinner spinner-border text-primary")("")},erroredOut:function(s){return ue([l(s),Hge("invalid-feedback d-block")("Something went wrong. Try refreshing the page.")])}});if(i instanceof lU)return c.idle(Bge(u)(cU.value));if(i instanceof Jge)return c.inFlight(Ie);if(i instanceof Wge)return c.erroredOut(Bge(u)(cU.value));throw new Error("Failed pattern match at Utils.EffectButton (line 51, column 11 - line 54, column 65): "+[i.constructor.name])}};return{init:t,view:o,update:r}};return Ku("EffectButton")(e)};var Vge=function(){function e(){}return e.value=new e,e}(),Qge=function(){function e(){}return e.value=new e,e}(),Cb=function(){function e(){}return e.value=new e,e}(),hA=function(){function e(){}return e.value=new e,e}(),Yge=function(){function e(){}return e.value=new e,e}(),Xge=function(){function e(){}return e.value=new e,e}(),Ib=function(){function e(){}return e.value=new e,e}(),Zge=function(e){if(e instanceof Vge)return"avatar-xxs";if(e instanceof Qge)return"avatar-xs";if(e instanceof Cb)return"avatar-sm";if(e instanceof hA)return"";if(e instanceof Yge)return"avatar-lg";if(e instanceof Xge)return"avatar-xl";if(e instanceof Ib)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 gA=me(Pt(ca)),_tn=Fa(),sU=B(ae),dtn=Es()(),fU=nn(x),htn=ia(x),gtn=li(),Dtn=Op(Nn)(),ytn=it(Dt),btn=rt(ae)()(),Rtn=Mn(J)()(),wtn=Qt($o),Stn=Yf(),Etn=pt(Ka),Du=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),xg=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),vU=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),mU=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Kge=function(){function e(){}return e.value=new e,e}(),Ctn=function(){function e(){}return e.value=new e,e}(),Itn={eq:function(e){return function(n){return e instanceof Du&&n instanceof Du?e.value0.url===n.value0.url:e instanceof xg&&n instanceof xg?gA(e.value0.backgroundColorClass)(n.value0.backgroundColorClass)&&e.value0.initials===n.value0.initials&&gA(e.value0.textColorClass)(n.value0.textColorClass):e instanceof vU&&n instanceof vU?gA(e.value0.backgroundColorClass)(n.value0.backgroundColorClass)&&e.value0.iconClass===n.value0.iconClass:e instanceof mU&&n instanceof mU?gA(e.value0.backgroundColorClass)(n.value0.backgroundColorClass)&&e.value0.name===n.value0.name:!1}}},Ttn=HE(Itn),g0=function(){return function(e){var n=_tn(e),t=function(){var r=Zn(n.shape)(Kge.value);if(r instanceof Kge)return"rounded-circle";if(r instanceof Ctn)return"rounded";throw new Error("Failed pattern match at Dashkit.Avatar (line 122, column 9 - line 124, column 37): "+[r.constructor.name])}(),a=function(r){return sU("avatar "+(Zge(Zn(n.size)(hA.value))+(" "+Zn(n.className)(""))))(function(){if(r instanceof Du)return dtn("avatar-img img-fluid "+(t+(" "+Zn(n.borderClassName)(""))))({src:r.value0.url});if(r instanceof xg)return fU("avatar-title font-weight-bold fw-bold "+(t+(" "+(Se("")(r.value0.backgroundColorClass)+(" "+(Se("")(r.value0.textColorClass)+(" "+Zn(n.borderClassName)(""))))))))(r.value0.initials);if(r instanceof vU)return sU("avatar-title "+(t+(" "+(Se("")(r.value0.backgroundColorClass)+(" "+Zn(n.borderClassName)(""))))))(htn(r.value0.iconClass)(""));if(r instanceof mU)return sU("avatar-title "+(t+(" "+(Se("")(r.value0.backgroundColorClass)+(" "+Zn(n.borderClassName)(""))))))(fU("material-symbol")(r.value0.name));throw new Error("Failed pattern match at Dashkit.Avatar (line 83, column 11 - line 119, column 46): "+[r.constructor.name])}())};return Cu(gtn(ua(n.source))(function(r){return Dtn(Ttn(n.source)(function(o){return ytn(r.value1(o))}))(function(){return ui(ue([a(r.value0),function(){return r.value0 instanceof Du?He(hr(n.hideAvatar))(function(o){return btn("hq-only-menu-item")({style:Sn({marginTop:"-50px",marginLeft:"200px"})})(Rtn("btn btn-sm btn-warning mb-4 t--hide-avatar")({onClick:wtn(function(i){return function(){return Stn(i)(),Etn(r.value1)(o)()}})})([fU("badge badge-info bg-info text-dark mr-2")("HQ"),Y("Hide")]))}):ln}()]))})}))}};var Ftn=g0();var Mtn=function(e){return Ftn({source:new Du({url:ng("/img/icons/ai-avatar-logo-purple-3.svg")}),size:e.size})},Tb=function(){return Mtn({size:Cb.value})}();var eDe=function(){var e=[IS.value,new um(" "),WM.value,new um(", "),zM.value,new um(":"),VM.value,new um(" "),$M.value],n=TS(nh($e)(e));return function(t){return n(function(a){return a.sentAt}(t))}}();var zm=B(J),Gtn=nn(x),Atn=_u(x),xtn=dl(Ae),pU=j0(H),nDe=j(H),Ltn=X(H),jtn=pt(Ae),Ntn=$d($e)(ta),_U=zn(Nn)(Ae),dU=qr(wo),hU=Z(Ae),gU=jl(x),tDe=jf()(),rI=An(uo),Lg=B(ae),aDe=Mn(x)()(),DU=An(mt),rDe=Yee(x)()(),oDe=te(j1),Ptn=Qe(ma),Otn=j(he),ktn=xi()(),iDe=FM(),Utn=Vee(J)()(),uDe=X(Vt),Htn=is(Pv),Btn=Qu(ca),Jtn=X(he),Wtn=rt(x)()(),qtn=_A(),ztn=te(rae),$tn=Jn(Na),lDe=B(x),Vtn=$ge(),Qtn=Z(Ot),Ytn=it(Dt),jg=function(){function e(){}return e.value=new e,e}(),DA=function(){function e(){}return e.value=new e,e}(),Ng=function(){function e(){}return e.value=new e,e}(),cDe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),sDe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),yU=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),fDe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),vDe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),mDe=function(){function e(){}return e.value=new e,e}(),pDe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),_De=function(){function e(){}return e.value=new e,e}(),dDe=function(){function e(){}return e.value=new e,e}(),hDe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),gDe={eq:function(e){return function(n){return e instanceof jg&&n instanceof jg||e instanceof DA&&n instanceof DA||e instanceof Ng&&n instanceof Ng}}},Xtn=function(e){return e.tierSelector instanceof d?C.value:new d({errorMessage:"Please select a tier."})},Ztn=function(e){if(e.name==="")return new d({errorMessage:"Please enter an activity name."});if(Le)return C.value;throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivityEditor (line 325, column 1 - line 325, column 32): "+[e.constructor.name])},Ktn=function(e){if(ur(e.category))return new d({errorMessage:"Please select a category."});if(Le)return C.value;throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivityEditor (line 330, column 1 - line 330, column 36): "+[e.constructor.name])},DDe=function(e){return function(n){return ue([zm("")([Gtn("")("Level of achievement"),Atn("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. `)]),Uge(n)(function(t){return e(fDe.create(t))})])}},yDe=function(e){return xtn(pU(pU(pU(nDe(YS("")(e))(h2(e)))(C.value))(C.value))(C.value))},bDe=function(e){return function(n){if(n instanceof fDe)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:Ltn(e.tierSelector)(function(t){return Oge(t)(n.value0)})};if(n instanceof cDe)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 sDe)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:jtn(yDe)(n.value0)};if(n instanceof yU)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 vDe)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:yDe(n.value0.category)};if(n instanceof mDe)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 pDe)return{isNew:e.isNew,category:e.category,id:e.id,canonicalId:e.canonicalId,tierSelector:e.tierSelector,description:e.description,compactView:e.compactView,view:Ng.value,name:n.value0.name};if(n instanceof _De)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:DA.value};if(n instanceof dDe)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 jg.value;if(e.canonicalId instanceof C)return Ng.value;throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivityEditor (line 309, column 9 - line 311, column 30): "+[e.canonicalId.constructor.name])}()};if(n instanceof hDe)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 jg.value;if(e.canonicalId instanceof C)return Ng.value;throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivityEditor (line 317, column 9 - line 319, column 30): "+[e.canonicalId.constructor.name])}()};throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivityEditor (line 283, column 1 - line 283, column 36): "+[e.constructor.name,n.constructor.name])}},oI=function(e){return Ntn(Rme(e))([Ztn,Ktn,Xtn])},yA=function(e){return function(n){if(n instanceof d){var t=Se("")(ZS(n.value0)),a=Wf(n.value0);return{isNew:!1,name:h_(n.value0),category:new d(a),tierSelector:function(){return a instanceof n0?C.value:new d(n.value0)}(),id:g2(n.value0),canonicalId:D2(n.value0),description:t,compactView:e.compactView,view:function(){var r=gt(D2(n.value0));return r?jg.value:Ng.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:jg.value};throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivityEditor (line 78, column 1 - line 78, column 73): "+[e.constructor.name,n.constructor.name])}},bA=function(e){return _U(dU(oI(e)))(function(){return hU(e.tierSelector)(function(n){return hU(e.category)(function(t){return YS(e.name)(t)(Ol(n))(e.id)(new d(e.description))(e.canonicalId)})})})},RDe="Summarize your role, highlighting specific achievements. Include quantifiable results (if possible) and skills developed.",wDe=function(e){return function(n){return function(t){var a=ue([gU("")("Description (optional)"),tDe("form-control mb-3 t--description")({placeholder:RDe,rows:2,maxLength:1e3,onChange:rI(t)(function(r){return yU.create(Xf(r))}),value:n.description}),zm("row")([Lg("col-auto")(Tb),Cn(e.featureFlags.showGenerateEcDescription)(Lg("col pl-0")(aDe("btn btn-outline-primary rounded-pill t--generate-description")({onClick:DU(t)(_De.value)})("Write description for me")))])]);return Cn(!n.compactView)(a)}}},SDe=function(e){return function(n){return function(t){if(n.view instanceof Ng){var a=function(u){return rDe("")({value:oDe(u)})(__(u))},r=Ptn([rDe("")({value:""})("Select category")])(Otn(a)(Bte));return ue([zm("row pb-4")([zm("col-12 mt-3 mt-lg-0 col-lg-8 align-self-baseline")([gU("font-weight-bold fw-bold")("Activity name *"),ktn("")({className:"form-control t--name",autoFocus:!0,value:n.name,onChange:rI(t)(function(u){return cDe.create(Gs(u))}),minLength:5,maxLength:50,required:!0,_data:iDe({"test-id":"ec-selector-activity-name"})})]),zm("col-12 mt-3 mt-lg-0 col-lg-4 align-self-baseline")([gU("font-weight-bold fw-bold")("Category *"),Utn("")({className:"form-control t--category",onChange:rI(t)(function(u){return sDe.create(N1(T0e(u)))}),value:ke("")(oDe)(n.category),_data:iDe({"test-id":"ec-selector-activity-category"}),required:!0})(r)])]),He(n.tierSelector)(DDe(t)),wDe(e)(n)(t)])}if(n.view instanceof jg){var o=function(u){return uDe(uDe(Htn(Mge(u)))(nc))(Se([]))},i=function(){var u=function(l){return uu(hw(l))};return wge(function(l){return hU(l.inputValue)(function(c){return _U(dU(zr(c)>=3))(function(){return _U(dU(!Btn(u(c))(Jtn(l.options)(function(s){return u(function(f){return f.name}(s))}))))(function(){return new d(Wtn("text-center text-primary cursor-pointer py-3 t--ec-activity-custom")({onClick:DU(t)(new pDe({name:c}))})("Add \u2018"+(c+"\u2019 as a custom activity")))})})})})}();return zm("my-4 overflow-hidden ")([Y("Activity name*"),qtn({className:"mt-2 t--ec-activity-name",classNamePrefix:"t--canonical-ec-activity",placeholder:"Type to select\u2026",loadOptions:pA(o),defaultOptions:!1,getOptionLabel:function(u){return u.name},getOptionValue:function(u){return ztn(function(l){return l.id}(u))},onSelect:rI(t)(vDe.create),useMenuPortal:!0,value:$tn(nDe(function(u){return function(l){return{name:n.name,category:u,id:l}}})(n.category))(n.canonicalId),isClearable:!0,onClear:t(mDe.value),footerOption:i,menuPlacement:Ige,noOptionsMessage:mA(function(u){return Y(function(){var l=zr(u.inputValue)<=3;return l?"Type to search activities":"No matches. Try a different search."}())})}),He(n.category)(function(u){return lDe("mt-2 text-muted t--ec-activity-category")("Category: "+__(u))}),He(n.tierSelector)(function(){var u=Lg("mt-4"),l=DDe(t);return function(c){return u(l(c))}}()),He(n.canonicalId)(function(u){return Lg("mt-4")(wDe(e)(n)(t))})])}if(n.view instanceof DA)return zm("my-4 overflow-hidden t--description-generator")([zm("row")([Lg("col-auto")(Tb),lDe("col pl-0")("Tell me about your role, contributions, and any achievements so I can write a strong description.")]),tDe("form-control my-3 t--description")({placeholder:RDe,rows:5,maxLength:1e3,onChange:rI(t)(function(u){return yU.create(Xf(u))}),value:n.description}),zm("row")([Lg("col-6")(aDe("btn btn-light btn-block")({onClick:DU(t)(dDe.value)})("Cancel")),Lg("col-6")(Vtn({buttonClass:"btn btn-primary btn-block t--generate-description-confirm",buttonContent:Y("Write description"),onClick:Qtn(Gge({activity:n.name,category:ke("")(__)(n.category),description:n.description}))(function(u){return Ytn(t(new hDe(u)))})}))])]);throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivityEditor (line 109, column 1 - line 109, column 78): "+[e.constructor.name,n.constructor.name,t.constructor.name])}}};var ean=Am(),nan=ut(x),tan=B(J),EDe=B(ae),CDe=Mn(x)()(),aan=w1(TM(r1)),ran=gi(H),oan=qr(wo),ian=Pa(lr(ta)),uan=An(mt),bU=q(ht),IDe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),RA=function(){function e(){}return e.value=new e,e}(),iI=function(){function e(){}return e.value=new e,e}(),RU=function(e){return function(n){return function(t){var a=function(){return n.isNew?"Add":"Edit"}();return ean({onDismiss:t(iI.value),title:nan("")(a+" activity"),size:nE.value,bodyClass:"t--ec-editor",body:ue([SDe(e)(n)(function(r){return t(IDe.create(r))}),za(""),tan("row justify-content-between mt-n3")([EDe("col-12 col-md-3 mt-3")(CDe("btn btn-primary btn-block t--save-ec-activity")({type:"button",onClick:aan(t)(ran(oan(oI(n)))(RA.value)),disabled:ian(oI)(n)})("Save activity")),EDe("col-12 col-md-3 mt-3")(CDe("btn btn-outline-secondary btn-block")({type:"button",onClick:uan(t)(iI.value)})("Cancel"))])])})}}},wU=function(e){return function(n){if(n instanceof IDe)return bU(bDe(e)(n.value0));if(n instanceof RA||n instanceof iI)return bU(e);throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivityEditModal (line 55, column 1 - line 55, column 69): "+[e.constructor.name,n.constructor.name])}};var lan=me(VS),TDe=me(Pt(x9)),FDe=me(Pt(BS)),can=me(ca),MDe=me(Pt(Xa)),GDe=me(Pt(VS)),ADe=me(gDe),xDe=lr(ta),LDe=Pa(xDe),san=pt(Ae),yu=q(ht),fan=tw(VS),jDe=Qe(ma),SU=zn(Nn)(Xt),NDe=$r(Dt),PDe=q(sa),EU=Z(Xt),ODe=mr(Ii(Vt)),$m=B(J),Fb=nt(x),kDe=te(ze),van=Z(wv),man=q(N0),ks=B(ae),pan=Mn(J)()(),_an=nn(ae),dan=nn(x),han=B(x),UDe=lf(lr(xDe)),gan=me(BS),Dan=me(Ss),yan=xi()(),ban=Vf(),wA=Mn(x)()(),uI=An(mt),Ran=rt(J)()(),wan=FM(),San=Ma(x),Ean=nt(J),Can=it(Dt);var SA=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),CU=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),IU=function(){function e(){}return e.value=new e,e}(),EA=function(){function e(){}return e.value=new e,e}(),Pg=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Og=function(){function e(){}return e.value=new e,e}(),Mb=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),od=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),id=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Ian={eq:function(e){return function(n){return e instanceof Og&&n instanceof Og?!0:e instanceof Mb&&n instanceof Mb?lan(e.value0.activity)(n.value0.activity):e instanceof od&&n instanceof od?e.value0.index===n.value0.index&&TDe(e.value0.state.canonicalId)(n.value0.state.canonicalId)&&FDe(e.value0.state.category)(n.value0.state.category)&&e.value0.state.compactView===n.value0.state.compactView&&e.value0.state.description===n.value0.state.description&&MDe(e.value0.state.id)(n.value0.state.id)&&e.value0.state.isNew===n.value0.state.isNew&&e.value0.state.name===n.value0.state.name&&GDe(e.value0.state.tierSelector)(n.value0.state.tierSelector)&&ADe(e.value0.state.view)(n.value0.state.view):e instanceof id&&n instanceof id?TDe(e.value0.canonicalId)(n.value0.canonicalId)&&FDe(e.value0.category)(n.value0.category)&&e.value0.compactView===n.value0.compactView&&e.value0.description===n.value0.description&&MDe(e.value0.id)(n.value0.id)&&e.value0.isNew===n.value0.isNew&&e.value0.name===n.value0.name&&GDe(e.value0.tierSelector)(n.value0.tierSelector)&&ADe(e.value0.view)(n.value0.view):!1}}},Tan=me(Ian),Fan=function(e){return e.maxActivities-pa(e.activities)|0},HDe=function(e){if(e.editor instanceof Og||e.editor instanceof Mb)return!1;if(e.editor instanceof id||e.editor instanceof od)return!0;throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.Extracurriculars (line 357, column 15 - line 361, column 21): "+[e.editor.constructor.name])},Man=function(e){return function(n){if(n instanceof SA&&LDe(HDe)(e)){var t=san(iu(e.activities))(n.value0.index);if(n.value0.index instanceof d&&t instanceof d){var a=yA(e)(new d(t.value0));return yu({activities:e.activities,activitiesToDestroy:e.activitiesToDestroy,attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:new od({index:n.value0.index.value0,state:a})})}var a=yA(e)(C.value);return yu({activities:e.activities,activitiesToDestroy:e.activitiesToDestroy,attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:new id(a)})}if(n instanceof SA)return yu(e);if(n instanceof CU&&LDe(HDe)(e))return yu({activities:e.activities,activitiesToDestroy:e.activitiesToDestroy,attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:new Mb({activity:n.value0.activity})});if(n instanceof CU)return yu(e);if(n instanceof IU)return yu({activities:e.activities,activitiesToDestroy:e.activitiesToDestroy,attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:Og.value});if(n instanceof EA){var r=function(l){return yu({activitiesToDestroy:e.activitiesToDestroy,attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:Og.value,activities:l(e.activities)})},o=function(l){return r(function(c){return Se(c)(l(c))})};if(e.editor instanceof Mb)return yu({attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:Og.value,activities:fan(e.editor.value0.activity)(e.activities),activitiesToDestroy:wi(e.editor.value0.activity)(e.activitiesToDestroy)});var t=function(l){var c=function(f){return yu(e)};if(e.editor instanceof id){var s=bA(e.editor.value0);return s instanceof d?r(function(f){return jDe(f)([s.value0])}):c(!0)}return c(!0)};if(e.editor instanceof od){var i=bA(e.editor.value0.state);return i instanceof d?o(MT(e.editor.value0.index)(i.value0)):t(!0)}return t(!0)}if(n instanceof Pg&&n.value0 instanceof iI)return SU(NDe(PDe(IU.value)))(function(){return yu(e)});if(n instanceof Pg&&n.value0 instanceof RA)return SU(NDe(PDe(EA.value)))(function(){return yu(e)});if(n instanceof Pg)return e.editor instanceof od?EU(ODe(Pg.create)(wU(e.editor.value0.state)(n.value0)))(function(u){return yu({activities:e.activities,activitiesToDestroy:e.activitiesToDestroy,attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:new od({index:e.editor.value0.index,state:u})})}):e.editor instanceof id?EU(ODe(Pg.create)(wU(e.editor.value0)(n.value0)))(function(u){return yu({activities:e.activities,activitiesToDestroy:e.activitiesToDestroy,attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:new id(u)})}):yu(e);throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.Extracurriculars (line 300, column 1 - line 300, column 55): "+[e.constructor.name,n.constructor.name])}},Gan=function(e){return $m(function(){return e.compactView?"container-xs":""}())([Fb("font-weight-bold fw-bold")("Add up to "+(kDe(e.maxActivities)+" unique extracurricular activities")),$m("row")(van(jDe(e.activities)([e.addNewButton(Fan(e))(e.onStartEditing)]))(function(n){return man(ks("col-12 col-md-6 d-flex")(n))})),e.hiddenInputs,Cn(!e.compactView)(Fb("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. `))])},Aan=10,xan=function(e){return function(n){if(e>0)return ks("card")($m("card-body")([ks("align-middle pb-2")(pan("btn btn-link p-0 t--add-new-ec")({type:"button",onClick:n})([_an("fe fe-plus")(ln),dan("")("Add new activity")])),han("")("You can add "+(kDe(e)+(" more "+(function(){var t=e===1;return t?"activity":"activities"}()+". Your activities will show up on this page."))))]));if(Le)return ln;throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.Extracurriculars (line 150, column 1 - line 150, column 78): "+[e.constructor.name,n.constructor.name])}},Lan=function(e){return function(n){return function(t){var a=function(c){var s=UDe(bu(can)(h_))(UDe(bu(gan)(Wf))(bu(Dan)(Ol)));return function(f){return f>1}(pa(Lr(s(c))(n.activities)))},r=function(c){return yan("")({type:"hidden",name:c,value:ban(Qh(n.activities))})},o=function(){return n.editor instanceof od?B1("ec-editor-modal")(RU(e)(n.editor.value0.state)(function(c){return t(Pg.create(c))})):n.editor instanceof id?B1("ec-editor-modal")(RU(e)(n.editor.value0)(function(c){return t(Pg.create(c))})):ln}(),i=function(c){return function(s){if(Tan(n.editor)(new Mb({activity:s})))return ks("card mx-auto")($m("card-body")([Fb("")("Delete this activity?"),$m("row")([ks("col-12 col-sm-6 text-center")(wA("btn btn-secondary px-4 text-nowrap t--no-dont-remove")({type:"button",onClick:uI(t)(IU.value)})("Keep it")),ks("col-12 col-sm-6 text-center mt-2 mt-md-0")(wA("btn btn-danger px-4 text-nowrap t--yes-remove")({type:"button",onClick:uI(t)(EA.value)})("Delete it"))])]));if(Le){var f=function(_){return _===""?Fb("text-muted")("No activity name yet"):Fb("")(_)},v=function(){if(n.compactView)return"";if(Le)return Se("")(ZS(s));throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.Extracurriculars (line 275, column 7 - line 277, column 69): "+[])}(),m=function(){var _=zr(v)>100;return _?os(100)(v)+"\u2026":v}();return Ran("card d-flex w-100 t--ec-activity")({_data:wan({"test-id":"ec-selector-activity-view"})})([ks("card-body pb-0")($m("row")([$m("col-12")([Cn(a(s))(ks("d-flex justify-content-end")($m("badge badge-warning bg-warning text-dark")([San("")("Smart Alert: "),Y("this activity appears twice")]))),f(h_(s)),Ean("")([Y(__(Wf(s))),Y(" | Tier "),Y(P1(Ol(s)))])]),ks("col-12 mt-n2")(Fb("text-muted small")(m))])),ks("card-footer border-top-0 pt-0")($m("row")([ks("col col-6 ml-sm-auto")(wA("btn btn-link p-0 t--edit")({type:"button",onClick:uI(t)(new SA({index:new d(c)}))})("Edit")),ks("col col-6 ml-sm-auto text-right")(wA("btn btn-link btn-secondary-outline p-0 t--remove")({type:"button",onClick:uI(t)(new CU({activity:s}))})("Remove"))]))])}throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.Extracurriculars (line 206, column 3 - line 277, column 69): "+[c.constructor.name,s.constructor.name])}},u=Av(i)(n.activities),l={activities:u,ecActivities:n.activities,hiddenInputs:He(n.attributesPath)(r),addNewButton:xan,maxActivities:n.maxActivities,compactView:n.compactView,onStartEditing:uI(t)(new SA({index:C.value})),redirectUrlOverride:C.value};return ue([n.defaultView(l),o])}}},BDe=Ku("Extracurriculars")(function(e){return{init:yu({activities:e.extracurriculars,attributesPath:C.value,attributesFormGroup:"",activitiesToDestroy:[],editor:Og.value,compactView:e.compactView,maxActivities:Se(Aan)(e.maxActivities),defaultView:Se(Gan)(e.defaultView)}),view:function(n){return Lan(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 EU(Man(n)(t))(function(a){return SU(function(){return t instanceof EA?wr(Can(e.onChange(a.activities))):yu(Ie)}())(function(){return yu(a)})})}}}});var jan=on(),Nan=te(Ci),Pan=rt(J)()(),JDe=bme(yme)()(),WDe=Wz(ru),Gb=B(J),lI=B(x),qDe=Z(Ot),Oan=Kh(qn($n()(E({reflectSymbol:function(){return"imageUrl"}})(ie)(E({reflectSymbol:function(){return"schoolId"}})(ls)(E({reflectSymbol:function(){return"schoolName"}})(ie)(E({reflectSymbol:function(){return"score"}})(Ft)(_e))))))),TU=X(he);var FU=B(ae),kan=X(H),Uan=zn(Nn),CA=Uan(Xt),IA=$r(Dt),TA=q(sa),ud=q(ht),Han=co(x),MU=aa(x)()(),Ban=Qt($o),Jan=Yf(),Wan=nn(ae),qan=te(j1),zan=Pa(lr(ta)),$an=Ds(J),zDe=Dn(gn),GU=hn(zDe)(mn(vn)),$De=_n(pn),AU=dn($De),VDe=Rn(bn),xU=yn(VDe),Van=Ic(ae),FA=Qt(er),LU=An(uo),MA=function(){function e(){}return e.value=new e,e}(),GA=function(){function e(){}return e.value=new e,e}(),jU=function(){function e(){}return e.value=new e,e}(),AA=function(){function e(){}return e.value=new e,e}(),Qan=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),QDe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),YDe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),XDe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),ZDe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),KDe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),kg=function(){function e(){}return e.value=new e,e}(),e1e=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Yan={to:function(e){if(e instanceof U)return MA.value;if(e instanceof p&&e.value0 instanceof U)return GA.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof U)return jU.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p)return AA.value;throw new Error("Failed pattern match at Guidance.LiteChancingCta (line 95, column 1 - line 95, column 39): "+[e.constructor.name])},from:function(e){if(e instanceof MA)return new U(ce.value);if(e instanceof GA)return new p(new U(ce.value));if(e instanceof jU)return new p(new p(new U(ce.value)));if(e instanceof AA)return new p(new p(new p(ce.value)));throw new Error("Failed pattern match at Guidance.LiteChancingCta (line 95, column 1 - line 95, column 39): "+[e.constructor.name])}},Xan=wn(Yan)(GU(GU(GU(zDe)($De))(AU))(AU))(xU(xU(xU(VDe))))(AU),n1e=function(e){if(e instanceof MA)return"Female";if(e instanceof GA)return"Male";if(e instanceof jU)return"Non-binary / third gender";if(e instanceof AA)return"Gender not specified";throw new Error("Failed pattern match at Guidance.LiteChancingCta (line 98, column 20 - line 102, column 43): "+[e.constructor.name])},t1e=function(e){return Se(e)(jt(iu)(1)(Si("|")(e)))},a1e=function(e){return{label:e.name,value:jan(e.slug)+("_"+Nan(e.id))}},Zan=function(){var e=jt(iu)(1),n=Si("_");return function(t){return e(n(function(a){return a.value}(t)))}}(),r1e=function(e){return Pan(e.className)({style:Sn({flexBasis:"46%"})})([e.label,JDe({min:200,max:800,step:10,value:WDe(200)(800)(e.score),trackColor:"#008CFD",fillBefore:!0,ariaLabel:"SAT "+(e.ariaLabelPartial+" score slider"),onChange:e.onChange,onFinalChange:e.onFinalChange}),Gb("mt-2 d-flex flex-row justify-content-between")([lI("")("200"),lI("")("800")])])},Kan=Xr(Mr(Go))("blog_lite_chancing_path")(function(e){return function(n){return qDe(e(n))(kr(function(t){return Oan("Lite Chancing Response")(t)(function(a){return new d(TU(a)(function(r){return{imageUrl:r.imageUrl,schoolId:r.schoolId,schoolName:r.schoolName,score:new d(r.score)}}))})}))}});var ern=function(e){return Gb(e.className)([e.label,FU("t--lite-chancing-cta-left-sidebar-gpa")(JDe({min:1,max:4,step:.1,value:WDe(1)(4)(e.gpa),trackColor:"#008CFD",fillBefore:!0,ariaLabel:"GPA slider",onChange:e.onChange,onFinalChange:e.onFinalChange})),Gb("mt-2 d-flex flex-row justify-content-between")([lI("")("1.0"),lI("")("4.0")])])},nrn=function(e){return e instanceof MA?"female":e instanceof GA?"male":"other"},o1e=function(e){return function(n){var t=Co(function(o){return kan(Zan(o))(lF)})(e),a=nrn(n.genderOption),r=Qh(n.ecs);return CA(IA(qDe(Kan({schoolIds:t,gpa:n.gpa,satMath:n.satMath,satVerbal:n.satVerbal,gender:a,ecs:r}))(function(o){return TA(new Kn(new e1e(o)))})))(function(){return ud({ecs:n.ecs,genderOption:n.genderOption,gpa:n.gpa,redirectUrlOverride:n.redirectUrlOverride,satMath:n.satMath,satVerbal:n.satVerbal,chancingIsLoading:!0})})}},i1e=function(e){return o1e(e.schoolItems)({gpa:3.7,satMath:720,satVerbal:800,genderOption:AA.value,ecs:[],chancingIsLoading:!1,redirectUrlOverride:e.redirectUrlOverride})},u1e=function(e){return function(n){return function(t){if(t instanceof Kn&&t.value0 instanceof QDe)return CA(IA(TA(new Kn(kg.value))))(function(){return ud({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 Kn&&t.value0 instanceof XDe)return CA(IA(TA(new Kn(kg.value))))(function(){return ud({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 Kn&&t.value0 instanceof YDe)return ud({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 Kn&&t.value0 instanceof ZDe)return ud({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 Kn&&t.value0 instanceof KDe)return ud({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 Kn&&t.value0 instanceof kg)return o1e(e.schools)(n);if(t instanceof Kn&&t.value0 instanceof e1e)return CA(IA(TA(new Yt(new Qan(t.value0.value0)))))(function(){return ud({ecs:n.ecs,genderOption:n.genderOption,gpa:n.gpa,redirectUrlOverride:n.redirectUrlOverride,satMath:n.satMath,satVerbal:n.satVerbal,chancingIsLoading:!1})});if(t instanceof Yt)return ud(n);throw new Error("Failed pattern match at Guidance.LiteChancingCta (line 167, column 21 - line 192, column 27): "+[t.constructor.name])}}},l1e=A4,trn=function(e){return function(n){return ue([Gb("t--lite-chancing-mobile-and-left-sidebar-extracurriculars d-flex"+(" flex-row justify-content-between align-items-center "+e.className))([Han("mt-3")("Extracurriculars"),FU("")(Cn(ou(n.ecActivities))(MU("t--lite-chancing-mobile-and-left-sidebar-add-ec")({href:"#",onClick:Ban(function(t){return function(){return Jan(t)(),n.onStartEditing(t)}}),"aria-label":"Add extracurriculars"})("+ add")))]),Gb("mt-0 pb-3 mb-2")(TU(n.ecActivities)(function(t){return Wan("badge badge-soft-secondary bg-secondary-soft small mr-1"+(" t--lite-chancing-cta-left-sidebar-add-criteria-"+__(Wf(t))))(Y(qan(Wf(t))))})),Cn(zan(ou)(n.ecActivities))(FU("card bg-white border-dashed")(Gb("card-body "+e.className)([Y("To add more ECs & see chances for 1,500 schools, "),MU("t--lite-chancing-mobile-and-left-sidebar-create-a-profile")({href:Se(l1e)(e.redirectUrlOverride)})("create a full profile")]))),lI("mb-2")("")])}};var c1e=function(e){return function(n){return function(t){return t({redirectUrl:Se(l1e)(e.redirectUrlOverride),ecSelector:function(a){return BDe({extracurriculars:e.ecs,compactView:!0,onChange:function(r){return function(){return n(new Kn(new QDe(r)))(),a.onChange()}},maxActivities:new d(1),defaultView:new d(trn({redirectUrlOverride:e.redirectUrlOverride,className:a.className})),featureFlags:{showGenerateEcDescription:!1}})},genderDropdown:function(a){return L4("t--lite-chancing-cta-gender gender-dropdown w-100")({toggleClass:"btn btn-outline-secondary mw-100 text-truncate "+a.className,toggleContent:Y(n1e(e.genderOption)),content:function(r){return $an(r.className+" dropdown-menu shadow")(TU(Xan)(function(o){return Van("hover-bg-light")(MU("btn btn-link text-body d-block text-left t--lite-chancing-cta-gender-option")({onClick:FA(function(){return n(new Kn(new XDe(o)))(),a.onChange()})})(n1e(o)))}))}})},gpaSlider:function(a){return ern({gpa:e.gpa,className:a.className,onChange:LU(n)(function(r){return Kn.create(YDe.create(r))}),onFinalChange:FA(function(){return n(new Kn(kg.value))(),a.onChange()}),label:a.label(e.gpa)})},requestChances:n(new Kn(kg.value)),satMathScoreSlider:function(a){return r1e({score:e.satMath,onChange:LU(n)(function(r){return Kn.create(ZDe.create(r))}),onFinalChange:FA(function(){return n(new Kn(kg.value))(),a.onChange()}),label:a.label(jr(e.satMath)),className:a.className,ariaLabelPartial:"math"})},satVerbalScoreSlider:function(a){return r1e({score:e.satVerbal,onChange:LU(n)(function(r){return Kn.create(KDe.create(r))}),onFinalChange:FA(function(){return n(new Kn(kg.value))(),a.onChange()}),label:a.label(jr(e.satVerbal)),className:a.className,ariaLabelPartial:"verbal"})}})}}};var NU=function(){function e(){}return e.value=new e,e}(),PU=function(){function e(){}return e.value=new e,e}(),OU=function(){function e(){}return e.value=new e,e}(),kU=function(){function e(){}return e.value=new e,e}(),UU=function(){function e(){}return e.value=new e,e}();var Ug=function(e){if(e instanceof NU)return"much lower than average";if(e instanceof PU)return"lower than average";if(e instanceof OU)return"about average";if(e instanceof kU)return"above average";if(e instanceof UU)return"among the highest";throw new Error("Failed pattern match at Common.Quintile (line 30, column 15 - line 35, column 28): "+[e.constructor.name])},ld=function(e){if(e<.2)return NU.value;if(e<.4)return PU.value;if(e<.6)return OU.value;if(e<.8)return kU.value;if(Le)return UU.value;throw new Error("Failed pattern match at Common.Quintile (line 21, column 1 - line 21, column 37): "+[e.constructor.name])};var arn=aa(J)()(),rrn=X(H),orn=Mn(J)()(),irn=Qt(er),HU=ia(x),urn=Z(wv),lrn=q(N0),s1e=B(J),f1e=_u(x),v1e=B(ae),crn=pi(ae)()(),srn=nn(x),frn=nn(J),m1e=B(x);var vrn=vr(Ba),mrn=function(e){return function(n){var t=function(a){if(n instanceof Ej)return arn(a)({href:Eie(rrn(n.value0)(function(r){return{slug:r.slug,tab:Qi.value}}))});if(n instanceof gie)return orn(a)({onClick:irn(n.value0)});throw new Error("Failed pattern match at SchoolDetails.Utils (line 161, column 15 - line 168, column 46): "+[n.constructor.name])};return t(e)([HU("material-symbol mr-2")("tune"),Y(" Simulate chances")])}},p1e=mrn("btn btn-outline-primary d-flex align-items-center justify-content-center px-4"),cd=function(e){var n=B(e);return function(t){var a=B(t);return function(r){return ue(TD(urn(r)(function(o){return lrn([s1e("row align-items-center")([n("col text-nowrap")(o.title),a("col-auto font-weight-semibold")(o.value)]),za("")])})))}}},Hg=function(e){return B(e)("t--subtitle")},prn=Hg(J),Ab=function(e){var n=bh(e);return function(t){return function(a){return prn([ue(n(t)),Y(" "),f1e("text-secondary")(a)])}}},_1e=function(e){var n=B(e);return function(t){return function(a){return function(r){return s1e("row "+a)([v1e("col-auto")(HU(r+(" fe large fe-"+t.icon))("")),n("col pl-0")(t.body)])}}}},BU=function(e){var n=_1e(e);return function(t){return n(t)("mb-3")("")}},d1e=function(e){var n=_1e(e);return function(t){return n(t)("mb-4")("text-secondary font-weight-bold fw-bold")}},h1e="bg-very-light-grey d-inline-block rounded-pill border small mr-2 mb-2 py-2 px-3",cI=function(e){return function(n){return v1e(h1e)(crn({placement:Ms,overlay:srn("text-secondary")(n),overlayStyle:Sn({width:"15rem"})})(frn("d-inline-flex align-items-center")([Y(e),HU("d-inline-block fe fe-help-circle ml-2 text-secondary")("")])))}},sl=m1e(h1e);var Ja=function(e){return m1e("x-large "+e)};var xA=function(e){if(e.totalUndergrads<200)return"fewer than 200";if(Le)return bs(vrn(e.totalUndergrads)(100)*100|0);throw new Error("Failed pattern match at SchoolDetails.Utils (line 143, column 1 - line 143, column 71): "+[e.constructor.name])};var LA=f1e("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 _rn=ia(ae),drn=aa(ae)()(),xb=function(){function e(){}return e.value=new e,e}(),JU=function(){function e(){}return e.value=new e,e}(),sI=function(){function e(){}return e.value=new e,e}(),D0=function(e){return function(n){var t=function(o){return _rn("fe fe-external-link "+o)(ln)},a=t2(n),r=Y(Se(a.siteName)(e.text));return drn(e.className)({href:a.url,target:"_blank",rel:"noopener"})(function(){if(e.icon instanceof xb)return r;if(e.icon instanceof JU)return ue([t("mr-1 large"),r]);if(e.icon instanceof sI)return ue([r,t("ml-1")]);throw new Error("Failed pattern match at SchoolDetails.Website (line 29, column 5 - line 32, column 54): "+[e.icon.constructor.name])}())}},g1e=function(){return D0({className:"text-body mt-1 d-inline-block",icon:xb.value,text:C.value})}();var yrn=B(J),brn=aa(x)()(),zU=function(e){return e.chancing.endorsed?ln:yrn("my-1 ml-1 small text-gray-800")([Y("Chancing is not endorsed by "),Y(e.name),Y("."),He(e.chancing.moreInfoLink)(function(n){return ue([Y(" If interested in applying, learn more about "),brn("")({href:n})("how to prepare ")])})])};var R1e=X(H),Grn=Mn(ae)()(),w1e=An(mt),Arn=B(J),S1e=nn(x),xrn=Mn(x)()();var sd=function(){function e(){}return e.value=new e,e}(),Lb=function(){function e(){}return e.value=new e,e}(),jb=function(){function e(){}return e.value=new e,e}(),fd=function(){function e(){}return e.value=new e,e}(),Nb=function(){function e(){}return e.value=new e,e}(),Pb=function(){function e(){}return e.value=new e,e}(),Ob=function(){function e(){}return e.value=new e,e}(),kb=function(){function e(){}return e.value=new e,e}(),E1e={to:function(e){if(e instanceof U)return sd.value;if(e instanceof p&&e.value0 instanceof U)return Lb.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof U)return jb.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof U)return fd.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 U)return Nb.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 U)return Pb.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 U)return Ob.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)return kb.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 U(ce.value);if(e instanceof Lb)return new p(new U(ce.value));if(e instanceof jb)return new p(new p(new U(ce.value)));if(e instanceof fd)return new p(new p(new p(new U(ce.value))));if(e instanceof Nb)return new p(new p(new p(new p(new U(ce.value)))));if(e instanceof Pb)return new p(new p(new p(new p(new p(new U(ce.value))))));if(e instanceof Ob)return new p(new p(new p(new p(new p(new p(new U(ce.value)))))));if(e instanceof kb)return new p(new p(new p(new p(new p(new p(new p(ce.value)))))));throw new Error("Failed pattern match at Sem.SchoolDetails.Edit.Section (line 53, column 1 - line 53, column 34): "+[e.constructor.name])}},C1e=function(e){if(e instanceof sd)return"Basic Info";if(e instanceof jb)return"Admissions";if(e instanceof fd)return"Costs";if(e instanceof Nb)return"Enrollment";if(e instanceof Pb)return"Application Requirements";if(e instanceof Ob)return"Academic Offerings";if(e instanceof kb)return"Chancing";if(e instanceof Lb)return"Header Image";throw new Error("Failed pattern match at Sem.SchoolDetails.Edit.Section (line 138, column 16 - line 146, column 32): "+[e.constructor.name])},kA=function(e){if(e instanceof sd)return"basic";if(e instanceof jb)return"admissions";if(e instanceof fd)return"costs";if(e instanceof Nb)return"enrollment";if(e instanceof Pb)return"admission-requirements";if(e instanceof Ob)return"academic-offerings";if(e instanceof kb)return"chancing";if(e instanceof Lb)return"header-image";throw new Error("Failed pattern match at Sem.SchoolDetails.Edit.Section (line 149, column 13 - line 157, column 32): "+[e.constructor.name])},I1e=function(e){return function(n){return R1e(e)(function(t){return Grn("btn btn-outline-primary t--edit-"+kA(n))({onClick:w1e(t)(n)})(Arn("d-flex align-content-center")([S1e("material-symbol x-large")("edit"),S1e("ml-2")("Edit")]))})}},Ki=function(e){return function(n){return R1e(e)(function(t){return xrn("btn btn-link p-0 material-symbol x-large t--edit-"+kA(n))({onClick:w1e(t)(n)})("edit")})}};var Lrn=me(Pt(XZ)),jrn=zn(Nn)(Ae),Nrn=qr(wo),Prn=Qu(iM),T1e=Z(Ae),Orn=q(kn),iv=B(J),F1e=At(x),krn=_u(x),M1e=nn(x),G1e=B(ae),A1e=rt(x)()(),Urn=ia(x),Hrn=ut(x),Brn=j(he),$U=function(e){var n=Lrn(e.school.appGroup)(new d(KZ)),t=function(){if(e.school.admissions.reqClassRank instanceof C||e.school.admissions.reqClassRank instanceof d&&e.school.admissions.reqClassRank.value0 instanceof ci)return!1;if(e.school.admissions.reqClassRank instanceof d&&e.school.admissions.reqClassRank.value0 instanceof Il||e.school.admissions.reqClassRank instanceof d&&e.school.admissions.reqClassRank.value0 instanceof gc)return!0;throw new Error("Failed pattern match at SchoolDetails.Overview.Applications (line 65, column 26 - line 69, column 28): "+[e.school.admissions.reqClassRank.constructor.name])}(),a=Se(Il.value)(e.school.admissions.reqStandardTests),r=ue([Sa(jrn(Nrn(Prn(a)([Il.value,gc.value])))(function(){return T1e(e.school.admissions.fracSubmittedSat)(function(o){return T1e(e.school.admissions.fracSubmittedAct)(function(i){return Orn(iv("row mb-4")([iv("col-12 text-nowrap mb1")([iv("d-flex align-items-center mb-4")([F1e("mr-2 mb-0")("Tests typically submitted"),krn("")(` 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. `)]),iv("")([Y("SAT: "),M1e("font-weight-semibold")(Ga(o))]),G1e("progress progress-md mt-3 mt-2")(A1e("progress-bar")({style:Sn({width:xS(o)})})("")),za(""),iv("")([Y("ACT: "),M1e("font-weight-semibold")(Ga(i))]),G1e("progress progress-md mt-3")(A1e("progress-bar")({style:Sn({width:xS(i)})})(""))])]))})})})),iv("d-flex align-items-center")([Urn("fe fe-info large pr-2")(""),iv("")([Y(" Policies can change. Please confirm by looking at "),D0({className:"",icon:xb.value,text:new d("this school\u2019s website.")})(e.school.urls.main)])])]);return iv("card")([iv("card-body")([iv("d-flex align-items-center justify-content-between mb-4")([Hrn("my-0 mr-3 flex-grow-1")("Applications"),Sa(Ki(e.onEdit)(Pb.value))]),F1e("mb-4")("How to apply"),iv("mb-4")(Brn(sl)([function(){return n?"Accepts Common App":"Doesn\u2019t accept Common App"}(),kK(a),function(){var o=Se(Il.value)(e.school.admissions.reqRecLetters);if(o instanceof ci)return"Rec letters not used";if(o instanceof Il)return"Rec letters optional";if(o instanceof gc)return"Rec letters required";throw new Error("Failed pattern match at SchoolDetails.Overview.Applications (line 46, column 9 - line 49, column 45): "+[o.constructor.name])}(),function(){return t?"Considers class rank":"Doesn\u2019t consider class rank"}(),function(){var o=Se(Il.value)(e.school.admissions.reqToefl);if(o instanceof ci)return"TOEFL not used (international applicants)";if(o instanceof Il)return"TOEFL optional (international applicants)";if(o instanceof gc)return"TOEFL required (international applicants)";throw new Error("Failed pattern match at SchoolDetails.Overview.Applications (line 53, column 9 - line 56, column 66): "+[o.constructor.name])}()])),r])])},x1e=function(e){return $U(e)};var L1e=vr(Ba),Jrn=ko(P5()(DT({reflectSymbol:function(){return"p25"}})()(DT({reflectSymbol:function(){return"p75"}})()(N5)(zu))(zu))),Hi=B(J),vd=B(ae),j1e=At(x),uv=nt(x),N1e=Jn(Na),P1e=j(H),UA=Xv(x),Wrn=function(e){return L1e(e.p25+e.p75|0)(2)},O1e=function(e){if(e instanceof d)return Ga(e.value0);if(e instanceof C)return"Not Reported";throw new Error("Failed pattern match at SchoolDetails.AdmissionRequirements (line 133, column 37 - line 135, column 28): "+[e.constructor.name])},VU=function(e){return uh(",")("")(e)},Ub=function(e){if(e instanceof d)return VU(bs(e.value0.p25)+(" - "+bs(e.value0.p75)));if(e instanceof C)return"Not Reported";throw new Error("Failed pattern match at SchoolDetails.AdmissionRequirements (line 138, column 33 - line 140, column 28): "+[e.constructor.name])},qrn=function(e){return function(n){return Wrn(Jrn(e)(n))}},zrn=function(e){return function(n){return{p25:e.p25+n.p25|0,p75:e.p75+n.p75|0}}},$rn=ue([Hi("row")([vd("col-12 col-md-7")(co(x)("my-5")("Wondering your admission chance to this school? Calculate your chance now")),vd(" col-12 col-md-5 my-4")(U2()({text:"Calculate your admission chance",className:"btn btn-primary btn-block"}))])]),Vrn=function(e){if(e instanceof d)return VU(bs(L1e(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 128, column 36 - line 130, column 28): "+[e.constructor.name])},Qrn=function(e){var n=function(t){return vd("card bg-white")(Hi("card-body")(t))};return vd("row")(Hi("col-12")([n([j1e("")("SAT"),Hi("row")([Hi("col col-md-6")([uv("")("Average SAT "),Ja("")(VU(ke("Not Reported")(bs)(N1e(P1e(qrn)(e.admissions.satMath))(e.admissions.satVerbal))))]),Hi("col col-md-6")([uv("")("SAT 25th-75th"),Ja("")(Ub(N1e(P1e(zrn)(e.admissions.satMath))(e.admissions.satVerbal)))])]),Hi("row")([Hi("col col-md-6")([uv("mt-5")("Students Submitting SAT"),Ja("")(O1e(e.admissions.fracSubmittedSat))])]),Hi("row")([Hi("col col-md-6")([uv("mt-5")("Math"),UA("text-muted")("Average (25th - 75th)"),Ja("")(Ub(e.admissions.satMath))]),Hi("col col-md-6")([uv("mt-5 text-nowrap")("Reading and Writing"),UA("text-muted")("Average (25th - 75th)"),Ja("")(Ub(e.admissions.satVerbal))])])]),n([j1e("")("ACT"),Hi("row")([Hi("col col-md-6")([uv("")("Average ACT"),Ja("")(Vrn(e.admissions.actComposite))]),Hi("col col-md-6")([uv("")("ACT 25th-75th"),Ja("")(Ub(e.admissions.actComposite))])]),vd("row")(Hi("col col-md-6")([uv("mt-5")("Students Submitting ACT"),Ja("")(O1e(e.admissions.fracSubmittedAct))])),Hi("row")([Hi("col col-md-6")([uv("mt-5")("Math"),UA("text-muted")("Average (25th - 75th)"),Ja("")(Ub(e.admissions.actMath))]),Hi("col col-md-6")([uv("mt-5")("English"),UA("text-muted")("Average (25th - 75th)"),Ja("")(Ub(e.admissions.actVerbal))])])])]))},Yrn=function(e){return vd("card")(Hi("card-body")([uv("")("Acceptance Rate"),Ja("")(ke("Not reported")(function(n){return Ga(function(t){return t.value}(n))})(e.admissions.acceptanceRate))]))},Xrn=function(e){return vd("row")(vd("col-12")(Yrn(e)))},k1e=function(e){return ue([Xrn(e.school),Qrn(e.school),$rn,$U(e)])};var Zrn=nn(x),Krn=te(v2),QU=function(e){var n=function(t){return function(a){return Zrn("badge font-weight-bold fw-bold py-2 "+t)(a)}};if(e.strategy instanceof $a&&e.testPolicy instanceof d&&e.testPolicy.value0 instanceof ci)return n("badge-apply-test-optional")("Test-blind admissions");if(e.testPolicy instanceof d&&e.testPolicy.value0 instanceof ci)return Fo(zo)("Received strategy, "+(Krn(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 $a)return n("badge-apply-test-optional")("Apply test optional");if(e.strategy instanceof gr&&e.satOrigin instanceof d&&e.satOrigin.value0 instanceof L1)return n("badge-apply-with-sat")("Apply with SAT (projected from PSAT)");if(e.strategy instanceof gr)return n("badge-apply-with-sat")("Apply with SAT");if(e.strategy instanceof Or)return n("badge-apply-with-act")("Apply with ACT");throw new Error("Failed pattern match at Chancing.ApplicationStrategy (line 23, column 13 - line 39, column 51): "+[e.strategy.constructor.name,e.satOrigin.constructor.name,e.testPolicy.constructor.name])};var eon=j(Pf),non=Jn(Na),ton=j(H),YU=B(ae),U1e=B(J),H1e=At(x),aon=Yv(ae)()(),XU=nn(x),B1e=te(ze),J1e=ia(x),ron=on(),W1e=X(H),oon=X(Pf);var ZU=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),q1e=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),KU=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Hb=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}(),Bb=function(){function e(){}return e.value=new e,e}(),Jb=function(){function e(){}return e.value=new e,e}(),Wb=function(){function e(){}return e.value=new e,e}(),ion=function(e){return e};var HA={map:function(e){return function(n){return eon(function(t){return{regular:e(t.regular),simulated:e(t.simulated)}})(n)}}},z1e=function(e){return SS(function(n){return non(ton(function(t){return function(a){return a-t|0}})(n.regular.score))(n.simulated.score)})(e)},fI=function(e){return YU("card")(YU("card-body")(U1e("row")([YU("col-8 "+function(){return e.narrowLayout?"":"order-1"}())(H1e("")("Chancing for this school is coming soon")),U1e("col-4 order-md-0 d-flex flex-column align-items-center "+function(){return e.narrowLayout?"":"order-0"}())([aon("")({viewBox:"-100 -100 200 100"})(Sb({center:{x:0,y:0},angle0:0,angle1:xv,innerRadius:50,outerRadius:90,fill:"#EDF2F9",stroke:{color:"#EDF2F9",width:1}})),H1e("text-muted mt-2")("N/A")])])))};var BA=function(e){if(e instanceof ZU)return new d(e.value0);if(e instanceof q1e)return so(e.value0);if(e instanceof KU)return new d(Se(e.value0.regular)(so(e.value0.simulated)));throw new Error("Failed pattern match at Hub.Chancing (line 55, column 19 - line 58, column 101): "+[e.constructor.name])};var $1e=function(e){return function(n){return function(t){if(t instanceof qt&&t.value0>0)return XU("text-success "+e)("+"+(B1e(t.value0)+"%"));if(t instanceof qt&&t.value0<0)return XU("text-danger "+e)("-"+(B1e(-t.value0|0)+"%"));if(t instanceof qt)return ln;if(t instanceof ya)return ln;if(t instanceof nr)return XU("spinner-border spinner-border-sm text-primary "+e)("");throw new Error("Failed pattern match at Hub.Chancing (line 180, column 51 - line 185, column 85): "+[t.constructor.name])}(z1e(n))}},V1e=function(e){return function(n){return function(t){if(t instanceof qt&&t.value0>0)return J1e("fe fe-arrow-up text-success "+e)("");if(t instanceof qt&&t.value0<0)return J1e("fe fe-arrow-down text-danger "+e)("");if(t instanceof qt)return ln;if(t instanceof ya)return ln;if(t instanceof nr)return ln;throw new Error("Failed pattern match at Hub.Chancing (line 172, column 46 - line 177, column 25): "+[t.constructor.name])}(z1e(n))}},JA=function(e){var n=function(a){return function(r){if(e.chancingState.simulation instanceof d)return new Hb(e.chancingState.simulation.value0.effectiveProfile,new KU({regular:r,simulated:e.chancingState.simulation.value0.results(e.school.id)}));if(e.chancingState.simulation instanceof C)return new Hb(ron(a),new ZU(r));throw new Error("Failed pattern match at Hub.Chancing (line 120, column 7 - line 124, column 62): "+[e.chancingState.simulation.constructor.name])}},t=function(a){return Fo(zo)("Both chancing data and profile are present, but chancing result is absent")({schoolId:e.school.id})(function(r){return Wb.value})};if(!e.school.chancing.canChance)return Wb.value;if(e.currentUser instanceof C||e.chancingState.permanentProfile instanceof C)return Jb.value;if(e.chancingState.permanentProfile instanceof d){if(e.chancingState.chances instanceof ya)return t(Ie);if(e.chancingState.chances instanceof nr&&e.chancingState.chances.value0 instanceof C)return Bb.value;if(e.chancingState.chances instanceof nr&&e.chancingState.chances.value0 instanceof d)return Se(Bb.value)(W1e(e.chancingState.chances.value0.value0(e.school.id))(n(e.chancingState.permanentProfile.value0)));if(e.chancingState.chances instanceof qt)return wT(t)(W1e(e.chancingState.chances.value0(e.school.id))(n(e.chancingState.permanentProfile.value0)));throw new Error("Failed pattern match at Hub.Chancing (line 103, column 36 - line 111, column 83): "+[e.chancingState.chances.constructor.name])}throw new Error("Failed pattern match at Hub.Chancing (line 91, column 21 - line 111, column 83): "+[e.constructor.name])},WA=function(e){return ion(function(n){if(n instanceof ZU)return ya.value;if(n instanceof q1e)return ya.value;if(n instanceof KU)return oon(n.value0.simulated)(function(t){return{regular:n.value0.regular,simulated:t}});throw new Error("Failed pattern match at Hub.Chancing (line 157, column 29 - line 163, column 44): "+[n.constructor.name])}(e))};var uon=j(he),lon=nt(x),Q1e=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 o_)return a;if(e instanceof Bh||e instanceof Jh)return n;if(e instanceof Wh)return t;throw new Error("Failed pattern match at SchoolDetails.Chancing.Classification (line 18, column 18 - line 22, column 38): "+[e.constructor.name])}();return ue(uon(lon(""))(r))};var qb=B(ae),eH=ia(x),con=rt(x)()(),son=vr(Ba),fon=Nt(xr),von=Jn(Na),mon=j(H),nH=B(J),pon=nn(J),_on=nn(x),don=Mn(J)()(),hon=Qt(er),zb=qb("col-auto")(aa(J)()()("")({href:jm})([eH("fe fe-edit-2")(""),Y(" edit")])),$b=function(e){if(e instanceof fm)return"success";if(e instanceof vm)return"primary";if(e instanceof Uf)return"warning";if(e instanceof Mc)return"secondary";throw new Error("Failed pattern match at SchoolDetails.Chancing.Common (line 113, column 17 - line 117, column 28): "+[e.constructor.name])},Jg=function(e){return function(n){return function(t){return qb("progress progress-"+e)(con("progress-bar bg-"+n)({style:Sn({width:xS(t)})})(""))}}},Y1e=function(e){var n=function(t){return function(a){return son(t+a|0)(2)}};return{p25:e.p25,p75:e.p75,p50:fon(e.p50)(von(mon(n)(e.p25))(e.p75))}},md=function(e){return function(n){var t=$b(n),a=function(r){return function(o){return nH("d-flex large font-weight-bold fw-bold mb-3")([eH("mr-3 fe fe-"+(o+(" text-"+t)))(""),pon("")([Y(e),_on("text-"+t)(" \u2013 "+r)])])}};if(n instanceof fm)return a("above average")("check-circle");if(n instanceof vm)return a("about average")("thumbs-up");if(n instanceof Uf)return a("below average")("trending-down");if(n instanceof Mc)return a("N/A")("refresh-ccw");throw new Error("Failed pattern match at SchoolDetails.Chancing.Common (line 95, column 3 - line 99, column 45): "+[n.constructor.name])}},tH=function(e){if(e.expanded){var n=don("btn btn-link px-0 t--show-less")({onClick:hon(e.onCollapse)})([Y("show less "),eH("fe fe-chevron-up")("")]);return qb("card bg-very-light-grey mt-3")(nH("card-body "+e.card.testClass)([nH("row")([qb("col")(e.card.title),qb("col-auto d-none d-md-block")(n)]),e.card.content,qb("d-md-none d-flex justify-content-end mt-3")(n)]))}if(Le)return e.card.title;throw new Error("Failed pattern match at SchoolDetails.Chancing.Common (line 46, column 1 - line 46, column 89): "+[e.constructor.name])},X1e=function(e){return gt(e.p25)&>(e.p50)&>(e.p75)};var Z1e=B(J),K1e=B(x),eye=nt(J),nye=Ma(x),gon=te(ze),Don=aa(x)()(),tye=function(e){return function(n){var t=Z1e("row mb-2")([K1e("col-auto pr-0 large")("Your coursework"),Cn(e.showUpdateLinks)(zb)]),a=eye("")([Y("Coursework rigor is "),nye("")("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 ue([nye("")(gon(Se(0)(u))),Y(" "+(l+" "))])}},o=K1e("mb-3 large font-weight-bold fw-bold text-"+$b(n.chances.courseRigorStrength))(function(){if(n.chances.courseRigorStrength instanceof Mc)return"";if(n.chances.courseRigorStrength instanceof Uf)return"Your coursework is below average for this school";if(n.chances.courseRigorStrength instanceof vm)return"Your coursework is about average for this school";if(n.chances.courseRigorStrength instanceof fm)return"Your coursework is above average for this school";throw new Error("Failed pattern match at SchoolDetails.Chancing.CourseRigor (line 46, column 9 - line 50, column 82): "+[n.chances.courseRigorStrength.constructor.name])}()),i=eye("mb-0")([Y("Read about what "),Don("")({href:"https://blog.collegevine.com/category/academics/choosing-classes/",target:"_blank"})("courses you should take"),Y(".")]);return{title:md("Coursework")(n.chances.courseRigorStrength),testClass:"t--course-rigor",content:ue([t,Z1e("")([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 eu=function(){function e(){}return e.value=new e,e}(),nu=function(){function e(){}return e.value=new e,e}(),aye={show:function(e){if(e instanceof eu)return"SAT";if(e instanceof nu)return"ACT";throw new Error("Failed pattern match at Chancing.Guidance.Types.StandardizedTest (line 17, column 1 - line 19, column 19): "+[e.constructor.name])}};var rye=function(e){if(e instanceof eu)return nu.value;if(e instanceof nu)return eu.value;throw new Error("Failed pattern match at Chancing.Guidance.Types.StandardizedTest (line 27, column 1 - line 27, column 46): "+[e.constructor.name])};var yon=oi($e)(st),oye=function(){function e(){}return e.value=new e,e}(),iye=function(){function e(){}return e.value=new e,e}(),uye=function(e){return function(n){var t=function(){if(e instanceof oye)return"and";if(e instanceof iye)return"or";throw new Error("Failed pattern match at Utils.Text (line 30, column 24 - line 32, column 19): "+[e.constructor.name])}(),a=tQ(n);return a.init.length===0?a.last:a.init.length===1?a.init[0]+(" "+(t+(" "+a.last))):yon(", ")(a.init)+(", "+(t+(" "+a.last)))}},lye=function(){return uye(oye.value)}(),cye=function(){return uye(iye.value)}();var Us=So($e)(st),sye=j($0),Uu=te(ze),tu=q(kn),qA=te(D9),zA=O0()(),fye=yi({reflectSymbol:function(){return"math"}}),lv=Qc(ze),vye=Qc(Wi),cv=te(zA(yi({reflectSymbol:function(){return"act"}})(yi({reflectSymbol:function(){return"courseRigor"}})(yi({reflectSymbol:function(){return"ecActivities"}})(yi({reflectSymbol:function(){return"ecScore"}})(yi({reflectSymbol:function(){return"gpa"}})(yi({reflectSymbol:function(){return"psatPredictedCompositeSAT"}})(Vc({reflectSymbol:function(){return"sat"}})(zA(fye(Vc({reflectSymbol:function(){return"readingWriting"}})(lv))(lv))))(lv))(vye))(vye))(Dl(A9)))(zA(yi({reflectSymbol:function(){return"ap"}})(yi({reflectSymbol:function(){return"collegeClasses"}})(Vc({reflectSymbol:function(){return"honors"}})(lv))(lv))(lv))))(zA(yi({reflectSymbol:function(){return"english"}})(fye(yi({reflectSymbol:function(){return"reading"}})(Vc({reflectSymbol:function(){return"science"}})(lv))(lv))(lv))(lv))))),Wg=te(aye),bon=wte(sw)(f2),pd=te(b9),Vb=me(y9(A1)),mye=te(lv),$A=X(H),Ron=aa(x)()(),won=At(x),Son=nt(ae),Eon=nt(J),Con=Ma(x),Ion=function(e){return e},Ton=function(e){return e},aH=function(e){if(e instanceof eu)return gr.value;if(e instanceof nu)return Or.value;throw new Error("Failed pattern match at SchoolDetails.Chancing.Guidance (line 556, column 18 - line 558, column 22): "+[e.constructor.name])},Fon=function(e){if(e instanceof gr)return"with SAT";if(e instanceof Or)return"with ACT";if(e instanceof $a)return"with a test-optional application";throw new Error("Failed pattern match at SchoolDetails.Chancing.Guidance (line 550, column 17 - line 553, column 58): "+[e.constructor.name])},vI=function(e){return function(n){return Us(["Your simulated chances of admission ",lye(sye(Fon)(oQ(e)(n)))," are very close."])}},pye=60,sv=function(e){return function(n){return Fo(zo)("SchoolDetails.Chancing.Guidance: Invalid state: "+e)(n)(function(t){return C.value})}},_ye=3,mI=_u(x)("text-secondary ml-1")(Us(["If your SAT or ACT scores fall within ",Uu(pye)," points of the 25th percentile score (SAT) or ",Uu(_ye)," points of the 25th percentile score (ACT)"," for accepted students at a given college,"," then you should go ahead and submit them."])),VA=function(e){return ue([Y(Us([vI($a.value)(Zd(aH(e.standardizedTest)))," But because your score ",Uu(e.actualScore)," is ",function(){if(e.recommendedStrategy instanceof gr||e.recommendedStrategy instanceof Or)return"higher";if(e.recommendedStrategy instanceof $a)return"lower";throw new Error("Failed pattern match at SchoolDetails.Chancing.Guidance (line 495, column 7 - line 498, column 37): "+[e.recommendedStrategy.constructor.name])}()," than ",Uu(e.guidanceScore)])),mI,Y(Us([", we recommend you apply ",function(){if(e.recommendedStrategy instanceof gr)return"with SAT";if(e.recommendedStrategy instanceof Or)return"with ACT";if(e.recommendedStrategy instanceof $a)return"test-optional";throw new Error("Failed pattern match at SchoolDetails.Chancing.Guidance (line 505, column 7 - line 508, column 45): "+[e.recommendedStrategy.constructor.name])}(),"."]))])},Mon=function(e){return function(n){return function(t){return function(a){var r=j9(n),o=p_(n);if(e instanceof e0&&e.value0 instanceof sm&&r instanceof d&&o instanceof d)return tu({title:"Applying test-optional should be best for you",body:ue([Y(Us([vI($a.value)(zD(gr.value)([Or.value]))," But because your SAT score ",Uu(r.value0)," is lower than ",Uu(t)])),mI,Y(Us([" and your ACT score ",Uu(o.value0)," is lower than ",Uu(a)])),mI,Y(", we recommend you apply test-optional.")])});if(e instanceof e0&&e.value0 instanceof sm)return sv("\u2018Apply test optional too close with SAT + ACT\u2019 recommended but not both tests reported.")({guidance:qA(e),profile:cv(n)});if(e instanceof e0&&r instanceof C&&o instanceof C)return sv("\u2018Apply test optional too close with\u2026\u2019 recommended but no other tests reported.")({guidance:qA(e),profile:cv(n)});if(e instanceof e0&&e.value0 instanceof Of&&r instanceof d)return tu({title:"Applying test-optional should be best for you",body:VA({standardizedTest:eu.value,actualScore:r.value0,guidanceScore:t,recommendedStrategy:$a.value})});if(e instanceof e0&&e.value0 instanceof Of&&r instanceof C)return sv("\u2018Apply test optional (SAT too close)\u2019: No SAT reported.")({guidance:qA(e),profile:cv(n)});if(e instanceof e0&&e.value0 instanceof kf&&o instanceof d)return tu({title:"Applying test-optional should be best for you",body:VA({standardizedTest:nu.value,actualScore:o.value0,guidanceScore:a,recommendedStrategy:$a.value})});if(e instanceof e0&&e.value0 instanceof kf&&o instanceof C)return sv("\u2018Apply test optional (ACT too close)\u2019: No ACT reported.")({guidance:qA(e),profile:cv(n)});if(e instanceof OS&&r instanceof C&&o instanceof C)return tu({title:"Applying test-optional should be best for you",body:Y(Us(["You\u2019re good to apply without a test score."," If you later decide to take a test, a score of ",Uu(t),"+ for SAT or ",Uu(a),"+ for ACT will make your chance higher at this school."]))});if(e instanceof OS)return tu({title:"Applying test-optional should be best for you",body:Y(Us(["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 rc("SchoolDetails.Chancing.Guidance: No tests reported.");throw new Error("Failed pattern match at SchoolDetails.Chancing.Guidance (line 187, column 13 - line 196, column 86): "+[r.constructor.name,o.constructor.name])}(),"."]))});throw new Error("Failed pattern match at SchoolDetails.Chancing.Guidance (line 99, column 3 - line 199, column 10): "+[e.constructor.name,r.constructor.name,o.constructor.name])}}}},Gon=function(e){return function(n){return function(t){return function(a){var r=function(f){return"Applying with "+(Wg(f)+" should be best for you")},o=function(f){return ue([Y(Us([Fv(vI)(function(){return f.includeTestOptional?new Oe($a.value,zD(gr.value)([Or.value])):new Oe(aH(f.stronger.test),sye(aH)(Zd(f.weaker.test)))}())," But because your ",Wg(f.stronger.test)," score ",Uu(f.stronger.actualScore)," is higher than ",Uu(f.stronger.guidanceScore)])),mI,Y(Us([" and your ",Wg(f.weaker.test)," score ",Uu(f.weaker.actualScore)," is lower than ",Uu(f.weaker.guidanceScore)])),mI,Y(Us([", we recommend you apply with ",Wg(f.stronger.test),"."]))])},i=j9(n),u=p_(n),l=function(f){return function(v){return bon(zD(f)([v]))}},c=function(f){return"Your simulated chances of admission with "+(Wg(f)+(" are significantly higher than with a test-optional"+(" application and with "+(Wg(rye(f))+"."))))},s=function(f){return Y("Your simulated chances of admission with "+(Wg(f)+" are significantly higher than with a test-optional application."))};if(e instanceof Fc&&e.value0 instanceof sm&&i instanceof d&&u instanceof d)return tu({title:"You can apply with either SAT or ACT, or submit both of them",body:Y(Pr(" ")([vI($a.value)(zD(gr.value)([Or.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 Fc&&e.value0 instanceof sm)return sv("\u2018Apply with tests: SAT + ACT + test-optional too close\u2019 recommended but not both tests reported.")({guidance:pd(e),profile:cv(n)});if(e instanceof ws&&e.value0 instanceof sm&&i instanceof d&&u instanceof d)return tu({title:"You can apply with either SAT or ACT, or submit both of them",body:Y(Pr(" ")([vI(gr.value)(Zd(Or.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 ws&&e.value0 instanceof sm)return sv("\u2018Apply with tests: SAT + ACT too close\u2019 recommended but not both tests reported.")({guidance:pd(e),profile:cv(n)});if(e instanceof Fc&&i instanceof C&&u instanceof C)return sv("\u2018Apply with tests: [test] strongest (test-optional and [test] too close)\u2019 recommended but no tests reported.")({guidance:pd(e),profile:cv(n)});if(e instanceof Fc&&e.value0 instanceof Of&&i instanceof d&&Vb(e.value1)(x1($a.value)))return tu({title:r(eu.value),body:VA({standardizedTest:eu.value,actualScore:i.value0,guidanceScore:t,recommendedStrategy:gr.value})});if(e instanceof Fc&&e.value0 instanceof kf&&u instanceof d&&Vb(e.value1)(x1($a.value)))return tu({title:r(nu.value),body:VA({standardizedTest:nu.value,actualScore:u.value0,guidanceScore:a,recommendedStrategy:Or.value})});if(e instanceof Fc&&e.value0 instanceof Of&&i instanceof d&&u instanceof d&&Vb(e.value1)(l(Or.value)($a.value)))return tu({title:r(eu.value),body:o({stronger:{test:eu.value,actualScore:i.value0,guidanceScore:t},weaker:{test:nu.value,actualScore:u.value0,guidanceScore:a},includeTestOptional:!0})});if(e instanceof Fc&&e.value0 instanceof kf&&i instanceof d&&u instanceof d&&Vb(e.value1)(l(gr.value)($a.value)))return tu({title:r(nu.value),body:o({stronger:{test:nu.value,actualScore:u.value0,guidanceScore:a},weaker:{test:eu.value,actualScore:i.value0,guidanceScore:t},includeTestOptional:!0})});if(e instanceof Fc&&e.value0 instanceof Of&&i instanceof d&&u instanceof d&&Vb(e.value1)(x1(Or.value)))return tu({title:r(eu.value),body:o({stronger:{test:eu.value,actualScore:i.value0,guidanceScore:t},weaker:{test:nu.value,actualScore:u.value0,guidanceScore:a},includeTestOptional:!1})});if(e instanceof Fc&&e.value0 instanceof kf&&i instanceof d&&u instanceof d&&Vb(e.value1)(x1(gr.value)))return tu({title:r(nu.value),body:o({stronger:{test:nu.value,actualScore:u.value0,guidanceScore:a},weaker:{test:eu.value,actualScore:i.value0,guidanceScore:t},includeTestOptional:!1})});if(e instanceof Fc)return sv(Us(["\u2018Apply with tests: \u2026 too close\u2019: Unknown state:"," guidance: ",pd(e),", SAT: ",mye(i),", ACT: ",mye(u),", SAT guidance: ",Uu(t),", ACT guidance: ",Uu(a)]))({guidance:pd(e),profile:cv(n)});if(e instanceof ws&&i instanceof C&&u instanceof C)return sv("\u2018Apply with tests: [test] strongest\u2019 recommended but no tests reported.")({guidance:pd(e),profile:cv(n)});if(e instanceof ws&&e.value0 instanceof Of&&i instanceof d&&u instanceof d)return tu({title:r(eu.value),body:Y(c(eu.value))});if(e instanceof ws&&e.value0 instanceof kf&&i instanceof d&&u instanceof d)return tu({title:r(nu.value),body:Y(c(nu.value))});if(e instanceof ws&&e.value0 instanceof Of&&i instanceof d&&u instanceof C)return tu({title:r(eu.value),body:s(eu.value)});if(e instanceof ws&&e.value0 instanceof Of&&i instanceof C&&u instanceof d)return sv("\u2018Apply with tests: SAT strongest\u2019 recommended but ACT test reported.")({guidance:pd(e),profile:cv(n)});if(e instanceof ws&&e.value0 instanceof kf&&i instanceof C&&u instanceof d)return tu({title:r(nu.value),body:s(nu.value)});if(e instanceof ws&&e.value0 instanceof kf&&i instanceof d&&u instanceof C)return sv("\u2018Apply with tests: ACT strongest\u2019 recommended but SAT reported.")({guidance:pd(e),profile:cv(n)});throw new Error("Failed pattern match at SchoolDetails.Chancing.Guidance (line 212, column 3 - line 395, column 59): "+[e.constructor.name,i.constructor.name,u.constructor.name])}}}},Aon=function(e){return function(n){return function(t){var a=$A($A(t.sat.p25)(function(o){return o-pye|0}))(Ion),r=$A($A(t.act.p25)(function(o){return o-_ye|0}))(Ton);if(a instanceof d&&r instanceof d){if(e instanceof R9)return Mon(e.value0)(n)(a.value0)(r.value0);if(e instanceof w9)return Gon(e.value0)(n)(a.value0)(r.value0);throw new Error("Failed pattern match at SchoolDetails.Chancing.Guidance (line 72, column 7 - line 76, column 85): "+[e.constructor.name])}return tu({title:"We\u2019re still collecting detailed guidance data\u2026",body:ue([Y("Learn more about the "),Ron("")({href:"https://blog.collegevine.com/test-optional-coronavirus-policies"})("best test optional strategy recommendation"),Y(".")])})}}},dye=function(e){return function(n){return function(t){var a=Aon(e)(n)(t);return He(a)(function(r){return ue([won("")("Recommendation: "+r.title),Son("")(r.body),function(){var o=KS(n);if(o instanceof d&&o.value0 instanceof L1)return Eon("")([Con("")("Note:"),Y(" "),Y("Your SAT score is projected based on your PSAT score.")]);if(o instanceof d&&o.value0 instanceof HS)return ln;if(o instanceof C)return ln;throw new Error("Failed pattern match at SchoolDetails.Chancing.Guidance (line 43, column 9 - line 53, column 20): "+[o.constructor.name])}()])})}}};var xon=Mn(J)()(),Lon=An(mt),hye=me(P_),jon=ia(x),gye=B(J),Non=Xv(x),pI=nt(x),Dye=At(x),Pon=co(x),yye=B(ae),Oon=B(x),_I=function(e){var n=function(a){return xon("btn btn-link p-0 ml-2 d-flex align-items-center")({onClick:Lon(a.value1)(c0(a.value0))})([Y(function(){var r=hye(a.value0)(ar.value);return r?"show less ":"show more "}()),jon("fe fe-chevron-"+function(){var r=hye(a.value0)(ar.value);return r?"up":"down"}())("")])},t=function(a){return gye("card-body pb-3")([Non("text-uppercase text-secondary")("Learn about chancing"),pI("")("Colleges evaluate profiles using both academic and holistic reasons."),Dye("my-2")("We evaluate your profile like colleges do, considering all factors."),pI("")("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)."),Dye("my-2")("Academics are more than just grades, which we take into account."),pI("")("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."),za("border-gray-500"),Pon("")("How does the chancing calculator help me without counting in all the holistic factors?"),pI("")("You can use it as your baseline for building school lists, improving your profile, and coming up with application strategies."),pI("")("We also have tools and resources that can assist with writing essays and improving other holistic aspects."),He(a)(function(r){return yye("d-flex justify-content-end")(n(r))})])};return yye("card bg-light t--sidebar")(function(){return e.mobileLayout?FF(ua(Va.value))(function(a){var r=ri(a);if(r instanceof Va)return gye("card-body pb-3 d-flex align-items-center justify-content-between")([Oon("small font-weight-bold fw-bold")("Learn how your chances are calculated"),n(a)]);if(r instanceof ar)return t(new d(a));throw new Error("Failed pattern match at SchoolDetails.Chancing.Sidebar (line 21, column 49 - line 28, column 34): "+[r.constructor.name])}):t(C.value)}())};var bye=Dn(gn),fv=hn(bye)(mn(vn)),Rye=_n(pn),vv=dn(Rye),wye=Rn(bn),mv=yn(wye),kon=X(H),Uon=me(Ss),Hon=e_(J),Bon=MM(ae),Sye=Zp(J),rH=GM(x),Jon=Kp(J),Won=X(he),qon=Rl(ru),zon=Qv(x),$on=Qv(J),Eye=nn(x),Von=Qv(ae),Qon=B(J),Yon=B(x),Xon=function(){var e=wn(d_)(fv(fv(fv(fv(fv(fv(fv(fv(fv(fv(fv(bye)(Rye))(vv))(vv))(vv))(vv))(vv))(vv))(vv))(vv))(vv))(vv))(mv(mv(mv(mv(mv(mv(mv(mv(mv(mv(mv(wye))))))))))))(vv),n=ct(pa(e));return Av(function(t){return function(a){return{tier:a,strength:1-ct(t)/n}}})(e)}(),Cye=function(e){return function(n){return function(t){var a=function(c){return Se(0)(kon(Sp(function(s){return Uon(s.tier)(c)})(Xon))(function(s){return s.strength}))},r=Hon("table border border-light border-3")([Bon("")(Sye("")([rH("")("Activity"),rH("")("Tier"),rH("")("Strength")])),Jon("bg-white")(Won(qon(function(c){return-a(Ol(c))})(n.ecActivities))(function(c){return Sye("")([zon("")(h_(c)),$on("")([Eye("d-none d-md-inline")(P1(Ol(c))),Eye("d-md-none")(F9(Ol(c)))]),Von("pt-4")(Jg("sm")("primary")(a(Ol(c))))])}))]),o=ou(n.ecActivities),i=function(){if(o)return Mc.value;if(Le)return t.ecStrength;throw new Error("Failed pattern match at SchoolDetails.Extracurriculars (line 34, column 5 - line 36, column 39): "+[])}(),u=function(){if(i instanceof Uf)return Y("A typical student from your demographic background at this school has a stronger resume.");if(i instanceof vm)return Y("A typical student from your demographic background at this school has a similar resume.");if(i instanceof fm)return Y("Your resume is more impressive than that of a typical student from your demographic background at this school.");if(i instanceof Mc)return ln;throw new Error("Failed pattern match at SchoolDetails.Extracurriculars (line 68, column 26 - line 76, column 16): "+[i.constructor.name])}(),l=Qon("row mb-2")([Yon("col-auto pr-0 font-weight-bold fw-bold")(function(){return o?"You haven't entered any extracurriculars":"Your extracurricular resume"}()),Cn(e.showUpdateLinks)(zb)]);return{title:md("Extracurriculars")(i),testClass:"t--extracurriculars",content:ue([l,Cn(!o)(r),u])}}}};var dI=function(e){var n=_r(e);return n.length===0?C.value:new d(ue(n))};var Iye=Z(Ae),Tye=q(kn),Fye=Ab(x),Zon=Yv(J)()(),hI=B(ae),oH=te(ze),Mye=vr(Ba),qg=B(J),Gye=At(x),Aye=cd(x)(x),xye=nn(x),Kon=rt(x)()(),ein=Jn(Na),Qb=j(H),nin=Rr(st),tin=j(Ru),ain=on(),rin=ut(x),oin=function(e){var n=function(t){return Ug(ld(function(a){return a.percentile}(t)))};return Iye(e.admissions.yieldRate)(function(t){return Tye(ue([Fye("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, `+(Ga(t.value)+(" is "+(n(t)+`. `)))),Ja("mr-1")(Ga(t.value))]))})},Lye=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(Le)return" is less competitive than most schools";throw new Error("Failed pattern match at SchoolDetails.Overview.Admissions (line 131, column 7 - line 136, column 63): "+[])}();return e+t}},Yb=function(e){var n=function(r){return function(o){return function(i){return Sb({center:{x:0,y:0},angle0:r,angle1:o,innerRadius:50,outerRadius:90,fill:i,stroke:{color:"#EDF2F9",width:4}})}}},t=Sa(Iye(e.score)(function(r){var o=xv*(1-ct(r)/100);return Tye(n(o)(xv)("#008CFD"))})),a=n(0)(xv)("#EDF2F9");return Zon("")({viewBox:"-100 -100 200 100"})([a,t])},iin=function(e){return hI("t--admissions-website")(D0({className:"d-flex align-items-center",icon:JU.value,text:C.value})(Se(e.urls.main)(e.urls.admissions)))},iH=function(e){var n=function(o){return function(i){var u=function(l){return oH(Mye(l(i)*100|0)(l(o)))+"%"};return qg("mb-4")([Gye("mb-4")("Acceptance rate breakdown"),Aye([{title:"Women",value:u(function(l){return l.women})},{title:"Men",value:u(function(l){return l.men})}])])}},t=function(o){return ue([Gye("mb-4")("Applicant breakdown"),Aye([{title:"Total number of applicants",value:bs(o.value)}])])},a=function(o){var i=o.women+o.men|0,u=Mye(o.women*100|0)(i),l=oH(100-u|0)+"%",c=oH(u)+"%";return ue([qg("row mb-3")([qg("col")([Y("Women: "),xye("font-weight-semibold")(c)]),qg("col-auto")([Y("Men: "),xye("font-weight-semibold")(l)])]),hI("progress progress-md bg-warning")(Kon("progress-bar")({style:Sn({width:c})})(""))])},r=_r([ein(Qb(n)(e.admissions.applicants))(e.admissions.admitted),Qb(t)(e.admissions.totalApplicants),Qb(a)(e.admissions.applicants)]);return r.length===0?C.value:new d(ue(r))},zg=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(Le)return"less competitive than most schools";throw new Error("Failed pattern match at SchoolDetails.Overview.Admissions (line 120, column 5 - line 125, column 57): "+[a.constructor.name])},t=ke("")(function(a){return nin([Ga(a.value)," is ",n(a.value),"."])})(e.admissions.acceptanceRate);return Kv(a2.value)+t},jye=function(e){return function(n){var t=function(r){return ue([Fye("Overall acceptance rate")(zg(n)),Ja("mr-1")(Ga(r.value))])},a=dI([Qb(hI("row"))(dI([Qb(tin(hI("col-12 col-md-6 mb-4"))(t))(ain(n).admissions.acceptanceRate),Qb(hI("col-12 col-md-6 mb-4"))(oin(n))])),iH(n)]);return qg("card t--admission-stats")([qg("card-body")([qg("d-flex mb-4 align-items-center")([rin("mb-0 flex-grow-1")("Admissions"),Sa(Ki(e.onEdit)(jb.value))]),He(a)(function(r){return ue([r,za("")])}),iin(n)])])}};var Oc=B(J),uH=nn(x),Qm=Ma(x),$g=Z(Ae),Nye=q(kn),lH=US(bt),Pye=B(x),Xb=te(ze),Oye=B(ae),uin=X(H),kye=nt(J),lin=nt(x),cin=$ee(x),sin=aa(x)()(),fin=US(ru),cH=function(e){return function(n){return Oc("row align-items-center mb-2")([Oc("col-auto pr-0")([uH("mr-2")("You:"),function(){if(n.score instanceof C)return uH("text-secondary")("N/A");if(n.score instanceof d)return Qm("")(n.showScore(n.score.value0));throw new Error("Failed pattern match at SchoolDetails.TestScores (line 203, column 7 - line 205, column 49): "+[n.score.constructor.name])}(),Cn(n.simulated)(uH("text-muted ml-2")("(simulated)"))]),Cn(e.showUpdateLinks)(zb)])}},Uye=function(e){var n=US(e);return function(t){return function(a){var r=n(a.score)(a.percentiles);return r instanceof Uf?He(a.percentiles.p50)(function(o){return Oc("mt-3")([Y("Improving your "+(t+" can help your chances, especially if you can earn a ")),Qm("")(a.showScore(o)),Y(" or higher.")])}):ln}}},vin=Uye(ru),Hye=Uye(bt),Bye=function(e){var n=US(e);return function(t){if(t.score instanceof C)return ln;if(t.score instanceof d){var a=Jg("md")($b(n(new d(t.score.value0))(t.percentiles)))(t.normalizeScore(t.score.value0)),r=Sa($g(t.percentiles.p25)(function(o){return $g(t.percentiles.p75)(function(i){return $g(t.percentiles.p50)(function(u){return Nye(ue([Oc("mb-2 mt-3")([Y("Typical accepted student: "),Qm("")(t.showScore(u)),Y(" ("+(t.showScore(o)+("\u2013"+(t.showScore(i)+")"))))]),Jg("md")("secondary")(t.normalizeScore(u))]))})})}));return Oc("mb-2")([a,r])}throw new Error("Failed pattern match at SchoolDetails.TestScores (line 223, column 1 - line 223, column 72): "+[t.constructor.name])}},min=Bye(ru),Jye=Bye(bt),Wye=Oc("mt-3")([Y("Standardized tests are "),Qm("")("important"),Y(" for your admissions chances.")]),QA=function(e){var n=Y1e(e.percentiles),t=lH(e.score)(n);return Se(ln)($g(e.score)(function(a){return $g(n.p25)(function(r){return $g(n.p50)(function(o){return $g(n.p75)(function(i){return Nye(Oc("col-6 my-3")([Pye("large mb-2")(e.title),Oc("")([Y("You: "),Qm("")(Xb(a))]),Oye("my-2")(Jg("sm")($b(t))(e.normalizeScore(a))),Oye("mb-2 mt-3")(Jg("sm")("secondary")(e.normalizeScore(o))),Oc("small")([Y("Typical accepted: "),Qm("")(Xb(o)),Y(" ("+(Xb(r)+("\u2013"+(Xb(i)+")"))))])]))})})})}))},sH=function(e){return function(n){return Se(!1)(uin(e.chancingState.simulation)(function(t){return t.isFieldSimulated(n)}))}},fH=Pye("d-flex align-items-center mb-2 large"),pin=function(e){return function(n){return function(t){return ue([fH("Notes on Test Optional"),kye("")([Qm("")("Our take: consider applying test optional for this school.")]),lin("")("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."),Cn(X1e(t.percentiles))(He(t.percentiles.p25)(function(a){return kye("")([Y("For reference, we estimate that the 25"),cin("")("th"),Y(" percentile "+(n+" score at this school is ")),Qm("")(t.showScore(a)),Y(". So if you\u2019re around or below this score, it would make sense to apply test optional.")])}))])}}},qye=pin(bt),vH=function(e){return function(n){return Oc("my-3")([Y("Read about "),sin("")({href:n,target:"_blank"})(e),Y(".")])}},zye=function(e){return function(n){var t=Oc("mt-4")([Y("GPA is "),Qm("")("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:Yp("0.00"),simulated:sH(e)(Jie.value)};return{title:md("GPA")(fin(a.score)(a.percentiles)),testClass:"t--gpa",content:ue([cH(e)(a),min(a),t,vin("GPA")(a),vH("how to increase your GPA")("https://blog.collegevine.com/improve-your-high-school-gpa-with-these-5-strategies/")])}}},$ye=function(e){return function(n){var t=Oc("row")([QA({title:"Math ",score:n.chancingProfile.sat.math,percentiles:n.schoolStats.sat.math,normalizeScore:function(u){return ct(u)/800}}),QA({title:"Reading and Writing",score:n.chancingProfile.sat.readingWriting,percentiles:n.schoolStats.sat.readingWriting,normalizeScore:function(u){return ct(u)/800}})]),a=md("SAT"),r={score:m_(n.chancingProfile),percentiles:n.schoolStats.sat.all,normalizeScore:function(u){return ct(u)/1600},showScore:Xb,simulated:sH(e)(Wie.value)},o=ue([Cn(gt(r.score))(fH("SAT Composite score")),cH(e)(r),Jye(r),t,Wye,Hye("SAT score")(r),vH("how to increase your SAT score")("https://blog.collegevine.com/10-tips-to-improve-your-sat-score/")]),i=lH(r.score)(r.percentiles);return n.chances.shouldApplyTestOptional?{title:a(i),testClass:"t--sat",content:ue([qye("SAT")(r),o])}:{title:a(i),testClass:"t--sat",content:o}}},Vye=function(e){return function(n){var t=md("ACT"),a={score:p_(n.chancingProfile),percentiles:n.schoolStats.act.all,normalizeScore:function(u){return ct(u)/36},showScore:Xb,simulated:sH(e)(qie.value)},r=Oc("row")([QA({title:"Math",score:n.chancingProfile.act.math,percentiles:n.schoolStats.act.math,normalizeScore:a.normalizeScore}),QA({title:"English",score:n.chancingProfile.act.english,percentiles:n.schoolStats.act.english,normalizeScore:a.normalizeScore})]),o=ue([Cn(gt(a.score))(fH("ACT Composite score")),cH(e)(a),Jye(a),r,Wye,Hye("ACT score")(a),vH("how to increase your ACT score")("https://blog.collegevine.com/10-tips-to-improve-your-act-score/")]),i=lH(a.score)(a.percentiles);return n.chances.shouldApplyTestOptional?{title:t(i),testClass:"t--act",content:ue([qye("ACT")(a),o])}:{title:t(i),testClass:"t--act",content:o}}};var Lo=B(J),_d=B(x),au=B(ae),mH=Mn(J)()(),pH=An(mt),gI=ia(x),_H=co(x),Qye=At(J),YA=nn(x),Yye=Z(Ae),_in=_u(x),Xye=aa(x)()(),Zye=nt(ae),din=Ma(x),Kye=Hg(x),Vg=me(P_),ebe=ef(Pt(iM)),hin=Rr(st),gin=ND($e),Din=me(A1),yin=ia(ae),bin=rt(x)()(),Rin=j(he),win=X(he),Sin=At(ae),Ein=ut(J),Cin=_u(ae),Iin=j($0),Tin=nt(J),Fin=nt(x),XA=ut(x),Min=X(HA),Gin=nn(ae),nbe=function(e){return Lo("row")([_d("col")(""),au("col-auto")(mH("btn btn-link t--show-more")({onClick:pH(e)(ar.value)})([Y("show more "),gI("fe fe-chevron-down")("")]))])},tbe=function(e){return function(n){return function(t){return Lo("row align-items-center mb-3")([au("col-12 col-lg-6")(Lo("row")([Lo("col-6 order-1 order-lg-2 my-auto")([_H("font-weight-normal fw-normal")("Your chances"),Qye("mb-0 t--chancing-percentage-label d-flex align-items-center")([YA("mr-1")(FS(e)({score:Yye(t)(function(a){return a.score}),specialCase:C.value})),LA,YA("mx-2")(""),V1e("")(n),$1e("")(n)])]),au("col-6 order-2 order-lg-1 px-sm-4 px-lg-0")(Yb({score:Yye(t)(function(a){return a.score})}))])),Lo("col-12 col-lg-6 py-3 my-auto")([_H("font-weight-normal fw-normal")("Overall acceptance rate"),Qye("text-gray-800 mb-0")([Y(ke("\u2014")(function(a){return Ga(function(r){return r.value}(a))})(e.admissions.acceptanceRate)),_in("text-secondary ml-2")(zg(e))])])])}}},abe=function(e){return ue([Y(e),Y(" requires standardized tests, but currently "),Xye("")({href:jm})("your profile"),Y(" indicates that you do not have test scores.")])},Ain=function(e){return ue([_d("badge badge-apply-test-optional font-weight-bold fw-bold py-2 mb-2")("Tests required"),tbe(e)(ya.value)(C.value),Zye("")(abe(e.name))])},rbe=function(e){return function(n){return function(t){return function(a){var r=Lo("row")([au("col-auto pr-0")(gI("fe fe-info large text-secondary mt-3")("")),Lo("col")([Lo("large")([din("")("Recommendation letters "),YA("text-secondary")("are often required.")]),_d("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 oo(ua(ar.value))(function(o){return function(i){return au("card")(Lo("card-body t--phase2")([Kye("Your chancing: Phase 2"),Cn(Vg(o)(Va.value))(_d("mb-4")("")),tH({card:Cye(e)(t)(a),expanded:Vg(o)(ar.value),onCollapse:i(Va.value)}),Cn(ebe(n.admissions.reqRecLetters)(new d(ci.value)))(r),Cn(Vg(o)(Va.value))(nbe(i))]))}})}}}},obe=function(e){return function(n){return function(t){return function(a){var r=ebe(n.admissions.reqStandardTests)(new d(ci.value)),o=gt(p_(t))&&r,i=gt(m_(t))&&r,u=function(l){return function(c){return tH({card:c(e)({chancingProfile:t,chances:a,schoolStats:n.testScoreStats}),expanded:Vg(l.value0)(ar.value),onCollapse:l.value1(Va.value)})}};return FF(ua(ar.value))(function(l){return au("card")(Lo("card-body t--phase1")([Kye("Your chancing: Phase 1"),Cn(Vg(l.value0)(Va.value))(_d("mb-4")("")),u(l)(zye),u(l)(tye),Cn(i)(u(l)($ye)),Cn(o)(u(l)(Vye)),Cn(Vg(l.value0)(Va.value))(nbe(l.value1))]))})}}}},xin=function(e){return Y(hin(["Chancing is not available for ",e.name," because all students are admitted if they have a high school diploma or GED."]))},Lin=function(e){return ue([Y("You\u2019re likely not eligible for admission at "),Y(e.name),Y(" because it is an "),Y(uu(Ih(e.gender))),Y(" school. This conclusion is based on the gender information you entered in your "),Xye("")({href:jm})("profile"),Y(".")])},jin=function(e){return ue([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. `)])},Nin=function(e){return function(n){return function(t){return function(a){return function(r){var o=function(c){if(c instanceof $a)return"test-optional";if(c instanceof gr)return"with SAT";if(c instanceof Or)return"with ACT";throw new Error("Failed pattern match at SchoolDetails.Chancing (line 296, column 21 - line 299, column 33): "+[c.constructor.name])},i=function(c){var s=gin(function(v){return Din(v.applicationStrategy)(c)})(r.all),f=QU({strategy:c,satOrigin:KS(t),testPolicy:n.admissions.reqStandardTests});return Lo("row border-1 border-bottom border-light py-3 align-items-center")(function(){if(s instanceof d)return[Lo("col-12 mb-2 mb-md-0 col-md pr-0 d-flex align-items-end")([f,Cn(s.value0.isRecommendedStrategy)(yin("ml-2 fe fe-thumbs-up text-primary h3 mb-0")(ln))]),au("col-auto pl-md-0")(YA("badge badge-light bg-light text-dark")(KM(n)(s.value0))),_d("col-auto col-md-auto pl-md-0")(FS(n)(s.value0)),au("col col-md-2 pl-md-0")(function(){if(s.value0.score instanceof d)return au("progress progress-md")(bin("progress-bar")({style:Sn({width:ZM(s.value0.score.value0)})})(""));if(s.value0.score instanceof C)return _d("text-secondary small")("N/A");throw new Error("Failed pattern match at SchoolDetails.Chancing (line 314, column 46 - line 319, column 55): "+[s.value0.score.constructor.name])}())];if(s instanceof C)return[au("col pr-0 d-flex align-items-end")(f),_d("col-auto text-gray-800")(function(){if(c instanceof $a)return"";if(c instanceof gr)return"No SAT score";if(c instanceof Or)return"No ACT score";throw new Error("Failed pattern match at SchoolDetails.Chancing (line 326, column 19 - line 329, column 53): "+[c.constructor.name])}())];throw new Error("Failed pattern match at SchoolDetails.Chancing (line 303, column 11 - line 330, column 16): "+[s.constructor.name])}())},u=function(){var c=function(s){return s.length===0?Fo(zo)("Empty chancing recommended strategies, even though chances are present")({})(function(f){return[]}):s};return c(Rin(function(s){return s.applicationStrategy})(Lr(function(s){return s.isRecommendedStrategy})(r.all)))}(),l=function(c){return oo(ua(Va.value))(function(s){return function(f){return ue([Lo("row mb-2 justify-content-between")([Lo("col")(win(u)(function(v){return Sin("d-inline-block mr-2")(QU({strategy:v,satOrigin:KS(t),testPolicy:n.admissions.reqStandardTests}))})),au("col-auto")(mH("btn btn-link p-0 d-flex align-items-center")({onClick:pH(f)(c0(s))})(function(){if(s instanceof Va)return[Y("See why"),gI("fe fe-chevron-down ml-2")("")];if(s instanceof ar)return[Y("Show less"),gI("fe fe-chevron-up ml-2")("")];throw new Error("Failed pattern match at SchoolDetails.Chancing (line 216, column 15 - line 218, column 92): "+[s.constructor.name])}()))]),He(r.top.classification)(function(v){return Ein("")([Y(n.name+(" is a "+T1(v))),Cin("ml-1 text-secondary h2 mb-0")(Q1e(v)),function(){if(n.admissions.reqStandardTests instanceof d&&n.admissions.reqStandardTests.value0 instanceof ci)return ln;if(r.top.specialCase instanceof d&&r.top.specialCase.value0 instanceof Zv)return ln;var m=function(R){return ln},_=Kc(u);return _ instanceof d?Y(" if you apply "+cye(Iin(o)(_.value0))):m(!0)}()])}),tbe(n)(a)(new d(r.top)),Cn(Vg(s)(ar.value))(ue([za("mb-4"),Lo("")([Tin("")([Y("Test policies may change in the future so be sure to check "),D0({className:"",text:new d("this school\u2019s website"),icon:sI.value})(Se(n.urls.main)(n.urls.admissions))]),function(){return n.admissions.reqStandardTests instanceof d&&n.admissions.reqStandardTests.value0 instanceof ci?Fin("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 Zv?Zye("font-weight-bold fw-bold")(abe(n.name)):ue([_H("")("Here\u2019s our estimation for all possible scenarios:"),function(){return n.admissions.reqStandardTests instanceof d&&n.admissions.reqStandardTests.value0 instanceof gc?ln:i($a.value)}(),i(gr.value),i(Or.value)])}()]),function(){return n.admissions.reqStandardTests instanceof d&&n.admissions.reqStandardTests.value0 instanceof ci?ln:r.top.specialCase instanceof d&&r.top.specialCase.value0 instanceof Zv?ln:He(r.guidance)(function(v){return au("mt-4")(dye(v)(t)(r.sameDemographicStats))})}()])),function(){return e.showViewChancingExplanationCTA&&e.onSwitchTab instanceof d?ue([za(""),mH("btn btn-link t--chancing-breakdown-cta p-0")({onClick:pH(e.onSwitchTab.value0)(Qi.value)})([gI("material-symbol x-large align-middle pr-2")("format_list_bulleted"),Y("See chancing explanation")])]):ln}()])}})};if(r.top.specialCase instanceof d&&r.top.specialCase.value0 instanceof qh)return jin(n);if(r.top.specialCase instanceof d&&r.top.specialCase.value0 instanceof lm)return Lin(n);if(r.top.specialCase instanceof d&&r.top.specialCase.value0 instanceof Zv)return Ain(n);if(r.top.specialCase instanceof d&&r.top.specialCase.value0 instanceof zh)return l(Ie);if(r.top.specialCase instanceof d&&r.top.specialCase.value0 instanceof $h)return xin(n);if(r.top.specialCase instanceof C)return l(Ie);throw new Error("Failed pattern match at SchoolDetails.Chancing (line 193, column 3 - line 199, column 28): "+[r.top.specialCase.constructor.name])}}}}},Zb=function(e){return function(n){return function(t){return function(a){return function(r){return Lo("mb-4")([au("card mb-0 t--chancing")(Lo("card-body t--chancing-overview")([XA("")("Chancing"),Nin(e)(n)(t)(a)(r)])),zU(n)])}}}}},Pin=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 lm&&e.mobileLayout?Zb(n)(t)(a)(r)(o):o.top.specialCase instanceof d&&o.top.specialCase.value0 instanceof lm?au("row")(au("col-8")(Zb(n)(t)(a)(r)(o))):e.mobileLayout?ue([Zb(n)(t)(a)(r)(o),XA("")("Detailed profile breakdown"),obe(e)(t)(a)(o.top),rbe(e)(t)(a)(o.top),_I(e)]):Lo("row")([Lo("col-8")([Zb(n)(t)(a)(r)(o),XA("")("Detailed profile breakdown"),obe(e)(t)(a)(o.top),rbe(e)(t)(a)(o.top)]),Lo("col-4")([He(e.currentUser)(function(i){return au("mb-3")(p1e(e.whatificatorLink))}),_I(e)])])}}}}}},ibe=function(e){return function(n){return function(t){var a=function(i){return Fo(zo)("SDP Chancing Tab is visible when chancing profile is absent")({schoolId:e.id})(function(u){return ln})},r=function(i){return He(iH(e))(function(u){return ue([XA("")("In the meantime, here\u2019s the published data about admissions at "+(e.name+":")),u])})},o=function(i){if(n.mobileLayout)return ue([fI({narrowLayout:!0}),_I(n),r(Ie)]);if(Le)return Lo("row")([Lo("col-8")([fI({narrowLayout:!1}),r(Ie)]),au("col-4")(_I(n))]);throw new Error("Failed pattern match at SchoolDetails.Chancing (line 106, column 5 - line 121, column 12): "+[i.constructor.name])};return function(i){if(i instanceof Hb)return He(BA(i.value1))(Pin(n)(t)(e)(i.value0)(Min(WA(i.value1))(function(u){return u.top})));if(i instanceof Jb)return a(Ie);if(i instanceof Wb)return o(Ie);if(i instanceof Bb)return au("text-center p-6")(Gin("spinner-border spinner-border-sm text-primary")(ln));throw new Error("Failed pattern match at SchoolDetails.Chancing (line 89, column 5 - line 98, column 73): "+[i.constructor.name])}(JA({currentUser:n.currentUser,chancingState:n.chancingState,school:e}))}}};var ube=function(e){return function(n){return ln}};var lbe=zf(),Qg=B(J)("d-flex")([lbe({text:"Log in",className:"btn btn-primary px-4 mr-3",auth0ActiveTab:eg}),lbe({text:"Sign up (it's free!)",className:"btn btn-outline-primary px-4",auth0ActiveTab:qf})]);var Oin=B(J),cbe=B(ae),kin=co(x),Uin=Mn(J)()(),Hin=Qt(er),Bin=ia(x),dH=nt(J),sbe=B(x),hH=Ma(x),Jin=nn(J),fbe=aa(x)()(),Win=Ic(J),vbe=w2(),gH=nt(x),qin=Xee(J),mbe=function(e){return function(n){return Oin("row align-items-center w-100")([cbe("col")(kin("my-0")(n)),cbe("col-auto pr-0")(Uin("btn btn-link p-0 d-flex align-items-center")({onClick:Hin(e)})([Y("Cancel "),Bin("fe fe-x ml-2 large")("")]))])}},pbe=function(e){return function(n){var t=function(r){return function(o){return function(i){if(i)return ue([dH("mb-1")([sbe("badge badge-soft-success bg-success-soft mr-2")("Profile complete"),hH("text-success")("Great job \u2013\xA0your CollegeVine "+(r+" profile looks complete."))]),Jin("")([Y("(you can always "),fbe("")({href:o})("update it"),Y(" to make sure)")])]);if(!i)return ue([dH("")([sbe("badge badge-soft-danger bg-danger-soft mr-2")("Incomplete"),hH("text-danger")("Your "+(r+" profile is incomplete."))]),fbe("btn btn-primary px-4")({href:o})("Complete "+(r+" profile"))]);throw new Error("Failed pattern match at SchoolDetails.Finances.Modal (line 58, column 5 - line 68, column 8): "+[r.constructor.name,o.constructor.name,i.constructor.name])}}},a=function(r){return Win("mb-4")([dH("mb-1")([hH("")("Your "+(r.name+" profile,")),Y(r.description)]),t(r.name)(r.url)(r.isComplete)])};return vbe({header:mbe(n.close)("Great, let\u2019s estimate your personalized net cost."),body:ue([gH("")("Your college cost depends on two types of information:"),qin("")([a({name:"chancing",url:jm,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:bG,isComplete:e.hasFinancialProfile,description:` which includes information that colleges will use to determine your financial need. `})])])})}},_be=function(e){return vbe({header:mbe(e.close)("Please log in to get your personalized cost estimate"),body:ue([gH("")(` You need a CollegeVine account to estimate your cost. You\u2019ll enter your information once and unlock estimates for all schools on CollegeVine! `),gH("")("Please log in or sign up to continue:"),Qg])})};var jo=B(J),ZA=ut(x),Hs=B(ae),dbe=co(x),DH=nt(J),hbe=B(x),yH=Ma(x),bH=cd(x)(x),DI=nt(x),gbe=At(J),Dbe=_u(x),zin=j(H),$in=Mn(J)()(),ybe=An(mt),Vin=ia(x),bbe=Hg(x),Qin=Mn(x)()(),Rbe=Nf(x),Yin=aa(x)()(),Xin=At(x),Kb=function(){function e(){}return e.value=new e,e}(),KA=function(){function e(){}return e.value=new e,e}(),wbe=function(){function e(){}return e.value=new e,e}(),yI=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),RH=function(){function e(){}return e.value=new e,e}(),ex=function(){function e(){}return e.value=new e,e}(),nx=function(e){return function(n){return jo("card t--financials-zero-cost")([jo("d-flex align-items-center justify-content-between card-header")([ZA("flex-grow-1 my-0")("Cost & scholarships"),He(e.editButton)(Hs("flex-grow-0"))]),jo("card-body")([dbe("")("The cost to students is zero"),DH("small text-muted mb-0")([Y("Some schools do not charge tuition, or they cover the full cost for students. Always check "),D0({className:"",icon:xb.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. `)])])])}},tx=function(e){return function(n){return function(t){var a=t(new yI(Kb.value));if(n instanceof Kb)return ln;if(n instanceof KA)return pbe(e)({close:a});if(n instanceof wbe)return _be({close:a});throw new Error("Failed pattern match at SchoolDetails.Finances.Common (line 331, column 3 - line 334, column 45): "+[n.constructor.name])}}},wH=function(e){var n=function(t){return function(a){return{title:a,value:mu(t)}}};return ue([jo("row py-3")([hbe("col font-weight-semibold")("Income"),Hs("col-auto")(yH("")("Average net cost"))]),za("mt-0"),Hs("mt-4")(bH([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")]))])},ax=function(e){var n=function(a){return function(r){return D0({className:"",icon:sI.value,text:new d(r)})(a)}},t=function(){if(e.finAid instanceof d&&e.priceCalculator instanceof d)return ue([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 232, column 16 - line 243, column 33): "+[e.finAid.constructor.name,e.priceCalculator.constructor.name])}();return ue([DI("font-weight-bold fw-bold small text-gray-800 mb-1")("* This is an estimate"),DH("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.")])])},Zin=Hs("")(gbe("mb-4")([Y("Cost before aid "),Dbe("text-secondary")(` The \u201Csticker price\u201D of a school, which includes tuition, fees, and room and board. `)])),Sbe=DI("")(` 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). `),bI=ue([Sbe,DI("font-weight-bold fw-bold mb-2")("Want to see your personalized net cost after financial aid and scholarships?")]),SH=gbe("mb-3 mt-4")([Y("Average net cost after aid "),Dbe("text-secondary")(` The average of the amount actually paid by students, per family income range. `)]),EH=function(e){return ue([Hs("")(SH),za("mb-0"),Hs("mb-4")(wH(e))])},CH=function(e){return function(n){return jo("card t--financials-cost-before-aid")([jo("card-body")([jo("d-flex align-items-center justify-content-between mb-5")([ZA("my-0 mr-3 flex-grow-1")("Cost & scholarships"),Sa(Ki(n.onEdit)(fd.value))]),Zin,bH([{title:"In-state total cost",value:ke("unknown")(function(t){return mu(ct(t))})(am(n.school))},{title:"Out-of-state total cost",value:ke("unknown")(function(t){return mu(ct(t))})(iS(n.school))}]),Se(ln)(zin(EH)(n.school.averageNetPrice)),Cn(n.showCta)(ue([bI,$in("btn btn-link t--estimate-my-cost p-0")({onClick:ybe(e)(new yI(KA.value))})([Vin("material-symbol x-large align-middle pr-2")("calculate"),Y("Estimate my personalized net cost")])]))])])}},IH=function(e){return function(n){var t=function(o){return function(i){return jo("col-12 mt-2 col-md-6 mt-md-0")([bbe(i),Ja("")(ke("unknown")(function(u){return mu(ct(u))})(o))])}},a=jo("row")([jo("col-12 col-md mb-2 mb-md-4")([bbe("Your estimated net cost"),hbe("font-weight-bold fw-bold text-secondary x-large")("$ ? / year")]),Cn(n.showCta)(Hs("col-12 col-md-auto mb-3 mb-md-0")(Qin("btn btn-primary px-4 t--estimate-my-cost")({onClick:ybe(e)(new yI(wbe.value))})("Estimate my cost")))]),r=ue([Rbe("")("What are "+(n.school.name+"\u2019s Tuition and Fees?")),DH("")([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 `))))),Yin("")({href:bG})("free cost calculator"),Y(".")])]);return jo("card border border-light rounded p-4 mx-2 mb-4")([Cn(n.showExtended)(r),a,jo("row")([t(am(n.school))("In-state"),t(iS(n.school))("Out-of-state")])])}},RI=function(e){return function(n){return function(t){return function(a){if(a instanceof RH){var r=jo("d-flex align-items-center justify-content-between mb-3")([ZA("my-0 mr-3")("Cost & scholarships"),Sa(e.editButton)]);return ue([jo("card t--financials-anonymous")(function(){if(t.averageNetPrice instanceof C)return[jo("card-body")([r,IH(n)({school:t,showCta:e.showCta,showExtended:!1}),bI,Qg])];if(t.averageNetPrice instanceof d)return[jo("card-body")([ZA("")("Cost & scholarships"),IH(n)({school:t,showCta:e.showCta,showExtended:!1}),SH,wH(t.averageNetPrice.value0),jo("px-3")([bI,Qg])])];throw new Error("Failed pattern match at SchoolDetails.Finances.Common (line 83, column 5 - line 103, column 10): "+[t.averageNetPrice.constructor.name])}())])}if(a instanceof ex){var o=function(){var i=function(u){return function(l){return{title:l,value:ke("unknown")(function(c){return mu(ct(c))})(u)}}};return ue([jo("row mx-0 py-3 border-bottom")([Hs("col pl-0")(yH("")("Type")),Hs("col-auto pr-0")(yH("")("Annual Cost"))]),Hs("mt-4")(bH([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 ue([IH(n)({school:t,showCta:e.showCta,showExtended:!0}),Hs("card")(jo("card-body")([Rbe("mb-4")("What does it cost to attend "+(t.name+"?")),dbe("")("Net Price Breakdown"),DI("mb-5")("The Net Price is the estimated cost after the average aid amount is applied to the total amount."),jo("t--financials-anonymous")(function(){if(t.averageNetPrice instanceof C)return[bI,Qg];if(t.averageNetPrice instanceof d)return[SH,wH(t.averageNetPrice.value0),function(){return e.showCta?jo("")([bI,Qg]):Sbe}()];throw new Error("Failed pattern match at SchoolDetails.Finances.Common (line 120, column 9 - line 136, column 14): "+[t.averageNetPrice.constructor.name])}())])),Hs("card")(jo("card-body")([Xin("mb-4")("Sticker Price Breakdown"),DI("")(` 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 80, column 1 - line 80, column 139): "+[e.constructor.name,n.constructor.name,t.constructor.name,a.constructor.name])}}}};var Kin=q(ht),eun=on(),wI=B(ae),kc=B(J),Ebe=Nf(x),Yg=nt(x),nun=aa(J)()(),TH=nn(x),Cbe=B(x),Ibe=Ma(x),tun=Rp(af),aun=j(he),run=ut(x),oun=At(ae),iun=Hg(x),uun=j(H),lun=Mn(J)()(),cun=An(mt),sun=ia(x),fun=me(Pt(Xa)),Tbe=function(e){return function(n){return Kin(n.value0)}},Fbe=function(){return Kb.value}(),FH=function(e){var n=function(){var a=eun(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 Cn(a)(wI("card")(kc("card-body")([Ebe("")(r),o])))}}};return kc("t--financials-aid-explanation mt-5")([t(n.grants)("Grants")(ue([Yg("")("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"),Ja("")(Ga(e.fracPellGrants))])),t(n.scholarships)("Merit scholarships")(Yg("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")(ue([Yg("")("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."),kc("row")([kc("col")([Y("% of full-time first-time undergraduates awarded federal student loans"),Ja("")(Ga(e.fracLoans))]),kc("col")([Y("Avg. amount of federal student loans awarded to full-time first-time undergrads"),Ja("")(mu(ct(Se(0)(e.averageFederalLoan))))])])])),t(n.workStudy)("Work-study")(ue([Yg("")("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."),nun("d-flex align-items-center")({href:Cie,target:"_blank"})([TH("material-symbol pr-2")("open_in_new"),TH("")("Learn more about how it works and what types of jobs are available")])]))])},vun=function(e){return function(n){var t=function(l){return[kc("row align-items-center")([wI("col")(l.title),wI("col-auto")(l.value)])]},a=ue([Yg("mb-1")("Your estimated net cost"),Ja("")(mu(n.estimatedNetCost)+" / year *")]),r=Se(0)(n.estimatedMeritAid),o=ue([Cbe("mb-3")("Scholarships"),Cbe("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?Ibe("")("-"+mu(l)):TH("text-muted")("Unlikely")},u=kc("mb-2")(tun([za("mt-3 mb-3")])(aun(t)([{title:Y("Cost (tuition, fees, room and board)"),value:Ibe("")(mu(n.stickerPrice))},{title:Y("Need-based financial aid"),value:i(n.financialAid)},{title:o,value:i(r)}])));return ue([wI("card t--financials-personal-estimate-breakdown")(kc("card-body")([run("mb-5")("Cost & scholarships"),a,za("mb-4 mt-2"),oun("mb-4 mt-2")(iun("Your estimated net cost breakdown")),u,za("mt-3 mb-3"),wI("mb-n3")(ax(e.urls))])),FH(e)])}},mun=function(e){return function(n){var t=kc("row mb-4")([kc("col-12 col-md-6")([Yg("mb-1")("In-state total cost"),Ja("")(ke("unknown")(function(a){return mu(ct(a))})(am(n)))]),kc("col-12 col-md-6")([Yg("mb-1")("Out-of-state total cost"),Ja("")(ke("unknown")(function(a){return mu(ct(a))})(iS(n)))])]);return kc("card t--financials-cost-before-aid")([kc("card-body")([Ebe("fw-normal font-weight-normal")("Cost"),t,Se(ln)(uun(EH)(n.averageNetPrice)),lun("btn btn-link t--estimate-my-cost p-0")({onClick:cun(e)(new yI(KA.value))})([sun("material-symbol x-large align-middle pr-2")("calculate"),Y("Estimate my personalized net cost")])])])}},Mbe=function(e){return function(n){return function(t){return function(a){return function(r){return ue([tx(n)(a)(r),function(){var o=fun(am(e))(new d(0));if(o)return nx({editButton:C.value})(e);var i=ur(n.currentUser);if(i)return ue([Sa(Gm(n.configuration)(RI({showCta:!1,editButton:C.value})(r)(e)(ex.value))),Sa(Iu(n.configuration)(RI({showCta:!0,editButton:C.value})(r)(e)(ex.value))),FH(e)]);var u=gt(t);return u?He(t)(vun(e)):ue([mun(r)(e),FH(e)])}()])}}}}};var pun=on(),Gbe=Mn(x)()(),Abe=Qt(er),rx=B(J),MH=B(ae),_un=li(),dun=me(Pt(z2)),GH=X(H),hun=me(Pt(q2)),xbe=ia(x),gun=B(x),Lbe=nn(x),Dun=pi(ae)()(),jbe=function(e){var n=pun(e.school),t=function(u){return Gbe("btn btn-outline-primary flex-grow-1 px-md-4 t--sdp-invitation-footer-ignore "+u)({onClick:Abe(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=so(CS(n.id)(e.schoolDb)),o=function(u){if(e.mobileLayout)return rx("card-footer bg-white "+u);var l=MH("container card"),c=rx("card-body mb-0 "+u);return function(s){return l(c(s))}},i=function(u){return Gbe("btn btn-primary flex-grow-1 px-md-4 t--sdp-invitation-footer-accept "+u)({onClick:Abe(e.onAcceptInvitation)})("Accept")};return Cu(_un(ua(dun(GH(r)(function(u){return u.status}))(new d(Vo.value))&&hun(GH(r)(function(u){return u.initiator}))(new d(ji.value))))(function(u){return ui(kh(u.value0)(function(l){return He(GH(r)(function(c){return c.status}))(function(c){return MH("position-fixed fixed-bottom t--sdp-invitation-footer")(o("d-flex flex-column flex-md-row align-items-stretch align-items-md-center")([rx("d-flex flex-nowrap align-items-center mr-md-3")([xbe(a)(""),gun("")(n.name+" wants to connect!")]),MH("d-flex flex-nowrap mt-3 mt-md-0 mr-md-3")(function(){if(c instanceof Vo&&e.mobileLayout)return ue([i("mr-3"),t("")]);if(c instanceof Vo)return ue([t("mr-3"),i("")]);if(c instanceof kl)return Lbe("text-success")("Connected");if(c instanceof Fu)return Lbe("text-secondary")("Ignored");throw new Error("Failed pattern match at SchoolDetails.Footer (line 52, column 15 - line 60, column 52): "+[c.constructor.name])}()),rx("d-flex flex-nowrap align-items-center mt-3 mt-md-0 flex-grow-1 justify-content-md-end")([Y("What is a connection?"),Dun({placement:Ms,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:Sn({maxWidth:"15rem",position:"fixed"}),trigger:function(){return e.mobileLayout?j_:w0e}()})(xbe("fe fe-info pl-2")(""))])]))})}))}))};var y0=` (min-width: 1200px) 1140px, (min-width: 992px) 960px, (min-width: 768px) 720px, (min-width: 576px) 540px `;Wt();var AH=class extends yt.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 yun=El(),$l=function(){return function(){return yun(AH)}};var bun=on(),Nbe=ia(x),Pbe=nn(x),xH=B(ae),Run=B(J),wun=ut(x),Sun=Es()(),Eun=An(mt),_a=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}(bun(e.school)),i=Qf(e.module.data);return i instanceof a0&&o instanceof _1?"Alumni spotlight":i instanceof a0&&o instanceof d1?"Alumnae spotlight":i instanceof a0&&o instanceof Ch?"Alumni spotlight":y_(Qf(e.module.data))}(),a=Cn(e.isUserHq)(function(){return e.isPublished?ue([Nbe("fe fe-check-circle large text-success mr-2 t--module-live-icon")(""),Pbe("text-success")("Live")]):ue([Nbe("fe fe-x-circle large text-warning mr-2 t--module-draft-icon")(""),Pbe("text-warning")("Draft")])}()),r=function(){return e.module.isLiked?"/img/icons/heart-filled-gray-800.svg":"/img/icons/heart-empty.svg"}();return xH("card-header")(Run("row align-items-center")([wun("col-auto mb-0")(t),xH("col d-flex align-items-center justify-content-end")(a),Cn(e.showLikeButton)(xH("col-auto")(Sun("cursor-pointer t--content-module-interaction "+n)({src:r,height:"18",width:"18",onClick:Eun(e.onContentModuleInteraction)({type:function(){return e.module.isLiked?new d(DE.value):new d(gE.value)}(),moduleId:e.module.id})})))]))};var Cun=Fa(),ox=X(H),SI=te(ze),Iun=So($e)(st),Tun=oi($e)(st),Fun=X(he),Mun=n_()(),Gun=Qe(ma)(Eu(Wo)(function(e){var n=e>=5120;return n?C.value:new d(new Oe(e,e*1.16))})(640))([5120]),No=function(){return function(e){return function(n){var t=Cun(n),a=Rs({key:"auto",value:Zn(t.auto)("format")})(cm({key:"q",value:ox(hr(t.q))(SI)})(cm({key:"dpr",value:ox(hr(t.dpr))(SI)})(cm({key:"ar",value:hr(t.ar)})(cm({key:"crop",value:hr(t.crop)})(cm({key:"fit",value:hr(t.fit)})(cm({key:"h",value:ox(hr(t.h))(SI)})(cm({key:"w",value:ox(hr(t.w))(SI)})(Se(t.src)(ZD("?")(t.src)))))))))),r=function(i){var u=SI(jr(i));return Iun([a,"&w=",u," ",u,"w"])},o=function(){if(fS(t.w))return Tun(",")(Fun(Gun)(r));if(Le)return"";throw new Error("Failed pattern match at Utils.Imgix (line 66, column 5 - line 70, column 13): "+[])}();return Mun(e)({src:a,srcSet:o,style:Zn(t.style)(Sn({})),alt:Zn(t.alt)(""),sizes:Zn(t.sizes)("")})}}};var Aun=te(Ci),Obe=B(J),xun=rt(J)()(),Lun=X(he),jun=No(),Nun=$l()(),kbe=function(e){var n="t--academic-photo-gallery-carousel-"+Aun(oa(e.school));return Obe("card")([_a(e),Obe("card-body")([xun("flickity-viewport-visible mb-4 "+n)({style:Sn({display:"none"})})(Lun(e.photos)(function(t){return jun("w-100 rounded")({src:t.url,ar:"2:1",fit:"crop",crop:"faces",auto:"compress,format",sizes:y0})})),Nun({containerClassName:n,onMountShowContainer:!0,pageDots:!0})])])};var Pun=B(ae),Oun=g0(),ix=B(J),kun=rt(J)()(),Uun=X(he),Hun=ut(x),Ube=B(x),Bun=$l()(),Hbe=function(e){var n=function(t){return He(t)(function(a){return Pun("col-12 col-md-auto mb-4 mb-md-0 d-flex justify-content-center justify-content-md-start align-items-md-center")(Oun({source:new Du({url:a+"?fit=crop&crop=faces,edges&w=256&h=256&auto=compress,format"}),size:Ib.value}))})};return ix("card")([_a(e),ix("card-body mb-4")([kun("flickity-viewport-visible t--alumni-spotlight-carousel")({style:Sn({display:"none"})})(Uun(e.props.alumni)(function(t){return ix("row py-3 px-5 w-100")([n(t.avatarURL),ix("col-12 col-md ml-2")([Hun("mb-1")(t.name),Ube("small text-secondary")(t.degreeGraduationYear),Ube("mt-3")(t.bio)])])})),Bun({containerClassName:"t--alumni-spotlight-carousel",onMountShowContainer:!0,pageDots:!0})])])};var ux=B(J),Jun=X(he),Wun=B(ae),qun=t_(x)()(),zun=At(x),$un=nt(x),Bbe=function(e){return ux("card")([_a(e),ux("card-body")(Jun(e.videos)(function(n){return ux("row mb-4 align-items-center text-center text-md-left")([Wun("col-12 col-md-auto")(qun("h-100 border-0 rounded")({src:n.link,allowFullScreen:!0})("")),ux("col mt-2 mt-md-0")([zun("")(n.title),$un("")(s_(n.duration))])])}))])};var Vun=on(),Jbe=So($e)(st),lx=te(Wi),Wbe=d1e(J),LH=B(x),qbe=B(J),Qun=n_()(),Yun=cd(x)(ae),zbe=function(e){var n=Vun(e.school),t=v1(Qw(n.address)).lng,a=v1(Qw(n.address)).lat,r=function(i){return Jbe(["https://api.mapbox.com/styles/v1/collegevine-ivy/ck8z1m02b06f41io4o6s4z5md/static/pin-s+3c8df5(",lx(t),",",lx(a)+")/",lx(t),",",lx(a),",6.57,0/600x400@2x?access_token=",i])},o=function(i){if(i instanceof Cl)return Wbe({icon:"map-pin",body:[LH("")(i.value0.street),LH("")(Jbe([i.value0.city,", ",Up(i.value0.state)," ",i.value0.zip]))]});if(i instanceof el)return Wbe({icon:"map-pin",body:[LH("")(i.value0.address)]});throw new Error("Failed pattern match at SchoolDetails.ContentModules.CampusLocation (line 44, column 15 - line 59, column 10): "+[i.constructor.name])};return qbe("card")([_a(e),qbe("card-body")([Qun("w-100 mb-5 rounded")({src:r(e.mapboxAccessToken)}),Yun([{title:"Campus Setting",value:Y(Eh(n.setting))},{title:"Region",value:Y(Vw(n.address))}]),o(n.address)])])};var Xun=te(Ci),$be=B(J),Zun=rt(J)()(),Kun=X(he),eln=No(),nln=$l()(),Vbe=function(e){var n="t--campus-photo-gallery-carousel-"+Xun(oa(e.school));return $be("card")([_a(e),$be("card-body")([Zun("flickity-viewport-visible mb-4 "+n)({style:Sn({display:"none"})})(Kun(e.photos)(function(t){return eln("w-100 rounded")({src:t.url,fit:"crop",crop:"faces",ar:"2:1",auto:"compress,format",sizes:y0})})),nln({containerClassName:n,onMountShowContainer:!0,pageDots:!0})])])};var cx=B(J),tln=X(he),aln=B(ae),rln=t_(x)()(),oln=At(x),iln=nt(x),Qbe=function(e){return cx("card")([_a(e),cx("card-body")(tln(e.videos)(function(n){return cx("row mb-4 align-items-center text-center text-md-left")([aln("col-12 col-md-auto")(rln("h-100 border-0 rounded")({src:n.url,allowFullScreen:!0})("")),cx("col mt-2 mt-md-0")([oln("")(n.title),iln("")(s_(n.duration))])])}))])};var Ybe=li(),uln=rt(ae)()(),EI=B(J),lln=ut(x),sx=B(ae),cln=xi()(),Xbe=An(uo),sln=nn(x),fln=tv(),Zbe=Ve(Xe),vln=X(he),dd=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 ke(o)(i)(a)}}},t=function(a){return function(r){return a===""?r:Lr(function(o){return rs(uu(a))(uu(e.search.toTerm(o)))})(r)}};return Cu(Ybe(ua(""))(function(a){return Ybe(ua(C.value))(function(r){return ui(uln("")({style:Sn({marginBottom:"10rem"})})(EI("card")([lln("card-header")(e.title),EI("card-body")([EI("form-row")([sx("col-12 col-md-6")(EI("input-group input-group-merge")([cln("form-control form-control-prepended "+e.search.className)({type:"text",value:a.value0,placeholder:e.search.placeholder,onChange:Xbe(a.value1)(Gs)}),sx("input-group-prepend")(sx("input-group-text")(sln("fe fe-search font-weight-bold fw-bold")("")))])),sx("col-12 col-md-6 mt-2 mt-md-0")(fln({className:e.filter.className,value:r.value0,options:e.filter.items,getOptionLabel:Zbe,getOptionValue:Zbe,onSelect:Xbe(r.value1)(d.create),isClearable:!0,onClear:r.value1(C.value),placeholder:e.filter.placeholder}))]),EI("mt-5")(vln(n(r.value0)(e.filter.predicate)(t(a.value0)(e.items)))(e.renderItem))])])))})}))};var mln=j(Zw);var Kbe=function(e){return function(n){return function(t){return JZ(mln(HD(n))(qZ(t)))({newSeed:e,size:n})}}};var CI=B(J),II=B(ae),pln=AM(x)()(),_ln=on(),dln=ut(x),eRe=nt(x),nRe=B(x),hln=te(ze),tRe=me(ca),gln=Qd(Ut),aRe=wp(Ut),jH=X(he),Dln=tv(),rRe=Ve(Xe),yln=An(uo),bln=Mn(x)()(),Rln=An(mt),oRe=function(e){var n=function(u){return u.number+(" "+u.name)},t=function(u){return ue([CI("row no-gutters g-0")([II("col-auto")(pln("mr-3 fe fe-book-open xx-large")({style:Sn({color:Se("")(function(l){return l.colors.primary}(_ln(e.school)))})})("")),CI("col mt-3 pr-5")([dln("")(n(u)),He(u.description)(function(l){return eRe("")(l)}),He(u.size)(function(l){return nRe("mt-2 text-secondary")("Expected class size: "+hln(l))}),He(u.instructors)(function(l){return nRe("mt-2 text-secondary")("Taught by: "+l)})])]),za("")])},a=function(u){var l=Lr(function(){var c=tRe(u);return function(s){return c(function(f){return f.department}(s))}}())(e.props.courses);return Kbe(e.randomSeed)(2)(l)},r=gln(aRe(jH(e.props.courses)(function(u){return u.department}))),o=aRe(jH(e.props.courses)(function(u){return u.department})),i=dd({title:y_(Qf(e.module.data)),items:e.props.courses,renderItem:function(u){return II("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:tRe}});return oo(ua(Ri(o)))(function(u){return function(l){return CI("card")([_a(e),CI("card-body")([II("w-50")(Dln({options:o,getOptionLabel:rRe,getOptionValue:rRe,onSelect:yln(l)(d.create),value:u})),He(u)(function(c){return ue([CI("mt-4")([eRe("text-secondary")("A sample of courses for this department"),ue(jH(a(c))(t))]),II("row mt-4")(II("col-6 offset-3")(bln("btn btn-outline-primary btn-block")({onClick:Rln(e.showOverlay)(i)})("Check out the full course catalog")))])})])])}})};var wln=oi($e)(st),TI=B(J),Sln=ut(x),iRe=nt(x),Eln=B(x),fx=B(ae),Cln=tv(),uRe=Ve(Xe),Iln=An(uo),Tln=X(he),Fln=Mn(x)()(),Mln=An(mt),lRe=function(e){var n=function(u){return function(l){return u?new d(l):C.value}},t=function(u){return wln(", ")(_r([n(u.offerings.major)("Major"),n(u.offerings.minor)("Minor"),n(u.offerings.concentration)("Concentration")]))},a=function(u){var l=Lr(function(c){return rs(u)(t(c))})(e.props.degrees);return HD(3)(l)},r=function(u){return ue([TI("row no-gutters g-0")([TI("col mt-3 pr-5")([Sln("")(u.name),iRe("")(u.description),Eln("mt-2 text-secondary")("Offerings: "+t(u))])]),za("")])},o=["Major","Minor","Concentration"],i=dd({title:y_(Qf(e.module.data)),items:e.props.degrees,renderItem:function(u){return fx("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 rs(u)}}});return oo(ua(Ri(o)))(function(u){return function(l){return TI("card")([_a(e),TI("card-body")([fx("w-50")(Cln({options:o,getOptionLabel:uRe,getOptionValue:uRe,onSelect:Iln(l)(d.create),value:u})),He(u)(function(c){return ue([TI("mt-4")([iRe("text-secondary")("A sample of degree options for this offering"),ue(Tln(a(c))(r))]),fx("row mt-4")(fx("col-6 offset-3")(Fln("btn btn-outline-primary btn-block")({onClick:Mln(e.showOverlay)(i)})("Check out all the degree options")))])})])])}})};var Gln=te(Ci),Aln=B(ae),xln=g0(),vx=B(J),Lln=rt(J)()(),jln=X(he),Nln=ut(x),cRe=B(x),Pln=$l()(),sRe=function(e){var n="t--faculty-spotlight-carousel-"+Gln(oa(e.school)),t=function(a){return He(a)(function(r){return Aln("col-12 col-md-auto mb-4 mb-md-0 d-flex justify-content-center justify-content-md-start align-items-md-center")(xln({source:new Du({url:r+"?fit=crop&crop=faces,edges&w=256&h=256&auto=compress,format"}),size:Ib.value}))})};return vx("card")([_a(e),vx("card-body mb-4")([Lln("flickity-viewport-visible "+n)({style:Sn({display:"none"})})(jln(e.faculty)(function(a){return vx("row py-3 px-5 w-100")([t(a.avatarUrl),vx("col-12 col-md ml-2")([Nln("mb-1")(a.name),cRe("small text-secondary")(a.department),cRe("mt-3")(a.bio)])])})),Pln({containerClassName:n,onMountShowContainer:!0,pageDots:!0})])])};var Oln=rt(x)()(),NH=X(he),Xg=B(J),mx=B(x),kln=pi(ae)()(),Uln=Yv(J)()(),Hln=Fa(),Bln=ut(x),FI=B(ae),Jln=function(e){return function(n){var t=function(c){return Oln("rounded")({style:Sn({width:"0.5rem",height:"0.5rem",backgroundColor:c})})("")},a=ue(NH(e)(function(c){return Xg("d-flex align-items-center mt-2")([t(c.color),mx("ml-2")(c.name+(": "+c.pct))])})),r=ue(NH(e)(function(c){return ue([Xg("row align-items-center")([Xg("col text-nowrap")([Xg("d-flex align-items-center")([t(c.color),mx("ml-2")(c.name)])]),mx("col-auto font-weight-semibold")(c.pct)]),za("my-3")])})),o=function(){return n?r:a}(),i=function(c){return Xg("d-flex flex-column align-items-center")([Y(c.name),Xg("d-flex align-items-center")([t(c.color),mx("ml-2")(c.pct)])])},u=function(c){return function(s){var f=c.angle+2*xv*s.value;return{angle:f,visual:kln({overlay:i(s)})(Sb({center:{x:0,y:0},angle0:c.angle,angle1:f,innerRadius:60,outerRadius:150,fill:s.color,stroke:{color:"white",width:1}}))}}},l=Uln("my-3")({viewBox:"-160 -160 320 320",width:"200",height:"200"})(NH(h6(u)({angle:0,visual:ln})(e))(function(c){return c.visual}));return{chart:l,legend:o}}},px=function(){return function(e){var n=Hln(e),t=Jln(n.segments)(n.tableLegend),a=He(hr(n.title))(Bln("text-uppercase text-secondary small t--subtitle")),r=function(o){if(n.tableLegend)return FI("col-12 text-center col-md mb-3 mb-md-0")(FI("bg-very-light-grey py-4")(o));if(Le)return FI("col-12 text-center col-md-4")(o);throw new Error("Failed pattern match at Component.PieChart (line 61, column 5 - line 66, column 52): "+[o.constructor.name])};return n.stackLegend?ue([a,t.chart,t.legend]):ue([FI("ml-4")(a),Xg("row align-items-center justify-content-center")([r(t.chart),FI("col")(t.legend)])])}};var Wln=X(he),qln=px(),zln=B(J),$ln=B(ae),fRe=function(e){var n=function(){var t=Wln(e.props.breakdown)(function(a){return{value:a.percentage,color:a.chartColor,name:a.label,pct:Ga(a.percentage)}});return qln({segments:t,title:"Average aid package",stackLegend:!1,tableLegend:!1})}();return zln("card")([_a(e),$ln("card-body")(n)])};var PH=B(J),vRe=B(ae),Vln=t_(x)()(),Qln=At(x),Yln=nt(x),mRe=function(e){return PH("card")([_a(e),vRe("card-body")(PH("row mb-4 align-items-center text-center text-md-left")([vRe("col-12 col-md-auto")(Vln("h-100 border-0 rounded")({src:e.video.link,allowFullScreen:!0})("")),PH("col mt-2 mt-md-0")([Qln("")(e.video.title),Yln("")(s_(e.video.duration))])]))])};var zH=Da(dRe());var ccn=Df(),scn=function(e){return e},fcn=function(e){return e};var hRe=function(e){var n=ccn(e);return function(){return function(){return n(zH.default)}}},gRe=function(e){return scn(ao(e))};var DRe=fcn,yRe=ao("auto");var vcn=hRe(ae)()(),dx=B(J),mcn=rt(J)()(),pcn=An(mt),_cn=At(x),bRe=B(x),dcn=aa(x)()(),hcn=j(he),gcn=function(e){var n=function(a){return vcn({duration:DRe(350),height:function(){if(a instanceof Va)return gRe(0);if(a instanceof ar)return yRe;throw new Error("Failed pattern match at SchoolDetails.ContentModules.GrantsAndScholarships (line 44, column 19 - line 46, column 43): "+[a.constructor.name])}()})},t=function(a){if(a instanceof Va)return"down";if(a instanceof ar)return"up";throw new Error("Failed pattern match at SchoolDetails.ContentModules.GrantsAndScholarships (line 39, column 5 - line 39, column 31): "+[a.constructor.name])};return oo(ua(Va.value))(function(a){return function(r){return dx("")([mcn("row border-bottom align-items-center mb-4")({onClick:pcn(r)(c0(a))})([_cn("mb-4 mx-2")(e.name),bRe("ml-auto ms-auto mb-4 x-large fe fe-chevron-"+t(a))("")]),n(a)(dx("mb-4")([bRe("mb-3")(e.description),dcn("")({href:e.url,target:"_blank"})("Learn more here")]))])}})},RRe=function(e){return dx("card")([_a(e),dx("card-body")(hcn(gcn)(e.props.grantsAndScholarships))])};var Dcn=te(Ci),MI=B(J),ycn=Nf(x),wRe=nt(x),bcn=rt(J)()(),SRe=X(he),Rcn=No(),wcn=$l()(),Scn=Xv(x),Ecn=ut(x),ERe=function(e){var n="t--local-area-spotlight-carousel-"+Dcn(oa(e.school));return MI("card")([_a(e),MI("card-body")([ycn("")(e.area.name),wRe("")(e.area.description),MI("mb-4")([bcn("flickity-viewport-visible "+n)({style:Sn({display:"none"})})(SRe(e.area.images)(function(t){return Rcn("w-100 rounded")({src:t.url,ar:"2:1",fit:"crop",auto:"compress,format",sizes:y0})})),wcn({containerClassName:n,onMountShowContainer:!0,pageDots:!0})]),Scn("small text-uppercase mt-6 mb-4")("Top things to do"),MI("row")(SRe(e.activities)(function(t){return MI("col-12 col-md-6")([Ecn("")(t.name),wRe("")(t.description)])}))])])};var Ccn=Mn(x)()(),Icn=me(Voe),Tcn=An(mt),Fcn=te(Ci),$H=B(J),CRe=nt(x),Mcn=e_(ae),Gcn=Kp(J),IRe=X(he),Acn=Zp(J),TRe=Qv(x),xcn=co(x),Lcn=Rp(st),jcn=rt(J)()(),Ncn=No(),Pcn=$l()(),FRe=function(e){var n=function(r){return function(o){return function(i){return He(r)(function(u){return Ccn("btn "+function(){var l=Icn(u)(o);return l?"btn-primary":"btn-outline-secondary"}())({onClick:Tcn(i)(u)})(Qoe(u))})}}},t=function(r){return"t--non-academic-facilities-carousel-"+(Fcn(oa(e.school))+("-"+ke("")(Y2)(r)))},a=function(r){if(r instanceof r0)return e.residence;if(r instanceof b_)return e.athletic;if(r instanceof Lm)return e.dining;throw new Error("Failed pattern match at SchoolDetails.ContentModules.NonAcademicFacilities (line 78, column 18 - line 81, column 32): "+[r.constructor.name])};return oo(ua(r0.value))(function(r){return function(o){return $H("card")([_a(e),$H("card-body")([$H("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)]),CRe("")(a(r).description),Mcn("table table-lg")(Gcn("")(IRe(a(r).information)(function(i){return Acn("")([TRe("")(i.name),TRe("text-right w-50 font-weight-bold fw-bold")(i.description)])}))),He(a(r).list)(function(i){return ue([xcn("uppercase text-secondary")(Se("")(Yoe(a(r).id))),CRe("")(Lcn(", ")(i))])}),jcn("flickity-viewport-visible mb-4 "+t(a(r).id))({style:Sn({display:"none"})})(IRe(function(i){return i.photos}(a(r)))(function(i){return Ncn("w-100 rounded")({src:i.url,ar:"2:1",fit:"crop",crop:"faces",auto:"compress,format",sizes:y0})})),Pcn({containerClassName:t(a(r).id),onMountShowContainer:!0,pageDots:!0,key:Y2(Se(r0.value)(a(r).id))})])])}})};var Ocn=B(J),kcn=B(ae),Ucn=e_(ae),Hcn=Kp(J),Bcn=X(he),Jcn=Zp(J),MRe=Qv(x),GRe=function(e){return Ocn("card")([_a(e),kcn("card-body")(Ucn("table table-lg")(Hcn("")(Bcn(e.props.costs)(function(n){return He(n.description)(function(t){return Jcn("")([MRe("")(n.name),MRe("text-right w-50")(t)])})}))))])};var eR=B(J),Wcn=B(ae),qcn=No(),zcn=At(x),ARe=nt(x),$cn=Ma(x),Vcn=Xv(x),Qcn=j(he),xRe=function(e){var n=function(t){return eR("row mb-4 align-items-center text-center text-md-left")([Wcn("col-12 col-md-3")(qcn("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 `})),eR("col mt-2 mt-md-0")([zcn("")(t.name)])])};return eR("card")([_a(e),eR("card-body")([ARe("")(e.description),eR("row pt-5 mx-1 border-bottom")([ARe("col-6 px-0")("Religious affiliation"),$cn("col-6 ml-auto ms-auto text-right px-0")(e.affiliation)]),Vcn("small text-uppercase my-5")("Sacred spaces and religious facilities"),eR("")(Qcn(n)(e.locations))])])};var GI=B(J),VH=nt(x),Ycn=Ma(x),Xcn=B(ae),Zcn=t_(x)()(),Kcn=At(x),esn=No(),LRe=function(e){return GI("card")([_a(e),GI("card-body")([VH("")(e.spectatorSports.description),GI("row pt-5 mx-1 border-bottom")([VH("")("Conference affiliation"),Ycn("ml-auto ms-auto")(e.spectatorSports.conferenceAffiliation)]),GI("row my-4 align-items-center")([Xcn("col-12 col-md-auto")(Zcn("h-100 border-0 rounded")({src:e.spectatorSports.video.url,allowFullScreen:!0})("")),GI("col mt-2 mt-md-0")([Kcn("")(e.spectatorSports.video.title),VH("")(s_(e.spectatorSports.video.duration))])]),He(e.spectatorSports.photoUrl)(function(n){return esn("rounded img-fluid mt-3")({src:n,ar:"3:2",fit:"crop",crop:"edges",sizes:y0})})])])};var Zg=B(J),jRe=ut(x),QH=nt(x),nsn=Qd(Ut),tsn=wp(Ut),YH=X(he),asn=te(Ci),AI=B(ae),rsn=me(ca),osn=rt(J)()(),isn=No(),usn=$l()(),NRe=nn(x),lsn=te(ze),csn=Mn(x)()(),ssn=An(mt),PRe=function(e){var n=function(o){return ue([Zg("col mt-3 pr-5")([jRe("mb-2")(o.name),QH("text-secondary")(o.category),He(o.description)(function(i){return QH("")(i)})]),za("")])},t=nsn(tsn(YH(e.props.groups)(function(o){return o.category}))),a="t--student-groups-carousel-"+asn(oa(e.school)),r=dd({title:y_(Qf(e.module.data)),items:e.props.groups,renderItem:function(o){return AI("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:rsn}});return Zg("card")([_a(e),Zg("card-body")([Zg("mb-4")([osn("flickity-viewport-visible "+a)({style:Sn({display:"none"})})(YH(e.props.photos)(function(o){return isn("w-100 rounded")({src:o.url,ar:"2:1",fit:"crop",auto:"compress,format"})})),usn({containerClassName:a,onMountShowContainer:!0,pageDots:!0})]),Zg("row mt-6")([AI("col")(NRe("large")("Student-run groups and organizations")),AI("col-auto")(NRe("large")(lsn(pa(e.props.groups))))]),za(""),Zg("row")(YH(Lr(function(o){return o.isFeatured})(e.props.groups))(function(o){return Zg("col-12 col-md-6")([jRe("mt-4 mb-2")(o.name),QH("text-secondary small")(o.category)])})),AI("row mt-4")(AI("col-6 offset-3")(csn("btn btn-outline-primary btn-block")({onClick:ssn(e.showOverlay)(r)})("All student groups")))])])};var fsn=Qd(Ut),vsn=wp(Ut),msn=X(he),xI=B(J),psn=No(),ORe=ut(x),kRe=nt(x),nR=B(x),_sn=me(ca),dsn=Qee(J),hsn=co(x),gsn=j(he),URe=B(ae),Dsn=Mn(x)()(),ysn=An(mt),HRe=function(e){var n=function(o){return o.city+(", "+o.country)},t=fsn(vsn(msn(e.props.programs)(n))),a=function(o){return xI("col-12 mb-4 col-md-6 mb-md-0")([He(o.imageURL)(function(i){return psn("rounded img-fluid")({src:i,ar:"3:2",fit:"crop",crop:"edges"})}),ORe("mt-3")(o.name),He(o.description)(function(i){return kRe("")(i)}),nR("mt-n2 text-secondary")("Location: "+n(o)),He(o.duration)(function(i){return nR("text-secondary mt-2")("Program length: "+i)})])},r=dd({title:"All programs",items:e.props.programs,renderItem:function(o){return xI("mb-5")([ORe("")(o.name),He(o.description)(function(i){return kRe("")(i)}),nR("mt-n2 text-secondary")("Location: "+n(o)),He(o.region)(function(i){return nR("text-secondary mt-2")("Region: "+i)}),He(o.duration)(function(i){return nR("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:_sn}});return xI("card")([_a(e),xI("card-body")([He(e.props.description)(function(o){return nR("mb-4")(o)}),dsn("")([hsn("")("Featured programs"),xI("row mt-4")(gsn(a)(e.props.featuredPrograms))]),URe("row mt-4")(URe("col-6 offset-3")(Dsn("btn btn-outline-primary btn-block")({onClick:ysn(e.showOverlay)(r)})("All programs")))])])};var XH=B(J),BRe=B(ae),bsn=X(he),Rsn=No(),wsn=ut(x),Ssn=nt(x),JRe=function(e){return XH("card")([_a(e),BRe("card-body")(ue(bsn(e.traditions)(function(n){return XH("row mb-4")([He(n.photoUrl)(function(t){return BRe("col-12 col-md mb-4 mb-md-0")(Rsn("w-100 rounded")({src:t,fit:"crop",crop:"faces",ar:"2:1",auto:"compress,format"}))}),XH("col")([wsn("")(n.name),Ssn("")(n.description)])])})))])};var Esn=B(ae),Csn=rt(ae)()(),Isn=B(x),Tsn=B(J),Fsn=X(he),_i=Y0()(),Msn=An(mt),Gsn=Mn(J)()(),Asn=nn(x),xsn=zn(Nn)(Xt),Lsn=it(Dt),ZH=q(ht),WRe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),qRe=function(){function e(){}return e.value=new e,e}(),zRe=function(e){return function(n){return function(t){var a=Esn("text-center p-4")(Csn("spinner-border text-primary")({role:"status"})(Isn("sr-only")("Loading\u2026"))),r=function(u){return t(WRe.create(u))},o=function(u){var l=Gv(bu(vie)(function(s){return Qf(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 Tsn("pb-5 "+function(){var s=gt(n.overlay);return s?"d-none":""}())(Fsn(l(u))(function(s){if(s.data instanceof Z2)return kbe(_i(c(s))(s.data.value0));if(s.data instanceof K2)return Hbe(_i(c(s))({props:s.data.value0}));if(s.data instanceof eG)return Bbe(_i(c(s))(s.data.value0));if(s.data instanceof nG)return zbe(_i(c(s))({mapboxAccessToken:e.mapboxAccessToken}));if(s.data instanceof tG)return Vbe(_i(c(s))(s.data.value0));if(s.data instanceof aG)return Qbe(_i(c(s))(s.data.value0));if(s.data instanceof rG)return oRe(_i(c(s))({props:s.data.value0,showOverlay:r,randomSeed:e.randomSeed}));if(s.data instanceof oG)return lRe(_i(c(s))({props:s.data.value0,showOverlay:r}));if(s.data instanceof iG)return sRe(_i(c(s))(s.data.value0));if(s.data instanceof uG)return fRe(_i(c(s))({props:s.data.value0}));if(s.data instanceof lG)return mRe(_i(c(s))(s.data.value0));if(s.data instanceof cG)return RRe(_i(c(s))({props:s.data.value0}));if(s.data instanceof sG)return ERe(_i(c(s))(s.data.value0));if(s.data instanceof fG)return FRe(_i(c(s))(s.data.value0));if(s.data instanceof vG)return GRe(_i(c(s))({props:s.data.value0}));if(s.data instanceof mG)return xRe(_i(c(s))(s.data.value0));if(s.data instanceof pG)return LRe(_i(c(s))(s.data.value0));if(s.data instanceof _G)return PRe(_i(c(s))({props:s.data.value0,showOverlay:r}));if(s.data instanceof dG)return HRe(_i(c(s))({props:s.data.value0,showOverlay:r}));if(s.data instanceof hG)return JRe(_i(c(s))(s.data.value0));throw new Error("Failed pattern match at SchoolDetails.ForYou (line 121, column 47 - line 190, column 48): "+[s.data.constructor.name])}))},i=Msn(t)(qRe.value);return ue([ke(a)(o)(so(e.contentModules)),He(n.overlay)(function(u){return ue([Gsn("btn btn-link px-0")({onClick:i})([Asn("fe fe-chevron-left mr-1")(""),Y("Back")]),u])})])}}},$Re=function(e){return function(n){if(n instanceof WRe)return xsn(wr(Lsn(QL)))(function(){return ZH({overlay:new d(n.value0)})});if(n instanceof qRe)return ZH({overlay:C.value});throw new Error("Failed pattern match at SchoolDetails.ForYou (line 72, column 1 - line 72, column 55): "+[e.constructor.name,n.constructor.name])}},VRe=function(){return ZH({overlay:C.value})}();var jsn=Qt($o),Nsn=Yf(),Psn=eP(),QRe=function(e){var n=aa(e)()();return function(t){return function(a){return n(t)({href:a.href,onClick:jsn(function(r){return function(){return Nsn(r)(),Psn(r)(),a.onClick()}})})}}};var Osn=Mn(x)()(),YRe=An(mt),ksn=Mn(J)()(),Usn=nn(x),Hsn=aw(Vne),Bsn=Fa(),Jsn=B(J),Wsn=Qe(ma),qsn=j(he),zsn=function(e){return function(n){return n instanceof d&&n.value0 instanceof u_?"btn-success":n instanceof d&&n.value0 instanceof l_?"btn-danger":n instanceof d&&n.value0 instanceof i_?"btn-secondary":n instanceof d&&n.value0 instanceof c_||n instanceof C&&e.primary?"btn-primary":n instanceof C?"btn-outline-primary":"btn-light"}},$sn=function(e){return e instanceof u_?"badge-soft-success bg-success-soft":e instanceof l_?"badge-soft-danger bg-danger-soft":e instanceof i_?"badge-secondary bg-secondary":e instanceof c_?"badge-soft-primary bg-primary-soft":"badge-light bg-light text-dark"},XRe=function(){return function(e){return function(n){return function(t){var a=function(v){return" t--school-list-status-"+uu(GS(v))},r=function(v){return Osn("dropdown-item mb-1 "+($sn(v)+a(v)))({onClick:YRe(t)(new d(v))})(e2(v))},o=function(){var v=function(m){if(Le)return[ksn("dropdown-item mb-1 d-flex align-items-end badge-danger bg-danger t--school-list-status-remove")({onClick:YRe(t)(C.value)})([Usn("fe fe-x mr-2")(""),Y("Remove from list")])];throw new Error("Failed pattern match at Hub.ListStatusSelector (line 27, column 1 - line 32, column 15): "+[])};return n instanceof C?[]:v(!0)}(),i=Hsn(v9)(ke([])(W0)(n)),u=Bsn(e),l=Zn(u.buttonContent)(Y(ke("Add to my list")(e2)(n))),c=Zn(u.primary)(!1),s=Zn(u.small)(!1),f=Zn(u.buttonClass)("btn btn-block "+function(){return s?"no-animation btn-sm":"px-4"}());return L4("")({toggleClass:f+(" t--school-list-status-selector "+zsn({primary:c})(n)),toggleContent:l,content:function(v){return Jsn(Zn(u.menuClass)("")+(" "+v.className))(Wsn(qsn(r)(i))(o))}})}}}};var Vsn=tv(),Qsn=on(),Ysn=An(uo),ZRe=function(e){return Vsn({options:tle(e.schoolDb),getOptionLabel:uS,getOptionValue:function(n){return Qsn(oa(n))},onSelect:Ysn(e.onSelect)(function(n){return n}),placeholder:e.placeholder,noOptionsMessage:mA(function(n){return Y("No schools found")}),classNamePrefix:e.classNamePrefix,"aria-label":e.placeholder})};var KRe="/messages";var hx=Mn(x)()(),KH=Qt(er),gx=B(ae),rfn=B(J),ofn=aa(x)()(),Dx=function(e){var n=hx("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(Le)return"Ignore connection";throw new Error("Failed pattern match at Network.SemVine.SchoolDetailsButton (line 109, column 5 - line 111, 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 114, column 7 - line 117, column 25): "+[e.vineBelowConnectionLimit.constructor.name])}(),r=hx("btn btn-block btn-primary px-4 t--sdp-connection-invite")({onClick:KH(e.onInviteSchool),disabled:a,style:Sn({pointerEvents:function(){return a?"none":"auto"}()})})("Connect"),o=function(){return a?JE(BE)(gx("t--sdp-connection-invite-wrapper")(r)):r}(),i=function(){if(e.shortText)return"Accept";if(Le)return"Accept connection";throw new Error("Failed pattern match at Network.SemVine.SchoolDetailsButton (line 105, column 5 - line 107, column 40): "+[])}(),u=hx("btn btn-block btn-primary text-nowrap t--sdp-connection-accept")({onClick:KH(e.onAcceptInvitation),disabled:a,style:Sn({pointerEvents:function(){return a?"none":"auto"}()})})(i),l=rfn("form-row")([gx("col-6 pr-2")(function(){return a?JE(BE)(gx("t--sdp-connection-accept-wrapper")(u)):u}()),gx("col-6 pl-2")(hx("btn btn-block btn-light text-nowrap t--sdp-connection-ignore")({onClick:KH(e.onIgnoreInvitation)})(t))]),c=CS(oa(e.school))(e.schoolDb);if(c instanceof qt&&c.value0.status instanceof kl)return ofn("btn btn-block btn-outline-primary t--sdp-connection-go-to-chat")({href:KRe})("Message");if(c instanceof qt&&c.value0.status instanceof Vo&&c.value0.initiator instanceof ji)return l;if(c instanceof qt&&c.value0.status instanceof Fu&&c.value0.initiator instanceof ji)return o;if(c instanceof qt&&c.value0.status instanceof Vo&&c.value0.initiator instanceof Cs||c instanceof qt&&c.value0.status instanceof Fu&&c.value0.initiator instanceof Cs)return n;if(c instanceof ya)return o;if(c instanceof nr)return ln;throw new Error("Failed pattern match at Network.SemVine.SchoolDetailsButton (line 36, column 3 - line 58, column 14): "+[c.constructor.name])};var ewe=Z(Ot),ifn=Vi(qn($n()(E({reflectSymbol:function(){return"id"}})(ie)(E({reflectSymbol:function(){return"imageUrl"}})(ie)(E({reflectSymbol:function(){return"name"}})(ie)(E({reflectSymbol:function(){return"slug"}})(ie)(_e))))))),ufn=q(sa),lfn=X(he),nwe=J0(),twe=Xr(Mr(Go))("schools_search_path")(function(e){return function(n){return ewe(e({term:n}))(kr(function(t){return ewe(ifn("School Search Results")(t))(function(a){return ufn(lfn(a)(function(r){return{imageUrl:r.imageUrl,name:r.name,id:nwe(r.id),slug:nwe(r.slug)}}))})}))}});var awe=X(Vt),cfn=is(Pv),rwe=function(){var e=function(t){return awe(awe(cfn(twe(t)))(nc))(Se([]))},n=function(t){return yG(o0(Qo.value)(t.slug))};return _A()({loadOptions:pA(e),defaultOptions:!0,getOptionLabel:function(t){return t.name},getOptionValue:function(){var t=te(Ci);return function(a){return t(function(r){return r.id}(a))}}(),onSelect:Qt($o)(n),placeholder:"Type to search",instanceId:"school-jump-bar"})}();var sfn=Ds(J),ffn=X(he),vfn=Ic(ae),mfn=QRe(x),pfn=me(Die),owe=on(),_fn=zf(),dfn=X(H),hfn=XRe(),Uc=B(ae),gfn=No(),Ym=B(J),Dfn=B(x),eB=j(H),yfn=rt(ae)()(),bfn=Nf(x),Rfn=nn(x),wfn=function(e){return function(n){var t=Lr(DG({chancingState:n.chancingState,featureFlags:n.featureFlags,currentUser:n.currentUser,configuration:n.configuration,school:e.school,schoolDb:e.schoolDb}))([Mu.value,Qo.value,Qi.value,Gu.value,Ul.value,Hl.value,Bl.value]),a=function(o){if(o instanceof Qo)return"Overview";if(o instanceof Mu)return"For you";if(o instanceof Qi)return"Chancing";if(o instanceof Gu)return"Cost & scholarships";if(o instanceof Ul)return"Majors";if(o instanceof Hl)return"Admissions";if(o instanceof Bl)return"Essay prompt";throw new Error("Failed pattern match at SchoolDetails.Header (line 190, column 15 - line 197, 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(Le)return"";throw new Error("Failed pattern match at SchoolDetails.Header (line 199, column 5 - line 203, column 13): "+[])}();return Cn(e.showNav)(sfn("nav nav-tabs overflow-visible border-bottom-0 "+r)(ffn(t)(function(o){return vfn("nav-item text-nowrap")(mfn("cursor-pointer py-3 nav-link t--sdp-tab-"+(vE(o)+function(){var i=pfn(o)(e.activeTab);return i?" active":""}()))({onClick:e.onSwitchTab(o),href:o0(o)(function(i){return i.slug}(owe(e.school)))})(a(o)))})))}},Sfn=function(e){return function(n){if(n.currentUser instanceof C)return _fn({text:"Add to my list",className:"btn btn-outline-primary btn-block",auth0ActiveTab:qf});if(n.currentUser instanceof d){var t=dfn(ES(oa(e.school))(e.schoolDb))(function(a){return a.status});return hfn({small:!1,primary:!1})(t)(e.onListStatusChange)}throw new Error("Failed pattern match at SchoolDetails.Header (line 145, column 33 - line 157, column 34): "+[n.currentUser.constructor.name])}},iwe=function(e){return function(n){var t=Uc("col-10 col-lg-5 py-2 mr-lg-0 pl-0")(function(){var i=pa(e.schoolDb.searchOptions)<10;return i?rwe:ZRe({schoolDb:e.schoolDb,onSelect:e.onSelectSchool,placeholder:"Type to search...",classNamePrefix:""})}()),a=owe(e.school),r=function(){if(a.publicPrivate instanceof Wp)return"Public";if(a.publicPrivate instanceof qp)return"Private";throw new Error("Failed pattern match at SchoolDetails.Header (line 112, column 21 - line 114, column 33): "+[a.publicPrivate.constructor.name])}(),o=function(i){return gfn("rounded")({src:a.imgixPath,fit:"crop",crop:"edges",style:Sn({height:i,width:"100%",objectFit:"cover"})})};return Ym("header mb-3 mx-n3 mx-md-0")([Ym("row pr-3 my-3")([Uc("col pr-0")(Sa(n.backButton)),Sa(Iu(e.configuration)(t)),Dfn("col")("")]),Ym("position-relative mx-3 mx-lg-0")([Uc("d-md-none")(o("15rem")),Uc("d-none d-md-block")(o("20rem")),Sa(eB(yfn("position-absolute d-inline bg-gray-100 rounded")({style:Sn({top:"1.5rem",right:"1.5rem"})}))(I1e(e.onEdit)(Lb.value)))]),Uc("container px-lg-0")(Ym("pb-0 pb-md-3")([Ym("row align-items-end mt-4")([Ym("col mb-3")([Ym("row align-items-center")([Uc("col-auto")(bfn("header-title")(a.name)),Sa(eB(Uc("col-auto pl-0"))(Ki(e.onEdit)(sd.value)))]),Uc("row")(Ym("col small")(nw(Rfn("mx-2")("\u2022"))(Co(eB(Y))([new d(Yw(a.address)),gL(a),new d(r)]))))]),Uc("col-12 col-lg-auto my-0 mb-lg-3")(Ym("row no-gutters g-0 align-items-center")([Cn(e.showConnectButton)(Uc("col-12 col-lg-auto pb-3 pb-lg-0 pr-lg-2")(Dx({school:e.school,schoolDb:e.schoolDb,onInviteSchool:e.onInviteSchool,onAcceptInvitation:e.onAcceptInvitation,onIgnoreInvitation:e.onIgnoreInvitation,featureFlags:n.featureFlags,vineBelowConnectionLimit:e.vineBelowConnectionLimit,shortText:!1}))),Sa(Iu(e.configuration)(Uc("col-12 col-lg-auto")(Sfn(e)(n))))]))]),Uc("row border-bottom mx-1")(Uc("col col-lg-auto mt-3 mt-lg-0 px-0")(wfn(e)(n)))]))])}};var uwe=B(ae),Efn=nn(x),Cfn=te(ze),Ifn=ut(x),yx=B(J),lwe=e_(J),cwe=MM(ae),bx=Zp(ae),swe=GM(x),fwe=Kp(J),nB=X(he),vwe=Qv(x),Tfn=B(x),Ffn=nf(Ut),Mfn=function(e){return uwe("card bg-white")(uwe("card-body")(Efn("")(e.name+(" has "+(Cfn(pa(e.majors))+" different majors")))))},Gfn=function(e){return ue([Ifn("")("Most popular majors"),yx("card")([yx("table-responsive")([lwe("table table-sm table-nowrap card-table")([cwe("")(bx("")(swe("")("Major"))),fwe("list")(nB(e)(function(n){return bx("")(vwe("")(n.name))}))])])])])},Afn=function(e){return function(n){var t=a9(n.id)(e),a=nB(Ene(t))(function(r){var o=Cp(r).areaOfStudy;return ue([yx("card")([Tfn("card-header")(o),yx("table-responsive")([lwe("table table-sm table-nowrap card-table")([cwe("")(bx("")(swe("")("Major"))),fwe("list")(nB(Gv(Ffn(function(i){return i.name}))(ac(r)))(function(i){return bx("")(vwe("")(i.name))}))])])])])});return ue(a)}},mwe=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 ue([Mfn(n),function(){return n.id==="b1fe9c0b-0310-45f9-8579-1ad20fabacb1"?Gfn(t):ln}(),Afn(e)(n)])}};var pwe=q(ht),_we=Ii(Vt),xfn=Ir(_we),Lfn=Z(Xt),jfn=mr(_we),b0=B(J),Rx=rt(ae)()(),dwe=At(x),tB=B(x),wx=B(ae),Nfn=ut(x),Pfn=co(x),aB=nn(x),Ofn=nn(ae),rB=Ma(x),kfn=te(Wi),hwe=te(ze),Ufn=rt(x)()(),Hfn=aa(x)()(),oB=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),gwe=function(e){return function(n){if(n.value0 instanceof Yt)return pwe({liteChancing:e.liteChancing,schools:e.schools,chancedSchool:function(){var t=Ri(n.value0.value0.value0);if(t instanceof d)return new qt(t.value0);if(t instanceof C)return ya.value;throw new Error("Failed pattern match at SchoolDetails.Chancing.LiteChancingCta (line 61, column 11 - line 63, column 30): "+[t.constructor.name])}()});if(n.value0 instanceof Kn)return xfn(oB.create)(function(t){return{chancedSchool:e.chancedSchool,schools:e.schools,liteChancing:t}})(u1e({schools:e.schools})(e.liteChancing)(n.value0));throw new Error("Failed pattern match at SchoolDetails.Chancing.LiteChancingCta (line 56, column 16 - line 67, column 55): "+[n.constructor.name])}},Dwe=c2()({utmCampaign:"uaq-38-sdp"})(A4),ywe=function(e){var n=[a1e(e)];return Lfn(jfn(oB.create)(i1e({schoolItems:n,redirectUrlOverride:new d(Dwe)})))(function(t){return pwe({schools:n,chancedSchool:new nr(C.value),liteChancing:t})})},bwe=function(e){return function(n){return function(t){return function(a){var r=function(l){return He(l.score)(function(c){return b0("row align-items-center mb-3")([Rx("col-12 col-lg-auto")({style:Sn({minHeight:"140px",minWidth:"280px"})})(Yb({score:new d(jr(c*100))})),b0("col-12 col-lg py-3 my-auto")([dwe("font-weight-normal fw-normal")("Your chances"),tB("h3 text-gray-800 mb-0 large")(Ga(c))])])})},o=function(l){return Rie(l)},i=function(l){return e.liteChancing.chancingIsLoading?Rx("mb-4 spinner-border spinner-border-lg text-primary small")({role:"status"})(tB("sr-only")("Loading\u2026")):r(l)},u=function(l){return c1e(e.liteChancing)(function(c){return n(oB.create(c))})(function(c){return wx("mt-2 mb-0 lite-chancing-cta")(wx("card h-100")(b0("card-body overflow-auto mh-100")([b0("d-flex align-items-center mb-4")([Nfn("my-0 mr-3")("Chancing"),Sa(Ki(a)(kb.value))]),b0("row")([b0("col-12 col-lg-6")([dwe("")("What are your chances of acceptance?"),i(l)]),b0("col-12 col-lg-6")([Pfn("font-weight-normal fw-normal")("Your chancing factors"),c.gpaSlider({className:"mt-2 mb-3",label:function(s){return ue([aB("mb-2")("Unweighted GPA:"),Ofn("gpa")(rB("")(" "+kfn(s)))])},onChange:o(c.redirectUrl)}),b0("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 ue([Y("SAT: "),rB("")(hwe(s)+" math")])},onChange:o(c.redirectUrl)}),c.satVerbalScoreSlider({className:"small t--sdp-lite-chancing-cta-left-sidebar-sat-verbal",label:function(s){return ue([Y(" | "),rB("")(hwe(s)+" verbal")])},onChange:o(c.redirectUrl)})]),wx("mb-2")(c.genderDropdown({onChange:o(c.redirectUrl),className:""})),c.ecSelector({onChange:o(c.redirectUrl),className:""}),b0("")([b0("mb-1 small")([aB("text-danger")("Low accuracy"),aB("text-muted")(" (4 of 18 factors)")]),Rx("progress")({style:Sn({backgroundColor:"#95aac9",height:"3px"})})(Ufn("progress-bar bg-danger")({role:"progressbar",style:Sn({width:"15%"})})(""))]),wx("mt-4")(Hfn("t--sdp-lite-chancing-cta-left-sidebar-complete-full-profile-uaq-8 btn btn-primary w-100")({href:Rs({key:"utm_content",value:"add-more-factors"})(Dwe)})("Add more factors \u203A"))])])])))})};if(e.chancedSchool instanceof nr)return Rx("mb-4 spinner-border spinner-border-lg text-primary small")({role:"status"})(tB("sr-only")("Loading\u2026"));if(e.chancedSchool instanceof ya)return t;if(e.chancedSchool instanceof qt)return u(e.chancedSchool.value0);throw new Error("Failed pattern match at SchoolDetails.Chancing.LiteChancingCta (line 71, column 3 - line 83, column 32): "+[e.chancedSchool.constructor.name])}}}};var Rwe=Ab(x),Bfn=So($e)(st),wwe=te(ze),Jfn=ut(ae),Wfn=At(x),LI=B(J),iB=B(ae),qfn=ut(x),zfn=function(e){var n=Ug(ld(e.studentsPerFaculty.percentile));return ue([Rwe("Student faculty ratio")(Bfn([Kv(l2.value),wwe(e.studentsPerFaculty.value),":1 is ",n,"."])),Ja("")(wwe(e.studentsPerFaculty.value)+":1")])},$fn=function(e){return ue([Rwe("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. `),Ja("mr-1")(oK(e.calendarSystem))])},Vfn=function(e){var n=function(t){return Jfn("d-inline-block mb-2")(sl(t))};return ue([Wfn("mb-4 mt-5 mt-md-4")("Special academic offering"),LI("")([Cn(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 ln;throw new Error("Failed pattern match at SchoolDetails.Overview.Academics (line 78, column 7 - line 82, column 32): "+[e.academicOfferings.creditForApExams.constructor.name,e.academicOfferings.creditForIbExams.constructor.name])}(),Cn(e.academicOfferings.offersGradDegree)(n("Offers graduate degree")),Cn(e.academicOfferings.careerCounseling)(n("Academic and career counseling"))])])},Swe=function(e){return iB("card t--academics mt-5")(LI("card-body d-flex align-items-start")([LI("flex-grow-1 mr-4")([LI("d-flex align-items-center mb-5")([qfn("my-0 mr-3 flex-grow-1")("Academics"),Sa(Ki(e.onEdit)(Ob.value))]),LI("row")([iB("col-12 col-md-6")(zfn(e.school)),iB("col-12 col-md-6")($fn(e.school))]),Vfn(e.school)])]))};var Sx=B(J),tR=B(ae),Qfn=Xv(x),Yfn=At(J),Xfn=_u(x),Zfn=ut(ae),Kfn=co(x),evn=nt(x),nvn=U2(),tvn=q(kn),avn=X(HA),rvn=ut(x),ovn=nn(ae),ivn=on(),uvn=function(e){return He(e.admissions.acceptanceRate)(function(n){return Sx("row align-items-center mb-3")([tR("col-12 col-lg-6")(tR("row")(tR("col-6 order-2 order-lg-1 px-sm-4 px-lg-0")(Yb({score:new d(jr(100*n.value))})))),Sx("col-12 col-lg-6 py-3 my-auto")([Qfn("text-uppercase text-muted")("Overall acceptance rate"),Yfn("text-gray-800 mb-0")([Y(Ga(n.value)),Xfn("text-secondary ml-2")(zg(e))])])])})},lvn=function(e){return tR("card t--chancing")(Sx("card-body")([Zfn("")(Y(function(){if(e.admissions.acceptanceRate instanceof d)return Lye(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 73, column 26 - line 75, column 31): "+[e.admissions.acceptanceRate.constructor.name])}())),uvn(e),Kfn("")("Want to see your real chances?"),evn("")("We take every aspect of your personal profile into consideration when calculating your admissions chances."),nvn({text:"Calculate my chances",className:"btn btn-primary"})]))},Ewe=function(e){return function(n){return function(t){var a=lvn(e.school);return function(r){if(r instanceof Hb)return He(BA(r.value1))(Zb({onSwitchTab:tvn(e.onSwitchTab),showViewChancingExplanationCTA:!0,schoolDb:e.schoolDb})(e.school)(r.value0)(avn(WA(r.value1))(function(o){return o.top})));if(r instanceof Jb)return bwe(e.liteChancing)(t)(a)(e.onEdit);if(r instanceof Wb)return fI({narrowLayout:n.mobileLayout});if(r instanceof Bb)return tR("card")(Sx("card-body")([rvn("mr-3")("Chancing"),tR("p-6 text-center")(ovn("spinner-border spinner-border-sm text-primary")(ln))]));throw new Error("Failed pattern match at SchoolDetails.Overview.Chancing (line 46, column 7 - line 65, column 16): "+[r.constructor.name])}(JA({currentUser:n.currentUser,chancingState:n.chancingState,school:ivn(e.school)}))}}};var Ex="/recruit/verify-profile";var cvn=pt(Ae),svn=X(H),fvn=me(lc),vvn=aa(J)()(),mvn=nn(x),Cx=B(J),uB=B(x),Cwe=aa(x)()(),pvn=B(ae),_vn=ut(x),dvn=nt(x),lB=function(e){return function(n){return e.featureFlags.rcr2577ClaimSchoolProfileLinkOnSdp?e.school.profileClaimed?C.value:cvn(Iu(e.configuration))(function(){var t=svn(e.currentUser)(function(a){return a.role});return t instanceof C?new d(n(Ie)):t instanceof d&&t.value0 instanceof hj&&fvn(t.value0.value0.schoolId)(oa(e.school))?new d(n(Ie)):C.value}()):C.value}},Iwe=function(e){return lB(e)(function(n){return vvn("d-flex align-items-center")({href:Ex})([mvn("material-symbol large mr-2")("verified"),Cx("d-flex flex-column flex-md-row")([uB("mr-md-2")("Work at "+(uS(e.school)+"?")),uB("")("Verify your profile")])])})},Twe=function(e){return lB(e)(function(n){return Cx("d-flex flex-column flex-md-row justify-content-center align-items-center border-top pt-3 mb-5")([uB("mr-md-2")("Do you work at a school?"),Cwe("")({href:Ex})("Verify your profile")])})},Fwe=function(e){return lB(e)(function(n){return pvn("card bg-cv-green-50")(Cx("card-body d-flex align-items-center")([uE("img-fluid mr-4 d-none d-md-block")("/img/sem/claim-school-profile-cta.svg"),Cx("")([_vn("")("Do you work at "+(uS(e.school)+"?")),dvn("")(` Verify your profile\xA0to keep your college's data up to date, get insights on user activity and connect with hand raiser students `),Cwe("")({href:Ex})("Verify your profile")])]))})};var hvn=me(lc),cB=B(J),gvn=jl(x),Dvn=jf()(),yvn=An(uo),bvn=ia(x),Rvn=B(ae),wvn=nn(x),Mwe=te(ze),jI=q(ht),Gwe=zn(Nn),Awe=Gwe(Xt),sB=$r(Dt),fB=q(sa),Svn=Gwe(Ot),vB=function(){function e(){}return e.value=new e,e}(),xwe=function(){function e(){}return e.value=new e,e}(),Lwe=function(){function e(){}return e.value=new e,e}(),jwe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Nwe=function(){function e(){}return e.value=new e,e}(),Pwe=function(){function e(){}return e.value=new e,e}(),Owe=function(e){return function(n){return function(t){var a=oa(e.school),r=function(){return n.stagedNotes instanceof d&&hvn(n.stagedNotes.value0.schoolId)(a)?n.stagedNotes.value0.text:t9(a)(e.schoolDb)}(),o=function(){if(n.savedIndicator instanceof vB)return"hidden";if(n.savedIndicator instanceof xwe)return"";if(n.savedIndicator instanceof Lwe)return"fade-out";throw new Error("Failed pattern match at SchoolDetails.Overview.Notes (line 93, column 27 - line 96, column 27): "+[n.savedIndicator.constructor.name])}(),i=ct(b2),u=function(c){if(c{let e=null,n=0,t=()=>{if(!R0||!R0.key)return R0||console.error("Pusher config is missing in global context"),new rmn;let a={auth:{headers:{"X-CSRF-Token":R0.authToken}},authEndpoint:R0.authPath,cluster:R0.cluster};return R0.dev&&Object.assign(a,{wsHost:R0.dev.wsHost,wsPort:R0.dev.wsPort,enabledTransports:["ws"],forceTLS:!1,disableStats:!0}),new MSe.default(R0.key,a)};return{acquireConnection:()=>(e||(e=t(),n=0),n++,e),releaseConnection:()=>{--n<=0&&(e.disconnect(),e=null)}}})(),GSe=e=>{let n=tmn().subscribe(e.channel);return n.bind(e.event,e.handler),()=>{n.unbind(e.event,e.handler),amn()}};function rmn(){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 omn(e);return this.channels.push(t),t},this.channelNames=function(){return this.channels.map(e=>e.name)}}function omn(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 imn=Rr(st),umn=no($t)(Jo);var lmn={show:function(e){return e}},cmn=te(lmn),SB=ie,ASe=function(e){var n=qw(e);return function(t){return function(a){return function(r){var o=imn(["Pusher event ",a," over channel ",cmn(t)]),i=function(u){return umn(n(o)(u))(r)()};return function(){return GSe({channel:t,event:a,handler:i})}}}}};var EB=ie;var xSe=Mr(Go),LSe=Z(Ot),jSe=$n(),smn=Vi(jSe(E({reflectSymbol:function(){return"failureReason"}})(ie)(E({reflectSymbol:function(){return"success"}})(Wn)(_e)))),fmn=Vi(jSe(E({reflectSymbol:function(){return"conversationId"}})(EB)(E({reflectSymbol:function(){return"pusherChannel"}})(SB)(_e)))),NSe=Xr(Mr(Mr(xSe)))("trellis_inference_recruiter_send_message_path")(function(e){return function(n){return function(t){return function(a){return LSe(e({conversationId:t,message:a,presetTopic:Zu,vault:n}))(kr(smn("Trellis.Inference.Recruiter.API: sendMessage")))}}}}),PSe=Xr(xSe)("trellis_inference_recruiter_create_conversation_path")(function(e){return function(n){return LSe(e({school_id:n}))(kr(function(t){return fmn("Trellis.Inference.Recruiter.API: createConversation")(t)}))}});var vmn=on(),OSe=function(e){return"/trellis/inference/recruiter/direct-message-introduction/"+vmn(e)};var kSe="active";var CB=xge()(),Nx=Yv(J)()()("")({style:Sn({height:40,width:40})})([CB("blink")({cx:10,cy:20,r:3,style:Sn({fill:"grey"})}),CB("blink")({cx:20,cy:20,r:3,style:Sn({fill:"grey",animationDelay:"250ms"})}),CB("blink")({cx:30,cy:20,r:3,style:Sn({fill:"grey",animationDelay:"500ms"})})]);var mmn=X(ft);var USe=function(e){return mmn(mj(e.currentTarget))(function(n){return Zn(WL(n))(0)})};var HSe=qa(),pmn=Qe(SL),_mn=Rr(st),IB=te(ze),dmn=dl(Ae),hmn=Z(Ae);var Px=function(){var e=HSe(nc(D1("\\s+")(pmn(cM)(KK)))),n=Lr(function(a){return a!==""}),t=wL(e);return function(a){return pa(n(t(a)))}}(),BSe=function(e){return function(n){var t=Px(n);return _mn([IB(t),"/",IB(e)," words"])}},JSe=function(e){return function(n){var t=function(i){return HSe(nc(D1("^(?:[\\w-]+[^\\w-]+){"+(IB(i)+"}[\\w-]+"))(ZK)))},a=function(i){return function(u){var l=dmn(hmn(EL(t(i-1|0))(u))(jt(vw)(0)));return Se(u)(l)}},r=Xf(n),o=Px(r)0;return i?"/img/icons/ivy-send-purple.svg":"/img/icons/ai-send.svg"}()))},r=Rmn(e);return ue([wmn("flex-grow-1")([Smn("form-control t--new-message-body "+Zn(r.className)(""))({autoFocus:Zn(r.autoFocus)(!0),placeholder:r.placeholder,style:Sn({borderStyle:"none",resize:"none",height:function(){if(n.messageHeight instanceof C)return"";if(n.messageHeight instanceof d)return Emn(n.messageHeight.value0)+"px";throw new Error("Failed pattern match at Vinai.AuthorChatMessage (line 91, column 19 - line 93, column 37): "+[n.messageHeight.constructor.name])}(),background:"none"}),rows:1,value:n.message,onChange:function(o){var i=JSe(1e3)(o),u=Lmn(o)(),l=function(){var c=zr(i)<5;return c?C.value:new d(u)}();return t(Kn.create(Gmn.create({message:i,messageHeight:l})))()},onKeyPress:Cmn(function(o){return qSe(o.key==="Enter"&&!o.shiftKey)(function(){return Imn(o)(),qSe(n.message!==""&&xmn(r.sendButtonStatus)(gd.value))(t(Yt.create(TB.create(n.message))))()})})}),Cn(Px(n.message)>=Tmn(1e3)(2))(Fmn("pl-3 pb-3 text-muted small")(BSe(1e3)(n.message)))]),Mmn("text-right d-flex")(function(){if(r.sendButtonStatus instanceof gd)return a(!0);if(r.sendButtonStatus instanceof aD)return a(!1);if(r.sendButtonStatus instanceof Dd)return Nx;throw new Error("Failed pattern match at Vinai.AuthorChatMessage (line 114, column 7 - line 117, column 35): "+[r.sendButtonStatus.constructor.name])}())])}}}};var Ox=function(){return{message:"",messageHeight:C.value}}();var jmn=on();var Nmn=function(e){return jmn(fF(e))};var zSe=function(e){return Wr(Nmn(e))};var Pmn=zT(Ut),Omn=ah(Wo),kmn=Z(Ka),$Se=it(us),VSe=q($t),Umn=yp($t)(bi),Hmn=ASe(Ap),Bmn=Ve(Xe),Jmn=Rr(V5(W5)),Wmn=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),kx=function(){function e(){}return e.value=new e,e}(),Ux=function(){function e(){}return e.value=new e,e}();var GB={append:function(e){return function(n){return Pmn(n)(e)}}},qmn={mempty:mf,Semigroup0:function(){return GB}},zmn=jv(vF(qmn)(da)),QSe=function(e){return e.value0.disconnect},YSe=function(e){return function(n){var t=zSe(n),a=Omn(t);return function(){var o=$Se(of(VSe(Ie)))(),i=Umn(a)(function(l){return Hmn(e)(l.value0)(function(c){return function(){var f=l.value1(c)();if(f instanceof kx)return Ie;if(f instanceof Ux)return kmn(Xc(o))(Bmn)();throw new Error("Failed pattern match at Utils.Pusher.ListenMany (line 77, column 23 - line 79, column 66): "+[f.constructor.name])}})})(),u=Jmn(i);return $Se(rf(u)(o))(),new Wmn({disconnect:u})}}},Hx=function(e){var n=X0(e);return function(t){return function(a){return zmn(VD(t)(function(r){var o=n(r);if(o instanceof un)return a(o.value0);if(o instanceof rn)return Fo(zo)("Error parsing Pusher event")({error:o.value0,event:t,value:r})(function(i){return VSe(kx.value)});throw new Error("Failed pattern match at Utils.Pusher.ListenMany (line 39, column 65 - line 41, column 122): "+[o.constructor.name])}))}}};var rD=function(){function e(){}return e.value=new e,e}(),HI=function(){function e(){}return e.value=new e,e}();var pv=function(){function e(){}return e.value=new e,e}(),Js=function(){function e(){}return e.value=new e,e}();var AB={eq:function(e){return function(n){return e instanceof pv&&n instanceof pv||e instanceof Js&&n instanceof Js}}};var Ymn={reflectSymbol:function(){return"timestamp"}};var xB=zn(Nn),BI=xB(Xt),LB=Z(Ot),JI=it(Dt),XSe=xB(xp(GB)(H5)),jB=$n(),ZSe=E({reflectSymbol:function(){return"id"}})(ie),Xmn=Hx(jB(E({reflectSymbol:function(){return"delta"}})(ie)(ZSe(E(Ymn)(ie)(_e))))),Zmn=Hx(jB(E({reflectSymbol:function(){return"body"}})(ie)(ZSe(_e)))),Kmn=Hx(jB(_e)),NB=xB(Ot),Bx=q(sa),PB=$r(Dt),epn=Rp(st),npn=ii(S6)(st),_v=q(ht),KSe=Qe(ma),tpn=iQ(RM),apn=no(ht)(Jo),dv=function(){function e(){}return e.value=new e,e}(),Zm=function(){function e(){}return e.value=new e,e}(),Km=function(){function e(){}return e.value=new e,e}(),Hc=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),w0=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Jx=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),eEe=function(){function e(){}return e.value=new e,e}(),OB=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),kB=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),nEe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),tEe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),aEe=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}(),rpn=function(){function e(){}return e.value=new e,e}();var opn=function(e){return{delta:e.delta,id:e.id,timestamp:Nh(e.timestamp)}},rEe=function(e){return function(n){var t=function(a){return function(r){return{body:r.body,sender:HI.value,sentAt:a,id:new d(r.id)}}};return BI(wh(function(a){return LB(JI(YSe(e.receiveChannelName)(XSe(Xmn("chat-completion-chunk")(function(r){return function(){var i=jh();return a.dispatch(new aEe(i,opn(r)))(),kx.value}}))(function(){return XSe(Zmn("chat-completion-message-received")(function(r){return function(){var i=jh();return a.dispatch(new kB(t(i)(r)))(),Ux.value}}))(function(){return Kmn("chat-completion-failed")(function(r){return function(){return a.dispatch(new OB(C.value))(),Ux.value}})})}))))(function(r){return NB(JI(a.dispatch(new tEe(r))))(function(){return LB(e.sendMessage(n))(function(o){return o.success?Bx(Ie):JI(a.dispatch(new OB(new d(o.failureReason))))})})})}))(function(){return PB(NB(cs(200))(function(){return Bx(eEe.value)}))})}},ipn=function(e){return function(n){return BI(PB(LB(JI(jh))(function(t){return Bx(new nEe({sender:rD.value,body:n,sentAt:t,id:C.value}))})))(function(){return rEe(e)(n)})}},UB=function(e){var n=function(t){var a=Si("$$")(t),r=vQ(pa(a));return r?epn("$$")(ew(0)(pa(a)-1|0)(a)):t};return{sender:HI.value,body:n(npn(function(t){return t.content})(e.deltas)),sentAt:Cp(e.deltas).timestamp,id:new d(e.id)}},upn=function(e){if(e.receivingResponse instanceof C)return _v(Ie);if(e.receivingResponse instanceof d)return e.sendingState instanceof Hc?PB(NB(JI(QSe(e.receivingResponse.value0)))(function(){return Bx(new kB(UB(e.sendingState.value0)))})):_v(Ie);throw new Error("Failed pattern match at Vinai.Chatbot (line 300, column 1 - line 300, column 51): "+[e.constructor.name])},HB=function(e){return function(n){if(n instanceof Jx)return BI(ipn(e)(n.value0))(function(){return _v(e)});if(n instanceof eEe)return _v({messages:e.messages,receiveChannelName:e.receiveChannelName,receivingResponse:e.receivingResponse,sendMessage:e.sendMessage,sendingState:function(){if(e.sendingState instanceof dv)return dv.value;if(e.sendingState instanceof Zm||e.sendingState instanceof Km)return Km.value;if(e.sendingState instanceof Hc)return new Hc(e.sendingState.value0);if(e.sendingState instanceof w0)return new w0(e.sendingState.value0);throw new Error("Failed pattern match at Vinai.Chatbot (line 168, column 9 - line 173, column 59): "+[e.sendingState.constructor.name])}()});if(n instanceof OB)return _v({messages:e.messages,receiveChannelName:e.receiveChannelName,sendMessage:e.sendMessage,sendingState:new w0(n.value0),receivingResponse:C.value});if(n instanceof kB)return _v({receiveChannelName:e.receiveChannelName,sendMessage:e.sendMessage,messages:KSe(e.messages)([n.value0]),sendingState:dv.value,receivingResponse:C.value});if(n instanceof nEe)return _v({receiveChannelName:e.receiveChannelName,receivingResponse:e.receivingResponse,sendMessage:e.sendMessage,messages:KSe(e.messages)([n.value0]),sendingState:Zm.value});if(n instanceof tEe)return _v({messages:e.messages,receiveChannelName:e.receiveChannelName,sendMessage:e.sendMessage,sendingState:e.sendingState,receivingResponse:new d(n.value0)});if(n instanceof aEe)return _v({messages:e.messages,receiveChannelName:e.receiveChannelName,receivingResponse:e.receivingResponse,sendMessage:e.sendMessage,sendingState:function(){if(e.sendingState instanceof Hc&&n.value1.id===e.sendingState.value0.id)return new Hc({id:e.sendingState.value0.id,deltas:tpn(function(t){return t.timestamp})(eQ(e.sendingState.value0.deltas)({content:n.value1.delta,timestamp:Se(n.value0)(n.value1.timestamp)}))});if(e.sendingState instanceof Hc)return e.sendingState;if(e.sendingState instanceof Km)return new Hc({deltas:Zd({content:n.value1.delta,timestamp:Se(n.value0)(n.value1.timestamp)}),id:n.value1.id});if(e.sendingState instanceof Zm)return new Hc({deltas:Zd({content:n.value1.delta,timestamp:Se(n.value0)(n.value1.timestamp)}),id:n.value1.id});if(e.sendingState instanceof dv||e.sendingState instanceof w0)return e.sendingState;throw new Error("Failed pattern match at Vinai.Chatbot (line 188, column 22 - line 210, column 29): "+[e.sendingState.constructor.name])}()});if(n instanceof rpn)return BI(upn(e))(function(){return _v(e)});throw new Error("Failed pattern match at Vinai.Chatbot (line 161, column 1 - line 161, column 55): "+[e.constructor.name,n.constructor.name])}},BB=function(e){var n={messages:e.messages,receivingResponse:C.value,receiveChannelName:e.receiveChannelName,sendingState:function(){if(e.initialMessageBody instanceof C)return dv.value;if(e.initialMessageBody instanceof d)return Zm.value;throw new Error("Failed pattern match at Vinai.Chatbot (line 155, column 23 - line 157, column 28): "+[e.initialMessageBody.constructor.name])}(),sendMessage:e.sendMessage};return BI(apn(e.initialMessageBody)(rEe(n)))(function(){return _v(n)})};var iEe=["http","https","mailto","tel"];function uEe(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 mEe=Da(JB());function yd(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?cEe(e.position):"start"in e||"end"in e?cEe(e):"line"in e||"column"in e?WB(e):""}function WB(e){return sEe(e&&e.line)+":"+sEe(e&&e.column)}function cEe(e){return WB(e&&e.start)+"-"+WB(e&&e.end)}function sEe(e){return e&&typeof e=="number"?e:1}var fl=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=yd(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}};fl.prototype.file="";fl.prototype.name="";fl.prototype.reason="";fl.prototype.message="";fl.prototype.stack="";fl.prototype.fatal=null;fl.prototype.column=null;fl.prototype.line=null;fl.prototype.source=null;fl.prototype.ruleId=null;fl.prototype.position=null;var hv={basename:lpn,dirname:cpn,extname:spn,join:fpn,sep:"/"};function lpn(e,n){if(n!==void 0&&typeof n!="string")throw new TypeError('"ext" argument must be a string');WI(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 cpn(e){if(WI(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 spn(e){WI(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 fpn(...e){let n=-1,t;for(;++n0&&e.charCodeAt(e.length-1)===47&&(t+="/"),n?"/"+t:t}function mpn(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 WI(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}var fEe={cwd:ppn};function ppn(){return"/"}function aR(e){return e!==null&&typeof e=="object"&&e.href&&e.origin}function vEe(e){if(typeof e=="string")e=new URL(e);else if(!aR(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 _pn(e)}function _pn(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 YB=IEe().freeze(),CEe={}.hasOwnProperty;function IEe(){let e=SEe(),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=IEe(),y=-1;for(;++y{if(N||!Q||!de)k(N);else{let fe=o.stringify(Q,de);fe==null||(ypn(fe)?de.value=fe:de.result=fe),k(N,de)}});function k(N,Q){N||!Q?M(N):S?S(Q):y(null,Q)}}}function _(R){let y;o.freeze(),XB("processSync",o.Parser),ZB("processSync",o.Compiler);let D=zI(R);return o.process(D,S),MEe("processSync","process",y),D;function S(M){y=!0,VB(M)}}}function TEe(e,n){return typeof e=="function"&&e.prototype&&(gpn(e.prototype)||n in e.prototype)}function gpn(e){let n;for(n in e)if(CEe.call(e,n))return!0;return!1}function XB(e,n){if(typeof n!="function")throw new TypeError("Cannot `"+e+"` without `Parser`")}function ZB(e,n){if(typeof n!="function")throw new TypeError("Cannot `"+e+"` without `Compiler`")}function KB(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 FEe(e){if(!qI(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function MEe(e,n,t){if(!t)throw new Error("`"+e+"` finished async. Use `"+n+"` instead")}function zI(e){return Dpn(e)?e:new rR(e)}function Dpn(e){return Boolean(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function ypn(e){return typeof e=="string"||(0,EEe.default)(e)}function eJ(e,n){let t=(n||{}).includeImageAlt;return GEe(e,typeof t=="boolean"?t:!0)}function GEe(e,n){return bpn(e)&&("value"in e&&e.value||n&&"alt"in e&&e.alt||"children"in e&&AEe(e.children,n))||Array.isArray(e)&&AEe(e,n)||""}function AEe(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?(Xo(e,e.length,0,n),e):n}var xEe={}.hasOwnProperty;function qx(e){let n={},t=-1;for(;++ti))return;let Q=n.events.length,de=Q,fe,ge;for(;de--;)if(n.events[de][0]==="exit"&&n.events[de][1].type==="chunkFlow"){if(fe){ge=n.events[de][1].end;break}fe=!0}for(D(a),N=Q;NM;){let k=t[P];n.containerState=k[1],k[0].exit.call(n,e)}t.length=M}function S(){r.write([null]),o=void 0,r=void 0,n.containerState._closeFlow=void 0}}function Cpn(e,n,t){return Mt(e,e.attempt(this.parser.constructs.document,n,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function oR(e){if(e===null||Wa(e)||iD(e))return 1;if(uD(e))return 2}function wd(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);UEe(f,-l),UEe(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=vl(c,[["enter",e[a][1],n],["exit",e[a][1],n]])),c=vl(c,[["enter",r,n],["enter",i,n],["exit",i,n],["enter",o,n]]),c=vl(c,wd(n.parser.constructs.insideSpan.null,e.slice(a+1,t),n)),c=vl(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=vl(c,[["enter",e[t][1],n],["exit",e[t][1],n]])):s=0,Xo(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):jn(c)?e.attempt(Ppn,i,l)(c):(e.enter("codeFlowValue"),u(c))}function u(c){return c===null||jn(c)?(e.exit("codeFlowValue"),i(c)):(e.consume(c),u)}function l(c){return e.exit("codeIndented"),n(c)}}function kpn(e,n,t){let a=this;return r;function r(i){return a.parser.lazy[a.now().line]?t(i):jn(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),r):Mt(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):jn(i)?r(i):t(i)}}var aJ={name:"codeText",tokenize:Bpn,resolve:Upn,previous:Hpn};function Upn(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 Xx(e,n,t,a,r,o,i,u,l){let c=l||Number.POSITIVE_INFINITY,s=0;return f;function f(D){return D===60?(e.enter(a),e.enter(r),e.enter(o),e.consume(D),e.exit(o),v):D===null||D===41||bd(D)?t(D):(e.enter(a),e.enter(i),e.enter(u),e.enter("chunkString",{contentType:"string"}),R(D))}function v(D){return D===62?(e.enter(o),e.consume(D),e.exit(o),e.exit(r),e.exit(a),n):(e.enter(u),e.enter("chunkString",{contentType:"string"}),m(D))}function m(D){return D===62?(e.exit("chunkString"),e.exit(u),v(D)):D===null||D===60||jn(D)?t(D):(e.consume(D),D===92?_:m)}function _(D){return D===60||D===62||D===92?(e.consume(D),m):m(D)}function R(D){return D===40?++s>c?t(D):(e.consume(D),R):D===41?s--?(e.consume(D),R):(e.exit("chunkString"),e.exit(u),e.exit(i),e.exit(a),n(D)):D===null||Wa(D)?s?t(D):(e.exit("chunkString"),e.exit(u),e.exit(i),e.exit(a),n(D)):bd(D)?t(D):(e.consume(D),D===92?y:R)}function y(D){return D===40||D===41||D===92?(e.consume(D),R):R(D)}}function Zx(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):jn(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||jn(m)||u++>999?(e.exit("chunkString"),s(m)):(e.consume(m),l=l||!Ra(m),m===92?v:f)}function v(m){return m===91||m===92||m===93?(e.consume(m),u++,f):f(m)}}function Kx(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):jn(v)?(e.enter("lineEnding"),e.consume(v),e.exit("lineEnding"),Mt(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),s(v))}function s(v){return v===i||v===null||jn(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 lD(e,n){let t;return a;function a(r){return jn(r)?(e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t=!0,a):Ra(r)?Mt(e,a,t?"linePrefix":"lineSuffix")(r):n(r)}}function Bu(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var oJ={name:"definition",tokenize:Qpn},Vpn={tokenize:Ypn,partial:!0};function Qpn(e,n,t){let a=this,r;return o;function o(l){return e.enter("definition"),Zx.call(a,e,i,t,"definitionLabel","definitionLabelMarker","definitionLabelString")(l)}function i(l){return r=Bu(a.sliceSerialize(a.events[a.events.length-1][1]).slice(1,-1)),l===58?(e.enter("definitionMarker"),e.consume(l),e.exit("definitionMarker"),lD(e,Xx(e,e.attempt(Vpn,Mt(e,u,"whitespace"),Mt(e,u,"whitespace")),t,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):t(l)}function u(l){return l===null||jn(l)?(e.exit("definition"),a.parser.defined.includes(r)||a.parser.defined.push(r),n(l)):t(l)}}function Ypn(e,n,t){return a;function a(i){return Wa(i)?lD(e,r)(i):t(i)}function r(i){return i===34||i===39||i===40?Kx(e,Mt(e,o,"whitespace"),t,"definitionTitle","definitionTitleMarker","definitionTitleString")(i):t(i)}function o(i){return i===null||jn(i)?n(i):t(i)}}var iJ={name:"hardBreakEscape",tokenize:Xpn};function Xpn(e,n,t){return a;function a(o){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(o),r}function r(o){return jn(o)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),n(o)):t(o)}}var uJ={name:"headingAtx",tokenize:Kpn,resolve:Zpn};function Zpn(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"},Xo(e,a,t-a+1,[["enter",r,n],["enter",o,n],["exit",o,n],["exit",r,n]])),e}function Kpn(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||Wa(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||jn(s)?(e.exit("atxHeading"),n(s)):Ra(s)?Mt(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||Wa(s)?(e.exit("atxHeadingText"),u(s)):(e.consume(s),c)}}var BEe=["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"],lJ=["pre","script","style","textarea"];var cJ={name:"htmlFlow",tokenize:t_n,resolveTo:n_n,concrete:!0},e_n={tokenize:a_n,partial:!0};function n_n(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 t_n(e,n,t){let a=this,r,o,i,u,l;return c;function c(A){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(A),s}function s(A){return A===33?(e.consume(A),f):A===47?(e.consume(A),_):A===63?(e.consume(A),r=3,a.interrupt?n:Pn):Hu(A)?(e.consume(A),i=String.fromCharCode(A),o=!0,R):t(A)}function f(A){return A===45?(e.consume(A),r=2,v):A===91?(e.consume(A),r=5,i="CDATA[",u=0,m):Hu(A)?(e.consume(A),r=4,a.interrupt?n:Pn):t(A)}function v(A){return A===45?(e.consume(A),a.interrupt?n:Pn):t(A)}function m(A){return A===i.charCodeAt(u++)?(e.consume(A),u===i.length?a.interrupt?n:re:m):t(A)}function _(A){return Hu(A)?(e.consume(A),i=String.fromCharCode(A),R):t(A)}function R(A){return A===null||A===47||A===62||Wa(A)?A!==47&&o&&lJ.includes(i.toLowerCase())?(r=1,a.interrupt?n(A):re(A)):BEe.includes(i.toLowerCase())?(r=6,A===47?(e.consume(A),y):a.interrupt?n(A):re(A)):(r=7,a.interrupt&&!a.parser.lazy[a.now().line]?t(A):o?S(A):D(A)):A===45||Zo(A)?(e.consume(A),i+=String.fromCharCode(A),R):t(A)}function y(A){return A===62?(e.consume(A),a.interrupt?n:re):t(A)}function D(A){return Ra(A)?(e.consume(A),D):fe(A)}function S(A){return A===47?(e.consume(A),fe):A===58||A===95||Hu(A)?(e.consume(A),M):Ra(A)?(e.consume(A),S):fe(A)}function M(A){return A===45||A===46||A===58||A===95||Zo(A)?(e.consume(A),M):P(A)}function P(A){return A===61?(e.consume(A),k):Ra(A)?(e.consume(A),P):S(A)}function k(A){return A===null||A===60||A===61||A===62||A===96?t(A):A===34||A===39?(e.consume(A),l=A,N):Ra(A)?(e.consume(A),k):(l=null,Q(A))}function N(A){return A===null||jn(A)?t(A):A===l?(e.consume(A),de):(e.consume(A),N)}function Q(A){return A===null||A===34||A===39||A===60||A===61||A===62||A===96||Wa(A)?P(A):(e.consume(A),Q)}function de(A){return A===47||A===62||Ra(A)?S(A):t(A)}function fe(A){return A===62?(e.consume(A),ge):t(A)}function ge(A){return Ra(A)?(e.consume(A),ge):A===null||jn(A)?re(A):t(A)}function re(A){return A===45&&r===2?(e.consume(A),je):A===60&&r===1?(e.consume(A),oe):A===62&&r===4?(e.consume(A),On):A===63&&r===3?(e.consume(A),Pn):A===93&&r===5?(e.consume(A),Ke):jn(A)&&(r===6||r===7)?e.check(e_n,On,Ee)(A):A===null||jn(A)?Ee(A):(e.consume(A),re)}function Ee(A){return e.exit("htmlFlowData"),pe(A)}function pe(A){return A===null?W(A):jn(A)?e.attempt({tokenize:ye,partial:!0},pe,W)(A):(e.enter("htmlFlowData"),re(A))}function ye(A,ee,se){return De;function De(ve){return A.enter("lineEnding"),A.consume(ve),A.exit("lineEnding"),O}function O(ve){return a.parser.lazy[a.now().line]?se(ve):ee(ve)}}function je(A){return A===45?(e.consume(A),Pn):re(A)}function oe(A){return A===47?(e.consume(A),i="",Un):re(A)}function Un(A){return A===62&&lJ.includes(i.toLowerCase())?(e.consume(A),On):Hu(A)&&i.length<8?(e.consume(A),i+=String.fromCharCode(A),Un):re(A)}function Ke(A){return A===93?(e.consume(A),Pn):re(A)}function Pn(A){return A===62?(e.consume(A),On):A===45&&r===2?(e.consume(A),Pn):re(A)}function On(A){return A===null||jn(A)?(e.exit("htmlFlowData"),W(A)):(e.consume(A),On)}function W(A){return e.exit("htmlFlow"),n(A)}}function a_n(e,n,t){return a;function a(r){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),e.attempt(S0,n,t)}}var sJ={name:"htmlText",tokenize:r_n};function r_n(e,n,t){let a=this,r,o,i,u;return l;function l(W){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(W),c}function c(W){return W===33?(e.consume(W),s):W===47?(e.consume(W),Q):W===63?(e.consume(W),k):Hu(W)?(e.consume(W),ge):t(W)}function s(W){return W===45?(e.consume(W),f):W===91?(e.consume(W),o="CDATA[",i=0,y):Hu(W)?(e.consume(W),P):t(W)}function f(W){return W===45?(e.consume(W),v):t(W)}function v(W){return W===null||W===62?t(W):W===45?(e.consume(W),m):_(W)}function m(W){return W===null||W===62?t(W):_(W)}function _(W){return W===null?t(W):W===45?(e.consume(W),R):jn(W)?(u=_,Ke(W)):(e.consume(W),_)}function R(W){return W===45?(e.consume(W),On):_(W)}function y(W){return W===o.charCodeAt(i++)?(e.consume(W),i===o.length?D:y):t(W)}function D(W){return W===null?t(W):W===93?(e.consume(W),S):jn(W)?(u=D,Ke(W)):(e.consume(W),D)}function S(W){return W===93?(e.consume(W),M):D(W)}function M(W){return W===62?On(W):W===93?(e.consume(W),M):D(W)}function P(W){return W===null||W===62?On(W):jn(W)?(u=P,Ke(W)):(e.consume(W),P)}function k(W){return W===null?t(W):W===63?(e.consume(W),N):jn(W)?(u=k,Ke(W)):(e.consume(W),k)}function N(W){return W===62?On(W):k(W)}function Q(W){return Hu(W)?(e.consume(W),de):t(W)}function de(W){return W===45||Zo(W)?(e.consume(W),de):fe(W)}function fe(W){return jn(W)?(u=fe,Ke(W)):Ra(W)?(e.consume(W),fe):On(W)}function ge(W){return W===45||Zo(W)?(e.consume(W),ge):W===47||W===62||Wa(W)?re(W):t(W)}function re(W){return W===47?(e.consume(W),On):W===58||W===95||Hu(W)?(e.consume(W),Ee):jn(W)?(u=re,Ke(W)):Ra(W)?(e.consume(W),re):On(W)}function Ee(W){return W===45||W===46||W===58||W===95||Zo(W)?(e.consume(W),Ee):pe(W)}function pe(W){return W===61?(e.consume(W),ye):jn(W)?(u=pe,Ke(W)):Ra(W)?(e.consume(W),pe):re(W)}function ye(W){return W===null||W===60||W===61||W===62||W===96?t(W):W===34||W===39?(e.consume(W),r=W,je):jn(W)?(u=ye,Ke(W)):Ra(W)?(e.consume(W),ye):(e.consume(W),r=void 0,Un)}function je(W){return W===r?(e.consume(W),oe):W===null?t(W):jn(W)?(u=je,Ke(W)):(e.consume(W),je)}function oe(W){return W===62||W===47||Wa(W)?re(W):t(W)}function Un(W){return W===null||W===34||W===39||W===60||W===61||W===96?t(W):W===62||Wa(W)?re(W):(e.consume(W),Un)}function Ke(W){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(W),e.exit("lineEnding"),Mt(e,Pn,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Pn(W){return e.enter("htmlTextData"),u(W)}function On(W){return W===62?(e.consume(W),e.exit("htmlTextData"),e.exit("htmlText"),n):t(W)}}var cD={name:"labelEnd",tokenize:s_n,resolveTo:c_n,resolveAll:l_n},o_n={tokenize:f_n},i_n={tokenize:v_n},u_n={tokenize:m_n};function l_n(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 M_n(e,n){let t=-1,a=[],r;for(;++tO_n,contentInitial:()=>A_n,disable:()=>k_n,document:()=>G_n,flow:()=>L_n,flowInitial:()=>x_n,insideSpan:()=>P_n,string:()=>j_n,text:()=>N_n});var G_n={[42]:Ju,[43]:Ju,[45]:Ju,[48]:Ju,[49]:Ju,[50]:Ju,[51]:Ju,[52]:Ju,[53]:Ju,[54]:Ju,[55]:Ju,[56]:Ju,[57]:Ju,[62]:zx},A_n={[91]:oJ},x_n={[-2]:VI,[-1]:VI,[32]:VI},L_n={[35]:uJ,[42]:sD,[45]:[e7,sD],[60]:cJ,[61]:e7,[95]:sD,[96]:Qx,[126]:Qx},j_n={[38]:Vx,[92]:$x},N_n={[-5]:QI,[-4]:QI,[-3]:QI,[33]:fJ,[38]:Vx,[42]:$I,[60]:[tJ,sJ],[91]:vJ,[92]:[iJ,$x],[93]:cD,[95]:$I,[96]:aJ},P_n={null:[$I,WEe]},O_n={null:[42,95]},k_n={null:[]};function YEe(e={}){let n=qx([mJ].concat(e.extensions||[])),t={defined:[],lazy:{},constructs:n,content:a(PEe),document:a(OEe),flow:a(JEe),string:a(qEe),text:a(zEe)};return t;function a(r){return o;function o(i){return QEe(t,r,i)}}}var XEe=/[\0\t\n\r]/g;function ZEe(){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 U_n=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function t7(e){return e.replace(U_n,H_n)}function H_n(e,n,t){if(n)return n;if(t.charCodeAt(0)===35){let r=t.charCodeAt(1),o=r===120||r===88;return n7(t.slice(o?2:1),o?16:10)}return iR(t)||e}var eCe={}.hasOwnProperty,pJ=function(e,n,t){return typeof n!="string"&&(t=n,n=void 0),B_n(t)(KEe(YEe(t).document().write(ZEe()(e,n,!0))))};function B_n(e){let n={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:u(Fn),autolinkProtocol:re,autolinkEmail:re,atxHeading:u(Yn),blockQuote:u(Ue),characterEscape:re,characterReference:re,codeFenced:u(qe),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:u(qe,l),codeText:u(xe,l),codeTextData:re,data:re,codeFlowValue:re,definition:u(In),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:u(cn),hardBreakEscape:u(En),hardBreakTrailing:u(En),htmlFlow:u(Xn,l),htmlFlowData:re,htmlText:u(Xn,l),htmlTextData:re,image:u(dt),label:l,link:u(Fn),listItem:u(et),listItemValue:_,listOrdered:u(It,m),listUnordered:u(It),paragraph:u(Hn),reference:De,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:u(Yn),strong:u(sn),thematicBreak:u(ja)},exit:{atxHeading:s(),atxHeadingSequence:Q,autolink:s(),autolinkEmail:Fe,autolinkProtocol:Ge,blockQuote:s(),characterEscapeValue:Ee,characterReferenceMarkerHexadecimal:ve,characterReferenceMarkerNumeric:ve,characterReferenceValue:$,codeFenced:s(S),codeFencedFence:D,codeFencedFenceInfo:R,codeFencedFenceMeta:y,codeFlowValue:Ee,codeIndented:s(M),codeText:s(Un),codeTextData:Ee,data:Ee,definition:s(),definitionDestinationString:N,definitionLabelString:P,definitionTitleString:k,emphasis:s(),hardBreakEscape:s(ye),hardBreakTrailing:s(ye),htmlFlow:s(je),htmlFlowData:Ee,htmlText:s(oe),htmlTextData:Ee,image:s(Pn),label:W,labelText:On,lineEnding:pe,link:s(Ke),listItem:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:O,resourceDestinationString:A,resourceTitleString:ee,resource:se,setextHeading:s(ge),setextHeadingLineSequence:fe,setextHeadingText:de,strong:s(),thematicBreak:s()}};nCe(n,(e||{}).mdastExtensions||[]);let t={};return a;function a(Ce){let We={type:"root",children:[]},Tt={stack:[We],tokenStack:[],config:n,enter:c,exit:f,buffer:l,resume:v,setData:o,getData:i},Qa=[],or=-1;for(;++or0){let Kl=Tt.tokenStack[Tt.tokenStack.length-1];(Kl[1]||tCe).call(Tt,void 0,Kl[0])}for(We.position={start:Sd(Ce.length>0?Ce[0][1].start:{line:1,column:1,offset:0}),end:Sd(Ce.length>0?Ce[Ce.length-2][1].end:{line:1,column:1,offset:0})},or=-1;++or{let a=this.data("settings");return pJ(t,Object.assign({},a,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}function aCe(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 rCe(e,n){let t={type:"element",tagName:"br",properties:{},children:[]};return e.patch(n,t),[e.applyData(n,t),{type:"text",value:` `}]}function oCe(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 iCe(e,n){let t={type:"element",tagName:"del",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)}function uCe(e,n){let t={type:"element",tagName:"em",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)}function Ws(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 r7(e,n){let t=String(n.identifier).toUpperCase(),a=Ws(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 lCe(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},r7(e,{type:"footnoteReference",identifier:r,position:n.position})}function cCe(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 sCe(e,n){if(e.dangerous){let t={type:"raw",value:n.value};return e.patch(n,t),e.applyData(n,t)}return null}function o7(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 fCe(e,n){let t=e.definition(n.identifier);if(!t)return o7(e,n);let a={src:Ws(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 vCe(e,n){let t={src:Ws(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 mCe(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 pCe(e,n){let t=e.definition(n.identifier);if(!t)return o7(e,n);let a={href:Ws(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 _Ce(e,n){let t={href:Ws(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 dCe(e,n,t){let a=e.all(n),r=t?W_n(t):hCe(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 gCe(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 wCe(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=uR(n.children[1]),l=lR(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 SCe(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(FCe(n.slice(r),r>0,!1)),o.join("")}function FCe(e,n,t){let a=0,r=e.length;if(n){let o=e.codePointAt(a);for(;o===CCe||o===ICe;)a++,o=e.codePointAt(a)}if(t){let o=e.codePointAt(r-1);for(;o===CCe||o===ICe;)r--,o=e.codePointAt(r-1)}return r>a?e.slice(a,r):""}function MCe(e,n){let t={type:"text",value:TCe(String(n.value))};return e.patch(n,t),e.applyData(n,t)}function GCe(e,n){let t={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(n,t),e.applyData(n,t)}var ACe={blockquote:aCe,break:rCe,code:oCe,delete:iCe,emphasis:uCe,footnoteReference:r7,footnote:lCe,heading:cCe,html:sCe,imageReference:fCe,image:vCe,inlineCode:mCe,linkReference:pCe,link:_Ce,listItem:dCe,list:gCe,paragraph:DCe,root:yCe,strong:bCe,table:wCe,tableCell:ECe,tableRow:SCe,text:MCe,thematicBreak:GCe,toml:i7,yaml:i7,definition:i7,footnoteDefinition:i7};function i7(){return null}var YI=function(e){if(e==null)return V_n;if(typeof e=="string")return $_n(e);if(typeof e=="object")return Array.isArray(e)?q_n(e):z_n(e);if(typeof e=="function")return u7(e);throw new Error("Expected function, string, or object as test")};function q_n(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=Q_n(t(u,c)),v[0]===l7))return v;if(u.children&&v[0]!==hJ)for(_=(a?u.children.length:-1)+o,R=c.concat(u);_>-1&&_{let r=jCe(a.identifier);r&&!LCe.call(n,r)&&(n[r]=a)}),t;function t(a){let r=jCe(a);return r&&LCe.call(n,r)?n[r]:null}}function jCe(e){return String(e||"").toUpperCase()}var c7={}.hasOwnProperty;function NCe(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=Aa(Aa({},ACe),t.handlers),i.definition=DJ(e),i.footnoteById=r,i.footnoteOrder=[],i.footnoteCounts={},i.patch=Y_n,i.applyData=X_n,i.one=u,i.all=l,i.wrap=K_n,i.augment=o,fD(e,"footnoteDefinition",c=>{let s=String(c.identifier).toUpperCase();c7.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=Aa(Aa({},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};gJ(f)||(s.position={start:uR(f),end:lR(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 PCe(i,c,s)}function l(c){return yJ(i,c)}}function Y_n(e,n){e.position&&(n.position=_J(e))}function X_n(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=Aa(Aa({},t.properties),o)),"children"in t&&t.children&&r!==null&&r!==void 0&&(t.children=r)}return t}function PCe(e,n,t){let a=n&&n.type;if(!a)throw new Error("Expected node, got `"+n+"`");return c7.call(e.handlers,a)?e.handlers[a](e,n,t):e.passThrough&&e.passThrough.includes(a)?"children"in n?ni(Aa({},n),{children:yJ(e,n)}):n:e.unknownHandler?e.unknownHandler(e,n,t):Z_n(e,n)}function yJ(e,n){let t=[];if("children"in n){let a=n.children,r=-1;for(;++r0&&t.push({type:"text",value:` `}),t}function OCe(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:ni(Aa({},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 s7(e,n){let t=NCe(e,n),a=t.one(e,null),r=OCe(t);return r&&a.children.push({type:"text",value:` `},r),Array.isArray(a)?{type:"root",children:a}:a}var edn=function(e,n){return e&&"run"in e?ndn(e,n):tdn(e||n)},bJ=edn;function ndn(e,n){return(t,a,r)=>{e.run(s7(t,n),a,o=>{r(o)})}}function tdn(e){return n=>s7(n,e)}var na=Da(QC());var Ed=class{constructor(n,t,a){this.property=n,this.normal=t,a&&(this.space=a)}};Ed.prototype.property={};Ed.prototype.normal={};Ed.prototype.space=null;function RJ(e,n){let t={},a={},r=-1;for(;++rla,booleanish:()=>Po,commaOrSpaceSeparated:()=>Ql,commaSeparated:()=>Cd,number:()=>en,overloadedBoolean:()=>wJ,spaceSeparated:()=>yr});var adn=0,la=vD(),Po=vD(),wJ=vD(),en=vD(),yr=vD(),Cd=vD(),Ql=vD();function vD(){return 2**++adn}var SJ=Object.keys(ZI),cR=class extends ml{constructor(n,t,a,r){let o=-1;super(n,t);if(kCe(this,"space",r),typeof a=="number")for(;++o4&&t.slice(0,4)==="data"&&odn.test(n)){if(n.charAt(4)==="-"){let o=n.slice(5).replace(BCe,ldn);a="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{let o=n.slice(4);if(!BCe.test(o)){let i=o.replace(idn,udn);i.charAt(0)!=="-"&&(i="-"+i),n="data"+i}}r=cR}return new r(a,n)}function udn(e){return"-"+e.toLowerCase()}function ldn(e){return e.charAt(1).toUpperCase()}var m7={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 p7=RJ([CJ,EJ,IJ,TJ,UCe],"html"),_7=RJ([CJ,EJ,IJ,TJ,HCe],"svg");function FJ(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=>{fD(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 iIe=Da(zCe());function $Ce(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 AJ(e){let n=String(e||"").trim();return n?n.split(/[ \t\n\r\f]+/g):[]}function VCe(e){return e.join(" ").trim()}function xJ(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 QCe(e,n){let t=n||{};return(e[e.length-1]===""?[...e,""]:e).join((t.padRight?" ":"")+","+(t.padLeft===!1?"":" ")).trim()}var rIe=Da(aIe()),oIe=rIe.default;var jJ={}.hasOwnProperty,Rdn=new Set(["table","thead","tbody","tfoot","tr"]);function NJ(e,n){let t=[],a=-1,r;for(;++a0?yt.createElement(m,l,f):yt.createElement(m,l)}function Sdn(e){let n=-1;for(;++n for more info)`),delete C7[o]}let n=YB().use(a7).use(e.remarkPlugins||[]).use(bJ,ni(Aa({},e.remarkRehypeOptions),{allowDangerousHtml:!0})).use(e.rehypePlugins||[]).use(FJ,e),t=new rR;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=yt.createElement(yt.Fragment,{},NJ({options:e,schema:p7,listDepth:0},a));return e.className&&(r=yt.createElement("div",{className:e.className},r)),r}I7.propTypes={children:na.default.string,className:na.default.string,allowElement:na.default.func,allowedElements:na.default.arrayOf(na.default.string),disallowedElements:na.default.arrayOf(na.default.string),unwrapDisallowed:na.default.bool,remarkPlugins:na.default.arrayOf(na.default.oneOfType([na.default.object,na.default.func,na.default.arrayOf(na.default.oneOfType([na.default.bool,na.default.string,na.default.object,na.default.func,na.default.arrayOf(na.default.any)]))])),rehypePlugins:na.default.arrayOf(na.default.oneOfType([na.default.object,na.default.func,na.default.arrayOf(na.default.oneOfType([na.default.bool,na.default.string,na.default.object,na.default.func,na.default.arrayOf(na.default.any)]))])),sourcePos:na.default.bool,rawSourcePos:na.default.bool,skipHtml:na.default.bool,includeElementIndex:na.default.bool,transformLinkUri:na.default.oneOfType([na.default.func,na.default.bool]),linkTarget:na.default.oneOfType([na.default.func,na.default.string]),transformImageUri:na.default.func,components:na.default.object};var lIe=/[#.]/g;function OJ(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 yIe(e,n,t){return e.type==="element"?Kdn(e,n,t):e.type==="text"?t.whitespace==="normal"?bIe(e,t):ehn(e):[]}function Kdn(e,n,t){let a=RIe(e,t),r=e.children||[],o=-1,i=[];if(Zdn(e))return i;let u,l;for(zJ(e)||gIe(e)&&G7(n,e,gIe)?l=` `:Xdn(e)?(u=2,l=2):DIe(e)&&(u=1,l=1);++o15?c="\u2026"+u.slice(r-15,r):c=u.slice(0,r);var s;o+15":">","<":"<",'"':""","'":"'"},shn=/[&><"']/g;function fhn(e){return String(e).replace(shn,n=>chn[n])}var wIe=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},vhn=function(n){var t=wIe(n);return t.type==="mathord"||t.type==="textord"||t.type==="atom"},mhn=function(n){if(!n)throw new Error("Expected non-null, but got "+String(n));return n},phn=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"},Ct={contains:ohn,deflt:ihn,escape:fhn,hyphenate:lhn,getBaseElem:wIe,isCharacterBox:vhn,protocolFromUrl:phn},A7={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 _hn(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 x7=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 A7)if(A7.hasOwnProperty(t)){var a=A7[t];this[t]=n[t]!==void 0?a.processor?a.processor(n[t]):n[t]:_hn(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=Ct.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)}},tp=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 E0[dhn[this.id]]}sub(){return E0[hhn[this.id]]}fracNum(){return E0[ghn[this.id]]}fracDen(){return E0[Dhn[this.id]]}cramp(){return E0[yhn[this.id]]}text(){return E0[bhn[this.id]]}isTight(){return this.size>=2}},VJ=0,L7=1,sR=2,ap=3,eT=4,$s=5,fR=6,pl=7,E0=[new tp(VJ,0,!1),new tp(L7,0,!0),new tp(sR,1,!1),new tp(ap,1,!0),new tp(eT,2,!1),new tp($s,2,!0),new tp(fR,3,!1),new tp(pl,3,!0)],dhn=[eT,$s,eT,$s,fR,pl,fR,pl],hhn=[$s,$s,$s,$s,pl,pl,pl,pl],ghn=[sR,ap,eT,$s,fR,pl,fR,pl],Dhn=[ap,ap,$s,$s,pl,pl,pl,pl],yhn=[L7,L7,ap,ap,$s,$s,pl,pl],bhn=[VJ,L7,sR,ap,sR,ap,sR,ap],xt={DISPLAY:E0[VJ],TEXT:E0[sR],SCRIPT:E0[eT],SCRIPTSCRIPT:E0[fR]},QJ=[{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 Rhn(e){for(var n=0;n=r[0]&&e<=r[1])return t.name}return null}var j7=[];QJ.forEach(e=>e.blocks.forEach(n=>j7.push(...n)));function SIe(e){for(var n=0;n=j7[n]&&e<=j7[n+1])return!0;return!1}var vR=80,whn=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"},Shn=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"},Ehn=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"},Chn=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"},Ihn=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"},Thn=function(n){var t=n/2;return"M400000 "+n+" H0 L"+t+" 0 l65 45 L145 "+(n-80)+" H400000z"},Fhn=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"},Mhn=function(n,t,a){t=1e3*t;var r="";switch(n){case"sqrtMain":r=whn(t,vR);break;case"sqrtSize1":r=Shn(t,vR);break;case"sqrtSize2":r=Ehn(t,vR);break;case"sqrtSize3":r=Chn(t,vR);break;case"sqrtSize4":r=Ihn(t,vR);break;case"sqrtTall":r=Fhn(t,vR,a)}return r},Ghn=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""}},EIe={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`},Ahn=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.")}},mR=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 Ct.contains(this.classes,n)}toNode(){for(var n=document.createDocumentFragment(),t=0;tt.toText();return this.children.map(n).join("")}},C0={"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]}},N7={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]},CIe={\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 xhn(e,n){C0[e]=n}function YJ(e,n,t){if(!C0[n])throw new Error("Font metrics not found for font: "+n+".");var a=e.charCodeAt(0),r=C0[n][a];if(!r&&e[0]in CIe&&(a=CIe[e[0]].charCodeAt(0),r=C0[n][a]),!r&&t==="text"&&SIe(a)&&(r=C0[n][77]),r)return{depth:r[0],height:r[1],italic:r[2],skew:r[3],width:r[4]}}var XJ={};function Lhn(e){var n;if(e>=5?n=0:e>=3?n=1:n=2,!XJ[n]){var t=XJ[n]={cssEmPerMu:N7.quad[n]/18};for(var a in N7)N7.hasOwnProperty(a)&&(t[a]=N7[a][n])}return XJ[n]}var jhn=[[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]],IIe=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],TIe=function(n,t){return t.size<2?n:jhn[n-1][t.size-1]},I0=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||I0.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=IIe[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 I0(t)}havingStyle(n){return this.style===n?this:this.extend({style:n,size:TIe(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:IIe[n-1]})}havingBaseStyle(n){n=n||this.style.text();var t=TIe(I0.BASESIZE,n);return this.size===t&&this.textSize===I0.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!==I0.BASESIZE?["sizing","reset-size"+this.size,"size"+I0.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=Lhn(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}};I0.BASESIZE=6;var ZJ={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},Nhn={ex:!0,em:!0,mu:!0},FIe=function(n){return typeof n!="string"&&(n=n.unit),n in ZJ||n in Nhn||n==="ex"},Do=function(n,t){var a;if(n.unit in ZJ)a=ZJ[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"},Id=function(n){return n.filter(t=>t).join(" ")},MIe=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)}},GIe=function(n){var t=document.createElement(n);t.className=Id(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",t},pR=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,MIe.call(this,n,a,r),this.children=t||[]}setAttribute(n,t){this.attributes[n]=t}hasClass(n){return Ct.contains(this.classes,n)}toNode(){return GIe.call(this,"span")}toMarkup(){return AIe.call(this,"span")}},P7=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,MIe.call(this,t,r),this.children=a||[],this.setAttribute("href",n)}setAttribute(n,t){this.attributes[n]=t}hasClass(n){return Ct.contains(this.classes,n)}toNode(){return GIe.call(this,"a")}toMarkup(){return AIe.call(this,"a")}},xIe=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 Ct.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=''+Ct.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=Id(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+=Ct.hyphenate(r)+":"+this.style[r]+";");a&&(n=!0,t+=' style="'+Ct.escape(a)+'"');var o=Ct.escape(this.text);return n?(t+=">",t+=o,t+="",t):o}},T0=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':''}},O7=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 khn={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Uhn={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Ar={math:{},text:{}};function b(e,n,t,a,r,o){Ar[e][r]={font:n,group:t,replace:a},o&&a&&(Ar[e][a]=Ar[e][r])}var I="math",Je="text",F="main",z="ams",Kr="accent-token",Qn="bin",_l="close",_R="inner",Lt="mathord",di="op-token",Wc="open",k7="punct",V="rel",op="spacing",le="textord";b(I,F,V,"\u2261","\\equiv",!0);b(I,F,V,"\u227A","\\prec",!0);b(I,F,V,"\u227B","\\succ",!0);b(I,F,V,"\u223C","\\sim",!0);b(I,F,V,"\u22A5","\\perp");b(I,F,V,"\u2AAF","\\preceq",!0);b(I,F,V,"\u2AB0","\\succeq",!0);b(I,F,V,"\u2243","\\simeq",!0);b(I,F,V,"\u2223","\\mid",!0);b(I,F,V,"\u226A","\\ll",!0);b(I,F,V,"\u226B","\\gg",!0);b(I,F,V,"\u224D","\\asymp",!0);b(I,F,V,"\u2225","\\parallel");b(I,F,V,"\u22C8","\\bowtie",!0);b(I,F,V,"\u2323","\\smile",!0);b(I,F,V,"\u2291","\\sqsubseteq",!0);b(I,F,V,"\u2292","\\sqsupseteq",!0);b(I,F,V,"\u2250","\\doteq",!0);b(I,F,V,"\u2322","\\frown",!0);b(I,F,V,"\u220B","\\ni",!0);b(I,F,V,"\u221D","\\propto",!0);b(I,F,V,"\u22A2","\\vdash",!0);b(I,F,V,"\u22A3","\\dashv",!0);b(I,F,V,"\u220B","\\owns");b(I,F,k7,".","\\ldotp");b(I,F,k7,"\u22C5","\\cdotp");b(I,F,le,"#","\\#");b(Je,F,le,"#","\\#");b(I,F,le,"&","\\&");b(Je,F,le,"&","\\&");b(I,F,le,"\u2135","\\aleph",!0);b(I,F,le,"\u2200","\\forall",!0);b(I,F,le,"\u210F","\\hbar",!0);b(I,F,le,"\u2203","\\exists",!0);b(I,F,le,"\u2207","\\nabla",!0);b(I,F,le,"\u266D","\\flat",!0);b(I,F,le,"\u2113","\\ell",!0);b(I,F,le,"\u266E","\\natural",!0);b(I,F,le,"\u2663","\\clubsuit",!0);b(I,F,le,"\u2118","\\wp",!0);b(I,F,le,"\u266F","\\sharp",!0);b(I,F,le,"\u2662","\\diamondsuit",!0);b(I,F,le,"\u211C","\\Re",!0);b(I,F,le,"\u2661","\\heartsuit",!0);b(I,F,le,"\u2111","\\Im",!0);b(I,F,le,"\u2660","\\spadesuit",!0);b(I,F,le,"\xA7","\\S",!0);b(Je,F,le,"\xA7","\\S");b(I,F,le,"\xB6","\\P",!0);b(Je,F,le,"\xB6","\\P");b(I,F,le,"\u2020","\\dag");b(Je,F,le,"\u2020","\\dag");b(Je,F,le,"\u2020","\\textdagger");b(I,F,le,"\u2021","\\ddag");b(Je,F,le,"\u2021","\\ddag");b(Je,F,le,"\u2021","\\textdaggerdbl");b(I,F,_l,"\u23B1","\\rmoustache",!0);b(I,F,Wc,"\u23B0","\\lmoustache",!0);b(I,F,_l,"\u27EF","\\rgroup",!0);b(I,F,Wc,"\u27EE","\\lgroup",!0);b(I,F,Qn,"\u2213","\\mp",!0);b(I,F,Qn,"\u2296","\\ominus",!0);b(I,F,Qn,"\u228E","\\uplus",!0);b(I,F,Qn,"\u2293","\\sqcap",!0);b(I,F,Qn,"\u2217","\\ast");b(I,F,Qn,"\u2294","\\sqcup",!0);b(I,F,Qn,"\u25EF","\\bigcirc",!0);b(I,F,Qn,"\u2219","\\bullet",!0);b(I,F,Qn,"\u2021","\\ddagger");b(I,F,Qn,"\u2240","\\wr",!0);b(I,F,Qn,"\u2A3F","\\amalg");b(I,F,Qn,"&","\\And");b(I,F,V,"\u27F5","\\longleftarrow",!0);b(I,F,V,"\u21D0","\\Leftarrow",!0);b(I,F,V,"\u27F8","\\Longleftarrow",!0);b(I,F,V,"\u27F6","\\longrightarrow",!0);b(I,F,V,"\u21D2","\\Rightarrow",!0);b(I,F,V,"\u27F9","\\Longrightarrow",!0);b(I,F,V,"\u2194","\\leftrightarrow",!0);b(I,F,V,"\u27F7","\\longleftrightarrow",!0);b(I,F,V,"\u21D4","\\Leftrightarrow",!0);b(I,F,V,"\u27FA","\\Longleftrightarrow",!0);b(I,F,V,"\u21A6","\\mapsto",!0);b(I,F,V,"\u27FC","\\longmapsto",!0);b(I,F,V,"\u2197","\\nearrow",!0);b(I,F,V,"\u21A9","\\hookleftarrow",!0);b(I,F,V,"\u21AA","\\hookrightarrow",!0);b(I,F,V,"\u2198","\\searrow",!0);b(I,F,V,"\u21BC","\\leftharpoonup",!0);b(I,F,V,"\u21C0","\\rightharpoonup",!0);b(I,F,V,"\u2199","\\swarrow",!0);b(I,F,V,"\u21BD","\\leftharpoondown",!0);b(I,F,V,"\u21C1","\\rightharpoondown",!0);b(I,F,V,"\u2196","\\nwarrow",!0);b(I,F,V,"\u21CC","\\rightleftharpoons",!0);b(I,z,V,"\u226E","\\nless",!0);b(I,z,V,"\uE010","\\@nleqslant");b(I,z,V,"\uE011","\\@nleqq");b(I,z,V,"\u2A87","\\lneq",!0);b(I,z,V,"\u2268","\\lneqq",!0);b(I,z,V,"\uE00C","\\@lvertneqq");b(I,z,V,"\u22E6","\\lnsim",!0);b(I,z,V,"\u2A89","\\lnapprox",!0);b(I,z,V,"\u2280","\\nprec",!0);b(I,z,V,"\u22E0","\\npreceq",!0);b(I,z,V,"\u22E8","\\precnsim",!0);b(I,z,V,"\u2AB9","\\precnapprox",!0);b(I,z,V,"\u2241","\\nsim",!0);b(I,z,V,"\uE006","\\@nshortmid");b(I,z,V,"\u2224","\\nmid",!0);b(I,z,V,"\u22AC","\\nvdash",!0);b(I,z,V,"\u22AD","\\nvDash",!0);b(I,z,V,"\u22EA","\\ntriangleleft");b(I,z,V,"\u22EC","\\ntrianglelefteq",!0);b(I,z,V,"\u228A","\\subsetneq",!0);b(I,z,V,"\uE01A","\\@varsubsetneq");b(I,z,V,"\u2ACB","\\subsetneqq",!0);b(I,z,V,"\uE017","\\@varsubsetneqq");b(I,z,V,"\u226F","\\ngtr",!0);b(I,z,V,"\uE00F","\\@ngeqslant");b(I,z,V,"\uE00E","\\@ngeqq");b(I,z,V,"\u2A88","\\gneq",!0);b(I,z,V,"\u2269","\\gneqq",!0);b(I,z,V,"\uE00D","\\@gvertneqq");b(I,z,V,"\u22E7","\\gnsim",!0);b(I,z,V,"\u2A8A","\\gnapprox",!0);b(I,z,V,"\u2281","\\nsucc",!0);b(I,z,V,"\u22E1","\\nsucceq",!0);b(I,z,V,"\u22E9","\\succnsim",!0);b(I,z,V,"\u2ABA","\\succnapprox",!0);b(I,z,V,"\u2246","\\ncong",!0);b(I,z,V,"\uE007","\\@nshortparallel");b(I,z,V,"\u2226","\\nparallel",!0);b(I,z,V,"\u22AF","\\nVDash",!0);b(I,z,V,"\u22EB","\\ntriangleright");b(I,z,V,"\u22ED","\\ntrianglerighteq",!0);b(I,z,V,"\uE018","\\@nsupseteqq");b(I,z,V,"\u228B","\\supsetneq",!0);b(I,z,V,"\uE01B","\\@varsupsetneq");b(I,z,V,"\u2ACC","\\supsetneqq",!0);b(I,z,V,"\uE019","\\@varsupsetneqq");b(I,z,V,"\u22AE","\\nVdash",!0);b(I,z,V,"\u2AB5","\\precneqq",!0);b(I,z,V,"\u2AB6","\\succneqq",!0);b(I,z,V,"\uE016","\\@nsubseteqq");b(I,z,Qn,"\u22B4","\\unlhd");b(I,z,Qn,"\u22B5","\\unrhd");b(I,z,V,"\u219A","\\nleftarrow",!0);b(I,z,V,"\u219B","\\nrightarrow",!0);b(I,z,V,"\u21CD","\\nLeftarrow",!0);b(I,z,V,"\u21CF","\\nRightarrow",!0);b(I,z,V,"\u21AE","\\nleftrightarrow",!0);b(I,z,V,"\u21CE","\\nLeftrightarrow",!0);b(I,z,V,"\u25B3","\\vartriangle");b(I,z,le,"\u210F","\\hslash");b(I,z,le,"\u25BD","\\triangledown");b(I,z,le,"\u25CA","\\lozenge");b(I,z,le,"\u24C8","\\circledS");b(I,z,le,"\xAE","\\circledR");b(Je,z,le,"\xAE","\\circledR");b(I,z,le,"\u2221","\\measuredangle",!0);b(I,z,le,"\u2204","\\nexists");b(I,z,le,"\u2127","\\mho");b(I,z,le,"\u2132","\\Finv",!0);b(I,z,le,"\u2141","\\Game",!0);b(I,z,le,"\u2035","\\backprime");b(I,z,le,"\u25B2","\\blacktriangle");b(I,z,le,"\u25BC","\\blacktriangledown");b(I,z,le,"\u25A0","\\blacksquare");b(I,z,le,"\u29EB","\\blacklozenge");b(I,z,le,"\u2605","\\bigstar");b(I,z,le,"\u2222","\\sphericalangle",!0);b(I,z,le,"\u2201","\\complement",!0);b(I,z,le,"\xF0","\\eth",!0);b(Je,F,le,"\xF0","\xF0");b(I,z,le,"\u2571","\\diagup");b(I,z,le,"\u2572","\\diagdown");b(I,z,le,"\u25A1","\\square");b(I,z,le,"\u25A1","\\Box");b(I,z,le,"\u25CA","\\Diamond");b(I,z,le,"\xA5","\\yen",!0);b(Je,z,le,"\xA5","\\yen",!0);b(I,z,le,"\u2713","\\checkmark",!0);b(Je,z,le,"\u2713","\\checkmark");b(I,z,le,"\u2136","\\beth",!0);b(I,z,le,"\u2138","\\daleth",!0);b(I,z,le,"\u2137","\\gimel",!0);b(I,z,le,"\u03DD","\\digamma",!0);b(I,z,le,"\u03F0","\\varkappa");b(I,z,Wc,"\u250C","\\@ulcorner",!0);b(I,z,_l,"\u2510","\\@urcorner",!0);b(I,z,Wc,"\u2514","\\@llcorner",!0);b(I,z,_l,"\u2518","\\@lrcorner",!0);b(I,z,V,"\u2266","\\leqq",!0);b(I,z,V,"\u2A7D","\\leqslant",!0);b(I,z,V,"\u2A95","\\eqslantless",!0);b(I,z,V,"\u2272","\\lesssim",!0);b(I,z,V,"\u2A85","\\lessapprox",!0);b(I,z,V,"\u224A","\\approxeq",!0);b(I,z,Qn,"\u22D6","\\lessdot");b(I,z,V,"\u22D8","\\lll",!0);b(I,z,V,"\u2276","\\lessgtr",!0);b(I,z,V,"\u22DA","\\lesseqgtr",!0);b(I,z,V,"\u2A8B","\\lesseqqgtr",!0);b(I,z,V,"\u2251","\\doteqdot");b(I,z,V,"\u2253","\\risingdotseq",!0);b(I,z,V,"\u2252","\\fallingdotseq",!0);b(I,z,V,"\u223D","\\backsim",!0);b(I,z,V,"\u22CD","\\backsimeq",!0);b(I,z,V,"\u2AC5","\\subseteqq",!0);b(I,z,V,"\u22D0","\\Subset",!0);b(I,z,V,"\u228F","\\sqsubset",!0);b(I,z,V,"\u227C","\\preccurlyeq",!0);b(I,z,V,"\u22DE","\\curlyeqprec",!0);b(I,z,V,"\u227E","\\precsim",!0);b(I,z,V,"\u2AB7","\\precapprox",!0);b(I,z,V,"\u22B2","\\vartriangleleft");b(I,z,V,"\u22B4","\\trianglelefteq");b(I,z,V,"\u22A8","\\vDash",!0);b(I,z,V,"\u22AA","\\Vvdash",!0);b(I,z,V,"\u2323","\\smallsmile");b(I,z,V,"\u2322","\\smallfrown");b(I,z,V,"\u224F","\\bumpeq",!0);b(I,z,V,"\u224E","\\Bumpeq",!0);b(I,z,V,"\u2267","\\geqq",!0);b(I,z,V,"\u2A7E","\\geqslant",!0);b(I,z,V,"\u2A96","\\eqslantgtr",!0);b(I,z,V,"\u2273","\\gtrsim",!0);b(I,z,V,"\u2A86","\\gtrapprox",!0);b(I,z,Qn,"\u22D7","\\gtrdot");b(I,z,V,"\u22D9","\\ggg",!0);b(I,z,V,"\u2277","\\gtrless",!0);b(I,z,V,"\u22DB","\\gtreqless",!0);b(I,z,V,"\u2A8C","\\gtreqqless",!0);b(I,z,V,"\u2256","\\eqcirc",!0);b(I,z,V,"\u2257","\\circeq",!0);b(I,z,V,"\u225C","\\triangleq",!0);b(I,z,V,"\u223C","\\thicksim");b(I,z,V,"\u2248","\\thickapprox");b(I,z,V,"\u2AC6","\\supseteqq",!0);b(I,z,V,"\u22D1","\\Supset",!0);b(I,z,V,"\u2290","\\sqsupset",!0);b(I,z,V,"\u227D","\\succcurlyeq",!0);b(I,z,V,"\u22DF","\\curlyeqsucc",!0);b(I,z,V,"\u227F","\\succsim",!0);b(I,z,V,"\u2AB8","\\succapprox",!0);b(I,z,V,"\u22B3","\\vartriangleright");b(I,z,V,"\u22B5","\\trianglerighteq");b(I,z,V,"\u22A9","\\Vdash",!0);b(I,z,V,"\u2223","\\shortmid");b(I,z,V,"\u2225","\\shortparallel");b(I,z,V,"\u226C","\\between",!0);b(I,z,V,"\u22D4","\\pitchfork",!0);b(I,z,V,"\u221D","\\varpropto");b(I,z,V,"\u25C0","\\blacktriangleleft");b(I,z,V,"\u2234","\\therefore",!0);b(I,z,V,"\u220D","\\backepsilon");b(I,z,V,"\u25B6","\\blacktriangleright");b(I,z,V,"\u2235","\\because",!0);b(I,z,V,"\u22D8","\\llless");b(I,z,V,"\u22D9","\\gggtr");b(I,z,Qn,"\u22B2","\\lhd");b(I,z,Qn,"\u22B3","\\rhd");b(I,z,V,"\u2242","\\eqsim",!0);b(I,F,V,"\u22C8","\\Join");b(I,z,V,"\u2251","\\Doteq",!0);b(I,z,Qn,"\u2214","\\dotplus",!0);b(I,z,Qn,"\u2216","\\smallsetminus");b(I,z,Qn,"\u22D2","\\Cap",!0);b(I,z,Qn,"\u22D3","\\Cup",!0);b(I,z,Qn,"\u2A5E","\\doublebarwedge",!0);b(I,z,Qn,"\u229F","\\boxminus",!0);b(I,z,Qn,"\u229E","\\boxplus",!0);b(I,z,Qn,"\u22C7","\\divideontimes",!0);b(I,z,Qn,"\u22C9","\\ltimes",!0);b(I,z,Qn,"\u22CA","\\rtimes",!0);b(I,z,Qn,"\u22CB","\\leftthreetimes",!0);b(I,z,Qn,"\u22CC","\\rightthreetimes",!0);b(I,z,Qn,"\u22CF","\\curlywedge",!0);b(I,z,Qn,"\u22CE","\\curlyvee",!0);b(I,z,Qn,"\u229D","\\circleddash",!0);b(I,z,Qn,"\u229B","\\circledast",!0);b(I,z,Qn,"\u22C5","\\centerdot");b(I,z,Qn,"\u22BA","\\intercal",!0);b(I,z,Qn,"\u22D2","\\doublecap");b(I,z,Qn,"\u22D3","\\doublecup");b(I,z,Qn,"\u22A0","\\boxtimes",!0);b(I,z,V,"\u21E2","\\dashrightarrow",!0);b(I,z,V,"\u21E0","\\dashleftarrow",!0);b(I,z,V,"\u21C7","\\leftleftarrows",!0);b(I,z,V,"\u21C6","\\leftrightarrows",!0);b(I,z,V,"\u21DA","\\Lleftarrow",!0);b(I,z,V,"\u219E","\\twoheadleftarrow",!0);b(I,z,V,"\u21A2","\\leftarrowtail",!0);b(I,z,V,"\u21AB","\\looparrowleft",!0);b(I,z,V,"\u21CB","\\leftrightharpoons",!0);b(I,z,V,"\u21B6","\\curvearrowleft",!0);b(I,z,V,"\u21BA","\\circlearrowleft",!0);b(I,z,V,"\u21B0","\\Lsh",!0);b(I,z,V,"\u21C8","\\upuparrows",!0);b(I,z,V,"\u21BF","\\upharpoonleft",!0);b(I,z,V,"\u21C3","\\downharpoonleft",!0);b(I,F,V,"\u22B6","\\origof",!0);b(I,F,V,"\u22B7","\\imageof",!0);b(I,z,V,"\u22B8","\\multimap",!0);b(I,z,V,"\u21AD","\\leftrightsquigarrow",!0);b(I,z,V,"\u21C9","\\rightrightarrows",!0);b(I,z,V,"\u21C4","\\rightleftarrows",!0);b(I,z,V,"\u21A0","\\twoheadrightarrow",!0);b(I,z,V,"\u21A3","\\rightarrowtail",!0);b(I,z,V,"\u21AC","\\looparrowright",!0);b(I,z,V,"\u21B7","\\curvearrowright",!0);b(I,z,V,"\u21BB","\\circlearrowright",!0);b(I,z,V,"\u21B1","\\Rsh",!0);b(I,z,V,"\u21CA","\\downdownarrows",!0);b(I,z,V,"\u21BE","\\upharpoonright",!0);b(I,z,V,"\u21C2","\\downharpoonright",!0);b(I,z,V,"\u21DD","\\rightsquigarrow",!0);b(I,z,V,"\u21DD","\\leadsto");b(I,z,V,"\u21DB","\\Rrightarrow",!0);b(I,z,V,"\u21BE","\\restriction");b(I,F,le,"\u2018","`");b(I,F,le,"$","\\$");b(Je,F,le,"$","\\$");b(Je,F,le,"$","\\textdollar");b(I,F,le,"%","\\%");b(Je,F,le,"%","\\%");b(I,F,le,"_","\\_");b(Je,F,le,"_","\\_");b(Je,F,le,"_","\\textunderscore");b(I,F,le,"\u2220","\\angle",!0);b(I,F,le,"\u221E","\\infty",!0);b(I,F,le,"\u2032","\\prime");b(I,F,le,"\u25B3","\\triangle");b(I,F,le,"\u0393","\\Gamma",!0);b(I,F,le,"\u0394","\\Delta",!0);b(I,F,le,"\u0398","\\Theta",!0);b(I,F,le,"\u039B","\\Lambda",!0);b(I,F,le,"\u039E","\\Xi",!0);b(I,F,le,"\u03A0","\\Pi",!0);b(I,F,le,"\u03A3","\\Sigma",!0);b(I,F,le,"\u03A5","\\Upsilon",!0);b(I,F,le,"\u03A6","\\Phi",!0);b(I,F,le,"\u03A8","\\Psi",!0);b(I,F,le,"\u03A9","\\Omega",!0);b(I,F,le,"A","\u0391");b(I,F,le,"B","\u0392");b(I,F,le,"E","\u0395");b(I,F,le,"Z","\u0396");b(I,F,le,"H","\u0397");b(I,F,le,"I","\u0399");b(I,F,le,"K","\u039A");b(I,F,le,"M","\u039C");b(I,F,le,"N","\u039D");b(I,F,le,"O","\u039F");b(I,F,le,"P","\u03A1");b(I,F,le,"T","\u03A4");b(I,F,le,"X","\u03A7");b(I,F,le,"\xAC","\\neg",!0);b(I,F,le,"\xAC","\\lnot");b(I,F,le,"\u22A4","\\top");b(I,F,le,"\u22A5","\\bot");b(I,F,le,"\u2205","\\emptyset");b(I,z,le,"\u2205","\\varnothing");b(I,F,Lt,"\u03B1","\\alpha",!0);b(I,F,Lt,"\u03B2","\\beta",!0);b(I,F,Lt,"\u03B3","\\gamma",!0);b(I,F,Lt,"\u03B4","\\delta",!0);b(I,F,Lt,"\u03F5","\\epsilon",!0);b(I,F,Lt,"\u03B6","\\zeta",!0);b(I,F,Lt,"\u03B7","\\eta",!0);b(I,F,Lt,"\u03B8","\\theta",!0);b(I,F,Lt,"\u03B9","\\iota",!0);b(I,F,Lt,"\u03BA","\\kappa",!0);b(I,F,Lt,"\u03BB","\\lambda",!0);b(I,F,Lt,"\u03BC","\\mu",!0);b(I,F,Lt,"\u03BD","\\nu",!0);b(I,F,Lt,"\u03BE","\\xi",!0);b(I,F,Lt,"\u03BF","\\omicron",!0);b(I,F,Lt,"\u03C0","\\pi",!0);b(I,F,Lt,"\u03C1","\\rho",!0);b(I,F,Lt,"\u03C3","\\sigma",!0);b(I,F,Lt,"\u03C4","\\tau",!0);b(I,F,Lt,"\u03C5","\\upsilon",!0);b(I,F,Lt,"\u03D5","\\phi",!0);b(I,F,Lt,"\u03C7","\\chi",!0);b(I,F,Lt,"\u03C8","\\psi",!0);b(I,F,Lt,"\u03C9","\\omega",!0);b(I,F,Lt,"\u03B5","\\varepsilon",!0);b(I,F,Lt,"\u03D1","\\vartheta",!0);b(I,F,Lt,"\u03D6","\\varpi",!0);b(I,F,Lt,"\u03F1","\\varrho",!0);b(I,F,Lt,"\u03C2","\\varsigma",!0);b(I,F,Lt,"\u03C6","\\varphi",!0);b(I,F,Qn,"\u2217","*",!0);b(I,F,Qn,"+","+");b(I,F,Qn,"\u2212","-",!0);b(I,F,Qn,"\u22C5","\\cdot",!0);b(I,F,Qn,"\u2218","\\circ",!0);b(I,F,Qn,"\xF7","\\div",!0);b(I,F,Qn,"\xB1","\\pm",!0);b(I,F,Qn,"\xD7","\\times",!0);b(I,F,Qn,"\u2229","\\cap",!0);b(I,F,Qn,"\u222A","\\cup",!0);b(I,F,Qn,"\u2216","\\setminus",!0);b(I,F,Qn,"\u2227","\\land");b(I,F,Qn,"\u2228","\\lor");b(I,F,Qn,"\u2227","\\wedge",!0);b(I,F,Qn,"\u2228","\\vee",!0);b(I,F,le,"\u221A","\\surd");b(I,F,Wc,"\u27E8","\\langle",!0);b(I,F,Wc,"\u2223","\\lvert");b(I,F,Wc,"\u2225","\\lVert");b(I,F,_l,"?","?");b(I,F,_l,"!","!");b(I,F,_l,"\u27E9","\\rangle",!0);b(I,F,_l,"\u2223","\\rvert");b(I,F,_l,"\u2225","\\rVert");b(I,F,V,"=","=");b(I,F,V,":",":");b(I,F,V,"\u2248","\\approx",!0);b(I,F,V,"\u2245","\\cong",!0);b(I,F,V,"\u2265","\\ge");b(I,F,V,"\u2265","\\geq",!0);b(I,F,V,"\u2190","\\gets");b(I,F,V,">","\\gt",!0);b(I,F,V,"\u2208","\\in",!0);b(I,F,V,"\uE020","\\@not");b(I,F,V,"\u2282","\\subset",!0);b(I,F,V,"\u2283","\\supset",!0);b(I,F,V,"\u2286","\\subseteq",!0);b(I,F,V,"\u2287","\\supseteq",!0);b(I,z,V,"\u2288","\\nsubseteq",!0);b(I,z,V,"\u2289","\\nsupseteq",!0);b(I,F,V,"\u22A8","\\models");b(I,F,V,"\u2190","\\leftarrow",!0);b(I,F,V,"\u2264","\\le");b(I,F,V,"\u2264","\\leq",!0);b(I,F,V,"<","\\lt",!0);b(I,F,V,"\u2192","\\rightarrow",!0);b(I,F,V,"\u2192","\\to");b(I,z,V,"\u2271","\\ngeq",!0);b(I,z,V,"\u2270","\\nleq",!0);b(I,F,op,"\xA0","\\ ");b(I,F,op,"\xA0","\\space");b(I,F,op,"\xA0","\\nobreakspace");b(Je,F,op,"\xA0","\\ ");b(Je,F,op,"\xA0"," ");b(Je,F,op,"\xA0","\\space");b(Je,F,op,"\xA0","\\nobreakspace");b(I,F,op,null,"\\nobreak");b(I,F,op,null,"\\allowbreak");b(I,F,k7,",",",");b(I,F,k7,";",";");b(I,z,Qn,"\u22BC","\\barwedge",!0);b(I,z,Qn,"\u22BB","\\veebar",!0);b(I,F,Qn,"\u2299","\\odot",!0);b(I,F,Qn,"\u2295","\\oplus",!0);b(I,F,Qn,"\u2297","\\otimes",!0);b(I,F,le,"\u2202","\\partial",!0);b(I,F,Qn,"\u2298","\\oslash",!0);b(I,z,Qn,"\u229A","\\circledcirc",!0);b(I,z,Qn,"\u22A1","\\boxdot",!0);b(I,F,Qn,"\u25B3","\\bigtriangleup");b(I,F,Qn,"\u25BD","\\bigtriangledown");b(I,F,Qn,"\u2020","\\dagger");b(I,F,Qn,"\u22C4","\\diamond");b(I,F,Qn,"\u22C6","\\star");b(I,F,Qn,"\u25C3","\\triangleleft");b(I,F,Qn,"\u25B9","\\triangleright");b(I,F,Wc,"{","\\{");b(Je,F,le,"{","\\{");b(Je,F,le,"{","\\textbraceleft");b(I,F,_l,"}","\\}");b(Je,F,le,"}","\\}");b(Je,F,le,"}","\\textbraceright");b(I,F,Wc,"{","\\lbrace");b(I,F,_l,"}","\\rbrace");b(I,F,Wc,"[","\\lbrack",!0);b(Je,F,le,"[","\\lbrack",!0);b(I,F,_l,"]","\\rbrack",!0);b(Je,F,le,"]","\\rbrack",!0);b(I,F,Wc,"(","\\lparen",!0);b(I,F,_l,")","\\rparen",!0);b(Je,F,le,"<","\\textless",!0);b(Je,F,le,">","\\textgreater",!0);b(I,F,Wc,"\u230A","\\lfloor",!0);b(I,F,_l,"\u230B","\\rfloor",!0);b(I,F,Wc,"\u2308","\\lceil",!0);b(I,F,_l,"\u2309","\\rceil",!0);b(I,F,le,"\\","\\backslash");b(I,F,le,"\u2223","|");b(I,F,le,"\u2223","\\vert");b(Je,F,le,"|","\\textbar",!0);b(I,F,le,"\u2225","\\|");b(I,F,le,"\u2225","\\Vert");b(Je,F,le,"\u2225","\\textbardbl");b(Je,F,le,"~","\\textasciitilde");b(Je,F,le,"\\","\\textbackslash");b(Je,F,le,"^","\\textasciicircum");b(I,F,V,"\u2191","\\uparrow",!0);b(I,F,V,"\u21D1","\\Uparrow",!0);b(I,F,V,"\u2193","\\downarrow",!0);b(I,F,V,"\u21D3","\\Downarrow",!0);b(I,F,V,"\u2195","\\updownarrow",!0);b(I,F,V,"\u21D5","\\Updownarrow",!0);b(I,F,di,"\u2210","\\coprod");b(I,F,di,"\u22C1","\\bigvee");b(I,F,di,"\u22C0","\\bigwedge");b(I,F,di,"\u2A04","\\biguplus");b(I,F,di,"\u22C2","\\bigcap");b(I,F,di,"\u22C3","\\bigcup");b(I,F,di,"\u222B","\\int");b(I,F,di,"\u222B","\\intop");b(I,F,di,"\u222C","\\iint");b(I,F,di,"\u222D","\\iiint");b(I,F,di,"\u220F","\\prod");b(I,F,di,"\u2211","\\sum");b(I,F,di,"\u2A02","\\bigotimes");b(I,F,di,"\u2A01","\\bigoplus");b(I,F,di,"\u2A00","\\bigodot");b(I,F,di,"\u222E","\\oint");b(I,F,di,"\u222F","\\oiint");b(I,F,di,"\u2230","\\oiiint");b(I,F,di,"\u2A06","\\bigsqcup");b(I,F,di,"\u222B","\\smallint");b(Je,F,_R,"\u2026","\\textellipsis");b(I,F,_R,"\u2026","\\mathellipsis");b(Je,F,_R,"\u2026","\\ldots",!0);b(I,F,_R,"\u2026","\\ldots",!0);b(I,F,_R,"\u22EF","\\@cdots",!0);b(I,F,_R,"\u22F1","\\ddots",!0);b(I,F,le,"\u22EE","\\varvdots");b(I,F,Kr,"\u02CA","\\acute");b(I,F,Kr,"\u02CB","\\grave");b(I,F,Kr,"\xA8","\\ddot");b(I,F,Kr,"~","\\tilde");b(I,F,Kr,"\u02C9","\\bar");b(I,F,Kr,"\u02D8","\\breve");b(I,F,Kr,"\u02C7","\\check");b(I,F,Kr,"^","\\hat");b(I,F,Kr,"\u20D7","\\vec");b(I,F,Kr,"\u02D9","\\dot");b(I,F,Kr,"\u02DA","\\mathring");b(I,F,Lt,"\uE131","\\@imath");b(I,F,Lt,"\uE237","\\@jmath");b(I,F,le,"\u0131","\u0131");b(I,F,le,"\u0237","\u0237");b(Je,F,le,"\u0131","\\i",!0);b(Je,F,le,"\u0237","\\j",!0);b(Je,F,le,"\xDF","\\ss",!0);b(Je,F,le,"\xE6","\\ae",!0);b(Je,F,le,"\u0153","\\oe",!0);b(Je,F,le,"\xF8","\\o",!0);b(Je,F,le,"\xC6","\\AE",!0);b(Je,F,le,"\u0152","\\OE",!0);b(Je,F,le,"\xD8","\\O",!0);b(Je,F,Kr,"\u02CA","\\'");b(Je,F,Kr,"\u02CB","\\`");b(Je,F,Kr,"\u02C6","\\^");b(Je,F,Kr,"\u02DC","\\~");b(Je,F,Kr,"\u02C9","\\=");b(Je,F,Kr,"\u02D8","\\u");b(Je,F,Kr,"\u02D9","\\.");b(Je,F,Kr,"\xB8","\\c");b(Je,F,Kr,"\u02DA","\\r");b(Je,F,Kr,"\u02C7","\\v");b(Je,F,Kr,"\xA8",'\\"');b(Je,F,Kr,"\u02DD","\\H");b(Je,F,Kr,"\u25EF","\\textcircled");var jIe={"--":!0,"---":!0,"``":!0,"''":!0};b(Je,F,le,"\u2013","--",!0);b(Je,F,le,"\u2013","\\textendash");b(Je,F,le,"\u2014","---",!0);b(Je,F,le,"\u2014","\\textemdash");b(Je,F,le,"\u2018","`",!0);b(Je,F,le,"\u2018","\\textquoteleft");b(Je,F,le,"\u2019","'",!0);b(Je,F,le,"\u2019","\\textquoteright");b(Je,F,le,"\u201C","``",!0);b(Je,F,le,"\u201C","\\textquotedblleft");b(Je,F,le,"\u201D","''",!0);b(Je,F,le,"\u201D","\\textquotedblright");b(I,F,le,"\xB0","\\degree",!0);b(Je,F,le,"\xB0","\\degree");b(Je,F,le,"\xB0","\\textdegree",!0);b(I,F,le,"\xA3","\\pounds");b(I,F,le,"\xA3","\\mathsterling",!0);b(Je,F,le,"\xA3","\\pounds");b(Je,F,le,"\xA3","\\textsterling",!0);b(I,z,le,"\u2720","\\maltese");b(Je,z,le,"\u2720","\\maltese");var NIe='0123456789/@."';for(U7=0;U70)return gv(o,c,r,t,i.concat(s));if(l){var f,v;if(l==="boldsymbol"){var m=Jhn(o,r,t,i,a);f=m.fontName,v=[m.fontClass]}else u?(f=HIe[l].fontName,v=[l]):(f=$7(l,t.fontWeight,t.fontShape),v=[l,t.fontWeight,t.fontShape]);if(z7(o,f,r).metrics)return gv(o,f,r,t,i.concat(v));if(jIe.hasOwnProperty(o)&&f.slice(0,10)==="Typewriter"){for(var _=[],R=0;R{if(Id(e.classes)!==Id(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},zhn=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},Xl=function(n,t,a,r){var o=new pR(n,t,a,r);return tW(o),o},kIe=(e,n,t,a)=>new pR(e,n,t,a),$hn=function(n,t,a){var r=Xl([n],[],t);return r.height=Math.max(a||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),r.style.borderBottomWidth=Tn(r.height),r.maxFontSize=1,r},Vhn=function(n,t,a,r){var o=new P7(n,t,a,r);return tW(o),o},UIe=function(n){var t=new mR(n);return tW(t),t},Qhn=function(n,t){return n instanceof mR?Xl([],[n],t):n},Yhn=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=Xl(["mspace"],[],n),a=Do(e,n);return t.style.marginRight=Tn(a),t},$7=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},HIe={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"},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"}},BIe={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Khn=function(n,t){var[a,r,o]=BIe[n],i=new rp(a),u=new T0([i],{width:Tn(r),height:Tn(o),style:"width:"+Tn(r),viewBox:"0 0 "+1e3*r+" "+1e3*o,preserveAspectRatio:"xMinYMin"}),l=kIe(["overlay"],[u],t);return l.height=o,l.style.height=Tn(o),l.style.width=Tn(r),l},be={fontMap:HIe,makeSymbol:gv,mathsym:Bhn,makeSpan:Xl,makeSvgSpan:kIe,makeLineSpan:$hn,makeAnchor:Vhn,makeFragment:UIe,wrapFragment:Qhn,makeVList:Xhn,makeOrd:Whn,makeGlue:Zhn,staticSvg:Khn,svgData:BIe,tryCombineChars:zhn},bo={number:3,unit:"mu"},pD={number:4,unit:"mu"},up={number:5,unit:"mu"},egn={mord:{mop:bo,mbin:pD,mrel:up,minner:bo},mop:{mord:bo,mop:bo,mrel:up,minner:bo},mbin:{mord:pD,mop:pD,mopen:pD,minner:pD},mrel:{mord:up,mop:up,mopen:up,minner:up},mopen:{},mclose:{mop:bo,mbin:pD,mrel:up,minner:bo},mpunct:{mord:bo,mop:bo,mrel:up,mopen:bo,mclose:bo,mpunct:bo,minner:bo},minner:{mord:bo,mop:bo,mbin:pD,mrel:up,mopen:bo,mpunct:bo,minner:bo}},ngn={mord:{mop:bo},mop:{mord:bo,mop:bo},mbin:{},mrel:{},mopen:{},mclose:{mop:bo},mpunct:{},minner:{mop:bo}},JIe={},V7={},Q7={};function Bn(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 y=R.classes[0],D=_.classes[0];y==="mbin"&&Ct.contains(agn,D)?R.classes[0]="mord":D==="mbin"&&Ct.contains(tgn,y)&&(_.classes[0]="mord")},{node:f},v,m),WIe(o,(_,R)=>{var y=aW(R),D=aW(_),S=y&&D?_.hasClass("mtight")?ngn[y][D]:egn[y][D]:null;if(S)return be.makeGlue(S,c)},{node:f},v,m),o},WIe=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()},qIe=function(n){return n instanceof mR||n instanceof P7||n instanceof pR&&n.hasClass("enclosing")?n:null},ign=function e(n,t){var a=qIe(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},aW=function(n,t){return n?(t&&(n=ign(n,t)),ogn[n.classes[0]]||null):null},aT=function(n,t){var a=["nulldelimiter"].concat(n.baseSizingClasses());return lp(t.concat(a))},Ha=function(n,t,a){if(!n)return lp();if(V7[n.type]){var r=V7[n.type](n,t);if(a&&t.size!==a.size){r=lp(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 X7(e,n){var t=lp(["base"],e,n),a=lp(["strut"]);return a.style.height=Tn(t.height+t.depth),t.depth&&(a.style.verticalAlign=Tn(-t.depth)),t.children.unshift(a),t}function rW(e,n){var t=null;e.length===1&&e[0].type==="tag"&&(t=e[0].tag,e=e[0].body);var a=Bi(e,n,"root"),r;a.length===2&&a[1].hasClass("tag")&&(r=a.pop());for(var o=[],i=[],u=0;u0&&(o.push(X7(i,n)),i=[]),o.push(a[u]));i.length>0&&o.push(X7(i,n));var c;t?(c=X7(Bi(t,n,!0)),c.classes=["tag"],o.push(c)):r&&o.push(r);var s=lp(["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 zIe(e){return new mR(e)}var qc=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=Id(this.classes));for(var a=0;a0&&(n+=' class ="'+Ct.escape(Id(this.classes))+'"'),n+=">";for(var a=0;a",n}toText(){return this.children.map(n=>n.toText()).join("")}},dR=class{constructor(n){this.text=void 0,this.text=n}toNode(){return document.createTextNode(this.text)}toMarkup(){return Ct.escape(this.toText())}toText(){return this.text}},$Ie=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:" "}},Ye={MathNode:qc,TextNode:dR,SpaceNode:$Ie,newDocumentFragment:zIe},Vs=function(n,t,a){return Ar[t][n]&&Ar[t][n].replace&&n.charCodeAt(0)!==55349&&!(jIe.hasOwnProperty(n)&&a&&(a.fontFamily&&a.fontFamily.slice(4,6)==="tt"||a.font&&a.font.slice(4,6)==="tt"))&&(n=Ar[t][n].replace),new Ye.TextNode(n)},oW=function(n){return n.length===1?n[0]:new Ye.MathNode("mrow",n)},iW=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==="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(Ct.contains(["\\imath","\\jmath"],o))return null;Ar[r][o]&&Ar[r][o].replace&&(o=Ar[r][o].replace);var i=be.fontMap[a].fontName;return YJ(o,i,r)?be.fontMap[a].variant:null},Zl=function(n,t,a){if(n.length===1){var r=Er(n[0],t);return a&&r instanceof qc&&r.type==="mo"&&(r.setAttribute("lspace","0em"),r.setAttribute("rspace","0em")),[r]}for(var o=[],i,u=0;u0&&(f.text=f.text.slice(0,1)+"\u0338"+f.text.slice(1),o.pop())}}}o.push(l),i=l}return o},Fd=function(n,t,a){return oW(Zl(n,t,a))},Er=function(n,t){if(!n)return new Ye.MathNode("mrow");if(Q7[n.type]){var a=Q7[n.type](n,t);return a}else throw new tn("Got group of unknown type: '"+n.type+"'")};function VIe(e,n,t,a,r){var o=Zl(e,t),i;o.length===1&&o[0]instanceof qc&&Ct.contains(["mrow","mtable"],o[0].type)?i=o[0]:i=new Ye.MathNode("mrow",o);var u=new Ye.MathNode("annotation",[new Ye.TextNode(n)]);u.setAttribute("encoding","application/x-tex");var l=new Ye.MathNode("semantics",[i,u]),c=new Ye.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 be.makeSpan([s],[c])}var QIe=function(n){return new I0({style:n.displayMode?xt.DISPLAY:xt.TEXT,maxSize:n.maxSize,minRuleThickness:n.minRuleThickness})},YIe=function(n,t){if(t.displayMode){var a=["katex-display"];t.leqno&&a.push("leqno"),t.fleqn&&a.push("fleqn"),n=be.makeSpan(a,[n])}return n},ugn=function(n,t,a){var r=QIe(a),o;if(a.output==="mathml")return VIe(n,t,r,a.displayMode,!0);if(a.output==="html"){var i=rW(n,r);o=be.makeSpan(["katex"],[i])}else{var u=VIe(n,t,r,a.displayMode,!1),l=rW(n,r);o=be.makeSpan(["katex"],[u,l])}return YIe(o,a)},lgn=function(n,t,a){var r=QIe(a),o=rW(n,r),i=be.makeSpan(["katex"],[o]);return YIe(i,a)},cgn={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":"="},sgn=function(n){var t=new Ye.MathNode("mo",[new Ye.TextNode(cgn[n.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},fgn={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]},vgn=function(n){return n.type==="ordgroup"?n.body.length:1},mgn=function(n,t){function a(){var u=4e5,l=n.label.slice(1);if(Ct.contains(["widehat","widecheck","widetilde","utilde"],l)){var c=n,s=vgn(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 rp(v),y=new T0([R],{width:"100%",height:Tn(m),viewBox:"0 0 "+u+" "+f,preserveAspectRatio:"none"});return{span:be.makeSvgSpan([],[y],t),minWidth:0,height:m}}else{var D=[],S=fgn[l],[M,P,k]=S,N=k/1e3,Q=M.length,de,fe;if(Q===1){var ge=S[3];de=["hide-tail"],fe=[ge]}else if(Q===2)de=["halfarrow-left","halfarrow-right"],fe=["xMinYMin","xMaxYMin"];else if(Q===3)de=["brace-left","brace-center","brace-right"],fe=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support `+Q+" children.");for(var re=0;re0&&(r.style.minWidth=Tn(o)),r},pgn=function(n,t,a,r,o){var i,u=n.height+n.depth+a+r;if(/fbox|color|angl/.test(t)){if(i=be.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 O7({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&c.push(new O7({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var s=new T0(c,{width:"100%",height:Tn(u)});i=be.makeSvgSpan([],[s],o)}return i.height=u,i.style.height=Tn(u),i},cp={encloseSpan:pgn,mathMLnode:sgn,svgSpan:mgn};function va(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 uW(e){var n=Z7(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 Z7(e){return e&&(e.type==="atom"||Uhn.hasOwnProperty(e.type))?e:null}var lW=(e,n)=>{var t,a,r;e&&e.type==="supsub"?(a=va(e.base,"accent"),t=a.base,e.base=t,r=Ohn(Ha(e,n)),e.base=a):(a=va(e,"accent"),t=a.base);var o=Ha(t,n.havingCrampedStyle()),i=a.isShifty&&Ct.isCharacterBox(t),u=0;if(i){var l=Ct.getBaseElem(t),c=Ha(l,n.havingCrampedStyle());u=LIe(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=be.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=be.staticSvg("vec",n),_=be.svgData.vec[1]):(m=be.makeOrd({mode:a.mode,text:a.label},n,"textord"),m=LIe(m),m.italic=0,_=m.width,s&&(f+=m.depth)),v=be.makeSpan(["accent-body"],[m]);var R=a.label==="\\textcircled";R&&(v.classes.push("accent-full"),f=o.height);var y=u;R||(y-=_/2),v.style.left=Tn(y),a.label==="\\textcircled"&&(v.style.top=".2em"),v=be.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:-f},{type:"elem",elem:v}]},n)}var D=be.makeSpan(["mord","accent"],[v],n);return r?(r.children[0]=D,r.height=Math.max(D.height,r.height),r.classes[0]="mord",r):D},XIe=(e,n)=>{var t=e.isStretchy?cp.mathMLnode(e.label):new Ye.MathNode("mo",[Vs(e.label,e.mode)]),a=new Ye.MathNode("mover",[Er(e.base,n),t]);return a.setAttribute("accent","true"),a},_gn=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));Bn({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=Y7(n[0]),a=!_gn.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:lW,mathmlBuilder:XIe});Bn({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:lW,mathmlBuilder:XIe});Bn({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=Ha(e.base,n),a=cp.svgSpan(e,n),r=e.label==="\\utilde"?.12:0,o=be.makeVList({positionType:"top",positionData:t.height,children:[{type:"elem",elem:a,wrapperClasses:["svg-align"]},{type:"kern",size:r},{type:"elem",elem:t}]},n);return be.makeSpan(["mord","accentunder"],[o],n)},mathmlBuilder:(e,n)=>{var t=cp.mathMLnode(e.label),a=new Ye.MathNode("munder",[Er(e.base,n),t]);return a.setAttribute("accentunder","true"),a}});var K7=e=>{var n=new Ye.MathNode("mpadded",e?[e]:[]);return n.setAttribute("width","+0.6em"),n.setAttribute("lspace","0.3em"),n};Bn({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=be.wrapFragment(Ha(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=be.wrapFragment(Ha(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=be.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=be.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"),be.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=K7(Er(e.body,n));if(e.below){var o=K7(Er(e.below,n));a=new Ye.MathNode("munderover",[t,o,r])}else a=new Ye.MathNode("mover",[t,r])}else if(e.below){var i=K7(Er(e.below,n));a=new Ye.MathNode("munder",[t,i])}else a=K7(),a=new Ye.MathNode("mover",[t,a]);return a}});var dgn=be.makeSpan;function ZIe(e,n){var t=Bi(e.body,n,!0);return dgn([e.mclass],t,n)}function KIe(e,n){var t,a=Zl(e.body,n);return e.mclass==="minner"?t=new Ye.MathNode("mpadded",a):e.mclass==="mord"?e.isCharacterBox?(t=a[0],t.type="mi"):t=new Ye.MathNode("mi",a):(e.isCharacterBox?(t=a[0],t.type="mo"):t=new Ye.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}Bn({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:Ko(r),isCharacterBox:Ct.isCharacterBox(r)}},htmlBuilder:ZIe,mathmlBuilder:KIe});var e5=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"};Bn({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,n){var{parser:t}=e;return{type:"mclass",mode:t.mode,mclass:e5(n[0]),body:Ko(n[1]),isCharacterBox:Ct.isCharacterBox(n[1])}}});Bn({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=e5(r):i="mrel";var u={type:"op",mode:r.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:a!=="\\stackrel",body:Ko(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:Ct.isCharacterBox(l)}},htmlBuilder:ZIe,mathmlBuilder:KIe});Bn({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,n){var{parser:t}=e;return{type:"pmb",mode:t.mode,mclass:e5(n[0]),body:Ko(n[0])}},htmlBuilder(e,n){var t=Bi(e.body,n,!0),a=be.makeSpan([e.mclass],t,n);return a.style.textShadow="0.02em 0.01em 0.04px",a},mathmlBuilder(e,n){var t=Zl(e.body,n),a=new Ye.MathNode("mstyle",t);return a.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),a}});var hgn={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},eTe=()=>({type:"styling",body:[],mode:"math",style:"display"}),nTe=e=>e.type==="textord"&&e.text==="@",ggn=(e,n)=>(e.type==="mathord"||e.type==="atom")&&e.text===n;function Dgn(e,n,t){var a=hgn[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 ygn(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 _=Dgn(c,s,e),R={type:"styling",body:[_],mode:"math",style:"display"};a.push(R),u=eTe()}o%2==0?a.push(u):a.shift(),a=[],r.push(a)}e.gullet.endGroup(),e.gullet.endGroup();var y=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:y,colSeparationType:"CD",hLinesBeforeRow:new Array(r.length+1).fill([])}}Bn({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=be.wrapFragment(Ha(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 Ye.MathNode("mrow",[Er(e.label,n)]);return t=new Ye.MathNode("mpadded",[t]),t.setAttribute("width","0"),e.side==="left"&&t.setAttribute("lspace","-1width"),t.setAttribute("voffset","0.7em"),t=new Ye.MathNode("mstyle",[t]),t.setAttribute("displaystyle","false"),t.setAttribute("scriptlevel","1"),t}});Bn({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=be.wrapFragment(Ha(e.fragment,n),n);return t.classes.push("cd-vert-arrow"),t},mathmlBuilder(e,n){return new Ye.MathNode("mrow",[Er(e.fragment,n)])}});Bn({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,n){for(var{parser:t}=e,a=va(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 tTe=(e,n)=>{var t=Bi(e.body,n.withColor(e.color),!1);return be.makeFragment(t)},aTe=(e,n)=>{var t=Zl(e.body,n.withColor(e.color)),a=new Ye.MathNode("mstyle",t);return a.setAttribute("mathcolor",e.color),a};Bn({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,n){var{parser:t}=e,a=va(n[0],"color-token").color,r=n[1];return{type:"color",mode:t.mode,color:a,body:Ko(r)}},htmlBuilder:tTe,mathmlBuilder:aTe});Bn({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,n){var{parser:t,breakOnTokenText:a}=e,r=va(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:tTe,mathmlBuilder:aTe});Bn({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&&va(r,"size").value}},htmlBuilder(e,n){var t=be.makeSpan(["mspace"],[],n);return e.newLine&&(t.classes.push("newline"),e.size&&(t.style.marginTop=Tn(Do(e.size,n)))),t},mathmlBuilder(e,n){var t=new Ye.MathNode("mspace");return e.newLine&&(t.setAttribute("linebreak","newline"),e.size&&t.setAttribute("height",Tn(Do(e.size,n)))),t}});var cW={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},rTe=e=>{var n=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(n))throw new tn("Expected a control sequence",e);return n},bgn=e=>{var n=e.gullet.popToken();return n.text==="="&&(n=e.gullet.popToken(),n.text===" "&&(n=e.gullet.popToken())),n},oTe=(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)};Bn({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(cW[a.text])return(t==="\\global"||t==="\\\\globallong")&&(a.text=cW[a.text]),va(n.parseFunction(),"internal");throw new tn("Invalid token after macro prefix",a)}});Bn({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===cW[t]),{type:"internal",mode:n.mode}}});Bn({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:n,funcName:t}=e,a=rTe(n.gullet.popToken());n.gullet.consumeSpaces();var r=bgn(n);return oTe(n,a,r,t==="\\\\globallet"),{type:"internal",mode:n.mode}}});Bn({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:n,funcName:t}=e,a=rTe(n.gullet.popToken()),r=n.gullet.popToken(),o=n.gullet.popToken();return oTe(n,a,o,t==="\\\\globalfuture"),n.gullet.pushToken(o),n.gullet.pushToken(r),{type:"internal",mode:n.mode}}});var rT=function(n,t,a){var r=Ar.math[n]&&Ar.math[n].replace,o=YJ(r||n,t,a);if(!o)throw new Error("Unsupported symbol "+n+" and font size "+t+".");return o},sW=function(n,t,a,r){var o=a.havingBaseStyle(t),i=be.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},iTe=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},Rgn=function(n,t,a,r,o,i){var u=be.makeSymbol(n,"Main-Regular",o,r),l=sW(u,t,r,i);return a&&iTe(l,r,t),l},wgn=function(n,t,a,r){return be.makeSymbol(n,"Size"+t+"-Regular",a,r)},uTe=function(n,t,a,r,o,i){var u=wgn(n,t,o,r),l=sW(be.makeSpan(["delimsizing","size"+t],[u],r),xt.TEXT,r,i);return a&&iTe(l,r,xt.TEXT),l},fW=function(n,t,a){var r;t==="Size1-Regular"?r="delim-size1":r="delim-size4";var o=be.makeSpan(["delimsizinginner",r],[be.makeSpan([],[be.makeSymbol(n,t,a)])]);return{type:"elem",elem:o}},vW=function(n,t,a){var r=C0["Size4-Regular"][n.charCodeAt(0)]?C0["Size4-Regular"][n.charCodeAt(0)][4]:C0["Size1-Regular"][n.charCodeAt(0)][4],o=new rp("inner",Ghn(n,Math.round(1e3*t))),i=new T0([o],{width:Tn(r),height:Tn(t),style:"width:"+Tn(r),viewBox:"0 0 "+1e3*r+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),u=be.makeSvgSpan([],[i],a);return u.height=t,u.style.height=Tn(t),u.style.width=Tn(r),{type:"elem",elem:u}},mW=.008,n5={type:"kern",size:-1*mW},Sgn=["|","\\lvert","\\rvert","\\vert"],Egn=["\\|","\\lVert","\\rVert","\\Vert"],lTe=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"):Ct.contains(Sgn,n)?(c="\u2223",f="vert",v=333):Ct.contains(Egn,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 _=rT(u,m,o),R=_.height+_.depth,y=rT(c,m,o),D=y.height+y.depth,S=rT(s,m,o),M=S.height+S.depth,P=0,k=1;if(l!==null){var N=rT(l,m,o);P=N.height+N.depth,k=2}var Q=R+M+P,de=Math.max(0,Math.ceil((t-Q)/(k*D))),fe=Q+de*k*D,ge=r.fontMetrics().axisHeight;a&&(ge*=r.sizeMultiplier);var re=fe/2-ge,Ee=[];if(f.length>0){var pe=fe-R-M,ye=Math.round(fe*1e3),je=Ahn(f,Math.round(pe*1e3)),oe=new rp(f,je),Un=(v/1e3).toFixed(3)+"em",Ke=(ye/1e3).toFixed(3)+"em",Pn=new T0([oe],{width:Un,height:Ke,viewBox:"0 0 "+v+" "+ye}),On=be.makeSvgSpan([],[Pn],r);On.height=ye/1e3,On.style.width=Un,On.style.height=Ke,Ee.push({type:"elem",elem:On})}else{if(Ee.push(fW(s,m,o)),Ee.push(n5),l===null){var W=fe-R-M+2*mW;Ee.push(vW(c,W,r))}else{var A=(fe-R-M-P)/2+2*mW;Ee.push(vW(c,A,r)),Ee.push(n5),Ee.push(fW(l,m,o)),Ee.push(n5),Ee.push(vW(c,A,r))}Ee.push(n5),Ee.push(fW(u,m,o))}var ee=r.havingBaseStyle(xt.TEXT),se=be.makeVList({positionType:"bottom",positionData:re,children:Ee},ee);return sW(be.makeSpan(["delimsizing","mult"],[se],ee),xt.TEXT,r,i)},pW=80,_W=.08,dW=function(n,t,a,r,o){var i=Mhn(n,r,a),u=new rp(n,i),l=new T0([u],{width:"400em",height:Tn(t),viewBox:"0 0 400000 "+a,preserveAspectRatio:"xMinYMin slice"});return be.makeSvgSpan(["hide-tail"],[l],o)},Cgn=function(n,t){var a=t.havingBaseSizing(),r=vTe("\\surd",n*a.sizeMultiplier,fTe,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+pW,n<1?o=1:n<1.4&&(o=.7),l=(1+i+_W)/o,c=(1+i)/o,u=dW("sqrtMain",l,s,i,t),u.style.minWidth="0.853em",f=.833/o):r.type==="large"?(s=(1e3+pW)*oT[r.size],c=(oT[r.size]+i)/o,l=(oT[r.size]+i+_W)/o,u=dW("sqrtSize"+r.size,l,s,i,t),u.style.minWidth="1.02em",f=1/o):(l=n+i+_W,c=n+i,s=Math.floor(1e3*n+i)+pW,u=dW("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}},cTe=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],Ign=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],sTe=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],oT=[0,1.2,1.8,2.4,3],Tgn=function(n,t,a,r,o){if(n==="<"||n==="\\lt"||n==="\u27E8"?n="\\langle":(n===">"||n==="\\gt"||n==="\u27E9")&&(n="\\rangle"),Ct.contains(cTe,n)||Ct.contains(sTe,n))return uTe(n,t,!1,a,r,o);if(Ct.contains(Ign,n))return lTe(n,oT[t],!1,a,r,o);throw new tn("Illegal delimiter: '"+n+"'")},Fgn=[{type:"small",style:xt.SCRIPTSCRIPT},{type:"small",style:xt.SCRIPT},{type:"small",style:xt.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Mgn=[{type:"small",style:xt.SCRIPTSCRIPT},{type:"small",style:xt.SCRIPT},{type:"small",style:xt.TEXT},{type:"stack"}],fTe=[{type:"small",style:xt.SCRIPTSCRIPT},{type:"small",style:xt.SCRIPT},{type:"small",style:xt.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Ggn=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.")},vTe=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]},mTe=function(n,t,a,r,o,i){n==="<"||n==="\\lt"||n==="\u27E8"?n="\\langle":(n===">"||n==="\\gt"||n==="\u27E9")&&(n="\\rangle");var u;Ct.contains(sTe,n)?u=Fgn:Ct.contains(cTe,n)?u=fTe:u=Mgn;var l=vTe(n,t,u,r);return l.type==="small"?Rgn(n,l.style,a,r,o,i):l.type==="large"?uTe(n,l.size,a,r,o,i):lTe(n,t,a,r,o,i)},Agn=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 mTe(n,f,!0,r,o,i)},sp={sqrtImage:Cgn,sizedDelim:Tgn,sizeToMaxHeight:oT,customSizedDelim:mTe,leftRightDelim:Agn},pTe={"\\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}},xgn=["(","\\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 t5(e,n){var t=Z7(e);if(t&&Ct.contains(xgn,t.text))return t;throw t?new tn("Invalid delimiter '"+t.text+"' after '"+n.funcName+"'",e):new tn("Invalid delimiter type '"+e.type+"'",e)}Bn({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=t5(n[0],e);return{type:"delimsizing",mode:e.parser.mode,size:pTe[e.funcName].size,mclass:pTe[e.funcName].mclass,delim:t.text}},htmlBuilder:(e,n)=>e.delim==="."?be.makeSpan([e.mclass]):sp.sizedDelim(e.delim,e.size,n,e.mode,[e.mclass]),mathmlBuilder:e=>{var n=[];e.delim!=="."&&n.push(Vs(e.delim,e.mode));var t=new Ye.MathNode("mo",n);e.mclass==="mopen"||e.mclass==="mclose"?t.setAttribute("fence","true"):t.setAttribute("fence","false"),t.setAttribute("stretchy","true");var a=Tn(sp.sizeToMaxHeight[e.size]);return t.setAttribute("minsize",a),t.setAttribute("maxsize",a),t}});function _Te(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Bn({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:t5(n[0],e).text,color:t}}});Bn({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,n)=>{var t=t5(n[0],e),a=e.parser;++a.leftrightDepth;var r=a.parseExpression(!1);--a.leftrightDepth,a.expect("\\right",!1);var o=va(a.parseFunction(),"leftright-right");return{type:"leftright",mode:a.mode,body:r,left:t.text,right:o.delim,rightColor:o.color}},htmlBuilder:(e,n)=>{_Te(e);for(var t=Bi(e.body,n,!0,["mopen","mclose"]),a=0,r=0,o=!1,i=0;i{_Te(e);var t=Zl(e.body,n);if(e.left!=="."){var a=new Ye.MathNode("mo",[Vs(e.left,e.mode)]);a.setAttribute("fence","true"),t.unshift(a)}if(e.right!=="."){var r=new Ye.MathNode("mo",[Vs(e.right,e.mode)]);r.setAttribute("fence","true"),e.rightColor&&r.setAttribute("mathcolor",e.rightColor),t.push(r)}return oW(t)}});Bn({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,n)=>{var t=t5(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=aT(n,[]);else{t=sp.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==="|"?Vs("|","text"):Vs(e.delim,e.mode),a=new Ye.MathNode("mo",[t]);return a.setAttribute("fence","true"),a.setAttribute("lspace","0.05em"),a.setAttribute("rspace","0.05em"),a}});var hW=(e,n)=>{var t=be.wrapFragment(Ha(e.body,n),n),a=e.label.slice(1),r=n.sizeMultiplier,o,i=0,u=Ct.isCharacterBox(e.body);if(a==="sout")o=be.makeSpan(["stretchy","sout"]),o.height=n.fontMetrics().defaultRuleThickness/r,i=-.5*n.fontMetrics().xHeight;else if(a==="phase"){var l=Do({number:.6,unit:"pt"},n),c=Do({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=Thn(v),_=new T0([new rp("phase",m)],{width:"400em",height:Tn(v/1e3),viewBox:"0 0 400000 "+v,preserveAspectRatio:"xMinYMin slice"});o=be.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,y=0,D=0;/box/.test(a)?(D=Math.max(n.fontMetrics().fboxrule,n.minRuleThickness),R=n.fontMetrics().fboxsep+(a==="colorbox"?0:D),y=R):a==="angl"?(D=Math.max(n.fontMetrics().defaultRuleThickness,n.minRuleThickness),R=4*D,y=Math.max(0,.25-t.depth)):(R=u?.2:0,y=R),o=cp.encloseSpan(t,a,R,y,n),/fbox|boxed|fcolorbox/.test(a)?(o.style.borderStyle="solid",o.style.borderWidth=Tn(D)):a==="angl"&&D!==.049&&(o.style.borderTopWidth=Tn(D),o.style.borderRightWidth=Tn(D)),i=t.depth+y,e.backgroundColor&&(o.style.backgroundColor=e.backgroundColor,e.borderColor&&(o.style.borderColor=e.borderColor))}var S;if(e.backgroundColor)S=be.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:i},{type:"elem",elem:t,shift:0}]},n);else{var M=/cancel|phase/.test(a)?["svg-align"]:[];S=be.makeVList({positionType:"individualShift",children:[{type:"elem",elem:t,shift:0},{type:"elem",elem:o,shift:i,wrapperClasses:M}]},n)}return/cancel/.test(a)&&(S.height=t.height,S.depth=t.depth),/cancel/.test(a)&&!u?be.makeSpan(["mord","cancel-lap"],[S],n):be.makeSpan(["mord"],[S],n)},gW=(e,n)=>{var t=0,a=new Ye.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Er(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};Bn({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,n,t){var{parser:a,funcName:r}=e,o=va(n[0],"color-token").color,i=n[1];return{type:"enclose",mode:a.mode,label:r,backgroundColor:o,body:i}},htmlBuilder:hW,mathmlBuilder:gW});Bn({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,n,t){var{parser:a,funcName:r}=e,o=va(n[0],"color-token").color,i=va(n[1],"color-token").color,u=n[2];return{type:"enclose",mode:a.mode,label:r,backgroundColor:i,borderColor:o,body:u}},htmlBuilder:hW,mathmlBuilder:gW});Bn({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]}}});Bn({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:hW,mathmlBuilder:gW});Bn({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 dTe={};function F0(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 DW(e){if(e.indexOf("ed")===-1)return e.indexOf("*")===-1}function Md(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=[_],y=[],D=[],S=l!=null?[]:void 0;function M(){l&&e.gullet.macros.set("\\@eqnsw","1",!0)}function P(){S&&(e.gullet.macros.get("\\df@tag")?(S.push(e.subparse([new Bc("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):S.push(Boolean(l)&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(M(),D.push(gTe(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 N=e.fetch().text;if(N==="&"){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(N==="\\end"){P(),_.length===1&&k.type==="styling"&&k.body[0].body.length===0&&(R.length>1||!s)&&R.pop(),D.length0&&(M+=.25),c.push({pos:M,isDashed:Xn[dt]})}for(P(i[0]),a=0;a0&&(re+=S,QXn))for(a=0;a=u)){var ve=void 0;(r>0||n.hskipBeforeAndAfter)&&(ve=Ct.deflt(A.pregap,v),ve!==0&&(je=be.makeSpan(["arraycolsep"],[]),je.style.width=Tn(ve),ye.push(je)));var $=[];for(a=0;a0){for(var qe=be.makeLineSpan("hline",t,s),xe=be.makeLineSpan("hdashline",t,s),In=[{type:"elem",elem:l,shift:0}];c.length>0;){var cn=c.pop(),Yn=cn.pos-Ee;cn.isDashed?In.push({type:"elem",elem:xe,shift:Yn}):In.push({type:"elem",elem:qe,shift:Yn})}l=be.makeVList({positionType:"individualShift",children:In},t)}if(Un.length===0)return be.makeSpan(["mord"],[l],t);var En=be.makeVList({positionType:"individualShift",children:Un},t);return En=be.makeSpan(["tag"],[En],t),be.makeFragment([l,En])},Lgn={c:"center ",l:"left ",r:"right "},G0=function(n,t){for(var a=[],r=new Ye.MathNode("mtd",[],["mtr-glue"]),o=new Ye.MathNode("mtd",[],["mml-eqn-num"]),i=0;i0){var _=n.cols,R="",y=!1,D=0,S=_.length;_[0].type==="separator"&&(v+="top ",D=1),_[_.length-1].type==="separator"&&(v+="bottom ",S-=1);for(var M=D;M0?"left ":"",v+=de[de.length-1].length>0?"right ":"";for(var fe=1;fe-1?"alignat":"align",o=n.envName==="split",i=Md(n.parser,{cols:a,addJot:!0,autoTag:o?void 0:DW(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&&(y=1),a[_]={type:"align",align:R,pregap:y,postgap:0}}return i.colSeparationType=m?"align":"alignat",i};F0({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,n){var t=Z7(n[0]),a=t?[n[0]]:va(n[0],"ordgroup").body,r=a.map(function(i){var u=uW(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 Md(e.parser,o,yW(e.envName))},htmlBuilder:M0,mathmlBuilder:G0});F0({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=Md(e.parser,a,yW(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:M0,mathmlBuilder:G0});F0({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var n={arraystretch:.5},t=Md(e.parser,n,"script");return t.colSeparationType="small",t},htmlBuilder:M0,mathmlBuilder:G0});F0({type:"array",names:["subarray"],props:{numArgs:1},handler(e,n){var t=Z7(n[0]),a=t?[n[0]]:va(n[0],"ordgroup").body,r=a.map(function(i){var u=uW(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=Md(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:M0,mathmlBuilder:G0});F0({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=Md(e.parser,n,yW(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:M0,mathmlBuilder:G0});F0({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:DTe,htmlBuilder:M0,mathmlBuilder:G0});F0({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){Ct.contains(["gather","gather*"],e.envName)&&a5(e);var n={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:DW(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return Md(e.parser,n,"display")},htmlBuilder:M0,mathmlBuilder:G0});F0({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:DTe,htmlBuilder:M0,mathmlBuilder:G0});F0({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){a5(e);var n={autoTag:DW(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return Md(e.parser,n,"display")},htmlBuilder:M0,mathmlBuilder:G0});F0({type:"array",names:["CD"],props:{numArgs:0},handler(e){return a5(e),ygn(e.parser)},htmlBuilder:M0,mathmlBuilder:G0});L("\\nonumber","\\gdef\\@eqnsw{0}");L("\\notag","\\nonumber");Bn({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 yTe=dTe;Bn({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 Ha(e.body,a)},RTe=(e,n)=>{var t=e.font,a=n.withFont(t);return Er(e.body,a)},wTe={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Bn({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,n)=>{var{parser:t,funcName:a}=e,r=Y7(n[0]),o=a;return o in wTe&&(o=wTe[o]),{type:"font",mode:t.mode,font:o.slice(1),body:r}},htmlBuilder:bTe,mathmlBuilder:RTe});Bn({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,n)=>{var{parser:t}=e,a=n[0],r=Ct.isCharacterBox(a);return{type:"mclass",mode:t.mode,mclass:e5(a),body:[{type:"font",mode:t.mode,font:"boldsymbol",body:a}],isCharacterBox:r}}});Bn({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:bTe,mathmlBuilder:RTe});var STe=(e,n)=>{var t=n;return e==="display"?t=t.id>=xt.SCRIPT.id?t.text():xt.DISPLAY:e==="text"&&t.size===xt.DISPLAY.size?t=xt.TEXT:e==="script"?t=xt.SCRIPT:e==="scriptscript"&&(t=xt.SCRIPTSCRIPT),t},bW=(e,n)=>{var t=STe(e.size,n.style),a=t.fracNum(),r=t.fracDen(),o;o=n.havingStyle(a);var i=Ha(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 y;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 M=-(S-.5*f);y=be.makeVList({positionType:"individualShift",children:[{type:"elem",elem:c,shift:R},{type:"elem",elem:s,shift:M},{type:"elem",elem:i,shift:-m}]},n)}else{var D=m-i.depth-(c.height-R);D<_&&(m+=.5*(_-D),R+=.5*(_-D)),y=be.makeVList({positionType:"individualShift",children:[{type:"elem",elem:c,shift:R},{type:"elem",elem:i,shift:-m}]},n)}o=n.havingStyle(t),y.height*=o.sizeMultiplier/n.sizeMultiplier,y.depth*=o.sizeMultiplier/n.sizeMultiplier;var P;t.size===xt.DISPLAY.size?P=n.fontMetrics().delim1:t.size===xt.SCRIPTSCRIPT.size?P=n.havingStyle(xt.SCRIPT).fontMetrics().delim2:P=n.fontMetrics().delim2;var k,N;return e.leftDelim==null?k=aT(n,["mopen"]):k=sp.customSizedDelim(e.leftDelim,P,!0,n.havingStyle(t),e.mode,["mopen"]),e.continued?N=be.makeSpan([]):e.rightDelim==null?N=aT(n,["mclose"]):N=sp.customSizedDelim(e.rightDelim,P,!0,n.havingStyle(t),e.mode,["mclose"]),be.makeSpan(["mord"].concat(o.sizingClasses(n)),[k,be.makeSpan(["mfrac"],[y]),N],n)},RW=(e,n)=>{var t=new Ye.MathNode("mfrac",[Er(e.numer,n),Er(e.denom,n)]);if(!e.hasBarLine)t.setAttribute("linethickness","0px");else if(e.barSize){var a=Do(e.barSize,n);t.setAttribute("linethickness",Tn(a))}var r=STe(e.size,n.style);if(r.size!==n.style.size){t=new Ye.MathNode("mstyle",[t]);var o=r.size===xt.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 Ye.MathNode("mo",[new Ye.TextNode(e.leftDelim.replace("\\",""))]);u.setAttribute("fence","true"),i.push(u)}if(i.push(t),e.rightDelim!=null){var l=new Ye.MathNode("mo",[new Ye.TextNode(e.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),i.push(l)}return oW(i)}return t};Bn({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:bW,mathmlBuilder:RW});Bn({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}}});Bn({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 ETe=["display","text","script","scriptscript"],CTe=function(n){var t=null;return n.length>0&&(t=n,t=t==="."?null:t),t};Bn({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=Y7(n[0]),i=o.type==="atom"&&o.family==="open"?CTe(o.text):null,u=Y7(n[1]),l=u.type==="atom"&&u.family==="close"?CTe(u.text):null,c=va(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 _=va(m.body[0],"textord");v=ETe[Number(_.text)]}}else m=va(m,"textord"),v=ETe[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:bW,mathmlBuilder:RW});Bn({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:va(n[0],"size").value,token:r}}});Bn({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,n)=>{var{parser:t,funcName:a}=e,r=n[0],o=mhn(va(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:bW,mathmlBuilder:RW});var ITe=(e,n)=>{var t=n.style,a,r;e.type==="supsub"?(a=e.sup?Ha(e.sup,n.havingStyle(t.sup()),n):Ha(e.sub,n.havingStyle(t.sub()),n),r=va(e.base,"horizBrace")):r=va(e,"horizBrace");var o=Ha(r.base,n.havingBaseStyle(xt.DISPLAY)),i=cp.svgSpan(r,n),u;if(r.isOver?(u=be.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=be.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=be.makeSpan(["mord",r.isOver?"mover":"munder"],[u],n);r.isOver?u=be.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:a}]},n):u=be.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 be.makeSpan(["mord",r.isOver?"mover":"munder"],[u],n)},jgn=(e,n)=>{var t=cp.mathMLnode(e.label);return new Ye.MathNode(e.isOver?"mover":"munder",[Er(e.base,n),t])};Bn({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:ITe,mathmlBuilder:jgn});Bn({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,n)=>{var{parser:t}=e,a=n[1],r=va(n[0],"url").url;return t.settings.isTrusted({command:"\\href",url:r})?{type:"href",mode:t.mode,href:r,body:Ko(a)}:t.formatUnsupportedCmd("\\href")},htmlBuilder:(e,n)=>{var t=Bi(e.body,n,!1);return be.makeAnchor(e.href,[],t,n)},mathmlBuilder:(e,n)=>{var t=Fd(e.body,n);return t instanceof qc||(t=new qc("mrow",[t])),t.setAttribute("href",e.href),t}});Bn({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,n)=>{var{parser:t}=e,a=va(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=va(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=Bi(e.body,n,!1),a=["enclosing"];e.attributes.class&&a.push(...e.attributes.class.trim().split(/\s+/));var r=be.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)=>Fd(e.body,n)});Bn({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,n)=>{var{parser:t}=e;return{type:"htmlmathml",mode:t.mode,html:Ko(n[0]),mathml:Ko(n[1])}},htmlBuilder:(e,n)=>{var t=Bi(e.html,n,!1);return be.makeFragment(t)},mathmlBuilder:(e,n)=>Fd(e.mathml,n)});var wW=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(!FIe(a))throw new tn("Invalid unit: '"+a.unit+"' in \\includegraphics.");return a};Bn({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=va(t[0],"raw").string,c=l.split(","),s=0;s{var t=Do(e.height,n),a=0;e.totalheight.number>0&&(a=Do(e.totalheight,n)-t);var r=0;e.width.number>0&&(r=Do(e.width,n));var o={height:Tn(t+a)};r>0&&(o.width=Tn(r)),a>0&&(o.verticalAlign=Tn(-a));var i=new xIe(e.src,e.alt,o);return i.height=t,i.depth=a,i},mathmlBuilder:(e,n)=>{var t=new Ye.MathNode("mglyph",[]);t.setAttribute("alt",e.alt);var a=Do(e.height,n),r=0;if(e.totalheight.number>0&&(r=Do(e.totalheight,n)-a,t.setAttribute("valign",Tn(-r))),t.setAttribute("height",Tn(a+r)),e.width.number>0){var o=Do(e.width,n);t.setAttribute("width",Tn(o))}return t.setAttribute("src",e.src),t}});Bn({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=va(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 be.makeGlue(e.dimension,n)},mathmlBuilder(e,n){var t=Do(e.dimension,n);return new Ye.SpaceNode(t)}});Bn({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=be.makeSpan([],[Ha(e.body,n)]),t=be.makeSpan(["inner"],[t],n)):t=be.makeSpan(["inner"],[Ha(e.body,n)]);var a=be.makeSpan(["fix"],[]),r=be.makeSpan([e.alignment],[t,a],n),o=be.makeSpan(["strut"]);return o.style.height=Tn(r.height+r.depth),r.depth&&(o.style.verticalAlign=Tn(-r.depth)),r.children.unshift(o),r=be.makeSpan(["thinbox"],[r],n),be.makeSpan(["mord","vbox"],[r],n)},mathmlBuilder:(e,n)=>{var t=new Ye.MathNode("mpadded",[Er(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}});Bn({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}}});Bn({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,n){throw new tn("Mismatched "+e.funcName)}});var TTe=(e,n)=>{switch(n.style.size){case xt.DISPLAY.size:return e.display;case xt.TEXT.size:return e.text;case xt.SCRIPT.size:return e.script;case xt.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};Bn({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,n)=>{var{parser:t}=e;return{type:"mathchoice",mode:t.mode,display:Ko(n[0]),text:Ko(n[1]),script:Ko(n[2]),scriptscript:Ko(n[3])}},htmlBuilder:(e,n)=>{var t=TTe(e,n),a=Bi(t,n,!1);return be.makeFragment(a)},mathmlBuilder:(e,n)=>{var t=TTe(e,n);return Fd(t,n)}});var FTe=(e,n,t,a,r,o,i)=>{e=be.makeSpan([],[e]);var u=t&&Ct.isCharacterBox(t),l,c;if(n){var s=Ha(n,a.havingStyle(r.sup()),a);c={elem:s,kern:Math.max(a.fontMetrics().bigOpSpacing1,a.fontMetrics().bigOpSpacing3-s.depth)}}if(t){var f=Ha(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=be.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=be.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=be.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 y=[v];if(l&&o!==0&&!u){var D=be.makeSpan(["mspace"],[],a);D.style.marginRight=Tn(o),y.unshift(D)}return be.makeSpan(["mop","op-limits"],y,a)},MTe=["\\smallint"],hR=(e,n)=>{var t,a,r=!1,o;e.type==="supsub"?(t=e.sup,a=e.sub,o=va(e.base,"op"),r=!0):o=va(e,"op");var i=n.style,u=!1;i.size===xt.DISPLAY.size&&o.symbol&&!Ct.contains(MTe,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=be.makeSymbol(o.name,c,"math",n,["mop","op-symbol",u?"large-op":"small-op"]),s.length>0){var f=l.italic,v=be.staticSvg(s+"Size"+(u?"2":"1"),n);l=be.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=Bi(o.body,n,!0);m.length===1&&m[0]instanceof Jc?(l=m[0],l.classes[0]="mop"):l=be.makeSpan(["mop"],m,n)}else{for(var _=[],R=1;R{var t;if(e.symbol)t=new qc("mo",[Vs(e.name,e.mode)]),Ct.contains(MTe,e.name)&&t.setAttribute("largeop","false");else if(e.body)t=new qc("mo",Zl(e.body,n));else{t=new qc("mi",[new dR(e.name.slice(1))]);var a=new qc("mo",[Vs("\u2061","text")]);e.parentIsSupSub?t=new qc("mrow",[t,a]):t=zIe([t,a])}return t},Ngn={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};Bn({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=Ngn[r]),{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:hR,mathmlBuilder:iT});Bn({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:Ko(a)}},htmlBuilder:hR,mathmlBuilder:iT});var Pgn={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};Bn({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:hR,mathmlBuilder:iT});Bn({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:hR,mathmlBuilder:iT});Bn({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=Pgn[a]),{type:"op",mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:a}},htmlBuilder:hR,mathmlBuilder:iT});var GTe=(e,n)=>{var t,a,r=!1,o;e.type==="supsub"?(t=e.sup,a=e.sub,o=va(e.base,"operatorname"),r=!0):o=va(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=Bi(u,n.withFont("mathrm"),!0),c=0;c{for(var t=Zl(e.body,n.withFont("mathrm")),a=!0,r=0;rs.toText()).join("");t=[new Ye.TextNode(u)]}var l=new Ye.MathNode("mi",t);l.setAttribute("mathvariant","normal");var c=new Ye.MathNode("mo",[Vs("\u2061","text")]);return e.parentIsSupSub?new Ye.MathNode("mrow",[l,c]):Ye.newDocumentFragment([l,c])};Bn({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:Ko(r),alwaysHandleSupSub:a==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:GTe,mathmlBuilder:Ogn});L("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");_D({type:"ordgroup",htmlBuilder(e,n){return e.semisimple?be.makeFragment(Bi(e.body,n,!1)):be.makeSpan(["mord"],Bi(e.body,n,!0),n)},mathmlBuilder(e,n){return Fd(e.body,n,!0)}});Bn({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=Ha(e.body,n.havingCrampedStyle()),a=be.makeLineSpan("overline-line",n),r=n.fontMetrics().defaultRuleThickness,o=be.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:t},{type:"kern",size:3*r},{type:"elem",elem:a},{type:"kern",size:r}]},n);return be.makeSpan(["mord","overline"],[o],n)},mathmlBuilder(e,n){var t=new Ye.MathNode("mo",[new Ye.TextNode("\u203E")]);t.setAttribute("stretchy","true");var a=new Ye.MathNode("mover",[Er(e.body,n),t]);return a.setAttribute("accent","true"),a}});Bn({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:Ko(a)}},htmlBuilder:(e,n)=>{var t=Bi(e.body,n.withPhantom(),!1);return be.makeFragment(t)},mathmlBuilder:(e,n)=>{var t=Zl(e.body,n);return new Ye.MathNode("mphantom",t)}});Bn({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=be.makeSpan([],[Ha(e.body,n.withPhantom())]);if(t.height=0,t.depth=0,t.children)for(var a=0;a{var t=Zl(Ko(e.body),n),a=new Ye.MathNode("mphantom",t),r=new Ye.MathNode("mpadded",[a]);return r.setAttribute("height","0px"),r.setAttribute("depth","0px"),r}});Bn({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=be.makeSpan(["inner"],[Ha(e.body,n.withPhantom())]),a=be.makeSpan(["fix"],[]);return be.makeSpan(["mord","rlap"],[t,a],n)},mathmlBuilder:(e,n)=>{var t=Zl(Ko(e.body),n),a=new Ye.MathNode("mphantom",t),r=new Ye.MathNode("mpadded",[a]);return r.setAttribute("width","0px"),r}});Bn({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,n){var{parser:t}=e,a=va(n[0],"size").value,r=n[1];return{type:"raisebox",mode:t.mode,dy:a,body:r}},htmlBuilder(e,n){var t=Ha(e.body,n),a=Do(e.dy,n);return be.makeVList({positionType:"shift",positionData:-a,children:[{type:"elem",elem:t}]},n)},mathmlBuilder(e,n){var t=new Ye.MathNode("mpadded",[Er(e.body,n)]),a=e.dy.number+e.dy.unit;return t.setAttribute("voffset",a),t}});Bn({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:n}=e;return{type:"internal",mode:n.mode}}});Bn({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler(e,n,t){var{parser:a}=e,r=t[0],o=va(n[0],"size"),i=va(n[1],"size");return{type:"rule",mode:a.mode,shift:r&&va(r,"size").value,width:o.value,height:i.value}},htmlBuilder(e,n){var t=be.makeSpan(["mord","rule"],[],n),a=Do(e.width,n),r=Do(e.height,n),o=e.shift?Do(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=Do(e.width,n),a=Do(e.height,n),r=e.shift?Do(e.shift,n):0,o=n.color&&n.getColor()||"black",i=new Ye.MathNode("mspace");i.setAttribute("mathbackground",o),i.setAttribute("width",Tn(t)),i.setAttribute("height",Tn(a));var u=new Ye.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 ATe(e,n,t){for(var a=Bi(e,n,!1),r=n.sizeMultiplier/t.sizeMultiplier,o=0;o{var t=n.havingSize(e.size);return ATe(e.body,t,n)};Bn({type:"sizing",names:xTe,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:xTe.indexOf(a)+1,body:o}},htmlBuilder:kgn,mathmlBuilder:(e,n)=>{var t=n.havingSize(e.size),a=Zl(e.body,t),r=new Ye.MathNode("mstyle",a);return r.setAttribute("mathsize",Tn(t.sizeMultiplier)),r}});Bn({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]&&va(t[0],"ordgroup");if(i)for(var u="",l=0;l{var t=be.makeSpan([],[Ha(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 Ye.MathNode("mpadded",[Er(e.body,n)]);return e.smashHeight&&t.setAttribute("height","0px"),e.smashDepth&&t.setAttribute("depth","0px"),t}});Bn({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=Ha(e.body,n.havingCrampedStyle());t.height===0&&(t.height=n.fontMetrics().xHeight),t=be.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=be.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(xt.SCRIPTSCRIPT),R=Ha(e.index,_,n),y=.6*(m.height-m.depth),D=be.makeVList({positionType:"shift",positionData:-y,children:[{type:"elem",elem:R}]},n),S=be.makeSpan(["root"],[D]);return be.makeSpan(["mord","sqrt"],[S,m],n)}else return be.makeSpan(["mord","sqrt"],[m],n)},mathmlBuilder(e,n){var{body:t,index:a}=e;return a?new Ye.MathNode("mroot",[Er(t,n),Er(a,n)]):new Ye.MathNode("msqrt",[Er(t,n)])}});var LTe={display:xt.DISPLAY,text:xt.TEXT,script:xt.SCRIPT,scriptscript:xt.SCRIPTSCRIPT};Bn({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=LTe[e.style],a=n.havingStyle(t).withFont("");return ATe(e.body,a,n)},mathmlBuilder(e,n){var t=LTe[e.style],a=n.havingStyle(t),r=Zl(e.body,a),o=new Ye.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 Ugn=function(n,t){var a=n.base;if(a)if(a.type==="op"){var r=a.limits&&(t.style.size===xt.DISPLAY.size||a.alwaysHandleSupSub);return r?hR:null}else if(a.type==="operatorname"){var o=a.alwaysHandleSupSub&&(t.style.size===xt.DISPLAY.size||a.limits);return o?GTe:null}else{if(a.type==="accent")return Ct.isCharacterBox(a.base)?lW:null;if(a.type==="horizBrace"){var i=!n.sub;return i===a.isOver?ITe:null}else return null}else return null};_D({type:"supsub",htmlBuilder(e,n){var t=Ugn(e,n);if(t)return t(e,n);var{base:a,sup:r,sub:o}=e,i=Ha(a,n),u,l,c=n.fontMetrics(),s=0,f=0,v=a&&Ct.isCharacterBox(a);if(r){var m=n.havingStyle(n.style.sup());u=Ha(r,m,n),v||(s=i.height-m.fontMetrics().supDrop*m.sizeMultiplier/n.sizeMultiplier)}if(o){var _=n.havingStyle(n.style.sub());l=Ha(o,_,n),v||(f=i.depth+_.fontMetrics().subDrop*_.sizeMultiplier/n.sizeMultiplier)}var R;n.style===xt.DISPLAY?R=c.sup1:n.style.cramped?R=c.sup3:R=c.sup2;var y=n.sizeMultiplier,D=Tn(.5/c.ptPerEm/y),S=null;if(l){var M=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(i instanceof Jc||M)&&(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,N=4*k;if(s-u.depth-(l.height-f)0&&(s+=Q,f-=Q)}var de=[{type:"elem",elem:l,shift:f,marginRight:D,marginLeft:S},{type:"elem",elem:u,shift:-s,marginRight:D}];P=be.makeVList({positionType:"individualShift",children:de},n)}else if(l){f=Math.max(f,c.sub1,l.height-.8*c.xHeight);var fe=[{type:"elem",elem:l,marginLeft:S,marginRight:D}];P=be.makeVList({positionType:"shift",positionData:f,children:fe},n)}else if(u)s=Math.max(s,R,u.depth+.25*c.xHeight),P=be.makeVList({positionType:"shift",positionData:-s,children:[{type:"elem",elem:u,marginRight:D}]},n);else throw new Error("supsub must have either sup or sub.");var ge=aW(i,"right")||"mord";return be.makeSpan([ge],[i,be.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=[Er(e.base,n)];e.sub&&o.push(Er(e.sub,n)),e.sup&&o.push(Er(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===xt.DISPLAY||c&&c.type==="operatorname"&&c.alwaysHandleSupSub&&(n.style===xt.DISPLAY||c.limits)?i="munderover":i="msubsup"}else{var l=e.base;l&&l.type==="op"&&l.limits&&(n.style===xt.DISPLAY||l.alwaysHandleSupSub)||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(l.limits||n.style===xt.DISPLAY)?i="munder":i="msub"}else{var u=e.base;u&&u.type==="op"&&u.limits&&(n.style===xt.DISPLAY||u.alwaysHandleSupSub)||u&&u.type==="operatorname"&&u.alwaysHandleSupSub&&(u.limits||n.style===xt.DISPLAY)?i="mover":i="msup"}return new Ye.MathNode(i,o)}});_D({type:"atom",htmlBuilder(e,n){return be.mathsym(e.text,e.mode,n,["m"+e.family])},mathmlBuilder(e,n){var t=new Ye.MathNode("mo",[Vs(e.text,e.mode)]);if(e.family==="bin"){var a=iW(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 jTe={mi:"italic",mn:"normal",mtext:"normal"};_D({type:"mathord",htmlBuilder(e,n){return be.makeOrd(e,n,"mathord")},mathmlBuilder(e,n){var t=new Ye.MathNode("mi",[Vs(e.text,e.mode,n)]),a=iW(e,n)||"italic";return a!==jTe[t.type]&&t.setAttribute("mathvariant",a),t}});_D({type:"textord",htmlBuilder(e,n){return be.makeOrd(e,n,"textord")},mathmlBuilder(e,n){var t=Vs(e.text,e.mode,n),a=iW(e,n)||"normal",r;return e.mode==="text"?r=new Ye.MathNode("mtext",[t]):/[0-9]/.test(e.text)?r=new Ye.MathNode("mn",[t]):e.text==="\\prime"?r=new Ye.MathNode("mo",[t]):r=new Ye.MathNode("mi",[t]),a!==jTe[r.type]&&r.setAttribute("mathvariant",a),r}});var SW={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},EW={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};_D({type:"spacing",htmlBuilder(e,n){if(EW.hasOwnProperty(e.text)){var t=EW[e.text].className||"";if(e.mode==="text"){var a=be.makeOrd(e,n,"textord");return a.classes.push(t),a}else return be.makeSpan(["mspace",t],[be.mathsym(e.text,e.mode,n)],n)}else{if(SW.hasOwnProperty(e.text))return be.makeSpan(["mspace",SW[e.text]],[],n);throw new tn('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,n){var t;if(EW.hasOwnProperty(e.text))t=new Ye.MathNode("mtext",[new Ye.TextNode("\xA0")]);else{if(SW.hasOwnProperty(e.text))return new Ye.MathNode("mspace");throw new tn('Unknown type of space "'+e.text+'"')}return t}});var NTe=()=>{var e=new Ye.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};_D({type:"tag",mathmlBuilder(e,n){var t=new Ye.MathNode("mtable",[new Ye.MathNode("mtr",[NTe(),new Ye.MathNode("mtd",[Fd(e.body,n)]),NTe(),new Ye.MathNode("mtd",[Fd(e.tag,n)])])]);return t.setAttribute("width","100%"),t}});var PTe={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},OTe={"\\textbf":"textbf","\\textmd":"textmd"},Hgn={"\\textit":"textit","\\textup":"textup"},kTe=(e,n)=>{var t=e.font;return t?PTe[t]?n.withTextFontFamily(PTe[t]):OTe[t]?n.withTextFontWeight(OTe[t]):n.withTextFontShape(Hgn[t]):n};Bn({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],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:Ko(r),font:a}},htmlBuilder(e,n){var t=kTe(e,n),a=Bi(e.body,t,!0);return be.makeSpan(["mord","text"],a,t)},mathmlBuilder(e,n){var t=kTe(e,n);return Fd(e.body,t)}});Bn({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=Ha(e.body,n),a=be.makeLineSpan("underline-line",n),r=n.fontMetrics().defaultRuleThickness,o=be.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 be.makeSpan(["mord","underline"],[o],n)},mathmlBuilder(e,n){var t=new Ye.MathNode("mo",[new Ye.TextNode("\u203E")]);t.setAttribute("stretchy","true");var a=new Ye.MathNode("munder",[Er(e.body,n),t]);return a.setAttribute("accentunder","true"),a}});Bn({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=Ha(e.body,n),a=n.fontMetrics().axisHeight,r=.5*(t.height-a-(t.depth+a));return be.makeVList({positionType:"shift",positionData:r,children:[{type:"elem",elem:t}]},n)},mathmlBuilder(e,n){return new Ye.MathNode("mpadded",[Er(e.body,n)],["vcenter"])}});Bn({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=UTe(e),a=[],r=n.havingStyle(n.style.text()),o=0;oe.body.replace(/ /g,e.star?"\u2423":"\xA0"),Gd=JIe,HTe=`[ \r ]`,Bgn="\\\\[a-zA-Z@]+",Jgn="\\\\[^\uD800-\uDFFF]",Wgn="("+Bgn+")"+HTe+"*",qgn=`\\\\( |[ \r ]+ ?)[ \r ]*`,CW="[\u0300-\u036F]",zgn=new RegExp(CW+"+$"),$gn="("+HTe+"+)|"+(qgn+"|")+"([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(CW+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(CW+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+Wgn)+("|"+Jgn+")"),IW=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($gn,"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 Bc("EOF",new Yl(this,t,t));var a=this.tokenRegex.exec(n);if(a===null||a.index!==t)throw new tn("Unexpected character: '"+n[t]+"'",new Bc(n[t],new Yl(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 Bc(r,new Yl(this,t,this.tokenRegex.lastIndex))}},BTe=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}},Vgn=hTe;L("\\noexpand",function(e){var n=e.popToken();return e.isExpandable(n.text)&&(n.noexpand=!0,n.treatAsRelax=!0),{tokens:[n],numArgs:0}});L("\\expandafter",function(e){var n=e.popToken();return e.expandOnce(!0),{tokens:[n],numArgs:0}});L("\\@firstoftwo",function(e){var n=e.consumeArgs(2);return{tokens:n[0],numArgs:0}});L("\\@secondoftwo",function(e){var n=e.consumeArgs(2);return{tokens:n[1],numArgs:0}});L("\\@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}});L("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");L("\\TextOrMath",function(e){var n=e.consumeArgs(2);return e.mode==="text"?{tokens:n[0],numArgs:0}:{tokens:n[1],numArgs:0}});var JTe={"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};L("\\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=JTe[n.text],a==null||a>=t)throw new tn("Invalid base-"+t+" digit "+n.text);for(var r;(r=JTe[e.future().text])!=null&&r{var a=e.consumeArg().tokens;if(a.length!==1)throw new tn("\\newcommand's first argument must be a macro name");var r=a[0].text,o=e.isDefined(r);if(o&&!n)throw new tn("\\newcommand{"+r+"} attempting to redefine "+(r+"; use \\renewcommand"));if(!o&&!t)throw new tn("\\renewcommand{"+r+"} when command "+r+" does not yet exist; use \\newcommand");var i=0;if(a=e.consumeArg().tokens,a.length===1&&a[0].text==="["){for(var u="",l=e.expandNextToken();l.text!=="]"&&l.text!=="EOF";)u+=l.text,l=e.expandNextToken();if(!u.match(/^\s*[0-9]+\s*$/))throw new tn("Invalid number of arguments: "+u);i=parseInt(u),a=e.consumeArg().tokens}return e.macros.set(r,{tokens:a,numArgs:i}),""};L("\\newcommand",e=>TW(e,!1,!0));L("\\renewcommand",e=>TW(e,!0,!1));L("\\providecommand",e=>TW(e,!0,!0));L("\\message",e=>{var n=e.consumeArgs(1)[0];return console.log(n.reverse().map(t=>t.text).join("")),""});L("\\errmessage",e=>{var n=e.consumeArgs(1)[0];return console.error(n.reverse().map(t=>t.text).join("")),""});L("\\show",e=>{var n=e.popToken(),t=n.text;return console.log(n,e.macros.get(t),Gd[t],Ar.math[t],Ar.text[t]),""});L("\\bgroup","{");L("\\egroup","}");L("~","\\nobreakspace");L("\\lq","`");L("\\rq","'");L("\\aa","\\r a");L("\\AA","\\r A");L("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}");L("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");L("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}");L("\u212C","\\mathscr{B}");L("\u2130","\\mathscr{E}");L("\u2131","\\mathscr{F}");L("\u210B","\\mathscr{H}");L("\u2110","\\mathscr{I}");L("\u2112","\\mathscr{L}");L("\u2133","\\mathscr{M}");L("\u211B","\\mathscr{R}");L("\u212D","\\mathfrak{C}");L("\u210C","\\mathfrak{H}");L("\u2128","\\mathfrak{Z}");L("\\Bbbk","\\Bbb{k}");L("\xB7","\\cdotp");L("\\llap","\\mathllap{\\textrm{#1}}");L("\\rlap","\\mathrlap{\\textrm{#1}}");L("\\clap","\\mathclap{\\textrm{#1}}");L("\\mathstrut","\\vphantom{(}");L("\\underbar","\\underline{\\text{#1}}");L("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');L("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}");L("\\ne","\\neq");L("\u2260","\\neq");L("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}");L("\u2209","\\notin");L("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}");L("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}");L("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}");L("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}");L("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}");L("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}");L("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}");L("\u27C2","\\perp");L("\u203C","\\mathclose{!\\mkern-0.8mu!}");L("\u220C","\\notni");L("\u231C","\\ulcorner");L("\u231D","\\urcorner");L("\u231E","\\llcorner");L("\u231F","\\lrcorner");L("\xA9","\\copyright");L("\xAE","\\textregistered");L("\uFE0F","\\textregistered");L("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');L("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');L("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');L("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');L("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}");L("\u22EE","\\vdots");L("\\varGamma","\\mathit{\\Gamma}");L("\\varDelta","\\mathit{\\Delta}");L("\\varTheta","\\mathit{\\Theta}");L("\\varLambda","\\mathit{\\Lambda}");L("\\varXi","\\mathit{\\Xi}");L("\\varPi","\\mathit{\\Pi}");L("\\varSigma","\\mathit{\\Sigma}");L("\\varUpsilon","\\mathit{\\Upsilon}");L("\\varPhi","\\mathit{\\Phi}");L("\\varPsi","\\mathit{\\Psi}");L("\\varOmega","\\mathit{\\Omega}");L("\\substack","\\begin{subarray}{c}#1\\end{subarray}");L("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");L("\\boxed","\\fbox{$\\displaystyle{#1}$}");L("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");L("\\implies","\\DOTSB\\;\\Longrightarrow\\;");L("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var WTe={",":"\\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"};L("\\dots",function(e){var n="\\dotso",t=e.expandAfterFuture().text;return t in WTe?n=WTe[t]:(t.slice(0,4)==="\\not"||t in Ar.math&&Ct.contains(["bin","rel"],Ar.math[t].group))&&(n="\\dotsb"),n});var FW={")":!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};L("\\dotso",function(e){var n=e.future().text;return n in FW?"\\ldots\\,":"\\ldots"});L("\\dotsc",function(e){var n=e.future().text;return n in FW&&n!==","?"\\ldots\\,":"\\ldots"});L("\\cdots",function(e){var n=e.future().text;return n in FW?"\\@cdots\\,":"\\@cdots"});L("\\dotsb","\\cdots");L("\\dotsm","\\cdots");L("\\dotsi","\\!\\cdots");L("\\dotsx","\\ldots\\,");L("\\DOTSI","\\relax");L("\\DOTSB","\\relax");L("\\DOTSX","\\relax");L("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");L("\\,","\\tmspace+{3mu}{.1667em}");L("\\thinspace","\\,");L("\\>","\\mskip{4mu}");L("\\:","\\tmspace+{4mu}{.2222em}");L("\\medspace","\\:");L("\\;","\\tmspace+{5mu}{.2777em}");L("\\thickspace","\\;");L("\\!","\\tmspace-{3mu}{.1667em}");L("\\negthinspace","\\!");L("\\negmedspace","\\tmspace-{4mu}{.2222em}");L("\\negthickspace","\\tmspace-{5mu}{.277em}");L("\\enspace","\\kern.5em ");L("\\enskip","\\hskip.5em\\relax");L("\\quad","\\hskip1em\\relax");L("\\qquad","\\hskip2em\\relax");L("\\tag","\\@ifstar\\tag@literal\\tag@paren");L("\\tag@paren","\\tag@literal{({#1})}");L("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new tn("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});L("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");L("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");L("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");L("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");L("\\newline","\\\\\\relax");L("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var qTe=Tn(C0["Main-Regular"]["T".charCodeAt(0)][1]-.7*C0["Main-Regular"]["A".charCodeAt(0)][1]);L("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+qTe+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");L("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+qTe+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");L("\\hspace","\\@ifstar\\@hspacer\\@hspace");L("\\@hspace","\\hskip #1\\relax");L("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");L("\\ordinarycolon",":");L("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");L("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');L("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');L("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');L("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');L("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');L("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');L("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');L("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');L("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');L("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');L("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');L("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');L("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');L("\u2237","\\dblcolon");L("\u2239","\\eqcolon");L("\u2254","\\coloneqq");L("\u2255","\\eqqcolon");L("\u2A74","\\Coloneqq");L("\\ratio","\\vcentcolon");L("\\coloncolon","\\dblcolon");L("\\colonequals","\\coloneqq");L("\\coloncolonequals","\\Coloneqq");L("\\equalscolon","\\eqqcolon");L("\\equalscoloncolon","\\Eqqcolon");L("\\colonminus","\\coloneq");L("\\coloncolonminus","\\Coloneq");L("\\minuscolon","\\eqcolon");L("\\minuscoloncolon","\\Eqcolon");L("\\coloncolonapprox","\\Colonapprox");L("\\coloncolonsim","\\Colonsim");L("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");L("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");L("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");L("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");L("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}");L("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");L("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");L("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");L("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");L("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");L("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");L("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");L("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");L("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}");L("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}");L("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}");L("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}");L("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}");L("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}");L("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}");L("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}");L("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}");L("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}");L("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}");L("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}");L("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}");L("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}");L("\\imath","\\html@mathml{\\@imath}{\u0131}");L("\\jmath","\\html@mathml{\\@jmath}{\u0237}");L("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}");L("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}");L("\u27E6","\\llbracket");L("\u27E7","\\rrbracket");L("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}");L("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}");L("\u2983","\\lBrace");L("\u2984","\\rBrace");L("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`\u29B5}}");L("\u29B5","\\minuso");L("\\darr","\\downarrow");L("\\dArr","\\Downarrow");L("\\Darr","\\Downarrow");L("\\lang","\\langle");L("\\rang","\\rangle");L("\\uarr","\\uparrow");L("\\uArr","\\Uparrow");L("\\Uarr","\\Uparrow");L("\\N","\\mathbb{N}");L("\\R","\\mathbb{R}");L("\\Z","\\mathbb{Z}");L("\\alef","\\aleph");L("\\alefsym","\\aleph");L("\\Alpha","\\mathrm{A}");L("\\Beta","\\mathrm{B}");L("\\bull","\\bullet");L("\\Chi","\\mathrm{X}");L("\\clubs","\\clubsuit");L("\\cnums","\\mathbb{C}");L("\\Complex","\\mathbb{C}");L("\\Dagger","\\ddagger");L("\\diamonds","\\diamondsuit");L("\\empty","\\emptyset");L("\\Epsilon","\\mathrm{E}");L("\\Eta","\\mathrm{H}");L("\\exist","\\exists");L("\\harr","\\leftrightarrow");L("\\hArr","\\Leftrightarrow");L("\\Harr","\\Leftrightarrow");L("\\hearts","\\heartsuit");L("\\image","\\Im");L("\\infin","\\infty");L("\\Iota","\\mathrm{I}");L("\\isin","\\in");L("\\Kappa","\\mathrm{K}");L("\\larr","\\leftarrow");L("\\lArr","\\Leftarrow");L("\\Larr","\\Leftarrow");L("\\lrarr","\\leftrightarrow");L("\\lrArr","\\Leftrightarrow");L("\\Lrarr","\\Leftrightarrow");L("\\Mu","\\mathrm{M}");L("\\natnums","\\mathbb{N}");L("\\Nu","\\mathrm{N}");L("\\Omicron","\\mathrm{O}");L("\\plusmn","\\pm");L("\\rarr","\\rightarrow");L("\\rArr","\\Rightarrow");L("\\Rarr","\\Rightarrow");L("\\real","\\Re");L("\\reals","\\mathbb{R}");L("\\Reals","\\mathbb{R}");L("\\Rho","\\mathrm{P}");L("\\sdot","\\cdot");L("\\sect","\\S");L("\\spades","\\spadesuit");L("\\sub","\\subset");L("\\sube","\\subseteq");L("\\supe","\\supseteq");L("\\Tau","\\mathrm{T}");L("\\thetasym","\\vartheta");L("\\weierp","\\wp");L("\\Zeta","\\mathrm{Z}");L("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");L("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");L("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");L("\\bra","\\mathinner{\\langle{#1}|}");L("\\ket","\\mathinner{|{#1}\\rangle}");L("\\braket","\\mathinner{\\langle{#1}\\rangle}");L("\\Bra","\\left\\langle#1\\right|");L("\\Ket","\\left|#1\\right\\rangle");var zTe=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}};L("\\bra@ket",zTe(!1));L("\\bra@set",zTe(!0));L("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");L("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");L("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");L("\\angln","{\\angl n}");L("\\blue","\\textcolor{##6495ed}{#1}");L("\\orange","\\textcolor{##ffa500}{#1}");L("\\pink","\\textcolor{##ff00af}{#1}");L("\\red","\\textcolor{##df0030}{#1}");L("\\green","\\textcolor{##28ae7b}{#1}");L("\\gray","\\textcolor{gray}{#1}");L("\\purple","\\textcolor{##9d38bd}{#1}");L("\\blueA","\\textcolor{##ccfaff}{#1}");L("\\blueB","\\textcolor{##80f6ff}{#1}");L("\\blueC","\\textcolor{##63d9ea}{#1}");L("\\blueD","\\textcolor{##11accd}{#1}");L("\\blueE","\\textcolor{##0c7f99}{#1}");L("\\tealA","\\textcolor{##94fff5}{#1}");L("\\tealB","\\textcolor{##26edd5}{#1}");L("\\tealC","\\textcolor{##01d1c1}{#1}");L("\\tealD","\\textcolor{##01a995}{#1}");L("\\tealE","\\textcolor{##208170}{#1}");L("\\greenA","\\textcolor{##b6ffb0}{#1}");L("\\greenB","\\textcolor{##8af281}{#1}");L("\\greenC","\\textcolor{##74cf70}{#1}");L("\\greenD","\\textcolor{##1fab54}{#1}");L("\\greenE","\\textcolor{##0d923f}{#1}");L("\\goldA","\\textcolor{##ffd0a9}{#1}");L("\\goldB","\\textcolor{##ffbb71}{#1}");L("\\goldC","\\textcolor{##ff9c39}{#1}");L("\\goldD","\\textcolor{##e07d10}{#1}");L("\\goldE","\\textcolor{##a75a05}{#1}");L("\\redA","\\textcolor{##fca9a9}{#1}");L("\\redB","\\textcolor{##ff8482}{#1}");L("\\redC","\\textcolor{##f9685d}{#1}");L("\\redD","\\textcolor{##e84d39}{#1}");L("\\redE","\\textcolor{##bc2612}{#1}");L("\\maroonA","\\textcolor{##ffbde0}{#1}");L("\\maroonB","\\textcolor{##ff92c6}{#1}");L("\\maroonC","\\textcolor{##ed5fa6}{#1}");L("\\maroonD","\\textcolor{##ca337c}{#1}");L("\\maroonE","\\textcolor{##9e034e}{#1}");L("\\purpleA","\\textcolor{##ddd7ff}{#1}");L("\\purpleB","\\textcolor{##c6b9fc}{#1}");L("\\purpleC","\\textcolor{##aa87ff}{#1}");L("\\purpleD","\\textcolor{##7854ab}{#1}");L("\\purpleE","\\textcolor{##543b78}{#1}");L("\\mintA","\\textcolor{##f5f9e8}{#1}");L("\\mintB","\\textcolor{##edf2df}{#1}");L("\\mintC","\\textcolor{##e0e5cc}{#1}");L("\\grayA","\\textcolor{##f6f7f7}{#1}");L("\\grayB","\\textcolor{##f0f1f2}{#1}");L("\\grayC","\\textcolor{##e3e5e6}{#1}");L("\\grayD","\\textcolor{##d6d8da}{#1}");L("\\grayE","\\textcolor{##babec2}{#1}");L("\\grayF","\\textcolor{##888d93}{#1}");L("\\grayG","\\textcolor{##626569}{#1}");L("\\grayH","\\textcolor{##3b3e40}{#1}");L("\\grayI","\\textcolor{##21242c}{#1}");L("\\kaBlue","\\textcolor{##314453}{#1}");L("\\kaGreen","\\textcolor{##71B307}{#1}");var $Te={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},VTe=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 BTe(Vgn,t.macros),this.mode=a,this.stack=[]}feed(n){this.lexer=new IW(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 Bc("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 Bc(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 IW(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)||Gd.hasOwnProperty(n)||Ar.math.hasOwnProperty(n)||Ar.text.hasOwnProperty(n)||$Te.hasOwnProperty(n)}isExpandable(n){var t=this.macros.get(n);return t!=null?typeof t=="string"||typeof t=="function"||!t.unexpandable:Gd.hasOwnProperty(n)&&!Gd[n].primitive}},QTe=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,r5=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"}),MW={"\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"}},YTe={\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"},uT=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 VTe(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 Bc("}")),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(uT.endOfExpression.indexOf(r.text)!==-1||t&&r.text===t||n&&Gd[r.text]&&Gd[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=Ar[this.mode][t].group,l=Yl.range(n),c;if(khn.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&&(SIe(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:Yl.range(n),text:t};else return null;if(this.consume(),o)for(var f=0;f":""))+")"})}return v;function v(){let m=eFe,_,R,y;if((!n||o(l,c,s[s.length-1]||void 0))&&(m=aDn(t(l,s)),m[0]===LW))return m;if("children"in l&&l.children){let D=l;if(D.children&&m[0]!==u5)for(R=(a?D.children.length:-1)+i,y=s.concat(D);R>-1&&R0&&!t&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),t}var _Dn={tokenize:RDn,partial:!0};function UW(){return{document:{[91]:{tokenize:DDn,continuation:{tokenize:yDn},exit:bDn}},text:{[91]:{tokenize:gDn},[93]:{add:"after",tokenize:dDn,resolveTo:hDn}}}}function dDn(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=Bu(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 hDn(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 gDn(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(Bu(a.sliceSerialize(m)))?f(v):t(v)):t(v):(e.consume(v),Wa(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 DDn(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 y;return R===null||R===91||i>999?t(R):R===93?u?(y=e.exit("gfmFootnoteDefinitionLabelString"),o=Bu(a.sliceSerialize(y)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(R),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),m):t(R):jn(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||jn(R)||R===91||R===93||i>999?(e.exit("chunkString"),s(R)):(Wa(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"),Mt(e,_,"gfmFootnoteDefinitionWhitespace")):t(R)}function _(R){return r.includes(o)||r.push(o),n(R)}}function yDn(e,n,t){return e.check(S0,n,e.attempt(_Dn,n,t))}function bDn(e){e.exit("gfmFootnoteDefinition")}function RDn(e,n,t){let a=this;return Mt(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 HW(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"),y=oR(m);return R._open=!y||y===2&&Boolean(_),R._close=!_||_===2&&Boolean(y),i(m)}}}var BW={flow:{null:{tokenize:SDn,resolve:wDn}}},fFe={tokenize:EDn,partial:!0};function wDn(e,n){let t=-1,a,r,o,i,u,l,c;for(;++t=4?Ke(W):(a._gfmTableDynamicInterruptHack=!0,oe.check(a.parser.constructs.flow,function(ee){return a._gfmTableDynamicInterruptHack=!1,Ke(ee)},function(ee){return a._gfmTableDynamicInterruptHack=!1,Un(ee)})(W))}}}function EDn(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||Wa(i)?n(i):t(i)}}var CDn={tokenize:IDn},JW={text:{[91]:CDn}};function IDn(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 Wa(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:TDn},n,t)):t(u)}}function TDn(e,n,t){let a=this;return Mt(e,r,"whitespace");function r(o){let i=a.events[a.events.length-1];return(i&&i[1].type==="whitespace"||jn(o))&&o!==null?n(o):t(o)}}function vFe(e){return qx([NW,UW(),HW(e),BW,JW])}function WW(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 qW(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var FDn={}.hasOwnProperty,zW=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=YI(r.ignore||[]),u=MDn(o),l=-1;for(;++l0?{type:"text",value:Q}:void 0),Q!==!1&&(y!==P&&M.push({type:"text",value:f.value.slice(y,P)}),Array.isArray(Q)?M.push(...Q):Q&&M.push(Q),y=P+k[0].length,S=!0),!_.global)break;k=_.exec(f.value)}return S?(ye}var $W="phrasing",VW=["autolink","link","image","label"],QW={transforms:[NDn],enter:{literalAutolink:GDn,literalAutolinkEmail:XW,literalAutolinkHttp:XW,literalAutolinkWww:XW},exit:{literalAutolink:jDn,literalAutolinkEmail:LDn,literalAutolinkHttp:ADn,literalAutolinkWww:xDn}},YW={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:$W,notInConstruct:VW},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:$W,notInConstruct:VW},{character:":",before:"[ps]",after:"\\/",inConstruct:$W,notInConstruct:VW}]};function GDn(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function XW(e){this.config.enter.autolinkProtocol.call(this,e)}function ADn(e){this.config.exit.autolinkProtocol.call(this,e)}function xDn(e){this.config.exit.data.call(this,e);let n=this.stack[this.stack.length-1];n.url="http://"+this.sliceSerialize(e)}function LDn(e){this.config.exit.autolinkEmail.call(this,e)}function jDn(e){this.exit(e)}function NDn(e){zW(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,PDn],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,ODn]],{ignore:["link","linkReference"]})}function PDn(e,n,t,a,r){let o="";if(!_Fe(r)||(/^w/i.test(n)&&(t=n+t,n="",o="http://"),!kDn(t)))return!1;let i=UDn(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 ODn(e,n,t,a){return!_Fe(a,!0)||/[-\d_]$/.test(t)?!1:{type:"link",title:null,url:"mailto:"+n+"@"+t,children:[{type:"text",value:n+"@"+t}]}}function kDn(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 UDn(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=WW(e,"("),o=WW(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 _Fe(e,n){let t=e.input.charCodeAt(e.index-1);return(e.index===0||iD(t)||uD(t))&&(!n||t!==47)}function ZW(e){return e.label||!e.identifier?e.label||"":t7(e.identifier)}function dFe(e,n,t){let a=n.indexStack,r=e.children||[],o=n.createTracker(t),i=[],u=-1;for(a.push(-1);++u `}return` `}var BDn=/\r?\n|\r/g;function hFe(e,n){let t=[],a=0,r=0,o;for(;o=BDn.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 c5(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 gFe(e,n){return DFe(e,n.inConstruct,!0)&&!DFe(e,n.notInConstruct,!1)}function DFe(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(hFe(dFe(e,t,r.current()),e1n)),i(),o}function e1n(e,n,t){return n===0?e:(t?"":" ")+e}function s5(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,ni(Aa({},l.current()),{before:u,after:s})))),u=o[o.length-1].slice(-1)}return a.pop(),o.join("")}var n1n=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];RFe.peek=r1n;var tq={canContainEols:["delete"],enter:{strikethrough:t1n},exit:{strikethrough:a1n}},aq={unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:n1n}],handlers:{delete:RFe}};function t1n(e){this.enter({type:"delete",children:[]},e)}function a1n(e){this.exit(e)}function RFe(e,n,t,a){let r=hD(a),o=t.enter("strikethrough"),i=r.move("~~");return i+=s5(e,t,ni(Aa({},r.current()),{before:i,after:"~"})),i+=r.move("~~"),o(),i}function r1n(){return"~"}rq.peek=o1n;function rq(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);++yu[y])&&(u[y]=S)}_.push(D)}o[c]=_,i[c]=R}let s=-1;if(typeof t=="object"&&"length"in t)for(;++su[s]&&(u[s]=D),v[s]=D),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 c1n(e){this.exit(e),this.setData("inTable")}function s1n(e){this.enter({type:"tableRow",children:[]},e)}function iq(e){this.exit(e)}function EFe(e){this.enter({type:"tableCell",children:[]},e)}function f1n(e){let n=this.resume();this.getData("inTable")&&(n=n.replace(/\\([\\|])/g,v1n));let t=this.stack[this.stack.length-1];t.value=n,this.exit(e)}function v1n(e,n){return n==="|"?n:e}function uq(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,y){return c(s(m,R,y),m.align)}function u(m,_,R,y){let D=f(m,R,y),S=c([D]);return S.slice(0,S.indexOf(` `))}function l(m,_,R,y){let D=R.enter("tableCell"),S=R.enter("phrasing"),M=s5(m,R,ni(Aa({},y),{before:o,after:o}));return S(),D(),M}function c(m,_){return wFe(m,{align:_,alignDelimiters:a,padding:t,stringLength:r})}function s(m,_,R){let y=m.children,D=-1,S=[],M=_.enter("table");for(;++D-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 lq={exit:{taskListCheckValueChecked:FFe,taskListCheckValueUnchecked:FFe,paragraph:m1n}},cq={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:p1n}};function FFe(e){let n=this.stack[this.stack.length-2];n.checked=e.type==="taskListCheckValueChecked"}function m1n(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 vq(){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];DR(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];DR(s.type==="math"),this.exit(l),s.value=c;let f=s.data.hChildren[0];DR(f.type==="element"),DR(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];DR(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 mq(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(MFe(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,Aa({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 lT(e,n,t,a){let r=a?a-1:Number.POSITIVE_INFINITY,o=0;return i;function i(l){return pq(l)?(e.enter(t),u(l)):n(l)}function u(l){return pq(l)&&o++React.createElement("table",{className:"table table-bordered table-sm",children:e.children}),jFe=[v5,{singleDollarTextMath:!1}],NFe=[l5,{throwOnError:!1}],PFe=e=>{try{return I7(e)}catch{return e.fallback}};Wt();var OFe=class extends yt.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)}},kFe=OFe;var y1n=El(),b1n=q($t);var R1n=function(){return function(){return y1n(kFe)}},w1n=R1n()(),UFe=function(e){return w1n({render:function(n){return e({hasError:gt(K(n.error))})},componentDidCatch:function(n,t){return Fo(zo)("Error within error boundary")({error:n,componentStack:t.componentStack})(function(a){return b1n(Ie)})()}})};var S1n=El(),HFe=function(e){var n=mS(e);return UFe(function(t){return t.hasError?n:S1n(PFe)({children:e,rehypePlugins:[NFe],remarkPlugins:[f5,jFe],components:{table:LFe},fallback:n})})};var E1n=me(Pt(ca)),dq=B(ae),C1n=B(J),I1n=Mn(ae)()(),T1n=An(mt),F1n=nn(ae),hq=function(e){return oo(M4(e.key)("false"))(function(n){return function(t){return Cn(E1n(n)(new d("false")))(dq("alert rounded-0 bg-light")(C1n("row")([dq("col")(e.label),dq("col-auto")(I1n("btn btn-sm p-0")({onClick:T1n(t)("true")})(F1n("fe fe-x")(ln)))])))}})};var m5=B(ae),BFe=Pa(lr(ta)),M1n=Rr(st),G1n=B(x),A1n=g0(),JFe=me(Pt(AB)),x1n=Mn(ae)()(),L1n=Qt(er),j1n=q($t),WFe=nn(x),N1n=j(he),P1n=J0(),O1n=pi(ae)()(),gq=B(J),k1n=aa(x)()(),qFe=zf(),U1n=rt(J)()(),H1n=X(he),B1n=rt(x)()(),Dq=function(e){var n=e.chatMessage(ae),t=e.chatMessage(J),a=n(e.chatbotAvatar),r=function(){var c=function(){var s=m5("my-auto t--ai-chatbot-ai-welcome-message");return function(f){return a(s(f))}}();return function(s){if(BFe(qo)(e.bannedReason))return c(Y(M1n(["The service is not available for the following reason: ",e.bannedReason,". Please try again later or email ",hP," for more information."])));if(s instanceof C)return ln;if(s instanceof d)return c(s.value0);throw new Error("Failed pattern match at Vinai.ChatbotPage.Conversation (line 179, column 26 - line 186, column 38): "+[s.constructor.name])}}(),o=a(m5("my-auto")(Nx)),i=function(c){return a(G1n("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 194, column 11 - line 196, column 34): "+[c.constructor.name])}()))},u=A1n({source:function(){return e.user instanceof d&&e.user.value0.avatarUrl instanceof d?new Du({url:e.user.value0.avatarUrl.value0}):e.user instanceof d&&e.user.value0.initials instanceof d?new xg({initials:e.user.value0.initials.value0,backgroundColorClass:C.value,textColorClass:C.value}):new Du({url:ng("/img/smiley-grey.svg")})}(),size:Cb.value}),l=function(c){var s=function(m){return function(_){return m instanceof pv&&JFe(_)(new d(m))||m instanceof Js&&JFe(_)(new d(m))?"text-primary bg-soft-primary":"text-gray-700"}},f=function(m){return function(_){return function(R){return function(y){return x1n("btn btn-link p-2 large d-flex align-items-center mr-2 "+s(m)(_))({onClick:L1n(function(){if(c.id instanceof C)return j1n(Ie);if(c.id instanceof d&&m instanceof pv&&_ instanceof d&&_.value0 instanceof pv)return function(){return R(C.value)(),y({messageId:c.id.value0,reaction:C.value})()};if(c.id instanceof d&&m instanceof Js&&_ instanceof d&&_.value0 instanceof Js)return function(){return R(C.value)(),y({messageId:c.id.value0,reaction:C.value})()};if(c.id instanceof d&&m instanceof pv)return function(){return R(new d(pv.value))(),y({messageId:c.id.value0,reaction:new d(pv.value)})()};if(c.id instanceof d&&m instanceof Js)return function(){return R(new d(Js.value))(),y({messageId:c.id.value0,reaction:new d(Js.value)})()};throw new Error("Failed pattern match at Vinai.ChatbotPage.Conversation (line 152, column 17 - line 166, column 76): "+[c.id.constructor.name,m.constructor.name,_.constructor.name])}())})(WFe("material-symbol")(function(){if(m instanceof pv)return"thumb_up";if(m instanceof Js)return"thumb_down";throw new Error("Failed pattern match at Vinai.ChatbotPage.Conversation (line 169, column 15 - line 171, column 43): "+[m.constructor.name])}()))}}}};if(c.sender instanceof rD)return n(u)(m5("t--ai-chatbot-user-message")(_ne(Kee(""))(N1n(WFe(""))(Si(P1n(` `))(c.body)))));if(c.sender instanceof HI){var v=O1n({placement:E0e,overlay:Y(eDe(c))})(e.chatbotAvatar);return t(v)([m5("my-auto t--ai-chatbot-ai-message "+("t--ai-chatbot-ai-message-"+Se("")(c.id)))(HFe(c.body)),He(e.onReaction)(function(m){return oo(ua(C.value))(function(_){return function(R){return gq("d-flex mt-3")([f(pv.value)(_)(R)(m),f(Js.value)(_)(R)(m)])}})})])}throw new Error("Failed pattern match at Vinai.ChatbotPage.Conversation (line 121, column 7 - line 145, column 36): "+[c.sender.constructor.name])};return gq("flex-grow-1 d-flex flex-column overflow-y-auto p-0")([Cn(e.showAddStudentProfileBanner)(hq({key:"ai-no-profile-banner-dismissed",label:ue([Y("For more personalized responses "),k1n("")({href:e.chancingWizardPath})("add a student profile"),Y(".")])})),Cn(e.showLogInBanner)(hq({key:"ai-anonymous-banner-dismissed",label:ue([Y("For more personalized responses "),qFe({text:"log in",className:"btn btn-link p-0 align-baseline"}),Y(" or "),qFe({text:"sign up",className:"btn btn-link p-0 align-baseline",auth0ActiveTab:qf}),Y(".")])})),U1n("flex-grow-1 d-flex flex-column")({id:"chat-conversation"})([gq("flex-grow-1 px-3")([r(e.welcomeMessage),function(){return e.chatbotState instanceof d&&BFe(ou)(e.chatbotState.value0.messages)?ue(H1n(e.chatbotState.value0.messages)(l)):ln}(),function(){if(e.messageSendingState instanceof Km)return o;if(e.messageSendingState instanceof Hc)return l(UB(e.messageSendingState.value0));if(e.messageSendingState instanceof Zm)return ln;if(e.messageSendingState instanceof dv)return ln;if(e.messageSendingState instanceof w0)return i(e.messageSendingState.value0);throw new Error("Failed pattern match at Vinai.ChatbotPage.Conversation (line 102, column 9 - line 113, column 45): "+[e.messageSendingState.constructor.name])}()]),Sa(e.footer),B1n("")({id:"chat-anchor",style:Sn({overflowAnchor:"auto",height:"1px"})})("")])])};function p5(e){return function(){document.getElementById(e).scrollIntoView()}}var yq=function(e){return ke(dv.value)(function(n){return n.sendingState})(e)};var Z1n=j(H),K1n=MB(),eyn=Pa(lr(ta)),nyn=B(J),bq=B(ae),tyn=rt(J)()(),_5=q(ht),ayn=Z(Xt),zFe=Ii(Vt),ryn=mr(zFe),$Fe=Ir(zFe),VFe=zn(Nn)(Xt),oyn=Oo(ht),iyn=$r(Dt),uyn=q(sa),lyn=Z(Ot),QFe=it(Dt),cyn=j(Vt),cT=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),YFe=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}(),d5=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),syn=function(e){return function(n){return function(t){return Dq({bannedReason:e.bannedReason,chancingWizardPath:"",chatbotState:n.chatbot,footer:C.value,messageSendingState:yq(n.chatbot),onReaction:C.value,showAddStudentProfileBanner:!1,showLogInBanner:!1,user:e.user,welcomeMessage:Z1n(Y)(e.welcomeMessage),chatMessage:function(a){return t(a)},chatbotAvatar:e.chatbotAvatar})}}},fyn=function(e){return function(n){return function(t){return K1n({placeholder:"Message\u2026",sendButtonStatus:function(){var a=eyn(qo)(e.bannedReason);if(a)return aD.value;var r=yq(n.chatbot);if(r instanceof dv)return gd.value;if(r instanceof Zm)return Dd.value;if(r instanceof Km)return Dd.value;if(r instanceof Hc)return Dd.value;var o=function(i){if(r instanceof w0&&Le)return aD.value;throw new Error("Failed pattern match at Vinai.ChatbotWidget (line 157, column 1 - line 157, column 72): "+[r.constructor.name])};return r instanceof w0&&r.value0 instanceof C?gd.value:o(!0)}()})(n.authorChatMessage)(function(a){return t(d5.create(a))})}}},vyn=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 nyn("d-flex justify-content-end mb-4")([bq("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 tyn("t--floating-chatbot pointer-events-none flex-grow-1 d-flex flex-column")({style:Sn({position:"fixed",right:"0",bottom:"0",width:"400px",maxWidth:"100%",maxHeight:"75vh"})})([syn(e)(n)(function(o){return r(o)}),bq("pb-3 px-3 border-0")(bq("d-flex w-100 border border-gray-500 m-0 p-2 bg-white shadow pointer-events-auto "+a)(fyn(e)(n)(t)))])}}},myn=function(e){return function(n){return function(t){var a=function(r){if(t instanceof cT)return _5(n);if(t instanceof YFe)return ayn(ryn(cT.create)(BB({initialMessageBody:new d(t.value1),messages:[{sender:rD.value,body:t.value1,sentAt:t.value0,id:C.value}],receiveChannelName:t.value2.pusherChannel,sendMessage:e.sendMessage(t.value2.conversationId)})))(function(o){return _5({authorChatMessage:n.authorChatMessage,chatbot:new d(o)})});if(t instanceof d5&&t.value0 instanceof Kn)return $Fe(d5.create)(function(o){return{chatbot:n.chatbot,authorChatMessage:o}})(FB(n.authorChatMessage)(t.value0));if(t instanceof d5&&t.value0 instanceof Yt)return VFe(oyn(qo(e.bannedReason))(iyn(function(){if(n.chatbot instanceof d)return uyn(new cT(new Jx(t.value0.value0.value0)));if(n.chatbot instanceof C)return lyn(QFe(jh))(function(o){return cyn(YFe.create(o)(t.value0.value0.value0))(e.createConversation(Ie))});throw new Error("Failed pattern match at Vinai.ChatbotWidget (line 103, column 9 - line 107, column 79): "+[n.chatbot.constructor.name])}())))(function(){return _5({chatbot:n.chatbot,authorChatMessage:Ox})});throw new Error("Failed pattern match at Vinai.ChatbotWidget (line 67, column 1 - line 67, column 64): "+[t.constructor.name])};return t instanceof cT&&n.chatbot instanceof d?VFe(wr(QFe(p5("chat-anchor"))))(function(){return $Fe(cT.create)(function(r){return{authorChatMessage:n.authorChatMessage,chatbot:new d(r)}})(HB(n.chatbot.value0)(t.value0))}):a(!0)}}},pyn=function(){return{authorChatMessage:Ox,chatbot:C.value}}(),XFe=function(e){return Ku("FloatingChatbot"+e)(function(n){return{init:_5(pyn),view:vyn(n),update:myn(n)}})};var Rq=Z(Ae),_yn=q(kn),ZFe=X(H),dyn=zn(Nn),hyn=Oo($t),gyn=it(us),Dyn=gi(H),KFe=pt(Ae),yyn=B(J),eMe=B(ae),wq=on(),h5=q(ht),nMe=Ii(Vt),Sq=Ir(nMe),byn=dyn(Xt),Ryn=$r(Dt),wyn=q(sa),tMe=Z(Xt),Eq=mr(nMe),Syn=Mv(ht)($e),Eyn=me(Pt(lc)),Cq=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),g5=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),yR=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Iq=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}(),Tq=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),D5=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Fq=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=Rq(n.recommendedSchools)(function(D){return _yn(Gx({recommendedSchools:D,school:e.school,onViewSchool:e.onViewSchool}))}),o=a(new Yt(new Fq(oP.value))),i=a(new Yt(new xd(new I_(oa(e.school))))),u=function(D){return a(new Yt(new xd(new w_(oa(e.school),D))))},l=function(){a(new Yt(new xd(new E_(oa(e.school)))))();var S=ZFe(Rq(so(e.schoolDb.schoolConnections))(ys(oa(e.school))))(function(M){return M.schoolUsesAiRecruiter});return hyn(n.featureFlags.app18667TrellisRecruiter&&Se(!1)(S))(gyn(yG(OSe(oa(e.school)))))(),Ie},c={school:e.school,schoolDb:e.schoolDb,onSwitchTab:function(D){return a(Yt.create(D5.create(D)))},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?Dyn(n.currentUser)(Mx(c)({user:KFe(ag)(n.currentUser),featureFlags:n.featureFlags})):C.value}(),f=function(D){var S=KFe(Iu(n.configuration))(dI([s,r]));return yyn("row")([eMe("col"+function(){var M=gt(S);return M?" col-md-8":""}())(D),He(S)(eMe("col col-md-4 d-none d-md-block"))])},v=function(){var D=DG({chancingState:n.chancingState,featureFlags:n.featureFlags,currentUser:n.currentUser,configuration:n.configuration,school:e.school,schoolDb:e.schoolDb})(e.activeTab);return D?e.activeTab:Qo.value}(),m=iwe({school:e.school,schoolDb:e.schoolDb,activeTab:v,configuration:n.configuration,showNav:!0,showConnectButton:n.showNetworkCard,onSwitchTab:function(D){return a(Yt.create(D5.create(D)))},onListStatusChange:function(D){return a(Yt.create(Iq.create(D)))},onSelectSchool:function(D){return a(Yt.create(Tq.create(D)))},onInviteSchool:o,onAcceptInvitation:l,onIgnoreInvitation:i,onEdit:e.onEdit,vineBelowConnectionLimit:n.vineBelowConnectionLimit})(n),_=ZFe(Rq(n.currentUser)(ag))(function(D){return{avatarUrl:D.avatarUrl,initials:D.initials}}),R="Hi! I'm Ivy. Ask me anything about "+t1e(wq(e.school).name),y=function(){if(v instanceof Qo)return TSe(c)(n)(t.overview)(function(S){return a(Kn.create(yR.create(S)))});if(v instanceof Mu)return He(Hh(oa(e.school))(e.schoolDb))(function(S){return f(zRe({school:e.school,schoolDb:e.schoolDb,contentModules:S,mapboxAccessToken:n.mapboxAccessToken,showLikeButton:gt(n.currentUser),randomSeed:n.randomSeed,onContentModuleInteraction:u,isUserHq:ke(!1)(function(M){return M.isHq})(n.currentUser)})(t.forYou)(function(M){return a(Kn.create(g5.create(M)))}))});if(v instanceof Gu){var D=so(I1(oa(e.school))(e.schoolDb));return f(Mbe(e.school)(n)(D)(t.finances)(function(S){return a(Kn.create(Cq.create(S)))}))}if(v instanceof Qi)return ibe(e.school)(n)({onSwitchTab:C.value,showViewChancingExplanationCTA:!1,schoolDb:e.schoolDb});if(v instanceof Ul)return f(mwe(e.schoolDb)(e.school));if(v instanceof Hl)return f(k1e({school:e.school,onEdit:e.onEdit,props:n}));if(v instanceof Bl)return ube(e.school)(n);throw new Error("Failed pattern match at SchoolDetails.SchoolDetails (line 182, column 12 - line 218, column 44): "+[v.constructor.name])}();return ue([m,y,kh(n.showNetworkCard)(function(D){return jbe({mobileLayout:n.mobileLayout,school:e.school,schoolDb:e.schoolDb,onAcceptInvitation:l,onIgnoreInvitation:i})}),Cn(n.featureFlags.app18667IvyOnSdp)(XFe(wq(e.school).name)({bannedReason:"",welcomeMessage:new d(R),user:_,createConversation:function(D){return PSe(wq(e.school).id)},sendMessage:NSe(kSe),chatbotAvatar:Tb}))])}}}},rMe=function(e){return function(n){return function(t){if(t instanceof Yt)return h5(n);if(t instanceof Kn){if(t.value0 instanceof Cq)return Sq(function(a){return Kn.create(Cq.create(a))})(function(a){return{forYou:n.forYou,overview:n.overview,finances:a}})(Tbe(n.finances)(t.value0.value0));if(t.value0 instanceof g5)return Sq(function(a){return Kn.create(g5.create(a))})(function(a){return{finances:n.finances,overview:n.overview,forYou:a}})($Re(n.forYou)(t.value0.value0));if(t.value0 instanceof yR&&t.value0.value0 instanceof tD&&t.value0.value0.value0 instanceof Yt)return byn(Ryn(wyn(new Yt(new xd(t.value0.value0.value0.value0)))))(function(){return h5(n)});if(t.value0 instanceof yR)return Sq(function(a){return Kn.create(yR.create(a))})(function(a){return{finances:n.finances,forYou:n.forYou,overview:a}})(CSe(e)(n.overview)(t.value0.value0));throw new Error("Failed pattern match at SchoolDetails.SchoolDetails (line 108, column 44 - line 120, column 62): "+[t.value0.constructor.name])}throw new Error("Failed pattern match at SchoolDetails.SchoolDetails (line 106, column 1 - line 106, column 75): "+[e.constructor.name,n.constructor.name,t.constructor.name])}}},oMe=function(e){return tMe(Eq(function(n){return Kn.create(yR.create(n))})(ISe(e)))(function(n){return tMe(Eq(function(t){return Kn.create(g5.create(t))})(VRe))(function(t){return h5({finances:Fbe,forYou:t,overview:n})})})},iMe=function(e){return Syn(function(n){return n instanceof Zj&&Eyn(Fue(n.value0))(new d(oa(e.school)))?Eq(function(t){return Kn.create(yR.create(tD.create(t)))})(Ywe(n.value0)):h5(Ie)})};var Cyn=LS(us)(),Iyn=te(Ci),uMe=function(e){var n=it(e);return function(t){return n(Cyn("SDP: Viewed page")({tab:vE(t.tab),school_name:t.school.name,school_id:Iyn(t.school.id)}))}};var lMe=Z(Xt),cMe=Ii(Vt),Mq=mr(cMe),sMe=zn(Nn),sT=sMe(Xt),fMe=uMe(Dt),y5=on(),mp=q(ht),Tyn=xj(),b5=X(H),Gq=Ir(cMe),Fyn=sMe(Ot),Myn=it(Dt),vMe=Z(Ka),mMe=$r(Dt),pMe=q(sa),Gyn=Z(Ae),_Me=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Aq=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Qs=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}(),dMe=function(e){return function(n){return function(t){return function(a){return ue([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(Qs.create(r))}),He(t.modal)(function(r){return Z0e(r.value0)(function(o){return a(bR.create(o))})})])}}}},hMe=function(e){return function(n){return lMe(Mq(Qs.create)(oMe(e.school)))(function(t){return sT(wr(fMe({tab:e.tab,school:y5(e.school),featureFlags:n.featureFlags})))(function(){return mp({school:e.school,activeTab:e.tab,schoolDb:Tyn({schools:new nr(new d([e.school])),majors:e.majors,chances:ke(ya.value)(qt.create)(b5(e.chances)(PM(oa(e.school)))),contentModules:ke([])(function(a){return[{schoolId:oa(e.school),modules:a}]})(e.contentModules),financials:ke(ya.value)(qt.create)(b5(e.financials)(PM(oa(e.school)))),schoolConnections:Se(_S)(b5(e.schoolConnection)(PM(oa(e.school)))),schoolList:e.schoolList,schoolNotes:e.schoolNotes}),page:t,modal:C.value,vineBelowConnectionLimit:n.vineBelowConnectionLimit})})})}},Ayn=function(e){return function(n){return Gq(Aq.create)(function(t){return{activeTab:e.activeTab,modal:e.modal,page:e.page,school:e.school,vineBelowConnectionLimit:e.vineBelowConnectionLimit,schoolDb:t}})(Kj(n)(e.schoolDb))}},gMe=function(e){return function(n){var t=y5(n.school);return function(a){if(a instanceof Qs&&a.value0 instanceof Yt&&a.value0.value0 instanceof xd)return Ayn(n)(a.value0.value0.value0);if(a instanceof Qs&&a.value0 instanceof Yt&&a.value0.value0 instanceof D5)return sT(wr(Fyn(fMe({tab:a.value0.value0.value0,school:y5(n.school),featureFlags:e.featureFlags}))(function(){return Myn(vMe(vMe(fi)(vS))(NM(ao(Zu))(t.name+" | CollegeVine")(o0(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 Qs&&a.value0 instanceof Yt&&a.value0.value0 instanceof Iq)return sT(mMe(function(){var o=new R_(t.id,a.value0.value0.value0,jS.value,r9(t.id)(n.schoolDb));return pMe(new Qs(new Yt(new xd(o))))}()))(function(){return mp(n)});if(a instanceof Qs&&a.value0 instanceof Yt&&a.value0.value0 instanceof Tq)return mp(n);if(a instanceof Qs&&a.value0 instanceof Yt&&a.value0.value0 instanceof Fq)return mp({activeTab:n.activeTab,page:n.page,school:n.school,schoolDb:n.schoolDb,vineBelowConnectionLimit:n.vineBelowConnectionLimit,modal:b5(Gyn(e.currentUser)(ag))(function(o){return new _Me(eme({schoolName:function(i){return i.name}(y5(n.school)),profile:o,context:a.value0.value0.value0,vineBelowConnectionLimit:n.vineBelowConnectionLimit}))})});if(a instanceof Qs&&a.value0 instanceof Kn)return Gq(Qs.create)(function(o){return{activeTab:n.activeTab,modal:n.modal,school:n.school,schoolDb:n.schoolDb,vineBelowConnectionLimit:n.vineBelowConnectionLimit,page:o}})(rMe(n)(n.page)(a.value0));if(a instanceof Aq)return lMe(Mq(Aq.create)(nle(n.schoolDb)(a.value0)))(function(o){return sT(Mq(Qs.create)(iMe(n)(o.events)))(function(){return mp({activeTab:n.activeTab,modal:n.modal,page:n.page,vineBelowConnectionLimit:n.vineBelowConnectionLimit,school:Se(n.school)(HM(t.id)(o.state)),schoolDb:o.state})})});if(a instanceof bR&&a.value0 instanceof Yt&&a.value0.value0 instanceof dP)return sT(mMe(pMe(new Qs(new Yt(new xd(new C_({schoolId:t.id,introMessage:a.value0.value0.value0.introMessage})))))))(function(){return mp(n)});if(a instanceof bR&&a.value0 instanceof Yt&&a.value0.value0 instanceof zE)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 Kn&&Le)return mp(n);throw new Error("Failed pattern match at SchoolDetails.SchoolDetailsPage (line 90, column 1 - line 90, column 64): "+[a.constructor.name])};return a instanceof bR&&a.value0 instanceof Kn&&n.modal instanceof d?Gq(bR.create)(function(o){return{activeTab:n.activeTab,page:n.page,school:n.school,schoolDb:n.schoolDb,vineBelowConnectionLimit:n.vineBelowConnectionLimit,modal:new d(new _Me(o))}})(K0e(n.modal.value0.value0)(new Kn(a.value0.value0))):r(!0)}}};var R5=function(e){return function(){console.error(e)}};var wMe=function(e){var n=it(e);return function(t){return n(R5(t))}};var Pyn=q($t),SMe=Z(Ka),Oyn=j(ft),kyn=wMe(us),EMe=function(e){var n=function(a){var r=e(a);return A8(r.view(r.init.value0)(an(Pyn(Ie))))},t=function(a){return function(r){return function(o){return function(){var u=SMe(SMe(fi)(function(){var c=Oyn(jM);return function(s){return c(Oh(s))}}()))(xM(r))();if(u instanceof C)return kyn("Element #"+(r+" not found"))();if(u instanceof d){var l=sZ(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(QX),renderToString:n,hydrate:t(YX)}};var Uyn=at(jF),Hyn=Z(tf),CMe=q(ht),IMe=function(e){var n=X0(e);return function(t){return EMe(Uyn({parse:function(a){return Hyn(n(a))(function(r){return ke(new rn("Component construction failed"))(un.create)(t.def(r))})},diagnosticName:"Props for "+t.diagnosticName,default:{init:CMe(Ie),update:function(a){return function(r){return CMe(Ie)}},view:function(a){return function(r){return ln}}}}))}};var ea=$n(),xq=E({reflectSymbol:function(){return"all"}}),Ro=Ln(ie),ei=Ln(wt),TMe=ea(E({reflectSymbol:function(){return"academicThresholdStatus"}})(ie)(E({reflectSymbol:function(){return"applicationStrategy"}})(ie)(E({reflectSymbol:function(){return"classification"}})(Ro)(E({reflectSymbol:function(){return"courseRigorStrength"}})(Ro)(E({reflectSymbol:function(){return"ecStrength"}})(Ro)(E({reflectSymbol:function(){return"isRecommendedStrategy"}})(Wn)(E({reflectSymbol:function(){return"score"}})(ei)(E({reflectSymbol:function(){return"shouldApplyTestOptional"}})(Wn)(E({reflectSymbol:function(){return"specialCase"}})(Ro)(_e)))))))))),Lq=E({reflectSymbol:function(){return"act"}}),jq=E({reflectSymbol:function(){return"p25"}}),FMe=E({reflectSymbol:function(){return"p50"}}),Nq=E({reflectSymbol:function(){return"p75"}}),RR=ea(jq(ei)(FMe(ei)(Nq(ei)(_e)))),Pq=E({reflectSymbol:function(){return"gpa"}}),x0=Ln(Ft),MMe=ea(jq(x0)(FMe(x0)(Nq(x0)(_e)))),Oq=E({reflectSymbol:function(){return"sat"}}),GMe=E({reflectSymbol:function(){return"english"}}),AMe=E({reflectSymbol:function(){return"math"}}),xMe=AMe(ei),LMe=E({reflectSymbol:function(){return"id"}}),w5=E({reflectSymbol:function(){return"name"}})(ie),jMe=E({reflectSymbol:function(){return"readingWriting"}}),NMe=E({reflectSymbol:function(){return"majors"}}),PMe=w5(_e),OMe=E({reflectSymbol:function(){return"acceptanceRate"}}),kMe=LMe(ls),UMe=E({reflectSymbol:function(){return"slug"}})(Mw),HMe=E({reflectSymbol:function(){return"status"}})(ie)(_e),BMe=E({reflectSymbol:function(){return"address"}}),JMe=E({reflectSymbol:function(){return"location"}})(ea(E({reflectSymbol:function(){return"lat"}})(Ft)(E({reflectSymbol:function(){return"lng"}})(Ft)(_e)))),WMe=E({reflectSymbol:function(){return"admissions"}}),qMe=E({reflectSymbol:function(){return"percentile"}})(Ft),zMe=E({reflectSymbol:function(){return"value"}}),fT=Ln(ea(qMe(zMe(Ft)(_e)))),vT=Ln(ea(jq(wt)(Nq(wt)(_e)))),kq=Ln(ea(E({reflectSymbol:function(){return"men"}})(wt)(E({reflectSymbol:function(){return"women"}})(wt)(_e)))),$Me=ea(qMe(zMe(wt)(_e))),VMe=Ln($Me),QMe=ea(E({reflectSymbol:function(){return"conference"}})(Ln(ea(E({reflectSymbol:function(){return"group"}})(ie)(PMe))))(E({reflectSymbol:function(){return"division1"}})(Wn)(_e))),YMe=xq(RR),XMe=AMe(RR),Byn=function(){var e=function(n){var t=yie(Yh.value)(n),a=function(r){return function(o){return ue([dMe({onEdit:C.value})(t.value1)(r)(o),oo(ua(t.value0.showInvitationAcceptedCTA))(function(i){return function(u){return He(i)(function(l){if(l instanceof lE)return Bre({origin:o0(r.activeTab)(hL(r.school)),onDismiss:u(C.value),auth0Config:t.value0.auth0Config,mobileLayout:t.value1.mobileLayout,currentUser:t.value1.currentUser,school:r.school});if(l instanceof cE)return Jre({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 32, column 34 - line 50, column 20): "+[l.constructor.name])})}})])}};return new d({init:hMe(t.value0)(t.value1),update:gMe(t.value1),view:a})};return IMe(ea(E({reflectSymbol:function(){return"auth0Config"}})(ea(E({reflectSymbol:function(){return"auth0ClientId"}})(ie)(E({reflectSymbol:function(){return"auth0Domain"}})(ie)(E({reflectSymbol:function(){return"auth0RedirectUri"}})(ie)(E({reflectSymbol:function(){return"omniAuthState"}})(ie)(_e))))))(E({reflectSymbol:function(){return"chances"}})(Ln(ea(xq(qn(TMe))(E({reflectSymbol:function(){return"guidance"}})(Ln(Ap))(E({reflectSymbol:function(){return"sameDemographicStats"}})(Ln(ea(Lq(RR)(Pq(MMe)(Oq(RR)(_e))))))(E({reflectSymbol:function(){return"top"}})(TMe)(_e)))))))(E({reflectSymbol:function(){return"chancingProfile"}})(Ln(ea(Lq(ea(GMe(ei)(xMe(E({reflectSymbol:function(){return"reading"}})(ei)(E({reflectSymbol:function(){return"science"}})(ei)(_e))))))(E({reflectSymbol:function(){return"courseRigor"}})(ea(E({reflectSymbol:function(){return"ap"}})(ei)(E({reflectSymbol:function(){return"collegeClasses"}})(ei)(E({reflectSymbol:function(){return"honors"}})(ei)(_e)))))(E({reflectSymbol:function(){return"ecActivities"}})(qn(ea(E({reflectSymbol:function(){return"canonical_ec_activity_id"}})(Ln(QS))(E({reflectSymbol:function(){return"category"}})(ie)(E({reflectSymbol:function(){return"description"}})(Ro)(LMe(ei)(w5(E({reflectSymbol:function(){return"tier"}})(ie)(_e)))))))))(E({reflectSymbol:function(){return"ecScore"}})(x0)(Pq(x0)(E({reflectSymbol:function(){return"psatPredictedCompositeSAT"}})(ei)(Oq(ea(xMe(jMe(ei)(_e))))(_e))))))))))(E({reflectSymbol:function(){return"contentModules"}})(Ln(Fw))(E({reflectSymbol:function(){return"currentUser"}})(Ln(ea(E({reflectSymbol:function(){return"cvid"}})(ie)(E({reflectSymbol:function(){return"isHq"}})(Wn)(E({reflectSymbol:function(){return"role"}})(ea(E({reflectSymbol:function(){return"counselor"}})(Ln(ea(_e)))(E({reflectSymbol:function(){return"semUser"}})(Ln(ea(E({reflectSymbol:function(){return"schoolId"}})(ls)(_e))))(E({reflectSymbol:function(){return"vine"}})(Ln(ea(E({reflectSymbol:function(){return"admissionYear"}})(ei)(E({reflectSymbol:function(){return"avatarUrl"}})(Ro)(E({reflectSymbol:function(){return"fullName"}})(Ro)(E({reflectSymbol:function(){return"homeState"}})(Ro)(E({reflectSymbol:function(){return"initials"}})(Ro)(E({reflectSymbol:function(){return"publishScope"}})(ie)(_e)))))))))(_e)))))(_e))))))(E({reflectSymbol:function(){return"featureFlags"}})(ea(E({reflectSymbol:function(){return"app18667IvyOnSdp"}})(Wn)(E({reflectSymbol:function(){return"app18667TrellisRecruiter"}})(Wn)(E({reflectSymbol:function(){return"autopilot"}})(ie)(E({reflectSymbol:function(){return"rcr2577ClaimSchoolProfileLinkOnSdp"}})(Wn)(_e))))))(E({reflectSymbol:function(){return"financials"}})(Ln(ea(E({reflectSymbol:function(){return"estimatedMeritAid"}})(x0)(E({reflectSymbol:function(){return"estimatedNetCost"}})(Ft)(E({reflectSymbol:function(){return"financialAid"}})(Ft)(E({reflectSymbol:function(){return"stickerPrice"}})(Ft)(_e)))))))(E({reflectSymbol:function(){return"hasFinancialProfile"}})(Wn)(E({reflectSymbol:function(){return"initialTab"}})(ie)(NMe(qn(ea(E({reflectSymbol:function(){return"areaOfStudy"}})(ie)(E({reflectSymbol:function(){return"cipCode"}})(ie)(E({reflectSymbol:function(){return"compressedName"}})(ie)(PMe))))))(E({reflectSymbol:function(){return"mapboxAccessToken"}})(Iie)(E({reflectSymbol:function(){return"mobileLayout"}})(Wn)(E({reflectSymbol:function(){return"originUrl"}})(ie)(E({reflectSymbol:function(){return"randomSeed"}})(wt)(E({reflectSymbol:function(){return"recommendedSchools"}})(Ln(qn(ea(OMe(x0)(E({reflectSymbol:function(){return"cityState"}})(Ro)(kMe(E({reflectSymbol:function(){return"imgixImageUrl"}})(ie)(w5(UMe(_e))))))))))(E({reflectSymbol:function(){return"schoolConnection"}})(Ln(ea(E({reflectSymbol:function(){return"initiator"}})(ie)(E({reflectSymbol:function(){return"schoolUsesAiRecruiter"}})(Wn)(HMe)))))(E({reflectSymbol:function(){return"schoolList"}})(mh(ea(E({reflectSymbol:function(){return"applicationRound"}})(ie)(HMe))))(E({reflectSymbol:function(){return"schoolNotes"}})(mh(ie))(E({reflectSymbol:function(){return"showInvitationAcceptedCTA"}})(ie)(E({reflectSymbol:function(){return"showNetworkCard"}})(Wn)(E({reflectSymbol:function(){return"staticSchool"}})(ea(E({reflectSymbol:function(){return"academicOfferings"}})(ea(E({reflectSymbol:function(){return"careerCounseling"}})(Wn)(E({reflectSymbol:function(){return"creditForApExams"}})(Wn)(E({reflectSymbol:function(){return"creditForIbExams"}})(Wn)(E({reflectSymbol:function(){return"hasMedicalSchool"}})(Wn)(E({reflectSymbol:function(){return"offersGradDegree"}})(Wn)(E({reflectSymbol:function(){return"specialFocus"}})(Ro)(E({reflectSymbol:function(){return"studyAbroad"}})(Wn)(_e)))))))))(BMe(ea(E({reflectSymbol:function(){return"nonUSAddress"}})(Ln(ea(BMe(ie)(E({reflectSymbol:function(){return"country"}})(ie)(JMe(_e))))))(E({reflectSymbol:function(){return"usAddress"}})(Ln(ea(E({reflectSymbol:function(){return"city"}})(ie)(E({reflectSymbol:function(){return"county"}})(ie)(JMe(E({reflectSymbol:function(){return"region"}})(ie)(E({reflectSymbol:function(){return"state"}})(ie)(E({reflectSymbol:function(){return"street"}})(ie)(E({reflectSymbol:function(){return"zip"}})(ie)(_e))))))))))(_e))))(WMe(ea(OMe(fT)(E({reflectSymbol:function(){return"actComposite"}})(vT)(E({reflectSymbol:function(){return"actMath"}})(vT)(E({reflectSymbol:function(){return"actVerbal"}})(vT)(E({reflectSymbol:function(){return"admitted"}})(kq)(E({reflectSymbol:function(){return"applicants"}})(kq)(E({reflectSymbol:function(){return"enrolled"}})(kq)(E({reflectSymbol:function(){return"fracSubmittedAct"}})(x0)(E({reflectSymbol:function(){return"fracSubmittedSat"}})(x0)(E({reflectSymbol:function(){return"reqClassRank"}})(Ro)(E({reflectSymbol:function(){return"reqRecLetters"}})(Ro)(E({reflectSymbol:function(){return"reqStandardTests"}})(Ro)(E({reflectSymbol:function(){return"reqToefl"}})(Ro)(E({reflectSymbol:function(){return"satMath"}})(vT)(E({reflectSymbol:function(){return"satVerbal"}})(vT)(E({reflectSymbol:function(){return"totalApplicants"}})(VMe)(E({reflectSymbol:function(){return"yieldRate"}})(fT)(_e)))))))))))))))))))(E({reflectSymbol:function(){return"appGroup"}})(Ro)(E({reflectSymbol:function(){return"applicationTimeHours"}})(wt)(E({reflectSymbol:function(){return"averageFederalLoan"}})(ei)(E({reflectSymbol:function(){return"averageNetPrice"}})(Ln(ea(E({reflectSymbol:function(){return"quintile1"}})(Ft)(E({reflectSymbol:function(){return"quintile2"}})(Ft)(E({reflectSymbol:function(){return"quintile3"}})(Ft)(E({reflectSymbol:function(){return"quintile4"}})(Ft)(E({reflectSymbol:function(){return"quintile5"}})(Ft)(_e))))))))(E({reflectSymbol:function(){return"basketball"}})(QMe)(E({reflectSymbol:function(){return"calendarSystem"}})(ie)(E({reflectSymbol:function(){return"chancing"}})(ea(E({reflectSymbol:function(){return"canChance"}})(Wn)(E({reflectSymbol:function(){return"endorsed"}})(Wn)(E({reflectSymbol:function(){return"moreInfoLink"}})(Ro)(_e)))))(E({reflectSymbol:function(){return"colors"}})(ea(E({reflectSymbol:function(){return"primary"}})(Ro)(E({reflectSymbol:function(){return"secondary"}})(Ro)(_e))))(E({reflectSymbol:function(){return"costRoomBoard"}})(ei)(E({reflectSymbol:function(){return"diversity"}})(ie)(E({reflectSymbol:function(){return"dropOutRate"}})(wt)(E({reflectSymbol:function(){return"feesInState"}})(ei)(E({reflectSymbol:function(){return"feesOutOfState"}})(ei)(E({reflectSymbol:function(){return"football"}})(QMe)(E({reflectSymbol:function(){return"fourYearGradRate"}})(x0)(E({reflectSymbol:function(){return"fracInternationalStudents"}})(fT)(E({reflectSymbol:function(){return"fracLoans"}})(Ft)(E({reflectSymbol:function(){return"fracPellGrants"}})(Ft)(E({reflectSymbol:function(){return"gender"}})(ie)(E({reflectSymbol:function(){return"hasFourYearProgram"}})(Wn)(E({reflectSymbol:function(){return"hasOnCampusHousing"}})(Wn)(E({reflectSymbol:function(){return"hasTwoYearProgram"}})(Wn)(E({reflectSymbol:function(){return"hbcu"}})(Wn)(kMe(E({reflectSymbol:function(){return"imgixPath"}})(ie)(E({reflectSymbol:function(){return"ipedsUnitId"}})(Ro)(E({reflectSymbol:function(){return"isCommuterCollege"}})(Wn)(E({reflectSymbol:function(){return"isForProfit"}})(Wn)(E({reflectSymbol:function(){return"isPublic"}})(Wn)(NMe(qn(ie))(w5(E({reflectSymbol:function(){return"numFreshmen"}})(VMe)(E({reflectSymbol:function(){return"phone"}})(ie)(E({reflectSymbol:function(){return"prestige"}})(ie)(E({reflectSymbol:function(){return"profileClaimed"}})(Wn)(E({reflectSymbol:function(){return"racialBreakdown"}})(Ln(ea(E({reflectSymbol:function(){return"asian"}})(Ft)(E({reflectSymbol:function(){return"black"}})(Ft)(E({reflectSymbol:function(){return"hispanic"}})(Ft)(E({reflectSymbol:function(){return"nativeAmerican"}})(Ft)(E({reflectSymbol:function(){return"white"}})(Ft)(_e))))))))(E({reflectSymbol:function(){return"rankings"}})(qn(ea(E({reflectSymbol:function(){return"bucket"}})(ie)(E({reflectSymbol:function(){return"key"}})(ie)(E({reflectSymbol:function(){return"order"}})(wt)(_e))))))(E({reflectSymbol:function(){return"religiousAffiliation"}})(ie)(E({reflectSymbol:function(){return"retentionRate"}})(fT)(E({reflectSymbol:function(){return"schoolType"}})(ie)(E({reflectSymbol:function(){return"setting"}})(ie)(E({reflectSymbol:function(){return"sixYearGradRate"}})(fT)(UMe(E({reflectSymbol:function(){return"studentsPerFaculty"}})($Me)(E({reflectSymbol:function(){return"testScoreStats"}})(Ln(ea(Lq(ea(YMe(GMe(RR)(XMe(_e)))))(Pq(ea(xq(MMe)(_e)))(Oq(ea(YMe(XMe(jMe(RR)(_e)))))(_e))))))(E({reflectSymbol:function(){return"totalUndergrads"}})(wt)(E({reflectSymbol:function(){return"tuitionInState"}})(ei)(E({reflectSymbol:function(){return"tuitionOutOfState"}})(ei)(E({reflectSymbol:function(){return"urls"}})(ea(WMe(Ro)(E({reflectSymbol:function(){return"finAid"}})(Ro)(E({reflectSymbol:function(){return"main"}})(ie)(E({reflectSymbol:function(){return"priceCalculator"}})(Ro)(_e))))))(_e))))))))))))))))))))))))))))))))))))))))))))))))))))))(E({reflectSymbol:function(){return"vineBelowConnectionLimit"}})(Ln(Wn))(_e))))))))))))))))))))))))({diagnosticName:"EntryPoints.SchoolDetails",def:e})}();return Jyn;})(); /* 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. */ /*! 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. */