var Purs_EntryPoints_SchoolDetails=(()=>{var S3e=Object.create;var zR=Object.defineProperty,E3e=Object.defineProperties,C3e=Object.getOwnPropertyDescriptor,I3e=Object.getOwnPropertyDescriptors,T3e=Object.getOwnPropertyNames,Kz=Object.getOwnPropertySymbols,F3e=Object.getPrototypeOf,e$=Object.prototype.hasOwnProperty,M3e=Object.prototype.propertyIsEnumerable;var n$=(e,n,t)=>n in e?zR(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,La=(e,n)=>{for(var t in n||(n={}))e$.call(n,t)&&n$(e,t,n[t]);if(Kz)for(var t of Kz(n))M3e.call(n,t)&&n$(e,t,n[t]);return e},ti=(e,n)=>E3e(e,I3e(n)),t$=e=>zR(e,"__esModule",{value:!0});var G3e=(e,n)=>()=>(e&&(n=e(e=0)),n);var Pe=(e,n)=>()=>(n||e((n={exports:{}}).exports,n),n.exports),$T=(e,n)=>{t$(e);for(var t in n)zR(e,t,{get:n[t],enumerable:!0})},A3e=(e,n,t)=>{if(n&&typeof n=="object"||typeof n=="function")for(let a of T3e(n))!e$.call(e,a)&&a!=="default"&&zR(e,a,{get:()=>n[a],enumerable:!(t=C3e(n,a))||t.enumerable});return e},Da=e=>A3e(t$(zR(e!=null?S3e(F3e(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var xh={};$T(xh,{Children:()=>Gh,Component:()=>Ah,Fragment:()=>O8,Suspense:()=>T5e,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>C5e,cloneElement:()=>Zw,createContext:()=>P8,createElement:()=>Pa,createRef:()=>UF,default:()=>Et,forwardRef:()=>pc,isValidElement:()=>k8,lazy:()=>I5e,useCallback:()=>Kw,useContext:()=>F5e,useEffect:()=>Dr,useImperativeHandle:()=>fm,useLayoutEffect:()=>eS,useMemo:()=>nS,useReducer:()=>M5e,useRef:()=>Aa,useState:()=>Ff,version:()=>G5e});var Et,C5e,Gh,Zw,Ah,P8,Pa,UF,pc,O8,k8,I5e,T5e,Kw,F5e,Dr,fm,eS,nS,M5e,Aa,Ff,G5e,Wt=G3e(()=>{Et=window.React,{__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:C5e,Children:Gh,cloneElement:Zw,Component:Ah,createContext:P8,createElement:Pa,createRef:UF,forwardRef:pc,Fragment:O8,isValidElement:k8,lazy:I5e,Suspense:T5e,useCallback:Kw,useContext:F5e,useEffect:Dr,useImperativeHandle:fm,useLayoutEffect:eS,useMemo:nS,useReducer:M5e,useRef:Aa,useState:Ff,version:G5e}=window.React});var QF=Pe((zYn,PX)=>{"use strict";var NX=Object.getOwnPropertySymbols,$5e=Object.prototype.hasOwnProperty,V5e=Object.prototype.propertyIsEnumerable;function Q5e(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function Y5e(){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}}PX.exports=Y5e()?Object.assign:function(e,n){for(var t,a=Q5e(e),r,o=1;o{"use strict";var J8=QF(),p1=60103,OX=60106;Ua.Fragment=60107;Ua.StrictMode=60108;Ua.Profiler=60114;var kX=60109,UX=60110,HX=60112;Ua.Suspense=60113;var BX=60115,JX=60116;typeof Symbol=="function"&&Symbol.for&&(ds=Symbol.for,p1=ds("react.element"),OX=ds("react.portal"),Ua.Fragment=ds("react.fragment"),Ua.StrictMode=ds("react.strict_mode"),Ua.Profiler=ds("react.profiler"),kX=ds("react.provider"),UX=ds("react.context"),HX=ds("react.forward_ref"),Ua.Suspense=ds("react.suspense"),BX=ds("react.memo"),JX=ds("react.lazy"));var ds,WX=typeof Symbol=="function"&&Symbol.iterator;function X5e(e){return e===null||typeof e!="object"?null:(e=WX&&e[WX]||e["@@iterator"],typeof e=="function"?e:null)}function lS(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t{"use strict";eZ.exports=KX()});var wZ=Pe(d1=>{"use strict";var Mf=QF(),mm=hs();function lo(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;tfS;fS++)cu[fS]=fS+1;var cu,fS;cu[15]=0;var r6e=/^[: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]*$/,uZ=Object.prototype.hasOwnProperty,lZ={},cZ={};function sZ(e){return uZ.call(cZ,e)?!0:uZ.call(lZ,e)?!1:r6e.test(e)?cZ[e]=!0:(lZ[e]=!0,!1)}function o6e(e,n,t,a){if(t!==null&&t.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return a?!1:t!==null?!t.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function i6e(e,n,t,a){if(n===null||typeof n=="undefined"||o6e(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 Zu(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 su={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){su[e]=new Zu(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];su[n]=new Zu(n,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){su[e]=new Zu(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){su[e]=new Zu(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){su[e]=new Zu(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){su[e]=new Zu(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){su[e]=new Zu(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){su[e]=new Zu(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){su[e]=new Zu(e,5,!1,e.toLowerCase(),null,!1,!1)});var aL=/[\-:]([a-z])/g;function rL(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(aL,rL);su[n]=new Zu(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(aL,rL);su[n]=new Zu(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(aL,rL);su[n]=new Zu(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){su[e]=new Zu(e,1,!1,e.toLowerCase(),null,!1,!1)});su.xlinkHref=new Zu("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){su[e]=new Zu(e,1,!1,e.toLowerCase(),null,!0,!0)});var u6e=/["'&<>]/;function jh(e){if(typeof e=="boolean"||typeof e=="number")return""+e;e=""+e;var n=u6e.exec(e);if(n){var t="",a,r=0;for(a=n.index;aaM))throw Error(lo(301));if(e===Qv)if(tM=!0,e={action:t,next:null},Vp===null&&(Vp=new Map),t=Vp.get(n),t===void 0)Vp.set(n,e);else{for(n=t;n.next!==null;)n=n.next;n.next=e}}function iL(){}var Ph=null,v6e={readContext:function(e){var n=Ph.threadID;return sS(e,n),e[n]},useContext:function(e){Nh();var n=Ph.threadID;return sS(e,n),e[n]},useMemo:dZ,useReducer:_Z,useRef:function(e){Qv=Nh(),Ar=oL();var n=Ar.memoizedState;return n===null?(e={current:e},Ar.memoizedState=e):n},useState:function(e){return _Z(pZ,e)},useLayoutEffect:function(){},useCallback:function(e,n){return dZ(function(){return e},n)},useImperativeHandle:iL,useEffect:iL,useDebugValue:iL,useDeferredValue:function(e){return Nh(),e},useTransition:function(){return Nh(),[function(e){e()},!1]},useOpaqueIdentifier:function(){return(Ph.identifierPrefix||"")+"R:"+(Ph.uniqueID++).toString(36)},useMutableSource:function(e,n){return Nh(),n(e._source)}},hZ={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function gZ(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 DZ={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},m6e=Mf({menuitem:!0},DZ),mS={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},p6e=["Webkit","ms","Moz","O"];Object.keys(mS).forEach(function(e){p6e.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),mS[n]=mS[e]})});var _6e=/([A-Z])/g,d6e=/^ms-/,Qp=mm.Children.toArray,uL=t6e.ReactCurrentDispatcher,h6e={listing:!0,pre:!0,textarea:!0},g6e=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,yZ={},lL={};function D6e(e){if(e==null)return e;var n="";return mm.Children.forEach(e,function(t){t!=null&&(n+=t)}),n}var y6e=Object.prototype.hasOwnProperty,b6e={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function bZ(e,n){if(e===void 0)throw Error(lo(152,cS(n)||"Component"))}function R6e(e,n,t){function a(i,u){var l=u.prototype&&u.prototype.isReactComponent,c=a6e(u,n,t,l),s=[],f=!1,v={isMounted:function(){return!1},enqueueForceUpdate:function(){if(s===null)return null},enqueueReplaceState:function(G,P){f=!0,s=[P]},enqueueSetState:function(G,P){if(s===null)return null;s.push(P)}};if(l){if(l=new u(i.props,c,v),typeof u.getDerivedStateFromProps=="function"){var m=u.getDerivedStateFromProps.call(null,i.props,l.state);m!=null&&(l.state=Mf({},l.state,m))}}else if(Qv={},l=u(i.props,c,v),l=vZ(u,i.props,l,c),l==null||l.render==null){e=l,bZ(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(lo(304));var l=new Uint16Array(u);for(l.set(i),cu=l,cu[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===KF)this.popProvider(l.type);else if(l.type===eM){this.suspenseDepth--;var s=o.pop();if(i){i=!1;var f=l.fallbackFrame;if(!f)throw Error(lo(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(lo(294)):_}finally{}o.length<=this.suspenseDepth&&o.push(""),o[this.suspenseDepth]+=m}}return o[0]}finally{uL.current=r,Ph=a,mZ()}},n.render=function(t,a,r){if(typeof t=="string"||typeof t=="number")return r=""+t,r===""?"":this.makeStaticMarkup?jh(r):this.previousWasTextNode?""+jh(r):(this.previousWasTextNode=!0,jh(r));if(a=R6e(t,a,this.threadID),t=a.child,a=a.context,t===null||t===!1)return"";if(!mm.isValidElement(t)){if(t!=null&&t.$$typeof!=null)throw r=t.$$typeof,Error(r===Q8?lo(257):lo(258,r.toString()));return t=Qp(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 oZ:case rZ:case Y8:case X8:case eL:case ZF:return t=Qp(t.props.children),this.stack.push({type:null,domNamespace:r,children:t,childIndex:0,context:a,footer:""}),"";case eM:throw Error(lo(294));case aZ:throw Error(lo(343))}if(typeof o=="object"&&o!==null)switch(o.$$typeof){case K8:Qv={};var i=o.render(t.props,t.ref);return i=vZ(o.render,t.props,i,t.ref),i=Qp(i),this.stack.push({type:null,domNamespace:r,children:i,childIndex:0,context:a,footer:""}),"";case nL:return t=[mm.createElement(o.type,Mf({ref:t.ref},t.props))],this.stack.push({type:null,domNamespace:r,children:t,childIndex:0,context:a,footer:""}),"";case KF:return o=Qp(t.props.children),r={type:t,domNamespace:r,children:o,childIndex:0,context:a,footer:""},this.pushProvider(t),this.stack.push(r),"";case Z8:o=t.type,i=t.props;var u=this.threadID;return sS(o,u),o=Qp(i.children(o[u])),this.stack.push({type:t,domNamespace:r,children:o,childIndex:0,context:a,footer:""}),"";case tZ:throw Error(lo(338));case tL:return o=t.type,i=o._init,o=i(o._payload),t=[mm.createElement(o,Mf({ref:t.ref},t.props))],this.stack.push({type:null,domNamespace:r,children:t,childIndex:0,context:a,footer:""}),""}throw Error(lo(130,o==null?o:typeof o,""))},n.renderDOM=function(t,a,r){var o=t.type.toLowerCase();if(r===hZ.html&&gZ(o),!yZ.hasOwnProperty(o)){if(!g6e.test(o))throw Error(lo(65,o));yZ[o]=!0}var i=t.props;if(o==="input")i=Mf({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(lo(92));if(Array.isArray(l)){if(!(1>=l.length))throw Error(lo(93));l=l[0]}u=""+l}u==null&&(u="")}i=Mf({},i,{value:void 0,children:""+u})}else if(o==="select")this.currentSelectValue=i.value!=null?i.value:i.defaultValue,i=Mf({},i,{value:void 0});else if(o==="option"){l=this.currentSelectValue;var c=D6e(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=jh(l);break e}l=null}return l!=null?(i=[],h6e.hasOwnProperty(o)&&l.charAt(0)===` `&&(P+=` `),P+=l):i=Qp(i.children),t=t.type,r=r==null||r==="http://www.w3.org/1999/xhtml"?gZ(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}();d1.renderToNodeStream=function(){throw Error(lo(207))};d1.renderToStaticMarkup=function(e,n){e=new RZ(e,!0,n);try{return e.read(1/0)}finally{e.destroy()}};d1.renderToStaticNodeStream=function(){throw Error(lo(208))};d1.renderToString=function(e,n){e=new RZ(e,!1,n);try{return e.read(1/0)}finally{e.destroy()}};d1.version="17.0.2"});var EZ=Pe((YYn,SZ)=>{"use strict";SZ.exports=wZ()});var ire=Pe((YVt,ore)=>{"use strict";var Ake="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";ore.exports=Ake});var sre=Pe((XVt,cre)=>{"use strict";var xke=ire();function ure(){}function lre(){}lre.resetWarningCache=ure;cre.exports=function(){function e(a,r,o,i,u,l){if(l!==xke){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:lre,resetWarningCache:ure};return t.PropTypes=t,t}});var ny=Pe((eQt,fre)=>{fre.exports=sre()();var ZVt,KVt});var bj=Pe(ty=>{"use strict";Object.defineProperty(ty,"__esModule",{value:!0});var vre=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],aG=vre.join(","),mre=typeof Element=="undefined",sg=mre?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Dj=!mre&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},pre=function(n,t,a){var r=Array.prototype.slice.apply(n.querySelectorAll(aG));return t&&sg.call(n,aG)&&r.unshift(n),r=r.filter(a),r},_re=function e(n,t,a){for(var r=[],o=Array.from(n);o.length;){var i=o.shift();if(i.tagName==="SLOT"){var u=i.assignedElements(),l=u.length?u:i.children,c=e(l,!0,a);a.flatten?r.push.apply(r,c):r.push({scope:i,candidates:c})}else{var s=sg.call(i,aG);s&&a.filter(i)&&(t||!n.includes(i))&&r.push(i);var f=i.shadowRoot||typeof a.getShadowRoot=="function"&&a.getShadowRoot(i),v=!a.shadowRootFilter||a.shadowRootFilter(i);if(f&&v){var m=e(f===!0?i.children:f.children,!0,a);a.flatten?r.push.apply(r,m):r.push({scope:i,candidates:m})}else o.unshift.apply(o,i.children)}}return r},dre=function(n,t){return n.tabIndex<0&&(t||/^(AUDIO|VIDEO|DETAILS)$/.test(n.tagName)||n.isContentEditable)&&isNaN(parseInt(n.getAttribute("tabindex"),10))?0:n.tabIndex},Lke=function(n,t){return n.tabIndex===t.tabIndex?n.documentOrder-t.documentOrder:n.tabIndex-t.tabIndex},hre=function(n){return n.tagName==="INPUT"},jke=function(n){return hre(n)&&n.type==="hidden"},Nke=function(n){var t=n.tagName==="DETAILS"&&Array.prototype.slice.apply(n.children).some(function(a){return a.tagName==="SUMMARY"});return t},Pke=function(n,t){for(var a=0;asummary:first-of-type"),i=o?n.parentElement:n;if(sg.call(i,"details:not([open]) *"))return!0;var u=Dj(n).host,l=(u==null?void 0:u.ownerDocument.contains(u))||n.ownerDocument.contains(n);if(!a||a==="full"){if(typeof r=="function"){for(var c=n;n;){var s=n.parentElement,f=Dj(n);if(s&&!s.shadowRoot&&r(s)===!0)return gre(n);n.assignedSlot?n=n.assignedSlot:!s&&f!==n.ownerDocument?n=f.host:n=s}n=c}if(l)return!n.getClientRects().length}else if(a==="non-zero-area")return gre(n);return!1},Bke=function(n){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(n.tagName))for(var t=n.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var a=0;a=0)},Wke=function e(n){var t=[],a=[];return n.forEach(function(r,o){var i=!!r.scope,u=i?r.scope:r,l=dre(u,i),c=i?e(r.candidates):u;l===0?i?t.push.apply(t,c):t.push(u):a.push({documentOrder:o,tabIndex:l,item:r,isScope:i,content:c})}),a.sort(Lke).reduce(function(r,o){return o.isScope?r.push.apply(r,o.content):r.push(o.content),r},[]).concat(t)},qke=function(n,t){t=t||{};var a;return t.getShadowRoot?a=_re([n],t.includeContainer,{filter:yj.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:Jke}):a=pre(n,t.includeContainer,yj.bind(null,t)),Wke(a)},zke=function(n,t){t=t||{};var a;return t.getShadowRoot?a=_re([n],t.includeContainer,{filter:rG.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):a=pre(n,t.includeContainer,rG.bind(null,t)),a},$ke=function(n,t){if(t=t||{},!n)throw new Error("No node provided");return sg.call(n,aG)===!1?!1:yj(t,n)},Vke=vre.concat("iframe").join(","),Qke=function(n,t){if(t=t||{},!n)throw new Error("No node provided");return sg.call(n,Vke)===!1?!1:rG(t,n)};ty.focusable=zke;ty.isFocusable=Qke;ty.isTabbable=$ke;ty.tabbable=qke});var Sre=Pe(Rj=>{"use strict";Object.defineProperty(Rj,"__esModule",{value:!0});var zm=bj();function Dre(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 yre(e){for(var n=1;n0){var a=e[e.length-1];a!==t&&a.pause()}var r=e.indexOf(t);r===-1||e.splice(r,1),e.push(t)},deactivateTrap:function(t){var a=e.indexOf(t);a!==-1&&e.splice(a,1),e.length>0&&e[e.length-1].unpause()}}}(),Xke=function(n){return n.tagName&&n.tagName.toLowerCase()==="input"&&typeof n.select=="function"},Zke=function(n){return n.key==="Escape"||n.key==="Esc"||n.keyCode===27},Kke=function(n){return n.key==="Tab"||n.keyCode===9},Rre=function(n){return setTimeout(n,0)},wre=function(n,t){var a=-1;return n.every(function(r,o){return t(r)?(a=o,!1):!0}),a},EE=function(n){for(var t=arguments.length,a=new Array(t>1?t-1:0),r=1;r1?oe-1:0),ve=1;ve=0)M=a.activeElement;else{var k=o.tabbableGroups[0],oe=k&&k.firstTabbableNode;M=oe||c("fallbackFocus")}if(!M)throw new Error("Your focus-trap needs to have at least one focusable element");return M},f=function(){if(o.containerGroups=o.containers.map(function(M){var k=zm.tabbable(M,r.tabbableOptions),oe=zm.focusable(M,r.tabbableOptions);return{container:M,tabbableNodes:k,focusableNodes:oe,firstTabbableNode:k.length>0?k[0]:null,lastTabbableNode:k.length>0?k[k.length-1]:null,nextTabbableNode:function(ve){var X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,be=oe.findIndex(function(pe){return pe===ve});if(!(be<0))return X?oe.slice(be+1).find(function(pe){return zm.isTabbable(pe,r.tabbableOptions)}):oe.slice(0,be).reverse().find(function(pe){return zm.isTabbable(pe,r.tabbableOptions)})}}}),o.tabbableGroups=o.containerGroups.filter(function(M){return M.tabbableNodes.length>0}),o.tabbableGroups.length<=0&&!c("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},v=function O(M){if(M!==!1&&M!==a.activeElement){if(!M||!M.focus){O(s());return}M.focus({preventScroll:!!r.preventScroll}),o.mostRecentlyFocusedNode=M,Xke(M)&&M.select()}},m=function(M){var k=c("setReturnFocus",M);return k||(k===!1?!1:M)},_=function(M){var k=oG(M);if(!(l(k)>=0)){if(EE(r.clickOutsideDeactivates,M)){i.deactivate({returnFocus:r.returnFocusOnDeactivate&&!zm.isFocusable(k,r.tabbableOptions)});return}EE(r.allowOutsideClick,M)||M.preventDefault()}},R=function(M){var k=oG(M),oe=l(k)>=0;oe||k instanceof Document?oe&&(o.mostRecentlyFocusedNode=k):(M.stopImmediatePropagation(),v(o.mostRecentlyFocusedNode||s()))},D=function(M){var k=oG(M);f();var oe=null;if(o.tabbableGroups.length>0){var le=l(k),ve=le>=0?o.containerGroups[le]:void 0;if(le<0)M.shiftKey?oe=o.tabbableGroups[o.tabbableGroups.length-1].lastTabbableNode:oe=o.tabbableGroups[0].firstTabbableNode;else if(M.shiftKey){var X=wre(o.tabbableGroups,function(jn){var Ve=jn.firstTabbableNode;return k===Ve});if(X<0&&(ve.container===k||zm.isFocusable(k,r.tabbableOptions)&&!zm.isTabbable(k,r.tabbableOptions)&&!ve.nextTabbableNode(k,!1))&&(X=le),X>=0){var be=X===0?o.tabbableGroups.length-1:X-1,pe=o.tabbableGroups[be];oe=pe.lastTabbableNode}}else{var De=wre(o.tabbableGroups,function(jn){var Ve=jn.lastTabbableNode;return k===Ve});if(De<0&&(ve.container===k||zm.isFocusable(k,r.tabbableOptions)&&!zm.isTabbable(k,r.tabbableOptions)&&!ve.nextTabbableNode(k))&&(De=le),De>=0){var Ne=De===o.tabbableGroups.length-1?0:De+1,ie=o.tabbableGroups[Ne];oe=ie.firstTabbableNode}}}else oe=c("fallbackFocus");oe&&(M.preventDefault(),v(oe))},y=function(M){if(Zke(M)&&EE(r.escapeDeactivates,M)!==!1){M.preventDefault(),i.deactivate();return}if(Kke(M)){D(M);return}},S=function(M){var k=oG(M);l(k)>=0||EE(r.clickOutsideDeactivates,M)||EE(r.allowOutsideClick,M)||(M.preventDefault(),M.stopImmediatePropagation())},G=function(){if(!!o.active)return bre.activateTrap(i),o.delayInitialFocusTimer=r.delayInitialFocus?Rre(function(){v(s())}):v(s()),a.addEventListener("focusin",R,!0),a.addEventListener("mousedown",_,{capture:!0,passive:!1}),a.addEventListener("touchstart",_,{capture:!0,passive:!1}),a.addEventListener("click",S,{capture:!0,passive:!1}),a.addEventListener("keydown",y,{capture:!0,passive:!1}),i},P=function(){if(!!o.active)return a.removeEventListener("focusin",R,!0),a.removeEventListener("mousedown",_,!0),a.removeEventListener("touchstart",_,!0),a.removeEventListener("click",S,!0),a.removeEventListener("keydown",y,!0),i};return i={get active(){return o.active},get paused(){return o.paused},activate:function(M){if(o.active)return this;var k=u(M,"onActivate"),oe=u(M,"onPostActivate"),le=u(M,"checkCanFocusTrap");le||f(),o.active=!0,o.paused=!1,o.nodeFocusedBeforeActivation=a.activeElement,k&&k();var ve=function(){le&&f(),G(),oe&&oe()};return le?(le(o.containers.concat()).then(ve,ve),this):(ve(),this)},deactivate:function(M){if(!o.active)return this;var k=yre({onDeactivate:r.onDeactivate,onPostDeactivate:r.onPostDeactivate,checkCanReturnFocus:r.checkCanReturnFocus},M);clearTimeout(o.delayInitialFocusTimer),o.delayInitialFocusTimer=void 0,P(),o.active=!1,o.paused=!1,bre.deactivateTrap(i);var oe=u(k,"onDeactivate"),le=u(k,"onPostDeactivate"),ve=u(k,"checkCanReturnFocus"),X=u(k,"returnFocus","returnFocusOnDeactivate");oe&&oe();var be=function(){Rre(function(){X&&v(m(o.nodeFocusedBeforeActivation)),le&&le()})};return X&&ve?(ve(m(o.nodeFocusedBeforeActivation)).then(be,be),this):(be(),this)},pause:function(){return o.paused||!o.active?this:(o.paused=!0,P(),this)},unpause:function(){return!o.paused||!o.active?this:(o.paused=!1,f(),G(),this)},updateContainerElements:function(M){var k=[].concat(M).filter(Boolean);return o.containers=k.map(function(oe){return typeof oe=="string"?a.querySelector(oe):oe}),o.active&&f(),this}},i.updateContainerElements(n),i};Rj.createFocusTrap=eUe});var Ire=Pe((aQt,Cre)=>{"use strict";function wj(e){return wj=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},wj(e)}function nUe(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function Ere(e,n){for(var t=0;t1?s-1:0),v=1;v element.");var i=function(c){var s=r.props.containerElements;o&&(typeof o.ref=="function"?o.ref(c):o.ref&&(o.ref.current=c)),r.focusTrapElements=s||[c]},u=uG.cloneElement(o,{ref:i});return u}return null}}]),t}(uG.Component),IE=typeof Element=="undefined"?Function:Element;Ej.propTypes={active:aa.bool,paused:aa.bool,focusTrapOptions:aa.shape({document:aa.object,onActivate:aa.func,onPostActivate:aa.func,checkCanFocusTrap:aa.func,onDeactivate:aa.func,onPostDeactivate:aa.func,checkCanReturnFocus:aa.func,initialFocus:aa.oneOfType([aa.instanceOf(IE),aa.string,aa.bool,aa.func]),fallbackFocus:aa.oneOfType([aa.instanceOf(IE),aa.string,aa.func]),escapeDeactivates:aa.oneOfType([aa.bool,aa.func]),clickOutsideDeactivates:aa.oneOfType([aa.bool,aa.func]),returnFocusOnDeactivate:aa.bool,setReturnFocus:aa.oneOfType([aa.instanceOf(IE),aa.string,aa.bool,aa.func]),allowOutsideClick:aa.oneOfType([aa.bool,aa.func]),preventScroll:aa.bool,tabbableOptions:aa.shape({displayCheck:aa.oneOf(["full","non-zero-area","none"]),getShadowRoot:aa.oneOfType([aa.bool,aa.func])})}),containerElements:aa.arrayOf(aa.instanceOf(IE)),children:aa.oneOfType([aa.element,aa.instanceOf(IE)])};Ej.defaultProps={active:!0,paused:!1,focusTrapOptions:{},_createFocusTrap:cUe};Cre.exports=Ej});var Nce=Pe(pr=>{"use strict";var Zi=typeof Symbol=="function"&&Symbol.for,JN=Zi?Symbol.for("react.element"):60103,WN=Zi?Symbol.for("react.portal"):60106,I4=Zi?Symbol.for("react.fragment"):60107,T4=Zi?Symbol.for("react.strict_mode"):60108,F4=Zi?Symbol.for("react.profiler"):60114,M4=Zi?Symbol.for("react.provider"):60109,G4=Zi?Symbol.for("react.context"):60110,qN=Zi?Symbol.for("react.async_mode"):60111,A4=Zi?Symbol.for("react.concurrent_mode"):60111,x4=Zi?Symbol.for("react.forward_ref"):60112,L4=Zi?Symbol.for("react.suspense"):60113,_Ve=Zi?Symbol.for("react.suspense_list"):60120,j4=Zi?Symbol.for("react.memo"):60115,N4=Zi?Symbol.for("react.lazy"):60116,dVe=Zi?Symbol.for("react.block"):60121,hVe=Zi?Symbol.for("react.fundamental"):60117,gVe=Zi?Symbol.for("react.responder"):60118,DVe=Zi?Symbol.for("react.scope"):60119;function Uc(e){if(typeof e=="object"&&e!==null){var n=e.$$typeof;switch(n){case JN:switch(e=e.type,e){case qN:case A4:case I4:case F4:case T4:case L4:return e;default:switch(e=e&&e.$$typeof,e){case G4:case x4:case N4:case j4:case M4:return e;default:return n}}case WN:return n}}}function jce(e){return Uc(e)===A4}pr.AsyncMode=qN;pr.ConcurrentMode=A4;pr.ContextConsumer=G4;pr.ContextProvider=M4;pr.Element=JN;pr.ForwardRef=x4;pr.Fragment=I4;pr.Lazy=N4;pr.Memo=j4;pr.Portal=WN;pr.Profiler=F4;pr.StrictMode=T4;pr.Suspense=L4;pr.isAsyncMode=function(e){return jce(e)||Uc(e)===qN};pr.isConcurrentMode=jce;pr.isContextConsumer=function(e){return Uc(e)===G4};pr.isContextProvider=function(e){return Uc(e)===M4};pr.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===JN};pr.isForwardRef=function(e){return Uc(e)===x4};pr.isFragment=function(e){return Uc(e)===I4};pr.isLazy=function(e){return Uc(e)===N4};pr.isMemo=function(e){return Uc(e)===j4};pr.isPortal=function(e){return Uc(e)===WN};pr.isProfiler=function(e){return Uc(e)===F4};pr.isStrictMode=function(e){return Uc(e)===T4};pr.isSuspense=function(e){return Uc(e)===L4};pr.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===I4||e===A4||e===F4||e===T4||e===L4||e===_Ve||typeof e=="object"&&e!==null&&(e.$$typeof===N4||e.$$typeof===j4||e.$$typeof===M4||e.$$typeof===G4||e.$$typeof===x4||e.$$typeof===hVe||e.$$typeof===gVe||e.$$typeof===DVe||e.$$typeof===dVe)};pr.typeOf=Uc});var Oce=Pe((Kma,Pce)=>{"use strict";Pce.exports=Nce()});var J_=Pe((mpa,k4)=>{(function(){"use strict";var e={}.hasOwnProperty;function n(){for(var r="",o=0;o{function oQe(){this.__data__=[],this.size=0}Fse.exports=oQe});var pP=Pe((ada,Gse)=>{function iQe(e,n){return e===n||e!==e&&n!==n}Gse.exports=iQe});var rC=Pe((rda,Ase)=>{var uQe=pP();function lQe(e,n){for(var t=e.length;t--;)if(uQe(e[t][0],n))return t;return-1}Ase.exports=lQe});var Lse=Pe((oda,xse)=>{var cQe=rC(),sQe=Array.prototype,fQe=sQe.splice;function vQe(e){var n=this.__data__,t=cQe(n,e);if(t<0)return!1;var a=n.length-1;return t==a?n.pop():fQe.call(n,t,1),--this.size,!0}xse.exports=vQe});var Nse=Pe((ida,jse)=>{var mQe=rC();function pQe(e){var n=this.__data__,t=mQe(n,e);return t<0?void 0:n[t][1]}jse.exports=pQe});var Ose=Pe((uda,Pse)=>{var _Qe=rC();function dQe(e){return _Qe(this.__data__,e)>-1}Pse.exports=dQe});var Use=Pe((lda,kse)=>{var hQe=rC();function gQe(e,n){var t=this.__data__,a=hQe(t,e);return a<0?(++this.size,t.push([e,n])):t[a][1]=n,this}kse.exports=gQe});var oC=Pe((cda,Hse)=>{var DQe=Mse(),yQe=Lse(),bQe=Nse(),RQe=Ose(),wQe=Use();function Qy(e){var n=-1,t=e==null?0:e.length;for(this.clear();++n{var SQe=oC();function EQe(){this.__data__=new SQe,this.size=0}Bse.exports=EQe});var qse=Pe((fda,Wse)=>{function CQe(e){var n=this.__data__,t=n.delete(e);return this.size=n.size,t}Wse.exports=CQe});var $se=Pe((vda,zse)=>{function IQe(e){return this.__data__.get(e)}zse.exports=IQe});var Qse=Pe((mda,Vse)=>{function TQe(e){return this.__data__.has(e)}Vse.exports=TQe});var _P=Pe((pda,Yse)=>{var FQe=typeof global=="object"&&global&&global.Object===Object&&global;Yse.exports=FQe});var R0=Pe((_da,Xse)=>{var MQe=_P(),GQe=typeof self=="object"&&self&&self.Object===Object&&self,AQe=MQe||GQe||Function("return this")();Xse.exports=AQe});var i3=Pe((dda,Zse)=>{var xQe=R0(),LQe=xQe.Symbol;Zse.exports=LQe});var tfe=Pe((hda,nfe)=>{var Kse=i3(),efe=Object.prototype,jQe=efe.hasOwnProperty,NQe=efe.toString,iC=Kse?Kse.toStringTag:void 0;function PQe(e){var n=jQe.call(e,iC),t=e[iC];try{e[iC]=void 0;var a=!0}catch{}var r=NQe.call(e);return a&&(n?e[iC]=t:delete e[iC]),r}nfe.exports=PQe});var rfe=Pe((gda,afe)=>{var OQe=Object.prototype,kQe=OQe.toString;function UQe(e){return kQe.call(e)}afe.exports=UQe});var uC=Pe((Dda,ufe)=>{var ofe=i3(),HQe=tfe(),BQe=rfe(),JQe="[object Null]",WQe="[object Undefined]",ife=ofe?ofe.toStringTag:void 0;function qQe(e){return e==null?e===void 0?WQe:JQe:ife&&ife in Object(e)?HQe(e):BQe(e)}ufe.exports=qQe});var dP=Pe((yda,lfe)=>{function zQe(e){var n=typeof e;return e!=null&&(n=="object"||n=="function")}lfe.exports=zQe});var hP=Pe((bda,cfe)=>{var $Qe=uC(),VQe=dP(),QQe="[object AsyncFunction]",YQe="[object Function]",XQe="[object GeneratorFunction]",ZQe="[object Proxy]";function KQe(e){if(!VQe(e))return!1;var n=$Qe(e);return n==YQe||n==XQe||n==QQe||n==ZQe}cfe.exports=KQe});var ffe=Pe((Rda,sfe)=>{var eYe=R0(),nYe=eYe["__core-js_shared__"];sfe.exports=nYe});var pfe=Pe((wda,mfe)=>{var gP=ffe(),vfe=function(){var e=/[^.]+$/.exec(gP&&gP.keys&&gP.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function tYe(e){return!!vfe&&vfe in e}mfe.exports=tYe});var DP=Pe((Sda,_fe)=>{var aYe=Function.prototype,rYe=aYe.toString;function oYe(e){if(e!=null){try{return rYe.call(e)}catch{}try{return e+""}catch{}}return""}_fe.exports=oYe});var hfe=Pe((Eda,dfe)=>{var iYe=hP(),uYe=pfe(),lYe=dP(),cYe=DP(),sYe=/[\\^$.*+?()[\]{}|]/g,fYe=/^\[object .+?Constructor\]$/,vYe=Function.prototype,mYe=Object.prototype,pYe=vYe.toString,_Ye=mYe.hasOwnProperty,dYe=RegExp("^"+pYe.call(_Ye).replace(sYe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function hYe(e){if(!lYe(e)||uYe(e))return!1;var n=iYe(e)?dYe:fYe;return n.test(cYe(e))}dfe.exports=hYe});var Dfe=Pe((Cda,gfe)=>{function gYe(e,n){return e==null?void 0:e[n]}gfe.exports=gYe});var Sg=Pe((Ida,yfe)=>{var DYe=hfe(),yYe=Dfe();function bYe(e,n){var t=yYe(e,n);return DYe(t)?t:void 0}yfe.exports=bYe});var u3=Pe((Tda,bfe)=>{var RYe=Sg(),wYe=R0(),SYe=RYe(wYe,"Map");bfe.exports=SYe});var lC=Pe((Fda,Rfe)=>{var EYe=Sg(),CYe=EYe(Object,"create");Rfe.exports=CYe});var Efe=Pe((Mda,Sfe)=>{var wfe=lC();function IYe(){this.__data__=wfe?wfe(null):{},this.size=0}Sfe.exports=IYe});var Ife=Pe((Gda,Cfe)=>{function TYe(e){var n=this.has(e)&&delete this.__data__[e];return this.size-=n?1:0,n}Cfe.exports=TYe});var Ffe=Pe((Ada,Tfe)=>{var FYe=lC(),MYe="__lodash_hash_undefined__",GYe=Object.prototype,AYe=GYe.hasOwnProperty;function xYe(e){var n=this.__data__;if(FYe){var t=n[e];return t===MYe?void 0:t}return AYe.call(n,e)?n[e]:void 0}Tfe.exports=xYe});var Gfe=Pe((xda,Mfe)=>{var LYe=lC(),jYe=Object.prototype,NYe=jYe.hasOwnProperty;function PYe(e){var n=this.__data__;return LYe?n[e]!==void 0:NYe.call(n,e)}Mfe.exports=PYe});var xfe=Pe((Lda,Afe)=>{var OYe=lC(),kYe="__lodash_hash_undefined__";function UYe(e,n){var t=this.__data__;return this.size+=this.has(e)?0:1,t[e]=OYe&&n===void 0?kYe:n,this}Afe.exports=UYe});var jfe=Pe((jda,Lfe)=>{var HYe=Efe(),BYe=Ife(),JYe=Ffe(),WYe=Gfe(),qYe=xfe();function Yy(e){var n=-1,t=e==null?0:e.length;for(this.clear();++n{var Nfe=jfe(),zYe=oC(),$Ye=u3();function VYe(){this.size=0,this.__data__={hash:new Nfe,map:new($Ye||zYe),string:new Nfe}}Pfe.exports=VYe});var Ufe=Pe((Pda,kfe)=>{function QYe(e){var n=typeof e;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?e!=="__proto__":e===null}kfe.exports=QYe});var cC=Pe((Oda,Hfe)=>{var YYe=Ufe();function XYe(e,n){var t=e.__data__;return YYe(n)?t[typeof n=="string"?"string":"hash"]:t.map}Hfe.exports=XYe});var Jfe=Pe((kda,Bfe)=>{var ZYe=cC();function KYe(e){var n=ZYe(this,e).delete(e);return this.size-=n?1:0,n}Bfe.exports=KYe});var qfe=Pe((Uda,Wfe)=>{var eXe=cC();function nXe(e){return eXe(this,e).get(e)}Wfe.exports=nXe});var $fe=Pe((Hda,zfe)=>{var tXe=cC();function aXe(e){return tXe(this,e).has(e)}zfe.exports=aXe});var Qfe=Pe((Bda,Vfe)=>{var rXe=cC();function oXe(e,n){var t=rXe(this,e),a=t.size;return t.set(e,n),this.size+=t.size==a?0:1,this}Vfe.exports=oXe});var yP=Pe((Jda,Yfe)=>{var iXe=Ofe(),uXe=Jfe(),lXe=qfe(),cXe=$fe(),sXe=Qfe();function Xy(e){var n=-1,t=e==null?0:e.length;for(this.clear();++n{var fXe=oC(),vXe=u3(),mXe=yP(),pXe=200;function _Xe(e,n){var t=this.__data__;if(t instanceof fXe){var a=t.__data__;if(!vXe||a.length{var dXe=oC(),hXe=Jse(),gXe=qse(),DXe=$se(),yXe=Qse(),bXe=Zfe();function Zy(e){var n=this.__data__=new dXe(e);this.size=n.size}Zy.prototype.clear=hXe;Zy.prototype.delete=gXe;Zy.prototype.get=DXe;Zy.prototype.has=yXe;Zy.prototype.set=bXe;Kfe.exports=Zy});var tve=Pe((zda,nve)=>{var RXe="__lodash_hash_undefined__";function wXe(e){return this.__data__.set(e,RXe),this}nve.exports=wXe});var rve=Pe(($da,ave)=>{function SXe(e){return this.__data__.has(e)}ave.exports=SXe});var ive=Pe((Vda,ove)=>{var EXe=yP(),CXe=tve(),IXe=rve();function l3(e){var n=-1,t=e==null?0:e.length;for(this.__data__=new EXe;++n{function TXe(e,n){for(var t=-1,a=e==null?0:e.length;++t{function FXe(e,n){return e.has(n)}cve.exports=FXe});var bP=Pe((Xda,fve)=>{var MXe=ive(),GXe=lve(),AXe=sve(),xXe=1,LXe=2;function jXe(e,n,t,a,r,o){var i=t&xXe,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&LXe?new MXe:void 0;for(o.set(e,n),o.set(n,e);++f{var NXe=R0(),PXe=NXe.Uint8Array;vve.exports=PXe});var _ve=Pe((Kda,pve)=>{function OXe(e){var n=-1,t=Array(e.size);return e.forEach(function(a,r){t[++n]=[r,a]}),t}pve.exports=OXe});var hve=Pe((eha,dve)=>{function kXe(e){var n=-1,t=Array(e.size);return e.forEach(function(a){t[++n]=a}),t}dve.exports=kXe});var Rve=Pe((nha,bve)=>{var gve=i3(),Dve=mve(),UXe=pP(),HXe=bP(),BXe=_ve(),JXe=hve(),WXe=1,qXe=2,zXe="[object Boolean]",$Xe="[object Date]",VXe="[object Error]",QXe="[object Map]",YXe="[object Number]",XXe="[object RegExp]",ZXe="[object Set]",KXe="[object String]",eZe="[object Symbol]",nZe="[object ArrayBuffer]",tZe="[object DataView]",yve=gve?gve.prototype:void 0,RP=yve?yve.valueOf:void 0;function aZe(e,n,t,a,r,o,i){switch(t){case tZe:if(e.byteLength!=n.byteLength||e.byteOffset!=n.byteOffset)return!1;e=e.buffer,n=n.buffer;case nZe:return!(e.byteLength!=n.byteLength||!o(new Dve(e),new Dve(n)));case zXe:case $Xe:case YXe:return UXe(+e,+n);case VXe:return e.name==n.name&&e.message==n.message;case XXe:case KXe:return e==n+"";case QXe:var u=BXe;case ZXe:var l=a&WXe;if(u||(u=JXe),e.size!=n.size&&!l)return!1;var c=i.get(e);if(c)return c==n;a|=qXe,i.set(e,n);var s=HXe(u(e),u(n),a,r,o,i);return i.delete(e),s;case eZe:if(RP)return RP.call(e)==RP.call(n)}return!1}bve.exports=aZe});var Sve=Pe((tha,wve)=>{function rZe(e,n){for(var t=-1,a=n.length,r=e.length;++t{var oZe=Array.isArray;Eve.exports=oZe});var Ive=Pe((rha,Cve)=>{var iZe=Sve(),uZe=c3();function lZe(e,n,t){var a=n(e);return uZe(e)?a:iZe(a,t(e))}Cve.exports=lZe});var Fve=Pe((oha,Tve)=>{function cZe(e,n){for(var t=-1,a=e==null?0:e.length,r=0,o=[];++t{function sZe(){return[]}Mve.exports=sZe});var Lve=Pe((uha,xve)=>{var fZe=Fve(),vZe=Gve(),mZe=Object.prototype,pZe=mZe.propertyIsEnumerable,Ave=Object.getOwnPropertySymbols,_Ze=Ave?function(e){return e==null?[]:(e=Object(e),fZe(Ave(e),function(n){return pZe.call(e,n)}))}:vZe;xve.exports=_Ze});var Nve=Pe((lha,jve)=>{function dZe(e,n){for(var t=-1,a=Array(e);++t{function hZe(e){return e!=null&&typeof e=="object"}Pve.exports=hZe});var kve=Pe((sha,Ove)=>{var gZe=uC(),DZe=sC(),yZe="[object Arguments]";function bZe(e){return DZe(e)&&gZe(e)==yZe}Ove.exports=bZe});var Jve=Pe((fha,Bve)=>{var Uve=kve(),RZe=sC(),Hve=Object.prototype,wZe=Hve.hasOwnProperty,SZe=Hve.propertyIsEnumerable,EZe=Uve(function(){return arguments}())?Uve:function(e){return RZe(e)&&wZe.call(e,"callee")&&!SZe.call(e,"callee")};Bve.exports=EZe});var qve=Pe((vha,Wve)=>{function CZe(){return!1}Wve.exports=CZe});var wP=Pe((fC,Ky)=>{var IZe=R0(),TZe=qve(),zve=typeof fC=="object"&&fC&&!fC.nodeType&&fC,$ve=zve&&typeof Ky=="object"&&Ky&&!Ky.nodeType&&Ky,FZe=$ve&&$ve.exports===zve,Vve=FZe?IZe.Buffer:void 0,MZe=Vve?Vve.isBuffer:void 0,GZe=MZe||TZe;Ky.exports=GZe});var Yve=Pe((mha,Qve)=>{var AZe=9007199254740991,xZe=/^(?:0|[1-9]\d*)$/;function LZe(e,n){var t=typeof e;return n=n==null?AZe:n,!!n&&(t=="number"||t!="symbol"&&xZe.test(e))&&e>-1&&e%1==0&&e{var jZe=9007199254740991;function NZe(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=jZe}Xve.exports=NZe});var Kve=Pe((_ha,Zve)=>{var PZe=uC(),OZe=SP(),kZe=sC(),UZe="[object Arguments]",HZe="[object Array]",BZe="[object Boolean]",JZe="[object Date]",WZe="[object Error]",qZe="[object Function]",zZe="[object Map]",$Ze="[object Number]",VZe="[object Object]",QZe="[object RegExp]",YZe="[object Set]",XZe="[object String]",ZZe="[object WeakMap]",KZe="[object ArrayBuffer]",eKe="[object DataView]",nKe="[object Float32Array]",tKe="[object Float64Array]",aKe="[object Int8Array]",rKe="[object Int16Array]",oKe="[object Int32Array]",iKe="[object Uint8Array]",uKe="[object Uint8ClampedArray]",lKe="[object Uint16Array]",cKe="[object Uint32Array]",qr={};qr[nKe]=qr[tKe]=qr[aKe]=qr[rKe]=qr[oKe]=qr[iKe]=qr[uKe]=qr[lKe]=qr[cKe]=!0;qr[UZe]=qr[HZe]=qr[KZe]=qr[BZe]=qr[eKe]=qr[JZe]=qr[WZe]=qr[qZe]=qr[zZe]=qr[$Ze]=qr[VZe]=qr[QZe]=qr[YZe]=qr[XZe]=qr[ZZe]=!1;function sKe(e){return kZe(e)&&OZe(e.length)&&!!qr[PZe(e)]}Zve.exports=sKe});var n0e=Pe((dha,e0e)=>{function fKe(e){return function(n){return e(n)}}e0e.exports=fKe});var a0e=Pe((mC,eb)=>{var vKe=_P(),t0e=typeof mC=="object"&&mC&&!mC.nodeType&&mC,vC=t0e&&typeof eb=="object"&&eb&&!eb.nodeType&&eb,mKe=vC&&vC.exports===t0e,EP=mKe&&vKe.process,pKe=function(){try{var e=vC&&vC.require&&vC.require("util").types;return e||EP&&EP.binding&&EP.binding("util")}catch{}}();eb.exports=pKe});var CP=Pe((hha,i0e)=>{var _Ke=Kve(),dKe=n0e(),r0e=a0e(),o0e=r0e&&r0e.isTypedArray,hKe=o0e?dKe(o0e):_Ke;i0e.exports=hKe});var l0e=Pe((gha,u0e)=>{var gKe=Nve(),DKe=Jve(),yKe=c3(),bKe=wP(),RKe=Yve(),wKe=CP(),SKe=Object.prototype,EKe=SKe.hasOwnProperty;function CKe(e,n){var t=yKe(e),a=!t&&DKe(e),r=!t&&!a&&bKe(e),o=!t&&!a&&!r&&wKe(e),i=t||a||r||o,u=i?gKe(e.length,String):[],l=u.length;for(var c in e)(n||EKe.call(e,c))&&!(i&&(c=="length"||r&&(c=="offset"||c=="parent")||o&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||RKe(c,l)))&&u.push(c);return u}u0e.exports=CKe});var s0e=Pe((Dha,c0e)=>{var IKe=Object.prototype;function TKe(e){var n=e&&e.constructor,t=typeof n=="function"&&n.prototype||IKe;return e===t}c0e.exports=TKe});var v0e=Pe((yha,f0e)=>{function FKe(e,n){return function(t){return e(n(t))}}f0e.exports=FKe});var p0e=Pe((bha,m0e)=>{var MKe=v0e(),GKe=MKe(Object.keys,Object);m0e.exports=GKe});var d0e=Pe((Rha,_0e)=>{var AKe=s0e(),xKe=p0e(),LKe=Object.prototype,jKe=LKe.hasOwnProperty;function NKe(e){if(!AKe(e))return xKe(e);var n=[];for(var t in Object(e))jKe.call(e,t)&&t!="constructor"&&n.push(t);return n}_0e.exports=NKe});var g0e=Pe((wha,h0e)=>{var PKe=hP(),OKe=SP();function kKe(e){return e!=null&&OKe(e.length)&&!PKe(e)}h0e.exports=kKe});var y0e=Pe((Sha,D0e)=>{var UKe=l0e(),HKe=d0e(),BKe=g0e();function JKe(e){return BKe(e)?UKe(e):HKe(e)}D0e.exports=JKe});var R0e=Pe((Eha,b0e)=>{var WKe=Ive(),qKe=Lve(),zKe=y0e();function $Ke(e){return WKe(e,zKe,qKe)}b0e.exports=$Ke});var E0e=Pe((Cha,S0e)=>{var w0e=R0e(),VKe=1,QKe=Object.prototype,YKe=QKe.hasOwnProperty;function XKe(e,n,t,a,r,o){var i=t&VKe,u=w0e(e),l=u.length,c=w0e(n),s=c.length;if(l!=s&&!i)return!1;for(var f=l;f--;){var v=u[f];if(!(i?v in n:YKe.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 ZKe=Sg(),KKe=R0(),een=ZKe(KKe,"DataView");C0e.exports=een});var F0e=Pe((Tha,T0e)=>{var nen=Sg(),ten=R0(),aen=nen(ten,"Promise");T0e.exports=aen});var G0e=Pe((Fha,M0e)=>{var ren=Sg(),oen=R0(),ien=ren(oen,"Set");M0e.exports=ien});var x0e=Pe((Mha,A0e)=>{var uen=Sg(),len=R0(),cen=uen(len,"WeakMap");A0e.exports=cen});var H0e=Pe((Gha,U0e)=>{var IP=I0e(),TP=u3(),FP=F0e(),MP=G0e(),GP=x0e(),L0e=uC(),nb=DP(),j0e="[object Map]",sen="[object Object]",N0e="[object Promise]",P0e="[object Set]",O0e="[object WeakMap]",k0e="[object DataView]",fen=nb(IP),ven=nb(TP),men=nb(FP),pen=nb(MP),_en=nb(GP),Eg=L0e;(IP&&Eg(new IP(new ArrayBuffer(1)))!=k0e||TP&&Eg(new TP)!=j0e||FP&&Eg(FP.resolve())!=N0e||MP&&Eg(new MP)!=P0e||GP&&Eg(new GP)!=O0e)&&(Eg=function(e){var n=L0e(e),t=n==sen?e.constructor:void 0,a=t?nb(t):"";if(a)switch(a){case fen:return k0e;case ven:return j0e;case men:return N0e;case pen:return P0e;case _en:return O0e}return n});U0e.exports=Eg});var Q0e=Pe((Aha,V0e)=>{var AP=eve(),den=bP(),hen=Rve(),gen=E0e(),B0e=H0e(),J0e=c3(),W0e=wP(),Den=CP(),yen=1,q0e="[object Arguments]",z0e="[object Array]",s3="[object Object]",ben=Object.prototype,$0e=ben.hasOwnProperty;function Ren(e,n,t,a,r,o){var i=J0e(e),u=J0e(n),l=i?z0e:B0e(e),c=u?z0e:B0e(n);l=l==q0e?s3:l,c=c==q0e?s3:c;var s=l==s3,f=c==s3,v=l==c;if(v&&W0e(e)){if(!W0e(n))return!1;i=!0,s=!1}if(v&&!s)return o||(o=new AP),i||Den(e)?den(e,n,t,a,r,o):hen(e,n,l,t,a,r,o);if(!(t¥)){var m=s&&$0e.call(e,"__wrapped__"),_=f&&$0e.call(n,"__wrapped__");if(m||_){var R=m?e.value():e,D=_?n.value():n;return o||(o=new AP),r(R,D,t,a,o)}}return v?(o||(o=new AP),gen(e,n,t,a,r,o)):!1}V0e.exports=Ren});var K0e=Pe((xha,Z0e)=>{var wen=Q0e(),Y0e=sC();function X0e(e,n,t,a,r){return e===n?!0:e==null||n==null||!Y0e(e)&&!Y0e(n)?e!==e&&n!==n:wen(e,n,t,a,X0e,r)}Z0e.exports=X0e});var nme=Pe((Lha,eme)=>{var Sen=K0e();function Een(e,n){return Sen(e,n)}eme.exports=Een});var Nme=Pe((IDa,Ken)=>{Ken.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 b3=Pe(bC=>{"use strict";Object.defineProperty(bC,"__esModule",{value:!0});bC.Direction=void 0;var Ttn;(function(e){e.Right="to right",e.Left="to left",e.Down="to bottom",e.Up="to top"})(Ttn=bC.Direction||(bC.Direction={}))});var lO=Pe(Yt=>{"use strict";var RC=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=Ltn;function jtn(e,n,t){return et?t:e}Yt.checkValuesAgainstBoundaries=jtn;function Ntn(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=Ntn;function Ptn(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=Ptn;function Otn(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=Otn;function ktn(e,n,t){var a=t?-1:1;e.forEach(function(r,o){return kpe(r,a*n[o].x,n[o].y)})}Yt.translateThumbs=ktn;function Utn(e,n,t,a){for(var r=0,o=Hpe(e[0],n,t,a),i=1;ii?l:i},e.getBoundingClientRect().width));return o},ztn=function(e,n,t,a,r,o,i){i===void 0&&(i=function(c){return c});var u=[],l=function(c){var s=Upe(t[c],a[c],r,o,i),f=n[c].x;n.forEach(function(v,m){var _=v.x,R=Upe(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=RC(RC([],u,!0),[c,m],!1),l(m)))})};return l(e),Array.from(new Set(u.sort()))},$tn=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,uO.useState)({}),l=u[0],c=u[1],s=(0,uO.useState)(o(n[t].toFixed(i))),f=s[0],v=s[1];return(0,uO.useEffect)(function(){if(e){var m=e.getThumbs();if(m.length<1)return;var _={},R=e.getOffsets(),D=ztn(t,R,m,n,r,i,o),y=o(n[t].toFixed(i));if(D.length){var S=D.reduce(function(k,oe,le,ve){return k.length?RC(RC([],k,!0),[R[ve[le]].x],!1):[R[ve[le]].x]},[]);if(Math.min.apply(Math,S)===R[t].x){var G=[];D.forEach(function(k){G.push(n[k].toFixed(i))}),y=Array.from(new Set(G.sort(function(k,oe){return parseFloat(k)-parseFloat(oe)}))).map(o).join(r);var P=Math.min.apply(Math,S),O=Math.max.apply(Math,S),M=m[D[S.indexOf(O)]].getBoundingClientRect().width;_.left="".concat(Math.abs(P-(O+M))/2,"px"),_.transform="translate(-50%, 0)"}else _.visibility="hidden"}v(y),c(_)}},[e,n]),[f,l]};Yt.useThumbOverlap=$tn;function Hpe(e,n,t,a){var r=e.getBoundingClientRect(),o=r.left,i=r.top,u=r.width,l=r.height;return Ope(a)?Math.abs(t-(i+l/2)):Math.abs(n-(o+u/2))}});var Jpe=Pe(Hc=>{"use strict";var Vtn=Hc&&Hc.__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)}}(),Qtn=Hc&&Hc.__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]}),Ytn=Hc&&Hc.__setModuleDefault||(Object.create?function(e,n){Object.defineProperty(e,"default",{enumerable:!0,value:n})}:function(e,n){e.default=n}),Xtn=Hc&&Hc.__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)&&Qtn(n,e,t);return Ytn(n,e),n},Bpe=Hc&&Hc.__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,Ja.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,Ja.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,Ja.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,Ja.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===Oi.Direction.Left||s===Oi.Direction.Down?-1:1;v!==-1&&(Ztn.includes(r.key)?(r.preventDefault(),a.setState({draggedThumbIndex:v,isChanged:!0}),u((0,Ja.replaceAt)(i,v,a.normalizeValue(i[v]+m*(r.key==="PageUp"?l*10:l),v)))):Ktn.includes(r.key)?(r.preventDefault(),a.setState({draggedThumbIndex:v,isChanged:!0}),u((0,Ja.replaceAt)(i,v,a.normalizeValue(i[v]-m*(r.key==="PageDown"?l*10:l),v)))):r.key==="Tab"?a.setState({draggedThumbIndex:-1},function(){f&&a.fireOnFinalChange()}):f&&a.fireOnFinalChange())},a.onKeyUp=function(r){var o=a.state.isChanged;a.setState({draggedThumbIndex:-1},function(){o&&a.fireOnFinalChange()})},a.onMove=function(r,o){var i=a.state,u=i.draggedThumbIndex,l=i.draggedTrackPos,c=a.props,s=c.direction,f=c.min,v=c.max,m=c.onChange,_=c.values,R=c.step,D=c.rtl;if(u===-1&&l[0]===-1&&l[1]===-1)return null;var y=a.trackRef.current;if(!y)return null;var S=y.getBoundingClientRect(),G=(0,Ja.isVertical)(s)?S.height:S.width;if(l[0]!==-1&&l[1]!==-1){var P=r-l[0],O=o-l[1],M=0;switch(s){case Oi.Direction.Right:case Oi.Direction.Left:M=P/G*(v-f);break;case Oi.Direction.Down:case Oi.Direction.Up:M=O/G*(v-f);break;default:(0,Ja.assertUnreachable)(s)}if(D&&(M*=-1),Math.abs(M)>=R/2){for(var k=0;kv?M=v-_[k]:oe=R/2&&m((0,Ja.replaceAt)(_,u,a.normalizeValue(ve,u)))}},a.normalizeValue=function(r,o){var i=a.props,u=i.min,l=i.max,c=i.step,s=i.allowOverlap,f=i.values;return(0,Ja.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,Ja.isVertical)(this.props.direction)?"ns-resize":"ew-resize":l.length===1&&!v?"pointer":"inherit"},onMouseDown:v?Ja.voidFn:this.onMouseDownTrack,onTouchStart:v?Ja.voidFn:this.onTouchStartTrack,ref:this.trackRef},isDragged:this.state.draggedThumbIndex>-1,disabled:v,children:Bpe(Bpe([],D.map(function(y,S,G){return u({props:{style:t.props.direction===Oi.Direction.Left||t.props.direction===Oi.Direction.Right?{position:"absolute",left:"".concat(y[0],"px"),marginTop:"".concat(y[1],"px")}:{position:"absolute",top:"".concat(y[0],"px"),marginLeft:"".concat(y[1],"px")},key:"mark".concat(S),ref:t.markRefs[S]},index:S})}),!0),l.map(function(y,S){var G=t.state.draggedThumbIndex===S;return o({index:S,value:y,isDragged:G,props:{style:{position:"absolute",zIndex:R[S],cursor:v?"inherit":G?"grabbing":"grab",userSelect:"none",touchAction:"none",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none"},key:S,tabIndex:v?void 0:0,"aria-valuemax":f?s:l[S+1]||s,"aria-valuemin":f?c:l[S-1]||c,"aria-valuenow":y,draggable:!1,ref:t.thumbRefs[S],role:"slider",onKeyDown:v?Ja.voidFn:t.onKeyDown,onKeyUp:v?Ja.voidFn:t.onKeyUp}})}),!0)})},n.defaultProps={step:1,direction:Oi.Direction.Right,rtl:!1,disabled:!1,allowOverlap:!1,draggableTrack:!1,min:0,max:100},n}(R3.Component);Hc.default=ean});var Wpe=Pe(Nu=>{"use strict";var nan=Nu&&Nu.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Nu,"__esModule",{value:!0});Nu.checkValuesAgainstBoundaries=Nu.relativeValue=Nu.useThumbOverlap=Nu.Direction=Nu.getTrackBackground=Nu.Range=void 0;var tan=nan(Jpe());Nu.Range=tan.default;var w3=lO();Object.defineProperty(Nu,"getTrackBackground",{enumerable:!0,get:function(){return w3.getTrackBackground}});Object.defineProperty(Nu,"useThumbOverlap",{enumerable:!0,get:function(){return w3.useThumbOverlap}});Object.defineProperty(Nu,"relativeValue",{enumerable:!0,get:function(){return w3.relativeValue}});Object.defineProperty(Nu,"checkValuesAgainstBoundaries",{enumerable:!0,get:function(){return w3.checkValuesAgainstBoundaries}});var aan=b3();Object.defineProperty(Nu,"Direction",{enumerable:!0,get:function(){return aan.Direction}})});var h_e=Pe(ir=>{"use strict";var ub,EC,M3,gO;typeof performance=="object"&&typeof performance.now=="function"?(v_e=performance,ir.unstable_now=function(){return v_e.now()}):(DO=Date,m_e=DO.now(),ir.unstable_now=function(){return DO.now()-m_e});var v_e,DO,m_e;typeof window=="undefined"||typeof MessageChannel!="function"?(lb=null,yO=null,bO=function(){if(lb!==null)try{var e=ir.unstable_now();lb(!0,e),lb=null}catch(n){throw setTimeout(bO,0),n}},ub=function(e){lb!==null?setTimeout(ub,0,e):(lb=e,setTimeout(bO,0))},EC=function(e,n){yO=setTimeout(e,n)},M3=function(){clearTimeout(yO)},ir.unstable_shouldYield=function(){return!1},gO=ir.unstable_forceFrameRate=function(){}):(p_e=window.setTimeout,__e=window.clearTimeout,typeof console!="undefined"&&(d_e=window.cancelAnimationFrame,typeof window.requestAnimationFrame!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),typeof d_e!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")),CC=!1,IC=null,G3=-1,RO=5,wO=0,ir.unstable_shouldYield=function(){return ir.unstable_now()>=wO},gO=function(){},ir.unstable_forceFrameRate=function(e){0>e||125>>1,r=e[a];if(r!==void 0&&0L3(i,t))l!==void 0&&0>L3(l,i)?(e[a]=l,e[u]=t,a=u):(e[a]=i,e[o]=t,a=o);else if(l!==void 0&&0>L3(l,t))e[a]=l,e[u]=t,a=u;else break e}}return n}return null}function L3(e,n){var t=e.sortIndex-n.sortIndex;return t!==0?t:e.id-n.id}var E0=[],Q_=[],Lan=1,Js=null,Pu=3,j3=!1,Gg=!1,TC=!1;function CO(e){for(var n=sv(Q_);n!==null;){if(n.callback===null)x3(Q_);else if(n.startTime<=e)x3(Q_),n.sortIndex=n.expirationTime,EO(E0,n);else break;n=sv(Q_)}}function IO(e){if(TC=!1,CO(e),!Gg)if(sv(E0)!==null)Gg=!0,ub(TO);else{var n=sv(Q_);n!==null&&EC(IO,n.startTime-e)}}function TO(e,n){Gg=!1,TC&&(TC=!1,M3()),j3=!0;var t=Pu;try{for(CO(n),Js=sv(E0);Js!==null&&(!(Js.expirationTime>n)||e&&!ir.unstable_shouldYield());){var a=Js.callback;if(typeof a=="function"){Js.callback=null,Pu=Js.priorityLevel;var r=a(Js.expirationTime<=n);n=ir.unstable_now(),typeof r=="function"?Js.callback=r:Js===sv(E0)&&x3(E0),CO(n)}else x3(E0);Js=sv(E0)}if(Js!==null)var o=!0;else{var i=sv(Q_);i!==null&&EC(IO,i.startTime-n),o=!1}return o}finally{Js=null,Pu=t,j3=!1}}var jan=gO;ir.unstable_IdlePriority=5;ir.unstable_ImmediatePriority=1;ir.unstable_LowPriority=4;ir.unstable_NormalPriority=3;ir.unstable_Profiling=null;ir.unstable_UserBlockingPriority=2;ir.unstable_cancelCallback=function(e){e.callback=null};ir.unstable_continueExecution=function(){Gg||j3||(Gg=!0,ub(TO))};ir.unstable_getCurrentPriorityLevel=function(){return Pu};ir.unstable_getFirstCallbackNode=function(){return sv(E0)};ir.unstable_next=function(e){switch(Pu){case 1:case 2:case 3:var n=3;break;default:n=Pu}var t=Pu;Pu=n;try{return e()}finally{Pu=t}};ir.unstable_pauseExecution=function(){};ir.unstable_requestPaint=jan;ir.unstable_runWithPriority=function(e,n){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var t=Pu;Pu=e;try{return n()}finally{Pu=t}};ir.unstable_scheduleCallback=function(e,n,t){var a=ir.unstable_now();switch(typeof t=="object"&&t!==null?(t=t.delay,t=typeof t=="number"&&0a?(e.sortIndex=t,EO(Q_,e),sv(E0)===null&&e===sv(Q_)&&(TC?M3():TC=!0,EC(IO,t-a))):(e.sortIndex=r,EO(E0,e),Gg||j3||(Gg=!0,ub(TO))),e};ir.unstable_wrapCallback=function(e){var n=Pu;return function(){var t=Pu;Pu=n;try{return e.apply(this,arguments)}finally{Pu=t}}}});var D_e=Pe((s5a,g_e)=>{"use strict";g_e.exports=h_e()});var oge=Pe(Qs=>{"use strict";var N3=hs(),ao=QF(),Ki=D_e();function Sn(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;tn}return!1}function sl(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 hu={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){hu[e]=new sl(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];hu[n]=new sl(n,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){hu[e]=new sl(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){hu[e]=new sl(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){hu[e]=new sl(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){hu[e]=new sl(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){hu[e]=new sl(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){hu[e]=new sl(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){hu[e]=new sl(e,5,!1,e.toLowerCase(),null,!1,!1)});var FO=/[\-:]([a-z])/g;function MO(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(FO,MO);hu[n]=new sl(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(FO,MO);hu[n]=new sl(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(FO,MO);hu[n]=new sl(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){hu[e]=new sl(e,1,!1,e.toLowerCase(),null,!1,!1)});hu.xlinkHref=new sl("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){hu[e]=new sl(e,1,!1,e.toLowerCase(),null,!0,!0)});function GO(e,n,t,a){var r=hu.hasOwnProperty(n)?hu[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{HO=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?LC(e):""}function Uan(e){switch(e.tag){case 5:return LC(e.type);case 16:return LC("Lazy");case 13:return LC("Suspense");case 19:return LC("SuspenseList");case 0:case 2:case 15:return e=U3(e.type,!1),e;case 11:return e=U3(e.type.render,!1),e;case 22:return e=U3(e.type._render,!1),e;case 1:return e=U3(e.type,!0),e;default:return""}}function sb(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 Y_:return"Fragment";case Lg:return"Portal";case GC:return"Profiler";case AO:return"StrictMode";case AC:return"Suspense";case O3:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case LO:return(e.displayName||"Context")+".Consumer";case xO:return(e._context.displayName||"Context")+".Provider";case P3:var n=e.render;return n=n.displayName||n.name||"",e.displayName||(n!==""?"ForwardRef("+n+")":"ForwardRef");case k3:return sb(e.type);case NO:return sb(e._render);case jO:n=e._payload,e=e._init;try{return sb(e(n))}catch{}}return null}function X_(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function C_e(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function Han(e){var n=C_e(e)?"checked":"value",t=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),a=""+e[n];if(!e.hasOwnProperty(n)&&typeof t!="undefined"&&typeof t.get=="function"&&typeof t.set=="function"){var r=t.get,o=t.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return r.call(this)},set:function(i){a=""+i,o.call(this,i)}}),Object.defineProperty(e,n,{enumerable:t.enumerable}),{getValue:function(){return a},setValue:function(i){a=""+i},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function H3(e){e._valueTracker||(e._valueTracker=Han(e))}function I_e(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),a="";return e&&(a=C_e(e)?e.checked?"true":"false":e.value),e=a,e!==t?(n.setValue(e),!0):!1}function B3(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 BO(e,n){var t=n.checked;return ao({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t!=null?t:e._wrapperState.initialChecked})}function T_e(e,n){var t=n.defaultValue==null?"":n.defaultValue,a=n.checked!=null?n.checked:n.defaultChecked;t=X_(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 F_e(e,n){n=n.checked,n!=null&&GO(e,"checked",n,!1)}function JO(e,n){F_e(e,n);var t=X_(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")?WO(e,n.type,t):n.hasOwnProperty("defaultValue")&&WO(e,n.type,X_(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function M_e(e,n,t){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var a=n.type;if(!(a!=="submit"&&a!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+e._wrapperState.initialValue,t||n===e.value||(e.value=n),e.defaultValue=n}t=e.name,t!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,t!==""&&(e.name=t)}function WO(e,n,t){(n!=="number"||B3(e.ownerDocument)!==e)&&(t==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}function Ban(e){var n="";return N3.Children.forEach(e,function(t){t!=null&&(n+=t)}),n}function qO(e,n){return e=ao({children:void 0},n),(n=Ban(n.children))&&(e.children=n),e}function fb(e,n,t,a){if(e=e.options,n){n={};for(var r=0;r=t.length))throw Error(Sn(93));t=t[0]}n=t}n==null&&(n=""),t=n}e._wrapperState={initialValue:X_(t)}}function A_e(e,n){var t=X_(n.value),a=X_(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 x_e(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 L_e(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function VO(e,n){return e==null||e==="http://www.w3.org/1999/xhtml"?L_e(n):e==="http://www.w3.org/2000/svg"&&n==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var J3,j_e=function(e){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(n,t,a,r){MSApp.execUnsafeLocalFunction(function(){return e(n,t,a,r)})}:e}(function(e,n){if(e.namespaceURI!==$O.svg||"innerHTML"in e)e.innerHTML=n;else{for(J3=J3||document.createElement("div"),J3.innerHTML=""+n.valueOf().toString()+"",n=J3.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function jC(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&t.nodeType===3){t.nodeValue=n;return}}e.textContent=n}var NC={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},Jan=["Webkit","ms","Moz","O"];Object.keys(NC).forEach(function(e){Jan.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),NC[n]=NC[e]})});function N_e(e,n,t){return n==null||typeof n=="boolean"||n===""?"":t||typeof n!="number"||n===0||NC.hasOwnProperty(e)&&NC[e]?(""+n).trim():n+"px"}function P_e(e,n){e=e.style;for(var t in n)if(n.hasOwnProperty(t)){var a=t.indexOf("--")===0,r=N_e(t,n[t],a);t==="float"&&(t="cssFloat"),a?e.setProperty(t,r):e[t]=r}}var Wan=ao({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 QO(e,n){if(n){if(Wan[e]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(Sn(137,e));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(Sn(60));if(!(typeof n.dangerouslySetInnerHTML=="object"&&"__html"in n.dangerouslySetInnerHTML))throw Error(Sn(61))}if(n.style!=null&&typeof n.style!="object")throw Error(Sn(62))}}function YO(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 XO(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var ZO=null,vb=null,mb=null;function O_e(e){if(e=eI(e)){if(typeof ZO!="function")throw Error(Sn(280));var n=e.stateNode;n&&(n=sA(n),ZO(e.stateNode,e.type,n))}}function k_e(e){vb?mb?mb.push(e):mb=[e]:vb=e}function U_e(){if(vb){var e=vb,n=mb;if(mb=vb=null,O_e(e),n)for(e=0;ea?0:1<t;t++)n.push(e);return n}function Y3(e,n,t){e.pendingLanes|=n;var a=n-1;e.suspendedLanes&=a,e.pingedLanes&=a,e=e.eventTimes,n=31-nd(n),e[n]=t}var nd=Math.clz32?Math.clz32:irn,rrn=Math.log,orn=Math.LN2;function irn(e){return e===0?32:31-(rrn(e)/orn|0)|0}var urn=Ki.unstable_UserBlockingPriority,lrn=Ki.unstable_runWithPriority,X3=!0;function crn(e,n,t,a){jg||ek();var r=vk,o=jg;jg=!0;try{H_e(r,e,n,t,a)}finally{(jg=o)||tk()}}function srn(e,n,t,a){lrn(urn,vk.bind(null,e,n,t,a))}function vk(e,n,t,a){if(X3){var r;if((r=(n&4)==0)&&0=$C),mde=String.fromCharCode(32),pde=!1;function _de(e,n){switch(e){case"keyup":return xrn.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function dde(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Db=!1;function jrn(e,n){switch(e){case"compositionend":return dde(n);case"keypress":return n.which!==32?null:(pde=!0,mde);case"textInput":return e=n.data,e===mde&&pde?null:e;default:return null}}function Nrn(e,n){if(Db)return e==="compositionend"||!yk&&_de(e,n)?(e=ude(),Z3=pk=td=null,Db=!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=Rde(t)}}function Sde(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?Sde(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function Ede(){for(var e=window,n=B3();n instanceof e.HTMLIFrameElement;){try{var t=typeof n.contentWindow.location.href=="string"}catch{t=!1}if(t)e=n.contentWindow;else break;n=B3(e.document)}return n}function Rk(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 zrn=ep&&"documentMode"in document&&11>=document.documentMode,yb=null,wk=null,XC=null,Sk=!1;function Cde(e,n,t){var a=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;Sk||yb==null||yb!==B3(a)||(a=yb,"selectionStart"in a&&Rk(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}),XC&&YC(XC,a)||(XC=a,a=iA(wk,"onSelect"),0Eb||(e.current=Gk[Eb],Gk[Eb]=null,Eb--)}function jo(e,n){Eb++,Gk[Eb]=e.current,e.current=n}var od={},Ou=rd(od),Wl=rd(!1),Og=od;function Cb(e,n){var t=e.type.contextTypes;if(!t)return od;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 ql(e){return e=e.childContextTypes,e!=null}function fA(){$r(Wl),$r(Ou)}function Hde(e,n,t){if(Ou.current!==od)throw Error(Sn(168));jo(Ou,n),jo(Wl,t)}function Bde(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(Sn(108,sb(n)||"Unknown",r));return ao({},t,a)}function vA(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||od,Og=Ou.current,jo(Ou,e),jo(Wl,Wl.current),!0}function Jde(e,n,t){var a=e.stateNode;if(!a)throw Error(Sn(169));t?(e=Bde(e,n,Og),a.__reactInternalMemoizedMergedChildContext=e,$r(Wl),$r(Ou),jo(Ou,e)):$r(Wl),jo(Wl,t)}var Ak=null,kg=null,Qrn=Ki.unstable_runWithPriority,xk=Ki.unstable_scheduleCallback,Lk=Ki.unstable_cancelCallback,Yrn=Ki.unstable_shouldYield,Wde=Ki.unstable_requestPaint,jk=Ki.unstable_now,Xrn=Ki.unstable_getCurrentPriorityLevel,mA=Ki.unstable_ImmediatePriority,qde=Ki.unstable_UserBlockingPriority,zde=Ki.unstable_NormalPriority,$de=Ki.unstable_LowPriority,Vde=Ki.unstable_IdlePriority,Nk={},Zrn=Wde!==void 0?Wde:function(){},np=null,pA=null,Pk=!1,Qde=jk(),ku=1e4>Qde?jk:function(){return jk()-Qde};function Ib(){switch(Xrn()){case mA:return 99;case qde:return 98;case zde:return 97;case $de:return 96;case Vde:return 95;default:throw Error(Sn(332))}}function Yde(e){switch(e){case 99:return mA;case 98:return qde;case 97:return zde;case 96:return $de;case 95:return Vde;default:throw Error(Sn(332))}}function Ug(e,n){return e=Yde(e),Qrn(e,n)}function nI(e,n,t){return e=Yde(e),xk(e,n,t)}function I0(){if(pA!==null){var e=pA;pA=null,Lk(e)}Xde()}function Xde(){if(!Pk&&np!==null){Pk=!0;var e=0;try{var n=np;Ug(99,function(){for(;ek?(oe=M,M=null):oe=M.sibling;var le=v(D,M,S[k],G);if(le===null){M===null&&(M=oe);break}e&&M&&le.alternate===null&&n(D,M),y=o(le,y,k),O===null?P=le:O.sibling=le,O=le,M=oe}if(k===S.length)return t(D,M),P;if(M===null){for(;kk?(oe=M,M=null):oe=M.sibling;var ve=v(D,M,le.value,G);if(ve===null){M===null&&(M=oe);break}e&&M&&ve.alternate===null&&n(D,M),y=o(ve,y,k),O===null?P=ve:O.sibling=ve,O=ve,M=oe}if(le.done)return t(D,M),P;if(M===null){for(;!le.done;k++,le=S.next())le=f(D,le.value,G),le!==null&&(y=o(le,y,k),O===null?P=le:O.sibling=le,O=le);return P}for(M=a(D,M);!le.done;k++,le=S.next())le=m(M,D,k,le.value,G),le!==null&&(e&&le.alternate!==null&&M.delete(le.key===null?k:le.key),y=o(le,y,k),O===null?P=le:O.sibling=le,O=le);return e&&M.forEach(function(X){return n(D,X)}),P}return function(D,y,S,G){var P=typeof S=="object"&&S!==null&&S.type===Y_&&S.key===null;P&&(S=S.props.children);var O=typeof S=="object"&&S!==null;if(O)switch(S.$$typeof){case MC:e:{for(O=S.key,P=y;P!==null;){if(P.key===O){switch(P.tag){case 7:if(S.type===Y_){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=aI(D,P,S),y.return=D,D=y;break e}}t(D,P);break}else n(D,P);P=P.sibling}S.type===Y_?(y=Pb(S.props.children,D.mode,G,S.key),y.return=D,D=y):(G=kA(S.type,S.key,S.props,null,D.mode,G),G.ref=aI(D,y,S),G.return=D,D=G)}return i(D);case Lg: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=SU(S,D.mode,G),y.return=D,D=y}return i(D)}if(typeof S=="string"||typeof S=="number")return S=""+S,y!==null&&y.tag===6?(t(D,y.sibling),y=r(y,S),y.return=D,D=y):(t(D,y),y=wU(S,D.mode,G),y.return=D,D=y),i(D);if(yA(S))return _(D,y,S,G);if(xC(S))return R(D,y,S,G);if(O&&bA(D,S),typeof S=="undefined"&&!P)switch(D.tag){case 1:case 22:case 0:case 11:case 15:throw Error(Sn(152,sb(D.type)||"Component"))}return t(D,y)}}var RA=ihe(!0),uhe=ihe(!1),rI={},T0=rd(rI),oI=rd(rI),iI=rd(rI);function Hg(e){if(e===rI)throw Error(Sn(174));return e}function Bk(e,n){switch(jo(iI,n),jo(oI,e),jo(T0,rI),e=n.nodeType,e){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:VO(null,"");break;default:e=e===8?n.parentNode:n,n=e.namespaceURI||null,e=e.tagName,n=VO(n,e)}$r(T0),jo(T0,n)}function Mb(){$r(T0),$r(oI),$r(iI)}function lhe(e){Hg(iI.current);var n=Hg(T0.current),t=VO(n,e.type);n!==t&&(jo(oI,e),jo(T0,t))}function Jk(e){oI.current===e&&($r(T0),$r(oI))}var No=rd(0);function wA(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 tp=null,cd=null,F0=!1;function che(e,n){var t=Vs(5,null,null,0);t.elementType="DELETED",t.type="DELETED",t.stateNode=n,t.return=e,t.flags=8,e.lastEffect!==null?(e.lastEffect.nextEffect=t,e.lastEffect=t):e.firstEffect=e.lastEffect=t}function she(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 Wk(e){if(F0){var n=cd;if(n){var t=n;if(!she(e,n)){if(n=Rb(t.nextSibling),!n||!she(e,n)){e.flags=e.flags&-1025|2,F0=!1,tp=e;return}che(tp,t)}tp=e,cd=Rb(n.firstChild)}else e.flags=e.flags&-1025|2,F0=!1,tp=e}}function fhe(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;tp=e}function SA(e){if(e!==tp)return!1;if(!F0)return fhe(e),F0=!0,!1;var n=e.type;if(e.tag!==5||n!=="head"&&n!=="body"&&!Tk(n,e.memoizedProps))for(n=cd;n;)che(e,n),n=Rb(n.nextSibling);if(fhe(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(Sn(317));e:{for(e=e.nextSibling,n=0;e;){if(e.nodeType===8){var t=e.data;if(t==="/$"){if(n===0){cd=Rb(e.nextSibling);break e}n--}else t!=="$"&&t!=="$!"&&t!=="$?"||n++}e=e.nextSibling}cd=null}}else cd=tp?Rb(e.stateNode.nextSibling):null;return!0}function qk(){cd=tp=null,F0=!1}var Gb=[];function zk(){for(var e=0;eo))throw Error(Sn(301));o+=1,gu=Uu=null,n.updateQueue=null,uI.current=aon,e=t(a,r)}while(cI)}if(uI.current=FA,n=Uu!==null&&Uu.next!==null,lI=0,gu=Uu=Xo=null,EA=!1,n)throw Error(Sn(300));return e}function Bg(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return gu===null?Xo.memoizedState=gu=e:gu=gu.next=e,gu}function Jg(){if(Uu===null){var e=Xo.alternate;e=e!==null?e.memoizedState:null}else e=Uu.next;var n=gu===null?Xo.memoizedState:gu.next;if(n!==null)gu=n,Uu=e;else{if(e===null)throw Error(Sn(310));Uu=e,e={memoizedState:Uu.memoizedState,baseState:Uu.baseState,baseQueue:Uu.baseQueue,queue:Uu.queue,next:null},gu===null?Xo.memoizedState=gu=e:gu=gu.next=e}return gu}function M0(e,n){return typeof n=="function"?n(e):n}function sI(e){var n=Jg(),t=n.queue;if(t===null)throw Error(Sn(311));t.lastRenderedReducer=e;var a=Uu,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((lI&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,Xo.lanes|=c,pI|=c}l=l.next}while(l!==null&&l!==r);u===null?o=a:u.next=i,Ws(a,n.memoizedState)||(vv=!0),n.memoizedState=a,n.baseState=o,n.baseQueue=u,t.lastRenderedState=a}return[n.memoizedState,t.dispatch]}function fI(e){var n=Jg(),t=n.queue;if(t===null)throw Error(Sn(311));t.lastRenderedReducer=e;var a=t.dispatch,r=t.pending,o=n.memoizedState;if(r!==null){t.pending=null;var i=r=r.next;do o=e(o,i.action),i=i.next;while(i!==r);Ws(o,n.memoizedState)||(vv=!0),n.memoizedState=o,n.baseQueue===null&&(n.baseState=o),t.lastRenderedState=o}return[o,a]}function vhe(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=(lI&e)===e)&&(n._workInProgressVersionPrimary=a,Gb.push(n))),e)return t(n._source);throw Gb.push(n),Error(Sn(350))}function mhe(e,n,t,a){var r=fl;if(r===null)throw Error(Sn(349));var o=n._getVersion,i=o(n._source),u=uI.current,l=u.useState(function(){return vhe(r,n,t)}),c=l[1],s=l[0];l=gu;var f=e.memoizedState,v=f.refs,m=v.getSnapshot,_=f.source;f=f.subscribe;var R=Xo;return e.memoizedState={refs:v,source:n,subscribe:a},u.useEffect(function(){v.getSnapshot=t,v.setSnapshot=c;var D=o(n._source);if(!Ws(i,D)){D=t(n._source),Ws(s,D)||(c(D),D=fd(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)}),Ug(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[ad]=n,e[cA]=a,Lhe(e,n,!1,!1),n.stateNode=e,i=YO(t,a),t){case"dialog":zr("cancel",e),zr("close",e),r=a;break;case"iframe":case"object":case"embed":zr("load",e),r=a;break;case"video":case"audio":for(r=0;rpU&&(n.flags|=64,o=!0,mI(a,!1),n.lanes=33554432)}else{if(!o)if(e=wA(i),e!==null){if(n.flags|=64,o=!0,t=e.updateQueue,t!==null&&(n.updateQueue=t,n.flags|=4),mI(a,!0),a.tail===null&&a.tailMode==="hidden"&&!i.alternate&&!F0)return n=n.lastEffect=a.lastEffect,n!==null&&(n.nextEffect=null),null}else 2*ku()-a.renderingStartTime>pU&&t!==1073741824&&(n.flags|=64,o=!0,mI(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=ku(),t.sibling=null,n=No.current,jo(No,o?n&1|2:n&1),t):null;case 23:case 24:return yU(),e!==null&&e.memoizedState!==null!=(n.memoizedState!==null)&&a.mode!=="unstable-defer-without-hiding"&&(n.flags|=4),null}throw Error(Sn(156,n.tag))}function ion(e){switch(e.tag){case 1:ql(e.type)&&fA();var n=e.flags;return n&4096?(e.flags=n&-4097|64,e):null;case 3:if(Mb(),$r(Wl),$r(Ou),zk(),n=e.flags,(n&64)!=0)throw Error(Sn(285));return e.flags=n&-4097|64,e;case 5:return Jk(e),null;case 13:return $r(No),n=e.flags,n&4096?(e.flags=n&-4097|64,e):null;case 19:return $r(No),null;case 4:return Mb(),null;case 10:return kk(e),null;case 23:case 24:return yU(),null;default:return null}}function rU(e,n){try{var t="",a=n;do t+=Uan(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 oU(e,n){try{console.error(n.value)}catch(t){setTimeout(function(){throw t})}}var uon=typeof WeakMap=="function"?WeakMap:Map;function Phe(e,n,t){t=ud(-1,t),t.tag=3,t.payload={element:null};var a=n.value;return t.callback=function(){xA||(xA=!0,_U=a),oU(e,n)},t}function Ohe(e,n,t){t=ud(-1,t),t.tag=3;var a=e.type.getDerivedStateFromError;if(typeof a=="function"){var r=n.value;t.payload=function(){return oU(e,n),a(r)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(t.callback=function(){typeof a!="function"&&(G0===null?G0=new Set([this]):G0.add(this),oU(e,n));var i=n.stack;this.componentDidCatch(n.value,{componentStack:i!==null?i:""})}),t}var lon=typeof WeakSet=="function"?WeakSet:Set;function khe(e){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(t){pd(e,t)}else n.current=null}function con(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:fv(n.type,t),a),e.__reactInternalSnapshotBeforeUpdate=n}return;case 3:n.flags&256&&Fk(n.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(Sn(163))}function son(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&&(ege(t,e),gon(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:fv(t.type,n.memoizedProps),e.componentDidUpdate(a,n.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),n=t.updateQueue,n!==null&&nhe(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}nhe(t,n,e)}return;case 5:e=t.stateNode,n===null&&t.flags&4&&Nde(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&&K_e(t))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(Sn(163))}function Uhe(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=N_e("display",r)}}else if(t.tag===6)t.stateNode.nodeValue=n?"":t.memoizedProps;else if((t.tag!==23&&t.tag!==24||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return;t=t.return}t.sibling.return=t.return,t=t.sibling}}function Hhe(e,n){if(kg&&typeof kg.onCommitFiberUnmount=="function")try{kg.onCommitFiberUnmount(Ak,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)ege(n,t);else{a=n;try{r()}catch(o){pd(a,o)}}t=t.next}while(t!==e)}break;case 1:if(khe(n),e=n.stateNode,typeof e.componentWillUnmount=="function")try{e.props=n.memoizedProps,e.state=n.memoizedState,e.componentWillUnmount()}catch(o){pd(n,o)}break;case 5:khe(n);break;case 4:qhe(e,n)}}function Bhe(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 Jhe(e){return e.tag===5||e.tag===3||e.tag===4}function Whe(e){e:{for(var n=e.return;n!==null;){if(Jhe(n))break e;n=n.return}throw Error(Sn(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(Sn(161))}t.flags&16&&(jC(n,""),t.flags&=-17);e:n:for(t=e;;){for(;t.sibling===null;){if(t.return===null||Jhe(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?iU(e,t,n):uU(e,t,n)}function iU(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=uA));else if(a!==4&&(e=e.child,e!==null))for(iU(e,n,t),e=e.sibling;e!==null;)iU(e,n,t),e=e.sibling}function uU(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(uU(e,n,t),e=e.sibling;e!==null;)uU(e,n,t),e=e.sibling}function qhe(e,n){for(var t=n,a=!1,r,o;;){if(!a){a=t.return;e:for(;;){if(a===null)throw Error(Sn(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(Hhe(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(Hhe(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 lU(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[cA]=a,e==="input"&&a.type==="radio"&&a.name!=null&&F_e(t,a),YO(e,r),n=YO(e,a),r=0;rr&&(r=i),t&=~o}if(t=r,t=ku()-t,t=(120>t?120:480>t?480:1080>t?1080:1920>t?1920:3e3>t?3e3:4320>t?4320:1960*von(t/1960))-t,10 component higher in the tree to provide a loading indicator or placeholder to display.`)}Du!==5&&(Du=2),l=rU(l,u),v=i;do{switch(v.tag){case 3:o=l,v.flags|=4096,n&=-n,v.lanes|=n;var O=Phe(v,o,n);ehe(v,O);break e;case 1:o=l;var M=v.type,k=v.stateNode;if((v.flags&64)==0&&(typeof M.getDerivedStateFromError=="function"||k!==null&&typeof k.componentDidCatch=="function"&&(G0===null||!G0.has(k)))){v.flags|=4096,n&=-n,v.lanes|=n;var oe=Ohe(v,o,n);ehe(v,oe);break e}}v=v.return}while(v!==null)}Khe(t)}catch(le){n=le,Ui===t&&t!==null&&(Ui=t=t.return);continue}break}while(1)}function Xhe(){var e=GA.current;return GA.current=FA,e===null?FA:e}function DI(e,n){var t=Xt;Xt|=16;var a=Xhe();fl===e&&Hu===n||Nb(e,n);do try{pon();break}catch(r){Yhe(e,r)}while(1);if(Ok(),Xt=t,GA.current=a,Ui!==null)throw Error(Sn(261));return fl=null,Hu=0,Du}function pon(){for(;Ui!==null;)Zhe(Ui)}function _on(){for(;Ui!==null&&!Yrn();)Zhe(Ui)}function Zhe(e){var n=tge(e.alternate,e,Wg);e.memoizedProps=e.pendingProps,n===null?Khe(e):Ui=n,cU.current=null}function Khe(e){var n=e;do{var t=n.alternate;if(e=n.return,(n.flags&2048)==0){if(t=oon(t,n,Wg),t!==null){Ui=t;return}if(t=n,t.tag!==24&&t.tag!==23||t.memoizedState===null||(Wg&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=O,O=u),u=wde(S,O),o=wde(S,i),u&&o&&(P.rangeCount!==1||P.anchorNode!==u.node||P.anchorOffset!==u.offset||P.focusNode!==o.node||P.focusOffset!==o.offset)&&(G=G.createRange(),G.setStart(u.node,u.offset),P.removeAllRanges(),O>i?(P.addRange(G),P.extend(o.node,o.offset)):(G.setEnd(o.node,o.offset),P.addRange(G)))))),G=[],P=S;P=P.parentNode;)P.nodeType===1&&G.push({element:P,left:P.scrollLeft,top:P.scrollTop});for(typeof S.focus=="function"&&S.focus(),S=0;Sku()-mU?Nb(e,0):fU|=t),$s(e,n)}function bon(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=Ib()===99?1:2:(op===0&&(op=Ab),n=hb(62914560&~op),n===0&&(n=4194304))),t=Wc(),e=PA(e,n),e!==null&&(Y3(e,n,t),$s(e,t))}var tge;tge=function(e,n,t){var a=n.lanes;if(e!==null)if(e.memoizedProps!==n.pendingProps||Wl.current)vv=!0;else if((t&a)!=0)vv=(e.flags&16384)!=0;else{switch(vv=!1,n.tag){case 3:Ihe(n),qk();break;case 5:lhe(n);break;case 1:ql(n.type)&&vA(n);break;case 4:Bk(n,n.stateNode.containerInfo);break;case 10:a=n.memoizedProps.value;var r=n.type._context;jo(_A,r._currentValue),r._currentValue=a;break;case 13:if(n.memoizedState!==null)return(t&n.child.childLanes)!=0?The(e,n,t):(jo(No,No.current&1),n=ap(e,n,t),n!==null?n.sibling:null);jo(No,No.current&1);break;case 19:if(a=(t&n.childLanes)!=0,(e.flags&64)!=0){if(a)return xhe(e,n,t);n.flags|=64}if(r=n.memoizedState,r!==null&&(r.rendering=null,r.tail=null,r.lastEffect=null),jo(No,No.current),a)break;return null;case 23:case 24:return n.lanes=0,Kk(e,n,t)}return ap(e,n,t)}else vv=!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=Cb(n,Ou.current),Fb(n,t),r=Vk(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,ql(a)){var o=!0;vA(n)}else o=!1;n.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,Uk(n);var i=a.getDerivedStateFromProps;typeof i=="function"&&gA(n,a,i,e),r.updater=DA,n.stateNode=r,r._reactInternals=n,Hk(n,a,e,t),n=nU(null,n,a,!0,o,t)}else n.tag=0,$l(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=won(r),e=fv(r,e),o){case 0:n=eU(null,n,r,e,t);break e;case 1:n=Che(null,n,r,e,t);break e;case 11:n=Rhe(null,n,r,e,t);break e;case 14:n=whe(null,n,r,fv(r.type,e),a,t);break e}throw Error(Sn(306,r,""))}return n;case 0:return a=n.type,r=n.pendingProps,r=n.elementType===a?r:fv(a,r),eU(e,n,a,r,t);case 1:return a=n.type,r=n.pendingProps,r=n.elementType===a?r:fv(a,r),Che(e,n,a,r,t);case 3:if(Ihe(n),a=n.updateQueue,e===null||a===null)throw Error(Sn(282));if(a=n.pendingProps,r=n.memoizedState,r=r!==null?r.element:null,Kde(e,n),tI(n,a,null,t),a=n.memoizedState.element,a===r)qk(),n=ap(e,n,t);else{if(r=n.stateNode,(o=r.hydrate)&&(cd=Rb(n.stateNode.containerInfo.firstChild),tp=n,o=F0=!0),o){if(e=r.mutableSourceEagerHydrationData,e!=null)for(r=0;r{"use strict";function ige(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(ige)}catch(e){console.error(e)}}ige(),uge.exports=oge()});var SI=Pe(GU=>{"use strict";Object.defineProperty(GU,"__esModule",{value:!0});var FU=Object.assign||function(e){for(var n=1;n=0||!Object.prototype.hasOwnProperty.call(e,a)||(t[a]=e[a]);return t}function Aon(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function xon(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 Lon(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 fge={position:"absolute",top:0,left:0,visibility:"hidden",height:0,overflow:"scroll",whiteSpace:"pre"},jon=["extraWidth","injectStyles","inputClassName","inputRef","inputStyle","minWidth","onAutosize","placeholderIsMinWidth"],Non=function(n){return jon.forEach(function(t){return delete n[t]}),n},vge=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},mge=typeof window!="undefined"&&window.navigator?/MSIE |Trident\/|Edge\//.test(window.navigator.userAgent):!1,pge=function(){return mge?"_"+Math.random().toString(36).substr(2,12):void 0},MU=function(e){Lon(n,e),lge(n,null,[{key:"getDerivedStateFromProps",value:function(a,r){var o=a.id;return o!==r.prevId?{inputId:o||pge(),prevId:o}:null}}]);function n(t){Aon(this,n);var a=xon(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||pge(),prevId:t.id},a}return lge(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||(vge(a,this.sizer),this.placeHolderSizer&&vge(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 JU!="undefined")n(ny(),(Wt(),xh));else{var t={exports:{}};n(e.PropTypes,e.React),e.ReactList=t.exports}})(typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:JU,function(e,n){"use strict";e=i(e),n=o(n);var t,a;function r(){if(typeof WeakMap!="function")return null;var x=new WeakMap;return r=function(){return x},x}function o(x){if(x&&x.__esModule)return x;if(x===null||u(x)!=="object"&&typeof x!="function")return{default:x};var ne=r();if(ne&&ne.has(x))return ne.get(x);var me={},ye=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var U in x)if(Object.prototype.hasOwnProperty.call(x,U)){var de=ye?Object.getOwnPropertyDescriptor(x,U):null;de&&(de.get||de.set)?Object.defineProperty(me,U,de):me[U]=x[U]}return me.default=x,ne&&ne.set(x,me),me}function i(x){return x&&x.__esModule?x:{default:x}}function u(x){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?u=function(me){return typeof me}:u=function(me){return me&&typeof Symbol=="function"&&me.constructor===Symbol&&me!==Symbol.prototype?"symbol":typeof me},u(x)}function l(x,ne){if(!(x instanceof ne))throw new TypeError("Cannot call a class as a function")}function c(x,ne){for(var me=0;meye&&(Ae=ye),V=de==="simple"||!V?0:Math.max(Math.min(V,ye-Ae),0),(He=V%Me)&&(V-=He,Ae+=He),V===me.from&&Ae==me.size?me:G(G({},me),{},{from:V,size:Ae})};xDe.exports=(a=t=function(x){f(me,x);var ne=m(me);s(me,null,[{key:"getDerivedStateFromProps",value:function(U,de){var V=q(U,de);return V===de?null:V}}]);function me(ye){var U;return l(this,me),U=ne.call(this,ye),U.state=q(ye,{itemsPerRow:1,from:ye.initialIndex,size:0}),U.cache={},U.cachedScrollPosition=null,U.prevPrevState={},U.unstable=!1,U.updateCounter=0,U}return s(me,[{key:"componentDidMount",value:function(){this.updateFrameAndClearCache=this.updateFrameAndClearCache.bind(this),window.addEventListener("resize",this.updateFrameAndClearCache),this.updateFrame(this.scrollTo.bind(this,this.props.initialIndex))}},{key:"componentDidUpdate",value:function(U){var de=this;if(this.props.axis!==U.axis&&this.clearSizeCache(),!this.unstable){if(++this.updateCounter>jn)return this.unstable=!0,console.error(ie);this.updateCounterTimeoutId||(this.updateCounterTimeoutId=setTimeout(function(){de.updateCounter=0,delete de.updateCounterTimeoutId},0)),this.updateFrame()}}},{key:"maybeSetState",value:function(U,de){if(Ve(this.state,U))return de();this.setState(U,de)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.updateFrameAndClearCache),this.scrollParent.removeEventListener("scroll",this.updateFrameAndClearCache,Ne),this.scrollParent.removeEventListener("mousewheel",De,Ne)}},{key:"getOffset",value:function(U){var de=this.props.axis,V=U[M[de]]||0,Ae=le[de];do V+=U[Ae]||0;while(U=U.offsetParent);return V}},{key:"getEl",value:function(){return this.el||this.items}},{key:"getScrollPosition",value:function(){if(typeof this.cachedScrollPosition=="number")return this.cachedScrollPosition;var U=this.scrollParent,de=this.props.axis,V=be[de],Ae=U===window?document.body[V]||document.documentElement[V]:U[V],Me=this.getScrollSize()-this.props.scrollParentViewportSizeGetter(this),He=Math.max(0,Math.min(Ae,Me)),$e=this.getEl();return this.cachedScrollPosition=this.getOffset(U)+He-this.getOffset($e),this.cachedScrollPosition}},{key:"setScroll",value:function(U){var de=this.scrollParent,V=this.props.axis;if(U+=this.getOffset(this.getEl()),de===window)return window.scrollTo(0,U);U-=this.getOffset(this.scrollParent),de[be[V]]=U}},{key:"getScrollSize",value:function(){var U=this.scrollParent,de=document,V=de.body,Ae=de.documentElement,Me=X[this.props.axis];return U===window?Math.max(V[Me],Ae[Me]):U[Me]}},{key:"hasDeterminateSize",value:function(){var U=this.props,de=U.itemSizeGetter,V=U.type;return V==="uniform"||de}},{key:"getStartAndEnd",value:function(){var U=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.threshold,de=this.getScrollPosition(),V=Math.max(0,de-U),Ae=de+this.props.scrollParentViewportSizeGetter(this)+U;return this.hasDeterminateSize()&&(Ae=Math.min(Ae,this.getSpaceBefore(this.props.length))),{start:V,end:Ae}}},{key:"getItemSizeAndItemsPerRow",value:function(){var U=this.props,de=U.axis,V=U.useStaticSize,Ae=this.state,Me=Ae.itemSize,He=Ae.itemsPerRow;if(V&&Me&&He)return{itemSize:Me,itemsPerRow:He};var $e=this.items.children;if(!$e.length)return{};var Le=$e[0],In=Le[oe[de]],cn=Math.abs(In-Me);if((isNaN(cn)||cn>=1)&&(Me=In),!Me)return{};var nt=le[de],Cn=Le[nt];He=1;for(var tt=$e[He];tt&&tt[nt]===Cn;tt=$e[He])++He;return{itemSize:Me,itemsPerRow:He}}},{key:"clearSizeCache",value:function(){this.cachedScrollPosition=null}},{key:"updateFrameAndClearCache",value:function(U){return this.clearSizeCache(),this.updateFrame(U)}},{key:"updateFrame",value:function(U){switch(this.updateScrollParent(),typeof U!="function"&&(U=De),this.props.type){case"simple":return this.updateSimpleFrame(U);case"variable":return this.updateVariableFrame(U);case"uniform":return this.updateUniformFrame(U)}}},{key:"updateScrollParent",value:function(){var U=this.scrollParent;this.scrollParent=this.props.scrollParentGetter(this),U!==this.scrollParent&&(U&&(U.removeEventListener("scroll",this.updateFrameAndClearCache),U.removeEventListener("mousewheel",De)),this.clearSizeCache(),this.scrollParent.addEventListener("scroll",this.updateFrameAndClearCache,Ne),this.scrollParent.addEventListener("mousewheel",De,Ne))}},{key:"updateSimpleFrame",value:function(U){var de=this.getStartAndEnd(),V=de.end,Ae=this.items.children,Me=0;if(Ae.length){var He=this.props.axis,$e=Ae[0],Le=Ae[Ae.length-1];Me=this.getOffset(Le)+Le[oe[He]]-this.getOffset($e)}if(Me>V)return U();var In=this.props,cn=In.pageSize,nt=In.length,Cn=Math.min(this.state.size+cn,nt);this.maybeSetState({size:Cn},U)}},{key:"updateVariableFrame",value:function(U){this.props.itemSizeGetter||this.cacheSizes();for(var de=this.getStartAndEnd(),V=de.start,Ae=de.end,Me=this.props,He=Me.length,$e=Me.pageSize,Le=0,In=0,cn=0,nt=He-1;InV)break;Le+=Cn,++In}for(var tt=He-In;cn1&&arguments[1]!==void 0?arguments[1]:{};if(de[U]!=null)return de[U];var V=this.state,Ae=V.itemSize,Me=V.itemsPerRow;if(Ae)return de[U]=Math.floor(U/Me)*Ae;for(var He=U;He>0&&de[--He]==null;);for(var $e=de[He]||0,Le=He;Le=cn&&UHe)return this.setScroll(He)}},{key:"getVisibleRange",value:function(){for(var U=this.state,de=U.from,V=U.size,Ae=this.getStartAndEnd(0),Me=Ae.start,He=Ae.end,$e={},Le,In,cn=de;cnMe&&(Le=cn),Le!=null&&nt{"use strict";Object.defineProperty(xB,"__esModule",{value:!0});var xmn=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},CB=Object.assign||function(e){for(var n=1;n1?n-1:0),a=1;aa.height),ef(m,this.animationStateClasses.animatingToHeightZero,y.height===0),ef(m,this.animationStateClasses.animatingToHeightAuto,y.height==="auto"),ef(m,this.animationStateClasses.animatingToHeightSpecific,y.height>0),m)),P=this.getStaticStateClasses(y.height);this.setState({animationStateClasses:G,height:D,overflow:"hidden",shouldUseTransitions:!S}),clearTimeout(this.timeoutID),clearTimeout(this.animationClassesTimeoutID),S?(y.shouldUseTransitions=!0,jwe(this.animationFrameIDs),this.animationFrameIDs=Jmn(function(){o.setState(y),Yx(c,{newHeight:y.height})}),this.animationClassesTimeoutID=setTimeout(function(){o.setState({animationStateClasses:P,shouldUseTransitions:!1}),o.hideContent(y.height),Yx(l,{newHeight:y.height})},R)):(Yx(c,{newHeight:D}),this.timeoutID=setTimeout(function(){y.animationStateClasses=P,y.shouldUseTransitions=!1,o.setState(y),u!=="auto"&&o.hideContent(D),Yx(l,{newHeight:D})},R))}}},{key:"componentWillUnmount",value:function(){jwe(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,TB.default)((r={},ef(r,this.animationStateClasses.static,!0),ef(r,this.animationStateClasses.staticHeightZero,a===0),ef(r,this.animationStateClasses.staticHeightSpecific,a>0),ef(r,this.animationStateClasses.staticHeightAuto,a==="auto"),r))}},{key:"render",value:function(){var a,r=this,o=this.props,i=o.animateOpacity,u=o.applyInlineTransitions,l=o.children,c=o.className,s=o.contentClassName,f=o.easing,v=o.id,m=o.style,_=this.state,R=_.height,D=_.overflow,y=_.animationStateClasses,S=_.shouldUseTransitions,G=this.getTimings(),P=G.duration,O=G.delay,M=CB({},m,{height:R,overflow:D||m.overflow});S&&u&&(M.transition="height "+P+"ms "+f+" "+O+"ms",m.transition&&(M.transition=m.transition+", "+M.transition),M.WebkitTransition=M.transition);var k={};i&&(k.transition="opacity "+P+"ms "+f+" "+O+"ms",k.WebkitTransition=k.transition,R===0&&(k.opacity=0));var oe=(0,TB.default)((a={},ef(a,y,!0),ef(a,c,c),a)),le=typeof this.props["aria-hidden"]!="undefined",ve=le?this.props["aria-hidden"]:R===0;return IB.default.createElement("div",CB({},Bmn.apply(void 0,[this.props].concat(Hmn)),{"aria-hidden":ve,className:oe,id:v,style:M}),IB.default.createElement("div",{className:s,style:k,ref:function(be){return r.contentElement=be}},l))}}]),n}(IB.default.Component),Wmn=function(n,t,a){var r=n[t];return typeof r=="number"&&r>=0||GB(r)||r==="auto"?null:new TypeError('value "'+r+'" of type "'+(typeof r=="undefined"?"undefined":xmn(r))+'" is invalid type for '+t+" in "+a+'. It needs to be a positive number, string "auto" or percentage string (e.g. "15%").')};AB.propTypes={"aria-hidden":Ql.default.bool,animateOpacity:Ql.default.bool,animationStateClasses:Ql.default.object,applyInlineTransitions:Ql.default.bool,children:Ql.default.any.isRequired,className:Ql.default.string,contentClassName:Ql.default.string,delay:Ql.default.number,duration:Ql.default.number,easing:Ql.default.string,height:Wmn,id:Ql.default.string,onAnimationEnd:Ql.default.func,onAnimationStart:Ql.default.func,style:Ql.default.object};AB.defaultProps={animateOpacity:!1,animationStateClasses:Lwe,applyInlineTransitions:!0,duration:250,delay:0,easing:"ease",style:{}};xB.default=AB});var ZEe=Pe((g7,sJ)=>{(function(n,t){typeof g7=="object"&&typeof sJ=="object"?sJ.exports=t():typeof define=="function"&&define.amd?define([],t):typeof g7=="object"?g7.Pusher=t():n.Pusher=t()})(window,function(){return function(e){var n={};function t(a){if(n[a])return n[a].exports;var r=n[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,t),r.l=!0,r.exports}return t.m=e,t.c=n,t.d=function(a,r,o){t.o(a,r)||Object.defineProperty(a,r,{enumerable:!0,get:o})},t.r=function(a){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},t.t=function(a,r){if(r&1&&(a=t(a)),r&8||r&4&&typeof a=="object"&&a&&a.__esModule)return a;var o=Object.create(null);if(t.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:a}),r&2&&typeof a!="string")for(var i in a)t.d(o,i,function(u){return a[u]}.bind(null,i));return o},t.n=function(a){var r=a&&a.__esModule?function(){return a.default}:function(){return a};return t.d(r,"a",r),r},t.o=function(a,r){return Object.prototype.hasOwnProperty.call(a,r)},t.p="",t(t.s=2)}([function(e,n,t){"use strict";var a=this&&this.__extends||function(){var m=function(_,R){return m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(D,y){D.__proto__=y}||function(D,y){for(var S in y)y.hasOwnProperty(S)&&(D[S]=y[S])},m(_,R)};return function(_,R){m(_,R);function D(){this.constructor=_}_.prototype=R===null?Object.create(R):(D.prototype=R.prototype,new D)}}();Object.defineProperty(n,"__esModule",{value:!0});var r=256,o=function(){function m(_){_===void 0&&(_="="),this._paddingCharacter=_}return m.prototype.encodedLength=function(_){return this._paddingCharacter?(_+2)/3*4|0:(_*8+5)/6|0},m.prototype.encode=function(_){for(var R="",D=0;D<_.length-2;D+=3){var y=_[D]<<16|_[D+1]<<8|_[D+2];R+=this._encodeByte(y>>>3*6&63),R+=this._encodeByte(y>>>2*6&63),R+=this._encodeByte(y>>>1*6&63),R+=this._encodeByte(y>>>0*6&63)}var S=_.length-D;if(S>0){var y=_[D]<<16|(S===2?_[D+1]<<8:0);R+=this._encodeByte(y>>>3*6&63),R+=this._encodeByte(y>>>2*6&63),S===2?R+=this._encodeByte(y>>>1*6&63):R+=this._paddingCharacter||"",R+=this._paddingCharacter||""}return R},m.prototype.maxDecodedLength=function(_){return this._paddingCharacter?_/4*3|0:(_*6+7)/8|0},m.prototype.decodedLength=function(_){return this.maxDecodedLength(_.length-this._getPaddingLength(_))},m.prototype.decode=function(_){if(_.length===0)return new Uint8Array(0);for(var R=this._getPaddingLength(_),D=_.length-R,y=new Uint8Array(this.maxDecodedLength(D)),S=0,G=0,P=0,O=0,M=0,k=0,oe=0;G>>4,y[S++]=M<<4|k>>>2,y[S++]=k<<6|oe,P|=O&r,P|=M&r,P|=k&r,P|=oe&r;if(G>>4,P|=O&r,P|=M&r),G>>2,P|=k&r),G>>8&0-65-26+97,R+=51-_>>>8&26-97-52+48,R+=61-_>>>8&52-48-62+43,R+=62-_>>>8&62-43-63+47,String.fromCharCode(R)},m.prototype._decodeChar=function(_){var R=r;return R+=(42-_&_-44)>>>8&-r+_-43+62,R+=(46-_&_-48)>>>8&-r+_-47+63,R+=(47-_&_-58)>>>8&-r+_-48+52,R+=(64-_&_-91)>>>8&-r+_-65+0,R+=(96-_&_-123)>>>8&-r+_-97+26,R},m.prototype._getPaddingLength=function(_){var R=0;if(this._paddingCharacter){for(var D=_.length-1;D>=0&&_[D]===this._paddingCharacter;D--)R++;if(_.length<4||R>2)throw new Error("Base64Coder: incorrect padding")}return R},m}();n.Coder=o;var i=new o;function u(m){return i.encode(m)}n.encode=u;function l(m){return i.decode(m)}n.decode=l;var c=function(m){a(_,m);function _(){return m!==null&&m.apply(this,arguments)||this}return _.prototype._encodeByte=function(R){var D=R;return D+=65,D+=25-R>>>8&0-65-26+97,D+=51-R>>>8&26-97-52+48,D+=61-R>>>8&52-48-62+45,D+=62-R>>>8&62-45-63+95,String.fromCharCode(D)},_.prototype._decodeChar=function(R){var D=r;return D+=(44-R&R-46)>>>8&-r+R-45+62,D+=(94-R&R-96)>>>8&-r+R-95+63,D+=(47-R&R-58)>>>8&-r+R-48+52,D+=(64-R&R-91)>>>8&-r+R-65+0,D+=(96-R&R-123)>>>8&-r+R-97+26,D},_}(o);n.URLSafeCoder=c;var s=new c;function f(m){return s.encode(m)}n.encodeURLSafe=f;function v(m){return s.decode(m)}n.decodeURLSafe=v,n.encodedLength=function(m){return i.encodedLength(m)},n.maxDecodedLength=function(m){return i.maxDecodedLength(m)},n.decodedLength=function(m){return i.decodedLength(m)}},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var a="utf8: invalid string",r="utf8: invalid source encoding";function o(l){for(var c=new Uint8Array(i(l)),s=0,f=0;f>6,c[s++]=128|v&63):v<55296?(c[s++]=224|v>>12,c[s++]=128|v>>6&63,c[s++]=128|v&63):(f++,v=(v&1023)<<10,v|=l.charCodeAt(f)&1023,v+=65536,c[s++]=240|v>>18,c[s++]=128|v>>12&63,c[s++]=128|v>>6&63,c[s++]=128|v&63)}return c}n.encode=o;function i(l){for(var c=0,s=0;s=l.length-1)throw new Error(a);s++,c+=4}else throw new Error(a)}return c}n.encodedLength=i;function u(l){for(var c=[],s=0;s=l.length)throw new Error(r);var m=l[++s];if((m&192)!=128)throw new Error(r);f=(f&31)<<6|m&63,v=128}else if(f<240){if(s>=l.length-1)throw new Error(r);var m=l[++s],_=l[++s];if((m&192)!=128||(_&192)!=128)throw new Error(r);f=(f&15)<<12|(m&63)<<6|_&63,v=2048}else if(f<248){if(s>=l.length-2)throw new Error(r);var m=l[++s],_=l[++s],R=l[++s];if((m&192)!=128||(_&192)!=128||(R&192)!=128)throw new Error(r);f=(f&15)<<18|(m&63)<<12|(_&63)<<6|R&63,v=65536}else throw new Error(r);if(f=55296&&f<=57343)throw new Error(r);if(f>=65536){if(f>1114111)throw new Error(r);f-=65536,c.push(String.fromCharCode(55296|f>>10)),f=56320|f&1023}}c.push(String.fromCharCode(f))}return c.join("")}n.decode=u},function(e,n,t){e.exports=t(3).default},function(e,n,t){"use strict";t.r(n);var a=function(){function g(h,w){this.lastId=0,this.prefix=h,this.name=w}return g.prototype.create=function(h){this.lastId++;var w=this.lastId,T=this.prefix+w,A=this.name+"["+w+"]",te=!1,Oe=function(){te||(h.apply(null,arguments),te=!0)};return this[w]=Oe,{number:w,id:T,name:A,callback:Oe}},g.prototype.remove=function(h){delete this[h.number]},g}(),r=new a("_pusher_script_","Pusher.ScriptReceivers"),o={VERSION:"6.0.3",PROTOCOL:7,wsPort:80,wssPort:443,wsPath:"",httpHost:"sockjs.pusher.com",httpPort:80,httpsPort:443,httpPath:"/pusher",stats_host:"stats.pusher.com",authEndpoint:"/pusher/auth",authTransport:"ajax",activityTimeout:12e4,pongTimeout:3e4,unavailableTimeout:1e4,cluster:"mt1",cdn_http:"http://js.pusher.com",cdn_https:"https://js.pusher.com",dependency_suffix:""},i=o,u=function(){function g(h){this.options=h,this.receivers=h.receivers||r,this.loading={}}return g.prototype.load=function(h,w,T){var A=this;if(A.loading[h]&&A.loading[h].length>0)A.loading[h].push(T);else{A.loading[h]=[T];var te=Sa.createScriptRequest(A.getPath(h,w)),Oe=A.receivers.create(function(xn){if(A.receivers.remove(Oe),A.loading[h]){var Ot=A.loading[h];delete A.loading[h];for(var nr=function($u){$u||te.cleanup()},hi=0;hi>>6)+v(128|h&63):v(224|h>>>12&15)+v(128|h>>>6&63)+v(128|h&63)},S=function(g){return g.replace(/[^\x00-\x7F]/g,y)},G=function(g){var h=[0,2,1][g.length%3],w=g.charCodeAt(0)<<16|(g.length>1?g.charCodeAt(1):0)<<8|(g.length>2?g.charCodeAt(2):0),T=[m.charAt(w>>>18),m.charAt(w>>>12&63),h>=2?"=":m.charAt(w>>>6&63),h>=1?"=":m.charAt(w&63)];return T.join("")},P=window.btoa||function(g){return g.replace(/[\s\S]{1,3}/g,G)},O=function(){function g(h,w,T,A){var te=this;this.clear=w,this.timer=h(function(){te.timer&&(te.timer=A(te.timer))},T)}return g.prototype.isRunning=function(){return this.timer!==null},g.prototype.ensureAborted=function(){this.timer&&(this.clear(this.timer),this.timer=null)},g}(),M=O,k=function(){var g=function(h,w){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,A){T.__proto__=A}||function(T,A){for(var te in A)A.hasOwnProperty(te)&&(T[te]=A[te])},g(h,w)};return function(h,w){g(h,w);function T(){this.constructor=h}h.prototype=w===null?Object.create(w):(T.prototype=w.prototype,new T)}}();function oe(g){window.clearTimeout(g)}function le(g){window.clearInterval(g)}var ve=function(g){k(h,g);function h(w,T){return g.call(this,setTimeout,oe,w,function(A){return T(),null})||this}return h}(M),X=function(g){k(h,g);function h(w,T){return g.call(this,setInterval,le,w,function(A){return T(),A})||this}return h}(M),be={now:function(){return Date.now?Date.now():new Date().valueOf()},defer:function(g){return new ve(0,g)},method:function(g){for(var h=[],w=1;w0)for(var A=0;A=1002&&g.code<=1004?"backoff":null:g.code===4e3?"tls_only":g.code<4100?"refused":g.code<4200?"backoff":g.code<4300?"retry":"refused"},getCloseError:function(g){return g.code!==1e3&&g.code!==1001?{type:"PusherError",data:{code:g.code,message:g.reason||g.message}}:null}},Yd=Az,OGe=function(){var g=function(h,w){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,A){T.__proto__=A}||function(T,A){for(var te in A)A.hasOwnProperty(te)&&(T[te]=A[te])},g(h,w)};return function(h,w){g(h,w);function T(){this.constructor=h}h.prototype=w===null?Object.create(w):(T.prototype=w.prototype,new T)}}(),kGe=function(g){OGe(h,g);function h(w,T){var A=g.call(this)||this;return A.id=w,A.transport=T,A.activityTimeout=T.activityTimeout,A.bindListeners(),A}return h.prototype.handlesActivityChecks=function(){return this.transport.handlesActivityChecks()},h.prototype.send=function(w){return this.transport.send(w)},h.prototype.send_event=function(w,T,A){var te={event:w,data:T};return A&&(te.channel=A),Le.debug("Event sent",te),this.send(Yd.encodeMessage(te))},h.prototype.ping=function(){this.transport.supportsPing()?this.transport.ping():this.send_event("pusher:ping",{})},h.prototype.close=function(){this.transport.close()},h.prototype.bindListeners=function(){var w=this,T={message:function(te){var Oe;try{Oe=Yd.decodeMessage(te)}catch(xn){w.emit("error",{type:"MessageParseError",error:xn,data:te.data})}if(Oe!==void 0){switch(Le.debug("Event recd",Oe),Oe.event){case"pusher:error":w.emit("error",{type:"PusherError",data:Oe.data});break;case"pusher:ping":w.emit("ping");break;case"pusher:pong":w.emit("pong");break}w.emit("message",Oe)}},activity:function(){w.emit("activity")},error:function(te){w.emit("error",{type:"WebSocketError",error:te})},closed:function(te){A(),te&&te.code&&w.handleCloseEvent(te),w.transport=null,w.emit("closed")}},A=function(){jn(T,function(te,Oe){w.transport.unbind(Oe,te)})};jn(T,function(te,Oe){w.transport.bind(Oe,te)})},h.prototype.handleCloseEvent=function(w){var T=Yd.getCloseAction(w),A=Yd.getCloseError(w);A&&this.emit("error",A),T&&this.emit(T,{action:T,error:A})},h}(lr),UGe=kGe,HGe=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=Yd.processHandshake(w)}catch(A){h.finish("error",{error:A}),h.transport.close();return}T.action==="connected"?h.finish("connected",{connection:new UGe(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=Yd.getCloseAction(w)||"backoff",A=Yd.getCloseError(w);h.finish(T,{error:A})},this.transport.bind("message",this.onMessage),this.transport.bind("closed",this.onClosed)},g.prototype.unbindListeners=function(){this.transport.unbind("message",this.onMessage),this.transport.unbind("closed",this.onClosed)},g.prototype.finish=function(h,w){this.callback(De({transport:this.transport,action:h},w))},g}(),BGe=HGe,JGe=function(){function g(h,w){this.channel=h;var T=w.authTransport;if(typeof Sa.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||Sa.getAuthorizers(),g.authorizers[this.type].call(this,Sa,h,w)},g}(),WGe=JGe,qGe=function(){function g(h,w){this.timeline=h,this.options=w||{}}return g.prototype.send=function(h,w){this.timeline.isEmpty()||this.timeline.send(Sa.TimelineTransport.getAgent(this,h),w)},g}(),zGe=qGe,Xd=function(){var g=function(h,w){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,A){T.__proto__=A}||function(T,A){for(var te in A)A.hasOwnProperty(te)&&(T[te]=A[te])},g(h,w)};return function(h,w){g(h,w);function T(){this.constructor=h}h.prototype=w===null?Object.create(w):(T.prototype=w.prototype,new T)}}(),$Ge=function(g){Xd(h,g);function h(w){var T=this.constructor,A=g.call(this,w)||this;return Object.setPrototypeOf(A,T.prototype),A}return h}(Error),VGe=function(g){Xd(h,g);function h(w){var T=this.constructor,A=g.call(this,w)||this;return Object.setPrototypeOf(A,T.prototype),A}return h}(Error),QGe=function(g){Xd(h,g);function h(w){var T=this.constructor,A=g.call(this,w)||this;return Object.setPrototypeOf(A,T.prototype),A}return h}(Error),YGe=function(g){Xd(h,g);function h(w){var T=this.constructor,A=g.call(this,w)||this;return Object.setPrototypeOf(A,T.prototype),A}return h}(Error),xz=function(g){Xd(h,g);function h(w){var T=this.constructor,A=g.call(this,w)||this;return Object.setPrototypeOf(A,T.prototype),A}return h}(Error),XGe=function(g){Xd(h,g);function h(w){var T=this.constructor,A=g.call(this,w)||this;return Object.setPrototypeOf(A,T.prototype),A}return h}(Error),Lz=function(g){Xd(h,g);function h(w){var T=this.constructor,A=g.call(this,w)||this;return Object.setPrototypeOf(A,T.prototype),A}return h}(Error),ZGe=function(){var g=function(h,w){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,A){T.__proto__=A}||function(T,A){for(var te in A)A.hasOwnProperty(te)&&(T[te]=A[te])},g(h,w)};return function(h,w){g(h,w);function T(){this.constructor=h}h.prototype=w===null?Object.create(w):(T.prototype=w.prototype,new T)}}(),KGe=function(g){ZGe(h,g);function h(w,T){var A=g.call(this,function(te,Oe){Le.debug("No callbacks on "+w+" for "+te)})||this;return A.name=w,A.pusher=T,A.subscribed=!1,A.subscriptionPending=!1,A.subscriptionCancelled=!1,A}return h.prototype.authorize=function(w,T){return T(!1,{auth:""})},h.prototype.trigger=function(w,T){if(w.indexOf("client-")!==0)throw new $Ge("Event '"+w+"' does not start with 'client-'");if(!this.subscribed){var A=nt.buildLogSuffix("triggeringClientEvents");Le.warn("Client event triggered before channel 'subscription_succeeded' event . "+A)}return this.pusher.send_event(w,T,this.name)},h.prototype.disconnect=function(){this.subscribed=!1,this.subscriptionPending=!1},h.prototype.handleEvent=function(w){var T=w.event,A=w.data;if(T==="pusher_internal:subscription_succeeded")this.handleSubscriptionSucceededEvent(w);else if(T.indexOf("pusher_internal:")!==0){var te={};this.emit(T,A,te)}},h.prototype.handleSubscriptionSucceededEvent=function(w){this.subscriptionPending=!1,this.subscribed=!0,this.subscriptionCancelled?this.pusher.unsubscribe(this.name):this.emit("pusher:subscription_succeeded",w.data)},h.prototype.subscribe=function(){var w=this;this.subscribed||(this.subscriptionPending=!0,this.subscriptionCancelled=!1,this.authorize(this.pusher.connection.socket_id,function(T,A){T?(Le.error(A),w.emit("pusher:subscription_error",A)):(A=A,w.pusher.send_event("pusher:subscribe",{auth:A.auth,channel_data:A.channel_data,channel:w.name}))}))},h.prototype.unsubscribe=function(){this.subscribed=!1,this.pusher.send_event("pusher:unsubscribe",{channel:this.name})},h.prototype.cancelSubscription=function(){this.subscriptionCancelled=!0},h.prototype.reinstateSubscription=function(){this.subscriptionCancelled=!1},h}(lr),jz=KGe,e4e=function(){var g=function(h,w){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,A){T.__proto__=A}||function(T,A){for(var te in A)A.hasOwnProperty(te)&&(T[te]=A[te])},g(h,w)};return function(h,w){g(h,w);function T(){this.constructor=h}h.prototype=w===null?Object.create(w):(T.prototype=w.prototype,new T)}}(),n4e=function(g){e4e(h,g);function h(){return g!==null&&g.apply(this,arguments)||this}return h.prototype.authorize=function(w,T){var A=Mv.createAuthorizer(this,this.pusher.config);return A.authorize(w,T)},h}(jz),u6=n4e,t4e=function(){function g(){this.reset()}return g.prototype.get=function(h){return Object.prototype.hasOwnProperty.call(this.members,h)?{id:h,info:this.members[h]}:null},g.prototype.each=function(h){var w=this;jn(this.members,function(T,A){h(w.get(A))})},g.prototype.setMyID=function(h){this.myID=h},g.prototype.onSubscription=function(h){this.members=h.presence.hash,this.count=h.presence.count,this.me=this.get(this.myID)},g.prototype.addMember=function(h){return this.get(h.user_id)===null&&this.count++,this.members[h.user_id]=h.user_info,this.get(h.user_id)},g.prototype.removeMember=function(h){var w=this.get(h.user_id);return w&&(delete this.members[h.user_id],this.count--),w},g.prototype.reset=function(){this.members={},this.count=0,this.myID=null,this.me=null},g}(),a4e=t4e,r4e=function(){var g=function(h,w){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,A){T.__proto__=A}||function(T,A){for(var te in A)A.hasOwnProperty(te)&&(T[te]=A[te])},g(h,w)};return function(h,w){g(h,w);function T(){this.constructor=h}h.prototype=w===null?Object.create(w):(T.prototype=w.prototype,new T)}}(),o4e=function(g){r4e(h,g);function h(w,T){var A=g.call(this,w,T)||this;return A.members=new a4e,A}return h.prototype.authorize=function(w,T){var A=this;g.prototype.authorize.call(this,w,function(te,Oe){if(!te){if(Oe=Oe,Oe.channel_data===void 0){var xn=nt.buildLogSuffix("authenticationEndpoint");Le.error("Invalid auth response for channel '"+A.name+"',"+("expected 'channel_data' field. "+xn)),T("Invalid auth response");return}var Ot=JSON.parse(Oe.channel_data);A.members.setMyID(Ot.user_id)}T(te,Oe)})},h.prototype.handleEvent=function(w){var T=w.event;if(T.indexOf("pusher_internal:")===0)this.handleInternalEvent(w);else{var A=w.data,te={};w.user_id&&(te.user_id=w.user_id),this.emit(T,A,te)}},h.prototype.handleInternalEvent=function(w){var T=w.event,A=w.data;switch(T){case"pusher_internal:subscription_succeeded":this.handleSubscriptionSucceededEvent(w);break;case"pusher_internal:member_added":var te=this.members.addMember(A);this.emit("pusher:member_added",te);break;case"pusher_internal:member_removed":var Oe=this.members.removeMember(A);Oe&&this.emit("pusher:member_removed",Oe);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}(u6),i4e=o4e,Nz=t(1),l6=t(0),u4e=function(){var g=function(h,w){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,A){T.__proto__=A}||function(T,A){for(var te in A)A.hasOwnProperty(te)&&(T[te]=A[te])},g(h,w)};return function(h,w){g(h,w);function T(){this.constructor=h}h.prototype=w===null?Object.create(w):(T.prototype=w.prototype,new T)}}(),l4e=function(g){u4e(h,g);function h(w,T,A){var te=g.call(this,w,T)||this;return te.key=null,te.nacl=A,te}return h.prototype.authorize=function(w,T){var A=this;g.prototype.authorize.call(this,w,function(te,Oe){if(te){T(!0,Oe);return}var xn=Oe.shared_secret;if(!xn){var Ot="No shared_secret key in auth payload for encrypted channel: "+A.name;T(!0,Ot);return}A.key=Object(l6.decode)(xn),delete Oe.shared_secret,T(!1,Oe)})},h.prototype.trigger=function(w,T){throw new xz("Client events are not currently supported for encrypted channels")},h.prototype.handleEvent=function(w){var T=w.event,A=w.data;if(T.indexOf("pusher_internal:")===0||T.indexOf("pusher:")===0){g.prototype.handleEvent.call(this,w);return}this.handleEncryptedEvent(T,A)},h.prototype.handleEncryptedEvent=function(w,T){var A=this;if(!this.key){Le.debug("Received encrypted event before key has been retrieved from the authEndpoint");return}if(!T.ciphertext||!T.nonce){Le.error("Unexpected format for encrypted event, expected object with `ciphertext` and `nonce` fields, got: "+T);return}var te=Object(l6.decode)(T.ciphertext);if(te.length0&&this.emit("connecting_in",Math.round(w/1e3)),this.retryTimer=new ve(w||0,function(){T.disconnectInternally(),T.connect()})},h.prototype.clearRetryTimer=function(){this.retryTimer&&(this.retryTimer.ensureAborted(),this.retryTimer=null)},h.prototype.setUnavailableTimer=function(){var w=this;this.unavailableTimer=new ve(this.options.unavailableTimeout,function(){w.updateState("unavailable")})},h.prototype.clearUnavailableTimer=function(){this.unavailableTimer&&this.unavailableTimer.ensureAborted()},h.prototype.sendActivityCheck=function(){var w=this;this.stopActivityCheck(),this.connection.ping(),this.activityTimer=new ve(this.options.pongTimeout,function(){w.timeline.error({pong_timed_out:w.options.pongTimeout}),w.retryIn(0)})},h.prototype.resetActivityCheck=function(){var w=this;this.stopActivityCheck(),this.connection&&!this.connection.handlesActivityChecks()&&(this.activityTimer=new ve(this.activityTimeout,function(){w.sendActivityCheck()}))},h.prototype.stopActivityCheck=function(){this.activityTimer&&this.activityTimer.ensureAborted()},h.prototype.buildConnectionCallbacks=function(w){var T=this;return De({},w,{message:function(A){T.resetActivityCheck(),T.emit("message",A)},ping:function(){T.send_event("pusher:pong",{})},activity:function(){T.resetActivityCheck()},error:function(A){T.emit("error",{type:"WebSocketError",error:A})},closed:function(){T.abandonConnection(),T.shouldRetry()&&T.retryIn(1e3)}})},h.prototype.buildHandshakeCallbacks=function(w){var T=this;return De({},w,{connected:function(A){T.activityTimeout=Math.min(T.options.activityTimeout,A.activityTimeout,A.connection.activityTimeout||1/0),T.clearUnavailableTimer(),T.setConnection(A.connection),T.socket_id=T.connection.id,T.updateState("connected",{socket_id:T.socket_id})}})},h.prototype.buildErrorCallbacks=function(){var w=this,T=function(A){return function(te){te.error&&w.emit("error",{type:"WebSocketError",error:te.error}),A(te)}};return{tls_only:T(function(){w.usingTLS=!0,w.updateStrategy(),w.retryIn(0)}),refused:T(function(){w.disconnect()}),backoff:T(function(){w.retryIn(1e3)}),retry:T(function(){w.retryIn(0)})}},h.prototype.setConnection=function(w){this.connection=w;for(var T in this.connectionCallbacks)this.connection.bind(T,this.connectionCallbacks[T]);this.resetActivityCheck()},h.prototype.abandonConnection=function(){if(!!this.connection){this.stopActivityCheck();for(var w in this.connectionCallbacks)this.connection.unbind(w,this.connectionCallbacks[w]);var T=this.connection;return this.connection=null,T}},h.prototype.updateState=function(w,T){var A=this.state;if(this.state=w,A!==w){var te=w;te==="connected"&&(te+=" with new socket ID "+T.socket_id),Le.debug("State changed",A+" -> "+te),this.timeline.info({state:w,params:T}),this.emit("state_change",{previous:A,current:w}),this.emit(w,T)}},h.prototype.shouldRetry=function(){return this.state==="connecting"||this.state==="connected"},h}(lr),v4e=f4e,m4e=function(){function g(){this.channels={}}return g.prototype.add=function(h,w){return this.channels[h]||(this.channels[h]=_4e(h,w)),this.channels[h]},g.prototype.all=function(){return Pn(this.channels)},g.prototype.find=function(h){return this.channels[h]},g.prototype.remove=function(h){var w=this.channels[h];return delete this.channels[h],w},g.prototype.disconnect=function(){jn(this.channels,function(h){h.disconnect()})},g}(),p4e=m4e;function _4e(g,h){if(g.indexOf("private-encrypted-")===0){if(h.config.nacl)return Mv.createEncryptedChannel(g,h,h.config.nacl);var w="Tried to subscribe to a private-encrypted- channel but no nacl implementation available",T=nt.buildLogSuffix("encryptedChannelSupport");throw new xz(w+". "+T)}else return g.indexOf("private-")===0?Mv.createPrivateChannel(g,h):g.indexOf("presence-")===0?Mv.createPresenceChannel(g,h):Mv.createChannel(g,h)}var d4e={createChannels:function(){return new p4e},createConnectionManager:function(g,h){return new v4e(g,h)},createChannel:function(g,h){return new jz(g,h)},createPrivateChannel:function(g,h){return new u6(g,h)},createPresenceChannel:function(g,h){return new i4e(g,h)},createEncryptedChannel:function(g,h,w){return new c4e(g,h,w)},createTimelineSender:function(g,h){return new zGe(g,h)},createAuthorizer:function(g,h){return h.authorizer?h.authorizer(g,h):new WGe(g,h)},createHandshake:function(g,h){return new BGe(g,h)},createAssistantToTheTransportManager:function(g,h,w){return new PGe(g,h,w)}},Mv=d4e,h4e=function(){function g(h){this.options=h||{},this.livesLeft=this.options.lives||1/0}return g.prototype.getAssistant=function(h){return Mv.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}(),Pz=h4e,g4e=function(){function g(h,w){this.strategies=h,this.loop=Boolean(w.loop),this.failFast=Boolean(w.failFast),this.timeout=w.timeout,this.timeoutLimit=w.timeoutLimit}return g.prototype.isSupported=function(){return U(this.strategies,pe.method("isSupported"))},g.prototype.connect=function(h,w){var T=this,A=this.strategies,te=0,Oe=this.timeout,xn=null,Ot=function(nr,hi){hi?w(null,hi):(te=te+1,T.loop&&(te=te%A.length),te0&&(te=new ve(T.timeout,function(){Oe.abort(),A(!0)})),Oe=h.connect(w,function(xn,Ot){xn&&te&&te.isRunning()&&!T.failFast||(te&&te.ensureAborted(),A(xn,Ot))}),{abort:function(){te&&te.ensureAborted(),Oe.abort()},forceMinPriority:function(xn){Oe.forceMinPriority(xn)}}},g}(),Zd=g4e,D4e=function(){function g(h){this.strategies=h}return g.prototype.isSupported=function(){return U(this.strategies,pe.method("isSupported"))},g.prototype.connect=function(h,w){return y4e(this.strategies,h,function(T,A){return function(te,Oe){if(A[T].error=te,te){b4e(A)&&w(!0);return}On(A,function(xn){xn.forceMinPriority(Oe.transport.priority)}),w(null,Oe)}})},g}(),c6=D4e;function y4e(g,h,w){var T=q(g,function(A,te,Oe,xn){return A.connect(h,w(te,xn))});return{abort:function(){On(T,R4e)},forceMinPriority:function(A){On(T,function(te){te.forceMinPriority(A)})}}}function b4e(g){return de(g,function(h){return Boolean(h.error)})}function R4e(g){!g.error&&!g.aborted&&(g.abort(),g.aborted=!0)}var w4e=function(){function g(h,w,T){this.strategy=h,this.transports=w,this.ttl=T.ttl||1800*1e3,this.usingTLS=T.useTLS,this.timeline=T.timeline}return g.prototype.isSupported=function(){return this.strategy.isSupported()},g.prototype.connect=function(h,w){var T=this.usingTLS,A=E4e(T),te=[this.strategy];if(A&&A.timestamp+this.ttl>=pe.now()){var Oe=this.transports[A.transport];Oe&&(this.timeline.info({cached:!0,transport:A.transport,latency:A.latency}),te.push(new Zd([Oe],{timeout:A.latency*2+1e3,failFast:!0})))}var xn=pe.now(),Ot=te.pop().connect(h,function nr(hi,$u){hi?(Oz(T),te.length>0?(xn=pe.now(),Ot=te.pop().connect(h,nr)):w(hi)):(C4e(T,$u.transport.name,pe.now()-xn),w(null,$u))});return{abort:function(){Ot.abort()},forceMinPriority:function(nr){h=nr,Ot&&Ot.forceMinPriority(nr)}}},g}(),S4e=w4e;function s6(g){return"pusherTransport"+(g?"TLS":"NonTLS")}function E4e(g){var h=Sa.getLocalStorage();if(h)try{var w=h[s6(g)];if(w)return JSON.parse(w)}catch{Oz(g)}return null}function C4e(g,h,w){var T=Sa.getLocalStorage();if(T)try{T[s6(g)]=He({timestamp:pe.now(),transport:h,latency:w})}catch{}}function Oz(g){var h=Sa.getLocalStorage();if(h)try{delete h[s6(g)]}catch{}}var I4e=function(){function g(h,w){var T=w.delay;this.strategy=h,this.options={delay:T}}return g.prototype.isSupported=function(){return this.strategy.isSupported()},g.prototype.connect=function(h,w){var T=this.strategy,A,te=new ve(this.options.delay,function(){A=T.connect(h,w)});return{abort:function(){te.ensureAborted(),A&&A.abort()},forceMinPriority:function(Oe){h=Oe,A&&A.forceMinPriority(Oe)}}},g}(),qT=I4e,T4e=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}(),WR=T4e,F4e=function(){function g(h){this.strategy=h}return g.prototype.isSupported=function(){return this.strategy.isSupported()},g.prototype.connect=function(h,w){var T=this.strategy.connect(h,function(A,te){te&&T.abort(),w(A,te)});return T},g}(),M4e=F4e;function qR(g){return function(){return g.isSupported()}}var G4e=function(g,h,w){var T={};function A(Xz,y3e,b3e,R3e,w3e){var Zz=w(g,Xz,y3e,b3e,R3e,w3e);return T[Xz]=Zz,Zz}var te=Object.assign({},h,{hostNonTLS:g.wsHost+":"+g.wsPort,hostTLS:g.wsHost+":"+g.wssPort,httpPath:g.wsPath}),Oe=Object.assign({},te,{useTLS:!0}),xn=Object.assign({},h,{hostNonTLS:g.httpHost+":"+g.httpPort,hostTLS:g.httpHost+":"+g.httpsPort,httpPath:g.httpPath}),Ot={loop:!0,timeout:15e3,timeoutLimit:6e4},nr=new Pz({lives:2,minPingDelay:1e4,maxPingDelay:g.activityTimeout}),hi=new Pz({lives:2,minPingDelay:1e4,maxPingDelay:g.activityTimeout}),$u=A("ws","ws",3,te,nr),Gv=A("wss","ws",3,Oe,nr),_3e=A("sockjs","sockjs",1,xn),qz=A("xhr_streaming","xhr_streaming",1,xn,hi),d3e=A("xdr_streaming","xdr_streaming",1,xn,hi),zz=A("xhr_polling","xhr_polling",1,xn),h3e=A("xdr_polling","xdr_polling",1,xn),$z=new Zd([$u],Ot),g3e=new Zd([Gv],Ot),D3e=new Zd([_3e],Ot),Vz=new Zd([new WR(qR(qz),qz,d3e)],Ot),Qz=new Zd([new WR(qR(zz),zz,h3e)],Ot),Yz=new Zd([new WR(qR(Vz),new c6([Vz,new qT(Qz,{delay:4e3})]),Qz)],Ot),p6=new WR(qR(Yz),Yz,D3e),_6;return h.useTLS?_6=new c6([$z,new qT(p6,{delay:2e3})]):_6=new c6([$z,new qT(g3e,{delay:2e3}),new qT(p6,{delay:5e3})]),new S4e(new M4e(new WR(qR($u),_6,p6)),T,{ttl:18e5,timeline:h.timeline,useTLS:h.useTLS})},A4e=G4e,x4e=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()},L4e={getRequest:function(g){var h=new window.XDomainRequest;return h.ontimeout=function(){g.emit("error",new VGe),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()}},j4e=L4e,N4e=function(){var g=function(h,w){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,A){T.__proto__=A}||function(T,A){for(var te in A)A.hasOwnProperty(te)&&(T[te]=A[te])},g(h,w)};return function(h,w){g(h,w);function T(){this.constructor=h}h.prototype=w===null?Object.create(w):(T.prototype=w.prototype,new T)}}(),P4e=256*1024,O4e=function(g){N4e(h,g);function h(w,T,A){var te=g.call(this)||this;return te.hooks=w,te.method=T,te.url=A,te}return h.prototype.start=function(w){var T=this;this.position=0,this.xhr=this.hooks.getRequest(this),this.unloader=function(){T.close()},Sa.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&&(Sa.removeUnloadListener(this.unloader),this.unloader=null),this.xhr&&(this.hooks.abortRequest(this.xhr),this.xhr=null)},h.prototype.onChunk=function(w,T){for(;;){var A=this.advanceBuffer(T);if(A)this.emit("chunk",{status:w,data:A});else break}this.isBufferTooLong(T)&&this.emit("buffer_too_long")},h.prototype.advanceBuffer=function(w){var T=w.slice(this.position),A=T.indexOf(` `);return A!==-1?(this.position+=A+1,T.slice(0,A)):null},h.prototype.isBufferTooLong=function(w){return this.position===w.length&&w.length>P4e},h}(lr),k4e=O4e,f6;(function(g){g[g.CONNECTING=0]="CONNECTING",g[g.OPEN=1]="OPEN",g[g.CLOSED=3]="CLOSED"})(f6||(f6={}));var Kd=f6,U4e=1,H4e=function(){function g(h,w){this.hooks=h,this.session=Uz(1e3)+"/"+q4e(8),this.location=B4e(w),this.readyState=Kd.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===Kd.OPEN)try{return Sa.createSocketRequest("POST",kz(J4e(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=Kd.CLOSED,this.onclose&&this.onclose({code:h,reason:w,wasClean:T})},g.prototype.onChunk=function(h){if(h.status===200){this.readyState===Kd.OPEN&&this.onActivity();var w,T=h.data.slice(0,1);switch(T){case"o":w=JSON.parse(h.data.slice(1)||"{}"),this.onOpen(w);break;case"a":w=JSON.parse(h.data.slice(1)||"[]");for(var A=0;A0&&g.onChunk(w.status,w.responseText);break;case 4:w.responseText&&w.responseText.length>0&&g.onChunk(w.status,w.responseText),g.emit("finished",w.status),g.close();break}},w},abortRequest:function(g){g.onreadystatechange=null,g.abort()}},Z4e=X4e,K4e={createStreamingSocket:function(g){return this.createSocket(V4e,g)},createPollingSocket:function(g){return this.createSocket(Y4e,g)},createSocket:function(g,h){return new z4e(g,h)},createXHR:function(g,h){return this.createRequest(Z4e,g,h)},createRequest:function(g,h,w){return new k4e(g,h,w)}},Hz=K4e;Hz.createXDR=function(g,h){return this.createRequest(j4e,g,h)};var e3e=Hz,n3e={nextAuthCallbackID:1,auth_callbacks:{},ScriptReceivers:r,DependenciesReceivers:c,getDefaultStrategy:A4e,Transports:AGe,transportConnectionInitializer:x4e,HTTPFactory:e3e,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:tt,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 ot(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 jGe},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)}},Sa=n3e,v6;(function(g){g[g.ERROR=3]="ERROR",g[g.INFO=6]="INFO",g[g.DEBUG=7]="DEBUG"})(v6||(v6={}));var zT=v6,t3e=function(){function g(h,w,T){this.key=h,this.session=w,this.events=[],this.options=T||{},this.sent=0,this.uniqueID=0}return g.prototype.log=function(h,w){h<=this.options.level&&(this.events.push(De({},w,{timestamp:pe.now()})),this.options.limit&&this.events.length>this.options.limit&&this.events.shift())},g.prototype.error=function(h){this.log(zT.ERROR,h)},g.prototype.info=function(h){this.log(zT.INFO,h)},g.prototype.debug=function(h){this.log(zT.DEBUG,h)},g.prototype.isEmpty=function(){return this.events.length===0},g.prototype.send=function(h,w){var T=this,A=De({session:this.session,bundle:this.sent+1,key:this.key,lib:"js",version:this.options.version,cluster:this.options.cluster,features:this.options.features,timeline:this.events},this.options.params);return this.events=[],h(A,function(te,Oe){te||T.sent++,w&&w(te,Oe)}),!0},g.prototype.generateUniqueID=function(){return this.uniqueID++,this.uniqueID},g}(),a3e=t3e,r3e=function(){function g(h,w,T,A){this.name=h,this.priority=w,this.transport=T,this.options=A||{}}return g.prototype.isSupported=function(){return this.transport.isSupported({useTLS:this.options.useTLS})},g.prototype.connect=function(h,w){var T=this;if(this.isSupported()){if(this.priority{GCe.exports=function(n){return n!=null&&n.constructor!=null&&typeof n.constructor.isBuffer=="function"&&n.constructor.isBuffer(n)}});var zCe=Pe((gdr,qCe)=>{"use strict";var I7=Object.prototype.hasOwnProperty,OCe=Object.prototype.toString,kCe=Object.defineProperty,UCe=Object.getOwnPropertyDescriptor,HCe=function(n){return typeof Array.isArray=="function"?Array.isArray(n):OCe.call(n)==="[object Array]"},BCe=function(n){if(!n||OCe.call(n)!=="[object Object]")return!1;var t=I7.call(n,"constructor"),a=n.constructor&&n.constructor.prototype&&I7.call(n.constructor.prototype,"isPrototypeOf");if(n.constructor&&!t&&!a)return!1;var r;for(r in n);return typeof r=="undefined"||I7.call(n,r)},JCe=function(n,t){kCe&&t.name==="__proto__"?kCe(n,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):n[t.name]=t.newValue},WCe=function(n,t){if(t==="__proto__")if(I7.call(n,t)){if(UCe)return UCe(n,t).value}else return;return n[t]};qCe.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 hW=Symbol.for("react.element"),gW=Symbol.for("react.portal"),K7=Symbol.for("react.fragment"),e5=Symbol.for("react.strict_mode"),n5=Symbol.for("react.profiler"),t5=Symbol.for("react.provider"),a5=Symbol.for("react.context"),Xyn=Symbol.for("react.server_context"),r5=Symbol.for("react.forward_ref"),o5=Symbol.for("react.suspense"),i5=Symbol.for("react.suspense_list"),u5=Symbol.for("react.memo"),l5=Symbol.for("react.lazy"),Zyn=Symbol.for("react.offscreen"),vTe;vTe=Symbol.for("react.module.reference");function rf(e){if(typeof e=="object"&&e!==null){var n=e.$$typeof;switch(n){case hW:switch(e=e.type,e){case K7:case n5:case e5:case o5:case i5:return e;default:switch(e=e&&e.$$typeof,e){case Xyn:case a5:case r5:case l5:case u5:case t5:return e;default:return n}}case gW:return n}}}_r.ContextConsumer=a5;_r.ContextProvider=t5;_r.Element=hW;_r.ForwardRef=r5;_r.Fragment=K7;_r.Lazy=l5;_r.Memo=u5;_r.Portal=gW;_r.Profiler=n5;_r.StrictMode=e5;_r.Suspense=o5;_r.SuspenseList=i5;_r.isAsyncMode=function(){return!1};_r.isConcurrentMode=function(){return!1};_r.isContextConsumer=function(e){return rf(e)===a5};_r.isContextProvider=function(e){return rf(e)===t5};_r.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===hW};_r.isForwardRef=function(e){return rf(e)===r5};_r.isFragment=function(e){return rf(e)===K7};_r.isLazy=function(e){return rf(e)===l5};_r.isMemo=function(e){return rf(e)===u5};_r.isPortal=function(e){return rf(e)===gW};_r.isProfiler=function(e){return rf(e)===n5};_r.isStrictMode=function(e){return rf(e)===e5};_r.isSuspense=function(e){return rf(e)===o5};_r.isSuspenseList=function(e){return rf(e)===i5};_r.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===K7||e===n5||e===e5||e===o5||e===i5||e===Zyn||typeof e=="object"&&e!==null&&(e.$$typeof===l5||e.$$typeof===u5||e.$$typeof===t5||e.$$typeof===a5||e.$$typeof===r5||e.$$typeof===vTe||e.getModuleId!==void 0)};_r.typeOf=rf});var _Te=Pe((Gbr,pTe)=>{"use strict";pTe.exports=mTe()});var STe=Pe((jbr,wTe)=>{var DTe=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,Kyn=/\n/g,ebn=/^\s*/,nbn=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,tbn=/^:\s*/,abn=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,rbn=/^[;\s]*/,obn=/^\s+|\s+$/g,ibn=` `,yTe="/",bTe="*",SD="",ubn="comment",lbn="declaration";wTe.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(Kyn);D&&(t+=D.length);var y=R.lastIndexOf(ibn);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(ebn)}function f(R){var D;for(R=R||[];D=v();)D!==!1&&R.push(D);return R}function v(){var R=o();if(!(yTe!=e.charAt(0)||bTe!=e.charAt(1))){for(var D=2;SD!=e.charAt(D)&&(bTe!=e.charAt(D)||yTe!=e.charAt(D+1));)++D;if(D+=2,SD===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:ubn,comment:y})}}function m(){var R=o(),D=c(nbn);if(!!D){if(v(),!c(tbn))return l("property missing ':'");var y=c(abn),S=R({type:lbn,property:RTe(D[0].replace(DTe,SD)),value:y?RTe(y[0].replace(DTe,SD)):SD});return c(rbn),S}}function _(){var R=[];f(R);for(var D;D=m();)D!==!1&&(R.push(D),f(R));return R}return s(),_()};function RTe(e){return e?e.replace(obn,SD):SD}});var CTe=Pe((Nbr,bW)=>{var cbn=STe();function ETe(e,n){var t=null;if(!e||typeof e!="string")return t;for(var a,r=cbn(e),o=typeof n=="function",i,u,l=0,c=r.length;lxCn});var a$=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})+'"'},k$=function(e){return function(n){for(var t=[],a=0,r=n.length;a0?Math.floor(e/n):-Math.floor(e/-n)}},rV=function(e){return function(n){if(n===0)return 0;var t=Math.abs(n);return(e%t+t)%t}};var E6={Ring0:function(){return jv}};var wl=function(e){return e.mod};var za={degree:tV,div:aV,mod:rV,CommutativeRing0:function(){return E6}},dr=function(e){return e.div};var C6={mempty:Ce,Semigroup0:function(){return ew}},vt={mempty:"",Semigroup0:function(){return Z0}};var Pv={mempty:[],Semigroup0:function(){return sa}};var ba=function(e){return e.mempty};var I6=function(e){return function(){return e}},iV=function(e){return function(n){return function(){return n(e())()}}};var T6=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},K3e=function(e,n){if(e<1)return[];var t=new Array(e);return t.fill(n)},eAe=function(e,n){for(var t=[],a=0,r=0;r=t.length?n:e(t[a])};var DV=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)},bV=function(e,n,t,a,r){if(t<0||t>=r.length)return n;var o=r.slice();return o[t]=a,e(o)},sw=function(e){return e.slice().reverse()},UD=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}}},zV=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},NQ=function(e,n){for(var t=n[0],a=n.length,r=1;r0)return new d(Gw(e));if(je)return C.value;throw new Error("Failed pattern match at Data.Array.NonEmpty (line 161, column 1 - line 161, column 58): "+[e.constructor.name])};var t1=function(e){return function(n){return Gw(Si(e)(n))}};var WQ=function(e){return function(n){return kxe(e(uc(n)))}},Op=WQ(wi);var qQ=WQ(dQ),zQ=function(e){return function(n){return e(uc(n))}};var Aw=zQ(ou);var $Q=function(e){var n=zQ(e);return function(t){return Gw(n(t))}},VQ=function(e){return $Q(Si(e))};var QQ=function(e){var n=Sl(e);return function(t){return $Q(n(t))}};var YQ=function(e){return function(n){return function(t){return(t|0)===t?e(t):n}}},ft=function(e){return e};var hF=isFinite;var gF=Math.abs;var u8=Math.cos;var a1=Math.floor,l8=Math.log;var DF=function(e){return function(n){return Math.pow(e,n)}},dh=function(e){return function(n){return e%n}},hh=Math.round;var c8=Math.sin;var Wv=3.141592653589793;var XQ=2.302585092994046;var ZQ=Wi(LD),KQ=ai(LD);var kp=function(){return YQ(d.create)(C.value)}(),eY=function(e){if(!hF(e))return 0;if(e>=ft(ZQ))return ZQ;if(e<=ft(KQ))return KQ;if(je)return Ee(0)(kp(e));throw new Error("Failed pattern match at Data.Int (line 72, column 1 - line 72, column 29): "+[e.constructor.name])},us=function(e){return eY(hh(e))};var Ur=function(e){return eY(a1(e))},nY=function(e){return(e&1)==0};var Hr=function(){function e(){}return e.value=new e,e}(),Ga=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}(),yF=function(e){return e},n7e=function(e){return new Ga(e.value0,e.value1)};var t7e=function(e){var n=function(t){return function(a){var r=t,o=!1,i;function u(l,c){if(c instanceof Ga&&c.value1 instanceof Ga&&c.value1.value1 instanceof Ga){r=new Ga(c,l),a=c.value1.value1.value1;return}var s=function(v){return v instanceof Ga&&v.value1 instanceof Ga&&v.value1.value1 instanceof Hr?new Ga(e(v.value0),new Ga(e(v.value1.value0),Hr.value)):v instanceof Ga&&v.value1 instanceof Hr?new Ga(e(v.value0),Hr.value):Hr.value},f=function(v){return function(m){var _=v,R=!1,D;function y(S,G){if(S instanceof Ga&&S.value0 instanceof Ga&&S.value0.value1 instanceof Ga&&S.value0.value1.value1 instanceof Ga){_=S.value1,m=new Ga(e(S.value0.value0),new Ga(e(S.value0.value1.value0),new Ga(e(S.value0.value1.value1.value0),G)));return}return R=!0,G}for(;!R;)D=y(_,m);return D}};return o=!0,f(l)(s(c))}for(;!o;)i=u(r,a);return i}};return n(Hr.value)},a7e={map:t7e};var ls={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 Hr)return l=!0,f;if(v instanceof Ga){u=new Ga(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(Hr.value)}(),a=Va(ls)(kt(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 Hr)return o=!0,l;if(c instanceof Ga){r=e(l)(c.value0),a=c.value1;return}throw new Error("Failed pattern match at Data.List.Types (line 111, column 12 - line 113, column 30): "+[c.constructor.name])}for(;!o;)i=u(r,a);return i}};return n},foldMap:function(e){var n=Ye(e.Semigroup0()),t=ba(e);return function(a){return Va(ls)(function(r){var o=n(r);return function(i){return o(a(i))}})(t)}}};var r7e=Sr(ls);var s8={append:function(e){return function(n){return r7e(Ga.create)(n)(e)}}},aY=Ye(s8);var f8={append:function(e){return function(n){return new wf(e.value0,aY(e.value1)(n7e(n)))}}};var o7e={alt:aY,Functor0:function(){return a7e}},rY=function(){return{empty:Hr.value,Alt0:function(){return o7e}}}();var m7e=j(J);var v8=function(e){if(e instanceof Hr)return C.value;if(e instanceof Ga)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])},bF=function(e){return Iu(e)(function(n){return m7e(function(t){return new Ue(t.head,t.tail)})(v8(n))})};var gh=function(e){return Sr(e)(Ga.create)(Hr.value)};var lY=function(e){return e()};var cY=function(e){throw new Error(e)};var sY=function(){return cY};var p7e=sY(),_7e=lY,lc=function(e){return _7e(function(){return p7e(e)})};var m8=function(){var e=dF(rY);return function(n){return yF(e(n))}}();var fY=function(e){return e.value0};var mY=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 Mo=function(){function e(){}return e.value=new e,e}(),Go=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}(),pY=function(){function e(){}return e.value=new e,e}(),p8=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}(),_8=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}(),_Y=function(){function e(){}return e.value=new e,e}(),d8=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}(),RF=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 cs=function(e,n,t,a){if(t instanceof Mo){if(a instanceof Mo)return new Go(1,1,e,n,t,a);if(a instanceof Go)return new Go(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 Go){if(a instanceof Mo)return new Go(1+t.value0|0,1+t.value1|0,e,n,t,a);if(a instanceof Go)return new Go(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])},xw=function(){return kt(_8.create)(pY.value)}(),D7e=function(e){return function(n){return function(t){var a=function(r){var o=!1,i;function u(l){if(l instanceof pY)return o=!0,t(Ce);if(l instanceof p8)return o=!0,n(l.value0,l.value1,l.value2);if(l instanceof _8){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 r1=function(e){return function(n){return new Go(1,1,e,n,Mo.value,Mo.value)}},o1=function(){var e=function(a){if(a instanceof Mo)return 0;if(a instanceof Go)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 Go&&l.value0>e(c)?cs(l.value2,l.value3,cs(a,r,o,l.value4),cs(i,u,l.value5,c)):cs(i,u,cs(a,r,o,l),c)},t=function(a,r,o,i,u,l,c){return l instanceof Go&&e(u)<=l.value0?cs(l.value2,l.value3,cs(o,i,u,l.value4),cs(a,r,l.value5,c)):cs(o,i,u,cs(a,r,l,c))};return function(a,r,o,i){if(o instanceof Mo)return i instanceof Mo?r1(a)(r):i instanceof Go&&i.value0>1?n(a,r,o,i.value2,i.value3,i.value4,i.value5):cs(a,r,o,i);if(o instanceof Go){if(i instanceof Go){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 Mo&&o.value0>1?t(a,r,o.value2,o.value3,o.value4,o.value5,i):cs(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])}}(),h8=mY("unsafeSplit","Data.Map.Internal",function(){return function(e,n,t){if(t instanceof Mo)return new RF(C.value,Mo.value,Mo.value);if(t instanceof Go){var a=e(n)(t.value2);if(a instanceof Se){var r=h8(793)(e,n,t.value4);return new RF(r.value0,r.value1,o1(t.value2,t.value3,r.value2,t.value5))}if(a instanceof we){var r=h8(796)(e,n,t.value5);return new RF(r.value0,o1(t.value2,t.value3,t.value4,r.value1),r.value2)}if(a instanceof Fe)return new RF(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])}}),y7e=h8(786);var g8=mY("unsafeUnionWith","Data.Map.Internal",function(){return function(e,n,t,a){if(t instanceof Mo)return a;if(a instanceof Mo)return t;if(a instanceof Go){var r=y7e(e,a.value2,t),o=g8(809)(e,n,r.value1,a.value4),i=g8(810)(e,n,r.value2,a.value5);if(r.value0 instanceof d)return o1(a.value2,n(r.value0.value0)(a.value3),o,i);if(r.value0 instanceof C)return o1(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])}}),b7e=g8(803),R7e=function(e){var n=Ke(e);return function(t){return function(a){return function(r){return b7e(n,t,a,r)}}}},wF=function(e){return R7e(e)(rn)};var Dh=function(e){var n=Ke(e);return function(t){var a=function(r){var o=!1,i;function u(l){if(l instanceof Mo)return o=!0,C.value;if(l instanceof Go){var c=n(t)(l.value2);if(c instanceof Se){r=l.value4;return}if(c instanceof we){r=l.value5;return}if(c instanceof Fe)return o=!0,new d(l.value3);throw new Error("Failed pattern match at Data.Map.Internal (line 283, column 7 - line 286, column 22): "+[c.constructor.name])}throw new Error("Failed pattern match at Data.Map.Internal (line 280, column 8 - line 286, column 22): "+[l.constructor.name])}for(;!o;)i=u(r);return i};return a}};var w7e=function(){var e=function(n){return function(t){var a=n,r=!1,o;function i(u,l){if(l instanceof Mo)return r=!0,u;if(l instanceof Go){if(l.value5 instanceof Mo){a=new p8(l.value2,l.value3,u),t=l.value4;return}a=new p8(l.value2,l.value3,new _8(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}(),Lw=D7e(w7e),dY=function(){return Lw(function(e,n,t){return new d8(e,n,t)})(rn(_Y.value))}(),S7e=function(e){var n=_e(e);return function(t){var a=_e(t);return{eq:function(){var r=function(o){return function(i){var u=o,l=!1,c;function s(f,v){var m=dY(f);if(m instanceof d8){var _=dY(v);if(_ instanceof d8&&n(m.value0)(_.value0)&&a(m.value1)(_.value1)){u=m.value2,i=_.value2;return}return l=!0,!1}if(m instanceof _Y)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 E7e=function(){var e=function(n,t,a){return new d(new Ue(new Ue(n,t),a))};return Lw(e)(function(n){return C.value})}(),yh=function(e){var n=Iu(e)(E7e);return function(t){return n(xw(t))}};var D8=function(e){return e instanceof Mo};var y8=function(e){var n=Ke(e);return function(t){return function(a){var r=function(o){if(o instanceof Mo)return r1(t)(a);if(o instanceof Go){var i=n(t)(o.value2);if(i instanceof Se)return o1(o.value2,o.value3,r(o.value4),o.value5);if(i instanceof we)return o1(o.value2,o.value3,o.value4,r(o.value5));if(i instanceof Fe)return new Go(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 b8=function(e){var n=S7e(e);return function(t){var a=_e(n(t));return{eq:function(r){return function(o){if(r instanceof Mo)return o instanceof Mo;if(r instanceof Go)return o instanceof Go&&r.value1===o.value1?a(xw(r))(xw(o)):!1;throw new Error("Failed pattern match at Data.Map.Internal (line 94, column 14 - line 105, column 16): "+[r.constructor.name])}}}}};var Sf=function(){return Mo.value}(),cc=function(e){var n=y8(e);return function(t){return Va(t)(function(a){return function(r){return n(r.value0)(r.value1)(a)}})(Sf)}};var gY=Wo();var C7e=function(e){return gY(wF(e))};var DY=function(e){return e};var yY=function(e){return r1(e)(Ce)};var bY=function(e){return{append:C7e(e)}};var RY=gY(D8);var wY=function(e){var n=y8(e);return function(t){return function(a){return n(t)(Ce)(a)}}};var SY=function(e){var n=_e(b8(e)(ZR));return{eq:function(t){return function(a){return n(t)(a)}}}};var I7e=Sf,SF=function(e){var n=Va(e);return function(t){var a=wY(t);return n(function(r){return function(o){return a(o)(r)}})(I7e)}};var T7e=typeof Array.from=="function",EY=typeof Symbol!="undefined"&&Symbol!=null&&typeof Symbol.iterator!="undefined"&&typeof String.prototype[Symbol.iterator]=="function",F7e=typeof String.prototype.fromCodePoint=="function",M7e=typeof String.prototype.codePointAt=="function",CY=function(e){return M7e?function(n){return n.codePointAt(0)}:e},IY=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(EY)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 TY=function(e){return F7e?String.fromCodePoint:e},FY=function(e){return function(n){return EY?function(t){for(var a="",r=t[Symbol.iterator](),o=0;o=Up(AY)&&e<=Up(xY)?new d(GY(e)):C.value},G7e={succ:bh(w8)(Up),pred:Rh(w8)(Up),Ord0:function(){return ZT}};var i1=function(){return{cardinality:Up(xY)-Up(AY)|0,toEnum:w8,fromEnum:Up,Bounded0:function(){return Fp},Enum1:function(){return G7e}}}();var u1=function(e){return e.join("")},jw=function(e){return e.split("")},wh=function(e){return e},LY=function(e){return function(n){return function(t){return function(a){return t>=0&&t=0&&e1;if(t){var a=Ow(cm(1)(e)),r=OY(a);return r?PY(n)(a):n}return n},E8=CY(J7e),TF=MY(B7e)(E8),Yr=function(e){return ha(TF(e))};var C8=function(){var e=R8(i1)(ai(Fp))(Wi(Fp));return function(n){return wh(e(n))}}(),W7e=function(e){if(e<=65535)return C8(e);var n=O7e(e-65536|0)(1024)+55296|0,t=k7e(e-65536|0)(1024)+56320|0;return C8(n)+C8(t)};var I8=TY(W7e),UY=function(e){return function(n){if(e<1)return"";var t=kw(n);return t instanceof d?I8(t.value0.head)+UY(e-1|0)(t.value0.tail):n}},fc=FY(UY);var FF={eq:function(e){return function(n){return e===n}}},MF={compare:function(e){return function(n){return U7e(e)(n)}},Eq0:function(){return FF}},Uw=function(e){return function(n){return lm(ss(fc(e)(n)))(n)}};var q7e=function(e){return function(n){var t=e,a=!1,r;function o(i,u){var l=kw(u);if(l instanceof d){var c=i===0;if(c)return a=!0,new d(l.value0.head);t=i-1|0,n=l.value0.tail;return}return a=!0,C.value}for(;!a;)r=o(t,n);return r}},T8=function(e){return function(n){return e<0?C.value:e===0&&n===""?C.value:e===0?new d(E8(n)):IY(q7e)(d.create)(C.value)(E8)(e)(n)}},z7e={bottom:0,top:1114111,Ord0:function(){return MF}},Bp=function(){return{cardinality:1114111+1|0,fromEnum:function(e){return e},toEnum:function(e){if(e>=0&&e<=1114111)return new d(e);if(je)return C.value;throw new Error("Failed pattern match at Data.String.CodePoints (line 63, column 1 - line 68, column 26): "+[e.constructor.name])},Bounded0:function(){return z7e},Enum1:function(){return $7e(0)}}}(),$7e=j7e("enumCodePoint","Data.String.CodePoints",function(){return{succ:bh(bt(Bp))(ht(Bp)),pred:Rh(bt(Bp))(ht(Bp)),Ord0:function(){return MF}}});function AF(e,n){var t={};for(var a in n)({}).hasOwnProperty.call(n,a)&&(t[a]=n[a]);for(var r in e)({}).hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}var Ef=function(){return function(){return function(e){return function(n){return AF(e,n)}}}};function $Y(e){return typeof e=="string"}function F8(e){return typeof e=="number"}function VY(e){return typeof e=="boolean"}function xF(e){return e instanceof Object}function QY(e){return e instanceof Function}function Hw(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 M8(e){return typeof e}function Bw(e){return Object.prototype.toString.call(e).slice(8,-1)}function Jw(e){return e===null}function Eh(e){return e===void 0}var c1=Array.isArray||function(e){return Object.prototype.toString.call(e)==="[object Array]"};function Cf(e){return new Error(e)}function s1(e){return e.message}function LF(e){return function(){throw e}}var XY=function(e){return LF(Cf(e))};var Ii=function(e){return e.throwError};var vc=function(e){return e.catchError};var vs=function(e){var n=vc(e),t=e.MonadThrow0().Monad0(),a=j(t.Bind1().Apply0().Functor0()),r=z(t.Applicative0());return function(o){return n(a(ln.create)(o))(function(i){return r(on.create(i))})}};var qv=function(e){return e.state};var zv=function(e){return e.tell};var ms={liftEffect:Qe(Xe),Monad0:function(){return Ov}},Jn=function(e){return e.liftEffect};var o5e=j(ri);var G8=function(e){return e};var jF=function(e){return e};var NF=function(e){return function(n){return e(n)}},A8=function(e){var n=j(e);return{map:function(t){return NF(n(o5e(t)))}}};var KY=function(e){return{Applicative0:function(){return If(e)},Bind1:function(){return $v(e)}}},$v=function(e){var n=K(e.Bind1()),t=z(e.Applicative0());return{bind:function(a){return function(r){return n(a)(ar(function(o){return t(on.create(o))})(function(o){var i=r(o);return i}))}},Apply0:function(){return x8(e)}}},x8=function(e){var n=A8(e.Bind1().Apply0().Functor0());return{apply:nc(KY(e)),Functor0:function(){return n}}},If=function(e){return{pure:function(){var n=z(e.Applicative0());return function(t){return G8(n(ln.create(t)))}}(),Apply0:function(){return x8(e)}}};var eX=function(e){var n=KY(e);return{throwError:function(){var t=z(e.Applicative0());return function(a){return G8(t(on.create(a)))}}(),Monad0:function(){return n}}};var L8=function(e){var n=Ye(e);return function(t){var a=t.Bind1(),r=K(a),o=z(t.Applicative0()),i=A8(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 on)return r(l)(function(s){if(s instanceof ln)return o(new ln(s.value0));if(s instanceof on)return o(new on(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 u5e=re(Fr),l5e=re(ze);var PF=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),$w=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}(),nX=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}(),tX=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}(),Gr=Be,Wp=Be;var Vw=function(e){if(e instanceof PF)return e.value0;if(e instanceof nX)return"Error at array index "+(l5e(e.value0)+(": "+Vw(e.value1)));if(e instanceof tX)return"Error at property "+(u5e(e.value0)+(": "+Vw(e.value1)));if(e instanceof $w)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 Ih=function(e){var n=Ii(eX(e));return function(t){return n(m8(t))}},aX=function(e){var n=z(If(e)),t=Ih(e);return function(a){if(c1(a))return n(Wp(a));if(je)return t(new $w("array",Bw(a)));throw new Error("Failed pattern match at Foreign (line 164, column 1 - line 164, column 99): "+[a.constructor.name])}},Tf=function(e){var n=z(If(e)),t=Ih(e);return function(a){return function(r){if(Bw(r)===a)return n(Wp(r));if(je)return t(new $w(a,Bw(r)));throw new Error("Failed pattern match at Foreign (line 123, column 1 - line 123, column 104): "+[a.constructor.name,r.constructor.name])}}};var Th=function(e){return Tf(e)("String")};var rX=sr(ea),oX=ka(rX),c5e=RQ(KD),s5e=re(ze),f5e=bw(vt),uu=function(){function e(){}return e.value=new e,e}(),Xu=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),he={validateJsRecord:function(e){return uu.value}},qp={validateForeignType:function(e){return uu.value}};var Fh=function(e){return function(n){return function(t){var a=n(t);return a?uu.value:new Xu({path:"",got:t,expected:e})}}},Qw={validateForeignType:Fh("Array")(c1)},zn={validateForeignType:Fh("Boolean")(VY)},iX={validateForeignType:Fh("Function")(QY)};var Rt={validateForeignType:Fh("Int")(Df(rX)(F8)(function(e){return Dt(kp(Wp(e)))}))};var Mt={validateForeignType:Fh("Number")(F8)},OF={validateForeignType:Fh("Object")(xF)},ue={validateForeignType:Fh("String")($Y)},uX=function(e){return e.validateJsRecord},Qn=function(){return function(e){var n=uX(e);return{validateForeignType:function(t){if(xF(t))return n(t);if(je)return new Xu({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])}}}},v1=function(e){return e.validateForeignType},$n=function(e){var n=v1(e);return{validateForeignType:function(t){if(oX(c1)(t))return new Xu({path:"",expected:"Array",got:t});if(je){var a=function(o){return function(i){var u=n(i);if(u instanceof uu)return C.value;if(u instanceof Xu)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=c5e(a)(Wp(t));if(r instanceof C)return uu.value;if(r instanceof d)return new Xu({expected:r.value0.invalid.expected,got:r.value0.invalid.got,path:"["+(s5e(r.value0.idx)+("]"+r.value0.invalid.path))});throw new Error("Failed pattern match at Elmish.Foreign (line 182, column 21 - line 184, column 101): "+[r.constructor.name])}throw new Error("Failed pattern match at Elmish.Foreign (line 179, column 6 - line 188, column 51): "+[t.constructor.name])}}},Ln=function(e){var n=v1(e);return{validateForeignType:function(t){if(Jw(t)||Eh(t))return uu.value;if(je){var a=n(t);if(a instanceof uu)return uu.value;if(a instanceof Xu)return new Xu({path:a.value0.path,got:a.value0.got,expected:"Nullable "+a.value0.expected});throw new Error("Failed pattern match at Elmish.Foreign (line 196, column 11 - line 198, column 82): "+[a.constructor.name])}throw new Error("Failed pattern match at Elmish.Foreign (line 192, column 1 - line 198, column 82): "+[t.constructor.name])}}},Mh=function(e){var n=v1(e);return{validateForeignType:function(t){if(oX(xF)(t))return new Xu({path:"",expected:"Object",got:t});if(je){var a=function(r){return function(o){return function(i){if(r instanceof Xu)return C.value;var u=n(i);if(u instanceof uu)return new d(uu.value);if(u instanceof Xu)return new d(new Xu({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 GQ(a)(uu.value)(Wp(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=Tr(e);return function(t){var a=v1(t);return function(r){var o=uX(r);return{validateJsRecord:function(i){var u=n(At.value),l=Eu(u)(Wp(i)),c=a(l);if(c instanceof Xu)return new Xu({expected:c.value0.expected,got:c.value0.got,path:"."+(u+c.value0.path)});if(c instanceof uu)return o(i);throw new Error("Failed pattern match at Elmish.Foreign (line 235, column 9 - line 237, column 43): "+[c.constructor.name])}}}}},sm=function(e){var n=v1(e);return function(t){var a=n(t);if(a instanceof uu)return new ln(Wp(t));if(a instanceof Xu)return new on(f5e([a.value0.path,function(){var r=a.value0.path==="";return r?"Expected ":": expected "}(),a.value0.expected," but got: ",Hw(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=sm(e);return function(t){return tc(n(t))}};var lX=un(),v5e=Ke(Ut);var kF=function(e){return e};var j8={show:lX};var Ti={show:lX};var m5e={eq:function(e){return function(n){return e===n}}},N8={compare:function(e){return function(n){return v5e(e)(n)}},Eq0:function(){return m5e}},mc={eq:function(e){return function(n){return e===n}}};var Yw=ue,ps=ue;var Xw="";function cX(e){var n=e.split(` `);return n.reduce(function(t,a){var r=d5e(a)||g5e(a)||b5e(a)||E5e(a)||w5e(a);return r&&t.push(r),t},[])}var p5e=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack||\/|[a-z]:\\|\\\\).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,_5e=/\((\S*)(?::(\d+))(?::(\d+))\)/;function d5e(e){var n=p5e.exec(e);if(!n)return null;var t=n[2]&&n[2].indexOf("native")===0,a=n[2]&&n[2].indexOf("eval")===0,r=_5e.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]||Xw,arguments:t?[n[2]]:[],lineNumber:n[3]?+n[3]:null,column:n[4]?+n[4]:null}}var h5e=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;function g5e(e){var n=h5e.exec(e);return n?{file:n[2],methodName:n[1]||Xw,arguments:[],lineNumber:+n[3],column:n[4]?+n[4]:null}:null}var D5e=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,y5e=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function b5e(e){var n=D5e.exec(e);if(!n)return null;var t=n[3]&&n[3].indexOf(" > eval")>-1,a=y5e.exec(n[3]);return t&&a!=null&&(n[3]=a[1],n[4]=a[2],n[5]=null),{file:n[3],methodName:n[1]||Xw,arguments:n[2]?n[2].split(","):[],lineNumber:n[4]?+n[4]:null,column:n[5]?+n[5]:null}}var R5e=/^\s*(?:([^@]*)(?:\((.*?)\))?@)?(\S.*?):(\d+)(?::(\d+))?\s*$/i;function w5e(e){var n=R5e.exec(e);return n?{file:n[3],methodName:n[1]||Xw,arguments:[],lineNumber:+n[4],column:n[5]?+n[5]:null}:null}var S5e=/^\s*at (?:((?:\[object object\])?[^\\/]+(?: \[as \S+\])?) )?\(?(.*?):(\d+)(?::(\d+))?\)?\s*$/i;function E5e(e){var n=S5e.exec(e);return n?{file:n[2],methodName:n[1]||Xw,arguments:[],lineNumber:+n[3],column:n[4]?+n[4]:null}:null}function sX({skipFrames:e,prefix:n}){let t=new Error().stack,r=cX(t)[e],o=fX(r.file.replace(/^(http(s?):\/\/)?[^\/]+/,"")),i=fX(r.methodName);return`${n}_${o}_${i}_${r.lineNumber}_${r.column}`}var fX=e=>e.replace(/[^\d\w]+/g,"_").replace(/(^_|_$)/g,"");Wt();var vX=function(){let e={};return function(n,t){let a=e[n]||(e[n]=_X(n));return t(a)}}();function mX(e){return e(_X())}var pX=Et.createElement,tS=e=>()=>e.props.def;function _X(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 HF=typeof module=="undefined"?void 0:module.require,Pzn=function(){try{return HF===void 0?void 0:HF("util")}catch{return}}();var Ozn=function(){var e;if(typeof performance!="undefined")e=performance;else if(HF)try{e=HF("perf_hooks").performance}catch{}return function(){return(e||Date).now()}}();var El=function(){var e={},n="Pure",t="Throw",a="Catch",r="Sync",o="Async",i="Bind",u="Bracket",l="Fork",c="Sequential",s="Map",f="Apply",v="Alt",m="Cons",_="Resume",R="Release",D="Finalizer",y="Finalized",S="Forked",G="Fiber",P="Thunk";function O(ne,me,ye,U){this.tag=ne,this._1=me,this._2=ye,this._3=U}function M(ne){var me=function(ye,U,de){return new O(ne,ye,U,de)};return me.tag=ne,me}function k(ne){return new O(n,void 0)}function oe(ne){try{ne()}catch(me){setTimeout(function(){throw me},0)}}function le(ne,me,ye){try{return me(ye())}catch(U){return ne(U)}}function ve(ne,me,ye){try{return me(ye)()}catch(U){return ye(ne(U))(),k}}var X=function(){var ne=1024,me=0,ye=0,U=new Array(ne),de=!1;function V(){var Ae;for(de=!0;me!==0;)me--,Ae=U[ye],U[ye]=void 0,ye=(ye+1)%ne,Ae();de=!1}return{isDraining:function(){return de},enqueue:function(Ae){var Me,He;me===ne&&(He=de,V(),de=He),U[(ye+me)%ne]=Ae,me++,de||V()}}}();function be(ne){var me={},ye=0,U=0;return{register:function(de){var V=ye++;de.onComplete({rethrow:!0,handler:function(Ae){return function(){U--,delete me[V]}}})(),me[V]=de,U++},isEmpty:function(){return U===0},killAll:function(de,V){return function(){if(U===0)return V();var Ae=0,Me={};function He(Le){Me[Le]=me[Le].kill(de,function(In){return function(){delete Me[Le],Ae--,ne.isLeft(In)&&ne.fromLeft(In)&&setTimeout(function(){throw ne.fromLeft(In)},0),Ae===0&&V()}})()}for(var $e in me)me.hasOwnProperty($e)&&(Ae++,He($e));return me={},ye=0,U=0,function(Le){return new O(r,function(){for(var In in Me)Me.hasOwnProperty(In)&&Me[In]()})}}}}}var pe=0,De=1,Ne=2,ie=3,jn=4,Ve=5,Pn=6;function On(ne,me,ye){var U=0,de=pe,V=ye,Ae=null,Me=null,He=null,$e=null,Le=null,In=0,cn=0,nt=null,Cn=!0;function tt(ot){for(var Hn,sn,mt;;)switch(Hn=null,sn=null,mt=null,de){case Ne:de=De;try{V=He(V),$e===null?He=null:(He=$e._1,$e=$e._2)}catch(Ie){de=Ve,Ae=ne.left(Ie),V=null}break;case ie:ne.isLeft(V)?(de=Ve,Ae=V,V=null):He===null?de=Ve:(de=Ne,V=ne.fromRight(V));break;case De:switch(V.tag){case i:He&&($e=new O(m,He,$e)),He=V._2,de=De,V=V._1;break;case n:He===null?(de=Ve,V=ne.right(V._1)):(de=Ne,V=V._1);break;case r:de=ie,V=le(ne.left,ne.right,V._1);break;case o:de=jn,V=ve(ne.left,V._1,function(Ie){return function(){U===ot&&(U++,X.enqueue(function(){U===ot+1&&(de=ie,V=Ie,tt(U))}))}});return;case t:de=Ve,Ae=ne.left(V._1),V=null;break;case a:He===null?Le=new O(m,V,Le,Me):Le=new O(m,V,new O(m,new O(_,He,$e),Le,Me),Me),He=null,$e=null,de=De,V=V._1;break;case u:In++,He===null?Le=new O(m,V,Le,Me):Le=new O(m,V,new O(m,new O(_,He,$e),Le,Me),Me),He=null,$e=null,de=De,V=V._1;break;case l:de=ie,Hn=On(ne,me,V._2),me&&me.register(Hn),V._1&&Hn.run(),V=ne.right(Hn);break;case c:de=De,V=x(ne,me,V._1);break}break;case Ve:if(He=null,$e=null,Le===null)de=Pn,V=Me||Ae||V;else switch(Hn=Le._3,mt=Le._1,Le=Le._2,mt.tag){case a:Me&&Me!==Hn&&In===0?de=Ve:Ae&&(de=De,V=mt._2(ne.fromLeft(Ae)),Ae=null);break;case _:Me&&Me!==Hn&&In===0||Ae?de=Ve:(He=mt._1,$e=mt._2,de=Ne,V=ne.fromRight(V));break;case u:In--,Ae===null&&(sn=ne.fromRight(V),Le=new O(m,new O(R,mt._2,sn),Le,Hn),(Me===Hn||In>0)&&(de=De,V=mt._3(sn)));break;case R:Le=new O(m,new O(y,V,Ae),Le,Me),de=De,Me&&Me!==Hn&&In===0?V=mt._1.killed(ne.fromLeft(Me))(mt._2):Ae?V=mt._1.failed(ne.fromLeft(Ae))(mt._2):V=mt._1.completed(ne.fromRight(V))(mt._2),Ae=null,In++;break;case D:In++,Le=new O(m,new O(y,V,Ae),Le,Me),de=De,V=mt._1;break;case y:In--,de=Ve,V=mt._1,Ae=mt._2;break}break;case Pn:for(var Oa in nt)nt.hasOwnProperty(Oa)&&(Cn=Cn&&nt[Oa].rethrow,oe(nt[Oa].handler(V)));nt=null,Me&&Ae?setTimeout(function(){throw ne.fromLeft(Ae)},0):ne.isLeft(V)&&Cn&&setTimeout(function(){if(Cn)throw ne.fromLeft(V)},0);return;case pe:de=De;break;case jn:return}}function gt(ot){return function(){if(de===Pn)return Cn=Cn&&ot.rethrow,ot.handler(V)(),function(){};var Hn=cn++;return nt=nt||{},nt[Hn]=ot,function(){nt!==null&&delete nt[Hn]}}}function Fn(ot,Hn){return function(){if(de===Pn)return Hn(ne.right(void 0))(),function(){};var sn=gt({rethrow:!1,handler:function(){return Hn(ne.right(void 0))}})();switch(de){case pe:Me=ne.left(ot),de=Pn,V=Me,tt(U);break;case jn:Me===null&&(Me=ne.left(ot)),In===0&&(de===jn&&(Le=new O(m,new O(D,V(ot)),Le,Me)),de=Ve,V=null,Ae=null,tt(++U));break;default:Me===null&&(Me=ne.left(ot)),In===0&&(de=Ve,V=null,Ae=null)}return sn}}function Tt(ot){return function(){var Hn=gt({rethrow:!1,handler:ot})();return de===pe&&tt(U),Hn}}return{kill:Fn,join:Tt,onComplete:gt,isSuspended:function(){return de===pe},run:function(){de===pe&&(X.isDraining()?tt(U):X.enqueue(function(){tt(U)}))}}}function q(ne,me,ye,U){var de=0,V={},Ae=0,Me={},He=new Error("[ParAff] Early exit"),$e=null,Le=e;function In(gt,Fn,Tt){var ot=Fn,Hn=null,sn=null,mt=0,Oa={},Ie,qe;e:for(;;)switch(Ie=null,ot.tag){case S:if(ot._3===e&&(Ie=V[ot._1],Oa[mt++]=Ie.kill(gt,function(Ft){return function(){mt--,mt===0&&Tt(Ft)()}})),Hn===null)break e;ot=Hn._2,sn===null?Hn=null:(Hn=sn._1,sn=sn._2);break;case s:ot=ot._2;break;case f:case v:Hn&&(sn=new O(m,Hn,sn)),Hn=ot,ot=ot._1;break}if(mt===0)Tt(ne.right(void 0))();else for(qe=0,Ie=mt;qe""),w6e=_c.unmountComponentAtNode;function GZ(e,n,t){return Et.createElement.apply(null,[e,S6e(e,n)].concat(t))}function S6e(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 AZ=(e,n)=>n[e],xZ=(e,n,t)=>t[e]=n;var Oh=function(n){return function(t){return n(t)()}};var h1=function(n){return function(t){return function(){return n(t)}}},Yp=function(n){return function(t){return function(a){return function(){return n(t,a)}}}},g1=function(n){return function(t){return function(a){return function(r){return function(){return n(t,a,r)}}}}};function NZ(e){return n=>e===n}var Ku=null;function PZ(e,n,t){return e==null?n:t(e)}function Cl(e){return e}var Ht=ke(Ku)(Cl),ee=function(e){return PZ(e,C.value,d.create)};var pS=function(e){return function(n){return function(t){var a=ee(t);if(e instanceof C&&a instanceof C)return Ce;if(e instanceof d&&a instanceof C)return Ce;if(e instanceof d&&a instanceof d){if(NZ(e.value0)(a.value0))return Ce;if(je)return n(new d(a.value0))()}return n(a)()}}};var k6e=Z(ut);var L={asReactChildren:function(e){return[e]}},ae={asReactChildren:function(e){return[e]}},W={asReactChildren:Qe(Xe)};var fL=g1(IZ),OZ=function(){return g1(xZ)},kZ=Yp(FZ),UZ=Yp(MZ),HZ=h1(CZ),vL=function(e){var n=wt(e);return function(t){return function(a){return k6e(function(){return AZ(t,a)})(n)}}},BZ=Yp(TZ),kh=function(e){return e.asReactChildren},dc=function(){return function(e){var n=kh(e);return function(t){return function(a){return function(r){return GZ(t,a,n(r))}}}}},U6e=dc()(W),gs=function(){return function(e){return function(n){return U6e(e)(n)([])}}};var mL=j(ut),H6e=z(Kt),JZ=function(e){return{initialize:function(n){return BZ(n)(e.initialState)},getState:function(n){return function(){var a=mL(ee)(HZ(n))();return Ee(e.initialState)(a)}},setState:fL}},WZ=function(){var e=function(n){return function(t){return{initialize:function(a){return df(new d(t.initialState))(n)},getState:function(a){return mL(Ee(t.initialState))(rs(n))},setState:function(a){return function(r){return function(o){return function(){return df(new d(r))(n)(),fL(a)(r)(H6e(Ce))(),o()}}}}}}};return mL(e)(hf(C.value))}();var qZ=Z(ge),zZ=Ye(sa);var J6e=z(Kt),$Z=OZ(),rM=Z(ut),W6e=vL(zn),VZ=j(ut),q6e=vL($n(iX)),z6e=Bn(Mn),$6e=pt($a),V6e=J6(Kt)(Te),Q6e=z6e(Pt),QZ=Jn(ms),Y6e=nF(Ov),X6e=Ye(nw(aF(ew))),YZ=function(e){return e},Uh=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}(),Z6e={map:function(e){return function(n){return new Uh(e(n.value0),n.value1)}}},Fi=function(e){return{bimap:function(n){return function(t){return function(a){return new Uh(t(a.value0),qZ(a.value1)(function(r){return function(o){return r({dispatch:function(i){return o.dispatch(n(i))},onStop:o.onStop})}}))}}}}},XZ={apply:function(e){return function(n){return new Uh(e.value0(n.value0),zZ(e.value1)(n.value1))}},Functor0:function(){return Z6e}},qt={bind:function(e){return function(n){var t=n(e.value0);return new Uh(t.value0,zZ(e.value1)(t.value1))}},Apply0:function(){return XZ}},_t={pure:function(e){return new Uh(e,[])},Apply0:function(){return XZ}},ZZ={Applicative0:function(){return _t},Bind1:function(){return qt}};var K6e=function(e){var n=K(e);return function(t){var a=Jn(t);return function(r){return function(o){return new Uh(r,qZ(o)(function(i){return function(u){return n(i)(function(l){return a(u.dispatch(l))})}}))}}}};var Xp=function(e){return new Uh(Ce,[e])},fr=function(e){return Xp(rn(e))},D1=function(e){var n=K(e.Monad0().Bind1()),t=Jn(e);return function(a){return Xp(function(r){return n(a)(function(o){return t(ke(J6e(Ce))(r.dispatch)(o))})})}},Xr=function(e){var n=K6e(e.Monad0().Bind1())(e);return function(t){return n(Ce)([t])}},KZ=function(e){return function(n){var t=$Z("__unmounted"),a=$Z("__subscriptions"),r=function(m){return function(_){return function(R){return function(){var y=rM(tS(m))(function(S){return S.init})();return n({initialState:y.value0}).setState(m)(_)(R)()}}}},o=function(){var m=VZ(Ee(!1)),_=W6e("__unmounted");return function(R){return m(_(R))}}(),i=function(){var m=VZ(Ee([])),_=q6e("__subscriptions");return function(R){return m(_(R))}}(),u=function(m){return function(){return $6e(V6e)(i(m))(),a([])(m)()}},l=function(m){return function(){var R=rM(tS(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(Si(uS(_))(D))(m)()}}},s=function(m){return function(_){var R=function(D){return uS(Q6e(_s(0))(function(){return D({dispatch:function(){var y=f(_);return function(S){return QZ(y(S))}}(),onStop:c(_)})}))};return T6(m)(R)}},f=function(m){return function(_){return Y6e(o(m))(function(){var D=l(m)(),y=rM(tS(m))(function(G){return G.update})(),S=y(D)(_);return r(m)(S.value0)(s(S.value1)(m))()})}},v=function(m){return function(){var R=l(m)(),D=rM(tS(m))(function(y){return y.view})();return D(R)(f(m))}};return function(m){return pX(e,{def:m,init:n({initialState:m.init.value0}).initialize,render:v,componentDidMount:s(m.init.value1),componentWillUnmount:X6e(t(!0))(u)})}}},eK=function(e){return function(){var t=QZ(WZ)();return mX(function(a){return KZ(a)(t)(e)})}},el=function(e){return function(n){return vX(e,function(t){var a=KZ(t)(JZ);return function(r){return a(n(r))}})}};var e8e=z(_t),n8e=Qe(Xe),oM=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),t8e={map:function(e){return function(n){return new oM(function(t){return n.value0(function(a){return t(e(a))})})}}},nK=j(t8e);var pL=function(e){return YZ(sX(e))},ui=function(e){return new oM(function(n){return n(e)})},y1=function(e){return function(n){return new oM(function(t){return el(e)(n)(t)})}},_L=function(e){return function(n){return el(e)(function(t){return{init:e8e(Ce),update:rn(AD),view:rn(rn(n.value0(n8e)))}})(Ce)}},b1=function(e){var n=pL({skipFrames:3,prefix:"WithHook"});return function(t){return _L(n)(nK(t)(e))}},co=function(e){var n=pL({skipFrames:3,prefix:"WithHookCurried"});return function(t){return _L(n)(nK(Uv(t))(e))}},Tu=function(e){var n=pL({skipFrames:3,prefix:"HooksComponent"});return _L(n)(e)},li=function(){return function(e){return function(n){return new oM(function(t){return e.value0(function(a){var r=n(a);return r.value0(t)})})}}},a8e=li(),Yv=function(e){return function(){return a8e}};var tK=z(_t),o8e=Qe(Xe);var i8e=function(e){return function(n){return function(t){return y1(e)(function(a){return n({init:tK(t),update:function(r){return function(o){return tK(o)}},view:WD(a)})})}}},fa=function(e){return i8e("UseState")(o8e)(e)};var aK=Da(hs()),rK=aK.Fragment;var Y=Be,ce=dc()(W)(rK)({}),nn=!1;var vn=function(){return{"genericTop'":fe.value}}();var dL=function(e){return e["genericTop'"]},mn=function(e){return{"genericTop'":dL(e)}};var pn=function(){return{"genericBottom'":fe.value}}();var _S=function(e){return e["genericBottom'"]},_n=function(e){return{"genericBottom'":_S(e)}};var dn=function(e){return{"genericBottom'":new H(_S(e))}},oK=function(e){var n=oh(e);return function(t){return n(_S(t))}};var pm=j(J),iM=un();var hL=function(e){return e["genericToEnum'"]};var uM=function(e){return e["genericSucc'"]},lM=function(e){var n=oh(e),t=Mp(e);return function(a){var r=pm(n),o=uM(a);return function(i){return r(o(t(i)))}}},cM=function(e){return e["genericPred'"]},uK=function(e){var n=oh(e),t=Mp(e);return function(a){var r=pm(n),o=cM(a);return function(i){return r(o(t(i)))}}},sM=function(e){return e["genericFromEnum'"]},lK=function(e){var n=Mp(e);return function(t){var a=sM(t);return function(r){return a(n(r))}}},hn=function(e){var n=cM(e),t=uM(e);return function(a){var r=dL(a);return function(o){var i=cM(o),u=uM(o);return function(l){var c=_S(l);return{"genericPred'":function(s){if(s instanceof H)return pm(H.create)(n(s.value0));if(s instanceof p){var f=i(s.value0);if(f instanceof C)return new d(new H(r));if(f instanceof d)return new d(new p(f.value0));throw new Error("Failed pattern match at Data.Enum.Generic (line 30, column 14 - line 32, column 31): "+[f.constructor.name])}throw new Error("Failed pattern match at Data.Enum.Generic (line 28, column 18 - line 32, column 31): "+[s.constructor.name])},"genericSucc'":function(s){if(s instanceof H){var f=t(s.value0);if(f instanceof C)return new d(new p(c));if(f instanceof d)return new d(new H(f.value0));throw new Error("Failed pattern match at Data.Enum.Generic (line 34, column 14 - line 36, column 31): "+[f.constructor.name])}if(s instanceof p)return pm(p.create)(u(s.value0));throw new Error("Failed pattern match at Data.Enum.Generic (line 33, column 18 - line 37, column 36): "+[s.constructor.name])}}}}}};var gn={"genericPred'":function(e){return C.value},"genericSucc'":function(e){return C.value}},Dn=function(e){var n=cM(e),t=uM(e);return{"genericPred'":function(a){return pm(ow)(n(a))},"genericSucc'":function(a){return pm(ow)(t(a))}}};var gL=function(e){return e["genericCardinality'"]};var yn=function(e){var n=gL(e),t=hL(e),a=sM(e);return function(r){var o=hL(r),i=sM(r);return{"genericCardinality'":iM(n)+iM(gL(r))|0,"genericToEnum'":function(u){var l=function(c){if(u>=0&&un=>t=>a=>{let r=f8e[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()},cK=(e,n)=>(n.__sentryFingerprint=e,n);var sK=function(e){return Cu(cK)(e)};var $o="error";var fM={parseOrPanic:function(e){return function(n){var t=e.parse(n);if(t instanceof ln)return t.value0;if(t instanceof on)return Ao($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])}}},lt=function(e){return e.parseOrPanic},v8e=lt(fM),Zn=function(e){var n=lt(e);return function(t){var a=j(t);return function(r){return n({parse:function(o){return a(d.create)(r.parse(o))},default:C.value,diagnosticName:r.diagnosticName})}}},m8e=Zn(fM)(ri),dS=function(e){var n=sm(e);return function(t){return m8e({parse:n,diagnosticName:t})}},Ge={parseOrPanic:function(e){return v8e({default:e.default,diagnosticName:e.diagnosticName,parse:function(){var n=ke(new on(""))(ln.create);return function(t){return n(e.parse(t))}}()})}};var fK=lt(Ge);var p8e=yf(Te);var Zp={name:"United States of America",code:"US"},Hh=function(e){return e.name},Kp=function(e){return e.code};var DL=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")]}(),_8e=Gn(Kp)(DL),R1=fK({parse:_8e,default:{name:"",code:""},diagnosticName:"USState"}),vK=fK({parse:Gn(Hh)(DL),default:{name:"",code:""},diagnosticName:"USState"}),mK=[Zp,{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"}],d8e=function(e){return p8e(function(n){return function(t){return t===e}(function(t){return t.code}(n))})(mK)},vM=Zn(Ge)(J)({parse:d8e,diagnosticName:"Common.Geo.Country"});var h8e=function(e){return e};var w1=function(e){return e},hS=h8e;var pK=Z(J),g8e=Nt(Pr),D8e=Or(Te)(vt),Il=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),nl=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),gS=function(e){if(e instanceof Il)return Hh(e.value0.state);if(e instanceof nl)return e.value0.country.name;throw new Error("Failed pattern match at Common.Address (line 156, column 22 - line 158, column 41): "+[e.constructor.name])};var DS=function(e){if(e instanceof Il)return e.value0.region;if(e instanceof nl)return"Non-US";throw new Error("Failed pattern match at Common.Address (line 136, column 10 - line 138, column 29): "+[e.constructor.name])},y8e=function(e){return{street:e.street,city:e.city,county:e.county,region:e.region,zip:e.zip,state:R1(e.state),location:hS(e.location)}},b8e=function(e){return{address:e.address,country:Ee(Zp)(vM(e.country)),location:hS(e.location)}},_K=function(e){var n=pK(ee(e.usAddress))(function(a){return new Il(y8e(a))}),t=pK(ee(e.nonUSAddress))(function(a){return new nl(b8e(a))});return eF(function(a){return Ao($o)("Unable to parse Address: Unknown Address")({raw:e})(function(r){return new nl({address:"",country:Zp,location:hS({lat:-48.8766632,lng:-123.395522})})})})(g8e(n)(t))},yS=function(e){if(e instanceof Il||e instanceof nl)return e.value0.location;throw new Error("Failed pattern match at Common.Address (line 131, column 12 - line 133, column 37): "+[e.constructor.name])},bS=function(e){if(e instanceof Il)return e.value0.city+(", "+Hh(e.value0.state));if(e instanceof nl)return e.value0.country.name;throw new Error("Failed pattern match at Common.Address (line 141, column 26 - line 143, column 41): "+[e.constructor.name])},yL=function(e){if(e instanceof Il)return D8e(" ")([e.value0.street,bS(e),e.value0.zip]);if(e instanceof nl)return e.value0.address;throw new Error("Failed pattern match at Common.Address (line 120, column 18 - line 124, column 17): "+[e.constructor.name])};var R8e=lt(Ge),dK=Dn(gn),hK=hn(dK)(mn(vn)),gK=_n(pn),DK=dn(gK),yK=Rn(bn),bK=yn(yK),mM=function(){function e(){}return e.value=new e,e}(),bL=function(){function e(){}return e.value=new e,e}(),RL=function(){function e(){}return e.value=new e,e}(),w8e={to:function(e){if(e instanceof H)return mM.value;if(e instanceof p&&e.value0 instanceof H)return bL.value;if(e instanceof p&&e.value0 instanceof p)return RL.value;throw new Error("Failed pattern match at Common.CampusSetting (line 16, column 1 - line 16, column 40): "+[e.constructor.name])},from:function(e){if(e instanceof mM)return new H(fe.value);if(e instanceof bL)return new p(new H(fe.value));if(e instanceof RL)return new p(new p(fe.value));throw new Error("Failed pattern match at Common.CampusSetting (line 16, column 1 - line 16, column 40): "+[e.constructor.name])}},S8e=wn(w8e)(hK(hK(dK)(gK))(DK))(bK(bK(yK)))(DK);var Bh=function(e){if(e instanceof mM)return"Rural";if(e instanceof RL)return"Urban";if(e instanceof bL)return"Suburban";throw new Error("Failed pattern match at Common.CampusSetting (line 21, column 8 - line 24, column 25): "+[e.constructor.name])},RK=function(){return R8e({parse:Gn(Bh)(S8e),default:mM.value,diagnosticName:"CampusSetting"})}();var wK=function(e){return function(n){return n.join(e)}};var E8e=Ye(sa),xo={genericShowArgs:function(e){return[]}};var C8e=function(e){return e.genericShowArgs};var Zr=function(e){var n=C8e(e);return function(t){var a=Tr(t);return{"genericShow'":function(r){var o=a(At.value),i=n(r);return i.length===0?o:"("+(wK(" ")(E8e([o])(i))+")")}}}},wL=function(e){return e["genericShow'"]};var so=function(e){var n=wL(e);return function(t){var a=wL(t);return{"genericShow'":function(r){if(r instanceof H)return n(r.value0);if(r instanceof p)return a(r.value0);throw new Error("Failed pattern match at Data.Show.Generic (line 26, column 1 - line 28, column 40): "+[r.constructor.name])}}}},Kr=function(e){var n=Mp(e);return function(t){var a=wL(t);return function(r){return a(n(r))}}};var Gf=function(e){var n=null;return function(){return e===void 0||(n=e(),e=void 0),n}},hc=function(e){return e()};var _M=function(e){var n=j(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 S1=function(e){return{Applicative0:function(){return RS(e)},Bind1:function(){return dM(e)}}},dM=function(e){var n=K(e.Bind1());return{bind:function(t){return function(a){return function(r){return n(t(r))(function(o){var i=a(o.value0);return i(o.value1)})}}},Apply0:function(){return hM(e)}}},hM=function(e){var n=_M(e.Bind1().Apply0().Functor0());return{apply:nc(S1(e)),Functor0:function(){return n}}},RS=function(e){var n=z(e.Applicative0());return{pure:function(t){return function(a){return n(new Ue(t,a))}},Apply0:function(){return hM(e)}}};var gM=function(e){var n=e.Monad0(),t=K(n.Bind1()),a=z(n.Applicative0()),r=Qu(e),o=S1(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 Bo)return new Bo(new Ue(f.value0.value0,f.value1));if(f.value0 instanceof Jo)return new Jo(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}}},E1=function(e){var n=z(e.Applicative0()),t=S1(e);return{state:function(a){return function(r){return n(a(r))}},Monad0:function(){return t}}};var DM=function(e){return function(n){var t=e(n);return t.value0}};var L8e=wl(za),j8e=qa();var IK=function(e){return e};var N8e=1,TL=2147483647,P8e=function(){return TL-1|0}(),TK=function(e){var n=function(t){return function(a){return function(r){var o=a-t|0,i=L8e(r)(o),u=it=>{try{let a=new Date(t);return isNaN(a.getTime())?n:e(a)}catch{return n}},u9=e=>({year:e.getFullYear(),month:e.getMonth(),day:e.getDate(),hour:e.getHours(),minute:e.getMinutes(),second:e.getSeconds(),millisecond:e.getMilliseconds()}),Qee=()=>new Date,i9e=(()=>{let e=new Date;return typeof window!="undefined"?()=>e:()=>{let n=new Date;return n-e>1e3&&(e=n),e}})();var u9e=(()=>{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 Yee=function(e,n,t){var a=new Date(Date.UTC(e,n,t));return e>=0&&e<100&&a.setUTCFullYear(e),a};function Xee(e,n,t,a){var r=Yee(n,t-1,a);return e(r.getUTCFullYear())(r.getUTCMonth()+1)(r.getUTCDate())}function Zee(e,n,t){return Yee(e,n-1,t).getUTCDay()}var HM=function(e,n,t){var a=0,r;return function(o){if(a===2)return r;if(a===1)throw new ReferenceError(e+" was needed before it finished initializing (module "+n+", line "+o+")",n,o);return a=1,r=t(),a=2,r}};var Ec=function(){function e(){}return e.value=new e,e}(),ys=function(){function e(){}return e.value=new e,e}(),bs=function(){function e(){}return e.value=new e,e}(),Rs=function(){function e(){}return e.value=new e,e}(),ws=function(){function e(){}return e.value=new e,e}(),Ss=function(){function e(){}return e.value=new e,e}(),qf=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}(),al=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}(),rl=function(){function e(){}return e.value=new e,e}(),ol=function(){function e(){}return e.value=new e,e}(),Al=function(){function e(){}return e.value=new e,e}(),xl=function(){function e(){}return e.value=new e,e}(),Ll=function(){function e(){}return e.value=new e,e}(),jl=function(){function e(){}return e.value=new e,e}(),Cc=function(){function e(){}return e.value=new e,e}();var Kee={show:function(e){if(e instanceof Ec)return"Monday";if(e instanceof ys)return"Tuesday";if(e instanceof bs)return"Wednesday";if(e instanceof Rs)return"Thursday";if(e instanceof ws)return"Friday";if(e instanceof Ss)return"Saturday";if(e instanceof qf)return"Sunday";throw new Error("Failed pattern match at Data.Date.Component (line 184, column 1 - line 191, column 25): "+[e.constructor.name])}},l9={show:function(e){if(e instanceof tl)return"January";if(e instanceof Fl)return"February";if(e instanceof al)return"March";if(e instanceof Ml)return"April";if(e instanceof Gl)return"May";if(e instanceof rl)return"June";if(e instanceof ol)return"July";if(e instanceof Al)return"August";if(e instanceof xl)return"September";if(e instanceof Ll)return"October";if(e instanceof jl)return"November";if(e instanceof Cc)return"December";throw new Error("Failed pattern match at Data.Date.Component (line 101, column 1 - line 113, column 29): "+[e.constructor.name])}};var BM=yt,JM=yt,ene=tr,l9e={eq:function(e){return function(n){return e instanceof Ec&&n instanceof Ec||e instanceof ys&&n instanceof ys||e instanceof bs&&n instanceof bs||e instanceof Rs&&n instanceof Rs||e instanceof ws&&n instanceof ws||e instanceof Ss&&n instanceof Ss||e instanceof qf&&n instanceof qf}}},nne={compare:function(e){return function(n){if(e instanceof Ec&&n instanceof Ec)return Fe.value;if(e instanceof Ec)return Se.value;if(n instanceof Ec)return we.value;if(e instanceof ys&&n instanceof ys)return Fe.value;if(e instanceof ys)return Se.value;if(n instanceof ys)return we.value;if(e instanceof bs&&n instanceof bs)return Fe.value;if(e instanceof bs)return Se.value;if(n instanceof bs)return we.value;if(e instanceof Rs&&n instanceof Rs)return Fe.value;if(e instanceof Rs)return Se.value;if(n instanceof Rs)return we.value;if(e instanceof ws&&n instanceof ws)return Fe.value;if(e instanceof ws)return Se.value;if(n instanceof ws)return we.value;if(e instanceof Ss&&n instanceof Ss)return Fe.value;if(e instanceof Ss)return Se.value;if(n instanceof Ss)return we.value;if(e instanceof qf&&n instanceof qf)return Fe.value;throw new Error("Failed pattern match at Data.Date.Component (line 0, column 0 - line 0, column 0): "+[e.constructor.name,n.constructor.name])}},Eq0:function(){return l9e}},c9={eq:function(e){return function(n){return e instanceof tl&&n instanceof tl||e instanceof Fl&&n instanceof Fl||e instanceof al&&n instanceof al||e instanceof Ml&&n instanceof Ml||e instanceof Gl&&n instanceof Gl||e instanceof rl&&n instanceof rl||e instanceof ol&&n instanceof ol||e instanceof Al&&n instanceof Al||e instanceof xl&&n instanceof xl||e instanceof Ll&&n instanceof Ll||e instanceof jl&&n instanceof jl||e instanceof Cc&&n instanceof Cc}}},G1={compare:function(e){return function(n){if(e instanceof tl&&n instanceof tl)return Fe.value;if(e instanceof tl)return Se.value;if(n instanceof tl)return we.value;if(e instanceof Fl&&n instanceof Fl)return Fe.value;if(e instanceof Fl)return Se.value;if(n instanceof Fl)return we.value;if(e instanceof al&&n instanceof al)return Fe.value;if(e instanceof al)return Se.value;if(n instanceof al)return we.value;if(e instanceof Ml&&n instanceof Ml)return Fe.value;if(e instanceof Ml)return Se.value;if(n instanceof Ml)return we.value;if(e instanceof Gl&&n instanceof Gl)return Fe.value;if(e instanceof Gl)return Se.value;if(n instanceof Gl)return we.value;if(e instanceof rl&&n instanceof rl)return Fe.value;if(e instanceof rl)return Se.value;if(n instanceof rl)return we.value;if(e instanceof ol&&n instanceof ol)return Fe.value;if(e instanceof ol)return Se.value;if(n instanceof ol)return we.value;if(e instanceof Al&&n instanceof Al)return Fe.value;if(e instanceof Al)return Se.value;if(n instanceof Al)return we.value;if(e instanceof xl&&n instanceof xl)return Fe.value;if(e instanceof xl)return Se.value;if(n instanceof xl)return we.value;if(e instanceof Ll&&n instanceof Ll)return Fe.value;if(e instanceof Ll)return Se.value;if(n instanceof Ll)return we.value;if(e instanceof jl&&n instanceof jl)return Fe.value;if(e instanceof jl)return Se.value;if(n instanceof jl)return we.value;if(e instanceof Cc&&n instanceof Cc)return Fe.value;throw new Error("Failed pattern match at Data.Date.Component (line 0, column 0 - line 0, column 0): "+[e.constructor.name,n.constructor.name])}},Eq0:function(){return c9}},tne=tr,ane=function(){return{bottom:-271820|0,top:275759,Ord0:function(){return BM}}}(),c9e=function(){return{bottom:Ec.value,top:qf.value,Ord0:function(){return nne}}}(),rne=function(){return{bottom:tl.value,top:Cc.value,Ord0:function(){return G1}}}(),si={cardinality:547580,toEnum:function(e){if(e>=(-271820|0)&&e<=275759)return new d(e);if(je)return C.value;throw new Error("Failed pattern match at Data.Date.Component (line 35, column 1 - line 40, column 24): "+[e.constructor.name])},fromEnum:function(e){return e},Bounded0:function(){return ane},Enum1:function(){return s9e(0)}},s9e=HM("enumYear","Data.Date.Component",function(){return{succ:function(){var e=bt(si),n=ht(si);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=bt(si),n=ht(si);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return BM}}});var l_={cardinality:7,toEnum:function(e){return e===1?new d(Ec.value):e===2?new d(ys.value):e===3?new d(bs.value):e===4?new d(Rs.value):e===5?new d(ws.value):e===6?new d(Ss.value):e===7?new d(qf.value):C.value},fromEnum:function(e){if(e instanceof Ec)return 1;if(e instanceof ys)return 2;if(e instanceof bs)return 3;if(e instanceof Rs)return 4;if(e instanceof ws)return 5;if(e instanceof Ss)return 6;if(e instanceof qf)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 c9e},Enum1:function(){return f9e(0)}},f9e=HM("enumWeekday","Data.Date.Component",function(){return{succ:function(){var e=bt(l_),n=ht(l_);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=bt(l_),n=ht(l_);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return nne}}});var eo={cardinality:12,toEnum:function(e){return e===1?new d(tl.value):e===2?new d(Fl.value):e===3?new d(al.value):e===4?new d(Ml.value):e===5?new d(Gl.value):e===6?new d(rl.value):e===7?new d(ol.value):e===8?new d(Al.value):e===9?new d(xl.value):e===10?new d(Ll.value):e===11?new d(jl.value):e===12?new d(Cc.value):C.value},fromEnum:function(e){if(e instanceof tl)return 1;if(e instanceof Fl)return 2;if(e instanceof al)return 3;if(e instanceof Ml)return 4;if(e instanceof Gl)return 5;if(e instanceof rl)return 6;if(e instanceof ol)return 7;if(e instanceof Al)return 8;if(e instanceof xl)return 9;if(e instanceof Ll)return 10;if(e instanceof jl)return 11;if(e instanceof Cc)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 rne},Enum1:function(){return v9e(0)}},v9e=HM("enumMonth","Data.Date.Component",function(){return{succ:function(){var e=bt(eo),n=ht(eo);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=bt(eo),n=ht(eo);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return G1}}});var s9={bottom:1,top:31,Ord0:function(){return JM}},il={cardinality:31,toEnum:function(e){if(e>=1&&e<=31)return new d(e);if(je)return C.value;throw new Error("Failed pattern match at Data.Date.Component (line 133, column 1 - line 138, column 23): "+[e.constructor.name])},fromEnum:function(e){return e},Bounded0:function(){return s9},Enum1:function(){return m9e(0)}},m9e=HM("enumDay","Data.Date.Component",function(){return{succ:function(){var e=bt(il),n=ht(il);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=bt(il),n=ht(il);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return JM}}});var one=ht(eo),f9=qa(),ine=bt(l_);var _9e=_e(ene),d9e=_e(c9),h9e=_e(tne),g9e=Ke(BM),D9e=Ke(G1),y9e=Ke(JM);var b9e=bt(eo);var une=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}(),Ic=function(e){return e.value0},xS=function(e){var n=Zee(e.value0,one(e.value1),e.value2),t=n===0;return f9(ine(t?7:n))};var Tc=function(e){return e.value1};var qM={eq:function(e){return function(n){return _9e(e.value0)(n.value0)&&d9e(e.value1)(n.value1)&&h9e(e.value2)(n.value2)}}},R9e=_e(qM),lne={compare:function(e){return function(n){var t=g9e(e.value0)(n.value0);if(t instanceof Se)return Se.value;if(t instanceof we)return we.value;var a=D9e(e.value1)(n.value1);return a instanceof Se?Se.value:a instanceof we?we.value:y9e(e.value2)(n.value2)}},Eq0:function(){return qM}};var r0=function(e){return e.value2},c_=function(e){return function(n){return function(t){var a=function(r){return function(o){return function(i){return new une(r,f9(b9e(o)),i)}}};return Xee(a,e,one(n),t)}}},zM=function(e){return function(n){return function(t){var a=new une(e,n,t),r=R9e(c_(e)(n)(t))(a);return r?new d(a):C.value}}};var w9e=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 cne(e){return function(n){return function(t){return function(a){var r=w9e(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 $M=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 VM=yt,QM=yt,YM=yt,XM=yt,sne=tr,fne=tr,vne=tr,mne=tr,v9={bottom:0,top:59,Ord0:function(){return VM}},m9={bottom:0,top:59,Ord0:function(){return QM}},p9={bottom:0,top:999,Ord0:function(){return YM}},_9={bottom:0,top:23,Ord0:function(){return XM}},Fc={cardinality:60,toEnum:function(e){if(e>=0&&e<=59)return new d(e);if(je)return C.value;throw new Error("Failed pattern match at Data.Time.Component (line 90, column 1 - line 95, column 26): "+[e.constructor.name])},fromEnum:function(e){return e},Bounded0:function(){return v9},Enum1:function(){return S9e(0)}},S9e=$M("enumSecond","Data.Time.Component",function(){return{succ:function(){var e=bt(Fc),n=ht(Fc);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=bt(Fc),n=ht(Fc);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return VM}}});var Mc={cardinality:60,toEnum:function(e){if(e>=0&&e<=59)return new d(e);if(je)return C.value;throw new Error("Failed pattern match at Data.Time.Component (line 61, column 1 - line 66, column 26): "+[e.constructor.name])},fromEnum:function(e){return e},Bounded0:function(){return m9},Enum1:function(){return E9e(0)}},E9e=$M("enumMinute","Data.Time.Component",function(){return{succ:function(){var e=bt(Mc),n=ht(Mc);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=bt(Mc),n=ht(Mc);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return QM}}});var Gc={cardinality:1e3,toEnum:function(e){if(e>=0&&e<=999)return new d(e);if(je)return C.value;throw new Error("Failed pattern match at Data.Time.Component (line 120, column 1 - line 125, column 31): "+[e.constructor.name])},fromEnum:function(e){return e},Bounded0:function(){return p9},Enum1:function(){return C9e(0)}},C9e=$M("enumMillisecond","Data.Time.Component",function(){return{succ:function(){var e=bt(Gc),n=ht(Gc);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=bt(Gc),n=ht(Gc);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return YM}}});var Ac={cardinality:24,toEnum:function(e){if(e>=0&&e<=23)return new d(e);if(je)return C.value;throw new Error("Failed pattern match at Data.Time.Component (line 32, column 1 - line 37, column 24): "+[e.constructor.name])},fromEnum:function(e){return e},Bounded0:function(){return _9},Enum1:function(){return I9e(0)}},I9e=$M("enumHour","Data.Time.Component",function(){return{succ:function(){var e=bt(Ac),n=ht(Ac);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=bt(Ac),n=ht(Ac);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return XM}}});var G9e=_e(mne),A9e=_e(fne),x9e=_e(sne),L9e=_e(vne),j9e=Ke(XM),N9e=Ke(QM),P9e=Ke(VM),O9e=Ke(YM);var s_=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 hm=function(e){return e.value2},gm=function(e){return e.value1},o0=function(e){return e.value3};var i0=function(e){return e.value0};var d9={eq:function(e){return function(n){return G9e(e.value0)(n.value0)&&A9e(e.value1)(n.value1)&&x9e(e.value2)(n.value2)&&L9e(e.value3)(n.value3)}}},pne={compare:function(e){return function(n){var t=j9e(e.value0)(n.value0);if(t instanceof Se)return Se.value;if(t instanceof we)return we.value;var a=N9e(e.value1)(n.value1);if(a instanceof Se)return Se.value;if(a instanceof we)return we.value;var r=P9e(e.value2)(n.value2);return r instanceof Se?Se.value:r instanceof we?we.value:O9e(e.value3)(n.value3)}},Eq0:function(){return d9}};var k9e=ht(si),U9e=ht(eo),H9e=ht(il),B9e=ht(Ac),J9e=ht(Mc),W9e=ht(Fc),q9e=ht(Gc);var z9e=_e(qM),$9e=_e(d9),V9e=Ke(lne),Q9e=Ke(pne),Y9e=K(xe),A1=qn(Na),h9=j(J),X9e=gl(xe),Z9e=bt(si),K9e=bt(eo),eje=bt(il),nje=bt(Ac),tje=bt(Mc),aje=bt(Fc),rje=bt(Gc),f_=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}(),oje=function(e){return{year:k9e(Ic(e.value0)),month:U9e(Tc(e.value0)),day:H9e(r0(e.value0)),hour:B9e(i0(e.value1)),minute:J9e(gm(e.value1)),second:W9e(hm(e.value1)),millisecond:q9e(o0(e.value1))}};var dne={eq:function(e){return function(n){return z9e(e.value0)(n.value0)&&$9e(e.value1)(n.value1)}}},ZM={compare:function(e){return function(n){var t=V9e(e.value0)(n.value0);return t instanceof Se?Se.value:t instanceof we?we.value:Q9e(e.value1)(n.value1)}},Eq0:function(){return dne}};var hne=function(e){var n=qF(e);return function(t){return function(a){return Y9e(cne(d.create)(C.value)(n(t))(oje(a)))(function(r){return A1(h9(f_.create)(X9e(A1(A1(h9(zM)(Z9e(r.year)))(K9e(r.month)))(eje(r.day)))))(A1(A1(A1(h9(s_.create)(nje(r.hour)))(tje(r.minute)))(aje(r.second)))(rje(r.millisecond)))})}}};function KM(e){return Math.round(e).toString()}var gne=function(e){var n=Ye(e.Semigroup0()),t=function(a){return function(r){return function(o){var i=a,u=r,l=!1,c;function s(f,v,m){if(m<1)return l=!0,f;i=n(f)(v),u=v,o=m-1|0}for(;!l;)c=s(i,u,o);return c}}};return t(ba(e))};var Dne=re(ze),ije=hr(os),uje=QR(e0);var lje=function(e){return"(line "+(Dne(e.line)+(", col "+(Dne(e.column)+")")))},cje=function(e){return e9(e)+(" "+lje(KL(e)))},g9=function(e){return function(n){return ije(cje)(Pee(n)(uje(e)(o9)))}};var x1=K(n0);var pje=z(Ds),_je=ZD($h)(T1);var dje=t8($h)(T1),e2=gne(vt),hje=xp(Ds)(hw),gje=j(J);var bne=Nv(yt),Dje=dr(za),yje=re(ze),bje=Z(ri),Rje=re(qi),wje=Qe(Xe);var Sje=x1(Vh(t0(a0("+"))))(function(e){return x1(_je(a0("0")))(function(n){return x1(Vh(t0(a0(",0"))))(function(t){return x1(Vh(t0(a0("."))))(function(a){return x1(hje(a)(function(r){return t0(dje(a0("0")))}))(function(r){return x1(Vh(t0(a0("a"))))(function(o){return pje({sign:Dt(e),before:ha(n),comma:Dt(t),after:Ee(0)(gje(ha)(r)),abbreviations:Dt(o)})})})})})})}),Eje=g9(Sje);var Rne=function(e){return function(n){var t=gF(n),a=function(){if(t>0)return bne(Ur(l8(t)/XQ))(0);if(je)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=Dje(a)(3),o=function(){var y=r<1;return y?n:n/DF(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(je)return"10e+"+yje(r*3|0);throw new Error("Failed pattern match at Data.Formatter.Number (line 107, column 7 - line 117, column 53): "+[])}();return Rne({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=DF(10)(ft(bne(0)(e.after))),c=hh(t*l)/l,s=a1(c),f=c-s,v=hh(f*l),m=function(){var y=KM(v),S=Yr(y),G=e2("0")(e.after-S|0);return G+y}(),_=function(){var y=e.after<1;return y?"":"."+(function(){var S=v===0;return S?e2("0")(e.after):""}()+function(){var S=v>0;return S?m:""}())}(),R=function(y){return function(S){return function(G){var P=y,O=S,M=!1,k;function oe(le,ve,X){var be=YD(X);if(be instanceof C)return M=!0,u1(le);if(be instanceof d&&ve<3){P=Si(be.value0.head)(le),O=ve+1|0,G=be.value0.tail;return}P=Si(",")(le),O=0,G=X}for(;!M;)k=oe(P,O,G);return k}}},D=function(){return e.comma?R([])(0)(sw(jw(e2("0")(u)+KM(s)))):e2("0")(u)+KM(s)}();return function(){var y=n<0;if(y)return"-";var S=n>0&&e.sign;return S?"+":""}()+(D+_)}},Cje=function(e){return function(n){return bje(Eje(e))(kt(Rne)(n))}},v_=function(e){return function(n){return ar(rn(Rje(n)))(wje)(Cje(e)(n))}};var Ije=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 wne(e,n,t,a,r,o,i){return Ije(e,n-1,t,a,r,o,i).getTime()}function Sne(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 Tje=qa(),Fje=bt(eo);var Mje=ht(eo);var Ene=function(e){return e},n2=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 f_(c_(n)(Tje(Fje(t)))(a),new s_(r,o,i,u))}}}}}}};return Sne(e)}();var Cne=function(e){return wne(Ic(e.value0),Mje(Tc(e.value0)),r0(e.value0),i0(e.value1),gm(e.value1),hm(e.value1),o0(e.value1))};function D9(){return Date.now()}var Lje=j(ut);var y9=Lje(n2)(D9);var Ygt=function(){function e(){this.head=null,this.last=null,this.size=0}function n(s,f){this.queue=s,this.value=f,this.next=null,this.prev=null}function t(s){this.draining=!1,this.error=null,this.value=s,this.takes=new e,this.reads=new e,this.puts=new e}var a={};function r(s){try{s()}catch(f){setTimeout(function(){throw f},0)}}function o(s,f){var v=new n(s,f);switch(s.size){case 0:s.head=v;break;case 1:v.prev=s.head,s.head.next=v,s.last=v;break;default:v.prev=s.last,s.last.next=v,s.last=v}return s.size++,v}function i(s){var f;switch(s.size){case 0:return null;case 1:f=s.head,s.head=null;break;case 2:f=s.last,s.head.next=null,s.last=null;break;default:f=s.last,s.last=f.prev,s.last.next=null}return f.prev=null,f.queue=null,s.size--,f.value}function u(s){var f;switch(s.size){case 0:return null;case 1:f=s.head,s.head=null;break;case 2:f=s.head,s.last.prev=null,s.head=s.last,s.last=null;break;default:f=s.head,s.head=f.next,s.head.prev=null}return f.next=null,f.queue=null,s.size--,f.value}function l(s){if(s.queue!==null){if(s.queue.last===s){i(s.queue);return}if(s.queue.head===s){u(s.queue);return}s.prev&&(s.prev.next=s.next),s.next&&(s.next.prev=s.prev),s.queue.size--,s.queue=null,s.value=null,s.next=null,s.prev=null}}function c(s,f){if(!f.draining){var v=f.puts,m=f.takes,_=f.reads,R,D,y,S,G;for(f.draining=!0;;){if(R=null,D=null,y=null,S=f.value,G=_.size,f.error!==null){for(S=s.left(f.error);R=u(v);)r(R.cb(S));for(;D=u(_);)r(D(S));for(;y=u(m);)r(y(S));break}if(S===a&&(R=u(v))&&(f.value=S=R.value),S!==a){for(y=u(m);G--&&(D=u(_));)r(D(s.right(S)));y!==null&&(f.value=a,r(y(s.right(S))))}if(R!==null&&r(R.cb(s.right(void 0))),f.value===a&&v.size===0||f.value!==a&&m.size===0)break}f.draining=!1}}return t.EMPTY=a,t.putLast=o,t.takeLast=i,t.takeHead=u,t.deleteCell=l,t.drainVar=c,t}();var qje=z(Kt),m_=K(xe),zje=bt(si),$je=bt(eo),Vje=bt(il),Qje=bt(Ac),Yje=bt(Mc),Xje=bt(Fc),Zje=bt(Gc),Kje=z(Un),eNe=pt($a),nNe=Z(J);var Tne=function(e){return m_(zje(e.year))(function(n){return m_($je(e.month+1|0))(function(t){return m_(Vje(e.day))(function(a){return m_(Qje(e.hour))(function(r){return m_(Yje(e.minute))(function(o){return m_(Xje(e.second))(function(i){return m_(Zje(e.millisecond))(function(u){return Kje(new f_(c_(n)(t)(a),new s_(r,o,i,u)))})})})})})})})},tNe=function(e){var n=XY("Failed to obtain current time. This should never happen.");return ke(n)(qje)(Tne(u9(e)))},Qh=eNe(tNe)(Qee);var Yh=function(e){return m_(nNe(Vee({just:d.create,nothing:C.value})(e))(u9))(Tne)};var a2=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}();var Fne=function(e){if(e instanceof a2)return C.value;if(e instanceof lNe)return new d("open");if(e instanceof uNe)return new d("on");throw new Error("Failed pattern match at Hub.Types.WhatificatorPhase (line 21, column 13 - line 24, column 22): "+[e.constructor.name])};var R9=void 0;var Mne=Be;var L1=Be,jS=function(e){return Eh(e)};var Gne=function(e){return function(n){var t=jS(n);return t?R9:L1(e(Mne(n)))}},yr=function(e){var n=jS(e);return n?C.value:new d(Mne(e))};var kn=function(e){return function(n){var t=jS(e);return t?n:e}};var Ea=function(){return Be};var Ane=z(Kt),xne=Wo(),Lne=function(e){return{handleMaybe:function(n){return function(t){return Oh(function(){var a=ke(Ane(Ce))(n);return function(r){return a(xne(t(r)))}}())}}}},r2=function(e){return{handleMaybe:function(n){return function(t){return function(a){return ke(Ane(Ce))(n)(xne(t))()}}}}},no={handle:function(e){return function(n){return function(t){return e(n(t))()}}}},fu={handleEffect:function(e){return Oh(e)}},vr={handleEffect:function(e){return Oh(rn(e))}},dt={handle:function(e){return function(n){return function(t){return e(n)()}}}},j1=function(e){return e.handleMaybe},la=function(e){return e.handleEffect},An=function(e){return e.handle};var w9=gs(),S9=dc(),jne=Ef()(),cNe=Fw();var N1=Be,E9=function(e){return function(n){return w9(N1(e))(n)}},o2=function(e){var n=S9(e);return function(t){return function(a){return n(N1(t))(a)}}},xc=function(e){var n=S9(e);return function(t){return function(a){return function(r){return n(N1(t))(jne(r)({className:a}))}}}},Xh=function(e){return function(n){return function(t){return w9(N1(e))(jne(t)({className:n}))}}},C9=function(e){return function(n){return w9(N1(e))({className:n})}},fo=function(e){return function(n){var t=S9(n);return function(a){return function(r){return t(N1(e))({className:a})(r)}}}};var fn=Be,P1=function(){return cNe};var O1=function(e){var n=xc(e);return function(){return function(){return n("ul")}}},zf=function(e){return fo("ul")(e)};var u0=function(e){return fo("tr")(e)};var k1=function(e){return fo("thead")(e)};var U1=function(e){return fo("th")(e)};var Nl=function(){return function(){return Xh("textarea")}};var Es=function(e){return fo("td")(e)};var l0=function(e){return fo("tbody")(e)};var c0=function(e){return fo("table")(e)},Cs=function(e){var n=xc(e);return function(){return function(){return n("svg")}}};var i2=function(e){return fo("sup")(e)};var Ca=function(e){return fo("strong")(e)},H1=function(e){var n=xc(e);return function(){return function(){return n("span")}}},en=function(e){return fo("span")(e)};var u2=function(e){var n=xc(e);return function(){return function(){return n("select")}}};var l2=function(e){return fo("section")(e)};var Vn=function(e){return fo("p")(e)};var c2=function(e){var n=xc(e);return function(){return function(){return n("option")}}};var s2=function(e){return fo("ol")(e)};var ul=function(e){return fo("li")(e)};var vu=function(e){return fo("label")(e)};var Vo=function(){return function(){return Xh("input")}};var s0=function(){return function(){return Xh("img")}};var f0=function(e){var n=xc(e);return function(){return function(){return n("iframe")}}};var ta=function(e){return fo("i")(e)};var Ha=C9("hr");var Is=function(e){return fo("h6")(e)};var Er=function(e){return fo("h4")(e)};var Ct=function(e){return fo("h3")(e)};var Kn=function(e){return fo("h2")(e)};var Lc=function(e){return fo("h1")(e)},f2=function(e){var n=xc(e);return function(){return function(){return n("form")}}};var Yn=function(e){var n=xc(e);return function(){return function(){return n("div")}}},B=function(e){return fo("div")(e)};var Xn=function(e){var n=xc(e);return function(){return function(){return n("button")}}};var v2=C9("br");var ca=function(e){var n=xc(e);return function(){return function(){return n("a")}}};var I9=function(){typeof window!="undefined"&&window.scrollTo(0,0)};var Nne=function(e){var n=o2(e);return function(){return function(){return n("script")}}};var Pne=function(){return function(){return E9("meta")}};var One=function(e){var n=o2(e);return function(){return function(){return n("button")}}},kne=function(){return function(){return E9("br")}};var Une=function(e){var n=o2(e);return function(){return function(){return n("a")}}};function Hne(e){return function(n){return function(){return n.getElementById(e)}}}var sNe=j(ut),m2=function(e){var n=sNe(ee),t=Hne(e);return function(a){return n(t(a))}};var p2=function(e){return function(n){return function(){return n[e]}}},fNe=p2("children"),vNe=p2("firstElementChild"),mNe=p2("lastElementChild"),pNe=p2("childElementCount");var vo=function(){return window};function Bne(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 it=function(e){return function(n){return Bne(C.value,d.create,e,n)}};var Jne=Be;function Wne(e){return e.body}var _Ne=j(ut);var _2=Be;var qne=Be,zne=Be;var $ne=function(e){return _Ne(ee)(function(){return Wne(e)})};var Vne=Be;function d2(e){return function(n){return function(t){return function(a){return function(){return a.replaceState(e,n,t)}}}}}function T9(e){return function(n){return function(){n.href=e}}}function Dm(e){return function(){return e.document}}function F9(e){return function(){return e.location}}function NS(e){return function(){return e.history}}function Yne(e){return function(n){return function(t){return function(a){return function(){return a.open(e,n,t)}}}}}function B1(e){return function(){return e.localStorage}}var ENe=j(ut);var Xne=Be;var Zne=function(e){return function(n){return function(t){return function(a){return ENe(ee)(Yne(e)(n)(t)(a))}}}};var CNe=j(ge);var INe=kne()();var Kne=K($a),TNe=Z(ut);var pa=Ee(nn),Je=kt(ke(nn));var Zh=function(e){return function(n){if(e)return n(Ce);if(je)return nn;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)(rn(n))}};var PS=function(e){return ce(fh(INe({}))(CNe(Y)(Ei(` `)(e))))};var ete=function(e){return Kne(TNe(Kne(vo)(Dm))(_2))(m2(e))};var jc=Wo(),FNe=Z(ge),MNe=ph(zo),nte=im(Te),GNe=j(J),ANe=j(Tw);var M9=function(e){return function(n){return function(t){return o8(function(a){return d.create(t(a))})(jc(e))(jc(n))}}};var h2=function(e){return function(n){return Iw(jc(e))(n)}},g2=function(e){return function(n){return nte(Fo(function(t){return GNe(Ue.create(jc(t.value0)))(e(t.value1))})(MNe(n)))}},ym=function(e){return function(n){return ANe(e)(n)}},tte=function(e){return function(n){return function(t){return xQ(function(a){return d.create(t(a))})(jc(e))(jc(n))}}},Ts=function(e){return function(n){return ic(jc(e))(jc(n))}};var Kh=function(e){return function(n){return function(t){return om(jc(e))(n)(jc(t))}}},OS=function(e){return function(n){return function(t){return nte(FNe(t)(function(a){return new Ue(jc(e(a)),n(a))}))}}};var kS=em,ate=function(e){return function(n){return r8(jc(e))(jc(n))}};var rte=Dn(gn),US=hn(rte)(mn(vn)),ote=_n(pn),HS=dn(ote),ite=Rn(bn),BS=yn(ite),p_=function(){function e(){}return e.value=new e,e}(),JS=function(){function e(){}return e.value=new e,e}(),WS=function(){function e(){}return e.value=new e,e}(),qS=function(){function e(){}return e.value=new e,e}(),zS=function(){function e(){}return e.value=new e,e}(),$S=function(){function e(){}return e.value=new e,e}(),ute={to:function(e){if(e instanceof H)return p_.value;if(e instanceof p&&e.value0 instanceof H)return JS.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof H)return WS.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof H)return qS.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof H)return zS.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 $S.value;throw new Error("Failed pattern match at Hub.Types.ApplicationRound (line 25, column 1 - line 25, column 43): "+[e.constructor.name])},from:function(e){if(e instanceof p_)return new H(fe.value);if(e instanceof JS)return new p(new H(fe.value));if(e instanceof WS)return new p(new p(new H(fe.value)));if(e instanceof qS)return new p(new p(new p(new H(fe.value))));if(e instanceof zS)return new p(new p(new p(new p(new H(fe.value)))));if(e instanceof $S)return new p(new p(new p(new p(new p(fe.value)))));throw new Error("Failed pattern match at Hub.Types.ApplicationRound (line 25, column 1 - line 25, column 43): "+[e.constructor.name])}};var G9=function(e){if(e instanceof p_)return"REGULAR";if(e instanceof JS)return"EARLY_ACTION";if(e instanceof WS)return"EARLY_DECISION_I";if(e instanceof qS)return"EARLY_DECISION_II";if(e instanceof zS)return"OUT_OF_STATE";if(e instanceof $S)return"TRANSFER";throw new Error("Failed pattern match at Hub.Types.ApplicationRound (line 45, column 13 - line 51, column 25): "+[e.constructor.name])};var D2=function(){return p_.value}(),lte=lt(Ge)({parse:Gn(G9)(wn(ute)(US(US(US(US(US(rte)(ote))(HS))(HS))(HS))(HS))(BS(BS(BS(BS(BS(ite))))))(HS)),default:D2,diagnosticName:"ApplicationRound"});var xNe=K(xv),LNe=Wo(),jNe=z(X0);var A9=Ut,NNe=cc(A9)(Te);var y2=function(e){return NNe(xNe(LNe(e))(function(n){return jNe(new Ue(n.cipCode,n))}))},cte=function(){var e=e8(wu(_e(ma))(function(t){return t.areaOfStudy})),n=Sl(Ut)(function(t){return t.areaOfStudy});return function(t){return e(n(t))}}();var ste=function(e){return{id:e.id,slug:e.slug,name:e.name,imgixImageUrl:e.imgixImageUrl,acceptanceRate:ee(e.acceptanceRate),cityState:ee(e.cityState)}};var PNe=j(J);var wa=function(){function e(){}return e.value=new e,e}(),zt=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),rr=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),$f={map:function(e){return function(n){if(n instanceof wa)return wa.value;if(n instanceof zt)return new zt(e(n.value0));if(n instanceof rr)return new rr(PNe(e)(n.value0));throw new Error("Failed pattern match at Utils.Loadable (line 0, column 0 - line 0, column 0): "+[n.constructor.name])}}};var J1=function(e){if(e instanceof wa)return new rr(C.value);if(e instanceof zt)return new rr(new d(e.value0));if(e instanceof rr)return new rr(e.value0);throw new Error("Failed pattern match at Utils.Loadable (line 63, column 13 - line 66, column 25): "+[e.constructor.name])},mo=function(e){if(e instanceof wa)return C.value;if(e instanceof zt)return new d(e.value0);if(e instanceof rr)return e.value0;throw new Error("Failed pattern match at Utils.Loadable (line 48, column 11 - line 51, column 17): "+[e.constructor.name])},VS=function(e){return function(n){if(n instanceof rr&&n.value0 instanceof C)return new rr(C.value);var t=function(r){var o=function(u){return wa.value};if(n instanceof zt){var i=e(n.value0);return i instanceof d?new zt(i.value0):o(!0)}return o(!0)};if(n instanceof rr&&n.value0 instanceof d){var a=e(n.value0.value0);return a instanceof d?new rr(new d(a.value0)):t(!0)}return t(!0)}};var ONe=Z(J),x9=K(xe);var kNe=xp(Un)(bi),UNe=Dh(A9);var L9=function(e){return function(n){return Ee("")(Ts(e)(n.schoolNotes))}},QS=function(e){return function(n){return Ts(e)(n.schoolList)}};var YS=function(e){return function(n){return VS(Ts(e))(n.schoolConnections)}};var b2=function(e){return function(n){return x9(mo(n.all))(function(t){return Ts(e)(t.table)})}};var j9=function(e){return function(n){return Ee([])(x9(b2(e)(n))(function(t){return kNe(t.majors)(function(a){return UNe(a)(n.majors)})}))}};var W1=function(e){return function(n){return VS(Ts(e))(n.financials)}};var eg=function(e){return function(n){return x9(mo(n.contentModules.content))(Ts(e))}};var N9=function(e){return function(n){return Ee(D2)(ONe(QS(e)(n))(function(t){return t.applicationRound}))}};var mu=re(ze);var HNe=ii(ls),BNe=HNe(vt);var JNe=b6(yt)(jv);var P9=ht(si),WNe=re(l9),qNe=ht(eo),fte=ht(il),zNe=un(),$Ne=ht(l_),vte=re(Kee),O9=ht(Ac),VNe=wl(za),mte=ht(Mc),pte=ht(Fc),k9=ht(Gc),_te=dr(za);var R2=function(){function e(){}return e.value=new e,e}(),dte=function(){function e(){}return e.value=new e,e}(),QNe=function(){function e(){}return e.value=new e,e}(),w2=function(){function e(){}return e.value=new e,e}(),XS=function(){function e(){}return e.value=new e,e}(),hte=function(){function e(){}return e.value=new e,e}(),S2=function(){function e(){}return e.value=new e,e}(),E2=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}(),U9=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}(),C2=function(){function e(){}return e.value=new e,e}(),I2=function(){function e(){}return e.value=new e,e}(),ePe=function(){function e(){}return e.value=new e,e}(),T2=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}(),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}(),bm=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}();var iPe=function(e){if(e instanceof tl)return"Jan";if(e instanceof Fl)return"Feb";if(e instanceof al)return"Mar";if(e instanceof Ml)return"Apr";if(e instanceof Gl)return"May";if(e instanceof rl)return"Jun";if(e instanceof ol)return"Jul";if(e instanceof Al)return"Aug";if(e instanceof xl)return"Sep";if(e instanceof Ll)return"Oct";if(e instanceof jl)return"Nov";if(e instanceof Cc)return"Dec";throw new Error("Failed pattern match at Data.Formatter.DateTime (line 489, column 19 - line 501, column 22): "+[e.constructor.name])};var __=function(e){if(e<0)return"-"+__(-e|0);if(e<10)return"0"+mu(e);if(je)return mu(e);throw new Error("Failed pattern match at Data.Formatter.DateTime (line 194, column 1 - line 194, column 32): "+[e.constructor.name])},gte=function(e){if(e<0)return"-"+gte(-e|0);if(e<10)return"000"+mu(e);if(e<100)return"00"+mu(e);if(e<1e3)return"0"+mu(e);if(je)return mu(e);throw new Error("Failed pattern match at Data.Formatter.DateTime (line 207, column 1 - line 207, column 35): "+[e.constructor.name])},Dte=function(e){if(e<0)return"-"+Dte(-e|0);if(e<10)return"00"+mu(e);if(e<100)return"0"+mu(e);if(je)return mu(e);throw new Error("Failed pattern match at Data.Formatter.DateTime (line 200, column 1 - line 200, column 32): "+[e.constructor.name])};var uPe=function(e){var n=mu(JNe(e)),t=Yr(n);return t===1?"0"+n:t===2?n:Uw(t-2|0)(n)};var lPe=function(e){var n=e===0;return n?12:e},cPe=function(e){return function(n){if(n instanceof R2)return gte(P9(Ic(e.value0)));if(n instanceof dte)return uPe(P9(Ic(e.value0)));if(n instanceof QNe)return mu(P9(Ic(e.value0)));if(n instanceof w2)return WNe(Tc(e.value0));if(n instanceof XS)return iPe(Tc(e.value0));if(n instanceof hte)return __(qNe(Tc(e.value0)));if(n instanceof S2)return __(fte(r0(e.value0)));if(n instanceof E2)return mu(fte(r0(e.value0)));if(n instanceof YNe)return mu(Ur(function(a){return a/1e3}(zNe(Ene(Cne(e))))));if(n instanceof XNe)return mu($Ne(xS(e.value0)));if(n instanceof U9)return vte(xS(e.value0));if(n instanceof ZNe)return fc(3)(vte(xS(e.value0)));if(n instanceof KNe)return __(O9(i0(e.value1)));if(n instanceof C2)return __(lPe(VNe(O9(i0(e.value1)))(12)));if(n instanceof I2){var t=O9(i0(e.value1))>=12;return t?"PM":"AM"}if(n instanceof ePe)return mu(mte(gm(e.value1)));if(n instanceof T2)return __(mte(gm(e.value1)));if(n instanceof nPe)return mu(pte(hm(e.value1)));if(n instanceof tPe)return __(pte(hm(e.value1)));if(n instanceof aPe)return Dte(k9(o0(e.value1)));if(n instanceof rPe)return mu(function(a){return _te(a)(100)}(k9(o0(e.value1))));if(n instanceof oPe)return __(function(a){return _te(a)(10)}(k9(o0(e.value1))));if(n instanceof bm)return n.value0;throw new Error("Failed pattern match at Data.Formatter.DateTime (line 169, column 38 - line 192, column 21): "+[n.constructor.name])}},ZS=function(e){return function(n){return BNe(cPe(n))(e)}};var yte=function(e){var n=function(o){return{month:ee(o.satSubjectTestDeadlineMonth),day:ee(o.satSubjectTestDeadlineDay)}},t=function(o){return{month:ee(o.satActDeadlineMonth),day:ee(o.satActDeadlineDay)}},a=function(o){return{month:ee(o.month),day:ee(o.day),isContinuous:ee(o.isContinuous)}},r=function(o){return{deadline:a(o.deadline),notification:a(o.notification)}};return{ipedsUnitId:ee(e.ipedsUnitId),inunId:e.inunId,year:e.year,hasEarlyAdmission:ee(e.hasEarlyAdmission),hasEarlyAction:ee(e.hasEarlyAction),hasEarlyDecision:ee(e.hasEarlyDecision),fallFreshmenDates:r(e.fallFreshmenDates),outstateFallFreshmenDates:r(e.outstateFallFreshmenDates),fallTransfersDates:r(e.fallTransfersDates),earlyDecisionDates:r(e.earlyDecisionDates),otherEarlyDecisionDates:r(e.otherEarlyDecisionDates),earlyActionDates:r(e.earlyActionDates),satActDeadline:t(e),satSubjectTestDeadline:n(e)}};var bte=Dn(gn),H9=hn(bte)(mn(vn)),Rte=_n(pn),B9=dn(Rte),wte=Rn(bn),J9=yn(wte),d_=function(){function e(){}return e.value=new e,e}(),ng=function(){function e(){}return e.value=new e,e}(),tg=function(){function e(){}return e.value=new e,e}(),ag=function(){function e(){}return e.value=new e,e}(),sPe={to:function(e){if(e instanceof H)return d_.value;if(e instanceof p&&e.value0 instanceof H)return ng.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof H)return tg.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p)return ag.value;throw new Error("Failed pattern match at Hub.Types.Chancing.Classification (line 23, column 1 - line 23, column 41): "+[e.constructor.name])},from:function(e){if(e instanceof d_)return new H(fe.value);if(e instanceof ng)return new p(new H(fe.value));if(e instanceof tg)return new p(new p(new H(fe.value)));if(e instanceof ag)return new p(new p(new p(fe.value)));throw new Error("Failed pattern match at Hub.Types.Chancing.Classification (line 23, column 1 - line 23, column 41): "+[e.constructor.name])}};var Ste=function(e){if(e instanceof d_)return"reach";if(e instanceof ng)return"hard_target";if(e instanceof tg)return"target";if(e instanceof ag)return"safety";throw new Error("Failed pattern match at Hub.Types.Chancing.Classification (line 36, column 13 - line 40, column 21): "+[e.constructor.name])},Ete=function(){return lt(Ge)({parse:Gn(Ste)(wn(sPe)(H9(H9(H9(bte)(Rte))(B9))(B9))(J9(J9(J9(wte))))(B9)),default:d_.value,diagnosticName:"Hub.Types.Chancing.Classification"})}();var q1=function(e){if(e instanceof d_)return"Reach";if(e instanceof ng)return"Hard Target";if(e instanceof tg)return"Target";if(e instanceof ag)return"Safety";throw new Error("Failed pattern match at Hub.Types.Chancing.Classification (line 43, column 9 - line 47, column 21): "+[e.constructor.name])};var Cte=function(e){if(e instanceof d_)return"bg-soft-warning bg-warning-soft text-warning-dark";if(e instanceof ng||e instanceof tg)return"bg-soft-primary bg-primary-soft text-primary";if(e instanceof ag)return"bg-soft-success bg-success-soft text-success-dark";throw new Error("Failed pattern match at Hub.Types.Chancing.Classification (line 64, column 9 - line 68, column 64): "+[e.constructor.name])};var Ite=Dn(gn),F2=hn(Ite)(mn(vn)),Tte=_n(pn),M2=dn(Tte),Fte=Rn(bn),G2=yn(Fte),rg=function(){function e(){}return e.value=new e,e}(),Rm=function(){function e(){}return e.value=new e,e}(),v0=function(){function e(){}return e.value=new e,e}(),og=function(){function e(){}return e.value=new e,e}(),ig=function(){function e(){}return e.value=new e,e}(),fPe={to:function(e){if(e instanceof H)return rg.value;if(e instanceof p&&e.value0 instanceof H)return Rm.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof H)return v0.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof H)return og.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p)return ig.value;throw new Error("Failed pattern match at Hub.Types.Chancing.SpecialCaseRule (line 22, column 1 - line 22, column 42): "+[e.constructor.name])},from:function(e){if(e instanceof rg)return new H(fe.value);if(e instanceof Rm)return new p(new H(fe.value));if(e instanceof v0)return new p(new p(new H(fe.value)));if(e instanceof og)return new p(new p(new p(new H(fe.value))));if(e instanceof ig)return new p(new p(new p(new p(fe.value))));throw new Error("Failed pattern match at Hub.Types.Chancing.SpecialCaseRule (line 22, column 1 - line 22, column 42): "+[e.constructor.name])}};var vPe=function(e){if(e instanceof rg)return"ArtOrMusicSchool";if(e instanceof Rm)return"DisqualifiedGender";if(e instanceof v0)return"TestsRequiredButNoneGiven";if(e instanceof og)return"SchoolAutoAdmission";if(e instanceof ig)return"OpenAdmission";throw new Error("Failed pattern match at Hub.Types.Chancing.SpecialCaseRule (line 33, column 13 - line 38, column 35): "+[e.constructor.name])},Mte=Zn(Ge)(J)({parse:Gn(vPe)(wn(fPe)(F2(F2(F2(F2(Ite)(Tte))(M2))(M2))(M2))(G2(G2(G2(G2(Fte)))))(M2)),diagnosticName:"Hub.Types.Chancing.SpecialCaseRule"});var mPe=re(ze),pPe=pt(xe),A2=function(e){return mPe(e)+"%"},_Pe=function(e){return function(n){if(n instanceof rg)return new d("art or music school");if(n instanceof Rm)return new d(iu(t_(e.gender)));if(n instanceof v0)return C.value;if(n instanceof og)return C.value;if(n instanceof ig)return new d("open admission");throw new Error("Failed pattern match at Hub.Types.Chancing.Label (line 43, column 40 - line 48, column 41): "+[n.constructor.name])}},Gte=function(e){return function(n){var t=pPe(_Pe(e))(n);if(t instanceof d)return"N/A ("+(t.value0+")");if(t instanceof C)return"N/A";throw new Error("Failed pattern match at Hub.Types.Chancing.Label (line 37, column 3 - line 39, column 21): "+[t.constructor.name])}},KS=function(e){return function(n){if(n.score instanceof d)return A2(n.score.value0);if(n.score instanceof C)return Gte(e)(n.specialCase);throw new Error("Failed pattern match at Hub.Types.Chancing.Label (line 31, column 34 - line 33, column 61): "+[n.score.constructor.name])}},x2=function(e){return function(n){if(n.classification instanceof d)return q1(n.classification.value0);if(n.classification instanceof C)return Gte(e)(n.specialCase);throw new Error("Failed pattern match at Hub.Types.Chancing.Label (line 22, column 29 - line 24, column 61): "+[n.classification.constructor.name])}};var ug=function(){function e(){}return e.value=new e,e}(),z1=function(){function e(){}return e.value=new e,e}(),eE=function(){function e(){}return e.value=new e,e}(),h_=function(){function e(){}return e.value=new e,e}(),g_=function(){function e(){}return e.value=new e,e}(),D_=function(){function e(){}return e.value=new e,e}(),y_=function(){function e(){}return e.value=new e,e}();var Ate={eq:function(e){return function(n){return e instanceof ug&&n instanceof ug||e instanceof z1&&n instanceof z1||e instanceof eE&&n instanceof eE||e instanceof h_&&n instanceof h_||e instanceof g_&&n instanceof g_||e instanceof D_&&n instanceof D_||e instanceof y_&&n instanceof y_}}};var W9=function(){return[ug.value,z1.value,eE.value,h_.value,g_.value,D_.value,y_.value]}(),nE=function(e){if(e instanceof ug)return"INTERESTED";if(e instanceof z1)return"APPLYING";if(e instanceof eE)return"APPLIED";if(e instanceof h_)return"WAITLISTED";if(e instanceof g_)return"ACCEPTED";if(e instanceof D_)return"DENIED";if(e instanceof y_)return"ENROLLED";throw new Error("Failed pattern match at Hub.Types.SchoolListStatus (line 36, column 13 - line 43, column 25): "+[e.constructor.name])},q9=function(){return lt(Ge)({parse:Gn(nE)(W9),default:z1.value,diagnosticName:"SchoolListStatus"})}(),L2=function(e){if(e instanceof ug)return"Considering";if(e instanceof z1)return"Applying";if(e instanceof eE)return"Applied";if(e instanceof h_)return"Waitlisted";if(e instanceof g_)return"Accepted";if(e instanceof D_)return"Denied";if(e instanceof y_)return"Enrolled";throw new Error("Failed pattern match at Hub.Types.SchoolListStatus (line 47, column 8 - line 54, column 25): "+[e.constructor.name])};var tE=re(ze);var dPe=dr(za);var aE=function(e){return tE(us(e*100))+"%"},xa=function(e){return tE(us(e*100))+"%"};var xte=v_("0,0"),pu=function(e){return"$"+xte(e)},Fs=function(e){return xte(ft(e))};var b_=function(e){var n=function(){var a=dh(ft(e))(60),r=a<10;return r?"0"+tE(Ur(a)):tE(Ur(a))}(),t=tE(dPe(e)(60));return t+(":"+n)};function Lte(e){return e.replace(/[!'()*]/g,function(n){return"%"+n.charCodeAt(0).toString(16)})}function jte(e,n,t){try{return n(Lte(encodeURIComponent(t)))}catch(a){return e(a)}}function Nte(e,n,t){try{return n(Lte(encodeURIComponent(t)).replace(/%20/g,"+"))}catch(a){return e(a)}}var z9=function(){return Bv(jte)(rn(C.value))(d.create)}();var j2=function(){return Bv(Nte)(rn(C.value))(d.create)}();var Pte=qa();var gPe=Qe(Xe);var N2=function(e){var n=function(o){return function(i){return Ee(i)(l1(o)(i))}},t=function(o){return function(i){return Ee(i)(sc(o)(i))}},a=t("https://")(t("http://")(e)),r=n("/")(t("www.")(a));return{siteName:r,url:"http://"+a}},Ms=function(e){return function(n){var t=function(){var o=fs("?")(n);return o?"&":"?"}(),a=Pte(z9(e.value)),r=Pte(z9(e.key));return n+(t+(r+("="+a)))}},wm=function(e){if(e.value instanceof C)return gPe;if(e.value instanceof d)return Ms({key:e.key,value:e.value.value0});throw new Error("Failed pattern match at Utils.URL (line 46, column 1 - line 46, column 73): "+[e.constructor.name])};var P2=function(){function e(){}return e.value=new e,e}(),SPe=function(){function e(){}return e.value=new e,e}(),EPe=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}(),FPe=function(){function e(){}return e.value=new e,e}(),MPe=function(){function e(){}return e.value=new e,e}(),GPe=function(){function e(){}return e.value=new e,e}(),APe=function(){function e(){}return e.value=new e,e}(),xPe=function(){function e(){}return e.value=new e,e}(),LPe=function(){function e(){}return e.value=new e,e}(),jPe=function(){function e(){}return e.value=new e,e}(),NPe=function(){function e(){}return e.value=new e,e}(),PPe=function(){function e(){}return e.value=new e,e}(),OPe=function(){function e(){}return e.value=new e,e}(),kPe=function(){function e(){}return e.value=new e,e}(),O2=function(){function e(){}return e.value=new e,e}(),UPe=function(){function e(){}return e.value=new e,e}(),HPe=function(){function e(){}return e.value=new e,e}(),Ote=function(){function e(){}return e.value=new e,e}(),BPe=function(){function e(){}return e.value=new e,e}(),JPe=function(){function e(){}return e.value=new e,e}(),WPe=function(){function e(){}return e.value=new e,e}(),kte=function(){function e(){}return e.value=new e,e}(),qPe=function(){function e(){}return e.value=new e,e}(),zPe=function(){function e(){}return e.value=new e,e}(),$Pe=function(){function e(){}return e.value=new e,e}(),VPe=function(){function e(){}return e.value=new e,e}(),k2=function(){function e(){}return e.value=new e,e}(),QPe=function(){function e(){}return e.value=new e,e}(),YPe=function(){function e(){}return e.value=new e,e}(),XPe=function(){function e(){}return e.value=new e,e}(),ZPe=function(){function e(){}return e.value=new e,e}(),KPe=function(){function e(){}return e.value=new e,e}(),U2=function(){function e(){}return e.value=new e,e}(),eOe=function(){function e(){}return e.value=new e,e}(),nOe=function(){function e(){}return e.value=new e,e}(),tOe=function(){function e(){}return e.value=new e,e}(),aOe=function(){function e(){}return e.value=new e,e}(),rOe=function(){function e(){}return e.value=new e,e}(),oOe=function(){function e(){}return e.value=new e,e}(),iOe=function(){function e(){}return e.value=new e,e}(),H2=function(){function e(){}return e.value=new e,e}(),uOe=function(){function e(){}return e.value=new e,e}(),Ute=function(){function e(){}return e.value=new e,e}(),lOe=function(){function e(){}return e.value=new e,e}(),Hte=function(){function e(){}return e.value=new e,e}(),cOe=function(){function e(){}return e.value=new e,e}(),B2=function(){function e(){}return e.value=new e,e}(),sOe=function(){function e(){}return e.value=new e,e}(),Bte=function(){function e(){}return e.value=new e,e}(),fOe=function(){function e(){}return e.value=new e,e}(),vOe=function(){function e(){}return e.value=new e,e}(),mOe=function(){function e(){}return e.value=new e,e}(),pOe=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}(),ll=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}();var _Oe=function(e){return e instanceof P2?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 B2?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 kte?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 Hte?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 U2?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 O2?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 k2?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 Ote?new d(` Filter your search to only schools that offer the major(s) or program(s) you select here. `):e instanceof H2?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 Ute?new d(` Policies change during COVID-19; please confirm by looking at school websites `):e instanceof Bte?new d(` TOEFL policies are only applicable to international students `):C.value},m0=function(){var e=Ee("");return function(n){return e(_Oe(n))}}();var Jte=function(e){if(e instanceof St&&e.value0 instanceof P2)return"AcceptanceRate";if(e instanceof St&&e.value0 instanceof SPe)return"AcceptanceRateMen";if(e instanceof St&&e.value0 instanceof EPe)return"AcceptanceRateWomen";if(e instanceof St&&e.value0 instanceof CPe)return"Address";if(e instanceof St&&e.value0 instanceof IPe)return"AdmissionChances";if(e instanceof St&&e.value0 instanceof TPe)return"AdmissionDifficulty";if(e instanceof St&&e.value0 instanceof FPe)return"AdmissionsNotificationDate";if(e instanceof St&&e.value0 instanceof MPe)return"AdmissionsWebsite";if(e instanceof St&&e.value0 instanceof GPe)return"AppDeadlineIsRolling";if(e instanceof St&&e.value0 instanceof APe)return"ApplicationEffort";if(e instanceof St&&e.value0 instanceof xPe)return"ApplicationRound";if(e instanceof St&&e.value0 instanceof LPe)return"BasketballConference";if(e instanceof St&&e.value0 instanceof jPe)return"CampusSetting";if(e instanceof St&&e.value0 instanceof NPe)return"City";if(e instanceof St&&e.value0 instanceof PPe)return"ClassRank";if(e instanceof St&&e.value0 instanceof OPe)return"CoEdSingleSex";if(e instanceof St&&e.value0 instanceof kPe)return"CollegeType";if(e instanceof St&&e.value0 instanceof O2)return"CommuterCollege";if(e instanceof St&&e.value0 instanceof UPe)return"Diversity";if(e instanceof St&&e.value0 instanceof HPe)return"DropoutRate";if(e instanceof St&&e.value0 instanceof BPe)return"FinancialAidWebsite";if(e instanceof St&&e.value0 instanceof JPe)return"FirstYearEnrollment";if(e instanceof St&&e.value0 instanceof WPe)return"FootballConference";if(e instanceof St&&e.value0 instanceof kte)return"FourYearGraduationRate";if(e instanceof St&&e.value0 instanceof qPe)return"HasDivisionOneBasketball";if(e instanceof St&&e.value0 instanceof zPe)return"HasDivisionOneFootball";if(e instanceof St&&e.value0 instanceof $Pe)return"HasMedicalSchool";if(e instanceof St&&e.value0 instanceof VPe)return"HasStudyAbroad";if(e instanceof St&&e.value0 instanceof k2)return"HBCU";if(e instanceof St&&e.value0 instanceof QPe)return"InListStatus";if(e instanceof St&&e.value0 instanceof YPe)return"MainWebsite";if(e instanceof St&&e.value0 instanceof Ote)return"Majors";if(e instanceof St&&e.value0 instanceof XPe)return"Name";if(e instanceof St&&e.value0 instanceof ZPe)return"NetCostEstimate";if(e instanceof St&&e.value0 instanceof KPe)return"Notes";if(e instanceof St&&e.value0 instanceof U2)return"PercentInternationalStudents";if(e instanceof St&&e.value0 instanceof eOe)return"Phone";if(e instanceof St&&e.value0 instanceof nOe)return"Photo";if(e instanceof St&&e.value0 instanceof tOe)return"Prestige";if(e instanceof St&&e.value0 instanceof aOe)return"ProgramLength";if(e instanceof St&&e.value0 instanceof rOe)return"PublicPrivate";if(e instanceof St&&e.value0 instanceof oOe)return"RecommendationLetters";if(e instanceof St&&e.value0 instanceof iOe)return"Region";if(e instanceof St&&e.value0 instanceof H2)return"ReligiousAffiliation";if(e instanceof St&&e.value0 instanceof uOe)return"SatActDeadline";if(e instanceof St&&e.value0 instanceof Ute)return"SatActTestPolicy";if(e instanceof St&&e.value0 instanceof lOe)return"SatSubjectTestDeadline";if(e instanceof St&&e.value0 instanceof Hte)return"SixYearGraduationRate";if(e instanceof St&&e.value0 instanceof cOe)return"State";if(e instanceof St&&e.value0 instanceof B2)return"StudentFacultyRatio";if(e instanceof St&&e.value0 instanceof sOe)return"SubmissionDeadline";if(e instanceof St&&e.value0 instanceof Bte)return"TOEFLPolicy";if(e instanceof St&&e.value0 instanceof fOe)return"TotalUndergrads";if(e instanceof St&&e.value0 instanceof vOe)return"TuitionInState";if(e instanceof St&&e.value0 instanceof mOe)return"TuitionOutOfState";if(e instanceof St&&e.value0 instanceof pOe)return"YieldRate";if(e instanceof ll&&e.value0 instanceof Ta&&e.value0.value0 instanceof Af)return"RankingArchitecture";if(e instanceof ll&&e.value0 instanceof Ta&&e.value0.value0 instanceof xf)return"RankingBusiness";if(e instanceof ll&&e.value0 instanceof Ta&&e.value0.value0 instanceof Lf)return"RankingChemistry";if(e instanceof ll&&e.value0 instanceof Ta&&e.value0.value0 instanceof jf)return"RankingComputerScience";if(e instanceof ll&&e.value0 instanceof Ta&&e.value0.value0 instanceof Nf)return"RankingCriminalJusticeAndCorrections";if(e instanceof ll&&e.value0 instanceof Ta&&e.value0.value0 instanceof Pf)return"RankingEconomics";if(e instanceof ll&&e.value0 instanceof Ta&&e.value0.value0 instanceof Of)return"RankingEngineering";if(e instanceof ll&&e.value0 instanceof Ta&&e.value0.value0 instanceof kf)return"RankingEnglish";if(e instanceof ll&&e.value0 instanceof Ta&&e.value0.value0 instanceof Uf)return"RankingFilm";if(e instanceof ll&&e.value0 instanceof Ta&&e.value0.value0 instanceof Hf)return"RankingFinance";if(e instanceof ll&&e.value0 instanceof Ta&&e.value0.value0 instanceof Bf)return"RankingHistory";if(e instanceof ll&&e.value0 instanceof Ta&&e.value0.value0 instanceof Jf)return"RankingPoliticalScience";if(e instanceof ll&&e.value0 instanceof Ta&&e.value0.value0 instanceof Wf)return"RankingPreMed";if(e instanceof ll&&e.value0 instanceof Ta&&e.value0.value0 instanceof _m)return"RankingPsychology";if(e instanceof ll&&e.value0 instanceof n_)return"OverallRanking";throw new Error("Failed pattern match at Hub.Facet (line 305, column 6 - line 376, column 43): "+[e.constructor.name])};var dOe=function(){function e(){}return e.value=new e,e}(),hOe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),gOe=function(){function e(){}return e.value=new e,e}();var Wte=function(e){if(e instanceof dOe)return"filters";if(e instanceof hOe)return"filter:"+Jte(e.value0);if(e instanceof gOe)return"rankings";throw new Error("Failed pattern match at Hub.Visuals.MobileOverlay (line 34, column 26 - line 37, column 39): "+[e.constructor.name])};function qte(e,n){typeof CV!="undefined"&&CV.tracking&&CV.tracking.event(e,n)}var DOe=Ea(),yOe=Qe(Xe),bOe=Fw(),J2=function(){return function(e){return function(n){var t=DOe(e);return function(){var a=yr(t.utmContent);if(a instanceof d)return Ms({key:"utm_content",value:a.value0});if(a instanceof C)return yOe;throw new Error("Failed pattern match at Utils.Tracking (line 52, column 5 - line 56, column 17): "+[a.constructor.name])}()(Ms({key:"utm_campaign",value:t.utmCampaign})(Ms({key:"utm_source",value:kn(t.utmSource)("collegevine.com")})(n)))}}},ROe=function(e){var n=Jn(e);return function(t){return function(a){return n(function(){return qte(t,a)})}}},rE=function(e){var n=ROe(e);return function(){return function(t){return function(a){return n(t)(bOe(a))}}}};var oE=function(){function e(){}return e.value=new e,e}(),wOe=function(){function e(){}return e.value=new e,e}(),SOe=function(){function e(){}return e.value=new e,e}(),EOe=function(){function e(){}return e.value=new e,e}(),$9=function(e){if(e instanceof oE)return"school-detail";if(e instanceof wOe)return"school-connections";if(e instanceof SOe)return"explore-schools";if(e instanceof EOe)return"school-list";throw new Error("Failed pattern match at Hub.Tracker (line 16, column 28 - line 24, column 18): "+[e.constructor.name])};var Vf=function(){function e(){}return e.value=new e,e}(),Qf=function(){function e(){}return e.value=new e,e}(),Sm=function(){function e(){}return e.value=new e,e}(),W2={show:function(e){if(e instanceof Vf)return"SAT";if(e instanceof Qf)return"ACT";if(e instanceof Sm)return"SATAndACT";throw new Error("Failed pattern match at Chancing.Guidance.Types.TestConfiguration (line 11, column 1 - line 14, column 31): "+[e.constructor.name])}};var iE=function(e){return e==="SAT"?new d(Vf.value):e==="ACT"?new d(Qf.value):e==="SATAndACT"?new d(Sm.value):C.value};function zte(e,n,t,a){return a==null?e:n(a[t])}var COe=function(e){var n=Ih(e),t=z(If(e));return function(a){return function(r){return zte(n(new $w("object",M8(r))),t,a,r)}}},$1=function(e){return COe(e)};var TOe=un();var uE=function(e){return TOe(jF(e))};var po=function(e){return tc(uE(e))};var MOe=oa(Te)(vt),GOe=re(W2);var V1=K(xe),$te=Tf(ya),V9=K($v(ya)),Q9=$1(ya),Y9=Th(ya),Vte=Bn(Mn)(xe),Qte=Qr(Io),Yte=z(Un),AOe=Nt(Pr),lE=function(){function e(){}return e.value=new e,e}(),p0=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),X9={show:function(e){if(e instanceof lE)return"ATOStrongest";if(e instanceof p0)return MOe(["(ATOWithCloseTests ",GOe(e.value0),")"]);throw new Error("Failed pattern match at Chancing.Guidance.Types.ApplyTestOptionalGuidance (line 20, column 1 - line 26, column 6): "+[e.constructor.name])}};var xOe=function(e){return V1(po($te("Object")(e)))(function(n){return V1(po(V9(Q9("tag")(n))(Y9)))(function(t){return Vte(Qte(t==="ATOWithCloseTests"))(function(){return V1(V1(po(V9(Q9("contents")(n))(Y9)))(iE))(function(a){return Yte(new p0(a))})})})})},LOe=function(e){return V1(po($te("Object")(e)))(function(n){return V1(po(V9(Q9("tag")(n))(Y9)))(function(t){return Vte(Qte(t==="ATOStrongest"))(function(){return Yte(lE.value)})})})},Xte=function(e){return AOe(LOe(e))(xOe(e))};var Zte=Dn(gn),Kte=hn(Zte)(mn(vn)),eae=_n(pn),nae=dn(eae),tae=Rn(bn),aae=yn(tae),Za=function(){function e(){}return e.value=new e,e}(),br=function(){function e(){}return e.value=new e,e}(),Jr=function(){function e(){}return e.value=new e,e}(),jOe={to:function(e){if(e instanceof H)return Za.value;if(e instanceof p&&e.value0 instanceof H)return br.value;if(e instanceof p&&e.value0 instanceof p)return Jr.value;throw new Error("Failed pattern match at Chancing.Types.ApplicationStrategy (line 16, column 1 - line 16, column 46): "+[e.constructor.name])},from:function(e){if(e instanceof Za)return new H(fe.value);if(e instanceof br)return new p(new H(fe.value));if(e instanceof Jr)return new p(new p(fe.value));throw new Error("Failed pattern match at Chancing.Types.ApplicationStrategy (line 16, column 1 - line 16, column 46): "+[e.constructor.name])}},Q1={eq:function(e){return function(n){return e instanceof Za&&n instanceof Za||e instanceof br&&n instanceof br||e instanceof Jr&&n instanceof Jr}}},q2={compare:function(e){return function(n){if(e instanceof Za&&n instanceof Za)return Fe.value;if(e instanceof Za)return Se.value;if(n instanceof Za)return we.value;if(e instanceof br&&n instanceof br)return Fe.value;if(e instanceof br)return Se.value;if(n instanceof br)return we.value;if(e instanceof Jr&&n instanceof Jr)return Fe.value;throw new Error("Failed pattern match at Chancing.Types.ApplicationStrategy (line 0, column 0 - line 0, column 0): "+[e.constructor.name,n.constructor.name])}},Eq0:function(){return Q1}},rae=function(e){if(e instanceof Za)return"ApplyTestOptional";if(e instanceof br)return"ApplyWithSat";if(e instanceof Jr)return"ApplyWithAct";throw new Error("Failed pattern match at Chancing.Types.ApplicationStrategy (line 21, column 13 - line 24, column 33): "+[e.constructor.name])},z2={show:rae},$2=function(){return lt(Ge)({default:Za.value,diagnosticName:"ApplicationStrategy",parse:Gn(rae)(wn(jOe)(Kte(Kte(Zte)(eae))(nae))(aae(aae(tae)))(nae))})}();var oae=Wo(),POe=j(am);var OOe=function(e){var n=Lw(function(r,o,i){return new d(new Ue(r,i))})(function(r){return C.value}),t=Lw(function(r,o,i){return new Ue(r,i)})(function(r){return lc("toUnfoldable1: impossible")}),a=Lp(e)(function(r){return POe(n)(r)});return function(r){return a(t(xw(DY(oae(r)))))}},kOe=OOe(_F);var Y1=oae(yY),iae=function(e){var n=re(OQ(e));return{show:function(t){return"(fromFoldable1 "+(n(kOe(t))+")")}}},UOe=function(e){return bY(e)};var HOe=function(e){var n=RY(e);return n?C.value:new d(e)};var uae=function(e){var n=QD(e);return function(t){return n(UOe(t))(Y1)}},lae=function(e){var n=SF(e);return function(t){var a=n(t);return function(r){return HOe(a(r))}}};var Z9=function(e){return SY(e)};var cae=re(W2),BOe=oa(Te)(vt),JOe=re(iae(z2));var Pl=K(xe),sae=Tf(ya),V2=K($v(ya)),Q2=$1(ya),cE=Th(ya),fae=Bn(Mn)(xe),vae=Qr(Io),mae=aX(ya),WOe=To(bi)(If(ya)),qOe=lae(Te)(q2),zOe=j(ge),pae=z(Un),$Oe=Nt(Pr),Gs=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Nc=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}(),K9={show:function(e){if(e instanceof Gs)return"(AWTStrongest "+(cae(e.value0)+")");if(e instanceof Nc)return BOe(["(AWTWithCloseStrategies ",cae(e.value0)," ",JOe(e.value1),")"]);throw new Error("Failed pattern match at Chancing.Guidance.Types.ApplyWithTestGuidance (line 25, column 1 - line 33, column 6): "+[e.constructor.name])}};var VOe=function(e){return Pl(po(sae("Object")(e)))(function(n){return Pl(po(V2(Q2("tag")(n))(cE)))(function(t){return fae(vae(t==="AWTWithCloseStrategies"))(function(){return Pl(Pl(po(V2(Q2("contents")(n))(mae)))(is))(function(a){return Pl(Pl(po(cE(Op(a))))(iE))(function(r){return Pl(Pl(Aw(a)(1))(function(o){return po(mae(o))}))(function(o){return Pl(po(WOe(cE)(o)))(function(i){return Pl(qOe(zOe($2)(i)))(function(u){return pae(new Nc(r,u))})})})})})})})})},QOe=function(e){return Pl(po(sae("Object")(e)))(function(n){return Pl(po(V2(Q2("tag")(n))(cE)))(function(t){return fae(vae(t==="AWTStrongest"))(function(){return Pl(Pl(po(V2(Q2("contents")(n))(cE)))(iE))(function(a){return pae(new Gs(a))})})})})},_ae=function(e){return $Oe(QOe(e))(VOe(e))};var R_=K(xe),dae=Tf(ya),hae=K($v(ya)),Y2=$1(ya),gae=Th(ya),Dae=Bn(Mn)(xe),yae=Qr(Io),bae=z(Un),YOe=Nt(Pr),ej=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),nj=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}();var XOe=function(e){return R_(po(dae("Object")(e)))(function(n){return R_(po(hae(Y2("tag")(n))(gae)))(function(t){return Dae(yae(t==="GuidanceApplyWithTest"))(function(){return R_(po(Y2("contents")(n)))(function(a){return R_(_ae(a))(function(r){return bae(new nj(r))})})})})})},ZOe=function(e){return R_(po(dae("Object")(e)))(function(n){return R_(po(hae(Y2("tag")(n))(gae)))(function(t){return Dae(yae(t==="GuidanceApplyTestOptional"))(function(){return R_(po(Y2("contents")(n)))(function(a){return R_(Xte(a))(function(r){return bae(new ej(r))})})})})})},Rae=Zn(Ge)(J)({parse:function(e){return YOe(ZOe(e))(XOe(e))},diagnosticName:"Chancing Guidance"});var wae=function(){function e(){}return e.value=new e,e}(),KOe=function(){function e(){}return e.value=new e,e}();var Sae=function(){return lt(Ge)({default:wae.value,parse:function(e){return e==="BelowAcademicThreshold"?new d(wae.value):e==="AboveAcademicThreshold"?new d(KOe.value):C.value},diagnosticName:"Chancing.AcademicThresholdStatus"})}();var tj=K(xe),eke=z(Un),Em=function(){function e(){}return e.value=new e,e}(),Cm=function(){function e(){}return e.value=new e,e}(),Yf=function(){function e(){}return e.value=new e,e}(),Pc=function(){function e(){}return e.value=new e,e}();var aj=function(){return lt(Ge)({default:Pc.value,parse:function(e){return e==="PSWeak"?new d(Yf.value):e==="PSFair"?new d(Cm.value):e==="PSStrong"?new d(Em.value):C.value},diagnosticName:"Chancing.ScoreProgress"})}(),sE=function(e){var n=ah(e);return function(t){return function(a){return Ee(Pc.value)(tj(t)(function(r){return tj(a.p50)(function(o){return tj(a.p75)(function(i){return eke(function(){var u=n(r)(o);if(u)return Yf.value;var l=n(r)(i);return l?Cm.value:Em.value}())})})}))}}};var nke=j(J),tke=pt(xe),rj=function(e){return{applicationStrategy:$2(e.applicationStrategy),isRecommendedStrategy:e.isRecommendedStrategy,classification:nke(Ete)(ee(e.classification)),score:ee(e.score),academicThresholdStatus:Sae(e.academicThresholdStatus),shouldApplyTestOptional:e.shouldApplyTestOptional,ecStrength:ke(Pc.value)(aj)(ee(e.ecStrength)),courseRigorStrength:ke(Pc.value)(aj)(ee(e.courseRigorStrength)),specialCase:tke(Mte)(ee(e.specialCase))}};var ake=j(ge),rke=pt(xe),w_=function(e){return{top:rj(e.top),all:ake(rj)(e.all),guidance:rke(Rae)(ee(e.guidance)),sameDemographicStats:lee(ee(e.sameDemographicStats))}};var oke=Ho(Vu),ike=qn(Na),Eae=j(J),uke=$D(Te)(Vu),lke=Rf(bi)(Un);var S_=function(e){return ike(Eae(oke)(e.sat.readingWriting))(e.sat.math)};var cke=function(e){return us(ft(uke(e))/4)};var E_=function(e){return Eae(cke)(lke([e.act.math,e.act.english,e.act.reading,e.act.science]))};var fE=function(){function e(){}return e.value=new e,e}(),X1=function(){function e(){}return e.value=new e,e}();var 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}(),Pm=function(){function e(){}return e.value=new e,e}(),Om=function(){function e(){}return e.value=new e,e}(),km=function(){function e(){}return e.value=new e,e}(),Um=function(){function e(){}return e.value=new e,e}(),Hm=function(){function e(){}return e.value=new e,e}(),Bm=function(){function e(){}return e.value=new e,e}(),Jm=function(){function e(){}return e.value=new e,e}(),Wm=function(){function e(){}return e.value=new e,e}(),_0=function(){function e(){}return e.value=new e,e}(),Z1={show:function(e){if(e instanceof Im)return"Sports";if(e instanceof Tm)return"CommService";if(e instanceof Fm)return"Hobbies";if(e instanceof Mm)return"NonArtComps";if(e instanceof Gm)return"Politics";if(e instanceof Am)return"Drama";if(e instanceof xm)return"VisualArts";if(e instanceof Lm)return"Music";if(e instanceof jm)return"Writing";if(e instanceof Nm)return"HonorSocieties";if(e instanceof Pm)return"Employment";if(e instanceof Om)return"OwnInitiative";if(e instanceof km)return"StudentGov";if(e instanceof Um)return"InterestClubs";if(e instanceof Hm)return"AffinityGroups";if(e instanceof Bm)return"Research";if(e instanceof Jm)return"SummerPrograms";if(e instanceof Wm)return"Software";if(e instanceof _0)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 vE={eq:function(e){return function(n){return 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 Pm&&n instanceof Pm||e instanceof Om&&n instanceof Om||e instanceof km&&n instanceof km||e instanceof Um&&n instanceof Um||e instanceof Hm&&n instanceof Hm||e instanceof Bm&&n instanceof Bm||e instanceof Jm&&n instanceof Jm||e instanceof Wm&&n instanceof Wm||e instanceof _0&&n instanceof _0}}};var K1=function(e){return e==="Sports"?new d(Im.value):e==="CommService"?new d(Tm.value):e==="Hobbies"?new d(Fm.value):e==="NonArtComps"?new d(Mm.value):e==="Politics"?new d(Gm.value):e==="Drama"?new d(Am.value):e==="VisualArts"?new d(xm.value):e==="Music"?new d(Lm.value):e==="Writing"?new d(jm.value):e==="HonorSocieties"?new d(Nm.value):e==="Employment"?new d(Pm.value):e==="OwnInitiative"?new d(Om.value):e==="StudentGov"?new d(km.value):e==="InterestClubs"?new d(Um.value):e==="AffinityGroups"?new d(Hm.value):e==="Research"?new d(Bm.value):e==="SummerPrograms"?new d(Jm.value):e==="Software"?new d(Wm.value):e==="Other"?new d(_0.value):C.value};var C_=function(e){if(e instanceof Im)return"Sports";if(e instanceof Tm)return"Community Service";if(e instanceof Fm)return"Hobbies";if(e instanceof Mm)return"Non-Art Competitions";if(e instanceof Gm)return"Politics";if(e instanceof Am)return"Drama";if(e instanceof xm)return"Visual Arts";if(e instanceof Lm)return"Music";if(e instanceof jm)return"Writing";if(e instanceof Nm)return"Honor Societies";if(e instanceof Pm)return"Employment";if(e instanceof Om)return"Own Initiative";if(e instanceof km)return"Student Government";if(e instanceof Um)return"Interest Clubs";if(e instanceof Hm)return"Affinity Groups";if(e instanceof Bm)return"Research";if(e instanceof Jm)return"Summer Programs";if(e instanceof Wm)return"Software";if(e instanceof _0)return"Other";throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECCategory (line 108, column 11 - line 127, column 19): "+[e.constructor.name])},Cae=function(){return[Im.value,Tm.value,Fm.value,Mm.value,Gm.value,Am.value,xm.value,Lm.value,jm.value,Nm.value,Pm.value,Om.value,km.value,Um.value,Hm.value,Bm.value,Jm.value,Wm.value]}();var Iae=Dn(gn),Xf=hn(Iae)(mn(vn)),Tae=_n(pn),Zf=dn(Tae),oj=Xf(Xf(Xf(Xf(Xf(Xf(Xf(Xf(Xf(Xf(Xf(Iae)(Tae))(Zf))(Zf))(Zf))(Zf))(Zf))(Zf))(Zf))(Zf))(Zf))(Zf);var Fae=Rn(bn),Kf=yn(Fae),Mae=Kf(Kf(Kf(Kf(Kf(Kf(Kf(Kf(Kf(Kf(Kf(Fae))))))))))),ske=Z(J),fke=j(ge),mE=function(){function e(){}return e.value=new e,e}(),pE=function(){function e(){}return e.value=new e,e}(),_E=function(){function e(){}return e.value=new e,e}(),dE=function(){function e(){}return e.value=new e,e}(),$i=function(){function e(){}return e.value=new e,e}(),Cr=function(){function e(){}return e.value=new e,e}(),mr=function(){function e(){}return e.value=new e,e}(),xr=function(){function e(){}return e.value=new e,e}(),_o=function(){function e(){}return e.value=new e,e}(),Rr=function(){function e(){}return e.value=new e,e}(),Vi=function(){function e(){}return e.value=new e,e}(),fi=function(){function e(){}return e.value=new e,e}(),ji=function(){function e(){}return e.value=new e,e}(),ho=function(){function e(){}return e.value=new e,e}(),Ol=function(){function e(){}return e.value=new e,e}(),cl=function(){function e(){}return e.value=new e,e}(),I_={to:function(e){if(e instanceof H)return $i.value;if(e instanceof p&&e.value0 instanceof H)return Cr.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof H)return mr.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof H)return xr.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof H)return _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 H)return Rr.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0 instanceof H)return Vi.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0 instanceof H)return fi.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0 instanceof H)return ji.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0.value0 instanceof H)return ho.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0.value0.value0 instanceof H)return Ol.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 cl.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 $i)return new H(fe.value);if(e instanceof Cr)return new p(new H(fe.value));if(e instanceof mr)return new p(new p(new H(fe.value)));if(e instanceof xr)return new p(new p(new p(new H(fe.value))));if(e instanceof _o)return new p(new p(new p(new p(new H(fe.value)))));if(e instanceof Rr)return new p(new p(new p(new p(new p(new H(fe.value))))));if(e instanceof Vi)return new p(new p(new p(new p(new p(new p(new H(fe.value)))))));if(e instanceof fi)return new p(new p(new p(new p(new p(new p(new p(new H(fe.value))))))));if(e instanceof ji)return new p(new p(new p(new p(new p(new p(new p(new p(new H(fe.value)))))))));if(e instanceof ho)return new p(new p(new p(new p(new p(new p(new p(new p(new p(new H(fe.value))))))))));if(e instanceof Ol)return new p(new p(new p(new p(new p(new p(new p(new p(new p(new p(new H(fe.value)))))))))));if(e instanceof cl)return new p(new p(new p(new p(new p(new p(new p(new p(new p(new p(new p(fe.value)))))))))));throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECTier (line 60, column 1 - line 60, column 33): "+[e.constructor.name])}},As={eq:function(e){return function(n){return e instanceof $i&&n instanceof $i||e instanceof Cr&&n instanceof Cr||e instanceof mr&&n instanceof mr||e instanceof xr&&n instanceof xr||e instanceof _o&&n instanceof _o||e instanceof Rr&&n instanceof Rr||e instanceof Vi&&n instanceof Vi||e instanceof fi&&n instanceof fi||e instanceof ji&&n instanceof ji||e instanceof ho&&n instanceof ho||e instanceof Ol&&n instanceof Ol||e instanceof cl&&n instanceof cl}}},vke=_e(As),mke={compare:function(e){return function(n){if(e instanceof $i&&n instanceof $i)return Fe.value;if(e instanceof $i)return Se.value;if(n instanceof $i)return we.value;if(e instanceof Cr&&n instanceof Cr)return Fe.value;if(e instanceof Cr)return Se.value;if(n instanceof Cr)return we.value;if(e instanceof mr&&n instanceof mr)return Fe.value;if(e instanceof mr)return Se.value;if(n instanceof mr)return we.value;if(e instanceof xr&&n instanceof xr)return Fe.value;if(e instanceof xr)return Se.value;if(n instanceof xr)return we.value;if(e instanceof _o&&n instanceof _o)return Fe.value;if(e instanceof _o)return Se.value;if(n instanceof _o)return we.value;if(e instanceof Rr&&n instanceof Rr)return Fe.value;if(e instanceof Rr)return Se.value;if(n instanceof Rr)return we.value;if(e instanceof Vi&&n instanceof Vi)return Fe.value;if(e instanceof Vi)return Se.value;if(n instanceof Vi)return we.value;if(e instanceof fi&&n instanceof fi)return Fe.value;if(e instanceof fi)return Se.value;if(n instanceof fi)return we.value;if(e instanceof ji&&n instanceof ji)return Fe.value;if(e instanceof ji)return Se.value;if(n instanceof ji)return we.value;if(e instanceof ho&&n instanceof ho)return Fe.value;if(e instanceof ho)return Se.value;if(n instanceof ho)return we.value;if(e instanceof Ol&&n instanceof Ol)return Fe.value;if(e instanceof Ol)return Se.value;if(n instanceof Ol)return we.value;if(e instanceof cl&&n instanceof cl)return Fe.value;throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECTier (line 0, column 0 - line 0, column 0): "+[e.constructor.name,n.constructor.name])}},Eq0:function(){return As}},Gae={succ:lM(I_)(oj),pred:uK(I_)(oj),Ord0:function(){return mke}};var Aae=function(e){if(e instanceof $i)return"A";if(e instanceof Cr)return"B";if(e instanceof mr)return"C";if(e instanceof xr)return"D";if(e instanceof _o)return"E";if(e instanceof Rr)return"F";if(e instanceof Vi)return"G";if(e instanceof fi)return"H";if(e instanceof ji)return"I";if(e instanceof ho)return"J";if(e instanceof Ol)return"K";if(e instanceof cl)return"L";throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECTier (line 43, column 13 - line 55, column 13): "+[e.constructor.name])},xae={show:Aae},Lae=Gn(Aae)(wn(I_)(oj)(Mae)(Zf)),ij=function(e){if(e instanceof $i)return{group:mE.value,subGroup:"a"};if(e instanceof Cr)return{group:mE.value,subGroup:"b"};if(e instanceof mr)return{group:mE.value,subGroup:"c"};if(e instanceof xr)return{group:pE.value,subGroup:"a"};if(e instanceof _o)return{group:pE.value,subGroup:"b"};if(e instanceof Rr)return{group:pE.value,subGroup:"c"};if(e instanceof Vi)return{group:_E.value,subGroup:"a"};if(e instanceof fi)return{group:_E.value,subGroup:"b"};if(e instanceof ji)return{group:_E.value,subGroup:"c"};if(e instanceof ho)return{group:dE.value,subGroup:"a"};if(e instanceof Ol)return{group:dE.value,subGroup:"b"};if(e instanceof cl)return{group:dE.value,subGroup:"c"};throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECTier (line 119, column 9 - line 131, column 44): "+[e.constructor.name])},jae=lK(I_)(Mae),pke=function(e){return function(n){if(n instanceof mE)return"1";if(n instanceof pE)return"2";if(n instanceof _E)return"3";if(n instanceof dE)return"4";throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECTier (line 87, column 43 - line 91, column 18): "+[n.constructor.name])}(function(n){return n.group}(ij(e)))},uj=function(e){return pke(e)+ij(e).subGroup},ey=function(e){return uj(e)+(": "+function(){var n=ij(e).group;if(n instanceof mE)return"Exceptional";if(n instanceof pE)return"Very strong";if(n instanceof _E)return"Strong";if(n instanceof dE)return"Standard";throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECTier (line 75, column 39 - line 79, column 25): "+[n.constructor.name])}())},Nae=function(){var e=function(n){return function(t){return{tier:n,description:t}}};return function(n){if(n instanceof Im)return[e($i.value)(["I play for the youth national team at my age group in this sport","I am a national champion in this sport"]),e(Cr.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(mr.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(xr.value)(["I'm a varsity athlete with top all-conference/region or conference/region award"]),e(_o.value)(["I'm a varsity athlete with all-conference/region or conference/region award","I am the captain of the varsity team"]),e(Rr.value)(["I'm a varsity athlete in this sport"]),e(fi.value)(["I'm a JV athlete that won an award in this sport","I am the JV team captain"]),e(ho.value)(["I'm a JV athlete in this sport"]),e(cl.value)(["I play this sport recreationally"])];if(n instanceof Tm)return[e(Cr.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(mr.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(xr.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(_o.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(Rr.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(fi.value)(["I won a community service award either in a school club or in an out of school organization"]),e(ji.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(ho.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(cl.value)(["I have less than 30 volunteer hours"])];if(n instanceof Fm)return[e(Cr.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(mr.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(Rr.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(ho.value)(["I have participated in this hobby for an extended period of time"])];if(n instanceof Mm)return[e($i.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(Cr.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(mr.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(xr.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(_o.value)(["I won a state level individual award in this activity","I held the highest school level leadership in this activity"]),e(Rr.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(Vi.value)(["I was part of a team that reached the state level competition in this activity in a competitive process"]),e(ji.value)(["I competed at the state or regional level in this activity","I won a school level award in this activity"]),e(Ol.value)(["I competed at the local or school level in this activity"])];if(n instanceof Gm)return[e(Cr.value)(["I worked a substantial, paid strategy role for a national level political campaign (Congressional or higher)"]),e(mr.value)(["I worked a substantial, paid strategy role for a state level political campaign"]),e(xr.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(_o.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(Rr.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(ho.value)(["I canvassed for a state or national level political campaign","I am a member of political interest club at my school"]),e(Ol.value)(["I canvassed or phone banked for local level political campaign"])];if(n instanceof Am)return[e(mr.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(xr.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(_o.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(Rr.value)(["I had a non-lead but highly important role in school play"]),e(Vi.value)(["I performed a substantial role in a school play"]),e(fi.value)(["I performed a role in a non-student play at a theater in my city"]),e(ji.value)(["I performed a role with lines in a school play","I was a member of the stage crew or Pit orchestra"]),e(Ol.value)(["I was an extra in the school play"])];if(n instanceof xm)return[e($i.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(Cr.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(mr.value)(["I won a Gold Key art award from Scholastic","I had a film screened at an accredited regional film festival"]),e(xr.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(_o.value)(["I won a city or regional art award","I screened a film at citywide or regional film festival"]),e(Rr.value)(["I held school level leadership in an art or film club","I won the national Scholastic Silver Key award"]),e(fi.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(ho.value)(["I am a member of my school's art or film club"]),e(cl.value)(["I draw, paint, or make videos for fun"])];if(n instanceof Lm)return[e($i.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(Cr.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(mr.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(xr.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(_o.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(Rr.value)(["I am the principal player/section leader for the highest school/non-school musical group in my school/town"]),e(Vi.value)(["If my school has multiple groups, I am a member of the highest group in my school"]),e(ho.value)(["I am a member of a music group inside or outside school"]),e(cl.value)(["I play an instrument or sing recreationally"])];if(n instanceof jm)return[e($i.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(Cr.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(mr.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(xr.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(_o.value)(["I published a full-length book or books through Amazon (total length <100 pages) or self-publishing"]),e(Rr.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(fi.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(ji.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(ho.value)(["I contributed 1-2 articles to a school newspaper or publication"]),e(cl.value)(["I write for fun"])];if(n instanceof Nm)return[e(Cr.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(mr.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(xr.value)(["I was the president of a school or local level honor society"]),e(Rr.value)(["I held leadership in school or local honor society"]),e(Vi.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(fi.value)(["I was a member of school level honor society e.g. National Honor Society"]),e(ji.value)(["I was a member of a subject level school honor society i.e. Spanish Honor Society"])];if(n instanceof Pm)return[e(Cr.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(mr.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(xr.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(Rr.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(Vi.value)(["I had an unpaid internship at a local small business or government office"]),e(ji.value)(["I had hourly paid work at local business e.g. as a cashier, waitress, or secretary"])];if(n instanceof Om)return[e($i.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(Cr.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(mr.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(xr.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(Rr.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(fi.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 km)return[e(xr.value)(["I was School President or Head Boy/Girl"]),e(_o.value)(["I was the president of Student Council","I was class president"]),e(Rr.value)(["I was a class officer","I held student council leadership"]),e(fi.value)(["I was a member of Student Council"])];if(n instanceof Um)return[e(Cr.value)(["I organized a nationwide event or conference for this interest (i.e. national anime conference)"]),e(mr.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(xr.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(Rr.value)(["I held leadership in a school-level interest club"]),e(ho.value)(["I was a member of school level interest based club"])];if(n instanceof Hm)return[e(Cr.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(mr.value)(["I was the highest state leader of an affinity group for high schoolers e.g.Black Students Association"]),e(xr.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(Rr.value)(["I held school-level leadership in an affinity group or club"]),e(ho.value)(["I was a member of a school level affinity club"])];if(n instanceof Bm)return[e($i.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(Cr.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(mr.value)(["I was selected for a formal, honorary application required research programs"]),e(xr.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(_o.value)(["I conducted research through a formal, application required program with an accredited university"]),e(Rr.value)(["I had research that was or will be published"]),e(Vi.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(ji.value)(["I paid money to participate in a research program"])];if(n instanceof Jm)return[e(Cr.value)(["I attended one of TASP, RSI, PROMYS, SSP, Boys/Girls Nation"]),e(mr.value)(["I attended one of RISE, MITES, SuMaC, Boys/Girls State, or Gov School"]),e(_o.value)(["I attended one of SIP, EFL, SAMS, HCSSIM, JCamp, MAthlLy, HSHSP, Clark Scholars, Notre Dame Summer Scholars"]),e(Rr.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(ji.value)(["I participated in study abroad through my school","I attended a paid summer program requiring an application"]),e(ho.value)(["I attended a paid summer program where there is no application required"])];if(n instanceof Wm)return[e(Cr.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(mr.value)(["I built commercially used software","I built an app with more than 100,000 downloads"]),e(_o.value)(["I published an app with 10,000 downloads"]),e(fi.value)(["I published an app on the App/Google Play store","I contributed to an open source software project"]),e(ho.value)(["I write programs for fun"])];if(n instanceof _0)return[e(mr.value)([""]),e(Vi.value)([""]),e(ho.value)([""]),e(cl.value)([""])];throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECTier (line 134, column 17 - line 322, column 6): "+[n.constructor.name])}}(),Pae=function(e){return function(n){return ske(n8(function(){var t=vke(n);return function(a){return t(function(r){return r.tier}(a))}}())(Nae(e)))(function(t){return t.description})}},hE=function(e){return fke(function(n){return n.tier})(Nae(e))},Oae=function(e){return wi(hE(e))},X2=function(e){return vh(hE(e))};var Uae=re(Z1),Hae=re(xae),_ke=re(ts(Fr)),dke=_e(vE),hke=_e(xt(ma)),gke=_e(xt(tr)),Dke=_e(As),yke=mh(As),bke=EF(Gae),lj=K(xe),Rke=z(Un),wke=gl(xe),cj=Y0(J),Ske=qn(Na),Eke=j(J);var Cke=Pp(As);var sj={show:function(e){return"ECActivity "+("{ name: "+(e.name+(", category: "+(Uae(e.category)+(", tier: "+(Hae(e.tier)+(", description: "+(_ke(e.description)+" }"))))))))}};var Bae={show:function(){var e=re(ze),n=un();return function(t){return e(n(t))}}()},fj={eq:function(e){return function(n){return e===n}}},Ike=_e(xt(fj)),gE={eq:function(e){return function(n){return Ike(e.canonicalId)(n.canonicalId)&&dke(e.category)(n.category)&&hke(e.description)(n.description)&&gke(e.id)(n.id)&&e.name===n.name&&Dke(e.tier)(n.tier)}}},DE=Rt;var kl=function(e){return e.tier},T_=function(e){return e.name},yE=function(e){return function(n){return function(t){return function(a){return function(r){return function(o){var i=hE(n),u=function(l){var c=!1,s;function f(v){if(yke(v)(i))return c=!0,new d(v);var m=function(R){if(je)return wi(i);throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivity (line 78, column 1 - line 78, column 105): "+[v.constructor.name])},_=bke(v);if(_ instanceof d){l=_.value0;return}return c=!0,m(!0)}for(;!c;)s=f(l);return s};return lj(u(t))(function(l){return Rke({name:e,category:n,tier:l,id:a,description:r,canonicalId:o})})}}}}}},Tke=Zn(Ge)(J)({diagnosticName:"EC Activity",parse:function(e){return wke(cj(cj(cj(Ske(Eke(yE(e.name))(K1(e.category)))(Lae(e.tier)))(ee(e.id)))(ee(e.description)))(ee(e.canonical_ec_activity_id)))}}),bE=Fo(Tke);var Z2=function(e){return e.id},Jae=function(e){return function(n){var t=hE(n.category);return lj(Cke(n.tier)(t))(function(a){return lj(ou(t)(e(a)))(function(r){return yE(n.name)(n.category)(r)(n.id)(n.description)(n.canonicalId)})})}},Wae=Jae(function(e){return e+1|0}),qae=Jae(function(e){return e-1|0}),RE=function(e){return e.description},ev=function(e){return e.category},K2=function(e){return e.canonicalId},lg=j(ge)(function(e){return{name:T_(e),category:Uae(ev(e)),tier:Hae(kl(e)),id:Ht(Z2(e)),description:Ht(RE(e)),canonical_ec_activity_id:Ht(K2(e))}});var vj=z(Un),Fke=Nt(Pr);var wE=function(e){var n=S_(e);if(n instanceof d&&e.psatPredictedCompositeSAT instanceof C)return vj(fE.value);if(n instanceof d&&e.psatPredictedCompositeSAT instanceof d)return vj(fE.value);if(n instanceof C&&e.psatPredictedCompositeSAT instanceof d)return vj(X1.value);if(n instanceof C&&e.psatPredictedCompositeSAT instanceof C)return C.value;throw new Error("Failed pattern match at Hub.Types.ChancingProfile (line 50, column 3 - line 58, column 14): "+[n.constructor.name,e.psatPredictedCompositeSAT.constructor.name])},zae=function(e){return{sat:{readingWriting:ee(e.sat.readingWriting),math:ee(e.sat.math)},psatPredictedCompositeSAT:ee(e.psatPredictedCompositeSAT),act:{math:ee(e.act.math),english:ee(e.act.english),reading:ee(e.act.reading),science:ee(e.act.science)},gpa:ee(e.gpa),courseRigor:{ap:ee(e.courseRigor.ap),honors:ee(e.courseRigor.honors),collegeClasses:ee(e.courseRigor.collegeClasses)},ecScore:ee(e.ecScore),ecActivities:bE(e.ecActivities)}};var mj=function(e){return Fke(S_(e))(e.psatPredictedCompositeSAT)};var eG=function(e){return{estimatedNetCost:e.estimatedNetCost,stickerPrice:e.stickerPrice,financialAid:e.financialAid,estimatedMeritAid:ee(e.estimatedMeritAid)}};var $ae=ym(function(e){return{status:q9(e.status),applicationRound:lte(e.applicationRound)}}),pj=function(){return{status:ug.value,applicationRound:p_.value}}();var Vae=ym(Qe(Xe)),nG=500;var nv=function(){function e(){}return e.value=new e,e}(),cg=function(){function e(){}return e.value=new e,e}();var Qae={eq:function(e){return function(n){return e instanceof nv&&n instanceof nv||e instanceof cg&&n instanceof cg}}};var Fu=function(e){if(e instanceof nv)return d.create;if(e instanceof cg)return rn(C.value);throw new Error("Failed pattern match at SchoolDetails.Configuration (line 16, column 1 - line 16, column 62): "+[e.constructor.name])},xs=function(e){if(e instanceof cg)return d.create;if(e instanceof nv)return rn(C.value);throw new Error("Failed pattern match at SchoolDetails.Configuration (line 20, column 1 - line 20, column 61): "+[e.constructor.name])},qm=function(){return d.create}();var Yae=Dn(gn),Xae=hn(Yae)(mn(vn)),Zae=_n(pn),Kae=dn(Zae),ere=Rn(bn),nre=yn(ere),tG=function(){function e(){}return e.value=new e,e}(),_j=function(){function e(){}return e.value=new e,e}(),dj=function(){function e(){}return e.value=new e,e}(),Mke={to:function(e){if(e instanceof H)return tG.value;if(e instanceof p&&e.value0 instanceof H)return _j.value;if(e instanceof p&&e.value0 instanceof p)return dj.value;throw new Error("Failed pattern match at Autopilot.Student.Types.AutopilotStatus (line 14, column 1 - line 14, column 42): "+[e.constructor.name])},from:function(e){if(e instanceof tG)return new H(fe.value);if(e instanceof _j)return new p(new H(fe.value));if(e instanceof dj)return new p(new p(fe.value));throw new Error("Failed pattern match at Autopilot.Student.Types.AutopilotStatus (line 14, column 1 - line 14, column 42): "+[e.constructor.name])}};var hj=function(){var e=function(n){if(n instanceof tG)return"ineligible";if(n instanceof _j)return"eligible";if(n instanceof dj)return"joined";throw new Error("Failed pattern match at Autopilot.Student.Types.AutopilotStatus (line 24, column 17 - line 27, column 25): "+[n.constructor.name])};return lt(Ge)({parse:Gn(e)(wn(Mke)(Xae(Xae(Yae)(Zae))(Kae))(nre(nre(ere)))(Kae)),default:tG.value,diagnosticName:"Autopilot Status"})}();var tre=function(e){return{rcr2577ClaimSchoolProfileLinkOnSdp:e.rcr2577ClaimSchoolProfileLinkOnSdp,app18667SageOnSdp:e.app18667SageOnSdp,app18667TrellisRecruiter:e.app18667TrellisRecruiter,autopilot:hj(e.autopilot)}};var Gke=function(){function e(){}return e.value=new e,e}(),gj=function(){function e(){}return e.value=new e,e}(),SE=function(){function e(){}return e.value=new e,e}(),are=function(){function e(){}return e.value=new e,e}(),rre=function(e){if(e instanceof Gke)return"modal-sm";if(e instanceof gj)return"";if(e instanceof SE)return"modal-lg";if(e instanceof are)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 Tre=Da(Ire()),Fre=Tre.default;var vUe=dc(),Mre=function(e){var n=vUe(e);return function(){return function(){return n(Fre)}}};var Gre=iS(rS);var Are={map:function(e){return function(n){return Gre(Gre(e))(n)}}},mUe=Z(Are),pUe=function(e){var n=K(e.Monad0().Bind1()),t=Jn(e);return function(a){return Xp(function(r){return n(a(r.dispatch))(function(o){return t(r.onStop(o))})})}},xre=function(e){var n=pUe(e);return function(t){return function(a){return n(mUe(a)(t))}}};var Lre=Bn(Mn)(qt),_Ue=xre(at),dUe=Qe(Xe),jre=z(_t),lG=function(e){return function(n){return y1("UseSubscription")(function(t){return{init:Lre(_Ue(dUe)(e))(function(){return jre(Ce)}),update:function(a){return function(r){return Lre(fr(n(r)))(function(){return jre(Ce)})}},view:function(a){return function(r){return t(Ce)}}}})}};function TE(e){return function(){return function(n){return e(n)()}}}function FE(e){return function(n){return function(t){return function(a){return function(){return a.addEventListener(e,n,t)}}}}}function Cj(e){return function(n){return function(t){return function(a){return function(){return a.removeEventListener(e,n,t)}}}}}var Nre="message";var Pre="hashchange";var Ore="popstate";var kre="keyup",Ure="keydown";var Hre="mouseup";var Bre="mousemove";var Jre=Jn(at),Wre=j(ut),hUe=pt($a),ME=function(){var e=function(a){return function(r){return function(o){return Jre(function(){var u=r(),l=TE(function(c){return o(c)})();return FE(a)(l)(!1)(u)(),Jre(Cj(a)(l)(!1)(u))})}}},n=function(a){return e(a)(Wre(Xne)(vo))},t=function(a){return e(a)(Wre(qne)(hUe(Dm)(vo)))};return{hashchange:n(Pre),mousemove:n(Bre),mouseup:n(Hre),popstate:n(Ore),resize:n("resize"),message:n(Nre),keydown:t(Ure),keyup:t(kre),selectionchange:t("selectionchange"),visibilitychange:t("visibilitychange")}}();var zre=Ef()(),XJe=function(e){return e},tv=Gr(Ku),Ls=function(e){var n=One(e)()();return function(){return function(){return function(t){return function(a){return function(r){return function(o){return n(zre(r)({className:t,"aria-label":a}))(o)}}}}}}};var F_=function(e){return XJe(Gr(e))},$re=function(e){var n=Une(e)()();return function(){return function(){return function(t){return function(a){return function(r){return function(o){return n(zre(r)({className:t,"aria-label":a}))(o)}}}}}}};var GE=function(){return Be};var ay=B(ae),Tj=Ea(),ZJe=Mre(ae)()(),KJe=Yn(ae)()(),eWe=Yn(W)()(),nWe=B(W),tWe=Ls(L)()(),aWe=la(vr),rWe=Co(na),oWe=Jn(at),Vre=GE(),cG=function(){return function(e){var n=ay("modal-backdrop fade show")(nn),t=Tj(e),a=yr(t.footer),r=yr(t.header),o=kn(t.size)(gj.value),i=Br(" ")([function(){var l=kn(t.scrollable)(!0);return l?"modal-dialog-scrollable":""}(),function(){var l=kn(t.centered)(!0);return l?"modal-dialog-centered":""}(),rre(o),kn(t.dialogClass)("")]),u=ZJe({focusTrapOptions:{escapeDeactivates:!1,fallbackFocus:".modal-content",allowOutsideClick:!0}})(ay("modal fade show d-block")(KJe("modal-dialog "+i)({style:kn(t.dialogStyle)(fn({}))})(eWe("modal-content "+kn(t.contentClass)(""))({style:kn(t.contentStyle)(fn({}))})([Je(r)(ay("modal-header "+kn(t.headerClass)(""))),ay("modal-body "+kn(t.bodyClass)(""))(t.body),Je(a)(ay("modal-footer "+kn(t.footerClass)("")))]))));return ce([u,n])}},Qre=cG(),$m=function(){return function(e){var n=Tj(e),t=nWe("d-flex w-100 justify-content-between align-items-center")([ay("mr-4")(kn(n.title)(nn)),tWe("btn btn-link large mr-n3 py-0 fe fe-x t--close "+kn(n.dismissButtonClass)("text-body"))(F_("Close"))({type:"button",onClick:aWe(n.onDismiss)})("")]),a=function(r){return rWe(r.key==="Escape")(oWe(n.onDismiss))};return b1(lG(ME.keyup)(a))(function(r){var o=kn(n.bodyScrollable)(!1);return Qre(o?function(){var i=Tj(Vre(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}}():Vre({bodyClass:n.bodyClass,bodyScrollable:n.bodyScrollable,centered:n.centered,contentClass:n.contentClass,contentStyle:n.contentStyle,dialogClass:n.dialogClass,dialogStyle:n.dialogStyle,dismissButtonClass:n.dismissButtonClass,footer:n.footer,footerClass:n.footerClass,headerClass:n.headerClass,onDismiss:n.onDismiss,scrollable:n.scrollable,size:n.size,title:n.title,body:ce([t,n.body])}))})}};function Yre(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 Xre=typeof CV!="undefined"&&CV.pathInfo||typeof global!="undefined"&&global.CV&&global.CV.pathInfo||(e=>null);function Zre(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 Kre(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 sG="application/json",eoe="application/x-www-form-urlencoded";var noe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),toe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),aoe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),roe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),ooe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Fj=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),fG=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),ioe=function(e){return e instanceof Fj?new d(eoe):e instanceof fG?new d(sG):C.value};var uoe=function(){return fG.create}();var loe=un();var vG=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),mG=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},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}(),coe=function(e){if(e instanceof vG||e instanceof mG)return loe(e.value0);if(e instanceof ry)return e.value1;throw new Error("Failed pattern match at Affjax.RequestHeader (line 26, column 1 - line 26, column 33): "+[e.constructor.name])};var Mj=function(e){if(e instanceof vG)return"Accept";if(e instanceof mG)return"Content-Type";if(e instanceof ry)return e.value0;throw new Error("Failed pattern match at Affjax.RequestHeader (line 21, column 1 - line 21, column 32): "+[e.constructor.name])};var soe=Qe(Xe),Gj=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Aj=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),xj=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),pG=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),_G=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),dG=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),foe=function(e){if(e instanceof Gj)return"arraybuffer";if(e instanceof Aj)return"blob";if(e instanceof xj)return"document";if(e instanceof pG||e instanceof _G)return"text";if(e instanceof dG)return"";throw new Error("Failed pattern match at Affjax.ResponseFormat (line 44, column 3 - line 50, column 19): "+[e.constructor.name])},voe=function(e){return e instanceof pG?new d(sG):C.value},moe=function(){return new _G(soe)}();var poe=function(){return new dG(soe)}();var _oe=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 doe(e,n,t){try{return n(JSON.parse(t))}catch(a){return e(a.message)}}var hG=function(e){return doe(on.create,ln.create,e)};var iWe=qn(Na),hoe=j(J),uWe=To(bi)(Un);var lWe=function(e){return e};var goe=function(){var e=function(a){if(a.value1 instanceof C)return j2(a.value0);if(a.value1 instanceof d)return iWe(hoe(function(r){return function(o){return r+("="+o)}})(j2(a.value0)))(j2(a.value1.value0));throw new Error("Failed pattern match at Data.FormURLEncoded (line 37, column 16 - line 39, column 114): "+[a.constructor.name])},n=hoe(Br("&")),t=uWe(e);return function(a){return n(t(lWe(a)))}}();var Lj=function(){function e(){}return e.value=new e,e}(),M_=function(){function e(){}return e.value=new e,e}(),jj=function(){function e(){}return e.value=new e,e}(),Vm=function(){function e(){}return e.value=new e,e}(),gG=function(){function e(){}return e.value=new e,e}(),AE=function(){function e(){}return e.value=new e,e}(),Nj=function(){function e(){}return e.value=new e,e}(),Pj=function(){function e(){}return e.value=new e,e}(),Oj=function(){function e(){}return e.value=new e,e}(),kj=function(){function e(){}return e.value=new e,e}(),Uj=function(){function e(){}return e.value=new e,e}(),Hj=function(){function e(){}return e.value=new e,e}(),Bj=function(){function e(){}return e.value=new e,e}(),Jj=function(){function e(){}return e.value=new e,e}(),Wj=function(){function e(){}return e.value=new e,e}(),DG=function(){function e(){}return e.value=new e,e}();var cWe=function(e){return e},sWe={show:function(e){if(e instanceof Lj)return"OPTIONS";if(e instanceof M_)return"GET";if(e instanceof jj)return"HEAD";if(e instanceof Vm)return"POST";if(e instanceof gG)return"PUT";if(e instanceof AE)return"DELETE";if(e instanceof Nj)return"TRACE";if(e instanceof Pj)return"CONNECT";if(e instanceof Oj)return"PROPFIND";if(e instanceof kj)return"PROPPATCH";if(e instanceof Uj)return"MKCOL";if(e instanceof Hj)return"COPY";if(e instanceof Bj)return"MOVE";if(e instanceof Jj)return"LOCK";if(e instanceof Wj)return"UNLOCK";if(e instanceof DG)return"PATCH";throw new Error("Failed pattern match at Data.HTTP.Method (line 43, column 1 - line 59, column 23): "+[e.constructor.name])}};var Doe=ar(re(sWe))(cWe);var yoe={eq:function(e){return function(n){return e instanceof Lj&&n instanceof Lj||e instanceof M_&&n instanceof M_||e instanceof jj&&n instanceof jj||e instanceof Vm&&n instanceof Vm||e instanceof gG&&n instanceof gG||e instanceof AE&&n instanceof AE||e instanceof Nj&&n instanceof Nj||e instanceof Pj&&n instanceof Pj||e instanceof Oj&&n instanceof Oj||e instanceof kj&&n instanceof kj||e instanceof Uj&&n instanceof Uj||e instanceof Hj&&n instanceof Hj||e instanceof Bj&&n instanceof Bj||e instanceof Jj&&n instanceof Jj||e instanceof Wj&&n instanceof Wj||e instanceof DG&&n instanceof DG}}};var boe=function(e){return Lh(function(n){return function(){var a=e(function(r){return n(on.create(r))()},function(r){return n(ln.create(r))()});return function(r){return Lh(function(o){return function(){return a(r,function(u){return o(on.create(u))()},function(u){return o(ln.create(u))()}),jX}})}}})};var qj=z(If(ya)),fWe=Ih(ya),fg=Tf(ya),Roe=Nt(L8(f8)(ya)),vWe=nh($v(ya)),yG=j(J),mWe=ac(Te)(ea),pWe=_e(ma),_We=pt(xe),dWe=j(ge),hWe=Z(Vt),gWe=vs(Vv),DWe=z(na);var bG=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),RG=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}(),wG=function(){function e(){}return e.value=new e,e}(),SG=function(){function e(){}return e.value=new e,e}(),EG=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),woe=function(e){return function(n){var t=function(s){return s===""?qj(LQ):ar(function(f){return fWe(PF.create(f))})(qj)(hG(s))},a=function(){if(n.responseFormat instanceof Gj)return fg("ArrayBuffer");if(n.responseFormat instanceof Aj)return fg("Blob");if(n.responseFormat instanceof xj)return function(s){return Roe(fg("Document")(s))(Roe(fg("XMLDocument")(s))(fg("HTMLDocument")(s)))};if(n.responseFormat instanceof pG)return vWe(function(s){return n.responseFormat.value0(t(s))})(fg("String"));if(n.responseFormat instanceof _G)return fg("String");if(n.responseFormat instanceof dG)return rn(n.responseFormat.value0(qj(Ce)));throw new Error("Failed pattern match at Affjax (line 274, column 18 - line 283, column 57): "+[n.responseFormat.constructor.name])}(),r=function(s){if(s instanceof noe)return new ln(s.value0(Gr));if(s instanceof toe)return new ln(Gr(s.value0));if(s instanceof aoe)return new ln(Gr(s.value0));if(s instanceof roe)return new ln(Gr(s.value0));if(s instanceof ooe)return new ln(Gr(s.value0));if(s instanceof Fj)return OD("Body contains values that cannot be encoded as application/x-www-form-urlencoded")(yG(Gr)(goe(s.value0)));if(s instanceof fG)return new ln(Gr(VT(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&&!mWe(wu(pWe)(Mj)(s.value0))(f)?gw(f)(s.value0):f}},i=function(s){return o(yG(mG.create)(_We(ioe)(s)))(o(yG(vG.create)(voe(n.responseFormat)))(n.headers))},u=function(s){return{method:Doe(n.method),url:n.url,headers:dWe(function(f){return{field:Mj(f),value:coe(f)}})(i(n.content)),content:s,responseType:foe(n.responseFormat),username:Ht(n.username),password:Ht(n.password),withCredentials:n.withCredentials,timeout:Ee(0)(yG(function(f){return f})(n.timeout))}},l=function(s){return hWe(gWe(boe(Kre(e,"AffjaxTimeoutErrorMessageIdent","AffjaxRequestFailedMessageIdent",_oe.create,u(s)))))(function(f){if(f instanceof ln){var v=uE(a(f.value0.body));if(v instanceof on)return new on(new RG(fY(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 on)return new on(function(){var m=s1(f.value0),_=m==="AffjaxTimeoutErrorMessageIdent";if(_)return wG.value;var R=m==="AffjaxRequestFailedMessageIdent";return R?SG.value:new EG(f.value0)}());throw new Error("Failed pattern match at Affjax (line 207, column 144 - line 219, column 28): "+[f.constructor.name])})};if(n.content instanceof C)return l(Ht(C.value));if(n.content instanceof d){var c=r(n.content.value0);if(c instanceof ln)return l(Ht(new d(c.value0)));if(c instanceof on)return DWe(new on(new bG(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 oy=function(){return{method:new on(M_.value),url:"/",headers:[],content:C.value,username:C.value,password:C.value,withCredentials:!1,responseFormat:poe,timeout:C.value}}();var Soe={eq:function(e){return function(n){return e===n}}};var zj={newXHR:function(){return new XMLHttpRequest},fixupUrl:function(e){return e||"/"}};var Eoe=woe(zj);function Coe(e){return Buffer.from(e).toString("base64")}function Ioe(e,n,t){let a;try{a=n(btoa(t))}catch(r){a=e(r)}return a}var $j=typeof btoa=="function";function Toe(e){let n=32768,t=[];for(let a=0;a=0)&&(t[r]=e[r]);return t}function vi(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}Wt();Wt();function Do(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function Mce(e,n){for(var t=0;t1&&arguments[1]!==void 0?arguments[1]:1;xce+=1;var t=xce;function a(r){if(r===0)Lce(t),e();else{var o=Gce(function(){a(r-1)});BN.set(t,o)}}return a(n),t}kc.cancel=function(e){var n=BN.get(e);return Lce(n),Ace(n)};function Rg(e,n){return e?e.contains(n):!1}function QE(e){return e instanceof HTMLElement?e:_c.findDOMNode(e)}var kce=Da(Oce());Wt();function zN(e,n){typeof e=="function"?e(n):go(e)==="object"&&e&&"current"in e&&(e.current=n)}function P4(){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=kc(function(){r<=1?a({isCanceled:function(){return o!==e.current}}):t(a,r-1)});e.current=o}return Dr(function(){return function(){n()}},[]),[t,n]};Wt();var SVe=y0()?eS:Dr,J4=SVe;var Xce=[Ps,Xm,q_,B4],eP=!1,Zce=!0;function W4(e){return e===q_||e===B4}var Kce=function(e,n){var t=Zm(KN),a=Ba(t,2),r=a[0],o=a[1],i=Yce(),u=Ba(i,2),l=u[0],c=u[1];function s(){o(Ps,!0)}return J4(function(){if(r!==KN&&r!==B4){var f=Xce.indexOf(r),v=Xce[f+1],m=n(r);m===eP?o(v,!0):l(function(_){function R(){_.isCanceled()||o(v,!0)}m===!0?R():Promise.resolve(m).then(R)})}},[e,r]),Dr(function(){return function(){c()}},[]),[s,r]};Wt();Wt();var ese=function(e){var n=Aa(),t=Aa(e);t.current=e;var a=Kw(function(i){t.current(i)},[]);function r(i){i&&(i.removeEventListener(XN,a),i.removeEventListener(YN,a))}function o(i){n.current&&n.current!==i&&r(n.current),i&&i!==n.current&&(i.addEventListener(XN,a),i.addEventListener(YN,a),n.current=i)}return Dr(function(){return function(){r(n.current)}},[]),[o,r]};function nP(e,n,t,a){var r=a.motionEnter,o=r===void 0?!0:r,i=a.motionAppear,u=i===void 0?!0:i,l=a.motionLeave,c=l===void 0?!0:l,s=a.motionDeadline,f=a.motionLeaveImmediately,v=a.onAppearPrepare,m=a.onEnterPrepare,_=a.onLeavePrepare,R=a.onAppearStart,D=a.onEnterStart,y=a.onLeaveStart,S=a.onAppearActive,G=a.onEnterActive,P=a.onLeaveActive,O=a.onAppearEnd,M=a.onEnterEnd,k=a.onLeaveEnd,oe=a.onVisibleChanged,le=Zm(),ve=Ba(le,2),X=ve[0],be=ve[1],pe=Zm(W_),De=Ba(pe,2),Ne=De[0],ie=De[1],jn=Zm(null),Ve=Ba(jn,2),Pn=Ve[0],On=Ve[1],q=Aa(!1),x=Aa(null);function ne(){return t()}var me=Aa(!1);function ye(Cn){var tt=ne();if(!(Cn&&!Cn.deadline&&Cn.target!==tt)){var gt=me.current,Fn;Ne===XE&>?Fn=O==null?void 0:O(tt,Cn):Ne===ZE&>?Fn=M==null?void 0:M(tt,Cn):Ne===KE&>&&(Fn=k==null?void 0:k(tt,Cn)),Ne!==W_&>&&Fn!==!1&&(ie(W_,!0),On(null,!0))}}var U=ese(ye),de=Ba(U,1),V=de[0],Ae=nS(function(){var Cn,tt,gt;switch(Ne){case XE:return Cn={},Ma(Cn,Ps,v),Ma(Cn,Xm,R),Ma(Cn,q_,S),Cn;case ZE:return tt={},Ma(tt,Ps,m),Ma(tt,Xm,D),Ma(tt,q_,G),tt;case KE:return gt={},Ma(gt,Ps,_),Ma(gt,Xm,y),Ma(gt,q_,P),gt;default:return{}}},[Ne]),Me=Kce(Ne,function(Cn){if(Cn===Ps){var tt=Ae[Ps];return tt?tt(ne()):eP}if(Le in Ae){var gt;On(((gt=Ae[Le])===null||gt===void 0?void 0:gt.call(Ae,ne(),null))||null)}return Le===q_&&(V(ne()),s>0&&(clearTimeout(x.current),x.current=setTimeout(function(){ye({deadline:!0})},s))),Zce}),He=Ba(Me,2),$e=He[0],Le=He[1],In=W4(Le);me.current=In,J4(function(){be(n);var Cn=q.current;if(q.current=!0,!!e){var tt;!Cn&&n&&u&&(tt=XE),Cn&&n&&o&&(tt=ZE),(Cn&&!n&&c||!Cn&&f&&!n&&c)&&(tt=KE),tt&&(ie(tt),$e())}},[n]),Dr(function(){(Ne===XE&&!u||Ne===ZE&&!o||Ne===KE&&!c)&&ie(W_)},[u,o,c]),Dr(function(){return function(){q.current=!1,clearTimeout(x.current)}},[]);var cn=Aa(!1);Dr(function(){X&&(cn.current=!0),X!==void 0&&Ne===W_&&((cn.current||X)&&(oe==null||oe(X)),cn.current=!0)},[X,Ne]);var nt=Pn;return Ae[Ps]&&Le===Xm&&(nt=Bt({transition:"none"},nt)),[Ne,Le,nt,X!=null?X:n]}Wt();var EVe=function(e){bo(t,e);var n=bg(t);function t(){return Do(this,t),n.apply(this,arguments)}return yo(t,[{key:"render",value:function(){return this.props.children}}]),t}(Ah),nse=EVe;function CVe(e){var n=e;go(e)==="object"&&(n=e.transitionSupport);function t(r){return!!(r.motionName&&n)}var a=pc(function(r,o){var i=r.visible,u=i===void 0?!0:i,l=r.removeOnLeave,c=l===void 0?!0:l,s=r.forceRender,f=r.children,v=r.motionName,m=r.leavedClassName,_=r.eventProps,R=t(r),D=Aa(),y=Aa();function S(){try{return D.current instanceof HTMLElement?D.current:QE(y.current)}catch{return null}}var G=nP(R,u,S,r),P=Ba(G,4),O=P[0],M=P[1],k=P[2],oe=P[3],le=Aa(oe);oe&&(le.current=!0);var ve=Kw(function(jn){D.current=jn,zN(o,jn)},[o]),X,be=Bt(Bt({},_),{},{visible:u});if(!f)X=null;else if(O===W_||!t(r))oe?X=f(Bt({},be),ve):!c&&le.current?X=f(Bt(Bt({},be),{},{className:m}),ve):s?X=f(Bt(Bt({},be),{},{style:{display:"none"}}),ve):X=null;else{var pe,De;M===Ps?De="prepare":W4(M)?De="active":M===Xm&&(De="start"),X=f(Bt(Bt({},be),{},{className:(0,tse.default)(ZN(v,O),(pe={},Ma(pe,ZN(v,"".concat(O,"-").concat(De)),De),Ma(pe,v,typeof v=="string"),pe)),style:k}),ve)}if(k8(X)&&O4(X)){var Ne=X,ie=Ne.ref;ie||(X=Zw(X,{ref:ve}))}return Pa(nse,{ref:y},X)});return a.displayName="CSSMotion",a}var q4=CVe(H4);Wt();var z4="add",$4="keep",V4="remove",Q4="removed";function IVe(e){var n;return e&&go(e)==="object"&&"key"in e?n=e:n={key:e},Bt(Bt({},n),{},{key:String(n.key)})}function Y4(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(IVe)}function ase(){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=Y4(e),i=Y4(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!==V4}),t.forEach(function(s){s.key===c&&(s.status=$4)})}),t}var TVe=["component","children","onVisibleChanged","onAllRemoved"],FVe=["status"],MVe=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function GVe(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:q4,t=function(a){bo(o,a);var r=bg(o);function o(){var i;Do(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 nQe(e,n,t,a){var r=ia.clone(e),o={width:n.width,height:n.height};return a.adjustX&&r.left=t.left&&r.left+o.width>t.right&&(o.width-=r.left+o.width-t.right),a.adjustX&&r.left+o.width>t.right&&(r.left=Math.max(t.right-o.width,t.left)),a.adjustY&&r.top=t.top&&r.top+o.height>t.bottom&&(o.height-=r.top+o.height-t.bottom),a.adjustY&&r.top+o.height>t.bottom&&(r.top=Math.max(t.bottom-o.height,t.top)),ia.mix(r,o)}function mP(e){var n,t,a;if(!ia.isWindow(e)&&e.nodeType!==9)n=ia.offset(e),t=ia.outerWidth(e),a=ia.outerHeight(e);else{var r=ia.getWindow(e);n={left:ia.getWindowScrollLeft(r),top:ia.getWindowScrollTop(r)},t=ia.viewportWidth(r),a=ia.viewportHeight(r)}return n.width=t,n.height=a,n}function Rse(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 t3(e,n,t,a,r){var o=Rse(n,t[1]),i=Rse(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 wse(e,n,t){return e.leftt.right}function Sse(e,n,t){return e.topt.bottom}function tQe(e,n,t){return e.left>t.right||e.left+n.widtht.bottom||e.top+n.height=t.right||a.top>=t.bottom}function o3(e,n,t){var a=t.target||n,r=mP(a),o=!rQe(a,t.overflow&&t.overflow.alwaysByViewport);return Ise(e,r,t,o)}o3.__getOffsetParent=fP;o3.__getVisibleRectForElement=vP;function Tse(e,n,t){var a,r,o=ia.getDocument(e),i=o.defaultView||o.parentWindow,u=ia.getWindowScrollLeft(i),l=ia.getWindowScrollTop(i),c=ia.viewportWidth(i),s=ia.viewportHeight(i);"pageX"in n?a=n.pageX:a=u+n.clientX,"pageY"in n?r=n.pageY:r=l+n.clientY;var f={left:a,top:r,width:0,height:0},v=a>=0&&a<=u+c&&r>=0&&r<=l+s,m=[t.points[0],"cc"];return Ise(e,f,use(use({},t),{},{points:m}),v)}var vme=Da(nme());var tme=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(){!xP||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Gen?(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(){!xP||!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=Men.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}(),ame=function(e,n){for(var t=0,a=Object.keys(n);t0},e}(),ime=typeof WeakMap!="undefined"?new WeakMap:new tme,ume=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=Aen.getInstance(),a=new Ben(n,t,this);ime.set(this,a)}return e}();["observe","unobserve","disconnect"].forEach(function(e){ume.prototype[e]=function(){var n;return(n=ime.get(this))[e].apply(n,arguments)}});var Jen=function(){return typeof f3.ResizeObserver!="undefined"?f3.ResizeObserver:ume}(),lme=Jen;function cme(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 sme(e,n){e!==document.activeElement&&Rg(n,e)&&typeof e.focus=="function"&&e.focus()}function LP(e,n){var t=null,a=null;function r(i){var u=Ba(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 lme(r);return e&&o.observe(e),function(){o.disconnect()}}Wt();var fme=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 mme(e){return typeof e!="function"?null:e()}function pme(e){return go(e)!=="object"||!e?null:e}var Wen=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=fme(function(){var M=_.current,k=M.disabled,oe=M.target,le=M.align,ve=M.onAlign;if(!k&&oe){var X=v.current,be,pe=mme(oe),De=pme(oe);f.current.element=pe,f.current.point=De,f.current.align=le;var Ne=document,ie=Ne.activeElement;return pe&&ose(pe)?be=o3(X,pe,le):De&&(be=Tse(X,De,le)),sme(ie,X),ve&&be&&ve(X,be),!0}return!1},s),D=Ba(R,2),y=D[0],S=D[1],G=Et.useRef({cancel:function(){}}),P=Et.useRef({cancel:function(){}});Et.useEffect(function(){var M=mme(o),k=pme(o);v.current!==P.current.element&&(P.current.cancel(),P.current.element=v.current,P.current.cancel=LP(v.current,y)),(f.current.element!==M||!cme(f.current.point,k)||!(0,vme.default)(f.current.align,i))&&(y(),G.current.element!==M&&(G.current.cancel(),G.current.element=M,G.current.cancel=LP(M,y)))}),Et.useEffect(function(){r?S():y()},[r]);var O=Et.useRef(null);return Et.useEffect(function(){l?O.current||(O.current=B_(window,"resize",y)):O.current&&(O.current.remove(),O.current=null)},[l]),Et.useEffect(function(){return function(){G.current.cancel(),P.current.cancel(),O.current&&O.current.remove(),S()}},[]),Et.useImperativeHandle(t,function(){return{forceAlign:function(){return y(!0)}}}),Et.isValidElement(m)&&(m=Et.cloneElement(m,{ref:P4(m.ref,v)})),m},_me=Et.forwardRef(Wen);_me.displayName="Align";var dme=_me;var hme=dme;Wt();var qen=y0()?eS:Dr,jP=qen;var Rme=Da(J_());function pC(){"use strict";pC=function(){return e};var e={},n=Object.prototype,t=n.hasOwnProperty,a=typeof Symbol=="function"?Symbol:{},r=a.iterator||"@@iterator",o=a.asyncIterator||"@@asyncIterator",i=a.toStringTag||"@@toStringTag";function u(ve,X,be){return Object.defineProperty(ve,X,{value:be,enumerable:!0,configurable:!0,writable:!0}),ve[X]}try{u({},"")}catch{u=function(be,pe,De){return be[pe]=De}}function l(ve,X,be,pe){var De=X&&X.prototype instanceof f?X:f,Ne=Object.create(De.prototype),ie=new k(pe||[]);return Ne._invoke=function(jn,Ve,Pn){var On="suspendedStart";return function(q,x){if(On==="executing")throw new Error("Generator is already running");if(On==="completed"){if(q==="throw")throw x;return le()}for(Pn.method=q,Pn.arg=x;;){var ne=Pn.delegate;if(ne){var me=P(ne,Pn);if(me){if(me===s)continue;return me}}if(Pn.method==="next")Pn.sent=Pn._sent=Pn.arg;else if(Pn.method==="throw"){if(On==="suspendedStart")throw On="completed",Pn.arg;Pn.dispatchException(Pn.arg)}else Pn.method==="return"&&Pn.abrupt("return",Pn.arg);On="executing";var ye=c(jn,Ve,Pn);if(ye.type==="normal"){if(On=Pn.done?"completed":"suspendedYield",ye.arg===s)continue;return{value:ye.arg,done:Pn.done}}ye.type==="throw"&&(On="completed",Pn.method="throw",Pn.arg=ye.arg)}}}(ve,be,ie),Ne}function c(ve,X,be){try{return{type:"normal",arg:ve.call(X,be)}}catch(pe){return{type:"throw",arg:pe}}}e.wrap=l;var s={};function f(){}function v(){}function m(){}var _={};u(_,r,function(){return this});var R=Object.getPrototypeOf,D=R&&R(R(oe([])));D&&D!==n&&t.call(D,r)&&(_=D);var y=m.prototype=f.prototype=Object.create(_);function S(ve){["next","throw","return"].forEach(function(X){u(ve,X,function(be){return this._invoke(X,be)})})}function G(ve,X){function be(De,Ne,ie,jn){var Ve=c(ve[De],ve,Ne);if(Ve.type!=="throw"){var Pn=Ve.arg,On=Pn.value;return On&&go(On)=="object"&&t.call(On,"__await")?X.resolve(On.__await).then(function(q){be("next",q,ie,jn)},function(q){be("throw",q,ie,jn)}):X.resolve(On).then(function(q){Pn.value=q,ie(Pn)},function(q){return be("throw",q,ie,jn)})}jn(Ve.arg)}var pe;this._invoke=function(De,Ne){function ie(){return new X(function(jn,Ve){be(De,Ne,jn,Ve)})}return pe=pe?pe.then(ie,ie):ie()}}function P(ve,X){var be=ve.iterator[X.method];if(be===void 0){if(X.delegate=null,X.method==="throw"){if(ve.iterator.return&&(X.method="return",X.arg=void 0,P(ve,X),X.method==="throw"))return s;X.method="throw",X.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var pe=c(be,ve.iterator,X.arg);if(pe.type==="throw")return X.method="throw",X.arg=pe.arg,X.delegate=null,s;var De=pe.arg;return De?De.done?(X[ve.resultName]=De.value,X.next=ve.nextLoc,X.method!=="return"&&(X.method="next",X.arg=void 0),X.delegate=null,s):De:(X.method="throw",X.arg=new TypeError("iterator result is not an object"),X.delegate=null,s)}function O(ve){var X={tryLoc:ve[0]};1 in ve&&(X.catchLoc=ve[1]),2 in ve&&(X.finallyLoc=ve[2],X.afterLoc=ve[3]),this.tryEntries.push(X)}function M(ve){var X=ve.completion||{};X.type="normal",delete X.arg,ve.completion=X}function k(ve){this.tryEntries=[{tryLoc:"root"}],ve.forEach(O,this),this.reset(!0)}function oe(ve){if(ve){var X=ve[r];if(X)return X.call(ve);if(typeof ve.next=="function")return ve;if(!isNaN(ve.length)){var be=-1,pe=function De(){for(;++be=0;--De){var Ne=this.tryEntries[De],ie=Ne.completion;if(Ne.tryLoc==="root")return pe("end");if(Ne.tryLoc<=this.prev){var jn=t.call(Ne,"catchLoc"),Ve=t.call(Ne,"finallyLoc");if(jn&&Ve){if(this.prev=0;--pe){var De=this.tryEntries[pe];if(De.tryLoc<=this.prev&&t.call(De,"finallyLoc")&&this.prev=0;--be){var pe=this.tryEntries[be];if(pe.finallyLoc===X)return this.complete(pe.completion,pe.afterLoc),M(pe),s}},catch:function(X){for(var be=this.tryEntries.length-1;be>=0;--be){var pe=this.tryEntries[be];if(pe.tryLoc===X){var De=pe.completion;if(De.type==="throw"){var Ne=De.arg;M(pe)}return Ne}}throw new Error("illegal catch attempt")},delegateYield:function(X,be,pe){return this.delegate={iterator:oe(X),resultName:be,nextLoc:pe},this.method==="next"&&(this.arg=void 0),s}},e}function gme(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 NP(e){return function(){var n=this,t=arguments;return new Promise(function(a,r){var o=e.apply(n,t);function i(l){gme(o,a,r,i,u,"next",l)}function u(l){gme(o,a,r,i,u,"throw",l)}i(void 0)})}}Wt();var Dme=["measure","alignPre","align",null,"motion"],yme=function(e,n){var t=Zm(null),a=Ba(t,2),r=a[0],o=a[1],i=Aa();function u(s){o(s,!0)}function l(){kc.cancel(i.current)}function c(s){l(),i.current=kc(function(){u(function(f){switch(r){case"align":return"motion";case"motion":return"stable";default:}return f}),s==null||s()})}return Dr(function(){u("measure")},[e]),Dr(function(){switch(r){case"measure":n();break;default:}r&&(i.current=kc(NP(pC().mark(function s(){var f,v;return pC().wrap(function(_){for(;;)switch(_.prev=_.next){case 0:f=Dme.indexOf(r),v=Dme[f+1],v&&f!==-1&&u(v);case 3:case"end":return _.stop()}},s)}))))},[r]),Dr(function(){return function(){l()}},[]),[r,c]};Wt();var bme=function(e){var n=Ff({width:0,height:0}),t=Ba(n,2),a=t[0],r=t[1];function o(u){r({width:u.offsetWidth,height:u.offsetHeight})}var i=nS(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 wme=pc(function(e,n){var t=e.visible,a=e.prefixCls,r=e.className,o=e.style,i=e.children,u=e.zIndex,l=e.stretch,c=e.destroyPopupOnHide,s=e.forceRender,f=e.align,v=e.point,m=e.getRootDomNode,_=e.getClassNameFromAlign,R=e.onAlign,D=e.onMouseEnter,y=e.onMouseLeave,S=e.onMouseDown,G=e.onTouchStart,P=e.onClick,O=Aa(),M=Aa(),k=Ff(),oe=Ba(k,2),le=oe[0],ve=oe[1],X=bme(l),be=Ba(X,2),pe=be[0],De=be[1];function Ne(){l&&De(m())}var ie=yme(t,Ne),jn=Ba(ie,2),Ve=jn[0],Pn=jn[1],On=Ff(0),q=Ba(On,2),x=q[0],ne=q[1],me=Aa();jP(function(){Ve==="alignPre"&&ne(0)},[Ve]);function ye(){return v||m}function U(){var Le;(Le=O.current)===null||Le===void 0||Le.forceAlign()}function de(Le,In){var cn=_(In);le!==cn&&ve(cn),ne(function(nt){return nt+1}),Ve==="align"&&(R==null||R(Le,In))}jP(function(){Ve==="align"&&(x<2?U():Pn(function(){var Le;(Le=me.current)===null||Le===void 0||Le.call(me)}))},[x]);var V=Bt({},X4(e));["onAppearEnd","onEnterEnd","onLeaveEnd"].forEach(function(Le){var In=V[Le];V[Le]=function(cn,nt){return Pn(),In==null?void 0:In(cn,nt)}});function Ae(){return new Promise(function(Le){me.current=Le})}Dr(function(){!V.motionName&&Ve==="motion"&&Pn()},[V.motionName,Ve]),fm(n,function(){return{forceAlign:U,getElement:function(){return M.current}}});var Me=Bt(Bt({},pe),{},{zIndex:u,opacity:Ve==="motion"||Ve==="stable"||!t?void 0:0,pointerEvents:!t&&Ve!=="stable"?"none":void 0},o),He=!0;(f==null?void 0:f.points)&&(Ve==="align"||Ve==="stable")&&(He=!1);var $e=i;return Gh.count(i)>1&&($e=Pa("div",{className:"".concat(a,"-content")},i)),Pa($y,ct({visible:t,ref:M,leavedClassName:"".concat(a,"-hidden")},V,{onAppearPrepare:Ae,onEnterPrepare:Ae,removeOnLeave:c,forceRender:s}),function(Le,In){var cn=Le.className,nt=Le.style,Cn=(0,Rme.default)(a,r,le,cn);return Pa(hme,{target:ye(),key:"popup",ref:O,monitorWindowResize:!0,disabled:He,align:f,onAlign:de},Pa("div",{ref:In,className:Cn,onMouseEnter:D,onMouseLeave:y,onMouseDownCapture:S,onTouchStartCapture:G,onClick:P,style:Bt(Bt({},nt),Me)},$e))})});wme.displayName="PopupInner";var Sme=wme;Wt();var Eme=Da(J_()),Cme=pc(function(e,n){var t=e.prefixCls,a=e.visible,r=e.zIndex,o=e.children,i=e.mobile;i=i===void 0?{}:i;var u=i.popupClassName,l=i.popupStyle,c=i.popupMotion,s=c===void 0?{}:c,f=i.popupRender,v=e.onClick,m=Aa();fm(n,function(){return{forceAlign:function(){},getElement:function(){return m.current}}});var _=Bt({zIndex:r},l),R=o;return Gh.count(o)>1&&(R=Pa("div",{className:"".concat(t,"-content")},o)),f&&(R=f(R)),Pa($y,ct({visible:a,ref:m,removeOnLeave:!0},s),function(D,y){var S=D.className,G=D.style,P=(0,Eme.default)(t,u,S);return Pa("div",{ref:y,className:P,onClick:v,style:Bt(Bt({},G),_)},R)})});Cme.displayName="MobilePopupInner";var Ime=Cme;var zen=["visible","mobile"],Tme=pc(function(e,n){var t=e.visible,a=e.mobile,r=vi(e,zen),o=Ff(t),i=Ba(o,2),u=i[0],l=i[1],c=Ff(!1),s=Ba(c,2),f=s[0],v=s[1],m=Bt(Bt({},r),{},{visible:u});Dr(function(){l(t),t&&a&&v(Jce())},[t,a]);var _=f?Pa(Ime,ct({},m,{mobile:a,ref:n})):Pa(Sme,ct({},m,{ref:n}));return Pa("div",null,Pa(tP,m),_)});Tme.displayName="Popup";var Fme=Tme;Wt();var $en=P8(null),PP=$en;function OP(){}function Ven(){return""}function Qen(e){return e?e.ownerDocument:window.document}var Yen=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];function Xen(e){var n=function(t){bo(r,t);var a=bg(r);function r(o){var i;Do(this,r),i=a.call(this,o),i.popupRef=UF(),i.triggerRef=UF(),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&&Rg((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();(!Rg(s,c)||i.isContextMenuOnly())&&!Rg(f,c)&&!i.hasPopupMouseDown&&i.close()}},i.getRootDomNode=function(){var l=i.props.getTriggerDOMNode;if(l)return l(i.triggerRef.current);try{var c=QE(i.triggerRef.current);if(c)return c}catch{}return _c.findDOMNode(H_(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(Bce(v,m,l,_)),R&&c.push(R(l)),c.join(" ")},i.getComponent=function(){var l=i.props,c=l.prefixCls,s=l.destroyPopupOnHide,f=l.popupClassName,v=l.onPopupAlign,m=l.popupMotion,_=l.popupAnimation,R=l.popupTransitionName,D=l.popupStyle,y=l.mask,S=l.maskAnimation,G=l.maskTransitionName,P=l.maskMotion,O=l.zIndex,M=l.popup,k=l.stretch,oe=l.alignPoint,le=l.mobile,ve=l.forceRender,X=l.onPopupClick,be=i.state,pe=be.popupVisible,De=be.point,Ne=i.getPopupAlign(),ie={};return i.isMouseEnterToShow()&&(ie.onMouseEnter=i.onPopupMouseEnter),i.isMouseLeaveToHide()&&(ie.onMouseLeave=i.onPopupMouseLeave),ie.onMouseDown=i.onPopupMouseDown,ie.onTouchStart=i.onPopupMouseDown,Pa(Fme,ct({prefixCls:c,destroyPopupOnHide:s,visible:pe,point:oe&&De,className:f,align:Ne,onAlign:v,animation:_,getClassNameFromAlign:i.getPopupClassNameFromAlign},ie,{stretch:k,getRootDomNode:i.getRootDomNode,style:D,mask:y,zIndex:O,transitionName:R,maskAnimation:S,maskTransitionName:G,maskMotion:P,ref:i.popupRef,motion:m,mobile:le,forceRender:ve,onClick:X}),typeof M=="function"?M():M)},i.attachParent=function(l){kc.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=kc(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},Yen.forEach(function(l){i["fire".concat(l)]=function(c){i.fireEvents(l,c)}}),i}return yo(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=B_(l,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(l=l||i.getDocument(this.getRootDomNode()),this.touchOutsideHandler=B_(l,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(l=l||i.getDocument(this.getRootDomNode()),this.contextMenuOutsideHandler1=B_(l,"scroll",this.onContextMenuClose)),!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=B_(window,"blur",this.onContextMenuClose));return}this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),kc.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?Hce(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=Gh.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,Mme.default)(m&&m.props&&m.props.className,f);R&&(_.className=R);var D=Bt({},_);O4(m)&&(D.ref=P4(this.triggerRef,m.ref));var y=Zw(m,D),S;return(i||this.popupRef.current||c)&&(S=Pa(e,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!i&&v&&(S=null),Pa(PP.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}(Ah);return n.contextType=PP,n.defaultProps={prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:Ven,getDocument:Qen,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 Gme=Xen(Uce);var Os={adjustX:1,adjustY:1},ks=[0,0],Ame={left:{points:["cr","cl"],overflow:Os,offset:[-4,0],targetOffset:ks},right:{points:["cl","cr"],overflow:Os,offset:[4,0],targetOffset:ks},top:{points:["bc","tc"],overflow:Os,offset:[0,-4],targetOffset:ks},bottom:{points:["tc","bc"],overflow:Os,offset:[0,4],targetOffset:ks},topLeft:{points:["bl","tl"],overflow:Os,offset:[0,-4],targetOffset:ks},leftTop:{points:["tr","tl"],overflow:Os,offset:[-4,0],targetOffset:ks},topRight:{points:["br","tr"],overflow:Os,offset:[0,-4],targetOffset:ks},rightTop:{points:["tl","tr"],overflow:Os,offset:[4,0],targetOffset:ks},bottomRight:{points:["tr","br"],overflow:Os,offset:[0,4],targetOffset:ks},rightBottom:{points:["bl","br"],overflow:Os,offset:[4,0],targetOffset:ks},bottomLeft:{points:["tl","bl"],overflow:Os,offset:[0,4],targetOffset:ks},leftBottom:{points:["br","bl"],overflow:Os,offset:[-4,0],targetOffset:ks}};Wt();var xme=Da(J_());function p3(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 Pa("div",{className:(0,xme.default)("".concat(r,"-content"),u),style:l},n!==!1&&Pa("div",{className:"".concat(r,"-arrow"),key:"arrow"},t),Pa("div",{className:"".concat(r,"-inner"),id:o,role:"tooltip",style:i},typeof a=="function"?a():a))}var Zen=function(n,t){var a=n.overlayClassName,r=n.trigger,o=r===void 0?["hover"]:r,i=n.mouseEnterDelay,u=i===void 0?0:i,l=n.mouseLeaveDelay,c=l===void 0?.1:l,s=n.overlayStyle,f=n.prefixCls,v=f===void 0?"rc-tooltip":f,m=n.children,_=n.onVisibleChange,R=n.afterVisibleChange,D=n.transitionName,y=n.animation,S=n.motion,G=n.placement,P=G===void 0?"right":G,O=n.align,M=O===void 0?{}:O,k=n.destroyTooltipOnHide,oe=k===void 0?!1:k,le=n.defaultVisible,ve=n.getTooltipContainer,X=n.overlayInnerStyle,be=n.arrowContent,pe=n.overlay,De=n.id,Ne=n.showArrow,ie=vi(n,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"]),jn=Aa(null);fm(t,function(){return jn.current});var Ve=Bt({},ie);"visible"in n&&(Ve.popupVisible=n.visible);var Pn=function(){return Pa(p3,{showArrow:Ne,arrowContent:be,key:"content",prefixCls:v,id:De,overlayInnerStyle:X},pe)},On=!1,q=!1;if(typeof oe=="boolean")On=oe;else if(oe&&go(oe)==="object"){var x=oe.keepParent;On=x===!0,q=x===!1}return Pa(Gme,ct({popupClassName:a,prefixCls:v,popup:Pn,action:o,builtinPlacements:Ame,popupPlacement:P,ref:jn,popupAlign:M,getPopupContainer:ve,onPopupVisibleChange:_,afterPopupVisibleChange:R,popupTransitionName:D,popupAnimation:y,popupMotion:S,defaultPopupVisible:le,destroyPopupOnHide:On,autoDestroy:q,mouseLeaveDelay:c,popupStyle:s,mouseEnterDelay:u},Ve),m)},Lme=pc(Zen);var jme=Lme;var Pme=e=>Et.createElement(jme,Object.assign({},e,{overlayClassName:`cv-tooltip ${e.overlayClassName}`,getTooltipContainer:e.tooltipContainerSelector?()=>document.querySelector(e.tooltipContainerSelector)||document.body:void 0}));if(typeof window!="undefined"&&typeof global=="undefined")try{Promise.resolve().then(()=>Da(Nme())).then(e=>{let n=e.default,t=document.createElement("style");t.type="text/css",t.appendChild(document.createTextNode(n)),document.head.appendChild(t)})}catch(e){window.Sentry&&window.Sentry.captureException(e)}Wt();var Ome=class extends Et.Component{componentDidUpdate(n){this.props.componentDidUpdate(n.deps)}render(){return this.props.children}},kme=Ome;var enn=qa();var Ume=function(e){return"ref:"+Tr(e)(At.value)},Hme=function(e){var n=Ume(e);return function(t){return enn(ic(n)(t))}},Bme=function(e){var n=Ume(e);return function(t){return Iw(n)(t)}};var nnn=dc(),Jme=Bn(Mn)(qt),Wme=z(_t),tnn=j1(Lne(m1)),qme={reflectSymbol:function(){return"deps"}},ann=Hme(qme),rnn=Bme(qme),zme=Qe(Xe);var onn=function(e){var n=nnn(e);return function(){return function(){return n(kme)}}},inn=onn(ae)()(),$me=function(e){var n=mf(e);return function(t){return function(a){return function(r){return function(o){return y1(t)(function(i){return a({init:Jme(fr(o(r)))(function(){return Wme(r)}),update:function(u){return function(l){return Jme(fr(o(l)))(function(){return Wme(l)})}},view:function(u){return function(l){return inn({componentDidUpdate:tnn(l)(function(c){var s=n(ann(c))(r);return s?new d(r):C.value}),deps:rnn(r)})(i(Ce))}}})})}}}}},unn=$me(ZR),_C=function(e){var n=$me(e);return function(t){return function(a){return n("UseEffectPrime")(zme)(t)(a)}}},kP=function(e){return unn("UseEffect")(zme)(Ce)(rn(e))};function Vme(e){return function(n){return function(){return n.getItem(e)}}}function ab(e){return function(n){return function(t){return function(){t.setItem(e,n)}}}}var lnn=j(ut);var _3=function(e){var n=lnn(ee),t=Vme(e);return function(a){return n(t(a))}};var cnn=li(),snn=Yv(Mn)(),fnn=Jn(at),rb=pt($a),vnn=function(e){return function(n){return function(t){return cnn(fa(C.value))(function(a){return snn(kP(fnn(function(){var o=rb(_3(n))(rb(e)(vo))();if(o instanceof d)return a.value1(new d(o.value0))();if(o instanceof C)return a.value1(new d(t))(),rb(ab(n)(t))(rb(e)(vo))();throw new Error("Failed pattern match at Utils.UseStorage (line 37, column 5 - line 42, column 56): "+[o.constructor.name])})))(function(){return ui(new Ue(a.value0,function(r){return function(){return a.value1(new d(r))(),rb(ab(n)(r))(rb(e)(vo))()}}))})})}}};var d3=vnn(B1);var mnn=dc();var Qme="hover",z_="click";var Us="top",mi=function(e){var n=mnn(e);return function(){return function(){return n(Pme)}}};var Yme="right";var Xme="bottomRight";var dC="bottom";var Zme=e=>()=>e.preventDefault&&e.preventDefault(),Kme=e=>()=>e.stopPropagation&&e.stopPropagation();var UP=function(){return Kme},lv=function(){return Zme};var pnn=Qn();var HP=K(xe),BP=wt(pnn(E({reflectSymbol:function(){return"value"}})(ue)(he))),JP=z(Un);var Hs=function(e){return Ee("")(HP(BP(Gr(e.target)))(function(n){return JP(n.value)}))},epe=function(e){return Ee("")(HP(BP(Gr(e.target)))(function(n){return JP(n.value)}))},Bs=function(e){return Ee("")(HP(BP(Gr(e.target)))(function(n){return JP(n.value)}))};var npe="/network/connections";var tpe=15;var _nn=mi(ae)()(),dnn=en(W),hnn=function(){return"You\u2019ve hit the "+(re(ze)(tpe)+`-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. `)}(),gnn=Ca(ae)("text-decoration-underline")(ca(L)()()("text-dark")({href:npe})("Manage my connections")),hC=function(e){return function(n){return _nn({placement:e,trigger:z_,overlay:dnn("")([Y(hnn),gnn]),overlayStyle:fn({width:"15rem"}),overlayClassName:"t--connection-limit-tooltip"})(n)}};var Dnn=Or(Te)(vt),ape=re(ze),ynn=oa(Te)(vt),bnn=en(L);var rpe=25,WP=function(e){return Yr(e)>=rpe},ope=function(e){var n=Yr(e),t=n>0,a=Dnn(" ")([function(){return t?ape(n)+" characters":""}(),ynn(["(",ape(rpe),function(){return t?"":" character"}()," minimum)"])]),r=function(){var o=WP(e);return o?"text-success":""}();return bnn(r)(a)};var Rnn=function(){function e(){}return e.value=new e,e}(),qP=function(){function e(){}return e.value=new e,e}(),wnn=function(){function e(){}return e.value=new e,e}(),Snn=function(){function e(){}return e.value=new e,e}(),Enn=function(){function e(){}return e.value=new e,e}(),h3=function(){function e(){}return e.value=new e,e}(),gC=function(){function e(){}return e.value=new e,e}(),zP=function(){function e(){}return e.value=new e,e}(),$P=function(){function e(){}return e.value=new e,e}();var ipe=function(e){if(e instanceof Rnn)return"sheet-view";if(e instanceof qP)return"school-details";if(e instanceof wnn)return"network-gallery";if(e instanceof Snn)return"livestream-details";if(e instanceof Enn)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 Inn=Number.MAX_SAFE_INTEGER;var QP=function(e){if(e.first==="")return e.last;if(e.last==="")return e.first;if(je)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 Bnn=_e(yie);var lpe=function(e){return Bnn(e.publishScope)(d0.value)};var $nn=Lr(Lo),fpe=to($nn),vpe=K(Pt);var mpe=fpe("profile_visibility_path")(function(e){return function(n){return vpe(e({visibility:{publish_scope:MG(n)}}))(Mu)}});var ppe=fpe("profile_name_path")(function(e){return function(n){return vpe(e({name:n}))(Mu)}});var rt=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 Vnn=$m(),Qnn=Ct(L),Ynn=Kn(L),YP=Vn(L),XP=Er(L),$_=B(W),ob=Xn(L)()(),ZP=la(vr),Xnn=Bn(Mn),KP=An(dt),Cg=B(ae),_pe=js()(),Znn=Lc(L),Knn=oa(Te)(vt),dpe=Vo()(),eO=An(no),etn=Nl()(),hpe=B(L),ntn=zf(W),nO=ul(L),ttn=en(L),atn=mi(ae)()(),rtn=Vn(W),otn=ca(L)()(),itn=ta(L),Ig=z(_t),gpe=Xnn(qt),utn=GE(),DC=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),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(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Rpe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),wpe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),yC=function(){function e(){}return e.value=new e,e}(),tO=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Spe=function(e){return function(n){var t=function(c){return Vnn({body:c,title:Qnn("my-0")(function(){return e.stage instanceof h3?"Join the CollegeVine network":"Connect with "+e.schoolName}()),headerClass:"pb-0",onDismiss:n(new Qt(yC.value)),size:SE.value})},a=ipe(e.context),r=ce([Ynn("mt-3")("Review your message before you send it"),YP("mt-2")(` Because this is your first message to the counselor, we want to make sure you\u2019re ready to send. `),XP("mt-4")("Your message"),PS(e.message),$_("d-flex mt-4 justify-content-start")([ob("btn btn-primary btn-lg t--sem-user-connection-modal-confirm-message-"+a)({onClick:ZP(function(){return n(new Qt(new tO({introMessage:e.message})))(),n(new rt(new DC($P.value)))()})})("Send"),ob("btn btn-lg btn-outline-primary ml-3 text-nowrap")({onClick:KP(n)(new rt(new DC(gC.value)))})("No, I need to edit something")])]),o=ce([$_("text-center")([Cg("")(_pe("mt-4")({src:"/img/checkmate-icon.png",height:"80",width:"80"})),Znn("mt-4")("Connection request sent!"),YP("mx-md-4")(Knn(["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."])),ob("btn btn-lg btn-outline-secondary mt-4")({onClick:KP(n)(new Qt(yC.value))})("Close")])]),i=ob("btn btn-outline-secondary ml-3 t--sem-user-connection-modal-close-"+a)({onClick:KP(n)(new Qt(yC.value))})("Cancel"),u=function(){var c=WP(e.message)&&function(){if(e.profile.fullName instanceof d)return!0;if(e.profile.fullName instanceof C)return!Ci(e.firstName)&&!Ci(e.lastName);throw new Error("Failed pattern match at Network.SemVine.InviteSchoolModal (line 238, column 15 - line 242, column 88): "+[e.profile.fullName.constructor.name])}(),s=function(){if(e.vineBelowConnectionLimit instanceof d&&e.vineBelowConnectionLimit.value0)return!1;if(e.vineBelowConnectionLimit instanceof d&&!e.vineBelowConnectionLimit.value0)return!0;if(e.vineBelowConnectionLimit instanceof C)return!1;throw new Error("Failed pattern match at Network.SemVine.InviteSchoolModal (line 231, column 13 - line 234, column 31): "+[e.vineBelowConnectionLimit.constructor.name])}();return ce([En(cr(e.profile.fullName))(ce([XP("mt-md-4")("Your preferred name"),$_("form-row mx-1")([dpe("col form-control mr-2 t--sem-user-connection-modal-first-name-"+a)({type:"text",value:e.firstName,onChange:eO(n)(function(f){return rt.create(Rpe.create(Bs(f)))}),placeholder:"First name"}),dpe("col form-control ml-2 t--sem-user-connection-modal-last-name-"+a)({type:"text",value:e.lastName,onChange:eO(n)(function(f){return rt.create(wpe.create(Bs(f)))}),placeholder:"Last name"})])])),XP("mt-md-4")("Your message"),etn("form-control t--sem-user-connection-modal-text-area-"+a)({rows:7,value:e.message,onChange:eO(n)(function(f){return rt.create(bpe.create(Hs(f)))}),placeholder:`Sample introductory message: Hi Jane, My name is Sam and I\u2019m a senior at Oak Ridge High School in Oak Ridge, MD. I\u2019m really excited to apply for CV University this fall, and I\u2019m hoping to study history there. Are there any upcoming virtual events I can register for? I\u2019m excited to stay in touch and learn more about your school. Thanks! `}),Cg("mt-2")(ope(e.message)),hpe("mt-3 mt-md-4 small")("The ideal connection message should include:"),ntn("small")([nO("")("Your name, where you\u2019re from, and a bit about who you are"),nO("")("What you\u2019re interested in studying along with one or two insightful questions"),nO("")("That you\u2019re eager to connect with an admissions counselor and would love to stay in touch")]),$_("d-flex mt-4 justify-content-start")([hC(Us)(Cg("")(ob("btn btn-primary btn-lg t--sem-user-connection-modal-connect-"+a)({onClick:ZP(function(){return function(){if(e.profile.fullName instanceof d)return Ce;if(e.profile.fullName instanceof C)return n(new rt(new ype({first:e.firstName,last:e.lastName})))();throw new Error("Failed pattern match at Network.SemVine.InviteSchoolModal (line 214, column 23 - line 218, column 113): "+[e.profile.fullName.constructor.name])}(),n(new rt(new DC(zP.value)))()}),disabled:!c||s,style:fn({pointerEvents:function(){return s?"none":"auto"}()})})("Connect"))),i])])}(),l=$_("mx-md-7")([Cg("border border-success rounded p-4 my-4")($_("row align-items-center")([Cg("col-12 col-md-auto text-center text-md-left")(_pe("img-fluid")({src:"/img/network/publish-profile-icon.png",height:"67",width:"143"})),Cg("col text-center text-md-left")(ttn("fw-bold font-weight-bold text-gray-800")("Network with verified admissions counselors on CollegeVine"))])),$_("d-flex flex-nowrap align-items-center")([hpe("mr-4")("Publish your profile to join the CollegeVine Network"),atn({placement:Yme,overlay:rtn("")([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 `),otn("")({href:Ym})("your profile"),Y(".")]),overlayStyle:fn({width:"15rem"})})(itn("cursor-default text-secondary fe fe-info large")(""))]),YP("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."),$_("d-flex mt-4 justify-content-start justify-content-md-center")([ob("btn btn-primary t--sem-user-connection-modal-publish-profile-"+a)({onClick:ZP(function(){return n(new rt(Dpe.value))(),n(new rt(new DC(gC.value)))()})})("Publish profile"),i])]);return Cg("t--network-sem-user-modal")(function(){if(e.stage instanceof h3)return t(l);if(e.stage instanceof gC)return t(u);if(e.stage instanceof zP)return t(r);if(e.stage instanceof $P)return t(o);throw new Error("Failed pattern match at Network.SemVine.InviteSchoolModal (line 96, column 5 - line 100, column 38): "+[e.stage.constructor.name])}())}},Epe=function(e){return function(n){if(n instanceof rt){if(n.value0 instanceof DC)return Ig({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 Dpe)return gpe(fr(mpe(d0.value)))(function(){return Ig({context:e.context,firstName:e.firstName,lastName:e.lastName,message:e.message,schoolName:e.schoolName,stage:e.stage,vineBelowConnectionLimit:e.vineBelowConnectionLimit,profile:{fullName:e.profile.fullName,publishScope:d0.value}})});if(n.value0 instanceof ype)return gpe(fr(ppe(n.value0.value0)))(function(){return Ig({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(QP(n.value0.value0))}})});if(n.value0 instanceof bpe)return Ig({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 Rpe)return Ig({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 wpe)return Ig({context:e.context,firstName:e.firstName,message:e.message,profile:e.profile,schoolName:e.schoolName,stage:e.stage,vineBelowConnectionLimit:e.vineBelowConnectionLimit,lastName:n.value0.value0});throw new Error("Failed pattern match at Network.SemVine.InviteSchoolModal (line 75, column 31 - line 89, column 39): "+[n.value0.constructor.name])}if(n instanceof Qt)return Ig(e);throw new Error("Failed pattern match at Network.SemVine.InviteSchoolModal (line 74, column 1 - line 74, column 55): "+[e.constructor.name,n.constructor.name])}},ltn=function(e){var n=lpe(e);return n?gC.value:h3.value},Cpe=function(e){return{firstName:"",lastName:"",message:"",profile:utn(e.profile),stage:ltn(e.profile),schoolName:e.schoolName,context:e.context,vineBelowConnectionLimit:e.vineBelowConnectionLimit}};var aO="support@collegevine.com";var g3="https://www.collegevine.com/admissions-calculator";var rO=function(){return li()(fa(C.value))(function(e){return ui(new Ue(e.value0,pS(e.value0)(e.value1)))})}();var Ipe=Dn(gn),Tpe=_n(pn),Fpe=Rn(bn),Ka=function(){function e(){}return e.value=new e,e}(),Qa=function(){function e(){}return e.value=new e,e}(),ctn={to:function(e){if(e instanceof H)return Ka.value;if(e instanceof p)return Qa.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 Ka)return new H(fe.value);if(e instanceof Qa)return new p(fe.value);throw new Error("Failed pattern match at Utils.Expandable (line 26, column 1 - line 26, column 32): "+[e.constructor.name])}},V_={eq:function(e){return function(n){return e instanceof Ka&&n instanceof Ka||e instanceof Qa&&n instanceof Qa}}};var w0=function(e){if(e instanceof Ka)return Qa.value;if(e instanceof Qa)return Ka.value;throw new Error("Failed pattern match at Utils.Expandable (line 30, column 10 - line 32, column 24): "+[e.constructor.name])};var oO=function(e){if(e instanceof Ka)return"Expanded";if(e instanceof Qa)return"Collapsed";throw new Error("Failed pattern match at Utils.Expandable (line 35, column 10 - line 37, column 27): "+[e.constructor.name])},Mpe=Gn(oO)(wn(ctn)(hn(Ipe)(mn(vn))(Ipe)(Tpe))(yn(Fpe)(Fpe))(dn(Tpe)));function Gpe(e){return function(n){return function(){return e.item(n)}}}var stn=j(ut),Ape=function(e){var n=stn(ee),t=Gpe(e);return function(a){return n(t(a))}};var ftn=Z(ut),vtn=Ye(sa),iO=z(Kt),mtn=Z(J),ptn=oa(Te)(vt),_tn=j(ut),dtn=pt($a),htn=Ea(),xpe=li(),gtn=Yv(Mn)(),Dtn=z(na),ytn=Jn(at),btn=nF(Ov),Rtn=j(J),wtn=Yn(W)()(),D3=_e(V_),Stn=j1(r2(m1)),Etn=Ls(ae)()(),Ctn=An(dt),Lpe=re(rw),jpe=function(){function e(){}return e.value=new e,e}(),Npe=function(){function e(){}return e.value=new e,e}(),Ppe=function(){return function(e){return function(n){var t=function(i){var u=function(c){return function(s){return function(){var v=Ape(c)(s)();if(v instanceof d)return ftn(u(c)(s+1|0))(function(m){return vtn([v.value0])(m)})();if(v instanceof C)return[];throw new Error("Failed pattern match at Component.Dropdown (line 187, column 45 - line 189, column 31): "+[v.constructor.name])}}},l=mtn(Qoe(i))(function(c){return function(){var f=Zj(c)(),v=u(f)(0)();return ptn(v)}});return _tn(fs("-menu"))(Ee(iO(""))(l))},a=function(i){return function(u){if(i instanceof C||u instanceof C)return iO(!1);if(i instanceof d&&u instanceof d)return function(){var c=eN(i.value0)(u.value0)(),s=t(u.value0)();return c||s?!0:dtn(a(new d(i.value0)))(Xoe(u.value0))()};throw new Error("Failed pattern match at Component.Dropdown (line 163, column 5 - line 163, column 42): "+[i.constructor.name,u.constructor.name])}},r=htn(n),o=kn(r.alignment)(jpe.value);return Tu(xpe(fa(Qa.value))(function(i){return xpe(rO)(function(u){return gtn(lG(ME.mouseup)(function(l){if(i.value0 instanceof Qa)return Dtn(Ce);if(i.value0 instanceof Ka)return ytn(btn(a(Rtn(Jne)(u.value0))(new d(FG(l.target))))(i.value1(Qa.value)));throw new Error("Failed pattern match at Component.Dropdown (line 123, column 5 - line 129, column 29): "+[i.value0.constructor.name])}))(function(){return ui(wtn("dropdown "+(e+function(){var l=D3(i.value0)(Ka.value);return l?" show":""}()))({onClick:Stn(i.value1)(function(){var l=r.closeOnClick&&D3(i.value0)(Ka.value);return l?new d(Qa.value):C.value}()),ref:u.value1})([Etn(r.toggleClass)(r.ariaLabelInput)({onClick:Ctn(i.value1)(w0(i.value0)),"aria-expanded":Lpe(D3(i.value0)(Ka.value)),role:"combobox","aria-haspopup":"listbox","aria-controls":r.contentId})(r.toggleContent),r.content({visible:D3(i.value0)(Ka.value),className:"dropdown-menu show"+function(){if(o instanceof jpe)return"";if(o instanceof Npe)return" dropdown-menu-right";throw new Error("Failed pattern match at Component.Dropdown (line 146, column 46 - line 148, column 51): "+[o.constructor.name])}(),closeDropdown:i.value1(Qa.value),contentId:r.contentId,role:"listbox",roleSelectOption:"option",ariaSelected:Lpe})]))})})}))}}},Itn=Ppe(),y3=function(e){return function(n){return Itn(e)({contentId:n.contentId,toggleClass:n.toggleClass+" dropdown-toggle",toggleContent:n.toggleContent,content:function(t){return t.visible?n.content({className:t.className,contentId:t.contentId,role:t.role,roleSelectOption:t.roleSelectOption,ariaSelected:t.ariaSelected}):nn},closeOnClick:!0,ariaLabelInput:n.ariaLabelInput})}};Wt();var cv={PRIMARY:"#008CFD",SECONDARY:"#6E84A3",WHITE:"#FFF",GRAY_300:"#E3EBF6"};var wC=Da(Wpe()),qpe=4,ran=({trackColor:e,background:n})=>({props:t,children:a})=>Et.createElement("div",Object.assign({},t,{style:Object.assign({},t.style,{height:`${qpe}px`,borderRadius:`${qpe*2}px`,background:n||e})}),...a),oan=({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?cv.SECONDARY:cv.WHITE,stroke:cv.SECONDARY}),Et.createElement("path",{stroke:t?cv.WHITE:cv.SECONDARY,d:e?"M7.5 6L7.5 12":"M6 7.5L12 7.5"}),Et.createElement("path",{stroke:t?cv.WHITE:cv.SECONDARY,d:e?"M10.5 6L10.5 12":"M6 10.5L12 10.5"})),zpe=e=>Et.createElement("div",{"aria-label":e.ariaLabel},Et.createElement(wC.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:ran({trackColor:e.trackColor||cv.GRAY_300,background:e.fillBefore?(0,wC.getTrackBackground)({values:[e.value],colors:[cv.PRIMARY,cv.GRAY_300],min:e.min,max:e.max,"aria-valuemax":e.max,"aria-valuemin":e.min,"aria-valuenow":e.value}):void 0}),renderThumb:oan({horizontal:!0})}));var ian=gs(),$pe={CanPassToJavaScript0:function(){},CanReceiveFromJavaScript1:function(){return Mt}};var Vpe=function(e){return function(){return function(){return ian(zpe)}}};var Qpe=function(e){return function(n){return cr(n(e))}};var uan=Ea(),lan=mi(ae)()(),can=en(W),san=ta(L),fan=function(e){var n=kh(e);return function(){return function(t){return function(a){var r=uan(t);return lan({placement:Us,overlay:ce(n(a)),overlayStyle:kn(r.overlayStyle)(fn({width:"15rem"}))})(can("d-inline-flex align-items-center text-secondary "+r.className)([san("d-inline-block fe fe-help-circle "+function(){var o=r.anchorText==="";return o?"":"mr-2"}())(""),Y(r.anchorText)]))}}}},du=function(e){var n=fan(e)();return function(t){return n({className:t,anchorText:""})}};Wt();function cO(e){if(Array.isArray(e))return zy(e)}function sO(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function fO(){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 Fg(e){return cO(e)||sO(e)||YE(e)||fO()}var MDe=Da(hs());var Ype=Number.isNaN||function(n){return typeof n=="number"&&n!==n};function van(e,n){return!!(e===n||Ype(e)&&Ype(n))}function man(e,n){if(e.length!==n.length)return!1;for(var t=0;tHe)&&(Fn=(sn=sn.replace(" ",":")).length),0ye&&(ye=(ne=ne.trim()).charCodeAt(0)),ye){case 38:return ne.replace(y,"$1"+x.trim());case 58:return x.trim()+ne.replace(y,"$1"+x.trim());default:if(0<1*me&&0V.charCodeAt(8))break;case 115:U=U.replace(V,"-webkit-"+V)+";"+U;break;case 207:case 102:U=U.replace(V,"-webkit-"+(102me.charCodeAt(0)&&(me=me.trim()),q=me,me=[q],0=4;++a,r-=4)t=e.charCodeAt(a)&255|(e.charCodeAt(++a)&255)<<8|(e.charCodeAt(++a)&255)<<16|(e.charCodeAt(++a)&255)<<24,t=(t&65535)*1540483477+((t>>>16)*59797<<16),t^=t>>>24,n=(t&65535)*1540483477+((t>>>16)*59797<<16)^(n&65535)*1540483477+((n>>>16)*59797<<16);switch(r){case 3:n^=(e.charCodeAt(a+2)&255)<<16;case 2:n^=(e.charCodeAt(a+1)&255)<<8;case 1:n^=e.charCodeAt(a)&255,n=(n&65535)*1540483477+((n>>>16)*59797<<16)}return n^=n>>>13,n=(n&65535)*1540483477+((n>>>16)*59797<<16),((n^n>>>15)>>>0).toString(36)}var Zpe=wan;var San={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},Kpe=San;function Ean(e){var n={};return function(t){return n[t]===void 0&&(n[t]=e(t)),n[t]}}var e_e=Ean;var Can=/[A-Z]|^ms/g,Ian=/_EMO_([^_]+?)_([^]*?)_EMO_/g,n_e=function(n){return n.charCodeAt(1)===45},t_e=function(n){return n!=null&&typeof n!="boolean"},dO=e_e(function(e){return n_e(e)?e:e.replace(Can,"-$&").toLowerCase()}),a_e=function(n,t){switch(n){case"animation":case"animationName":if(typeof t=="string")return t.replace(Ian,function(a,r,o){return S0={name:r,styles:o,next:S0},r})}return Kpe[n]!==1&&!n_e(n)&&typeof t=="number"&&t!==0?t+"px":t};function SC(e,n,t,a){if(t==null)return"";if(t.__emotion_styles!==void 0)return t;switch(typeof t){case"boolean":return"";case"object":{if(t.anim===1)return S0={name:t.name,styles:t.styles,next:S0},t.name;if(t.styles!==void 0){var r=t.next;if(r!==void 0)for(;r!==void 0;)S0={name:r.name,styles:r.styles,next:S0},r=r.next;var o=t.styles+";";return o}return Tan(e,n,t)}case"function":{if(e!==void 0){var i=S0,u=t(e);return S0=i,SC(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 Tan(e,n,t){var a="";if(Array.isArray(t))for(var r=0;r-1}function Dge(e){return BA(e)?window.pageYOffset:e.scrollTop}function JA(e,n){if(BA(e)){window.scrollTo(0,n);return}e.scrollTop=n}function Oon(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 kon(e,n,t,a){return t*((e=e/a-1)*e*e+1)+n}function WA(e,n){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:AU,r=Dge(e),o=n-r,i=10,u=0;function l(){u+=i;var c=kon(u,r,o,t);JA(e,c),ut.bottom?JA(e,Math.min(n.offsetTop+n.clientHeight-e.offsetHeight+r,e.scrollHeight)):a.top-r=R)return{placement:"bottom",maxHeight:n};if(ve>=R&&!i)return o&&WA(c,X,pe),{placement:"bottom",maxHeight:n};if(!i&&ve>=a||i&&oe>=a){o&&WA(c,X,pe);var De=i?oe-O:ve-O;return{placement:"bottom",maxHeight:De}}if(r==="auto"||i){var Ne=n,ie=i?k:le;return ie>=a&&(Ne=Math.min(ie-O-l.controlHeight,n)),{placement:"top",maxHeight:Ne}}if(r==="bottom")return JA(c,X),{placement:"bottom",maxHeight:n};break;case"top":if(k>=R)return{placement:"top",maxHeight:n};if(le>=R&&!i)return o&&WA(c,be,pe),{placement:"top",maxHeight:n};if(!i&&le>=a||i&&k>=a){var jn=n;return(!i&&le>=a||i&&k>=a)&&(jn=i?k-M:le-M),o&&WA(c,be,pe),{placement:"top",maxHeight:jn}}return{placement:"bottom",maxHeight:n};default:throw new Error('Invalid placement provided "'.concat(r,'".'))}return s}function Jon(e){var n={bottom:"top",top:"bottom"};return e?n[e]:"bottom"}var LU=function(n){return n==="auto"?"bottom":n},Ege=function(n){var t,a=n.placement,r=n.theme,o=r.borderRadius,i=r.spacing,u=r.colors;return t={label:"menu"},Ma(t,Jon(a),"100%"),Ma(t,"backgroundColor",u.neutral0),Ma(t,"borderRadius",o),Ma(t,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),Ma(t,"marginBottom",i.menuGutter),Ma(t,"marginTop",i.menuGutter),Ma(t,"position","absolute"),Ma(t,"width","100%"),Ma(t,"zIndex",1),t},Cge=(0,EI.createContext)({getPortalPlacement:null}),jU=function(e){bo(t,e);var n=Sge(t);function t(){var a;Do(this,t);for(var r=arguments.length,o=new Array(r),i=0;i-1}};var yin={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;"},bin=function(n){return Jt("span",ct({css:yin},n))};function Rin(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=vi(e,["in","out","onExited","appear","enter","exit","innerRef","emotion"]);return Jt("input",ct({ref:u},c,{css:Mg({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 win(e){var n=Sin();return function(){var a=or(e),r;if(n){var o=or(this).constructor;r=Reflect.construct(a,arguments,o)}else r=a.apply(this,arguments);return Xi(this,r)}}function Sin(){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 gDe=function(e){bo(t,e);var n=win(t);function t(){return Do(this,t),n.apply(this,arguments)}return yo(t,[{key:"componentDidMount",value:function(){this.props.innerRef((0,mDe.findDOMNode)(this))}},{key:"componentWillUnmount",value:function(){this.props.innerRef(null)}},{key:"render",value:function(){return this.props.children}}]),t}(_a.Component),DDe=["boxSizing","height","overflow","paddingRight","position"],yDe={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function bDe(e){e.preventDefault()}function RDe(e){e.stopPropagation()}function wDe(){var e=this.scrollTop,n=this.scrollHeight,t=e+this.offsetHeight;e===0?this.scrollTop=1:t===n&&(this.scrollTop=e-1)}function SDe(){return"ontouchstart"in window||navigator.maxTouchPoints}function Ein(e){var n=Cin();return function(){var a=or(e),r;if(n){var o=or(this).constructor;r=Reflect.construct(a,arguments,o)}else r=a.apply(this,arguments);return Xi(this,r)}}function Cin(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var EDe=!!(window.document&&window.document.createElement),CI=0,CDe=function(e){bo(t,e);var n=Ein(t);function t(){var a;Do(this,t);for(var r=arguments.length,o=new Array(r),i=0;i0,P=D-y-R,O=!1;P>l&&a.isBottom&&(f&&f(u),a.isBottom=!1),G&&a.isTop&&(m&&m(u),a.isTop=!1),G&&l>P?(s&&!a.isBottom&&s(u),S.scrollTop=D,O=!0,a.isBottom=!0):!G&&-l>R&&(v&&!a.isTop&&v(u),S.scrollTop=0,O=!0,a.isTop=!0),O&&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 yo(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 _a.default.createElement(gDe,{innerRef:this.getScrollTarget},this.props.children)}}]),t}(_a.Component);function Lin(e){var n=e.isEnabled,t=n===void 0?!0:n,a=vi(e,["isEnabled"]);return t?_a.default.createElement(xin,a):a.children}var jin=function(n){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=t.isSearchable,r=t.isMulti,o=t.label,i=t.isDisabled,u=t.tabSelectsValue;switch(n){case"menu":return"Use Up and Down to choose options".concat(i?"":", press Enter to select the currently focused option",", press Escape to exit the menu").concat(u?", press Tab to select the option and exit the menu":"",".");case"input":return"".concat(o||"Select"," is focused ").concat(a?",type to refine list":"",", press Down to open the menu, ").concat(r?" press left to focus selected values":"");case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value"}},Nin=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.")}},Pin=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,".")},Oin=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,".")},kin=function(n){var t=n.inputValue,a=n.screenReaderMessage;return"".concat(a).concat(t?" for search term "+t:"",".")},Uin=function(n){return n.label},Hin=function(n){return n.label},Bin=function(n){return n.value},IDe=function(n){return!!n.isDisabled};var Jin={clearIndicator:qge,container:Pge,control:Qge,dropdownIndicator:Wge,group:Xge,groupHeading:Zge,indicatorsContainer:kge,indicatorSeparator:zge,input:eDe,loadingIndicator:$ge,loadingMessage:Mge,menu:Ege,menuList:Ige,menuPortal:xge,multiValue:tDe,multiValueLabel:aDe,multiValueRemove:rDe,noOptionsMessage:Fge,option:uDe,placeholder:lDe,singleValue:cDe,valueContainer:Oge};var Win={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%)"},qin=4,TDe=4,zin=38,$in=TDe*2,Vin={baseUnit:TDe,controlHeight:zin,menuGutter:$in},HU={borderRadius:qin,colors:Win,spacing:Vin};function FDe(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 Ub(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(Fg(v),[l]),"select-option",l),r.announceAriaLiveSelection({event:"select-option",context:{value:r.getOptionLabel(l)}}));else r.isOptionDisabled(l,v)?r.announceAriaLiveSelection({event:"select-option",context:{value:r.getOptionLabel(l),isDisabled:!0}}):(r.setValue(l,"select-option"),r.announceAriaLiveSelection({event:"select-option",context:{value:r.getOptionLabel(l)}}));s&&r.blurInput()},r.removeValue=function(l){var c=r.state.selectValue,s=r.getOptionValue(l),f=c.filter(function(v){return r.getOptionValue(v)!==s});r.onChange(f.length?f:null,{action:"remove-value",removedValue:l}),r.announceAriaLiveSelection({event:"remove-value",context:{value:l?r.getOptionLabel(l):""}}),r.focusInput()},r.clearValue=function(){r.onChange(null,{action:"clear"})},r.popValue=function(){var l=r.state.selectValue,c=l[l.length-1],s=l.slice(0,l.length-1);r.announceAriaLiveSelection({event:"pop-value",context:{value:c?r.getOptionLabel(c):""}}),r.onChange(s.length?s:null,{action:"pop-value",removedValue:c})},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var l=arguments.length,c=new Array(l),s=0;sm||v>m}},r.onTouchEnd=function(l){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(l.target)&&r.menuListRef&&!r.menuListRef.contains(l.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(l){r.userIsDragging||r.onControlMouseDown(l)},r.onClearIndicatorTouchEnd=function(l){r.userIsDragging||r.onClearIndicatorMouseDown(l)},r.onDropdownIndicatorTouchEnd=function(l){r.userIsDragging||r.onDropdownIndicatorMouseDown(l)},r.handleInputChange=function(l){var c=l.currentTarget.value;r.inputIsHiddenAfterUpdate=!1,r.onInputChange(c,{action:"input-change"}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(l){var c=r.props,s=c.isSearchable,f=c.isMulti;r.props.onFocus&&r.props.onFocus(l),r.inputIsHiddenAfterUpdate=!1,r.announceAriaLiveContext({event:"input",context:{isSearchable:s,isMulti:f}}),r.setState({isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(l){if(r.menuListRef&&r.menuListRef.contains(document.activeElement)){r.inputRef.focus();return}r.props.onBlur&&r.props.onBlur(l),r.onInputChange("",{action:"input-blur"}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1})},r.onOptionHover=function(l){r.blockOptionHover||r.state.focusedOption===l||r.setState({focusedOption:l})},r.shouldHideSelectedOptions=function(){var l=r.props,c=l.hideSelectedOptions,s=l.isMulti;return c===void 0?s:c},r.onKeyDown=function(l){var c=r.props,s=c.isMulti,f=c.backspaceRemovesValue,v=c.escapeClearsValue,m=c.inputValue,_=c.isClearable,R=c.isDisabled,D=c.menuIsOpen,y=c.onKeyDown,S=c.tabSelectsValue,G=c.openMenuOnFocus,P=r.state,O=P.focusedOption,M=P.focusedValue,k=P.selectValue;if(!R&&!(typeof y=="function"&&(y(l),l.defaultPrevented))){switch(r.blockOptionHover=!0,l.key){case"ArrowLeft":if(!s||m)return;r.focusValue("previous");break;case"ArrowRight":if(!s||m)return;r.focusValue("next");break;case"Delete":case"Backspace":if(m)return;if(M)r.removeValue(M);else{if(!f)return;s?r.popValue():_&&r.clearValue()}break;case"Tab":if(r.isComposing||l.shiftKey||!D||!S||!O||G&&r.isOptionSelected(O,k))return;r.selectOption(O);break;case"Enter":if(l.keyCode===229)break;if(D){if(!O||r.isComposing)return;r.selectOption(O);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(!O)return;r.selectOption(O);break;case"ArrowUp":D?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":D?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!D)return;r.focusOption("pageup");break;case"PageDown":if(!D)return;r.focusOption("pagedown");break;case"Home":if(!D)return;r.focusOption("first");break;case"End":if(!D)return;r.focusOption("last");break;default:return}l.preventDefault()}},r.buildMenuOptions=function(l,c){var s=l.inputValue,f=s===void 0?"":s,v=l.options,m=function(R,D){var y=r.isOptionDisabled(R,c),S=r.isOptionSelected(R,c),G=r.getOptionLabel(R),P=r.getOptionValue(R);if(!(r.shouldHideSelectedOptions()&&S||!r.filterOption({label:G,value:P,data:R},f))){var O=y?void 0:function(){return r.onOptionHover(R)},M=y?void 0:function(){return r.selectOption(R)},k="".concat(r.getElementId("option"),"-").concat(D);return{innerProps:{id:k,onClick:M,onMouseMove:O,onMouseOver:O,tabIndex:-1},data:R,isDisabled:y,isSelected:S,key:k,label:G,type:"option",value:P}}};return v.reduce(function(_,R,D){if(R.options){r.hasGroups||(r.hasGroups=!0);var y=R.options,S=y.map(function(O,M){var k=m(O,"".concat(D,"-").concat(M));return k&&_.focusable.push(O),k}).filter(Boolean);if(S.length){var G="".concat(r.getElementId("group"),"-").concat(D);_.render.push({type:"group",key:G,data:R,options:S})}}else{var P=m(R,"".concat(D));P&&(_.render.push(P),_.focusable.push(R))}return _},{render:[],focusable:[]})};var o=a.value;r.cacheComponents=vO(r.cacheComponents,Nge).bind(H_(r)),r.cacheComponents(a.components),r.instancePrefix="react-select-"+(r.props.instanceId||++Zin);var i=kb(o);r.buildMenuOptions=vO(r.buildMenuOptions,function(l,c){var s=l,f=Ba(s,2),v=f[0],m=f[1],_=c,R=Ba(_,2),D=R[0],y=R[1];return m===y&&v.inputValue===D.inputValue&&v.options===D.options}).bind(H_(r));var u=a.menuIsOpen?r.buildMenuOptions(a,i):{render:[],focusable:[]};return r.state.menuOptions=u,r.state.selectValue=i,r}return yo(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=kb(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&&(yge(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:IDe(f[v]),tabSelectsValue:u}})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(HU):Ub(Ub({},HU),this.props.theme):HU}},{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?Pin({focusedValue:u,getOptionLabel:this.getOptionLabel,selectValue:i}):"",R=l&&f?Oin({focusedOption:l,getOptionLabel:this.getOptionLabel,options:s}):"",D=kin({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 _a.default.createElement(Rin,ct({id:m,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:AU,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 _a.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,G=this.state,P=G.selectValue,O=G.focusedValue,M=G.isFocused;if(!this.hasValue()||!_)return y?null:_a.default.createElement(f,ct({},v,{key:"placeholder",isDisabled:R,isFocused:M}),S);if(D){var k=P.map(function(le,ve){var X=le===O;return _a.default.createElement(i,ct({},v,{components:{Container:u,Label:l,Remove:c},isFocused:X,isDisabled:R,key:"".concat(r.getOptionValue(le)).concat(ve),index:ve,removeProps:{onClick:function(){return r.removeValue(le)},onTouchEnd:function(){return r.removeValue(le)},onMouseDown:function(pe){pe.preventDefault(),pe.stopPropagation()}},data:le}),r.formatOptionLabel(le,"value"))});return k}if(y)return null;var oe=P[0];return _a.default.createElement(s,ct({},v,{data:oe,isDisabled:R}),this.formatOptionLabel(oe,"value"))}},{key:"renderClearIndicator",value:function(){var r=this.components.ClearIndicator,o=this.commonProps,i=this.props,u=i.isDisabled,l=i.isLoading,c=this.state.isFocused;if(!this.isClearable()||!r||u||!this.hasValue()||l)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return _a.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 _a.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 _a.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 _a.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,G=S.captureMenuScroll,P=S.inputValue,O=S.isLoading,M=S.loadingMessage,k=S.minMenuHeight,oe=S.maxMenuHeight,le=S.menuIsOpen,ve=S.menuPlacement,X=S.menuPosition,be=S.menuPortalTarget,pe=S.menuShouldBlockScroll,De=S.menuShouldScrollIntoView,Ne=S.noOptionsMessage,ie=S.onMenuScrollToTop,jn=S.onMenuScrollToBottom;if(!le)return null;var Ve=function(ye){var U=D===ye.data;return ye.innerRef=U?r.getFocusedOptionRef:void 0,_a.default.createElement(m,ct({},_,ye,{isFocused:U}),r.formatOptionLabel(ye.data,"menu"))},Pn;if(this.hasOptions())Pn=y.render.map(function(me){if(me.type==="group"){var ye=me.type,U=vi(me,["type"]),de="".concat(me.key,"-heading");return _a.default.createElement(i,ct({},_,U,{Heading:u,headingProps:{id:de,data:me.data},label:r.formatGroupLabel(me.data)}),me.options.map(function(V){return Ve(V)}))}else if(me.type==="option")return Ve(me)});else if(O){var On=M({inputValue:P});if(On===null)return null;Pn=_a.default.createElement(f,_,On)}else{var q=Ne({inputValue:P});if(q===null)return null;Pn=_a.default.createElement(v,_,q)}var x={minMenuHeight:k,maxMenuHeight:oe,menuPlacement:ve,menuPosition:X,menuShouldScrollIntoView:De},ne=_a.default.createElement(jU,ct({},_,x),function(me){var ye=me.ref,U=me.placerProps,de=U.placement,V=U.maxHeight;return _a.default.createElement(l,ct({},_,x,{innerRef:ye,innerProps:{onMouseDown:r.onMenuMouseDown,onMouseMove:r.onMenuMouseMove},isLoading:O,placement:de}),_a.default.createElement(Lin,{isEnabled:G,onTopArrive:ie,onBottomArrive:jn},_a.default.createElement(Min,{isEnabled:pe},_a.default.createElement(c,ct({},_,{innerRef:r.getMenuListRef,isLoading:O,maxHeight:V}),Pn))))});return be||X==="fixed"?_a.default.createElement(s,ct({},_,{appendTo:be,controlElement:this.controlRef,menuPlacement:ve,menuPosition:X}),ne):ne}},{key:"renderFormField",value:function(){var r=this,o=this.props,i=o.delimiter,u=o.isDisabled,l=o.isMulti,c=o.name,s=this.state.selectValue;if(!(!c||u))if(l)if(i){var f=s.map(function(_){return r.getOptionValue(_)}).join(i);return _a.default.createElement("input",{name:c,type:"hidden",value:f})}else{var v=s.length>0?s.map(function(_,R){return _a.default.createElement("input",{key:"i-".concat(R),name:c,type:"hidden",value:r.getOptionValue(_)})}):_a.default.createElement("input",{name:c,type:"hidden"});return _a.default.createElement("div",null,v)}else{var m=s[0]?this.getOptionValue(s[0]):"";return _a.default.createElement("input",{name:c,type:"hidden",value:m})}}},{key:"renderLiveRegion",value:function(){return this.state.isFocused?_a.default.createElement(bin,{"aria-live":"polite"},_a.default.createElement("span",{id:"aria-selection-event"},"\xA0",this.state.ariaLiveSelection),_a.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 _a.default.createElement(u,ct({},R,{className:s,innerProps:{id:f,onKeyDown:this.onKeyDown},isDisabled:v,isFocused:_}),this.renderLiveRegion(),_a.default.createElement(o,ct({},R,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:v,isFocused:_,menuIsOpen:m}),_a.default.createElement(l,ct({},R,{isDisabled:v}),this.renderPlaceholderOrValue(),this.renderInput()),_a.default.createElement(i,ct({},R,{isDisabled:v}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}]),t}(_a.Component);zg.defaultProps=Xin;var _6a=Da(SI());var VA=Da(hs());function Kin(e){var n=eun();return function(){var a=or(e),r;if(n){var o=or(this).constructor;r=Reflect.construct(a,arguments,o)}else r=a.apply(this,arguments);return Xi(this,r)}}function eun(){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 nun={defaultInputValue:"",defaultMenuIsOpen:!1,defaultValue:null},Hb=function(n){var t,a;return a=t=function(r){bo(i,r);var o=Kin(i);function i(){var u;Do(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},iun={formatCreateLabel:function(n){return'Create "'.concat(n,'"')},isValidNewOption:function(n,t,a){return!(!n||t.some(function(r){return ADe(n,r)})||a.some(function(r){return ADe(n,r)}))},getNewOptionData:function(n,t){return{label:t,value:n,__isNew__:!0}}},uun=oun({allowCreateWhileLoading:!1,createOptionPosition:"last"},iun),lun=function(n){var t,a;return a=t=function(r){bo(i,r);var o=aun(i);function i(u){var l;Do(this,i),l=o.call(this,u),l.select=void 0,l.onChange=function(s,f){var v=l.props,m=v.getNewOptionData,_=v.inputValue,R=v.isMulti,D=v.onChange,y=v.onCreateOption,S=v.value,G=v.name;if(f.action!=="select-option")return D(s,f);var P=l.state.newOption,O=Array.isArray(s)?s:[s];if(O[O.length-1]===P){if(y)y(_);else{var M=m(_,_),k={action:"create-option",name:G};D(R?[].concat(Fg(kb(S)),[M]):M,k)}return}D(s,f)};var c=u.options||[];return l.state={newOption:void 0,options:c},l}return yo(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,kb(D),y)?S=v(m,f(m)):S=void 0,this.setState({newOption:S,options:(c||!_)&&S?s==="first"?[S].concat(Fg(y)):[].concat(Fg(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 YA.default.createElement(n,ct({},this.props,{ref:function(f){l.select=f},options:c,onChange:this.onChange}))}}]),i}(YA.Component),t.defaultProps=uun,a},cun=lun(zg),sun=Hb(cun),BU=sun;var XA=Da(hs());var Z6a=Da(Ob());var r8a=Da(SI());function fun(e){var n=vun();return function(){var a=or(e),r;if(n){var o=or(this).constructor;r=Reflect.construct(a,arguments,o)}else r=a.apply(this,arguments);return Xi(this,r)}}function vun(){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 mun={cacheOptions:!1,defaultOptions:!1,filterOption:null,isLoading:!1},pun=function(n){var t,a;return a=t=function(r){bo(i,r);var o=fun(i);function i(u){var l;return Do(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,_=gge(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 yo(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=vi(c,["loadOptions","isLoading"]),m=this.state,_=m.defaultOptions,R=m.inputValue,D=m.isLoading,y=m.loadedInputValue,S=m.loadedOptions,G=m.passEmptyOptions,P=G?[]:R&&y?S:_||[];return XA.default.createElement(n,ct({},v,{ref:function(M){l.select=M},options:P,isLoading:D||f,onInputChange:this.handleInputChange}))}}]),i}(XA.Component),t.defaultProps=mun,a},_un=Hb(zg),dun=pun(_un),ZA=dun;var jDe=Da(LDe()),II=({baseClass:e,isMulti:n})=>t=>{let a=(i,u)=>Object.assign({},i,u),r=i=>u=>a(u,i),o=!bun&&typeof document!="undefined";return Et.createElement(e,ti(La({},t),{isMulti:n,components:{MenuList:hun},menuPortalTarget:t.useMenuPortal&&o?document.body:void 0,options:ODe(t.options),value:ODe(t.value),getOptionLabel:WU(t.getOptionLabel),getOptionValue:WU(t.getOptionValue),formatOptionLabel:WU(t.formatOptionLabel),loadOptions:t.loadOptions&&((...i)=>t.loadOptions(...i).then(Bb)),onChange:(i,{action:u})=>{switch(u){case"select-option":i.__isNew__?t.onCreate&&t.onCreate(i.label):t.onSelect&&t.onSelect(Bb(i));break;case"clear":t.onClear&&t.onClear();break;case"remove-value":t.onSelect&&t.onSelect(Bb(i||[]));break;case"create-option":t.onCreate&&t.onCreate(i.label);break}},isOptionDisabled:t.isOptionDisabled&&(i=>!i.__isNew__&&t.isOptionDisabled(Bb(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:{})}}))},hun=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:Bb(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(jDe.default,{length:n.length,itemRenderer:(a,r)=>Et.createElement("div",{key:r},n[a])}),...t)};QA.displayName="ReactSelect";BU.displayName="ReactSelectCreatable";ZA.displayName="ReactSelectAsync";var NDe=II({baseClass:QA,isMulti:!1}),gun=II({baseClass:BU,isMulti:!1}),Dun=II({baseClass:QA,isMulti:!0}),PDe=II({baseClass:ZA,isMulti:!1}),yun=II({baseClass:ZA,isMulti:!0}),bun=0;var ODe=e=>e instanceof Array?typeof e[0]=="object"?e:e.map(n=>({__wrap:n})):typeof e=="undefined"||typeof e=="object"?e:{__wrap:e},Bb=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},WU=e=>e&&(n=>e(Bb(n)));var kDe=e=>()=>new Promise((n,t)=>{var a=o=>()=>n(o),r=o=>()=>t(o);try{e(a)(r)()}catch(o){t(o)}});var UDe=function(e){return kDe(function(n){return function(t){return LX(ar(t)(n))(e)}})};var TI=Wo(),Run=wt(Qn()(E({reflectSymbol:function(){return"inputValue"}})(ue)(he)));var wun=j(Vt),Sun=j(J),HDe=gs(),BDe=Ea();var Eun=function(e){return e};var yu=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Cun=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}();var JDe=function(e){return function(n){if(e instanceof yu){var t={};for(var a in n)({}).hasOwnProperty.call(n,a)&&(t[a]=n[a]);return t["aria-label"]=L1(e.value0),t}if(e instanceof Cun){var r={};for(var o in n)({}).hasOwnProperty.call(n,o)&&(r[o]=n[o]);return r["aria-labelledby"]=L1(e.value0),r}throw new Error("Failed pattern match at Component.ReactSelect (line 174, column 3 - line 176, column 66): "+[e.constructor.name])}},KA=function(e){return TI(function(n){return Je(Run(n))(e)})};var ex=function(e){return function(n){return UDe(wun(Be)(e(n)))()}};var WDe=function(e){return function(n){return Ht(e({inputValue:ee(n.inputValue),options:n.options}))}};var qDe=function(e){var n={};for(var t in e)({}).hasOwnProperty.call(e,t)&&(n[t]=e[t]);return n.value=Gne(function(a){return Ht(Sun(Eun)(a))})(e.value),n},Iun=TI,zDe=TI;var Tun=TI;var $De=TI;var Ys=function(e){return function(){var n=HDe(NDe),t=JDe(e);return function(a){return n(Iun(qDe(zDe(t($De(BDe(a)))))))}}},nx=function(e){return function(){var n=HDe(PDe),t=JDe(e);return function(a){return n(Tun(qDe(zDe(t($De(BDe(a)))))))}}};var VDe="top";var QDe=to(Lr(Lo)),Fun=Z(Vt),YDe=K(Pt),Mun=Qi($n(Qn()(E({reflectSymbol:function(){return"category"}})(ue)(E({reflectSymbol:function(){return"id"}})(DE)(E({reflectSymbol:function(){return"name"}})(ue)(he)))))),Gun=Z(ge),Aun=Z(J),xun=Qi(ue),XDe=QDe("profile_search_extracurricular_activities_path")(function(e){return function(n){return Fun(YDe(e({search_term:n}))(Wr(Mun("Network.ECSelector.API"))))(function(t){return gr(Gun(t)(function(a){return Aun(K1(a.category))(function(r){return{id:a.id,name:a.name,category:r}})}))})}}),ZDe=QDe("profile_generate_ec_description_path")(function(e){return function(n){return YDe(e(n))(Wr(xun("Profile.ECSelector.API.generateEcDescription response")))}});var Lun=re(ze),jun=oa(Te)(vt),KDe=function(e){var n=xc(e);return function(){return function(){return n("text")}}};var qU=function(){return function(){return Xh("path")}},Nun=qU()();var Jb=function(e){var n=function(u){return Lun(us(u))},t=function(u){return function(l){return n(u*l.x)+(" "+n(u*l.y))}},a=function(u){return{x:e.center.x+u8(u),y:e.center.y-c8(u)}},r=a(e.angle1),o=a(e.angle0),i=function(){var u=e.angle1-e.angle0>Wv;return u?"1":"0"}();return Nun("")({d:jun([" M ",t(e.outerRadius)(o)," A ",n(e.outerRadius)," ",n(e.outerRadius)," 0 ",i," 0 ",t(e.outerRadius)(r)," L ",t(e.innerRadius)(r)," A ",n(e.innerRadius)," ",n(e.innerRadius)," 0 ",i," 1 ",t(e.innerRadius)(o)," Z"]),fill:e.fill,stroke:e.stroke.color,strokeWidth:e.stroke.width})},e1e=function(){return function(){return Xh("circle")}};var n1e=Dn(gn),mv=hn(n1e)(mn(vn)),t1e=_n(pn),pv=dn(t1e),a1e=Rn(bn),_v=yn(a1e),Pun=qU()(),ip=re(qi),Oun=mi(ae)()(),FI=B(L),kun=Cs(W)()(),Uun=Z(ge),Hun=KDe(L)()(),Bun=re(ze),Jun=Xn(ae)()(),Wun=An(dt),qun=ta(L),MI=B(W),Wb=B(ae),r1e=_e(xt(As)),zun=zf(W),$un=j(ge),Vun=ul(L),zU=function(){function e(){}return e.value=new e,e}(),$U=function(){function e(){}return e.value=new e,e}(),o1e=function(e){return function(n){if(n instanceof $U)return Ee(e)(Wae(e));if(n instanceof zU)return Ee(e)(qae(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])}},i1e=function(){return 100/ft(ha(wn(I_)(mv(mv(mv(mv(mv(mv(mv(mv(mv(mv(mv(n1e)(t1e))(pv))(pv))(pv))(pv))(pv))(pv))(pv))(pv))(pv))(pv))(_v(_v(_v(_v(_v(_v(_v(_v(_v(_v(_v(a1e))))))))))))(pv)))}(),Qun=function(e){var n=kl(e),t=jae(n),a=function(r){return function(o){return function(i){var u=o-1,l=r+1,c=u/2,s=l/2;return Pun("")({d:Br(" ")(["M",ip(-s),ip(l),"L",ip(s),ip(l),"L",ip(c),ip(u),"L",ip(-c),ip(u),"Z"]),fill:i})}}};return Oun({overlay:ce([FI("")("Use the arrows to choose"),FI("")("higher or lower levels")]),trigger:z_,placement:Us})(kun("")({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)*i1e)(ft(t+1|0)*i1e)("#64A063"),ce(Uun(cF(1)(4))(function(r){return Hun("")({x:"0",y:ip(25*ft(r)-11),dominantBaseline:"middle",textAnchor:"middle"})(Bun(r))}))]))},u1e=function(e){return function(n){var t=kl(e),a=ev(e),r=function(o){var i=function(){if(o.msg instanceof zU)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 Jun("py-0 px-2 my-2 btn btn-outline-light t--tier-"+(i+function(){return o.disabled?"":" text-body"}()))({type:"button",onClick:Wun(n)(o.msg),disabled:o.disabled})(qun("x-large fe fe-arrow-"+i)(""))};return ce([MI("d-flex justify-content-between align-items-center")([FI("font-weight-bold fw-bold")("Tier "+ey(t)),MI("d-flex align-items-center")([Wb("mr-2")(r({msg:zU.value,disabled:r1e(new d(t))(Oae(a))})),Wb("")(r({msg:$U.value,disabled:r1e(new d(t))(X2(a))}))])]),Wb("card shadow-none")(Wb("card-body")(MI("row align-items-start")([Wb("col-12 col-md-7")(Je(Pae(a)(t))(function(o){return ce([Y("I did the equivalent of ANY of the following:"),zun("")($un(Vun(""))(o))])})),Wb("col-12 col-md-5")(MI("row align-items-center")([MI("col-7 d-flex flex-column align-items-center")([FI("mb-2 small")("Exceptional"),Qun(e),FI("mt-2 small")("Standard")])]))])))])}};var tx=z(_t),Yun=Ea(),Xun=Bn(Mn)(qt),Zun=Xr(at),Kun=Z(Vt),eln=vs(Vv),nln=Xn(ae)()(),l1e=B(L),c1e=An(dt),VU=function(){function e(){}return e.value=new e,e}(),s1e=function(){function e(){}return e.value=new e,e}(),f1e=function(){function e(){}return e.value=new e,e}(),QU=function(){function e(){}return e.value=new e,e}(),v1e=function(){function e(){}return e.value=new e,e}(),m1e=function(){function e(){}return e.value=new e,e}(),p1e=function(){var e=function(n){var t=tx(VU.value),a=Yun(n),r=function(i){return function(u){if(u instanceof QU)return Xun(Zun(Kun(eln(a.onClick))(ar(rn(m1e.value))(rn(v1e.value)))))(function(){return tx(s1e.value)});if(u instanceof v1e)return tx(VU.value);if(u instanceof m1e)return tx(f1e.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 nln(kn(a.buttonClass)("btn btn-primary px-4"))({onClick:s,disabled:kn(a.disabled)(!1)})(kn(a.buttonContent)(Y("Submit")))},c=kn(a.render)({idle:l,inFlight:function(s){return l1e(kn(a.spinnerClass)("spinner spinner-border text-primary"))("")},erroredOut:function(s){return ce([l(s),l1e("invalid-feedback d-block")(kn(a.errorMessage)("Something went wrong. Try refreshing the page."))])}});if(i instanceof VU)return c.idle(c1e(u)(QU.value));if(i instanceof s1e)return c.inFlight(Ce);if(i instanceof f1e)return c.erroredOut(c1e(u)(QU.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 el("EffectButton")(e)};var _1e=function(){function e(){}return e.value=new e,e}(),d1e=function(){function e(){}return e.value=new e,e}(),qb=function(){function e(){}return e.value=new e,e}(),ax=function(){function e(){}return e.value=new e,e}(),h1e=function(){function e(){}return e.value=new e,e}(),g1e=function(){function e(){}return e.value=new e,e}(),zb=function(){function e(){}return e.value=new e,e}(),D1e=function(e){if(e instanceof _1e)return"avatar-xxs";if(e instanceof d1e)return"avatar-xs";if(e instanceof qb)return"avatar-sm";if(e instanceof ax)return"";if(e instanceof h1e)return"avatar-lg";if(e instanceof g1e)return"avatar-xl";if(e instanceof zb)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 rx=_e(xt(ma)),tln=Ea(),aln=B(ae),rln=js()(),YU=en(L),XU=Yn(ae)()(),oln=ta(L),iln=li(),uln=Yv(Mn)(),lln=Jn(at),cln=Ls(W)()(),sln=la(fu),fln=lv(),vln=pt($a),bu=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),$g=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),ZU=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),KU=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),y1e=function(){function e(){}return e.value=new e,e}(),mln=function(){function e(){}return e.value=new e,e}(),pln={eq:function(e){return function(n){return e instanceof bu&&n instanceof bu?e.value0.url===n.value0.url:e instanceof $g&&n instanceof $g?rx(e.value0.backgroundColorClass)(n.value0.backgroundColorClass)&&e.value0.initials===n.value0.initials&&rx(e.value0.textColorClass)(n.value0.textColorClass):e instanceof ZU&&n instanceof ZU?rx(e.value0.backgroundColorClass)(n.value0.backgroundColorClass)&&e.value0.iconClass===n.value0.iconClass:e instanceof KU&&n instanceof KU?rx(e.value0.backgroundColorClass)(n.value0.backgroundColorClass)&&e.value0.name===n.value0.name:!1}}},_ln=_C(pln),A0=function(){return function(e){var n=tln(e),t=function(){var r=kn(n.shape)(y1e.value);if(r instanceof y1e)return"rounded-circle";if(r instanceof mln)return"rounded";throw new Error("Failed pattern match at Dashkit.Avatar (line 119, column 9 - line 121, column 37): "+[r.constructor.name])}(),a=function(r){return aln("avatar "+(D1e(kn(n.size)(ax.value))+(" "+kn(n.className)(""))))(function(){if(r instanceof bu)return rln("avatar-img img-fluid "+(t+(" "+kn(n.borderClassName)(""))))({src:r.value0.url,alt:kn(n.ariaLabel)("Avatar image")});if(r instanceof $g)return YU("avatar-title font-weight-bold fw-bold "+(t+(" "+(Ee("")(r.value0.backgroundColorClass)+(" "+(Ee("")(r.value0.textColorClass)+(" "+kn(n.borderClassName)(""))))))))(r.value0.initials);if(r instanceof ZU)return XU("avatar-title "+(t+(" "+(Ee("")(r.value0.backgroundColorClass)+(" "+kn(n.borderClassName)(""))))))({"aria-label":kn(n.ariaLabel)("Avatar icon")})(oln(r.value0.iconClass)(""));if(r instanceof KU)return XU("avatar-title "+(t+(" "+(Ee("")(r.value0.backgroundColorClass)+(" "+kn(n.borderClassName)(""))))))({"aria-label":kn(n.ariaLabel)("Avatar icon")})(YU("material-symbol")(r.value0.name));throw new Error("Failed pattern match at Dashkit.Avatar (line 78, column 11 - line 116, column 46): "+[r.constructor.name])}())};return Tu(iln(fa(n.source))(function(r){return uln(_ln(n.source)(function(o){return lln(r.value1(o))}))(function(){return ui(ce([a(r.value0),function(){return r.value0 instanceof bu?Je(yr(n.hideAvatar))(function(o){return XU("hq-only-menu-item")({style:fn({marginTop:"-50px",marginLeft:"200px"})})(cln("btn btn-sm btn-warning mb-4 t--hide-avatar")(tv)({onClick:sln(function(i){return function(){return fln(i)(),vln(r.value1)(o)()}})})([YU("badge badge-info bg-info text-dark mr-2")("HQ"),Y("Hide")]))}):nn}()]))})}))}};var dln=A0();var hln=function(e){return dln({source:new bu({url:_g("/img/icons/ai-avatar-logo-purple-3.svg")}),size:e.size})},$b=function(){return hln({size:qb.value})}();var b1e=function(){var e=[XS.value,new bm(" "),S2.value,new bm(", "),C2.value,new bm(":"),T2.value,new bm(" "),I2.value],n=ZS(gh(Te)(e));return function(t){return n(function(a){return a.sentAt}(t))}}();var up=B(W),gln=en(L),Dln=du(L),yln=gl(xe),eH=Y0(J),R1e=j(J),bln=Z(J),Rln=pt(xe),wln=lh(Te)(ea),nH=Bn(Mn)(xe),tH=Qr(Io),aH=K(xe),rH=vu(L),w1e=Nl()(),GI=An(no),Vg=B(ae),S1e=Xn(L)()(),oH=An(dt),E1e=c2(L)()(),C1e=re(Z1),Sln=Ye(sa),Eln=j(ge),Cln=Vo()(),I1e=P1(),Iln=u2(W)()(),T1e=Z(Vt),Tln=vs(Vv),Fln=mh(ma),Mln=Z(ge),Gln=Yn(L)()(),Aln=re(Bae),xln=qn(Na),F1e=B(L),Lln=p1e(),jln=K(Pt),Nln=Jn(at),Qg=function(){function e(){}return e.value=new e,e}(),ox=function(){function e(){}return e.value=new e,e}(),Yg=function(){function e(){}return e.value=new e,e}(),M1e=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),G1e=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),iH=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),A1e=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),x1e=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),L1e=function(){function e(){}return e.value=new e,e}(),j1e=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),N1e=function(){function e(){}return e.value=new e,e}(),P1e=function(){function e(){}return e.value=new e,e}(),O1e=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),k1e={eq:function(e){return function(n){return e instanceof Qg&&n instanceof Qg||e instanceof ox&&n instanceof ox||e instanceof Yg&&n instanceof Yg}}},Pln=function(e){return e.tierSelector instanceof d?C.value:new d({errorMessage:"Please select a tier."})},Oln=function(e){if(e.name==="")return new d({errorMessage:"Please enter an activity name."});if(je)return C.value;throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivityEditor (line 321, column 1 - line 321, column 32): "+[e.constructor.name])},kln=function(e){if(cr(e.category))return new d({errorMessage:"Please select a category."});if(je)return C.value;throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivityEditor (line 326, column 1 - line 326, column 36): "+[e.constructor.name])},U1e=function(e){return function(n){return ce([up("")([gln("")("Level of achievement"),Dln("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. `)]),u1e(n)(function(t){return e(A1e.create(t))})])}},H1e=function(e){return yln(eH(eH(eH(R1e(yE("")(e))(X2(e)))(C.value))(C.value))(C.value))},B1e=function(e){return function(n){if(n instanceof A1e)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:bln(e.tierSelector)(function(t){return o1e(t)(n.value0)})};if(n instanceof M1e)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 G1e)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:Rln(H1e)(n.value0)};if(n instanceof iH)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 x1e)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:H1e(n.value0.category)};if(n instanceof L1e)return{isNew:e.isNew,id:e.id,description:e.description,compactView:e.compactView,view:e.view,name:"",category:C.value,canonicalId:C.value,tierSelector:C.value};if(n instanceof j1e)return{isNew:e.isNew,category:e.category,id:e.id,canonicalId:e.canonicalId,tierSelector:e.tierSelector,description:e.description,compactView:e.compactView,view:Yg.value,name:n.value0.name};if(n instanceof N1e)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:ox.value};if(n instanceof P1e)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 Qg.value;if(e.canonicalId instanceof C)return Yg.value;throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivityEditor (line 305, column 9 - line 307, column 30): "+[e.canonicalId.constructor.name])}()};if(n instanceof O1e)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 Qg.value;if(e.canonicalId instanceof C)return Yg.value;throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivityEditor (line 313, column 9 - line 315, column 30): "+[e.canonicalId.constructor.name])}()};throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivityEditor (line 279, column 1 - line 279, column 36): "+[e.constructor.name,n.constructor.name])}},AI=function(e){return wln(Qpe(e))([Oln,kln,Pln])},ix=function(e){return function(n){if(n instanceof d){var t=Ee("")(RE(n.value0)),a=ev(n.value0);return{isNew:!1,name:T_(n.value0),category:new d(a),tierSelector:function(){return a instanceof _0?C.value:new d(n.value0)}(),id:Z2(n.value0),canonicalId:K2(n.value0),description:t,compactView:e.compactView,view:function(){var r=Dt(K2(n.value0));return r?Qg.value:Yg.value}()}}if(n instanceof C)return{isNew:!0,name:"",category:C.value,tierSelector:C.value,id:C.value,canonicalId:C.value,description:"",compactView:e.compactView,view:Qg.value};throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivityEditor (line 72, column 1 - line 72, column 73): "+[e.constructor.name,n.constructor.name])}},ux=function(e){return nH(tH(AI(e)))(function(){return aH(e.tierSelector)(function(n){return aH(e.category)(function(t){return yE(e.name)(t)(kl(n))(e.id)(new d(e.description))(e.canonicalId)})})})},J1e="Summarize your role, highlighting specific achievements. Include quantifiable results (if possible) and skills developed.",W1e=function(e){return function(n){return function(t){var a=ce([rH("")("Description (optional)"),w1e("form-control mb-3 t--description")({placeholder:J1e,rows:2,maxLength:1e3,onChange:GI(t)(function(r){return iH.create(Hs(r))}),value:n.description}),up("row")([Vg("col-auto")($b),En(e.featureFlags.showGenerateEcDescription)(Vg("col pl-0")(S1e("btn btn-outline-primary rounded-pill t--generate-description")({onClick:oH(t)(N1e.value)})("Write description for me")))])]);return En(!n.compactView)(a)}}},q1e=function(e){return function(n){return function(t){if(n.view instanceof Yg){var a=function(u){return E1e("")({value:C1e(u)})(C_(u))},r=Sln([E1e("")({value:""})("Select category")])(Eln(a)(Cae));return ce([up("row pb-4")([up("col-12 mt-3 mt-lg-0 col-lg-8 align-self-baseline")([rH("font-weight-bold fw-bold")("Activity name *"),Cln("")({className:"form-control t--name",autoFocus:!0,value:n.name,onChange:GI(t)(function(u){return M1e.create(Bs(u))}),minLength:5,maxLength:50,required:!0,_data:I1e({"test-id":"ec-selector-activity-name"}),"aria-required":"true"})]),up("col-12 mt-3 mt-lg-0 col-lg-4 align-self-baseline")([rH("font-weight-bold fw-bold")("Category *"),Iln("")({className:"form-control t--category",onChange:GI(t)(function(u){return G1e.create(K1(epe(u)))}),value:ke("")(C1e)(n.category),_data:I1e({"test-id":"ec-selector-activity-category"}),required:!0,"aria-required":"true"})(r)])]),Je(n.tierSelector)(U1e(t)),W1e(e)(n)(t)])}if(n.view instanceof Qg){var o=function(u){return T1e(T1e(Tln(XDe(u)))(tc))(Ee([]))},i=function(){var u=function(l){return iu(Pw(l))};return WDe(function(l){return aH(l.inputValue)(function(c){return nH(tH(Yr(c)>=3))(function(){return nH(tH(!Fln(u(c))(Mln(l.options)(function(s){return u(function(f){return f.name}(s))}))))(function(){return new d(Gln("text-center text-primary cursor-pointer py-3 t--ec-activity-custom")({onClick:oH(t)(new j1e({name:c}))})("Add \u2018"+(c+"\u2019 as a custom activity")))})})})})}();return up("my-4 overflow-hidden ")([Y("Activity name*"),nx(new yu("Search for an activity"))()({className:"mt-2 t--ec-activity-name",classNamePrefix:"t--canonical-ec-activity",placeholder:"Type to select\u2026",loadOptions:ex(o),defaultOptions:!1,getOptionLabel:function(u){return u.name},getOptionValue:function(u){return Aln(function(l){return l.id}(u))},onSelect:GI(t)(x1e.create),useMenuPortal:!0,value:xln(R1e(function(u){return function(l){return{name:n.name,category:u,id:l}}})(n.category))(n.canonicalId),isClearable:!0,onClear:t(L1e.value),footerOption:i,menuPlacement:VDe,noOptionsMessage:KA(function(u){return Y(function(){var l=Yr(u.inputValue)<=3;return l?"Type to search activities":"No matches. Try a different search."}())})}),Je(n.category)(function(u){return F1e("mt-2 text-muted t--ec-activity-category")("Category: "+C_(u))}),Je(n.tierSelector)(function(){var u=Vg("mt-4"),l=U1e(t);return function(c){return u(l(c))}}()),Je(n.canonicalId)(function(u){return Vg("mt-4")(W1e(e)(n)(t))})])}if(n.view instanceof ox)return up("my-4 overflow-hidden t--description-generator")([up("row")([Vg("col-auto")($b),F1e("col pl-0")("Tell me about your role, contributions, and any achievements so I can write a strong description.")]),w1e("form-control my-3 t--description")({placeholder:J1e,rows:5,maxLength:1e3,onChange:GI(t)(function(u){return iH.create(Hs(u))}),value:n.description}),up("row")([Vg("col-6")(S1e("btn btn-light btn-block")({onClick:oH(t)(P1e.value)})("Cancel")),Vg("col-6")(Lln({buttonClass:"btn btn-primary btn-block t--generate-description-confirm",buttonContent:Y("Write description"),onClick:jln(ZDe({activity:n.name,category:ke("")(C_)(n.category),description:n.description}))(function(u){return Nln(t(new O1e(u)))})}))])]);throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivityEditor (line 103, column 1 - line 103, column 78): "+[e.constructor.name,n.constructor.name,t.constructor.name])}}};var Uln=$m(),Hln=Kn(L),Bln=B(W),z1e=B(ae),$1e=Xn(L)()(),Jln=j1(r2(m1)),Wln=gi(J),qln=Qr(Io),zln=ka(sr(ea)),$ln=An(dt),uH=z(_t),V1e=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),lx=function(){function e(){}return e.value=new e,e}(),xI=function(){function e(){}return e.value=new e,e}(),lH=function(e){return function(n){return function(t){var a=function(){return n.isNew?"Add":"Edit"}();return Uln({onDismiss:t(xI.value),title:Hln("")(a+" activity"),size:SE.value,bodyClass:"t--ec-editor",body:ce([q1e(e)(n)(function(r){return t(V1e.create(r))}),Ha(""),Bln("row justify-content-between mt-n3")([z1e("col-12 col-md-3 mt-3")($1e("btn btn-primary btn-block t--save-ec-activity")({type:"button",onClick:Jln(t)(Wln(qln(AI(n)))(lx.value)),disabled:zln(AI)(n)})("Save activity")),z1e("col-12 col-md-3 mt-3")($1e("btn btn-outline-secondary btn-block")({type:"button",onClick:$ln(t)(xI.value)})("Cancel"))])])})}}},cH=function(e){return function(n){if(n instanceof V1e)return uH(B1e(e)(n.value0));if(n instanceof lx||n instanceof xI)return uH(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 Vln=_e(gE),Q1e=_e(xt(fj)),Y1e=_e(xt(vE)),Qln=_e(ma),X1e=_e(xt(tr)),Z1e=_e(xt(gE)),K1e=_e(k1e),eye=sr(ea),nye=ka(eye),Yln=pt(xe),Ru=z(_t),Xln=Rw(gE),tye=Ye(sa),sH=Bn(Mn)(qt),aye=Xr(at),rye=z(na),fH=K(qt),oye=hr(Fi(Vt)),lp=B(W),Vb=Vn(L),iye=re(ze),Zln=K(xv),Kln=z(X0),Xs=B(ae),ecn=Xn(W)()(),ncn=en(ae),tcn=en(L),acn=B(L),uye=Df(sr(eye)),rcn=_e(vE),ocn=_e(As),icn=Vo()(),ucn=iv(),cx=Xn(L)()(),LI=An(dt),lcn=Yn(W)()(),ccn=P1(),scn=Ca(L),fcn=Vn(W),vcn=Jn(at);var sx=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),vH=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),mH=function(){function e(){}return e.value=new e,e}(),fx=function(){function e(){}return e.value=new e,e}(),Xg=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}(),Qb=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),dd=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),hd=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),mcn={eq:function(e){return function(n){return e instanceof Zg&&n instanceof Zg?!0:e instanceof Qb&&n instanceof Qb?Vln(e.value0.activity)(n.value0.activity):e instanceof dd&&n instanceof dd?e.value0.index===n.value0.index&&Q1e(e.value0.state.canonicalId)(n.value0.state.canonicalId)&&Y1e(e.value0.state.category)(n.value0.state.category)&&e.value0.state.compactView===n.value0.state.compactView&&e.value0.state.description===n.value0.state.description&&X1e(e.value0.state.id)(n.value0.state.id)&&e.value0.state.isNew===n.value0.state.isNew&&e.value0.state.name===n.value0.state.name&&Z1e(e.value0.state.tierSelector)(n.value0.state.tierSelector)&&K1e(e.value0.state.view)(n.value0.state.view):e instanceof hd&&n instanceof hd?Q1e(e.value0.canonicalId)(n.value0.canonicalId)&&Y1e(e.value0.category)(n.value0.category)&&e.value0.compactView===n.value0.compactView&&e.value0.description===n.value0.description&&X1e(e.value0.id)(n.value0.id)&&e.value0.isNew===n.value0.isNew&&e.value0.name===n.value0.name&&Z1e(e.value0.tierSelector)(n.value0.tierSelector)&&K1e(e.value0.view)(n.value0.view):!1}}},pcn=_e(mcn),_cn=function(e){return e.maxActivities-ha(e.activities)|0},lye=function(e){if(e.editor instanceof Zg||e.editor instanceof Qb)return!1;if(e.editor instanceof hd||e.editor instanceof dd)return!0;throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.Extracurriculars (line 352, column 15 - line 356, column 21): "+[e.editor.constructor.name])},dcn=function(e){return function(n){if(n instanceof sx&&nye(lye)(e)){var t=Yln(ou(e.activities))(n.value0.index);if(n.value0.index instanceof d&&t instanceof d){var a=ix(e)(new d(t.value0));return Ru({activities:e.activities,activitiesToDestroy:e.activitiesToDestroy,attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:new dd({index:n.value0.index.value0,state:a})})}var a=ix(e)(C.value);return Ru({activities:e.activities,activitiesToDestroy:e.activitiesToDestroy,attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:new hd(a)})}if(n instanceof sx)return Ru(e);if(n instanceof vH&&nye(lye)(e))return Ru({activities:e.activities,activitiesToDestroy:e.activitiesToDestroy,attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:new Qb({activity:n.value0.activity})});if(n instanceof vH)return Ru(e);if(n instanceof mH)return Ru({activities:e.activities,activitiesToDestroy:e.activitiesToDestroy,attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:Zg.value});if(n instanceof fx){var r=function(l){return Ru({activitiesToDestroy:e.activitiesToDestroy,attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:Zg.value,activities:l(e.activities)})},o=function(l){return r(function(c){return Ee(c)(l(c))})};if(e.editor instanceof Qb)return Ru({attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:Zg.value,activities:Xln(e.editor.value0.activity)(e.activities),activitiesToDestroy:Si(e.editor.value0.activity)(e.activitiesToDestroy)});var t=function(l){var c=function(f){return Ru(e)};if(e.editor instanceof hd){var s=ux(e.editor.value0);return s instanceof d?r(function(f){return tye(f)([s.value0])}):c(!0)}return c(!0)};if(e.editor instanceof dd){var i=ux(e.editor.value0.state);return i instanceof d?o(lF(e.editor.value0.index)(i.value0)):t(!0)}return t(!0)}if(n instanceof Xg&&n.value0 instanceof xI)return sH(aye(rye(mH.value)))(function(){return Ru(e)});if(n instanceof Xg&&n.value0 instanceof lx)return sH(aye(rye(fx.value)))(function(){return Ru(e)});if(n instanceof Xg)return e.editor instanceof dd?fH(oye(Xg.create)(cH(e.editor.value0.state)(n.value0)))(function(u){return Ru({activities:e.activities,activitiesToDestroy:e.activitiesToDestroy,attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:new dd({index:e.editor.value0.index,state:u})})}):e.editor instanceof hd?fH(oye(Xg.create)(cH(e.editor.value0)(n.value0)))(function(u){return Ru({activities:e.activities,activitiesToDestroy:e.activitiesToDestroy,attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:new hd(u)})}):Ru(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])}},hcn=function(e){return lp(function(){return e.compactView?"container-xs":""}())([Vb("font-weight-bold fw-bold")("Add up to "+(iye(e.maxActivities)+" unique extracurricular activities")),lp("row")(Zln(tye(e.activities)([e.addNewButton(_cn(e))(e.onStartEditing)]))(function(n){return Kln(Xs("col-12 col-md-6 d-flex")(n))})),e.hiddenInputs,En(!e.compactView)(Vb("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. `))])},gcn=10,Dcn=function(e){return function(n){if(e>0)return Xs("card")(lp("card-body")([Xs("align-middle pb-2")(ecn("btn btn-link p-0 t--add-new-ec")({type:"button",onClick:n})([ncn("fe fe-plus")(nn),tcn("")("Add new activity")])),acn("")("You can add "+(iye(e)+(" more "+(function(){var t=e===1;return t?"activity":"activities"}()+". Your activities will show up on this page."))))]));if(je)return nn;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])}},ycn=function(e){return function(n){return function(t){var a=function(c){var s=uye(wu(Qln)(T_))(uye(wu(rcn)(ev))(wu(ocn)(kl)));return function(f){return f>1}(ha(kr(s(c))(n.activities)))},r=function(c){return icn("")({type:"hidden",name:c,value:ucn(lg(n.activities))})},o=function(){return n.editor instanceof dd?uy("ec-editor-modal")(lH(e)(n.editor.value0.state)(function(c){return t(Xg.create(c))})):n.editor instanceof hd?uy("ec-editor-modal")(lH(e)(n.editor.value0)(function(c){return t(Xg.create(c))})):nn}(),i=function(c){return function(s){if(pcn(n.editor)(new Qb({activity:s})))return Xs("card mx-auto")(lp("card-body")([Vb("")("Delete this activity?"),lp("row")([Xs("col-12 col-sm-6 text-center")(cx("btn btn-secondary px-4 text-nowrap t--no-dont-remove")({type:"button",onClick:LI(t)(mH.value)})("Keep it")),Xs("col-12 col-sm-6 text-center mt-2 mt-md-0")(cx("btn btn-danger px-4 text-nowrap t--yes-remove")({type:"button",onClick:LI(t)(fx.value)})("Delete it"))])]));if(je){var f=function(_){return _===""?Vb("text-muted")("No activity name yet"):Vb("")(_)},v=function(){if(n.compactView)return"";if(je)return Ee("")(RE(s));throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.Extracurriculars (line 267, column 7 - line 269, column 69): "+[])}(),m=function(){var _=Yr(v)>100;return _?fc(100)(v)+"\u2026":v}();return lcn("card d-flex w-100 t--ec-activity")({_data:ccn({"test-id":"ec-selector-activity-view"})})([Xs("card-body pb-0")(lp("row")([lp("col-12")([En(a(s))(Xs("d-flex justify-content-end")(lp("badge badge-warning bg-warning text-dark")([scn("")("Smart Alert: "),Y("this activity appears twice")]))),f(T_(s)),fcn("")([Y(C_(ev(s))),Y(" | Tier "),Y(ey(kl(s)))])]),Xs("col-12 mt-n2")(Vb("text-muted small")(m))])),Xs("card-footer border-top-0 pt-0")(lp("row")([Xs("col col-6 ml-sm-auto")(cx("btn btn-link p-0 t--edit")({type:"button",onClick:LI(t)(new sx({index:new d(c)}))})("Edit")),Xs("col col-6 ml-sm-auto text-right")(cx("btn btn-link btn-secondary-outline p-0 t--remove")({type:"button",onClick:LI(t)(new vH({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=yw(i)(n.activities),l={activities:u,ecActivities:n.activities,hiddenInputs:Je(n.attributesPath)(r),addNewButton:Dcn,maxActivities:n.maxActivities,compactView:n.compactView,onStartEditing:LI(t)(new sx({index:C.value})),redirectUrlOverride:C.value};return ce([n.defaultView(l),o])}}},cye=el("Extracurriculars")(function(e){return{init:Ru({activities:e.extracurriculars,attributesPath:C.value,attributesFormGroup:"",activitiesToDestroy:[],editor:Zg.value,compactView:e.compactView,maxActivities:Ee(gcn)(e.maxActivities),defaultView:Ee(hcn)(e.defaultView)}),view:function(n){return ycn(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 fH(dcn(n)(t))(function(a){return sH(function(){return t instanceof fx?fr(vcn(e.onChange(a.activities))):Ru(Ce)}())(function(){return Ru(a)})})}}}});var bcn=un(),Rcn=re(Ti),wcn=Yn(W)()(),sye=Vpe($pe)()(),fye=G$(ru),Yb=B(W),jI=B(L),vye=K(Pt),Scn=mg($n(Qn()(E({reflectSymbol:function(){return"imageUrl"}})(ue)(E({reflectSymbol:function(){return"schoolId"}})(ps)(E({reflectSymbol:function(){return"schoolName"}})(ue)(E({reflectSymbol:function(){return"score"}})(Mt)(he))))))),pH=Z(ge);var _H=B(ae),Ecn=Z(J),Ccn=Bn(Mn),vx=Ccn(qt),mx=Xr(at),px=z(na),gd=z(_t),Icn=Er(L),dH=$re(L)()(),Tcn=la(fu),Fcn=lv(),Mcn=en(ae),Gcn=re(Z1),Acn=ka(sr(ea)),xcn=O1(W)()(),mye=Dn(gn),hH=hn(mye)(mn(vn)),pye=_n(pn),gH=dn(pye),_ye=Rn(bn),DH=yn(_ye),Lcn=ul(ae),_x=la(vr),yH=An(no),dx=function(){function e(){}return e.value=new e,e}(),hx=function(){function e(){}return e.value=new e,e}(),bH=function(){function e(){}return e.value=new e,e}(),gx=function(){function e(){}return e.value=new e,e}(),jcn=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),dye=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),hye=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),gye=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Dye=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),yye=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Kg=function(){function e(){}return e.value=new e,e}(),bye=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Ncn={to:function(e){if(e instanceof H)return dx.value;if(e instanceof p&&e.value0 instanceof H)return hx.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof H)return bH.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p)return gx.value;throw new Error("Failed pattern match at Guidance.LiteChancingCta (line 85, column 1 - line 85, column 39): "+[e.constructor.name])},from:function(e){if(e instanceof dx)return new H(fe.value);if(e instanceof hx)return new p(new H(fe.value));if(e instanceof bH)return new p(new p(new H(fe.value)));if(e instanceof gx)return new p(new p(new p(fe.value)));throw new Error("Failed pattern match at Guidance.LiteChancingCta (line 85, column 1 - line 85, column 39): "+[e.constructor.name])}},Pcn=wn(Ncn)(hH(hH(hH(mye)(pye))(gH))(gH))(DH(DH(DH(_ye))))(gH),Rye=function(e){if(e instanceof dx)return"Female";if(e instanceof hx)return"Male";if(e instanceof bH)return"Non-binary / third gender";if(e instanceof gx)return"Gender not specified";throw new Error("Failed pattern match at Guidance.LiteChancingCta (line 88, column 20 - line 92, column 43): "+[e.constructor.name])},wye=function(e){return Ee(e)(ou(Ei("|")(e))(1))},Sye=function(e){return{label:e.name,value:bcn(e.slug)+("_"+Rcn(e.id))}},Ocn=function(){var e=Ei("_");return function(n){return function(t){return ou(t)(1)}(e(function(t){return t.value}(n)))}}(),Eye=function(e){return wcn(e.className)({style:fn({flexBasis:"46%"})})([e.label,sye({min:200,max:800,step:10,value:fye(200)(800)(e.score),trackColor:"#008CFD",fillBefore:!0,ariaLabel:"SAT "+(e.ariaLabelPartial+" score slider"),onChange:e.onChange,onFinalChange:e.onFinalChange}),Yb("mt-2 d-flex flex-row justify-content-between")([jI("")("200"),jI("")("800")])])},kcn=to(Lr(Lo))("blog_lite_chancing_path")(function(e){return function(n){return vye(e(n))(Wr(function(t){return Scn("Lite Chancing Response")(t)(function(a){return new d(pH(a)(function(r){return{imageUrl:r.imageUrl,schoolId:r.schoolId,schoolName:r.schoolName,score:new d(r.score)}}))})}))}});var Ucn=function(e){return Yb(e.className)([e.label,_H("t--lite-chancing-cta-left-sidebar-gpa")(sye({min:1,max:4,step:.1,value:fye(1)(4)(e.gpa),trackColor:"#008CFD",fillBefore:!0,ariaLabel:"GPA slider",onChange:e.onChange,onFinalChange:e.onFinalChange})),Yb("mt-2 d-flex flex-row justify-content-between")([jI("")("1.0"),jI("")("4.0")])])},Hcn=function(e){return e instanceof dx?"female":e instanceof hx?"male":"other"},Cye=function(e){return function(n){var t=Fo(function(o){return Ecn(Ocn(o))(kF)})(e),a=Hcn(n.genderOption),r=lg(n.ecs);return vx(mx(vye(kcn({schoolIds:t,gpa:n.gpa,satMath:n.satMath,satVerbal:n.satVerbal,gender:a,ecs:r}))(function(o){return px(new rt(new bye(o)))})))(function(){return gd({ecs:n.ecs,genderOption:n.genderOption,gpa:n.gpa,redirectUrlOverride:n.redirectUrlOverride,satMath:n.satMath,satVerbal:n.satVerbal,chancingIsLoading:!0})})}},Iye=function(e){return Cye(e.schoolItems)({gpa:3.7,satMath:720,satVerbal:800,genderOption:gx.value,ecs:[],chancingIsLoading:!1,redirectUrlOverride:e.redirectUrlOverride})},Tye=function(e){return function(n){return function(t){if(t instanceof rt&&t.value0 instanceof dye)return vx(mx(px(new rt(Kg.value))))(function(){return gd({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 rt&&t.value0 instanceof gye)return vx(mx(px(new rt(Kg.value))))(function(){return gd({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 rt&&t.value0 instanceof hye)return gd({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 rt&&t.value0 instanceof Dye)return gd({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 rt&&t.value0 instanceof yye)return gd({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 rt&&t.value0 instanceof Kg)return Cye(e.schools)(n);if(t instanceof rt&&t.value0 instanceof bye)return vx(mx(px(new Qt(new jcn(t.value0.value0)))))(function(){return gd({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 gd(n);throw new Error("Failed pattern match at Guidance.LiteChancingCta (line 157, column 21 - line 183, column 15): "+[t.constructor.name])}}},Fye=g3,Bcn=function(e){return function(n){return ce([Yb("t--lite-chancing-mobile-and-left-sidebar-extracurriculars d-flex"+(" flex-row justify-content-between align-items-center "+e.className))([Icn("mt-3")("Extracurriculars"),_H("")(En(Ri(n.ecActivities))(dH("t--lite-chancing-mobile-and-left-sidebar-add-ec")(F_("Add extracurriculars"))({href:"#",onClick:Tcn(function(t){return function(){return Fcn(t)(),n.onStartEditing(t)}})})("+ add")))]),Yb("mt-0 pb-3 mb-2")(pH(n.ecActivities)(function(t){return Mcn("badge badge-soft-secondary bg-secondary-soft small mr-1"+(" t--lite-chancing-cta-left-sidebar-add-criteria-"+C_(ev(t))))(Y(Gcn(ev(t))))})),En(Acn(Ri)(n.ecActivities))(_H("card bg-white border-dashed")(Yb("card-body "+e.className)([Y("To add more ECs & see chances for 1,500 schools, "),dH("t--lite-chancing-mobile-and-left-sidebar-create-a-profile")(tv)({href:Ee(Fye)(e.redirectUrlOverride)})("create a full profile")]))),jI("mb-2")("")])}};var Mye=function(e){return function(n){return function(t){return t({redirectUrl:Ee(Fye)(e.redirectUrlOverride),ecSelector:function(a){return cye({extracurriculars:e.ecs,compactView:!0,onChange:function(r){return function(){return n(new rt(new dye(r)))(),a.onChange()}},maxActivities:new d(1),defaultView:new d(Bcn({redirectUrlOverride:e.redirectUrlOverride,className:a.className})),featureFlags:{showGenerateEcDescription:!1}})},genderDropdown:function(a){return y3("t--lite-chancing-cta-gender gender-dropdown w-100")({toggleClass:"btn btn-outline-secondary mw-100 text-truncate "+a.className,toggleContent:Y(Rye(e.genderOption)),contentId:"gender-dropdown-options-1",content:function(r){return xcn(r.className+" dropdown-menu shadow")({id:r.contentId})(pH(Pcn)(function(o){return Lcn("hover-bg-light")(dH("btn btn-link text-body d-block text-left t--lite-chancing-cta-gender-option")(tv)({onClick:_x(function(){return n(new rt(new gye(o)))(),a.onChange()})})(Rye(o)))}))},ariaLabelInput:F_("Gender dropdown")})},gpaSlider:function(a){return Ucn({gpa:e.gpa,className:a.className,onChange:yH(n)(function(r){return rt.create(hye.create(r))}),onFinalChange:_x(function(){return n(new rt(Kg.value))(),a.onChange()}),label:a.label(e.gpa)})},requestChances:n(new rt(Kg.value)),satMathScoreSlider:function(a){return Eye({score:e.satMath,onChange:yH(n)(function(r){return rt.create(Dye.create(r))}),onFinalChange:_x(function(){return n(new rt(Kg.value))(),a.onChange()}),label:a.label(Ur(e.satMath)),className:a.className,ariaLabelPartial:"math"})},satVerbalScoreSlider:function(a){return Eye({score:e.satVerbal,onChange:yH(n)(function(r){return rt.create(yye.create(r))}),onFinalChange:_x(function(){return n(new rt(Kg.value))(),a.onChange()}),label:a.label(Ur(e.satVerbal)),className:a.className,ariaLabelPartial:"verbal"})}})}}};var RH=function(){function e(){}return e.value=new e,e}(),wH=function(){function e(){}return e.value=new e,e}(),SH=function(){function e(){}return e.value=new e,e}(),EH=function(){function e(){}return e.value=new e,e}(),CH=function(){function e(){}return e.value=new e,e}();var eD=function(e){if(e instanceof RH)return"much lower than average";if(e instanceof wH)return"lower than average";if(e instanceof SH)return"about average";if(e instanceof EH)return"above average";if(e instanceof CH)return"among the highest";throw new Error("Failed pattern match at Common.Quintile (line 28, column 15 - line 33, column 28): "+[e.constructor.name])},Dd=function(e){if(e<.2)return RH.value;if(e<.4)return wH.value;if(e<.6)return SH.value;if(e<.8)return EH.value;if(je)return CH.value;throw new Error("Failed pattern match at Common.Quintile (line 19, column 1 - line 19, column 37): "+[e.constructor.name])};var Jcn=ca(W)()(),Wcn=Z(J),qcn=Xn(W)()(),zcn=la(vr),IH=ta(L),$cn=K(xv),Vcn=z(X0),Gye=B(W),Aye=du(L),xye=B(ae),Qcn=mi(ae)()(),Ycn=en(L),Xcn=en(W),Lye=B(L);var Zcn=dr(za),Kcn=function(e){return function(n){var t=function(a){if(n instanceof fN)return Jcn(a)({href:Zue(Wcn(n.value0)(function(r){return{slug:r.slug,tab:Yi.value}}))});if(n instanceof que)return qcn(a)({onClick:zcn(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)([IH("material-symbol mr-2")("tune"),Y(" Simulate chances")])}},jye=Kcn("btn btn-outline-primary d-flex align-items-center justify-content-center px-4"),yd=function(e){var n=B(e);return function(t){var a=B(t);return function(r){return ce(UD($cn(r)(function(o){return Vcn([Gye("row align-items-center")([n("col text-nowrap")(o.title),a("col-auto font-weight-semibold")(o.value)]),Ha("")])})))}}},nD=function(e){return B(e)("t--subtitle")},esn=nD(W),Xb=function(e){var n=kh(e);return function(t){return function(a){return esn([ce(n(t)),Y(" "),Aye("text-secondary")(a)])}}},Nye=function(e){var n=B(e);return function(t){return function(a){return function(r){return Gye("row "+a)([xye("col-auto")(IH(r+(" fe large fe-"+t.icon))("")),n("col pl-0")(t.body)])}}}},TH=function(e){var n=Nye(e);return function(t){return n(t)("mb-3")("")}},Pye=function(e){var n=Nye(e);return function(t){return n(t)("mb-4")("text-secondary font-weight-bold fw-bold")}},Oye="bg-very-light-grey d-inline-block rounded-pill border small mr-2 mb-2 py-2 px-3",NI=function(e){return function(n){return xye(Oye)(Qcn({placement:Us,overlay:Ycn("text-secondary")(n),overlayStyle:fn({width:"15rem"})})(Xcn("d-inline-flex align-items-center")([Y(e),IH("d-inline-block fe fe-help-circle ml-2 text-secondary")("")])))}},vl=Lye(Oye);var Ya=function(e){return Lye("x-large "+e)};var Dx=function(e){if(e.totalUndergrads<200)return"fewer than 200";if(je)return Fs(Zcn(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 yx=Aye("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 nsn=ta(ae),tsn=ca(ae)()(),Zb=function(){function e(){}return e.value=new e,e}(),FH=function(){function e(){}return e.value=new e,e}(),PI=function(){function e(){}return e.value=new e,e}(),x0=function(e){return function(n){var t=function(o){return nsn("fe fe-external-link "+o)(nn)},a=N2(n),r=Y(Ee(a.siteName)(e.text));return tsn(e.className)({href:a.url,target:"_blank",rel:"noopener"})(function(){if(e.icon instanceof Zb)return r;if(e.icon instanceof FH)return ce([t("mr-1 large"),r]);if(e.icon instanceof PI)return ce([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])}())}},kye=function(){return x0({className:"text-body mt-1 d-inline-block",icon:Zb.value,text:C.value})}();var isn=B(W),usn=ca(L)()(),AH=function(e){return e.chancing.endorsed?nn:isn("my-1 ml-1 small text-gray-800")([Y("Chancing is not endorsed by "),Y(e.name),Y("."),Je(e.chancing.moreInfoLink)(function(n){return ce([Y(" If interested in applying, learn more about "),usn("")({href:n})("how to prepare ")])})])};var xH=Z(J),Hye=Xn(L)()(),LH=An(dt),dsn=Xn(ae)()(),hsn=B(W),Bye=en(L);var bd=function(){function e(){}return e.value=new e,e}(),Kb=function(){function e(){}return e.value=new e,e}(),eR=function(){function e(){}return e.value=new e,e}(),Rd=function(){function e(){}return e.value=new e,e}(),nR=function(){function e(){}return e.value=new e,e}(),tR=function(){function e(){}return e.value=new e,e}(),aR=function(){function e(){}return e.value=new e,e}(),rR=function(){function e(){}return e.value=new e,e}(),wd=function(){function e(){}return e.value=new e,e}(),Jye={to:function(e){if(e instanceof H)return bd.value;if(e instanceof p&&e.value0 instanceof H)return Kb.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof H)return eR.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof H)return Rd.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof H)return nR.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0 instanceof H)return tR.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0 instanceof H)return aR.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0 instanceof H)return rR.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0 instanceof p)return wd.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 bd)return new H(fe.value);if(e instanceof Kb)return new p(new H(fe.value));if(e instanceof eR)return new p(new p(new H(fe.value)));if(e instanceof Rd)return new p(new p(new p(new H(fe.value))));if(e instanceof nR)return new p(new p(new p(new p(new H(fe.value)))));if(e instanceof tR)return new p(new p(new p(new p(new p(new H(fe.value))))));if(e instanceof aR)return new p(new p(new p(new p(new p(new p(new H(fe.value)))))));if(e instanceof rR)return new p(new p(new p(new p(new p(new p(new p(new H(fe.value))))))));if(e instanceof wd)return new p(new p(new p(new p(new p(new p(new p(new p(fe.value))))))));throw new Error("Failed pattern match at Sem.SchoolDetails.Edit.Section (line 53, column 1 - line 53, column 34): "+[e.constructor.name])}},Wye=function(e){return!(e instanceof wd)},qye=function(e){if(e instanceof bd)return"Basic Info";if(e instanceof eR)return"Admissions";if(e instanceof Rd)return"Costs";if(e instanceof nR)return"Enrollment";if(e instanceof tR)return"Application Requirements";if(e instanceof aR)return"Academic Offerings";if(e instanceof rR)return"Chancing";if(e instanceof Kb)return"Header Image";if(e instanceof wd)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])},BI=function(e){if(e instanceof bd)return"basic";if(e instanceof eR)return"admissions";if(e instanceof Rd)return"costs";if(e instanceof nR)return"enrollment";if(e instanceof tR)return"admission-requirements";if(e instanceof aR)return"academic-offerings";if(e instanceof rR)return"chancing";if(e instanceof Kb)return"header-image";if(e instanceof wd)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])},zye=function(e){return function(n){return function(t){return xH(e)(function(a){return Hye("btn btn-outline-primary t--text-edit-"+BI(n))({onClick:LH(a)(n)})(t)})}}},$ye=function(e){return function(n){return xH(e)(function(t){return dsn("btn btn-outline-primary t--edit-"+BI(n))({onClick:LH(t)(n)})(hsn("d-flex align-content-center")([Bye("material-symbol x-large")("edit"),Bye("ml-2")("Edit")]))})}},pi=function(e){return function(n){return xH(e)(function(t){return Hye("btn btn-link p-0 material-symbol x-large t--edit-"+BI(n))({onClick:LH(t)(n)})("edit")})}};var gsn=_e(xt(HK)),Dsn=Bn(Mn)(xe),ysn=Qr(Io),bsn=rc(Te)(NM),Vye=K(xe),Rsn=z(Un),dv=B(W),Qye=Ct(L),wsn=du(L),Yye=en(L),Xye=B(ae),Zye=Yn(L)()(),Ssn=ta(L),Esn=Kn(L),Csn=j(ge),jH=function(e){var n=gsn(e.school.appGroup)(new d(JK)),t=function(){if(e.school.admissions.reqClassRank instanceof C||e.school.admissions.reqClassRank instanceof d&&e.school.admissions.reqClassRank.value0 instanceof ci)return!1;if(e.school.admissions.reqClassRank instanceof d&&e.school.admissions.reqClassRank.value0 instanceof Tl||e.school.admissions.reqClassRank instanceof d&&e.school.admissions.reqClassRank.value0 instanceof Sc)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(Tl.value)(e.school.admissions.reqStandardTests),r=ce([pa(Dsn(ysn(bsn(a)([Tl.value,Sc.value])))(function(){return Vye(e.school.admissions.fracSubmittedSat)(function(o){return Vye(e.school.admissions.fracSubmittedAct)(function(i){return Rsn(dv("row mb-4")([dv("col-12 text-nowrap mb1")([dv("d-flex align-items-center mb-4")([Qye("mr-2 mb-0")("Tests typically submitted"),wsn("")(` 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. `)]),dv("")([Y("SAT: "),Yye("font-weight-semibold")(xa(o))]),Xye("progress progress-md mt-3 mt-2")(Zye("progress-bar")({style:fn({width:aE(o)})})("")),Ha(""),dv("")([Y("ACT: "),Yye("font-weight-semibold")(xa(i))]),Xye("progress progress-md mt-3")(Zye("progress-bar")({style:fn({width:aE(i)})})(""))])]))})})})),dv("d-flex align-items-center")([Ssn("fe fe-info large pr-2")(""),dv("")([Y(" Policies can change. Please confirm by looking at "),x0({className:"",icon:Zb.value,text:new d("this school\u2019s website.")})(e.school.urls.main)])])]);return dv("card")([dv("card-body")([dv("d-flex align-items-center justify-content-between mb-4")([Esn("my-0 mr-3 flex-grow-1")("Applications"),pa(pi(e.onEdit)(tR.value))]),Qye("mb-4")("How to apply"),dv("mb-4")(Csn(vl)([function(){return n?"Accepts Common App":"Doesn\u2019t accept Common App"}(),Fee(a),function(){var o=Ee(Tl.value)(e.school.admissions.reqRecLetters);if(o instanceof ci)return"Rec letters not used";if(o instanceof Tl)return"Rec letters optional";if(o instanceof Sc)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(Tl.value)(e.school.admissions.reqToefl);if(o instanceof ci)return"TOEFL not used (international applicants)";if(o instanceof Tl)return"TOEFL optional (international applicants)";if(o instanceof Sc)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])])},Kye=function(e){return jH(e)};var ebe=dr(za),Isn=Ho(y6()(YT({reflectSymbol:function(){return"p25"}})()(YT({reflectSymbol:function(){return"p75"}})()(D6)(Vu))(Vu))),Bi=B(W),Sd=B(ae),nbe=Ct(L),hv=Vn(L),tbe=qn(Na),abe=j(J),bx=Is(L),Tsn=function(e){return ebe(e.p25+e.p75|0)(2)},rbe=function(e){if(e instanceof d)return xa(e.value0);if(e instanceof C)return"Not Reported";throw new Error("Failed pattern match at SchoolDetails.AdmissionRequirements (line 131, column 37 - line 133, column 28): "+[e.constructor.name])},NH=function(e){return Sh(",")("")(e)},oR=function(e){if(e instanceof d)return NH(Fs(e.value0.p25)+(" - "+Fs(e.value0.p75)));if(e instanceof C)return"Not Reported";throw new Error("Failed pattern match at SchoolDetails.AdmissionRequirements (line 136, column 33 - line 138, column 28): "+[e.constructor.name])},Fsn=function(e){return function(n){return Tsn(Isn(e)(n))}},Msn=function(e){return function(n){return{p25:e.p25+n.p25|0,p75:e.p75+n.p75|0}}},Gsn=ce([Bi("row")([Sd("col-12 col-md-7")(Er(L)("my-5")("Wondering your admission chance to this school? Calculate your chance now")),Sd(" col-12 col-md-5 my-4")(CG()({text:"Calculate your admission chance",className:"btn btn-primary btn-block"}))])]),Asn=function(e){if(e instanceof d)return NH(Fs(ebe(e.value0.p25+e.value0.p75|0)(2)));if(e instanceof C)return"Not Reported";throw new Error("Failed pattern match at SchoolDetails.AdmissionRequirements (line 126, column 36 - line 128, column 28): "+[e.constructor.name])},xsn=function(e){var n=function(t){return Sd("card bg-white")(Bi("card-body")(t))};return Sd("row")(Bi("col-12")([n([nbe("")("SAT"),Bi("row")([Bi("col col-md-6")([hv("")("Average SAT "),Ya("")(NH(ke("Not Reported")(Fs)(tbe(abe(Fsn)(e.admissions.satMath))(e.admissions.satVerbal))))]),Bi("col col-md-6")([hv("")("SAT 25th-75th"),Ya("")(oR(tbe(abe(Msn)(e.admissions.satMath))(e.admissions.satVerbal)))])]),Bi("row")([Bi("col col-md-6")([hv("mt-5")("Students Submitting SAT"),Ya("")(rbe(e.admissions.fracSubmittedSat))])]),Bi("row")([Bi("col col-md-6")([hv("mt-5")("Math"),bx("text-muted")("Average (25th - 75th)"),Ya("")(oR(e.admissions.satMath))]),Bi("col col-md-6")([hv("mt-5 text-nowrap")("Reading and Writing"),bx("text-muted")("Average (25th - 75th)"),Ya("")(oR(e.admissions.satVerbal))])])]),n([nbe("")("ACT"),Bi("row")([Bi("col col-md-6")([hv("")("Average ACT"),Ya("")(Asn(e.admissions.actComposite))]),Bi("col col-md-6")([hv("")("ACT 25th-75th"),Ya("")(oR(e.admissions.actComposite))])]),Sd("row")(Bi("col col-md-6")([hv("mt-5")("Students Submitting ACT"),Ya("")(rbe(e.admissions.fracSubmittedAct))])),Bi("row")([Bi("col col-md-6")([hv("mt-5")("Math"),bx("text-muted")("Average (25th - 75th)"),Ya("")(oR(e.admissions.actMath))]),Bi("col col-md-6")([hv("mt-5")("English"),bx("text-muted")("Average (25th - 75th)"),Ya("")(oR(e.admissions.actVerbal))])])])]))},Lsn=function(e){return Sd("card")(Bi("card-body")([hv("")("Acceptance Rate"),Ya("")(ke("Not reported")(function(n){return xa(function(t){return t.value}(n))})(e.admissions.acceptanceRate))]))},jsn=function(e){return Sd("row")(Sd("col-12")(Lsn(e)))},obe=function(e){return ce([jsn(e.school),xsn(e.school),Gsn,jH(e)])};var Nsn=en(L),Psn=re(z2),PH=function(e){var n=function(t){return function(a){return Nsn("badge font-weight-bold fw-bold py-2 "+t)(a)}};if(e.strategy instanceof Za&&e.testPolicy instanceof d&&e.testPolicy.value0 instanceof ci)return n("badge-apply-test-optional")("Test-blind admissions");if(e.testPolicy instanceof d&&e.testPolicy.value0 instanceof ci)return Ao($o)("Received strategy, "+(Psn(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 Za)return n("badge-apply-test-optional")("Apply test optional");if(e.strategy instanceof br&&e.satOrigin instanceof d&&e.satOrigin.value0 instanceof X1)return n("badge-apply-with-sat")("Apply with SAT (projected from PSAT)");if(e.strategy instanceof br)return n("badge-apply-with-sat")("Apply with SAT");if(e.strategy instanceof Jr)return n("badge-apply-with-act")("Apply with ACT");throw new Error("Failed pattern match at Chancing.ApplicationStrategy (line 21, column 13 - line 37, column 51): "+[e.strategy.constructor.name,e.satOrigin.constructor.name,e.testPolicy.constructor.name])};var Osn=j($f),ksn=qn(Na),Usn=j(J),OH=B(ae),ibe=B(W),ube=Ct(L),Hsn=Cs(ae)()(),kH=en(L),lbe=re(ze),cbe=ta(L),Bsn=un(),sbe=Z(J),Jsn=Z($f);var UH=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),fbe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),HH=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),iR=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}(),uR=function(){function e(){}return e.value=new e,e}(),lR=function(){function e(){}return e.value=new e,e}(),cR=function(){function e(){}return e.value=new e,e}(),Wsn=function(e){return e};var Rx={map:function(e){return function(n){return Osn(function(t){return{regular:e(t.regular),simulated:e(t.simulated)}})(n)}}},vbe=function(e){return VS(function(n){return ksn(Usn(function(t){return function(a){return a-t|0}})(n.regular.score))(n.simulated.score)})(e)},JI=function(e){return OH("card")(OH("card-body")(ibe("row")([OH("col-8 "+function(){return e.narrowLayout?"":"order-1"}())(ube("")("Chancing for this school is coming soon")),ibe("col-4 order-md-0 d-flex flex-column align-items-center "+function(){return e.narrowLayout?"":"order-0"}())([Hsn("")({viewBox:"-100 -100 200 100"})(Jb({center:{x:0,y:0},angle0:0,angle1:Wv,innerRadius:50,outerRadius:90,fill:"#EDF2F9",stroke:{color:"#EDF2F9",width:1}})),ube("text-muted mt-2")("N/A")])])))};var wx=function(e){if(e instanceof UH)return new d(e.value0);if(e instanceof fbe)return mo(e.value0);if(e instanceof HH)return new d(Ee(e.value0.regular)(mo(e.value0.simulated)));throw new Error("Failed pattern match at Hub.Chancing (line 52, column 19 - line 55, column 101): "+[e.constructor.name])};var mbe=function(e){return function(n){return function(t){if(t instanceof zt&&t.value0>0)return kH("text-success "+e)("+"+(lbe(t.value0)+"%"));if(t instanceof zt&&t.value0<0)return kH("text-danger "+e)("-"+(lbe(-t.value0|0)+"%"));if(t instanceof zt)return nn;if(t instanceof wa)return nn;if(t instanceof rr)return kH("spinner-border spinner-border-sm text-primary "+e)("");throw new Error("Failed pattern match at Hub.Chancing (line 177, column 51 - line 182, column 85): "+[t.constructor.name])}(vbe(n))}},pbe=function(e){return function(n){return function(t){if(t instanceof zt&&t.value0>0)return cbe("fe fe-arrow-up text-success "+e)("");if(t instanceof zt&&t.value0<0)return cbe("fe fe-arrow-down text-danger "+e)("");if(t instanceof zt)return nn;if(t instanceof wa)return nn;if(t instanceof rr)return nn;throw new Error("Failed pattern match at Hub.Chancing (line 169, column 46 - line 174, column 25): "+[t.constructor.name])}(vbe(n))}},Sx=function(e){var n=function(a){return function(r){if(e.chancingState.simulation instanceof d)return new iR(e.chancingState.simulation.value0.effectiveProfile,new HH({regular:r,simulated:e.chancingState.simulation.value0.results(e.school.id)}));if(e.chancingState.simulation instanceof C)return new iR(Bsn(a),new UH(r));throw new Error("Failed pattern match at Hub.Chancing (line 117, column 7 - line 121, column 62): "+[e.chancingState.simulation.constructor.name])}},t=function(a){return Ao($o)("Both chancing data and profile are present, but chancing result is absent")({schoolId:e.school.id})(function(r){return cR.value})};if(!e.school.chancing.canChance)return cR.value;if(e.currentUser instanceof C||e.chancingState.permanentProfile instanceof C)return lR.value;if(e.chancingState.permanentProfile instanceof d){if(e.chancingState.chances instanceof wa)return t(Ce);if(e.chancingState.chances instanceof rr&&e.chancingState.chances.value0 instanceof C)return uR.value;if(e.chancingState.chances instanceof rr&&e.chancingState.chances.value0 instanceof d)return Ee(uR.value)(sbe(e.chancingState.chances.value0.value0(e.school.id))(n(e.chancingState.permanentProfile.value0)));if(e.chancingState.chances instanceof zt)return eF(t)(sbe(e.chancingState.chances.value0(e.school.id))(n(e.chancingState.permanentProfile.value0)));throw new Error("Failed pattern match at Hub.Chancing (line 100, column 36 - line 108, column 83): "+[e.chancingState.chances.constructor.name])}throw new Error("Failed pattern match at Hub.Chancing (line 88, column 21 - line 108, column 83): "+[e.constructor.name])},Ex=function(e){return Wsn(function(n){if(n instanceof UH)return wa.value;if(n instanceof fbe)return wa.value;if(n instanceof HH)return Jsn(n.value0.simulated)(function(t){return{regular:n.value0.regular,simulated:t}});throw new Error("Failed pattern match at Hub.Chancing (line 154, column 29 - line 160, column 44): "+[n.constructor.name])}(e))};var qsn=j(ge),zsn=Vn(L),_be=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 d_)return a;if(e instanceof ng||e instanceof tg)return n;if(e instanceof ag)return t;throw new Error("Failed pattern match at SchoolDetails.Chancing.Classification (line 17, column 18 - line 21, column 38): "+[e.constructor.name])}();return ce(qsn(zsn(""))(r))};var sR=B(ae),BH=ta(L),$sn=Yn(L)()(),Vsn=dr(za),Qsn=Nt(Pr),Ysn=qn(Na),Xsn=j(J),JH=B(W),Zsn=en(W),Ksn=en(L),efn=Xn(W)()(),nfn=la(vr),fR=sR("col-auto")(ca(W)()()("")({href:Ym})([BH("fe fe-edit-2")(""),Y(" edit")])),vR=function(e){if(e instanceof Em)return"success";if(e instanceof Cm)return"primary";if(e instanceof Yf)return"warning";if(e instanceof Pc)return"secondary";throw new Error("Failed pattern match at SchoolDetails.Chancing.Common (line 109, column 17 - line 113, column 28): "+[e.constructor.name])},aD=function(e){return function(n){return function(t){return sR("progress progress-"+e)($sn("progress-bar bg-"+n)({style:fn({width:aE(t)})})(""))}}},dbe=function(e){var n=function(t){return function(a){return Vsn(t+a|0)(2)}};return{p25:e.p25,p75:e.p75,p50:Qsn(e.p50)(Ysn(Xsn(n)(e.p25))(e.p75))}},Ed=function(e){return function(n){var t=vR(n),a=function(r){return function(o){return JH("d-flex large font-weight-bold fw-bold mb-3")([BH("mr-3 fe fe-"+(o+(" text-"+t)))(""),Zsn("")([Y(e),Ksn("text-"+t)(" \u2013 "+r)])])}};if(n instanceof Em)return a("above average")("check-circle");if(n instanceof Cm)return a("about average")("thumbs-up");if(n instanceof Yf)return a("below average")("trending-down");if(n instanceof Pc)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])}},WH=function(e){if(e.expanded){var n=efn("btn btn-link px-0 t--show-less")({onClick:nfn(e.onCollapse)})([Y("show less "),BH("fe fe-chevron-up")("")]);return sR("card bg-very-light-grey mt-3")(JH("card-body "+e.card.testClass)([JH("row")([sR("col")(e.card.title),sR("col-auto d-none d-md-block")(n)]),e.card.content,sR("d-md-none d-flex justify-content-end mt-3")(n)]))}if(je)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])},hbe=function(e){return Dt(e.p25)&&Dt(e.p50)&&Dt(e.p75)};var gbe=B(W),Dbe=B(L),ybe=Vn(W),bbe=Ca(L),tfn=re(ze),afn=ca(L)()(),Rbe=function(e){return function(n){var t=gbe("row mb-2")([Dbe("col-auto pr-0 large")("Your coursework"),En(e.showUpdateLinks)(fR)]),a=ybe("")([Y("Coursework rigor is "),bbe("")("very important"),Y(` for your admissions chances. Admissions officers will evaluate your coursework based on the classes available at your school, so don\u2019t worry if few or no AP or Honors classes are offered. `)]),r=function(u){return function(l){return ce([bbe("")(tfn(Ee(0)(u))),Y(" "+(l+" "))])}},o=Dbe("mb-3 large font-weight-bold fw-bold text-"+vR(n.chances.courseRigorStrength))(function(){if(n.chances.courseRigorStrength instanceof Pc)return"";if(n.chances.courseRigorStrength instanceof Yf)return"Your coursework is below average for this school";if(n.chances.courseRigorStrength instanceof Cm)return"Your coursework is about average for this school";if(n.chances.courseRigorStrength instanceof Em)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=ybe("mb-0")([Y("Read about what "),afn("")({href:"https://blog.collegevine.com/category/academics/choosing-classes/",target:"_blank"})("courses you should take"),Y(".")]);return{title:Ed("Coursework")(n.chances.courseRigorStrength),testClass:"t--course-rigor",content:ce([t,gbe("")([r(n.chancingProfile.courseRigor.ap)("AP / IB classes + "),r(n.chancingProfile.courseRigor.honors)("Honors classes + "),r(n.chancingProfile.courseRigor.collegeClasses)("College course taken at a local four-year or community college = ")]),o,a,i])}}};var eu=function(){function e(){}return e.value=new e,e}(),nu=function(){function e(){}return e.value=new e,e}(),wbe={show:function(e){if(e instanceof eu)return"SAT";if(e instanceof nu)return"ACT";throw new Error("Failed pattern match at Chancing.Guidance.Types.StandardizedTest (line 14, column 1 - line 16, column 19): "+[e.constructor.name])}};var Sbe=function(e){if(e instanceof eu)return nu.value;if(e instanceof nu)return eu.value;throw new Error("Failed pattern match at Chancing.Guidance.Types.StandardizedTest (line 24, column 1 - line 24, column 46): "+[e.constructor.name])};var rfn=Or(Te)(vt),Ebe=function(){function e(){}return e.value=new e,e}(),Cbe=function(){function e(){}return e.value=new e,e}(),Ibe=function(e){return function(n){var t=function(){if(e instanceof Ebe)return"and";if(e instanceof Cbe)return"or";throw new Error("Failed pattern match at Utils.Text (line 26, column 24 - line 28, column 19): "+[e.constructor.name])}(),a=qQ(n);return a.init.length===0?a.last:a.init.length===1?a.init[0]+(" "+(t+(" "+a.last))):rfn(", ")(a.init)+(", "+(t+(" "+a.last)))}},Tbe=function(){return Ibe(Ebe.value)}(),Fbe=function(){return Ibe(Cbe.value)}();var Zs=oa(Te)(vt),Mbe=j(um),Bu=re(ze),tu=z(Un),Cx=re(X9),Ix=K0()(),Gbe=yi({reflectSymbol:function(){return"math"}}),gv=ts(ze),Abe=ts(qi),Dv=re(Ix(yi({reflectSymbol:function(){return"act"}})(yi({reflectSymbol:function(){return"courseRigor"}})(yi({reflectSymbol:function(){return"ecActivities"}})(yi({reflectSymbol:function(){return"ecScore"}})(yi({reflectSymbol:function(){return"gpa"}})(yi({reflectSymbol:function(){return"psatPredictedCompositeSAT"}})(ns({reflectSymbol:function(){return"sat"}})(Ix(Gbe(ns({reflectSymbol:function(){return"readingWriting"}})(gv))(gv))))(gv))(Abe))(Abe))(bl(sj)))(Ix(yi({reflectSymbol:function(){return"ap"}})(yi({reflectSymbol:function(){return"collegeClasses"}})(ns({reflectSymbol:function(){return"honors"}})(gv))(gv))(gv))))(Ix(yi({reflectSymbol:function(){return"english"}})(Gbe(yi({reflectSymbol:function(){return"reading"}})(ns({reflectSymbol:function(){return"science"}})(gv))(gv))(gv))(gv))))),rD=re(wbe),ofn=uae(Mw)(q2),Cd=re(K9),mR=_e(Z9(Q1)),xbe=re(gv),Tx=Z(J),ifn=ca(L)()(),ufn=Ct(L),lfn=Vn(ae),cfn=Vn(W),sfn=Ca(L),ffn=function(e){return e},vfn=function(e){return e},qH=function(e){if(e instanceof eu)return br.value;if(e instanceof nu)return Jr.value;throw new Error("Failed pattern match at SchoolDetails.Chancing.Guidance (line 551, column 18 - line 553, column 22): "+[e.constructor.name])},mfn=function(e){if(e instanceof br)return"with SAT";if(e instanceof Jr)return"with ACT";if(e instanceof Za)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])},WI=function(e){return function(n){return Zs(["Your simulated chances of admission ",Tbe(Mbe(mfn)(VQ(e)(n)))," are very close."])}},Lbe=60,yv=function(e){return function(n){return Ao($o)("SchoolDetails.Chancing.Guidance: Invalid state: "+e)(n)(function(t){return C.value})}},jbe=3,qI=du(L)("text-secondary ml-1")(Zs(["If your SAT or ACT scores fall within ",Bu(Lbe)," points of the 25th percentile score (SAT) or ",Bu(jbe)," points of the 25th percentile score (ACT)"," for accepted students at a given college,"," then you should go ahead and submit them."])),Fx=function(e){return ce([Y(Zs([WI(Za.value)(_h(qH(e.standardizedTest)))," But because your score ",Bu(e.actualScore)," is ",function(){if(e.recommendedStrategy instanceof br||e.recommendedStrategy instanceof Jr)return"higher";if(e.recommendedStrategy instanceof Za)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 ",Bu(e.guidanceScore)])),qI,Y(Zs([", we recommend you apply ",function(){if(e.recommendedStrategy instanceof br)return"with SAT";if(e.recommendedStrategy instanceof Jr)return"with ACT";if(e.recommendedStrategy instanceof Za)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])}(),"."]))])},pfn=function(e){return function(n){return function(t){return function(a){var r=mj(n),o=E_(n);if(e instanceof p0&&e.value0 instanceof Sm&&r instanceof d&&o instanceof d)return tu({title:"Applying test-optional should be best for you",body:ce([Y(Zs([WI(Za.value)(t1(br.value)([Jr.value]))," But because your SAT score ",Bu(r.value0)," is lower than ",Bu(t)])),qI,Y(Zs([" and your ACT score ",Bu(o.value0)," is lower than ",Bu(a)])),qI,Y(", we recommend you apply test-optional.")])});if(e instanceof p0&&e.value0 instanceof Sm)return yv("\u2018Apply test optional too close with SAT + ACT\u2019 recommended but not both tests reported.")({guidance:Cx(e),profile:Dv(n)});if(e instanceof p0&&r instanceof C&&o instanceof C)return yv("\u2018Apply test optional too close with\u2026\u2019 recommended but no other tests reported.")({guidance:Cx(e),profile:Dv(n)});if(e instanceof p0&&e.value0 instanceof Vf&&r instanceof d)return tu({title:"Applying test-optional should be best for you",body:Fx({standardizedTest:eu.value,actualScore:r.value0,guidanceScore:t,recommendedStrategy:Za.value})});if(e instanceof p0&&e.value0 instanceof Vf&&r instanceof C)return yv("\u2018Apply test optional (SAT too close)\u2019: No SAT reported.")({guidance:Cx(e),profile:Dv(n)});if(e instanceof p0&&e.value0 instanceof Qf&&o instanceof d)return tu({title:"Applying test-optional should be best for you",body:Fx({standardizedTest:nu.value,actualScore:o.value0,guidanceScore:a,recommendedStrategy:Za.value})});if(e instanceof p0&&e.value0 instanceof Qf&&o instanceof C)return yv("\u2018Apply test optional (ACT too close)\u2019: No ACT reported.")({guidance:Cx(e),profile:Dv(n)});if(e instanceof lE&&r instanceof C&&o instanceof C)return tu({title:"Applying test-optional should be best for you",body:Y(Zs(["You\u2019re good to apply without a test score."," If you later decide to take a test, a score of ",Bu(t),"+ for SAT or ",Bu(a),"+ for ACT will make your chance higher at this school."]))});if(e instanceof lE)return tu({title:"Applying test-optional should be best for you",body:Y(Zs(["Your simulated chances of admission with a test-optional"," application are significantly higher than with ",function(){if(r instanceof d&&o instanceof d)return"SAT and ACT";if(r instanceof d&&o instanceof C)return"SAT";if(r instanceof C&&o instanceof d)return"ACT";if(r instanceof C&&o instanceof C)return lc("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])}}}},_fn=function(e){return function(n){return function(t){return function(a){var r=function(f){return"Applying with "+(rD(f)+" should be best for you")},o=function(f){return ce([Y(Zs([Uv(WI)(function(){return f.includeTestOptional?new Ue(Za.value,t1(br.value)([Jr.value])):new Ue(qH(f.stronger.test),Mbe(qH)(_h(f.weaker.test)))}())," But because your ",rD(f.stronger.test)," score ",Bu(f.stronger.actualScore)," is higher than ",Bu(f.stronger.guidanceScore)])),qI,Y(Zs([" and your ",rD(f.weaker.test)," score ",Bu(f.weaker.actualScore)," is lower than ",Bu(f.weaker.guidanceScore)])),qI,Y(Zs([", we recommend you apply with ",rD(f.stronger.test),"."]))])},i=mj(n),u=E_(n),l=function(f){return function(v){return ofn(t1(f)([v]))}},c=function(f){return"Your simulated chances of admission with "+(rD(f)+(" are significantly higher than with a test-optional"+(" application and with "+(rD(Sbe(f))+"."))))},s=function(f){return Y("Your simulated chances of admission with "+(rD(f)+" are significantly higher than with a test-optional application."))};if(e instanceof Nc&&e.value0 instanceof Sm&&i instanceof d&&u instanceof d)return tu({title:"You can apply with either SAT or ACT, or submit both of them",body:Y(Br(" ")([WI(Za.value)(t1(br.value)([Jr.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 Nc&&e.value0 instanceof Sm)return yv("\u2018Apply with tests: SAT + ACT + test-optional too close\u2019 recommended but not both tests reported.")({guidance:Cd(e),profile:Dv(n)});if(e instanceof Gs&&e.value0 instanceof Sm&&i instanceof d&&u instanceof d)return tu({title:"You can apply with either SAT or ACT, or submit both of them",body:Y(Br(" ")([WI(br.value)(_h(Jr.value)),` We recommend you submit the score with a higher percentile. If they have the same percentile, submit the one you took fewer attempts. If you\u2019ve taken both exams the same number of times, use the exam where your strongest score was achieved earliest. `]))});if(e instanceof Gs&&e.value0 instanceof Sm)return yv("\u2018Apply with tests: SAT + ACT too close\u2019 recommended but not both tests reported.")({guidance:Cd(e),profile:Dv(n)});if(e instanceof Nc&&i instanceof C&&u instanceof C)return yv("\u2018Apply with tests: [test] strongest (test-optional and [test] too close)\u2019 recommended but no tests reported.")({guidance:Cd(e),profile:Dv(n)});if(e instanceof Nc&&e.value0 instanceof Vf&&i instanceof d&&mR(e.value1)(Y1(Za.value)))return tu({title:r(eu.value),body:Fx({standardizedTest:eu.value,actualScore:i.value0,guidanceScore:t,recommendedStrategy:br.value})});if(e instanceof Nc&&e.value0 instanceof Qf&&u instanceof d&&mR(e.value1)(Y1(Za.value)))return tu({title:r(nu.value),body:Fx({standardizedTest:nu.value,actualScore:u.value0,guidanceScore:a,recommendedStrategy:Jr.value})});if(e instanceof Nc&&e.value0 instanceof Vf&&i instanceof d&&u instanceof d&&mR(e.value1)(l(Jr.value)(Za.value)))return tu({title:r(eu.value),body:o({stronger:{test:eu.value,actualScore:i.value0,guidanceScore:t},weaker:{test:nu.value,actualScore:u.value0,guidanceScore:a},includeTestOptional:!0})});if(e instanceof Nc&&e.value0 instanceof Qf&&i instanceof d&&u instanceof d&&mR(e.value1)(l(br.value)(Za.value)))return tu({title:r(nu.value),body:o({stronger:{test:nu.value,actualScore:u.value0,guidanceScore:a},weaker:{test:eu.value,actualScore:i.value0,guidanceScore:t},includeTestOptional:!0})});if(e instanceof Nc&&e.value0 instanceof Vf&&i instanceof d&&u instanceof d&&mR(e.value1)(Y1(Jr.value)))return tu({title:r(eu.value),body:o({stronger:{test:eu.value,actualScore:i.value0,guidanceScore:t},weaker:{test:nu.value,actualScore:u.value0,guidanceScore:a},includeTestOptional:!1})});if(e instanceof Nc&&e.value0 instanceof Qf&&i instanceof d&&u instanceof d&&mR(e.value1)(Y1(br.value)))return tu({title:r(nu.value),body:o({stronger:{test:nu.value,actualScore:u.value0,guidanceScore:a},weaker:{test:eu.value,actualScore:i.value0,guidanceScore:t},includeTestOptional:!1})});if(e instanceof Nc)return yv(Zs(["\u2018Apply with tests: \u2026 too close\u2019: Unknown state:"," guidance: ",Cd(e),", SAT: ",xbe(i),", ACT: ",xbe(u),", SAT guidance: ",Bu(t),", ACT guidance: ",Bu(a)]))({guidance:Cd(e),profile:Dv(n)});if(e instanceof Gs&&i instanceof C&&u instanceof C)return yv("\u2018Apply with tests: [test] strongest\u2019 recommended but no tests reported.")({guidance:Cd(e),profile:Dv(n)});if(e instanceof Gs&&e.value0 instanceof Vf&&i instanceof d&&u instanceof d)return tu({title:r(eu.value),body:Y(c(eu.value))});if(e instanceof Gs&&e.value0 instanceof Qf&&i instanceof d&&u instanceof d)return tu({title:r(nu.value),body:Y(c(nu.value))});if(e instanceof Gs&&e.value0 instanceof Vf&&i instanceof d&&u instanceof C)return tu({title:r(eu.value),body:s(eu.value)});if(e instanceof Gs&&e.value0 instanceof Vf&&i instanceof C&&u instanceof d)return yv("\u2018Apply with tests: SAT strongest\u2019 recommended but ACT test reported.")({guidance:Cd(e),profile:Dv(n)});if(e instanceof Gs&&e.value0 instanceof Qf&&i instanceof C&&u instanceof d)return tu({title:r(nu.value),body:s(nu.value)});if(e instanceof Gs&&e.value0 instanceof Qf&&i instanceof d&&u instanceof C)return yv("\u2018Apply with tests: ACT strongest\u2019 recommended but SAT reported.")({guidance:Cd(e),profile:Dv(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])}}}},dfn=function(e){return function(n){return function(t){var a=Tx(Tx(t.sat.p25)(function(o){return o-Lbe|0}))(ffn),r=Tx(Tx(t.act.p25)(function(o){return o-jbe|0}))(vfn);if(a instanceof d&&r instanceof d){if(e instanceof ej)return pfn(e.value0)(n)(a.value0)(r.value0);if(e instanceof nj)return _fn(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 tu({title:"We\u2019re still collecting detailed guidance data\u2026",body:ce([Y("Learn more about the "),ifn("")({href:"https://blog.collegevine.com/test-optional-coronavirus-policies"})("best test optional strategy recommendation"),Y(".")])})}}},Nbe=function(e){return function(n){return function(t){var a=dfn(e)(n)(t);return Je(a)(function(r){return ce([ufn("")("Recommendation: "+r.title),lfn("")(r.body),function(){var o=wE(n);if(o instanceof d&&o.value0 instanceof X1)return cfn("")([sfn("")("Note:"),Y(" "),Y("Your SAT score is projected based on your PSAT score.")]);if(o instanceof d&&o.value0 instanceof fE)return nn;if(o instanceof C)return nn;throw new Error("Failed pattern match at SchoolDetails.Chancing.Guidance (line 38, column 9 - line 48, column 20): "+[o.constructor.name])}()])})}}};var hfn=Xn(W)()(),gfn=An(dt),Pbe=_e(V_),Dfn=ta(L),Obe=B(W),yfn=Is(L),zI=Vn(L),kbe=Ct(L),bfn=Er(L),Ube=B(ae),Rfn=B(L),$I=function(e){var n=function(a){return hfn("btn btn-link p-0 ml-2 d-flex align-items-center")({onClick:gfn(a.value1)(w0(a.value0))})([Y(function(){var r=Pbe(a.value0)(Ka.value);return r?"show less ":"show more "}()),Dfn("fe fe-chevron-"+function(){var r=Pbe(a.value0)(Ka.value);return r?"up":"down"}())("")])},t=function(a){return Obe("card-body pb-3")([yfn("text-uppercase text-secondary")("Learn about chancing"),zI("")("Colleges evaluate profiles using both academic and holistic reasons."),kbe("my-2")("We evaluate your profile like colleges do, considering all factors."),zI("")("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)."),kbe("my-2")("Academics are more than just grades, which we take into account."),zI("")("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."),Ha("border-gray-500"),bfn("")("How does the chancing calculator help me without counting in all the holistic factors?"),zI("")("You can use it as your baseline for building school lists, improving your profile, and coming up with application strategies."),zI("")("We also have tools and resources that can assist with writing essays and improving other holistic aspects."),Je(a)(function(r){return Ube("d-flex justify-content-end")(n(r))})])};return Ube("card bg-light t--sidebar")(function(){return e.mobileLayout?b1(fa(Qa.value))(function(a){var r=oi(a);if(r instanceof Qa)return Obe("card-body pb-3 d-flex align-items-center justify-content-between")([Rfn("small font-weight-bold fw-bold")("Learn how your chances are calculated"),n(a)]);if(r instanceof Ka)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(C.value)}())};var Hbe=Dn(gn),bv=hn(Hbe)(mn(vn)),Bbe=_n(pn),Rv=dn(Bbe),Jbe=Rn(bn),wv=yn(Jbe),wfn=Z(J),Sfn=yf(Te),Efn=_e(As),Cfn=c0(W),Ifn=k1(ae),Wbe=u0(W),zH=U1(L),Tfn=l0(W),Ffn=Z(ge),Mfn=Sl(ru),Gfn=Es(L),Afn=Es(W),qbe=en(L),xfn=Es(ae),Lfn=B(W),jfn=B(L),Nfn=function(){var e=wn(I_)(bv(bv(bv(bv(bv(bv(bv(bv(bv(bv(bv(Hbe)(Bbe))(Rv))(Rv))(Rv))(Rv))(Rv))(Rv))(Rv))(Rv))(Rv))(Rv))(wv(wv(wv(wv(wv(wv(wv(wv(wv(wv(wv(Jbe))))))))))))(Rv),n=ft(ha(e));return oc(bf)(function(t){return function(a){return{tier:a,strength:1-ft(t)/n}}})(e)}(),zbe=function(e){return function(n){return function(t){var a=function(c){return Ee(0)(wfn(Sfn(function(s){return Efn(s.tier)(c)})(Nfn))(function(s){return s.strength}))},r=Cfn("table border border-light border-3")([Ifn("")(Wbe("")([zH("")("Activity"),zH("")("Tier"),zH("")("Strength")])),Tfn("bg-white")(Ffn(Mfn(function(c){return-a(kl(c))})(n.ecActivities))(function(c){return Wbe("")([Gfn("")(T_(c)),Afn("")([qbe("d-none d-md-inline")(ey(kl(c))),qbe("d-md-none")(uj(kl(c)))]),xfn("pt-4")(aD("sm")("primary")(a(kl(c))))])}))]),o=Ri(n.ecActivities),i=function(){if(o)return Pc.value;if(je)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 Yf)return Y("A typical student from your demographic background at this school has a stronger resume.");if(i instanceof Cm)return Y("A typical student from your demographic background at this school has a similar resume.");if(i instanceof Em)return Y("Your resume is more impressive than that of a typical student from your demographic background at this school.");if(i instanceof Pc)return nn;throw new Error("Failed pattern match at SchoolDetails.Extracurriculars (line 64, column 26 - line 72, column 16): "+[i.constructor.name])}(),l=Lfn("row mb-2")([jfn("col-auto pr-0 font-weight-bold fw-bold")(function(){return o?"You haven't entered any extracurriculars":"Your extracurricular resume"}()),En(e.showUpdateLinks)(fR)]);return{title:Ed("Extracurriculars")(i),testClass:"t--extracurriculars",content:ce([l,En(!o)(r),u])}}}};var VI=function(e){var n=gr(e);return n.length===0?C.value:new d(ce(n))};var $be=K(xe),Vbe=z(Un),Qbe=Xb(L),Pfn=Cs(W)()(),QI=B(ae),$H=re(ze),Ybe=dr(za),oD=B(W),Xbe=Ct(L),Zbe=yd(L)(L),Kbe=en(L),Ofn=Yn(L)()(),kfn=qn(Na),pR=j(J),Ufn=oa(Te)(vt),Hfn=j(Su),Bfn=un(),Jfn=Kn(L),Wfn=function(e){var n=function(t){return eD(Dd(function(a){return a.percentile}(t)))};return $be(e.admissions.yieldRate)(function(t){return Vbe(ce([Qbe("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, `+(xa(t.value)+(" is "+(n(t)+`. `)))),Ya("mr-1")(xa(t.value))]))})},eRe=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(je)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}},_R=function(e){var n=function(r){return function(o){return function(i){return Jb({center:{x:0,y:0},angle0:r,angle1:o,innerRadius:50,outerRadius:90,fill:i,stroke:{color:"#EDF2F9",width:4}})}}},t=pa($be(e.score)(function(r){var o=Wv*(1-ft(r)/100);return Vbe(n(o)(Wv)("#008CFD"))})),a=n(0)(Wv)("#EDF2F9");return Pfn("")({viewBox:"-100 -100 200 100"})([a,t])},qfn=function(e){return QI("t--admissions-website")(x0({className:"d-flex align-items-center",icon:FH.value,text:C.value})(Ee(e.urls.main)(e.urls.admissions)))},VH=function(e){var n=function(o){return function(i){var u=function(l){return $H(Ybe(l(i)*100|0)(l(o)))+"%"};return oD("mb-4")([Xbe("mb-4")("Acceptance rate breakdown"),Zbe([{title:"Women",value:u(function(l){return l.women})},{title:"Men",value:u(function(l){return l.men})}])])}},t=function(o){return ce([Xbe("mb-4")("Applicant breakdown"),Zbe([{title:"Total number of applicants",value:Fs(o.value)}])])},a=function(o){var i=o.women+o.men|0,u=Ybe(o.women*100|0)(i),l=$H(100-u|0)+"%",c=$H(u)+"%";return ce([oD("row mb-3")([oD("col")([Y("Women: "),Kbe("font-weight-semibold")(c)]),oD("col-auto")([Y("Men: "),Kbe("font-weight-semibold")(l)])]),QI("progress progress-md bg-warning")(Ofn("progress-bar")({style:fn({width:c})})(""))])},r=gr([kfn(pR(n)(e.admissions.applicants))(e.admissions.admitted),pR(t)(e.admissions.totalApplicants),pR(a)(e.admissions.applicants)]);return r.length===0?C.value:new d(ce(r))},iD=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(je)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 Ufn([xa(a.value)," is ",n(a.value),"."])})(e.admissions.acceptanceRate);return m0(P2.value)+t},nRe=function(e){return function(n){var t=function(r){return ce([Qbe("Overall acceptance rate")(iD(n)),Ya("mr-1")(xa(r.value))])},a=VI([pR(QI("row"))(VI([pR(Hfn(QI("col-12 col-md-6 mb-4"))(t))(Bfn(n).admissions.acceptanceRate),pR(QI("col-12 col-md-6 mb-4"))(Wfn(n))])),VH(n)]);return oD("card t--admission-stats")([oD("card-body")([oD("d-flex mb-4 align-items-center")([Jfn("mb-0 flex-grow-1")("Admissions"),pa(pi(e.onEdit)(eR.value))]),Je(a)(function(r){return ce([r,Ha("")])}),qfn(n)])])}};var qc=B(W),QH=en(L),cp=Ca(L),uD=K(xe),tRe=z(Un),YH=sE(yt),aRe=B(L),dR=re(ze),rRe=B(ae),zfn=Z(J),oRe=Vn(W),$fn=Vn(L),Vfn=i2(L),Qfn=ca(L)()(),Yfn=sE(ru),XH=function(e){return function(n){return qc("row align-items-center mb-2")([qc("col-auto pr-0")([QH("mr-2")("You:"),function(){if(n.score instanceof C)return QH("text-secondary")("N/A");if(n.score instanceof d)return cp("")(n.showScore(n.score.value0));throw new Error("Failed pattern match at SchoolDetails.TestScores (line 198, column 7 - line 200, column 49): "+[n.score.constructor.name])}(),En(n.simulated)(QH("text-muted ml-2")("(simulated)"))]),En(e.showUpdateLinks)(fR)])}},iRe=function(e){var n=sE(e);return function(t){return function(a){var r=n(a.score)(a.percentiles);return r instanceof Yf?Je(a.percentiles.p50)(function(o){return qc("mt-3")([Y("Improving your "+(t+" can help your chances, especially if you can earn a ")),cp("")(a.showScore(o)),Y(" or higher.")])}):nn}}},Xfn=iRe(ru),uRe=iRe(yt),lRe=function(e){var n=sE(e);return function(t){if(t.score instanceof C)return nn;if(t.score instanceof d){var a=aD("md")(vR(n(new d(t.score.value0))(t.percentiles)))(t.normalizeScore(t.score.value0)),r=pa(uD(t.percentiles.p25)(function(o){return uD(t.percentiles.p75)(function(i){return uD(t.percentiles.p50)(function(u){return tRe(ce([qc("mb-2 mt-3")([Y("Typical accepted student: "),cp("")(t.showScore(u)),Y(" ("+(t.showScore(o)+("\u2013"+(t.showScore(i)+")"))))]),aD("md")("secondary")(t.normalizeScore(u))]))})})}));return qc("mb-2")([a,r])}throw new Error("Failed pattern match at SchoolDetails.TestScores (line 218, column 1 - line 218, column 72): "+[t.constructor.name])}},Zfn=lRe(ru),cRe=lRe(yt),sRe=qc("mt-3")([Y("Standardized tests are "),cp("")("important"),Y(" for your admissions chances.")]),Mx=function(e){var n=dbe(e.percentiles),t=YH(e.score)(n);return Ee(nn)(uD(e.score)(function(a){return uD(n.p25)(function(r){return uD(n.p50)(function(o){return uD(n.p75)(function(i){return tRe(qc("col-6 my-3")([aRe("large mb-2")(e.title),qc("")([Y("You: "),cp("")(dR(a))]),rRe("my-2")(aD("sm")(vR(t))(e.normalizeScore(a))),rRe("mb-2 mt-3")(aD("sm")("secondary")(e.normalizeScore(o))),qc("small")([Y("Typical accepted: "),cp("")(dR(o)),Y(" ("+(dR(r)+("\u2013"+(dR(i)+")"))))])]))})})})}))},ZH=function(e){return function(n){return Ee(!1)(zfn(e.chancingState.simulation)(function(t){return t.isFieldSimulated(n)}))}},KH=aRe("d-flex align-items-center mb-2 large"),Kfn=function(e){return function(n){return function(t){return ce([KH("Notes on Test Optional"),oRe("")([cp("")("Our take: consider applying test optional for this school.")]),$fn("")("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(hbe(t.percentiles))(Je(t.percentiles.p25)(function(a){return oRe("")([Y("For reference, we estimate that the 25"),Vfn("")("th"),Y(" percentile "+(n+" score at this school is ")),cp("")(t.showScore(a)),Y(". So if you\u2019re around or below this score, it would make sense to apply test optional.")])}))])}}},fRe=Kfn(yt),eB=function(e){return function(n){return qc("my-3")([Y("Read about "),Qfn("")({href:n,target:"_blank"})(e),Y(".")])}},vRe=function(e){return function(n){var t=qc("mt-4")([Y("GPA is "),cp("")("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:v_("0.00"),simulated:ZH(e)(_le.value)};return{title:Ed("GPA")(Yfn(a.score)(a.percentiles)),testClass:"t--gpa",content:ce([XH(e)(a),Zfn(a),t,Xfn("GPA")(a),eB("how to increase your GPA")("https://blog.collegevine.com/improve-your-high-school-gpa-with-these-5-strategies/")])}}},mRe=function(e){return function(n){var t=qc("row")([Mx({title:"Math ",score:n.chancingProfile.sat.math,percentiles:n.schoolStats.sat.math,normalizeScore:function(u){return ft(u)/800}}),Mx({title:"Reading and Writing",score:n.chancingProfile.sat.readingWriting,percentiles:n.schoolStats.sat.readingWriting,normalizeScore:function(u){return ft(u)/800}})]),a=Ed("SAT"),r={score:S_(n.chancingProfile),percentiles:n.schoolStats.sat.all,normalizeScore:function(u){return ft(u)/1600},showScore:dR,simulated:ZH(e)(dle.value)},o=ce([En(Dt(r.score))(KH("SAT Composite score")),XH(e)(r),cRe(r),t,sRe,uRe("SAT score")(r),eB("how to increase your SAT score")("https://blog.collegevine.com/10-tips-to-improve-your-sat-score/")]),i=YH(r.score)(r.percentiles);return n.chances.shouldApplyTestOptional?{title:a(i),testClass:"t--sat",content:ce([fRe("SAT")(r),o])}:{title:a(i),testClass:"t--sat",content:o}}},pRe=function(e){return function(n){var t=Ed("ACT"),a={score:E_(n.chancingProfile),percentiles:n.schoolStats.act.all,normalizeScore:function(u){return ft(u)/36},showScore:dR,simulated:ZH(e)(hle.value)},r=qc("row")([Mx({title:"Math",score:n.chancingProfile.act.math,percentiles:n.schoolStats.act.math,normalizeScore:a.normalizeScore}),Mx({title:"English",score:n.chancingProfile.act.english,percentiles:n.schoolStats.act.english,normalizeScore:a.normalizeScore})]),o=ce([En(Dt(a.score))(KH("ACT Composite score")),XH(e)(a),cRe(a),r,sRe,uRe("ACT score")(a),eB("how to increase your ACT score")("https://blog.collegevine.com/10-tips-to-improve-your-act-score/")]),i=YH(a.score)(a.percentiles);return n.chances.shouldApplyTestOptional?{title:t(i),testClass:"t--act",content:ce([fRe("ACT")(a),o])}:{title:t(i),testClass:"t--act",content:o}}};var Po=B(W),Id=B(L),au=B(ae),nB=Xn(W)()(),tB=An(dt),YI=ta(L),aB=Er(L),_Re=Ct(W),Gx=en(L),dRe=K(xe),evn=du(L),hRe=ca(L)()(),gRe=Vn(ae),nvn=Ca(L),DRe=nD(L),lD=_e(V_),yRe=mf(xt(NM)),tvn=oa(Te)(vt),avn=yf(Te),rvn=_e(Q1),ovn=ta(ae),ivn=Yn(L)()(),uvn=j(ge),lvn=Z(ge),cvn=Ct(ae),svn=Kn(W),fvn=du(ae),vvn=j(um),mvn=Vn(W),pvn=Vn(L),Ax=Kn(L),_vn=Z(Rx),dvn=en(ae),bRe=function(e){return Po("row")([Id("col")(""),au("col-auto")(nB("btn btn-link t--show-more")({onClick:tB(e)(Ka.value)})([Y("show more "),YI("fe fe-chevron-down")("")]))])},RRe=function(e){return function(n){return function(t){return Po("row align-items-center mb-3")([au("col-12 col-lg-6")(Po("row")([Po("col-6 order-1 order-lg-2 my-auto")([aB("font-weight-normal fw-normal")("Your chances"),_Re("mb-0 t--chancing-percentage-label d-flex align-items-center")([Gx("mr-1")(KS(e)({score:dRe(t)(function(a){return a.score}),specialCase:C.value})),yx,Gx("mx-2")(""),pbe("")(n),mbe("")(n)])]),au("col-6 order-2 order-lg-1 px-sm-4 px-lg-0")(_R({score:dRe(t)(function(a){return a.score})}))])),Po("col-12 col-lg-6 py-3 my-auto")([aB("font-weight-normal fw-normal")("Overall acceptance rate"),_Re("text-gray-800 mb-0")([Y(ke("\u2014")(function(a){return xa(function(r){return r.value}(a))})(e.admissions.acceptanceRate)),evn("text-secondary ml-2")(iD(e))])])])}}},wRe=function(e){return ce([Y(e),Y(" requires standardized tests, but currently "),hRe("")({href:Ym})("your profile"),Y(" indicates that you do not have test scores.")])},hvn=function(e){return ce([Id("badge badge-apply-test-optional font-weight-bold fw-bold py-2 mb-2")("Tests required"),RRe(e)(wa.value)(C.value),gRe("")(wRe(e.name))])},SRe=function(e){return function(n){return function(t){return function(a){var r=Po("row")([au("col-auto pr-0")(YI("fe fe-info large text-secondary mt-3")("")),Po("col")([Po("large")([nvn("")("Recommendation letters "),Gx("text-secondary")("are often required.")]),Id("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 co(fa(Ka.value))(function(o){return function(i){return au("card")(Po("card-body t--phase2")([DRe("Your chancing: Phase 2"),En(lD(o)(Qa.value))(Id("mb-4")("")),WH({card:zbe(e)(t)(a),expanded:lD(o)(Ka.value),onCollapse:i(Qa.value)}),En(yRe(n.admissions.reqRecLetters)(new d(ci.value)))(r),En(lD(o)(Qa.value))(bRe(i))]))}})}}}},ERe=function(e){return function(n){return function(t){return function(a){var r=yRe(n.admissions.reqStandardTests)(new d(ci.value)),o=Dt(E_(t))&&r,i=Dt(S_(t))&&r,u=function(l){return function(c){return WH({card:c(e)({chancingProfile:t,chances:a,schoolStats:n.testScoreStats}),expanded:lD(l.value0)(Ka.value),onCollapse:l.value1(Qa.value)})}};return b1(fa(Ka.value))(function(l){return au("card")(Po("card-body t--phase1")([DRe("Your chancing: Phase 1"),En(lD(l.value0)(Qa.value))(Id("mb-4")("")),u(l)(vRe),u(l)(Rbe),En(i)(u(l)(mRe)),En(o)(u(l)(pRe)),En(lD(l.value0)(Qa.value))(bRe(l.value1))]))})}}}},gvn=function(e){return Y(tvn(["Chancing is not available for ",e.name," because all students are admitted if they have a high school diploma or GED."]))},Dvn=function(e){return ce([Y("You\u2019re likely not eligible for admission at "),Y(e.name),Y(" because it is an "),Y(iu(t_(e.gender))),Y(" school. This conclusion is based on the gender information you entered in your "),hRe("")({href:Ym})("profile"),Y(".")])},yvn=function(e){return ce([Y("Chancing is not available for "),Y(e.name),Y(` because admission decisions rely heavily on art or music portfolios and auditions. We recommend that you reach out to the admissions department at this school to learn if they can assist with a pre-application portfolio review or audition. `)])},bvn=function(e){return function(n){return function(t){return function(a){return function(r){var o=function(c){if(c instanceof Za)return"test-optional";if(c instanceof br)return"with SAT";if(c instanceof Jr)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=avn(function(v){return rvn(v.applicationStrategy)(c)})(r.all),f=PH({strategy:c,satOrigin:wE(t),testPolicy:n.admissions.reqStandardTests});return Po("row border-1 border-bottom border-light py-3 align-items-center")(function(){if(s instanceof d)return[Po("col-12 mb-2 mb-md-0 col-md pr-0 d-flex align-items-end")([f,En(s.value0.isRecommendedStrategy)(ovn("ml-2 fe fe-thumbs-up text-primary h3 mb-0")(nn))]),au("col-auto pl-md-0")(Gx("badge badge-light bg-light text-dark")(x2(n)(s.value0))),Id("col-auto col-md-auto pl-md-0")(KS(n)(s.value0)),au("col col-md-2 pl-md-0")(function(){if(s.value0.score instanceof d)return au("progress progress-md")(ivn("progress-bar")({style:fn({width:A2(s.value0.score.value0)})})(""));if(s.value0.score instanceof C)return Id("text-secondary small")("N/A");throw new Error("Failed pattern match at SchoolDetails.Chancing (line 306, column 46 - line 311, column 55): "+[s.value0.score.constructor.name])}())];if(s instanceof C)return[au("col pr-0 d-flex align-items-end")(f),Id("col-auto text-gray-800")(function(){if(c instanceof Za)return"";if(c instanceof br)return"No SAT score";if(c instanceof Jr)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?Ao($o)("Empty chancing recommended strategies, even though chances are present")({})(function(f){return[]}):s};return c(uvn(function(s){return s.applicationStrategy})(kr(function(s){return s.isRecommendedStrategy})(r.all)))}(),l=function(c){return co(fa(Qa.value))(function(s){return function(f){return ce([Po("row mb-2 justify-content-between")([Po("col")(lvn(u)(function(v){return cvn("d-inline-block mr-2")(PH({strategy:v,satOrigin:wE(t),testPolicy:n.admissions.reqStandardTests}))})),au("col-auto")(nB("btn btn-link p-0 d-flex align-items-center")({onClick:tB(f)(w0(s))})(function(){if(s instanceof Qa)return[Y("See why"),YI("fe fe-chevron-down ml-2")("")];if(s instanceof Ka)return[Y("Show less"),YI("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 svn("")([Y(n.name+(" is a "+q1(v))),fvn("ml-1 text-secondary h2 mb-0")(_be(v)),function(){if(n.admissions.reqStandardTests instanceof d&&n.admissions.reqStandardTests.value0 instanceof ci)return nn;if(r.top.specialCase instanceof d&&r.top.specialCase.value0 instanceof v0)return nn;var m=function(R){return nn},_=is(u);return _ instanceof d?Y(" if you apply "+Fbe(vvn(o)(_.value0))):m(!0)}()])}),RRe(n)(a)(new d(r.top)),En(lD(s)(Ka.value))(ce([Ha("mb-4"),Po("")([mvn("")([Y("Test policies may change in the future so be sure to check "),x0({className:"",text:new d("this school\u2019s website"),icon:PI.value})(Ee(n.urls.main)(n.urls.admissions))]),function(){return n.admissions.reqStandardTests instanceof d&&n.admissions.reqStandardTests.value0 instanceof ci?pvn("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 v0?gRe("font-weight-bold fw-bold")(wRe(n.name)):ce([aB("")("Here\u2019s our estimation for all possible scenarios:"),function(){return n.admissions.reqStandardTests instanceof d&&n.admissions.reqStandardTests.value0 instanceof Sc?nn:i(Za.value)}(),i(br.value),i(Jr.value)])}()]),function(){return n.admissions.reqStandardTests instanceof d&&n.admissions.reqStandardTests.value0 instanceof ci?nn:r.top.specialCase instanceof d&&r.top.specialCase.value0 instanceof v0?nn:Je(r.guidance)(function(v){return au("mt-4")(Nbe(v)(t)(r.sameDemographicStats))})}()])),function(){return e.showViewChancingExplanationCTA&&e.onSwitchTab instanceof d?ce([Ha(""),nB("btn btn-link t--chancing-breakdown-cta p-0")({onClick:tB(e.onSwitchTab.value0)(Yi.value)})([YI("material-symbol x-large align-middle pr-2")("format_list_bulleted"),Y("See chancing explanation")])]):nn}()])}})};if(r.top.specialCase instanceof d&&r.top.specialCase.value0 instanceof rg)return yvn(n);if(r.top.specialCase instanceof d&&r.top.specialCase.value0 instanceof Rm)return Dvn(n);if(r.top.specialCase instanceof d&&r.top.specialCase.value0 instanceof v0)return hvn(n);if(r.top.specialCase instanceof d&&r.top.specialCase.value0 instanceof og)return l(Ce);if(r.top.specialCase instanceof d&&r.top.specialCase.value0 instanceof ig)return gvn(n);if(r.top.specialCase instanceof C)return l(Ce);throw new Error("Failed pattern match at SchoolDetails.Chancing (line 185, column 3 - line 191, column 28): "+[r.top.specialCase.constructor.name])}}}}},hR=function(e){return function(n){return function(t){return function(a){return function(r){return Po("mb-4")([au("card mb-0 t--chancing")(Po("card-body t--chancing-overview")([Ax("")("Chancing"),bvn(e)(n)(t)(a)(r)])),AH(n)])}}}}},Rvn=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 Rm&&e.mobileLayout?hR(n)(t)(a)(r)(o):o.top.specialCase instanceof d&&o.top.specialCase.value0 instanceof Rm?au("row")(au("col-8")(hR(n)(t)(a)(r)(o))):e.mobileLayout?ce([hR(n)(t)(a)(r)(o),Ax("")("Detailed profile breakdown"),ERe(e)(t)(a)(o.top),SRe(e)(t)(a)(o.top),$I(e)]):Po("row")([Po("col-8")([hR(n)(t)(a)(r)(o),Ax("")("Detailed profile breakdown"),ERe(e)(t)(a)(o.top),SRe(e)(t)(a)(o.top)]),Po("col-4")([Je(e.currentUser)(function(i){return au("mb-3")(jye(e.whatificatorLink))}),$I(e)])])}}}}}},CRe=function(e){return function(n){return function(t){var a=function(i){return Ao($o)("SDP Chancing Tab is visible when chancing profile is absent")({schoolId:e.id})(function(u){return nn})},r=function(i){return Je(VH(e))(function(u){return ce([Ax("")("In the meantime, here\u2019s the published data about admissions at "+(e.name+":")),u])})},o=function(i){if(n.mobileLayout)return ce([JI({narrowLayout:!0}),$I(n),r(Ce)]);if(je)return Po("row")([Po("col-8")([JI({narrowLayout:!1}),r(Ce)]),au("col-4")($I(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 iR)return Je(wx(i.value1))(Rvn(n)(t)(e)(i.value0)(_vn(Ex(i.value1))(function(u){return u.top})));if(i instanceof lR)return a(Ce);if(i instanceof cR)return o(Ce);if(i instanceof uR)return au("text-center p-6")(dvn("spinner-border spinner-border-sm text-primary")(nn));throw new Error("Failed pattern match at SchoolDetails.Chancing (line 81, column 5 - line 90, column 73): "+[i.constructor.name])}(Sx({currentUser:n.currentUser,chancingState:n.chancingState,school:e}))}}};var IRe=function(e){return function(n){return nn}};var TRe=rv(),cD=B(W)("d-flex")([TRe({text:"Log in",className:"btn btn-primary px-4 mr-3",auth0ActiveTab:pg}),TRe({text:"Sign up (it's free!)",className:"btn btn-outline-primary px-4",auth0ActiveTab:av})]);var wvn=B(W),FRe=B(ae),Svn=Er(L),Evn=Xn(W)()(),Cvn=la(vr),Ivn=ta(L),rB=Vn(W),MRe=B(L),oB=Ca(L),Tvn=en(W),GRe=ca(L)()(),Fvn=ul(W),ARe=cG(),iB=Vn(L),Mvn=s2(W),xRe=function(e){return function(n){return wvn("row align-items-center w-100")([FRe("col")(Svn("my-0")(n)),FRe("col-auto pr-0")(Evn("btn btn-link p-0 d-flex align-items-center")({onClick:Cvn(e)})([Y("Cancel "),Ivn("fe fe-x ml-2 large")("")]))])}},LRe=function(e){return function(n){var t=function(r){return function(o){return function(i){if(i)return ce([rB("mb-1")([MRe("badge badge-soft-success bg-success-soft mr-2")("Profile complete"),oB("text-success")("Great job \u2013\xA0your CollegeVine "+(r+" profile looks complete."))]),Tvn("")([Y("(you can always "),GRe("")({href:o})("update it"),Y(" to make sure)")])]);if(!i)return ce([rB("")([MRe("badge badge-soft-danger bg-danger-soft mr-2")("Incomplete"),oB("text-danger")("Your "+(r+" profile is incomplete."))]),GRe("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 Fvn("mb-4")([rB("mb-1")([oB("")("Your "+(r.name+" profile,")),Y(r.description)]),t(r.name)(r.url)(r.isComplete)])};return ARe({header:xRe(n.close)("Great, let\u2019s estimate your personalized net cost."),body:ce([iB("")("Your college cost depends on two types of information:"),Mvn("")([a({name:"chancing",url:Ym,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:u4,isComplete:e.hasFinancialProfile,description:` which includes information that colleges will use to determine your financial need. `})])])})}},jRe=function(e){return ARe({header:xRe(e.close)("Please log in to get your personalized cost estimate"),body:ce([iB("")(` You need a CollegeVine account to estimate your cost. You\u2019ll enter your information once and unlock estimates for all schools on CollegeVine! `),iB("")("Please log in or sign up to continue:"),cD])})};var Oo=B(W),xx=Kn(L),Ks=B(ae),NRe=Er(L),uB=Vn(W),PRe=B(L),lB=Ca(L),cB=yd(L)(L),XI=Vn(L),ORe=Ct(W),kRe=du(L),Gvn=j(J),Avn=Xn(W)()(),URe=An(dt),xvn=ta(L),HRe=nD(L),Lvn=Xn(L)()(),BRe=Lc(L),jvn=ca(L)()(),Nvn=Ct(L),gR=function(){function e(){}return e.value=new e,e}(),Lx=function(){function e(){}return e.value=new e,e}(),JRe=function(){function e(){}return e.value=new e,e}(),ZI=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),sB=function(){function e(){}return e.value=new e,e}(),jx=function(){function e(){}return e.value=new e,e}(),Nx=function(e){return function(n){return Oo("card t--financials-zero-cost")([Oo("d-flex align-items-center justify-content-between card-header")([xx("flex-grow-1 my-0")("Cost & scholarships"),Je(e.editButton)(Ks("flex-grow-0"))]),Oo("card-body")([NRe("")("The cost to students is zero"),uB("small text-muted mb-0")([Y("Some schools do not charge tuition, or they cover the full cost for students. Always check "),x0({className:"",icon:Zb.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. `)])])])}},Px=function(e){return function(n){return function(t){var a=t(new ZI(gR.value));if(n instanceof gR)return nn;if(n instanceof Lx)return LRe(e)({close:a});if(n instanceof JRe)return jRe({close:a});throw new Error("Failed pattern match at SchoolDetails.Finances.Common (line 328, column 3 - line 331, column 45): "+[n.constructor.name])}}},fB=function(e){var n=function(t){return function(a){return{title:a,value:pu(t)}}};return ce([Oo("row py-3")([PRe("col font-weight-semibold")("Income"),Ks("col-auto")(lB("")("Average net cost"))]),Ha("mt-0"),Ks("mt-4")(cB([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")]))])},Ox=function(e){var n=function(a){return function(r){return x0({className:"",icon:PI.value,text:new d(r)})(a)}},t=function(){if(e.finAid instanceof d&&e.priceCalculator instanceof d)return ce([n(e.finAid.value0)("financial aid website"),Y(" or their "),n(e.priceCalculator.value0)("net price calculator")]);if(e.finAid instanceof d&&e.priceCalculator instanceof C)return n(e.finAid.value0)("financial aid website");if(e.finAid instanceof C&&e.priceCalculator instanceof d)return n(e.priceCalculator.value0)("net price calculator");if(e.finAid instanceof C&&e.priceCalculator instanceof C)return n(e.main)("website");throw new Error("Failed pattern match at SchoolDetails.Finances.Common (line 229, column 16 - line 240, column 33): "+[e.finAid.constructor.name,e.priceCalculator.constructor.name])}();return ce([XI("font-weight-bold fw-bold small text-gray-800 mb-1")("* This is an estimate"),uB("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.")])])},Pvn=Ks("")(ORe("mb-4")([Y("Cost before aid "),kRe("text-secondary")(` The \u201Csticker price\u201D of a school, which includes tuition, fees, and room and board. `)])),WRe=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). `),KI=ce([WRe,XI("font-weight-bold fw-bold mb-2")("Want to see your personalized net cost after financial aid and scholarships?")]),vB=ORe("mb-3 mt-4")([Y("Average net cost after aid "),kRe("text-secondary")(` The average of the amount actually paid by students, per family income range. `)]),mB=function(e){return ce([Ks("")(vB),Ha("mb-0"),Ks("mb-4")(fB(e))])},pB=function(e){return function(n){return Oo("card t--financials-cost-before-aid")([Oo("card-body")([Oo("d-flex align-items-center justify-content-between mb-5")([xx("my-0 mr-3 flex-grow-1")("Cost & scholarships"),pa(pi(n.onEdit)(Rd.value))]),Pvn,cB([{title:"In-state total cost",value:ke("unknown")(function(t){return pu(ft(t))})(dm(n.school))},{title:"Out-of-state total cost",value:ke("unknown")(function(t){return pu(ft(t))})(MS(n.school))}]),Ee(nn)(Gvn(mB)(n.school.averageNetPrice)),En(n.showCta)(ce([KI,Avn("btn btn-link t--estimate-my-cost p-0")({onClick:URe(e)(new ZI(Lx.value))})([xvn("material-symbol x-large align-middle pr-2")("calculate"),Y("Estimate my personalized net cost")])]))])])}},_B=function(e){return function(n){var t=function(o){return function(i){return Oo("col-12 mt-2 col-md-6 mt-md-0")([HRe(i),Ya("")(ke("unknown")(function(u){return pu(ft(u))})(o))])}},a=Oo("row")([Oo("col-12 col-md mb-2 mb-md-4")([HRe("Your estimated net cost"),PRe("font-weight-bold fw-bold text-secondary x-large")("$ ? / year")]),En(n.showCta)(Ks("col-12 col-md-auto mb-3 mb-md-0")(Lvn("btn btn-primary px-4 t--estimate-my-cost")({onClick:URe(e)(new ZI(JRe.value))})("Estimate my cost")))]),r=ce([BRe("")("What are "+(n.school.name+"\u2019s Tuition and Fees?")),uB("")([Y("What does it cost to attend "+(n.school.name+("? Below we\u2019ve mapped out the tuition, fees, and room and board that"+(" will help you understand how much you will pay for "+(n.school.name+`. We\u2019ve also included financial aid information to help you pay for college. If you\u2019d like to get a personal estimated cost of attendance based on your situation, use our `))))),jvn("")({href:u4})("free cost calculator"),Y(".")])]);return Oo("card border border-light rounded p-4 mx-2 mb-4")([En(n.showExtended)(r),a,Oo("row")([t(dm(n.school))("In-state"),t(MS(n.school))("Out-of-state")])])}},eT=function(e){return function(n){return function(t){return function(a){if(a instanceof sB){var r=Oo("d-flex align-items-center justify-content-between mb-3")([xx("my-0 mr-3")("Cost & scholarships"),pa(e.editButton)]);return ce([Oo("card t--financials-anonymous")(function(){if(t.averageNetPrice instanceof C)return[Oo("card-body")([r,_B(n)({school:t,showCta:e.showCta,showExtended:!1}),KI,cD])];if(t.averageNetPrice instanceof d)return[Oo("card-body")([xx("")("Cost & scholarships"),_B(n)({school:t,showCta:e.showCta,showExtended:!1}),vB,fB(t.averageNetPrice.value0),Oo("px-3")([KI,cD])])];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 jx){var o=function(){var i=function(u){return function(l){return{title:l,value:ke("unknown")(function(c){return pu(ft(c))})(u)}}};return ce([Oo("row mx-0 py-3 border-bottom")([Ks("col pl-0")(lB("")("Type")),Ks("col-auto pr-0")(lB("")("Annual Cost"))]),Ks("mt-4")(cB([i(t.tuitionInState)("In-state tuition"),i(t.feesInState)("In-state fees"),i(t.tuitionOutOfState)("Out-of-state tuition"),i(t.feesOutOfState)("Out-of-state fees"),i(t.costRoomBoard)("Room and board")]))])}();return ce([_B(n)({school:t,showCta:e.showCta,showExtended:!0}),Ks("card")(Oo("card-body")([BRe("mb-4")("What does it cost to attend "+(t.name+"?")),NRe("")("Net Price Breakdown"),XI("mb-5")("The Net Price is the estimated cost after the average aid amount is applied to the total amount."),Oo("t--financials-anonymous")(function(){if(t.averageNetPrice instanceof C)return[KI,cD];if(t.averageNetPrice instanceof d)return[vB,fB(t.averageNetPrice.value0),function(){return e.showCta?Oo("")([KI,cD]):WRe}()];throw new Error("Failed pattern match at SchoolDetails.Finances.Common (line 117, column 9 - line 133, column 14): "+[t.averageNetPrice.constructor.name])}())])),Ks("card")(Oo("card-body")([Nvn("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 Ovn=z(_t),kvn=un(),nT=B(ae),zc=B(W),qRe=Lc(L),sD=Vn(L),Uvn=ca(W)()(),dB=en(L),zRe=B(L),$Re=Ca(L),Hvn=Or(Te)(Pv),Bvn=j(ge),Jvn=Kn(L),Wvn=Ct(ae),qvn=nD(L),zvn=j(J),$vn=Xn(W)()(),Vvn=An(dt),Qvn=ta(L),Yvn=_e(xt(tr)),VRe=function(e){return function(n){return Ovn(n.value0)}},QRe=function(){return gR.value}(),hB=function(e){var n=function(){var a=kvn(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)(nT("card")(zc("card-body")([qRe("")(r),o])))}}};return zc("t--financials-aid-explanation mt-5")([t(n.grants)("Grants")(ce([sD("")("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"),Ya("")(xa(e.fracPellGrants))])),t(n.scholarships)("Merit scholarships")(sD("mb-2")("Scholarships are awarded based on your your financial need or academic achievements. They do not need to be repaid but you may have to reapply for them each year.")),t(n.loans)("Student loans")(ce([sD("")("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."),zc("row")([zc("col")([Y("% of full-time first-time undergraduates awarded federal student loans"),Ya("")(xa(e.fracLoans))]),zc("col")([Y("Avg. amount of federal student loans awarded to full-time first-time undergrads"),Ya("")(pu(ft(Ee(0)(e.averageFederalLoan))))])])])),t(n.workStudy)("Work-study")(ce([sD("")("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."),Uvn("d-flex align-items-center")({href:Kue,target:"_blank"})([dB("material-symbol pr-2")("open_in_new"),dB("")("Learn more about how it works and what types of jobs are available")])]))])},Xvn=function(e){return function(n){var t=function(l){return[zc("row align-items-center")([nT("col")(l.title),nT("col-auto")(l.value)])]},a=ce([sD("mb-1")("Your estimated net cost"),Ya("")(pu(n.estimatedNetCost)+" / year *")]),r=Ee(0)(n.estimatedMeritAid),o=ce([zRe("mb-3")("Scholarships"),zRe("small text-gray-800")(function(){var l=r>0;return l?` Based on your profile and this school's historical data, we think you could get a merit scholarship of this amount. `:` Based on your profile and the amount of need-based aid projected, it seems unlikely that you\u2019ll receive additional merit scholarships at this college. `}())]),i=function(l){var c=l>0;return c?$Re("")("-"+pu(l)):dB("text-muted")("Unlikely")},u=zc("mb-2")(Hvn([Ha("mt-3 mb-3")])(Bvn(t)([{title:Y("Cost (tuition, fees, room and board)"),value:$Re("")(pu(n.stickerPrice))},{title:Y("Need-based financial aid"),value:i(n.financialAid)},{title:o,value:i(r)}])));return ce([nT("card t--financials-personal-estimate-breakdown")(zc("card-body")([Jvn("mb-5")("Cost & scholarships"),a,Ha("mb-4 mt-2"),Wvn("mb-4 mt-2")(qvn("Your estimated net cost breakdown")),u,Ha("mt-3 mb-3"),nT("mb-n3")(Ox(e.urls))])),hB(e)])}},Zvn=function(e){return function(n){var t=zc("row mb-4")([zc("col-12 col-md-6")([sD("mb-1")("In-state total cost"),Ya("")(ke("unknown")(function(a){return pu(ft(a))})(dm(n)))]),zc("col-12 col-md-6")([sD("mb-1")("Out-of-state total cost"),Ya("")(ke("unknown")(function(a){return pu(ft(a))})(MS(n)))])]);return zc("card t--financials-cost-before-aid")([zc("card-body")([qRe("fw-normal font-weight-normal")("Cost"),t,Ee(nn)(zvn(mB)(n.averageNetPrice)),$vn("btn btn-link t--estimate-my-cost p-0")({onClick:Vvn(e)(new ZI(Lx.value))})([Qvn("material-symbol x-large align-middle pr-2")("calculate"),Y("Estimate my personalized net cost")])])])}},YRe=function(e){return function(n){return function(t){return function(a){return function(r){return ce([Px(n)(a)(r),function(){var o=Yvn(dm(e))(new d(0));if(o)return Nx({editButton:C.value})(e);var i=cr(n.currentUser);if(i)return ce([pa(xs(n.configuration)(eT({showCta:!1,editButton:C.value})(r)(e)(jx.value))),pa(Fu(n.configuration)(eT({showCta:!0,editButton:C.value})(r)(e)(jx.value))),hB(e)]);var u=Dt(t);return u?Je(t)(Xvn(e)):ce([Zvn(r)(e),hB(e)])}()])}}}}};var Kvn=un(),XRe=Xn(L)()(),ZRe=la(vr),kx=B(W),gB=B(ae),e0n=li(),n0n=_e(xt(AG)),DB=Z(J),t0n=_e(xt(GG)),KRe=ta(L),a0n=B(L),ewe=en(L),r0n=mi(ae)()(),nwe=function(e){var n=Kvn(e.school),t=function(u){return XRe("btn btn-outline-primary flex-grow-1 px-md-4 t--sdp-invitation-footer-ignore "+u)({onClick:ZRe(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=mo(YS(n.id)(e.schoolDb)),o=function(u){if(e.mobileLayout)return kx("card-footer bg-white "+u);var l=gB("container card"),c=kx("card-body mb-0 "+u);return function(s){return l(c(s))}},i=function(u){return XRe("btn btn-primary flex-grow-1 px-md-4 t--sdp-invitation-footer-accept "+u)({onClick:ZRe(e.onAcceptInvitation)})("Accept")};return Tu(e0n(fa(n0n(DB(r)(function(u){return u.status}))(new d(Qo.value))&&t0n(DB(r)(function(u){return u.initiator}))(new d(Ni.value))))(function(u){return ui(Zh(u.value0)(function(l){return Je(DB(r)(function(c){return c.status}))(function(c){return gB("position-fixed fixed-bottom t--sdp-invitation-footer")(o("d-flex flex-column flex-md-row align-items-stretch align-items-md-center")([kx("d-flex flex-nowrap align-items-center mr-md-3")([KRe(a)(""),a0n("")(n.name+" wants to connect!")]),gB("d-flex flex-nowrap mt-3 mt-md-0 mr-md-3")(function(){if(c instanceof Qo&&e.mobileLayout)return ce([i("mr-3"),t("")]);if(c instanceof Qo)return ce([t("mr-3"),i("")]);if(c instanceof Ul)return ewe("text-success")("Connected");if(c instanceof Gu)return ewe("text-secondary")("Ignored");throw new Error("Failed pattern match at SchoolDetails.Footer (line 46, column 15 - line 54, column 52): "+[c.constructor.name])}()),kx("d-flex flex-nowrap align-items-center mt-3 mt-md-0 flex-grow-1 justify-content-md-end")([Y("What is a connection?"),r0n({placement:Us,overlay:Y(` A connection means a school is interested in your profile and accomplishments and wants to share more about their school. A connection does not mean you\u2019ve been accepted to the college. However, it\u2019s a great way to build relationships and find out if it\u2019s the right school for you! `),overlayStyle:fn({maxWidth:"15rem",position:"fixed"}),trigger:function(){return e.mobileLayout?z_:Qme}()})(KRe("fe fe-info pl-2")(""))])]))})}))}))};var j0=` (min-width: 1200px) 1140px, (min-width: 992px) 960px, (min-width: 768px) 720px, (min-width: 576px) 540px `;Wt();var yB=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 o0n=gs(),Vl=function(){return function(){return o0n(yB)}};var i0n=un(),twe=ta(L),awe=en(L),bB=B(ae),u0n=B(W),l0n=Kn(L),c0n=js()(),s0n=An(dt),ga=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}(i0n(e.school)),i=uv(e.module.data);return i instanceof h0&&o instanceof C1?"Alumni spotlight":i instanceof h0&&o instanceof I1?"Alumnae spotlight":i instanceof h0&&o instanceof Jh?"Alumni spotlight":G_(uv(e.module.data))}(),a=En(e.isUserHq)(function(){return e.isPublished?ce([twe("fe fe-check-circle large text-success mr-2 t--module-live-icon")(""),awe("text-success")("Live")]):ce([twe("fe fe-x-circle large text-warning mr-2 t--module-draft-icon")(""),awe("text-warning")("Draft")])}()),r=function(){return e.module.isLiked?"/img/icons/heart-filled-gray-800.svg":"/img/icons/heart-empty.svg"}();return bB("card-header")(u0n("row align-items-center")([l0n("col-auto mb-0")(t),bB("col d-flex align-items-center justify-content-end")(a),En(e.showLikeButton)(bB("col-auto")(c0n("cursor-pointer t--content-module-interaction "+n)({src:r,height:"18",width:"18",onClick:s0n(e.onContentModuleInteraction)({type:function(){return e.module.isLiked?new d($E.value):new d(zE.value)}(),moduleId:e.module.id})})))]))};var f0n=Ea(),Ux=Z(J),tT=re(ze),v0n=oa(Te)(vt),m0n=Or(Te)(vt),p0n=Z(ge),_0n=s0()(),d0n=Ye(sa)(Iu(zo)(function(e){var n=e>=5120;return n?C.value:new d(new Ue(e,e*1.16))})(640))([5120]),ko=function(){return function(e){return function(n){var t=f0n(n),a=Ms({key:"auto",value:kn(t.auto)("format")})(wm({key:"q",value:Ux(yr(t.q))(tT)})(wm({key:"dpr",value:Ux(yr(t.dpr))(tT)})(wm({key:"ar",value:yr(t.ar)})(wm({key:"crop",value:yr(t.crop)})(wm({key:"fit",value:yr(t.fit)})(wm({key:"h",value:Ux(yr(t.h))(tT)})(wm({key:"w",value:Ux(yr(t.w))(tT)})(Ee(t.src)(l1("?")(t.src)))))))))),r=function(i){var u=tT(Ur(i));return v0n([a,"&w=",u," ",u,"w"])},o=function(){if(jS(t.w))return m0n(",")(p0n(d0n)(r));if(je)return"";throw new Error("Failed pattern match at Utils.Imgix (line 61, column 5 - line 65, column 13): "+[])}();return _0n(e)({src:a,srcSet:o,style:kn(t.style)(fn({})),alt:kn(t.alt)(""),sizes:kn(t.sizes)("")})}}};var h0n=re(Ti),rwe=B(W),g0n=Yn(W)()(),D0n=Z(ge),y0n=ko(),b0n=Vl()(),owe=function(e){var n="t--academic-photo-gallery-carousel-"+h0n(ua(e.school));return rwe("card")([ga(e),rwe("card-body")([g0n("flickity-viewport-visible mb-4 "+n)({style:fn({display:"none"})})(D0n(e.photos)(function(t){return y0n("w-100 rounded")({src:t.url,ar:"2:1",fit:"crop",crop:"faces",auto:"compress,format",sizes:j0})})),b0n({containerClassName:n,onMountShowContainer:!0,pageDots:!0})])])};var R0n=B(ae),w0n=A0(),Hx=B(W),S0n=Yn(W)()(),E0n=Z(ge),C0n=Kn(L),iwe=B(L),I0n=Vl()(),uwe=function(e){var n=function(t){return Je(t)(function(a){return R0n("col-12 col-md-auto mb-4 mb-md-0 d-flex justify-content-center justify-content-md-start align-items-md-center")(w0n({source:new bu({url:a+"?fit=crop&crop=faces,edges&w=256&h=256&auto=compress,format"}),size:zb.value}))})};return Hx("card")([ga(e),Hx("card-body mb-4")([S0n("flickity-viewport-visible t--alumni-spotlight-carousel")({style:fn({display:"none"})})(E0n(e.props.alumni)(function(t){return Hx("row py-3 px-5 w-100")([n(t.avatarURL),Hx("col-12 col-md ml-2")([C0n("mb-1")(t.name),iwe("small text-secondary")(t.degreeGraduationYear),iwe("mt-3")(t.bio)])])})),I0n({containerClassName:"t--alumni-spotlight-carousel",onMountShowContainer:!0,pageDots:!0})])])};var Bx=B(W),T0n=Z(ge),F0n=B(ae),M0n=f0(L)()(),G0n=Ct(L),A0n=Vn(L),lwe=function(e){return Bx("card")([ga(e),Bx("card-body")(T0n(e.videos)(function(n){return Bx("row mb-4 align-items-center text-center text-md-left")([F0n("col-12 col-md-auto")(M0n("h-100 border-0 rounded")({src:n.link,allowFullScreen:!0})("")),Bx("col mt-2 mt-md-0")([G0n("")(n.title),A0n("")(b_(n.duration))])])}))])};var x0n=un(),cwe=oa(Te)(vt),Jx=re(qi),swe=Pye(W),RB=B(L),fwe=B(W),L0n=s0()(),j0n=yd(L)(ae),vwe=function(e){var n=x0n(e.school),t=w1(yS(n.address)).lng,a=w1(yS(n.address)).lat,r=function(i){return cwe(["https://api.mapbox.com/styles/v1/collegevine-ivy/ck8z1m02b06f41io4o6s4z5md/static/pin-s+3c8df5(",Jx(t),",",Jx(a)+")/",Jx(t),",",Jx(a),",6.57,0/600x400@2x?access_token=",i])},o=function(i){if(i instanceof Il)return swe({icon:"map-pin",body:[RB("")(i.value0.street),RB("")(cwe([i.value0.city,", ",Kp(i.value0.state)," ",i.value0.zip]))]});if(i instanceof nl)return swe({icon:"map-pin",body:[RB("")(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 fwe("card")([ga(e),fwe("card-body")([L0n("w-100 mb-5 rounded")({src:r(e.mapboxAccessToken)}),j0n([{title:"Campus Setting",value:Y(Bh(n.setting))},{title:"Region",value:Y(DS(n.address))}]),o(n.address)])])};var N0n=re(Ti),mwe=B(W),P0n=Yn(W)()(),O0n=Z(ge),k0n=ko(),U0n=Vl()(),pwe=function(e){var n="t--campus-photo-gallery-carousel-"+N0n(ua(e.school));return mwe("card")([ga(e),mwe("card-body")([P0n("flickity-viewport-visible mb-4 "+n)({style:fn({display:"none"})})(O0n(e.photos)(function(t){return k0n("w-100 rounded")({src:t.url,fit:"crop",crop:"faces",ar:"2:1",auto:"compress,format",sizes:j0})})),U0n({containerClassName:n,onMountShowContainer:!0,pageDots:!0})])])};var Wx=B(W),H0n=Z(ge),B0n=B(ae),J0n=f0(L)()(),W0n=Ct(L),q0n=Vn(L),_we=function(e){return Wx("card")([ga(e),Wx("card-body")(H0n(e.videos)(function(n){return Wx("row mb-4 align-items-center text-center text-md-left")([B0n("col-12 col-md-auto")(J0n("h-100 border-0 rounded")({src:n.url,allowFullScreen:!0})("")),Wx("col mt-2 mt-md-0")([W0n("")(n.title),q0n("")(b_(n.duration))])])}))])};var dwe=li(),z0n=Yn(ae)()(),aT=B(W),$0n=Kn(L),qx=B(ae),V0n=Vo()(),hwe=An(no),Q0n=en(L),gwe=Qe(Xe),Y0n=Z(ge),Td=function(e){var n=function(a){return function(r){return function(o){var i=function(u){return kr(function(l){return r(u)(e.filter.toValue(l))})(o)};return ke(o)(i)(a)}}},t=function(a){return function(r){return a===""?r:kr(function(o){return fs(iu(a))(iu(e.search.toTerm(o)))})(r)}};return Tu(dwe(fa(""))(function(a){return dwe(fa(C.value))(function(r){return ui(z0n("")({style:fn({marginBottom:"10rem"})})(aT("card")([$0n("card-header")(e.title),aT("card-body")([aT("form-row")([qx("col-12 col-md-6")(aT("input-group input-group-merge")([V0n("form-control form-control-prepended "+e.search.className)({type:"text",value:a.value0,placeholder:e.search.placeholder,onChange:hwe(a.value1)(Bs)}),qx("input-group-prepend")(qx("input-group-text")(Q0n("fe fe-search font-weight-bold fw-bold")("")))])),qx("col-12 col-md-6 mt-2 mt-md-0")(Ys(new yu("Search"))()({className:e.filter.className,value:r.value0,options:e.filter.items,getOptionLabel:gwe,getOptionValue:gwe,onSelect:hwe(r.value1)(d.create),isClearable:!0,onClear:r.value1(C.value),placeholder:e.filter.placeholder}))]),aT("mt-5")(Y0n(n(r.value0)(e.filter.predicate)(t(a.value0)(e.items)))(e.renderItem))])])))})}))};var X0n=j(wS);var Dwe=function(e){return function(n){return function(t){return xK(X0n(XD(n))(jK(t)))({newSeed:e,size:n})}}};var rT=B(W),oT=B(ae),Z0n=H1(L)()(),K0n=un(),emn=Kn(L),ywe=Vn(L),bwe=B(L),nmn=re(ze),Rwe=_e(ma),tmn=sh(Ut),wwe=Np(Ut),wB=Z(ge),Swe=Qe(Xe),amn=An(no),rmn=Xn(L)()(),omn=An(dt),Ewe=function(e){var n=function(u){return u.number+(" "+u.name)},t=function(u){return ce([rT("row no-gutters g-0")([oT("col-auto")(Z0n("mr-3 fe fe-book-open xx-large")({style:fn({color:Ee("")(function(l){return l.colors.primary}(K0n(e.school)))})})("")),rT("col mt-3 pr-5")([emn("")(n(u)),Je(u.description)(function(l){return ywe("")(l)}),Je(u.size)(function(l){return bwe("mt-2 text-secondary")("Expected class size: "+nmn(l))}),Je(u.instructors)(function(l){return bwe("mt-2 text-secondary")("Taught by: "+l)})])]),Ha("")])},a=function(u){var l=kr(function(){var c=Rwe(u);return function(s){return c(function(f){return f.department}(s))}}())(e.props.courses);return Dwe(e.randomSeed)(2)(l)},r=tmn(wwe(wB(e.props.courses)(function(u){return u.department}))),o=wwe(wB(e.props.courses)(function(u){return u.department})),i=Td({title:G_(uv(e.module.data)),items:e.props.courses,renderItem:function(u){return oT("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:Rwe}});return co(fa(wi(o)))(function(u){return function(l){return rT("card")([ga(e),rT("card-body")([oT("w-50")(Ys(new yu("Select Department"))()({options:o,getOptionLabel:Swe,getOptionValue:Swe,onSelect:amn(l)(d.create),value:u})),Je(u)(function(c){return ce([rT("mt-4")([ywe("text-secondary")("A sample of courses for this department"),ce(wB(a(c))(t))]),oT("row mt-4")(oT("col-6 offset-3")(rmn("btn btn-outline-primary btn-block")({onClick:omn(e.showOverlay)(i)})("Check out the full course catalog")))])})])])}})};var imn=Or(Te)(vt),iT=B(W),umn=Kn(L),Cwe=Vn(L),lmn=B(L),zx=B(ae),Iwe=Qe(Xe),cmn=An(no),smn=Z(ge),fmn=Xn(L)()(),vmn=An(dt),Twe=function(e){var n=function(u){return function(l){return u?new d(l):C.value}},t=function(u){return imn(", ")(gr([n(u.offerings.major)("Major"),n(u.offerings.minor)("Minor"),n(u.offerings.concentration)("Concentration")]))},a=function(u){var l=kr(function(c){return fs(u)(t(c))})(e.props.degrees);return XD(3)(l)},r=function(u){return ce([iT("row no-gutters g-0")([iT("col mt-3 pr-5")([umn("")(u.name),Cwe("")(u.description),lmn("mt-2 text-secondary")("Offerings: "+t(u))])]),Ha("")])},o=["Major","Minor","Concentration"],i=Td({title:G_(uv(e.module.data)),items:e.props.degrees,renderItem:function(u){return zx("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 fs(u)}}});return co(fa(wi(o)))(function(u){return function(l){return iT("card")([ga(e),iT("card-body")([zx("w-50")(Ys(new yu("Select Degree Option"))()({options:o,getOptionLabel:Iwe,getOptionValue:Iwe,onSelect:cmn(l)(d.create),value:u})),Je(u)(function(c){return ce([iT("mt-4")([Cwe("text-secondary")("A sample of degree options for this offering"),ce(smn(a(c))(r))]),zx("row mt-4")(zx("col-6 offset-3")(fmn("btn btn-outline-primary btn-block")({onClick:vmn(e.showOverlay)(i)})("Check out all the degree options")))])})])])}})};var mmn=re(Ti),pmn=B(ae),_mn=A0(),$x=B(W),dmn=Yn(W)()(),hmn=Z(ge),gmn=Kn(L),Fwe=B(L),Dmn=Vl()(),Mwe=function(e){var n="t--faculty-spotlight-carousel-"+mmn(ua(e.school)),t=function(a){return Je(a)(function(r){return pmn("col-12 col-md-auto mb-4 mb-md-0 d-flex justify-content-center justify-content-md-start align-items-md-center")(_mn({source:new bu({url:r+"?fit=crop&crop=faces,edges&w=256&h=256&auto=compress,format"}),size:zb.value}))})};return $x("card")([ga(e),$x("card-body mb-4")([dmn("flickity-viewport-visible "+n)({style:fn({display:"none"})})(hmn(e.faculty)(function(a){return $x("row py-3 px-5 w-100")([t(a.avatarUrl),$x("col-12 col-md ml-2")([gmn("mb-1")(a.name),Fwe("small text-secondary")(a.department),Fwe("mt-3")(a.bio)])])})),Dmn({containerClassName:n,onMountShowContainer:!0,pageDots:!0})])])};var ymn=Yn(L)()(),SB=Z(ge),fD=B(W),Vx=B(L),bmn=mi(ae)()(),Rmn=Cs(W)()(),wmn=Ea(),Smn=Kn(L),uT=B(ae),Emn=function(e){return function(n){var t=function(c){return ymn("rounded")({style:fn({width:"0.5rem",height:"0.5rem",backgroundColor:c})})("")},a=ce(SB(e)(function(c){return fD("d-flex align-items-center mt-2")([t(c.color),Vx("ml-2")(c.name+(": "+c.pct))])})),r=ce(SB(e)(function(c){return ce([fD("row align-items-center")([fD("col text-nowrap")([fD("d-flex align-items-center")([t(c.color),Vx("ml-2")(c.name)])]),Vx("col-auto font-weight-semibold")(c.pct)]),Ha("my-3")])})),o=function(){return n?r:a}(),i=function(c){return fD("d-flex flex-column align-items-center")([Y(c.name),fD("d-flex align-items-center")([t(c.color),Vx("ml-2")(c.pct)])])},u=function(c){return function(s){var f=c.angle+2*Wv*s.value;return{angle:f,visual:bmn({overlay:i(s)})(Jb({center:{x:0,y:0},angle0:c.angle,angle1:f,innerRadius:60,outerRadius:150,fill:s.color,stroke:{color:"white",width:1}}))}}},l=Rmn("my-3")({viewBox:"-160 -160 320 320",width:"200",height:"200"})(SB(Z6(u)({angle:0,visual:nn})(e))(function(c){return c.visual}));return{chart:l,legend:o}}},Qx=function(){return function(e){var n=wmn(e),t=Emn(n.segments)(n.tableLegend),a=Je(yr(n.title))(Smn("text-uppercase text-secondary small t--subtitle")),r=function(o){if(n.tableLegend)return uT("col-12 text-center col-md mb-3 mb-md-0")(uT("bg-very-light-grey py-4")(o));if(je)return uT("col-12 text-center col-md-4")(o);throw new Error("Failed pattern match at Component.PieChart (line 57, column 5 - line 62, column 52): "+[o.constructor.name])};return n.stackLegend?ce([a,t.chart,t.legend]):ce([uT("ml-4")(a),fD("row align-items-center justify-content-center")([r(t.chart),uT("col")(t.legend)])])}};var Cmn=Z(ge),Imn=Qx(),Tmn=B(W),Fmn=B(ae),Gwe=function(e){var n=function(){var t=Cmn(e.props.breakdown)(function(a){return{value:a.percentage,color:a.chartColor,name:a.label,pct:xa(a.percentage)}});return Imn({segments:t,title:"Average aid package",stackLegend:!1,tableLegend:!1})}();return Tmn("card")([ga(e),Fmn("card-body")(n)])};var EB=B(W),Awe=B(ae),Mmn=f0(L)()(),Gmn=Ct(L),Amn=Vn(L),xwe=function(e){return EB("card")([ga(e),Awe("card-body")(EB("row mb-4 align-items-center text-center text-md-left")([Awe("col-12 col-md-auto")(Mmn("h-100 border-0 rounded")({src:e.video.link,allowFullScreen:!0})("")),EB("col mt-2 mt-md-0")([Gmn("")(e.video.title),Amn("")(b_(e.video.duration))])]))])};var LB=Da(Nwe());var qmn=dc(),zmn=function(e){return e},$mn=function(e){return e};var Pwe=function(e){var n=qmn(e);return function(){return function(){return n(LB.default)}}},Owe=function(e){return zmn(Gr(e))};var kwe=$mn,Uwe=Gr("auto");var Vmn=Pwe(ae)()(),Xx=B(W),Qmn=Yn(W)()(),Ymn=An(dt),Xmn=Ct(L),Hwe=B(L),Zmn=ca(L)()(),Kmn=j(ge),epn=function(e){var n=function(a){return Vmn({duration:kwe(350),height:function(){if(a instanceof Qa)return Owe(0);if(a instanceof Ka)return Uwe;throw new Error("Failed pattern match at SchoolDetails.ContentModules.GrantsAndScholarships (line 43, column 19 - line 45, column 43): "+[a.constructor.name])}()})},t=function(a){if(a instanceof Qa)return"down";if(a instanceof Ka)return"up";throw new Error("Failed pattern match at SchoolDetails.ContentModules.GrantsAndScholarships (line 38, column 5 - line 38, column 31): "+[a.constructor.name])};return co(fa(Qa.value))(function(a){return function(r){return Xx("")([Qmn("row border-bottom align-items-center mb-4")({onClick:Ymn(r)(w0(a))})([Xmn("mb-4 mx-2")(e.name),Hwe("ml-auto ms-auto mb-4 x-large fe fe-chevron-"+t(a))("")]),n(a)(Xx("mb-4")([Hwe("mb-3")(e.description),Zmn("")({href:e.url,target:"_blank"})("Learn more here")]))])}})},Bwe=function(e){return Xx("card")([ga(e),Xx("card-body")(Kmn(epn)(e.props.grantsAndScholarships))])};var npn=re(Ti),lT=B(W),tpn=Lc(L),Jwe=Vn(L),apn=Yn(W)()(),Wwe=Z(ge),rpn=ko(),opn=Vl()(),ipn=Is(L),upn=Kn(L),qwe=function(e){var n="t--local-area-spotlight-carousel-"+npn(ua(e.school));return lT("card")([ga(e),lT("card-body")([tpn("")(e.area.name),Jwe("")(e.area.description),lT("mb-4")([apn("flickity-viewport-visible "+n)({style:fn({display:"none"})})(Wwe(e.area.images)(function(t){return rpn("w-100 rounded")({src:t.url,ar:"2:1",fit:"crop",auto:"compress,format",sizes:j0})})),opn({containerClassName:n,onMountShowContainer:!0,pageDots:!0})]),ipn("small text-uppercase mt-6 mb-4")("Top things to do"),lT("row")(Wwe(e.activities)(function(t){return lT("col-12 col-md-6")([upn("")(t.name),Jwe("")(t.description)])}))])])};var lpn=Xn(L)()(),cpn=_e(bue),spn=An(dt),fpn=re(Ti),jB=B(W),zwe=Vn(L),vpn=c0(ae),mpn=l0(W),$we=Z(ge),ppn=u0(W),Vwe=Es(L),_pn=Er(L),dpn=Or(Te)(vt),hpn=Yn(W)()(),gpn=ko(),Dpn=Vl()(),Qwe=function(e){var n=function(r){return function(o){return function(i){return Je(r)(function(u){return lpn("btn "+function(){var l=cpn(u)(o);return l?"btn-primary":"btn-outline-secondary"}())({onClick:spn(i)(u)})(Rue(u))})}}},t=function(r){return"t--non-academic-facilities-carousel-"+(fpn(ua(e.school))+("-"+ke("")(NG)(r)))},a=function(r){if(r instanceof g0)return e.residence;if(r instanceof A_)return e.athletic;if(r instanceof Qm)return e.dining;throw new Error("Failed pattern match at SchoolDetails.ContentModules.NonAcademicFacilities (line 73, column 18 - line 76, column 32): "+[r.constructor.name])};return co(fa(g0.value))(function(r){return function(o){return jB("card")([ga(e),jB("card-body")([jB("btn-group btn-group-toggle w-100 mb-4")([n(e.residence.id)(r)(o),n(e.athletic.id)(r)(o),n(e.dining.id)(r)(o)]),zwe("")(a(r).description),vpn("table table-lg")(mpn("")($we(a(r).information)(function(i){return ppn("")([Vwe("")(i.name),Vwe("text-right w-50 font-weight-bold fw-bold")(i.description)])}))),Je(a(r).list)(function(i){return ce([_pn("uppercase text-secondary")(Ee("")(wue(a(r).id))),zwe("")(dpn(", ")(i))])}),hpn("flickity-viewport-visible mb-4 "+t(a(r).id))({style:fn({display:"none"})})($we(function(i){return i.photos}(a(r)))(function(i){return gpn("w-100 rounded")({src:i.url,ar:"2:1",fit:"crop",crop:"faces",auto:"compress,format",sizes:j0})})),Dpn({containerClassName:t(a(r).id),onMountShowContainer:!0,pageDots:!0,key:NG(Ee(g0.value)(a(r).id))})])])}})};var ypn=B(W),bpn=B(ae),Rpn=c0(ae),wpn=l0(W),Spn=Z(ge),Epn=u0(W),Ywe=Es(L),Xwe=function(e){return ypn("card")([ga(e),bpn("card-body")(Rpn("table table-lg")(wpn("")(Spn(e.props.costs)(function(n){return Je(n.description)(function(t){return Epn("")([Ywe("")(n.name),Ywe("text-right w-50")(t)])})}))))])};var DR=B(W),Cpn=B(ae),Ipn=ko(),Tpn=Ct(L),Zwe=Vn(L),Fpn=Ca(L),Mpn=Is(L),Gpn=j(ge),Kwe=function(e){var n=function(t){return DR("row mb-4 align-items-center text-center text-md-left")([Cpn("col-12 col-md-3")(Ipn("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 `})),DR("col mt-2 mt-md-0")([Tpn("")(t.name)])])};return DR("card")([ga(e),DR("card-body")([Zwe("")(e.description),DR("row pt-5 mx-1 border-bottom")([Zwe("col-6 px-0")("Religious affiliation"),Fpn("col-6 ml-auto ms-auto text-right px-0")(e.affiliation)]),Mpn("small text-uppercase my-5")("Sacred spaces and religious facilities"),DR("")(Gpn(n)(e.locations))])])};var cT=B(W),NB=Vn(L),Apn=Ca(L),xpn=B(ae),Lpn=f0(L)()(),jpn=Ct(L),Npn=ko(),eSe=function(e){return cT("card")([ga(e),cT("card-body")([NB("")(e.spectatorSports.description),cT("row pt-5 mx-1 border-bottom")([NB("")("Conference affiliation"),Apn("ml-auto ms-auto")(e.spectatorSports.conferenceAffiliation)]),cT("row my-4 align-items-center")([xpn("col-12 col-md-auto")(Lpn("h-100 border-0 rounded")({src:e.spectatorSports.video.url,allowFullScreen:!0})("")),cT("col mt-2 mt-md-0")([jpn("")(e.spectatorSports.video.title),NB("")(b_(e.spectatorSports.video.duration))])]),Je(e.spectatorSports.photoUrl)(function(n){return Npn("rounded img-fluid mt-3")({src:n,ar:"3:2",fit:"crop",crop:"edges",sizes:j0})})])])};var vD=B(W),nSe=Kn(L),PB=Vn(L),Ppn=sh(Ut),Opn=Np(Ut),OB=Z(ge),kpn=re(Ti),sT=B(ae),Upn=_e(ma),Hpn=Yn(W)()(),Bpn=ko(),Jpn=Vl()(),tSe=en(L),Wpn=re(ze),qpn=Xn(L)()(),zpn=An(dt),aSe=function(e){var n=function(o){return ce([vD("col mt-3 pr-5")([nSe("mb-2")(o.name),PB("text-secondary")(o.category),Je(o.description)(function(i){return PB("")(i)})]),Ha("")])},t=Ppn(Opn(OB(e.props.groups)(function(o){return o.category}))),a="t--student-groups-carousel-"+kpn(ua(e.school)),r=Td({title:G_(uv(e.module.data)),items:e.props.groups,renderItem:function(o){return sT("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:Upn}});return vD("card")([ga(e),vD("card-body")([vD("mb-4")([Hpn("flickity-viewport-visible "+a)({style:fn({display:"none"})})(OB(e.props.photos)(function(o){return Bpn("w-100 rounded")({src:o.url,ar:"2:1",fit:"crop",auto:"compress,format"})})),Jpn({containerClassName:a,onMountShowContainer:!0,pageDots:!0})]),vD("row mt-6")([sT("col")(tSe("large")("Student-run groups and organizations")),sT("col-auto")(tSe("large")(Wpn(ha(e.props.groups))))]),Ha(""),vD("row")(OB(kr(function(o){return o.isFeatured})(e.props.groups))(function(o){return vD("col-12 col-md-6")([nSe("mt-4 mb-2")(o.name),PB("text-secondary small")(o.category)])})),sT("row mt-4")(sT("col-6 offset-3")(qpn("btn btn-outline-primary btn-block")({onClick:zpn(e.showOverlay)(r)})("All student groups")))])])};var $pn=sh(Ut),Vpn=Np(Ut),Qpn=Z(ge),fT=B(W),Ypn=ko(),rSe=Kn(L),oSe=Vn(L),yR=B(L),Xpn=_e(ma),Zpn=l2(W),Kpn=Er(L),e_n=j(ge),iSe=B(ae),n_n=Xn(L)()(),t_n=An(dt),uSe=function(e){var n=function(o){return o.city+(", "+o.country)},t=$pn(Vpn(Qpn(e.props.programs)(n))),a=function(o){return fT("col-12 mb-4 col-md-6 mb-md-0")([Je(o.imageURL)(function(i){return Ypn("rounded img-fluid")({src:i,ar:"3:2",fit:"crop",crop:"edges"})}),rSe("mt-3")(o.name),Je(o.description)(function(i){return oSe("")(i)}),yR("mt-n2 text-secondary")("Location: "+n(o)),Je(o.duration)(function(i){return yR("text-secondary mt-2")("Program length: "+i)})])},r=Td({title:"All programs",items:e.props.programs,renderItem:function(o){return fT("mb-5")([rSe("")(o.name),Je(o.description)(function(i){return oSe("")(i)}),yR("mt-n2 text-secondary")("Location: "+n(o)),Je(o.region)(function(i){return yR("text-secondary mt-2")("Region: "+i)}),Je(o.duration)(function(i){return yR("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:Xpn}});return fT("card")([ga(e),fT("card-body")([Je(e.props.description)(function(o){return yR("mb-4")(o)}),Zpn("")([Kpn("")("Featured programs"),fT("row mt-4")(e_n(a)(e.props.featuredPrograms))]),iSe("row mt-4")(iSe("col-6 offset-3")(n_n("btn btn-outline-primary btn-block")({onClick:t_n(e.showOverlay)(r)})("All programs")))])])};var kB=B(W),lSe=B(ae),a_n=Z(ge),r_n=ko(),o_n=Kn(L),i_n=Vn(L),cSe=function(e){return kB("card")([ga(e),lSe("card-body")(ce(a_n(e.traditions)(function(n){return kB("row mb-4")([Je(n.photoUrl)(function(t){return lSe("col-12 col-md mb-4 mb-md-0")(r_n("w-100 rounded")({src:t,fit:"crop",crop:"faces",ar:"2:1",auto:"compress,format"}))}),kB("col")([o_n("")(n.name),i_n("")(n.description)])])})))])};var u_n=B(ae),l_n=Yn(ae)()(),c_n=B(L),s_n=B(W),f_n=Z(ge),_i=Ef()(),v_n=An(dt),m_n=Xn(W)()(),p_n=en(L),__n=Bn(Mn)(qt),d_n=Jn(at),UB=z(_t),sSe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),fSe=function(){function e(){}return e.value=new e,e}(),vSe=function(e){return function(n){return function(t){var a=u_n("text-center p-4")(l_n("spinner-border text-primary")({role:"status"})(c_n("sr-only")("Loading\u2026"))),r=function(u){return t(sSe.create(u))},o=function(u){var l=Jv(wu(kue)(function(s){return uv(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 s_n("pb-5 "+function(){var s=Dt(n.overlay);return s?"d-none":""}())(f_n(l(u))(function(s){if(s.data instanceof OG)return owe(_i(c(s))(s.data.value0));if(s.data instanceof kG)return uwe(_i(c(s))({props:s.data.value0}));if(s.data instanceof UG)return lwe(_i(c(s))(s.data.value0));if(s.data instanceof HG)return vwe(_i(c(s))({mapboxAccessToken:e.mapboxAccessToken}));if(s.data instanceof BG)return pwe(_i(c(s))(s.data.value0));if(s.data instanceof JG)return _we(_i(c(s))(s.data.value0));if(s.data instanceof WG)return Ewe(_i(c(s))({props:s.data.value0,showOverlay:r,randomSeed:e.randomSeed}));if(s.data instanceof qG)return Twe(_i(c(s))({props:s.data.value0,showOverlay:r}));if(s.data instanceof zG)return Mwe(_i(c(s))(s.data.value0));if(s.data instanceof $G)return Gwe(_i(c(s))({props:s.data.value0}));if(s.data instanceof VG)return xwe(_i(c(s))(s.data.value0));if(s.data instanceof QG)return Bwe(_i(c(s))({props:s.data.value0}));if(s.data instanceof YG)return qwe(_i(c(s))(s.data.value0));if(s.data instanceof XG)return Qwe(_i(c(s))(s.data.value0));if(s.data instanceof ZG)return Xwe(_i(c(s))({props:s.data.value0}));if(s.data instanceof KG)return Kwe(_i(c(s))(s.data.value0));if(s.data instanceof e4)return eSe(_i(c(s))(s.data.value0));if(s.data instanceof n4)return aSe(_i(c(s))({props:s.data.value0,showOverlay:r}));if(s.data instanceof t4)return uSe(_i(c(s))({props:s.data.value0,showOverlay:r}));if(s.data instanceof a4)return cSe(_i(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=v_n(t)(fSe.value);return ce([ke(a)(o)(mo(e.contentModules)),Je(n.overlay)(function(u){return ce([m_n("btn btn-link px-0")({onClick:i})([p_n("fe fe-chevron-left mr-1")(""),Y("Back")]),u])})])}}},mSe=function(e){return function(n){if(n instanceof sSe)return __n(fr(d_n(I9)))(function(){return UB({overlay:new d(n.value0)})});if(n instanceof fSe)return UB({overlay:C.value});throw new Error("Failed pattern match at SchoolDetails.ForYou (line 66, column 1 - line 66, column 55): "+[e.constructor.name,n.constructor.name])}},pSe=function(){return UB({overlay:C.value})}();var h_n=la(fu),g_n=lv(),D_n=UP(),_Se=function(e){var n=ca(e)()();return function(t){return function(a){return n(t)({href:a.href,onClick:h_n(function(r){return function(){return g_n(r)(),D_n(r)(),a.onClick()}})})}}};var y_n=Ls(L)()(),dSe=An(dt),b_n=Ls(W)()(),R_n=en(L),w_n=ww(Ate),S_n=Ea(),E_n=Yn(W)()(),C_n=Ye(sa),I_n=j(ge),T_n=function(e){return function(n){return n instanceof d&&n.value0 instanceof g_?"btn-success":n instanceof d&&n.value0 instanceof D_?"btn-danger":n instanceof d&&n.value0 instanceof h_?"btn-secondary":n instanceof d&&n.value0 instanceof y_||n instanceof C&&e.primary?"btn-primary":n instanceof C?"btn-outline-primary":"btn-light"}},F_n=function(e){return e instanceof g_?"badge-soft-success bg-success-soft":e instanceof D_?"badge-soft-danger bg-danger-soft":e instanceof h_?"badge-secondary bg-secondary":e instanceof y_?"badge-soft-primary bg-primary-soft":"badge-light bg-light text-dark"},hSe=function(){return function(e){return function(n){return function(t){var a=function(v){return" t--school-list-status-"+iu(nE(v))},r=function(v){return y_n("dropdown-item mb-1 "+(F_n(v)+a(v)))(tv)({onClick:dSe(t)(new d(v))})(L2(v))},o=function(){var v=function(m){if(je)return[b_n("dropdown-item mb-1 d-flex align-items-end badge-danger bg-danger t--school-list-status-remove")(tv)({onClick:dSe(t)(C.value)})([R_n("fe fe-x mr-2")(""),Y("Remove from list")])];throw new Error("Failed pattern match at Hub.ListStatusSelector (line 25, column 1 - line 30, column 15): "+[])};return n instanceof C?[]:v(!0)}(),i=w_n(W9)(ke([])(jp)(n)),u=S_n(e),l=kn(u.buttonContent)(Y(ke("Add to my list")(L2)(n))),c=kn(u.primary)(!1),s=kn(u.small)(!1),f=kn(u.buttonClass)("btn btn-block "+function(){return s?"no-animation btn-sm":"px-4"}());return y3("")({toggleClass:f+(" t--school-list-status-selector "+T_n({primary:c})(n)),toggleContent:l,contentId:"school-list-status-selector-dropdown-options",content:function(v){return E_n(kn(u.menuClass)("")+(" "+v.className))({id:v.contentId})(C_n(I_n(r)(i))(o))},ariaLabelInput:F_("School list selector dropdown")})}}}};var M_n=un(),G_n=An(no),gSe=function(e){return Ys(new yu(e.placeholder))()({options:Tce(e.schoolDb),getOptionLabel:GS,getOptionValue:function(n){return M_n(ua(n))},onSelect:G_n(e.onSelect)(function(n){return n}),placeholder:e.placeholder,noOptionsMessage:KA(function(n){return Y("No schools found")}),classNamePrefix:e.classNamePrefix})};var DSe="/messages";var Zx=Xn(L)()(),HB=la(vr),Kx=B(ae),k_n=B(W),U_n=ca(L)()(),e7=function(e){var n=Zx("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(je)return"Ignore connection";throw new Error("Failed pattern match at Network.SemVine.SchoolDetailsButton (line 106, column 5 - line 108, column 40): "+[])}(),a=function(){if(e.vineBelowConnectionLimit instanceof d&&!e.vineBelowConnectionLimit.value0)return!0;if(e.vineBelowConnectionLimit instanceof d&&e.vineBelowConnectionLimit.value0||e.vineBelowConnectionLimit instanceof C)return!1;throw new Error("Failed pattern match at Network.SemVine.SchoolDetailsButton (line 111, column 7 - line 114, column 25): "+[e.vineBelowConnectionLimit.constructor.name])}(),r=Zx("btn btn-block btn-primary px-4 t--sdp-connection-invite")({onClick:HB(e.onInviteSchool),disabled:a,style:fn({pointerEvents:function(){return a?"none":"auto"}()})})("Connect"),o=function(){return a?hC(dC)(Kx("t--sdp-connection-invite-wrapper")(r)):r}(),i=function(){if(e.shortText)return"Accept";if(je)return"Accept connection";throw new Error("Failed pattern match at Network.SemVine.SchoolDetailsButton (line 102, column 5 - line 104, column 40): "+[])}(),u=Zx("btn btn-block btn-primary text-nowrap t--sdp-connection-accept")({onClick:HB(e.onAcceptInvitation),disabled:a,style:fn({pointerEvents:function(){return a?"none":"auto"}()})})(i),l=k_n("form-row")([Kx("col-6 pr-2")(function(){return a?hC(dC)(Kx("t--sdp-connection-accept-wrapper")(u)):u}()),Kx("col-6 pl-2")(Zx("btn btn-block btn-light text-nowrap t--sdp-connection-ignore")({onClick:HB(e.onIgnoreInvitation)})(t))]),c=YS(ua(e.school))(e.schoolDb);if(c instanceof zt&&c.value0.status instanceof Ul)return U_n("btn btn-block btn-outline-primary t--sdp-connection-go-to-chat")({href:DSe})("Message");if(c instanceof zt&&c.value0.status instanceof Qo&&c.value0.initiator instanceof Ni)return l;if(c instanceof zt&&c.value0.status instanceof Gu&&c.value0.initiator instanceof Ni)return o;if(c instanceof zt&&c.value0.status instanceof Qo&&c.value0.initiator instanceof Ns||c instanceof zt&&c.value0.status instanceof Gu&&c.value0.initiator instanceof Ns)return n;if(c instanceof wa)return o;if(c instanceof rr)return nn;throw new Error("Failed pattern match at Network.SemVine.SchoolDetailsButton (line 33, column 3 - line 55, column 14): "+[c.constructor.name])};var H_n=to(Lr(Lo)),ySe=K(Pt),B_n=Ea(),J_n=Qi($n(Qn()(E({reflectSymbol:function(){return"id"}})(ue)(E({reflectSymbol:function(){return"imageUrl"}})(ue)(E({reflectSymbol:function(){return"name"}})(ue)(E({reflectSymbol:function(){return"slug"}})(ue)(he))))))),W_n=z(na),q_n=Z(ge),bSe=rm(),z_n=function(){return H_n("schools_search_path")(function(e){return function(n){return ySe(function(){var t=B_n(n);return e({term:t.term,only_ui_discoverable:kn(t.onlyUiDiscoverable)(!0)})}())(Wr(function(t){return ySe(J_n("School Search Results")(t))(function(a){return W_n(q_n(a)(function(r){return{imageUrl:r.imageUrl,name:r.name,id:bSe(r.id),slug:bSe(r.slug)}}))})}))}})},$_n=z_n(),RSe=function(e){return $_n({term:e})};var wSe=Z(Vt),V_n=vs(Vv),SSe=function(){var e=function(t){return wSe(wSe(V_n(RSe(t)))(tc))(Ee([]))},n=function(t){return i4(D0(Yo.value)(t.slug))};return nx(new yu("Search school"))()({loadOptions:ex(e),defaultOptions:!0,getOptionLabel:function(t){return t.name},getOptionValue:function(){var t=re(Ti);return function(a){return t(function(r){return r.id}(a))}}(),onSelect:la(fu)(n),placeholder:"Type to search",instanceId:"school-jump-bar"})}();var Q_n=zf(W),Y_n=Z(ge),X_n=ul(ae),Z_n=_Se(L),K_n=_e(zue),ESe=un(),edn=rv(),ndn=Z(J),tdn=hSe(),$c=B(ae),adn=ko(),sp=B(W),rdn=B(L),BB=j(J),odn=Yn(ae)()(),idn=Lc(L),udn=en(L),ldn=function(e){return function(n){var t=kr(o4({chancingState:n.chancingState,featureFlags:n.featureFlags,currentUser:n.currentUser,configuration:n.configuration,school:e.school,schoolDb:e.schoolDb}))([Au.value,Yo.value,Yi.value,xu.value,Hl.value,Bl.value,Jl.value]),a=function(o){if(o instanceof Yo)return"Overview";if(o instanceof Au)return"For you";if(o instanceof Yi)return"Chancing";if(o instanceof xu)return"Cost & scholarships";if(o instanceof Hl)return"Majors";if(o instanceof Bl)return"Admissions";if(o instanceof Jl)return"Essay prompt";throw new Error("Failed pattern match at SchoolDetails.Header (line 183, column 15 - line 190, column 43): "+[o.constructor.name])},r=function(){if(n.mobileLayout)return"px-4 pb-0 mx-n3 bg-white nav-sm flex-nowrap overflow-x-auto overflow-y-hidden";if(je)return"";throw new Error("Failed pattern match at SchoolDetails.Header (line 192, column 5 - line 196, column 13): "+[])}();return En(e.showNav)(Q_n("nav nav-tabs overflow-visible border-bottom-0 "+r)(Y_n(t)(function(o){return X_n("nav-item text-nowrap")(Z_n("cursor-pointer py-3 nav-link t--sdp-tab-"+(UE(o)+function(){var i=K_n(o)(e.activeTab);return i?" active":""}()))({onClick:e.onSwitchTab(o),href:D0(o)(function(i){return i.slug}(ESe(e.school)))})(a(o)))})))}},cdn=function(e){return function(n){if(n.currentUser instanceof C)return edn({text:"Add to my list",className:"btn btn-outline-primary btn-block",auth0ActiveTab:av});if(n.currentUser instanceof d){var t=ndn(QS(ua(e.school))(e.schoolDb))(function(a){return a.status});return tdn({small:!1,primary:!1})(t)(e.onListStatusChange)}throw new Error("Failed pattern match at SchoolDetails.Header (line 138, column 33 - line 150, column 34): "+[n.currentUser.constructor.name])}},CSe=function(e){return function(n){var t=$c("col-10 col-lg-5 py-2 mr-lg-0 pl-0")(function(){var i=ha(e.schoolDb.searchOptions)<10;return i?SSe:gSe({schoolDb:e.schoolDb,onSelect:e.onSelectSchool,placeholder:"Type to search...",classNamePrefix:""})}()),a=ESe(e.school),r=function(){if(a.publicPrivate instanceof o_)return"Public";if(a.publicPrivate instanceof i_)return"Private";throw new Error("Failed pattern match at SchoolDetails.Header (line 105, column 21 - line 107, column 33): "+[a.publicPrivate.constructor.name])}(),o=function(i){return adn("rounded")({src:a.imgixPath,fit:"crop",crop:"edges",style:fn({height:i,width:"100%",objectFit:"cover"})})};return sp("header mb-3 mx-n3 mx-md-0")([sp("row pr-3 my-3")([$c("col pr-0")(pa(n.backButton)),pa(Fu(e.configuration)(t)),rdn("col")("")]),sp("position-relative mx-3 mx-lg-0")([$c("d-md-none")(o("15rem")),$c("d-none d-md-block")(o("20rem")),pa(BB(odn("position-absolute d-inline bg-gray-100 rounded")({style:fn({top:"1.5rem",right:"1.5rem"})}))($ye(e.onEdit)(Kb.value)))]),$c("container px-lg-0")(sp("pb-0 pb-md-3")([sp("row align-items-end mt-4")([sp("col mb-3")([sp("row align-items-center")([$c("col-auto")(idn("header-title")(a.name)),pa(BB($c("col-auto pl-0"))(pi(e.onEdit)(bd.value)))]),$c("row")(sp("col small")(fh(udn("mx-2")("\u2022"))(Fo(BB(Y))([new d(bS(a.address)),XL(a),new d(r)]))))]),$c("col-12 col-lg-auto my-0 mb-lg-3")(sp("row no-gutters g-0 align-items-center")([En(e.showConnectButton)($c("col-12 col-lg-auto pb-3 pb-lg-0 pr-lg-2")(e7({school:e.school,schoolDb:e.schoolDb,onInviteSchool:e.onInviteSchool,onAcceptInvitation:e.onAcceptInvitation,onIgnoreInvitation:e.onIgnoreInvitation,featureFlags:n.featureFlags,vineBelowConnectionLimit:e.vineBelowConnectionLimit,shortText:!1}))),pa(Fu(e.configuration)($c("col-12 col-lg-auto")(cdn(e)(n))))]))]),$c("row border-bottom mx-1")($c("col col-lg-auto mt-3 mt-lg-0 px-0")(ldn(e)(n)))]))])}};var ISe=B(ae),sdn=en(L),fdn=re(ze),vdn=Kn(L),n7=B(W),TSe=c0(W),FSe=k1(ae),t7=u0(ae),MSe=U1(L),GSe=l0(W),JB=Z(ge),ASe=Es(L),mdn=Er(L),pdn=pf(Ut),_dn=function(e){return ISe("card bg-white")(ISe("card-body")(sdn("")(e.name+(" has "+(fdn(ha(e.majors))+" different majors")))))},ddn=function(e){return ce([vdn("")("Most popular majors"),n7("card")([n7("table-responsive")([TSe("table table-sm table-nowrap card-table")([FSe("")(t7("")(MSe("")("Major"))),GSe("list")(JB(e)(function(n){return t7("")(ASe("")(n.name))}))])])])])},hdn=function(e){return function(n){var t=j9(n.id)(e),a=JB(cte(t))(function(r){var o=Op(r).areaOfStudy;return ce([n7("card")([mdn("card-header")(o),n7("table-responsive")([TSe("table table-sm table-nowrap card-table")([FSe("")(t7("")(MSe("")("Major"))),GSe("list")(JB(Jv(pdn(function(i){return i.name}))(uc(r)))(function(i){return t7("")(ASe("")(i.name))}))])])])])});return ce(a)}},xSe=function(e){return function(n){var t=[{name:"Economics"},{name:"Biology"},{name:"Math"},{name:"Political Science"},{name:"English"},{name:"Psychology"},{name:"Computer Science"},{name:"Chemistry"},{name:"Art"}];return ce([_dn(n),function(){return n.id==="b1fe9c0b-0310-45f9-8579-1ad20fabacb1"?ddn(t):nn}(),hdn(e)(n)])}};var LSe=z(_t),jSe=Fi(Vt),gdn=Mr(jSe),Ddn=K(qt),ydn=hr(jSe),N0=B(W),a7=Yn(ae)()(),NSe=Ct(L),WB=B(L),r7=B(ae),bdn=Kn(L),Rdn=Er(L),qB=en(L),wdn=en(ae),zB=Ca(L),Sdn=re(qi),PSe=re(ze),Edn=Yn(L)()(),Cdn=ca(L)()(),$B=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),OSe=function(e){return function(n){if(n.value0 instanceof Qt)return LSe({liteChancing:e.liteChancing,schools:e.schools,chancedSchool:function(){var t=wi(n.value0.value0.value0);if(t instanceof d)return new zt(t.value0);if(t instanceof C)return wa.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 rt)return gdn($B.create)(function(t){return{chancedSchool:e.chancedSchool,schools:e.schools,liteChancing:t}})(Tye({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])}},kSe=J2()({utmCampaign:"uaq-38-sdp"})(g3),USe=function(e){var n=[Sye(e)];return Ddn(ydn($B.create)(Iye({schoolItems:n,redirectUrlOverride:new d(kSe)})))(function(t){return LSe({schools:n,chancedSchool:new rr(C.value),liteChancing:t})})},HSe=function(e){return function(n){return function(t){return function(a){var r=function(l){return Je(l.score)(function(c){return N0("row align-items-center mb-3")([a7("col-12 col-lg-auto")({style:fn({minHeight:"140px",minWidth:"280px"})})(_R({score:new d(Ur(c*100))})),N0("col-12 col-lg py-3 my-auto")([NSe("font-weight-normal fw-normal")("Your chances"),WB("h3 text-gray-800 mb-0 large")(xa(c))])])})},o=function(l){return Que(l)},i=function(l){return e.liteChancing.chancingIsLoading?a7("mb-4 spinner-border spinner-border-lg text-primary small")({role:"status"})(WB("sr-only")("Loading\u2026")):r(l)},u=function(l){return Mye(e.liteChancing)(function(c){return n($B.create(c))})(function(c){return r7("mt-2 mb-0 lite-chancing-cta")(r7("card h-100")(N0("card-body overflow-auto mh-100")([N0("d-flex align-items-center mb-4")([bdn("my-0 mr-3")("Chancing"),pa(pi(a)(rR.value))]),N0("row")([N0("col-12 col-lg-6")([NSe("")("What are your chances of acceptance?"),i(l)]),N0("col-12 col-lg-6")([Rdn("font-weight-normal fw-normal")("Your chancing factors"),c.gpaSlider({className:"mt-2 mb-3",label:function(s){return ce([qB("mb-2")("Unweighted GPA:"),wdn("gpa")(zB("")(" "+Sdn(s)))])},onChange:o(c.redirectUrl)}),N0("mb-3 d-flex flex-row justify-content-between")([c.satMathScoreSlider({className:"small t--sdp-lite-chancing-cta-left-sidebar-sat-math",label:function(s){return ce([Y("SAT: "),zB("")(PSe(s)+" math")])},onChange:o(c.redirectUrl)}),c.satVerbalScoreSlider({className:"small t--sdp-lite-chancing-cta-left-sidebar-sat-verbal",label:function(s){return ce([Y(" | "),zB("")(PSe(s)+" verbal")])},onChange:o(c.redirectUrl)})]),r7("mb-2")(c.genderDropdown({onChange:o(c.redirectUrl),className:""})),c.ecSelector({onChange:o(c.redirectUrl),className:""}),N0("")([N0("mb-1 small")([qB("text-danger")("Low accuracy"),qB("text-muted")(" (4 of 18 factors)")]),a7("progress")({style:fn({backgroundColor:"#95aac9",height:"3px"})})(Edn("progress-bar bg-danger")({role:"progressbar",style:fn({width:"15%"})})(""))]),r7("mt-4")(Cdn("t--sdp-lite-chancing-cta-left-sidebar-complete-full-profile-uaq-8 btn btn-primary w-100")({href:Ms({key:"utm_content",value:"add-more-factors"})(kSe)})("Add more factors \u203A"))])])])))})};if(e.chancedSchool instanceof rr)return a7("mb-4 spinner-border spinner-border-lg text-primary small")({role:"status"})(WB("sr-only")("Loading\u2026"));if(e.chancedSchool instanceof wa)return t;if(e.chancedSchool instanceof zt)return u(e.chancedSchool.value0);throw new Error("Failed pattern match at SchoolDetails.Chancing.LiteChancingCta (line 67, column 3 - line 79, column 32): "+[e.chancedSchool.constructor.name])}}}};var BSe=Xb(L),Idn=oa(Te)(vt),JSe=re(ze),Tdn=Kn(ae),Fdn=Ct(L),o7=B(W),i7=B(ae),Mdn=Kn(L),Gdn=function(e){var n=eD(Dd(e.studentsPerFaculty.percentile));return ce([BSe("Student faculty ratio")(Idn([m0(B2.value),JSe(e.studentsPerFaculty.value),":1 is ",n,"."])),Ya("")(JSe(e.studentsPerFaculty.value)+":1")])},Adn=function(e){return ce([BSe("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. `),Ya("mr-1")(QK(e.calendarSystem))])},xdn=function(e){var n=function(t){return Tdn("d-inline-block mb-2")(vl(t))};return ce([Fdn("mb-4 mt-5 mt-md-4")("Special academic offering"),o7("")([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 nn;throw new Error("Failed pattern match at SchoolDetails.Overview.Academics (line 73, column 7 - line 77, 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"))])])},WSe=function(e){return i7("card t--academics mt-5")(i7("card-body d-flex align-items-start")(o7("flex-grow-1 mr-4")([o7("d-flex align-items-center mb-5")([Mdn("my-0 mr-3 flex-grow-1")("Academics"),pa(pi(e.onEdit)(aR.value))]),o7("row")([i7("col-12 col-md-6")(Gdn(e.school)),i7("col-12 col-md-6")(Adn(e.school))]),xdn(e.school)])))};var u7=B(W),bR=B(ae),Ldn=Is(L),jdn=Ct(W),Ndn=du(L),Pdn=Kn(ae),Odn=Er(L),kdn=Vn(L),Udn=CG(),Hdn=z(Un),Bdn=Z(Rx),Jdn=Kn(L),Wdn=en(ae),qdn=un(),zdn=function(e){return Je(e.admissions.acceptanceRate)(function(n){return u7("row align-items-center mb-3")([bR("col-12 col-lg-6")(bR("row")(bR("col-6 order-2 order-lg-1 px-sm-4 px-lg-0")(_R({score:new d(Ur(100*n.value))})))),u7("col-12 col-lg-6 py-3 my-auto")([Ldn("text-uppercase text-muted")("Overall acceptance rate"),jdn("text-gray-800 mb-0")([Y(xa(n.value)),Ndn("text-secondary ml-2")(iD(e))])])])})},$dn=function(e){return bR("card t--chancing")(u7("card-body")([Pdn("")(Y(function(){if(e.admissions.acceptanceRate instanceof d)return eRe(e.name)(e.admissions.acceptanceRate.value0.value);if(e.admissions.acceptanceRate instanceof C)return e.name;throw new Error("Failed pattern match at SchoolDetails.Overview.Chancing (line 69, column 26 - line 71, column 31): "+[e.admissions.acceptanceRate.constructor.name])}())),zdn(e),Odn("")("Want to see your real chances?"),kdn("")("We take every aspect of your personal profile into consideration when calculating your admissions chances."),Udn({text:"Calculate my chances",className:"btn btn-primary"})]))},qSe=function(e){return function(n){return function(t){var a=$dn(e.school);return function(r){if(r instanceof iR)return Je(wx(r.value1))(hR({onSwitchTab:Hdn(e.onSwitchTab),showViewChancingExplanationCTA:!0,schoolDb:e.schoolDb})(e.school)(r.value0)(Bdn(Ex(r.value1))(function(o){return o.top})));if(r instanceof lR)return HSe(e.liteChancing)(t)(a)(e.onEdit);if(r instanceof cR)return JI({narrowLayout:n.mobileLayout});if(r instanceof uR)return bR("card")(u7("card-body")([Jdn("mr-3")("Chancing"),bR("p-6 text-center")(Wdn("spinner-border spinner-border-sm text-primary")(nn))]));throw new Error("Failed pattern match at SchoolDetails.Overview.Chancing (line 42, column 7 - line 61, column 16): "+[r.constructor.name])}(Sx({currentUser:n.currentUser,chancingState:n.chancingState,school:qdn(e.school)}))}}};var l7="/recruit/verify-profile";var Vdn=pt(xe),Qdn=Z(J),Ydn=_e(mc),Xdn=ca(W)()(),Zdn=en(L),c7=B(W),VB=B(L),zSe=ca(L)()(),Kdn=B(ae),ehn=Kn(L),nhn=Vn(L),QB=function(e){return function(n){return e.featureFlags.rcr2577ClaimSchoolProfileLinkOnSdp?e.school.profileClaimed?C.value:Vdn(Fu(e.configuration))(function(){var t=Qdn(e.currentUser)(function(a){return a.role});return t instanceof C?new d(n(Ce)):t instanceof d&&t.value0 instanceof aN&&Ydn(t.value0.value0.schoolId)(ua(e.school))?new d(n(Ce)):C.value}()):C.value}},$Se=function(e){return QB(e)(function(n){return Xdn("d-flex align-items-center")({href:l7})([Zdn("material-symbol large mr-2")("verified"),c7("d-flex flex-column flex-md-row")([VB("mr-md-2")("Work at "+(GS(e.school)+"?")),VB("")("Verify your profile")])])})},VSe=function(e){return QB(e)(function(n){return c7("d-flex flex-column flex-md-row justify-content-center align-items-center border-top pt-3 mb-5")([VB("mr-md-2")("Do you work at a school?"),zSe("")({href:l7})("Verify your profile")])})},QSe=function(e){return QB(e)(function(n){return Kdn("card bg-cv-green-50")(c7("card-body d-flex align-items-center")([jE("img-fluid mr-4 d-none d-md-block")("/img/sem/claim-school-profile-cta.svg"),c7("")([ehn("")("Do you work at "+(GS(e.school)+"?")),nhn("")(` Verify your profile\xA0to keep your college's data up to date, get insights on user activity and connect with hand raiser students `),zSe("")({href:l7})("Verify your profile")])]))})};var thn=_e(mc),YB=B(W),ahn=vu(L),rhn=Nl()(),ohn=An(no),ihn=ta(L),uhn=B(ae),lhn=en(L),YSe=re(ze),vT=z(_t),XSe=Bn(Mn),ZSe=XSe(qt),XB=Xr(at),ZB=z(na),chn=XSe(Pt),KB=function(){function e(){}return e.value=new e,e}(),KSe=function(){function e(){}return e.value=new e,e}(),eEe=function(){function e(){}return e.value=new e,e}(),nEe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),tEe=function(){function e(){}return e.value=new e,e}(),aEe=function(){function e(){}return e.value=new e,e}(),rEe=function(e){return function(n){return function(t){var a=ua(e.school),r=function(){return n.stagedNotes instanceof d&&thn(n.stagedNotes.value0.schoolId)(a)?n.stagedNotes.value0.text:L9(a)(e.schoolDb)}(),o=function(){if(n.savedIndicator instanceof KB)return"hidden";if(n.savedIndicator instanceof KSe)return"";if(n.savedIndicator instanceof eEe)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(nG),u=function(c){if(c{let e=null,n=0,t=()=>{if(!P0||!P0.key)return P0||console.error("Pusher config is missing in global context"),new zgn;let a={auth:{headers:{"X-CSRF-Token":P0.authToken}},authEndpoint:P0.authPath,cluster:P0.cluster};return P0.dev&&Object.assign(a,{wsHost:P0.dev.wsHost,wsPort:P0.dev.wsPort,enabledTransports:["ws"],forceTLS:!1,disableStats:!0}),new KEe.default(P0.key,a)};return{acquireConnection:()=>(e||(e=t(),n=0),n++,e),releaseConnection:()=>{--n<=0&&(e.disconnect(),e=null)}}})(),eCe=e=>{let n=Wgn().subscribe(e.channel);return n.bind(e.event,e.handler),()=>{n.unbind(e.event,e.handler),qgn()}};function zgn(){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 $gn(e);return this.channels.push(t),t},this.channelNames=function(){return this.channels.map(e=>e.name)}}function $gn(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 Vgn=oa(Te)(vt),Qgn=io(Kt)(qo);var Ygn={show:function(e){return e}},Xgn=re(Ygn),fJ=ue,nCe=function(e){var n=dS(e);return function(t){return function(a){return function(r){var o=Vgn(["Pusher event ",a," over channel ",Xgn(t)]),i=function(u){return Qgn(n(o)(u))(r)()};return function(){return eCe({channel:t,event:a,handler:i})}}}}};var vJ=ue;var tCe=Lr(Lo),aCe=K(Pt),rCe=Qn(),Zgn=Qi(rCe(E({reflectSymbol:function(){return"failureReason"}})(ue)(E({reflectSymbol:function(){return"success"}})(zn)(he)))),Kgn=Qi(rCe(E({reflectSymbol:function(){return"conversationId"}})(vJ)(E({reflectSymbol:function(){return"pusherChannel"}})(fJ)(he)))),oCe=to(Lr(Lr(tCe)))("trellis_inference_recruiter_send_message_path")(function(e){return function(n){return function(t){return function(a){return aCe(e({conversationId:t,message:a,presetTopic:Ri,vault:n}))(Wr(Zgn("Trellis.Inference.Recruiter.API: sendMessage")))}}}}),iCe=to(tCe)("trellis_inference_recruiter_create_conversation_path")(function(e){return function(n){return aCe(e({school_id:n}))(Wr(function(t){return Kgn("Trellis.Inference.Recruiter.API: createConversation")(t)}))}});var eDn=un();var uCe=function(e){return"/trellis/inference/recruiter/direct-message-introduction/"+eDn(e)};var lCe="active";var mJ=e1e()(),D7=Cs(W)()()("")({style:fn({height:40,width:40})})([mJ("blink")({cx:10,cy:20,r:3,style:fn({fill:"grey"})}),mJ("blink")({cx:20,cy:20,r:3,style:fn({fill:"grey",animationDelay:"250ms"})}),mJ("blink")({cx:30,cy:20,r:3,style:fn({fill:"grey",animationDelay:"500ms"})})]);var nDn=Z(ut);var cCe=function(e){return nDn(Kj(e.currentTarget))(function(n){return kn(L1(n))(0)})};var sCe=qa(),tDn=Ye(a9),aDn=bw(vt),pJ=re(ze),rDn=gl(xe),oDn=K(xe);var y7=function(){var e=sCe(tc(M1("\\s+")(tDn(kM)(Jee)))),n=kr(function(a){return a!==""}),t=t9(e);return function(a){return ha(n(t(a)))}}(),fCe=function(e){return function(n){var t=y7(n);return aDn([pJ(t),"/",pJ(e)," words"])}},vCe=function(e){return function(n){var t=function(i){return sCe(tc(M1("^(?:[\\w-]+[^\\w-]+){"+(pJ(i)+"}[\\w-]+"))(Bee)))},a=function(i){return function(u){var l=rDn(oDn(r9(t(i-1|0))(u))(kt(Aw)(0)));return Ee(u)(l)}},r=Hs(n),o=y7(r)0;return i?"/img/icons/sage-send-purple.svg":"/img/icons/ai-send.svg"}()))},r=sDn(e);return ce([fDn("flex-grow-1")([vDn("form-control t--new-message-body "+kn(r.className)(""))({autoFocus:kn(r.autoFocus)(!0),placeholder:r.placeholder,style:fn({borderStyle:"none",resize:"none",height:function(){if(n.messageHeight instanceof C)return"";if(n.messageHeight instanceof d)return mDn(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=vCe(1e3)(o),u=RDn(o)(),l=function(){var c=Yr(i)<5;return c?C.value:new d(u)}();return t(rt.create(DDn.create({message:i,messageHeight:l})))()},onKeyPress:pDn(function(o){return pCe(o.key==="Enter"&&!o.shiftKey)(function(){return _Dn(o)(),pCe(n.message!==""&&bDn(r.sendButtonStatus)(xd.value))(t(Qt.create(_J.create(n.message))))()})})}),En(y7(n.message)>=dDn(1e3)(2))(hDn("pl-3 pb-3 text-muted small")(fCe(1e3)(n.message)))]),gDn("text-right d-flex")(function(){if(r.sendButtonStatus instanceof xd)return a(!0);if(r.sendButtonStatus instanceof pD)return a(!1);if(r.sendButtonStatus instanceof Ld)return D7;throw new Error("Failed pattern match at Vinai.AuthorChatMessage (line 110, column 7 - line 113, column 35): "+[r.sendButtonStatus.constructor.name])}())])}}}};var b7=function(){return{message:"",messageHeight:C.value}}();var wDn=un();var SDn=function(e){return wDn(BF(e))};var _Ce=function(e){return Vr(SDn(e))};var EDn=wF(Ut),CDn=yh(zo),IDn=K($a),dCe=Jn(ms),hCe=z(Kt),TDn=xp(Kt)(bi),FDn=nCe(qp),MDn=Qe(Xe),GDn=oa(Te)(M6(C6)),ADn=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),R7=function(){function e(){}return e.value=new e,e}(),w7=function(){function e(){}return e.value=new e,e}();var gJ={append:function(e){return function(n){return EDn(n)(e)}}},xDn={mempty:Sf,Semigroup0:function(){return gJ}},LDn=zv(WF(xDn)(ya)),gCe=function(e){return e.value0.disconnect},DCe=function(e){return function(n){var t=_Ce(n),a=CDn(t);return function(){var o=dCe(hf(hCe(Ce)))(),i=TDn(a)(function(l){return FDn(e)(l.value0)(function(c){return function(){var f=l.value1(c)();if(f instanceof R7)return Ce;if(f instanceof w7)return IDn(rs(o))(MDn)();throw new Error("Failed pattern match at Utils.Pusher.ListenMany (line 70, column 23 - line 72, column 66): "+[f.constructor.name])}})})(),u=GDn(i);return dCe(df(u)(o))(),new ADn({disconnect:u})}}},S7=function(e){var n=sm(e);return function(t){return function(a){return LDn(r1(t)(function(r){var o=n(r);if(o instanceof ln)return a(o.value0);if(o instanceof on)return Ao($o)("Error parsing Pusher event")({error:o.value0,event:t,value:r})(function(i){return hCe(R7.value)});throw new Error("Failed pattern match at Utils.Pusher.ListenMany (line 32, column 65 - line 34, column 122): "+[o.constructor.name])}))}}};var _D=function(){function e(){}return e.value=new e,e}(),gT=function(){function e(){}return e.value=new e,e}();var Sv=function(){function e(){}return e.value=new e,e}(),nf=function(){function e(){}return e.value=new e,e}();var DJ={eq:function(e){return function(n){return e instanceof Sv&&n instanceof Sv||e instanceof nf&&n instanceof nf}}};var ODn={reflectSymbol:function(){return"timestamp"}};var yJ=Bn(Mn),DT=yJ(qt),bJ=K(Pt),yT=Jn(at),yCe=yJ(zp(gJ)(w6)),RJ=Qn(),bCe=E({reflectSymbol:function(){return"id"}})(ue),kDn=S7(RJ(E({reflectSymbol:function(){return"delta"}})(ue)(bCe(E(ODn)(ue)(he))))),UDn=S7(RJ(E({reflectSymbol:function(){return"body"}})(ue)(bCe(he)))),HDn=S7(RJ(he)),wJ=yJ(Pt),E7=z(na),SJ=Xr(at),BDn=pQ(vt),JDn=ii(i8)(vt),Ev=z(_t),RCe=Ye(sa),WDn=QQ(ZM),qDn=io(_t)(qo),Cv=function(){function e(){}return e.value=new e,e}(),vp=function(){function e(){}return e.value=new e,e}(),mp=function(){function e(){}return e.value=new e,e}(),Vc=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),O0=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),C7=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),wCe=function(){function e(){}return e.value=new e,e}(),EJ=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),CJ=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),SCe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),ECe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),CCe=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}(),zDn=function(){function e(){}return e.value=new e,e}();var $Dn=function(e){return{delta:e.delta,id:e.id,timestamp:Yh(e.timestamp)}},ICe=function(e){return function(n){var t=function(a){return function(r){return{body:r.body,sender:gT.value,sentAt:a,id:new d(r.id)}}};return DT(Xp(function(a){return bJ(yT(DCe(e.receiveChannelName)(yCe(kDn("chat-completion-chunk")(function(r){return function(){var i=Qh();return a.dispatch(new CCe(i,$Dn(r)))(),R7.value}}))(function(){return yCe(UDn("chat-completion-message-received")(function(r){return function(){var i=Qh();return a.dispatch(new CJ(t(i)(r)))(),w7.value}}))(function(){return HDn("chat-completion-failed")(function(r){return function(){return a.dispatch(new EJ(C.value))(),w7.value}})})}))))(function(r){return wJ(yT(a.dispatch(new ECe(r))))(function(){return bJ(e.sendMessage(n))(function(o){return o.success?E7(Ce):yT(a.dispatch(new EJ(new d(o.failureReason))))})})})}))(function(){return SJ(wJ(_s(200))(function(){return E7(wCe.value)}))})}},VDn=function(e){return function(n){return DT(SJ(bJ(yT(Qh))(function(t){return E7(new SCe({sender:_D.value,body:n,sentAt:t,id:C.value}))})))(function(){return ICe(e)(n)})}},IJ=function(e){var n=function(t){var a=Ei("$$")(t),r=nY(ha(a));return r?BDn("$$")(Dw(0)(ha(a)-1|0)(a)):t};return{sender:gT.value,body:n(JDn(function(t){return t.content})(e.deltas)),sentAt:Op(e.deltas).timestamp,id:new d(e.id)}},QDn=function(e){if(e.receivingResponse instanceof C)return Ev(Ce);if(e.receivingResponse instanceof d)return e.sendingState instanceof Vc?SJ(wJ(yT(gCe(e.receivingResponse.value0)))(function(){return E7(new CJ(IJ(e.sendingState.value0)))})):Ev(Ce);throw new Error("Failed pattern match at Vinai.Chatbot (line 290, column 1 - line 290, column 51): "+[e.constructor.name])},TJ=function(e){return function(n){if(n instanceof C7)return DT(VDn(e)(n.value0))(function(){return Ev(e)});if(n instanceof wCe)return Ev({messages:e.messages,receiveChannelName:e.receiveChannelName,receivingResponse:e.receivingResponse,sendMessage:e.sendMessage,sendingState:function(){if(e.sendingState instanceof Cv)return Cv.value;if(e.sendingState instanceof vp||e.sendingState instanceof mp)return mp.value;if(e.sendingState instanceof Vc)return new Vc(e.sendingState.value0);if(e.sendingState instanceof O0)return new O0(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 EJ)return Ev({messages:e.messages,receiveChannelName:e.receiveChannelName,sendMessage:e.sendMessage,sendingState:new O0(n.value0),receivingResponse:C.value});if(n instanceof CJ)return Ev({receiveChannelName:e.receiveChannelName,sendMessage:e.sendMessage,messages:RCe(e.messages)([n.value0]),sendingState:Cv.value,receivingResponse:C.value});if(n instanceof SCe)return Ev({receiveChannelName:e.receiveChannelName,receivingResponse:e.receivingResponse,sendMessage:e.sendMessage,messages:RCe(e.messages)([n.value0]),sendingState:vp.value});if(n instanceof ECe)return Ev({messages:e.messages,receiveChannelName:e.receiveChannelName,sendMessage:e.sendMessage,sendingState:e.sendingState,receivingResponse:new d(n.value0)});if(n instanceof CCe)return Ev({messages:e.messages,receiveChannelName:e.receiveChannelName,receivingResponse:e.receivingResponse,sendMessage:e.sendMessage,sendingState:function(){if(e.sendingState instanceof Vc&&n.value1.id===e.sendingState.value0.id)return new Vc({id:e.sendingState.value0.id,deltas:WDn(function(t){return t.timestamp})(JQ(e.sendingState.value0.deltas)({content:n.value1.delta,timestamp:Ee(n.value0)(n.value1.timestamp)}))});if(e.sendingState instanceof Vc)return e.sendingState;if(e.sendingState instanceof mp)return new Vc({deltas:_h({content:n.value1.delta,timestamp:Ee(n.value0)(n.value1.timestamp)}),id:n.value1.id});if(e.sendingState instanceof vp)return new Vc({deltas:_h({content:n.value1.delta,timestamp:Ee(n.value0)(n.value1.timestamp)}),id:n.value1.id});if(e.sendingState instanceof Cv||e.sendingState instanceof O0)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 zDn)return DT(QDn(e))(function(){return Ev(e)});throw new Error("Failed pattern match at Vinai.Chatbot (line 151, column 1 - line 151, column 55): "+[e.constructor.name,n.constructor.name])}},FJ=function(e){var n={messages:e.messages,receivingResponse:C.value,receiveChannelName:e.receiveChannelName,sendingState:function(){if(e.initialMessageBody instanceof C)return Cv.value;if(e.initialMessageBody instanceof d)return vp.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 DT(qDn(e.initialMessageBody)(ICe(n)))(function(){return Ev(n)})};var FCe=["http","https","mailto","tel"];function MCe(e){let n=(e||"").trim(),t=n.charAt(0);if(t==="#"||t==="/")return n;let a=n.indexOf(":");if(a===-1)return n;let r=-1;for(;++rr||(r=n.indexOf("#"),r!==-1&&a>r)?n:"javascript:void(0)"}Wt();var NCe=Da(MJ());function jd(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?ACe(e.position):"start"in e||"end"in e?ACe(e):"line"in e||"column"in e?GJ(e):""}function GJ(e){return xCe(e&&e.line)+":"+xCe(e&&e.column)}function ACe(e){return GJ(e&&e.start)+"-"+GJ(e&&e.end)}function xCe(e){return e&&typeof e=="number"?e:1}var ml=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=jd(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}};ml.prototype.file="";ml.prototype.name="";ml.prototype.reason="";ml.prototype.message="";ml.prototype.stack="";ml.prototype.fatal=null;ml.prototype.column=null;ml.prototype.line=null;ml.prototype.source=null;ml.prototype.ruleId=null;ml.prototype.position=null;var Iv={basename:YDn,dirname:XDn,extname:ZDn,join:KDn,sep:"/"};function YDn(e,n){if(n!==void 0&&typeof n!="string")throw new TypeError('"ext" argument must be a string');bT(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 XDn(e){if(bT(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 ZDn(e){bT(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 KDn(...e){let n=-1,t;for(;++n0&&e.charCodeAt(e.length-1)===47&&(t+="/"),n?"/"+t:t}function n1n(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 bT(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}var LCe={cwd:t1n};function t1n(){return"/"}function wR(e){return e!==null&&typeof e=="object"&&e.href&&e.origin}function jCe(e){if(typeof e=="string")e=new URL(e);else if(!wR(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 a1n(e)}function a1n(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 PJ=YCe().freeze(),QCe={}.hasOwnProperty;function YCe(){let e=$Ce(),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=YCe(),D=-1;for(;++D{if(M||!k||!oe)O(M);else{let le=o.stringify(k,oe);le==null||(l1n(le)?oe.value=le:oe.result=le),O(M,oe)}});function O(M,k){M||!k?G(M):S?S(k):D(null,k)}}}function _(R){let D;o.freeze(),OJ("processSync",o.Parser),kJ("processSync",o.Compiler);let y=wT(R);return o.process(y,S),KCe("processSync","process",D),y;function S(G){D=!0,jJ(G)}}}function XCe(e,n){return typeof e=="function"&&e.prototype&&(i1n(e.prototype)||n in e.prototype)}function i1n(e){let n;for(n in e)if(QCe.call(e,n))return!0;return!1}function OJ(e,n){if(typeof n!="function")throw new TypeError("Cannot `"+e+"` without `Parser`")}function kJ(e,n){if(typeof n!="function")throw new TypeError("Cannot `"+e+"` without `Compiler`")}function UJ(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 ZCe(e){if(!RT(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function KCe(e,n,t){if(!t)throw new Error("`"+e+"` finished async. Use `"+n+"` instead")}function wT(e){return u1n(e)?e:new SR(e)}function u1n(e){return Boolean(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function l1n(e){return typeof e=="string"||(0,VCe.default)(e)}function HJ(e,n){let t=(n||{}).includeImageAlt;return eIe(e,typeof t=="boolean"?t:!0)}function eIe(e,n){return c1n(e)&&("value"in e&&e.value||n&&"alt"in e&&e.alt||"children"in e&&nIe(e.children,n))||Array.isArray(e)&&nIe(e,n)||""}function nIe(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?(Zo(e,e.length,0,n),e):n}var tIe={}.hasOwnProperty;function T7(e){let n={},t=-1;for(;++ti))return;let k=n.events.length,oe=k,le,ve;for(;oe--;)if(n.events[oe][0]==="exit"&&n.events[oe][1].type==="chunkFlow"){if(le){ve=n.events[oe][1].end;break}le=!0}for(y(a),M=k;MG;){let O=t[P];n.containerState=O[1],O[0].exit.call(n,e)}t.length=G}function S(){r.write([null]),o=void 0,r=void 0,n.containerState._closeFlow=void 0}}function p1n(e,n,t){return Gt(e,e.attempt(this.parser.constructs.document,n,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function ER(e){if(e===null||Xa(e)||hD(e))return 1;if(gD(e))return 2}function Od(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);cIe(f,-l),cIe(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=pl(c,[["enter",e[a][1],n],["exit",e[a][1],n]])),c=pl(c,[["enter",r,n],["enter",i,n],["exit",i,n],["enter",o,n]]),c=pl(c,Od(n.parser.constructs.insideSpan.null,e.slice(a+1,t),n)),c=pl(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=pl(c,[["enter",e[t][1],n],["exit",e[t][1],n]])):s=0,Zo(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(E1n,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 I1n(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):Gt(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 WJ={name:"codeText",tokenize:M1n,resolve:T1n,previous:F1n};function T1n(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 L7(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||Nd(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||Xa(y)?s?t(y):(e.exit("chunkString"),e.exit(u),e.exit(i),e.exit(a),n(y)):Nd(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 j7(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||!Ia(m),m===92?v:f)}function v(m){return m===91||m===92||m===93?(e.consume(m),u++,f):f(m)}}function N7(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"),Gt(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 DD(e,n){let t;return a;function a(r){return Nn(r)?(e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t=!0,a):Ia(r)?Gt(e,a,t?"linePrefix":"lineSuffix")(r):n(r)}}function Wu(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var zJ={name:"definition",tokenize:P1n},N1n={tokenize:O1n,partial:!0};function P1n(e,n,t){let a=this,r;return o;function o(l){return e.enter("definition"),j7.call(a,e,i,t,"definitionLabel","definitionLabelMarker","definitionLabelString")(l)}function i(l){return r=Wu(a.sliceSerialize(a.events[a.events.length-1][1]).slice(1,-1)),l===58?(e.enter("definitionMarker"),e.consume(l),e.exit("definitionMarker"),DD(e,L7(e,e.attempt(N1n,Gt(e,u,"whitespace"),Gt(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 O1n(e,n,t){return a;function a(i){return Xa(i)?DD(e,r)(i):t(i)}function r(i){return i===34||i===39||i===40?N7(e,Gt(e,o,"whitespace"),t,"definitionTitle","definitionTitleMarker","definitionTitleString")(i):t(i)}function o(i){return i===null||Nn(i)?n(i):t(i)}}var $J={name:"hardBreakEscape",tokenize:k1n};function k1n(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 VJ={name:"headingAtx",tokenize:H1n,resolve:U1n};function U1n(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"},Zo(e,a,t-a+1,[["enter",r,n],["enter",o,n],["exit",o,n],["exit",r,n]])),e}function H1n(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||Xa(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)):Ia(s)?Gt(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||Xa(s)?(e.exit("atxHeadingText"),u(s)):(e.consume(s),c)}}var fIe=["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"],QJ=["pre","script","style","textarea"];var YJ={name:"htmlFlow",tokenize:W1n,resolveTo:J1n,concrete:!0},B1n={tokenize:q1n,partial:!0};function J1n(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 W1n(e,n,t){let a=this,r,o,i,u,l;return c;function c(x){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(x),s}function s(x){return x===33?(e.consume(x),f):x===47?(e.consume(x),_):x===63?(e.consume(x),r=3,a.interrupt?n:Pn):Ju(x)?(e.consume(x),i=String.fromCharCode(x),o=!0,R):t(x)}function f(x){return x===45?(e.consume(x),r=2,v):x===91?(e.consume(x),r=5,i="CDATA[",u=0,m):Ju(x)?(e.consume(x),r=4,a.interrupt?n:Pn):t(x)}function v(x){return x===45?(e.consume(x),a.interrupt?n:Pn):t(x)}function m(x){return x===i.charCodeAt(u++)?(e.consume(x),u===i.length?a.interrupt?n:X:m):t(x)}function _(x){return Ju(x)?(e.consume(x),i=String.fromCharCode(x),R):t(x)}function R(x){return x===null||x===47||x===62||Xa(x)?x!==47&&o&&QJ.includes(i.toLowerCase())?(r=1,a.interrupt?n(x):X(x)):fIe.includes(i.toLowerCase())?(r=6,x===47?(e.consume(x),D):a.interrupt?n(x):X(x)):(r=7,a.interrupt&&!a.parser.lazy[a.now().line]?t(x):o?S(x):y(x)):x===45||Ko(x)?(e.consume(x),i+=String.fromCharCode(x),R):t(x)}function D(x){return x===62?(e.consume(x),a.interrupt?n:X):t(x)}function y(x){return Ia(x)?(e.consume(x),y):le(x)}function S(x){return x===47?(e.consume(x),le):x===58||x===95||Ju(x)?(e.consume(x),G):Ia(x)?(e.consume(x),S):le(x)}function G(x){return x===45||x===46||x===58||x===95||Ko(x)?(e.consume(x),G):P(x)}function P(x){return x===61?(e.consume(x),O):Ia(x)?(e.consume(x),P):S(x)}function O(x){return x===null||x===60||x===61||x===62||x===96?t(x):x===34||x===39?(e.consume(x),l=x,M):Ia(x)?(e.consume(x),O):(l=null,k(x))}function M(x){return x===null||Nn(x)?t(x):x===l?(e.consume(x),oe):(e.consume(x),M)}function k(x){return x===null||x===34||x===39||x===60||x===61||x===62||x===96||Xa(x)?P(x):(e.consume(x),k)}function oe(x){return x===47||x===62||Ia(x)?S(x):t(x)}function le(x){return x===62?(e.consume(x),ve):t(x)}function ve(x){return Ia(x)?(e.consume(x),ve):x===null||Nn(x)?X(x):t(x)}function X(x){return x===45&&r===2?(e.consume(x),Ne):x===60&&r===1?(e.consume(x),ie):x===62&&r===4?(e.consume(x),On):x===63&&r===3?(e.consume(x),Pn):x===93&&r===5?(e.consume(x),Ve):Nn(x)&&(r===6||r===7)?e.check(B1n,On,be)(x):x===null||Nn(x)?be(x):(e.consume(x),X)}function be(x){return e.exit("htmlFlowData"),pe(x)}function pe(x){return x===null?q(x):Nn(x)?e.attempt({tokenize:De,partial:!0},pe,q)(x):(e.enter("htmlFlowData"),X(x))}function De(x,ne,me){return ye;function ye(de){return x.enter("lineEnding"),x.consume(de),x.exit("lineEnding"),U}function U(de){return a.parser.lazy[a.now().line]?me(de):ne(de)}}function Ne(x){return x===45?(e.consume(x),Pn):X(x)}function ie(x){return x===47?(e.consume(x),i="",jn):X(x)}function jn(x){return x===62&&QJ.includes(i.toLowerCase())?(e.consume(x),On):Ju(x)&&i.length<8?(e.consume(x),i+=String.fromCharCode(x),jn):X(x)}function Ve(x){return x===93?(e.consume(x),Pn):X(x)}function Pn(x){return x===62?(e.consume(x),On):x===45&&r===2?(e.consume(x),Pn):X(x)}function On(x){return x===null||Nn(x)?(e.exit("htmlFlowData"),q(x)):(e.consume(x),On)}function q(x){return e.exit("htmlFlow"),n(x)}}function q1n(e,n,t){return a;function a(r){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),e.attempt(k0,n,t)}}var XJ={name:"htmlText",tokenize:z1n};function z1n(e,n,t){let a=this,r,o,i,u;return l;function l(q){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(q),c}function c(q){return q===33?(e.consume(q),s):q===47?(e.consume(q),k):q===63?(e.consume(q),O):Ju(q)?(e.consume(q),ve):t(q)}function s(q){return q===45?(e.consume(q),f):q===91?(e.consume(q),o="CDATA[",i=0,D):Ju(q)?(e.consume(q),P):t(q)}function f(q){return q===45?(e.consume(q),v):t(q)}function v(q){return q===null||q===62?t(q):q===45?(e.consume(q),m):_(q)}function m(q){return q===null||q===62?t(q):_(q)}function _(q){return q===null?t(q):q===45?(e.consume(q),R):Nn(q)?(u=_,Ve(q)):(e.consume(q),_)}function R(q){return q===45?(e.consume(q),On):_(q)}function D(q){return q===o.charCodeAt(i++)?(e.consume(q),i===o.length?y:D):t(q)}function y(q){return q===null?t(q):q===93?(e.consume(q),S):Nn(q)?(u=y,Ve(q)):(e.consume(q),y)}function S(q){return q===93?(e.consume(q),G):y(q)}function G(q){return q===62?On(q):q===93?(e.consume(q),G):y(q)}function P(q){return q===null||q===62?On(q):Nn(q)?(u=P,Ve(q)):(e.consume(q),P)}function O(q){return q===null?t(q):q===63?(e.consume(q),M):Nn(q)?(u=O,Ve(q)):(e.consume(q),O)}function M(q){return q===62?On(q):O(q)}function k(q){return Ju(q)?(e.consume(q),oe):t(q)}function oe(q){return q===45||Ko(q)?(e.consume(q),oe):le(q)}function le(q){return Nn(q)?(u=le,Ve(q)):Ia(q)?(e.consume(q),le):On(q)}function ve(q){return q===45||Ko(q)?(e.consume(q),ve):q===47||q===62||Xa(q)?X(q):t(q)}function X(q){return q===47?(e.consume(q),On):q===58||q===95||Ju(q)?(e.consume(q),be):Nn(q)?(u=X,Ve(q)):Ia(q)?(e.consume(q),X):On(q)}function be(q){return q===45||q===46||q===58||q===95||Ko(q)?(e.consume(q),be):pe(q)}function pe(q){return q===61?(e.consume(q),De):Nn(q)?(u=pe,Ve(q)):Ia(q)?(e.consume(q),pe):X(q)}function De(q){return q===null||q===60||q===61||q===62||q===96?t(q):q===34||q===39?(e.consume(q),r=q,Ne):Nn(q)?(u=De,Ve(q)):Ia(q)?(e.consume(q),De):(e.consume(q),r=void 0,jn)}function Ne(q){return q===r?(e.consume(q),ie):q===null?t(q):Nn(q)?(u=Ne,Ve(q)):(e.consume(q),Ne)}function ie(q){return q===62||q===47||Xa(q)?X(q):t(q)}function jn(q){return q===null||q===34||q===39||q===60||q===61||q===96?t(q):q===62||Xa(q)?X(q):(e.consume(q),jn)}function Ve(q){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(q),e.exit("lineEnding"),Gt(e,Pn,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Pn(q){return e.enter("htmlTextData"),u(q)}function On(q){return q===62?(e.consume(q),e.exit("htmlTextData"),e.exit("htmlText"),n):t(q)}}var yD={name:"labelEnd",tokenize:Z1n,resolveTo:X1n,resolveAll:Y1n},$1n={tokenize:K1n},V1n={tokenize:eyn},Q1n={tokenize:nyn};function Y1n(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 gyn(e,n){let t=-1,a=[],r;for(;++tCyn,contentInitial:()=>yyn,disable:()=>Iyn,document:()=>Dyn,flow:()=>Ryn,flowInitial:()=>byn,insideSpan:()=>Eyn,string:()=>wyn,text:()=>Syn});var Dyn={[42]:qu,[43]:qu,[45]:qu,[48]:qu,[49]:qu,[50]:qu,[51]:qu,[52]:qu,[53]:qu,[54]:qu,[55]:qu,[56]:qu,[57]:qu,[62]:F7},yyn={[91]:zJ},byn={[-2]:ET,[-1]:ET,[32]:ET},Ryn={[35]:VJ,[42]:bD,[45]:[P7,bD],[60]:YJ,[61]:P7,[95]:bD,[96]:A7,[126]:A7},wyn={[38]:G7,[92]:M7},Syn={[-5]:CT,[-4]:CT,[-3]:CT,[33]:ZJ,[38]:G7,[42]:ST,[60]:[JJ,XJ],[91]:KJ,[92]:[$J,M7],[93]:yD,[95]:ST,[96]:WJ},Eyn={null:[ST,mIe]},Cyn={null:[42,95]},Iyn={null:[]};function DIe(e={}){let n=T7([eW].concat(e.extensions||[])),t={defined:[],lazy:{},constructs:n,content:a(iIe),document:a(uIe),flow:a(vIe),string:a(pIe),text:a(_Ie)};return t;function a(r){return o;function o(i){return gIe(t,r,i)}}}var yIe=/[\0\t\n\r]/g;function bIe(){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 Tyn=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function k7(e){return e.replace(Tyn,Fyn)}function Fyn(e,n,t){if(n)return n;if(t.charCodeAt(0)===35){let r=t.charCodeAt(1),o=r===120||r===88;return O7(t.slice(o?2:1),o?16:10)}return CR(t)||e}var wIe={}.hasOwnProperty,nW=function(e,n,t){return typeof n!="string"&&(t=n,n=void 0),Myn(t)(RIe(DIe(t).document().write(bIe()(e,n,!0))))};function Myn(e){let n={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:u(Fn),autolinkProtocol:X,autolinkEmail:X,atxHeading:u(nt),blockQuote:u(He),characterEscape:X,characterReference:X,codeFenced:u($e),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:u($e,l),codeText:u(Le,l),codeTextData:X,data:X,codeFlowValue:X,definition:u(In),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:u(cn),hardBreakEscape:u(Cn),hardBreakTrailing:u(Cn),htmlFlow:u(tt,l),htmlFlowData:X,htmlText:u(tt,l),htmlTextData:X,image:u(gt),label:l,link:u(Fn),listItem:u(ot),listItemValue:_,listOrdered:u(Tt,m),listUnordered:u(Tt),paragraph:u(Hn),reference:ye,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:u(nt),strong:u(sn),thematicBreak:u(Oa)},exit:{atxHeading:s(),atxHeadingSequence:k,autolink:s(),autolinkEmail:Me,autolinkProtocol:Ae,blockQuote:s(),characterEscapeValue:be,characterReferenceMarkerHexadecimal:de,characterReferenceMarkerNumeric:de,characterReferenceValue:V,codeFenced:s(S),codeFencedFence:y,codeFencedFenceInfo:R,codeFencedFenceMeta:D,codeFlowValue:be,codeIndented:s(G),codeText:s(jn),codeTextData:be,data:be,definition:s(),definitionDestinationString:M,definitionLabelString:P,definitionTitleString:O,emphasis:s(),hardBreakEscape:s(De),hardBreakTrailing:s(De),htmlFlow:s(Ne),htmlFlowData:be,htmlText:s(ie),htmlTextData:be,image:s(Pn),label:q,labelText:On,lineEnding:pe,link:s(Ve),listItem:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:U,resourceDestinationString:x,resourceTitleString:ne,resource:me,setextHeading:s(ve),setextHeadingLineSequence:le,setextHeadingText:oe,strong:s(),thematicBreak:s()}};SIe(n,(e||{}).mdastExtensions||[]);let t={};return a;function a(Ie){let qe={type:"root",children:[]},Ft={stack:[qe],tokenStack:[],config:n,enter:c,exit:f,buffer:l,resume:v,setData:o,getData:i},er=[],ur=-1;for(;++ur0){let ec=Ft.tokenStack[Ft.tokenStack.length-1];(ec[1]||EIe).call(Ft,void 0,ec[0])}for(qe.position={start:kd(Ie.length>0?Ie[0][1].start:{line:1,column:1,offset:0}),end:kd(Ie.length>0?Ie[Ie.length-2][1].end:{line:1,column:1,offset:0})},ur=-1;++ur{let a=this.data("settings");return nW(t,Object.assign({},a,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}function CIe(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 IIe(e,n){let t={type:"element",tagName:"br",properties:{},children:[]};return e.patch(n,t),[e.applyData(n,t),{type:"text",value:` `}]}function TIe(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 FIe(e,n){let t={type:"element",tagName:"del",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)}function MIe(e,n){let t={type:"element",tagName:"em",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)}function tf(e){let n=[],t=-1,a=0,r=0;for(;++t55295&&o<57344){let u=e.charCodeAt(t+1);o<56320&&u>56319&&u<57344?(i=String.fromCharCode(o,u),r=1):i="\uFFFD"}else i=String.fromCharCode(o);i&&(n.push(e.slice(a,t),encodeURIComponent(i)),a=t+r+1,i=""),r&&(t+=r,r=0)}return n.join("")+e.slice(a)}function H7(e,n){let t=String(n.identifier).toUpperCase(),a=tf(t.toLowerCase()),r=e.footnoteOrder.indexOf(t),o;r===-1?(e.footnoteOrder.push(t),e.footnoteCounts[t]=1,o=e.footnoteOrder.length):(e.footnoteCounts[t]++,o=r+1);let i=e.footnoteCounts[t],u={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fn-"+a,id:e.clobberPrefix+"fnref-"+a+(i>1?"-"+i:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(n,u);let l={type:"element",tagName:"sup",properties:{},children:[u]};return e.patch(n,l),e.applyData(n,l)}function GIe(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},H7(e,{type:"footnoteReference",identifier:r,position:n.position})}function AIe(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 xIe(e,n){if(e.dangerous){let t={type:"raw",value:n.value};return e.patch(n,t),e.applyData(n,t)}return null}function B7(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 LIe(e,n){let t=e.definition(n.identifier);if(!t)return B7(e,n);let a={src:tf(t.url||""),alt:n.alt};t.title!==null&&t.title!==void 0&&(a.title=t.title);let r={type:"element",tagName:"img",properties:a,children:[]};return e.patch(n,r),e.applyData(n,r)}function jIe(e,n){let t={src:tf(n.url)};n.alt!==null&&n.alt!==void 0&&(t.alt=n.alt),n.title!==null&&n.title!==void 0&&(t.title=n.title);let a={type:"element",tagName:"img",properties:t,children:[]};return e.patch(n,a),e.applyData(n,a)}function NIe(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 PIe(e,n){let t=e.definition(n.identifier);if(!t)return B7(e,n);let a={href:tf(t.url||"")};t.title!==null&&t.title!==void 0&&(a.title=t.title);let r={type:"element",tagName:"a",properties:a,children:e.all(n)};return e.patch(n,r),e.applyData(n,r)}function OIe(e,n){let t={href:tf(n.url)};n.title!==null&&n.title!==void 0&&(t.title=n.title);let a={type:"element",tagName:"a",properties:t,children:e.all(n)};return e.patch(n,a),e.applyData(n,a)}function kIe(e,n,t){let a=e.all(n),r=t?Ayn(t):UIe(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 HIe(e,n){let t={},a=e.all(n),r=-1;for(typeof n.start=="number"&&n.start!==1&&(t.start=n.start);++r-1?a.offset:null}}}function zIe(e,n){let t=e.all(n),a=t.shift(),r=[];if(a){let i={type:"element",tagName:"thead",properties:{},children:e.wrap([a],!0)};e.patch(n.children[0],i),r.push(i)}if(t.length>0){let i={type:"element",tagName:"tbody",properties:{},children:e.wrap(t,!0)},u=IR(n.children[1]),l=TR(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 $Ie(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(ZIe(n.slice(r),r>0,!1)),o.join("")}function ZIe(e,n,t){let a=0,r=e.length;if(n){let o=e.codePointAt(a);for(;o===QIe||o===YIe;)a++,o=e.codePointAt(a)}if(t){let o=e.codePointAt(r-1);for(;o===QIe||o===YIe;)r--,o=e.codePointAt(r-1)}return r>a?e.slice(a,r):""}function KIe(e,n){let t={type:"text",value:XIe(String(n.value))};return e.patch(n,t),e.applyData(n,t)}function eTe(e,n){let t={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(n,t),e.applyData(n,t)}var nTe={blockquote:CIe,break:IIe,code:TIe,delete:FIe,emphasis:MIe,footnoteReference:H7,footnote:GIe,heading:AIe,html:xIe,imageReference:LIe,image:jIe,inlineCode:NIe,linkReference:PIe,link:OIe,listItem:kIe,list:HIe,paragraph:BIe,root:JIe,strong:WIe,table:zIe,tableCell:VIe,tableRow:$Ie,text:KIe,thematicBreak:eTe,toml:J7,yaml:J7,definition:J7,footnoteDefinition:J7};function J7(){return null}var IT=function(e){if(e==null)return Nyn;if(typeof e=="string")return jyn(e);if(typeof e=="object")return Array.isArray(e)?xyn(e):Lyn(e);if(typeof e=="function")return W7(e);throw new Error("Expected function, string, or object as test")};function xyn(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=Pyn(t(u,c)),v[0]===q7))return v;if(u.children&&v[0]!==rW)for(_=(a?u.children.length:-1)+o,R=c.concat(u);_>-1&&_{let r=rTe(a.identifier);r&&!aTe.call(n,r)&&(n[r]=a)}),t;function t(a){let r=rTe(a);return r&&aTe.call(n,r)?n[r]:null}}function rTe(e){return String(e||"").toUpperCase()}var z7={}.hasOwnProperty;function oTe(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=La(La({},nTe),t.handlers),i.definition=iW(e),i.footnoteById=r,i.footnoteOrder=[],i.footnoteCounts={},i.patch=Oyn,i.applyData=kyn,i.one=u,i.all=l,i.wrap=Hyn,i.augment=o,RD(e,"footnoteDefinition",c=>{let s=String(c.identifier).toUpperCase();z7.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=La(La({},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};oW(f)||(s.position={start:IR(f),end:TR(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 iTe(i,c,s)}function l(c){return uW(i,c)}}function Oyn(e,n){e.position&&(n.position=tW(e))}function kyn(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=La(La({},t.properties),o)),"children"in t&&t.children&&r!==null&&r!==void 0&&(t.children=r)}return t}function iTe(e,n,t){let a=n&&n.type;if(!a)throw new Error("Expected node, got `"+n+"`");return z7.call(e.handlers,a)?e.handlers[a](e,n,t):e.passThrough&&e.passThrough.includes(a)?"children"in n?ti(La({},n),{children:uW(e,n)}):n:e.unknownHandler?e.unknownHandler(e,n,t):Uyn(e,n)}function uW(e,n){let t=[];if("children"in n){let a=n.children,r=-1;for(;++r0&&t.push({type:"text",value:` `}),t}function uTe(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:ti(La({},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 $7(e,n){let t=oTe(e,n),a=t.one(e,null),r=uTe(t);return r&&a.children.push({type:"text",value:` `},r),Array.isArray(a)?{type:"root",children:a}:a}var Byn=function(e,n){return e&&"run"in e?Jyn(e,n):Wyn(e||n)},lW=Byn;function Jyn(e,n){return(t,a,r)=>{e.run($7(t,n),a,o=>{r(o)})}}function Wyn(e){return n=>$7(n,e)}var ra=Da(ny());var Ud=class{constructor(n,t,a){this.property=n,this.normal=t,a&&(this.space=a)}};Ud.prototype.property={};Ud.prototype.normal={};Ud.prototype.space=null;function cW(e,n){let t={},a={},r=-1;for(;++rva,booleanish:()=>Uo,commaOrSpaceSeparated:()=>Yl,commaSeparated:()=>Hd,number:()=>tn,overloadedBoolean:()=>sW,spaceSeparated:()=>wr});var qyn=0,va=wD(),Uo=wD(),sW=wD(),tn=wD(),wr=wD(),Hd=wD(),Yl=wD();function wD(){return 2**++qyn}var fW=Object.keys(FT),FR=class extends _l{constructor(n,t,a,r){let o=-1;super(n,t);if(lTe(this,"space",r),typeof a=="number")for(;++o4&&t.slice(0,4)==="data"&&$yn.test(n)){if(n.charAt(4)==="-"){let o=n.slice(5).replace(fTe,Yyn);a="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{let o=n.slice(4);if(!fTe.test(o)){let i=o.replace(Vyn,Qyn);i.charAt(0)!=="-"&&(i="-"+i),n="data"+i}}r=FR}return new r(a,n)}function Qyn(e){return"-"+e.toLowerCase()}function Yyn(e){return e.charAt(1).toUpperCase()}var Y7={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 X7=cW([mW,vW,pW,_W,cTe],"html"),Z7=cW([mW,vW,pW,_W,sTe],"svg");function dW(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=>{RD(n,"element",(t,a,r)=>{let o=r,i;if(e.allowedElements?i=!e.allowedElements.includes(t.tagName):e.disallowedElements&&(i=e.disallowedElements.includes(t.tagName)),!i&&e.allowElement&&typeof a=="number"&&(i=!e.allowElement(t,a,o)),i&&typeof a=="number")return e.unwrapDisallowed&&t.children?o.children.splice(a,1,...t.children):o.children.splice(a,1),a})}}Wt();var FTe=Da(_Te());function dTe(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 DW(e){let n=String(e||"").trim();return n?n.split(/[ \t\n\r\f]+/g):[]}function hTe(e){return e.join(" ").trim()}function yW(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 gTe(e,n){let t=n||{};return(e[e.length-1]===""?[...e,""]:e).join((t.padRight?" ":"")+","+(t.padLeft===!1?"":" ")).trim()}var ITe=Da(CTe()),TTe=ITe.default;var RW={}.hasOwnProperty,sbn=new Set(["table","thead","tbody","tfoot","tr"]);function wW(e,n){let t=[],a=-1,r;for(;++a0?Et.createElement(m,l,f):Et.createElement(m,l)}function vbn(e){let n=-1;for(;++n for more info)`),delete c5[o]}let n=PJ().use(U7).use(e.remarkPlugins||[]).use(lW,ti(La({},e.remarkRehypeOptions),{allowDangerousHtml:!0})).use(e.rehypePlugins||[]).use(dW,e),t=new SR;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,{},wW({options:e,schema:X7,listDepth:0},a));return e.className&&(r=Et.createElement("div",{className:e.className},r)),r}s5.propTypes={children:ra.default.string,className:ra.default.string,allowElement:ra.default.func,allowedElements:ra.default.arrayOf(ra.default.string),disallowedElements:ra.default.arrayOf(ra.default.string),unwrapDisallowed:ra.default.bool,remarkPlugins:ra.default.arrayOf(ra.default.oneOfType([ra.default.object,ra.default.func,ra.default.arrayOf(ra.default.oneOfType([ra.default.bool,ra.default.string,ra.default.object,ra.default.func,ra.default.arrayOf(ra.default.any)]))])),rehypePlugins:ra.default.arrayOf(ra.default.oneOfType([ra.default.object,ra.default.func,ra.default.arrayOf(ra.default.oneOfType([ra.default.bool,ra.default.string,ra.default.object,ra.default.func,ra.default.arrayOf(ra.default.any)]))])),sourcePos:ra.default.bool,rawSourcePos:ra.default.bool,skipHtml:ra.default.bool,includeElementIndex:ra.default.bool,transformLinkUri:ra.default.oneOfType([ra.default.func,ra.default.bool]),linkTarget:ra.default.oneOfType([ra.default.func,ra.default.string]),transformImageUri:ra.default.func,components:ra.default.object};var GTe=/[#.]/g;function EW(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 JTe(e,n,t){return e.type==="element"?Hbn(e,n,t):e.type==="text"?t.whitespace==="normal"?WTe(e,t):Bbn(e):[]}function Hbn(e,n,t){let a=qTe(e,t),r=e.children||[],o=-1,i=[];if(Ubn(e))return i;let u,l;for(xW(e)||HTe(e)&&p5(n,e,HTe)?l=` `:kbn(e)?(u=2,l=2):BTe(e)&&(u=1,l=1);++o15?c="\u2026"+u.slice(r-15,r):c=u.slice(0,r);var s;o+15":">","<":"<",'"':""","'":"'"},Zbn=/[&><"']/g;function Kbn(e){return String(e).replace(Zbn,n=>Xbn[n])}var zTe=function e(n){return n.type==="ordgroup"||n.type==="color"?n.body.length===1?e(n.body[0]):n:n.type==="font"?e(n.body):n},eRn=function(n){var t=zTe(n);return t.type==="mathord"||t.type==="textord"||t.type==="atom"},nRn=function(n){if(!n)throw new Error("Expected non-null, but got "+String(n));return n},tRn=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"},It={contains:$bn,deflt:Vbn,escape:Kbn,hyphenate:Ybn,getBaseElem:zTe,isCharacterBox:eRn,protocolFromUrl:tRn},_5={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 aRn(e){if(e.default)return e.default;var n=e.type,t=Array.isArray(n)?n[0]:n;if(typeof t!="string")return t.enum[0];switch(t){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}var d5=class{constructor(n){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,n=n||{};for(var t in _5)if(_5.hasOwnProperty(t)){var a=_5[t];this[t]=n[t]!==void 0?a.processor?a.processor(n[t]):n[t]:aRn(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 an("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=It.protocolFromUrl(n.url);if(t==null)return!1;n.protocol=t}var a=typeof this.trust=="function"?this.trust(n):this.trust;return Boolean(a)}},dp=class{constructor(n,t,a){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=n,this.size=t,this.cramped=a}sup(){return U0[rRn[this.id]]}sub(){return U0[oRn[this.id]]}fracNum(){return U0[iRn[this.id]]}fracDen(){return U0[uRn[this.id]]}cramp(){return U0[lRn[this.id]]}text(){return U0[cRn[this.id]]}isTight(){return this.size>=2}},jW=0,h5=1,MR=2,hp=3,GT=4,of=5,GR=6,dl=7,U0=[new dp(jW,0,!1),new dp(h5,0,!0),new dp(MR,1,!1),new dp(hp,1,!0),new dp(GT,2,!1),new dp(of,2,!0),new dp(GR,3,!1),new dp(dl,3,!0)],rRn=[GT,of,GT,of,GR,dl,GR,dl],oRn=[of,of,of,of,dl,dl,dl,dl],iRn=[MR,hp,GT,of,GR,dl,GR,dl],uRn=[hp,hp,of,of,dl,dl,dl,dl],lRn=[h5,h5,hp,hp,of,of,dl,dl],cRn=[jW,h5,MR,hp,MR,hp,MR,hp],Lt={DISPLAY:U0[jW],TEXT:U0[MR],SCRIPT:U0[GT],SCRIPTSCRIPT:U0[GR]},NW=[{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 sRn(e){for(var n=0;n=r[0]&&e<=r[1])return t.name}return null}var g5=[];NW.forEach(e=>e.blocks.forEach(n=>g5.push(...n)));function $Te(e){for(var n=0;n=g5[n]&&e<=g5[n+1])return!0;return!1}var AR=80,fRn=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"},vRn=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"},mRn=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"},pRn=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"},_Rn=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"},dRn=function(n){var t=n/2;return"M400000 "+n+" H0 L"+t+" 0 l65 45 L145 "+(n-80)+" H400000z"},hRn=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"},gRn=function(n,t,a){t=1e3*t;var r="";switch(n){case"sqrtMain":r=fRn(t,AR);break;case"sqrtSize1":r=vRn(t,AR);break;case"sqrtSize2":r=mRn(t,AR);break;case"sqrtSize3":r=pRn(t,AR);break;case"sqrtSize4":r=_Rn(t,AR);break;case"sqrtTall":r=hRn(t,AR,a)}return r},DRn=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""}},VTe={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`},yRn=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.")}},xR=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 It.contains(this.classes,n)}toNode(){for(var n=document.createDocumentFragment(),t=0;tt.toText();return this.children.map(n).join("")}},H0={"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]}},D5={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]},QTe={\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 bRn(e,n){H0[e]=n}function PW(e,n,t){if(!H0[n])throw new Error("Font metrics not found for font: "+n+".");var a=e.charCodeAt(0),r=H0[n][a];if(!r&&e[0]in QTe&&(a=QTe[e[0]].charCodeAt(0),r=H0[n][a]),!r&&t==="text"&&$Te(a)&&(r=H0[n][77]),r)return{depth:r[0],height:r[1],italic:r[2],skew:r[3],width:r[4]}}var OW={};function RRn(e){var n;if(e>=5?n=0:e>=3?n=1:n=2,!OW[n]){var t=OW[n]={cssEmPerMu:D5.quad[n]/18};for(var a in D5)D5.hasOwnProperty(a)&&(t[a]=D5[a][n])}return OW[n]}var wRn=[[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]],YTe=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],XTe=function(n,t){return t.size<2?n:wRn[n-1][t.size-1]},B0=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||B0.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=YTe[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 B0(t)}havingStyle(n){return this.style===n?this:this.extend({style:n,size:XTe(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:YTe[n-1]})}havingBaseStyle(n){n=n||this.style.text();var t=XTe(B0.BASESIZE,n);return this.size===t&&this.textSize===B0.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!==B0.BASESIZE?["sizing","reset-size"+this.size,"size"+B0.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=RRn(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}};B0.BASESIZE=6;var kW={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},SRn={ex:!0,em:!0,mu:!0},ZTe=function(n){return typeof n!="string"&&(n=n.unit),n in kW||n in SRn||n==="ex"},Ro=function(n,t){var a;if(n.unit in kW)a=kW[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 an("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"},Bd=function(n){return n.filter(t=>t).join(" ")},KTe=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)}},eFe=function(n){var t=document.createElement(n);t.className=Bd(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},LR=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,KTe.call(this,n,a,r),this.children=t||[]}setAttribute(n,t){this.attributes[n]=t}hasClass(n){return It.contains(this.classes,n)}toNode(){return eFe.call(this,"span")}toMarkup(){return nFe.call(this,"span")}},y5=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,KTe.call(this,t,r),this.children=a||[],this.setAttribute("href",n)}setAttribute(n,t){this.attributes[n]=t}hasClass(n){return It.contains(this.classes,n)}toNode(){return eFe.call(this,"a")}toMarkup(){return nFe.call(this,"a")}},tFe=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 It.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=''+It.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=Bd(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+=It.hyphenate(r)+":"+this.style[r]+";");a&&(n=!0,t+=' style="'+It.escape(a)+'"');var o=It.escape(this.text);return n?(t+=">",t+=o,t+="",t):o}},J0=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':''}},b5=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 IRn={bin:1,close:1,inner:1,open:1,punct:1,rel:1},TRn={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Nr={math:{},text:{}};function b(e,n,t,a,r,o){Nr[e][r]={font:n,group:t,replace:a},o&&a&&(Nr[e][a]=Nr[e][r])}var I="math",We="text",F="main",$="ams",ro="accent-token",et="bin",hl="close",jR="inner",jt="mathord",di="op-token",Xc="open",R5="punct",Q="rel",Dp="spacing",se="textord";b(I,F,Q,"\u2261","\\equiv",!0);b(I,F,Q,"\u227A","\\prec",!0);b(I,F,Q,"\u227B","\\succ",!0);b(I,F,Q,"\u223C","\\sim",!0);b(I,F,Q,"\u22A5","\\perp");b(I,F,Q,"\u2AAF","\\preceq",!0);b(I,F,Q,"\u2AB0","\\succeq",!0);b(I,F,Q,"\u2243","\\simeq",!0);b(I,F,Q,"\u2223","\\mid",!0);b(I,F,Q,"\u226A","\\ll",!0);b(I,F,Q,"\u226B","\\gg",!0);b(I,F,Q,"\u224D","\\asymp",!0);b(I,F,Q,"\u2225","\\parallel");b(I,F,Q,"\u22C8","\\bowtie",!0);b(I,F,Q,"\u2323","\\smile",!0);b(I,F,Q,"\u2291","\\sqsubseteq",!0);b(I,F,Q,"\u2292","\\sqsupseteq",!0);b(I,F,Q,"\u2250","\\doteq",!0);b(I,F,Q,"\u2322","\\frown",!0);b(I,F,Q,"\u220B","\\ni",!0);b(I,F,Q,"\u221D","\\propto",!0);b(I,F,Q,"\u22A2","\\vdash",!0);b(I,F,Q,"\u22A3","\\dashv",!0);b(I,F,Q,"\u220B","\\owns");b(I,F,R5,".","\\ldotp");b(I,F,R5,"\u22C5","\\cdotp");b(I,F,se,"#","\\#");b(We,F,se,"#","\\#");b(I,F,se,"&","\\&");b(We,F,se,"&","\\&");b(I,F,se,"\u2135","\\aleph",!0);b(I,F,se,"\u2200","\\forall",!0);b(I,F,se,"\u210F","\\hbar",!0);b(I,F,se,"\u2203","\\exists",!0);b(I,F,se,"\u2207","\\nabla",!0);b(I,F,se,"\u266D","\\flat",!0);b(I,F,se,"\u2113","\\ell",!0);b(I,F,se,"\u266E","\\natural",!0);b(I,F,se,"\u2663","\\clubsuit",!0);b(I,F,se,"\u2118","\\wp",!0);b(I,F,se,"\u266F","\\sharp",!0);b(I,F,se,"\u2662","\\diamondsuit",!0);b(I,F,se,"\u211C","\\Re",!0);b(I,F,se,"\u2661","\\heartsuit",!0);b(I,F,se,"\u2111","\\Im",!0);b(I,F,se,"\u2660","\\spadesuit",!0);b(I,F,se,"\xA7","\\S",!0);b(We,F,se,"\xA7","\\S");b(I,F,se,"\xB6","\\P",!0);b(We,F,se,"\xB6","\\P");b(I,F,se,"\u2020","\\dag");b(We,F,se,"\u2020","\\dag");b(We,F,se,"\u2020","\\textdagger");b(I,F,se,"\u2021","\\ddag");b(We,F,se,"\u2021","\\ddag");b(We,F,se,"\u2021","\\textdaggerdbl");b(I,F,hl,"\u23B1","\\rmoustache",!0);b(I,F,Xc,"\u23B0","\\lmoustache",!0);b(I,F,hl,"\u27EF","\\rgroup",!0);b(I,F,Xc,"\u27EE","\\lgroup",!0);b(I,F,et,"\u2213","\\mp",!0);b(I,F,et,"\u2296","\\ominus",!0);b(I,F,et,"\u228E","\\uplus",!0);b(I,F,et,"\u2293","\\sqcap",!0);b(I,F,et,"\u2217","\\ast");b(I,F,et,"\u2294","\\sqcup",!0);b(I,F,et,"\u25EF","\\bigcirc",!0);b(I,F,et,"\u2219","\\bullet",!0);b(I,F,et,"\u2021","\\ddagger");b(I,F,et,"\u2240","\\wr",!0);b(I,F,et,"\u2A3F","\\amalg");b(I,F,et,"&","\\And");b(I,F,Q,"\u27F5","\\longleftarrow",!0);b(I,F,Q,"\u21D0","\\Leftarrow",!0);b(I,F,Q,"\u27F8","\\Longleftarrow",!0);b(I,F,Q,"\u27F6","\\longrightarrow",!0);b(I,F,Q,"\u21D2","\\Rightarrow",!0);b(I,F,Q,"\u27F9","\\Longrightarrow",!0);b(I,F,Q,"\u2194","\\leftrightarrow",!0);b(I,F,Q,"\u27F7","\\longleftrightarrow",!0);b(I,F,Q,"\u21D4","\\Leftrightarrow",!0);b(I,F,Q,"\u27FA","\\Longleftrightarrow",!0);b(I,F,Q,"\u21A6","\\mapsto",!0);b(I,F,Q,"\u27FC","\\longmapsto",!0);b(I,F,Q,"\u2197","\\nearrow",!0);b(I,F,Q,"\u21A9","\\hookleftarrow",!0);b(I,F,Q,"\u21AA","\\hookrightarrow",!0);b(I,F,Q,"\u2198","\\searrow",!0);b(I,F,Q,"\u21BC","\\leftharpoonup",!0);b(I,F,Q,"\u21C0","\\rightharpoonup",!0);b(I,F,Q,"\u2199","\\swarrow",!0);b(I,F,Q,"\u21BD","\\leftharpoondown",!0);b(I,F,Q,"\u21C1","\\rightharpoondown",!0);b(I,F,Q,"\u2196","\\nwarrow",!0);b(I,F,Q,"\u21CC","\\rightleftharpoons",!0);b(I,$,Q,"\u226E","\\nless",!0);b(I,$,Q,"\uE010","\\@nleqslant");b(I,$,Q,"\uE011","\\@nleqq");b(I,$,Q,"\u2A87","\\lneq",!0);b(I,$,Q,"\u2268","\\lneqq",!0);b(I,$,Q,"\uE00C","\\@lvertneqq");b(I,$,Q,"\u22E6","\\lnsim",!0);b(I,$,Q,"\u2A89","\\lnapprox",!0);b(I,$,Q,"\u2280","\\nprec",!0);b(I,$,Q,"\u22E0","\\npreceq",!0);b(I,$,Q,"\u22E8","\\precnsim",!0);b(I,$,Q,"\u2AB9","\\precnapprox",!0);b(I,$,Q,"\u2241","\\nsim",!0);b(I,$,Q,"\uE006","\\@nshortmid");b(I,$,Q,"\u2224","\\nmid",!0);b(I,$,Q,"\u22AC","\\nvdash",!0);b(I,$,Q,"\u22AD","\\nvDash",!0);b(I,$,Q,"\u22EA","\\ntriangleleft");b(I,$,Q,"\u22EC","\\ntrianglelefteq",!0);b(I,$,Q,"\u228A","\\subsetneq",!0);b(I,$,Q,"\uE01A","\\@varsubsetneq");b(I,$,Q,"\u2ACB","\\subsetneqq",!0);b(I,$,Q,"\uE017","\\@varsubsetneqq");b(I,$,Q,"\u226F","\\ngtr",!0);b(I,$,Q,"\uE00F","\\@ngeqslant");b(I,$,Q,"\uE00E","\\@ngeqq");b(I,$,Q,"\u2A88","\\gneq",!0);b(I,$,Q,"\u2269","\\gneqq",!0);b(I,$,Q,"\uE00D","\\@gvertneqq");b(I,$,Q,"\u22E7","\\gnsim",!0);b(I,$,Q,"\u2A8A","\\gnapprox",!0);b(I,$,Q,"\u2281","\\nsucc",!0);b(I,$,Q,"\u22E1","\\nsucceq",!0);b(I,$,Q,"\u22E9","\\succnsim",!0);b(I,$,Q,"\u2ABA","\\succnapprox",!0);b(I,$,Q,"\u2246","\\ncong",!0);b(I,$,Q,"\uE007","\\@nshortparallel");b(I,$,Q,"\u2226","\\nparallel",!0);b(I,$,Q,"\u22AF","\\nVDash",!0);b(I,$,Q,"\u22EB","\\ntriangleright");b(I,$,Q,"\u22ED","\\ntrianglerighteq",!0);b(I,$,Q,"\uE018","\\@nsupseteqq");b(I,$,Q,"\u228B","\\supsetneq",!0);b(I,$,Q,"\uE01B","\\@varsupsetneq");b(I,$,Q,"\u2ACC","\\supsetneqq",!0);b(I,$,Q,"\uE019","\\@varsupsetneqq");b(I,$,Q,"\u22AE","\\nVdash",!0);b(I,$,Q,"\u2AB5","\\precneqq",!0);b(I,$,Q,"\u2AB6","\\succneqq",!0);b(I,$,Q,"\uE016","\\@nsubseteqq");b(I,$,et,"\u22B4","\\unlhd");b(I,$,et,"\u22B5","\\unrhd");b(I,$,Q,"\u219A","\\nleftarrow",!0);b(I,$,Q,"\u219B","\\nrightarrow",!0);b(I,$,Q,"\u21CD","\\nLeftarrow",!0);b(I,$,Q,"\u21CF","\\nRightarrow",!0);b(I,$,Q,"\u21AE","\\nleftrightarrow",!0);b(I,$,Q,"\u21CE","\\nLeftrightarrow",!0);b(I,$,Q,"\u25B3","\\vartriangle");b(I,$,se,"\u210F","\\hslash");b(I,$,se,"\u25BD","\\triangledown");b(I,$,se,"\u25CA","\\lozenge");b(I,$,se,"\u24C8","\\circledS");b(I,$,se,"\xAE","\\circledR");b(We,$,se,"\xAE","\\circledR");b(I,$,se,"\u2221","\\measuredangle",!0);b(I,$,se,"\u2204","\\nexists");b(I,$,se,"\u2127","\\mho");b(I,$,se,"\u2132","\\Finv",!0);b(I,$,se,"\u2141","\\Game",!0);b(I,$,se,"\u2035","\\backprime");b(I,$,se,"\u25B2","\\blacktriangle");b(I,$,se,"\u25BC","\\blacktriangledown");b(I,$,se,"\u25A0","\\blacksquare");b(I,$,se,"\u29EB","\\blacklozenge");b(I,$,se,"\u2605","\\bigstar");b(I,$,se,"\u2222","\\sphericalangle",!0);b(I,$,se,"\u2201","\\complement",!0);b(I,$,se,"\xF0","\\eth",!0);b(We,F,se,"\xF0","\xF0");b(I,$,se,"\u2571","\\diagup");b(I,$,se,"\u2572","\\diagdown");b(I,$,se,"\u25A1","\\square");b(I,$,se,"\u25A1","\\Box");b(I,$,se,"\u25CA","\\Diamond");b(I,$,se,"\xA5","\\yen",!0);b(We,$,se,"\xA5","\\yen",!0);b(I,$,se,"\u2713","\\checkmark",!0);b(We,$,se,"\u2713","\\checkmark");b(I,$,se,"\u2136","\\beth",!0);b(I,$,se,"\u2138","\\daleth",!0);b(I,$,se,"\u2137","\\gimel",!0);b(I,$,se,"\u03DD","\\digamma",!0);b(I,$,se,"\u03F0","\\varkappa");b(I,$,Xc,"\u250C","\\@ulcorner",!0);b(I,$,hl,"\u2510","\\@urcorner",!0);b(I,$,Xc,"\u2514","\\@llcorner",!0);b(I,$,hl,"\u2518","\\@lrcorner",!0);b(I,$,Q,"\u2266","\\leqq",!0);b(I,$,Q,"\u2A7D","\\leqslant",!0);b(I,$,Q,"\u2A95","\\eqslantless",!0);b(I,$,Q,"\u2272","\\lesssim",!0);b(I,$,Q,"\u2A85","\\lessapprox",!0);b(I,$,Q,"\u224A","\\approxeq",!0);b(I,$,et,"\u22D6","\\lessdot");b(I,$,Q,"\u22D8","\\lll",!0);b(I,$,Q,"\u2276","\\lessgtr",!0);b(I,$,Q,"\u22DA","\\lesseqgtr",!0);b(I,$,Q,"\u2A8B","\\lesseqqgtr",!0);b(I,$,Q,"\u2251","\\doteqdot");b(I,$,Q,"\u2253","\\risingdotseq",!0);b(I,$,Q,"\u2252","\\fallingdotseq",!0);b(I,$,Q,"\u223D","\\backsim",!0);b(I,$,Q,"\u22CD","\\backsimeq",!0);b(I,$,Q,"\u2AC5","\\subseteqq",!0);b(I,$,Q,"\u22D0","\\Subset",!0);b(I,$,Q,"\u228F","\\sqsubset",!0);b(I,$,Q,"\u227C","\\preccurlyeq",!0);b(I,$,Q,"\u22DE","\\curlyeqprec",!0);b(I,$,Q,"\u227E","\\precsim",!0);b(I,$,Q,"\u2AB7","\\precapprox",!0);b(I,$,Q,"\u22B2","\\vartriangleleft");b(I,$,Q,"\u22B4","\\trianglelefteq");b(I,$,Q,"\u22A8","\\vDash",!0);b(I,$,Q,"\u22AA","\\Vvdash",!0);b(I,$,Q,"\u2323","\\smallsmile");b(I,$,Q,"\u2322","\\smallfrown");b(I,$,Q,"\u224F","\\bumpeq",!0);b(I,$,Q,"\u224E","\\Bumpeq",!0);b(I,$,Q,"\u2267","\\geqq",!0);b(I,$,Q,"\u2A7E","\\geqslant",!0);b(I,$,Q,"\u2A96","\\eqslantgtr",!0);b(I,$,Q,"\u2273","\\gtrsim",!0);b(I,$,Q,"\u2A86","\\gtrapprox",!0);b(I,$,et,"\u22D7","\\gtrdot");b(I,$,Q,"\u22D9","\\ggg",!0);b(I,$,Q,"\u2277","\\gtrless",!0);b(I,$,Q,"\u22DB","\\gtreqless",!0);b(I,$,Q,"\u2A8C","\\gtreqqless",!0);b(I,$,Q,"\u2256","\\eqcirc",!0);b(I,$,Q,"\u2257","\\circeq",!0);b(I,$,Q,"\u225C","\\triangleq",!0);b(I,$,Q,"\u223C","\\thicksim");b(I,$,Q,"\u2248","\\thickapprox");b(I,$,Q,"\u2AC6","\\supseteqq",!0);b(I,$,Q,"\u22D1","\\Supset",!0);b(I,$,Q,"\u2290","\\sqsupset",!0);b(I,$,Q,"\u227D","\\succcurlyeq",!0);b(I,$,Q,"\u22DF","\\curlyeqsucc",!0);b(I,$,Q,"\u227F","\\succsim",!0);b(I,$,Q,"\u2AB8","\\succapprox",!0);b(I,$,Q,"\u22B3","\\vartriangleright");b(I,$,Q,"\u22B5","\\trianglerighteq");b(I,$,Q,"\u22A9","\\Vdash",!0);b(I,$,Q,"\u2223","\\shortmid");b(I,$,Q,"\u2225","\\shortparallel");b(I,$,Q,"\u226C","\\between",!0);b(I,$,Q,"\u22D4","\\pitchfork",!0);b(I,$,Q,"\u221D","\\varpropto");b(I,$,Q,"\u25C0","\\blacktriangleleft");b(I,$,Q,"\u2234","\\therefore",!0);b(I,$,Q,"\u220D","\\backepsilon");b(I,$,Q,"\u25B6","\\blacktriangleright");b(I,$,Q,"\u2235","\\because",!0);b(I,$,Q,"\u22D8","\\llless");b(I,$,Q,"\u22D9","\\gggtr");b(I,$,et,"\u22B2","\\lhd");b(I,$,et,"\u22B3","\\rhd");b(I,$,Q,"\u2242","\\eqsim",!0);b(I,F,Q,"\u22C8","\\Join");b(I,$,Q,"\u2251","\\Doteq",!0);b(I,$,et,"\u2214","\\dotplus",!0);b(I,$,et,"\u2216","\\smallsetminus");b(I,$,et,"\u22D2","\\Cap",!0);b(I,$,et,"\u22D3","\\Cup",!0);b(I,$,et,"\u2A5E","\\doublebarwedge",!0);b(I,$,et,"\u229F","\\boxminus",!0);b(I,$,et,"\u229E","\\boxplus",!0);b(I,$,et,"\u22C7","\\divideontimes",!0);b(I,$,et,"\u22C9","\\ltimes",!0);b(I,$,et,"\u22CA","\\rtimes",!0);b(I,$,et,"\u22CB","\\leftthreetimes",!0);b(I,$,et,"\u22CC","\\rightthreetimes",!0);b(I,$,et,"\u22CF","\\curlywedge",!0);b(I,$,et,"\u22CE","\\curlyvee",!0);b(I,$,et,"\u229D","\\circleddash",!0);b(I,$,et,"\u229B","\\circledast",!0);b(I,$,et,"\u22C5","\\centerdot");b(I,$,et,"\u22BA","\\intercal",!0);b(I,$,et,"\u22D2","\\doublecap");b(I,$,et,"\u22D3","\\doublecup");b(I,$,et,"\u22A0","\\boxtimes",!0);b(I,$,Q,"\u21E2","\\dashrightarrow",!0);b(I,$,Q,"\u21E0","\\dashleftarrow",!0);b(I,$,Q,"\u21C7","\\leftleftarrows",!0);b(I,$,Q,"\u21C6","\\leftrightarrows",!0);b(I,$,Q,"\u21DA","\\Lleftarrow",!0);b(I,$,Q,"\u219E","\\twoheadleftarrow",!0);b(I,$,Q,"\u21A2","\\leftarrowtail",!0);b(I,$,Q,"\u21AB","\\looparrowleft",!0);b(I,$,Q,"\u21CB","\\leftrightharpoons",!0);b(I,$,Q,"\u21B6","\\curvearrowleft",!0);b(I,$,Q,"\u21BA","\\circlearrowleft",!0);b(I,$,Q,"\u21B0","\\Lsh",!0);b(I,$,Q,"\u21C8","\\upuparrows",!0);b(I,$,Q,"\u21BF","\\upharpoonleft",!0);b(I,$,Q,"\u21C3","\\downharpoonleft",!0);b(I,F,Q,"\u22B6","\\origof",!0);b(I,F,Q,"\u22B7","\\imageof",!0);b(I,$,Q,"\u22B8","\\multimap",!0);b(I,$,Q,"\u21AD","\\leftrightsquigarrow",!0);b(I,$,Q,"\u21C9","\\rightrightarrows",!0);b(I,$,Q,"\u21C4","\\rightleftarrows",!0);b(I,$,Q,"\u21A0","\\twoheadrightarrow",!0);b(I,$,Q,"\u21A3","\\rightarrowtail",!0);b(I,$,Q,"\u21AC","\\looparrowright",!0);b(I,$,Q,"\u21B7","\\curvearrowright",!0);b(I,$,Q,"\u21BB","\\circlearrowright",!0);b(I,$,Q,"\u21B1","\\Rsh",!0);b(I,$,Q,"\u21CA","\\downdownarrows",!0);b(I,$,Q,"\u21BE","\\upharpoonright",!0);b(I,$,Q,"\u21C2","\\downharpoonright",!0);b(I,$,Q,"\u21DD","\\rightsquigarrow",!0);b(I,$,Q,"\u21DD","\\leadsto");b(I,$,Q,"\u21DB","\\Rrightarrow",!0);b(I,$,Q,"\u21BE","\\restriction");b(I,F,se,"\u2018","`");b(I,F,se,"$","\\$");b(We,F,se,"$","\\$");b(We,F,se,"$","\\textdollar");b(I,F,se,"%","\\%");b(We,F,se,"%","\\%");b(I,F,se,"_","\\_");b(We,F,se,"_","\\_");b(We,F,se,"_","\\textunderscore");b(I,F,se,"\u2220","\\angle",!0);b(I,F,se,"\u221E","\\infty",!0);b(I,F,se,"\u2032","\\prime");b(I,F,se,"\u25B3","\\triangle");b(I,F,se,"\u0393","\\Gamma",!0);b(I,F,se,"\u0394","\\Delta",!0);b(I,F,se,"\u0398","\\Theta",!0);b(I,F,se,"\u039B","\\Lambda",!0);b(I,F,se,"\u039E","\\Xi",!0);b(I,F,se,"\u03A0","\\Pi",!0);b(I,F,se,"\u03A3","\\Sigma",!0);b(I,F,se,"\u03A5","\\Upsilon",!0);b(I,F,se,"\u03A6","\\Phi",!0);b(I,F,se,"\u03A8","\\Psi",!0);b(I,F,se,"\u03A9","\\Omega",!0);b(I,F,se,"A","\u0391");b(I,F,se,"B","\u0392");b(I,F,se,"E","\u0395");b(I,F,se,"Z","\u0396");b(I,F,se,"H","\u0397");b(I,F,se,"I","\u0399");b(I,F,se,"K","\u039A");b(I,F,se,"M","\u039C");b(I,F,se,"N","\u039D");b(I,F,se,"O","\u039F");b(I,F,se,"P","\u03A1");b(I,F,se,"T","\u03A4");b(I,F,se,"X","\u03A7");b(I,F,se,"\xAC","\\neg",!0);b(I,F,se,"\xAC","\\lnot");b(I,F,se,"\u22A4","\\top");b(I,F,se,"\u22A5","\\bot");b(I,F,se,"\u2205","\\emptyset");b(I,$,se,"\u2205","\\varnothing");b(I,F,jt,"\u03B1","\\alpha",!0);b(I,F,jt,"\u03B2","\\beta",!0);b(I,F,jt,"\u03B3","\\gamma",!0);b(I,F,jt,"\u03B4","\\delta",!0);b(I,F,jt,"\u03F5","\\epsilon",!0);b(I,F,jt,"\u03B6","\\zeta",!0);b(I,F,jt,"\u03B7","\\eta",!0);b(I,F,jt,"\u03B8","\\theta",!0);b(I,F,jt,"\u03B9","\\iota",!0);b(I,F,jt,"\u03BA","\\kappa",!0);b(I,F,jt,"\u03BB","\\lambda",!0);b(I,F,jt,"\u03BC","\\mu",!0);b(I,F,jt,"\u03BD","\\nu",!0);b(I,F,jt,"\u03BE","\\xi",!0);b(I,F,jt,"\u03BF","\\omicron",!0);b(I,F,jt,"\u03C0","\\pi",!0);b(I,F,jt,"\u03C1","\\rho",!0);b(I,F,jt,"\u03C3","\\sigma",!0);b(I,F,jt,"\u03C4","\\tau",!0);b(I,F,jt,"\u03C5","\\upsilon",!0);b(I,F,jt,"\u03D5","\\phi",!0);b(I,F,jt,"\u03C7","\\chi",!0);b(I,F,jt,"\u03C8","\\psi",!0);b(I,F,jt,"\u03C9","\\omega",!0);b(I,F,jt,"\u03B5","\\varepsilon",!0);b(I,F,jt,"\u03D1","\\vartheta",!0);b(I,F,jt,"\u03D6","\\varpi",!0);b(I,F,jt,"\u03F1","\\varrho",!0);b(I,F,jt,"\u03C2","\\varsigma",!0);b(I,F,jt,"\u03C6","\\varphi",!0);b(I,F,et,"\u2217","*",!0);b(I,F,et,"+","+");b(I,F,et,"\u2212","-",!0);b(I,F,et,"\u22C5","\\cdot",!0);b(I,F,et,"\u2218","\\circ",!0);b(I,F,et,"\xF7","\\div",!0);b(I,F,et,"\xB1","\\pm",!0);b(I,F,et,"\xD7","\\times",!0);b(I,F,et,"\u2229","\\cap",!0);b(I,F,et,"\u222A","\\cup",!0);b(I,F,et,"\u2216","\\setminus",!0);b(I,F,et,"\u2227","\\land");b(I,F,et,"\u2228","\\lor");b(I,F,et,"\u2227","\\wedge",!0);b(I,F,et,"\u2228","\\vee",!0);b(I,F,se,"\u221A","\\surd");b(I,F,Xc,"\u27E8","\\langle",!0);b(I,F,Xc,"\u2223","\\lvert");b(I,F,Xc,"\u2225","\\lVert");b(I,F,hl,"?","?");b(I,F,hl,"!","!");b(I,F,hl,"\u27E9","\\rangle",!0);b(I,F,hl,"\u2223","\\rvert");b(I,F,hl,"\u2225","\\rVert");b(I,F,Q,"=","=");b(I,F,Q,":",":");b(I,F,Q,"\u2248","\\approx",!0);b(I,F,Q,"\u2245","\\cong",!0);b(I,F,Q,"\u2265","\\ge");b(I,F,Q,"\u2265","\\geq",!0);b(I,F,Q,"\u2190","\\gets");b(I,F,Q,">","\\gt",!0);b(I,F,Q,"\u2208","\\in",!0);b(I,F,Q,"\uE020","\\@not");b(I,F,Q,"\u2282","\\subset",!0);b(I,F,Q,"\u2283","\\supset",!0);b(I,F,Q,"\u2286","\\subseteq",!0);b(I,F,Q,"\u2287","\\supseteq",!0);b(I,$,Q,"\u2288","\\nsubseteq",!0);b(I,$,Q,"\u2289","\\nsupseteq",!0);b(I,F,Q,"\u22A8","\\models");b(I,F,Q,"\u2190","\\leftarrow",!0);b(I,F,Q,"\u2264","\\le");b(I,F,Q,"\u2264","\\leq",!0);b(I,F,Q,"<","\\lt",!0);b(I,F,Q,"\u2192","\\rightarrow",!0);b(I,F,Q,"\u2192","\\to");b(I,$,Q,"\u2271","\\ngeq",!0);b(I,$,Q,"\u2270","\\nleq",!0);b(I,F,Dp,"\xA0","\\ ");b(I,F,Dp,"\xA0","\\space");b(I,F,Dp,"\xA0","\\nobreakspace");b(We,F,Dp,"\xA0","\\ ");b(We,F,Dp,"\xA0"," ");b(We,F,Dp,"\xA0","\\space");b(We,F,Dp,"\xA0","\\nobreakspace");b(I,F,Dp,null,"\\nobreak");b(I,F,Dp,null,"\\allowbreak");b(I,F,R5,",",",");b(I,F,R5,";",";");b(I,$,et,"\u22BC","\\barwedge",!0);b(I,$,et,"\u22BB","\\veebar",!0);b(I,F,et,"\u2299","\\odot",!0);b(I,F,et,"\u2295","\\oplus",!0);b(I,F,et,"\u2297","\\otimes",!0);b(I,F,se,"\u2202","\\partial",!0);b(I,F,et,"\u2298","\\oslash",!0);b(I,$,et,"\u229A","\\circledcirc",!0);b(I,$,et,"\u22A1","\\boxdot",!0);b(I,F,et,"\u25B3","\\bigtriangleup");b(I,F,et,"\u25BD","\\bigtriangledown");b(I,F,et,"\u2020","\\dagger");b(I,F,et,"\u22C4","\\diamond");b(I,F,et,"\u22C6","\\star");b(I,F,et,"\u25C3","\\triangleleft");b(I,F,et,"\u25B9","\\triangleright");b(I,F,Xc,"{","\\{");b(We,F,se,"{","\\{");b(We,F,se,"{","\\textbraceleft");b(I,F,hl,"}","\\}");b(We,F,se,"}","\\}");b(We,F,se,"}","\\textbraceright");b(I,F,Xc,"{","\\lbrace");b(I,F,hl,"}","\\rbrace");b(I,F,Xc,"[","\\lbrack",!0);b(We,F,se,"[","\\lbrack",!0);b(I,F,hl,"]","\\rbrack",!0);b(We,F,se,"]","\\rbrack",!0);b(I,F,Xc,"(","\\lparen",!0);b(I,F,hl,")","\\rparen",!0);b(We,F,se,"<","\\textless",!0);b(We,F,se,">","\\textgreater",!0);b(I,F,Xc,"\u230A","\\lfloor",!0);b(I,F,hl,"\u230B","\\rfloor",!0);b(I,F,Xc,"\u2308","\\lceil",!0);b(I,F,hl,"\u2309","\\rceil",!0);b(I,F,se,"\\","\\backslash");b(I,F,se,"\u2223","|");b(I,F,se,"\u2223","\\vert");b(We,F,se,"|","\\textbar",!0);b(I,F,se,"\u2225","\\|");b(I,F,se,"\u2225","\\Vert");b(We,F,se,"\u2225","\\textbardbl");b(We,F,se,"~","\\textasciitilde");b(We,F,se,"\\","\\textbackslash");b(We,F,se,"^","\\textasciicircum");b(I,F,Q,"\u2191","\\uparrow",!0);b(I,F,Q,"\u21D1","\\Uparrow",!0);b(I,F,Q,"\u2193","\\downarrow",!0);b(I,F,Q,"\u21D3","\\Downarrow",!0);b(I,F,Q,"\u2195","\\updownarrow",!0);b(I,F,Q,"\u21D5","\\Updownarrow",!0);b(I,F,di,"\u2210","\\coprod");b(I,F,di,"\u22C1","\\bigvee");b(I,F,di,"\u22C0","\\bigwedge");b(I,F,di,"\u2A04","\\biguplus");b(I,F,di,"\u22C2","\\bigcap");b(I,F,di,"\u22C3","\\bigcup");b(I,F,di,"\u222B","\\int");b(I,F,di,"\u222B","\\intop");b(I,F,di,"\u222C","\\iint");b(I,F,di,"\u222D","\\iiint");b(I,F,di,"\u220F","\\prod");b(I,F,di,"\u2211","\\sum");b(I,F,di,"\u2A02","\\bigotimes");b(I,F,di,"\u2A01","\\bigoplus");b(I,F,di,"\u2A00","\\bigodot");b(I,F,di,"\u222E","\\oint");b(I,F,di,"\u222F","\\oiint");b(I,F,di,"\u2230","\\oiiint");b(I,F,di,"\u2A06","\\bigsqcup");b(I,F,di,"\u222B","\\smallint");b(We,F,jR,"\u2026","\\textellipsis");b(I,F,jR,"\u2026","\\mathellipsis");b(We,F,jR,"\u2026","\\ldots",!0);b(I,F,jR,"\u2026","\\ldots",!0);b(I,F,jR,"\u22EF","\\@cdots",!0);b(I,F,jR,"\u22F1","\\ddots",!0);b(I,F,se,"\u22EE","\\varvdots");b(I,F,ro,"\u02CA","\\acute");b(I,F,ro,"\u02CB","\\grave");b(I,F,ro,"\xA8","\\ddot");b(I,F,ro,"~","\\tilde");b(I,F,ro,"\u02C9","\\bar");b(I,F,ro,"\u02D8","\\breve");b(I,F,ro,"\u02C7","\\check");b(I,F,ro,"^","\\hat");b(I,F,ro,"\u20D7","\\vec");b(I,F,ro,"\u02D9","\\dot");b(I,F,ro,"\u02DA","\\mathring");b(I,F,jt,"\uE131","\\@imath");b(I,F,jt,"\uE237","\\@jmath");b(I,F,se,"\u0131","\u0131");b(I,F,se,"\u0237","\u0237");b(We,F,se,"\u0131","\\i",!0);b(We,F,se,"\u0237","\\j",!0);b(We,F,se,"\xDF","\\ss",!0);b(We,F,se,"\xE6","\\ae",!0);b(We,F,se,"\u0153","\\oe",!0);b(We,F,se,"\xF8","\\o",!0);b(We,F,se,"\xC6","\\AE",!0);b(We,F,se,"\u0152","\\OE",!0);b(We,F,se,"\xD8","\\O",!0);b(We,F,ro,"\u02CA","\\'");b(We,F,ro,"\u02CB","\\`");b(We,F,ro,"\u02C6","\\^");b(We,F,ro,"\u02DC","\\~");b(We,F,ro,"\u02C9","\\=");b(We,F,ro,"\u02D8","\\u");b(We,F,ro,"\u02D9","\\.");b(We,F,ro,"\xB8","\\c");b(We,F,ro,"\u02DA","\\r");b(We,F,ro,"\u02C7","\\v");b(We,F,ro,"\xA8",'\\"');b(We,F,ro,"\u02DD","\\H");b(We,F,ro,"\u25EF","\\textcircled");var rFe={"--":!0,"---":!0,"``":!0,"''":!0};b(We,F,se,"\u2013","--",!0);b(We,F,se,"\u2013","\\textendash");b(We,F,se,"\u2014","---",!0);b(We,F,se,"\u2014","\\textemdash");b(We,F,se,"\u2018","`",!0);b(We,F,se,"\u2018","\\textquoteleft");b(We,F,se,"\u2019","'",!0);b(We,F,se,"\u2019","\\textquoteright");b(We,F,se,"\u201C","``",!0);b(We,F,se,"\u201C","\\textquotedblleft");b(We,F,se,"\u201D","''",!0);b(We,F,se,"\u201D","\\textquotedblright");b(I,F,se,"\xB0","\\degree",!0);b(We,F,se,"\xB0","\\degree");b(We,F,se,"\xB0","\\textdegree",!0);b(I,F,se,"\xA3","\\pounds");b(I,F,se,"\xA3","\\mathsterling",!0);b(We,F,se,"\xA3","\\pounds");b(We,F,se,"\xA3","\\textsterling",!0);b(I,$,se,"\u2720","\\maltese");b(We,$,se,"\u2720","\\maltese");var oFe='0123456789/@."';for(w5=0;w50)return Tv(o,c,r,t,i.concat(s));if(l){var f,v;if(l==="boldsymbol"){var m=GRn(o,r,t,i,a);f=m.fontName,v=[m.fontClass]}else u?(f=sFe[l].fontName,v=[l]):(f=M5(l,t.fontWeight,t.fontShape),v=[l,t.fontWeight,t.fontShape]);if(F5(o,f,r).metrics)return Tv(o,f,r,t,i.concat(v));if(rFe.hasOwnProperty(o)&&f.slice(0,10)==="Typewriter"){for(var _=[],R=0;R{if(Bd(e.classes)!==Bd(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},LRn=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},Zl=function(n,t,a,r){var o=new LR(n,t,a,r);return JW(o),o},lFe=(e,n,t,a)=>new LR(e,n,t,a),jRn=function(n,t,a){var r=Zl([n],[],t);return r.height=Math.max(a||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),r.style.borderBottomWidth=Tn(r.height),r.maxFontSize=1,r},NRn=function(n,t,a,r){var o=new y5(n,t,a,r);return JW(o),o},cFe=function(n){var t=new xR(n);return JW(t),t},PRn=function(n,t){return n instanceof xR?Zl([],[n],t):n},ORn=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=Zl(["mspace"],[],n),a=Ro(e,n);return t.style.marginRight=Tn(a),t},M5=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},sFe={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"}},fFe={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},HRn=function(n,t){var[a,r,o]=fFe[n],i=new gp(a),u=new J0([i],{width:Tn(r),height:Tn(o),style:"width:"+Tn(r),viewBox:"0 0 "+1e3*r+" "+1e3*o,preserveAspectRatio:"xMinYMin"}),l=lFe(["overlay"],[u],t);return l.height=o,l.style.height=Tn(o),l.style.width=Tn(r),l},Re={fontMap:sFe,makeSymbol:Tv,mathsym:MRn,makeSpan:Zl,makeSvgSpan:lFe,makeLineSpan:jRn,makeAnchor:NRn,makeFragment:cFe,wrapFragment:PRn,makeVList:kRn,makeOrd:ARn,makeGlue:URn,staticSvg:HRn,svgData:fFe,tryCombineChars:LRn},So={number:3,unit:"mu"},ED={number:4,unit:"mu"},bp={number:5,unit:"mu"},BRn={mord:{mop:So,mbin:ED,mrel:bp,minner:So},mop:{mord:So,mop:So,mrel:bp,minner:So},mbin:{mord:ED,mop:ED,mopen:ED,minner:ED},mrel:{mord:bp,mop:bp,mopen:bp,minner:bp},mopen:{},mclose:{mop:So,mbin:ED,mrel:bp,minner:So},mpunct:{mord:So,mop:So,mrel:bp,mopen:So,mclose:So,mpunct:So,minner:So},minner:{mord:So,mop:So,mbin:ED,mrel:bp,mopen:So,mpunct:So,minner:So}},JRn={mord:{mop:So},mop:{mord:So,mop:So},mbin:{},mrel:{},mopen:{},mclose:{mop:So},mpunct:{},minner:{mop:So}},vFe={},G5={},A5={};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"&&It.contains(qRn,y)?R.classes[0]="mord":y==="mbin"&&It.contains(WRn,D)&&(_.classes[0]="mord")},{node:f},v,m),mFe(o,(_,R)=>{var D=WW(R),y=WW(_),S=D&&y?_.hasClass("mtight")?JRn[D][y]:BRn[D][y]:null;if(S)return Re.makeGlue(S,c)},{node:f},v,m),o},mFe=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()},pFe=function(n){return n instanceof xR||n instanceof y5||n instanceof LR&&n.hasClass("enclosing")?n:null},VRn=function e(n,t){var a=pFe(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},WW=function(n,t){return n?(t&&(n=VRn(n,t)),$Rn[n.classes[0]]||null):null},LT=function(n,t){var a=["nulldelimiter"].concat(n.baseSizingClasses());return Rp(t.concat(a))},Wa=function(n,t,a){if(!n)return Rp();if(G5[n.type]){var r=G5[n.type](n,t);if(a&&t.size!==a.size){r=Rp(t.sizingClasses(a),[r],t);var o=t.sizeMultiplier/a.sizeMultiplier;r.height*=o,r.depth*=o}return r}else throw new an("Got group of unknown type: '"+n.type+"'")};function L5(e,n){var t=Rp(["base"],e,n),a=Rp(["strut"]);return a.style.height=Tn(t.height+t.depth),t.depth&&(a.style.verticalAlign=Tn(-t.depth)),t.children.unshift(a),t}function qW(e,n){var t=null;e.length===1&&e[0].type==="tag"&&(t=e[0].tag,e=e[0].body);var a=Ji(e,n,"root"),r;a.length===2&&a[1].hasClass("tag")&&(r=a.pop());for(var o=[],i=[],u=0;u0&&(o.push(L5(i,n)),i=[]),o.push(a[u]));i.length>0&&o.push(L5(i,n));var c;t?(c=L5(Ji(t,n,!0)),c.classes=["tag"],o.push(c)):r&&o.push(r);var s=Rp(["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 _Fe(e){return new xR(e)}var Zc=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=Bd(this.classes));for(var a=0;a0&&(n+=' class ="'+It.escape(Bd(this.classes))+'"'),n+=">";for(var a=0;a",n}toText(){return this.children.map(n=>n.toText()).join("")}},NR=class{constructor(n){this.text=void 0,this.text=n}toNode(){return document.createTextNode(this.text)}toMarkup(){return It.escape(this.toText())}toText(){return this.text}},dFe=class{constructor(n){this.width=void 0,this.character=void 0,this.width=n,n>=.05555&&n<=.05556?this.character="\u200A":n>=.1666&&n<=.1667?this.character="\u2009":n>=.2222&&n<=.2223?this.character="\u2005":n>=.2777&&n<=.2778?this.character="\u2005\u200A":n>=-.05556&&n<=-.05555?this.character="\u200A\u2063":n>=-.1667&&n<=-.1666?this.character="\u2009\u2063":n>=-.2223&&n<=-.2222?this.character="\u205F\u2063":n>=-.2778&&n<=-.2777?this.character="\u2005\u2063":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var n=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return n.setAttribute("width",Tn(this.width)),n}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}},Ze={MathNode:Zc,TextNode:NR,SpaceNode:dFe,newDocumentFragment:_Fe},uf=function(n,t,a){return Nr[t][n]&&Nr[t][n].replace&&n.charCodeAt(0)!==55349&&!(rFe.hasOwnProperty(n)&&a&&(a.fontFamily&&a.fontFamily.slice(4,6)==="tt"||a.font&&a.font.slice(4,6)==="tt"))&&(n=Nr[t][n].replace),new Ze.TextNode(n)},zW=function(n){return n.length===1?n[0]:new Ze.MathNode("mrow",n)},$W=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(It.contains(["\\imath","\\jmath"],o))return null;Nr[r][o]&&Nr[r][o].replace&&(o=Nr[r][o].replace);var i=Re.fontMap[a].fontName;return PW(o,i,r)?Re.fontMap[a].variant:null},Kl=function(n,t,a){if(n.length===1){var r=Ir(n[0],t);return a&&r instanceof Zc&&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},Wd=function(n,t,a){return zW(Kl(n,t,a))},Ir=function(n,t){if(!n)return new Ze.MathNode("mrow");if(A5[n.type]){var a=A5[n.type](n,t);return a}else throw new an("Got group of unknown type: '"+n.type+"'")};function hFe(e,n,t,a,r){var o=Kl(e,t),i;o.length===1&&o[0]instanceof Zc&&It.contains(["mrow","mtable"],o[0].type)?i=o[0]:i=new Ze.MathNode("mrow",o);var u=new Ze.MathNode("annotation",[new Ze.TextNode(n)]);u.setAttribute("encoding","application/x-tex");var l=new Ze.MathNode("semantics",[i,u]),c=new Ze.MathNode("math",[l]);c.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),a&&c.setAttribute("display","block");var s=r?"katex":"katex-mathml";return Re.makeSpan([s],[c])}var gFe=function(n){return new B0({style:n.displayMode?Lt.DISPLAY:Lt.TEXT,maxSize:n.maxSize,minRuleThickness:n.minRuleThickness})},DFe=function(n,t){if(t.displayMode){var a=["katex-display"];t.leqno&&a.push("leqno"),t.fleqn&&a.push("fleqn"),n=Re.makeSpan(a,[n])}return n},QRn=function(n,t,a){var r=gFe(a),o;if(a.output==="mathml")return hFe(n,t,r,a.displayMode,!0);if(a.output==="html"){var i=qW(n,r);o=Re.makeSpan(["katex"],[i])}else{var u=hFe(n,t,r,a.displayMode,!1),l=qW(n,r);o=Re.makeSpan(["katex"],[u,l])}return DFe(o,a)},YRn=function(n,t,a){var r=gFe(a),o=qW(n,r),i=Re.makeSpan(["katex"],[o]);return DFe(i,a)},XRn={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":"="},ZRn=function(n){var t=new Ze.MathNode("mo",[new Ze.TextNode(XRn[n.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},KRn={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]},ewn=function(n){return n.type==="ordgroup"?n.body.length:1},nwn=function(n,t){function a(){var u=4e5,l=n.label.slice(1);if(It.contains(["widehat","widecheck","widetilde","utilde"],l)){var c=n,s=ewn(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 gp(v),D=new J0([R],{width:"100%",height:Tn(m),viewBox:"0 0 "+u+" "+f,preserveAspectRatio:"none"});return{span:Re.makeSvgSpan([],[D],t),minWidth:0,height:m}}else{var y=[],S=KRn[l],[G,P,O]=S,M=O/1e3,k=G.length,oe,le;if(k===1){var ve=S[3];oe=["hide-tail"],le=[ve]}else if(k===2)oe=["halfarrow-left","halfarrow-right"],le=["xMinYMin","xMaxYMin"];else if(k===3)oe=["brace-left","brace-center","brace-right"],le=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support `+k+" children.");for(var X=0;X0&&(r.style.minWidth=Tn(o)),r},twn=function(n,t,a,r,o){var i,u=n.height+n.depth+a+r;if(/fbox|color|angl/.test(t)){if(i=Re.makeSpan(["stretchy",t],[],o),t==="fbox"){var l=o.color&&o.getColor();l&&(i.style.borderColor=l)}}else{var c=[];/^[bx]cancel$/.test(t)&&c.push(new b5({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&c.push(new b5({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var s=new J0(c,{width:"100%",height:Tn(u)});i=Re.makeSvgSpan([],[s],o)}return i.height=u,i.style.height=Tn(u),i},wp={encloseSpan:twn,mathMLnode:ZRn,svgSpan:nwn};function da(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 VW(e){var n=j5(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 j5(e){return e&&(e.type==="atom"||TRn.hasOwnProperty(e.type))?e:null}var QW=(e,n)=>{var t,a,r;e&&e.type==="supsub"?(a=da(e.base,"accent"),t=a.base,e.base=t,r=CRn(Wa(e,n)),e.base=a):(a=da(e,"accent"),t=a.base);var o=Wa(t,n.havingCrampedStyle()),i=a.isShifty&&It.isCharacterBox(t),u=0;if(i){var l=It.getBaseElem(t),c=Wa(l,n.havingCrampedStyle());u=aFe(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=wp.svgSpan(a,n),v=Re.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"elem",elem:v,wrapperClasses:["svg-align"],wrapperStyle:u>0?{width:"calc(100% - "+Tn(2*u)+")",marginLeft:Tn(2*u)}:void 0}]},n);else{var m,_;a.label==="\\vec"?(m=Re.staticSvg("vec",n),_=Re.svgData.vec[1]):(m=Re.makeOrd({mode:a.mode,text:a.label},n,"textord"),m=aFe(m),m.italic=0,_=m.width,s&&(f+=m.depth)),v=Re.makeSpan(["accent-body"],[m]);var R=a.label==="\\textcircled";R&&(v.classes.push("accent-full"),f=o.height);var D=u;R||(D-=_/2),v.style.left=Tn(D),a.label==="\\textcircled"&&(v.style.top=".2em"),v=Re.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:-f},{type:"elem",elem:v}]},n)}var y=Re.makeSpan(["mord","accent"],[v],n);return r?(r.children[0]=y,r.height=Math.max(y.height,r.height),r.classes[0]="mord",r):y},yFe=(e,n)=>{var t=e.isStretchy?wp.mathMLnode(e.label):new Ze.MathNode("mo",[uf(e.label,e.mode)]),a=new Ze.MathNode("mover",[Ir(e.base,n),t]);return a.setAttribute("accent","true"),a},awn=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=x5(n[0]),a=!awn.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:QW,mathmlBuilder:yFe});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:QW,mathmlBuilder:yFe});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=Wa(e.base,n),a=wp.svgSpan(e,n),r=e.label==="\\utilde"?.12:0,o=Re.makeVList({positionType:"top",positionData:t.height,children:[{type:"elem",elem:a,wrapperClasses:["svg-align"]},{type:"kern",size:r},{type:"elem",elem:t}]},n);return Re.makeSpan(["mord","accentunder"],[o],n)},mathmlBuilder:(e,n)=>{var t=wp.mathMLnode(e.label),a=new Ze.MathNode("munder",[Ir(e.base,n),t]);return a.setAttribute("accentunder","true"),a}});var N5=e=>{var n=new Ze.MathNode("mpadded",e?[e]:[]);return n.setAttribute("width","+0.6em"),n.setAttribute("lspace","0.3em"),n};Wn({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(e,n,t){var{parser:a,funcName:r}=e;return{type:"xArrow",mode:a.mode,label:r,body:n[0],below:t[0]}},htmlBuilder(e,n){var t=n.style,a=n.havingStyle(t.sup()),r=Re.wrapFragment(Wa(e.body,a,n),n),o=e.label.slice(0,2)==="\\x"?"x":"cd";r.classes.push(o+"-arrow-pad");var i;e.below&&(a=n.havingStyle(t.sub()),i=Re.wrapFragment(Wa(e.below,a,n),n),i.classes.push(o+"-arrow-pad"));var u=wp.svgSpan(e,n),l=-n.fontMetrics().axisHeight+.5*u.height,c=-n.fontMetrics().axisHeight-.5*u.height-.111;(r.depth>.25||e.label==="\\xleftequilibrium")&&(c-=r.depth);var s;if(i){var f=-n.fontMetrics().axisHeight+i.height+.5*u.height+.111;s=Re.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:c},{type:"elem",elem:u,shift:l},{type:"elem",elem:i,shift:f}]},n)}else s=Re.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:c},{type:"elem",elem:u,shift:l}]},n);return s.children[0].children[0].children[1].classes.push("svg-align"),Re.makeSpan(["mrel","x-arrow"],[s],n)},mathmlBuilder(e,n){var t=wp.mathMLnode(e.label);t.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var a;if(e.body){var r=N5(Ir(e.body,n));if(e.below){var o=N5(Ir(e.below,n));a=new Ze.MathNode("munderover",[t,o,r])}else a=new Ze.MathNode("mover",[t,r])}else if(e.below){var i=N5(Ir(e.below,n));a=new Ze.MathNode("munder",[t,i])}else a=N5(),a=new Ze.MathNode("mover",[t,a]);return a}});var rwn=Re.makeSpan;function bFe(e,n){var t=Ji(e.body,n,!0);return rwn([e.mclass],t,n)}function RFe(e,n){var t,a=Kl(e.body,n);return e.mclass==="minner"?t=new Ze.MathNode("mpadded",a):e.mclass==="mord"?e.isCharacterBox?(t=a[0],t.type="mi"):t=new Ze.MathNode("mi",a):(e.isCharacterBox?(t=a[0],t.type="mo"):t=new Ze.MathNode("mo",a),e.mclass==="mbin"?(t.attributes.lspace="0.22em",t.attributes.rspace="0.22em"):e.mclass==="mpunct"?(t.attributes.lspace="0em",t.attributes.rspace="0.17em"):e.mclass==="mopen"||e.mclass==="mclose"?(t.attributes.lspace="0em",t.attributes.rspace="0em"):e.mclass==="minner"&&(t.attributes.lspace="0.0556em",t.attributes.width="+0.1111em")),t}Wn({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,n){var{parser:t,funcName:a}=e,r=n[0];return{type:"mclass",mode:t.mode,mclass:"m"+a.slice(5),body:ei(r),isCharacterBox:It.isCharacterBox(r)}},htmlBuilder:bFe,mathmlBuilder:RFe});var P5=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:P5(n[0]),body:ei(n[1]),isCharacterBox:It.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=P5(r):i="mrel";var u={type:"op",mode:r.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:a!=="\\stackrel",body:ei(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:It.isCharacterBox(l)}},htmlBuilder:bFe,mathmlBuilder:RFe});Wn({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,n){var{parser:t}=e;return{type:"pmb",mode:t.mode,mclass:P5(n[0]),body:ei(n[0])}},htmlBuilder(e,n){var t=Ji(e.body,n,!0),a=Re.makeSpan([e.mclass],t,n);return a.style.textShadow="0.02em 0.01em 0.04px",a},mathmlBuilder(e,n){var t=Kl(e.body,n),a=new Ze.MathNode("mstyle",t);return a.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),a}});var own={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},wFe=()=>({type:"styling",body:[],mode:"math",style:"display"}),SFe=e=>e.type==="textord"&&e.text==="@",iwn=(e,n)=>(e.type==="mathord"||e.type==="atom")&&e.text===n;function uwn(e,n,t){var a=own[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 lwn(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 an("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 _=uwn(c,s,e),R={type:"styling",body:[_],mode:"math",style:"display"};a.push(R),u=wFe()}o%2==0?a.push(u):a.shift(),a=[],r.push(a)}e.gullet.endGroup(),e.gullet.endGroup();var D=new Array(r[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:r,arraystretch:1,addJot:!0,rowGaps:[null],cols:D,colSeparationType:"CD",hLinesBeforeRow:new Array(r.length+1).fill([])}}Wn({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,n){var{parser:t,funcName:a}=e;return{type:"cdlabel",mode:t.mode,side:a.slice(4),label:n[0]}},htmlBuilder(e,n){var t=n.havingStyle(n.style.sup()),a=Re.wrapFragment(Wa(e.label,t,n),n);return a.classes.push("cd-label-"+e.side),a.style.bottom=Tn(.8-a.depth),a.height=0,a.depth=0,a},mathmlBuilder(e,n){var t=new Ze.MathNode("mrow",[Ir(e.label,n)]);return t=new Ze.MathNode("mpadded",[t]),t.setAttribute("width","0"),e.side==="left"&&t.setAttribute("lspace","-1width"),t.setAttribute("voffset","0.7em"),t=new Ze.MathNode("mstyle",[t]),t.setAttribute("displaystyle","false"),t.setAttribute("scriptlevel","1"),t}});Wn({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,n){var{parser:t}=e;return{type:"cdlabelparent",mode:t.mode,fragment:n[0]}},htmlBuilder(e,n){var t=Re.wrapFragment(Wa(e.fragment,n),n);return t.classes.push("cd-vert-arrow"),t},mathmlBuilder(e,n){return new Ze.MathNode("mrow",[Ir(e.fragment,n)])}});Wn({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,n){for(var{parser:t}=e,a=da(n[0],"ordgroup"),r=a.body,o="",i=0;i=1114111)throw new an("\\@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 EFe=(e,n)=>{var t=Ji(e.body,n.withColor(e.color),!1);return Re.makeFragment(t)},CFe=(e,n)=>{var t=Kl(e.body,n.withColor(e.color)),a=new Ze.MathNode("mstyle",t);return a.setAttribute("mathcolor",e.color),a};Wn({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,n){var{parser:t}=e,a=da(n[0],"color-token").color,r=n[1];return{type:"color",mode:t.mode,color:a,body:ei(r)}},htmlBuilder:EFe,mathmlBuilder:CFe});Wn({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,n){var{parser:t,breakOnTokenText:a}=e,r=da(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:EFe,mathmlBuilder:CFe});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&&da(r,"size").value}},htmlBuilder(e,n){var t=Re.makeSpan(["mspace"],[],n);return e.newLine&&(t.classes.push("newline"),e.size&&(t.style.marginTop=Tn(Ro(e.size,n)))),t},mathmlBuilder(e,n){var t=new Ze.MathNode("mspace");return e.newLine&&(t.setAttribute("linebreak","newline"),e.size&&t.setAttribute("height",Tn(Ro(e.size,n)))),t}});var YW={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},IFe=e=>{var n=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(n))throw new an("Expected a control sequence",e);return n},cwn=e=>{var n=e.gullet.popToken();return n.text==="="&&(n=e.gullet.popToken(),n.text===" "&&(n=e.gullet.popToken())),n},TFe=(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(YW[a.text])return(t==="\\global"||t==="\\\\globallong")&&(a.text=YW[a.text]),da(n.parseFunction(),"internal");throw new an("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 an("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 an('Invalid argument number "'+a.text+'"');if(parseInt(a.text)!==o+1)throw new an('Argument number "'+a.text+'" out of order');o++,u.push([])}else{if(a.text==="EOF")throw new an("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===YW[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=IFe(n.gullet.popToken());n.gullet.consumeSpaces();var r=cwn(n);return TFe(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=IFe(n.gullet.popToken()),r=n.gullet.popToken(),o=n.gullet.popToken();return TFe(n,a,o,t==="\\\\globalfuture"),n.gullet.pushToken(o),n.gullet.pushToken(r),{type:"internal",mode:n.mode}}});var jT=function(n,t,a){var r=Nr.math[n]&&Nr.math[n].replace,o=PW(r||n,t,a);if(!o)throw new Error("Unsupported symbol "+n+" and font size "+t+".");return o},XW=function(n,t,a,r){var o=a.havingBaseStyle(t),i=Re.makeSpan(r.concat(o.sizingClasses(a)),[n],a),u=o.sizeMultiplier/a.sizeMultiplier;return i.height*=u,i.depth*=u,i.maxFontSize=o.sizeMultiplier,i},FFe=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},swn=function(n,t,a,r,o,i){var u=Re.makeSymbol(n,"Main-Regular",o,r),l=XW(u,t,r,i);return a&&FFe(l,r,t),l},fwn=function(n,t,a,r){return Re.makeSymbol(n,"Size"+t+"-Regular",a,r)},MFe=function(n,t,a,r,o,i){var u=fwn(n,t,o,r),l=XW(Re.makeSpan(["delimsizing","size"+t],[u],r),Lt.TEXT,r,i);return a&&FFe(l,r,Lt.TEXT),l},ZW=function(n,t,a){var r;t==="Size1-Regular"?r="delim-size1":r="delim-size4";var o=Re.makeSpan(["delimsizinginner",r],[Re.makeSpan([],[Re.makeSymbol(n,t,a)])]);return{type:"elem",elem:o}},KW=function(n,t,a){var r=H0["Size4-Regular"][n.charCodeAt(0)]?H0["Size4-Regular"][n.charCodeAt(0)][4]:H0["Size1-Regular"][n.charCodeAt(0)][4],o=new gp("inner",DRn(n,Math.round(1e3*t))),i=new J0([o],{width:Tn(r),height:Tn(t),style:"width:"+Tn(r),viewBox:"0 0 "+1e3*r+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),u=Re.makeSvgSpan([],[i],a);return u.height=t,u.style.height=Tn(t),u.style.width=Tn(r),{type:"elem",elem:u}},eq=.008,O5={type:"kern",size:-1*eq},vwn=["|","\\lvert","\\rvert","\\vert"],mwn=["\\|","\\lVert","\\rVert","\\Vert"],GFe=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"):It.contains(vwn,n)?(c="\u2223",f="vert",v=333):It.contains(mwn,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 _=jT(u,m,o),R=_.height+_.depth,D=jT(c,m,o),y=D.height+D.depth,S=jT(s,m,o),G=S.height+S.depth,P=0,O=1;if(l!==null){var M=jT(l,m,o);P=M.height+M.depth,O=2}var k=R+G+P,oe=Math.max(0,Math.ceil((t-k)/(O*y))),le=k+oe*O*y,ve=r.fontMetrics().axisHeight;a&&(ve*=r.sizeMultiplier);var X=le/2-ve,be=[];if(f.length>0){var pe=le-R-G,De=Math.round(le*1e3),Ne=yRn(f,Math.round(pe*1e3)),ie=new gp(f,Ne),jn=(v/1e3).toFixed(3)+"em",Ve=(De/1e3).toFixed(3)+"em",Pn=new J0([ie],{width:jn,height:Ve,viewBox:"0 0 "+v+" "+De}),On=Re.makeSvgSpan([],[Pn],r);On.height=De/1e3,On.style.width=jn,On.style.height=Ve,be.push({type:"elem",elem:On})}else{if(be.push(ZW(s,m,o)),be.push(O5),l===null){var q=le-R-G+2*eq;be.push(KW(c,q,r))}else{var x=(le-R-G-P)/2+2*eq;be.push(KW(c,x,r)),be.push(O5),be.push(ZW(l,m,o)),be.push(O5),be.push(KW(c,x,r))}be.push(O5),be.push(ZW(u,m,o))}var ne=r.havingBaseStyle(Lt.TEXT),me=Re.makeVList({positionType:"bottom",positionData:X,children:be},ne);return XW(Re.makeSpan(["delimsizing","mult"],[me],ne),Lt.TEXT,r,i)},nq=80,tq=.08,aq=function(n,t,a,r,o){var i=gRn(n,r,a),u=new gp(n,i),l=new J0([u],{width:"400em",height:Tn(t),viewBox:"0 0 400000 "+a,preserveAspectRatio:"xMinYMin slice"});return Re.makeSvgSpan(["hide-tail"],[l],o)},pwn=function(n,t){var a=t.havingBaseSizing(),r=jFe("\\surd",n*a.sizeMultiplier,LFe,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+nq,n<1?o=1:n<1.4&&(o=.7),l=(1+i+tq)/o,c=(1+i)/o,u=aq("sqrtMain",l,s,i,t),u.style.minWidth="0.853em",f=.833/o):r.type==="large"?(s=(1e3+nq)*NT[r.size],c=(NT[r.size]+i)/o,l=(NT[r.size]+i+tq)/o,u=aq("sqrtSize"+r.size,l,s,i,t),u.style.minWidth="1.02em",f=1/o):(l=n+i+tq,c=n+i,s=Math.floor(1e3*n+i)+nq,u=aq("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}},AFe=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],_wn=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],xFe=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],NT=[0,1.2,1.8,2.4,3],dwn=function(n,t,a,r,o){if(n==="<"||n==="\\lt"||n==="\u27E8"?n="\\langle":(n===">"||n==="\\gt"||n==="\u27E9")&&(n="\\rangle"),It.contains(AFe,n)||It.contains(xFe,n))return MFe(n,t,!1,a,r,o);if(It.contains(_wn,n))return GFe(n,NT[t],!1,a,r,o);throw new an("Illegal delimiter: '"+n+"'")},hwn=[{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}],gwn=[{type:"small",style:Lt.SCRIPTSCRIPT},{type:"small",style:Lt.SCRIPT},{type:"small",style:Lt.TEXT},{type:"stack"}],LFe=[{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"}],Dwn=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.")},jFe=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]},NFe=function(n,t,a,r,o,i){n==="<"||n==="\\lt"||n==="\u27E8"?n="\\langle":(n===">"||n==="\\gt"||n==="\u27E9")&&(n="\\rangle");var u;It.contains(xFe,n)?u=hwn:It.contains(AFe,n)?u=LFe:u=gwn;var l=jFe(n,t,u,r);return l.type==="small"?swn(n,l.style,a,r,o,i):l.type==="large"?MFe(n,l.size,a,r,o,i):GFe(n,t,a,r,o,i)},ywn=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 NFe(n,f,!0,r,o,i)},Sp={sqrtImage:pwn,sizedDelim:dwn,sizeToMaxHeight:NT,customSizedDelim:NFe,leftRightDelim:ywn},PFe={"\\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}},bwn=["(","\\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 k5(e,n){var t=j5(e);if(t&&It.contains(bwn,t.text))return t;throw t?new an("Invalid delimiter '"+t.text+"' after '"+n.funcName+"'",e):new an("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=k5(n[0],e);return{type:"delimsizing",mode:e.parser.mode,size:PFe[e.funcName].size,mclass:PFe[e.funcName].mclass,delim:t.text}},htmlBuilder:(e,n)=>e.delim==="."?Re.makeSpan([e.mclass]):Sp.sizedDelim(e.delim,e.size,n,e.mode,[e.mclass]),mathmlBuilder:e=>{var n=[];e.delim!=="."&&n.push(uf(e.delim,e.mode));var t=new Ze.MathNode("mo",n);e.mclass==="mopen"||e.mclass==="mclose"?t.setAttribute("fence","true"):t.setAttribute("fence","false"),t.setAttribute("stretchy","true");var a=Tn(Sp.sizeToMaxHeight[e.size]);return t.setAttribute("minsize",a),t.setAttribute("maxsize",a),t}});function OFe(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 an("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:k5(n[0],e).text,color:t}}});Wn({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,n)=>{var t=k5(n[0],e),a=e.parser;++a.leftrightDepth;var r=a.parseExpression(!1);--a.leftrightDepth,a.expect("\\right",!1);var o=da(a.parseFunction(),"leftright-right");return{type:"leftright",mode:a.mode,body:r,left:t.text,right:o.delim,rightColor:o.color}},htmlBuilder:(e,n)=>{OFe(e);for(var t=Ji(e.body,n,!0,["mopen","mclose"]),a=0,r=0,o=!1,i=0;i{OFe(e);var t=Kl(e.body,n);if(e.left!=="."){var a=new Ze.MathNode("mo",[uf(e.left,e.mode)]);a.setAttribute("fence","true"),t.unshift(a)}if(e.right!=="."){var r=new Ze.MathNode("mo",[uf(e.right,e.mode)]);r.setAttribute("fence","true"),e.rightColor&&r.setAttribute("mathcolor",e.rightColor),t.push(r)}return zW(t)}});Wn({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,n)=>{var t=k5(n[0],e);if(!e.parser.leftrightDepth)throw new an("\\middle without preceding \\left",t);return{type:"middle",mode:e.parser.mode,delim:t.text}},htmlBuilder:(e,n)=>{var t;if(e.delim===".")t=LT(n,[]);else{t=Sp.sizedDelim(e.delim,1,n,e.mode,[]);var a={delim:e.delim,options:n};t.isMiddle=a}return t},mathmlBuilder:(e,n)=>{var t=e.delim==="\\vert"||e.delim==="|"?uf("|","text"):uf(e.delim,e.mode),a=new Ze.MathNode("mo",[t]);return a.setAttribute("fence","true"),a.setAttribute("lspace","0.05em"),a.setAttribute("rspace","0.05em"),a}});var rq=(e,n)=>{var t=Re.wrapFragment(Wa(e.body,n),n),a=e.label.slice(1),r=n.sizeMultiplier,o,i=0,u=It.isCharacterBox(e.body);if(a==="sout")o=Re.makeSpan(["stretchy","sout"]),o.height=n.fontMetrics().defaultRuleThickness/r,i=-.5*n.fontMetrics().xHeight;else if(a==="phase"){var l=Ro({number:.6,unit:"pt"},n),c=Ro({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=dRn(v),_=new J0([new gp("phase",m)],{width:"400em",height:Tn(v/1e3),viewBox:"0 0 400000 "+v,preserveAspectRatio:"xMinYMin slice"});o=Re.makeSvgSpan(["hide-tail"],[_],n),o.style.height=Tn(f),i=t.depth+l+c}else{/cancel/.test(a)?u||t.classes.push("cancel-pad"):a==="angl"?t.classes.push("anglpad"):t.classes.push("boxpad");var R=0,D=0,y=0;/box/.test(a)?(y=Math.max(n.fontMetrics().fboxrule,n.minRuleThickness),R=n.fontMetrics().fboxsep+(a==="colorbox"?0:y),D=R):a==="angl"?(y=Math.max(n.fontMetrics().defaultRuleThickness,n.minRuleThickness),R=4*y,D=Math.max(0,.25-t.depth)):(R=u?.2:0,D=R),o=wp.encloseSpan(t,a,R,D,n),/fbox|boxed|fcolorbox/.test(a)?(o.style.borderStyle="solid",o.style.borderWidth=Tn(y)):a==="angl"&&y!==.049&&(o.style.borderTopWidth=Tn(y),o.style.borderRightWidth=Tn(y)),i=t.depth+D,e.backgroundColor&&(o.style.backgroundColor=e.backgroundColor,e.borderColor&&(o.style.borderColor=e.borderColor))}var S;if(e.backgroundColor)S=Re.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:i},{type:"elem",elem:t,shift:0}]},n);else{var G=/cancel|phase/.test(a)?["svg-align"]:[];S=Re.makeVList({positionType:"individualShift",children:[{type:"elem",elem:t,shift:0},{type:"elem",elem:o,shift:i,wrapperClasses:G}]},n)}return/cancel/.test(a)&&(S.height=t.height,S.depth=t.depth),/cancel/.test(a)&&!u?Re.makeSpan(["mord","cancel-lap"],[S],n):Re.makeSpan(["mord"],[S],n)},oq=(e,n)=>{var t=0,a=new Ze.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Ir(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=da(n[0],"color-token").color,i=n[1];return{type:"enclose",mode:a.mode,label:r,backgroundColor:o,body:i}},htmlBuilder:rq,mathmlBuilder:oq});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=da(n[0],"color-token").color,i=da(n[1],"color-token").color,u=n[2];return{type:"enclose",mode:a.mode,label:r,backgroundColor:i,borderColor:o,body:u}},htmlBuilder:rq,mathmlBuilder:oq});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:rq,mathmlBuilder:oq});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 kFe={};function W0(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 an("{"+e.envName+"} can be used only in display mode.")};function iq(e){if(e.indexOf("ed")===-1)return e.indexOf("*")===-1}function qd(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 an("Invalid \\arraystretch: "+m)}e.gullet.beginGroup();var _=[],R=[_],D=[],y=[],S=l!=null?[]:void 0;function G(){l&&e.gullet.macros.set("\\@eqnsw","1",!0)}function P(){S&&(e.gullet.macros.get("\\df@tag")?(S.push(e.subparse([new Qc("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):S.push(Boolean(l)&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(G(),y.push(HFe(e));;){var O=e.parseExpression(!1,c?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),O={type:"ordgroup",mode:e.mode,body:O},t&&(O={type:"styling",mode:e.mode,style:t,body:[O]}),_.push(O);var M=e.fetch().text;if(M==="&"){if(f&&_.length===f){if(c||u)throw new an("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(M==="\\end"){P(),_.length===1&&O.type==="styling"&&O.body[0].body.length===0&&(R.length>1||!s)&&R.pop(),y.length0&&(G+=.25),c.push({pos:G,isDashed:tt[gt]})}for(P(i[0]),a=0;a0&&(X+=S,ktt))for(a=0;a=u)){var de=void 0;(r>0||n.hskipBeforeAndAfter)&&(de=It.deflt(x.pregap,v),de!==0&&(Ne=Re.makeSpan(["arraycolsep"],[]),Ne.style.width=Tn(de),De.push(Ne)));var V=[];for(a=0;a0){for(var $e=Re.makeLineSpan("hline",t,s),Le=Re.makeLineSpan("hdashline",t,s),In=[{type:"elem",elem:l,shift:0}];c.length>0;){var cn=c.pop(),nt=cn.pos-be;cn.isDashed?In.push({type:"elem",elem:Le,shift:nt}):In.push({type:"elem",elem:$e,shift:nt})}l=Re.makeVList({positionType:"individualShift",children:In},t)}if(jn.length===0)return Re.makeSpan(["mord"],[l],t);var Cn=Re.makeVList({positionType:"individualShift",children:jn},t);return Cn=Re.makeSpan(["tag"],[Cn],t),Re.makeFragment([l,Cn])},Rwn={c:"center ",l:"left ",r:"right "},z0=function(n,t){for(var a=[],r=new Ze.MathNode("mtd",[],["mtr-glue"]),o=new Ze.MathNode("mtd",[],["mml-eqn-num"]),i=0;i0){var _=n.cols,R="",D=!1,y=0,S=_.length;_[0].type==="separator"&&(v+="top ",y=1),_[_.length-1].type==="separator"&&(v+="bottom ",S-=1);for(var G=y;G0?"left ":"",v+=oe[oe.length-1].length>0?"right ":"";for(var le=1;le-1?"alignat":"align",o=n.envName==="split",i=qd(n.parser,{cols:a,addJot:!0,autoTag:o?void 0:iq(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};W0({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,n){var t=j5(n[0]),a=t?[n[0]]:da(n[0],"ordgroup").body,r=a.map(function(i){var u=VW(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 an("Unknown column alignment: "+l,i)}),o={cols:r,hskipBeforeAndAfter:!0,maxNumCols:r.length};return qd(e.parser,o,uq(e.envName))},htmlBuilder:q0,mathmlBuilder:z0});W0({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 an("Expected l or c or r",r.nextToken);r.consume(),r.consumeSpaces(),r.expect("]"),r.consume(),a.cols=[{type:"align",align:t}]}}var o=qd(e.parser,a,uq(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:q0,mathmlBuilder:z0});W0({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var n={arraystretch:.5},t=qd(e.parser,n,"script");return t.colSeparationType="small",t},htmlBuilder:q0,mathmlBuilder:z0});W0({type:"array",names:["subarray"],props:{numArgs:1},handler(e,n){var t=j5(n[0]),a=t?[n[0]]:da(n[0],"ordgroup").body,r=a.map(function(i){var u=VW(i),l=u.text;if("lc".indexOf(l)!==-1)return{type:"align",align:l};throw new an("Unknown column alignment: "+l,i)});if(r.length>1)throw new an("{subarray} can contain only one column");var o={cols:r,hskipBeforeAndAfter:!1,arraystretch:.5};if(o=qd(e.parser,o,"script"),o.body.length>0&&o.body[0].length>1)throw new an("{subarray} can contain only one column");return o},htmlBuilder:q0,mathmlBuilder:z0});W0({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=qd(e.parser,n,uq(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:q0,mathmlBuilder:z0});W0({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:BFe,htmlBuilder:q0,mathmlBuilder:z0});W0({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){It.contains(["gather","gather*"],e.envName)&&U5(e);var n={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:iq(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return qd(e.parser,n,"display")},htmlBuilder:q0,mathmlBuilder:z0});W0({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:BFe,htmlBuilder:q0,mathmlBuilder:z0});W0({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){U5(e);var n={autoTag:iq(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return qd(e.parser,n,"display")},htmlBuilder:q0,mathmlBuilder:z0});W0({type:"array",names:["CD"],props:{numArgs:0},handler(e){return U5(e),lwn(e.parser)},htmlBuilder:q0,mathmlBuilder:z0});N("\\nonumber","\\gdef\\@eqnsw{0}");N("\\notag","\\nonumber");Wn({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,n){throw new an(e.funcName+" valid only within array environment")}});var JFe=kFe;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 an("Invalid environment name",r);for(var o="",i=0;i{var t=e.font,a=n.withFont(t);return Wa(e.body,a)},qFe=(e,n)=>{var t=e.font,a=n.withFont(t);return Ir(e.body,a)},zFe={"\\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=x5(n[0]),o=a;return o in zFe&&(o=zFe[o]),{type:"font",mode:t.mode,font:o.slice(1),body:r}},htmlBuilder:WFe,mathmlBuilder:qFe});Wn({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,n)=>{var{parser:t}=e,a=n[0],r=It.isCharacterBox(a);return{type:"mclass",mode:t.mode,mclass:P5(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:WFe,mathmlBuilder:qFe});var $Fe=(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},lq=(e,n)=>{var t=$Fe(e.size,n.style),a=t.fracNum(),r=t.fracDen(),o;o=n.havingStyle(a);var i=Wa(e.numer,o,n);if(e.continued){var u=8.5/n.fontMetrics().ptPerEm,l=3.5/n.fontMetrics().ptPerEm;i.height=i.height0?_=3*v:_=7*v,R=n.fontMetrics().denom1):(f>0?(m=n.fontMetrics().num2,_=v):(m=n.fontMetrics().num3,_=3*v),R=n.fontMetrics().denom2);var D;if(s){var S=n.fontMetrics().axisHeight;m-i.depth-(S+.5*f)<_&&(m+=_-(m-i.depth-(S+.5*f))),S-.5*f-(c.height-R)<_&&(R+=_-(S-.5*f-(c.height-R)));var G=-(S-.5*f);D=Re.makeVList({positionType:"individualShift",children:[{type:"elem",elem:c,shift:R},{type:"elem",elem:s,shift:G},{type:"elem",elem:i,shift:-m}]},n)}else{var y=m-i.depth-(c.height-R);y<_&&(m+=.5*(_-y),R+=.5*(_-y)),D=Re.makeVList({positionType:"individualShift",children:[{type:"elem",elem:c,shift:R},{type:"elem",elem:i,shift:-m}]},n)}o=n.havingStyle(t),D.height*=o.sizeMultiplier/n.sizeMultiplier,D.depth*=o.sizeMultiplier/n.sizeMultiplier;var P;t.size===Lt.DISPLAY.size?P=n.fontMetrics().delim1:t.size===Lt.SCRIPTSCRIPT.size?P=n.havingStyle(Lt.SCRIPT).fontMetrics().delim2:P=n.fontMetrics().delim2;var O,M;return e.leftDelim==null?O=LT(n,["mopen"]):O=Sp.customSizedDelim(e.leftDelim,P,!0,n.havingStyle(t),e.mode,["mopen"]),e.continued?M=Re.makeSpan([]):e.rightDelim==null?M=LT(n,["mclose"]):M=Sp.customSizedDelim(e.rightDelim,P,!0,n.havingStyle(t),e.mode,["mclose"]),Re.makeSpan(["mord"].concat(o.sizingClasses(n)),[O,Re.makeSpan(["mfrac"],[D]),M],n)},cq=(e,n)=>{var t=new Ze.MathNode("mfrac",[Ir(e.numer,n),Ir(e.denom,n)]);if(!e.hasBarLine)t.setAttribute("linethickness","0px");else if(e.barSize){var a=Ro(e.barSize,n);t.setAttribute("linethickness",Tn(a))}var r=$Fe(e.size,n.style);if(r.size!==n.style.size){t=new Ze.MathNode("mstyle",[t]);var o=r.size===Lt.DISPLAY.size?"true":"false";t.setAttribute("displaystyle",o),t.setAttribute("scriptlevel","0")}if(e.leftDelim!=null||e.rightDelim!=null){var i=[];if(e.leftDelim!=null){var u=new Ze.MathNode("mo",[new Ze.TextNode(e.leftDelim.replace("\\",""))]);u.setAttribute("fence","true"),i.push(u)}if(i.push(t),e.rightDelim!=null){var l=new Ze.MathNode("mo",[new Ze.TextNode(e.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),i.push(l)}return zW(i)}return t};Wn({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,n)=>{var{parser:t,funcName:a}=e,r=n[0],o=n[1],i,u=null,l=null,c="auto";switch(a){case"\\dfrac":case"\\frac":case"\\tfrac":i=!0;break;case"\\\\atopfrac":i=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":i=!1,u="(",l=")";break;case"\\\\bracefrac":i=!1,u="\\{",l="\\}";break;case"\\\\brackfrac":i=!1,u="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}switch(a){case"\\dfrac":case"\\dbinom":c="display";break;case"\\tfrac":case"\\tbinom":c="text";break}return{type:"genfrac",mode:t.mode,continued:!1,numer:r,denom:o,hasBarLine:i,leftDelim:u,rightDelim:l,size:c,barSize:null}},htmlBuilder:lq,mathmlBuilder:cq});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 VFe=["display","text","script","scriptscript"],QFe=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=x5(n[0]),i=o.type==="atom"&&o.family==="open"?QFe(o.text):null,u=x5(n[1]),l=u.type==="atom"&&u.family==="close"?QFe(u.text):null,c=da(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 _=da(m.body[0],"textord");v=VFe[Number(_.text)]}}else m=da(m,"textord"),v=VFe[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:lq,mathmlBuilder:cq});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:da(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=nRn(da(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:lq,mathmlBuilder:cq});var YFe=(e,n)=>{var t=n.style,a,r;e.type==="supsub"?(a=e.sup?Wa(e.sup,n.havingStyle(t.sup()),n):Wa(e.sub,n.havingStyle(t.sub()),n),r=da(e.base,"horizBrace")):r=da(e,"horizBrace");var o=Wa(r.base,n.havingBaseStyle(Lt.DISPLAY)),i=wp.svgSpan(r,n),u;if(r.isOver?(u=Re.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:i}]},n),u.children[0].children[0].children[1].classes.push("svg-align")):(u=Re.makeVList({positionType:"bottom",positionData:o.depth+.1+i.height,children:[{type:"elem",elem:i},{type:"kern",size:.1},{type:"elem",elem:o}]},n),u.children[0].children[0].children[0].classes.push("svg-align")),a){var l=Re.makeSpan(["mord",r.isOver?"mover":"munder"],[u],n);r.isOver?u=Re.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:a}]},n):u=Re.makeVList({positionType:"bottom",positionData:l.depth+.2+a.height+a.depth,children:[{type:"elem",elem:a},{type:"kern",size:.2},{type:"elem",elem:l}]},n)}return Re.makeSpan(["mord",r.isOver?"mover":"munder"],[u],n)},wwn=(e,n)=>{var t=wp.mathMLnode(e.label);return new Ze.MathNode(e.isOver?"mover":"munder",[Ir(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:YFe,mathmlBuilder:wwn});Wn({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,n)=>{var{parser:t}=e,a=n[1],r=da(n[0],"url").url;return t.settings.isTrusted({command:"\\href",url:r})?{type:"href",mode:t.mode,href:r,body:ei(a)}:t.formatUnsupportedCmd("\\href")},htmlBuilder:(e,n)=>{var t=Ji(e.body,n,!1);return Re.makeAnchor(e.href,[],t,n)},mathmlBuilder:(e,n)=>{var t=Wd(e.body,n);return t instanceof Zc||(t=new Zc("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=da(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=da(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=Ji(e.body,n,!1),a=["enclosing"];e.attributes.class&&a.push(...e.attributes.class.trim().split(/\s+/));var r=Re.makeSpan(a,t,n);for(var o in e.attributes)o!=="class"&&e.attributes.hasOwnProperty(o)&&r.setAttribute(o,e.attributes[o]);return r},mathmlBuilder:(e,n)=>Wd(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:ei(n[0]),mathml:ei(n[1])}},htmlBuilder:(e,n)=>{var t=Ji(e.html,n,!1);return Re.makeFragment(t)},mathmlBuilder:(e,n)=>Wd(e.mathml,n)});var sq=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 an("Invalid size: '"+n+"' in \\includegraphics");var a={number:+(t[1]+t[2]),unit:t[3]};if(!ZTe(a))throw new an("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=da(t[0],"raw").string,c=l.split(","),s=0;s{var t=Ro(e.height,n),a=0;e.totalheight.number>0&&(a=Ro(e.totalheight,n)-t);var r=0;e.width.number>0&&(r=Ro(e.width,n));var o={height:Tn(t+a)};r>0&&(o.width=Tn(r)),a>0&&(o.verticalAlign=Tn(-a));var i=new tFe(e.src,e.alt,o);return i.height=t,i.depth=a,i},mathmlBuilder:(e,n)=>{var t=new Ze.MathNode("mglyph",[]);t.setAttribute("alt",e.alt);var a=Ro(e.height,n),r=0;if(e.totalheight.number>0&&(r=Ro(e.totalheight,n)-a,t.setAttribute("valign",Tn(-r))),t.setAttribute("height",Tn(a+r)),e.width.number>0){var o=Ro(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=da(n[0],"size");if(t.settings.strict){var o=a[1]==="m",i=r.value.unit==="mu";o?(i||t.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" supports only mu units, "+("not "+r.value.unit+" units")),t.mode!=="math"&&t.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" works only in math mode")):i&&t.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" doesn't support mu units")}return{type:"kern",mode:t.mode,dimension:r.value}},htmlBuilder(e,n){return Re.makeGlue(e.dimension,n)},mathmlBuilder(e,n){var t=Ro(e.dimension,n);return new Ze.SpaceNode(t)}});Wn({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,n)=>{var{parser:t,funcName:a}=e,r=n[0];return{type:"lap",mode:t.mode,alignment:a.slice(5),body:r}},htmlBuilder:(e,n)=>{var t;e.alignment==="clap"?(t=Re.makeSpan([],[Wa(e.body,n)]),t=Re.makeSpan(["inner"],[t],n)):t=Re.makeSpan(["inner"],[Wa(e.body,n)]);var a=Re.makeSpan(["fix"],[]),r=Re.makeSpan([e.alignment],[t,a],n),o=Re.makeSpan(["strut"]);return o.style.height=Tn(r.height+r.depth),r.depth&&(o.style.verticalAlign=Tn(-r.depth)),r.children.unshift(o),r=Re.makeSpan(["thinbox"],[r],n),Re.makeSpan(["mord","vbox"],[r],n)},mathmlBuilder:(e,n)=>{var t=new Ze.MathNode("mpadded",[Ir(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 an("Mismatched "+e.funcName)}});var XFe=(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:ei(n[0]),text:ei(n[1]),script:ei(n[2]),scriptscript:ei(n[3])}},htmlBuilder:(e,n)=>{var t=XFe(e,n),a=Ji(t,n,!1);return Re.makeFragment(a)},mathmlBuilder:(e,n)=>{var t=XFe(e,n);return Wd(t,n)}});var ZFe=(e,n,t,a,r,o,i)=>{e=Re.makeSpan([],[e]);var u=t&&It.isCharacterBox(t),l,c;if(n){var s=Wa(n,a.havingStyle(r.sup()),a);c={elem:s,kern:Math.max(a.fontMetrics().bigOpSpacing1,a.fontMetrics().bigOpSpacing3-s.depth)}}if(t){var f=Wa(t,a.havingStyle(r.sub()),a);l={elem:f,kern:Math.max(a.fontMetrics().bigOpSpacing2,a.fontMetrics().bigOpSpacing4-f.height)}}var v;if(c&&l){var m=a.fontMetrics().bigOpSpacing5+l.elem.height+l.elem.depth+l.kern+e.depth+i;v=Re.makeVList({positionType:"bottom",positionData:m,children:[{type:"kern",size:a.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:Tn(-o)},{type:"kern",size:l.kern},{type:"elem",elem:e},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:Tn(o)},{type:"kern",size:a.fontMetrics().bigOpSpacing5}]},a)}else if(l){var _=e.height-i;v=Re.makeVList({positionType:"top",positionData:_,children:[{type:"kern",size:a.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:Tn(-o)},{type:"kern",size:l.kern},{type:"elem",elem:e}]},a)}else if(c){var R=e.depth+i;v=Re.makeVList({positionType:"bottom",positionData:R,children:[{type:"elem",elem:e},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:Tn(o)},{type:"kern",size:a.fontMetrics().bigOpSpacing5}]},a)}else return e;var D=[v];if(l&&o!==0&&!u){var y=Re.makeSpan(["mspace"],[],a);y.style.marginRight=Tn(o),D.unshift(y)}return Re.makeSpan(["mop","op-limits"],D,a)},KFe=["\\smallint"],PR=(e,n)=>{var t,a,r=!1,o;e.type==="supsub"?(t=e.sup,a=e.sub,o=da(e.base,"op"),r=!0):o=da(e,"op");var i=n.style,u=!1;i.size===Lt.DISPLAY.size&&o.symbol&&!It.contains(KFe,o.name)&&(u=!0);var l;if(o.symbol){var c=u?"Size2-Regular":"Size1-Regular",s="";if((o.name==="\\oiint"||o.name==="\\oiiint")&&(s=o.name.slice(1),o.name=s==="oiint"?"\\iint":"\\iiint"),l=Re.makeSymbol(o.name,c,"math",n,["mop","op-symbol",u?"large-op":"small-op"]),s.length>0){var f=l.italic,v=Re.staticSvg(s+"Size"+(u?"2":"1"),n);l=Re.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:0},{type:"elem",elem:v,shift:u?.08:0}]},n),o.name="\\"+s,l.classes.unshift("mop"),l.italic=f}}else if(o.body){var m=Ji(o.body,n,!0);m.length===1&&m[0]instanceof Yc?(l=m[0],l.classes[0]="mop"):l=Re.makeSpan(["mop"],m,n)}else{for(var _=[],R=1;R{var t;if(e.symbol)t=new Zc("mo",[uf(e.name,e.mode)]),It.contains(KFe,e.name)&&t.setAttribute("largeop","false");else if(e.body)t=new Zc("mo",Kl(e.body,n));else{t=new Zc("mi",[new NR(e.name.slice(1))]);var a=new Zc("mo",[uf("\u2061","text")]);e.parentIsSupSub?t=new Zc("mrow",[t,a]):t=_Fe([t,a])}return t},Swn={"\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=Swn[r]),{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:PR,mathmlBuilder:PT});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:ei(a)}},htmlBuilder:PR,mathmlBuilder:PT});var Ewn={"\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:PR,mathmlBuilder:PT});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:PR,mathmlBuilder:PT});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=Ewn[a]),{type:"op",mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:a}},htmlBuilder:PR,mathmlBuilder:PT});var eMe=(e,n)=>{var t,a,r=!1,o;e.type==="supsub"?(t=e.sup,a=e.sub,o=da(e.base,"operatorname"),r=!0):o=da(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=Ji(u,n.withFont("mathrm"),!0),c=0;c{for(var t=Kl(e.body,n.withFont("mathrm")),a=!0,r=0;rs.toText()).join("");t=[new Ze.TextNode(u)]}var l=new Ze.MathNode("mi",t);l.setAttribute("mathvariant","normal");var c=new Ze.MathNode("mo",[uf("\u2061","text")]);return e.parentIsSupSub?new Ze.MathNode("mrow",[l,c]):Ze.newDocumentFragment([l,c])};Wn({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,n)=>{var{parser:t,funcName:a}=e,r=n[0];return{type:"operatorname",mode:t.mode,body:ei(r),alwaysHandleSupSub:a==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:eMe,mathmlBuilder:Cwn});N("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");CD({type:"ordgroup",htmlBuilder(e,n){return e.semisimple?Re.makeFragment(Ji(e.body,n,!1)):Re.makeSpan(["mord"],Ji(e.body,n,!0),n)},mathmlBuilder(e,n){return Wd(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=Wa(e.body,n.havingCrampedStyle()),a=Re.makeLineSpan("overline-line",n),r=n.fontMetrics().defaultRuleThickness,o=Re.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:t},{type:"kern",size:3*r},{type:"elem",elem:a},{type:"kern",size:r}]},n);return Re.makeSpan(["mord","overline"],[o],n)},mathmlBuilder(e,n){var t=new Ze.MathNode("mo",[new Ze.TextNode("\u203E")]);t.setAttribute("stretchy","true");var a=new Ze.MathNode("mover",[Ir(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:ei(a)}},htmlBuilder:(e,n)=>{var t=Ji(e.body,n.withPhantom(),!1);return Re.makeFragment(t)},mathmlBuilder:(e,n)=>{var t=Kl(e.body,n);return new Ze.MathNode("mphantom",t)}});Wn({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,n)=>{var{parser:t}=e,a=n[0];return{type:"hphantom",mode:t.mode,body:a}},htmlBuilder:(e,n)=>{var t=Re.makeSpan([],[Wa(e.body,n.withPhantom())]);if(t.height=0,t.depth=0,t.children)for(var a=0;a{var t=Kl(ei(e.body),n),a=new Ze.MathNode("mphantom",t),r=new Ze.MathNode("mpadded",[a]);return r.setAttribute("height","0px"),r.setAttribute("depth","0px"),r}});Wn({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,n)=>{var{parser:t}=e,a=n[0];return{type:"vphantom",mode:t.mode,body:a}},htmlBuilder:(e,n)=>{var t=Re.makeSpan(["inner"],[Wa(e.body,n.withPhantom())]),a=Re.makeSpan(["fix"],[]);return Re.makeSpan(["mord","rlap"],[t,a],n)},mathmlBuilder:(e,n)=>{var t=Kl(ei(e.body),n),a=new Ze.MathNode("mphantom",t),r=new Ze.MathNode("mpadded",[a]);return r.setAttribute("width","0px"),r}});Wn({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,n){var{parser:t}=e,a=da(n[0],"size").value,r=n[1];return{type:"raisebox",mode:t.mode,dy:a,body:r}},htmlBuilder(e,n){var t=Wa(e.body,n),a=Ro(e.dy,n);return Re.makeVList({positionType:"shift",positionData:-a,children:[{type:"elem",elem:t}]},n)},mathmlBuilder(e,n){var t=new Ze.MathNode("mpadded",[Ir(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=da(n[0],"size"),i=da(n[1],"size");return{type:"rule",mode:a.mode,shift:r&&da(r,"size").value,width:o.value,height:i.value}},htmlBuilder(e,n){var t=Re.makeSpan(["mord","rule"],[],n),a=Ro(e.width,n),r=Ro(e.height,n),o=e.shift?Ro(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=Ro(e.width,n),a=Ro(e.height,n),r=e.shift?Ro(e.shift,n):0,o=n.color&&n.getColor()||"black",i=new Ze.MathNode("mspace");i.setAttribute("mathbackground",o),i.setAttribute("width",Tn(t)),i.setAttribute("height",Tn(a));var u=new Ze.MathNode("mpadded",[i]);return r>=0?u.setAttribute("height",Tn(r)):(u.setAttribute("height",Tn(r)),u.setAttribute("depth",Tn(-r))),u.setAttribute("voffset",Tn(r)),u}});function nMe(e,n,t){for(var a=Ji(e,n,!1),r=n.sizeMultiplier/t.sizeMultiplier,o=0;o{var t=n.havingSize(e.size);return nMe(e.body,t,n)};Wn({type:"sizing",names:tMe,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:tMe.indexOf(a)+1,body:o}},htmlBuilder:Iwn,mathmlBuilder:(e,n)=>{var t=n.havingSize(e.size),a=Kl(e.body,t),r=new Ze.MathNode("mstyle",a);return r.setAttribute("mathsize",Tn(t.sizeMultiplier)),r}});Wn({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,n,t)=>{var{parser:a}=e,r=!1,o=!1,i=t[0]&&da(t[0],"ordgroup");if(i)for(var u="",l=0;l{var t=Re.makeSpan([],[Wa(e.body,n)]);if(!e.smashHeight&&!e.smashDepth)return t;if(e.smashHeight&&(t.height=0,t.children))for(var a=0;a{var t=new Ze.MathNode("mpadded",[Ir(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=Wa(e.body,n.havingCrampedStyle());t.height===0&&(t.height=n.fontMetrics().xHeight),t=Re.wrapFragment(t,n);var a=n.fontMetrics(),r=a.defaultRuleThickness,o=r;n.style.idt.height+t.depth+i&&(i=(i+f-t.height-t.depth)/2);var v=l.height-t.height-i-c;t.style.paddingLeft=Tn(s);var m=Re.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:t,wrapperClasses:["svg-align"]},{type:"kern",size:-(t.height+v)},{type:"elem",elem:l},{type:"kern",size:c}]},n);if(e.index){var _=n.havingStyle(Lt.SCRIPTSCRIPT),R=Wa(e.index,_,n),D=.6*(m.height-m.depth),y=Re.makeVList({positionType:"shift",positionData:-D,children:[{type:"elem",elem:R}]},n),S=Re.makeSpan(["root"],[y]);return Re.makeSpan(["mord","sqrt"],[S,m],n)}else return Re.makeSpan(["mord","sqrt"],[m],n)},mathmlBuilder(e,n){var{body:t,index:a}=e;return a?new Ze.MathNode("mroot",[Ir(t,n),Ir(a,n)]):new Ze.MathNode("msqrt",[Ir(t,n)])}});var aMe={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=aMe[e.style],a=n.havingStyle(t).withFont("");return nMe(e.body,a,n)},mathmlBuilder(e,n){var t=aMe[e.style],a=n.havingStyle(t),r=Kl(e.body,a),o=new Ze.MathNode("mstyle",r),i={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},u=i[e.style];return o.setAttribute("scriptlevel",u[0]),o.setAttribute("displaystyle",u[1]),o}});var Twn=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?PR:null}else if(a.type==="operatorname"){var o=a.alwaysHandleSupSub&&(t.style.size===Lt.DISPLAY.size||a.limits);return o?eMe:null}else{if(a.type==="accent")return It.isCharacterBox(a.base)?QW:null;if(a.type==="horizBrace"){var i=!n.sub;return i===a.isOver?YFe:null}else return null}else return null};CD({type:"supsub",htmlBuilder(e,n){var t=Twn(e,n);if(t)return t(e,n);var{base:a,sup:r,sub:o}=e,i=Wa(a,n),u,l,c=n.fontMetrics(),s=0,f=0,v=a&&It.isCharacterBox(a);if(r){var m=n.havingStyle(n.style.sup());u=Wa(r,m,n),v||(s=i.height-m.fontMetrics().supDrop*m.sizeMultiplier/n.sizeMultiplier)}if(o){var _=n.havingStyle(n.style.sub());l=Wa(o,_,n),v||(f=i.depth+_.fontMetrics().subDrop*_.sizeMultiplier/n.sizeMultiplier)}var R;n.style===Lt.DISPLAY?R=c.sup1:n.style.cramped?R=c.sup3:R=c.sup2;var D=n.sizeMultiplier,y=Tn(.5/c.ptPerEm/D),S=null;if(l){var G=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(i instanceof Yc||G)&&(S=Tn(-i.italic))}var P;if(u&&l){s=Math.max(s,R,u.depth+.25*c.xHeight),f=Math.max(f,c.sub2);var O=c.defaultRuleThickness,M=4*O;if(s-u.depth-(l.height-f)0&&(s+=k,f-=k)}var oe=[{type:"elem",elem:l,shift:f,marginRight:y,marginLeft:S},{type:"elem",elem:u,shift:-s,marginRight:y}];P=Re.makeVList({positionType:"individualShift",children:oe},n)}else if(l){f=Math.max(f,c.sub1,l.height-.8*c.xHeight);var le=[{type:"elem",elem:l,marginLeft:S,marginRight:y}];P=Re.makeVList({positionType:"shift",positionData:f,children:le},n)}else if(u)s=Math.max(s,R,u.depth+.25*c.xHeight),P=Re.makeVList({positionType:"shift",positionData:-s,children:[{type:"elem",elem:u,marginRight:y}]},n);else throw new Error("supsub must have either sup or sub.");var ve=WW(i,"right")||"mord";return Re.makeSpan([ve],[i,Re.makeSpan(["msupsub"],[P])],n)},mathmlBuilder(e,n){var t=!1,a,r;e.base&&e.base.type==="horizBrace"&&(r=!!e.sup,r===e.base.isOver&&(t=!0,a=e.base.isOver)),e.base&&(e.base.type==="op"||e.base.type==="operatorname")&&(e.base.parentIsSupSub=!0);var o=[Ir(e.base,n)];e.sub&&o.push(Ir(e.sub,n)),e.sup&&o.push(Ir(e.sup,n));var i;if(t)i=a?"mover":"munder";else if(e.sub)if(e.sup){var c=e.base;c&&c.type==="op"&&c.limits&&n.style===Lt.DISPLAY||c&&c.type==="operatorname"&&c.alwaysHandleSupSub&&(n.style===Lt.DISPLAY||c.limits)?i="munderover":i="msubsup"}else{var l=e.base;l&&l.type==="op"&&l.limits&&(n.style===Lt.DISPLAY||l.alwaysHandleSupSub)||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(l.limits||n.style===Lt.DISPLAY)?i="munder":i="msub"}else{var u=e.base;u&&u.type==="op"&&u.limits&&(n.style===Lt.DISPLAY||u.alwaysHandleSupSub)||u&&u.type==="operatorname"&&u.alwaysHandleSupSub&&(u.limits||n.style===Lt.DISPLAY)?i="mover":i="msup"}return new Ze.MathNode(i,o)}});CD({type:"atom",htmlBuilder(e,n){return Re.mathsym(e.text,e.mode,n,["m"+e.family])},mathmlBuilder(e,n){var t=new Ze.MathNode("mo",[uf(e.text,e.mode)]);if(e.family==="bin"){var a=$W(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 rMe={mi:"italic",mn:"normal",mtext:"normal"};CD({type:"mathord",htmlBuilder(e,n){return Re.makeOrd(e,n,"mathord")},mathmlBuilder(e,n){var t=new Ze.MathNode("mi",[uf(e.text,e.mode,n)]),a=$W(e,n)||"italic";return a!==rMe[t.type]&&t.setAttribute("mathvariant",a),t}});CD({type:"textord",htmlBuilder(e,n){return Re.makeOrd(e,n,"textord")},mathmlBuilder(e,n){var t=uf(e.text,e.mode,n),a=$W(e,n)||"normal",r;return e.mode==="text"?r=new Ze.MathNode("mtext",[t]):/[0-9]/.test(e.text)?r=new Ze.MathNode("mn",[t]):e.text==="\\prime"?r=new Ze.MathNode("mo",[t]):r=new Ze.MathNode("mi",[t]),a!==rMe[r.type]&&r.setAttribute("mathvariant",a),r}});var fq={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},vq={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};CD({type:"spacing",htmlBuilder(e,n){if(vq.hasOwnProperty(e.text)){var t=vq[e.text].className||"";if(e.mode==="text"){var a=Re.makeOrd(e,n,"textord");return a.classes.push(t),a}else return Re.makeSpan(["mspace",t],[Re.mathsym(e.text,e.mode,n)],n)}else{if(fq.hasOwnProperty(e.text))return Re.makeSpan(["mspace",fq[e.text]],[],n);throw new an('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,n){var t;if(vq.hasOwnProperty(e.text))t=new Ze.MathNode("mtext",[new Ze.TextNode("\xA0")]);else{if(fq.hasOwnProperty(e.text))return new Ze.MathNode("mspace");throw new an('Unknown type of space "'+e.text+'"')}return t}});var oMe=()=>{var e=new Ze.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};CD({type:"tag",mathmlBuilder(e,n){var t=new Ze.MathNode("mtable",[new Ze.MathNode("mtr",[oMe(),new Ze.MathNode("mtd",[Wd(e.body,n)]),oMe(),new Ze.MathNode("mtd",[Wd(e.tag,n)])])]);return t.setAttribute("width","100%"),t}});var iMe={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},uMe={"\\textbf":"textbf","\\textmd":"textmd"},Fwn={"\\textit":"textit","\\textup":"textup"},lMe=(e,n)=>{var t=e.font;return t?iMe[t]?n.withTextFontFamily(iMe[t]):uMe[t]?n.withTextFontWeight(uMe[t]):n.withTextFontShape(Fwn[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:ei(r),font:a}},htmlBuilder(e,n){var t=lMe(e,n),a=Ji(e.body,t,!0);return Re.makeSpan(["mord","text"],a,t)},mathmlBuilder(e,n){var t=lMe(e,n);return Wd(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=Wa(e.body,n),a=Re.makeLineSpan("underline-line",n),r=n.fontMetrics().defaultRuleThickness,o=Re.makeVList({positionType:"top",positionData:t.height,children:[{type:"kern",size:r},{type:"elem",elem:a},{type:"kern",size:3*r},{type:"elem",elem:t}]},n);return Re.makeSpan(["mord","underline"],[o],n)},mathmlBuilder(e,n){var t=new Ze.MathNode("mo",[new Ze.TextNode("\u203E")]);t.setAttribute("stretchy","true");var a=new Ze.MathNode("munder",[Ir(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=Wa(e.body,n),a=n.fontMetrics().axisHeight,r=.5*(t.height-a-(t.depth+a));return Re.makeVList({positionType:"shift",positionData:r,children:[{type:"elem",elem:t}]},n)},mathmlBuilder(e,n){return new Ze.MathNode("mpadded",[Ir(e.body,n)],["vcenter"])}});Wn({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,n,t){throw new an("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,n){for(var t=cMe(e),a=[],r=n.havingStyle(n.style.text()),o=0;oe.body.replace(/ /g,e.star?"\u2423":"\xA0"),zd=vFe,sMe=`[ \r ]`,Mwn="\\\\[a-zA-Z@]+",Gwn="\\\\[^\uD800-\uDFFF]",Awn="("+Mwn+")"+sMe+"*",xwn=`\\\\( |[ \r ]+ ?)[ \r ]*`,mq="[\u0300-\u036F]",Lwn=new RegExp(mq+"+$"),jwn="("+sMe+"+)|"+(xwn+"|")+"([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(mq+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(mq+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+Awn)+("|"+Gwn+")"),pq=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(jwn,"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 Qc("EOF",new Xl(this,t,t));var a=this.tokenRegex.exec(n);if(a===null||a.index!==t)throw new an("Unexpected character: '"+n[t]+"'",new Qc(n[t],new Xl(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 Qc(r,new Xl(this,t,this.tokenRegex.lastIndex))}},fMe=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 an("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}},Nwn=UFe;N("\\noexpand",function(e){var n=e.popToken();return e.isExpandable(n.text)&&(n.noexpand=!0,n.treatAsRelax=!0),{tokens:[n],numArgs:0}});N("\\expandafter",function(e){var n=e.popToken();return e.expandOnce(!0),{tokens:[n],numArgs:0}});N("\\@firstoftwo",function(e){var n=e.consumeArgs(2);return{tokens:n[0],numArgs:0}});N("\\@secondoftwo",function(e){var n=e.consumeArgs(2);return{tokens:n[1],numArgs:0}});N("\\@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}});N("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");N("\\TextOrMath",function(e){var n=e.consumeArgs(2);return e.mode==="text"?{tokens:n[0],numArgs:0}:{tokens:n[1],numArgs:0}});var vMe={"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};N("\\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 an("\\char` missing argument");a=n.text.charCodeAt(0)}else t=10;if(t){if(a=vMe[n.text],a==null||a>=t)throw new an("Invalid base-"+t+" digit "+n.text);for(var r;(r=vMe[e.future().text])!=null&&r{var a=e.consumeArg().tokens;if(a.length!==1)throw new an("\\newcommand's first argument must be a macro name");var r=a[0].text,o=e.isDefined(r);if(o&&!n)throw new an("\\newcommand{"+r+"} attempting to redefine "+(r+"; use \\renewcommand"));if(!o&&!t)throw new an("\\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 an("Invalid number of arguments: "+u);i=parseInt(u),a=e.consumeArg().tokens}return e.macros.set(r,{tokens:a,numArgs:i}),""};N("\\newcommand",e=>_q(e,!1,!0));N("\\renewcommand",e=>_q(e,!0,!1));N("\\providecommand",e=>_q(e,!0,!0));N("\\message",e=>{var n=e.consumeArgs(1)[0];return console.log(n.reverse().map(t=>t.text).join("")),""});N("\\errmessage",e=>{var n=e.consumeArgs(1)[0];return console.error(n.reverse().map(t=>t.text).join("")),""});N("\\show",e=>{var n=e.popToken(),t=n.text;return console.log(n,e.macros.get(t),zd[t],Nr.math[t],Nr.text[t]),""});N("\\bgroup","{");N("\\egroup","}");N("~","\\nobreakspace");N("\\lq","`");N("\\rq","'");N("\\aa","\\r a");N("\\AA","\\r A");N("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}");N("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");N("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}");N("\u212C","\\mathscr{B}");N("\u2130","\\mathscr{E}");N("\u2131","\\mathscr{F}");N("\u210B","\\mathscr{H}");N("\u2110","\\mathscr{I}");N("\u2112","\\mathscr{L}");N("\u2133","\\mathscr{M}");N("\u211B","\\mathscr{R}");N("\u212D","\\mathfrak{C}");N("\u210C","\\mathfrak{H}");N("\u2128","\\mathfrak{Z}");N("\\Bbbk","\\Bbb{k}");N("\xB7","\\cdotp");N("\\llap","\\mathllap{\\textrm{#1}}");N("\\rlap","\\mathrlap{\\textrm{#1}}");N("\\clap","\\mathclap{\\textrm{#1}}");N("\\mathstrut","\\vphantom{(}");N("\\underbar","\\underline{\\text{#1}}");N("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');N("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}");N("\\ne","\\neq");N("\u2260","\\neq");N("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}");N("\u2209","\\notin");N("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}");N("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}");N("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}");N("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}");N("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}");N("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}");N("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}");N("\u27C2","\\perp");N("\u203C","\\mathclose{!\\mkern-0.8mu!}");N("\u220C","\\notni");N("\u231C","\\ulcorner");N("\u231D","\\urcorner");N("\u231E","\\llcorner");N("\u231F","\\lrcorner");N("\xA9","\\copyright");N("\xAE","\\textregistered");N("\uFE0F","\\textregistered");N("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');N("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');N("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');N("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');N("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}");N("\u22EE","\\vdots");N("\\varGamma","\\mathit{\\Gamma}");N("\\varDelta","\\mathit{\\Delta}");N("\\varTheta","\\mathit{\\Theta}");N("\\varLambda","\\mathit{\\Lambda}");N("\\varXi","\\mathit{\\Xi}");N("\\varPi","\\mathit{\\Pi}");N("\\varSigma","\\mathit{\\Sigma}");N("\\varUpsilon","\\mathit{\\Upsilon}");N("\\varPhi","\\mathit{\\Phi}");N("\\varPsi","\\mathit{\\Psi}");N("\\varOmega","\\mathit{\\Omega}");N("\\substack","\\begin{subarray}{c}#1\\end{subarray}");N("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");N("\\boxed","\\fbox{$\\displaystyle{#1}$}");N("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");N("\\implies","\\DOTSB\\;\\Longrightarrow\\;");N("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var mMe={",":"\\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"};N("\\dots",function(e){var n="\\dotso",t=e.expandAfterFuture().text;return t in mMe?n=mMe[t]:(t.slice(0,4)==="\\not"||t in Nr.math&&It.contains(["bin","rel"],Nr.math[t].group))&&(n="\\dotsb"),n});var dq={")":!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};N("\\dotso",function(e){var n=e.future().text;return n in dq?"\\ldots\\,":"\\ldots"});N("\\dotsc",function(e){var n=e.future().text;return n in dq&&n!==","?"\\ldots\\,":"\\ldots"});N("\\cdots",function(e){var n=e.future().text;return n in dq?"\\@cdots\\,":"\\@cdots"});N("\\dotsb","\\cdots");N("\\dotsm","\\cdots");N("\\dotsi","\\!\\cdots");N("\\dotsx","\\ldots\\,");N("\\DOTSI","\\relax");N("\\DOTSB","\\relax");N("\\DOTSX","\\relax");N("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");N("\\,","\\tmspace+{3mu}{.1667em}");N("\\thinspace","\\,");N("\\>","\\mskip{4mu}");N("\\:","\\tmspace+{4mu}{.2222em}");N("\\medspace","\\:");N("\\;","\\tmspace+{5mu}{.2777em}");N("\\thickspace","\\;");N("\\!","\\tmspace-{3mu}{.1667em}");N("\\negthinspace","\\!");N("\\negmedspace","\\tmspace-{4mu}{.2222em}");N("\\negthickspace","\\tmspace-{5mu}{.277em}");N("\\enspace","\\kern.5em ");N("\\enskip","\\hskip.5em\\relax");N("\\quad","\\hskip1em\\relax");N("\\qquad","\\hskip2em\\relax");N("\\tag","\\@ifstar\\tag@literal\\tag@paren");N("\\tag@paren","\\tag@literal{({#1})}");N("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new an("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});N("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");N("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");N("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");N("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");N("\\newline","\\\\\\relax");N("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var pMe=Tn(H0["Main-Regular"]["T".charCodeAt(0)][1]-.7*H0["Main-Regular"]["A".charCodeAt(0)][1]);N("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+pMe+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");N("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+pMe+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");N("\\hspace","\\@ifstar\\@hspacer\\@hspace");N("\\@hspace","\\hskip #1\\relax");N("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");N("\\ordinarycolon",":");N("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");N("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');N("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');N("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');N("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');N("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');N("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');N("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');N("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');N("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');N("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');N("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');N("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');N("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');N("\u2237","\\dblcolon");N("\u2239","\\eqcolon");N("\u2254","\\coloneqq");N("\u2255","\\eqqcolon");N("\u2A74","\\Coloneqq");N("\\ratio","\\vcentcolon");N("\\coloncolon","\\dblcolon");N("\\colonequals","\\coloneqq");N("\\coloncolonequals","\\Coloneqq");N("\\equalscolon","\\eqqcolon");N("\\equalscoloncolon","\\Eqqcolon");N("\\colonminus","\\coloneq");N("\\coloncolonminus","\\Coloneq");N("\\minuscolon","\\eqcolon");N("\\minuscoloncolon","\\Eqcolon");N("\\coloncolonapprox","\\Colonapprox");N("\\coloncolonsim","\\Colonsim");N("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");N("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");N("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");N("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");N("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}");N("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");N("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");N("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");N("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");N("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");N("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");N("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");N("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");N("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}");N("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}");N("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}");N("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}");N("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}");N("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}");N("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}");N("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}");N("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}");N("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}");N("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}");N("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}");N("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}");N("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}");N("\\imath","\\html@mathml{\\@imath}{\u0131}");N("\\jmath","\\html@mathml{\\@jmath}{\u0237}");N("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}");N("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}");N("\u27E6","\\llbracket");N("\u27E7","\\rrbracket");N("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}");N("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}");N("\u2983","\\lBrace");N("\u2984","\\rBrace");N("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`\u29B5}}");N("\u29B5","\\minuso");N("\\darr","\\downarrow");N("\\dArr","\\Downarrow");N("\\Darr","\\Downarrow");N("\\lang","\\langle");N("\\rang","\\rangle");N("\\uarr","\\uparrow");N("\\uArr","\\Uparrow");N("\\Uarr","\\Uparrow");N("\\N","\\mathbb{N}");N("\\R","\\mathbb{R}");N("\\Z","\\mathbb{Z}");N("\\alef","\\aleph");N("\\alefsym","\\aleph");N("\\Alpha","\\mathrm{A}");N("\\Beta","\\mathrm{B}");N("\\bull","\\bullet");N("\\Chi","\\mathrm{X}");N("\\clubs","\\clubsuit");N("\\cnums","\\mathbb{C}");N("\\Complex","\\mathbb{C}");N("\\Dagger","\\ddagger");N("\\diamonds","\\diamondsuit");N("\\empty","\\emptyset");N("\\Epsilon","\\mathrm{E}");N("\\Eta","\\mathrm{H}");N("\\exist","\\exists");N("\\harr","\\leftrightarrow");N("\\hArr","\\Leftrightarrow");N("\\Harr","\\Leftrightarrow");N("\\hearts","\\heartsuit");N("\\image","\\Im");N("\\infin","\\infty");N("\\Iota","\\mathrm{I}");N("\\isin","\\in");N("\\Kappa","\\mathrm{K}");N("\\larr","\\leftarrow");N("\\lArr","\\Leftarrow");N("\\Larr","\\Leftarrow");N("\\lrarr","\\leftrightarrow");N("\\lrArr","\\Leftrightarrow");N("\\Lrarr","\\Leftrightarrow");N("\\Mu","\\mathrm{M}");N("\\natnums","\\mathbb{N}");N("\\Nu","\\mathrm{N}");N("\\Omicron","\\mathrm{O}");N("\\plusmn","\\pm");N("\\rarr","\\rightarrow");N("\\rArr","\\Rightarrow");N("\\Rarr","\\Rightarrow");N("\\real","\\Re");N("\\reals","\\mathbb{R}");N("\\Reals","\\mathbb{R}");N("\\Rho","\\mathrm{P}");N("\\sdot","\\cdot");N("\\sect","\\S");N("\\spades","\\spadesuit");N("\\sub","\\subset");N("\\sube","\\subseteq");N("\\supe","\\supseteq");N("\\Tau","\\mathrm{T}");N("\\thetasym","\\vartheta");N("\\weierp","\\wp");N("\\Zeta","\\mathrm{Z}");N("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");N("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");N("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");N("\\bra","\\mathinner{\\langle{#1}|}");N("\\ket","\\mathinner{|{#1}\\rangle}");N("\\braket","\\mathinner{\\langle{#1}\\rangle}");N("\\Bra","\\left\\langle#1\\right|");N("\\Ket","\\left|#1\\right\\rangle");var _Me=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}};N("\\bra@ket",_Me(!1));N("\\bra@set",_Me(!0));N("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");N("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");N("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");N("\\angln","{\\angl n}");N("\\blue","\\textcolor{##6495ed}{#1}");N("\\orange","\\textcolor{##ffa500}{#1}");N("\\pink","\\textcolor{##ff00af}{#1}");N("\\red","\\textcolor{##df0030}{#1}");N("\\green","\\textcolor{##28ae7b}{#1}");N("\\gray","\\textcolor{gray}{#1}");N("\\purple","\\textcolor{##9d38bd}{#1}");N("\\blueA","\\textcolor{##ccfaff}{#1}");N("\\blueB","\\textcolor{##80f6ff}{#1}");N("\\blueC","\\textcolor{##63d9ea}{#1}");N("\\blueD","\\textcolor{##11accd}{#1}");N("\\blueE","\\textcolor{##0c7f99}{#1}");N("\\tealA","\\textcolor{##94fff5}{#1}");N("\\tealB","\\textcolor{##26edd5}{#1}");N("\\tealC","\\textcolor{##01d1c1}{#1}");N("\\tealD","\\textcolor{##01a995}{#1}");N("\\tealE","\\textcolor{##208170}{#1}");N("\\greenA","\\textcolor{##b6ffb0}{#1}");N("\\greenB","\\textcolor{##8af281}{#1}");N("\\greenC","\\textcolor{##74cf70}{#1}");N("\\greenD","\\textcolor{##1fab54}{#1}");N("\\greenE","\\textcolor{##0d923f}{#1}");N("\\goldA","\\textcolor{##ffd0a9}{#1}");N("\\goldB","\\textcolor{##ffbb71}{#1}");N("\\goldC","\\textcolor{##ff9c39}{#1}");N("\\goldD","\\textcolor{##e07d10}{#1}");N("\\goldE","\\textcolor{##a75a05}{#1}");N("\\redA","\\textcolor{##fca9a9}{#1}");N("\\redB","\\textcolor{##ff8482}{#1}");N("\\redC","\\textcolor{##f9685d}{#1}");N("\\redD","\\textcolor{##e84d39}{#1}");N("\\redE","\\textcolor{##bc2612}{#1}");N("\\maroonA","\\textcolor{##ffbde0}{#1}");N("\\maroonB","\\textcolor{##ff92c6}{#1}");N("\\maroonC","\\textcolor{##ed5fa6}{#1}");N("\\maroonD","\\textcolor{##ca337c}{#1}");N("\\maroonE","\\textcolor{##9e034e}{#1}");N("\\purpleA","\\textcolor{##ddd7ff}{#1}");N("\\purpleB","\\textcolor{##c6b9fc}{#1}");N("\\purpleC","\\textcolor{##aa87ff}{#1}");N("\\purpleD","\\textcolor{##7854ab}{#1}");N("\\purpleE","\\textcolor{##543b78}{#1}");N("\\mintA","\\textcolor{##f5f9e8}{#1}");N("\\mintB","\\textcolor{##edf2df}{#1}");N("\\mintC","\\textcolor{##e0e5cc}{#1}");N("\\grayA","\\textcolor{##f6f7f7}{#1}");N("\\grayB","\\textcolor{##f0f1f2}{#1}");N("\\grayC","\\textcolor{##e3e5e6}{#1}");N("\\grayD","\\textcolor{##d6d8da}{#1}");N("\\grayE","\\textcolor{##babec2}{#1}");N("\\grayF","\\textcolor{##888d93}{#1}");N("\\grayG","\\textcolor{##626569}{#1}");N("\\grayH","\\textcolor{##3b3e40}{#1}");N("\\grayI","\\textcolor{##21242c}{#1}");N("\\kaBlue","\\textcolor{##314453}{#1}");N("\\kaGreen","\\textcolor{##71B307}{#1}");var dMe={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},hMe=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 fMe(Nwn,t.macros),this.mode=a,this.stack=[]}feed(n){this.lexer=new pq(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 Qc("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 an("Extra }",o)}else if(o.text==="EOF")throw new an("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 an("The length of delimiters doesn't match the number of args!");for(var a=t[0],r=0;rthis.settings.maxExpand)throw new an("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 an("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 an("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 an("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 Qc(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 pq(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)||zd.hasOwnProperty(n)||Nr.math.hasOwnProperty(n)||Nr.text.hasOwnProperty(n)||dMe.hasOwnProperty(n)}isExpandable(n){var t=this.macros.get(n);return t!=null?typeof t=="string"||typeof t=="function"||!t.unexpandable:zd.hasOwnProperty(n)&&!zd[n].primitive}},gMe=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,H5=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"}),hq={"\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"}},DMe={\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"},OT=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 hMe(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 an("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 Qc("}")),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(OT.endOfExpression.indexOf(r.text)!==-1||t&&r.text===t||n&&zd[r.text]&&zd[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=Nr[this.mode][t].group,l=Xl.range(n),c;if(IRn.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&&($Te(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:Xl.range(n),text:t};else return null;if(this.consume(),o)for(var f=0;f":""))+")"})}return v;function v(){let m=wMe,_,R,D;if((!n||o(l,c,s[s.length-1]||void 0))&&(m=qwn(t(l,s)),m[0]===bq))return m;if("children"in l&&l.children){let y=l;if(y.children&&m[0]!==W5)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 aSn={tokenize:sSn,partial:!0};function Iq(){return{document:{[91]:{tokenize:uSn,continuation:{tokenize:lSn},exit:cSn}},text:{[91]:{tokenize:iSn},[93]:{add:"after",tokenize:rSn,resolveTo:oSn}}}}function rSn(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=Wu(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 oSn(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 iSn(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(Wu(a.sliceSerialize(m)))?f(v):t(v)):t(v):(e.consume(v),Xa(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 uSn(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=Wu(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)):(Xa(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"),Gt(e,_,"gfmFootnoteDefinitionWhitespace")):t(R)}function _(R){return r.includes(o)||r.push(o),n(R)}}function lSn(e,n,t){return e.check(k0,n,e.attempt(aSn,n,t))}function cSn(e){e.exit("gfmFootnoteDefinition")}function sSn(e,n,t){let a=this;return Gt(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 Tq(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=ER(m);return R._open=!D||D===2&&Boolean(_),R._close=!_||_===2&&Boolean(D),i(m)}}}var Fq={flow:{null:{tokenize:vSn,resolve:fSn}}},LMe={tokenize:mSn,partial:!0};function fSn(e,n){let t=-1,a,r,o,i,u,l,c;for(;++t=4?Ve(q):(a._gfmTableDynamicInterruptHack=!0,ie.check(a.parser.constructs.flow,function(ne){return a._gfmTableDynamicInterruptHack=!1,Ve(ne)},function(ne){return a._gfmTableDynamicInterruptHack=!1,jn(ne)})(q))}}}function mSn(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||Xa(i)?n(i):t(i)}}var pSn={tokenize:_Sn},Mq={text:{[91]:pSn}};function _Sn(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 Xa(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:dSn},n,t)):t(u)}}function dSn(e,n,t){let a=this;return Gt(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 jMe(e){return T7([wq,Iq(),Tq(e),Fq,Mq])}function Gq(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 Aq(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var hSn={}.hasOwnProperty,xq=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=IT(r.ignore||[]),u=gSn(o),l=-1;for(;++l0?{type:"text",value:k}:void 0),k!==!1&&(D!==P&&G.push({type:"text",value:f.value.slice(D,P)}),Array.isArray(k)?G.push(...k):k&&G.push(k),D=P+O[0].length,S=!0),!_.global)break;O=_.exec(f.value)}return S?(De}var Lq="phrasing",jq=["autolink","link","image","label"],Nq={transforms:[SSn],enter:{literalAutolink:DSn,literalAutolinkEmail:Oq,literalAutolinkHttp:Oq,literalAutolinkWww:Oq},exit:{literalAutolink:wSn,literalAutolinkEmail:RSn,literalAutolinkHttp:ySn,literalAutolinkWww:bSn}},Pq={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Lq,notInConstruct:jq},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Lq,notInConstruct:jq},{character:":",before:"[ps]",after:"\\/",inConstruct:Lq,notInConstruct:jq}]};function DSn(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function Oq(e){this.config.enter.autolinkProtocol.call(this,e)}function ySn(e){this.config.exit.autolinkProtocol.call(this,e)}function bSn(e){this.config.exit.data.call(this,e);let n=this.stack[this.stack.length-1];n.url="http://"+this.sliceSerialize(e)}function RSn(e){this.config.exit.autolinkEmail.call(this,e)}function wSn(e){this.exit(e)}function SSn(e){xq(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,ESn],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,CSn]],{ignore:["link","linkReference"]})}function ESn(e,n,t,a,r){let o="";if(!OMe(r)||(/^w/i.test(n)&&(t=n+t,n="",o="http://"),!ISn(t)))return!1;let i=TSn(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 CSn(e,n,t,a){return!OMe(a,!0)||/[-\d_]$/.test(t)?!1:{type:"link",title:null,url:"mailto:"+n+"@"+t,children:[{type:"text",value:n+"@"+t}]}}function ISn(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 TSn(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=Gq(e,"("),o=Gq(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 OMe(e,n){let t=e.input.charCodeAt(e.index-1);return(e.index===0||hD(t)||gD(t))&&(!n||t!==47)}function kq(e){return e.label||!e.identifier?e.label||"":k7(e.identifier)}function kMe(e,n,t){let a=n.indexStack,r=e.children||[],o=n.createTracker(t),i=[],u=-1;for(a.push(-1);++u `}return` `}var MSn=/\r?\n|\r/g;function UMe(e,n){let t=[],a=0,r=0,o;for(;o=MSn.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 z5(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 HMe(e,n){return BMe(e,n.inConstruct,!0)&&!BMe(e,n.notInConstruct,!1)}function BMe(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(UMe(kMe(e,t,r.current()),BSn)),i(),o}function BSn(e,n,t){return n===0?e:(t?"":" ")+e}function $5(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,ti(La({},l.current()),{before:u,after:s})))),u=o[o.length-1].slice(-1)}return a.pop(),o.join("")}var JSn=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];qMe.peek=zSn;var Jq={canContainEols:["delete"],enter:{strikethrough:WSn},exit:{strikethrough:qSn}},Wq={unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:JSn}],handlers:{delete:qMe}};function WSn(e){this.enter({type:"delete",children:[]},e)}function qSn(e){this.exit(e)}function qMe(e,n,t,a){let r=TD(a),o=t.enter("strikethrough"),i=r.move("~~");return i+=$5(e,t,ti(La({},r.current()),{before:i,after:"~"})),i+=r.move("~~"),o(),i}function zSn(){return"~"}qq.peek=$Sn;function qq(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 XSn(e){this.exit(e),this.setData("inTable")}function ZSn(e){this.enter({type:"tableRow",children:[]},e)}function $q(e){this.exit(e)}function VMe(e){this.enter({type:"tableCell",children:[]},e)}function KSn(e){let n=this.resume();this.getData("inTable")&&(n=n.replace(/\\([\\|])/g,eEn));let t=this.stack[this.stack.length-1];t.value=n,this.exit(e)}function eEn(e,n){return n==="|"?n:e}function Vq(e){let n=e||{},t=n.tableCellPadding,a=n.tablePipeAlign,r=n.stringLength,o=t?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:` `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:i,tableRow:u,tableCell:l,inlineCode:v}};function i(m,_,R,D){return c(s(m,R,D),m.align)}function u(m,_,R,D){let y=f(m,R,D),S=c([y]);return S.slice(0,S.indexOf(` `))}function l(m,_,R,D){let y=R.enter("tableCell"),S=R.enter("phrasing"),G=$5(m,R,ti(La({},D),{before:o,after:o}));return S(),y(),G}function c(m,_){return zMe(m,{align:_,alignDelimiters:a,padding:t,stringLength:r})}function s(m,_,R){let D=m.children,y=-1,S=[],G=_.enter("table");for(;++y-1?n.start:1)+(t.options.incrementListMarker===!1?0:n.children.indexOf(e))+o);let i=o.length+1;(r==="tab"||r==="mixed"&&(n&&n.type==="list"&&n.spread||e.spread))&&(i=Math.ceil(i/4)*4);let u=t.createTracker(a);u.move(o+" ".repeat(i-o.length)),u.shift(i);let l=t.enter("listItem"),c=t.indentLines(t.containerFlow(e,u.current()),s);return l(),c;function s(f,v,m){return v?(m?"":" ".repeat(i))+f:(m?o:o+" ".repeat(i-o.length))+f}}var Qq={exit:{taskListCheckValueChecked:ZMe,taskListCheckValueUnchecked:ZMe,paragraph:nEn}},Yq={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:tEn}};function ZMe(e){let n=this.stack[this.stack.length-2];n.checked=e.type==="taskListCheckValueChecked"}function nEn(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 Kq(){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];kR(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];kR(s.type==="math"),this.exit(l),s.value=c;let f=s.data.hChildren[0];kR(f.type==="element"),kR(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];kR(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 ez(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(KMe(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,La({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 kT(e,n,t,a){let r=a?a-1:Number.POSITIVE_INFINITY,o=0;return i;function i(l){return nz(l)?(e.enter(t),u(l)):n(l)}function u(l){return nz(l)&&o++React.createElement("table",{className:"table table-bordered table-sm",children:e.children}),r2e=[Q5,{singleDollarTextMath:!1}],o2e=[q5,{throwOnError:!1}];var i2e=e=>{try{return s5(e)}catch{return e.fallback}};Wt();var u2e=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)}},l2e=u2e;var lEn=gs(),cEn=z(Kt);var sEn=function(){return function(){return lEn(l2e)}},fEn=sEn()(),c2e=function(e){return fEn({render:function(n){return e({hasError:Dt(ee(n.error))})},componentDidCatch:function(n,t){return Ao($o)("Error within error boundary")({error:n,componentStack:t.componentStack})(function(a){return cEn(Ce)})()}})};var vEn=gs(),mEn=Ye(sa),pEn=function(e){return function(n){var t=PS(e);return c2e(function(a){return a.hasError?t:vEn(i2e)({children:e,rehypePlugins:mEn([o2e])(n),remarkPlugins:[V5,r2e],components:{table:a2e},fallback:t})})}},s2e=function(e){return pEn(e)([])};var _En=_e(xt(ma)),az=B(ae),dEn=B(W),hEn=Xn(ae)()(),gEn=An(dt),DEn=en(ae),rz=function(e){return co(d3(e.key)("false"))(function(n){return function(t){return En(_En(n)(new d("false")))(az("alert rounded-0 bg-light")(dEn("row")([az("col")(e.label),az("col-auto")(hEn("btn btn-sm p-0")({onClick:gEn(t)("true")})(DEn("fe fe-x")(nn)))])))}})};var oz=B(ae),f2e=ka(sr(ea)),yEn=oa(Te)(vt),bEn=B(L),REn=A0(),v2e=_e(xt(DJ)),wEn=Xn(ae)()(),SEn=la(vr),EEn=z(Kt),m2e=en(L),Y5=B(W),CEn=j(ge),IEn=rm(),TEn=mi(ae)()(),FEn=ca(L)()(),p2e=rv(),MEn=Yn(W)()(),GEn=Z(ge),AEn=Yn(L)()(),iz=function(e){var n=e.chatMessage(ae),t=e.chatMessage(W),a=n(e.chatbotAvatar),r=function(){var c=function(){var s=oz("my-auto t--ai-chatbot-ai-welcome-message");return function(f){return a(s(f))}}();return function(s){if(f2e(Ci)(e.bannedReason))return c(Y(yEn(["The service is not available for the following reason: ",e.bannedReason,". Please try again later or email ",aO," for more information."])));if(s instanceof C)return nn;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(oz("my-auto")(D7)),i=function(c){return a(bEn("my-auto text-danger")(function(){if(c instanceof C)return"Something went wrong. Try resending your message.";if(c instanceof d)return c.value0;throw new Error("Failed pattern match at Vinai.ChatbotPage.Conversation (line 184, column 11 - line 186, column 34): "+[c.constructor.name])}()))},u=REn({source:function(){return e.user instanceof d&&e.user.value0.avatarUrl instanceof d?new bu({url:e.user.value0.avatarUrl.value0}):e.user instanceof d&&e.user.value0.initials instanceof d?new $g({initials:e.user.value0.initials.value0,backgroundColorClass:C.value,textColorClass:C.value}):new bu({url:_g("/img/smiley-grey.svg")})}(),size:qb.value}),l=function(c){var s=function(m){return function(_){return m instanceof Sv&&v2e(_)(new d(m))||m instanceof nf&&v2e(_)(new d(m))?"text-primary bg-soft-primary":"text-gray-700"}},f=function(m){return function(_){return function(R){return function(D){return wEn("btn btn-link p-2 large d-flex align-items-center mr-2 "+s(m)(_))({onClick:SEn(function(){if(c.id instanceof C)return EEn(Ce);if(c.id instanceof d&&m instanceof Sv&&_ instanceof d&&_.value0 instanceof Sv)return function(){return R(C.value)(),D({messageId:c.id.value0,reaction:C.value})()};if(c.id instanceof d&&m instanceof nf&&_ instanceof d&&_.value0 instanceof nf)return function(){return R(C.value)(),D({messageId:c.id.value0,reaction:C.value})()};if(c.id instanceof d&&m instanceof Sv)return function(){return R(new d(Sv.value))(),D({messageId:c.id.value0,reaction:new d(Sv.value)})()};if(c.id instanceof d&&m instanceof nf)return function(){return R(new d(nf.value))(),D({messageId:c.id.value0,reaction:new d(nf.value)})()};throw new Error("Failed pattern match at Vinai.ChatbotPage.Conversation (line 142, column 17 - line 156, column 76): "+[c.id.constructor.name,m.constructor.name,_.constructor.name])}())})(m2e("material-symbol")(function(){if(m instanceof Sv)return"thumb_up";if(m instanceof nf)return"thumb_down";throw new Error("Failed pattern match at Vinai.ChatbotPage.Conversation (line 159, column 15 - line 161, column 43): "+[m.constructor.name])}()))}}}};if(c.sender instanceof _D)return n(u)(Y5("t--ai-chatbot-user-message")(fh(v2(""))(CEn(m2e(""))(Ei(IEn(` `))(c.body)))));if(c.sender instanceof gT){var v=TEn({placement:Xme,overlay:Y(b1e(c))})(e.chatbotAvatar);return t(v)([oz("my-auto t--ai-chatbot-ai-message "+("t--ai-chatbot-ai-message-"+Ee("")(c.id)))(s2e(c.body)),Je(e.onReaction)(function(m){return co(fa(C.value))(function(_){return function(R){return Y5("d-flex mt-3")([f(Sv.value)(_)(R)(m),f(nf.value)(_)(R)(m)])}})})])}throw new Error("Failed pattern match at Vinai.ChatbotPage.Conversation (line 111, column 7 - line 135, column 36): "+[c.sender.constructor.name])};return Y5("flex-grow-1 d-flex flex-column overflow-y-auto p-0")([En(e.showAddStudentProfileBanner)(rz({key:"ai-no-profile-banner-dismissed",label:ce([Y("For more personalized responses "),FEn("")({href:e.chancingWizardPath})("add a student profile"),Y(".")])})),En(e.showLogInBanner)(rz({key:"ai-anonymous-banner-dismissed",label:ce([Y("For more personalized responses "),p2e({text:"log in",className:"btn btn-link p-0 align-baseline"}),Y(" or "),p2e({text:"sign up",className:"btn btn-link p-0 align-baseline",auth0ActiveTab:av}),Y(".")])})),MEn("flex-grow-1 d-flex flex-column")({id:"chat-conversation"})([Y5("flex-grow-1 px-3")([r(e.welcomeMessage),function(){return e.chatbotState instanceof d&&f2e(Ri)(e.chatbotState.value0.messages)?ce(GEn(e.chatbotState.value0.messages)(l)):nn}(),function(){if(e.messageSendingState instanceof mp)return o;if(e.messageSendingState instanceof Vc)return l(IJ(e.messageSendingState.value0));if(e.messageSendingState instanceof vp)return nn;if(e.messageSendingState instanceof Cv)return nn;if(e.messageSendingState instanceof O0)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])}()]),pa(e.footer),AEn("")({id:"chat-anchor",style:fn({overflowAnchor:"auto",height:"1px"})})("")])])};function X5(e){return function(){document.getElementById(e).scrollIntoView()}}var uz=function(e){return ke(Cv.value)(function(n){return n.sendingState})(e)};var BEn=j(J),JEn=hJ(),WEn=ka(sr(ea)),qEn=B(W),lz=B(ae),zEn=Yn(W)()(),Z5=z(_t),$En=K(qt),_2e=Fi(Vt),VEn=hr(_2e),d2e=Mr(_2e),h2e=Bn(Mn)(qt),QEn=Co(_t),YEn=Xr(at),XEn=z(na),ZEn=K(Pt),g2e=Jn(at),KEn=j(Vt),UT=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),D2e=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}(),K5=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),eCn=function(e){return function(n){return function(t){return iz({bannedReason:e.bannedReason,chancingWizardPath:"",chatbotState:n.chatbot,footer:C.value,messageSendingState:uz(n.chatbot),onReaction:C.value,showAddStudentProfileBanner:!1,showLogInBanner:!1,user:e.user,welcomeMessage:BEn(Y)(e.welcomeMessage),chatMessage:function(a){return t(a)},chatbotAvatar:e.chatbotAvatar})}}},nCn=function(e){return function(n){return function(t){return JEn({placeholder:"Message\u2026",sendButtonStatus:function(){var a=WEn(Ci)(e.bannedReason);if(a)return pD.value;var r=uz(n.chatbot);if(r instanceof Cv)return xd.value;if(r instanceof vp)return Ld.value;if(r instanceof mp)return Ld.value;if(r instanceof Vc)return Ld.value;var o=function(i){if(r instanceof O0&&je)return pD.value;throw new Error("Failed pattern match at Vinai.ChatbotWidget (line 148, column 1 - line 148, column 72): "+[r.constructor.name])};return r instanceof O0&&r.value0 instanceof C?xd.value:o(!0)}()})(n.authorChatMessage)(function(a){return t(K5.create(a))})}}},tCn=function(e){return function(n){return function(t){var a=function(){return n.authorChatMessage.messageHeight instanceof d&&n.authorChatMessage.messageHeight.value0>40?"rounded-lg":"rounded-pill"}(),r=function(o){var i=B(o);return function(u){return function(l){return qEn("d-flex justify-content-end mb-4")([lz("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 zEn("t--floating-chatbot pointer-events-none flex-grow-1 d-flex flex-column")({style:fn({position:"fixed",right:"0",bottom:"0",width:"400px",maxWidth:"100%",maxHeight:"75vh"})})([eCn(e)(n)(function(o){return r(o)}),lz("pb-3 px-3 border-0")(lz("d-flex w-100 border border-gray-500 m-0 p-2 bg-white shadow pointer-events-auto "+a)(nCn(e)(n)(t)))])}}},aCn=function(e){return function(n){return function(t){var a=function(r){if(t instanceof UT)return Z5(n);if(t instanceof D2e)return $En(VEn(UT.create)(FJ({initialMessageBody:new d(t.value1),messages:[{sender:_D.value,body:t.value1,sentAt:t.value0,id:C.value}],receiveChannelName:t.value2.pusherChannel,sendMessage:e.sendMessage(t.value2.conversationId)})))(function(o){return Z5({authorChatMessage:n.authorChatMessage,chatbot:new d(o)})});if(t instanceof K5&&t.value0 instanceof rt)return d2e(K5.create)(function(o){return{chatbot:n.chatbot,authorChatMessage:o}})(dJ(n.authorChatMessage)(t.value0));if(t instanceof K5&&t.value0 instanceof Qt)return h2e(QEn(Ci(e.bannedReason))(YEn(function(){if(n.chatbot instanceof d)return XEn(new UT(new C7(t.value0.value0.value0)));if(n.chatbot instanceof C)return ZEn(g2e(Qh))(function(o){return KEn(D2e.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 Z5({chatbot:n.chatbot,authorChatMessage:b7})});throw new Error("Failed pattern match at Vinai.ChatbotWidget (line 58, column 1 - line 58, column 64): "+[t.constructor.name])};return t instanceof UT&&n.chatbot instanceof d?h2e(fr(g2e(X5("chat-anchor"))))(function(){return d2e(UT.create)(function(r){return{authorChatMessage:n.authorChatMessage,chatbot:new d(r)}})(TJ(n.chatbot.value0)(t.value0))}):a(!0)}}},rCn=function(){return{authorChatMessage:b7,chatbot:C.value}}(),y2e=function(e){return el("FloatingChatbot"+e)(function(n){return{init:Z5(rCn),view:tCn(n),update:aCn(n)}})};var cz=K(xe),oCn=z(Un),b2e=Z(J),iCn=Bn(Mn),uCn=Co(Kt),lCn=Jn(ms),cCn=gi(J),R2e=pt(xe),sCn=B(W),w2e=B(ae),sz=un(),e6=z(_t),S2e=Fi(Vt),fz=Mr(S2e),fCn=iCn(qt),vCn=Xr(at),mCn=z(na),E2e=K(qt),vz=hr(S2e),pCn=Hv(_t)(Te),_Cn=_e(xt(mc)),mz=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),n6=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),UR=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),pz=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}(),_z=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),t6=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),dz=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),C2e=function(e){return function(n){return function(t){return function(a){var r=cz(n.recommendedSchools)(function(y){return oCn(p7({recommendedSchools:y,school:e.school,onViewSchool:e.onViewSchool}))}),o=a(new Qt(new dz(qP.value))),i=a(new Qt(new Vd(new O_(ua(e.school))))),u=function(y){return a(new Qt(new Vd(new L_(ua(e.school),y))))},l=function(){a(new Qt(new Vd(new N_(ua(e.school)))))();var S=b2e(cz(mo(e.schoolDb.schoolConnections))(Ts(ua(e.school))))(function(G){return G.schoolUsesAiRecruiter});return uCn(n.featureFlags.app18667TrellisRecruiter&&Ee(!1)(S))(lCn(i4(uCe(ua(e.school)))))(),Ce},c={school:e.school,schoolDb:e.schoolDb,onSwitchTab:function(y){return a(Qt.create(t6.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?cCn(n.currentUser)(m7(c)({user:R2e(hg)(n.currentUser),featureFlags:n.featureFlags})):C.value}(),f=function(y){var S=R2e(Fu(n.configuration))(VI([s,r]));return sCn("row")([w2e("col"+function(){var G=Dt(S);return G?" col-md-8":""}())(y),Je(S)(w2e("col col-md-4 d-none d-md-block"))])},v=function(){var y=o4({chancingState:n.chancingState,featureFlags:n.featureFlags,currentUser:n.currentUser,configuration:n.configuration,school:e.school,schoolDb:e.schoolDb})(e.activeTab);return y?e.activeTab:Yo.value}(),m=CSe({school:e.school,schoolDb:e.schoolDb,activeTab:v,configuration:n.configuration,showNav:!0,showConnectButton:n.showNetworkCard,onSwitchTab:function(y){return a(Qt.create(t6.create(y)))},onListStatusChange:function(y){return a(Qt.create(pz.create(y)))},onSelectSchool:function(y){return a(Qt.create(_z.create(y)))},onInviteSchool:o,onAcceptInvitation:l,onIgnoreInvitation:i,onEdit:e.onEdit,vineBelowConnectionLimit:n.vineBelowConnectionLimit})(n),_=b2e(cz(n.currentUser)(hg))(function(y){return{avatarUrl:y.avatarUrl,initials:y.initials}}),R="Hi! I'm Sage. Ask me anything about "+wye(sz(e.school).name),D=function(){if(v instanceof Yo)return XEe(c)(n)(t.overview)(function(S){return a(rt.create(UR.create(S)))});if(v instanceof Au)return Je(eg(ua(e.school))(e.schoolDb))(function(S){return f(vSe({school:e.school,schoolDb:e.schoolDb,contentModules:S,mapboxAccessToken:n.mapboxAccessToken,showLikeButton:Dt(n.currentUser),randomSeed:n.randomSeed,onContentModuleInteraction:u,isUserHq:ke(!1)(function(G){return G.isHq})(n.currentUser)})(t.forYou)(function(G){return a(rt.create(n6.create(G)))}))});if(v instanceof xu){var y=mo(W1(ua(e.school))(e.schoolDb));return f(YRe(e.school)(n)(y)(t.finances)(function(S){return a(rt.create(mz.create(S)))}))}if(v instanceof Yi)return CRe(e.school)(n)({onSwitchTab:C.value,showViewChancingExplanationCTA:!1,schoolDb:e.schoolDb});if(v instanceof Hl)return f(xSe(e.schoolDb)(e.school));if(v instanceof Bl)return f(obe({school:e.school,onEdit:e.onEdit,props:n}));if(v instanceof Jl)return IRe(e.school)(n);throw new Error("Failed pattern match at SchoolDetails.SchoolDetails (line 174, column 12 - line 210, column 44): "+[v.constructor.name])}();return ce([m,D,Zh(n.showNetworkCard)(function(y){return nwe({mobileLayout:n.mobileLayout,school:e.school,schoolDb:e.schoolDb,onAcceptInvitation:l,onIgnoreInvitation:i})}),En(n.featureFlags.app18667SageOnSdp)(y2e(sz(e.school).name)({bannedReason:"",welcomeMessage:new d(R),user:_,createConversation:function(y){return iCe(sz(e.school).id)},sendMessage:oCe(lCe),chatbotAvatar:$b}))])}}}},I2e=function(e){return function(n){return function(t){if(t instanceof Qt)return e6(n);if(t instanceof rt){if(t.value0 instanceof mz)return fz(function(a){return rt.create(mz.create(a))})(function(a){return{forYou:n.forYou,overview:n.overview,finances:a}})(VRe(n.finances)(t.value0.value0));if(t.value0 instanceof n6)return fz(function(a){return rt.create(n6.create(a))})(function(a){return{finances:n.finances,overview:n.overview,forYou:a}})(mSe(n.forYou)(t.value0.value0));if(t.value0 instanceof UR&&t.value0.value0 instanceof mD&&t.value0.value0.value0 instanceof Qt)return fCn(vCn(mCn(new Qt(new Vd(t.value0.value0.value0.value0)))))(function(){return e6(n)});if(t.value0 instanceof UR)return fz(function(a){return rt.create(UR.create(a))})(function(a){return{finances:n.finances,forYou:n.forYou,overview:a}})(QEe(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])}}},T2e=function(e){return E2e(vz(function(n){return rt.create(UR.create(n))})(YEe(e)))(function(n){return E2e(vz(function(t){return rt.create(n6.create(t))})(pSe))(function(t){return e6({finances:QRe,forYou:t,overview:n})})})},F2e=function(e){return pCn(function(n){return n instanceof ON&&_Cn(nce(n.value0))(new d(ua(e.school)))?vz(function(t){return rt.create(UR.create(mD.create(t)))})(dEe(n.value0)):e6(Ce)})};var dCn=rE(ms)(),hCn=re(Ti),M2e=function(e){var n=Jn(e);return function(t){return n(dCn("SDP: Viewed page")({tab:UE(t.tab),school_name:t.school.name,school_id:hCn(t.school.id)}))}};var G2e=K(qt),A2e=Fi(Vt),hz=hr(A2e),x2e=Bn(Mn),HT=x2e(qt),L2e=M2e(at),a6=un(),Ip=z(_t),gCn=DN(),r6=Z(J),gz=Mr(A2e),DCn=x2e(Pt),yCn=Jn(at),j2e=K($a),N2e=Xr(at),P2e=z(na),bCn=K(xe),O2e=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Dz=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),lf=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),HR=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),k2e=function(e){return function(n){return function(t){return function(a){return ce([C2e({activeTab:t.activeTab,school:t.school,schoolDb:t.schoolDb,onEdit:e.onEdit,onViewSchool:C.value,vineBelowConnectionLimit:n.vineBelowConnectionLimit})(n)(t.page)(function(r){return a(lf.create(r))}),Je(t.modal)(function(r){return Spe(r.value0)(function(o){return a(HR.create(o))})})])}}}},U2e=function(e){return function(n){return G2e(hz(lf.create)(T2e(e.school)))(function(t){return HT(fr(L2e({tab:e.tab,school:a6(e.school),featureFlags:n.featureFlags})))(function(){return Ip({school:e.school,activeTab:e.tab,schoolDb:gCn({schools:new rr(new d([e.school])),majors:e.majors,chances:ke(wa.value)(zt.create)(r6(e.chances)(h2(ua(e.school)))),contentModules:ke([])(function(a){return[{schoolId:ua(e.school),modules:a}]})(e.contentModules),financials:ke(wa.value)(zt.create)(r6(e.financials)(h2(ua(e.school)))),schoolConnections:Ee(kS)(r6(e.schoolConnection)(h2(ua(e.school)))),schoolList:e.schoolList,schoolNotes:e.schoolNotes}),page:t,modal:C.value,vineBelowConnectionLimit:n.vineBelowConnectionLimit})})})}},RCn=function(e){return function(n){return gz(Dz.create)(function(t){return{activeTab:e.activeTab,modal:e.modal,page:e.page,school:e.school,vineBelowConnectionLimit:e.vineBelowConnectionLimit,schoolDb:t}})(kN(n)(e.schoolDb))}},H2e=function(e){return function(n){var t=a6(n.school);return function(a){if(a instanceof lf&&a.value0 instanceof Qt&&a.value0.value0 instanceof Vd)return RCn(n)(a.value0.value0.value0);if(a instanceof lf&&a.value0 instanceof Qt&&a.value0.value0 instanceof t6)return HT(fr(DCn(L2e({tab:a.value0.value0.value0,school:a6(n.school),featureFlags:e.featureFlags}))(function(){return yCn(j2e(j2e(vo)(NS))(d2(Gr(Ku))(t.name+" | CollegeVine")(D0(a.value0.value0.value0)(t.slug))))})))(function(){return Ip({modal:n.modal,page:n.page,school:n.school,schoolDb:n.schoolDb,vineBelowConnectionLimit:n.vineBelowConnectionLimit,activeTab:a.value0.value0.value0})});if(a instanceof lf&&a.value0 instanceof Qt&&a.value0.value0 instanceof pz)return HT(N2e(function(){var o=new x_(t.id,a.value0.value0.value0,oE.value,N9(t.id)(n.schoolDb));return P2e(new lf(new Qt(new Vd(o))))}()))(function(){return Ip(n)});if(a instanceof lf&&a.value0 instanceof Qt&&a.value0.value0 instanceof _z)return Ip(n);if(a instanceof lf&&a.value0 instanceof Qt&&a.value0.value0 instanceof dz)return Ip({activeTab:n.activeTab,page:n.page,school:n.school,schoolDb:n.schoolDb,vineBelowConnectionLimit:n.vineBelowConnectionLimit,modal:r6(bCn(e.currentUser)(hg))(function(o){return new O2e(Cpe({schoolName:function(i){return i.name}(a6(n.school)),profile:o,context:a.value0.value0.value0,vineBelowConnectionLimit:n.vineBelowConnectionLimit}))})});if(a instanceof lf&&a.value0 instanceof rt)return gz(lf.create)(function(o){return{activeTab:n.activeTab,modal:n.modal,school:n.school,schoolDb:n.schoolDb,vineBelowConnectionLimit:n.vineBelowConnectionLimit,page:o}})(I2e(n)(n.page)(a.value0));if(a instanceof Dz)return G2e(hz(Dz.create)(Ice(n.schoolDb)(a.value0)))(function(o){return HT(hz(lf.create)(F2e(n)(o.events)))(function(){return Ip({activeTab:n.activeTab,modal:n.modal,page:n.page,vineBelowConnectionLimit:n.vineBelowConnectionLimit,school:Ee(n.school)(b2(t.id)(o.state)),schoolDb:o.state})})});if(a instanceof HR&&a.value0 instanceof Qt&&a.value0.value0 instanceof tO)return HT(N2e(P2e(new lf(new Qt(new Vd(new P_({schoolId:t.id,introMessage:a.value0.value0.value0.introMessage})))))))(function(){return Ip(n)});if(a instanceof HR&&a.value0 instanceof Qt&&a.value0.value0 instanceof yC)return Ip({activeTab:n.activeTab,page:n.page,school:n.school,schoolDb:n.schoolDb,vineBelowConnectionLimit:n.vineBelowConnectionLimit,modal:C.value});var r=function(o){if(a instanceof HR&&a.value0 instanceof rt&&je)return Ip(n);throw new Error("Failed pattern match at SchoolDetails.SchoolDetailsPage (line 84, column 1 - line 84, column 64): "+[a.constructor.name])};return a instanceof HR&&a.value0 instanceof rt&&n.modal instanceof d?gz(HR.create)(function(o){return{activeTab:n.activeTab,page:n.page,school:n.school,schoolDb:n.schoolDb,vineBelowConnectionLimit:n.vineBelowConnectionLimit,modal:new d(new O2e(o))}})(Epe(n.modal.value0.value0)(new rt(a.value0.value0))):r(!0)}}};var o6=function(e){return function(){console.error(e)}};var V2e=function(e){var n=Jn(e);return function(t){return n(o6(t))}};var TCn=z(Kt),Q2e=K($a),FCn=j(ut),MCn=V2e(ms),Y2e=function(e){var n=function(a){var r=e(a);return sL(r.view(r.init.value0)(rn(TCn(Ce))))},t=function(a){return function(r){return function(o){return function(){var u=Q2e(Q2e(vo)(function(){var c=FCn(_2);return function(s){return c(Dm(s))}}()))(m2(r))();if(u instanceof C)return MCn("Element #"+(r+" not found"))();if(u instanceof d){var l=eK(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(kZ),renderToString:n,hydrate:t(UZ)}};var GCn=lt(fM),ACn=K(_f),X2e=z(_t),Z2e=function(e){var n=sm(e);return function(t){return Y2e(GCn({parse:function(a){return ACn(n(a))(function(r){return ke(new on("Component construction failed"))(ln.create)(t.def(r))})},diagnosticName:"Props for "+t.diagnosticName,default:{init:X2e(Ce),update:function(a){return function(r){return X2e(Ce)}},view:function(a){return function(r){return nn}}}}))}};var Zt=Qn(),yz=E({reflectSymbol:function(){return"all"}}),Eo=Ln(ue),ni=Ln(Rt),K2e=Zt(E({reflectSymbol:function(){return"academicThresholdStatus"}})(ue)(E({reflectSymbol:function(){return"applicationStrategy"}})(ue)(E({reflectSymbol:function(){return"classification"}})(Eo)(E({reflectSymbol:function(){return"courseRigorStrength"}})(Eo)(E({reflectSymbol:function(){return"ecStrength"}})(Eo)(E({reflectSymbol:function(){return"isRecommendedStrategy"}})(zn)(E({reflectSymbol:function(){return"score"}})(ni)(E({reflectSymbol:function(){return"shouldApplyTestOptional"}})(zn)(E({reflectSymbol:function(){return"specialCase"}})(Eo)(he)))))))))),bz=E({reflectSymbol:function(){return"act"}}),Rz=E({reflectSymbol:function(){return"p25"}}),eGe=E({reflectSymbol:function(){return"p50"}}),wz=E({reflectSymbol:function(){return"p75"}}),BR=Zt(Rz(ni)(eGe(ni)(wz(ni)(he)))),Sz=E({reflectSymbol:function(){return"gpa"}}),V0=Ln(Mt),nGe=Zt(Rz(V0)(eGe(V0)(wz(V0)(he)))),Ez=E({reflectSymbol:function(){return"sat"}}),tGe=E({reflectSymbol:function(){return"english"}}),aGe=E({reflectSymbol:function(){return"math"}}),rGe=aGe(ni),oGe=E({reflectSymbol:function(){return"id"}}),i6=E({reflectSymbol:function(){return"name"}})(ue),iGe=E({reflectSymbol:function(){return"readingWriting"}}),uGe=E({reflectSymbol:function(){return"majors"}}),lGe=i6(he),cGe=E({reflectSymbol:function(){return"acceptanceRate"}}),sGe=oGe(ps),fGe=E({reflectSymbol:function(){return"slug"}})(Yw),vGe=E({reflectSymbol:function(){return"status"}})(ue)(he),mGe=E({reflectSymbol:function(){return"address"}}),pGe=E({reflectSymbol:function(){return"location"}})(Zt(E({reflectSymbol:function(){return"lat"}})(Mt)(E({reflectSymbol:function(){return"lng"}})(Mt)(he)))),_Ge=E({reflectSymbol:function(){return"admissions"}}),dGe=E({reflectSymbol:function(){return"percentile"}})(Mt),hGe=E({reflectSymbol:function(){return"value"}}),BT=Ln(Zt(dGe(hGe(Mt)(he)))),JT=Ln(Zt(Rz(Rt)(wz(Rt)(he)))),Cz=Ln(Zt(E({reflectSymbol:function(){return"men"}})(Rt)(E({reflectSymbol:function(){return"women"}})(Rt)(he)))),gGe=Zt(dGe(hGe(Rt)(he))),DGe=Ln(gGe),yGe=Zt(E({reflectSymbol:function(){return"conference"}})(Ln(Zt(E({reflectSymbol:function(){return"group"}})(ue)(lGe))))(E({reflectSymbol:function(){return"division1"}})(zn)(he))),bGe=yz(BR),RGe=aGe(BR),xCn=function(){var e=function(n){var t=$ue(nv.value)(n),a=function(r){return function(o){return ce([k2e({onEdit:C.value})(t.value1)(r)(o),co(fa(t.value0.showInvitationAcceptedCTA))(function(i){return function(u){return Je(i)(function(l){if(l instanceof NE)return _ie({origin:D0(r.activeTab)(YL(r.school)),onDismiss:u(C.value),auth0Config:t.value0.auth0Config,mobileLayout:t.value1.mobileLayout,currentUser:t.value1.currentUser,school:r.school});if(l instanceof PE)return die({origin:t.value0.originUrl,onDismiss:u(C.value),auth0Config:t.value0.auth0Config,mobileLayout:t.value1.mobileLayout,currentUser:C.value,school:r.school});throw new Error("Failed pattern match at EntryPoints.SchoolDetails (line 27, column 34 - line 45, column 20): "+[l.constructor.name])})}})])}};return new d({init:U2e(t.value0)(t.value1),update:H2e(t.value1),view:a})};return Z2e(Zt(E({reflectSymbol:function(){return"auth0Config"}})(Zt(E({reflectSymbol:function(){return"auth0ClientId"}})(ue)(E({reflectSymbol:function(){return"auth0Domain"}})(ue)(E({reflectSymbol:function(){return"auth0RedirectUri"}})(ue)(E({reflectSymbol:function(){return"omniAuthState"}})(ue)(he))))))(E({reflectSymbol:function(){return"chances"}})(Ln(Zt(yz($n(K2e))(E({reflectSymbol:function(){return"guidance"}})(Ln(qp))(E({reflectSymbol:function(){return"sameDemographicStats"}})(Ln(Zt(bz(BR)(Sz(nGe)(Ez(BR)(he))))))(E({reflectSymbol:function(){return"top"}})(K2e)(he)))))))(E({reflectSymbol:function(){return"chancingProfile"}})(Ln(Zt(bz(Zt(tGe(ni)(rGe(E({reflectSymbol:function(){return"reading"}})(ni)(E({reflectSymbol:function(){return"science"}})(ni)(he))))))(E({reflectSymbol:function(){return"courseRigor"}})(Zt(E({reflectSymbol:function(){return"ap"}})(ni)(E({reflectSymbol:function(){return"collegeClasses"}})(ni)(E({reflectSymbol:function(){return"honors"}})(ni)(he)))))(E({reflectSymbol:function(){return"ecActivities"}})($n(Zt(E({reflectSymbol:function(){return"canonical_ec_activity_id"}})(Ln(DE))(E({reflectSymbol:function(){return"category"}})(ue)(E({reflectSymbol:function(){return"description"}})(Eo)(oGe(ni)(i6(E({reflectSymbol:function(){return"tier"}})(ue)(he)))))))))(E({reflectSymbol:function(){return"ecScore"}})(V0)(Sz(V0)(E({reflectSymbol:function(){return"psatPredictedCompositeSAT"}})(ni)(Ez(Zt(rGe(iGe(ni)(he))))(he))))))))))(E({reflectSymbol:function(){return"contentModules"}})(Ln(Qw))(E({reflectSymbol:function(){return"currentUser"}})(Ln(Zt(E({reflectSymbol:function(){return"cvid"}})(ue)(E({reflectSymbol:function(){return"isHq"}})(zn)(E({reflectSymbol:function(){return"role"}})(Zt(E({reflectSymbol:function(){return"counselor"}})(Ln(Zt(he)))(E({reflectSymbol:function(){return"semUser"}})(Ln(Zt(E({reflectSymbol:function(){return"schoolId"}})(ps)(he))))(E({reflectSymbol:function(){return"vine"}})(Ln(Zt(E({reflectSymbol:function(){return"admissionYear"}})(ni)(E({reflectSymbol:function(){return"avatarUrl"}})(Eo)(E({reflectSymbol:function(){return"fullName"}})(Eo)(E({reflectSymbol:function(){return"homeState"}})(Eo)(E({reflectSymbol:function(){return"initials"}})(Eo)(E({reflectSymbol:function(){return"publishScope"}})(ue)(he)))))))))(he)))))(he))))))(E({reflectSymbol:function(){return"featureFlags"}})(Zt(E({reflectSymbol:function(){return"app18667SageOnSdp"}})(zn)(E({reflectSymbol:function(){return"app18667TrellisRecruiter"}})(zn)(E({reflectSymbol:function(){return"autopilot"}})(ue)(E({reflectSymbol:function(){return"rcr2577ClaimSchoolProfileLinkOnSdp"}})(zn)(he))))))(E({reflectSymbol:function(){return"financials"}})(Ln(Zt(E({reflectSymbol:function(){return"estimatedMeritAid"}})(V0)(E({reflectSymbol:function(){return"estimatedNetCost"}})(Mt)(E({reflectSymbol:function(){return"financialAid"}})(Mt)(E({reflectSymbol:function(){return"stickerPrice"}})(Mt)(he)))))))(E({reflectSymbol:function(){return"hasFinancialProfile"}})(zn)(E({reflectSymbol:function(){return"initialTab"}})(ue)(uGe($n(Zt(E({reflectSymbol:function(){return"areaOfStudy"}})(ue)(E({reflectSymbol:function(){return"cipCode"}})(ue)(E({reflectSymbol:function(){return"compressedName"}})(ue)(lGe))))))(E({reflectSymbol:function(){return"mapboxAccessToken"}})(ele)(E({reflectSymbol:function(){return"mobileLayout"}})(zn)(E({reflectSymbol:function(){return"originUrl"}})(ue)(E({reflectSymbol:function(){return"randomSeed"}})(Rt)(E({reflectSymbol:function(){return"recommendedSchools"}})(Ln($n(Zt(cGe(V0)(E({reflectSymbol:function(){return"cityState"}})(Eo)(sGe(E({reflectSymbol:function(){return"imgixImageUrl"}})(ue)(i6(fGe(he))))))))))(E({reflectSymbol:function(){return"schoolConnection"}})(Ln(Zt(E({reflectSymbol:function(){return"initiator"}})(ue)(E({reflectSymbol:function(){return"schoolUsesAiRecruiter"}})(zn)(vGe)))))(E({reflectSymbol:function(){return"schoolList"}})(Mh(Zt(E({reflectSymbol:function(){return"applicationRound"}})(ue)(vGe))))(E({reflectSymbol:function(){return"schoolNotes"}})(Mh(ue))(E({reflectSymbol:function(){return"showInvitationAcceptedCTA"}})(ue)(E({reflectSymbol:function(){return"showNetworkCard"}})(zn)(E({reflectSymbol:function(){return"staticSchool"}})(Zt(E({reflectSymbol:function(){return"academicOfferings"}})(Zt(E({reflectSymbol:function(){return"careerCounseling"}})(zn)(E({reflectSymbol:function(){return"creditForApExams"}})(zn)(E({reflectSymbol:function(){return"creditForIbExams"}})(zn)(E({reflectSymbol:function(){return"hasMedicalSchool"}})(zn)(E({reflectSymbol:function(){return"offersGradDegree"}})(zn)(E({reflectSymbol:function(){return"specialFocus"}})(Eo)(E({reflectSymbol:function(){return"studyAbroad"}})(zn)(he)))))))))(mGe(Zt(E({reflectSymbol:function(){return"nonUSAddress"}})(Ln(Zt(mGe(ue)(E({reflectSymbol:function(){return"country"}})(ue)(pGe(he))))))(E({reflectSymbol:function(){return"usAddress"}})(Ln(Zt(E({reflectSymbol:function(){return"city"}})(ue)(E({reflectSymbol:function(){return"county"}})(ue)(pGe(E({reflectSymbol:function(){return"region"}})(ue)(E({reflectSymbol:function(){return"state"}})(ue)(E({reflectSymbol:function(){return"street"}})(ue)(E({reflectSymbol:function(){return"zip"}})(ue)(he))))))))))(he))))(_Ge(Zt(cGe(BT)(E({reflectSymbol:function(){return"actComposite"}})(JT)(E({reflectSymbol:function(){return"actMath"}})(JT)(E({reflectSymbol:function(){return"actVerbal"}})(JT)(E({reflectSymbol:function(){return"admitted"}})(Cz)(E({reflectSymbol:function(){return"applicants"}})(Cz)(E({reflectSymbol:function(){return"enrolled"}})(Cz)(E({reflectSymbol:function(){return"fracSubmittedAct"}})(V0)(E({reflectSymbol:function(){return"fracSubmittedSat"}})(V0)(E({reflectSymbol:function(){return"reqClassRank"}})(Eo)(E({reflectSymbol:function(){return"reqRecLetters"}})(Eo)(E({reflectSymbol:function(){return"reqStandardTests"}})(Eo)(E({reflectSymbol:function(){return"reqToefl"}})(Eo)(E({reflectSymbol:function(){return"satMath"}})(JT)(E({reflectSymbol:function(){return"satVerbal"}})(JT)(E({reflectSymbol:function(){return"totalApplicants"}})(DGe)(E({reflectSymbol:function(){return"yieldRate"}})(BT)(he)))))))))))))))))))(E({reflectSymbol:function(){return"appGroup"}})(Eo)(E({reflectSymbol:function(){return"applicationTimeHours"}})(Rt)(E({reflectSymbol:function(){return"averageFederalLoan"}})(ni)(E({reflectSymbol:function(){return"averageNetPrice"}})(Ln(Zt(E({reflectSymbol:function(){return"quintile1"}})(Mt)(E({reflectSymbol:function(){return"quintile2"}})(Mt)(E({reflectSymbol:function(){return"quintile3"}})(Mt)(E({reflectSymbol:function(){return"quintile4"}})(Mt)(E({reflectSymbol:function(){return"quintile5"}})(Mt)(he))))))))(E({reflectSymbol:function(){return"basketball"}})(yGe)(E({reflectSymbol:function(){return"calendarSystem"}})(ue)(E({reflectSymbol:function(){return"chancing"}})(Zt(E({reflectSymbol:function(){return"canChance"}})(zn)(E({reflectSymbol:function(){return"endorsed"}})(zn)(E({reflectSymbol:function(){return"moreInfoLink"}})(Eo)(he)))))(E({reflectSymbol:function(){return"colors"}})(Zt(E({reflectSymbol:function(){return"primary"}})(Eo)(E({reflectSymbol:function(){return"secondary"}})(Eo)(he))))(E({reflectSymbol:function(){return"costRoomBoard"}})(ni)(E({reflectSymbol:function(){return"diversity"}})(ue)(E({reflectSymbol:function(){return"dropOutRate"}})(Rt)(E({reflectSymbol:function(){return"feesInState"}})(ni)(E({reflectSymbol:function(){return"feesOutOfState"}})(ni)(E({reflectSymbol:function(){return"football"}})(yGe)(E({reflectSymbol:function(){return"fourYearGradRate"}})(V0)(E({reflectSymbol:function(){return"fracInternationalStudents"}})(BT)(E({reflectSymbol:function(){return"fracLoans"}})(Mt)(E({reflectSymbol:function(){return"fracPellGrants"}})(Mt)(E({reflectSymbol:function(){return"gender"}})(ue)(E({reflectSymbol:function(){return"hasFourYearProgram"}})(zn)(E({reflectSymbol:function(){return"hasOnCampusHousing"}})(zn)(E({reflectSymbol:function(){return"hasTwoYearProgram"}})(zn)(E({reflectSymbol:function(){return"hbcu"}})(zn)(sGe(E({reflectSymbol:function(){return"imgixPath"}})(ue)(E({reflectSymbol:function(){return"ipedsUnitId"}})(Eo)(E({reflectSymbol:function(){return"isCommuterCollege"}})(zn)(E({reflectSymbol:function(){return"isForProfit"}})(zn)(E({reflectSymbol:function(){return"isPublic"}})(zn)(uGe($n(ue))(E({reflectSymbol:function(){return"message"}})(ue)(i6(E({reflectSymbol:function(){return"numFreshmen"}})(DGe)(E({reflectSymbol:function(){return"phone"}})(ue)(E({reflectSymbol:function(){return"prestige"}})(ue)(E({reflectSymbol:function(){return"profileClaimed"}})(zn)(E({reflectSymbol:function(){return"racialBreakdown"}})(Ln(Zt(E({reflectSymbol:function(){return"asian"}})(Mt)(E({reflectSymbol:function(){return"black"}})(Mt)(E({reflectSymbol:function(){return"hispanic"}})(Mt)(E({reflectSymbol:function(){return"nativeAmerican"}})(Mt)(E({reflectSymbol:function(){return"white"}})(Mt)(he))))))))(E({reflectSymbol:function(){return"rankings"}})($n(Zt(E({reflectSymbol:function(){return"bucket"}})(ue)(E({reflectSymbol:function(){return"key"}})(ue)(E({reflectSymbol:function(){return"order"}})(Rt)(he))))))(E({reflectSymbol:function(){return"religiousAffiliation"}})(ue)(E({reflectSymbol:function(){return"retentionRate"}})(BT)(E({reflectSymbol:function(){return"schoolType"}})(ue)(E({reflectSymbol:function(){return"setting"}})(ue)(E({reflectSymbol:function(){return"sixYearGradRate"}})(BT)(fGe(E({reflectSymbol:function(){return"studentsPerFaculty"}})(gGe)(E({reflectSymbol:function(){return"testScoreStats"}})(Ln(Zt(bz(Zt(bGe(tGe(BR)(RGe(he)))))(Sz(Zt(yz(nGe)(he)))(Ez(Zt(bGe(RGe(iGe(BR)(he)))))(he))))))(E({reflectSymbol:function(){return"totalUndergrads"}})(Rt)(E({reflectSymbol:function(){return"tuitionInState"}})(ni)(E({reflectSymbol:function(){return"tuitionOutOfState"}})(ni)(E({reflectSymbol:function(){return"urls"}})(Zt(_Ge(Eo)(E({reflectSymbol:function(){return"finAid"}})(Eo)(E({reflectSymbol:function(){return"main"}})(ue)(E({reflectSymbol:function(){return"priceCalculator"}})(Eo)(he))))))(he)))))))))))))))))))))))))))))))))))))))))))))))))))))))(E({reflectSymbol:function(){return"vineBelowConnectionLimit"}})(Ln(zn))(he))))))))))))))))))))))))({diagnosticName:"EntryPoints.SchoolDetails",def:e})}();return LCn;})(); /* object-assign (c) Sindre Sorhus @license MIT */ /*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */ /*! * Determine if an object is a Buffer * * @author Feross Aboukhadijeh * @license MIT */ /*! * Pusher JavaScript Library v6.0.3 * https://pusher.com/ * * Copyright 2020, Pusher * Released under the MIT licence. */ /*! * focus-trap 6.9.4 * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE */ /*! * tabbable 5.3.3 * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE */ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ /** * @license React * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /** @license React v0.20.2 * scheduler.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /** @license React v16.13.1 * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /** @license React v17.0.2 * react-dom-server.browser.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /** @license React v17.0.2 * react-dom.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /** @license React v17.0.2 * react.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */