var Purs_EntryPoints_SchoolDetails=(()=>{var T4e=Object.create;var xR=Object.defineProperty,F4e=Object.defineProperties,M4e=Object.getOwnPropertyDescriptor,G4e=Object.getOwnPropertyDescriptors,A4e=Object.getOwnPropertyNames,Rz=Object.getOwnPropertySymbols,x4e=Object.getPrototypeOf,wz=Object.prototype.hasOwnProperty,L4e=Object.prototype.propertyIsEnumerable;var Sz=(e,n,t)=>n in e?xR(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,xa=(e,n)=>{for(var t in n||(n={}))wz.call(n,t)&&Sz(e,t,n[t]);if(Rz)for(var t of Rz(n))L4e.call(n,t)&&Sz(e,t,n[t]);return e},ni=(e,n)=>F4e(e,G4e(n)),Ez=e=>xR(e,"__esModule",{value:!0});var j4e=(e,n)=>()=>(e&&(n=e(e=0)),n);var Ne=(e,n)=>()=>(n||e((n={exports:{}}).exports,n),n.exports),MT=(e,n)=>{Ez(e);for(var t in n)xR(e,t,{get:n[t],enumerable:!0})},N4e=(e,n,t)=>{if(n&&typeof n=="object"||typeof n=="function")for(let a of A4e(n))!wz.call(e,a)&&a!=="default"&&xR(e,a,{get:()=>n[a],enumerable:!(t=M4e(n,a))||t.enumerable});return e},ya=e=>N4e(Ez(xR(e!=null?T4e(x4e(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var u1={};MT(u1,{Children:()=>Ch,Component:()=>Ih,Fragment:()=>v8,Suspense:()=>A7e,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>M7e,cloneElement:()=>Nw,createContext:()=>f8,createElement:()=>Na,createRef:()=>EF,default:()=>Et,forwardRef:()=>ic,isValidElement:()=>m8,lazy:()=>G7e,useCallback:()=>Pw,useContext:()=>x7e,useEffect:()=>gr,useImperativeHandle:()=>am,useLayoutEffect:()=>Ow,useMemo:()=>kw,useReducer:()=>L7e,useRef:()=>Ma,useState:()=>yf,version:()=>j7e});var Et,M7e,Ch,Nw,Ih,f8,Na,EF,ic,v8,m8,G7e,A7e,Pw,x7e,gr,am,Ow,kw,L7e,Ma,yf,j7e,$t=j4e(()=>{Et=window.React,{__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:M7e,Children:Ch,cloneElement:Nw,Component:Ih,createContext:f8,createElement:Na,createRef:EF,forwardRef:ic,Fragment:v8,isValidElement:m8,lazy:G7e,Suspense:A7e,useCallback:Pw,useContext:x7e,useEffect:gr,useImperativeHandle:am,useLayoutEffect:Ow,useMemo:kw,useReducer:L7e,useRef:Ma,useState:yf,version:j7e}=window.React});var LF=Ne((Nqn,rX)=>{"use strict";var aX=Object.getOwnPropertySymbols,X7e=Object.prototype.hasOwnProperty,Z7e=Object.prototype.propertyIsEnumerable;function K7e(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function e5e(){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}}rX.exports=e5e()?Object.assign:function(e,n){for(var t,a=K7e(e),r,o=1;o{"use strict";var h8=LF(),c1=60103,oX=60106;ka.Fragment=60107;ka.StrictMode=60108;ka.Profiler=60114;var iX=60109,uX=60110,lX=60112;ka.Suspense=60113;var cX=60115,sX=60116;typeof Symbol=="function"&&Symbol.for&&(us=Symbol.for,c1=us("react.element"),oX=us("react.portal"),ka.Fragment=us("react.fragment"),ka.StrictMode=us("react.strict_mode"),ka.Profiler=us("react.profiler"),iX=us("react.provider"),uX=us("react.context"),lX=us("react.forward_ref"),ka.Suspense=us("react.suspense"),cX=us("react.memo"),sX=us("react.lazy"));var us,fX=typeof Symbol=="function"&&Symbol.iterator;function n5e(e){return e===null||typeof e!="object"?null:(e=fX&&e[fX]||e["@@iterator"],typeof e=="function"?e:null)}function zw(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t{"use strict";bX.exports=yX()});var WX=Ne(f1=>{"use strict";var bf=LF(),om=ls();function uo(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;tQw;Qw++)lu[Qw]=Qw+1;var lu,Qw;lu[15]=0;var l5e=/^[: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]*$/,TX=Object.prototype.hasOwnProperty,FX={},MX={};function GX(e){return TX.call(MX,e)?!0:TX.call(FX,e)?!1:l5e.test(e)?MX[e]=!0:(FX[e]=!0,!1)}function c5e(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 s5e(e,n,t,a){if(n===null||typeof n=="undefined"||c5e(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 Qu(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 cu={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){cu[e]=new Qu(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];cu[n]=new Qu(n,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){cu[e]=new Qu(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){cu[e]=new Qu(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){cu[e]=new Qu(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){cu[e]=new Qu(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){cu[e]=new Qu(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){cu[e]=new Qu(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){cu[e]=new Qu(e,5,!1,e.toLowerCase(),null,!1,!1)});var G8=/[\-:]([a-z])/g;function A8(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(G8,A8);cu[n]=new Qu(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(G8,A8);cu[n]=new Qu(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(G8,A8);cu[n]=new Qu(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){cu[e]=new Qu(e,1,!1,e.toLowerCase(),null,!1,!1)});cu.xlinkHref=new Qu("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){cu[e]=new Qu(e,1,!1,e.toLowerCase(),null,!0,!0)});var f5e=/["'&<>]/;function Fh(e){if(typeof e=="boolean"||typeof e=="number")return""+e;e=""+e;var n=f5e.exec(e);if(n){var t="",a,r=0;for(a=n.index;aBF))throw Error(uo(301));if(e===Hv)if(HF=!0,e={action:t,next:null},Up===null&&(Up=new Map),t=Up.get(n),t===void 0)Up.set(n,e);else{for(n=t;n.next!==null;)n=n.next;n.next=e}}function L8(){}var Gh=null,d5e={readContext:function(e){var n=Gh.threadID;return Vw(e,n),e[n]},useContext:function(e){Mh();var n=Gh.threadID;return Vw(e,n),e[n]},useMemo:PX,useReducer:NX,useRef:function(e){Hv=Mh(),Fr=x8();var n=Fr.memoizedState;return n===null?(e={current:e},Fr.memoizedState=e):n},useState:function(e){return NX(jX,e)},useLayoutEffect:function(){},useCallback:function(e,n){return PX(function(){return e},n)},useImperativeHandle:L8,useEffect:L8,useDebugValue:L8,useDeferredValue:function(e){return Mh(),e},useTransition:function(){return Mh(),[function(e){e()},!1]},useOpaqueIdentifier:function(){return(Gh.identifierPrefix||"")+"R:"+(Gh.uniqueID++).toString(36)},useMutableSource:function(e,n){return Mh(),n(e._source)}},OX={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function kX(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 UX={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},h5e=bf({menuitem:!0},UX),Xw={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},g5e=["Webkit","ms","Moz","O"];Object.keys(Xw).forEach(function(e){g5e.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),Xw[n]=Xw[e]})});var D5e=/([A-Z])/g,y5e=/^ms-/,Hp=om.Children.toArray,j8=i5e.ReactCurrentDispatcher,b5e={listing:!0,pre:!0,textarea:!0},R5e=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,HX={},N8={};function w5e(e){if(e==null)return e;var n="";return om.Children.forEach(e,function(t){t!=null&&(n+=t)}),n}var S5e=Object.prototype.hasOwnProperty,E5e={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function BX(e,n){if(e===void 0)throw Error(uo(152,$w(n)||"Component"))}function C5e(e,n,t){function a(i,u){var l=u.prototype&&u.prototype.isReactComponent,c=u5e(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=bf({},l.state,m))}}else if(Hv={},l=u(i.props,c,v),l=xX(u,i.props,l,c),l==null||l.render==null){e=l,BX(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(uo(304));var l=new Uint16Array(u);for(l.set(i),lu=l,lu[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===OF)this.popProvider(l.type);else if(l.type===kF){this.suspenseDepth--;var s=o.pop();if(i){i=!1;var f=l.fallbackFrame;if(!f)throw Error(uo(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(uo(294)):_}finally{}o.length<=this.suspenseDepth&&o.push(""),o[this.suspenseDepth]+=m}}return o[0]}finally{j8.current=r,Gh=a,LX()}},n.render=function(t,a,r){if(typeof t=="string"||typeof t=="number")return r=""+t,r===""?"":this.makeStaticMarkup?Fh(r):this.previousWasTextNode?""+Fh(r):(this.previousWasTextNode=!0,Fh(r));if(a=C5e(t,a,this.threadID),t=a.child,a=a.context,t===null||t===!1)return"";if(!om.isValidElement(t)){if(t!=null&&t.$$typeof!=null)throw r=t.$$typeof,Error(r===w8?uo(257):uo(258,r.toString()));return t=Hp(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 CX:case EX:case S8:case E8:case T8:case PF:return t=Hp(t.props.children),this.stack.push({type:null,domNamespace:r,children:t,childIndex:0,context:a,footer:""}),"";case kF:throw Error(uo(294));case SX:throw Error(uo(343))}if(typeof o=="object"&&o!==null)switch(o.$$typeof){case I8:Hv={};var i=o.render(t.props,t.ref);return i=xX(o.render,t.props,i,t.ref),i=Hp(i),this.stack.push({type:null,domNamespace:r,children:i,childIndex:0,context:a,footer:""}),"";case F8:return t=[om.createElement(o.type,bf({ref:t.ref},t.props))],this.stack.push({type:null,domNamespace:r,children:t,childIndex:0,context:a,footer:""}),"";case OF:return o=Hp(t.props.children),r={type:t,domNamespace:r,children:o,childIndex:0,context:a,footer:""},this.pushProvider(t),this.stack.push(r),"";case C8:o=t.type,i=t.props;var u=this.threadID;return Vw(o,u),o=Hp(i.children(o[u])),this.stack.push({type:t,domNamespace:r,children:o,childIndex:0,context:a,footer:""}),"";case wX:throw Error(uo(338));case M8:return o=t.type,i=o._init,o=i(o._payload),t=[om.createElement(o,bf({ref:t.ref},t.props))],this.stack.push({type:null,domNamespace:r,children:t,childIndex:0,context:a,footer:""}),""}throw Error(uo(130,o==null?o:typeof o,""))},n.renderDOM=function(t,a,r){var o=t.type.toLowerCase();if(r===OX.html&&kX(o),!HX.hasOwnProperty(o)){if(!R5e.test(o))throw Error(uo(65,o));HX[o]=!0}var i=t.props;if(o==="input")i=bf({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(uo(92));if(Array.isArray(l)){if(!(1>=l.length))throw Error(uo(93));l=l[0]}u=""+l}u==null&&(u="")}i=bf({},i,{value:void 0,children:""+u})}else if(o==="select")this.currentSelectValue=i.value!=null?i.value:i.defaultValue,i=bf({},i,{value:void 0});else if(o==="option"){l=this.currentSelectValue;var c=w5e(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=Fh(l);break e}l=null}return l!=null?(i=[],b5e.hasOwnProperty(o)&&l.charAt(0)===` `&&(P+=` `),P+=l):i=Hp(i.children),t=t.type,r=r==null||r==="http://www.w3.org/1999/xhtml"?kX(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}();f1.renderToNodeStream=function(){throw Error(uo(207))};f1.renderToStaticMarkup=function(e,n){e=new JX(e,!0,n);try{return e.read(1/0)}finally{e.destroy()}};f1.renderToStaticNodeStream=function(){throw Error(uo(208))};f1.renderToString=function(e,n){e=new JX(e,!1,n);try{return e.read(1/0)}finally{e.destroy()}};f1.version="17.0.2"});var zX=Ne((Uqn,qX)=>{"use strict";qX.exports=WX()});var jle=Ne(vr=>{"use strict";var Xi=typeof Symbol=="function"&&Symbol.for,sN=Xi?Symbol.for("react.element"):60103,fN=Xi?Symbol.for("react.portal"):60106,a4=Xi?Symbol.for("react.fragment"):60107,r4=Xi?Symbol.for("react.strict_mode"):60108,o4=Xi?Symbol.for("react.profiler"):60114,i4=Xi?Symbol.for("react.provider"):60109,u4=Xi?Symbol.for("react.context"):60110,vN=Xi?Symbol.for("react.async_mode"):60111,l4=Xi?Symbol.for("react.concurrent_mode"):60111,c4=Xi?Symbol.for("react.forward_ref"):60112,s4=Xi?Symbol.for("react.suspense"):60113,aJe=Xi?Symbol.for("react.suspense_list"):60120,f4=Xi?Symbol.for("react.memo"):60115,v4=Xi?Symbol.for("react.lazy"):60116,rJe=Xi?Symbol.for("react.block"):60121,oJe=Xi?Symbol.for("react.fundamental"):60117,iJe=Xi?Symbol.for("react.responder"):60118,uJe=Xi?Symbol.for("react.scope"):60119;function Gc(e){if(typeof e=="object"&&e!==null){var n=e.$$typeof;switch(n){case sN:switch(e=e.type,e){case vN:case l4:case a4:case o4:case r4:case s4:return e;default:switch(e=e&&e.$$typeof,e){case u4:case c4:case v4:case f4:case i4:return e;default:return n}}case fN:return n}}}function Lle(e){return Gc(e)===l4}vr.AsyncMode=vN;vr.ConcurrentMode=l4;vr.ContextConsumer=u4;vr.ContextProvider=i4;vr.Element=sN;vr.ForwardRef=c4;vr.Fragment=a4;vr.Lazy=v4;vr.Memo=f4;vr.Portal=fN;vr.Profiler=o4;vr.StrictMode=r4;vr.Suspense=s4;vr.isAsyncMode=function(e){return Lle(e)||Gc(e)===vN};vr.isConcurrentMode=Lle;vr.isContextConsumer=function(e){return Gc(e)===u4};vr.isContextProvider=function(e){return Gc(e)===i4};vr.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===sN};vr.isForwardRef=function(e){return Gc(e)===c4};vr.isFragment=function(e){return Gc(e)===a4};vr.isLazy=function(e){return Gc(e)===v4};vr.isMemo=function(e){return Gc(e)===f4};vr.isPortal=function(e){return Gc(e)===fN};vr.isProfiler=function(e){return Gc(e)===o4};vr.isStrictMode=function(e){return Gc(e)===r4};vr.isSuspense=function(e){return Gc(e)===s4};vr.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===a4||e===l4||e===o4||e===r4||e===s4||e===aJe||typeof e=="object"&&e!==null&&(e.$$typeof===v4||e.$$typeof===f4||e.$$typeof===i4||e.$$typeof===u4||e.$$typeof===c4||e.$$typeof===oJe||e.$$typeof===iJe||e.$$typeof===uJe||e.$$typeof===rJe)};vr.typeOf=Gc});var Ple=Ne((cca,Nle)=>{"use strict";Nle.exports=jle()});var k_=Ne((wca,_4)=>{(function(){"use strict";var e={}.hasOwnProperty;function n(){for(var r="",o=0;o{function $Je(){this.__data__=[],this.size=0}Tce.exports=$Je});var jN=Ne((mfa,Mce)=>{function VJe(e,n){return e===n||e!==e&&n!==n}Mce.exports=VJe});var kE=Ne((pfa,Gce)=>{var QJe=jN();function YJe(e,n){for(var t=e.length;t--;)if(QJe(e[t][0],n))return t;return-1}Gce.exports=YJe});var xce=Ne((_fa,Ace)=>{var XJe=kE(),ZJe=Array.prototype,KJe=ZJe.splice;function eWe(e){var n=this.__data__,t=XJe(n,e);if(t<0)return!1;var a=n.length-1;return t==a?n.pop():KJe.call(n,t,1),--this.size,!0}Ace.exports=eWe});var jce=Ne((dfa,Lce)=>{var nWe=kE();function tWe(e){var n=this.__data__,t=nWe(n,e);return t<0?void 0:n[t][1]}Lce.exports=tWe});var Pce=Ne((hfa,Nce)=>{var aWe=kE();function rWe(e){return aWe(this.__data__,e)>-1}Nce.exports=rWe});var kce=Ne((gfa,Oce)=>{var oWe=kE();function iWe(e,n){var t=this.__data__,a=oWe(t,e);return a<0?(++this.size,t.push([e,n])):t[a][1]=n,this}Oce.exports=iWe});var UE=Ne((Dfa,Uce)=>{var uWe=Fce(),lWe=xce(),cWe=jce(),sWe=Pce(),fWe=kce();function Ny(e){var n=-1,t=e==null?0:e.length;for(this.clear();++n{var vWe=UE();function mWe(){this.__data__=new vWe,this.size=0}Hce.exports=mWe});var Wce=Ne((bfa,Jce)=>{function pWe(e){var n=this.__data__,t=n.delete(e);return this.size=n.size,t}Jce.exports=pWe});var zce=Ne((Rfa,qce)=>{function _We(e){return this.__data__.get(e)}qce.exports=_We});var Vce=Ne((wfa,$ce)=>{function dWe(e){return this.__data__.has(e)}$ce.exports=dWe});var NN=Ne((Sfa,Qce)=>{var hWe=typeof global=="object"&&global&&global.Object===Object&&global;Qce.exports=hWe});var v0=Ne((Efa,Yce)=>{var gWe=NN(),DWe=typeof self=="object"&&self&&self.Object===Object&&self,yWe=gWe||DWe||Function("return this")();Yce.exports=yWe});var N4=Ne((Cfa,Xce)=>{var bWe=v0(),RWe=bWe.Symbol;Xce.exports=RWe});var nse=Ne((Ifa,ese)=>{var Zce=N4(),Kce=Object.prototype,wWe=Kce.hasOwnProperty,SWe=Kce.toString,HE=Zce?Zce.toStringTag:void 0;function EWe(e){var n=wWe.call(e,HE),t=e[HE];try{e[HE]=void 0;var a=!0}catch{}var r=SWe.call(e);return a&&(n?e[HE]=t:delete e[HE]),r}ese.exports=EWe});var ase=Ne((Tfa,tse)=>{var CWe=Object.prototype,IWe=CWe.toString;function TWe(e){return IWe.call(e)}tse.exports=TWe});var BE=Ne((Ffa,ise)=>{var rse=N4(),FWe=nse(),MWe=ase(),GWe="[object Null]",AWe="[object Undefined]",ose=rse?rse.toStringTag:void 0;function xWe(e){return e==null?e===void 0?AWe:GWe:ose&&ose in Object(e)?FWe(e):MWe(e)}ise.exports=xWe});var PN=Ne((Mfa,use)=>{function LWe(e){var n=typeof e;return e!=null&&(n=="object"||n=="function")}use.exports=LWe});var ON=Ne((Gfa,lse)=>{var jWe=BE(),NWe=PN(),PWe="[object AsyncFunction]",OWe="[object Function]",kWe="[object GeneratorFunction]",UWe="[object Proxy]";function HWe(e){if(!NWe(e))return!1;var n=jWe(e);return n==OWe||n==kWe||n==PWe||n==UWe}lse.exports=HWe});var sse=Ne((Afa,cse)=>{var BWe=v0(),JWe=BWe["__core-js_shared__"];cse.exports=JWe});var mse=Ne((xfa,vse)=>{var kN=sse(),fse=function(){var e=/[^.]+$/.exec(kN&&kN.keys&&kN.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function WWe(e){return!!fse&&fse in e}vse.exports=WWe});var UN=Ne((Lfa,pse)=>{var qWe=Function.prototype,zWe=qWe.toString;function $We(e){if(e!=null){try{return zWe.call(e)}catch{}try{return e+""}catch{}}return""}pse.exports=$We});var dse=Ne((jfa,_se)=>{var VWe=ON(),QWe=mse(),YWe=PN(),XWe=UN(),ZWe=/[\\^$.*+?()[\]{}|]/g,KWe=/^\[object .+?Constructor\]$/,eqe=Function.prototype,nqe=Object.prototype,tqe=eqe.toString,aqe=nqe.hasOwnProperty,rqe=RegExp("^"+tqe.call(aqe).replace(ZWe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function oqe(e){if(!YWe(e)||QWe(e))return!1;var n=VWe(e)?rqe:KWe;return n.test(XWe(e))}_se.exports=oqe});var gse=Ne((Nfa,hse)=>{function iqe(e,n){return e==null?void 0:e[n]}hse.exports=iqe});var hg=Ne((Pfa,Dse)=>{var uqe=dse(),lqe=gse();function cqe(e,n){var t=lqe(e,n);return uqe(t)?t:void 0}Dse.exports=cqe});var P4=Ne((Ofa,yse)=>{var sqe=hg(),fqe=v0(),vqe=sqe(fqe,"Map");yse.exports=vqe});var JE=Ne((kfa,bse)=>{var mqe=hg(),pqe=mqe(Object,"create");bse.exports=pqe});var Sse=Ne((Ufa,wse)=>{var Rse=JE();function _qe(){this.__data__=Rse?Rse(null):{},this.size=0}wse.exports=_qe});var Cse=Ne((Hfa,Ese)=>{function dqe(e){var n=this.has(e)&&delete this.__data__[e];return this.size-=n?1:0,n}Ese.exports=dqe});var Tse=Ne((Bfa,Ise)=>{var hqe=JE(),gqe="__lodash_hash_undefined__",Dqe=Object.prototype,yqe=Dqe.hasOwnProperty;function bqe(e){var n=this.__data__;if(hqe){var t=n[e];return t===gqe?void 0:t}return yqe.call(n,e)?n[e]:void 0}Ise.exports=bqe});var Mse=Ne((Jfa,Fse)=>{var Rqe=JE(),wqe=Object.prototype,Sqe=wqe.hasOwnProperty;function Eqe(e){var n=this.__data__;return Rqe?n[e]!==void 0:Sqe.call(n,e)}Fse.exports=Eqe});var Ase=Ne((Wfa,Gse)=>{var Cqe=JE(),Iqe="__lodash_hash_undefined__";function Tqe(e,n){var t=this.__data__;return this.size+=this.has(e)?0:1,t[e]=Cqe&&n===void 0?Iqe:n,this}Gse.exports=Tqe});var Lse=Ne((qfa,xse)=>{var Fqe=Sse(),Mqe=Cse(),Gqe=Tse(),Aqe=Mse(),xqe=Ase();function Py(e){var n=-1,t=e==null?0:e.length;for(this.clear();++n{var jse=Lse(),Lqe=UE(),jqe=P4();function Nqe(){this.size=0,this.__data__={hash:new jse,map:new(jqe||Lqe),string:new jse}}Nse.exports=Nqe});var kse=Ne(($fa,Ose)=>{function Pqe(e){var n=typeof e;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?e!=="__proto__":e===null}Ose.exports=Pqe});var WE=Ne((Vfa,Use)=>{var Oqe=kse();function kqe(e,n){var t=e.__data__;return Oqe(n)?t[typeof n=="string"?"string":"hash"]:t.map}Use.exports=kqe});var Bse=Ne((Qfa,Hse)=>{var Uqe=WE();function Hqe(e){var n=Uqe(this,e).delete(e);return this.size-=n?1:0,n}Hse.exports=Hqe});var Wse=Ne((Yfa,Jse)=>{var Bqe=WE();function Jqe(e){return Bqe(this,e).get(e)}Jse.exports=Jqe});var zse=Ne((Xfa,qse)=>{var Wqe=WE();function qqe(e){return Wqe(this,e).has(e)}qse.exports=qqe});var Vse=Ne((Zfa,$se)=>{var zqe=WE();function $qe(e,n){var t=zqe(this,e),a=t.size;return t.set(e,n),this.size+=t.size==a?0:1,this}$se.exports=$qe});var HN=Ne((Kfa,Qse)=>{var Vqe=Pse(),Qqe=Bse(),Yqe=Wse(),Xqe=zse(),Zqe=Vse();function Oy(e){var n=-1,t=e==null?0:e.length;for(this.clear();++n{var Kqe=UE(),eze=P4(),nze=HN(),tze=200;function aze(e,n){var t=this.__data__;if(t instanceof Kqe){var a=t.__data__;if(!eze||a.length{var rze=UE(),oze=Bce(),ize=Wce(),uze=zce(),lze=Vce(),cze=Xse();function ky(e){var n=this.__data__=new rze(e);this.size=n.size}ky.prototype.clear=oze;ky.prototype.delete=ize;ky.prototype.get=uze;ky.prototype.has=lze;ky.prototype.set=cze;Zse.exports=ky});var nfe=Ne((tva,efe)=>{var sze="__lodash_hash_undefined__";function fze(e){return this.__data__.set(e,sze),this}efe.exports=fze});var afe=Ne((ava,tfe)=>{function vze(e){return this.__data__.has(e)}tfe.exports=vze});var ofe=Ne((rva,rfe)=>{var mze=HN(),pze=nfe(),_ze=afe();function O4(e){var n=-1,t=e==null?0:e.length;for(this.__data__=new mze;++n{function dze(e,n){for(var t=-1,a=e==null?0:e.length;++t{function hze(e,n){return e.has(n)}lfe.exports=hze});var BN=Ne((uva,sfe)=>{var gze=ofe(),Dze=ufe(),yze=cfe(),bze=1,Rze=2;function wze(e,n,t,a,r,o){var i=t&bze,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&Rze?new gze:void 0;for(o.set(e,n),o.set(n,e);++f{var Sze=v0(),Eze=Sze.Uint8Array;ffe.exports=Eze});var pfe=Ne((cva,mfe)=>{function Cze(e){var n=-1,t=Array(e.size);return e.forEach(function(a,r){t[++n]=[r,a]}),t}mfe.exports=Cze});var dfe=Ne((sva,_fe)=>{function Ize(e){var n=-1,t=Array(e.size);return e.forEach(function(a){t[++n]=a}),t}_fe.exports=Ize});var bfe=Ne((fva,yfe)=>{var hfe=N4(),gfe=vfe(),Tze=jN(),Fze=BN(),Mze=pfe(),Gze=dfe(),Aze=1,xze=2,Lze="[object Boolean]",jze="[object Date]",Nze="[object Error]",Pze="[object Map]",Oze="[object Number]",kze="[object RegExp]",Uze="[object Set]",Hze="[object String]",Bze="[object Symbol]",Jze="[object ArrayBuffer]",Wze="[object DataView]",Dfe=hfe?hfe.prototype:void 0,JN=Dfe?Dfe.valueOf:void 0;function qze(e,n,t,a,r,o,i){switch(t){case Wze:if(e.byteLength!=n.byteLength||e.byteOffset!=n.byteOffset)return!1;e=e.buffer,n=n.buffer;case Jze:return!(e.byteLength!=n.byteLength||!o(new gfe(e),new gfe(n)));case Lze:case jze:case Oze:return Tze(+e,+n);case Nze:return e.name==n.name&&e.message==n.message;case kze:case Hze:return e==n+"";case Pze:var u=Mze;case Uze:var l=a&Aze;if(u||(u=Gze),e.size!=n.size&&!l)return!1;var c=i.get(e);if(c)return c==n;a|=xze,i.set(e,n);var s=Fze(u(e),u(n),a,r,o,i);return i.delete(e),s;case Bze:if(JN)return JN.call(e)==JN.call(n)}return!1}yfe.exports=qze});var wfe=Ne((vva,Rfe)=>{function zze(e,n){for(var t=-1,a=n.length,r=e.length;++t{var $ze=Array.isArray;Sfe.exports=$ze});var Cfe=Ne((pva,Efe)=>{var Vze=wfe(),Qze=k4();function Yze(e,n,t){var a=n(e);return Qze(e)?a:Vze(a,t(e))}Efe.exports=Yze});var Tfe=Ne((_va,Ife)=>{function Xze(e,n){for(var t=-1,a=e==null?0:e.length,r=0,o=[];++t{function Zze(){return[]}Ffe.exports=Zze});var xfe=Ne((hva,Afe)=>{var Kze=Tfe(),e$e=Mfe(),n$e=Object.prototype,t$e=n$e.propertyIsEnumerable,Gfe=Object.getOwnPropertySymbols,a$e=Gfe?function(e){return e==null?[]:(e=Object(e),Kze(Gfe(e),function(n){return t$e.call(e,n)}))}:e$e;Afe.exports=a$e});var jfe=Ne((gva,Lfe)=>{function r$e(e,n){for(var t=-1,a=Array(e);++t{function o$e(e){return e!=null&&typeof e=="object"}Nfe.exports=o$e});var Ofe=Ne((yva,Pfe)=>{var i$e=BE(),u$e=qE(),l$e="[object Arguments]";function c$e(e){return u$e(e)&&i$e(e)==l$e}Pfe.exports=c$e});var Bfe=Ne((bva,Hfe)=>{var kfe=Ofe(),s$e=qE(),Ufe=Object.prototype,f$e=Ufe.hasOwnProperty,v$e=Ufe.propertyIsEnumerable,m$e=kfe(function(){return arguments}())?kfe:function(e){return s$e(e)&&f$e.call(e,"callee")&&!v$e.call(e,"callee")};Hfe.exports=m$e});var Wfe=Ne((Rva,Jfe)=>{function p$e(){return!1}Jfe.exports=p$e});var WN=Ne((zE,Uy)=>{var _$e=v0(),d$e=Wfe(),qfe=typeof zE=="object"&&zE&&!zE.nodeType&&zE,zfe=qfe&&typeof Uy=="object"&&Uy&&!Uy.nodeType&&Uy,h$e=zfe&&zfe.exports===qfe,$fe=h$e?_$e.Buffer:void 0,g$e=$fe?$fe.isBuffer:void 0,D$e=g$e||d$e;Uy.exports=D$e});var Qfe=Ne((wva,Vfe)=>{var y$e=9007199254740991,b$e=/^(?:0|[1-9]\d*)$/;function R$e(e,n){var t=typeof e;return n=n==null?y$e:n,!!n&&(t=="number"||t!="symbol"&&b$e.test(e))&&e>-1&&e%1==0&&e{var w$e=9007199254740991;function S$e(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=w$e}Yfe.exports=S$e});var Zfe=Ne((Eva,Xfe)=>{var E$e=BE(),C$e=qN(),I$e=qE(),T$e="[object Arguments]",F$e="[object Array]",M$e="[object Boolean]",G$e="[object Date]",A$e="[object Error]",x$e="[object Function]",L$e="[object Map]",j$e="[object Number]",N$e="[object Object]",P$e="[object RegExp]",O$e="[object Set]",k$e="[object String]",U$e="[object WeakMap]",H$e="[object ArrayBuffer]",B$e="[object DataView]",J$e="[object Float32Array]",W$e="[object Float64Array]",q$e="[object Int8Array]",z$e="[object Int16Array]",$$e="[object Int32Array]",V$e="[object Uint8Array]",Q$e="[object Uint8ClampedArray]",Y$e="[object Uint16Array]",X$e="[object Uint32Array]",Br={};Br[J$e]=Br[W$e]=Br[q$e]=Br[z$e]=Br[$$e]=Br[V$e]=Br[Q$e]=Br[Y$e]=Br[X$e]=!0;Br[T$e]=Br[F$e]=Br[H$e]=Br[M$e]=Br[B$e]=Br[G$e]=Br[A$e]=Br[x$e]=Br[L$e]=Br[j$e]=Br[N$e]=Br[P$e]=Br[O$e]=Br[k$e]=Br[U$e]=!1;function Z$e(e){return I$e(e)&&C$e(e.length)&&!!Br[E$e(e)]}Xfe.exports=Z$e});var eve=Ne((Cva,Kfe)=>{function K$e(e){return function(n){return e(n)}}Kfe.exports=K$e});var tve=Ne((VE,Hy)=>{var eVe=NN(),nve=typeof VE=="object"&&VE&&!VE.nodeType&&VE,$E=nve&&typeof Hy=="object"&&Hy&&!Hy.nodeType&&Hy,nVe=$E&&$E.exports===nve,zN=nVe&&eVe.process,tVe=function(){try{var e=$E&&$E.require&&$E.require("util").types;return e||zN&&zN.binding&&zN.binding("util")}catch{}}();Hy.exports=tVe});var $N=Ne((Iva,ove)=>{var aVe=Zfe(),rVe=eve(),ave=tve(),rve=ave&&ave.isTypedArray,oVe=rve?rVe(rve):aVe;ove.exports=oVe});var uve=Ne((Tva,ive)=>{var iVe=jfe(),uVe=Bfe(),lVe=k4(),cVe=WN(),sVe=Qfe(),fVe=$N(),vVe=Object.prototype,mVe=vVe.hasOwnProperty;function pVe(e,n){var t=lVe(e),a=!t&&uVe(e),r=!t&&!a&&cVe(e),o=!t&&!a&&!r&&fVe(e),i=t||a||r||o,u=i?iVe(e.length,String):[],l=u.length;for(var c in e)(n||mVe.call(e,c))&&!(i&&(c=="length"||r&&(c=="offset"||c=="parent")||o&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||sVe(c,l)))&&u.push(c);return u}ive.exports=pVe});var cve=Ne((Fva,lve)=>{var _Ve=Object.prototype;function dVe(e){var n=e&&e.constructor,t=typeof n=="function"&&n.prototype||_Ve;return e===t}lve.exports=dVe});var fve=Ne((Mva,sve)=>{function hVe(e,n){return function(t){return e(n(t))}}sve.exports=hVe});var mve=Ne((Gva,vve)=>{var gVe=fve(),DVe=gVe(Object.keys,Object);vve.exports=DVe});var _ve=Ne((Ava,pve)=>{var yVe=cve(),bVe=mve(),RVe=Object.prototype,wVe=RVe.hasOwnProperty;function SVe(e){if(!yVe(e))return bVe(e);var n=[];for(var t in Object(e))wVe.call(e,t)&&t!="constructor"&&n.push(t);return n}pve.exports=SVe});var hve=Ne((xva,dve)=>{var EVe=ON(),CVe=qN();function IVe(e){return e!=null&&CVe(e.length)&&!EVe(e)}dve.exports=IVe});var Dve=Ne((Lva,gve)=>{var TVe=uve(),FVe=_ve(),MVe=hve();function GVe(e){return MVe(e)?TVe(e):FVe(e)}gve.exports=GVe});var bve=Ne((jva,yve)=>{var AVe=Cfe(),xVe=xfe(),LVe=Dve();function jVe(e){return AVe(e,LVe,xVe)}yve.exports=jVe});var Sve=Ne((Nva,wve)=>{var Rve=bve(),NVe=1,PVe=Object.prototype,OVe=PVe.hasOwnProperty;function kVe(e,n,t,a,r,o){var i=t&NVe,u=Rve(e),l=u.length,c=Rve(n),s=c.length;if(l!=s&&!i)return!1;for(var f=l;f--;){var v=u[f];if(!(i?v in n:OVe.call(n,v)))return!1}var m=o.get(e),_=o.get(n);if(m&&_)return m==n&&_==e;var R=!0;o.set(e,n),o.set(n,e);for(var D=i;++f{var UVe=hg(),HVe=v0(),BVe=UVe(HVe,"DataView");Eve.exports=BVe});var Tve=Ne((Ova,Ive)=>{var JVe=hg(),WVe=v0(),qVe=JVe(WVe,"Promise");Ive.exports=qVe});var Mve=Ne((kva,Fve)=>{var zVe=hg(),$Ve=v0(),VVe=zVe($Ve,"Set");Fve.exports=VVe});var Ave=Ne((Uva,Gve)=>{var QVe=hg(),YVe=v0(),XVe=QVe(YVe,"WeakMap");Gve.exports=XVe});var Uve=Ne((Hva,kve)=>{var VN=Cve(),QN=P4(),YN=Tve(),XN=Mve(),ZN=Ave(),xve=BE(),By=UN(),Lve="[object Map]",ZVe="[object Object]",jve="[object Promise]",Nve="[object Set]",Pve="[object WeakMap]",Ove="[object DataView]",KVe=By(VN),eQe=By(QN),nQe=By(YN),tQe=By(XN),aQe=By(ZN),gg=xve;(VN&&gg(new VN(new ArrayBuffer(1)))!=Ove||QN&&gg(new QN)!=Lve||YN&&gg(YN.resolve())!=jve||XN&&gg(new XN)!=Nve||ZN&&gg(new ZN)!=Pve)&&(gg=function(e){var n=xve(e),t=n==ZVe?e.constructor:void 0,a=t?By(t):"";if(a)switch(a){case KVe:return Ove;case eQe:return Lve;case nQe:return jve;case tQe:return Nve;case aQe:return Pve}return n});kve.exports=gg});var Vve=Ne((Bva,$ve)=>{var KN=Kse(),rQe=BN(),oQe=bfe(),iQe=Sve(),Hve=Uve(),Bve=k4(),Jve=WN(),uQe=$N(),lQe=1,Wve="[object Arguments]",qve="[object Array]",U4="[object Object]",cQe=Object.prototype,zve=cQe.hasOwnProperty;function sQe(e,n,t,a,r,o){var i=Bve(e),u=Bve(n),l=i?qve:Hve(e),c=u?qve:Hve(n);l=l==Wve?U4:l,c=c==Wve?U4:c;var s=l==U4,f=c==U4,v=l==c;if(v&&Jve(e)){if(!Jve(n))return!1;i=!0,s=!1}if(v&&!s)return o||(o=new KN),i||uQe(e)?rQe(e,n,t,a,r,o):oQe(e,n,l,t,a,r,o);if(!(t&lQe)){var m=s&&zve.call(e,"__wrapped__"),_=f&&zve.call(n,"__wrapped__");if(m||_){var R=m?e.value():e,D=_?n.value():n;return o||(o=new KN),r(R,D,t,a,o)}}return v?(o||(o=new KN),iQe(e,n,t,a,r,o)):!1}$ve.exports=sQe});var Zve=Ne((Jva,Xve)=>{var fQe=Vve(),Qve=qE();function Yve(e,n,t,a,r){return e===n?!0:e==null||n==null||!Qve(e)&&!Qve(n)?e!==e&&n!==n:fQe(e,n,t,a,Yve,r)}Xve.exports=Yve});var e0e=Ne((Wva,Kve)=>{var vQe=Zve();function mQe(e,n){return vQe(e,n)}Kve.exports=mQe});var j0e=Ne((Pma,HQe)=>{HQe.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 Y4=Ne(tC=>{"use strict";Object.defineProperty(tC,"__esModule",{value:!0});tC.Direction=void 0;var dXe;(function(e){e.Right="to right",e.Left="to left",e.Down="to bottom",e.Up="to top"})(dXe=tC.Direction||(tC.Direction={}))});var MP=Ne(Yt=>{"use strict";var aC=Yt&&Yt.__spreadArray||function(e,n,t){if(t||arguments.length===2)for(var a=0,r=n.length,o;ae)return l;if(c&&ca)return a;if(e=t)throw new RangeError("min (".concat(n,") is equal/bigger than max (").concat(t,")"));if(et)throw new RangeError("value (".concat(e,") is bigger than max (").concat(t,")"))}Yt.checkBoundaries=RXe;function wXe(e,n,t){return et?t:e}Yt.checkValuesAgainstBoundaries=wXe;function SXe(e){if(!(e.length<2)&&!e.slice(1).every(function(n,t){return e[t]<=n}))throw new RangeError("values={[".concat(e,"]} needs to be sorted when allowOverlap={false}"))}Yt.checkInitialOverlap=SXe;function EXe(e){var n=window.getComputedStyle(e);return{top:parseInt(n["margin-top"],10),bottom:parseInt(n["margin-bottom"],10),left:parseInt(n["margin-left"],10),right:parseInt(n["margin-right"],10)}}Yt.getMargin=EXe;function CXe(e){var n=window.getComputedStyle(e);return{top:parseInt(n["padding-top"],10)+parseInt(n["border-top-width"],10),bottom:parseInt(n["padding-bottom"],10)+parseInt(n["border-bottom-width"],10),left:parseInt(n["padding-left"],10)+parseInt(n["border-left-width"],10),right:parseInt(n["padding-right"],10)+parseInt(n["border-right-width"],10)}}Yt.getPaddingAndBorder=CXe;function IXe(e,n,t){var a=t?-1:1;e.forEach(function(r,o){return Pme(r,a*n[o].x,n[o].y)})}Yt.translateThumbs=IXe;function TXe(e,n,t,a){for(var r=0,o=kme(e[0],n,t,a),i=1;ii?l:i},e.getBoundingClientRect().width));return o},LXe=function(e,n,t,a,r,o,i){i===void 0&&(i=function(c){return c});var u=[],l=function(c){var s=Ome(t[c],a[c],r,o,i),f=n[c].x;n.forEach(function(v,m){var _=v.x,R=Ome(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=aC(aC([],u,!0),[c,m],!1),l(m)))})};return l(e),Array.from(new Set(u.sort()))},jXe=function(e,n,t,a,r,o){a===void 0&&(a=.1),r===void 0&&(r=" - "),o===void 0&&(o=function(m){return m});var i=(0,Yt.getStepDecimals)(a),u=(0,FP.useState)({}),l=u[0],c=u[1],s=(0,FP.useState)(o(n[t].toFixed(i))),f=s[0],v=s[1];return(0,FP.useEffect)(function(){if(e){var m=e.getThumbs();if(m.length<1)return;var _={},R=e.getOffsets(),D=LXe(t,R,m,n,r,i,o),y=o(n[t].toFixed(i));if(D.length){var S=D.reduce(function(Q,de,ve,ge){return Q.length?aC(aC([],Q,!0),[R[ge[ve]].x],!1):[R[ge[ve]].x]},[]);if(Math.min.apply(Math,S)===R[t].x){var M=[];D.forEach(function(Q){M.push(n[Q].toFixed(i))}),y=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[D[S.indexOf(k)]].getBoundingClientRect().width;_.left="".concat(Math.abs(P-(k+N))/2,"px"),_.transform="translate(-50%, 0)"}else _.visibility="hidden"}v(y),c(_)}},[e,n]),[f,l]};Yt.useThumbOverlap=jXe;function kme(e,n,t,a){var r=e.getBoundingClientRect(),o=r.left,i=r.top,u=r.width,l=r.height;return Nme(a)?Math.abs(t-(i+l/2)):Math.abs(n-(o+u/2))}});var Hme=Ne(Ac=>{"use strict";var NXe=Ac&&Ac.__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)}}(),PXe=Ac&&Ac.__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]}),OXe=Ac&&Ac.__setModuleDefault||(Object.create?function(e,n){Object.defineProperty(e,"default",{enumerable:!0,value:n})}:function(e,n){e.default=n}),kXe=Ac&&Ac.__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)&&PXe(n,e,t);return OXe(n,e),n},Ume=Ac&&Ac.__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,Ha.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,Ha.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,Ha.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,Ha.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&&(UXe.includes(r.key)?(r.preventDefault(),a.setState({draggedThumbIndex:v,isChanged:!0}),u((0,Ha.replaceAt)(i,v,a.normalizeValue(i[v]+m*(r.key==="PageUp"?l*10:l),v)))):HXe.includes(r.key)?(r.preventDefault(),a.setState({draggedThumbIndex:v,isChanged:!0}),u((0,Ha.replaceAt)(i,v,a.normalizeValue(i[v]-m*(r.key==="PageDown"?l*10:l),v)))):r.key==="Tab"?a.setState({draggedThumbIndex:-1},function(){f&&a.fireOnFinalChange()}):f&&a.fireOnFinalChange())},a.onKeyUp=function(r){var o=a.state.isChanged;a.setState({draggedThumbIndex:-1},function(){o&&a.fireOnFinalChange()})},a.onMove=function(r,o){var i=a.state,u=i.draggedThumbIndex,l=i.draggedTrackPos,c=a.props,s=c.direction,f=c.min,v=c.max,m=c.onChange,_=c.values,R=c.step,D=c.rtl;if(u===-1&&l[0]===-1&&l[1]===-1)return null;var y=a.trackRef.current;if(!y)return null;var S=y.getBoundingClientRect(),M=(0,Ha.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,Ha.assertUnreachable)(s)}if(D&&(N*=-1),Math.abs(N)>=R/2){for(var Q=0;Qv?N=v-_[Q]:de=R/2&&m((0,Ha.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,Ha.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,Ha.isVertical)(this.props.direction)?"ns-resize":"ew-resize":l.length===1&&!v?"pointer":"inherit"},onMouseDown:v?Ha.voidFn:this.onMouseDownTrack,onTouchStart:v?Ha.voidFn:this.onTouchStartTrack,ref:this.trackRef},isDragged:this.state.draggedThumbIndex>-1,disabled:v,children:Ume(Ume([],D.map(function(y,S,M){return u({props:{style:t.props.direction===Pi.Direction.Left||t.props.direction===Pi.Direction.Right?{position:"absolute",left:"".concat(y[0],"px"),marginTop:"".concat(y[1],"px")}:{position:"absolute",top:"".concat(y[0],"px"),marginLeft:"".concat(y[1],"px")},key:"mark".concat(S),ref:t.markRefs[S]},index:S})}),!0),l.map(function(y,S){var M=t.state.draggedThumbIndex===S;return o({index:S,value:y,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":y,draggable:!1,ref:t.thumbRefs[S],role:"slider",onKeyDown:v?Ha.voidFn:t.onKeyDown,onKeyUp:v?Ha.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}(X4.Component);Ac.default=BXe});var Bme=Ne(xu=>{"use strict";var JXe=xu&&xu.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(xu,"__esModule",{value:!0});xu.checkValuesAgainstBoundaries=xu.relativeValue=xu.useThumbOverlap=xu.Direction=xu.getTrackBackground=xu.Range=void 0;var WXe=JXe(Hme());xu.Range=WXe.default;var Z4=MP();Object.defineProperty(xu,"getTrackBackground",{enumerable:!0,get:function(){return Z4.getTrackBackground}});Object.defineProperty(xu,"useThumbOverlap",{enumerable:!0,get:function(){return Z4.useThumbOverlap}});Object.defineProperty(xu,"relativeValue",{enumerable:!0,get:function(){return Z4.relativeValue}});Object.defineProperty(xu,"checkValuesAgainstBoundaries",{enumerable:!0,get:function(){return Z4.checkValuesAgainstBoundaries}});var qXe=Y4();Object.defineProperty(xu,"Direction",{enumerable:!0,get:function(){return qXe.Direction}})});var _pe=Ne(rr=>{"use strict";var Vy,iC,o3,UP;typeof performance=="object"&&typeof performance.now=="function"?(spe=performance,rr.unstable_now=function(){return spe.now()}):(HP=Date,fpe=HP.now(),rr.unstable_now=function(){return HP.now()-fpe});var spe,HP,fpe;typeof window=="undefined"||typeof MessageChannel!="function"?(Qy=null,BP=null,JP=function(){if(Qy!==null)try{var e=rr.unstable_now();Qy(!0,e),Qy=null}catch(n){throw setTimeout(JP,0),n}},Vy=function(e){Qy!==null?setTimeout(Vy,0,e):(Qy=e,setTimeout(JP,0))},iC=function(e,n){BP=setTimeout(e,n)},o3=function(){clearTimeout(BP)},rr.unstable_shouldYield=function(){return!1},UP=rr.unstable_forceFrameRate=function(){}):(vpe=window.setTimeout,mpe=window.clearTimeout,typeof console!="undefined"&&(ppe=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 ppe!="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")),uC=!1,lC=null,i3=-1,WP=5,qP=0,rr.unstable_shouldYield=function(){return rr.unstable_now()>=qP},UP=function(){},rr.unstable_forceFrameRate=function(e){0>e||125>>1,r=e[a];if(r!==void 0&&0c3(i,t))l!==void 0&&0>c3(l,i)?(e[a]=l,e[u]=t,a=u):(e[a]=i,e[o]=t,a=o);else if(l!==void 0&&0>c3(l,t))e[a]=l,e[u]=t,a=u;else break e}}return n}return null}function c3(e,n){var t=e.sortIndex-n.sortIndex;return t!==0?t:e.id-n.id}var _0=[],q_=[],RZe=1,xs=null,Lu=3,s3=!1,Sg=!1,cC=!1;function VP(e){for(var n=nv(q_);n!==null;){if(n.callback===null)l3(q_);else if(n.startTime<=e)l3(q_),n.sortIndex=n.expirationTime,$P(_0,n);else break;n=nv(q_)}}function QP(e){if(cC=!1,VP(e),!Sg)if(nv(_0)!==null)Sg=!0,Vy(YP);else{var n=nv(q_);n!==null&&iC(QP,n.startTime-e)}}function YP(e,n){Sg=!1,cC&&(cC=!1,o3()),s3=!0;var t=Lu;try{for(VP(n),xs=nv(_0);xs!==null&&(!(xs.expirationTime>n)||e&&!rr.unstable_shouldYield());){var a=xs.callback;if(typeof a=="function"){xs.callback=null,Lu=xs.priorityLevel;var r=a(xs.expirationTime<=n);n=rr.unstable_now(),typeof r=="function"?xs.callback=r:xs===nv(_0)&&l3(_0),VP(n)}else l3(_0);xs=nv(_0)}if(xs!==null)var o=!0;else{var i=nv(q_);i!==null&&iC(QP,i.startTime-n),o=!1}return o}finally{xs=null,Lu=t,s3=!1}}var wZe=UP;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(){Sg||s3||(Sg=!0,Vy(YP))};rr.unstable_getCurrentPriorityLevel=function(){return Lu};rr.unstable_getFirstCallbackNode=function(){return nv(_0)};rr.unstable_next=function(e){switch(Lu){case 1:case 2:case 3:var n=3;break;default:n=Lu}var t=Lu;Lu=n;try{return e()}finally{Lu=t}};rr.unstable_pauseExecution=function(){};rr.unstable_requestPaint=wZe;rr.unstable_runWithPriority=function(e,n){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var t=Lu;Lu=e;try{return n()}finally{Lu=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,$P(q_,e),nv(_0)===null&&e===nv(q_)&&(cC?o3():cC=!0,iC(QP,t-a))):(e.sortIndex=r,$P(_0,e),Sg||s3||(Sg=!0,Vy(YP))),e};rr.unstable_wrapCallback=function(e){var n=Lu;return function(){var t=Lu;Lu=n;try{return e.apply(this,arguments)}finally{Lu=t}}}});var hpe=Ne((DGa,dpe)=>{"use strict";dpe.exports=_pe()});var ahe=Ne(ks=>{"use strict";var f3=ls(),eo=LF(),Zi=hpe();function wn(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;tn}return!1}function il(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 _u={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){_u[e]=new il(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];_u[n]=new il(n,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){_u[e]=new il(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){_u[e]=new il(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){_u[e]=new il(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){_u[e]=new il(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){_u[e]=new il(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){_u[e]=new il(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){_u[e]=new il(e,5,!1,e.toLowerCase(),null,!1,!1)});var XP=/[\-:]([a-z])/g;function ZP(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(XP,ZP);_u[n]=new il(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(XP,ZP);_u[n]=new il(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(XP,ZP);_u[n]=new il(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){_u[e]=new il(e,1,!1,e.toLowerCase(),null,!1,!1)});_u.xlinkHref=new il("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){_u[e]=new il(e,1,!1,e.toLowerCase(),null,!0,!0)});function KP(e,n,t,a){var r=_u.hasOwnProperty(n)?_u[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{cO=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?_C(e):""}function TZe(e){switch(e.tag){case 5:return _C(e.type);case 16:return _C("Lazy");case 13:return _C("Suspense");case 19:return _C("SuspenseList");case 0:case 2:case 15:return e=_3(e.type,!1),e;case 11:return e=_3(e.type.render,!1),e;case 22:return e=_3(e.type._render,!1),e;case 1:return e=_3(e.type,!0),e;default:return""}}function Xy(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 z_:return"Fragment";case Ig:return"Portal";case vC:return"Profiler";case eO:return"StrictMode";case mC:return"Suspense";case m3:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case tO:return(e.displayName||"Context")+".Consumer";case nO:return(e._context.displayName||"Context")+".Provider";case v3:var n=e.render;return n=n.displayName||n.name||"",e.displayName||(n!==""?"ForwardRef("+n+")":"ForwardRef");case p3:return Xy(e.type);case rO:return Xy(e._render);case aO:n=e._payload,e=e._init;try{return Xy(e(n))}catch{}}return null}function $_(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function Spe(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function FZe(e){var n=Spe(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 d3(e){e._valueTracker||(e._valueTracker=FZe(e))}function Epe(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),a="";return e&&(a=Spe(e)?e.checked?"true":"false":e.value),e=a,e!==t?(n.setValue(e),!0):!1}function h3(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 sO(e,n){var t=n.checked;return eo({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t!=null?t:e._wrapperState.initialChecked})}function Cpe(e,n){var t=n.defaultValue==null?"":n.defaultValue,a=n.checked!=null?n.checked:n.defaultChecked;t=$_(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 Ipe(e,n){n=n.checked,n!=null&&KP(e,"checked",n,!1)}function fO(e,n){Ipe(e,n);var t=$_(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")?vO(e,n.type,t):n.hasOwnProperty("defaultValue")&&vO(e,n.type,$_(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function Tpe(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 vO(e,n,t){(n!=="number"||h3(e.ownerDocument)!==e)&&(t==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}function MZe(e){var n="";return f3.Children.forEach(e,function(t){t!=null&&(n+=t)}),n}function mO(e,n){return e=eo({children:void 0},n),(n=MZe(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(wn(93));t=t[0]}n=t}n==null&&(n=""),t=n}e._wrapperState={initialValue:$_(t)}}function Mpe(e,n){var t=$_(n.value),a=$_(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 Gpe(e){var n=e.textContent;n===e._wrapperState.initialValue&&n!==""&&n!==null&&(e.value=n)}var _O={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function Ape(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 dO(e,n){return e==null||e==="http://www.w3.org/1999/xhtml"?Ape(n):e==="http://www.w3.org/2000/svg"&&n==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var g3,xpe=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!==_O.svg||"innerHTML"in e)e.innerHTML=n;else{for(g3=g3||document.createElement("div"),g3.innerHTML=""+n.valueOf().toString()+"",n=g3.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function dC(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&t.nodeType===3){t.nodeValue=n;return}}e.textContent=n}var hC={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},GZe=["Webkit","ms","Moz","O"];Object.keys(hC).forEach(function(e){GZe.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),hC[n]=hC[e]})});function Lpe(e,n,t){return n==null||typeof n=="boolean"||n===""?"":t||typeof n!="number"||n===0||hC.hasOwnProperty(e)&&hC[e]?(""+n).trim():n+"px"}function jpe(e,n){e=e.style;for(var t in n)if(n.hasOwnProperty(t)){var a=t.indexOf("--")===0,r=Lpe(t,n[t],a);t==="float"&&(t="cssFloat"),a?e.setProperty(t,r):e[t]=r}}var AZe=eo({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 hO(e,n){if(n){if(AZe[e]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(wn(137,e));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(wn(60));if(!(typeof n.dangerouslySetInnerHTML=="object"&&"__html"in n.dangerouslySetInnerHTML))throw Error(wn(61))}if(n.style!=null&&typeof n.style!="object")throw Error(wn(62))}}function gO(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 DO(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var yO=null,Ky=null,eb=null;function Npe(e){if(e=jC(e)){if(typeof yO!="function")throw Error(wn(280));var n=e.stateNode;n&&(n=k3(n),yO(e.stateNode,e.type,n))}}function Ppe(e){Ky?eb?eb.push(e):eb=[e]:Ky=e}function Ope(){if(Ky){var e=Ky,n=eb;if(eb=Ky=null,Npe(e),n)for(e=0;ea?0:1<t;t++)n.push(e);return n}function E3(e,n,t){e.pendingLanes|=n;var a=n-1;e.suspendedLanes&=a,e.pingedLanes&=a,e=e.eventTimes,n=31-X_(n),e[n]=t}var X_=Math.clz32?Math.clz32:VZe,zZe=Math.log,$Ze=Math.LN2;function VZe(e){return e===0?32:31-(zZe(e)/$Ze|0)|0}var QZe=Zi.unstable_UserBlockingPriority,YZe=Zi.unstable_runWithPriority,C3=!0;function XZe(e,n,t,a){Tg||RO();var r=LO,o=Tg;Tg=!0;try{kpe(r,e,n,t,a)}finally{(Tg=o)||SO()}}function ZZe(e,n,t,a){YZe(QZe,LO.bind(null,e,n,t,a))}function LO(e,n,t,a){if(C3){var r;if((r=(n&4)==0)&&0=TC),f_e=String.fromCharCode(32),v_e=!1;function m_e(e,n){switch(e){case"keyup":return bKe.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function p_e(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ib=!1;function wKe(e,n){switch(e){case"compositionend":return p_e(n);case"keypress":return n.which!==32?null:(v_e=!0,f_e);case"textInput":return e=n.data,e===f_e&&v_e?null:e;default:return null}}function SKe(e,n){if(ib)return e==="compositionend"||!BO&&m_e(e,n)?(e=o_e(),I3=NO=Z_=null,ib=!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=y_e(t)}}function R_e(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?R_e(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function w_e(){for(var e=window,n=h3();n instanceof e.HTMLIFrameElement;){try{var t=typeof n.contentWindow.location.href=="string"}catch{t=!1}if(t)e=n.contentWindow;else break;n=h3(e.document)}return n}function WO(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 LKe=qm&&"documentMode"in document&&11>=document.documentMode,ub=null,qO=null,AC=null,zO=!1;function S_e(e,n,t){var a=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;zO||ub==null||ub!==h3(a)||(a=ub,"selectionStart"in a&&WO(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}),AC&&GC(AC,a)||(AC=a,a=j3(qO,"onSelect"),0vb||(e.current=KO[vb],KO[vb]=null,vb--)}function xo(e,n){vb++,KO[vb]=e.current,e.current=n}var nd={},ju=ed(nd),kl=ed(!1),Gg=nd;function mb(e,n){var t=e.type.contextTypes;if(!t)return nd;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 Ul(e){return e=e.childContextTypes,e!=null}function U3(){Wr(kl),Wr(ju)}function k_e(e,n,t){if(ju.current!==nd)throw Error(wn(168));xo(ju,n),xo(kl,t)}function U_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(wn(108,Xy(n)||"Unknown",r));return eo({},t,a)}function H3(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||nd,Gg=ju.current,xo(ju,e),xo(kl,kl.current),!0}function H_e(e,n,t){var a=e.stateNode;if(!a)throw Error(wn(169));t?(e=U_e(e,n,Gg),a.__reactInternalMemoizedMergedChildContext=e,Wr(kl),Wr(ju),xo(ju,e)):Wr(kl),xo(kl,t)}var ek=null,Ag=null,PKe=Zi.unstable_runWithPriority,nk=Zi.unstable_scheduleCallback,tk=Zi.unstable_cancelCallback,OKe=Zi.unstable_shouldYield,B_e=Zi.unstable_requestPaint,ak=Zi.unstable_now,kKe=Zi.unstable_getCurrentPriorityLevel,B3=Zi.unstable_ImmediatePriority,J_e=Zi.unstable_UserBlockingPriority,W_e=Zi.unstable_NormalPriority,q_e=Zi.unstable_LowPriority,z_e=Zi.unstable_IdlePriority,rk={},UKe=B_e!==void 0?B_e:function(){},zm=null,J3=null,ok=!1,$_e=ak(),Nu=1e4>$_e?ak:function(){return ak()-$_e};function pb(){switch(kKe()){case B3:return 99;case J_e:return 98;case W_e:return 97;case q_e:return 96;case z_e:return 95;default:throw Error(wn(332))}}function V_e(e){switch(e){case 99:return B3;case 98:return J_e;case 97:return W_e;case 96:return q_e;case 95:return z_e;default:throw Error(wn(332))}}function xg(e,n){return e=V_e(e),PKe(e,n)}function NC(e,n,t){return e=V_e(e),nk(e,n,t)}function h0(){if(J3!==null){var e=J3;J3=null,tk(e)}Q_e()}function Q_e(){if(!ok&&zm!==null){ok=!0;var e=0;try{var n=zm;xg(99,function(){for(;eQ?(de=N,N=null):de=N.sibling;var ve=v(D,N,S[Q],M);if(ve===null){N===null&&(N=de);break}e&&N&&ve.alternate===null&&n(D,N),y=o(ve,y,Q),k===null?P=ve:k.sibling=ve,k=ve,N=de}if(Q===S.length)return t(D,N),P;if(N===null){for(;QQ?(de=N,N=null):de=N.sibling;var ge=v(D,N,ve.value,M);if(ge===null){N===null&&(N=de);break}e&&N&&ge.alternate===null&&n(D,N),y=o(ge,y,Q),k===null?P=ge:k.sibling=ge,k=ge,N=de}if(ve.done)return t(D,N),P;if(N===null){for(;!ve.done;Q++,ve=S.next())ve=f(D,ve.value,M),ve!==null&&(y=o(ve,y,Q),k===null?P=ve:k.sibling=ve,k=ve);return P}for(N=a(D,N);!ve.done;Q++,ve=S.next())ve=m(N,D,Q,ve.value,M),ve!==null&&(e&&ve.alternate!==null&&N.delete(ve.key===null?Q:ve.key),y=o(ve,y,Q),k===null?P=ve:k.sibling=ve,k=ve);return e&&N.forEach(function(re){return n(D,re)}),P}return function(D,y,S,M){var P=typeof S=="object"&&S!==null&&S.type===z_&&S.key===null;P&&(S=S.props.children);var k=typeof S=="object"&&S!==null;if(k)switch(S.$$typeof){case fC:e:{for(k=S.key,P=y;P!==null;){if(P.key===k){switch(P.tag){case 7:if(S.type===z_){t(D,P.sibling),y=r(P,S.props.children),y.return=D,D=y;break e}break;default:if(P.elementType===S.type){t(D,P.sibling),y=r(P,S.props),y.ref=OC(D,P,S),y.return=D,D=y;break e}}t(D,P);break}else n(D,P);P=P.sibling}S.type===z_?(y=Sb(S.props.children,D.mode,M,S.key),y.return=D,D=y):(M=pA(S.type,S.key,S.props,null,D.mode,M),M.ref=OC(D,y,S),M.return=D,D=M)}return i(D);case Ig:e:{for(P=S.key;y!==null;){if(y.key===P)if(y.tag===4&&y.stateNode.containerInfo===S.containerInfo&&y.stateNode.implementation===S.implementation){t(D,y.sibling),y=r(y,S.children||[]),y.return=D,D=y;break e}else{t(D,y);break}else n(D,y);y=y.sibling}y=zk(S,D.mode,M),y.return=D,D=y}return i(D)}if(typeof S=="string"||typeof S=="number")return S=""+S,y!==null&&y.tag===6?(t(D,y.sibling),y=r(y,S),y.return=D,D=y):(t(D,y),y=qk(S,D.mode,M),y.return=D,D=y),i(D);if(Q3(S))return _(D,y,S,M);if(pC(S))return R(D,y,S,M);if(k&&Y3(D,S),typeof S=="undefined"&&!P)switch(D.tag){case 1:case 22:case 0:case 11:case 15:throw Error(wn(152,Xy(D.type)||"Component"))}return t(D,y)}}var X3=rde(!0),ode=rde(!1),kC={},g0=ed(kC),UC=ed(kC),HC=ed(kC);function Lg(e){if(e===kC)throw Error(wn(174));return e}function sk(e,n){switch(xo(HC,n),xo(UC,e),xo(g0,kC),e=n.nodeType,e){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:dO(null,"");break;default:e=e===8?n.parentNode:n,n=e.namespaceURI||null,e=e.tagName,n=dO(n,e)}Wr(g0),xo(g0,n)}function hb(){Wr(g0),Wr(UC),Wr(HC)}function ide(e){Lg(HC.current);var n=Lg(g0.current),t=dO(n,e.type);n!==t&&(xo(UC,e),xo(g0,t))}function fk(e){UC.current===e&&(Wr(g0),Wr(UC))}var Lo=ed(0);function Z3(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 $m=null,od=null,D0=!1;function ude(e,n){var t=Os(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 lde(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 vk(e){if(D0){var n=od;if(n){var t=n;if(!lde(e,n)){if(n=cb(t.nextSibling),!n||!lde(e,n)){e.flags=e.flags&-1025|2,D0=!1,$m=e;return}ude($m,t)}$m=e,od=cb(n.firstChild)}else e.flags=e.flags&-1025|2,D0=!1,$m=e}}function cde(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;$m=e}function K3(e){if(e!==$m)return!1;if(!D0)return cde(e),D0=!0,!1;var n=e.type;if(e.tag!==5||n!=="head"&&n!=="body"&&!YO(n,e.memoizedProps))for(n=od;n;)ude(e,n),n=cb(n.nextSibling);if(cde(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(wn(317));e:{for(e=e.nextSibling,n=0;e;){if(e.nodeType===8){var t=e.data;if(t==="/$"){if(n===0){od=cb(e.nextSibling);break e}n--}else t!=="$"&&t!=="$!"&&t!=="$?"||n++}e=e.nextSibling}od=null}}else od=$m?cb(e.stateNode.nextSibling):null;return!0}function mk(){od=$m=null,D0=!1}var gb=[];function pk(){for(var e=0;eo))throw Error(wn(301));o+=1,du=Pu=null,n.updateQueue=null,BC.current=qKe,e=t(a,r)}while(WC)}if(BC.current=rA,n=Pu!==null&&Pu.next!==null,JC=0,du=Pu=Yo=null,eA=!1,n)throw Error(wn(300));return e}function jg(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return du===null?Yo.memoizedState=du=e:du=du.next=e,du}function Ng(){if(Pu===null){var e=Yo.alternate;e=e!==null?e.memoizedState:null}else e=Pu.next;var n=du===null?Yo.memoizedState:du.next;if(n!==null)du=n,Pu=e;else{if(e===null)throw Error(wn(310));Pu=e,e={memoizedState:Pu.memoizedState,baseState:Pu.baseState,baseQueue:Pu.baseQueue,queue:Pu.queue,next:null},du===null?Yo.memoizedState=du=e:du=du.next=e}return du}function y0(e,n){return typeof n=="function"?n(e):n}function qC(e){var n=Ng(),t=n.queue;if(t===null)throw Error(wn(311));t.lastRenderedReducer=e;var a=Pu,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((JC&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,QC|=c}l=l.next}while(l!==null&&l!==r);u===null?o=a:u.next=i,Ls(a,n.memoizedState)||(av=!0),n.memoizedState=a,n.baseState=o,n.baseQueue=u,t.lastRenderedState=a}return[n.memoizedState,t.dispatch]}function zC(e){var n=Ng(),t=n.queue;if(t===null)throw Error(wn(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);Ls(o,n.memoizedState)||(av=!0),n.memoizedState=o,n.baseQueue===null&&(n.baseState=o),t.lastRenderedState=o}return[o,a]}function sde(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=(JC&e)===e)&&(n._workInProgressVersionPrimary=a,gb.push(n))),e)return t(n._source);throw gb.push(n),Error(wn(350))}function fde(e,n,t,a){var r=ul;if(r===null)throw Error(wn(349));var o=n._getVersion,i=o(n._source),u=BC.current,l=u.useState(function(){return sde(r,n,t)}),c=l[1],s=l[0];l=du;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 D=o(n._source);if(!Ls(i,D)){D=t(n._source),Ls(s,D)||(c(D),D=ud(R),r.mutableReadLanes|=D&r.pendingLanes),D=r.mutableReadLanes,r.entangledLanes|=D;for(var y=r.entanglements,S=D;0t?98:t,function(){e(!0)}),xg(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[K_]=n,e[O3]=a,Ade(e,n,!1,!1),n.stateNode=e,i=gO(t,a),t){case"dialog":Jr("cancel",e),Jr("close",e),r=a;break;case"iframe":case"object":case"embed":Jr("load",e),r=a;break;case"video":case"audio":for(r=0;rNk&&(n.flags|=64,o=!0,VC(a,!1),n.lanes=33554432)}else{if(!o)if(e=Z3(i),e!==null){if(n.flags|=64,o=!0,t=e.updateQueue,t!==null&&(n.updateQueue=t,n.flags|=4),VC(a,!0),a.tail===null&&a.tailMode==="hidden"&&!i.alternate&&!D0)return n=n.lastEffect=a.lastEffect,n!==null&&(n.nextEffect=null),null}else 2*Nu()-a.renderingStartTime>Nk&&t!==1073741824&&(n.flags|=64,o=!0,VC(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=Nu(),t.sibling=null,n=Lo.current,xo(Lo,o?n&1|2:n&1),t):null;case 23:case 24:return Bk(),e!==null&&e.memoizedState!==null!=(n.memoizedState!==null)&&a.mode!=="unstable-defer-without-hiding"&&(n.flags|=4),null}throw Error(wn(156,n.tag))}function VKe(e){switch(e.tag){case 1:Ul(e.type)&&U3();var n=e.flags;return n&4096?(e.flags=n&-4097|64,e):null;case 3:if(hb(),Wr(kl),Wr(ju),pk(),n=e.flags,(n&64)!=0)throw Error(wn(285));return e.flags=n&-4097|64,e;case 5:return fk(e),null;case 13:return Wr(Lo),n=e.flags,n&4096?(e.flags=n&-4097|64,e):null;case 19:return Wr(Lo),null;case 4:return hb(),null;case 10:return uk(e),null;case 23:case 24:return Bk(),null;default:return null}}function Ck(e,n){try{var t="",a=n;do t+=TZe(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 Ik(e,n){try{console.error(n.value)}catch(t){setTimeout(function(){throw t})}}var QKe=typeof WeakMap=="function"?WeakMap:Map;function jde(e,n,t){t=ad(-1,t),t.tag=3,t.payload={element:null};var a=n.value;return t.callback=function(){lA||(lA=!0,Pk=a),Ik(e,n)},t}function Nde(e,n,t){t=ad(-1,t),t.tag=3;var a=e.type.getDerivedStateFromError;if(typeof a=="function"){var r=n.value;t.payload=function(){return Ik(e,n),a(r)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(t.callback=function(){typeof a!="function"&&(b0===null?b0=new Set([this]):b0.add(this),Ik(e,n));var i=n.stack;this.componentDidCatch(n.value,{componentStack:i!==null?i:""})}),t}var YKe=typeof WeakSet=="function"?WeakSet:Set;function Pde(e){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(t){sd(e,t)}else n.current=null}function XKe(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:tv(n.type,t),a),e.__reactInternalSnapshotBeforeUpdate=n}return;case 3:n.flags&256&&XO(n.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(wn(163))}function ZKe(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&&(Zde(t,e),ien(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:tv(t.type,n.memoizedProps),e.componentDidUpdate(a,n.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),n=t.updateQueue,n!==null&&K_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}K_e(t,n,e)}return;case 5:e=t.stateNode,n===null&&t.flags&4&&L_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&&Xpe(t))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(wn(163))}function Ode(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=Lpe("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 kde(e,n){if(Ag&&typeof Ag.onCommitFiberUnmount=="function")try{Ag.onCommitFiberUnmount(ek,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)Zde(n,t);else{a=n;try{r()}catch(o){sd(a,o)}}t=t.next}while(t!==e)}break;case 1:if(Pde(n),e=n.stateNode,typeof e.componentWillUnmount=="function")try{e.props=n.memoizedProps,e.state=n.memoizedState,e.componentWillUnmount()}catch(o){sd(n,o)}break;case 5:Pde(n);break;case 4:Jde(e,n)}}function Ude(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 Hde(e){return e.tag===5||e.tag===3||e.tag===4}function Bde(e){e:{for(var n=e.return;n!==null;){if(Hde(n))break e;n=n.return}throw Error(wn(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(wn(161))}t.flags&16&&(dC(n,""),t.flags&=-17);e:n:for(t=e;;){for(;t.sibling===null;){if(t.return===null||Hde(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?Tk(e,t,n):Fk(e,t,n)}function Tk(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=N3));else if(a!==4&&(e=e.child,e!==null))for(Tk(e,n,t),e=e.sibling;e!==null;)Tk(e,n,t),e=e.sibling}function Fk(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(Fk(e,n,t),e=e.sibling;e!==null;)Fk(e,n,t),e=e.sibling}function Jde(e,n){for(var t=n,a=!1,r,o;;){if(!a){a=t.return;e:for(;;){if(a===null)throw Error(wn(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(kde(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(kde(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 Mk(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[O3]=a,e==="input"&&a.type==="radio"&&a.name!=null&&Ipe(t,a),gO(e,r),n=gO(e,a),r=0;rr&&(r=i),t&=~o}if(t=r,t=Nu()-t,t=(120>t?120:480>t?480:1080>t?1080:1920>t?1920:3e3>t?3e3:4320>t?4320:1960*een(t/1960))-t,10 component higher in the tree to provide a loading indicator or placeholder to display.`)}hu!==5&&(hu=2),l=Ck(l,u),v=i;do{switch(v.tag){case 3:o=l,v.flags|=4096,n&=-n,v.lanes|=n;var k=jde(v,o,n);Z_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"&&(b0===null||!b0.has(Q)))){v.flags|=4096,n&=-n,v.lanes|=n;var de=Nde(v,o,n);Z_e(v,de);break e}}v=v.return}while(v!==null)}Xde(t)}catch(ve){n=ve,ki===t&&t!==null&&(ki=t=t.return);continue}break}while(1)}function Qde(){var e=iA.current;return iA.current=rA,e===null?rA:e}function eI(e,n){var t=Xt;Xt|=16;var a=Qde();ul===e&&Ou===n||wb(e,n);do try{ten();break}catch(r){Vde(e,r)}while(1);if(ik(),Xt=t,iA.current=a,ki!==null)throw Error(wn(261));return ul=null,Ou=0,hu}function ten(){for(;ki!==null;)Yde(ki)}function aen(){for(;ki!==null&&!OKe();)Yde(ki)}function Yde(e){var n=ehe(e.alternate,e,Pg);e.memoizedProps=e.pendingProps,n===null?Xde(e):ki=n,Gk.current=null}function Xde(e){var n=e;do{var t=n.alternate;if(e=n.return,(n.flags&2048)==0){if(t=$Ke(t,n,Pg),t!==null){ki=t;return}if(t=n,t.tag!==24&&t.tag!==23||t.memoizedState===null||(Pg&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=b_e(S,k),o=b_e(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;SNu()-jk?wb(e,0):xk|=t),Ps(e,n)}function cen(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=pb()===99?1:2:(Ym===0&&(Ym=Db),n=rb(62914560&~Ym),n===0&&(n=4194304))),t=jc(),e=vA(e,n),e!==null&&(E3(e,n,t),Ps(e,t))}var ehe;ehe=function(e,n,t){var a=n.lanes;if(e!==null)if(e.memoizedProps!==n.pendingProps||kl.current)av=!0;else if((t&a)!=0)av=(e.flags&16384)!=0;else{switch(av=!1,n.tag){case 3:Ede(n),mk();break;case 5:ide(n);break;case 1:Ul(n.type)&&H3(n);break;case 4:sk(n,n.stateNode.containerInfo);break;case 10:a=n.memoizedProps.value;var r=n.type._context;xo(W3,r._currentValue),r._currentValue=a;break;case 13:if(n.memoizedState!==null)return(t&n.child.childLanes)!=0?Cde(e,n,t):(xo(Lo,Lo.current&1),n=Vm(e,n,t),n!==null?n.sibling:null);xo(Lo,Lo.current&1);break;case 19:if(a=(t&n.childLanes)!=0,(e.flags&64)!=0){if(a)return Gde(e,n,t);n.flags|=64}if(r=n.memoizedState,r!==null&&(r.rendering=null,r.tail=null,r.lastEffect=null),xo(Lo,Lo.current),a)break;return null;case 23:case 24:return n.lanes=0,bk(e,n,t)}return Vm(e,n,t)}else av=!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=mb(n,ju.current),db(n,t),r=dk(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,Ul(a)){var o=!0;H3(n)}else o=!1;n.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,lk(n);var i=a.getDerivedStateFromProps;typeof i=="function"&&$3(n,a,i,e),r.updater=V3,n.stateNode=r,r._reactInternals=n,ck(n,a,e,t),n=wk(null,n,a,!0,o,t)}else n.tag=0,Bl(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=fen(r),e=tv(r,e),o){case 0:n=Rk(null,n,r,e,t);break e;case 1:n=Sde(null,n,r,e,t);break e;case 11:n=yde(null,n,r,e,t);break e;case 14:n=bde(null,n,r,tv(r.type,e),a,t);break e}throw Error(wn(306,r,""))}return n;case 0:return a=n.type,r=n.pendingProps,r=n.elementType===a?r:tv(a,r),Rk(e,n,a,r,t);case 1:return a=n.type,r=n.pendingProps,r=n.elementType===a?r:tv(a,r),Sde(e,n,a,r,t);case 3:if(Ede(n),a=n.updateQueue,e===null||a===null)throw Error(wn(282));if(a=n.pendingProps,r=n.memoizedState,r=r!==null?r.element:null,X_e(e,n),PC(n,a,null,t),a=n.memoizedState.element,a===r)mk(),n=Vm(e,n,t);else{if(r=n.stateNode,(o=r.hydrate)&&(od=cb(n.stateNode.containerInfo.firstChild),$m=n,o=D0=!0),o){if(e=r.mutableSourceEagerHydrationData,e!=null)for(r=0;r{"use strict";function rhe(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(rhe)}catch(e){console.error(e)}}rhe(),ohe.exports=ahe()});var uhe=Ne((wGa,ihe)=>{"use strict";var gen="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";ihe.exports=gen});var fhe=Ne((SGa,she)=>{"use strict";var Den=uhe();function lhe(){}function che(){}che.resetWarningCache=lhe;she.exports=function(){function e(a,r,o,i,u,l){if(l!==Den){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:che,resetWarningCache:lhe};return t.PropTypes=t,t}});var rI=Ne((IGa,vhe)=>{vhe.exports=fhe()();var EGa,CGa});var iI=Ne(Kk=>{"use strict";Object.defineProperty(Kk,"__esModule",{value:!0});var Xk=Object.assign||function(e){for(var n=1;n=0||!Object.prototype.hasOwnProperty.call(e,a)||(t[a]=e[a]);return t}function Ren(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function wen(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 Sen(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 dhe={position:"absolute",top:0,left:0,visibility:"hidden",height:0,overflow:"scroll",whiteSpace:"pre"},Een=["extraWidth","injectStyles","inputClassName","inputRef","inputStyle","minWidth","onAutosize","placeholderIsMinWidth"],Cen=function(n){return Een.forEach(function(t){return delete n[t]}),n},hhe=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},ghe=typeof window!="undefined"&&window.navigator?/MSIE |Trident\/|Edge\//.test(window.navigator.userAgent):!1,Dhe=function(){return ghe?"_"+Math.random().toString(36).substr(2,12):void 0},Zk=function(e){Sen(n,e),mhe(n,null,[{key:"getDerivedStateFromProps",value:function(a,r){var o=a.id;return o!==r.prevId?{inputId:o||Dhe(),prevId:o}:null}}]);function n(t){Ren(this,n);var a=wen(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||Dhe(),prevId:t.id},a}return mhe(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||(hhe(a,this.sizer),this.placeHolderSizer&&hhe(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 fU!="undefined")n(rI(),($t(),u1));else{var t={exports:{}};n(e.PropTypes,e.React),e.ReactList=t.exports}})(typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:fU,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 me=De?Object.getOwnPropertyDescriptor(A,O):null;me&&(me.get||me.set)?Object.defineProperty(se,O,me):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),$=me==="simple"||!$?0:Math.max(Math.min($,De-Ge),0),(He=$%Fe)&&($-=He,Ge+=He),$===se.from&&Ge==se.size?se:M(M({},se),{},{from:$,size:Ge})};Oge.exports=(a=t=function(A){f(se,A);var ee=m(se);s(se,null,[{key:"getDerivedStateFromProps",value:function(O,me){var $=W(O,me);return $===me?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 me=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(){me.updateCounter=0,delete me.updateCounterTimeoutId},0)),this.updateFrame()}}},{key:"maybeSetState",value:function(O,me){if(Ke(this.state,O))return me();this.setState(O,me)}},{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 me=this.props.axis,$=O[N[me]]||0,Ge=ve[me];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,me=this.props.axis,$=Se[me],Ge=O===window?document.body[$]||document.documentElement[$]:O[$],Fe=this.getScrollSize()-this.props.scrollParentViewportSizeGetter(this),He=Math.max(0,Math.min(Ge,Fe)),$e=this.getEl();return this.cachedScrollPosition=this.getOffset(O)+He-this.getOffset($e),this.cachedScrollPosition}},{key:"setScroll",value:function(O){var me=this.scrollParent,$=this.props.axis;if(O+=this.getOffset(this.getEl()),me===window)return window.scrollTo(0,O);O-=this.getOffset(this.scrollParent),me[Se[$]]=O}},{key:"getScrollSize",value:function(){var O=this.scrollParent,me=document,$=me.body,Ge=me.documentElement,Fe=re[this.props.axis];return O===window?Math.max($[Fe],Ge[Fe]):O[Fe]}},{key:"hasDeterminateSize",value:function(){var O=this.props,me=O.itemSizeGetter,$=O.type;return $==="uniform"||me}},{key:"getStartAndEnd",value:function(){var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.threshold,me=this.getScrollPosition(),$=Math.max(0,me-O),Ge=me+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,me=O.axis,$=O.useStaticSize,Ge=this.state,Fe=Ge.itemSize,He=Ge.itemsPerRow;if($&&Fe&&He)return{itemSize:Fe,itemsPerRow:He};var $e=this.items.children;if(!$e.length)return{};var xe=$e[0],In=xe[de[me]],cn=Math.abs(In-Fe);if((isNaN(cn)||cn>=1)&&(Fe=In),!Fe)return{};var Kn=ve[me],Cn=xe[Kn];He=1;for(var et=$e[He];et&&et[Kn]===Cn;et=$e[He])++He;return{itemSize:Fe,itemsPerRow:He}}},{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 me=this.getStartAndEnd(),$=me.end,Ge=this.items.children,Fe=0;if(Ge.length){var He=this.props.axis,$e=Ge[0],xe=Ge[Ge.length-1];Fe=this.getOffset(xe)+xe[de[He]]-this.getOffset($e)}if(Fe>$)return O();var In=this.props,cn=In.pageSize,Kn=In.length,Cn=Math.min(this.state.size+cn,Kn);this.maybeSetState({size:Cn},O)}},{key:"updateVariableFrame",value:function(O){this.props.itemSizeGetter||this.cacheSizes();for(var me=this.getStartAndEnd(),$=me.start,Ge=me.end,Fe=this.props,He=Fe.length,$e=Fe.pageSize,xe=0,In=0,cn=0,Kn=He-1;In$)break;xe+=Cn,++In}for(var et=He-In;cn1&&arguments[1]!==void 0?arguments[1]:{};if(me[O]!=null)return me[O];var $=this.state,Ge=$.itemSize,Fe=$.itemsPerRow;if(Ge)return me[O]=Math.floor(O/Fe)*Ge;for(var He=O;He>0&&me[--He]==null;);for(var $e=me[He]||0,xe=He;xe=cn&&OHe)return this.setScroll(He)}},{key:"getVisibleRange",value:function(){for(var O=this.state,me=O.from,$=O.size,Ge=this.getStartAndEnd(0),Fe=Ge.start,He=Ge.end,$e={},xe,In,cn=me;cnFe&&(xe=cn),xe!=null&&Kn{"use strict";Object.defineProperty(nB,"__esModule",{value:!0});var Ecn=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},VH=Object.assign||function(e){for(var n=1;n1?n-1:0),a=1;aa.height),Ws(m,this.animationStateClasses.animatingToHeightZero,y.height===0),Ws(m,this.animationStateClasses.animatingToHeightAuto,y.height==="auto"),Ws(m,this.animationStateClasses.animatingToHeightSpecific,y.height>0),m)),P=this.getStaticStateClasses(y.height);this.setState({animationStateClasses:M,height:D,overflow:"hidden",shouldUseTransitions:!S}),clearTimeout(this.timeoutID),clearTimeout(this.animationClassesTimeoutID),S?(y.shouldUseTransitions=!0,kRe(this.animationFrameIDs),this.animationFrameIDs=jcn(function(){o.setState(y),Ex(c,{newHeight:y.height})}),this.animationClassesTimeoutID=setTimeout(function(){o.setState({animationStateClasses:P,shouldUseTransitions:!1}),o.hideContent(y.height),Ex(l,{newHeight:y.height})},R)):(Ex(c,{newHeight:D}),this.timeoutID=setTimeout(function(){y.animationStateClasses=P,y.shouldUseTransitions=!1,o.setState(y),u!=="auto"&&o.hideContent(D),Ex(l,{newHeight:D})},R))}}},{key:"componentWillUnmount",value:function(){kRe(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,YH.default)((r={},Ws(r,this.animationStateClasses.static,!0),Ws(r,this.animationStateClasses.staticHeightZero,a===0),Ws(r,this.animationStateClasses.staticHeightSpecific,a>0),Ws(r,this.animationStateClasses.staticHeightAuto,a==="auto"),r))}},{key:"render",value:function(){var a,r=this,o=this.props,i=o.animateOpacity,u=o.applyInlineTransitions,l=o.children,c=o.className,s=o.contentClassName,f=o.easing,v=o.id,m=o.style,_=this.state,R=_.height,D=_.overflow,y=_.animationStateClasses,S=_.shouldUseTransitions,M=this.getTimings(),P=M.duration,k=M.delay,N=VH({},m,{height:R,overflow:D||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,YH.default)((a={},Ws(a,y,!0),Ws(a,c,c),a)),ve=typeof this.props["aria-hidden"]!="undefined",ge=ve?this.props["aria-hidden"]:R===0;return QH.default.createElement("div",VH({},Lcn.apply(void 0,[this.props].concat(xcn)),{"aria-hidden":ge,className:de,id:v,style:N}),QH.default.createElement("div",{className:s,style:Q,ref:function(Se){return r.contentElement=Se}},l))}}]),n}(QH.default.Component),Ncn=function(n,t,a){var r=n[t];return typeof r=="number"&&r>=0||KH(r)||r==="auto"?null:new TypeError('value "'+r+'" of type "'+(typeof r=="undefined"?"undefined":Ecn(r))+'" is invalid type for '+t+" in "+a+'. It needs to be a positive number, string "auto" or percentage string (e.g. "15%").')};eB.propTypes={"aria-hidden":Wl.default.bool,animateOpacity:Wl.default.bool,animationStateClasses:Wl.default.object,applyInlineTransitions:Wl.default.bool,children:Wl.default.any.isRequired,className:Wl.default.string,contentClassName:Wl.default.string,delay:Wl.default.number,duration:Wl.default.number,easing:Wl.default.string,height:Ncn,id:Wl.default.string,onAnimationEnd:Wl.default.func,onAnimationStart:Wl.default.func,style:Wl.default.object};eB.defaultProps={animateOpacity:!1,animationStateClasses:ORe,applyInlineTransitions:!0,duration:250,delay:0,easing:"ease",style:{}};nB.default=eB});var tEe=Ne((qx,xB)=>{(function(n,t){typeof qx=="object"&&typeof xB=="object"?xB.exports=t():typeof define=="function"&&define.amd?define([],t):typeof qx=="object"?qx.Pusher=t():n.Pusher=t()})(window,function(){return function(e){var n={};function t(a){if(n[a])return n[a].exports;var r=n[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,t),r.l=!0,r.exports}return t.m=e,t.c=n,t.d=function(a,r,o){t.o(a,r)||Object.defineProperty(a,r,{enumerable:!0,get:o})},t.r=function(a){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},t.t=function(a,r){if(r&1&&(a=t(a)),r&8||r&4&&typeof a=="object"&&a&&a.__esModule)return a;var o=Object.create(null);if(t.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:a}),r&2&&typeof a!="string")for(var i in a)t.d(o,i,function(u){return a[u]}.bind(null,i));return o},t.n=function(a){var r=a&&a.__esModule?function(){return a.default}:function(){return a};return t.d(r,"a",r),r},t.o=function(a,r){return Object.prototype.hasOwnProperty.call(a,r)},t.p="",t(t.s=2)}([function(e,n,t){"use strict";var a=this&&this.__extends||function(){var m=function(_,R){return m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(D,y){D.__proto__=y}||function(D,y){for(var S in y)y.hasOwnProperty(S)&&(D[S]=y[S])},m(_,R)};return function(_,R){m(_,R);function D(){this.constructor=_}_.prototype=R===null?Object.create(R):(D.prototype=R.prototype,new D)}}();Object.defineProperty(n,"__esModule",{value:!0});var r=256,o=function(){function m(_){_===void 0&&(_="="),this._paddingCharacter=_}return m.prototype.encodedLength=function(_){return this._paddingCharacter?(_+2)/3*4|0:(_*8+5)/6|0},m.prototype.encode=function(_){for(var R="",D=0;D<_.length-2;D+=3){var y=_[D]<<16|_[D+1]<<8|_[D+2];R+=this._encodeByte(y>>>3*6&63),R+=this._encodeByte(y>>>2*6&63),R+=this._encodeByte(y>>>1*6&63),R+=this._encodeByte(y>>>0*6&63)}var S=_.length-D;if(S>0){var y=_[D]<<16|(S===2?_[D+1]<<8:0);R+=this._encodeByte(y>>>3*6&63),R+=this._encodeByte(y>>>2*6&63),S===2?R+=this._encodeByte(y>>>1*6&63):R+=this._paddingCharacter||"",R+=this._paddingCharacter||""}return R},m.prototype.maxDecodedLength=function(_){return this._paddingCharacter?_/4*3|0:(_*6+7)/8|0},m.prototype.decodedLength=function(_){return this.maxDecodedLength(_.length-this._getPaddingLength(_))},m.prototype.decode=function(_){if(_.length===0)return new Uint8Array(0);for(var R=this._getPaddingLength(_),D=_.length-R,y=new Uint8Array(this.maxDecodedLength(D)),S=0,M=0,P=0,k=0,N=0,Q=0,de=0;M>>4,y[S++]=N<<4|Q>>>2,y[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 D=_.length-1;D>=0&&_[D]===this._paddingCharacter;D--)R++;if(_.length<4||R>2)throw new Error("Base64Coder: incorrect padding")}return R},m}();n.Coder=o;var i=new o;function u(m){return i.encode(m)}n.encode=u;function l(m){return i.decode(m)}n.decode=l;var c=function(m){a(_,m);function _(){return m!==null&&m.apply(this,arguments)||this}return _.prototype._encodeByte=function(R){var D=R;return D+=65,D+=25-R>>>8&0-65-26+97,D+=51-R>>>8&26-97-52+48,D+=61-R>>>8&52-48-62+45,D+=62-R>>>8&62-45-63+95,String.fromCharCode(D)},_.prototype._decodeChar=function(R){var D=r;return D+=(44-R&R-46)>>>8&-r+R-45+62,D+=(94-R&R-96)>>>8&-r+R-95+63,D+=(47-R&R-58)>>>8&-r+R-48+52,D+=(64-R&R-91)>>>8&-r+R-65+0,D+=(96-R&R-123)>>>8&-r+R-97+26,D},_}(o);n.URLSafeCoder=c;var s=new c;function f(m){return s.encode(m)}n.encodeURLSafe=f;function v(m){return s.decode(m)}n.decodeURLSafe=v,n.encodedLength=function(m){return i.encodedLength(m)},n.maxDecodedLength=function(m){return i.maxDecodedLength(m)},n.decodedLength=function(m){return i.decodedLength(m)}},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var a="utf8: invalid string",r="utf8: invalid source encoding";function o(l){for(var c=new Uint8Array(i(l)),s=0,f=0;f>6,c[s++]=128|v&63):v<55296?(c[s++]=224|v>>12,c[s++]=128|v>>6&63,c[s++]=128|v&63):(f++,v=(v&1023)<<10,v|=l.charCodeAt(f)&1023,v+=65536,c[s++]=240|v>>18,c[s++]=128|v>>12&63,c[s++]=128|v>>6&63,c[s++]=128|v&63)}return c}n.encode=o;function i(l){for(var c=0,s=0;s=l.length-1)throw new Error(a);s++,c+=4}else throw new Error(a)}return c}n.encodedLength=i;function u(l){for(var c=[],s=0;s=l.length)throw new Error(r);var m=l[++s];if((m&192)!=128)throw new Error(r);f=(f&31)<<6|m&63,v=128}else if(f<240){if(s>=l.length-1)throw new Error(r);var m=l[++s],_=l[++s];if((m&192)!=128||(_&192)!=128)throw new Error(r);f=(f&15)<<12|(m&63)<<6|_&63,v=2048}else if(f<248){if(s>=l.length-2)throw new Error(r);var m=l[++s],_=l[++s],R=l[++s];if((m&192)!=128||(_&192)!=128||(R&192)!=128)throw new Error(r);f=(f&15)<<18|(m&63)<<12|(_&63)<<6|R&63,v=65536}else throw new Error(r);if(f=55296&&f<=57343)throw new Error(r);if(f>=65536){if(f>1114111)throw new Error(r);f-=65536,c.push(String.fromCharCode(55296|f>>10)),f=56320|f&1023}}c.push(String.fromCharCode(f))}return c.join("")}n.decode=u},function(e,n,t){e.exports=t(3).default},function(e,n,t){"use strict";t.r(n);var a=function(){function g(h,w){this.lastId=0,this.prefix=h,this.name=w}return g.prototype.create=function(h){this.lastId++;var w=this.lastId,T=this.prefix+w,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=wa.createScriptRequest(G.getPath(h,w)),Pe=G.receivers.create(function(Ln){if(G.receivers.remove(Pe),G.loading[h]){var kt=G.loading[h];delete G.loading[h];for(var Za=function(Wu){Wu||ne.cleanup()},di=0;di>>6)+v(128|h&63):v(224|h>>>12&15)+v(128|h>>>6&63)+v(128|h&63)},S=function(g){return g.replace(/[^\x00-\x7F]/g,y)},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 ve(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,ve,w,function(G){return T(),G})||this}return h}(N),Se={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}},zd=nz,B2e=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)}}(),J2e=function(g){B2e(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(zd.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=zd.decodeMessage(ne)}catch(Ln){w.emit("error",{type:"MessageParseError",error:Ln,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=zd.getCloseAction(w),G=zd.getCloseError(w);G&&this.emit("error",G),T&&this.emit(T,{action:T,error:G})},h}(ir),W2e=J2e,q2e=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=zd.processHandshake(w)}catch(G){h.finish("error",{error:G}),h.transport.close();return}T.action==="connected"?h.finish("connected",{connection:new W2e(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=zd.getCloseAction(w)||"backoff",G=zd.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}(),z2e=q2e,$2e=function(){function g(h,w){this.channel=h;var T=w.authTransport;if(typeof wa.getAuthorizers()[T]=="undefined")throw"'"+T+"' is not a recognized auth transport";this.type=T,this.options=w,this.authOptions=w.auth||{}}return g.prototype.composeQuery=function(h){var w="socket_id="+encodeURIComponent(h)+"&channel_name="+encodeURIComponent(this.channel.name);for(var T in this.authOptions.params)w+="&"+encodeURIComponent(T)+"="+encodeURIComponent(this.authOptions.params[T]);return w},g.prototype.authorize=function(h,w){g.authorizers=g.authorizers||wa.getAuthorizers(),g.authorizers[this.type].call(this,wa,h,w)},g}(),V2e=$2e,Q2e=function(){function g(h,w){this.timeline=h,this.options=w||{}}return g.prototype.send=function(h,w){this.timeline.isEmpty()||this.timeline.send(wa.TimelineTransport.getAgent(this,h),w)},g}(),Y2e=Q2e,$d=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)}}(),X2e=function(g){$d(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),Z2e=function(g){$d(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),K2e=function(g){$d(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),eGe=function(g){$d(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),tz=function(g){$d(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),nGe=function(g){$d(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),az=function(g){$d(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),tGe=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)}}(),aGe=function(g){tGe(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 X2e("Event '"+w+"' does not start with 'client-'");if(!this.subscribed){var G=Kn.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),rz=aGe,rGe=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)}}(),oGe=function(g){rGe(h,g);function h(){return g!==null&&g.apply(this,arguments)||this}return h.prototype.authorize=function(w,T){var G=bv.createAuthorizer(this,this.pusher.config);return G.authorize(w,T)},h}(rz),L5=oGe,iGe=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}(),uGe=iGe,lGe=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)}}(),cGe=function(g){lGe(h,g);function h(w,T){var G=g.call(this,w,T)||this;return G.members=new uGe,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 Ln=Kn.buildLogSuffix("authenticationEndpoint");xe.error("Invalid auth response for channel '"+G.name+"',"+("expected 'channel_data' field. "+Ln)),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}(L5),sGe=cGe,oz=t(1),j5=t(0),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=function(g){fGe(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 Ln=Pe.shared_secret;if(!Ln){var kt="No shared_secret key in auth payload for encrypted channel: "+G.name;T(!0,kt);return}G.key=Object(j5.decode)(Ln),delete Pe.shared_secret,T(!1,Pe)})},h.prototype.trigger=function(w,T){throw new tz("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(j5.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),dGe=_Ge,hGe=function(){function g(){this.channels={}}return g.prototype.add=function(h,w){return this.channels[h]||(this.channels[h]=DGe(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}(),gGe=hGe;function DGe(g,h){if(g.indexOf("private-encrypted-")===0){if(h.config.nacl)return bv.createEncryptedChannel(g,h,h.config.nacl);var w="Tried to subscribe to a private-encrypted- channel but no nacl implementation available",T=Kn.buildLogSuffix("encryptedChannelSupport");throw new tz(w+". "+T)}else return g.indexOf("private-")===0?bv.createPrivateChannel(g,h):g.indexOf("presence-")===0?bv.createPresenceChannel(g,h):bv.createChannel(g,h)}var yGe={createChannels:function(){return new gGe},createConnectionManager:function(g,h){return new dGe(g,h)},createChannel:function(g,h){return new rz(g,h)},createPrivateChannel:function(g,h){return new L5(g,h)},createPresenceChannel:function(g,h){return new sGe(g,h)},createEncryptedChannel:function(g,h,w){return new mGe(g,h,w)},createTimelineSender:function(g,h){return new Y2e(g,h)},createAuthorizer:function(g,h){return h.authorizer?h.authorizer(g,h):new V2e(g,h)},createHandshake:function(g,h){return new z2e(g,h)},createAssistantToTheTransportManager:function(g,h,w){return new H2e(g,h,w)}},bv=yGe,bGe=function(){function g(h){this.options=h||{},this.livesLeft=this.options.lives||1/0}return g.prototype.getAssistant=function(h){return bv.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}(),iz=bGe,RGe=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,Ln=null,kt=function(Za,di){di?w(null,di):(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(Ln,kt){Ln&&ne&&ne.isRunning()&&!T.failFast||(ne&&ne.ensureAborted(),G(Ln,kt))}),{abort:function(){ne&&ne.ensureAborted(),Pe.abort()},forceMinPriority:function(Ln){Pe.forceMinPriority(Ln)}}},g}(),Vd=RGe,wGe=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 SGe(this.strategies,h,function(T,G){return function(ne,Pe){if(G[T].error=ne,ne){EGe(G)&&w(!0);return}On(G,function(Ln){Ln.forceMinPriority(Pe.transport.priority)}),w(null,Pe)}})},g}(),N5=wGe;function SGe(g,h,w){var T=W(g,function(G,ne,Pe,Ln){return G.connect(h,w(ne,Ln))});return{abort:function(){On(T,CGe)},forceMinPriority:function(G){On(T,function(ne){ne.forceMinPriority(G)})}}}function EGe(g){return me(g,function(h){return Boolean(h.error)})}function CGe(g){!g.error&&!g.aborted&&(g.abort(),g.aborted=!0)}var IGe=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=FGe(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 Vd([Pe],{timeout:G.latency*2+1e3,failFast:!0})))}var Ln=pe.now(),kt=ne.pop().connect(h,function Za(di,Wu){di?(uz(T),ne.length>0?(Ln=pe.now(),kt=ne.pop().connect(h,Za)):w(di)):(MGe(T,Wu.transport.name,pe.now()-Ln),w(null,Wu))});return{abort:function(){kt.abort()},forceMinPriority:function(Za){h=Za,kt&&kt.forceMinPriority(Za)}}},g}(),TGe=IGe;function P5(g){return"pusherTransport"+(g?"TLS":"NonTLS")}function FGe(g){var h=wa.getLocalStorage();if(h)try{var w=h[P5(g)];if(w)return JSON.parse(w)}catch{uz(g)}return null}function MGe(g,h,w){var T=wa.getLocalStorage();if(T)try{T[P5(g)]=He({timestamp:pe.now(),transport:h,latency:w})}catch{}}function uz(g){var h=wa.getLocalStorage();if(h)try{delete h[P5(g)]}catch{}}var GGe=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}(),TT=GGe,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}(),GR=AGe,xGe=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}(),LGe=xGe;function AR(g){return function(){return g.isSupported()}}var jGe=function(g,h,w){var T={};function G(yz,S4e,E4e,C4e,I4e){var bz=w(g,yz,S4e,E4e,C4e,I4e);return T[yz]=bz,bz}var ne=Object.assign({},h,{hostNonTLS:g.wsHost+":"+g.wsPort,hostTLS:g.wsHost+":"+g.wssPort,httpPath:g.wsPath}),Pe=Object.assign({},ne,{useTLS:!0}),Ln=Object.assign({},h,{hostNonTLS:g.httpHost+":"+g.httpPort,hostTLS:g.httpHost+":"+g.httpsPort,httpPath:g.httpPath}),kt={loop:!0,timeout:15e3,timeoutLimit:6e4},Za=new iz({lives:2,minPingDelay:1e4,maxPingDelay:g.activityTimeout}),di=new iz({lives:2,minPingDelay:1e4,maxPingDelay:g.activityTimeout}),Wu=G("ws","ws",3,ne,Za),Rv=G("wss","ws",3,Pe,Za),D4e=G("sockjs","sockjs",1,Ln),pz=G("xhr_streaming","xhr_streaming",1,Ln,di),y4e=G("xdr_streaming","xdr_streaming",1,Ln,di),_z=G("xhr_polling","xhr_polling",1,Ln),b4e=G("xdr_polling","xdr_polling",1,Ln),dz=new Vd([Wu],kt),R4e=new Vd([Rv],kt),w4e=new Vd([D4e],kt),hz=new Vd([new GR(AR(pz),pz,y4e)],kt),gz=new Vd([new GR(AR(_z),_z,b4e)],kt),Dz=new Vd([new GR(AR(hz),new N5([hz,new TT(gz,{delay:4e3})]),gz)],kt),H5=new GR(AR(Dz),Dz,w4e),B5;return h.useTLS?B5=new N5([dz,new TT(H5,{delay:2e3})]):B5=new N5([dz,new TT(R4e,{delay:2e3}),new TT(H5,{delay:5e3})]),new TGe(new LGe(new GR(AR(Wu),B5,H5)),T,{ttl:18e5,timeline:h.timeline,useTLS:h.useTLS})},NGe=jGe,PGe=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()},OGe={getRequest:function(g){var h=new window.XDomainRequest;return h.ontimeout=function(){g.emit("error",new Z2e),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()}},kGe=OGe,UGe=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)}}(),HGe=256*1024,BGe=function(g){UGe(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()},wa.addUnloadListener(this.unloader),this.xhr.open(this.method,this.url,!0),this.xhr.setRequestHeader&&this.xhr.setRequestHeader("Content-Type","application/json"),this.xhr.send(w)},h.prototype.close=function(){this.unloader&&(wa.removeUnloadListener(this.unloader),this.unloader=null),this.xhr&&(this.hooks.abortRequest(this.xhr),this.xhr=null)},h.prototype.onChunk=function(w,T){for(;;){var 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>HGe},h}(ir),JGe=BGe,O5;(function(g){g[g.CONNECTING=0]="CONNECTING",g[g.OPEN=1]="OPEN",g[g.CLOSED=3]="CLOSED"})(O5||(O5={}));var Qd=O5,WGe=1,qGe=function(){function g(h,w){this.hooks=h,this.session=cz(1e3)+"/"+QGe(8),this.location=zGe(w),this.readyState=Qd.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===Qd.OPEN)try{return wa.createSocketRequest("POST",lz($Ge(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=Qd.CLOSED,this.onclose&&this.onclose({code:h,reason:w,wasClean:T})},g.prototype.onChunk=function(h){if(h.status===200){this.readyState===Qd.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()}},t4e=n4e,a4e={createStreamingSocket:function(g){return this.createSocket(ZGe,g)},createPollingSocket:function(g){return this.createSocket(e4e,g)},createSocket:function(g,h){return new YGe(g,h)},createXHR:function(g,h){return this.createRequest(t4e,g,h)},createRequest:function(g,h,w){return new JGe(g,h,w)}},sz=a4e;sz.createXDR=function(g,h){return this.createRequest(kGe,g,h)};var r4e=sz,o4e={nextAuthCallbackID:1,auth_callbacks:{},ScriptReceivers:r,DependenciesReceivers:c,getDefaultStrategy:NGe,Transports:N2e,transportConnectionInitializer:PGe,HTTPFactory:r4e,TimelineTransport:Ie,getXHRAPI:function(){return window.XMLHttpRequest},getWebSocketAPI:function(){return window.WebSocket||window.MozWebSocket},setup:function(g){var h=this;window.Pusher=g;var w=function(){h.onDocumentBody(g.ready)};window.JSON?w():s.load("json2",{},w)},getDocument:function(){return document},getProtocol:function(){return this.getDocument().location.protocol},getAuthorizers:function(){return{ajax:et,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 at(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 k2e},createWebSocket:function(g){var h=this.getWebSocketAPI();return new h(g)},createSocketRequest:function(g,h){if(this.isXHRSupported())return this.HTTPFactory.createXHR(g,h);if(this.isXDRSupported(h.indexOf("https:")===0))return this.HTTPFactory.createXDR(g,h);throw"Cross-origin HTTP requests are not supported"},isXHRSupported:function(){var g=this.getXHRAPI();return Boolean(g)&&new g().withCredentials!==void 0},isXDRSupported:function(g){var h=g?"https:":"http:",w=this.getProtocol();return Boolean(window.XDomainRequest)&&w===h},addUnloadListener:function(g){window.addEventListener!==void 0?window.addEventListener("unload",g,!1):window.attachEvent!==void 0&&window.attachEvent("onunload",g)},removeUnloadListener:function(g){window.addEventListener!==void 0?window.removeEventListener("unload",g,!1):window.detachEvent!==void 0&&window.detachEvent("onunload",g)}},wa=o4e,k5;(function(g){g[g.ERROR=3]="ERROR",g[g.INFO=6]="INFO",g[g.DEBUG=7]="DEBUG"})(k5||(k5={}));var FT=k5,i4e=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(FT.ERROR,h)},g.prototype.info=function(h){this.log(FT.INFO,h)},g.prototype.debug=function(h){this.log(FT.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}(),u4e=i4e,l4e=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{jEe.exports=function(n){return n!=null&&n.constructor!=null&&typeof n.constructor.isBuffer=="function"&&n.constructor.isBuffer(n)}});var YEe=Ne((Efr,QEe)=>{"use strict";var e7=Object.prototype.hasOwnProperty,BEe=Object.prototype.toString,JEe=Object.defineProperty,WEe=Object.getOwnPropertyDescriptor,qEe=function(n){return typeof Array.isArray=="function"?Array.isArray(n):BEe.call(n)==="[object Array]"},zEe=function(n){if(!n||BEe.call(n)!=="[object Object]")return!1;var t=e7.call(n,"constructor"),a=n.constructor&&n.constructor.prototype&&e7.call(n.constructor.prototype,"isPrototypeOf");if(n.constructor&&!t&&!a)return!1;var r;for(r in n);return typeof r=="undefined"||e7.call(n,r)},$Ee=function(n,t){JEe&&t.name==="__proto__"?JEe(n,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):n[t.name]=t.newValue},VEe=function(n,t){if(t==="__proto__")if(e7.call(n,t)){if(WEe)return WEe(n,t).value}else return;return n[t]};QEe.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 UJ=Symbol.for("react.element"),HJ=Symbol.for("react.portal"),C7=Symbol.for("react.fragment"),I7=Symbol.for("react.strict_mode"),T7=Symbol.for("react.profiler"),F7=Symbol.for("react.provider"),M7=Symbol.for("react.context"),Jdn=Symbol.for("react.server_context"),G7=Symbol.for("react.forward_ref"),A7=Symbol.for("react.suspense"),x7=Symbol.for("react.suspense_list"),L7=Symbol.for("react.memo"),j7=Symbol.for("react.lazy"),Wdn=Symbol.for("react.offscreen"),dIe;dIe=Symbol.for("react.module.reference");function Vs(e){if(typeof e=="object"&&e!==null){var n=e.$$typeof;switch(n){case UJ:switch(e=e.type,e){case C7:case T7:case I7:case A7:case x7:return e;default:switch(e=e&&e.$$typeof,e){case Jdn:case M7:case G7:case j7:case L7:case F7:return e;default:return n}}case HJ:return n}}}mr.ContextConsumer=M7;mr.ContextProvider=F7;mr.Element=UJ;mr.ForwardRef=G7;mr.Fragment=C7;mr.Lazy=j7;mr.Memo=L7;mr.Portal=HJ;mr.Profiler=T7;mr.StrictMode=I7;mr.Suspense=A7;mr.SuspenseList=x7;mr.isAsyncMode=function(){return!1};mr.isConcurrentMode=function(){return!1};mr.isContextConsumer=function(e){return Vs(e)===M7};mr.isContextProvider=function(e){return Vs(e)===F7};mr.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===UJ};mr.isForwardRef=function(e){return Vs(e)===G7};mr.isFragment=function(e){return Vs(e)===C7};mr.isLazy=function(e){return Vs(e)===j7};mr.isMemo=function(e){return Vs(e)===L7};mr.isPortal=function(e){return Vs(e)===HJ};mr.isProfiler=function(e){return Vs(e)===T7};mr.isStrictMode=function(e){return Vs(e)===I7};mr.isSuspense=function(e){return Vs(e)===A7};mr.isSuspenseList=function(e){return Vs(e)===x7};mr.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===C7||e===T7||e===I7||e===A7||e===x7||e===Wdn||typeof e=="object"&&e!==null&&(e.$$typeof===j7||e.$$typeof===L7||e.$$typeof===F7||e.$$typeof===M7||e.$$typeof===G7||e.$$typeof===dIe||e.getModuleId!==void 0)};mr.typeOf=Vs});var DIe=Ne((Odr,gIe)=>{"use strict";gIe.exports=hIe()});var TIe=Ne((Bdr,IIe)=>{var wIe=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,qdn=/\n/g,zdn=/^\s*/,$dn=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Vdn=/^:\s*/,Qdn=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,Ydn=/^[;\s]*/,Xdn=/^\s+|\s+$/g,Zdn=` `,SIe="/",EIe="*",hD="",Kdn="comment",ehn="declaration";IIe.exports=function(e,n){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];n=n||{};var t=1,a=1;function r(R){var D=R.match(qdn);D&&(t+=D.length);var y=R.lastIndexOf(Zdn);a=~y?R.length-y:a+R.length}function o(){var R={line:t,column:a};return function(D){return D.position=new i(R),s(),D}}function i(R){this.start=R,this.end={line:t,column:a},this.source=n.source}i.prototype.content=e;var u=[];function l(R){var D=new Error(n.source+":"+t+":"+a+": "+R);if(D.reason=R,D.filename=n.source,D.line=t,D.column=a,D.source=e,n.silent)u.push(D);else throw D}function c(R){var D=R.exec(e);if(!!D){var y=D[0];return r(y),e=e.slice(y.length),D}}function s(){c(zdn)}function f(R){var D;for(R=R||[];D=v();)D!==!1&&R.push(D);return R}function v(){var R=o();if(!(SIe!=e.charAt(0)||EIe!=e.charAt(1))){for(var D=2;hD!=e.charAt(D)&&(EIe!=e.charAt(D)||SIe!=e.charAt(D+1));)++D;if(D+=2,hD===e.charAt(D-1))return l("End of comment missing");var y=e.slice(2,D-2);return a+=2,r(y),e=e.slice(D),a+=2,R({type:Kdn,comment:y})}}function m(){var R=o(),D=c($dn);if(!!D){if(v(),!c(Vdn))return l("property missing ':'");var y=c(Qdn),S=R({type:ehn,property:CIe(D[0].replace(wIe,hD)),value:y?CIe(y[0].replace(wIe,hD)):hD});return c(Ydn),S}}function _(){var R=[];f(R);for(var D;D=m();)D!==!1&&(R.push(D),f(R));return R}return s(),_()};function CIe(e){return e?e.replace(Xdn,hD):hD}});var MIe=Ne((Jdr,WJ)=>{var nhn=TIe();function FIe(e,n){var t=null;if(!e||typeof e!="string")return t;for(var a,r=nhn(e),o=typeof n=="function",i,u,l=0,c=r.length;lEbn});var Cz=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})+'"'},l$=function(e){return function(n){for(var t=[],a=0,r=n.length;a0?Math.floor(e/n):-Math.floor(e/-n)}},I$=function(e){return function(n){if(n===0)return 0;var t=Math.abs(n);return(e%t+t)%t}};var Z5={Ring0:function(){return Cv}};var Dl=function(e){return e.mod};var Wa={degree:E$,div:C$,mod:I$,CommutativeRing0:function(){return Z5}},pr=function(e){return e.div};var K5={mempty:Ce,Semigroup0:function(){return HR}},vt={mempty:"",Semigroup0:function(){return B0}};var Tv={mempty:[],Semigroup0:function(){return la}};var ga=function(e){return e.mempty};var e6=function(e){return function(){return e}},F$=function(e){return function(n){return function(){return n(e())()}}};var n6=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},a3e=function(e,n){if(e<1)return[];var t=new Array(e);return t.fill(n)},r3e=function(e,n){for(var t=[],a=0,r=0;r=t.length?n:e(t[a])};var H$=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)},J$=function(e,n,t,a,r){if(t<0||t>=r.length)return n;var o=r.slice();return o[t]=a,e(o)},YR=function(e){return e.slice().reverse()},xD=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}}},mV=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},tQ=function(e,n){for(var t=n[0],a=n.length,r=1;r0)return new d(_w(e));if(Le)return I.value;throw new Error("Failed pattern match at Data.Array.NonEmpty (line 161, column 1 - line 161, column 58): "+[e.constructor.name])};var YD=function(e){return function(n){return _w(wi(e)(n))}};var fQ=function(e){return function(n){return JAe(e(Kl(n)))}},Mp=fQ(Ri);var vQ=fQ(NV),mQ=function(e){return function(n){return e(Kl(n))}};var dw=mQ(ru);var pQ=function(e){var n=mQ(e);return function(t){return _w(n(t))}},_Q=function(e){return pQ(wi(e))};var dQ=function(e){var n=yl(e);return function(t){return pQ(n(t))}};var hQ=function(e){return function(n){return function(t){return(t|0)===t?e(t):n}}},ft=function(e){return e};var tF=isFinite;var aF=Math.abs;var j6=Math.cos;var XD=Math.floor,N6=Math.log;var rF=function(e){return function(n){return Math.pow(e,n)}},fh=function(e){return function(n){return e%n}},vh=Math.round;var P6=Math.sin;var Nv=3.141592653589793;var gQ=2.302585092994046;var DQ=Ji(ID),yQ=ti(ID);var Gp=function(){return hQ(d.create)(I.value)}(),bQ=function(e){if(!tF(e))return 0;if(e>=ft(DQ))return DQ;if(e<=ft(yQ))return yQ;if(Le)return Ee(0)(Gp(e));throw new Error("Failed pattern match at Data.Int (line 72, column 1 - line 72, column 29): "+[e.constructor.name])},Zc=function(e){return bQ(vh(e))};var Nr=function(e){return bQ(XD(e))},RQ=function(e){return(e&1)==0};var Pr=function(){function e(){}return e.value=new e,e}(),Fa=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}(),oF=function(e){return e},oxe=function(e){return new Fa(e.value0,e.value1)};var ixe=function(e){var n=function(t){return function(a){var r=t,o=!1,i;function u(l,c){if(c instanceof Fa&&c.value1 instanceof Fa&&c.value1.value1 instanceof Fa){r=new Fa(c,l),a=c.value1.value1.value1;return}var s=function(v){return v instanceof Fa&&v.value1 instanceof Fa&&v.value1.value1 instanceof Pr?new Fa(e(v.value0),new Fa(e(v.value1.value0),Pr.value)):v instanceof Fa&&v.value1 instanceof Pr?new Fa(e(v.value0),Pr.value):Pr.value},f=function(v){return function(m){var _=v,R=!1,D;function y(S,M){if(S instanceof Fa&&S.value0 instanceof Fa&&S.value0.value1 instanceof Fa&&S.value0.value1.value1 instanceof Fa){_=S.value1,m=new Fa(e(S.value0.value0),new Fa(e(S.value0.value1.value0),new Fa(e(S.value0.value1.value1.value0),M)));return}return R=!0,M}for(;!R;)D=y(_,m);return D}};return o=!0,f(l)(s(c))}for(;!o;)i=u(r,a);return i}};return n(Pr.value)},uxe={map:ixe};var Kc={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 Pr)return l=!0,f;if(v instanceof Fa){u=new Fa(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(Pr.value)}(),a=dr(Kc)(Nt(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 Pr)return o=!0,l;if(c instanceof Fa){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=ga(e);return function(a){return dr(Kc)(function(r){var o=n(r);return function(i){return o(a(i))}})(t)}}};var lxe=wr(Kc);var O6={append:function(e){return function(n){return lxe(Fa.create)(n)(e)}}},SQ=Qe(O6);var k6={append:function(e){return function(n){return new _f(e.value0,SQ(e.value1)(oxe(n)))}}};var cxe={alt:SQ,Functor0:function(){return uxe}},EQ=function(){return{empty:Pr.value,Alt0:function(){return cxe}}}();var hxe=L(B);var U6=function(e){if(e instanceof Pr)return I.value;if(e instanceof Fa)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])},iF=function(e){return Su(e)(function(n){return hxe(function(t){return new Ue(t.head,t.tail)})(U6(n))})};var mh=function(e){return wr(e)(Fa.create)(Pr.value)};var FQ=function(e){return e()};var MQ=function(e){throw new Error(e)};var GQ=function(){return MQ};var gxe=GQ(),Dxe=FQ,ec=function(e){return Dxe(function(){return gxe(e)})};var H6=function(){var e=nF(EQ);return function(n){return oF(e(n))}}();var AQ=function(e){return e.value0};var LQ=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 To=function(){function e(){}return e.value=new e,e}(),Fo=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}(),jQ=function(){function e(){}return e.value=new e,e}(),B6=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}(),J6=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}(),NQ=function(){function e(){}return e.value=new e,e}(),W6=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}(),uF=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 es=function(e,n,t,a){if(t instanceof To){if(a instanceof To)return new Fo(1,1,e,n,t,a);if(a instanceof Fo)return new Fo(1+a.value0|0,1+a.value1|0,e,n,t,a);throw new Error("Failed pattern match at Data.Map.Internal (line 702, column 5 - line 706, column 39): "+[a.constructor.name])}if(t instanceof Fo){if(a instanceof To)return new Fo(1+t.value0|0,1+t.value1|0,e,n,t,a);if(a instanceof Fo)return new Fo(1+function(){var r=t.value0>a.value0;return r?t.value0:a.value0}()|0,(1+t.value1|0)+a.value1|0,e,n,t,a);throw new Error("Failed pattern match at Data.Map.Internal (line 708, column 5 - line 712, column 68): "+[a.constructor.name])}throw new Error("Failed pattern match at Data.Map.Internal (line 700, column 32 - line 712, column 68): "+[t.constructor.name])},hw=function(){return Nt(J6.create)(jQ.value)}(),wxe=function(e){return function(n){return function(t){var a=function(r){var o=!1,i;function u(l){if(l instanceof jQ)return o=!0,t(Ce);if(l instanceof B6)return o=!0,n(l.value0,l.value1,l.value2);if(l instanceof J6){r=e(l.value1)(l.value0);return}throw new Error("Failed pattern match at Data.Map.Internal (line 940, column 8 - line 946, column 20): "+[l.constructor.name])}for(;!o;)i=u(r);return i};return a}}};var ZD=function(e){return function(n){return new Fo(1,1,e,n,To.value,To.value)}},KD=function(){var e=function(a){if(a instanceof To)return 0;if(a instanceof Fo)return a.value0;throw new Error("Failed pattern match at Data.Map.Internal (line 757, column 12 - line 759, column 26): "+[a.constructor.name])},n=function(a,r,o,i,u,l,c){return l instanceof Fo&&l.value0>e(c)?es(l.value2,l.value3,es(a,r,o,l.value4),es(i,u,l.value5,c)):es(i,u,es(a,r,o,l),c)},t=function(a,r,o,i,u,l,c){return l instanceof Fo&&e(u)<=l.value0?es(l.value2,l.value3,es(o,i,u,l.value4),es(a,r,l.value5,c)):es(o,i,u,es(a,r,l,c))};return function(a,r,o,i){if(o instanceof To)return i instanceof To?ZD(a)(r):i instanceof Fo&&i.value0>1?n(a,r,o,i.value2,i.value3,i.value4,i.value5):es(a,r,o,i);if(o instanceof Fo){if(i instanceof Fo){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 To&&o.value0>1?t(a,r,o.value2,o.value3,o.value4,o.value5,i):es(a,r,o,i)}throw new Error("Failed pattern match at Data.Map.Internal (line 717, column 40 - line 738, column 34): "+[o.constructor.name])}}(),q6=LQ("unsafeSplit","Data.Map.Internal",function(){return function(e,n,t){if(t instanceof To)return new uF(I.value,To.value,To.value);if(t instanceof Fo){var a=e(n)(t.value2);if(a instanceof we){var r=q6(793)(e,n,t.value4);return new uF(r.value0,r.value1,KD(t.value2,t.value3,r.value2,t.value5))}if(a instanceof Re){var r=q6(796)(e,n,t.value5);return new uF(r.value0,KD(t.value2,t.value3,t.value4,r.value1),r.value2)}if(a instanceof Te)return new uF(new d(t.value3),t.value4,t.value5);throw new Error("Failed pattern match at Data.Map.Internal (line 791, column 5 - line 799, column 30): "+[a.constructor.name])}throw new Error("Failed pattern match at Data.Map.Internal (line 787, column 34 - line 799, column 30): "+[t.constructor.name])}}),Sxe=q6(786);var z6=LQ("unsafeUnionWith","Data.Map.Internal",function(){return function(e,n,t,a){if(t instanceof To)return a;if(a instanceof To)return t;if(a instanceof Fo){var r=Sxe(e,a.value2,t),o=z6(809)(e,n,r.value1,a.value4),i=z6(810)(e,n,r.value2,a.value5);if(r.value0 instanceof d)return KD(a.value2,n(r.value0.value0)(a.value3),o,i);if(r.value0 instanceof I)return KD(a.value2,a.value3,o,i);throw new Error("Failed pattern match at Data.Map.Internal (line 811, column 5 - line 815, column 46): "+[r.value0.constructor.name])}throw new Error("Failed pattern match at Data.Map.Internal (line 804, column 42 - line 815, column 46): "+[t.constructor.name,a.constructor.name])}}),Exe=z6(803),Cxe=function(e){var n=Ze(e);return function(t){return function(a){return function(r){return Exe(n,t,a,r)}}}},lF=function(e){return Cxe(e)(an)};var ph=function(e){var n=Ze(e);return function(t){var a=function(r){var o=!1,i;function u(l){if(l instanceof To)return o=!0,I.value;if(l instanceof Fo){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 283, column 7 - line 286, column 22): "+[c.constructor.name])}throw new Error("Failed pattern match at Data.Map.Internal (line 280, column 8 - line 286, column 22): "+[l.constructor.name])}for(;!o;)i=u(r);return i};return a}};var Ixe=function(){var e=function(n){return function(t){var a=n,r=!1,o;function i(u,l){if(l instanceof To)return r=!0,u;if(l instanceof Fo){if(l.value5 instanceof To){a=new B6(l.value2,l.value3,u),t=l.value4;return}a=new B6(l.value2,l.value3,new J6(l.value5,u)),t=l.value4;return}throw new Error("Failed pattern match at Data.Map.Internal (line 951, column 13 - line 958, column 48): "+[l.constructor.name])}for(;!r;)o=i(a,t);return o}};return e}(),gw=wxe(Ixe),PQ=function(){return gw(function(e,n,t){return new W6(e,n,t)})(an(NQ.value))}(),Txe=function(e){var n=fe(e);return function(t){var a=fe(t);return{eq:function(){var r=function(o){return function(i){var u=o,l=!1,c;function s(f,v){var m=PQ(f);if(m instanceof W6){var _=PQ(v);if(_ instanceof W6&&n(m.value0)(_.value0)&&a(m.value1)(_.value1)){u=m.value2,i=_.value2;return}return l=!0,!1}if(m instanceof NQ)return l=!0,!0;throw new Error("Failed pattern match at Data.Map.Internal (line 859, column 14 - line 868, column 13): "+[m.constructor.name])}for(;!l;)c=s(u,i);return c}};return r}()}}};var Fxe=function(){var e=function(n,t,a){return new d(new Ue(new Ue(n,t),a))};return gw(e)(function(n){return I.value})}(),_h=function(e){var n=Su(e)(Fxe);return function(t){return n(hw(t))}};var $6=function(e){return e instanceof To};var V6=function(e){var n=Ze(e);return function(t){return function(a){var r=function(o){if(o instanceof To)return ZD(t)(a);if(o instanceof Fo){var i=n(t)(o.value2);if(i instanceof we)return KD(o.value2,o.value3,r(o.value4),o.value5);if(i instanceof Re)return KD(o.value2,o.value3,o.value4,r(o.value5));if(i instanceof Te)return new Fo(o.value0,o.value1,t,a,o.value4,o.value5);throw new Error("Failed pattern match at Data.Map.Internal (line 471, column 7 - line 474, column 35): "+[i.constructor.name])}throw new Error("Failed pattern match at Data.Map.Internal (line 468, column 8 - line 474, column 35): "+[o.constructor.name])};return r}}};var Q6=function(e){var n=Txe(e);return function(t){var a=fe(n(t));return{eq:function(r){return function(o){if(r instanceof To)return o instanceof To;if(r instanceof Fo)return o instanceof Fo&&r.value1===o.value1?a(hw(r))(hw(o)):!1;throw new Error("Failed pattern match at Data.Map.Internal (line 94, column 14 - line 105, column 16): "+[r.constructor.name])}}}}};var df=function(){return To.value}(),nc=function(e){var n=V6(e);return function(t){return dr(t)(function(a){return function(r){return n(r.value0)(r.value1)(a)}})(df)}};var kQ=Jo();var Mxe=function(e){return kQ(lF(e))};var UQ=function(e){return e};var HQ=function(e){return ZD(e)(Ce)};var BQ=function(e){return{append:Mxe(e)}};var JQ=kQ($6);var WQ=function(e){var n=V6(e);return function(t){return function(a){return n(t)(Ce)(a)}}};var qQ=function(e){var n=fe(Q6(e)(kR));return{eq:function(t){return function(a){return n(t)(a)}}}};var Gxe=df,cF=function(e){var n=dr(e);return function(t){var a=WQ(t);return n(function(r){return function(o){return a(o)(r)}})(Gxe)}};var Axe=typeof Array.from=="function",zQ=typeof Symbol!="undefined"&&Symbol!=null&&typeof Symbol.iterator!="undefined"&&typeof String.prototype[Symbol.iterator]=="function",xxe=typeof String.prototype.fromCodePoint=="function",Lxe=typeof String.prototype.codePointAt=="function",$Q=function(e){return Lxe?function(n){return n.codePointAt(0)}:e},VQ=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(zQ)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 QQ=function(e){return xxe?String.fromCodePoint:e},YQ=function(e){return function(n){return zQ?function(t){for(var a="",r=t[Symbol.iterator](),o=0;o=Ap(KQ)&&e<=Ap(eY)?new d(ZQ(e)):I.value},jxe={succ:dh(X6)(Ap),pred:hh(X6)(Ap),Ord0:function(){return jT}};var e1=function(){return{cardinality:Ap(eY)-Ap(KQ)|0,toEnum:X6,fromEnum:Ap,Bounded0:function(){return yp},Enum1:function(){return jxe}}}();var n1=function(e){return e.join("")},Dw=function(e){return e.split("")},gh=function(e){return e},nY=function(e){return function(n){return function(t){return function(a){return t>=0&&t=0&&e1;if(t){var a=Rw(em(1)(e)),r=oY(a);return r?rY(n)(a):n}return n},K6=$Q($xe),mF=XQ(zxe)(K6),$r=function(e){return _a(mF(e))};var e8=function(){var e=Y6(e1)(ti(yp))(Ji(yp));return function(n){return gh(e(n))}}(),Vxe=function(e){if(e<=65535)return e8(e);var n=Bxe(e-65536|0)(1024)+55296|0,t=Jxe(e-65536|0)(1024)+56320|0;return e8(n)+e8(t)};var n8=QQ(Vxe),uY=function(e){return function(n){if(e<1)return"";var t=ww(n);return t instanceof d?n8(t.value0.head)+uY(e-1|0)(t.value0.tail):n}},ac=YQ(uY);var pF={eq:function(e){return function(n){return e===n}}},_F={compare:function(e){return function(n){return Wxe(e)(n)}},Eq0:function(){return pF}},Sw=function(e){return function(n){return K0(ns(ac(e)(n)))(n)}};var Qxe=function(e){return function(n){var t=e,a=!1,r;function o(i,u){var l=ww(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,I.value}for(;!a;)r=o(t,n);return r}},t8=function(e){return function(n){return e<0?I.value:e===0&&n===""?I.value:e===0?new d(K6(n)):VQ(Qxe)(d.create)(I.value)(K6)(e)(n)}},Yxe={bottom:0,top:1114111,Ord0:function(){return _F}},Lp=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 I.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 Yxe},Enum1:function(){return Xxe(0)}}}(),Xxe=kxe("enumCodePoint","Data.String.CodePoints",function(){return{succ:dh(bt(Lp))(ht(Lp)),pred:hh(bt(Lp))(ht(Lp)),Ord0:function(){return _F}}});function hF(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 nm=function(){return function(){return function(e){return function(n){return hF(e,n)}}}};function pY(e){return typeof e=="string"}function a8(e){return typeof e=="number"}function _Y(e){return typeof e=="boolean"}function gF(e){return e instanceof Object}function dY(e){return e instanceof Function}function Ew(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 r8(e){return typeof e}function Cw(e){return Object.prototype.toString.call(e).slice(8,-1)}function Iw(e){return e===null}function yh(e){return e===void 0}var a1=Array.isArray||function(e){return Object.prototype.toString.call(e)==="[object Array]"};function hf(e){return new Error(e)}function r1(e){return e.message}function DF(e){return function(){throw e}}var gY=function(e){return DF(hf(e))};var Ei=function(e){return e.throwError};var rc=function(e){return e.catchError};var as=function(e){var n=rc(e),t=e.MonadThrow0().Monad0(),a=L(t.Bind1().Apply0().Functor0()),r=q(t.Applicative0());return function(o){return n(a(ln.create)(o))(function(i){return r(rn.create(i))})}};var Pv=function(e){return e.state};var Ov=function(e){return e.tell};var rs={liftEffect:Ve(Ye),Monad0:function(){return Fv}},Jn=function(e){return e.liftEffect};var c7e=L(ai);var o8=function(e){return e};var yF=function(e){return e};var bF=function(e){return function(n){return e(n)}},i8=function(e){var n=L(e);return{map:function(t){return bF(n(c7e(t)))}}};var yY=function(e){return{Applicative0:function(){return gf(e)},Bind1:function(){return kv(e)}}},kv=function(e){var n=Z(e.Bind1()),t=q(e.Applicative0());return{bind:function(a){return function(r){return n(a)(er(function(o){return t(rn.create(o))})(function(o){var i=r(o);return i}))}},Apply0:function(){return u8(e)}}},u8=function(e){var n=i8(e.Bind1().Apply0().Functor0());return{apply:Yl(yY(e)),Functor0:function(){return n}}},gf=function(e){return{pure:function(){var n=q(e.Applicative0());return function(t){return o8(n(ln.create(t)))}}(),Apply0:function(){return u8(e)}}};var bY=function(e){var n=yY(e);return{throwError:function(){var t=q(e.Applicative0());return function(a){return o8(t(rn.create(a)))}}(),Monad0:function(){return n}}};var l8=function(e){var n=Qe(e);return function(t){var a=t.Bind1(),r=Z(a),o=q(t.Applicative0()),i=i8(a.Apply0().Functor0());return{alt:function(u){return function(l){return r(u)(function(c){if(c instanceof ln)return o(new ln(c.value0));if(c instanceof rn)return r(l)(function(s){if(s instanceof ln)return o(new ln(s.value0));if(s instanceof rn)return o(new rn(n(c.value0)(s.value0)));throw new Error("Failed pattern match at Control.Monad.Except.Trans (line 87, column 9 - line 89, column 49): "+[s.constructor.name])});throw new Error("Failed pattern match at Control.Monad.Except.Trans (line 83, column 5 - line 89, column 49): "+[c.constructor.name])})}},Functor0:function(){return i}}}};var f7e=ae(Ir),v7e=ae(ze);var RF=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Gw=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}(),RY=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}(),wY=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}(),io=Be,Np=Be;var Aw=function(e){if(e instanceof RF)return e.value0;if(e instanceof RY)return"Error at array index "+(v7e(e.value0)+(": "+Aw(e.value1)));if(e instanceof wY)return"Error at property "+(f7e(e.value0)+(": "+Aw(e.value1)));if(e instanceof Gw)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 Rh=function(e){var n=Ei(bY(e));return function(t){return n(H6(t))}},SY=function(e){var n=q(gf(e)),t=Rh(e);return function(a){if(a1(a))return n(Np(a));if(Le)return t(new Gw("array",Cw(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(gf(e)),t=Rh(e);return function(a){return function(r){if(Cw(r)===a)return n(Np(r));if(Le)return t(new Gw(a,Cw(r)));throw new Error("Failed pattern match at Foreign (line 123, column 1 - line 123, column 104): "+[a.constructor.name,r.constructor.name])}}};var wh=function(e){return Df(e)("String")};var EY=lr(ta),CY=Oa(EY),m7e=BV($D),p7e=ae(ze),_7e=mf(vt),iu=function(){function e(){}return e.value=new e,e}(),Vu=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),_e={validateJsRecord:function(e){return iu.value}},Pp={validateForeignType:function(e){return iu.value}};var Sh=function(e){return function(n){return function(t){var a=n(t);return a?iu.value:new Vu({path:"",got:t,expected:e})}}},xw={validateForeignType:Sh("Array")(a1)},zn={validateForeignType:Sh("Boolean")(_Y)},IY={validateForeignType:Sh("Function")(dY)};var Rt={validateForeignType:Sh("Int")(cf(EY)(a8)(function(e){return Dt(Gp(Np(e)))}))};var Ft={validateForeignType:Sh("Number")(a8)},wF={validateForeignType:Sh("Object")(gF)},ie={validateForeignType:Sh("String")(pY)},TY=function(e){return e.validateJsRecord},Qn=function(){return function(e){var n=TY(e);return{validateForeignType:function(t){if(gF(t))return n(t);if(Le)return new Vu({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])}}}},i1=function(e){return e.validateForeignType},Vn=function(e){var n=i1(e);return{validateForeignType:function(t){if(CY(a1)(t))return new Vu({path:"",expected:"Array",got:t});if(Le){var a=function(o){return function(i){var u=n(i);if(u instanceof iu)return I.value;if(u instanceof Vu)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=m7e(a)(Np(t));if(r instanceof I)return iu.value;if(r instanceof d)return new Vu({expected:r.value0.invalid.expected,got:r.value0.invalid.got,path:"["+(p7e(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])}}},jn=function(e){var n=i1(e);return{validateForeignType:function(t){if(Iw(t)||yh(t))return iu.value;if(Le){var a=n(t);if(a instanceof iu)return iu.value;if(a instanceof Vu)return new Vu({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])}}},Eh=function(e){var n=i1(e);return{validateForeignType:function(t){if(CY(gF)(t))return new Vu({path:"",expected:"Object",got:t});if(Le){var a=function(r){return function(o){return function(i){if(r instanceof Vu)return I.value;var u=n(i);if(u instanceof iu)return new d(iu.value);if(u instanceof Vu)return new d(new Vu({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 XV(a)(iu.value)(Np(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=i1(t);return function(r){var o=TY(r);return{validateJsRecord:function(i){var u=n(Gt.value),l=Ru(u)(Np(i)),c=a(l);if(c instanceof Vu)return new Vu({expected:c.value0.expected,got:c.value0.got,path:"."+(u+c.value0.path)});if(c instanceof iu)return o(i);throw new Error("Failed pattern match at Elmish.Foreign (line 235, column 9 - line 237, column 43): "+[c.constructor.name])}}}}},tm=function(e){var n=i1(e);return function(t){var a=n(t);if(a instanceof iu)return new ln(Np(t));if(a instanceof Vu)return new rn(_7e([a.value0.path,function(){var r=a.value0.path==="";return r?"Expected ":": expected "}(),a.value0.expected," but got: ",Ew(a.value0.got)]));throw new Error("Failed pattern match at Elmish.Foreign (line 255, column 18 - line 263, column 6): "+[a.constructor.name])}},wt=function(e){var n=tm(e);return function(t){return Xl(n(t))}};var FY=on(),d7e=Ze(Ut);var SF=function(e){return e};var c8={show:FY};var Ci={show:FY};var h7e={eq:function(e){return function(n){return e===n}}},s8={compare:function(e){return function(n){return d7e(e)(n)}},Eq0:function(){return h7e}},oc={eq:function(e){return function(n){return e===n}}};var Lw=ie,os=ie;var jw="";function MY(e){var n=e.split(` `);return n.reduce(function(t,a){var r=y7e(a)||R7e(a)||E7e(a)||F7e(a)||I7e(a);return r&&t.push(r),t},[])}var g7e=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack||\/|[a-z]:\\|\\\\).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,D7e=/\((\S*)(?::(\d+))(?::(\d+))\)/;function y7e(e){var n=g7e.exec(e);if(!n)return null;var t=n[2]&&n[2].indexOf("native")===0,a=n[2]&&n[2].indexOf("eval")===0,r=D7e.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]||jw,arguments:t?[n[2]]:[],lineNumber:n[3]?+n[3]:null,column:n[4]?+n[4]:null}}var b7e=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;function R7e(e){var n=b7e.exec(e);return n?{file:n[2],methodName:n[1]||jw,arguments:[],lineNumber:+n[3],column:n[4]?+n[4]:null}:null}var w7e=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,S7e=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function E7e(e){var n=w7e.exec(e);if(!n)return null;var t=n[3]&&n[3].indexOf(" > eval")>-1,a=S7e.exec(n[3]);return t&&a!=null&&(n[3]=a[1],n[4]=a[2],n[5]=null),{file:n[3],methodName:n[1]||jw,arguments:n[2]?n[2].split(","):[],lineNumber:n[4]?+n[4]:null,column:n[5]?+n[5]:null}}var C7e=/^\s*(?:([^@]*)(?:\((.*?)\))?@)?(\S.*?):(\d+)(?::(\d+))?\s*$/i;function I7e(e){var n=C7e.exec(e);return n?{file:n[3],methodName:n[1]||jw,arguments:[],lineNumber:+n[4],column:n[5]?+n[5]:null}:null}var T7e=/^\s*at (?:((?:\[object object\])?[^\\/]+(?: \[as \S+\])?) )?\(?(.*?):(\d+)(?::(\d+))?\)?\s*$/i;function F7e(e){var n=T7e.exec(e);return n?{file:n[2],methodName:n[1]||jw,arguments:[],lineNumber:+n[3],column:n[4]?+n[4]:null}:null}function GY({skipFrames:e,prefix:n}){let t=new Error().stack,r=MY(t)[e],o=AY(r.file.replace(/^(http(s?):\/\/)?[^\/]+/,"")),i=AY(r.methodName);return`${n}_${o}_${i}_${r.lineNumber}_${r.column}`}var AY=e=>e.replace(/[^\d\w]+/g,"_").replace(/(^_|_$)/g,"");$t();var xY=function(){let e={};return function(n,t){let a=e[n]||(e[n]=NY(n));return t(a)}}();function LY(e){return e(NY())}var jY=Et.createElement,Uw=e=>()=>e.props.def;function NY(e){class n extends Et.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 CF=typeof module=="undefined"?void 0:module.require,IHn=function(){try{return CF===void 0?void 0:CF("util")}catch{return}}();var THn=function(){var e;if(typeof performance!="undefined")e=performance;else if(CF)try{e=CF("perf_hooks").performance}catch{}return function(){return(e||Date).now()}}();var bl=function(){var e={},n="Pure",t="Throw",a="Catch",r="Sync",o="Async",i="Bind",u="Bracket",l="Fork",c="Sequential",s="Map",f="Apply",v="Alt",m="Cons",_="Resume",R="Release",D="Finalizer",y="Finalized",S="Forked",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,me){return new k(ee,De,O,me)};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 ve(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),me=!1;function $(){var Ge;for(me=!0;se!==0;)se--,Ge=O[De],O[De]=void 0,De=(De+1)%ee,Ge();me=!1}return{isDraining:function(){return me},enqueue:function(Ge){var Fe,He;se===ee&&(He=me,$(),me=He),O[(De+se)%ee]=Ge,se++,me||$()}}}();function Se(ee){var se={},De=0,O=0;return{register:function(me){var $=De++;me.onComplete({rethrow:!0,handler:function(Ge){return function(){O--,delete se[$]}}})(),se[$]=me,O++},isEmpty:function(){return O===0},killAll:function(me,$){return function(){if(O===0)return $();var Ge=0,Fe={};function He(xe){Fe[xe]=se[xe].kill(me,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 $e in se)se.hasOwnProperty($e)&&(Ge++,He($e));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,me=pe,$=De,Ge=null,Fe=null,He=null,$e=null,xe=null,In=0,cn=0,Kn=null,Cn=!0;function et(at){for(var Hn,sn,mt;;)switch(Hn=null,sn=null,mt=null,me){case je:me=ye;try{$=He($),$e===null?He=null:(He=$e._1,$e=$e._2)}catch(Ie){me=Ke,Ge=ee.left(Ie),$=null}break;case oe:ee.isLeft($)?(me=Ke,Ge=$,$=null):He===null?me=Ke:(me=je,$=ee.fromRight($));break;case ye:switch($.tag){case i:He&&($e=new k(m,He,$e)),He=$._2,me=ye,$=$._1;break;case n:He===null?(me=Ke,$=ee.right($._1)):(me=je,$=$._1);break;case r:me=oe,$=ve(ee.left,ee.right,$._1);break;case o:me=Un,$=ge(ee.left,$._1,function(Ie){return function(){O===at&&(O++,re.enqueue(function(){O===at+1&&(me=oe,$=Ie,et(O))}))}});return;case t:me=Ke,Ge=ee.left($._1),$=null;break;case a:He===null?xe=new k(m,$,xe,Fe):xe=new k(m,$,new k(m,new k(_,He,$e),xe,Fe),Fe),He=null,$e=null,me=ye,$=$._1;break;case u:In++,He===null?xe=new k(m,$,xe,Fe):xe=new k(m,$,new k(m,new k(_,He,$e),xe,Fe),Fe),He=null,$e=null,me=ye,$=$._1;break;case l:me=oe,Hn=On(ee,se,$._2),se&&se.register(Hn),$._1&&Hn.run(),$=ee.right(Hn);break;case c:me=ye,$=A(ee,se,$._1);break}break;case Ke:if(He=null,$e=null,xe===null)me=Pn,$=Fe||Ge||$;else switch(Hn=xe._3,mt=xe._1,xe=xe._2,mt.tag){case a:Fe&&Fe!==Hn&&In===0?me=Ke:Ge&&(me=ye,$=mt._2(ee.fromLeft(Ge)),Ge=null);break;case _:Fe&&Fe!==Hn&&In===0||Ge?me=Ke:(He=mt._1,$e=mt._2,me=je,$=ee.fromRight($));break;case u:In--,Ge===null&&(sn=ee.fromRight($),xe=new k(m,new k(R,mt._2,sn),xe,Hn),(Fe===Hn||In>0)&&(me=ye,$=mt._3(sn)));break;case R:xe=new k(m,new k(y,$,Ge),xe,Fe),me=ye,Fe&&Fe!==Hn&&In===0?$=mt._1.killed(ee.fromLeft(Fe))(mt._2):Ge?$=mt._1.failed(ee.fromLeft(Ge))(mt._2):$=mt._1.completed(ee.fromRight($))(mt._2),Ge=null,In++;break;case D:In++,xe=new k(m,new k(y,$,Ge),xe,Fe),me=ye,$=mt._1;break;case y:In--,me=Ke,$=mt._1,Ge=mt._2;break}break;case Pn:for(var Pa in Kn)Kn.hasOwnProperty(Pa)&&(Cn=Cn&&Kn[Pa].rethrow,de(Kn[Pa].handler($)));Kn=null,Fe&&Ge?setTimeout(function(){throw ee.fromLeft(Ge)},0):ee.isLeft($)&&Cn&&setTimeout(function(){if(Cn)throw ee.fromLeft($)},0);return;case pe:me=ye;break;case Un:return}}function gt(at){return function(){if(me===Pn)return Cn=Cn&&at.rethrow,at.handler($)(),function(){};var Hn=cn++;return Kn=Kn||{},Kn[Hn]=at,function(){Kn!==null&&delete Kn[Hn]}}}function Fn(at,Hn){return function(){if(me===Pn)return Hn(ee.right(void 0))(),function(){};var sn=gt({rethrow:!1,handler:function(){return Hn(ee.right(void 0))}})();switch(me){case pe:Fe=ee.left(at),me=Pn,$=Fe,et(O);break;case Un:Fe===null&&(Fe=ee.left(at)),In===0&&(me===Un&&(xe=new k(m,new k(D,$(at)),xe,Fe)),me=Ke,$=null,Ge=null,et(++O));break;default:Fe===null&&(Fe=ee.left(at)),In===0&&(me=Ke,$=null,Ge=null)}return sn}}function It(at){return function(){var Hn=gt({rethrow:!1,handler:at})();return me===pe&&et(O),Hn}}return{kill:Fn,join:It,onComplete:gt,isSuspended:function(){return me===pe},run:function(){me===pe&&(re.isDraining()?et(O):re.enqueue(function(){et(O)}))}}}function W(ee,se,De,O){var me=0,$={},Ge=0,Fe={},He=new Error("[ParAff] Early exit"),$e=null,xe=e;function In(gt,Fn,It){var at=Fn,Hn=null,sn=null,mt=0,Pa={},Ie,qe;e:for(;;)switch(Ie=null,at.tag){case S:if(at._3===e&&(Ie=$[at._1],Pa[mt++]=Ie.kill(gt,function(Tt){return function(){mt--,mt===0&&It(Tt)()}})),Hn===null)break e;at=Hn._2,sn===null?Hn=null:(Hn=sn._1,sn=sn._2);break;case s:at=at._2;break;case f:case v:Hn&&(sn=new k(m,Hn,sn)),Hn=at,at=at._1;break}if(mt===0)It(ee.right(void 0))();else for(qe=0,Ie=mt;qe""),I5e=uc.unmountComponentAtNode;function ZX(e,n,t){return Et.createElement.apply(null,[e,T5e(e,n)].concat(t))}function T5e(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 KX=(e,n)=>n[e],eZ=(e,n,t)=>t[e]=n;var Ah=function(n){return function(t){return n(t)()}};var v1=function(n){return function(t){return function(){return n(t)}}},Bp=function(n){return function(t){return function(a){return function(){return n(t,a)}}}},m1=function(n){return function(t){return function(a){return function(r){return function(){return n(t,a,r)}}}}};function aZ(e){return n=>e===n}var lc=null;function rZ(e,n,t){return e==null?n:t(e)}function Rl(e){return e}var Ht=ke(lc)(Rl),K=function(e){return rZ(e,I.value,d.create)};var Zw=function(e){return function(n){return function(t){var a=K(t);if(e instanceof I&&a instanceof I)return Ce;if(e instanceof d&&a instanceof I)return Ce;if(e instanceof d&&a instanceof d){if(aZ(e.value0)(a.value0))return Ce;if(Le)return n(new d(a.value0))()}return n(a)()}}};var J5e=X(it);var x={asReactChildren:function(e){return[e]}},te={asReactChildren:function(e){return[e]}},J={asReactChildren:Ve(Ye)};var k8=m1(VX),oZ=function(){return m1(eZ)},iZ=Bp(YX),uZ=Bp(XX),lZ=v1($X),U8=function(e){var n=wt(e);return function(t){return function(a){return J5e(function(){return KX(t,a)})(n)}}},cZ=Bp(QX),xh=function(e){return e.asReactChildren},Rf=function(){return function(e){var n=xh(e);return function(t){return function(a){return function(r){return ZX(t,a,n(r))}}}}},W5e=Rf()(J),cs=function(){return function(e){return function(n){return W5e(e)(n)([])}}};var H8=L(it),q5e=q(Kt),sZ=function(e){return{initialize:function(n){return cZ(n)(e.initialState)},getState:function(n){return function(){var a=H8(K)(lZ(n))();return Ee(e.initialState)(a)}},setState:k8}},fZ=function(){var e=function(n){return function(t){return{initialize:function(a){return of(new d(t.initialState))(n)},getState:function(a){return H8(Ee(t.initialState))(Qc(n))},setState:function(a){return function(r){return function(o){return function(){return of(new d(r))(n)(),k8(a)(r)(q5e(Ce))(),o()}}}}}}};return H8(e)(uf(I.value))}();var vZ=X(he),mZ=Qe(la);var $5e=q(Kt),pZ=oZ(),JF=X(it),V5e=U8(zn),_Z=L(it),Q5e=U8(Vn(IY)),Y5e=Bn(Mn),X5e=pt(qa),Z5e=h6(Kt)(Oe),K5e=Y5e(Ot),dZ=Jn(rs),e6e=OT(Fv),n6e=Qe(BR(UT(HR))),hZ=function(e){return e},Lh=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}(),t6e={map:function(e){return function(n){return new Lh(e(n.value0),n.value1)}}},Ii=function(e){return{bimap:function(n){return function(t){return function(a){return new Lh(t(a.value0),vZ(a.value1)(function(r){return function(o){return r({dispatch:function(i){return o.dispatch(n(i))},onStop:o.onStop})}}))}}}}},gZ={apply:function(e){return function(n){return new Lh(e.value0(n.value0),mZ(e.value1)(n.value1))}},Functor0:function(){return t6e}},Wt={bind:function(e){return function(n){var t=n(e.value0);return new Lh(t.value0,mZ(e.value1)(t.value1))}},Apply0:function(){return gZ}},_t={pure:function(e){return new Lh(e,[])},Apply0:function(){return gZ}},DZ={Applicative0:function(){return _t},Bind1:function(){return Wt}};var a6e=function(e){var n=Z(e);return function(t){var a=Jn(t);return function(r){return function(o){return new Lh(r,vZ(o)(function(i){return function(u){return n(i)(function(l){return a(u.dispatch(l))})}}))}}}};var Jp=function(e){return new Lh(Ce,[e])},cr=function(e){return Jp(an(e))},p1=function(e){var n=Z(e.Monad0().Bind1()),t=Jn(e);return function(a){return Jp(function(r){return n(a)(function(o){return t(ke($5e(Ce))(r.dispatch)(o))})})}},Vr=function(e){var n=a6e(e.Monad0().Bind1())(e);return function(t){return n(Ce)([t])}},yZ=function(e){return function(n){var t=pZ("__unmounted"),a=pZ("__subscriptions"),r=function(m){return function(_){return function(R){return function(){var y=JF(Uw(m))(function(S){return S.init})();return n({initialState:y.value0}).setState(m)(_)(R)()}}}},o=function(){var m=_Z(Ee(!1)),_=V5e("__unmounted");return function(R){return m(_(R))}}(),i=function(){var m=_Z(Ee([])),_=Q5e("__subscriptions");return function(R){return m(_(R))}}(),u=function(m){return function(){return X5e(Z5e)(i(m))(),a([])(m)()}},l=function(m){return function(){var R=JF(Uw(m))(function(D){return D.init})();return n({initialState:R.value0}).getState(m)()}},c=function(m){return function(_){return function(){var D=i(m)();return a(wi(qw(_))(D))(m)()}}},s=function(m){return function(_){var R=function(D){return qw(K5e(is(0))(function(){return D({dispatch:function(){var y=f(_);return function(S){return dZ(y(S))}}(),onStop:c(_)})}))};return n6(m)(R)}},f=function(m){return function(_){return e6e(o(m))(function(){var D=l(m)(),y=JF(Uw(m))(function(M){return M.update})(),S=y(D)(_);return r(m)(S.value0)(s(S.value1)(m))()})}},v=function(m){return function(){var R=l(m)(),D=JF(Uw(m))(function(y){return y.view})();return D(R)(f(m))}};return function(m){return jY(e,{def:m,init:n({initialState:m.init.value0}).initialize,render:v,componentDidMount:s(m.init.value1),componentWillUnmount:n6e(t(!0))(u)})}}},bZ=function(e){return function(){var t=dZ(fZ)();return LY(function(a){return yZ(a)(t)(e)})}},Yu=function(e){return function(n){return xY(e,function(t){var a=yZ(t)(sZ);return function(r){return a(n(r))}})}};var r6e=q(_t),o6e=Ve(Ye),WF=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),i6e={map:function(e){return function(n){return new WF(function(t){return n.value0(function(a){return t(e(a))})})}}},RZ=L(i6e);var B8=function(e){return hZ(GY(e))},ii=function(e){return new WF(function(n){return n(e)})},_1=function(e){return function(n){return new WF(function(t){return Yu(e)(n)(t)})}},J8=function(e){return function(n){return Yu(e)(function(t){return{init:r6e(Ce),update:an(ED),view:an(an(n.value0(o6e)))}})(Ce)}},d1=function(e){var n=B8({skipFrames:3,prefix:"WithHook"});return function(t){return J8(n)(RZ(t)(e))}},lo=function(e){var n=B8({skipFrames:3,prefix:"WithHookCurried"});return function(t){return J8(n)(RZ(Gv(t))(e))}},Eu=function(e){var n=B8({skipFrames:3,prefix:"HooksComponent"});return J8(n)(e)},ui=function(){return function(e){return function(n){return new WF(function(t){return e.value0(function(a){var r=n(a);return r.value0(t)})})}}},u6e=ui(),Bv=function(e){return function(){return u6e}};var wZ=q(_t),c6e=Ve(Ye);var s6e=function(e){return function(n){return function(t){return _1(e)(function(a){return n({init:wZ(t),update:function(r){return function(o){return wZ(o)}},view:PD(a)})})}}},ca=function(e){return s6e("UseState")(c6e)(e)};var SZ=ya(ls()),EZ=SZ.Fragment;var Y=Be,ue=Rf()(J)(EZ)({}),un=!1;var fn=function(){return{"genericTop'":ce.value}}();var W8=function(e){return e["genericTop'"]},vn=function(e){return{"genericTop'":W8(e)}};var mn=function(){return{"genericBottom'":ce.value}}();var Kw=function(e){return e["genericBottom'"]},pn=function(e){return{"genericBottom'":Kw(e)}};var _n=function(e){return{"genericBottom'":new U(Kw(e))}},CZ=function(e){var n=nh(e);return function(t){return n(Kw(t))}};var im=L(B),qF=on();var q8=function(e){return e["genericToEnum'"]};var zF=function(e){return e["genericSucc'"]},$F=function(e){var n=nh(e),t=bp(e);return function(a){var r=im(n),o=zF(a);return function(i){return r(o(t(i)))}}},VF=function(e){return e["genericPred'"]},TZ=function(e){var n=nh(e),t=bp(e);return function(a){var r=im(n),o=VF(a);return function(i){return r(o(t(i)))}}},QF=function(e){return e["genericFromEnum'"]},FZ=function(e){var n=bp(e);return function(t){var a=QF(t);return function(r){return a(n(r))}}},dn=function(e){var n=VF(e),t=zF(e);return function(a){var r=W8(a);return function(o){var i=VF(o),u=zF(o);return function(l){var c=Kw(l);return{"genericPred'":function(s){if(s instanceof U)return im(U.create)(n(s.value0));if(s instanceof p){var f=i(s.value0);if(f instanceof I)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 I)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 im(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 hn={"genericPred'":function(e){return I.value},"genericSucc'":function(e){return I.value}},gn=function(e){var n=VF(e),t=zF(e);return{"genericPred'":function(a){return im(qR)(n(a))},"genericSucc'":function(a){return im(qR)(t(a))}}};var z8=function(e){return e["genericCardinality'"]};var Dn=function(e){var n=z8(e),t=q8(e),a=QF(e);return function(r){var o=q8(r),i=QF(r);return{"genericCardinality'":qF(n)+qF(z8(r))|0,"genericToEnum'":function(u){var l=function(c){if(u>=0&&un=>t=>a=>{let r=_6e[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()},MZ=(e,n)=>(n.__sentryFingerprint=e,n);var GZ=function(e){return wu(MZ)(e)};var $o="error";var YF={parseOrPanic:function(e){return function(n){var t=e.parse(n);if(t instanceof ln)return t.value0;if(t instanceof rn)return Mo($o)("Failed to parse "+e.diagnosticName)({error:t.value0,value:n})(function(a){return e.default});throw new Error("Failed pattern match at Utils.Parse (line 49, column 5 - line 57, column 24): "+[t.constructor.name])}}},ut=function(e){return e.parseOrPanic},d6e=ut(YF),Yn=function(e){var n=ut(e);return function(t){var a=L(t);return function(r){return n({parse:function(o){return a(d.create)(r.parse(o))},default:I.value,diagnosticName:r.diagnosticName})}}},h6e=Yn(YF)(ai),eS=function(e){var n=tm(e);return function(t){return h6e({parse:n,diagnosticName:t})}},Me={parseOrPanic:function(e){return d6e({default:e.default,diagnosticName:e.diagnosticName,parse:function(){var n=ke(new rn(""))(ln.create);return function(t){return n(e.parse(t))}}()})}};var AZ=ut(Me);var Wp={name:"United States of America",code:"US"},jh=function(e){return e.name},qp=function(e){return e.code};var $8=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")]}(),g6e=An(qp)($8),h1=AZ({parse:g6e,default:{name:"",code:""},diagnosticName:"USState"}),xZ=AZ({parse:An(jh)($8),default:{name:"",code:""},diagnosticName:"USState"}),LZ=[Wp,{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"}],D6e=function(e){return jv(function(n){return function(t){return t===e}(function(t){return t.code}(n))})(LZ)},XF=Yn(Me)(B)({parse:D6e,diagnosticName:"Common.Geo.Country"});var y6e=function(e){return e};var g1=function(e){return e},nS=y6e;var jZ=X(B),b6e=Pt(Lr),R6e=ro(Oe)(vt),wl=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Xu=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),tS=function(e){if(e instanceof wl)return jh(e.value0.state);if(e instanceof Xu)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 aS=function(e){if(e instanceof wl)return e.value0.region;if(e instanceof Xu)return"Non-US";throw new Error("Failed pattern match at Common.Address (line 140, column 10 - line 142, column 29): "+[e.constructor.name])},w6e=function(e){return{street:e.street,city:e.city,county:e.county,region:e.region,zip:e.zip,state:h1(e.state),location:nS(e.location)}},S6e=function(e){return{address:e.address,country:Ee(Wp)(XF(e.country)),location:nS(e.location)}},NZ=function(e){var n=jZ(K(e.usAddress))(function(a){return new wl(w6e(a))}),t=jZ(K(e.nonUSAddress))(function(a){return new Xu(S6e(a))});return PT(function(a){return Mo($o)("Unable to parse Address: Unknown Address")({raw:e})(function(r){return new Xu({address:"",country:Wp,location:nS({lat:-48.8766632,lng:-123.395522})})})})(b6e(n)(t))},rS=function(e){if(e instanceof wl||e instanceof Xu)return e.value0.location;throw new Error("Failed pattern match at Common.Address (line 135, column 12 - line 137, column 37): "+[e.constructor.name])},oS=function(e){if(e instanceof wl)return e.value0.city+(", "+jh(e.value0.state));if(e instanceof Xu)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])},V8=function(e){if(e instanceof wl)return R6e(" ")([e.value0.street,oS(e),e.value0.zip]);if(e instanceof Xu)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 E6e=ut(Me),PZ=gn(hn),OZ=dn(PZ)(vn(fn)),kZ=pn(mn),UZ=_n(kZ),HZ=bn(yn),BZ=Dn(HZ),ZF=function(){function e(){}return e.value=new e,e}(),Q8=function(){function e(){}return e.value=new e,e}(),Y8=function(){function e(){}return e.value=new e,e}(),C6e={to:function(e){if(e instanceof U)return ZF.value;if(e instanceof p&&e.value0 instanceof U)return Q8.value;if(e instanceof p&&e.value0 instanceof p)return Y8.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 ZF)return new U(ce.value);if(e instanceof Q8)return new p(new U(ce.value));if(e instanceof Y8)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])}},I6e=Rn(C6e)(OZ(OZ(PZ)(kZ))(UZ))(BZ(BZ(HZ)))(UZ);var Nh=function(e){if(e instanceof ZF)return"Rural";if(e instanceof Y8)return"Urban";if(e instanceof Q8)return"Suburban";throw new Error("Failed pattern match at Common.CampusSetting (line 25, column 8 - line 28, column 25): "+[e.constructor.name])},JZ=function(){return E6e({parse:An(Nh)(I6e),default:ZF.value,diagnosticName:"CampusSetting"})}();var WZ=function(e){return function(n){return n.join(e)}};var T6e=Qe(la),Go={genericShowArgs:function(e){return[]}};var F6e=function(e){return e.genericShowArgs};var Qr=function(e){var n=F6e(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:"("+(WZ(" ")(T6e([o])(i))+")")}}}},X8=function(e){return e["genericShow'"]};var co=function(e){var n=X8(e);return function(t){var a=X8(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])}}}},Yr=function(e){var n=bp(e);return function(t){var a=X8(t);return function(r){return a(n(r))}}};var wf=function(e){var n=null;return function(){return e===void 0||(n=e(),e=void 0),n}},cc=function(e){return e()};var eM=function(e){var n=L(e);return{map:function(t){return function(a){return function(r){return n(function(o){return new Ue(t(o.value0),o.value1)})(a(r))}}}}};var D1=function(e){return{Applicative0:function(){return iS(e)},Bind1:function(){return nM(e)}}},nM=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 tM(e)}}},tM=function(e){var n=eM(e.Bind1().Apply0().Functor0());return{apply:Yl(D1(e)),Functor0:function(){return n}}},iS=function(e){var n=q(e.Applicative0());return{pure:function(t){return function(a){return n(new Ue(t,a))}},Apply0:function(){return tM(e)}}};var aM=function(e){var n=e.Monad0(),t=Z(n.Bind1()),a=q(n.Applicative0()),r=zu(e),o=D1(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 Ho)return new Ho(new Ue(f.value0.value0,f.value1));if(f.value0 instanceof Bo)return new Bo(new Ue(f.value0.value0,f.value1));throw new Error("Failed pattern match at Control.Monad.State.Trans (line 88, column 16 - line 90, column 40): "+[f.value0.constructor.name])}())})};return function(c){return r(l)(new Ue(u,c))}}},Monad0:function(){return o}}},y1=function(e){var n=q(e.Applicative0()),t=D1(e);return{state:function(a){return function(r){return n(a(r))}},Monad0:function(){return t}}};var rM=function(e){return function(n){var t=e(n);return t.value0}};var P6e=Dl(Wa),O6e=Ja();var VZ=function(e){return e};var k6e=1,tL=2147483647,U6e=function(){return tL-1|0}(),QZ=function(e){var n=function(t){return function(a){return function(r){var o=a-t|0,i=P6e(r)(o),u=it=>{try{let a=new Date(t);return isNaN(a.getTime())?n:e(a)}catch{return n}},jL=e=>({year:e.getFullYear(),month:e.getMonth(),day:e.getDate(),hour:e.getHours(),minute:e.getMinutes(),second:e.getSeconds(),millisecond:e.getMilliseconds()}),dee=()=>new Date,cLe=(()=>{let e=new Date;return typeof window!="undefined"?()=>e:()=>{let n=new Date;return n-e>1e3&&(e=n),e}})();var sLe=(()=>{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 hee=function(e,n,t){var a=new Date(Date.UTC(e,n,t));return e>=0&&e<100&&a.setUTCFullYear(e),a};function gee(e,n,t,a){var r=hee(n,t-1,a);return e(r.getUTCFullYear())(r.getUTCMonth()+1)(r.getUTCDate())}function Dee(e,n,t){return hee(e,n-1,t).getUTCDay()}var CM=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 hc=function(){function e(){}return e.value=new e,e}(),fs=function(){function e(){}return e.value=new e,e}(),vs=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}(),Pf=function(){function e(){}return e.value=new e,e}(),Zu=function(){function e(){}return e.value=new e,e}(),El=function(){function e(){}return e.value=new e,e}(),Ku=function(){function e(){}return e.value=new e,e}(),Cl=function(){function e(){}return e.value=new e,e}(),Il=function(){function e(){}return e.value=new e,e}(),el=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}(),Fl=function(){function e(){}return e.value=new e,e}(),Ml=function(){function e(){}return e.value=new e,e}(),Gl=function(){function e(){}return e.value=new e,e}(),gc=function(){function e(){}return e.value=new e,e}();var yee={show:function(e){if(e instanceof hc)return"Monday";if(e instanceof fs)return"Tuesday";if(e instanceof vs)return"Wednesday";if(e instanceof ms)return"Thursday";if(e instanceof ps)return"Friday";if(e instanceof _s)return"Saturday";if(e instanceof Pf)return"Sunday";throw new Error("Failed pattern match at Data.Date.Component (line 184, column 1 - line 191, column 25): "+[e.constructor.name])}},NL={show:function(e){if(e instanceof Zu)return"January";if(e instanceof El)return"February";if(e instanceof Ku)return"March";if(e instanceof Cl)return"April";if(e instanceof Il)return"May";if(e instanceof el)return"June";if(e instanceof nl)return"July";if(e instanceof Tl)return"August";if(e instanceof Fl)return"September";if(e instanceof Ml)return"October";if(e instanceof Gl)return"November";if(e instanceof gc)return"December";throw new Error("Failed pattern match at Data.Date.Component (line 101, column 1 - line 113, column 29): "+[e.constructor.name])}};var IM=yt,TM=yt,bee=Ka,fLe={eq:function(e){return function(n){return e instanceof hc&&n instanceof hc||e instanceof fs&&n instanceof fs||e instanceof vs&&n instanceof vs||e instanceof ms&&n instanceof ms||e instanceof ps&&n instanceof ps||e instanceof _s&&n instanceof _s||e instanceof Pf&&n instanceof Pf}}},Ree={compare:function(e){return function(n){if(e instanceof hc&&n instanceof hc)return Te.value;if(e instanceof hc)return we.value;if(n instanceof hc)return Re.value;if(e instanceof fs&&n instanceof fs)return Te.value;if(e instanceof fs)return we.value;if(n instanceof fs)return Re.value;if(e instanceof vs&&n instanceof vs)return Te.value;if(e instanceof vs)return we.value;if(n instanceof vs)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 Pf&&n instanceof Pf)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 fLe}},PL={eq:function(e){return function(n){return e instanceof Zu&&n instanceof Zu||e instanceof El&&n instanceof El||e instanceof Ku&&n instanceof Ku||e instanceof Cl&&n instanceof Cl||e instanceof Il&&n instanceof Il||e instanceof el&&n instanceof el||e instanceof nl&&n instanceof nl||e instanceof Tl&&n instanceof Tl||e instanceof Fl&&n instanceof Fl||e instanceof Ml&&n instanceof Ml||e instanceof Gl&&n instanceof Gl||e instanceof gc&&n instanceof gc}}},C1={compare:function(e){return function(n){if(e instanceof Zu&&n instanceof Zu)return Te.value;if(e instanceof Zu)return we.value;if(n instanceof Zu)return Re.value;if(e instanceof El&&n instanceof El)return Te.value;if(e instanceof El)return we.value;if(n instanceof El)return Re.value;if(e instanceof Ku&&n instanceof Ku)return Te.value;if(e instanceof Ku)return we.value;if(n instanceof Ku)return Re.value;if(e instanceof Cl&&n instanceof Cl)return Te.value;if(e instanceof Cl)return we.value;if(n instanceof Cl)return Re.value;if(e instanceof Il&&n instanceof Il)return Te.value;if(e instanceof Il)return we.value;if(n instanceof Il)return Re.value;if(e instanceof el&&n instanceof el)return Te.value;if(e instanceof el)return we.value;if(n instanceof el)return Re.value;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 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 Gl&&n instanceof Gl)return Te.value;if(e instanceof Gl)return we.value;if(n instanceof Gl)return Re.value;if(e instanceof gc&&n instanceof gc)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 PL}},wee=Ka,See=function(){return{bottom:-271820|0,top:275759,Ord0:function(){return IM}}}(),vLe=function(){return{bottom:hc.value,top:Pf.value,Ord0:function(){return Ree}}}(),Eee=function(){return{bottom:Zu.value,top:gc.value,Ord0:function(){return C1}}}(),ci={cardinality:547580,toEnum:function(e){if(e>=(-271820|0)&&e<=275759)return new d(e);if(Le)return I.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 See},Enum1:function(){return mLe(0)}},mLe=CM("enumYear","Data.Date.Component",function(){return{succ:function(){var e=bt(ci),n=ht(ci);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=bt(ci),n=ht(ci);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return IM}}});var e_={cardinality:7,toEnum:function(e){return e===1?new d(hc.value):e===2?new d(fs.value):e===3?new d(vs.value):e===4?new d(ms.value):e===5?new d(ps.value):e===6?new d(_s.value):e===7?new d(Pf.value):I.value},fromEnum:function(e){if(e instanceof hc)return 1;if(e instanceof fs)return 2;if(e instanceof vs)return 3;if(e instanceof ms)return 4;if(e instanceof ps)return 5;if(e instanceof _s)return 6;if(e instanceof Pf)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 vLe},Enum1:function(){return pLe(0)}},pLe=CM("enumWeekday","Data.Date.Component",function(){return{succ:function(){var e=bt(e_),n=ht(e_);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=bt(e_),n=ht(e_);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return Ree}}});var Xr={cardinality:12,toEnum:function(e){return e===1?new d(Zu.value):e===2?new d(El.value):e===3?new d(Ku.value):e===4?new d(Cl.value):e===5?new d(Il.value):e===6?new d(el.value):e===7?new d(nl.value):e===8?new d(Tl.value):e===9?new d(Fl.value):e===10?new d(Ml.value):e===11?new d(Gl.value):e===12?new d(gc.value):I.value},fromEnum:function(e){if(e instanceof Zu)return 1;if(e instanceof El)return 2;if(e instanceof Ku)return 3;if(e instanceof Cl)return 4;if(e instanceof Il)return 5;if(e instanceof el)return 6;if(e instanceof nl)return 7;if(e instanceof Tl)return 8;if(e instanceof Fl)return 9;if(e instanceof Ml)return 10;if(e instanceof Gl)return 11;if(e instanceof gc)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 Eee},Enum1:function(){return _Le(0)}},_Le=CM("enumMonth","Data.Date.Component",function(){return{succ:function(){var e=bt(Xr),n=ht(Xr);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=bt(Xr),n=ht(Xr);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return C1}}});var OL={bottom:1,top:31,Ord0:function(){return TM}},tl={cardinality:31,toEnum:function(e){if(e>=1&&e<=31)return new d(e);if(Le)return I.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 OL},Enum1:function(){return dLe(0)}},dLe=CM("enumDay","Data.Date.Component",function(){return{succ:function(){var e=bt(tl),n=ht(tl);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=bt(tl),n=ht(tl);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return TM}}});var Cee=ht(Xr),kL=Ja(),Iee=bt(e_);var gLe=fe(bee),DLe=fe(PL),yLe=fe(wee),bLe=Ze(IM),RLe=Ze(C1),wLe=Ze(TM);var SLe=bt(Xr);var Tee=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}(),Dc=function(e){return e.value0},hS=function(e){var n=Dee(e.value0,Cee(e.value1),e.value2),t=n===0;return kL(Iee(t?7:n))};var yc=function(e){return e.value1};var MM={eq:function(e){return function(n){return gLe(e.value0)(n.value0)&&DLe(e.value1)(n.value1)&&yLe(e.value2)(n.value2)}}},ELe=fe(MM),Fee={compare:function(e){return function(n){var t=bLe(e.value0)(n.value0);if(t instanceof we)return we.value;if(t instanceof Re)return Re.value;var a=RLe(e.value1)(n.value1);return a instanceof we?we.value:a instanceof Re?Re.value:wLe(e.value2)(n.value2)}},Eq0:function(){return MM}};var Yv=function(e){return e.value2},n_=function(e){return function(n){return function(t){var a=function(r){return function(o){return function(i){return new Tee(r,kL(SLe(o)),i)}}};return gee(a,e,Cee(n),t)}}},GM=function(e){return function(n){return function(t){var a=new Tee(e,n,t),r=ELe(n_(e)(n)(t))(a);return r?new d(a):I.value}}};var CLe=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 Mee(e){return function(n){return function(t){return function(a){var r=CLe(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 AM=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 xM=yt,LM=yt,jM=yt,NM=yt,Gee=Ka,Aee=Ka,xee=Ka,Lee=Ka,UL={bottom:0,top:59,Ord0:function(){return xM}},HL={bottom:0,top:59,Ord0:function(){return LM}},BL={bottom:0,top:999,Ord0:function(){return jM}},JL={bottom:0,top:23,Ord0:function(){return NM}},bc={cardinality:60,toEnum:function(e){if(e>=0&&e<=59)return new d(e);if(Le)return I.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 UL},Enum1:function(){return ILe(0)}},ILe=AM("enumSecond","Data.Time.Component",function(){return{succ:function(){var e=bt(bc),n=ht(bc);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=bt(bc),n=ht(bc);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return xM}}});var Rc={cardinality:60,toEnum:function(e){if(e>=0&&e<=59)return new d(e);if(Le)return I.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 HL},Enum1:function(){return TLe(0)}},TLe=AM("enumMinute","Data.Time.Component",function(){return{succ:function(){var e=bt(Rc),n=ht(Rc);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=bt(Rc),n=ht(Rc);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return LM}}});var wc={cardinality:1e3,toEnum:function(e){if(e>=0&&e<=999)return new d(e);if(Le)return I.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 BL},Enum1:function(){return FLe(0)}},FLe=AM("enumMillisecond","Data.Time.Component",function(){return{succ:function(){var e=bt(wc),n=ht(wc);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=bt(wc),n=ht(wc);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return jM}}});var Sc={cardinality:24,toEnum:function(e){if(e>=0&&e<=23)return new d(e);if(Le)return I.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 JL},Enum1:function(){return MLe(0)}},MLe=AM("enumHour","Data.Time.Component",function(){return{succ:function(){var e=bt(Sc),n=ht(Sc);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=bt(Sc),n=ht(Sc);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return NM}}});var LLe=fe(Lee),jLe=fe(Aee),NLe=fe(Gee),PLe=fe(xee),OLe=Ze(NM),kLe=Ze(LM),ULe=Ze(xM),HLe=Ze(jM);var t_=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 cm=function(e){return e.value2},sm=function(e){return e.value1},Xv=function(e){return e.value3};var Zv=function(e){return e.value0};var WL={eq:function(e){return function(n){return LLe(e.value0)(n.value0)&&jLe(e.value1)(n.value1)&&NLe(e.value2)(n.value2)&&PLe(e.value3)(n.value3)}}},jee={compare:function(e){return function(n){var t=OLe(e.value0)(n.value0);if(t instanceof we)return we.value;if(t instanceof Re)return Re.value;var a=kLe(e.value1)(n.value1);if(a instanceof we)return we.value;if(a instanceof Re)return Re.value;var r=ULe(e.value2)(n.value2);return r instanceof we?we.value:r instanceof Re?Re.value:HLe(e.value3)(n.value3)}},Eq0:function(){return WL}};var BLe=ht(ci),JLe=ht(Xr),WLe=ht(tl),qLe=ht(Sc),zLe=ht(Rc),$Le=ht(bc),VLe=ht(wc);var QLe=fe(MM),YLe=fe(WL),XLe=Ze(Fee),ZLe=Ze(jee),KLe=Z(Ae),I1=qn(ja),qL=L(B),e9e=pl(Ae),n9e=bt(ci),t9e=bt(Xr),a9e=bt(tl),r9e=bt(Sc),o9e=bt(Rc),i9e=bt(bc),u9e=bt(wc),a_=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}(),l9e=function(e){return{year:BLe(Dc(e.value0)),month:JLe(yc(e.value0)),day:WLe(Yv(e.value0)),hour:qLe(Zv(e.value1)),minute:zLe(sm(e.value1)),second:$Le(cm(e.value1)),millisecond:VLe(Xv(e.value1))}};var Pee={eq:function(e){return function(n){return QLe(e.value0)(n.value0)&&YLe(e.value1)(n.value1)}}},PM={compare:function(e){return function(n){var t=XLe(e.value0)(n.value0);return t instanceof we?we.value:t instanceof Re?Re.value:ZLe(e.value1)(n.value1)}},Eq0:function(){return Pee}};var Oee=function(e){var n=MF(e);return function(t){return function(a){return KLe(Mee(d.create)(I.value)(n(t))(l9e(a)))(function(r){return I1(qL(a_.create)(e9e(I1(I1(qL(GM)(n9e(r.year)))(t9e(r.month)))(a9e(r.day)))))(I1(I1(I1(qL(t_.create)(r9e(r.hour)))(o9e(r.minute)))(i9e(r.second)))(u9e(r.millisecond)))})}}};function OM(e){return Math.round(e).toString()}var kee=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(ga(e))};var Uee=ae(ze),c9e=_r(Yc),s9e=NR(zv);var f9e=function(e){return"(line "+(Uee(e.line)+(", col "+(Uee(e.column)+")")))},v9e=function(e){return TL(e)+(" "+f9e(IL(e)))},zL=function(e){return function(n){return c9e(v9e)(ree(n)(s9e(e)(xL)))}};var T1=Z($v);var h9e=q(ss),g9e=zD(Hh)(w1);var D9e=M6(Hh)(w1),kM=kee(vt),y9e=Ep(ss)(aw),b9e=L(B);var Jee=Iv(yt),R9e=pr(Wa),w9e=ae(ze),S9e=X(ai),E9e=ae(Wi),C9e=Ve(Ye);var I9e=T1(Bh(Vv(Qv("+"))))(function(e){return T1(g9e(Qv("0")))(function(n){return T1(Bh(Vv(Qv(",0"))))(function(t){return T1(Bh(Vv(Qv("."))))(function(a){return T1(y9e(a)(function(r){return Vv(D9e(Qv("0")))}))(function(r){return T1(Bh(Vv(Qv("a"))))(function(o){return h9e({sign:Dt(e),before:_a(n),comma:Dt(t),after:Ee(0)(b9e(_a)(r)),abbreviations:Dt(o)})})})})})})}),T9e=zL(I9e);var Wee=function(e){return function(n){var t=aF(n),a=function(){if(t>0)return Jee(Nr(N6(t)/gQ))(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=R9e(a)(3),o=function(){var y=r<1;return y?n:n/rF(1e3)(ft(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+"+w9e(r*3|0);throw new Error("Failed pattern match at Data.Formatter.Number (line 107, column 7 - line 117, column 53): "+[])}();return Wee({comma:e.comma,before:e.before,after:e.after,sign:e.sign,abbreviations:!1})(o)+i}var u=(e.before-a|0)-1|0,l=rF(10)(ft(Jee(0)(e.after))),c=vh(t*l)/l,s=XD(c),f=c-s,v=vh(f*l),m=function(){var y=OM(v),S=$r(y),M=kM("0")(e.after-S|0);return M+y}(),_=function(){var y=e.after<1;return y?"":"."+(function(){var S=v===0;return S?kM("0")(e.after):""}()+function(){var S=v>0;return S?m:""}())}(),R=function(y){return function(S){return function(M){var P=y,k=S,N=!1,Q;function de(ve,ge,re){var Se=WD(re);if(Se instanceof I)return N=!0,n1(ve);if(Se instanceof d&&ge<3){P=wi(Se.value0.head)(ve),k=ge+1|0,M=Se.value0.tail;return}P=wi(",")(ve),k=0,M=re}for(;!N;)Q=de(P,k,M);return Q}}},D=function(){return e.comma?R([])(0)(YR(Dw(kM("0")(u)+OM(s)))):kM("0")(u)+OM(s)}();return function(){var y=n<0;if(y)return"-";var S=n>0&&e.sign;return S?"+":""}()+(D+_)}},F9e=function(e){return function(n){return S9e(T9e(e))(Nt(Wee)(n))}},r_=function(e){return function(n){return er(an(E9e(n)))(C9e)(F9e(e)(n))}};var M9e=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 qee(e,n,t,a,r,o,i){return M9e(e,n-1,t,a,r,o,i).getTime()}function zee(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 G9e=Ja(),A9e=bt(Xr);var x9e=ht(Xr);var $ee=function(e){return e},UM=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 a_(n_(n)(G9e(A9e(t)))(a),new t_(r,o,i,u))}}}}}}};return zee(e)}();var Vee=function(e){return qee(Dc(e.value0),x9e(yc(e.value0)),Yv(e.value0),Zv(e.value1),sm(e.value1),cm(e.value1),Xv(e.value1))};function $L(){return Date.now()}var P9e=L(it);var VL=P9e(UM)($L);var Umt=function(){function e(){this.head=null,this.last=null,this.size=0}function n(s,f){this.queue=s,this.value=f,this.next=null,this.prev=null}function t(s){this.draining=!1,this.error=null,this.value=s,this.takes=new e,this.reads=new e,this.puts=new e}var a={};function r(s){try{s()}catch(f){setTimeout(function(){throw f},0)}}function o(s,f){var v=new n(s,f);switch(s.size){case 0:s.head=v;break;case 1:v.prev=s.head,s.head.next=v,s.last=v;break;default:v.prev=s.last,s.last.next=v,s.last=v}return s.size++,v}function i(s){var f;switch(s.size){case 0:return null;case 1:f=s.head,s.head=null;break;case 2:f=s.last,s.head.next=null,s.last=null;break;default:f=s.last,s.last=f.prev,s.last.next=null}return f.prev=null,f.queue=null,s.size--,f.value}function u(s){var f;switch(s.size){case 0:return null;case 1:f=s.head,s.head=null;break;case 2:f=s.head,s.last.prev=null,s.head=s.last,s.last=null;break;default:f=s.head,s.head=f.next,s.head.prev=null}return f.next=null,f.queue=null,s.size--,f.value}function l(s){if(s.queue!==null){if(s.queue.last===s){i(s.queue);return}if(s.queue.head===s){u(s.queue);return}s.prev&&(s.prev.next=s.next),s.next&&(s.next.prev=s.prev),s.queue.size--,s.queue=null,s.value=null,s.next=null,s.prev=null}}function c(s,f){if(!f.draining){var v=f.puts,m=f.takes,_=f.reads,R,D,y,S,M;for(f.draining=!0;;){if(R=null,D=null,y=null,S=f.value,M=_.size,f.error!==null){for(S=s.left(f.error);R=u(v);)r(R.cb(S));for(;D=u(_);)r(D(S));for(;y=u(m);)r(y(S));break}if(S===a&&(R=u(v))&&(f.value=S=R.value),S!==a){for(y=u(m);M--&&(D=u(_));)r(D(s.right(S)));y!==null&&(f.value=a,r(y(s.right(S))))}if(R!==null&&r(R.cb(s.right(void 0))),f.value===a&&v.size===0||f.value!==a&&m.size===0)break}f.draining=!1}}return t.EMPTY=a,t.putLast=o,t.takeLast=i,t.takeHead=u,t.deleteCell=l,t.drainVar=c,t}();var V9e=q(Kt),o_=Z(Ae),Q9e=bt(ci),Y9e=bt(Xr),X9e=bt(tl),Z9e=bt(Sc),K9e=bt(Rc),eje=bt(bc),nje=bt(wc),tje=q(kn),aje=pt(qa),rje=X(B);var Yee=function(e){return o_(Q9e(e.year))(function(n){return o_(Y9e(e.month+1|0))(function(t){return o_(X9e(e.day))(function(a){return o_(Z9e(e.hour))(function(r){return o_(K9e(e.minute))(function(o){return o_(eje(e.second))(function(i){return o_(nje(e.millisecond))(function(u){return tje(new a_(n_(n)(t)(a),new t_(r,o,i,u)))})})})})})})})},oje=function(e){var n=gY("Failed to obtain current time. This should never happen.");return ke(n)(V9e)(Yee(jL(e)))},Jh=aje(oje)(dee);var Wh=function(e){return o_(rje(_ee({just:d.create,nothing:I.value})(e))(jL))(Yee)};var BM=function(){function e(){}return e.value=new e,e}(),sje=function(){function e(){}return e.value=new e,e}(),fje=function(){function e(){}return e.value=new e,e}();var Xee=function(e){if(e instanceof BM)return I.value;if(e instanceof fje)return new d("open");if(e instanceof sje)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 YL=void 0;var Zee=Be;var XL=Be,DS=function(e){return yh(e)};var Kee=function(e){return function(n){var t=DS(n);return t?YL:XL(e(Zee(n)))}},Dr=function(e){var n=DS(e);return n?I.value:new d(Zee(e))};var $n=function(e){return function(n){var t=DS(e);return t?n:e}};var Sa=function(){return Be};var ene=q(Kt),nne=Jo(),tne=function(e){return{handleMaybe:function(n){return function(t){return Ah(function(){var a=ke(ene(Ce))(n);return function(r){return a(nne(t(r)))}}())}}}},JM=function(e){return{handleMaybe:function(n){return function(t){return function(a){return ke(ene(Ce))(n)(nne(t))()}}}}},Zr={handle:function(e){return function(n){return function(t){return e(n(t))()}}}},su={handleEffect:function(e){return Ah(e)}},sr={handleEffect:function(e){return Ah(an(e))}},dt={handle:function(e){return function(n){return function(t){return e(n)()}}}},F1=function(e){return e.handleMaybe},ia=function(e){return e.handleEffect},xn=function(e){return e.handle};var ZL=cs(),KL=Rf(),ane=nm()(),vje=mw();var M1=Be,e9=function(e){return function(n){return ZL(M1(e))(n)}},rne=function(e){var n=KL(e);return function(t){return function(a){return n(M1(t))(a)}}},ds=function(e){var n=KL(e);return function(t){return function(a){return function(r){return n(M1(t))(ane(r)({className:a}))}}}},qh=function(e){return function(n){return function(t){return ZL(M1(e))(ane(t)({className:n}))}}},n9=function(e){return function(n){return ZL(M1(e))({className:n})}},so=function(e){return function(n){var t=KL(n);return function(a){return function(r){return t(M1(e))({className:a})(r)}}}};var Sn=Be,WM=function(){return vje};var hs=function(e){return so("ul")(e)};var i_=function(e){return so("tr")(e)};var qM=function(e){return so("thead")(e)};var zM=function(e){return so("th")(e)};var gs=function(){return function(){return qh("textarea")}};var Kv=function(e){return so("td")(e)};var u_=function(e){return so("tbody")(e)};var l_=function(e){return so("table")(e)},e0=function(e){var n=ds(e);return function(){return function(){return n("svg")}}};var one=function(e){return so("sup")(e)};var Ga=function(e){return so("strong")(e)},$M=function(e){var n=ds(e);return function(){return function(){return n("span")}}},nn=function(e){return so("span")(e)};var ine=function(e){var n=ds(e);return function(){return function(){return n("select")}}};var une=function(e){return so("section")(e)};var Xn=function(e){return so("p")(e)};var lne=function(e){var n=ds(e);return function(){return function(){return n("option")}}};var cne=function(e){return so("ol")(e)};var Ec=function(e){return so("li")(e)};var al=function(e){return so("label")(e)};var xi=function(){return function(){return qh("input")}};var c_=function(){return function(){return qh("img")}};var s_=function(e){var n=ds(e);return function(){return function(){return n("iframe")}}};var ua=function(e){return so("i")(e)};var Qa=n9("hr");var n0=function(e){return so("h6")(e)};var kr=function(e){return so("h4")(e)};var xt=function(e){return so("h3")(e)};var rt=function(e){return so("h2")(e)};var Of=function(e){return so("h1")(e)},sne=function(e){var n=ds(e);return function(){return function(){return n("form")}}};var lt=function(e){var n=ds(e);return function(){return function(){return n("div")}}},H=function(e){return so("div")(e)};var Gn=function(e){var n=ds(e);return function(){return function(){return n("button")}}};var fne=n9("br");var aa=function(e){var n=ds(e);return function(){return function(){return n("a")}}};var t9=function(){typeof window!="undefined"&&window.scrollTo(0,0)};var vne=function(e){var n=rne(e);return function(){return function(){return n("script")}}};var mne=function(){return function(){return e9("meta")}};var pne=function(){return function(){return e9("br")}};function _ne(e){return function(n){return function(){return n.getElementById(e)}}}var mje=L(it),VM=function(e){var n=mje(K),t=_ne(e);return function(a){return n(t(a))}};var QM=function(e){return function(n){return function(){return n[e]}}},pje=QM("children"),_je=QM("firstElementChild"),dje=QM("lastElementChild"),hje=QM("childElementCount");var fo=function(){return window};function dne(e,n,t,a){if(typeof window!="undefined"){var r=window[t];if(r!=null&&a instanceof r)return n(a)}for(var o=a;o!=null;){var i=Object.getPrototypeOf(o),u=i.constructor.name;if(u===t)return n(a);if(u==="Object")return e;o=i}return e}var ot=function(e){return function(n){return dne(I.value,d.create,e,n)}};var hne=Be;function gne(e){return e.body}var gje=L(it);var YM=Be;var Dne=Be,yne=Be;var bne=function(e){return gje(K)(function(){return gne(e)})};var Rne=Be;function XM(e){return function(n){return function(t){return function(a){return function(){return a.replaceState(e,n,t)}}}}}function a9(e){return function(n){return function(){n.href=e}}}function fm(e){return function(){return e.document}}function r9(e){return function(){return e.location}}function yS(e){return function(){return e.history}}function Sne(e){return function(n){return function(t){return function(a){return function(){return a.open(e,n,t)}}}}}function G1(e){return function(){return e.localStorage}}var Tje=L(it);var Ene=Be;var Cne=function(e){return function(n){return function(t){return function(a){return Tje(K)(Sne(e)(n)(t)(a))}}}};var Fje=L(he);var Mje=pne()();var Ine=Z(qa),Gje=X(it);var va=Ee(un),Je=Nt(ke(un));var zh=function(e){return function(n){if(e)return n(Ce);if(Le)return un;throw new Error("Failed pattern match at Utils.HTML (line 94, column 1 - line 94, column 61): "+[e.constructor.name,n.constructor.name])}},En=function(e){return function(n){return zh(e)(an(n))}};var bS=function(e){return ue(uh(Mje({}))(Fje(Y)(Si(` `)(e))))};var Tne=function(e){return Ine(Gje(Ine(fo)(fm))(YM))(VM(e))};var Cc=Jo(),Aje=X(he),xje=ch(qo),Fne=X0(Oe),Lje=L(B),jje=L(vw);var o9=function(e){return function(n){return function(t){return x6(function(a){return d.create(t(a))})(Cc(e))(Cc(n))}}};var ZM=function(e){return function(n){return fw(Cc(e))(n)}},KM=function(e){return function(n){return Fne(Io(function(t){return Lje(Ue.create(Cc(t.value0)))(e(t.value1))})(xje(n)))}},vm=function(e){return function(n){return jje(e)(n)}},Mne=function(e){return function(n){return function(t){return KV(function(a){return d.create(t(a))})(Cc(e))(Cc(n))}}},Ds=function(e){return function(n){return Zl(Cc(e))(Cc(n))}};var $h=function(e){return function(n){return function(t){return Y0(Cc(e))(n)(Cc(t))}}},RS=function(e){return function(n){return function(t){return Fne(Aje(t)(function(a){return new Ue(Cc(e(a)),n(a))}))}}};var wS=W0,Gne=function(e){return function(n){return A6(Cc(e))(Cc(n))}};var Ane=gn(hn),SS=dn(Ane)(vn(fn)),xne=pn(mn),ES=_n(xne),Lne=bn(yn),CS=Dn(Lne),f_=function(){function e(){}return e.value=new e,e}(),IS=function(){function e(){}return e.value=new e,e}(),TS=function(){function e(){}return e.value=new e,e}(),FS=function(){function e(){}return e.value=new e,e}(),MS=function(){function e(){}return e.value=new e,e}(),GS=function(){function e(){}return e.value=new e,e}(),jne={to:function(e){if(e instanceof U)return f_.value;if(e instanceof p&&e.value0 instanceof U)return IS.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof U)return TS.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof U)return FS.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 MS.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 GS.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 f_)return new U(ce.value);if(e instanceof IS)return new p(new U(ce.value));if(e instanceof TS)return new p(new p(new U(ce.value)));if(e instanceof FS)return new p(new p(new p(new U(ce.value))));if(e instanceof MS)return new p(new p(new p(new p(new U(ce.value)))));if(e instanceof GS)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 i9=function(e){if(e instanceof f_)return"REGULAR";if(e instanceof IS)return"EARLY_ACTION";if(e instanceof TS)return"EARLY_DECISION_I";if(e instanceof FS)return"EARLY_DECISION_II";if(e instanceof MS)return"OUT_OF_STATE";if(e instanceof GS)return"TRANSFER";throw new Error("Failed pattern match at Hub.Types.ApplicationRound (line 49, column 13 - line 55, column 25): "+[e.constructor.name])};var e2=function(){return f_.value}(),Nne=ut(Me)({parse:An(i9)(Rn(jne)(SS(SS(SS(SS(SS(Ane)(xne))(ES))(ES))(ES))(ES))(CS(CS(CS(CS(CS(Lne))))))(ES)),default:e2,diagnosticName:"ApplicationRound"});var Nje=Z(Sv),Pje=Jo(),Oje=q(H0);var u9=Ut,kje=nc(u9)(Oe);var n2=function(e){return kje(Nje(Pje(e))(function(n){return Oje(new Ue(n.cipCode,n))}))},Pne=function(){var e=F6(yu(fe(fa))(function(t){return t.areaOfStudy})),n=yl(Ut)(function(t){return t.areaOfStudy});return function(t){return e(n(t))}}();var One=function(e){return{id:e.id,slug:e.slug,name:e.name,imgixImageUrl:e.imgixImageUrl,acceptanceRate:K(e.acceptanceRate),cityState:K(e.cityState)}};var Uje=L(B);var Ra=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}(),kf={map:function(e){return function(n){if(n instanceof Ra)return Ra.value;if(n instanceof qt)return new qt(e(n.value0));if(n instanceof nr)return new nr(Uje(e)(n.value0));throw new Error("Failed pattern match at Utils.Loadable (line 0, column 0 - line 0, column 0): "+[n.constructor.name])}}};var A1=function(e){if(e instanceof Ra)return new nr(I.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 63, column 13 - line 66, column 25): "+[e.constructor.name])},vo=function(e){if(e instanceof Ra)return I.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 48, column 11 - line 51, column 17): "+[e.constructor.name])},AS=function(e){return function(n){if(n instanceof nr&&n.value0 instanceof I)return new nr(I.value);var t=function(r){var o=function(u){return Ra.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 Hje=X(B),l9=Z(Ae);var Bje=Ep(kn)(yi),Jje=ph(u9);var c9=function(e){return function(n){return Ee("")(Ds(e)(n.schoolNotes))}},xS=function(e){return function(n){return Ds(e)(n.schoolList)}};var LS=function(e){return function(n){return AS(Ds(e))(n.schoolConnections)}};var t2=function(e){return function(n){return l9(vo(n.all))(function(t){return Ds(e)(t.table)})}};var s9=function(e){return function(n){return Ee([])(l9(t2(e)(n))(function(t){return Bje(t.majors)(function(a){return Jje(a)(n.majors)})}))}};var x1=function(e){return function(n){return AS(Ds(e))(n.financials)}};var Vh=function(e){return function(n){return l9(vo(n.contentModules.content))(Ds(e))}};var f9=function(e){return function(n){return Ee(e2)(Hje(xS(e)(n))(function(t){return t.applicationRound}))}};var fu=ae(ze);var Wje=oi(Kc),qje=Wje(vt);var zje=V5(yt)(Cv);var v9=ht(ci),$je=ae(NL),Vje=ht(Xr),kne=ht(tl),Qje=on(),Yje=ht(e_),Une=ae(yee),m9=ht(Sc),Xje=Dl(Wa),Hne=ht(Rc),Bne=ht(bc),p9=ht(wc),Jne=pr(Wa);var a2=function(){function e(){}return e.value=new e,e}(),Wne=function(){function e(){}return e.value=new e,e}(),Zje=function(){function e(){}return e.value=new e,e}(),r2=function(){function e(){}return e.value=new e,e}(),jS=function(){function e(){}return e.value=new e,e}(),qne=function(){function e(){}return e.value=new e,e}(),o2=function(){function e(){}return e.value=new e,e}(),i2=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}(),_9=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}(),u2=function(){function e(){}return e.value=new e,e}(),l2=function(){function e(){}return e.value=new e,e}(),aNe=function(){function e(){}return e.value=new e,e}(),c2=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}(),mm=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}();var cNe=function(e){if(e instanceof Zu)return"Jan";if(e instanceof El)return"Feb";if(e instanceof Ku)return"Mar";if(e instanceof Cl)return"Apr";if(e instanceof Il)return"May";if(e instanceof el)return"Jun";if(e instanceof nl)return"Jul";if(e instanceof Tl)return"Aug";if(e instanceof Fl)return"Sep";if(e instanceof Ml)return"Oct";if(e instanceof Gl)return"Nov";if(e instanceof gc)return"Dec";throw new Error("Failed pattern match at Data.Formatter.DateTime (line 489, column 19 - line 501, column 22): "+[e.constructor.name])};var v_=function(e){if(e<0)return"-"+v_(-e|0);if(e<10)return"0"+fu(e);if(Le)return fu(e);throw new Error("Failed pattern match at Data.Formatter.DateTime (line 194, column 1 - line 194, column 32): "+[e.constructor.name])},zne=function(e){if(e<0)return"-"+zne(-e|0);if(e<10)return"000"+fu(e);if(e<100)return"00"+fu(e);if(e<1e3)return"0"+fu(e);if(Le)return fu(e);throw new Error("Failed pattern match at Data.Formatter.DateTime (line 207, column 1 - line 207, column 35): "+[e.constructor.name])},$ne=function(e){if(e<0)return"-"+$ne(-e|0);if(e<10)return"00"+fu(e);if(e<100)return"0"+fu(e);if(Le)return fu(e);throw new Error("Failed pattern match at Data.Formatter.DateTime (line 200, column 1 - line 200, column 32): "+[e.constructor.name])};var sNe=function(e){var n=fu(zje(e)),t=$r(n);return t===1?"0"+n:t===2?n:Sw(t-2|0)(n)};var fNe=function(e){var n=e===0;return n?12:e},vNe=function(e){return function(n){if(n instanceof a2)return zne(v9(Dc(e.value0)));if(n instanceof Wne)return sNe(v9(Dc(e.value0)));if(n instanceof Zje)return fu(v9(Dc(e.value0)));if(n instanceof r2)return $je(yc(e.value0));if(n instanceof jS)return cNe(yc(e.value0));if(n instanceof qne)return v_(Vje(yc(e.value0)));if(n instanceof o2)return v_(kne(Yv(e.value0)));if(n instanceof i2)return fu(kne(Yv(e.value0)));if(n instanceof Kje)return fu(Nr(function(a){return a/1e3}(Qje($ee(Vee(e))))));if(n instanceof eNe)return fu(Yje(hS(e.value0)));if(n instanceof _9)return Une(hS(e.value0));if(n instanceof nNe)return ac(3)(Une(hS(e.value0)));if(n instanceof tNe)return v_(m9(Zv(e.value1)));if(n instanceof u2)return v_(fNe(Xje(m9(Zv(e.value1)))(12)));if(n instanceof l2){var t=m9(Zv(e.value1))>=12;return t?"PM":"AM"}if(n instanceof aNe)return fu(Hne(sm(e.value1)));if(n instanceof c2)return v_(Hne(sm(e.value1)));if(n instanceof rNe)return fu(Bne(cm(e.value1)));if(n instanceof oNe)return v_(Bne(cm(e.value1)));if(n instanceof iNe)return $ne(p9(Xv(e.value1)));if(n instanceof uNe)return fu(function(a){return Jne(a)(100)}(p9(Xv(e.value1))));if(n instanceof lNe)return v_(function(a){return Jne(a)(10)}(p9(Xv(e.value1))));if(n instanceof mm)return n.value0;throw new Error("Failed pattern match at Data.Formatter.DateTime (line 169, column 38 - line 192, column 21): "+[n.constructor.name])}},NS=function(e){return function(n){return qje(vNe(n))(e)}};var Vne=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 Qne=gn(hn),d9=dn(Qne)(vn(fn)),Yne=pn(mn),h9=_n(Yne),Xne=bn(yn),g9=Dn(Xne),m_=function(){function e(){}return e.value=new e,e}(),Qh=function(){function e(){}return e.value=new e,e}(),Yh=function(){function e(){}return e.value=new e,e}(),Xh=function(){function e(){}return e.value=new e,e}(),mNe={to:function(e){if(e instanceof U)return m_.value;if(e instanceof p&&e.value0 instanceof U)return Qh.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof U)return Yh.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p)return Xh.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 m_)return new U(ce.value);if(e instanceof Qh)return new p(new U(ce.value));if(e instanceof Yh)return new p(new p(new U(ce.value)));if(e instanceof Xh)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 Zne=function(e){if(e instanceof m_)return"reach";if(e instanceof Qh)return"hard_target";if(e instanceof Yh)return"target";if(e instanceof Xh)return"safety";throw new Error("Failed pattern match at Hub.Types.Chancing.Classification (line 41, column 13 - line 45, column 21): "+[e.constructor.name])},Kne=function(){return ut(Me)({parse:An(Zne)(Rn(mNe)(d9(d9(d9(Qne)(Yne))(h9))(h9))(g9(g9(g9(Xne))))(h9)),default:m_.value,diagnosticName:"Hub.Types.Chancing.Classification"})}();var L1=function(e){if(e instanceof m_)return"Reach";if(e instanceof Qh)return"Hard Target";if(e instanceof Yh)return"Target";if(e instanceof Xh)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 ete=function(e){if(e instanceof m_)return"bg-soft-warning bg-warning-soft text-warning-dark";if(e instanceof Qh||e instanceof Yh)return"bg-soft-primary bg-primary-soft text-primary";if(e instanceof Xh)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 nte=gn(hn),s2=dn(nte)(vn(fn)),tte=pn(mn),f2=_n(tte),ate=bn(yn),v2=Dn(ate),Zh=function(){function e(){}return e.value=new e,e}(),pm=function(){function e(){}return e.value=new e,e}(),t0=function(){function e(){}return e.value=new e,e}(),Kh=function(){function e(){}return e.value=new e,e}(),eg=function(){function e(){}return e.value=new e,e}(),pNe={to:function(e){if(e instanceof U)return Zh.value;if(e instanceof p&&e.value0 instanceof U)return pm.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof U)return t0.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof U)return Kh.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p)return eg.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 Zh)return new U(ce.value);if(e instanceof pm)return new p(new U(ce.value));if(e instanceof t0)return new p(new p(new U(ce.value)));if(e instanceof Kh)return new p(new p(new p(new U(ce.value))));if(e instanceof eg)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 _Ne=function(e){if(e instanceof Zh)return"ArtOrMusicSchool";if(e instanceof pm)return"DisqualifiedGender";if(e instanceof t0)return"TestsRequiredButNoneGiven";if(e instanceof Kh)return"SchoolAutoAdmission";if(e instanceof eg)return"OpenAdmission";throw new Error("Failed pattern match at Hub.Types.Chancing.SpecialCaseRule (line 37, column 13 - line 42, column 35): "+[e.constructor.name])},rte=Yn(Me)(B)({parse:An(_Ne)(Rn(pNe)(s2(s2(s2(s2(nte)(tte))(f2))(f2))(f2))(v2(v2(v2(v2(ate)))))(f2)),diagnosticName:"Hub.Types.Chancing.SpecialCaseRule"});var dNe=ae(ze),hNe=pt(Ae),m2=function(e){return dNe(e)+"%"},gNe=function(e){return function(n){if(n instanceof Zh)return new d("art or music school");if(n instanceof pm)return new d(ou(Vp(e.gender)));if(n instanceof t0)return I.value;if(n instanceof Kh)return I.value;if(n instanceof eg)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])}},ote=function(e){return function(n){var t=hNe(gNe(e))(n);if(t instanceof d)return"N/A ("+(t.value0+")");if(t instanceof I)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])}},PS=function(e){return function(n){if(n.score instanceof d)return m2(n.score.value0);if(n.score instanceof I)return ote(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])}},p2=function(e){return function(n){if(n.classification instanceof d)return L1(n.classification.value0);if(n.classification instanceof I)return ote(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 ng=function(){function e(){}return e.value=new e,e}(),j1=function(){function e(){}return e.value=new e,e}(),OS=function(){function e(){}return e.value=new e,e}(),p_=function(){function e(){}return e.value=new e,e}(),__=function(){function e(){}return e.value=new e,e}(),d_=function(){function e(){}return e.value=new e,e}(),h_=function(){function e(){}return e.value=new e,e}();var ite={eq:function(e){return function(n){return e instanceof ng&&n instanceof ng||e instanceof j1&&n instanceof j1||e instanceof OS&&n instanceof OS||e instanceof p_&&n instanceof p_||e instanceof __&&n instanceof __||e instanceof d_&&n instanceof d_||e instanceof h_&&n instanceof h_}}};var D9=function(){return[ng.value,j1.value,OS.value,p_.value,__.value,d_.value,h_.value]}(),kS=function(e){if(e instanceof ng)return"INTERESTED";if(e instanceof j1)return"APPLYING";if(e instanceof OS)return"APPLIED";if(e instanceof p_)return"WAITLISTED";if(e instanceof __)return"ACCEPTED";if(e instanceof d_)return"DENIED";if(e instanceof h_)return"ENROLLED";throw new Error("Failed pattern match at Hub.Types.SchoolListStatus (line 40, column 13 - line 47, column 25): "+[e.constructor.name])},y9=function(){return ut(Me)({parse:An(kS)(D9),default:j1.value,diagnosticName:"SchoolListStatus"})}(),_2=function(e){if(e instanceof ng)return"Considering";if(e instanceof j1)return"Applying";if(e instanceof OS)return"Applied";if(e instanceof p_)return"Waitlisted";if(e instanceof __)return"Accepted";if(e instanceof d_)return"Denied";if(e instanceof h_)return"Enrolled";throw new Error("Failed pattern match at Hub.Types.SchoolListStatus (line 51, column 8 - line 58, column 25): "+[e.constructor.name])};var US=ae(ze);var DNe=pr(Wa);var HS=function(e){return US(Zc(e*100))+"%"},Aa=function(e){return US(Zc(e*100))+"%"};var ute=r_("0,0"),vu=function(e){return"$"+ute(e)},ys=function(e){return ute(ft(e))};var g_=function(e){var n=function(){var a=fh(ft(e))(60),r=a<10;return r?"0"+US(Nr(a)):US(Nr(a))}(),t=US(DNe(e)(60));return t+(":"+n)};function lte(e){return e.replace(/[!'()*]/g,function(n){return"%"+n.charCodeAt(0).toString(16)})}function cte(e,n,t){try{return n(lte(encodeURIComponent(t)))}catch(a){return e(a)}}function ste(e,n,t){try{return n(lte(encodeURIComponent(t)).replace(/%20/g,"+"))}catch(a){return e(a)}}var b9=function(){return ff(cte)(an(I.value))(d.create)}();var d2=function(){return ff(ste)(an(I.value))(d.create)}();var fte=Ja();var bNe=Ve(Ye);var h2=function(e){var n=function(o){return function(i){return Ee(i)(t1(o)(i))}},t=function(o){return function(i){return Ee(i)(tc(o)(i))}},a=t("https://")(t("http://")(e)),r=n("/")(t("www.")(a));return{siteName:r,url:"http://"+a}},bs=function(e){return function(n){var t=function(){var o=ts("?")(n);return o?"&":"?"}(),a=fte(b9(e.value)),r=fte(b9(e.key));return n+(t+(r+("="+a)))}},_m=function(e){if(e.value instanceof I)return bNe;if(e.value instanceof d)return bs({key:e.key,value:e.value.value0});throw new Error("Failed pattern match at Utils.URL (line 46, column 1 - line 46, column 73): "+[e.constructor.name])};var g2=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}(),LNe=function(){function e(){}return e.value=new e,e}(),jNe=function(){function e(){}return e.value=new e,e}(),NNe=function(){function e(){}return e.value=new e,e}(),PNe=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}(),BNe=function(){function e(){}return e.value=new e,e}(),D2=function(){function e(){}return e.value=new e,e}(),JNe=function(){function e(){}return e.value=new e,e}(),WNe=function(){function e(){}return e.value=new e,e}(),vte=function(){function e(){}return e.value=new e,e}(),qNe=function(){function e(){}return e.value=new e,e}(),zNe=function(){function e(){}return e.value=new e,e}(),$Ne=function(){function e(){}return e.value=new e,e}(),mte=function(){function e(){}return e.value=new e,e}(),VNe=function(){function e(){}return e.value=new e,e}(),QNe=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}(),y2=function(){function e(){}return e.value=new e,e}(),ZNe=function(){function e(){}return e.value=new e,e}(),KNe=function(){function e(){}return e.value=new e,e}(),ePe=function(){function e(){}return e.value=new e,e}(),nPe=function(){function e(){}return e.value=new e,e}(),tPe=function(){function e(){}return e.value=new e,e}(),b2=function(){function e(){}return e.value=new e,e}(),aPe=function(){function e(){}return e.value=new e,e}(),rPe=function(){function e(){}return e.value=new e,e}(),oPe=function(){function e(){}return e.value=new e,e}(),iPe=function(){function e(){}return e.value=new e,e}(),uPe=function(){function e(){}return e.value=new e,e}(),lPe=function(){function e(){}return e.value=new e,e}(),cPe=function(){function e(){}return e.value=new e,e}(),R2=function(){function e(){}return e.value=new e,e}(),sPe=function(){function e(){}return e.value=new e,e}(),pte=function(){function e(){}return e.value=new e,e}(),fPe=function(){function e(){}return e.value=new e,e}(),_te=function(){function e(){}return e.value=new e,e}(),vPe=function(){function e(){}return e.value=new e,e}(),w2=function(){function e(){}return e.value=new e,e}(),mPe=function(){function e(){}return e.value=new e,e}(),dte=function(){function e(){}return e.value=new e,e}(),pPe=function(){function e(){}return e.value=new e,e}(),_Pe=function(){function e(){}return e.value=new e,e}(),dPe=function(){function e(){}return e.value=new e,e}(),hPe=function(){function e(){}return e.value=new e,e}();var St=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),rl=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}();var gPe=function(e){return e instanceof g2?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 w2?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 mte?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 _te?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 b2?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 D2?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 y2?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 vte?new d(` Filter your search to only schools that offer the major(s) or program(s) you select here. `):e instanceof R2?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 pte?new d(` Policies change during COVID-19; please confirm by looking at school websites `):e instanceof dte?new d(` TOEFL policies are only applicable to international students `):I.value},a0=function(){var e=Ee("");return function(n){return e(gPe(n))}}();var hte=function(e){if(e instanceof St&&e.value0 instanceof g2)return"AcceptanceRate";if(e instanceof St&&e.value0 instanceof INe)return"AcceptanceRateMen";if(e instanceof St&&e.value0 instanceof TNe)return"AcceptanceRateWomen";if(e instanceof St&&e.value0 instanceof FNe)return"Address";if(e instanceof St&&e.value0 instanceof MNe)return"AdmissionChances";if(e instanceof St&&e.value0 instanceof GNe)return"AdmissionDifficulty";if(e instanceof St&&e.value0 instanceof ANe)return"AdmissionsNotificationDate";if(e instanceof St&&e.value0 instanceof xNe)return"AdmissionsWebsite";if(e instanceof St&&e.value0 instanceof LNe)return"AppDeadlineIsRolling";if(e instanceof St&&e.value0 instanceof jNe)return"ApplicationEffort";if(e instanceof St&&e.value0 instanceof NNe)return"ApplicationRound";if(e instanceof St&&e.value0 instanceof PNe)return"BasketballConference";if(e instanceof St&&e.value0 instanceof ONe)return"CampusSetting";if(e instanceof St&&e.value0 instanceof kNe)return"City";if(e instanceof St&&e.value0 instanceof UNe)return"ClassRank";if(e instanceof St&&e.value0 instanceof HNe)return"CoEdSingleSex";if(e instanceof St&&e.value0 instanceof BNe)return"CollegeType";if(e instanceof St&&e.value0 instanceof D2)return"CommuterCollege";if(e instanceof St&&e.value0 instanceof JNe)return"Diversity";if(e instanceof St&&e.value0 instanceof WNe)return"DropoutRate";if(e instanceof St&&e.value0 instanceof qNe)return"FinancialAidWebsite";if(e instanceof St&&e.value0 instanceof zNe)return"FirstYearEnrollment";if(e instanceof St&&e.value0 instanceof $Ne)return"FootballConference";if(e instanceof St&&e.value0 instanceof mte)return"FourYearGraduationRate";if(e instanceof St&&e.value0 instanceof VNe)return"HasDivisionOneBasketball";if(e instanceof St&&e.value0 instanceof QNe)return"HasDivisionOneFootball";if(e instanceof St&&e.value0 instanceof YNe)return"HasMedicalSchool";if(e instanceof St&&e.value0 instanceof XNe)return"HasStudyAbroad";if(e instanceof St&&e.value0 instanceof y2)return"HBCU";if(e instanceof St&&e.value0 instanceof ZNe)return"InListStatus";if(e instanceof St&&e.value0 instanceof KNe)return"MainWebsite";if(e instanceof St&&e.value0 instanceof vte)return"Majors";if(e instanceof St&&e.value0 instanceof ePe)return"Name";if(e instanceof St&&e.value0 instanceof nPe)return"NetCostEstimate";if(e instanceof St&&e.value0 instanceof tPe)return"Notes";if(e instanceof St&&e.value0 instanceof b2)return"PercentInternationalStudents";if(e instanceof St&&e.value0 instanceof aPe)return"Phone";if(e instanceof St&&e.value0 instanceof rPe)return"Photo";if(e instanceof St&&e.value0 instanceof oPe)return"Prestige";if(e instanceof St&&e.value0 instanceof iPe)return"ProgramLength";if(e instanceof St&&e.value0 instanceof uPe)return"PublicPrivate";if(e instanceof St&&e.value0 instanceof lPe)return"RecommendationLetters";if(e instanceof St&&e.value0 instanceof cPe)return"Region";if(e instanceof St&&e.value0 instanceof R2)return"ReligiousAffiliation";if(e instanceof St&&e.value0 instanceof sPe)return"SatActDeadline";if(e instanceof St&&e.value0 instanceof pte)return"SatActTestPolicy";if(e instanceof St&&e.value0 instanceof fPe)return"SatSubjectTestDeadline";if(e instanceof St&&e.value0 instanceof _te)return"SixYearGraduationRate";if(e instanceof St&&e.value0 instanceof vPe)return"State";if(e instanceof St&&e.value0 instanceof w2)return"StudentFacultyRatio";if(e instanceof St&&e.value0 instanceof mPe)return"SubmissionDeadline";if(e instanceof St&&e.value0 instanceof dte)return"TOEFLPolicy";if(e instanceof St&&e.value0 instanceof pPe)return"TotalUndergrads";if(e instanceof St&&e.value0 instanceof _Pe)return"TuitionInState";if(e instanceof St&&e.value0 instanceof dPe)return"TuitionOutOfState";if(e instanceof St&&e.value0 instanceof hPe)return"YieldRate";if(e instanceof rl&&e.value0 instanceof Ca&&e.value0.value0 instanceof Sf)return"RankingArchitecture";if(e instanceof rl&&e.value0 instanceof Ca&&e.value0.value0 instanceof Ef)return"RankingBusiness";if(e instanceof rl&&e.value0 instanceof Ca&&e.value0.value0 instanceof Cf)return"RankingChemistry";if(e instanceof rl&&e.value0 instanceof Ca&&e.value0.value0 instanceof If)return"RankingComputerScience";if(e instanceof rl&&e.value0 instanceof Ca&&e.value0.value0 instanceof Tf)return"RankingCriminalJusticeAndCorrections";if(e instanceof rl&&e.value0 instanceof Ca&&e.value0.value0 instanceof Ff)return"RankingEconomics";if(e instanceof rl&&e.value0 instanceof Ca&&e.value0.value0 instanceof Mf)return"RankingEngineering";if(e instanceof rl&&e.value0 instanceof Ca&&e.value0.value0 instanceof Gf)return"RankingEnglish";if(e instanceof rl&&e.value0 instanceof Ca&&e.value0.value0 instanceof Af)return"RankingFilm";if(e instanceof rl&&e.value0 instanceof Ca&&e.value0.value0 instanceof xf)return"RankingFinance";if(e instanceof rl&&e.value0 instanceof Ca&&e.value0.value0 instanceof Lf)return"RankingHistory";if(e instanceof rl&&e.value0 instanceof Ca&&e.value0.value0 instanceof jf)return"RankingPoliticalScience";if(e instanceof rl&&e.value0 instanceof Ca&&e.value0.value0 instanceof Nf)return"RankingPreMed";if(e instanceof rl&&e.value0 instanceof Ca&&e.value0.value0 instanceof um)return"RankingPsychology";if(e instanceof rl&&e.value0 instanceof $p)return"OverallRanking";throw new Error("Failed pattern match at Hub.Facet (line 309, column 6 - line 380, column 43): "+[e.constructor.name])};var DPe=function(){function e(){}return e.value=new e,e}(),yPe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),bPe=function(){function e(){}return e.value=new e,e}();var gte=function(e){if(e instanceof DPe)return"filters";if(e instanceof yPe)return"filter:"+hte(e.value0);if(e instanceof bPe)return"rankings";throw new Error("Failed pattern match at Hub.Visuals.MobileOverlay (line 40, column 26 - line 43, column 39): "+[e.constructor.name])};function Dte(e,n){typeof CV!="undefined"&&CV.tracking&&CV.tracking.event(e,n)}var RPe=Sa(),wPe=Ve(Ye),SPe=mw(),S2=function(){return function(e){return function(n){var t=RPe(e);return function(){var a=Dr(t.utmContent);if(a instanceof d)return bs({key:"utm_content",value:a.value0});if(a instanceof I)return wPe;throw new Error("Failed pattern match at Utils.Tracking (line 52, column 5 - line 56, column 17): "+[a.constructor.name])}()(bs({key:"utm_campaign",value:t.utmCampaign})(bs({key:"utm_source",value:$n(t.utmSource)("collegevine.com")})(n)))}}},EPe=function(e){var n=Jn(e);return function(t){return function(a){return n(function(){return Dte(t,a)})}}},BS=function(e){var n=EPe(e);return function(){return function(t){return function(a){return n(t)(SPe(a))}}}};var JS=function(){function e(){}return e.value=new e,e}(),CPe=function(){function e(){}return e.value=new e,e}(),IPe=function(){function e(){}return e.value=new e,e}(),TPe=function(){function e(){}return e.value=new e,e}(),R9=function(e){if(e instanceof JS)return"school-detail";if(e instanceof CPe)return"school-connections";if(e instanceof IPe)return"explore-schools";if(e instanceof TPe)return"school-list";throw new Error("Failed pattern match at Hub.Tracker (line 16, column 28 - line 24, column 18): "+[e.constructor.name])};var Uf=function(){function e(){}return e.value=new e,e}(),Hf=function(){function e(){}return e.value=new e,e}(),dm=function(){function e(){}return e.value=new e,e}(),E2={show:function(e){if(e instanceof Uf)return"SAT";if(e instanceof Hf)return"ACT";if(e instanceof dm)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 WS=function(e){return e==="SAT"?new d(Uf.value):e==="ACT"?new d(Hf.value):e==="SATAndACT"?new d(dm.value):I.value};function yte(e,n,t,a){return a==null?e:n(a[t])}var FPe=function(e){var n=Rh(e),t=q(gf(e));return function(a){return function(r){return yte(n(new Gw("object",r8(r))),t,a,r)}}},N1=function(e){return FPe(e)};var GPe=on();var qS=function(e){return GPe(yF(e))};var mo=function(e){return Xl(qS(e))};var xPe=ba(Oe)(vt),LPe=ae(E2);var P1=Z(Ae),bte=Df(ha),w9=Z(kv(ha)),S9=N1(ha),E9=wh(ha),Rte=Bn(Mn)(Ae),wte=zr(Eo),Ste=q(kn),jPe=Pt(Lr),zS=function(){function e(){}return e.value=new e,e}(),r0=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),C9={show:function(e){if(e instanceof zS)return"ATOStrongest";if(e instanceof r0)return xPe(["(ATOWithCloseTests ",LPe(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 NPe=function(e){return P1(mo(bte("Object")(e)))(function(n){return P1(mo(w9(S9("tag")(n))(E9)))(function(t){return Rte(wte(t==="ATOWithCloseTests"))(function(){return P1(P1(mo(w9(S9("contents")(n))(E9)))(WS))(function(a){return Ste(new r0(a))})})})})},PPe=function(e){return P1(mo(bte("Object")(e)))(function(n){return P1(mo(w9(S9("tag")(n))(E9)))(function(t){return Rte(wte(t==="ATOStrongest"))(function(){return Ste(zS.value)})})})},Ete=function(e){return jPe(PPe(e))(NPe(e))};var Cte=gn(hn),Ite=dn(Cte)(vn(fn)),Tte=pn(mn),Fte=_n(Tte),Mte=bn(yn),Gte=Dn(Mte),Ya=function(){function e(){}return e.value=new e,e}(),yr=function(){function e(){}return e.value=new e,e}(),Ur=function(){function e(){}return e.value=new e,e}(),OPe={to:function(e){if(e instanceof U)return Ya.value;if(e instanceof p&&e.value0 instanceof U)return yr.value;if(e instanceof p&&e.value0 instanceof p)return Ur.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 Ya)return new U(ce.value);if(e instanceof yr)return new p(new U(ce.value));if(e instanceof Ur)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])}},O1={eq:function(e){return function(n){return e instanceof Ya&&n instanceof Ya||e instanceof yr&&n instanceof yr||e instanceof Ur&&n instanceof Ur}}},C2={compare:function(e){return function(n){if(e instanceof Ya&&n instanceof Ya)return Te.value;if(e instanceof Ya)return we.value;if(n instanceof Ya)return Re.value;if(e instanceof yr&&n instanceof yr)return Te.value;if(e instanceof yr)return we.value;if(n instanceof yr)return Re.value;if(e instanceof Ur&&n instanceof Ur)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 O1}},Ate=function(e){if(e instanceof Ya)return"ApplyTestOptional";if(e instanceof yr)return"ApplyWithSat";if(e instanceof Ur)return"ApplyWithAct";throw new Error("Failed pattern match at Chancing.Types.ApplicationStrategy (line 25, column 13 - line 28, column 33): "+[e.constructor.name])},I2={show:Ate},T2=function(){return ut(Me)({default:Ya.value,diagnosticName:"ApplicationStrategy",parse:An(Ate)(Rn(OPe)(Ite(Ite(Cte)(Tte))(Fte))(Gte(Gte(Mte)))(Fte))})}();var xte=Jo(),UPe=L($0);var HPe=function(e){var n=gw(function(r,o,i){return new d(new Ue(r,i))})(function(r){return I.value}),t=gw(function(r,o,i){return new Ue(r,i)})(function(r){return ec("toUnfoldable1: impossible")}),a=Cp(e)(function(r){return UPe(n)(r)});return function(r){return a(t(hw(UQ(xte(r)))))}},BPe=HPe(eF);var k1=xte(HQ),Lte=function(e){var n=ae(rQ(e));return{show:function(t){return"(fromFoldable1 "+(n(BPe(t))+")")}}},JPe=function(e){return BQ(e)};var WPe=function(e){var n=JQ(e);return n?I.value:new d(e)};var jte=function(e){var n=JD(e);return function(t){return n(JPe(t))(k1)}},Nte=function(e){var n=cF(e);return function(t){var a=n(t);return function(r){return WPe(a(r))}}};var I9=function(e){return qQ(e)};var Pte=ae(E2),qPe=ba(Oe)(vt),zPe=ae(Lte(I2));var Al=Z(Ae),Ote=Df(ha),F2=Z(kv(ha)),M2=N1(ha),$S=wh(ha),kte=Bn(Mn)(Ae),Ute=zr(Eo),Hte=SY(ha),$Pe=Co(yi)(gf(ha)),VPe=Nte(Oe)(C2),QPe=L(he),Bte=q(kn),YPe=Pt(Lr),Rs=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Ic=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}(),T9={show:function(e){if(e instanceof Rs)return"(AWTStrongest "+(Pte(e.value0)+")");if(e instanceof Ic)return qPe(["(AWTWithCloseStrategies ",Pte(e.value0)," ",zPe(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 XPe=function(e){return Al(mo(Ote("Object")(e)))(function(n){return Al(mo(F2(M2("tag")(n))($S)))(function(t){return kte(Ute(t==="AWTWithCloseStrategies"))(function(){return Al(Al(mo(F2(M2("contents")(n))(Hte)))(Xc))(function(a){return Al(Al(mo($S(Mp(a))))(WS))(function(r){return Al(Al(dw(a)(1))(function(o){return mo(Hte(o))}))(function(o){return Al(mo($Pe($S)(o)))(function(i){return Al(VPe(QPe(T2)(i)))(function(u){return Bte(new Ic(r,u))})})})})})})})})},ZPe=function(e){return Al(mo(Ote("Object")(e)))(function(n){return Al(mo(F2(M2("tag")(n))($S)))(function(t){return kte(Ute(t==="AWTStrongest"))(function(){return Al(Al(mo(F2(M2("contents")(n))($S)))(WS))(function(a){return Bte(new Rs(a))})})})})},Jte=function(e){return YPe(ZPe(e))(XPe(e))};var D_=Z(Ae),Wte=Df(ha),qte=Z(kv(ha)),G2=N1(ha),zte=wh(ha),$te=Bn(Mn)(Ae),Vte=zr(Eo),Qte=q(kn),KPe=Pt(Lr),F9=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),M9=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}();var eOe=function(e){return D_(mo(Wte("Object")(e)))(function(n){return D_(mo(qte(G2("tag")(n))(zte)))(function(t){return $te(Vte(t==="GuidanceApplyWithTest"))(function(){return D_(mo(G2("contents")(n)))(function(a){return D_(Jte(a))(function(r){return Qte(new M9(r))})})})})})},nOe=function(e){return D_(mo(Wte("Object")(e)))(function(n){return D_(mo(qte(G2("tag")(n))(zte)))(function(t){return $te(Vte(t==="GuidanceApplyTestOptional"))(function(){return D_(mo(G2("contents")(n)))(function(a){return D_(Ete(a))(function(r){return Qte(new F9(r))})})})})})},Yte=Yn(Me)(B)({parse:function(e){return KPe(nOe(e))(eOe(e))},diagnosticName:"Chancing Guidance"});var Xte=function(){function e(){}return e.value=new e,e}(),tOe=function(){function e(){}return e.value=new e,e}();var Zte=function(){return ut(Me)({default:Xte.value,parse:function(e){return e==="BelowAcademicThreshold"?new d(Xte.value):e==="AboveAcademicThreshold"?new d(tOe.value):I.value},diagnosticName:"Chancing.AcademicThresholdStatus"})}();var G9=Z(Ae),aOe=q(kn),hm=function(){function e(){}return e.value=new e,e}(),gm=function(){function e(){}return e.value=new e,e}(),Bf=function(){function e(){}return e.value=new e,e}(),Tc=function(){function e(){}return e.value=new e,e}();var A9=function(){return ut(Me)({default:Tc.value,parse:function(e){return e==="PSWeak"?new d(Bf.value):e==="PSFair"?new d(gm.value):e==="PSStrong"?new d(hm.value):I.value},diagnosticName:"Chancing.ScoreProgress"})}(),VS=function(e){var n=Kd(e);return function(t){return function(a){return Ee(Tc.value)(G9(t)(function(r){return G9(a.p50)(function(o){return G9(a.p75)(function(i){return aOe(function(){var u=n(r)(o);if(u)return Bf.value;var l=n(r)(i);return l?gm.value:hm.value}())})})}))}}};var rOe=L(B),oOe=pt(Ae),x9=function(e){return{applicationStrategy:T2(e.applicationStrategy),isRecommendedStrategy:e.isRecommendedStrategy,classification:rOe(Kne)(K(e.classification)),score:K(e.score),academicThresholdStatus:Zte(e.academicThresholdStatus),shouldApplyTestOptional:e.shouldApplyTestOptional,ecStrength:ke(Tc.value)(A9)(K(e.ecStrength)),courseRigorStrength:ke(Tc.value)(A9)(K(e.courseRigorStrength)),specialCase:oOe(rte)(K(e.specialCase))}};var iOe=L(he),uOe=pt(Ae),y_=function(e){return{top:x9(e.top),all:iOe(x9)(e.all),guidance:uOe(Yte)(K(e.guidance)),sameDemographicStats:FK(K(e.sameDemographicStats))}};var lOe=Uo(qu),cOe=qn(ja),Kte=L(B),sOe=UD(Oe)(qu),fOe=vf(yi)(kn);var b_=function(e){return cOe(Kte(lOe)(e.sat.readingWriting))(e.sat.math)};var vOe=function(e){return Zc(ft(sOe(e))/4)};var R_=function(e){return Kte(vOe)(fOe([e.act.math,e.act.english,e.act.reading,e.act.science]))};var QS=function(){function e(){}return e.value=new e,e}(),U1=function(){function e(){}return e.value=new e,e}();var 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}(),Gm=function(){function e(){}return e.value=new e,e}(),Am=function(){function e(){}return e.value=new e,e}(),xm=function(){function e(){}return e.value=new e,e}(),Lm=function(){function e(){}return e.value=new e,e}(),jm=function(){function e(){}return e.value=new e,e}(),Nm=function(){function e(){}return e.value=new e,e}(),o0=function(){function e(){}return e.value=new e,e}(),H1={show:function(e){if(e instanceof Dm)return"Sports";if(e instanceof ym)return"CommService";if(e instanceof bm)return"Hobbies";if(e instanceof Rm)return"NonArtComps";if(e instanceof wm)return"Politics";if(e instanceof Sm)return"Drama";if(e instanceof Em)return"VisualArts";if(e instanceof Cm)return"Music";if(e instanceof Im)return"Writing";if(e instanceof Tm)return"HonorSocieties";if(e instanceof Fm)return"Employment";if(e instanceof Mm)return"OwnInitiative";if(e instanceof Gm)return"StudentGov";if(e instanceof Am)return"InterestClubs";if(e instanceof xm)return"AffinityGroups";if(e instanceof Lm)return"Research";if(e instanceof jm)return"SummerPrograms";if(e instanceof Nm)return"Software";if(e instanceof o0)return"Other";throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECCategory (line 36, column 1 - line 55, column 23): "+[e.constructor.name])}};var YS={eq:function(e){return function(n){return 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 Gm&&n instanceof Gm||e instanceof Am&&n instanceof Am||e instanceof xm&&n instanceof xm||e instanceof Lm&&n instanceof Lm||e instanceof jm&&n instanceof jm||e instanceof Nm&&n instanceof Nm||e instanceof o0&&n instanceof o0}}};var B1=function(e){return e==="Sports"?new d(Dm.value):e==="CommService"?new d(ym.value):e==="Hobbies"?new d(bm.value):e==="NonArtComps"?new d(Rm.value):e==="Politics"?new d(wm.value):e==="Drama"?new d(Sm.value):e==="VisualArts"?new d(Em.value):e==="Music"?new d(Cm.value):e==="Writing"?new d(Im.value):e==="HonorSocieties"?new d(Tm.value):e==="Employment"?new d(Fm.value):e==="OwnInitiative"?new d(Mm.value):e==="StudentGov"?new d(Gm.value):e==="InterestClubs"?new d(Am.value):e==="AffinityGroups"?new d(xm.value):e==="Research"?new d(Lm.value):e==="SummerPrograms"?new d(jm.value):e==="Software"?new d(Nm.value):e==="Other"?new d(o0.value):I.value};var w_=function(e){if(e instanceof Dm)return"Sports";if(e instanceof ym)return"Community Service";if(e instanceof bm)return"Hobbies";if(e instanceof Rm)return"Non-Art Competitions";if(e instanceof wm)return"Politics";if(e instanceof Sm)return"Drama";if(e instanceof Em)return"Visual Arts";if(e instanceof Cm)return"Music";if(e instanceof Im)return"Writing";if(e instanceof Tm)return"Honor Societies";if(e instanceof Fm)return"Employment";if(e instanceof Mm)return"Own Initiative";if(e instanceof Gm)return"Student Government";if(e instanceof Am)return"Interest Clubs";if(e instanceof xm)return"Affinity Groups";if(e instanceof Lm)return"Research";if(e instanceof jm)return"Summer Programs";if(e instanceof Nm)return"Software";if(e instanceof o0)return"Other";throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECCategory (line 108, column 11 - line 127, column 19): "+[e.constructor.name])},eae=function(){return[Dm.value,ym.value,bm.value,Rm.value,wm.value,Sm.value,Em.value,Cm.value,Im.value,Tm.value,Fm.value,Mm.value,Gm.value,Am.value,xm.value,Lm.value,jm.value,Nm.value]}();var nae=gn(hn),Jf=dn(nae)(vn(fn)),tae=pn(mn),Wf=_n(tae),L9=Jf(Jf(Jf(Jf(Jf(Jf(Jf(Jf(Jf(Jf(Jf(nae)(tae))(Wf))(Wf))(Wf))(Wf))(Wf))(Wf))(Wf))(Wf))(Wf))(Wf);var aae=bn(yn),qf=Dn(aae),rae=qf(qf(qf(qf(qf(qf(qf(qf(qf(qf(qf(aae))))))))))),mOe=X(B),pOe=L(he),XS=function(){function e(){}return e.value=new e,e}(),ZS=function(){function e(){}return e.value=new e,e}(),KS=function(){function e(){}return e.value=new e,e}(),eE=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}(),fr=function(){function e(){}return e.value=new e,e}(),Mr=function(){function e(){}return e.value=new e,e}(),po=function(){function e(){}return e.value=new e,e}(),br=function(){function e(){}return e.value=new e,e}(),$i=function(){function e(){}return e.value=new e,e}(),si=function(){function e(){}return e.value=new e,e}(),Li=function(){function e(){}return e.value=new e,e}(),_o=function(){function e(){}return e.value=new e,e}(),xl=function(){function e(){}return e.value=new e,e}(),ol=function(){function e(){}return e.value=new e,e}(),S_={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 fr.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof U)return Mr.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 po.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 br.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 si.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 _o.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 xl.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 ol.value;throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECTier (line 60, column 1 - line 60, column 33): "+[e.constructor.name])},from:function(e){if(e instanceof zi)return new U(ce.value);if(e instanceof Sr)return new p(new U(ce.value));if(e instanceof fr)return new p(new p(new U(ce.value)));if(e instanceof Mr)return new p(new p(new p(new U(ce.value))));if(e instanceof po)return new p(new p(new p(new p(new U(ce.value)))));if(e instanceof br)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 si)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 _o)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 xl)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 ol)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 60, column 1 - line 60, column 33): "+[e.constructor.name])}},ws={eq:function(e){return function(n){return e instanceof zi&&n instanceof zi||e instanceof Sr&&n instanceof Sr||e instanceof fr&&n instanceof fr||e instanceof Mr&&n instanceof Mr||e instanceof po&&n instanceof po||e instanceof br&&n instanceof br||e instanceof $i&&n instanceof $i||e instanceof si&&n instanceof si||e instanceof Li&&n instanceof Li||e instanceof _o&&n instanceof _o||e instanceof xl&&n instanceof xl||e instanceof ol&&n instanceof ol}}},_Oe=fe(ws),dOe={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 fr&&n instanceof fr)return Te.value;if(e instanceof fr)return we.value;if(n instanceof fr)return Re.value;if(e instanceof Mr&&n instanceof Mr)return Te.value;if(e instanceof Mr)return we.value;if(n instanceof Mr)return Re.value;if(e instanceof po&&n instanceof po)return Te.value;if(e instanceof po)return we.value;if(n instanceof po)return Re.value;if(e instanceof br&&n instanceof br)return Te.value;if(e instanceof br)return we.value;if(n instanceof br)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 si&&n instanceof si)return Te.value;if(e instanceof si)return we.value;if(n instanceof si)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 _o&&n instanceof _o)return Te.value;if(e instanceof _o)return we.value;if(n instanceof _o)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 ol&&n instanceof ol)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 ws}},oae={succ:$F(S_)(L9),pred:TZ(S_)(L9),Ord0:function(){return dOe}};var iae=function(e){if(e instanceof zi)return"A";if(e instanceof Sr)return"B";if(e instanceof fr)return"C";if(e instanceof Mr)return"D";if(e instanceof po)return"E";if(e instanceof br)return"F";if(e instanceof $i)return"G";if(e instanceof si)return"H";if(e instanceof Li)return"I";if(e instanceof _o)return"J";if(e instanceof xl)return"K";if(e instanceof ol)return"L";throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECTier (line 43, column 13 - line 55, column 13): "+[e.constructor.name])},uae={show:iae},lae=An(iae)(Rn(S_)(L9)(rae)(Wf)),j9=function(e){if(e instanceof zi)return{group:XS.value,subGroup:"a"};if(e instanceof Sr)return{group:XS.value,subGroup:"b"};if(e instanceof fr)return{group:XS.value,subGroup:"c"};if(e instanceof Mr)return{group:ZS.value,subGroup:"a"};if(e instanceof po)return{group:ZS.value,subGroup:"b"};if(e instanceof br)return{group:ZS.value,subGroup:"c"};if(e instanceof $i)return{group:KS.value,subGroup:"a"};if(e instanceof si)return{group:KS.value,subGroup:"b"};if(e instanceof Li)return{group:KS.value,subGroup:"c"};if(e instanceof _o)return{group:eE.value,subGroup:"a"};if(e instanceof xl)return{group:eE.value,subGroup:"b"};if(e instanceof ol)return{group:eE.value,subGroup:"c"};throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECTier (line 119, column 9 - line 131, column 44): "+[e.constructor.name])},cae=FZ(S_)(rae),hOe=function(e){return function(n){if(n instanceof XS)return"1";if(n instanceof ZS)return"2";if(n instanceof KS)return"3";if(n instanceof eE)return"4";throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECTier (line 87, column 43 - line 91, column 18): "+[n.constructor.name])}(function(n){return n.group}(j9(e)))},N9=function(e){return hOe(e)+j9(e).subGroup},J1=function(e){return N9(e)+(": "+function(){var n=j9(e).group;if(n instanceof XS)return"Exceptional";if(n instanceof ZS)return"Very strong";if(n instanceof KS)return"Strong";if(n instanceof eE)return"Standard";throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECTier (line 75, column 39 - line 79, column 25): "+[n.constructor.name])}())},sae=function(){var e=function(n){return function(t){return{tier:n,description:t}}};return function(n){if(n instanceof Dm)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(fr.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(Mr.value)(["I'm a varsity athlete with top all-conference/region or conference/region award"]),e(po.value)(["I'm a varsity athlete with all-conference/region or conference/region award","I am the captain of the varsity team"]),e(br.value)(["I'm a varsity athlete in this sport"]),e(si.value)(["I'm a JV athlete that won an award in this sport","I am the JV team captain"]),e(_o.value)(["I'm a JV athlete in this sport"]),e(ol.value)(["I play this sport recreationally"])];if(n instanceof ym)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(fr.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(Mr.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(po.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(br.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(si.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(_o.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(ol.value)(["I have less than 30 volunteer hours"])];if(n instanceof bm)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(fr.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(br.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(_o.value)(["I have participated in this hobby for an extended period of time"])];if(n instanceof Rm)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(fr.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(Mr.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(po.value)(["I won a state level individual award in this activity","I held the highest school level leadership in this activity"]),e(br.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(xl.value)(["I competed at the local or school level in this activity"])];if(n instanceof wm)return[e(Sr.value)(["I worked a substantial, paid strategy role for a national level political campaign (Congressional or higher)"]),e(fr.value)(["I worked a substantial, paid strategy role for a state level political campaign"]),e(Mr.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(po.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(br.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(_o.value)(["I canvassed for a state or national level political campaign","I am a member of political interest club at my school"]),e(xl.value)(["I canvassed or phone banked for local level political campaign"])];if(n instanceof Sm)return[e(fr.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(Mr.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(po.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(br.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(si.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(xl.value)(["I was an extra in the school play"])];if(n instanceof Em)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(fr.value)(["I won a Gold Key art award from Scholastic","I had a film screened at an accredited regional film festival"]),e(Mr.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(po.value)(["I won a city or regional art award","I screened a film at citywide or regional film festival"]),e(br.value)(["I held school level leadership in an art or film club","I won the national Scholastic Silver Key award"]),e(si.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(_o.value)(["I am a member of my school's art or film club"]),e(ol.value)(["I draw, paint, or make videos for fun"])];if(n instanceof Cm)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(fr.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(Mr.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(po.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(br.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(_o.value)(["I am a member of a music group inside or outside school"]),e(ol.value)(["I play an instrument or sing recreationally"])];if(n instanceof Im)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(fr.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(Mr.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(po.value)(["I published a full-length book or books through Amazon (total length <100 pages) or self-publishing"]),e(br.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(si.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(_o.value)(["I contributed 1-2 articles to a school newspaper or publication"]),e(ol.value)(["I write for fun"])];if(n instanceof Tm)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(fr.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(Mr.value)(["I was the president of a school or local level honor society"]),e(br.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(si.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 Fm)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(fr.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(Mr.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(br.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 Mm)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(fr.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(Mr.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(br.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(si.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 Gm)return[e(Mr.value)(["I was School President or Head Boy/Girl"]),e(po.value)(["I was the president of Student Council","I was class president"]),e(br.value)(["I was a class officer","I held student council leadership"]),e(si.value)(["I was a member of Student Council"])];if(n instanceof Am)return[e(Sr.value)(["I organized a nationwide event or conference for this interest (i.e. national anime conference)"]),e(fr.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(Mr.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(br.value)(["I held leadership in a school-level interest club"]),e(_o.value)(["I was a member of school level interest based club"])];if(n instanceof xm)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(fr.value)(["I was the highest state leader of an affinity group for high schoolers e.g.Black Students Association"]),e(Mr.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(br.value)(["I held school-level leadership in an affinity group or club"]),e(_o.value)(["I was a member of a school level affinity club"])];if(n instanceof Lm)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(fr.value)(["I was selected for a formal, honorary application required research programs"]),e(Mr.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(po.value)(["I conducted research through a formal, application required program with an accredited university"]),e(br.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 jm)return[e(Sr.value)(["I attended one of TASP, RSI, PROMYS, SSP, Boys/Girls Nation"]),e(fr.value)(["I attended one of RISE, MITES, SuMaC, Boys/Girls State, or Gov School"]),e(po.value)(["I attended one of SIP, EFL, SAMS, HCSSIM, JCamp, MAthlLy, HSHSP, Clark Scholars, Notre Dame Summer Scholars"]),e(br.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(_o.value)(["I attended a paid summer program where there is no application required"])];if(n instanceof Nm)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(fr.value)(["I built commercially used software","I built an app with more than 100,000 downloads"]),e(po.value)(["I published an app with 10,000 downloads"]),e(si.value)(["I published an app on the App/Google Play store","I contributed to an open source software project"]),e(_o.value)(["I write programs for fun"])];if(n instanceof o0)return[e(fr.value)([""]),e($i.value)([""]),e(_o.value)([""]),e(ol.value)([""])];throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECTier (line 134, column 17 - line 322, column 6): "+[n.constructor.name])}}(),fae=function(e){return function(n){return mOe(jv(function(){var t=_Oe(n);return function(a){return t(function(r){return r.tier}(a))}}())(sae(e)))(function(t){return t.description})}},nE=function(e){return pOe(function(n){return n.tier})(sae(e))},vae=function(e){return Ri(nE(e))},A2=function(e){return lh(nE(e))};var pae=ae(H1),_ae=ae(uae),gOe=ae($c(Ir)),DOe=fe(YS),yOe=fe(At(fa)),bOe=fe(At(Ka)),ROe=fe(ws),wOe=pf(ws),SOe=sF(oae),P9=Z(Ae),EOe=q(kn),COe=pl(Ae),O9=U0(B),IOe=qn(ja),TOe=L(B);var FOe=Fp(ws);var k9={show:function(e){return"ECActivity "+("{ name: "+(e.name+(", category: "+(pae(e.category)+(", tier: "+(_ae(e.tier)+(", description: "+(gOe(e.description)+" }"))))))))}};var dae={show:function(){var e=ae(ze),n=on();return function(t){return e(n(t))}}()},U9={eq:function(e){return function(n){return e===n}}},MOe=fe(At(U9)),tE={eq:function(e){return function(n){return MOe(e.canonicalId)(n.canonicalId)&&DOe(e.category)(n.category)&&yOe(e.description)(n.description)&&bOe(e.id)(n.id)&&e.name===n.name&&ROe(e.tier)(n.tier)}}},aE=Rt;var Ll=function(e){return e.tier},E_=function(e){return e.name},rE=function(e){return function(n){return function(t){return function(a){return function(r){return function(o){var i=nE(n),u=function(l){var c=!1,s;function f(v){if(wOe(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 78, column 1 - line 78, column 105): "+[v.constructor.name])},_=SOe(v);if(_ instanceof d){l=_.value0;return}return c=!0,m(!0)}for(;!c;)s=f(l);return s};return P9(u(t))(function(l){return EOe({name:e,category:n,tier:l,id:a,description:r,canonicalId:o})})}}}}}},GOe=Yn(Me)(B)({diagnosticName:"EC Activity",parse:function(e){return COe(O9(O9(O9(IOe(TOe(rE(e.name))(B1(e.category)))(lae(e.tier)))(K(e.id)))(K(e.description)))(K(e.canonical_ec_activity_id)))}}),oE=Io(GOe);var x2=function(e){return e.id},hae=function(e){return function(n){var t=nE(n.category);return P9(FOe(n.tier)(t))(function(a){return P9(ru(t)(e(a)))(function(r){return rE(n.name)(n.category)(r)(n.id)(n.description)(n.canonicalId)})})}},gae=hae(function(e){return e+1|0}),Dae=hae(function(e){return e-1|0}),iE=function(e){return e.description},zf=function(e){return e.category},L2=function(e){return e.canonicalId},tg=L(he)(function(e){return{name:E_(e),category:pae(zf(e)),tier:_ae(Ll(e)),id:Ht(x2(e)),description:Ht(iE(e)),canonical_ec_activity_id:Ht(L2(e))}});var H9=q(kn),AOe=Pt(Lr);var uE=function(e){var n=b_(e);if(n instanceof d&&e.psatPredictedCompositeSAT instanceof I)return H9(QS.value);if(n instanceof d&&e.psatPredictedCompositeSAT instanceof d)return H9(QS.value);if(n instanceof I&&e.psatPredictedCompositeSAT instanceof d)return H9(U1.value);if(n instanceof I&&e.psatPredictedCompositeSAT instanceof I)return I.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])},yae=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:oE(e.ecActivities)}};var B9=function(e){return AOe(b_(e))(e.psatPredictedCompositeSAT)};var j2=function(e){return{estimatedNetCost:e.estimatedNetCost,stickerPrice:e.stickerPrice,financialAid:e.financialAid,estimatedMeritAid:K(e.estimatedMeritAid)}};var bae=vm(function(e){return{status:y9(e.status),applicationRound:Nne(e.applicationRound)}}),J9=function(){return{status:ng.value,applicationRound:f_.value}}();var Rae=vm(Ve(Ye)),N2=500;var $f=function(){function e(){}return e.value=new e,e}(),ag=function(){function e(){}return e.value=new e,e}();var wae={eq:function(e){return function(n){return e instanceof $f&&n instanceof $f||e instanceof ag&&n instanceof ag}}};var Cu=function(e){if(e instanceof $f)return d.create;if(e instanceof ag)return an(I.value);throw new Error("Failed pattern match at SchoolDetails.Configuration (line 16, column 1 - line 16, column 62): "+[e.constructor.name])},Ss=function(e){if(e instanceof ag)return d.create;if(e instanceof $f)return an(I.value);throw new Error("Failed pattern match at SchoolDetails.Configuration (line 20, column 1 - line 20, column 61): "+[e.constructor.name])},Pm=function(){return d.create}();var Sae=gn(hn),Eae=dn(Sae)(vn(fn)),Cae=pn(mn),Iae=_n(Cae),Tae=bn(yn),Fae=Dn(Tae),P2=function(){function e(){}return e.value=new e,e}(),W9=function(){function e(){}return e.value=new e,e}(),q9=function(){function e(){}return e.value=new e,e}(),xOe={to:function(e){if(e instanceof U)return P2.value;if(e instanceof p&&e.value0 instanceof U)return W9.value;if(e instanceof p&&e.value0 instanceof p)return q9.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 P2)return new U(ce.value);if(e instanceof W9)return new p(new U(ce.value));if(e instanceof q9)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 z9=function(){var e=function(n){if(n instanceof P2)return"ineligible";if(n instanceof W9)return"eligible";if(n instanceof q9)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 ut(Me)({parse:An(e)(Rn(xOe)(Eae(Eae(Sae)(Cae))(Iae))(Fae(Fae(Tae)))(Iae)),default:P2.value,diagnosticName:"Autopilot Status"})}();var Mae=function(e){return{rcr2577ClaimSchoolProfileLinkOnSdp:e.rcr2577ClaimSchoolProfileLinkOnSdp,app18667SageOnSdp:e.app18667SageOnSdp,app18667TrellisRecruiter:e.app18667TrellisRecruiter,autopilot:z9(e.autopilot)}};var LOe=function(){function e(){}return e.value=new e,e}(),$9=function(){function e(){}return e.value=new e,e}(),lE=function(){function e(){}return e.value=new e,e}(),Gae=function(){function e(){}return e.value=new e,e}(),Aae=function(e){if(e instanceof LOe)return"modal-sm";if(e instanceof $9)return"";if(e instanceof lE)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])};var xae=Ww(Bw);var Lae={map:function(e){return function(n){return xae(xae(e))(n)}}},jOe=X(Lae),NOe=function(e){var n=Z(e.Monad0().Bind1()),t=Jn(e);return function(a){return Jp(function(r){return n(a(r.dispatch))(function(o){return t(r.onStop(o))})})}},jae=function(e){var n=NOe(e);return function(t){return function(a){return n(jOe(a)(t))}}};var Nae=Bn(Mn)(Wt),POe=jae(nt),OOe=Ve(Ye),Pae=q(_t),O2=function(e){return function(n){return _1("UseSubscription")(function(t){return{init:Nae(POe(OOe)(e))(function(){return Pae(Ce)}),update:function(a){return function(r){return Nae(cr(n(r)))(function(){return Pae(Ce)})}},view:function(a){return function(r){return t(Ce)}}}})}};function cE(e){return function(){return function(n){return e(n)()}}}function sE(e){return function(n){return function(t){return function(a){return function(){return a.addEventListener(e,n,t)}}}}}function V9(e){return function(n){return function(t){return function(a){return function(){return a.removeEventListener(e,n,t)}}}}}var Oae="message";var kae="hashchange";var Uae="popstate";var Hae="keyup",Bae="keydown";var Jae="mouseup";var Wae="mousemove";var qae=Jn(nt),zae=L(it),kOe=pt(qa),fE=function(){var e=function(a){return function(r){return function(o){return qae(function(){var u=r(),l=cE(function(c){return o(c)})();return sE(a)(l)(!1)(u)(),qae(V9(a)(l)(!1)(u))})}}},n=function(a){return e(a)(zae(Ene)(fo))},t=function(a){return e(a)(zae(Dne)(kOe(fm)(fo)))};return{hashchange:n(kae),mousemove:n(Wae),mouseup:n(Jae),popstate:n(Uae),resize:n("resize"),message:n(Oae),keydown:t(Bae),keyup:t(Hae),selectionchange:t("selectionchange"),visibilitychange:t("visibilitychange")}}();var vE=function(){return Be};var W1=H(te),Q9=Sa(),UOe=lt(te)()(),HOe=lt(J)()(),BOe=H(J),JOe=Gn(x)()(),WOe=ia(sr),qOe=ko(ea),zOe=Jn(nt),$ae=vE(),k2=function(){return function(e){var n=W1("modal-backdrop fade show")(un),t=Q9(e),a=Dr(t.footer),r=Dr(t.header),o=$n(t.size)($9.value),i=Or(" ")([function(){var l=$n(t.scrollable)(!0);return l?"modal-dialog-scrollable":""}(),function(){var l=$n(t.centered)(!0);return l?"modal-dialog-centered":""}(),Aae(o),$n(t.dialogClass)("")]),u=W1("modal fade show d-block")(UOe("modal-dialog "+i)({style:$n(t.dialogStyle)(Sn({}))})(HOe("modal-content "+$n(t.contentClass)(""))({style:$n(t.contentStyle)(Sn({}))})([Je(r)(W1("modal-header "+$n(t.headerClass)(""))),W1("modal-body "+$n(t.bodyClass)(""))(t.body),Je(a)(W1("modal-footer "+$n(t.footerClass)("")))])));return ue([u,n])}},Vae=k2(),Om=function(){return function(e){var n=Q9(e),t=BOe("d-flex w-100 justify-content-between align-items-center")([W1("mr-4")($n(n.title)(un)),JOe("btn btn-link large mr-n3 py-0 fe fe-x t--close "+$n(n.dismissButtonClass)("text-body"))({type:"button",onClick:WOe(n.onDismiss)})("")]),a=function(r){return qOe(r.key==="Escape")(zOe(n.onDismiss))};return d1(O2(fE.keyup)(a))(function(r){var o=$n(n.bodyScrollable)(!1);return Vae(o?function(){var i=Q9($ae(n));return{body:i.body,bodyClass:i.bodyClass,centered:i.centered,contentClass:i.contentClass,contentStyle:i.contentStyle,dialogClass:i.dialogClass,dialogStyle:i.dialogStyle,footer:i.footer,footerClass:i.footerClass,headerClass:i.headerClass,scrollable:i.scrollable,size:i.size,header:t}}():$ae({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])}))})}};function Qae(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 Yae=typeof CV!="undefined"&&CV.pathInfo||typeof global!="undefined"&&global.CV&&global.CV.pathInfo||(e=>null);function Xae(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 Zae(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 U2="application/json",Kae="application/x-www-form-urlencoded";var ere=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),nre=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),tre=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),are=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),rre=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Y9=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),H2=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),ore=function(e){return e instanceof Y9?new d(Kae):e instanceof H2?new d(U2):I.value};var ire=function(){return H2.create}();var ure=on();var B2=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),J2=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),q1=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}(),lre=function(e){if(e instanceof B2||e instanceof J2)return ure(e.value0);if(e instanceof q1)return e.value1;throw new Error("Failed pattern match at Affjax.RequestHeader (line 26, column 1 - line 26, column 33): "+[e.constructor.name])};var X9=function(e){if(e instanceof B2)return"Accept";if(e instanceof J2)return"Content-Type";if(e instanceof q1)return e.value0;throw new Error("Failed pattern match at Affjax.RequestHeader (line 21, column 1 - line 21, column 32): "+[e.constructor.name])};var cre=Ve(Ye),Z9=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),K9=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),ej=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),W2=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),q2=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),z2=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),sre=function(e){if(e instanceof Z9)return"arraybuffer";if(e instanceof K9)return"blob";if(e instanceof ej)return"document";if(e instanceof W2||e instanceof q2)return"text";if(e instanceof z2)return"";throw new Error("Failed pattern match at Affjax.ResponseFormat (line 44, column 3 - line 50, column 19): "+[e.constructor.name])},fre=function(e){return e instanceof W2?new d(U2):I.value},vre=function(){return new q2(cre)}();var mre=function(){return new z2(cre)}();var pre=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 _re(e,n,t){try{return n(JSON.parse(t))}catch(a){return e(a.message)}}var $2=function(e){return _re(rn.create,ln.create,e)};var $Oe=qn(ja),dre=L(B),VOe=Co(yi)(kn);var QOe=function(e){return e};var hre=function(){var e=function(a){if(a.value1 instanceof I)return d2(a.value0);if(a.value1 instanceof d)return $Oe(dre(function(r){return function(o){return r+("="+o)}})(d2(a.value0)))(d2(a.value1.value0));throw new Error("Failed pattern match at Data.FormURLEncoded (line 37, column 16 - line 39, column 114): "+[a.constructor.name])},n=dre(Or("&")),t=VOe(e);return function(a){return n(t(QOe(a)))}}();var nj=function(){function e(){}return e.value=new e,e}(),C_=function(){function e(){}return e.value=new e,e}(),tj=function(){function e(){}return e.value=new e,e}(),km=function(){function e(){}return e.value=new e,e}(),V2=function(){function e(){}return e.value=new e,e}(),mE=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}(),oj=function(){function e(){}return e.value=new e,e}(),ij=function(){function e(){}return e.value=new e,e}(),uj=function(){function e(){}return e.value=new e,e}(),lj=function(){function e(){}return e.value=new e,e}(),cj=function(){function e(){}return e.value=new e,e}(),sj=function(){function e(){}return e.value=new e,e}(),fj=function(){function e(){}return e.value=new e,e}(),Q2=function(){function e(){}return e.value=new e,e}();var YOe=function(e){return e},XOe={show:function(e){if(e instanceof nj)return"OPTIONS";if(e instanceof C_)return"GET";if(e instanceof tj)return"HEAD";if(e instanceof km)return"POST";if(e instanceof V2)return"PUT";if(e instanceof mE)return"DELETE";if(e instanceof aj)return"TRACE";if(e instanceof rj)return"CONNECT";if(e instanceof oj)return"PROPFIND";if(e instanceof ij)return"PROPPATCH";if(e instanceof uj)return"MKCOL";if(e instanceof lj)return"COPY";if(e instanceof cj)return"MOVE";if(e instanceof sj)return"LOCK";if(e instanceof fj)return"UNLOCK";if(e instanceof Q2)return"PATCH";throw new Error("Failed pattern match at Data.HTTP.Method (line 43, column 1 - line 59, column 23): "+[e.constructor.name])}};var gre=er(ae(XOe))(YOe);var Dre={eq:function(e){return function(n){return e instanceof nj&&n instanceof nj||e instanceof C_&&n instanceof C_||e instanceof tj&&n instanceof tj||e instanceof km&&n instanceof km||e instanceof V2&&n instanceof V2||e instanceof mE&&n instanceof mE||e instanceof aj&&n instanceof aj||e instanceof rj&&n instanceof rj||e instanceof oj&&n instanceof oj||e instanceof ij&&n instanceof ij||e instanceof uj&&n instanceof uj||e instanceof lj&&n instanceof lj||e instanceof cj&&n instanceof cj||e instanceof sj&&n instanceof sj||e instanceof fj&&n instanceof fj||e instanceof Q2&&n instanceof Q2}}};var yre=function(e){return Th(function(n){return function(){var a=e(function(r){return n(rn.create(r))()},function(r){return n(ln.create(r))()});return function(r){return Th(function(o){return function(){return a(r,function(u){return o(rn.create(u))()},function(u){return o(ln.create(u))()}),tX}})}}})};var vj=q(gf(ha)),ZOe=Rh(ha),rg=Df(ha),bre=Pt(l8(k6)(ha)),KOe=Xd(kv(ha)),Y2=L(B),eke=sf(Oe)(ta),nke=fe(fa),tke=pt(Ae),ake=L(he),rke=X(Vt),oke=as(Uv),ike=q(ea);var X2=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Z2=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}(),K2=function(){function e(){}return e.value=new e,e}(),eG=function(){function e(){}return e.value=new e,e}(),nG=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Rre=function(e){return function(n){var t=function(s){return s===""?vj(eQ):er(function(f){return ZOe(RF.create(f))})(vj)($2(s))},a=function(){if(n.responseFormat instanceof Z9)return rg("ArrayBuffer");if(n.responseFormat instanceof K9)return rg("Blob");if(n.responseFormat instanceof ej)return function(s){return bre(rg("Document")(s))(bre(rg("XMLDocument")(s))(rg("HTMLDocument")(s)))};if(n.responseFormat instanceof W2)return KOe(function(s){return n.responseFormat.value0(t(s))})(rg("String"));if(n.responseFormat instanceof q2)return rg("String");if(n.responseFormat instanceof z2)return an(n.responseFormat.value0(vj(Ce)));throw new Error("Failed pattern match at Affjax (line 274, column 18 - line 283, column 57): "+[n.responseFormat.constructor.name])}(),r=function(s){if(s instanceof ere)return new ln(s.value0(io));if(s instanceof nre)return new ln(io(s.value0));if(s instanceof tre)return new ln(io(s.value0));if(s instanceof are)return new ln(io(s.value0));if(s instanceof rre)return new ln(io(s.value0));if(s instanceof Y9)return GD("Body contains values that cannot be encoded as application/x-www-form-urlencoded")(Y2(io)(hre(s.value0)));if(s instanceof H2)return new ln(io(GT(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&&!eke(yu(nke)(X9)(s.value0))(f)?rw(f)(s.value0):f}},i=function(s){return o(Y2(J2.create)(tke(ore)(s)))(o(Y2(B2.create)(fre(n.responseFormat)))(n.headers))},u=function(s){return{method:gre(n.method),url:n.url,headers:ake(function(f){return{field:X9(f),value:lre(f)}})(i(n.content)),content:s,responseType:sre(n.responseFormat),username:Ht(n.username),password:Ht(n.password),withCredentials:n.withCredentials,timeout:Ee(0)(Y2(function(f){return f})(n.timeout))}},l=function(s){return rke(oke(yre(Zae(e,"AffjaxTimeoutErrorMessageIdent","AffjaxRequestFailedMessageIdent",pre.create,u(s)))))(function(f){if(f instanceof ln){var v=qS(a(f.value0.body));if(v instanceof rn)return new rn(new Z2(AQ(v.value0),f.value0));if(v instanceof ln)return new ln({headers:f.value0.headers,status:f.value0.status,statusText:f.value0.statusText,body:v.value0});throw new Error("Failed pattern match at Affjax (line 209, column 9 - line 211, column 52): "+[v.constructor.name])}if(f instanceof rn)return new rn(function(){var m=r1(f.value0),_=m==="AffjaxTimeoutErrorMessageIdent";if(_)return K2.value;var R=m==="AffjaxRequestFailedMessageIdent";return R?eG.value:new nG(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 I)return l(Ht(I.value));if(n.content instanceof d){var c=r(n.content.value0);if(c instanceof ln)return l(Ht(new d(c.value0)));if(c instanceof rn)return ike(new rn(new X2(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 z1=function(){return{method:new rn(C_.value),url:"/",headers:[],content:I.value,username:I.value,password:I.value,withCredentials:!1,responseFormat:mre,timeout:I.value}}();var wre={eq:function(e){return function(n){return e===n}}};var mj={newXHR:function(){return new XMLHttpRequest},fixupUrl:function(e){return e||"/"}};var Sre=Rre(mj);function Ere(e){return Buffer.from(e).toString("base64")}function Cre(e,n,t){let a;try{a=n(btoa(t))}catch(r){a=e(r)}return a}var pj=typeof btoa=="function";function Ire(e){let n=32768,t=[];for(let a=0;a=0)&&(t[r]=e[r]);return t}function fi(e,n){if(e==null)return{};var t=uN(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}$t();$t();function go(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function Fle(e,n){for(var t=0;t1&&arguments[1]!==void 0?arguments[1]:1;Ale+=1;var t=Ale;function a(r){if(r===0)xle(t),e();else{var o=Mle(function(){a(r-1)});cN.set(t,o)}}return a(n),t}Mc.cancel=function(e){var n=cN.get(e);return xle(n),Gle(n)};function _g(e,n){return e?e.contains(n):!1}function ME(e){return e instanceof HTMLElement?e:uc.findDOMNode(e)}var Ole=ya(Ple());$t();function mN(e,n){typeof e=="function"?e(n):ho(e)==="object"&&e&&"current"in e&&(e.current=n)}function m4(){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=Mc(function(){r<=1?a({isCanceled:function(){return o!==e.current}}):t(a,r-1)});e.current=o}return gr(function(){return function(){n()}},[]),[t,n]};$t();var vJe=s0()?Ow:gr,D4=vJe;var Yle=[Is,Bm,H_,g4],bN=!1,Xle=!0;function y4(e){return e===H_||e===g4}var Zle=function(e,n){var t=Jm(yN),a=Ua(t,2),r=a[0],o=a[1],i=Qle(),u=Ua(i,2),l=u[0],c=u[1];function s(){o(Is,!0)}return D4(function(){if(r!==yN&&r!==g4){var f=Yle.indexOf(r),v=Yle[f+1],m=n(r);m===bN?o(v,!0):l(function(_){function R(){_.isCanceled()||o(v,!0)}m===!0?R():Promise.resolve(m).then(R)})}},[e,r]),gr(function(){return function(){c()}},[]),[s,r]};$t();$t();var Kle=function(e){var n=Ma(),t=Ma(e);t.current=e;var a=Pw(function(i){t.current(i)},[]);function r(i){i&&(i.removeEventListener(gN,a),i.removeEventListener(hN,a))}function o(i){n.current&&n.current!==i&&r(n.current),i&&i!==n.current&&(i.addEventListener(gN,a),i.addEventListener(hN,a),n.current=i)}return gr(function(){return function(){r(n.current)}},[]),[o,r]};function RN(e,n,t,a){var r=a.motionEnter,o=r===void 0?!0:r,i=a.motionAppear,u=i===void 0?!0:i,l=a.motionLeave,c=l===void 0?!0:l,s=a.motionDeadline,f=a.motionLeaveImmediately,v=a.onAppearPrepare,m=a.onEnterPrepare,_=a.onLeavePrepare,R=a.onAppearStart,D=a.onEnterStart,y=a.onLeaveStart,S=a.onAppearActive,M=a.onEnterActive,P=a.onLeaveActive,k=a.onAppearEnd,N=a.onEnterEnd,Q=a.onLeaveEnd,de=a.onVisibleChanged,ve=Jm(),ge=Ua(ve,2),re=ge[0],Se=ge[1],pe=Jm(U_),ye=Ua(pe,2),je=ye[0],oe=ye[1],Un=Jm(null),Ke=Ua(Un,2),Pn=Ke[0],On=Ke[1],W=Ma(!1),A=Ma(null);function ee(){return t()}var se=Ma(!1);function De(Cn){var et=ee();if(!(Cn&&!Cn.deadline&&Cn.target!==et)){var gt=se.current,Fn;je===AE&>?Fn=k==null?void 0:k(et,Cn):je===xE&>?Fn=N==null?void 0:N(et,Cn):je===LE&>&&(Fn=Q==null?void 0:Q(et,Cn)),je!==U_&>&&Fn!==!1&&(oe(U_,!0),On(null,!0))}}var O=Kle(De),me=Ua(O,1),$=me[0],Ge=kw(function(){var Cn,et,gt;switch(je){case AE:return Cn={},Ta(Cn,Is,v),Ta(Cn,Bm,R),Ta(Cn,H_,S),Cn;case xE:return et={},Ta(et,Is,m),Ta(et,Bm,D),Ta(et,H_,M),et;case LE:return gt={},Ta(gt,Is,_),Ta(gt,Bm,y),Ta(gt,H_,P),gt;default:return{}}},[je]),Fe=Zle(je,function(Cn){if(Cn===Is){var et=Ge[Is];return et?et(ee()):bN}if(xe in Ge){var gt;On(((gt=Ge[xe])===null||gt===void 0?void 0:gt.call(Ge,ee(),null))||null)}return xe===H_&&($(ee()),s>0&&(clearTimeout(A.current),A.current=setTimeout(function(){De({deadline:!0})},s))),Xle}),He=Ua(Fe,2),$e=He[0],xe=He[1],In=y4(xe);se.current=In,D4(function(){Se(n);var Cn=W.current;if(W.current=!0,!!e){var et;!Cn&&n&&u&&(et=AE),Cn&&n&&o&&(et=xE),(Cn&&!n&&c||!Cn&&f&&!n&&c)&&(et=LE),et&&(oe(et),$e())}},[n]),gr(function(){(je===AE&&!u||je===xE&&!o||je===LE&&!c)&&oe(U_)},[u,o,c]),gr(function(){return function(){W.current=!1,clearTimeout(A.current)}},[]);var cn=Ma(!1);gr(function(){re&&(cn.current=!0),re!==void 0&&je===U_&&((cn.current||re)&&(de==null||de(re)),cn.current=!0)},[re,je]);var Kn=Pn;return Ge[Is]&&xe===Bm&&(Kn=Bt({transition:"none"},Kn)),[je,xe,Kn,re!=null?re:n]}$t();var mJe=function(e){yo(t,e);var n=pg(t);function t(){return go(this,t),n.apply(this,arguments)}return Do(t,[{key:"render",value:function(){return this.props.children}}]),t}(Ih),ece=mJe;function pJe(e){var n=e;ho(e)==="object"&&(n=e.transitionSupport);function t(r){return!!(r.motionName&&n)}var a=ic(function(r,o){var i=r.visible,u=i===void 0?!0:i,l=r.removeOnLeave,c=l===void 0?!0:l,s=r.forceRender,f=r.children,v=r.motionName,m=r.leavedClassName,_=r.eventProps,R=t(r),D=Ma(),y=Ma();function S(){try{return D.current instanceof HTMLElement?D.current:ME(y.current)}catch{return null}}var M=RN(R,u,S,r),P=Ua(M,4),k=P[0],N=P[1],Q=P[2],de=P[3],ve=Ma(de);de&&(ve.current=!0);var ge=Pw(function(Un){D.current=Un,mN(o,Un)},[o]),re,Se=Bt(Bt({},_),{},{visible:u});if(!f)re=null;else if(k===U_||!t(r))de?re=f(Bt({},Se),ge):!c&&ve.current?re=f(Bt(Bt({},Se),{},{className:m}),ge):s?re=f(Bt(Bt({},Se),{},{style:{display:"none"}}),ge):re=null;else{var pe,ye;N===Is?ye="prepare":y4(N)?ye="active":N===Bm&&(ye="start"),re=f(Bt(Bt({},Se),{},{className:(0,nce.default)(DN(v,k),(pe={},Ta(pe,DN(v,"".concat(k,"-").concat(ye)),ye),Ta(pe,v,typeof v=="string"),pe)),style:Q}),ge)}if(m8(re)&&p4(re)){var je=re,oe=je.ref;oe||(re=Nw(re,{ref:ge}))}return Na(ece,{ref:y},re)});return a.displayName="CSSMotion",a}var b4=pJe(h4);$t();var R4="add",w4="keep",S4="remove",E4="removed";function _Je(e){var n;return e&&ho(e)==="object"&&"key"in e?n=e:n={key:e},Bt(Bt({},n),{},{key:String(n.key)})}function C4(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(_Je)}function tce(){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=C4(e),i=C4(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!==S4}),t.forEach(function(s){s.key===c&&(s.status=w4)})}),t}var dJe=["component","children","onVisibleChanged","onAllRemoved"],hJe=["status"],gJe=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function DJe(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:b4,t=function(a){yo(o,a);var r=pg(o);function o(){var i;go(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 JJe(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 LN(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 bce(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 A4(e,n,t,a,r){var o=bce(n,t[1]),i=bce(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 Rce(e,n,t){return e.leftt.right}function wce(e,n,t){return e.topt.bottom}function WJe(e,n,t){return e.left>t.right||e.left+n.widtht.bottom||e.top+n.height=t.right||a.top>=t.bottom}function j4(e,n,t){var a=t.target||n,r=LN(a),o=!zJe(a,t.overflow&&t.overflow.alwaysByViewport);return Cce(e,r,t,o)}j4.__getOffsetParent=AN;j4.__getVisibleRectForElement=xN;function Ice(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 Cce(e,f,ice(ice({},t),{},{points:m}),v)}var f0e=ya(e0e());var n0e=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(){!eP||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),DQe?(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(){!eP||!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=gQe.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}(),t0e=function(e,n){for(var t=0,a=Object.keys(n);t0},e}(),o0e=typeof WeakMap!="undefined"?new WeakMap:new n0e,i0e=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=yQe.getInstance(),a=new MQe(n,t,this);o0e.set(this,a)}return e}();["observe","unobserve","disconnect"].forEach(function(e){i0e.prototype[e]=function(){var n;return(n=o0e.get(this))[e].apply(n,arguments)}});var GQe=function(){return typeof H4.ResizeObserver!="undefined"?H4.ResizeObserver:i0e}(),u0e=GQe;function l0e(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 c0e(e,n){e!==document.activeElement&&_g(n,e)&&typeof e.focus=="function"&&e.focus()}function nP(e,n){var t=null,a=null;function r(i){var u=Ua(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 u0e(r);return e&&o.observe(e),function(){o.disconnect()}}$t();var s0e=function(e,n){var t=Et.useRef(!1),a=Et.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 v0e(e){return typeof e!="function"?null:e()}function m0e(e){return ho(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=Et.useRef({}),v=Et.useRef(),m=Et.Children.only(a),_=Et.useRef({});_.current.disabled=r,_.current.target=o,_.current.align=i,_.current.onAlign=u;var R=s0e(function(){var N=_.current,Q=N.disabled,de=N.target,ve=N.align,ge=N.onAlign;if(!Q&&de){var re=v.current,Se,pe=v0e(de),ye=m0e(de);f.current.element=pe,f.current.point=ye,f.current.align=ve;var je=document,oe=je.activeElement;return pe&&rce(pe)?Se=j4(re,pe,ve):ye&&(Se=Ice(re,ye,ve)),c0e(oe,re),ge&&Se&&ge(re,Se),!0}return!1},s),D=Ua(R,2),y=D[0],S=D[1],M=Et.useRef({cancel:function(){}}),P=Et.useRef({cancel:function(){}});Et.useEffect(function(){var N=v0e(o),Q=m0e(o);v.current!==P.current.element&&(P.current.cancel(),P.current.element=v.current,P.current.cancel=nP(v.current,y)),(f.current.element!==N||!l0e(f.current.point,Q)||!(0,f0e.default)(f.current.align,i))&&(y(),M.current.element!==N&&(M.current.cancel(),M.current.element=N,M.current.cancel=nP(N,y)))}),Et.useEffect(function(){r?S():y()},[r]);var k=Et.useRef(null);return Et.useEffect(function(){l?k.current||(k.current=O_(window,"resize",y)):k.current&&(k.current.remove(),k.current=null)},[l]),Et.useEffect(function(){return function(){M.current.cancel(),P.current.cancel(),k.current&&k.current.remove(),S()}},[]),Et.useImperativeHandle(t,function(){return{forceAlign:function(){return y(!0)}}}),Et.isValidElement(m)&&(m=Et.cloneElement(m,{ref:m4(m.ref,v)})),m},p0e=Et.forwardRef(AQe);p0e.displayName="Align";var _0e=p0e;var d0e=_0e;$t();var xQe=s0()?Ow:gr,tP=xQe;var b0e=ya(k_());function QE(){"use strict";QE=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,Se){return Object.defineProperty(ge,re,{value:Se,enumerable:!0,configurable:!0,writable:!0}),ge[re]}try{u({},"")}catch{u=function(Se,pe,ye){return Se[pe]=ye}}function l(ge,re,Se,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 ve()}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,Se,oe),je}function c(ge,re,Se){try{return{type:"normal",arg:ge.call(re,Se)}}catch(pe){return{type:"throw",arg:pe}}}e.wrap=l;var s={};function f(){}function v(){}function m(){}var _={};u(_,r,function(){return this});var R=Object.getPrototypeOf,D=R&&R(R(de([])));D&&D!==n&&t.call(D,r)&&(_=D);var y=m.prototype=f.prototype=Object.create(_);function S(ge){["next","throw","return"].forEach(function(re){u(ge,re,function(Se){return this._invoke(re,Se)})})}function M(ge,re){function Se(ye,je,oe,Un){var Ke=c(ge[ye],ge,je);if(Ke.type!=="throw"){var Pn=Ke.arg,On=Pn.value;return On&&ho(On)=="object"&&t.call(On,"__await")?re.resolve(On.__await).then(function(W){Se("next",W,oe,Un)},function(W){Se("throw",W,oe,Un)}):re.resolve(On).then(function(W){Pn.value=W,oe(Pn)},function(W){return Se("throw",W,oe,Un)})}Un(Ke.arg)}var pe;this._invoke=function(ye,je){function oe(){return new re(function(Un,Ke){Se(ye,je,Un,Ke)})}return pe=pe?pe.then(oe,oe):oe()}}function P(ge,re){var Se=ge.iterator[re.method];if(Se===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(Se,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 Se=-1,pe=function ye(){for(;++Se=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;--Se){var pe=this.tryEntries[Se];if(pe.finallyLoc===re)return this.complete(pe.completion,pe.afterLoc),N(pe),s}},catch:function(re){for(var Se=this.tryEntries.length-1;Se>=0;--Se){var pe=this.tryEntries[Se];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,Se,pe){return this.delegate={iterator:de(re),resultName:Se,nextLoc:pe},this.method==="next"&&(this.arg=void 0),s}},e}function h0e(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 aP(e){return function(){var n=this,t=arguments;return new Promise(function(a,r){var o=e.apply(n,t);function i(l){h0e(o,a,r,i,u,"next",l)}function u(l){h0e(o,a,r,i,u,"throw",l)}i(void 0)})}}$t();var g0e=["measure","alignPre","align",null,"motion"],D0e=function(e,n){var t=Jm(null),a=Ua(t,2),r=a[0],o=a[1],i=Ma();function u(s){o(s,!0)}function l(){Mc.cancel(i.current)}function c(s){l(),i.current=Mc(function(){u(function(f){switch(r){case"align":return"motion";case"motion":return"stable";default:}return f}),s==null||s()})}return gr(function(){u("measure")},[e]),gr(function(){switch(r){case"measure":n();break;default:}r&&(i.current=Mc(aP(QE().mark(function s(){var f,v;return QE().wrap(function(_){for(;;)switch(_.prev=_.next){case 0:f=g0e.indexOf(r),v=g0e[f+1],v&&f!==-1&&u(v);case 3:case"end":return _.stop()}},s)}))))},[r]),gr(function(){return function(){l()}},[]),[r,c]};$t();var y0e=function(e){var n=yf({width:0,height:0}),t=Ua(n,2),a=t[0],r=t[1];function o(u){r({width:u.offsetWidth,height:u.offsetHeight})}var i=kw(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 R0e=ic(function(e,n){var t=e.visible,a=e.prefixCls,r=e.className,o=e.style,i=e.children,u=e.zIndex,l=e.stretch,c=e.destroyPopupOnHide,s=e.forceRender,f=e.align,v=e.point,m=e.getRootDomNode,_=e.getClassNameFromAlign,R=e.onAlign,D=e.onMouseEnter,y=e.onMouseLeave,S=e.onMouseDown,M=e.onTouchStart,P=e.onClick,k=Ma(),N=Ma(),Q=yf(),de=Ua(Q,2),ve=de[0],ge=de[1],re=y0e(l),Se=Ua(re,2),pe=Se[0],ye=Se[1];function je(){l&&ye(m())}var oe=D0e(t,je),Un=Ua(oe,2),Ke=Un[0],Pn=Un[1],On=yf(0),W=Ua(On,2),A=W[0],ee=W[1],se=Ma();tP(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 me(xe,In){var cn=_(In);ve!==cn&&ge(cn),ee(function(Kn){return Kn+1}),Ke==="align"&&(R==null||R(xe,In))}tP(function(){Ke==="align"&&(A<2?O():Pn(function(){var xe;(xe=se.current)===null||xe===void 0||xe.call(se)}))},[A]);var $=Bt({},I4(e));["onAppearEnd","onEnterEnd","onLeaveEnd"].forEach(function(xe){var In=$[xe];$[xe]=function(cn,Kn){return Pn(),In==null?void 0:In(cn,Kn)}});function Ge(){return new Promise(function(xe){se.current=xe})}gr(function(){!$.motionName&&Ke==="motion"&&Pn()},[$.motionName,Ke]),am(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),He=!0;(f==null?void 0:f.points)&&(Ke==="align"||Ke==="stable")&&(He=!1);var $e=i;return Ch.count(i)>1&&($e=Na("div",{className:"".concat(a,"-content")},i)),Na(Ly,ct({visible:t,ref:N,leavedClassName:"".concat(a,"-hidden")},$,{onAppearPrepare:Ge,onEnterPrepare:Ge,removeOnLeave:c,forceRender:s}),function(xe,In){var cn=xe.className,Kn=xe.style,Cn=(0,b0e.default)(a,r,ve,cn);return Na(d0e,{target:De(),key:"popup",ref:k,monitorWindowResize:!0,disabled:He,align:f,onAlign:me},Na("div",{ref:In,className:Cn,onMouseEnter:D,onMouseLeave:y,onMouseDownCapture:S,onTouchStartCapture:M,onClick:P,style:Bt(Bt({},Kn),Fe)},$e))})});R0e.displayName="PopupInner";var w0e=R0e;$t();var S0e=ya(k_()),E0e=ic(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=Ma();am(n,function(){return{forceAlign:function(){},getElement:function(){return m.current}}});var _=Bt({zIndex:r},l),R=o;return Ch.count(o)>1&&(R=Na("div",{className:"".concat(t,"-content")},o)),f&&(R=f(R)),Na(Ly,ct({visible:a,ref:m,removeOnLeave:!0},s),function(D,y){var S=D.className,M=D.style,P=(0,S0e.default)(t,u,S);return Na("div",{ref:y,className:P,onClick:v,style:Bt(Bt({},M),_)},R)})});E0e.displayName="MobilePopupInner";var C0e=E0e;var LQe=["visible","mobile"],I0e=ic(function(e,n){var t=e.visible,a=e.mobile,r=fi(e,LQe),o=yf(t),i=Ua(o,2),u=i[0],l=i[1],c=yf(!1),s=Ua(c,2),f=s[0],v=s[1],m=Bt(Bt({},r),{},{visible:u});gr(function(){l(t),t&&a&&v(Ble())},[t,a]);var _=f?Na(C0e,ct({},m,{mobile:a,ref:n})):Na(w0e,ct({},m,{ref:n}));return Na("div",null,Na(wN,m),_)});I0e.displayName="Popup";var T0e=I0e;$t();var jQe=f8(null),rP=jQe;function oP(){}function NQe(){return""}function PQe(e){return e?e.ownerDocument:window.document}var OQe=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];function kQe(e){var n=function(t){yo(r,t);var a=pg(r);function r(o){var i;go(this,r),i=a.call(this,o),i.popupRef=EF(),i.triggerRef=EF(),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&&_g((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();(!_g(s,c)||i.isContextMenuOnly())&&!_g(f,c)&&!i.hasPopupMouseDown&&i.close()}},i.getRootDomNode=function(){var l=i.props.getTriggerDOMNode;if(l)return l(i.triggerRef.current);try{var c=ME(i.triggerRef.current);if(c)return c}catch{}return uc.findDOMNode(P_(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(Hle(v,m,l,_)),R&&c.push(R(l)),c.join(" ")},i.getComponent=function(){var l=i.props,c=l.prefixCls,s=l.destroyPopupOnHide,f=l.popupClassName,v=l.onPopupAlign,m=l.popupMotion,_=l.popupAnimation,R=l.popupTransitionName,D=l.popupStyle,y=l.mask,S=l.maskAnimation,M=l.maskTransitionName,P=l.maskMotion,k=l.zIndex,N=l.popup,Q=l.stretch,de=l.alignPoint,ve=l.mobile,ge=l.forceRender,re=l.onPopupClick,Se=i.state,pe=Se.popupVisible,ye=Se.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,Na(T0e,ct({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:D,mask:y,zIndex:k,transitionName:R,maskAnimation:S,maskTransitionName:M,maskMotion:P,ref:i.popupRef,motion:m,mobile:ve,forceRender:ge,onClick:re}),typeof N=="function"?N():N)},i.attachParent=function(l){Mc.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=Mc(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},OQe.forEach(function(l){i["fire".concat(l)]=function(c){i.fireEvents(l,c)}}),i}return Do(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=O_(l,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(l=l||i.getDocument(this.getRootDomNode()),this.touchOutsideHandler=O_(l,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(l=l||i.getDocument(this.getRootDomNode()),this.contextMenuOutsideHandler1=O_(l,"scroll",this.onContextMenuClose)),!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=O_(window,"blur",this.onContextMenuClose));return}this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),Mc.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?Ule(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=Ch.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,F0e.default)(m&&m.props&&m.props.className,f);R&&(_.className=R);var D=Bt({},_);p4(m)&&(D.ref=m4(this.triggerRef,m.ref));var y=Nw(m,D),S;return(i||this.popupRef.current||c)&&(S=Na(e,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!i&&v&&(S=null),Na(rP.Provider,{value:this.triggerContextValue},y,S)}}],[{key:"getDerivedStateFromProps",value:function(i,u){var l=i.popupVisible,c={};return l!==void 0&&u.popupVisible!==l&&(c.popupVisible=l,c.prevPopupVisible=u.popupVisible),c}}]),r}(Ih);return n.contextType=rP,n.defaultProps={prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:NQe,getDocument:PQe,onPopupVisibleChange:oP,afterPopupVisibleChange:oP,onPopupAlign:oP,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 M0e=kQe(kle);var Ts={adjustX:1,adjustY:1},Fs=[0,0],G0e={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}};$t();var A0e=ya(k_());function W4(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 Na("div",{className:(0,A0e.default)("".concat(r,"-content"),u),style:l},n!==!1&&Na("div",{className:"".concat(r,"-arrow"),key:"arrow"},t),Na("div",{className:"".concat(r,"-inner"),id:o,role:"tooltip",style:i},typeof a=="function"?a():a))}var UQe=function(n,t){var a=n.overlayClassName,r=n.trigger,o=r===void 0?["hover"]:r,i=n.mouseEnterDelay,u=i===void 0?0:i,l=n.mouseLeaveDelay,c=l===void 0?.1:l,s=n.overlayStyle,f=n.prefixCls,v=f===void 0?"rc-tooltip":f,m=n.children,_=n.onVisibleChange,R=n.afterVisibleChange,D=n.transitionName,y=n.animation,S=n.motion,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,ve=n.defaultVisible,ge=n.getTooltipContainer,re=n.overlayInnerStyle,Se=n.arrowContent,pe=n.overlay,ye=n.id,je=n.showArrow,oe=fi(n,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"]),Un=Ma(null);am(t,function(){return Un.current});var Ke=Bt({},oe);"visible"in n&&(Ke.popupVisible=n.visible);var Pn=function(){return Na(W4,{showArrow:je,arrowContent:Se,key:"content",prefixCls:v,id:ye,overlayInnerStyle:re},pe)},On=!1,W=!1;if(typeof de=="boolean")On=de;else if(de&&ho(de)==="object"){var A=de.keepParent;On=A===!0,W=A===!1}return Na(M0e,ct({popupClassName:a,prefixCls:v,popup:Pn,action:o,builtinPlacements:G0e,popupPlacement:P,ref:Un,popupAlign:N,getPopupContainer:ge,onPopupVisibleChange:_,afterPopupVisibleChange:R,popupTransitionName:D,popupAnimation:y,popupMotion:S,defaultPopupVisible:ve,destroyPopupOnHide:On,autoDestroy:W,mouseLeaveDelay:c,popupStyle:s,mouseEnterDelay:u},Ke),m)},x0e=ic(UQe);var L0e=x0e;var N0e=e=>Et.createElement(L0e,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(()=>ya(j0e())).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)}$t();var P0e=class extends Et.Component{componentDidUpdate(n){this.props.componentDidUpdate(n.deps)}render(){return this.props.children}},O0e=P0e;var BQe=Ja();var k0e=function(e){return"ref:"+Cr(e)(Gt.value)},U0e=function(e){var n=k0e(e);return function(t){return BQe(Zl(n)(t))}},H0e=function(e){var n=k0e(e);return function(t){return fw(n)(t)}};var JQe=Rf(),B0e=Bn(Mn)(Wt),J0e=q(_t),WQe=F1(tne(l1)),W0e={reflectSymbol:function(){return"deps"}},qQe=U0e(W0e),zQe=H0e(W0e),q0e=Ve(Ye);var $Qe=function(e){var n=JQe(e);return function(){return function(){return n(O0e)}}},VQe=$Qe(te)()(),z0e=function(e){var n=tf(e);return function(t){return function(a){return function(r){return function(o){return _1(t)(function(i){return a({init:B0e(cr(o(r)))(function(){return J0e(r)}),update:function(u){return function(l){return B0e(cr(o(l)))(function(){return J0e(l)})}},view:function(u){return function(l){return VQe({componentDidUpdate:WQe(l)(function(c){var s=n(qQe(c))(r);return s?new d(r):I.value}),deps:zQe(r)})(i(Ce))}}})})}}}}},QQe=z0e(kR),YE=function(e){var n=z0e(e);return function(t){return function(a){return n("UseEffectPrime")(q0e)(t)(a)}}},iP=function(e){return QQe("UseEffect")(q0e)(Ce)(an(e))};function $0e(e){return function(n){return function(){return n.getItem(e)}}}function Wy(e){return function(n){return function(t){return function(){t.setItem(e,n)}}}}var YQe=L(it);var q4=function(e){var n=YQe(K),t=$0e(e);return function(a){return n(t(a))}};var XQe=ui(),ZQe=Bv(Mn)(),KQe=Jn(nt),qy=pt(qa),eYe=function(e){return function(n){return function(t){return XQe(ca(I.value))(function(a){return ZQe(iP(KQe(function(){var o=qy(q4(n))(qy(e)(fo))();if(o instanceof d)return a.value1(new d(o.value0))();if(o instanceof I)return a.value1(new d(t))(),qy(Wy(n)(t))(qy(e)(fo))();throw new Error("Failed pattern match at Utils.UseStorage (line 37, column 5 - line 42, column 56): "+[o.constructor.name])})))(function(){return ii(new Ue(a.value0,function(r){return function(){return a.value1(new d(r))(),qy(Wy(n)(r))(qy(e)(fo))()}}))})})}}};var z4=eYe(G1);var nYe=Rf();var V0e="hover",B_="click";var Ms="top",vi=function(e){var n=nYe(e);return function(){return function(){return n(N0e)}}};var Q0e="right";var Y0e="bottomRight";var XE="bottom";var X0e=e=>()=>e.preventDefault&&e.preventDefault(),Z0e=e=>()=>e.stopPropagation&&e.stopPropagation();var uP=function(){return Z0e},Kf=function(){return X0e};var tYe=Qn();var lP=Z(Ae),cP=wt(tYe(E({reflectSymbol:function(){return"value"}})(ie)(_e))),sP=q(kn);var Gs=function(e){return Ee("")(lP(cP(io(e.target)))(function(n){return sP(n.value)}))},K0e=function(e){return Ee("")(lP(cP(io(e.target)))(function(n){return sP(n.value)}))},As=function(e){return Ee("")(lP(cP(io(e.target)))(function(n){return sP(n.value)}))};var eme="/network/connections";var nme=15;var aYe=vi(te)()(),rYe=nn(J),oYe=function(){return"You\u2019ve hit the "+(ae(ze)(nme)+`-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. `)}(),iYe=Ga(te)("text-decoration-underline")(aa(x)()()("text-dark")({href:eme})("Manage my connections")),ZE=function(e){return function(n){return aYe({placement:e,trigger:B_,overlay:rYe("")([Y(oYe),iYe]),overlayStyle:Sn({width:"15rem"}),overlayClassName:"t--connection-limit-tooltip"})(n)}};var uYe=ro(Oe)(vt),tme=ae(ze),lYe=ba(Oe)(vt),cYe=nn(x);var ame=25,fP=function(e){return $r(e)>=ame},rme=function(e){var n=$r(e),t=n>0,a=uYe(" ")([function(){return t?tme(n)+" characters":""}(),lYe(["(",tme(ame),function(){return t?"":" character"}()," minimum)"])]),r=function(){var o=fP(e);return o?"text-success":""}();return cYe(r)(a)};var sYe=function(){function e(){}return e.value=new e,e}(),vP=function(){function e(){}return e.value=new e,e}(),fYe=function(){function e(){}return e.value=new e,e}(),vYe=function(){function e(){}return e.value=new e,e}(),mYe=function(){function e(){}return e.value=new e,e}(),$4=function(){function e(){}return e.value=new e,e}(),KE=function(){function e(){}return e.value=new e,e}(),mP=function(){function e(){}return e.value=new e,e}(),pP=function(){function e(){}return e.value=new e,e}();var ome=function(e){if(e instanceof sYe)return"sheet-view";if(e instanceof vP)return"school-details";if(e instanceof fYe)return"network-gallery";if(e instanceof vYe)return"livestream-details";if(e instanceof mYe)return"card-view";throw new Error("Failed pattern match at Sem.Types.User (line 100, column 25 - line 105, column 26): "+[e.constructor.name])};var _Ye=Number.MAX_SAFE_INTEGER;var dP=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 MYe=fe(Doe);var ume=function(e){return MYe(e.publishScope)(i0.value)};var jYe=Gr(Ao),sme=Kr(jYe),fme=Z(Ot);var vme=sme("profile_visibility_path")(function(e){return function(n){return fme(e({visibility:{publish_scope:iG(n)}}))(Iu)}});var mme=sme("profile_name_path")(function(e){return function(n){return fme(e({name:n}))(Iu)}});var tt=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Qt=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}();var NYe=Om(),PYe=xt(x),OYe=rt(x),hP=Xn(x),gP=kr(x),J_=H(J),zy=Gn(x)()(),DP=ia(sr),kYe=Bn(Mn),yP=xn(dt),Dg=H(te),pme=Es()(),UYe=Of(x),HYe=mf(vt),_me=xi()(),bP=xn(Zr),BYe=gs()(),dme=H(x),JYe=hs(J),RP=Ec(x),WYe=nn(x),qYe=vi(te)()(),zYe=Xn(J),$Ye=aa(x)()(),VYe=ua(x),yg=q(_t),hme=kYe(Wt),QYe=vE(),eC=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),gme=function(){function e(){}return e.value=new e,e}(),Dme=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),yme=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),bme=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Rme=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),nC=function(){function e(){}return e.value=new e,e}(),wP=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),wme=function(e){return function(n){var t=function(c){return NYe({body:c,title:PYe("my-0")(function(){return e.stage instanceof $4?"Join the CollegeVine network":"Connect with "+e.schoolName}()),headerClass:"pb-0",onDismiss:n(new Qt(nC.value)),size:lE.value})},a=ome(e.context),r=ue([OYe("mt-3")("Review your message before you send it"),hP("mt-2")(` Because this is your first message to the counselor, we want to make sure you\u2019re ready to send. `),gP("mt-4")("Your message"),bS(e.message),J_("d-flex mt-4 justify-content-start")([zy("btn btn-primary btn-lg t--sem-user-connection-modal-confirm-message-"+a)({onClick:DP(function(){return n(new Qt(new wP({introMessage:e.message})))(),n(new tt(new eC(pP.value)))()})})("Send"),zy("btn btn-lg btn-outline-primary ml-3 text-nowrap")({onClick:yP(n)(new tt(new eC(KE.value)))})("No, I need to edit something")])]),o=ue([J_("text-center")([Dg("")(pme("mt-4")({src:"/img/checkmate-icon.png",height:"80",width:"80"})),UYe("mt-4")("Connection request sent!"),hP("mx-md-4")(HYe(["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."])),zy("btn btn-lg btn-outline-secondary mt-4")({onClick:yP(n)(new Qt(nC.value))})("Close")])]),i=zy("btn btn-outline-secondary ml-3 t--sem-user-connection-modal-close-"+a)({onClick:yP(n)(new Qt(nC.value))})("Cancel"),u=function(){var c=fP(e.message)&&function(){if(e.profile.fullName instanceof d)return!0;if(e.profile.fullName instanceof I)return!zo(e.firstName)&&!zo(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 I)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([En(ur(e.profile.fullName))(ue([gP("mt-md-4")("Your preferred name"),J_("form-row mx-1")([_me("col form-control mr-2 t--sem-user-connection-modal-first-name-"+a)({type:"text",value:e.firstName,onChange:bP(n)(function(f){return tt.create(bme.create(As(f)))}),placeholder:"First name"}),_me("col form-control ml-2 t--sem-user-connection-modal-last-name-"+a)({type:"text",value:e.lastName,onChange:bP(n)(function(f){return tt.create(Rme.create(As(f)))}),placeholder:"Last name"})])])),gP("mt-md-4")("Your message"),BYe("form-control t--sem-user-connection-modal-text-area-"+a)({rows:7,value:e.message,onChange:bP(n)(function(f){return tt.create(yme.create(Gs(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! `}),Dg("mt-2")(rme(e.message)),dme("mt-3 mt-md-4 small")("The ideal connection message should include:"),JYe("small")([RP("")("Your name, where you\u2019re from, and a bit about who you are"),RP("")("What you\u2019re interested in studying along with one or two insightful questions"),RP("")("That you\u2019re eager to connect with an admissions counselor and would love to stay in touch")]),J_("d-flex mt-4 justify-content-start")([ZE(Ms)(Dg("")(zy("btn btn-primary btn-lg t--sem-user-connection-modal-connect-"+a)({onClick:DP(function(){return function(){if(e.profile.fullName instanceof d)return Ce;if(e.profile.fullName instanceof I)return n(new tt(new Dme({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 tt(new eC(mP.value)))()}),disabled:!c||s,style:Sn({pointerEvents:function(){return s?"none":"auto"}()})})("Connect"))),i])])}(),l=J_("mx-md-7")([Dg("border border-success rounded p-4 my-4")(J_("row align-items-center")([Dg("col-12 col-md-auto text-center text-md-left")(pme("img-fluid")({src:"/img/network/publish-profile-icon.png",height:"67",width:"143"})),Dg("col text-center text-md-left")(WYe("fw-bold font-weight-bold text-gray-800")("Network with verified admissions counselors on CollegeVine"))])),J_("d-flex flex-nowrap align-items-center")([dme("mr-4")("Publish your profile to join the CollegeVine Network"),qYe({placement:Q0e,overlay:zYe("")([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 `),$Ye("")({href:Hm})("your profile"),Y(".")]),overlayStyle:Sn({width:"15rem"})})(VYe("cursor-default text-secondary fe fe-info large")(""))]),hP("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."),J_("d-flex mt-4 justify-content-start justify-content-md-center")([zy("btn btn-primary t--sem-user-connection-modal-publish-profile-"+a)({onClick:DP(function(){return n(new tt(gme.value))(),n(new tt(new eC(KE.value)))()})})("Publish profile"),i])]);return Dg("t--network-sem-user-modal")(function(){if(e.stage instanceof $4)return t(l);if(e.stage instanceof KE)return t(u);if(e.stage instanceof mP)return t(r);if(e.stage instanceof pP)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])}())}},Sme=function(e){return function(n){if(n instanceof tt){if(n.value0 instanceof eC)return yg({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 gme)return hme(cr(vme(i0.value)))(function(){return yg({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:i0.value}})});if(n.value0 instanceof Dme)return hme(cr(mme(n.value0.value0)))(function(){return yg({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(dP(n.value0.value0))}})});if(n.value0 instanceof yme)return yg({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 bme)return yg({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 Rme)return yg({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 Qt)return yg(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])}},YYe=function(e){var n=ume(e);return n?KE.value:$4.value},Eme=function(e){return{firstName:"",lastName:"",message:"",profile:QYe(e.profile),stage:YYe(e.profile),schoolName:e.schoolName,context:e.context,vineBelowConnectionLimit:e.vineBelowConnectionLimit}};var SP="support@collegevine.com";var V4="https://www.collegevine.com/admissions-calculator";var EP=function(){return ui()(ca(I.value))(function(e){return ii(new Ue(e.value0,Zw(e.value0)(e.value1)))})}();var Cme=gn(hn),Ime=pn(mn),Tme=bn(yn),ar=function(){function e(){}return e.value=new e,e}(),za=function(){function e(){}return e.value=new e,e}(),XYe={to:function(e){if(e instanceof U)return ar.value;if(e instanceof p)return za.value;throw new Error("Failed pattern match at Utils.Expandable (line 26, column 1 - line 26, column 32): "+[e.constructor.name])},from:function(e){if(e instanceof ar)return new U(ce.value);if(e instanceof za)return new p(ce.value);throw new Error("Failed pattern match at Utils.Expandable (line 26, column 1 - line 26, column 32): "+[e.constructor.name])}},W_={eq:function(e){return function(n){return e instanceof ar&&n instanceof ar||e instanceof za&&n instanceof za}}};var m0=function(e){if(e instanceof ar)return za.value;if(e instanceof za)return ar.value;throw new Error("Failed pattern match at Utils.Expandable (line 30, column 10 - line 32, column 24): "+[e.constructor.name])};var CP=function(e){if(e instanceof ar)return"Expanded";if(e instanceof za)return"Collapsed";throw new Error("Failed pattern match at Utils.Expandable (line 35, column 10 - line 37, column 27): "+[e.constructor.name])},Fme=An(CP)(Rn(XYe)(dn(Cme)(vn(fn))(Cme)(Ime))(Dn(Tme)(Tme))(_n(Ime)));function Mme(e){return function(n){return function(){return e.item(n)}}}var ZYe=L(it),Gme=function(e){var n=ZYe(K),t=Mme(e);return function(a){return n(t(a))}};var KYe=X(it),eXe=Qe(la),IP=q(Kt),nXe=X(B),tXe=mf(vt),aXe=L(it),rXe=pt(qa),oXe=Sa(),Ame=ui(),iXe=Bv(Mn)(),uXe=q(ea),lXe=Jn(nt),cXe=OT(Fv),sXe=L(B),fXe=lt(J)()(),TP=fe(W_),vXe=F1(JM(l1)),mXe=Gn(te)()(),pXe=xn(dt),xme=function(){function e(){}return e.value=new e,e}(),Lme=function(){function e(){}return e.value=new e,e}(),jme=function(){return function(e){return function(n){var t=function(i){var u=function(c){return function(s){return function(){var v=Gme(c)(s)();if(v instanceof d)return KYe(u(c)(s+1|0))(function(m){return eXe([v.value0])(m)})();if(v instanceof I)return[];throw new Error("Failed pattern match at Component.Dropdown (line 146, column 45 - line 148, column 31): "+[v.constructor.name])}}},l=nXe(Vre(i))(function(c){return function(){var f=Dj(c)(),v=u(f)(0)();return tXe(v)}});return aXe(ts("-menu"))(Ee(IP(""))(l))},a=function(i){return function(u){if(i instanceof I||u instanceof I)return IP(!1);if(i instanceof d&&u instanceof d)return function(){var c=bj(i.value0)(u.value0)(),s=t(u.value0)();return c||s?!0:rXe(a(new d(i.value0)))(Yre(u.value0))()};throw new Error("Failed pattern match at Component.Dropdown (line 122, column 5 - line 122, column 42): "+[i.constructor.name,u.constructor.name])}},r=oXe(n),o=$n(r.alignment)(xme.value);return Eu(Ame(ca(za.value))(function(i){return Ame(EP)(function(u){return iXe(O2(fE.mouseup)(function(l){if(i.value0 instanceof za)return uXe(Ce);if(i.value0 instanceof ar)return lXe(cXe(a(sXe(hne)(u.value0))(new d(oG(l.target))))(i.value1(za.value)));throw new Error("Failed pattern match at Component.Dropdown (line 90, column 5 - line 96, column 29): "+[i.value0.constructor.name])}))(function(){return ii(fXe("dropdown "+(e+function(){var l=TP(i.value0)(ar.value);return l?" show":""}()))({onClick:vXe(i.value1)(function(){var l=r.closeOnClick&&TP(i.value0)(ar.value);return l?new d(za.value):I.value}()),ref:u.value1,"aria-label":r["aria-label"]})([mXe(r.toggleClass)({onClick:pXe(i.value1)(m0(i.value0))})(r.toggleContent),r.content({visible:TP(i.value0)(ar.value),className:"dropdown-menu show"+function(){if(o instanceof xme)return"";if(o instanceof Lme)return" dropdown-menu-right";throw new Error("Failed pattern match at Component.Dropdown (line 109, column 46 - line 111, column 51): "+[o.constructor.name])}(),closeDropdown:i.value1(za.value)})]))})})}))}}},_Xe=jme(),Q4=function(e){return function(n){return _Xe(e)({toggleClass:n.toggleClass+" dropdown-toggle",toggleContent:n.toggleContent,content:function(t){return t.visible?n.content({className:t.className}):un},closeOnClick:!0,"aria-label":n["aria-label"]})}};$t();var ev={PRIMARY:"#008CFD",SECONDARY:"#6E84A3",WHITE:"#FFF",GRAY_300:"#E3EBF6"};var rC=ya(Bme()),Jme=4,zXe=({trackColor:e,background:n})=>({props:t,children:a})=>Et.createElement("div",Object.assign({},t,{style:Object.assign({},t.style,{height:`${Jme}px`,borderRadius:`${Jme*2}px`,background:n||e})}),...a),$Xe=({horizontal:e})=>({props:n,isDragged:t})=>Et.createElement("svg",Object.assign({},n,{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",fill:"none",viewBox:"0 0 18 18"}),Et.createElement("circle",{cx:"9",cy:"9",r:"8.5",fill:t?ev.SECONDARY:ev.WHITE,stroke:ev.SECONDARY}),Et.createElement("path",{stroke:t?ev.WHITE:ev.SECONDARY,d:e?"M7.5 6L7.5 12":"M6 7.5L12 7.5"}),Et.createElement("path",{stroke:t?ev.WHITE:ev.SECONDARY,d:e?"M10.5 6L10.5 12":"M6 10.5L12 10.5"})),Wme=e=>Et.createElement("div",{"aria-label":e.ariaLabel},Et.createElement(rC.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:zXe({trackColor:e.trackColor||ev.GRAY_300,background:e.fillBefore?(0,rC.getTrackBackground)({values:[e.value],colors:[ev.PRIMARY,ev.GRAY_300],min:e.min,max:e.max,"aria-valuemax":e.max,"aria-valuemin":e.min,"aria-valuenow":e.value}):void 0}),renderThumb:$Xe({horizontal:!0})}));var VXe=cs(),qme={CanPassToJavaScript0:function(){},CanReceiveFromJavaScript1:function(){return Ft}};var zme=function(e){return function(){return function(){return VXe(Wme)}}};var $me=function(e){return function(n){return ur(n(e))}};var QXe=Sa(),YXe=vi(te)()(),XXe=nn(J),ZXe=ua(x),KXe=function(e){var n=xh(e);return function(){return function(t){return function(a){var r=QXe(t);return YXe({placement:Ms,overlay:ue(n(a)),overlayStyle:$n(r.overlayStyle)(Sn({width:"15rem"}))})(XXe("d-inline-flex align-items-center text-secondary "+r.className)([ZXe("d-inline-block fe fe-help-circle "+function(){var o=zo(r.anchorText);return o?"":"mr-2"}())(""),Y(r.anchorText)]))}}}},pu=function(e){var n=KXe(e)();return function(t){return n({className:t,anchorText:""})}};$t();function GP(e){if(Array.isArray(e))return xy(e)}function AP(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function xP(){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 Rg(e){return GP(e)||AP(e)||GE(e)||xP()}var jge=ya(ls());var Vme=Number.isNaN||function(n){return typeof n=="number"&&n!==n};function eZe(e,n){return!!(e===n||Vme(e)&&Vme(n))}function nZe(e,n){if(e.length!==n.length)return!1;for(var t=0;tHe)&&(Fn=(sn=sn.replace(" ",":")).length),0De&&(De=(ee=ee.trim()).charCodeAt(0)),De){case 38:return ee.replace(y,"$1"+A.trim());case 58:return A.trim()+ee.replace(y,"$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 Yme=fZe;var vZe={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},Xme=vZe;function mZe(e){var n={};return function(t){return n[t]===void 0&&(n[t]=e(t)),n[t]}}var Zme=mZe;var pZe=/[A-Z]|^ms/g,_Ze=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Kme=function(n){return n.charCodeAt(1)===45},epe=function(n){return n!=null&&typeof n!="boolean"},OP=Zme(function(e){return Kme(e)?e:e.replace(pZe,"-$&").toLowerCase()}),npe=function(n,t){switch(n){case"animation":case"animationName":if(typeof t=="string")return t.replace(_Ze,function(a,r,o){return p0={name:r,styles:o,next:p0},r})}return Xme[n]!==1&&!Kme(n)&&typeof t=="number"&&t!==0?t+"px":t};function oC(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 p0={name:t.name,styles:t.styles,next:p0},t.name;if(t.styles!==void 0){var r=t.next;if(r!==void 0)for(;r!==void 0;)p0={name:r.name,styles:r.styles,next:p0},r=r.next;var o=t.styles+";";return o}return dZe(e,n,t)}case"function":{if(e!==void 0){var i=p0,u=t(e);return p0=i,oC(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 dZe(e,n,t){var a="";if(Array.isArray(t))for(var r=0;r-1}function She(e){return hA(e)?window.pageYOffset:e.scrollTop}function gA(e,n){if(hA(e)){window.scrollTo(0,n);return}e.scrollTop=n}function Ten(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 Fen(e,n,t,a){return t*((e=e/a-1)*e*e+1)+n}function DA(e,n){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:eU,r=She(e),o=n-r,i=10,u=0;function l(){u+=i;var c=Fen(u,r,o,t);gA(e,c),ut.bottom?gA(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&&DA(c,re,pe),{placement:"bottom",maxHeight:n};if(!i&&ge>=a||i&&de>=a){o&&DA(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:ve;return oe>=a&&(je=Math.min(oe-k-l.controlHeight,n)),{placement:"top",maxHeight:je}}if(r==="bottom")return gA(c,re),{placement:"bottom",maxHeight:n};break;case"top":if(Q>=R)return{placement:"top",maxHeight:n};if(ve>=R&&!i)return o&&DA(c,Se,pe),{placement:"top",maxHeight:n};if(!i&&ve>=a||i&&Q>=a){var Un=n;return(!i&&ve>=a||i&&Q>=a)&&(Un=i?Q-N:ve-N),o&&DA(c,Se,pe),{placement:"top",maxHeight:Un}}return{placement:"bottom",maxHeight:n};default:throw new Error('Invalid placement provided "'.concat(r,'".'))}return s}function xen(e){var n={bottom:"top",top:"bottom"};return e?n[e]:"bottom"}var tU=function(n){return n==="auto"?"bottom":n},Mhe=function(n){var t,a=n.placement,r=n.theme,o=r.borderRadius,i=r.spacing,u=r.colors;return t={label:"menu"},Ta(t,xen(a),"100%"),Ta(t,"backgroundColor",u.neutral0),Ta(t,"borderRadius",o),Ta(t,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),Ta(t,"marginBottom",i.menuGutter),Ta(t,"marginTop",i.menuGutter),Ta(t,"position","absolute"),Ta(t,"width","100%"),Ta(t,"zIndex",1),t},Ghe=(0,uI.createContext)({getPortalPlacement:null}),aU=function(e){yo(t,e);var n=Fhe(t);function t(){var a;go(this,t);for(var r=arguments.length,o=new Array(r),i=0;i-1}};var snn={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;"},fnn=function(n){return Jt("span",ct({css:snn},n))};function vnn(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=fi(e,["in","out","onExited","appear","enter","exit","innerRef","emotion"]);return Jt("input",ct({ref:u},c,{css:wg({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 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 wge=function(e){yo(t,e);var n=mnn(t);function t(){return go(this,t),n.apply(this,arguments)}return Do(t,[{key:"componentDidMount",value:function(){this.props.innerRef((0,gge.findDOMNode)(this))}},{key:"componentWillUnmount",value:function(){this.props.innerRef(null)}},{key:"render",value:function(){return this.props.children}}]),t}(ma.Component),Sge=["boxSizing","height","overflow","paddingRight","position"],Ege={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Cge(e){e.preventDefault()}function Ige(e){e.stopPropagation()}function Tge(){var e=this.scrollTop,n=this.scrollHeight,t=e+this.offsetHeight;e===0?this.scrollTop=1:t===n&&(this.scrollTop=e-1)}function Fge(){return"ontouchstart"in window||navigator.maxTouchPoints}function _nn(e){var n=dnn();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 dnn(){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 Mge=!!(window.document&&window.document.createElement),lI=0,Gge=function(e){yo(t,e);var n=_nn(t);function t(){var a;go(this,t);for(var r=arguments.length,o=new Array(r),i=0;i0,P=D-y-R,k=!1;P>l&&a.isBottom&&(f&&f(u),a.isBottom=!1),M&&a.isTop&&(m&&m(u),a.isTop=!1),M&&l>P?(s&&!a.isBottom&&s(u),S.scrollTop=D,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 Do(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 ma.default.createElement(wge,{innerRef:this.getScrollTarget},this.props.children)}}]),t}(ma.Component);function Snn(e){var n=e.isEnabled,t=n===void 0?!0:n,a=fi(e,["isEnabled"]);return t?ma.default.createElement(wnn,a):a.children}var Enn=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"}},Cnn=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.")}},Inn=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,".")},Tnn=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,".")},Fnn=function(n){var t=n.inputValue,a=n.screenReaderMessage;return"".concat(a).concat(t?" for search term "+t:"",".")},Mnn=function(n){return n.label},Gnn=function(n){return n.label},Ann=function(n){return n.value},Age=function(n){return!!n.isDisabled};var xnn={clearIndicator:Yhe,container:Bhe,control:ege,dropdownIndicator:Qhe,group:tge,groupHeading:age,indicatorsContainer:Whe,indicatorSeparator:Xhe,input:oge,loadingIndicator:Zhe,loadingMessage:jhe,menu:Mhe,menuList:Ahe,menuPortal:Ohe,multiValue:uge,multiValueLabel:lge,multiValueRemove:cge,noOptionsMessage:Lhe,option:vge,placeholder:mge,singleValue:pge,valueContainer:Jhe};var Lnn={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%)"},jnn=4,xge=4,Nnn=38,Pnn=xge*2,Onn={baseUnit:xge,controlHeight:Nnn,menuGutter:Pnn},cU={borderRadius:jnn,colors:Lnn,spacing:Onn};function Lge(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 Ib(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(Rg(v),[l]),"select-option",l),r.announceAriaLiveSelection({event:"select-option",context:{value:r.getOptionLabel(l)}}));else r.isOptionDisabled(l,v)?r.announceAriaLiveSelection({event:"select-option",context:{value:r.getOptionLabel(l),isDisabled:!0}}):(r.setValue(l,"select-option"),r.announceAriaLiveSelection({event:"select-option",context:{value:r.getOptionLabel(l)}}));s&&r.blurInput()},r.removeValue=function(l){var c=r.state.selectValue,s=r.getOptionValue(l),f=c.filter(function(v){return r.getOptionValue(v)!==s});r.onChange(f.length?f:null,{action:"remove-value",removedValue:l}),r.announceAriaLiveSelection({event:"remove-value",context:{value:l?r.getOptionLabel(l):""}}),r.focusInput()},r.clearValue=function(){r.onChange(null,{action:"clear"})},r.popValue=function(){var l=r.state.selectValue,c=l[l.length-1],s=l.slice(0,l.length-1);r.announceAriaLiveSelection({event:"pop-value",context:{value:c?r.getOptionLabel(c):""}}),r.onChange(s.length?s:null,{action:"pop-value",removedValue:c})},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var l=arguments.length,c=new Array(l),s=0;sm||v>m}},r.onTouchEnd=function(l){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(l.target)&&r.menuListRef&&!r.menuListRef.contains(l.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(l){r.userIsDragging||r.onControlMouseDown(l)},r.onClearIndicatorTouchEnd=function(l){r.userIsDragging||r.onClearIndicatorMouseDown(l)},r.onDropdownIndicatorTouchEnd=function(l){r.userIsDragging||r.onDropdownIndicatorMouseDown(l)},r.handleInputChange=function(l){var c=l.currentTarget.value;r.inputIsHiddenAfterUpdate=!1,r.onInputChange(c,{action:"input-change"}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(l){var c=r.props,s=c.isSearchable,f=c.isMulti;r.props.onFocus&&r.props.onFocus(l),r.inputIsHiddenAfterUpdate=!1,r.announceAriaLiveContext({event:"input",context:{isSearchable:s,isMulti:f}}),r.setState({isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(l){if(r.menuListRef&&r.menuListRef.contains(document.activeElement)){r.inputRef.focus();return}r.props.onBlur&&r.props.onBlur(l),r.onInputChange("",{action:"input-blur"}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1})},r.onOptionHover=function(l){r.blockOptionHover||r.state.focusedOption===l||r.setState({focusedOption:l})},r.shouldHideSelectedOptions=function(){var l=r.props,c=l.hideSelectedOptions,s=l.isMulti;return c===void 0?s:c},r.onKeyDown=function(l){var c=r.props,s=c.isMulti,f=c.backspaceRemovesValue,v=c.escapeClearsValue,m=c.inputValue,_=c.isClearable,R=c.isDisabled,D=c.menuIsOpen,y=c.onKeyDown,S=c.tabSelectsValue,M=c.openMenuOnFocus,P=r.state,k=P.focusedOption,N=P.focusedValue,Q=P.selectValue;if(!R&&!(typeof y=="function"&&(y(l),l.defaultPrevented))){switch(r.blockOptionHover=!0,l.key){case"ArrowLeft":if(!s||m)return;r.focusValue("previous");break;case"ArrowRight":if(!s||m)return;r.focusValue("next");break;case"Delete":case"Backspace":if(m)return;if(N)r.removeValue(N);else{if(!f)return;s?r.popValue():_&&r.clearValue()}break;case"Tab":if(r.isComposing||l.shiftKey||!D||!S||!k||M&&r.isOptionSelected(k,Q))return;r.selectOption(k);break;case"Enter":if(l.keyCode===229)break;if(D){if(!k||r.isComposing)return;r.selectOption(k);break}return;case"Escape":D?(r.inputIsHiddenAfterUpdate=!1,r.onInputChange("",{action:"menu-close"}),r.onMenuClose()):_&&v&&r.clearValue();break;case" ":if(m)return;if(!D){r.openMenu("first");break}if(!k)return;r.selectOption(k);break;case"ArrowUp":D?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":D?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!D)return;r.focusOption("pageup");break;case"PageDown":if(!D)return;r.focusOption("pagedown");break;case"Home":if(!D)return;r.focusOption("first");break;case"End":if(!D)return;r.focusOption("last");break;default:return}l.preventDefault()}},r.buildMenuOptions=function(l,c){var s=l.inputValue,f=s===void 0?"":s,v=l.options,m=function(R,D){var y=r.isOptionDisabled(R,c),S=r.isOptionSelected(R,c),M=r.getOptionLabel(R),P=r.getOptionValue(R);if(!(r.shouldHideSelectedOptions()&&S||!r.filterOption({label:M,value:P,data:R},f))){var k=y?void 0:function(){return r.onOptionHover(R)},N=y?void 0:function(){return r.selectOption(R)},Q="".concat(r.getElementId("option"),"-").concat(D);return{innerProps:{id:Q,onClick:N,onMouseMove:k,onMouseOver:k,tabIndex:-1},data:R,isDisabled:y,isSelected:S,key:Q,label:M,type:"option",value:P}}};return v.reduce(function(_,R,D){if(R.options){r.hasGroups||(r.hasGroups=!0);var y=R.options,S=y.map(function(k,N){var Q=m(k,"".concat(D,"-").concat(N));return Q&&_.focusable.push(k),Q}).filter(Boolean);if(S.length){var M="".concat(r.getElementId("group"),"-").concat(D);_.render.push({type:"group",key:M,data:R,options:S})}}else{var P=m(R,"".concat(D));P&&(_.render.push(P),_.focusable.push(R))}return _},{render:[],focusable:[]})};var o=a.value;r.cacheComponents=LP(r.cacheComponents,Hhe).bind(P_(r)),r.cacheComponents(a.components),r.instancePrefix="react-select-"+(r.props.instanceId||++Bnn);var i=Cb(o);r.buildMenuOptions=LP(r.buildMenuOptions,function(l,c){var s=l,f=Ua(s,2),v=f[0],m=f[1],_=c,R=Ua(_,2),D=R[0],y=R[1];return m===y&&v.inputValue===D.inputValue&&v.options===D.options}).bind(P_(r));var u=a.menuIsOpen?r.buildMenuOptions(a,i):{render:[],focusable:[]};return r.state.menuOptions=u,r.state.selectValue=i,r}return Do(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=Cb(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:Age(f[v]),tabSelectsValue:u}})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(cU):Ib(Ib({},cU),this.props.theme):cU}},{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?Inn({focusedValue:u,getOptionLabel:this.getOptionLabel,selectValue:i}):"",R=l&&f?Tnn({focusedOption:l,getOptionLabel:this.getOptionLabel,options:s}):"",D=Fnn({inputValue:v,screenReaderMessage:m({count:this.countOptions()})});return"".concat(_," ").concat(R," ").concat(D," ").concat(o)}},{key:"renderInput",value:function(){var r=this.props,o=r.isDisabled,i=r.isSearchable,u=r.inputId,l=r.inputValue,c=r.tabIndex,s=r.form,f=this.components.Input,v=this.state.inputIsHidden,m=u||this.getElementId("input"),_={"aria-autocomplete":"list","aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"]};if(!i)return ma.default.createElement(vnn,ct({id:m,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:eU,onFocus:this.onInputFocus,readOnly:!0,disabled:o,tabIndex:c,form:s,value:""},_));var R=this.commonProps,D=R.cx,y=R.theme,S=R.selectProps;return ma.default.createElement(f,ct({autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",cx:D,getStyles:this.getStyles,id:m,innerRef:this.getInputRef,isDisabled:o,isHidden:v,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,selectProps:S,spellCheck:"false",tabIndex:c,form:s,theme:y,type:"text",value:l},_))}},{key:"renderPlaceholderOrValue",value:function(){var r=this,o=this.components,i=o.MultiValue,u=o.MultiValueContainer,l=o.MultiValueLabel,c=o.MultiValueRemove,s=o.SingleValue,f=o.Placeholder,v=this.commonProps,m=this.props,_=m.controlShouldRenderValue,R=m.isDisabled,D=m.isMulti,y=m.inputValue,S=m.placeholder,M=this.state,P=M.selectValue,k=M.focusedValue,N=M.isFocused;if(!this.hasValue()||!_)return y?null:ma.default.createElement(f,ct({},v,{key:"placeholder",isDisabled:R,isFocused:N}),S);if(D){var Q=P.map(function(ve,ge){var re=ve===k;return ma.default.createElement(i,ct({},v,{components:{Container:u,Label:l,Remove:c},isFocused:re,isDisabled:R,key:"".concat(r.getOptionValue(ve)).concat(ge),index:ge,removeProps:{onClick:function(){return r.removeValue(ve)},onTouchEnd:function(){return r.removeValue(ve)},onMouseDown:function(pe){pe.preventDefault(),pe.stopPropagation()}},data:ve}),r.formatOptionLabel(ve,"value"))});return Q}if(y)return null;var de=P[0];return ma.default.createElement(s,ct({},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 ma.default.createElement(r,ct({},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 ma.default.createElement(r,ct({},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 ma.default.createElement(i,ct({},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 ma.default.createElement(r,ct({},o,{innerProps:l,isDisabled:i,isFocused:u}))}},{key:"renderMenu",value:function(){var r=this,o=this.components,i=o.Group,u=o.GroupHeading,l=o.Menu,c=o.MenuList,s=o.MenuPortal,f=o.LoadingMessage,v=o.NoOptionsMessage,m=o.Option,_=this.commonProps,R=this.state,D=R.focusedOption,y=R.menuOptions,S=this.props,M=S.captureMenuScroll,P=S.inputValue,k=S.isLoading,N=S.loadingMessage,Q=S.minMenuHeight,de=S.maxMenuHeight,ve=S.menuIsOpen,ge=S.menuPlacement,re=S.menuPosition,Se=S.menuPortalTarget,pe=S.menuShouldBlockScroll,ye=S.menuShouldScrollIntoView,je=S.noOptionsMessage,oe=S.onMenuScrollToTop,Un=S.onMenuScrollToBottom;if(!ve)return null;var Ke=function(De){var O=D===De.data;return De.innerRef=O?r.getFocusedOptionRef:void 0,ma.default.createElement(m,ct({},_,De,{isFocused:O}),r.formatOptionLabel(De.data,"menu"))},Pn;if(this.hasOptions())Pn=y.render.map(function(se){if(se.type==="group"){var De=se.type,O=fi(se,["type"]),me="".concat(se.key,"-heading");return ma.default.createElement(i,ct({},_,O,{Heading:u,headingProps:{id:me,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=ma.default.createElement(f,_,On)}else{var W=je({inputValue:P});if(W===null)return null;Pn=ma.default.createElement(v,_,W)}var A={minMenuHeight:Q,maxMenuHeight:de,menuPlacement:ge,menuPosition:re,menuShouldScrollIntoView:ye},ee=ma.default.createElement(aU,ct({},_,A),function(se){var De=se.ref,O=se.placerProps,me=O.placement,$=O.maxHeight;return ma.default.createElement(l,ct({},_,A,{innerRef:De,innerProps:{onMouseDown:r.onMenuMouseDown,onMouseMove:r.onMenuMouseMove},isLoading:k,placement:me}),ma.default.createElement(Snn,{isEnabled:M,onTopArrive:oe,onBottomArrive:Un},ma.default.createElement(ynn,{isEnabled:pe},ma.default.createElement(c,ct({},_,{innerRef:r.getMenuListRef,isLoading:k,maxHeight:$}),Pn))))});return Se||re==="fixed"?ma.default.createElement(s,ct({},_,{appendTo:Se,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 ma.default.createElement("input",{name:c,type:"hidden",value:f})}else{var v=s.length>0?s.map(function(_,R){return ma.default.createElement("input",{key:"i-".concat(R),name:c,type:"hidden",value:r.getOptionValue(_)})}):ma.default.createElement("input",{name:c,type:"hidden"});return ma.default.createElement("div",null,v)}else{var m=s[0]?this.getOptionValue(s[0]):"";return ma.default.createElement("input",{name:c,type:"hidden",value:m})}}},{key:"renderLiveRegion",value:function(){return this.state.isFocused?ma.default.createElement(fnn,{"aria-live":"polite"},ma.default.createElement("span",{id:"aria-selection-event"},"\xA0",this.state.ariaLiveSelection),ma.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 ma.default.createElement(u,ct({},R,{className:s,innerProps:{id:f,onKeyDown:this.onKeyDown},isDisabled:v,isFocused:_}),this.renderLiveRegion(),ma.default.createElement(o,ct({},R,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:v,isFocused:_,menuIsOpen:m}),ma.default.createElement(l,ct({},R,{isDisabled:v}),this.renderPlaceholderOrValue(),this.renderInput()),ma.default.createElement(i,ct({},R,{isDisabled:v}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}]),t}(ma.Component);kg.defaultProps=Hnn;var F4a=ya(iI());var wA=ya(ls());function Jnn(e){var n=Wnn();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 Wnn(){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 qnn={defaultInputValue:"",defaultMenuIsOpen:!1,defaultValue:null},Tb=function(n){var t,a;return a=t=function(r){yo(i,r);var o=Jnn(i);function i(){var u;go(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 Pge(n,r)})||a.some(function(r){return Pge(n,r)}))},getNewOptionData:function(n,t){return{label:t,value:n,__isNew__:!0}}},Xnn=Qnn({allowCreateWhileLoading:!1,createOptionPosition:"last"},Ynn),Znn=function(n){var t,a;return a=t=function(r){yo(i,r);var o=$nn(i);function i(u){var l;go(this,i),l=o.call(this,u),l.select=void 0,l.onChange=function(s,f){var v=l.props,m=v.getNewOptionData,_=v.inputValue,R=v.isMulti,D=v.onChange,y=v.onCreateOption,S=v.value,M=v.name;if(f.action!=="select-option")return D(s,f);var P=l.state.newOption,k=Array.isArray(s)?s:[s];if(k[k.length-1]===P){if(y)y(_);else{var N=m(_,_),Q={action:"create-option",name:M};D(R?[].concat(Rg(Cb(S)),[N]):N,Q)}return}D(s,f)};var c=u.options||[];return l.state={newOption:void 0,options:c},l}return Do(i,[{key:"UNSAFE_componentWillReceiveProps",value:function(l){var c=l.allowCreateWhileLoading,s=l.createOptionPosition,f=l.formatCreateLabel,v=l.getNewOptionData,m=l.inputValue,_=l.isLoading,R=l.isValidNewOption,D=l.value,y=l.options||[],S=this.state.newOption;R(m,Cb(D),y)?S=v(m,f(m)):S=void 0,this.setState({newOption:S,options:(c||!_)&&S?s==="first"?[S].concat(Rg(y)):[].concat(Rg(y),[S]):y})}},{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"render",value:function(){var l=this,c=this.state.options;return EA.default.createElement(n,ct({},this.props,{ref:function(f){l.select=f},options:c,onChange:this.onChange}))}}]),i}(EA.Component),t.defaultProps=Xnn,a},Knn=Znn(kg),etn=Tb(Knn),sU=etn;var CA=ya(ls());var v3a=ya(Eb());var g3a=ya(iI());function ntn(e){var n=ttn();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 ttn(){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 atn={cacheOptions:!1,defaultOptions:!1,filterOption:null,isLoading:!1},rtn=function(n){var t,a;return a=t=function(r){yo(i,r);var o=ntn(i);function i(u){var l;return go(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,_=whe(c,s,m);if(!_){delete l.lastRequest,l.setState({inputValue:"",loadedInputValue:"",loadedOptions:[],isLoading:!1,passEmptyOptions:!1});return}if(v&&l.optionsCache[_])l.setState({inputValue:_,loadedInputValue:_,loadedOptions:l.optionsCache[_],isLoading:!1,passEmptyOptions:!1});else{var R=l.lastRequest={};l.setState({inputValue:_,isLoading:!0,passEmptyOptions:!l.state.loadedInputValue},function(){l.loadOptions(_,function(D){!l.mounted||(D&&(l.optionsCache[_]=D),R===l.lastRequest&&(delete l.lastRequest,l.setState({isLoading:!1,loadedInputValue:_,loadedOptions:D||[],passEmptyOptions:!1})))})})}return _},l.state={defaultOptions:Array.isArray(u.defaultOptions)?u.defaultOptions:void 0,inputValue:typeof u.inputValue!="undefined"?u.inputValue:"",isLoading:u.defaultOptions===!0,loadedOptions:[],passEmptyOptions:!1},l}return Do(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=fi(c,["loadOptions","isLoading"]),m=this.state,_=m.defaultOptions,R=m.inputValue,D=m.isLoading,y=m.loadedInputValue,S=m.loadedOptions,M=m.passEmptyOptions,P=M?[]:R&&y?S:_||[];return CA.default.createElement(n,ct({},v,{ref:function(N){l.select=N},options:P,isLoading:D||f,onInputChange:this.handleInputChange}))}}]),i}(CA.Component),t.defaultProps=atn,a},otn=Tb(kg),itn=rtn(otn),IA=itn;var Uge=ya(kge()),cI=({baseClass:e,isMulti:n})=>t=>{let a=(i,u)=>Object.assign({},i,u),r=i=>u=>a(u,i),o=!ftn&&typeof document!="undefined";return Et.createElement(e,ni(xa({},t),{isMulti:n,components:{MenuList:utn},menuPortalTarget:t.useMenuPortal&&o?document.body:void 0,options:Jge(t.options),value:Jge(t.value),getOptionLabel:vU(t.getOptionLabel),getOptionValue:vU(t.getOptionValue),formatOptionLabel:vU(t.formatOptionLabel),loadOptions:t.loadOptions&&((...i)=>t.loadOptions(...i).then(Fb)),onChange:(i,{action:u})=>{switch(u){case"select-option":i.__isNew__?t.onCreate&&t.onCreate(i.label):t.onSelect&&t.onSelect(Fb(i));break;case"clear":t.onClear&&t.onClear();break;case"remove-value":t.onSelect&&t.onSelect(Fb(i||[]));break;case"create-option":t.onCreate&&t.onCreate(i.label);break}},isOptionDisabled:t.isOptionDisabled&&(i=>!i.__isNew__&&t.isOptionDisabled(Fb(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:{})}}))},utn=e=>{let n=Array.isArray(e.children)?e.children:[e.children],t=[];return e.selectProps.footerOption&&e.selectProps.options&&(t=[Et.createElement("hr",{className:"py-0 my-0"}),e.selectProps.footerOption({inputValue:e.selectProps.inputValue,options:Fb(e.selectProps.options)})]),Et.createElement("div",{className:"overflow-y-auto overflow-x-hidden",style:Object.assign({},{maxHeight:e.selectProps.maxMenuHeight},e.selectProps.menuListStyle)},Et.createElement(Uge.default,{length:n.length,itemRenderer:(a,r)=>Et.createElement("div",{key:r},n[a])}),...t)};SA.displayName="ReactSelect";sU.displayName="ReactSelectCreatable";IA.displayName="ReactSelectAsync";var Hge=cI({baseClass:SA,isMulti:!1}),ltn=cI({baseClass:sU,isMulti:!1}),ctn=cI({baseClass:SA,isMulti:!0}),Bge=cI({baseClass:IA,isMulti:!1}),stn=cI({baseClass:IA,isMulti:!0}),ftn=0;var Jge=e=>e instanceof Array?typeof e[0]=="object"?e:e.map(n=>({__wrap:n})):typeof e=="undefined"||typeof e=="object"?e:{__wrap:e},Fb=e=>{let n=t=>t&&typeof t=="object"&&"__wrap"in t;return e instanceof Array?n(e[0])?e.map(t=>t.__wrap):e:n(e)?e.__wrap:e},vU=e=>e&&(n=>e(Fb(n)));var Wge=e=>()=>new Promise((n,t)=>{var a=o=>()=>n(o),r=o=>()=>t(o);try{e(a)(r)()}catch(o){t(o)}});var qge=function(e){return Wge(function(n){return function(t){return nX(er(t)(n))(e)}})};var sI=Jo(),vtn=wt(Qn()(E({reflectSymbol:function(){return"inputValue"}})(ie)(_e)));var mtn=L(Vt),ptn=L(B),zge=cs(),$ge=Sa();var _tn=function(e){return e};var TA=function(e){return sI(function(n){return Je(vtn(n))(e)})};var FA=function(e){return function(n){return qge(mtn(Be)(e(n)))()}};var Vge=function(e){return function(n){return Ht(e({inputValue:K(n.inputValue),options:n.options}))}};var Qge=function(e){var n={};for(var t in e)({}).hasOwnProperty.call(e,t)&&(n[t]=e[t]);return n.value=Kee(function(a){return Ht(ptn(_tn)(a))})(e.value),n},dtn=sI,Yge=sI;var htn=sI;var Xge=sI;var Us=function(){var e=zge(Hge);return function(n){return e(dtn(Qge(Yge(Xge($ge(n))))))}},MA=function(){var e=zge(Bge);return function(n){return e(htn(Qge(Yge(Xge($ge(n))))))}};var Zge="top";var Kge=Kr(Gr(Ao)),gtn=X(Vt),eDe=Z(Ot),Dtn=Vi(Vn(Qn()(E({reflectSymbol:function(){return"category"}})(ie)(E({reflectSymbol:function(){return"id"}})(aE)(E({reflectSymbol:function(){return"name"}})(ie)(_e)))))),ytn=X(he),btn=X(B),Rtn=Vi(ie),nDe=Kge("profile_search_extracurricular_activities_path")(function(e){return function(n){return gtn(eDe(e({search_term:n}))(Hr(Dtn("Network.ECSelector.API"))))(function(t){return hr(ytn(t)(function(a){return btn(B1(a.category))(function(r){return{id:a.id,name:a.name,category:r}})}))})}}),tDe=Kge("profile_generate_ec_description_path")(function(e){return function(n){return eDe(e(n))(Hr(Rtn("Profile.ECSelector.API.generateEcDescription response")))}});var wtn=ae(ze),Stn=ba(Oe)(vt),aDe=function(e){var n=ds(e);return function(){return function(){return n("text")}}};var mU=function(){return function(){return qh("path")}},Etn=mU()();var Mb=function(e){var n=function(u){return wtn(Zc(u))},t=function(u){return function(l){return n(u*l.x)+(" "+n(u*l.y))}},a=function(u){return{x:e.center.x+j6(u),y:e.center.y-P6(u)}},r=a(e.angle1),o=a(e.angle0),i=function(){var u=e.angle1-e.angle0>Nv;return u?"1":"0"}();return Etn("")({d:Stn([" 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})},rDe=function(){return function(){return qh("circle")}};var oDe=gn(hn),rv=dn(oDe)(vn(fn)),iDe=pn(mn),ov=_n(iDe),uDe=bn(yn),iv=Dn(uDe),Ctn=mU()(),Xm=ae(Wi),Itn=vi(te)()(),fI=H(x),Ttn=e0(J)()(),Ftn=X(he),Mtn=aDe(x)()(),Gtn=ae(ze),Atn=Gn(te)()(),xtn=xn(dt),Ltn=ua(x),vI=H(J),Gb=H(te),lDe=fe(At(ws)),jtn=hs(J),Ntn=L(he),Ptn=Ec(x),pU=function(){function e(){}return e.value=new e,e}(),_U=function(){function e(){}return e.value=new e,e}(),cDe=function(e){return function(n){if(n instanceof _U)return Ee(e)(gae(e));if(n instanceof pU)return Ee(e)(Dae(e));throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivityTier (line 23, column 1 - line 23, column 46): "+[e.constructor.name,n.constructor.name])}},sDe=function(){return 100/ft(_a(Rn(S_)(rv(rv(rv(rv(rv(rv(rv(rv(rv(rv(rv(oDe)(iDe))(ov))(ov))(ov))(ov))(ov))(ov))(ov))(ov))(ov))(ov))(iv(iv(iv(iv(iv(iv(iv(iv(iv(iv(iv(uDe))))))))))))(ov)))}(),Otn=function(e){var n=Ll(e),t=cae(n),a=function(r){return function(o){return function(i){var u=o-1,l=r+1,c=u/2,s=l/2;return Ctn("")({d:Or(" ")(["M",Xm(-s),Xm(l),"L",Xm(s),Xm(l),"L",Xm(c),Xm(u),"L",Xm(-c),Xm(u),"Z"]),fill:i})}}};return Itn({overlay:ue([fI("")("Use the arrows to choose"),fI("")("higher or lower levels")]),trigger:B_,placement:Ms})(Ttn("")({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(ft(t)*sDe)(ft(t+1|0)*sDe)("#64A063"),ue(Ftn(zT(1)(4))(function(r){return Mtn("")({x:"0",y:Xm(25*ft(r)-11),dominantBaseline:"middle",textAnchor:"middle"})(Gtn(r))}))]))},fDe=function(e){return function(n){var t=Ll(e),a=zf(e),r=function(o){var i=function(){if(o.msg instanceof pU)return"up";if(o.msg instanceof _U)return"down";throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivityTier (line 67, column 17 - line 69, column 33): "+[o.msg.constructor.name])}();return Atn("py-0 px-2 my-2 btn btn-outline-light t--tier-"+(i+function(){return o.disabled?"":" text-body"}()))({type:"button",onClick:xtn(n)(o.msg),disabled:o.disabled})(Ltn("x-large fe fe-arrow-"+i)(""))};return ue([vI("d-flex justify-content-between align-items-center")([fI("font-weight-bold fw-bold")("Tier "+J1(t)),vI("d-flex align-items-center")([Gb("mr-2")(r({msg:pU.value,disabled:lDe(new d(t))(vae(a))})),Gb("")(r({msg:_U.value,disabled:lDe(new d(t))(A2(a))}))])]),Gb("card shadow-none")(Gb("card-body")(vI("row align-items-start")([Gb("col-12 col-md-7")(Je(fae(a)(t))(function(o){return ue([Y("I did the equivalent of ANY of the following:"),jtn("")(Ntn(Ptn(""))(o))])})),Gb("col-12 col-md-5")(vI("row align-items-center")([vI("col-7 d-flex flex-column align-items-center")([fI("mb-2 small")("Exceptional"),Otn(e),fI("mt-2 small")("Standard")])]))])))])}};var GA=q(_t),ktn=Sa(),Utn=Bn(Mn)(Wt),Htn=Vr(nt),Btn=X(Vt),Jtn=as(Uv),Wtn=Gn(te)()(),vDe=H(x),mDe=xn(dt),dU=function(){function e(){}return e.value=new e,e}(),pDe=function(){function e(){}return e.value=new e,e}(),_De=function(){function e(){}return e.value=new e,e}(),hU=function(){function e(){}return e.value=new e,e}(),dDe=function(){function e(){}return e.value=new e,e}(),hDe=function(){function e(){}return e.value=new e,e}(),gDe=function(){var e=function(n){var t=GA(dU.value),a=ktn(n),r=function(i){return function(u){if(u instanceof hU)return Utn(Htn(Btn(Jtn(a.onClick))(er(an(hDe.value))(an(dDe.value)))))(function(){return GA(pDe.value)});if(u instanceof dDe)return GA(dU.value);if(u instanceof hDe)return GA(_De.value);throw new Error("Failed pattern match at Utils.EffectButton (line 68, column 9 - line 70, column 24): "+[i.constructor.name,u.constructor.name])}},o=function(i){return function(u){var l=function(s){return Wtn($n(a.buttonClass)("btn btn-primary px-4"))({onClick:s,disabled:$n(a.disabled)(!1)})($n(a.buttonContent)(Y("Submit")))},c=$n(a.render)({idle:l,inFlight:function(s){return vDe($n(a.spinnerClass)("spinner spinner-border text-primary"))("")},erroredOut:function(s){return ue([l(s),vDe("invalid-feedback d-block")($n(a.errorMessage)("Something went wrong. Try refreshing the page."))])}});if(i instanceof dU)return c.idle(mDe(u)(hU.value));if(i instanceof pDe)return c.inFlight(Ce);if(i instanceof _De)return c.erroredOut(mDe(u)(hU.value));throw new Error("Failed pattern match at Utils.EffectButton (line 49, column 11 - line 52, column 65): "+[i.constructor.name])}};return{init:t,view:o,update:r}};return Yu("EffectButton")(e)};var DDe=function(){function e(){}return e.value=new e,e}(),yDe=function(){function e(){}return e.value=new e,e}(),Ab=function(){function e(){}return e.value=new e,e}(),AA=function(){function e(){}return e.value=new e,e}(),bDe=function(){function e(){}return e.value=new e,e}(),RDe=function(){function e(){}return e.value=new e,e}(),xb=function(){function e(){}return e.value=new e,e}(),wDe=function(e){if(e instanceof DDe)return"avatar-xxs";if(e instanceof yDe)return"avatar-xs";if(e instanceof Ab)return"avatar-sm";if(e instanceof AA)return"";if(e instanceof bDe)return"avatar-lg";if(e instanceof RDe)return"avatar-xl";if(e instanceof xb)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 xA=fe(At(fa)),qtn=Sa(),gU=H(te),ztn=Es()(),DU=nn(x),$tn=ua(x),Vtn=ui(),Qtn=Bv(Mn)(),Ytn=Jn(nt),Xtn=lt(te)()(),Ztn=Gn(J)()(),Ktn=ia(su),ean=Kf(),nan=pt(qa),gu=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Ug=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}(),bU=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),SDe=function(){function e(){}return e.value=new e,e}(),tan=function(){function e(){}return e.value=new e,e}(),aan={eq:function(e){return function(n){return e instanceof gu&&n instanceof gu?e.value0.url===n.value0.url:e instanceof Ug&&n instanceof Ug?xA(e.value0.backgroundColorClass)(n.value0.backgroundColorClass)&&e.value0.initials===n.value0.initials&&xA(e.value0.textColorClass)(n.value0.textColorClass):e instanceof yU&&n instanceof yU?xA(e.value0.backgroundColorClass)(n.value0.backgroundColorClass)&&e.value0.iconClass===n.value0.iconClass:e instanceof bU&&n instanceof bU?xA(e.value0.backgroundColorClass)(n.value0.backgroundColorClass)&&e.value0.name===n.value0.name:!1}}},ran=YE(aan),R0=function(){return function(e){var n=qtn(e),t=function(){var r=$n(n.shape)(SDe.value);if(r instanceof SDe)return"rounded-circle";if(r instanceof tan)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 gU("avatar "+(wDe($n(n.size)(AA.value))+(" "+$n(n.className)(""))))(function(){if(r instanceof gu)return ztn("avatar-img img-fluid "+(t+(" "+$n(n.borderClassName)(""))))({src:r.value0.url});if(r instanceof Ug)return DU("avatar-title font-weight-bold fw-bold "+(t+(" "+(Ee("")(r.value0.backgroundColorClass)+(" "+(Ee("")(r.value0.textColorClass)+(" "+$n(n.borderClassName)(""))))))))(r.value0.initials);if(r instanceof yU)return gU("avatar-title "+(t+(" "+(Ee("")(r.value0.backgroundColorClass)+(" "+$n(n.borderClassName)(""))))))($tn(r.value0.iconClass)(""));if(r instanceof bU)return gU("avatar-title "+(t+(" "+(Ee("")(r.value0.backgroundColorClass)+(" "+$n(n.borderClassName)(""))))))(DU("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 Eu(Vtn(ca(n.source))(function(r){return Qtn(ran(n.source)(function(o){return Ytn(r.value1(o))}))(function(){return ii(ue([a(r.value0),function(){return r.value0 instanceof gu?Je(Dr(n.hideAvatar))(function(o){return Xtn("hq-only-menu-item")({style:Sn({marginTop:"-50px",marginLeft:"200px"})})(Ztn("btn btn-sm btn-warning mb-4 t--hide-avatar")({onClick:Ktn(function(i){return function(){return ean(i)(),nan(r.value1)(o)()}})})([DU("badge badge-info bg-info text-dark mr-2")("HQ"),Y("Hide")]))}):un}()]))})}))}};var oan=R0();var ian=function(e){return oan({source:new gu({url:lg("/img/icons/ai-avatar-logo-purple-3.svg")}),size:e.size})},Lb=function(){return ian({size:Ab.value})}();var EDe=function(){var e=[jS.value,new mm(" "),o2.value,new mm(", "),u2.value,new mm(":"),c2.value,new mm(" "),l2.value],n=NS(mh(Oe)(e));return function(t){return n(function(a){return a.sentAt}(t))}}();var Zm=H(J),uan=nn(x),lan=pu(x),can=pl(Ae),RU=U0(B),CDe=L(B),san=X(B),fan=pt(Ae),van=rh(Oe)(ta),wU=Bn(Mn)(Ae),SU=zr(Eo),EU=Z(Ae),CU=al(x),IDe=gs()(),mI=xn(Zr),Hg=H(te),TDe=Gn(x)()(),IU=xn(dt),FDe=lne(x)()(),MDe=ae(H1),man=Qe(la),pan=L(he),_an=xi()(),GDe=WM(),dan=ine(J)()(),ADe=X(Vt),han=as(Uv),gan=pf(fa),Dan=X(he),yan=lt(x)()(),ban=MA(),Ran=ae(dae),wan=qn(ja),xDe=H(x),San=gDe(),Ean=Z(Ot),Can=Jn(nt),Bg=function(){function e(){}return e.value=new e,e}(),LA=function(){function e(){}return e.value=new e,e}(),Jg=function(){function e(){}return e.value=new e,e}(),LDe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),jDe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),TU=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),NDe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),PDe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),ODe=function(){function e(){}return e.value=new e,e}(),kDe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),UDe=function(){function e(){}return e.value=new e,e}(),HDe=function(){function e(){}return e.value=new e,e}(),BDe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),JDe={eq:function(e){return function(n){return e instanceof Bg&&n instanceof Bg||e instanceof LA&&n instanceof LA||e instanceof Jg&&n instanceof Jg}}},Ian=function(e){return e.tierSelector instanceof d?I.value:new d({errorMessage:"Please select a tier."})},Tan=function(e){if(e.name==="")return new d({errorMessage:"Please enter an activity name."});if(Le)return I.value;throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivityEditor (line 320, column 1 - line 320, column 32): "+[e.constructor.name])},Fan=function(e){if(ur(e.category))return new d({errorMessage:"Please select a category."});if(Le)return I.value;throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivityEditor (line 325, column 1 - line 325, column 36): "+[e.constructor.name])},WDe=function(e){return function(n){return ue([Zm("")([uan("")("Level of achievement"),lan("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. `)]),fDe(n)(function(t){return e(NDe.create(t))})])}},qDe=function(e){return can(RU(RU(RU(CDe(rE("")(e))(A2(e)))(I.value))(I.value))(I.value))},zDe=function(e){return function(n){if(n instanceof NDe)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:san(e.tierSelector)(function(t){return cDe(t)(n.value0)})};if(n instanceof LDe)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 jDe)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:fan(qDe)(n.value0)};if(n instanceof TU)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 PDe)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:qDe(n.value0.category)};if(n instanceof ODe)return{isNew:e.isNew,id:e.id,description:e.description,compactView:e.compactView,view:e.view,name:"",category:I.value,canonicalId:I.value,tierSelector:I.value};if(n instanceof kDe)return{isNew:e.isNew,category:e.category,id:e.id,canonicalId:e.canonicalId,tierSelector:e.tierSelector,description:e.description,compactView:e.compactView,view:Jg.value,name:n.value0.name};if(n instanceof UDe)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:LA.value};if(n instanceof HDe)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 Bg.value;if(e.canonicalId instanceof I)return Jg.value;throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivityEditor (line 304, column 9 - line 306, column 30): "+[e.canonicalId.constructor.name])}()};if(n instanceof BDe)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 Bg.value;if(e.canonicalId instanceof I)return Jg.value;throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivityEditor (line 312, column 9 - line 314, column 30): "+[e.canonicalId.constructor.name])}()};throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivityEditor (line 278, column 1 - line 278, column 36): "+[e.constructor.name,n.constructor.name])}},pI=function(e){return van($me(e))([Tan,Fan,Ian])},jA=function(e){return function(n){if(n instanceof d){var t=Ee("")(iE(n.value0)),a=zf(n.value0);return{isNew:!1,name:E_(n.value0),category:new d(a),tierSelector:function(){return a instanceof o0?I.value:new d(n.value0)}(),id:x2(n.value0),canonicalId:L2(n.value0),description:t,compactView:e.compactView,view:function(){var r=Dt(L2(n.value0));return r?Bg.value:Jg.value}()}}if(n instanceof I)return{isNew:!0,name:"",category:I.value,tierSelector:I.value,id:I.value,canonicalId:I.value,description:"",compactView:e.compactView,view:Bg.value};throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivityEditor (line 71, column 1 - line 71, column 73): "+[e.constructor.name,n.constructor.name])}},NA=function(e){return wU(SU(pI(e)))(function(){return EU(e.tierSelector)(function(n){return EU(e.category)(function(t){return rE(e.name)(t)(Ll(n))(e.id)(new d(e.description))(e.canonicalId)})})})},$De="Summarize your role, highlighting specific achievements. Include quantifiable results (if possible) and skills developed.",VDe=function(e){return function(n){return function(t){var a=ue([CU("")("Description (optional)"),IDe("form-control mb-3 t--description")({placeholder:$De,rows:2,maxLength:1e3,onChange:mI(t)(function(r){return TU.create(Gs(r))}),value:n.description}),Zm("row")([Hg("col-auto")(Lb),En(e.featureFlags.showGenerateEcDescription)(Hg("col pl-0")(TDe("btn btn-outline-primary rounded-pill t--generate-description")({onClick:IU(t)(UDe.value)})("Write description for me")))])]);return En(!n.compactView)(a)}}},QDe=function(e){return function(n){return function(t){if(n.view instanceof Jg){var a=function(u){return FDe("")({value:MDe(u)})(w_(u))},r=man([FDe("")({value:""})("Select category")])(pan(a)(eae));return ue([Zm("row pb-4")([Zm("col-12 mt-3 mt-lg-0 col-lg-8 align-self-baseline")([CU("font-weight-bold fw-bold")("Activity name *"),_an("")({className:"form-control t--name",autoFocus:!0,value:n.name,onChange:mI(t)(function(u){return LDe.create(As(u))}),minLength:5,maxLength:50,required:!0,_data:GDe({"test-id":"ec-selector-activity-name"}),"aria-required":"true"})]),Zm("col-12 mt-3 mt-lg-0 col-lg-4 align-self-baseline")([CU("font-weight-bold fw-bold")("Category *"),dan("")({className:"form-control t--category",onChange:mI(t)(function(u){return jDe.create(B1(K0e(u)))}),value:ke("")(MDe)(n.category),_data:GDe({"test-id":"ec-selector-activity-category"}),required:!0,"aria-required":"true"})(r)])]),Je(n.tierSelector)(WDe(t)),VDe(e)(n)(t)])}if(n.view instanceof Bg){var o=function(u){return ADe(ADe(han(nDe(u)))(Xl))(Ee([]))},i=function(){var u=function(l){return ou(bw(l))};return Vge(function(l){return EU(l.inputValue)(function(c){return wU(SU($r(c)>=3))(function(){return wU(SU(!gan(u(c))(Dan(l.options)(function(s){return u(function(f){return f.name}(s))}))))(function(){return new d(yan("text-center text-primary cursor-pointer py-3 t--ec-activity-custom")({onClick:IU(t)(new kDe({name:c}))})("Add \u2018"+(c+"\u2019 as a custom activity")))})})})})}();return Zm("my-4 overflow-hidden ")([Y("Activity name*"),ban({className:"mt-2 t--ec-activity-name",classNamePrefix:"t--canonical-ec-activity",placeholder:"Type to select\u2026",loadOptions:FA(o),defaultOptions:!1,getOptionLabel:function(u){return u.name},getOptionValue:function(u){return Ran(function(l){return l.id}(u))},onSelect:mI(t)(PDe.create),useMenuPortal:!0,value:wan(CDe(function(u){return function(l){return{name:n.name,category:u,id:l}}})(n.category))(n.canonicalId),isClearable:!0,onClear:t(ODe.value),footerOption:i,menuPlacement:Zge,noOptionsMessage:TA(function(u){return Y(function(){var l=$r(u.inputValue)<=3;return l?"Type to search activities":"No matches. Try a different search."}())})}),Je(n.category)(function(u){return xDe("mt-2 text-muted t--ec-activity-category")("Category: "+w_(u))}),Je(n.tierSelector)(function(){var u=Hg("mt-4"),l=WDe(t);return function(c){return u(l(c))}}()),Je(n.canonicalId)(function(u){return Hg("mt-4")(VDe(e)(n)(t))})])}if(n.view instanceof LA)return Zm("my-4 overflow-hidden t--description-generator")([Zm("row")([Hg("col-auto")(Lb),xDe("col pl-0")("Tell me about your role, contributions, and any achievements so I can write a strong description.")]),IDe("form-control my-3 t--description")({placeholder:$De,rows:5,maxLength:1e3,onChange:mI(t)(function(u){return TU.create(Gs(u))}),value:n.description}),Zm("row")([Hg("col-6")(TDe("btn btn-light btn-block")({onClick:IU(t)(HDe.value)})("Cancel")),Hg("col-6")(San({buttonClass:"btn btn-primary btn-block t--generate-description-confirm",buttonContent:Y("Write description"),onClick:Ean(tDe({activity:n.name,category:ke("")(w_)(n.category),description:n.description}))(function(u){return Can(t(new BDe(u)))})}))])]);throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivityEditor (line 102, column 1 - line 102, column 78): "+[e.constructor.name,n.constructor.name,t.constructor.name])}}};var Man=Om(),Gan=rt(x),Aan=H(J),YDe=H(te),XDe=Gn(x)()(),xan=F1(JM(l1)),Lan=hi(B),jan=zr(Eo),Nan=Oa(lr(ta)),Pan=xn(dt),FU=q(_t),ZDe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),PA=function(){function e(){}return e.value=new e,e}(),_I=function(){function e(){}return e.value=new e,e}(),MU=function(e){return function(n){return function(t){var a=function(){return n.isNew?"Add":"Edit"}();return Man({onDismiss:t(_I.value),title:Gan("")(a+" activity"),size:lE.value,bodyClass:"t--ec-editor",body:ue([QDe(e)(n)(function(r){return t(ZDe.create(r))}),Qa(""),Aan("row justify-content-between mt-n3")([YDe("col-12 col-md-3 mt-3")(XDe("btn btn-primary btn-block t--save-ec-activity")({type:"button",onClick:xan(t)(Lan(jan(pI(n)))(PA.value)),disabled:Nan(pI)(n)})("Save activity")),YDe("col-12 col-md-3 mt-3")(XDe("btn btn-outline-secondary btn-block")({type:"button",onClick:Pan(t)(_I.value)})("Cancel"))])])})}}},GU=function(e){return function(n){if(n instanceof ZDe)return FU(zDe(e)(n.value0));if(n instanceof PA||n instanceof _I)return FU(e);throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivityEditModal (line 54, column 1 - line 54, column 69): "+[e.constructor.name,n.constructor.name])}};var Oan=fe(tE),KDe=fe(At(U9)),e1e=fe(At(YS)),kan=fe(fa),n1e=fe(At(Ka)),t1e=fe(At(tE)),a1e=fe(JDe),r1e=lr(ta),o1e=Oa(r1e),Uan=pt(Ae),Du=q(_t),Han=iw(tE),i1e=Qe(la),AU=Bn(Mn)(Wt),u1e=Vr(nt),l1e=q(ea),xU=Z(Wt),c1e=_r(Ii(Vt)),Km=H(J),jb=Xn(x),s1e=ae(ze),Ban=Z(Sv),Jan=q(H0),Hs=H(te),Wan=Gn(J)()(),qan=nn(te),zan=nn(x),$an=H(x),f1e=cf(lr(r1e)),Van=fe(YS),Qan=fe(ws),Yan=xi()(),Xan=Xf(),OA=Gn(x)()(),dI=xn(dt),Zan=lt(J)()(),Kan=WM(),ern=Ga(x),nrn=Xn(J),trn=Jn(nt);var kA=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),LU=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),jU=function(){function e(){}return e.value=new e,e}(),UA=function(){function e(){}return e.value=new e,e}(),Wg=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),qg=function(){function e(){}return e.value=new e,e}(),Nb=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),vd=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),md=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),arn={eq:function(e){return function(n){return e instanceof qg&&n instanceof qg?!0:e instanceof Nb&&n instanceof Nb?Oan(e.value0.activity)(n.value0.activity):e instanceof vd&&n instanceof vd?e.value0.index===n.value0.index&&KDe(e.value0.state.canonicalId)(n.value0.state.canonicalId)&&e1e(e.value0.state.category)(n.value0.state.category)&&e.value0.state.compactView===n.value0.state.compactView&&e.value0.state.description===n.value0.state.description&&n1e(e.value0.state.id)(n.value0.state.id)&&e.value0.state.isNew===n.value0.state.isNew&&e.value0.state.name===n.value0.state.name&&t1e(e.value0.state.tierSelector)(n.value0.state.tierSelector)&&a1e(e.value0.state.view)(n.value0.state.view):e instanceof md&&n instanceof md?KDe(e.value0.canonicalId)(n.value0.canonicalId)&&e1e(e.value0.category)(n.value0.category)&&e.value0.compactView===n.value0.compactView&&e.value0.description===n.value0.description&&n1e(e.value0.id)(n.value0.id)&&e.value0.isNew===n.value0.isNew&&e.value0.name===n.value0.name&&t1e(e.value0.tierSelector)(n.value0.tierSelector)&&a1e(e.value0.view)(n.value0.view):!1}}},rrn=fe(arn),orn=function(e){return e.maxActivities-_a(e.activities)|0},v1e=function(e){if(e.editor instanceof qg||e.editor instanceof Nb)return!1;if(e.editor instanceof md||e.editor instanceof vd)return!0;throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.Extracurriculars (line 349, column 15 - line 353, column 21): "+[e.editor.constructor.name])},irn=function(e){return function(n){if(n instanceof kA&&o1e(v1e)(e)){var t=Uan(ru(e.activities))(n.value0.index);if(n.value0.index instanceof d&&t instanceof d){var a=jA(e)(new d(t.value0));return Du({activities:e.activities,activitiesToDestroy:e.activitiesToDestroy,attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:new vd({index:n.value0.index.value0,state:a})})}var a=jA(e)(I.value);return Du({activities:e.activities,activitiesToDestroy:e.activitiesToDestroy,attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:new md(a)})}if(n instanceof kA)return Du(e);if(n instanceof LU&&o1e(v1e)(e))return Du({activities:e.activities,activitiesToDestroy:e.activitiesToDestroy,attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:new Nb({activity:n.value0.activity})});if(n instanceof LU)return Du(e);if(n instanceof jU)return Du({activities:e.activities,activitiesToDestroy:e.activitiesToDestroy,attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:qg.value});if(n instanceof UA){var r=function(l){return Du({activitiesToDestroy:e.activitiesToDestroy,attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:qg.value,activities:l(e.activities)})},o=function(l){return r(function(c){return Ee(c)(l(c))})};if(e.editor instanceof Nb)return Du({attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:qg.value,activities:Han(e.editor.value0.activity)(e.activities),activitiesToDestroy:wi(e.editor.value0.activity)(e.activitiesToDestroy)});var t=function(l){var c=function(f){return Du(e)};if(e.editor instanceof md){var s=NA(e.editor.value0);return s instanceof d?r(function(f){return i1e(f)([s.value0])}):c(!0)}return c(!0)};if(e.editor instanceof vd){var i=NA(e.editor.value0.state);return i instanceof d?o(qT(e.editor.value0.index)(i.value0)):t(!0)}return t(!0)}if(n instanceof Wg&&n.value0 instanceof _I)return AU(u1e(l1e(jU.value)))(function(){return Du(e)});if(n instanceof Wg&&n.value0 instanceof PA)return AU(u1e(l1e(UA.value)))(function(){return Du(e)});if(n instanceof Wg)return e.editor instanceof vd?xU(c1e(Wg.create)(GU(e.editor.value0.state)(n.value0)))(function(u){return Du({activities:e.activities,activitiesToDestroy:e.activitiesToDestroy,attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:new vd({index:e.editor.value0.index,state:u})})}):e.editor instanceof md?xU(c1e(Wg.create)(GU(e.editor.value0)(n.value0)))(function(u){return Du({activities:e.activities,activitiesToDestroy:e.activitiesToDestroy,attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:new md(u)})}):Du(e);throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.Extracurriculars (line 292, column 1 - line 292, column 55): "+[e.constructor.name,n.constructor.name])}},urn=function(e){return Km(function(){return e.compactView?"container-xs":""}())([jb("font-weight-bold fw-bold")("Add up to "+(s1e(e.maxActivities)+" unique extracurricular activities")),Km("row")(Ban(i1e(e.activities)([e.addNewButton(orn(e))(e.onStartEditing)]))(function(n){return Jan(Hs("col-12 col-md-6 d-flex")(n))})),e.hiddenInputs,En(!e.compactView)(jb("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. `))])},lrn=10,crn=function(e){return function(n){if(e>0)return Hs("card")(Km("card-body")([Hs("align-middle pb-2")(Wan("btn btn-link p-0 t--add-new-ec")({type:"button",onClick:n})([qan("fe fe-plus")(un),zan("")("Add new activity")])),$an("")("You can add "+(s1e(e)+(" more "+(function(){var t=e===1;return t?"activity":"activities"}()+". Your activities will show up on this page."))))]));if(Le)return un;throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.Extracurriculars (line 142, column 1 - line 142, column 78): "+[e.constructor.name,n.constructor.name])}},srn=function(e){return function(n){return function(t){var a=function(c){var s=f1e(yu(kan)(E_))(f1e(yu(Van)(zf))(yu(Qan)(Ll)));return function(f){return f>1}(_a(jr(s(c))(n.activities)))},r=function(c){return Yan("")({type:"hidden",name:c,value:Xan(tg(n.activities))})},o=function(){return n.editor instanceof vd?V1("ec-editor-modal")(MU(e)(n.editor.value0.state)(function(c){return t(Wg.create(c))})):n.editor instanceof md?V1("ec-editor-modal")(MU(e)(n.editor.value0)(function(c){return t(Wg.create(c))})):un}(),i=function(c){return function(s){if(rrn(n.editor)(new Nb({activity:s})))return Hs("card mx-auto")(Km("card-body")([jb("")("Delete this activity?"),Km("row")([Hs("col-12 col-sm-6 text-center")(OA("btn btn-secondary px-4 text-nowrap t--no-dont-remove")({type:"button",onClick:dI(t)(jU.value)})("Keep it")),Hs("col-12 col-sm-6 text-center mt-2 mt-md-0")(OA("btn btn-danger px-4 text-nowrap t--yes-remove")({type:"button",onClick:dI(t)(UA.value)})("Delete it"))])]));if(Le){var f=function(_){return _===""?jb("text-muted")("No activity name yet"):jb("")(_)},v=function(){if(n.compactView)return"";if(Le)return Ee("")(iE(s));throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.Extracurriculars (line 267, column 7 - line 269, column 69): "+[])}(),m=function(){var _=$r(v)>100;return _?ac(100)(v)+"\u2026":v}();return Zan("card d-flex w-100 t--ec-activity")({_data:Kan({"test-id":"ec-selector-activity-view"})})([Hs("card-body pb-0")(Km("row")([Km("col-12")([En(a(s))(Hs("d-flex justify-content-end")(Km("badge badge-warning bg-warning text-dark")([ern("")("Smart Alert: "),Y("this activity appears twice")]))),f(E_(s)),nrn("")([Y(w_(zf(s))),Y(" | Tier "),Y(J1(Ll(s)))])]),Hs("col-12 mt-n2")(jb("text-muted small")(m))])),Hs("card-footer border-top-0 pt-0")(Km("row")([Hs("col col-6 ml-sm-auto")(OA("btn btn-link p-0 t--edit")({type:"button",onClick:dI(t)(new kA({index:new d(c)}))})("Edit")),Hs("col col-6 ml-sm-auto text-right")(OA("btn btn-link btn-secondary-outline p-0 t--remove")({type:"button",onClick:dI(t)(new LU({activity:s}))})("Remove"))]))])}throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.Extracurriculars (line 198, column 3 - line 269, column 69): "+[c.constructor.name,s.constructor.name])}},u=Lv(i)(n.activities),l={activities:u,ecActivities:n.activities,hiddenInputs:Je(n.attributesPath)(r),addNewButton:crn,maxActivities:n.maxActivities,compactView:n.compactView,onStartEditing:dI(t)(new kA({index:I.value})),redirectUrlOverride:I.value};return ue([n.defaultView(l),o])}}},m1e=Yu("Extracurriculars")(function(e){return{init:Du({activities:e.extracurriculars,attributesPath:I.value,attributesFormGroup:"",activitiesToDestroy:[],editor:qg.value,compactView:e.compactView,maxActivities:Ee(lrn)(e.maxActivities),defaultView:Ee(urn)(e.defaultView)}),view:function(n){return srn(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 xU(irn(n)(t))(function(a){return AU(function(){return t instanceof UA?cr(trn(e.onChange(a.activities))):Du(Ce)}())(function(){return Du(a)})})}}}});var frn=on(),vrn=ae(Ci),mrn=lt(J)()(),p1e=zme(qme)()(),_1e=e$(au),Pb=H(J),hI=H(x),d1e=Z(Ot),prn=ig(Vn(Qn()(E({reflectSymbol:function(){return"imageUrl"}})(ie)(E({reflectSymbol:function(){return"schoolId"}})(os)(E({reflectSymbol:function(){return"schoolName"}})(ie)(E({reflectSymbol:function(){return"score"}})(Ft)(_e))))))),NU=X(he);var PU=H(te),_rn=X(B),drn=Bn(Mn),HA=drn(Wt),BA=Vr(nt),JA=q(ea),pd=q(_t),hrn=kr(x),OU=aa(x)()(),grn=ia(su),Drn=Kf(),yrn=nn(te),brn=ae(H1),Rrn=Oa(lr(ta)),wrn=hs(J),h1e=gn(hn),kU=dn(h1e)(vn(fn)),g1e=pn(mn),UU=_n(g1e),D1e=bn(yn),HU=Dn(D1e),Srn=Ec(te),WA=ia(sr),BU=xn(Zr),qA=function(){function e(){}return e.value=new e,e}(),zA=function(){function e(){}return e.value=new e,e}(),JU=function(){function e(){}return e.value=new e,e}(),$A=function(){function e(){}return e.value=new e,e}(),Ern=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),y1e=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),b1e=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),R1e=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),w1e=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),S1e=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),zg=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}(),Crn={to:function(e){if(e instanceof U)return qA.value;if(e instanceof p&&e.value0 instanceof U)return zA.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 $A.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 qA)return new U(ce.value);if(e instanceof zA)return new p(new U(ce.value));if(e instanceof JU)return new p(new p(new U(ce.value)));if(e instanceof $A)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])}},Irn=Rn(Crn)(kU(kU(kU(h1e)(g1e))(UU))(UU))(HU(HU(HU(D1e))))(UU),C1e=function(e){if(e instanceof qA)return"Female";if(e instanceof zA)return"Male";if(e instanceof JU)return"Non-binary / third gender";if(e instanceof $A)return"Gender not specified";throw new Error("Failed pattern match at Guidance.LiteChancingCta (line 98, column 20 - line 102, column 43): "+[e.constructor.name])},I1e=function(e){return Ee(e)(Nt(ru)(1)(Si("|")(e)))},T1e=function(e){return{label:e.name,value:frn(e.slug)+("_"+vrn(e.id))}},Trn=function(){var e=Nt(ru)(1),n=Si("_");return function(t){return e(n(function(a){return a.value}(t)))}}(),F1e=function(e){return mrn(e.className)({style:Sn({flexBasis:"46%"})})([e.label,p1e({min:200,max:800,step:10,value:_1e(200)(800)(e.score),trackColor:"#008CFD",fillBefore:!0,ariaLabel:"SAT "+(e.ariaLabelPartial+" score slider"),onChange:e.onChange,onFinalChange:e.onFinalChange}),Pb("mt-2 d-flex flex-row justify-content-between")([hI("")("200"),hI("")("800")])])},Frn=Kr(Gr(Ao))("blog_lite_chancing_path")(function(e){return function(n){return d1e(e(n))(Hr(function(t){return prn("Lite Chancing Response")(t)(function(a){return new d(NU(a)(function(r){return{imageUrl:r.imageUrl,schoolId:r.schoolId,schoolName:r.schoolName,score:new d(r.score)}}))})}))}});var Mrn=function(e){return Pb(e.className)([e.label,PU("t--lite-chancing-cta-left-sidebar-gpa")(p1e({min:1,max:4,step:.1,value:_1e(1)(4)(e.gpa),trackColor:"#008CFD",fillBefore:!0,ariaLabel:"GPA slider",onChange:e.onChange,onFinalChange:e.onFinalChange})),Pb("mt-2 d-flex flex-row justify-content-between")([hI("")("1.0"),hI("")("4.0")])])},Grn=function(e){return e instanceof qA?"female":e instanceof zA?"male":"other"},M1e=function(e){return function(n){var t=Io(function(o){return _rn(Trn(o))(SF)})(e),a=Grn(n.genderOption),r=tg(n.ecs);return HA(BA(d1e(Frn({schoolIds:t,gpa:n.gpa,satMath:n.satMath,satVerbal:n.satVerbal,gender:a,ecs:r}))(function(o){return JA(new tt(new E1e(o)))})))(function(){return pd({ecs:n.ecs,genderOption:n.genderOption,gpa:n.gpa,redirectUrlOverride:n.redirectUrlOverride,satMath:n.satMath,satVerbal:n.satVerbal,chancingIsLoading:!0})})}},G1e=function(e){return M1e(e.schoolItems)({gpa:3.7,satMath:720,satVerbal:800,genderOption:$A.value,ecs:[],chancingIsLoading:!1,redirectUrlOverride:e.redirectUrlOverride})},A1e=function(e){return function(n){return function(t){if(t instanceof tt&&t.value0 instanceof y1e)return HA(BA(JA(new tt(zg.value))))(function(){return pd({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 tt&&t.value0 instanceof R1e)return HA(BA(JA(new tt(zg.value))))(function(){return pd({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 tt&&t.value0 instanceof b1e)return pd({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 tt&&t.value0 instanceof w1e)return pd({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 tt&&t.value0 instanceof S1e)return pd({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 tt&&t.value0 instanceof zg)return M1e(e.schools)(n);if(t instanceof tt&&t.value0 instanceof E1e)return HA(BA(JA(new Qt(new Ern(t.value0.value0)))))(function(){return pd({ecs:n.ecs,genderOption:n.genderOption,gpa:n.gpa,redirectUrlOverride:n.redirectUrlOverride,satMath:n.satMath,satVerbal:n.satVerbal,chancingIsLoading:!1})});if(t instanceof Qt)return pd(n);throw new Error("Failed pattern match at Guidance.LiteChancingCta (line 167, column 21 - line 192, column 27): "+[t.constructor.name])}}},x1e=V4,Arn=function(e){return function(n){return ue([Pb("t--lite-chancing-mobile-and-left-sidebar-extracurriculars d-flex"+(" flex-row justify-content-between align-items-center "+e.className))([hrn("mt-3")("Extracurriculars"),PU("")(En(bi(n.ecActivities))(OU("t--lite-chancing-mobile-and-left-sidebar-add-ec")({href:"#",onClick:grn(function(t){return function(){return Drn(t)(),n.onStartEditing(t)}}),"aria-label":"Add extracurriculars"})("+ add")))]),Pb("mt-0 pb-3 mb-2")(NU(n.ecActivities)(function(t){return yrn("badge badge-soft-secondary bg-secondary-soft small mr-1"+(" t--lite-chancing-cta-left-sidebar-add-criteria-"+w_(zf(t))))(Y(brn(zf(t))))})),En(Rrn(bi)(n.ecActivities))(PU("card bg-white border-dashed")(Pb("card-body "+e.className)([Y("To add more ECs & see chances for 1,500 schools, "),OU("t--lite-chancing-mobile-and-left-sidebar-create-a-profile")({href:Ee(x1e)(e.redirectUrlOverride)})("create a full profile")]))),hI("mb-2")("")])}};var L1e=function(e){return function(n){return function(t){return t({redirectUrl:Ee(x1e)(e.redirectUrlOverride),ecSelector:function(a){return m1e({extracurriculars:e.ecs,compactView:!0,onChange:function(r){return function(){return n(new tt(new y1e(r)))(),a.onChange()}},maxActivities:new d(1),defaultView:new d(Arn({redirectUrlOverride:e.redirectUrlOverride,className:a.className})),featureFlags:{showGenerateEcDescription:!1}})},genderDropdown:function(a){return Q4("t--lite-chancing-cta-gender gender-dropdown w-100")({toggleClass:"btn btn-outline-secondary mw-100 text-truncate "+a.className,toggleContent:Y(C1e(e.genderOption)),content:function(r){return wrn(r.className+" dropdown-menu shadow")(NU(Irn)(function(o){return Srn("hover-bg-light")(OU("btn btn-link text-body d-block text-left t--lite-chancing-cta-gender-option")({onClick:WA(function(){return n(new tt(new R1e(o)))(),a.onChange()})})(C1e(o)))}))},"aria-label":"Gender dropdown"})},gpaSlider:function(a){return Mrn({gpa:e.gpa,className:a.className,onChange:BU(n)(function(r){return tt.create(b1e.create(r))}),onFinalChange:WA(function(){return n(new tt(zg.value))(),a.onChange()}),label:a.label(e.gpa)})},requestChances:n(new tt(zg.value)),satMathScoreSlider:function(a){return F1e({score:e.satMath,onChange:BU(n)(function(r){return tt.create(w1e.create(r))}),onFinalChange:WA(function(){return n(new tt(zg.value))(),a.onChange()}),label:a.label(Nr(e.satMath)),className:a.className,ariaLabelPartial:"math"})},satVerbalScoreSlider:function(a){return F1e({score:e.satVerbal,onChange:BU(n)(function(r){return tt.create(S1e.create(r))}),onFinalChange:WA(function(){return n(new tt(zg.value))(),a.onChange()}),label:a.label(Nr(e.satVerbal)),className:a.className,ariaLabelPartial:"verbal"})}})}}};var WU=function(){function e(){}return e.value=new e,e}(),qU=function(){function e(){}return e.value=new e,e}(),zU=function(){function e(){}return e.value=new e,e}(),$U=function(){function e(){}return e.value=new e,e}(),VU=function(){function e(){}return e.value=new e,e}();var $g=function(e){if(e instanceof WU)return"much lower than average";if(e instanceof qU)return"lower than average";if(e instanceof zU)return"about average";if(e instanceof $U)return"above average";if(e instanceof VU)return"among the highest";throw new Error("Failed pattern match at Common.Quintile (line 30, column 15 - line 35, column 28): "+[e.constructor.name])},_d=function(e){if(e<.2)return WU.value;if(e<.4)return qU.value;if(e<.6)return zU.value;if(e<.8)return $U.value;if(Le)return VU.value;throw new Error("Failed pattern match at Common.Quintile (line 21, column 1 - line 21, column 37): "+[e.constructor.name])};var xrn=aa(J)()(),Lrn=X(B),jrn=Gn(J)()(),Nrn=ia(sr),QU=ua(x),Prn=Z(Sv),Orn=q(H0),j1e=H(J),N1e=pu(x),P1e=H(te),krn=vi(te)()(),Urn=nn(x),Hrn=nn(J),O1e=H(x);var Brn=pr(Wa),Jrn=function(e){return function(n){var t=function(a){if(n instanceof Aj)return xrn(a)({href:Xie(Lrn(n.value0)(function(r){return{slug:r.slug,tab:Qi.value}}))});if(n instanceof Wie)return jrn(a)({onClick:Nrn(n.value0)});throw new Error("Failed pattern match at SchoolDetails.Utils (line 159, column 15 - line 166, column 46): "+[n.constructor.name])};return t(e)([QU("material-symbol mr-2")("tune"),Y(" Simulate chances")])}},k1e=Jrn("btn btn-outline-primary d-flex align-items-center justify-content-center px-4"),dd=function(e){var n=H(e);return function(t){var a=H(t);return function(r){return ue(xD(Prn(r)(function(o){return Orn([j1e("row align-items-center")([n("col text-nowrap")(o.title),a("col-auto font-weight-semibold")(o.value)]),Qa("")])})))}}},Vg=function(e){return H(e)("t--subtitle")},Wrn=Vg(J),Ob=function(e){var n=xh(e);return function(t){return function(a){return Wrn([ue(n(t)),Y(" "),N1e("text-secondary")(a)])}}},U1e=function(e){var n=H(e);return function(t){return function(a){return function(r){return j1e("row "+a)([P1e("col-auto")(QU(r+(" fe large fe-"+t.icon))("")),n("col pl-0")(t.body)])}}}},YU=function(e){var n=U1e(e);return function(t){return n(t)("mb-3")("")}},H1e=function(e){var n=U1e(e);return function(t){return n(t)("mb-4")("text-secondary font-weight-bold fw-bold")}},B1e="bg-very-light-grey d-inline-block rounded-pill border small mr-2 mb-2 py-2 px-3",gI=function(e){return function(n){return P1e(B1e)(krn({placement:Ms,overlay:Urn("text-secondary")(n),overlayStyle:Sn({width:"15rem"})})(Hrn("d-inline-flex align-items-center")([Y(e),QU("d-inline-block fe fe-help-circle ml-2 text-secondary")("")])))}},ll=O1e(B1e);var $a=function(e){return O1e("x-large "+e)};var VA=function(e){if(e.totalUndergrads<200)return"fewer than 200";if(Le)return ys(Brn(e.totalUndergrads)(100)*100|0);throw new Error("Failed pattern match at SchoolDetails.Utils (line 141, column 1 - line 141, column 71): "+[e.constructor.name])};var QA=N1e("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 qrn=ua(te),zrn=aa(te)()(),kb=function(){function e(){}return e.value=new e,e}(),XU=function(){function e(){}return e.value=new e,e}(),DI=function(){function e(){}return e.value=new e,e}(),w0=function(e){return function(n){var t=function(o){return qrn("fe fe-external-link "+o)(un)},a=h2(n),r=Y(Ee(a.siteName)(e.text));return zrn(e.className)({href:a.url,target:"_blank",rel:"noopener"})(function(){if(e.icon instanceof kb)return r;if(e.icon instanceof XU)return ue([t("mr-1 large"),r]);if(e.icon instanceof DI)return ue([r,t("ml-1")]);throw new Error("Failed pattern match at SchoolDetails.Website (line 27, column 5 - line 30, column 54): "+[e.icon.constructor.name])}())}},J1e=function(){return w0({className:"text-body mt-1 d-inline-block",icon:kb.value,text:I.value})}();var Yrn=H(J),Xrn=aa(x)()(),eH=function(e){return e.chancing.endorsed?un:Yrn("my-1 ml-1 small text-gray-800")([Y("Chancing is not endorsed by "),Y(e.name),Y("."),Je(e.chancing.moreInfoLink)(function(n){return ue([Y(" If interested in applying, learn more about "),Xrn("")({href:n})("how to prepare ")])})])};var nH=X(B),q1e=Gn(x)()(),tH=xn(dt),uon=Gn(te)()(),lon=H(J),z1e=nn(x);var hd=function(){function e(){}return e.value=new e,e}(),Ub=function(){function e(){}return e.value=new e,e}(),Hb=function(){function e(){}return e.value=new e,e}(),gd=function(){function e(){}return e.value=new e,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}(),qb=function(){function e(){}return e.value=new e,e}(),Dd=function(){function e(){}return e.value=new e,e}(),$1e={to:function(e){if(e instanceof U)return hd.value;if(e instanceof p&&e.value0 instanceof U)return Ub.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof U)return Hb.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof U)return gd.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 Bb.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 Jb.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 Wb.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 qb.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0 instanceof p)return Dd.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 hd)return new U(ce.value);if(e instanceof Ub)return new p(new U(ce.value));if(e instanceof Hb)return new p(new p(new U(ce.value)));if(e instanceof gd)return new p(new p(new p(new U(ce.value))));if(e instanceof Bb)return new p(new p(new p(new p(new U(ce.value)))));if(e instanceof Jb)return new p(new p(new p(new p(new p(new U(ce.value))))));if(e instanceof Wb)return new p(new p(new p(new p(new p(new p(new U(ce.value)))))));if(e instanceof qb)return new p(new p(new p(new p(new p(new p(new p(new U(ce.value))))))));if(e instanceof Dd)return 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 Sem.SchoolDetails.Edit.Section (line 53, column 1 - line 53, column 34): "+[e.constructor.name])}},V1e=function(e){return!(e instanceof Dd)},Q1e=function(e){if(e instanceof hd)return"Basic Info";if(e instanceof Hb)return"Admissions";if(e instanceof gd)return"Costs";if(e instanceof Bb)return"Enrollment";if(e instanceof Jb)return"Application Requirements";if(e instanceof Wb)return"Academic Offerings";if(e instanceof qb)return"Chancing";if(e instanceof Ub)return"Header Image";if(e instanceof Dd)return"Message from the College";throw new Error("Failed pattern match at Sem.SchoolDetails.Edit.Section (line 145, column 16 - line 154, column 40): "+[e.constructor.name])},SI=function(e){if(e instanceof hd)return"basic";if(e instanceof Hb)return"admissions";if(e instanceof gd)return"costs";if(e instanceof Bb)return"enrollment";if(e instanceof Jb)return"admission-requirements";if(e instanceof Wb)return"academic-offerings";if(e instanceof qb)return"chancing";if(e instanceof Ub)return"header-image";if(e instanceof Dd)return"message-from-college";throw new Error("Failed pattern match at Sem.SchoolDetails.Edit.Section (line 157, column 13 - line 166, column 36): "+[e.constructor.name])},Y1e=function(e){return function(n){return function(t){return nH(e)(function(a){return q1e("btn btn-outline-primary t--text-edit-"+SI(n))({onClick:tH(a)(n)})(t)})}}},X1e=function(e){return function(n){return nH(e)(function(t){return uon("btn btn-outline-primary t--edit-"+SI(n))({onClick:tH(t)(n)})(lon("d-flex align-content-center")([z1e("material-symbol x-large")("edit"),z1e("ml-2")("Edit")]))})}},mi=function(e){return function(n){return nH(e)(function(t){return q1e("btn btn-link p-0 material-symbol x-large t--edit-"+SI(n))({onClick:tH(t)(n)})("edit")})}};var con=fe(At(lK)),son=Bn(Mn)(Ae),fon=zr(Eo),von=Q0(Oe)(bM),Z1e=Z(Ae),mon=q(kn),uv=H(J),K1e=xt(x),pon=pu(x),eye=nn(x),nye=H(te),tye=lt(x)()(),_on=ua(x),don=rt(x),hon=L(he),aH=function(e){var n=con(e.school.appGroup)(new d(sK)),t=function(){if(e.school.admissions.reqClassRank instanceof I||e.school.admissions.reqClassRank instanceof d&&e.school.admissions.reqClassRank.value0 instanceof li)return!1;if(e.school.admissions.reqClassRank instanceof d&&e.school.admissions.reqClassRank.value0 instanceof Sl||e.school.admissions.reqClassRank instanceof d&&e.school.admissions.reqClassRank.value0 instanceof dc)return!0;throw new Error("Failed pattern match at SchoolDetails.Overview.Applications (line 61, column 26 - line 65, column 28): "+[e.school.admissions.reqClassRank.constructor.name])}(),a=Ee(Sl.value)(e.school.admissions.reqStandardTests),r=ue([va(son(fon(von(a)([Sl.value,dc.value])))(function(){return Z1e(e.school.admissions.fracSubmittedSat)(function(o){return Z1e(e.school.admissions.fracSubmittedAct)(function(i){return mon(uv("row mb-4")([uv("col-12 text-nowrap mb1")([uv("d-flex align-items-center mb-4")([K1e("mr-2 mb-0")("Tests typically submitted"),pon("")(` 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. `)]),uv("")([Y("SAT: "),eye("font-weight-semibold")(Aa(o))]),nye("progress progress-md mt-3 mt-2")(tye("progress-bar")({style:Sn({width:HS(o)})})("")),Qa(""),uv("")([Y("ACT: "),eye("font-weight-semibold")(Aa(i))]),nye("progress progress-md mt-3")(tye("progress-bar")({style:Sn({width:HS(i)})})(""))])]))})})})),uv("d-flex align-items-center")([_on("fe fe-info large pr-2")(""),uv("")([Y(" Policies can change. Please confirm by looking at "),w0({className:"",icon:kb.value,text:new d("this school\u2019s website.")})(e.school.urls.main)])])]);return uv("card")([uv("card-body")([uv("d-flex align-items-center justify-content-between mb-4")([don("my-0 mr-3 flex-grow-1")("Applications"),va(mi(e.onEdit)(Jb.value))]),K1e("mb-4")("How to apply"),uv("mb-4")(hon(ll)([function(){return n?"Accepts Common App":"Doesn\u2019t accept Common App"}(),YK(a),function(){var o=Ee(Sl.value)(e.school.admissions.reqRecLetters);if(o instanceof li)return"Rec letters not used";if(o instanceof Sl)return"Rec letters optional";if(o instanceof dc)return"Rec letters required";throw new Error("Failed pattern match at SchoolDetails.Overview.Applications (line 42, column 9 - line 45, column 45): "+[o.constructor.name])}(),function(){return t?"Considers class rank":"Doesn\u2019t consider class rank"}(),function(){var o=Ee(Sl.value)(e.school.admissions.reqToefl);if(o instanceof li)return"TOEFL not used (international applicants)";if(o instanceof Sl)return"TOEFL optional (international applicants)";if(o instanceof dc)return"TOEFL required (international applicants)";throw new Error("Failed pattern match at SchoolDetails.Overview.Applications (line 49, column 9 - line 52, column 66): "+[o.constructor.name])}()])),r])])},aye=function(e){return aH(e)};var rye=pr(Wa),gon=Uo($5()(xT({reflectSymbol:function(){return"p25"}})()(xT({reflectSymbol:function(){return"p75"}})()(z5)(qu))(qu))),Hi=H(J),yd=H(te),oye=xt(x),lv=Xn(x),iye=qn(ja),uye=L(B),YA=n0(x),Don=function(e){return rye(e.p25+e.p75|0)(2)},lye=function(e){if(e instanceof d)return Aa(e.value0);if(e instanceof I)return"Not Reported";throw new Error("Failed pattern match at SchoolDetails.AdmissionRequirements (line 131, column 37 - line 133, column 28): "+[e.constructor.name])},rH=function(e){return Dh(",")("")(e)},zb=function(e){if(e instanceof d)return rH(ys(e.value0.p25)+(" - "+ys(e.value0.p75)));if(e instanceof I)return"Not Reported";throw new Error("Failed pattern match at SchoolDetails.AdmissionRequirements (line 136, column 33 - line 138, column 28): "+[e.constructor.name])},yon=function(e){return function(n){return Don(gon(e)(n))}},bon=function(e){return function(n){return{p25:e.p25+n.p25|0,p75:e.p75+n.p75|0}}},Ron=ue([Hi("row")([yd("col-12 col-md-7")(kr(x)("my-5")("Wondering your admission chance to this school? Calculate your chance now")),yd(" col-12 col-md-5 my-4")(tG()({text:"Calculate your admission chance",className:"btn btn-primary btn-block"}))])]),won=function(e){if(e instanceof d)return rH(ys(rye(e.value0.p25+e.value0.p75|0)(2)));if(e instanceof I)return"Not Reported";throw new Error("Failed pattern match at SchoolDetails.AdmissionRequirements (line 126, column 36 - line 128, column 28): "+[e.constructor.name])},Son=function(e){var n=function(t){return yd("card bg-white")(Hi("card-body")(t))};return yd("row")(Hi("col-12")([n([oye("")("SAT"),Hi("row")([Hi("col col-md-6")([lv("")("Average SAT "),$a("")(rH(ke("Not Reported")(ys)(iye(uye(yon)(e.admissions.satMath))(e.admissions.satVerbal))))]),Hi("col col-md-6")([lv("")("SAT 25th-75th"),$a("")(zb(iye(uye(bon)(e.admissions.satMath))(e.admissions.satVerbal)))])]),Hi("row")([Hi("col col-md-6")([lv("mt-5")("Students Submitting SAT"),$a("")(lye(e.admissions.fracSubmittedSat))])]),Hi("row")([Hi("col col-md-6")([lv("mt-5")("Math"),YA("text-muted")("Average (25th - 75th)"),$a("")(zb(e.admissions.satMath))]),Hi("col col-md-6")([lv("mt-5 text-nowrap")("Reading and Writing"),YA("text-muted")("Average (25th - 75th)"),$a("")(zb(e.admissions.satVerbal))])])]),n([oye("")("ACT"),Hi("row")([Hi("col col-md-6")([lv("")("Average ACT"),$a("")(won(e.admissions.actComposite))]),Hi("col col-md-6")([lv("")("ACT 25th-75th"),$a("")(zb(e.admissions.actComposite))])]),yd("row")(Hi("col col-md-6")([lv("mt-5")("Students Submitting ACT"),$a("")(lye(e.admissions.fracSubmittedAct))])),Hi("row")([Hi("col col-md-6")([lv("mt-5")("Math"),YA("text-muted")("Average (25th - 75th)"),$a("")(zb(e.admissions.actMath))]),Hi("col col-md-6")([lv("mt-5")("English"),YA("text-muted")("Average (25th - 75th)"),$a("")(zb(e.admissions.actVerbal))])])])]))},Eon=function(e){return yd("card")(Hi("card-body")([lv("")("Acceptance Rate"),$a("")(ke("Not reported")(function(n){return Aa(function(t){return t.value}(n))})(e.admissions.acceptanceRate))]))},Con=function(e){return yd("row")(yd("col-12")(Eon(e)))},cye=function(e){return ue([Con(e.school),Son(e.school),Ron,aH(e)])};var Ion=nn(x),Ton=ae(I2),oH=function(e){var n=function(t){return function(a){return Ion("badge font-weight-bold fw-bold py-2 "+t)(a)}};if(e.strategy instanceof Ya&&e.testPolicy instanceof d&&e.testPolicy.value0 instanceof li)return n("badge-apply-test-optional")("Test-blind admissions");if(e.testPolicy instanceof d&&e.testPolicy.value0 instanceof li)return Mo($o)("Received strategy, "+(Ton(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 Ya)return n("badge-apply-test-optional")("Apply test optional");if(e.strategy instanceof yr&&e.satOrigin instanceof d&&e.satOrigin.value0 instanceof U1)return n("badge-apply-with-sat")("Apply with SAT (projected from PSAT)");if(e.strategy instanceof yr)return n("badge-apply-with-sat")("Apply with SAT");if(e.strategy instanceof Ur)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 Fon=L(kf),Mon=qn(ja),Gon=L(B),iH=H(te),sye=H(J),fye=xt(x),Aon=e0(te)()(),uH=nn(x),vye=ae(ze),mye=ua(x),xon=on(),pye=X(B),Lon=X(kf);var lH=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),_ye=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),cH=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),$b=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}(),Vb=function(){function e(){}return e.value=new e,e}(),Qb=function(){function e(){}return e.value=new e,e}(),Yb=function(){function e(){}return e.value=new e,e}(),jon=function(e){return e};var XA={map:function(e){return function(n){return Fon(function(t){return{regular:e(t.regular),simulated:e(t.simulated)}})(n)}}},dye=function(e){return AS(function(n){return Mon(Gon(function(t){return function(a){return a-t|0}})(n.regular.score))(n.simulated.score)})(e)},EI=function(e){return iH("card")(iH("card-body")(sye("row")([iH("col-8 "+function(){return e.narrowLayout?"":"order-1"}())(fye("")("Chancing for this school is coming soon")),sye("col-4 order-md-0 d-flex flex-column align-items-center "+function(){return e.narrowLayout?"":"order-0"}())([Aon("")({viewBox:"-100 -100 200 100"})(Mb({center:{x:0,y:0},angle0:0,angle1:Nv,innerRadius:50,outerRadius:90,fill:"#EDF2F9",stroke:{color:"#EDF2F9",width:1}})),fye("text-muted mt-2")("N/A")])])))};var ZA=function(e){if(e instanceof lH)return new d(e.value0);if(e instanceof _ye)return vo(e.value0);if(e instanceof cH)return new d(Ee(e.value0.regular)(vo(e.value0.simulated)));throw new Error("Failed pattern match at Hub.Chancing (line 55, column 19 - line 58, column 101): "+[e.constructor.name])};var hye=function(e){return function(n){return function(t){if(t instanceof qt&&t.value0>0)return uH("text-success "+e)("+"+(vye(t.value0)+"%"));if(t instanceof qt&&t.value0<0)return uH("text-danger "+e)("-"+(vye(-t.value0|0)+"%"));if(t instanceof qt)return un;if(t instanceof Ra)return un;if(t instanceof nr)return uH("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])}(dye(n))}},gye=function(e){return function(n){return function(t){if(t instanceof qt&&t.value0>0)return mye("fe fe-arrow-up text-success "+e)("");if(t instanceof qt&&t.value0<0)return mye("fe fe-arrow-down text-danger "+e)("");if(t instanceof qt)return un;if(t instanceof Ra)return un;if(t instanceof nr)return un;throw new Error("Failed pattern match at Hub.Chancing (line 172, column 46 - line 177, column 25): "+[t.constructor.name])}(dye(n))}},KA=function(e){var n=function(a){return function(r){if(e.chancingState.simulation instanceof d)return new $b(e.chancingState.simulation.value0.effectiveProfile,new cH({regular:r,simulated:e.chancingState.simulation.value0.results(e.school.id)}));if(e.chancingState.simulation instanceof I)return new $b(xon(a),new lH(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 Mo($o)("Both chancing data and profile are present, but chancing result is absent")({schoolId:e.school.id})(function(r){return Yb.value})};if(!e.school.chancing.canChance)return Yb.value;if(e.currentUser instanceof I||e.chancingState.permanentProfile instanceof I)return Qb.value;if(e.chancingState.permanentProfile instanceof d){if(e.chancingState.chances instanceof Ra)return t(Ce);if(e.chancingState.chances instanceof nr&&e.chancingState.chances.value0 instanceof I)return Vb.value;if(e.chancingState.chances instanceof nr&&e.chancingState.chances.value0 instanceof d)return Ee(Vb.value)(pye(e.chancingState.chances.value0.value0(e.school.id))(n(e.chancingState.permanentProfile.value0)));if(e.chancingState.chances instanceof qt)return PT(t)(pye(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])},ex=function(e){return jon(function(n){if(n instanceof lH)return Ra.value;if(n instanceof _ye)return Ra.value;if(n instanceof cH)return Lon(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 Non=L(he),Pon=Xn(x),Dye=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 m_)return a;if(e instanceof Qh||e instanceof Yh)return n;if(e instanceof Xh)return t;throw new Error("Failed pattern match at SchoolDetails.Chancing.Classification (line 17, column 18 - line 21, column 38): "+[e.constructor.name])}();return ue(Non(Pon(""))(r))};var Xb=H(te),sH=ua(x),Oon=lt(x)()(),kon=pr(Wa),Uon=Pt(Lr),Hon=qn(ja),Bon=L(B),fH=H(J),Jon=nn(J),Won=nn(x),qon=Gn(J)()(),zon=ia(sr),Zb=Xb("col-auto")(aa(J)()()("")({href:Hm})([sH("fe fe-edit-2")(""),Y(" edit")])),Kb=function(e){if(e instanceof hm)return"success";if(e instanceof gm)return"primary";if(e instanceof Bf)return"warning";if(e instanceof Tc)return"secondary";throw new Error("Failed pattern match at SchoolDetails.Chancing.Common (line 109, column 17 - line 113, column 28): "+[e.constructor.name])},Yg=function(e){return function(n){return function(t){return Xb("progress progress-"+e)(Oon("progress-bar bg-"+n)({style:Sn({width:HS(t)})})(""))}}},yye=function(e){var n=function(t){return function(a){return kon(t+a|0)(2)}};return{p25:e.p25,p75:e.p75,p50:Uon(e.p50)(Hon(Bon(n)(e.p25))(e.p75))}},bd=function(e){return function(n){var t=Kb(n),a=function(r){return function(o){return fH("d-flex large font-weight-bold fw-bold mb-3")([sH("mr-3 fe fe-"+(o+(" text-"+t)))(""),Jon("")([Y(e),Won("text-"+t)(" \u2013 "+r)])])}};if(n instanceof hm)return a("above average")("check-circle");if(n instanceof gm)return a("about average")("thumbs-up");if(n instanceof Bf)return a("below average")("trending-down");if(n instanceof Tc)return a("N/A")("refresh-ccw");throw new Error("Failed pattern match at SchoolDetails.Chancing.Common (line 91, column 3 - line 95, column 45): "+[n.constructor.name])}},vH=function(e){if(e.expanded){var n=qon("btn btn-link px-0 t--show-less")({onClick:zon(e.onCollapse)})([Y("show less "),sH("fe fe-chevron-up")("")]);return Xb("card bg-very-light-grey mt-3")(fH("card-body "+e.card.testClass)([fH("row")([Xb("col")(e.card.title),Xb("col-auto d-none d-md-block")(n)]),e.card.content,Xb("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 42, column 1 - line 42, column 89): "+[e.constructor.name])},bye=function(e){return Dt(e.p25)&&Dt(e.p50)&&Dt(e.p75)};var Rye=H(J),wye=H(x),Sye=Xn(J),Eye=Ga(x),$on=ae(ze),Von=aa(x)()(),Cye=function(e){return function(n){var t=Rye("row mb-2")([wye("col-auto pr-0 large")("Your coursework"),En(e.showUpdateLinks)(Zb)]),a=Sye("")([Y("Coursework rigor is "),Eye("")("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([Eye("")($on(Ee(0)(u))),Y(" "+(l+" "))])}},o=wye("mb-3 large font-weight-bold fw-bold text-"+Kb(n.chances.courseRigorStrength))(function(){if(n.chances.courseRigorStrength instanceof Tc)return"";if(n.chances.courseRigorStrength instanceof Bf)return"Your coursework is below average for this school";if(n.chances.courseRigorStrength instanceof gm)return"Your coursework is about average for this school";if(n.chances.courseRigorStrength instanceof hm)return"Your coursework is above average for this school";throw new Error("Failed pattern match at SchoolDetails.Chancing.CourseRigor (line 44, column 9 - line 48, column 82): "+[n.chances.courseRigorStrength.constructor.name])}()),i=Sye("mb-0")([Y("Read about what "),Von("")({href:"https://blog.collegevine.com/category/academics/choosing-classes/",target:"_blank"})("courses you should take"),Y(".")]);return{title:bd("Coursework")(n.chances.courseRigorStrength),testClass:"t--course-rigor",content:ue([t,Rye("")([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 Ki=function(){function e(){}return e.value=new e,e}(),eu=function(){function e(){}return e.value=new e,e}(),Iye={show:function(e){if(e instanceof Ki)return"SAT";if(e instanceof eu)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 Tye=function(e){if(e instanceof Ki)return eu.value;if(e instanceof eu)return Ki.value;throw new Error("Failed pattern match at Chancing.Guidance.Types.StandardizedTest (line 27, column 1 - line 27, column 46): "+[e.constructor.name])};var Qon=ro(Oe)(vt),Fye=function(){function e(){}return e.value=new e,e}(),Mye=function(){function e(){}return e.value=new e,e}(),Gye=function(e){return function(n){var t=function(){if(e instanceof Fye)return"and";if(e instanceof Mye)return"or";throw new Error("Failed pattern match at Utils.Text (line 26, column 24 - line 28, column 19): "+[e.constructor.name])}(),a=vQ(n);return a.init.length===0?a.last:a.init.length===1?a.init[0]+(" "+(t+(" "+a.last))):Qon(", ")(a.init)+(", "+(t+(" "+a.last)))}},Aye=function(){return Gye(Fye.value)}(),xye=function(){return Gye(Mye.value)}();var Bs=ba(Oe)(vt),Lye=L(Z0),ku=ae(ze),nu=q(kn),nx=ae(C9),tx=J0()(),jye=Di({reflectSymbol:function(){return"math"}}),cv=$c(ze),Nye=$c(Wi),sv=ae(tx(Di({reflectSymbol:function(){return"act"}})(Di({reflectSymbol:function(){return"courseRigor"}})(Di({reflectSymbol:function(){return"ecActivities"}})(Di({reflectSymbol:function(){return"ecScore"}})(Di({reflectSymbol:function(){return"gpa"}})(Di({reflectSymbol:function(){return"psatPredictedCompositeSAT"}})(zc({reflectSymbol:function(){return"sat"}})(tx(jye(zc({reflectSymbol:function(){return"readingWriting"}})(cv))(cv))))(cv))(Nye))(Nye))(hl(k9)))(tx(Di({reflectSymbol:function(){return"ap"}})(Di({reflectSymbol:function(){return"collegeClasses"}})(zc({reflectSymbol:function(){return"honors"}})(cv))(cv))(cv))))(tx(Di({reflectSymbol:function(){return"english"}})(jye(Di({reflectSymbol:function(){return"reading"}})(zc({reflectSymbol:function(){return"science"}})(cv))(cv))(cv))(cv))))),Xg=ae(Iye),Yon=jte(pw)(C2),Rd=ae(T9),eR=fe(I9(O1)),Pye=ae(cv),ax=X(B),Xon=aa(x)()(),Zon=xt(x),Kon=Xn(te),ein=Xn(J),nin=Ga(x),tin=function(e){return e},ain=function(e){return e},mH=function(e){if(e instanceof Ki)return yr.value;if(e instanceof eu)return Ur.value;throw new Error("Failed pattern match at SchoolDetails.Chancing.Guidance (line 551, column 18 - line 553, column 22): "+[e.constructor.name])},rin=function(e){if(e instanceof yr)return"with SAT";if(e instanceof Ur)return"with ACT";if(e instanceof Ya)return"with a test-optional application";throw new Error("Failed pattern match at SchoolDetails.Chancing.Guidance (line 545, column 17 - line 548, column 58): "+[e.constructor.name])},CI=function(e){return function(n){return Bs(["Your simulated chances of admission ",Aye(Lye(rin)(_Q(e)(n)))," are very close."])}},Oye=60,fv=function(e){return function(n){return Mo($o)("SchoolDetails.Chancing.Guidance: Invalid state: "+e)(n)(function(t){return I.value})}},kye=3,II=pu(x)("text-secondary ml-1")(Bs(["If your SAT or ACT scores fall within ",ku(Oye)," points of the 25th percentile score (SAT) or ",ku(kye)," points of the 25th percentile score (ACT)"," for accepted students at a given college,"," then you should go ahead and submit them."])),rx=function(e){return ue([Y(Bs([CI(Ya.value)(sh(mH(e.standardizedTest)))," But because your score ",ku(e.actualScore)," is ",function(){if(e.recommendedStrategy instanceof yr||e.recommendedStrategy instanceof Ur)return"higher";if(e.recommendedStrategy instanceof Ya)return"lower";throw new Error("Failed pattern match at SchoolDetails.Chancing.Guidance (line 490, column 7 - line 493, column 37): "+[e.recommendedStrategy.constructor.name])}()," than ",ku(e.guidanceScore)])),II,Y(Bs([", we recommend you apply ",function(){if(e.recommendedStrategy instanceof yr)return"with SAT";if(e.recommendedStrategy instanceof Ur)return"with ACT";if(e.recommendedStrategy instanceof Ya)return"test-optional";throw new Error("Failed pattern match at SchoolDetails.Chancing.Guidance (line 500, column 7 - line 503, column 45): "+[e.recommendedStrategy.constructor.name])}(),"."]))])},oin=function(e){return function(n){return function(t){return function(a){var r=B9(n),o=R_(n);if(e instanceof r0&&e.value0 instanceof dm&&r instanceof d&&o instanceof d)return nu({title:"Applying test-optional should be best for you",body:ue([Y(Bs([CI(Ya.value)(YD(yr.value)([Ur.value]))," But because your SAT score ",ku(r.value0)," is lower than ",ku(t)])),II,Y(Bs([" and your ACT score ",ku(o.value0)," is lower than ",ku(a)])),II,Y(", we recommend you apply test-optional.")])});if(e instanceof r0&&e.value0 instanceof dm)return fv("\u2018Apply test optional too close with SAT + ACT\u2019 recommended but not both tests reported.")({guidance:nx(e),profile:sv(n)});if(e instanceof r0&&r instanceof I&&o instanceof I)return fv("\u2018Apply test optional too close with\u2026\u2019 recommended but no other tests reported.")({guidance:nx(e),profile:sv(n)});if(e instanceof r0&&e.value0 instanceof Uf&&r instanceof d)return nu({title:"Applying test-optional should be best for you",body:rx({standardizedTest:Ki.value,actualScore:r.value0,guidanceScore:t,recommendedStrategy:Ya.value})});if(e instanceof r0&&e.value0 instanceof Uf&&r instanceof I)return fv("\u2018Apply test optional (SAT too close)\u2019: No SAT reported.")({guidance:nx(e),profile:sv(n)});if(e instanceof r0&&e.value0 instanceof Hf&&o instanceof d)return nu({title:"Applying test-optional should be best for you",body:rx({standardizedTest:eu.value,actualScore:o.value0,guidanceScore:a,recommendedStrategy:Ya.value})});if(e instanceof r0&&e.value0 instanceof Hf&&o instanceof I)return fv("\u2018Apply test optional (ACT too close)\u2019: No ACT reported.")({guidance:nx(e),profile:sv(n)});if(e instanceof zS&&r instanceof I&&o instanceof I)return nu({title:"Applying test-optional should be best for you",body:Y(Bs(["You\u2019re good to apply without a test score."," If you later decide to take a test, a score of ",ku(t),"+ for SAT or ",ku(a),"+ for ACT will make your chance higher at this school."]))});if(e instanceof zS)return nu({title:"Applying test-optional should be best for you",body:Y(Bs(["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 I)return"SAT";if(r instanceof I&&o instanceof d)return"ACT";if(r instanceof I&&o instanceof I)return ec("SchoolDetails.Chancing.Guidance: No tests reported.");throw new Error("Failed pattern match at SchoolDetails.Chancing.Guidance (line 182, column 13 - line 191, column 86): "+[r.constructor.name,o.constructor.name])}(),"."]))});throw new Error("Failed pattern match at SchoolDetails.Chancing.Guidance (line 94, column 3 - line 194, column 10): "+[e.constructor.name,r.constructor.name,o.constructor.name])}}}},iin=function(e){return function(n){return function(t){return function(a){var r=function(f){return"Applying with "+(Xg(f)+" should be best for you")},o=function(f){return ue([Y(Bs([Gv(CI)(function(){return f.includeTestOptional?new Ue(Ya.value,YD(yr.value)([Ur.value])):new Ue(mH(f.stronger.test),Lye(mH)(sh(f.weaker.test)))}())," But because your ",Xg(f.stronger.test)," score ",ku(f.stronger.actualScore)," is higher than ",ku(f.stronger.guidanceScore)])),II,Y(Bs([" and your ",Xg(f.weaker.test)," score ",ku(f.weaker.actualScore)," is lower than ",ku(f.weaker.guidanceScore)])),II,Y(Bs([", we recommend you apply with ",Xg(f.stronger.test),"."]))])},i=B9(n),u=R_(n),l=function(f){return function(v){return Yon(YD(f)([v]))}},c=function(f){return"Your simulated chances of admission with "+(Xg(f)+(" are significantly higher than with a test-optional"+(" application and with "+(Xg(Tye(f))+"."))))},s=function(f){return Y("Your simulated chances of admission with "+(Xg(f)+" are significantly higher than with a test-optional application."))};if(e instanceof Ic&&e.value0 instanceof dm&&i instanceof d&&u instanceof d)return nu({title:"You can apply with either SAT or ACT, or submit both of them",body:Y(Or(" ")([CI(Ya.value)(YD(yr.value)([Ur.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 Ic&&e.value0 instanceof dm)return fv("\u2018Apply with tests: SAT + ACT + test-optional too close\u2019 recommended but not both tests reported.")({guidance:Rd(e),profile:sv(n)});if(e instanceof Rs&&e.value0 instanceof dm&&i instanceof d&&u instanceof d)return nu({title:"You can apply with either SAT or ACT, or submit both of them",body:Y(Or(" ")([CI(yr.value)(sh(Ur.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 Rs&&e.value0 instanceof dm)return fv("\u2018Apply with tests: SAT + ACT too close\u2019 recommended but not both tests reported.")({guidance:Rd(e),profile:sv(n)});if(e instanceof Ic&&i instanceof I&&u instanceof I)return fv("\u2018Apply with tests: [test] strongest (test-optional and [test] too close)\u2019 recommended but no tests reported.")({guidance:Rd(e),profile:sv(n)});if(e instanceof Ic&&e.value0 instanceof Uf&&i instanceof d&&eR(e.value1)(k1(Ya.value)))return nu({title:r(Ki.value),body:rx({standardizedTest:Ki.value,actualScore:i.value0,guidanceScore:t,recommendedStrategy:yr.value})});if(e instanceof Ic&&e.value0 instanceof Hf&&u instanceof d&&eR(e.value1)(k1(Ya.value)))return nu({title:r(eu.value),body:rx({standardizedTest:eu.value,actualScore:u.value0,guidanceScore:a,recommendedStrategy:Ur.value})});if(e instanceof Ic&&e.value0 instanceof Uf&&i instanceof d&&u instanceof d&&eR(e.value1)(l(Ur.value)(Ya.value)))return nu({title:r(Ki.value),body:o({stronger:{test:Ki.value,actualScore:i.value0,guidanceScore:t},weaker:{test:eu.value,actualScore:u.value0,guidanceScore:a},includeTestOptional:!0})});if(e instanceof Ic&&e.value0 instanceof Hf&&i instanceof d&&u instanceof d&&eR(e.value1)(l(yr.value)(Ya.value)))return nu({title:r(eu.value),body:o({stronger:{test:eu.value,actualScore:u.value0,guidanceScore:a},weaker:{test:Ki.value,actualScore:i.value0,guidanceScore:t},includeTestOptional:!0})});if(e instanceof Ic&&e.value0 instanceof Uf&&i instanceof d&&u instanceof d&&eR(e.value1)(k1(Ur.value)))return nu({title:r(Ki.value),body:o({stronger:{test:Ki.value,actualScore:i.value0,guidanceScore:t},weaker:{test:eu.value,actualScore:u.value0,guidanceScore:a},includeTestOptional:!1})});if(e instanceof Ic&&e.value0 instanceof Hf&&i instanceof d&&u instanceof d&&eR(e.value1)(k1(yr.value)))return nu({title:r(eu.value),body:o({stronger:{test:eu.value,actualScore:u.value0,guidanceScore:a},weaker:{test:Ki.value,actualScore:i.value0,guidanceScore:t},includeTestOptional:!1})});if(e instanceof Ic)return fv(Bs(["\u2018Apply with tests: \u2026 too close\u2019: Unknown state:"," guidance: ",Rd(e),", SAT: ",Pye(i),", ACT: ",Pye(u),", SAT guidance: ",ku(t),", ACT guidance: ",ku(a)]))({guidance:Rd(e),profile:sv(n)});if(e instanceof Rs&&i instanceof I&&u instanceof I)return fv("\u2018Apply with tests: [test] strongest\u2019 recommended but no tests reported.")({guidance:Rd(e),profile:sv(n)});if(e instanceof Rs&&e.value0 instanceof Uf&&i instanceof d&&u instanceof d)return nu({title:r(Ki.value),body:Y(c(Ki.value))});if(e instanceof Rs&&e.value0 instanceof Hf&&i instanceof d&&u instanceof d)return nu({title:r(eu.value),body:Y(c(eu.value))});if(e instanceof Rs&&e.value0 instanceof Uf&&i instanceof d&&u instanceof I)return nu({title:r(Ki.value),body:s(Ki.value)});if(e instanceof Rs&&e.value0 instanceof Uf&&i instanceof I&&u instanceof d)return fv("\u2018Apply with tests: SAT strongest\u2019 recommended but ACT test reported.")({guidance:Rd(e),profile:sv(n)});if(e instanceof Rs&&e.value0 instanceof Hf&&i instanceof I&&u instanceof d)return nu({title:r(eu.value),body:s(eu.value)});if(e instanceof Rs&&e.value0 instanceof Hf&&i instanceof d&&u instanceof I)return fv("\u2018Apply with tests: ACT strongest\u2019 recommended but SAT reported.")({guidance:Rd(e),profile:sv(n)});throw new Error("Failed pattern match at SchoolDetails.Chancing.Guidance (line 207, column 3 - line 390, column 59): "+[e.constructor.name,i.constructor.name,u.constructor.name])}}}},uin=function(e){return function(n){return function(t){var a=ax(ax(t.sat.p25)(function(o){return o-Oye|0}))(tin),r=ax(ax(t.act.p25)(function(o){return o-kye|0}))(ain);if(a instanceof d&&r instanceof d){if(e instanceof F9)return oin(e.value0)(n)(a.value0)(r.value0);if(e instanceof M9)return iin(e.value0)(n)(a.value0)(r.value0);throw new Error("Failed pattern match at SchoolDetails.Chancing.Guidance (line 67, column 7 - line 71, column 85): "+[e.constructor.name])}return nu({title:"We\u2019re still collecting detailed guidance data\u2026",body:ue([Y("Learn more about the "),Xon("")({href:"https://blog.collegevine.com/test-optional-coronavirus-policies"})("best test optional strategy recommendation"),Y(".")])})}}},Uye=function(e){return function(n){return function(t){var a=uin(e)(n)(t);return Je(a)(function(r){return ue([Zon("")("Recommendation: "+r.title),Kon("")(r.body),function(){var o=uE(n);if(o instanceof d&&o.value0 instanceof U1)return ein("")([nin("")("Note:"),Y(" "),Y("Your SAT score is projected based on your PSAT score.")]);if(o instanceof d&&o.value0 instanceof QS)return un;if(o instanceof I)return un;throw new Error("Failed pattern match at SchoolDetails.Chancing.Guidance (line 38, column 9 - line 48, column 20): "+[o.constructor.name])}()])})}}};var lin=Gn(J)()(),cin=xn(dt),Hye=fe(W_),sin=ua(x),Bye=H(J),fin=n0(x),TI=Xn(x),Jye=xt(x),vin=kr(x),Wye=H(te),min=H(x),FI=function(e){var n=function(a){return lin("btn btn-link p-0 ml-2 d-flex align-items-center")({onClick:cin(a.value1)(m0(a.value0))})([Y(function(){var r=Hye(a.value0)(ar.value);return r?"show less ":"show more "}()),sin("fe fe-chevron-"+function(){var r=Hye(a.value0)(ar.value);return r?"up":"down"}())("")])},t=function(a){return Bye("card-body pb-3")([fin("text-uppercase text-secondary")("Learn about chancing"),TI("")("Colleges evaluate profiles using both academic and holistic reasons."),Jye("my-2")("We evaluate your profile like colleges do, considering all factors."),TI("")("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)."),Jye("my-2")("Academics are more than just grades, which we take into account."),TI("")("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."),Qa("border-gray-500"),vin("")("How does the chancing calculator help me without counting in all the holistic factors?"),TI("")("You can use it as your baseline for building school lists, improving your profile, and coming up with application strategies."),TI("")("We also have tools and resources that can assist with writing essays and improving other holistic aspects."),Je(a)(function(r){return Wye("d-flex justify-content-end")(n(r))})])};return Wye("card bg-light t--sidebar")(function(){return e.mobileLayout?d1(ca(za.value))(function(a){var r=ri(a);if(r instanceof za)return Bye("card-body pb-3 d-flex align-items-center justify-content-between")([min("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 15, column 49 - line 22, column 34): "+[r.constructor.name])}):t(I.value)}())};var qye=gn(hn),vv=dn(qye)(vn(fn)),zye=pn(mn),mv=_n(zye),$ye=bn(yn),pv=Dn($ye),pin=X(B),_in=fe(ws),din=l_(J),hin=qM(te),Vye=i_(J),pH=zM(x),gin=u_(J),Din=X(he),yin=yl(au),bin=Kv(x),Rin=Kv(J),Qye=nn(x),win=Kv(te),Sin=H(J),Ein=H(x),Cin=function(){var e=Rn(S_)(vv(vv(vv(vv(vv(vv(vv(vv(vv(vv(vv(qye)(zye))(mv))(mv))(mv))(mv))(mv))(mv))(mv))(mv))(mv))(mv))(pv(pv(pv(pv(pv(pv(pv(pv(pv(pv(pv($ye))))))))))))(mv),n=ft(_a(e));return Lv(function(t){return function(a){return{tier:a,strength:1-ft(t)/n}}})(e)}(),Yye=function(e){return function(n){return function(t){var a=function(c){return Ee(0)(pin(jv(function(s){return _in(s.tier)(c)})(Cin))(function(s){return s.strength}))},r=din("table border border-light border-3")([hin("")(Vye("")([pH("")("Activity"),pH("")("Tier"),pH("")("Strength")])),gin("bg-white")(Din(yin(function(c){return-a(Ll(c))})(n.ecActivities))(function(c){return Vye("")([bin("")(E_(c)),Rin("")([Qye("d-none d-md-inline")(J1(Ll(c))),Qye("d-md-none")(N9(Ll(c)))]),win("pt-4")(Yg("sm")("primary")(a(Ll(c))))])}))]),o=bi(n.ecActivities),i=function(){if(o)return Tc.value;if(Le)return t.ecStrength;throw new Error("Failed pattern match at SchoolDetails.Extracurriculars (line 30, column 5 - line 32, column 39): "+[])}(),u=function(){if(i instanceof Bf)return Y("A typical student from your demographic background at this school has a stronger resume.");if(i instanceof gm)return Y("A typical student from your demographic background at this school has a similar resume.");if(i instanceof hm)return Y("Your resume is more impressive than that of a typical student from your demographic background at this school.");if(i instanceof Tc)return un;throw new Error("Failed pattern match at SchoolDetails.Extracurriculars (line 64, column 26 - line 72, column 16): "+[i.constructor.name])}(),l=Sin("row mb-2")([Ein("col-auto pr-0 font-weight-bold fw-bold")(function(){return o?"You haven't entered any extracurriculars":"Your extracurricular resume"}()),En(e.showUpdateLinks)(Zb)]);return{title:bd("Extracurriculars")(i),testClass:"t--extracurriculars",content:ue([l,En(!o)(r),u])}}}};var MI=function(e){var n=hr(e);return n.length===0?I.value:new d(ue(n))};var Xye=Z(Ae),Zye=q(kn),Kye=Ob(x),Iin=e0(J)()(),GI=H(te),_H=ae(ze),ebe=pr(Wa),Zg=H(J),nbe=xt(x),tbe=dd(x)(x),abe=nn(x),Tin=lt(x)()(),Fin=qn(ja),nR=L(B),Min=ba(Oe)(vt),Gin=L(bu),Ain=on(),xin=rt(x),Lin=function(e){var n=function(t){return $g(_d(function(a){return a.percentile}(t)))};return Xye(e.admissions.yieldRate)(function(t){return Zye(ue([Kye("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, `+(Aa(t.value)+(" is "+(n(t)+`. `)))),$a("mr-1")(Aa(t.value))]))})},rbe=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 126, column 7 - line 131, column 63): "+[])}();return e+t}},tR=function(e){var n=function(r){return function(o){return function(i){return Mb({center:{x:0,y:0},angle0:r,angle1:o,innerRadius:50,outerRadius:90,fill:i,stroke:{color:"#EDF2F9",width:4}})}}},t=va(Xye(e.score)(function(r){var o=Nv*(1-ft(r)/100);return Zye(n(o)(Nv)("#008CFD"))})),a=n(0)(Nv)("#EDF2F9");return Iin("")({viewBox:"-100 -100 200 100"})([a,t])},jin=function(e){return GI("t--admissions-website")(w0({className:"d-flex align-items-center",icon:XU.value,text:I.value})(Ee(e.urls.main)(e.urls.admissions)))},dH=function(e){var n=function(o){return function(i){var u=function(l){return _H(ebe(l(i)*100|0)(l(o)))+"%"};return Zg("mb-4")([nbe("mb-4")("Acceptance rate breakdown"),tbe([{title:"Women",value:u(function(l){return l.women})},{title:"Men",value:u(function(l){return l.men})}])])}},t=function(o){return ue([nbe("mb-4")("Applicant breakdown"),tbe([{title:"Total number of applicants",value:ys(o.value)}])])},a=function(o){var i=o.women+o.men|0,u=ebe(o.women*100|0)(i),l=_H(100-u|0)+"%",c=_H(u)+"%";return ue([Zg("row mb-3")([Zg("col")([Y("Women: "),abe("font-weight-semibold")(c)]),Zg("col-auto")([Y("Men: "),abe("font-weight-semibold")(l)])]),GI("progress progress-md bg-warning")(Tin("progress-bar")({style:Sn({width:c})})(""))])},r=hr([Fin(nR(n)(e.admissions.applicants))(e.admissions.admitted),nR(t)(e.admissions.totalApplicants),nR(a)(e.admissions.applicants)]);return r.length===0?I.value:new d(ue(r))},Kg=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 115, column 5 - line 120, column 57): "+[a.constructor.name])},t=ke("")(function(a){return Min([Aa(a.value)," is ",n(a.value),"."])})(e.admissions.acceptanceRate);return a0(g2.value)+t},obe=function(e){return function(n){var t=function(r){return ue([Kye("Overall acceptance rate")(Kg(n)),$a("mr-1")(Aa(r.value))])},a=MI([nR(GI("row"))(MI([nR(Gin(GI("col-12 col-md-6 mb-4"))(t))(Ain(n).admissions.acceptanceRate),nR(GI("col-12 col-md-6 mb-4"))(Lin(n))])),dH(n)]);return Zg("card t--admission-stats")([Zg("card-body")([Zg("d-flex mb-4 align-items-center")([xin("mb-0 flex-grow-1")("Admissions"),va(mi(e.onEdit)(Hb.value))]),Je(a)(function(r){return ue([r,Qa("")])}),jin(n)])])}};var Nc=H(J),hH=nn(x),ep=Ga(x),eD=Z(Ae),ibe=q(kn),gH=VS(yt),ube=H(x),aR=ae(ze),lbe=H(te),Nin=X(B),cbe=Xn(J),Pin=Xn(x),Oin=one(x),kin=aa(x)()(),Uin=VS(au),DH=function(e){return function(n){return Nc("row align-items-center mb-2")([Nc("col-auto pr-0")([hH("mr-2")("You:"),function(){if(n.score instanceof I)return hH("text-secondary")("N/A");if(n.score instanceof d)return ep("")(n.showScore(n.score.value0));throw new Error("Failed pattern match at SchoolDetails.TestScores (line 199, column 7 - line 201, column 49): "+[n.score.constructor.name])}(),En(n.simulated)(hH("text-muted ml-2")("(simulated)"))]),En(e.showUpdateLinks)(Zb)])}},sbe=function(e){var n=VS(e);return function(t){return function(a){var r=n(a.score)(a.percentiles);return r instanceof Bf?Je(a.percentiles.p50)(function(o){return Nc("mt-3")([Y("Improving your "+(t+" can help your chances, especially if you can earn a ")),ep("")(a.showScore(o)),Y(" or higher.")])}):un}}},Hin=sbe(au),fbe=sbe(yt),vbe=function(e){var n=VS(e);return function(t){if(t.score instanceof I)return un;if(t.score instanceof d){var a=Yg("md")(Kb(n(new d(t.score.value0))(t.percentiles)))(t.normalizeScore(t.score.value0)),r=va(eD(t.percentiles.p25)(function(o){return eD(t.percentiles.p75)(function(i){return eD(t.percentiles.p50)(function(u){return ibe(ue([Nc("mb-2 mt-3")([Y("Typical accepted student: "),ep("")(t.showScore(u)),Y(" ("+(t.showScore(o)+("\u2013"+(t.showScore(i)+")"))))]),Yg("md")("secondary")(t.normalizeScore(u))]))})})}));return Nc("mb-2")([a,r])}throw new Error("Failed pattern match at SchoolDetails.TestScores (line 219, column 1 - line 219, column 72): "+[t.constructor.name])}},Bin=vbe(au),mbe=vbe(yt),pbe=Nc("mt-3")([Y("Standardized tests are "),ep("")("important"),Y(" for your admissions chances.")]),ox=function(e){var n=yye(e.percentiles),t=gH(e.score)(n);return Ee(un)(eD(e.score)(function(a){return eD(n.p25)(function(r){return eD(n.p50)(function(o){return eD(n.p75)(function(i){return ibe(Nc("col-6 my-3")([ube("large mb-2")(e.title),Nc("")([Y("You: "),ep("")(aR(a))]),lbe("my-2")(Yg("sm")(Kb(t))(e.normalizeScore(a))),lbe("mb-2 mt-3")(Yg("sm")("secondary")(e.normalizeScore(o))),Nc("small")([Y("Typical accepted: "),ep("")(aR(o)),Y(" ("+(aR(r)+("\u2013"+(aR(i)+")"))))])]))})})})}))},yH=function(e){return function(n){return Ee(!1)(Nin(e.chancingState.simulation)(function(t){return t.isFieldSimulated(n)}))}},bH=ube("d-flex align-items-center mb-2 large"),Jin=function(e){return function(n){return function(t){return ue([bH("Notes on Test Optional"),cbe("")([ep("")("Our take: consider applying test optional for this school.")]),Pin("")("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."),En(bye(t.percentiles))(Je(t.percentiles.p25)(function(a){return cbe("")([Y("For reference, we estimate that the 25"),Oin("")("th"),Y(" percentile "+(n+" score at this school is ")),ep("")(t.showScore(a)),Y(". So if you\u2019re around or below this score, it would make sense to apply test optional.")])}))])}}},_be=Jin(yt),RH=function(e){return function(n){return Nc("my-3")([Y("Read about "),kin("")({href:n,target:"_blank"})(e),Y(".")])}},dbe=function(e){return function(n){var t=Nc("mt-4")([Y("GPA is "),ep("")("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:r_("0.00"),simulated:yH(e)(pue.value)};return{title:bd("GPA")(Uin(a.score)(a.percentiles)),testClass:"t--gpa",content:ue([DH(e)(a),Bin(a),t,Hin("GPA")(a),RH("how to increase your GPA")("https://blog.collegevine.com/improve-your-high-school-gpa-with-these-5-strategies/")])}}},hbe=function(e){return function(n){var t=Nc("row")([ox({title:"Math ",score:n.chancingProfile.sat.math,percentiles:n.schoolStats.sat.math,normalizeScore:function(u){return ft(u)/800}}),ox({title:"Reading and Writing",score:n.chancingProfile.sat.readingWriting,percentiles:n.schoolStats.sat.readingWriting,normalizeScore:function(u){return ft(u)/800}})]),a=bd("SAT"),r={score:b_(n.chancingProfile),percentiles:n.schoolStats.sat.all,normalizeScore:function(u){return ft(u)/1600},showScore:aR,simulated:yH(e)(_ue.value)},o=ue([En(Dt(r.score))(bH("SAT Composite score")),DH(e)(r),mbe(r),t,pbe,fbe("SAT score")(r),RH("how to increase your SAT score")("https://blog.collegevine.com/10-tips-to-improve-your-sat-score/")]),i=gH(r.score)(r.percentiles);return n.chances.shouldApplyTestOptional?{title:a(i),testClass:"t--sat",content:ue([_be("SAT")(r),o])}:{title:a(i),testClass:"t--sat",content:o}}},gbe=function(e){return function(n){var t=bd("ACT"),a={score:R_(n.chancingProfile),percentiles:n.schoolStats.act.all,normalizeScore:function(u){return ft(u)/36},showScore:aR,simulated:yH(e)(due.value)},r=Nc("row")([ox({title:"Math",score:n.chancingProfile.act.math,percentiles:n.schoolStats.act.math,normalizeScore:a.normalizeScore}),ox({title:"English",score:n.chancingProfile.act.english,percentiles:n.schoolStats.act.english,normalizeScore:a.normalizeScore})]),o=ue([En(Dt(a.score))(bH("ACT Composite score")),DH(e)(a),mbe(a),r,pbe,fbe("ACT score")(a),RH("how to increase your ACT score")("https://blog.collegevine.com/10-tips-to-improve-your-act-score/")]),i=gH(a.score)(a.percentiles);return n.chances.shouldApplyTestOptional?{title:t(i),testClass:"t--act",content:ue([_be("ACT")(a),o])}:{title:t(i),testClass:"t--act",content:o}}};var jo=H(J),wd=H(x),tu=H(te),wH=Gn(J)()(),SH=xn(dt),AI=ua(x),EH=kr(x),Dbe=xt(J),ix=nn(x),ybe=Z(Ae),Win=pu(x),bbe=aa(x)()(),Rbe=Xn(te),qin=Ga(x),wbe=Vg(x),nD=fe(W_),Sbe=tf(At(bM)),zin=ba(Oe)(vt),$in=fe(O1),Vin=ua(te),Qin=lt(x)()(),Yin=L(he),Xin=X(he),Zin=xt(te),Kin=rt(J),eun=pu(te),nun=L(Z0),tun=Xn(J),aun=Xn(x),ux=rt(x),run=X(XA),oun=nn(te),Ebe=function(e){return jo("row")([wd("col")(""),tu("col-auto")(wH("btn btn-link t--show-more")({onClick:SH(e)(ar.value)})([Y("show more "),AI("fe fe-chevron-down")("")]))])},Cbe=function(e){return function(n){return function(t){return jo("row align-items-center mb-3")([tu("col-12 col-lg-6")(jo("row")([jo("col-6 order-1 order-lg-2 my-auto")([EH("font-weight-normal fw-normal")("Your chances"),Dbe("mb-0 t--chancing-percentage-label d-flex align-items-center")([ix("mr-1")(PS(e)({score:ybe(t)(function(a){return a.score}),specialCase:I.value})),QA,ix("mx-2")(""),gye("")(n),hye("")(n)])]),tu("col-6 order-2 order-lg-1 px-sm-4 px-lg-0")(tR({score:ybe(t)(function(a){return a.score})}))])),jo("col-12 col-lg-6 py-3 my-auto")([EH("font-weight-normal fw-normal")("Overall acceptance rate"),Dbe("text-gray-800 mb-0")([Y(ke("\u2014")(function(a){return Aa(function(r){return r.value}(a))})(e.admissions.acceptanceRate)),Win("text-secondary ml-2")(Kg(e))])])])}}},Ibe=function(e){return ue([Y(e),Y(" requires standardized tests, but currently "),bbe("")({href:Hm})("your profile"),Y(" indicates that you do not have test scores.")])},iun=function(e){return ue([wd("badge badge-apply-test-optional font-weight-bold fw-bold py-2 mb-2")("Tests required"),Cbe(e)(Ra.value)(I.value),Rbe("")(Ibe(e.name))])},Tbe=function(e){return function(n){return function(t){return function(a){var r=jo("row")([tu("col-auto pr-0")(AI("fe fe-info large text-secondary mt-3")("")),jo("col")([jo("large")([qin("")("Recommendation letters "),ix("text-secondary")("are often required.")]),wd("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 lo(ca(ar.value))(function(o){return function(i){return tu("card")(jo("card-body t--phase2")([wbe("Your chancing: Phase 2"),En(nD(o)(za.value))(wd("mb-4")("")),vH({card:Yye(e)(t)(a),expanded:nD(o)(ar.value),onCollapse:i(za.value)}),En(Sbe(n.admissions.reqRecLetters)(new d(li.value)))(r),En(nD(o)(za.value))(Ebe(i))]))}})}}}},Fbe=function(e){return function(n){return function(t){return function(a){var r=Sbe(n.admissions.reqStandardTests)(new d(li.value)),o=Dt(R_(t))&&r,i=Dt(b_(t))&&r,u=function(l){return function(c){return vH({card:c(e)({chancingProfile:t,chances:a,schoolStats:n.testScoreStats}),expanded:nD(l.value0)(ar.value),onCollapse:l.value1(za.value)})}};return d1(ca(ar.value))(function(l){return tu("card")(jo("card-body t--phase1")([wbe("Your chancing: Phase 1"),En(nD(l.value0)(za.value))(wd("mb-4")("")),u(l)(dbe),u(l)(Cye),En(i)(u(l)(hbe)),En(o)(u(l)(gbe)),En(nD(l.value0)(za.value))(Ebe(l.value1))]))})}}}},uun=function(e){return Y(zin(["Chancing is not available for ",e.name," because all students are admitted if they have a high school diploma or GED."]))},lun=function(e){return ue([Y("You\u2019re likely not eligible for admission at "),Y(e.name),Y(" because it is an "),Y(ou(Vp(e.gender))),Y(" school. This conclusion is based on the gender information you entered in your "),bbe("")({href:Hm})("profile"),Y(".")])},cun=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. `)])},sun=function(e){return function(n){return function(t){return function(a){return function(r){var o=function(c){if(c instanceof Ya)return"test-optional";if(c instanceof yr)return"with SAT";if(c instanceof Ur)return"with ACT";throw new Error("Failed pattern match at SchoolDetails.Chancing (line 288, column 21 - line 291, column 33): "+[c.constructor.name])},i=function(c){var s=jv(function(v){return $in(v.applicationStrategy)(c)})(r.all),f=oH({strategy:c,satOrigin:uE(t),testPolicy:n.admissions.reqStandardTests});return jo("row border-1 border-bottom border-light py-3 align-items-center")(function(){if(s instanceof d)return[jo("col-12 mb-2 mb-md-0 col-md pr-0 d-flex align-items-end")([f,En(s.value0.isRecommendedStrategy)(Vin("ml-2 fe fe-thumbs-up text-primary h3 mb-0")(un))]),tu("col-auto pl-md-0")(ix("badge badge-light bg-light text-dark")(p2(n)(s.value0))),wd("col-auto col-md-auto pl-md-0")(PS(n)(s.value0)),tu("col col-md-2 pl-md-0")(function(){if(s.value0.score instanceof d)return tu("progress progress-md")(Qin("progress-bar")({style:Sn({width:m2(s.value0.score.value0)})})(""));if(s.value0.score instanceof I)return wd("text-secondary small")("N/A");throw new Error("Failed pattern match at SchoolDetails.Chancing (line 306, column 46 - line 311, column 55): "+[s.value0.score.constructor.name])}())];if(s instanceof I)return[tu("col pr-0 d-flex align-items-end")(f),wd("col-auto text-gray-800")(function(){if(c instanceof Ya)return"";if(c instanceof yr)return"No SAT score";if(c instanceof Ur)return"No ACT score";throw new Error("Failed pattern match at SchoolDetails.Chancing (line 318, column 19 - line 321, column 53): "+[c.constructor.name])}())];throw new Error("Failed pattern match at SchoolDetails.Chancing (line 295, column 11 - line 322, column 16): "+[s.constructor.name])}())},u=function(){var c=function(s){return s.length===0?Mo($o)("Empty chancing recommended strategies, even though chances are present")({})(function(f){return[]}):s};return c(Yin(function(s){return s.applicationStrategy})(jr(function(s){return s.isRecommendedStrategy})(r.all)))}(),l=function(c){return lo(ca(za.value))(function(s){return function(f){return ue([jo("row mb-2 justify-content-between")([jo("col")(Xin(u)(function(v){return Zin("d-inline-block mr-2")(oH({strategy:v,satOrigin:uE(t),testPolicy:n.admissions.reqStandardTests}))})),tu("col-auto")(wH("btn btn-link p-0 d-flex align-items-center")({onClick:SH(f)(m0(s))})(function(){if(s instanceof za)return[Y("See why"),AI("fe fe-chevron-down ml-2")("")];if(s instanceof ar)return[Y("Show less"),AI("fe fe-chevron-up ml-2")("")];throw new Error("Failed pattern match at SchoolDetails.Chancing (line 208, column 15 - line 210, column 92): "+[s.constructor.name])}()))]),Je(r.top.classification)(function(v){return Kin("")([Y(n.name+(" is a "+L1(v))),eun("ml-1 text-secondary h2 mb-0")(Dye(v)),function(){if(n.admissions.reqStandardTests instanceof d&&n.admissions.reqStandardTests.value0 instanceof li)return un;if(r.top.specialCase instanceof d&&r.top.specialCase.value0 instanceof t0)return un;var m=function(R){return un},_=Xc(u);return _ instanceof d?Y(" if you apply "+xye(nun(o)(_.value0))):m(!0)}()])}),Cbe(n)(a)(new d(r.top)),En(nD(s)(ar.value))(ue([Qa("mb-4"),jo("")([tun("")([Y("Test policies may change in the future so be sure to check "),w0({className:"",text:new d("this school\u2019s website"),icon:DI.value})(Ee(n.urls.main)(n.urls.admissions))]),function(){return n.admissions.reqStandardTests instanceof d&&n.admissions.reqStandardTests.value0 instanceof li?aun("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 t0?Rbe("font-weight-bold fw-bold")(Ibe(n.name)):ue([EH("")("Here\u2019s our estimation for all possible scenarios:"),function(){return n.admissions.reqStandardTests instanceof d&&n.admissions.reqStandardTests.value0 instanceof dc?un:i(Ya.value)}(),i(yr.value),i(Ur.value)])}()]),function(){return n.admissions.reqStandardTests instanceof d&&n.admissions.reqStandardTests.value0 instanceof li?un:r.top.specialCase instanceof d&&r.top.specialCase.value0 instanceof t0?un:Je(r.guidance)(function(v){return tu("mt-4")(Uye(v)(t)(r.sameDemographicStats))})}()])),function(){return e.showViewChancingExplanationCTA&&e.onSwitchTab instanceof d?ue([Qa(""),wH("btn btn-link t--chancing-breakdown-cta p-0")({onClick:SH(e.onSwitchTab.value0)(Qi.value)})([AI("material-symbol x-large align-middle pr-2")("format_list_bulleted"),Y("See chancing explanation")])]):un}()])}})};if(r.top.specialCase instanceof d&&r.top.specialCase.value0 instanceof Zh)return cun(n);if(r.top.specialCase instanceof d&&r.top.specialCase.value0 instanceof pm)return lun(n);if(r.top.specialCase instanceof d&&r.top.specialCase.value0 instanceof t0)return iun(n);if(r.top.specialCase instanceof d&&r.top.specialCase.value0 instanceof Kh)return l(Ce);if(r.top.specialCase instanceof d&&r.top.specialCase.value0 instanceof eg)return uun(n);if(r.top.specialCase instanceof I)return l(Ce);throw new Error("Failed pattern match at SchoolDetails.Chancing (line 185, column 3 - line 191, column 28): "+[r.top.specialCase.constructor.name])}}}}},rR=function(e){return function(n){return function(t){return function(a){return function(r){return jo("mb-4")([tu("card mb-0 t--chancing")(jo("card-body t--chancing-overview")([ux("")("Chancing"),sun(e)(n)(t)(a)(r)])),eH(n)])}}}}},fun=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 pm&&e.mobileLayout?rR(n)(t)(a)(r)(o):o.top.specialCase instanceof d&&o.top.specialCase.value0 instanceof pm?tu("row")(tu("col-8")(rR(n)(t)(a)(r)(o))):e.mobileLayout?ue([rR(n)(t)(a)(r)(o),ux("")("Detailed profile breakdown"),Fbe(e)(t)(a)(o.top),Tbe(e)(t)(a)(o.top),FI(e)]):jo("row")([jo("col-8")([rR(n)(t)(a)(r)(o),ux("")("Detailed profile breakdown"),Fbe(e)(t)(a)(o.top),Tbe(e)(t)(a)(o.top)]),jo("col-4")([Je(e.currentUser)(function(i){return tu("mb-3")(k1e(e.whatificatorLink))}),FI(e)])])}}}}}},Mbe=function(e){return function(n){return function(t){var a=function(i){return Mo($o)("SDP Chancing Tab is visible when chancing profile is absent")({schoolId:e.id})(function(u){return un})},r=function(i){return Je(dH(e))(function(u){return ue([ux("")("In the meantime, here\u2019s the published data about admissions at "+(e.name+":")),u])})},o=function(i){if(n.mobileLayout)return ue([EI({narrowLayout:!0}),FI(n),r(Ce)]);if(Le)return jo("row")([jo("col-8")([EI({narrowLayout:!1}),r(Ce)]),tu("col-4")(FI(n))]);throw new Error("Failed pattern match at SchoolDetails.Chancing (line 98, column 5 - line 113, column 12): "+[i.constructor.name])};return function(i){if(i instanceof $b)return Je(ZA(i.value1))(fun(n)(t)(e)(i.value0)(run(ex(i.value1))(function(u){return u.top})));if(i instanceof Qb)return a(Ce);if(i instanceof Yb)return o(Ce);if(i instanceof Vb)return tu("text-center p-6")(oun("spinner-border spinner-border-sm text-primary")(un));throw new Error("Failed pattern match at SchoolDetails.Chancing (line 81, column 5 - line 90, column 73): "+[i.constructor.name])}(KA({currentUser:n.currentUser,chancingState:n.chancingState,school:e}))}}};var Gbe=function(e){return function(n){return un}};var Abe=Qf(),tD=H(J)("d-flex")([Abe({text:"Log in",className:"btn btn-primary px-4 mr-3",auth0ActiveTab:ug}),Abe({text:"Sign up (it's free!)",className:"btn btn-outline-primary px-4",auth0ActiveTab:Vf})]);var vun=H(J),xbe=H(te),mun=kr(x),pun=Gn(J)()(),_un=ia(sr),dun=ua(x),CH=Xn(J),Lbe=H(x),IH=Ga(x),hun=nn(J),jbe=aa(x)()(),gun=Ec(J),Nbe=k2(),TH=Xn(x),Dun=cne(J),Pbe=function(e){return function(n){return vun("row align-items-center w-100")([xbe("col")(mun("my-0")(n)),xbe("col-auto pr-0")(pun("btn btn-link p-0 d-flex align-items-center")({onClick:_un(e)})([Y("Cancel "),dun("fe fe-x ml-2 large")("")]))])}},Obe=function(e){return function(n){var t=function(r){return function(o){return function(i){if(i)return ue([CH("mb-1")([Lbe("badge badge-soft-success bg-success-soft mr-2")("Profile complete"),IH("text-success")("Great job \u2013\xA0your CollegeVine "+(r+" profile looks complete."))]),hun("")([Y("(you can always "),jbe("")({href:o})("update it"),Y(" to make sure)")])]);if(!i)return ue([CH("")([Lbe("badge badge-soft-danger bg-danger-soft mr-2")("Incomplete"),IH("text-danger")("Your "+(r+" profile is incomplete."))]),jbe("btn btn-primary px-4")({href:o})("Complete "+(r+" profile"))]);throw new Error("Failed pattern match at SchoolDetails.Finances.Modal (line 55, column 5 - line 65, column 8): "+[r.constructor.name,o.constructor.name,i.constructor.name])}}},a=function(r){return gun("mb-4")([CH("mb-1")([IH("")("Your "+(r.name+" profile,")),Y(r.description)]),t(r.name)(r.url)(r.isComplete)])};return Nbe({header:Pbe(n.close)("Great, let\u2019s estimate your personalized net cost."),body:ue([TH("")("Your college cost depends on two types of information:"),Dun("")([a({name:"chancing",url:Hm,isComplete:Dt(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:PG,isComplete:e.hasFinancialProfile,description:` which includes information that colleges will use to determine your financial need. `})])])})}},kbe=function(e){return Nbe({header:Pbe(e.close)("Please log in to get your personalized cost estimate"),body:ue([TH("")(` You need a CollegeVine account to estimate your cost. You\u2019ll enter your information once and unlock estimates for all schools on CollegeVine! `),TH("")("Please log in or sign up to continue:"),tD])})};var No=H(J),lx=rt(x),Js=H(te),Ube=kr(x),FH=Xn(J),Hbe=H(x),MH=Ga(x),GH=dd(x)(x),xI=Xn(x),Bbe=xt(J),Jbe=pu(x),yun=L(B),bun=Gn(J)()(),Wbe=xn(dt),Run=ua(x),qbe=Vg(x),wun=Gn(x)()(),zbe=Of(x),Sun=aa(x)()(),Eun=xt(x),oR=function(){function e(){}return e.value=new e,e}(),cx=function(){function e(){}return e.value=new e,e}(),$be=function(){function e(){}return e.value=new e,e}(),LI=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),AH=function(){function e(){}return e.value=new e,e}(),sx=function(){function e(){}return e.value=new e,e}(),fx=function(e){return function(n){return No("card t--financials-zero-cost")([No("d-flex align-items-center justify-content-between card-header")([lx("flex-grow-1 my-0")("Cost & scholarships"),Je(e.editButton)(Js("flex-grow-0"))]),No("card-body")([Ube("")("The cost to students is zero"),FH("small text-muted mb-0")([Y("Some schools do not charge tuition, or they cover the full cost for students. Always check "),w0({className:"",icon:kb.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. `)])])])}},vx=function(e){return function(n){return function(t){var a=t(new LI(oR.value));if(n instanceof oR)return un;if(n instanceof cx)return Obe(e)({close:a});if(n instanceof $be)return kbe({close:a});throw new Error("Failed pattern match at SchoolDetails.Finances.Common (line 328, column 3 - line 331, column 45): "+[n.constructor.name])}}},xH=function(e){var n=function(t){return function(a){return{title:a,value:vu(t)}}};return ue([No("row py-3")([Hbe("col font-weight-semibold")("Income"),Js("col-auto")(MH("")("Average net cost"))]),Qa("mt-0"),Js("mt-4")(GH([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")]))])},mx=function(e){var n=function(a){return function(r){return w0({className:"",icon:DI.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 I)return n(e.finAid.value0)("financial aid website");if(e.finAid instanceof I&&e.priceCalculator instanceof d)return n(e.priceCalculator.value0)("net price calculator");if(e.finAid instanceof I&&e.priceCalculator instanceof I)return n(e.main)("website");throw new Error("Failed pattern match at SchoolDetails.Finances.Common (line 229, column 16 - line 240, column 33): "+[e.finAid.constructor.name,e.priceCalculator.constructor.name])}();return ue([xI("font-weight-bold fw-bold small text-gray-800 mb-1")("* This is an estimate"),FH("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.")])])},Cun=Js("")(Bbe("mb-4")([Y("Cost before aid "),Jbe("text-secondary")(` The \u201Csticker price\u201D of a school, which includes tuition, fees, and room and board. `)])),Vbe=xI("")(` 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). `),jI=ue([Vbe,xI("font-weight-bold fw-bold mb-2")("Want to see your personalized net cost after financial aid and scholarships?")]),LH=Bbe("mb-3 mt-4")([Y("Average net cost after aid "),Jbe("text-secondary")(` The average of the amount actually paid by students, per family income range. `)]),jH=function(e){return ue([Js("")(LH),Qa("mb-0"),Js("mb-4")(xH(e))])},NH=function(e){return function(n){return No("card t--financials-cost-before-aid")([No("card-body")([No("d-flex align-items-center justify-content-between mb-5")([lx("my-0 mr-3 flex-grow-1")("Cost & scholarships"),va(mi(n.onEdit)(gd.value))]),Cun,GH([{title:"In-state total cost",value:ke("unknown")(function(t){return vu(ft(t))})(lm(n.school))},{title:"Out-of-state total cost",value:ke("unknown")(function(t){return vu(ft(t))})(pS(n.school))}]),Ee(un)(yun(jH)(n.school.averageNetPrice)),En(n.showCta)(ue([jI,bun("btn btn-link t--estimate-my-cost p-0")({onClick:Wbe(e)(new LI(cx.value))})([Run("material-symbol x-large align-middle pr-2")("calculate"),Y("Estimate my personalized net cost")])]))])])}},PH=function(e){return function(n){var t=function(o){return function(i){return No("col-12 mt-2 col-md-6 mt-md-0")([qbe(i),$a("")(ke("unknown")(function(u){return vu(ft(u))})(o))])}},a=No("row")([No("col-12 col-md mb-2 mb-md-4")([qbe("Your estimated net cost"),Hbe("font-weight-bold fw-bold text-secondary x-large")("$ ? / year")]),En(n.showCta)(Js("col-12 col-md-auto mb-3 mb-md-0")(wun("btn btn-primary px-4 t--estimate-my-cost")({onClick:Wbe(e)(new LI($be.value))})("Estimate my cost")))]),r=ue([zbe("")("What are "+(n.school.name+"\u2019s Tuition and Fees?")),FH("")([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 `))))),Sun("")({href:PG})("free cost calculator"),Y(".")])]);return No("card border border-light rounded p-4 mx-2 mb-4")([En(n.showExtended)(r),a,No("row")([t(lm(n.school))("In-state"),t(pS(n.school))("Out-of-state")])])}},NI=function(e){return function(n){return function(t){return function(a){if(a instanceof AH){var r=No("d-flex align-items-center justify-content-between mb-3")([lx("my-0 mr-3")("Cost & scholarships"),va(e.editButton)]);return ue([No("card t--financials-anonymous")(function(){if(t.averageNetPrice instanceof I)return[No("card-body")([r,PH(n)({school:t,showCta:e.showCta,showExtended:!1}),jI,tD])];if(t.averageNetPrice instanceof d)return[No("card-body")([lx("")("Cost & scholarships"),PH(n)({school:t,showCta:e.showCta,showExtended:!1}),LH,xH(t.averageNetPrice.value0),No("px-3")([jI,tD])])];throw new Error("Failed pattern match at SchoolDetails.Finances.Common (line 80, column 5 - line 100, column 10): "+[t.averageNetPrice.constructor.name])}())])}if(a instanceof sx){var o=function(){var i=function(u){return function(l){return{title:l,value:ke("unknown")(function(c){return vu(ft(c))})(u)}}};return ue([No("row mx-0 py-3 border-bottom")([Js("col pl-0")(MH("")("Type")),Js("col-auto pr-0")(MH("")("Annual Cost"))]),Js("mt-4")(GH([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([PH(n)({school:t,showCta:e.showCta,showExtended:!0}),Js("card")(No("card-body")([zbe("mb-4")("What does it cost to attend "+(t.name+"?")),Ube("")("Net Price Breakdown"),xI("mb-5")("The Net Price is the estimated cost after the average aid amount is applied to the total amount."),No("t--financials-anonymous")(function(){if(t.averageNetPrice instanceof I)return[jI,tD];if(t.averageNetPrice instanceof d)return[LH,xH(t.averageNetPrice.value0),function(){return e.showCta?No("")([jI,tD]):Vbe}()];throw new Error("Failed pattern match at SchoolDetails.Finances.Common (line 117, column 9 - line 133, column 14): "+[t.averageNetPrice.constructor.name])}())])),Js("card")(No("card-body")([Eun("mb-4")("Sticker Price Breakdown"),xI("")(` The sticker price is the advertised price of the school. You may not have to pay the full sticker price if you get financial aid or scholarships. `),o]))])}throw new Error("Failed pattern match at SchoolDetails.Finances.Common (line 77, column 1 - line 77, column 139): "+[e.constructor.name,n.constructor.name,t.constructor.name,a.constructor.name])}}}};var Iun=q(_t),Tun=on(),PI=H(te),Pc=H(J),Qbe=Of(x),aD=Xn(x),Fun=aa(J)()(),OH=nn(x),Ybe=H(x),Xbe=Ga(x),Mun=ro(Oe)(Tv),Gun=L(he),Aun=rt(x),xun=xt(te),Lun=Vg(x),jun=L(B),Nun=Gn(J)()(),Pun=xn(dt),Oun=ua(x),kun=fe(At(Ka)),Zbe=function(e){return function(n){return Iun(n.value0)}},Kbe=function(){return oR.value}(),kH=function(e){var n=function(){var a=Tun(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 En(a)(PI("card")(Pc("card-body")([Qbe("")(r),o])))}}};return Pc("t--financials-aid-explanation mt-5")([t(n.grants)("Grants")(ue([aD("")("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"),$a("")(Aa(e.fracPellGrants))])),t(n.scholarships)("Merit scholarships")(aD("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([aD("")("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."),Pc("row")([Pc("col")([Y("% of full-time first-time undergraduates awarded federal student loans"),$a("")(Aa(e.fracLoans))]),Pc("col")([Y("Avg. amount of federal student loans awarded to full-time first-time undergrads"),$a("")(vu(ft(Ee(0)(e.averageFederalLoan))))])])])),t(n.workStudy)("Work-study")(ue([aD("")("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."),Fun("d-flex align-items-center")({href:Zie,target:"_blank"})([OH("material-symbol pr-2")("open_in_new"),OH("")("Learn more about how it works and what types of jobs are available")])]))])},Uun=function(e){return function(n){var t=function(l){return[Pc("row align-items-center")([PI("col")(l.title),PI("col-auto")(l.value)])]},a=ue([aD("mb-1")("Your estimated net cost"),$a("")(vu(n.estimatedNetCost)+" / year *")]),r=Ee(0)(n.estimatedMeritAid),o=ue([Ybe("mb-3")("Scholarships"),Ybe("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?Xbe("")("-"+vu(l)):OH("text-muted")("Unlikely")},u=Pc("mb-2")(Mun([Qa("mt-3 mb-3")])(Gun(t)([{title:Y("Cost (tuition, fees, room and board)"),value:Xbe("")(vu(n.stickerPrice))},{title:Y("Need-based financial aid"),value:i(n.financialAid)},{title:o,value:i(r)}])));return ue([PI("card t--financials-personal-estimate-breakdown")(Pc("card-body")([Aun("mb-5")("Cost & scholarships"),a,Qa("mb-4 mt-2"),xun("mb-4 mt-2")(Lun("Your estimated net cost breakdown")),u,Qa("mt-3 mb-3"),PI("mb-n3")(mx(e.urls))])),kH(e)])}},Hun=function(e){return function(n){var t=Pc("row mb-4")([Pc("col-12 col-md-6")([aD("mb-1")("In-state total cost"),$a("")(ke("unknown")(function(a){return vu(ft(a))})(lm(n)))]),Pc("col-12 col-md-6")([aD("mb-1")("Out-of-state total cost"),$a("")(ke("unknown")(function(a){return vu(ft(a))})(pS(n)))])]);return Pc("card t--financials-cost-before-aid")([Pc("card-body")([Qbe("fw-normal font-weight-normal")("Cost"),t,Ee(un)(jun(jH)(n.averageNetPrice)),Nun("btn btn-link t--estimate-my-cost p-0")({onClick:Pun(e)(new LI(cx.value))})([Oun("material-symbol x-large align-middle pr-2")("calculate"),Y("Estimate my personalized net cost")])])])}},eRe=function(e){return function(n){return function(t){return function(a){return function(r){return ue([vx(n)(a)(r),function(){var o=kun(lm(e))(new d(0));if(o)return fx({editButton:I.value})(e);var i=ur(n.currentUser);if(i)return ue([va(Ss(n.configuration)(NI({showCta:!1,editButton:I.value})(r)(e)(sx.value))),va(Cu(n.configuration)(NI({showCta:!0,editButton:I.value})(r)(e)(sx.value))),kH(e)]);var u=Dt(t);return u?Je(t)(Uun(e)):ue([Hun(r)(e),kH(e)])}()])}}}}};var Bun=on(),nRe=Gn(x)()(),tRe=ia(sr),px=H(J),UH=H(te),Jun=ui(),Wun=fe(At(lG)),HH=X(B),qun=fe(At(uG)),aRe=ua(x),zun=H(x),rRe=nn(x),$un=vi(te)()(),oRe=function(e){var n=Bun(e.school),t=function(u){return nRe("btn btn-outline-primary flex-grow-1 px-md-4 t--sdp-invitation-footer-ignore "+u)({onClick:tRe(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=vo(LS(n.id)(e.schoolDb)),o=function(u){if(e.mobileLayout)return px("card-footer bg-white "+u);var l=UH("container card"),c=px("card-body mb-0 "+u);return function(s){return l(c(s))}},i=function(u){return nRe("btn btn-primary flex-grow-1 px-md-4 t--sdp-invitation-footer-accept "+u)({onClick:tRe(e.onAcceptInvitation)})("Accept")};return Eu(Jun(ca(Wun(HH(r)(function(u){return u.status}))(new d(Vo.value))&&qun(HH(r)(function(u){return u.initiator}))(new d(ji.value))))(function(u){return ii(zh(u.value0)(function(l){return Je(HH(r)(function(c){return c.status}))(function(c){return UH("position-fixed fixed-bottom t--sdp-invitation-footer")(o("d-flex flex-column flex-md-row align-items-stretch align-items-md-center")([px("d-flex flex-nowrap align-items-center mr-md-3")([aRe(a)(""),zun("")(n.name+" wants to connect!")]),UH("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 jl)return rRe("text-success")("Connected");if(c instanceof Tu)return rRe("text-secondary")("Ignored");throw new Error("Failed pattern match at SchoolDetails.Footer (line 46, column 15 - line 54, column 52): "+[c.constructor.name])}()),px("d-flex flex-nowrap align-items-center mt-3 mt-md-0 flex-grow-1 justify-content-md-end")([Y("What is a connection?"),$un({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?B_:V0e}()})(aRe("fe fe-info pl-2")(""))])]))})}))}))};var E0=` (min-width: 1200px) 1140px, (min-width: 992px) 960px, (min-width: 768px) 720px, (min-width: 576px) 540px `;$t();var BH=class extends Et.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 Vun=cs(),Jl=function(){return function(){return Vun(BH)}};var Qun=on(),iRe=ua(x),uRe=nn(x),JH=H(te),Yun=H(J),Xun=rt(x),Zun=Es()(),Kun=xn(dt),da=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}(Qun(e.school)),i=Zf(e.module.data);return i instanceof u0&&o instanceof b1?"Alumni spotlight":i instanceof u0&&o instanceof R1?"Alumnae spotlight":i instanceof u0&&o instanceof Ph?"Alumni spotlight":I_(Zf(e.module.data))}(),a=En(e.isUserHq)(function(){return e.isPublished?ue([iRe("fe fe-check-circle large text-success mr-2 t--module-live-icon")(""),uRe("text-success")("Live")]):ue([iRe("fe fe-x-circle large text-warning mr-2 t--module-draft-icon")(""),uRe("text-warning")("Draft")])}()),r=function(){return e.module.isLiked?"/img/icons/heart-filled-gray-800.svg":"/img/icons/heart-empty.svg"}();return JH("card-header")(Yun("row align-items-center")([Xun("col-auto mb-0")(t),JH("col d-flex align-items-center justify-content-end")(a),En(e.showLikeButton)(JH("col-auto")(Zun("cursor-pointer t--content-module-interaction "+n)({src:r,height:"18",width:"18",onClick:Kun(e.onContentModuleInteraction)({type:function(){return e.module.isLiked?new d(TE.value):new d(IE.value)}(),moduleId:e.module.id})})))]))};var eln=Sa(),_x=X(B),OI=ae(ze),nln=ba(Oe)(vt),tln=ro(Oe)(vt),aln=X(he),rln=c_()(),oln=Qe(la)(Su(qo)(function(e){var n=e>=5120;return n?I.value:new d(new Ue(e,e*1.16))})(640))([5120]),Po=function(){return function(e){return function(n){var t=eln(n),a=bs({key:"auto",value:$n(t.auto)("format")})(_m({key:"q",value:_x(Dr(t.q))(OI)})(_m({key:"dpr",value:_x(Dr(t.dpr))(OI)})(_m({key:"ar",value:Dr(t.ar)})(_m({key:"crop",value:Dr(t.crop)})(_m({key:"fit",value:Dr(t.fit)})(_m({key:"h",value:_x(Dr(t.h))(OI)})(_m({key:"w",value:_x(Dr(t.w))(OI)})(Ee(t.src)(t1("?")(t.src)))))))))),r=function(i){var u=OI(Nr(i));return nln([a,"&w=",u," ",u,"w"])},o=function(){if(DS(t.w))return tln(",")(aln(oln)(r));if(Le)return"";throw new Error("Failed pattern match at Utils.Imgix (line 61, column 5 - line 65, column 13): "+[])}();return rln(e)({src:a,srcSet:o,style:$n(t.style)(Sn({})),alt:$n(t.alt)(""),sizes:$n(t.sizes)("")})}}};var iln=ae(Ci),lRe=H(J),uln=lt(J)()(),lln=X(he),cln=Po(),sln=Jl()(),cRe=function(e){var n="t--academic-photo-gallery-carousel-"+iln(oa(e.school));return lRe("card")([da(e),lRe("card-body")([uln("flickity-viewport-visible mb-4 "+n)({style:Sn({display:"none"})})(lln(e.photos)(function(t){return cln("w-100 rounded")({src:t.url,ar:"2:1",fit:"crop",crop:"faces",auto:"compress,format",sizes:E0})})),sln({containerClassName:n,onMountShowContainer:!0,pageDots:!0})])])};var fln=H(te),vln=R0(),dx=H(J),mln=lt(J)()(),pln=X(he),_ln=rt(x),sRe=H(x),dln=Jl()(),fRe=function(e){var n=function(t){return Je(t)(function(a){return fln("col-12 col-md-auto mb-4 mb-md-0 d-flex justify-content-center justify-content-md-start align-items-md-center")(vln({source:new gu({url:a+"?fit=crop&crop=faces,edges&w=256&h=256&auto=compress,format"}),size:xb.value}))})};return dx("card")([da(e),dx("card-body mb-4")([mln("flickity-viewport-visible t--alumni-spotlight-carousel")({style:Sn({display:"none"})})(pln(e.props.alumni)(function(t){return dx("row py-3 px-5 w-100")([n(t.avatarURL),dx("col-12 col-md ml-2")([_ln("mb-1")(t.name),sRe("small text-secondary")(t.degreeGraduationYear),sRe("mt-3")(t.bio)])])})),dln({containerClassName:"t--alumni-spotlight-carousel",onMountShowContainer:!0,pageDots:!0})])])};var hx=H(J),hln=X(he),gln=H(te),Dln=s_(x)()(),yln=xt(x),bln=Xn(x),vRe=function(e){return hx("card")([da(e),hx("card-body")(hln(e.videos)(function(n){return hx("row mb-4 align-items-center text-center text-md-left")([gln("col-12 col-md-auto")(Dln("h-100 border-0 rounded")({src:n.link,allowFullScreen:!0})("")),hx("col mt-2 mt-md-0")([yln("")(n.title),bln("")(g_(n.duration))])])}))])};var Rln=on(),mRe=ba(Oe)(vt),gx=ae(Wi),pRe=H1e(J),WH=H(x),_Re=H(J),wln=c_()(),Sln=dd(x)(te),dRe=function(e){var n=Rln(e.school),t=g1(rS(n.address)).lng,a=g1(rS(n.address)).lat,r=function(i){return mRe(["https://api.mapbox.com/styles/v1/collegevine-ivy/ck8z1m02b06f41io4o6s4z5md/static/pin-s+3c8df5(",gx(t),",",gx(a)+")/",gx(t),",",gx(a),",6.57,0/600x400@2x?access_token=",i])},o=function(i){if(i instanceof wl)return pRe({icon:"map-pin",body:[WH("")(i.value0.street),WH("")(mRe([i.value0.city,", ",qp(i.value0.state)," ",i.value0.zip]))]});if(i instanceof Xu)return pRe({icon:"map-pin",body:[WH("")(i.value0.address)]});throw new Error("Failed pattern match at SchoolDetails.ContentModules.CampusLocation (line 41, column 15 - line 56, column 10): "+[i.constructor.name])};return _Re("card")([da(e),_Re("card-body")([wln("w-100 mb-5 rounded")({src:r(e.mapboxAccessToken)}),Sln([{title:"Campus Setting",value:Y(Nh(n.setting))},{title:"Region",value:Y(aS(n.address))}]),o(n.address)])])};var Eln=ae(Ci),hRe=H(J),Cln=lt(J)()(),Iln=X(he),Tln=Po(),Fln=Jl()(),gRe=function(e){var n="t--campus-photo-gallery-carousel-"+Eln(oa(e.school));return hRe("card")([da(e),hRe("card-body")([Cln("flickity-viewport-visible mb-4 "+n)({style:Sn({display:"none"})})(Iln(e.photos)(function(t){return Tln("w-100 rounded")({src:t.url,fit:"crop",crop:"faces",ar:"2:1",auto:"compress,format",sizes:E0})})),Fln({containerClassName:n,onMountShowContainer:!0,pageDots:!0})])])};var Dx=H(J),Mln=X(he),Gln=H(te),Aln=s_(x)()(),xln=xt(x),Lln=Xn(x),DRe=function(e){return Dx("card")([da(e),Dx("card-body")(Mln(e.videos)(function(n){return Dx("row mb-4 align-items-center text-center text-md-left")([Gln("col-12 col-md-auto")(Aln("h-100 border-0 rounded")({src:n.url,allowFullScreen:!0})("")),Dx("col mt-2 mt-md-0")([xln("")(n.title),Lln("")(g_(n.duration))])])}))])};var yRe=ui(),jln=lt(te)()(),kI=H(J),Nln=rt(x),yx=H(te),Pln=xi()(),bRe=xn(Zr),Oln=nn(x),kln=Us(),RRe=Ve(Ye),Uln=X(he),Sd=function(e){var n=function(a){return function(r){return function(o){var i=function(u){return jr(function(l){return r(u)(e.filter.toValue(l))})(o)};return ke(o)(i)(a)}}},t=function(a){return function(r){return a===""?r:jr(function(o){return ts(ou(a))(ou(e.search.toTerm(o)))})(r)}};return Eu(yRe(ca(""))(function(a){return yRe(ca(I.value))(function(r){return ii(jln("")({style:Sn({marginBottom:"10rem"})})(kI("card")([Nln("card-header")(e.title),kI("card-body")([kI("form-row")([yx("col-12 col-md-6")(kI("input-group input-group-merge")([Pln("form-control form-control-prepended "+e.search.className)({type:"text",value:a.value0,placeholder:e.search.placeholder,onChange:bRe(a.value1)(As)}),yx("input-group-prepend")(yx("input-group-text")(Oln("fe fe-search font-weight-bold fw-bold")("")))])),yx("col-12 col-md-6 mt-2 mt-md-0")(kln({className:e.filter.className,value:r.value0,options:e.filter.items,getOptionLabel:RRe,getOptionValue:RRe,onSelect:bRe(r.value1)(d.create),isClearable:!0,onClear:r.value1(I.value),placeholder:e.filter.placeholder}))]),kI("mt-5")(Uln(n(r.value0)(e.filter.predicate)(t(a.value0)(e.items)))(e.renderItem))])])))})}))};var Hln=L(uS);var wRe=function(e){return function(n){return function(t){return eK(Hln(qD(n))(tK(t)))({newSeed:e,size:n})}}};var UI=H(J),HI=H(te),Bln=$M(x)()(),Jln=on(),Wln=rt(x),SRe=Xn(x),ERe=H(x),qln=ae(ze),CRe=fe(fa),zln=ih(Ut),IRe=Tp(Ut),qH=X(he),$ln=Us(),TRe=Ve(Ye),Vln=xn(Zr),Qln=Gn(x)()(),Yln=xn(dt),FRe=function(e){var n=function(u){return u.number+(" "+u.name)},t=function(u){return ue([UI("row no-gutters g-0")([HI("col-auto")(Bln("mr-3 fe fe-book-open xx-large")({style:Sn({color:Ee("")(function(l){return l.colors.primary}(Jln(e.school)))})})("")),UI("col mt-3 pr-5")([Wln("")(n(u)),Je(u.description)(function(l){return SRe("")(l)}),Je(u.size)(function(l){return ERe("mt-2 text-secondary")("Expected class size: "+qln(l))}),Je(u.instructors)(function(l){return ERe("mt-2 text-secondary")("Taught by: "+l)})])]),Qa("")])},a=function(u){var l=jr(function(){var c=CRe(u);return function(s){return c(function(f){return f.department}(s))}}())(e.props.courses);return wRe(e.randomSeed)(2)(l)},r=zln(IRe(qH(e.props.courses)(function(u){return u.department}))),o=IRe(qH(e.props.courses)(function(u){return u.department})),i=Sd({title:I_(Zf(e.module.data)),items:e.props.courses,renderItem:function(u){return HI("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:CRe}});return lo(ca(Ri(o)))(function(u){return function(l){return UI("card")([da(e),UI("card-body")([HI("w-50")($ln({options:o,getOptionLabel:TRe,getOptionValue:TRe,onSelect:Vln(l)(d.create),value:u})),Je(u)(function(c){return ue([UI("mt-4")([SRe("text-secondary")("A sample of courses for this department"),ue(qH(a(c))(t))]),HI("row mt-4")(HI("col-6 offset-3")(Qln("btn btn-outline-primary btn-block")({onClick:Yln(e.showOverlay)(i)})("Check out the full course catalog")))])})])])}})};var Xln=ro(Oe)(vt),BI=H(J),Zln=rt(x),MRe=Xn(x),Kln=H(x),bx=H(te),ecn=Us(),GRe=Ve(Ye),ncn=xn(Zr),tcn=X(he),acn=Gn(x)()(),rcn=xn(dt),ARe=function(e){var n=function(u){return function(l){return u?new d(l):I.value}},t=function(u){return Xln(", ")(hr([n(u.offerings.major)("Major"),n(u.offerings.minor)("Minor"),n(u.offerings.concentration)("Concentration")]))},a=function(u){var l=jr(function(c){return ts(u)(t(c))})(e.props.degrees);return qD(3)(l)},r=function(u){return ue([BI("row no-gutters g-0")([BI("col mt-3 pr-5")([Zln("")(u.name),MRe("")(u.description),Kln("mt-2 text-secondary")("Offerings: "+t(u))])]),Qa("")])},o=["Major","Minor","Concentration"],i=Sd({title:I_(Zf(e.module.data)),items:e.props.degrees,renderItem:function(u){return bx("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 ts(u)}}});return lo(ca(Ri(o)))(function(u){return function(l){return BI("card")([da(e),BI("card-body")([bx("w-50")(ecn({options:o,getOptionLabel:GRe,getOptionValue:GRe,onSelect:ncn(l)(d.create),value:u})),Je(u)(function(c){return ue([BI("mt-4")([MRe("text-secondary")("A sample of degree options for this offering"),ue(tcn(a(c))(r))]),bx("row mt-4")(bx("col-6 offset-3")(acn("btn btn-outline-primary btn-block")({onClick:rcn(e.showOverlay)(i)})("Check out all the degree options")))])})])])}})};var ocn=ae(Ci),icn=H(te),ucn=R0(),Rx=H(J),lcn=lt(J)()(),ccn=X(he),scn=rt(x),xRe=H(x),fcn=Jl()(),LRe=function(e){var n="t--faculty-spotlight-carousel-"+ocn(oa(e.school)),t=function(a){return Je(a)(function(r){return icn("col-12 col-md-auto mb-4 mb-md-0 d-flex justify-content-center justify-content-md-start align-items-md-center")(ucn({source:new gu({url:r+"?fit=crop&crop=faces,edges&w=256&h=256&auto=compress,format"}),size:xb.value}))})};return Rx("card")([da(e),Rx("card-body mb-4")([lcn("flickity-viewport-visible "+n)({style:Sn({display:"none"})})(ccn(e.faculty)(function(a){return Rx("row py-3 px-5 w-100")([t(a.avatarUrl),Rx("col-12 col-md ml-2")([scn("mb-1")(a.name),xRe("small text-secondary")(a.department),xRe("mt-3")(a.bio)])])})),fcn({containerClassName:n,onMountShowContainer:!0,pageDots:!0})])])};var vcn=lt(x)()(),zH=X(he),rD=H(J),wx=H(x),mcn=vi(te)()(),pcn=e0(J)()(),_cn=Sa(),dcn=rt(x),JI=H(te),hcn=function(e){return function(n){var t=function(c){return vcn("rounded")({style:Sn({width:"0.5rem",height:"0.5rem",backgroundColor:c})})("")},a=ue(zH(e)(function(c){return rD("d-flex align-items-center mt-2")([t(c.color),wx("ml-2")(c.name+(": "+c.pct))])})),r=ue(zH(e)(function(c){return ue([rD("row align-items-center")([rD("col text-nowrap")([rD("d-flex align-items-center")([t(c.color),wx("ml-2")(c.name)])]),wx("col-auto font-weight-semibold")(c.pct)]),Qa("my-3")])})),o=function(){return n?r:a}(),i=function(c){return rD("d-flex flex-column align-items-center")([Y(c.name),rD("d-flex align-items-center")([t(c.color),wx("ml-2")(c.pct)])])},u=function(c){return function(s){var f=c.angle+2*Nv*s.value;return{angle:f,visual:mcn({overlay:i(s)})(Mb({center:{x:0,y:0},angle0:c.angle,angle1:f,innerRadius:60,outerRadius:150,fill:s.color,stroke:{color:"white",width:1}}))}}},l=pcn("my-3")({viewBox:"-160 -160 320 320",width:"200",height:"200"})(zH(I6(u)({angle:0,visual:un})(e))(function(c){return c.visual}));return{chart:l,legend:o}}},Sx=function(){return function(e){var n=_cn(e),t=hcn(n.segments)(n.tableLegend),a=Je(Dr(n.title))(dcn("text-uppercase text-secondary small t--subtitle")),r=function(o){if(n.tableLegend)return JI("col-12 text-center col-md mb-3 mb-md-0")(JI("bg-very-light-grey py-4")(o));if(Le)return JI("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([JI("ml-4")(a),rD("row align-items-center justify-content-center")([r(t.chart),JI("col")(t.legend)])])}};var gcn=X(he),Dcn=Sx(),ycn=H(J),bcn=H(te),jRe=function(e){var n=function(){var t=gcn(e.props.breakdown)(function(a){return{value:a.percentage,color:a.chartColor,name:a.label,pct:Aa(a.percentage)}});return Dcn({segments:t,title:"Average aid package",stackLegend:!1,tableLegend:!1})}();return ycn("card")([da(e),bcn("card-body")(n)])};var $H=H(J),NRe=H(te),Rcn=s_(x)()(),wcn=xt(x),Scn=Xn(x),PRe=function(e){return $H("card")([da(e),NRe("card-body")($H("row mb-4 align-items-center text-center text-md-left")([NRe("col-12 col-md-auto")(Rcn("h-100 border-0 rounded")({src:e.video.link,allowFullScreen:!0})("")),$H("col mt-2 mt-md-0")([wcn("")(e.video.title),Scn("")(g_(e.video.duration))])]))])};var tB=ya(URe());var Pcn=Rf(),Ocn=function(e){return e},kcn=function(e){return e};var HRe=function(e){var n=Pcn(e);return function(){return function(){return n(tB.default)}}},BRe=function(e){return Ocn(io(e))};var JRe=kcn,WRe=io("auto");var Ucn=HRe(te)()(),Cx=H(J),Hcn=lt(J)()(),Bcn=xn(dt),Jcn=xt(x),qRe=H(x),Wcn=aa(x)()(),qcn=L(he),zcn=function(e){var n=function(a){return Ucn({duration:JRe(350),height:function(){if(a instanceof za)return BRe(0);if(a instanceof ar)return WRe;throw new Error("Failed pattern match at SchoolDetails.ContentModules.GrantsAndScholarships (line 42, column 19 - line 44, column 43): "+[a.constructor.name])}()})},t=function(a){if(a instanceof za)return"down";if(a instanceof ar)return"up";throw new Error("Failed pattern match at SchoolDetails.ContentModules.GrantsAndScholarships (line 37, column 5 - line 37, column 31): "+[a.constructor.name])};return lo(ca(za.value))(function(a){return function(r){return Cx("")([Hcn("row border-bottom align-items-center mb-4")({onClick:Bcn(r)(m0(a))})([Jcn("mb-4 mx-2")(e.name),qRe("ml-auto ms-auto mb-4 x-large fe fe-chevron-"+t(a))("")]),n(a)(Cx("mb-4")([qRe("mb-3")(e.description),Wcn("")({href:e.url,target:"_blank"})("Learn more here")]))])}})},zRe=function(e){return Cx("card")([da(e),Cx("card-body")(qcn(zcn)(e.props.grantsAndScholarships))])};var $cn=ae(Ci),WI=H(J),Vcn=Of(x),$Re=Xn(x),Qcn=lt(J)()(),VRe=X(he),Ycn=Po(),Xcn=Jl()(),Zcn=n0(x),Kcn=rt(x),QRe=function(e){var n="t--local-area-spotlight-carousel-"+$cn(oa(e.school));return WI("card")([da(e),WI("card-body")([Vcn("")(e.area.name),$Re("")(e.area.description),WI("mb-4")([Qcn("flickity-viewport-visible "+n)({style:Sn({display:"none"})})(VRe(e.area.images)(function(t){return Ycn("w-100 rounded")({src:t.url,ar:"2:1",fit:"crop",auto:"compress,format",sizes:E0})})),Xcn({containerClassName:n,onMountShowContainer:!0,pageDots:!0})]),Zcn("small text-uppercase mt-6 mb-4")("Top things to do"),WI("row")(VRe(e.activities)(function(t){return WI("col-12 col-md-6")([Kcn("")(t.name),$Re("")(t.description)])}))])])};var esn=Gn(x)()(),nsn=fe(yie),tsn=xn(dt),asn=ae(Ci),aB=H(J),YRe=Xn(x),rsn=l_(te),osn=u_(J),XRe=X(he),isn=i_(J),ZRe=Kv(x),usn=kr(x),lsn=$T(vt),csn=lt(J)()(),ssn=Po(),fsn=Jl()(),KRe=function(e){var n=function(r){return function(o){return function(i){return Je(r)(function(u){return esn("btn "+function(){var l=nsn(u)(o);return l?"btn-primary":"btn-outline-secondary"}())({onClick:tsn(i)(u)})(bie(u))})}}},t=function(r){return"t--non-academic-facilities-carousel-"+(asn(oa(e.school))+("-"+ke("")(vG)(r)))},a=function(r){if(r instanceof l0)return e.residence;if(r instanceof T_)return e.athletic;if(r instanceof Um)return e.dining;throw new Error("Failed pattern match at SchoolDetails.ContentModules.NonAcademicFacilities (line 74, column 18 - line 77, column 32): "+[r.constructor.name])};return lo(ca(l0.value))(function(r){return function(o){return aB("card")([da(e),aB("card-body")([aB("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)]),YRe("")(a(r).description),rsn("table table-lg")(osn("")(XRe(a(r).information)(function(i){return isn("")([ZRe("")(i.name),ZRe("text-right w-50 font-weight-bold fw-bold")(i.description)])}))),Je(a(r).list)(function(i){return ue([usn("uppercase text-secondary")(Ee("")(Rie(a(r).id))),YRe("")(lsn(", ")(i))])}),csn("flickity-viewport-visible mb-4 "+t(a(r).id))({style:Sn({display:"none"})})(XRe(function(i){return i.photos}(a(r)))(function(i){return ssn("w-100 rounded")({src:i.url,ar:"2:1",fit:"crop",crop:"faces",auto:"compress,format",sizes:E0})})),fsn({containerClassName:t(a(r).id),onMountShowContainer:!0,pageDots:!0,key:vG(Ee(l0.value)(a(r).id))})])])}})};var vsn=H(J),msn=H(te),psn=l_(te),_sn=u_(J),dsn=X(he),hsn=i_(J),ewe=Kv(x),nwe=function(e){return vsn("card")([da(e),msn("card-body")(psn("table table-lg")(_sn("")(dsn(e.props.costs)(function(n){return Je(n.description)(function(t){return hsn("")([ewe("")(n.name),ewe("text-right w-50")(t)])})}))))])};var iR=H(J),gsn=H(te),Dsn=Po(),ysn=xt(x),twe=Xn(x),bsn=Ga(x),Rsn=n0(x),wsn=L(he),awe=function(e){var n=function(t){return iR("row mb-4 align-items-center text-center text-md-left")([gsn("col-12 col-md-3")(Dsn("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 `})),iR("col mt-2 mt-md-0")([ysn("")(t.name)])])};return iR("card")([da(e),iR("card-body")([twe("")(e.description),iR("row pt-5 mx-1 border-bottom")([twe("col-6 px-0")("Religious affiliation"),bsn("col-6 ml-auto ms-auto text-right px-0")(e.affiliation)]),Rsn("small text-uppercase my-5")("Sacred spaces and religious facilities"),iR("")(wsn(n)(e.locations))])])};var qI=H(J),rB=Xn(x),Ssn=Ga(x),Esn=H(te),Csn=s_(x)()(),Isn=xt(x),Tsn=Po(),rwe=function(e){return qI("card")([da(e),qI("card-body")([rB("")(e.spectatorSports.description),qI("row pt-5 mx-1 border-bottom")([rB("")("Conference affiliation"),Ssn("ml-auto ms-auto")(e.spectatorSports.conferenceAffiliation)]),qI("row my-4 align-items-center")([Esn("col-12 col-md-auto")(Csn("h-100 border-0 rounded")({src:e.spectatorSports.video.url,allowFullScreen:!0})("")),qI("col mt-2 mt-md-0")([Isn("")(e.spectatorSports.video.title),rB("")(g_(e.spectatorSports.video.duration))])]),Je(e.spectatorSports.photoUrl)(function(n){return Tsn("rounded img-fluid mt-3")({src:n,ar:"3:2",fit:"crop",crop:"edges",sizes:E0})})])])};var oD=H(J),owe=rt(x),oB=Xn(x),Fsn=ih(Ut),Msn=Tp(Ut),iB=X(he),Gsn=ae(Ci),zI=H(te),Asn=fe(fa),xsn=lt(J)()(),Lsn=Po(),jsn=Jl()(),iwe=nn(x),Nsn=ae(ze),Psn=Gn(x)()(),Osn=xn(dt),uwe=function(e){var n=function(o){return ue([oD("col mt-3 pr-5")([owe("mb-2")(o.name),oB("text-secondary")(o.category),Je(o.description)(function(i){return oB("")(i)})]),Qa("")])},t=Fsn(Msn(iB(e.props.groups)(function(o){return o.category}))),a="t--student-groups-carousel-"+Gsn(oa(e.school)),r=Sd({title:I_(Zf(e.module.data)),items:e.props.groups,renderItem:function(o){return zI("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:Asn}});return oD("card")([da(e),oD("card-body")([oD("mb-4")([xsn("flickity-viewport-visible "+a)({style:Sn({display:"none"})})(iB(e.props.photos)(function(o){return Lsn("w-100 rounded")({src:o.url,ar:"2:1",fit:"crop",auto:"compress,format"})})),jsn({containerClassName:a,onMountShowContainer:!0,pageDots:!0})]),oD("row mt-6")([zI("col")(iwe("large")("Student-run groups and organizations")),zI("col-auto")(iwe("large")(Nsn(_a(e.props.groups))))]),Qa(""),oD("row")(iB(jr(function(o){return o.isFeatured})(e.props.groups))(function(o){return oD("col-12 col-md-6")([owe("mt-4 mb-2")(o.name),oB("text-secondary small")(o.category)])})),zI("row mt-4")(zI("col-6 offset-3")(Psn("btn btn-outline-primary btn-block")({onClick:Osn(e.showOverlay)(r)})("All student groups")))])])};var ksn=ih(Ut),Usn=Tp(Ut),Hsn=X(he),$I=H(J),Bsn=Po(),lwe=rt(x),cwe=Xn(x),uR=H(x),Jsn=fe(fa),Wsn=une(J),qsn=kr(x),zsn=L(he),swe=H(te),$sn=Gn(x)()(),Vsn=xn(dt),fwe=function(e){var n=function(o){return o.city+(", "+o.country)},t=ksn(Usn(Hsn(e.props.programs)(n))),a=function(o){return $I("col-12 mb-4 col-md-6 mb-md-0")([Je(o.imageURL)(function(i){return Bsn("rounded img-fluid")({src:i,ar:"3:2",fit:"crop",crop:"edges"})}),lwe("mt-3")(o.name),Je(o.description)(function(i){return cwe("")(i)}),uR("mt-n2 text-secondary")("Location: "+n(o)),Je(o.duration)(function(i){return uR("text-secondary mt-2")("Program length: "+i)})])},r=Sd({title:"All programs",items:e.props.programs,renderItem:function(o){return $I("mb-5")([lwe("")(o.name),Je(o.description)(function(i){return cwe("")(i)}),uR("mt-n2 text-secondary")("Location: "+n(o)),Je(o.region)(function(i){return uR("text-secondary mt-2")("Region: "+i)}),Je(o.duration)(function(i){return uR("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:Jsn}});return $I("card")([da(e),$I("card-body")([Je(e.props.description)(function(o){return uR("mb-4")(o)}),Wsn("")([qsn("")("Featured programs"),$I("row mt-4")(zsn(a)(e.props.featuredPrograms))]),swe("row mt-4")(swe("col-6 offset-3")($sn("btn btn-outline-primary btn-block")({onClick:Vsn(e.showOverlay)(r)})("All programs")))])])};var uB=H(J),vwe=H(te),Qsn=X(he),Ysn=Po(),Xsn=rt(x),Zsn=Xn(x),mwe=function(e){return uB("card")([da(e),vwe("card-body")(ue(Qsn(e.traditions)(function(n){return uB("row mb-4")([Je(n.photoUrl)(function(t){return vwe("col-12 col-md mb-4 mb-md-0")(Ysn("w-100 rounded")({src:t,fit:"crop",crop:"faces",ar:"2:1",auto:"compress,format"}))}),uB("col")([Xsn("")(n.name),Zsn("")(n.description)])])})))])};var Ksn=H(te),efn=lt(te)()(),nfn=H(x),tfn=H(J),afn=X(he),pi=nm()(),rfn=xn(dt),ofn=Gn(J)()(),ifn=nn(x),ufn=Bn(Mn)(Wt),lfn=Jn(nt),lB=q(_t),pwe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),_we=function(){function e(){}return e.value=new e,e}(),dwe=function(e){return function(n){return function(t){var a=Ksn("text-center p-4")(efn("spinner-border text-primary")({role:"status"})(nfn("sr-only")("Loading\u2026"))),r=function(u){return t(pwe.create(u))},o=function(u){var l=xv(yu(Oie)(function(s){return Zf(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 tfn("pb-5 "+function(){var s=Dt(n.overlay);return s?"d-none":""}())(afn(l(u))(function(s){if(s.data instanceof pG)return cRe(pi(c(s))(s.data.value0));if(s.data instanceof _G)return fRe(pi(c(s))({props:s.data.value0}));if(s.data instanceof dG)return vRe(pi(c(s))(s.data.value0));if(s.data instanceof hG)return dRe(pi(c(s))({mapboxAccessToken:e.mapboxAccessToken}));if(s.data instanceof gG)return gRe(pi(c(s))(s.data.value0));if(s.data instanceof DG)return DRe(pi(c(s))(s.data.value0));if(s.data instanceof yG)return FRe(pi(c(s))({props:s.data.value0,showOverlay:r,randomSeed:e.randomSeed}));if(s.data instanceof bG)return ARe(pi(c(s))({props:s.data.value0,showOverlay:r}));if(s.data instanceof RG)return LRe(pi(c(s))(s.data.value0));if(s.data instanceof wG)return jRe(pi(c(s))({props:s.data.value0}));if(s.data instanceof SG)return PRe(pi(c(s))(s.data.value0));if(s.data instanceof EG)return zRe(pi(c(s))({props:s.data.value0}));if(s.data instanceof CG)return QRe(pi(c(s))(s.data.value0));if(s.data instanceof IG)return KRe(pi(c(s))(s.data.value0));if(s.data instanceof TG)return nwe(pi(c(s))({props:s.data.value0}));if(s.data instanceof FG)return awe(pi(c(s))(s.data.value0));if(s.data instanceof MG)return rwe(pi(c(s))(s.data.value0));if(s.data instanceof GG)return uwe(pi(c(s))({props:s.data.value0,showOverlay:r}));if(s.data instanceof AG)return fwe(pi(c(s))({props:s.data.value0,showOverlay:r}));if(s.data instanceof xG)return mwe(pi(c(s))(s.data.value0));throw new Error("Failed pattern match at SchoolDetails.ForYou (line 115, column 47 - line 184, column 48): "+[s.data.constructor.name])}))},i=rfn(t)(_we.value);return ue([ke(a)(o)(vo(e.contentModules)),Je(n.overlay)(function(u){return ue([ofn("btn btn-link px-0")({onClick:i})([ifn("fe fe-chevron-left mr-1")(""),Y("Back")]),u])})])}}},hwe=function(e){return function(n){if(n instanceof pwe)return ufn(cr(lfn(t9)))(function(){return lB({overlay:new d(n.value0)})});if(n instanceof _we)return lB({overlay:I.value});throw new Error("Failed pattern match at SchoolDetails.ForYou (line 66, column 1 - line 66, column 55): "+[e.constructor.name,n.constructor.name])}},gwe=function(){return lB({overlay:I.value})}();var cfn=ia(su),sfn=Kf(),ffn=uP(),Dwe=function(e){var n=aa(e)()();return function(t){return function(a){return n(t)({href:a.href,onClick:cfn(function(r){return function(){return sfn(r)(),ffn(r)(),a.onClick()}})})}}};var vfn=Gn(x)()(),ywe=xn(dt),mfn=Gn(J)()(),pfn=nn(x),_fn=uw(ite),dfn=Sa(),hfn=H(J),gfn=Qe(la),Dfn=L(he),yfn=function(e){return function(n){return n instanceof d&&n.value0 instanceof __?"btn-success":n instanceof d&&n.value0 instanceof d_?"btn-danger":n instanceof d&&n.value0 instanceof p_?"btn-secondary":n instanceof d&&n.value0 instanceof h_||n instanceof I&&e.primary?"btn-primary":n instanceof I?"btn-outline-primary":"btn-light"}},bfn=function(e){return e instanceof __?"badge-soft-success bg-success-soft":e instanceof d_?"badge-soft-danger bg-danger-soft":e instanceof p_?"badge-secondary bg-secondary":e instanceof h_?"badge-soft-primary bg-primary-soft":"badge-light bg-light text-dark"},bwe=function(){return function(e){return function(n){return function(t){var a=function(v){return" t--school-list-status-"+ou(kS(v))},r=function(v){return vfn("dropdown-item mb-1 "+(bfn(v)+a(v)))({onClick:ywe(t)(new d(v))})(_2(v))},o=function(){var v=function(m){if(Le)return[mfn("dropdown-item mb-1 d-flex align-items-end badge-danger bg-danger t--school-list-status-remove")({onClick:ywe(t)(I.value)})([pfn("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 I?[]:v(!0)}(),i=_fn(D9)(ke([])(Ip)(n)),u=dfn(e),l=$n(u.buttonContent)(Y(ke("Add to my list")(_2)(n))),c=$n(u.primary)(!1),s=$n(u.small)(!1),f=$n(u.buttonClass)("btn btn-block "+function(){return s?"no-animation btn-sm":"px-4"}());return Q4("")({toggleClass:f+(" t--school-list-status-selector "+yfn({primary:c})(n)),toggleContent:l,content:function(v){return hfn($n(u.menuClass)("")+(" "+v.className))(gfn(Dfn(r)(i))(o))},"aria-label":"School list selector dropdown"})}}}};var Rfn=Us(),wfn=on(),Sfn=xn(Zr),Rwe=function(e){return Rfn({options:Ile(e.schoolDb),getOptionLabel:_S,getOptionValue:function(n){return wfn(oa(n))},onSelect:Sfn(e.onSelect)(function(n){return n}),placeholder:e.placeholder,noOptionsMessage:TA(function(n){return Y("No schools found")}),classNamePrefix:e.classNamePrefix,"aria-label":e.placeholder})};var wwe="/messages";var Ix=Gn(x)()(),cB=ia(sr),Tx=H(te),Afn=H(J),xfn=aa(x)()(),Fx=function(e){var n=Ix("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 I)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=Ix("btn btn-block btn-primary px-4 t--sdp-connection-invite")({onClick:cB(e.onInviteSchool),disabled:a,style:Sn({pointerEvents:function(){return a?"none":"auto"}()})})("Connect"),o=function(){return a?ZE(XE)(Tx("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=Ix("btn btn-block btn-primary text-nowrap t--sdp-connection-accept")({onClick:cB(e.onAcceptInvitation),disabled:a,style:Sn({pointerEvents:function(){return a?"none":"auto"}()})})(i),l=Afn("form-row")([Tx("col-6 pr-2")(function(){return a?ZE(XE)(Tx("t--sdp-connection-accept-wrapper")(u)):u}()),Tx("col-6 pl-2")(Ix("btn btn-block btn-light text-nowrap t--sdp-connection-ignore")({onClick:cB(e.onIgnoreInvitation)})(t))]),c=LS(oa(e.school))(e.schoolDb);if(c instanceof qt&&c.value0.status instanceof jl)return xfn("btn btn-block btn-outline-primary t--sdp-connection-go-to-chat")({href:wwe})("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 Tu&&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 Tu&&c.value0.initiator instanceof Cs)return n;if(c instanceof Ra)return o;if(c instanceof nr)return un;throw new Error("Failed pattern match at Network.SemVine.SchoolDetailsButton (line 36, column 3 - line 58, column 14): "+[c.constructor.name])};var Lfn=Kr(Gr(Ao)),Swe=Z(Ot),jfn=Sa(),Nfn=Vi(Vn(Qn()(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))))))),Pfn=q(ea),Ofn=X(he),Ewe=V0(),kfn=function(){return Lfn("schools_search_path")(function(e){return function(n){return Swe(function(){var t=jfn(n);return e({term:t.term,only_ui_discoverable:$n(t.onlyUiDiscoverable)(!0)})}())(Hr(function(t){return Swe(Nfn("School Search Results")(t))(function(a){return Pfn(Ofn(a)(function(r){return{imageUrl:r.imageUrl,name:r.name,id:Ewe(r.id),slug:Ewe(r.slug)}}))})}))}})},Ufn=kfn(),Cwe=function(e){return Ufn({term:e})};var Iwe=X(Vt),Hfn=as(Uv),Twe=function(){var e=function(t){return Iwe(Iwe(Hfn(Cwe(t)))(Xl))(Ee([]))},n=function(t){return NG(c0(Qo.value)(t.slug))};return MA()({loadOptions:FA(e),defaultOptions:!0,getOptionLabel:function(t){return t.name},getOptionValue:function(){var t=ae(Ci);return function(a){return t(function(r){return r.id}(a))}}(),onSelect:ia(su)(n),placeholder:"Type to search",instanceId:"school-jump-bar"})}();var Bfn=hs(J),Jfn=X(he),Wfn=Ec(te),qfn=Dwe(x),zfn=fe(qie),Fwe=on(),$fn=Qf(),Vfn=X(B),Qfn=bwe(),Oc=H(te),Yfn=Po(),np=H(J),Xfn=H(x),sB=L(B),Zfn=lt(te)()(),Kfn=Of(x),evn=nn(x),nvn=function(e){return function(n){var t=jr(jG({chancingState:n.chancingState,featureFlags:n.featureFlags,currentUser:n.currentUser,configuration:n.configuration,school:e.school,schoolDb:e.schoolDb}))([Fu.value,Qo.value,Qi.value,Mu.value,Nl.value,Pl.value,Ol.value]),a=function(o){if(o instanceof Qo)return"Overview";if(o instanceof Fu)return"For you";if(o instanceof Qi)return"Chancing";if(o instanceof Mu)return"Cost & scholarships";if(o instanceof Nl)return"Majors";if(o instanceof Pl)return"Admissions";if(o instanceof Ol)return"Essay prompt";throw new Error("Failed pattern match at SchoolDetails.Header (line 184, column 15 - line 191, 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 193, column 5 - line 197, column 13): "+[])}();return En(e.showNav)(Bfn("nav nav-tabs overflow-visible border-bottom-0 "+r)(Jfn(t)(function(o){return Wfn("nav-item text-nowrap")(qfn("cursor-pointer py-3 nav-link t--sdp-tab-"+(bE(o)+function(){var i=zfn(o)(e.activeTab);return i?" active":""}()))({onClick:e.onSwitchTab(o),href:c0(o)(function(i){return i.slug}(Fwe(e.school)))})(a(o)))})))}},tvn=function(e){return function(n){if(n.currentUser instanceof I)return $fn({text:"Add to my list",className:"btn btn-outline-primary btn-block",auth0ActiveTab:Vf});if(n.currentUser instanceof d){var t=Vfn(xS(oa(e.school))(e.schoolDb))(function(a){return a.status});return Qfn({small:!1,primary:!1})(t)(e.onListStatusChange)}throw new Error("Failed pattern match at SchoolDetails.Header (line 139, column 33 - line 151, column 34): "+[n.currentUser.constructor.name])}},Mwe=function(e){return function(n){var t=Oc("col-10 col-lg-5 py-2 mr-lg-0 pl-0")(function(){var i=_a(e.schoolDb.searchOptions)<10;return i?Twe:Rwe({schoolDb:e.schoolDb,onSelect:e.onSelectSchool,placeholder:"Type to search...",classNamePrefix:""})}()),a=Fwe(e.school),r=function(){if(a.publicPrivate instanceof Xp)return"Public";if(a.publicPrivate instanceof Zp)return"Private";throw new Error("Failed pattern match at SchoolDetails.Header (line 106, column 21 - line 108, column 33): "+[a.publicPrivate.constructor.name])}(),o=function(i){return Yfn("rounded")({src:a.imgixPath,fit:"crop",crop:"edges",style:Sn({height:i,width:"100%",objectFit:"cover"})})};return np("header mb-3 mx-n3 mx-md-0")([np("row pr-3 my-3")([Oc("col pr-0")(va(n.backButton)),va(Cu(e.configuration)(t)),Xfn("col")("")]),np("position-relative mx-3 mx-lg-0")([Oc("d-md-none")(o("15rem")),Oc("d-none d-md-block")(o("20rem")),va(sB(Zfn("position-absolute d-inline bg-gray-100 rounded")({style:Sn({top:"1.5rem",right:"1.5rem"})}))(X1e(e.onEdit)(Ub.value)))]),Oc("container px-lg-0")(np("pb-0 pb-md-3")([np("row align-items-end mt-4")([np("col mb-3")([np("row align-items-center")([Oc("col-auto")(Kfn("header-title")(a.name)),va(sB(Oc("col-auto pl-0"))(mi(e.onEdit)(hd.value)))]),Oc("row")(np("col small")(uh(evn("mx-2")("\u2022"))(Io(sB(Y))([new d(oS(a.address)),EL(a),new d(r)]))))]),Oc("col-12 col-lg-auto my-0 mb-lg-3")(np("row no-gutters g-0 align-items-center")([En(e.showConnectButton)(Oc("col-12 col-lg-auto pb-3 pb-lg-0 pr-lg-2")(Fx({school:e.school,schoolDb:e.schoolDb,onInviteSchool:e.onInviteSchool,onAcceptInvitation:e.onAcceptInvitation,onIgnoreInvitation:e.onIgnoreInvitation,featureFlags:n.featureFlags,vineBelowConnectionLimit:e.vineBelowConnectionLimit,shortText:!1}))),va(Cu(e.configuration)(Oc("col-12 col-lg-auto")(tvn(e)(n))))]))]),Oc("row border-bottom mx-1")(Oc("col col-lg-auto mt-3 mt-lg-0 px-0")(nvn(e)(n)))]))])}};var Gwe=H(te),avn=nn(x),rvn=ae(ze),ovn=rt(x),Mx=H(J),Awe=l_(J),xwe=qM(te),Gx=i_(te),Lwe=zM(x),jwe=u_(J),fB=X(he),Nwe=Kv(x),ivn=kr(x),uvn=af(Ut),lvn=function(e){return Gwe("card bg-white")(Gwe("card-body")(avn("")(e.name+(" has "+(rvn(_a(e.majors))+" different majors")))))},cvn=function(e){return ue([ovn("")("Most popular majors"),Mx("card")([Mx("table-responsive")([Awe("table table-sm table-nowrap card-table")([xwe("")(Gx("")(Lwe("")("Major"))),jwe("list")(fB(e)(function(n){return Gx("")(Nwe("")(n.name))}))])])])])},svn=function(e){return function(n){var t=s9(n.id)(e),a=fB(Pne(t))(function(r){var o=Mp(r).areaOfStudy;return ue([Mx("card")([ivn("card-header")(o),Mx("table-responsive")([Awe("table table-sm table-nowrap card-table")([xwe("")(Gx("")(Lwe("")("Major"))),jwe("list")(fB(xv(uvn(function(i){return i.name}))(Kl(r)))(function(i){return Gx("")(Nwe("")(i.name))}))])])])])});return ue(a)}},Pwe=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([lvn(n),function(){return n.id==="b1fe9c0b-0310-45f9-8579-1ad20fabacb1"?cvn(t):un}(),svn(e)(n)])}};var Owe=q(_t),kwe=Ii(Vt),fvn=Tr(kwe),vvn=Z(Wt),mvn=_r(kwe),C0=H(J),Ax=lt(te)()(),Uwe=xt(x),vB=H(x),xx=H(te),pvn=rt(x),_vn=kr(x),mB=nn(x),dvn=nn(te),pB=Ga(x),hvn=ae(Wi),Hwe=ae(ze),gvn=lt(x)()(),Dvn=aa(x)()(),_B=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Bwe=function(e){return function(n){if(n.value0 instanceof Qt)return Owe({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 I)return Ra.value;throw new Error("Failed pattern match at SchoolDetails.Chancing.LiteChancingCta (line 57, column 11 - line 59, column 30): "+[t.constructor.name])}()});if(n.value0 instanceof tt)return fvn(_B.create)(function(t){return{chancedSchool:e.chancedSchool,schools:e.schools,liteChancing:t}})(A1e({schools:e.schools})(e.liteChancing)(n.value0));throw new Error("Failed pattern match at SchoolDetails.Chancing.LiteChancingCta (line 52, column 16 - line 63, column 55): "+[n.constructor.name])}},Jwe=S2()({utmCampaign:"uaq-38-sdp"})(V4),Wwe=function(e){var n=[T1e(e)];return vvn(mvn(_B.create)(G1e({schoolItems:n,redirectUrlOverride:new d(Jwe)})))(function(t){return Owe({schools:n,chancedSchool:new nr(I.value),liteChancing:t})})},qwe=function(e){return function(n){return function(t){return function(a){var r=function(l){return Je(l.score)(function(c){return C0("row align-items-center mb-3")([Ax("col-12 col-lg-auto")({style:Sn({minHeight:"140px",minWidth:"280px"})})(tR({score:new d(Nr(c*100))})),C0("col-12 col-lg py-3 my-auto")([Uwe("font-weight-normal fw-normal")("Your chances"),vB("h3 text-gray-800 mb-0 large")(Aa(c))])])})},o=function(l){return Vie(l)},i=function(l){return e.liteChancing.chancingIsLoading?Ax("mb-4 spinner-border spinner-border-lg text-primary small")({role:"status"})(vB("sr-only")("Loading\u2026")):r(l)},u=function(l){return L1e(e.liteChancing)(function(c){return n(_B.create(c))})(function(c){return xx("mt-2 mb-0 lite-chancing-cta")(xx("card h-100")(C0("card-body overflow-auto mh-100")([C0("d-flex align-items-center mb-4")([pvn("my-0 mr-3")("Chancing"),va(mi(a)(qb.value))]),C0("row")([C0("col-12 col-lg-6")([Uwe("")("What are your chances of acceptance?"),i(l)]),C0("col-12 col-lg-6")([_vn("font-weight-normal fw-normal")("Your chancing factors"),c.gpaSlider({className:"mt-2 mb-3",label:function(s){return ue([mB("mb-2")("Unweighted GPA:"),dvn("gpa")(pB("")(" "+hvn(s)))])},onChange:o(c.redirectUrl)}),C0("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: "),pB("")(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(" | "),pB("")(Hwe(s)+" verbal")])},onChange:o(c.redirectUrl)})]),xx("mb-2")(c.genderDropdown({onChange:o(c.redirectUrl),className:""})),c.ecSelector({onChange:o(c.redirectUrl),className:""}),C0("")([C0("mb-1 small")([mB("text-danger")("Low accuracy"),mB("text-muted")(" (4 of 18 factors)")]),Ax("progress")({style:Sn({backgroundColor:"#95aac9",height:"3px"})})(gvn("progress-bar bg-danger")({role:"progressbar",style:Sn({width:"15%"})})(""))]),xx("mt-4")(Dvn("t--sdp-lite-chancing-cta-left-sidebar-complete-full-profile-uaq-8 btn btn-primary w-100")({href:bs({key:"utm_content",value:"add-more-factors"})(Jwe)})("Add more factors \u203A"))])])])))})};if(e.chancedSchool instanceof nr)return Ax("mb-4 spinner-border spinner-border-lg text-primary small")({role:"status"})(vB("sr-only")("Loading\u2026"));if(e.chancedSchool instanceof Ra)return t;if(e.chancedSchool instanceof qt)return u(e.chancedSchool.value0);throw new Error("Failed pattern match at SchoolDetails.Chancing.LiteChancingCta (line 67, column 3 - line 79, column 32): "+[e.chancedSchool.constructor.name])}}}};var zwe=Ob(x),yvn=ba(Oe)(vt),$we=ae(ze),bvn=rt(te),Rvn=xt(x),VI=H(J),dB=H(te),wvn=rt(x),Svn=function(e){var n=$g(_d(e.studentsPerFaculty.percentile));return ue([zwe("Student faculty ratio")(yvn([a0(w2.value),$we(e.studentsPerFaculty.value),":1 is ",n,"."])),$a("")($we(e.studentsPerFaculty.value)+":1")])},Evn=function(e){return ue([zwe("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. `),$a("mr-1")(dK(e.calendarSystem))])},Cvn=function(e){var n=function(t){return bvn("d-inline-block mb-2")(ll(t))};return ue([Rvn("mb-4 mt-5 mt-md-4")("Special academic offering"),VI("")([En(e.academicOfferings.studyAbroad)(n("Study abroad")),function(){if(e.academicOfferings.creditForApExams&&e.academicOfferings.creditForIbExams)return n("Credit for AP and IB exams");if(e.academicOfferings.creditForApExams&&!e.academicOfferings.creditForIbExams)return n("Credit for AP exams");if(!e.academicOfferings.creditForApExams&&e.academicOfferings.creditForIbExams)return n("Credit for IB exams");if(!e.academicOfferings.creditForApExams&&!e.academicOfferings.creditForIbExams)return un;throw new Error("Failed pattern match at SchoolDetails.Overview.Academics (line 74, column 7 - line 78, column 32): "+[e.academicOfferings.creditForApExams.constructor.name,e.academicOfferings.creditForIbExams.constructor.name])}(),En(e.academicOfferings.offersGradDegree)(n("Offers graduate degree")),En(e.academicOfferings.careerCounseling)(n("Academic and career counseling"))])])},Vwe=function(e){return dB("card t--academics mt-5")(VI("card-body d-flex align-items-start")([VI("flex-grow-1 mr-4")([VI("d-flex align-items-center mb-5")([wvn("my-0 mr-3 flex-grow-1")("Academics"),va(mi(e.onEdit)(Wb.value))]),VI("row")([dB("col-12 col-md-6")(Svn(e.school)),dB("col-12 col-md-6")(Evn(e.school))]),Cvn(e.school)])]))};var Lx=H(J),lR=H(te),Ivn=n0(x),Tvn=xt(J),Fvn=pu(x),Mvn=rt(te),Gvn=kr(x),Avn=Xn(x),xvn=tG(),Lvn=q(kn),jvn=X(XA),Nvn=rt(x),Pvn=nn(te),Ovn=on(),kvn=function(e){return Je(e.admissions.acceptanceRate)(function(n){return Lx("row align-items-center mb-3")([lR("col-12 col-lg-6")(lR("row")(lR("col-6 order-2 order-lg-1 px-sm-4 px-lg-0")(tR({score:new d(Nr(100*n.value))})))),Lx("col-12 col-lg-6 py-3 my-auto")([Ivn("text-uppercase text-muted")("Overall acceptance rate"),Tvn("text-gray-800 mb-0")([Y(Aa(n.value)),Fvn("text-secondary ml-2")(Kg(e))])])])})},Uvn=function(e){return lR("card t--chancing")(Lx("card-body")([Mvn("")(Y(function(){if(e.admissions.acceptanceRate instanceof d)return rbe(e.name)(e.admissions.acceptanceRate.value0.value);if(e.admissions.acceptanceRate instanceof I)return e.name;throw new Error("Failed pattern match at SchoolDetails.Overview.Chancing (line 69, column 26 - line 71, column 31): "+[e.admissions.acceptanceRate.constructor.name])}())),kvn(e),Gvn("")("Want to see your real chances?"),Avn("")("We take every aspect of your personal profile into consideration when calculating your admissions chances."),xvn({text:"Calculate my chances",className:"btn btn-primary"})]))},Qwe=function(e){return function(n){return function(t){var a=Uvn(e.school);return function(r){if(r instanceof $b)return Je(ZA(r.value1))(rR({onSwitchTab:Lvn(e.onSwitchTab),showViewChancingExplanationCTA:!0,schoolDb:e.schoolDb})(e.school)(r.value0)(jvn(ex(r.value1))(function(o){return o.top})));if(r instanceof Qb)return qwe(e.liteChancing)(t)(a)(e.onEdit);if(r instanceof Yb)return EI({narrowLayout:n.mobileLayout});if(r instanceof Vb)return lR("card")(Lx("card-body")([Nvn("mr-3")("Chancing"),lR("p-6 text-center")(Pvn("spinner-border spinner-border-sm text-primary")(un))]));throw new Error("Failed pattern match at SchoolDetails.Overview.Chancing (line 42, column 7 - line 61, column 16): "+[r.constructor.name])}(KA({currentUser:n.currentUser,chancingState:n.chancingState,school:Ovn(e.school)}))}}};var jx="/recruit/verify-profile";var Hvn=pt(Ae),Bvn=X(B),Jvn=fe(oc),Wvn=aa(J)()(),qvn=nn(x),Nx=H(J),hB=H(x),Ywe=aa(x)()(),zvn=H(te),$vn=rt(x),Vvn=Xn(x),gB=function(e){return function(n){return e.featureFlags.rcr2577ClaimSchoolProfileLinkOnSdp?e.school.profileClaimed?I.value:Hvn(Cu(e.configuration))(function(){var t=Bvn(e.currentUser)(function(a){return a.role});return t instanceof I?new d(n(Ce)):t instanceof d&&t.value0 instanceof Sj&&Jvn(t.value0.value0.schoolId)(oa(e.school))?new d(n(Ce)):I.value}()):I.value}},Xwe=function(e){return gB(e)(function(n){return Wvn("d-flex align-items-center")({href:jx})([qvn("material-symbol large mr-2")("verified"),Nx("d-flex flex-column flex-md-row")([hB("mr-md-2")("Work at "+(_S(e.school)+"?")),hB("")("Verify your profile")])])})},Zwe=function(e){return gB(e)(function(n){return Nx("d-flex flex-column flex-md-row justify-content-center align-items-center border-top pt-3 mb-5")([hB("mr-md-2")("Do you work at a school?"),Ywe("")({href:jx})("Verify your profile")])})},Kwe=function(e){return gB(e)(function(n){return zvn("card bg-cv-green-50")(Nx("card-body d-flex align-items-center")([dE("img-fluid mr-4 d-none d-md-block")("/img/sem/claim-school-profile-cta.svg"),Nx("")([$vn("")("Do you work at "+(_S(e.school)+"?")),Vvn("")(` Verify your profile\xA0to keep your college's data up to date, get insights on user activity and connect with hand raiser students `),Ywe("")({href:jx})("Verify your profile")])]))})};var Qvn=fe(oc),DB=H(J),Yvn=al(x),Xvn=gs()(),Zvn=xn(Zr),Kvn=ua(x),e0n=H(te),n0n=nn(x),eSe=ae(ze),QI=q(_t),nSe=Bn(Mn),tSe=nSe(Wt),yB=Vr(nt),bB=q(ea),t0n=nSe(Ot),RB=function(){function e(){}return e.value=new e,e}(),aSe=function(){function e(){}return e.value=new e,e}(),rSe=function(){function e(){}return e.value=new e,e}(),oSe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),iSe=function(){function e(){}return e.value=new e,e}(),uSe=function(){function e(){}return e.value=new e,e}(),lSe=function(e){return function(n){return function(t){var a=oa(e.school),r=function(){return n.stagedNotes instanceof d&&Qvn(n.stagedNotes.value0.schoolId)(a)?n.stagedNotes.value0.text:c9(a)(e.schoolDb)}(),o=function(){if(n.savedIndicator instanceof RB)return"hidden";if(n.savedIndicator instanceof aSe)return"";if(n.savedIndicator instanceof rSe)return"fade-out";throw new Error("Failed pattern match at SchoolDetails.Overview.Notes (line 89, column 27 - line 92, column 27): "+[n.savedIndicator.constructor.name])}(),i=ft(N2),u=function(c){if(c{let e=null,n=0,t=()=>{if(!I0||!I0.key)return I0||console.error("Pusher config is missing in global context"),new Omn;let a={auth:{headers:{"X-CSRF-Token":I0.authToken}},authEndpoint:I0.authPath,cluster:I0.cluster};return I0.dev&&Object.assign(a,{wsHost:I0.dev.wsHost,wsPort:I0.dev.wsPort,enabledTransports:["ws"],forceTLS:!1,disableStats:!0}),new aEe.default(I0.key,a)};return{acquireConnection:()=>(e||(e=t(),n=0),n++,e),releaseConnection:()=>{--n<=0&&(e.disconnect(),e=null)}}})(),rEe=e=>{let n=Nmn().subscribe(e.channel);return n.bind(e.event,e.handler),()=>{n.unbind(e.event,e.handler),Pmn()}};function Omn(){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 kmn(e);return this.channels.push(t),t},this.channelNames=function(){return this.channels.map(e=>e.name)}}function kmn(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 Umn=ba(Oe)(vt),Hmn=ao(Kt)(Wo);var Bmn={show:function(e){return e}},Jmn=ae(Bmn),LB=ie,oEe=function(e){var n=eS(e);return function(t){return function(a){return function(r){var o=Umn(["Pusher event ",a," over channel ",Jmn(t)]),i=function(u){return Hmn(n(o)(u))(r)()};return function(){return rEe({channel:t,event:a,handler:i})}}}}};var jB=ie;var iEe=Gr(Ao),uEe=Z(Ot),lEe=Qn(),Wmn=Vi(lEe(E({reflectSymbol:function(){return"failureReason"}})(ie)(E({reflectSymbol:function(){return"success"}})(zn)(_e)))),qmn=Vi(lEe(E({reflectSymbol:function(){return"conversationId"}})(jB)(E({reflectSymbol:function(){return"pusherChannel"}})(LB)(_e)))),cEe=Kr(Gr(Gr(iEe)))("trellis_inference_recruiter_send_message_path")(function(e){return function(n){return function(t){return function(a){return uEe(e({conversationId:t,message:a,presetTopic:bi,vault:n}))(Hr(Wmn("Trellis.Inference.Recruiter.API: sendMessage")))}}}}),sEe=Kr(iEe)("trellis_inference_recruiter_create_conversation_path")(function(e){return function(n){return uEe(e({school_id:n}))(Hr(function(t){return qmn("Trellis.Inference.Recruiter.API: createConversation")(t)}))}});var zmn=on();var fEe=function(e){return"/trellis/inference/recruiter/direct-message-introduction/"+zmn(e)};var vEe="active";var NB=rDe()(),zx=e0(J)()()("")({style:Sn({height:40,width:40})})([NB("blink")({cx:10,cy:20,r:3,style:Sn({fill:"grey"})}),NB("blink")({cx:20,cy:20,r:3,style:Sn({fill:"grey",animationDelay:"250ms"})}),NB("blink")({cx:30,cy:20,r:3,style:Sn({fill:"grey",animationDelay:"500ms"})})]);var $mn=X(it);var mEe=function(e){return $mn(yj(e.currentTarget))(function(n){return $n(XL(n))(0)})};var pEe=Ja(),Vmn=Qe(GL),Qmn=mf(vt),PB=ae(ze),Ymn=pl(Ae),Xmn=Z(Ae);var $x=function(){var e=pEe(Xl(E1("\\s+")(Vmn(SM)(see)))),n=jr(function(a){return a!==""}),t=ML(e);return function(a){return _a(n(t(a)))}}(),_Ee=function(e){return function(n){var t=$x(n);return Qmn([PB(t),"/",PB(e)," words"])}},dEe=function(e){return function(n){var t=function(i){return pEe(Xl(E1("^(?:[\\w-]+[^\\w-]+){"+(PB(i)+"}[\\w-]+"))(cee)))},a=function(i){return function(u){var l=Ymn(Xmn(AL(t(i-1|0))(u))(Nt(dw)(0)));return Ee(u)(l)}},r=Gs(n),o=$x(r)0;return i?"/img/icons/sage-send-purple.svg":"/img/icons/ai-send.svg"}()))},r=tpn(e);return ue([apn("flex-grow-1")([rpn("form-control t--new-message-body "+$n(r.className)(""))({autoFocus:$n(r.autoFocus)(!0),placeholder:r.placeholder,style:Sn({borderStyle:"none",resize:"none",height:function(){if(n.messageHeight instanceof I)return"";if(n.messageHeight instanceof d)return opn(n.messageHeight.value0)+"px";throw new Error("Failed pattern match at Vinai.AuthorChatMessage (line 87, column 19 - line 89, column 37): "+[n.messageHeight.constructor.name])}(),background:"none"}),rows:1,value:n.message,onChange:function(o){var i=dEe(1e3)(o),u=ppn(o)(),l=function(){var c=$r(i)<5;return c?I.value:new d(u)}();return t(tt.create(fpn.create({message:i,messageHeight:l})))()},onKeyPress:ipn(function(o){return gEe(o.key==="Enter"&&!o.shiftKey)(function(){return upn(o)(),gEe(n.message!==""&&mpn(r.sendButtonStatus)(Fd.value))(t(Qt.create(OB.create(n.message))))()})})}),En($x(n.message)>=lpn(1e3)(2))(cpn("pl-3 pb-3 text-muted small")(_Ee(1e3)(n.message)))]),spn("text-right d-flex")(function(){if(r.sendButtonStatus instanceof Fd)return a(!0);if(r.sendButtonStatus instanceof uD)return a(!1);if(r.sendButtonStatus instanceof Md)return zx;throw new Error("Failed pattern match at Vinai.AuthorChatMessage (line 110, column 7 - line 113, column 35): "+[r.sendButtonStatus.constructor.name])}())])}}}};var Vx=function(){return{message:"",messageHeight:I.value}}();var _pn=on();var dpn=function(e){return _pn(IF(e))};var DEe=function(e){return qr(dpn(e))};var hpn=lF(Ut),gpn=_h(qo),Dpn=Z(qa),yEe=Jn(rs),bEe=q(Kt),ypn=Ep(Kt)(yi),bpn=oEe(Pp),Rpn=Ve(Ye),wpn=ba(Oe)(a6(K5)),Spn=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Qx=function(){function e(){}return e.value=new e,e}(),Yx=function(){function e(){}return e.value=new e,e}();var HB={append:function(e){return function(n){return hpn(n)(e)}}},Epn={mempty:df,Semigroup0:function(){return HB}},Cpn=Ov(FF(Epn)(ha)),REe=function(e){return e.value0.disconnect},wEe=function(e){return function(n){var t=DEe(n),a=gpn(t);return function(){var o=yEe(uf(bEe(Ce)))(),i=ypn(a)(function(l){return bpn(e)(l.value0)(function(c){return function(){var f=l.value1(c)();if(f instanceof Qx)return Ce;if(f instanceof Yx)return Dpn(Qc(o))(Rpn)();throw new Error("Failed pattern match at Utils.Pusher.ListenMany (line 70, column 23 - line 72, column 66): "+[f.constructor.name])}})})(),u=wpn(i);return yEe(of(u)(o))(),new Spn({disconnect:u})}}},Xx=function(e){var n=tm(e);return function(t){return function(a){return Cpn(ZD(t)(function(r){var o=n(r);if(o instanceof ln)return a(o.value0);if(o instanceof rn)return Mo($o)("Error parsing Pusher event")({error:o.value0,event:t,value:r})(function(i){return bEe(Qx.value)});throw new Error("Failed pattern match at Utils.Pusher.ListenMany (line 32, column 65 - line 34, column 122): "+[o.constructor.name])}))}}};var lD=function(){function e(){}return e.value=new e,e}(),nT=function(){function e(){}return e.value=new e,e}();var _v=function(){function e(){}return e.value=new e,e}(),qs=function(){function e(){}return e.value=new e,e}();var BB={eq:function(e){return function(n){return e instanceof _v&&n instanceof _v||e instanceof qs&&n instanceof qs}}};var Mpn={reflectSymbol:function(){return"timestamp"}};var JB=Bn(Mn),tT=JB(Wt),WB=Z(Ot),aT=Jn(nt),SEe=JB(Op(HB)(Y5)),qB=Qn(),EEe=E({reflectSymbol:function(){return"id"}})(ie),Gpn=Xx(qB(E({reflectSymbol:function(){return"delta"}})(ie)(EEe(E(Mpn)(ie)(_e))))),Apn=Xx(qB(E({reflectSymbol:function(){return"body"}})(ie)(EEe(_e)))),xpn=Xx(qB(_e)),zB=JB(Ot),Zx=q(ea),$B=Vr(nt),Lpn=$T(vt),jpn=oi(L6)(vt),dv=q(_t),CEe=Qe(la),Npn=dQ(PM),Ppn=ao(_t)(Wo),hv=function(){function e(){}return e.value=new e,e}(),ap=function(){function e(){}return e.value=new e,e}(),rp=function(){function e(){}return e.value=new e,e}(),kc=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),T0=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Kx=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),IEe=function(){function e(){}return e.value=new e,e}(),VB=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),QB=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}(),FEe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),MEe=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}(),Opn=function(){function e(){}return e.value=new e,e}();var kpn=function(e){return{delta:e.delta,id:e.id,timestamp:Wh(e.timestamp)}},GEe=function(e){return function(n){var t=function(a){return function(r){return{body:r.body,sender:nT.value,sentAt:a,id:new d(r.id)}}};return tT(Jp(function(a){return WB(aT(wEe(e.receiveChannelName)(SEe(Gpn("chat-completion-chunk")(function(r){return function(){var i=Jh();return a.dispatch(new MEe(i,kpn(r)))(),Qx.value}}))(function(){return SEe(Apn("chat-completion-message-received")(function(r){return function(){var i=Jh();return a.dispatch(new QB(t(i)(r)))(),Yx.value}}))(function(){return xpn("chat-completion-failed")(function(r){return function(){return a.dispatch(new VB(I.value))(),Yx.value}})})}))))(function(r){return zB(aT(a.dispatch(new FEe(r))))(function(){return WB(e.sendMessage(n))(function(o){return o.success?Zx(Ce):aT(a.dispatch(new VB(new d(o.failureReason))))})})})}))(function(){return $B(zB(is(200))(function(){return Zx(IEe.value)}))})}},Upn=function(e){return function(n){return tT($B(WB(aT(Jh))(function(t){return Zx(new TEe({sender:lD.value,body:n,sentAt:t,id:I.value}))})))(function(){return GEe(e)(n)})}},YB=function(e){var n=function(t){var a=Si("$$")(t),r=RQ(_a(a));return r?Lpn("$$")(ow(0)(_a(a)-1|0)(a)):t};return{sender:nT.value,body:n(jpn(function(t){return t.content})(e.deltas)),sentAt:Mp(e.deltas).timestamp,id:new d(e.id)}},Hpn=function(e){if(e.receivingResponse instanceof I)return dv(Ce);if(e.receivingResponse instanceof d)return e.sendingState instanceof kc?$B(zB(aT(REe(e.receivingResponse.value0)))(function(){return Zx(new QB(YB(e.sendingState.value0)))})):dv(Ce);throw new Error("Failed pattern match at Vinai.Chatbot (line 290, column 1 - line 290, column 51): "+[e.constructor.name])},XB=function(e){return function(n){if(n instanceof Kx)return tT(Upn(e)(n.value0))(function(){return dv(e)});if(n instanceof IEe)return dv({messages:e.messages,receiveChannelName:e.receiveChannelName,receivingResponse:e.receivingResponse,sendMessage:e.sendMessage,sendingState:function(){if(e.sendingState instanceof hv)return hv.value;if(e.sendingState instanceof ap||e.sendingState instanceof rp)return rp.value;if(e.sendingState instanceof kc)return new kc(e.sendingState.value0);if(e.sendingState instanceof T0)return new T0(e.sendingState.value0);throw new Error("Failed pattern match at Vinai.Chatbot (line 158, column 9 - line 163, column 59): "+[e.sendingState.constructor.name])}()});if(n instanceof VB)return dv({messages:e.messages,receiveChannelName:e.receiveChannelName,sendMessage:e.sendMessage,sendingState:new T0(n.value0),receivingResponse:I.value});if(n instanceof QB)return dv({receiveChannelName:e.receiveChannelName,sendMessage:e.sendMessage,messages:CEe(e.messages)([n.value0]),sendingState:hv.value,receivingResponse:I.value});if(n instanceof TEe)return dv({receiveChannelName:e.receiveChannelName,receivingResponse:e.receivingResponse,sendMessage:e.sendMessage,messages:CEe(e.messages)([n.value0]),sendingState:ap.value});if(n instanceof FEe)return dv({messages:e.messages,receiveChannelName:e.receiveChannelName,sendMessage:e.sendMessage,sendingState:e.sendingState,receivingResponse:new d(n.value0)});if(n instanceof MEe)return dv({messages:e.messages,receiveChannelName:e.receiveChannelName,receivingResponse:e.receivingResponse,sendMessage:e.sendMessage,sendingState:function(){if(e.sendingState instanceof kc&&n.value1.id===e.sendingState.value0.id)return new kc({id:e.sendingState.value0.id,deltas:Npn(function(t){return t.timestamp})(sQ(e.sendingState.value0.deltas)({content:n.value1.delta,timestamp:Ee(n.value0)(n.value1.timestamp)}))});if(e.sendingState instanceof kc)return e.sendingState;if(e.sendingState instanceof rp)return new kc({deltas:sh({content:n.value1.delta,timestamp:Ee(n.value0)(n.value1.timestamp)}),id:n.value1.id});if(e.sendingState instanceof ap)return new kc({deltas:sh({content:n.value1.delta,timestamp:Ee(n.value0)(n.value1.timestamp)}),id:n.value1.id});if(e.sendingState instanceof hv||e.sendingState instanceof T0)return e.sendingState;throw new Error("Failed pattern match at Vinai.Chatbot (line 178, column 22 - line 200, column 29): "+[e.sendingState.constructor.name])}()});if(n instanceof Opn)return tT(Hpn(e))(function(){return dv(e)});throw new Error("Failed pattern match at Vinai.Chatbot (line 151, column 1 - line 151, column 55): "+[e.constructor.name,n.constructor.name])}},ZB=function(e){var n={messages:e.messages,receivingResponse:I.value,receiveChannelName:e.receiveChannelName,sendingState:function(){if(e.initialMessageBody instanceof I)return hv.value;if(e.initialMessageBody instanceof d)return ap.value;throw new Error("Failed pattern match at Vinai.Chatbot (line 145, column 23 - line 147, column 28): "+[e.initialMessageBody.constructor.name])}(),sendMessage:e.sendMessage};return tT(Ppn(e.initialMessageBody)(GEe(n)))(function(){return dv(n)})};var xEe=["http","https","mailto","tel"];function LEe(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)"}$t();var UEe=ya(KB());function Gd(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?NEe(e.position):"start"in e||"end"in e?NEe(e):"line"in e||"column"in e?eJ(e):""}function eJ(e){return PEe(e&&e.line)+":"+PEe(e&&e.column)}function NEe(e){return eJ(e&&e.start)+"-"+eJ(e&&e.end)}function PEe(e){return e&&typeof e=="number"?e:1}var cl=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=Gd(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}};cl.prototype.file="";cl.prototype.name="";cl.prototype.reason="";cl.prototype.message="";cl.prototype.stack="";cl.prototype.fatal=null;cl.prototype.column=null;cl.prototype.line=null;cl.prototype.source=null;cl.prototype.ruleId=null;cl.prototype.position=null;var gv={basename:Bpn,dirname:Jpn,extname:Wpn,join:qpn,sep:"/"};function Bpn(e,n){if(n!==void 0&&typeof n!="string")throw new TypeError('"ext" argument must be a string');rT(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 Jpn(e){if(rT(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 Wpn(e){rT(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 qpn(...e){let n=-1,t;for(;++n0&&e.charCodeAt(e.length-1)===47&&(t+="/"),n?"/"+t:t}function $pn(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 rT(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}var OEe={cwd:Vpn};function Vpn(){return"/"}function sR(e){return e!==null&&typeof e=="object"&&e.href&&e.origin}function kEe(e){if(typeof e=="string")e=new URL(e);else if(!sR(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 Qpn(e)}function Qpn(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 iJ=eCe().freeze(),KEe={}.hasOwnProperty;function eCe(){let e=XEe(),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=eCe(),D=-1;for(;++D{if(N||!Q||!de)k(N);else{let ve=o.stringify(Q,de);ve==null||(e_n(ve)?de.value=ve:de.result=ve),k(N,de)}});function k(N,Q){N||!Q?M(N):S?S(Q):D(null,Q)}}}function _(R){let D;o.freeze(),uJ("processSync",o.Parser),lJ("processSync",o.Compiler);let y=iT(R);return o.process(y,S),aCe("processSync","process",D),y;function S(M){D=!0,rJ(M)}}}function nCe(e,n){return typeof e=="function"&&e.prototype&&(Zpn(e.prototype)||n in e.prototype)}function Zpn(e){let n;for(n in e)if(KEe.call(e,n))return!0;return!1}function uJ(e,n){if(typeof n!="function")throw new TypeError("Cannot `"+e+"` without `Parser`")}function lJ(e,n){if(typeof n!="function")throw new TypeError("Cannot `"+e+"` without `Compiler`")}function cJ(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 tCe(e){if(!oT(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function aCe(e,n,t){if(!t)throw new Error("`"+e+"` finished async. Use `"+n+"` instead")}function iT(e){return Kpn(e)?e:new fR(e)}function Kpn(e){return Boolean(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function e_n(e){return typeof e=="string"||(0,ZEe.default)(e)}function sJ(e,n){let t=(n||{}).includeImageAlt;return rCe(e,typeof t=="boolean"?t:!0)}function rCe(e,n){return n_n(e)&&("value"in e&&e.value||n&&"alt"in e&&e.alt||"children"in e&&oCe(e.children,n))||Array.isArray(e)&&oCe(e,n)||""}function oCe(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 iCe={}.hasOwnProperty;function n7(e){let n={},t=-1;for(;++ti))return;let Q=n.events.length,de=Q,ve,ge;for(;de--;)if(n.events[de][0]==="exit"&&n.events[de][1].type==="chunkFlow"){if(ve){ge=n.events[de][1].end;break}ve=!0}for(y(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 i_n(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 vR(e){if(e===null||Va(e)||sD(e))return 1;if(fD(e))return 2}function Ld(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);mCe(f,-l),mCe(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=sl(c,[["enter",e[a][1],n],["exit",e[a][1],n]])),c=sl(c,[["enter",r,n],["enter",i,n],["exit",i,n],["enter",o,n]]),c=sl(c,Ld(n.parser.constructs.insideSpan.null,e.slice(a+1,t),n)),c=sl(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=sl(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):Nn(c)?e.attempt(h_n,i,l)(c):(e.enter("codeFlowValue"),u(c))}function u(c){return c===null||Nn(c)?(e.exit("codeFlowValue"),i(c)):(e.consume(c),u)}function l(c){return e.exit("codeIndented"),n(c)}}function D_n(e,n,t){let a=this;return r;function r(i){return a.parser.lazy[a.now().line]?t(i):Nn(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),r):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):Nn(i)?r(i):t(i)}}var mJ={name:"codeText",tokenize:R_n,resolve:y_n,previous:b_n};function y_n(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 u7(e,n,t,a,r,o,i,u,l){let c=l||Number.POSITIVE_INFINITY,s=0;return f;function f(y){return y===60?(e.enter(a),e.enter(r),e.enter(o),e.consume(y),e.exit(o),v):y===null||y===41||Ad(y)?t(y):(e.enter(a),e.enter(i),e.enter(u),e.enter("chunkString",{contentType:"string"}),R(y))}function v(y){return y===62?(e.enter(o),e.consume(y),e.exit(o),e.exit(r),e.exit(a),n):(e.enter(u),e.enter("chunkString",{contentType:"string"}),m(y))}function m(y){return y===62?(e.exit("chunkString"),e.exit(u),v(y)):y===null||y===60||Nn(y)?t(y):(e.consume(y),y===92?_:m)}function _(y){return y===60||y===62||y===92?(e.consume(y),m):m(y)}function R(y){return y===40?++s>c?t(y):(e.consume(y),R):y===41?s--?(e.consume(y),R):(e.exit("chunkString"),e.exit(u),e.exit(i),e.exit(a),n(y)):y===null||Va(y)?s?t(y):(e.exit("chunkString"),e.exit(u),e.exit(i),e.exit(a),n(y)):Ad(y)?t(y):(e.consume(y),y===92?D:R)}function D(y){return y===40||y===41||y===92?(e.consume(y),R):R(y)}}function l7(e,n,t,a,r,o){let i=this,u=0,l;return c;function c(m){return e.enter(a),e.enter(r),e.consume(m),e.exit(r),e.enter(o),s}function s(m){return m===null||m===91||m===93&&!l||m===94&&!u&&"_hiddenFootnoteSupport"in i.parser.constructs||u>999?t(m):m===93?(e.exit(o),e.enter(r),e.consume(m),e.exit(r),e.exit(a),n):Nn(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),s):(e.enter("chunkString",{contentType:"string"}),f(m))}function f(m){return m===null||m===91||m===93||Nn(m)||u++>999?(e.exit("chunkString"),s(m)):(e.consume(m),l=l||!Ea(m),m===92?v:f)}function v(m){return m===91||m===92||m===93?(e.consume(m),u++,f):f(m)}}function c7(e,n,t,a,r,o){let i;return u;function u(v){return e.enter(a),e.enter(r),e.consume(v),e.exit(r),i=v===40?41:v,l}function l(v){return v===i?(e.enter(r),e.consume(v),e.exit(r),e.exit(a),n):(e.enter(o),c(v))}function c(v){return v===i?(e.exit(o),l(i)):v===null?t(v):Nn(v)?(e.enter("lineEnding"),e.consume(v),e.exit("lineEnding"),Mt(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),s(v))}function s(v){return v===i||v===null||Nn(v)?(e.exit("chunkString"),c(v)):(e.consume(v),v===92?f:s)}function f(v){return v===i||v===92?(e.consume(v),s):s(v)}}function vD(e,n){let t;return a;function a(r){return Nn(r)?(e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t=!0,a):Ea(r)?Mt(e,a,t?"linePrefix":"lineSuffix")(r):n(r)}}function Hu(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var _J={name:"definition",tokenize:F_n},T_n={tokenize:M_n,partial:!0};function F_n(e,n,t){let a=this,r;return o;function o(l){return e.enter("definition"),l7.call(a,e,i,t,"definitionLabel","definitionLabelMarker","definitionLabelString")(l)}function i(l){return r=Hu(a.sliceSerialize(a.events[a.events.length-1][1]).slice(1,-1)),l===58?(e.enter("definitionMarker"),e.consume(l),e.exit("definitionMarker"),vD(e,u7(e,e.attempt(T_n,Mt(e,u,"whitespace"),Mt(e,u,"whitespace")),t,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):t(l)}function u(l){return l===null||Nn(l)?(e.exit("definition"),a.parser.defined.includes(r)||a.parser.defined.push(r),n(l)):t(l)}}function M_n(e,n,t){return a;function a(i){return Va(i)?vD(e,r)(i):t(i)}function r(i){return i===34||i===39||i===40?c7(e,Mt(e,o,"whitespace"),t,"definitionTitle","definitionTitleMarker","definitionTitleString")(i):t(i)}function o(i){return i===null||Nn(i)?n(i):t(i)}}var dJ={name:"hardBreakEscape",tokenize:G_n};function G_n(e,n,t){return a;function a(o){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(o),r}function r(o){return Nn(o)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),n(o)):t(o)}}var hJ={name:"headingAtx",tokenize:x_n,resolve:A_n};function A_n(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 x_n(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||Va(s)?(e.exit("atxHeadingSequence"),a.interrupt?n(s):u(s)):t(s)}function u(s){return s===35?(e.enter("atxHeadingSequence"),l(s)):s===null||Nn(s)?(e.exit("atxHeading"),n(s)):Ea(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||Va(s)?(e.exit("atxHeadingText"),u(s)):(e.consume(s),c)}}var _Ce=["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"],gJ=["pre","script","style","textarea"];var DJ={name:"htmlFlow",tokenize:N_n,resolveTo:j_n,concrete:!0},L_n={tokenize:P_n,partial:!0};function j_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 N_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):Uu(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):Uu(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 Uu(A)?(e.consume(A),i=String.fromCharCode(A),R):t(A)}function R(A){return A===null||A===47||A===62||Va(A)?A!==47&&o&&gJ.includes(i.toLowerCase())?(r=1,a.interrupt?n(A):re(A)):_Ce.includes(i.toLowerCase())?(r=6,A===47?(e.consume(A),D):a.interrupt?n(A):re(A)):(r=7,a.interrupt&&!a.parser.lazy[a.now().line]?t(A):o?S(A):y(A)):A===45||Zo(A)?(e.consume(A),i+=String.fromCharCode(A),R):t(A)}function D(A){return A===62?(e.consume(A),a.interrupt?n:re):t(A)}function y(A){return Ea(A)?(e.consume(A),y):ve(A)}function S(A){return A===47?(e.consume(A),ve):A===58||A===95||Uu(A)?(e.consume(A),M):Ea(A)?(e.consume(A),S):ve(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):Ea(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):Ea(A)?(e.consume(A),k):(l=null,Q(A))}function N(A){return A===null||Nn(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||Va(A)?P(A):(e.consume(A),Q)}function de(A){return A===47||A===62||Ea(A)?S(A):t(A)}function ve(A){return A===62?(e.consume(A),ge):t(A)}function ge(A){return Ea(A)?(e.consume(A),ge):A===null||Nn(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):Nn(A)&&(r===6||r===7)?e.check(L_n,On,Se)(A):A===null||Nn(A)?Se(A):(e.consume(A),re)}function Se(A){return e.exit("htmlFlowData"),pe(A)}function pe(A){return A===null?W(A):Nn(A)?e.attempt({tokenize:ye,partial:!0},pe,W)(A):(e.enter("htmlFlowData"),re(A))}function ye(A,ee,se){return De;function De(me){return A.enter("lineEnding"),A.consume(me),A.exit("lineEnding"),O}function O(me){return a.parser.lazy[a.now().line]?se(me):ee(me)}}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&&gJ.includes(i.toLowerCase())?(e.consume(A),On):Uu(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||Nn(A)?(e.exit("htmlFlowData"),W(A)):(e.consume(A),On)}function W(A){return e.exit("htmlFlow"),n(A)}}function P_n(e,n,t){return a;function a(r){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),e.attempt(F0,n,t)}}var yJ={name:"htmlText",tokenize:O_n};function O_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):Uu(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,D):Uu(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):Nn(W)?(u=_,Ke(W)):(e.consume(W),_)}function R(W){return W===45?(e.consume(W),On):_(W)}function D(W){return W===o.charCodeAt(i++)?(e.consume(W),i===o.length?y:D):t(W)}function y(W){return W===null?t(W):W===93?(e.consume(W),S):Nn(W)?(u=y,Ke(W)):(e.consume(W),y)}function S(W){return W===93?(e.consume(W),M):y(W)}function M(W){return W===62?On(W):W===93?(e.consume(W),M):y(W)}function P(W){return W===null||W===62?On(W):Nn(W)?(u=P,Ke(W)):(e.consume(W),P)}function k(W){return W===null?t(W):W===63?(e.consume(W),N):Nn(W)?(u=k,Ke(W)):(e.consume(W),k)}function N(W){return W===62?On(W):k(W)}function Q(W){return Uu(W)?(e.consume(W),de):t(W)}function de(W){return W===45||Zo(W)?(e.consume(W),de):ve(W)}function ve(W){return Nn(W)?(u=ve,Ke(W)):Ea(W)?(e.consume(W),ve):On(W)}function ge(W){return W===45||Zo(W)?(e.consume(W),ge):W===47||W===62||Va(W)?re(W):t(W)}function re(W){return W===47?(e.consume(W),On):W===58||W===95||Uu(W)?(e.consume(W),Se):Nn(W)?(u=re,Ke(W)):Ea(W)?(e.consume(W),re):On(W)}function Se(W){return W===45||W===46||W===58||W===95||Zo(W)?(e.consume(W),Se):pe(W)}function pe(W){return W===61?(e.consume(W),ye):Nn(W)?(u=pe,Ke(W)):Ea(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):Nn(W)?(u=ye,Ke(W)):Ea(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):Nn(W)?(u=je,Ke(W)):(e.consume(W),je)}function oe(W){return W===62||W===47||Va(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||Va(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 mD={name:"labelEnd",tokenize:W_n,resolveTo:J_n,resolveAll:B_n},k_n={tokenize:q_n},U_n={tokenize:z_n},H_n={tokenize:$_n};function B_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 sdn(e,n){let t=-1,a=[],r;for(;++tgdn,contentInitial:()=>vdn,disable:()=>Ddn,document:()=>fdn,flow:()=>pdn,flowInitial:()=>mdn,insideSpan:()=>hdn,string:()=>_dn,text:()=>ddn});var fdn={[42]:Bu,[43]:Bu,[45]:Bu,[48]:Bu,[49]:Bu,[50]:Bu,[51]:Bu,[52]:Bu,[53]:Bu,[54]:Bu,[55]:Bu,[56]:Bu,[57]:Bu,[62]:t7},vdn={[91]:_J},mdn={[-2]:lT,[-1]:lT,[32]:lT},pdn={[35]:hJ,[42]:pD,[45]:[s7,pD],[60]:DJ,[61]:s7,[95]:pD,[96]:o7,[126]:o7},_dn={[38]:r7,[92]:a7},ddn={[-5]:cT,[-4]:cT,[-3]:cT,[33]:bJ,[38]:r7,[42]:uT,[60]:[vJ,yJ],[91]:RJ,[92]:[dJ,a7],[93]:mD,[95]:uT,[96]:mJ},hdn={null:[uT,hCe]},gdn={null:[42,95]},Ddn={null:[]};function wCe(e={}){let n=n7([wJ].concat(e.extensions||[])),t={defined:[],lazy:{},constructs:n,content:a(sCe),document:a(fCe),flow:a(dCe),string:a(gCe),text:a(DCe)};return t;function a(r){return o;function o(i){return RCe(t,r,i)}}}var SCe=/[\0\t\n\r]/g;function ECe(){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 ydn=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function v7(e){return e.replace(ydn,bdn)}function bdn(e,n,t){if(n)return n;if(t.charCodeAt(0)===35){let r=t.charCodeAt(1),o=r===120||r===88;return f7(t.slice(o?2:1),o?16:10)}return mR(t)||e}var ICe={}.hasOwnProperty,SJ=function(e,n,t){return typeof n!="string"&&(t=n,n=void 0),Rdn(t)(CCe(wCe(t).document().write(ECe()(e,n,!0))))};function Rdn(e){let n={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:u(Fn),autolinkProtocol:re,autolinkEmail:re,atxHeading:u(Kn),blockQuote:u(He),characterEscape:re,characterReference:re,codeFenced:u($e),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:u($e,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(Cn),hardBreakTrailing:u(Cn),htmlFlow:u(et,l),htmlFlowData:re,htmlText:u(et,l),htmlTextData:re,image:u(gt),label:l,link:u(Fn),listItem:u(at),listItemValue:_,listOrdered:u(It,m),listUnordered:u(It),paragraph:u(Hn),reference:De,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:u(Kn),strong:u(sn),thematicBreak:u(Pa)},exit:{atxHeading:s(),atxHeadingSequence:Q,autolink:s(),autolinkEmail:Fe,autolinkProtocol:Ge,blockQuote:s(),characterEscapeValue:Se,characterReferenceMarkerHexadecimal:me,characterReferenceMarkerNumeric:me,characterReferenceValue:$,codeFenced:s(S),codeFencedFence:y,codeFencedFenceInfo:R,codeFencedFenceMeta:D,codeFlowValue:Se,codeIndented:s(M),codeText:s(Un),codeTextData:Se,data:Se,definition:s(),definitionDestinationString:N,definitionLabelString:P,definitionTitleString:k,emphasis:s(),hardBreakEscape:s(ye),hardBreakTrailing:s(ye),htmlFlow:s(je),htmlFlowData:Se,htmlText:s(oe),htmlTextData:Se,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:ve,setextHeadingText:de,strong:s(),thematicBreak:s()}};TCe(n,(e||{}).mdastExtensions||[]);let t={};return a;function a(Ie){let qe={type:"root",children:[]},Tt={stack:[qe],tokenStack:[],config:n,enter:c,exit:f,buffer:l,resume:v,setData:o,getData:i},Xa=[],or=-1;for(;++or0){let Ql=Tt.tokenStack[Tt.tokenStack.length-1];(Ql[1]||FCe).call(Tt,void 0,Ql[0])}for(qe.position={start:jd(Ie.length>0?Ie[0][1].start:{line:1,column:1,offset:0}),end:jd(Ie.length>0?Ie[Ie.length-2][1].end:{line:1,column:1,offset:0})},or=-1;++or{let a=this.data("settings");return SJ(t,Object.assign({},a,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}function MCe(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 GCe(e,n){let t={type:"element",tagName:"br",properties:{},children:[]};return e.patch(n,t),[e.applyData(n,t),{type:"text",value:` `}]}function ACe(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 xCe(e,n){let t={type:"element",tagName:"del",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)}function LCe(e,n){let t={type:"element",tagName:"em",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)}function zs(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 p7(e,n){let t=String(n.identifier).toUpperCase(),a=zs(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 jCe(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},p7(e,{type:"footnoteReference",identifier:r,position:n.position})}function NCe(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 PCe(e,n){if(e.dangerous){let t={type:"raw",value:n.value};return e.patch(n,t),e.applyData(n,t)}return null}function _7(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 OCe(e,n){let t=e.definition(n.identifier);if(!t)return _7(e,n);let a={src:zs(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 kCe(e,n){let t={src:zs(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 UCe(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 HCe(e,n){let t=e.definition(n.identifier);if(!t)return _7(e,n);let a={href:zs(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 BCe(e,n){let t={href:zs(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 JCe(e,n,t){let a=e.all(n),r=t?Sdn(t):WCe(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 qCe(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 YCe(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=pR(n.children[1]),l=_R(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 XCe(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(tIe(n.slice(r),r>0,!1)),o.join("")}function tIe(e,n,t){let a=0,r=e.length;if(n){let o=e.codePointAt(a);for(;o===KCe||o===eIe;)a++,o=e.codePointAt(a)}if(t){let o=e.codePointAt(r-1);for(;o===KCe||o===eIe;)r--,o=e.codePointAt(r-1)}return r>a?e.slice(a,r):""}function aIe(e,n){let t={type:"text",value:nIe(String(n.value))};return e.patch(n,t),e.applyData(n,t)}function rIe(e,n){let t={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(n,t),e.applyData(n,t)}var oIe={blockquote:MCe,break:GCe,code:ACe,delete:xCe,emphasis:LCe,footnoteReference:p7,footnote:jCe,heading:NCe,html:PCe,imageReference:OCe,image:kCe,inlineCode:UCe,linkReference:HCe,link:BCe,listItem:JCe,list:qCe,paragraph:zCe,root:$Ce,strong:VCe,table:YCe,tableCell:ZCe,tableRow:XCe,text:aIe,thematicBreak:rIe,toml:d7,yaml:d7,definition:d7,footnoteDefinition:d7};function d7(){return null}var sT=function(e){if(e==null)return Tdn;if(typeof e=="string")return Idn(e);if(typeof e=="object")return Array.isArray(e)?Edn(e):Cdn(e);if(typeof e=="function")return h7(e);throw new Error("Expected function, string, or object as test")};function Edn(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=Fdn(t(u,c)),v[0]===g7))return v;if(u.children&&v[0]!==IJ)for(_=(a?u.children.length:-1)+o,R=c.concat(u);_>-1&&_{let r=lIe(a.identifier);r&&!uIe.call(n,r)&&(n[r]=a)}),t;function t(a){let r=lIe(a);return r&&uIe.call(n,r)?n[r]:null}}function lIe(e){return String(e||"").toUpperCase()}var D7={}.hasOwnProperty;function cIe(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=xa(xa({},oIe),t.handlers),i.definition=FJ(e),i.footnoteById=r,i.footnoteOrder=[],i.footnoteCounts={},i.patch=Mdn,i.applyData=Gdn,i.one=u,i.all=l,i.wrap=xdn,i.augment=o,_D(e,"footnoteDefinition",c=>{let s=String(c.identifier).toUpperCase();D7.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=xa(xa({},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};TJ(f)||(s.position={start:pR(f),end:_R(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 sIe(i,c,s)}function l(c){return MJ(i,c)}}function Mdn(e,n){e.position&&(n.position=EJ(e))}function Gdn(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=xa(xa({},t.properties),o)),"children"in t&&t.children&&r!==null&&r!==void 0&&(t.children=r)}return t}function sIe(e,n,t){let a=n&&n.type;if(!a)throw new Error("Expected node, got `"+n+"`");return D7.call(e.handlers,a)?e.handlers[a](e,n,t):e.passThrough&&e.passThrough.includes(a)?"children"in n?ni(xa({},n),{children:MJ(e,n)}):n:e.unknownHandler?e.unknownHandler(e,n,t):Adn(e,n)}function MJ(e,n){let t=[];if("children"in n){let a=n.children,r=-1;for(;++r0&&t.push({type:"text",value:` `}),t}function fIe(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(xa({},JSON.parse(JSON.stringify(e.footnoteLabelProperties))),{id:"footnote-label"}),children:[{type:"text",value:e.footnoteLabel}]},{type:"text",value:` `},{type:"element",tagName:"ol",properties:{},children:e.wrap(n,!0)},{type:"text",value:` `}]}}function y7(e,n){let t=cIe(e,n),a=t.one(e,null),r=fIe(t);return r&&a.children.push({type:"text",value:` `},r),Array.isArray(a)?{type:"root",children:a}:a}var Ldn=function(e,n){return e&&"run"in e?jdn(e,n):Ndn(e||n)},GJ=Ldn;function jdn(e,n){return(t,a,r)=>{e.run(y7(t,n),a,o=>{r(o)})}}function Ndn(e){return n=>y7(n,e)}var na=ya(rI());var Nd=class{constructor(n,t,a){this.property=n,this.normal=t,a&&(this.space=a)}};Nd.prototype.property={};Nd.prototype.normal={};Nd.prototype.space=null;function AJ(e,n){let t={},a={},r=-1;for(;++rsa,booleanish:()=>Oo,commaOrSpaceSeparated:()=>ql,commaSeparated:()=>Pd,number:()=>en,overloadedBoolean:()=>xJ,spaceSeparated:()=>Rr});var Pdn=0,sa=dD(),Oo=dD(),xJ=dD(),en=dD(),Rr=dD(),Pd=dD(),ql=dD();function dD(){return 2**++Pdn}var LJ=Object.keys(vT),dR=class extends fl{constructor(n,t,a,r){let o=-1;super(n,t);if(vIe(this,"space",r),typeof a=="number")for(;++o4&&t.slice(0,4)==="data"&&kdn.test(n)){if(n.charAt(4)==="-"){let o=n.slice(5).replace(_Ie,Bdn);a="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{let o=n.slice(4);if(!_Ie.test(o)){let i=o.replace(Udn,Hdn);i.charAt(0)!=="-"&&(i="-"+i),n="data"+i}}r=dR}return new r(a,n)}function Hdn(e){return"-"+e.toLowerCase()}function Bdn(e){return e.charAt(1).toUpperCase()}var w7={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 S7=AJ([NJ,jJ,PJ,OJ,mIe],"html"),E7=AJ([NJ,jJ,PJ,OJ,pIe],"svg");function kJ(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=>{_D(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})}}$t();var xIe=ya(DIe());function yIe(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 BJ(e){let n=String(e||"").trim();return n?n.split(/[ \t\n\r\f]+/g):[]}function bIe(e){return e.join(" ").trim()}function JJ(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 RIe(e,n){let t=n||{};return(e[e.length-1]===""?[...e,""]:e).join((t.padRight?" ":"")+","+(t.padLeft===!1?"":" ")).trim()}var GIe=ya(MIe()),AIe=GIe.default;var qJ={}.hasOwnProperty,thn=new Set(["table","thead","tbody","tfoot","tr"]);function zJ(e,n){let t=[],a=-1,r;for(;++a0?Et.createElement(m,l,f):Et.createElement(m,l)}function rhn(e){let n=-1;for(;++n for more info)`),delete N7[o]}let n=iJ().use(m7).use(e.remarkPlugins||[]).use(GJ,ni(xa({},e.remarkRehypeOptions),{allowDangerousHtml:!0})).use(e.rehypePlugins||[]).use(kJ,e),t=new fR;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=Et.createElement(Et.Fragment,{},zJ({options:e,schema:S7,listDepth:0},a));return e.className&&(r=Et.createElement("div",{className:e.className},r)),r}P7.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 jIe=/[#.]/g;function VJ(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 $Ie(e,n,t){return e.type==="element"?xhn(e,n,t):e.type==="text"?t.whitespace==="normal"?VIe(e,t):Lhn(e):[]}function xhn(e,n,t){let a=QIe(e,t),r=e.children||[],o=-1,i=[];if(Ahn(e))return i;let u,l;for(tW(e)||qIe(e)&&H7(n,e,qIe)?l=` `:Ghn(e)?(u=2,l=2):zIe(e)&&(u=1,l=1);++o15?c="\u2026"+u.slice(r-15,r):c=u.slice(0,r);var s;o+15":">","<":"<",'"':""","'":"'"},Whn=/[&><"']/g;function qhn(e){return String(e).replace(Whn,n=>Jhn[n])}var YIe=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},zhn=function(n){var t=YIe(n);return t.type==="mathord"||t.type==="textord"||t.type==="atom"},$hn=function(n){if(!n)throw new Error("Expected non-null, but got "+String(n));return n},Vhn=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:khn,deflt:Uhn,escape:qhn,hyphenate:Bhn,getBaseElem:YIe,isCharacterBox:zhn,protocolFromUrl:Vhn},B7={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 Qhn(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 J7=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 B7)if(B7.hasOwnProperty(t)){var a=B7[t];this[t]=n[t]!==void 0?a.processor?a.processor(n[t]):n[t]:Qhn(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)}},up=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 M0[Yhn[this.id]]}sub(){return M0[Xhn[this.id]]}fracNum(){return M0[Zhn[this.id]]}fracDen(){return M0[Khn[this.id]]}cramp(){return M0[egn[this.id]]}text(){return M0[ngn[this.id]]}isTight(){return this.size>=2}},rW=0,W7=1,hR=2,lp=3,pT=4,Qs=5,gR=6,vl=7,M0=[new up(rW,0,!1),new up(W7,0,!0),new up(hR,1,!1),new up(lp,1,!0),new up(pT,2,!1),new up(Qs,2,!0),new up(gR,3,!1),new up(vl,3,!0)],Yhn=[pT,Qs,pT,Qs,gR,vl,gR,vl],Xhn=[Qs,Qs,Qs,Qs,vl,vl,vl,vl],Zhn=[hR,lp,pT,Qs,gR,vl,gR,vl],Khn=[lp,lp,Qs,Qs,vl,vl,vl,vl],egn=[W7,W7,lp,lp,Qs,Qs,vl,vl],ngn=[rW,W7,hR,lp,hR,lp,hR,lp],Lt={DISPLAY:M0[rW],TEXT:M0[hR],SCRIPT:M0[pT],SCRIPTSCRIPT:M0[gR]},oW=[{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 tgn(e){for(var n=0;n=r[0]&&e<=r[1])return t.name}return null}var q7=[];oW.forEach(e=>e.blocks.forEach(n=>q7.push(...n)));function XIe(e){for(var n=0;n=q7[n]&&e<=q7[n+1])return!0;return!1}var DR=80,agn=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"},rgn=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"},ogn=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"},ign=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"},ugn=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"},lgn=function(n){var t=n/2;return"M400000 "+n+" H0 L"+t+" 0 l65 45 L145 "+(n-80)+" H400000z"},cgn=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"},sgn=function(n,t,a){t=1e3*t;var r="";switch(n){case"sqrtMain":r=agn(t,DR);break;case"sqrtSize1":r=rgn(t,DR);break;case"sqrtSize2":r=ogn(t,DR);break;case"sqrtSize3":r=ign(t,DR);break;case"sqrtSize4":r=ugn(t,DR);break;case"sqrtTall":r=cgn(t,DR,a)}return r},fgn=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""}},ZIe={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`},vgn=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.")}},yR=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("")}},G0={"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]}},z7={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]},KIe={\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 mgn(e,n){G0[e]=n}function iW(e,n,t){if(!G0[n])throw new Error("Font metrics not found for font: "+n+".");var a=e.charCodeAt(0),r=G0[n][a];if(!r&&e[0]in KIe&&(a=KIe[e[0]].charCodeAt(0),r=G0[n][a]),!r&&t==="text"&&XIe(a)&&(r=G0[n][77]),r)return{depth:r[0],height:r[1],italic:r[2],skew:r[3],width:r[4]}}var uW={};function pgn(e){var n;if(e>=5?n=0:e>=3?n=1:n=2,!uW[n]){var t=uW[n]={cssEmPerMu:z7.quad[n]/18};for(var a in z7)z7.hasOwnProperty(a)&&(t[a]=z7[a][n])}return uW[n]}var _gn=[[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]],eTe=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],nTe=function(n,t){return t.size<2?n:_gn[n-1][t.size-1]},A0=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||A0.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=eTe[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 A0(t)}havingStyle(n){return this.style===n?this:this.extend({style:n,size:nTe(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:eTe[n-1]})}havingBaseStyle(n){n=n||this.style.text();var t=nTe(A0.BASESIZE,n);return this.size===t&&this.textSize===A0.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!==A0.BASESIZE?["sizing","reset-size"+this.size,"size"+A0.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=pgn(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}};A0.BASESIZE=6;var lW={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},dgn={ex:!0,em:!0,mu:!0},tTe=function(n){return typeof n!="string"&&(n=n.unit),n in lW||n in dgn||n==="ex"},bo=function(n,t){var a;if(n.unit in lW)a=lW[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"},Od=function(n){return n.filter(t=>t).join(" ")},aTe=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)}},rTe=function(n){var t=document.createElement(n);t.className=Od(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},bR=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,aTe.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 rTe.call(this,"span")}toMarkup(){return oTe.call(this,"span")}},$7=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,aTe.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 rTe.call(this,"a")}toMarkup(){return oTe.call(this,"a")}},iTe=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=Od(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}},x0=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':''}},V7=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 Dgn={bin:1,close:1,inner:1,open:1,punct:1,rel:1},ygn={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},xr={math:{},text:{}};function b(e,n,t,a,r,o){xr[e][r]={font:n,group:t,replace:a},o&&a&&(xr[e][a]=xr[e][r])}var C="math",We="text",F="main",z="ams",no="accent-token",Zn="bin",ml="close",RR="inner",jt="mathord",_i="op-token",Bc="open",Q7="punct",V="rel",sp="spacing",le="textord";b(C,F,V,"\u2261","\\equiv",!0);b(C,F,V,"\u227A","\\prec",!0);b(C,F,V,"\u227B","\\succ",!0);b(C,F,V,"\u223C","\\sim",!0);b(C,F,V,"\u22A5","\\perp");b(C,F,V,"\u2AAF","\\preceq",!0);b(C,F,V,"\u2AB0","\\succeq",!0);b(C,F,V,"\u2243","\\simeq",!0);b(C,F,V,"\u2223","\\mid",!0);b(C,F,V,"\u226A","\\ll",!0);b(C,F,V,"\u226B","\\gg",!0);b(C,F,V,"\u224D","\\asymp",!0);b(C,F,V,"\u2225","\\parallel");b(C,F,V,"\u22C8","\\bowtie",!0);b(C,F,V,"\u2323","\\smile",!0);b(C,F,V,"\u2291","\\sqsubseteq",!0);b(C,F,V,"\u2292","\\sqsupseteq",!0);b(C,F,V,"\u2250","\\doteq",!0);b(C,F,V,"\u2322","\\frown",!0);b(C,F,V,"\u220B","\\ni",!0);b(C,F,V,"\u221D","\\propto",!0);b(C,F,V,"\u22A2","\\vdash",!0);b(C,F,V,"\u22A3","\\dashv",!0);b(C,F,V,"\u220B","\\owns");b(C,F,Q7,".","\\ldotp");b(C,F,Q7,"\u22C5","\\cdotp");b(C,F,le,"#","\\#");b(We,F,le,"#","\\#");b(C,F,le,"&","\\&");b(We,F,le,"&","\\&");b(C,F,le,"\u2135","\\aleph",!0);b(C,F,le,"\u2200","\\forall",!0);b(C,F,le,"\u210F","\\hbar",!0);b(C,F,le,"\u2203","\\exists",!0);b(C,F,le,"\u2207","\\nabla",!0);b(C,F,le,"\u266D","\\flat",!0);b(C,F,le,"\u2113","\\ell",!0);b(C,F,le,"\u266E","\\natural",!0);b(C,F,le,"\u2663","\\clubsuit",!0);b(C,F,le,"\u2118","\\wp",!0);b(C,F,le,"\u266F","\\sharp",!0);b(C,F,le,"\u2662","\\diamondsuit",!0);b(C,F,le,"\u211C","\\Re",!0);b(C,F,le,"\u2661","\\heartsuit",!0);b(C,F,le,"\u2111","\\Im",!0);b(C,F,le,"\u2660","\\spadesuit",!0);b(C,F,le,"\xA7","\\S",!0);b(We,F,le,"\xA7","\\S");b(C,F,le,"\xB6","\\P",!0);b(We,F,le,"\xB6","\\P");b(C,F,le,"\u2020","\\dag");b(We,F,le,"\u2020","\\dag");b(We,F,le,"\u2020","\\textdagger");b(C,F,le,"\u2021","\\ddag");b(We,F,le,"\u2021","\\ddag");b(We,F,le,"\u2021","\\textdaggerdbl");b(C,F,ml,"\u23B1","\\rmoustache",!0);b(C,F,Bc,"\u23B0","\\lmoustache",!0);b(C,F,ml,"\u27EF","\\rgroup",!0);b(C,F,Bc,"\u27EE","\\lgroup",!0);b(C,F,Zn,"\u2213","\\mp",!0);b(C,F,Zn,"\u2296","\\ominus",!0);b(C,F,Zn,"\u228E","\\uplus",!0);b(C,F,Zn,"\u2293","\\sqcap",!0);b(C,F,Zn,"\u2217","\\ast");b(C,F,Zn,"\u2294","\\sqcup",!0);b(C,F,Zn,"\u25EF","\\bigcirc",!0);b(C,F,Zn,"\u2219","\\bullet",!0);b(C,F,Zn,"\u2021","\\ddagger");b(C,F,Zn,"\u2240","\\wr",!0);b(C,F,Zn,"\u2A3F","\\amalg");b(C,F,Zn,"&","\\And");b(C,F,V,"\u27F5","\\longleftarrow",!0);b(C,F,V,"\u21D0","\\Leftarrow",!0);b(C,F,V,"\u27F8","\\Longleftarrow",!0);b(C,F,V,"\u27F6","\\longrightarrow",!0);b(C,F,V,"\u21D2","\\Rightarrow",!0);b(C,F,V,"\u27F9","\\Longrightarrow",!0);b(C,F,V,"\u2194","\\leftrightarrow",!0);b(C,F,V,"\u27F7","\\longleftrightarrow",!0);b(C,F,V,"\u21D4","\\Leftrightarrow",!0);b(C,F,V,"\u27FA","\\Longleftrightarrow",!0);b(C,F,V,"\u21A6","\\mapsto",!0);b(C,F,V,"\u27FC","\\longmapsto",!0);b(C,F,V,"\u2197","\\nearrow",!0);b(C,F,V,"\u21A9","\\hookleftarrow",!0);b(C,F,V,"\u21AA","\\hookrightarrow",!0);b(C,F,V,"\u2198","\\searrow",!0);b(C,F,V,"\u21BC","\\leftharpoonup",!0);b(C,F,V,"\u21C0","\\rightharpoonup",!0);b(C,F,V,"\u2199","\\swarrow",!0);b(C,F,V,"\u21BD","\\leftharpoondown",!0);b(C,F,V,"\u21C1","\\rightharpoondown",!0);b(C,F,V,"\u2196","\\nwarrow",!0);b(C,F,V,"\u21CC","\\rightleftharpoons",!0);b(C,z,V,"\u226E","\\nless",!0);b(C,z,V,"\uE010","\\@nleqslant");b(C,z,V,"\uE011","\\@nleqq");b(C,z,V,"\u2A87","\\lneq",!0);b(C,z,V,"\u2268","\\lneqq",!0);b(C,z,V,"\uE00C","\\@lvertneqq");b(C,z,V,"\u22E6","\\lnsim",!0);b(C,z,V,"\u2A89","\\lnapprox",!0);b(C,z,V,"\u2280","\\nprec",!0);b(C,z,V,"\u22E0","\\npreceq",!0);b(C,z,V,"\u22E8","\\precnsim",!0);b(C,z,V,"\u2AB9","\\precnapprox",!0);b(C,z,V,"\u2241","\\nsim",!0);b(C,z,V,"\uE006","\\@nshortmid");b(C,z,V,"\u2224","\\nmid",!0);b(C,z,V,"\u22AC","\\nvdash",!0);b(C,z,V,"\u22AD","\\nvDash",!0);b(C,z,V,"\u22EA","\\ntriangleleft");b(C,z,V,"\u22EC","\\ntrianglelefteq",!0);b(C,z,V,"\u228A","\\subsetneq",!0);b(C,z,V,"\uE01A","\\@varsubsetneq");b(C,z,V,"\u2ACB","\\subsetneqq",!0);b(C,z,V,"\uE017","\\@varsubsetneqq");b(C,z,V,"\u226F","\\ngtr",!0);b(C,z,V,"\uE00F","\\@ngeqslant");b(C,z,V,"\uE00E","\\@ngeqq");b(C,z,V,"\u2A88","\\gneq",!0);b(C,z,V,"\u2269","\\gneqq",!0);b(C,z,V,"\uE00D","\\@gvertneqq");b(C,z,V,"\u22E7","\\gnsim",!0);b(C,z,V,"\u2A8A","\\gnapprox",!0);b(C,z,V,"\u2281","\\nsucc",!0);b(C,z,V,"\u22E1","\\nsucceq",!0);b(C,z,V,"\u22E9","\\succnsim",!0);b(C,z,V,"\u2ABA","\\succnapprox",!0);b(C,z,V,"\u2246","\\ncong",!0);b(C,z,V,"\uE007","\\@nshortparallel");b(C,z,V,"\u2226","\\nparallel",!0);b(C,z,V,"\u22AF","\\nVDash",!0);b(C,z,V,"\u22EB","\\ntriangleright");b(C,z,V,"\u22ED","\\ntrianglerighteq",!0);b(C,z,V,"\uE018","\\@nsupseteqq");b(C,z,V,"\u228B","\\supsetneq",!0);b(C,z,V,"\uE01B","\\@varsupsetneq");b(C,z,V,"\u2ACC","\\supsetneqq",!0);b(C,z,V,"\uE019","\\@varsupsetneqq");b(C,z,V,"\u22AE","\\nVdash",!0);b(C,z,V,"\u2AB5","\\precneqq",!0);b(C,z,V,"\u2AB6","\\succneqq",!0);b(C,z,V,"\uE016","\\@nsubseteqq");b(C,z,Zn,"\u22B4","\\unlhd");b(C,z,Zn,"\u22B5","\\unrhd");b(C,z,V,"\u219A","\\nleftarrow",!0);b(C,z,V,"\u219B","\\nrightarrow",!0);b(C,z,V,"\u21CD","\\nLeftarrow",!0);b(C,z,V,"\u21CF","\\nRightarrow",!0);b(C,z,V,"\u21AE","\\nleftrightarrow",!0);b(C,z,V,"\u21CE","\\nLeftrightarrow",!0);b(C,z,V,"\u25B3","\\vartriangle");b(C,z,le,"\u210F","\\hslash");b(C,z,le,"\u25BD","\\triangledown");b(C,z,le,"\u25CA","\\lozenge");b(C,z,le,"\u24C8","\\circledS");b(C,z,le,"\xAE","\\circledR");b(We,z,le,"\xAE","\\circledR");b(C,z,le,"\u2221","\\measuredangle",!0);b(C,z,le,"\u2204","\\nexists");b(C,z,le,"\u2127","\\mho");b(C,z,le,"\u2132","\\Finv",!0);b(C,z,le,"\u2141","\\Game",!0);b(C,z,le,"\u2035","\\backprime");b(C,z,le,"\u25B2","\\blacktriangle");b(C,z,le,"\u25BC","\\blacktriangledown");b(C,z,le,"\u25A0","\\blacksquare");b(C,z,le,"\u29EB","\\blacklozenge");b(C,z,le,"\u2605","\\bigstar");b(C,z,le,"\u2222","\\sphericalangle",!0);b(C,z,le,"\u2201","\\complement",!0);b(C,z,le,"\xF0","\\eth",!0);b(We,F,le,"\xF0","\xF0");b(C,z,le,"\u2571","\\diagup");b(C,z,le,"\u2572","\\diagdown");b(C,z,le,"\u25A1","\\square");b(C,z,le,"\u25A1","\\Box");b(C,z,le,"\u25CA","\\Diamond");b(C,z,le,"\xA5","\\yen",!0);b(We,z,le,"\xA5","\\yen",!0);b(C,z,le,"\u2713","\\checkmark",!0);b(We,z,le,"\u2713","\\checkmark");b(C,z,le,"\u2136","\\beth",!0);b(C,z,le,"\u2138","\\daleth",!0);b(C,z,le,"\u2137","\\gimel",!0);b(C,z,le,"\u03DD","\\digamma",!0);b(C,z,le,"\u03F0","\\varkappa");b(C,z,Bc,"\u250C","\\@ulcorner",!0);b(C,z,ml,"\u2510","\\@urcorner",!0);b(C,z,Bc,"\u2514","\\@llcorner",!0);b(C,z,ml,"\u2518","\\@lrcorner",!0);b(C,z,V,"\u2266","\\leqq",!0);b(C,z,V,"\u2A7D","\\leqslant",!0);b(C,z,V,"\u2A95","\\eqslantless",!0);b(C,z,V,"\u2272","\\lesssim",!0);b(C,z,V,"\u2A85","\\lessapprox",!0);b(C,z,V,"\u224A","\\approxeq",!0);b(C,z,Zn,"\u22D6","\\lessdot");b(C,z,V,"\u22D8","\\lll",!0);b(C,z,V,"\u2276","\\lessgtr",!0);b(C,z,V,"\u22DA","\\lesseqgtr",!0);b(C,z,V,"\u2A8B","\\lesseqqgtr",!0);b(C,z,V,"\u2251","\\doteqdot");b(C,z,V,"\u2253","\\risingdotseq",!0);b(C,z,V,"\u2252","\\fallingdotseq",!0);b(C,z,V,"\u223D","\\backsim",!0);b(C,z,V,"\u22CD","\\backsimeq",!0);b(C,z,V,"\u2AC5","\\subseteqq",!0);b(C,z,V,"\u22D0","\\Subset",!0);b(C,z,V,"\u228F","\\sqsubset",!0);b(C,z,V,"\u227C","\\preccurlyeq",!0);b(C,z,V,"\u22DE","\\curlyeqprec",!0);b(C,z,V,"\u227E","\\precsim",!0);b(C,z,V,"\u2AB7","\\precapprox",!0);b(C,z,V,"\u22B2","\\vartriangleleft");b(C,z,V,"\u22B4","\\trianglelefteq");b(C,z,V,"\u22A8","\\vDash",!0);b(C,z,V,"\u22AA","\\Vvdash",!0);b(C,z,V,"\u2323","\\smallsmile");b(C,z,V,"\u2322","\\smallfrown");b(C,z,V,"\u224F","\\bumpeq",!0);b(C,z,V,"\u224E","\\Bumpeq",!0);b(C,z,V,"\u2267","\\geqq",!0);b(C,z,V,"\u2A7E","\\geqslant",!0);b(C,z,V,"\u2A96","\\eqslantgtr",!0);b(C,z,V,"\u2273","\\gtrsim",!0);b(C,z,V,"\u2A86","\\gtrapprox",!0);b(C,z,Zn,"\u22D7","\\gtrdot");b(C,z,V,"\u22D9","\\ggg",!0);b(C,z,V,"\u2277","\\gtrless",!0);b(C,z,V,"\u22DB","\\gtreqless",!0);b(C,z,V,"\u2A8C","\\gtreqqless",!0);b(C,z,V,"\u2256","\\eqcirc",!0);b(C,z,V,"\u2257","\\circeq",!0);b(C,z,V,"\u225C","\\triangleq",!0);b(C,z,V,"\u223C","\\thicksim");b(C,z,V,"\u2248","\\thickapprox");b(C,z,V,"\u2AC6","\\supseteqq",!0);b(C,z,V,"\u22D1","\\Supset",!0);b(C,z,V,"\u2290","\\sqsupset",!0);b(C,z,V,"\u227D","\\succcurlyeq",!0);b(C,z,V,"\u22DF","\\curlyeqsucc",!0);b(C,z,V,"\u227F","\\succsim",!0);b(C,z,V,"\u2AB8","\\succapprox",!0);b(C,z,V,"\u22B3","\\vartriangleright");b(C,z,V,"\u22B5","\\trianglerighteq");b(C,z,V,"\u22A9","\\Vdash",!0);b(C,z,V,"\u2223","\\shortmid");b(C,z,V,"\u2225","\\shortparallel");b(C,z,V,"\u226C","\\between",!0);b(C,z,V,"\u22D4","\\pitchfork",!0);b(C,z,V,"\u221D","\\varpropto");b(C,z,V,"\u25C0","\\blacktriangleleft");b(C,z,V,"\u2234","\\therefore",!0);b(C,z,V,"\u220D","\\backepsilon");b(C,z,V,"\u25B6","\\blacktriangleright");b(C,z,V,"\u2235","\\because",!0);b(C,z,V,"\u22D8","\\llless");b(C,z,V,"\u22D9","\\gggtr");b(C,z,Zn,"\u22B2","\\lhd");b(C,z,Zn,"\u22B3","\\rhd");b(C,z,V,"\u2242","\\eqsim",!0);b(C,F,V,"\u22C8","\\Join");b(C,z,V,"\u2251","\\Doteq",!0);b(C,z,Zn,"\u2214","\\dotplus",!0);b(C,z,Zn,"\u2216","\\smallsetminus");b(C,z,Zn,"\u22D2","\\Cap",!0);b(C,z,Zn,"\u22D3","\\Cup",!0);b(C,z,Zn,"\u2A5E","\\doublebarwedge",!0);b(C,z,Zn,"\u229F","\\boxminus",!0);b(C,z,Zn,"\u229E","\\boxplus",!0);b(C,z,Zn,"\u22C7","\\divideontimes",!0);b(C,z,Zn,"\u22C9","\\ltimes",!0);b(C,z,Zn,"\u22CA","\\rtimes",!0);b(C,z,Zn,"\u22CB","\\leftthreetimes",!0);b(C,z,Zn,"\u22CC","\\rightthreetimes",!0);b(C,z,Zn,"\u22CF","\\curlywedge",!0);b(C,z,Zn,"\u22CE","\\curlyvee",!0);b(C,z,Zn,"\u229D","\\circleddash",!0);b(C,z,Zn,"\u229B","\\circledast",!0);b(C,z,Zn,"\u22C5","\\centerdot");b(C,z,Zn,"\u22BA","\\intercal",!0);b(C,z,Zn,"\u22D2","\\doublecap");b(C,z,Zn,"\u22D3","\\doublecup");b(C,z,Zn,"\u22A0","\\boxtimes",!0);b(C,z,V,"\u21E2","\\dashrightarrow",!0);b(C,z,V,"\u21E0","\\dashleftarrow",!0);b(C,z,V,"\u21C7","\\leftleftarrows",!0);b(C,z,V,"\u21C6","\\leftrightarrows",!0);b(C,z,V,"\u21DA","\\Lleftarrow",!0);b(C,z,V,"\u219E","\\twoheadleftarrow",!0);b(C,z,V,"\u21A2","\\leftarrowtail",!0);b(C,z,V,"\u21AB","\\looparrowleft",!0);b(C,z,V,"\u21CB","\\leftrightharpoons",!0);b(C,z,V,"\u21B6","\\curvearrowleft",!0);b(C,z,V,"\u21BA","\\circlearrowleft",!0);b(C,z,V,"\u21B0","\\Lsh",!0);b(C,z,V,"\u21C8","\\upuparrows",!0);b(C,z,V,"\u21BF","\\upharpoonleft",!0);b(C,z,V,"\u21C3","\\downharpoonleft",!0);b(C,F,V,"\u22B6","\\origof",!0);b(C,F,V,"\u22B7","\\imageof",!0);b(C,z,V,"\u22B8","\\multimap",!0);b(C,z,V,"\u21AD","\\leftrightsquigarrow",!0);b(C,z,V,"\u21C9","\\rightrightarrows",!0);b(C,z,V,"\u21C4","\\rightleftarrows",!0);b(C,z,V,"\u21A0","\\twoheadrightarrow",!0);b(C,z,V,"\u21A3","\\rightarrowtail",!0);b(C,z,V,"\u21AC","\\looparrowright",!0);b(C,z,V,"\u21B7","\\curvearrowright",!0);b(C,z,V,"\u21BB","\\circlearrowright",!0);b(C,z,V,"\u21B1","\\Rsh",!0);b(C,z,V,"\u21CA","\\downdownarrows",!0);b(C,z,V,"\u21BE","\\upharpoonright",!0);b(C,z,V,"\u21C2","\\downharpoonright",!0);b(C,z,V,"\u21DD","\\rightsquigarrow",!0);b(C,z,V,"\u21DD","\\leadsto");b(C,z,V,"\u21DB","\\Rrightarrow",!0);b(C,z,V,"\u21BE","\\restriction");b(C,F,le,"\u2018","`");b(C,F,le,"$","\\$");b(We,F,le,"$","\\$");b(We,F,le,"$","\\textdollar");b(C,F,le,"%","\\%");b(We,F,le,"%","\\%");b(C,F,le,"_","\\_");b(We,F,le,"_","\\_");b(We,F,le,"_","\\textunderscore");b(C,F,le,"\u2220","\\angle",!0);b(C,F,le,"\u221E","\\infty",!0);b(C,F,le,"\u2032","\\prime");b(C,F,le,"\u25B3","\\triangle");b(C,F,le,"\u0393","\\Gamma",!0);b(C,F,le,"\u0394","\\Delta",!0);b(C,F,le,"\u0398","\\Theta",!0);b(C,F,le,"\u039B","\\Lambda",!0);b(C,F,le,"\u039E","\\Xi",!0);b(C,F,le,"\u03A0","\\Pi",!0);b(C,F,le,"\u03A3","\\Sigma",!0);b(C,F,le,"\u03A5","\\Upsilon",!0);b(C,F,le,"\u03A6","\\Phi",!0);b(C,F,le,"\u03A8","\\Psi",!0);b(C,F,le,"\u03A9","\\Omega",!0);b(C,F,le,"A","\u0391");b(C,F,le,"B","\u0392");b(C,F,le,"E","\u0395");b(C,F,le,"Z","\u0396");b(C,F,le,"H","\u0397");b(C,F,le,"I","\u0399");b(C,F,le,"K","\u039A");b(C,F,le,"M","\u039C");b(C,F,le,"N","\u039D");b(C,F,le,"O","\u039F");b(C,F,le,"P","\u03A1");b(C,F,le,"T","\u03A4");b(C,F,le,"X","\u03A7");b(C,F,le,"\xAC","\\neg",!0);b(C,F,le,"\xAC","\\lnot");b(C,F,le,"\u22A4","\\top");b(C,F,le,"\u22A5","\\bot");b(C,F,le,"\u2205","\\emptyset");b(C,z,le,"\u2205","\\varnothing");b(C,F,jt,"\u03B1","\\alpha",!0);b(C,F,jt,"\u03B2","\\beta",!0);b(C,F,jt,"\u03B3","\\gamma",!0);b(C,F,jt,"\u03B4","\\delta",!0);b(C,F,jt,"\u03F5","\\epsilon",!0);b(C,F,jt,"\u03B6","\\zeta",!0);b(C,F,jt,"\u03B7","\\eta",!0);b(C,F,jt,"\u03B8","\\theta",!0);b(C,F,jt,"\u03B9","\\iota",!0);b(C,F,jt,"\u03BA","\\kappa",!0);b(C,F,jt,"\u03BB","\\lambda",!0);b(C,F,jt,"\u03BC","\\mu",!0);b(C,F,jt,"\u03BD","\\nu",!0);b(C,F,jt,"\u03BE","\\xi",!0);b(C,F,jt,"\u03BF","\\omicron",!0);b(C,F,jt,"\u03C0","\\pi",!0);b(C,F,jt,"\u03C1","\\rho",!0);b(C,F,jt,"\u03C3","\\sigma",!0);b(C,F,jt,"\u03C4","\\tau",!0);b(C,F,jt,"\u03C5","\\upsilon",!0);b(C,F,jt,"\u03D5","\\phi",!0);b(C,F,jt,"\u03C7","\\chi",!0);b(C,F,jt,"\u03C8","\\psi",!0);b(C,F,jt,"\u03C9","\\omega",!0);b(C,F,jt,"\u03B5","\\varepsilon",!0);b(C,F,jt,"\u03D1","\\vartheta",!0);b(C,F,jt,"\u03D6","\\varpi",!0);b(C,F,jt,"\u03F1","\\varrho",!0);b(C,F,jt,"\u03C2","\\varsigma",!0);b(C,F,jt,"\u03C6","\\varphi",!0);b(C,F,Zn,"\u2217","*",!0);b(C,F,Zn,"+","+");b(C,F,Zn,"\u2212","-",!0);b(C,F,Zn,"\u22C5","\\cdot",!0);b(C,F,Zn,"\u2218","\\circ",!0);b(C,F,Zn,"\xF7","\\div",!0);b(C,F,Zn,"\xB1","\\pm",!0);b(C,F,Zn,"\xD7","\\times",!0);b(C,F,Zn,"\u2229","\\cap",!0);b(C,F,Zn,"\u222A","\\cup",!0);b(C,F,Zn,"\u2216","\\setminus",!0);b(C,F,Zn,"\u2227","\\land");b(C,F,Zn,"\u2228","\\lor");b(C,F,Zn,"\u2227","\\wedge",!0);b(C,F,Zn,"\u2228","\\vee",!0);b(C,F,le,"\u221A","\\surd");b(C,F,Bc,"\u27E8","\\langle",!0);b(C,F,Bc,"\u2223","\\lvert");b(C,F,Bc,"\u2225","\\lVert");b(C,F,ml,"?","?");b(C,F,ml,"!","!");b(C,F,ml,"\u27E9","\\rangle",!0);b(C,F,ml,"\u2223","\\rvert");b(C,F,ml,"\u2225","\\rVert");b(C,F,V,"=","=");b(C,F,V,":",":");b(C,F,V,"\u2248","\\approx",!0);b(C,F,V,"\u2245","\\cong",!0);b(C,F,V,"\u2265","\\ge");b(C,F,V,"\u2265","\\geq",!0);b(C,F,V,"\u2190","\\gets");b(C,F,V,">","\\gt",!0);b(C,F,V,"\u2208","\\in",!0);b(C,F,V,"\uE020","\\@not");b(C,F,V,"\u2282","\\subset",!0);b(C,F,V,"\u2283","\\supset",!0);b(C,F,V,"\u2286","\\subseteq",!0);b(C,F,V,"\u2287","\\supseteq",!0);b(C,z,V,"\u2288","\\nsubseteq",!0);b(C,z,V,"\u2289","\\nsupseteq",!0);b(C,F,V,"\u22A8","\\models");b(C,F,V,"\u2190","\\leftarrow",!0);b(C,F,V,"\u2264","\\le");b(C,F,V,"\u2264","\\leq",!0);b(C,F,V,"<","\\lt",!0);b(C,F,V,"\u2192","\\rightarrow",!0);b(C,F,V,"\u2192","\\to");b(C,z,V,"\u2271","\\ngeq",!0);b(C,z,V,"\u2270","\\nleq",!0);b(C,F,sp,"\xA0","\\ ");b(C,F,sp,"\xA0","\\space");b(C,F,sp,"\xA0","\\nobreakspace");b(We,F,sp,"\xA0","\\ ");b(We,F,sp,"\xA0"," ");b(We,F,sp,"\xA0","\\space");b(We,F,sp,"\xA0","\\nobreakspace");b(C,F,sp,null,"\\nobreak");b(C,F,sp,null,"\\allowbreak");b(C,F,Q7,",",",");b(C,F,Q7,";",";");b(C,z,Zn,"\u22BC","\\barwedge",!0);b(C,z,Zn,"\u22BB","\\veebar",!0);b(C,F,Zn,"\u2299","\\odot",!0);b(C,F,Zn,"\u2295","\\oplus",!0);b(C,F,Zn,"\u2297","\\otimes",!0);b(C,F,le,"\u2202","\\partial",!0);b(C,F,Zn,"\u2298","\\oslash",!0);b(C,z,Zn,"\u229A","\\circledcirc",!0);b(C,z,Zn,"\u22A1","\\boxdot",!0);b(C,F,Zn,"\u25B3","\\bigtriangleup");b(C,F,Zn,"\u25BD","\\bigtriangledown");b(C,F,Zn,"\u2020","\\dagger");b(C,F,Zn,"\u22C4","\\diamond");b(C,F,Zn,"\u22C6","\\star");b(C,F,Zn,"\u25C3","\\triangleleft");b(C,F,Zn,"\u25B9","\\triangleright");b(C,F,Bc,"{","\\{");b(We,F,le,"{","\\{");b(We,F,le,"{","\\textbraceleft");b(C,F,ml,"}","\\}");b(We,F,le,"}","\\}");b(We,F,le,"}","\\textbraceright");b(C,F,Bc,"{","\\lbrace");b(C,F,ml,"}","\\rbrace");b(C,F,Bc,"[","\\lbrack",!0);b(We,F,le,"[","\\lbrack",!0);b(C,F,ml,"]","\\rbrack",!0);b(We,F,le,"]","\\rbrack",!0);b(C,F,Bc,"(","\\lparen",!0);b(C,F,ml,")","\\rparen",!0);b(We,F,le,"<","\\textless",!0);b(We,F,le,">","\\textgreater",!0);b(C,F,Bc,"\u230A","\\lfloor",!0);b(C,F,ml,"\u230B","\\rfloor",!0);b(C,F,Bc,"\u2308","\\lceil",!0);b(C,F,ml,"\u2309","\\rceil",!0);b(C,F,le,"\\","\\backslash");b(C,F,le,"\u2223","|");b(C,F,le,"\u2223","\\vert");b(We,F,le,"|","\\textbar",!0);b(C,F,le,"\u2225","\\|");b(C,F,le,"\u2225","\\Vert");b(We,F,le,"\u2225","\\textbardbl");b(We,F,le,"~","\\textasciitilde");b(We,F,le,"\\","\\textbackslash");b(We,F,le,"^","\\textasciicircum");b(C,F,V,"\u2191","\\uparrow",!0);b(C,F,V,"\u21D1","\\Uparrow",!0);b(C,F,V,"\u2193","\\downarrow",!0);b(C,F,V,"\u21D3","\\Downarrow",!0);b(C,F,V,"\u2195","\\updownarrow",!0);b(C,F,V,"\u21D5","\\Updownarrow",!0);b(C,F,_i,"\u2210","\\coprod");b(C,F,_i,"\u22C1","\\bigvee");b(C,F,_i,"\u22C0","\\bigwedge");b(C,F,_i,"\u2A04","\\biguplus");b(C,F,_i,"\u22C2","\\bigcap");b(C,F,_i,"\u22C3","\\bigcup");b(C,F,_i,"\u222B","\\int");b(C,F,_i,"\u222B","\\intop");b(C,F,_i,"\u222C","\\iint");b(C,F,_i,"\u222D","\\iiint");b(C,F,_i,"\u220F","\\prod");b(C,F,_i,"\u2211","\\sum");b(C,F,_i,"\u2A02","\\bigotimes");b(C,F,_i,"\u2A01","\\bigoplus");b(C,F,_i,"\u2A00","\\bigodot");b(C,F,_i,"\u222E","\\oint");b(C,F,_i,"\u222F","\\oiint");b(C,F,_i,"\u2230","\\oiiint");b(C,F,_i,"\u2A06","\\bigsqcup");b(C,F,_i,"\u222B","\\smallint");b(We,F,RR,"\u2026","\\textellipsis");b(C,F,RR,"\u2026","\\mathellipsis");b(We,F,RR,"\u2026","\\ldots",!0);b(C,F,RR,"\u2026","\\ldots",!0);b(C,F,RR,"\u22EF","\\@cdots",!0);b(C,F,RR,"\u22F1","\\ddots",!0);b(C,F,le,"\u22EE","\\varvdots");b(C,F,no,"\u02CA","\\acute");b(C,F,no,"\u02CB","\\grave");b(C,F,no,"\xA8","\\ddot");b(C,F,no,"~","\\tilde");b(C,F,no,"\u02C9","\\bar");b(C,F,no,"\u02D8","\\breve");b(C,F,no,"\u02C7","\\check");b(C,F,no,"^","\\hat");b(C,F,no,"\u20D7","\\vec");b(C,F,no,"\u02D9","\\dot");b(C,F,no,"\u02DA","\\mathring");b(C,F,jt,"\uE131","\\@imath");b(C,F,jt,"\uE237","\\@jmath");b(C,F,le,"\u0131","\u0131");b(C,F,le,"\u0237","\u0237");b(We,F,le,"\u0131","\\i",!0);b(We,F,le,"\u0237","\\j",!0);b(We,F,le,"\xDF","\\ss",!0);b(We,F,le,"\xE6","\\ae",!0);b(We,F,le,"\u0153","\\oe",!0);b(We,F,le,"\xF8","\\o",!0);b(We,F,le,"\xC6","\\AE",!0);b(We,F,le,"\u0152","\\OE",!0);b(We,F,le,"\xD8","\\O",!0);b(We,F,no,"\u02CA","\\'");b(We,F,no,"\u02CB","\\`");b(We,F,no,"\u02C6","\\^");b(We,F,no,"\u02DC","\\~");b(We,F,no,"\u02C9","\\=");b(We,F,no,"\u02D8","\\u");b(We,F,no,"\u02D9","\\.");b(We,F,no,"\xB8","\\c");b(We,F,no,"\u02DA","\\r");b(We,F,no,"\u02C7","\\v");b(We,F,no,"\xA8",'\\"');b(We,F,no,"\u02DD","\\H");b(We,F,no,"\u25EF","\\textcircled");var lTe={"--":!0,"---":!0,"``":!0,"''":!0};b(We,F,le,"\u2013","--",!0);b(We,F,le,"\u2013","\\textendash");b(We,F,le,"\u2014","---",!0);b(We,F,le,"\u2014","\\textemdash");b(We,F,le,"\u2018","`",!0);b(We,F,le,"\u2018","\\textquoteleft");b(We,F,le,"\u2019","'",!0);b(We,F,le,"\u2019","\\textquoteright");b(We,F,le,"\u201C","``",!0);b(We,F,le,"\u201C","\\textquotedblleft");b(We,F,le,"\u201D","''",!0);b(We,F,le,"\u201D","\\textquotedblright");b(C,F,le,"\xB0","\\degree",!0);b(We,F,le,"\xB0","\\degree");b(We,F,le,"\xB0","\\textdegree",!0);b(C,F,le,"\xA3","\\pounds");b(C,F,le,"\xA3","\\mathsterling",!0);b(We,F,le,"\xA3","\\pounds");b(We,F,le,"\xA3","\\textsterling",!0);b(C,z,le,"\u2720","\\maltese");b(We,z,le,"\u2720","\\maltese");var cTe='0123456789/@."';for(Y7=0;Y70)return Dv(o,c,r,t,i.concat(s));if(l){var f,v;if(l==="boldsymbol"){var m=wgn(o,r,t,i,a);f=m.fontName,v=[m.fontClass]}else u?(f=pTe[l].fontName,v=[l]):(f=a5(l,t.fontWeight,t.fontShape),v=[l,t.fontWeight,t.fontShape]);if(t5(o,f,r).metrics)return Dv(o,f,r,t,i.concat(v));if(lTe.hasOwnProperty(o)&&f.slice(0,10)==="Typewriter"){for(var _=[],R=0;R{if(Od(e.classes)!==Od(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},Cgn=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},$l=function(n,t,a,r){var o=new bR(n,t,a,r);return vW(o),o},vTe=(e,n,t,a)=>new bR(e,n,t,a),Ign=function(n,t,a){var r=$l([n],[],t);return r.height=Math.max(a||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),r.style.borderBottomWidth=Tn(r.height),r.maxFontSize=1,r},Tgn=function(n,t,a,r){var o=new $7(n,t,a,r);return vW(o),o},mTe=function(n){var t=new yR(n);return vW(t),t},Fgn=function(n,t){return n instanceof yR?$l([],[n],t):n},Mgn=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=$l(["mspace"],[],n),a=bo(e,n);return t.style.marginRight=Tn(a),t},a5=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},pTe={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"}},_Te={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},xgn=function(n,t){var[a,r,o]=_Te[n],i=new cp(a),u=new x0([i],{width:Tn(r),height:Tn(o),style:"width:"+Tn(r),viewBox:"0 0 "+1e3*r+" "+1e3*o,preserveAspectRatio:"xMinYMin"}),l=vTe(["overlay"],[u],t);return l.height=o,l.style.height=Tn(o),l.style.width=Tn(r),l},be={fontMap:pTe,makeSymbol:Dv,mathsym:Rgn,makeSpan:$l,makeSvgSpan:vTe,makeLineSpan:Ign,makeAnchor:Tgn,makeFragment:mTe,wrapFragment:Fgn,makeVList:Ggn,makeOrd:Sgn,makeGlue:Agn,staticSvg:xgn,svgData:_Te,tryCombineChars:Cgn},wo={number:3,unit:"mu"},gD={number:4,unit:"mu"},vp={number:5,unit:"mu"},Lgn={mord:{mop:wo,mbin:gD,mrel:vp,minner:wo},mop:{mord:wo,mop:wo,mrel:vp,minner:wo},mbin:{mord:gD,mop:gD,mopen:gD,minner:gD},mrel:{mord:vp,mop:vp,mopen:vp,minner:vp},mopen:{},mclose:{mop:wo,mbin:gD,mrel:vp,minner:wo},mpunct:{mord:wo,mop:wo,mrel:vp,mopen:wo,mclose:wo,mpunct:wo,minner:wo},minner:{mord:wo,mop:wo,mbin:gD,mrel:vp,mopen:wo,mpunct:wo,minner:wo}},jgn={mord:{mop:wo},mop:{mord:wo,mop:wo},mbin:{},mrel:{},mopen:{},mclose:{mop:wo},mpunct:{},minner:{mop:wo}},dTe={},r5={},o5={};function Wn(e){for(var{type:n,names:t,props:a,handler:r,htmlBuilder:o,mathmlBuilder:i}=e,u={type:n,numArgs:a.numArgs,argTypes:a.argTypes,allowedInArgument:!!a.allowedInArgument,allowedInText:!!a.allowedInText,allowedInMath:a.allowedInMath===void 0?!0:a.allowedInMath,numOptionalArgs:a.numOptionalArgs||0,infix:!!a.infix,primitive:!!a.primitive,handler:r},l=0;l{var D=R.classes[0],y=_.classes[0];D==="mbin"&&Ct.contains(Pgn,y)?R.classes[0]="mord":y==="mbin"&&Ct.contains(Ngn,D)&&(_.classes[0]="mord")},{node:f},v,m),hTe(o,(_,R)=>{var D=mW(R),y=mW(_),S=D&&y?_.hasClass("mtight")?jgn[D][y]:Lgn[D][y]:null;if(S)return be.makeGlue(S,c)},{node:f},v,m),o},hTe=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()},gTe=function(n){return n instanceof yR||n instanceof $7||n instanceof bR&&n.hasClass("enclosing")?n:null},Ugn=function e(n,t){var a=gTe(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},mW=function(n,t){return n?(t&&(n=Ugn(n,t)),kgn[n.classes[0]]||null):null},hT=function(n,t){var a=["nulldelimiter"].concat(n.baseSizingClasses());return mp(t.concat(a))},Ba=function(n,t,a){if(!n)return mp();if(r5[n.type]){var r=r5[n.type](n,t);if(a&&t.size!==a.size){r=mp(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 u5(e,n){var t=mp(["base"],e,n),a=mp(["strut"]);return a.style.height=Tn(t.height+t.depth),t.depth&&(a.style.verticalAlign=Tn(-t.depth)),t.children.unshift(a),t}function pW(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(u5(i,n)),i=[]),o.push(a[u]));i.length>0&&o.push(u5(i,n));var c;t?(c=u5(Bi(t,n,!0)),c.classes=["tag"],o.push(c)):r&&o.push(r);var s=mp(["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 DTe(e){return new yR(e)}var Jc=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=Od(this.classes));for(var a=0;a0&&(n+=' class ="'+Ct.escape(Od(this.classes))+'"'),n+=">";for(var a=0;a",n}toText(){return this.children.map(n=>n.toText()).join("")}},wR=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}},yTe=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:" "}},Xe={MathNode:Jc,TextNode:wR,SpaceNode:yTe,newDocumentFragment:DTe},Ys=function(n,t,a){return xr[t][n]&&xr[t][n].replace&&n.charCodeAt(0)!==55349&&!(lTe.hasOwnProperty(n)&&a&&(a.fontFamily&&a.fontFamily.slice(4,6)==="tt"||a.font&&a.font.slice(4,6)==="tt"))&&(n=xr[t][n].replace),new Xe.TextNode(n)},_W=function(n){return n.length===1?n[0]:new Xe.MathNode("mrow",n)},dW=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;xr[r][o]&&xr[r][o].replace&&(o=xr[r][o].replace);var i=be.fontMap[a].fontName;return iW(o,i,r)?be.fontMap[a].variant:null},Vl=function(n,t,a){if(n.length===1){var r=Er(n[0],t);return a&&r instanceof Jc&&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},Ud=function(n,t,a){return _W(Vl(n,t,a))},Er=function(n,t){if(!n)return new Xe.MathNode("mrow");if(o5[n.type]){var a=o5[n.type](n,t);return a}else throw new tn("Got group of unknown type: '"+n.type+"'")};function bTe(e,n,t,a,r){var o=Vl(e,t),i;o.length===1&&o[0]instanceof Jc&&Ct.contains(["mrow","mtable"],o[0].type)?i=o[0]:i=new Xe.MathNode("mrow",o);var u=new Xe.MathNode("annotation",[new Xe.TextNode(n)]);u.setAttribute("encoding","application/x-tex");var l=new Xe.MathNode("semantics",[i,u]),c=new Xe.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 RTe=function(n){return new A0({style:n.displayMode?Lt.DISPLAY:Lt.TEXT,maxSize:n.maxSize,minRuleThickness:n.minRuleThickness})},wTe=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},Hgn=function(n,t,a){var r=RTe(a),o;if(a.output==="mathml")return bTe(n,t,r,a.displayMode,!0);if(a.output==="html"){var i=pW(n,r);o=be.makeSpan(["katex"],[i])}else{var u=bTe(n,t,r,a.displayMode,!1),l=pW(n,r);o=be.makeSpan(["katex"],[u,l])}return wTe(o,a)},Bgn=function(n,t,a){var r=RTe(a),o=pW(n,r),i=be.makeSpan(["katex"],[o]);return wTe(i,a)},Jgn={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":"="},Wgn=function(n){var t=new Xe.MathNode("mo",[new Xe.TextNode(Jgn[n.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},qgn={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]},zgn=function(n){return n.type==="ordgroup"?n.body.length:1},$gn=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=zgn(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 cp(v),D=new x0([R],{width:"100%",height:Tn(m),viewBox:"0 0 "+u+" "+f,preserveAspectRatio:"none"});return{span:be.makeSvgSpan([],[D],t),minWidth:0,height:m}}else{var y=[],S=qgn[l],[M,P,k]=S,N=k/1e3,Q=M.length,de,ve;if(Q===1){var ge=S[3];de=["hide-tail"],ve=[ge]}else if(Q===2)de=["halfarrow-left","halfarrow-right"],ve=["xMinYMin","xMaxYMin"];else if(Q===3)de=["brace-left","brace-center","brace-right"],ve=["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},Vgn=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 V7({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&c.push(new V7({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var s=new x0(c,{width:"100%",height:Tn(u)});i=be.makeSvgSpan([],[s],o)}return i.height=u,i.style.height=Tn(u),i},pp={encloseSpan:Vgn,mathMLnode:Wgn,svgSpan:$gn};function pa(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 hW(e){var n=l5(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 l5(e){return e&&(e.type==="atom"||ygn.hasOwnProperty(e.type))?e:null}var gW=(e,n)=>{var t,a,r;e&&e.type==="supsub"?(a=pa(e.base,"accent"),t=a.base,e.base=t,r=ggn(Ba(e,n)),e.base=a):(a=pa(e,"accent"),t=a.base);var o=Ba(t,n.havingCrampedStyle()),i=a.isShifty&&Ct.isCharacterBox(t),u=0;if(i){var l=Ct.getBaseElem(t),c=Ba(l,n.havingCrampedStyle());u=uTe(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=pp.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=uTe(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 D=u;R||(D-=_/2),v.style.left=Tn(D),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 y=be.makeSpan(["mord","accent"],[v],n);return r?(r.children[0]=y,r.height=Math.max(y.height,r.height),r.classes[0]="mord",r):y},STe=(e,n)=>{var t=e.isStretchy?pp.mathMLnode(e.label):new Xe.MathNode("mo",[Ys(e.label,e.mode)]),a=new Xe.MathNode("mover",[Er(e.base,n),t]);return a.setAttribute("accent","true"),a},Qgn=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));Wn({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(e,n)=>{var t=i5(n[0]),a=!Qgn.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:gW,mathmlBuilder:STe});Wn({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,n)=>{var t=n[0],a=e.parser.mode;return a==="math"&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),a="text"),{type:"accent",mode:a,label:e.funcName,isStretchy:!1,isShifty:!0,base:t}},htmlBuilder:gW,mathmlBuilder:STe});Wn({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,n)=>{var{parser:t,funcName:a}=e,r=n[0];return{type:"accentUnder",mode:t.mode,label:a,base:r}},htmlBuilder:(e,n)=>{var t=Ba(e.base,n),a=pp.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=pp.mathMLnode(e.label),a=new Xe.MathNode("munder",[Er(e.base,n),t]);return a.setAttribute("accentunder","true"),a}});var c5=e=>{var n=new Xe.MathNode("mpadded",e?[e]:[]);return n.setAttribute("width","+0.6em"),n.setAttribute("lspace","0.3em"),n};Wn({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(e,n,t){var{parser:a,funcName:r}=e;return{type:"xArrow",mode:a.mode,label:r,body:n[0],below:t[0]}},htmlBuilder(e,n){var t=n.style,a=n.havingStyle(t.sup()),r=be.wrapFragment(Ba(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(Ba(e.below,a,n),n),i.classes.push(o+"-arrow-pad"));var u=pp.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=pp.mathMLnode(e.label);t.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var a;if(e.body){var r=c5(Er(e.body,n));if(e.below){var o=c5(Er(e.below,n));a=new Xe.MathNode("munderover",[t,o,r])}else a=new Xe.MathNode("mover",[t,r])}else if(e.below){var i=c5(Er(e.below,n));a=new Xe.MathNode("munder",[t,i])}else a=c5(),a=new Xe.MathNode("mover",[t,a]);return a}});var Ygn=be.makeSpan;function ETe(e,n){var t=Bi(e.body,n,!0);return Ygn([e.mclass],t,n)}function CTe(e,n){var t,a=Vl(e.body,n);return e.mclass==="minner"?t=new Xe.MathNode("mpadded",a):e.mclass==="mord"?e.isCharacterBox?(t=a[0],t.type="mi"):t=new Xe.MathNode("mi",a):(e.isCharacterBox?(t=a[0],t.type="mo"):t=new Xe.MathNode("mo",a),e.mclass==="mbin"?(t.attributes.lspace="0.22em",t.attributes.rspace="0.22em"):e.mclass==="mpunct"?(t.attributes.lspace="0em",t.attributes.rspace="0.17em"):e.mclass==="mopen"||e.mclass==="mclose"?(t.attributes.lspace="0em",t.attributes.rspace="0em"):e.mclass==="minner"&&(t.attributes.lspace="0.0556em",t.attributes.width="+0.1111em")),t}Wn({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,n){var{parser:t,funcName:a}=e,r=n[0];return{type:"mclass",mode:t.mode,mclass:"m"+a.slice(5),body:Ko(r),isCharacterBox:Ct.isCharacterBox(r)}},htmlBuilder:ETe,mathmlBuilder:CTe});var s5=e=>{var n=e.type==="ordgroup"&&e.body.length?e.body[0]:e;return n.type==="atom"&&(n.family==="bin"||n.family==="rel")?"m"+n.family:"mord"};Wn({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,n){var{parser:t}=e;return{type:"mclass",mode:t.mode,mclass:s5(n[0]),body:Ko(n[1]),isCharacterBox:Ct.isCharacterBox(n[1])}}});Wn({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,n){var{parser:t,funcName:a}=e,r=n[1],o=n[0],i;a!=="\\stackrel"?i=s5(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:ETe,mathmlBuilder:CTe});Wn({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,n){var{parser:t}=e;return{type:"pmb",mode:t.mode,mclass:s5(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=Vl(e.body,n),a=new Xe.MathNode("mstyle",t);return a.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),a}});var Xgn={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},ITe=()=>({type:"styling",body:[],mode:"math",style:"display"}),TTe=e=>e.type==="textord"&&e.text==="@",Zgn=(e,n)=>(e.type==="mathord"||e.type==="atom")&&e.text===n;function Kgn(e,n,t){var a=Xgn[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 eDn(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 _=Kgn(c,s,e),R={type:"styling",body:[_],mode:"math",style:"display"};a.push(R),u=ITe()}o%2==0?a.push(u):a.shift(),a=[],r.push(a)}e.gullet.endGroup(),e.gullet.endGroup();var D=new Array(r[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:r,arraystretch:1,addJot:!0,rowGaps:[null],cols:D,colSeparationType:"CD",hLinesBeforeRow:new Array(r.length+1).fill([])}}Wn({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,n){var{parser:t,funcName:a}=e;return{type:"cdlabel",mode:t.mode,side:a.slice(4),label:n[0]}},htmlBuilder(e,n){var t=n.havingStyle(n.style.sup()),a=be.wrapFragment(Ba(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 Xe.MathNode("mrow",[Er(e.label,n)]);return t=new Xe.MathNode("mpadded",[t]),t.setAttribute("width","0"),e.side==="left"&&t.setAttribute("lspace","-1width"),t.setAttribute("voffset","0.7em"),t=new Xe.MathNode("mstyle",[t]),t.setAttribute("displaystyle","false"),t.setAttribute("scriptlevel","1"),t}});Wn({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,n){var{parser:t}=e;return{type:"cdlabelparent",mode:t.mode,fragment:n[0]}},htmlBuilder(e,n){var t=be.wrapFragment(Ba(e.fragment,n),n);return t.classes.push("cd-vert-arrow"),t},mathmlBuilder(e,n){return new Xe.MathNode("mrow",[Er(e.fragment,n)])}});Wn({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,n){for(var{parser:t}=e,a=pa(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 FTe=(e,n)=>{var t=Bi(e.body,n.withColor(e.color),!1);return be.makeFragment(t)},MTe=(e,n)=>{var t=Vl(e.body,n.withColor(e.color)),a=new Xe.MathNode("mstyle",t);return a.setAttribute("mathcolor",e.color),a};Wn({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,n){var{parser:t}=e,a=pa(n[0],"color-token").color,r=n[1];return{type:"color",mode:t.mode,color:a,body:Ko(r)}},htmlBuilder:FTe,mathmlBuilder:MTe});Wn({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,n){var{parser:t,breakOnTokenText:a}=e,r=pa(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:FTe,mathmlBuilder:MTe});Wn({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,n,t){var{parser:a}=e,r=a.gullet.future().text==="["?a.parseSizeGroup(!0):null,o=!a.settings.displayMode||!a.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:a.mode,newLine:o,size:r&&pa(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(bo(e.size,n)))),t},mathmlBuilder(e,n){var t=new Xe.MathNode("mspace");return e.newLine&&(t.setAttribute("linebreak","newline"),e.size&&t.setAttribute("height",Tn(bo(e.size,n)))),t}});var DW={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},GTe=e=>{var n=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(n))throw new tn("Expected a control sequence",e);return n},nDn=e=>{var n=e.gullet.popToken();return n.text==="="&&(n=e.gullet.popToken(),n.text===" "&&(n=e.gullet.popToken())),n},ATe=(e,n,t,a)=>{var r=e.gullet.macros.get(t.text);r==null&&(t.noexpand=!0,r={tokens:[t],numArgs:0,unexpandable:!e.gullet.isExpandable(t.text)}),e.gullet.macros.set(n,r,a)};Wn({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:n,funcName:t}=e;n.consumeSpaces();var a=n.fetch();if(DW[a.text])return(t==="\\global"||t==="\\\\globallong")&&(a.text=DW[a.text]),pa(n.parseFunction(),"internal");throw new tn("Invalid token after macro prefix",a)}});Wn({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:n,funcName:t}=e,a=n.gullet.popToken(),r=a.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(r))throw new tn("Expected a control sequence",a);for(var o=0,i,u=[[]];n.gullet.future().text!=="{";)if(a=n.gullet.popToken(),a.text==="#"){if(n.gullet.future().text==="{"){i=n.gullet.future(),u[o].push("{");break}if(a=n.gullet.popToken(),!/^[1-9]$/.test(a.text))throw new tn('Invalid argument number "'+a.text+'"');if(parseInt(a.text)!==o+1)throw new tn('Argument number "'+a.text+'" out of order');o++,u.push([])}else{if(a.text==="EOF")throw new tn("Expected a macro definition");u[o].push(a.text)}var{tokens:l}=n.gullet.consumeArg();return i&&l.unshift(i),(t==="\\edef"||t==="\\xdef")&&(l=n.gullet.expandTokens(l),l.reverse()),n.gullet.macros.set(r,{tokens:l,numArgs:o,delimiters:u},t===DW[t]),{type:"internal",mode:n.mode}}});Wn({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:n,funcName:t}=e,a=GTe(n.gullet.popToken());n.gullet.consumeSpaces();var r=nDn(n);return ATe(n,a,r,t==="\\\\globallet"),{type:"internal",mode:n.mode}}});Wn({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:n,funcName:t}=e,a=GTe(n.gullet.popToken()),r=n.gullet.popToken(),o=n.gullet.popToken();return ATe(n,a,o,t==="\\\\globalfuture"),n.gullet.pushToken(o),n.gullet.pushToken(r),{type:"internal",mode:n.mode}}});var gT=function(n,t,a){var r=xr.math[n]&&xr.math[n].replace,o=iW(r||n,t,a);if(!o)throw new Error("Unsupported symbol "+n+" and font size "+t+".");return o},yW=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},xTe=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},tDn=function(n,t,a,r,o,i){var u=be.makeSymbol(n,"Main-Regular",o,r),l=yW(u,t,r,i);return a&&xTe(l,r,t),l},aDn=function(n,t,a,r){return be.makeSymbol(n,"Size"+t+"-Regular",a,r)},LTe=function(n,t,a,r,o,i){var u=aDn(n,t,o,r),l=yW(be.makeSpan(["delimsizing","size"+t],[u],r),Lt.TEXT,r,i);return a&&xTe(l,r,Lt.TEXT),l},bW=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}},RW=function(n,t,a){var r=G0["Size4-Regular"][n.charCodeAt(0)]?G0["Size4-Regular"][n.charCodeAt(0)][4]:G0["Size1-Regular"][n.charCodeAt(0)][4],o=new cp("inner",fgn(n,Math.round(1e3*t))),i=new x0([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}},wW=.008,f5={type:"kern",size:-1*wW},rDn=["|","\\lvert","\\rvert","\\vert"],oDn=["\\|","\\lVert","\\rVert","\\Vert"],jTe=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(rDn,n)?(c="\u2223",f="vert",v=333):Ct.contains(oDn,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 _=gT(u,m,o),R=_.height+_.depth,D=gT(c,m,o),y=D.height+D.depth,S=gT(s,m,o),M=S.height+S.depth,P=0,k=1;if(l!==null){var N=gT(l,m,o);P=N.height+N.depth,k=2}var Q=R+M+P,de=Math.max(0,Math.ceil((t-Q)/(k*y))),ve=Q+de*k*y,ge=r.fontMetrics().axisHeight;a&&(ge*=r.sizeMultiplier);var re=ve/2-ge,Se=[];if(f.length>0){var pe=ve-R-M,ye=Math.round(ve*1e3),je=vgn(f,Math.round(pe*1e3)),oe=new cp(f,je),Un=(v/1e3).toFixed(3)+"em",Ke=(ye/1e3).toFixed(3)+"em",Pn=new x0([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,Se.push({type:"elem",elem:On})}else{if(Se.push(bW(s,m,o)),Se.push(f5),l===null){var W=ve-R-M+2*wW;Se.push(RW(c,W,r))}else{var A=(ve-R-M-P)/2+2*wW;Se.push(RW(c,A,r)),Se.push(f5),Se.push(bW(l,m,o)),Se.push(f5),Se.push(RW(c,A,r))}Se.push(f5),Se.push(bW(u,m,o))}var ee=r.havingBaseStyle(Lt.TEXT),se=be.makeVList({positionType:"bottom",positionData:re,children:Se},ee);return yW(be.makeSpan(["delimsizing","mult"],[se],ee),Lt.TEXT,r,i)},SW=80,EW=.08,CW=function(n,t,a,r,o){var i=sgn(n,r,a),u=new cp(n,i),l=new x0([u],{width:"400em",height:Tn(t),viewBox:"0 0 400000 "+a,preserveAspectRatio:"xMinYMin slice"});return be.makeSvgSpan(["hide-tail"],[l],o)},iDn=function(n,t){var a=t.havingBaseSizing(),r=kTe("\\surd",n*a.sizeMultiplier,OTe,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+SW,n<1?o=1:n<1.4&&(o=.7),l=(1+i+EW)/o,c=(1+i)/o,u=CW("sqrtMain",l,s,i,t),u.style.minWidth="0.853em",f=.833/o):r.type==="large"?(s=(1e3+SW)*DT[r.size],c=(DT[r.size]+i)/o,l=(DT[r.size]+i+EW)/o,u=CW("sqrtSize"+r.size,l,s,i,t),u.style.minWidth="1.02em",f=1/o):(l=n+i+EW,c=n+i,s=Math.floor(1e3*n+i)+SW,u=CW("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}},NTe=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],uDn=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],PTe=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],DT=[0,1.2,1.8,2.4,3],lDn=function(n,t,a,r,o){if(n==="<"||n==="\\lt"||n==="\u27E8"?n="\\langle":(n===">"||n==="\\gt"||n==="\u27E9")&&(n="\\rangle"),Ct.contains(NTe,n)||Ct.contains(PTe,n))return LTe(n,t,!1,a,r,o);if(Ct.contains(uDn,n))return jTe(n,DT[t],!1,a,r,o);throw new tn("Illegal delimiter: '"+n+"'")},cDn=[{type:"small",style:Lt.SCRIPTSCRIPT},{type:"small",style:Lt.SCRIPT},{type:"small",style:Lt.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],sDn=[{type:"small",style:Lt.SCRIPTSCRIPT},{type:"small",style:Lt.SCRIPT},{type:"small",style:Lt.TEXT},{type:"stack"}],OTe=[{type:"small",style:Lt.SCRIPTSCRIPT},{type:"small",style:Lt.SCRIPT},{type:"small",style:Lt.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],fDn=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.")},kTe=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]},UTe=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(PTe,n)?u=cDn:Ct.contains(NTe,n)?u=OTe:u=sDn;var l=kTe(n,t,u,r);return l.type==="small"?tDn(n,l.style,a,r,o,i):l.type==="large"?LTe(n,l.size,a,r,o,i):jTe(n,t,a,r,o,i)},vDn=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 UTe(n,f,!0,r,o,i)},_p={sqrtImage:iDn,sizedDelim:lDn,sizeToMaxHeight:DT,customSizedDelim:UTe,leftRightDelim:vDn},HTe={"\\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}},mDn=["(","\\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 v5(e,n){var t=l5(e);if(t&&Ct.contains(mDn,t.text))return t;throw t?new tn("Invalid delimiter '"+t.text+"' after '"+n.funcName+"'",e):new tn("Invalid delimiter type '"+e.type+"'",e)}Wn({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(e,n)=>{var t=v5(n[0],e);return{type:"delimsizing",mode:e.parser.mode,size:HTe[e.funcName].size,mclass:HTe[e.funcName].mclass,delim:t.text}},htmlBuilder:(e,n)=>e.delim==="."?be.makeSpan([e.mclass]):_p.sizedDelim(e.delim,e.size,n,e.mode,[e.mclass]),mathmlBuilder:e=>{var n=[];e.delim!=="."&&n.push(Ys(e.delim,e.mode));var t=new Xe.MathNode("mo",n);e.mclass==="mopen"||e.mclass==="mclose"?t.setAttribute("fence","true"):t.setAttribute("fence","false"),t.setAttribute("stretchy","true");var a=Tn(_p.sizeToMaxHeight[e.size]);return t.setAttribute("minsize",a),t.setAttribute("maxsize",a),t}});function BTe(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Wn({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,n)=>{var t=e.parser.gullet.macros.get("\\current@color");if(t&&typeof t!="string")throw new tn("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:v5(n[0],e).text,color:t}}});Wn({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,n)=>{var t=v5(n[0],e),a=e.parser;++a.leftrightDepth;var r=a.parseExpression(!1);--a.leftrightDepth,a.expect("\\right",!1);var o=pa(a.parseFunction(),"leftright-right");return{type:"leftright",mode:a.mode,body:r,left:t.text,right:o.delim,rightColor:o.color}},htmlBuilder:(e,n)=>{BTe(e);for(var t=Bi(e.body,n,!0,["mopen","mclose"]),a=0,r=0,o=!1,i=0;i{BTe(e);var t=Vl(e.body,n);if(e.left!=="."){var a=new Xe.MathNode("mo",[Ys(e.left,e.mode)]);a.setAttribute("fence","true"),t.unshift(a)}if(e.right!=="."){var r=new Xe.MathNode("mo",[Ys(e.right,e.mode)]);r.setAttribute("fence","true"),e.rightColor&&r.setAttribute("mathcolor",e.rightColor),t.push(r)}return _W(t)}});Wn({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,n)=>{var t=v5(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=hT(n,[]);else{t=_p.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==="|"?Ys("|","text"):Ys(e.delim,e.mode),a=new Xe.MathNode("mo",[t]);return a.setAttribute("fence","true"),a.setAttribute("lspace","0.05em"),a.setAttribute("rspace","0.05em"),a}});var IW=(e,n)=>{var t=be.wrapFragment(Ba(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=bo({number:.6,unit:"pt"},n),c=bo({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=lgn(v),_=new x0([new cp("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,D=0,y=0;/box/.test(a)?(y=Math.max(n.fontMetrics().fboxrule,n.minRuleThickness),R=n.fontMetrics().fboxsep+(a==="colorbox"?0:y),D=R):a==="angl"?(y=Math.max(n.fontMetrics().defaultRuleThickness,n.minRuleThickness),R=4*y,D=Math.max(0,.25-t.depth)):(R=u?.2:0,D=R),o=pp.encloseSpan(t,a,R,D,n),/fbox|boxed|fcolorbox/.test(a)?(o.style.borderStyle="solid",o.style.borderWidth=Tn(y)):a==="angl"&&y!==.049&&(o.style.borderTopWidth=Tn(y),o.style.borderRightWidth=Tn(y)),i=t.depth+D,e.backgroundColor&&(o.style.backgroundColor=e.backgroundColor,e.borderColor&&(o.style.borderColor=e.borderColor))}var S;if(e.backgroundColor)S=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)},TW=(e,n)=>{var t=0,a=new Xe.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};Wn({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,n,t){var{parser:a,funcName:r}=e,o=pa(n[0],"color-token").color,i=n[1];return{type:"enclose",mode:a.mode,label:r,backgroundColor:o,body:i}},htmlBuilder:IW,mathmlBuilder:TW});Wn({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,n,t){var{parser:a,funcName:r}=e,o=pa(n[0],"color-token").color,i=pa(n[1],"color-token").color,u=n[2];return{type:"enclose",mode:a.mode,label:r,backgroundColor:i,borderColor:o,body:u}},htmlBuilder:IW,mathmlBuilder:TW});Wn({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,n){var{parser:t}=e;return{type:"enclose",mode:t.mode,label:"\\fbox",body:n[0]}}});Wn({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,n){var{parser:t,funcName:a}=e,r=n[0];return{type:"enclose",mode:t.mode,label:a,body:r}},htmlBuilder:IW,mathmlBuilder:TW});Wn({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,n){var{parser:t}=e;return{type:"enclose",mode:t.mode,label:"\\angl",body:n[0]}}});var JTe={};function L0(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 FW(e){if(e.indexOf("ed")===-1)return e.indexOf("*")===-1}function Hd(e,n,t){var{hskipBeforeAndAfter:a,addJot:r,cols:o,arraystretch:i,colSeparationType:u,autoTag:l,singleRow:c,emptySingleRow:s,maxNumCols:f,leqno:v}=n;if(e.gullet.beginGroup(),c||e.gullet.macros.set("\\cr","\\\\\\relax"),!i){var m=e.gullet.expandMacroAsText("\\arraystretch");if(m==null)i=1;else if(i=parseFloat(m),!i||i<0)throw new tn("Invalid \\arraystretch: "+m)}e.gullet.beginGroup();var _=[],R=[_],D=[],y=[],S=l!=null?[]:void 0;function M(){l&&e.gullet.macros.set("\\@eqnsw","1",!0)}function P(){S&&(e.gullet.macros.get("\\df@tag")?(S.push(e.subparse([new Uc("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):S.push(Boolean(l)&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(M(),y.push(qTe(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(),y.length0&&(M+=.25),c.push({pos:M,isDashed:et[gt]})}for(P(i[0]),a=0;a0&&(re+=S,Qet))for(a=0;a=u)){var me=void 0;(r>0||n.hskipBeforeAndAfter)&&(me=Ct.deflt(A.pregap,v),me!==0&&(je=be.makeSpan(["arraycolsep"],[]),je.style.width=Tn(me),ye.push(je)));var $=[];for(a=0;a0){for(var $e=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(),Kn=cn.pos-Se;cn.isDashed?In.push({type:"elem",elem:xe,shift:Kn}):In.push({type:"elem",elem:$e,shift:Kn})}l=be.makeVList({positionType:"individualShift",children:In},t)}if(Un.length===0)return be.makeSpan(["mord"],[l],t);var Cn=be.makeVList({positionType:"individualShift",children:Un},t);return Cn=be.makeSpan(["tag"],[Cn],t),be.makeFragment([l,Cn])},pDn={c:"center ",l:"left ",r:"right "},N0=function(n,t){for(var a=[],r=new Xe.MathNode("mtd",[],["mtr-glue"]),o=new Xe.MathNode("mtd",[],["mml-eqn-num"]),i=0;i0){var _=n.cols,R="",D=!1,y=0,S=_.length;_[0].type==="separator"&&(v+="top ",y=1),_[_.length-1].type==="separator"&&(v+="bottom ",S-=1);for(var M=y;M0?"left ":"",v+=de[de.length-1].length>0?"right ":"";for(var ve=1;ve-1?"alignat":"align",o=n.envName==="split",i=Hd(n.parser,{cols:a,addJot:!0,autoTag:o?void 0:FW(n.envName),emptySingleRow:!0,colSeparationType:r,maxNumCols:o?2:void 0,leqno:n.parser.settings.leqno},"display"),u,l=0,c={type:"ordgroup",mode:n.mode,body:[]};if(t[0]&&t[0].type==="ordgroup"){for(var s="",f=0;f0&&m&&(D=1),a[_]={type:"align",align:R,pregap:D,postgap:0}}return i.colSeparationType=m?"align":"alignat",i};L0({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,n){var t=l5(n[0]),a=t?[n[0]]:pa(n[0],"ordgroup").body,r=a.map(function(i){var u=hW(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 Hd(e.parser,o,MW(e.envName))},htmlBuilder:j0,mathmlBuilder:N0});L0({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=Hd(e.parser,a,MW(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:j0,mathmlBuilder:N0});L0({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var n={arraystretch:.5},t=Hd(e.parser,n,"script");return t.colSeparationType="small",t},htmlBuilder:j0,mathmlBuilder:N0});L0({type:"array",names:["subarray"],props:{numArgs:1},handler(e,n){var t=l5(n[0]),a=t?[n[0]]:pa(n[0],"ordgroup").body,r=a.map(function(i){var u=hW(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=Hd(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:j0,mathmlBuilder:N0});L0({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=Hd(e.parser,n,MW(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:j0,mathmlBuilder:N0});L0({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:zTe,htmlBuilder:j0,mathmlBuilder:N0});L0({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){Ct.contains(["gather","gather*"],e.envName)&&m5(e);var n={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:FW(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return Hd(e.parser,n,"display")},htmlBuilder:j0,mathmlBuilder:N0});L0({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:zTe,htmlBuilder:j0,mathmlBuilder:N0});L0({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){m5(e);var n={autoTag:FW(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return Hd(e.parser,n,"display")},htmlBuilder:j0,mathmlBuilder:N0});L0({type:"array",names:["CD"],props:{numArgs:0},handler(e){return m5(e),eDn(e.parser)},htmlBuilder:j0,mathmlBuilder:N0});j("\\nonumber","\\gdef\\@eqnsw{0}");j("\\notag","\\nonumber");Wn({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,n){throw new tn(e.funcName+" valid only within array environment")}});var $Te=JTe;Wn({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,n){var{parser:t,funcName:a}=e,r=n[0];if(r.type!=="ordgroup")throw new tn("Invalid environment name",r);for(var o="",i=0;i{var t=e.font,a=n.withFont(t);return Ba(e.body,a)},QTe=(e,n)=>{var t=e.font,a=n.withFont(t);return Er(e.body,a)},YTe={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Wn({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=i5(n[0]),o=a;return o in YTe&&(o=YTe[o]),{type:"font",mode:t.mode,font:o.slice(1),body:r}},htmlBuilder:VTe,mathmlBuilder:QTe});Wn({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:s5(a),body:[{type:"font",mode:t.mode,font:"boldsymbol",body:a}],isCharacterBox:r}}});Wn({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,n)=>{var{parser:t,funcName:a,breakOnTokenText:r}=e,{mode:o}=t,i=t.parseExpression(!0,r),u="math"+a.slice(1);return{type:"font",mode:o,font:u,body:{type:"ordgroup",mode:t.mode,body:i}}},htmlBuilder:VTe,mathmlBuilder:QTe});var XTe=(e,n)=>{var t=n;return e==="display"?t=t.id>=Lt.SCRIPT.id?t.text():Lt.DISPLAY:e==="text"&&t.size===Lt.DISPLAY.size?t=Lt.TEXT:e==="script"?t=Lt.SCRIPT:e==="scriptscript"&&(t=Lt.SCRIPTSCRIPT),t},GW=(e,n)=>{var t=XTe(e.size,n.style),a=t.fracNum(),r=t.fracDen(),o;o=n.havingStyle(a);var i=Ba(e.numer,o,n);if(e.continued){var u=8.5/n.fontMetrics().ptPerEm,l=3.5/n.fontMetrics().ptPerEm;i.height=i.height0?_=3*v:_=7*v,R=n.fontMetrics().denom1):(f>0?(m=n.fontMetrics().num2,_=v):(m=n.fontMetrics().num3,_=3*v),R=n.fontMetrics().denom2);var D;if(s){var S=n.fontMetrics().axisHeight;m-i.depth-(S+.5*f)<_&&(m+=_-(m-i.depth-(S+.5*f))),S-.5*f-(c.height-R)<_&&(R+=_-(S-.5*f-(c.height-R)));var M=-(S-.5*f);D=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 y=m-i.depth-(c.height-R);y<_&&(m+=.5*(_-y),R+=.5*(_-y)),D=be.makeVList({positionType:"individualShift",children:[{type:"elem",elem:c,shift:R},{type:"elem",elem:i,shift:-m}]},n)}o=n.havingStyle(t),D.height*=o.sizeMultiplier/n.sizeMultiplier,D.depth*=o.sizeMultiplier/n.sizeMultiplier;var P;t.size===Lt.DISPLAY.size?P=n.fontMetrics().delim1:t.size===Lt.SCRIPTSCRIPT.size?P=n.havingStyle(Lt.SCRIPT).fontMetrics().delim2:P=n.fontMetrics().delim2;var k,N;return e.leftDelim==null?k=hT(n,["mopen"]):k=_p.customSizedDelim(e.leftDelim,P,!0,n.havingStyle(t),e.mode,["mopen"]),e.continued?N=be.makeSpan([]):e.rightDelim==null?N=hT(n,["mclose"]):N=_p.customSizedDelim(e.rightDelim,P,!0,n.havingStyle(t),e.mode,["mclose"]),be.makeSpan(["mord"].concat(o.sizingClasses(n)),[k,be.makeSpan(["mfrac"],[D]),N],n)},AW=(e,n)=>{var t=new Xe.MathNode("mfrac",[Er(e.numer,n),Er(e.denom,n)]);if(!e.hasBarLine)t.setAttribute("linethickness","0px");else if(e.barSize){var a=bo(e.barSize,n);t.setAttribute("linethickness",Tn(a))}var r=XTe(e.size,n.style);if(r.size!==n.style.size){t=new Xe.MathNode("mstyle",[t]);var o=r.size===Lt.DISPLAY.size?"true":"false";t.setAttribute("displaystyle",o),t.setAttribute("scriptlevel","0")}if(e.leftDelim!=null||e.rightDelim!=null){var i=[];if(e.leftDelim!=null){var u=new Xe.MathNode("mo",[new Xe.TextNode(e.leftDelim.replace("\\",""))]);u.setAttribute("fence","true"),i.push(u)}if(i.push(t),e.rightDelim!=null){var l=new Xe.MathNode("mo",[new Xe.TextNode(e.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),i.push(l)}return _W(i)}return t};Wn({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,n)=>{var{parser:t,funcName:a}=e,r=n[0],o=n[1],i,u=null,l=null,c="auto";switch(a){case"\\dfrac":case"\\frac":case"\\tfrac":i=!0;break;case"\\\\atopfrac":i=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":i=!1,u="(",l=")";break;case"\\\\bracefrac":i=!1,u="\\{",l="\\}";break;case"\\\\brackfrac":i=!1,u="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}switch(a){case"\\dfrac":case"\\dbinom":c="display";break;case"\\tfrac":case"\\tbinom":c="text";break}return{type:"genfrac",mode:t.mode,continued:!1,numer:r,denom:o,hasBarLine:i,leftDelim:u,rightDelim:l,size:c,barSize:null}},htmlBuilder:GW,mathmlBuilder:AW});Wn({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,n)=>{var{parser:t,funcName:a}=e,r=n[0],o=n[1];return{type:"genfrac",mode:t.mode,continued:!0,numer:r,denom:o,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}});Wn({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var{parser:n,funcName:t,token:a}=e,r;switch(t){case"\\over":r="\\frac";break;case"\\choose":r="\\binom";break;case"\\atop":r="\\\\atopfrac";break;case"\\brace":r="\\\\bracefrac";break;case"\\brack":r="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:n.mode,replaceWith:r,token:a}}});var ZTe=["display","text","script","scriptscript"],KTe=function(n){var t=null;return n.length>0&&(t=n,t=t==="."?null:t),t};Wn({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,n){var{parser:t}=e,a=n[4],r=n[5],o=i5(n[0]),i=o.type==="atom"&&o.family==="open"?KTe(o.text):null,u=i5(n[1]),l=u.type==="atom"&&u.family==="close"?KTe(u.text):null,c=pa(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 _=pa(m.body[0],"textord");v=ZTe[Number(_.text)]}}else m=pa(m,"textord"),v=ZTe[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:GW,mathmlBuilder:AW});Wn({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,n){var{parser:t,funcName:a,token:r}=e;return{type:"infix",mode:t.mode,replaceWith:"\\\\abovefrac",size:pa(n[0],"size").value,token:r}}});Wn({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,n)=>{var{parser:t,funcName:a}=e,r=n[0],o=$hn(pa(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:GW,mathmlBuilder:AW});var eFe=(e,n)=>{var t=n.style,a,r;e.type==="supsub"?(a=e.sup?Ba(e.sup,n.havingStyle(t.sup()),n):Ba(e.sub,n.havingStyle(t.sub()),n),r=pa(e.base,"horizBrace")):r=pa(e,"horizBrace");var o=Ba(r.base,n.havingBaseStyle(Lt.DISPLAY)),i=pp.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)},_Dn=(e,n)=>{var t=pp.mathMLnode(e.label);return new Xe.MathNode(e.isOver?"mover":"munder",[Er(e.base,n),t])};Wn({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,n){var{parser:t,funcName:a}=e;return{type:"horizBrace",mode:t.mode,label:a,isOver:/^\\over/.test(a),base:n[0]}},htmlBuilder:eFe,mathmlBuilder:_Dn});Wn({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,n)=>{var{parser:t}=e,a=n[1],r=pa(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=Ud(e.body,n);return t instanceof Jc||(t=new Jc("mrow",[t])),t.setAttribute("href",e.href),t}});Wn({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,n)=>{var{parser:t}=e,a=pa(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=pa(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)=>Ud(e.body,n)});Wn({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,n)=>{var{parser:t}=e;return{type:"htmlmathml",mode:t.mode,html:Ko(n[0]),mathml:Ko(n[1])}},htmlBuilder:(e,n)=>{var t=Bi(e.html,n,!1);return be.makeFragment(t)},mathmlBuilder:(e,n)=>Ud(e.mathml,n)});var xW=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(!tTe(a))throw new tn("Invalid unit: '"+a.unit+"' in \\includegraphics.");return a};Wn({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,n,t)=>{var{parser:a}=e,r={number:0,unit:"em"},o={number:.9,unit:"em"},i={number:0,unit:"em"},u="";if(t[0])for(var l=pa(t[0],"raw").string,c=l.split(","),s=0;s{var t=bo(e.height,n),a=0;e.totalheight.number>0&&(a=bo(e.totalheight,n)-t);var r=0;e.width.number>0&&(r=bo(e.width,n));var o={height:Tn(t+a)};r>0&&(o.width=Tn(r)),a>0&&(o.verticalAlign=Tn(-a));var i=new iTe(e.src,e.alt,o);return i.height=t,i.depth=a,i},mathmlBuilder:(e,n)=>{var t=new Xe.MathNode("mglyph",[]);t.setAttribute("alt",e.alt);var a=bo(e.height,n),r=0;if(e.totalheight.number>0&&(r=bo(e.totalheight,n)-a,t.setAttribute("valign",Tn(-r))),t.setAttribute("height",Tn(a+r)),e.width.number>0){var o=bo(e.width,n);t.setAttribute("width",Tn(o))}return t.setAttribute("src",e.src),t}});Wn({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,n){var{parser:t,funcName:a}=e,r=pa(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=bo(e.dimension,n);return new Xe.SpaceNode(t)}});Wn({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,n)=>{var{parser:t,funcName:a}=e,r=n[0];return{type:"lap",mode:t.mode,alignment:a.slice(5),body:r}},htmlBuilder:(e,n)=>{var t;e.alignment==="clap"?(t=be.makeSpan([],[Ba(e.body,n)]),t=be.makeSpan(["inner"],[t],n)):t=be.makeSpan(["inner"],[Ba(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 Xe.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}});Wn({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,n){var{funcName:t,parser:a}=e,r=a.mode;a.switchMode("math");var o=t==="\\("?"\\)":"$",i=a.parseExpression(!1,o);return a.expect(o),a.switchMode(r),{type:"styling",mode:a.mode,style:"text",body:i}}});Wn({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,n){throw new tn("Mismatched "+e.funcName)}});var nFe=(e,n)=>{switch(n.style.size){case Lt.DISPLAY.size:return e.display;case Lt.TEXT.size:return e.text;case Lt.SCRIPT.size:return e.script;case Lt.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};Wn({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,n)=>{var{parser:t}=e;return{type:"mathchoice",mode:t.mode,display:Ko(n[0]),text:Ko(n[1]),script:Ko(n[2]),scriptscript:Ko(n[3])}},htmlBuilder:(e,n)=>{var t=nFe(e,n),a=Bi(t,n,!1);return be.makeFragment(a)},mathmlBuilder:(e,n)=>{var t=nFe(e,n);return Ud(t,n)}});var tFe=(e,n,t,a,r,o,i)=>{e=be.makeSpan([],[e]);var u=t&&Ct.isCharacterBox(t),l,c;if(n){var s=Ba(n,a.havingStyle(r.sup()),a);c={elem:s,kern:Math.max(a.fontMetrics().bigOpSpacing1,a.fontMetrics().bigOpSpacing3-s.depth)}}if(t){var f=Ba(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 D=[v];if(l&&o!==0&&!u){var y=be.makeSpan(["mspace"],[],a);y.style.marginRight=Tn(o),D.unshift(y)}return be.makeSpan(["mop","op-limits"],D,a)},aFe=["\\smallint"],SR=(e,n)=>{var t,a,r=!1,o;e.type==="supsub"?(t=e.sup,a=e.sub,o=pa(e.base,"op"),r=!0):o=pa(e,"op");var i=n.style,u=!1;i.size===Lt.DISPLAY.size&&o.symbol&&!Ct.contains(aFe,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 Hc?(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 Jc("mo",[Ys(e.name,e.mode)]),Ct.contains(aFe,e.name)&&t.setAttribute("largeop","false");else if(e.body)t=new Jc("mo",Vl(e.body,n));else{t=new Jc("mi",[new wR(e.name.slice(1))]);var a=new Jc("mo",[Ys("\u2061","text")]);e.parentIsSupSub?t=new Jc("mrow",[t,a]):t=DTe([t,a])}return t},dDn={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};Wn({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220F","\u2210","\u2211","\u22C0","\u22C1","\u22C2","\u22C3","\u2A00","\u2A01","\u2A02","\u2A04","\u2A06"],props:{numArgs:0},handler:(e,n)=>{var{parser:t,funcName:a}=e,r=a;return r.length===1&&(r=dDn[r]),{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:SR,mathmlBuilder:yT});Wn({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,n)=>{var{parser:t}=e,a=n[0];return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Ko(a)}},htmlBuilder:SR,mathmlBuilder:yT});var hDn={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};Wn({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(e){var{parser:n,funcName:t}=e;return{type:"op",mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:t}},htmlBuilder:SR,mathmlBuilder:yT});Wn({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){var{parser:n,funcName:t}=e;return{type:"op",mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:t}},htmlBuilder:SR,mathmlBuilder:yT});Wn({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler(e){var{parser:n,funcName:t}=e,a=t;return a.length===1&&(a=hDn[a]),{type:"op",mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:a}},htmlBuilder:SR,mathmlBuilder:yT});var rFe=(e,n)=>{var t,a,r=!1,o;e.type==="supsub"?(t=e.sup,a=e.sub,o=pa(e.base,"operatorname"),r=!0):o=pa(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=Vl(e.body,n.withFont("mathrm")),a=!0,r=0;rs.toText()).join("");t=[new Xe.TextNode(u)]}var l=new Xe.MathNode("mi",t);l.setAttribute("mathvariant","normal");var c=new Xe.MathNode("mo",[Ys("\u2061","text")]);return e.parentIsSupSub?new Xe.MathNode("mrow",[l,c]):Xe.newDocumentFragment([l,c])};Wn({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,n)=>{var{parser:t,funcName:a}=e,r=n[0];return{type:"operatorname",mode:t.mode,body:Ko(r),alwaysHandleSupSub:a==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:rFe,mathmlBuilder:gDn});j("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");DD({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 Ud(e.body,n,!0)}});Wn({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,n){var{parser:t}=e,a=n[0];return{type:"overline",mode:t.mode,body:a}},htmlBuilder(e,n){var t=Ba(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 Xe.MathNode("mo",[new Xe.TextNode("\u203E")]);t.setAttribute("stretchy","true");var a=new Xe.MathNode("mover",[Er(e.body,n),t]);return a.setAttribute("accent","true"),a}});Wn({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,n)=>{var{parser:t}=e,a=n[0];return{type:"phantom",mode:t.mode,body:Ko(a)}},htmlBuilder:(e,n)=>{var t=Bi(e.body,n.withPhantom(),!1);return be.makeFragment(t)},mathmlBuilder:(e,n)=>{var t=Vl(e.body,n);return new Xe.MathNode("mphantom",t)}});Wn({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,n)=>{var{parser:t}=e,a=n[0];return{type:"hphantom",mode:t.mode,body:a}},htmlBuilder:(e,n)=>{var t=be.makeSpan([],[Ba(e.body,n.withPhantom())]);if(t.height=0,t.depth=0,t.children)for(var a=0;a{var t=Vl(Ko(e.body),n),a=new Xe.MathNode("mphantom",t),r=new Xe.MathNode("mpadded",[a]);return r.setAttribute("height","0px"),r.setAttribute("depth","0px"),r}});Wn({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,n)=>{var{parser:t}=e,a=n[0];return{type:"vphantom",mode:t.mode,body:a}},htmlBuilder:(e,n)=>{var t=be.makeSpan(["inner"],[Ba(e.body,n.withPhantom())]),a=be.makeSpan(["fix"],[]);return be.makeSpan(["mord","rlap"],[t,a],n)},mathmlBuilder:(e,n)=>{var t=Vl(Ko(e.body),n),a=new Xe.MathNode("mphantom",t),r=new Xe.MathNode("mpadded",[a]);return r.setAttribute("width","0px"),r}});Wn({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,n){var{parser:t}=e,a=pa(n[0],"size").value,r=n[1];return{type:"raisebox",mode:t.mode,dy:a,body:r}},htmlBuilder(e,n){var t=Ba(e.body,n),a=bo(e.dy,n);return be.makeVList({positionType:"shift",positionData:-a,children:[{type:"elem",elem:t}]},n)},mathmlBuilder(e,n){var t=new Xe.MathNode("mpadded",[Er(e.body,n)]),a=e.dy.number+e.dy.unit;return t.setAttribute("voffset",a),t}});Wn({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:n}=e;return{type:"internal",mode:n.mode}}});Wn({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler(e,n,t){var{parser:a}=e,r=t[0],o=pa(n[0],"size"),i=pa(n[1],"size");return{type:"rule",mode:a.mode,shift:r&&pa(r,"size").value,width:o.value,height:i.value}},htmlBuilder(e,n){var t=be.makeSpan(["mord","rule"],[],n),a=bo(e.width,n),r=bo(e.height,n),o=e.shift?bo(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=bo(e.width,n),a=bo(e.height,n),r=e.shift?bo(e.shift,n):0,o=n.color&&n.getColor()||"black",i=new Xe.MathNode("mspace");i.setAttribute("mathbackground",o),i.setAttribute("width",Tn(t)),i.setAttribute("height",Tn(a));var u=new Xe.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 oFe(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 oFe(e.body,t,n)};Wn({type:"sizing",names:iFe,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:iFe.indexOf(a)+1,body:o}},htmlBuilder:DDn,mathmlBuilder:(e,n)=>{var t=n.havingSize(e.size),a=Vl(e.body,t),r=new Xe.MathNode("mstyle",a);return r.setAttribute("mathsize",Tn(t.sizeMultiplier)),r}});Wn({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,n,t)=>{var{parser:a}=e,r=!1,o=!1,i=t[0]&&pa(t[0],"ordgroup");if(i)for(var u="",l=0;l{var t=be.makeSpan([],[Ba(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 Xe.MathNode("mpadded",[Er(e.body,n)]);return e.smashHeight&&t.setAttribute("height","0px"),e.smashDepth&&t.setAttribute("depth","0px"),t}});Wn({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,n,t){var{parser:a}=e,r=t[0],o=n[0];return{type:"sqrt",mode:a.mode,body:o,index:r}},htmlBuilder(e,n){var t=Ba(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(Lt.SCRIPTSCRIPT),R=Ba(e.index,_,n),D=.6*(m.height-m.depth),y=be.makeVList({positionType:"shift",positionData:-D,children:[{type:"elem",elem:R}]},n),S=be.makeSpan(["root"],[y]);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 Xe.MathNode("mroot",[Er(t,n),Er(a,n)]):new Xe.MathNode("msqrt",[Er(t,n)])}});var uFe={display:Lt.DISPLAY,text:Lt.TEXT,script:Lt.SCRIPT,scriptscript:Lt.SCRIPTSCRIPT};Wn({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,n){var{breakOnTokenText:t,funcName:a,parser:r}=e,o=r.parseExpression(!0,t),i=a.slice(1,a.length-5);return{type:"styling",mode:r.mode,style:i,body:o}},htmlBuilder(e,n){var t=uFe[e.style],a=n.havingStyle(t).withFont("");return oFe(e.body,a,n)},mathmlBuilder(e,n){var t=uFe[e.style],a=n.havingStyle(t),r=Vl(e.body,a),o=new Xe.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 yDn=function(n,t){var a=n.base;if(a)if(a.type==="op"){var r=a.limits&&(t.style.size===Lt.DISPLAY.size||a.alwaysHandleSupSub);return r?SR:null}else if(a.type==="operatorname"){var o=a.alwaysHandleSupSub&&(t.style.size===Lt.DISPLAY.size||a.limits);return o?rFe:null}else{if(a.type==="accent")return Ct.isCharacterBox(a.base)?gW:null;if(a.type==="horizBrace"){var i=!n.sub;return i===a.isOver?eFe:null}else return null}else return null};DD({type:"supsub",htmlBuilder(e,n){var t=yDn(e,n);if(t)return t(e,n);var{base:a,sup:r,sub:o}=e,i=Ba(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=Ba(r,m,n),v||(s=i.height-m.fontMetrics().supDrop*m.sizeMultiplier/n.sizeMultiplier)}if(o){var _=n.havingStyle(n.style.sub());l=Ba(o,_,n),v||(f=i.depth+_.fontMetrics().subDrop*_.sizeMultiplier/n.sizeMultiplier)}var R;n.style===Lt.DISPLAY?R=c.sup1:n.style.cramped?R=c.sup3:R=c.sup2;var D=n.sizeMultiplier,y=Tn(.5/c.ptPerEm/D),S=null;if(l){var M=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(i instanceof Hc||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:y,marginLeft:S},{type:"elem",elem:u,shift:-s,marginRight:y}];P=be.makeVList({positionType:"individualShift",children:de},n)}else if(l){f=Math.max(f,c.sub1,l.height-.8*c.xHeight);var ve=[{type:"elem",elem:l,marginLeft:S,marginRight:y}];P=be.makeVList({positionType:"shift",positionData:f,children:ve},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:y}]},n);else throw new Error("supsub must have either sup or sub.");var ge=mW(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===Lt.DISPLAY||c&&c.type==="operatorname"&&c.alwaysHandleSupSub&&(n.style===Lt.DISPLAY||c.limits)?i="munderover":i="msubsup"}else{var l=e.base;l&&l.type==="op"&&l.limits&&(n.style===Lt.DISPLAY||l.alwaysHandleSupSub)||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(l.limits||n.style===Lt.DISPLAY)?i="munder":i="msub"}else{var u=e.base;u&&u.type==="op"&&u.limits&&(n.style===Lt.DISPLAY||u.alwaysHandleSupSub)||u&&u.type==="operatorname"&&u.alwaysHandleSupSub&&(u.limits||n.style===Lt.DISPLAY)?i="mover":i="msup"}return new Xe.MathNode(i,o)}});DD({type:"atom",htmlBuilder(e,n){return be.mathsym(e.text,e.mode,n,["m"+e.family])},mathmlBuilder(e,n){var t=new Xe.MathNode("mo",[Ys(e.text,e.mode)]);if(e.family==="bin"){var a=dW(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 lFe={mi:"italic",mn:"normal",mtext:"normal"};DD({type:"mathord",htmlBuilder(e,n){return be.makeOrd(e,n,"mathord")},mathmlBuilder(e,n){var t=new Xe.MathNode("mi",[Ys(e.text,e.mode,n)]),a=dW(e,n)||"italic";return a!==lFe[t.type]&&t.setAttribute("mathvariant",a),t}});DD({type:"textord",htmlBuilder(e,n){return be.makeOrd(e,n,"textord")},mathmlBuilder(e,n){var t=Ys(e.text,e.mode,n),a=dW(e,n)||"normal",r;return e.mode==="text"?r=new Xe.MathNode("mtext",[t]):/[0-9]/.test(e.text)?r=new Xe.MathNode("mn",[t]):e.text==="\\prime"?r=new Xe.MathNode("mo",[t]):r=new Xe.MathNode("mi",[t]),a!==lFe[r.type]&&r.setAttribute("mathvariant",a),r}});var LW={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},jW={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};DD({type:"spacing",htmlBuilder(e,n){if(jW.hasOwnProperty(e.text)){var t=jW[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(LW.hasOwnProperty(e.text))return be.makeSpan(["mspace",LW[e.text]],[],n);throw new tn('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,n){var t;if(jW.hasOwnProperty(e.text))t=new Xe.MathNode("mtext",[new Xe.TextNode("\xA0")]);else{if(LW.hasOwnProperty(e.text))return new Xe.MathNode("mspace");throw new tn('Unknown type of space "'+e.text+'"')}return t}});var cFe=()=>{var e=new Xe.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};DD({type:"tag",mathmlBuilder(e,n){var t=new Xe.MathNode("mtable",[new Xe.MathNode("mtr",[cFe(),new Xe.MathNode("mtd",[Ud(e.body,n)]),cFe(),new Xe.MathNode("mtd",[Ud(e.tag,n)])])]);return t.setAttribute("width","100%"),t}});var sFe={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},fFe={"\\textbf":"textbf","\\textmd":"textmd"},bDn={"\\textit":"textit","\\textup":"textup"},vFe=(e,n)=>{var t=e.font;return t?sFe[t]?n.withTextFontFamily(sFe[t]):fFe[t]?n.withTextFontWeight(fFe[t]):n.withTextFontShape(bDn[t]):n};Wn({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=vFe(e,n),a=Bi(e.body,t,!0);return be.makeSpan(["mord","text"],a,t)},mathmlBuilder(e,n){var t=vFe(e,n);return Ud(e.body,t)}});Wn({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,n){var{parser:t}=e;return{type:"underline",mode:t.mode,body:n[0]}},htmlBuilder(e,n){var t=Ba(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 Xe.MathNode("mo",[new Xe.TextNode("\u203E")]);t.setAttribute("stretchy","true");var a=new Xe.MathNode("munder",[Er(e.body,n),t]);return a.setAttribute("accentunder","true"),a}});Wn({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,n){var{parser:t}=e;return{type:"vcenter",mode:t.mode,body:n[0]}},htmlBuilder(e,n){var t=Ba(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 Xe.MathNode("mpadded",[Er(e.body,n)],["vcenter"])}});Wn({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,n,t){throw new tn("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,n){for(var t=mFe(e),a=[],r=n.havingStyle(n.style.text()),o=0;oe.body.replace(/ /g,e.star?"\u2423":"\xA0"),Bd=dTe,pFe=`[ \r ]`,RDn="\\\\[a-zA-Z@]+",wDn="\\\\[^\uD800-\uDFFF]",SDn="("+RDn+")"+pFe+"*",EDn=`\\\\( |[ \r ]+ ?)[ \r ]*`,NW="[\u0300-\u036F]",CDn=new RegExp(NW+"+$"),IDn="("+pFe+"+)|"+(EDn+"|")+"([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(NW+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(NW+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+SDn)+("|"+wDn+")"),PW=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(IDn,"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 Uc("EOF",new zl(this,t,t));var a=this.tokenRegex.exec(n);if(a===null||a.index!==t)throw new tn("Unexpected character: '"+n[t]+"'",new Uc(n[t],new zl(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 Uc(r,new zl(this,t,this.tokenRegex.lastIndex))}},_Fe=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}},TDn=WTe;j("\\noexpand",function(e){var n=e.popToken();return e.isExpandable(n.text)&&(n.noexpand=!0,n.treatAsRelax=!0),{tokens:[n],numArgs:0}});j("\\expandafter",function(e){var n=e.popToken();return e.expandOnce(!0),{tokens:[n],numArgs:0}});j("\\@firstoftwo",function(e){var n=e.consumeArgs(2);return{tokens:n[0],numArgs:0}});j("\\@secondoftwo",function(e){var n=e.consumeArgs(2);return{tokens:n[1],numArgs:0}});j("\\@ifnextchar",function(e){var n=e.consumeArgs(3);e.consumeSpaces();var t=e.future();return n[0].length===1&&n[0][0].text===t.text?{tokens:n[1],numArgs:0}:{tokens:n[2],numArgs:0}});j("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");j("\\TextOrMath",function(e){var n=e.consumeArgs(2);return e.mode==="text"?{tokens:n[0],numArgs:0}:{tokens:n[1],numArgs:0}});var dFe={"0":0,"1":1,"2":2,"3":3,"4":4,"5":5,"6":6,"7":7,"8":8,"9":9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};j("\\char",function(e){var n=e.popToken(),t,a="";if(n.text==="'")t=8,n=e.popToken();else if(n.text==='"')t=16,n=e.popToken();else if(n.text==="`")if(n=e.popToken(),n.text[0]==="\\")a=n.text.charCodeAt(1);else{if(n.text==="EOF")throw new tn("\\char` missing argument");a=n.text.charCodeAt(0)}else t=10;if(t){if(a=dFe[n.text],a==null||a>=t)throw new tn("Invalid base-"+t+" digit "+n.text);for(var r;(r=dFe[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}),""};j("\\newcommand",e=>OW(e,!1,!0));j("\\renewcommand",e=>OW(e,!0,!1));j("\\providecommand",e=>OW(e,!0,!0));j("\\message",e=>{var n=e.consumeArgs(1)[0];return console.log(n.reverse().map(t=>t.text).join("")),""});j("\\errmessage",e=>{var n=e.consumeArgs(1)[0];return console.error(n.reverse().map(t=>t.text).join("")),""});j("\\show",e=>{var n=e.popToken(),t=n.text;return console.log(n,e.macros.get(t),Bd[t],xr.math[t],xr.text[t]),""});j("\\bgroup","{");j("\\egroup","}");j("~","\\nobreakspace");j("\\lq","`");j("\\rq","'");j("\\aa","\\r a");j("\\AA","\\r A");j("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}");j("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");j("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}");j("\u212C","\\mathscr{B}");j("\u2130","\\mathscr{E}");j("\u2131","\\mathscr{F}");j("\u210B","\\mathscr{H}");j("\u2110","\\mathscr{I}");j("\u2112","\\mathscr{L}");j("\u2133","\\mathscr{M}");j("\u211B","\\mathscr{R}");j("\u212D","\\mathfrak{C}");j("\u210C","\\mathfrak{H}");j("\u2128","\\mathfrak{Z}");j("\\Bbbk","\\Bbb{k}");j("\xB7","\\cdotp");j("\\llap","\\mathllap{\\textrm{#1}}");j("\\rlap","\\mathrlap{\\textrm{#1}}");j("\\clap","\\mathclap{\\textrm{#1}}");j("\\mathstrut","\\vphantom{(}");j("\\underbar","\\underline{\\text{#1}}");j("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');j("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}");j("\\ne","\\neq");j("\u2260","\\neq");j("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}");j("\u2209","\\notin");j("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}");j("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}");j("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}");j("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}");j("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}");j("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}");j("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}");j("\u27C2","\\perp");j("\u203C","\\mathclose{!\\mkern-0.8mu!}");j("\u220C","\\notni");j("\u231C","\\ulcorner");j("\u231D","\\urcorner");j("\u231E","\\llcorner");j("\u231F","\\lrcorner");j("\xA9","\\copyright");j("\xAE","\\textregistered");j("\uFE0F","\\textregistered");j("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');j("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');j("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');j("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');j("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}");j("\u22EE","\\vdots");j("\\varGamma","\\mathit{\\Gamma}");j("\\varDelta","\\mathit{\\Delta}");j("\\varTheta","\\mathit{\\Theta}");j("\\varLambda","\\mathit{\\Lambda}");j("\\varXi","\\mathit{\\Xi}");j("\\varPi","\\mathit{\\Pi}");j("\\varSigma","\\mathit{\\Sigma}");j("\\varUpsilon","\\mathit{\\Upsilon}");j("\\varPhi","\\mathit{\\Phi}");j("\\varPsi","\\mathit{\\Psi}");j("\\varOmega","\\mathit{\\Omega}");j("\\substack","\\begin{subarray}{c}#1\\end{subarray}");j("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");j("\\boxed","\\fbox{$\\displaystyle{#1}$}");j("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");j("\\implies","\\DOTSB\\;\\Longrightarrow\\;");j("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var hFe={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};j("\\dots",function(e){var n="\\dotso",t=e.expandAfterFuture().text;return t in hFe?n=hFe[t]:(t.slice(0,4)==="\\not"||t in xr.math&&Ct.contains(["bin","rel"],xr.math[t].group))&&(n="\\dotsb"),n});var kW={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};j("\\dotso",function(e){var n=e.future().text;return n in kW?"\\ldots\\,":"\\ldots"});j("\\dotsc",function(e){var n=e.future().text;return n in kW&&n!==","?"\\ldots\\,":"\\ldots"});j("\\cdots",function(e){var n=e.future().text;return n in kW?"\\@cdots\\,":"\\@cdots"});j("\\dotsb","\\cdots");j("\\dotsm","\\cdots");j("\\dotsi","\\!\\cdots");j("\\dotsx","\\ldots\\,");j("\\DOTSI","\\relax");j("\\DOTSB","\\relax");j("\\DOTSX","\\relax");j("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");j("\\,","\\tmspace+{3mu}{.1667em}");j("\\thinspace","\\,");j("\\>","\\mskip{4mu}");j("\\:","\\tmspace+{4mu}{.2222em}");j("\\medspace","\\:");j("\\;","\\tmspace+{5mu}{.2777em}");j("\\thickspace","\\;");j("\\!","\\tmspace-{3mu}{.1667em}");j("\\negthinspace","\\!");j("\\negmedspace","\\tmspace-{4mu}{.2222em}");j("\\negthickspace","\\tmspace-{5mu}{.277em}");j("\\enspace","\\kern.5em ");j("\\enskip","\\hskip.5em\\relax");j("\\quad","\\hskip1em\\relax");j("\\qquad","\\hskip2em\\relax");j("\\tag","\\@ifstar\\tag@literal\\tag@paren");j("\\tag@paren","\\tag@literal{({#1})}");j("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new tn("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});j("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");j("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");j("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");j("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");j("\\newline","\\\\\\relax");j("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var gFe=Tn(G0["Main-Regular"]["T".charCodeAt(0)][1]-.7*G0["Main-Regular"]["A".charCodeAt(0)][1]);j("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+gFe+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");j("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+gFe+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");j("\\hspace","\\@ifstar\\@hspacer\\@hspace");j("\\@hspace","\\hskip #1\\relax");j("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");j("\\ordinarycolon",":");j("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");j("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');j("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');j("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');j("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');j("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');j("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');j("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');j("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');j("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');j("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');j("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');j("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');j("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');j("\u2237","\\dblcolon");j("\u2239","\\eqcolon");j("\u2254","\\coloneqq");j("\u2255","\\eqqcolon");j("\u2A74","\\Coloneqq");j("\\ratio","\\vcentcolon");j("\\coloncolon","\\dblcolon");j("\\colonequals","\\coloneqq");j("\\coloncolonequals","\\Coloneqq");j("\\equalscolon","\\eqqcolon");j("\\equalscoloncolon","\\Eqqcolon");j("\\colonminus","\\coloneq");j("\\coloncolonminus","\\Coloneq");j("\\minuscolon","\\eqcolon");j("\\minuscoloncolon","\\Eqcolon");j("\\coloncolonapprox","\\Colonapprox");j("\\coloncolonsim","\\Colonsim");j("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");j("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");j("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");j("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");j("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}");j("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");j("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");j("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");j("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");j("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");j("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");j("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");j("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");j("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}");j("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}");j("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}");j("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}");j("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}");j("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}");j("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}");j("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}");j("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}");j("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}");j("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}");j("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}");j("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}");j("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}");j("\\imath","\\html@mathml{\\@imath}{\u0131}");j("\\jmath","\\html@mathml{\\@jmath}{\u0237}");j("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}");j("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}");j("\u27E6","\\llbracket");j("\u27E7","\\rrbracket");j("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}");j("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}");j("\u2983","\\lBrace");j("\u2984","\\rBrace");j("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`\u29B5}}");j("\u29B5","\\minuso");j("\\darr","\\downarrow");j("\\dArr","\\Downarrow");j("\\Darr","\\Downarrow");j("\\lang","\\langle");j("\\rang","\\rangle");j("\\uarr","\\uparrow");j("\\uArr","\\Uparrow");j("\\Uarr","\\Uparrow");j("\\N","\\mathbb{N}");j("\\R","\\mathbb{R}");j("\\Z","\\mathbb{Z}");j("\\alef","\\aleph");j("\\alefsym","\\aleph");j("\\Alpha","\\mathrm{A}");j("\\Beta","\\mathrm{B}");j("\\bull","\\bullet");j("\\Chi","\\mathrm{X}");j("\\clubs","\\clubsuit");j("\\cnums","\\mathbb{C}");j("\\Complex","\\mathbb{C}");j("\\Dagger","\\ddagger");j("\\diamonds","\\diamondsuit");j("\\empty","\\emptyset");j("\\Epsilon","\\mathrm{E}");j("\\Eta","\\mathrm{H}");j("\\exist","\\exists");j("\\harr","\\leftrightarrow");j("\\hArr","\\Leftrightarrow");j("\\Harr","\\Leftrightarrow");j("\\hearts","\\heartsuit");j("\\image","\\Im");j("\\infin","\\infty");j("\\Iota","\\mathrm{I}");j("\\isin","\\in");j("\\Kappa","\\mathrm{K}");j("\\larr","\\leftarrow");j("\\lArr","\\Leftarrow");j("\\Larr","\\Leftarrow");j("\\lrarr","\\leftrightarrow");j("\\lrArr","\\Leftrightarrow");j("\\Lrarr","\\Leftrightarrow");j("\\Mu","\\mathrm{M}");j("\\natnums","\\mathbb{N}");j("\\Nu","\\mathrm{N}");j("\\Omicron","\\mathrm{O}");j("\\plusmn","\\pm");j("\\rarr","\\rightarrow");j("\\rArr","\\Rightarrow");j("\\Rarr","\\Rightarrow");j("\\real","\\Re");j("\\reals","\\mathbb{R}");j("\\Reals","\\mathbb{R}");j("\\Rho","\\mathrm{P}");j("\\sdot","\\cdot");j("\\sect","\\S");j("\\spades","\\spadesuit");j("\\sub","\\subset");j("\\sube","\\subseteq");j("\\supe","\\supseteq");j("\\Tau","\\mathrm{T}");j("\\thetasym","\\vartheta");j("\\weierp","\\wp");j("\\Zeta","\\mathrm{Z}");j("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");j("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");j("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");j("\\bra","\\mathinner{\\langle{#1}|}");j("\\ket","\\mathinner{|{#1}\\rangle}");j("\\braket","\\mathinner{\\langle{#1}\\rangle}");j("\\Bra","\\left\\langle#1\\right|");j("\\Ket","\\left|#1\\right\\rangle");var DFe=e=>n=>{var t=n.consumeArg().tokens,a=n.consumeArg().tokens,r=n.consumeArg().tokens,o=n.consumeArg().tokens,i=n.macros.get("|"),u=n.macros.get("\\|");n.macros.beginGroup();var l=f=>v=>{e&&(v.macros.set("|",i),r.length&&v.macros.set("\\|",u));var m=f;if(!f&&r.length){var _=v.future();_.text==="|"&&(v.popToken(),m=!0)}return{tokens:m?r:a,numArgs:0}};n.macros.set("|",l(!1)),r.length&&n.macros.set("\\|",l(!0));var c=n.consumeArg().tokens,s=n.expandTokens([...o,...c,...t]);return n.macros.endGroup(),{tokens:s.reverse(),numArgs:0}};j("\\bra@ket",DFe(!1));j("\\bra@set",DFe(!0));j("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");j("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");j("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");j("\\angln","{\\angl n}");j("\\blue","\\textcolor{##6495ed}{#1}");j("\\orange","\\textcolor{##ffa500}{#1}");j("\\pink","\\textcolor{##ff00af}{#1}");j("\\red","\\textcolor{##df0030}{#1}");j("\\green","\\textcolor{##28ae7b}{#1}");j("\\gray","\\textcolor{gray}{#1}");j("\\purple","\\textcolor{##9d38bd}{#1}");j("\\blueA","\\textcolor{##ccfaff}{#1}");j("\\blueB","\\textcolor{##80f6ff}{#1}");j("\\blueC","\\textcolor{##63d9ea}{#1}");j("\\blueD","\\textcolor{##11accd}{#1}");j("\\blueE","\\textcolor{##0c7f99}{#1}");j("\\tealA","\\textcolor{##94fff5}{#1}");j("\\tealB","\\textcolor{##26edd5}{#1}");j("\\tealC","\\textcolor{##01d1c1}{#1}");j("\\tealD","\\textcolor{##01a995}{#1}");j("\\tealE","\\textcolor{##208170}{#1}");j("\\greenA","\\textcolor{##b6ffb0}{#1}");j("\\greenB","\\textcolor{##8af281}{#1}");j("\\greenC","\\textcolor{##74cf70}{#1}");j("\\greenD","\\textcolor{##1fab54}{#1}");j("\\greenE","\\textcolor{##0d923f}{#1}");j("\\goldA","\\textcolor{##ffd0a9}{#1}");j("\\goldB","\\textcolor{##ffbb71}{#1}");j("\\goldC","\\textcolor{##ff9c39}{#1}");j("\\goldD","\\textcolor{##e07d10}{#1}");j("\\goldE","\\textcolor{##a75a05}{#1}");j("\\redA","\\textcolor{##fca9a9}{#1}");j("\\redB","\\textcolor{##ff8482}{#1}");j("\\redC","\\textcolor{##f9685d}{#1}");j("\\redD","\\textcolor{##e84d39}{#1}");j("\\redE","\\textcolor{##bc2612}{#1}");j("\\maroonA","\\textcolor{##ffbde0}{#1}");j("\\maroonB","\\textcolor{##ff92c6}{#1}");j("\\maroonC","\\textcolor{##ed5fa6}{#1}");j("\\maroonD","\\textcolor{##ca337c}{#1}");j("\\maroonE","\\textcolor{##9e034e}{#1}");j("\\purpleA","\\textcolor{##ddd7ff}{#1}");j("\\purpleB","\\textcolor{##c6b9fc}{#1}");j("\\purpleC","\\textcolor{##aa87ff}{#1}");j("\\purpleD","\\textcolor{##7854ab}{#1}");j("\\purpleE","\\textcolor{##543b78}{#1}");j("\\mintA","\\textcolor{##f5f9e8}{#1}");j("\\mintB","\\textcolor{##edf2df}{#1}");j("\\mintC","\\textcolor{##e0e5cc}{#1}");j("\\grayA","\\textcolor{##f6f7f7}{#1}");j("\\grayB","\\textcolor{##f0f1f2}{#1}");j("\\grayC","\\textcolor{##e3e5e6}{#1}");j("\\grayD","\\textcolor{##d6d8da}{#1}");j("\\grayE","\\textcolor{##babec2}{#1}");j("\\grayF","\\textcolor{##888d93}{#1}");j("\\grayG","\\textcolor{##626569}{#1}");j("\\grayH","\\textcolor{##3b3e40}{#1}");j("\\grayI","\\textcolor{##21242c}{#1}");j("\\kaBlue","\\textcolor{##314453}{#1}");j("\\kaGreen","\\textcolor{##71B307}{#1}");var yFe={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},bFe=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 _Fe(TDn,t.macros),this.mode=a,this.stack=[]}feed(n){this.lexer=new PW(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 Uc("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 Uc(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 PW(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)||Bd.hasOwnProperty(n)||xr.math.hasOwnProperty(n)||xr.text.hasOwnProperty(n)||yFe.hasOwnProperty(n)}isExpandable(n){var t=this.macros.get(n);return t!=null?typeof t=="string"||typeof t=="function"||!t.unexpandable:Bd.hasOwnProperty(n)&&!Bd[n].primitive}},RFe=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,p5=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"}),UW={"\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"}},wFe={\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"},bT=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 bFe(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 Uc("}")),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(bT.endOfExpression.indexOf(r.text)!==-1||t&&r.text===t||n&&Bd[r.text]&&Bd[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=xr[this.mode][t].group,l=zl.range(n),c;if(Dgn.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&&(XIe(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:zl.range(n),text:t};else return null;if(this.consume(),o)for(var f=0;f":""))+")"})}return v;function v(){let m=IFe,_,R,D;if((!n||o(l,c,s[s.length-1]||void 0))&&(m=PDn(t(l,s)),m[0]===WW))return m;if("children"in l&&l.children){let y=l;if(y.children&&m[0]!==h5)for(R=(a?y.children.length:-1)+i,D=s.concat(y);R>-1&&R0&&!t&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),t}var QDn={tokenize:t1n,partial:!0};function YW(){return{document:{[91]:{tokenize:KDn,continuation:{tokenize:e1n},exit:n1n}},text:{[91]:{tokenize:ZDn},[93]:{add:"after",tokenize:YDn,resolveTo:XDn}}}}function YDn(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=Hu(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 XDn(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 ZDn(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(Hu(a.sliceSerialize(m)))?f(v):t(v)):t(v):(e.consume(v),Va(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 KDn(e,n,t){let a=this,r=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]),o,i=0,u;return l;function l(R){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(R),e.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(R){return R===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(R),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),s):t(R)}function s(R){let D;return R===null||R===91||i>999?t(R):R===93?u?(D=e.exit("gfmFootnoteDefinitionLabelString"),o=Hu(a.sliceSerialize(D)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(R),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),m):t(R):Nn(R)?(e.enter("lineEnding"),e.consume(R),e.exit("lineEnding"),i++,s):(e.enter("chunkString").contentType="string",f(R))}function f(R){return R===null||Nn(R)||R===91||R===93||i>999?(e.exit("chunkString"),s(R)):(Va(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 e1n(e,n,t){return e.check(F0,n,e.attempt(QDn,n,t))}function n1n(e){e.exit("gfmFootnoteDefinition")}function t1n(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 XW(e={}){let n=e.singleTilde,t={tokenize:r,resolveAll:a};return n==null&&(n=!0),{text:{[126]:t},insideSpan:{null:[t]},attentionMarkers:{null:[126]}};function a(o,i){let u=-1;for(;++u1?u(m):(o.consume(m),s++,v);if(s<2&&!n)return u(m);let R=o.exit("strikethroughSequenceTemporary"),D=vR(m);return R._open=!D||D===2&&Boolean(_),R._close=!_||_===2&&Boolean(D),i(m)}}}var ZW={flow:{null:{tokenize:r1n,resolve:a1n}}},OFe={tokenize:o1n,partial:!0};function a1n(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 o1n(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||Va(i)?n(i):t(i)}}var i1n={tokenize:u1n},KW={text:{[91]:i1n}};function u1n(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 Va(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:l1n},n,t)):t(u)}}function l1n(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"||Nn(o))&&o!==null?n(o):t(o)}}function kFe(e){return n7([zW,YW(),XW(e),ZW,KW])}function eq(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 nq(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var c1n={}.hasOwnProperty,tq=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=sT(r.ignore||[]),u=s1n(o),l=-1;for(;++l0?{type:"text",value:Q}:void 0),Q!==!1&&(D!==P&&M.push({type:"text",value:f.value.slice(D,P)}),Array.isArray(Q)?M.push(...Q):Q&&M.push(Q),D=P+k[0].length,S=!0),!_.global)break;k=_.exec(f.value)}return S?(De}var aq="phrasing",rq=["autolink","link","image","label"],oq={transforms:[d1n],enter:{literalAutolink:f1n,literalAutolinkEmail:uq,literalAutolinkHttp:uq,literalAutolinkWww:uq},exit:{literalAutolink:_1n,literalAutolinkEmail:p1n,literalAutolinkHttp:v1n,literalAutolinkWww:m1n}},iq={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:aq,notInConstruct:rq},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:aq,notInConstruct:rq},{character:":",before:"[ps]",after:"\\/",inConstruct:aq,notInConstruct:rq}]};function f1n(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function uq(e){this.config.enter.autolinkProtocol.call(this,e)}function v1n(e){this.config.exit.autolinkProtocol.call(this,e)}function m1n(e){this.config.exit.data.call(this,e);let n=this.stack[this.stack.length-1];n.url="http://"+this.sliceSerialize(e)}function p1n(e){this.config.exit.autolinkEmail.call(this,e)}function _1n(e){this.exit(e)}function d1n(e){tq(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,h1n],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,g1n]],{ignore:["link","linkReference"]})}function h1n(e,n,t,a,r){let o="";if(!BFe(r)||(/^w/i.test(n)&&(t=n+t,n="",o="http://"),!D1n(t)))return!1;let i=y1n(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 g1n(e,n,t,a){return!BFe(a,!0)||/[-\d_]$/.test(t)?!1:{type:"link",title:null,url:"mailto:"+n+"@"+t,children:[{type:"text",value:n+"@"+t}]}}function D1n(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 y1n(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=eq(e,"("),o=eq(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 BFe(e,n){let t=e.input.charCodeAt(e.index-1);return(e.index===0||sD(t)||fD(t))&&(!n||t!==47)}function lq(e){return e.label||!e.identifier?e.label||"":v7(e.identifier)}function JFe(e,n,t){let a=n.indexStack,r=e.children||[],o=n.createTracker(t),i=[],u=-1;for(a.push(-1);++u `}return` `}var R1n=/\r?\n|\r/g;function WFe(e,n){let t=[],a=0,r=0,o;for(;o=R1n.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 D5(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 qFe(e,n){return zFe(e,n.inConstruct,!0)&&!zFe(e,n.notInConstruct,!1)}function zFe(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(WFe(JFe(e,t,r.current()),L1n)),i(),o}function L1n(e,n,t){return n===0?e:(t?"":" ")+e}function y5(e,n,t){let a=n.indexStack,r=e.children||[],o=[],i=-1,u=t.before;a.push(-1);let l=n.createTracker(t);for(;++i0&&(u==="\r"||u===` `)&&c.type==="html"&&(o[o.length-1]=o[o.length-1].replace(/(\r?\n|\r)$/," "),u=" ",l=n.createTracker(t),l.move(o.join(""))),o.push(l.move(n.handle(c,e,n,ni(xa({},l.current()),{before:u,after:s})))),u=o[o.length-1].slice(-1)}return a.pop(),o.join("")}var j1n=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];QFe.peek=O1n;var vq={canContainEols:["delete"],enter:{strikethrough:N1n},exit:{strikethrough:P1n}},mq={unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:j1n}],handlers:{delete:QFe}};function N1n(e){this.enter({type:"delete",children:[]},e)}function P1n(e){this.exit(e)}function QFe(e,n,t,a){let r=bD(a),o=t.enter("strikethrough"),i=r.move("~~");return i+=y5(e,t,ni(xa({},r.current()),{before:i,after:"~"})),i+=r.move("~~"),o(),i}function O1n(){return"~"}pq.peek=k1n;function pq(e,n,t){let a=e.value||"",r="`",o=-1;for(;new RegExp("(^|[^`])"+r+"([^`]|$)").test(a);)r+="`";for(/[^ \r\n]/.test(a)&&(/^[ \r\n]/.test(a)&&/[ \r\n]$/.test(a)||/^`|`$/.test(a))&&(a=" "+a+" ");++ol&&(l=e[c].length);++Du[D])&&(u[D]=S)}_.push(y)}o[c]=_,i[c]=R}let s=-1;if(typeof t=="object"&&"length"in t)for(;++su[s]&&(u[s]=y),v[s]=y),f[s]=S}o.splice(1,0,f),i.splice(1,0,v),c=-1;let m=[];for(;++ct==="none"?null:t),children:[]},e),this.setData("inTable",!0)}function J1n(e){this.exit(e),this.setData("inTable")}function W1n(e){this.enter({type:"tableRow",children:[]},e)}function dq(e){this.exit(e)}function ZFe(e){this.enter({type:"tableCell",children:[]},e)}function q1n(e){let n=this.resume();this.getData("inTable")&&(n=n.replace(/\\([\\|])/g,z1n));let t=this.stack[this.stack.length-1];t.value=n,this.exit(e)}function z1n(e,n){return n==="|"?n:e}function hq(e){let n=e||{},t=n.tableCellPadding,a=n.tablePipeAlign,r=n.stringLength,o=t?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:` `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:i,tableRow:u,tableCell:l,inlineCode:v}};function i(m,_,R,D){return c(s(m,R,D),m.align)}function u(m,_,R,D){let y=f(m,R,D),S=c([y]);return S.slice(0,S.indexOf(` `))}function l(m,_,R,D){let y=R.enter("tableCell"),S=R.enter("phrasing"),M=y5(m,R,ni(xa({},D),{before:o,after:o}));return S(),y(),M}function c(m,_){return YFe(m,{align:_,alignDelimiters:a,padding:t,stringLength:r})}function s(m,_,R){let D=m.children,y=-1,S=[],M=_.enter("table");for(;++y-1?n.start:1)+(t.options.incrementListMarker===!1?0:n.children.indexOf(e))+o);let i=o.length+1;(r==="tab"||r==="mixed"&&(n&&n.type==="list"&&n.spread||e.spread))&&(i=Math.ceil(i/4)*4);let u=t.createTracker(a);u.move(o+" ".repeat(i-o.length)),u.shift(i);let l=t.enter("listItem"),c=t.indentLines(t.containerFlow(e,u.current()),s);return l(),c;function s(f,v,m){return v?(m?"":" ".repeat(i))+f:(m?o:o+" ".repeat(i-o.length))+f}}var gq={exit:{taskListCheckValueChecked:tMe,taskListCheckValueUnchecked:tMe,paragraph:$1n}},Dq={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:V1n}};function tMe(e){let n=this.stack[this.stack.length-2];n.checked=e.type==="taskListCheckValueChecked"}function $1n(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 Rq(){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];CR(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];CR(s.type==="math"),this.exit(l),s.value=c;let f=s.data.hChildren[0];CR(f.type==="element"),CR(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];CR(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 wq(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(aMe(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,xa({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 RT(e,n,t,a){let r=a?a-1:Number.POSITIVE_INFINITY,o=0;return i;function i(l){return Sq(l)?(e.enter(t),u(l)):n(l)}function u(l){return Sq(l)&&o++React.createElement("table",{className:"table table-bordered table-sm",children:e.children}),lMe=[R5,{singleDollarTextMath:!1}],cMe=[g5,{throwOnError:!1}];var sMe=e=>{try{return P7(e)}catch{return e.fallback}};$t();var fMe=class extends Et.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)}},vMe=fMe;var eyn=cs(),nyn=q(Kt);var tyn=function(){return function(){return eyn(vMe)}},ayn=tyn()(),mMe=function(e){return ayn({render:function(n){return e({hasError:Dt(K(n.error))})},componentDidCatch:function(n,t){return Mo($o)("Error within error boundary")({error:n,componentStack:t.componentStack})(function(a){return nyn(Ce)})()}})};var ryn=cs(),oyn=Qe(la),iyn=function(e){return function(n){var t=bS(e);return mMe(function(a){return a.hasError?t:ryn(sMe)({children:e,rehypePlugins:oyn([cMe])(n),remarkPlugins:[b5,lMe],components:{table:uMe},fallback:t})})}},pMe=function(e){return iyn(e)([])};var uyn=fe(At(fa)),Cq=H(te),lyn=H(J),cyn=Gn(te)()(),syn=xn(dt),fyn=nn(te),Iq=function(e){return lo(z4(e.key)("false"))(function(n){return function(t){return En(uyn(n)(new d("false")))(Cq("alert rounded-0 bg-light")(lyn("row")([Cq("col")(e.label),Cq("col-auto")(cyn("btn btn-sm p-0")({onClick:syn(t)("true")})(fyn("fe fe-x")(un)))])))}})};var Tq=H(te),_Me=Oa(lr(ta)),vyn=ba(Oe)(vt),myn=H(x),pyn=R0(),dMe=fe(At(BB)),_yn=Gn(te)()(),dyn=ia(sr),hyn=q(Kt),hMe=nn(x),w5=H(J),gyn=L(he),Dyn=V0(),yyn=vi(te)()(),byn=aa(x)()(),gMe=Qf(),Ryn=lt(J)()(),wyn=X(he),Syn=lt(x)()(),Fq=function(e){var n=e.chatMessage(te),t=e.chatMessage(J),a=n(e.chatbotAvatar),r=function(){var c=function(){var s=Tq("my-auto t--ai-chatbot-ai-welcome-message");return function(f){return a(s(f))}}();return function(s){if(_Me(zo)(e.bannedReason))return c(Y(vyn(["The service is not available for the following reason: ",e.bannedReason,". Please try again later or email ",SP," for more information."])));if(s instanceof I)return un;if(s instanceof d)return c(s.value0);throw new Error("Failed pattern match at Vinai.ChatbotPage.Conversation (line 169, column 26 - line 176, column 38): "+[s.constructor.name])}}(),o=a(Tq("my-auto")(zx)),i=function(c){return a(myn("my-auto text-danger")(function(){if(c instanceof I)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 184, column 11 - line 186, column 34): "+[c.constructor.name])}()))},u=pyn({source:function(){return e.user instanceof d&&e.user.value0.avatarUrl instanceof d?new gu({url:e.user.value0.avatarUrl.value0}):e.user instanceof d&&e.user.value0.initials instanceof d?new Ug({initials:e.user.value0.initials.value0,backgroundColorClass:I.value,textColorClass:I.value}):new gu({url:lg("/img/smiley-grey.svg")})}(),size:Ab.value}),l=function(c){var s=function(m){return function(_){return m instanceof _v&&dMe(_)(new d(m))||m instanceof qs&&dMe(_)(new d(m))?"text-primary bg-soft-primary":"text-gray-700"}},f=function(m){return function(_){return function(R){return function(D){return _yn("btn btn-link p-2 large d-flex align-items-center mr-2 "+s(m)(_))({onClick:dyn(function(){if(c.id instanceof I)return hyn(Ce);if(c.id instanceof d&&m instanceof _v&&_ instanceof d&&_.value0 instanceof _v)return function(){return R(I.value)(),D({messageId:c.id.value0,reaction:I.value})()};if(c.id instanceof d&&m instanceof qs&&_ instanceof d&&_.value0 instanceof qs)return function(){return R(I.value)(),D({messageId:c.id.value0,reaction:I.value})()};if(c.id instanceof d&&m instanceof _v)return function(){return R(new d(_v.value))(),D({messageId:c.id.value0,reaction:new d(_v.value)})()};if(c.id instanceof d&&m instanceof qs)return function(){return R(new d(qs.value))(),D({messageId:c.id.value0,reaction:new d(qs.value)})()};throw new Error("Failed pattern match at Vinai.ChatbotPage.Conversation (line 142, column 17 - line 156, column 76): "+[c.id.constructor.name,m.constructor.name,_.constructor.name])}())})(hMe("material-symbol")(function(){if(m instanceof _v)return"thumb_up";if(m instanceof qs)return"thumb_down";throw new Error("Failed pattern match at Vinai.ChatbotPage.Conversation (line 159, column 15 - line 161, column 43): "+[m.constructor.name])}()))}}}};if(c.sender instanceof lD)return n(u)(w5("t--ai-chatbot-user-message")(uh(fne(""))(gyn(hMe(""))(Si(Dyn(` `))(c.body)))));if(c.sender instanceof nT){var v=yyn({placement:Y0e,overlay:Y(EDe(c))})(e.chatbotAvatar);return t(v)([Tq("my-auto t--ai-chatbot-ai-message "+("t--ai-chatbot-ai-message-"+Ee("")(c.id)))(pMe(c.body)),Je(e.onReaction)(function(m){return lo(ca(I.value))(function(_){return function(R){return w5("d-flex mt-3")([f(_v.value)(_)(R)(m),f(qs.value)(_)(R)(m)])}})})])}throw new Error("Failed pattern match at Vinai.ChatbotPage.Conversation (line 111, column 7 - line 135, column 36): "+[c.sender.constructor.name])};return w5("flex-grow-1 d-flex flex-column overflow-y-auto p-0")([En(e.showAddStudentProfileBanner)(Iq({key:"ai-no-profile-banner-dismissed",label:ue([Y("For more personalized responses "),byn("")({href:e.chancingWizardPath})("add a student profile"),Y(".")])})),En(e.showLogInBanner)(Iq({key:"ai-anonymous-banner-dismissed",label:ue([Y("For more personalized responses "),gMe({text:"log in",className:"btn btn-link p-0 align-baseline"}),Y(" or "),gMe({text:"sign up",className:"btn btn-link p-0 align-baseline",auth0ActiveTab:Vf}),Y(".")])})),Ryn("flex-grow-1 d-flex flex-column")({id:"chat-conversation"})([w5("flex-grow-1 px-3")([r(e.welcomeMessage),function(){return e.chatbotState instanceof d&&_Me(bi)(e.chatbotState.value0.messages)?ue(wyn(e.chatbotState.value0.messages)(l)):un}(),function(){if(e.messageSendingState instanceof rp)return o;if(e.messageSendingState instanceof kc)return l(YB(e.messageSendingState.value0));if(e.messageSendingState instanceof ap)return un;if(e.messageSendingState instanceof hv)return un;if(e.messageSendingState instanceof T0)return i(e.messageSendingState.value0);throw new Error("Failed pattern match at Vinai.ChatbotPage.Conversation (line 92, column 9 - line 103, column 45): "+[e.messageSendingState.constructor.name])}()]),va(e.footer),Syn("")({id:"chat-anchor",style:Sn({overflowAnchor:"auto",height:"1px"})})("")])])};function S5(e){return function(){document.getElementById(e).scrollIntoView()}}var Mq=function(e){return ke(hv.value)(function(n){return n.sendingState})(e)};var Lyn=L(B),jyn=UB(),Nyn=Oa(lr(ta)),Pyn=H(J),Gq=H(te),Oyn=lt(J)()(),E5=q(_t),kyn=Z(Wt),DMe=Ii(Vt),Uyn=_r(DMe),yMe=Tr(DMe),bMe=Bn(Mn)(Wt),Hyn=ko(_t),Byn=Vr(nt),Jyn=q(ea),Wyn=Z(Ot),RMe=Jn(nt),qyn=L(Vt),wT=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),wMe=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}(),C5=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),zyn=function(e){return function(n){return function(t){return Fq({bannedReason:e.bannedReason,chancingWizardPath:"",chatbotState:n.chatbot,footer:I.value,messageSendingState:Mq(n.chatbot),onReaction:I.value,showAddStudentProfileBanner:!1,showLogInBanner:!1,user:e.user,welcomeMessage:Lyn(Y)(e.welcomeMessage),chatMessage:function(a){return t(a)},chatbotAvatar:e.chatbotAvatar})}}},$yn=function(e){return function(n){return function(t){return jyn({placeholder:"Message\u2026",sendButtonStatus:function(){var a=Nyn(zo)(e.bannedReason);if(a)return uD.value;var r=Mq(n.chatbot);if(r instanceof hv)return Fd.value;if(r instanceof ap)return Md.value;if(r instanceof rp)return Md.value;if(r instanceof kc)return Md.value;var o=function(i){if(r instanceof T0&&Le)return uD.value;throw new Error("Failed pattern match at Vinai.ChatbotWidget (line 148, column 1 - line 148, column 72): "+[r.constructor.name])};return r instanceof T0&&r.value0 instanceof I?Fd.value:o(!0)}()})(n.authorChatMessage)(function(a){return t(C5.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=H(o);return function(u){return function(l){return Pyn("d-flex justify-content-end mb-4")([Gq("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 Oyn("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"})})([zyn(e)(n)(function(o){return r(o)}),Gq("pb-3 px-3 border-0")(Gq("d-flex w-100 border border-gray-500 m-0 p-2 bg-white shadow pointer-events-auto "+a)($yn(e)(n)(t)))])}}},Qyn=function(e){return function(n){return function(t){var a=function(r){if(t instanceof wT)return E5(n);if(t instanceof wMe)return kyn(Uyn(wT.create)(ZB({initialMessageBody:new d(t.value1),messages:[{sender:lD.value,body:t.value1,sentAt:t.value0,id:I.value}],receiveChannelName:t.value2.pusherChannel,sendMessage:e.sendMessage(t.value2.conversationId)})))(function(o){return E5({authorChatMessage:n.authorChatMessage,chatbot:new d(o)})});if(t instanceof C5&&t.value0 instanceof tt)return yMe(C5.create)(function(o){return{chatbot:n.chatbot,authorChatMessage:o}})(kB(n.authorChatMessage)(t.value0));if(t instanceof C5&&t.value0 instanceof Qt)return bMe(Hyn(zo(e.bannedReason))(Byn(function(){if(n.chatbot instanceof d)return Jyn(new wT(new Kx(t.value0.value0.value0)));if(n.chatbot instanceof I)return Wyn(RMe(Jh))(function(o){return qyn(wMe.create(o)(t.value0.value0.value0))(e.createConversation(Ce))});throw new Error("Failed pattern match at Vinai.ChatbotWidget (line 94, column 9 - line 98, column 79): "+[n.chatbot.constructor.name])}())))(function(){return E5({chatbot:n.chatbot,authorChatMessage:Vx})});throw new Error("Failed pattern match at Vinai.ChatbotWidget (line 58, column 1 - line 58, column 64): "+[t.constructor.name])};return t instanceof wT&&n.chatbot instanceof d?bMe(cr(RMe(S5("chat-anchor"))))(function(){return yMe(wT.create)(function(r){return{authorChatMessage:n.authorChatMessage,chatbot:new d(r)}})(XB(n.chatbot.value0)(t.value0))}):a(!0)}}},Yyn=function(){return{authorChatMessage:Vx,chatbot:I.value}}(),SMe=function(e){return Yu("FloatingChatbot"+e)(function(n){return{init:E5(Yyn),view:Vyn(n),update:Qyn(n)}})};var Aq=Z(Ae),Xyn=q(kn),EMe=X(B),Zyn=Bn(Mn),Kyn=ko(Kt),ebn=Jn(rs),nbn=hi(B),CMe=pt(Ae),tbn=H(J),IMe=H(te),xq=on(),I5=q(_t),TMe=Ii(Vt),Lq=Tr(TMe),abn=Zyn(Wt),rbn=Vr(nt),obn=q(ea),FMe=Z(Wt),jq=_r(TMe),ibn=Av(_t)(Oe),ubn=fe(At(oc)),Nq=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),T5=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),IR=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Pq=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Wd=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Oq=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),F5=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),kq=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),MMe=function(e){return function(n){return function(t){return function(a){var r=Aq(n.recommendedSchools)(function(y){return Xyn(Hx({recommendedSchools:y,school:e.school,onViewSchool:e.onViewSchool}))}),o=a(new Qt(new kq(vP.value))),i=a(new Qt(new Wd(new L_(oa(e.school))))),u=function(y){return a(new Qt(new Wd(new M_(oa(e.school),y))))},l=function(){a(new Qt(new Wd(new A_(oa(e.school)))))();var S=EMe(Aq(vo(e.schoolDb.schoolConnections))(Ds(oa(e.school))))(function(M){return M.schoolUsesAiRecruiter});return Kyn(n.featureFlags.app18667TrellisRecruiter&&Ee(!1)(S))(ebn(NG(fEe(oa(e.school)))))(),Ce},c={school:e.school,schoolDb:e.schoolDb,onSwitchTab:function(y){return a(Qt.create(F5.create(y)))},onViewSchool:e.onViewSchool,onEdit:e.onEdit,featureFlags:n.featureFlags,recommendedSchools:n.recommendedSchools,onInviteSchool:o,onAcceptInvitation:l,onIgnoreInvitation:i,vineBelowConnectionLimit:n.vineBelowConnectionLimit,showConnectButton:n.showNetworkCard},s=function(){return n.showNetworkCard?nbn(n.currentUser)(Ux(c)({user:CMe(sg)(n.currentUser),featureFlags:n.featureFlags})):I.value}(),f=function(y){var S=CMe(Cu(n.configuration))(MI([s,r]));return tbn("row")([IMe("col"+function(){var M=Dt(S);return M?" col-md-8":""}())(y),Je(S)(IMe("col col-md-4 d-none d-md-block"))])},v=function(){var y=jG({chancingState:n.chancingState,featureFlags:n.featureFlags,currentUser:n.currentUser,configuration:n.configuration,school:e.school,schoolDb:e.schoolDb})(e.activeTab);return y?e.activeTab:Qo.value}(),m=Mwe({school:e.school,schoolDb:e.schoolDb,activeTab:v,configuration:n.configuration,showNav:!0,showConnectButton:n.showNetworkCard,onSwitchTab:function(y){return a(Qt.create(F5.create(y)))},onListStatusChange:function(y){return a(Qt.create(Pq.create(y)))},onSelectSchool:function(y){return a(Qt.create(Oq.create(y)))},onInviteSchool:o,onAcceptInvitation:l,onIgnoreInvitation:i,onEdit:e.onEdit,vineBelowConnectionLimit:n.vineBelowConnectionLimit})(n),_=EMe(Aq(n.currentUser)(sg))(function(y){return{avatarUrl:y.avatarUrl,initials:y.initials}}),R="Hi! I'm Sage. Ask me anything about "+I1e(xq(e.school).name),D=function(){if(v instanceof Qo)return nEe(c)(n)(t.overview)(function(S){return a(tt.create(IR.create(S)))});if(v instanceof Fu)return Je(Vh(oa(e.school))(e.schoolDb))(function(S){return f(dwe({school:e.school,schoolDb:e.schoolDb,contentModules:S,mapboxAccessToken:n.mapboxAccessToken,showLikeButton:Dt(n.currentUser),randomSeed:n.randomSeed,onContentModuleInteraction:u,isUserHq:ke(!1)(function(M){return M.isHq})(n.currentUser)})(t.forYou)(function(M){return a(tt.create(T5.create(M)))}))});if(v instanceof Mu){var y=vo(x1(oa(e.school))(e.schoolDb));return f(eRe(e.school)(n)(y)(t.finances)(function(S){return a(tt.create(Nq.create(S)))}))}if(v instanceof Qi)return Mbe(e.school)(n)({onSwitchTab:I.value,showViewChancingExplanationCTA:!1,schoolDb:e.schoolDb});if(v instanceof Nl)return f(Pwe(e.schoolDb)(e.school));if(v instanceof Pl)return f(cye({school:e.school,onEdit:e.onEdit,props:n}));if(v instanceof Ol)return Gbe(e.school)(n);throw new Error("Failed pattern match at SchoolDetails.SchoolDetails (line 174, column 12 - line 210, column 44): "+[v.constructor.name])}();return ue([m,D,zh(n.showNetworkCard)(function(y){return oRe({mobileLayout:n.mobileLayout,school:e.school,schoolDb:e.schoolDb,onAcceptInvitation:l,onIgnoreInvitation:i})}),En(n.featureFlags.app18667SageOnSdp)(SMe(xq(e.school).name)({bannedReason:"",welcomeMessage:new d(R),user:_,createConversation:function(y){return sEe(xq(e.school).id)},sendMessage:cEe(vEe),chatbotAvatar:Lb}))])}}}},GMe=function(e){return function(n){return function(t){if(t instanceof Qt)return I5(n);if(t instanceof tt){if(t.value0 instanceof Nq)return Lq(function(a){return tt.create(Nq.create(a))})(function(a){return{forYou:n.forYou,overview:n.overview,finances:a}})(Zbe(n.finances)(t.value0.value0));if(t.value0 instanceof T5)return Lq(function(a){return tt.create(T5.create(a))})(function(a){return{finances:n.finances,overview:n.overview,forYou:a}})(hwe(n.forYou)(t.value0.value0));if(t.value0 instanceof IR&&t.value0.value0 instanceof iD&&t.value0.value0.value0 instanceof Qt)return abn(rbn(obn(new Qt(new Wd(t.value0.value0.value0.value0)))))(function(){return I5(n)});if(t.value0 instanceof IR)return Lq(function(a){return tt.create(IR.create(a))})(function(a){return{finances:n.finances,forYou:n.forYou,overview:a}})(KSe(e)(n.overview)(t.value0.value0));throw new Error("Failed pattern match at SchoolDetails.SchoolDetails (line 100, column 44 - line 112, column 62): "+[t.value0.constructor.name])}throw new Error("Failed pattern match at SchoolDetails.SchoolDetails (line 98, column 1 - line 98, column 75): "+[e.constructor.name,n.constructor.name,t.constructor.name])}}},AMe=function(e){return FMe(jq(function(n){return tt.create(IR.create(n))})(eEe(e)))(function(n){return FMe(jq(function(t){return tt.create(T5.create(t))})(gwe))(function(t){return I5({finances:Kbe,forYou:t,overview:n})})})},xMe=function(e){return ibn(function(n){return n instanceof oN&&ubn(ele(n.value0))(new d(oa(e.school)))?jq(function(t){return tt.create(IR.create(iD.create(t)))})(ySe(n.value0)):I5(Ce)})};var lbn=BS(rs)(),cbn=ae(Ci),LMe=function(e){var n=Jn(e);return function(t){return n(lbn("SDP: Viewed page")({tab:bE(t.tab),school_name:t.school.name,school_id:cbn(t.school.id)}))}};var jMe=Z(Wt),NMe=Ii(Vt),Uq=_r(NMe),PMe=Bn(Mn),ST=PMe(Wt),OMe=LMe(nt),M5=on(),gp=q(_t),sbn=Uj(),G5=X(B),Hq=Tr(NMe),fbn=PMe(Ot),vbn=Jn(nt),kMe=Z(qa),UMe=Vr(nt),HMe=q(ea),mbn=Z(Ae),BMe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Bq=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Xs=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),TR=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),JMe=function(e){return function(n){return function(t){return function(a){return ue([MMe({activeTab:t.activeTab,school:t.school,schoolDb:t.schoolDb,onEdit:e.onEdit,onViewSchool:I.value,vineBelowConnectionLimit:n.vineBelowConnectionLimit})(n)(t.page)(function(r){return a(Xs.create(r))}),Je(t.modal)(function(r){return wme(r.value0)(function(o){return a(TR.create(o))})})])}}}},WMe=function(e){return function(n){return jMe(Uq(Xs.create)(AMe(e.school)))(function(t){return ST(cr(OMe({tab:e.tab,school:M5(e.school),featureFlags:n.featureFlags})))(function(){return gp({school:e.school,activeTab:e.tab,schoolDb:sbn({schools:new nr(new d([e.school])),majors:e.majors,chances:ke(Ra.value)(qt.create)(G5(e.chances)(ZM(oa(e.school)))),contentModules:ke([])(function(a){return[{schoolId:oa(e.school),modules:a}]})(e.contentModules),financials:ke(Ra.value)(qt.create)(G5(e.financials)(ZM(oa(e.school)))),schoolConnections:Ee(wS)(G5(e.schoolConnection)(ZM(oa(e.school)))),schoolList:e.schoolList,schoolNotes:e.schoolNotes}),page:t,modal:I.value,vineBelowConnectionLimit:n.vineBelowConnectionLimit})})})}},pbn=function(e){return function(n){return Hq(Bq.create)(function(t){return{activeTab:e.activeTab,modal:e.modal,page:e.page,school:e.school,vineBelowConnectionLimit:e.vineBelowConnectionLimit,schoolDb:t}})(iN(n)(e.schoolDb))}},qMe=function(e){return function(n){var t=M5(n.school);return function(a){if(a instanceof Xs&&a.value0 instanceof Qt&&a.value0.value0 instanceof Wd)return pbn(n)(a.value0.value0.value0);if(a instanceof Xs&&a.value0 instanceof Qt&&a.value0.value0 instanceof F5)return ST(cr(fbn(OMe({tab:a.value0.value0.value0,school:M5(n.school),featureFlags:e.featureFlags}))(function(){return vbn(kMe(kMe(fo)(yS))(XM(io(lc))(t.name+" | CollegeVine")(c0(a.value0.value0.value0)(t.slug))))})))(function(){return gp({modal:n.modal,page:n.page,school:n.school,schoolDb:n.schoolDb,vineBelowConnectionLimit:n.vineBelowConnectionLimit,activeTab:a.value0.value0.value0})});if(a instanceof Xs&&a.value0 instanceof Qt&&a.value0.value0 instanceof Pq)return ST(UMe(function(){var o=new F_(t.id,a.value0.value0.value0,JS.value,f9(t.id)(n.schoolDb));return HMe(new Xs(new Qt(new Wd(o))))}()))(function(){return gp(n)});if(a instanceof Xs&&a.value0 instanceof Qt&&a.value0.value0 instanceof Oq)return gp(n);if(a instanceof Xs&&a.value0 instanceof Qt&&a.value0.value0 instanceof kq)return gp({activeTab:n.activeTab,page:n.page,school:n.school,schoolDb:n.schoolDb,vineBelowConnectionLimit:n.vineBelowConnectionLimit,modal:G5(mbn(e.currentUser)(sg))(function(o){return new BMe(Eme({schoolName:function(i){return i.name}(M5(n.school)),profile:o,context:a.value0.value0.value0,vineBelowConnectionLimit:n.vineBelowConnectionLimit}))})});if(a instanceof Xs&&a.value0 instanceof tt)return Hq(Xs.create)(function(o){return{activeTab:n.activeTab,modal:n.modal,school:n.school,schoolDb:n.schoolDb,vineBelowConnectionLimit:n.vineBelowConnectionLimit,page:o}})(GMe(n)(n.page)(a.value0));if(a instanceof Bq)return jMe(Uq(Bq.create)(Cle(n.schoolDb)(a.value0)))(function(o){return ST(Uq(Xs.create)(xMe(n)(o.events)))(function(){return gp({activeTab:n.activeTab,modal:n.modal,page:n.page,vineBelowConnectionLimit:n.vineBelowConnectionLimit,school:Ee(n.school)(t2(t.id)(o.state)),schoolDb:o.state})})});if(a instanceof TR&&a.value0 instanceof Qt&&a.value0.value0 instanceof wP)return ST(UMe(HMe(new Xs(new Qt(new Wd(new x_({schoolId:t.id,introMessage:a.value0.value0.value0.introMessage})))))))(function(){return gp(n)});if(a instanceof TR&&a.value0 instanceof Qt&&a.value0.value0 instanceof nC)return gp({activeTab:n.activeTab,page:n.page,school:n.school,schoolDb:n.schoolDb,vineBelowConnectionLimit:n.vineBelowConnectionLimit,modal:I.value});var r=function(o){if(a instanceof TR&&a.value0 instanceof tt&&Le)return gp(n);throw new Error("Failed pattern match at SchoolDetails.SchoolDetailsPage (line 84, column 1 - line 84, column 64): "+[a.constructor.name])};return a instanceof TR&&a.value0 instanceof tt&&n.modal instanceof d?Hq(TR.create)(function(o){return{activeTab:n.activeTab,page:n.page,school:n.school,schoolDb:n.schoolDb,vineBelowConnectionLimit:n.vineBelowConnectionLimit,modal:new d(new BMe(o))}})(Sme(n.modal.value0.value0)(new tt(a.value0.value0))):r(!0)}}};var A5=function(e){return function(){console.error(e)}};var ZMe=function(e){var n=Jn(e);return function(t){return n(A5(t))}};var ybn=q(Kt),KMe=Z(qa),bbn=L(it),Rbn=ZMe(rs),e2e=function(e){var n=function(a){var r=e(a);return O8(r.view(r.init.value0)(an(ybn(Ce))))},t=function(a){return function(r){return function(o){return function(){var u=KMe(KMe(fo)(function(){var c=bbn(YM);return function(s){return c(fm(s))}}()))(VM(r))();if(u instanceof I)return Rbn("Element #"+(r+" not found"))();if(u instanceof d){var l=bZ(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(iZ),renderToString:n,hydrate:t(uZ)}};var wbn=ut(YF),Sbn=Z(rf),n2e=q(_t),t2e=function(e){var n=tm(e);return function(t){return e2e(wbn({parse:function(a){return Sbn(n(a))(function(r){return ke(new rn("Component construction failed"))(ln.create)(t.def(r))})},diagnosticName:"Props for "+t.diagnosticName,default:{init:n2e(Ce),update:function(a){return function(r){return n2e(Ce)}},view:function(a){return function(r){return un}}}}))}};var Zt=Qn(),Jq=E({reflectSymbol:function(){return"all"}}),So=jn(ie),ei=jn(Rt),a2e=Zt(E({reflectSymbol:function(){return"academicThresholdStatus"}})(ie)(E({reflectSymbol:function(){return"applicationStrategy"}})(ie)(E({reflectSymbol:function(){return"classification"}})(So)(E({reflectSymbol:function(){return"courseRigorStrength"}})(So)(E({reflectSymbol:function(){return"ecStrength"}})(So)(E({reflectSymbol:function(){return"isRecommendedStrategy"}})(zn)(E({reflectSymbol:function(){return"score"}})(ei)(E({reflectSymbol:function(){return"shouldApplyTestOptional"}})(zn)(E({reflectSymbol:function(){return"specialCase"}})(So)(_e)))))))))),Wq=E({reflectSymbol:function(){return"act"}}),qq=E({reflectSymbol:function(){return"p25"}}),r2e=E({reflectSymbol:function(){return"p50"}}),zq=E({reflectSymbol:function(){return"p75"}}),FR=Zt(qq(ei)(r2e(ei)(zq(ei)(_e)))),$q=E({reflectSymbol:function(){return"gpa"}}),O0=jn(Ft),o2e=Zt(qq(O0)(r2e(O0)(zq(O0)(_e)))),Vq=E({reflectSymbol:function(){return"sat"}}),i2e=E({reflectSymbol:function(){return"english"}}),u2e=E({reflectSymbol:function(){return"math"}}),l2e=u2e(ei),c2e=E({reflectSymbol:function(){return"id"}}),x5=E({reflectSymbol:function(){return"name"}})(ie),s2e=E({reflectSymbol:function(){return"readingWriting"}}),f2e=E({reflectSymbol:function(){return"majors"}}),v2e=x5(_e),m2e=E({reflectSymbol:function(){return"acceptanceRate"}}),p2e=c2e(os),_2e=E({reflectSymbol:function(){return"slug"}})(Lw),d2e=E({reflectSymbol:function(){return"status"}})(ie)(_e),h2e=E({reflectSymbol:function(){return"address"}}),g2e=E({reflectSymbol:function(){return"location"}})(Zt(E({reflectSymbol:function(){return"lat"}})(Ft)(E({reflectSymbol:function(){return"lng"}})(Ft)(_e)))),D2e=E({reflectSymbol:function(){return"admissions"}}),y2e=E({reflectSymbol:function(){return"percentile"}})(Ft),b2e=E({reflectSymbol:function(){return"value"}}),ET=jn(Zt(y2e(b2e(Ft)(_e)))),CT=jn(Zt(qq(Rt)(zq(Rt)(_e)))),Qq=jn(Zt(E({reflectSymbol:function(){return"men"}})(Rt)(E({reflectSymbol:function(){return"women"}})(Rt)(_e)))),R2e=Zt(y2e(b2e(Rt)(_e))),w2e=jn(R2e),S2e=Zt(E({reflectSymbol:function(){return"conference"}})(jn(Zt(E({reflectSymbol:function(){return"group"}})(ie)(v2e))))(E({reflectSymbol:function(){return"division1"}})(zn)(_e))),E2e=Jq(FR),C2e=u2e(FR),Ebn=function(){var e=function(n){var t=zie($f.value)(n),a=function(r){return function(o){return ue([JMe({onEdit:I.value})(t.value1)(r)(o),lo(ca(t.value0.showInvitationAcceptedCTA))(function(i){return function(u){return Je(i)(function(l){if(l instanceof hE)return poe({origin:c0(r.activeTab)(SL(r.school)),onDismiss:u(I.value),auth0Config:t.value0.auth0Config,mobileLayout:t.value1.mobileLayout,currentUser:t.value1.currentUser,school:r.school});if(l instanceof gE)return _oe({origin:t.value0.originUrl,onDismiss:u(I.value),auth0Config:t.value0.auth0Config,mobileLayout:t.value1.mobileLayout,currentUser:I.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:WMe(t.value0)(t.value1),update:qMe(t.value1),view:a})};return t2e(Zt(E({reflectSymbol:function(){return"auth0Config"}})(Zt(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"}})(jn(Zt(Jq(Vn(a2e))(E({reflectSymbol:function(){return"guidance"}})(jn(Pp))(E({reflectSymbol:function(){return"sameDemographicStats"}})(jn(Zt(Wq(FR)($q(o2e)(Vq(FR)(_e))))))(E({reflectSymbol:function(){return"top"}})(a2e)(_e)))))))(E({reflectSymbol:function(){return"chancingProfile"}})(jn(Zt(Wq(Zt(i2e(ei)(l2e(E({reflectSymbol:function(){return"reading"}})(ei)(E({reflectSymbol:function(){return"science"}})(ei)(_e))))))(E({reflectSymbol:function(){return"courseRigor"}})(Zt(E({reflectSymbol:function(){return"ap"}})(ei)(E({reflectSymbol:function(){return"collegeClasses"}})(ei)(E({reflectSymbol:function(){return"honors"}})(ei)(_e)))))(E({reflectSymbol:function(){return"ecActivities"}})(Vn(Zt(E({reflectSymbol:function(){return"canonical_ec_activity_id"}})(jn(aE))(E({reflectSymbol:function(){return"category"}})(ie)(E({reflectSymbol:function(){return"description"}})(So)(c2e(ei)(x5(E({reflectSymbol:function(){return"tier"}})(ie)(_e)))))))))(E({reflectSymbol:function(){return"ecScore"}})(O0)($q(O0)(E({reflectSymbol:function(){return"psatPredictedCompositeSAT"}})(ei)(Vq(Zt(l2e(s2e(ei)(_e))))(_e))))))))))(E({reflectSymbol:function(){return"contentModules"}})(jn(xw))(E({reflectSymbol:function(){return"currentUser"}})(jn(Zt(E({reflectSymbol:function(){return"cvid"}})(ie)(E({reflectSymbol:function(){return"isHq"}})(zn)(E({reflectSymbol:function(){return"role"}})(Zt(E({reflectSymbol:function(){return"counselor"}})(jn(Zt(_e)))(E({reflectSymbol:function(){return"semUser"}})(jn(Zt(E({reflectSymbol:function(){return"schoolId"}})(os)(_e))))(E({reflectSymbol:function(){return"vine"}})(jn(Zt(E({reflectSymbol:function(){return"admissionYear"}})(ei)(E({reflectSymbol:function(){return"avatarUrl"}})(So)(E({reflectSymbol:function(){return"fullName"}})(So)(E({reflectSymbol:function(){return"homeState"}})(So)(E({reflectSymbol:function(){return"initials"}})(So)(E({reflectSymbol:function(){return"publishScope"}})(ie)(_e)))))))))(_e)))))(_e))))))(E({reflectSymbol:function(){return"featureFlags"}})(Zt(E({reflectSymbol:function(){return"app18667SageOnSdp"}})(zn)(E({reflectSymbol:function(){return"app18667TrellisRecruiter"}})(zn)(E({reflectSymbol:function(){return"autopilot"}})(ie)(E({reflectSymbol:function(){return"rcr2577ClaimSchoolProfileLinkOnSdp"}})(zn)(_e))))))(E({reflectSymbol:function(){return"financials"}})(jn(Zt(E({reflectSymbol:function(){return"estimatedMeritAid"}})(O0)(E({reflectSymbol:function(){return"estimatedNetCost"}})(Ft)(E({reflectSymbol:function(){return"financialAid"}})(Ft)(E({reflectSymbol:function(){return"stickerPrice"}})(Ft)(_e)))))))(E({reflectSymbol:function(){return"hasFinancialProfile"}})(zn)(E({reflectSymbol:function(){return"initialTab"}})(ie)(f2e(Vn(Zt(E({reflectSymbol:function(){return"areaOfStudy"}})(ie)(E({reflectSymbol:function(){return"cipCode"}})(ie)(E({reflectSymbol:function(){return"compressedName"}})(ie)(v2e))))))(E({reflectSymbol:function(){return"mapboxAccessToken"}})(Kie)(E({reflectSymbol:function(){return"mobileLayout"}})(zn)(E({reflectSymbol:function(){return"originUrl"}})(ie)(E({reflectSymbol:function(){return"randomSeed"}})(Rt)(E({reflectSymbol:function(){return"recommendedSchools"}})(jn(Vn(Zt(m2e(O0)(E({reflectSymbol:function(){return"cityState"}})(So)(p2e(E({reflectSymbol:function(){return"imgixImageUrl"}})(ie)(x5(_2e(_e))))))))))(E({reflectSymbol:function(){return"schoolConnection"}})(jn(Zt(E({reflectSymbol:function(){return"initiator"}})(ie)(E({reflectSymbol:function(){return"schoolUsesAiRecruiter"}})(zn)(d2e)))))(E({reflectSymbol:function(){return"schoolList"}})(Eh(Zt(E({reflectSymbol:function(){return"applicationRound"}})(ie)(d2e))))(E({reflectSymbol:function(){return"schoolNotes"}})(Eh(ie))(E({reflectSymbol:function(){return"showInvitationAcceptedCTA"}})(ie)(E({reflectSymbol:function(){return"showNetworkCard"}})(zn)(E({reflectSymbol:function(){return"staticSchool"}})(Zt(E({reflectSymbol:function(){return"academicOfferings"}})(Zt(E({reflectSymbol:function(){return"careerCounseling"}})(zn)(E({reflectSymbol:function(){return"creditForApExams"}})(zn)(E({reflectSymbol:function(){return"creditForIbExams"}})(zn)(E({reflectSymbol:function(){return"hasMedicalSchool"}})(zn)(E({reflectSymbol:function(){return"offersGradDegree"}})(zn)(E({reflectSymbol:function(){return"specialFocus"}})(So)(E({reflectSymbol:function(){return"studyAbroad"}})(zn)(_e)))))))))(h2e(Zt(E({reflectSymbol:function(){return"nonUSAddress"}})(jn(Zt(h2e(ie)(E({reflectSymbol:function(){return"country"}})(ie)(g2e(_e))))))(E({reflectSymbol:function(){return"usAddress"}})(jn(Zt(E({reflectSymbol:function(){return"city"}})(ie)(E({reflectSymbol:function(){return"county"}})(ie)(g2e(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))))(D2e(Zt(m2e(ET)(E({reflectSymbol:function(){return"actComposite"}})(CT)(E({reflectSymbol:function(){return"actMath"}})(CT)(E({reflectSymbol:function(){return"actVerbal"}})(CT)(E({reflectSymbol:function(){return"admitted"}})(Qq)(E({reflectSymbol:function(){return"applicants"}})(Qq)(E({reflectSymbol:function(){return"enrolled"}})(Qq)(E({reflectSymbol:function(){return"fracSubmittedAct"}})(O0)(E({reflectSymbol:function(){return"fracSubmittedSat"}})(O0)(E({reflectSymbol:function(){return"reqClassRank"}})(So)(E({reflectSymbol:function(){return"reqRecLetters"}})(So)(E({reflectSymbol:function(){return"reqStandardTests"}})(So)(E({reflectSymbol:function(){return"reqToefl"}})(So)(E({reflectSymbol:function(){return"satMath"}})(CT)(E({reflectSymbol:function(){return"satVerbal"}})(CT)(E({reflectSymbol:function(){return"totalApplicants"}})(w2e)(E({reflectSymbol:function(){return"yieldRate"}})(ET)(_e)))))))))))))))))))(E({reflectSymbol:function(){return"appGroup"}})(So)(E({reflectSymbol:function(){return"applicationTimeHours"}})(Rt)(E({reflectSymbol:function(){return"averageFederalLoan"}})(ei)(E({reflectSymbol:function(){return"averageNetPrice"}})(jn(Zt(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"}})(S2e)(E({reflectSymbol:function(){return"calendarSystem"}})(ie)(E({reflectSymbol:function(){return"chancing"}})(Zt(E({reflectSymbol:function(){return"canChance"}})(zn)(E({reflectSymbol:function(){return"endorsed"}})(zn)(E({reflectSymbol:function(){return"moreInfoLink"}})(So)(_e)))))(E({reflectSymbol:function(){return"colors"}})(Zt(E({reflectSymbol:function(){return"primary"}})(So)(E({reflectSymbol:function(){return"secondary"}})(So)(_e))))(E({reflectSymbol:function(){return"costRoomBoard"}})(ei)(E({reflectSymbol:function(){return"diversity"}})(ie)(E({reflectSymbol:function(){return"dropOutRate"}})(Rt)(E({reflectSymbol:function(){return"feesInState"}})(ei)(E({reflectSymbol:function(){return"feesOutOfState"}})(ei)(E({reflectSymbol:function(){return"football"}})(S2e)(E({reflectSymbol:function(){return"fourYearGradRate"}})(O0)(E({reflectSymbol:function(){return"fracInternationalStudents"}})(ET)(E({reflectSymbol:function(){return"fracLoans"}})(Ft)(E({reflectSymbol:function(){return"fracPellGrants"}})(Ft)(E({reflectSymbol:function(){return"gender"}})(ie)(E({reflectSymbol:function(){return"hasFourYearProgram"}})(zn)(E({reflectSymbol:function(){return"hasOnCampusHousing"}})(zn)(E({reflectSymbol:function(){return"hasTwoYearProgram"}})(zn)(E({reflectSymbol:function(){return"hbcu"}})(zn)(p2e(E({reflectSymbol:function(){return"imgixPath"}})(ie)(E({reflectSymbol:function(){return"ipedsUnitId"}})(So)(E({reflectSymbol:function(){return"isCommuterCollege"}})(zn)(E({reflectSymbol:function(){return"isForProfit"}})(zn)(E({reflectSymbol:function(){return"isPublic"}})(zn)(f2e(Vn(ie))(E({reflectSymbol:function(){return"message"}})(ie)(x5(E({reflectSymbol:function(){return"numFreshmen"}})(w2e)(E({reflectSymbol:function(){return"phone"}})(ie)(E({reflectSymbol:function(){return"prestige"}})(ie)(E({reflectSymbol:function(){return"profileClaimed"}})(zn)(E({reflectSymbol:function(){return"racialBreakdown"}})(jn(Zt(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"}})(Vn(Zt(E({reflectSymbol:function(){return"bucket"}})(ie)(E({reflectSymbol:function(){return"key"}})(ie)(E({reflectSymbol:function(){return"order"}})(Rt)(_e))))))(E({reflectSymbol:function(){return"religiousAffiliation"}})(ie)(E({reflectSymbol:function(){return"retentionRate"}})(ET)(E({reflectSymbol:function(){return"schoolType"}})(ie)(E({reflectSymbol:function(){return"setting"}})(ie)(E({reflectSymbol:function(){return"sixYearGradRate"}})(ET)(_2e(E({reflectSymbol:function(){return"studentsPerFaculty"}})(R2e)(E({reflectSymbol:function(){return"testScoreStats"}})(jn(Zt(Wq(Zt(E2e(i2e(FR)(C2e(_e)))))($q(Zt(Jq(o2e)(_e)))(Vq(Zt(E2e(C2e(s2e(FR)(_e)))))(_e))))))(E({reflectSymbol:function(){return"totalUndergrads"}})(Rt)(E({reflectSymbol:function(){return"tuitionInState"}})(ei)(E({reflectSymbol:function(){return"tuitionOutOfState"}})(ei)(E({reflectSymbol:function(){return"urls"}})(Zt(D2e(So)(E({reflectSymbol:function(){return"finAid"}})(So)(E({reflectSymbol:function(){return"main"}})(ie)(E({reflectSymbol:function(){return"priceCalculator"}})(So)(_e))))))(_e)))))))))))))))))))))))))))))))))))))))))))))))))))))))(E({reflectSymbol:function(){return"vineBelowConnectionLimit"}})(jn(zn))(_e))))))))))))))))))))))))({diagnosticName:"EntryPoints.SchoolDetails",def:e})}();return Cbn;})(); /* 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. */