var Purs_EntryPoints_SchoolDetails=(()=>{var ELe=Object.create;var fS=Object.defineProperty,CLe=Object.defineProperties,ILe=Object.getOwnPropertyDescriptor,TLe=Object.getOwnPropertyDescriptors,FLe=Object.getOwnPropertyNames,mY=Object.getOwnPropertySymbols,MLe=Object.getPrototypeOf,dY=Object.prototype.hasOwnProperty,GLe=Object.prototype.propertyIsEnumerable;var _Y=(e,n,t)=>n in e?fS(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,Ha=(e,n)=>{for(var t in n||(n={}))dY.call(n,t)&&_Y(e,t,n[t]);if(mY)for(var t of mY(n))GLe.call(n,t)&&_Y(e,t,n[t]);return e},di=(e,n)=>CLe(e,TLe(n)),hY=e=>fS(e,"__esModule",{value:!0});var ALe=(e,n)=>()=>(e&&(n=e(e=0)),n);var _e=(e,n)=>()=>(n||e((n={exports:{}}).exports,n),n.exports),xM=(e,n)=>{hY(e);for(var t in n)fS(e,t,{get:n[t],enumerable:!0})},xLe=(e,n,t)=>{if(n&&typeof n=="object"||typeof n=="function")for(let a of FLe(n))!dY.call(e,a)&&a!=="default"&&fS(e,a,{get:()=>n[a],enumerable:!(t=ILe(n,a))||t.enumerable});return e},ya=e=>xLe(hY(fS(e!=null?ELe(MLe(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var kg={};xM(kg,{Children:()=>Pg,Component:()=>Og,Fragment:()=>Xj,PureComponent:()=>JNe,Suspense:()=>qNe,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>UNe,cloneElement:()=>fE,createContext:()=>Yj,createElement:()=>Wa,createRef:()=>M2,default:()=>gt,forwardRef:()=>Vc,isValidElement:()=>Zj,lazy:()=>HNe,memo:()=>BNe,useCallback:()=>vE,useContext:()=>WNe,useEffect:()=>Ar,useImperativeHandle:()=>Wp,useLayoutEffect:()=>pE,useMemo:()=>mE,useReducer:()=>$Ne,useRef:()=>Pa,useState:()=>Vf,version:()=>zNe});var gt,UNe,Pg,fE,Og,Yj,Wa,M2,Vc,Xj,Zj,HNe,BNe,JNe,qNe,vE,WNe,Ar,Wp,pE,mE,$Ne,Pa,Vf,zNe,Ht=ALe(()=>{gt=window.React,{__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:UNe,Children:Pg,cloneElement:fE,Component:Og,createContext:Yj,createElement:Wa,createRef:M2,forwardRef:Vc,Fragment:Xj,isValidElement:Zj,lazy:HNe,memo:BNe,PureComponent:JNe,Suspense:qNe,useCallback:vE,useContext:WNe,useEffect:Ar,useImperativeHandle:Wp,useLayoutEffect:pE,useMemo:mE,useReducer:$Ne,useRef:Pa,useState:Vf,version:zNe}=window.React});var k2=_e((Uut,Kee)=>{"use strict";var Zee=Object.getOwnPropertySymbols,RPe=Object.prototype.hasOwnProperty,wPe=Object.prototype.propertyIsEnumerable;function SPe(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function EPe(){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}}Kee.exports=EPe()?Object.assign:function(e,n){for(var t,a=SPe(e),r,o=1;o{"use strict";var a9=k2(),T1=60103,ene=60106;Ya.Fragment=60107;Ya.StrictMode=60108;Ya.Profiler=60114;var nne=60109,tne=60110,ane=60112;Ya.Suspense=60113;var rne=60115,one=60116;typeof Symbol=="function"&&Symbol.for&&(qs=Symbol.for,T1=qs("react.element"),ene=qs("react.portal"),Ya.Fragment=qs("react.fragment"),Ya.StrictMode=qs("react.strict_mode"),Ya.Profiler=qs("react.profiler"),nne=qs("react.provider"),tne=qs("react.context"),ane=qs("react.forward_ref"),Ya.Suspense=qs("react.suspense"),rne=qs("react.memo"),one=qs("react.lazy"));var qs,ine=typeof Symbol=="function"&&Symbol.iterator;function CPe(e){return e===null||typeof e!="object"?null:(e=ine&&e[ine]||e["@@iterator"],typeof e=="function"?e:null)}function yE(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t{"use strict";_ne.exports=dne()});var kne=_e(M1=>{"use strict";var Qf=k2(),zp=Fl();function So(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;twE;wE++)Iu[wE]=wE+1;var Iu,wE;Iu[15]=0;var xPe=/^[: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]*$/,wne=Object.prototype.hasOwnProperty,Sne={},Ene={};function Cne(e){return wne.call(Ene,e)?!0:wne.call(Sne,e)?!1:xPe.test(e)?Ene[e]=!0:(Sne[e]=!0,!1)}function LPe(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 jPe(e,n,t,a){if(n===null||typeof n=="undefined"||LPe(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 Ml(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 Tu={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Tu[e]=new Ml(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];Tu[n]=new Ml(n,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Tu[e]=new Ml(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Tu[e]=new Ml(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){Tu[e]=new Ml(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Tu[e]=new Ml(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Tu[e]=new Ml(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Tu[e]=new Ml(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Tu[e]=new Ml(e,5,!1,e.toLowerCase(),null,!1,!1)});var h9=/[\-:]([a-z])/g;function g9(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(h9,g9);Tu[n]=new Ml(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(h9,g9);Tu[n]=new Ml(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(h9,g9);Tu[n]=new Ml(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Tu[e]=new Ml(e,1,!1,e.toLowerCase(),null,!1,!1)});Tu.xlinkHref=new Ml("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Tu[e]=new Ml(e,1,!1,e.toLowerCase(),null,!0,!0)});var NPe=/["'&<>]/;function Jg(e){if(typeof e=="boolean"||typeof e=="number")return""+e;e=""+e;var n=NPe.exec(e);if(n){var t="",a,r=0;for(a=n.index;az2))throw Error(So(301));if(e===g0)if($2=!0,e={action:t,next:null},Hd===null&&(Hd=new Map),t=Hd.get(n),t===void 0)Hd.set(n,e);else{for(n=t;n.next!==null;)n=n.next;n.next=e}}function y9(){}var Wg=null,HPe={readContext:function(e){var n=Wg.threadID;return RE(e,n),e[n]},useContext:function(e){qg();var n=Wg.threadID;return RE(e,n),e[n]},useMemo:Ane,useReducer:Gne,useRef:function(e){g0=qg(),Jr=D9();var n=Jr.memoizedState;return n===null?(e={current:e},Jr.memoizedState=e):n},useState:function(e){return Gne(Mne,e)},useLayoutEffect:function(){},useCallback:function(e,n){return Ane(function(){return e},n)},useImperativeHandle:y9,useEffect:y9,useDebugValue:y9,useDeferredValue:function(e){return qg(),e},useTransition:function(){return qg(),[function(e){e()},!1]},useOpaqueIdentifier:function(){return(Wg.identifierPrefix||"")+"R:"+(Wg.uniqueID++).toString(36)},useMutableSource:function(e,n){return qg(),n(e._source)}},xne={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function Lne(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 jne={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},BPe=Qf({menuitem:!0},jne),EE={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},JPe=["Webkit","ms","Moz","O"];Object.keys(EE).forEach(function(e){JPe.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),EE[n]=EE[e]})});var qPe=/([A-Z])/g,WPe=/^ms-/,Bd=zp.Children.toArray,b9=GPe.ReactCurrentDispatcher,$Pe={listing:!0,pre:!0,textarea:!0},zPe=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Nne={},R9={};function VPe(e){if(e==null)return e;var n="";return zp.Children.forEach(e,function(t){t!=null&&(n+=t)}),n}var QPe=Object.prototype.hasOwnProperty,YPe={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function Pne(e,n){if(e===void 0)throw Error(So(152,bE(n)||"Component"))}function XPe(e,n,t){function a(i,u){var l=u.prototype&&u.prototype.isReactComponent,c=APe(u,n,t,l),s=[],f=!1,v={isMounted:function(){return!1},enqueueForceUpdate:function(){if(s===null)return null},enqueueReplaceState:function(M,P){f=!0,s=[P]},enqueueSetState:function(M,P){if(s===null)return null;s.push(P)}};if(l){if(l=new u(i.props,c,v),typeof u.getDerivedStateFromProps=="function"){var p=u.getDerivedStateFromProps.call(null,i.props,l.state);p!=null&&(l.state=Qf({},l.state,p))}}else if(g0={},l=u(i.props,c,v),l=Tne(u,i.props,l,c),l==null||l.render==null){e=l,Pne(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 d=f;if(s=null,f=!1,d&&v.length===1)l.state=v[0];else{p=d?v[0]:l.state;var y=!0;for(d=d?1:0;d=u))throw Error(So(304));var l=new Uint16Array(u);for(l.set(i),Iu=l,Iu[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===J2)this.popProvider(l.type);else if(l.type===q2){this.suspenseDepth--;var s=o.pop();if(i){i=!1;var f=l.fallbackFrame;if(!f)throw Error(So(303));this.stack.push(f),o[this.suspenseDepth]+="";continue}else o[this.suspenseDepth]+=s}o[this.suspenseDepth]+=c}else{var v=l.children[l.childIndex++],p="";try{p+=this.render(v,l.context,l.domNamespace)}catch(d){throw d!=null&&typeof d.then=="function"?Error(So(294)):d}finally{}o.length<=this.suspenseDepth&&o.push(""),o[this.suspenseDepth]+=p}}return o[0]}finally{b9.current=r,Wg=a,Fne()}},n.render=function(t,a,r){if(typeof t=="string"||typeof t=="number")return r=""+t,r===""?"":this.makeStaticMarkup?Jg(r):this.previousWasTextNode?""+Jg(r):(this.previousWasTextNode=!0,Jg(r));if(a=XPe(t,a,this.threadID),t=a.child,a=a.context,t===null||t===!1)return"";if(!zp.isValidElement(t)){if(t!=null&&t.$$typeof!=null)throw r=t.$$typeof,Error(r===c9?So(257):So(258,r.toString()));return t=Bd(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 bne:case yne:case s9:case f9:case m9:case B2:return t=Bd(t.props.children),this.stack.push({type:null,domNamespace:r,children:t,childIndex:0,context:a,footer:""}),"";case q2:throw Error(So(294));case Dne:throw Error(So(343))}if(typeof o=="object"&&o!==null)switch(o.$$typeof){case p9:g0={};var i=o.render(t.props,t.ref);return i=Tne(o.render,t.props,i,t.ref),i=Bd(i),this.stack.push({type:null,domNamespace:r,children:i,childIndex:0,context:a,footer:""}),"";case d9:return t=[zp.createElement(o.type,Qf({ref:t.ref},t.props))],this.stack.push({type:null,domNamespace:r,children:t,childIndex:0,context:a,footer:""}),"";case J2:return o=Bd(t.props.children),r={type:t,domNamespace:r,children:o,childIndex:0,context:a,footer:""},this.pushProvider(t),this.stack.push(r),"";case v9:o=t.type,i=t.props;var u=this.threadID;return RE(o,u),o=Bd(i.children(o[u])),this.stack.push({type:t,domNamespace:r,children:o,childIndex:0,context:a,footer:""}),"";case gne:throw Error(So(338));case _9:return o=t.type,i=o._init,o=i(o._payload),t=[zp.createElement(o,Qf({ref:t.ref},t.props))],this.stack.push({type:null,domNamespace:r,children:t,childIndex:0,context:a,footer:""}),""}throw Error(So(130,o==null?o:typeof o,""))},n.renderDOM=function(t,a,r){var o=t.type.toLowerCase();if(r===xne.html&&Lne(o),!Nne.hasOwnProperty(o)){if(!zPe.test(o))throw Error(So(65,o));Nne[o]=!0}var i=t.props;if(o==="input")i=Qf({type:void 0},i,{defaultChecked:void 0,defaultValue:void 0,value:i.value!=null?i.value:i.defaultValue,checked:i.checked!=null?i.checked:i.defaultChecked});else if(o==="textarea"){var u=i.value;if(u==null){u=i.defaultValue;var l=i.children;if(l!=null){if(u!=null)throw Error(So(92));if(Array.isArray(l)){if(!(1>=l.length))throw Error(So(93));l=l[0]}u=""+l}u==null&&(u="")}i=Qf({},i,{value:void 0,children:""+u})}else if(o==="select")this.currentSelectValue=i.value!=null?i.value:i.defaultValue,i=Qf({},i,{value:void 0});else if(o==="option"){l=this.currentSelectValue;var c=VPe(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=Jg(l);break e}l=null}return l!=null?(i=[],$Pe.hasOwnProperty(o)&&l.charAt(0)===` `&&(P+=` `),P+=l):i=Bd(i.children),t=t.type,r=r==null||r==="http://www.w3.org/1999/xhtml"?Lne(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}();M1.renderToNodeStream=function(){throw Error(So(207))};M1.renderToStaticMarkup=function(e,n){e=new One(e,!0,n);try{return e.read(1/0)}finally{e.destroy()}};M1.renderToStaticNodeStream=function(){throw Error(So(208))};M1.renderToString=function(e,n){e=new One(e,!1,n);try{return e.read(1/0)}finally{e.destroy()}};M1.version="17.0.2"});var Hne=_e((qut,Une)=>{"use strict";Une.exports=kne()});var Tue=_e((Yoa,Iue)=>{"use strict";var IQe="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";Iue.exports=IQe});var Aue=_e((Xoa,Gue)=>{"use strict";var TQe=Tue();function Fue(){}function Mue(){}Mue.resetWarningCache=Fue;Gue.exports=function(){function e(a,r,o,i,u,l){if(l!==TQe){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:Mue,resetWarningCache:Fue};return t.PropTypes=t,t}});var mb=_e((eia,xue)=>{xue.exports=Aue()();var Zoa,Koa});var JP=_e(db=>{"use strict";Object.defineProperty(db,"__esModule",{value:!0});var Lue=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],V4=Lue.join(","),jue=typeof Element=="undefined",mD=jue?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,HP=!jue&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},Nue=function(n,t,a){var r=Array.prototype.slice.apply(n.querySelectorAll(V4));return t&&mD.call(n,V4)&&r.unshift(n),r=r.filter(a),r},Pue=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=mD.call(i,V4);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 p=e(f===!0?i.children:f.children,!0,a);a.flatten?r.push.apply(r,p):r.push({scope:i,candidates:p})}else o.unshift.apply(o,i.children)}}return r},Oue=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},FQe=function(n,t){return n.tabIndex===t.tabIndex?n.documentOrder-t.documentOrder:n.tabIndex-t.tabIndex},kue=function(n){return n.tagName==="INPUT"},MQe=function(n){return kue(n)&&n.type==="hidden"},GQe=function(n){var t=n.tagName==="DETAILS"&&Array.prototype.slice.apply(n.children).some(function(a){return a.tagName==="SUMMARY"});return t},AQe=function(n,t){for(var a=0;asummary:first-of-type"),i=o?n.parentElement:n;if(mD.call(i,"details:not([open]) *"))return!0;var u=HP(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=HP(n);if(s&&!s.shadowRoot&&r(s)===!0)return Uue(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 Uue(n);return!1},PQe=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)},kQe=function e(n){var t=[],a=[];return n.forEach(function(r,o){var i=!!r.scope,u=i?r.scope:r,l=Oue(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(FQe).reduce(function(r,o){return o.isScope?r.push.apply(r,o.content):r.push(o.content),r},[]).concat(t)},UQe=function(n,t){t=t||{};var a;return t.getShadowRoot?a=Pue([n],t.includeContainer,{filter:BP.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:OQe}):a=Nue(n,t.includeContainer,BP.bind(null,t)),kQe(a)},HQe=function(n,t){t=t||{};var a;return t.getShadowRoot?a=Pue([n],t.includeContainer,{filter:Q4.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):a=Nue(n,t.includeContainer,Q4.bind(null,t)),a},BQe=function(n,t){if(t=t||{},!n)throw new Error("No node provided");return mD.call(n,V4)===!1?!1:BP(t,n)},JQe=Lue.concat("iframe").join(","),qQe=function(n,t){if(t=t||{},!n)throw new Error("No node provided");return mD.call(n,JQe)===!1?!1:Q4(t,n)};db.focusable=HQe;db.isFocusable=qQe;db.isTabbable=BQe;db.tabbable=UQe});var $ue=_e(qP=>{"use strict";Object.defineProperty(qP,"__esModule",{value:!0});var Fm=JP();function Hue(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 Bue(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()}}}(),$Qe=function(n){return n.tagName&&n.tagName.toLowerCase()==="input"&&typeof n.select=="function"},zQe=function(n){return n.key==="Escape"||n.key==="Esc"||n.keyCode===27},VQe=function(n){return n.key==="Tab"||n.keyCode===9},que=function(n){return setTimeout(n,0)},Wue=function(n,t){var a=-1;return n.every(function(r,o){return t(r)?(a=o,!1):!0}),a},NC=function(n){for(var t=arguments.length,a=new Array(t>1?t-1:0),r=1;r1?K-1:0),Te=1;Te=0)T=a.activeElement;else{var k=o.tabbableGroups[0],K=k&&k.firstTabbableNode;T=K||c("fallbackFocus")}if(!T)throw new Error("Your focus-trap needs to have at least one focusable element");return T},f=function(){if(o.containerGroups=o.containers.map(function(T){var k=Fm.tabbable(T,r.tabbableOptions),K=Fm.focusable(T,r.tabbableOptions);return{container:T,tabbableNodes:k,focusableNodes:K,firstTabbableNode:k.length>0?k[0]:null,lastTabbableNode:k.length>0?k[k.length-1]:null,nextTabbableNode:function(Te){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,xe=K.findIndex(function(Se){return Se===Te});if(!(xe<0))return we?K.slice(xe+1).find(function(Se){return Fm.isTabbable(Se,r.tabbableOptions)}):K.slice(0,xe).reverse().find(function(Se){return Fm.isTabbable(Se,r.tabbableOptions)})}}}),o.tabbableGroups=o.containerGroups.filter(function(T){return T.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(T){if(T!==!1&&T!==a.activeElement){if(!T||!T.focus){O(s());return}T.focus({preventScroll:!!r.preventScroll}),o.mostRecentlyFocusedNode=T,$Qe(T)&&T.select()}},p=function(T){var k=c("setReturnFocus",T);return k||(k===!1?!1:T)},d=function(T){var k=Y4(T);if(!(l(k)>=0)){if(NC(r.clickOutsideDeactivates,T)){i.deactivate({returnFocus:r.returnFocusOnDeactivate&&!Fm.isFocusable(k,r.tabbableOptions)});return}NC(r.allowOutsideClick,T)||T.preventDefault()}},y=function(T){var k=Y4(T),K=l(k)>=0;K||k instanceof Document?K&&(o.mostRecentlyFocusedNode=k):(T.stopImmediatePropagation(),v(o.mostRecentlyFocusedNode||s()))},h=function(T){var k=Y4(T);f();var K=null;if(o.tabbableGroups.length>0){var oe=l(k),Te=oe>=0?o.containerGroups[oe]:void 0;if(oe<0)T.shiftKey?K=o.tabbableGroups[o.tabbableGroups.length-1].lastTabbableNode:K=o.tabbableGroups[0].firstTabbableNode;else if(T.shiftKey){var we=Wue(o.tabbableGroups,function(Tn){var on=Tn.firstTabbableNode;return k===on});if(we<0&&(Te.container===k||Fm.isFocusable(k,r.tabbableOptions)&&!Fm.isTabbable(k,r.tabbableOptions)&&!Te.nextTabbableNode(k,!1))&&(we=oe),we>=0){var xe=we===0?o.tabbableGroups.length-1:we-1,Se=o.tabbableGroups[xe];K=Se.lastTabbableNode}}else{var Ce=Wue(o.tabbableGroups,function(Tn){var on=Tn.lastTabbableNode;return k===on});if(Ce<0&&(Te.container===k||Fm.isFocusable(k,r.tabbableOptions)&&!Fm.isTabbable(k,r.tabbableOptions)&&!Te.nextTabbableNode(k))&&(Ce=oe),Ce>=0){var Je=Ce===o.tabbableGroups.length-1?0:Ce+1,ue=o.tabbableGroups[Je];K=ue.firstTabbableNode}}}else K=c("fallbackFocus");K&&(T.preventDefault(),v(K))},g=function(T){if(zQe(T)&&NC(r.escapeDeactivates,T)!==!1){T.preventDefault(),i.deactivate();return}if(VQe(T)){h(T);return}},S=function(T){var k=Y4(T);l(k)>=0||NC(r.clickOutsideDeactivates,T)||NC(r.allowOutsideClick,T)||(T.preventDefault(),T.stopImmediatePropagation())},M=function(){if(!!o.active)return Jue.activateTrap(i),o.delayInitialFocusTimer=r.delayInitialFocus?que(function(){v(s())}):v(s()),a.addEventListener("focusin",y,!0),a.addEventListener("mousedown",d,{capture:!0,passive:!1}),a.addEventListener("touchstart",d,{capture:!0,passive:!1}),a.addEventListener("click",S,{capture:!0,passive:!1}),a.addEventListener("keydown",g,{capture:!0,passive:!1}),i},P=function(){if(!!o.active)return a.removeEventListener("focusin",y,!0),a.removeEventListener("mousedown",d,!0),a.removeEventListener("touchstart",d,!0),a.removeEventListener("click",S,!0),a.removeEventListener("keydown",g,!0),i};return i={get active(){return o.active},get paused(){return o.paused},activate:function(T){if(o.active)return this;var k=u(T,"onActivate"),K=u(T,"onPostActivate"),oe=u(T,"checkCanFocusTrap");oe||f(),o.active=!0,o.paused=!1,o.nodeFocusedBeforeActivation=a.activeElement,k&&k();var Te=function(){oe&&f(),M(),K&&K()};return oe?(oe(o.containers.concat()).then(Te,Te),this):(Te(),this)},deactivate:function(T){if(!o.active)return this;var k=Bue({onDeactivate:r.onDeactivate,onPostDeactivate:r.onPostDeactivate,checkCanReturnFocus:r.checkCanReturnFocus},T);clearTimeout(o.delayInitialFocusTimer),o.delayInitialFocusTimer=void 0,P(),o.active=!1,o.paused=!1,Jue.deactivateTrap(i);var K=u(k,"onDeactivate"),oe=u(k,"onPostDeactivate"),Te=u(k,"checkCanReturnFocus"),we=u(k,"returnFocus","returnFocusOnDeactivate");K&&K();var xe=function(){que(function(){we&&v(p(o.nodeFocusedBeforeActivation)),oe&&oe()})};return we&&Te?(Te(p(o.nodeFocusedBeforeActivation)).then(xe,xe),this):(xe(),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(),M(),this)},updateContainerElements:function(T){var k=[].concat(T).filter(Boolean);return o.containers=k.map(function(K){return typeof K=="string"?a.querySelector(K):K}),o.active&&f(),this}},i.updateContainerElements(n),i};qP.createFocusTrap=QQe});var Que=_e((aia,Vue)=>{"use strict";function WP(e){return WP=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},WP(e)}function YQe(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function zue(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=Z4.cloneElement(o,{ref:i});return u}return null}}]),t}(Z4.Component),OC=typeof Element=="undefined"?Function:Element;zP.propTypes={active:ia.bool,paused:ia.bool,focusTrapOptions:ia.shape({document:ia.object,onActivate:ia.func,onPostActivate:ia.func,checkCanFocusTrap:ia.func,onDeactivate:ia.func,onPostDeactivate:ia.func,checkCanReturnFocus:ia.func,initialFocus:ia.oneOfType([ia.instanceOf(OC),ia.string,ia.bool,ia.func]),fallbackFocus:ia.oneOfType([ia.instanceOf(OC),ia.string,ia.func]),escapeDeactivates:ia.oneOfType([ia.bool,ia.func]),clickOutsideDeactivates:ia.oneOfType([ia.bool,ia.func]),returnFocusOnDeactivate:ia.bool,setReturnFocus:ia.oneOfType([ia.instanceOf(OC),ia.string,ia.bool,ia.func]),allowOutsideClick:ia.oneOfType([ia.bool,ia.func]),preventScroll:ia.bool,tabbableOptions:ia.shape({displayCheck:ia.oneOf(["full","non-zero-area","none"]),getShadowRoot:ia.oneOfType([ia.bool,ia.func])})}),containerElements:ia.arrayOf(ia.instanceOf(OC)),children:ia.oneOfType([ia.element,ia.instanceOf(OC)])};zP.defaultProps={active:!0,paused:!1,focusTrapOptions:{},_createFocusTrap:rYe};Vue.exports=zP});var lpe=_e(Cr=>{"use strict";var pu=typeof Symbol=="function"&&Symbol.for,_k=pu?Symbol.for("react.element"):60103,hk=pu?Symbol.for("react.portal"):60106,IA=pu?Symbol.for("react.fragment"):60107,TA=pu?Symbol.for("react.strict_mode"):60108,FA=pu?Symbol.for("react.profiler"):60114,MA=pu?Symbol.for("react.provider"):60109,GA=pu?Symbol.for("react.context"):60110,gk=pu?Symbol.for("react.async_mode"):60111,AA=pu?Symbol.for("react.concurrent_mode"):60111,xA=pu?Symbol.for("react.forward_ref"):60112,LA=pu?Symbol.for("react.suspense"):60113,Pnn=pu?Symbol.for("react.suspense_list"):60120,jA=pu?Symbol.for("react.memo"):60115,NA=pu?Symbol.for("react.lazy"):60116,Onn=pu?Symbol.for("react.block"):60121,knn=pu?Symbol.for("react.fundamental"):60117,Unn=pu?Symbol.for("react.responder"):60118,Hnn=pu?Symbol.for("react.scope"):60119;function gs(e){if(typeof e=="object"&&e!==null){var n=e.$$typeof;switch(n){case _k:switch(e=e.type,e){case gk:case AA:case IA:case FA:case TA:case LA:return e;default:switch(e=e&&e.$$typeof,e){case GA:case xA:case NA:case jA:case MA:return e;default:return n}}case hk:return n}}}function upe(e){return gs(e)===AA}Cr.AsyncMode=gk;Cr.ConcurrentMode=AA;Cr.ContextConsumer=GA;Cr.ContextProvider=MA;Cr.Element=_k;Cr.ForwardRef=xA;Cr.Fragment=IA;Cr.Lazy=NA;Cr.Memo=jA;Cr.Portal=hk;Cr.Profiler=FA;Cr.StrictMode=TA;Cr.Suspense=LA;Cr.isAsyncMode=function(e){return upe(e)||gs(e)===gk};Cr.isConcurrentMode=upe;Cr.isContextConsumer=function(e){return gs(e)===GA};Cr.isContextProvider=function(e){return gs(e)===MA};Cr.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===_k};Cr.isForwardRef=function(e){return gs(e)===xA};Cr.isFragment=function(e){return gs(e)===IA};Cr.isLazy=function(e){return gs(e)===NA};Cr.isMemo=function(e){return gs(e)===jA};Cr.isPortal=function(e){return gs(e)===hk};Cr.isProfiler=function(e){return gs(e)===FA};Cr.isStrictMode=function(e){return gs(e)===TA};Cr.isSuspense=function(e){return gs(e)===LA};Cr.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===IA||e===AA||e===FA||e===TA||e===LA||e===Pnn||typeof e=="object"&&e!==null&&(e.$$typeof===NA||e.$$typeof===jA||e.$$typeof===MA||e.$$typeof===GA||e.$$typeof===xA||e.$$typeof===knn||e.$$typeof===Unn||e.$$typeof===Hnn||e.$$typeof===Onn)};Cr.typeOf=gs});var spe=_e((u7a,cpe)=>{"use strict";cpe.exports=lpe()});var j_=_e((b7a,kA)=>{(function(){"use strict";var e={}.hasOwnProperty;function n(){for(var r="",o=0;o{function Itn(){this.__data__=[],this.size=0}rme.exports=Itn});var Ok=_e((f6a,ime)=>{function Ttn(e,n){return e===n||e!==e&&n!==n}ime.exports=Ttn});var _I=_e((v6a,ume)=>{var Ftn=Ok();function Mtn(e,n){for(var t=e.length;t--;)if(Ftn(e[t][0],n))return t;return-1}ume.exports=Mtn});var cme=_e((p6a,lme)=>{var Gtn=_I(),Atn=Array.prototype,xtn=Atn.splice;function Ltn(e){var n=this.__data__,t=Gtn(n,e);if(t<0)return!1;var a=n.length-1;return t==a?n.pop():xtn.call(n,t,1),--this.size,!0}lme.exports=Ltn});var fme=_e((m6a,sme)=>{var jtn=_I();function Ntn(e){var n=this.__data__,t=jtn(n,e);return t<0?void 0:n[t][1]}sme.exports=Ntn});var pme=_e((d6a,vme)=>{var Ptn=_I();function Otn(e){return Ptn(this.__data__,e)>-1}vme.exports=Otn});var dme=_e((_6a,mme)=>{var ktn=_I();function Utn(e,n){var t=this.__data__,a=ktn(t,e);return a<0?(++this.size,t.push([e,n])):t[a][1]=n,this}mme.exports=Utn});var hI=_e((h6a,_me)=>{var Htn=ome(),Btn=cme(),Jtn=fme(),qtn=pme(),Wtn=dme();function cR(e){var n=-1,t=e==null?0:e.length;for(this.clear();++n{var $tn=hI();function ztn(){this.__data__=new $tn,this.size=0}hme.exports=ztn});var yme=_e((D6a,Dme)=>{function Vtn(e){var n=this.__data__,t=n.delete(e);return this.size=n.size,t}Dme.exports=Vtn});var Rme=_e((y6a,bme)=>{function Qtn(e){return this.__data__.get(e)}bme.exports=Qtn});var Sme=_e((b6a,wme)=>{function Ytn(e){return this.__data__.has(e)}wme.exports=Ytn});var kk=_e((R6a,Eme)=>{var Xtn=typeof global=="object"&&global&&global.Object===Object&&global;Eme.exports=Xtn});var $0=_e((w6a,Cme)=>{var Ztn=kk(),Ktn=typeof self=="object"&&self&&self.Object===Object&&self,ean=Ztn||Ktn||Function("return this")();Cme.exports=ean});var ux=_e((S6a,Ime)=>{var nan=$0(),tan=nan.Symbol;Ime.exports=tan});var Gme=_e((E6a,Mme)=>{var Tme=ux(),Fme=Object.prototype,aan=Fme.hasOwnProperty,ran=Fme.toString,gI=Tme?Tme.toStringTag:void 0;function oan(e){var n=aan.call(e,gI),t=e[gI];try{e[gI]=void 0;var a=!0}catch{}var r=ran.call(e);return a&&(n?e[gI]=t:delete e[gI]),r}Mme.exports=oan});var xme=_e((C6a,Ame)=>{var ian=Object.prototype,uan=ian.toString;function lan(e){return uan.call(e)}Ame.exports=lan});var DI=_e((I6a,Nme)=>{var Lme=ux(),can=Gme(),san=xme(),fan="[object Null]",van="[object Undefined]",jme=Lme?Lme.toStringTag:void 0;function pan(e){return e==null?e===void 0?van:fan:jme&&jme in Object(e)?can(e):san(e)}Nme.exports=pan});var Uk=_e((T6a,Pme)=>{function man(e){var n=typeof e;return e!=null&&(n=="object"||n=="function")}Pme.exports=man});var Hk=_e((F6a,Ome)=>{var dan=DI(),_an=Uk(),han="[object AsyncFunction]",gan="[object Function]",Dan="[object GeneratorFunction]",yan="[object Proxy]";function ban(e){if(!_an(e))return!1;var n=dan(e);return n==gan||n==Dan||n==han||n==yan}Ome.exports=ban});var Ume=_e((M6a,kme)=>{var Ran=$0(),wan=Ran["__core-js_shared__"];kme.exports=wan});var Jme=_e((G6a,Bme)=>{var Bk=Ume(),Hme=function(){var e=/[^.]+$/.exec(Bk&&Bk.keys&&Bk.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function San(e){return!!Hme&&Hme in e}Bme.exports=San});var Jk=_e((A6a,qme)=>{var Ean=Function.prototype,Can=Ean.toString;function Ian(e){if(e!=null){try{return Can.call(e)}catch{}try{return e+""}catch{}}return""}qme.exports=Ian});var $me=_e((x6a,Wme)=>{var Tan=Hk(),Fan=Jme(),Man=Uk(),Gan=Jk(),Aan=/[\\^$.*+?()[\]{}|]/g,xan=/^\[object .+?Constructor\]$/,Lan=Function.prototype,jan=Object.prototype,Nan=Lan.toString,Pan=jan.hasOwnProperty,Oan=RegExp("^"+Nan.call(Pan).replace(Aan,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function kan(e){if(!Man(e)||Fan(e))return!1;var n=Tan(e)?Oan:xan;return n.test(Gan(e))}Wme.exports=kan});var Vme=_e((L6a,zme)=>{function Uan(e,n){return e==null?void 0:e[n]}zme.exports=Uan});var ID=_e((j6a,Qme)=>{var Han=$me(),Ban=Vme();function Jan(e,n){var t=Ban(e,n);return Han(t)?t:void 0}Qme.exports=Jan});var lx=_e((N6a,Yme)=>{var qan=ID(),Wan=$0(),$an=qan(Wan,"Map");Yme.exports=$an});var yI=_e((P6a,Xme)=>{var zan=ID(),Van=zan(Object,"create");Xme.exports=Van});var ede=_e((O6a,Kme)=>{var Zme=yI();function Qan(){this.__data__=Zme?Zme(null):{},this.size=0}Kme.exports=Qan});var tde=_e((k6a,nde)=>{function Yan(e){var n=this.has(e)&&delete this.__data__[e];return this.size-=n?1:0,n}nde.exports=Yan});var rde=_e((U6a,ade)=>{var Xan=yI(),Zan="__lodash_hash_undefined__",Kan=Object.prototype,ern=Kan.hasOwnProperty;function nrn(e){var n=this.__data__;if(Xan){var t=n[e];return t===Zan?void 0:t}return ern.call(n,e)?n[e]:void 0}ade.exports=nrn});var ide=_e((H6a,ode)=>{var trn=yI(),arn=Object.prototype,rrn=arn.hasOwnProperty;function orn(e){var n=this.__data__;return trn?n[e]!==void 0:rrn.call(n,e)}ode.exports=orn});var lde=_e((B6a,ude)=>{var irn=yI(),urn="__lodash_hash_undefined__";function lrn(e,n){var t=this.__data__;return this.size+=this.has(e)?0:1,t[e]=irn&&n===void 0?urn:n,this}ude.exports=lrn});var sde=_e((J6a,cde)=>{var crn=ede(),srn=tde(),frn=rde(),vrn=ide(),prn=lde();function sR(e){var n=-1,t=e==null?0:e.length;for(this.clear();++n{var fde=sde(),mrn=hI(),drn=lx();function _rn(){this.size=0,this.__data__={hash:new fde,map:new(drn||mrn),string:new fde}}vde.exports=_rn});var dde=_e((W6a,mde)=>{function hrn(e){var n=typeof e;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?e!=="__proto__":e===null}mde.exports=hrn});var bI=_e(($6a,_de)=>{var grn=dde();function Drn(e,n){var t=e.__data__;return grn(n)?t[typeof n=="string"?"string":"hash"]:t.map}_de.exports=Drn});var gde=_e((z6a,hde)=>{var yrn=bI();function brn(e){var n=yrn(this,e).delete(e);return this.size-=n?1:0,n}hde.exports=brn});var yde=_e((V6a,Dde)=>{var Rrn=bI();function wrn(e){return Rrn(this,e).get(e)}Dde.exports=wrn});var Rde=_e((Q6a,bde)=>{var Srn=bI();function Ern(e){return Srn(this,e).has(e)}bde.exports=Ern});var Sde=_e((Y6a,wde)=>{var Crn=bI();function Irn(e,n){var t=Crn(this,e),a=t.size;return t.set(e,n),this.size+=t.size==a?0:1,this}wde.exports=Irn});var qk=_e((X6a,Ede)=>{var Trn=pde(),Frn=gde(),Mrn=yde(),Grn=Rde(),Arn=Sde();function fR(e){var n=-1,t=e==null?0:e.length;for(this.clear();++n{var xrn=hI(),Lrn=lx(),jrn=qk(),Nrn=200;function Prn(e,n){var t=this.__data__;if(t instanceof xrn){var a=t.__data__;if(!Lrn||a.length{var Orn=hI(),krn=gme(),Urn=yme(),Hrn=Rme(),Brn=Sme(),Jrn=Ide();function vR(e){var n=this.__data__=new Orn(e);this.size=n.size}vR.prototype.clear=krn;vR.prototype.delete=Urn;vR.prototype.get=Hrn;vR.prototype.has=Brn;vR.prototype.set=Jrn;Tde.exports=vR});var Gde=_e((eLa,Mde)=>{var qrn="__lodash_hash_undefined__";function Wrn(e){return this.__data__.set(e,qrn),this}Mde.exports=Wrn});var xde=_e((nLa,Ade)=>{function $rn(e){return this.__data__.has(e)}Ade.exports=$rn});var jde=_e((tLa,Lde)=>{var zrn=qk(),Vrn=Gde(),Qrn=xde();function cx(e){var n=-1,t=e==null?0:e.length;for(this.__data__=new zrn;++n{function Yrn(e,n){for(var t=-1,a=e==null?0:e.length;++t{function Xrn(e,n){return e.has(n)}Ode.exports=Xrn});var Wk=_e((oLa,Ude)=>{var Zrn=jde(),Krn=Pde(),eon=kde(),non=1,ton=2;function aon(e,n,t,a,r,o){var i=t&non,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,p=t&ton?new Zrn:void 0;for(o.set(e,n),o.set(n,e);++f{var ron=$0(),oon=ron.Uint8Array;Hde.exports=oon});var qde=_e((uLa,Jde)=>{function ion(e){var n=-1,t=Array(e.size);return e.forEach(function(a,r){t[++n]=[r,a]}),t}Jde.exports=ion});var $de=_e((lLa,Wde)=>{function uon(e){var n=-1,t=Array(e.size);return e.forEach(function(a){t[++n]=a}),t}Wde.exports=uon});var Xde=_e((cLa,Yde)=>{var zde=ux(),Vde=Bde(),lon=Ok(),con=Wk(),son=qde(),fon=$de(),von=1,pon=2,mon="[object Boolean]",don="[object Date]",_on="[object Error]",hon="[object Map]",gon="[object Number]",Don="[object RegExp]",yon="[object Set]",bon="[object String]",Ron="[object Symbol]",won="[object ArrayBuffer]",Son="[object DataView]",Qde=zde?zde.prototype:void 0,$k=Qde?Qde.valueOf:void 0;function Eon(e,n,t,a,r,o,i){switch(t){case Son:if(e.byteLength!=n.byteLength||e.byteOffset!=n.byteOffset)return!1;e=e.buffer,n=n.buffer;case won:return!(e.byteLength!=n.byteLength||!o(new Vde(e),new Vde(n)));case mon:case don:case gon:return lon(+e,+n);case _on:return e.name==n.name&&e.message==n.message;case Don:case bon:return e==n+"";case hon:var u=son;case yon:var l=a&von;if(u||(u=fon),e.size!=n.size&&!l)return!1;var c=i.get(e);if(c)return c==n;a|=pon,i.set(e,n);var s=con(u(e),u(n),a,r,o,i);return i.delete(e),s;case Ron:if($k)return $k.call(e)==$k.call(n)}return!1}Yde.exports=Eon});var Kde=_e((sLa,Zde)=>{function Con(e,n){for(var t=-1,a=n.length,r=e.length;++t{var Ion=Array.isArray;e_e.exports=Ion});var t_e=_e((vLa,n_e)=>{var Ton=Kde(),Fon=sx();function Mon(e,n,t){var a=n(e);return Fon(e)?a:Ton(a,t(e))}n_e.exports=Mon});var r_e=_e((pLa,a_e)=>{function Gon(e,n){for(var t=-1,a=e==null?0:e.length,r=0,o=[];++t{function Aon(){return[]}o_e.exports=Aon});var c_e=_e((dLa,l_e)=>{var xon=r_e(),Lon=i_e(),jon=Object.prototype,Non=jon.propertyIsEnumerable,u_e=Object.getOwnPropertySymbols,Pon=u_e?function(e){return e==null?[]:(e=Object(e),xon(u_e(e),function(n){return Non.call(e,n)}))}:Lon;l_e.exports=Pon});var f_e=_e((_La,s_e)=>{function Oon(e,n){for(var t=-1,a=Array(e);++t{function kon(e){return e!=null&&typeof e=="object"}v_e.exports=kon});var m_e=_e((gLa,p_e)=>{var Uon=DI(),Hon=RI(),Bon="[object Arguments]";function Jon(e){return Hon(e)&&Uon(e)==Bon}p_e.exports=Jon});var g_e=_e((DLa,h_e)=>{var d_e=m_e(),qon=RI(),__e=Object.prototype,Won=__e.hasOwnProperty,$on=__e.propertyIsEnumerable,zon=d_e(function(){return arguments}())?d_e:function(e){return qon(e)&&Won.call(e,"callee")&&!$on.call(e,"callee")};h_e.exports=zon});var y_e=_e((yLa,D_e)=>{function Von(){return!1}D_e.exports=Von});var zk=_e((wI,pR)=>{var Qon=$0(),Yon=y_e(),b_e=typeof wI=="object"&&wI&&!wI.nodeType&&wI,R_e=b_e&&typeof pR=="object"&&pR&&!pR.nodeType&&pR,Xon=R_e&&R_e.exports===b_e,w_e=Xon?Qon.Buffer:void 0,Zon=w_e?w_e.isBuffer:void 0,Kon=Zon||Yon;pR.exports=Kon});var E_e=_e((bLa,S_e)=>{var ein=9007199254740991,nin=/^(?:0|[1-9]\d*)$/;function tin(e,n){var t=typeof e;return n=n==null?ein:n,!!n&&(t=="number"||t!="symbol"&&nin.test(e))&&e>-1&&e%1==0&&e{var ain=9007199254740991;function rin(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=ain}C_e.exports=rin});var T_e=_e((wLa,I_e)=>{var oin=DI(),iin=Vk(),uin=RI(),lin="[object Arguments]",cin="[object Array]",sin="[object Boolean]",fin="[object Date]",vin="[object Error]",pin="[object Function]",min="[object Map]",din="[object Number]",_in="[object Object]",hin="[object RegExp]",gin="[object Set]",Din="[object String]",yin="[object WeakMap]",bin="[object ArrayBuffer]",Rin="[object DataView]",win="[object Float32Array]",Sin="[object Float64Array]",Ein="[object Int8Array]",Cin="[object Int16Array]",Iin="[object Int32Array]",Tin="[object Uint8Array]",Fin="[object Uint8ClampedArray]",Min="[object Uint16Array]",Gin="[object Uint32Array]",no={};no[win]=no[Sin]=no[Ein]=no[Cin]=no[Iin]=no[Tin]=no[Fin]=no[Min]=no[Gin]=!0;no[lin]=no[cin]=no[bin]=no[sin]=no[Rin]=no[fin]=no[vin]=no[pin]=no[min]=no[din]=no[_in]=no[hin]=no[gin]=no[Din]=no[yin]=!1;function Ain(e){return uin(e)&&iin(e.length)&&!!no[oin(e)]}I_e.exports=Ain});var M_e=_e((SLa,F_e)=>{function xin(e){return function(n){return e(n)}}F_e.exports=xin});var A_e=_e((EI,mR)=>{var Lin=kk(),G_e=typeof EI=="object"&&EI&&!EI.nodeType&&EI,SI=G_e&&typeof mR=="object"&&mR&&!mR.nodeType&&mR,jin=SI&&SI.exports===G_e,Qk=jin&&Lin.process,Nin=function(){try{var e=SI&&SI.require&&SI.require("util").types;return e||Qk&&Qk.binding&&Qk.binding("util")}catch{}}();mR.exports=Nin});var Yk=_e((ELa,j_e)=>{var Pin=T_e(),Oin=M_e(),x_e=A_e(),L_e=x_e&&x_e.isTypedArray,kin=L_e?Oin(L_e):Pin;j_e.exports=kin});var P_e=_e((CLa,N_e)=>{var Uin=f_e(),Hin=g_e(),Bin=sx(),Jin=zk(),qin=E_e(),Win=Yk(),$in=Object.prototype,zin=$in.hasOwnProperty;function Vin(e,n){var t=Bin(e),a=!t&&Hin(e),r=!t&&!a&&Jin(e),o=!t&&!a&&!r&&Win(e),i=t||a||r||o,u=i?Uin(e.length,String):[],l=u.length;for(var c in e)(n||zin.call(e,c))&&!(i&&(c=="length"||r&&(c=="offset"||c=="parent")||o&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||qin(c,l)))&&u.push(c);return u}N_e.exports=Vin});var k_e=_e((ILa,O_e)=>{var Qin=Object.prototype;function Yin(e){var n=e&&e.constructor,t=typeof n=="function"&&n.prototype||Qin;return e===t}O_e.exports=Yin});var H_e=_e((TLa,U_e)=>{function Xin(e,n){return function(t){return e(n(t))}}U_e.exports=Xin});var J_e=_e((FLa,B_e)=>{var Zin=H_e(),Kin=Zin(Object.keys,Object);B_e.exports=Kin});var W_e=_e((MLa,q_e)=>{var eun=k_e(),nun=J_e(),tun=Object.prototype,aun=tun.hasOwnProperty;function run(e){if(!eun(e))return nun(e);var n=[];for(var t in Object(e))aun.call(e,t)&&t!="constructor"&&n.push(t);return n}q_e.exports=run});var z_e=_e((GLa,$_e)=>{var oun=Hk(),iun=Vk();function uun(e){return e!=null&&iun(e.length)&&!oun(e)}$_e.exports=uun});var Q_e=_e((ALa,V_e)=>{var lun=P_e(),cun=W_e(),sun=z_e();function fun(e){return sun(e)?lun(e):cun(e)}V_e.exports=fun});var X_e=_e((xLa,Y_e)=>{var vun=t_e(),pun=c_e(),mun=Q_e();function dun(e){return vun(e,mun,pun)}Y_e.exports=dun});var ehe=_e((LLa,K_e)=>{var Z_e=X_e(),_un=1,hun=Object.prototype,gun=hun.hasOwnProperty;function Dun(e,n,t,a,r,o){var i=t&_un,u=Z_e(e),l=u.length,c=Z_e(n),s=c.length;if(l!=s&&!i)return!1;for(var f=l;f--;){var v=u[f];if(!(i?v in n:gun.call(n,v)))return!1}var p=o.get(e),d=o.get(n);if(p&&d)return p==n&&d==e;var y=!0;o.set(e,n),o.set(n,e);for(var h=i;++f{var yun=ID(),bun=$0(),Run=yun(bun,"DataView");nhe.exports=Run});var rhe=_e((NLa,ahe)=>{var wun=ID(),Sun=$0(),Eun=wun(Sun,"Promise");ahe.exports=Eun});var ihe=_e((PLa,ohe)=>{var Cun=ID(),Iun=$0(),Tun=Cun(Iun,"Set");ohe.exports=Tun});var lhe=_e((OLa,uhe)=>{var Fun=ID(),Mun=$0(),Gun=Fun(Mun,"WeakMap");uhe.exports=Gun});var _he=_e((kLa,dhe)=>{var Xk=the(),Zk=lx(),Kk=rhe(),eU=ihe(),nU=lhe(),che=DI(),dR=Jk(),she="[object Map]",Aun="[object Object]",fhe="[object Promise]",vhe="[object Set]",phe="[object WeakMap]",mhe="[object DataView]",xun=dR(Xk),Lun=dR(Zk),jun=dR(Kk),Nun=dR(eU),Pun=dR(nU),TD=che;(Xk&&TD(new Xk(new ArrayBuffer(1)))!=mhe||Zk&&TD(new Zk)!=she||Kk&&TD(Kk.resolve())!=fhe||eU&&TD(new eU)!=vhe||nU&&TD(new nU)!=phe)&&(TD=function(e){var n=che(e),t=n==Aun?e.constructor:void 0,a=t?dR(t):"";if(a)switch(a){case xun:return mhe;case Lun:return she;case jun:return fhe;case Nun:return vhe;case Pun:return phe}return n});dhe.exports=TD});var She=_e((ULa,whe)=>{var tU=Fde(),Oun=Wk(),kun=Xde(),Uun=ehe(),hhe=_he(),ghe=sx(),Dhe=zk(),Hun=Yk(),Bun=1,yhe="[object Arguments]",bhe="[object Array]",fx="[object Object]",Jun=Object.prototype,Rhe=Jun.hasOwnProperty;function qun(e,n,t,a,r,o){var i=ghe(e),u=ghe(n),l=i?bhe:hhe(e),c=u?bhe:hhe(n);l=l==yhe?fx:l,c=c==yhe?fx:c;var s=l==fx,f=c==fx,v=l==c;if(v&&Dhe(e)){if(!Dhe(n))return!1;i=!0,s=!1}if(v&&!s)return o||(o=new tU),i||Hun(e)?Oun(e,n,t,a,r,o):kun(e,n,l,t,a,r,o);if(!(t&Bun)){var p=s&&Rhe.call(e,"__wrapped__"),d=f&&Rhe.call(n,"__wrapped__");if(p||d){var y=p?e.value():e,h=d?n.value():n;return o||(o=new tU),r(y,h,t,a,o)}}return v?(o||(o=new tU),Uun(e,n,t,a,r,o)):!1}whe.exports=qun});var The=_e((HLa,Ihe)=>{var Wun=She(),Ehe=RI();function Che(e,n,t,a,r){return e===n?!0:e==null||n==null||!Ehe(e)&&!Ehe(n)?e!==e&&n!==n:Wun(e,n,t,a,Che,r)}Ihe.exports=Che});var Mhe=_e((BLa,Fhe)=>{var $un=The();function zun(e,n){return $un(e,n)}Fhe.exports=zun});var mge=_e((t9a,bln)=>{bln.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 Sx=_e(xI=>{"use strict";Object.defineProperty(xI,"__esModule",{value:!0});xI.Direction=void 0;var kcn;(function(e){e.Right="to right",e.Left="to left",e.Down="to bottom",e.Up="to top"})(kcn=xI.Direction||(xI.Direction={}))});var xU=_e(Zt=>{"use strict";var LI=Zt&&Zt.__spreadArray||function(e,n,t){if(t||arguments.length===2)for(var a=0,r=n.length,o;ae)return l;if(c&&ca)return a;if(e=t)throw new RangeError("min (".concat(n,") is equal/bigger than max (").concat(t,")"));if(et)throw new RangeError("value (".concat(e,") is bigger than max (").concat(t,")"))}Zt.checkBoundaries=Wcn;function $cn(e,n,t){return et?t:e}Zt.checkValuesAgainstBoundaries=$cn;function zcn(e){if(!(e.length<2)&&!e.slice(1).every(function(n,t){return e[t]<=n}))throw new RangeError("values={[".concat(e,"]} needs to be sorted when allowOverlap={false}"))}Zt.checkInitialOverlap=zcn;function Vcn(e){var n=window.getComputedStyle(e);return{top:parseInt(n["margin-top"],10),bottom:parseInt(n["margin-bottom"],10),left:parseInt(n["margin-left"],10),right:parseInt(n["margin-right"],10)}}Zt.getMargin=Vcn;function Qcn(e){var n=window.getComputedStyle(e);return{top:parseInt(n["padding-top"],10)+parseInt(n["border-top-width"],10),bottom:parseInt(n["padding-bottom"],10)+parseInt(n["border-bottom-width"],10),left:parseInt(n["padding-left"],10)+parseInt(n["border-left-width"],10),right:parseInt(n["padding-right"],10)+parseInt(n["border-right-width"],10)}}Zt.getPaddingAndBorder=Qcn;function Ycn(e,n,t){var a=t?-1:1;e.forEach(function(r,o){return vDe(r,a*n[o].x,n[o].y)})}Zt.translateThumbs=Ycn;function Xcn(e,n,t,a){for(var r=0,o=mDe(e[0],n,t,a),i=1;ii?l:i},e.getBoundingClientRect().width));return o},asn=function(e,n,t,a,r,o,i){i===void 0&&(i=function(c){return c});var u=[],l=function(c){var s=pDe(t[c],a[c],r,o,i),f=n[c].x;n.forEach(function(v,p){var d=v.x,y=pDe(t[p],a[p],r,o,i);c!==p&&(f>=d&&f<=d+y||f+s>=d&&f+s<=d+y)&&(u.includes(p)||(u.push(c),u.push(p),u=LI(LI([],u,!0),[c,p],!1),l(p)))})};return l(e),Array.from(new Set(u.sort()))},rsn=function(e,n,t,a,r,o){a===void 0&&(a=.1),r===void 0&&(r=" - "),o===void 0&&(o=function(p){return p});var i=(0,Zt.getStepDecimals)(a),u=(0,AU.useState)({}),l=u[0],c=u[1],s=(0,AU.useState)(o(n[t].toFixed(i))),f=s[0],v=s[1];return(0,AU.useEffect)(function(){if(e){var p=e.getThumbs();if(p.length<1)return;var d={},y=e.getOffsets(),h=asn(t,y,p,n,r,i,o),g=o(n[t].toFixed(i));if(h.length){var S=h.reduce(function(k,K,oe,Te){return k.length?LI(LI([],k,!0),[y[Te[oe]].x],!1):[y[Te[oe]].x]},[]);if(Math.min.apply(Math,S)===y[t].x){var M=[];h.forEach(function(k){M.push(n[k].toFixed(i))}),g=Array.from(new Set(M.sort(function(k,K){return parseFloat(k)-parseFloat(K)}))).map(o).join(r);var P=Math.min.apply(Math,S),O=Math.max.apply(Math,S),T=p[h[S.indexOf(O)]].getBoundingClientRect().width;d.left="".concat(Math.abs(P-(O+T))/2,"px"),d.transform="translate(-50%, 0)"}else d.visibility="hidden"}v(g),c(d)}},[e,n]),[f,l]};Zt.useThumbOverlap=rsn;function mDe(e,n,t,a){var r=e.getBoundingClientRect(),o=r.left,i=r.top,u=r.width,l=r.height;return fDe(a)?Math.abs(t-(i+l/2)):Math.abs(n-(o+u/2))}});var _De=_e(Ds=>{"use strict";var osn=Ds&&Ds.__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)}}(),isn=Ds&&Ds.__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]}),usn=Ds&&Ds.__setModuleDefault||(Object.create?function(e,n){Object.defineProperty(e,"default",{enumerable:!0,value:n})}:function(e,n){e.default=n}),lsn=Ds&&Ds.__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)&&isn(n,e,t);return usn(n,e),n},dDe=Ds&&Ds.__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,Ka.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,Ka.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,Ka.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,Ka.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),p=c||s===$i.Direction.Left||s===$i.Direction.Down?-1:1;v!==-1&&(csn.includes(r.key)?(r.preventDefault(),a.setState({draggedThumbIndex:v,isChanged:!0}),u((0,Ka.replaceAt)(i,v,a.normalizeValue(i[v]+p*(r.key==="PageUp"?l*10:l),v)))):ssn.includes(r.key)?(r.preventDefault(),a.setState({draggedThumbIndex:v,isChanged:!0}),u((0,Ka.replaceAt)(i,v,a.normalizeValue(i[v]-p*(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,p=c.onChange,d=c.values,y=c.step,h=c.rtl;if(u===-1&&l[0]===-1&&l[1]===-1)return null;var g=a.trackRef.current;if(!g)return null;var S=g.getBoundingClientRect(),M=(0,Ka.isVertical)(s)?S.height:S.width;if(l[0]!==-1&&l[1]!==-1){var P=r-l[0],O=o-l[1],T=0;switch(s){case $i.Direction.Right:case $i.Direction.Left:T=P/M*(v-f);break;case $i.Direction.Down:case $i.Direction.Up:T=O/M*(v-f);break;default:(0,Ka.assertUnreachable)(s)}if(h&&(T*=-1),Math.abs(T)>=y/2){for(var k=0;kv?T=v-d[k]:K=y/2&&p((0,Ka.replaceAt)(d,u,a.normalizeValue(Te,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,Ka.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,Ka.isVertical)(this.props.direction)?"ns-resize":"ew-resize":l.length===1&&!v?"pointer":"inherit"},onMouseDown:v?Ka.voidFn:this.onMouseDownTrack,onTouchStart:v?Ka.voidFn:this.onTouchStartTrack,ref:this.trackRef},isDragged:this.state.draggedThumbIndex>-1,disabled:v,children:dDe(dDe([],h.map(function(g,S,M){return u({props:{style:t.props.direction===$i.Direction.Left||t.props.direction===$i.Direction.Right?{position:"absolute",left:"".concat(g[0],"px"),marginTop:"".concat(g[1],"px")}:{position:"absolute",top:"".concat(g[0],"px"),marginLeft:"".concat(g[1],"px")},key:"mark".concat(S),ref:t.markRefs[S]},index:S})}),!0),l.map(function(g,S){var M=t.state.draggedThumbIndex===S;return o({index:S,value:g,isDragged:M,props:{style:{position:"absolute",zIndex:y[S],cursor:v?"inherit":M?"grabbing":"grab",userSelect:"none",touchAction:"none",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none"},key:S,tabIndex:v?void 0:0,"aria-valuemax":f?s:l[S+1]||s,"aria-valuemin":f?c:l[S-1]||c,"aria-valuenow":g,draggable:!1,ref:t.thumbRefs[S],role:"slider",onKeyDown:v?Ka.voidFn:t.onKeyDown,onKeyUp:v?Ka.voidFn:t.onKeyUp}})}),!0)})},n.defaultProps={step:1,direction:$i.Direction.Right,rtl:!1,disabled:!1,allowOverlap:!1,draggableTrack:!1,min:0,max:100},n}(Ex.Component);Ds.default=fsn});var hDe=_e(il=>{"use strict";var vsn=il&&il.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(il,"__esModule",{value:!0});il.checkValuesAgainstBoundaries=il.relativeValue=il.useThumbOverlap=il.Direction=il.getTrackBackground=il.Range=void 0;var psn=vsn(_De());il.Range=psn.default;var Cx=xU();Object.defineProperty(il,"getTrackBackground",{enumerable:!0,get:function(){return Cx.getTrackBackground}});Object.defineProperty(il,"useThumbOverlap",{enumerable:!0,get:function(){return Cx.useThumbOverlap}});Object.defineProperty(il,"relativeValue",{enumerable:!0,get:function(){return Cx.relativeValue}});Object.defineProperty(il,"checkValuesAgainstBoundaries",{enumerable:!0,get:function(){return Cx.checkValuesAgainstBoundaries}});var msn=Sx();Object.defineProperty(il,"Direction",{enumerable:!0,get:function(){return msn.Direction}})});var bR=_e((vKa,TDe)=>{"use strict";var IDe=Number.isNaN||function(n){return typeof n=="number"&&n!==n};function wsn(e,n){return!!(e===n||IDe(e)&&IDe(n))}function Ssn(e,n){if(e.length!==n.length)return!1;for(var t=0;t{function LU(e,n){return Om.exports=LU=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,a){return t.__proto__=a,t},Om.exports.__esModule=!0,Om.exports.default=Om.exports,LU(e,n)}Om.exports=LU,Om.exports.__esModule=!0,Om.exports.default=Om.exports});var NU=_e((mKa,NI)=>{var Csn=jU();function Isn(e,n){e.prototype=Object.create(n.prototype),e.prototype.constructor=e,Csn(e,n)}NI.exports=Isn,NI.exports.__esModule=!0,NI.exports.default=NI.exports});var OU=_e(PU=>{"use strict";Object.defineProperty(PU,"__esModule",{value:!0});function Tsn(e){if(e.sheet)return e.sheet;for(var n=0;n{"use strict";Object.defineProperty(kU,"__esModule",{value:!0});function Gsn(e){function n(x,Y,fe,he,U){for(var pe=0,V=0,je=0,Me=0,He,en,Ne=0,Fn=0,fn,tt=fn=He=0,In=0,at=0,Dt=0,Gn=0,At=fe.length,rt=At-1,qn,vn="",vt="",Va="",Ee="",Qe;InHe)&&(Gn=(vn=vn.replace(" ",":")).length),0he&&(he=(Y=Y.trim()).charCodeAt(0)),he){case 38:return Y.replace(g,"$1"+x.trim());case 58:return x.trim()+Y.replace(g,"$1"+x.trim());default:if(0<1*fe&&0V.charCodeAt(8))break;case 115:U=U.replace(V,"-webkit-"+V)+";"+U;break;case 207:case 102:U=U.replace(V,"-webkit-"+(102fe.charCodeAt(0)&&(fe=fe.trim()),z=fe,fe=[z],0{"use strict";Object.defineProperty(UU,"__esModule",{value:!0});var Asn=function(n){var t=new WeakMap;return function(a){if(t.has(a))return t.get(a);var r=n(a);return t.set(a,r),r}};UU.default=Asn});var Tx=_e(BU=>{"use strict";Object.defineProperty(BU,"__esModule",{value:!0});function xsn(e){return e&&typeof e=="object"&&"default"in e?e.default:e}var Lsn=OU(),jsn=xsn(FDe());MDe();var HU="/*|*/",Nsn=HU+"}";function Psn(e){e&&Ix.current.insert(e+"}")}var Ix={current:null},Osn=function(n,t,a,r,o,i,u,l,c,s){switch(n){case 1:{switch(t.charCodeAt(0)){case 64:return Ix.current.insert(t+";"),"";case 108:if(t.charCodeAt(2)===98)return""}break}case 2:{if(l===0)return t+HU;break}case 3:switch(l){case 102:case 112:return Ix.current.insert(a[0]+t),"";default:return t+(s===0?HU:"")}case-2:t.split(Nsn).forEach(Psn)}},ksn=function(n){n===void 0&&(n={});var t=n.key||"css",a;n.prefix!==void 0&&(a={prefix:n.prefix});var r=new jsn(a),o={},i;{i=n.container||document.head;var u=document.querySelectorAll("style[data-emotion-"+t+"]");Array.prototype.forEach.call(u,function(v){var p=v.getAttribute("data-emotion-"+t);p.split(" ").forEach(function(d){o[d]=!0}),v.parentNode!==i&&i.appendChild(v)})}var l;if(r.use(n.stylisPlugins)(Osn),l=function(p,d,y,h){var g=d.name;if(Ix.current=y,!1)var S;r(p,d.styles),h&&(f.inserted[g]=!0)},!1)var c,s;var f={key:t,sheet:new Lsn.StyleSheet({key:t,container:i,nonce:n.nonce,speedy:n.speedy}),nonce:n.nonce,inserted:o,registered:{},insert:l};return f};BU.default=ksn});var JU=_e(Fx=>{"use strict";Object.defineProperty(Fx,"__esModule",{value:!0});var Usn=!0;function Hsn(e,n,t){var a="";return t.split(" ").forEach(function(r){e[r]!==void 0?n.push(e[r]):a+=r+" "}),a}var Bsn=function(n,t,a){var r=n.key+"-"+t.name;if((a===!1||Usn===!1&&n.compat!==void 0)&&n.registered[r]===void 0&&(n.registered[r]=t.styles),n.inserted[t.name]===void 0){var o=t;do{var i=n.insert("."+r,o,n.sheet,!0);o=o.next}while(o!==void 0)}};Fx.getRegisteredStyles=Hsn;Fx.insertStyles=Bsn});var GDe=_e(qU=>{"use strict";Object.defineProperty(qU,"__esModule",{value:!0});function Jsn(e){for(var n=0,t,a=0,r=e.length;r>=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)}qU.default=Jsn});var ADe=_e(WU=>{"use strict";Object.defineProperty(WU,"__esModule",{value:!0});var qsn={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};WU.default=qsn});var xDe=_e($U=>{"use strict";Object.defineProperty($U,"__esModule",{value:!0});function Wsn(e){var n={};return function(t){return n[t]===void 0&&(n[t]=e(t)),n[t]}}$U.default=Wsn});var Mx=_e(QU=>{"use strict";Object.defineProperty(QU,"__esModule",{value:!0});function zU(e){return e&&typeof e=="object"&&"default"in e?e.default:e}var $sn=zU(GDe()),zsn=zU(ADe()),Vsn=zU(xDe()),Qsn=/[A-Z]|^ms/g,Ysn=/_EMO_([^_]+?)_([^]*?)_EMO_/g,LDe=function(n){return n.charCodeAt(1)===45},jDe=function(n){return n!=null&&typeof n!="boolean"},VU=Vsn(function(e){return LDe(e)?e:e.replace(Qsn,"-$&").toLowerCase()}),NDe=function(n,t){switch(n){case"animation":case"animationName":if(typeof t=="string")return t.replace(Ysn,function(a,r,o){return V0={name:r,styles:o,next:V0},r})}return zsn[n]!==1&&!LDe(n)&&typeof t=="number"&&t!==0?t+"px":t};function PI(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 V0={name:t.name,styles:t.styles,next:V0},t.name;if(t.styles!==void 0){var r=t.next;if(r!==void 0)for(;r!==void 0;)V0={name:r.name,styles:r.styles,next:V0},r=r.next;var o=t.styles+";";return o}return Xsn(e,n,t)}case"function":{if(e!==void 0){var i=V0,u=t(e);return V0=i,PI(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 Xsn(e,n,t){var a="";if(Array.isArray(t))for(var r=0;r{"use strict";NU();var km=Fl(),Ksn=Tx(),ODe=JU(),efn=Mx();function nfn(e){return e&&e.__esModule?e:{default:e}}var tfn=nfn(Ksn),YU=Object.prototype.hasOwnProperty,kDe=km.createContext(typeof HTMLElement!="undefined"?tfn.default():null),UDe=km.createContext({}),afn=kDe.Provider,HDe=function(n){var t=function(r,o){return km.createElement(kDe.Consumer,null,function(i){return n(r,i,o)})};return km.forwardRef(t)},XU="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",rfn=function(n,t){var a={};for(var r in t)YU.call(t,r)&&(a[r]=t[r]);if(a[XU]=n,!1){var o;if(o.stack)var i}return a},ofn=function(){return null},BDe=function(n,t,a,r){var o=a===null?t.css:t.css(a);typeof o=="string"&&n.registered[o]!==void 0&&(o=n.registered[o]);var i=t[XU],u=[o],l="";typeof t.className=="string"?l=ODe.getRegisteredStyles(n.registered,u,t.className):t.className!=null&&(l=t.className+" ");var c=efn.serializeStyles(u);if(!1)var s;var f=ODe.insertStyles(n,c,typeof i=="string");l+=n.key+"-"+c.name;var v={};for(var p in t)YU.call(t,p)&&p!=="css"&&p!==XU&&(v[p]=t[p]);v.ref=r,v.className=l;var d=km.createElement(i,v),y=km.createElement(ofn,null);return km.createElement(km.Fragment,null,y,d)},ifn=HDe(function(e,n,t){return typeof e.css=="function"?km.createElement(UDe.Consumer,null,function(a){return BDe(n,e,a,t)}):BDe(n,e,null,t)});AD.CacheProvider=afn;AD.Emotion=ifn;AD.ThemeContext=UDe;AD.createEmotionProps=rfn;AD.hasOwnProperty=YU;AD.withEmotionCache=HDe});var Q0=_e(ZU=>{"use strict";Object.defineProperty(ZU,"__esModule",{value:!0});var ufn=Mx();function lfn(){for(var e=arguments.length,n=new Array(e),t=0;t{"use strict";Object.defineProperty(Tv,"__esModule",{value:!0});var cfn=NU(),Y0=Fl();Tx();var X0=JDe(),KU=JU(),eH=Mx(),sfn=OU(),ffn=Q0();function qDe(e){return e&&e.__esModule?e:{default:e}}var vfn=qDe(cfn),WDe=qDe(ffn),$De=function(n,t){var a=arguments;if(t==null||!X0.hasOwnProperty.call(t,"css"))return Y0.createElement.apply(void 0,a);var r=a.length,o=new Array(r);o[0]=X0.Emotion,o[1]=X0.createEmotionProps(n,t);for(var i=2;i{"use strict";var RR,OI,Gx,nH;typeof performance=="object"&&typeof performance.now=="function"?(VDe=performance,yr.unstable_now=function(){return VDe.now()}):(tH=Date,QDe=tH.now(),yr.unstable_now=function(){return tH.now()-QDe});var VDe,tH,QDe;typeof window=="undefined"||typeof MessageChannel!="function"?(wR=null,aH=null,rH=function(){if(wR!==null)try{var e=yr.unstable_now();wR(!0,e),wR=null}catch(n){throw setTimeout(rH,0),n}},RR=function(e){wR!==null?setTimeout(RR,0,e):(wR=e,setTimeout(rH,0))},OI=function(e,n){aH=setTimeout(e,n)},Gx=function(){clearTimeout(aH)},yr.unstable_shouldYield=function(){return!1},nH=yr.unstable_forceFrameRate=function(){}):(YDe=window.setTimeout,XDe=window.clearTimeout,typeof console!="undefined"&&(ZDe=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 ZDe!="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")),kI=!1,UI=null,Ax=-1,oH=5,iH=0,yr.unstable_shouldYield=function(){return yr.unstable_now()>=iH},nH=function(){},yr.unstable_forceFrameRate=function(e){0>e||125>>1,r=e[a];if(r!==void 0&&0jx(i,t))l!==void 0&&0>jx(l,i)?(e[a]=l,e[u]=t,a=u):(e[a]=i,e[o]=t,a=o);else if(l!==void 0&&0>jx(l,t))e[a]=l,e[u]=t,a=u;else break e}}return n}return null}function jx(e,n){var t=e.sortIndex-n.sortIndex;return t!==0?t:e.id-n.id}var Z0=[],U_=[],Dfn=1,_f=null,ul=3,Nx=!1,xD=!1,HI=!1;function cH(e){for(var n=Fv(U_);n!==null;){if(n.callback===null)Lx(U_);else if(n.startTime<=e)Lx(U_),n.sortIndex=n.expirationTime,lH(Z0,n);else break;n=Fv(U_)}}function sH(e){if(HI=!1,cH(e),!xD)if(Fv(Z0)!==null)xD=!0,RR(fH);else{var n=Fv(U_);n!==null&&OI(sH,n.startTime-e)}}function fH(e,n){xD=!1,HI&&(HI=!1,Gx()),Nx=!0;var t=ul;try{for(cH(n),_f=Fv(Z0);_f!==null&&(!(_f.expirationTime>n)||e&&!yr.unstable_shouldYield());){var a=_f.callback;if(typeof a=="function"){_f.callback=null,ul=_f.priorityLevel;var r=a(_f.expirationTime<=n);n=yr.unstable_now(),typeof r=="function"?_f.callback=r:_f===Fv(Z0)&&Lx(Z0),cH(n)}else Lx(Z0);_f=Fv(Z0)}if(_f!==null)var o=!0;else{var i=Fv(U_);i!==null&&OI(sH,i.startTime-n),o=!1}return o}finally{_f=null,ul=t,Nx=!1}}var yfn=nH;yr.unstable_IdlePriority=5;yr.unstable_ImmediatePriority=1;yr.unstable_LowPriority=4;yr.unstable_NormalPriority=3;yr.unstable_Profiling=null;yr.unstable_UserBlockingPriority=2;yr.unstable_cancelCallback=function(e){e.callback=null};yr.unstable_continueExecution=function(){xD||Nx||(xD=!0,RR(fH))};yr.unstable_getCurrentPriorityLevel=function(){return ul};yr.unstable_getFirstCallbackNode=function(){return Fv(Z0)};yr.unstable_next=function(e){switch(ul){case 1:case 2:case 3:var n=3;break;default:n=ul}var t=ul;ul=n;try{return e()}finally{ul=t}};yr.unstable_pauseExecution=function(){};yr.unstable_requestPaint=yfn;yr.unstable_runWithPriority=function(e,n){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var t=ul;ul=e;try{return n()}finally{ul=t}};yr.unstable_scheduleCallback=function(e,n,t){var a=yr.unstable_now();switch(typeof t=="object"&&t!==null?(t=t.delay,t=typeof t=="number"&&0a?(e.sortIndex=t,lH(U_,e),Fv(Z0)===null&&e===Fv(U_)&&(HI?Gx():HI=!0,OI(sH,t-a))):(e.sortIndex=r,lH(Z0,e),xD||Nx||(xD=!0,RR(fH))),e};yr.unstable_wrapCallback=function(e){var n=ul;return function(){var t=ul;ul=n;try{return e.apply(this,arguments)}finally{ul=t}}}});var nye=_e((TKa,eye)=>{"use strict";eye.exports=KDe()});var Hbe=_e(Rf=>{"use strict";var Px=Fl(),Do=k2(),du=nye();function Cn(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;tn}return!1}function ql(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 Nu={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Nu[e]=new ql(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];Nu[n]=new ql(n,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Nu[e]=new ql(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Nu[e]=new ql(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){Nu[e]=new ql(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Nu[e]=new ql(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Nu[e]=new ql(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Nu[e]=new ql(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Nu[e]=new ql(e,5,!1,e.toLowerCase(),null,!1,!1)});var vH=/[\-:]([a-z])/g;function pH(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(vH,pH);Nu[n]=new ql(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(vH,pH);Nu[n]=new ql(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(vH,pH);Nu[n]=new ql(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Nu[e]=new ql(e,1,!1,e.toLowerCase(),null,!1,!1)});Nu.xlinkHref=new ql("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Nu[e]=new ql(e,1,!1,e.toLowerCase(),null,!0,!0)});function mH(e,n,t,a){var r=Nu.hasOwnProperty(n)?Nu[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{SH=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?zI(e):""}function Efn(e){switch(e.tag){case 5:return zI(e.type);case 16:return zI("Lazy");case 13:return zI("Suspense");case 19:return zI("SuspenseList");case 0:case 2:case 15:return e=Hx(e.type,!1),e;case 11:return e=Hx(e.type.render,!1),e;case 22:return e=Hx(e.type._render,!1),e;case 1:return e=Hx(e.type,!0),e;default:return""}}function ER(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 H_:return"Fragment";case ND:return"Portal";case qI:return"Profiler";case dH:return"StrictMode";case WI:return"Suspense";case kx:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case hH:return(e.displayName||"Context")+".Consumer";case _H:return(e._context.displayName||"Context")+".Provider";case Ox:var n=e.render;return n=n.displayName||n.name||"",e.displayName||(n!==""?"ForwardRef("+n+")":"ForwardRef");case Ux:return ER(e.type);case DH:return ER(e._render);case gH:n=e._payload,e=e._init;try{return ER(e(n))}catch{}}return null}function B_(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function lye(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function Cfn(e){var n=lye(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 Bx(e){e._valueTracker||(e._valueTracker=Cfn(e))}function cye(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),a="";return e&&(a=lye(e)?e.checked?"true":"false":e.value),e=a,e!==t?(n.setValue(e),!0):!1}function Jx(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 EH(e,n){var t=n.checked;return Do({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t!=null?t:e._wrapperState.initialChecked})}function sye(e,n){var t=n.defaultValue==null?"":n.defaultValue,a=n.checked!=null?n.checked:n.defaultChecked;t=B_(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 fye(e,n){n=n.checked,n!=null&&mH(e,"checked",n,!1)}function CH(e,n){fye(e,n);var t=B_(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")?IH(e,n.type,t):n.hasOwnProperty("defaultValue")&&IH(e,n.type,B_(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function vye(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 IH(e,n,t){(n!=="number"||Jx(e.ownerDocument)!==e)&&(t==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}function Ifn(e){var n="";return Px.Children.forEach(e,function(t){t!=null&&(n+=t)}),n}function TH(e,n){return e=Do({children:void 0},n),(n=Ifn(n.children))&&(e.children=n),e}function CR(e,n,t,a){if(e=e.options,n){n={};for(var r=0;r=t.length))throw Error(Cn(93));t=t[0]}n=t}n==null&&(n=""),t=n}e._wrapperState={initialValue:B_(t)}}function mye(e,n){var t=B_(n.value),a=B_(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 dye(e){var n=e.textContent;n===e._wrapperState.initialValue&&n!==""&&n!==null&&(e.value=n)}var MH={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function _ye(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 GH(e,n){return e==null||e==="http://www.w3.org/1999/xhtml"?_ye(n):e==="http://www.w3.org/2000/svg"&&n==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var qx,hye=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!==MH.svg||"innerHTML"in e)e.innerHTML=n;else{for(qx=qx||document.createElement("div"),qx.innerHTML=""+n.valueOf().toString()+"",n=qx.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function VI(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&t.nodeType===3){t.nodeValue=n;return}}e.textContent=n}var QI={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},Tfn=["Webkit","ms","Moz","O"];Object.keys(QI).forEach(function(e){Tfn.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),QI[n]=QI[e]})});function gye(e,n,t){return n==null||typeof n=="boolean"||n===""?"":t||typeof n!="number"||n===0||QI.hasOwnProperty(e)&&QI[e]?(""+n).trim():n+"px"}function Dye(e,n){e=e.style;for(var t in n)if(n.hasOwnProperty(t)){var a=t.indexOf("--")===0,r=gye(t,n[t],a);t==="float"&&(t="cssFloat"),a?e.setProperty(t,r):e[t]=r}}var Ffn=Do({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 AH(e,n){if(n){if(Ffn[e]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(Cn(137,e));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(Cn(60));if(!(typeof n.dangerouslySetInnerHTML=="object"&&"__html"in n.dangerouslySetInnerHTML))throw Error(Cn(61))}if(n.style!=null&&typeof n.style!="object")throw Error(Cn(62))}}function xH(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 LH(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var jH=null,IR=null,TR=null;function yye(e){if(e=pT(e)){if(typeof jH!="function")throw Error(Cn(280));var n=e.stateNode;n&&(n=f7(n),jH(e.stateNode,e.type,n))}}function bye(e){IR?TR?TR.push(e):TR=[e]:IR=e}function Rye(){if(IR){var e=IR,n=TR;if(TR=IR=null,yye(e),n)for(e=0;ea?0:1<t;t++)n.push(e);return n}function Xx(e,n,t){e.pendingLanes|=n;var a=n-1;e.suspendedLanes&=a,e.pingedLanes&=a,e=e.eventTimes,n=31-$_(n),e[n]=t}var $_=Math.clz32?Math.clz32:Wfn,Jfn=Math.log,qfn=Math.LN2;function Wfn(e){return e===0?32:31-(Jfn(e)/qfn|0)|0}var $fn=du.unstable_UserBlockingPriority,zfn=du.unstable_runWithPriority,Zx=!0;function Vfn(e,n,t,a){PD||PH();var r=QH,o=PD;PD=!0;try{wye(r,e,n,t,a)}finally{(PD=o)||kH()}}function Qfn(e,n,t,a){zfn($fn,QH.bind(null,e,n,t,a))}function QH(e,n,t,a){if(Zx){var r;if((r=(n&4)==0)&&0=iT),Qye=String.fromCharCode(32),Yye=!1;function Xye(e,n){switch(e){case"keyup":return gvn.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Zye(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var LR=!1;function yvn(e,n){switch(e){case"compositionend":return Zye(n);case"keypress":return n.which!==32?null:(Yye=!0,Qye);case"textInput":return e=n.data,e===Qye&&Yye?null:e;default:return null}}function bvn(e,n){if(LR)return e==="compositionend"||!aB&&Xye(e,n)?(e=Jye(),Kx=XH=z_=null,LR=!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=r1e(t)}}function i1e(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?i1e(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function u1e(){for(var e=window,n=Jx();n instanceof e.HTMLIFrameElement;){try{var t=typeof n.contentWindow.location.href=="string"}catch{t=!1}if(t)e=n.contentWindow;else break;n=Jx(e.document)}return n}function oB(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 Gvn=Hm&&"documentMode"in document&&11>=document.documentMode,jR=null,iB=null,sT=null,uB=!1;function l1e(e,n,t){var a=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;uB||jR==null||jR!==Jx(a)||(a=jR,"selectionStart"in a&&oB(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}),sT&&cT(sT,a)||(sT=a,a=u7(iB,"onSelect"),0UR||(e.current=mB[UR],mB[UR]=null,UR--)}function zo(e,n){UR++,mB[UR]=e.current,e.current=n}var Y_={},ll=Q_(Y_),wc=Q_(!1),UD=Y_;function HR(e,n){var t=e.type.contextTypes;if(!t)return Y_;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 Sc(e){return e=e.childContextTypes,e!=null}function v7(){ao(wc),ao(ll)}function w1e(e,n,t){if(ll.current!==Y_)throw Error(Cn(168));zo(ll,n),zo(wc,t)}function S1e(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(Cn(108,ER(n)||"Unknown",r));return Do({},t,a)}function p7(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Y_,UD=ll.current,zo(ll,e),zo(wc,wc.current),!0}function E1e(e,n,t){var a=e.stateNode;if(!a)throw Error(Cn(169));t?(e=S1e(e,n,UD),a.__reactInternalMemoizedMergedChildContext=e,ao(wc),ao(ll),zo(ll,e)):ao(wc),zo(wc,t)}var dB=null,HD=null,Lvn=du.unstable_runWithPriority,_B=du.unstable_scheduleCallback,hB=du.unstable_cancelCallback,jvn=du.unstable_shouldYield,C1e=du.unstable_requestPaint,gB=du.unstable_now,Nvn=du.unstable_getCurrentPriorityLevel,m7=du.unstable_ImmediatePriority,I1e=du.unstable_UserBlockingPriority,T1e=du.unstable_NormalPriority,F1e=du.unstable_LowPriority,M1e=du.unstable_IdlePriority,DB={},Pvn=C1e!==void 0?C1e:function(){},Bm=null,d7=null,yB=!1,G1e=gB(),cl=1e4>G1e?gB:function(){return gB()-G1e};function BR(){switch(Nvn()){case m7:return 99;case I1e:return 98;case T1e:return 97;case F1e:return 96;case M1e:return 95;default:throw Error(Cn(332))}}function A1e(e){switch(e){case 99:return m7;case 98:return I1e;case 97:return T1e;case 96:return F1e;case 95:return M1e;default:throw Error(Cn(332))}}function BD(e,n){return e=A1e(e),Lvn(e,n)}function mT(e,n,t){return e=A1e(e),_B(e,n,t)}function ep(){if(d7!==null){var e=d7;d7=null,hB(e)}x1e()}function x1e(){if(!yB&&Bm!==null){yB=!0;var e=0;try{var n=Bm;BD(99,function(){for(;ek?(K=T,T=null):K=T.sibling;var oe=v(h,T,S[k],M);if(oe===null){T===null&&(T=K);break}e&&T&&oe.alternate===null&&n(h,T),g=o(oe,g,k),O===null?P=oe:O.sibling=oe,O=oe,T=K}if(k===S.length)return t(h,T),P;if(T===null){for(;kk?(K=T,T=null):K=T.sibling;var Te=v(h,T,oe.value,M);if(Te===null){T===null&&(T=K);break}e&&T&&Te.alternate===null&&n(h,T),g=o(Te,g,k),O===null?P=Te:O.sibling=Te,O=Te,T=K}if(oe.done)return t(h,T),P;if(T===null){for(;!oe.done;k++,oe=S.next())oe=f(h,oe.value,M),oe!==null&&(g=o(oe,g,k),O===null?P=oe:O.sibling=oe,O=oe);return P}for(T=a(h,T);!oe.done;k++,oe=S.next())oe=p(T,h,k,oe.value,M),oe!==null&&(e&&oe.alternate!==null&&T.delete(oe.key===null?k:oe.key),g=o(oe,g,k),O===null?P=oe:O.sibling=oe,O=oe);return e&&T.forEach(function(we){return n(h,we)}),P}return function(h,g,S,M){var P=typeof S=="object"&&S!==null&&S.type===H_&&S.key===null;P&&(S=S.props.children);var O=typeof S=="object"&&S!==null;if(O)switch(S.$$typeof){case JI:e:{for(O=S.key,P=g;P!==null;){if(P.key===O){switch(P.tag){case 7:if(S.type===H_){t(h,P.sibling),g=r(P,S.props.children),g.return=h,h=g;break e}break;default:if(P.elementType===S.type){t(h,P.sibling),g=r(P,S.props),g.ref=_T(h,P,S),g.return=h,h=g;break e}}t(h,P);break}else n(h,P);P=P.sibling}S.type===H_?(g=ZR(S.props.children,h.mode,M,S.key),g.return=h,h=g):(M=U7(S.type,S.key,S.props,null,h.mode,M),M.ref=_T(h,g,S),M.return=h,h=M)}return i(h);case ND:e:{for(P=S.key;g!==null;){if(g.key===P)if(g.tag===4&&g.stateNode.containerInfo===S.containerInfo&&g.stateNode.implementation===S.implementation){t(h,g.sibling),g=r(g,S.children||[]),g.return=h,h=g;break e}else{t(h,g);break}else n(h,g);g=g.sibling}g=uJ(S,h.mode,M),g.return=h,h=g}return i(h)}if(typeof S=="string"||typeof S=="number")return S=""+S,g!==null&&g.tag===6?(t(h,g.sibling),g=r(g,S),g.return=h,h=g):(t(h,g),g=iJ(S,h.mode,M),g.return=h,h=g),i(h);if(b7(S))return d(h,g,S,M);if($I(S))return y(h,g,S,M);if(O&&R7(h,S),typeof S=="undefined"&&!P)switch(h.tag){case 1:case 22:case 0:case 11:case 15:throw Error(Cn(152,ER(h.type)||"Component"))}return t(h,g)}}var w7=B1e(!0),J1e=B1e(!1),hT={},np=Q_(hT),gT=Q_(hT),DT=Q_(hT);function JD(e){if(e===hT)throw Error(Cn(174));return e}function EB(e,n){switch(zo(DT,n),zo(gT,e),zo(np,hT),e=n.nodeType,e){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:GH(null,"");break;default:e=e===8?n.parentNode:n,n=e.namespaceURI||null,e=e.tagName,n=GH(n,e)}ao(np),zo(np,n)}function WR(){ao(np),ao(gT),ao(DT)}function q1e(e){JD(DT.current);var n=JD(np.current),t=GH(n,e.type);n!==t&&(zo(gT,e),zo(np,t))}function CB(e){gT.current===e&&(ao(np),ao(gT))}var Vo=Q_(0);function S7(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 Jm=null,eh=null,tp=!1;function W1e(e,n){var t=bf(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 $1e(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 IB(e){if(tp){var n=eh;if(n){var t=n;if(!$1e(e,n)){if(n=PR(t.nextSibling),!n||!$1e(e,n)){e.flags=e.flags&-1025|2,tp=!1,Jm=e;return}W1e(Jm,t)}Jm=e,eh=PR(n.firstChild)}else e.flags=e.flags&-1025|2,tp=!1,Jm=e}}function z1e(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Jm=e}function E7(e){if(e!==Jm)return!1;if(!tp)return z1e(e),tp=!0,!1;var n=e.type;if(e.tag!==5||n!=="head"&&n!=="body"&&!fB(n,e.memoizedProps))for(n=eh;n;)W1e(e,n),n=PR(n.nextSibling);if(z1e(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(Cn(317));e:{for(e=e.nextSibling,n=0;e;){if(e.nodeType===8){var t=e.data;if(t==="/$"){if(n===0){eh=PR(e.nextSibling);break e}n--}else t!=="$"&&t!=="$!"&&t!=="$?"||n++}e=e.nextSibling}eh=null}}else eh=Jm?PR(e.stateNode.nextSibling):null;return!0}function TB(){eh=Jm=null,tp=!1}var $R=[];function FB(){for(var e=0;e<$R.length;e++)$R[e]._workInProgressVersionPrimary=null;$R.length=0}var yT=jD.ReactCurrentDispatcher,Df=jD.ReactCurrentBatchConfig,bT=0,si=null,sl=null,Pu=null,C7=!1,RT=!1;function Ec(){throw Error(Cn(321))}function MB(e,n){if(n===null)return!1;for(var t=0;to))throw Error(Cn(301));o+=1,Pu=sl=null,n.updateQueue=null,yT.current=Bvn,e=t(a,r)}while(RT)}if(yT.current=M7,n=sl!==null&&sl.next!==null,bT=0,Pu=sl=si=null,C7=!1,n)throw Error(Cn(300));return e}function qD(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Pu===null?si.memoizedState=Pu=e:Pu=Pu.next=e,Pu}function WD(){if(sl===null){var e=si.alternate;e=e!==null?e.memoizedState:null}else e=sl.next;var n=Pu===null?si.memoizedState:Pu.next;if(n!==null)Pu=n,sl=e;else{if(e===null)throw Error(Cn(310));sl=e,e={memoizedState:sl.memoizedState,baseState:sl.baseState,baseQueue:sl.baseQueue,queue:sl.queue,next:null},Pu===null?si.memoizedState=Pu=e:Pu=Pu.next=e}return Pu}function ap(e,n){return typeof n=="function"?n(e):n}function wT(e){var n=WD(),t=n.queue;if(t===null)throw Error(Cn(311));t.lastRenderedReducer=e;var a=sl,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((bT&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,si.lanes|=c,IT|=c}l=l.next}while(l!==null&&l!==r);u===null?o=a:u.next=i,hf(a,n.memoizedState)||(Gv=!0),n.memoizedState=a,n.baseState=o,n.baseQueue=u,t.lastRenderedState=a}return[n.memoizedState,t.dispatch]}function ST(e){var n=WD(),t=n.queue;if(t===null)throw Error(Cn(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);hf(o,n.memoizedState)||(Gv=!0),n.memoizedState=o,n.baseQueue===null&&(n.baseState=o),t.lastRenderedState=o}return[o,a]}function V1e(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=(bT&e)===e)&&(n._workInProgressVersionPrimary=a,$R.push(n))),e)return t(n._source);throw $R.push(n),Error(Cn(350))}function Q1e(e,n,t,a){var r=Wl;if(r===null)throw Error(Cn(349));var o=n._getVersion,i=o(n._source),u=yT.current,l=u.useState(function(){return V1e(r,n,t)}),c=l[1],s=l[0];l=Pu;var f=e.memoizedState,v=f.refs,p=v.getSnapshot,d=f.source;f=f.subscribe;var y=si;return e.memoizedState={refs:v,source:n,subscribe:a},u.useEffect(function(){v.getSnapshot=t,v.setSnapshot=c;var h=o(n._source);if(!hf(i,h)){h=t(n._source),hf(s,h)||(c(h),h=th(y),r.mutableReadLanes|=h&r.pendingLanes),h=r.mutableReadLanes,r.entangledLanes|=h;for(var g=r.entanglements,S=h;0t?98:t,function(){e(!0)}),BD(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[V_]=n,e[s7]=a,_be(e,n,!1,!1),n.stateNode=e,i=xH(t,a),t){case"dialog":to("cancel",e),to("close",e),r=a;break;case"iframe":case"object":case"embed":to("load",e),r=a;break;case"video":case"audio":for(r=0;rXB&&(n.flags|=64,o=!0,CT(a,!1),n.lanes=33554432)}else{if(!o)if(e=S7(i),e!==null){if(n.flags|=64,o=!0,t=e.updateQueue,t!==null&&(n.updateQueue=t,n.flags|=4),CT(a,!0),a.tail===null&&a.tailMode==="hidden"&&!i.alternate&&!tp)return n=n.lastEffect=a.lastEffect,n!==null&&(n.nextEffect=null),null}else 2*cl()-a.renderingStartTime>XB&&t!==1073741824&&(n.flags|=64,o=!0,CT(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=cl(),t.sibling=null,n=Vo.current,zo(Vo,o?n&1|2:n&1),t):null;case 23:case 24:return aJ(),e!==null&&e.memoizedState!==null!=(n.memoizedState!==null)&&a.mode!=="unstable-defer-without-hiding"&&(n.flags|=4),null}throw Error(Cn(156,n.tag))}function Wvn(e){switch(e.tag){case 1:Sc(e.type)&&v7();var n=e.flags;return n&4096?(e.flags=n&-4097|64,e):null;case 3:if(WR(),ao(wc),ao(ll),FB(),n=e.flags,(n&64)!=0)throw Error(Cn(285));return e.flags=n&-4097|64,e;case 5:return CB(e),null;case 13:return ao(Vo),n=e.flags,n&4096?(e.flags=n&-4097|64,e):null;case 19:return ao(Vo),null;case 4:return WR(),null;case 10:return RB(e),null;case 23:case 24:return aJ(),null;default:return null}}function HB(e,n){try{var t="",a=n;do t+=Efn(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 BB(e,n){try{console.error(n.value)}catch(t){setTimeout(function(){throw t})}}var $vn=typeof WeakMap=="function"?WeakMap:Map;function Dbe(e,n,t){t=Z_(-1,t),t.tag=3,t.payload={element:null};var a=n.value;return t.callback=function(){L7||(L7=!0,ZB=a),BB(e,n)},t}function ybe(e,n,t){t=Z_(-1,t),t.tag=3;var a=e.type.getDerivedStateFromError;if(typeof a=="function"){var r=n.value;t.payload=function(){return BB(e,n),a(r)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(t.callback=function(){typeof a!="function"&&(rp===null?rp=new Set([this]):rp.add(this),BB(e,n));var i=n.stack;this.componentDidCatch(n.value,{componentStack:i!==null?i:""})}),t}var zvn=typeof WeakSet=="function"?WeakSet:Set;function bbe(e){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(t){oh(e,t)}else n.current=null}function Vvn(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:Mv(n.type,t),a),e.__reactInternalSnapshotBeforeUpdate=n}return;case 3:n.flags&256&&vB(n.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(Cn(163))}function Qvn(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&&(Nbe(t,e),a0n(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:Mv(t.type,n.memoizedProps),e.componentDidUpdate(a,n.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),n=t.updateQueue,n!==null&&P1e(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}P1e(t,n,e)}return;case 5:e=t.stateNode,n===null&&t.flags&4&&g1e(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&&jye(t))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(Cn(163))}function Rbe(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=gye("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 wbe(e,n){if(HD&&typeof HD.onCommitFiberUnmount=="function")try{HD.onCommitFiberUnmount(dB,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)Nbe(n,t);else{a=n;try{r()}catch(o){oh(a,o)}}t=t.next}while(t!==e)}break;case 1:if(bbe(n),e=n.stateNode,typeof e.componentWillUnmount=="function")try{e.props=n.memoizedProps,e.state=n.memoizedState,e.componentWillUnmount()}catch(o){oh(n,o)}break;case 5:bbe(n);break;case 4:Ibe(e,n)}}function Sbe(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 Ebe(e){return e.tag===5||e.tag===3||e.tag===4}function Cbe(e){e:{for(var n=e.return;n!==null;){if(Ebe(n))break e;n=n.return}throw Error(Cn(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(Cn(161))}t.flags&16&&(VI(n,""),t.flags&=-17);e:n:for(t=e;;){for(;t.sibling===null;){if(t.return===null||Ebe(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?JB(e,t,n):qB(e,t,n)}function JB(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=l7));else if(a!==4&&(e=e.child,e!==null))for(JB(e,n,t),e=e.sibling;e!==null;)JB(e,n,t),e=e.sibling}function qB(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(qB(e,n,t),e=e.sibling;e!==null;)qB(e,n,t),e=e.sibling}function Ibe(e,n){for(var t=n,a=!1,r,o;;){if(!a){a=t.return;e:for(;;){if(a===null)throw Error(Cn(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(wbe(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(wbe(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 WB(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[s7]=a,e==="input"&&a.type==="radio"&&a.name!=null&&fye(t,a),xH(e,r),n=xH(e,a),r=0;rr&&(r=i),t&=~o}if(t=r,t=cl()-t,t=(120>t?120:480>t?480:1080>t?1080:1920>t?1920:3e3>t?3e3:4320>t?4320:1960*Xvn(t/1960))-t,10 component higher in the tree to provide a loading indicator or placeholder to display.`)}Ou!==5&&(Ou=2),l=HB(l,u),v=i;do{switch(v.tag){case 3:o=l,v.flags|=4096,n&=-n,v.lanes|=n;var O=Dbe(v,o,n);N1e(v,O);break e;case 1:o=l;var T=v.type,k=v.stateNode;if((v.flags&64)==0&&(typeof T.getDerivedStateFromError=="function"||k!==null&&typeof k.componentDidCatch=="function"&&(rp===null||!rp.has(k)))){v.flags|=4096,n&=-n,v.lanes|=n;var K=ybe(v,o,n);N1e(v,K);break e}}v=v.return}while(v!==null)}jbe(t)}catch(oe){n=oe,Vi===t&&t!==null&&(Vi=t=t.return);continue}break}while(1)}function xbe(){var e=A7.current;return A7.current=M7,e===null?M7:e}function AT(e,n){var t=Kt;Kt|=16;var a=xbe();Wl===e&&fl===n||XR(e,n);do try{Kvn();break}catch(r){Abe(e,r)}while(1);if(bB(),Kt=t,A7.current=a,Vi!==null)throw Error(Cn(261));return Wl=null,fl=0,Ou}function Kvn(){for(;Vi!==null;)Lbe(Vi)}function e0n(){for(;Vi!==null&&!jvn();)Lbe(Vi)}function Lbe(e){var n=Obe(e.alternate,e,$D);e.memoizedProps=e.pendingProps,n===null?jbe(e):Vi=n,$B.current=null}function jbe(e){var n=e;do{var t=n.alternate;if(e=n.return,(n.flags&2048)==0){if(t=qvn(t,n,$D),t!==null){Vi=t;return}if(t=n,t.tag!==24&&t.tag!==23||t.memoizedState===null||($D&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=o1e(S,O),o=o1e(S,i),u&&o&&(P.rangeCount!==1||P.anchorNode!==u.node||P.anchorOffset!==u.offset||P.focusNode!==o.node||P.focusOffset!==o.offset)&&(M=M.createRange(),M.setStart(u.node,u.offset),P.removeAllRanges(),O>i?(P.addRange(M),P.extend(o.node,o.offset)):(M.setEnd(o.node,o.offset),P.addRange(M)))))),M=[],P=S;P=P.parentNode;)P.nodeType===1&&M.push({element:P,left:P.scrollLeft,top:P.scrollTop});for(typeof S.focus=="function"&&S.focus(),S=0;Scl()-YB?XR(e,0):VB|=t),yf(e,n)}function i0n(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=BR()===99?1:2:($m===0&&($m=zR),n=AR(62914560&~$m),n===0&&(n=4194304))),t=bs(),e=O7(e,n),e!==null&&(Xx(e,n,t),yf(e,t))}var Obe;Obe=function(e,n,t){var a=n.lanes;if(e!==null)if(e.memoizedProps!==n.pendingProps||wc.current)Gv=!0;else if((t&a)!=0)Gv=(e.flags&16384)!=0;else{switch(Gv=!1,n.tag){case 3:cbe(n),TB();break;case 5:q1e(n);break;case 1:Sc(n.type)&&p7(n);break;case 4:EB(n,n.stateNode.containerInfo);break;case 10:a=n.memoizedProps.value;var r=n.type._context;zo(_7,r._currentValue),r._currentValue=a;break;case 13:if(n.memoizedState!==null)return(t&n.child.childLanes)!=0?sbe(e,n,t):(zo(Vo,Vo.current&1),n=qm(e,n,t),n!==null?n.sibling:null);zo(Vo,Vo.current&1);break;case 19:if(a=(t&n.childLanes)!=0,(e.flags&64)!=0){if(a)return dbe(e,n,t);n.flags|=64}if(r=n.memoizedState,r!==null&&(r.rendering=null,r.tail=null,r.lastEffect=null),zo(Vo,Vo.current),a)break;return null;case 23:case 24:return n.lanes=0,NB(e,n,t)}return qm(e,n,t)}else Gv=!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=HR(n,ll.current),qR(n,t),r=GB(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,Sc(a)){var o=!0;p7(n)}else o=!1;n.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,wB(n);var i=a.getDerivedStateFromProps;typeof i=="function"&&D7(n,a,i,e),r.updater=y7,n.stateNode=r,r._reactInternals=n,SB(n,a,e,t),n=OB(null,n,a,!0,o,t)}else n.tag=0,Cc(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=l0n(r),e=Mv(r,e),o){case 0:n=PB(null,n,r,e,t);break e;case 1:n=lbe(null,n,r,e,t);break e;case 11:n=rbe(null,n,r,e,t);break e;case 14:n=obe(null,n,r,Mv(r.type,e),a,t);break e}throw Error(Cn(306,r,""))}return n;case 0:return a=n.type,r=n.pendingProps,r=n.elementType===a?r:Mv(a,r),PB(e,n,a,r,t);case 1:return a=n.type,r=n.pendingProps,r=n.elementType===a?r:Mv(a,r),lbe(e,n,a,r,t);case 3:if(cbe(n),a=n.updateQueue,e===null||a===null)throw Error(Cn(282));if(a=n.pendingProps,r=n.memoizedState,r=r!==null?r.element:null,j1e(e,n),dT(n,a,null,t),a=n.memoizedState.element,a===r)TB(),n=qm(e,n,t);else{if(r=n.stateNode,(o=r.hydrate)&&(eh=PR(n.stateNode.containerInfo.firstChild),Jm=n,o=tp=!0),o){if(e=r.mutableSourceEagerHydrationData,e!=null)for(r=0;r{"use strict";function Bbe(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Bbe)}catch(e){console.error(e)}}Bbe(),Jbe.exports=Hbe()});var VD=_e(pJ=>{"use strict";Object.defineProperty(pJ,"__esModule",{value:!0});var fJ=Object.assign||function(e){for(var n=1;n=0||!Object.prototype.hasOwnProperty.call(e,a)||(t[a]=e[a]);return t}function h0n(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function g0n(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 D0n(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 Vbe={position:"absolute",top:0,left:0,visibility:"hidden",height:0,overflow:"scroll",whiteSpace:"pre"},y0n=["extraWidth","injectStyles","inputClassName","inputRef","inputStyle","minWidth","onAutosize","placeholderIsMinWidth"],b0n=function(n){return y0n.forEach(function(t){return delete n[t]}),n},Qbe=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},Ybe=typeof window!="undefined"&&window.navigator?/MSIE |Trident\/|Edge\//.test(window.navigator.userAgent):!1,Xbe=function(){return Ybe?"_"+Math.random().toString(36).substr(2,12):void 0},vJ=function(e){D0n(n,e),Wbe(n,null,[{key:"getDerivedStateFromProps",value:function(a,r){var o=a.id;return o!==r.prevId?{inputId:o||Xbe(),prevId:o}:null}}]);function n(t){h0n(this,n);var a=g0n(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||Xbe(),prevId:t.id},a}return Wbe(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||(Qbe(a,this.sizer),this.placeHolderSizer&&Qbe(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 IJ!="undefined")n(mb(),(Ht(),kg));else{var t={exports:{}};n(e.PropTypes,e.React),e.ReactList=t.exports}})(typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:IJ,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 Y=r();if(Y&&Y.has(x))return Y.get(x);var fe={},he=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var U in x)if(Object.prototype.hasOwnProperty.call(x,U)){var pe=he?Object.getOwnPropertyDescriptor(x,U):null;pe&&(pe.get||pe.set)?Object.defineProperty(fe,U,pe):fe[U]=x[U]}return fe.default=x,Y&&Y.set(x,fe),fe}function i(x){return x&&x.__esModule?x:{default:x}}function u(x){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?u=function(fe){return typeof fe}:u=function(fe){return fe&&typeof Symbol=="function"&&fe.constructor===Symbol&&fe!==Symbol.prototype?"symbol":typeof fe},u(x)}function l(x,Y){if(!(x instanceof Y))throw new TypeError("Cannot call a class as a function")}function c(x,Y){for(var fe=0;fehe&&(je=he),V=pe==="simple"||!V?0:Math.max(Math.min(V,he-je),0),(He=V%Me)&&(V-=He,je+=He),V===fe.from&&je==fe.size?fe:M(M({},fe),{},{from:V,size:je})};_we.exports=(a=t=function(x){f(fe,x);var Y=p(fe);s(fe,null,[{key:"getDerivedStateFromProps",value:function(U,pe){var V=z(U,pe);return V===pe?null:V}}]);function fe(he){var U;return l(this,fe),U=Y.call(this,he),U.state=z(he,{itemsPerRow:1,from:he.initialIndex,size:0}),U.cache={},U.cachedScrollPosition=null,U.prevPrevState={},U.unstable=!1,U.updateCounter=0,U}return s(fe,[{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 pe=this;if(this.props.axis!==U.axis&&this.clearSizeCache(),!this.unstable){if(++this.updateCounter>Tn)return this.unstable=!0,console.error(ue);this.updateCounterTimeoutId||(this.updateCounterTimeoutId=setTimeout(function(){pe.updateCounter=0,delete pe.updateCounterTimeoutId},0)),this.updateFrame()}}},{key:"maybeSetState",value:function(U,pe){if(on(this.state,U))return pe();this.setState(U,pe)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.updateFrameAndClearCache),this.scrollParent.removeEventListener("scroll",this.updateFrameAndClearCache,Je),this.scrollParent.removeEventListener("mousewheel",Ce,Je)}},{key:"getOffset",value:function(U){var pe=this.props.axis,V=U[T[pe]]||0,je=oe[pe];do V+=U[je]||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,pe=this.props.axis,V=xe[pe],je=U===window?document.body[V]||document.documentElement[V]:U[V],Me=this.getScrollSize()-this.props.scrollParentViewportSizeGetter(this),He=Math.max(0,Math.min(je,Me)),en=this.getEl();return this.cachedScrollPosition=this.getOffset(U)+He-this.getOffset(en),this.cachedScrollPosition}},{key:"setScroll",value:function(U){var pe=this.scrollParent,V=this.props.axis;if(U+=this.getOffset(this.getEl()),pe===window)return window.scrollTo(0,U);U-=this.getOffset(this.scrollParent),pe[xe[V]]=U}},{key:"getScrollSize",value:function(){var U=this.scrollParent,pe=document,V=pe.body,je=pe.documentElement,Me=we[this.props.axis];return U===window?Math.max(V[Me],je[Me]):U[Me]}},{key:"hasDeterminateSize",value:function(){var U=this.props,pe=U.itemSizeGetter,V=U.type;return V==="uniform"||pe}},{key:"getStartAndEnd",value:function(){var U=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.threshold,pe=this.getScrollPosition(),V=Math.max(0,pe-U),je=pe+this.props.scrollParentViewportSizeGetter(this)+U;return this.hasDeterminateSize()&&(je=Math.min(je,this.getSpaceBefore(this.props.length))),{start:V,end:je}}},{key:"getItemSizeAndItemsPerRow",value:function(){var U=this.props,pe=U.axis,V=U.useStaticSize,je=this.state,Me=je.itemSize,He=je.itemsPerRow;if(V&&Me&&He)return{itemSize:Me,itemsPerRow:He};var en=this.items.children;if(!en.length)return{};var Ne=en[0],Fn=Ne[K[pe]],fn=Math.abs(Fn-Me);if((isNaN(fn)||fn>=1)&&(Me=Fn),!Me)return{};var tt=oe[pe],In=Ne[tt];He=1;for(var at=en[He];at&&at[tt]===In;at=en[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=Ce),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",Ce)),this.clearSizeCache(),this.scrollParent.addEventListener("scroll",this.updateFrameAndClearCache,Je),this.scrollParent.addEventListener("mousewheel",Ce,Je))}},{key:"updateSimpleFrame",value:function(U){var pe=this.getStartAndEnd(),V=pe.end,je=this.items.children,Me=0;if(je.length){var He=this.props.axis,en=je[0],Ne=je[je.length-1];Me=this.getOffset(Ne)+Ne[K[He]]-this.getOffset(en)}if(Me>V)return U();var Fn=this.props,fn=Fn.pageSize,tt=Fn.length,In=Math.min(this.state.size+fn,tt);this.maybeSetState({size:In},U)}},{key:"updateVariableFrame",value:function(U){this.props.itemSizeGetter||this.cacheSizes();for(var pe=this.getStartAndEnd(),V=pe.start,je=pe.end,Me=this.props,He=Me.length,en=Me.pageSize,Ne=0,Fn=0,fn=0,tt=He-1;FnV)break;Ne+=In,++Fn}for(var at=He-Fn;fn1&&arguments[1]!==void 0?arguments[1]:{};if(pe[U]!=null)return pe[U];var V=this.state,je=V.itemSize,Me=V.itemsPerRow;if(je)return pe[U]=Math.floor(U/Me)*je;for(var He=U;He>0&&pe[--He]==null;);for(var en=pe[He]||0,Ne=He;Ne=fn&&UHe)return this.setScroll(He)}},{key:"getVisibleRange",value:function(){for(var U=this.state,pe=U.from,V=U.size,je=this.getStartAndEnd(0),Me=je.start,He=je.end,en={},Ne,Fn,fn=pe;fnMe&&(Ne=fn),Ne!=null&&tt{function qpn(e,n){if(e==null)return{};var t={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(n.indexOf(a)!==-1)continue;t[a]=e[a]}return t}kT.exports=qpn,kT.exports.__esModule=!0,kT.exports.default=kT.exports});var YD=_e((Ger,UT)=>{var Wpn=gwe();function $pn(e,n){if(e==null)return{};var t,a,r=Wpn(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a{function TJ(){return Vm.exports=TJ=Object.assign?Object.assign.bind():function(e){for(var n=1;n{function zpn(e){if(Array.isArray(e))return e}HT.exports=zpn,HT.exports.__esModule=!0,HT.exports.default=HT.exports});var ywe=_e((Ler,BT)=>{function Vpn(e,n){var t=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(t!=null){var a,r,o,i,u=[],l=!0,c=!1;try{if(o=(t=t.call(e)).next,n===0){if(Object(t)!==t)return;l=!1}else for(;!(l=(a=o.call(t)).done)&&(u.push(a.value),u.length!==n);l=!0);}catch(s){c=!0,r=s}finally{try{if(!l&&t.return!=null&&(i=t.return(),Object(i)!==i))return}finally{if(c)throw r}}return u}}BT.exports=Vpn,BT.exports.__esModule=!0,BT.exports.default=BT.exports});var FJ=_e((jer,JT)=>{function Qpn(e,n){(n==null||n>e.length)&&(n=e.length);for(var t=0,a=Array(n);t{var bwe=FJ();function Ypn(e,n){if(e){if(typeof e=="string")return bwe(e,n);var t={}.toString.call(e).slice(8,-1);return t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set"?Array.from(e):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?bwe(e,n):void 0}}qT.exports=Ypn,qT.exports.__esModule=!0,qT.exports.default=qT.exports});var Rwe=_e((Per,WT)=>{function Xpn(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}WT.exports=Xpn,WT.exports.__esModule=!0,WT.exports.default=WT.exports});var zT=_e((Oer,$T)=>{var Zpn=Dwe(),Kpn=ywe(),emn=MJ(),nmn=Rwe();function tmn(e,n){return Zpn(e)||Kpn(e,n)||emn(e,n)||nmn()}$T.exports=tmn,$T.exports.__esModule=!0,$T.exports.default=$T.exports});var wwe=_e((ker,VT)=>{var amn=FJ();function rmn(e){if(Array.isArray(e))return amn(e)}VT.exports=rmn,VT.exports.__esModule=!0,VT.exports.default=VT.exports});var Swe=_e((Uer,QT)=>{function omn(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}QT.exports=omn,QT.exports.__esModule=!0,QT.exports.default=QT.exports});var Ewe=_e((Her,YT)=>{function imn(){throw new TypeError(`Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}YT.exports=imn,YT.exports.__esModule=!0,YT.exports.default=YT.exports});var ZT=_e((Ber,XT)=>{var umn=wwe(),lmn=Swe(),cmn=MJ(),smn=Ewe();function fmn(e){return umn(e)||lmn(e)||cmn(e)||smn()}XT.exports=fmn,XT.exports.__esModule=!0,XT.exports.default=XT.exports});var uh=_e((Jer,Qm)=>{function GJ(e){return Qm.exports=GJ=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},Qm.exports.__esModule=!0,Qm.exports.default=Qm.exports,GJ(e)}Qm.exports=GJ,Qm.exports.__esModule=!0,Qm.exports.default=Qm.exports});var Iwe=_e((qer,KT)=>{var Cwe=uh().default;function vmn(e,n){if(Cwe(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var a=t.call(e,n||"default");if(Cwe(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(e)}KT.exports=vmn,KT.exports.__esModule=!0,KT.exports.default=KT.exports});var AJ=_e((Wer,eF)=>{var pmn=uh().default,mmn=Iwe();function dmn(e){var n=mmn(e,"string");return pmn(n)=="symbol"?n:n+""}eF.exports=dmn,eF.exports.__esModule=!0,eF.exports.default=eF.exports});var ew=_e(($er,nF)=>{var _mn=AJ();function hmn(e,n,t){return(n=_mn(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}nF.exports=hmn,nF.exports.__esModule=!0,nF.exports.default=nF.exports});var ZD=_e((zer,tF)=>{function gmn(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}tF.exports=gmn,tF.exports.__esModule=!0,tF.exports.default=tF.exports});var KD=_e((Ver,aF)=>{var Dmn=AJ();function Twe(e,n){for(var t=0;t{function bmn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}rF.exports=bmn,rF.exports.__esModule=!0,rF.exports.default=rF.exports});var ey=_e((Yer,oF)=>{var Rmn=jU();function wmn(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&Rmn(e,n)}oF.exports=wmn,oF.exports.__esModule=!0,oF.exports.default=oF.exports});var ny=_e((Xer,iF)=>{var Smn=uh().default,Emn=nw();function Cmn(e,n){if(n&&(Smn(n)=="object"||typeof n=="function"))return n;if(n!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Emn(e)}iF.exports=Cmn,iF.exports.__esModule=!0,iF.exports.default=iF.exports});var ty=_e((Zer,Ym)=>{function xJ(e){return Ym.exports=xJ=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Ym.exports.__esModule=!0,Ym.exports.default=Ym.exports,xJ(e)}Ym.exports=xJ,Ym.exports.__esModule=!0,Ym.exports.default=Ym.exports});var lF=_e((Ker,uF)=>{function Imn(e,n){return n||(n=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}}))}uF.exports=Imn,uF.exports.__esModule=!0,uF.exports.default=uF.exports});var cF=_e(ka=>{"use strict";function Rs(e){return e&&typeof e=="object"&&"default"in e?e.default:e}var LJ=Rs(YD()),Yi=Rs(XD()),Ic=Rs(ew()),Fwe=Rs(ZD()),Mwe=Rs(KD()),Gwe=Rs(ey()),Tmn=Rs(ny()),Awe=Rs(ty()),X7=Fl(),enr=Rs(X7),ma=Um(),Fmn=zm(),jJ=Rs(uh()),Mmn=Rs(Q0()),Gmn=Rs(lF()),Amn=Rs(VD()),xwe=function(){};function xmn(e,n){return n?n[0]==="-"?e+n:e+"__"+n:e}function Lmn(e,n,t){var a=[t];if(n&&e)for(var r in n)n.hasOwnProperty(r)&&n[r]&&a.push("".concat(xmn(e,r)));return a.filter(function(o){return o}).map(function(o){return String(o).trim()}).join(" ")}var jmn=function(e){return Array.isArray(e)?e.filter(Boolean):jJ(e)==="object"&&e!==null?[e]:[]};function Nmn(e,n,t){if(t){var a=t(e,n);if(typeof a=="string")return a}return e}function NJ(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Lwe(e){return NJ(e)?window.pageYOffset:e.scrollTop}function Z7(e,n){NJ(e)?window.scrollTo(0,n):e.scrollTop=n}function Pmn(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 Omn(e,n,t,a){return t*((e=e/a-1)*e*e+1)+n}function K7(e,n){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:xwe,r=Lwe(e),o=n-r,i=10,u=0;function l(){var c=Omn(u+=i,r,o,t);Z7(e,c),ut.bottom?Z7(e,Math.min(n.offsetTop+n.clientHeight-e.offsetHeight+r,e.scrollHeight)):a.top-r=p)return{placement:"bottom",maxHeight:n};if(k>=p&&!i)return o&&K7(l,K,160),{placement:"bottom",maxHeight:n};if(!i&&k>=a||i&&O>=a)return o&&K7(l,K,160),{placement:"bottom",maxHeight:i?O-S:k-S};if(r==="auto"||i){var Te=n,we=i?P:T;return we>=a&&(Te=Math.min(we-S-u.controlHeight,n)),{placement:"top",maxHeight:Te}}if(r==="bottom")return Z7(l,K),{placement:"bottom",maxHeight:n};break;case"top":if(P>=p)return{placement:"top",maxHeight:n};if(T>=p&&!i)return o&&K7(l,oe,160),{placement:"top",maxHeight:n};if(!i&&T>=a||i&&P>=a){var xe=n;return(!i&&T>=a||i&&P>=a)&&(xe=i?P-M:T-M),o&&K7(l,oe,160),{placement:"top",maxHeight:xe}}return{placement:"bottom",maxHeight:n};default:throw new Error('Invalid placement provided "'.concat(r,'".'))}return c}function Wmn(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}var PJ=function(e){return e==="auto"?"bottom":e},$mn=function(e){var n,t=e.placement,a=e.theme,r=a.borderRadius,o=a.spacing,i=a.colors;return Ic(n={label:"menu"},Wmn(t),"100%"),Ic(n,"backgroundColor",i.neutral0),Ic(n,"borderRadius",r),Ic(n,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),Ic(n,"marginBottom",o.menuGutter),Ic(n,"marginTop",o.menuGutter),Ic(n,"position","absolute"),Ic(n,"width","100%"),Ic(n,"zIndex",1),n},Owe=X7.createContext({getPortalPlacement:null}),kwe=function(e){Gwe(t,e);var n=Pwe(t);function t(){var a;Fwe(this,t);for(var r=arguments.length,o=new Array(r),i=0;i{"use strict";function Tc(e){return e&&typeof e=="object"&&"default"in e?e.default:e}for(e5=Tc(YD()),Qo=Tc(XD()),BJ=Tc(zT()),rSe=Tc(ZT()),n5=Tc(ew()),tw=Tc(ZD()),aw=Tc(KD()),JJ=Tc(nw()),rw=Tc(ey()),ow=Tc(ny()),Av=Tc(ty()),ay=Fl(),za=Tc(ay),qJ=Tc(bR()),ry=Um(),oSe=zm(),Ua=cF(),iSe=Tc(Q0()),t5=[{base:"A",letters:"A\u24B6\uFF21\xC0\xC1\xC2\u1EA6\u1EA4\u1EAA\u1EA8\xC3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\xC4\u01DE\u1EA2\xC5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F"},{base:"AA",letters:"\uA732"},{base:"AE",letters:"\xC6\u01FC\u01E2"},{base:"AO",letters:"\uA734"},{base:"AU",letters:"\uA736"},{base:"AV",letters:"\uA738\uA73A"},{base:"AY",letters:"\uA73C"},{base:"B",letters:"B\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181"},{base:"C",letters:"C\u24B8\uFF23\u0106\u0108\u010A\u010C\xC7\u1E08\u0187\u023B\uA73E"},{base:"D",letters:"D\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779"},{base:"DZ",letters:"\u01F1\u01C4"},{base:"Dz",letters:"\u01F2\u01C5"},{base:"E",letters:"E\u24BA\uFF25\xC8\xC9\xCA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\xCB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E"},{base:"F",letters:"F\u24BB\uFF26\u1E1E\u0191\uA77B"},{base:"G",letters:"G\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E"},{base:"H",letters:"H\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D"},{base:"I",letters:"I\u24BE\uFF29\xCC\xCD\xCE\u0128\u012A\u012C\u0130\xCF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197"},{base:"J",letters:"J\u24BF\uFF2A\u0134\u0248"},{base:"K",letters:"K\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2"},{base:"L",letters:"L\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780"},{base:"LJ",letters:"\u01C7"},{base:"Lj",letters:"\u01C8"},{base:"M",letters:"M\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C"},{base:"N",letters:"N\u24C3\uFF2E\u01F8\u0143\xD1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4"},{base:"NJ",letters:"\u01CA"},{base:"Nj",letters:"\u01CB"},{base:"O",letters:"O\u24C4\uFF2F\xD2\xD3\xD4\u1ED2\u1ED0\u1ED6\u1ED4\xD5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\xD6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\xD8\u01FE\u0186\u019F\uA74A\uA74C"},{base:"OI",letters:"\u01A2"},{base:"OO",letters:"\uA74E"},{base:"OU",letters:"\u0222"},{base:"P",letters:"P\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754"},{base:"Q",letters:"Q\u24C6\uFF31\uA756\uA758\u024A"},{base:"R",letters:"R\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782"},{base:"S",letters:"S\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784"},{base:"T",letters:"T\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786"},{base:"TZ",letters:"\uA728"},{base:"U",letters:"U\u24CA\uFF35\xD9\xDA\xDB\u0168\u1E78\u016A\u1E7A\u016C\xDC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244"},{base:"V",letters:"V\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245"},{base:"VY",letters:"\uA760"},{base:"W",letters:"W\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72"},{base:"X",letters:"X\u24CD\uFF38\u1E8A\u1E8C"},{base:"Y",letters:"Y\u24CE\uFF39\u1EF2\xDD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE"},{base:"Z",letters:"Z\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762"},{base:"a",letters:"a\u24D0\uFF41\u1E9A\xE0\xE1\xE2\u1EA7\u1EA5\u1EAB\u1EA9\xE3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\xE4\u01DF\u1EA3\xE5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250"},{base:"aa",letters:"\uA733"},{base:"ae",letters:"\xE6\u01FD\u01E3"},{base:"ao",letters:"\uA735"},{base:"au",letters:"\uA737"},{base:"av",letters:"\uA739\uA73B"},{base:"ay",letters:"\uA73D"},{base:"b",letters:"b\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253"},{base:"c",letters:"c\u24D2\uFF43\u0107\u0109\u010B\u010D\xE7\u1E09\u0188\u023C\uA73F\u2184"},{base:"d",letters:"d\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A"},{base:"dz",letters:"\u01F3\u01C6"},{base:"e",letters:"e\u24D4\uFF45\xE8\xE9\xEA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\xEB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD"},{base:"f",letters:"f\u24D5\uFF46\u1E1F\u0192\uA77C"},{base:"g",letters:"g\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F"},{base:"h",letters:"h\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265"},{base:"hv",letters:"\u0195"},{base:"i",letters:"i\u24D8\uFF49\xEC\xED\xEE\u0129\u012B\u012D\xEF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131"},{base:"j",letters:"j\u24D9\uFF4A\u0135\u01F0\u0249"},{base:"k",letters:"k\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3"},{base:"l",letters:"l\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747"},{base:"lj",letters:"\u01C9"},{base:"m",letters:"m\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F"},{base:"n",letters:"n\u24DD\uFF4E\u01F9\u0144\xF1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5"},{base:"nj",letters:"\u01CC"},{base:"o",letters:"o\u24DE\uFF4F\xF2\xF3\xF4\u1ED3\u1ED1\u1ED7\u1ED5\xF5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\xF6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\xF8\u01FF\u0254\uA74B\uA74D\u0275"},{base:"oi",letters:"\u01A3"},{base:"ou",letters:"\u0223"},{base:"oo",letters:"\uA74F"},{base:"p",letters:"p\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755"},{base:"q",letters:"q\u24E0\uFF51\u024B\uA757\uA759"},{base:"r",letters:"r\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783"},{base:"s",letters:"s\u24E2\uFF53\xDF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B"},{base:"t",letters:"t\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787"},{base:"tz",letters:"\uA729"},{base:"u",letters:"u\u24E4\uFF55\xF9\xFA\xFB\u0169\u1E79\u016B\u1E7B\u016D\xFC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289"},{base:"v",letters:"v\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C"},{base:"vy",letters:"\uA761"},{base:"w",letters:"w\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73"},{base:"x",letters:"x\u24E7\uFF58\u1E8B\u1E8D"},{base:"y",letters:"y\u24E8\uFF59\u1EF3\xFD\u0177\u1EF9\u0233\u1E8F\xFF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF"},{base:"z",letters:"z\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763"}],uSe=new RegExp("["+t5.map(function(e){return e.letters}).join("")+"]","g"),WJ={},a5=0;a5-1}},Jdn={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;"},qdn=function(e){return ry.jsx("span",Qo({css:Jdn},e))};function Wdn(e){e.in,e.out,e.onExited,e.appear,e.enter,e.exit;var n=e.innerRef,t=(e.emotion,e5(e,["in","out","onExited","appear","enter","exit","innerRef","emotion"]));return ry.jsx("input",Qo({ref:n},t,{css:iSe({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 $dn(e){var n=zdn();return function(){var t,a=Av(e);if(n){var r=Av(this).constructor;t=Reflect.construct(a,arguments,r)}else t=a.apply(this,arguments);return ow(this,t)}}function zdn(){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 vSe=function(e){rw(t,e);var n=$dn(t);function t(){return tw(this,t),n.apply(this,arguments)}return aw(t,[{key:"componentDidMount",value:function(){this.props.innerRef(oSe.findDOMNode(this))}},{key:"componentWillUnmount",value:function(){this.props.innerRef(null)}},{key:"render",value:function(){return this.props.children}}]),t}(ay.Component),pSe=["boxSizing","height","overflow","paddingRight","position"],mSe={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function dSe(e){e.preventDefault()}function _Se(e){e.stopPropagation()}function hSe(){var e=this.scrollTop,n=this.scrollHeight,t=e+this.offsetHeight;e===0?this.scrollTop=1:t===n&&(this.scrollTop=e-1)}function gSe(){return"ontouchstart"in window||navigator.maxTouchPoints}function Vdn(e){var n=Qdn();return function(){var t,a=Av(e);if(n){var r=Av(this).constructor;t=Reflect.construct(a,arguments,r)}else t=a.apply(this,arguments);return ow(this,t)}}function Qdn(){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 DSe=!(typeof window=="undefined"||!window.document||!window.document.createElement),sF=0,ySe=function(e){rw(t,e);var n=Vdn(t);function t(){var a;tw(this,t);for(var r=arguments.length,o=new Array(r),i=0;i0,P=h-g-y,O=!1;P>l&&a.isBottom&&(f&&f(u),a.isBottom=!1),M&&a.isTop&&(p&&p(u),a.isTop=!1),M&&l>P?(s&&!a.isBottom&&s(u),S.scrollTop=h,O=!0,a.isBottom=!0):!M&&-l>y&&(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 aw(t,[{key:"componentDidMount",value:function(){this.startListening(this.scrollTarget)}},{key:"componentWillUnmount",value:function(){this.stopListening(this.scrollTarget)}},{key:"startListening",value:function(a){a&&(typeof a.addEventListener=="function"&&a.addEventListener("wheel",this.onWheel,!1),typeof a.addEventListener=="function"&&a.addEventListener("touchstart",this.onTouchStart,!1),typeof a.addEventListener=="function"&&a.addEventListener("touchmove",this.onTouchMove,!1))}},{key:"stopListening",value:function(a){a&&(typeof a.removeEventListener=="function"&&a.removeEventListener("wheel",this.onWheel,!1),typeof a.removeEventListener=="function"&&a.removeEventListener("touchstart",this.onTouchStart,!1),typeof a.removeEventListener=="function"&&a.removeEventListener("touchmove",this.onTouchMove,!1))}},{key:"render",value:function(){return za.createElement(vSe,{innerRef:this.getScrollTarget},this.props.children)}}]),t}(ay.Component);function a_n(e){var n=e.isEnabled,t=n===void 0||n,a=e5(e,["isEnabled"]);return t?za.createElement(t_n,a):a.children}var r_n=function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=n.isSearchable,a=n.isMulti,r=n.label,o=n.isDisabled,i=n.tabSelectsValue;switch(e){case"menu":return"Use Up and Down to choose options".concat(o?"":", press Enter to select the currently focused option",", press Escape to exit the menu").concat(i?", press Tab to select the option and exit the menu":"",".");case"input":return"".concat(r||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(a?" 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"}},o_n=function(e,n){var t=n.value,a=n.isDisabled;if(t)switch(e){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(t,", deselected.");case"select-option":return"option ".concat(t,a?" is disabled. Select another option.":", selected.")}},i_n=function(e){var n=e.focusedValue,t=e.getOptionLabel,a=e.selectValue;return"value ".concat(t(n)," focused, ").concat(a.indexOf(n)+1," of ").concat(a.length,".")},u_n=function(e){var n=e.focusedOption,t=e.getOptionLabel,a=e.options;return"option ".concat(t(n)," focused").concat(n.isDisabled?" disabled":"",", ").concat(a.indexOf(n)+1," of ").concat(a.length,".")},l_n=function(e){var n=e.inputValue,t=e.screenReaderMessage;return"".concat(t).concat(n?" for search term "+n:"",".")},c_n=function(e){return e.label},s_n=function(e){return e.label},f_n=function(e){return e.value},bSe=function(e){return!!e.isDisabled};function RSe(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 v_n(e){for(var n=1;n1&&arguments[1]!==void 0?arguments[1]:{},t=v_n({},e);return Object.keys(n).forEach(function(a){e[a]?t[a]=function(r,o){return n[a](e[a](r,o),o)}:t[a]=n[a]}),t}var d_n={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%)"},__n=4,wSe=4,h_n=38,g_n=2*wSe,D_n={baseUnit:wSe,controlHeight:h_n,menuGutter:g_n},i5={borderRadius:__n,colors:d_n,spacing:D_n};function SSe(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 iw(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,p=f.isMulti;r.onInputChange("",{action:"set-value"}),v&&(r.inputIsHiddenAfterUpdate=!p,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 p=r.getOptionValue(l);r.setValue(v.filter(function(d){return r.getOptionValue(d)!==p}),"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(rSe(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;s5||v>5}},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){r.menuListRef&&r.menuListRef.contains(document.activeElement)?r.inputRef.focus():(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,p=c.inputValue,d=c.isClearable,y=c.isDisabled,h=c.menuIsOpen,g=c.onKeyDown,S=c.tabSelectsValue,M=c.openMenuOnFocus,P=r.state,O=P.focusedOption,T=P.focusedValue,k=P.selectValue;if(!(y||typeof g=="function"&&(g(l),l.defaultPrevented))){switch(r.blockOptionHover=!0,l.key){case"ArrowLeft":if(!s||p)return;r.focusValue("previous");break;case"ArrowRight":if(!s||p)return;r.focusValue("next");break;case"Delete":case"Backspace":if(p)return;if(T)r.removeValue(T);else{if(!f)return;s?r.popValue():d&&r.clearValue()}break;case"Tab":if(r.isComposing||l.shiftKey||!h||!S||!O||M&&r.isOptionSelected(O,k))return;r.selectOption(O);break;case"Enter":if(l.keyCode===229)break;if(h){if(!O||r.isComposing)return;r.selectOption(O);break}return;case"Escape":h?(r.inputIsHiddenAfterUpdate=!1,r.onInputChange("",{action:"menu-close"}),r.onMenuClose()):d&&v&&r.clearValue();break;case" ":if(p)return;if(!h){r.openMenu("first");break}if(!O)return;r.selectOption(O);break;case"ArrowUp":h?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":h?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!h)return;r.focusOption("pageup");break;case"PageDown":if(!h)return;r.focusOption("pagedown");break;case"Home":if(!h)return;r.focusOption("first");break;case"End":if(!h)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,p=function(d,y){var h=r.isOptionDisabled(d,c),g=r.isOptionSelected(d,c),S=r.getOptionLabel(d),M=r.getOptionValue(d);if(!(r.shouldHideSelectedOptions()&&g||!r.filterOption({label:S,value:M,data:d},f))){var P=h?void 0:function(){return r.onOptionHover(d)},O=h?void 0:function(){return r.selectOption(d)},T="".concat(r.getElementId("option"),"-").concat(y);return{innerProps:{id:T,onClick:O,onMouseMove:P,onMouseOver:P,tabIndex:-1},data:d,isDisabled:h,isSelected:g,key:T,label:S,type:"option",value:M}}};return v.reduce(function(d,y,h){if(y.options){r.hasGroups||(r.hasGroups=!0);var g=y.options.map(function(P,O){var T=p(P,"".concat(h,"-").concat(O));return T&&d.focusable.push(P),T}).filter(Boolean);if(g.length){var S="".concat(r.getElementId("group"),"-").concat(h);d.render.push({type:"group",key:S,data:y,options:g})}}else{var M=p(y,"".concat(h));M&&(d.render.push(M),d.focusable.push(y))}return d},{render:[],focusable:[]})};var o=a.value;r.cacheComponents=qJ(r.cacheComponents,Ua.exportedEqual).bind(JJ(r)),r.cacheComponents(a.components),r.instancePrefix="react-select-"+(r.props.instanceId||++R_n);var i=Ua.cleanValue(o);r.buildMenuOptions=qJ(r.buildMenuOptions,function(l,c){var s=BJ(l,2),f=s[0],v=s[1],p=BJ(c,2),d=p[0];return v===p[1]&&f.inputValue===d.inputValue&&f.options===d.options}).bind(JJ(r));var u=a.menuIsOpen?r.buildMenuOptions(a,i):{render:[],focusable:[]};return r.state.menuOptions=u,r.state.selectValue=i,r}return aw(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(a){var r=this.props,o=r.options,i=r.value,u=r.menuIsOpen,l=r.inputValue;if(this.cacheComponents(a.components),a.value!==i||a.options!==o||a.menuIsOpen!==u||a.inputValue!==l){var c=Ua.cleanValue(a.value),s=a.menuIsOpen?this.buildMenuOptions(a,c):{render:[],focusable:[]},f=this.getNextFocusedValue(c),v=this.getNextFocusedOption(s.focusable);this.setState({menuOptions:s,selectValue:c,focusedOption:v,focusedValue:f})}this.inputIsHiddenAfterUpdate!=null&&(this.setState({inputIsHidden:this.inputIsHiddenAfterUpdate}),delete this.inputIsHiddenAfterUpdate)}},{key:"componentDidUpdate",value:function(a){var r=this.props,o=r.isDisabled,i=r.menuIsOpen,u=this.state.isFocused;(u&&!o&&a.isDisabled||u&&i&&!a.menuIsOpen)&&this.focusInput(),u&&o&&!a.isDisabled&&this.setState({isFocused:!1},this.onMenuClose),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Ua.scrollIntoView(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 a=this.props,r=a.isSearchable,o=a.isMulti;this.announceAriaLiveContext({event:"input",context:{isSearchable:r,isMulti:o}}),this.onInputChange("",{action:"menu-close"}),this.props.onMenuClose()}},{key:"onInputChange",value:function(a,r){this.props.onInputChange(a,r)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(a){var r=this,o=this.state,i=o.selectValue,u=o.isFocused,l=this.buildMenuOptions(this.props,i),c=this.props,s=c.isMulti,f=c.tabSelectsValue,v=a==="first"?0:l.focusable.length-1;if(!s){var p=l.focusable.indexOf(i[0]);p>-1&&(v=p)}this.scrollToFocusedOptionOnUpdate=!(u&&this.menuListRef),this.inputIsHiddenAfterUpdate=!1,this.setState({menuOptions:l,focusedValue:null,focusedOption:l.focusable[v]},function(){r.onMenuOpen(),r.announceAriaLiveContext({event:"menu",context:{tabSelectsValue:f}})})}},{key:"focusValue",value:function(a){var r=this.props,o=r.isMulti,i=r.isSearchable,u=this.state,l=u.selectValue,c=u.focusedValue;if(o){this.setState({focusedOption:null});var s=l.indexOf(c);c||(s=-1,this.announceAriaLiveContext({event:"value"}));var f=l.length-1,v=-1;if(l.length){switch(a){case"previous":v=s===0?0:s===-1?f:s-1;break;case"next":s>-1&&s0&&arguments[0]!==void 0?arguments[0]:"first",r=this.props,o=r.pageSize,i=r.tabSelectsValue,u=this.state,l=u.focusedOption,c=u.menuOptions,s=c.focusable;if(s.length){var f=0,v=s.indexOf(l);l||(v=-1,this.announceAriaLiveContext({event:"menu",context:{tabSelectsValue:i}})),a==="up"?f=v>0?v-1:s.length-1:a==="down"?f=(v+1)%s.length:a==="pageup"?(f=v-o)<0&&(f=0):a==="pagedown"?(f=v+o)>s.length-1&&(f=s.length-1):a==="last"&&(f=s.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:s[f],focusedValue:null}),this.announceAriaLiveContext({event:"menu",context:{isDisabled:bSe(s[f]),tabSelectsValue:i}})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(i5):iw(iw({},i5),this.props.theme):i5}},{key:"getCommonProps",value:function(){var a=this.clearValue,r=this.cx,o=this.getStyles,i=this.getValue,u=this.setValue,l=this.selectOption,c=this.props,s=c.isMulti,f=c.isRtl,v=c.options;return{cx:r,clearValue:a,getStyles:o,getValue:i,hasValue:this.hasValue(),isMulti:s,isRtl:f,options:v,selectOption:l,setValue:u,selectProps:c,theme:this.getTheme()}}},{key:"getNextFocusedValue",value:function(a){if(this.clearFocusValueOnUpdate)return this.clearFocusValueOnUpdate=!1,null;var r=this.state,o=r.focusedValue,i=r.selectValue.indexOf(o);if(i>-1){if(a.indexOf(o)>-1)return o;if(i-1?r:a[0]}},{key:"hasValue",value:function(){return this.state.selectValue.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 a=this.props,r=a.isClearable,o=a.isMulti;return r===void 0?o:r}},{key:"isOptionDisabled",value:function(a,r){return typeof this.props.isOptionDisabled=="function"&&this.props.isOptionDisabled(a,r)}},{key:"isOptionSelected",value:function(a,r){var o=this;if(r.indexOf(a)>-1)return!0;if(typeof this.props.isOptionSelected=="function")return this.props.isOptionSelected(a,r);var i=this.getOptionValue(a);return r.some(function(u){return o.getOptionValue(u)===i})}},{key:"filterOption",value:function(a,r){return!this.props.filterOption||this.props.filterOption(a,r)}},{key:"formatOptionLabel",value:function(a,r){if(typeof this.props.formatOptionLabel=="function"){var o=this.props.inputValue,i=this.state.selectValue;return this.props.formatOptionLabel(a,{context:r,inputValue:o,selectValue:i})}return this.getOptionLabel(a)}},{key:"formatGroupLabel",value:function(a){return this.props.formatGroupLabel(a)}},{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 a=this.state,r=a.ariaLiveContext,o=a.selectValue,i=a.focusedValue,u=a.focusedOption,l=this.props,c=l.options,s=l.menuIsOpen,f=l.inputValue,v=l.screenReaderStatus,p=i?i_n({focusedValue:i,getOptionLabel:this.getOptionLabel,selectValue:o}):"",d=u&&s?u_n({focusedOption:u,getOptionLabel:this.getOptionLabel,options:c}):"",y=l_n({inputValue:f,screenReaderMessage:v({count:this.countOptions()})});return"".concat(p," ").concat(d," ").concat(y," ").concat(r)}},{key:"renderInput",value:function(){var a=this.props,r=a.isDisabled,o=a.isSearchable,i=a.inputId,u=a.inputValue,l=a.tabIndex,c=a.form,s=this.components.Input,f=this.state.inputIsHidden,v=i||this.getElementId("input"),p={"aria-autocomplete":"list","aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"]};if(!o)return za.createElement(Wdn,Qo({id:v,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Ua.noop,onFocus:this.onInputFocus,readOnly:!0,disabled:r,tabIndex:l,form:c,value:""},p));var d=this.commonProps,y=d.cx,h=d.theme,g=d.selectProps;return za.createElement(s,Qo({autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",cx:y,getStyles:this.getStyles,id:v,innerRef:this.getInputRef,isDisabled:r,isHidden:f,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,selectProps:g,spellCheck:"false",tabIndex:l,form:c,theme:h,type:"text",value:u},p))}},{key:"renderPlaceholderOrValue",value:function(){var a=this,r=this.components,o=r.MultiValue,i=r.MultiValueContainer,u=r.MultiValueLabel,l=r.MultiValueRemove,c=r.SingleValue,s=r.Placeholder,f=this.commonProps,v=this.props,p=v.controlShouldRenderValue,d=v.isDisabled,y=v.isMulti,h=v.inputValue,g=v.placeholder,S=this.state,M=S.selectValue,P=S.focusedValue,O=S.isFocused;if(!this.hasValue()||!p)return h?null:za.createElement(s,Qo({},f,{key:"placeholder",isDisabled:d,isFocused:O}),g);if(y)return M.map(function(k,K){var oe=k===P;return za.createElement(o,Qo({},f,{components:{Container:i,Label:u,Remove:l},isFocused:oe,isDisabled:d,key:"".concat(a.getOptionValue(k)).concat(K),index:K,removeProps:{onClick:function(){return a.removeValue(k)},onTouchEnd:function(){return a.removeValue(k)},onMouseDown:function(Te){Te.preventDefault(),Te.stopPropagation()}},data:k}),a.formatOptionLabel(k,"value"))});if(h)return null;var T=M[0];return za.createElement(c,Qo({},f,{data:T,isDisabled:d}),this.formatOptionLabel(T,"value"))}},{key:"renderClearIndicator",value:function(){var a=this.components.ClearIndicator,r=this.commonProps,o=this.props,i=o.isDisabled,u=o.isLoading,l=this.state.isFocused;if(!this.isClearable()||!a||i||!this.hasValue()||u)return null;var c={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return za.createElement(a,Qo({},r,{innerProps:c,isFocused:l}))}},{key:"renderLoadingIndicator",value:function(){var a=this.components.LoadingIndicator,r=this.commonProps,o=this.props,i=o.isDisabled,u=o.isLoading,l=this.state.isFocused;return!a||!u?null:za.createElement(a,Qo({},r,{innerProps:{"aria-hidden":"true"},isDisabled:i,isFocused:l}))}},{key:"renderIndicatorSeparator",value:function(){var a=this.components,r=a.DropdownIndicator,o=a.IndicatorSeparator;if(!r||!o)return null;var i=this.commonProps,u=this.props.isDisabled,l=this.state.isFocused;return za.createElement(o,Qo({},i,{isDisabled:u,isFocused:l}))}},{key:"renderDropdownIndicator",value:function(){var a=this.components.DropdownIndicator;if(!a)return null;var r=this.commonProps,o=this.props.isDisabled,i=this.state.isFocused,u={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return za.createElement(a,Qo({},r,{innerProps:u,isDisabled:o,isFocused:i}))}},{key:"renderMenu",value:function(){var a=this,r=this.components,o=r.Group,i=r.GroupHeading,u=r.Menu,l=r.MenuList,c=r.MenuPortal,s=r.LoadingMessage,f=r.NoOptionsMessage,v=r.Option,p=this.commonProps,d=this.state,y=d.focusedOption,h=d.menuOptions,g=this.props,S=g.captureMenuScroll,M=g.inputValue,P=g.isLoading,O=g.loadingMessage,T=g.minMenuHeight,k=g.maxMenuHeight,K=g.menuIsOpen,oe=g.menuPlacement,Te=g.menuPosition,we=g.menuPortalTarget,xe=g.menuShouldBlockScroll,Se=g.menuShouldScrollIntoView,Ce=g.noOptionsMessage,Je=g.onMenuScrollToTop,ue=g.onMenuScrollToBottom;if(!K)return null;var Tn,on=function(Y){var fe=y===Y.data;return Y.innerRef=fe?a.getFocusedOptionRef:void 0,za.createElement(v,Qo({},p,Y,{isFocused:fe}),a.formatOptionLabel(Y.data,"menu"))};if(this.hasOptions())Tn=h.render.map(function(Y){if(Y.type==="group"){Y.type;var fe=e5(Y,["type"]),he="".concat(Y.key,"-heading");return za.createElement(o,Qo({},p,fe,{Heading:i,headingProps:{id:he,data:Y.data},label:a.formatGroupLabel(Y.data)}),Y.options.map(function(U){return on(U)}))}if(Y.type==="option")return on(Y)});else if(P){var Et=O({inputValue:M});if(Et===null)return null;Tn=za.createElement(s,p,Et)}else{var mt=Ce({inputValue:M});if(mt===null)return null;Tn=za.createElement(f,p,mt)}var z={minMenuHeight:T,maxMenuHeight:k,menuPlacement:oe,menuPosition:Te,menuShouldScrollIntoView:Se},x=za.createElement(Ua.MenuPlacer,Qo({},p,z),function(Y){var fe=Y.ref,he=Y.placerProps,U=he.placement,pe=he.maxHeight;return za.createElement(u,Qo({},p,z,{innerRef:fe,innerProps:{onMouseDown:a.onMenuMouseDown,onMouseMove:a.onMenuMouseMove},isLoading:P,placement:U}),za.createElement(a_n,{isEnabled:S,onTopArrive:Je,onBottomArrive:ue},za.createElement(Kdn,{isEnabled:xe},za.createElement(l,Qo({},p,{innerRef:a.getMenuListRef,isLoading:P,maxHeight:pe}),Tn))))});return we||Te==="fixed"?za.createElement(c,Qo({},p,{appendTo:we,controlElement:this.controlRef,menuPlacement:oe,menuPosition:Te}),x):x}},{key:"renderFormField",value:function(){var a=this,r=this.props,o=r.delimiter,i=r.isDisabled,u=r.isMulti,l=r.name,c=this.state.selectValue;if(l&&!i){if(u){if(o){var s=c.map(function(p){return a.getOptionValue(p)}).join(o);return za.createElement("input",{name:l,type:"hidden",value:s})}var f=c.length>0?c.map(function(p,d){return za.createElement("input",{key:"i-".concat(d),name:l,type:"hidden",value:a.getOptionValue(p)})}):za.createElement("input",{name:l,type:"hidden"});return za.createElement("div",null,f)}var v=c[0]?this.getOptionValue(c[0]):"";return za.createElement("input",{name:l,type:"hidden",value:v})}}},{key:"renderLiveRegion",value:function(){return this.state.isFocused?za.createElement(qdn,{"aria-live":"polite"},za.createElement("span",{id:"aria-selection-event"},"\xA0",this.state.ariaLiveSelection),za.createElement("span",{id:"aria-context"},"\xA0",this.constructAriaLiveMessage())):null}},{key:"render",value:function(){var a=this.components,r=a.Control,o=a.IndicatorsContainer,i=a.SelectContainer,u=a.ValueContainer,l=this.props,c=l.className,s=l.id,f=l.isDisabled,v=l.menuIsOpen,p=this.state.isFocused,d=this.commonProps=this.getCommonProps();return za.createElement(i,Qo({},d,{className:c,innerProps:{id:s,onKeyDown:this.onKeyDown},isDisabled:f,isFocused:p}),this.renderLiveRegion(),za.createElement(r,Qo({},d,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:f,isFocused:p,menuIsOpen:v}),za.createElement(u,Qo({},d,{isDisabled:f}),this.renderPlaceholderOrValue(),this.renderInput()),za.createElement(o,Qo({},d,{isDisabled:f}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}]),t}(ay.Component);CSe.defaultProps=ESe,uw.Select=CSe,uw.createFilter=fSe,uw.defaultProps=ESe,uw.defaultTheme=i5,uw.mergeStyles=m_n});var l5=_e(FSe=>{"use strict";function lh(e){return e&&typeof e=="object"&&"default"in e?e.default:e}var w_n=lh(YD()),S_n=lh(XD()),E_n=lh(ZD()),C_n=lh(KD()),I_n=lh(ey()),T_n=lh(ny()),ISe=lh(ty()),TSe=Fl(),F_n=lh(TSe);function M_n(e){var n=G_n();return function(){var t,a=ISe(e);if(n){var r=ISe(this).constructor;t=Reflect.construct(a,arguments,r)}else t=a.apply(this,arguments);return T_n(this,t)}}function G_n(){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 A_n={defaultInputValue:"",defaultMenuIsOpen:!1,defaultValue:null},x_n=function(e){var n,t;return t=n=function(a){I_n(o,a);var r=M_n(o);function o(){var i;E_n(this,o);for(var u=arguments.length,l=new Array(u),c=0;c1?l-1:0),s=1;s{"use strict";function Xm(e){return e&&typeof e=="object"&&"default"in e?e.default:e}Object.defineProperty(fF,"__esModule",{value:!0}),YD();var L_n=Xm(XD());zT();var $J=Xm(ZT()),j_n=Xm(ew()),N_n=Xm(ZD()),P_n=Xm(KD());nw();var O_n=Xm(ey()),k_n=Xm(ny()),MSe=Xm(ty()),GSe=Fl(),U_n=Xm(GSe);bR(),Um(),zm(),uh();var ASe=cF(),H_n=u5();Q0(),lF(),VD();var B_n=l5();function J_n(e){var n=q_n();return function(){var t,a=MSe(e);if(n){var r=MSe(this).constructor;t=Reflect.construct(a,arguments,r)}else t=a.apply(this,arguments);return k_n(this,t)}}function q_n(){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}}function xSe(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 W_n(e){for(var n=1;n0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0,t=String(e).toLowerCase(),a=String(n.value).toLowerCase(),r=String(n.label).toLowerCase();return a===t||r===t},$_n={formatCreateLabel:function(e){return'Create "'.concat(e,'"')},isValidNewOption:function(e,n,t){return!(!e||n.some(function(a){return LSe(e,a)})||t.some(function(a){return LSe(e,a)}))},getNewOptionData:function(e,n){return{label:n,value:e,__isNew__:!0}}},jSe=W_n({allowCreateWhileLoading:!1,createOptionPosition:"last"},$_n),NSe=function(e){var n,t;return t=n=function(a){O_n(o,a);var r=J_n(o);function o(i){var u;N_n(this,o),(u=r.call(this,i)).select=void 0,u.onChange=function(c,s){var f=u.props,v=f.getNewOptionData,p=f.inputValue,d=f.isMulti,y=f.onChange,h=f.onCreateOption,g=f.value,S=f.name;if(s.action!=="select-option")return y(c,s);var M=u.state.newOption,P=Array.isArray(c)?c:[c];if(P[P.length-1]!==M)y(c,s);else if(h)h(p);else{var O=v(p,p),T={action:"create-option",name:S};y(d?[].concat($J(ASe.cleanValue(g)),[O]):O,T)}};var l=i.options||[];return u.state={newOption:void 0,options:l},u}return P_n(o,[{key:"UNSAFE_componentWillReceiveProps",value:function(i){var u=i.allowCreateWhileLoading,l=i.createOptionPosition,c=i.formatCreateLabel,s=i.getNewOptionData,f=i.inputValue,v=i.isLoading,p=i.isValidNewOption,d=i.value,y=i.options||[],h=this.state.newOption;h=p(f,ASe.cleanValue(d),y)?s(f,c(f)):void 0,this.setState({newOption:h,options:!u&&v||!h?y:l==="first"?[h].concat($J(y)):[].concat($J(y),[h])})}},{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"render",value:function(){var i=this,u=this.state.options;return U_n.createElement(e,L_n({},this.props,{ref:function(l){i.select=l},options:u,onChange:this.onChange}))}}]),o}(GSe.Component),n.defaultProps=jSe,t},z_n=NSe(H_n.Select),V_n=B_n.manageState(z_n);fF.default=V_n,fF.defaultProps=jSe,fF.makeCreatableSelect=NSe});var OSe=_e((onr,PSe)=>{"use strict";PSe.exports=zJ()});var VJ=_e(vF=>{"use strict";function ch(e){return e&&typeof e=="object"&&"default"in e?e.default:e}Object.defineProperty(vF,"__esModule",{value:!0});var Q_n=ch(YD()),Y_n=ch(XD());zT(),ZT(),ew();var X_n=ch(ZD()),Z_n=ch(KD());nw();var K_n=ch(ey()),ehn=ch(ny()),kSe=ch(ty()),USe=Fl(),nhn=ch(USe);bR(),Um(),zm(),uh();var thn=cF(),ahn=u5();Q0(),lF(),VD();var rhn=l5();function ohn(e){var n=ihn();return function(){var t,a=kSe(e);if(n){var r=kSe(this).constructor;t=Reflect.construct(a,arguments,r)}else t=a.apply(this,arguments);return ehn(this,t)}}function ihn(){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 HSe={cacheOptions:!1,defaultOptions:!1,filterOption:null,isLoading:!1},BSe=function(e){var n,t;return t=n=function(a){K_n(o,a);var r=ohn(o);function o(i){var u;return X_n(this,o),(u=r.call(this)).select=void 0,u.lastRequest=void 0,u.mounted=!1,u.optionsCache={},u.handleInputChange=function(l,c){var s=u.props,f=s.cacheOptions,v=s.onInputChange,p=thn.handleInputChange(l,c,v);if(!p)return delete u.lastRequest,void u.setState({inputValue:"",loadedInputValue:"",loadedOptions:[],isLoading:!1,passEmptyOptions:!1});if(f&&u.optionsCache[p])u.setState({inputValue:p,loadedInputValue:p,loadedOptions:u.optionsCache[p],isLoading:!1,passEmptyOptions:!1});else{var d=u.lastRequest={};u.setState({inputValue:p,isLoading:!0,passEmptyOptions:!u.state.loadedInputValue},function(){u.loadOptions(p,function(y){u.mounted&&(y&&(u.optionsCache[p]=y),d===u.lastRequest&&(delete u.lastRequest,u.setState({isLoading:!1,loadedInputValue:p,loadedOptions:y||[],passEmptyOptions:!1})))})})}return p},u.state={defaultOptions:Array.isArray(i.defaultOptions)?i.defaultOptions:void 0,inputValue:i.inputValue!==void 0?i.inputValue:"",isLoading:i.defaultOptions===!0,loadedOptions:[],passEmptyOptions:!1},u}return Z_n(o,[{key:"componentDidMount",value:function(){var i=this;this.mounted=!0;var u=this.props.defaultOptions,l=this.state.inputValue;u===!0&&this.loadOptions(l,function(c){if(i.mounted){var s=!!i.lastRequest;i.setState({defaultOptions:c||[],isLoading:s})}})}},{key:"UNSAFE_componentWillReceiveProps",value:function(i){i.cacheOptions!==this.props.cacheOptions&&(this.optionsCache={}),i.defaultOptions!==this.props.defaultOptions&&this.setState({defaultOptions:Array.isArray(i.defaultOptions)?i.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(i,u){var l=this.props.loadOptions;if(!l)return u();var c=l(i,u);c&&typeof c.then=="function"&&c.then(u,function(){return u()})}},{key:"render",value:function(){var i=this,u=this.props,l=(u.loadOptions,u.isLoading),c=Q_n(u,["loadOptions","isLoading"]),s=this.state,f=s.defaultOptions,v=s.inputValue,p=s.isLoading,d=s.loadedInputValue,y=s.loadedOptions,h=s.passEmptyOptions?[]:v&&d?y:f||[];return nhn.createElement(e,Y_n({},c,{ref:function(g){i.select=g},options:h,isLoading:p||l,onInputChange:this.handleInputChange}))}}]),o}(USe.Component),n.defaultProps=HSe,t},uhn=rhn.manageState(ahn.Select),lhn=BSe(uhn);vF.default=lhn,vF.defaultProps=HSe,vF.makeAsyncSelect=BSe});var qSe=_e((unr,JSe)=>{"use strict";JSe.exports=VJ()});var WSe=_e(QJ=>{"use strict";Object.defineProperty(QJ,"__esModule",{value:!0}),YD(),XD(),zT(),ZT(),ew(),ZD(),KD(),nw(),ey(),ny(),ty(),Fl(),bR(),Um(),zm(),uh(),cF();var chn=u5();Q0(),lF(),VD();var shn=l5(),fhn=VJ(),vhn=zJ(),phn=vhn.makeCreatableSelect(chn.Select),mhn=shn.manageState(phn),dhn=fhn.makeAsyncSelect(mhn);QJ.default=dhn});var zSe=_e((cnr,$Se)=>{"use strict";$Se.exports=WSe()});var QFe=_e(HW=>{"use strict";Object.defineProperty(HW,"__esModule",{value:!0});var Nwn=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},LW=Object.assign||function(e){for(var n=1;n1?n-1:0),a=1;aa.height),If(p,this.animationStateClasses.animatingToHeightZero,g.height===0),If(p,this.animationStateClasses.animatingToHeightAuto,g.height==="auto"),If(p,this.animationStateClasses.animatingToHeightSpecific,g.height>0),p)),P=this.getStaticStateClasses(g.height);this.setState({animationStateClasses:M,height:h,overflow:"hidden",shouldUseTransitions:!S}),clearTimeout(this.timeoutID),clearTimeout(this.animationClassesTimeoutID),S?(g.shouldUseTransitions=!0,VFe(this.animationFrameIDs),this.animationFrameIDs=$wn(function(){o.setState(g),c6(c,{newHeight:g.height})}),this.animationClassesTimeoutID=setTimeout(function(){o.setState({animationStateClasses:P,shouldUseTransitions:!1}),o.hideContent(g.height),c6(l,{newHeight:g.height})},y)):(c6(c,{newHeight:h}),this.timeoutID=setTimeout(function(){g.animationStateClasses=P,g.shouldUseTransitions=!1,o.setState(g),u!=="auto"&&o.hideContent(h),c6(l,{newHeight:h})},y))}}},{key:"componentWillUnmount",value:function(){VFe(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,NW.default)((r={},If(r,this.animationStateClasses.static,!0),If(r,this.animationStateClasses.staticHeightZero,a===0),If(r,this.animationStateClasses.staticHeightSpecific,a>0),If(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,p=o.style,d=this.state,y=d.height,h=d.overflow,g=d.animationStateClasses,S=d.shouldUseTransitions,M=this.getTimings(),P=M.duration,O=M.delay,T=LW({},p,{height:y,overflow:h||p.overflow});S&&u&&(T.transition="height "+P+"ms "+f+" "+O+"ms",p.transition&&(T.transition=p.transition+", "+T.transition),T.WebkitTransition=T.transition);var k={};i&&(k.transition="opacity "+P+"ms "+f+" "+O+"ms",k.WebkitTransition=k.transition,y===0&&(k.opacity=0));var K=(0,NW.default)((a={},If(a,g,!0),If(a,c,c),a)),oe=typeof this.props["aria-hidden"]!="undefined",Te=oe?this.props["aria-hidden"]:y===0;return jW.default.createElement("div",LW({},Wwn.apply(void 0,[this.props].concat(qwn)),{"aria-hidden":Te,className:K,id:v,style:T}),jW.default.createElement("div",{className:s,style:k,ref:function(xe){return r.contentElement=xe}},l))}}]),n}(jW.default.Component),zwn=function(n,t,a){var r=n[t];return typeof r=="number"&&r>=0||kW(r)||r==="auto"?null:new TypeError('value "'+r+'" of type "'+(typeof r=="undefined"?"undefined":Nwn(r))+'" is invalid type for '+t+" in "+a+'. It needs to be a positive number, string "auto" or percentage string (e.g. "15%").')};UW.propTypes={"aria-hidden":Mc.default.bool,animateOpacity:Mc.default.bool,animationStateClasses:Mc.default.object,applyInlineTransitions:Mc.default.bool,children:Mc.default.any.isRequired,className:Mc.default.string,contentClassName:Mc.default.string,delay:Mc.default.number,duration:Mc.default.number,easing:Mc.default.string,height:zwn,id:Mc.default.string,onAnimationEnd:Mc.default.func,onAnimationStart:Mc.default.func,style:Mc.default.object};UW.defaultProps={animateOpacity:!1,animationStateClasses:zFe,applyInlineTransitions:!0,duration:250,delay:0,easing:"ease",style:{}};HW.default=UW});var fGe=_e((G6,g$)=>{(function(n,t){typeof G6=="object"&&typeof g$=="object"?g$.exports=t():typeof define=="function"&&define.amd?define([],t):typeof G6=="object"?G6.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 p=function(d,y){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,g){h.__proto__=g}||function(h,g){for(var S in g)g.hasOwnProperty(S)&&(h[S]=g[S])},p(d,y)};return function(d,y){p(d,y);function h(){this.constructor=d}d.prototype=y===null?Object.create(y):(h.prototype=y.prototype,new h)}}();Object.defineProperty(n,"__esModule",{value:!0});var r=256,o=function(){function p(d){d===void 0&&(d="="),this._paddingCharacter=d}return p.prototype.encodedLength=function(d){return this._paddingCharacter?(d+2)/3*4|0:(d*8+5)/6|0},p.prototype.encode=function(d){for(var y="",h=0;h>>3*6&63),y+=this._encodeByte(g>>>2*6&63),y+=this._encodeByte(g>>>1*6&63),y+=this._encodeByte(g>>>0*6&63)}var S=d.length-h;if(S>0){var g=d[h]<<16|(S===2?d[h+1]<<8:0);y+=this._encodeByte(g>>>3*6&63),y+=this._encodeByte(g>>>2*6&63),S===2?y+=this._encodeByte(g>>>1*6&63):y+=this._paddingCharacter||"",y+=this._paddingCharacter||""}return y},p.prototype.maxDecodedLength=function(d){return this._paddingCharacter?d/4*3|0:(d*6+7)/8|0},p.prototype.decodedLength=function(d){return this.maxDecodedLength(d.length-this._getPaddingLength(d))},p.prototype.decode=function(d){if(d.length===0)return new Uint8Array(0);for(var y=this._getPaddingLength(d),h=d.length-y,g=new Uint8Array(this.maxDecodedLength(h)),S=0,M=0,P=0,O=0,T=0,k=0,K=0;M>>4,g[S++]=T<<4|k>>>2,g[S++]=k<<6|K,P|=O&r,P|=T&r,P|=k&r,P|=K&r;if(M>>4,P|=O&r,P|=T&r),M>>2,P|=k&r),M>>8&0-65-26+97,y+=51-d>>>8&26-97-52+48,y+=61-d>>>8&52-48-62+43,y+=62-d>>>8&62-43-63+47,String.fromCharCode(y)},p.prototype._decodeChar=function(d){var y=r;return y+=(42-d&d-44)>>>8&-r+d-43+62,y+=(46-d&d-48)>>>8&-r+d-47+63,y+=(47-d&d-58)>>>8&-r+d-48+52,y+=(64-d&d-91)>>>8&-r+d-65+0,y+=(96-d&d-123)>>>8&-r+d-97+26,y},p.prototype._getPaddingLength=function(d){var y=0;if(this._paddingCharacter){for(var h=d.length-1;h>=0&&d[h]===this._paddingCharacter;h--)y++;if(d.length<4||y>2)throw new Error("Base64Coder: incorrect padding")}return y},p}();n.Coder=o;var i=new o;function u(p){return i.encode(p)}n.encode=u;function l(p){return i.decode(p)}n.decode=l;var c=function(p){a(d,p);function d(){return p!==null&&p.apply(this,arguments)||this}return d.prototype._encodeByte=function(y){var h=y;return h+=65,h+=25-y>>>8&0-65-26+97,h+=51-y>>>8&26-97-52+48,h+=61-y>>>8&52-48-62+45,h+=62-y>>>8&62-45-63+95,String.fromCharCode(h)},d.prototype._decodeChar=function(y){var h=r;return h+=(44-y&y-46)>>>8&-r+y-45+62,h+=(94-y&y-96)>>>8&-r+y-95+63,h+=(47-y&y-58)>>>8&-r+y-48+52,h+=(64-y&y-91)>>>8&-r+y-65+0,h+=(96-y&y-123)>>>8&-r+y-97+26,h},d}(o);n.URLSafeCoder=c;var s=new c;function f(p){return s.encode(p)}n.encodeURLSafe=f;function v(p){return s.decode(p)}n.decodeURLSafe=v,n.encodedLength=function(p){return i.encodedLength(p)},n.maxDecodedLength=function(p){return i.maxDecodedLength(p)},n.decodedLength=function(p){return i.decodedLength(p)}},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 p=l[++s];if((p&192)!=128)throw new Error(r);f=(f&31)<<6|p&63,v=128}else if(f<240){if(s>=l.length-1)throw new Error(r);var p=l[++s],d=l[++s];if((p&192)!=128||(d&192)!=128)throw new Error(r);f=(f&15)<<12|(p&63)<<6|d&63,v=2048}else if(f<248){if(s>=l.length-2)throw new Error(r);var p=l[++s],d=l[++s],y=l[++s];if((p&192)!=128||(d&192)!=128||(y&192)!=128)throw new Error(r);f=(f&15)<<18|(p&63)<<12|(d&63)<<6|y&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 b(D,w){this.lastId=0,this.prefix=D,this.name=w}return b.prototype.create=function(D){this.lastId++;var w=this.lastId,F=this.prefix+w,A=this.name+"["+w+"]",re=!1,Oe=function(){re||(D.apply(null,arguments),re=!0)};return this[w]=Oe,{number:w,id:F,name:A,callback:Oe}},b.prototype.remove=function(D){delete this[D.number]},b}(),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 b(D){this.options=D,this.receivers=D.receivers||r,this.loading={}}return b.prototype.load=function(D,w,F){var A=this;if(A.loading[D]&&A.loading[D].length>0)A.loading[D].push(F);else{A.loading[D]=[F];var re=Fa.createScriptRequest(A.getPath(D,w)),Oe=A.receivers.create(function(Nn){if(A.receivers.remove(Oe),A.loading[D]){var Jt=A.loading[D];delete A.loading[D];for(var mr=function(hl){hl||re.cleanup()},Fi=0;Fi>>6)+v(128|D&63):v(224|D>>>12&15)+v(128|D>>>6&63)+v(128|D&63)},S=function(b){return b.replace(/[^\x00-\x7F]/g,g)},M=function(b){var D=[0,2,1][b.length%3],w=b.charCodeAt(0)<<16|(b.length>1?b.charCodeAt(1):0)<<8|(b.length>2?b.charCodeAt(2):0),F=[p.charAt(w>>>18),p.charAt(w>>>12&63),D>=2?"=":p.charAt(w>>>6&63),D>=1?"=":p.charAt(w&63)];return F.join("")},P=window.btoa||function(b){return b.replace(/[\s\S]{1,3}/g,M)},O=function(){function b(D,w,F,A){var re=this;this.clear=w,this.timer=D(function(){re.timer&&(re.timer=A(re.timer))},F)}return b.prototype.isRunning=function(){return this.timer!==null},b.prototype.ensureAborted=function(){this.timer&&(this.clear(this.timer),this.timer=null)},b}(),T=O,k=function(){var b=function(D,w){return b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(F,A){F.__proto__=A}||function(F,A){for(var re in A)A.hasOwnProperty(re)&&(F[re]=A[re])},b(D,w)};return function(D,w){b(D,w);function F(){this.constructor=D}D.prototype=w===null?Object.create(w):(F.prototype=w.prototype,new F)}}();function K(b){window.clearTimeout(b)}function oe(b){window.clearInterval(b)}var Te=function(b){k(D,b);function D(w,F){return b.call(this,setTimeout,K,w,function(A){return F(),null})||this}return D}(T),we=function(b){k(D,b);function D(w,F){return b.call(this,setInterval,oe,w,function(A){return F(),A})||this}return D}(T),xe={now:function(){return Date.now?Date.now():new Date().valueOf()},defer:function(b){return new Te(0,b)},method:function(b){for(var D=[],w=1;w0)for(var A=0;A=1002&&b.code<=1004?"backoff":null:b.code===4e3?"tls_only":b.code<4100?"refused":b.code<4200?"backoff":b.code<4300?"retry":"refused"},getCloseError:function(b){return b.code!==1e3&&b.code!==1001?{type:"PusherError",data:{code:b.code,message:b.reason||b.message}}:null}},qh=zQ,k5e=function(){var b=function(D,w){return b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(F,A){F.__proto__=A}||function(F,A){for(var re in A)A.hasOwnProperty(re)&&(F[re]=A[re])},b(D,w)};return function(D,w){b(D,w);function F(){this.constructor=D}D.prototype=w===null?Object.create(w):(F.prototype=w.prototype,new F)}}(),U5e=function(b){k5e(D,b);function D(w,F){var A=b.call(this)||this;return A.id=w,A.transport=F,A.activityTimeout=F.activityTimeout,A.bindListeners(),A}return D.prototype.handlesActivityChecks=function(){return this.transport.handlesActivityChecks()},D.prototype.send=function(w){return this.transport.send(w)},D.prototype.send_event=function(w,F,A){var re={event:w,data:F};return A&&(re.channel=A),Ne.debug("Event sent",re),this.send(qh.encodeMessage(re))},D.prototype.ping=function(){this.transport.supportsPing()?this.transport.ping():this.send_event("pusher:ping",{})},D.prototype.close=function(){this.transport.close()},D.prototype.bindListeners=function(){var w=this,F={message:function(re){var Oe;try{Oe=qh.decodeMessage(re)}catch(Nn){w.emit("error",{type:"MessageParseError",error:Nn,data:re.data})}if(Oe!==void 0){switch(Ne.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(re){w.emit("error",{type:"WebSocketError",error:re})},closed:function(re){A(),re&&re.code&&w.handleCloseEvent(re),w.transport=null,w.emit("closed")}},A=function(){Tn(F,function(re,Oe){w.transport.unbind(Oe,re)})};Tn(F,function(re,Oe){w.transport.bind(Oe,re)})},D.prototype.handleCloseEvent=function(w){var F=qh.getCloseAction(w),A=qh.getCloseError(w);A&&this.emit("error",A),F&&this.emit(F,{action:F,error:A})},D}(Rr),H5e=U5e,B5e=function(){function b(D,w){this.transport=D,this.callback=w,this.bindListeners()}return b.prototype.close=function(){this.unbindListeners(),this.transport.close()},b.prototype.bindListeners=function(){var D=this;this.onMessage=function(w){D.unbindListeners();var F;try{F=qh.processHandshake(w)}catch(A){D.finish("error",{error:A}),D.transport.close();return}F.action==="connected"?D.finish("connected",{connection:new H5e(F.id,D.transport),activityTimeout:F.activityTimeout}):(D.finish(F.action,{error:F.error}),D.transport.close())},this.onClosed=function(w){D.unbindListeners();var F=qh.getCloseAction(w)||"backoff",A=qh.getCloseError(w);D.finish(F,{error:A})},this.transport.bind("message",this.onMessage),this.transport.bind("closed",this.onClosed)},b.prototype.unbindListeners=function(){this.transport.unbind("message",this.onMessage),this.transport.unbind("closed",this.onClosed)},b.prototype.finish=function(D,w){this.callback(Ce({transport:this.transport,action:D},w))},b}(),J5e=B5e,q5e=function(){function b(D,w){this.channel=D;var F=w.authTransport;if(typeof Fa.getAuthorizers()[F]=="undefined")throw"'"+F+"' is not a recognized auth transport";this.type=F,this.options=w,this.authOptions=w.auth||{}}return b.prototype.composeQuery=function(D){var w="socket_id="+encodeURIComponent(D)+"&channel_name="+encodeURIComponent(this.channel.name);for(var F in this.authOptions.params)w+="&"+encodeURIComponent(F)+"="+encodeURIComponent(this.authOptions.params[F]);return w},b.prototype.authorize=function(D,w){b.authorizers=b.authorizers||Fa.getAuthorizers(),b.authorizers[this.type].call(this,Fa,D,w)},b}(),W5e=q5e,$5e=function(){function b(D,w){this.timeline=D,this.options=w||{}}return b.prototype.send=function(D,w){this.timeline.isEmpty()||this.timeline.send(Fa.TimelineTransport.getAgent(this,D),w)},b}(),z5e=$5e,Wh=function(){var b=function(D,w){return b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(F,A){F.__proto__=A}||function(F,A){for(var re in A)A.hasOwnProperty(re)&&(F[re]=A[re])},b(D,w)};return function(D,w){b(D,w);function F(){this.constructor=D}D.prototype=w===null?Object.create(w):(F.prototype=w.prototype,new F)}}(),V5e=function(b){Wh(D,b);function D(w){var F=this.constructor,A=b.call(this,w)||this;return Object.setPrototypeOf(A,F.prototype),A}return D}(Error),Q5e=function(b){Wh(D,b);function D(w){var F=this.constructor,A=b.call(this,w)||this;return Object.setPrototypeOf(A,F.prototype),A}return D}(Error),Y5e=function(b){Wh(D,b);function D(w){var F=this.constructor,A=b.call(this,w)||this;return Object.setPrototypeOf(A,F.prototype),A}return D}(Error),X5e=function(b){Wh(D,b);function D(w){var F=this.constructor,A=b.call(this,w)||this;return Object.setPrototypeOf(A,F.prototype),A}return D}(Error),VQ=function(b){Wh(D,b);function D(w){var F=this.constructor,A=b.call(this,w)||this;return Object.setPrototypeOf(A,F.prototype),A}return D}(Error),Z5e=function(b){Wh(D,b);function D(w){var F=this.constructor,A=b.call(this,w)||this;return Object.setPrototypeOf(A,F.prototype),A}return D}(Error),QQ=function(b){Wh(D,b);function D(w){var F=this.constructor,A=b.call(this,w)||this;return Object.setPrototypeOf(A,F.prototype),A}return D}(Error),K5e=function(){var b=function(D,w){return b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(F,A){F.__proto__=A}||function(F,A){for(var re in A)A.hasOwnProperty(re)&&(F[re]=A[re])},b(D,w)};return function(D,w){b(D,w);function F(){this.constructor=D}D.prototype=w===null?Object.create(w):(F.prototype=w.prototype,new F)}}(),e6e=function(b){K5e(D,b);function D(w,F){var A=b.call(this,function(re,Oe){Ne.debug("No callbacks on "+w+" for "+re)})||this;return A.name=w,A.pusher=F,A.subscribed=!1,A.subscriptionPending=!1,A.subscriptionCancelled=!1,A}return D.prototype.authorize=function(w,F){return F(!1,{auth:""})},D.prototype.trigger=function(w,F){if(w.indexOf("client-")!==0)throw new V5e("Event '"+w+"' does not start with 'client-'");if(!this.subscribed){var A=tt.buildLogSuffix("triggeringClientEvents");Ne.warn("Client event triggered before channel 'subscription_succeeded' event . "+A)}return this.pusher.send_event(w,F,this.name)},D.prototype.disconnect=function(){this.subscribed=!1,this.subscriptionPending=!1},D.prototype.handleEvent=function(w){var F=w.event,A=w.data;if(F==="pusher_internal:subscription_succeeded")this.handleSubscriptionSucceededEvent(w);else if(F.indexOf("pusher_internal:")!==0){var re={};this.emit(F,A,re)}},D.prototype.handleSubscriptionSucceededEvent=function(w){this.subscriptionPending=!1,this.subscribed=!0,this.subscriptionCancelled?this.pusher.unsubscribe(this.name):this.emit("pusher:subscription_succeeded",w.data)},D.prototype.subscribe=function(){var w=this;this.subscribed||(this.subscriptionPending=!0,this.subscriptionCancelled=!1,this.authorize(this.pusher.connection.socket_id,function(F,A){F?(Ne.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}))}))},D.prototype.unsubscribe=function(){this.subscribed=!1,this.pusher.send_event("pusher:unsubscribe",{channel:this.name})},D.prototype.cancelSubscription=function(){this.subscriptionCancelled=!0},D.prototype.reinstateSubscription=function(){this.subscriptionCancelled=!1},D}(Rr),YQ=e6e,n6e=function(){var b=function(D,w){return b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(F,A){F.__proto__=A}||function(F,A){for(var re in A)A.hasOwnProperty(re)&&(F[re]=A[re])},b(D,w)};return function(D,w){b(D,w);function F(){this.constructor=D}D.prototype=w===null?Object.create(w):(F.prototype=w.prototype,new F)}}(),t6e=function(b){n6e(D,b);function D(){return b!==null&&b.apply(this,arguments)||this}return D.prototype.authorize=function(w,F){var A=Yv.createAuthorizer(this,this.pusher.config);return A.authorize(w,F)},D}(YQ),y8=t6e,a6e=function(){function b(){this.reset()}return b.prototype.get=function(D){return Object.prototype.hasOwnProperty.call(this.members,D)?{id:D,info:this.members[D]}:null},b.prototype.each=function(D){var w=this;Tn(this.members,function(F,A){D(w.get(A))})},b.prototype.setMyID=function(D){this.myID=D},b.prototype.onSubscription=function(D){this.members=D.presence.hash,this.count=D.presence.count,this.me=this.get(this.myID)},b.prototype.addMember=function(D){return this.get(D.user_id)===null&&this.count++,this.members[D.user_id]=D.user_info,this.get(D.user_id)},b.prototype.removeMember=function(D){var w=this.get(D.user_id);return w&&(delete this.members[D.user_id],this.count--),w},b.prototype.reset=function(){this.members={},this.count=0,this.myID=null,this.me=null},b}(),r6e=a6e,o6e=function(){var b=function(D,w){return b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(F,A){F.__proto__=A}||function(F,A){for(var re in A)A.hasOwnProperty(re)&&(F[re]=A[re])},b(D,w)};return function(D,w){b(D,w);function F(){this.constructor=D}D.prototype=w===null?Object.create(w):(F.prototype=w.prototype,new F)}}(),i6e=function(b){o6e(D,b);function D(w,F){var A=b.call(this,w,F)||this;return A.members=new r6e,A}return D.prototype.authorize=function(w,F){var A=this;b.prototype.authorize.call(this,w,function(re,Oe){if(!re){if(Oe=Oe,Oe.channel_data===void 0){var Nn=tt.buildLogSuffix("authenticationEndpoint");Ne.error("Invalid auth response for channel '"+A.name+"',"+("expected 'channel_data' field. "+Nn)),F("Invalid auth response");return}var Jt=JSON.parse(Oe.channel_data);A.members.setMyID(Jt.user_id)}F(re,Oe)})},D.prototype.handleEvent=function(w){var F=w.event;if(F.indexOf("pusher_internal:")===0)this.handleInternalEvent(w);else{var A=w.data,re={};w.user_id&&(re.user_id=w.user_id),this.emit(F,A,re)}},D.prototype.handleInternalEvent=function(w){var F=w.event,A=w.data;switch(F){case"pusher_internal:subscription_succeeded":this.handleSubscriptionSucceededEvent(w);break;case"pusher_internal:member_added":var re=this.members.addMember(A);this.emit("pusher:member_added",re);break;case"pusher_internal:member_removed":var Oe=this.members.removeMember(A);Oe&&this.emit("pusher:member_removed",Oe);break}},D.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))},D.prototype.disconnect=function(){this.members.reset(),b.prototype.disconnect.call(this)},D}(y8),u6e=i6e,XQ=t(1),b8=t(0),l6e=function(){var b=function(D,w){return b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(F,A){F.__proto__=A}||function(F,A){for(var re in A)A.hasOwnProperty(re)&&(F[re]=A[re])},b(D,w)};return function(D,w){b(D,w);function F(){this.constructor=D}D.prototype=w===null?Object.create(w):(F.prototype=w.prototype,new F)}}(),c6e=function(b){l6e(D,b);function D(w,F,A){var re=b.call(this,w,F)||this;return re.key=null,re.nacl=A,re}return D.prototype.authorize=function(w,F){var A=this;b.prototype.authorize.call(this,w,function(re,Oe){if(re){F(!0,Oe);return}var Nn=Oe.shared_secret;if(!Nn){var Jt="No shared_secret key in auth payload for encrypted channel: "+A.name;F(!0,Jt);return}A.key=Object(b8.decode)(Nn),delete Oe.shared_secret,F(!1,Oe)})},D.prototype.trigger=function(w,F){throw new VQ("Client events are not currently supported for encrypted channels")},D.prototype.handleEvent=function(w){var F=w.event,A=w.data;if(F.indexOf("pusher_internal:")===0||F.indexOf("pusher:")===0){b.prototype.handleEvent.call(this,w);return}this.handleEncryptedEvent(F,A)},D.prototype.handleEncryptedEvent=function(w,F){var A=this;if(!this.key){Ne.debug("Received encrypted event before key has been retrieved from the authEndpoint");return}if(!F.ciphertext||!F.nonce){Ne.error("Unexpected format for encrypted event, expected object with `ciphertext` and `nonce` fields, got: "+F);return}var re=Object(b8.decode)(F.ciphertext);if(re.length0&&this.emit("connecting_in",Math.round(w/1e3)),this.retryTimer=new Te(w||0,function(){F.disconnectInternally(),F.connect()})},D.prototype.clearRetryTimer=function(){this.retryTimer&&(this.retryTimer.ensureAborted(),this.retryTimer=null)},D.prototype.setUnavailableTimer=function(){var w=this;this.unavailableTimer=new Te(this.options.unavailableTimeout,function(){w.updateState("unavailable")})},D.prototype.clearUnavailableTimer=function(){this.unavailableTimer&&this.unavailableTimer.ensureAborted()},D.prototype.sendActivityCheck=function(){var w=this;this.stopActivityCheck(),this.connection.ping(),this.activityTimer=new Te(this.options.pongTimeout,function(){w.timeline.error({pong_timed_out:w.options.pongTimeout}),w.retryIn(0)})},D.prototype.resetActivityCheck=function(){var w=this;this.stopActivityCheck(),this.connection&&!this.connection.handlesActivityChecks()&&(this.activityTimer=new Te(this.activityTimeout,function(){w.sendActivityCheck()}))},D.prototype.stopActivityCheck=function(){this.activityTimer&&this.activityTimer.ensureAborted()},D.prototype.buildConnectionCallbacks=function(w){var F=this;return Ce({},w,{message:function(A){F.resetActivityCheck(),F.emit("message",A)},ping:function(){F.send_event("pusher:pong",{})},activity:function(){F.resetActivityCheck()},error:function(A){F.emit("error",{type:"WebSocketError",error:A})},closed:function(){F.abandonConnection(),F.shouldRetry()&&F.retryIn(1e3)}})},D.prototype.buildHandshakeCallbacks=function(w){var F=this;return Ce({},w,{connected:function(A){F.activityTimeout=Math.min(F.options.activityTimeout,A.activityTimeout,A.connection.activityTimeout||1/0),F.clearUnavailableTimer(),F.setConnection(A.connection),F.socket_id=F.connection.id,F.updateState("connected",{socket_id:F.socket_id})}})},D.prototype.buildErrorCallbacks=function(){var w=this,F=function(A){return function(re){re.error&&w.emit("error",{type:"WebSocketError",error:re.error}),A(re)}};return{tls_only:F(function(){w.usingTLS=!0,w.updateStrategy(),w.retryIn(0)}),refused:F(function(){w.disconnect()}),backoff:F(function(){w.retryIn(1e3)}),retry:F(function(){w.retryIn(0)})}},D.prototype.setConnection=function(w){this.connection=w;for(var F in this.connectionCallbacks)this.connection.bind(F,this.connectionCallbacks[F]);this.resetActivityCheck()},D.prototype.abandonConnection=function(){if(!!this.connection){this.stopActivityCheck();for(var w in this.connectionCallbacks)this.connection.unbind(w,this.connectionCallbacks[w]);var F=this.connection;return this.connection=null,F}},D.prototype.updateState=function(w,F){var A=this.state;if(this.state=w,A!==w){var re=w;re==="connected"&&(re+=" with new socket ID "+F.socket_id),Ne.debug("State changed",A+" -> "+re),this.timeline.info({state:w,params:F}),this.emit("state_change",{previous:A,current:w}),this.emit(w,F)}},D.prototype.shouldRetry=function(){return this.state==="connecting"||this.state==="connected"},D}(Rr),p6e=v6e,m6e=function(){function b(){this.channels={}}return b.prototype.add=function(D,w){return this.channels[D]||(this.channels[D]=_6e(D,w)),this.channels[D]},b.prototype.all=function(){return Et(this.channels)},b.prototype.find=function(D){return this.channels[D]},b.prototype.remove=function(D){var w=this.channels[D];return delete this.channels[D],w},b.prototype.disconnect=function(){Tn(this.channels,function(D){D.disconnect()})},b}(),d6e=m6e;function _6e(b,D){if(b.indexOf("private-encrypted-")===0){if(D.config.nacl)return Yv.createEncryptedChannel(b,D,D.config.nacl);var w="Tried to subscribe to a private-encrypted- channel but no nacl implementation available",F=tt.buildLogSuffix("encryptedChannelSupport");throw new VQ(w+". "+F)}else return b.indexOf("private-")===0?Yv.createPrivateChannel(b,D):b.indexOf("presence-")===0?Yv.createPresenceChannel(b,D):Yv.createChannel(b,D)}var h6e={createChannels:function(){return new d6e},createConnectionManager:function(b,D){return new p6e(b,D)},createChannel:function(b,D){return new YQ(b,D)},createPrivateChannel:function(b,D){return new y8(b,D)},createPresenceChannel:function(b,D){return new u6e(b,D)},createEncryptedChannel:function(b,D,w){return new s6e(b,D,w)},createTimelineSender:function(b,D){return new z5e(b,D)},createAuthorizer:function(b,D){return D.authorizer?D.authorizer(b,D):new W5e(b,D)},createHandshake:function(b,D){return new J5e(b,D)},createAssistantToTheTransportManager:function(b,D,w){return new O5e(b,D,w)}},Yv=h6e,g6e=function(){function b(D){this.options=D||{},this.livesLeft=this.options.lives||1/0}return b.prototype.getAssistant=function(D){return Yv.createAssistantToTheTransportManager(this,D,{minPingDelay:this.options.minPingDelay,maxPingDelay:this.options.maxPingDelay})},b.prototype.isAlive=function(){return this.livesLeft>0},b.prototype.reportDeath=function(){this.livesLeft-=1},b}(),ZQ=g6e,D6e=function(){function b(D,w){this.strategies=D,this.loop=Boolean(w.loop),this.failFast=Boolean(w.failFast),this.timeout=w.timeout,this.timeoutLimit=w.timeoutLimit}return b.prototype.isSupported=function(){return U(this.strategies,Se.method("isSupported"))},b.prototype.connect=function(D,w){var F=this,A=this.strategies,re=0,Oe=this.timeout,Nn=null,Jt=function(mr,Fi){Fi?w(null,Fi):(re=re+1,F.loop&&(re=re%A.length),re0&&(re=new Te(F.timeout,function(){Oe.abort(),A(!0)})),Oe=D.connect(w,function(Nn,Jt){Nn&&re&&re.isRunning()&&!F.failFast||(re&&re.ensureAborted(),A(Nn,Jt))}),{abort:function(){re&&re.ensureAborted(),Oe.abort()},forceMinPriority:function(Nn){Oe.forceMinPriority(Nn)}}},b}(),$h=D6e,y6e=function(){function b(D){this.strategies=D}return b.prototype.isSupported=function(){return U(this.strategies,Se.method("isSupported"))},b.prototype.connect=function(D,w){return b6e(this.strategies,D,function(F,A){return function(re,Oe){if(A[F].error=re,re){R6e(A)&&w(!0);return}mt(A,function(Nn){Nn.forceMinPriority(Oe.transport.priority)}),w(null,Oe)}})},b}(),R8=y6e;function b6e(b,D,w){var F=z(b,function(A,re,Oe,Nn){return A.connect(D,w(re,Nn))});return{abort:function(){mt(F,w6e)},forceMinPriority:function(A){mt(F,function(re){re.forceMinPriority(A)})}}}function R6e(b){return pe(b,function(D){return Boolean(D.error)})}function w6e(b){!b.error&&!b.aborted&&(b.abort(),b.aborted=!0)}var S6e=function(){function b(D,w,F){this.strategy=D,this.transports=w,this.ttl=F.ttl||1800*1e3,this.usingTLS=F.useTLS,this.timeline=F.timeline}return b.prototype.isSupported=function(){return this.strategy.isSupported()},b.prototype.connect=function(D,w){var F=this.usingTLS,A=C6e(F),re=[this.strategy];if(A&&A.timestamp+this.ttl>=Se.now()){var Oe=this.transports[A.transport];Oe&&(this.timeline.info({cached:!0,transport:A.transport,latency:A.latency}),re.push(new $h([Oe],{timeout:A.latency*2+1e3,failFast:!0})))}var Nn=Se.now(),Jt=re.pop().connect(D,function mr(Fi,hl){Fi?(KQ(F),re.length>0?(Nn=Se.now(),Jt=re.pop().connect(D,mr)):w(Fi)):(I6e(F,hl.transport.name,Se.now()-Nn),w(null,hl))});return{abort:function(){Jt.abort()},forceMinPriority:function(mr){D=mr,Jt&&Jt.forceMinPriority(mr)}}},b}(),E6e=S6e;function w8(b){return"pusherTransport"+(b?"TLS":"NonTLS")}function C6e(b){var D=Fa.getLocalStorage();if(D)try{var w=D[w8(b)];if(w)return JSON.parse(w)}catch{KQ(b)}return null}function I6e(b,D,w){var F=Fa.getLocalStorage();if(F)try{F[w8(b)]=He({timestamp:Se.now(),transport:D,latency:w})}catch{}}function KQ(b){var D=Fa.getLocalStorage();if(D)try{delete D[w8(b)]}catch{}}var T6e=function(){function b(D,w){var F=w.delay;this.strategy=D,this.options={delay:F}}return b.prototype.isSupported=function(){return this.strategy.isSupported()},b.prototype.connect=function(D,w){var F=this.strategy,A,re=new Te(this.options.delay,function(){A=F.connect(D,w)});return{abort:function(){re.ensureAborted(),A&&A.abort()},forceMinPriority:function(Oe){D=Oe,A&&A.forceMinPriority(Oe)}}},b}(),GM=T6e,F6e=function(){function b(D,w,F){this.test=D,this.trueBranch=w,this.falseBranch=F}return b.prototype.isSupported=function(){var D=this.test()?this.trueBranch:this.falseBranch;return D.isSupported()},b.prototype.connect=function(D,w){var F=this.test()?this.trueBranch:this.falseBranch;return F.connect(D,w)},b}(),cS=F6e,M6e=function(){function b(D){this.strategy=D}return b.prototype.isSupported=function(){return this.strategy.isSupported()},b.prototype.connect=function(D,w){var F=this.strategy.connect(D,function(A,re){re&&F.abort(),w(A,re)});return F},b}(),G6e=M6e;function sS(b){return function(){return b.isSupported()}}var A6e=function(b,D,w){var F={};function A(vY,bLe,RLe,wLe,SLe){var pY=w(b,vY,bLe,RLe,wLe,SLe);return F[vY]=pY,pY}var re=Object.assign({},D,{hostNonTLS:b.wsHost+":"+b.wsPort,hostTLS:b.wsHost+":"+b.wssPort,httpPath:b.wsPath}),Oe=Object.assign({},re,{useTLS:!0}),Nn=Object.assign({},D,{hostNonTLS:b.httpHost+":"+b.httpPort,hostTLS:b.httpHost+":"+b.httpsPort,httpPath:b.httpPath}),Jt={loop:!0,timeout:15e3,timeoutLimit:6e4},mr=new ZQ({lives:2,minPingDelay:1e4,maxPingDelay:b.activityTimeout}),Fi=new ZQ({lives:2,minPingDelay:1e4,maxPingDelay:b.activityTimeout}),hl=A("ws","ws",3,re,mr),Xv=A("wss","ws",3,Oe,mr),_Le=A("sockjs","sockjs",1,Nn),iY=A("xhr_streaming","xhr_streaming",1,Nn,Fi),hLe=A("xdr_streaming","xdr_streaming",1,Nn,Fi),uY=A("xhr_polling","xhr_polling",1,Nn),gLe=A("xdr_polling","xdr_polling",1,Nn),lY=new $h([hl],Jt),DLe=new $h([Xv],Jt),yLe=new $h([_Le],Jt),cY=new $h([new cS(sS(iY),iY,hLe)],Jt),sY=new $h([new cS(sS(uY),uY,gLe)],Jt),fY=new $h([new cS(sS(cY),new R8([cY,new GM(sY,{delay:4e3})]),sY)],Jt),I8=new cS(sS(fY),fY,yLe),T8;return D.useTLS?T8=new R8([lY,new GM(I8,{delay:2e3})]):T8=new R8([lY,new GM(DLe,{delay:2e3}),new GM(I8,{delay:5e3})]),new E6e(new G6e(new cS(sS(hl),T8,I8)),F,{ttl:18e5,timeline:D.timeline,useTLS:D.useTLS})},x6e=A6e,L6e=function(){var b=this;b.timeline.info(b.buildTimelineMessage({transport:b.name+(b.options.useTLS?"s":"")})),b.hooks.isInitialized()?b.changeState("initialized"):b.hooks.file?(b.changeState("initializing"),s.load(b.hooks.file,{useTLS:b.options.useTLS},function(D,w){b.hooks.isInitialized()?(b.changeState("initialized"),w(!0)):(D&&b.onError(D),b.onClose(),w(!1))})):b.onClose()},j6e={getRequest:function(b){var D=new window.XDomainRequest;return D.ontimeout=function(){b.emit("error",new Q5e),b.close()},D.onerror=function(w){b.emit("error",w),b.close()},D.onprogress=function(){D.responseText&&D.responseText.length>0&&b.onChunk(200,D.responseText)},D.onload=function(){D.responseText&&D.responseText.length>0&&b.onChunk(200,D.responseText),b.emit("finished",200),b.close()},D},abortRequest:function(b){b.ontimeout=b.onerror=b.onprogress=b.onload=null,b.abort()}},N6e=j6e,P6e=function(){var b=function(D,w){return b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(F,A){F.__proto__=A}||function(F,A){for(var re in A)A.hasOwnProperty(re)&&(F[re]=A[re])},b(D,w)};return function(D,w){b(D,w);function F(){this.constructor=D}D.prototype=w===null?Object.create(w):(F.prototype=w.prototype,new F)}}(),O6e=256*1024,k6e=function(b){P6e(D,b);function D(w,F,A){var re=b.call(this)||this;return re.hooks=w,re.method=F,re.url=A,re}return D.prototype.start=function(w){var F=this;this.position=0,this.xhr=this.hooks.getRequest(this),this.unloader=function(){F.close()},Fa.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)},D.prototype.close=function(){this.unloader&&(Fa.removeUnloadListener(this.unloader),this.unloader=null),this.xhr&&(this.hooks.abortRequest(this.xhr),this.xhr=null)},D.prototype.onChunk=function(w,F){for(;;){var A=this.advanceBuffer(F);if(A)this.emit("chunk",{status:w,data:A});else break}this.isBufferTooLong(F)&&this.emit("buffer_too_long")},D.prototype.advanceBuffer=function(w){var F=w.slice(this.position),A=F.indexOf(` `);return A!==-1?(this.position+=A+1,F.slice(0,A)):null},D.prototype.isBufferTooLong=function(w){return this.position===w.length&&w.length>O6e},D}(Rr),U6e=k6e,S8;(function(b){b[b.CONNECTING=0]="CONNECTING",b[b.OPEN=1]="OPEN",b[b.CLOSED=3]="CLOSED"})(S8||(S8={}));var zh=S8,H6e=1,B6e=function(){function b(D,w){this.hooks=D,this.session=nY(1e3)+"/"+$6e(8),this.location=J6e(w),this.readyState=zh.CONNECTING,this.openStream()}return b.prototype.send=function(D){return this.sendRaw(JSON.stringify([D]))},b.prototype.ping=function(){this.hooks.sendHeartbeat(this)},b.prototype.close=function(D,w){this.onClose(D,w,!0)},b.prototype.sendRaw=function(D){if(this.readyState===zh.OPEN)try{return Fa.createSocketRequest("POST",eY(q6e(this.location,this.session))).start(D),!0}catch{return!1}else return!1},b.prototype.reconnect=function(){this.closeStream(),this.openStream()},b.prototype.onClose=function(D,w,F){this.closeStream(),this.readyState=zh.CLOSED,this.onclose&&this.onclose({code:D,reason:w,wasClean:F})},b.prototype.onChunk=function(D){if(D.status===200){this.readyState===zh.OPEN&&this.onActivity();var w,F=D.data.slice(0,1);switch(F){case"o":w=JSON.parse(D.data.slice(1)||"{}"),this.onOpen(w);break;case"a":w=JSON.parse(D.data.slice(1)||"[]");for(var A=0;A0&&b.onChunk(w.status,w.responseText);break;case 4:w.responseText&&w.responseText.length>0&&b.onChunk(w.status,w.responseText),b.emit("finished",w.status),b.close();break}},w},abortRequest:function(b){b.onreadystatechange=null,b.abort()}},K6e=Z6e,eLe={createStreamingSocket:function(b){return this.createSocket(Q6e,b)},createPollingSocket:function(b){return this.createSocket(X6e,b)},createSocket:function(b,D){return new z6e(b,D)},createXHR:function(b,D){return this.createRequest(K6e,b,D)},createRequest:function(b,D,w){return new U6e(b,D,w)}},tY=eLe;tY.createXDR=function(b,D){return this.createRequest(N6e,b,D)};var nLe=tY,tLe={nextAuthCallbackID:1,auth_callbacks:{},ScriptReceivers:r,DependenciesReceivers:c,getDefaultStrategy:x6e,Transports:x5e,transportConnectionInitializer:L6e,HTTPFactory:nLe,TimelineTransport:Ee,getXHRAPI:function(){return window.XMLHttpRequest},getWebSocketAPI:function(){return window.WebSocket||window.MozWebSocket},setup:function(b){var D=this;window.Pusher=b;var w=function(){D.onDocumentBody(b.ready)};window.JSON?w():s.load("json2",{},w)},getDocument:function(){return document},getProtocol:function(){return this.getDocument().location.protocol},getAuthorizers:function(){return{ajax:at,jsonp:Gn}},onDocumentBody:function(b){var D=this;document.body?b():setTimeout(function(){D.onDocumentBody(b)},0)},createJSONPRequest:function(b,D){return new vn(b,D)},createScriptRequest:function(b){return new rt(b)},getLocalStorage:function(){try{return window.localStorage}catch{return}},createXHR:function(){return this.getXHRAPI()?this.createXMLHttpRequest():this.createMicrosoftXHR()},createXMLHttpRequest:function(){var b=this.getXHRAPI();return new b},createMicrosoftXHR:function(){return new ActiveXObject("Microsoft.XMLHTTP")},getNetwork:function(){return N5e},createWebSocket:function(b){var D=this.getWebSocketAPI();return new D(b)},createSocketRequest:function(b,D){if(this.isXHRSupported())return this.HTTPFactory.createXHR(b,D);if(this.isXDRSupported(D.indexOf("https:")===0))return this.HTTPFactory.createXDR(b,D);throw"Cross-origin HTTP requests are not supported"},isXHRSupported:function(){var b=this.getXHRAPI();return Boolean(b)&&new b().withCredentials!==void 0},isXDRSupported:function(b){var D=b?"https:":"http:",w=this.getProtocol();return Boolean(window.XDomainRequest)&&w===D},addUnloadListener:function(b){window.addEventListener!==void 0?window.addEventListener("unload",b,!1):window.attachEvent!==void 0&&window.attachEvent("onunload",b)},removeUnloadListener:function(b){window.addEventListener!==void 0?window.removeEventListener("unload",b,!1):window.detachEvent!==void 0&&window.detachEvent("onunload",b)}},Fa=tLe,E8;(function(b){b[b.ERROR=3]="ERROR",b[b.INFO=6]="INFO",b[b.DEBUG=7]="DEBUG"})(E8||(E8={}));var AM=E8,aLe=function(){function b(D,w,F){this.key=D,this.session=w,this.events=[],this.options=F||{},this.sent=0,this.uniqueID=0}return b.prototype.log=function(D,w){D<=this.options.level&&(this.events.push(Ce({},w,{timestamp:Se.now()})),this.options.limit&&this.events.length>this.options.limit&&this.events.shift())},b.prototype.error=function(D){this.log(AM.ERROR,D)},b.prototype.info=function(D){this.log(AM.INFO,D)},b.prototype.debug=function(D){this.log(AM.DEBUG,D)},b.prototype.isEmpty=function(){return this.events.length===0},b.prototype.send=function(D,w){var F=this,A=Ce({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=[],D(A,function(re,Oe){re||F.sent++,w&&w(re,Oe)}),!0},b.prototype.generateUniqueID=function(){return this.uniqueID++,this.uniqueID},b}(),rLe=aLe,oLe=function(){function b(D,w,F,A){this.name=D,this.priority=w,this.transport=F,this.options=A||{}}return b.prototype.isSupported=function(){return this.transport.isSupported({useTLS:this.options.useTLS})},b.prototype.connect=function(D,w){var F=this;if(this.isSupported()){if(this.priority{qGe.exports=function(n){return n!=null&&n.constructor!=null&&typeof n.constructor.isBuffer=="function"&&n.constructor.isBuffer(n)}});var o4e=_e((i6r,r4e)=>{"use strict";var U6=Object.prototype.hasOwnProperty,XGe=Object.prototype.toString,ZGe=Object.defineProperty,KGe=Object.getOwnPropertyDescriptor,e4e=function(n){return typeof Array.isArray=="function"?Array.isArray(n):XGe.call(n)==="[object Array]"},n4e=function(n){if(!n||XGe.call(n)!=="[object Object]")return!1;var t=U6.call(n,"constructor"),a=n.constructor&&n.constructor.prototype&&U6.call(n.constructor.prototype,"isPrototypeOf");if(n.constructor&&!t&&!a)return!1;var r;for(r in n);return typeof r=="undefined"||U6.call(n,r)},t4e=function(n,t){ZGe&&t.name==="__proto__"?ZGe(n,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):n[t.name]=t.newValue},a4e=function(n,t){if(t==="__proto__")if(U6.call(n,t)){if(KGe)return KGe(n,t).value}else return;return n[t]};r4e.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 Gz=Symbol.for("react.element"),Az=Symbol.for("react.portal"),vL=Symbol.for("react.fragment"),pL=Symbol.for("react.strict_mode"),mL=Symbol.for("react.profiler"),dL=Symbol.for("react.provider"),_L=Symbol.for("react.context"),tGn=Symbol.for("react.server_context"),hL=Symbol.for("react.forward_ref"),gL=Symbol.for("react.suspense"),DL=Symbol.for("react.suspense_list"),yL=Symbol.for("react.memo"),bL=Symbol.for("react.lazy"),aGn=Symbol.for("react.offscreen"),E3e;E3e=Symbol.for("react.module.reference");function Gf(e){if(typeof e=="object"&&e!==null){var n=e.$$typeof;switch(n){case Gz:switch(e=e.type,e){case vL:case mL:case pL:case gL:case DL:return e;default:switch(e=e&&e.$$typeof,e){case tGn:case _L:case hL:case bL:case yL:case dL:return e;default:return n}}case Az:return n}}}Ir.ContextConsumer=_L;Ir.ContextProvider=dL;Ir.Element=Gz;Ir.ForwardRef=hL;Ir.Fragment=vL;Ir.Lazy=bL;Ir.Memo=yL;Ir.Portal=Az;Ir.Profiler=mL;Ir.StrictMode=pL;Ir.Suspense=gL;Ir.SuspenseList=DL;Ir.isAsyncMode=function(){return!1};Ir.isConcurrentMode=function(){return!1};Ir.isContextConsumer=function(e){return Gf(e)===_L};Ir.isContextProvider=function(e){return Gf(e)===dL};Ir.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Gz};Ir.isForwardRef=function(e){return Gf(e)===hL};Ir.isFragment=function(e){return Gf(e)===vL};Ir.isLazy=function(e){return Gf(e)===bL};Ir.isMemo=function(e){return Gf(e)===yL};Ir.isPortal=function(e){return Gf(e)===Az};Ir.isProfiler=function(e){return Gf(e)===mL};Ir.isStrictMode=function(e){return Gf(e)===pL};Ir.isSuspense=function(e){return Gf(e)===gL};Ir.isSuspenseList=function(e){return Gf(e)===DL};Ir.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===vL||e===mL||e===pL||e===gL||e===DL||e===aGn||typeof e=="object"&&e!==null&&(e.$$typeof===bL||e.$$typeof===yL||e.$$typeof===dL||e.$$typeof===_L||e.$$typeof===hL||e.$$typeof===E3e||e.getModuleId!==void 0)};Ir.typeOf=Gf});var T3e=_e((DPr,I3e)=>{"use strict";I3e.exports=C3e()});var P3e=_e((wPr,N3e)=>{var A3e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,rGn=/\n/g,oGn=/^\s*/,iGn=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,uGn=/^:\s*/,lGn=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,cGn=/^[;\s]*/,sGn=/^\s+|\s+$/g,fGn=` `,x3e="/",L3e="*",Py="",vGn="comment",pGn="declaration";N3e.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(y){var h=y.match(rGn);h&&(t+=h.length);var g=y.lastIndexOf(fGn);a=~g?y.length-g:a+y.length}function o(){var y={line:t,column:a};return function(h){return h.position=new i(y),s(),h}}function i(y){this.start=y,this.end={line:t,column:a},this.source=n.source}i.prototype.content=e;var u=[];function l(y){var h=new Error(n.source+":"+t+":"+a+": "+y);if(h.reason=y,h.filename=n.source,h.line=t,h.column=a,h.source=e,n.silent)u.push(h);else throw h}function c(y){var h=y.exec(e);if(!!h){var g=h[0];return r(g),e=e.slice(g.length),h}}function s(){c(oGn)}function f(y){var h;for(y=y||[];h=v();)h!==!1&&y.push(h);return y}function v(){var y=o();if(!(x3e!=e.charAt(0)||L3e!=e.charAt(1))){for(var h=2;Py!=e.charAt(h)&&(L3e!=e.charAt(h)||x3e!=e.charAt(h+1));)++h;if(h+=2,Py===e.charAt(h-1))return l("End of comment missing");var g=e.slice(2,h-2);return a+=2,r(g),e=e.slice(h),a+=2,y({type:vGn,comment:g})}}function p(){var y=o(),h=c(iGn);if(!!h){if(v(),!c(uGn))return l("property missing ':'");var g=c(lGn),S=y({type:pGn,property:j3e(h[0].replace(A3e,Py)),value:g?j3e(g[0].replace(A3e,Py)):Py});return c(cGn),S}}function d(){var y=[];f(y);for(var h;h=p();)h!==!1&&(y.push(h),f(y));return y}return s(),d()};function j3e(e){return e?e.replace(sGn,Py):Py}});var k3e=_e((SPr,jz)=>{var mGn=P3e();function O3e(e,n){var t=null;if(!e||typeof e!="string")return t;for(var a,r=mGn(e),o=typeof n=="function",i,u,l=0,c=r.length;lM7n});var gY=typeof Array.prototype.flatMap=="function"?function(e){return function(n){return e.flatMap(n)}}:function(e){return function(n){for(var t=[],a=e.length,r=0;r="0"&&e[r]<="9"?"\\&":"";return"\\"+t.charCodeAt(0).toString(10)+o})+'"'},eX=function(e){return function(n){for(var t=[],a=0,r=n.length;a0?Math.floor(e/n):-Math.floor(e/-n)}},DX=function(e){return function(n){if(n===0)return 0;var t=Math.abs(n);return(e%t+t)%t}};var k8={Ring0:function(){return e0}};var Ru=function(e){return e.mod};var ar={degree:hX,div:gX,mod:DX,CommutativeRing0:function(){return k8}},lr=function(e){return e.div};var U8={mempty:Re,Semigroup0:function(){return dS}},ft={mempty:"",Semigroup0:function(){return Tp}};var wd={mempty:[],Semigroup0:function(){return da}};var fa=function(e){return e.mempty};var H8=function(e){return function(){return e}},yX=function(e){return function(n){return function(){return n(e())()}}};var B8=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},KLe=function(e,n){if(e<1)return[];var t=new Array(e);return t.fill(n)},e8e=function(e,n){for(var t=[],a=0,r=0;r=t.length?n:e(t[a])};var xX=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)},jX=function(e,n,t,a,r){if(t<0||t>=r.length)return n;var o=r.slice();return o[t]=a,e(o)},Xy=function(e){return e.slice().reverse()},rg=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}}},aZ=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},BZ=function(e,n){for(var t=n[0],a=n.length,r=1;r0)return new _(WS(e));if(Fe)return E.value;throw new Error("Failed pattern match at Data.Array.NonEmpty (line 161, column 1 - line 161, column 58): "+[e.constructor.name])};var l1=function(e){return function(n){return WS(oi(e)(n))}};var QZ=function(e){return function(n){return Vje(e(Wu(n)))}},Ad=QZ(Di);var YZ=QZ(fj),XZ=function(e){return function(n){return e(Wu(n))}};var $S=XZ(tu);var ZZ=function(e){var n=XZ(e);return function(t){return WS(n(t))}},KZ=function(e){return ZZ(oi(e))};var eK=function(e){var n=Sl(e);return function(t){return ZZ(n(t))}};var nK=function(e){return function(n){return function(t){return(t|0)===t?e(t):n}}},ut=function(e){return e};var r2=isFinite;var o2=Math.abs;var Sj=Math.cos;var c1=Math.floor,Ej=Math.log;var i2=function(e){return function(n){return Math.pow(e,n)}},bg=function(e){return function(n){return e%n}},Rg=Math.round;var Cj=Math.sin;var s0=3.141592653589793;var tK=2.302585092994046;var aK=ei(Wy),rK=ro(Wy);var f0=function(){return nK(_.create)(E.value)}(),oK=function(e){if(!r2(e))return 0;if(e>=ut(aK))return aK;if(e<=ut(rK))return rK;if(Fe)return be(0)(f0(e));throw new Error("Failed pattern match at Data.Int (line 72, column 1 - line 72, column 29): "+[e.constructor.name])},Os=function(e){return oK(Rg(e))};var Zr=function(e){return oK(c1(e))},iK=function(e){return(e&1)==0};var Hr=function(){function e(){}return e.value=new e,e}(),Ia=function(){function e(n,t){this.value0=n,this.value1=t}return e.create=function(n){return function(t){return new e(n,t)}},e}(),u2=function(e){return e},s9e=function(e){return new Ia(e.value0,e.value1)};var f9e=function(e){var n=function(t){return function(a){var r=t,o=!1,i;function u(l,c){if(c instanceof Ia&&c.value1 instanceof Ia&&c.value1.value1 instanceof Ia){r=new Ia(c,l),a=c.value1.value1.value1;return}var s=function(v){return v instanceof Ia&&v.value1 instanceof Ia&&v.value1.value1 instanceof Hr?new Ia(e(v.value0),new Ia(e(v.value1.value0),Hr.value)):v instanceof Ia&&v.value1 instanceof Hr?new Ia(e(v.value0),Hr.value):Hr.value},f=function(v){return function(p){var d=v,y=!1,h;function g(S,M){if(S instanceof Ia&&S.value0 instanceof Ia&&S.value0.value1 instanceof Ia&&S.value0.value1.value1 instanceof Ia){d=S.value1,p=new Ia(e(S.value0.value0),new Ia(e(S.value0.value1.value0),new Ia(e(S.value0.value1.value1.value0),M)));return}return y=!0,M}for(;!y;)h=g(d,p);return h}};return o=!0,f(l)(s(c))}for(;!o;)i=u(r,a);return i}};return n(Hr.value)},lK={map:f9e};var $u={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 Ia){u=new Ia(v.value0,f),i=v.value1;return}throw new Error("Failed pattern match at Data.List.Types (line 107, column 7 - line 107, column 23): "+[f.constructor.name,v.constructor.name])}for(;!l;)c=s(u,i);return c}};return r(Hr.value)}(),a=Na($u)(Nt(e))(n);return function(r){return a(t(r))}}},foldl:function(e){var n=function(t){return function(a){var r=t,o=!1,i;function u(l,c){if(c instanceof Hr)return o=!0,l;if(c instanceof Ia){r=e(l)(c.value0),a=c.value1;return}throw new Error("Failed pattern match at Data.List.Types (line 111, column 12 - line 113, column 30): "+[c.constructor.name])}for(;!o;)i=u(r,a);return i}};return n},foldMap:function(e){var n=qe(e.Semigroup0()),t=fa(e);return function(a){return Na($u)(function(r){var o=n(r);return function(i){return o(a(i))}})(t)}}};var v9e=hr($u);var l2={append:function(e){return function(n){return v9e(Ia.create)(n)(e)}}},cK=qe(l2);var Ij={append:function(e){return function(n){return new qf(e.value0,cK(e.value1)(s9e(n)))}}};var sK={alt:cK,Functor0:function(){return lK}},Tj=function(){return{empty:Hr.value,Alt0:function(){return sK}}}();var y9e=j(B);var Fj=function(e){if(e instanceof Hr)return E.value;if(e instanceof Ia)return new _({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])},s2=function(e){return Su(e)(function(n){return y9e(function(t){return new Pe(t.head,t.tail)})(Fj(n))})};var xd=function(e){return hr(e)(Ia.create)(Hr.value)};var pK=function(e){return e()};var mK=function(e){throw new Error(e)};var dK=function(){return mK};var b9e=dK(),R9e=pK,Jc=function(e){return R9e(function(){return b9e(e)})};var Mj=function(){var e=a2(Tj);return function(n){return u2(e(n))}}();var hK=function(e){return e.value0};var DK=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 Ho=function(){function e(){}return e.value=new e,e}(),Bo=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}(),yK=function(){function e(){}return e.value=new e,e}(),Gj=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}(),Aj=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}(),bK=function(){function e(){}return e.value=new e,e}(),xj=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}(),f2=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 ks=function(e,n,t,a){if(t instanceof Ho){if(a instanceof Ho)return new Bo(1,1,e,n,t,a);if(a instanceof Bo)return new Bo(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 Bo){if(a instanceof Ho)return new Bo(1+t.value0|0,1+t.value1|0,e,n,t,a);if(a instanceof Bo)return new Bo(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])},zS=function(){return Nt(Aj.create)(yK.value)}(),I9e=function(e){return function(n){return function(t){var a=function(r){var o=!1,i;function u(l){if(l instanceof yK)return o=!0,t(Re);if(l instanceof Gj)return o=!0,n(l.value0,l.value1,l.value2);if(l instanceof Aj){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 wg=function(e){return function(n){return new Bo(1,1,e,n,Ho.value,Ho.value)}},s1=function(){var e=function(a){if(a instanceof Ho)return 0;if(a instanceof Bo)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 Bo&&l.value0>e(c)?ks(l.value2,l.value3,ks(a,r,o,l.value4),ks(i,u,l.value5,c)):ks(i,u,ks(a,r,o,l),c)},t=function(a,r,o,i,u,l,c){return l instanceof Bo&&e(u)<=l.value0?ks(l.value2,l.value3,ks(o,i,u,l.value4),ks(a,r,l.value5,c)):ks(o,i,u,ks(a,r,l,c))};return function(a,r,o,i){if(o instanceof Ho)return i instanceof Ho?wg(a)(r):i instanceof Bo&&i.value0>1?n(a,r,o,i.value2,i.value3,i.value4,i.value5):ks(a,r,o,i);if(o instanceof Bo){if(i instanceof Bo){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 Ho&&o.value0>1?t(a,r,o.value2,o.value3,o.value4,o.value5,i):ks(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])}}(),Lj=DK("unsafeSplit","Data.Map.Internal",function(){return function(e,n,t){if(t instanceof Ho)return new f2(E.value,Ho.value,Ho.value);if(t instanceof Bo){var a=e(n)(t.value2);if(a instanceof De){var r=Lj(793)(e,n,t.value4);return new f2(r.value0,r.value1,s1(t.value2,t.value3,r.value2,t.value5))}if(a instanceof ge){var r=Lj(796)(e,n,t.value5);return new f2(r.value0,s1(t.value2,t.value3,t.value4,r.value1),r.value2)}if(a instanceof Ie)return new f2(new _(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])}}),T9e=Lj(786);var jj=DK("unsafeUnionWith","Data.Map.Internal",function(){return function(e,n,t,a){if(t instanceof Ho)return a;if(a instanceof Ho)return t;if(a instanceof Bo){var r=T9e(e,a.value2,t),o=jj(809)(e,n,r.value1,a.value4),i=jj(810)(e,n,r.value2,a.value5);if(r.value0 instanceof _)return s1(a.value2,n(r.value0.value0)(a.value3),o,i);if(r.value0 instanceof E)return s1(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])}}),F9e=jj(803),Nj=function(e){var n=ze(e);return function(t){return function(a){return function(r){return F9e(n,t,a,r)}}}},VS=function(e){return Nj(e)(Ze)};var Ld=function(e){var n=ze(e);return function(t){var a=function(r){var o=!1,i;function u(l){if(l instanceof Ho)return o=!0,E.value;if(l instanceof Bo){var c=n(t)(l.value2);if(c instanceof De){r=l.value4;return}if(c instanceof ge){r=l.value5;return}if(c instanceof Ie)return o=!0,new _(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 M9e=function(){var e=function(n){return function(t){var a=n,r=!1,o;function i(u,l){if(l instanceof Ho)return r=!0,u;if(l instanceof Bo){if(l.value5 instanceof Ho){a=new Gj(l.value2,l.value3,u),t=l.value4;return}a=new Gj(l.value2,l.value3,new Aj(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}(),QS=I9e(M9e),RK=function(){return QS(function(e,n,t){return new xj(e,n,t)})(Ze(bK.value))}(),G9e=function(e){var n=ve(e);return function(t){var a=ve(t);return{eq:function(){var r=function(o){return function(i){var u=o,l=!1,c;function s(f,v){var p=RK(f);if(p instanceof xj){var d=RK(v);if(d instanceof xj&&n(p.value0)(d.value0)&&a(p.value1)(d.value1)){u=p.value2,i=d.value2;return}return l=!0,!1}if(p instanceof bK)return l=!0,!0;throw new Error("Failed pattern match at Data.Map.Internal (line 859, column 14 - line 868, column 13): "+[p.constructor.name])}for(;!l;)c=s(u,i);return c}};return r}()}}};var A9e=function(){var e=function(n,t,a){return new _(new Pe(new Pe(n,t),a))};return QS(e)(function(n){return E.value})}(),Us=function(e){var n=Su(e)(A9e);return function(t){return n(zS(t))}};var v2=function(e){return e instanceof Ho};var f1=function(e){var n=ze(e);return function(t){return function(a){var r=function(o){if(o instanceof Ho)return wg(t)(a);if(o instanceof Bo){var i=n(t)(o.value2);if(i instanceof De)return s1(o.value2,o.value3,r(o.value4),o.value5);if(i instanceof ge)return s1(o.value2,o.value3,o.value4,r(o.value5));if(i instanceof Ie)return new Bo(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 p2=function(e){var n=G9e(e);return function(t){var a=ve(n(t));return{eq:function(r){return function(o){if(r instanceof Ho)return o instanceof Ho;if(r instanceof Bo)return o instanceof Bo&&r.value1===o.value1?a(zS(r))(zS(o)):!1;throw new Error("Failed pattern match at Data.Map.Internal (line 94, column 14 - line 105, column 16): "+[r.constructor.name])}}}}};var Cl=function(){return Ho.value}(),Eu=function(e){var n=f1(e);return function(t){return Na(t)(function(a){return function(r){return n(r.value0)(r.value1)(a)}})(Cl)}};var wK=Uo();var B9e=function(e){return wK(VS(e))};var SK=function(e){return e};var EK=function(e){return wg(e)(Re)};var CK=function(e){return{append:B9e(e)}};var IK=wK(v2);var TK=function(e){var n=f1(e);return function(t){return function(a){return n(t)(Re)(a)}}};var FK=function(e){var n=ve(p2(e)(Jy));return{eq:function(t){return function(a){return n(t)(a)}}}};var J9e=Cl,XS=function(e){var n=Na(e);return function(t){var a=TK(t);return n(function(r){return function(o){return a(o)(r)}})(J9e)}};var q9e=typeof Array.from=="function",MK=typeof Symbol!="undefined"&&Symbol!=null&&typeof Symbol.iterator!="undefined"&&typeof String.prototype[Symbol.iterator]=="function",W9e=typeof String.prototype.fromCodePoint=="function",$9e=typeof String.prototype.codePointAt=="function",GK=function(e){return $9e?function(n){return n.codePointAt(0)}:e},AK=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(MK)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 xK=function(e){return W9e?String.fromCodePoint:e},LK=function(e){return function(n){return MK?function(t){for(var a="",r=t[Symbol.iterator](),o=0;o=jd(PK)&&e<=jd(OK)?new _(NK(e)):E.value},z9e={succ:Sg(Oj)(jd),pred:Eg(Oj)(jd),Ord0:function(){return PM}};var v1=function(){return{cardinality:jd(OK)-jd(PK)|0,toEnum:Oj,fromEnum:jd,Bounded0:function(){return bd},Enum1:function(){return z9e}}}();var p1=function(e){return e.join("")},ZS=function(e){return e.split("")},Nd=function(e){return e},kK=function(e){return function(n){return function(t){return function(a){return t>=0&&t=0&&e1;if(t){var a=eE(Jp(1)(e)),r=qK(a);return r?JK(n)(a):n}return n},Uj=GK(rNe),Ig=jK(aNe)(Uj),Br=function(e){return ha(Ig(e))};var Hj=function(){var e=Pj(v1)(ro(bd))(ei(bd));return function(n){return Nd(e(n))}}(),oNe=function(e){if(e<=65535)return Hj(e);var n=K9e(e-65536|0)(1024)+55296|0,t=eNe(e-65536|0)(1024)+56320|0;return Hj(n)+Hj(t)};var _1=xK(oNe),$K=function(e){return function(n){if(e<1)return"";var t=d1(n);return t instanceof _?_1(t.value0.head)+$K(e-1|0)(t.value0.tail):n}},Il=LK($K);var h2={eq:function(e){return function(n){return e===n}}},g2={compare:function(e){return function(n){return nNe(e)(n)}},Eq0:function(){return h2}},Tg=function(e){return function(n){return Bp(Hs(Il(e)(n)))(n)}};var iNe=function(e){return function(n){var t=e,a=!1,r;function o(i,u){var l=d1(u);if(l instanceof _){var c=i===0;if(c)return a=!0,new _(l.value0.head);t=i-1|0,n=l.value0.tail;return}return a=!0,E.value}for(;!a;)r=o(t,n);return r}},h1=function(e){return function(n){return e<0?E.value:e===0&&n===""?E.value:e===0?new _(Uj(n)):AK(iNe)(_.create)(E.value)(Uj)(e)(n)}},uNe={bottom:0,top:1114111,Ord0:function(){return g2}},Pd=function(){return{cardinality:1114111+1|0,fromEnum:function(e){return e},toEnum:function(e){if(e>=0&&e<=1114111)return new _(e);if(Fe)return E.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 uNe},Enum1:function(){return lNe(0)}}}(),lNe=Y9e("enumCodePoint","Data.String.CodePoints",function(){return{succ:Sg(wt(Pd))(dt(Pd)),pred:Eg(wt(Pd))(dt(Pd)),Ord0:function(){return g2}}});function y2(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 Wf=function(){return function(){return function(e){return function(n){return y2(e,n)}}}};function eee(e){return typeof e=="string"}function Jj(e){return typeof e=="number"}function nee(e){return typeof e=="boolean"}function b2(e){return e instanceof Object}function tee(e){return e instanceof Function}function nE(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 qj(e){return typeof e}function tE(e){return Object.prototype.toString.call(e).slice(8,-1)}function Fg(e){return e===null}function Mg(e){return e===void 0}var D1=Array.isArray||function(e){return Object.prototype.toString.call(e)==="[object Array]"};function $f(e){return new Error(e)}function y1(e){return e.message}function R2(e){return function(){throw e}}var ree=function(e){return R2($f(e))};var ii=function(e){return e.throwError};var oc=function(e){return e.catchError};var Wc=function(e){var n=oc(e),t=e.MonadThrow0().Monad0(),a=j(t.Bind1().Apply0().Functor0()),r=q(t.Applicative0());return function(o){return n(a(nn.create)(o))(function(i){return r(Ke.create(i))})}};var p0=function(e){return e.state};var m0=function(e){return e.tell};var Bs={liftEffect:$e(Xe),Monad0:function(){return o0}},Hn=function(e){return e.liftEffect};var yNe=j(oo);var Wj=function(e){return e};var w2=function(e){return e};var S2=function(e){return function(n){return e(n)}},E2=function(e){var n=j(e);return{map:function(t){return S2(n(yNe(t)))}}};var iee=function(e){return{Applicative0:function(){return ic(e)},Bind1:function(){return $c(e)}}},$c=function(e){var n=Z(e.Bind1()),t=q(e.Applicative0());return{bind:function(a){return function(r){return n(a)(tr(function(o){return t(Ke.create(o))})(function(o){var i=r(o);return i}))}},Apply0:function(){return C2(e)}}},C2=function(e){var n=E2(e.Bind1().Apply0().Functor0());return{apply:bl(iee(e)),Functor0:function(){return n}}},ic=function(e){return{pure:function(){var n=q(e.Applicative0());return function(t){return Wj(n(nn.create(t)))}}(),Apply0:function(){return C2(e)}}};var $j=function(e){var n=iee(e);return{throwError:function(){var t=q(e.Applicative0());return function(a){return Wj(t(Ke.create(a)))}}(),Monad0:function(){return n}}};var zj=function(e){var n=qe(e);return function(t){var a=t.Bind1(),r=Z(a),o=q(t.Applicative0()),i=E2(a.Apply0().Functor0());return{alt:function(u){return function(l){return r(u)(function(c){if(c instanceof nn)return o(new nn(c.value0));if(c instanceof Ke)return r(l)(function(s){if(s instanceof nn)return o(new nn(s.value0));if(s instanceof Ke)return o(new Ke(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 bNe=ne(wr),RNe=ne(Ye);var I2=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),iE=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}(),lee=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}(),cee=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}(),xa=Be,d0=Be;var uE=function(e){if(e instanceof I2)return e.value0;if(e instanceof lee)return"Error at array index "+(RNe(e.value0)+(": "+uE(e.value1)));if(e instanceof cee)return"Error at property "+(bNe(e.value0)+(": "+uE(e.value1)));if(e instanceof iE)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 Ag=function(e){var n=ii($j(e));return function(t){return n(Mj(t))}},see=function(e){var n=q(ic(e)),t=Ag(e);return function(a){if(D1(a))return n(d0(a));if(Fe)return t(new iE("array",tE(a)));throw new Error("Failed pattern match at Foreign (line 164, column 1 - line 164, column 99): "+[a.constructor.name])}},zf=function(e){var n=q(ic(e)),t=Ag(e);return function(a){return function(r){if(tE(r)===a)return n(d0(r));if(Fe)return t(new iE(a,tE(r)));throw new Error("Failed pattern match at Foreign (line 123, column 1 - line 123, column 104): "+[a.constructor.name,r.constructor.name])}}};var xg=function(e){return zf(e)("String")};var fee=Qa(qt),vee=Sa(fee),wNe=MZ(i1),SNe=ne(Ye),ENe=NS(ft),au=function(){function e(){}return e.value=new e,e}(),zu=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),de={validateJsRecord:function(e){return au.value}},kd={validateForeignType:function(e){return au.value}};var Lg=function(e){return function(n){return function(t){var a=n(t);return a?au.value:new zu({path:"",got:t,expected:e})}}},lE={validateForeignType:Lg("Array")(D1)},$n={validateForeignType:Lg("Boolean")(nee)},pee={validateForeignType:Lg("Function")(tee)};var It={validateForeignType:Lg("Int")(ec(fee)(Jj)(function(e){return yt(f0(d0(e)))}))};var Lt={validateForeignType:Lg("Number")(Jj)},T2={validateForeignType:Lg("Object")(b2)},ie={validateForeignType:Lg("String")(eee)},mee=function(e){return e.validateJsRecord},Qn=function(){return function(e){var n=mee(e);return{validateForeignType:function(t){if(b2(t))return n(t);if(Fe)return new zu({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])}}}},jg=function(e){return e.validateForeignType},zn=function(e){var n=jg(e);return{validateForeignType:function(t){if(vee(D1)(t))return new zu({path:"",expected:"Array",got:t});if(Fe){var a=function(o){return function(i){var u=n(i);if(u instanceof au)return E.value;if(u instanceof zu)return new _({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=wNe(a)(d0(t));if(r instanceof E)return au.value;if(r instanceof _)return new zu({expected:r.value0.invalid.expected,got:r.value0.invalid.got,path:"["+(SNe(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])}}},Pn=function(e){var n=jg(e);return{validateForeignType:function(t){if(Fg(t)||Mg(t))return au.value;if(Fe){var a=n(t);if(a instanceof au)return au.value;if(a instanceof zu)return new zu({path:a.value0.path,got:a.value0.got,expected:function(){var r=a.value0.path==="";return r?"Nullable "+a.value0.expected:a.value0.expected}()});throw new Error("Failed pattern match at Elmish.Foreign (line 196, column 11 - line 198, column 123): "+[a.constructor.name])}throw new Error("Failed pattern match at Elmish.Foreign (line 192, column 1 - line 198, column 123): "+[t.constructor.name])}}},Ng=function(e){var n=jg(e);return{validateForeignType:function(t){if(vee(b2)(t))return new zu({path:"",expected:"Object",got:t});if(Fe){var a=function(r){return function(o){return function(i){if(r instanceof zu)return E.value;var u=n(i);if(u instanceof au)return new _(au.value);if(u instanceof zu)return new _(new zu({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 PZ(a)(au.value)(d0(t))}throw new Error("Failed pattern match at Elmish.Foreign (line 145, column 6 - line 153, column 97): "+[t.constructor.name])}}};var C=function(e){var n=nr(e);return function(t){var a=jg(t);return function(r){var o=mee(r);return{validateJsRecord:function(i){var u=n(bt.value),l=Ai(u)(d0(i)),c=a(l);if(c instanceof zu)return new zu({expected:c.value0.expected,got:c.value0.got,path:"."+(u+c.value0.path)});if(c instanceof au)return o(i);throw new Error("Failed pattern match at Elmish.Foreign (line 235, column 9 - line 237, column 43): "+[c.constructor.name])}}}}},_0=function(e){var n=jg(e);return function(t){var a=n(t);if(a instanceof au)return new nn(d0(t));if(a instanceof zu)return new Ke(ENe([a.value0.path,function(){var r=a.value0.path==="";return r?"Expected ":": expected "}(),a.value0.expected," but got: ",nE(a.value0.got)]));throw new Error("Failed pattern match at Elmish.Foreign (line 255, column 18 - line 263, column 6): "+[a.constructor.name])}},St=function(e){var n=_0(e);return function(t){return Ju(n(t))}};var dee=an(),CNe=ze(Ct);var F2=function(e){return e};var Vj={show:dee};var Ni={show:dee};var INe={eq:function(e){return function(n){return e===n}}},Qj={compare:function(e){return function(n){return CNe(e)(n)}},Eq0:function(){return INe}},zc={eq:function(e){return function(n){return e===n}}};var cE=ie,Js=ie;var sE="";function _ee(e){var n=e.split(` `);return n.reduce(function(t,a){var r=MNe(a)||ANe(a)||jNe(a)||kNe(a)||PNe(a);return r&&t.push(r),t},[])}var TNe=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack||\/|[a-z]:\\|\\\\).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,FNe=/\((\S*)(?::(\d+))(?::(\d+))\)/;function MNe(e){var n=TNe.exec(e);if(!n)return null;var t=n[2]&&n[2].indexOf("native")===0,a=n[2]&&n[2].indexOf("eval")===0,r=FNe.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]||sE,arguments:t?[n[2]]:[],lineNumber:n[3]?+n[3]:null,column:n[4]?+n[4]:null}}var GNe=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;function ANe(e){var n=GNe.exec(e);return n?{file:n[2],methodName:n[1]||sE,arguments:[],lineNumber:+n[3],column:n[4]?+n[4]:null}:null}var xNe=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,LNe=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function jNe(e){var n=xNe.exec(e);if(!n)return null;var t=n[3]&&n[3].indexOf(" > eval")>-1,a=LNe.exec(n[3]);return t&&a!=null&&(n[3]=a[1],n[4]=a[2],n[5]=null),{file:n[3],methodName:n[1]||sE,arguments:n[2]?n[2].split(","):[],lineNumber:n[4]?+n[4]:null,column:n[5]?+n[5]:null}}var NNe=/^\s*(?:([^@]*)(?:\((.*?)\))?@)?(\S.*?):(\d+)(?::(\d+))?\s*$/i;function PNe(e){var n=NNe.exec(e);return n?{file:n[3],methodName:n[1]||sE,arguments:[],lineNumber:+n[4],column:n[5]?+n[5]:null}:null}var ONe=/^\s*at (?:((?:\[object object\])?[^\\/]+(?: \[as \S+\])?) )?\(?(.*?):(\d+)(?::(\d+))?\)?\s*$/i;function kNe(e){var n=ONe.exec(e);return n?{file:n[2],methodName:n[1]||sE,arguments:[],lineNumber:+n[3],column:n[4]?+n[4]:null}:null}function hee({skipFrames:e,prefix:n}){let t=new Error().stack,r=_ee(t)[e],o=gee(r.file.replace(/^(http(s?):\/\/)?[^\/]+/,"")),i=gee(r.methodName);return`${n}_${o}_${i}_${r.lineNumber}_${r.column}`}var gee=e=>e.replace(/[^\d\w]+/g,"_").replace(/(^_|_$)/g,"");Ht();var Dee=function(){let e={};return function(n,t){let a=e[n]||(e[n]=Ree(n));return t(a)}}();function yee(e){return e(Ree())}var bee=gt.createElement,dE=e=>()=>e.props.def;function Ree(e){class n extends gt.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 G2=typeof module=="undefined"?void 0:module.require,iat=function(){try{return G2===void 0?void 0:G2("util")}catch{return}}();var uat=function(){var e;if(typeof performance!="undefined")e=performance;else if(G2)try{e=G2("perf_hooks").performance}catch{}return function(){return(e||Date).now()}}();var uc=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",p="Cons",d="Resume",y="Release",h="Finalizer",g="Finalized",S="Forked",M="Fiber",P="Thunk";function O(Y,fe,he,U){this.tag=Y,this._1=fe,this._2=he,this._3=U}function T(Y){var fe=function(he,U,pe){return new O(Y,he,U,pe)};return fe.tag=Y,fe}function k(Y){return new O(n,void 0)}function K(Y){try{Y()}catch(fe){setTimeout(function(){throw fe},0)}}function oe(Y,fe,he){try{return fe(he())}catch(U){return Y(U)}}function Te(Y,fe,he){try{return fe(he)()}catch(U){return he(Y(U))(),k}}var we=function(){var Y=1024,fe=0,he=0,U=new Array(Y),pe=!1;function V(){var je;for(pe=!0;fe!==0;)fe--,je=U[he],U[he]=void 0,he=(he+1)%Y,je();pe=!1}return{isDraining:function(){return pe},enqueue:function(je){var Me,He;fe===Y&&(He=pe,V(),pe=He),U[(he+fe)%Y]=je,fe++,pe||V()}}}();function xe(Y){var fe={},he=0,U=0;return{register:function(pe){var V=he++;pe.onComplete({rethrow:!0,handler:function(je){return function(){U--,delete fe[V]}}})(),fe[V]=pe,U++},isEmpty:function(){return U===0},killAll:function(pe,V){return function(){if(U===0)return V();var je=0,Me={};function He(Ne){Me[Ne]=fe[Ne].kill(pe,function(Fn){return function(){delete Me[Ne],je--,Y.isLeft(Fn)&&Y.fromLeft(Fn)&&setTimeout(function(){throw Y.fromLeft(Fn)},0),je===0&&V()}})()}for(var en in fe)fe.hasOwnProperty(en)&&(je++,He(en));return fe={},he=0,U=0,function(Ne){return new O(r,function(){for(var Fn in Me)Me.hasOwnProperty(Fn)&&Me[Fn]()})}}}}}var Se=0,Ce=1,Je=2,ue=3,Tn=4,on=5,Et=6;function mt(Y,fe,he){var U=0,pe=Se,V=he,je=null,Me=null,He=null,en=null,Ne=null,Fn=0,fn=0,tt=null,In=!0;function at(rt){for(var qn,vn,vt;;)switch(qn=null,vn=null,vt=null,pe){case Je:pe=Ce;try{V=He(V),en===null?He=null:(He=en._1,en=en._2)}catch(Ee){pe=on,je=Y.left(Ee),V=null}break;case ue:Y.isLeft(V)?(pe=on,je=V,V=null):He===null?pe=on:(pe=Je,V=Y.fromRight(V));break;case Ce:switch(V.tag){case i:He&&(en=new O(p,He,en)),He=V._2,pe=Ce,V=V._1;break;case n:He===null?(pe=on,V=Y.right(V._1)):(pe=Je,V=V._1);break;case r:pe=ue,V=oe(Y.left,Y.right,V._1);break;case o:pe=Tn,V=Te(Y.left,V._1,function(Ee){return function(){U===rt&&(U++,we.enqueue(function(){U===rt+1&&(pe=ue,V=Ee,at(U))}))}});return;case t:pe=on,je=Y.left(V._1),V=null;break;case a:He===null?Ne=new O(p,V,Ne,Me):Ne=new O(p,V,new O(p,new O(d,He,en),Ne,Me),Me),He=null,en=null,pe=Ce,V=V._1;break;case u:Fn++,He===null?Ne=new O(p,V,Ne,Me):Ne=new O(p,V,new O(p,new O(d,He,en),Ne,Me),Me),He=null,en=null,pe=Ce,V=V._1;break;case l:pe=ue,qn=mt(Y,fe,V._2),fe&&fe.register(qn),V._1&&qn.run(),V=Y.right(qn);break;case c:pe=Ce,V=x(Y,fe,V._1);break}break;case on:if(He=null,en=null,Ne===null)pe=Et,V=Me||je||V;else switch(qn=Ne._3,vt=Ne._1,Ne=Ne._2,vt.tag){case a:Me&&Me!==qn&&Fn===0?pe=on:je&&(pe=Ce,V=vt._2(Y.fromLeft(je)),je=null);break;case d:Me&&Me!==qn&&Fn===0||je?pe=on:(He=vt._1,en=vt._2,pe=Je,V=Y.fromRight(V));break;case u:Fn--,je===null&&(vn=Y.fromRight(V),Ne=new O(p,new O(y,vt._2,vn),Ne,qn),(Me===qn||Fn>0)&&(pe=Ce,V=vt._3(vn)));break;case y:Ne=new O(p,new O(g,V,je),Ne,Me),pe=Ce,Me&&Me!==qn&&Fn===0?V=vt._1.killed(Y.fromLeft(Me))(vt._2):je?V=vt._1.failed(Y.fromLeft(je))(vt._2):V=vt._1.completed(Y.fromRight(V))(vt._2),je=null,Fn++;break;case h:Fn++,Ne=new O(p,new O(g,V,je),Ne,Me),pe=Ce,V=vt._1;break;case g:Fn--,pe=on,V=vt._1,je=vt._2;break}break;case Et:for(var Va in tt)tt.hasOwnProperty(Va)&&(In=In&&tt[Va].rethrow,K(tt[Va].handler(V)));tt=null,Me&&je?setTimeout(function(){throw Y.fromLeft(je)},0):Y.isLeft(V)&&In&&setTimeout(function(){if(In)throw Y.fromLeft(V)},0);return;case Se:pe=Ce;break;case Tn:return}}function Dt(rt){return function(){if(pe===Et)return In=In&&rt.rethrow,rt.handler(V)(),function(){};var qn=fn++;return tt=tt||{},tt[qn]=rt,function(){tt!==null&&delete tt[qn]}}}function Gn(rt,qn){return function(){if(pe===Et)return qn(Y.right(void 0))(),function(){};var vn=Dt({rethrow:!1,handler:function(){return qn(Y.right(void 0))}})();switch(pe){case Se:Me=Y.left(rt),pe=Et,V=Me,at(U);break;case Tn:Me===null&&(Me=Y.left(rt)),Fn===0&&(pe===Tn&&(Ne=new O(p,new O(h,V(rt)),Ne,Me)),pe=on,V=null,je=null,at(++U));break;default:Me===null&&(Me=Y.left(rt)),Fn===0&&(pe=on,V=null,je=null)}return vn}}function At(rt){return function(){var qn=Dt({rethrow:!1,handler:rt})();return pe===Se&&at(U),qn}}return{kill:Gn,join:At,onComplete:Dt,isSuspended:function(){return pe===Se},run:function(){pe===Se&&(we.isDraining()?at(U):we.enqueue(function(){at(U)}))}}}function z(Y,fe,he,U){var pe=0,V={},je=0,Me={},He=new Error("[ParAff] Early exit"),en=null,Ne=e;function Fn(Dt,Gn,At){var rt=Gn,qn=null,vn=null,vt=0,Va={},Ee,Qe;e:for(;;)switch(Ee=null,rt.tag){case S:if(rt._3===e&&(Ee=V[rt._1],Va[vt++]=Ee.kill(Dt,function(xt){return function(){vt--,vt===0&&At(xt)()}})),qn===null)break e;rt=qn._2,vn===null?qn=null:(qn=vn._1,vn=vn._2);break;case s:rt=rt._2;break;case f:case v:qn&&(vn=new O(p,qn,vn)),qn=rt,rt=rt._1;break}if(vt===0)At(Y.right(void 0))();else for(Qe=0,Ee=vt;Qen[e],zee=(e,n,t)=>t[e]=n;var Hg=function(n){return function(t){return n(t)()}};var I1=function(n){return function(t){return function(){return n(t)}}},Ud=function(n){return function(t){return function(a){return function(){return n(t,a)}}}},Bg=function(n){return function(t){return function(a){return function(r){return function(){return n(t,a,r)}}}}};var bPe=ee(st),DE=function(){function e(){}return e.value=new e,e}(),Yee=function(){return function(e){var n=nr(e);return function(t){return Bg(zee)(n(bt.value))}}},n9=function(e){var n=St(e);return function(t){var a=nr(t);return function(r){return function(o){return bPe(function(){return $ee(a(bt.value),o)})(n)}}}};var Tl=null;function Xee(e,n,t){return e==null?n:t(e)}function cc(e){return e}var Bt=Ue(Tl)(cc),te=function(e){return Xee(e,E.value,_.create)};Ht();var Qc=window.ReactDOM,{createPortal:t9,findDOMNode:Nut,flushSync:Put,unstable_batchedUpdates:Out}=window.ReactDOM;var w9=ya(Hne());function Bne(e){return e.state&&e.state.s}function Jne(e,n,t){return e.setState({s:n},t)}function qne(e,n){return e.state={s:n}}var Wne=Qc.render,$ne=Qc.hydrate,S9=w9.default&&w9.default.renderToString||(e=>""),ZPe=Qc.unmountComponentAtNode,zne=gt.Fragment;function Vne(e,n,t){return gt.createElement.apply(null,[e,KPe(e,n)].concat(t))}function KPe(e,n){if(typeof e!="string"||n._data==null)return n;var t={_data:void 0};for(var a in n._data){var r=n._data[a];t["data-"+a]=r}return Object.assign({},n,t)}function Qne(e){return n=>e===n}var G1=function(e){return function(n){return function(t){var a=te(t);if(e instanceof E&&a instanceof E)return Re;if(e instanceof _&&a instanceof E)return Re;if(e instanceof _&&a instanceof _){if(Qne(e.value0)(a.value0))return Re;if(Fe)return n(new _(a.value0))()}return n(a)()}}};var L={asReactChildren:function(e){return[e]}},ae={asReactChildren:function(e){return[e]}},W={asReactChildren:$e(Xe)};var X=Be,E9=Bg(Jne),Yne=Ud(Wne),Xne=Ud($ne),Zne=I1(Bne),cn=!1;var Kne=Ud(qne),$g=function(e){return e.asReactChildren},Gl=function(){return function(e){var n=$g(e);return function(t){return function(a){return function(r){return Vne(t,a,n(r))}}}}},ete=Gl()(W),sc=function(){return function(e){return function(n){return ete(e)(n)([])}}},le=ete(zne)({});var C9=j(st),eOe=q(ta),nte=function(e){return{initialize:function(n){return Kne(n)(e.initialState)},getState:function(n){return function(){var a=C9(te)(Zne(n))();return be(e.initialState)(a)}},setState:E9}},tte=function(){var e=function(n){return function(t){return{initialize:function(a){return xp(new _(t.initialState))(n)},getState:function(a){return C9(be(t.initialState))(Ap(n))},setState:function(a){return function(r){return function(o){return function(){return xp(new _(r))(n)(),E9(a)(r)(eOe(Re))(),o()}}}}}}};return C9(e)(Sd(E.value))}();var ate=ee(me),rte=qe(da);var nOe=q(ta),ote=Yee(),ite={reflectSymbol:function(){return"__unmounted"}},tOe=ote(ite),ute={reflectSymbol:function(){return"__subscriptions"}},aOe=ote(ute),V2=ee(st),rOe=n9($n)(ite),lte=j(st),oOe=n9(zn(pee))(ute),iOe=Un(An),uOe=ct(rr),lOe=qM(ta)(Ae),cOe=iOe(Ut),cte=Hn(Bs),sOe=Vy(o0),fOe=qe(_S(BM(dS))),I9=function(e){return e},Jd=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}(),vOe={map:function(e){return function(n){return new Jd(e(n.value0),n.value1)}}},Pi=function(e){return{bimap:function(n){return function(t){return function(a){return new Jd(t(a.value0),ate(a.value1)(function(r){return function(o){return r({dispatch:function(i){return o.dispatch(n(i))},onStop:o.onStop})}}))}}}}},ste={apply:function(e){return function(n){return new Jd(e.value0(n.value0),rte(e.value1)(n.value1))}},Functor0:function(){return vOe}},Wt={bind:function(e){return function(n){var t=n(e.value0);return new Jd(t.value0,rte(e.value1)(t.value1))}},Apply0:function(){return ste}},_t={pure:function(e){return new Jd(e,[])},Apply0:function(){return ste}},fte={Applicative0:function(){return _t},Bind1:function(){return Wt}};var vte=function(e){var n=Z(e);return function(t){var a=Hn(t);return function(r){return function(o){return new Jd(r,ate(o)(function(i){return function(u){return n(i)(function(l){return a(u.dispatch(l))})}}))}}}};var D0=function(e){return new Jd(Re,[e])},cr=function(e){return D0(Ze(e))},qd=function(e){var n=Z(e.Monad0().Bind1()),t=Hn(e);return function(a){return D0(function(r){return n(a)(function(o){return t(Ue(nOe(Re))(r.dispatch)(o))})})}},qr=function(e){var n=vte(e.Monad0().Bind1())(e);return function(t){return n(Re)([t])}},pte=function(e){return function(n){var t=tOe(DE.value),a=aOe(DE.value),r=function(p){return function(d){return function(y){return function(){var g=V2(dE(p))(function(S){return S.init})();return n({initialState:g.value0}).setState(p)(d)(y)()}}}},o=function(){var p=lte(be(!1)),d=rOe(DE.value);return function(y){return p(d(y))}}(),i=function(){var p=lte(be([])),d=oOe(DE.value);return function(y){return p(d(y))}}(),u=function(p){return function(){return uOe(lOe)(i(p))(),a([])(p)()}},l=function(p){return function(){var y=V2(dE(p))(function(h){return h.init})();return n({initialState:y.value0}).getState(p)()}},c=function(p){return function(d){return function(){var h=i(p)();return a(oi(gE(d))(h))(p)()}}},s=function(p){return function(d){var y=function(h){return gE(cOe(lc(0))(function(){return h({dispatch:function(){var g=f(d);return function(S){return cte(g(S))}}(),onStop:c(d)})}))};return B8(p)(y)}},f=function(p){return function(d){return sOe(o(p))(function(){var h=l(p)(),g=V2(dE(p))(function(M){return M.update})(),S=g(h)(d);return r(p)(S.value0)(s(S.value1)(p))()})}},v=function(p){return function(){var y=l(p)(),h=V2(dE(p))(function(g){return g.view})();return h(y)(f(p))}};return function(p){return bee(e,{def:p,init:n({initialState:p.init.value0}).initialize,render:v,componentDidMount:s(p.init.value1),componentWillUnmount:fOe(t(!0))(u)})}}},T9=function(e){return function(){var t=cte(tte)();return yee(function(a){return pte(a)(t)(e)})}},Vu=function(e){return function(n){return Dee(e,function(t){var a=pte(t)(nte);return function(r){return a(n(r))}})}};var pOe=q(_t),mOe=$e(Xe),Q2=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),dOe={map:function(e){return function(n){return new Q2(function(t){return n.value0(function(a){return t(e(a))})})}}},mte=j(dOe);var F9=function(e){return I9(hee(e))},Jo=function(e){return new Q2(function(n){return n(e)})},zg=function(e){return function(n){return new Q2(function(t){return Vu(e)(n)(t)})}},M9=function(e){return function(n){return Vu(e)(function(t){return{init:pOe(Re),update:Ze(Ip),view:Ze(Ze(n.value0(mOe)))}})(Re)}},A1=function(e){var n=F9({skipFrames:3,prefix:"WithHook"});return function(t){return M9(n)(mte(t)(e))}},Eo=function(e){var n=F9({skipFrames:3,prefix:"WithHookCurried"});return function(t){return M9(n)(mte(kf(t))(e))}},ru=function(e){var n=F9({skipFrames:3,prefix:"HooksComponent"});return M9(n)(e)},qo=function(){return function(e){return function(n){return new Q2(function(t){return e.value0(function(a){var r=n(a);return r.value0(t)})})}}},_Oe=qo(),Ws=function(e){return function(){return _Oe}};var _te=q(_t),hOe=$e(Xe);var gOe=function(e){return function(n){return function(t){return zg(e)(function(a){return n({init:_te(t),update:function(r){return function(o){return _te(o)}},view:lg(a)})})}}},ra=function(e){return gOe("UseState")(hOe)(e)};var dn=function(){return{"genericTop'":se.value}}();var G9=function(e){return e["genericTop'"]},_n=function(e){return{"genericTop'":G9(e)}};var hn=function(){return{"genericBottom'":se.value}}();var CE=function(e){return e["genericBottom'"]},gn=function(e){return{"genericBottom'":CE(e)}};var Dn=function(e){return{"genericBottom'":new H(CE(e))}},hte=function(e){var n=ng(e);return function(t){return n(CE(t))}};var Vp=j(B),Y2=an();var A9=function(e){return e["genericToEnum'"]};var X2=function(e){return e["genericSucc'"]},Z2=function(e){var n=ng(e),t=Rd(e);return function(a){var r=Vp(n),o=X2(a);return function(i){return r(o(t(i)))}}},K2=function(e){return e["genericPred'"]},Dte=function(e){var n=ng(e),t=Rd(e);return function(a){var r=Vp(n),o=K2(a);return function(i){return r(o(t(i)))}}},eG=function(e){return e["genericFromEnum'"]},yte=function(e){var n=Rd(e);return function(t){var a=eG(t);return function(r){return a(n(r))}}},yn=function(e){var n=K2(e),t=X2(e);return function(a){var r=G9(a);return function(o){var i=K2(o),u=X2(o);return function(l){var c=CE(l);return{"genericPred'":function(s){if(s instanceof H)return Vp(H.create)(n(s.value0));if(s instanceof m){var f=i(s.value0);if(f instanceof E)return new _(new H(r));if(f instanceof _)return new _(new m(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 E)return new _(new m(c));if(f instanceof _)return new _(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 m)return Vp(m.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 bn={"genericPred'":function(e){return E.value},"genericSucc'":function(e){return E.value}},Rn=function(e){var n=K2(e),t=X2(e);return{"genericPred'":function(a){return Vp(DS)(n(a))},"genericSucc'":function(a){return Vp(DS)(t(a))}}};var x9=function(e){return e["genericCardinality'"]};var wn=function(e){var n=x9(e),t=A9(e),a=eG(e);return function(r){var o=A9(r),i=eG(r);return{"genericCardinality'":Y2(n)+Y2(x9(r))|0,"genericToEnum'":function(u){var l=function(c){if(u>=0&&un=>t=>a=>{let r=ROe[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()},Rte=(e,n)=>(n.__sentryFingerprint=e,n);var wte=function(e){return wu(Rte)(e)};var Co="error";var nG={parseOrPanic:function(e){return function(n){var t=e.parse(n);if(t instanceof nn)return t.value0;if(t instanceof Ke)return fo(Co)("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])}}},ot=function(e){return e.parseOrPanic},wOe=ot(nG),Yn=function(e){var n=ot(e);return function(t){var a=j(t);return function(r){return n({parse:function(o){return a(_.create)(r.parse(o))},default:E.value,diagnosticName:r.diagnosticName})}}},SOe=Yn(nG)(oo),x1=function(e){var n=_0(e);return function(t){return SOe({parse:n,diagnosticName:t})}},Le={parseOrPanic:function(e){return wOe({default:e.default,diagnosticName:e.diagnosticName,parse:function(){var n=Ue(new Ke(""))(nn.create);return function(t){return n(e.parse(t))}}()})}};var Ste=ot(Le);var EOe=Ns(Ae);var Wd={name:"United States of America",code:"US"},Vg=function(e){return e.name},$d=function(e){return e.code};var L9=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")]}(),COe=Ln($d)(L9),L1=Ste({parse:COe,default:{name:"",code:""},diagnosticName:"USState"}),Ete=Ste({parse:Ln(Vg)(L9),default:{name:"",code:""},diagnosticName:"USState"}),Cte=[Wd,{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"}],IOe=function(e){return EOe(function(n){return function(t){return t===e}(function(t){return t.code}(n))})(Cte)},tG=Yn(Le)(B)({parse:IOe,diagnosticName:"Common.Geo.Country"});var TOe=function(e){return e};var j1=function(e){return e},IE=TOe;var Ite=ee(B),FOe=Ft(Xr),MOe=Li(ft),fc=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Al=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),TE=function(e){if(e instanceof fc)return Vg(e.value0.state);if(e instanceof Al)return e.value0.country.name;throw new Error("Failed pattern match at Common.Address (line 156, column 22 - line 158, column 41): "+[e.constructor.name])};var FE=function(e){if(e instanceof fc)return e.value0.region;if(e instanceof Al)return"Non-US";throw new Error("Failed pattern match at Common.Address (line 136, column 10 - line 138, column 29): "+[e.constructor.name])},GOe=function(e){return{street:e.street,city:e.city,county:e.county,region:e.region,zip:e.zip,state:L1(e.state),location:IE(e.location)}},AOe=function(e){return{address:e.address,country:be(Wd)(tG(e.country)),location:IE(e.location)}},Tte=function(e){var n=Ite(te(e.usAddress))(function(a){return new fc(GOe(a))}),t=Ite(te(e.nonUSAddress))(function(a){return new Al(AOe(a))});return yS(function(a){return fo(Co)("Unable to parse Address: Unknown Address")({raw:e})(function(r){return new Al({address:"",country:Wd,location:IE({lat:-48.8766632,lng:-123.395522})})})})(FOe(n)(t))},ME=function(e){if(e instanceof fc||e instanceof Al)return e.value0.location;throw new Error("Failed pattern match at Common.Address (line 131, column 12 - line 133, column 37): "+[e.constructor.name])},GE=function(e){if(e instanceof fc)return e.value0.city+(", "+Vg(e.value0.state));if(e instanceof Al)return e.value0.country.name;throw new Error("Failed pattern match at Common.Address (line 141, column 26 - line 143, column 41): "+[e.constructor.name])},j9=function(e){if(e instanceof fc)return MOe(" ")([e.value0.street,GE(e),e.value0.zip]);if(e instanceof Al)return e.value0.address;throw new Error("Failed pattern match at Common.Address (line 120, column 18 - line 124, column 17): "+[e.constructor.name])};var xOe=ot(Le),Fte=Rn(bn),Mte=yn(Fte)(_n(dn)),Gte=gn(hn),Ate=Dn(Gte),xte=En(Sn),Lte=wn(xte),aG=function(){function e(){}return e.value=new e,e}(),N9=function(){function e(){}return e.value=new e,e}(),P9=function(){function e(){}return e.value=new e,e}(),LOe={to:function(e){if(e instanceof H)return aG.value;if(e instanceof m&&e.value0 instanceof H)return N9.value;if(e instanceof m&&e.value0 instanceof m)return P9.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 aG)return new H(se.value);if(e instanceof N9)return new m(new H(se.value));if(e instanceof P9)return new m(new m(se.value));throw new Error("Failed pattern match at Common.CampusSetting (line 16, column 1 - line 16, column 40): "+[e.constructor.name])}},jOe=pn(LOe)(Mte(Mte(Fte)(Gte))(Ate))(Lte(Lte(xte)))(Ate);var Qg=function(e){if(e instanceof aG)return"Rural";if(e instanceof P9)return"Urban";if(e instanceof N9)return"Suburban";throw new Error("Failed pattern match at Common.CampusSetting (line 21, column 8 - line 24, column 25): "+[e.constructor.name])},jte=function(){return xOe({parse:Ln(Qg)(jOe),default:aG.value,diagnosticName:"CampusSetting"})}();var Nte=function(e){return function(n){return n.join(e)}};var NOe=qe(da),Wo={genericShowArgs:function(e){return[]}};var POe=function(e){return e.genericShowArgs};var vo=function(e){var n=POe(e);return function(t){var a=nr(t);return{"genericShow'":function(r){var o=a(bt.value),i=n(r);return i.length===0?o:"("+(Nte(" ")(NOe([o])(i))+")")}}}},O9=function(e){return e["genericShow'"]};var Io=function(e){var n=O9(e);return function(t){var a=O9(t);return{"genericShow'":function(r){if(r instanceof H)return n(r.value0);if(r instanceof m)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])}}}},po=function(e){var n=Rd(e);return function(t){var a=O9(t);return function(r){return a(n(r))}}};var $s=function(e){var n=null;return function(){return e===void 0||(n=e(),e=void 0),n}},vc=function(e){return e()};var oG=function(e){var n=j(e);return{map:function(t){return function(a){return function(r){return n(function(o){return new Pe(t(o.value0),o.value1)})(a(r))}}}}};var N1=function(e){return{Applicative0:function(){return AE(e)},Bind1:function(){return iG(e)}}},iG=function(e){var n=Z(e.Bind1());return{bind:function(t){return function(a){return function(r){return n(t(r))(function(o){var i=a(o.value0);return i(o.value1)})}}},Apply0:function(){return uG(e)}}},uG=function(e){var n=oG(e.Bind1().Apply0().Functor0());return{apply:bl(N1(e)),Functor0:function(){return n}}},AE=function(e){var n=q(e.Applicative0());return{pure:function(t){return function(a){return n(new Pe(t,a))}},Apply0:function(){return uG(e)}}};var lG=function(e){var n=e.Monad0(),t=Z(n.Bind1()),a=q(n.Applicative0()),r=Rl(e),o=N1(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 ni)return new ni(new Pe(f.value0.value0,f.value1));if(f.value0 instanceof ti)return new ti(new Pe(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 Pe(u,c))}}},Monad0:function(){return o}}},P1=function(e){var n=q(e.Applicative0()),t=N1(e);return{state:function(a){return function(r){return n(a(r))}},Monad0:function(){return t}}};var cG=function(e){return function(n){var t=e(n);return t.value0}};var zOe=Ru(ar),VOe=Ba();var Ute=function(e){return e};var QOe=1,q9=2147483647,YOe=function(){return q9-1|0}(),Hte=function(e){var n=function(t){return function(a){return function(r){var o=a-t|0,i=zOe(r)(o),u=it=>{try{let a=new Date(t);return isNaN(a.getTime())?n:e(a)}catch{return n}},EN=e=>({year:e.getFullYear(),month:e.getMonth(),day:e.getDate(),hour:e.getHours(),minute:e.getMinutes(),second:e.getSeconds(),millisecond:e.getMilliseconds()}),cre=()=>new Date,yUe=(()=>{let e=new Date;return typeof window!="undefined"?()=>e:()=>{let n=new Date;return n-e>1e3&&(e=n),e}})();var bUe=(()=>{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 sre=function(e,n,t){var a=new Date(Date.UTC(e,n,t));return e>=0&&e<100&&a.setUTCFullYear(e),a};function fre(e,n,t,a){var r=sre(n,t-1,a);return e(r.getUTCFullYear())(r.getUTCMonth()+1)(r.getUTCDate())}function vre(e,n,t){return sre(e,n-1,t).getUTCDay()}var MG=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 as=function(){function e(){}return e.value=new e,e}(),Vs=function(){function e(){}return e.value=new e,e}(),Qs=function(){function e(){}return e.value=new e,e}(),Ys=function(){function e(){}return e.value=new e,e}(),Xs=function(){function e(){}return e.value=new e,e}(),Zs=function(){function e(){}return e.value=new e,e}(),cv=function(){function e(){}return e.value=new e,e}(),Qu=function(){function e(){}return e.value=new e,e}(),xl=function(){function e(){}return e.value=new e,e}(),Yu=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}(),Xu=function(){function e(){}return e.value=new e,e}(),Zu=function(){function e(){}return e.value=new e,e}(),Nl=function(){function e(){}return e.value=new e,e}(),Pl=function(){function e(){}return e.value=new e,e}(),Ol=function(){function e(){}return e.value=new e,e}(),kl=function(){function e(){}return e.value=new e,e}(),mc=function(){function e(){}return e.value=new e,e}();var pre={show:function(e){if(e instanceof as)return"Monday";if(e instanceof Vs)return"Tuesday";if(e instanceof Qs)return"Wednesday";if(e instanceof Ys)return"Thursday";if(e instanceof Xs)return"Friday";if(e instanceof Zs)return"Saturday";if(e instanceof cv)return"Sunday";throw new Error("Failed pattern match at Data.Date.Component (line 184, column 1 - line 191, column 25): "+[e.constructor.name])}},CN={show:function(e){if(e instanceof Qu)return"January";if(e instanceof xl)return"February";if(e instanceof Yu)return"March";if(e instanceof Ll)return"April";if(e instanceof jl)return"May";if(e instanceof Xu)return"June";if(e instanceof Zu)return"July";if(e instanceof Nl)return"August";if(e instanceof Pl)return"September";if(e instanceof Ol)return"October";if(e instanceof kl)return"November";if(e instanceof mc)return"December";throw new Error("Failed pattern match at Data.Date.Component (line 101, column 1 - line 113, column 29): "+[e.constructor.name])}};var GG=Rt,AG=Rt,mre=dr,RUe={eq:function(e){return function(n){return e instanceof as&&n instanceof as||e instanceof Vs&&n instanceof Vs||e instanceof Qs&&n instanceof Qs||e instanceof Ys&&n instanceof Ys||e instanceof Xs&&n instanceof Xs||e instanceof Zs&&n instanceof Zs||e instanceof cv&&n instanceof cv}}},dre={compare:function(e){return function(n){if(e instanceof as&&n instanceof as)return Ie.value;if(e instanceof as)return De.value;if(n instanceof as)return ge.value;if(e instanceof Vs&&n instanceof Vs)return Ie.value;if(e instanceof Vs)return De.value;if(n instanceof Vs)return ge.value;if(e instanceof Qs&&n instanceof Qs)return Ie.value;if(e instanceof Qs)return De.value;if(n instanceof Qs)return ge.value;if(e instanceof Ys&&n instanceof Ys)return Ie.value;if(e instanceof Ys)return De.value;if(n instanceof Ys)return ge.value;if(e instanceof Xs&&n instanceof Xs)return Ie.value;if(e instanceof Xs)return De.value;if(n instanceof Xs)return ge.value;if(e instanceof Zs&&n instanceof Zs)return Ie.value;if(e instanceof Zs)return De.value;if(n instanceof Zs)return ge.value;if(e instanceof cv&&n instanceof cv)return Ie.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 RUe}},IN={eq:function(e){return function(n){return e instanceof Qu&&n instanceof Qu||e instanceof xl&&n instanceof xl||e instanceof Yu&&n instanceof Yu||e instanceof Ll&&n instanceof Ll||e instanceof jl&&n instanceof jl||e instanceof Xu&&n instanceof Xu||e instanceof Zu&&n instanceof Zu||e instanceof Nl&&n instanceof Nl||e instanceof Pl&&n instanceof Pl||e instanceof Ol&&n instanceof Ol||e instanceof kl&&n instanceof kl||e instanceof mc&&n instanceof mc}}},J1={compare:function(e){return function(n){if(e instanceof Qu&&n instanceof Qu)return Ie.value;if(e instanceof Qu)return De.value;if(n instanceof Qu)return ge.value;if(e instanceof xl&&n instanceof xl)return Ie.value;if(e instanceof xl)return De.value;if(n instanceof xl)return ge.value;if(e instanceof Yu&&n instanceof Yu)return Ie.value;if(e instanceof Yu)return De.value;if(n instanceof Yu)return ge.value;if(e instanceof Ll&&n instanceof Ll)return Ie.value;if(e instanceof Ll)return De.value;if(n instanceof Ll)return ge.value;if(e instanceof jl&&n instanceof jl)return Ie.value;if(e instanceof jl)return De.value;if(n instanceof jl)return ge.value;if(e instanceof Xu&&n instanceof Xu)return Ie.value;if(e instanceof Xu)return De.value;if(n instanceof Xu)return ge.value;if(e instanceof Zu&&n instanceof Zu)return Ie.value;if(e instanceof Zu)return De.value;if(n instanceof Zu)return ge.value;if(e instanceof Nl&&n instanceof Nl)return Ie.value;if(e instanceof Nl)return De.value;if(n instanceof Nl)return ge.value;if(e instanceof Pl&&n instanceof Pl)return Ie.value;if(e instanceof Pl)return De.value;if(n instanceof Pl)return ge.value;if(e instanceof Ol&&n instanceof Ol)return Ie.value;if(e instanceof Ol)return De.value;if(n instanceof Ol)return ge.value;if(e instanceof kl&&n instanceof kl)return Ie.value;if(e instanceof kl)return De.value;if(n instanceof kl)return ge.value;if(e instanceof mc&&n instanceof mc)return Ie.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 IN}},_re=dr,hre=function(){return{bottom:-271820|0,top:275759,Ord0:function(){return GG}}}(),wUe=function(){return{bottom:as.value,top:cv.value,Ord0:function(){return dre}}}(),gre=function(){return{bottom:Qu.value,top:mc.value,Ord0:function(){return J1}}}(),wi={cardinality:547580,toEnum:function(e){if(e>=(-271820|0)&&e<=275759)return new _(e);if(Fe)return E.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 hre},Enum1:function(){return SUe(0)}},SUe=MG("enumYear","Data.Date.Component",function(){return{succ:function(){var e=wt(wi),n=dt(wi);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=wt(wi),n=dt(wi);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return GG}}});var e_={cardinality:7,toEnum:function(e){return e===1?new _(as.value):e===2?new _(Vs.value):e===3?new _(Qs.value):e===4?new _(Ys.value):e===5?new _(Xs.value):e===6?new _(Zs.value):e===7?new _(cv.value):E.value},fromEnum:function(e){if(e instanceof as)return 1;if(e instanceof Vs)return 2;if(e instanceof Qs)return 3;if(e instanceof Ys)return 4;if(e instanceof Xs)return 5;if(e instanceof Zs)return 6;if(e instanceof cv)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 wUe},Enum1:function(){return EUe(0)}},EUe=MG("enumWeekday","Data.Date.Component",function(){return{succ:function(){var e=wt(e_),n=dt(e_);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=wt(e_),n=dt(e_);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return dre}}});var mo={cardinality:12,toEnum:function(e){return e===1?new _(Qu.value):e===2?new _(xl.value):e===3?new _(Yu.value):e===4?new _(Ll.value):e===5?new _(jl.value):e===6?new _(Xu.value):e===7?new _(Zu.value):e===8?new _(Nl.value):e===9?new _(Pl.value):e===10?new _(Ol.value):e===11?new _(kl.value):e===12?new _(mc.value):E.value},fromEnum:function(e){if(e instanceof Qu)return 1;if(e instanceof xl)return 2;if(e instanceof Yu)return 3;if(e instanceof Ll)return 4;if(e instanceof jl)return 5;if(e instanceof Xu)return 6;if(e instanceof Zu)return 7;if(e instanceof Nl)return 8;if(e instanceof Pl)return 9;if(e instanceof Ol)return 10;if(e instanceof kl)return 11;if(e instanceof mc)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 gre},Enum1:function(){return CUe(0)}},CUe=MG("enumMonth","Data.Date.Component",function(){return{succ:function(){var e=wt(mo),n=dt(mo);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=wt(mo),n=dt(mo);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return J1}}});var TN={bottom:1,top:31,Ord0:function(){return AG}},Ul={cardinality:31,toEnum:function(e){if(e>=1&&e<=31)return new _(e);if(Fe)return E.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 TN},Enum1:function(){return IUe(0)}},IUe=MG("enumDay","Data.Date.Component",function(){return{succ:function(){var e=wt(Ul),n=dt(Ul);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=wt(Ul),n=dt(Ul);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return AG}}});var Dre=dt(mo),FN=Ba(),yre=wt(e_);var FUe=ve(mre),MUe=ve(IN),GUe=ve(_re),AUe=ze(GG),xUe=ze(J1),LUe=ze(AG);var jUe=wt(mo);var bre=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}(),rs=function(e){return e.value0},qE=function(e){var n=vre(e.value0,Dre(e.value1),e.value2),t=n===0;return FN(yre(t?7:n))};var os=function(e){return e.value1};var LG={eq:function(e){return function(n){return FUe(e.value0)(n.value0)&&MUe(e.value1)(n.value1)&&GUe(e.value2)(n.value2)}}},NUe=ve(LG),Rre={compare:function(e){return function(n){var t=AUe(e.value0)(n.value0);if(t instanceof De)return De.value;if(t instanceof ge)return ge.value;var a=xUe(e.value1)(n.value1);return a instanceof De?De.value:a instanceof ge?ge.value:LUe(e.value2)(n.value2)}},Eq0:function(){return LG}};var I0=function(e){return e.value2},n_=function(e){return function(n){return function(t){var a=function(r){return function(o){return function(i){return new bre(r,FN(jUe(o)),i)}}};return fre(a,e,Dre(n),t)}}},jG=function(e){return function(n){return function(t){var a=new bre(e,n,t),r=NUe(n_(e)(n)(t))(a);return r?new _(a):E.value}}};var PUe=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 wre(e){return function(n){return function(t){return function(a){var r=PUe(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 NG=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 PG=Rt,OG=Rt,kG=Rt,UG=Rt,Sre=dr,Ere=dr,Cre=dr,Ire=dr,MN={bottom:0,top:59,Ord0:function(){return PG}},GN={bottom:0,top:59,Ord0:function(){return OG}},AN={bottom:0,top:999,Ord0:function(){return kG}},xN={bottom:0,top:23,Ord0:function(){return UG}},is={cardinality:60,toEnum:function(e){if(e>=0&&e<=59)return new _(e);if(Fe)return E.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 MN},Enum1:function(){return OUe(0)}},OUe=NG("enumSecond","Data.Time.Component",function(){return{succ:function(){var e=wt(is),n=dt(is);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=wt(is),n=dt(is);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return PG}}});var us={cardinality:60,toEnum:function(e){if(e>=0&&e<=59)return new _(e);if(Fe)return E.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 GN},Enum1:function(){return kUe(0)}},kUe=NG("enumMinute","Data.Time.Component",function(){return{succ:function(){var e=wt(us),n=dt(us);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=wt(us),n=dt(us);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return OG}}});var ls={cardinality:1e3,toEnum:function(e){if(e>=0&&e<=999)return new _(e);if(Fe)return E.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 AN},Enum1:function(){return UUe(0)}},UUe=NG("enumMillisecond","Data.Time.Component",function(){return{succ:function(){var e=wt(ls),n=dt(ls);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=wt(ls),n=dt(ls);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return kG}}});var cs={cardinality:24,toEnum:function(e){if(e>=0&&e<=23)return new _(e);if(Fe)return E.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 xN},Enum1:function(){return HUe(0)}},HUe=NG("enumHour","Data.Time.Component",function(){return{succ:function(){var e=wt(cs),n=dt(cs);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=wt(cs),n=dt(cs);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return UG}}});var WUe=ve(Ire),$Ue=ve(Ere),zUe=ve(Sre),VUe=ve(Cre),QUe=ze(UG),YUe=ze(OG),XUe=ze(PG),ZUe=ze(kG);var t_=function(){function e(n,t,a,r){this.value0=n,this.value1=t,this.value2=a,this.value3=r}return e.create=function(n){return function(t){return function(a){return function(r){return new e(n,t,a,r)}}}},e}();var Zp=function(e){return e.value2},Kp=function(e){return e.value1},T0=function(e){return e.value3};var F0=function(e){return e.value0};var LN={eq:function(e){return function(n){return WUe(e.value0)(n.value0)&&$Ue(e.value1)(n.value1)&&zUe(e.value2)(n.value2)&&VUe(e.value3)(n.value3)}}},Tre={compare:function(e){return function(n){var t=QUe(e.value0)(n.value0);if(t instanceof De)return De.value;if(t instanceof ge)return ge.value;var a=YUe(e.value1)(n.value1);if(a instanceof De)return De.value;if(a instanceof ge)return ge.value;var r=XUe(e.value2)(n.value2);return r instanceof De?De.value:r instanceof ge?ge.value:ZUe(e.value3)(n.value3)}},Eq0:function(){return LN}};var KUe=dt(wi),eHe=dt(mo),nHe=dt(Ul),tHe=dt(cs),aHe=dt(us),rHe=dt(is),oHe=dt(ls);var iHe=ve(LG),uHe=ve(LN),lHe=ze(Rre),cHe=ze(Tre),sHe=Z(Ge),q1=On(Ja),NN=j(B),fHe=bu(Ge),vHe=wt(wi),pHe=wt(mo),mHe=wt(Ul),dHe=wt(cs),_He=wt(us),hHe=wt(is),gHe=wt(ls),M0=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}(),DHe=function(e){return{year:KUe(rs(e.value0)),month:eHe(os(e.value0)),day:nHe(I0(e.value0)),hour:tHe(F0(e.value1)),minute:aHe(Kp(e.value1)),second:rHe(Zp(e.value1)),millisecond:oHe(T0(e.value1))}};var Fre={eq:function(e){return function(n){return iHe(e.value0)(n.value0)&&uHe(e.value1)(n.value1)}}},HG={compare:function(e){return function(n){var t=lHe(e.value0)(n.value0);return t instanceof De?De.value:t instanceof ge?ge.value:cHe(e.value1)(n.value1)}},Eq0:function(){return Fre}};var Mre=function(e){var n=j2(e);return function(t){return function(a){return sHe(wre(_.create)(E.value)(n(t))(DHe(a)))(function(r){return q1(NN(M0.create)(fHe(q1(q1(NN(jG)(vHe(r.year)))(pHe(r.month)))(mHe(r.day)))))(q1(q1(q1(NN(t_.create)(dHe(r.hour)))(_He(r.minute)))(hHe(r.second)))(gHe(r.millisecond)))})}}};function BG(e){return Math.round(e).toString()}var Gre=function(e){var n=qe(e.Semigroup0()),t=function(a){return function(r){return function(o){var i=a,u=r,l=!1,c;function s(f,v,p){if(p<1)return l=!0,f;i=n(f)(v),u=v,o=p-1|0}for(;!l;)c=s(i,u,o);return c}}};return t(fa(e))};var Are=ne(Ye),yHe=qa(wl),bHe=pS(w0);var RHe=function(e){return"(line "+(Are(e.line)+(", col "+(Are(e.column)+")")))},wHe=function(e){return _N(e)+(" "+RHe(dN(e)))},PN=function(e){return function(n){return yHe(wHe)(Yae(n)(bHe(e)(bN)))}};var W1=Z(S0);var THe=q(zs),FHe=r1(eD)(U1);var MHe=dj(eD)(U1),JG=Gre(ft),GHe=Np(zs)(GS),AHe=j(B);var Lre=As(Rt),xHe=lr(ar),LHe=ne(Ye),jHe=ee(oo),NHe=ne(nu),PHe=$e(Xe);var OHe=W1(nD(E0(C0("+"))))(function(e){return W1(FHe(C0("0")))(function(n){return W1(nD(E0(C0(",0"))))(function(t){return W1(nD(E0(C0("."))))(function(a){return W1(GHe(a)(function(r){return E0(MHe(C0("0")))}))(function(r){return W1(nD(E0(C0("a"))))(function(o){return THe({sign:yt(e),before:ha(n),comma:yt(t),after:be(0)(AHe(ha)(r)),abbreviations:yt(o)})})})})})})}),kHe=PN(OHe);var jre=function(e){return function(n){var t=o2(n),a=function(){if(t>0)return Lre(Zr(Ej(t)/tK))(0);if(Fe)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=xHe(a)(3),o=function(){var g=r<1;return g?n:n/i2(1e3)(ut(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(Fe)return"10e+"+LHe(r*3|0);throw new Error("Failed pattern match at Data.Formatter.Number (line 107, column 7 - line 117, column 53): "+[])}();return jre({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=i2(10)(ut(Lre(0)(e.after))),c=Rg(t*l)/l,s=c1(c),f=c-s,v=Rg(f*l),p=function(){var g=BG(v),S=Br(g),M=JG("0")(e.after-S|0);return M+g}(),d=function(){var g=e.after<1;return g?"":"."+(function(){var S=v===0;return S?JG("0")(e.after):""}()+function(){var S=v>0;return S?p:""}())}(),y=function(g){return function(S){return function(M){var P=g,O=S,T=!1,k;function K(oe,Te,we){var xe=dg(we);if(xe instanceof E)return T=!0,p1(oe);if(xe instanceof _&&Te<3){P=oi(xe.value0.head)(oe),O=Te+1|0,M=xe.value0.tail;return}P=oi(",")(oe),O=0,M=we}for(;!T;)k=K(P,O,M);return k}}},h=function(){return e.comma?y([])(0)(Xy(ZS(JG("0")(u)+BG(s)))):JG("0")(u)+BG(s)}();return function(){var g=n<0;if(g)return"-";var S=n>0&&e.sign;return S?"+":""}()+(h+d)}},UHe=function(e){return function(n){return jHe(kHe(e))(Nt(jre)(n))}},em=function(e){return function(n){return tr(Ze(NHe(n)))(PHe)(UHe(e)(n))}};var HHe=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 Nre(e,n,t,a,r,o,i){return HHe(e,n-1,t,a,r,o,i).getTime()}function Pre(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 BHe=Ba(),JHe=wt(mo);var qHe=dt(mo);var Ore=function(e){return e},qG=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 M0(n_(n)(BHe(JHe(t)))(a),new t_(r,o,i,u))}}}}}}};return Pre(e)}();var kre=function(e){return Nre(rs(e.value0),qHe(os(e.value0)),I0(e.value0),F0(e.value1),Kp(e.value1),Zp(e.value1),T0(e.value1))};function ON(){return Date.now()}var QHe=j(st);var kN=QHe(qG)(ON);var lTt=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,p=f.takes,d=f.reads,y,h,g,S,M;for(f.draining=!0;;){if(y=null,h=null,g=null,S=f.value,M=d.size,f.error!==null){for(S=s.left(f.error);y=u(v);)r(y.cb(S));for(;h=u(d);)r(h(S));for(;g=u(p);)r(g(S));break}if(S===a&&(y=u(v))&&(f.value=S=y.value),S!==a){for(g=u(p);M--&&(h=u(d));)r(h(s.right(S)));g!==null&&(f.value=a,r(g(s.right(S))))}if(y!==null&&r(y.cb(s.right(void 0))),f.value===a&&v.size===0||f.value!==a&&p.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 $E=function(e){return C1(Ap(e))},zE=function(e){return C1(Sd(e))};var uBe=q(ta),a_=Z(Ge),lBe=wt(wi),cBe=wt(mo),sBe=wt(Ul),fBe=wt(cs),vBe=wt(us),pBe=wt(is),mBe=wt(ls),dBe=q(Jn),_Be=ct(rr),hBe=ee(B);var Jre=function(e){return a_(lBe(e.year))(function(n){return a_(cBe(e.month+1|0))(function(t){return a_(sBe(e.day))(function(a){return a_(fBe(e.hour))(function(r){return a_(vBe(e.minute))(function(o){return a_(pBe(e.second))(function(i){return a_(mBe(e.millisecond))(function(u){return dBe(new M0(n_(n)(t)(a),new t_(r,o,i,u)))})})})})})})})},gBe=function(e){var n=ree("Failed to obtain current time. This should never happen.");return Ue(n)(uBe)(Jre(EN(e)))},r_=_Be(gBe)(cre);var nm=function(e){return a_(hBe(lre({just:_.create,nothing:E.value})(e))(EN))(Jre)};var WG=function(){function e(){}return e.value=new e,e}(),RBe=function(){function e(){}return e.value=new e,e}(),wBe=function(){function e(){}return e.value=new e,e}();var qre=function(e){if(e instanceof WG)return E.value;if(e instanceof wBe)return new _("open");if(e instanceof RBe)return new _("on");throw new Error("Failed pattern match at Hub.Types.WhatificatorPhase (line 21, column 13 - line 24, column 22): "+[e.constructor.name])};var BN=void 0;var Wre=Be;var $1=Be,VE=function(e){return Mg(e)};var $re=function(e){return function(n){var t=VE(n);return t?BN:$1(e(Wre(n)))}},xr=function(e){var n=VE(e);return n?E.value:new _(Wre(e))};var Bn=function(e){return function(n){var t=VE(e);return t?n:e}};var Ma=function(){return Be};var zre=q(ta),Vre=Uo(),Qre=function(e){return{handleMaybe:function(n){return function(t){return Hg(function(){var a=Ue(zre(Re))(n);return function(r){return a(Vre(t(r)))}}())}}}},$G=function(e){return{handleMaybe:function(n){return function(t){return function(a){return Ue(zre(Re))(n)(Vre(t))()}}}}},_o={handle:function(e){return function(n){return function(t){return e(n(t))()}}}},Fu={handleEffect:function(e){return Hg(e)}},Sr={handleEffect:function(e){return Hg(Ze(e))}},pt={handle:function(e){return function(n){return function(t){return e(n)()}}}},tD=function(e){return e.handleMaybe},pa=function(e){return e.handleEffect},xn=function(e){return e.handle};var JN=sc(),qN=Gl(),Yre=Wf()(),SBe=JS();var z1=Be,Xre=function(e){return function(n){return JN(z1(e))(n)}},zG=function(e){var n=qN(e);return function(t){return function(a){return n(z1(t))(a)}}},sv=function(e){var n=qN(e);return function(t){return function(a){return function(r){return n(z1(t))(Yre(r)({className:a}))}}}},o_=function(e){return function(n){return function(t){return JN(z1(e))(Yre(t)({className:n}))}}},WN=function(e){return function(n){return JN(z1(e))({className:n})}},ho=function(e){return function(n){var t=qN(n);return function(a){return function(r){return t(z1(e))({className:a})(r)}}}};var mn=Be,V1=function(){return SBe};var Q1=function(e){var n=sv(e);return function(){return function(){return n("ul")}}},fv=function(e){return ho("ul")(e)};var G0=function(e){return ho("tr")(e)};var Y1=function(e){return ho("thead")(e)};var X1=function(e){return ho("th")(e)};var dc=function(){return function(){return o_("textarea")}};var Ks=function(e){return ho("td")(e)};var A0=function(e){return ho("tbody")(e)};var x0=function(e){return ho("table")(e)},ef=function(e){var n=sv(e);return function(){return function(){return n("svg")}}};var VG=function(e){return ho("sup")(e)};var Ga=function(e){return ho("strong")(e)},Z1=function(e){var n=sv(e);return function(){return function(){return n("span")}}},rn=function(e){return ho("span")(e)};var QG=function(e){var n=sv(e);return function(){return function(){return n("select")}}};var YG=function(e){return ho("section")(e)};var Vn=function(e){return ho("p")(e)};var XG=function(e){var n=sv(e);return function(){return function(){return n("option")}}};var ZG=function(e){return ho("ol")(e)};var KG=function(){return function(){return o_("meta")}};var Hl=function(e){return ho("li")(e)};var Mu=function(e){return ho("label")(e)};var ui=function(){return function(){return o_("input")}};var L0=function(){return function(){return o_("img")}};var j0=function(e){var n=sv(e);return function(){return function(){return n("iframe")}}};var oa=function(e){return ho("i")(e)};var Xa=WN("hr");var nf=function(e){return ho("h6")(e)};var Pr=function(e){return ho("h4")(e)};var Mt=function(e){return ho("h3")(e)};var Zn=function(e){return ho("h2")(e)};var ss=function(e){return ho("h1")(e)},e4=function(e){var n=sv(e);return function(){return function(){return n("form")}}};var n4=function(e){return ho("em")(e)};var Kn=function(e){var n=sv(e);return function(){return function(){return n("div")}}},J=function(e){return ho("div")(e)};var t4=WN("br");Ht();var Zre=gt.Fragment;var $N=function(){typeof window!="undefined"&&window.scrollTo(0,0)};var Kre=function(e){var n=zG(e);return function(){return function(){return n("script")}}};var eoe=function(e){var n=zG(e);return function(){return function(){return n("button")}}},noe=function(){return function(){return Xre("br")}};var toe=function(e){var n=zG(e);return function(){return function(){return n("a")}}};function aoe(e){return function(n){return function(){return n.getElementById(e)}}}var EBe=j(st),a4=function(e){var n=EBe(te),t=aoe(e);return function(a){return n(t(a))}};var r4=function(e){return function(n){return function(){return n[e]}}},CBe=r4("children"),IBe=r4("firstElementChild"),TBe=r4("lastElementChild"),FBe=r4("childElementCount");var To=function(){return window};function roe(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 roe(E.value,_.create,e,n)}};var ooe=Be;function ioe(e){return e.body}var MBe=j(st);var o4=Be;var uoe=Be,loe=Be;var coe=function(e){return MBe(te)(function(){return ioe(e)})};var soe=Be;function i4(e){return function(n){return function(t){return function(a){return function(){return a.replaceState(e,n,t)}}}}}function zN(e){return function(n){return function(){n.href=e}}}function tm(e){return function(){return e.document}}function VN(e){return function(){return e.location}}function QE(e){return function(){return e.history}}function voe(e){return function(n){return function(t){return function(a){return function(){return a.open(e,n,t)}}}}}function K1(e){return function(){return e.localStorage}}var UBe=j(st);var poe=Be;var moe=function(e){return function(n){return function(t){return function(a){return UBe(te)(voe(e)(n)(t)(a))}}}};var HBe=j(me);var BBe=noe()();var doe=Z(rr),JBe=ee(st);var ga=be(cn),We=Nt(Ue(cn));var _oe=function(e){return function(n){if(e)return cn;if(Fe)return n(Re);throw new Error("Failed pattern match at Utils.HTML (line 113, column 1 - line 113, column 65): "+[e.constructor.name,n.constructor.name])}},u4=function(e){return function(n){return _oe(e)(Ze(n))}};var i_=function(e){return function(n){if(e)return n(Re);if(Fe)return cn;throw new Error("Failed pattern match at Utils.HTML (line 100, column 1 - line 100, column 61): "+[e.constructor.name,n.constructor.name])}},sn=function(e){return function(n){return i_(e)(Ze(n))}};var qBe=Gl()(W)(Zre),WBe=function(e){return function(n){return qBe({key:e.key})(Pp(BBe({}))(HBe(X)(yi(` `)(n))))}},eb=WBe({key:""});var hoe=function(e){return doe(JBe(doe(To)(tm))(o4))(a4(e))};var fs=Uo(),$Be=ee(me),zBe=Gd(Ro),goe=c0(Ae),VBe=j(B),QBe=j(BS);var QN=function(e){return function(n){return function(t){return yj(function(a){return _.create(t(a))})(fs(e))(fs(n))}}};var l4=function(e){return function(n){return HS(fs(e))(n)}},c4=function(e){return function(n){return goe(co(function(t){return VBe(Pe.create(fs(t.value0)))(e(t.value1))})(zBe(n)))}},am=function(e){return function(n){return QBe(e)(n)}},Doe=function(e){return function(n){return function(t){return kZ(function(a){return _.create(t(a))})(fs(e))(fs(n))}}},tf=function(e){return function(n){return Bc(fs(e))(fs(n))}};var aD=function(e){return function(n){return function(t){return Up(fs(e))(n)(fs(t))}}},YE=function(e){return function(n){return function(t){return goe($Be(t)(function(a){return new Pe(fs(e(a)),n(a))}))}}};var XE=Gp,yoe=function(e){return function(n){return Dj(fs(e))(fs(n))}};var boe=Rn(bn),ZE=yn(boe)(_n(dn)),Roe=gn(hn),KE=Dn(Roe),woe=En(Sn),eC=wn(woe),u_=function(){function e(){}return e.value=new e,e}(),nC=function(){function e(){}return e.value=new e,e}(),tC=function(){function e(){}return e.value=new e,e}(),aC=function(){function e(){}return e.value=new e,e}(),rC=function(){function e(){}return e.value=new e,e}(),oC=function(){function e(){}return e.value=new e,e}(),Soe={to:function(e){if(e instanceof H)return u_.value;if(e instanceof m&&e.value0 instanceof H)return nC.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof H)return tC.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof m&&e.value0.value0.value0 instanceof H)return aC.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof m&&e.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0 instanceof H)return rC.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof m&&e.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0 instanceof m)return oC.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 u_)return new H(se.value);if(e instanceof nC)return new m(new H(se.value));if(e instanceof tC)return new m(new m(new H(se.value)));if(e instanceof aC)return new m(new m(new m(new H(se.value))));if(e instanceof rC)return new m(new m(new m(new m(new H(se.value)))));if(e instanceof oC)return new m(new m(new m(new m(new m(se.value)))));throw new Error("Failed pattern match at Hub.Types.ApplicationRound (line 25, column 1 - line 25, column 43): "+[e.constructor.name])}};var YN=function(e){if(e instanceof u_)return"REGULAR";if(e instanceof nC)return"EARLY_ACTION";if(e instanceof tC)return"EARLY_DECISION_I";if(e instanceof aC)return"EARLY_DECISION_II";if(e instanceof rC)return"OUT_OF_STATE";if(e instanceof oC)return"TRANSFER";throw new Error("Failed pattern match at Hub.Types.ApplicationRound (line 45, column 13 - line 51, column 25): "+[e.constructor.name])};var s4=function(){return u_.value}(),Eoe=ot(Le)({parse:Ln(YN)(pn(Soe)(ZE(ZE(ZE(ZE(ZE(boe)(Roe))(KE))(KE))(KE))(KE))(eC(eC(eC(eC(eC(woe))))))(KE)),default:s4,diagnosticName:"ApplicationRound"});var YBe=Z(Kv),XBe=Uo(),ZBe=q(Ep);var XN=Ct,KBe=Eu(XN)(Ae);var f4=function(e){return KBe(YBe(XBe(e))(function(n){return ZBe(new Pe(n.cipCode,n))}))},Coe=function(){var e=XM(yu(ve(sa))(function(t){return t.areaOfStudy})),n=Sl(Ct)(function(t){return t.areaOfStudy});return function(t){return e(n(t))}}();var Ioe=function(e){return{id:e.id,slug:e.slug,name:e.name,imgixImageUrl:e.imgixImageUrl,acceptanceRate:te(e.acceptanceRate),cityState:te(e.cityState)}};var eJe=j(B);var Ta=function(){function e(){}return e.value=new e,e}(),$t=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Dr=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),vv={map:function(e){return function(n){if(n instanceof Ta)return Ta.value;if(n instanceof $t)return new $t(e(n.value0));if(n instanceof Dr)return new Dr(eJe(e)(n.value0));throw new Error("Failed pattern match at Utils.Loadable (line 0, column 0 - line 0, column 0): "+[n.constructor.name])}}};var nb=function(e){if(e instanceof Ta)return new Dr(E.value);if(e instanceof $t)return new Dr(new _(e.value0));if(e instanceof Dr)return new Dr(e.value0);throw new Error("Failed pattern match at Utils.Loadable (line 63, column 13 - line 66, column 25): "+[e.constructor.name])},Fo=function(e){if(e instanceof Ta)return E.value;if(e instanceof $t)return new _(e.value0);if(e instanceof Dr)return e.value0;throw new Error("Failed pattern match at Utils.Loadable (line 48, column 11 - line 51, column 17): "+[e.constructor.name])},iC=function(e){return function(n){if(n instanceof Dr&&n.value0 instanceof E)return new Dr(E.value);var t=function(r){var o=function(u){return Ta.value};if(n instanceof $t){var i=e(n.value0);return i instanceof _?new $t(i.value0):o(!0)}return o(!0)};if(n instanceof Dr&&n.value0 instanceof _){var a=e(n.value0.value0);return a instanceof _?new Dr(new _(a.value0)):t(!0)}return t(!0)}};var nJe=ee(B),ZN=Z(Ge);var tJe=Np(Jn)(hi),aJe=Ld(XN);var KN=function(e){return function(n){return be("")(tf(e)(n.schoolNotes))}},uC=function(e){return function(n){return tf(e)(n.schoolList)}};var lC=function(e){return function(n){return iC(tf(e))(n.schoolConnections)}};var v4=function(e){return function(n){return ZN(Fo(n.all))(function(t){return tf(e)(t.table)})}};var eP=function(e){return function(n){return be([])(ZN(v4(e)(n))(function(t){return tJe(t.majors)(function(a){return aJe(a)(n.majors)})}))}};var tb=function(e){return function(n){return iC(tf(e))(n.financials)}};var rD=function(e){return function(n){return ZN(Fo(n.contentModules.content))(tf(e))}};var nP=function(e){return function(n){return be(s4)(nJe(uC(e)(n))(function(t){return t.applicationRound}))}};var Gu=ne(Ye);var rJe=ri($u),oJe=rJe(ft);var iJe=UM(Rt)(e0);var tP=dt(wi),uJe=ne(CN),lJe=dt(mo),Toe=dt(Ul),cJe=an(),sJe=dt(e_),Foe=ne(pre),aP=dt(cs),fJe=Ru(ar),Moe=dt(us),Goe=dt(is),rP=dt(ls),Aoe=lr(ar);var p4=function(){function e(){}return e.value=new e,e}(),xoe=function(){function e(){}return e.value=new e,e}(),vJe=function(){function e(){}return e.value=new e,e}(),m4=function(){function e(){}return e.value=new e,e}(),cC=function(){function e(){}return e.value=new e,e}(),Loe=function(){function e(){}return e.value=new e,e}(),d4=function(){function e(){}return e.value=new e,e}(),_4=function(){function e(){}return e.value=new e,e}(),pJe=function(){function e(){}return e.value=new e,e}(),mJe=function(){function e(){}return e.value=new e,e}(),oP=function(){function e(){}return e.value=new e,e}(),dJe=function(){function e(){}return e.value=new e,e}(),joe=function(){function e(){}return e.value=new e,e}(),h4=function(){function e(){}return e.value=new e,e}(),g4=function(){function e(){}return e.value=new e,e}(),_Je=function(){function e(){}return e.value=new e,e}(),D4=function(){function e(){}return e.value=new e,e}(),hJe=function(){function e(){}return e.value=new e,e}(),Noe=function(){function e(){}return e.value=new e,e}(),gJe=function(){function e(){}return e.value=new e,e}(),DJe=function(){function e(){}return e.value=new e,e}(),yJe=function(){function e(){}return e.value=new e,e}(),rm=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}();var bJe=function(e){if(e instanceof Qu)return"Jan";if(e instanceof xl)return"Feb";if(e instanceof Yu)return"Mar";if(e instanceof Ll)return"Apr";if(e instanceof jl)return"May";if(e instanceof Xu)return"Jun";if(e instanceof Zu)return"Jul";if(e instanceof Nl)return"Aug";if(e instanceof Pl)return"Sep";if(e instanceof Ol)return"Oct";if(e instanceof kl)return"Nov";if(e instanceof mc)return"Dec";throw new Error("Failed pattern match at Data.Formatter.DateTime (line 489, column 19 - line 501, column 22): "+[e.constructor.name])};var l_=function(e){if(e<0)return"-"+l_(-e|0);if(e<10)return"0"+Gu(e);if(Fe)return Gu(e);throw new Error("Failed pattern match at Data.Formatter.DateTime (line 194, column 1 - line 194, column 32): "+[e.constructor.name])},Poe=function(e){if(e<0)return"-"+Poe(-e|0);if(e<10)return"000"+Gu(e);if(e<100)return"00"+Gu(e);if(e<1e3)return"0"+Gu(e);if(Fe)return Gu(e);throw new Error("Failed pattern match at Data.Formatter.DateTime (line 207, column 1 - line 207, column 35): "+[e.constructor.name])},Ooe=function(e){if(e<0)return"-"+Ooe(-e|0);if(e<10)return"00"+Gu(e);if(e<100)return"0"+Gu(e);if(Fe)return Gu(e);throw new Error("Failed pattern match at Data.Formatter.DateTime (line 200, column 1 - line 200, column 32): "+[e.constructor.name])};var RJe=function(e){var n=Gu(iJe(e)),t=Br(n);return t===1?"0"+n:t===2?n:Tg(t-2|0)(n)};var wJe=function(e){var n=e===0;return n?12:e},SJe=function(e){return function(n){if(n instanceof p4)return Poe(tP(rs(e.value0)));if(n instanceof xoe)return RJe(tP(rs(e.value0)));if(n instanceof vJe)return Gu(tP(rs(e.value0)));if(n instanceof m4)return uJe(os(e.value0));if(n instanceof cC)return bJe(os(e.value0));if(n instanceof Loe)return l_(lJe(os(e.value0)));if(n instanceof d4)return l_(Toe(I0(e.value0)));if(n instanceof _4)return Gu(Toe(I0(e.value0)));if(n instanceof pJe)return Gu(Zr(function(a){return a/1e3}(cJe(Ore(kre(e))))));if(n instanceof mJe)return Gu(sJe(qE(e.value0)));if(n instanceof oP)return Foe(qE(e.value0));if(n instanceof dJe)return Il(3)(Foe(qE(e.value0)));if(n instanceof joe)return l_(aP(F0(e.value1)));if(n instanceof h4)return l_(wJe(fJe(aP(F0(e.value1)))(12)));if(n instanceof g4){var t=aP(F0(e.value1))>=12;return t?"PM":"AM"}if(n instanceof _Je)return Gu(Moe(Kp(e.value1)));if(n instanceof D4)return l_(Moe(Kp(e.value1)));if(n instanceof hJe)return Gu(Goe(Zp(e.value1)));if(n instanceof Noe)return l_(Goe(Zp(e.value1)));if(n instanceof gJe)return Ooe(rP(T0(e.value1)));if(n instanceof DJe)return Gu(function(a){return Aoe(a)(100)}(rP(T0(e.value1))));if(n instanceof yJe)return l_(function(a){return Aoe(a)(10)}(rP(T0(e.value1))));if(n instanceof rm)return n.value0;throw new Error("Failed pattern match at Data.Formatter.DateTime (line 169, column 38 - line 192, column 21): "+[n.constructor.name])}},sC=function(e){return function(n){return oJe(SJe(n))(e)}};var koe=function(e){var n=function(o){return{month:te(o.satSubjectTestDeadlineMonth),day:te(o.satSubjectTestDeadlineDay)}},t=function(o){return{month:te(o.satActDeadlineMonth),day:te(o.satActDeadlineDay)}},a=function(o){return{month:te(o.month),day:te(o.day),isContinuous:te(o.isContinuous)}},r=function(o){return{deadline:a(o.deadline),notification:a(o.notification)}};return{ipedsUnitId:te(e.ipedsUnitId),inunId:e.inunId,year:e.year,hasEarlyAdmission:te(e.hasEarlyAdmission),hasEarlyAction:te(e.hasEarlyAction),hasEarlyDecision:te(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 Uoe=Rn(bn),iP=yn(Uoe)(_n(dn)),Hoe=gn(hn),uP=Dn(Hoe),Boe=En(Sn),lP=wn(Boe),c_=function(){function e(){}return e.value=new e,e}(),oD=function(){function e(){}return e.value=new e,e}(),iD=function(){function e(){}return e.value=new e,e}(),uD=function(){function e(){}return e.value=new e,e}(),EJe={to:function(e){if(e instanceof H)return c_.value;if(e instanceof m&&e.value0 instanceof H)return oD.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof H)return iD.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof m)return uD.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 c_)return new H(se.value);if(e instanceof oD)return new m(new H(se.value));if(e instanceof iD)return new m(new m(new H(se.value)));if(e instanceof uD)return new m(new m(new m(se.value)));throw new Error("Failed pattern match at Hub.Types.Chancing.Classification (line 23, column 1 - line 23, column 41): "+[e.constructor.name])}};var Joe=function(e){if(e instanceof c_)return"reach";if(e instanceof oD)return"hard_target";if(e instanceof iD)return"target";if(e instanceof uD)return"safety";throw new Error("Failed pattern match at Hub.Types.Chancing.Classification (line 36, column 13 - line 40, column 21): "+[e.constructor.name])},qoe=function(){return ot(Le)({parse:Ln(Joe)(pn(EJe)(iP(iP(iP(Uoe)(Hoe))(uP))(uP))(lP(lP(lP(Boe))))(uP)),default:c_.value,diagnosticName:"Hub.Types.Chancing.Classification"})}();var ab=function(e){if(e instanceof c_)return"Reach";if(e instanceof oD)return"Hard Target";if(e instanceof iD)return"Target";if(e instanceof uD)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 Woe=function(e){if(e instanceof c_)return"bg-soft-warning bg-warning-soft text-warning-dark";if(e instanceof oD||e instanceof iD)return"bg-soft-primary bg-primary-soft text-primary";if(e instanceof uD)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 $oe=Rn(bn),y4=yn($oe)(_n(dn)),zoe=gn(hn),b4=Dn(zoe),Voe=En(Sn),R4=wn(Voe),lD=function(){function e(){}return e.value=new e,e}(),om=function(){function e(){}return e.value=new e,e}(),N0=function(){function e(){}return e.value=new e,e}(),cD=function(){function e(){}return e.value=new e,e}(),sD=function(){function e(){}return e.value=new e,e}(),CJe={to:function(e){if(e instanceof H)return lD.value;if(e instanceof m&&e.value0 instanceof H)return om.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof H)return N0.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof m&&e.value0.value0.value0 instanceof H)return cD.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof m&&e.value0.value0.value0 instanceof m)return sD.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 lD)return new H(se.value);if(e instanceof om)return new m(new H(se.value));if(e instanceof N0)return new m(new m(new H(se.value)));if(e instanceof cD)return new m(new m(new m(new H(se.value))));if(e instanceof sD)return new m(new m(new m(new m(se.value))));throw new Error("Failed pattern match at Hub.Types.Chancing.SpecialCaseRule (line 22, column 1 - line 22, column 42): "+[e.constructor.name])}};var IJe=function(e){if(e instanceof lD)return"ArtOrMusicSchool";if(e instanceof om)return"DisqualifiedGender";if(e instanceof N0)return"TestsRequiredButNoneGiven";if(e instanceof cD)return"SchoolAutoAdmission";if(e instanceof sD)return"OpenAdmission";throw new Error("Failed pattern match at Hub.Types.Chancing.SpecialCaseRule (line 33, column 13 - line 38, column 35): "+[e.constructor.name])},Qoe=Yn(Le)(B)({parse:Ln(IJe)(pn(CJe)(y4(y4(y4(y4($oe)(zoe))(b4))(b4))(b4))(R4(R4(R4(R4(Voe)))))(b4)),diagnosticName:"Hub.Types.Chancing.SpecialCaseRule"});var TJe=ne(Ye),FJe=ct(Ge),w4=function(e){return TJe(e)+"%"},MJe=function(e){return function(n){if(n instanceof lD)return new _("art or music school");if(n instanceof om)return new _(ji(Qd(e.gender)));if(n instanceof N0)return E.value;if(n instanceof cD)return E.value;if(n instanceof sD)return new _("open admission");throw new Error("Failed pattern match at Hub.Types.Chancing.Label (line 43, column 40 - line 48, column 41): "+[n.constructor.name])}},Yoe=function(e){return function(n){var t=FJe(MJe(e))(n);if(t instanceof _)return"N/A ("+(t.value0+")");if(t instanceof E)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])}},fC=function(e){return function(n){if(n.score instanceof _)return w4(n.score.value0);if(n.score instanceof E)return Yoe(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])}},S4=function(e){return function(n){if(n.classification instanceof _)return ab(n.classification.value0);if(n.classification instanceof E)return Yoe(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 fD=function(){function e(){}return e.value=new e,e}(),rb=function(){function e(){}return e.value=new e,e}(),vC=function(){function e(){}return e.value=new e,e}(),s_=function(){function e(){}return e.value=new e,e}(),f_=function(){function e(){}return e.value=new e,e}(),v_=function(){function e(){}return e.value=new e,e}(),p_=function(){function e(){}return e.value=new e,e}();var Xoe={eq:function(e){return function(n){return e instanceof fD&&n instanceof fD||e instanceof rb&&n instanceof rb||e instanceof vC&&n instanceof vC||e instanceof s_&&n instanceof s_||e instanceof f_&&n instanceof f_||e instanceof v_&&n instanceof v_||e instanceof p_&&n instanceof p_}}};var cP=function(){return[fD.value,rb.value,vC.value,s_.value,f_.value,v_.value,p_.value]}(),pC=function(e){if(e instanceof fD)return"INTERESTED";if(e instanceof rb)return"APPLYING";if(e instanceof vC)return"APPLIED";if(e instanceof s_)return"WAITLISTED";if(e instanceof f_)return"ACCEPTED";if(e instanceof v_)return"DENIED";if(e instanceof p_)return"ENROLLED";throw new Error("Failed pattern match at Hub.Types.SchoolListStatus (line 36, column 13 - line 43, column 25): "+[e.constructor.name])},sP=function(){return ot(Le)({parse:Ln(pC)(cP),default:rb.value,diagnosticName:"SchoolListStatus"})}(),E4=function(e){if(e instanceof fD)return"Considering";if(e instanceof rb)return"Applying";if(e instanceof vC)return"Applied";if(e instanceof s_)return"Waitlisted";if(e instanceof f_)return"Accepted";if(e instanceof v_)return"Denied";if(e instanceof p_)return"Enrolled";throw new Error("Failed pattern match at Hub.Types.SchoolListStatus (line 47, column 8 - line 54, column 25): "+[e.constructor.name])};var kZt=new Intl.NumberFormat("en-US",{notation:"compact",compactDisplay:"short",maximumFractionDigits:2});var mC=ne(Ye);var GJe=lr(ar);var dC=function(e){return mC(Os(e*100))+"%"},Oa=function(e){return mC(Os(e*100))+"%"};var Zoe=em("0,0"),Au=function(e){return"$"+Zoe(e)};var af=function(e){return Zoe(ut(e))};var m_=function(e){var n=function(){var a=bg(ut(e))(60),r=a<10;return r?"0"+mC(Zr(a)):mC(Zr(a))}(),t=mC(GJe(e)(60));return t+(":"+n)};function Koe(e){return e.replace(/[!'()*]/g,function(n){return"%"+n.charCodeAt(0).toString(16)})}function eie(e,n,t){try{return n(Koe(encodeURIComponent(t)))}catch(a){return e(a)}}function nie(e,n,t){try{return n(Koe(encodeURIComponent(t)).replace(/%20/g,"+"))}catch(a){return e(a)}}var fP=function(){return l0(eie)(Ze(E.value))(_.create)}();var C4=function(){return l0(nie)(Ze(E.value))(_.create)}();var tie=Ba();var xJe=$e(Xe);var I4=function(e){var n=function(o){return function(i){return be(i)(Cg(o)(i))}},t=function(o){return function(i){return be(i)(rc(o)(i))}},a=t("https://")(t("http://")(e)),r=n("/")(t("www.")(a));return{siteName:r,url:"http://"+a}},rf=function(e){return function(n){var t=function(){var o=qc("?")(n);return o?"&":"?"}(),a=tie(fP(e.value)),r=tie(fP(e.key));return n+(t+(r+("="+a)))}},im=function(e){if(e.value instanceof E)return xJe;if(e.value instanceof _)return rf({key:e.key,value:e.value.value0});throw new Error("Failed pattern match at Utils.URL (line 50, column 1 - line 50, column 73): "+[e.constructor.name])};var T4=function(){function e(){}return e.value=new e,e}(),kJe=function(){function e(){}return e.value=new e,e}(),UJe=function(){function e(){}return e.value=new e,e}(),HJe=function(){function e(){}return e.value=new e,e}(),BJe=function(){function e(){}return e.value=new e,e}(),JJe=function(){function e(){}return e.value=new e,e}(),qJe=function(){function e(){}return e.value=new e,e}(),WJe=function(){function e(){}return e.value=new e,e}(),$Je=function(){function e(){}return e.value=new e,e}(),zJe=function(){function e(){}return e.value=new e,e}(),VJe=function(){function e(){}return e.value=new e,e}(),QJe=function(){function e(){}return e.value=new e,e}(),YJe=function(){function e(){}return e.value=new e,e}(),XJe=function(){function e(){}return e.value=new e,e}(),ZJe=function(){function e(){}return e.value=new e,e}(),KJe=function(){function e(){}return e.value=new e,e}(),eqe=function(){function e(){}return e.value=new e,e}(),F4=function(){function e(){}return e.value=new e,e}(),nqe=function(){function e(){}return e.value=new e,e}(),tqe=function(){function e(){}return e.value=new e,e}(),aie=function(){function e(){}return e.value=new e,e}(),aqe=function(){function e(){}return e.value=new e,e}(),rqe=function(){function e(){}return e.value=new e,e}(),oqe=function(){function e(){}return e.value=new e,e}(),rie=function(){function e(){}return e.value=new e,e}(),iqe=function(){function e(){}return e.value=new e,e}(),uqe=function(){function e(){}return e.value=new e,e}(),lqe=function(){function e(){}return e.value=new e,e}(),cqe=function(){function e(){}return e.value=new e,e}(),M4=function(){function e(){}return e.value=new e,e}(),sqe=function(){function e(){}return e.value=new e,e}(),fqe=function(){function e(){}return e.value=new e,e}(),vqe=function(){function e(){}return e.value=new e,e}(),pqe=function(){function e(){}return e.value=new e,e}(),mqe=function(){function e(){}return e.value=new e,e}(),G4=function(){function e(){}return e.value=new e,e}(),dqe=function(){function e(){}return e.value=new e,e}(),_qe=function(){function e(){}return e.value=new e,e}(),hqe=function(){function e(){}return e.value=new e,e}(),gqe=function(){function e(){}return e.value=new e,e}(),Dqe=function(){function e(){}return e.value=new e,e}(),yqe=function(){function e(){}return e.value=new e,e}(),bqe=function(){function e(){}return e.value=new e,e}(),A4=function(){function e(){}return e.value=new e,e}(),Rqe=function(){function e(){}return e.value=new e,e}(),oie=function(){function e(){}return e.value=new e,e}(),wqe=function(){function e(){}return e.value=new e,e}(),iie=function(){function e(){}return e.value=new e,e}(),Sqe=function(){function e(){}return e.value=new e,e}(),x4=function(){function e(){}return e.value=new e,e}(),Eqe=function(){function e(){}return e.value=new e,e}(),uie=function(){function e(){}return e.value=new e,e}(),Cqe=function(){function e(){}return e.value=new e,e}(),Iqe=function(){function e(){}return e.value=new e,e}(),Tqe=function(){function e(){}return e.value=new e,e}(),Fqe=function(){function e(){}return e.value=new e,e}();var Tt=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Bl=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}();var Mqe=function(e){return e instanceof T4?new _(` 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 x4?new _(` 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 rie?new _(` 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 iie?new _(` 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 G4?new _(` Students who do not hold citizenship or permanent residence in the US. Schools do not report diversity data among international students. `):e instanceof F4?new _(` 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 M4?new _(` 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 aie?new _(` Filter your search to only schools that offer the major(s) or program(s) you select here. `):e instanceof A4?new _(` 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 oie?new _(` Policies change during COVID-19; please confirm by looking at school websites `):e instanceof uie?new _(` TOEFL policies are only applicable to international students `):E.value},P0=function(){var e=be("");return function(n){return e(Mqe(n))}}();var lie=function(e){if(e instanceof Tt&&e.value0 instanceof T4)return"AcceptanceRate";if(e instanceof Tt&&e.value0 instanceof kJe)return"AcceptanceRateMen";if(e instanceof Tt&&e.value0 instanceof UJe)return"AcceptanceRateWomen";if(e instanceof Tt&&e.value0 instanceof HJe)return"Address";if(e instanceof Tt&&e.value0 instanceof BJe)return"AdmissionChances";if(e instanceof Tt&&e.value0 instanceof JJe)return"AdmissionDifficulty";if(e instanceof Tt&&e.value0 instanceof qJe)return"AdmissionsNotificationDate";if(e instanceof Tt&&e.value0 instanceof WJe)return"AdmissionsWebsite";if(e instanceof Tt&&e.value0 instanceof $Je)return"AppDeadlineIsRolling";if(e instanceof Tt&&e.value0 instanceof zJe)return"ApplicationEffort";if(e instanceof Tt&&e.value0 instanceof VJe)return"ApplicationRound";if(e instanceof Tt&&e.value0 instanceof QJe)return"BasketballConference";if(e instanceof Tt&&e.value0 instanceof YJe)return"CampusSetting";if(e instanceof Tt&&e.value0 instanceof XJe)return"City";if(e instanceof Tt&&e.value0 instanceof ZJe)return"ClassRank";if(e instanceof Tt&&e.value0 instanceof KJe)return"CoEdSingleSex";if(e instanceof Tt&&e.value0 instanceof eqe)return"CollegeType";if(e instanceof Tt&&e.value0 instanceof F4)return"CommuterCollege";if(e instanceof Tt&&e.value0 instanceof nqe)return"Diversity";if(e instanceof Tt&&e.value0 instanceof tqe)return"DropoutRate";if(e instanceof Tt&&e.value0 instanceof aqe)return"FinancialAidWebsite";if(e instanceof Tt&&e.value0 instanceof rqe)return"FirstYearEnrollment";if(e instanceof Tt&&e.value0 instanceof oqe)return"FootballConference";if(e instanceof Tt&&e.value0 instanceof rie)return"FourYearGraduationRate";if(e instanceof Tt&&e.value0 instanceof iqe)return"HasDivisionOneBasketball";if(e instanceof Tt&&e.value0 instanceof uqe)return"HasDivisionOneFootball";if(e instanceof Tt&&e.value0 instanceof lqe)return"HasMedicalSchool";if(e instanceof Tt&&e.value0 instanceof cqe)return"HasStudyAbroad";if(e instanceof Tt&&e.value0 instanceof M4)return"HBCU";if(e instanceof Tt&&e.value0 instanceof sqe)return"InListStatus";if(e instanceof Tt&&e.value0 instanceof fqe)return"MainWebsite";if(e instanceof Tt&&e.value0 instanceof aie)return"Majors";if(e instanceof Tt&&e.value0 instanceof vqe)return"Name";if(e instanceof Tt&&e.value0 instanceof pqe)return"NetCostEstimate";if(e instanceof Tt&&e.value0 instanceof mqe)return"Notes";if(e instanceof Tt&&e.value0 instanceof G4)return"PercentInternationalStudents";if(e instanceof Tt&&e.value0 instanceof dqe)return"Phone";if(e instanceof Tt&&e.value0 instanceof _qe)return"Photo";if(e instanceof Tt&&e.value0 instanceof hqe)return"Prestige";if(e instanceof Tt&&e.value0 instanceof gqe)return"ProgramLength";if(e instanceof Tt&&e.value0 instanceof Dqe)return"PublicPrivate";if(e instanceof Tt&&e.value0 instanceof yqe)return"RecommendationLetters";if(e instanceof Tt&&e.value0 instanceof bqe)return"Region";if(e instanceof Tt&&e.value0 instanceof A4)return"ReligiousAffiliation";if(e instanceof Tt&&e.value0 instanceof Rqe)return"SatActDeadline";if(e instanceof Tt&&e.value0 instanceof oie)return"SatActTestPolicy";if(e instanceof Tt&&e.value0 instanceof wqe)return"SatSubjectTestDeadline";if(e instanceof Tt&&e.value0 instanceof iie)return"SixYearGraduationRate";if(e instanceof Tt&&e.value0 instanceof Sqe)return"State";if(e instanceof Tt&&e.value0 instanceof x4)return"StudentFacultyRatio";if(e instanceof Tt&&e.value0 instanceof Eqe)return"SubmissionDeadline";if(e instanceof Tt&&e.value0 instanceof uie)return"TOEFLPolicy";if(e instanceof Tt&&e.value0 instanceof Cqe)return"TotalUndergrads";if(e instanceof Tt&&e.value0 instanceof Iqe)return"TuitionInState";if(e instanceof Tt&&e.value0 instanceof Tqe)return"TuitionOutOfState";if(e instanceof Tt&&e.value0 instanceof Fqe)return"YieldRate";if(e instanceof Bl&&e.value0 instanceof La&&e.value0.value0 instanceof Yf)return"RankingArchitecture";if(e instanceof Bl&&e.value0 instanceof La&&e.value0.value0 instanceof Xf)return"RankingBusiness";if(e instanceof Bl&&e.value0 instanceof La&&e.value0.value0 instanceof Zf)return"RankingChemistry";if(e instanceof Bl&&e.value0 instanceof La&&e.value0.value0 instanceof Kf)return"RankingComputerScience";if(e instanceof Bl&&e.value0 instanceof La&&e.value0.value0 instanceof ev)return"RankingCriminalJusticeAndCorrections";if(e instanceof Bl&&e.value0 instanceof La&&e.value0.value0 instanceof nv)return"RankingEconomics";if(e instanceof Bl&&e.value0 instanceof La&&e.value0.value0 instanceof tv)return"RankingEngineering";if(e instanceof Bl&&e.value0 instanceof La&&e.value0.value0 instanceof av)return"RankingEnglish";if(e instanceof Bl&&e.value0 instanceof La&&e.value0.value0 instanceof rv)return"RankingFilm";if(e instanceof Bl&&e.value0 instanceof La&&e.value0.value0 instanceof ov)return"RankingFinance";if(e instanceof Bl&&e.value0 instanceof La&&e.value0.value0 instanceof iv)return"RankingHistory";if(e instanceof Bl&&e.value0 instanceof La&&e.value0.value0 instanceof uv)return"RankingPoliticalScience";if(e instanceof Bl&&e.value0 instanceof La&&e.value0.value0 instanceof lv)return"RankingPreMed";if(e instanceof Bl&&e.value0 instanceof La&&e.value0.value0 instanceof Qp)return"RankingPsychology";if(e instanceof Bl&&e.value0 instanceof Vd)return"OverallRanking";throw new Error("Failed pattern match at Hub.Facet (line 305, column 6 - line 376, column 43): "+[e.constructor.name])};var Gqe=Sa(Qa(qt)),Aqe=function(e){return e},ke=xa(Tl),xqe=function(e){return Gqe(Fg)(e)},cie=function(e){var n=xqe(e);return n?e:""},sr=function(e){return Aqe(xa(e))};var vie=Wf()(),jn=function(e){var n=eoe(e)()();return function(){return function(){return function(t){return function(a){return function(r){return function(o){return n(vie(r)({className:t,"aria-label":a}))(o)}}}}}}};var la=function(e){var n=toe(e)()();return function(){return function(){return function(t){return function(a){return function(r){return function(o){return n(vie(r)({className:t,"aria-label":a}))(o)}}}}}}};var sVe=function(){function e(){}return e.value=new e,e}(),fVe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),vVe=function(){function e(){}return e.value=new e,e}();var pie=function(e){if(e instanceof sVe)return"filters";if(e instanceof fVe)return"filter:"+lie(e.value0);if(e instanceof vVe)return"rankings";throw new Error("Failed pattern match at Hub.Visuals.MobileOverlay (line 34, column 26 - line 37, column 39): "+[e.constructor.name])};function mie(e,n){typeof CV!="undefined"&&CV.tracking&&CV.tracking.event(e,n)}var pVe=Ma(),mVe=$e(Xe),dVe=JS(),L4=function(){return function(e){return function(n){var t=pVe(e);return function(){var a=xr(t.utmContent);if(a instanceof _)return rf({key:"utm_content",value:a.value0});if(a instanceof E)return mVe;throw new Error("Failed pattern match at Utils.Tracking (line 52, column 5 - line 56, column 17): "+[a.constructor.name])}()(rf({key:"utm_campaign",value:t.utmCampaign})(rf({key:"utm_source",value:Bn(t.utmSource)("collegevine.com")})(n)))}}},_Ve=function(e){var n=Hn(e);return function(t){return function(a){return n(function(){return mie(t,a)})}}},_C=function(e){var n=_Ve(e);return function(){return function(t){return function(a){return n(t)(dVe(a))}}}};var hC=function(){function e(){}return e.value=new e,e}(),hVe=function(){function e(){}return e.value=new e,e}(),gVe=function(){function e(){}return e.value=new e,e}(),DVe=function(){function e(){}return e.value=new e,e}(),pP=function(e){if(e instanceof hC)return"school-detail";if(e instanceof hVe)return"school-connections";if(e instanceof gVe)return"explore-schools";if(e instanceof DVe)return"school-list";throw new Error("Failed pattern match at Hub.Tracker (line 16, column 28 - line 24, column 18): "+[e.constructor.name])};var pv=function(){function e(){}return e.value=new e,e}(),mv=function(){function e(){}return e.value=new e,e}(),um=function(){function e(){}return e.value=new e,e}(),j4={show:function(e){if(e instanceof pv)return"SAT";if(e instanceof mv)return"ACT";if(e instanceof um)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 gC=function(e){return e==="SAT"?new _(pv.value):e==="ACT"?new _(mv.value):e==="SATAndACT"?new _(um.value):E.value};function die(e,n,t,a){return a==null?e:n(a[t])}var yVe=function(e){var n=Ag(e),t=q(ic(e));return function(a){return function(r){return die(n(new iE("object",qj(r))),t,a,r)}}},ob=function(e){return yVe(e)};var RVe=an();var ib=function(e){return RVe(w2(e))};var Mo=function(e){return Ju(ib(e))};var SVe=aa(Ae)(ft),EVe=ne(j4);var ub=Z(Ge),_ie=zf(_a),dP=Z($c(_a)),_P=ob(_a),hP=xg(_a),hie=Un(An)(Ge),gie=so(ko),Die=q(Jn),CVe=Ft(Xr),DC=function(){function e(){}return e.value=new e,e}(),O0=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),gP={show:function(e){if(e instanceof DC)return"ATOStrongest";if(e instanceof O0)return SVe(["(ATOWithCloseTests ",EVe(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 IVe=function(e){return ub(Mo(_ie("Object")(e)))(function(n){return ub(Mo(dP(_P("tag")(n))(hP)))(function(t){return hie(gie(t==="ATOWithCloseTests"))(function(){return ub(ub(Mo(dP(_P("contents")(n))(hP)))(gC))(function(a){return Die(new O0(a))})})})})},TVe=function(e){return ub(Mo(_ie("Object")(e)))(function(n){return ub(Mo(dP(_P("tag")(n))(hP)))(function(t){return hie(gie(t==="ATOStrongest"))(function(){return Die(DC.value)})})})},yie=function(e){return CVe(TVe(e))(IVe(e))};var bie=Rn(bn),Rie=yn(bie)(_n(dn)),wie=gn(hn),Sie=Dn(wie),Eie=En(Sn),Cie=wn(Eie),fr=function(){function e(){}return e.value=new e,e}(),Lr=function(){function e(){}return e.value=new e,e}(),Kr=function(){function e(){}return e.value=new e,e}(),FVe={to:function(e){if(e instanceof H)return fr.value;if(e instanceof m&&e.value0 instanceof H)return Lr.value;if(e instanceof m&&e.value0 instanceof m)return Kr.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 fr)return new H(se.value);if(e instanceof Lr)return new m(new H(se.value));if(e instanceof Kr)return new m(new m(se.value));throw new Error("Failed pattern match at Chancing.Types.ApplicationStrategy (line 16, column 1 - line 16, column 46): "+[e.constructor.name])}},lb={eq:function(e){return function(n){return e instanceof fr&&n instanceof fr||e instanceof Lr&&n instanceof Lr||e instanceof Kr&&n instanceof Kr}}},N4={compare:function(e){return function(n){if(e instanceof fr&&n instanceof fr)return Ie.value;if(e instanceof fr)return De.value;if(n instanceof fr)return ge.value;if(e instanceof Lr&&n instanceof Lr)return Ie.value;if(e instanceof Lr)return De.value;if(n instanceof Lr)return ge.value;if(e instanceof Kr&&n instanceof Kr)return Ie.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 lb}},Iie=function(e){if(e instanceof fr)return"ApplyTestOptional";if(e instanceof Lr)return"ApplyWithSat";if(e instanceof Kr)return"ApplyWithAct";throw new Error("Failed pattern match at Chancing.Types.ApplicationStrategy (line 21, column 13 - line 24, column 33): "+[e.constructor.name])},P4={show:Iie},O4=function(){return ot(Le)({default:fr.value,diagnosticName:"ApplicationStrategy",parse:Ln(Iie)(pn(FVe)(Rie(Rie(bie)(wie))(Sie))(Cie(Cie(Eie)))(Sie))})}();var Tie=Uo(),AVe=j(u0);var xVe=function(e){var n=QS(function(r,o,i){return new _(new Pe(r,i))})(function(r){return E.value}),t=QS(function(r,o,i){return new Pe(r,i)})(function(r){return Jc("toUnfoldable1: impossible")}),a=Id(e)(function(r){return AVe(n)(r)});return function(r){return a(t(zS(SK(Tie(r)))))}},LVe=xVe(t2);var cb=Tie(EK),Fie=function(e){var n=ne(WZ(e));return{show:function(t){return"(fromFoldable1 "+(n(LVe(t))+")")}}},jVe=function(e){return CK(e)};var NVe=function(e){var n=IK(e);return n?E.value:new _(e)};var Mie=function(e){var n=mg(e);return function(t){return n(jVe(t))(cb)}},DP=function(e){var n=XS(e);return function(t){var a=n(t);return function(r){return NVe(a(r))}}};var yP=function(e){return FK(e)};var Gie=ne(j4),PVe=aa(Ae)(ft),OVe=ne(Fie(P4));var _c=Z(Ge),Aie=zf(_a),k4=Z($c(_a)),U4=ob(_a),yC=xg(_a),xie=Un(An)(Ge),Lie=so(ko),jie=see(_a),kVe=lo(hi)(ic(_a)),UVe=DP(Ae)(N4),HVe=j(me),Nie=q(Jn),BVe=Ft(Xr),of=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),vs=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}(),bP={show:function(e){if(e instanceof of)return"(AWTStrongest "+(Gie(e.value0)+")");if(e instanceof vs)return PVe(["(AWTWithCloseStrategies ",Gie(e.value0)," ",OVe(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 JVe=function(e){return _c(Mo(Aie("Object")(e)))(function(n){return _c(Mo(k4(U4("tag")(n))(yC)))(function(t){return xie(Lie(t==="AWTWithCloseStrategies"))(function(){return _c(_c(Mo(k4(U4("contents")(n))(jie)))(El))(function(a){return _c(_c(Mo(yC(Ad(a))))(gC))(function(r){return _c(_c($S(a)(1))(function(o){return Mo(jie(o))}))(function(o){return _c(Mo(kVe(yC)(o)))(function(i){return _c(UVe(HVe(O4)(i)))(function(u){return Nie(new vs(r,u))})})})})})})})})},qVe=function(e){return _c(Mo(Aie("Object")(e)))(function(n){return _c(Mo(k4(U4("tag")(n))(yC)))(function(t){return xie(Lie(t==="AWTStrongest"))(function(){return _c(_c(Mo(k4(U4("contents")(n))(yC)))(gC))(function(a){return Nie(new of(a))})})})})},Pie=function(e){return BVe(qVe(e))(JVe(e))};var d_=Z(Ge),Oie=zf(_a),kie=Z($c(_a)),H4=ob(_a),Uie=xg(_a),Hie=Un(An)(Ge),Bie=so(ko),Jie=q(Jn),WVe=Ft(Xr),RP=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),wP=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}();var $Ve=function(e){return d_(Mo(Oie("Object")(e)))(function(n){return d_(Mo(kie(H4("tag")(n))(Uie)))(function(t){return Hie(Bie(t==="GuidanceApplyWithTest"))(function(){return d_(Mo(H4("contents")(n)))(function(a){return d_(Pie(a))(function(r){return Jie(new wP(r))})})})})})},zVe=function(e){return d_(Mo(Oie("Object")(e)))(function(n){return d_(Mo(kie(H4("tag")(n))(Uie)))(function(t){return Hie(Bie(t==="GuidanceApplyTestOptional"))(function(){return d_(Mo(H4("contents")(n)))(function(a){return d_(yie(a))(function(r){return Jie(new RP(r))})})})})})},qie=Yn(Le)(B)({parse:function(e){return WVe(zVe(e))($Ve(e))},diagnosticName:"Chancing Guidance"});var Wie=function(){function e(){}return e.value=new e,e}(),VVe=function(){function e(){}return e.value=new e,e}();var $ie=function(){return ot(Le)({default:Wie.value,parse:function(e){return e==="BelowAcademicThreshold"?new _(Wie.value):e==="AboveAcademicThreshold"?new _(VVe.value):E.value},diagnosticName:"Chancing.AcademicThresholdStatus"})}();var SP=Z(Ge),QVe=q(Jn),lm=function(){function e(){}return e.value=new e,e}(),cm=function(){function e(){}return e.value=new e,e}(),dv=function(){function e(){}return e.value=new e,e}(),ps=function(){function e(){}return e.value=new e,e}();var EP=function(){return ot(Le)({default:ps.value,parse:function(e){return e==="PSWeak"?new _(dv.value):e==="PSFair"?new _(cm.value):e==="PSStrong"?new _(lm.value):E.value},diagnosticName:"Chancing.ScoreProgress"})}(),bC=function(e){var n=eg(e);return function(t){return function(a){return be(ps.value)(SP(t)(function(r){return SP(a.p50)(function(o){return SP(a.p75)(function(i){return QVe(function(){var u=n(r)(o);if(u)return dv.value;var l=n(r)(i);return l?cm.value:lm.value}())})})}))}}};var YVe=j(B),XVe=ct(Ge),CP=function(e){return{applicationStrategy:O4(e.applicationStrategy),isRecommendedStrategy:e.isRecommendedStrategy,classification:YVe(qoe)(te(e.classification)),score:te(e.score),academicThresholdStatus:$ie(e.academicThresholdStatus),shouldApplyTestOptional:e.shouldApplyTestOptional,ecStrength:Ue(ps.value)(EP)(te(e.ecStrength)),courseRigorStrength:Ue(ps.value)(EP)(te(e.courseRigorStrength)),specialCase:XVe(Qoe)(te(e.specialCase))}};var ZVe=j(me),KVe=ct(Ge),__=function(e){return{top:CP(e.top),all:ZVe(CP)(e.all),guidance:KVe(qie)(te(e.guidance)),sameDemographicStats:bae(te(e.sameDemographicStats))}};var eQe=Yr(Dl),nQe=On(Ja),zie=j(B),tQe=sg(Ae)(Dl),aQe=Ps(hi)(Jn);var h_=function(e){return nQe(zie(eQe)(e.sat.readingWriting))(e.sat.math)};var rQe=function(e){return Os(ut(tQe(e))/4)};var g_=function(e){return zie(rQe)(aQe([e.act.math,e.act.english,e.act.reading,e.act.science]))};var RC=function(){function e(){}return e.value=new e,e}(),sb=function(){function e(){}return e.value=new e,e}();var sm=function(){function e(){}return e.value=new e,e}(),fm=function(){function e(){}return e.value=new e,e}(),vm=function(){function e(){}return e.value=new e,e}(),pm=function(){function e(){}return e.value=new e,e}(),mm=function(){function e(){}return e.value=new e,e}(),dm=function(){function e(){}return e.value=new e,e}(),_m=function(){function e(){}return e.value=new e,e}(),hm=function(){function e(){}return e.value=new e,e}(),gm=function(){function e(){}return e.value=new e,e}(),Dm=function(){function e(){}return e.value=new e,e}(),ym=function(){function e(){}return e.value=new e,e}(),bm=function(){function e(){}return e.value=new e,e}(),Rm=function(){function e(){}return e.value=new e,e}(),wm=function(){function e(){}return e.value=new e,e}(),Sm=function(){function e(){}return e.value=new e,e}(),Em=function(){function e(){}return e.value=new e,e}(),Cm=function(){function e(){}return e.value=new e,e}(),Im=function(){function e(){}return e.value=new e,e}(),k0=function(){function e(){}return e.value=new e,e}(),fb={show:function(e){if(e instanceof sm)return"Sports";if(e instanceof fm)return"CommService";if(e instanceof vm)return"Hobbies";if(e instanceof pm)return"NonArtComps";if(e instanceof mm)return"Politics";if(e instanceof dm)return"Drama";if(e instanceof _m)return"VisualArts";if(e instanceof hm)return"Music";if(e instanceof gm)return"Writing";if(e instanceof Dm)return"HonorSocieties";if(e instanceof ym)return"Employment";if(e instanceof bm)return"OwnInitiative";if(e instanceof Rm)return"StudentGov";if(e instanceof wm)return"InterestClubs";if(e instanceof Sm)return"AffinityGroups";if(e instanceof Em)return"Research";if(e instanceof Cm)return"SummerPrograms";if(e instanceof Im)return"Software";if(e instanceof k0)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 wC={eq:function(e){return function(n){return e instanceof sm&&n instanceof sm||e instanceof fm&&n instanceof fm||e instanceof vm&&n instanceof vm||e instanceof pm&&n instanceof pm||e instanceof mm&&n instanceof mm||e instanceof dm&&n instanceof dm||e instanceof _m&&n instanceof _m||e instanceof hm&&n instanceof hm||e instanceof gm&&n instanceof gm||e instanceof Dm&&n instanceof Dm||e instanceof ym&&n instanceof ym||e instanceof bm&&n instanceof bm||e instanceof Rm&&n instanceof Rm||e instanceof wm&&n instanceof wm||e instanceof Sm&&n instanceof Sm||e instanceof Em&&n instanceof Em||e instanceof Cm&&n instanceof Cm||e instanceof Im&&n instanceof Im||e instanceof k0&&n instanceof k0}}};var vb=function(e){return e==="Sports"?new _(sm.value):e==="CommService"?new _(fm.value):e==="Hobbies"?new _(vm.value):e==="NonArtComps"?new _(pm.value):e==="Politics"?new _(mm.value):e==="Drama"?new _(dm.value):e==="VisualArts"?new _(_m.value):e==="Music"?new _(hm.value):e==="Writing"?new _(gm.value):e==="HonorSocieties"?new _(Dm.value):e==="Employment"?new _(ym.value):e==="OwnInitiative"?new _(bm.value):e==="StudentGov"?new _(Rm.value):e==="InterestClubs"?new _(wm.value):e==="AffinityGroups"?new _(Sm.value):e==="Research"?new _(Em.value):e==="SummerPrograms"?new _(Cm.value):e==="Software"?new _(Im.value):e==="Other"?new _(k0.value):E.value};var D_=function(e){if(e instanceof sm)return"Sports";if(e instanceof fm)return"Community Service";if(e instanceof vm)return"Hobbies";if(e instanceof pm)return"Non-Art Competitions";if(e instanceof mm)return"Politics";if(e instanceof dm)return"Drama";if(e instanceof _m)return"Visual Arts";if(e instanceof hm)return"Music";if(e instanceof gm)return"Writing";if(e instanceof Dm)return"Honor Societies";if(e instanceof ym)return"Employment";if(e instanceof bm)return"Own Initiative";if(e instanceof Rm)return"Student Government";if(e instanceof wm)return"Interest Clubs";if(e instanceof Sm)return"Affinity Groups";if(e instanceof Em)return"Research";if(e instanceof Cm)return"Summer Programs";if(e instanceof Im)return"Software";if(e instanceof k0)return"Other";throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECCategory (line 108, column 11 - line 127, column 19): "+[e.constructor.name])},Vie=function(){return[sm.value,fm.value,vm.value,pm.value,mm.value,dm.value,_m.value,hm.value,gm.value,Dm.value,ym.value,bm.value,Rm.value,wm.value,Sm.value,Em.value,Cm.value,Im.value]}();var Qie=Rn(bn),_v=yn(Qie)(_n(dn)),Yie=gn(hn),hv=Dn(Yie),IP=_v(_v(_v(_v(_v(_v(_v(_v(_v(_v(_v(Qie)(Yie))(hv))(hv))(hv))(hv))(hv))(hv))(hv))(hv))(hv))(hv);var Xie=En(Sn),gv=wn(Xie),Zie=gv(gv(gv(gv(gv(gv(gv(gv(gv(gv(gv(Xie))))))))))),oQe=ee(B),iQe=j(me),SC=function(){function e(){}return e.value=new e,e}(),EC=function(){function e(){}return e.value=new e,e}(),CC=function(){function e(){}return e.value=new e,e}(),IC=function(){function e(){}return e.value=new e,e}(),iu=function(){function e(){}return e.value=new e,e}(),Or=function(){function e(){}return e.value=new e,e}(),Er=function(){function e(){}return e.value=new e,e}(),Wr=function(){function e(){}return e.value=new e,e}(),Go=function(){function e(){}return e.value=new e,e}(),jr=function(){function e(){}return e.value=new e,e}(),uu=function(){function e(){}return e.value=new e,e}(),Si=function(){function e(){}return e.value=new e,e}(),Ji=function(){function e(){}return e.value=new e,e}(),Ao=function(){function e(){}return e.value=new e,e}(),hc=function(){function e(){}return e.value=new e,e}(),Jl=function(){function e(){}return e.value=new e,e}(),y_={to:function(e){if(e instanceof H)return iu.value;if(e instanceof m&&e.value0 instanceof H)return Or.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof H)return Er.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof m&&e.value0.value0.value0 instanceof H)return Wr.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof m&&e.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0 instanceof H)return Go.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof m&&e.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0 instanceof H)return jr.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof m&&e.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0.value0 instanceof H)return uu.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof m&&e.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0.value0.value0 instanceof H)return Si.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof m&&e.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0.value0.value0.value0 instanceof H)return Ji.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof m&&e.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0.value0.value0.value0.value0 instanceof H)return Ao.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof m&&e.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0.value0.value0.value0.value0.value0 instanceof H)return hc.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof m&&e.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0.value0.value0.value0.value0.value0 instanceof m)return Jl.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 iu)return new H(se.value);if(e instanceof Or)return new m(new H(se.value));if(e instanceof Er)return new m(new m(new H(se.value)));if(e instanceof Wr)return new m(new m(new m(new H(se.value))));if(e instanceof Go)return new m(new m(new m(new m(new H(se.value)))));if(e instanceof jr)return new m(new m(new m(new m(new m(new H(se.value))))));if(e instanceof uu)return new m(new m(new m(new m(new m(new m(new H(se.value)))))));if(e instanceof Si)return new m(new m(new m(new m(new m(new m(new m(new H(se.value))))))));if(e instanceof Ji)return new m(new m(new m(new m(new m(new m(new m(new m(new H(se.value)))))))));if(e instanceof Ao)return new m(new m(new m(new m(new m(new m(new m(new m(new m(new H(se.value))))))))));if(e instanceof hc)return new m(new m(new m(new m(new m(new m(new m(new m(new m(new m(new H(se.value)))))))))));if(e instanceof Jl)return new m(new m(new m(new m(new m(new m(new m(new m(new m(new m(new m(se.value)))))))))));throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECTier (line 60, column 1 - line 60, column 33): "+[e.constructor.name])}},uf={eq:function(e){return function(n){return e instanceof iu&&n instanceof iu||e instanceof Or&&n instanceof Or||e instanceof Er&&n instanceof Er||e instanceof Wr&&n instanceof Wr||e instanceof Go&&n instanceof Go||e instanceof jr&&n instanceof jr||e instanceof uu&&n instanceof uu||e instanceof Si&&n instanceof Si||e instanceof Ji&&n instanceof Ji||e instanceof Ao&&n instanceof Ao||e instanceof hc&&n instanceof hc||e instanceof Jl&&n instanceof Jl}}},uQe=ve(uf),lQe={compare:function(e){return function(n){if(e instanceof iu&&n instanceof iu)return Ie.value;if(e instanceof iu)return De.value;if(n instanceof iu)return ge.value;if(e instanceof Or&&n instanceof Or)return Ie.value;if(e instanceof Or)return De.value;if(n instanceof Or)return ge.value;if(e instanceof Er&&n instanceof Er)return Ie.value;if(e instanceof Er)return De.value;if(n instanceof Er)return ge.value;if(e instanceof Wr&&n instanceof Wr)return Ie.value;if(e instanceof Wr)return De.value;if(n instanceof Wr)return ge.value;if(e instanceof Go&&n instanceof Go)return Ie.value;if(e instanceof Go)return De.value;if(n instanceof Go)return ge.value;if(e instanceof jr&&n instanceof jr)return Ie.value;if(e instanceof jr)return De.value;if(n instanceof jr)return ge.value;if(e instanceof uu&&n instanceof uu)return Ie.value;if(e instanceof uu)return De.value;if(n instanceof uu)return ge.value;if(e instanceof Si&&n instanceof Si)return Ie.value;if(e instanceof Si)return De.value;if(n instanceof Si)return ge.value;if(e instanceof Ji&&n instanceof Ji)return Ie.value;if(e instanceof Ji)return De.value;if(n instanceof Ji)return ge.value;if(e instanceof Ao&&n instanceof Ao)return Ie.value;if(e instanceof Ao)return De.value;if(n instanceof Ao)return ge.value;if(e instanceof hc&&n instanceof hc)return Ie.value;if(e instanceof hc)return De.value;if(n instanceof hc)return ge.value;if(e instanceof Jl&&n instanceof Jl)return Ie.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 uf}},Kie={succ:Z2(y_)(IP),pred:Dte(y_)(IP),Ord0:function(){return lQe}};var eue=function(e){if(e instanceof iu)return"A";if(e instanceof Or)return"B";if(e instanceof Er)return"C";if(e instanceof Wr)return"D";if(e instanceof Go)return"E";if(e instanceof jr)return"F";if(e instanceof uu)return"G";if(e instanceof Si)return"H";if(e instanceof Ji)return"I";if(e instanceof Ao)return"J";if(e instanceof hc)return"K";if(e instanceof Jl)return"L";throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECTier (line 43, column 13 - line 55, column 13): "+[e.constructor.name])},nue={show:eue},tue=Ln(eue)(pn(y_)(IP)(Zie)(hv)),TP=function(e){if(e instanceof iu)return{group:SC.value,subGroup:"a"};if(e instanceof Or)return{group:SC.value,subGroup:"b"};if(e instanceof Er)return{group:SC.value,subGroup:"c"};if(e instanceof Wr)return{group:EC.value,subGroup:"a"};if(e instanceof Go)return{group:EC.value,subGroup:"b"};if(e instanceof jr)return{group:EC.value,subGroup:"c"};if(e instanceof uu)return{group:CC.value,subGroup:"a"};if(e instanceof Si)return{group:CC.value,subGroup:"b"};if(e instanceof Ji)return{group:CC.value,subGroup:"c"};if(e instanceof Ao)return{group:IC.value,subGroup:"a"};if(e instanceof hc)return{group:IC.value,subGroup:"b"};if(e instanceof Jl)return{group:IC.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])},aue=yte(y_)(Zie),cQe=function(e){return function(n){if(n instanceof SC)return"1";if(n instanceof EC)return"2";if(n instanceof CC)return"3";if(n instanceof IC)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}(TP(e)))},FP=function(e){return cQe(e)+TP(e).subGroup},pb=function(e){return FP(e)+(": "+function(){var n=TP(e).group;if(n instanceof SC)return"Exceptional";if(n instanceof EC)return"Very strong";if(n instanceof CC)return"Strong";if(n instanceof IC)return"Standard";throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECTier (line 75, column 39 - line 79, column 25): "+[n.constructor.name])}())},rue=function(){var e=function(n){return function(t){return{tier:n,description:t}}};return function(n){if(n instanceof sm)return[e(iu.value)(["I play for the youth national team at my age group in this sport","I am a national champion in this sport"]),e(Or.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(Er.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(Wr.value)(["I'm a varsity athlete with top all-conference/region or conference/region award"]),e(Go.value)(["I'm a varsity athlete with all-conference/region or conference/region award","I am the captain of the varsity team"]),e(jr.value)(["I'm a varsity athlete in this sport"]),e(Si.value)(["I'm a JV athlete that won an award in this sport","I am the JV team captain"]),e(Ao.value)(["I'm a JV athlete in this sport"]),e(Jl.value)(["I play this sport recreationally"])];if(n instanceof fm)return[e(Or.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(Er.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(Wr.value)(["I held state level leadership in a community service org","I led an initiative that raised more than $15k","I led an initiative that attracted more than 500 participants","I founded a large (>15 members) school community service organization or club"]),e(Go.value)(["I held the highest school level leadership in a large community service club (>15 members)","I led an initiative that raised more than $10k"]),e(jr.value)(["I held school-level leadership in a large (>15 members) community service club","I led an initiative that attracted more than 100 participants","I founded or was president of a small (<15 members) school community service org"]),e(Si.value)(["I won a community service award either in a school club or in an out of school organization"]),e(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(Ao.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(Jl.value)(["I have less than 30 volunteer hours"])];if(n instanceof vm)return[e(Or.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(Er.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(jr.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(Ao.value)(["I have participated in this hobby for an extended period of time"])];if(n instanceof pm)return[e(iu.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(Or.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(Er.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(Wr.value)(["I founded a competition-based club at my school and grew it to 50+ members or was president/the highest leader","I was part of a team that reached the national competition","I held state-level leadership","I won the highest individual state-level award"]),e(Go.value)(["I won a state level individual award in this activity","I held the highest school level leadership in this activity"]),e(jr.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(uu.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(hc.value)(["I competed at the local or school level in this activity"])];if(n instanceof mm)return[e(Or.value)(["I worked a substantial, paid strategy role for a national level political campaign (Congressional or higher)"]),e(Er.value)(["I worked a substantial, paid strategy role for a state level political campaign"]),e(Wr.value)(["I founded a political advocacy group at my school, e.g. the Young Democrats, with more than 25 contributors,","I worked a substantial strategy role for a local political campaign"]),e(Go.value)(["I was president of a political advocacy group at my school, e.g. the Young Democrats, with more than 25 contributors","I founded a political advocacy group with fewer than 25 contributors"]),e(jr.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(Ao.value)(["I canvassed for a state or national level political campaign","I am a member of political interest club at my school"]),e(hc.value)(["I canvassed or phone banked for local level political campaign"])];if(n instanceof dm)return[e(Er.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(Wr.value)(["I won a state level award for acting/writing","I was selected to an elite prestigious applicant only theater program e.g. Royal Academy of Sciences and Arts","I wrote a play that was performed by a non-student theater"]),e(Go.value)(["I held a top-billed lead role in a school play","The play that I wrote was performed by my school","I headed the stage crew","I was selected to an applicant only theater program"]),e(jr.value)(["I had a non-lead but highly important role in school play"]),e(uu.value)(["I performed a substantial role in a school play"]),e(Si.value)(["I performed a role in a non-student play at a theater in my city"]),e(Ji.value)(["I performed a role with lines in a school play","I was a member of the stage crew or Pit orchestra"]),e(hc.value)(["I was an extra in the school play"])];if(n instanceof _m)return[e(iu.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(Or.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(Er.value)(["I won a Gold Key art award from Scholastic","I had a film screened at an accredited regional film festival"]),e(Wr.value)(["I have a substantial video network presence consistently getting 10,000+ views/video","I won a state-level art/film contest","I was the president of my school's art club/film club","I have a video production company that does work for local businesses"]),e(Go.value)(["I won a city or regional art award","I screened a film at citywide or regional film festival"]),e(jr.value)(["I held school level leadership in an art or film club","I won the national Scholastic Silver Key award"]),e(Si.value)(["I produced at least 20 high quality YouTube or other video platform videos with at least 1,000 views per video","I won a school level art contest"]),e(Ao.value)(["I am a member of my school's art or film club"]),e(Jl.value)(["I draw, paint, or make videos for fun"])];if(n instanceof hm)return[e(iu.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(Or.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(Er.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(Wr.value)(["I made an all-state level audition group","I achieved the highest level of certification for my instrument e.g. ABRSM grade","I am a recording artist with substantial, quantifiable traction on the internet e.g. 10,000 plays on Spotify on one song"]),e(Go.value)(["I made an all-regional/all-district audition group","I am the drum major/band captain in marching band","I am the music group leader"]),e(jr.value)(["I am the principal player/section leader for the highest school/non-school musical group in my school/town"]),e(uu.value)(["If my school has multiple groups, I am a member of the highest group in my school"]),e(Ao.value)(["I am a member of a music group inside or outside school"]),e(Jl.value)(["I play an instrument or sing recreationally"])];if(n instanceof gm)return[e(iu.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(Or.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(Er.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(Wr.value)(["I self-published a book (>100 pages)","I wrote for a 2nd tier publication","I had a successful blog (>250,000 views)","I won a 2nd tier essay contest","I was published in a lit journal","I founded/was Editor-in-Chief of a school publication"]),e(Go.value)(["I published a full-length book or books through Amazon (total length <100 pages) or self-publishing"]),e(jr.value)(["I served as an associate editor or equivalent leader for a school publication","I had a large (volume wise) personal or topical blog with at least 50,000 words of content and a professional design"]),e(Si.value)(["I served as a staff writer for my school newspaper or publication, or contributed more than 10 articles to a school newspaper or publication ","I had a personal or topical blog with at least 10,000 words of content"]),e(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(Ao.value)(["I contributed 1-2 articles to a school newspaper or publication"]),e(Jl.value)(["I write for fun"])];if(n instanceof Dm)return[e(Or.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(Er.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(Wr.value)(["I was the president of a school or local level honor society"]),e(jr.value)(["I held leadership in school or local honor society"]),e(uu.value)(["I was a member of an honor society and had significant involvement e.g. I spent 25 hrs designing and implementing NHS tutoring at my school"]),e(Si.value)(["I was a member of school level honor society e.g. National Honor Society"]),e(Ji.value)(["I was a member of a subject level school honor society i.e. Spanish Honor Society"])];if(n instanceof ym)return[e(Or.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(Er.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(Wr.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(jr.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(uu.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 bm)return[e(iu.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(Or.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(Er.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(Wr.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(jr.value)(["I started a business making $10k per year","I started a self built organization or initiative with more than 25 participants","I started a nonprofit that raised at least $5k"]),e(Si.value)(["I started a business making $2k per year","I started a self built organization or initiative with more than 10 participants","I started a nonprofit that raised at least $1k"])];if(n instanceof Rm)return[e(Wr.value)(["I was School President or Head Boy/Girl"]),e(Go.value)(["I was the president of Student Council","I was class president"]),e(jr.value)(["I was a class officer","I held student council leadership"]),e(Si.value)(["I was a member of Student Council"])];if(n instanceof wm)return[e(Or.value)(["I organized a nationwide event or conference for this interest (i.e. national anime conference)"]),e(Er.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(Wr.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(jr.value)(["I held leadership in a school-level interest club"]),e(Ao.value)(["I was a member of school level interest based club"])];if(n instanceof Sm)return[e(Or.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(Er.value)(["I was the highest state leader of an affinity group for high schoolers e.g.Black Students Association"]),e(Wr.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(jr.value)(["I held school-level leadership in an affinity group or club"]),e(Ao.value)(["I was a member of a school level affinity club"])];if(n instanceof Em)return[e(iu.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(Or.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(Er.value)(["I was selected for a formal, honorary application required research programs"]),e(Wr.value)(["I had research that was or will be published in a Top 250 scientific journal on which I am a co-author on the experiment or study"]),e(Go.value)(["I conducted research through a formal, application required program with an accredited university"]),e(jr.value)(["I had research that was or will be published"]),e(uu.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 Cm)return[e(Or.value)(["I attended one of TASP, RSI, PROMYS, SSP, Boys/Girls Nation"]),e(Er.value)(["I attended one of RISE, MITES, SuMaC, Boys/Girls State, or Gov School"]),e(Go.value)(["I attended one of SIP, EFL, SAMS, HCSSIM, JCamp, MAthlLy, HSHSP, Clark Scholars, Notre Dame Summer Scholars"]),e(jr.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(Ao.value)(["I attended a paid summer program where there is no application required"])];if(n instanceof Im)return[e(Or.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(Er.value)(["I built commercially used software","I built an app with more than 100,000 downloads"]),e(Go.value)(["I published an app with 10,000 downloads"]),e(Si.value)(["I published an app on the App/Google Play store","I contributed to an open source software project"]),e(Ao.value)(["I write programs for fun"])];if(n instanceof k0)return[e(Er.value)([""]),e(uu.value)([""]),e(Ao.value)([""]),e(Jl.value)([""])];throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECTier (line 134, column 17 - line 322, column 6): "+[n.constructor.name])}}(),oue=function(e){return function(n){return oQe(pj(function(){var t=uQe(n);return function(a){return t(function(r){return r.tier}(a))}}())(rue(e)))(function(t){return t.description})}},TC=function(e){return iQe(function(n){return n.tier})(rue(e))},iue=function(e){return Di(TC(e))},B4=function(e){return Md(TC(e))};var lue=ne(fb),cue=ne(nue),sQe=ne(xs(wr)),fQe=ve(wC),vQe=ve(Pt(sa)),pQe=ve(Pt(dr)),mQe=ve(uf),dQe=gg(uf),_Qe=m2(Kie),MP=Z(Ge),hQe=q(Jn),gQe=bu(Ge),GP=wp(B),DQe=On(Ja),yQe=j(B);var bQe=kp(uf);var AP={show:function(e){return"ECActivity "+("{ name: "+(e.name+(", category: "+(lue(e.category)+(", tier: "+(cue(e.tier)+(", description: "+(sQe(e.description)+" }"))))))))}};var sue={show:function(){var e=ne(Ye),n=an();return function(t){return e(n(t))}}()},xP={eq:function(e){return function(n){return e===n}}},RQe=ve(Pt(xP)),FC={eq:function(e){return function(n){return RQe(e.canonicalId)(n.canonicalId)&&fQe(e.category)(n.category)&&vQe(e.description)(n.description)&&pQe(e.id)(n.id)&&e.name===n.name&&mQe(e.tier)(n.tier)}}},MC=It;var gc=function(e){return e.tier},b_=function(e){return e.name},GC=function(e){return function(n){return function(t){return function(a){return function(r){return function(o){var i=TC(n),u=function(l){var c=!1,s;function f(v){if(dQe(v)(i))return c=!0,new _(v);var p=function(y){if(Fe)return Di(i);throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivity (line 78, column 1 - line 78, column 105): "+[v.constructor.name])},d=_Qe(v);if(d instanceof _){l=d.value0;return}return c=!0,p(!0)}for(;!c;)s=f(l);return s};return MP(u(t))(function(l){return hQe({name:e,category:n,tier:l,id:a,description:r,canonicalId:o})})}}}}}},wQe=Yn(Le)(B)({diagnosticName:"EC Activity",parse:function(e){return gQe(GP(GP(GP(DQe(yQe(GC(e.name))(vb(e.category)))(tue(e.tier)))(te(e.id)))(te(e.description)))(te(e.canonical_ec_activity_id)))}}),AC=co(wQe);var J4=function(e){return e.id},fue=function(e){return function(n){var t=TC(n.category);return MP(bQe(n.tier)(t))(function(a){return MP(tu(t)(e(a)))(function(r){return GC(n.name)(n.category)(r)(n.id)(n.description)(n.canonicalId)})})}},vue=fue(function(e){return e+1|0}),pue=fue(function(e){return e-1|0}),xC=function(e){return e.description},Dv=function(e){return e.category},q4=function(e){return e.canonicalId},vD=j(me)(function(e){return{name:b_(e),category:lue(Dv(e)),tier:cue(gc(e)),id:Bt(J4(e)),description:Bt(xC(e)),canonical_ec_activity_id:Bt(q4(e))}});var LP=q(Jn),SQe=Ft(Xr);var LC=function(e){var n=h_(e);if(n instanceof _&&e.psatPredictedCompositeSAT instanceof E)return LP(RC.value);if(n instanceof _&&e.psatPredictedCompositeSAT instanceof _)return LP(RC.value);if(n instanceof E&&e.psatPredictedCompositeSAT instanceof _)return LP(sb.value);if(n instanceof E&&e.psatPredictedCompositeSAT instanceof E)return E.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])},mue=function(e){return{sat:{readingWriting:te(e.sat.readingWriting),math:te(e.sat.math)},psatPredictedCompositeSAT:te(e.psatPredictedCompositeSAT),act:{math:te(e.act.math),english:te(e.act.english),reading:te(e.act.reading),science:te(e.act.science)},gpa:te(e.gpa),courseRigor:{ap:te(e.courseRigor.ap),honors:te(e.courseRigor.honors),collegeClasses:te(e.courseRigor.collegeClasses)},ecScore:te(e.ecScore),ecActivities:AC(e.ecActivities)}};var jP=function(e){return SQe(h_(e))(e.psatPredictedCompositeSAT)};var W4=function(e){return{estimatedNetCost:e.estimatedNetCost,stickerPrice:e.stickerPrice,financialAid:e.financialAid,estimatedMeritAid:te(e.estimatedMeritAid)}};var due=am(function(e){return{status:sP(e.status),applicationRound:Eoe(e.applicationRound)}}),NP=function(){return{status:fD.value,applicationRound:u_.value}}();var _ue=am($e(Xe)),$4=500;var yv=function(){function e(){}return e.value=new e,e}(),pD=function(){function e(){}return e.value=new e,e}();var hue={eq:function(e){return function(n){return e instanceof yv&&n instanceof yv||e instanceof pD&&n instanceof pD}}};var Ku=function(e){if(e instanceof yv)return _.create;if(e instanceof pD)return Ze(E.value);throw new Error("Failed pattern match at SchoolDetails.Configuration (line 16, column 1 - line 16, column 62): "+[e.constructor.name])},lf=function(e){if(e instanceof pD)return _.create;if(e instanceof yv)return Ze(E.value);throw new Error("Failed pattern match at SchoolDetails.Configuration (line 20, column 1 - line 20, column 61): "+[e.constructor.name])},Tm=function(){return _.create}();var gue=Rn(bn),Due=yn(gue)(_n(dn)),yue=gn(hn),bue=Dn(yue),Rue=En(Sn),wue=wn(Rue),z4=function(){function e(){}return e.value=new e,e}(),PP=function(){function e(){}return e.value=new e,e}(),OP=function(){function e(){}return e.value=new e,e}(),EQe={to:function(e){if(e instanceof H)return z4.value;if(e instanceof m&&e.value0 instanceof H)return PP.value;if(e instanceof m&&e.value0 instanceof m)return OP.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 z4)return new H(se.value);if(e instanceof PP)return new m(new H(se.value));if(e instanceof OP)return new m(new m(se.value));throw new Error("Failed pattern match at Autopilot.Student.Types.AutopilotStatus (line 14, column 1 - line 14, column 42): "+[e.constructor.name])}};var kP=function(){var e=function(n){if(n instanceof z4)return"ineligible";if(n instanceof PP)return"eligible";if(n instanceof OP)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 ot(Le)({parse:Ln(e)(pn(EQe)(Due(Due(gue)(yue))(bue))(wue(wue(Rue)))(bue)),default:z4.value,diagnosticName:"Autopilot Status"})}();var Sue=function(e){return{rcr2577ClaimSchoolProfileLinkOnSdp:e.rcr2577ClaimSchoolProfileLinkOnSdp,app18667SageOnSdp:e.app18667SageOnSdp,autopilot:kP(e.autopilot)}};var CQe=function(){function e(){}return e.value=new e,e}(),UP=function(){function e(){}return e.value=new e,e}(),jC=function(){function e(){}return e.value=new e,e}(),Eue=function(){function e(){}return e.value=new e,e}(),Cue=function(e){if(e instanceof CQe)return"modal-sm";if(e instanceof UP)return"";if(e instanceof jC)return"modal-lg";if(e instanceof Eue)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 Yue=ya(Que()),Xue=Yue.default;var uYe=Gl(),Zue=function(e){var n=uYe(e);return function(){return function(){return n(Xue)}}};var Kue=E1(hE);var ele={map:function(e){return function(n){return Kue(Kue(e))(n)}}},lYe=ee(ele),cYe=function(e){var n=Z(e.Monad0().Bind1()),t=Hn(e);return function(a){return D0(function(r){return n(a(r.dispatch))(function(o){return t(r.onStop(o))})})}},K4=function(e){var n=cYe(e);return function(t){return function(a){return n(lYe(a)(t))}}};var nle=Un(An)(Wt),sYe=K4(Xn),fYe=$e(Xe),tle=q(_t),kC=function(e){return function(n){return zg("UseSubscription")(function(t){return{init:nle(sYe(fYe)(e))(function(){return tle(Re)}),update:function(a){return function(r){return nle(cr(n(r)))(function(){return tle(Re)})}},view:function(a){return function(r){return t(Re)}}}})}};function UC(e){return function(){return function(n){return e(n)()}}}function HC(e){return function(n){return function(t){return function(a){return function(){return a.addEventListener(e,n,t)}}}}}function VP(e){return function(n){return function(t){return function(a){return function(){return a.removeEventListener(e,n,t)}}}}}var ale="message";var rle="hashchange";var ole="popstate";var ile="keyup",ule="keydown";var lle="mouseup";var cle="mousemove";var sle=Hn(Xn),fle=j(st),vYe=ct(rr),BC=function(){var e=function(a){return function(r){return function(o){return sle(function(){var u=r(),l=UC(function(c){return o(c)})();return HC(a)(l)(!1)(u)(),sle(VP(a)(l)(!1)(u))})}}},n=function(a){return e(a)(fle(poe)(To))},t=function(a){return e(a)(fle(uoe)(vYe(tm)(To)))};return{hashchange:n(rle),mousemove:n(cle),mouseup:n(lle),popstate:n(ole),resize:n("resize"),message:n(ale),keydown:t(ule),keyup:t(ile),selectionchange:t("selectionchange"),visibilitychange:t("visibilitychange")}}();var JC=function(){return Be};var _b=J(ae),QP=Ma(),pYe=Zue(ae)()(),mYe=Kn(ae)()(),dYe=Kn(W)()(),_Ye=J(W),hYe=jn(L)()(),gYe=pa(Sr),DYe=Qr(Xt),yYe=Hn(Xn),vle=JC(),e3=function(){return function(e){var n=_b("modal-backdrop fade show")(cn),t=QP(e),a=xr(t.footer),r=xr(t.header),o=Bn(t.size)(UP.value),i=Gr(" ")([function(){var l=Bn(t.scrollable)(!0);return l?"modal-dialog-scrollable":""}(),function(){var l=Bn(t.centered)(!0);return l?"modal-dialog-centered":""}(),Cue(o),Bn(t.dialogClass)("")]),u=pYe({focusTrapOptions:{escapeDeactivates:!1,fallbackFocus:".modal-content",allowOutsideClick:!0}})(_b("modal fade show d-block")(mYe("modal-dialog "+i)({style:Bn(t.dialogStyle)(mn({}))})(dYe("modal-content "+Bn(t.contentClass)(""))({style:Bn(t.contentStyle)(mn({}))})([We(r)(_b("modal-header "+Bn(t.headerClass)(""))),_b("modal-body "+Bn(t.bodyClass)(""))(t.body),We(a)(_b("modal-footer "+Bn(t.footerClass)("")))]))));return le([u,n])}},ple=e3(),Mm=function(){return function(e){var n=QP(e),t=_Ye("d-flex w-100 justify-content-between align-items-center")([_b("mr-4")(Bn(n.title)(cn)),hYe("btn btn-link large mr-n3 py-0 fe fe-x t--close "+Bn(n.dismissButtonClass)("text-body"))(sr("Close"))({type:"button",onClick:gYe(n.onDismiss)})("")]),a=function(r){return DYe(r.key==="Escape")(yYe(n.onDismiss))};return A1(kC(BC.keyup)(a))(function(r){var o=Bn(n.bodyScrollable)(!1);return ple(o?function(){var i=QP(vle(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}}():vle({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:le([t,n.body])}))})}};function mle(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 dle=typeof CV!="undefined"&&CV.pathInfo||typeof global!="undefined"&&global.CV&&global.CV.pathInfo||(e=>null);function _le(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 hle(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 p=v.indexOf(":");return a(v.substring(0,p))(v.substring(p+2))}),body:u.response})},u.responseType=r.responseType,u.withCredentials=r.withCredentials,u.timeout=r.timeout,u.send(r.content),function(v,p,d){try{u.abort()}catch(y){return p(y)}return d()}}}var n3="application/json",gle="application/x-www-form-urlencoded";var Dle=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),yle=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),ble=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Rle=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),wle=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),YP=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),t3=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Sle=function(e){return e instanceof YP?new _(gle):e instanceof t3?new _(n3):E.value};var Ele=function(){return t3.create}();var Cle=an();var a3=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),r3=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),hb=function(){function e(n,t){this.value0=n,this.value1=t}return e.create=function(n){return function(t){return new e(n,t)}},e}(),Ile=function(e){if(e instanceof a3||e instanceof r3)return Cle(e.value0);if(e instanceof hb)return e.value1;throw new Error("Failed pattern match at Affjax.RequestHeader (line 26, column 1 - line 26, column 33): "+[e.constructor.name])};var XP=function(e){if(e instanceof a3)return"Accept";if(e instanceof r3)return"Content-Type";if(e instanceof hb)return e.value0;throw new Error("Failed pattern match at Affjax.RequestHeader (line 21, column 1 - line 21, column 32): "+[e.constructor.name])};var Tle=$e(Xe),ZP=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),KP=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),eO=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),o3=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),i3=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),u3=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Fle=function(e){if(e instanceof ZP)return"arraybuffer";if(e instanceof KP)return"blob";if(e instanceof eO)return"document";if(e instanceof o3||e instanceof i3)return"text";if(e instanceof u3)return"";throw new Error("Failed pattern match at Affjax.ResponseFormat (line 44, column 3 - line 50, column 19): "+[e.constructor.name])},Mle=function(e){return e instanceof o3?new _(n3):E.value},Gle=function(){return new i3(Tle)}();var Ale=function(){return new u3(Tle)}();var xle=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 Lle(e,n,t){try{return n(JSON.parse(t))}catch(a){return e(a.message)}}var l3=function(e){return Lle(Ke.create,nn.create,e)};var RYe=On(Ja),jle=j(B),wYe=lo(hi)(Jn);var SYe=function(e){return e};var Nle=function(){var e=function(a){if(a.value1 instanceof E)return C4(a.value0);if(a.value1 instanceof _)return RYe(jle(function(r){return function(o){return r+("="+o)}})(C4(a.value0)))(C4(a.value1.value0));throw new Error("Failed pattern match at Data.FormURLEncoded (line 37, column 16 - line 39, column 114): "+[a.constructor.name])},n=jle(Gr("&")),t=wYe(e);return function(a){return n(t(SYe(a)))}}();var nO=function(){function e(){}return e.value=new e,e}(),R_=function(){function e(){}return e.value=new e,e}(),tO=function(){function e(){}return e.value=new e,e}(),Gm=function(){function e(){}return e.value=new e,e}(),c3=function(){function e(){}return e.value=new e,e}(),qC=function(){function e(){}return e.value=new e,e}(),aO=function(){function e(){}return e.value=new e,e}(),rO=function(){function e(){}return e.value=new e,e}(),oO=function(){function e(){}return e.value=new e,e}(),iO=function(){function e(){}return e.value=new e,e}(),uO=function(){function e(){}return e.value=new e,e}(),lO=function(){function e(){}return e.value=new e,e}(),cO=function(){function e(){}return e.value=new e,e}(),sO=function(){function e(){}return e.value=new e,e}(),fO=function(){function e(){}return e.value=new e,e}(),s3=function(){function e(){}return e.value=new e,e}();var EYe=function(e){return e},CYe={show:function(e){if(e instanceof nO)return"OPTIONS";if(e instanceof R_)return"GET";if(e instanceof tO)return"HEAD";if(e instanceof Gm)return"POST";if(e instanceof c3)return"PUT";if(e instanceof qC)return"DELETE";if(e instanceof aO)return"TRACE";if(e instanceof rO)return"CONNECT";if(e instanceof oO)return"PROPFIND";if(e instanceof iO)return"PROPPATCH";if(e instanceof uO)return"MKCOL";if(e instanceof lO)return"COPY";if(e instanceof cO)return"MOVE";if(e instanceof sO)return"LOCK";if(e instanceof fO)return"UNLOCK";if(e instanceof s3)return"PATCH";throw new Error("Failed pattern match at Data.HTTP.Method (line 43, column 1 - line 59, column 23): "+[e.constructor.name])}};var Ple=tr(ne(CYe))(EYe);var Ole={eq:function(e){return function(n){return e instanceof nO&&n instanceof nO||e instanceof R_&&n instanceof R_||e instanceof tO&&n instanceof tO||e instanceof Gm&&n instanceof Gm||e instanceof c3&&n instanceof c3||e instanceof qC&&n instanceof qC||e instanceof aO&&n instanceof aO||e instanceof rO&&n instanceof rO||e instanceof oO&&n instanceof oO||e instanceof iO&&n instanceof iO||e instanceof uO&&n instanceof uO||e instanceof lO&&n instanceof lO||e instanceof cO&&n instanceof cO||e instanceof sO&&n instanceof sO||e instanceof fO&&n instanceof fO||e instanceof s3&&n instanceof s3}}};var kle=function(e){return Ug(function(n){return function(){var a=e(function(r){return n(Ke.create(r))()},function(r){return n(nn.create(r))()});return function(r){return Ug(function(o){return function(){return a(r,function(u){return o(Ke.create(u))()},function(u){return o(nn.create(u))()}),Wee}})}}})};var vO=q(ic(_a)),IYe=Ag(_a),dD=zf(_a),Ule=Ft(zj(Ij)(_a)),TYe=Cp($c(_a)),f3=j(B),FYe=nc(Ae)(qt),MYe=ve(sa),GYe=ct(Ge),AYe=j(me),xYe=ee(Yt),LYe=Wc(h0),jYe=q(Xt);var v3=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),p3=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}(),m3=function(){function e(){}return e.value=new e,e}(),d3=function(){function e(){}return e.value=new e,e}(),_3=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Hle=function(e){return function(n){var t=function(s){return s===""?vO(UZ):tr(function(f){return IYe(I2.create(f))})(vO)(l3(s))},a=function(){if(n.responseFormat instanceof ZP)return dD("ArrayBuffer");if(n.responseFormat instanceof KP)return dD("Blob");if(n.responseFormat instanceof eO)return function(s){return Ule(dD("Document")(s))(Ule(dD("XMLDocument")(s))(dD("HTMLDocument")(s)))};if(n.responseFormat instanceof o3)return TYe(function(s){return n.responseFormat.value0(t(s))})(dD("String"));if(n.responseFormat instanceof i3)return dD("String");if(n.responseFormat instanceof u3)return Ze(n.responseFormat.value0(vO(Re)));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 Dle)return new nn(s.value0(xa));if(s instanceof yle)return new nn(xa(s.value0));if(s instanceof ble)return new nn(xa(s.value0));if(s instanceof Rle)return new nn(xa(s.value0));if(s instanceof wle)return new nn(xa(s.value0));if(s instanceof YP)return a0("Body contains values that cannot be encoded as application/x-www-form-urlencoded")(f3(xa)(Nle(s.value0)));if(s instanceof t3)return new nn(xa(LM(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 _&&!FYe(yu(MYe)(XP)(s.value0))(f)?n1(f)(s.value0):f}},i=function(s){return o(f3(r3.create)(GYe(Sle)(s)))(o(f3(a3.create)(Mle(n.responseFormat)))(n.headers))},u=function(s){return{method:Ple(n.method),url:n.url,headers:AYe(function(f){return{field:XP(f),value:Ile(f)}})(i(n.content)),content:s,responseType:Fle(n.responseFormat),username:Bt(n.username),password:Bt(n.password),withCredentials:n.withCredentials,timeout:be(0)(f3(function(f){return f})(n.timeout))}},l=function(s){return xYe(LYe(kle(hle(e,"AffjaxTimeoutErrorMessageIdent","AffjaxRequestFailedMessageIdent",xle.create,u(s)))))(function(f){if(f instanceof nn){var v=ib(a(f.value0.body));if(v instanceof Ke)return new Ke(new p3(hK(v.value0),f.value0));if(v instanceof nn)return new nn({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 Ke)return new Ke(function(){var p=y1(f.value0),d=p==="AffjaxTimeoutErrorMessageIdent";if(d)return m3.value;var y=p==="AffjaxRequestFailedMessageIdent";return y?d3.value:new _3(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 E)return l(Bt(E.value));if(n.content instanceof _){var c=r(n.content.value0);if(c instanceof nn)return l(Bt(new _(c.value0)));if(c instanceof Ke)return jYe(new Ke(new v3(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 gb=function(){return{method:new Ke(R_.value),url:"/",headers:[],content:E.value,username:E.value,password:E.value,withCredentials:!1,responseFormat:Ale,timeout:E.value}}();var Ble={eq:function(e){return function(n){return e===n}}};var pO={newXHR:function(){return new XMLHttpRequest},fixupUrl:function(e){return e||"/"}};var Jle=Hle(pO);function sce(e){return Buffer.from(e).toString("base64")}function fce(e,n,t){let a;try{a=n(btoa(t))}catch(r){a=e(r)}return a}var hO=typeof btoa=="function";function vce(e){let n=32768,t=[];for(let a=0;a1&&arguments[1]!==void 0?arguments[1]:1;ope+=1;var t=ope;function a(r){if(r===0)ipe(t),e();else{var o=ape(function(){a(r-1)});dk.set(t,o)}}return a(n),t}hs.cancel=function(e){var n=dk.get(e);return ipe(n),rpe(n)};function ED(e,n){return e?e.contains(n):!1}function uI(e){return e instanceof HTMLElement?e:Qc.findDOMNode(e)}var fpe=ya(spe());Ht();function Dk(e,n){typeof e=="function"?e(n):kr(e)==="object"&&e&&"current"in e&&(e.current=n)}function PA(){for(var e=arguments.length,n=new Array(e),t=0;te.length)&&(n=e.length);for(var t=0,a=Array(n);t1&&arguments[1]!==void 0?arguments[1]:2;n();var o=hs(function(){r<=1?a({isCanceled:function(){return o!==e.current}}):t(a,r-1)});e.current=o}return Ar(function(){return function(){n()}},[]),[t,n]};Ht();var $nn=q0()?pE:Ar,qA=$nn;var Cpe=[sf,jm,P_,JA],Sk=!1,Ipe=!0;function WA(e){return e===P_||e===JA}var Tpe=function(e,n){var t=Nm(wk),a=or(t,2),r=a[0],o=a[1],i=Epe(),u=or(i,2),l=u[0],c=u[1];function s(){o(sf,!0)}return qA(function(){if(r!==wk&&r!==JA){var f=Cpe.indexOf(r),v=Cpe[f+1],p=n(r);p===Sk?o(v,!0):l(function(d){function y(){d.isCanceled()||o(v,!0)}p===!0?y():Promise.resolve(p).then(y)})}},[e,r]),Ar(function(){return function(){c()}},[]),[s,r]};Ht();Ht();var Fpe=function(e){var n=Pa(),t=Pa(e);t.current=e;var a=vE(function(i){t.current(i)},[]);function r(i){i&&(i.removeEventListener(bk,a),i.removeEventListener(yk,a))}function o(i){n.current&&n.current!==i&&r(n.current),i&&i!==n.current&&(i.addEventListener(bk,a),i.addEventListener(yk,a),n.current=i)}return Ar(function(){return function(){r(n.current)}},[]),[o,r]};function Ek(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,p=a.onEnterPrepare,d=a.onLeavePrepare,y=a.onAppearStart,h=a.onEnterStart,g=a.onLeaveStart,S=a.onAppearActive,M=a.onEnterActive,P=a.onLeaveActive,O=a.onAppearEnd,T=a.onEnterEnd,k=a.onLeaveEnd,K=a.onVisibleChanged,oe=Nm(),Te=or(oe,2),we=Te[0],xe=Te[1],Se=Nm(N_),Ce=or(Se,2),Je=Ce[0],ue=Ce[1],Tn=Nm(null),on=or(Tn,2),Et=on[0],mt=on[1],z=Pa(!1),x=Pa(null);function Y(){return t()}var fe=Pa(!1);function he(In){var at=Y();if(!(In&&!In.deadline&&In.target!==at)){var Dt=fe.current,Gn;Je===cI&&Dt?Gn=O==null?void 0:O(at,In):Je===sI&&Dt?Gn=T==null?void 0:T(at,In):Je===fI&&Dt&&(Gn=k==null?void 0:k(at,In)),Je!==N_&&Dt&&Gn!==!1&&(ue(N_,!0),mt(null,!0))}}var U=Fpe(he),pe=or(U,1),V=pe[0],je=mE(function(){var In,at,Dt;switch(Je){case cI:return In={},Za(In,sf,v),Za(In,jm,y),Za(In,P_,S),In;case sI:return at={},Za(at,sf,p),Za(at,jm,h),Za(at,P_,M),at;case fI:return Dt={},Za(Dt,sf,d),Za(Dt,jm,g),Za(Dt,P_,P),Dt;default:return{}}},[Je]),Me=Tpe(Je,function(In){if(In===sf){var at=je[sf];return at?at(Y()):Sk}if(Ne in je){var Dt;mt(((Dt=je[Ne])===null||Dt===void 0?void 0:Dt.call(je,Y(),null))||null)}return Ne===P_&&(V(Y()),s>0&&(clearTimeout(x.current),x.current=setTimeout(function(){he({deadline:!0})},s))),Ipe}),He=or(Me,2),en=He[0],Ne=He[1],Fn=WA(Ne);fe.current=Fn,qA(function(){xe(n);var In=z.current;if(z.current=!0,!!e){var at;!In&&n&&u&&(at=cI),In&&n&&o&&(at=sI),(In&&!n&&c||!In&&f&&!n&&c)&&(at=fI),at&&(ue(at),en())}},[n]),Ar(function(){(Je===cI&&!u||Je===sI&&!o||Je===fI&&!c)&&ue(N_)},[u,o,c]),Ar(function(){return function(){z.current=!1,clearTimeout(x.current)}},[]);var fn=Pa(!1);Ar(function(){we&&(fn.current=!0),we!==void 0&&Je===N_&&((fn.current||we)&&(K==null||K(we)),fn.current=!0)},[we,Je]);var tt=Et;return je[sf]&&Ne===jm&&(tt=Vt({transition:"none"},tt)),[Je,Ne,tt,we!=null?we:n]}Ht();var znn=function(e){vu(t,e);var n=iR(t);function t(){return su(this,t),n.apply(this,arguments)}return fu(t,[{key:"render",value:function(){return this.props.children}}]),t}(Og),Mpe=znn;function Vnn(e){var n=e;kr(e)==="object"&&(n=e.transitionSupport);function t(r){return!!(r.motionName&&n)}var a=Vc(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,p=r.leavedClassName,d=r.eventProps,y=t(r),h=Pa(),g=Pa();function S(){try{return h.current instanceof HTMLElement?h.current:uI(g.current)}catch{return null}}var M=Ek(y,u,S,r),P=or(M,4),O=P[0],T=P[1],k=P[2],K=P[3],oe=Pa(K);K&&(oe.current=!0);var Te=vE(function(Tn){h.current=Tn,Dk(o,Tn)},[o]),we,xe=Vt(Vt({},d),{},{visible:u});if(!f)we=null;else if(O===N_||!t(r))K?we=f(Vt({},xe),Te):!c&&oe.current?we=f(Vt(Vt({},xe),{},{className:p}),Te):s?we=f(Vt(Vt({},xe),{},{style:{display:"none"}}),Te):we=null;else{var Se,Ce;T===sf?Ce="prepare":WA(T)?Ce="active":T===jm&&(Ce="start"),we=f(Vt(Vt({},xe),{},{className:(0,Gpe.default)(Rk(v,O),(Se={},Za(Se,Rk(v,"".concat(O,"-").concat(Ce)),Ce),Za(Se,v,typeof v=="string"),Se)),style:k}),Te)}if(Zj(we)&&OA(we)){var Je=we,ue=Je.ref;ue||(we=fE(we,{ref:Te}))}return Wa(Mpe,{ref:g},we)});return a.displayName="CSSMotion",a}var $A=Vnn(BA);Ht();var zA="add",VA="keep",QA="remove",YA="removed";function Qnn(e){var n;return e&&kr(e)==="object"&&"key"in e?n=e:n={key:e},Vt(Vt({},n),{},{key:String(n.key)})}function XA(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(Qnn)}function Ape(){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=XA(e),i=XA(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!==QA}),t.forEach(function(s){s.key===c&&(s.status=VA)})}),t}var Ynn=["component","children","onVisibleChanged","onAllRemoved"],Xnn=["status"],Znn=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Knn(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:$A,t=function(a){vu(o,a);var r=iR(o);function o(){var i;su(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 wtn(e,n,t,a){var r=ca.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)),ca.mix(r,o)}function Pk(e){var n,t,a;if(!ca.isWindow(e)&&e.nodeType!==9)n=ca.offset(e),t=ca.outerWidth(e),a=ca.outerHeight(e);else{var r=ca.getWindow(e);n={left:ca.getWindowScrollLeft(r),top:ca.getWindowScrollTop(r)},t=ca.viewportWidth(r),a=ca.viewportHeight(r)}return n.width=t,n.height=a,n}function Xpe(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 ax(e,n,t,a,r){var o=Xpe(n,t[1]),i=Xpe(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 Zpe(e,n,t){return e.leftt.right}function Kpe(e,n,t){return e.topt.bottom}function Stn(e,n,t){return e.left>t.right||e.left+n.widtht.bottom||e.top+n.height=t.right||a.top>=t.bottom}function ix(e,n,t){var a=t.target||n,r=Pk(a),o=!Ctn(a,t.overflow&&t.overflow.alwaysByViewport);return tme(e,r,t,o)}ix.__getOffsetParent=jk;ix.__getVisibleRectForElement=Nk;function ame(e,n,t){var a,r,o=ca.getDocument(e),i=o.defaultView||o.parentWindow,u=ca.getWindowScrollLeft(i),l=ca.getWindowScrollTop(i),c=ca.viewportWidth(i),s=ca.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,p=[t.points[0],"cc"];return tme(e,f,Npe(Npe({},t),{},{points:p}),v)}var Hhe=ya(Mhe());var Ghe=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(){!aU||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Kun?(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(){!aU||!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=Zun.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}(),Ahe=function(e,n){for(var t=0,a=Object.keys(n);t0},e}(),jhe=typeof WeakMap!="undefined"?new WeakMap:new Ghe,Nhe=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=eln.getInstance(),a=new sln(n,t,this);jhe.set(this,a)}return e}();["observe","unobserve","disconnect"].forEach(function(e){Nhe.prototype[e]=function(){var n;return(n=jhe.get(this))[e].apply(n,arguments)}});var fln=function(){return typeof vx.ResizeObserver!="undefined"?vx.ResizeObserver:Nhe}(),Phe=fln;function Ohe(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 khe(e,n){e!==document.activeElement&&ED(n,e)&&typeof e.focus=="function"&&e.focus()}function rU(e,n){var t=null,a=null;function r(i){var u=or(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),p=Math.floor(f);(t!==v||a!==p)&&Promise.resolve().then(function(){n({width:v,height:p})}),t=v,a=p}}var o=new Phe(r);return e&&o.observe(e),function(){o.disconnect()}}Ht();var Uhe=function(e,n){var t=gt.useRef(!1),a=gt.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 Bhe(e){return typeof e!="function"?null:e()}function Jhe(e){return kr(e)!=="object"||!e?null:e}var vln=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=gt.useRef({}),v=gt.useRef(),p=gt.Children.only(a),d=gt.useRef({});d.current.disabled=r,d.current.target=o,d.current.align=i,d.current.onAlign=u;var y=Uhe(function(){var T=d.current,k=T.disabled,K=T.target,oe=T.align,Te=T.onAlign;if(!k&&K){var we=v.current,xe,Se=Bhe(K),Ce=Jhe(K);f.current.element=Se,f.current.point=Ce,f.current.align=oe;var Je=document,ue=Je.activeElement;return Se&&Lpe(Se)?xe=ix(we,Se,oe):Ce&&(xe=ame(we,Ce,oe)),khe(ue,we),Te&&xe&&Te(we,xe),!0}return!1},s),h=or(y,2),g=h[0],S=h[1],M=gt.useRef({cancel:function(){}}),P=gt.useRef({cancel:function(){}});gt.useEffect(function(){var T=Bhe(o),k=Jhe(o);v.current!==P.current.element&&(P.current.cancel(),P.current.element=v.current,P.current.cancel=rU(v.current,g)),(f.current.element!==T||!Ohe(f.current.point,k)||!(0,Hhe.default)(f.current.align,i))&&(g(),M.current.element!==T&&(M.current.cancel(),M.current.element=T,M.current.cancel=rU(T,g)))}),gt.useEffect(function(){r?S():g()},[r]);var O=gt.useRef(null);return gt.useEffect(function(){l?O.current||(O.current=L_(window,"resize",g)):O.current&&(O.current.remove(),O.current=null)},[l]),gt.useEffect(function(){return function(){M.current.cancel(),P.current.cancel(),O.current&&O.current.remove(),S()}},[]),gt.useImperativeHandle(t,function(){return{forceAlign:function(){return g(!0)}}}),gt.isValidElement(p)&&(p=gt.cloneElement(p,{ref:PA(p.ref,v)})),p},qhe=gt.forwardRef(vln);qhe.displayName="Align";var Whe=qhe;var $he=Whe;Ht();var pln=q0()?pE:Ar,oU=pln;var ege=ya(j_());function dx(e,n){this.v=e,this.k=n}function mu(e,n,t,a){var r=Object.defineProperty;try{r({},"",{})}catch{r=0}mu=function(i,u,l,c){function s(f,v){mu(i,f,function(p){return this._invoke(f,v,p)})}u?r?r(i,u,{value:l,enumerable:!c,configurable:!c,writable:!c}):i[u]=l:(s("next",0),s("throw",1),s("return",2))},mu(e,n,t,a)}function CI(){var e,n,t=typeof Symbol=="function"?Symbol:{},a=t.iterator||"@@iterator",r=t.toStringTag||"@@toStringTag";function o(p,d,y,h){var g=d&&d.prototype instanceof u?d:u,S=Object.create(g.prototype);return mu(S,"_invoke",function(M,P,O){var T,k,K,oe=0,Te=O||[],we=!1,xe={p:0,n:0,v:e,a:Se,f:Se.bind(e,4),d:function(Je,ue){return T=Je,k=0,K=e,xe.n=ue,i}};function Se(Ce,Je){for(k=Ce,K=Je,n=0;!we&&oe&&!ue&&n3?(ue=Et===Je)&&(K=Tn[(k=Tn[4])?5:(k=3,3)],Tn[4]=Tn[5]=e):Tn[0]<=on&&((ue=Ce<2&&onJe||Je>Et)&&(Tn[4]=Ce,Tn[5]=Je,xe.n=Et,k=0))}if(ue||Ce>1)return i;throw we=!0,Je}return function(Ce,Je,ue){if(oe>1)throw TypeError("Generator is already running");for(we&&Je===1&&Se(Je,ue),k=Je,K=ue;(n=k<2?e:K)||!we;){T||(k?k<3?(k>1&&(xe.n=-1),Se(k,K)):xe.n=K:xe.v=K);try{if(oe=2,T){if(k||(Ce="next"),n=T[Ce]){if(!(n=n.call(T,K)))throw TypeError("iterator result is not an object");if(!n.done)return n;K=n.value,k<2&&(k=0)}else k===1&&(n=T.return)&&n.call(T),k<2&&(K=TypeError("The iterator does not provide a '"+Ce+"' method"),k=1);T=e}else if((n=(we=xe.n<0)?K:M.call(P,xe))!==i)break}catch(Tn){T=e,k=1,K=Tn}finally{oe=1}}return{value:n,done:we}}}(p,y,h),!0),S}var i={};function u(){}function l(){}function c(){}n=Object.getPrototypeOf;var s=[][a]?n(n([][a]())):(mu(n={},a,function(){return this}),n),f=c.prototype=u.prototype=Object.create(s);function v(p){return Object.setPrototypeOf?Object.setPrototypeOf(p,c):(p.__proto__=c,mu(p,r,"GeneratorFunction")),p.prototype=Object.create(f),p}return l.prototype=c,mu(f,"constructor",c),mu(c,"constructor",l),l.displayName="GeneratorFunction",mu(c,r,"GeneratorFunction"),mu(f),mu(f,r,"Generator"),mu(f,a,function(){return this}),mu(f,"toString",function(){return"[object Generator]"}),(CI=function(){return{w:o,m:v}})()}function hR(e,n){function t(r,o,i,u){try{var l=e[r](o),c=l.value;return c instanceof dx?n.resolve(c.v).then(function(s){t("next",s,i,u)},function(s){t("throw",s,i,u)}):n.resolve(c).then(function(s){l.value=s,i(l)},function(s){return t("throw",s,i,u)})}catch(s){u(s)}}var a;this.next||(mu(hR.prototype),mu(hR.prototype,typeof Symbol=="function"&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),mu(this,"_invoke",function(r,o,i){function u(){return new n(function(l,c){t(r,i,l,c)})}return a=a?a.then(u,u):u()},!0)}function _x(e,n,t,a,r){return new hR(CI().w(e,n,t,a),r||Promise)}function zhe(e,n,t,a,r){var o=_x(e,n,t,a,r);return o.next().then(function(i){return i.done?i.value:o.next()})}function Vhe(e){var n=Object(e),t=[];for(var a in n)t.unshift(a);return function r(){for(;t.length;)if((a=t.pop())in n)return r.value=a,r.done=!1,r;return r.done=!0,r}}function iU(e){if(e!=null){var n=e[typeof Symbol=="function"&&Symbol.iterator||"@@iterator"],t=0;if(n)return n.call(e);if(typeof e.next=="function")return e;if(!isNaN(e.length))return{next:function(){return e&&t>=e.length&&(e=void 0),{value:e&&e[t++],done:!e}}}}throw new TypeError(kr(e)+" is not iterable")}function II(){"use strict";var e=CI(),n=e.m(II),t=(Object.getPrototypeOf?Object.getPrototypeOf(n):n.__proto__).constructor;function a(i){var u=typeof i=="function"&&i.constructor;return!!u&&(u===t||(u.displayName||u.name)==="GeneratorFunction")}var r={throw:1,return:2,break:3,continue:3};function o(i){var u,l;return function(c){u||(u={stop:function(){return l(c.a,2)},catch:function(){return c.v},abrupt:function(f,v){return l(c.a,r[f],v)},delegateYield:function(f,v,p){return u.resultName=v,l(c.d,iU(f),p)},finish:function(f){return l(c.f,f)}},l=function(f,v,p){c.p=u.prev,c.n=u.next;try{return f(v,p)}finally{u.next=c.n}}),u.resultName&&(u[u.resultName]=c.v,u.resultName=void 0),u.sent=c.v,u.next=c.n;try{return i.call(this,u)}finally{c.p=u.prev,c.n=u.next}}}return(II=function(){return{wrap:function(l,c,s,f){return e.w(o(l),c,s,f&&f.reverse())},isGeneratorFunction:a,mark:e.m,awrap:function(l,c){return new dx(l,c)},AsyncIterator:hR,async:function(l,c,s,f,v){return(a(c)?_x:zhe)(o(l),c,s,f,v)},keys:Vhe,values:iU}})()}function Qhe(e,n,t,a,r,o,i){try{var u=e[o](i),l=u.value}catch(c){return void t(c)}u.done?n(l):Promise.resolve(l).then(a,r)}function Yhe(e){return function(){var n=this,t=arguments;return new Promise(function(a,r){var o=e.apply(n,t);function i(l){Qhe(o,a,r,i,u,"next",l)}function u(l){Qhe(o,a,r,i,u,"throw",l)}i(void 0)})}}Ht();var Xhe=["measure","alignPre","align",null,"motion"],Zhe=function(e,n){var t=Nm(null),a=or(t,2),r=a[0],o=a[1],i=Pa();function u(s){o(s,!0)}function l(){hs.cancel(i.current)}function c(s){l(),i.current=hs(function(){u(function(f){switch(r){case"align":return"motion";case"motion":return"stable";default:}return f}),s==null||s()})}return Ar(function(){u("measure")},[e]),Ar(function(){switch(r){case"measure":n();break;default:}r&&(i.current=hs(Yhe(II().mark(function s(){var f,v;return II().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:f=Xhe.indexOf(r),v=Xhe[f+1],v&&f!==-1&&u(v);case 3:case"end":return d.stop()}},s)}))))},[r]),Ar(function(){return function(){l()}},[]),[r,c]};Ht();var Khe=function(e){var n=Vf({width:0,height:0}),t=or(n,2),a=t[0],r=t[1];function o(u){r({width:u.offsetWidth,height:u.offsetHeight})}var i=mE(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 nge=Vc(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,p=e.getRootDomNode,d=e.getClassNameFromAlign,y=e.onAlign,h=e.onMouseEnter,g=e.onMouseLeave,S=e.onMouseDown,M=e.onTouchStart,P=e.onClick,O=Pa(),T=Pa(),k=Vf(),K=or(k,2),oe=K[0],Te=K[1],we=Khe(l),xe=or(we,2),Se=xe[0],Ce=xe[1];function Je(){l&&Ce(p())}var ue=Zhe(t,Je),Tn=or(ue,2),on=Tn[0],Et=Tn[1],mt=Vf(0),z=or(mt,2),x=z[0],Y=z[1],fe=Pa();oU(function(){on==="alignPre"&&Y(0)},[on]);function he(){return v||p}function U(){var Ne;(Ne=O.current)===null||Ne===void 0||Ne.forceAlign()}function pe(Ne,Fn){var fn=d(Fn);oe!==fn&&Te(fn),Y(function(tt){return tt+1}),on==="align"&&(y==null||y(Ne,Fn))}oU(function(){on==="align"&&(x<2?U():Et(function(){var Ne;(Ne=fe.current)===null||Ne===void 0||Ne.call(fe)}))},[x]);var V=Vt({},ZA(e));["onAppearEnd","onEnterEnd","onLeaveEnd"].forEach(function(Ne){var Fn=V[Ne];V[Ne]=function(fn,tt){return Et(),Fn==null?void 0:Fn(fn,tt)}});function je(){return new Promise(function(Ne){fe.current=Ne})}Ar(function(){!V.motionName&&on==="motion"&&Et()},[V.motionName,on]),Wp(n,function(){return{forceAlign:U,getElement:function(){return T.current}}});var Me=Vt(Vt({},Se),{},{zIndex:u,opacity:on==="motion"||on==="stable"||!t?void 0:0,pointerEvents:!t&&on!=="stable"?"none":void 0},o),He=!0;(f==null?void 0:f.points)&&(on==="align"||on==="stable")&&(He=!1);var en=i;return Pg.count(i)>1&&(en=Wa("div",{className:"".concat(a,"-content")},i)),Wa(uR,ht({visible:t,ref:T,leavedClassName:"".concat(a,"-hidden")},V,{onAppearPrepare:je,onEnterPrepare:je,removeOnLeave:c,forceRender:s}),function(Ne,Fn){var fn=Ne.className,tt=Ne.style,In=(0,ege.default)(a,r,oe,fn);return Wa($he,{target:he(),key:"popup",ref:O,monitorWindowResize:!0,disabled:He,align:f,onAlign:pe},Wa("div",{ref:Fn,className:In,onMouseEnter:h,onMouseLeave:g,onMouseDownCapture:S,onTouchStartCapture:M,onClick:P,style:Vt(Vt({},tt),Me)},en))})});nge.displayName="PopupInner";var tge=nge;Ht();var age=ya(j_()),rge=Vc(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,p=Pa();Wp(n,function(){return{forceAlign:function(){},getElement:function(){return p.current}}});var d=Vt({zIndex:r},l),y=o;return Pg.count(o)>1&&(y=Wa("div",{className:"".concat(t,"-content")},o)),f&&(y=f(y)),Wa(uR,ht({visible:a,ref:p,removeOnLeave:!0},s),function(h,g){var S=h.className,M=h.style,P=(0,age.default)(t,u,S);return Wa("div",{ref:g,className:P,onClick:v,style:Vt(Vt({},M),d)},y)})});rge.displayName="MobilePopupInner";var oge=rge;var mln=["visible","mobile"],ige=Vc(function(e,n){var t=e.visible,a=e.mobile,r=Lu(e,mln),o=Vf(t),i=or(o,2),u=i[0],l=i[1],c=Vf(!1),s=or(c,2),f=s[0],v=s[1],p=Vt(Vt({},r),{},{visible:u});Ar(function(){l(t),t&&a&&v(gpe())},[t,a]);var d=f?Wa(oge,ht({},p,{mobile:a,ref:n})):Wa(tge,ht({},p,{ref:n}));return Wa("div",null,Wa(Ck,p),d)});ige.displayName="Popup";var uge=ige;Ht();var dln=Yj(null),uU=dln;function lU(){}function _ln(){return""}function hln(e){return e?e.ownerDocument:window.document}var gln=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];function Dln(e){var n=function(t){vu(r,t);var a=iR(r);function r(o){var i;su(this,r),i=a.call(this,o),i.popupRef=M2(),i.triggerRef=M2(),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&&ED((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();(!ED(s,c)||i.isContextMenuOnly())&&!ED(f,c)&&!i.hasPopupMouseDown&&i.close()}},i.getRootDomNode=function(){var l=i.props.getTriggerDOMNode;if(l)return l(i.triggerRef.current);try{var c=uI(i.triggerRef.current);if(c)return c}catch{}return Qc.findDOMNode(SD(i))},i.getPopupClassNameFromAlign=function(l){var c=[],s=i.props,f=s.popupPlacement,v=s.builtinPlacements,p=s.prefixCls,d=s.alignPoint,y=s.getPopupClassNameFromAlign;return f&&v&&c.push(mpe(v,p,l,d)),y&&c.push(y(l)),c.join(" ")},i.getComponent=function(){var l=i.props,c=l.prefixCls,s=l.destroyPopupOnHide,f=l.popupClassName,v=l.onPopupAlign,p=l.popupMotion,d=l.popupAnimation,y=l.popupTransitionName,h=l.popupStyle,g=l.mask,S=l.maskAnimation,M=l.maskTransitionName,P=l.maskMotion,O=l.zIndex,T=l.popup,k=l.stretch,K=l.alignPoint,oe=l.mobile,Te=l.forceRender,we=l.onPopupClick,xe=i.state,Se=xe.popupVisible,Ce=xe.point,Je=i.getPopupAlign(),ue={};return i.isMouseEnterToShow()&&(ue.onMouseEnter=i.onPopupMouseEnter),i.isMouseLeaveToHide()&&(ue.onMouseLeave=i.onPopupMouseLeave),ue.onMouseDown=i.onPopupMouseDown,ue.onTouchStart=i.onPopupMouseDown,Wa(uge,ht({prefixCls:c,destroyPopupOnHide:s,visible:Se,point:K&&Ce,className:f,align:Je,onAlign:v,animation:d,getClassNameFromAlign:i.getPopupClassNameFromAlign},ue,{stretch:k,getRootDomNode:i.getRootDomNode,style:h,mask:g,zIndex:O,transitionName:y,maskAnimation:S,maskTransitionName:M,maskMotion:P,ref:i.popupRef,motion:p,mobile:oe,forceRender:Te,onClick:we}),typeof T=="function"?T():T)},i.attachParent=function(l){hs.cancel(i.attachId);var c=i.props,s=c.getPopupContainer,f=c.getDocument,v=i.getRootDomNode(),p;s?(v||s.length===0)&&(p=s(v)):p=f(i.getRootDomNode()).body,p?p.appendChild(l):i.attachId=hs(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},gln.forEach(function(l){i["fire".concat(l)]=function(c){i.fireEvents(l,c)}}),i}return fu(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=L_(l,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(l=l||i.getDocument(this.getRootDomNode()),this.touchOutsideHandler=L_(l,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(l=l||i.getDocument(this.getRootDomNode()),this.contextMenuOutsideHandler1=L_(l,"scroll",this.onContextMenuClose)),!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=L_(window,"blur",this.onContextMenuClose));return}this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),hs.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?ppe(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,p=Pg.only(l),d={key:"trigger"};this.isContextMenuToShow()?d.onContextMenu=this.onContextMenu:d.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(d.onClick=this.onClick,d.onMouseDown=this.onMouseDown,d.onTouchStart=this.onTouchStart):(d.onClick=this.createTwoChains("onClick"),d.onMouseDown=this.createTwoChains("onMouseDown"),d.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(d.onMouseEnter=this.onMouseEnter,s&&(d.onMouseMove=this.onMouseMove)):d.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?d.onMouseLeave=this.onMouseLeave:d.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(d.onFocus=this.onFocus,d.onBlur=this.onBlur):(d.onFocus=this.createTwoChains("onFocus"),d.onBlur=this.createTwoChains("onBlur"));var y=(0,lge.default)(p&&p.props&&p.props.className,f);y&&(d.className=y);var h=Vt({},d);OA(p)&&(h.ref=PA(this.triggerRef,p.ref));var g=fE(p,h),S;return(i||this.popupRef.current||c)&&(S=Wa(e,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!i&&v&&(S=null),Wa(uU.Provider,{value:this.triggerContextValue},g,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}(Og);return n.contextType=uU,n.defaultProps={prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:_ln,getDocument:hln,onPopupVisibleChange:lU,afterPopupVisibleChange:lU,onPopupAlign:lU,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 cge=Dln(vpe);var ff={adjustX:1,adjustY:1},vf=[0,0],sge={left:{points:["cr","cl"],overflow:ff,offset:[-4,0],targetOffset:vf},right:{points:["cl","cr"],overflow:ff,offset:[4,0],targetOffset:vf},top:{points:["bc","tc"],overflow:ff,offset:[0,-4],targetOffset:vf},bottom:{points:["tc","bc"],overflow:ff,offset:[0,4],targetOffset:vf},topLeft:{points:["bl","tl"],overflow:ff,offset:[0,-4],targetOffset:vf},leftTop:{points:["tr","tl"],overflow:ff,offset:[-4,0],targetOffset:vf},topRight:{points:["br","tr"],overflow:ff,offset:[0,-4],targetOffset:vf},rightTop:{points:["tl","tr"],overflow:ff,offset:[4,0],targetOffset:vf},bottomRight:{points:["tr","br"],overflow:ff,offset:[0,4],targetOffset:vf},rightBottom:{points:["bl","br"],overflow:ff,offset:[4,0],targetOffset:vf},bottomLeft:{points:["tl","bl"],overflow:ff,offset:[0,4],targetOffset:vf},leftBottom:{points:["br","bl"],overflow:ff,offset:[-4,0],targetOffset:vf}};Ht();var fge=ya(j_());function hx(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 Wa("div",{className:(0,fge.default)("".concat(r,"-content"),u),style:l},n!==!1&&Wa("div",{className:"".concat(r,"-arrow"),key:"arrow"},t),Wa("div",{className:"".concat(r,"-inner"),id:o,role:"tooltip",style:i},typeof a=="function"?a():a))}var yln=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,p=n.children,d=n.onVisibleChange,y=n.afterVisibleChange,h=n.transitionName,g=n.animation,S=n.motion,M=n.placement,P=M===void 0?"right":M,O=n.align,T=O===void 0?{}:O,k=n.destroyTooltipOnHide,K=k===void 0?!1:k,oe=n.defaultVisible,Te=n.getTooltipContainer,we=n.overlayInnerStyle,xe=n.arrowContent,Se=n.overlay,Ce=n.id,Je=n.showArrow,ue=Lu(n,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"]),Tn=Pa(null);Wp(t,function(){return Tn.current});var on=Vt({},ue);"visible"in n&&(on.popupVisible=n.visible);var Et=function(){return Wa(hx,{showArrow:Je,arrowContent:xe,key:"content",prefixCls:v,id:Ce,overlayInnerStyle:we},Se)},mt=!1,z=!1;if(typeof K=="boolean")mt=K;else if(K&&kr(K)==="object"){var x=K.keepParent;mt=x===!0,z=x===!1}return Wa(cge,ht({popupClassName:a,prefixCls:v,popup:Et,action:o,builtinPlacements:sge,popupPlacement:P,ref:Tn,popupAlign:T,getPopupContainer:Te,onPopupVisibleChange:d,afterPopupVisibleChange:y,popupTransitionName:h,popupAnimation:g,popupMotion:S,defaultPopupVisible:oe,destroyPopupOnHide:mt,autoDestroy:z,mouseLeaveDelay:c,popupStyle:s,mouseEnterDelay:u},on),p)},vge=Vc(yln);var pge=vge;var dge=e=>gt.createElement(pge,Object.assign({},e,{overlayClassName:`cv-tooltip ${e.overlayClassName}`,getTooltipContainer:e.tooltipContainerSelector?()=>document.querySelector(e.tooltipContainerSelector)||document.body:void 0}));if(typeof window!="undefined"&&typeof global=="undefined")try{Promise.resolve().then(()=>ya(mge())).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)}function _ge(e){return function(n){return function(){return n.getItem(e)}}}function gR(e){return function(n){return function(t){return function(){t.setItem(e,n)}}}}var Rln=j(st);var gx=function(e){var n=Rln(te),t=_ge(e);return function(a){return n(t(a))}};var wln=qo(),Sln=Ws(An)(),Eln=Hn(Xn),DR=ct(rr),Cln=function(e){return function(n){return function(t){return wln(ra(E.value))(function(a){return Sln(I3(Eln(function(){var o=DR(gx(n))(DR(e)(To))();if(o instanceof _)return a.value1(new _(o.value0))();if(o instanceof E)return a.value1(new _(t))(),DR(gR(n)(t))(DR(e)(To))();throw new Error("Failed pattern match at Utils.UseStorage (line 37, column 5 - line 42, column 56): "+[o.constructor.name])})))(function(){return Jo(new Pe(a.value0,function(r){return function(){return a.value1(new _(r))(),DR(gR(n)(r))(DR(e)(To))()}}))})})}}};var Dx=Cln(K1);var Iln=Gl();var hge="hover",O_="click";var pf="top",Ei=function(e){var n=Iln(e);return function(){return function(){return n(dge)}}};var gge="right";var Dge="bottomRight";var TI="bottom";var yge=e=>()=>e.preventDefault&&e.preventDefault(),bge=e=>()=>e.stopPropagation&&e.stopPropagation();var cU=function(){return bge},Cv=function(){return yge};var Tln=Qn();var sU=Z(Ge),fU=St(Tln(C({reflectSymbol:function(){return"value"}})(ie)(de))),vU=q(Jn);var mf=function(e){return be("")(sU(fU(xa(e.target)))(function(n){return vU(n.value)}))},Rge=function(e){return be("")(sU(fU(xa(e.target)))(function(n){return vU(n.value)}))},df=function(e){return be("")(sU(fU(xa(e.target)))(function(n){return vU(n.value)}))};var wge="/network/connections";var Sge=15;var Fln=Ei(ae)()(),Mln=rn(W),Gln=function(){return"You\u2019ve hit the "+(ne(Ye)(Sge)+`-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. `)}(),Aln=Ga(ae)("text-decoration-underline")(la(L)()()("text-dark")(ke)({href:wge})("Manage my connections")),FI=function(e){return function(n){return Fln({placement:e,trigger:O_,overlay:Mln("")([X(Gln),Aln]),overlayStyle:mn({width:"15rem"}),overlayClassName:"t--connection-limit-tooltip"})(n)}};var xln=Li(ft),Ege=ne(Ye),Lln=aa(Ae)(ft),jln=rn(L);var Cge=25,pU=function(e){return Br(e)>=Cge},Ige=function(e){var n=Br(e),t=n>0,a=xln(" ")([function(){return t?Ege(n)+" characters":""}(),Lln(["(",Ege(Cge),function(){return t?"":" character"}()," minimum)"])]),r=function(){var o=pU(e);return o?"text-success":""}();return jln(r)(a)};var Nln=function(){function e(){}return e.value=new e,e}(),mU=function(){function e(){}return e.value=new e,e}(),Pln=function(){function e(){}return e.value=new e,e}(),Oln=function(){function e(){}return e.value=new e,e}(),kln=function(){function e(){}return e.value=new e,e}(),yx=function(){function e(){}return e.value=new e,e}(),MI=function(){function e(){}return e.value=new e,e}(),dU=function(){function e(){}return e.value=new e,e}(),_U=function(){function e(){}return e.value=new e,e}();var Tge=function(e){if(e instanceof Nln)return"sheet-view";if(e instanceof mU)return"school-details";if(e instanceof Pln)return"network-gallery";if(e instanceof Oln)return"livestream-details";if(e instanceof kln)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 Hln=Number.MAX_SAFE_INTEGER;var gU=function(e){if(e.first==="")return e.last;if(e.last==="")return e.first;if(Fe)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 tcn=ve(rse);var Mge=function(e){return tcn(e.publishScope)(U0.value)};var ucn=$r($o),xge=go(ucn),Lge=Z(Ut);var jge=xge("profile_visibility_path")(function(e){return function(n){return Lge(e({visibility:{publish_scope:R3(n)}}))(el)}});var Nge=xge("profile_name_path")(function(e){return function(n){return Lge(e({name:n}))(el)}});var lcn=Mm(),ccn=Mt(L),scn=Zn(L),DU=Vn(L),yU=Pr(L),k_=J(W),yR=jn(L)()(),bU=pa(Sr),fcn=Un(An),RU=xn(pt),FD=J(ae),Pge=ms()(),vcn=ss(L),pcn=aa(Ae)(ft),Oge=ui()(),wU=xn(_o),mcn=dc()(),kge=J(L),dcn=fv(W),SU=Hl(L),_cn=rn(L),hcn=Ei(ae)()(),gcn=Vn(W),Dcn=la(L)()(),ycn=oa(L),MD=q(_t),Uge=fcn(Wt),bcn=JC(),GI=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Hge=function(){function e(){}return e.value=new e,e}(),Bge=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Jge=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),qge=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Wge=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),AI=function(){function e(){}return e.value=new e,e}(),EU=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),$ge=function(e){return function(n){var t=function(c){return lcn({body:c,title:ccn("my-0")(function(){return e.stage instanceof yx?"Join the CollegeVine network":"Connect with "+e.schoolName}()),headerClass:"pb-0",onDismiss:n(new zt(AI.value)),size:jC.value})},a=Tge(e.context),r=le([scn("mt-3")("Review your message before you send it"),DU("mt-2")(` Because this is your first message to the counselor, we want to make sure you\u2019re ready to send. `),yU("mt-4")("Your message"),eb(e.message),k_("d-flex mt-4 justify-content-start")([yR("btn btn-primary btn-lg t--sem-user-connection-modal-confirm-message-"+a)(ke)({onClick:bU(function(){return n(new zt(new EU({introMessage:e.message})))(),n(new et(new GI(_U.value)))()})})("Send"),yR("btn btn-lg btn-outline-primary ml-3 text-nowrap")(ke)({onClick:RU(n)(new et(new GI(MI.value)))})("No, I need to edit something")])]),o=le([k_("text-center")([FD("")(Pge("mt-4")({src:"/img/checkmate-icon.png",height:"80",width:"80"})),vcn("mt-4")("Connection request sent!"),DU("mx-md-4")(pcn(["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."])),yR("btn btn-lg btn-outline-secondary mt-4")(ke)({onClick:RU(n)(new zt(AI.value))})("Close")])]),i=yR("btn btn-outline-secondary ml-3 t--sem-user-connection-modal-close-"+a)(ke)({onClick:RU(n)(new zt(AI.value))})("Cancel"),u=function(){var c=pU(e.message)&&function(){if(e.profile.fullName instanceof _)return!0;if(e.profile.fullName instanceof E)return!bi(e.firstName)&&!bi(e.lastName);throw new Error("Failed pattern match at Network.SemVine.InviteSchoolModal (line 240, column 15 - line 244, column 88): "+[e.profile.fullName.constructor.name])}(),s=function(){if(e.vineBelowConnectionLimit instanceof _&&e.vineBelowConnectionLimit.value0)return!1;if(e.vineBelowConnectionLimit instanceof _&&!e.vineBelowConnectionLimit.value0)return!0;if(e.vineBelowConnectionLimit instanceof E)return!1;throw new Error("Failed pattern match at Network.SemVine.InviteSchoolModal (line 233, column 13 - line 236, column 31): "+[e.vineBelowConnectionLimit.constructor.name])}();return le([sn(_r(e.profile.fullName))(le([yU("mt-md-4")("Your preferred name"),k_("form-row mx-1")([Oge("col form-control mr-2 t--sem-user-connection-modal-first-name-"+a)({type:"text",value:e.firstName,onChange:wU(n)(function(f){return et.create(qge.create(df(f)))}),placeholder:"First name"}),Oge("col form-control ml-2 t--sem-user-connection-modal-last-name-"+a)({type:"text",value:e.lastName,onChange:wU(n)(function(f){return et.create(Wge.create(df(f)))}),placeholder:"Last name"})])])),yU("mt-md-4")("Your message"),mcn("form-control t--sem-user-connection-modal-text-area-"+a)({rows:7,value:e.message,onChange:wU(n)(function(f){return et.create(Jge.create(mf(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! `}),FD("mt-2")(Ige(e.message)),kge("mt-3 mt-md-4 small")("The ideal connection message should include:"),dcn("small")([SU("")("Your name, where you\u2019re from, and a bit about who you are"),SU("")("What you\u2019re interested in studying along with one or two insightful questions"),SU("")("That you\u2019re eager to connect with an admissions counselor and would love to stay in touch")]),k_("d-flex mt-4 justify-content-start")([FI(pf)(FD("")(yR("btn btn-primary btn-lg t--sem-user-connection-modal-connect-"+a)(ke)({onClick:bU(function(){return function(){if(e.profile.fullName instanceof _)return Re;if(e.profile.fullName instanceof E)return n(new et(new Bge({first:e.firstName,last:e.lastName})))();throw new Error("Failed pattern match at Network.SemVine.InviteSchoolModal (line 216, column 23 - line 220, column 113): "+[e.profile.fullName.constructor.name])}(),n(new et(new GI(dU.value)))()}),disabled:!c||s,style:mn({pointerEvents:function(){return s?"none":"auto"}()})})("Connect"))),i])])}(),l=k_("mx-md-7")([FD("border border-success rounded p-4 my-4")(k_("row align-items-center")([FD("col-12 col-md-auto text-center text-md-left")(Pge("img-fluid")({src:"/img/network/publish-profile-icon.png",height:"67",width:"143"})),FD("col text-center text-md-left")(_cn("fw-bold font-weight-bold text-gray-800")("Network with verified admissions counselors on CollegeVine"))])),k_("d-flex flex-nowrap align-items-center")([kge("mr-4")("Publish your profile to join the CollegeVine Network"),hcn({placement:gge,overlay:gcn("")([X(` 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 `),Dcn("")(ke)({href:Lm})("your profile"),X(".")]),overlayStyle:mn({width:"15rem"})})(ycn("cursor-default text-secondary fe fe-info large")(""))]),DU("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."),k_("d-flex mt-4 justify-content-start justify-content-md-center")([yR("btn btn-primary t--sem-user-connection-modal-publish-profile-"+a)(ke)({onClick:bU(function(){return n(new et(Hge.value))(),n(new et(new GI(MI.value)))()})})("Publish profile"),i])]);return FD("t--network-sem-user-modal")(function(){if(e.stage instanceof yx)return t(l);if(e.stage instanceof MI)return t(u);if(e.stage instanceof dU)return t(r);if(e.stage instanceof _U)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])}())}},zge=function(e){return function(n){if(n instanceof et){if(n.value0 instanceof GI)return MD({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 Hge)return Uge(cr(jge(U0.value)))(function(){return MD({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:U0.value}})});if(n.value0 instanceof Bge)return Uge(cr(Nge(n.value0.value0)))(function(){return MD({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 _(gU(n.value0.value0))}})});if(n.value0 instanceof Jge)return MD({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 qge)return MD({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 Wge)return MD({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 zt)return MD(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])}},Rcn=function(e){var n=Mge(e);return n?MI.value:yx.value},Vge=function(e){return{firstName:"",lastName:"",message:"",profile:bcn(e.profile),stage:Rcn(e.profile),schoolName:e.schoolName,context:e.context,vineBelowConnectionLimit:e.vineBelowConnectionLimit}};var CU="support@collegevine.com";var bx="https://www.collegevine.com/admissions-calculator";var IU=function(){function e(){}return e.value=new e,e}(),TU=function(){function e(){}return e.value=new e,e}();var FU=function(){function e(){}return e.value=new e,e}(),Qge=function(){function e(){}return e.value=new e,e}(),Yge=function(){function e(){}return e.value=new e,e}(),Xge=function(){function e(){}return e.value=new e,e}();var Zge=Rn(bn),Kge=gn(hn),eDe=En(Sn),vr=function(){function e(){}return e.value=new e,e}(),$a=function(){function e(){}return e.value=new e,e}(),wcn={to:function(e){if(e instanceof H)return vr.value;if(e instanceof m)return $a.value;throw new Error("Failed pattern match at Utils.Expandable (line 27, column 1 - line 27, column 32): "+[e.constructor.name])},from:function(e){if(e instanceof vr)return new H(se.value);if(e instanceof $a)return new m(se.value);throw new Error("Failed pattern match at Utils.Expandable (line 27, column 1 - line 27, column 32): "+[e.constructor.name])}},Pm={eq:function(e){return function(n){return e instanceof vr&&n instanceof vr||e instanceof $a&&n instanceof $a}}};var z0=function(e){if(e instanceof vr)return $a.value;if(e instanceof $a)return vr.value;throw new Error("Failed pattern match at Utils.Expandable (line 31, column 10 - line 33, column 24): "+[e.constructor.name])};var MU=function(e){if(e instanceof vr)return"Expanded";if(e instanceof $a)return"Collapsed";throw new Error("Failed pattern match at Utils.Expandable (line 36, column 10 - line 38, column 27): "+[e.constructor.name])},nDe=Ln(MU)(pn(wcn)(yn(Zge)(_n(dn))(Zge)(Kge))(wn(eDe)(eDe))(Dn(Kge)));function tDe(e){return function(n){return function(){return e.item(n)}}}var Scn=j(st),aDe=function(e){var n=Scn(te),t=tDe(e);return function(a){return n(t(a))}};var Ecn=ee(st),Ccn=qe(da),Rx=q(ta),Icn=ee(B),Tcn=aa(Ae)(ft),Fcn=j(st),Mcn=ct(rr),rDe=Ma(),oDe=qo(),iDe=Ws(An)(),Gcn=Am(Pm),uDe=Hn(Xn),lDe=q(Xt),Acn=Vy(o0),xcn=j(B),Lcn=Kn(W)()(),jcn=tD($G(R1)),GU=ve(Pm),Ncn=jn(ae)()(),Pcn=xn(pt),cDe=ne(gS),sDe=function(){return function(e){return function(n){var t=function(s){var f=function(p){return function(d){return function(){var h=aDe(p)(d)();if(h instanceof _)return Ecn(f(p)(d+1|0))(function(g){return Ccn([h.value0])(g)})();if(h instanceof E)return[];throw new Error("Failed pattern match at Component.Dropdown (line 237, column 45 - line 239, column 31): "+[h.constructor.name])}}},v=Icn(xce(s))(function(p){return function(){var y=bO(p)(),h=f(y)(0)();return Tcn(h)}});return Fcn(qc("-menu"))(be(Rx(""))(v))},a=function(s){return function(f){if(s instanceof E||f instanceof E)return Rx(!1);if(s instanceof _&&f instanceof _)return function(){var p=wO(s.value0)(f.value0)(),d=t(f.value0)();return p||d?!0:Mcn(a(new _(s.value0)))(jce(f.value0))()};throw new Error("Failed pattern match at Component.Dropdown (line 212, column 5 - line 212, column 42): "+[s.constructor.name,f.constructor.name])}},r=rDe(n),o=Bn(r.direction)(FU.value),i=function(){if(o instanceof FU)return"dropdown";if(o instanceof Qge)return"dropup";if(o instanceof Xge)return"dropright";if(o instanceof Yge)return"dropleft";throw new Error("Failed pattern match at Component.Dropdown (line 204, column 22 - line 208, column 35): "+[o.constructor.name])}(),u=Bn(r.onClose)(Rx(Re)),l=Bn(r.alignment)(IU.value),c=function(){if(l instanceof IU)return"";if(l instanceof TU)return"dropdown-menu-right";throw new Error("Failed pattern match at Component.Dropdown (line 199, column 22 - line 201, column 47): "+[l.constructor.name])}();return ru(oDe(ra($a.value))(function(s){return oDe(T3)(function(f){return iDe(Gcn(s.value0)(function(v){return v instanceof $a?uDe(u):lDe(Re)}))(function(){return iDe(kC(BC.mouseup)(function(v){if(s.value0 instanceof $a)return lDe(Re);if(s.value0 instanceof vr)return uDe(Acn(a(xcn(ooe)(f.value0))(new _(b3(v.target))))(s.value1($a.value)));throw new Error("Failed pattern match at Component.Dropdown (line 158, column 5 - line 164, column 29): "+[s.value0.constructor.name])}))(function(){var v=function(){if(s.value0 instanceof $a)return"";if(s.value0 instanceof vr)return"show";throw new Error("Failed pattern match at Component.Dropdown (line 166, column 25 - line 168, column 27): "+[s.value0.constructor.name])}();return Jo(Lcn(i+(" "+(v+(" "+e))))({onClick:jcn(s.value1)(function(){var p=r.closeOnClick&&GU(s.value0)(vr.value);return p?new _($a.value):E.value}()),ref:f.value1})([Ncn(r.toggleClass)(r.ariaLabelInput)({onClick:Pcn(s.value1)(z0(s.value0)),"aria-expanded":cDe(GU(s.value0)(vr.value)),role:"combobox","aria-haspopup":"listbox","aria-controls":r.contentId})(r.toggleContent),r.content({ariaSelected:cDe,className:"dropdown-menu show "+c,closeDropdown:s.value1($a.value),contentId:r.contentId,role:"listbox",roleSelectOption:"option",visible:GU(s.value0)(vr.value)})]))})})})}))}}},Ocn=sDe(),wx=function(){return function(e){return function(n){var t=rDe(n);return Ocn(e)({ariaLabelInput:t.ariaLabelInput,contentId:t.contentId,direction:t.direction,toggleClass:` dropdown-toggle d-inline-flex align-items-center justify-content-center `+(" "+t.toggleClass),toggleContent:t.toggleContent,content:function(a){return sn(a.visible)(t.content({className:a.className,contentId:a.contentId,role:a.role,roleSelectOption:a.roleSelectOption,ariaSelected:a.ariaSelected}))},closeOnClick:!0})}}};Ht();var Iv={PRIMARY:"#008CFD",SECONDARY:"#6E84A3",WHITE:"#FFF",GRAY_300:"#E3EBF6"};var jI=ya(hDe()),gDe=4,dsn=({trackColor:e,background:n})=>({props:t,children:a})=>gt.createElement("div",Object.assign({},t,{style:Object.assign({},t.style,{height:`${gDe}px`,borderRadius:`${gDe*2}px`,background:n||e})}),...a),_sn=({horizontal:e})=>({props:n,isDragged:t})=>gt.createElement("svg",Object.assign({},n,{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",fill:"none",viewBox:"0 0 18 18"}),gt.createElement("circle",{cx:"9",cy:"9",r:"8.5",fill:t?Iv.SECONDARY:Iv.WHITE,stroke:Iv.SECONDARY}),gt.createElement("path",{stroke:t?Iv.WHITE:Iv.SECONDARY,d:e?"M7.5 6L7.5 12":"M6 7.5L12 7.5"}),gt.createElement("path",{stroke:t?Iv.WHITE:Iv.SECONDARY,d:e?"M10.5 6L10.5 12":"M6 10.5L12 10.5"})),DDe=e=>gt.createElement("div",{"aria-label":e.ariaLabel},gt.createElement(jI.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:dsn({trackColor:e.trackColor||Iv.GRAY_300,background:e.fillBefore?(0,jI.getTrackBackground)({values:[e.value],colors:[Iv.PRIMARY,Iv.GRAY_300],min:e.min,max:e.max,"aria-valuemax":e.max,"aria-valuemin":e.min,"aria-valuenow":e.value}):void 0}),renderThumb:_sn({horizontal:!0})}));var hsn=sc(),yDe={CanPassToJavaScript0:function(){},CanReceiveFromJavaScript1:function(){return Lt}};var bDe=function(e){return function(){return function(){return hsn(DDe)}}};var RDe=function(e){return function(n){return _r(n(e))}};var gsn=Ma(),Dsn=Ei(ae)()(),ysn=rn(W),bsn=oa(L),Rsn=function(e){var n=$g(e);return function(){return function(t){return function(a){var r=gsn(t);return Dsn({placement:pf,overlay:le(n(a)),overlayStyle:Bn(r.overlayStyle)(mn({width:"15rem"}))})(ysn("d-inline-flex align-items-center text-secondary "+r.className)([bsn("d-inline-block fe fe-help-circle "+function(){var o=r.anchorText==="";return o?"":"mr-2"}())(""),X(r.anchorText)]))}}}},ju=function(e){var n=Rsn(e)();return function(t){return n({className:t,anchorText:""})}};Ht();function wDe(e){if(Array.isArray(e))return lI(e)}function SDe(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function EDe(){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 CDe(e){return wDe(e)||SDe(e)||UA(e)||EDe()}var dwe=ya(Fl());var Hpn=ya(Um()),Rer=ya(zm());var PT=ya(Fl()),ea=ya(Um()),Zbe=ya(zm());var Kbe=ya(Q0());function qbe(e,n){return n||(n=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}}))}var eRe=ya(VD()),mJ=function(){};function R0n(e,n){return n?n[0]==="-"?e+n:e+"__"+n:e}function nRe(e,n,t){var a=[t];if(n&&e)for(var r in n)n.hasOwnProperty(r)&&n[r]&&a.push("".concat(R0n(e,r)));return a.filter(function(o){return o}).map(function(o){return String(o).trim()}).join(" ")}var dJ=function(n){return Array.isArray(n)?n.filter(Boolean):kr(n)==="object"&&n!==null?[n]:[]};function J7(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function tRe(e){return J7(e)?window.pageYOffset:e.scrollTop}function q7(e,n){if(J7(e)){window.scrollTo(0,n);return}e.scrollTop=n}function w0n(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 S0n(e,n,t,a){return t*((e=e/a-1)*e*e+1)+n}function W7(e,n){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:mJ,r=tRe(e),o=n-r,i=10,u=0;function l(){u+=i;var c=S0n(u,r,o,t);q7(e,c),ut.bottom?q7(e,Math.min(n.offsetTop+n.clientHeight-e.offsetHeight+r,e.scrollHeight)):a.top-r=y)return{placement:"bottom",maxHeight:n};if(Te>=y&&!i)return o&&W7(c,we,Se),{placement:"bottom",maxHeight:n};if(!i&&Te>=a||i&&K>=a){o&&W7(c,we,Se);var Ce=i?K-O:Te-O;return{placement:"bottom",maxHeight:Ce}}if(r==="auto"||i){var Je=n,ue=i?k:oe;return ue>=a&&(Je=Math.min(ue-O-l.controlHeight,n)),{placement:"top",maxHeight:Je}}if(r==="bottom")return q7(c,we),{placement:"bottom",maxHeight:n};break;case"top":if(k>=y)return{placement:"top",maxHeight:n};if(oe>=y&&!i)return o&&W7(c,xe,Se),{placement:"top",maxHeight:n};if(!i&&oe>=a||i&&k>=a){var Tn=n;return(!i&&oe>=a||i&&k>=a)&&(Tn=i?k-T:oe-T),o&&W7(c,xe,Se),{placement:"top",maxHeight:Tn}}return{placement:"bottom",maxHeight:n};default:throw new Error('Invalid placement provided "'.concat(r,'".'))}return s}function T0n(e){var n={bottom:"top",top:"bottom"};return e?n[e]:"bottom"}var hJ=function(n){return n==="auto"?"bottom":n},lRe=function(n){var t,a=n.placement,r=n.theme,o=r.borderRadius,i=r.spacing,u=r.colors;return t={label:"menu"},Za(t,T0n(a),"100%"),Za(t,"backgroundColor",u.neutral0),Za(t,"borderRadius",o),Za(t,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),Za(t,"marginBottom",i.menuGutter),Za(t,"marginTop",i.menuGutter),Za(t,"position","absolute"),Za(t,"width","100%"),Za(t,"zIndex",1),t},cRe=(0,PT.createContext)({getPortalPlacement:null}),gJ=function(e){vu(t,e);var n=uRe(t);function t(){var a;su(this,t);for(var r=arguments.length,o=new Array(r),i=0;i-1}};var opn={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;"},ipn=function(n){return(0,QD.jsx)("span",ht({css:opn},n))};function upn(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=Lu(e,["in","out","onExited","appear","enter","exit","innerRef","emotion"]);return(0,QD.jsx)("input",ht({ref:u},c,{css:(0,XRe.default)({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 lpn(e){var n=cpn();return function(){var a=xo(e),r;if(n){var o=xo(this).constructor;r=Reflect.construct(a,arguments,o)}else r=a.apply(this,arguments);return _s(this,r)}}function cpn(){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 twe=function(e){vu(t,e);var n=lpn(t);function t(){return su(this,t),n.apply(this,arguments)}return fu(t,[{key:"componentDidMount",value:function(){this.props.innerRef((0,YRe.findDOMNode)(this))}},{key:"componentWillUnmount",value:function(){this.props.innerRef(null)}},{key:"render",value:function(){return this.props.children}}]),t}(ba.Component),awe=["boxSizing","height","overflow","paddingRight","position"],rwe={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function owe(e){e.preventDefault()}function iwe(e){e.stopPropagation()}function uwe(){var e=this.scrollTop,n=this.scrollHeight,t=e+this.offsetHeight;e===0?this.scrollTop=1:t===n&&(this.scrollTop=e-1)}function lwe(){return"ontouchstart"in window||navigator.maxTouchPoints}function spn(e){var n=fpn();return function(){var a=xo(e),r;if(n){var o=xo(this).constructor;r=Reflect.construct(a,arguments,o)}else r=a.apply(this,arguments);return _s(this,r)}}function fpn(){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 cwe=!!(window.document&&window.document.createElement),OT=0,swe=function(e){vu(t,e);var n=spn(t);function t(){var a;su(this,t);for(var r=arguments.length,o=new Array(r),i=0;i0,P=h-g-y,O=!1;P>l&&a.isBottom&&(f&&f(u),a.isBottom=!1),M&&a.isTop&&(p&&p(u),a.isTop=!1),M&&l>P?(s&&!a.isBottom&&s(u),S.scrollTop=h,O=!0,a.isBottom=!0):!M&&-l>y&&(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 fu(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 ba.default.createElement(twe,{innerRef:this.getScrollTarget},this.props.children)}}]),t}(ba.Component);function Dpn(e){var n=e.isEnabled,t=n===void 0?!0:n,a=Lu(e,["isEnabled"]);return t?ba.default.createElement(gpn,a):a.children}var ypn=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"}},bpn=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.")}},Rpn=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,".")},wpn=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,".")},Spn=function(n){var t=n.inputValue,a=n.screenReaderMessage;return"".concat(a).concat(t?" for search term "+t:"",".")},Epn=function(n){return n.label},Cpn=function(n){return n.label},Ipn=function(n){return n.value},fwe=function(n){return!!n.isDisabled};var Tpn={clearIndicator:TRe,container:yRe,control:ARe,dropdownIndicator:IRe,group:LRe,groupHeading:jRe,indicatorsContainer:RRe,indicatorSeparator:FRe,input:PRe,loadingIndicator:MRe,loadingMessage:pRe,menu:lRe,menuList:sRe,menuPortal:_Re,multiValue:kRe,multiValueLabel:URe,multiValueRemove:HRe,noOptionsMessage:vRe,option:qRe,placeholder:WRe,singleValue:$Re,valueContainer:bRe};var Fpn={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%)"},Mpn=4,vwe=4,Gpn=38,Apn=vwe*2,xpn={baseUnit:vwe,controlHeight:Gpn,menuGutter:Apn},EJ={borderRadius:Mpn,colors:Fpn,spacing:xpn};function pwe(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 KR(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,p=f.isMulti;r.onInputChange("",{action:"set-value"}),v&&(r.inputIsHiddenAfterUpdate=!p,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 p=r.getOptionValue(l);r.setValue(v.filter(function(d){return r.getOptionValue(d)!==p}),"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(CDe(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;sp||v>p}},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,p=c.inputValue,d=c.isClearable,y=c.isDisabled,h=c.menuIsOpen,g=c.onKeyDown,S=c.tabSelectsValue,M=c.openMenuOnFocus,P=r.state,O=P.focusedOption,T=P.focusedValue,k=P.selectValue;if(!y&&!(typeof g=="function"&&(g(l),l.defaultPrevented))){switch(r.blockOptionHover=!0,l.key){case"ArrowLeft":if(!s||p)return;r.focusValue("previous");break;case"ArrowRight":if(!s||p)return;r.focusValue("next");break;case"Delete":case"Backspace":if(p)return;if(T)r.removeValue(T);else{if(!f)return;s?r.popValue():d&&r.clearValue()}break;case"Tab":if(r.isComposing||l.shiftKey||!h||!S||!O||M&&r.isOptionSelected(O,k))return;r.selectOption(O);break;case"Enter":if(l.keyCode===229)break;if(h){if(!O||r.isComposing)return;r.selectOption(O);break}return;case"Escape":h?(r.inputIsHiddenAfterUpdate=!1,r.onInputChange("",{action:"menu-close"}),r.onMenuClose()):d&&v&&r.clearValue();break;case" ":if(p)return;if(!h){r.openMenu("first");break}if(!O)return;r.selectOption(O);break;case"ArrowUp":h?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":h?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!h)return;r.focusOption("pageup");break;case"PageDown":if(!h)return;r.focusOption("pagedown");break;case"Home":if(!h)return;r.focusOption("first");break;case"End":if(!h)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,p=function(y,h){var g=r.isOptionDisabled(y,c),S=r.isOptionSelected(y,c),M=r.getOptionLabel(y),P=r.getOptionValue(y);if(!(r.shouldHideSelectedOptions()&&S||!r.filterOption({label:M,value:P,data:y},f))){var O=g?void 0:function(){return r.onOptionHover(y)},T=g?void 0:function(){return r.selectOption(y)},k="".concat(r.getElementId("option"),"-").concat(h);return{innerProps:{id:k,onClick:T,onMouseMove:O,onMouseOver:O,tabIndex:-1},data:y,isDisabled:g,isSelected:S,key:k,label:M,type:"option",value:P}}};return v.reduce(function(d,y,h){if(y.options){r.hasGroups||(r.hasGroups=!0);var g=y.options,S=g.map(function(O,T){var k=p(O,"".concat(h,"-").concat(T));return k&&d.focusable.push(O),k}).filter(Boolean);if(S.length){var M="".concat(r.getElementId("group"),"-").concat(h);d.render.push({type:"group",key:M,data:y,options:S})}}else{var P=p(y,"".concat(h));P&&(d.render.push(P),d.focusable.push(y))}return d},{render:[],focusable:[]})};var o=a.value;r.cacheComponents=(0,wJ.default)(r.cacheComponents,DRe).bind(SD(r)),r.cacheComponents(a.components),r.instancePrefix="react-select-"+(r.props.instanceId||++Ppn);var i=dJ(o);r.buildMenuOptions=(0,wJ.default)(r.buildMenuOptions,function(l,c){var s=l,f=or(s,2),v=f[0],p=f[1],d=c,y=or(d,2),h=y[0],g=y[1];return p===g&&v.inputValue===h.inputValue&&v.options===h.options}).bind(SD(r));var u=a.menuIsOpen?r.buildMenuOptions(a,i):{render:[],focusable:[]};return r.state.menuOptions=u,r.state.selectValue=i,r}return fu(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=dJ(r.value),f=r.menuIsOpen?this.buildMenuOptions(r,s):{render:[],focusable:[]},v=this.getNextFocusedValue(s),p=this.getNextFocusedOption(f.focusable);this.setState({menuOptions:f,selectValue:s,focusedOption:p,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&&(aRe(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,p=r==="first"?0:c.focusable.length-1;if(!f){var d=c.focusable.indexOf(u[0]);d>-1&&(p=d)}this.scrollToFocusedOptionOnUpdate=!(l&&this.menuListRef),this.inputIsHiddenAfterUpdate=!1,this.setState({menuOptions:c,focusedValue:null,focusedOption:c.focusable[p]},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,p=-1;if(!!c.length){switch(r){case"previous":f===0?p=0:f===-1?p=v:p=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,p=f.indexOf(c);c||(p=-1,this.announceAriaLiveContext({event:"menu",context:{tabSelectsValue:u}})),r==="up"?v=p>0?p-1:f.length-1:r==="down"?v=(p+1)%f.length:r==="pageup"?(v=p-i,v<0&&(v=0)):r==="pagedown"?(v=p+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:fwe(f[v]),tabSelectsValue:u}})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(EJ):KR(KR({},EJ),this.props.theme):EJ}},{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,p=s.options,d=this.hasValue();return{cx:o,clearValue:r,getStyles:i,getValue:u,hasValue:d,isMulti:f,isRtl:v,options:p,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,p=c.screenReaderStatus,d=u?Rpn({focusedValue:u,getOptionLabel:this.getOptionLabel,selectValue:i}):"",y=l&&f?wpn({focusedOption:l,getOptionLabel:this.getOptionLabel,options:s}):"",h=Spn({inputValue:v,screenReaderMessage:p({count:this.countOptions()})});return"".concat(d," ").concat(y," ").concat(h," ").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,p=u||this.getElementId("input"),d={"aria-autocomplete":"list","aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"]};if(!i)return ba.default.createElement(upn,ht({id:p,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:mJ,onFocus:this.onInputFocus,readOnly:!0,disabled:o,tabIndex:c,form:s,value:""},d));var y=this.commonProps,h=y.cx,g=y.theme,S=y.selectProps;return ba.default.createElement(f,ht({autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",cx:h,getStyles:this.getStyles,id:p,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:g,type:"text",value:l},d))}},{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,p=this.props,d=p.controlShouldRenderValue,y=p.isDisabled,h=p.isMulti,g=p.inputValue,S=p.placeholder,M=this.state,P=M.selectValue,O=M.focusedValue,T=M.isFocused;if(!this.hasValue()||!d)return g?null:ba.default.createElement(f,ht({},v,{key:"placeholder",isDisabled:y,isFocused:T}),S);if(h){var k=P.map(function(oe,Te){var we=oe===O;return ba.default.createElement(i,ht({},v,{components:{Container:u,Label:l,Remove:c},isFocused:we,isDisabled:y,key:"".concat(r.getOptionValue(oe)).concat(Te),index:Te,removeProps:{onClick:function(){return r.removeValue(oe)},onTouchEnd:function(){return r.removeValue(oe)},onMouseDown:function(Se){Se.preventDefault(),Se.stopPropagation()}},data:oe}),r.formatOptionLabel(oe,"value"))});return k}if(g)return null;var K=P[0];return ba.default.createElement(s,ht({},v,{data:K,isDisabled:y}),this.formatOptionLabel(K,"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 ba.default.createElement(r,ht({},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 ba.default.createElement(r,ht({},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 ba.default.createElement(i,ht({},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 ba.default.createElement(r,ht({},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,p=o.Option,d=this.commonProps,y=this.state,h=y.focusedOption,g=y.menuOptions,S=this.props,M=S.captureMenuScroll,P=S.inputValue,O=S.isLoading,T=S.loadingMessage,k=S.minMenuHeight,K=S.maxMenuHeight,oe=S.menuIsOpen,Te=S.menuPlacement,we=S.menuPosition,xe=S.menuPortalTarget,Se=S.menuShouldBlockScroll,Ce=S.menuShouldScrollIntoView,Je=S.noOptionsMessage,ue=S.onMenuScrollToTop,Tn=S.onMenuScrollToBottom;if(!oe)return null;var on=function(he){var U=h===he.data;return he.innerRef=U?r.getFocusedOptionRef:void 0,ba.default.createElement(p,ht({},d,he,{isFocused:U}),r.formatOptionLabel(he.data,"menu"))},Et;if(this.hasOptions())Et=g.render.map(function(fe){if(fe.type==="group"){var he=fe.type,U=Lu(fe,["type"]),pe="".concat(fe.key,"-heading");return ba.default.createElement(i,ht({},d,U,{Heading:u,headingProps:{id:pe,data:fe.data},label:r.formatGroupLabel(fe.data)}),fe.options.map(function(V){return on(V)}))}else if(fe.type==="option")return on(fe)});else if(O){var mt=T({inputValue:P});if(mt===null)return null;Et=ba.default.createElement(f,d,mt)}else{var z=Je({inputValue:P});if(z===null)return null;Et=ba.default.createElement(v,d,z)}var x={minMenuHeight:k,maxMenuHeight:K,menuPlacement:Te,menuPosition:we,menuShouldScrollIntoView:Ce},Y=ba.default.createElement(gJ,ht({},d,x),function(fe){var he=fe.ref,U=fe.placerProps,pe=U.placement,V=U.maxHeight;return ba.default.createElement(l,ht({},d,x,{innerRef:he,innerProps:{onMouseDown:r.onMenuMouseDown,onMouseMove:r.onMenuMouseMove},isLoading:O,placement:pe}),ba.default.createElement(Dpn,{isEnabled:M,onTopArrive:ue,onBottomArrive:Tn},ba.default.createElement(dpn,{isEnabled:Se},ba.default.createElement(c,ht({},d,{innerRef:r.getMenuListRef,isLoading:O,maxHeight:V}),Et))))});return xe||we==="fixed"?ba.default.createElement(s,ht({},d,{appendTo:xe,controlElement:this.controlRef,menuPlacement:Te,menuPosition:we}),Y):Y}},{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(d){return r.getOptionValue(d)}).join(i);return ba.default.createElement("input",{name:c,type:"hidden",value:f})}else{var v=s.length>0?s.map(function(d,y){return ba.default.createElement("input",{key:"i-".concat(y),name:c,type:"hidden",value:r.getOptionValue(d)})}):ba.default.createElement("input",{name:c,type:"hidden"});return ba.default.createElement("div",null,v)}else{var p=s[0]?this.getOptionValue(s[0]):"";return ba.default.createElement("input",{name:c,type:"hidden",value:p})}}},{key:"renderLiveRegion",value:function(){return this.state.isFocused?ba.default.createElement(ipn,{"aria-live":"polite"},ba.default.createElement("span",{id:"aria-selection-event"},"\xA0",this.state.ariaLiveSelection),ba.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,p=c.menuIsOpen,d=this.state.isFocused,y=this.commonProps=this.getCommonProps();return ba.default.createElement(u,ht({},y,{className:s,innerProps:{id:f,onKeyDown:this.onKeyDown},isDisabled:v,isFocused:d}),this.renderLiveRegion(),ba.default.createElement(o,ht({},y,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:v,isFocused:d,menuIsOpen:p}),ba.default.createElement(l,ht({},y,{isDisabled:v}),this.renderPlaceholderOrValue(),this.renderInput()),ba.default.createElement(i,ht({},y,{isDisabled:v}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}]),t}(ba.Component);CJ.defaultProps=Npn;var Eer=ya(Q0());var Ier=ya(VD());var Q7=ya(Fl());function Opn(e){var n=kpn();return function(){var a=xo(e),r;if(n){var o=xo(this).constructor;r=Reflect.construct(a,arguments,o)}else r=a.apply(this,arguments);return _s(this,r)}}function kpn(){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 Upn={defaultInputValue:"",defaultMenuIsOpen:!1,defaultValue:null},mwe=function(n){var t,a;return a=t=function(r){vu(i,r);var o=Opn(i);function i(){var u;su(this,i);for(var l=arguments.length,c=new Array(l),s=0;s1?s-1:0),v=1;vt=>{var u;let a=(l,c)=>Object.assign({},l,c),r=l=>c=>a(c,l),o=!Rhn&&typeof document!="undefined",i=(u=t.hideDropdownIndicator)!=null?u:!1;return gt.createElement(e,di(Ha({},t),{isMulti:n,components:a({MenuList:_hn},i?{DropdownIndicator:null}:{}),menuPortalTarget:t.useMenuPortal&&o?document.body:void 0,options:XSe(t.options),value:XSe(t.value),getOptionLabel:XJ(t.getOptionLabel,l=>l.label),getOptionValue:XJ(t.getOptionValue,l=>l.value),formatOptionLabel:XJ(t.formatOptionLabel),loadOptions:t.loadOptions&&((...l)=>t.loadOptions(...l).then(lw)),onChange:(l,{action:c})=>{switch(c){case"select-option":l.__isNew__?t.onCreate&&t.onCreate(l.label):t.onSelect&&t.onSelect(lw(l));break;case"clear":t.onClear&&t.onClear();break;case"remove-value":t.onSelect&&t.onSelect(lw(l||[]));break;case"create-option":t.onCreate&&t.onCreate(l instanceof Array?l[l.length-1].label:l.label);break}},isOptionDisabled:t.isOptionDisabled&&(l=>!l.__isNew__&&t.isOptionDisabled(lw(l))),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:(l,c)=>a(l,c.isFocused?t.focusedOptionStyle:{})}}))},_hn=e=>{let n=Array.isArray(e.children)?e.children:[e.children],t=[];return e.selectProps.footerOption&&e.selectProps.options&&(t=[gt.createElement("hr",{className:"py-0 my-0"}),e.selectProps.footerOption({inputValue:e.selectProps.inputValue,options:lw(e.selectProps.options)})]),gt.createElement("div",{className:"overflow-y-auto overflow-x-hidden",style:Object.assign({},{maxHeight:e.selectProps.maxMenuHeight},e.selectProps.menuListStyle)},gt.createElement(VSe.default,{length:n.length,itemRenderer:(a,r)=>gt.createElement("div",{key:r},n[a])}),...t)};Y7.displayName="ReactSelect";c5.default.displayName="ReactSelectCreatable";s5.default.displayName="ReactSelectAsync";YJ.default.displayName="ReactSelectAsyncCreatable";var QSe=oy({baseClass:Y7,isMulti:!1}),hhn=oy({baseClass:c5.default,isMulti:!1}),ghn=oy({baseClass:c5.default,isMulti:!0}),Dhn=oy({baseClass:Y7,isMulti:!0}),YSe=oy({baseClass:s5.default,isMulti:!1}),yhn=oy({baseClass:YJ.default,isMulti:!1}),bhn=oy({baseClass:s5.default,isMulti:!0}),Rhn=0;var XSe=e=>e instanceof Array?typeof e[0]=="object"?e:e.map(n=>({__wrap:n})):typeof e=="undefined"||typeof e=="object"?e:{__wrap:e},lw=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},XJ=(e,n)=>e&&(t=>t.__isNew__?n(t):e(lw(t)));var ZSe=e=>()=>new Promise((n,t)=>{var a=o=>()=>n(o),r=o=>()=>t(o);try{e(a)(r)()}catch(o){t(o)}});var KSe=function(e){return ZSe(function(n){return function(t){return qee(tr(t)(n))(e)}})};var pF=Uo(),whn=St(Qn()(C({reflectSymbol:function(){return"inputValue"}})(ie)(de)));var Shn=j(Yt),Ehn=j(B);var eEe=sc(),nEe=Ma();var Chn=function(e){return e};var ku=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Ihn=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}();var tEe=function(e){return function(n){if(e instanceof ku){var t={};for(var a in n)({}).hasOwnProperty.call(n,a)&&(t[a]=n[a]);return t["aria-label"]=$1(e.value0),t}if(e instanceof Ihn){var r={};for(var o in n)({}).hasOwnProperty.call(n,o)&&(r[o]=n[o]);return r["aria-labelledby"]=$1(e.value0),r}throw new Error("Failed pattern match at Component.ReactSelect (line 213, column 3 - line 215, column 66): "+[e.constructor.name])}},f5=function(e){return pF(function(n){return We(whn(n))(e)})};var v5=function(e){return function(n){return KSe(Shn(Be)(e(n)))()}};var aEe=function(e){return function(n){return Bt(e({inputValue:te(n.inputValue),options:n.options}))}};var rEe=function(e){var n={};for(var t in e)({}).hasOwnProperty.call(e,t)&&(n[t]=e[t]);return n.value=$re(function(a){return Bt(Ehn(Chn)(a))})(e.value),n},Thn=pF;var oEe=pF;var Fhn=pF;var iEe=pF;var wf=function(e){return function(){var n=eEe(QSe),t=tEe(e);return function(a){return n(Thn(rEe(oEe(t(iEe(nEe(a)))))))}}},p5=function(e){return function(){var n=eEe(YSe),t=tEe(e);return function(a){return n(Fhn(rEe(oEe(t(iEe(nEe(a)))))))}}};var uEe="top";var lEe=go($r($o)),Mhn=ee(Yt),cEe=Z(Ut),Ghn=lu(zn(Qn()(C({reflectSymbol:function(){return"category"}})(ie)(C({reflectSymbol:function(){return"id"}})(MC)(C({reflectSymbol:function(){return"name"}})(ie)(de)))))),Ahn=ee(me),xhn=ee(B),Lhn=lu(ie),sEe=lEe("profile_search_extracurricular_activities_path")(function(e){return function(n){return Mhn(cEe(e({search_term:n}))(eo(Ghn("Network.ECSelector.API"))))(function(t){return gr(Ahn(t)(function(a){return xhn(vb(a.category))(function(r){return{id:a.id,name:a.name,category:r}})}))})}}),fEe=lEe("profile_generate_ec_description_path")(function(e){return function(n){return cEe(e(n))(eo(Lhn("Profile.ECSelector.API.generateEcDescription response")))}});var jhn=ne(Ye),Nhn=aa(Ae)(ft),vEe=function(e){var n=sv(e);return function(){return function(){return n("text")}}};var ZJ=function(){return function(){return o_("path")}},Phn=ZJ()();var cw=function(e){var n=function(u){return jhn(Os(u))},t=function(u){return function(l){return n(u*l.x)+(" "+n(u*l.y))}},a=function(u){return{x:e.center.x+Sj(u),y:e.center.y-Cj(u)}},r=a(e.angle1),o=a(e.angle0),i=function(){var u=e.angle1-e.angle0>s0;return u?"1":"0"}();return Phn("")({d:Nhn([" 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})},pEe=function(){return function(){return o_("circle")}};var mEe=Rn(bn),xv=yn(mEe)(_n(dn)),dEe=gn(hn),Lv=Dn(dEe),_Ee=En(Sn),jv=wn(_Ee),Ohn=ZJ()(),Zm=ne(nu),khn=Ei(ae)()(),mF=J(L),Uhn=ef(W)()(),Hhn=ee(me),Bhn=vEe(L)()(),Jhn=ne(Ye),qhn=jn(ae)()(),Whn=xn(pt),$hn=oa(L),dF=J(W),sw=J(ae),hEe=ve(Pt(uf)),zhn=fv(W),Vhn=j(me),Qhn=Hl(L),KJ=function(){function e(){}return e.value=new e,e}(),eq=function(){function e(){}return e.value=new e,e}(),gEe=function(e){return function(n){if(n instanceof eq)return be(e)(vue(e));if(n instanceof KJ)return be(e)(pue(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])}},DEe=function(){return 100/ut(ha(pn(y_)(xv(xv(xv(xv(xv(xv(xv(xv(xv(xv(xv(mEe)(dEe))(Lv))(Lv))(Lv))(Lv))(Lv))(Lv))(Lv))(Lv))(Lv))(Lv))(jv(jv(jv(jv(jv(jv(jv(jv(jv(jv(jv(_Ee))))))))))))(Lv)))}(),Yhn=function(e){var n=gc(e),t=aue(n),a=function(r){return function(o){return function(i){var u=o-1,l=r+1,c=u/2,s=l/2;return Ohn("")({d:Gr(" ")(["M",Zm(-s),Zm(l),"L",Zm(s),Zm(l),"L",Zm(c),Zm(u),"L",Zm(-c),Zm(u),"Z"]),fill:i})}}};return khn({overlay:le([mF("")("Use the arrows to choose"),mF("")("higher or lower levels")]),trigger:O_,placement:pf})(Uhn("")({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(ut(t)*DEe)(ut(t+1|0)*DEe)("#64A063"),le(Hhn(YM(1)(4))(function(r){return Bhn("")({x:"0",y:Zm(25*ut(r)-11),dominantBaseline:"middle",textAnchor:"middle"})(Jhn(r))}))]))},yEe=function(e){return function(n){var t=gc(e),a=Dv(e),r=function(o){var i=function(){if(o.msg instanceof KJ)return"up";if(o.msg instanceof eq)return"down";throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivityTier (line 68, column 17 - line 70, column 33): "+[o.msg.constructor.name])}();return qhn("py-0 px-2 my-2 btn btn-outline-light t--tier-"+(i+function(){return o.disabled?"":" text-body"}()))(ke)({type:"button",onClick:Whn(n)(o.msg),disabled:o.disabled})($hn("x-large fe fe-arrow-"+i)(""))};return le([dF("d-flex justify-content-between align-items-center")([mF("font-weight-bold fw-bold")("Tier "+pb(t)),dF("d-flex align-items-center")([sw("mr-2")(r({msg:KJ.value,disabled:hEe(new _(t))(iue(a))})),sw("")(r({msg:eq.value,disabled:hEe(new _(t))(B4(a))}))])]),sw("card shadow-none")(sw("card-body")(dF("row align-items-start")([sw("col-12 col-md-7")(We(oue(a)(t))(function(o){return le([X("I did the equivalent of ANY of the following:"),zhn("")(Vhn(Qhn(""))(o))])})),sw("col-12 col-md-5")(dF("row align-items-center")([dF("col-7 d-flex flex-column align-items-center")([mF("mb-2 small")("Exceptional"),Yhn(e),mF("mt-2 small")("Standard")])]))])))])}};var m5=q(_t),Xhn=Ma(),Zhn=Un(An)(Wt),Khn=qr(Xn),egn=ee(Yt),ngn=Wc(h0),tgn=jn(ae)()(),bEe=J(L),REe=xn(pt),nq=function(){function e(){}return e.value=new e,e}(),wEe=function(){function e(){}return e.value=new e,e}(),SEe=function(){function e(){}return e.value=new e,e}(),tq=function(){function e(){}return e.value=new e,e}(),EEe=function(){function e(){}return e.value=new e,e}(),CEe=function(){function e(){}return e.value=new e,e}(),IEe=function(){var e=function(n){var t=m5(nq.value),a=Xhn(n),r=function(i){return function(u){if(u instanceof tq)return Zhn(Khn(egn(ngn(a.onClick))(tr(Ze(CEe.value))(Ze(EEe.value)))))(function(){return m5(wEe.value)});if(u instanceof EEe)return m5(nq.value);if(u instanceof CEe)return m5(SEe.value);throw new Error("Failed pattern match at Utils.EffectButton (line 69, column 9 - line 71, column 24): "+[i.constructor.name,u.constructor.name])}},o=function(i){return function(u){var l=function(s){return tgn(Bn(a.buttonClass)("btn btn-primary px-4"))(ke)({onClick:s,disabled:Bn(a.disabled)(!1)})(Bn(a.buttonContent)(X("Submit")))},c=Bn(a.render)({idle:l,inFlight:function(s){return bEe(Bn(a.spinnerClass)("spinner spinner-border text-primary"))("")},erroredOut:function(s){return le([l(s),bEe("invalid-feedback d-block")(Bn(a.errorMessage)("Something went wrong. Try refreshing the page."))])}});if(i instanceof nq)return c.idle(REe(u)(tq.value));if(i instanceof wEe)return c.inFlight(Re);if(i instanceof SEe)return c.erroredOut(REe(u)(tq.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 Vu("EffectButton")(e)};var TEe=function(){function e(){}return e.value=new e,e}(),FEe=function(){function e(){}return e.value=new e,e}(),fw=function(){function e(){}return e.value=new e,e}(),d5=function(){function e(){}return e.value=new e,e}(),MEe=function(){function e(){}return e.value=new e,e}(),GEe=function(){function e(){}return e.value=new e,e}(),vw=function(){function e(){}return e.value=new e,e}(),AEe=function(e){if(e instanceof TEe)return"avatar-xxs";if(e instanceof FEe)return"avatar-xs";if(e instanceof fw)return"avatar-sm";if(e instanceof d5)return"";if(e instanceof MEe)return"avatar-lg";if(e instanceof GEe)return"avatar-xl";if(e instanceof vw)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 _5=ve(Pt(sa)),agn=Ma(),rgn=J(ae),ogn=ms()(),aq=rn(L),rq=Kn(ae)()(),ign=oa(L),ugn=qo(),lgn=Ws(An)(),cgn=Hn(Xn),sgn=jn(W)()(),fgn=pa(Fu),vgn=Cv(),pgn=ct(rr),Uu=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),iy=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),oq=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),iq=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),xEe=function(){function e(){}return e.value=new e,e}(),mgn=function(){function e(){}return e.value=new e,e}(),dgn={eq:function(e){return function(n){return e instanceof Uu&&n instanceof Uu?e.value0.url===n.value0.url:e instanceof iy&&n instanceof iy?_5(e.value0.backgroundColorClass)(n.value0.backgroundColorClass)&&e.value0.initials===n.value0.initials&&_5(e.value0.textColorClass)(n.value0.textColorClass):e instanceof oq&&n instanceof oq?_5(e.value0.backgroundColorClass)(n.value0.backgroundColorClass)&&e.value0.iconClass===n.value0.iconClass:e instanceof iq&&n instanceof iq?_5(e.value0.backgroundColorClass)(n.value0.backgroundColorClass)&&e.value0.name===n.value0.name:!1}}},_gn=Am(dgn),op=function(){return function(e){var n=agn(e),t=function(){var r=Bn(n.shape)(xEe.value);if(r instanceof xEe)return"rounded-circle";if(r instanceof mgn)return"rounded";throw new Error("Failed pattern match at Dashkit.Avatar (line 130, column 9 - line 132, column 37): "+[r.constructor.name])}(),a=function(r){return rgn("avatar "+(AEe(Bn(n.size)(d5.value))+(" "+Bn(n.className)(""))))(function(){if(r instanceof Uu)return ogn("avatar-img img-fluid "+(t+(" "+Bn(n.borderClassName)(""))))({src:r.value0.url,alt:cie(Bn(n.ariaLabel)(ke))});if(r instanceof iy)return aq("avatar-title font-weight-bold fw-bold "+(t+(" "+(be("")(r.value0.backgroundColorClass)+(" "+(be("")(r.value0.textColorClass)+(" "+Bn(n.borderClassName)(""))))))))(r.value0.initials);if(r instanceof oq)return rq("avatar-title "+(t+(" "+(be("")(r.value0.backgroundColorClass)+(" "+Bn(n.borderClassName)(""))))))({"aria-label":Bn(n.ariaLabel)(ke)})(ign(r.value0.iconClass)(""));if(r instanceof iq)return rq("avatar-title "+(t+(" "+(be("")(r.value0.backgroundColorClass)+(" "+Bn(n.borderClassName)(""))))))({"aria-label":Bn(n.ariaLabel)(ke)})(aq("material-symbol")(r.value0.name));throw new Error("Failed pattern match at Dashkit.Avatar (line 87, column 11 - line 127, column 48): "+[r.constructor.name])}())};return ru(ugn(ra(n.source))(function(r){return lgn(_gn(n.source)(function(o){return cgn(r.value1(o))}))(function(){return Jo(le([a(r.value0),function(){return r.value0 instanceof Uu?We(xr(n.hideAvatar))(function(o){return rq("hq-only-menu-item")({style:mn({marginTop:"-50px",marginLeft:"200px"})})(sgn("btn btn-sm btn-warning mb-4 t--hide-avatar")(ke)({onClick:fgn(function(i){return function(){return vgn(i)(),pgn(r.value1)(o)()}})})([aq("badge badge-info bg-info text-dark mr-2")("HQ"),X("Hide")]))}):cn}()]))})}))}};var hgn=op();var ggn=function(e){return hgn({source:new Uu({url:w_("/img/icons/ai-avatar-logo-purple-3.svg")}),size:e.size})},pw=function(){return ggn({size:fw.value})}();var LEe=function(){var e=[cC.value,new rm(" "),d4.value,new rm(", "),h4.value,new rm(":"),D4.value,new rm(" "),g4.value],n=sC(xd(Ae)(e));return function(t){return n(function(a){return a.sentAt}(t))}}();var Km=J(W),Dgn=rn(L),ygn=ju(L),bgn=bu(Ge),uq=wp(B),jEe=j(B),Rgn=ee(B),wgn=ct(Ge),Sgn=Cd(Ae)(qt),lq=Un(An)(Ge),cq=so(ko),sq=Z(Ge),fq=Mu(L),NEe=dc()(),_F=xn(_o),uy=J(ae),PEe=jn(L)()(),vq=xn(pt),OEe=XG(L)()(),kEe=ne(fb),Egn=qe(da),Cgn=j(me),Ign=ui()(),UEe=V1(),Tgn=QG(W)()(),HEe=ee(Yt),Fgn=Wc(h0),Mgn=gg(sa),Ggn=ee(me),Agn=Kn(L)()(),xgn=ne(sue),Lgn=On(Ja),BEe=J(L),jgn=IEe(),Ngn=Z(Ut),Pgn=Hn(Xn),ly=function(){function e(){}return e.value=new e,e}(),h5=function(){function e(){}return e.value=new e,e}(),cy=function(){function e(){}return e.value=new e,e}(),JEe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),qEe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),pq=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),WEe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),$Ee=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),zEe=function(){function e(){}return e.value=new e,e}(),VEe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),QEe=function(){function e(){}return e.value=new e,e}(),YEe=function(){function e(){}return e.value=new e,e}(),XEe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),ZEe={eq:function(e){return function(n){return e instanceof ly&&n instanceof ly||e instanceof h5&&n instanceof h5||e instanceof cy&&n instanceof cy}}},Ogn=function(e){return e.tierSelector instanceof _?E.value:new _({errorMessage:"Please select a tier."})},kgn=function(e){if(e.name==="")return new _({errorMessage:"Please enter an activity name."});if(Fe)return E.value;throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivityEditor (line 321, column 1 - line 321, column 32): "+[e.constructor.name])},Ugn=function(e){if(_r(e.category))return new _({errorMessage:"Please select a category."});if(Fe)return E.value;throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivityEditor (line 326, column 1 - line 326, column 36): "+[e.constructor.name])},KEe=function(e){return function(n){return le([Km("")([Dgn("")("Level of achievement"),ygn("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. `)]),yEe(n)(function(t){return e(WEe.create(t))})])}},eCe=function(e){return bgn(uq(uq(uq(jEe(GC("")(e))(B4(e)))(E.value))(E.value))(E.value))},nCe=function(e){return function(n){if(n instanceof WEe)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:Rgn(e.tierSelector)(function(t){return gEe(t)(n.value0)})};if(n instanceof JEe)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 qEe)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:wgn(eCe)(n.value0)};if(n instanceof pq)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 $Ee)return{isNew:e.isNew,id:e.id,description:e.description,compactView:e.compactView,view:e.view,name:n.value0.name,category:new _(n.value0.category),canonicalId:new _(n.value0.id),tierSelector:eCe(n.value0.category)};if(n instanceof zEe)return{isNew:e.isNew,id:e.id,description:e.description,compactView:e.compactView,view:e.view,name:"",category:E.value,canonicalId:E.value,tierSelector:E.value};if(n instanceof VEe)return{isNew:e.isNew,category:e.category,id:e.id,canonicalId:e.canonicalId,tierSelector:e.tierSelector,description:e.description,compactView:e.compactView,view:cy.value,name:n.value0.name};if(n instanceof QEe)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:h5.value};if(n instanceof YEe)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 _)return ly.value;if(e.canonicalId instanceof E)return cy.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 XEe)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 _)return ly.value;if(e.canonicalId instanceof E)return cy.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])}},hF=function(e){return Sgn(RDe(e))([kgn,Ugn,Ogn])},g5=function(e){return function(n){if(n instanceof _){var t=be("")(xC(n.value0)),a=Dv(n.value0);return{isNew:!1,name:b_(n.value0),category:new _(a),tierSelector:function(){return a instanceof k0?E.value:new _(n.value0)}(),id:J4(n.value0),canonicalId:q4(n.value0),description:t,compactView:e.compactView,view:function(){var r=yt(q4(n.value0));return r?ly.value:cy.value}()}}if(n instanceof E)return{isNew:!0,name:"",category:E.value,tierSelector:E.value,id:E.value,canonicalId:E.value,description:"",compactView:e.compactView,view:ly.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])}},D5=function(e){return lq(cq(hF(e)))(function(){return sq(e.tierSelector)(function(n){return sq(e.category)(function(t){return GC(e.name)(t)(gc(n))(e.id)(new _(e.description))(e.canonicalId)})})})},tCe="Summarize your role, highlighting specific achievements. Include quantifiable results (if possible) and skills developed.",aCe=function(e){return function(n){return function(t){var a=le([fq("")("Description (optional)"),NEe("form-control mb-3 t--description")({placeholder:tCe,rows:2,maxLength:1e3,onChange:_F(t)(function(r){return pq.create(mf(r))}),value:n.description}),Km("row")([uy("col-auto")(pw),sn(e.featureFlags.showGenerateEcDescription)(uy("col pl-0")(PEe("btn btn-outline-primary rounded-pill t--generate-description")(ke)({onClick:vq(t)(QEe.value)})("Write description for me")))])]);return sn(!n.compactView)(a)}}},rCe=function(e){return function(n){return function(t){if(n.view instanceof cy){var a=function(u){return OEe("")({value:kEe(u)})(D_(u))},r=Egn([OEe("")({value:""})("Select category")])(Cgn(a)(Vie));return le([Km("row pb-4")([Km("col-12 mt-3 mt-lg-0 col-lg-8 align-self-baseline")([fq("font-weight-bold fw-bold")("Activity name *"),Ign("")({className:"form-control t--name",autoFocus:!0,value:n.name,onChange:_F(t)(function(u){return JEe.create(df(u))}),minLength:5,maxLength:50,required:!0,_data:UEe({"test-id":"ec-selector-activity-name"}),"aria-required":"true"})]),Km("col-12 mt-3 mt-lg-0 col-lg-4 align-self-baseline")([fq("font-weight-bold fw-bold")("Category *"),Tgn("")({className:"form-control t--category",onChange:_F(t)(function(u){return qEe.create(vb(Rge(u)))}),value:Ue("")(kEe)(n.category),_data:UEe({"test-id":"ec-selector-activity-category"}),required:!0,"aria-required":"true"})(r)])]),We(n.tierSelector)(KEe(t)),aCe(e)(n)(t)])}if(n.view instanceof ly){var o=function(u){return HEe(HEe(Fgn(sEe(u)))(Ju))(be([]))},i=function(){var u=function(l){return ji(m1(l))};return aEe(function(l){return sq(l.inputValue)(function(c){return lq(cq(Br(c)>=3))(function(){return lq(cq(!Mgn(u(c))(Ggn(l.options)(function(s){return u(function(f){return f.name}(s))}))))(function(){return new _(Agn("text-center text-primary cursor-pointer py-3 t--ec-activity-custom")({onClick:vq(t)(new VEe({name:c}))})("Add \u2018"+(c+"\u2019 as a custom activity")))})})})})}();return Km("my-4 overflow-hidden ")([X("Activity name*"),p5(new ku("Search for an activity"))()({className:"mt-2 t--ec-activity-name",classNamePrefix:"t--canonical-ec-activity",placeholder:"Type to select\u2026",loadOptions:v5(o),defaultOptions:!1,getOptionLabel:function(u){return u.name},getOptionValue:function(u){return xgn(function(l){return l.id}(u))},onSelect:_F(t)($Ee.create),useMenuPortal:!0,value:Lgn(jEe(function(u){return function(l){return{name:n.name,category:u,id:l}}})(n.category))(n.canonicalId),isClearable:!0,onClear:t(zEe.value),footerOption:i,menuPlacement:uEe,noOptionsMessage:f5(function(u){return X(function(){var l=Br(u.inputValue)<=3;return l?"Type to search activities":"No matches. Try a different search."}())})}),We(n.category)(function(u){return BEe("mt-2 text-muted t--ec-activity-category")("Category: "+D_(u))}),We(n.tierSelector)(function(){var u=uy("mt-4"),l=KEe(t);return function(c){return u(l(c))}}()),We(n.canonicalId)(function(u){return uy("mt-4")(aCe(e)(n)(t))})])}if(n.view instanceof h5)return Km("my-4 overflow-hidden t--description-generator")([Km("row")([uy("col-auto")(pw),BEe("col pl-0")("Tell me about your role, contributions, and any achievements so I can write a strong description.")]),NEe("form-control my-3 t--description")({placeholder:tCe,rows:5,maxLength:1e3,onChange:_F(t)(function(u){return pq.create(mf(u))}),value:n.description}),Km("row")([uy("col-6")(PEe("btn btn-light btn-block")(ke)({onClick:vq(t)(YEe.value)})("Cancel")),uy("col-6")(jgn({buttonClass:"btn btn-primary btn-block t--generate-description-confirm",buttonContent:X("Write description"),onClick:Ngn(fEe({activity:n.name,category:Ue("")(D_)(n.category),description:n.description}))(function(u){return Pgn(t(new XEe(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 Hgn=Mm(),Bgn=Zn(L),Jgn=J(W),oCe=J(ae),iCe=jn(L)()(),qgn=tD($G(R1)),Wgn=Mi(B),$gn=so(ko),zgn=Sa(Qa(qt)),Vgn=xn(pt),mq=q(_t),uCe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),y5=function(){function e(){}return e.value=new e,e}(),gF=function(){function e(){}return e.value=new e,e}(),dq=function(e){return function(n){return function(t){var a=function(){return n.isNew?"Add":"Edit"}();return Hgn({onDismiss:t(gF.value),title:Bgn("")(a+" activity"),size:jC.value,bodyClass:"t--ec-editor",body:le([rCe(e)(n)(function(r){return t(uCe.create(r))}),Xa(""),Jgn("row justify-content-between mt-n3")([oCe("col-12 col-md-3 mt-3")(iCe("btn btn-primary btn-block t--save-ec-activity")(ke)({type:"button",onClick:qgn(t)(Wgn($gn(hF(n)))(y5.value)),disabled:zgn(hF)(n)})("Save activity")),oCe("col-12 col-md-3 mt-3")(iCe("btn btn-outline-secondary btn-block")(ke)({type:"button",onClick:Vgn(t)(gF.value)})("Cancel"))])])})}}},_q=function(e){return function(n){if(n instanceof uCe)return mq(nCe(e)(n.value0));if(n instanceof y5||n instanceof gF)return mq(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 Qgn=ve(FC),lCe=ve(Pt(xP)),cCe=ve(Pt(wC)),Ygn=ve(sa),sCe=ve(Pt(dr)),fCe=ve(Pt(FC)),vCe=ve(ZEe),pCe=Qa(qt),mCe=Sa(pCe),Xgn=ct(Ge),Hu=q(_t),Zgn=a1(FC),dCe=qe(da),hq=Un(An)(Wt),_Ce=qr(Xn),hCe=q(Xt),gq=Z(Wt),gCe=qa(Pi(Yt)),ed=J(W),mw=Vn(L),DCe=ne(Ye),Kgn=Z(Kv),eDn=q(Ep),Sf=J(ae),nDn=jn(W)()(),tDn=rn(ae),aDn=rn(L),rDn=J(L),yCe=ec(Qa(pCe)),oDn=ve(wC),iDn=ve(uf),uDn=ui()(),lDn=Sv(),b5=jn(L)()(),DF=xn(pt),cDn=Kn(W)()(),sDn=V1(),fDn=Ga(L),vDn=Vn(W),pDn=Hn(Xn);var R5=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Dq=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),yq=function(){function e(){}return e.value=new e,e}(),w5=function(){function e(){}return e.value=new e,e}(),sy=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),fy=function(){function e(){}return e.value=new e,e}(),dw=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),sh=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),fh=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),mDn={eq:function(e){return function(n){return e instanceof fy&&n instanceof fy?!0:e instanceof dw&&n instanceof dw?Qgn(e.value0.activity)(n.value0.activity):e instanceof sh&&n instanceof sh?e.value0.index===n.value0.index&&lCe(e.value0.state.canonicalId)(n.value0.state.canonicalId)&&cCe(e.value0.state.category)(n.value0.state.category)&&e.value0.state.compactView===n.value0.state.compactView&&e.value0.state.description===n.value0.state.description&&sCe(e.value0.state.id)(n.value0.state.id)&&e.value0.state.isNew===n.value0.state.isNew&&e.value0.state.name===n.value0.state.name&&fCe(e.value0.state.tierSelector)(n.value0.state.tierSelector)&&vCe(e.value0.state.view)(n.value0.state.view):e instanceof fh&&n instanceof fh?lCe(e.value0.canonicalId)(n.value0.canonicalId)&&cCe(e.value0.category)(n.value0.category)&&e.value0.compactView===n.value0.compactView&&e.value0.description===n.value0.description&&sCe(e.value0.id)(n.value0.id)&&e.value0.isNew===n.value0.isNew&&e.value0.name===n.value0.name&&fCe(e.value0.tierSelector)(n.value0.tierSelector)&&vCe(e.value0.view)(n.value0.view):!1}}},dDn=ve(mDn),_Dn=function(e){return e.maxActivities-ha(e.activities)|0},bCe=function(e){if(e.editor instanceof fy||e.editor instanceof dw)return!1;if(e.editor instanceof fh||e.editor instanceof sh)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])},hDn=function(e){return function(n){if(n instanceof R5&&mCe(bCe)(e)){var t=Xgn(tu(e.activities))(n.value0.index);if(n.value0.index instanceof _&&t instanceof _){var a=g5(e)(new _(t.value0));return Hu({activities:e.activities,activitiesToDestroy:e.activitiesToDestroy,attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:new sh({index:n.value0.index.value0,state:a})})}var a=g5(e)(E.value);return Hu({activities:e.activities,activitiesToDestroy:e.activitiesToDestroy,attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:new fh(a)})}if(n instanceof R5)return Hu(e);if(n instanceof Dq&&mCe(bCe)(e))return Hu({activities:e.activities,activitiesToDestroy:e.activitiesToDestroy,attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:new dw({activity:n.value0.activity})});if(n instanceof Dq)return Hu(e);if(n instanceof yq)return Hu({activities:e.activities,activitiesToDestroy:e.activitiesToDestroy,attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:fy.value});if(n instanceof w5){var r=function(l){return Hu({activitiesToDestroy:e.activitiesToDestroy,attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:fy.value,activities:l(e.activities)})},o=function(l){return r(function(c){return be(c)(l(c))})};if(e.editor instanceof dw)return Hu({attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:fy.value,activities:Zgn(e.editor.value0.activity)(e.activities),activitiesToDestroy:oi(e.editor.value0.activity)(e.activitiesToDestroy)});var t=function(l){var c=function(f){return Hu(e)};if(e.editor instanceof fh){var s=D5(e.editor.value0);return s instanceof _?r(function(f){return dCe(f)([s.value0])}):c(!0)}return c(!0)};if(e.editor instanceof sh){var i=D5(e.editor.value0.state);return i instanceof _?o(AS(e.editor.value0.index)(i.value0)):t(!0)}return t(!0)}if(n instanceof sy&&n.value0 instanceof gF)return hq(_Ce(hCe(yq.value)))(function(){return Hu(e)});if(n instanceof sy&&n.value0 instanceof y5)return hq(_Ce(hCe(w5.value)))(function(){return Hu(e)});if(n instanceof sy)return e.editor instanceof sh?gq(gCe(sy.create)(_q(e.editor.value0.state)(n.value0)))(function(u){return Hu({activities:e.activities,activitiesToDestroy:e.activitiesToDestroy,attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:new sh({index:e.editor.value0.index,state:u})})}):e.editor instanceof fh?gq(gCe(sy.create)(_q(e.editor.value0)(n.value0)))(function(u){return Hu({activities:e.activities,activitiesToDestroy:e.activitiesToDestroy,attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:new fh(u)})}):Hu(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])}},gDn=function(e){return ed(function(){return e.compactView?"container-xs":""}())([mw("font-weight-bold fw-bold")("Add up to "+(DCe(e.maxActivities)+" unique extracurricular activities")),ed("row")(Kgn(dCe(e.activities)([e.addNewButton(_Dn(e))(e.onStartEditing)]))(function(n){return eDn(Sf("col-12 col-md-6 d-flex")(n))})),e.hiddenInputs,sn(!e.compactView)(mw("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. `))])},DDn=10,yDn=function(e){return function(n){if(e>0)return Sf("card")(ed("card-body")([Sf("align-middle pb-2")(nDn("btn btn-link p-0 t--add-new-ec")(ke)({type:"button",onClick:n})([tDn("fe fe-plus")(cn),aDn("")("Add new activity")])),rDn("")("You can add "+(DCe(e)+(" more "+(function(){var t=e===1;return t?"activity":"activities"}()+". Your activities will show up on this page."))))]));if(Fe)return cn;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])}},bDn=function(e){return function(n){return function(t){var a=function(c){var s=yCe(yu(Ygn)(b_))(yCe(yu(oDn)(Dv))(yu(iDn)(gc)));return function(f){return f>1}(ha(Mr(s(c))(n.activities)))},r=function(c){return uDn("")({type:"hidden",name:c,value:lDn(vD(n.activities))})},o=function(){return n.editor instanceof sh?Rb("ec-editor-modal")(dq(e)(n.editor.value0.state)(function(c){return t(sy.create(c))})):n.editor instanceof fh?Rb("ec-editor-modal")(dq(e)(n.editor.value0)(function(c){return t(sy.create(c))})):cn}(),i=function(c){return function(s){if(dDn(n.editor)(new dw({activity:s})))return Sf("card mx-auto")(ed("card-body")([mw("")("Delete this activity?"),ed("row")([Sf("col-12 col-sm-6 text-center")(b5("btn btn-secondary px-4 text-nowrap t--no-dont-remove")(ke)({type:"button",onClick:DF(t)(yq.value)})("Keep it")),Sf("col-12 col-sm-6 text-center mt-2 mt-md-0")(b5("btn btn-danger px-4 text-nowrap t--yes-remove")(ke)({type:"button",onClick:DF(t)(w5.value)})("Delete it"))])]));if(Fe){var f=function(d){return d===""?mw("text-muted")("No activity name yet"):mw("")(d)},v=function(){if(n.compactView)return"";if(Fe)return be("")(xC(s));throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.Extracurriculars (line 267, column 7 - line 269, column 69): "+[])}(),p=function(){var d=Br(v)>100;return d?Il(100)(v)+"\u2026":v}();return cDn("card d-flex w-100 t--ec-activity")({_data:sDn({"test-id":"ec-selector-activity-view"})})([Sf("card-body pb-0")(ed("row")([ed("col-12")([sn(a(s))(Sf("d-flex justify-content-end")(ed("badge badge-warning bg-warning text-dark")([fDn("")("Smart Alert: "),X("this activity appears twice")]))),f(b_(s)),vDn("")([X(D_(Dv(s))),X(" | Tier "),X(pb(gc(s)))])]),Sf("col-12 mt-n2")(mw("text-muted small")(p))])),Sf("card-footer border-top-0 pt-0")(ed("row")([Sf("col col-6 ml-sm-auto")(b5("btn btn-link p-0 t--edit")(sr("Edit activity"))({type:"button",onClick:DF(t)(new R5({index:new _(c)}))})("Edit")),Sf("col col-6 ml-sm-auto text-right")(b5("btn btn-link btn-secondary-outline p-0 t--remove")(sr("Remove activity"))({type:"button",onClick:DF(t)(new Dq({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=t1(i)(n.activities),l={activities:u,ecActivities:n.activities,hiddenInputs:We(n.attributesPath)(r),addNewButton:yDn,maxActivities:n.maxActivities,compactView:n.compactView,onStartEditing:DF(t)(new R5({index:E.value})),redirectUrlOverride:E.value};return le([n.defaultView(l),o])}}},RCe=Vu("Extracurriculars")(function(e){return{init:Hu({activities:e.extracurriculars,attributesPath:E.value,attributesFormGroup:"",activitiesToDestroy:[],editor:fy.value,compactView:e.compactView,maxActivities:be(DDn)(e.maxActivities),defaultView:be(gDn)(e.defaultView)}),view:function(n){return bDn(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 gq(hDn(n)(t))(function(a){return hq(function(){return t instanceof w5?cr(pDn(e.onChange(a.activities))):Hu(Re)}())(function(){return Hu(a)})})}}}});var RDn=an(),wDn=ne(Ni),SDn=Kn(W)()(),wCe=bDe(yDe)()(),SCe=kM(eu),_w=J(W),yF=J(L),ECe=Z(Ut),EDn=hD(zn(Qn()(C({reflectSymbol:function(){return"imageUrl"}})(ie)(C({reflectSymbol:function(){return"schoolId"}})(Js)(C({reflectSymbol:function(){return"schoolName"}})(ie)(C({reflectSymbol:function(){return"score"}})(Lt)(de))))))),bq=ee(me);var Rq=J(ae),CDn=ee(B),IDn=Un(An),S5=IDn(Wt),E5=qr(Xn),C5=q(Xt),vh=q(_t),TDn=Pr(L),wq=la(L)()(),FDn=pa(Fu),MDn=Cv(),GDn=rn(ae),ADn=ne(fb),xDn=Sa(Qa(qt)),LDn=wx(),jDn=Q1(W)()(),CCe=Rn(bn),Sq=yn(CCe)(_n(dn)),ICe=gn(hn),Eq=Dn(ICe),TCe=En(Sn),Cq=wn(TCe),NDn=Hl(ae),I5=pa(Sr),Iq=xn(_o),T5=function(){function e(){}return e.value=new e,e}(),F5=function(){function e(){}return e.value=new e,e}(),Tq=function(){function e(){}return e.value=new e,e}(),M5=function(){function e(){}return e.value=new e,e}(),PDn=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),FCe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),MCe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),GCe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),ACe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),xCe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),vy=function(){function e(){}return e.value=new e,e}(),LCe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),ODn={to:function(e){if(e instanceof H)return T5.value;if(e instanceof m&&e.value0 instanceof H)return F5.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof H)return Tq.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof m)return M5.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 T5)return new H(se.value);if(e instanceof F5)return new m(new H(se.value));if(e instanceof Tq)return new m(new m(new H(se.value)));if(e instanceof M5)return new m(new m(new m(se.value)));throw new Error("Failed pattern match at Guidance.LiteChancingCta (line 85, column 1 - line 85, column 39): "+[e.constructor.name])}},kDn=pn(ODn)(Sq(Sq(Sq(CCe)(ICe))(Eq))(Eq))(Cq(Cq(Cq(TCe))))(Eq),jCe=function(e){if(e instanceof T5)return"Female";if(e instanceof F5)return"Male";if(e instanceof Tq)return"Non-binary / third gender";if(e instanceof M5)return"Gender not specified";throw new Error("Failed pattern match at Guidance.LiteChancingCta (line 88, column 20 - line 92, column 43): "+[e.constructor.name])},NCe=function(e){return be(e)(tu(yi("|")(e))(1))},PCe=function(e){return{label:e.name,value:RDn(e.slug)+("_"+wDn(e.id))}},UDn=function(){var e=yi("_");return function(n){return function(t){return tu(t)(1)}(e(function(t){return t.value}(n)))}}(),OCe=function(e){return SDn(e.className)({style:mn({flexBasis:"46%"})})([e.label,wCe({min:200,max:800,step:10,value:SCe(200)(800)(e.score),trackColor:"#008CFD",fillBefore:!0,ariaLabel:"SAT "+(e.ariaLabelPartial+" score slider"),onChange:e.onChange,onFinalChange:e.onFinalChange}),_w("mt-2 d-flex flex-row justify-content-between")([yF("")("200"),yF("")("800")])])},HDn=go($r($o))("blog_lite_chancing_path")(function(e){return function(n){return ECe(e(n))(eo(function(t){return EDn("Lite Chancing Response")(t)(function(a){return new _(bq(a)(function(r){return{imageUrl:r.imageUrl,schoolId:r.schoolId,schoolName:r.schoolName,score:new _(r.score)}}))})}))}});var BDn=function(e){return _w(e.className)([e.label,Rq("t--lite-chancing-cta-left-sidebar-gpa")(wCe({min:1,max:4,step:.1,value:SCe(1)(4)(e.gpa),trackColor:"#008CFD",fillBefore:!0,ariaLabel:"GPA slider",onChange:e.onChange,onFinalChange:e.onFinalChange})),_w("mt-2 d-flex flex-row justify-content-between")([yF("")("1.0"),yF("")("4.0")])])},JDn=function(e){return e instanceof T5?"female":e instanceof F5?"male":"other"},kCe=function(e){return function(n){var t=co(function(o){return CDn(UDn(o))(F2)})(e),a=JDn(n.genderOption),r=vD(n.ecs);return S5(E5(ECe(HDn({schoolIds:t,gpa:n.gpa,satMath:n.satMath,satVerbal:n.satVerbal,gender:a,ecs:r}))(function(o){return C5(new et(new LCe(o)))})))(function(){return vh({ecs:n.ecs,genderOption:n.genderOption,gpa:n.gpa,redirectUrlOverride:n.redirectUrlOverride,satMath:n.satMath,satVerbal:n.satVerbal,chancingIsLoading:!0})})}},UCe=function(e){return kCe(e.schoolItems)({gpa:3.7,satMath:720,satVerbal:800,genderOption:M5.value,ecs:[],chancingIsLoading:!1,redirectUrlOverride:e.redirectUrlOverride})},HCe=function(e){return function(n){return function(t){if(t instanceof et&&t.value0 instanceof FCe)return S5(E5(C5(new et(vy.value))))(function(){return vh({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 et&&t.value0 instanceof GCe)return S5(E5(C5(new et(vy.value))))(function(){return vh({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 et&&t.value0 instanceof MCe)return vh({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 et&&t.value0 instanceof ACe)return vh({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 et&&t.value0 instanceof xCe)return vh({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 et&&t.value0 instanceof vy)return kCe(e.schools)(n);if(t instanceof et&&t.value0 instanceof LCe)return S5(E5(C5(new zt(new PDn(t.value0.value0)))))(function(){return vh({ecs:n.ecs,genderOption:n.genderOption,gpa:n.gpa,redirectUrlOverride:n.redirectUrlOverride,satMath:n.satMath,satVerbal:n.satVerbal,chancingIsLoading:!1})});if(t instanceof zt)return vh(n);throw new Error("Failed pattern match at Guidance.LiteChancingCta (line 157, column 21 - line 183, column 15): "+[t.constructor.name])}}},BCe=bx,qDn=function(e){return function(n){return le([_w("t--lite-chancing-mobile-and-left-sidebar-extracurriculars d-flex"+(" flex-row justify-content-between align-items-center "+e.className))([TDn("mt-3")("Extracurriculars"),Rq("")(sn(gi(n.ecActivities))(wq("t--lite-chancing-mobile-and-left-sidebar-add-ec")(sr("Add extracurriculars"))({href:"#",onClick:FDn(function(t){return function(){return MDn(t)(),n.onStartEditing(t)}})})("+ add")))]),_w("mt-0 pb-3 mb-2")(bq(n.ecActivities)(function(t){return GDn("badge badge-soft-secondary bg-secondary-soft small mr-1"+(" t--lite-chancing-cta-left-sidebar-add-criteria-"+D_(Dv(t))))(X(ADn(Dv(t))))})),sn(xDn(gi)(n.ecActivities))(Rq("card bg-white border-dashed")(_w("card-body "+e.className)([X("To add more ECs & see chances for 1,500 schools, "),wq("t--lite-chancing-mobile-and-left-sidebar-create-a-profile")(ke)({href:be(BCe)(e.redirectUrlOverride)})("create a full profile")]))),yF("mb-2")("")])}};var JCe=function(e){return function(n){return function(t){return t({redirectUrl:be(BCe)(e.redirectUrlOverride),ecSelector:function(a){return RCe({extracurriculars:e.ecs,compactView:!0,onChange:function(r){return function(){return n(new et(new FCe(r)))(),a.onChange()}},maxActivities:new _(1),defaultView:new _(qDn({redirectUrlOverride:e.redirectUrlOverride,className:a.className})),featureFlags:{showGenerateEcDescription:!1}})},genderDropdown:function(a){return LDn("t--lite-chancing-cta-gender gender-dropdown w-100")({toggleClass:"btn btn-outline-secondary mw-100 text-truncate "+a.className,toggleContent:X(jCe(e.genderOption)),contentId:"gender-dropdown-options-1",content:function(r){return jDn(r.className+" dropdown-menu shadow")({id:r.contentId})(bq(kDn)(function(o){return NDn("hover-bg-light")(wq("btn btn-link text-body d-block text-left t--lite-chancing-cta-gender-option")(ke)({onClick:I5(function(){return n(new et(new GCe(o)))(),a.onChange()})})(jCe(o)))}))},ariaLabelInput:sr("Gender dropdown")})},gpaSlider:function(a){return BDn({gpa:e.gpa,className:a.className,onChange:Iq(n)(function(r){return et.create(MCe.create(r))}),onFinalChange:I5(function(){return n(new et(vy.value))(),a.onChange()}),label:a.label(e.gpa)})},requestChances:n(new et(vy.value)),satMathScoreSlider:function(a){return OCe({score:e.satMath,onChange:Iq(n)(function(r){return et.create(ACe.create(r))}),onFinalChange:I5(function(){return n(new et(vy.value))(),a.onChange()}),label:a.label(Zr(e.satMath)),className:a.className,ariaLabelPartial:"math"})},satVerbalScoreSlider:function(a){return OCe({score:e.satVerbal,onChange:Iq(n)(function(r){return et.create(xCe.create(r))}),onFinalChange:I5(function(){return n(new et(vy.value))(),a.onChange()}),label:a.label(Zr(e.satVerbal)),className:a.className,ariaLabelPartial:"verbal"})}})}}};var Fq=function(){function e(){}return e.value=new e,e}(),Mq=function(){function e(){}return e.value=new e,e}(),Gq=function(){function e(){}return e.value=new e,e}(),Aq=function(){function e(){}return e.value=new e,e}(),xq=function(){function e(){}return e.value=new e,e}();var py=function(e){if(e instanceof Fq)return"much lower than average";if(e instanceof Mq)return"lower than average";if(e instanceof Gq)return"about average";if(e instanceof Aq)return"above average";if(e instanceof xq)return"among the highest";throw new Error("Failed pattern match at Common.Quintile (line 28, column 15 - line 33, column 28): "+[e.constructor.name])},ph=function(e){if(e<.2)return Fq.value;if(e<.4)return Mq.value;if(e<.6)return Gq.value;if(e<.8)return Aq.value;if(Fe)return xq.value;throw new Error("Failed pattern match at Common.Quintile (line 19, column 1 - line 19, column 37): "+[e.constructor.name])};var WDn=la(W)()(),$Dn=ee(B),zDn=jn(W)()(),VDn=pa(Sr),Lq=oa(L),QDn=Z(Kv),YDn=q(Ep),qCe=J(W),WCe=ju(L),$Ce=J(ae),XDn=Ei(ae)()(),ZDn=rn(L),KDn=rn(W),zCe=J(L);var eyn=lr(ar),nyn=function(e){return function(n){var t=function(a){if(n instanceof HO)return WDn(a)(ke)({href:Eve($Dn(n.value0)(function(r){return{slug:r.slug,tab:cu.value}}))});if(n instanceof gve)return zDn(a)(ke)({onClick:VDn(n.value0)});throw new Error("Failed pattern match at SchoolDetails.Utils (line 158, column 15 - line 166, column 46): "+[n.constructor.name])};return t(e)([Lq("material-symbol mr-2")("tune"),X(" Simulate chances")])}},VCe=nyn("btn btn-outline-primary d-flex align-items-center justify-content-center px-4"),mh=function(e){var n=J(e);return function(t){var a=J(t);return function(r){return le(rg(QDn(r)(function(o){return YDn([qCe("row align-items-center")([n("col text-nowrap")(o.title),a("col-auto font-weight-semibold")(o.value)]),Xa("")])})))}}},my=function(e){return J(e)("t--subtitle")},tyn=my(W),hw=function(e){var n=$g(e);return function(t){return function(a){return tyn([le(n(t)),X(" "),WCe("text-secondary")(a)])}}},QCe=function(e){var n=J(e);return function(t){return function(a){return function(r){return qCe("row "+a)([$Ce("col-auto")(Lq(r+(" fe large fe-"+t.icon))("")),n("col pl-0")(t.body)])}}}},jq=function(e){var n=QCe(e);return function(t){return n(t)("mb-3")("")}},YCe=function(e){var n=QCe(e);return function(t){return n(t)("mb-4")("text-secondary font-weight-bold fw-bold")}},XCe="bg-very-light-grey d-inline-block rounded-pill border small mr-2 mb-2 py-2 px-3",bF=function(e){return function(n){return $Ce(XCe)(XDn({placement:pf,overlay:ZDn("text-secondary")(n),overlayStyle:mn({width:"15rem"})})(KDn("d-inline-flex align-items-center")([X(e),Lq("d-inline-block fe fe-help-circle ml-2 text-secondary")("")])))}},$l=zCe(XCe);var ir=function(e){return zCe("x-large "+e)};var G5=function(e){if(e.totalUndergrads<200)return"fewer than 200";if(Fe)return af(eyn(e.totalUndergrads)(100)*100|0);throw new Error("Failed pattern match at SchoolDetails.Utils (line 140, column 1 - line 140, column 71): "+[e.constructor.name])};var A5=WCe("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 ayn=oa(ae),ryn=la(ae)()(),gw=function(){function e(){}return e.value=new e,e}(),Nq=function(){function e(){}return e.value=new e,e}(),RF=function(){function e(){}return e.value=new e,e}(),ip=function(e){return function(n){var t=function(o){return ayn("fe fe-external-link "+o)(cn)},a=I4(n),r=be(a.siteName)(e.text);return ryn(e.className)(sr(r))({href:a.url,target:"_blank",rel:"noopener"})(function(){if(e.icon instanceof gw)return X(r);if(e.icon instanceof Nq)return le([t("mr-1 large"),X(r)]);if(e.icon instanceof RF)return le([X(r),t("ml-1")]);throw new Error("Failed pattern match at SchoolDetails.Website (line 26, column 5 - line 29, column 61): "+[e.icon.constructor.name])}())}},ZCe=function(){return ip({className:"text-body mt-1 d-inline-block",icon:gw.value,text:E.value})}();var lyn=J(W),cyn=la(L)()(),kq=function(e){return e.chancing.endorsed?cn:lyn("my-1 ml-1 small text-gray-800")([X("Chancing is not endorsed by "),X(e.name),X("."),We(e.chancing.moreInfoLink)(function(n){return le([X(" If interested in applying, learn more about "),cyn("")(ke)({href:n})("how to prepare ")])})])};var Uq=ee(B),eIe=jn(L)()(),Hq=xn(pt),gyn=jn(ae)()(),Dyn=J(W),nIe=rn(L);var dh=function(){function e(){}return e.value=new e,e}(),Dw=function(){function e(){}return e.value=new e,e}(),yw=function(){function e(){}return e.value=new e,e}(),_h=function(){function e(){}return e.value=new e,e}(),bw=function(){function e(){}return e.value=new e,e}(),Rw=function(){function e(){}return e.value=new e,e}(),ww=function(){function e(){}return e.value=new e,e}(),Sw=function(){function e(){}return e.value=new e,e}(),hh=function(){function e(){}return e.value=new e,e}(),tIe={to:function(e){if(e instanceof H)return dh.value;if(e instanceof m&&e.value0 instanceof H)return Dw.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof H)return yw.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof m&&e.value0.value0.value0 instanceof H)return _h.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof m&&e.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0 instanceof H)return bw.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof m&&e.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0 instanceof H)return Rw.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof m&&e.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0.value0 instanceof H)return ww.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof m&&e.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0.value0.value0 instanceof H)return Sw.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof m&&e.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0.value0.value0 instanceof m)return hh.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 dh)return new H(se.value);if(e instanceof Dw)return new m(new H(se.value));if(e instanceof yw)return new m(new m(new H(se.value)));if(e instanceof _h)return new m(new m(new m(new H(se.value))));if(e instanceof bw)return new m(new m(new m(new m(new H(se.value)))));if(e instanceof Rw)return new m(new m(new m(new m(new m(new H(se.value))))));if(e instanceof ww)return new m(new m(new m(new m(new m(new m(new H(se.value)))))));if(e instanceof Sw)return new m(new m(new m(new m(new m(new m(new m(new H(se.value))))))));if(e instanceof hh)return new m(new m(new m(new m(new m(new m(new m(new m(se.value))))))));throw new Error("Failed pattern match at Sem.SchoolDetails.Edit.Section (line 53, column 1 - line 53, column 34): "+[e.constructor.name])}},aIe=function(e){return!(e instanceof hh)},x5=function(e){if(e instanceof dh)return"Basic Info";if(e instanceof yw)return"Admissions";if(e instanceof _h)return"Costs";if(e instanceof bw)return"Enrollment";if(e instanceof Rw)return"Application Requirements";if(e instanceof ww)return"Academic Offerings";if(e instanceof Sw)return"Chancing";if(e instanceof Dw)return"Header Image";if(e instanceof hh)return"Message from the College";throw new Error("Failed pattern match at Sem.SchoolDetails.Edit.Section (line 148, column 16 - line 157, column 40): "+[e.constructor.name])},IF=function(e){if(e instanceof dh)return"basic";if(e instanceof yw)return"admissions";if(e instanceof _h)return"costs";if(e instanceof bw)return"enrollment";if(e instanceof Rw)return"admission-requirements";if(e instanceof ww)return"academic-offerings";if(e instanceof Sw)return"chancing";if(e instanceof Dw)return"header-image";if(e instanceof hh)return"message-from-college";throw new Error("Failed pattern match at Sem.SchoolDetails.Edit.Section (line 160, column 13 - line 169, column 36): "+[e.constructor.name])},Bq=function(e){return sr("Edit "+x5(e))},rIe=function(e){return function(n){return function(t){return Uq(e)(function(a){return eIe("btn btn-outline-primary t--text-edit-"+IF(n))(Bq(n))({onClick:Hq(a)(n)})(t)})}}},oIe=function(e){return function(n){return Uq(e)(function(t){return gyn("btn btn-outline-primary t--edit-"+IF(n))(Bq(n))({onClick:Hq(t)(n)})(Dyn("d-flex align-content-center")([nIe("material-symbol x-large")("edit"),nIe("ml-2")("Edit")]))})}},Ci=function(e){return function(n){return Uq(e)(function(t){return eIe("btn btn-link p-0 material-symbol x-large t--edit-"+IF(n))(Bq(n))({onClick:Hq(t)(n)})("edit")})}};var yyn=ve(Pt(eae)),byn=Un(An)(Ge),Ryn=so(ko),wyn=tc(Ae)(CG),iIe=Z(Ge),Syn=q(Jn),Nv=J(W),uIe=Mt(L),Eyn=ju(L),lIe=rn(L),cIe=J(ae),sIe=Kn(L)()(),Cyn=oa(L),Iyn=Zn(L),Tyn=j(me),Jq=function(e){var n=yyn(e.school.appGroup)(new _(tae)),t=function(){if(e.school.admissions.reqClassRank instanceof E||e.school.admissions.reqClassRank instanceof _&&e.school.admissions.reqClassRank.value0 instanceof Ri)return!1;if(e.school.admissions.reqClassRank instanceof _&&e.school.admissions.reqClassRank.value0 instanceof pc||e.school.admissions.reqClassRank instanceof _&&e.school.admissions.reqClassRank.value0 instanceof ts)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=be(pc.value)(e.school.admissions.reqStandardTests),r=le([ga(byn(Ryn(wyn(a)([pc.value,ts.value])))(function(){return iIe(e.school.admissions.fracSubmittedSat)(function(o){return iIe(e.school.admissions.fracSubmittedAct)(function(i){return Syn(Nv("row mb-4")([Nv("col-12 text-nowrap mb1")([Nv("d-flex align-items-center mb-4")([uIe("mr-2 mb-0")("Tests typically submitted"),Eyn("")(` 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. `)]),Nv("")([X("SAT: "),lIe("font-weight-semibold")(Oa(o))]),cIe("progress progress-md mt-3 mt-2")(sIe("progress-bar")({style:mn({width:dC(o)})})("")),Xa(""),Nv("")([X("ACT: "),lIe("font-weight-semibold")(Oa(i))]),cIe("progress progress-md mt-3")(sIe("progress-bar")({style:mn({width:dC(i)})})(""))])]))})})})),Nv("d-flex align-items-center")([Cyn("fe fe-info large pr-2")(""),Nv("")([X(" Policies can change. Please confirm by looking at "),ip({className:"",icon:gw.value,text:new _("this school\u2019s website.")})(e.school.urls.main)])])]);return Nv("card")([Nv("card-body")([Nv("d-flex align-items-center justify-content-between mb-4")([Iyn("my-0 mr-3 flex-grow-1")("Applications"),ga(Ci(e.onEdit)(Rw.value))]),uIe("mb-4")("How to apply"),Nv("mb-4")(Tyn($l)([function(){return n?"Accepts Common App":"Doesn\u2019t accept Common App"}(),Bae(a),function(){var o=be(pc.value)(e.school.admissions.reqRecLetters);if(o instanceof Ri)return"Rec letters not used";if(o instanceof pc)return"Rec letters optional";if(o instanceof ts)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=be(pc.value)(e.school.admissions.reqToefl);if(o instanceof Ri)return"TOEFL not used (international applicants)";if(o instanceof pc)return"TOEFL optional (international applicants)";if(o instanceof ts)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])])},fIe=function(e){return Jq(e)};var vIe=lr(ar),Fyn=Yr(x8()(NM({reflectSymbol:function(){return"p25"}})()(NM({reflectSymbol:function(){return"p75"}})()(A8)(Dl))(Dl))),Xi=J(W),gh=J(ae),pIe=Mt(L),Pv=Vn(L),mIe=On(Ja),dIe=j(B),L5=nf(L),Myn=function(e){return vIe(e.p25+e.p75|0)(2)},_Ie=function(e){if(e instanceof _)return Oa(e.value0);if(e instanceof E)return"Not Reported";throw new Error("Failed pattern match at SchoolDetails.AdmissionRequirements (line 131, column 37 - line 133, column 28): "+[e.constructor.name])},qq=function(e){return qp(",")("")(e)},Ew=function(e){if(e instanceof _)return qq(af(e.value0.p25)+(" - "+af(e.value0.p75)));if(e instanceof E)return"Not Reported";throw new Error("Failed pattern match at SchoolDetails.AdmissionRequirements (line 136, column 33 - line 138, column 28): "+[e.constructor.name])},Gyn=function(e){return function(n){return Myn(Fyn(e)(n))}},Ayn=function(e){return function(n){return{p25:e.p25+n.p25|0,p75:e.p75+n.p75|0}}},xyn=le([Xi("row")([gh("col-12 col-md-7")(Pr(L)("my-5")("Wondering your admission chance to this school? Calculate your chance now")),gh(" col-12 col-md-5 my-4")(h3()({text:"Calculate your admission chance",className:"btn btn-primary btn-block"}))])]),Lyn=function(e){if(e instanceof _)return qq(af(vIe(e.value0.p25+e.value0.p75|0)(2)));if(e instanceof E)return"Not Reported";throw new Error("Failed pattern match at SchoolDetails.AdmissionRequirements (line 126, column 36 - line 128, column 28): "+[e.constructor.name])},jyn=function(e){var n=function(t){return gh("card bg-white")(Xi("card-body")(t))};return gh("row")(Xi("col-12")([n([pIe("")("SAT"),Xi("row")([Xi("col col-md-6")([Pv("")("Average SAT "),ir("")(qq(Ue("Not Reported")(af)(mIe(dIe(Gyn)(e.admissions.satMath))(e.admissions.satVerbal))))]),Xi("col col-md-6")([Pv("")("SAT 25th-75th"),ir("")(Ew(mIe(dIe(Ayn)(e.admissions.satMath))(e.admissions.satVerbal)))])]),Xi("row")([Xi("col col-md-6")([Pv("mt-5")("Students Submitting SAT"),ir("")(_Ie(e.admissions.fracSubmittedSat))])]),Xi("row")([Xi("col col-md-6")([Pv("mt-5")("Math"),L5("text-muted")("Average (25th - 75th)"),ir("")(Ew(e.admissions.satMath))]),Xi("col col-md-6")([Pv("mt-5 text-nowrap")("Reading and Writing"),L5("text-muted")("Average (25th - 75th)"),ir("")(Ew(e.admissions.satVerbal))])])]),n([pIe("")("ACT"),Xi("row")([Xi("col col-md-6")([Pv("")("Average ACT"),ir("")(Lyn(e.admissions.actComposite))]),Xi("col col-md-6")([Pv("")("ACT 25th-75th"),ir("")(Ew(e.admissions.actComposite))])]),gh("row")(Xi("col col-md-6")([Pv("mt-5")("Students Submitting ACT"),ir("")(_Ie(e.admissions.fracSubmittedAct))])),Xi("row")([Xi("col col-md-6")([Pv("mt-5")("Math"),L5("text-muted")("Average (25th - 75th)"),ir("")(Ew(e.admissions.actMath))]),Xi("col col-md-6")([Pv("mt-5")("English"),L5("text-muted")("Average (25th - 75th)"),ir("")(Ew(e.admissions.actVerbal))])])])]))},Nyn=function(e){return gh("card")(Xi("card-body")([Pv("")("Acceptance Rate"),ir("")(Ue("Not reported")(function(n){return Oa(function(t){return t.value}(n))})(e.admissions.acceptanceRate))]))},Pyn=function(e){return gh("row")(gh("col-12")(Nyn(e)))},hIe=function(e){return le([Pyn(e.school),jyn(e.school),xyn,Jq(e)])};var Oyn=rn(L),kyn=ne(P4),Wq=function(e){var n=function(t){return function(a){return Oyn("badge font-weight-bold fw-bold py-2 "+t)(a)}};if(e.strategy instanceof fr&&e.testPolicy instanceof _&&e.testPolicy.value0 instanceof Ri)return n("badge-apply-test-optional")("Test-blind admissions");if(e.testPolicy instanceof _&&e.testPolicy.value0 instanceof Ri)return fo(Co)("Received strategy, "+(kyn(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 fr)return n("badge-apply-test-optional")("Apply test optional");if(e.strategy instanceof Lr&&e.satOrigin instanceof _&&e.satOrigin.value0 instanceof sb)return n("badge-apply-with-sat")("Apply with SAT (projected from PSAT)");if(e.strategy instanceof Lr)return n("badge-apply-with-sat")("Apply with SAT");if(e.strategy instanceof Kr)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 Uyn=j(vv),Hyn=On(Ja),Byn=j(B),$q=J(ae),gIe=J(W),DIe=Mt(L),Jyn=ef(ae)()(),zq=rn(L),yIe=ne(Ye),bIe=oa(L),qyn=an(),RIe=ee(B),Wyn=ee(vv);var Vq=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),wIe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Qq=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Cw=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}(),Iw=function(){function e(){}return e.value=new e,e}(),Tw=function(){function e(){}return e.value=new e,e}(),Fw=function(){function e(){}return e.value=new e,e}(),$yn=function(e){return e};var j5={map:function(e){return function(n){return Uyn(function(t){return{regular:e(t.regular),simulated:e(t.simulated)}})(n)}}},SIe=function(e){return iC(function(n){return Hyn(Byn(function(t){return function(a){return a-t|0}})(n.regular.score))(n.simulated.score)})(e)},TF=function(e){return $q("card")($q("card-body")(gIe("row")([$q("col-8 "+function(){return e.narrowLayout?"":"order-1"}())(DIe("")("Chancing for this school is coming soon")),gIe("col-4 order-md-0 d-flex flex-column align-items-center "+function(){return e.narrowLayout?"":"order-0"}())([Jyn("")({viewBox:"-100 -100 200 100"})(cw({center:{x:0,y:0},angle0:0,angle1:s0,innerRadius:50,outerRadius:90,fill:"#EDF2F9",stroke:{color:"#EDF2F9",width:1}})),DIe("text-muted mt-2")("N/A")])])))};var N5=function(e){if(e instanceof Vq)return new _(e.value0);if(e instanceof wIe)return Fo(e.value0);if(e instanceof Qq)return new _(be(e.value0.regular)(Fo(e.value0.simulated)));throw new Error("Failed pattern match at Hub.Chancing (line 52, column 19 - line 55, column 101): "+[e.constructor.name])};var EIe=function(e){return function(n){return function(t){if(t instanceof $t&&t.value0>0)return zq("text-success "+e)("+"+(yIe(t.value0)+"%"));if(t instanceof $t&&t.value0<0)return zq("text-danger "+e)("-"+(yIe(-t.value0|0)+"%"));if(t instanceof $t)return cn;if(t instanceof Ta)return cn;if(t instanceof Dr)return zq("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])}(SIe(n))}},CIe=function(e){return function(n){return function(t){if(t instanceof $t&&t.value0>0)return bIe("fe fe-arrow-up text-success "+e)("");if(t instanceof $t&&t.value0<0)return bIe("fe fe-arrow-down text-danger "+e)("");if(t instanceof $t)return cn;if(t instanceof Ta)return cn;if(t instanceof Dr)return cn;throw new Error("Failed pattern match at Hub.Chancing (line 169, column 46 - line 174, column 25): "+[t.constructor.name])}(SIe(n))}},P5=function(e){var n=function(a){return function(r){if(e.chancingState.simulation instanceof _)return new Cw(e.chancingState.simulation.value0.effectiveProfile,new Qq({regular:r,simulated:e.chancingState.simulation.value0.results(e.school.id)}));if(e.chancingState.simulation instanceof E)return new Cw(qyn(a),new Vq(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 fo(Co)("Both chancing data and profile are present, but chancing result is absent")({schoolId:e.school.id})(function(r){return Fw.value})};if(!e.school.chancing.canChance)return Fw.value;if(e.currentUser instanceof E||e.chancingState.permanentProfile instanceof E)return Tw.value;if(e.chancingState.permanentProfile instanceof _){if(e.chancingState.chances instanceof Ta)return t(Re);if(e.chancingState.chances instanceof Dr&&e.chancingState.chances.value0 instanceof E)return Iw.value;if(e.chancingState.chances instanceof Dr&&e.chancingState.chances.value0 instanceof _)return be(Iw.value)(RIe(e.chancingState.chances.value0.value0(e.school.id))(n(e.chancingState.permanentProfile.value0)));if(e.chancingState.chances instanceof $t)return yS(t)(RIe(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])},O5=function(e){return $yn(function(n){if(n instanceof Vq)return Ta.value;if(n instanceof wIe)return Ta.value;if(n instanceof Qq)return Wyn(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 zyn=j(me),Vyn=Vn(L),IIe=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 c_)return a;if(e instanceof oD||e instanceof iD)return n;if(e instanceof uD)return t;throw new Error("Failed pattern match at SchoolDetails.Chancing.Classification (line 17, column 18 - line 21, column 38): "+[e.constructor.name])}();return le(zyn(Vyn(""))(r))};var Mw=J(ae),Yq=oa(L),Qyn=Kn(L)()(),Yyn=lr(ar),Xyn=Ft(Xr),Zyn=On(Ja),Kyn=j(B),Xq=J(W),e1n=rn(W),n1n=rn(L),t1n=jn(W)()(),a1n=pa(Sr),Gw=Mw("col-auto")(la(W)()()("")(ke)({href:Lm})([Yq("fe fe-edit-2")(""),X(" edit")])),Aw=function(e){if(e instanceof lm)return"success";if(e instanceof cm)return"primary";if(e instanceof dv)return"warning";if(e instanceof ps)return"secondary";throw new Error("Failed pattern match at SchoolDetails.Chancing.Common (line 109, column 17 - line 113, column 28): "+[e.constructor.name])},_y=function(e){return function(n){return function(t){return Mw("progress progress-"+e)(Qyn("progress-bar bg-"+n)({style:mn({width:dC(t)})})(""))}}},TIe=function(e){var n=function(t){return function(a){return Yyn(t+a|0)(2)}};return{p25:e.p25,p75:e.p75,p50:Xyn(e.p50)(Zyn(Kyn(n)(e.p25))(e.p75))}},Dh=function(e){return function(n){var t=Aw(n),a=function(r){return function(o){return Xq("d-flex large font-weight-bold fw-bold mb-3")([Yq("mr-3 fe fe-"+(o+(" text-"+t)))(""),e1n("")([X(e),n1n("text-"+t)(" \u2013 "+r)])])}};if(n instanceof lm)return a("above average")("check-circle");if(n instanceof cm)return a("about average")("thumbs-up");if(n instanceof dv)return a("below average")("trending-down");if(n instanceof ps)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])}},Zq=function(e){if(e.expanded){var n=t1n("btn btn-link px-0 t--show-less")(ke)({onClick:a1n(e.onCollapse)})([X("show less "),Yq("fe fe-chevron-up")("")]);return Mw("card bg-very-light-grey mt-3")(Xq("card-body "+e.card.testClass)([Xq("row")([Mw("col")(e.card.title),Mw("col-auto d-none d-md-block")(n)]),e.card.content,Mw("d-md-none d-flex justify-content-end mt-3")(n)]))}if(Fe)return e.card.title;throw new Error("Failed pattern match at SchoolDetails.Chancing.Common (line 41, column 1 - line 41, column 89): "+[e.constructor.name])},FIe=function(e){return yt(e.p25)&&yt(e.p50)&&yt(e.p75)};var MIe=J(W),GIe=J(L),AIe=Vn(W),xIe=Ga(L),r1n=ne(Ye),o1n=la(L)()(),LIe=function(e){return function(n){var t=MIe("row mb-2")([GIe("col-auto pr-0 large")("Your coursework"),sn(e.showUpdateLinks)(Gw)]),a=AIe("")([X("Coursework rigor is "),xIe("")("very important"),X(` 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 le([xIe("")(r1n(be(0)(u))),X(" "+(l+" "))])}},o=GIe("mb-3 large font-weight-bold fw-bold text-"+Aw(n.chances.courseRigorStrength))(function(){if(n.chances.courseRigorStrength instanceof ps)return"";if(n.chances.courseRigorStrength instanceof dv)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 lm)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=AIe("mb-0")([X("Read about what "),o1n("")(ke)({href:"https://blog.collegevine.com/category/academics/choosing-classes/",target:"_blank"})("courses you should take"),X(".")]);return{title:Dh("Coursework")(n.chances.courseRigorStrength),testClass:"t--course-rigor",content:le([t,MIe("")([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 _u=function(){function e(){}return e.value=new e,e}(),hu=function(){function e(){}return e.value=new e,e}(),jIe={show:function(e){if(e instanceof _u)return"SAT";if(e instanceof hu)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 NIe=function(e){if(e instanceof _u)return hu.value;if(e instanceof hu)return _u.value;throw new Error("Failed pattern match at Chancing.Guidance.Types.StandardizedTest (line 24, column 1 - line 24, column 46): "+[e.constructor.name])};var i1n=Li(ft),PIe=function(){function e(){}return e.value=new e,e}(),OIe=function(){function e(){}return e.value=new e,e}(),kIe=function(e){return function(n){var t=function(){if(e instanceof PIe)return"and";if(e instanceof OIe)return"or";throw new Error("Failed pattern match at Utils.Text (line 26, column 24 - line 28, column 19): "+[e.constructor.name])}(),a=YZ(n);return a.init.length===0?a.last:a.init.length===1?a.init[0]+(" "+(t+(" "+a.last))):i1n(", ")(a.init)+(", "+(t+(" "+a.last)))}},UIe=function(){return kIe(PIe.value)}(),HIe=function(){return kIe(OIe.value)}();var Ef=aa(Ae)(ft),BIe=j(Hp),vl=ne(Ye),gu=q(Jn),k5=ne(gP),U5=t0()(),JIe=_i({reflectSymbol:function(){return"math"}}),Ov=xs(Ye),qIe=xs(nu),kv=ne(U5(_i({reflectSymbol:function(){return"act"}})(_i({reflectSymbol:function(){return"courseRigor"}})(_i({reflectSymbol:function(){return"ecActivities"}})(_i({reflectSymbol:function(){return"ecScore"}})(_i({reflectSymbol:function(){return"gpa"}})(_i({reflectSymbol:function(){return"psatPredictedCompositeSAT"}})(kc({reflectSymbol:function(){return"sat"}})(U5(JIe(kc({reflectSymbol:function(){return"readingWriting"}})(Ov))(Ov))))(Ov))(qIe))(qIe))(yl(AP)))(U5(_i({reflectSymbol:function(){return"ap"}})(_i({reflectSymbol:function(){return"collegeClasses"}})(kc({reflectSymbol:function(){return"honors"}})(Ov))(Ov))(Ov))))(U5(_i({reflectSymbol:function(){return"english"}})(JIe(_i({reflectSymbol:function(){return"reading"}})(kc({reflectSymbol:function(){return"science"}})(Ov))(Ov))(Ov))(Ov))))),hy=ne(jIe),u1n=Mie(qS)(N4),yh=ne(bP),xw=ve(yP(lb)),WIe=ne(Ov),H5=ee(B),l1n=la(L)()(),c1n=Mt(L),s1n=Vn(ae),f1n=Vn(W),v1n=Ga(L),p1n=function(e){return e},m1n=function(e){return e},Kq=function(e){if(e instanceof _u)return Lr.value;if(e instanceof hu)return Kr.value;throw new Error("Failed pattern match at SchoolDetails.Chancing.Guidance (line 551, column 18 - line 553, column 22): "+[e.constructor.name])},d1n=function(e){if(e instanceof Lr)return"with SAT";if(e instanceof Kr)return"with ACT";if(e instanceof fr)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])},FF=function(e){return function(n){return Ef(["Your simulated chances of admission ",UIe(BIe(d1n)(KZ(e)(n)))," are very close."])}},$Ie=60,Uv=function(e){return function(n){return fo(Co)("SchoolDetails.Chancing.Guidance: Invalid state: "+e)(n)(function(t){return E.value})}},zIe=3,MF=ju(L)("text-secondary ml-1")(Ef(["If your SAT or ACT scores fall within ",vl($Ie)," points of the 25th percentile score (SAT) or ",vl(zIe)," points of the 25th percentile score (ACT)"," for accepted students at a given college,"," then you should go ahead and submit them."])),B5=function(e){return le([X(Ef([FF(fr.value)(yg(Kq(e.standardizedTest)))," But because your score ",vl(e.actualScore)," is ",function(){if(e.recommendedStrategy instanceof Lr||e.recommendedStrategy instanceof Kr)return"higher";if(e.recommendedStrategy instanceof fr)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 ",vl(e.guidanceScore)])),MF,X(Ef([", we recommend you apply ",function(){if(e.recommendedStrategy instanceof Lr)return"with SAT";if(e.recommendedStrategy instanceof Kr)return"with ACT";if(e.recommendedStrategy instanceof fr)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])}(),"."]))])},_1n=function(e){return function(n){return function(t){return function(a){var r=jP(n),o=g_(n);if(e instanceof O0&&e.value0 instanceof um&&r instanceof _&&o instanceof _)return gu({title:"Applying test-optional should be best for you",body:le([X(Ef([FF(fr.value)(l1(Lr.value)([Kr.value]))," But because your SAT score ",vl(r.value0)," is lower than ",vl(t)])),MF,X(Ef([" and your ACT score ",vl(o.value0)," is lower than ",vl(a)])),MF,X(", we recommend you apply test-optional.")])});if(e instanceof O0&&e.value0 instanceof um)return Uv("\u2018Apply test optional too close with SAT + ACT\u2019 recommended but not both tests reported.")({guidance:k5(e),profile:kv(n)});if(e instanceof O0&&r instanceof E&&o instanceof E)return Uv("\u2018Apply test optional too close with\u2026\u2019 recommended but no other tests reported.")({guidance:k5(e),profile:kv(n)});if(e instanceof O0&&e.value0 instanceof pv&&r instanceof _)return gu({title:"Applying test-optional should be best for you",body:B5({standardizedTest:_u.value,actualScore:r.value0,guidanceScore:t,recommendedStrategy:fr.value})});if(e instanceof O0&&e.value0 instanceof pv&&r instanceof E)return Uv("\u2018Apply test optional (SAT too close)\u2019: No SAT reported.")({guidance:k5(e),profile:kv(n)});if(e instanceof O0&&e.value0 instanceof mv&&o instanceof _)return gu({title:"Applying test-optional should be best for you",body:B5({standardizedTest:hu.value,actualScore:o.value0,guidanceScore:a,recommendedStrategy:fr.value})});if(e instanceof O0&&e.value0 instanceof mv&&o instanceof E)return Uv("\u2018Apply test optional (ACT too close)\u2019: No ACT reported.")({guidance:k5(e),profile:kv(n)});if(e instanceof DC&&r instanceof E&&o instanceof E)return gu({title:"Applying test-optional should be best for you",body:X(Ef(["You\u2019re good to apply without a test score."," If you later decide to take a test, a score of ",vl(t),"+ for SAT or ",vl(a),"+ for ACT will make your chance higher at this school."]))});if(e instanceof DC)return gu({title:"Applying test-optional should be best for you",body:X(Ef(["Your simulated chances of admission with a test-optional"," application are significantly higher than with ",function(){if(r instanceof _&&o instanceof _)return"SAT and ACT";if(r instanceof _&&o instanceof E)return"SAT";if(r instanceof E&&o instanceof _)return"ACT";if(r instanceof E&&o instanceof E)return Jc("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])}}}},h1n=function(e){return function(n){return function(t){return function(a){var r=function(f){return"Applying with "+(hy(f)+" should be best for you")},o=function(f){return le([X(Ef([kf(FF)(function(){return f.includeTestOptional?new Pe(fr.value,l1(Lr.value)([Kr.value])):new Pe(Kq(f.stronger.test),BIe(Kq)(yg(f.weaker.test)))}())," But because your ",hy(f.stronger.test)," score ",vl(f.stronger.actualScore)," is higher than ",vl(f.stronger.guidanceScore)])),MF,X(Ef([" and your ",hy(f.weaker.test)," score ",vl(f.weaker.actualScore)," is lower than ",vl(f.weaker.guidanceScore)])),MF,X(Ef([", we recommend you apply with ",hy(f.stronger.test),"."]))])},i=jP(n),u=g_(n),l=function(f){return function(v){return u1n(l1(f)([v]))}},c=function(f){return"Your simulated chances of admission with "+(hy(f)+(" are significantly higher than with a test-optional"+(" application and with "+(hy(NIe(f))+"."))))},s=function(f){return X("Your simulated chances of admission with "+(hy(f)+" are significantly higher than with a test-optional application."))};if(e instanceof vs&&e.value0 instanceof um&&i instanceof _&&u instanceof _)return gu({title:"You can apply with either SAT or ACT, or submit both of them",body:X(Gr(" ")([FF(fr.value)(l1(Lr.value)([Kr.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 vs&&e.value0 instanceof um)return Uv("\u2018Apply with tests: SAT + ACT + test-optional too close\u2019 recommended but not both tests reported.")({guidance:yh(e),profile:kv(n)});if(e instanceof of&&e.value0 instanceof um&&i instanceof _&&u instanceof _)return gu({title:"You can apply with either SAT or ACT, or submit both of them",body:X(Gr(" ")([FF(Lr.value)(yg(Kr.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 of&&e.value0 instanceof um)return Uv("\u2018Apply with tests: SAT + ACT too close\u2019 recommended but not both tests reported.")({guidance:yh(e),profile:kv(n)});if(e instanceof vs&&i instanceof E&&u instanceof E)return Uv("\u2018Apply with tests: [test] strongest (test-optional and [test] too close)\u2019 recommended but no tests reported.")({guidance:yh(e),profile:kv(n)});if(e instanceof vs&&e.value0 instanceof pv&&i instanceof _&&xw(e.value1)(cb(fr.value)))return gu({title:r(_u.value),body:B5({standardizedTest:_u.value,actualScore:i.value0,guidanceScore:t,recommendedStrategy:Lr.value})});if(e instanceof vs&&e.value0 instanceof mv&&u instanceof _&&xw(e.value1)(cb(fr.value)))return gu({title:r(hu.value),body:B5({standardizedTest:hu.value,actualScore:u.value0,guidanceScore:a,recommendedStrategy:Kr.value})});if(e instanceof vs&&e.value0 instanceof pv&&i instanceof _&&u instanceof _&&xw(e.value1)(l(Kr.value)(fr.value)))return gu({title:r(_u.value),body:o({stronger:{test:_u.value,actualScore:i.value0,guidanceScore:t},weaker:{test:hu.value,actualScore:u.value0,guidanceScore:a},includeTestOptional:!0})});if(e instanceof vs&&e.value0 instanceof mv&&i instanceof _&&u instanceof _&&xw(e.value1)(l(Lr.value)(fr.value)))return gu({title:r(hu.value),body:o({stronger:{test:hu.value,actualScore:u.value0,guidanceScore:a},weaker:{test:_u.value,actualScore:i.value0,guidanceScore:t},includeTestOptional:!0})});if(e instanceof vs&&e.value0 instanceof pv&&i instanceof _&&u instanceof _&&xw(e.value1)(cb(Kr.value)))return gu({title:r(_u.value),body:o({stronger:{test:_u.value,actualScore:i.value0,guidanceScore:t},weaker:{test:hu.value,actualScore:u.value0,guidanceScore:a},includeTestOptional:!1})});if(e instanceof vs&&e.value0 instanceof mv&&i instanceof _&&u instanceof _&&xw(e.value1)(cb(Lr.value)))return gu({title:r(hu.value),body:o({stronger:{test:hu.value,actualScore:u.value0,guidanceScore:a},weaker:{test:_u.value,actualScore:i.value0,guidanceScore:t},includeTestOptional:!1})});if(e instanceof vs)return Uv(Ef(["\u2018Apply with tests: \u2026 too close\u2019: Unknown state:"," guidance: ",yh(e),", SAT: ",WIe(i),", ACT: ",WIe(u),", SAT guidance: ",vl(t),", ACT guidance: ",vl(a)]))({guidance:yh(e),profile:kv(n)});if(e instanceof of&&i instanceof E&&u instanceof E)return Uv("\u2018Apply with tests: [test] strongest\u2019 recommended but no tests reported.")({guidance:yh(e),profile:kv(n)});if(e instanceof of&&e.value0 instanceof pv&&i instanceof _&&u instanceof _)return gu({title:r(_u.value),body:X(c(_u.value))});if(e instanceof of&&e.value0 instanceof mv&&i instanceof _&&u instanceof _)return gu({title:r(hu.value),body:X(c(hu.value))});if(e instanceof of&&e.value0 instanceof pv&&i instanceof _&&u instanceof E)return gu({title:r(_u.value),body:s(_u.value)});if(e instanceof of&&e.value0 instanceof pv&&i instanceof E&&u instanceof _)return Uv("\u2018Apply with tests: SAT strongest\u2019 recommended but ACT test reported.")({guidance:yh(e),profile:kv(n)});if(e instanceof of&&e.value0 instanceof mv&&i instanceof E&&u instanceof _)return gu({title:r(hu.value),body:s(hu.value)});if(e instanceof of&&e.value0 instanceof mv&&i instanceof _&&u instanceof E)return Uv("\u2018Apply with tests: ACT strongest\u2019 recommended but SAT reported.")({guidance:yh(e),profile:kv(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])}}}},g1n=function(e){return function(n){return function(t){var a=H5(H5(t.sat.p25)(function(o){return o-$Ie|0}))(p1n),r=H5(H5(t.act.p25)(function(o){return o-zIe|0}))(m1n);if(a instanceof _&&r instanceof _){if(e instanceof RP)return _1n(e.value0)(n)(a.value0)(r.value0);if(e instanceof wP)return h1n(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 gu({title:"We\u2019re still collecting detailed guidance data\u2026",body:le([X("Learn more about the "),l1n("")(ke)({href:"https://blog.collegevine.com/test-optional-coronavirus-policies"})("best test optional strategy recommendation"),X(".")])})}}},VIe=function(e){return function(n){return function(t){var a=g1n(e)(n)(t);return We(a)(function(r){return le([c1n("")("Recommendation: "+r.title),s1n("")(r.body),function(){var o=LC(n);if(o instanceof _&&o.value0 instanceof sb)return f1n("")([v1n("")("Note:"),X(" "),X("Your SAT score is projected based on your PSAT score.")]);if(o instanceof _&&o.value0 instanceof RC)return cn;if(o instanceof E)return cn;throw new Error("Failed pattern match at SchoolDetails.Chancing.Guidance (line 38, column 9 - line 48, column 20): "+[o.constructor.name])}()])})}}};var D1n=jn(W)()(),y1n=xn(pt),QIe=ve(Pm),b1n=oa(L),YIe=J(W),R1n=nf(L),GF=Vn(L),XIe=Mt(L),w1n=Pr(L),ZIe=J(ae),S1n=J(L),AF=function(e){var n=function(a){return D1n("btn btn-link p-0 ml-2 d-flex align-items-center")(ke)({onClick:y1n(a.value1)(z0(a.value0))})([X(function(){var r=QIe(a.value0)(vr.value);return r?"show less ":"show more "}()),b1n("fe fe-chevron-"+function(){var r=QIe(a.value0)(vr.value);return r?"up":"down"}())("")])},t=function(a){return YIe("card-body pb-3")([R1n("text-uppercase text-secondary")("Learn about chancing"),GF("")("Colleges evaluate profiles using both academic and holistic reasons."),XIe("my-2")("We evaluate your profile like colleges do, considering all factors."),GF("")("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)."),XIe("my-2")("Academics are more than just grades, which we take into account."),GF("")("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."),Xa("border-gray-500"),w1n("")("How does the chancing calculator help me without counting in all the holistic factors?"),GF("")("You can use it as your baseline for building school lists, improving your profile, and coming up with application strategies."),GF("")("We also have tools and resources that can assist with writing essays and improving other holistic aspects."),We(a)(function(r){return ZIe("d-flex justify-content-end")(n(r))})])};return ZIe("card bg-light t--sidebar")(function(){return e.mobileLayout?A1(ra($a.value))(function(a){var r=io(a);if(r instanceof $a)return YIe("card-body pb-3 d-flex align-items-center justify-content-between")([S1n("small font-weight-bold fw-bold")("Learn how your chances are calculated"),n(a)]);if(r instanceof vr)return t(new _(a));throw new Error("Failed pattern match at SchoolDetails.Chancing.Sidebar (line 14, column 49 - line 21, column 34): "+[r.constructor.name])}):t(E.value)}())};var KIe=Rn(bn),Hv=yn(KIe)(_n(dn)),eTe=gn(hn),Bv=Dn(eTe),nTe=En(Sn),Jv=wn(nTe),E1n=ee(B),C1n=Ns(Ae),I1n=ve(uf),T1n=x0(W),F1n=Y1(ae),tTe=G0(W),eW=X1(L),M1n=A0(W),G1n=ee(me),A1n=Sl(eu),x1n=Ks(L),L1n=Ks(W),aTe=rn(L),j1n=Ks(ae),N1n=J(W),P1n=J(L),O1n=function(){var e=pn(y_)(Hv(Hv(Hv(Hv(Hv(Hv(Hv(Hv(Hv(Hv(Hv(KIe)(eTe))(Bv))(Bv))(Bv))(Bv))(Bv))(Bv))(Bv))(Bv))(Bv))(Bv))(Jv(Jv(Jv(Jv(Jv(Jv(Jv(Jv(Jv(Jv(Jv(nTe))))))))))))(Bv),n=ut(ha(e));return ac(Bf)(function(t){return function(a){return{tier:a,strength:1-ut(t)/n}}})(e)}(),rTe=function(e){return function(n){return function(t){var a=function(c){return be(0)(E1n(C1n(function(s){return I1n(s.tier)(c)})(O1n))(function(s){return s.strength}))},r=T1n("table border border-light border-3")([F1n("")(tTe("")([eW("")("Activity"),eW("")("Tier"),eW("")("Strength")])),M1n("bg-white")(G1n(A1n(function(c){return-a(gc(c))})(n.ecActivities))(function(c){return tTe("")([x1n("")(b_(c)),L1n("")([aTe("d-none d-md-inline")(pb(gc(c))),aTe("d-md-none")(FP(gc(c)))]),j1n("pt-4")(_y("sm")("primary")(a(gc(c))))])}))]),o=gi(n.ecActivities),i=function(){if(o)return ps.value;if(Fe)return t.ecStrength;throw new Error("Failed pattern match at SchoolDetails.Extracurriculars (line 29, column 5 - line 31, column 39): "+[])}(),u=function(){if(i instanceof dv)return X("A typical student from your demographic background at this school has a stronger resume.");if(i instanceof cm)return X("A typical student from your demographic background at this school has a similar resume.");if(i instanceof lm)return X("Your resume is more impressive than that of a typical student from your demographic background at this school.");if(i instanceof ps)return cn;throw new Error("Failed pattern match at SchoolDetails.Extracurriculars (line 63, column 26 - line 71, column 16): "+[i.constructor.name])}(),l=N1n("row mb-2")([P1n("col-auto pr-0 font-weight-bold fw-bold")(function(){return o?"You haven't entered any extracurriculars":"Your extracurricular resume"}()),sn(e.showUpdateLinks)(Gw)]);return{title:Dh("Extracurriculars")(i),testClass:"t--extracurriculars",content:le([l,sn(!o)(r),u])}}}};var xF=function(e){var n=gr(e);return n.length===0?E.value:new _(le(n))};var oTe=Z(Ge),iTe=q(Jn),uTe=hw(L),k1n=ef(W)()(),LF=J(ae),nW=ne(Ye),lTe=lr(ar),gy=J(W),cTe=Mt(L),sTe=mh(L)(L),fTe=rn(L),U1n=Kn(L)()(),H1n=On(Ja),Lw=j(B),B1n=aa(Ae)(ft),J1n=j(Bu),q1n=an(),W1n=Zn(L),$1n=function(e){var n=function(t){return py(ph(function(a){return a.percentile}(t)))};return oTe(e.admissions.yieldRate)(function(t){return iTe(le([uTe("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, `+(Oa(t.value)+(" is "+(n(t)+`. `)))),ir("mr-1")(Oa(t.value))]))})},vTe=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(Fe)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}},jw=function(e){var n=function(r){return function(o){return function(i){return cw({center:{x:0,y:0},angle0:r,angle1:o,innerRadius:50,outerRadius:90,fill:i,stroke:{color:"#EDF2F9",width:4}})}}},t=ga(oTe(e.score)(function(r){var o=s0*(1-ut(r)/100);return iTe(n(o)(s0)("#008CFD"))})),a=n(0)(s0)("#EDF2F9");return k1n("")({viewBox:"-100 -100 200 100"})([a,t])},z1n=function(e){return LF("t--admissions-website")(ip({className:"d-flex align-items-center",icon:Nq.value,text:E.value})(be(e.urls.main)(e.urls.admissions)))},tW=function(e){var n=function(o){return function(i){var u=function(l){return nW(lTe(l(i)*100|0)(l(o)))+"%"};return gy("mb-4")([cTe("mb-4")("Acceptance rate breakdown"),sTe([{title:"Women",value:u(function(l){return l.women})},{title:"Men",value:u(function(l){return l.men})}])])}},t=function(o){return le([cTe("mb-4")("Applicant breakdown"),sTe([{title:"Total number of applicants",value:af(o.value)}])])},a=function(o){var i=o.women+o.men|0,u=lTe(o.women*100|0)(i),l=nW(100-u|0)+"%",c=nW(u)+"%";return le([gy("row mb-3")([gy("col")([X("Women: "),fTe("font-weight-semibold")(c)]),gy("col-auto")([X("Men: "),fTe("font-weight-semibold")(l)])]),LF("progress progress-md bg-warning")(U1n("progress-bar")({style:mn({width:c})})(""))])},r=gr([H1n(Lw(n)(e.admissions.applicants))(e.admissions.admitted),Lw(t)(e.admissions.totalApplicants),Lw(a)(e.admissions.applicants)]);return r.length===0?E.value:new _(le(r))},Dy=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(Fe)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=Ue("")(function(a){return B1n([Oa(a.value)," is ",n(a.value),"."])})(e.admissions.acceptanceRate);return P0(T4.value)+t},pTe=function(e){return function(n){var t=function(r){return le([uTe("Overall acceptance rate")(Dy(n)),ir("mr-1")(Oa(r.value))])},a=xF([Lw(LF("row"))(xF([Lw(J1n(LF("col-12 col-md-6 mb-4"))(t))(q1n(n).admissions.acceptanceRate),Lw(LF("col-12 col-md-6 mb-4"))($1n(n))])),tW(n)]);return gy("card t--admission-stats")([gy("card-body")([gy("d-flex mb-4 align-items-center")([W1n("mb-0 flex-grow-1")("Admissions"),ga(Ci(e.onEdit)(yw.value))]),We(a)(function(r){return le([r,Xa("")])}),z1n(n)])])}};var ws=J(W),aW=rn(L),nd=Ga(L),yy=Z(Ge),mTe=q(Jn),rW=bC(Rt),dTe=J(L),Nw=ne(Ye),_Te=J(ae),V1n=ee(B),hTe=Vn(W),Q1n=Vn(L),Y1n=VG(L),X1n=la(L)()(),Z1n=bC(eu),oW=function(e){return function(n){return ws("row align-items-center mb-2")([ws("col-auto pr-0")([aW("mr-2")("You:"),function(){if(n.score instanceof E)return aW("text-secondary")("N/A");if(n.score instanceof _)return nd("")(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])}(),sn(n.simulated)(aW("text-muted ml-2")("(simulated)"))]),sn(e.showUpdateLinks)(Gw)])}},gTe=function(e){var n=bC(e);return function(t){return function(a){var r=n(a.score)(a.percentiles);return r instanceof dv?We(a.percentiles.p50)(function(o){return ws("mt-3")([X("Improving your "+(t+" can help your chances, especially if you can earn a ")),nd("")(a.showScore(o)),X(" or higher.")])}):cn}}},K1n=gTe(eu),DTe=gTe(Rt),yTe=function(e){var n=bC(e);return function(t){if(t.score instanceof E)return cn;if(t.score instanceof _){var a=_y("md")(Aw(n(new _(t.score.value0))(t.percentiles)))(t.normalizeScore(t.score.value0)),r=ga(yy(t.percentiles.p25)(function(o){return yy(t.percentiles.p75)(function(i){return yy(t.percentiles.p50)(function(u){return mTe(le([ws("mb-2 mt-3")([X("Typical accepted student: "),nd("")(t.showScore(u)),X(" ("+(t.showScore(o)+("\u2013"+(t.showScore(i)+")"))))]),_y("md")("secondary")(t.normalizeScore(u))]))})})}));return ws("mb-2")([a,r])}throw new Error("Failed pattern match at SchoolDetails.TestScores (line 218, column 1 - line 218, column 72): "+[t.constructor.name])}},ebn=yTe(eu),bTe=yTe(Rt),RTe=ws("mt-3")([X("Standardized tests are "),nd("")("important"),X(" for your admissions chances.")]),J5=function(e){var n=TIe(e.percentiles),t=rW(e.score)(n);return be(cn)(yy(e.score)(function(a){return yy(n.p25)(function(r){return yy(n.p50)(function(o){return yy(n.p75)(function(i){return mTe(ws("col-6 my-3")([dTe("large mb-2")(e.title),ws("")([X("You: "),nd("")(Nw(a))]),_Te("my-2")(_y("sm")(Aw(t))(e.normalizeScore(a))),_Te("mb-2 mt-3")(_y("sm")("secondary")(e.normalizeScore(o))),ws("small")([X("Typical accepted: "),nd("")(Nw(o)),X(" ("+(Nw(r)+("\u2013"+(Nw(i)+")"))))])]))})})})}))},iW=function(e){return function(n){return be(!1)(V1n(e.chancingState.simulation)(function(t){return t.isFieldSimulated(n)}))}},uW=dTe("d-flex align-items-center mb-2 large"),nbn=function(e){return function(n){return function(t){return le([uW("Notes on Test Optional"),hTe("")([nd("")("Our take: consider applying test optional for this school.")]),Q1n("")("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."),sn(FIe(t.percentiles))(We(t.percentiles.p25)(function(a){return hTe("")([X("For reference, we estimate that the 25"),Y1n("")("th"),X(" percentile "+(n+" score at this school is ")),nd("")(t.showScore(a)),X(". So if you\u2019re around or below this score, it would make sense to apply test optional.")])}))])}}},wTe=nbn(Rt),lW=function(e){return function(n){return ws("my-3")([X("Read about "),X1n("")(ke)({href:n,target:"_blank"})(e),X(".")])}},STe=function(e){return function(n){var t=ws("mt-4")([X("GPA is "),nd("")("very important"),X(" for your admissions chances.")]),a={score:n.chancingProfile.gpa,percentiles:n.schoolStats.gpa.all,normalizeScore:function(r){return r/4.5},showScore:em("0.00"),simulated:iW(e)(Hve.value)};return{title:Dh("GPA")(Z1n(a.score)(a.percentiles)),testClass:"t--gpa",content:le([oW(e)(a),ebn(a),t,K1n("GPA")(a),lW("how to increase your GPA")("https://blog.collegevine.com/improve-your-high-school-gpa-with-these-5-strategies/")])}}},ETe=function(e){return function(n){var t=ws("row")([J5({title:"Math ",score:n.chancingProfile.sat.math,percentiles:n.schoolStats.sat.math,normalizeScore:function(u){return ut(u)/800}}),J5({title:"Reading and Writing",score:n.chancingProfile.sat.readingWriting,percentiles:n.schoolStats.sat.readingWriting,normalizeScore:function(u){return ut(u)/800}})]),a=Dh("SAT"),r={score:h_(n.chancingProfile),percentiles:n.schoolStats.sat.all,normalizeScore:function(u){return ut(u)/1600},showScore:Nw,simulated:iW(e)(Bve.value)},o=le([sn(yt(r.score))(uW("SAT Composite score")),oW(e)(r),bTe(r),t,RTe,DTe("SAT score")(r),lW("how to increase your SAT score")("https://blog.collegevine.com/10-tips-to-improve-your-sat-score/")]),i=rW(r.score)(r.percentiles);return n.chances.shouldApplyTestOptional?{title:a(i),testClass:"t--sat",content:le([wTe("SAT")(r),o])}:{title:a(i),testClass:"t--sat",content:o}}},CTe=function(e){return function(n){var t=Dh("ACT"),a={score:g_(n.chancingProfile),percentiles:n.schoolStats.act.all,normalizeScore:function(u){return ut(u)/36},showScore:Nw,simulated:iW(e)(Jve.value)},r=ws("row")([J5({title:"Math",score:n.chancingProfile.act.math,percentiles:n.schoolStats.act.math,normalizeScore:a.normalizeScore}),J5({title:"English",score:n.chancingProfile.act.english,percentiles:n.schoolStats.act.english,normalizeScore:a.normalizeScore})]),o=le([sn(yt(a.score))(uW("ACT Composite score")),oW(e)(a),bTe(a),r,RTe,DTe("ACT score")(a),lW("how to increase your ACT score")("https://blog.collegevine.com/10-tips-to-improve-your-act-score/")]),i=rW(a.score)(a.percentiles);return n.chances.shouldApplyTestOptional?{title:t(i),testClass:"t--act",content:le([wTe("ACT")(a),o])}:{title:t(i),testClass:"t--act",content:o}}};var Yo=J(W),bh=J(L),Du=J(ae),cW=jn(W)()(),sW=xn(pt),jF=oa(L),fW=Pr(L),ITe=Mt(W),q5=rn(L),TTe=Z(Ge),tbn=ju(L),FTe=la(L)()(),MTe=Vn(ae),abn=Ga(L),GTe=my(L),by=ve(Pm),ATe=Pc(Pt(CG)),rbn=aa(Ae)(ft),obn=Ns(Ae),ibn=ve(lb),ubn=oa(ae),lbn=Kn(L)()(),cbn=j(me),sbn=ee(me),fbn=Mt(ae),vbn=Zn(W),pbn=ju(ae),mbn=j(Hp),dbn=Vn(W),_bn=Vn(L),W5=Zn(L),hbn=ee(j5),gbn=rn(ae),xTe=function(e){return Yo("row")([bh("col")(""),Du("col-auto")(cW("btn btn-link t--show-more")(ke)({onClick:sW(e)(vr.value)})([X("show more "),jF("fe fe-chevron-down")("")]))])},LTe=function(e){return function(n){return function(t){return Yo("row align-items-center mb-3")([Du("col-12 col-lg-6")(Yo("row")([Yo("col-6 order-1 order-lg-2 my-auto")([fW("font-weight-normal fw-normal")("Your chances"),ITe("mb-0 t--chancing-percentage-label d-flex align-items-center")([q5("mr-1")(fC(e)({score:TTe(t)(function(a){return a.score}),specialCase:E.value})),A5,q5("mx-2")(""),CIe("")(n),EIe("")(n)])]),Du("col-6 order-2 order-lg-1 px-sm-4 px-lg-0")(jw({score:TTe(t)(function(a){return a.score})}))])),Yo("col-12 col-lg-6 py-3 my-auto")([fW("font-weight-normal fw-normal")("Overall acceptance rate"),ITe("text-gray-800 mb-0")([X(Ue("\u2014")(function(a){return Oa(function(r){return r.value}(a))})(e.admissions.acceptanceRate)),tbn("text-secondary ml-2")(Dy(e))])])])}}},jTe=function(e){return le([X(e),X(" requires standardized tests, but currently "),FTe("")(ke)({href:Lm})("your profile"),X(" indicates that you do not have test scores.")])},Dbn=function(e){return le([bh("badge badge-apply-test-optional font-weight-bold fw-bold py-2 mb-2")("Tests required"),LTe(e)(Ta.value)(E.value),MTe("")(jTe(e.name))])},NTe=function(e){return function(n){return function(t){return function(a){var r=Yo("row")([Du("col-auto pr-0")(jF("fe fe-info large text-secondary mt-3")("")),Yo("col")([Yo("large")([abn("")("Recommendation letters "),q5("text-secondary")("are often required.")]),bh("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 Eo(ra(vr.value))(function(o){return function(i){return Du("card")(Yo("card-body t--phase2")([GTe("Your chancing: Phase 2"),sn(by(o)($a.value))(bh("mb-4")("")),Zq({card:rTe(e)(t)(a),expanded:by(o)(vr.value),onCollapse:i($a.value)}),sn(ATe(n.admissions.reqRecLetters)(new _(Ri.value)))(r),sn(by(o)($a.value))(xTe(i))]))}})}}}},PTe=function(e){return function(n){return function(t){return function(a){var r=ATe(n.admissions.reqStandardTests)(new _(Ri.value)),o=yt(g_(t))&&r,i=yt(h_(t))&&r,u=function(l){return function(c){return Zq({card:c(e)({chancingProfile:t,chances:a,schoolStats:n.testScoreStats}),expanded:by(l.value0)(vr.value),onCollapse:l.value1($a.value)})}};return A1(ra(vr.value))(function(l){return Du("card")(Yo("card-body t--phase1")([GTe("Your chancing: Phase 1"),sn(by(l.value0)($a.value))(bh("mb-4")("")),u(l)(STe),u(l)(LIe),sn(i)(u(l)(ETe)),sn(o)(u(l)(CTe)),sn(by(l.value0)($a.value))(xTe(l.value1))]))})}}}},ybn=function(e){return X(rbn(["Chancing is not available for ",e.name," because all students are admitted if they have a high school diploma or GED."]))},bbn=function(e){return le([X("You\u2019re likely not eligible for admission at "),X(e.name),X(" because it is an "),X(ji(Qd(e.gender))),X(" school. This conclusion is based on the gender information you entered in your "),FTe("")(ke)({href:Lm})("profile"),X(".")])},Rbn=function(e){return le([X("Chancing is not available for "),X(e.name),X(` 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. `)])},wbn=function(e){return function(n){return function(t){return function(a){return function(r){var o=function(c){if(c instanceof fr)return"test-optional";if(c instanceof Lr)return"with SAT";if(c instanceof Kr)return"with ACT";throw new Error("Failed pattern match at SchoolDetails.Chancing (line 290, column 21 - line 293, column 33): "+[c.constructor.name])},i=function(c){var s=obn(function(v){return ibn(v.applicationStrategy)(c)})(r.all),f=Wq({strategy:c,satOrigin:LC(t),testPolicy:n.admissions.reqStandardTests});return Yo("row border-1 border-bottom border-light py-3 align-items-center")(function(){if(s instanceof _)return[Yo("col-12 mb-2 mb-md-0 col-md pr-0 d-flex align-items-end")([f,sn(s.value0.isRecommendedStrategy)(ubn("ml-2 fe fe-thumbs-up text-primary h3 mb-0")(cn))]),Du("col-auto pl-md-0")(q5("badge badge-light bg-light text-dark")(S4(n)(s.value0))),bh("col-auto col-md-auto pl-md-0")(fC(n)(s.value0)),Du("col col-md-2 pl-md-0")(function(){if(s.value0.score instanceof _)return Du("progress progress-md")(lbn("progress-bar")({style:mn({width:w4(s.value0.score.value0)})})(""));if(s.value0.score instanceof E)return bh("text-secondary small")("N/A");throw new Error("Failed pattern match at SchoolDetails.Chancing (line 308, column 46 - line 313, column 55): "+[s.value0.score.constructor.name])}())];if(s instanceof E)return[Du("col pr-0 d-flex align-items-end")(f),bh("col-auto text-gray-800")(function(){if(c instanceof fr)return"";if(c instanceof Lr)return"No SAT score";if(c instanceof Kr)return"No ACT score";throw new Error("Failed pattern match at SchoolDetails.Chancing (line 320, column 19 - line 323, column 53): "+[c.constructor.name])}())];throw new Error("Failed pattern match at SchoolDetails.Chancing (line 297, column 11 - line 324, column 16): "+[s.constructor.name])}())},u=function(){var c=function(s){return s.length===0?fo(Co)("Empty chancing recommended strategies, even though chances are present")({})(function(f){return[]}):s};return c(cbn(function(s){return s.applicationStrategy})(Mr(function(s){return s.isRecommendedStrategy})(r.all)))}(),l=function(c){return Eo(ra($a.value))(function(s){return function(f){return le([Yo("row mb-2 justify-content-between")([Yo("col")(sbn(u)(function(v){return fbn("d-inline-block mr-2")(Wq({strategy:v,satOrigin:LC(t),testPolicy:n.admissions.reqStandardTests}))})),Du("col-auto")(cW("btn btn-link p-0 d-flex align-items-center")(ke)({onClick:sW(f)(z0(s))})(function(){if(s instanceof $a)return[X("See why"),jF("fe fe-chevron-down ml-2")("")];if(s instanceof vr)return[X("Show less"),jF("fe fe-chevron-up ml-2")("")];throw new Error("Failed pattern match at SchoolDetails.Chancing (line 209, column 15 - line 211, column 92): "+[s.constructor.name])}()))]),We(r.top.classification)(function(v){return vbn("")([X(n.name+(" is a "+ab(v))),pbn("ml-1 text-secondary h2 mb-0")(IIe(v)),function(){if(n.admissions.reqStandardTests instanceof _&&n.admissions.reqStandardTests.value0 instanceof Ri)return cn;if(r.top.specialCase instanceof _&&r.top.specialCase.value0 instanceof N0)return cn;var p=function(y){return cn},d=El(u);return d instanceof _?X(" if you apply "+HIe(mbn(o)(d.value0))):p(!0)}()])}),LTe(n)(a)(new _(r.top)),sn(by(s)(vr.value))(le([Xa("mb-4"),Yo("")([dbn("")([X("Test policies may change in the future so be sure to check "),ip({className:"",text:new _("this school\u2019s website"),icon:RF.value})(be(n.urls.main)(n.urls.admissions))]),function(){return n.admissions.reqStandardTests instanceof _&&n.admissions.reqStandardTests.value0 instanceof Ri?_bn("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 _&&r.top.specialCase.value0 instanceof N0?MTe("font-weight-bold fw-bold")(jTe(n.name)):le([fW("")("Here\u2019s our estimation for all possible scenarios:"),function(){return n.admissions.reqStandardTests instanceof _&&n.admissions.reqStandardTests.value0 instanceof ts?cn:i(fr.value)}(),i(Lr.value),i(Kr.value)])}()]),function(){return n.admissions.reqStandardTests instanceof _&&n.admissions.reqStandardTests.value0 instanceof Ri?cn:r.top.specialCase instanceof _&&r.top.specialCase.value0 instanceof N0?cn:We(r.guidance)(function(v){return Du("mt-4")(VIe(v)(t)(r.sameDemographicStats))})}()])),function(){return e.showViewChancingExplanationCTA&&e.onSwitchTab instanceof _?le([Xa(""),cW("btn btn-link t--chancing-breakdown-cta p-0")(sr("See chancing explanation"))({onClick:sW(e.onSwitchTab.value0)(cu.value)})([jF("material-symbol x-large align-middle pr-2")("format_list_bulleted"),X("See chancing explanation")])]):cn}()])}})};if(r.top.specialCase instanceof _&&r.top.specialCase.value0 instanceof lD)return Rbn(n);if(r.top.specialCase instanceof _&&r.top.specialCase.value0 instanceof om)return bbn(n);if(r.top.specialCase instanceof _&&r.top.specialCase.value0 instanceof N0)return Dbn(n);if(r.top.specialCase instanceof _&&r.top.specialCase.value0 instanceof cD)return l(Re);if(r.top.specialCase instanceof _&&r.top.specialCase.value0 instanceof sD)return ybn(n);if(r.top.specialCase instanceof E)return l(Re);throw new Error("Failed pattern match at SchoolDetails.Chancing (line 185, column 3 - line 191, column 28): "+[r.top.specialCase.constructor.name])}}}}},Pw=function(e){return function(n){return function(t){return function(a){return function(r){return Yo("mb-4")([Du("card mb-0 t--chancing")(Yo("card-body t--chancing-overview")([W5("")("Chancing"),wbn(e)(n)(t)(a)(r)])),kq(n)])}}}}},Sbn=function(e){return function(n){return function(t){return function(a){return function(r){return function(o){return o.top.specialCase instanceof _&&o.top.specialCase.value0 instanceof om&&e.mobileLayout?Pw(n)(t)(a)(r)(o):o.top.specialCase instanceof _&&o.top.specialCase.value0 instanceof om?Du("row")(Du("col-8")(Pw(n)(t)(a)(r)(o))):e.mobileLayout?le([Pw(n)(t)(a)(r)(o),W5("")("Detailed profile breakdown"),PTe(e)(t)(a)(o.top),NTe(e)(t)(a)(o.top),AF(e)]):Yo("row")([Yo("col-8")([Pw(n)(t)(a)(r)(o),W5("")("Detailed profile breakdown"),PTe(e)(t)(a)(o.top),NTe(e)(t)(a)(o.top)]),Yo("col-4")([We(e.currentUser)(function(i){return Du("mb-3")(VCe(e.whatificatorLink))}),AF(e)])])}}}}}},OTe=function(e){return function(n){return function(t){var a=function(i){return fo(Co)("SDP Chancing Tab is visible when chancing profile is absent")({schoolId:e.id})(function(u){return cn})},r=function(i){return We(tW(e))(function(u){return le([W5("")("In the meantime, here\u2019s the published data about admissions at "+(e.name+":")),u])})},o=function(i){if(n.mobileLayout)return le([TF({narrowLayout:!0}),AF(n),r(Re)]);if(Fe)return Yo("row")([Yo("col-8")([TF({narrowLayout:!1}),r(Re)]),Du("col-4")(AF(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 Cw)return We(N5(i.value1))(Sbn(n)(t)(e)(i.value0)(hbn(O5(i.value1))(function(u){return u.top})));if(i instanceof Tw)return a(Re);if(i instanceof Fw)return o(Re);if(i instanceof Iw)return Du("text-center p-6")(gbn("spinner-border spinner-border-sm text-primary")(cn));throw new Error("Failed pattern match at SchoolDetails.Chancing (line 81, column 5 - line 90, column 73): "+[i.constructor.name])}(P5({currentUser:n.currentUser,chancingState:n.chancingState,school:e}))}}};var kTe=function(e){return function(n){return cn}};var UTe=Rv(),Ry=J(W)("d-flex")([UTe({text:"Log in",className:"btn btn-primary px-4 mr-3",auth0ActiveTab:gD}),UTe({text:"Sign up (it's free!)",className:"btn btn-outline-primary px-4",auth0ActiveTab:bv})]);var Ebn=J(W),HTe=J(ae),Cbn=Pr(L),Ibn=jn(W)()(),Tbn=pa(Sr),Fbn=oa(L),vW=Vn(W),BTe=J(L),pW=Ga(L),Mbn=rn(W),JTe=la(L)()(),Gbn=Hl(W),qTe=e3(),mW=Vn(L),Abn=ZG(W),WTe=function(e){return function(n){return Ebn("row align-items-center w-100")([HTe("col")(Cbn("my-0")(n)),HTe("col-auto pr-0")(Ibn("btn btn-link p-0 d-flex align-items-center")(ke)({onClick:Tbn(e)})([X("Cancel "),Fbn("fe fe-x ml-2 large")("")]))])}},$Te=function(e){return function(n){var t=function(r){return function(o){return function(i){if(i)return le([vW("mb-1")([BTe("badge badge-soft-success bg-success-soft mr-2")("Profile complete"),pW("text-success")("Great job \u2013\xA0your CollegeVine "+(r+" profile looks complete."))]),Mbn("")([X("(you can always "),JTe("")(ke)({href:o})("update it"),X(" to make sure)")])]);if(!i)return le([vW("")([BTe("badge badge-soft-danger bg-danger-soft mr-2")("Incomplete"),pW("text-danger")("Your "+(r+" profile is incomplete."))]),JTe("btn btn-primary px-4")(ke)({href:o})("Complete "+(r+" profile"))]);throw new Error("Failed pattern match at SchoolDetails.Finances.Modal (line 54, column 5 - line 64, column 8): "+[r.constructor.name,o.constructor.name,i.constructor.name])}}},a=function(r){return Gbn("mb-4")([vW("mb-1")([pW("")("Your "+(r.name+" profile,")),X(r.description)]),t(r.name)(r.url)(r.isComplete)])};return qTe({header:WTe(n.close)("Great, let\u2019s estimate your personalized net cost."),body:le([mW("")("Your college cost depends on two types of information:"),Abn("")([a({name:"chancing",url:Lm,isComplete:yt(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:oA,isComplete:e.hasFinancialProfile,description:` which includes information that colleges will use to determine your financial need. `})])])})}},zTe=function(e){return qTe({header:WTe(e.close)("Please log in to get your personalized cost estimate"),body:le([mW("")(` You need a CollegeVine account to estimate your cost. You\u2019ll enter your information once and unlock estimates for all schools on CollegeVine! `),mW("")("Please log in or sign up to continue:"),Ry])})};var Xo=J(W),$5=Zn(L),Cf=J(ae),VTe=Pr(L),dW=Vn(W),QTe=J(L),_W=Ga(L),hW=mh(L)(L),NF=Vn(L),YTe=Mt(W),XTe=ju(L),xbn=j(B),Lbn=jn(W)()(),ZTe=xn(pt),jbn=oa(L),KTe=my(L),Nbn=jn(L)()(),eFe=ss(L),Pbn=la(L)()(),Obn=Mt(L),Ow=function(){function e(){}return e.value=new e,e}(),z5=function(){function e(){}return e.value=new e,e}(),nFe=function(){function e(){}return e.value=new e,e}(),PF=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),gW=function(){function e(){}return e.value=new e,e}(),V5=function(){function e(){}return e.value=new e,e}(),Q5=function(e){return function(n){return Xo("card t--financials-zero-cost")([Xo("d-flex align-items-center justify-content-between card-header")([$5("flex-grow-1 my-0")("Cost & scholarships"),We(e.editButton)(Cf("flex-grow-0"))]),Xo("card-body")([VTe("")("The cost to students is zero"),dW("small text-muted mb-0")([X("Some schools do not charge tuition, or they cover the full cost for students. Always check "),ip({className:"",icon:gw.value,text:new _("the school\u2019s website")})(n.urls.main),X(` to understand the type of commitment you\u2019re making, or conditions you must satisfy, in order to qualify for the no-cost program. `)])])])}},Y5=function(e){return function(n){return function(t){var a=t(new PF(Ow.value));if(n instanceof Ow)return cn;if(n instanceof z5)return $Te(e)({close:a});if(n instanceof nFe)return zTe({close:a});throw new Error("Failed pattern match at SchoolDetails.Finances.Common (line 330, column 3 - line 333, column 45): "+[n.constructor.name])}}},DW=function(e){var n=function(t){return function(a){return{title:a,value:Au(t)}}};return le([Xo("row py-3")([QTe("col font-weight-semibold")("Income"),Cf("col-auto")(_W("")("Average net cost"))]),Xa("mt-0"),Cf("mt-4")(hW([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")]))])},X5=function(e){var n=function(a){return function(r){return ip({className:"",icon:RF.value,text:new _(r)})(a)}},t=function(){if(e.finAid instanceof _&&e.priceCalculator instanceof _)return le([n(e.finAid.value0)("financial aid website"),X(" or their "),n(e.priceCalculator.value0)("net price calculator")]);if(e.finAid instanceof _&&e.priceCalculator instanceof E)return n(e.finAid.value0)("financial aid website");if(e.finAid instanceof E&&e.priceCalculator instanceof _)return n(e.priceCalculator.value0)("net price calculator");if(e.finAid instanceof E&&e.priceCalculator instanceof E)return n(e.main)("website");throw new Error("Failed pattern match at SchoolDetails.Finances.Common (line 230, column 16 - line 241, column 33): "+[e.finAid.constructor.name,e.priceCalculator.constructor.name])}();return le([NF("font-weight-bold fw-bold small text-gray-800 mb-1")("* This is an estimate"),dW("small text-gray-800")([X(` Be sure to confirm your costs and other requirements on the school\u2019s website. Visit the school\u2019s `),t,X(" to learn more.")])])},kbn=Cf("")(YTe("mb-4")([X("Cost before aid "),XTe("text-secondary")(` The \u201Csticker price\u201D of a school, which includes tuition, fees, and room and board. `)])),tFe=NF("")(` 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). `),OF=le([tFe,NF("font-weight-bold fw-bold mb-2")("Want to see your personalized net cost after financial aid and scholarships?")]),yW=YTe("mb-3 mt-4")([X("Average net cost after aid "),XTe("text-secondary")(` The average of the amount actually paid by students, per family income range. `)]),bW=function(e){return le([Cf("")(yW),Xa("mb-0"),Cf("mb-4")(DW(e))])},RW=function(e){return function(n){return Xo("card t--financials-cost-before-aid")([Xo("card-body")([Xo("d-flex align-items-center justify-content-between mb-5")([$5("my-0 mr-3 flex-grow-1")("Cost & scholarships"),ga(Ci(n.onEdit)(_h.value))]),kbn,hW([{title:"In-state total cost",value:Ue("unknown")(function(t){return Au(ut(t))})(Xp(n.school))},{title:"Out-of-state total cost",value:Ue("unknown")(function(t){return Au(ut(t))})(UE(n.school))}]),be(cn)(xbn(bW)(n.school.averageNetPrice)),sn(n.showCta)(le([OF,Lbn("btn btn-link t--estimate-my-cost p-0")(ke)({onClick:ZTe(e)(new PF(z5.value))})([jbn("material-symbol x-large align-middle pr-2")("calculate"),X("Estimate my personalized net cost")])]))])])}},wW=function(e){return function(n){var t=function(o){return function(i){return Xo("col-12 mt-2 col-md-6 mt-md-0")([KTe(i),ir("")(Ue("unknown")(function(u){return Au(ut(u))})(o))])}},a=Xo("row")([Xo("col-12 col-md mb-2 mb-md-4")([KTe("Your estimated net cost"),QTe("font-weight-bold fw-bold text-secondary x-large")("$ ? / year")]),sn(n.showCta)(Cf("col-12 col-md-auto mb-3 mb-md-0")(Nbn("btn btn-primary px-4 t--estimate-my-cost")(ke)({onClick:ZTe(e)(new PF(nFe.value))})("Estimate my cost")))]),r=le([eFe("")("What are "+(n.school.name+"\u2019s Tuition and Fees?")),dW("")([X("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 `))))),Pbn("")(ke)({href:oA})("free cost calculator"),X(".")])]);return Xo("card border border-light rounded p-4 mx-2 mb-4")([sn(n.showExtended)(r),a,Xo("row")([t(Xp(n.school))("In-state"),t(UE(n.school))("Out-of-state")])])}},kF=function(e){return function(n){return function(t){return function(a){if(a instanceof gW){var r=Xo("d-flex align-items-center justify-content-between mb-3")([$5("my-0 mr-3")("Cost & scholarships"),ga(e.editButton)]);return le([Xo("card t--financials-anonymous")(function(){if(t.averageNetPrice instanceof E)return[Xo("card-body")([r,wW(n)({school:t,showCta:e.showCta,showExtended:!1}),OF,Ry])];if(t.averageNetPrice instanceof _)return[Xo("card-body")([$5("")("Cost & scholarships"),wW(n)({school:t,showCta:e.showCta,showExtended:!1}),yW,DW(t.averageNetPrice.value0),Xo("px-3")([OF,Ry])])];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 V5){var o=function(){var i=function(u){return function(l){return{title:l,value:Ue("unknown")(function(c){return Au(ut(c))})(u)}}};return le([Xo("row mx-0 py-3 border-bottom")([Cf("col pl-0")(_W("")("Type")),Cf("col-auto pr-0")(_W("")("Annual Cost"))]),Cf("mt-4")(hW([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 le([wW(n)({school:t,showCta:e.showCta,showExtended:!0}),Cf("card")(Xo("card-body")([eFe("mb-4")("What does it cost to attend "+(t.name+"?")),VTe("")("Net Price Breakdown"),NF("mb-5")("The Net Price is the estimated cost after the average aid amount is applied to the total amount."),Xo("t--financials-anonymous")(function(){if(t.averageNetPrice instanceof E)return[OF,Ry];if(t.averageNetPrice instanceof _)return[yW,DW(t.averageNetPrice.value0),function(){return e.showCta?Xo("")([OF,Ry]):tFe}()];throw new Error("Failed pattern match at SchoolDetails.Finances.Common (line 117, column 9 - line 133, column 14): "+[t.averageNetPrice.constructor.name])}())])),Cf("card")(Xo("card-body")([Obn("mb-4")("Sticker Price Breakdown"),NF("")(` 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 Ubn=q(_t),Hbn=an(),UF=J(ae),Ss=J(W),aFe=ss(L),wy=Vn(L),Bbn=la(W)()(),SW=rn(L),rFe=J(L),oFe=Ga(L),Jbn=Li(wd),qbn=j(me),Wbn=Zn(L),$bn=Mt(ae),zbn=my(L),Vbn=j(B),Qbn=jn(W)()(),Ybn=xn(pt),Xbn=oa(L),Zbn=ve(Pt(dr)),iFe=function(e){return function(n){return Ubn(n.value0)}},uFe=function(){return Ow.value}(),EW=function(e){var n=function(){var a=Hbn(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 sn(a)(UF("card")(Ss("card-body")([aFe("")(r),o])))}}};return Ss("t--financials-aid-explanation mt-5")([t(n.grants)("Grants")(le([wy("")("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."),X("% of undergraduates that receive Pell grants"),ir("")(Oa(e.fracPellGrants))])),t(n.scholarships)("Merit scholarships")(wy("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")(le([wy("")("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."),Ss("row")([Ss("col")([X("% of full-time first-time undergraduates awarded federal student loans"),ir("")(Oa(e.fracLoans))]),Ss("col")([X("Avg. amount of federal student loans awarded to full-time first-time undergrads"),ir("")(Au(ut(be(0)(e.averageFederalLoan))))])])])),t(n.workStudy)("Work-study")(le([wy("")("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."),Bbn("d-flex align-items-center")(ke)({href:Cve,target:"_blank"})([SW("material-symbol pr-2")("open_in_new"),SW("")("Learn more about how it works and what types of jobs are available")])]))])},Kbn=function(e){return function(n){var t=function(l){return[Ss("row align-items-center")([UF("col")(l.title),UF("col-auto")(l.value)])]},a=le([wy("mb-1")("Your estimated net cost"),ir("")(Au(n.estimatedNetCost)+" / year *")]),r=be(0)(n.estimatedMeritAid),o=le([rFe("mb-3")("Scholarships"),rFe("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?oFe("")("-"+Au(l)):SW("text-muted")("Unlikely")},u=Ss("mb-2")(Jbn([Xa("mt-3 mb-3")])(qbn(t)([{title:X("Cost (tuition, fees, room and board)"),value:oFe("")(Au(n.stickerPrice))},{title:X("Need-based financial aid"),value:i(n.financialAid)},{title:o,value:i(r)}])));return le([UF("card t--financials-personal-estimate-breakdown")(Ss("card-body")([Wbn("mb-5")("Cost & scholarships"),a,Xa("mb-4 mt-2"),$bn("mb-4 mt-2")(zbn("Your estimated net cost breakdown")),u,Xa("mt-3 mb-3"),UF("mb-n3")(X5(e.urls))])),EW(e)])}},eRn=function(e){return function(n){var t=Ss("row mb-4")([Ss("col-12 col-md-6")([wy("mb-1")("In-state total cost"),ir("")(Ue("unknown")(function(a){return Au(ut(a))})(Xp(n)))]),Ss("col-12 col-md-6")([wy("mb-1")("Out-of-state total cost"),ir("")(Ue("unknown")(function(a){return Au(ut(a))})(UE(n)))])]);return Ss("card t--financials-cost-before-aid")([Ss("card-body")([aFe("fw-normal font-weight-normal")("Cost"),t,be(cn)(Vbn(bW)(n.averageNetPrice)),Qbn("btn btn-link t--estimate-my-cost p-0")(ke)({onClick:Ybn(e)(new PF(z5.value))})([Xbn("material-symbol x-large align-middle pr-2")("calculate"),X("Estimate my personalized net cost")])])])}},lFe=function(e){return function(n){return function(t){return function(a){return function(r){return le([Y5(n)(a)(r),function(){var o=Zbn(Xp(e))(new _(0));if(o)return Q5({editButton:E.value})(e);var i=_r(n.currentUser);if(i)return le([ga(lf(n.configuration)(kF({showCta:!1,editButton:E.value})(r)(e)(V5.value))),ga(Ku(n.configuration)(kF({showCta:!0,editButton:E.value})(r)(e)(V5.value))),EW(e)]);var u=yt(t);return u?We(t)(Kbn(e)):le([eRn(r)(e),EW(e)])}()])}}}}};var nRn=an(),cFe=jn(L)()(),sFe=pa(Sr),Z5=J(W),CW=J(ae),tRn=qo(),aRn=ve(Pt(S3)),IW=ee(B),rRn=ve(Pt(w3)),fFe=oa(L),oRn=J(L),vFe=rn(L),iRn=Ei(ae)()(),pFe=function(e){var n=nRn(e.school),t=function(u){return cFe("btn btn-outline-primary flex-grow-1 px-md-4 t--sdp-invitation-footer-ignore "+u)(ke)({onClick:sFe(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=Fo(lC(n.id)(e.schoolDb)),o=function(u){if(e.mobileLayout)return Z5("card-footer bg-white "+u);var l=CW("container card"),c=Z5("card-body mb-0 "+u);return function(s){return l(c(s))}},i=function(u){return cFe("btn btn-primary flex-grow-1 px-md-4 t--sdp-invitation-footer-accept "+u)(ke)({onClick:sFe(e.onAcceptInvitation)})("Accept")};return ru(tRn(ra(aRn(IW(r)(function(u){return u.status}))(new _(li.value))&&rRn(IW(r)(function(u){return u.initiator}))(new _(qi.value))))(function(u){return Jo(i_(u.value0)(function(l){return We(IW(r)(function(c){return c.status}))(function(c){return CW("position-fixed fixed-bottom t--sdp-invitation-footer")(o("d-flex flex-column flex-md-row align-items-stretch align-items-md-center")([Z5("d-flex flex-nowrap align-items-center mr-md-3")([fFe(a)(""),oRn("")(n.name+" wants to connect!")]),CW("d-flex flex-nowrap mt-3 mt-md-0 mr-md-3")(function(){if(c instanceof li&&e.mobileLayout)return le([i("mr-3"),t("")]);if(c instanceof li)return le([t("mr-3"),i("")]);if(c instanceof Dc)return vFe("text-success")("Connected");if(c instanceof nl)return vFe("text-secondary")("Ignored");throw new Error("Failed pattern match at SchoolDetails.Footer (line 46, column 15 - line 54, column 52): "+[c.constructor.name])}()),Z5("d-flex flex-nowrap align-items-center mt-3 mt-md-0 flex-grow-1 justify-content-md-end")([X("What is a connection?"),iRn({placement:pf,overlay:X(` 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:mn({maxWidth:"15rem",position:"fixed"}),trigger:function(){return e.mobileLayout?O_:hge}()})(fFe("fe fe-info pl-2")(""))])]))})}))}))};var lp=` (min-width: 1200px) 1140px, (min-width: 992px) 960px, (min-width: 768px) 720px, (min-width: 576px) 540px `;Ht();var TW=class extends gt.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 uRn=sc(),Fc=function(){return function(){return uRn(TW)}};var lRn=an(),mFe=oa(L),dFe=rn(L),FW=J(ae),cRn=J(W),sRn=Zn(L),fRn=ms()(),vRn=xn(pt),wa=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}(lRn(e.school)),i=Ev(e.module.data);return i instanceof H0&&o instanceof O1?"Alumni spotlight":i instanceof H0&&o instanceof k1?"Alumnae spotlight":i instanceof H0&&o instanceof Yg?"Alumni spotlight":S_(Ev(e.module.data))}(),a=sn(e.isUserHq)(function(){return e.isPublished?le([mFe("fe fe-check-circle large text-success mr-2 t--module-live-icon")(""),dFe("text-success")("Live")]):le([mFe("fe fe-x-circle large text-warning mr-2 t--module-draft-icon")(""),dFe("text-warning")("Draft")])}()),r=function(){return e.module.isLiked?"/img/icons/heart-filled-gray-800.svg":"/img/icons/heart-empty.svg"}();return FW("card-header")(cRn("row align-items-center")([sRn("col-auto mb-0")(t),FW("col d-flex align-items-center justify-content-end")(a),sn(e.showLikeButton)(FW("col-auto")(fRn("cursor-pointer t--content-module-interaction "+n)({src:r,height:"18",width:"18",onClick:vRn(e.onContentModuleInteraction)({type:function(){return e.module.isLiked?new _(oI.value):new _(rI.value)}(),moduleId:e.module.id})})))]))};var Lo=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),pRn=function(){function e(){}return e.value=new e,e}();var _Fe=function(e){if(e instanceof Lo)return e.value0;if(e instanceof pRn)return"";throw new Error("Failed pattern match at Utils.HTML.Img.Alt (line 24, column 15 - line 26, column 19): "+[e.constructor.name])};var mRn=Ma(),K5=ee(B),HF=ne(Ye),dRn=aa(Ae)(ft),_Rn=Li(ft),hRn=ee(me),gRn=L0()(),DRn=qe(da)(Su(Ro)(function(e){var n=e>=5120;return n?E.value:new _(new Pe(e,e*1.16))})(640))([5120]),Zo=function(){return function(e){return function(n){var t=mRn(n),a=rf({key:"auto",value:Bn(t.auto)("format")})(im({key:"q",value:K5(xr(t.q))(HF)})(im({key:"dpr",value:K5(xr(t.dpr))(HF)})(im({key:"ar",value:xr(t.ar)})(im({key:"crop",value:xr(t.crop)})(im({key:"fit",value:xr(t.fit)})(im({key:"h",value:K5(xr(t.h))(HF)})(im({key:"w",value:K5(xr(t.w))(HF)})(be(t.src)(Cg("?")(t.src)))))))))),r=function(i){var u=HF(Zr(i));return dRn([a,"&w=",u," ",u,"w"])},o=function(){if(VE(t.w))return _Rn(",")(hRn(DRn)(r));if(Fe)return"";throw new Error("Failed pattern match at Utils.Imgix (line 63, column 5 - line 67, column 13): "+[])}();return gRn(e)({src:a,srcSet:o,style:Bn(t.style)(mn({})),alt:_Fe(t.alt),sizes:Bn(t.sizes)("")})}}};var yRn=ne(Ni),hFe=J(W),bRn=Kn(W)()(),RRn=ee(me),wRn=Zo(),SRn=Fc()(),gFe=function(e){var n="t--academic-photo-gallery-carousel-"+yRn(va(e.school));return hFe("card")([wa(e),hFe("card-body")([bRn("flickity-viewport-visible mb-4 "+n)({style:mn({display:"none"})})(RRn(e.photos)(function(t){return wRn("w-100 rounded")({alt:new Lo("Academic photo"),src:t.url,ar:"2:1",fit:"crop",crop:"faces",auto:"compress,format",sizes:lp})})),SRn({containerClassName:n,onMountShowContainer:!0,pageDots:!0})])])};var ERn=J(ae),CRn=op(),e6=J(W),IRn=Kn(W)()(),TRn=ee(me),FRn=Zn(L),DFe=J(L),MRn=Fc()(),yFe=function(e){var n=function(t){return We(t)(function(a){return ERn("col-12 col-md-auto mb-4 mb-md-0 d-flex justify-content-center justify-content-md-start align-items-md-center")(CRn({source:new Uu({url:a+"?fit=crop&crop=faces,edges&w=256&h=256&auto=compress,format"}),size:vw.value}))})};return e6("card")([wa(e),e6("card-body mb-4")([IRn("flickity-viewport-visible t--alumni-spotlight-carousel")({style:mn({display:"none"})})(TRn(e.props.alumni)(function(t){return e6("row py-3 px-5 w-100")([n(t.avatarURL),e6("col-12 col-md ml-2")([FRn("mb-1")(t.name),DFe("small text-secondary")(t.degreeGraduationYear),DFe("mt-3")(t.bio)])])})),MRn({containerClassName:"t--alumni-spotlight-carousel",onMountShowContainer:!0,pageDots:!0})])])};var n6=J(W),GRn=ee(me),ARn=J(ae),xRn=j0(L)()(),LRn=Mt(L),jRn=Vn(L),bFe=function(e){return n6("card")([wa(e),n6("card-body")(GRn(e.videos)(function(n){return n6("row mb-4 align-items-center text-center text-md-left")([ARn("col-12 col-md-auto")(xRn("h-100 border-0 rounded")({src:n.link,allowFullScreen:!0})("")),n6("col mt-2 mt-md-0")([LRn("")(n.title),jRn("")(m_(n.duration))])])}))])};var NRn=an(),RFe=aa(Ae)(ft),t6=ne(nu),wFe=YCe(W),MW=J(L),SFe=J(W),PRn=L0()(),ORn=mh(L)(ae),EFe=function(e){var n=NRn(e.school),t=j1(ME(n.address)).lng,a=j1(ME(n.address)).lat,r=function(i){return RFe(["https://api.mapbox.com/styles/v1/collegevine-ivy/ck8z1m02b06f41io4o6s4z5md/static/pin-s+3c8df5(",t6(t),",",t6(a)+")/",t6(t),",",t6(a),",6.57,0/600x400@2x?access_token=",i])},o=function(i){if(i instanceof fc)return wFe({icon:"map-pin",body:[MW("")(i.value0.street),MW("")(RFe([i.value0.city,", ",$d(i.value0.state)," ",i.value0.zip]))]});if(i instanceof Al)return wFe({icon:"map-pin",body:[MW("")(i.value0.address)]});throw new Error("Failed pattern match at SchoolDetails.ContentModules.CampusLocation (line 40, column 15 - line 55, column 10): "+[i.constructor.name])};return SFe("card")([wa(e),SFe("card-body")([PRn("w-100 mb-5 rounded")({src:r(e.mapboxAccessToken)}),ORn([{title:"Campus Setting",value:X(Qg(n.setting))},{title:"Region",value:X(FE(n.address))}]),o(n.address)])])};var kRn=ne(Ni),CFe=J(W),URn=Kn(W)()(),HRn=ee(me),BRn=Zo(),JRn=Fc()(),IFe=function(e){var n="t--campus-photo-gallery-carousel-"+kRn(va(e.school));return CFe("card")([wa(e),CFe("card-body")([URn("flickity-viewport-visible mb-4 "+n)({style:mn({display:"none"})})(HRn(e.photos)(function(t){return BRn("w-100 rounded")({alt:new Lo("Campus photo"),src:t.url,fit:"crop",crop:"faces",ar:"2:1",auto:"compress,format",sizes:lp})})),JRn({containerClassName:n,onMountShowContainer:!0,pageDots:!0})])])};var a6=J(W),qRn=ee(me),WRn=J(ae),$Rn=j0(L)()(),zRn=Mt(L),VRn=Vn(L),TFe=function(e){return a6("card")([wa(e),a6("card-body")(qRn(e.videos)(function(n){return a6("row mb-4 align-items-center text-center text-md-left")([WRn("col-12 col-md-auto")($Rn("h-100 border-0 rounded")({src:n.url,allowFullScreen:!0})("")),a6("col mt-2 mt-md-0")([zRn("")(n.title),VRn("")(m_(n.duration))])])}))])};var FFe=qo(),QRn=Kn(ae)()(),BF=J(W),YRn=Zn(L),r6=J(ae),XRn=ui()(),MFe=xn(_o),ZRn=rn(L),GFe=$e(Xe),KRn=ee(me),Rh=function(e){var n=function(a){return function(r){return function(o){var i=function(u){return Mr(function(l){return r(u)(e.filter.toValue(l))})(o)};return Ue(o)(i)(a)}}},t=function(a){return function(r){return a===""?r:Mr(function(o){return qc(ji(a))(ji(e.search.toTerm(o)))})(r)}};return ru(FFe(ra(""))(function(a){return FFe(ra(E.value))(function(r){return Jo(QRn("")({style:mn({marginBottom:"10rem"})})(BF("card")([YRn("card-header")(e.title),BF("card-body")([BF("form-row")([r6("col-12 col-md-6")(BF("input-group input-group-merge")([XRn("form-control form-control-prepended "+e.search.className)({type:"text",value:a.value0,placeholder:e.search.placeholder,onChange:MFe(a.value1)(df)}),r6("input-group-prepend")(r6("input-group-text")(ZRn("fe fe-search font-weight-bold fw-bold")("")))])),r6("col-12 col-md-6 mt-2 mt-md-0")(wf(new ku("Search"))()({className:e.filter.className,value:r.value0,options:e.filter.items,getOptionLabel:GFe,getOptionValue:GFe,onSelect:MFe(r.value1)(_.create),isClearable:!0,onClear:r.value1(E.value),placeholder:e.filter.placeholder}))]),BF("mt-5")(KRn(n(r.value0)(e.filter.predicate)(t(a.value0)(e.items)))(e.renderItem))])])))})}))};var ewn=j(xE);var AFe=function(e){return function(n){return function(t){return $te(ewn(_g(n))(Vte(t)))({newSeed:e,size:n})}}};var JF=J(W),qF=J(ae),nwn=Z1(L)()(),twn=an(),awn=Zn(L),xFe=Vn(L),LFe=J(L),rwn=ne(Ye),jFe=ve(sa),own=Td(Ct),NFe=Op(Ct),GW=ee(me),PFe=$e(Xe),iwn=xn(_o),uwn=jn(L)()(),lwn=xn(pt),OFe=function(e){var n=function(u){return u.number+(" "+u.name)},t=function(u){return le([JF("row no-gutters g-0")([qF("col-auto")(nwn("mr-3 fe fe-book-open xx-large")({style:mn({color:be("")(function(l){return l.colors.primary}(twn(e.school)))})})("")),JF("col mt-3 pr-5")([awn("")(n(u)),We(u.description)(function(l){return xFe("")(l)}),We(u.size)(function(l){return LFe("mt-2 text-secondary")("Expected class size: "+rwn(l))}),We(u.instructors)(function(l){return LFe("mt-2 text-secondary")("Taught by: "+l)})])]),Xa("")])},a=function(u){var l=Mr(function(){var c=jFe(u);return function(s){return c(function(f){return f.department}(s))}}())(e.props.courses);return AFe(e.randomSeed)(2)(l)},r=own(NFe(GW(e.props.courses)(function(u){return u.department}))),o=NFe(GW(e.props.courses)(function(u){return u.department})),i=Rh({title:S_(Ev(e.module.data)),items:e.props.courses,renderItem:function(u){return qF("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:jFe}});return Eo(ra(Di(o)))(function(u){return function(l){return JF("card")([wa(e),JF("card-body")([qF("w-50")(wf(new ku("Select Department"))()({options:o,getOptionLabel:PFe,getOptionValue:PFe,onSelect:iwn(l)(_.create),value:u})),We(u)(function(c){return le([JF("mt-4")([xFe("text-secondary")("A sample of courses for this department"),le(GW(a(c))(t))]),qF("row mt-4")(qF("col-6 offset-3")(uwn("btn btn-outline-primary btn-block")(ke)({onClick:lwn(e.showOverlay)(i)})("Check out the full course catalog")))])})])])}})};var cwn=Li(ft),WF=J(W),swn=Zn(L),kFe=Vn(L),fwn=J(L),o6=J(ae),UFe=$e(Xe),vwn=xn(_o),pwn=ee(me),mwn=jn(L)()(),dwn=xn(pt),HFe=function(e){var n=function(u){return function(l){return u?new _(l):E.value}},t=function(u){return cwn(", ")(gr([n(u.offerings.major)("Major"),n(u.offerings.minor)("Minor"),n(u.offerings.concentration)("Concentration")]))},a=function(u){var l=Mr(function(c){return qc(u)(t(c))})(e.props.degrees);return _g(3)(l)},r=function(u){return le([WF("row no-gutters g-0")([WF("col mt-3 pr-5")([swn("")(u.name),kFe("")(u.description),fwn("mt-2 text-secondary")("Offerings: "+t(u))])]),Xa("")])},o=["Major","Minor","Concentration"],i=Rh({title:S_(Ev(e.module.data)),items:e.props.degrees,renderItem:function(u){return o6("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 qc(u)}}});return Eo(ra(Di(o)))(function(u){return function(l){return WF("card")([wa(e),WF("card-body")([o6("w-50")(wf(new ku("Select Degree Option"))()({options:o,getOptionLabel:UFe,getOptionValue:UFe,onSelect:vwn(l)(_.create),value:u})),We(u)(function(c){return le([WF("mt-4")([kFe("text-secondary")("A sample of degree options for this offering"),le(pwn(a(c))(r))]),o6("row mt-4")(o6("col-6 offset-3")(mwn("btn btn-outline-primary btn-block")(ke)({onClick:dwn(e.showOverlay)(i)})("Check out all the degree options")))])})])])}})};var _wn=ne(Ni),hwn=J(ae),gwn=op(),i6=J(W),Dwn=Kn(W)()(),ywn=ee(me),bwn=Zn(L),BFe=J(L),Rwn=Fc()(),JFe=function(e){var n="t--faculty-spotlight-carousel-"+_wn(va(e.school)),t=function(a){return We(a)(function(r){return hwn("col-12 col-md-auto mb-4 mb-md-0 d-flex justify-content-center justify-content-md-start align-items-md-center")(gwn({source:new Uu({url:r+"?fit=crop&crop=faces,edges&w=256&h=256&auto=compress,format"}),size:vw.value}))})};return i6("card")([wa(e),i6("card-body mb-4")([Dwn("flickity-viewport-visible "+n)({style:mn({display:"none"})})(ywn(e.faculty)(function(a){return i6("row py-3 px-5 w-100")([t(a.avatarUrl),i6("col-12 col-md ml-2")([bwn("mb-1")(a.name),BFe("small text-secondary")(a.department),BFe("mt-3")(a.bio)])])})),Rwn({containerClassName:n,onMountShowContainer:!0,pageDots:!0})])])};var wwn=Kn(L)()(),AW=ee(me),Sy=J(W),u6=J(L),Swn=Ei(ae)()(),Ewn=ef(W)()(),Cwn=Ma(),Iwn=Zn(L),$F=J(ae),Twn=function(e){return function(n){var t=function(c){return wwn("rounded")({style:mn({width:"0.5rem",height:"0.5rem",backgroundColor:c})})("")},a=le(AW(e)(function(c){return Sy("d-flex align-items-center mt-2")([t(c.color),u6("ml-2")(c.name+(": "+c.pct))])})),r=le(AW(e)(function(c){return le([Sy("row align-items-center")([Sy("col text-nowrap")([Sy("d-flex align-items-center")([t(c.color),u6("ml-2")(c.name)])]),u6("col-auto font-weight-semibold")(c.pct)]),Xa("my-3")])})),o=function(){return n?r:a}(),i=function(c){return Sy("d-flex flex-column align-items-center")([X(c.name),Sy("d-flex align-items-center")([t(c.color),u6("ml-2")(c.pct)])])},u=function(c){return function(s){var f=c.angle+2*s0*s.value;return{angle:f,visual:Swn({overlay:i(s)})(cw({center:{x:0,y:0},angle0:c.angle,angle1:f,innerRadius:60,outerRadius:150,fill:s.color,stroke:{color:"white",width:1}}))}}},l=Ewn("my-3")({viewBox:"-160 -160 320 320",width:"200",height:"200"})(AW(QM(u)({angle:0,visual:cn})(e))(function(c){return c.visual}));return{chart:l,legend:o}}},l6=function(){return function(e){var n=Cwn(e),t=Twn(n.segments)(n.tableLegend),a=We(xr(n.title))(Iwn("text-uppercase text-secondary small t--subtitle")),r=function(o){if(n.tableLegend)return $F("col-12 text-center col-md mb-3 mb-md-0")($F("bg-very-light-grey py-4")(o));if(Fe)return $F("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?le([a,t.chart,t.legend]):le([$F("ml-4")(a),Sy("row align-items-center justify-content-center")([r(t.chart),$F("col")(t.legend)])])}};var Fwn=ee(me),Mwn=l6(),Gwn=J(W),Awn=J(ae),qFe=function(e){var n=function(){var t=Fwn(e.props.breakdown)(function(a){return{value:a.percentage,color:a.chartColor,name:a.label,pct:Oa(a.percentage)}});return Mwn({segments:t,title:"Average aid package",stackLegend:!1,tableLegend:!1})}();return Gwn("card")([wa(e),Awn("card-body")(n)])};var xW=J(W),WFe=J(ae),xwn=j0(L)()(),Lwn=Mt(L),jwn=Vn(L),$Fe=function(e){return xW("card")([wa(e),WFe("card-body")(xW("row mb-4 align-items-center text-center text-md-left")([WFe("col-12 col-md-auto")(xwn("h-100 border-0 rounded")({src:e.video.link,allowFullScreen:!0})("")),xW("col mt-2 mt-md-0")([Lwn("")(e.video.title),jwn("")(m_(e.video.duration))])]))])};var BW=ya(QFe());var Vwn=Gl(),Qwn=function(e){return e},Ywn=function(e){return e};var YFe=function(e){var n=Vwn(e);return function(){return function(){return n(BW.default)}}},XFe=function(e){return Qwn(xa(e))};var ZFe=Ywn,KFe=xa("auto");var Xwn=YFe(ae)()(),s6=J(W),Zwn=Kn(W)()(),Kwn=xn(pt),eSn=Mt(L),eMe=J(L),nSn=la(L)()(),tSn=j(me),aSn=function(e){var n=function(a){return Xwn({duration:ZFe(350),height:function(){if(a instanceof $a)return XFe(0);if(a instanceof vr)return KFe;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 $a)return"down";if(a instanceof vr)return"up";throw new Error("Failed pattern match at SchoolDetails.ContentModules.GrantsAndScholarships (line 38, column 5 - line 38, column 31): "+[a.constructor.name])};return Eo(ra($a.value))(function(a){return function(r){return s6("")([Zwn("row border-bottom align-items-center mb-4")({onClick:Kwn(r)(z0(a))})([eSn("mb-4 mx-2")(e.name),eMe("ml-auto ms-auto mb-4 x-large fe fe-chevron-"+t(a))("")]),n(a)(s6("mb-4")([eMe("mb-3")(e.description),nSn("")(ke)({href:e.url,target:"_blank"})("Learn more here")]))])}})},nMe=function(e){return s6("card")([wa(e),s6("card-body")(tSn(aSn)(e.props.grantsAndScholarships))])};var rSn=ne(Ni),zF=J(W),oSn=ss(L),tMe=Vn(L),iSn=Kn(W)()(),aMe=ee(me),uSn=Zo(),lSn=Fc()(),cSn=nf(L),sSn=Zn(L),rMe=function(e){var n="t--local-area-spotlight-carousel-"+rSn(va(e.school));return zF("card")([wa(e),zF("card-body")([oSn("")(e.area.name),tMe("")(e.area.description),zF("mb-4")([iSn("flickity-viewport-visible "+n)({style:mn({display:"none"})})(aMe(e.area.images)(function(t){return uSn("w-100 rounded")({alt:new Lo("Photo of "+e.area.name),src:t.url,ar:"2:1",fit:"crop",auto:"compress,format",sizes:lp})})),lSn({containerClassName:n,onMountShowContainer:!0,pageDots:!0})]),cSn("small text-uppercase mt-6 mb-4")("Top things to do"),zF("row")(aMe(e.activities)(function(t){return zF("col-12 col-md-6")([sSn("")(t.name),tMe("")(t.description)])}))])])};var fSn=jn(L)()(),vSn=ve(Vfe),pSn=xn(pt),mSn=ne(Ni),JW=J(W),oMe=Vn(L),dSn=x0(ae),_Sn=A0(W),iMe=ee(me),hSn=G0(W),uMe=Ks(L),gSn=Pr(L),DSn=Li(ft),ySn=Kn(W)()(),bSn=Zo(),RSn=Fc()(),lMe=function(e){var n=function(r){return function(o){return function(i){return We(r)(function(u){return fSn("btn "+function(){var l=vSn(u)(o);return l?"btn-primary":"btn-outline-secondary"}())(ke)({onClick:pSn(i)(u)})(Qfe(u))})}}},t=function(r){return"t--non-academic-facilities-carousel-"+(mSn(va(e.school))+("-"+Ue("")(L3)(r)))},a=function(r){if(r instanceof B0)return e.residence;if(r instanceof E_)return e.athletic;if(r instanceof xm)return e.dining;throw new Error("Failed pattern match at SchoolDetails.ContentModules.NonAcademicFacilities (line 75, column 18 - line 78, column 32): "+[r.constructor.name])};return Eo(ra(B0.value))(function(r){return function(o){return JW("card")([wa(e),JW("card-body")([JW("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)]),oMe("")(a(r).description),dSn("table table-lg")(_Sn("")(iMe(a(r).information)(function(i){return hSn("")([uMe("")(i.name),uMe("text-right w-50 font-weight-bold fw-bold")(i.description)])}))),We(a(r).list)(function(i){return le([gSn("uppercase text-secondary")(be("")(Yfe(a(r).id))),oMe("")(DSn(", ")(i))])}),ySn("flickity-viewport-visible mb-4 "+t(a(r).id))({style:mn({display:"none"})})(iMe(function(i){return i.photos}(a(r)))(function(i){return bSn("w-100 rounded")({alt:new Lo("Facility photo"),src:i.url,ar:"2:1",fit:"crop",crop:"faces",auto:"compress,format",sizes:lp})})),RSn({containerClassName:t(a(r).id),onMountShowContainer:!0,pageDots:!0,key:L3(be(B0.value)(a(r).id))})])])}})};var wSn=J(W),SSn=J(ae),ESn=x0(ae),CSn=A0(W),ISn=ee(me),TSn=G0(W),cMe=Ks(L),sMe=function(e){return wSn("card")([wa(e),SSn("card-body")(ESn("table table-lg")(CSn("")(ISn(e.props.costs)(function(n){return We(n.description)(function(t){return TSn("")([cMe("")(n.name),cMe("text-right w-50")(t)])})}))))])};var kw=J(W),FSn=J(ae),MSn=Zo(),GSn=Mt(L),fMe=Vn(L),ASn=Ga(L),xSn=nf(L),LSn=j(me),vMe=function(e){var n=function(t){return kw("row mb-4 align-items-center text-center text-md-left")([FSn("col-12 col-md-3")(MSn("rounded img-fluid")({alt:new Lo(t.name),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 `})),kw("col mt-2 mt-md-0")([GSn("")(t.name)])])};return kw("card")([wa(e),kw("card-body")([fMe("")(e.description),kw("row pt-5 mx-1 border-bottom")([fMe("col-6 px-0")("Religious affiliation"),ASn("col-6 ml-auto ms-auto text-right px-0")(e.affiliation)]),xSn("small text-uppercase my-5")("Sacred spaces and religious facilities"),kw("")(LSn(n)(e.locations))])])};var VF=J(W),qW=Vn(L),jSn=Ga(L),NSn=J(ae),PSn=j0(L)()(),OSn=Mt(L),kSn=Zo(),pMe=function(e){return VF("card")([wa(e),VF("card-body")([qW("")(e.spectatorSports.description),VF("row pt-5 mx-1 border-bottom")([qW("")("Conference affiliation"),jSn("ml-auto ms-auto")(e.spectatorSports.conferenceAffiliation)]),VF("row my-4 align-items-center")([NSn("col-12 col-md-auto")(PSn("h-100 border-0 rounded")({src:e.spectatorSports.video.url,allowFullScreen:!0})("")),VF("col mt-2 mt-md-0")([OSn("")(e.spectatorSports.video.title),qW("")(m_(e.spectatorSports.video.duration))])]),We(e.spectatorSports.photoUrl)(function(n){return kSn("rounded img-fluid mt-3")({alt:new Lo(e.spectatorSports.description),src:n,ar:"3:2",fit:"crop",crop:"edges",sizes:lp})})])])};var Ey=J(W),mMe=Zn(L),WW=Vn(L),USn=Td(Ct),HSn=Op(Ct),$W=ee(me),BSn=ne(Ni),QF=J(ae),JSn=ve(sa),qSn=Kn(W)()(),WSn=Zo(),$Sn=Fc()(),dMe=rn(L),zSn=ne(Ye),VSn=jn(L)()(),QSn=xn(pt),_Me=function(e){var n=function(o){return le([Ey("col mt-3 pr-5")([mMe("mb-2")(o.name),WW("text-secondary")(o.category),We(o.description)(function(i){return WW("")(i)})]),Xa("")])},t=USn(HSn($W(e.props.groups)(function(o){return o.category}))),a="t--student-groups-carousel-"+BSn(va(e.school)),r=Rh({title:S_(Ev(e.module.data)),items:e.props.groups,renderItem:function(o){return QF("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:JSn}});return Ey("card")([wa(e),Ey("card-body")([Ey("mb-4")([qSn("flickity-viewport-visible "+a)({style:mn({display:"none"})})($W(e.props.photos)(function(o){return WSn("w-100 rounded")({alt:new Lo("Student group photo"),src:o.url,ar:"2:1",fit:"crop",auto:"compress,format"})})),$Sn({containerClassName:a,onMountShowContainer:!0,pageDots:!0})]),Ey("row mt-6")([QF("col")(dMe("large")("Student-run groups and organizations")),QF("col-auto")(dMe("large")(zSn(ha(e.props.groups))))]),Xa(""),Ey("row")($W(Mr(function(o){return o.isFeatured})(e.props.groups))(function(o){return Ey("col-12 col-md-6")([mMe("mt-4 mb-2")(o.name),WW("text-secondary small")(o.category)])})),QF("row mt-4")(QF("col-6 offset-3")(VSn("btn btn-outline-primary btn-block")(ke)({onClick:QSn(e.showOverlay)(r)})("All student groups")))])])};var YSn=Td(Ct),XSn=Op(Ct),ZSn=ee(me),YF=J(W),KSn=Zo(),hMe=Zn(L),gMe=Vn(L),Uw=J(L),eEn=ve(sa),nEn=YG(W),tEn=Pr(L),aEn=j(me),DMe=J(ae),rEn=jn(L)()(),oEn=xn(pt),yMe=function(e){var n=function(o){return o.city+(", "+o.country)},t=YSn(XSn(ZSn(e.props.programs)(n))),a=function(o){return YF("col-12 mb-4 col-md-6 mb-md-0")([We(o.imageURL)(function(i){return KSn("rounded img-fluid")({alt:new Lo(o.name),src:i,ar:"3:2",fit:"crop",crop:"edges"})}),hMe("mt-3")(o.name),We(o.description)(function(i){return gMe("")(i)}),Uw("mt-n2 text-secondary")("Location: "+n(o)),We(o.duration)(function(i){return Uw("text-secondary mt-2")("Program length: "+i)})])},r=Rh({title:"All programs",items:e.props.programs,renderItem:function(o){return YF("mb-5")([hMe("")(o.name),We(o.description)(function(i){return gMe("")(i)}),Uw("mt-n2 text-secondary")("Location: "+n(o)),We(o.region)(function(i){return Uw("text-secondary mt-2")("Region: "+i)}),We(o.duration)(function(i){return Uw("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:eEn}});return YF("card")([wa(e),YF("card-body")([We(e.props.description)(function(o){return Uw("mb-4")(o)}),nEn("")([tEn("")("Featured programs"),YF("row mt-4")(aEn(a)(e.props.featuredPrograms))]),DMe("row mt-4")(DMe("col-6 offset-3")(rEn("btn btn-outline-primary btn-block")(ke)({onClick:oEn(e.showOverlay)(r)})("All programs")))])])};var zW=J(W),bMe=J(ae),iEn=ee(me),uEn=Zo(),lEn=Zn(L),cEn=Vn(L),RMe=function(e){return zW("card")([wa(e),bMe("card-body")(le(iEn(e.traditions)(function(n){return zW("row mb-4")([We(n.photoUrl)(function(t){return bMe("col-12 col-md mb-4 mb-md-0")(uEn("w-100 rounded")({alt:new Lo(n.name),src:t,fit:"crop",crop:"faces",ar:"2:1",auto:"compress,format"}))}),zW("col")([lEn("")(n.name),cEn("")(n.description)])])})))])};var sEn=J(ae),fEn=Kn(ae)()(),vEn=J(L),pEn=J(W),mEn=ee(me),Ii=Wf()(),dEn=xn(pt),_En=jn(W)()(),hEn=rn(L),gEn=Un(An)(Wt),DEn=Hn(Xn),VW=q(_t),wMe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),SMe=function(){function e(){}return e.value=new e,e}(),EMe=function(e){return function(n){return function(t){var a=sEn("text-center p-4")(fEn("spinner-border text-primary")({role:"status"})(vEn("sr-only")("Loading\u2026"))),r=function(u){return t(wMe.create(u))},o=function(u){var l=Jf(yu(vve)(function(s){return Ev(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 pEn("pb-5 "+function(){var s=yt(n.overlay);return s?"d-none":""}())(mEn(l(u))(function(s){if(s.data instanceof N3)return gFe(Ii(c(s))(s.data.value0));if(s.data instanceof P3)return yFe(Ii(c(s))({props:s.data.value0}));if(s.data instanceof O3)return bFe(Ii(c(s))(s.data.value0));if(s.data instanceof k3)return EFe(Ii(c(s))({mapboxAccessToken:e.mapboxAccessToken}));if(s.data instanceof U3)return IFe(Ii(c(s))(s.data.value0));if(s.data instanceof H3)return TFe(Ii(c(s))(s.data.value0));if(s.data instanceof B3)return OFe(Ii(c(s))({props:s.data.value0,showOverlay:r,randomSeed:e.randomSeed}));if(s.data instanceof J3)return HFe(Ii(c(s))({props:s.data.value0,showOverlay:r}));if(s.data instanceof q3)return JFe(Ii(c(s))(s.data.value0));if(s.data instanceof W3)return qFe(Ii(c(s))({props:s.data.value0}));if(s.data instanceof $3)return $Fe(Ii(c(s))(s.data.value0));if(s.data instanceof z3)return nMe(Ii(c(s))({props:s.data.value0}));if(s.data instanceof V3)return rMe(Ii(c(s))(s.data.value0));if(s.data instanceof Q3)return lMe(Ii(c(s))(s.data.value0));if(s.data instanceof Y3)return sMe(Ii(c(s))({props:s.data.value0}));if(s.data instanceof X3)return vMe(Ii(c(s))(s.data.value0));if(s.data instanceof Z3)return pMe(Ii(c(s))(s.data.value0));if(s.data instanceof K3)return _Me(Ii(c(s))({props:s.data.value0,showOverlay:r}));if(s.data instanceof eA)return yMe(Ii(c(s))({props:s.data.value0,showOverlay:r}));if(s.data instanceof nA)return RMe(Ii(c(s))(s.data.value0));throw new Error("Failed pattern match at SchoolDetails.ForYou (line 116, column 47 - line 185, column 48): "+[s.data.constructor.name])}))},i=dEn(t)(SMe.value);return le([Ue(a)(o)(Fo(e.contentModules)),We(n.overlay)(function(u){return le([_En("btn btn-link px-0")(sr("Back"))({onClick:i})([hEn("fe fe-chevron-left mr-1")(""),X("Back")]),u])})])}}},CMe=function(e){return function(n){if(n instanceof wMe)return gEn(cr(DEn($N)))(function(){return VW({overlay:new _(n.value0)})});if(n instanceof SMe)return VW({overlay:E.value});throw new Error("Failed pattern match at SchoolDetails.ForYou (line 66, column 1 - line 66, column 55): "+[e.constructor.name,n.constructor.name])}},IMe=function(){return VW({overlay:E.value})}();var yEn=pa(Fu),bEn=Cv(),REn=cU(),wEn=function(e){var n=la(e)()();return function(t){return function(a){return function(r){return n(t)(a)({href:r.href,onClick:yEn(function(o){return function(){return bEn(o)(),REn(o)(),r.onClick()}})})}}}},TMe=function(e){var n=wEn(e);return function(t){return n(t)(ke)}};var SEn=jn(L)()(),FMe=xn(pt),EEn=jn(W)()(),CEn=rn(L),IEn=OS(Xoe),TEn=Ma(),FEn=wx(),MEn=Kn(W)()(),GEn=qe(da),AEn=j(me),xEn=function(e){return function(n){return n instanceof _&&n.value0 instanceof f_?"btn-success":n instanceof _&&n.value0 instanceof v_?"btn-danger":n instanceof _&&n.value0 instanceof s_?"btn-secondary":n instanceof _&&n.value0 instanceof p_||n instanceof E&&e.primary?"btn-primary":n instanceof E?"btn-outline-primary":"btn-light"}},LEn=function(e){return e instanceof f_?"badge-soft-success bg-success-soft":e instanceof v_?"badge-soft-danger bg-danger-soft":e instanceof s_?"badge-secondary bg-secondary":e instanceof p_?"badge-soft-primary bg-primary-soft":"badge-light bg-light text-dark"},MMe=function(){return function(e){return function(n){return function(t){var a=function(v){return" t--school-list-status-"+ji(pC(v))},r=function(v){return SEn("dropdown-item mb-1 "+(LEn(v)+a(v)))(ke)({onClick:FMe(t)(new _(v))})(E4(v))},o=function(){var v=function(p){if(Fe)return[EEn("dropdown-item mb-1 d-flex align-items-end badge-danger bg-danger t--school-list-status-remove")(ke)({onClick:FMe(t)(E.value)})([CEn("fe fe-x mr-2")(""),X("Remove from list")])];throw new Error("Failed pattern match at Hub.ListStatusSelector (line 25, column 1 - line 30, column 15): "+[])};return n instanceof E?[]:v(!0)}(),i=IEn(cP)(Ue([])(Fd)(n)),u=TEn(e),l=Bn(u.buttonContent)(X(Ue("Add to my list")(E4)(n))),c=Bn(u.primary)(!1),s=Bn(u.small)(!1),f=Bn(u.buttonClass)("btn btn-block "+function(){return s?"no-animation btn-sm":"px-4"}());return FEn("")({toggleClass:f+(" t--school-list-status-selector "+xEn({primary:c})(n)),toggleContent:l,contentId:"school-list-status-selector-dropdown-options",content:function(v){return MEn(Bn(u.menuClass)("")+(" "+v.className))({id:v.contentId})(GEn(AEn(r)(i))(o))},ariaLabelInput:sr("School list selector dropdown")})}}}};var jEn=an(),NEn=xn(_o),GMe=function(e){return wf(new ku(e.placeholder))()({options:Z0e(e.schoolDb),getOptionLabel:HE,getOptionValue:function(n){return jEn(va(n))},onSelect:NEn(e.onSelect)(function(n){return n}),placeholder:e.placeholder,noOptionsMessage:f5(function(n){return X("No schools found")}),classNamePrefix:e.classNamePrefix})};var AMe="/messages";var f6=jn(L)()(),QW=pa(Sr),v6=J(ae),qEn=J(W),WEn=la(L)()(),p6=function(e){var n=f6("btn btn-block btn-outline-secondary t--sdp-connection-pending")(ke)({disabled:!0,title:"Your connection request has been sent to the school"})("Requested"),t=function(){if(e.shortText)return"Ignore";if(Fe)return"Ignore connection";throw new Error("Failed pattern match at Network.SemVine.SchoolDetailsButton (line 111, column 5 - line 113, column 40): "+[])}(),a=function(){if(e.vineBelowConnectionLimit instanceof _&&!e.vineBelowConnectionLimit.value0)return!0;if(e.vineBelowConnectionLimit instanceof _&&e.vineBelowConnectionLimit.value0||e.vineBelowConnectionLimit instanceof E)return!1;throw new Error("Failed pattern match at Network.SemVine.SchoolDetailsButton (line 116, column 7 - line 119, column 25): "+[e.vineBelowConnectionLimit.constructor.name])}(),r=f6("btn btn-block btn-primary px-4 t--sdp-connection-invite")(ke)({onClick:QW(e.onInviteSchool),disabled:a,style:mn({pointerEvents:function(){return a?"none":"auto"}()})})("Connect"),o=function(){return a?FI(TI)(v6("t--sdp-connection-invite-wrapper")(r)):r}(),i=function(){if(e.shortText)return"Accept";if(Fe)return"Accept connection";throw new Error("Failed pattern match at Network.SemVine.SchoolDetailsButton (line 107, column 5 - line 109, column 40): "+[])}(),u=f6("btn btn-block btn-primary text-nowrap t--sdp-connection-accept")(ke)({onClick:QW(e.onAcceptInvitation),disabled:a,style:mn({pointerEvents:function(){return a?"none":"auto"}()})})(i),l=qEn("form-row")([v6("col-6 pr-2")(function(){return a?FI(TI)(v6("t--sdp-connection-accept-wrapper")(u)):u}()),v6("col-6 pl-2")(f6("btn btn-block btn-light text-nowrap t--sdp-connection-ignore")(ke)({onClick:QW(e.onIgnoreInvitation)})(t))]),c=lC(va(e.school))(e.schoolDb);if(c instanceof $t&&c.value0.status instanceof Dc)return WEn("btn btn-block btn-outline-primary t--sdp-connection-go-to-chat")(ke)({href:AMe})("Message");if(c instanceof $t&&c.value0.status instanceof li&&c.value0.initiator instanceof qi)return l;if(c instanceof $t&&c.value0.status instanceof nl&&c.value0.initiator instanceof qi)return o;if(c instanceof $t&&c.value0.status instanceof li&&c.value0.initiator instanceof cf||c instanceof $t&&c.value0.status instanceof nl&&c.value0.initiator instanceof cf)return n;if(c instanceof Ta)return o;if(c instanceof Dr)return cn;throw new Error("Failed pattern match at Network.SemVine.SchoolDetailsButton (line 33, column 3 - line 56, column 14): "+[c.constructor.name])};var $En=go($r($o)),xMe=Z(Ut),zEn=Ma(),VEn=lu(zn(Qn()(C({reflectSymbol:function(){return"id"}})(ie)(C({reflectSymbol:function(){return"imageUrl"}})(ie)(C({reflectSymbol:function(){return"name"}})(ie)(C({reflectSymbol:function(){return"slug"}})(ie)(de))))))),QEn=q(Xt),YEn=ee(me),LMe=Uf(),XEn=function(){return $En("schools_search_path")(function(e){return function(n){return xMe(function(){var t=zEn(n);return e({term:t.term,only_ui_discoverable:Bn(t.onlyUiDiscoverable)(!0)})}())(eo(function(t){return xMe(VEn("School Search Results")(t))(function(a){return QEn(YEn(a)(function(r){return{imageUrl:r.imageUrl,name:r.name,id:LMe(r.id),slug:LMe(r.slug)}}))})}))}})},ZEn=XEn(),jMe=function(e){return ZEn({term:e})};var NMe=ee(Yt),KEn=Wc(h0),PMe=function(){var e=function(t){return NMe(NMe(KEn(jMe(t)))(Ju))(be([]))},n=function(t){return rA(J0(ci.value)(t.slug))};return p5(new ku("Search school"))()({loadOptions:v5(e),defaultOptions:!0,getOptionLabel:function(t){return t.name},getOptionValue:function(){var t=ne(Ni);return function(a){return t(function(r){return r.id}(a))}}(),onSelect:pa(Fu)(n),placeholder:"Type to search",instanceId:"school-jump-bar"})}();var eCn=fv(W),nCn=ee(me),tCn=Hl(ae),aCn=TMe(L),rCn=ve(Dve),OMe=an(),oCn=Rv(),iCn=ee(B),uCn=MMe(),Es=J(ae),lCn=Zo(),td=J(W),cCn=J(L),YW=j(B),sCn=Kn(ae)()(),fCn=ss(L),vCn=rn(L),pCn=function(e){return function(n){var t=Mr(aA({chancingState:n.chancingState,featureFlags:n.featureFlags,currentUser:n.currentUser,configuration:n.configuration,school:e.school,schoolDb:e.schoolDb}))([tl.value,ci.value,cu.value,al.value,yc.value,bc.value,Rc.value]),a=function(o){if(o instanceof ci)return"Overview";if(o instanceof tl)return"For you";if(o instanceof cu)return"Chancing";if(o instanceof al)return"Cost & scholarships";if(o instanceof yc)return"Majors";if(o instanceof bc)return"Admissions";if(o instanceof Rc)return"Essay prompt";throw new Error("Failed pattern match at SchoolDetails.Header (line 186, column 15 - line 193, 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(Fe)return"";throw new Error("Failed pattern match at SchoolDetails.Header (line 195, column 5 - line 199, column 13): "+[])}();return sn(e.showNav)(eCn("nav nav-tabs overflow-visible border-bottom-0 "+r)(nCn(t)(function(o){return tCn("nav-item text-nowrap")(aCn("cursor-pointer py-3 nav-link t--sdp-tab-"+(ZC(o)+function(){var i=rCn(o)(e.activeTab);return i?" active":""}()))({onClick:e.onSwitchTab(o),href:J0(o)(function(i){return i.slug}(OMe(e.school)))})(a(o)))})))}},mCn=function(e){return function(n){if(n.currentUser instanceof E)return oCn({text:"Add to my list",className:"btn btn-outline-primary btn-block",auth0ActiveTab:bv});if(n.currentUser instanceof _){var t=iCn(uC(va(e.school))(e.schoolDb))(function(a){return a.status});return uCn({small:!1,primary:!1})(t)(e.onListStatusChange)}throw new Error("Failed pattern match at SchoolDetails.Header (line 141, column 33 - line 153, column 34): "+[n.currentUser.constructor.name])}},kMe=function(e){return function(n){var t=Es("col-10 col-lg-5 py-2 mr-lg-0 pl-0")(function(){var i=ha(e.schoolDb.searchOptions)<10;return i?PMe:GMe({schoolDb:e.schoolDb,onSelect:e.onSelectSchool,placeholder:"Type to search...",classNamePrefix:""})}()),a=OMe(e.school),r=function(){if(a.publicPrivate instanceof Xd)return"Public";if(a.publicPrivate instanceof Zd)return"Private";throw new Error("Failed pattern match at SchoolDetails.Header (line 106, column 21 - line 108, column 33): "+[a.publicPrivate.constructor.name])}(),o=function(i){return lCn("rounded")({alt:new Lo(a.name),src:a.imgixPath,fit:"crop",crop:"edges",style:mn({height:i,width:"100%",objectFit:"cover"})})};return td("header mb-3 mx-n3 mx-md-0")([td("row pr-3 my-3")([Es("col pr-0")(ga(n.backButton)),ga(Ku(e.configuration)(t)),cCn("col")("")]),td("position-relative mx-3 mx-lg-0")([Es("d-md-none")(o("15rem")),Es("d-none d-md-block")(o("20rem")),ga(YW(sCn("position-absolute d-inline bg-gray-100 rounded")({style:mn({top:"1.5rem",right:"1.5rem"})}))(oIe(e.onEdit)(Dw.value)))]),Es("container px-lg-0")(td("pb-0 pb-md-3")([td("row align-items-end mt-4")([td("col mb-3")([td("row align-items-center")([Es("col-auto")(fCn("header-title")(a.name)),ga(YW(Es("col-auto pl-0"))(Ci(e.onEdit)(dh.value)))]),Es("row")(td("col small")(Pp(vCn("mx-2")("\u2022"))(co(YW(X))([new _(GE(a.address)),pN(a),new _(r)]))))]),Es("col-12 col-lg-auto my-0 mb-lg-3")(td("row no-gutters g-0 align-items-center")([sn(e.showConnectButton)(Es("col-12 col-lg-auto pb-3 pb-lg-0 pr-lg-2")(p6({school:e.school,schoolDb:e.schoolDb,onInviteSchool:e.onInviteSchool,onAcceptInvitation:e.onAcceptInvitation,onIgnoreInvitation:e.onIgnoreInvitation,featureFlags:n.featureFlags,vineBelowConnectionLimit:e.vineBelowConnectionLimit,shortText:!1}))),ga(Ku(e.configuration)(Es("col-12 col-lg-auto")(mCn(e)(n))))]))]),Es("row border-bottom mx-1")(Es("col col-lg-auto mt-3 mt-lg-0 px-0")(pCn(e)(n)))]))])}};var UMe=J(ae),dCn=rn(L),_Cn=ne(Ye),hCn=Zn(L),m6=J(W),HMe=x0(W),BMe=Y1(ae),d6=G0(ae),JMe=X1(L),qMe=A0(W),XW=ee(me),WMe=Ks(L),gCn=Pr(L),DCn=Oc(Ct),yCn=function(e){return UMe("card bg-white")(UMe("card-body")(dCn("")(e.name+(" has "+(_Cn(ha(e.majors))+" different majors")))))},bCn=function(e){return le([hCn("")("Most popular majors"),m6("card")([m6("table-responsive")([HMe("table table-sm table-nowrap card-table")([BMe("")(d6("")(JMe("")("Major"))),qMe("list")(XW(e)(function(n){return d6("")(WMe("")(n.name))}))])])])])},RCn=function(e){return function(n){var t=eP(n.id)(e),a=XW(Coe(t))(function(r){var o=Ad(r).areaOfStudy;return le([m6("card")([gCn("card-header")(o),m6("table-responsive")([HMe("table table-sm table-nowrap card-table")([BMe("")(d6("")(JMe("")("Major"))),qMe("list")(XW(Jf(DCn(function(i){return i.name}))(Wu(r)))(function(i){return d6("")(WMe("")(i.name))}))])])])])});return le(a)}},$Me=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 le([yCn(n),function(){return n.id==="b1fe9c0b-0310-45f9-8579-1ad20fabacb1"?bCn(t):cn}(),RCn(e)(n)])}};var zMe=q(_t),VMe=Pi(Yt),wCn=Fr(VMe),SCn=Z(Wt),ECn=qa(VMe),cp=J(W),_6=Kn(ae)()(),QMe=Mt(L),ZW=J(L),h6=J(ae),CCn=Zn(L),ICn=Pr(L),KW=rn(L),TCn=rn(ae),e$=Ga(L),FCn=ne(nu),YMe=ne(Ye),MCn=Kn(L)()(),GCn=la(L)()(),n$=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),XMe=function(e){return function(n){if(n.value0 instanceof zt)return zMe({liteChancing:e.liteChancing,schools:e.schools,chancedSchool:function(){var t=Di(n.value0.value0.value0);if(t instanceof _)return new $t(t.value0);if(t instanceof E)return Ta.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 et)return wCn(n$.create)(function(t){return{chancedSchool:e.chancedSchool,schools:e.schools,liteChancing:t}})(HCe({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])}},ZMe=L4()({utmCampaign:"uaq-38-sdp"})(bx),KMe=function(e){var n=[PCe(e)];return SCn(ECn(n$.create)(UCe({schoolItems:n,redirectUrlOverride:new _(ZMe)})))(function(t){return zMe({schools:n,chancedSchool:new Dr(E.value),liteChancing:t})})},e2e=function(e){return function(n){return function(t){return function(a){var r=function(l){return We(l.score)(function(c){return cp("row align-items-center mb-3")([_6("col-12 col-lg-auto")({style:mn({minHeight:"140px",minWidth:"280px"})})(jw({score:new _(Zr(c*100))})),cp("col-12 col-lg py-3 my-auto")([QMe("font-weight-normal fw-normal")("Your chances"),ZW("h3 text-gray-800 mb-0 large")(Oa(c))])])})},o=function(l){return Rve(l)},i=function(l){return e.liteChancing.chancingIsLoading?_6("mb-4 spinner-border spinner-border-lg text-primary small")({role:"status"})(ZW("sr-only")("Loading\u2026")):r(l)},u=function(l){return JCe(e.liteChancing)(function(c){return n(n$.create(c))})(function(c){return h6("mt-2 mb-0 lite-chancing-cta")(h6("card h-100")(cp("card-body overflow-auto mh-100")([cp("d-flex align-items-center mb-4")([CCn("my-0 mr-3")("Chancing"),ga(Ci(a)(Sw.value))]),cp("row")([cp("col-12 col-lg-6")([QMe("")("What are your chances of acceptance?"),i(l)]),cp("col-12 col-lg-6")([ICn("font-weight-normal fw-normal")("Your chancing factors"),c.gpaSlider({className:"mt-2 mb-3",label:function(s){return le([KW("mb-2")("Unweighted GPA:"),TCn("gpa")(e$("")(" "+FCn(s)))])},onChange:o(c.redirectUrl)}),cp("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 le([X("SAT: "),e$("")(YMe(s)+" math")])},onChange:o(c.redirectUrl)}),c.satVerbalScoreSlider({className:"small t--sdp-lite-chancing-cta-left-sidebar-sat-verbal",label:function(s){return le([X(" | "),e$("")(YMe(s)+" verbal")])},onChange:o(c.redirectUrl)})]),h6("mb-2")(c.genderDropdown({onChange:o(c.redirectUrl),className:""})),c.ecSelector({onChange:o(c.redirectUrl),className:""}),cp("")([cp("mb-1 small")([KW("text-danger")("Low accuracy"),KW("text-muted")(" (4 of 18 factors)")]),_6("progress")({style:mn({backgroundColor:"#95aac9",height:"3px"})})(MCn("progress-bar bg-danger")({role:"progressbar",style:mn({width:"15%"})})(""))]),h6("mt-4")(GCn("t--sdp-lite-chancing-cta-left-sidebar-complete-full-profile-uaq-8 btn btn-primary w-100")(ke)({href:rf({key:"utm_content",value:"add-more-factors"})(ZMe)})("Add more factors \u203A"))])])])))})};if(e.chancedSchool instanceof Dr)return _6("mb-4 spinner-border spinner-border-lg text-primary small")({role:"status"})(ZW("sr-only")("Loading\u2026"));if(e.chancedSchool instanceof Ta)return t;if(e.chancedSchool instanceof $t)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 n2e=hw(L),ACn=aa(Ae)(ft),t2e=ne(Ye),xCn=Zn(ae),LCn=Mt(L),g6=J(W),D6=J(ae),jCn=Zn(L),NCn=function(e){var n=py(ph(e.studentsPerFaculty.percentile));return le([n2e("Student faculty ratio")(ACn([P0(x4.value),t2e(e.studentsPerFaculty.value),":1 is ",n,"."])),ir("")(t2e(e.studentsPerFaculty.value)+":1")])},PCn=function(e){return le([n2e("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. `),ir("mr-1")(lae(e.calendarSystem))])},OCn=function(e){var n=function(t){return xCn("d-inline-block mb-2")($l(t))};return le([LCn("mb-4 mt-5 mt-md-4")("Special academic offering"),g6("")([sn(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 cn;throw new Error("Failed pattern match at SchoolDetails.Overview.Academics (line 72, column 7 - line 76, column 32): "+[e.academicOfferings.creditForApExams.constructor.name,e.academicOfferings.creditForIbExams.constructor.name])}(),sn(e.academicOfferings.offersGradDegree)(n("Offers graduate degree")),sn(e.academicOfferings.careerCounseling)(n("Academic and career counseling"))])])},a2e=function(e){return D6("card t--academics mt-5")(D6("card-body d-flex align-items-start")(g6("flex-grow-1 mr-4")([g6("d-flex align-items-center mb-5")([jCn("my-0 mr-3 flex-grow-1")("Academics"),ga(Ci(e.onEdit)(ww.value))]),g6("row")([D6("col-12 col-md-6")(NCn(e.school)),D6("col-12 col-md-6")(PCn(e.school))]),OCn(e.school)])))};var y6=J(W),Hw=J(ae),kCn=nf(L),UCn=Mt(W),HCn=ju(L),BCn=Zn(ae),JCn=Pr(L),qCn=Vn(L),WCn=h3(),$Cn=q(Jn),zCn=ee(j5),VCn=Zn(L),QCn=rn(ae),YCn=an(),XCn=function(e){return We(e.admissions.acceptanceRate)(function(n){return y6("row align-items-center mb-3")([Hw("col-12 col-lg-6")(Hw("row")(Hw("col-6 order-2 order-lg-1 px-sm-4 px-lg-0")(jw({score:new _(Zr(100*n.value))})))),y6("col-12 col-lg-6 py-3 my-auto")([kCn("text-uppercase text-muted")("Overall acceptance rate"),UCn("text-gray-800 mb-0")([X(Oa(n.value)),HCn("text-secondary ml-2")(Dy(e))])])])})},ZCn=function(e){return Hw("card t--chancing")(y6("card-body")([BCn("")(X(function(){if(e.admissions.acceptanceRate instanceof _)return vTe(e.name)(e.admissions.acceptanceRate.value0.value);if(e.admissions.acceptanceRate instanceof E)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])}())),XCn(e),JCn("")("Want to see your real chances?"),qCn("")("We take every aspect of your personal profile into consideration when calculating your admissions chances."),WCn({text:"Calculate my chances",className:"btn btn-primary"})]))},r2e=function(e){return function(n){return function(t){var a=ZCn(e.school);return function(r){if(r instanceof Cw)return We(N5(r.value1))(Pw({onSwitchTab:$Cn(e.onSwitchTab),showViewChancingExplanationCTA:!0,schoolDb:e.schoolDb})(e.school)(r.value0)(zCn(O5(r.value1))(function(o){return o.top})));if(r instanceof Tw)return e2e(e.liteChancing)(t)(a)(e.onEdit);if(r instanceof Fw)return TF({narrowLayout:n.mobileLayout});if(r instanceof Iw)return Hw("card")(y6("card-body")([VCn("mr-3")("Chancing"),Hw("p-6 text-center")(QCn("spinner-border spinner-border-sm text-primary")(cn))]));throw new Error("Failed pattern match at SchoolDetails.Overview.Chancing (line 42, column 7 - line 61, column 16): "+[r.constructor.name])}(P5({currentUser:n.currentUser,chancingState:n.chancingState,school:YCn(e.school)}))}}};var b6="/recruit/verify-profile";var KCn=ct(Ge),eIn=ee(B),nIn=ve(zc),tIn=la(W)()(),aIn=rn(L),R6=J(W),t$=J(L),o2e=la(L)()(),rIn=J(ae),oIn=Zn(L),iIn=Vn(L),a$=function(e){return function(n){return e.featureFlags.rcr2577ClaimSchoolProfileLinkOnSdp?e.school.profileClaimed?E.value:KCn(Ku(e.configuration))(function(){var t=eIn(e.currentUser)(function(a){return a.role});return t instanceof E?new _(n(Re)):t instanceof _&&t.value0 instanceof CO&&nIn(t.value0.value0.schoolId)(va(e.school))?new _(n(Re)):E.value}()):E.value}},i2e=function(e){return a$(e)(function(n){return tIn("d-flex align-items-center")(ke)({href:b6})([aIn("material-symbol large mr-2")("verified"),R6("d-flex flex-column flex-md-row")([t$("mr-md-2")("Work at "+(HE(e.school)+"?")),t$("")("Verify your profile")])])})},u2e=function(e){return a$(e)(function(n){return R6("d-flex flex-column flex-md-row justify-content-center align-items-center border-top pt-3 mb-5")([t$("mr-md-2")("Do you work at a school?"),o2e("")(ke)({href:b6})("Verify your profile")])})},l2e=function(e){return a$(e)(function(n){return rIn("card bg-cv-green-50")(R6("card-body d-flex align-items-center")([bb("img-fluid mr-4 d-none d-md-block")("/img/sem/claim-school-profile-cta.svg"),R6("")([oIn("")("Do you work at "+(HE(e.school)+"?")),iIn("")(` Verify your profile\xA0to keep your college's data up to date, get insights on user activity and connect with hand raiser students `),o2e("")(ke)({href:b6})("Verify your profile")])]))})};var uIn=ve(zc),r$=J(W),lIn=Mu(L),cIn=dc()(),sIn=xn(_o),fIn=oa(L),vIn=J(ae),pIn=rn(L),c2e=ne(Ye),XF=q(_t),s2e=Un(An),f2e=s2e(Wt),o$=qr(Xn),i$=q(Xt),mIn=s2e(Ut),u$=function(){function e(){}return e.value=new e,e}(),v2e=function(){function e(){}return e.value=new e,e}(),p2e=function(){function e(){}return e.value=new e,e}(),m2e=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),d2e=function(){function e(){}return e.value=new e,e}(),_2e=function(){function e(){}return e.value=new e,e}(),h2e=function(e){return function(n){return function(t){var a=va(e.school),r=function(){return n.stagedNotes instanceof _&&uIn(n.stagedNotes.value0.schoolId)(a)?n.stagedNotes.value0.text:KN(a)(e.schoolDb)}(),o=function(){if(n.savedIndicator instanceof u$)return"hidden";if(n.savedIndicator instanceof v2e)return"";if(n.savedIndicator instanceof p2e)return"fade-out";throw new Error("Failed pattern match at SchoolDetails.Overview.Notes (line 88, column 27 - line 91, column 27): "+[n.savedIndicator.constructor.name])}(),i=ut($4),u=function(c){if(c{let e=null,n=0,t=()=>{if(!sp||!sp.key)return sp||console.error("Pusher config is missing in global context"),new XTn;let a={auth:{headers:{"X-CSRF-Token":sp.authToken}},authEndpoint:sp.authPath,cluster:sp.cluster};return sp.dev&&Object.assign(a,{wsHost:sp.dev.wsHost,wsPort:sp.dev.wsPort,enabledTransports:["ws"],forceTLS:!1,disableStats:!0}),new vGe.default(sp.key,a)};return{acquireConnection:()=>(e||(e=t(),n=0),n++,e),releaseConnection:()=>{--n<=0&&(e&&e.disconnect(),e=null)}}})(),pGe=e=>{let n=QTn().subscribe(e.channel);return n.bind(e.event,e.handler),()=>{n.unbind(e.event,e.handler),YTn()}};function XTn(){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 ZTn(e);return this.channels.push(t),t},this.channelNames=function(){return this.channels.map(e=>e.name)}}function ZTn(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 KTn=aa(Ae)(ft),eFn=uo(ta)(ai);var nFn={show:function(e){return e}},tFn=ne(nFn);var D$=ie;var mGe=function(e){var n=x1(e);return function(t){return function(a){return function(r){var o=KTn(["Pusher event ",a," over channel ",tFn(t)]),i=function(u){return eFn(n(o)(u))(r)()};return function(){return pGe({channel:t,event:a,handler:i})}}}}};var y$=ie;var dGe=$r($o),_Ge=Z(Ut),hGe=Qn(),aFn=lu(hGe(C({reflectSymbol:function(){return"failureReason"}})(ie)(C({reflectSymbol:function(){return"success"}})($n)(de)))),rFn=lu(hGe(C({reflectSymbol:function(){return"conversationId"}})(y$)(C({reflectSymbol:function(){return"pusherChannel"}})(D$)(de)))),gGe=go($r($r(dGe)))("trellis_inference_recruiter_send_message_path")(function(e){return function(n){return function(t){return function(a){return _Ge(e({conversationId:t,message:a,presetTopic:gi,vault:n}))(eo(aFn("Trellis.Inference.Recruiter.API: sendMessage")))}}}}),DGe=go(dGe)("trellis_inference_recruiter_create_conversation_path")(function(e){return function(n){return _Ge(e({school_id:n}))(eo(function(t){return rFn("Trellis.Inference.Recruiter.API: createConversation")(t)}))}});var oFn=an();var yGe=function(e){return"/trellis/inference/recruiter/direct-message-introduction/"+oFn(e)};var bGe="active";var b$=pEe()(),A6=ef(W)()()("")({style:mn({height:40,width:40})})([b$("blink")({cx:10,cy:20,r:3,style:mn({fill:"grey"})}),b$("blink")({cx:20,cy:20,r:3,style:mn({fill:"grey",animationDelay:"250ms"})}),b$("blink")({cx:30,cy:20,r:3,style:mn({fill:"grey",animationDelay:"500ms"})})]);var iFn=ee(st);var RGe=function(e){return iFn(RO(e.currentTarget))(function(n){return Bn($1(n))(0)})};var wGe=Ba(),uFn=qe(DN),lFn=NS(ft),R$=ne(Ye),cFn=bu(Ge),sFn=Z(Ge);var x6=function(){var e=wGe(Ju(B1("\\s+")(uFn(FG)(tre)))),n=Mr(function(a){return a!==""}),t=gN(e);return function(a){return ha(n(t(a)))}}(),SGe=function(e){return function(n){var t=x6(n);return lFn([R$(t),"/",R$(e)," words"])}},EGe=function(e){return function(n){var t=function(i){return wGe(Ju(B1("^(?:[\\w-]+[^\\w-]+){"+(R$(i)+"}[\\w-]+"))(nre)))},a=function(i){return function(u){var l=cFn(sFn(yN(t(i-1|0))(u))(Nt($S)(0)));return be(u)(l)}},r=mf(n),o=x6(r)0;return i?"/img/icons/sage-send-purple.svg":"/img/icons/ai-send.svg"}()))},r=dFn(e);return le([_Fn("flex-grow-1")([hFn("form-control t--new-message-body "+Bn(r.className)(""))({autoFocus:Bn(r.autoFocus)(!0),placeholder:r.placeholder,style:mn({borderStyle:"none",resize:"none",height:function(){if(n.messageHeight instanceof E)return"";if(n.messageHeight instanceof _)return gFn(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=EGe(1e3)(o),u=IFn(o)(),l=function(){var c=Br(i)<5;return c?E.value:new _(u)}();return t(et.create(SFn.create({message:i,messageHeight:l})))()},onKeyPress:DFn(function(o){return IGe(o.key==="Enter"&&!o.shiftKey)(function(){return yFn(o)(),IGe(n.message!==""&&CFn(r.sendButtonStatus)(Ih.value))(t(zt.create(w$.create(n.message))))()})})}),sn(x6(n.message)>=bFn(1e3)(2))(RFn("pl-3 pb-3 text-muted small")(SGe(1e3)(n.message)))]),wFn("text-right d-flex")(function(){if(r.sendButtonStatus instanceof Ih)return a(!0);if(r.sendButtonStatus instanceof Iy)return a(!1);if(r.sendButtonStatus instanceof Th)return A6;throw new Error("Failed pattern match at Vinai.AuthorChatMessage (line 110, column 7 - line 113, column 35): "+[r.sendButtonStatus.constructor.name])}())])}}}};var L6=function(){return{message:"",messageHeight:E.value}}();var TFn=an();var FFn=function(e){return TFn(A2(e))};var TGe=function(e){return Tr(FFn(e))};var MFn=VS(Ct),GFn=Us(Ro),AFn=Z(rr),FGe=Hn(Bs),MGe=q(ta),xFn=Np(ta)(hi),LFn=mGe(kd),jFn=$e(Xe),NFn=aa(Ae)(q8(U8)),PFn=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),j6=function(){function e(){}return e.value=new e,e}(),N6=function(){function e(){}return e.value=new e,e}();var C$={append:function(e){return function(n){return MFn(n)(e)}}},OFn={mempty:Cl,Semigroup0:function(){return C$}},kFn=m0(L2(OFn)(_a)),GGe=function(e){return e.value0.disconnect},AGe=function(e){return function(n){var t=TGe(n),a=GFn(t);return function(){var o=FGe(Sd(MGe(Re)))(),i=xFn(a)(function(l){return LFn(e)(l.value0)(function(c){return function(){var f=l.value1(c)();if(f instanceof j6)return Re;if(f instanceof N6)return AFn(Ap(o))(jFn)();throw new Error("Failed pattern match at Utils.Pusher.ListenMany (line 73, column 23 - line 75, column 66): "+[f.constructor.name])}})})(),u=NFn(i);return FGe(xp(u)(o))(),new PFn({disconnect:u})}}},P6=function(e){var n=_0(e);return function(t){return function(a){return kFn(wg(t)(function(r){var o=n(r);if(o instanceof nn)return a(o.value0);if(o instanceof Ke)return fo(Co)("Error parsing Pusher event")({error:o.value0,event:t,value:r})(function(i){return MGe(j6.value)});throw new Error("Failed pattern match at Utils.Pusher.ListenMany (line 35, column 65 - line 37, column 122): "+[o.constructor.name])}))}}};var Ty=function(){function e(){}return e.value=new e,e}(),aM=function(){function e(){}return e.value=new e,e}();var Tf=function(){function e(){}return e.value=new e,e}(),Cs=function(){function e(){}return e.value=new e,e}();var I$={eq:function(e){return function(n){return e instanceof Tf&&n instanceof Tf||e instanceof Cs&&n instanceof Cs}}};var T$=function(){function e(){}return e.value=new e,e}(),F$=function(){function e(){}return e.value=new e,e}(),M$=function(){function e(){}return e.value=new e,e}();var G$=function(e){return e==="moderation_failure"?T$.value:e==="llm_failure"?F$.value:M$.value},xGe=function(e){if(e instanceof T$||e instanceof F$)return!0;if(e instanceof M$)return!1;throw new Error("Failed pattern match at Vinai.Types.FailureReason (line 34, column 11 - line 37, column 26): "+[e.constructor.name])},A$=function(e){if(e instanceof T$)return"AI-generated response was flagged due to not meeting our content standards.";if(e instanceof F$)return"We received an error from our language model provider.";if(e instanceof M$)return"Something went wrong.";throw new Error("Failed pattern match at Vinai.Types.FailureReason (line 19, column 11 - line 22, column 44): "+[e.constructor.name])};var JFn={reflectSymbol:function(){return"timestamp"}};var x$=Un(An),rM=x$(Wt),L$=Z(Ut),oM=Hn(Xn),LGe=x$(w1(C$)(P8)),j$=Qn(),jGe=C({reflectSymbol:function(){return"id"}})(ie),qFn=P6(j$(C({reflectSymbol:function(){return"delta"}})(ie)(jGe(C(JFn)(ie)(de))))),WFn=P6(j$(C({reflectSymbol:function(){return"body"}})(ie)(jGe(de)))),$Fn=P6(j$(C({reflectSymbol:function(){return"reason"}})(ie)(de))),N$=x$(Ut),O6=q(Xt),P$=qr(Xn),zFn=Li(ft),VFn=ri(bj)(ft),qv=q(_t),NGe=qe(da),QFn=eK(HG),YFn=uo(_t)(ai),Wv=function(){function e(){}return e.value=new e,e}(),rd=function(){function e(){}return e.value=new e,e}(),od=function(){function e(){}return e.value=new e,e}(),Is=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),fp=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),k6=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),PGe=function(){function e(){}return e.value=new e,e}(),O$=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),k$=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),OGe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),kGe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),UGe=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}(),XFn=function(){function e(){}return e.value=new e,e}();var ZFn=function(e){return{delta:e.delta,id:e.id,timestamp:nm(e.timestamp)}},HGe=function(e){return function(n){var t=function(a){return function(r){return{body:r.body,sender:aM.value,sentAt:a,id:new _(r.id)}}};return rM(D0(function(a){return L$(oM(AGe(e.receiveChannelName)(LGe(qFn("chat-completion-chunk")(function(r){return function(){var i=r_();return a.dispatch(new UGe(i,ZFn(r)))(),j6.value}}))(function(){return LGe(WFn("chat-completion-message-received")(function(r){return function(){var i=r_();return a.dispatch(new k$(t(i)(r)))(),N6.value}}))(function(){return $Fn("chat-completion-failed")(function(r){return function(){return a.dispatch(new O$(new _(G$(r.reason))))(),N6.value}})})}))))(function(r){return N$(oM(a.dispatch(new kGe(r))))(function(){return L$(e.sendMessage(n))(function(o){return o.success?O6(Re):oM(a.dispatch(new O$(new _(G$(o.failureReason)))))})})})}))(function(){return P$(N$(lc(200))(function(){return O6(PGe.value)}))})}},KFn=function(e){return function(n){return rM(P$(L$(oM(r_))(function(t){return O6(new OGe({sender:Ty.value,body:n,sentAt:t,id:E.value}))})))(function(){return HGe(e)(n)})}},U$=function(e){var n=function(t){var a=yi("$$")(t),r=iK(ha(a));return r?zFn("$$")(LS(0)(ha(a)-1|0)(a)):t};return{sender:aM.value,body:n(VFn(function(t){return t.content})(e.deltas)),sentAt:Ad(e.deltas).timestamp,id:new _(e.id)}},eMn=function(e){if(e.receivingResponse instanceof E)return qv(Re);if(e.receivingResponse instanceof _)return e.sendingState instanceof Is?P$(N$(oM(GGe(e.receivingResponse.value0)))(function(){return O6(new k$(U$(e.sendingState.value0)))})):qv(Re);throw new Error("Failed pattern match at Vinai.Chatbot (line 292, column 1 - line 292, column 51): "+[e.constructor.name])},H$=function(e){return function(n){if(n instanceof k6)return rM(KFn(e)(n.value0))(function(){return qv(e)});if(n instanceof PGe)return qv({messages:e.messages,receiveChannelName:e.receiveChannelName,receivingResponse:e.receivingResponse,sendMessage:e.sendMessage,sendingState:function(){if(e.sendingState instanceof Wv)return Wv.value;if(e.sendingState instanceof rd||e.sendingState instanceof od)return od.value;if(e.sendingState instanceof Is)return new Is(e.sendingState.value0);if(e.sendingState instanceof fp)return new fp(e.sendingState.value0);throw new Error("Failed pattern match at Vinai.Chatbot (line 160, column 9 - line 165, column 59): "+[e.sendingState.constructor.name])}()});if(n instanceof O$)return qv({messages:e.messages,receiveChannelName:e.receiveChannelName,sendMessage:e.sendMessage,sendingState:new fp(n.value0),receivingResponse:E.value});if(n instanceof k$)return qv({receiveChannelName:e.receiveChannelName,sendMessage:e.sendMessage,messages:NGe(e.messages)([n.value0]),sendingState:Wv.value,receivingResponse:E.value});if(n instanceof OGe)return qv({receiveChannelName:e.receiveChannelName,receivingResponse:e.receivingResponse,sendMessage:e.sendMessage,messages:NGe(e.messages)([n.value0]),sendingState:rd.value});if(n instanceof kGe)return qv({messages:e.messages,receiveChannelName:e.receiveChannelName,sendMessage:e.sendMessage,sendingState:e.sendingState,receivingResponse:new _(n.value0)});if(n instanceof UGe)return qv({messages:e.messages,receiveChannelName:e.receiveChannelName,receivingResponse:e.receivingResponse,sendMessage:e.sendMessage,sendingState:function(){if(e.sendingState instanceof Is&&n.value1.id===e.sendingState.value0.id)return new Is({id:e.sendingState.value0.id,deltas:QFn(function(t){return t.timestamp})(VZ(e.sendingState.value0.deltas)({content:n.value1.delta,timestamp:be(n.value0)(n.value1.timestamp)}))});if(e.sendingState instanceof Is)return e.sendingState;if(e.sendingState instanceof od)return new Is({deltas:yg({content:n.value1.delta,timestamp:be(n.value0)(n.value1.timestamp)}),id:n.value1.id});if(e.sendingState instanceof rd)return new Is({deltas:yg({content:n.value1.delta,timestamp:be(n.value0)(n.value1.timestamp)}),id:n.value1.id});if(e.sendingState instanceof Wv||e.sendingState instanceof fp)return e.sendingState;throw new Error("Failed pattern match at Vinai.Chatbot (line 180, column 22 - line 202, column 29): "+[e.sendingState.constructor.name])}()});if(n instanceof XFn)return rM(eMn(e))(function(){return qv(e)});throw new Error("Failed pattern match at Vinai.Chatbot (line 153, column 1 - line 153, column 55): "+[e.constructor.name,n.constructor.name])}},B$=function(e){var n={messages:e.messages,receivingResponse:E.value,receiveChannelName:e.receiveChannelName,sendingState:function(){if(e.initialMessageBody instanceof E)return Wv.value;if(e.initialMessageBody instanceof _)return rd.value;throw new Error("Failed pattern match at Vinai.Chatbot (line 147, column 23 - line 149, column 28): "+[e.initialMessageBody.constructor.name])}(),sendMessage:e.sendMessage};return rM(YFn(e.initialMessageBody)(HGe(n)))(function(){return qv(n)})};Ht();var BGe=["http","https","mailto","tel"];function JGe(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)"}Ht();var QGe=ya(q$());function Fh(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?WGe(e.position):"start"in e||"end"in e?WGe(e):"line"in e||"column"in e?W$(e):""}function W$(e){return $Ge(e&&e.line)+":"+$Ge(e&&e.column)}function WGe(e){return W$(e&&e.start)+"-"+W$(e&&e.end)}function $Ge(e){return e&&typeof e=="number"?e:1}var zl=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=Fh(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}};zl.prototype.file="";zl.prototype.name="";zl.prototype.reason="";zl.prototype.message="";zl.prototype.stack="";zl.prototype.fatal=null;zl.prototype.column=null;zl.prototype.line=null;zl.prototype.source=null;zl.prototype.ruleId=null;zl.prototype.position=null;var $v={basename:nMn,dirname:tMn,extname:aMn,join:rMn,sep:"/"};function nMn(e,n){if(n!==void 0&&typeof n!="string")throw new TypeError('"ext" argument must be a string');iM(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 tMn(e){if(iM(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 aMn(e){iM(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 rMn(...e){let n=-1,t;for(;++n0&&e.charCodeAt(e.length-1)===47&&(t+="/"),n?"/"+t:t}function iMn(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 iM(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}var zGe={cwd:uMn};function uMn(){return"/"}function Jw(e){return e!==null&&typeof e=="object"&&e.href&&e.origin}function VGe(e){if(typeof e=="string")e=new URL(e);else if(!Jw(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 lMn(e)}function lMn(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 X$=c4e().freeze(),l4e={}.hasOwnProperty;function c4e(){let e=i4e(),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=p,o.processSync=d,o;function o(){let y=c4e(),h=-1;for(;++h{if(T||!k||!K)O(T);else{let oe=o.stringify(k,K);oe==null||(pMn(oe)?K.value=oe:K.result=oe),O(T,K)}});function O(T,k){T||!k?M(T):S?S(k):h(null,k)}}}function d(y){let h;o.freeze(),Z$("processSync",o.Parser),K$("processSync",o.Compiler);let g=lM(y);return o.process(g,S),v4e("processSync","process",h),g;function S(M){h=!0,Q$(M)}}}function s4e(e,n){return typeof e=="function"&&e.prototype&&(fMn(e.prototype)||n in e.prototype)}function fMn(e){let n;for(n in e)if(l4e.call(e,n))return!0;return!1}function Z$(e,n){if(typeof n!="function")throw new TypeError("Cannot `"+e+"` without `Parser`")}function K$(e,n){if(typeof n!="function")throw new TypeError("Cannot `"+e+"` without `Compiler`")}function ez(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 f4e(e){if(!uM(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function v4e(e,n,t){if(!t)throw new Error("`"+e+"` finished async. Use `"+n+"` instead")}function lM(e){return vMn(e)?e:new qw(e)}function vMn(e){return Boolean(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function pMn(e){return typeof e=="string"||(0,u4e.default)(e)}function nz(e,n){let t=(n||{}).includeImageAlt;return p4e(e,typeof t=="boolean"?t:!0)}function p4e(e,n){return mMn(e)&&("value"in e&&e.value||n&&"alt"in e&&e.alt||"children"in e&&m4e(e.children,n))||Array.isArray(e)&&m4e(e,n)||""}function m4e(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?(fi(e,e.length,0,n),e):n}var d4e={}.hasOwnProperty;function H6(e){let n={},t=-1;for(;++ti))return;let k=n.events.length,K=k,oe,Te;for(;K--;)if(n.events[K][0]==="exit"&&n.events[K][1].type==="chunkFlow"){if(oe){Te=n.events[K][1].end;break}oe=!0}for(g(a),T=k;TM;){let O=t[P];n.containerState=O[1],O[0].exit.call(n,e)}t.length=M}function S(){r.write([null]),o=void 0,r=void 0,n.containerState._closeFlow=void 0}}function DMn(e,n,t){return jt(e,e.attempt(this.parser.constructs.document,n,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Ww(e){if(e===null||ur(e)||My(e))return 1;if(Gy(e))return 2}function Ah(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);R4e(f,-l),R4e(v,l),i={type:l>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[a][1].end)},u={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[t][1].start),end:v},o={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[a][1].end),end:Object.assign({},e[t][1].start)},r={type:l>1?"strong":"emphasis",start:Object.assign({},i.start),end:Object.assign({},u.end)},e[a][1].end=Object.assign({},i.start),e[t][1].start=Object.assign({},u.end),c=[],e[a][1].end.offset-e[a][1].start.offset&&(c=Vl(c,[["enter",e[a][1],n],["exit",e[a][1],n]])),c=Vl(c,[["enter",r,n],["enter",i,n],["exit",i,n],["enter",o,n]]),c=Vl(c,Ah(n.parser.constructs.insideSpan.null,e.slice(a+1,t),n)),c=Vl(c,[["exit",o,n],["enter",u,n],["exit",u,n],["exit",r,n]]),e[t][1].end.offset-e[t][1].start.offset?(s=2,c=Vl(c,[["enter",e[t][1],n],["exit",e[t][1],n]])):s=0,fi(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):kn(c)?e.attempt(MMn,i,l)(c):(e.enter("codeFlowValue"),u(c))}function u(c){return c===null||kn(c)?(e.exit("codeFlowValue"),i(c)):(e.consume(c),u)}function l(c){return e.exit("codeIndented"),n(c)}}function AMn(e,n,t){let a=this;return r;function r(i){return a.parser.lazy[a.now().line]?t(i):kn(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),r):jt(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):kn(i)?r(i):t(i)}}var rz={name:"codeText",tokenize:jMn,resolve:xMn,previous:LMn};function xMn(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 z6(e,n,t,a,r,o,i,u,l){let c=l||Number.POSITIVE_INFINITY,s=0;return f;function f(g){return g===60?(e.enter(a),e.enter(r),e.enter(o),e.consume(g),e.exit(o),v):g===null||g===41||Mh(g)?t(g):(e.enter(a),e.enter(i),e.enter(u),e.enter("chunkString",{contentType:"string"}),y(g))}function v(g){return g===62?(e.enter(o),e.consume(g),e.exit(o),e.exit(r),e.exit(a),n):(e.enter(u),e.enter("chunkString",{contentType:"string"}),p(g))}function p(g){return g===62?(e.exit("chunkString"),e.exit(u),v(g)):g===null||g===60||kn(g)?t(g):(e.consume(g),g===92?d:p)}function d(g){return g===60||g===62||g===92?(e.consume(g),p):p(g)}function y(g){return g===40?++s>c?t(g):(e.consume(g),y):g===41?s--?(e.consume(g),y):(e.exit("chunkString"),e.exit(u),e.exit(i),e.exit(a),n(g)):g===null||ur(g)?s?t(g):(e.exit("chunkString"),e.exit(u),e.exit(i),e.exit(a),n(g)):Mh(g)?t(g):(e.consume(g),g===92?h:y)}function h(g){return g===40||g===41||g===92?(e.consume(g),y):y(g)}}function V6(e,n,t,a,r,o){let i=this,u=0,l;return c;function c(p){return e.enter(a),e.enter(r),e.consume(p),e.exit(r),e.enter(o),s}function s(p){return p===null||p===91||p===93&&!l||p===94&&!u&&"_hiddenFootnoteSupport"in i.parser.constructs||u>999?t(p):p===93?(e.exit(o),e.enter(r),e.consume(p),e.exit(r),e.exit(a),n):kn(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),s):(e.enter("chunkString",{contentType:"string"}),f(p))}function f(p){return p===null||p===91||p===93||kn(p)||u++>999?(e.exit("chunkString"),s(p)):(e.consume(p),l=l||!Aa(p),p===92?v:f)}function v(p){return p===91||p===92||p===93?(e.consume(p),u++,f):f(p)}}function Q6(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):kn(v)?(e.enter("lineEnding"),e.consume(v),e.exit("lineEnding"),jt(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),s(v))}function s(v){return v===i||v===null||kn(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 Ay(e,n){let t;return a;function a(r){return kn(r)?(e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t=!0,a):Aa(r)?jt(e,a,t?"linePrefix":"lineSuffix")(r):n(r)}}function ml(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var iz={name:"definition",tokenize:BMn},HMn={tokenize:JMn,partial:!0};function BMn(e,n,t){let a=this,r;return o;function o(l){return e.enter("definition"),V6.call(a,e,i,t,"definitionLabel","definitionLabelMarker","definitionLabelString")(l)}function i(l){return r=ml(a.sliceSerialize(a.events[a.events.length-1][1]).slice(1,-1)),l===58?(e.enter("definitionMarker"),e.consume(l),e.exit("definitionMarker"),Ay(e,z6(e,e.attempt(HMn,jt(e,u,"whitespace"),jt(e,u,"whitespace")),t,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):t(l)}function u(l){return l===null||kn(l)?(e.exit("definition"),a.parser.defined.includes(r)||a.parser.defined.push(r),n(l)):t(l)}}function JMn(e,n,t){return a;function a(i){return ur(i)?Ay(e,r)(i):t(i)}function r(i){return i===34||i===39||i===40?Q6(e,jt(e,o,"whitespace"),t,"definitionTitle","definitionTitleMarker","definitionTitleString")(i):t(i)}function o(i){return i===null||kn(i)?n(i):t(i)}}var uz={name:"hardBreakEscape",tokenize:qMn};function qMn(e,n,t){return a;function a(o){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(o),r}function r(o){return kn(o)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),n(o)):t(o)}}var lz={name:"headingAtx",tokenize:$Mn,resolve:WMn};function WMn(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"},fi(e,a,t-a+1,[["enter",r,n],["enter",o,n],["exit",o,n],["exit",r,n]])),e}function $Mn(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||ur(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||kn(s)?(e.exit("atxHeading"),n(s)):Aa(s)?jt(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||ur(s)?(e.exit("atxHeadingText"),u(s)):(e.consume(s),c)}}var S4e=["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"],cz=["pre","script","style","textarea"];var sz={name:"htmlFlow",tokenize:QMn,resolveTo:VMn,concrete:!0},zMn={tokenize:YMn,partial:!0};function VMn(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 QMn(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),d):x===63?(e.consume(x),r=3,a.interrupt?n:Et):pl(x)?(e.consume(x),i=String.fromCharCode(x),o=!0,y):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,p):pl(x)?(e.consume(x),r=4,a.interrupt?n:Et):t(x)}function v(x){return x===45?(e.consume(x),a.interrupt?n:Et):t(x)}function p(x){return x===i.charCodeAt(u++)?(e.consume(x),u===i.length?a.interrupt?n:we:p):t(x)}function d(x){return pl(x)?(e.consume(x),i=String.fromCharCode(x),y):t(x)}function y(x){return x===null||x===47||x===62||ur(x)?x!==47&&o&&cz.includes(i.toLowerCase())?(r=1,a.interrupt?n(x):we(x)):S4e.includes(i.toLowerCase())?(r=6,x===47?(e.consume(x),h):a.interrupt?n(x):we(x)):(r=7,a.interrupt&&!a.parser.lazy[a.now().line]?t(x):o?S(x):g(x)):x===45||vi(x)?(e.consume(x),i+=String.fromCharCode(x),y):t(x)}function h(x){return x===62?(e.consume(x),a.interrupt?n:we):t(x)}function g(x){return Aa(x)?(e.consume(x),g):oe(x)}function S(x){return x===47?(e.consume(x),oe):x===58||x===95||pl(x)?(e.consume(x),M):Aa(x)?(e.consume(x),S):oe(x)}function M(x){return x===45||x===46||x===58||x===95||vi(x)?(e.consume(x),M):P(x)}function P(x){return x===61?(e.consume(x),O):Aa(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,T):Aa(x)?(e.consume(x),O):(l=null,k(x))}function T(x){return x===null||kn(x)?t(x):x===l?(e.consume(x),K):(e.consume(x),T)}function k(x){return x===null||x===34||x===39||x===60||x===61||x===62||x===96||ur(x)?P(x):(e.consume(x),k)}function K(x){return x===47||x===62||Aa(x)?S(x):t(x)}function oe(x){return x===62?(e.consume(x),Te):t(x)}function Te(x){return Aa(x)?(e.consume(x),Te):x===null||kn(x)?we(x):t(x)}function we(x){return x===45&&r===2?(e.consume(x),Je):x===60&&r===1?(e.consume(x),ue):x===62&&r===4?(e.consume(x),mt):x===63&&r===3?(e.consume(x),Et):x===93&&r===5?(e.consume(x),on):kn(x)&&(r===6||r===7)?e.check(zMn,mt,xe)(x):x===null||kn(x)?xe(x):(e.consume(x),we)}function xe(x){return e.exit("htmlFlowData"),Se(x)}function Se(x){return x===null?z(x):kn(x)?e.attempt({tokenize:Ce,partial:!0},Se,z)(x):(e.enter("htmlFlowData"),we(x))}function Ce(x,Y,fe){return he;function he(pe){return x.enter("lineEnding"),x.consume(pe),x.exit("lineEnding"),U}function U(pe){return a.parser.lazy[a.now().line]?fe(pe):Y(pe)}}function Je(x){return x===45?(e.consume(x),Et):we(x)}function ue(x){return x===47?(e.consume(x),i="",Tn):we(x)}function Tn(x){return x===62&&cz.includes(i.toLowerCase())?(e.consume(x),mt):pl(x)&&i.length<8?(e.consume(x),i+=String.fromCharCode(x),Tn):we(x)}function on(x){return x===93?(e.consume(x),Et):we(x)}function Et(x){return x===62?(e.consume(x),mt):x===45&&r===2?(e.consume(x),Et):we(x)}function mt(x){return x===null||kn(x)?(e.exit("htmlFlowData"),z(x)):(e.consume(x),mt)}function z(x){return e.exit("htmlFlow"),n(x)}}function YMn(e,n,t){return a;function a(r){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),e.attempt(vp,n,t)}}var fz={name:"htmlText",tokenize:XMn};function XMn(e,n,t){let a=this,r,o,i,u;return l;function l(z){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(z),c}function c(z){return z===33?(e.consume(z),s):z===47?(e.consume(z),k):z===63?(e.consume(z),O):pl(z)?(e.consume(z),Te):t(z)}function s(z){return z===45?(e.consume(z),f):z===91?(e.consume(z),o="CDATA[",i=0,h):pl(z)?(e.consume(z),P):t(z)}function f(z){return z===45?(e.consume(z),v):t(z)}function v(z){return z===null||z===62?t(z):z===45?(e.consume(z),p):d(z)}function p(z){return z===null||z===62?t(z):d(z)}function d(z){return z===null?t(z):z===45?(e.consume(z),y):kn(z)?(u=d,on(z)):(e.consume(z),d)}function y(z){return z===45?(e.consume(z),mt):d(z)}function h(z){return z===o.charCodeAt(i++)?(e.consume(z),i===o.length?g:h):t(z)}function g(z){return z===null?t(z):z===93?(e.consume(z),S):kn(z)?(u=g,on(z)):(e.consume(z),g)}function S(z){return z===93?(e.consume(z),M):g(z)}function M(z){return z===62?mt(z):z===93?(e.consume(z),M):g(z)}function P(z){return z===null||z===62?mt(z):kn(z)?(u=P,on(z)):(e.consume(z),P)}function O(z){return z===null?t(z):z===63?(e.consume(z),T):kn(z)?(u=O,on(z)):(e.consume(z),O)}function T(z){return z===62?mt(z):O(z)}function k(z){return pl(z)?(e.consume(z),K):t(z)}function K(z){return z===45||vi(z)?(e.consume(z),K):oe(z)}function oe(z){return kn(z)?(u=oe,on(z)):Aa(z)?(e.consume(z),oe):mt(z)}function Te(z){return z===45||vi(z)?(e.consume(z),Te):z===47||z===62||ur(z)?we(z):t(z)}function we(z){return z===47?(e.consume(z),mt):z===58||z===95||pl(z)?(e.consume(z),xe):kn(z)?(u=we,on(z)):Aa(z)?(e.consume(z),we):mt(z)}function xe(z){return z===45||z===46||z===58||z===95||vi(z)?(e.consume(z),xe):Se(z)}function Se(z){return z===61?(e.consume(z),Ce):kn(z)?(u=Se,on(z)):Aa(z)?(e.consume(z),Se):we(z)}function Ce(z){return z===null||z===60||z===61||z===62||z===96?t(z):z===34||z===39?(e.consume(z),r=z,Je):kn(z)?(u=Ce,on(z)):Aa(z)?(e.consume(z),Ce):(e.consume(z),r=void 0,Tn)}function Je(z){return z===r?(e.consume(z),ue):z===null?t(z):kn(z)?(u=Je,on(z)):(e.consume(z),Je)}function ue(z){return z===62||z===47||ur(z)?we(z):t(z)}function Tn(z){return z===null||z===34||z===39||z===60||z===61||z===96?t(z):z===62||ur(z)?we(z):(e.consume(z),Tn)}function on(z){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(z),e.exit("lineEnding"),jt(e,Et,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Et(z){return e.enter("htmlTextData"),u(z)}function mt(z){return z===62?(e.consume(z),e.exit("htmlTextData"),e.exit("htmlText"),n):t(z)}}var xy={name:"labelEnd",tokenize:a2n,resolveTo:t2n,resolveAll:n2n},ZMn={tokenize:r2n},KMn={tokenize:o2n},e2n={tokenize:i2n};function n2n(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 w2n(e,n){let t=-1,a=[],r;for(;++tG2n,contentInitial:()=>E2n,disable:()=>A2n,document:()=>S2n,flow:()=>I2n,flowInitial:()=>C2n,insideSpan:()=>M2n,string:()=>T2n,text:()=>F2n});var S2n={[42]:dl,[43]:dl,[45]:dl,[48]:dl,[49]:dl,[50]:dl,[51]:dl,[52]:dl,[53]:dl,[54]:dl,[55]:dl,[56]:dl,[57]:dl,[62]:B6},E2n={[91]:iz},C2n={[-2]:sM,[-1]:sM,[32]:sM},I2n={[35]:lz,[42]:Ly,[45]:[Y6,Ly],[60]:sz,[61]:Y6,[95]:Ly,[96]:W6,[126]:W6},T2n={[38]:q6,[92]:J6},F2n={[-5]:fM,[-4]:fM,[-3]:fM,[33]:vz,[38]:q6,[42]:cM,[60]:[az,fz],[91]:pz,[92]:[uz,J6],[93]:xy,[95]:cM,[96]:rz},M2n={null:[cM,C4e]},G2n={null:[42,95]},A2n={null:[]};function A4e(e={}){let n=H6([mz].concat(e.extensions||[])),t={defined:[],lazy:{},constructs:n,content:a(D4e),document:a(y4e),flow:a(E4e),string:a(I4e),text:a(T4e)};return t;function a(r){return o;function o(i){return G4e(t,r,i)}}}var x4e=/[\0\t\n\r]/g;function L4e(){let e=1,n="",t=!0,a;return r;function r(o,i,u){let l=[],c,s,f,v,p;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 x2n=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Z6(e){return e.replace(x2n,L2n)}function L2n(e,n,t){if(n)return n;if(t.charCodeAt(0)===35){let r=t.charCodeAt(1),o=r===120||r===88;return X6(t.slice(o?2:1),o?16:10)}return $w(t)||e}var N4e={}.hasOwnProperty,dz=function(e,n,t){return typeof n!="string"&&(t=n,n=void 0),j2n(t)(j4e(A4e(t).document().write(L4e()(e,n,!0))))};function j2n(e){let n={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:u(Gn),autolinkProtocol:we,autolinkEmail:we,atxHeading:u(tt),blockQuote:u(He),characterEscape:we,characterReference:we,codeFenced:u(en),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:u(en,l),codeText:u(Ne,l),codeTextData:we,data:we,codeFlowValue:we,definition:u(Fn),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:u(fn),hardBreakEscape:u(In),hardBreakTrailing:u(In),htmlFlow:u(at,l),htmlFlowData:we,htmlText:u(at,l),htmlTextData:we,image:u(Dt),label:l,link:u(Gn),listItem:u(rt),listItemValue:d,listOrdered:u(At,p),listUnordered:u(At),paragraph:u(qn),reference:he,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:u(tt),strong:u(vn),thematicBreak:u(Va)},exit:{atxHeading:s(),atxHeadingSequence:k,autolink:s(),autolinkEmail:Me,autolinkProtocol:je,blockQuote:s(),characterEscapeValue:xe,characterReferenceMarkerHexadecimal:pe,characterReferenceMarkerNumeric:pe,characterReferenceValue:V,codeFenced:s(S),codeFencedFence:g,codeFencedFenceInfo:y,codeFencedFenceMeta:h,codeFlowValue:xe,codeIndented:s(M),codeText:s(Tn),codeTextData:xe,data:xe,definition:s(),definitionDestinationString:T,definitionLabelString:P,definitionTitleString:O,emphasis:s(),hardBreakEscape:s(Ce),hardBreakTrailing:s(Ce),htmlFlow:s(Je),htmlFlowData:xe,htmlText:s(ue),htmlTextData:xe,image:s(Et),label:z,labelText:mt,lineEnding:Se,link:s(on),listItem:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:U,resourceDestinationString:x,resourceTitleString:Y,resource:fe,setextHeading:s(Te),setextHeadingLineSequence:oe,setextHeadingText:K,strong:s(),thematicBreak:s()}};P4e(n,(e||{}).mdastExtensions||[]);let t={};return a;function a(Ee){let Qe={type:"root",children:[]},xt={stack:[Qe],tokenStack:[],config:n,enter:c,exit:f,buffer:l,resume:v,setData:o,getData:i},pr=[],br=-1;for(;++br0){let Nc=xt.tokenStack[xt.tokenStack.length-1];(Nc[1]||O4e).call(xt,void 0,Nc[0])}for(Qe.position={start:xh(Ee.length>0?Ee[0][1].start:{line:1,column:1,offset:0}),end:xh(Ee.length>0?Ee[Ee.length-2][1].end:{line:1,column:1,offset:0})},br=-1;++br{let a=this.data("settings");return dz(t,Object.assign({},a,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}function k4e(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 U4e(e,n){let t={type:"element",tagName:"br",properties:{},children:[]};return e.patch(n,t),[e.applyData(n,t),{type:"text",value:` `}]}function H4e(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 B4e(e,n){let t={type:"element",tagName:"del",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)}function J4e(e,n){let t={type:"element",tagName:"em",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)}function Ff(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 eL(e,n){let t=String(n.identifier).toUpperCase(),a=Ff(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 q4e(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},eL(e,{type:"footnoteReference",identifier:r,position:n.position})}function W4e(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 $4e(e,n){if(e.dangerous){let t={type:"raw",value:n.value};return e.patch(n,t),e.applyData(n,t)}return null}function nL(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 z4e(e,n){let t=e.definition(n.identifier);if(!t)return nL(e,n);let a={src:Ff(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 V4e(e,n){let t={src:Ff(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 Q4e(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 Y4e(e,n){let t=e.definition(n.identifier);if(!t)return nL(e,n);let a={href:Ff(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 X4e(e,n){let t={href:Ff(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 Z4e(e,n,t){let a=e.all(n),r=t?P2n(t):K4e(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 e3e(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 o3e(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=zw(n.children[1]),l=Vw(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 i3e(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(f3e(n.slice(r),r>0,!1)),o.join("")}function f3e(e,n,t){let a=0,r=e.length;if(n){let o=e.codePointAt(a);for(;o===l3e||o===c3e;)a++,o=e.codePointAt(a)}if(t){let o=e.codePointAt(r-1);for(;o===l3e||o===c3e;)r--,o=e.codePointAt(r-1)}return r>a?e.slice(a,r):""}function v3e(e,n){let t={type:"text",value:s3e(String(n.value))};return e.patch(n,t),e.applyData(n,t)}function p3e(e,n){let t={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(n,t),e.applyData(n,t)}var m3e={blockquote:k4e,break:U4e,code:H4e,delete:B4e,emphasis:J4e,footnoteReference:eL,footnote:q4e,heading:W4e,html:$4e,imageReference:z4e,image:V4e,inlineCode:Q4e,linkReference:Y4e,link:X4e,listItem:Z4e,list:e3e,paragraph:n3e,root:t3e,strong:a3e,table:o3e,tableCell:u3e,tableRow:i3e,text:v3e,thematicBreak:p3e,toml:tL,yaml:tL,definition:tL,footnoteDefinition:tL};function tL(){return null}var vM=function(e){if(e==null)return H2n;if(typeof e=="string")return U2n(e);if(typeof e=="object")return Array.isArray(e)?O2n(e):k2n(e);if(typeof e=="function")return aL(e);throw new Error("Expected function, string, or object as test")};function O2n(e){let n=[],t=-1;for(;++t":""))+")"})}return f;function f(){let v=[],p,d,y;if((!n||r(u,l,c[c.length-1]||null))&&(v=B2n(t(u,c)),v[0]===rL))return v;if(u.children&&v[0]!==gz)for(d=(a?u.children.length:-1)+o,y=c.concat(u);d>-1&&d{let r=h3e(a.identifier);r&&!_3e.call(n,r)&&(n[r]=a)}),t;function t(a){let r=h3e(a);return r&&_3e.call(n,r)?n[r]:null}}function h3e(e){return String(e||"").toUpperCase()}var oL={}.hasOwnProperty;function g3e(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=Ha(Ha({},m3e),t.handlers),i.definition=yz(e),i.footnoteById=r,i.footnoteOrder=[],i.footnoteCounts={},i.patch=J2n,i.applyData=q2n,i.one=u,i.all=l,i.wrap=$2n,i.augment=o,jy(e,"footnoteDefinition",c=>{let s=String(c.identifier).toUpperCase();oL.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=Ha(Ha({},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};Dz(f)||(s.position={start:zw(f),end:Vw(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 D3e(i,c,s)}function l(c){return bz(i,c)}}function J2n(e,n){e.position&&(n.position=_z(e))}function q2n(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=Ha(Ha({},t.properties),o)),"children"in t&&t.children&&r!==null&&r!==void 0&&(t.children=r)}return t}function D3e(e,n,t){let a=n&&n.type;if(!a)throw new Error("Expected node, got `"+n+"`");return oL.call(e.handlers,a)?e.handlers[a](e,n,t):e.passThrough&&e.passThrough.includes(a)?"children"in n?di(Ha({},n),{children:bz(e,n)}):n:e.unknownHandler?e.unknownHandler(e,n,t):W2n(e,n)}function bz(e,n){let t=[];if("children"in n){let a=n.children,r=-1;for(;++r0&&t.push({type:"text",value:` `}),t}function y3e(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:di(Ha({},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 iL(e,n){let t=g3e(e,n),a=t.one(e,null),r=y3e(t);return r&&a.children.push({type:"text",value:` `},r),Array.isArray(a)?{type:"root",children:a}:a}var z2n=function(e,n){return e&&"run"in e?V2n(e,n):Q2n(e||n)},Rz=z2n;function V2n(e,n){return(t,a,r)=>{e.run(iL(t,n),a,o=>{r(o)})}}function Q2n(e){return n=>iL(n,e)}var ua=ya(mb());var Lh=class{constructor(n,t,a){this.property=n,this.normal=t,a&&(this.space=a)}};Lh.prototype.property={};Lh.prototype.normal={};Lh.prototype.space=null;function wz(e,n){let t={},a={},r=-1;for(;++rDa,booleanish:()=>Ko,commaOrSpaceSeparated:()=>Gc,commaSeparated:()=>jh,number:()=>un,overloadedBoolean:()=>Sz,spaceSeparated:()=>Nr});var Y2n=0,Da=Ny(),Ko=Ny(),Sz=Ny(),un=Ny(),Nr=Ny(),jh=Ny(),Gc=Ny();function Ny(){return 2**++Y2n}var Ez=Object.keys(mM),Qw=class extends Ql{constructor(n,t,a,r){let o=-1;super(n,t);if(b3e(this,"space",r),typeof a=="number")for(;++o4&&t.slice(0,4)==="data"&&Z2n.test(n)){if(n.charAt(4)==="-"){let o=n.slice(5).replace(S3e,nGn);a="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{let o=n.slice(4);if(!S3e.test(o)){let i=o.replace(K2n,eGn);i.charAt(0)!=="-"&&(i="-"+i),n="data"+i}}r=Qw}return new r(a,n)}function eGn(e){return"-"+e.toLowerCase()}function nGn(e){return e.charAt(1).toUpperCase()}var cL={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 sL=wz([Iz,Cz,Tz,Fz,R3e],"html"),fL=wz([Iz,Cz,Tz,Fz,w3e],"svg");function Mz(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=>{jy(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})}}Ht();var B3e=ya(T3e());function F3e(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 xz(e){let n=String(e||"").trim();return n?n.split(/[ \t\n\r\f]+/g):[]}function M3e(e){return e.join(" ").trim()}function Lz(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 G3e(e,n){let t=n||{};return(e[e.length-1]===""?[...e,""]:e).join((t.padRight?" ":"")+","+(t.padLeft===!1?"":" ")).trim()}var U3e=ya(k3e()),H3e=U3e.default;var Nz={}.hasOwnProperty,dGn=new Set(["table","thead","tbody","tfoot","tr"]);function Pz(e,n){let t=[],a=-1,r;for(;++a0?gt.createElement(p,l,f):gt.createElement(p,l)}function hGn(e){let n=-1;for(;++n for more info)`),delete RL[o]}let n=X$().use(K6).use(e.remarkPlugins||[]).use(Rz,di(Ha({},e.remarkRehypeOptions),{allowDangerousHtml:!0})).use(e.rehypePlugins||[]).use(Mz,e),t=new qw;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=gt.createElement(gt.Fragment,{},Pz({options:e,schema:sL,listDepth:0},a));return e.className&&(r=gt.createElement("div",{className:e.className},r)),r}wL.propTypes={children:ua.default.string,className:ua.default.string,allowElement:ua.default.func,allowedElements:ua.default.arrayOf(ua.default.string),disallowedElements:ua.default.arrayOf(ua.default.string),unwrapDisallowed:ua.default.bool,remarkPlugins:ua.default.arrayOf(ua.default.oneOfType([ua.default.object,ua.default.func,ua.default.arrayOf(ua.default.oneOfType([ua.default.bool,ua.default.string,ua.default.object,ua.default.func,ua.default.arrayOf(ua.default.any)]))])),rehypePlugins:ua.default.arrayOf(ua.default.oneOfType([ua.default.object,ua.default.func,ua.default.arrayOf(ua.default.oneOfType([ua.default.bool,ua.default.string,ua.default.object,ua.default.func,ua.default.arrayOf(ua.default.any)]))])),sourcePos:ua.default.bool,rawSourcePos:ua.default.bool,skipHtml:ua.default.bool,includeElementIndex:ua.default.bool,transformLinkUri:ua.default.oneOfType([ua.default.func,ua.default.bool]),linkTarget:ua.default.oneOfType([ua.default.func,ua.default.string]),transformImageUri:ua.default.func,components:ua.default.object};var q3e=/[#.]/g;function kz(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 tAe(e,n,t){return e.type==="element"?$Gn(e,n,t):e.type==="text"?t.whitespace==="normal"?aAe(e,t):zGn(e):[]}function $Gn(e,n,t){let a=rAe(e,t),r=e.children||[],o=-1,i=[];if(WGn(e))return i;let u,l;for(zz(e)||eAe(e)&&IL(n,e,eAe)?l=` `:qGn(e)?(u=2,l=2):nAe(e)&&(u=1,l=1);++o15?c="\u2026"+u.slice(r-15,r):c=u.slice(0,r);var s;o+15":">","<":"<",'"':""","'":"'"},a4n=/[&><"']/g;function r4n(e){return String(e).replace(a4n,n=>t4n[n])}var oAe=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},o4n=function(n){var t=oAe(n);return t.type==="mathord"||t.type==="textord"||t.type==="atom"},i4n=function(n){if(!n)throw new Error("Expected non-null, but got "+String(n));return n},u4n=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"},Gt={contains:ZGn,deflt:KGn,escape:r4n,hyphenate:n4n,getBaseElem:oAe,isCharacterBox:o4n,protocolFromUrl:u4n},TL={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 l4n(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 FL=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 TL)if(TL.hasOwnProperty(t)){var a=TL[t];this[t]=n[t]!==void 0?a.processor?a.processor(n[t]):n[t]:l4n(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 ln("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=Gt.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)}},ld=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 pp[c4n[this.id]]}sub(){return pp[s4n[this.id]]}fracNum(){return pp[f4n[this.id]]}fracDen(){return pp[v4n[this.id]]}cramp(){return pp[p4n[this.id]]}text(){return pp[m4n[this.id]]}isTight(){return this.size>=2}},Qz=0,ML=1,Yw=2,cd=3,_M=4,Af=5,Xw=6,Yl=7,pp=[new ld(Qz,0,!1),new ld(ML,0,!0),new ld(Yw,1,!1),new ld(cd,1,!0),new ld(_M,2,!1),new ld(Af,2,!0),new ld(Xw,3,!1),new ld(Yl,3,!0)],c4n=[_M,Af,_M,Af,Xw,Yl,Xw,Yl],s4n=[Af,Af,Af,Af,Yl,Yl,Yl,Yl],f4n=[Yw,cd,_M,Af,Xw,Yl,Xw,Yl],v4n=[cd,cd,Af,Af,Yl,Yl,Yl,Yl],p4n=[ML,ML,cd,cd,Af,Af,Yl,Yl],m4n=[Qz,ML,Yw,cd,Yw,cd,Yw,cd],Ot={DISPLAY:pp[Qz],TEXT:pp[Yw],SCRIPT:pp[_M],SCRIPTSCRIPT:pp[Xw]},Yz=[{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 d4n(e){for(var n=0;n=r[0]&&e<=r[1])return t.name}return null}var GL=[];Yz.forEach(e=>e.blocks.forEach(n=>GL.push(...n)));function iAe(e){for(var n=0;n=GL[n]&&e<=GL[n+1])return!0;return!1}var Zw=80,_4n=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"},h4n=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"},g4n=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"},D4n=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"},y4n=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"},b4n=function(n){var t=n/2;return"M400000 "+n+" H0 L"+t+" 0 l65 45 L145 "+(n-80)+" H400000z"},R4n=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"},w4n=function(n,t,a){t=1e3*t;var r="";switch(n){case"sqrtMain":r=_4n(t,Zw);break;case"sqrtSize1":r=h4n(t,Zw);break;case"sqrtSize2":r=g4n(t,Zw);break;case"sqrtSize3":r=D4n(t,Zw);break;case"sqrtSize4":r=y4n(t,Zw);break;case"sqrtTall":r=R4n(t,Zw,a)}return r},S4n=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""}},uAe={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`},E4n=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.")}},Kw=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 Gt.contains(this.classes,n)}toNode(){for(var n=document.createDocumentFragment(),t=0;tt.toText();return this.children.map(n).join("")}},mp={"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]}},AL={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]},lAe={\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 C4n(e,n){mp[e]=n}function Xz(e,n,t){if(!mp[n])throw new Error("Font metrics not found for font: "+n+".");var a=e.charCodeAt(0),r=mp[n][a];if(!r&&e[0]in lAe&&(a=lAe[e[0]].charCodeAt(0),r=mp[n][a]),!r&&t==="text"&&iAe(a)&&(r=mp[n][77]),r)return{depth:r[0],height:r[1],italic:r[2],skew:r[3],width:r[4]}}var Zz={};function I4n(e){var n;if(e>=5?n=0:e>=3?n=1:n=2,!Zz[n]){var t=Zz[n]={cssEmPerMu:AL.quad[n]/18};for(var a in AL)AL.hasOwnProperty(a)&&(t[a]=AL[a][n])}return Zz[n]}var T4n=[[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]],cAe=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],sAe=function(n,t){return t.size<2?n:T4n[n-1][t.size-1]},dp=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||dp.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=cAe[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 dp(t)}havingStyle(n){return this.style===n?this:this.extend({style:n,size:sAe(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:cAe[n-1]})}havingBaseStyle(n){n=n||this.style.text();var t=sAe(dp.BASESIZE,n);return this.size===t&&this.textSize===dp.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!==dp.BASESIZE?["sizing","reset-size"+this.size,"size"+dp.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=I4n(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}};dp.BASESIZE=6;var Kz={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},F4n={ex:!0,em:!0,mu:!0},fAe=function(n){return typeof n!="string"&&(n=n.unit),n in Kz||n in F4n||n==="ex"},jo=function(n,t){var a;if(n.unit in Kz)a=Kz[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 ln("Invalid unit: '"+n.unit+"'");r!==t&&(a*=r.sizeMultiplier/t.sizeMultiplier)}return Math.min(n.number*a,t.maxSize)},Mn=function(n){return+n.toFixed(4)+"em"},Nh=function(n){return n.filter(t=>t).join(" ")},vAe=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)}},pAe=function(n){var t=document.createElement(n);t.className=Nh(this.classes);for(var a in this.style)this.style.hasOwnProperty(a)&&(t.style[a]=this.style[a]);for(var r in this.attributes)this.attributes.hasOwnProperty(r)&&t.setAttribute(r,this.attributes[r]);for(var o=0;o/=\x00-\x1f]/,mAe=function(n){var t="<"+n;this.classes.length&&(t+=' class="'+Gt.escape(Nh(this.classes))+'"');var a="";for(var r in this.style)this.style.hasOwnProperty(r)&&(a+=Gt.hyphenate(r)+":"+this.style[r]+";");a&&(t+=' style="'+Gt.escape(a)+'"');for(var o in this.attributes)if(this.attributes.hasOwnProperty(o)){if(M4n.test(o))throw new ln("Invalid attribute name '"+o+"'");t+=" "+o+'="'+Gt.escape(this.attributes[o])+'"'}t+=">";for(var i=0;i",t},eS=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,vAe.call(this,n,a,r),this.children=t||[]}setAttribute(n,t){this.attributes[n]=t}hasClass(n){return Gt.contains(this.classes,n)}toNode(){return pAe.call(this,"span")}toMarkup(){return mAe.call(this,"span")}},xL=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,vAe.call(this,t,r),this.children=a||[],this.setAttribute("href",n)}setAttribute(n,t){this.attributes[n]=t}hasClass(n){return Gt.contains(this.classes,n)}toNode(){return pAe.call(this,"a")}toMarkup(){return mAe.call(this,"a")}},dAe=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 Gt.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=''+Gt.escape(this.alt)+'0&&(t=document.createElement("span"),t.style.marginRight=Mn(this.italic)),this.classes.length>0&&(t=t||document.createElement("span"),t.className=Nh(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+=Gt.hyphenate(r)+":"+this.style[r]+";");a&&(n=!0,t+=' style="'+Gt.escape(a)+'"');var o=Gt.escape(this.text);return n?(t+=">",t+=o,t+="",t):o}},_p=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':''}},LL=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 x4n={bin:1,close:1,inner:1,open:1,punct:1,rel:1},L4n={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Vr={math:{},text:{}};function R(e,n,t,a,r,o){Vr[e][r]={font:n,group:t,replace:a},o&&a&&(Vr[e][a]=Vr[e][r])}var I="math",Ve="text",G="main",$="ams",yo="accent-token",nt="bin",Xl="close",nS="inner",kt="mathord",Ti="op-token",Ms="open",jL="punct",Q="rel",fd="spacing",ce="textord";R(I,G,Q,"\u2261","\\equiv",!0);R(I,G,Q,"\u227A","\\prec",!0);R(I,G,Q,"\u227B","\\succ",!0);R(I,G,Q,"\u223C","\\sim",!0);R(I,G,Q,"\u22A5","\\perp");R(I,G,Q,"\u2AAF","\\preceq",!0);R(I,G,Q,"\u2AB0","\\succeq",!0);R(I,G,Q,"\u2243","\\simeq",!0);R(I,G,Q,"\u2223","\\mid",!0);R(I,G,Q,"\u226A","\\ll",!0);R(I,G,Q,"\u226B","\\gg",!0);R(I,G,Q,"\u224D","\\asymp",!0);R(I,G,Q,"\u2225","\\parallel");R(I,G,Q,"\u22C8","\\bowtie",!0);R(I,G,Q,"\u2323","\\smile",!0);R(I,G,Q,"\u2291","\\sqsubseteq",!0);R(I,G,Q,"\u2292","\\sqsupseteq",!0);R(I,G,Q,"\u2250","\\doteq",!0);R(I,G,Q,"\u2322","\\frown",!0);R(I,G,Q,"\u220B","\\ni",!0);R(I,G,Q,"\u221D","\\propto",!0);R(I,G,Q,"\u22A2","\\vdash",!0);R(I,G,Q,"\u22A3","\\dashv",!0);R(I,G,Q,"\u220B","\\owns");R(I,G,jL,".","\\ldotp");R(I,G,jL,"\u22C5","\\cdotp");R(I,G,ce,"#","\\#");R(Ve,G,ce,"#","\\#");R(I,G,ce,"&","\\&");R(Ve,G,ce,"&","\\&");R(I,G,ce,"\u2135","\\aleph",!0);R(I,G,ce,"\u2200","\\forall",!0);R(I,G,ce,"\u210F","\\hbar",!0);R(I,G,ce,"\u2203","\\exists",!0);R(I,G,ce,"\u2207","\\nabla",!0);R(I,G,ce,"\u266D","\\flat",!0);R(I,G,ce,"\u2113","\\ell",!0);R(I,G,ce,"\u266E","\\natural",!0);R(I,G,ce,"\u2663","\\clubsuit",!0);R(I,G,ce,"\u2118","\\wp",!0);R(I,G,ce,"\u266F","\\sharp",!0);R(I,G,ce,"\u2662","\\diamondsuit",!0);R(I,G,ce,"\u211C","\\Re",!0);R(I,G,ce,"\u2661","\\heartsuit",!0);R(I,G,ce,"\u2111","\\Im",!0);R(I,G,ce,"\u2660","\\spadesuit",!0);R(I,G,ce,"\xA7","\\S",!0);R(Ve,G,ce,"\xA7","\\S");R(I,G,ce,"\xB6","\\P",!0);R(Ve,G,ce,"\xB6","\\P");R(I,G,ce,"\u2020","\\dag");R(Ve,G,ce,"\u2020","\\dag");R(Ve,G,ce,"\u2020","\\textdagger");R(I,G,ce,"\u2021","\\ddag");R(Ve,G,ce,"\u2021","\\ddag");R(Ve,G,ce,"\u2021","\\textdaggerdbl");R(I,G,Xl,"\u23B1","\\rmoustache",!0);R(I,G,Ms,"\u23B0","\\lmoustache",!0);R(I,G,Xl,"\u27EF","\\rgroup",!0);R(I,G,Ms,"\u27EE","\\lgroup",!0);R(I,G,nt,"\u2213","\\mp",!0);R(I,G,nt,"\u2296","\\ominus",!0);R(I,G,nt,"\u228E","\\uplus",!0);R(I,G,nt,"\u2293","\\sqcap",!0);R(I,G,nt,"\u2217","\\ast");R(I,G,nt,"\u2294","\\sqcup",!0);R(I,G,nt,"\u25EF","\\bigcirc",!0);R(I,G,nt,"\u2219","\\bullet",!0);R(I,G,nt,"\u2021","\\ddagger");R(I,G,nt,"\u2240","\\wr",!0);R(I,G,nt,"\u2A3F","\\amalg");R(I,G,nt,"&","\\And");R(I,G,Q,"\u27F5","\\longleftarrow",!0);R(I,G,Q,"\u21D0","\\Leftarrow",!0);R(I,G,Q,"\u27F8","\\Longleftarrow",!0);R(I,G,Q,"\u27F6","\\longrightarrow",!0);R(I,G,Q,"\u21D2","\\Rightarrow",!0);R(I,G,Q,"\u27F9","\\Longrightarrow",!0);R(I,G,Q,"\u2194","\\leftrightarrow",!0);R(I,G,Q,"\u27F7","\\longleftrightarrow",!0);R(I,G,Q,"\u21D4","\\Leftrightarrow",!0);R(I,G,Q,"\u27FA","\\Longleftrightarrow",!0);R(I,G,Q,"\u21A6","\\mapsto",!0);R(I,G,Q,"\u27FC","\\longmapsto",!0);R(I,G,Q,"\u2197","\\nearrow",!0);R(I,G,Q,"\u21A9","\\hookleftarrow",!0);R(I,G,Q,"\u21AA","\\hookrightarrow",!0);R(I,G,Q,"\u2198","\\searrow",!0);R(I,G,Q,"\u21BC","\\leftharpoonup",!0);R(I,G,Q,"\u21C0","\\rightharpoonup",!0);R(I,G,Q,"\u2199","\\swarrow",!0);R(I,G,Q,"\u21BD","\\leftharpoondown",!0);R(I,G,Q,"\u21C1","\\rightharpoondown",!0);R(I,G,Q,"\u2196","\\nwarrow",!0);R(I,G,Q,"\u21CC","\\rightleftharpoons",!0);R(I,$,Q,"\u226E","\\nless",!0);R(I,$,Q,"\uE010","\\@nleqslant");R(I,$,Q,"\uE011","\\@nleqq");R(I,$,Q,"\u2A87","\\lneq",!0);R(I,$,Q,"\u2268","\\lneqq",!0);R(I,$,Q,"\uE00C","\\@lvertneqq");R(I,$,Q,"\u22E6","\\lnsim",!0);R(I,$,Q,"\u2A89","\\lnapprox",!0);R(I,$,Q,"\u2280","\\nprec",!0);R(I,$,Q,"\u22E0","\\npreceq",!0);R(I,$,Q,"\u22E8","\\precnsim",!0);R(I,$,Q,"\u2AB9","\\precnapprox",!0);R(I,$,Q,"\u2241","\\nsim",!0);R(I,$,Q,"\uE006","\\@nshortmid");R(I,$,Q,"\u2224","\\nmid",!0);R(I,$,Q,"\u22AC","\\nvdash",!0);R(I,$,Q,"\u22AD","\\nvDash",!0);R(I,$,Q,"\u22EA","\\ntriangleleft");R(I,$,Q,"\u22EC","\\ntrianglelefteq",!0);R(I,$,Q,"\u228A","\\subsetneq",!0);R(I,$,Q,"\uE01A","\\@varsubsetneq");R(I,$,Q,"\u2ACB","\\subsetneqq",!0);R(I,$,Q,"\uE017","\\@varsubsetneqq");R(I,$,Q,"\u226F","\\ngtr",!0);R(I,$,Q,"\uE00F","\\@ngeqslant");R(I,$,Q,"\uE00E","\\@ngeqq");R(I,$,Q,"\u2A88","\\gneq",!0);R(I,$,Q,"\u2269","\\gneqq",!0);R(I,$,Q,"\uE00D","\\@gvertneqq");R(I,$,Q,"\u22E7","\\gnsim",!0);R(I,$,Q,"\u2A8A","\\gnapprox",!0);R(I,$,Q,"\u2281","\\nsucc",!0);R(I,$,Q,"\u22E1","\\nsucceq",!0);R(I,$,Q,"\u22E9","\\succnsim",!0);R(I,$,Q,"\u2ABA","\\succnapprox",!0);R(I,$,Q,"\u2246","\\ncong",!0);R(I,$,Q,"\uE007","\\@nshortparallel");R(I,$,Q,"\u2226","\\nparallel",!0);R(I,$,Q,"\u22AF","\\nVDash",!0);R(I,$,Q,"\u22EB","\\ntriangleright");R(I,$,Q,"\u22ED","\\ntrianglerighteq",!0);R(I,$,Q,"\uE018","\\@nsupseteqq");R(I,$,Q,"\u228B","\\supsetneq",!0);R(I,$,Q,"\uE01B","\\@varsupsetneq");R(I,$,Q,"\u2ACC","\\supsetneqq",!0);R(I,$,Q,"\uE019","\\@varsupsetneqq");R(I,$,Q,"\u22AE","\\nVdash",!0);R(I,$,Q,"\u2AB5","\\precneqq",!0);R(I,$,Q,"\u2AB6","\\succneqq",!0);R(I,$,Q,"\uE016","\\@nsubseteqq");R(I,$,nt,"\u22B4","\\unlhd");R(I,$,nt,"\u22B5","\\unrhd");R(I,$,Q,"\u219A","\\nleftarrow",!0);R(I,$,Q,"\u219B","\\nrightarrow",!0);R(I,$,Q,"\u21CD","\\nLeftarrow",!0);R(I,$,Q,"\u21CF","\\nRightarrow",!0);R(I,$,Q,"\u21AE","\\nleftrightarrow",!0);R(I,$,Q,"\u21CE","\\nLeftrightarrow",!0);R(I,$,Q,"\u25B3","\\vartriangle");R(I,$,ce,"\u210F","\\hslash");R(I,$,ce,"\u25BD","\\triangledown");R(I,$,ce,"\u25CA","\\lozenge");R(I,$,ce,"\u24C8","\\circledS");R(I,$,ce,"\xAE","\\circledR");R(Ve,$,ce,"\xAE","\\circledR");R(I,$,ce,"\u2221","\\measuredangle",!0);R(I,$,ce,"\u2204","\\nexists");R(I,$,ce,"\u2127","\\mho");R(I,$,ce,"\u2132","\\Finv",!0);R(I,$,ce,"\u2141","\\Game",!0);R(I,$,ce,"\u2035","\\backprime");R(I,$,ce,"\u25B2","\\blacktriangle");R(I,$,ce,"\u25BC","\\blacktriangledown");R(I,$,ce,"\u25A0","\\blacksquare");R(I,$,ce,"\u29EB","\\blacklozenge");R(I,$,ce,"\u2605","\\bigstar");R(I,$,ce,"\u2222","\\sphericalangle",!0);R(I,$,ce,"\u2201","\\complement",!0);R(I,$,ce,"\xF0","\\eth",!0);R(Ve,G,ce,"\xF0","\xF0");R(I,$,ce,"\u2571","\\diagup");R(I,$,ce,"\u2572","\\diagdown");R(I,$,ce,"\u25A1","\\square");R(I,$,ce,"\u25A1","\\Box");R(I,$,ce,"\u25CA","\\Diamond");R(I,$,ce,"\xA5","\\yen",!0);R(Ve,$,ce,"\xA5","\\yen",!0);R(I,$,ce,"\u2713","\\checkmark",!0);R(Ve,$,ce,"\u2713","\\checkmark");R(I,$,ce,"\u2136","\\beth",!0);R(I,$,ce,"\u2138","\\daleth",!0);R(I,$,ce,"\u2137","\\gimel",!0);R(I,$,ce,"\u03DD","\\digamma",!0);R(I,$,ce,"\u03F0","\\varkappa");R(I,$,Ms,"\u250C","\\@ulcorner",!0);R(I,$,Xl,"\u2510","\\@urcorner",!0);R(I,$,Ms,"\u2514","\\@llcorner",!0);R(I,$,Xl,"\u2518","\\@lrcorner",!0);R(I,$,Q,"\u2266","\\leqq",!0);R(I,$,Q,"\u2A7D","\\leqslant",!0);R(I,$,Q,"\u2A95","\\eqslantless",!0);R(I,$,Q,"\u2272","\\lesssim",!0);R(I,$,Q,"\u2A85","\\lessapprox",!0);R(I,$,Q,"\u224A","\\approxeq",!0);R(I,$,nt,"\u22D6","\\lessdot");R(I,$,Q,"\u22D8","\\lll",!0);R(I,$,Q,"\u2276","\\lessgtr",!0);R(I,$,Q,"\u22DA","\\lesseqgtr",!0);R(I,$,Q,"\u2A8B","\\lesseqqgtr",!0);R(I,$,Q,"\u2251","\\doteqdot");R(I,$,Q,"\u2253","\\risingdotseq",!0);R(I,$,Q,"\u2252","\\fallingdotseq",!0);R(I,$,Q,"\u223D","\\backsim",!0);R(I,$,Q,"\u22CD","\\backsimeq",!0);R(I,$,Q,"\u2AC5","\\subseteqq",!0);R(I,$,Q,"\u22D0","\\Subset",!0);R(I,$,Q,"\u228F","\\sqsubset",!0);R(I,$,Q,"\u227C","\\preccurlyeq",!0);R(I,$,Q,"\u22DE","\\curlyeqprec",!0);R(I,$,Q,"\u227E","\\precsim",!0);R(I,$,Q,"\u2AB7","\\precapprox",!0);R(I,$,Q,"\u22B2","\\vartriangleleft");R(I,$,Q,"\u22B4","\\trianglelefteq");R(I,$,Q,"\u22A8","\\vDash",!0);R(I,$,Q,"\u22AA","\\Vvdash",!0);R(I,$,Q,"\u2323","\\smallsmile");R(I,$,Q,"\u2322","\\smallfrown");R(I,$,Q,"\u224F","\\bumpeq",!0);R(I,$,Q,"\u224E","\\Bumpeq",!0);R(I,$,Q,"\u2267","\\geqq",!0);R(I,$,Q,"\u2A7E","\\geqslant",!0);R(I,$,Q,"\u2A96","\\eqslantgtr",!0);R(I,$,Q,"\u2273","\\gtrsim",!0);R(I,$,Q,"\u2A86","\\gtrapprox",!0);R(I,$,nt,"\u22D7","\\gtrdot");R(I,$,Q,"\u22D9","\\ggg",!0);R(I,$,Q,"\u2277","\\gtrless",!0);R(I,$,Q,"\u22DB","\\gtreqless",!0);R(I,$,Q,"\u2A8C","\\gtreqqless",!0);R(I,$,Q,"\u2256","\\eqcirc",!0);R(I,$,Q,"\u2257","\\circeq",!0);R(I,$,Q,"\u225C","\\triangleq",!0);R(I,$,Q,"\u223C","\\thicksim");R(I,$,Q,"\u2248","\\thickapprox");R(I,$,Q,"\u2AC6","\\supseteqq",!0);R(I,$,Q,"\u22D1","\\Supset",!0);R(I,$,Q,"\u2290","\\sqsupset",!0);R(I,$,Q,"\u227D","\\succcurlyeq",!0);R(I,$,Q,"\u22DF","\\curlyeqsucc",!0);R(I,$,Q,"\u227F","\\succsim",!0);R(I,$,Q,"\u2AB8","\\succapprox",!0);R(I,$,Q,"\u22B3","\\vartriangleright");R(I,$,Q,"\u22B5","\\trianglerighteq");R(I,$,Q,"\u22A9","\\Vdash",!0);R(I,$,Q,"\u2223","\\shortmid");R(I,$,Q,"\u2225","\\shortparallel");R(I,$,Q,"\u226C","\\between",!0);R(I,$,Q,"\u22D4","\\pitchfork",!0);R(I,$,Q,"\u221D","\\varpropto");R(I,$,Q,"\u25C0","\\blacktriangleleft");R(I,$,Q,"\u2234","\\therefore",!0);R(I,$,Q,"\u220D","\\backepsilon");R(I,$,Q,"\u25B6","\\blacktriangleright");R(I,$,Q,"\u2235","\\because",!0);R(I,$,Q,"\u22D8","\\llless");R(I,$,Q,"\u22D9","\\gggtr");R(I,$,nt,"\u22B2","\\lhd");R(I,$,nt,"\u22B3","\\rhd");R(I,$,Q,"\u2242","\\eqsim",!0);R(I,G,Q,"\u22C8","\\Join");R(I,$,Q,"\u2251","\\Doteq",!0);R(I,$,nt,"\u2214","\\dotplus",!0);R(I,$,nt,"\u2216","\\smallsetminus");R(I,$,nt,"\u22D2","\\Cap",!0);R(I,$,nt,"\u22D3","\\Cup",!0);R(I,$,nt,"\u2A5E","\\doublebarwedge",!0);R(I,$,nt,"\u229F","\\boxminus",!0);R(I,$,nt,"\u229E","\\boxplus",!0);R(I,$,nt,"\u22C7","\\divideontimes",!0);R(I,$,nt,"\u22C9","\\ltimes",!0);R(I,$,nt,"\u22CA","\\rtimes",!0);R(I,$,nt,"\u22CB","\\leftthreetimes",!0);R(I,$,nt,"\u22CC","\\rightthreetimes",!0);R(I,$,nt,"\u22CF","\\curlywedge",!0);R(I,$,nt,"\u22CE","\\curlyvee",!0);R(I,$,nt,"\u229D","\\circleddash",!0);R(I,$,nt,"\u229B","\\circledast",!0);R(I,$,nt,"\u22C5","\\centerdot");R(I,$,nt,"\u22BA","\\intercal",!0);R(I,$,nt,"\u22D2","\\doublecap");R(I,$,nt,"\u22D3","\\doublecup");R(I,$,nt,"\u22A0","\\boxtimes",!0);R(I,$,Q,"\u21E2","\\dashrightarrow",!0);R(I,$,Q,"\u21E0","\\dashleftarrow",!0);R(I,$,Q,"\u21C7","\\leftleftarrows",!0);R(I,$,Q,"\u21C6","\\leftrightarrows",!0);R(I,$,Q,"\u21DA","\\Lleftarrow",!0);R(I,$,Q,"\u219E","\\twoheadleftarrow",!0);R(I,$,Q,"\u21A2","\\leftarrowtail",!0);R(I,$,Q,"\u21AB","\\looparrowleft",!0);R(I,$,Q,"\u21CB","\\leftrightharpoons",!0);R(I,$,Q,"\u21B6","\\curvearrowleft",!0);R(I,$,Q,"\u21BA","\\circlearrowleft",!0);R(I,$,Q,"\u21B0","\\Lsh",!0);R(I,$,Q,"\u21C8","\\upuparrows",!0);R(I,$,Q,"\u21BF","\\upharpoonleft",!0);R(I,$,Q,"\u21C3","\\downharpoonleft",!0);R(I,G,Q,"\u22B6","\\origof",!0);R(I,G,Q,"\u22B7","\\imageof",!0);R(I,$,Q,"\u22B8","\\multimap",!0);R(I,$,Q,"\u21AD","\\leftrightsquigarrow",!0);R(I,$,Q,"\u21C9","\\rightrightarrows",!0);R(I,$,Q,"\u21C4","\\rightleftarrows",!0);R(I,$,Q,"\u21A0","\\twoheadrightarrow",!0);R(I,$,Q,"\u21A3","\\rightarrowtail",!0);R(I,$,Q,"\u21AC","\\looparrowright",!0);R(I,$,Q,"\u21B7","\\curvearrowright",!0);R(I,$,Q,"\u21BB","\\circlearrowright",!0);R(I,$,Q,"\u21B1","\\Rsh",!0);R(I,$,Q,"\u21CA","\\downdownarrows",!0);R(I,$,Q,"\u21BE","\\upharpoonright",!0);R(I,$,Q,"\u21C2","\\downharpoonright",!0);R(I,$,Q,"\u21DD","\\rightsquigarrow",!0);R(I,$,Q,"\u21DD","\\leadsto");R(I,$,Q,"\u21DB","\\Rrightarrow",!0);R(I,$,Q,"\u21BE","\\restriction");R(I,G,ce,"\u2018","`");R(I,G,ce,"$","\\$");R(Ve,G,ce,"$","\\$");R(Ve,G,ce,"$","\\textdollar");R(I,G,ce,"%","\\%");R(Ve,G,ce,"%","\\%");R(I,G,ce,"_","\\_");R(Ve,G,ce,"_","\\_");R(Ve,G,ce,"_","\\textunderscore");R(I,G,ce,"\u2220","\\angle",!0);R(I,G,ce,"\u221E","\\infty",!0);R(I,G,ce,"\u2032","\\prime");R(I,G,ce,"\u25B3","\\triangle");R(I,G,ce,"\u0393","\\Gamma",!0);R(I,G,ce,"\u0394","\\Delta",!0);R(I,G,ce,"\u0398","\\Theta",!0);R(I,G,ce,"\u039B","\\Lambda",!0);R(I,G,ce,"\u039E","\\Xi",!0);R(I,G,ce,"\u03A0","\\Pi",!0);R(I,G,ce,"\u03A3","\\Sigma",!0);R(I,G,ce,"\u03A5","\\Upsilon",!0);R(I,G,ce,"\u03A6","\\Phi",!0);R(I,G,ce,"\u03A8","\\Psi",!0);R(I,G,ce,"\u03A9","\\Omega",!0);R(I,G,ce,"A","\u0391");R(I,G,ce,"B","\u0392");R(I,G,ce,"E","\u0395");R(I,G,ce,"Z","\u0396");R(I,G,ce,"H","\u0397");R(I,G,ce,"I","\u0399");R(I,G,ce,"K","\u039A");R(I,G,ce,"M","\u039C");R(I,G,ce,"N","\u039D");R(I,G,ce,"O","\u039F");R(I,G,ce,"P","\u03A1");R(I,G,ce,"T","\u03A4");R(I,G,ce,"X","\u03A7");R(I,G,ce,"\xAC","\\neg",!0);R(I,G,ce,"\xAC","\\lnot");R(I,G,ce,"\u22A4","\\top");R(I,G,ce,"\u22A5","\\bot");R(I,G,ce,"\u2205","\\emptyset");R(I,$,ce,"\u2205","\\varnothing");R(I,G,kt,"\u03B1","\\alpha",!0);R(I,G,kt,"\u03B2","\\beta",!0);R(I,G,kt,"\u03B3","\\gamma",!0);R(I,G,kt,"\u03B4","\\delta",!0);R(I,G,kt,"\u03F5","\\epsilon",!0);R(I,G,kt,"\u03B6","\\zeta",!0);R(I,G,kt,"\u03B7","\\eta",!0);R(I,G,kt,"\u03B8","\\theta",!0);R(I,G,kt,"\u03B9","\\iota",!0);R(I,G,kt,"\u03BA","\\kappa",!0);R(I,G,kt,"\u03BB","\\lambda",!0);R(I,G,kt,"\u03BC","\\mu",!0);R(I,G,kt,"\u03BD","\\nu",!0);R(I,G,kt,"\u03BE","\\xi",!0);R(I,G,kt,"\u03BF","\\omicron",!0);R(I,G,kt,"\u03C0","\\pi",!0);R(I,G,kt,"\u03C1","\\rho",!0);R(I,G,kt,"\u03C3","\\sigma",!0);R(I,G,kt,"\u03C4","\\tau",!0);R(I,G,kt,"\u03C5","\\upsilon",!0);R(I,G,kt,"\u03D5","\\phi",!0);R(I,G,kt,"\u03C7","\\chi",!0);R(I,G,kt,"\u03C8","\\psi",!0);R(I,G,kt,"\u03C9","\\omega",!0);R(I,G,kt,"\u03B5","\\varepsilon",!0);R(I,G,kt,"\u03D1","\\vartheta",!0);R(I,G,kt,"\u03D6","\\varpi",!0);R(I,G,kt,"\u03F1","\\varrho",!0);R(I,G,kt,"\u03C2","\\varsigma",!0);R(I,G,kt,"\u03C6","\\varphi",!0);R(I,G,nt,"\u2217","*",!0);R(I,G,nt,"+","+");R(I,G,nt,"\u2212","-",!0);R(I,G,nt,"\u22C5","\\cdot",!0);R(I,G,nt,"\u2218","\\circ",!0);R(I,G,nt,"\xF7","\\div",!0);R(I,G,nt,"\xB1","\\pm",!0);R(I,G,nt,"\xD7","\\times",!0);R(I,G,nt,"\u2229","\\cap",!0);R(I,G,nt,"\u222A","\\cup",!0);R(I,G,nt,"\u2216","\\setminus",!0);R(I,G,nt,"\u2227","\\land");R(I,G,nt,"\u2228","\\lor");R(I,G,nt,"\u2227","\\wedge",!0);R(I,G,nt,"\u2228","\\vee",!0);R(I,G,ce,"\u221A","\\surd");R(I,G,Ms,"\u27E8","\\langle",!0);R(I,G,Ms,"\u2223","\\lvert");R(I,G,Ms,"\u2225","\\lVert");R(I,G,Xl,"?","?");R(I,G,Xl,"!","!");R(I,G,Xl,"\u27E9","\\rangle",!0);R(I,G,Xl,"\u2223","\\rvert");R(I,G,Xl,"\u2225","\\rVert");R(I,G,Q,"=","=");R(I,G,Q,":",":");R(I,G,Q,"\u2248","\\approx",!0);R(I,G,Q,"\u2245","\\cong",!0);R(I,G,Q,"\u2265","\\ge");R(I,G,Q,"\u2265","\\geq",!0);R(I,G,Q,"\u2190","\\gets");R(I,G,Q,">","\\gt",!0);R(I,G,Q,"\u2208","\\in",!0);R(I,G,Q,"\uE020","\\@not");R(I,G,Q,"\u2282","\\subset",!0);R(I,G,Q,"\u2283","\\supset",!0);R(I,G,Q,"\u2286","\\subseteq",!0);R(I,G,Q,"\u2287","\\supseteq",!0);R(I,$,Q,"\u2288","\\nsubseteq",!0);R(I,$,Q,"\u2289","\\nsupseteq",!0);R(I,G,Q,"\u22A8","\\models");R(I,G,Q,"\u2190","\\leftarrow",!0);R(I,G,Q,"\u2264","\\le");R(I,G,Q,"\u2264","\\leq",!0);R(I,G,Q,"<","\\lt",!0);R(I,G,Q,"\u2192","\\rightarrow",!0);R(I,G,Q,"\u2192","\\to");R(I,$,Q,"\u2271","\\ngeq",!0);R(I,$,Q,"\u2270","\\nleq",!0);R(I,G,fd,"\xA0","\\ ");R(I,G,fd,"\xA0","\\space");R(I,G,fd,"\xA0","\\nobreakspace");R(Ve,G,fd,"\xA0","\\ ");R(Ve,G,fd,"\xA0"," ");R(Ve,G,fd,"\xA0","\\space");R(Ve,G,fd,"\xA0","\\nobreakspace");R(I,G,fd,null,"\\nobreak");R(I,G,fd,null,"\\allowbreak");R(I,G,jL,",",",");R(I,G,jL,";",";");R(I,$,nt,"\u22BC","\\barwedge",!0);R(I,$,nt,"\u22BB","\\veebar",!0);R(I,G,nt,"\u2299","\\odot",!0);R(I,G,nt,"\u2295","\\oplus",!0);R(I,G,nt,"\u2297","\\otimes",!0);R(I,G,ce,"\u2202","\\partial",!0);R(I,G,nt,"\u2298","\\oslash",!0);R(I,$,nt,"\u229A","\\circledcirc",!0);R(I,$,nt,"\u22A1","\\boxdot",!0);R(I,G,nt,"\u25B3","\\bigtriangleup");R(I,G,nt,"\u25BD","\\bigtriangledown");R(I,G,nt,"\u2020","\\dagger");R(I,G,nt,"\u22C4","\\diamond");R(I,G,nt,"\u22C6","\\star");R(I,G,nt,"\u25C3","\\triangleleft");R(I,G,nt,"\u25B9","\\triangleright");R(I,G,Ms,"{","\\{");R(Ve,G,ce,"{","\\{");R(Ve,G,ce,"{","\\textbraceleft");R(I,G,Xl,"}","\\}");R(Ve,G,ce,"}","\\}");R(Ve,G,ce,"}","\\textbraceright");R(I,G,Ms,"{","\\lbrace");R(I,G,Xl,"}","\\rbrace");R(I,G,Ms,"[","\\lbrack",!0);R(Ve,G,ce,"[","\\lbrack",!0);R(I,G,Xl,"]","\\rbrack",!0);R(Ve,G,ce,"]","\\rbrack",!0);R(I,G,Ms,"(","\\lparen",!0);R(I,G,Xl,")","\\rparen",!0);R(Ve,G,ce,"<","\\textless",!0);R(Ve,G,ce,">","\\textgreater",!0);R(I,G,Ms,"\u230A","\\lfloor",!0);R(I,G,Xl,"\u230B","\\rfloor",!0);R(I,G,Ms,"\u2308","\\lceil",!0);R(I,G,Xl,"\u2309","\\rceil",!0);R(I,G,ce,"\\","\\backslash");R(I,G,ce,"\u2223","|");R(I,G,ce,"\u2223","\\vert");R(Ve,G,ce,"|","\\textbar",!0);R(I,G,ce,"\u2225","\\|");R(I,G,ce,"\u2225","\\Vert");R(Ve,G,ce,"\u2225","\\textbardbl");R(Ve,G,ce,"~","\\textasciitilde");R(Ve,G,ce,"\\","\\textbackslash");R(Ve,G,ce,"^","\\textasciicircum");R(I,G,Q,"\u2191","\\uparrow",!0);R(I,G,Q,"\u21D1","\\Uparrow",!0);R(I,G,Q,"\u2193","\\downarrow",!0);R(I,G,Q,"\u21D3","\\Downarrow",!0);R(I,G,Q,"\u2195","\\updownarrow",!0);R(I,G,Q,"\u21D5","\\Updownarrow",!0);R(I,G,Ti,"\u2210","\\coprod");R(I,G,Ti,"\u22C1","\\bigvee");R(I,G,Ti,"\u22C0","\\bigwedge");R(I,G,Ti,"\u2A04","\\biguplus");R(I,G,Ti,"\u22C2","\\bigcap");R(I,G,Ti,"\u22C3","\\bigcup");R(I,G,Ti,"\u222B","\\int");R(I,G,Ti,"\u222B","\\intop");R(I,G,Ti,"\u222C","\\iint");R(I,G,Ti,"\u222D","\\iiint");R(I,G,Ti,"\u220F","\\prod");R(I,G,Ti,"\u2211","\\sum");R(I,G,Ti,"\u2A02","\\bigotimes");R(I,G,Ti,"\u2A01","\\bigoplus");R(I,G,Ti,"\u2A00","\\bigodot");R(I,G,Ti,"\u222E","\\oint");R(I,G,Ti,"\u222F","\\oiint");R(I,G,Ti,"\u2230","\\oiiint");R(I,G,Ti,"\u2A06","\\bigsqcup");R(I,G,Ti,"\u222B","\\smallint");R(Ve,G,nS,"\u2026","\\textellipsis");R(I,G,nS,"\u2026","\\mathellipsis");R(Ve,G,nS,"\u2026","\\ldots",!0);R(I,G,nS,"\u2026","\\ldots",!0);R(I,G,nS,"\u22EF","\\@cdots",!0);R(I,G,nS,"\u22F1","\\ddots",!0);R(I,G,ce,"\u22EE","\\varvdots");R(Ve,G,ce,"\u22EE","\\varvdots");R(I,G,yo,"\u02CA","\\acute");R(I,G,yo,"\u02CB","\\grave");R(I,G,yo,"\xA8","\\ddot");R(I,G,yo,"~","\\tilde");R(I,G,yo,"\u02C9","\\bar");R(I,G,yo,"\u02D8","\\breve");R(I,G,yo,"\u02C7","\\check");R(I,G,yo,"^","\\hat");R(I,G,yo,"\u20D7","\\vec");R(I,G,yo,"\u02D9","\\dot");R(I,G,yo,"\u02DA","\\mathring");R(I,G,kt,"\uE131","\\@imath");R(I,G,kt,"\uE237","\\@jmath");R(I,G,ce,"\u0131","\u0131");R(I,G,ce,"\u0237","\u0237");R(Ve,G,ce,"\u0131","\\i",!0);R(Ve,G,ce,"\u0237","\\j",!0);R(Ve,G,ce,"\xDF","\\ss",!0);R(Ve,G,ce,"\xE6","\\ae",!0);R(Ve,G,ce,"\u0153","\\oe",!0);R(Ve,G,ce,"\xF8","\\o",!0);R(Ve,G,ce,"\xC6","\\AE",!0);R(Ve,G,ce,"\u0152","\\OE",!0);R(Ve,G,ce,"\xD8","\\O",!0);R(Ve,G,yo,"\u02CA","\\'");R(Ve,G,yo,"\u02CB","\\`");R(Ve,G,yo,"\u02C6","\\^");R(Ve,G,yo,"\u02DC","\\~");R(Ve,G,yo,"\u02C9","\\=");R(Ve,G,yo,"\u02D8","\\u");R(Ve,G,yo,"\u02D9","\\.");R(Ve,G,yo,"\xB8","\\c");R(Ve,G,yo,"\u02DA","\\r");R(Ve,G,yo,"\u02C7","\\v");R(Ve,G,yo,"\xA8",'\\"');R(Ve,G,yo,"\u02DD","\\H");R(Ve,G,yo,"\u25EF","\\textcircled");var hAe={"--":!0,"---":!0,"``":!0,"''":!0};R(Ve,G,ce,"\u2013","--",!0);R(Ve,G,ce,"\u2013","\\textendash");R(Ve,G,ce,"\u2014","---",!0);R(Ve,G,ce,"\u2014","\\textemdash");R(Ve,G,ce,"\u2018","`",!0);R(Ve,G,ce,"\u2018","\\textquoteleft");R(Ve,G,ce,"\u2019","'",!0);R(Ve,G,ce,"\u2019","\\textquoteright");R(Ve,G,ce,"\u201C","``",!0);R(Ve,G,ce,"\u201C","\\textquotedblleft");R(Ve,G,ce,"\u201D","''",!0);R(Ve,G,ce,"\u201D","\\textquotedblright");R(I,G,ce,"\xB0","\\degree",!0);R(Ve,G,ce,"\xB0","\\degree");R(Ve,G,ce,"\xB0","\\textdegree",!0);R(I,G,ce,"\xA3","\\pounds");R(I,G,ce,"\xA3","\\mathsterling",!0);R(Ve,G,ce,"\xA3","\\pounds");R(Ve,G,ce,"\xA3","\\textsterling",!0);R(I,$,ce,"\u2720","\\maltese");R(Ve,$,ce,"\u2720","\\maltese");var gAe='0123456789/@."';for(NL=0;NL0)return zv(o,c,r,t,i.concat(s));if(l){var f,v;if(l==="boldsymbol"){var p=P4n(o,r,t,i,a);f=p.fontName,v=[p.fontClass]}else u?(f=wAe[l].fontName,v=[l]):(f=JL(l,t.fontWeight,t.fontShape),v=[l,t.fontWeight,t.fontShape]);if(BL(o,f,r).metrics)return zv(o,f,r,t,i.concat(v));if(hAe.hasOwnProperty(o)&&f.slice(0,10)==="Typewriter"){for(var d=[],y=0;y{if(Nh(e.classes)!==Nh(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},U4n=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},xc=function(n,t,a,r){var o=new eS(n,t,a,r);return aV(o),o},bAe=(e,n,t,a)=>new eS(e,n,t,a),H4n=function(n,t,a){var r=xc([n],[],t);return r.height=Math.max(a||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),r.style.borderBottomWidth=Mn(r.height),r.maxFontSize=1,r},B4n=function(n,t,a,r){var o=new xL(n,t,a,r);return aV(o),o},RAe=function(n){var t=new Kw(n);return aV(t),t},J4n=function(n,t){return n instanceof Kw?xc([],[n],t):n},q4n=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=xc(["mspace"],[],n),a=jo(e,n);return t.style.marginRight=Mn(a),t},JL=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},wAe={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathsfit:{variant:"sans-serif-italic",fontName:"SansSerif-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},SAe={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},z4n=function(n,t){var[a,r,o]=SAe[n],i=new sd(a),u=new _p([i],{width:Mn(r),height:Mn(o),style:"width:"+Mn(r),viewBox:"0 0 "+1e3*r+" "+1e3*o,preserveAspectRatio:"xMinYMin"}),l=bAe(["overlay"],[u],t);return l.height=o,l.style.height=Mn(o),l.style.width=Mn(r),l},ye={fontMap:wAe,makeSymbol:zv,mathsym:N4n,makeSpan:xc,makeSvgSpan:bAe,makeLineSpan:H4n,makeAnchor:B4n,makeFragment:RAe,wrapFragment:J4n,makeVList:W4n,makeOrd:O4n,makeGlue:$4n,staticSvg:z4n,svgData:SAe,tryCombineChars:U4n},Po={number:3,unit:"mu"},Oy={number:4,unit:"mu"},pd={number:5,unit:"mu"},V4n={mord:{mop:Po,mbin:Oy,mrel:pd,minner:Po},mop:{mord:Po,mop:Po,mrel:pd,minner:Po},mbin:{mord:Oy,mop:Oy,mopen:Oy,minner:Oy},mrel:{mord:pd,mop:pd,mopen:pd,minner:pd},mopen:{},mclose:{mop:Po,mbin:Oy,mrel:pd,minner:Po},mpunct:{mord:Po,mop:Po,mrel:pd,mopen:Po,mclose:Po,mpunct:Po,minner:Po},minner:{mord:Po,mop:Po,mbin:Oy,mrel:pd,mopen:Po,mpunct:Po,minner:Po}},Q4n={mord:{mop:Po},mop:{mord:Po,mop:Po},mbin:{},mrel:{},mopen:{},mclose:{mop:Po},mpunct:{},minner:{mop:Po}},EAe={},qL={},WL={};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 h=y.classes[0],g=d.classes[0];h==="mbin"&&Gt.contains(X4n,g)?y.classes[0]="mord":g==="mbin"&&Gt.contains(Y4n,h)&&(d.classes[0]="mord")},{node:f},v,p),CAe(o,(d,y)=>{var h=rV(y),g=rV(d),S=h&&g?d.hasClass("mtight")?Q4n[h][g]:V4n[h][g]:null;if(S)return ye.makeGlue(S,c)},{node:f},v,p),o},CAe=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()},IAe=function(n){return n instanceof Kw||n instanceof xL||n instanceof eS&&n.hasClass("enclosing")?n:null},e3n=function e(n,t){var a=IAe(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},rV=function(n,t){return n?(t&&(n=e3n(n,t)),K4n[n.classes[0]]||null):null},DM=function(n,t){var a=["nulldelimiter"].concat(n.baseSizingClasses());return md(t.concat(a))},er=function(n,t,a){if(!n)return md();if(qL[n.type]){var r=qL[n.type](n,t);if(a&&t.size!==a.size){r=md(t.sizingClasses(a),[r],t);var o=t.sizeMultiplier/a.sizeMultiplier;r.height*=o,r.depth*=o}return r}else throw new ln("Got group of unknown type: '"+n.type+"'")};function zL(e,n){var t=md(["base"],e,n),a=md(["strut"]);return a.style.height=Mn(t.height+t.depth),t.depth&&(a.style.verticalAlign=Mn(-t.depth)),t.children.unshift(a),t}function oV(e,n){var t=null;e.length===1&&e[0].type==="tag"&&(t=e[0].tag,e=e[0].body);var a=Zi(e,n,"root"),r;a.length===2&&a[1].hasClass("tag")&&(r=a.pop());for(var o=[],i=[],u=0;u0&&(o.push(zL(i,n)),i=[]),o.push(a[u]));i.length>0&&o.push(zL(i,n));var c;t?(c=zL(Zi(t,n,!0)),c.classes=["tag"],o.push(c)):r&&o.push(r);var s=md(["katex-html"],o);if(s.setAttribute("aria-hidden","true"),c){var f=c.children[0];f.style.height=Mn(s.height+s.depth),s.depth&&(f.style.verticalAlign=Mn(-s.depth))}return s}function TAe(e){return new Kw(e)}var Lc=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=Nh(this.classes));for(var a=0;a0&&(n+=' class ="'+Gt.escape(Nh(this.classes))+'"'),n+=">";for(var a=0;a",n}toText(){return this.children.map(n=>n.toText()).join("")}},Vv=class{constructor(n){this.text=void 0,this.text=n}toNode(){return document.createTextNode(this.text)}toMarkup(){return Gt.escape(this.toText())}toText(){return this.text}},FAe=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",Mn(this.width)),n}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}},tn={MathNode:Lc,TextNode:Vv,SpaceNode:FAe,newDocumentFragment:TAe},xf=function(n,t,a){return Vr[t][n]&&Vr[t][n].replace&&n.charCodeAt(0)!==55349&&!(hAe.hasOwnProperty(n)&&a&&(a.fontFamily&&a.fontFamily.slice(4,6)==="tt"||a.font&&a.font.slice(4,6)==="tt"))&&(n=Vr[t][n].replace),new tn.TextNode(n)},iV=function(n){return n.length===1?n[0]:new tn.MathNode("mrow",n)},uV=function(n,t){if(t.fontFamily==="texttt")return"monospace";if(t.fontFamily==="textsf")return t.fontShape==="textit"&&t.fontWeight==="textbf"?"sans-serif-bold-italic":t.fontShape==="textit"?"sans-serif-italic":t.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(t.fontShape==="textit"&&t.fontWeight==="textbf")return"bold-italic";if(t.fontShape==="textit")return"italic";if(t.fontWeight==="textbf")return"bold";var a=t.font;if(!a||a==="mathnormal")return null;var r=n.mode;if(a==="mathit")return"italic";if(a==="boldsymbol")return n.type==="textord"?"bold":"bold-italic";if(a==="mathbf")return"bold";if(a==="mathbb")return"double-struck";if(a==="mathsfit")return"sans-serif-italic";if(a==="mathfrak")return"fraktur";if(a==="mathscr"||a==="mathcal")return"script";if(a==="mathsf")return"sans-serif";if(a==="mathtt")return"monospace";var o=n.text;if(Gt.contains(["\\imath","\\jmath"],o))return null;Vr[r][o]&&Vr[r][o].replace&&(o=Vr[r][o].replace);var i=ye.fontMap[a].fontName;return Xz(o,i,r)?ye.fontMap[a].variant:null};function lV(e){if(!e)return!1;if(e.type==="mi"&&e.children.length===1){var n=e.children[0];return n instanceof Vv&&n.text==="."}else if(e.type==="mo"&&e.children.length===1&&e.getAttribute("separator")==="true"&&e.getAttribute("lspace")==="0em"&&e.getAttribute("rspace")==="0em"){var t=e.children[0];return t instanceof Vv&&t.text===","}else return!1}var jc=function(n,t,a){if(n.length===1){var r=Ur(n[0],t);return a&&r instanceof Lc&&r.type==="mo"&&(r.setAttribute("lspace","0em"),r.setAttribute("rspace","0em")),[r]}for(var o=[],i,u=0;u=1&&(i.type==="mn"||lV(i))){var c=l.children[0];c instanceof Lc&&c.type==="mn"&&(c.children=[...i.children,...c.children],o.pop())}else if(i.type==="mi"&&i.children.length===1){var s=i.children[0];if(s instanceof Vv&&s.text==="\u0338"&&(l.type==="mo"||l.type==="mi"||l.type==="mn")){var f=l.children[0];f instanceof Vv&&f.text.length>0&&(f.text=f.text.slice(0,1)+"\u0338"+f.text.slice(1),o.pop())}}}o.push(l),i=l}return o},Oh=function(n,t,a){return iV(jc(n,t,a))},Ur=function(n,t){if(!n)return new tn.MathNode("mrow");if(WL[n.type]){var a=WL[n.type](n,t);return a}else throw new ln("Got group of unknown type: '"+n.type+"'")};function MAe(e,n,t,a,r){var o=jc(e,t),i;o.length===1&&o[0]instanceof Lc&&Gt.contains(["mrow","mtable"],o[0].type)?i=o[0]:i=new tn.MathNode("mrow",o);var u=new tn.MathNode("annotation",[new tn.TextNode(n)]);u.setAttribute("encoding","application/x-tex");var l=new tn.MathNode("semantics",[i,u]),c=new tn.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 ye.makeSpan([s],[c])}var GAe=function(n){return new dp({style:n.displayMode?Ot.DISPLAY:Ot.TEXT,maxSize:n.maxSize,minRuleThickness:n.minRuleThickness})},AAe=function(n,t){if(t.displayMode){var a=["katex-display"];t.leqno&&a.push("leqno"),t.fleqn&&a.push("fleqn"),n=ye.makeSpan(a,[n])}return n},n3n=function(n,t,a){var r=GAe(a),o;if(a.output==="mathml")return MAe(n,t,r,a.displayMode,!0);if(a.output==="html"){var i=oV(n,r);o=ye.makeSpan(["katex"],[i])}else{var u=MAe(n,t,r,a.displayMode,!1),l=oV(n,r);o=ye.makeSpan(["katex"],[u,l])}return AAe(o,a)},t3n=function(n,t,a){var r=GAe(a),o=oV(n,r),i=ye.makeSpan(["katex"],[o]);return AAe(i,a)},a3n={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":"="},r3n=function(n){var t=new tn.MathNode("mo",[new tn.TextNode(a3n[n.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},o3n={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]},i3n=function(n){return n.type==="ordgroup"?n.body.length:1},u3n=function(n,t){function a(){var u=4e5,l=n.label.slice(1);if(Gt.contains(["widehat","widecheck","widetilde","utilde"],l)){var c=n,s=i3n(c.base),f,v,p;if(s>5)l==="widehat"||l==="widecheck"?(f=420,u=2364,p=.42,v=l+"4"):(f=312,u=2340,p=.34,v="tilde4");else{var d=[1,1,2,2,3,3][s];l==="widehat"||l==="widecheck"?(u=[0,1062,2364,2364,2364][d],f=[0,239,300,360,420][d],p=[0,.24,.3,.3,.36,.42][d],v=l+d):(u=[0,600,1033,2339,2340][d],f=[0,260,286,306,312][d],p=[0,.26,.286,.3,.306,.34][d],v="tilde"+d)}var y=new sd(v),h=new _p([y],{width:"100%",height:Mn(p),viewBox:"0 0 "+u+" "+f,preserveAspectRatio:"none"});return{span:ye.makeSvgSpan([],[h],t),minWidth:0,height:p}}else{var g=[],S=o3n[l],[M,P,O]=S,T=O/1e3,k=M.length,K,oe;if(k===1){var Te=S[3];K=["hide-tail"],oe=[Te]}else if(k===2)K=["halfarrow-left","halfarrow-right"],oe=["xMinYMin","xMaxYMin"];else if(k===3)K=["brace-left","brace-center","brace-right"],oe=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support `+k+" children.");for(var we=0;we0&&(r.style.minWidth=Mn(o)),r},l3n=function(n,t,a,r,o){var i,u=n.height+n.depth+a+r;if(/fbox|color|angl/.test(t)){if(i=ye.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 LL({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&c.push(new LL({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var s=new _p(c,{width:"100%",height:Mn(u)});i=ye.makeSvgSpan([],[s],o)}return i.height=u,i.style.height=Mn(u),i},dd={encloseSpan:l3n,mathMLnode:r3n,svgSpan:u3n};function Ra(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 cV(e){var n=VL(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 VL(e){return e&&(e.type==="atom"||L4n.hasOwnProperty(e.type))?e:null}var sV=(e,n)=>{var t,a,r;e&&e.type==="supsub"?(a=Ra(e.base,"accent"),t=a.base,e.base=t,r=A4n(er(e,n)),e.base=a):(a=Ra(e,"accent"),t=a.base);var o=er(t,n.havingCrampedStyle()),i=a.isShifty&&Gt.isCharacterBox(t),u=0;if(i){var l=Gt.getBaseElem(t),c=er(l,n.havingCrampedStyle());u=_Ae(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=dd.svgSpan(a,n),v=ye.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"elem",elem:v,wrapperClasses:["svg-align"],wrapperStyle:u>0?{width:"calc(100% - "+Mn(2*u)+")",marginLeft:Mn(2*u)}:void 0}]},n);else{var p,d;a.label==="\\vec"?(p=ye.staticSvg("vec",n),d=ye.svgData.vec[1]):(p=ye.makeOrd({mode:a.mode,text:a.label},n,"textord"),p=_Ae(p),p.italic=0,d=p.width,s&&(f+=p.depth)),v=ye.makeSpan(["accent-body"],[p]);var y=a.label==="\\textcircled";y&&(v.classes.push("accent-full"),f=o.height);var h=u;y||(h-=d/2),v.style.left=Mn(h),a.label==="\\textcircled"&&(v.style.top=".2em"),v=ye.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:-f},{type:"elem",elem:v}]},n)}var g=ye.makeSpan(["mord","accent"],[v],n);return r?(r.children[0]=g,r.height=Math.max(g.height,r.height),r.classes[0]="mord",r):g},xAe=(e,n)=>{var t=e.isStretchy?dd.mathMLnode(e.label):new tn.MathNode("mo",[xf(e.label,e.mode)]),a=new tn.MathNode("mover",[Ur(e.base,n),t]);return a.setAttribute("accent","true"),a},c3n=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=$L(n[0]),a=!c3n.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:sV,mathmlBuilder:xAe});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:sV,mathmlBuilder:xAe});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=er(e.base,n),a=dd.svgSpan(e,n),r=e.label==="\\utilde"?.12:0,o=ye.makeVList({positionType:"top",positionData:t.height,children:[{type:"elem",elem:a,wrapperClasses:["svg-align"]},{type:"kern",size:r},{type:"elem",elem:t}]},n);return ye.makeSpan(["mord","accentunder"],[o],n)},mathmlBuilder:(e,n)=>{var t=dd.mathMLnode(e.label),a=new tn.MathNode("munder",[Ur(e.base,n),t]);return a.setAttribute("accentunder","true"),a}});var QL=e=>{var n=new tn.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=ye.wrapFragment(er(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=ye.wrapFragment(er(e.below,a,n),n),i.classes.push(o+"-arrow-pad"));var u=dd.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=ye.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=ye.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"),ye.makeSpan(["mrel","x-arrow"],[s],n)},mathmlBuilder(e,n){var t=dd.mathMLnode(e.label);t.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var a;if(e.body){var r=QL(Ur(e.body,n));if(e.below){var o=QL(Ur(e.below,n));a=new tn.MathNode("munderover",[t,o,r])}else a=new tn.MathNode("mover",[t,r])}else if(e.below){var i=QL(Ur(e.below,n));a=new tn.MathNode("munder",[t,i])}else a=QL(),a=new tn.MathNode("mover",[t,a]);return a}});var s3n=ye.makeSpan;function LAe(e,n){var t=Zi(e.body,n,!0);return s3n([e.mclass],t,n)}function jAe(e,n){var t,a=jc(e.body,n);return e.mclass==="minner"?t=new tn.MathNode("mpadded",a):e.mclass==="mord"?e.isCharacterBox?(t=a[0],t.type="mi"):t=new tn.MathNode("mi",a):(e.isCharacterBox?(t=a[0],t.type="mo"):t=new tn.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:pi(r),isCharacterBox:Gt.isCharacterBox(r)}},htmlBuilder:LAe,mathmlBuilder:jAe});var YL=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:YL(n[0]),body:pi(n[1]),isCharacterBox:Gt.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=YL(r):i="mrel";var u={type:"op",mode:r.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:a!=="\\stackrel",body:pi(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:Gt.isCharacterBox(l)}},htmlBuilder:LAe,mathmlBuilder:jAe});Wn({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,n){var{parser:t}=e;return{type:"pmb",mode:t.mode,mclass:YL(n[0]),body:pi(n[0])}},htmlBuilder(e,n){var t=Zi(e.body,n,!0),a=ye.makeSpan([e.mclass],t,n);return a.style.textShadow="0.02em 0.01em 0.04px",a},mathmlBuilder(e,n){var t=jc(e.body,n),a=new tn.MathNode("mstyle",t);return a.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),a}});var f3n={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},NAe=()=>({type:"styling",body:[],mode:"math",style:"display"}),PAe=e=>e.type==="textord"&&e.text==="@",v3n=(e,n)=>(e.type==="mathord"||e.type==="atom")&&e.text===n;function p3n(e,n,t){var a=f3n[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 m3n(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 ln("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,p=l+1;pAV=|." after @',i[l]);var d=p3n(c,s,e),y={type:"styling",body:[d],mode:"math",style:"display"};a.push(y),u=NAe()}o%2==0?a.push(u):a.shift(),a=[],r.push(a)}e.gullet.endGroup(),e.gullet.endGroup();var h=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:h,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=ye.wrapFragment(er(e.label,t,n),n);return a.classes.push("cd-label-"+e.side),a.style.bottom=Mn(.8-a.depth),a.height=0,a.depth=0,a},mathmlBuilder(e,n){var t=new tn.MathNode("mrow",[Ur(e.label,n)]);return t=new tn.MathNode("mpadded",[t]),t.setAttribute("width","0"),e.side==="left"&&t.setAttribute("lspace","-1width"),t.setAttribute("voffset","0.7em"),t=new tn.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=ye.wrapFragment(er(e.fragment,n),n);return t.classes.push("cd-vert-arrow"),t},mathmlBuilder(e,n){return new tn.MathNode("mrow",[Ur(e.fragment,n)])}});Wn({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,n){for(var{parser:t}=e,a=Ra(n[0],"ordgroup"),r=a.body,o="",i=0;i=1114111)throw new ln("\\@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 OAe=(e,n)=>{var t=Zi(e.body,n.withColor(e.color),!1);return ye.makeFragment(t)},kAe=(e,n)=>{var t=jc(e.body,n.withColor(e.color)),a=new tn.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=Ra(n[0],"color-token").color,r=n[1];return{type:"color",mode:t.mode,color:a,body:pi(r)}},htmlBuilder:OAe,mathmlBuilder:kAe});Wn({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,n){var{parser:t,breakOnTokenText:a}=e,r=Ra(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:OAe,mathmlBuilder:kAe});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&&Ra(r,"size").value}},htmlBuilder(e,n){var t=ye.makeSpan(["mspace"],[],n);return e.newLine&&(t.classes.push("newline"),e.size&&(t.style.marginTop=Mn(jo(e.size,n)))),t},mathmlBuilder(e,n){var t=new tn.MathNode("mspace");return e.newLine&&(t.setAttribute("linebreak","newline"),e.size&&t.setAttribute("height",Mn(jo(e.size,n)))),t}});var fV={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},UAe=e=>{var n=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(n))throw new ln("Expected a control sequence",e);return n},d3n=e=>{var n=e.gullet.popToken();return n.text==="="&&(n=e.gullet.popToken(),n.text===" "&&(n=e.gullet.popToken())),n},HAe=(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(fV[a.text])return(t==="\\global"||t==="\\\\globallong")&&(a.text=fV[a.text]),Ra(n.parseFunction(),"internal");throw new ln("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 ln("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 ln('Invalid argument number "'+a.text+'"');if(parseInt(a.text)!==o+1)throw new ln('Argument number "'+a.text+'" out of order');o++,u.push([])}else{if(a.text==="EOF")throw new ln("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===fV[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=UAe(n.gullet.popToken());n.gullet.consumeSpaces();var r=d3n(n);return HAe(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=UAe(n.gullet.popToken()),r=n.gullet.popToken(),o=n.gullet.popToken();return HAe(n,a,o,t==="\\\\globalfuture"),n.gullet.pushToken(o),n.gullet.pushToken(r),{type:"internal",mode:n.mode}}});var yM=function(n,t,a){var r=Vr.math[n]&&Vr.math[n].replace,o=Xz(r||n,t,a);if(!o)throw new Error("Unsupported symbol "+n+" and font size "+t+".");return o},vV=function(n,t,a,r){var o=a.havingBaseStyle(t),i=ye.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},BAe=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=Mn(o),n.height-=o,n.depth+=o},_3n=function(n,t,a,r,o,i){var u=ye.makeSymbol(n,"Main-Regular",o,r),l=vV(u,t,r,i);return a&&BAe(l,r,t),l},h3n=function(n,t,a,r){return ye.makeSymbol(n,"Size"+t+"-Regular",a,r)},JAe=function(n,t,a,r,o,i){var u=h3n(n,t,o,r),l=vV(ye.makeSpan(["delimsizing","size"+t],[u],r),Ot.TEXT,r,i);return a&&BAe(l,r,Ot.TEXT),l},pV=function(n,t,a){var r;t==="Size1-Regular"?r="delim-size1":r="delim-size4";var o=ye.makeSpan(["delimsizinginner",r],[ye.makeSpan([],[ye.makeSymbol(n,t,a)])]);return{type:"elem",elem:o}},mV=function(n,t,a){var r=mp["Size4-Regular"][n.charCodeAt(0)]?mp["Size4-Regular"][n.charCodeAt(0)][4]:mp["Size1-Regular"][n.charCodeAt(0)][4],o=new sd("inner",S4n(n,Math.round(1e3*t))),i=new _p([o],{width:Mn(r),height:Mn(t),style:"width:"+Mn(r),viewBox:"0 0 "+1e3*r+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),u=ye.makeSvgSpan([],[i],a);return u.height=t,u.style.height=Mn(t),u.style.width=Mn(r),{type:"elem",elem:u}},dV=.008,XL={type:"kern",size:-1*dV},g3n=["|","\\lvert","\\rvert","\\vert"],D3n=["\\|","\\lVert","\\rVert","\\Vert"],qAe=function(n,t,a,r,o,i){var u,l,c,s,f="",v=0;u=c=s=n,l=null;var p="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"):Gt.contains(g3n,n)?(c="\u2223",f="vert",v=333):Gt.contains(D3n,n)?(c="\u2225",f="doublevert",v=556):n==="["||n==="\\lbrack"?(u="\u23A1",c="\u23A2",s="\u23A3",p="Size4-Regular",f="lbrack",v=667):n==="]"||n==="\\rbrack"?(u="\u23A4",c="\u23A5",s="\u23A6",p="Size4-Regular",f="rbrack",v=667):n==="\\lfloor"||n==="\u230A"?(c=u="\u23A2",s="\u23A3",p="Size4-Regular",f="lfloor",v=667):n==="\\lceil"||n==="\u2308"?(u="\u23A1",c=s="\u23A2",p="Size4-Regular",f="lceil",v=667):n==="\\rfloor"||n==="\u230B"?(c=u="\u23A5",s="\u23A6",p="Size4-Regular",f="rfloor",v=667):n==="\\rceil"||n==="\u2309"?(u="\u23A4",c=s="\u23A5",p="Size4-Regular",f="rceil",v=667):n==="("||n==="\\lparen"?(u="\u239B",c="\u239C",s="\u239D",p="Size4-Regular",f="lparen",v=875):n===")"||n==="\\rparen"?(u="\u239E",c="\u239F",s="\u23A0",p="Size4-Regular",f="rparen",v=875):n==="\\{"||n==="\\lbrace"?(u="\u23A7",l="\u23A8",s="\u23A9",c="\u23AA",p="Size4-Regular"):n==="\\}"||n==="\\rbrace"?(u="\u23AB",l="\u23AC",s="\u23AD",c="\u23AA",p="Size4-Regular"):n==="\\lgroup"||n==="\u27EE"?(u="\u23A7",s="\u23A9",c="\u23AA",p="Size4-Regular"):n==="\\rgroup"||n==="\u27EF"?(u="\u23AB",s="\u23AD",c="\u23AA",p="Size4-Regular"):n==="\\lmoustache"||n==="\u23B0"?(u="\u23A7",s="\u23AD",c="\u23AA",p="Size4-Regular"):(n==="\\rmoustache"||n==="\u23B1")&&(u="\u23AB",s="\u23A9",c="\u23AA",p="Size4-Regular");var d=yM(u,p,o),y=d.height+d.depth,h=yM(c,p,o),g=h.height+h.depth,S=yM(s,p,o),M=S.height+S.depth,P=0,O=1;if(l!==null){var T=yM(l,p,o);P=T.height+T.depth,O=2}var k=y+M+P,K=Math.max(0,Math.ceil((t-k)/(O*g))),oe=k+K*O*g,Te=r.fontMetrics().axisHeight;a&&(Te*=r.sizeMultiplier);var we=oe/2-Te,xe=[];if(f.length>0){var Se=oe-y-M,Ce=Math.round(oe*1e3),Je=E4n(f,Math.round(Se*1e3)),ue=new sd(f,Je),Tn=(v/1e3).toFixed(3)+"em",on=(Ce/1e3).toFixed(3)+"em",Et=new _p([ue],{width:Tn,height:on,viewBox:"0 0 "+v+" "+Ce}),mt=ye.makeSvgSpan([],[Et],r);mt.height=Ce/1e3,mt.style.width=Tn,mt.style.height=on,xe.push({type:"elem",elem:mt})}else{if(xe.push(pV(s,p,o)),xe.push(XL),l===null){var z=oe-y-M+2*dV;xe.push(mV(c,z,r))}else{var x=(oe-y-M-P)/2+2*dV;xe.push(mV(c,x,r)),xe.push(XL),xe.push(pV(l,p,o)),xe.push(XL),xe.push(mV(c,x,r))}xe.push(XL),xe.push(pV(u,p,o))}var Y=r.havingBaseStyle(Ot.TEXT),fe=ye.makeVList({positionType:"bottom",positionData:we,children:xe},Y);return vV(ye.makeSpan(["delimsizing","mult"],[fe],Y),Ot.TEXT,r,i)},_V=80,hV=.08,gV=function(n,t,a,r,o){var i=w4n(n,r,a),u=new sd(n,i),l=new _p([u],{width:"400em",height:Mn(t),viewBox:"0 0 400000 "+a,preserveAspectRatio:"xMinYMin slice"});return ye.makeSvgSpan(["hide-tail"],[l],o)},y3n=function(n,t){var a=t.havingBaseSizing(),r=VAe("\\surd",n*a.sizeMultiplier,zAe,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+_V,n<1?o=1:n<1.4&&(o=.7),l=(1+i+hV)/o,c=(1+i)/o,u=gV("sqrtMain",l,s,i,t),u.style.minWidth="0.853em",f=.833/o):r.type==="large"?(s=(1e3+_V)*bM[r.size],c=(bM[r.size]+i)/o,l=(bM[r.size]+i+hV)/o,u=gV("sqrtSize"+r.size,l,s,i,t),u.style.minWidth="1.02em",f=1/o):(l=n+i+hV,c=n+i,s=Math.floor(1e3*n+i)+_V,u=gV("sqrtTall",l,s,i,t),u.style.minWidth="0.742em",f=1.056),u.height=c,u.style.height=Mn(l),{span:u,advanceWidth:f,ruleWidth:(t.fontMetrics().sqrtRuleThickness+i)*o}},WAe=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],b3n=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],$Ae=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],bM=[0,1.2,1.8,2.4,3],R3n=function(n,t,a,r,o){if(n==="<"||n==="\\lt"||n==="\u27E8"?n="\\langle":(n===">"||n==="\\gt"||n==="\u27E9")&&(n="\\rangle"),Gt.contains(WAe,n)||Gt.contains($Ae,n))return JAe(n,t,!1,a,r,o);if(Gt.contains(b3n,n))return qAe(n,bM[t],!1,a,r,o);throw new ln("Illegal delimiter: '"+n+"'")},w3n=[{type:"small",style:Ot.SCRIPTSCRIPT},{type:"small",style:Ot.SCRIPT},{type:"small",style:Ot.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],S3n=[{type:"small",style:Ot.SCRIPTSCRIPT},{type:"small",style:Ot.SCRIPT},{type:"small",style:Ot.TEXT},{type:"stack"}],zAe=[{type:"small",style:Ot.SCRIPTSCRIPT},{type:"small",style:Ot.SCRIPT},{type:"small",style:Ot.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],E3n=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.")},VAe=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]},QAe=function(n,t,a,r,o,i){n==="<"||n==="\\lt"||n==="\u27E8"?n="\\langle":(n===">"||n==="\\gt"||n==="\u27E9")&&(n="\\rangle");var u;Gt.contains($Ae,n)?u=w3n:Gt.contains(WAe,n)?u=zAe:u=S3n;var l=VAe(n,t,u,r);return l.type==="small"?_3n(n,l.style,a,r,o,i):l.type==="large"?JAe(n,l.size,a,r,o,i):qAe(n,t,a,r,o,i)},C3n=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 QAe(n,f,!0,r,o,i)},_d={sqrtImage:y3n,sizedDelim:R3n,sizeToMaxHeight:bM,customSizedDelim:QAe,leftRightDelim:C3n},YAe={"\\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}},I3n=["(","\\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 ZL(e,n){var t=VL(e);if(t&&Gt.contains(I3n,t.text))return t;throw t?new ln("Invalid delimiter '"+t.text+"' after '"+n.funcName+"'",e):new ln("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=ZL(n[0],e);return{type:"delimsizing",mode:e.parser.mode,size:YAe[e.funcName].size,mclass:YAe[e.funcName].mclass,delim:t.text}},htmlBuilder:(e,n)=>e.delim==="."?ye.makeSpan([e.mclass]):_d.sizedDelim(e.delim,e.size,n,e.mode,[e.mclass]),mathmlBuilder:e=>{var n=[];e.delim!=="."&&n.push(xf(e.delim,e.mode));var t=new tn.MathNode("mo",n);e.mclass==="mopen"||e.mclass==="mclose"?t.setAttribute("fence","true"):t.setAttribute("fence","false"),t.setAttribute("stretchy","true");var a=Mn(_d.sizeToMaxHeight[e.size]);return t.setAttribute("minsize",a),t.setAttribute("maxsize",a),t}});function XAe(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 ln("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:ZL(n[0],e).text,color:t}}});Wn({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,n)=>{var t=ZL(n[0],e),a=e.parser;++a.leftrightDepth;var r=a.parseExpression(!1);--a.leftrightDepth,a.expect("\\right",!1);var o=Ra(a.parseFunction(),"leftright-right");return{type:"leftright",mode:a.mode,body:r,left:t.text,right:o.delim,rightColor:o.color}},htmlBuilder:(e,n)=>{XAe(e);for(var t=Zi(e.body,n,!0,["mopen","mclose"]),a=0,r=0,o=!1,i=0;i{XAe(e);var t=jc(e.body,n);if(e.left!=="."){var a=new tn.MathNode("mo",[xf(e.left,e.mode)]);a.setAttribute("fence","true"),t.unshift(a)}if(e.right!=="."){var r=new tn.MathNode("mo",[xf(e.right,e.mode)]);r.setAttribute("fence","true"),e.rightColor&&r.setAttribute("mathcolor",e.rightColor),t.push(r)}return iV(t)}});Wn({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,n)=>{var t=ZL(n[0],e);if(!e.parser.leftrightDepth)throw new ln("\\middle without preceding \\left",t);return{type:"middle",mode:e.parser.mode,delim:t.text}},htmlBuilder:(e,n)=>{var t;if(e.delim===".")t=DM(n,[]);else{t=_d.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==="|"?xf("|","text"):xf(e.delim,e.mode),a=new tn.MathNode("mo",[t]);return a.setAttribute("fence","true"),a.setAttribute("lspace","0.05em"),a.setAttribute("rspace","0.05em"),a}});var DV=(e,n)=>{var t=ye.wrapFragment(er(e.body,n),n),a=e.label.slice(1),r=n.sizeMultiplier,o,i=0,u=Gt.isCharacterBox(e.body);if(a==="sout")o=ye.makeSpan(["stretchy","sout"]),o.height=n.fontMetrics().defaultRuleThickness/r,i=-.5*n.fontMetrics().xHeight;else if(a==="phase"){var l=jo({number:.6,unit:"pt"},n),c=jo({number:.35,unit:"ex"},n),s=n.havingBaseSizing();r=r/s.sizeMultiplier;var f=t.height+t.depth+l+c;t.style.paddingLeft=Mn(f/2+l);var v=Math.floor(1e3*f*r),p=b4n(v),d=new _p([new sd("phase",p)],{width:"400em",height:Mn(v/1e3),viewBox:"0 0 400000 "+v,preserveAspectRatio:"xMinYMin slice"});o=ye.makeSvgSpan(["hide-tail"],[d],n),o.style.height=Mn(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 y=0,h=0,g=0;/box/.test(a)?(g=Math.max(n.fontMetrics().fboxrule,n.minRuleThickness),y=n.fontMetrics().fboxsep+(a==="colorbox"?0:g),h=y):a==="angl"?(g=Math.max(n.fontMetrics().defaultRuleThickness,n.minRuleThickness),y=4*g,h=Math.max(0,.25-t.depth)):(y=u?.2:0,h=y),o=dd.encloseSpan(t,a,y,h,n),/fbox|boxed|fcolorbox/.test(a)?(o.style.borderStyle="solid",o.style.borderWidth=Mn(g)):a==="angl"&&g!==.049&&(o.style.borderTopWidth=Mn(g),o.style.borderRightWidth=Mn(g)),i=t.depth+h,e.backgroundColor&&(o.style.backgroundColor=e.backgroundColor,e.borderColor&&(o.style.borderColor=e.borderColor))}var S;if(e.backgroundColor)S=ye.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:i},{type:"elem",elem:t,shift:0}]},n);else{var M=/cancel|phase/.test(a)?["svg-align"]:[];S=ye.makeVList({positionType:"individualShift",children:[{type:"elem",elem:t,shift:0},{type:"elem",elem:o,shift:i,wrapperClasses:M}]},n)}return/cancel/.test(a)&&(S.height=t.height,S.depth=t.depth),/cancel/.test(a)&&!u?ye.makeSpan(["mord","cancel-lap"],[S],n):ye.makeSpan(["mord"],[S],n)},yV=(e,n)=>{var t=0,a=new tn.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Ur(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=Ra(n[0],"color-token").color,i=n[1];return{type:"enclose",mode:a.mode,label:r,backgroundColor:o,body:i}},htmlBuilder:DV,mathmlBuilder:yV});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=Ra(n[0],"color-token").color,i=Ra(n[1],"color-token").color,u=n[2];return{type:"enclose",mode:a.mode,label:r,backgroundColor:i,borderColor:o,body:u}},htmlBuilder:DV,mathmlBuilder:yV});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:DV,mathmlBuilder:yV});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 ZAe={};function hp(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 ln("{"+e.envName+"} can be used only in display mode.")};function bV(e){if(e.indexOf("ed")===-1)return e.indexOf("*")===-1}function kh(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 p=e.gullet.expandMacroAsText("\\arraystretch");if(p==null)i=1;else if(i=parseFloat(p),!i||i<0)throw new ln("Invalid \\arraystretch: "+p)}e.gullet.beginGroup();var d=[],y=[d],h=[],g=[],S=l!=null?[]:void 0;function M(){l&&e.gullet.macros.set("\\@eqnsw","1",!0)}function P(){S&&(e.gullet.macros.get("\\df@tag")?(S.push(e.subparse([new Ts("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):S.push(Boolean(l)&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(M(),g.push(exe(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]}),d.push(O);var T=e.fetch().text;if(T==="&"){if(f&&d.length===f){if(c||u)throw new ln("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(T==="\\end"){P(),d.length===1&&O.type==="styling"&&O.body[0].body.length===0&&(y.length>1||!s)&&y.pop(),g.length0&&(M+=.25),c.push({pos:M,isDashed:at[Dt]})}for(P(i[0]),a=0;a0&&(we+=S,kat))for(a=0;a=u)){var pe=void 0;(r>0||n.hskipBeforeAndAfter)&&(pe=Gt.deflt(x.pregap,v),pe!==0&&(Je=ye.makeSpan(["arraycolsep"],[]),Je.style.width=Mn(pe),Ce.push(Je)));var V=[];for(a=0;a0){for(var en=ye.makeLineSpan("hline",t,s),Ne=ye.makeLineSpan("hdashline",t,s),Fn=[{type:"elem",elem:l,shift:0}];c.length>0;){var fn=c.pop(),tt=fn.pos-xe;fn.isDashed?Fn.push({type:"elem",elem:Ne,shift:tt}):Fn.push({type:"elem",elem:en,shift:tt})}l=ye.makeVList({positionType:"individualShift",children:Fn},t)}if(Tn.length===0)return ye.makeSpan(["mord"],[l],t);var In=ye.makeVList({positionType:"individualShift",children:Tn},t);return In=ye.makeSpan(["tag"],[In],t),ye.makeFragment([l,In])},T3n={c:"center ",l:"left ",r:"right "},Dp=function(n,t){for(var a=[],r=new tn.MathNode("mtd",[],["mtr-glue"]),o=new tn.MathNode("mtd",[],["mml-eqn-num"]),i=0;i0){var d=n.cols,y="",h=!1,g=0,S=d.length;d[0].type==="separator"&&(v+="top ",g=1),d[d.length-1].type==="separator"&&(v+="bottom ",S-=1);for(var M=g;M0?"left ":"",v+=K[K.length-1].length>0?"right ":"";for(var oe=1;oe-1?"alignat":"align",o=n.envName==="split",i=kh(n.parser,{cols:a,addJot:!0,autoTag:o?void 0:bV(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&&p&&(h=1),a[d]={type:"align",align:y,pregap:h,postgap:0}}return i.colSeparationType=p?"align":"alignat",i};hp({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,n){var t=VL(n[0]),a=t?[n[0]]:Ra(n[0],"ordgroup").body,r=a.map(function(i){var u=cV(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 ln("Unknown column alignment: "+l,i)}),o={cols:r,hskipBeforeAndAfter:!0,maxNumCols:r.length};return kh(e.parser,o,RV(e.envName))},htmlBuilder:gp,mathmlBuilder:Dp});hp({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 ln("Expected l or c or r",r.nextToken);r.consume(),r.consumeSpaces(),r.expect("]"),r.consume(),a.cols=[{type:"align",align:t}]}}var o=kh(e.parser,a,RV(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:gp,mathmlBuilder:Dp});hp({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var n={arraystretch:.5},t=kh(e.parser,n,"script");return t.colSeparationType="small",t},htmlBuilder:gp,mathmlBuilder:Dp});hp({type:"array",names:["subarray"],props:{numArgs:1},handler(e,n){var t=VL(n[0]),a=t?[n[0]]:Ra(n[0],"ordgroup").body,r=a.map(function(i){var u=cV(i),l=u.text;if("lc".indexOf(l)!==-1)return{type:"align",align:l};throw new ln("Unknown column alignment: "+l,i)});if(r.length>1)throw new ln("{subarray} can contain only one column");var o={cols:r,hskipBeforeAndAfter:!1,arraystretch:.5};if(o=kh(e.parser,o,"script"),o.body.length>0&&o.body[0].length>1)throw new ln("{subarray} can contain only one column");return o},htmlBuilder:gp,mathmlBuilder:Dp});hp({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=kh(e.parser,n,RV(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:gp,mathmlBuilder:Dp});hp({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:nxe,htmlBuilder:gp,mathmlBuilder:Dp});hp({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){Gt.contains(["gather","gather*"],e.envName)&&KL(e);var n={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:bV(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return kh(e.parser,n,"display")},htmlBuilder:gp,mathmlBuilder:Dp});hp({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:nxe,htmlBuilder:gp,mathmlBuilder:Dp});hp({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){KL(e);var n={autoTag:bV(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return kh(e.parser,n,"display")},htmlBuilder:gp,mathmlBuilder:Dp});hp({type:"array",names:["CD"],props:{numArgs:0},handler(e){return KL(e),m3n(e.parser)},htmlBuilder:gp,mathmlBuilder:Dp});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 ln(e.funcName+" valid only within array environment")}});var txe=ZAe;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 ln("Invalid environment name",r);for(var o="",i=0;i{var t=e.font,a=n.withFont(t);return er(e.body,a)},rxe=(e,n)=>{var t=e.font,a=n.withFont(t);return Ur(e.body,a)},oxe={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Wn({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,n)=>{var{parser:t,funcName:a}=e,r=$L(n[0]),o=a;return o in oxe&&(o=oxe[o]),{type:"font",mode:t.mode,font:o.slice(1),body:r}},htmlBuilder:axe,mathmlBuilder:rxe});Wn({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,n)=>{var{parser:t}=e,a=n[0],r=Gt.isCharacterBox(a);return{type:"mclass",mode:t.mode,mclass:YL(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:axe,mathmlBuilder:rxe});var ixe=(e,n)=>{var t=n;return e==="display"?t=t.id>=Ot.SCRIPT.id?t.text():Ot.DISPLAY:e==="text"&&t.size===Ot.DISPLAY.size?t=Ot.TEXT:e==="script"?t=Ot.SCRIPT:e==="scriptscript"&&(t=Ot.SCRIPTSCRIPT),t},wV=(e,n)=>{var t=ixe(e.size,n.style),a=t.fracNum(),r=t.fracDen(),o;o=n.havingStyle(a);var i=er(e.numer,o,n);if(e.continued){var u=8.5/n.fontMetrics().ptPerEm,l=3.5/n.fontMetrics().ptPerEm;i.height=i.height0?d=3*v:d=7*v,y=n.fontMetrics().denom1):(f>0?(p=n.fontMetrics().num2,d=v):(p=n.fontMetrics().num3,d=3*v),y=n.fontMetrics().denom2);var h;if(s){var S=n.fontMetrics().axisHeight;p-i.depth-(S+.5*f){var t=new tn.MathNode("mfrac",[Ur(e.numer,n),Ur(e.denom,n)]);if(!e.hasBarLine)t.setAttribute("linethickness","0px");else if(e.barSize){var a=jo(e.barSize,n);t.setAttribute("linethickness",Mn(a))}var r=ixe(e.size,n.style);if(r.size!==n.style.size){t=new tn.MathNode("mstyle",[t]);var o=r.size===Ot.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 tn.MathNode("mo",[new tn.TextNode(e.leftDelim.replace("\\",""))]);u.setAttribute("fence","true"),i.push(u)}if(i.push(t),e.rightDelim!=null){var l=new tn.MathNode("mo",[new tn.TextNode(e.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),i.push(l)}return iV(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:wV,mathmlBuilder:SV});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 uxe=["display","text","script","scriptscript"],lxe=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=$L(n[0]),i=o.type==="atom"&&o.family==="open"?lxe(o.text):null,u=$L(n[1]),l=u.type==="atom"&&u.family==="close"?lxe(u.text):null,c=Ra(n[2],"size"),s,f=null;c.isBlank?s=!0:(f=c.value,s=f.number>0);var v="auto",p=n[3];if(p.type==="ordgroup"){if(p.body.length>0){var d=Ra(p.body[0],"textord");v=uxe[Number(d.text)]}}else p=Ra(p,"textord"),v=uxe[Number(p.text)];return{type:"genfrac",mode:t.mode,numer:a,denom:r,continued:!1,hasBarLine:s,barSize:f,leftDelim:i,rightDelim:l,size:v}},htmlBuilder:wV,mathmlBuilder:SV});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:Ra(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=i4n(Ra(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:wV,mathmlBuilder:SV});var cxe=(e,n)=>{var t=n.style,a,r;e.type==="supsub"?(a=e.sup?er(e.sup,n.havingStyle(t.sup()),n):er(e.sub,n.havingStyle(t.sub()),n),r=Ra(e.base,"horizBrace")):r=Ra(e,"horizBrace");var o=er(r.base,n.havingBaseStyle(Ot.DISPLAY)),i=dd.svgSpan(r,n),u;if(r.isOver?(u=ye.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=ye.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=ye.makeSpan(["mord",r.isOver?"mover":"munder"],[u],n);r.isOver?u=ye.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:a}]},n):u=ye.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 ye.makeSpan(["mord",r.isOver?"mover":"munder"],[u],n)},F3n=(e,n)=>{var t=dd.mathMLnode(e.label);return new tn.MathNode(e.isOver?"mover":"munder",[Ur(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:cxe,mathmlBuilder:F3n});Wn({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,n)=>{var{parser:t}=e,a=n[1],r=Ra(n[0],"url").url;return t.settings.isTrusted({command:"\\href",url:r})?{type:"href",mode:t.mode,href:r,body:pi(a)}:t.formatUnsupportedCmd("\\href")},htmlBuilder:(e,n)=>{var t=Zi(e.body,n,!1);return ye.makeAnchor(e.href,[],t,n)},mathmlBuilder:(e,n)=>{var t=Oh(e.body,n);return t instanceof Lc||(t=new Lc("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=Ra(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=Ra(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=Zi(e.body,n,!1),a=["enclosing"];e.attributes.class&&a.push(...e.attributes.class.trim().split(/\s+/));var r=ye.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)=>Oh(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:pi(n[0]),mathml:pi(n[1])}},htmlBuilder:(e,n)=>{var t=Zi(e.html,n,!1);return ye.makeFragment(t)},mathmlBuilder:(e,n)=>Oh(e.mathml,n)});var EV=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 ln("Invalid size: '"+n+"' in \\includegraphics");var a={number:+(t[1]+t[2]),unit:t[3]};if(!fAe(a))throw new ln("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=Ra(t[0],"raw").string,c=l.split(","),s=0;s{var t=jo(e.height,n),a=0;e.totalheight.number>0&&(a=jo(e.totalheight,n)-t);var r=0;e.width.number>0&&(r=jo(e.width,n));var o={height:Mn(t+a)};r>0&&(o.width=Mn(r)),a>0&&(o.verticalAlign=Mn(-a));var i=new dAe(e.src,e.alt,o);return i.height=t,i.depth=a,i},mathmlBuilder:(e,n)=>{var t=new tn.MathNode("mglyph",[]);t.setAttribute("alt",e.alt);var a=jo(e.height,n),r=0;if(e.totalheight.number>0&&(r=jo(e.totalheight,n)-a,t.setAttribute("valign",Mn(-r))),t.setAttribute("height",Mn(a+r)),e.width.number>0){var o=jo(e.width,n);t.setAttribute("width",Mn(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=Ra(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 ye.makeGlue(e.dimension,n)},mathmlBuilder(e,n){var t=jo(e.dimension,n);return new tn.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=ye.makeSpan([],[er(e.body,n)]),t=ye.makeSpan(["inner"],[t],n)):t=ye.makeSpan(["inner"],[er(e.body,n)]);var a=ye.makeSpan(["fix"],[]),r=ye.makeSpan([e.alignment],[t,a],n),o=ye.makeSpan(["strut"]);return o.style.height=Mn(r.height+r.depth),r.depth&&(o.style.verticalAlign=Mn(-r.depth)),r.children.unshift(o),r=ye.makeSpan(["thinbox"],[r],n),ye.makeSpan(["mord","vbox"],[r],n)},mathmlBuilder:(e,n)=>{var t=new tn.MathNode("mpadded",[Ur(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 ln("Mismatched "+e.funcName)}});var sxe=(e,n)=>{switch(n.style.size){case Ot.DISPLAY.size:return e.display;case Ot.TEXT.size:return e.text;case Ot.SCRIPT.size:return e.script;case Ot.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:pi(n[0]),text:pi(n[1]),script:pi(n[2]),scriptscript:pi(n[3])}},htmlBuilder:(e,n)=>{var t=sxe(e,n),a=Zi(t,n,!1);return ye.makeFragment(a)},mathmlBuilder:(e,n)=>{var t=sxe(e,n);return Oh(t,n)}});var fxe=(e,n,t,a,r,o,i)=>{e=ye.makeSpan([],[e]);var u=t&&Gt.isCharacterBox(t),l,c;if(n){var s=er(n,a.havingStyle(r.sup()),a);c={elem:s,kern:Math.max(a.fontMetrics().bigOpSpacing1,a.fontMetrics().bigOpSpacing3-s.depth)}}if(t){var f=er(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 p=a.fontMetrics().bigOpSpacing5+l.elem.height+l.elem.depth+l.kern+e.depth+i;v=ye.makeVList({positionType:"bottom",positionData:p,children:[{type:"kern",size:a.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:Mn(-o)},{type:"kern",size:l.kern},{type:"elem",elem:e},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:Mn(o)},{type:"kern",size:a.fontMetrics().bigOpSpacing5}]},a)}else if(l){var d=e.height-i;v=ye.makeVList({positionType:"top",positionData:d,children:[{type:"kern",size:a.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:Mn(-o)},{type:"kern",size:l.kern},{type:"elem",elem:e}]},a)}else if(c){var y=e.depth+i;v=ye.makeVList({positionType:"bottom",positionData:y,children:[{type:"elem",elem:e},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:Mn(o)},{type:"kern",size:a.fontMetrics().bigOpSpacing5}]},a)}else return e;var h=[v];if(l&&o!==0&&!u){var g=ye.makeSpan(["mspace"],[],a);g.style.marginRight=Mn(o),h.unshift(g)}return ye.makeSpan(["mop","op-limits"],h,a)},vxe=["\\smallint"],tS=(e,n)=>{var t,a,r=!1,o;e.type==="supsub"?(t=e.sup,a=e.sub,o=Ra(e.base,"op"),r=!0):o=Ra(e,"op");var i=n.style,u=!1;i.size===Ot.DISPLAY.size&&o.symbol&&!Gt.contains(vxe,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=ye.makeSymbol(o.name,c,"math",n,["mop","op-symbol",u?"large-op":"small-op"]),s.length>0){var f=l.italic,v=ye.staticSvg(s+"Size"+(u?"2":"1"),n);l=ye.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 p=Zi(o.body,n,!0);p.length===1&&p[0]instanceof Fs?(l=p[0],l.classes[0]="mop"):l=ye.makeSpan(["mop"],p,n)}else{for(var d=[],y=1;y{var t;if(e.symbol)t=new Lc("mo",[xf(e.name,e.mode)]),Gt.contains(vxe,e.name)&&t.setAttribute("largeop","false");else if(e.body)t=new Lc("mo",jc(e.body,n));else{t=new Lc("mi",[new Vv(e.name.slice(1))]);var a=new Lc("mo",[xf("\u2061","text")]);e.parentIsSupSub?t=new Lc("mrow",[t,a]):t=TAe([t,a])}return t},M3n={"\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=M3n[r]),{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:tS,mathmlBuilder:RM});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:pi(a)}},htmlBuilder:tS,mathmlBuilder:RM});var G3n={"\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:tS,mathmlBuilder:RM});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:tS,mathmlBuilder:RM});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=G3n[a]),{type:"op",mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:a}},htmlBuilder:tS,mathmlBuilder:RM});var pxe=(e,n)=>{var t,a,r=!1,o;e.type==="supsub"?(t=e.sup,a=e.sub,o=Ra(e.base,"operatorname"),r=!0):o=Ra(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=Zi(u,n.withFont("mathrm"),!0),c=0;c{for(var t=jc(e.body,n.withFont("mathrm")),a=!0,r=0;rs.toText()).join("");t=[new tn.TextNode(u)]}var l=new tn.MathNode("mi",t);l.setAttribute("mathvariant","normal");var c=new tn.MathNode("mo",[xf("\u2061","text")]);return e.parentIsSupSub?new tn.MathNode("mrow",[l,c]):tn.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:pi(r),alwaysHandleSupSub:a==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:pxe,mathmlBuilder:A3n});N("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");ky({type:"ordgroup",htmlBuilder(e,n){return e.semisimple?ye.makeFragment(Zi(e.body,n,!1)):ye.makeSpan(["mord"],Zi(e.body,n,!0),n)},mathmlBuilder(e,n){return Oh(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=er(e.body,n.havingCrampedStyle()),a=ye.makeLineSpan("overline-line",n),r=n.fontMetrics().defaultRuleThickness,o=ye.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:t},{type:"kern",size:3*r},{type:"elem",elem:a},{type:"kern",size:r}]},n);return ye.makeSpan(["mord","overline"],[o],n)},mathmlBuilder(e,n){var t=new tn.MathNode("mo",[new tn.TextNode("\u203E")]);t.setAttribute("stretchy","true");var a=new tn.MathNode("mover",[Ur(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:pi(a)}},htmlBuilder:(e,n)=>{var t=Zi(e.body,n.withPhantom(),!1);return ye.makeFragment(t)},mathmlBuilder:(e,n)=>{var t=jc(e.body,n);return new tn.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=ye.makeSpan([],[er(e.body,n.withPhantom())]);if(t.height=0,t.depth=0,t.children)for(var a=0;a{var t=jc(pi(e.body),n),a=new tn.MathNode("mphantom",t),r=new tn.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=ye.makeSpan(["inner"],[er(e.body,n.withPhantom())]),a=ye.makeSpan(["fix"],[]);return ye.makeSpan(["mord","rlap"],[t,a],n)},mathmlBuilder:(e,n)=>{var t=jc(pi(e.body),n),a=new tn.MathNode("mphantom",t),r=new tn.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=Ra(n[0],"size").value,r=n[1];return{type:"raisebox",mode:t.mode,dy:a,body:r}},htmlBuilder(e,n){var t=er(e.body,n),a=jo(e.dy,n);return ye.makeVList({positionType:"shift",positionData:-a,children:[{type:"elem",elem:t}]},n)},mathmlBuilder(e,n){var t=new tn.MathNode("mpadded",[Ur(e.body,n)]),a=e.dy.number+e.dy.unit;return t.setAttribute("voffset",a),t}});Wn({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:n}=e;return{type:"internal",mode:n.mode}}});Wn({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(e,n,t){var{parser:a}=e,r=t[0],o=Ra(n[0],"size"),i=Ra(n[1],"size");return{type:"rule",mode:a.mode,shift:r&&Ra(r,"size").value,width:o.value,height:i.value}},htmlBuilder(e,n){var t=ye.makeSpan(["mord","rule"],[],n),a=jo(e.width,n),r=jo(e.height,n),o=e.shift?jo(e.shift,n):0;return t.style.borderRightWidth=Mn(a),t.style.borderTopWidth=Mn(r),t.style.bottom=Mn(o),t.width=a,t.height=r+o,t.depth=-o,t.maxFontSize=r*1.125*n.sizeMultiplier,t},mathmlBuilder(e,n){var t=jo(e.width,n),a=jo(e.height,n),r=e.shift?jo(e.shift,n):0,o=n.color&&n.getColor()||"black",i=new tn.MathNode("mspace");i.setAttribute("mathbackground",o),i.setAttribute("width",Mn(t)),i.setAttribute("height",Mn(a));var u=new tn.MathNode("mpadded",[i]);return r>=0?u.setAttribute("height",Mn(r)):(u.setAttribute("height",Mn(r)),u.setAttribute("depth",Mn(-r))),u.setAttribute("voffset",Mn(r)),u}});function mxe(e,n,t){for(var a=Zi(e,n,!1),r=n.sizeMultiplier/t.sizeMultiplier,o=0;o{var t=n.havingSize(e.size);return mxe(e.body,t,n)};Wn({type:"sizing",names:dxe,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:dxe.indexOf(a)+1,body:o}},htmlBuilder:x3n,mathmlBuilder:(e,n)=>{var t=n.havingSize(e.size),a=jc(e.body,t),r=new tn.MathNode("mstyle",a);return r.setAttribute("mathsize",Mn(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]&&Ra(t[0],"ordgroup");if(i)for(var u="",l=0;l{var t=ye.makeSpan([],[er(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 tn.MathNode("mpadded",[Ur(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=er(e.body,n.havingCrampedStyle());t.height===0&&(t.height=n.fontMetrics().xHeight),t=ye.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=Mn(s);var p=ye.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 d=n.havingStyle(Ot.SCRIPTSCRIPT),y=er(e.index,d,n),h=.6*(p.height-p.depth),g=ye.makeVList({positionType:"shift",positionData:-h,children:[{type:"elem",elem:y}]},n),S=ye.makeSpan(["root"],[g]);return ye.makeSpan(["mord","sqrt"],[S,p],n)}else return ye.makeSpan(["mord","sqrt"],[p],n)},mathmlBuilder(e,n){var{body:t,index:a}=e;return a?new tn.MathNode("mroot",[Ur(t,n),Ur(a,n)]):new tn.MathNode("msqrt",[Ur(t,n)])}});var _xe={display:Ot.DISPLAY,text:Ot.TEXT,script:Ot.SCRIPT,scriptscript:Ot.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=_xe[e.style],a=n.havingStyle(t).withFont("");return mxe(e.body,a,n)},mathmlBuilder(e,n){var t=_xe[e.style],a=n.havingStyle(t),r=jc(e.body,a),o=new tn.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 L3n=function(n,t){var a=n.base;if(a)if(a.type==="op"){var r=a.limits&&(t.style.size===Ot.DISPLAY.size||a.alwaysHandleSupSub);return r?tS:null}else if(a.type==="operatorname"){var o=a.alwaysHandleSupSub&&(t.style.size===Ot.DISPLAY.size||a.limits);return o?pxe:null}else{if(a.type==="accent")return Gt.isCharacterBox(a.base)?sV:null;if(a.type==="horizBrace"){var i=!n.sub;return i===a.isOver?cxe:null}else return null}else return null};ky({type:"supsub",htmlBuilder(e,n){var t=L3n(e,n);if(t)return t(e,n);var{base:a,sup:r,sub:o}=e,i=er(a,n),u,l,c=n.fontMetrics(),s=0,f=0,v=a&&Gt.isCharacterBox(a);if(r){var p=n.havingStyle(n.style.sup());u=er(r,p,n),v||(s=i.height-p.fontMetrics().supDrop*p.sizeMultiplier/n.sizeMultiplier)}if(o){var d=n.havingStyle(n.style.sub());l=er(o,d,n),v||(f=i.depth+d.fontMetrics().subDrop*d.sizeMultiplier/n.sizeMultiplier)}var y;n.style===Ot.DISPLAY?y=c.sup1:n.style.cramped?y=c.sup3:y=c.sup2;var h=n.sizeMultiplier,g=Mn(.5/c.ptPerEm/h),S=null;if(l){var M=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(i instanceof Fs||M)&&(S=Mn(-i.italic))}var P;if(u&&l){s=Math.max(s,y,u.depth+.25*c.xHeight),f=Math.max(f,c.sub2);var O=c.defaultRuleThickness,T=4*O;if(s-u.depth-(l.height-f)0&&(s+=k,f-=k)}var K=[{type:"elem",elem:l,shift:f,marginRight:g,marginLeft:S},{type:"elem",elem:u,shift:-s,marginRight:g}];P=ye.makeVList({positionType:"individualShift",children:K},n)}else if(l){f=Math.max(f,c.sub1,l.height-.8*c.xHeight);var oe=[{type:"elem",elem:l,marginLeft:S,marginRight:g}];P=ye.makeVList({positionType:"shift",positionData:f,children:oe},n)}else if(u)s=Math.max(s,y,u.depth+.25*c.xHeight),P=ye.makeVList({positionType:"shift",positionData:-s,children:[{type:"elem",elem:u,marginRight:g}]},n);else throw new Error("supsub must have either sup or sub.");var Te=rV(i,"right")||"mord";return ye.makeSpan([Te],[i,ye.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=[Ur(e.base,n)];e.sub&&o.push(Ur(e.sub,n)),e.sup&&o.push(Ur(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===Ot.DISPLAY||c&&c.type==="operatorname"&&c.alwaysHandleSupSub&&(n.style===Ot.DISPLAY||c.limits)?i="munderover":i="msubsup"}else{var l=e.base;l&&l.type==="op"&&l.limits&&(n.style===Ot.DISPLAY||l.alwaysHandleSupSub)||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(l.limits||n.style===Ot.DISPLAY)?i="munder":i="msub"}else{var u=e.base;u&&u.type==="op"&&u.limits&&(n.style===Ot.DISPLAY||u.alwaysHandleSupSub)||u&&u.type==="operatorname"&&u.alwaysHandleSupSub&&(u.limits||n.style===Ot.DISPLAY)?i="mover":i="msup"}return new tn.MathNode(i,o)}});ky({type:"atom",htmlBuilder(e,n){return ye.mathsym(e.text,e.mode,n,["m"+e.family])},mathmlBuilder(e,n){var t=new tn.MathNode("mo",[xf(e.text,e.mode)]);if(e.family==="bin"){var a=uV(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 hxe={mi:"italic",mn:"normal",mtext:"normal"};ky({type:"mathord",htmlBuilder(e,n){return ye.makeOrd(e,n,"mathord")},mathmlBuilder(e,n){var t=new tn.MathNode("mi",[xf(e.text,e.mode,n)]),a=uV(e,n)||"italic";return a!==hxe[t.type]&&t.setAttribute("mathvariant",a),t}});ky({type:"textord",htmlBuilder(e,n){return ye.makeOrd(e,n,"textord")},mathmlBuilder(e,n){var t=xf(e.text,e.mode,n),a=uV(e,n)||"normal",r;return e.mode==="text"?r=new tn.MathNode("mtext",[t]):/[0-9]/.test(e.text)?r=new tn.MathNode("mn",[t]):e.text==="\\prime"?r=new tn.MathNode("mo",[t]):r=new tn.MathNode("mi",[t]),a!==hxe[r.type]&&r.setAttribute("mathvariant",a),r}});var IV={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},TV={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};ky({type:"spacing",htmlBuilder(e,n){if(TV.hasOwnProperty(e.text)){var t=TV[e.text].className||"";if(e.mode==="text"){var a=ye.makeOrd(e,n,"textord");return a.classes.push(t),a}else return ye.makeSpan(["mspace",t],[ye.mathsym(e.text,e.mode,n)],n)}else{if(IV.hasOwnProperty(e.text))return ye.makeSpan(["mspace",IV[e.text]],[],n);throw new ln('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,n){var t;if(TV.hasOwnProperty(e.text))t=new tn.MathNode("mtext",[new tn.TextNode("\xA0")]);else{if(IV.hasOwnProperty(e.text))return new tn.MathNode("mspace");throw new ln('Unknown type of space "'+e.text+'"')}return t}});var gxe=()=>{var e=new tn.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};ky({type:"tag",mathmlBuilder(e,n){var t=new tn.MathNode("mtable",[new tn.MathNode("mtr",[gxe(),new tn.MathNode("mtd",[Oh(e.body,n)]),gxe(),new tn.MathNode("mtd",[Oh(e.tag,n)])])]);return t.setAttribute("width","100%"),t}});var Dxe={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},yxe={"\\textbf":"textbf","\\textmd":"textmd"},j3n={"\\textit":"textit","\\textup":"textup"},bxe=(e,n)=>{var t=e.font;if(t){if(Dxe[t])return n.withTextFontFamily(Dxe[t]);if(yxe[t])return n.withTextFontWeight(yxe[t]);if(t==="\\emph")return n.fontShape==="textit"?n.withTextFontShape("textup"):n.withTextFontShape("textit")}else return n;return n.withTextFontShape(j3n[t])};Wn({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,n){var{parser:t,funcName:a}=e,r=n[0];return{type:"text",mode:t.mode,body:pi(r),font:a}},htmlBuilder(e,n){var t=bxe(e,n),a=Zi(e.body,t,!0);return ye.makeSpan(["mord","text"],a,t)},mathmlBuilder(e,n){var t=bxe(e,n);return Oh(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=er(e.body,n),a=ye.makeLineSpan("underline-line",n),r=n.fontMetrics().defaultRuleThickness,o=ye.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 ye.makeSpan(["mord","underline"],[o],n)},mathmlBuilder(e,n){var t=new tn.MathNode("mo",[new tn.TextNode("\u203E")]);t.setAttribute("stretchy","true");var a=new tn.MathNode("munder",[Ur(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=er(e.body,n),a=n.fontMetrics().axisHeight,r=.5*(t.height-a-(t.depth+a));return ye.makeVList({positionType:"shift",positionData:r,children:[{type:"elem",elem:t}]},n)},mathmlBuilder(e,n){return new tn.MathNode("mpadded",[Ur(e.body,n)],["vcenter"])}});Wn({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,n,t){throw new ln("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,n){for(var t=Rxe(e),a=[],r=n.havingStyle(n.style.text()),o=0;oe.body.replace(/ /g,e.star?"\u2423":"\xA0"),Uh=EAe,wxe=`[ \r ]`,N3n="\\\\[a-zA-Z@]+",P3n="\\\\[^\uD800-\uDFFF]",O3n="("+N3n+")"+wxe+"*",k3n=`\\\\( |[ \r ]+ ?)[ \r ]*`,FV="[\u0300-\u036F]",U3n=new RegExp(FV+"+$"),H3n="("+wxe+"+)|"+(k3n+"|")+"([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(FV+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(FV+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+O3n)+("|"+P3n+")"),MV=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(H3n,"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 Ts("EOF",new Ac(this,t,t));var a=this.tokenRegex.exec(n);if(a===null||a.index!==t)throw new ln("Unexpected character: '"+n[t]+"'",new Ts(n[t],new Ac(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 Ts(r,new Ac(this,t,this.tokenRegex.lastIndex))}},Sxe=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 ln("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}},B3n=KAe;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 Exe={"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 ln("\\char` missing argument");a=n.text.charCodeAt(0)}else t=10;if(t){if(a=Exe[n.text],a==null||a>=t)throw new ln("Invalid base-"+t+" digit "+n.text);for(var r;(r=Exe[e.future().text])!=null&&r{var r=e.consumeArg().tokens;if(r.length!==1)throw new ln("\\newcommand's first argument must be a macro name");var o=r[0].text,i=e.isDefined(o);if(i&&!n)throw new ln("\\newcommand{"+o+"} attempting to redefine "+(o+"; use \\renewcommand"));if(!i&&!t)throw new ln("\\renewcommand{"+o+"} when command "+o+" does not yet exist; use \\newcommand");var u=0;if(r=e.consumeArg().tokens,r.length===1&&r[0].text==="["){for(var l="",c=e.expandNextToken();c.text!=="]"&&c.text!=="EOF";)l+=c.text,c=e.expandNextToken();if(!l.match(/^\s*[0-9]+\s*$/))throw new ln("Invalid number of arguments: "+l);u=parseInt(l),r=e.consumeArg().tokens}return i&&a||e.macros.set(o,{tokens:r,numArgs:u}),""};N("\\newcommand",e=>GV(e,!1,!0,!1));N("\\renewcommand",e=>GV(e,!0,!1,!1));N("\\providecommand",e=>GV(e,!0,!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),Uh[t],Vr.math[t],Vr.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","{\\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\\;");N("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}");N("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var Cxe={",":"\\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 Cxe?n=Cxe[t]:(t.slice(0,4)==="\\not"||t in Vr.math&&Gt.contains(["bin","rel"],Vr.math[t].group))&&(n="\\dotsb"),n});var AV={")":!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 AV?"\\ldots\\,":"\\ldots"});N("\\dotsc",function(e){var n=e.future().text;return n in AV&&n!==","?"\\ldots\\,":"\\ldots"});N("\\cdots",function(e){var n=e.future().text;return n in AV?"\\@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 ln("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 Ixe=Mn(mp["Main-Regular"]["T".charCodeAt(0)][1]-.7*mp["Main-Regular"]["A".charCodeAt(0)][1]);N("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Ixe+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");N("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Ixe+"}{\\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 Txe=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 p=f;if(!f&&r.length){var d=v.future();d.text==="|"&&(v.popToken(),p=!0)}return{tokens:p?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",Txe(!1));N("\\bra@set",Txe(!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 Fxe={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},Mxe=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 Sxe(B3n,t.macros),this.mode=a,this.stack=[]}feed(n){this.lexer=new MV(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 Ts("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 ln("Extra }",o)}else if(o.text==="EOF")throw new ln("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 ln("The length of delimiters doesn't match the number of args!");for(var a=t[0],r=0;rthis.settings.maxExpand)throw new ln("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 ln("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 ln("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 ln("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 Ts(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 MV(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)||Uh.hasOwnProperty(n)||Vr.math.hasOwnProperty(n)||Vr.text.hasOwnProperty(n)||Fxe.hasOwnProperty(n)}isExpandable(n){var t=this.macros.get(n);return t!=null?typeof t=="string"||typeof t=="function"||!t.unexpandable:Uh.hasOwnProperty(n)&&!Uh[n].primitive}},Gxe=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,e8=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"}),xV={"\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"}},Axe={\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"},wM=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 Mxe(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 ln("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 Ts("}")),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(wM.endOfExpression.indexOf(r.text)!==-1||t&&r.text===t||n&&Uh[r.text]&&Uh[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=Vr[this.mode][t].group,l=Ac.range(n),c;if(x4n.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&&(iAe(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:Ac.range(n),text:t};else return null;if(this.consume(),o)for(var f=0;f":""))+")"})}return v;function v(){let p=Nxe,d,y,h;if((!n||o(l,c,s[s.length-1]||void 0))&&(p=K3n(t(l,s)),p[0]===PV))return p;if("children"in l&&l.children){let g=l;if(g.children&&p[0]!==a8)for(y=(a?g.children.length:-1)+i,h=s.concat(g);y>-1&&y0&&!t&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),t}var fAn={tokenize:gAn,partial:!0};function JV(){return{document:{[91]:{tokenize:dAn,continuation:{tokenize:_An},exit:hAn}},text:{[91]:{tokenize:mAn},[93]:{add:"after",tokenize:vAn,resolveTo:pAn}}}}function vAn(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=ml(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 pAn(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 mAn(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 p;return v===null||v===91||o++>999?t(v):v===93?i?(e.exit("chunkString"),p=e.exit("gfmFootnoteCallString"),r.includes(ml(a.sliceSerialize(p)))?f(v):t(v)):t(v):(e.consume(v),ur(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 dAn(e,n,t){let a=this,r=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]),o,i=0,u;return l;function l(y){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(y),e.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(y){return y===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(y),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),s):t(y)}function s(y){let h;return y===null||y===91||i>999?t(y):y===93?u?(h=e.exit("gfmFootnoteDefinitionLabelString"),o=ml(a.sliceSerialize(h)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(y),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p):t(y):kn(y)?(e.enter("lineEnding"),e.consume(y),e.exit("lineEnding"),i++,s):(e.enter("chunkString").contentType="string",f(y))}function f(y){return y===null||kn(y)||y===91||y===93||i>999?(e.exit("chunkString"),s(y)):(ur(y)||(u=!0),i++,e.consume(y),y===92?v:f)}function v(y){return y===91||y===92||y===93?(e.consume(y),i++,f):f(y)}function p(y){return y===58?(e.enter("definitionMarker"),e.consume(y),e.exit("definitionMarker"),jt(e,d,"gfmFootnoteDefinitionWhitespace")):t(y)}function d(y){return r.includes(o)||r.push(o),n(y)}}function _An(e,n,t){return e.check(vp,n,e.attempt(fAn,n,t))}function hAn(e){e.exit("gfmFootnoteDefinition")}function gAn(e,n,t){let a=this;return jt(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 qV(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(p):(o.consume(p),s++,v);if(s<2&&!n)return u(p);let y=o.exit("strikethroughSequenceTemporary"),h=Ww(p);return y._open=!h||h===2&&Boolean(d),y._close=!d||d===2&&Boolean(h),i(p)}}}var WV={flow:{null:{tokenize:yAn,resolve:DAn}}},zxe={tokenize:bAn,partial:!0};function DAn(e,n){let t=-1,a,r,o,i,u,l,c;for(;++t=4?on(z):(a._gfmTableDynamicInterruptHack=!0,ue.check(a.parser.constructs.flow,function(Y){return a._gfmTableDynamicInterruptHack=!1,on(Y)},function(Y){return a._gfmTableDynamicInterruptHack=!1,Tn(Y)})(z))}}}function bAn(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||ur(i)?n(i):t(i)}}var RAn={tokenize:wAn},$V={text:{[91]:RAn}};function wAn(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 ur(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:SAn},n,t)):t(u)}}function SAn(e,n,t){let a=this;return jt(e,r,"whitespace");function r(o){let i=a.events[a.events.length-1];return(i&&i[1].type==="whitespace"||kn(o))&&o!==null?n(o):t(o)}}function Vxe(e){return H6([kV,JV(),qV(e),WV,$V])}function zV(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 VV(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var EAn={}.hasOwnProperty,QV=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=vM(r.ignore||[]),u=CAn(o),l=-1;for(;++l0?{type:"text",value:k}:void 0),k!==!1&&(h!==P&&M.push({type:"text",value:f.value.slice(h,P)}),Array.isArray(k)?M.push(...k):k&&M.push(k),h=P+O[0].length,S=!0),!d.global)break;O=d.exec(f.value)}return S?(he}var YV="phrasing",XV=["autolink","link","image","label"],ZV={transforms:[AAn],enter:{literalAutolink:IAn,literalAutolinkEmail:eQ,literalAutolinkHttp:eQ,literalAutolinkWww:eQ},exit:{literalAutolink:GAn,literalAutolinkEmail:MAn,literalAutolinkHttp:TAn,literalAutolinkWww:FAn}},KV={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:YV,notInConstruct:XV},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:YV,notInConstruct:XV},{character:":",before:"[ps]",after:"\\/",inConstruct:YV,notInConstruct:XV}]};function IAn(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function eQ(e){this.config.enter.autolinkProtocol.call(this,e)}function TAn(e){this.config.exit.autolinkProtocol.call(this,e)}function FAn(e){this.config.exit.data.call(this,e);let n=this.stack[this.stack.length-1];n.url="http://"+this.sliceSerialize(e)}function MAn(e){this.config.exit.autolinkEmail.call(this,e)}function GAn(e){this.exit(e)}function AAn(e){QV(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,xAn],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,LAn]],{ignore:["link","linkReference"]})}function xAn(e,n,t,a,r){let o="";if(!Xxe(r)||(/^w/i.test(n)&&(t=n+t,n="",o="http://"),!jAn(t)))return!1;let i=NAn(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 LAn(e,n,t,a){return!Xxe(a,!0)||/[-\d_]$/.test(t)?!1:{type:"link",title:null,url:"mailto:"+n+"@"+t,children:[{type:"text",value:n+"@"+t}]}}function jAn(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 NAn(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=zV(e,"("),o=zV(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 Xxe(e,n){let t=e.input.charCodeAt(e.index-1);return(e.index===0||My(t)||Gy(t))&&(!n||t!==47)}function nQ(e){return e.label||!e.identifier?e.label||"":Z6(e.identifier)}function Zxe(e,n,t){let a=n.indexStack,r=e.children||[],o=n.createTracker(t),i=[],u=-1;for(a.push(-1);++u `}return` `}var OAn=/\r?\n|\r/g;function Kxe(e,n){let t=[],a=0,r=0,o;for(;o=OAn.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 o8(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 e7e(e,n){return n7e(e,n.inConstruct,!0)&&!n7e(e,n.notInConstruct,!1)}function n7e(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(Kxe(Zxe(e,t,r.current()),YAn)),i(),o}function YAn(e,n,t){return n===0?e:(t?"":" ")+e}function i8(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,di(Ha({},l.current()),{before:u,after:s})))),u=o[o.length-1].slice(-1)}return a.pop(),o.join("")}var XAn=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];r7e.peek=exn;var oQ={canContainEols:["delete"],enter:{strikethrough:ZAn},exit:{strikethrough:KAn}},iQ={unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:XAn}],handlers:{delete:r7e}};function ZAn(e){this.enter({type:"delete",children:[]},e)}function KAn(e){this.exit(e)}function r7e(e,n,t,a){let r=Hy(a),o=t.enter("strikethrough"),i=r.move("~~");return i+=i8(e,t,di(Ha({},r.current()),{before:i,after:"~"})),i+=r.move("~~"),o(),i}function exn(){return"~"}uQ.peek=nxn;function uQ(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);++hu[h])&&(u[h]=S)}d.push(g)}o[c]=d,i[c]=y}let s=-1;if(typeof t=="object"&&"length"in t)for(;++su[s]&&(u[s]=g),v[s]=g),f[s]=S}o.splice(1,0,f),i.splice(1,0,v),c=-1;let p=[];for(;++ct==="none"?null:t),children:[]},e),this.setData("inTable",!0)}function oxn(e){this.exit(e),this.setData("inTable")}function ixn(e){this.enter({type:"tableRow",children:[]},e)}function cQ(e){this.exit(e)}function u7e(e){this.enter({type:"tableCell",children:[]},e)}function uxn(e){let n=this.resume();this.getData("inTable")&&(n=n.replace(/\\([\\|])/g,lxn));let t=this.stack[this.stack.length-1];t.value=n,this.exit(e)}function lxn(e,n){return n==="|"?n:e}function sQ(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(p,d,y,h){return c(s(p,y,h),p.align)}function u(p,d,y,h){let g=f(p,y,h),S=c([g]);return S.slice(0,S.indexOf(` `))}function l(p,d,y,h){let g=y.enter("tableCell"),S=y.enter("phrasing"),M=i8(p,y,di(Ha({},h),{before:o,after:o}));return S(),g(),M}function c(p,d){return o7e(p,{align:d,alignDelimiters:a,padding:t,stringLength:r})}function s(p,d,y){let h=p.children,g=-1,S=[],M=d.enter("table");for(;++g-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,p){return v?(p?"":" ".repeat(i))+f:(p?o:o+" ".repeat(i-o.length))+f}}var fQ={exit:{taskListCheckValueChecked:f7e,taskListCheckValueUnchecked:f7e,paragraph:cxn}},vQ={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:sxn}};function f7e(e){let n=this.stack[this.stack.length-2];n.checked=e.type==="taskListCheckValueChecked"}function cxn(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 dQ(){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];rS(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];rS(s.type==="math"),this.exit(l),s.value=c;let f=s.data.hChildren[0];rS(f.type==="element"),rS(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];rS(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 _Q(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(v7e(c,"$")+1,2)),v=u.enter("mathFlow"),p=s.move(f);if(o.meta){let d=u.enter("mathFlowMeta");p+=s.move(u.safe(o.meta,Ha({after:` `,before:p,encode:["$"]},s.current()))),d()}return p+=s.move(` `),c&&(p+=s.move(c+` `)),p+=s.move(f),v(),p}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 SM(e,n,t,a){let r=a?a-1:Number.POSITIVE_INFINITY,o=0;return i;function i(l){return hQ(l)?(e.enter(t),u(l)):n(l)}function u(l){return hQ(l)&&o++gt.createElement("table",{className:"table table-bordered table-sm",children:e.children}),h7e=[l8,{singleDollarTextMath:!1}],g7e=[r8,{throwOnError:!1}];var D7e=e=>{try{return wL(e)}catch{return e.fallback}};Ht();var y7e=class extends gt.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)}},b7e=y7e;var _xn=sc(),hxn=q(ta);var gxn=function(){return function(){return _xn(b7e)}},Dxn=gxn()(),R7e=function(e){return Dxn({render:function(n){return e({hasError:yt(te(n.error))})},componentDidCatch:function(n,t){return fo(Co)("Error within error boundary")({error:n,componentStack:t.componentStack})(function(a){return hxn(Re)})()}})};var yxn=sc(),bxn=qe(da),Rxn=function(e){return function(n){var t=eb(e);return R7e(function(a){return a.hasError?t:yxn(D7e)({children:e,rehypePlugins:bxn([g7e])(n),remarkPlugins:[u8,h7e],components:{table:_7e},fallback:t})})}},w7e=function(e){return Rxn(e)([])};var wxn=ve(Pt(sa)),DQ=J(ae),Sxn=J(W),Exn=jn(ae)()(),Cxn=xn(pt),Ixn=rn(ae),yQ=function(e){return Eo(Dx(e.key)("false"))(function(n){return function(t){return sn(wxn(n)(new _("false")))(DQ("alert rounded-0 bg-light")(Sxn("row")([DQ("col")(e.label),DQ("col-auto")(Exn("btn btn-sm p-0")(sr("Dismiss banner"))({onClick:Cxn(t)("true")})(Ixn("fe fe-x")(cn)))])))}})};var c8=J(ae),S7e=Sa(Qa(qt)),Txn=aa(Ae)(ft),s8=rn(L),Fxn=n4(L),Mxn=op(),E7e=ve(Pt(I$)),Gxn=jn(ae)()(),Axn=pa(Sr),xxn=q(ta),EM=J(W),Lxn=j(me),jxn=Uf(),Nxn=Ei(ae)()(),Pxn=la(L)()(),C7e=Rv(),Oxn=ee(me),kxn=Kn(L)()(),bQ=function(e){var n=e.chatMessage(ae),t=e.chatMessage(W),a=n(e.chatbotAvatar),r=function(){var c=function(){var s=c8("my-auto t--ai-chatbot-ai-welcome-message");return function(f){return a(s(f))}}();return function(s){if(S7e(bi)(e.bannedReason))return c(X(Txn(["The service is not available for the following reason: ",e.bannedReason,". Please try again later or email ",CU," for more information."])));if(s instanceof E)return cn;if(s instanceof _)return c(s.value0);throw new Error("Failed pattern match at Vinai.ChatbotPage.Conversation (line 174, column 26 - line 183, column 24): "+[s.constructor.name])}}(),o=a(c8("my-auto")(A6)),i=function(c){return a(c8("my-auto")(function(){if(c instanceof E)return s8("text-danger")("Something went wrong. Try resending your message.");if(c instanceof _&&xGe(c.value0))return Fxn("text-secondary")(A$(c.value0)+" Try resending your message.");if(c instanceof _)return s8("text-danger")(A$(c.value0)+" Try resending your message.");throw new Error("Failed pattern match at Vinai.ChatbotPage.Conversation (line 190, column 11 - line 199, column 79): "+[c.constructor.name])}()))},u=Mxn({source:function(){return e.user instanceof _&&e.user.value0.avatarUrl instanceof _?new Uu({url:e.user.value0.avatarUrl.value0}):e.user instanceof _&&e.user.value0.initials instanceof _?new iy({initials:e.user.value0.initials.value0,backgroundColorClass:E.value,textColorClass:E.value}):new Uu({url:w_("/img/smiley-grey.svg")})}(),size:fw.value}),l=function(c){var s=function(p){return function(d){return p instanceof Tf&&E7e(d)(new _(p))||p instanceof Cs&&E7e(d)(new _(p))?"text-primary bg-soft-primary":"text-gray-700"}},f=function(p){return function(d){return function(y){return function(h){return Gxn("btn btn-link p-2 large d-flex align-items-center mr-2 "+s(p)(d))(sr(function(){if(p instanceof Tf)return"Helpful";if(p instanceof Cs)return"Not helpful";throw new Error("Failed pattern match at Vinai.ChatbotPage.Conversation (line 142, column 27 - line 144, column 44): "+[p.constructor.name])}()))({onClick:Axn(function(){if(c.id instanceof E)return xxn(Re);if(c.id instanceof _&&p instanceof Tf&&d instanceof _&&d.value0 instanceof Tf)return function(){return y(E.value)(),h({messageId:c.id.value0,reaction:E.value})()};if(c.id instanceof _&&p instanceof Cs&&d instanceof _&&d.value0 instanceof Cs)return function(){return y(E.value)(),h({messageId:c.id.value0,reaction:E.value})()};if(c.id instanceof _&&p instanceof Tf)return function(){return y(new _(Tf.value))(),h({messageId:c.id.value0,reaction:new _(Tf.value)})()};if(c.id instanceof _&&p instanceof Cs)return function(){return y(new _(Cs.value))(),h({messageId:c.id.value0,reaction:new _(Cs.value)})()};throw new Error("Failed pattern match at Vinai.ChatbotPage.Conversation (line 147, column 17 - line 161, column 76): "+[c.id.constructor.name,p.constructor.name,d.constructor.name])}())})(s8("material-symbol")(function(){if(p instanceof Tf)return"thumb_up";if(p instanceof Cs)return"thumb_down";throw new Error("Failed pattern match at Vinai.ChatbotPage.Conversation (line 164, column 15 - line 166, column 43): "+[p.constructor.name])}()))}}}};if(c.sender instanceof Ty)return n(u)(EM("t--ai-chatbot-user-message")(Pp(t4(""))(Lxn(s8(""))(yi(jxn(` `))(c.body)))));if(c.sender instanceof aM){var v=Nxn({placement:Dge,overlay:X(LEe(c))})(e.chatbotAvatar);return t(v)([c8("my-auto t--ai-chatbot-ai-message "+("t--ai-chatbot-ai-message-"+be("")(c.id)))(w7e(c.body)),We(e.onReaction)(function(p){return Eo(ra(E.value))(function(d){return function(y){return EM("d-flex mt-3")([f(Tf.value)(d)(y)(p),f(Cs.value)(d)(y)(p)])}})})])}throw new Error("Failed pattern match at Vinai.ChatbotPage.Conversation (line 112, column 7 - line 136, column 36): "+[c.sender.constructor.name])};return EM("flex-grow-1 d-flex flex-column overflow-y-auto p-0")([sn(e.showAddStudentProfileBanner)(yQ({key:"ai-no-profile-banner-dismissed",label:le([X("For more personalized responses "),Pxn("")(ke)({href:e.chancingWizardPath})("add a student profile"),X(".")])})),sn(e.showLogInBanner)(yQ({key:"ai-anonymous-banner-dismissed",label:le([X("For more personalized responses "),C7e({text:"log in",className:"btn btn-link p-0 align-baseline"}),X(" or "),C7e({text:"sign up",className:"btn btn-link p-0 align-baseline",auth0ActiveTab:bv}),X(".")])})),EM("flex-grow-1 d-flex flex-column")([EM("flex-grow-1 px-3")([r(e.welcomeMessage),function(){return e.chatbotState instanceof _&&S7e(gi)(e.chatbotState.value0.messages)?le(Oxn(e.chatbotState.value0.messages)(l)):cn}(),function(){if(e.messageSendingState instanceof od)return o;if(e.messageSendingState instanceof Is)return l(U$(e.messageSendingState.value0));if(e.messageSendingState instanceof rd)return cn;if(e.messageSendingState instanceof Wv)return cn;if(e.messageSendingState instanceof fp)return i(e.messageSendingState.value0);throw new Error("Failed pattern match at Vinai.ChatbotPage.Conversation (line 93, column 9 - line 104, column 45): "+[e.messageSendingState.constructor.name])}()]),ga(e.footer),kxn("")({id:"chat-anchor",style:mn({overflowAnchor:"auto",height:"1px"})})("")])])};function f8(e){return function(){document.querySelector(e).scrollIntoView()}}var RQ=function(e){return Ue(Wv.value)(function(n){return n.sendingState})(e)};var Qxn=j(B),Yxn=E$(),Xxn=Sa(Qa(qt)),Zxn=J(W),wQ=J(ae),Kxn=Kn(W)()(),v8=q(_t),e7n=Z(Wt),I7e=Pi(Yt),n7n=qa(I7e),T7e=Fr(I7e),F7e=Un(An)(Wt),t7n=Qr(_t),a7n=qr(Xn),r7n=q(Xt),o7n=Z(Ut),M7e=Hn(Xn),i7n=j(Yt),CM=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),G7e=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}(),p8=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),u7n=function(e){return function(n){return function(t){return bQ({bannedReason:e.bannedReason,chancingWizardPath:"",chatbotState:n.chatbot,footer:E.value,messageSendingState:RQ(n.chatbot),onReaction:E.value,showAddStudentProfileBanner:!1,showLogInBanner:!1,user:e.user,welcomeMessage:Qxn(X)(e.welcomeMessage),chatMessage:function(a){return t(a)},chatbotAvatar:e.chatbotAvatar})}}},l7n=function(e){return function(n){return function(t){return Yxn({placeholder:"Message\u2026",sendButtonStatus:function(){var a=Xxn(bi)(e.bannedReason);if(a)return Iy.value;var r=RQ(n.chatbot);if(r instanceof Wv)return Ih.value;if(r instanceof rd)return Th.value;if(r instanceof od)return Th.value;if(r instanceof Is)return Th.value;var o=function(i){if(r instanceof fp&&Fe)return Iy.value;throw new Error("Failed pattern match at Vinai.ChatbotWidget (line 150, column 1 - line 150, column 72): "+[r.constructor.name])};return r instanceof fp&&r.value0 instanceof E?Ih.value:o(!0)}()})(n.authorChatMessage)(function(a){return t(p8.create(a))})}}},c7n=function(e){return function(n){return function(t){var a=function(){return n.authorChatMessage.messageHeight instanceof _&&n.authorChatMessage.messageHeight.value0>40?"rounded-lg":"rounded-pill"}(),r=function(o){var i=J(o);return function(u){return function(l){return Zxn("d-flex justify-content-end mb-4")([wQ("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 Kxn("t--floating-chatbot pointer-events-none flex-grow-1 d-flex flex-column")({style:mn({position:"fixed",right:"0",bottom:"0",width:"400px",maxWidth:"100%",maxHeight:"75vh"})})([u7n(e)(n)(function(o){return r(o)}),wQ("pb-3 px-3 border-0")(wQ("d-flex w-100 border border-gray-500 m-0 p-2 bg-white shadow pointer-events-auto "+a)(l7n(e)(n)(t)))])}}},s7n=function(e){return function(n){return function(t){var a=function(r){if(t instanceof CM)return v8(n);if(t instanceof G7e)return e7n(n7n(CM.create)(B$({initialMessageBody:new _(t.value1),messages:[{sender:Ty.value,body:t.value1,sentAt:t.value0,id:E.value}],receiveChannelName:t.value2.pusherChannel,sendMessage:e.sendMessage(t.value2.conversationId)})))(function(o){return v8({authorChatMessage:n.authorChatMessage,chatbot:new _(o)})});if(t instanceof p8&&t.value0 instanceof et)return T7e(p8.create)(function(o){return{chatbot:n.chatbot,authorChatMessage:o}})(S$(n.authorChatMessage)(t.value0));if(t instanceof p8&&t.value0 instanceof zt)return F7e(t7n(bi(e.bannedReason))(a7n(function(){if(n.chatbot instanceof _)return r7n(new CM(new k6(t.value0.value0.value0)));if(n.chatbot instanceof E)return o7n(M7e(r_))(function(o){return i7n(G7e.create(o)(t.value0.value0.value0))(e.createConversation(Re))});throw new Error("Failed pattern match at Vinai.ChatbotWidget (line 95, column 9 - line 100, column 79): "+[n.chatbot.constructor.name])}())))(function(){return v8({chatbot:n.chatbot,authorChatMessage:L6})});throw new Error("Failed pattern match at Vinai.ChatbotWidget (line 59, column 1 - line 59, column 64): "+[t.constructor.name])};return t instanceof CM&&n.chatbot instanceof _?F7e(cr(M7e(f8("#chat-anchor"))))(function(){return T7e(CM.create)(function(r){return{authorChatMessage:n.authorChatMessage,chatbot:new _(r)}})(H$(n.chatbot.value0)(t.value0))}):a(!0)}}},f7n=function(){return{authorChatMessage:L6,chatbot:E.value}}(),A7e=function(e){return Vu("FloatingChatbot"+e)(function(n){return{init:v8(f7n),view:c7n(n),update:s7n(n)}})};var SQ=Z(Ge),v7n=q(Jn),x7e=ee(B),p7n=Un(An),m7n=Qr(ta),d7n=Hn(Bs),_7n=Mi(B),L7e=ct(Ge),h7n=J(W),j7e=J(ae),EQ=an(),m8=q(_t),N7e=Pi(Yt),CQ=Fr(N7e),g7n=p7n(Wt),D7n=qr(Xn),y7n=q(Xt),P7e=Z(Wt),IQ=qa(N7e),b7n=Hf(_t)(Ae),R7n=ve(Pt(zc)),TQ=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),d8=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),oS=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),FQ=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Bh=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),MQ=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),_8=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),GQ=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),O7e=function(e){return function(n){return function(t){return function(a){var r=SQ(n.recommendedSchools)(function(g){return v7n(I6({recommendedSchools:g,school:e.school,onViewSchool:e.onViewSchool}))}),o=a(new zt(new GQ(mU.value))),i=a(new zt(new Bh(new G_(va(e.school))))),u=function(g){return a(new zt(new Bh(new I_(va(e.school),g))))},l=function(){a(new zt(new Bh(new F_(va(e.school)))))();var S=x7e(SQ(Fo(e.schoolDb.schoolConnections))(tf(va(e.school))))(function(M){return M.schoolUsesAiRecruiter});return m7n(be(!1)(S))(d7n(rA(yGe(va(e.school)))))(),Re},c={school:e.school,schoolDb:e.schoolDb,onSwitchTab:function(g){return a(zt.create(_8.create(g)))},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?_7n(n.currentUser)(C6(c)({user:L7e(yD)(n.currentUser),featureFlags:n.featureFlags})):E.value}(),f=function(g){var S=L7e(Ku(n.configuration))(xF([s,r]));return h7n("row")([j7e("col"+function(){var M=yt(S);return M?" col-md-8":""}())(g),We(S)(j7e("col col-md-4 d-none d-md-block"))])},v=function(){var g=aA({chancingState:n.chancingState,featureFlags:n.featureFlags,currentUser:n.currentUser,configuration:n.configuration,school:e.school,schoolDb:e.schoolDb})(e.activeTab);return g?e.activeTab:ci.value}(),p=kMe({school:e.school,schoolDb:e.schoolDb,activeTab:v,configuration:n.configuration,showNav:!0,showConnectButton:n.showNetworkCard,onSwitchTab:function(g){return a(zt.create(_8.create(g)))},onListStatusChange:function(g){return a(zt.create(FQ.create(g)))},onSelectSchool:function(g){return a(zt.create(MQ.create(g)))},onInviteSchool:o,onAcceptInvitation:l,onIgnoreInvitation:i,onEdit:e.onEdit,vineBelowConnectionLimit:n.vineBelowConnectionLimit})(n),d=x7e(SQ(n.currentUser)(yD))(function(g){return{avatarUrl:g.avatarUrl,initials:g.initials}}),y="Hi! I'm Sage. Ask me anything about "+NCe(EQ(e.school).name),h=function(){if(v instanceof ci)return sGe(c)(n)(t.overview)(function(S){return a(et.create(oS.create(S)))});if(v instanceof tl)return We(rD(va(e.school))(e.schoolDb))(function(S){return f(EMe({school:e.school,schoolDb:e.schoolDb,contentModules:S,mapboxAccessToken:n.mapboxAccessToken,showLikeButton:yt(n.currentUser),randomSeed:n.randomSeed,onContentModuleInteraction:u,isUserHq:Ue(!1)(function(M){return M.isHq})(n.currentUser)})(t.forYou)(function(M){return a(et.create(d8.create(M)))}))});if(v instanceof al){var g=Fo(tb(va(e.school))(e.schoolDb));return f(lFe(e.school)(n)(g)(t.finances)(function(S){return a(et.create(TQ.create(S)))}))}if(v instanceof cu)return OTe(e.school)(n)({onSwitchTab:E.value,showViewChancingExplanationCTA:!1,schoolDb:e.schoolDb});if(v instanceof yc)return f($Me(e.schoolDb)(e.school));if(v instanceof bc)return f(hIe({school:e.school,onEdit:e.onEdit,props:n}));if(v instanceof Rc)return kTe(e.school)(n);throw new Error("Failed pattern match at SchoolDetails.SchoolDetails (line 174, column 12 - line 210, column 44): "+[v.constructor.name])}();return le([p,h,i_(n.showNetworkCard)(function(g){return pFe({mobileLayout:n.mobileLayout,school:e.school,schoolDb:e.schoolDb,onAcceptInvitation:l,onIgnoreInvitation:i})}),sn(n.featureFlags.app18667SageOnSdp)(A7e(EQ(e.school).name)({bannedReason:"",welcomeMessage:new _(y),user:d,createConversation:function(g){return DGe(EQ(e.school).id)},sendMessage:gGe(bGe),chatbotAvatar:pw}))])}}}},k7e=function(e){return function(n){return function(t){if(t instanceof zt)return m8(n);if(t instanceof et){if(t.value0 instanceof TQ)return CQ(function(a){return et.create(TQ.create(a))})(function(a){return{forYou:n.forYou,overview:n.overview,finances:a}})(iFe(n.finances)(t.value0.value0));if(t.value0 instanceof d8)return CQ(function(a){return et.create(d8.create(a))})(function(a){return{finances:n.finances,overview:n.overview,forYou:a}})(CMe(n.forYou)(t.value0.value0));if(t.value0 instanceof oS&&t.value0.value0 instanceof Cy&&t.value0.value0.value0 instanceof zt)return g7n(D7n(y7n(new zt(new Bh(t.value0.value0.value0.value0)))))(function(){return m8(n)});if(t.value0 instanceof oS)return CQ(function(a){return et.create(oS.create(a))})(function(a){return{finances:n.finances,forYou:n.forYou,overview:a}})(lGe(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])}}},U7e=function(e){return P7e(IQ(function(n){return et.create(oS.create(n))})(cGe(e)))(function(n){return P7e(IQ(function(t){return et.create(d8.create(t))})(IMe))(function(t){return m8({finances:uFe,forYou:t,overview:n})})})},H7e=function(e){return b7n(function(n){return n instanceof vk&&R7n(I0e(n.value0))(new _(va(e.school)))?IQ(function(t){return et.create(oS.create(Cy.create(t)))})(F2e(n.value0)):m8(Re)})};var w7n=_C(Bs)(),S7n=ne(Ni),B7e=function(e){var n=Hn(e);return function(t){return n(w7n("SDP: Viewed page")({tab:ZC(t.tab),school_name:t.school.name,school_id:S7n(t.school.id)}))}};var J7e=Z(Wt),q7e=Pi(Yt),AQ=qa(q7e),W7e=Un(An),IM=W7e(Wt),$7e=B7e(Xn),h8=an(),Dd=q(_t),E7n=VO(),g8=ee(B),xQ=Fr(q7e),C7n=W7e(Ut),I7n=Hn(Xn),z7e=Z(rr),V7e=qr(Xn),Q7e=q(Xt),T7n=Z(Ge),Y7e=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),LQ=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}(),iS=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),X7e=function(e){return function(n){return function(t){return function(a){return le([O7e({activeTab:t.activeTab,school:t.school,schoolDb:t.schoolDb,onEdit:e.onEdit,onViewSchool:E.value,vineBelowConnectionLimit:n.vineBelowConnectionLimit})(n)(t.page)(function(r){return a(Lf.create(r))}),We(t.modal)(function(r){return $ge(r.value0)(function(o){return a(iS.create(o))})})])}}}},Z7e=function(e){return function(n){return J7e(AQ(Lf.create)(U7e(e.school)))(function(t){return IM(cr($7e({tab:e.tab,school:h8(e.school),featureFlags:n.featureFlags})))(function(){return Dd({school:e.school,activeTab:e.tab,schoolDb:E7n({schools:new Dr(new _([e.school])),majors:e.majors,chances:Ue(Ta.value)($t.create)(g8(e.chances)(l4(va(e.school)))),contentModules:Ue([])(function(a){return[{schoolId:va(e.school),modules:a}]})(e.contentModules),financials:Ue(Ta.value)($t.create)(g8(e.financials)(l4(va(e.school)))),schoolConnections:be(XE)(g8(e.schoolConnection)(l4(va(e.school)))),schoolList:e.schoolList,schoolNotes:e.schoolNotes}),page:t,modal:E.value,vineBelowConnectionLimit:n.vineBelowConnectionLimit})})})}},F7n=function(e){return function(n){return xQ(LQ.create)(function(t){return{activeTab:e.activeTab,modal:e.modal,page:e.page,school:e.school,vineBelowConnectionLimit:e.vineBelowConnectionLimit,schoolDb:t}})(pk(n)(e.schoolDb))}},K7e=function(e){return function(n){var t=h8(n.school);return function(a){if(a instanceof Lf&&a.value0 instanceof zt&&a.value0.value0 instanceof Bh)return F7n(n)(a.value0.value0.value0);if(a instanceof Lf&&a.value0 instanceof zt&&a.value0.value0 instanceof _8)return IM(cr(C7n($7e({tab:a.value0.value0.value0,school:h8(n.school),featureFlags:e.featureFlags}))(function(){return I7n(z7e(z7e(To)(QE))(i4(xa(Tl))(t.name+" | CollegeVine")(J0(a.value0.value0.value0)(t.slug))))})))(function(){return Dd({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 zt&&a.value0.value0 instanceof FQ)return IM(V7e(function(){var o=new C_(t.id,a.value0.value0.value0,hC.value,nP(t.id)(n.schoolDb));return Q7e(new Lf(new zt(new Bh(o))))}()))(function(){return Dd(n)});if(a instanceof Lf&&a.value0 instanceof zt&&a.value0.value0 instanceof MQ)return Dd(n);if(a instanceof Lf&&a.value0 instanceof zt&&a.value0.value0 instanceof GQ)return Dd({activeTab:n.activeTab,page:n.page,school:n.school,schoolDb:n.schoolDb,vineBelowConnectionLimit:n.vineBelowConnectionLimit,modal:g8(T7n(e.currentUser)(yD))(function(o){return new Y7e(Vge({schoolName:function(i){return i.name}(h8(n.school)),profile:o,context:a.value0.value0.value0,vineBelowConnectionLimit:n.vineBelowConnectionLimit}))})});if(a instanceof Lf&&a.value0 instanceof et)return xQ(Lf.create)(function(o){return{activeTab:n.activeTab,modal:n.modal,school:n.school,schoolDb:n.schoolDb,vineBelowConnectionLimit:n.vineBelowConnectionLimit,page:o}})(k7e(n)(n.page)(a.value0));if(a instanceof LQ)return J7e(AQ(LQ.create)(X0e(n.schoolDb)(a.value0)))(function(o){return IM(AQ(Lf.create)(H7e(n)(o.events)))(function(){return Dd({activeTab:n.activeTab,modal:n.modal,page:n.page,vineBelowConnectionLimit:n.vineBelowConnectionLimit,school:be(n.school)(v4(t.id)(o.state)),schoolDb:o.state})})});if(a instanceof iS&&a.value0 instanceof zt&&a.value0.value0 instanceof EU)return IM(V7e(Q7e(new Lf(new zt(new Bh(new M_({schoolId:t.id,introMessage:a.value0.value0.value0.introMessage})))))))(function(){return Dd(n)});if(a instanceof iS&&a.value0 instanceof zt&&a.value0.value0 instanceof AI)return Dd({activeTab:n.activeTab,page:n.page,school:n.school,schoolDb:n.schoolDb,vineBelowConnectionLimit:n.vineBelowConnectionLimit,modal:E.value});var r=function(o){if(a instanceof iS&&a.value0 instanceof et&&Fe)return Dd(n);throw new Error("Failed pattern match at SchoolDetails.SchoolDetailsPage (line 84, column 1 - line 84, column 64): "+[a.constructor.name])};return a instanceof iS&&a.value0 instanceof et&&n.modal instanceof _?xQ(iS.create)(function(o){return{activeTab:n.activeTab,page:n.page,school:n.school,schoolDb:n.schoolDb,vineBelowConnectionLimit:n.vineBelowConnectionLimit,modal:new _(new Y7e(o))}})(zge(n.modal.value0.value0)(new et(a.value0.value0))):r(!0)}}};var na=Qn(),jQ=C({reflectSymbol:function(){return"all"}}),Oo=Pn(ie),mi=Pn(It),e5e=na(C({reflectSymbol:function(){return"academicThresholdStatus"}})(ie)(C({reflectSymbol:function(){return"applicationStrategy"}})(ie)(C({reflectSymbol:function(){return"classification"}})(Oo)(C({reflectSymbol:function(){return"courseRigorStrength"}})(Oo)(C({reflectSymbol:function(){return"ecStrength"}})(Oo)(C({reflectSymbol:function(){return"isRecommendedStrategy"}})($n)(C({reflectSymbol:function(){return"score"}})(mi)(C({reflectSymbol:function(){return"shouldApplyTestOptional"}})($n)(C({reflectSymbol:function(){return"specialCase"}})(Oo)(de)))))))))),NQ=C({reflectSymbol:function(){return"act"}}),PQ=C({reflectSymbol:function(){return"p25"}}),n5e=C({reflectSymbol:function(){return"p50"}}),OQ=C({reflectSymbol:function(){return"p75"}}),uS=na(PQ(mi)(n5e(mi)(OQ(mi)(de)))),kQ=C({reflectSymbol:function(){return"gpa"}}),bp=Pn(Lt),t5e=na(PQ(bp)(n5e(bp)(OQ(bp)(de)))),UQ=C({reflectSymbol:function(){return"sat"}}),a5e=C({reflectSymbol:function(){return"english"}}),r5e=C({reflectSymbol:function(){return"math"}}),o5e=r5e(mi),i5e=C({reflectSymbol:function(){return"id"}}),D8=C({reflectSymbol:function(){return"name"}})(ie),u5e=C({reflectSymbol:function(){return"readingWriting"}}),l5e=C({reflectSymbol:function(){return"majors"}}),c5e=D8(de),s5e=C({reflectSymbol:function(){return"acceptanceRate"}}),f5e=i5e(Js),v5e=C({reflectSymbol:function(){return"slug"}})(cE),p5e=C({reflectSymbol:function(){return"status"}})(ie)(de),m5e=C({reflectSymbol:function(){return"address"}}),d5e=C({reflectSymbol:function(){return"location"}})(na(C({reflectSymbol:function(){return"lat"}})(Lt)(C({reflectSymbol:function(){return"lng"}})(Lt)(de)))),_5e=C({reflectSymbol:function(){return"admissions"}}),h5e=C({reflectSymbol:function(){return"percentile"}})(Lt),g5e=C({reflectSymbol:function(){return"value"}}),TM=Pn(na(h5e(g5e(Lt)(de)))),FM=Pn(na(PQ(It)(OQ(It)(de)))),HQ=Pn(na(C({reflectSymbol:function(){return"men"}})(It)(C({reflectSymbol:function(){return"women"}})(It)(de)))),D5e=na(h5e(g5e(It)(de))),y5e=Pn(D5e),b5e=na(C({reflectSymbol:function(){return"conference"}})(Pn(na(C({reflectSymbol:function(){return"group"}})(ie)(c5e))))(C({reflectSymbol:function(){return"division1"}})($n)(de))),R5e=jQ(uS),w5e=r5e(uS),M7n=function(){var e=function(n){var t=yve(yv.value)(n),a=function(r){return function(o){return le([X7e({onEdit:E.value})(t.value1)(r)(o),Eo(ra(t.value0.showInvitationAcceptedCTA))(function(i){return function(u){return We(i)(function(l){if(l instanceof VC)return Kce({origin:J0(r.activeTab)(vN(r.school)),onDismiss:u(E.value),auth0Config:t.value0.auth0Config,mobileLayout:t.value1.mobileLayout,currentUser:t.value1.currentUser,school:r.school});if(l instanceof QC)return ese({origin:t.value0.originUrl,onDismiss:u(E.value),auth0Config:t.value0.auth0Config,mobileLayout:t.value1.mobileLayout,currentUser:E.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 _({init:Z7e(t.value0)(t.value1),update:K7e(t.value1),view:a})};return MO(na(C({reflectSymbol:function(){return"auth0Config"}})(na(C({reflectSymbol:function(){return"auth0ClientId"}})(ie)(C({reflectSymbol:function(){return"auth0Domain"}})(ie)(C({reflectSymbol:function(){return"auth0RedirectUri"}})(ie)(C({reflectSymbol:function(){return"omniAuthState"}})(ie)(de))))))(C({reflectSymbol:function(){return"chances"}})(Pn(na(jQ(zn(e5e))(C({reflectSymbol:function(){return"guidance"}})(Pn(kd))(C({reflectSymbol:function(){return"sameDemographicStats"}})(Pn(na(NQ(uS)(kQ(t5e)(UQ(uS)(de))))))(C({reflectSymbol:function(){return"top"}})(e5e)(de)))))))(C({reflectSymbol:function(){return"chancingProfile"}})(Pn(na(NQ(na(a5e(mi)(o5e(C({reflectSymbol:function(){return"reading"}})(mi)(C({reflectSymbol:function(){return"science"}})(mi)(de))))))(C({reflectSymbol:function(){return"courseRigor"}})(na(C({reflectSymbol:function(){return"ap"}})(mi)(C({reflectSymbol:function(){return"collegeClasses"}})(mi)(C({reflectSymbol:function(){return"honors"}})(mi)(de)))))(C({reflectSymbol:function(){return"ecActivities"}})(zn(na(C({reflectSymbol:function(){return"canonical_ec_activity_id"}})(Pn(MC))(C({reflectSymbol:function(){return"category"}})(ie)(C({reflectSymbol:function(){return"description"}})(Oo)(i5e(mi)(D8(C({reflectSymbol:function(){return"tier"}})(ie)(de)))))))))(C({reflectSymbol:function(){return"ecScore"}})(bp)(kQ(bp)(C({reflectSymbol:function(){return"psatPredictedCompositeSAT"}})(mi)(UQ(na(o5e(u5e(mi)(de))))(de))))))))))(C({reflectSymbol:function(){return"contentModules"}})(Pn(lE))(C({reflectSymbol:function(){return"currentUser"}})(Pn(na(C({reflectSymbol:function(){return"cvid"}})(ie)(C({reflectSymbol:function(){return"isHq"}})($n)(C({reflectSymbol:function(){return"role"}})(na(C({reflectSymbol:function(){return"counselor"}})(Pn(na(de)))(C({reflectSymbol:function(){return"semUser"}})(Pn(na(C({reflectSymbol:function(){return"schoolId"}})(Js)(de))))(C({reflectSymbol:function(){return"vine"}})(Pn(na(C({reflectSymbol:function(){return"admissionYear"}})(mi)(C({reflectSymbol:function(){return"avatarUrl"}})(Oo)(C({reflectSymbol:function(){return"fullName"}})(Oo)(C({reflectSymbol:function(){return"homeState"}})(Oo)(C({reflectSymbol:function(){return"initials"}})(Oo)(C({reflectSymbol:function(){return"publishScope"}})(ie)(de)))))))))(de)))))(de))))))(C({reflectSymbol:function(){return"featureFlags"}})(na(C({reflectSymbol:function(){return"app18667SageOnSdp"}})($n)(C({reflectSymbol:function(){return"autopilot"}})(ie)(C({reflectSymbol:function(){return"rcr2577ClaimSchoolProfileLinkOnSdp"}})($n)(de)))))(C({reflectSymbol:function(){return"financials"}})(Pn(na(C({reflectSymbol:function(){return"estimatedMeritAid"}})(bp)(C({reflectSymbol:function(){return"estimatedNetCost"}})(Lt)(C({reflectSymbol:function(){return"financialAid"}})(Lt)(C({reflectSymbol:function(){return"stickerPrice"}})(Lt)(de)))))))(C({reflectSymbol:function(){return"hasFinancialProfile"}})($n)(C({reflectSymbol:function(){return"initialTab"}})(ie)(l5e(zn(na(C({reflectSymbol:function(){return"areaOfStudy"}})(ie)(C({reflectSymbol:function(){return"cipCode"}})(ie)(C({reflectSymbol:function(){return"compressedName"}})(ie)(c5e))))))(C({reflectSymbol:function(){return"mapboxAccessToken"}})(Ive)(C({reflectSymbol:function(){return"mobileLayout"}})($n)(C({reflectSymbol:function(){return"originUrl"}})(ie)(C({reflectSymbol:function(){return"randomSeed"}})(It)(C({reflectSymbol:function(){return"recommendedSchools"}})(Pn(zn(na(s5e(bp)(C({reflectSymbol:function(){return"cityState"}})(Oo)(f5e(C({reflectSymbol:function(){return"imgixImageUrl"}})(ie)(D8(v5e(de))))))))))(C({reflectSymbol:function(){return"schoolConnection"}})(Pn(na(C({reflectSymbol:function(){return"initiator"}})(ie)(C({reflectSymbol:function(){return"schoolUsesAiRecruiter"}})($n)(p5e)))))(C({reflectSymbol:function(){return"schoolList"}})(Ng(na(C({reflectSymbol:function(){return"applicationRound"}})(ie)(p5e))))(C({reflectSymbol:function(){return"schoolNotes"}})(Ng(ie))(C({reflectSymbol:function(){return"showInvitationAcceptedCTA"}})(ie)(C({reflectSymbol:function(){return"showNetworkCard"}})($n)(C({reflectSymbol:function(){return"staticSchool"}})(na(C({reflectSymbol:function(){return"academicOfferings"}})(na(C({reflectSymbol:function(){return"careerCounseling"}})($n)(C({reflectSymbol:function(){return"creditForApExams"}})($n)(C({reflectSymbol:function(){return"creditForIbExams"}})($n)(C({reflectSymbol:function(){return"hasMedicalSchool"}})($n)(C({reflectSymbol:function(){return"offersGradDegree"}})($n)(C({reflectSymbol:function(){return"specialFocus"}})(Oo)(C({reflectSymbol:function(){return"studyAbroad"}})($n)(de)))))))))(m5e(na(C({reflectSymbol:function(){return"nonUSAddress"}})(Pn(na(m5e(ie)(C({reflectSymbol:function(){return"country"}})(ie)(d5e(de))))))(C({reflectSymbol:function(){return"usAddress"}})(Pn(na(C({reflectSymbol:function(){return"city"}})(ie)(C({reflectSymbol:function(){return"county"}})(ie)(d5e(C({reflectSymbol:function(){return"region"}})(ie)(C({reflectSymbol:function(){return"state"}})(ie)(C({reflectSymbol:function(){return"street"}})(ie)(C({reflectSymbol:function(){return"zip"}})(ie)(de))))))))))(de))))(_5e(na(s5e(TM)(C({reflectSymbol:function(){return"actComposite"}})(FM)(C({reflectSymbol:function(){return"actMath"}})(FM)(C({reflectSymbol:function(){return"actVerbal"}})(FM)(C({reflectSymbol:function(){return"admitted"}})(HQ)(C({reflectSymbol:function(){return"applicants"}})(HQ)(C({reflectSymbol:function(){return"enrolled"}})(HQ)(C({reflectSymbol:function(){return"fracSubmittedAct"}})(bp)(C({reflectSymbol:function(){return"fracSubmittedSat"}})(bp)(C({reflectSymbol:function(){return"reqClassRank"}})(Oo)(C({reflectSymbol:function(){return"reqRecLetters"}})(Oo)(C({reflectSymbol:function(){return"reqStandardTests"}})(Oo)(C({reflectSymbol:function(){return"reqToefl"}})(Oo)(C({reflectSymbol:function(){return"satMath"}})(FM)(C({reflectSymbol:function(){return"satVerbal"}})(FM)(C({reflectSymbol:function(){return"totalApplicants"}})(y5e)(C({reflectSymbol:function(){return"yieldRate"}})(TM)(de)))))))))))))))))))(C({reflectSymbol:function(){return"appGroup"}})(Oo)(C({reflectSymbol:function(){return"applicationTimeHours"}})(It)(C({reflectSymbol:function(){return"averageFederalLoan"}})(mi)(C({reflectSymbol:function(){return"averageNetPrice"}})(Pn(na(C({reflectSymbol:function(){return"quintile1"}})(Lt)(C({reflectSymbol:function(){return"quintile2"}})(Lt)(C({reflectSymbol:function(){return"quintile3"}})(Lt)(C({reflectSymbol:function(){return"quintile4"}})(Lt)(C({reflectSymbol:function(){return"quintile5"}})(Lt)(de))))))))(C({reflectSymbol:function(){return"basketball"}})(b5e)(C({reflectSymbol:function(){return"calendarSystem"}})(ie)(C({reflectSymbol:function(){return"chancing"}})(na(C({reflectSymbol:function(){return"canChance"}})($n)(C({reflectSymbol:function(){return"endorsed"}})($n)(C({reflectSymbol:function(){return"moreInfoLink"}})(Oo)(de)))))(C({reflectSymbol:function(){return"colors"}})(na(C({reflectSymbol:function(){return"primary"}})(Oo)(C({reflectSymbol:function(){return"secondary"}})(Oo)(de))))(C({reflectSymbol:function(){return"costRoomBoard"}})(mi)(C({reflectSymbol:function(){return"diversity"}})(ie)(C({reflectSymbol:function(){return"dropOutRate"}})(It)(C({reflectSymbol:function(){return"feesInState"}})(mi)(C({reflectSymbol:function(){return"feesOutOfState"}})(mi)(C({reflectSymbol:function(){return"football"}})(b5e)(C({reflectSymbol:function(){return"fourYearGradRate"}})(bp)(C({reflectSymbol:function(){return"fracInternationalStudents"}})(TM)(C({reflectSymbol:function(){return"fracLoans"}})(Lt)(C({reflectSymbol:function(){return"fracPellGrants"}})(Lt)(C({reflectSymbol:function(){return"gender"}})(ie)(C({reflectSymbol:function(){return"hasFourYearProgram"}})($n)(C({reflectSymbol:function(){return"hasOnCampusHousing"}})($n)(C({reflectSymbol:function(){return"hasTwoYearProgram"}})($n)(C({reflectSymbol:function(){return"hbcu"}})($n)(f5e(C({reflectSymbol:function(){return"imgixPath"}})(ie)(C({reflectSymbol:function(){return"ipedsUnitId"}})(Oo)(C({reflectSymbol:function(){return"isCommuterCollege"}})($n)(C({reflectSymbol:function(){return"isForProfit"}})($n)(C({reflectSymbol:function(){return"isPublic"}})($n)(l5e(zn(ie))(C({reflectSymbol:function(){return"message"}})(ie)(D8(C({reflectSymbol:function(){return"numFreshmen"}})(y5e)(C({reflectSymbol:function(){return"phone"}})(ie)(C({reflectSymbol:function(){return"prestige"}})(ie)(C({reflectSymbol:function(){return"profileClaimed"}})($n)(C({reflectSymbol:function(){return"racialBreakdown"}})(Pn(na(C({reflectSymbol:function(){return"asian"}})(Lt)(C({reflectSymbol:function(){return"black"}})(Lt)(C({reflectSymbol:function(){return"hispanic"}})(Lt)(C({reflectSymbol:function(){return"nativeAmerican"}})(Lt)(C({reflectSymbol:function(){return"white"}})(Lt)(de))))))))(C({reflectSymbol:function(){return"rankings"}})(zn(na(C({reflectSymbol:function(){return"bucket"}})(ie)(C({reflectSymbol:function(){return"key"}})(ie)(C({reflectSymbol:function(){return"order"}})(It)(de))))))(C({reflectSymbol:function(){return"religiousAffiliation"}})(ie)(C({reflectSymbol:function(){return"retentionRate"}})(TM)(C({reflectSymbol:function(){return"schoolType"}})(ie)(C({reflectSymbol:function(){return"setting"}})(ie)(C({reflectSymbol:function(){return"sixYearGradRate"}})(TM)(v5e(C({reflectSymbol:function(){return"studentsPerFaculty"}})(D5e)(C({reflectSymbol:function(){return"testScoreStats"}})(Pn(na(NQ(na(R5e(a5e(uS)(w5e(de)))))(kQ(na(jQ(t5e)(de)))(UQ(na(R5e(w5e(u5e(uS)(de)))))(de))))))(C({reflectSymbol:function(){return"totalUndergrads"}})(It)(C({reflectSymbol:function(){return"tuitionInState"}})(mi)(C({reflectSymbol:function(){return"tuitionOutOfState"}})(mi)(C({reflectSymbol:function(){return"urls"}})(na(_5e(Oo)(C({reflectSymbol:function(){return"finAid"}})(Oo)(C({reflectSymbol:function(){return"main"}})(ie)(C({reflectSymbol:function(){return"priceCalculator"}})(Oo)(de))))))(de)))))))))))))))))))))))))))))))))))))))))))))))))))))))(C({reflectSymbol:function(){return"vineBelowConnectionLimit"}})(Pn($n))(de))))))))))))))))))))))))({diagnosticName:"EntryPoints.SchoolDetails",def:e})}();return G7n;})(); /* 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/babel/babel/blob/main/packages/babel-helpers/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. */