var Purs_EntryPoints_Vinai_RecLetters=(()=>{var hue=Object.create;var m0=Object.defineProperty,_ue=Object.defineProperties,gue=Object.getOwnPropertyDescriptor,yue=Object.getOwnPropertyDescriptors,Due=Object.getOwnPropertyNames,r9=Object.getOwnPropertySymbols,bue=Object.getPrototypeOf,a9=Object.prototype.hasOwnProperty,wue=Object.prototype.propertyIsEnumerable;var o9=(e,t,n)=>t in e?m0(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,an=(e,t)=>{for(var n in t||(t={}))a9.call(t,n)&&o9(e,n,t[n]);if(r9)for(var n of r9(t))wue.call(t,n)&&o9(e,n,t[n]);return e},Lr=(e,t)=>_ue(e,yue(t)),i9=e=>m0(e,"__esModule",{value:!0});var Cue=(e,t)=>()=>(e&&(t=e(e=0)),t);var Z=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),xg=(e,t)=>{i9(e);for(var n in t)m0(e,n,{get:t[n],enumerable:!0})},xue=(e,t,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of Due(t))!a9.call(e,r)&&r!=="default"&&m0(e,r,{get:()=>t[r],enumerable:!(n=gue(t,r))||n.enumerable});return e},Xt=e=>xue(i9(m0(e!=null?hue(bue(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var Fy={};xg(Fy,{Children:()=>nd,Component:()=>rd,Fragment:()=>h3,PureComponent:()=>sfe,Suspense:()=>ffe,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>ufe,cloneElement:()=>Y0,createContext:()=>v3,createElement:()=>un,createRef:()=>Sy,default:()=>_t,forwardRef:()=>Ho,isValidElement:()=>_3,lazy:()=>lfe,memo:()=>cfe,useCallback:()=>Z0,useContext:()=>dfe,useEffect:()=>Pn,useImperativeHandle:()=>$l,useLayoutEffect:()=>Q0,useMemo:()=>K0,useReducer:()=>pfe,useRef:()=>tn,useState:()=>uu,version:()=>mfe});var _t,ufe,nd,Y0,rd,v3,un,Sy,Ho,h3,_3,lfe,cfe,sfe,ffe,Z0,dfe,Pn,$l,Q0,K0,pfe,tn,uu,mfe,jt=Cue(()=>{_t=window.React,{__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:ufe,Children:nd,cloneElement:Y0,Component:rd,createContext:v3,createElement:un,createRef:Sy,forwardRef:Ho,Fragment:h3,isValidElement:_3,lazy:lfe,memo:cfe,PureComponent:sfe,Suspense:ffe,useCallback:Z0,useContext:dfe,useEffect:Pn,useImperativeHandle:$l,useLayoutEffect:Q0,useMemo:K0,useReducer:pfe,useRef:tn,useState:uu,version:mfe}=window.React});var Uy=Z((zmt,$L)=>{"use strict";var zL=Object.getOwnPropertySymbols,Bfe=Object.prototype.hasOwnProperty,Wfe=Object.prototype.propertyIsEnumerable;function zfe(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function $fe(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(o){return t[o]});if(r.join("")!=="0123456789")return!1;var a={};return"abcdefghijklmnopqrst".split("").forEach(function(o){a[o]=o}),Object.keys(Object.assign({},a)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}$L.exports=$fe()?Object.assign:function(e,t){for(var n,r=zfe(e),a,o=1;o{"use strict";var w3=Uy(),pm=60103,qL=60106;fn.Fragment=60107;fn.StrictMode=60108;fn.Profiler=60114;var GL=60109,VL=60110,JL=60112;fn.Suspense=60113;var XL=60115,YL=60116;typeof Symbol=="function"&&Symbol.for&&(Ci=Symbol.for,pm=Ci("react.element"),qL=Ci("react.portal"),fn.Fragment=Ci("react.fragment"),fn.StrictMode=Ci("react.strict_mode"),fn.Profiler=Ci("react.profiler"),GL=Ci("react.provider"),VL=Ci("react.context"),JL=Ci("react.forward_ref"),fn.Suspense=Ci("react.suspense"),XL=Ci("react.memo"),YL=Ci("react.lazy"));var Ci,ZL=typeof Symbol=="function"&&Symbol.iterator;function qfe(e){return e===null||typeof e!="object"?null:(e=ZL&&e[ZL]||e["@@iterator"],typeof e=="function"?e:null)}function oh(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n{"use strict";uj.exports=ij()});var Mj=Z(vm=>{"use strict";var lu=Uy(),Gl=Ga();function cr(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;nlh;lh++)ha[lh]=lh+1;var ha,lh;ha[15]=0;var Qfe=/^[: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]*$/,mj=Object.prototype.hasOwnProperty,vj={},hj={};function _j(e){return mj.call(hj,e)?!0:mj.call(vj,e)?!1:Qfe.test(e)?hj[e]=!0:(vj[e]=!0,!1)}function Kfe(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function ede(e,t,n,r){if(t===null||typeof t=="undefined"||Kfe(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Va(e,t,n,r,a,o,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var _a={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){_a[e]=new Va(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];_a[t]=new Va(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){_a[e]=new Va(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){_a[e]=new Va(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){_a[e]=new Va(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){_a[e]=new Va(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){_a[e]=new Va(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){_a[e]=new Va(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){_a[e]=new Va(e,5,!1,e.toLowerCase(),null,!1,!1)});var N3=/[\-:]([a-z])/g;function O3(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 t=e.replace(N3,O3);_a[t]=new Va(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(N3,O3);_a[t]=new Va(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(N3,O3);_a[t]=new Va(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){_a[e]=new Va(e,1,!1,e.toLowerCase(),null,!1,!1)});_a.xlinkHref=new Va("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){_a[e]=new Va(e,1,!1,e.toLowerCase(),null,!0,!0)});var tde=/["'&<>]/;function cd(e){if(typeof e=="boolean"||typeof e=="number")return""+e;e=""+e;var t=tde.exec(e);if(t){var n="",r,a=0;for(r=t.index;rVy))throw Error(cr(301));if(e===qu)if(Gy=!0,e={action:n,next:null},ds===null&&(ds=new Map),n=ds.get(t),n===void 0)ds.set(t,e);else{for(t=n;t.next!==null;)t=t.next;t.next=e}}function U3(){}var fd=null,ide={readContext:function(e){var t=fd.threadID;return uh(e,t),e[t]},useContext:function(e){sd();var t=fd.threadID;return uh(e,t),e[t]},useMemo:Cj,useReducer:wj,useRef:function(e){qu=sd(),zn=k3();var t=zn.memoizedState;return t===null?(e={current:e},zn.memoizedState=e):t},useState:function(e){return wj(bj,e)},useLayoutEffect:function(){},useCallback:function(e,t){return Cj(function(){return e},t)},useImperativeHandle:U3,useEffect:U3,useDebugValue:U3,useDeferredValue:function(e){return sd(),e},useTransition:function(){return sd(),[function(e){e()},!1]},useOpaqueIdentifier:function(){return(fd.identifierPrefix||"")+"R:"+(fd.uniqueID++).toString(36)},useMutableSource:function(e,t){return sd(),t(e._source)}},xj={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function Tj(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 Ej={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},ude=lu({menuitem:!0},Ej),sh={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},lde=["Webkit","ms","Moz","O"];Object.keys(sh).forEach(function(e){lde.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),sh[t]=sh[e]})});var cde=/([A-Z])/g,sde=/^ms-/,ps=Gl.Children.toArray,H3=Yfe.ReactCurrentDispatcher,fde={listing:!0,pre:!0,textarea:!0},dde=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Rj={},B3={};function pde(e){if(e==null)return e;var t="";return Gl.Children.forEach(e,function(n){n!=null&&(t+=n)}),t}var mde=Object.prototype.hasOwnProperty,vde={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function Sj(e,t){if(e===void 0)throw Error(cr(152,ih(t)||"Component"))}function hde(e,t,n){function r(i,l){var u=l.prototype&&l.prototype.isReactComponent,c=Zfe(l,t,n,u),s=[],f=!1,d={isMounted:function(){return!1},enqueueForceUpdate:function(){if(s===null)return null},enqueueReplaceState:function(R,I){f=!0,s=[I]},enqueueSetState:function(R,I){if(s===null)return null;s.push(I)}};if(u){if(u=new l(i.props,c,d),typeof l.getDerivedStateFromProps=="function"){var p=l.getDerivedStateFromProps.call(null,i.props,u.state);p!=null&&(u.state=lu({},u.state,p))}}else if(qu={},u=l(i.props,c,d),u=yj(l,i.props,u,c),u==null||u.render==null){e=u,Sj(e,l);return}if(u.props=i.props,u.context=c,u.updater=d,d=u.state,d===void 0&&(u.state=d=null),typeof u.UNSAFE_componentWillMount=="function"||typeof u.componentWillMount=="function")if(typeof u.componentWillMount=="function"&&typeof l.getDerivedStateFromProps!="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&typeof l.getDerivedStateFromProps!="function"&&u.UNSAFE_componentWillMount(),s.length){d=s;var m=f;if(s=null,f=!1,m&&d.length===1)u.state=d[0];else{p=m?d[0]:u.state;var y=!0;for(m=m?1:0;m=l))throw Error(cr(304));var u=new Uint16Array(l);for(u.set(i),ha=u,ha[0]=o+1,i=o;i=u.children.length){var c=u.footer;if(c!==""&&(this.previousWasTextNode=!1),this.stack.pop(),u.type==="select")this.currentSelectValue=null;else if(u.type!=null&&u.type.type!=null&&u.type.type.$$typeof===zy)this.popProvider(u.type);else if(u.type===$y){this.suspenseDepth--;var s=o.pop();if(i){i=!1;var f=u.fallbackFrame;if(!f)throw Error(cr(303));this.stack.push(f),o[this.suspenseDepth]+="";continue}else o[this.suspenseDepth]+=s}o[this.suspenseDepth]+=c}else{var d=u.children[u.childIndex++],p="";try{p+=this.render(d,u.context,u.domNamespace)}catch(m){throw m!=null&&typeof m.then=="function"?Error(cr(294)):m}finally{}o.length<=this.suspenseDepth&&o.push(""),o[this.suspenseDepth]+=p}}return o[0]}finally{H3.current=a,fd=r,Dj()}},t.render=function(n,r,a){if(typeof n=="string"||typeof n=="number")return a=""+n,a===""?"":this.makeStaticMarkup?cd(a):this.previousWasTextNode?""+cd(a):(this.previousWasTextNode=!0,cd(a));if(r=hde(n,r,this.threadID),n=r.child,r=r.context,n===null||n===!1)return"";if(!Gl.isValidElement(n)){if(n!=null&&n.$$typeof!=null)throw a=n.$$typeof,Error(a===S3?cr(257):cr(258,a.toString()));return n=ps(n),this.stack.push({type:null,domNamespace:a,children:n,childIndex:0,context:r,footer:""}),""}var o=n.type;if(typeof o=="string")return this.renderDOM(n,r,a);switch(o){case dj:case fj:case F3:case M3:case L3:case Wy:return n=ps(n.props.children),this.stack.push({type:null,domNamespace:a,children:n,childIndex:0,context:r,footer:""}),"";case $y:throw Error(cr(294));case sj:throw Error(cr(343))}if(typeof o=="object"&&o!==null)switch(o.$$typeof){case A3:qu={};var i=o.render(n.props,n.ref);return i=yj(o.render,n.props,i,n.ref),i=ps(i),this.stack.push({type:null,domNamespace:a,children:i,childIndex:0,context:r,footer:""}),"";case j3:return n=[Gl.createElement(o.type,lu({ref:n.ref},n.props))],this.stack.push({type:null,domNamespace:a,children:n,childIndex:0,context:r,footer:""}),"";case zy:return o=ps(n.props.children),a={type:n,domNamespace:a,children:o,childIndex:0,context:r,footer:""},this.pushProvider(n),this.stack.push(a),"";case I3:o=n.type,i=n.props;var l=this.threadID;return uh(o,l),o=ps(i.children(o[l])),this.stack.push({type:n,domNamespace:a,children:o,childIndex:0,context:r,footer:""}),"";case cj:throw Error(cr(338));case P3:return o=n.type,i=o._init,o=i(o._payload),n=[Gl.createElement(o,lu({ref:n.ref},n.props))],this.stack.push({type:null,domNamespace:a,children:n,childIndex:0,context:r,footer:""}),""}throw Error(cr(130,o==null?o:typeof o,""))},t.renderDOM=function(n,r,a){var o=n.type.toLowerCase();if(a===xj.html&&Tj(o),!Rj.hasOwnProperty(o)){if(!dde.test(o))throw Error(cr(65,o));Rj[o]=!0}var i=n.props;if(o==="input")i=lu({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 l=i.value;if(l==null){l=i.defaultValue;var u=i.children;if(u!=null){if(l!=null)throw Error(cr(92));if(Array.isArray(u)){if(!(1>=u.length))throw Error(cr(93));u=u[0]}l=""+u}l==null&&(l="")}i=lu({},i,{value:void 0,children:""+l})}else if(o==="select")this.currentSelectValue=i.value!=null?i.value:i.defaultValue,i=lu({},i,{value:void 0});else if(o==="option"){u=this.currentSelectValue;var c=pde(i.children);if(u!=null){var s=i.value!=null?i.value+"":c;if(l=!1,Array.isArray(u)){for(var f=0;f":(I+=">",l="");e:{if(u=i.dangerouslySetInnerHTML,u!=null){if(u.__html!=null){u=u.__html;break e}}else if(u=i.children,typeof u=="string"||typeof u=="number"){u=cd(u);break e}u=null}return u!=null?(i=[],fde.hasOwnProperty(o)&&u.charAt(0)===` `&&(I+=` `),I+=u):i=ps(i.children),n=n.type,a=a==null||a==="http://www.w3.org/1999/xhtml"?Tj(n):a==="http://www.w3.org/2000/svg"&&n==="foreignObject"?"http://www.w3.org/1999/xhtml":a,this.stack.push({domNamespace:a,type:o,children:i,childIndex:0,context:r,footer:l}),this.previousWasTextNode=!1,I},e}();vm.renderToNodeStream=function(){throw Error(cr(207))};vm.renderToStaticMarkup=function(e,t){e=new Fj(e,!0,t);try{return e.read(1/0)}finally{e.destroy()}};vm.renderToStaticNodeStream=function(){throw Error(cr(208))};vm.renderToString=function(e,t){e=new Fj(e,!1,t);try{return e.read(1/0)}finally{e.destroy()}};vm.version="17.0.2"});var Aj=Z((Vmt,Ij)=>{"use strict";Ij.exports=Mj()});var dP=Z((Yy,Q3)=>{(function(t,n){typeof Yy=="object"&&typeof Q3=="object"?Q3.exports=n():typeof define=="function"&&define.amd?define([],n):typeof Yy=="object"?Yy.Pusher=n():t.Pusher=n()})(window,function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=e,n.c=t,n.d=function(r,a,o){n.o(r,a)||Object.defineProperty(r,a,{enumerable:!0,get:o})},n.r=function(r){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},n.t=function(r,a){if(a&1&&(r=n(r)),a&8||a&4&&typeof r=="object"&&r&&r.__esModule)return r;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:r}),a&2&&typeof r!="string")for(var i in r)n.d(o,i,function(l){return r[l]}.bind(null,i));return o},n.n=function(r){var a=r&&r.__esModule?function(){return r.default}:function(){return r};return n.d(a,"a",a),a},n.o=function(r,a){return Object.prototype.hasOwnProperty.call(r,a)},n.p="",n(n.s=2)}([function(e,t,n){"use strict";var r=this&&this.__extends||function(){var p=function(m,y){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_,D){_.__proto__=D}||function(_,D){for(var C in D)D.hasOwnProperty(C)&&(_[C]=D[C])},p(m,y)};return function(m,y){p(m,y);function _(){this.constructor=m}m.prototype=y===null?Object.create(y):(_.prototype=y.prototype,new _)}}();Object.defineProperty(t,"__esModule",{value:!0});var a=256,o=function(){function p(m){m===void 0&&(m="="),this._paddingCharacter=m}return p.prototype.encodedLength=function(m){return this._paddingCharacter?(m+2)/3*4|0:(m*8+5)/6|0},p.prototype.encode=function(m){for(var y="",_=0;_>>3*6&63),y+=this._encodeByte(D>>>2*6&63),y+=this._encodeByte(D>>>1*6&63),y+=this._encodeByte(D>>>0*6&63)}var C=m.length-_;if(C>0){var D=m[_]<<16|(C===2?m[_+1]<<8:0);y+=this._encodeByte(D>>>3*6&63),y+=this._encodeByte(D>>>2*6&63),C===2?y+=this._encodeByte(D>>>1*6&63):y+=this._paddingCharacter||"",y+=this._paddingCharacter||""}return y},p.prototype.maxDecodedLength=function(m){return this._paddingCharacter?m/4*3|0:(m*6+7)/8|0},p.prototype.decodedLength=function(m){return this.maxDecodedLength(m.length-this._getPaddingLength(m))},p.prototype.decode=function(m){if(m.length===0)return new Uint8Array(0);for(var y=this._getPaddingLength(m),_=m.length-y,D=new Uint8Array(this.maxDecodedLength(_)),C=0,R=0,I=0,A=0,T=0,L=0,W=0;R<_-4;R+=4)A=this._decodeChar(m.charCodeAt(R+0)),T=this._decodeChar(m.charCodeAt(R+1)),L=this._decodeChar(m.charCodeAt(R+2)),W=this._decodeChar(m.charCodeAt(R+3)),D[C++]=A<<2|T>>>4,D[C++]=T<<4|L>>>2,D[C++]=L<<6|W,I|=A&a,I|=T&a,I|=L&a,I|=W&a;if(R<_-1&&(A=this._decodeChar(m.charCodeAt(R)),T=this._decodeChar(m.charCodeAt(R+1)),D[C++]=A<<2|T>>>4,I|=A&a,I|=T&a),R<_-2&&(L=this._decodeChar(m.charCodeAt(R+2)),D[C++]=T<<4|L>>>2,I|=L&a),R<_-3&&(W=this._decodeChar(m.charCodeAt(R+3)),D[C++]=L<<6|W,I|=W&a),I!==0)throw new Error("Base64Coder: incorrect characters for decoding");return D},p.prototype._encodeByte=function(m){var y=m;return y+=65,y+=25-m>>>8&0-65-26+97,y+=51-m>>>8&26-97-52+48,y+=61-m>>>8&52-48-62+43,y+=62-m>>>8&62-43-63+47,String.fromCharCode(y)},p.prototype._decodeChar=function(m){var y=a;return y+=(42-m&m-44)>>>8&-a+m-43+62,y+=(46-m&m-48)>>>8&-a+m-47+63,y+=(47-m&m-58)>>>8&-a+m-48+52,y+=(64-m&m-91)>>>8&-a+m-65+0,y+=(96-m&m-123)>>>8&-a+m-97+26,y},p.prototype._getPaddingLength=function(m){var y=0;if(this._paddingCharacter){for(var _=m.length-1;_>=0&&m[_]===this._paddingCharacter;_--)y++;if(m.length<4||y>2)throw new Error("Base64Coder: incorrect padding")}return y},p}();t.Coder=o;var i=new o;function l(p){return i.encode(p)}t.encode=l;function u(p){return i.decode(p)}t.decode=u;var c=function(p){r(m,p);function m(){return p!==null&&p.apply(this,arguments)||this}return m.prototype._encodeByte=function(y){var _=y;return _+=65,_+=25-y>>>8&0-65-26+97,_+=51-y>>>8&26-97-52+48,_+=61-y>>>8&52-48-62+45,_+=62-y>>>8&62-45-63+95,String.fromCharCode(_)},m.prototype._decodeChar=function(y){var _=a;return _+=(44-y&y-46)>>>8&-a+y-45+62,_+=(94-y&y-96)>>>8&-a+y-95+63,_+=(47-y&y-58)>>>8&-a+y-48+52,_+=(64-y&y-91)>>>8&-a+y-65+0,_+=(96-y&y-123)>>>8&-a+y-97+26,_},m}(o);t.URLSafeCoder=c;var s=new c;function f(p){return s.encode(p)}t.encodeURLSafe=f;function d(p){return s.decode(p)}t.decodeURLSafe=d,t.encodedLength=function(p){return i.encodedLength(p)},t.maxDecodedLength=function(p){return i.maxDecodedLength(p)},t.decodedLength=function(p){return i.decodedLength(p)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="utf8: invalid string",a="utf8: invalid source encoding";function o(u){for(var c=new Uint8Array(i(u)),s=0,f=0;f>6,c[s++]=128|d&63):d<55296?(c[s++]=224|d>>12,c[s++]=128|d>>6&63,c[s++]=128|d&63):(f++,d=(d&1023)<<10,d|=u.charCodeAt(f)&1023,d+=65536,c[s++]=240|d>>18,c[s++]=128|d>>12&63,c[s++]=128|d>>6&63,c[s++]=128|d&63)}return c}t.encode=o;function i(u){for(var c=0,s=0;s=u.length-1)throw new Error(r);s++,c+=4}else throw new Error(r)}return c}t.encodedLength=i;function l(u){for(var c=[],s=0;s=u.length)throw new Error(a);var p=u[++s];if((p&192)!=128)throw new Error(a);f=(f&31)<<6|p&63,d=128}else if(f<240){if(s>=u.length-1)throw new Error(a);var p=u[++s],m=u[++s];if((p&192)!=128||(m&192)!=128)throw new Error(a);f=(f&15)<<12|(p&63)<<6|m&63,d=2048}else if(f<248){if(s>=u.length-2)throw new Error(a);var p=u[++s],m=u[++s],y=u[++s];if((p&192)!=128||(m&192)!=128||(y&192)!=128)throw new Error(a);f=(f&15)<<18|(p&63)<<12|(m&63)<<6|y&63,d=65536}else throw new Error(a);if(f=55296&&f<=57343)throw new Error(a);if(f>=65536){if(f>1114111)throw new Error(a);f-=65536,c.push(String.fromCharCode(55296|f>>10)),f=56320|f&1023}}c.push(String.fromCharCode(f))}return c.join("")}t.decode=l},function(e,t,n){e.exports=n(3).default},function(e,t,n){"use strict";n.r(t);var r=function(){function h(v,b){this.lastId=0,this.prefix=v,this.name=b}return h.prototype.create=function(v){this.lastId++;var b=this.lastId,x=this.prefix+b,S=this.name+"["+b+"]",z=!1,se=function(){z||(v.apply(null,arguments),z=!0)};return this[b]=se,{number:b,id:x,name:S,callback:se}},h.prototype.remove=function(v){delete this[v.number]},h}(),a=new r("_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,l=function(){function h(v){this.options=v,this.receivers=v.receivers||a,this.loading={}}return h.prototype.load=function(v,b,x){var S=this;if(S.loading[v]&&S.loading[v].length>0)S.loading[v].push(x);else{S.loading[v]=[x];var z=Yt.createScriptRequest(S.getPath(v,b)),se=S.receivers.create(function(Oe){if(S.receivers.remove(se),S.loading[v]){var gt=S.loading[v];delete S.loading[v];for(var xn=function(Ua){Ua||z.cleanup()},Wr=0;Wr>>6)+d(128|v&63):d(224|v>>>12&15)+d(128|v>>>6&63)+d(128|v&63)},C=function(h){return h.replace(/[^\x00-\x7F]/g,D)},R=function(h){var v=[0,2,1][h.length%3],b=h.charCodeAt(0)<<16|(h.length>1?h.charCodeAt(1):0)<<8|(h.length>2?h.charCodeAt(2):0),x=[p.charAt(b>>>18),p.charAt(b>>>12&63),v>=2?"=":p.charAt(b>>>6&63),v>=1?"=":p.charAt(b&63)];return x.join("")},I=window.btoa||function(h){return h.replace(/[\s\S]{1,3}/g,R)},A=function(){function h(v,b,x,S){var z=this;this.clear=b,this.timer=v(function(){z.timer&&(z.timer=S(z.timer))},x)}return h.prototype.isRunning=function(){return this.timer!==null},h.prototype.ensureAborted=function(){this.timer&&(this.clear(this.timer),this.timer=null)},h}(),T=A,L=function(){var h=function(v,b){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(x,S){x.__proto__=S}||function(x,S){for(var z in S)S.hasOwnProperty(z)&&(x[z]=S[z])},h(v,b)};return function(v,b){h(v,b);function x(){this.constructor=v}v.prototype=b===null?Object.create(b):(x.prototype=b.prototype,new x)}}();function W(h){window.clearTimeout(h)}function $(h){window.clearInterval(h)}var ce=function(h){L(v,h);function v(b,x){return h.call(this,setTimeout,W,b,function(S){return x(),null})||this}return v}(T),te=function(h){L(v,h);function v(b,x){return h.call(this,setInterval,$,b,function(S){return x(),S})||this}return v}(T),le={now:function(){return Date.now?Date.now():new Date().valueOf()},defer:function(h){return new ce(0,h)},method:function(h){for(var v=[],b=1;b0)for(var S=0;S=1002&&h.code<=1004?"backoff":null:h.code===4e3?"tls_only":h.code<4100?"refused":h.code<4200?"backoff":h.code<4300?"retry":"refused"},getCloseError:function(h){return h.code!==1e3&&h.code!==1001?{type:"PusherError",data:{code:h.code,message:h.reason||h.message}}:null}},Tf=NM,Moe=function(){var h=function(v,b){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(x,S){x.__proto__=S}||function(x,S){for(var z in S)S.hasOwnProperty(z)&&(x[z]=S[z])},h(v,b)};return function(v,b){h(v,b);function x(){this.constructor=v}v.prototype=b===null?Object.create(b):(x.prototype=b.prototype,new x)}}(),Ioe=function(h){Moe(v,h);function v(b,x){var S=h.call(this)||this;return S.id=b,S.transport=x,S.activityTimeout=x.activityTimeout,S.bindListeners(),S}return v.prototype.handlesActivityChecks=function(){return this.transport.handlesActivityChecks()},v.prototype.send=function(b){return this.transport.send(b)},v.prototype.send_event=function(b,x,S){var z={event:b,data:x};return S&&(z.channel=S),ue.debug("Event sent",z),this.send(Tf.encodeMessage(z))},v.prototype.ping=function(){this.transport.supportsPing()?this.transport.ping():this.send_event("pusher:ping",{})},v.prototype.close=function(){this.transport.close()},v.prototype.bindListeners=function(){var b=this,x={message:function(z){var se;try{se=Tf.decodeMessage(z)}catch(Oe){b.emit("error",{type:"MessageParseError",error:Oe,data:z.data})}if(se!==void 0){switch(ue.debug("Event recd",se),se.event){case"pusher:error":b.emit("error",{type:"PusherError",data:se.data});break;case"pusher:ping":b.emit("ping");break;case"pusher:pong":b.emit("pong");break}b.emit("message",se)}},activity:function(){b.emit("activity")},error:function(z){b.emit("error",{type:"WebSocketError",error:z})},closed:function(z){S(),z&&z.code&&b.handleCloseEvent(z),b.transport=null,b.emit("closed")}},S=function(){Q(x,function(z,se){b.transport.unbind(se,z)})};Q(x,function(z,se){b.transport.bind(se,z)})},v.prototype.handleCloseEvent=function(b){var x=Tf.getCloseAction(b),S=Tf.getCloseError(b);S&&this.emit("error",S),x&&this.emit(x,{action:x,error:S})},v}(Fn),Aoe=Ioe,Loe=function(){function h(v,b){this.transport=v,this.callback=b,this.bindListeners()}return h.prototype.close=function(){this.unbindListeners(),this.transport.close()},h.prototype.bindListeners=function(){var v=this;this.onMessage=function(b){v.unbindListeners();var x;try{x=Tf.processHandshake(b)}catch(S){v.finish("error",{error:S}),v.transport.close();return}x.action==="connected"?v.finish("connected",{connection:new Aoe(x.id,v.transport),activityTimeout:x.activityTimeout}):(v.finish(x.action,{error:x.error}),v.transport.close())},this.onClosed=function(b){v.unbindListeners();var x=Tf.getCloseAction(b)||"backoff",S=Tf.getCloseError(b);v.finish(x,{error:S})},this.transport.bind("message",this.onMessage),this.transport.bind("closed",this.onClosed)},h.prototype.unbindListeners=function(){this.transport.unbind("message",this.onMessage),this.transport.unbind("closed",this.onClosed)},h.prototype.finish=function(v,b){this.callback(re({transport:this.transport,action:v},b))},h}(),joe=Loe,Poe=function(){function h(v,b){this.channel=v;var x=b.authTransport;if(typeof Yt.getAuthorizers()[x]=="undefined")throw"'"+x+"' is not a recognized auth transport";this.type=x,this.options=b,this.authOptions=b.auth||{}}return h.prototype.composeQuery=function(v){var b="socket_id="+encodeURIComponent(v)+"&channel_name="+encodeURIComponent(this.channel.name);for(var x in this.authOptions.params)b+="&"+encodeURIComponent(x)+"="+encodeURIComponent(this.authOptions.params[x]);return b},h.prototype.authorize=function(v,b){h.authorizers=h.authorizers||Yt.getAuthorizers(),h.authorizers[this.type].call(this,Yt,v,b)},h}(),Noe=Poe,Ooe=function(){function h(v,b){this.timeline=v,this.options=b||{}}return h.prototype.send=function(v,b){this.timeline.isEmpty()||this.timeline.send(Yt.TimelineTransport.getAgent(this,v),b)},h}(),koe=Ooe,Ef=function(){var h=function(v,b){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(x,S){x.__proto__=S}||function(x,S){for(var z in S)S.hasOwnProperty(z)&&(x[z]=S[z])},h(v,b)};return function(v,b){h(v,b);function x(){this.constructor=v}v.prototype=b===null?Object.create(b):(x.prototype=b.prototype,new x)}}(),Uoe=function(h){Ef(v,h);function v(b){var x=this.constructor,S=h.call(this,b)||this;return Object.setPrototypeOf(S,x.prototype),S}return v}(Error),Hoe=function(h){Ef(v,h);function v(b){var x=this.constructor,S=h.call(this,b)||this;return Object.setPrototypeOf(S,x.prototype),S}return v}(Error),Boe=function(h){Ef(v,h);function v(b){var x=this.constructor,S=h.call(this,b)||this;return Object.setPrototypeOf(S,x.prototype),S}return v}(Error),Woe=function(h){Ef(v,h);function v(b){var x=this.constructor,S=h.call(this,b)||this;return Object.setPrototypeOf(S,x.prototype),S}return v}(Error),OM=function(h){Ef(v,h);function v(b){var x=this.constructor,S=h.call(this,b)||this;return Object.setPrototypeOf(S,x.prototype),S}return v}(Error),zoe=function(h){Ef(v,h);function v(b){var x=this.constructor,S=h.call(this,b)||this;return Object.setPrototypeOf(S,x.prototype),S}return v}(Error),kM=function(h){Ef(v,h);function v(b){var x=this.constructor,S=h.call(this,b)||this;return Object.setPrototypeOf(S,x.prototype),S}return v}(Error),$oe=function(){var h=function(v,b){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(x,S){x.__proto__=S}||function(x,S){for(var z in S)S.hasOwnProperty(z)&&(x[z]=S[z])},h(v,b)};return function(v,b){h(v,b);function x(){this.constructor=v}v.prototype=b===null?Object.create(b):(x.prototype=b.prototype,new x)}}(),qoe=function(h){$oe(v,h);function v(b,x){var S=h.call(this,function(z,se){ue.debug("No callbacks on "+b+" for "+z)})||this;return S.name=b,S.pusher=x,S.subscribed=!1,S.subscriptionPending=!1,S.subscriptionCancelled=!1,S}return v.prototype.authorize=function(b,x){return x(!1,{auth:""})},v.prototype.trigger=function(b,x){if(b.indexOf("client-")!==0)throw new Uoe("Event '"+b+"' does not start with 'client-'");if(!this.subscribed){var S=Ze.buildLogSuffix("triggeringClientEvents");ue.warn("Client event triggered before channel 'subscription_succeeded' event . "+S)}return this.pusher.send_event(b,x,this.name)},v.prototype.disconnect=function(){this.subscribed=!1,this.subscriptionPending=!1},v.prototype.handleEvent=function(b){var x=b.event,S=b.data;if(x==="pusher_internal:subscription_succeeded")this.handleSubscriptionSucceededEvent(b);else if(x.indexOf("pusher_internal:")!==0){var z={};this.emit(x,S,z)}},v.prototype.handleSubscriptionSucceededEvent=function(b){this.subscriptionPending=!1,this.subscribed=!0,this.subscriptionCancelled?this.pusher.unsubscribe(this.name):this.emit("pusher:subscription_succeeded",b.data)},v.prototype.subscribe=function(){var b=this;this.subscribed||(this.subscriptionPending=!0,this.subscriptionCancelled=!1,this.authorize(this.pusher.connection.socket_id,function(x,S){x?(ue.error(S),b.emit("pusher:subscription_error",S)):(S=S,b.pusher.send_event("pusher:subscribe",{auth:S.auth,channel_data:S.channel_data,channel:b.name}))}))},v.prototype.unsubscribe=function(){this.subscribed=!1,this.pusher.send_event("pusher:unsubscribe",{channel:this.name})},v.prototype.cancelSubscription=function(){this.subscriptionCancelled=!0},v.prototype.reinstateSubscription=function(){this.subscriptionCancelled=!1},v}(Fn),UM=qoe,Goe=function(){var h=function(v,b){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(x,S){x.__proto__=S}||function(x,S){for(var z in S)S.hasOwnProperty(z)&&(x[z]=S[z])},h(v,b)};return function(v,b){h(v,b);function x(){this.constructor=v}v.prototype=b===null?Object.create(b):(x.prototype=b.prototype,new x)}}(),Voe=function(h){Goe(v,h);function v(){return h!==null&&h.apply(this,arguments)||this}return v.prototype.authorize=function(b,x){var S=Mu.createAuthorizer(this,this.pusher.config);return S.authorize(b,x)},v}(UM),KC=Voe,Joe=function(){function h(){this.reset()}return h.prototype.get=function(v){return Object.prototype.hasOwnProperty.call(this.members,v)?{id:v,info:this.members[v]}:null},h.prototype.each=function(v){var b=this;Q(this.members,function(x,S){v(b.get(S))})},h.prototype.setMyID=function(v){this.myID=v},h.prototype.onSubscription=function(v){this.members=v.presence.hash,this.count=v.presence.count,this.me=this.get(this.myID)},h.prototype.addMember=function(v){return this.get(v.user_id)===null&&this.count++,this.members[v.user_id]=v.user_info,this.get(v.user_id)},h.prototype.removeMember=function(v){var b=this.get(v.user_id);return b&&(delete this.members[v.user_id],this.count--),b},h.prototype.reset=function(){this.members={},this.count=0,this.myID=null,this.me=null},h}(),Xoe=Joe,Yoe=function(){var h=function(v,b){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(x,S){x.__proto__=S}||function(x,S){for(var z in S)S.hasOwnProperty(z)&&(x[z]=S[z])},h(v,b)};return function(v,b){h(v,b);function x(){this.constructor=v}v.prototype=b===null?Object.create(b):(x.prototype=b.prototype,new x)}}(),Zoe=function(h){Yoe(v,h);function v(b,x){var S=h.call(this,b,x)||this;return S.members=new Xoe,S}return v.prototype.authorize=function(b,x){var S=this;h.prototype.authorize.call(this,b,function(z,se){if(!z){if(se=se,se.channel_data===void 0){var Oe=Ze.buildLogSuffix("authenticationEndpoint");ue.error("Invalid auth response for channel '"+S.name+"',"+("expected 'channel_data' field. "+Oe)),x("Invalid auth response");return}var gt=JSON.parse(se.channel_data);S.members.setMyID(gt.user_id)}x(z,se)})},v.prototype.handleEvent=function(b){var x=b.event;if(x.indexOf("pusher_internal:")===0)this.handleInternalEvent(b);else{var S=b.data,z={};b.user_id&&(z.user_id=b.user_id),this.emit(x,S,z)}},v.prototype.handleInternalEvent=function(b){var x=b.event,S=b.data;switch(x){case"pusher_internal:subscription_succeeded":this.handleSubscriptionSucceededEvent(b);break;case"pusher_internal:member_added":var z=this.members.addMember(S);this.emit("pusher:member_added",z);break;case"pusher_internal:member_removed":var se=this.members.removeMember(S);se&&this.emit("pusher:member_removed",se);break}},v.prototype.handleSubscriptionSucceededEvent=function(b){this.subscriptionPending=!1,this.subscribed=!0,this.subscriptionCancelled?this.pusher.unsubscribe(this.name):(this.members.onSubscription(b.data),this.emit("pusher:subscription_succeeded",this.members))},v.prototype.disconnect=function(){this.members.reset(),h.prototype.disconnect.call(this)},v}(KC),Qoe=Zoe,HM=n(1),ex=n(0),Koe=function(){var h=function(v,b){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(x,S){x.__proto__=S}||function(x,S){for(var z in S)S.hasOwnProperty(z)&&(x[z]=S[z])},h(v,b)};return function(v,b){h(v,b);function x(){this.constructor=v}v.prototype=b===null?Object.create(b):(x.prototype=b.prototype,new x)}}(),eie=function(h){Koe(v,h);function v(b,x,S){var z=h.call(this,b,x)||this;return z.key=null,z.nacl=S,z}return v.prototype.authorize=function(b,x){var S=this;h.prototype.authorize.call(this,b,function(z,se){if(z){x(!0,se);return}var Oe=se.shared_secret;if(!Oe){var gt="No shared_secret key in auth payload for encrypted channel: "+S.name;x(!0,gt);return}S.key=Object(ex.decode)(Oe),delete se.shared_secret,x(!1,se)})},v.prototype.trigger=function(b,x){throw new OM("Client events are not currently supported for encrypted channels")},v.prototype.handleEvent=function(b){var x=b.event,S=b.data;if(x.indexOf("pusher_internal:")===0||x.indexOf("pusher:")===0){h.prototype.handleEvent.call(this,b);return}this.handleEncryptedEvent(x,S)},v.prototype.handleEncryptedEvent=function(b,x){var S=this;if(!this.key){ue.debug("Received encrypted event before key has been retrieved from the authEndpoint");return}if(!x.ciphertext||!x.nonce){ue.error("Unexpected format for encrypted event, expected object with `ciphertext` and `nonce` fields, got: "+x);return}var z=Object(ex.decode)(x.ciphertext);if(z.length0&&this.emit("connecting_in",Math.round(b/1e3)),this.retryTimer=new ce(b||0,function(){x.disconnectInternally(),x.connect()})},v.prototype.clearRetryTimer=function(){this.retryTimer&&(this.retryTimer.ensureAborted(),this.retryTimer=null)},v.prototype.setUnavailableTimer=function(){var b=this;this.unavailableTimer=new ce(this.options.unavailableTimeout,function(){b.updateState("unavailable")})},v.prototype.clearUnavailableTimer=function(){this.unavailableTimer&&this.unavailableTimer.ensureAborted()},v.prototype.sendActivityCheck=function(){var b=this;this.stopActivityCheck(),this.connection.ping(),this.activityTimer=new ce(this.options.pongTimeout,function(){b.timeline.error({pong_timed_out:b.options.pongTimeout}),b.retryIn(0)})},v.prototype.resetActivityCheck=function(){var b=this;this.stopActivityCheck(),this.connection&&!this.connection.handlesActivityChecks()&&(this.activityTimer=new ce(this.activityTimeout,function(){b.sendActivityCheck()}))},v.prototype.stopActivityCheck=function(){this.activityTimer&&this.activityTimer.ensureAborted()},v.prototype.buildConnectionCallbacks=function(b){var x=this;return re({},b,{message:function(S){x.resetActivityCheck(),x.emit("message",S)},ping:function(){x.send_event("pusher:pong",{})},activity:function(){x.resetActivityCheck()},error:function(S){x.emit("error",{type:"WebSocketError",error:S})},closed:function(){x.abandonConnection(),x.shouldRetry()&&x.retryIn(1e3)}})},v.prototype.buildHandshakeCallbacks=function(b){var x=this;return re({},b,{connected:function(S){x.activityTimeout=Math.min(x.options.activityTimeout,S.activityTimeout,S.connection.activityTimeout||1/0),x.clearUnavailableTimer(),x.setConnection(S.connection),x.socket_id=x.connection.id,x.updateState("connected",{socket_id:x.socket_id})}})},v.prototype.buildErrorCallbacks=function(){var b=this,x=function(S){return function(z){z.error&&b.emit("error",{type:"WebSocketError",error:z.error}),S(z)}};return{tls_only:x(function(){b.usingTLS=!0,b.updateStrategy(),b.retryIn(0)}),refused:x(function(){b.disconnect()}),backoff:x(function(){b.retryIn(1e3)}),retry:x(function(){b.retryIn(0)})}},v.prototype.setConnection=function(b){this.connection=b;for(var x in this.connectionCallbacks)this.connection.bind(x,this.connectionCallbacks[x]);this.resetActivityCheck()},v.prototype.abandonConnection=function(){if(!!this.connection){this.stopActivityCheck();for(var b in this.connectionCallbacks)this.connection.unbind(b,this.connectionCallbacks[b]);var x=this.connection;return this.connection=null,x}},v.prototype.updateState=function(b,x){var S=this.state;if(this.state=b,S!==b){var z=b;z==="connected"&&(z+=" with new socket ID "+x.socket_id),ue.debug("State changed",S+" -> "+z),this.timeline.info({state:b,params:x}),this.emit("state_change",{previous:S,current:b}),this.emit(b,x)}},v.prototype.shouldRetry=function(){return this.state==="connecting"||this.state==="connected"},v}(Fn),aie=rie,oie=function(){function h(){this.channels={}}return h.prototype.add=function(v,b){return this.channels[v]||(this.channels[v]=uie(v,b)),this.channels[v]},h.prototype.all=function(){return Je(this.channels)},h.prototype.find=function(v){return this.channels[v]},h.prototype.remove=function(v){var b=this.channels[v];return delete this.channels[v],b},h.prototype.disconnect=function(){Q(this.channels,function(v){v.disconnect()})},h}(),iie=oie;function uie(h,v){if(h.indexOf("private-encrypted-")===0){if(v.config.nacl)return Mu.createEncryptedChannel(h,v,v.config.nacl);var b="Tried to subscribe to a private-encrypted- channel but no nacl implementation available",x=Ze.buildLogSuffix("encryptedChannelSupport");throw new OM(b+". "+x)}else return h.indexOf("private-")===0?Mu.createPrivateChannel(h,v):h.indexOf("presence-")===0?Mu.createPresenceChannel(h,v):Mu.createChannel(h,v)}var lie={createChannels:function(){return new iie},createConnectionManager:function(h,v){return new aie(h,v)},createChannel:function(h,v){return new UM(h,v)},createPrivateChannel:function(h,v){return new KC(h,v)},createPresenceChannel:function(h,v){return new Qoe(h,v)},createEncryptedChannel:function(h,v,b){return new tie(h,v,b)},createTimelineSender:function(h,v){return new koe(h,v)},createAuthorizer:function(h,v){return v.authorizer?v.authorizer(h,v):new Noe(h,v)},createHandshake:function(h,v){return new joe(h,v)},createAssistantToTheTransportManager:function(h,v,b){return new Foe(h,v,b)}},Mu=lie,cie=function(){function h(v){this.options=v||{},this.livesLeft=this.options.lives||1/0}return h.prototype.getAssistant=function(v){return Mu.createAssistantToTheTransportManager(this,v,{minPingDelay:this.options.minPingDelay,maxPingDelay:this.options.maxPingDelay})},h.prototype.isAlive=function(){return this.livesLeft>0},h.prototype.reportDeath=function(){this.livesLeft-=1},h}(),BM=cie,sie=function(){function h(v,b){this.strategies=v,this.loop=Boolean(b.loop),this.failFast=Boolean(b.failFast),this.timeout=b.timeout,this.timeoutLimit=b.timeoutLimit}return h.prototype.isSupported=function(){return j(this.strategies,ee.method("isSupported"))},h.prototype.connect=function(v,b){var x=this,S=this.strategies,z=0,se=this.timeout,Oe=null,gt=function(xn,Wr){Wr?b(null,Wr):(z=z+1,x.loop&&(z=z%S.length),z0&&(z=new ce(x.timeout,function(){se.abort(),S(!0)})),se=v.connect(b,function(Oe,gt){Oe&&z&&z.isRunning()&&!x.failFast||(z&&z.ensureAborted(),S(Oe,gt))}),{abort:function(){z&&z.ensureAborted(),se.abort()},forceMinPriority:function(Oe){se.forceMinPriority(Oe)}}},h}(),Rf=sie,fie=function(){function h(v){this.strategies=v}return h.prototype.isSupported=function(){return j(this.strategies,ee.method("isSupported"))},h.prototype.connect=function(v,b){return die(this.strategies,v,function(x,S){return function(z,se){if(S[x].error=z,z){pie(S)&&b(!0);return}qe(S,function(Oe){Oe.forceMinPriority(se.transport.priority)}),b(null,se)}})},h}(),tx=fie;function die(h,v,b){var x=N(h,function(S,z,se,Oe){return S.connect(v,b(z,Oe))});return{abort:function(){qe(x,mie)},forceMinPriority:function(S){qe(x,function(z){z.forceMinPriority(S)})}}}function pie(h){return J(h,function(v){return Boolean(v.error)})}function mie(h){!h.error&&!h.aborted&&(h.abort(),h.aborted=!0)}var vie=function(){function h(v,b,x){this.strategy=v,this.transports=b,this.ttl=x.ttl||1800*1e3,this.usingTLS=x.useTLS,this.timeline=x.timeline}return h.prototype.isSupported=function(){return this.strategy.isSupported()},h.prototype.connect=function(v,b){var x=this.usingTLS,S=_ie(x),z=[this.strategy];if(S&&S.timestamp+this.ttl>=ee.now()){var se=this.transports[S.transport];se&&(this.timeline.info({cached:!0,transport:S.transport,latency:S.latency}),z.push(new Rf([se],{timeout:S.latency*2+1e3,failFast:!0})))}var Oe=ee.now(),gt=z.pop().connect(v,function xn(Wr,Ua){Wr?(WM(x),z.length>0?(Oe=ee.now(),gt=z.pop().connect(v,xn)):b(Wr)):(gie(x,Ua.transport.name,ee.now()-Oe),b(null,Ua))});return{abort:function(){gt.abort()},forceMinPriority:function(xn){v=xn,gt&>.forceMinPriority(xn)}}},h}(),hie=vie;function nx(h){return"pusherTransport"+(h?"TLS":"NonTLS")}function _ie(h){var v=Yt.getLocalStorage();if(v)try{var b=v[nx(h)];if(b)return JSON.parse(b)}catch{WM(h)}return null}function gie(h,v,b){var x=Yt.getLocalStorage();if(x)try{x[nx(h)]=me({timestamp:ee.now(),transport:v,latency:b})}catch{}}function WM(h){var v=Yt.getLocalStorage();if(v)try{delete v[nx(h)]}catch{}}var yie=function(){function h(v,b){var x=b.delay;this.strategy=v,this.options={delay:x}}return h.prototype.isSupported=function(){return this.strategy.isSupported()},h.prototype.connect=function(v,b){var x=this.strategy,S,z=new ce(this.options.delay,function(){S=x.connect(v,b)});return{abort:function(){z.ensureAborted(),S&&S.abort()},forceMinPriority:function(se){v=se,S&&S.forceMinPriority(se)}}},h}(),wg=yie,Die=function(){function h(v,b,x){this.test=v,this.trueBranch=b,this.falseBranch=x}return h.prototype.isSupported=function(){var v=this.test()?this.trueBranch:this.falseBranch;return v.isSupported()},h.prototype.connect=function(v,b){var x=this.test()?this.trueBranch:this.falseBranch;return x.connect(v,b)},h}(),d0=Die,bie=function(){function h(v){this.strategy=v}return h.prototype.isSupported=function(){return this.strategy.isSupported()},h.prototype.connect=function(v,b){var x=this.strategy.connect(v,function(S,z){z&&x.abort(),b(S,z)});return x},h}(),wie=bie;function p0(h){return function(){return h.isSupported()}}var Cie=function(h,v,b){var x={};function S(t9,due,pue,mue,vue){var n9=b(h,t9,due,pue,mue,vue);return x[t9]=n9,n9}var z=Object.assign({},v,{hostNonTLS:h.wsHost+":"+h.wsPort,hostTLS:h.wsHost+":"+h.wssPort,httpPath:h.wsPath}),se=Object.assign({},z,{useTLS:!0}),Oe=Object.assign({},v,{hostNonTLS:h.httpHost+":"+h.httpPort,hostTLS:h.httpHost+":"+h.httpsPort,httpPath:h.httpPath}),gt={loop:!0,timeout:15e3,timeoutLimit:6e4},xn=new BM({lives:2,minPingDelay:1e4,maxPingDelay:h.activityTimeout}),Wr=new BM({lives:2,minPingDelay:1e4,maxPingDelay:h.activityTimeout}),Ua=S("ws","ws",3,z,xn),Iu=S("wss","ws",3,se,xn),uue=S("sockjs","sockjs",1,Oe),XM=S("xhr_streaming","xhr_streaming",1,Oe,Wr),lue=S("xdr_streaming","xdr_streaming",1,Oe,Wr),YM=S("xhr_polling","xhr_polling",1,Oe),cue=S("xdr_polling","xdr_polling",1,Oe),ZM=new Rf([Ua],gt),sue=new Rf([Iu],gt),fue=new Rf([uue],gt),QM=new Rf([new d0(p0(XM),XM,lue)],gt),KM=new Rf([new d0(p0(YM),YM,cue)],gt),e9=new Rf([new d0(p0(QM),new tx([QM,new wg(KM,{delay:4e3})]),KM)],gt),ix=new d0(p0(e9),e9,fue),ux;return v.useTLS?ux=new tx([ZM,new wg(ix,{delay:2e3})]):ux=new tx([ZM,new wg(sue,{delay:2e3}),new wg(ix,{delay:5e3})]),new hie(new wie(new d0(p0(Ua),ux,ix)),x,{ttl:18e5,timeline:v.timeline,useTLS:v.useTLS})},xie=Cie,Tie=function(){var h=this;h.timeline.info(h.buildTimelineMessage({transport:h.name+(h.options.useTLS?"s":"")})),h.hooks.isInitialized()?h.changeState("initialized"):h.hooks.file?(h.changeState("initializing"),s.load(h.hooks.file,{useTLS:h.options.useTLS},function(v,b){h.hooks.isInitialized()?(h.changeState("initialized"),b(!0)):(v&&h.onError(v),h.onClose(),b(!1))})):h.onClose()},Eie={getRequest:function(h){var v=new window.XDomainRequest;return v.ontimeout=function(){h.emit("error",new Hoe),h.close()},v.onerror=function(b){h.emit("error",b),h.close()},v.onprogress=function(){v.responseText&&v.responseText.length>0&&h.onChunk(200,v.responseText)},v.onload=function(){v.responseText&&v.responseText.length>0&&h.onChunk(200,v.responseText),h.emit("finished",200),h.close()},v},abortRequest:function(h){h.ontimeout=h.onerror=h.onprogress=h.onload=null,h.abort()}},Rie=Eie,Sie=function(){var h=function(v,b){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(x,S){x.__proto__=S}||function(x,S){for(var z in S)S.hasOwnProperty(z)&&(x[z]=S[z])},h(v,b)};return function(v,b){h(v,b);function x(){this.constructor=v}v.prototype=b===null?Object.create(b):(x.prototype=b.prototype,new x)}}(),Fie=256*1024,Mie=function(h){Sie(v,h);function v(b,x,S){var z=h.call(this)||this;return z.hooks=b,z.method=x,z.url=S,z}return v.prototype.start=function(b){var x=this;this.position=0,this.xhr=this.hooks.getRequest(this),this.unloader=function(){x.close()},Yt.addUnloadListener(this.unloader),this.xhr.open(this.method,this.url,!0),this.xhr.setRequestHeader&&this.xhr.setRequestHeader("Content-Type","application/json"),this.xhr.send(b)},v.prototype.close=function(){this.unloader&&(Yt.removeUnloadListener(this.unloader),this.unloader=null),this.xhr&&(this.hooks.abortRequest(this.xhr),this.xhr=null)},v.prototype.onChunk=function(b,x){for(;;){var S=this.advanceBuffer(x);if(S)this.emit("chunk",{status:b,data:S});else break}this.isBufferTooLong(x)&&this.emit("buffer_too_long")},v.prototype.advanceBuffer=function(b){var x=b.slice(this.position),S=x.indexOf(` `);return S!==-1?(this.position+=S+1,x.slice(0,S)):null},v.prototype.isBufferTooLong=function(b){return this.position===b.length&&b.length>Fie},v}(Fn),Iie=Mie,rx;(function(h){h[h.CONNECTING=0]="CONNECTING",h[h.OPEN=1]="OPEN",h[h.CLOSED=3]="CLOSED"})(rx||(rx={}));var Sf=rx,Aie=1,Lie=function(){function h(v,b){this.hooks=v,this.session=$M(1e3)+"/"+Oie(8),this.location=jie(b),this.readyState=Sf.CONNECTING,this.openStream()}return h.prototype.send=function(v){return this.sendRaw(JSON.stringify([v]))},h.prototype.ping=function(){this.hooks.sendHeartbeat(this)},h.prototype.close=function(v,b){this.onClose(v,b,!0)},h.prototype.sendRaw=function(v){if(this.readyState===Sf.OPEN)try{return Yt.createSocketRequest("POST",zM(Pie(this.location,this.session))).start(v),!0}catch{return!1}else return!1},h.prototype.reconnect=function(){this.closeStream(),this.openStream()},h.prototype.onClose=function(v,b,x){this.closeStream(),this.readyState=Sf.CLOSED,this.onclose&&this.onclose({code:v,reason:b,wasClean:x})},h.prototype.onChunk=function(v){if(v.status===200){this.readyState===Sf.OPEN&&this.onActivity();var b,x=v.data.slice(0,1);switch(x){case"o":b=JSON.parse(v.data.slice(1)||"{}"),this.onOpen(b);break;case"a":b=JSON.parse(v.data.slice(1)||"[]");for(var S=0;S0&&h.onChunk(b.status,b.responseText);break;case 4:b.responseText&&b.responseText.length>0&&h.onChunk(b.status,b.responseText),h.emit("finished",b.status),h.close();break}},b},abortRequest:function(h){h.onreadystatechange=null,h.abort()}},$ie=zie,qie={createStreamingSocket:function(h){return this.createSocket(Hie,h)},createPollingSocket:function(h){return this.createSocket(Wie,h)},createSocket:function(h,v){return new kie(h,v)},createXHR:function(h,v){return this.createRequest($ie,h,v)},createRequest:function(h,v,b){return new Iie(h,v,b)}},qM=qie;qM.createXDR=function(h,v){return this.createRequest(Rie,h,v)};var Gie=qM,Vie={nextAuthCallbackID:1,auth_callbacks:{},ScriptReceivers:a,DependenciesReceivers:c,getDefaultStrategy:xie,Transports:xoe,transportConnectionInitializer:Tie,HTTPFactory:Gie,TimelineTransport:ne,getXHRAPI:function(){return window.XMLHttpRequest},getWebSocketAPI:function(){return window.WebSocket||window.MozWebSocket},setup:function(h){var v=this;window.Pusher=h;var b=function(){v.onDocumentBody(h.ready)};window.JSON?b():s.load("json2",{},b)},getDocument:function(){return document},getProtocol:function(){return this.getDocument().location.protocol},getAuthorizers:function(){return{ajax:Qe,jsonp:je}},onDocumentBody:function(h){var v=this;document.body?h():setTimeout(function(){v.onDocumentBody(h)},0)},createJSONPRequest:function(h,v){return new Ee(h,v)},createScriptRequest:function(h){return new Ke(h)},getLocalStorage:function(){try{return window.localStorage}catch{return}},createXHR:function(){return this.getXHRAPI()?this.createXMLHttpRequest():this.createMicrosoftXHR()},createXMLHttpRequest:function(){var h=this.getXHRAPI();return new h},createMicrosoftXHR:function(){return new ActiveXObject("Microsoft.XMLHTTP")},getNetwork:function(){return Roe},createWebSocket:function(h){var v=this.getWebSocketAPI();return new v(h)},createSocketRequest:function(h,v){if(this.isXHRSupported())return this.HTTPFactory.createXHR(h,v);if(this.isXDRSupported(v.indexOf("https:")===0))return this.HTTPFactory.createXDR(h,v);throw"Cross-origin HTTP requests are not supported"},isXHRSupported:function(){var h=this.getXHRAPI();return Boolean(h)&&new h().withCredentials!==void 0},isXDRSupported:function(h){var v=h?"https:":"http:",b=this.getProtocol();return Boolean(window.XDomainRequest)&&b===v},addUnloadListener:function(h){window.addEventListener!==void 0?window.addEventListener("unload",h,!1):window.attachEvent!==void 0&&window.attachEvent("onunload",h)},removeUnloadListener:function(h){window.addEventListener!==void 0?window.removeEventListener("unload",h,!1):window.detachEvent!==void 0&&window.detachEvent("onunload",h)}},Yt=Vie,ax;(function(h){h[h.ERROR=3]="ERROR",h[h.INFO=6]="INFO",h[h.DEBUG=7]="DEBUG"})(ax||(ax={}));var Cg=ax,Jie=function(){function h(v,b,x){this.key=v,this.session=b,this.events=[],this.options=x||{},this.sent=0,this.uniqueID=0}return h.prototype.log=function(v,b){v<=this.options.level&&(this.events.push(re({},b,{timestamp:ee.now()})),this.options.limit&&this.events.length>this.options.limit&&this.events.shift())},h.prototype.error=function(v){this.log(Cg.ERROR,v)},h.prototype.info=function(v){this.log(Cg.INFO,v)},h.prototype.debug=function(v){this.log(Cg.DEBUG,v)},h.prototype.isEmpty=function(){return this.events.length===0},h.prototype.send=function(v,b){var x=this,S=re({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=[],v(S,function(z,se){z||x.sent++,b&&b(z,se)}),!0},h.prototype.generateUniqueID=function(){return this.uniqueID++,this.uniqueID},h}(),Xie=Jie,Yie=function(){function h(v,b,x,S){this.name=v,this.priority=b,this.transport=x,this.options=S||{}}return h.prototype.isSupported=function(){return this.transport.isSupported({useTLS:this.options.useTLS})},h.prototype.connect=function(v,b){var x=this;if(this.isSupported()){if(this.priority{"use strict";var Nhe="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";XO.exports=Nhe});var ek=Z((Msn,KO)=>{"use strict";var Ohe=YO();function ZO(){}function QO(){}QO.resetWarningCache=ZO;KO.exports=function(){function e(r,a,o,i,l,u){if(u!==Ohe){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 t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:QO,resetWarningCache:ZO};return n.PropTypes=n,n}});var xh=Z((Lsn,tk)=>{tk.exports=ek()();var Isn,Asn});var hE=Z(Lm=>{"use strict";Object.defineProperty(Lm,"__esModule",{value:!0});var nk=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],zD=nk.join(","),rk=typeof Element=="undefined",xd=rk?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,mE=!rk&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},ak=function(t,n,r){var a=Array.prototype.slice.apply(t.querySelectorAll(zD));return n&&xd.call(t,zD)&&a.unshift(t),a=a.filter(r),a},ok=function e(t,n,r){for(var a=[],o=Array.from(t);o.length;){var i=o.shift();if(i.tagName==="SLOT"){var l=i.assignedElements(),u=l.length?l:i.children,c=e(u,!0,r);r.flatten?a.push.apply(a,c):a.push({scope:i,candidates:c})}else{var s=xd.call(i,zD);s&&r.filter(i)&&(n||!t.includes(i))&&a.push(i);var f=i.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(i),d=!r.shadowRootFilter||r.shadowRootFilter(i);if(f&&d){var p=e(f===!0?i.children:f.children,!0,r);r.flatten?a.push.apply(a,p):a.push({scope:i,candidates:p})}else o.unshift.apply(o,i.children)}}return a},ik=function(t,n){return t.tabIndex<0&&(n||/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||t.isContentEditable)&&isNaN(parseInt(t.getAttribute("tabindex"),10))?0:t.tabIndex},khe=function(t,n){return t.tabIndex===n.tabIndex?t.documentOrder-n.documentOrder:t.tabIndex-n.tabIndex},uk=function(t){return t.tagName==="INPUT"},Uhe=function(t){return uk(t)&&t.type==="hidden"},Hhe=function(t){var n=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(r){return r.tagName==="SUMMARY"});return n},Bhe=function(t,n){for(var r=0;rsummary:first-of-type"),i=o?t.parentElement:t;if(xd.call(i,"details:not([open]) *"))return!0;var l=mE(t).host,u=(l==null?void 0:l.ownerDocument.contains(l))||t.ownerDocument.contains(t);if(!r||r==="full"){if(typeof a=="function"){for(var c=t;t;){var s=t.parentElement,f=mE(t);if(s&&!s.shadowRoot&&a(s)===!0)return lk(t);t.assignedSlot?t=t.assignedSlot:!s&&f!==t.ownerDocument?t=f.host:t=s}t=c}if(u)return!t.getClientRects().length}else if(r==="non-zero-area")return lk(t);return!1},Ghe=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var n=t.parentElement;n;){if(n.tagName==="FIELDSET"&&n.disabled){for(var r=0;r=0)},Jhe=function e(t){var n=[],r=[];return t.forEach(function(a,o){var i=!!a.scope,l=i?a.scope:a,u=ik(l,i),c=i?e(a.candidates):l;u===0?i?n.push.apply(n,c):n.push(l):r.push({documentOrder:o,tabIndex:u,item:a,isScope:i,content:c})}),r.sort(khe).reduce(function(a,o){return o.isScope?a.push.apply(a,o.content):a.push(o.content),a},[]).concat(n)},Xhe=function(t,n){n=n||{};var r;return n.getShadowRoot?r=ok([t],n.includeContainer,{filter:vE.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:Vhe}):r=ak(t,n.includeContainer,vE.bind(null,n)),Jhe(r)},Yhe=function(t,n){n=n||{};var r;return n.getShadowRoot?r=ok([t],n.includeContainer,{filter:$D.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):r=ak(t,n.includeContainer,$D.bind(null,n)),r},Zhe=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return xd.call(t,zD)===!1?!1:vE(n,t)},Qhe=nk.concat("iframe").join(","),Khe=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return xd.call(t,Qhe)===!1?!1:$D(n,t)};Lm.focusable=Yhe;Lm.isFocusable=Khe;Lm.isTabbable=Zhe;Lm.tabbable=Xhe});var mk=Z(_E=>{"use strict";Object.defineProperty(_E,"__esModule",{value:!0});var cc=hE();function ck(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function sk(e){for(var t=1;t0){var r=e[e.length-1];r!==n&&r.pause()}var a=e.indexOf(n);a===-1||e.splice(a,1),e.push(n)},deactivateTrap:function(n){var r=e.indexOf(n);r!==-1&&e.splice(r,1),e.length>0&&e[e.length-1].unpause()}}}(),t_e=function(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select=="function"},n_e=function(t){return t.key==="Escape"||t.key==="Esc"||t.keyCode===27},r_e=function(t){return t.key==="Tab"||t.keyCode===9},dk=function(t){return setTimeout(t,0)},pk=function(t,n){var r=-1;return t.every(function(a,o){return n(a)?(r=o,!1):!0}),r},Th=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a1?W-1:0),ce=1;ce=0)T=r.activeElement;else{var L=o.tabbableGroups[0],W=L&&L.firstTabbableNode;T=W||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 L=cc.tabbable(T,a.tabbableOptions),W=cc.focusable(T,a.tabbableOptions);return{container:T,tabbableNodes:L,focusableNodes:W,firstTabbableNode:L.length>0?L[0]:null,lastTabbableNode:L.length>0?L[L.length-1]:null,nextTabbableNode:function(ce){var te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,le=W.findIndex(function(ee){return ee===ce});if(!(le<0))return te?W.slice(le+1).find(function(ee){return cc.isTabbable(ee,a.tabbableOptions)}):W.slice(0,le).reverse().find(function(ee){return cc.isTabbable(ee,a.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")},d=function A(T){if(T!==!1&&T!==r.activeElement){if(!T||!T.focus){A(s());return}T.focus({preventScroll:!!a.preventScroll}),o.mostRecentlyFocusedNode=T,t_e(T)&&T.select()}},p=function(T){var L=c("setReturnFocus",T);return L||(L===!1?!1:T)},m=function(T){var L=qD(T);if(!(u(L)>=0)){if(Th(a.clickOutsideDeactivates,T)){i.deactivate({returnFocus:a.returnFocusOnDeactivate&&!cc.isFocusable(L,a.tabbableOptions)});return}Th(a.allowOutsideClick,T)||T.preventDefault()}},y=function(T){var L=qD(T),W=u(L)>=0;W||L instanceof Document?W&&(o.mostRecentlyFocusedNode=L):(T.stopImmediatePropagation(),d(o.mostRecentlyFocusedNode||s()))},_=function(T){var L=qD(T);f();var W=null;if(o.tabbableGroups.length>0){var $=u(L),ce=$>=0?o.containerGroups[$]:void 0;if($<0)T.shiftKey?W=o.tabbableGroups[o.tabbableGroups.length-1].lastTabbableNode:W=o.tabbableGroups[0].firstTabbableNode;else if(T.shiftKey){var te=pk(o.tabbableGroups,function(Q){var pe=Q.firstTabbableNode;return L===pe});if(te<0&&(ce.container===L||cc.isFocusable(L,a.tabbableOptions)&&!cc.isTabbable(L,a.tabbableOptions)&&!ce.nextTabbableNode(L,!1))&&(te=$),te>=0){var le=te===0?o.tabbableGroups.length-1:te-1,ee=o.tabbableGroups[le];W=ee.lastTabbableNode}}else{var re=pk(o.tabbableGroups,function(Q){var pe=Q.lastTabbableNode;return L===pe});if(re<0&&(ce.container===L||cc.isFocusable(L,a.tabbableOptions)&&!cc.isTabbable(L,a.tabbableOptions)&&!ce.nextTabbableNode(L))&&(re=$),re>=0){var de=re===o.tabbableGroups.length-1?0:re+1,q=o.tabbableGroups[de];W=q.firstTabbableNode}}}else W=c("fallbackFocus");W&&(T.preventDefault(),d(W))},D=function(T){if(n_e(T)&&Th(a.escapeDeactivates,T)!==!1){T.preventDefault(),i.deactivate();return}if(r_e(T)){_(T);return}},C=function(T){var L=qD(T);u(L)>=0||Th(a.clickOutsideDeactivates,T)||Th(a.allowOutsideClick,T)||(T.preventDefault(),T.stopImmediatePropagation())},R=function(){if(!!o.active)return fk.activateTrap(i),o.delayInitialFocusTimer=a.delayInitialFocus?dk(function(){d(s())}):d(s()),r.addEventListener("focusin",y,!0),r.addEventListener("mousedown",m,{capture:!0,passive:!1}),r.addEventListener("touchstart",m,{capture:!0,passive:!1}),r.addEventListener("click",C,{capture:!0,passive:!1}),r.addEventListener("keydown",D,{capture:!0,passive:!1}),i},I=function(){if(!!o.active)return r.removeEventListener("focusin",y,!0),r.removeEventListener("mousedown",m,!0),r.removeEventListener("touchstart",m,!0),r.removeEventListener("click",C,!0),r.removeEventListener("keydown",D,!0),i};return i={get active(){return o.active},get paused(){return o.paused},activate:function(T){if(o.active)return this;var L=l(T,"onActivate"),W=l(T,"onPostActivate"),$=l(T,"checkCanFocusTrap");$||f(),o.active=!0,o.paused=!1,o.nodeFocusedBeforeActivation=r.activeElement,L&&L();var ce=function(){$&&f(),R(),W&&W()};return $?($(o.containers.concat()).then(ce,ce),this):(ce(),this)},deactivate:function(T){if(!o.active)return this;var L=sk({onDeactivate:a.onDeactivate,onPostDeactivate:a.onPostDeactivate,checkCanReturnFocus:a.checkCanReturnFocus},T);clearTimeout(o.delayInitialFocusTimer),o.delayInitialFocusTimer=void 0,I(),o.active=!1,o.paused=!1,fk.deactivateTrap(i);var W=l(L,"onDeactivate"),$=l(L,"onPostDeactivate"),ce=l(L,"checkCanReturnFocus"),te=l(L,"returnFocus","returnFocusOnDeactivate");W&&W();var le=function(){dk(function(){te&&d(p(o.nodeFocusedBeforeActivation)),$&&$()})};return te&&ce?(ce(p(o.nodeFocusedBeforeActivation)).then(le,le),this):(le(),this)},pause:function(){return o.paused||!o.active?this:(o.paused=!0,I(),this)},unpause:function(){return!o.paused||!o.active?this:(o.paused=!1,f(),R(),this)},updateContainerElements:function(T){var L=[].concat(T).filter(Boolean);return o.containers=L.map(function(W){return typeof W=="string"?r.querySelector(W):W}),o.active&&f(),this}},i.updateContainerElements(t),i};_E.createFocusTrap=a_e});var _k=Z((Nsn,hk)=>{"use strict";function gE(e){return gE=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},gE(e)}function o_e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vk(e,t){for(var n=0;n1?s-1:0),d=1;d element.");var i=function(c){var s=a.props.containerElements;o&&(typeof o.ref=="function"?o.ref(c):o.ref&&(o.ref.current=c)),a.focusTrapElements=s||[c]},l=VD.cloneElement(o,{ref:i});return l}return null}}]),n}(VD.Component),Rh=typeof Element=="undefined"?Function:Element;DE.propTypes={active:Pt.bool,paused:Pt.bool,focusTrapOptions:Pt.shape({document:Pt.object,onActivate:Pt.func,onPostActivate:Pt.func,checkCanFocusTrap:Pt.func,onDeactivate:Pt.func,onPostDeactivate:Pt.func,checkCanReturnFocus:Pt.func,initialFocus:Pt.oneOfType([Pt.instanceOf(Rh),Pt.string,Pt.bool,Pt.func]),fallbackFocus:Pt.oneOfType([Pt.instanceOf(Rh),Pt.string,Pt.func]),escapeDeactivates:Pt.oneOfType([Pt.bool,Pt.func]),clickOutsideDeactivates:Pt.oneOfType([Pt.bool,Pt.func]),returnFocusOnDeactivate:Pt.bool,setReturnFocus:Pt.oneOfType([Pt.instanceOf(Rh),Pt.string,Pt.bool,Pt.func]),allowOutsideClick:Pt.oneOfType([Pt.bool,Pt.func]),preventScroll:Pt.bool,tabbableOptions:Pt.shape({displayCheck:Pt.oneOf(["full","non-zero-area","none"]),getShadowRoot:Pt.oneOfType([Pt.bool,Pt.func])})}),containerElements:Pt.arrayOf(Pt.instanceOf(Rh)),children:Pt.oneOfType([Pt.element,Pt.instanceOf(Rh)])};DE.defaultProps={active:!0,paused:!1,focusTrapOptions:{},_createFocusTrap:p_e};hk.exports=DE});var Pm=Z((spn,Vk)=>{"use strict";var Gk=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function yDe(e,t){return!!(e===t||Gk(e)&&Gk(t))}function DDe(e,t){if(e.length!==t.length)return!1;for(var n=0;n{function RE(e,t){return sc.exports=RE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},sc.exports.__esModule=!0,sc.exports.default=sc.exports,RE(e,t)}sc.exports=RE,sc.exports.__esModule=!0,sc.exports.default=sc.exports});var FE=Z((dpn,Mh)=>{var wDe=SE();function CDe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,wDe(e,t)}Mh.exports=CDe,Mh.exports.__esModule=!0,Mh.exports.default=Mh.exports});var IE=Z(ME=>{"use strict";Object.defineProperty(ME,"__esModule",{value:!0});function xDe(e){if(e.sheet)return e.sheet;for(var t=0;t{"use strict";Object.defineProperty(AE,"__esModule",{value:!0});function RDe(e){function t(F,H,V,Y,j){for(var J=0,U=0,ie=0,oe=0,me,ge,ue=0,Ie=0,Te,Ze=Te=me=0,Se=0,Qe=0,lt=0,je=0,ft=V.length,Ke=ft-1,We,Ee="",rt="",cn="",ne="",_e;Seme)&&(je=(Ee=Ee.replace(" ",":")).length),0Y&&(Y=(H=H.trim()).charCodeAt(0)),Y){case 38:return H.replace(D,"$1"+F.trim());case 58:return F.trim()+H.replace(D,"$1"+F.trim());default:if(0<1*V&&0U.charCodeAt(8))break;case 115:j=j.replace(U,"-webkit-"+U)+";"+j;break;case 207:case 102:j=j.replace(U,"-webkit-"+(102V.charCodeAt(0)&&(V=V.trim()),N=V,V=[N],0{"use strict";Object.defineProperty(LE,"__esModule",{value:!0});var SDe=function(t){var n=new WeakMap;return function(r){if(n.has(r))return n.get(r);var a=t(r);return n.set(r,a),a}};LE.default=SDe});var KD=Z(PE=>{"use strict";Object.defineProperty(PE,"__esModule",{value:!0});function FDe(e){return e&&typeof e=="object"&&"default"in e?e.default:e}var MDe=IE(),IDe=FDe(Jk());Xk();var jE="/*|*/",ADe=jE+"}";function LDe(e){e&&QD.current.insert(e+"}")}var QD={current:null},jDe=function(t,n,r,a,o,i,l,u,c,s){switch(t){case 1:{switch(n.charCodeAt(0)){case 64:return QD.current.insert(n+";"),"";case 108:if(n.charCodeAt(2)===98)return""}break}case 2:{if(u===0)return n+jE;break}case 3:switch(u){case 102:case 112:return QD.current.insert(r[0]+n),"";default:return n+(s===0?jE:"")}case-2:n.split(ADe).forEach(LDe)}},PDe=function(t){t===void 0&&(t={});var n=t.key||"css",r;t.prefix!==void 0&&(r={prefix:t.prefix});var a=new IDe(r),o={},i;{i=t.container||document.head;var l=document.querySelectorAll("style[data-emotion-"+n+"]");Array.prototype.forEach.call(l,function(d){var p=d.getAttribute("data-emotion-"+n);p.split(" ").forEach(function(m){o[m]=!0}),d.parentNode!==i&&i.appendChild(d)})}var u;if(a.use(t.stylisPlugins)(jDe),u=function(p,m,y,_){var D=m.name;if(QD.current=y,!1)var C;a(p,m.styles),_&&(f.inserted[D]=!0)},!1)var c,s;var f={key:n,sheet:new MDe.StyleSheet({key:n,container:i,nonce:t.nonce,speedy:t.speedy}),nonce:t.nonce,inserted:o,registered:{},insert:u};return f};PE.default=PDe});var NE=Z(eb=>{"use strict";Object.defineProperty(eb,"__esModule",{value:!0});var NDe=!0;function ODe(e,t,n){var r="";return n.split(" ").forEach(function(a){e[a]!==void 0?t.push(e[a]):r+=a+" "}),r}var kDe=function(t,n,r){var a=t.key+"-"+n.name;if((r===!1||NDe===!1&&t.compat!==void 0)&&t.registered[a]===void 0&&(t.registered[a]=n.styles),t.inserted[n.name]===void 0){var o=n;do{var i=t.insert("."+a,o,t.sheet,!0);o=o.next}while(o!==void 0)}};eb.getRegisteredStyles=ODe;eb.insertStyles=kDe});var Yk=Z(OE=>{"use strict";Object.defineProperty(OE,"__esModule",{value:!0});function UDe(e){for(var t=0,n,r=0,a=e.length;a>=4;++r,a-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(a){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}OE.default=UDe});var Zk=Z(kE=>{"use strict";Object.defineProperty(kE,"__esModule",{value:!0});var HDe={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};kE.default=HDe});var Qk=Z(UE=>{"use strict";Object.defineProperty(UE,"__esModule",{value:!0});function BDe(e){var t={};return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}UE.default=BDe});var tb=Z(WE=>{"use strict";Object.defineProperty(WE,"__esModule",{value:!0});function HE(e){return e&&typeof e=="object"&&"default"in e?e.default:e}var WDe=HE(Yk()),zDe=HE(Zk()),$De=HE(Qk()),qDe=/[A-Z]|^ms/g,GDe=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Kk=function(t){return t.charCodeAt(1)===45},eU=function(t){return t!=null&&typeof t!="boolean"},BE=$De(function(e){return Kk(e)?e:e.replace(qDe,"-$&").toLowerCase()}),tU=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(GDe,function(r,a,o){return nl={name:a,styles:o,next:nl},a})}return zDe[t]!==1&&!Kk(t)&&typeof n=="number"&&n!==0?n+"px":n};function Ih(e,t,n,r){if(n==null)return"";if(n.__emotion_styles!==void 0)return n;switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return nl={name:n.name,styles:n.styles,next:nl},n.name;if(n.styles!==void 0){var a=n.next;if(a!==void 0)for(;a!==void 0;)nl={name:a.name,styles:a.styles,next:nl},a=a.next;var o=n.styles+";";return o}return VDe(e,t,n)}case"function":{if(e!==void 0){var i=nl,l=n(e);return nl=i,Ih(e,t,l,r)}break}case"string":if(!1)var u,c;break}if(t==null)return n;var s=t[n];return s!==void 0&&!r?s:n}function VDe(e,t,n){var r="";if(Array.isArray(n))for(var a=0;a{"use strict";FE();var fc=Ga(),XDe=KD(),rU=NE(),YDe=tb();function ZDe(e){return e&&e.__esModule?e:{default:e}}var QDe=ZDe(XDe),zE=Object.prototype.hasOwnProperty,aU=fc.createContext(typeof HTMLElement!="undefined"?QDe.default():null),oU=fc.createContext({}),KDe=aU.Provider,iU=function(t){var n=function(a,o){return fc.createElement(aU.Consumer,null,function(i){return t(a,i,o)})};return fc.forwardRef(n)},$E="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",ebe=function(t,n){var r={};for(var a in n)zE.call(n,a)&&(r[a]=n[a]);if(r[$E]=t,!1){var o;if(o.stack)var i}return r},tbe=function(){return null},uU=function(t,n,r,a){var o=r===null?n.css:n.css(r);typeof o=="string"&&t.registered[o]!==void 0&&(o=t.registered[o]);var i=n[$E],l=[o],u="";typeof n.className=="string"?u=rU.getRegisteredStyles(t.registered,l,n.className):n.className!=null&&(u=n.className+" ");var c=YDe.serializeStyles(l);if(!1)var s;var f=rU.insertStyles(t,c,typeof i=="string");u+=t.key+"-"+c.name;var d={};for(var p in n)zE.call(n,p)&&p!=="css"&&p!==$E&&(d[p]=n[p]);d.ref=a,d.className=u;var m=fc.createElement(i,d),y=fc.createElement(tbe,null);return fc.createElement(fc.Fragment,null,y,m)},nbe=iU(function(e,t,n){return typeof e.css=="function"?fc.createElement(oU.Consumer,null,function(r){return uU(t,e,r,n)}):uU(t,e,null,n)});Rd.CacheProvider=KDe;Rd.Emotion=nbe;Rd.ThemeContext=oU;Rd.createEmotionProps=ebe;Rd.hasOwnProperty=zE;Rd.withEmotionCache=iU});var rl=Z(qE=>{"use strict";Object.defineProperty(qE,"__esModule",{value:!0});var rbe=tb();function abe(){for(var e=arguments.length,t=new Array(e),n=0;n{"use strict";Object.defineProperty(du,"__esModule",{value:!0});var obe=FE(),al=Ga();KD();var ol=lU(),GE=NE(),VE=tb(),ibe=IE(),ube=rl();function cU(e){return e&&e.__esModule?e:{default:e}}var lbe=cU(obe),sU=cU(ube),fU=function(t,n){var r=arguments;if(n==null||!ol.hasOwnProperty.call(n,"css"))return al.createElement.apply(void 0,r);var a=r.length,o=new Array(a);o[0]=ol.Emotion,o[1]=ol.createEmotionProps(t,n);for(var i=2;i{"use strict";var Nm,Ah,nb,JE;typeof performance=="object"&&typeof performance.now=="function"?(pU=performance,Rn.unstable_now=function(){return pU.now()}):(XE=Date,mU=XE.now(),Rn.unstable_now=function(){return XE.now()-mU});var pU,XE,mU;typeof window=="undefined"||typeof MessageChannel!="function"?(Om=null,YE=null,ZE=function(){if(Om!==null)try{var e=Rn.unstable_now();Om(!0,e),Om=null}catch(t){throw setTimeout(ZE,0),t}},Nm=function(e){Om!==null?setTimeout(Nm,0,e):(Om=e,setTimeout(ZE,0))},Ah=function(e,t){YE=setTimeout(e,t)},nb=function(){clearTimeout(YE)},Rn.unstable_shouldYield=function(){return!1},JE=Rn.unstable_forceFrameRate=function(){}):(vU=window.setTimeout,hU=window.clearTimeout,typeof console!="undefined"&&(_U=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 _U!="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")),Lh=!1,jh=null,rb=-1,QE=5,KE=0,Rn.unstable_shouldYield=function(){return Rn.unstable_now()>=KE},JE=function(){},Rn.unstable_forceFrameRate=function(e){0>e||125>>1,a=e[r];if(a!==void 0&&0ib(i,n))u!==void 0&&0>ib(u,i)?(e[r]=u,e[l]=n,r=l):(e[r]=i,e[o]=n,r=o);else if(u!==void 0&&0>ib(u,n))e[r]=u,e[l]=n,r=l;else break e}}return t}return null}function ib(e,t){var n=e.sortIndex-t.sortIndex;return n!==0?n:e.id-t.id}var il=[],Ss=[],vbe=1,Mi=null,Fa=3,ub=!1,Sd=!1,Ph=!1;function nR(e){for(var t=pu(Ss);t!==null;){if(t.callback===null)ob(Ss);else if(t.startTime<=e)ob(Ss),t.sortIndex=t.expirationTime,tR(il,t);else break;t=pu(Ss)}}function rR(e){if(Ph=!1,nR(e),!Sd)if(pu(il)!==null)Sd=!0,Nm(aR);else{var t=pu(Ss);t!==null&&Ah(rR,t.startTime-e)}}function aR(e,t){Sd=!1,Ph&&(Ph=!1,nb()),ub=!0;var n=Fa;try{for(nR(t),Mi=pu(il);Mi!==null&&(!(Mi.expirationTime>t)||e&&!Rn.unstable_shouldYield());){var r=Mi.callback;if(typeof r=="function"){Mi.callback=null,Fa=Mi.priorityLevel;var a=r(Mi.expirationTime<=t);t=Rn.unstable_now(),typeof a=="function"?Mi.callback=a:Mi===pu(il)&&ob(il),nR(t)}else ob(il);Mi=pu(il)}if(Mi!==null)var o=!0;else{var i=pu(Ss);i!==null&&Ah(rR,i.startTime-t),o=!1}return o}finally{Mi=null,Fa=n,ub=!1}}var hbe=JE;Rn.unstable_IdlePriority=5;Rn.unstable_ImmediatePriority=1;Rn.unstable_LowPriority=4;Rn.unstable_NormalPriority=3;Rn.unstable_Profiling=null;Rn.unstable_UserBlockingPriority=2;Rn.unstable_cancelCallback=function(e){e.callback=null};Rn.unstable_continueExecution=function(){Sd||ub||(Sd=!0,Nm(aR))};Rn.unstable_getCurrentPriorityLevel=function(){return Fa};Rn.unstable_getFirstCallbackNode=function(){return pu(il)};Rn.unstable_next=function(e){switch(Fa){case 1:case 2:case 3:var t=3;break;default:t=Fa}var n=Fa;Fa=t;try{return e()}finally{Fa=n}};Rn.unstable_pauseExecution=function(){};Rn.unstable_requestPaint=hbe;Rn.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=Fa;Fa=e;try{return t()}finally{Fa=n}};Rn.unstable_scheduleCallback=function(e,t,n){var r=Rn.unstable_now();switch(typeof n=="object"&&n!==null?(n=n.delay,n=typeof n=="number"&&0r?(e.sortIndex=n,tR(Ss,e),pu(il)===null&&e===pu(Ss)&&(Ph?nb():Ph=!0,Ah(rR,n-r))):(e.sortIndex=a,tR(il,e),Sd||ub||(Sd=!0,Nm(aR))),e};Rn.unstable_wrapCallback=function(e){var t=Fa;return function(){var n=Fa;Fa=t;try{return e.apply(this,arguments)}finally{Fa=n}}}});var DU=Z((Epn,yU)=>{"use strict";yU.exports=gU()});var iW=Z(Ni=>{"use strict";var lb=Ga(),nr=Uy(),sa=DU();function Re(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;nt}return!1}function Ya(e,t,n,r,a,o,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var Da={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Da[e]=new Ya(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Da[t]=new Ya(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Da[e]=new Ya(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Da[e]=new Ya(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){Da[e]=new Ya(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Da[e]=new Ya(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Da[e]=new Ya(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Da[e]=new Ya(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Da[e]=new Ya(e,5,!1,e.toLowerCase(),null,!1,!1)});var oR=/[\-:]([a-z])/g;function iR(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 t=e.replace(oR,iR);Da[t]=new Ya(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(oR,iR);Da[t]=new Ya(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(oR,iR);Da[t]=new Ya(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Da[e]=new Ya(e,1,!1,e.toLowerCase(),null,!1,!1)});Da.xlinkHref=new Ya("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Da[e]=new Ya(e,1,!1,e.toLowerCase(),null,!0,!0)});function uR(e,t,n,r){var a=Da.hasOwnProperty(t)?Da[t]:null,o=a!==null?a.type===0:r?!1:!(!(2l||a[i]!==o[l])return` `+a[i].replace(" at new "," at ");while(1<=i&&0<=l);break}}}finally{_R=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Bh(e):""}function bbe(e){switch(e.tag){case 5:return Bh(e.type);case 16:return Bh("Lazy");case 13:return Bh("Suspense");case 19:return Bh("SuspenseList");case 0:case 2:case 15:return e=db(e.type,!1),e;case 11:return e=db(e.type.render,!1),e;case 22:return e=db(e.type._render,!1),e;case 1:return e=db(e.type,!0),e;default:return""}}function Um(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 Fs:return"Fragment";case Id:return"Portal";case kh:return"Profiler";case lR:return"StrictMode";case Uh:return"Suspense";case sb:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case sR:return(e.displayName||"Context")+".Consumer";case cR:return(e._context.displayName||"Context")+".Provider";case cb:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case fb:return Um(e.type);case dR:return Um(e._render);case fR:t=e._payload,e=e._init;try{return Um(e(t))}catch{}}return null}function Ms(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function RU(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function wbe(e){var t=RU(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n!="undefined"&&typeof n.get=="function"&&typeof n.set=="function"){var a=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(i){r=""+i,o.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(i){r=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function pb(e){e._valueTracker||(e._valueTracker=wbe(e))}function SU(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=RU(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function mb(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 gR(e,t){var n=t.checked;return nr({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n!=null?n:e._wrapperState.initialChecked})}function FU(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Ms(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function MU(e,t){t=t.checked,t!=null&&uR(e,"checked",t,!1)}function yR(e,t){MU(e,t);var n=Ms(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?DR(e,t.type,n):t.hasOwnProperty("defaultValue")&&DR(e,t.type,Ms(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function IU(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function DR(e,t,n){(t!=="number"||mb(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function Cbe(e){var t="";return lb.Children.forEach(e,function(n){n!=null&&(t+=n)}),t}function bR(e,t){return e=nr({children:void 0},t),(t=Cbe(t.children))&&(e.children=t),e}function Hm(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a=n.length))throw Error(Re(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Ms(n)}}function LU(e,t){var n=Ms(t.value),r=Ms(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function jU(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}var CR={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function PU(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 xR(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?PU(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var vb,NU=function(e){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(t,n,r,a){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,a)})}:e}(function(e,t){if(e.namespaceURI!==CR.svg||"innerHTML"in e)e.innerHTML=t;else{for(vb=vb||document.createElement("div"),vb.innerHTML=""+t.valueOf().toString()+"",t=vb.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Wh(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var zh={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},xbe=["Webkit","ms","Moz","O"];Object.keys(zh).forEach(function(e){xbe.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),zh[t]=zh[e]})});function OU(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||zh.hasOwnProperty(e)&&zh[e]?(""+t).trim():t+"px"}function kU(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,a=OU(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}var Tbe=nr({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 TR(e,t){if(t){if(Tbe[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(Re(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(Re(60));if(!(typeof t.dangerouslySetInnerHTML=="object"&&"__html"in t.dangerouslySetInnerHTML))throw Error(Re(61))}if(t.style!=null&&typeof t.style!="object")throw Error(Re(62))}}function ER(e,t){if(e.indexOf("-")===-1)return typeof t.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 RR(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var SR=null,Bm=null,Wm=null;function UU(e){if(e=u_(e)){if(typeof SR!="function")throw Error(Re(280));var t=e.stateNode;t&&(t=Nb(t),SR(e.stateNode,e.type,t))}}function HU(e){Bm?Wm?Wm.push(e):Wm=[e]:Bm=e}function BU(){if(Bm){var e=Bm,t=Wm;if(Wm=Bm=null,UU(e),t)for(e=0;er?0:1<n;n++)t.push(e);return t}function wb(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,e=e.eventTimes,t=31-js(t),e[t]=n}var js=Math.clz32?Math.clz32:Bbe,Ube=Math.log,Hbe=Math.LN2;function Bbe(e){return e===0?32:31-(Ube(e)/Hbe|0)|0}var Wbe=sa.unstable_UserBlockingPriority,zbe=sa.unstable_runWithPriority,Cb=!0;function $be(e,t,n,r){Ad||MR();var a=WR,o=Ad;Ad=!0;try{WU(a,e,t,n,r)}finally{(Ad=o)||AR()}}function qbe(e,t,n,r){zbe(Wbe,WR.bind(null,e,t,n,r))}function WR(e,t,n,r){if(Cb){var a;if((a=(t&4)==0)&&0=e_),mH=String.fromCharCode(32),vH=!1;function hH(e,t){switch(e){case"keyup":return m2e.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function _H(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Jm=!1;function h2e(e,t){switch(e){case"compositionend":return _H(t);case"keypress":return t.which!==32?null:(vH=!0,mH);case"textInput":return e=t.data,e===mH&&vH?null:e;default:return null}}function _2e(e,t){if(Jm)return e==="compositionend"||!YR&&hH(e,t)?(e=lH(),xb=$R=Ps=null,Jm=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=CH(n)}}function TH(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?TH(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function EH(){for(var e=window,t=mb();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=mb(e.document)}return t}function QR(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var R2e=pc&&"documentMode"in document&&11>=document.documentMode,Xm=null,KR=null,a_=null,e7=!1;function RH(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;e7||Xm==null||Xm!==mb(r)||(r=Xm,"selectionStart"in r&&QR(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),a_&&r_(a_,r)||(a_=r,r=Ab(KR,"onSelect"),0ev||(e.current=u7[ev],u7[ev]=null,ev--)}function yr(e,t){ev++,u7[ev]=e.current,e.current=t}var ks={},Ma=Os(ks),_o=Os(!1),Pd=ks;function tv(e,t){var n=e.type.contextTypes;if(!n)return ks;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a={},o;for(o in n)a[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function go(e){return e=e.childContextTypes,e!=null}function Ob(){Kn(_o),Kn(Ma)}function WH(e,t,n){if(Ma.current!==ks)throw Error(Re(168));yr(Ma,t),yr(_o,n)}function zH(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var a in r)if(!(a in e))throw Error(Re(108,Um(t)||"Unknown",a));return nr({},n,r)}function kb(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ks,Pd=Ma.current,yr(Ma,e),yr(_o,_o.current),!0}function $H(e,t,n){var r=e.stateNode;if(!r)throw Error(Re(169));n?(e=zH(e,t,Pd),r.__reactInternalMemoizedMergedChildContext=e,Kn(_o),Kn(Ma),yr(Ma,e)):Kn(_o),yr(_o,n)}var l7=null,Nd=null,M2e=sa.unstable_runWithPriority,c7=sa.unstable_scheduleCallback,s7=sa.unstable_cancelCallback,I2e=sa.unstable_shouldYield,qH=sa.unstable_requestPaint,f7=sa.unstable_now,A2e=sa.unstable_getCurrentPriorityLevel,Ub=sa.unstable_ImmediatePriority,GH=sa.unstable_UserBlockingPriority,VH=sa.unstable_NormalPriority,JH=sa.unstable_LowPriority,XH=sa.unstable_IdlePriority,d7={},L2e=qH!==void 0?qH:function(){},mc=null,Hb=null,p7=!1,YH=f7(),Ia=1e4>YH?f7:function(){return f7()-YH};function nv(){switch(A2e()){case Ub:return 99;case GH:return 98;case VH:return 97;case JH:return 96;case XH:return 95;default:throw Error(Re(332))}}function ZH(e){switch(e){case 99:return Ub;case 98:return GH;case 97:return VH;case 96:return JH;case 95:return XH;default:throw Error(Re(332))}}function Od(e,t){return e=ZH(e),M2e(e,t)}function l_(e,t,n){return e=ZH(e),c7(e,t,n)}function ll(){if(Hb!==null){var e=Hb;Hb=null,s7(e)}QH()}function QH(){if(!p7&&mc!==null){p7=!0;var e=0;try{var t=mc;Od(99,function(){for(;eL?(W=T,T=null):W=T.sibling;var $=d(_,T,C[L],R);if($===null){T===null&&(T=W);break}e&&T&&$.alternate===null&&t(_,T),D=o($,D,L),A===null?I=$:A.sibling=$,A=$,T=W}if(L===C.length)return n(_,T),I;if(T===null){for(;LL?(W=T,T=null):W=T.sibling;var ce=d(_,T,$.value,R);if(ce===null){T===null&&(T=W);break}e&&T&&ce.alternate===null&&t(_,T),D=o(ce,D,L),A===null?I=ce:A.sibling=ce,A=ce,T=W}if($.done)return n(_,T),I;if(T===null){for(;!$.done;L++,$=C.next())$=f(_,$.value,R),$!==null&&(D=o($,D,L),A===null?I=$:A.sibling=$,A=$);return I}for(T=r(_,T);!$.done;L++,$=C.next())$=p(T,_,L,$.value,R),$!==null&&(e&&$.alternate!==null&&T.delete($.key===null?L:$.key),D=o($,D,L),A===null?I=$:A.sibling=$,A=$);return e&&T.forEach(function(te){return t(_,te)}),I}return function(_,D,C,R){var I=typeof C=="object"&&C!==null&&C.type===Fs&&C.key===null;I&&(C=C.props.children);var A=typeof C=="object"&&C!==null;if(A)switch(C.$$typeof){case Oh:e:{for(A=C.key,I=D;I!==null;){if(I.key===A){switch(I.tag){case 7:if(C.type===Fs){n(_,I.sibling),D=a(I,C.props.children),D.return=_,_=D;break e}break;default:if(I.elementType===C.type){n(_,I.sibling),D=a(I,C.props),D.ref=s_(_,I,C),D.return=_,_=D;break e}}n(_,I);break}else t(_,I);I=I.sibling}C.type===Fs?(D=dv(C.props.children,_.mode,R,C.key),D.return=_,_=D):(R=f2(C.type,C.key,C.props,null,_.mode,R),R.ref=s_(_,D,C),R.return=_,_=R)}return i(_);case Id:e:{for(I=C.key;D!==null;){if(D.key===I)if(D.tag===4&&D.stateNode.containerInfo===C.containerInfo&&D.stateNode.implementation===C.implementation){n(_,D.sibling),D=a(D,C.children||[]),D.return=_,_=D;break e}else{n(_,D);break}else t(_,D);D=D.sibling}D=e6(C,_.mode,R),D.return=_,_=D}return i(_)}if(typeof C=="string"||typeof C=="number")return C=""+C,D!==null&&D.tag===6?(n(_,D.sibling),D=a(D,C),D.return=_,_=D):(n(_,D),D=K7(C,_.mode,R),D.return=_,_=D),i(_);if(Gb(C))return m(_,D,C,R);if(Hh(C))return y(_,D,C,R);if(A&&Vb(_,C),typeof C=="undefined"&&!I)switch(_.tag){case 1:case 22:case 0:case 11:case 15:throw Error(Re(152,Um(_.type)||"Component"))}return n(_,D)}}var Jb=uB(!0),lB=uB(!1),f_={},cl=Os(f_),d_=Os(f_),p_=Os(f_);function kd(e){if(e===f_)throw Error(Re(174));return e}function g7(e,t){switch(yr(p_,t),yr(d_,e),yr(cl,f_),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:xR(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=xR(t,e)}Kn(cl),yr(cl,t)}function ov(){Kn(cl),Kn(d_),Kn(p_)}function cB(e){kd(p_.current);var t=kd(cl.current),n=xR(t,e.type);t!==n&&(yr(d_,e),yr(cl,n))}function y7(e){d_.current===e&&(Kn(cl),Kn(d_))}var Dr=Os(0);function Xb(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&64)!=0)return t}else if(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 null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var vc=null,Ws=null,sl=!1;function sB(e,t){var n=Pi(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,e.lastEffect!==null?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function fB(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,!0):!1;case 13:return!1;default:return!1}}function D7(e){if(sl){var t=Ws;if(t){var n=t;if(!fB(e,t)){if(t=Zm(n.nextSibling),!t||!fB(e,t)){e.flags=e.flags&-1025|2,sl=!1,vc=e;return}sB(vc,n)}vc=e,Ws=Zm(t.firstChild)}else e.flags=e.flags&-1025|2,sl=!1,vc=e}}function dB(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;vc=e}function Yb(e){if(e!==vc)return!1;if(!sl)return dB(e),sl=!0,!1;var t=e.type;if(e.tag!==5||t!=="head"&&t!=="body"&&!a7(t,e.memoizedProps))for(t=Ws;t;)sB(e,t),t=Zm(t.nextSibling);if(dB(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(Re(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Ws=Zm(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Ws=null}}else Ws=vc?Zm(e.stateNode.nextSibling):null;return!0}function b7(){Ws=vc=null,sl=!1}var iv=[];function w7(){for(var e=0;eo))throw Error(Re(301));o+=1,ba=Aa=null,t.updateQueue=null,m_.current=k2e,e=n(r,a)}while(h_)}if(m_.current=t2,t=Aa!==null&&Aa.next!==null,v_=0,ba=Aa=Fr=null,Zb=!1,t)throw Error(Re(300));return e}function Ud(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ba===null?Fr.memoizedState=ba=e:ba=ba.next=e,ba}function Hd(){if(Aa===null){var e=Fr.alternate;e=e!==null?e.memoizedState:null}else e=Aa.next;var t=ba===null?Fr.memoizedState:ba.next;if(t!==null)ba=t,Aa=e;else{if(e===null)throw Error(Re(310));Aa=e,e={memoizedState:Aa.memoizedState,baseState:Aa.baseState,baseQueue:Aa.baseQueue,queue:Aa.queue,next:null},ba===null?Fr.memoizedState=ba=e:ba=ba.next=e}return ba}function fl(e,t){return typeof t=="function"?t(e):t}function __(e){var t=Hd(),n=t.queue;if(n===null)throw Error(Re(311));n.lastRenderedReducer=e;var r=Aa,a=r.baseQueue,o=n.pending;if(o!==null){if(a!==null){var i=a.next;a.next=o.next,o.next=i}r.baseQueue=a=o,n.pending=null}if(a!==null){a=a.next,r=r.baseState;var l=i=o=null,u=a;do{var c=u.lane;if((v_&c)===c)l!==null&&(l=l.next={lane:0,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null}),r=u.eagerReducer===e?u.eagerState:e(r,u.action);else{var s={lane:c,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null};l===null?(i=l=s,o=r):l=l.next=s,Fr.lanes|=c,b_|=c}u=u.next}while(u!==null&&u!==a);l===null?o=r:l.next=i,Ii(r,t.memoizedState)||(vu=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function g_(e){var t=Hd(),n=t.queue;if(n===null)throw Error(Re(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,o=t.memoizedState;if(a!==null){n.pending=null;var i=a=a.next;do o=e(o,i.action),i=i.next;while(i!==a);Ii(o,t.memoizedState)||(vu=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function pB(e,t,n){var r=t._getVersion;r=r(t._source);var a=t._workInProgressVersionPrimary;if(a!==null?e=a===r:(e=e.mutableReadLanes,(e=(v_&e)===e)&&(t._workInProgressVersionPrimary=r,iv.push(t))),e)return n(t._source);throw iv.push(t),Error(Re(350))}function mB(e,t,n,r){var a=Za;if(a===null)throw Error(Re(349));var o=t._getVersion,i=o(t._source),l=m_.current,u=l.useState(function(){return pB(a,t,n)}),c=u[1],s=u[0];u=ba;var f=e.memoizedState,d=f.refs,p=d.getSnapshot,m=f.source;f=f.subscribe;var y=Fr;return e.memoizedState={refs:d,source:t,subscribe:r},l.useEffect(function(){d.getSnapshot=n,d.setSnapshot=c;var _=o(t._source);if(!Ii(i,_)){_=n(t._source),Ii(s,_)||(c(_),_=$s(y),a.mutableReadLanes|=_&a.pendingLanes),_=a.mutableReadLanes,a.entangledLanes|=_;for(var D=a.entanglements,C=_;0n?98:n,function(){e(!0)}),Od(97<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=i.createElement(n,{is:r.is}):(e=i.createElement(n),n==="select"&&(i=e,r.multiple?i.multiple=!0:r.size&&(i.size=r.size))):e=i.createElementNS(e,n),e[Ns]=t,e[Pb]=r,PB(e,t,!1,!1),t.stateNode=e,i=ER(n,r),n){case"dialog":Qn("cancel",e),Qn("close",e),a=r;break;case"iframe":case"object":case"embed":Qn("load",e),a=r;break;case"video":case"audio":for(a=0;a$7&&(t.flags|=64,o=!0,D_(r,!1),t.lanes=33554432)}else{if(!o)if(e=Xb(i),e!==null){if(t.flags|=64,o=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),D_(r,!0),r.tail===null&&r.tailMode==="hidden"&&!i.alternate&&!sl)return t=t.lastEffect=r.lastEffect,t!==null&&(t.nextEffect=null),null}else 2*Ia()-r.renderingStartTime>$7&&n!==1073741824&&(t.flags|=64,o=!0,D_(r,!1),t.lanes=33554432);r.isBackwards?(i.sibling=t.child,t.child=i):(n=r.last,n!==null?n.sibling=i:t.child=i,r.last=i)}return r.tail!==null?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Ia(),n.sibling=null,t=Dr.current,yr(Dr,o?t&1|2:t&1),n):null;case 23:case 24:return Y7(),e!==null&&e.memoizedState!==null!=(t.memoizedState!==null)&&r.mode!=="unstable-defer-without-hiding"&&(t.flags|=4),null}throw Error(Re(156,t.tag))}function B2e(e){switch(e.tag){case 1:go(e.type)&&Ob();var t=e.flags;return t&4096?(e.flags=t&-4097|64,e):null;case 3:if(ov(),Kn(_o),Kn(Ma),w7(),t=e.flags,(t&64)!=0)throw Error(Re(285));return e.flags=t&-4097|64,e;case 5:return y7(e),null;case 13:return Kn(Dr),t=e.flags,t&4096?(e.flags=t&-4097|64,e):null;case 19:return Kn(Dr),null;case 4:return ov(),null;case 10:return v7(e),null;case 23:case 24:return Y7(),null;default:return null}}function j7(e,t){try{var n="",r=t;do n+=bbe(r),r=r.return;while(r);var a=n}catch(o){a=` Error generating stack: `+o.message+` `+o.stack}return{value:e,source:t,stack:a}}function P7(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var W2e=typeof WeakMap=="function"?WeakMap:Map;function kB(e,t,n){n=Hs(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){o2||(o2=!0,q7=r),P7(e,t)},n}function UB(e,t,n){n=Hs(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var a=t.value;n.payload=function(){return P7(e,t),r(a)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){typeof r!="function"&&(dl===null?dl=new Set([this]):dl.add(this),P7(e,t));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),n}var z2e=typeof WeakSet=="function"?WeakSet:Set;function HB(e){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(n){Vs(e,n)}else t.current=null}function $2e(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(t.flags&256&&e!==null){var n=e.memoizedProps,r=e.memoizedState;e=t.stateNode,t=e.getSnapshotBeforeUpdate(t.elementType===t.type?n:mu(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:t.flags&256&&o7(t.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(Re(163))}function q2e(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(t=n.updateQueue,t=t!==null?t.lastEffect:null,t!==null){e=t=t.next;do{if((e.tag&3)==3){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(t=n.updateQueue,t=t!==null?t.lastEffect:null,t!==null){e=t=t.next;do{var a=e;r=a.next,a=a.tag,(a&4)!=0&&(a&1)!=0&&(tW(n,e),K2e(n,e)),e=r}while(e!==t)}return;case 1:e=n.stateNode,n.flags&4&&(t===null?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:mu(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),t=n.updateQueue,t!==null&&nB(n,t,e);return;case 3:if(t=n.updateQueue,t!==null){if(e=null,n.child!==null)switch(n.child.tag){case 5:e=n.child.stateNode;break;case 1:e=n.child.stateNode}nB(n,t,e)}return;case 5:e=n.stateNode,t===null&&n.flags&4&&OH(n.type,n.memoizedProps)&&e.focus();return;case 6:return;case 4:return;case 12:return;case 13:n.memoizedState===null&&(n=n.alternate,n!==null&&(n=n.memoizedState,n!==null&&(n=n.dehydrated,n!==null&&eH(n))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(Re(163))}function BB(e,t){for(var n=e;;){if(n.tag===5){var r=n.stateNode;if(t)r=r.style,typeof r.setProperty=="function"?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var a=n.memoizedProps.style;a=a!=null&&a.hasOwnProperty("display")?a.display:null,r.style.display=OU("display",a)}}else if(n.tag===6)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((n.tag!==23&&n.tag!==24||n.memoizedState===null||n===e)&&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;n=n.return}n.sibling.return=n.return,n=n.sibling}}function WB(e,t){if(Nd&&typeof Nd.onCommitFiberUnmount=="function")try{Nd.onCommitFiberUnmount(l7,t)}catch{}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(e=t.updateQueue,e!==null&&(e=e.lastEffect,e!==null)){var n=e=e.next;do{var r=n,a=r.destroy;if(r=r.tag,a!==void 0)if((r&4)!=0)tW(t,n);else{r=t;try{a()}catch(o){Vs(r,o)}}n=n.next}while(n!==e)}break;case 1:if(HB(t),e=t.stateNode,typeof e.componentWillUnmount=="function")try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(o){Vs(t,o)}break;case 5:HB(t);break;case 4:GB(e,t)}}function zB(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 $B(e){return e.tag===5||e.tag===3||e.tag===4}function qB(e){e:{for(var t=e.return;t!==null;){if($B(t))break e;t=t.return}throw Error(Re(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:t=t.containerInfo,r=!0;break;case 4:t=t.containerInfo,r=!0;break;default:throw Error(Re(161))}n.flags&16&&(Wh(t,""),n.flags&=-17);e:t:for(n=e;;){for(;n.sibling===null;){if(n.return===null||$B(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;n.tag!==5&&n.tag!==6&&n.tag!==18;){if(n.flags&2||n.child===null||n.tag===4)continue t;n.child.return=n,n=n.child}if(!(n.flags&2)){n=n.stateNode;break e}}r?N7(e,n,t):O7(e,n,t)}function N7(e,t,n){var r=e.tag,a=r===5||r===6;if(a)e=a?e.stateNode:e.stateNode.instance,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Lb));else if(r!==4&&(e=e.child,e!==null))for(N7(e,t,n),e=e.sibling;e!==null;)N7(e,t,n),e=e.sibling}function O7(e,t,n){var r=e.tag,a=r===5||r===6;if(a)e=a?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(O7(e,t,n),e=e.sibling;e!==null;)O7(e,t,n),e=e.sibling}function GB(e,t){for(var n=t,r=!1,a,o;;){if(!r){r=n.return;e:for(;;){if(r===null)throw Error(Re(160));switch(a=r.stateNode,r.tag){case 5:o=!1;break e;case 3:a=a.containerInfo,o=!0;break e;case 4:a=a.containerInfo,o=!0;break e}r=r.return}r=!0}if(n.tag===5||n.tag===6){e:for(var i=e,l=n,u=l;;)if(WB(i,u),u.child!==null&&u.tag!==4)u.child.return=u,u=u.child;else{if(u===l)break e;for(;u.sibling===null;){if(u.return===null||u.return===l)break e;u=u.return}u.sibling.return=u.return,u=u.sibling}o?(i=a,l=n.stateNode,i.nodeType===8?i.parentNode.removeChild(l):i.removeChild(l)):a.removeChild(n.stateNode)}else if(n.tag===4){if(n.child!==null){a=n.stateNode.containerInfo,o=!0,n.child.return=n,n=n.child;continue}}else if(WB(e,n),n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return,n.tag===4&&(r=!1)}n.sibling.return=n.return,n=n.sibling}}function k7(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var r=n=n.next;do(r.tag&3)==3&&(e=r.destroy,r.destroy=void 0,e!==void 0&&e()),r=r.next;while(r!==n)}return;case 1:return;case 5:if(n=t.stateNode,n!=null){r=t.memoizedProps;var a=e!==null?e.memoizedProps:r;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,o!==null){for(n[Pb]=r,e==="input"&&r.type==="radio"&&r.name!=null&&MU(n,r),ER(e,a),t=ER(e,r),a=0;aa&&(a=i),n&=~o}if(n=a,n=Ia()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*V2e(n/1960))-n,10 component higher in the tree to provide a loading indicator or placeholder to display.`)}wa!==5&&(wa=2),u=j7(u,l),d=i;do{switch(d.tag){case 3:o=u,d.flags|=4096,t&=-t,d.lanes|=t;var A=kB(d,o,t);tB(d,A);break e;case 1:o=u;var T=d.type,L=d.stateNode;if((d.flags&64)==0&&(typeof T.getDerivedStateFromError=="function"||L!==null&&typeof L.componentDidCatch=="function"&&(dl===null||!dl.has(L)))){d.flags|=4096,t&=-t,d.lanes|=t;var W=UB(d,o,t);tB(d,W);break e}}d=d.return}while(d!==null)}eW(n)}catch($){t=$,Zr===n&&n!==null&&(Zr=n=n.return);continue}break}while(1)}function QB(){var e=r2.current;return r2.current=t2,e===null?t2:e}function E_(e,t){var n=Mt;Mt|=16;var r=QB();Za===e&&La===t||fv(e,t);do try{X2e();break}catch(a){ZB(e,a)}while(1);if(m7(),Mt=n,r2.current=r,Zr!==null)throw Error(Re(261));return Za=null,La=0,wa}function X2e(){for(;Zr!==null;)KB(Zr)}function Y2e(){for(;Zr!==null&&!I2e();)KB(Zr)}function KB(e){var t=rW(e.alternate,e,Bd);e.memoizedProps=e.pendingProps,t===null?eW(e):Zr=t,U7.current=null}function eW(e){var t=e;do{var n=t.alternate;if(e=t.return,(t.flags&2048)==0){if(n=H2e(n,t,Bd),n!==null){Zr=n;return}if(n=t,n.tag!==24&&n.tag!==23||n.memoizedState===null||(Bd&1073741824)!=0||(n.mode&4)==0){for(var r=0,a=n.child;a!==null;)r|=a.lanes|a.childLanes,a=a.sibling;n.childLanes=r}e!==null&&(e.flags&2048)==0&&(e.firstEffect===null&&(e.firstEffect=t.firstEffect),t.lastEffect!==null&&(e.lastEffect!==null&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1i&&(l=i,i=A,A=l),l=xH(C,A),o=xH(C,i),l&&o&&(I.rangeCount!==1||I.anchorNode!==l.node||I.anchorOffset!==l.offset||I.focusNode!==o.node||I.focusOffset!==o.offset)&&(R=R.createRange(),R.setStart(l.node,l.offset),I.removeAllRanges(),A>i?(I.addRange(R),I.extend(o.node,o.offset)):(R.setEnd(o.node,o.offset),I.addRange(R)))))),R=[],I=C;I=I.parentNode;)I.nodeType===1&&R.push({element:I,left:I.scrollLeft,top:I.scrollTop});for(typeof C.focus=="function"&&C.focus(),C=0;CIa()-z7?fv(e,0):B7|=n),ji(e,t)}function nwe(e,t){var n=e.stateNode;n!==null&&n.delete(t),t=0,t===0&&(t=e.mode,(t&2)==0?t=1:(t&4)==0?t=nv()===99?1:2:(gc===0&&(gc=uv),t=Gm(62914560&~gc),t===0&&(t=4194304))),n=ui(),e=c2(e,t),e!==null&&(wb(e,t,n),ji(e,n))}var rW;rW=function(e,t,n){var r=t.lanes;if(e!==null)if(e.memoizedProps!==t.pendingProps||_o.current)vu=!0;else if((n&r)!=0)vu=(e.flags&16384)!=0;else{switch(vu=!1,t.tag){case 3:SB(t),b7();break;case 5:cB(t);break;case 1:go(t.type)&&kb(t);break;case 4:g7(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var a=t.type._context;yr(Bb,a._currentValue),a._currentValue=r;break;case 13:if(t.memoizedState!==null)return(n&t.child.childLanes)!=0?FB(e,t,n):(yr(Dr,Dr.current&1),t=hc(e,t,n),t!==null?t.sibling:null);yr(Dr,Dr.current&1);break;case 19:if(r=(n&t.childLanes)!=0,(e.flags&64)!=0){if(r)return jB(e,t,n);t.flags|=64}if(a=t.memoizedState,a!==null&&(a.rendering=null,a.tail=null,a.lastEffect=null),yr(Dr,Dr.current),r)break;return null;case 23:case 24:return t.lanes=0,F7(e,t,n)}return hc(e,t,n)}else vu=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,a=tv(t,Ma.current),av(t,n),a=x7(null,t,r,e,a,n),t.flags|=1,typeof a=="object"&&a!==null&&typeof a.render=="function"&&a.$$typeof===void 0){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,go(r)){var o=!0;kb(t)}else o=!1;t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,h7(t);var i=r.getDerivedStateFromProps;typeof i=="function"&&$b(t,r,i,e),a.updater=qb,t.stateNode=a,a._reactInternals=t,_7(t,r,e,n),t=I7(null,t,r,!0,o,n)}else t.tag=0,Do(null,t,a,n),t=t.child;return t;case 16:a=t.elementType;e:{switch(e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=a._init,a=o(a._payload),t.type=a,o=t.tag=awe(a),e=mu(a,e),o){case 0:t=M7(null,t,a,e,n);break e;case 1:t=RB(null,t,a,e,n);break e;case 11:t=CB(null,t,a,e,n);break e;case 14:t=xB(null,t,a,mu(a.type,e),r,n);break e}throw Error(Re(306,a,""))}return t;case 0:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:mu(r,a),M7(e,t,r,a,n);case 1:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:mu(r,a),RB(e,t,r,a,n);case 3:if(SB(t),r=t.updateQueue,e===null||r===null)throw Error(Re(282));if(r=t.pendingProps,a=t.memoizedState,a=a!==null?a.element:null,eB(e,t),c_(t,r,null,n),r=t.memoizedState.element,r===a)b7(),t=hc(e,t,n);else{if(a=t.stateNode,(o=a.hydrate)&&(Ws=Zm(t.stateNode.containerInfo.firstChild),vc=t,o=sl=!0),o){if(e=a.mutableSourceEagerHydrationData,e!=null)for(a=0;a{"use strict";function uW(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(uW)}catch(e){console.error(e)}}uW(),lW.exports=iW()});var zd=Z(i6=>{"use strict";Object.defineProperty(i6,"__esModule",{value:!0});var a6=Object.assign||function(e){for(var t=1;t=0||!Object.prototype.hasOwnProperty.call(e,r)||(n[r]=e[r]);return n}function pwe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mwe(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function vwe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var pW={position:"absolute",top:0,left:0,visibility:"hidden",height:0,overflow:"scroll",whiteSpace:"pre"},hwe=["extraWidth","injectStyles","inputClassName","inputRef","inputStyle","minWidth","onAutosize","placeholderIsMinWidth"],_we=function(t){return hwe.forEach(function(n){return delete t[n]}),t},mW=function(t,n){n.style.fontSize=t.fontSize,n.style.fontFamily=t.fontFamily,n.style.fontWeight=t.fontWeight,n.style.fontStyle=t.fontStyle,n.style.letterSpacing=t.letterSpacing,n.style.textTransform=t.textTransform},vW=typeof window!="undefined"&&window.navigator?/MSIE |Trident\/|Edge\//.test(window.navigator.userAgent):!1,hW=function(){return vW?"_"+Math.random().toString(36).substr(2,12):void 0},o6=function(e){vwe(t,e),sW(t,null,[{key:"getDerivedStateFromProps",value:function(r,a){var o=r.id;return o!==a.prevId?{inputId:o||hW(),prevId:o}:null}}]);function t(n){pwe(this,t);var r=mwe(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,n));return r.inputRef=function(a){r.input=a,typeof r.props.inputRef=="function"&&r.props.inputRef(a)},r.placeHolderSizerRef=function(a){r.placeHolderSizer=a},r.sizerRef=function(a){r.sizer=a},r.state={inputWidth:n.minWidth,inputId:n.id||hW(),prevId:n.id},r}return sW(t,[{key:"componentDidMount",value:function(){this.mounted=!0,this.copyInputStyles(),this.updateInputWidth()}},{key:"componentDidUpdate",value:function(r,a){a.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 r=this.input&&window.getComputedStyle(this.input);!r||(mW(r,this.sizer),this.placeHolderSizer&&mW(r,this.placeHolderSizer))}}},{key:"updateInputWidth",value:function(){if(!(!this.mounted||!this.sizer||typeof this.sizer.scrollWidth=="undefined")){var r=void 0;this.props.placeholder&&(!this.props.value||this.props.value&&this.props.placeholderIsMinWidth)?r=Math.max(this.sizer.scrollWidth,this.placeHolderSizer.scrollWidth)+2:r=this.sizer.scrollWidth+2;var a=this.props.type==="number"&&this.props.extraWidth===void 0?16:parseInt(this.props.extraWidth)||0;r+=a,r{(function(e,t){if(typeof define=="function"&&define.amd)define("react-list",["prop-types","react"],t);else if(typeof D6!="undefined")t(xh(),(jt(),Fy));else{var n={exports:{}};t(e.PropTypes,e.React),e.ReactList=n.exports}})(typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:D6,function(e,t){"use strict";e=i(e),t=o(t);var n,r;function a(){if(typeof WeakMap!="function")return null;var F=new WeakMap;return a=function(){return F},F}function o(F){if(F&&F.__esModule)return F;if(F===null||l(F)!=="object"&&typeof F!="function")return{default:F};var H=a();if(H&&H.has(F))return H.get(F);var V={},Y=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var j in F)if(Object.prototype.hasOwnProperty.call(F,j)){var J=Y?Object.getOwnPropertyDescriptor(F,j):null;J&&(J.get||J.set)?Object.defineProperty(V,j,J):V[j]=F[j]}return V.default=F,H&&H.set(F,V),V}function i(F){return F&&F.__esModule?F:{default:F}}function l(F){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?l=function(V){return typeof V}:l=function(V){return V&&typeof Symbol=="function"&&V.constructor===Symbol&&V!==Symbol.prototype?"symbol":typeof V},l(F)}function u(F,H){if(!(F instanceof H))throw new TypeError("Cannot call a class as a function")}function c(F,H){for(var V=0;VY&&(ie=Y),U=J==="simple"||!U?0:Math.max(Math.min(U,Y-ie),0),(me=U%oe)&&(U-=me,ie+=me),U===V.from&&ie==V.size?V:R(R({},V),{},{from:U,size:ie})};Pz.exports=(r=n=function(F){f(V,F);var H=p(V);s(V,null,[{key:"getDerivedStateFromProps",value:function(j,J){var U=N(j,J);return U===J?null:U}}]);function V(Y){var j;return u(this,V),j=H.call(this,Y),j.state=N(Y,{itemsPerRow:1,from:Y.initialIndex,size:0}),j.cache={},j.cachedScrollPosition=null,j.prevPrevState={},j.unstable=!1,j.updateCounter=0,j}return s(V,[{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(j){var J=this;if(this.props.axis!==j.axis&&this.clearSizeCache(),!this.unstable){if(++this.updateCounter>Q)return this.unstable=!0,console.error(q);this.updateCounterTimeoutId||(this.updateCounterTimeoutId=setTimeout(function(){J.updateCounter=0,delete J.updateCounterTimeoutId},0)),this.updateFrame()}}},{key:"maybeSetState",value:function(j,J){if(pe(this.state,j))return J();this.setState(j,J)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.updateFrameAndClearCache),this.scrollParent.removeEventListener("scroll",this.updateFrameAndClearCache,de),this.scrollParent.removeEventListener("mousewheel",re,de)}},{key:"getOffset",value:function(j){var J=this.props.axis,U=j[T[J]]||0,ie=$[J];do U+=j[ie]||0;while(j=j.offsetParent);return U}},{key:"getEl",value:function(){return this.el||this.items}},{key:"getScrollPosition",value:function(){if(typeof this.cachedScrollPosition=="number")return this.cachedScrollPosition;var j=this.scrollParent,J=this.props.axis,U=le[J],ie=j===window?document.body[U]||document.documentElement[U]:j[U],oe=this.getScrollSize()-this.props.scrollParentViewportSizeGetter(this),me=Math.max(0,Math.min(ie,oe)),ge=this.getEl();return this.cachedScrollPosition=this.getOffset(j)+me-this.getOffset(ge),this.cachedScrollPosition}},{key:"setScroll",value:function(j){var J=this.scrollParent,U=this.props.axis;if(j+=this.getOffset(this.getEl()),J===window)return window.scrollTo(0,j);j-=this.getOffset(this.scrollParent),J[le[U]]=j}},{key:"getScrollSize",value:function(){var j=this.scrollParent,J=document,U=J.body,ie=J.documentElement,oe=te[this.props.axis];return j===window?Math.max(U[oe],ie[oe]):j[oe]}},{key:"hasDeterminateSize",value:function(){var j=this.props,J=j.itemSizeGetter,U=j.type;return U==="uniform"||J}},{key:"getStartAndEnd",value:function(){var j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.threshold,J=this.getScrollPosition(),U=Math.max(0,J-j),ie=J+this.props.scrollParentViewportSizeGetter(this)+j;return this.hasDeterminateSize()&&(ie=Math.min(ie,this.getSpaceBefore(this.props.length))),{start:U,end:ie}}},{key:"getItemSizeAndItemsPerRow",value:function(){var j=this.props,J=j.axis,U=j.useStaticSize,ie=this.state,oe=ie.itemSize,me=ie.itemsPerRow;if(U&&oe&&me)return{itemSize:oe,itemsPerRow:me};var ge=this.items.children;if(!ge.length)return{};var ue=ge[0],Ie=ue[W[J]],Te=Math.abs(Ie-oe);if((isNaN(Te)||Te>=1)&&(oe=Ie),!oe)return{};var Ze=$[J],Se=ue[Ze];me=1;for(var Qe=ge[me];Qe&&Qe[Ze]===Se;Qe=ge[me])++me;return{itemSize:oe,itemsPerRow:me}}},{key:"clearSizeCache",value:function(){this.cachedScrollPosition=null}},{key:"updateFrameAndClearCache",value:function(j){return this.clearSizeCache(),this.updateFrame(j)}},{key:"updateFrame",value:function(j){switch(this.updateScrollParent(),typeof j!="function"&&(j=re),this.props.type){case"simple":return this.updateSimpleFrame(j);case"variable":return this.updateVariableFrame(j);case"uniform":return this.updateUniformFrame(j)}}},{key:"updateScrollParent",value:function(){var j=this.scrollParent;this.scrollParent=this.props.scrollParentGetter(this),j!==this.scrollParent&&(j&&(j.removeEventListener("scroll",this.updateFrameAndClearCache),j.removeEventListener("mousewheel",re)),this.clearSizeCache(),this.scrollParent.addEventListener("scroll",this.updateFrameAndClearCache,de),this.scrollParent.addEventListener("mousewheel",re,de))}},{key:"updateSimpleFrame",value:function(j){var J=this.getStartAndEnd(),U=J.end,ie=this.items.children,oe=0;if(ie.length){var me=this.props.axis,ge=ie[0],ue=ie[ie.length-1];oe=this.getOffset(ue)+ue[W[me]]-this.getOffset(ge)}if(oe>U)return j();var Ie=this.props,Te=Ie.pageSize,Ze=Ie.length,Se=Math.min(this.state.size+Te,Ze);this.maybeSetState({size:Se},j)}},{key:"updateVariableFrame",value:function(j){this.props.itemSizeGetter||this.cacheSizes();for(var J=this.getStartAndEnd(),U=J.start,ie=J.end,oe=this.props,me=oe.length,ge=oe.pageSize,ue=0,Ie=0,Te=0,Ze=me-1;IeU)break;ue+=Se,++Ie}for(var Qe=me-Ie;Te1&&arguments[1]!==void 0?arguments[1]:{};if(J[j]!=null)return J[j];var U=this.state,ie=U.itemSize,oe=U.itemsPerRow;if(ie)return J[j]=Math.floor(j/oe)*ie;for(var me=j;me>0&&J[--me]==null;);for(var ge=J[me]||0,ue=me;ue=Te&&jme)return this.setScroll(me)}},{key:"getVisibleRange",value:function(){for(var j=this.state,J=j.from,U=j.size,ie=this.getStartAndEnd(0),oe=ie.start,me=ie.end,ge={},ue,Ie,Te=J;Teoe&&(ue=Te),ue!=null&&Ze{function H4e(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}L_.exports=H4e,L_.exports.__esModule=!0,L_.exports.default=L_.exports});var qd=Z((Fmn,j_)=>{var B4e=Oz();function W4e(e,t){if(e==null)return{};var n,r,a=B4e(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r{function b6(){return Dc.exports=b6=Object.assign?Object.assign.bind():function(e){for(var t=1;t{function z4e(e){if(Array.isArray(e))return e}P_.exports=z4e,P_.exports.__esModule=!0,P_.exports.default=P_.exports});var Uz=Z((Amn,N_)=>{function $4e(e,t){var n=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r,a,o,i,l=[],u=!0,c=!1;try{if(o=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);u=!0);}catch(s){c=!0,a=s}finally{try{if(!u&&n.return!=null&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw a}}return l}}N_.exports=$4e,N_.exports.__esModule=!0,N_.exports.default=N_.exports});var w6=Z((Lmn,O_)=>{function q4e(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n{var Hz=w6();function G4e(e,t){if(e){if(typeof e=="string")return Hz(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Hz(e,t):void 0}}k_.exports=G4e,k_.exports.__esModule=!0,k_.exports.default=k_.exports});var Bz=Z((Pmn,U_)=>{function V4e(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}U_.exports=V4e,U_.exports.__esModule=!0,U_.exports.default=U_.exports});var B_=Z((Nmn,H_)=>{var J4e=kz(),X4e=Uz(),Y4e=C6(),Z4e=Bz();function Q4e(e,t){return J4e(e)||X4e(e,t)||Y4e(e,t)||Z4e()}H_.exports=Q4e,H_.exports.__esModule=!0,H_.exports.default=H_.exports});var Wz=Z((Omn,W_)=>{var K4e=w6();function eCe(e){if(Array.isArray(e))return K4e(e)}W_.exports=eCe,W_.exports.__esModule=!0,W_.exports.default=W_.exports});var zz=Z((kmn,z_)=>{function tCe(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}z_.exports=tCe,z_.exports.__esModule=!0,z_.exports.default=z_.exports});var $z=Z((Umn,$_)=>{function nCe(){throw new TypeError(`Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}$_.exports=nCe,$_.exports.__esModule=!0,$_.exports.default=$_.exports});var G_=Z((Hmn,q_)=>{var rCe=Wz(),aCe=zz(),oCe=C6(),iCe=$z();function uCe(e){return rCe(e)||aCe(e)||oCe(e)||iCe()}q_.exports=uCe,q_.exports.__esModule=!0,q_.exports.default=q_.exports});var Xs=Z((Bmn,bc)=>{function x6(e){return bc.exports=x6=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},bc.exports.__esModule=!0,bc.exports.default=bc.exports,x6(e)}bc.exports=x6,bc.exports.__esModule=!0,bc.exports.default=bc.exports});var Gz=Z((Wmn,V_)=>{var qz=Xs().default;function lCe(e,t){if(qz(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(qz(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}V_.exports=lCe,V_.exports.__esModule=!0,V_.exports.default=V_.exports});var T6=Z((zmn,J_)=>{var cCe=Xs().default,sCe=Gz();function fCe(e){var t=sCe(e,"string");return cCe(t)=="symbol"?t:t+""}J_.exports=fCe,J_.exports.__esModule=!0,J_.exports.default=J_.exports});var mv=Z(($mn,X_)=>{var dCe=T6();function pCe(e,t,n){return(t=dCe(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}X_.exports=pCe,X_.exports.__esModule=!0,X_.exports.default=X_.exports});var Vd=Z((qmn,Y_)=>{function mCe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Y_.exports=mCe,Y_.exports.__esModule=!0,Y_.exports.default=Y_.exports});var Jd=Z((Gmn,Z_)=>{var vCe=T6();function Vz(e,t){for(var n=0;n{function _Ce(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}Q_.exports=_Ce,Q_.exports.__esModule=!0,Q_.exports.default=Q_.exports});var Xd=Z((Jmn,K_)=>{var gCe=SE();function yCe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&gCe(e,t)}K_.exports=yCe,K_.exports.__esModule=!0,K_.exports.default=K_.exports});var Yd=Z((Xmn,e1)=>{var DCe=Xs().default,bCe=vv();function wCe(e,t){if(t&&(DCe(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return bCe(e)}e1.exports=wCe,e1.exports.__esModule=!0,e1.exports.default=e1.exports});var Zd=Z((Ymn,wc)=>{function E6(e){return wc.exports=E6=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},wc.exports.__esModule=!0,wc.exports.default=wc.exports,E6(e)}wc.exports=E6,wc.exports.__esModule=!0,wc.exports.default=wc.exports});var n1=Z((Zmn,t1)=>{function CCe(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}t1.exports=CCe,t1.exports.__esModule=!0,t1.exports.default=t1.exports});var r1=Z(nn=>{"use strict";function li(e){return e&&typeof e=="object"&&"default"in e?e.default:e}var R6=li(qd()),Kr=li(Gd()),bo=li(mv()),Jz=li(Vd()),Xz=li(Jd()),Yz=li(Xd()),xCe=li(Yd()),Zz=li(Zd()),w2=Ga(),Qmn=li(w2),Bt=dc(),TCe=yc(),S6=li(Xs()),ECe=li(rl()),RCe=li(n1()),SCe=li(zd()),Qz=function(){};function FCe(e,t){return t?t[0]==="-"?e+t:e+"__"+t:e}function MCe(e,t,n){var r=[n];if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&r.push("".concat(FCe(e,a)));return r.filter(function(o){return o}).map(function(o){return String(o).trim()}).join(" ")}var ICe=function(e){return Array.isArray(e)?e.filter(Boolean):S6(e)==="object"&&e!==null?[e]:[]};function ACe(e,t,n){if(n){var r=n(e,t);if(typeof r=="string")return r}return e}function F6(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Kz(e){return F6(e)?window.pageYOffset:e.scrollTop}function C2(e,t){F6(e)?window.scrollTo(0,t):e.scrollTop=t}function LCe(e){var t=getComputedStyle(e),n=t.position==="absolute",r=/(auto|scroll)/,a=document.documentElement;if(t.position==="fixed")return a;for(var o=e;o=o.parentElement;)if(t=getComputedStyle(o),(!n||t.position!=="static")&&r.test(t.overflow+t.overflowY+t.overflowX))return o;return a}function jCe(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function x2(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Qz,a=Kz(e),o=t-a,i=10,l=0;function u(){var c=jCe(l+=i,a,o,n);C2(e,c),ln.bottom?C2(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+a,e.scrollHeight)):r.top-a=p)return{placement:"bottom",maxHeight:t};if(L>=p&&!i)return o&&x2(u,W,160),{placement:"bottom",maxHeight:t};if(!i&&L>=r||i&&A>=r)return o&&x2(u,W,160),{placement:"bottom",maxHeight:i?A-C:L-C};if(a==="auto"||i){var ce=t,te=i?I:T;return te>=r&&(ce=Math.min(te-C-l.controlHeight,t)),{placement:"top",maxHeight:ce}}if(a==="bottom")return C2(u,W),{placement:"bottom",maxHeight:t};break;case"top":if(I>=p)return{placement:"top",maxHeight:t};if(T>=p&&!i)return o&&x2(u,$,160),{placement:"top",maxHeight:t};if(!i&&T>=r||i&&I>=r){var le=t;return(!i&&T>=r||i&&I>=r)&&(le=i?I-R:T-R),o&&x2(u,$,160),{placement:"top",maxHeight:le}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(a,'".'))}return c}function BCe(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}var M6=function(e){return e==="auto"?"bottom":e},WCe=function(e){var t,n=e.placement,r=e.theme,a=r.borderRadius,o=r.spacing,i=r.colors;return bo(t={label:"menu"},BCe(n),"100%"),bo(t,"backgroundColor",i.neutral0),bo(t,"borderRadius",a),bo(t,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),bo(t,"marginBottom",o.menuGutter),bo(t,"marginTop",o.menuGutter),bo(t,"position","absolute"),bo(t,"width","100%"),bo(t,"zIndex",1),t},r$=w2.createContext({getPortalPlacement:null}),a$=function(e){Yz(n,e);var t=n$(n);function n(){var r;Jz(this,n);for(var a=arguments.length,o=new Array(a),i=0;i{"use strict";function wo(e){return e&&typeof e=="object"&&"default"in e?e.default:e}for(T2=wo(qd()),br=wo(Gd()),P6=wo(B_()),C$=wo(G_()),E2=wo(mv()),hv=wo(Vd()),_v=wo(Jd()),N6=wo(vv()),gv=wo(Xd()),yv=wo(Yd()),hu=wo(Zd()),Qd=Ga(),ln=wo(Qd),O6=wo(Pm()),Kd=dc(),x$=yc(),rn=r1(),T$=wo(rl()),R2=[{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"}],E$=new RegExp("["+R2.map(function(e){return e.letters}).join("")+"]","g"),k6={},S2=0;S2-1}},Uxe={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;"},Hxe=function(e){return Kd.jsx("span",br({css:Uxe},e))};function Bxe(e){e.in,e.out,e.onExited,e.appear,e.enter,e.exit;var t=e.innerRef,n=(e.emotion,T2(e,["in","out","onExited","appear","enter","exit","innerRef","emotion"]));return Kd.jsx("input",br({ref:t},n,{css:T$({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 Wxe(e){var t=zxe();return function(){var n,r=hu(e);if(t){var a=hu(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return yv(this,n)}}function zxe(){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 I$=function(e){gv(n,e);var t=Wxe(n);function n(){return hv(this,n),t.apply(this,arguments)}return _v(n,[{key:"componentDidMount",value:function(){this.props.innerRef(x$.findDOMNode(this))}},{key:"componentWillUnmount",value:function(){this.props.innerRef(null)}},{key:"render",value:function(){return this.props.children}}]),n}(Qd.Component),A$=["boxSizing","height","overflow","paddingRight","position"],L$={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function j$(e){e.preventDefault()}function P$(e){e.stopPropagation()}function N$(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function O$(){return"ontouchstart"in window||navigator.maxTouchPoints}function $xe(e){var t=qxe();return function(){var n,r=hu(e);if(t){var a=hu(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return yv(this,n)}}function qxe(){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 k$=!(typeof window=="undefined"||!window.document||!window.document.createElement),a1=0,U$=function(e){gv(n,e);var t=$xe(n);function n(){var r;hv(this,n);for(var a=arguments.length,o=new Array(a),i=0;i0,I=_-D-y,A=!1;I>u&&r.isBottom&&(f&&f(l),r.isBottom=!1),R&&r.isTop&&(p&&p(l),r.isTop=!1),R&&u>I?(s&&!r.isBottom&&s(l),C.scrollTop=_,A=!0,r.isBottom=!0):!R&&-u>y&&(d&&!r.isTop&&d(l),C.scrollTop=0,A=!0,r.isTop=!0),A&&r.cancelScroll(l)},r.onWheel=function(l){r.handleEventDelta(l,l.deltaY)},r.onTouchStart=function(l){r.touchStart=l.changedTouches[0].clientY},r.onTouchMove=function(l){var u=r.touchStart-l.changedTouches[0].clientY;r.handleEventDelta(l,u)},r.getScrollTarget=function(l){r.scrollTarget=l},r}return _v(n,[{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 ln.createElement(I$,{innerRef:this.getScrollTarget},this.props.children)}}]),n}(Qd.Component);function Kxe(e){var t=e.isEnabled,n=t===void 0||t,r=T2(e,["isEnabled"]);return n?ln.createElement(Qxe,r):r.children}var e3e=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.isSearchable,r=t.isMulti,a=t.label,o=t.isDisabled,i=t.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(a||"Select"," is focused ").concat(n?",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"}},t3e=function(e,t){var n=t.value,r=t.isDisabled;if(n)switch(e){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(n,", deselected.");case"select-option":return"option ".concat(n,r?" is disabled. Select another option.":", selected.")}},n3e=function(e){var t=e.focusedValue,n=e.getOptionLabel,r=e.selectValue;return"value ".concat(n(t)," focused, ").concat(r.indexOf(t)+1," of ").concat(r.length,".")},r3e=function(e){var t=e.focusedOption,n=e.getOptionLabel,r=e.options;return"option ".concat(n(t)," focused").concat(t.isDisabled?" disabled":"",", ").concat(r.indexOf(t)+1," of ").concat(r.length,".")},a3e=function(e){var t=e.inputValue,n=e.screenReaderMessage;return"".concat(n).concat(t?" for search term "+t:"",".")},o3e=function(e){return e.label},i3e=function(e){return e.label},u3e=function(e){return e.value},H$=function(e){return!!e.isDisabled};function B$(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function l3e(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:{},n=l3e({},e);return Object.keys(t).forEach(function(r){e[r]?n[r]=function(a,o){return t[r](e[r](a,o),o)}:n[r]=t[r]}),n}var f3e={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%)"},d3e=4,W$=4,p3e=38,m3e=2*W$,v3e={baseUnit:W$,controlHeight:p3e,menuGutter:m3e},I2={borderRadius:d3e,colors:f3e,spacing:v3e};function z$(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function Dv(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:"set-value",s=arguments.length>2?arguments[2]:void 0,f=a.props,d=f.closeMenuOnSelect,p=f.isMulti;a.onInputChange("",{action:"set-value"}),d&&(a.inputIsHiddenAfterUpdate=!p,a.onMenuClose()),a.clearFocusValueOnUpdate=!0,a.onChange(u,{action:c,option:s})},a.selectOption=function(u){var c=a.props,s=c.blurInputOnSelect,f=c.isMulti,d=a.state.selectValue;if(f)if(a.isOptionSelected(u,d)){var p=a.getOptionValue(u);a.setValue(d.filter(function(m){return a.getOptionValue(m)!==p}),"deselect-option",u),a.announceAriaLiveSelection({event:"deselect-option",context:{value:a.getOptionLabel(u)}})}else a.isOptionDisabled(u,d)?a.announceAriaLiveSelection({event:"select-option",context:{value:a.getOptionLabel(u),isDisabled:!0}}):(a.setValue([].concat(C$(d),[u]),"select-option",u),a.announceAriaLiveSelection({event:"select-option",context:{value:a.getOptionLabel(u)}}));else a.isOptionDisabled(u,d)?a.announceAriaLiveSelection({event:"select-option",context:{value:a.getOptionLabel(u),isDisabled:!0}}):(a.setValue(u,"select-option"),a.announceAriaLiveSelection({event:"select-option",context:{value:a.getOptionLabel(u)}}));s&&a.blurInput()},a.removeValue=function(u){var c=a.state.selectValue,s=a.getOptionValue(u),f=c.filter(function(d){return a.getOptionValue(d)!==s});a.onChange(f.length?f:null,{action:"remove-value",removedValue:u}),a.announceAriaLiveSelection({event:"remove-value",context:{value:u?a.getOptionLabel(u):""}}),a.focusInput()},a.clearValue=function(){a.onChange(null,{action:"clear"})},a.popValue=function(){var u=a.state.selectValue,c=u[u.length-1],s=u.slice(0,u.length-1);a.announceAriaLiveSelection({event:"pop-value",context:{value:c?a.getOptionLabel(c):""}}),a.onChange(s.length?s:null,{action:"pop-value",removedValue:c})},a.getValue=function(){return a.state.selectValue},a.cx=function(){for(var u=arguments.length,c=new Array(u),s=0;s5||d>5}},a.onTouchEnd=function(u){a.userIsDragging||(a.controlRef&&!a.controlRef.contains(u.target)&&a.menuListRef&&!a.menuListRef.contains(u.target)&&a.blurInput(),a.initialTouchX=0,a.initialTouchY=0)},a.onControlTouchEnd=function(u){a.userIsDragging||a.onControlMouseDown(u)},a.onClearIndicatorTouchEnd=function(u){a.userIsDragging||a.onClearIndicatorMouseDown(u)},a.onDropdownIndicatorTouchEnd=function(u){a.userIsDragging||a.onDropdownIndicatorMouseDown(u)},a.handleInputChange=function(u){var c=u.currentTarget.value;a.inputIsHiddenAfterUpdate=!1,a.onInputChange(c,{action:"input-change"}),a.props.menuIsOpen||a.onMenuOpen()},a.onInputFocus=function(u){var c=a.props,s=c.isSearchable,f=c.isMulti;a.props.onFocus&&a.props.onFocus(u),a.inputIsHiddenAfterUpdate=!1,a.announceAriaLiveContext({event:"input",context:{isSearchable:s,isMulti:f}}),a.setState({isFocused:!0}),(a.openAfterFocus||a.props.openMenuOnFocus)&&a.openMenu("first"),a.openAfterFocus=!1},a.onInputBlur=function(u){a.menuListRef&&a.menuListRef.contains(document.activeElement)?a.inputRef.focus():(a.props.onBlur&&a.props.onBlur(u),a.onInputChange("",{action:"input-blur"}),a.onMenuClose(),a.setState({focusedValue:null,isFocused:!1}))},a.onOptionHover=function(u){a.blockOptionHover||a.state.focusedOption===u||a.setState({focusedOption:u})},a.shouldHideSelectedOptions=function(){var u=a.props,c=u.hideSelectedOptions,s=u.isMulti;return c===void 0?s:c},a.onKeyDown=function(u){var c=a.props,s=c.isMulti,f=c.backspaceRemovesValue,d=c.escapeClearsValue,p=c.inputValue,m=c.isClearable,y=c.isDisabled,_=c.menuIsOpen,D=c.onKeyDown,C=c.tabSelectsValue,R=c.openMenuOnFocus,I=a.state,A=I.focusedOption,T=I.focusedValue,L=I.selectValue;if(!(y||typeof D=="function"&&(D(u),u.defaultPrevented))){switch(a.blockOptionHover=!0,u.key){case"ArrowLeft":if(!s||p)return;a.focusValue("previous");break;case"ArrowRight":if(!s||p)return;a.focusValue("next");break;case"Delete":case"Backspace":if(p)return;if(T)a.removeValue(T);else{if(!f)return;s?a.popValue():m&&a.clearValue()}break;case"Tab":if(a.isComposing||u.shiftKey||!_||!C||!A||R&&a.isOptionSelected(A,L))return;a.selectOption(A);break;case"Enter":if(u.keyCode===229)break;if(_){if(!A||a.isComposing)return;a.selectOption(A);break}return;case"Escape":_?(a.inputIsHiddenAfterUpdate=!1,a.onInputChange("",{action:"menu-close"}),a.onMenuClose()):m&&d&&a.clearValue();break;case" ":if(p)return;if(!_){a.openMenu("first");break}if(!A)return;a.selectOption(A);break;case"ArrowUp":_?a.focusOption("up"):a.openMenu("last");break;case"ArrowDown":_?a.focusOption("down"):a.openMenu("first");break;case"PageUp":if(!_)return;a.focusOption("pageup");break;case"PageDown":if(!_)return;a.focusOption("pagedown");break;case"Home":if(!_)return;a.focusOption("first");break;case"End":if(!_)return;a.focusOption("last");break;default:return}u.preventDefault()}},a.buildMenuOptions=function(u,c){var s=u.inputValue,f=s===void 0?"":s,d=u.options,p=function(m,y){var _=a.isOptionDisabled(m,c),D=a.isOptionSelected(m,c),C=a.getOptionLabel(m),R=a.getOptionValue(m);if(!(a.shouldHideSelectedOptions()&&D||!a.filterOption({label:C,value:R,data:m},f))){var I=_?void 0:function(){return a.onOptionHover(m)},A=_?void 0:function(){return a.selectOption(m)},T="".concat(a.getElementId("option"),"-").concat(y);return{innerProps:{id:T,onClick:A,onMouseMove:I,onMouseOver:I,tabIndex:-1},data:m,isDisabled:_,isSelected:D,key:T,label:C,type:"option",value:R}}};return d.reduce(function(m,y,_){if(y.options){a.hasGroups||(a.hasGroups=!0);var D=y.options.map(function(I,A){var T=p(I,"".concat(_,"-").concat(A));return T&&m.focusable.push(I),T}).filter(Boolean);if(D.length){var C="".concat(a.getElementId("group"),"-").concat(_);m.render.push({type:"group",key:C,data:y,options:D})}}else{var R=p(y,"".concat(_));R&&(m.render.push(R),m.focusable.push(y))}return m},{render:[],focusable:[]})};var o=r.value;a.cacheComponents=O6(a.cacheComponents,rn.exportedEqual).bind(N6(a)),a.cacheComponents(r.components),a.instancePrefix="react-select-"+(a.props.instanceId||++g3e);var i=rn.cleanValue(o);a.buildMenuOptions=O6(a.buildMenuOptions,function(u,c){var s=P6(u,2),f=s[0],d=s[1],p=P6(c,2),m=p[0];return d===p[1]&&f.inputValue===m.inputValue&&f.options===m.options}).bind(N6(a));var l=r.menuIsOpen?a.buildMenuOptions(r,i):{render:[],focusable:[]};return a.state.menuOptions=l,a.state.selectValue=i,a}return _v(n,[{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 a=this.props,o=a.options,i=a.value,l=a.menuIsOpen,u=a.inputValue;if(this.cacheComponents(r.components),r.value!==i||r.options!==o||r.menuIsOpen!==l||r.inputValue!==u){var c=rn.cleanValue(r.value),s=r.menuIsOpen?this.buildMenuOptions(r,c):{render:[],focusable:[]},f=this.getNextFocusedValue(c),d=this.getNextFocusedOption(s.focusable);this.setState({menuOptions:s,selectValue:c,focusedOption:d,focusedValue:f})}this.inputIsHiddenAfterUpdate!=null&&(this.setState({inputIsHidden:this.inputIsHiddenAfterUpdate}),delete this.inputIsHiddenAfterUpdate)}},{key:"componentDidUpdate",value:function(r){var a=this.props,o=a.isDisabled,i=a.menuIsOpen,l=this.state.isFocused;(l&&!o&&r.isDisabled||l&&i&&!r.menuIsOpen)&&this.focusInput(),l&&o&&!r.isDisabled&&this.setState({isFocused:!1},this.onMenuClose),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(rn.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 r=this.props,a=r.isSearchable,o=r.isMulti;this.announceAriaLiveContext({event:"input",context:{isSearchable:a,isMulti:o}}),this.onInputChange("",{action:"menu-close"}),this.props.onMenuClose()}},{key:"onInputChange",value:function(r,a){this.props.onInputChange(r,a)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(r){var a=this,o=this.state,i=o.selectValue,l=o.isFocused,u=this.buildMenuOptions(this.props,i),c=this.props,s=c.isMulti,f=c.tabSelectsValue,d=r==="first"?0:u.focusable.length-1;if(!s){var p=u.focusable.indexOf(i[0]);p>-1&&(d=p)}this.scrollToFocusedOptionOnUpdate=!(l&&this.menuListRef),this.inputIsHiddenAfterUpdate=!1,this.setState({menuOptions:u,focusedValue:null,focusedOption:u.focusable[d]},function(){a.onMenuOpen(),a.announceAriaLiveContext({event:"menu",context:{tabSelectsValue:f}})})}},{key:"focusValue",value:function(r){var a=this.props,o=a.isMulti,i=a.isSearchable,l=this.state,u=l.selectValue,c=l.focusedValue;if(o){this.setState({focusedOption:null});var s=u.indexOf(c);c||(s=-1,this.announceAriaLiveContext({event:"value"}));var f=u.length-1,d=-1;if(u.length){switch(r){case"previous":d=s===0?0:s===-1?f:s-1;break;case"next":s>-1&&s0&&arguments[0]!==void 0?arguments[0]:"first",a=this.props,o=a.pageSize,i=a.tabSelectsValue,l=this.state,u=l.focusedOption,c=l.menuOptions,s=c.focusable;if(s.length){var f=0,d=s.indexOf(u);u||(d=-1,this.announceAriaLiveContext({event:"menu",context:{tabSelectsValue:i}})),r==="up"?f=d>0?d-1:s.length-1:r==="down"?f=(d+1)%s.length:r==="pageup"?(f=d-o)<0&&(f=0):r==="pagedown"?(f=d+o)>s.length-1&&(f=s.length-1):r==="last"&&(f=s.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:s[f],focusedValue:null}),this.announceAriaLiveContext({event:"menu",context:{isDisabled:H$(s[f]),tabSelectsValue:i}})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(I2):Dv(Dv({},I2),this.props.theme):I2}},{key:"getCommonProps",value:function(){var r=this.clearValue,a=this.cx,o=this.getStyles,i=this.getValue,l=this.setValue,u=this.selectOption,c=this.props,s=c.isMulti,f=c.isRtl,d=c.options;return{cx:a,clearValue:r,getStyles:o,getValue:i,hasValue:this.hasValue(),isMulti:s,isRtl:f,options:d,selectOption:u,setValue:l,selectProps:c,theme:this.getTheme()}}},{key:"getNextFocusedValue",value:function(r){if(this.clearFocusValueOnUpdate)return this.clearFocusValueOnUpdate=!1,null;var a=this.state,o=a.focusedValue,i=a.selectValue.indexOf(o);if(i>-1){if(r.indexOf(o)>-1)return o;if(i-1?a:r[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 r=this.props,a=r.isClearable,o=r.isMulti;return a===void 0?o:a}},{key:"isOptionDisabled",value:function(r,a){return typeof this.props.isOptionDisabled=="function"&&this.props.isOptionDisabled(r,a)}},{key:"isOptionSelected",value:function(r,a){var o=this;if(a.indexOf(r)>-1)return!0;if(typeof this.props.isOptionSelected=="function")return this.props.isOptionSelected(r,a);var i=this.getOptionValue(r);return a.some(function(l){return o.getOptionValue(l)===i})}},{key:"filterOption",value:function(r,a){return!this.props.filterOption||this.props.filterOption(r,a)}},{key:"formatOptionLabel",value:function(r,a){if(typeof this.props.formatOptionLabel=="function"){var o=this.props.inputValue,i=this.state.selectValue;return this.props.formatOptionLabel(r,{context:a,inputValue:o,selectValue:i})}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,a=r.ariaLiveContext,o=r.selectValue,i=r.focusedValue,l=r.focusedOption,u=this.props,c=u.options,s=u.menuIsOpen,f=u.inputValue,d=u.screenReaderStatus,p=i?n3e({focusedValue:i,getOptionLabel:this.getOptionLabel,selectValue:o}):"",m=l&&s?r3e({focusedOption:l,getOptionLabel:this.getOptionLabel,options:c}):"",y=a3e({inputValue:f,screenReaderMessage:d({count:this.countOptions()})});return"".concat(p," ").concat(m," ").concat(y," ").concat(a)}},{key:"renderInput",value:function(){var r=this.props,a=r.isDisabled,o=r.isSearchable,i=r.inputId,l=r.inputValue,u=r.tabIndex,c=r.form,s=this.components.Input,f=this.state.inputIsHidden,d=i||this.getElementId("input"),p={"aria-autocomplete":"list","aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"]};if(!o)return ln.createElement(Bxe,br({id:d,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:rn.noop,onFocus:this.onInputFocus,readOnly:!0,disabled:a,tabIndex:u,form:c,value:""},p));var m=this.commonProps,y=m.cx,_=m.theme,D=m.selectProps;return ln.createElement(s,br({autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",cx:y,getStyles:this.getStyles,id:d,innerRef:this.getInputRef,isDisabled:a,isHidden:f,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,selectProps:D,spellCheck:"false",tabIndex:u,form:c,theme:_,type:"text",value:l},p))}},{key:"renderPlaceholderOrValue",value:function(){var r=this,a=this.components,o=a.MultiValue,i=a.MultiValueContainer,l=a.MultiValueLabel,u=a.MultiValueRemove,c=a.SingleValue,s=a.Placeholder,f=this.commonProps,d=this.props,p=d.controlShouldRenderValue,m=d.isDisabled,y=d.isMulti,_=d.inputValue,D=d.placeholder,C=this.state,R=C.selectValue,I=C.focusedValue,A=C.isFocused;if(!this.hasValue()||!p)return _?null:ln.createElement(s,br({},f,{key:"placeholder",isDisabled:m,isFocused:A}),D);if(y)return R.map(function(L,W){var $=L===I;return ln.createElement(o,br({},f,{components:{Container:i,Label:l,Remove:u},isFocused:$,isDisabled:m,key:"".concat(r.getOptionValue(L)).concat(W),index:W,removeProps:{onClick:function(){return r.removeValue(L)},onTouchEnd:function(){return r.removeValue(L)},onMouseDown:function(ce){ce.preventDefault(),ce.stopPropagation()}},data:L}),r.formatOptionLabel(L,"value"))});if(_)return null;var T=R[0];return ln.createElement(c,br({},f,{data:T,isDisabled:m}),this.formatOptionLabel(T,"value"))}},{key:"renderClearIndicator",value:function(){var r=this.components.ClearIndicator,a=this.commonProps,o=this.props,i=o.isDisabled,l=o.isLoading,u=this.state.isFocused;if(!this.isClearable()||!r||i||!this.hasValue()||l)return null;var c={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return ln.createElement(r,br({},a,{innerProps:c,isFocused:u}))}},{key:"renderLoadingIndicator",value:function(){var r=this.components.LoadingIndicator,a=this.commonProps,o=this.props,i=o.isDisabled,l=o.isLoading,u=this.state.isFocused;return!r||!l?null:ln.createElement(r,br({},a,{innerProps:{"aria-hidden":"true"},isDisabled:i,isFocused:u}))}},{key:"renderIndicatorSeparator",value:function(){var r=this.components,a=r.DropdownIndicator,o=r.IndicatorSeparator;if(!a||!o)return null;var i=this.commonProps,l=this.props.isDisabled,u=this.state.isFocused;return ln.createElement(o,br({},i,{isDisabled:l,isFocused:u}))}},{key:"renderDropdownIndicator",value:function(){var r=this.components.DropdownIndicator;if(!r)return null;var a=this.commonProps,o=this.props.isDisabled,i=this.state.isFocused,l={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return ln.createElement(r,br({},a,{innerProps:l,isDisabled:o,isFocused:i}))}},{key:"renderMenu",value:function(){var r=this,a=this.components,o=a.Group,i=a.GroupHeading,l=a.Menu,u=a.MenuList,c=a.MenuPortal,s=a.LoadingMessage,f=a.NoOptionsMessage,d=a.Option,p=this.commonProps,m=this.state,y=m.focusedOption,_=m.menuOptions,D=this.props,C=D.captureMenuScroll,R=D.inputValue,I=D.isLoading,A=D.loadingMessage,T=D.minMenuHeight,L=D.maxMenuHeight,W=D.menuIsOpen,$=D.menuPlacement,ce=D.menuPosition,te=D.menuPortalTarget,le=D.menuShouldBlockScroll,ee=D.menuShouldScrollIntoView,re=D.noOptionsMessage,de=D.onMenuScrollToTop,q=D.onMenuScrollToBottom;if(!W)return null;var Q,pe=function(H){var V=y===H.data;return H.innerRef=V?r.getFocusedOptionRef:void 0,ln.createElement(d,br({},p,H,{isFocused:V}),r.formatOptionLabel(H.data,"menu"))};if(this.hasOptions())Q=_.render.map(function(H){if(H.type==="group"){H.type;var V=T2(H,["type"]),Y="".concat(H.key,"-heading");return ln.createElement(o,br({},p,V,{Heading:i,headingProps:{id:Y,data:H.data},label:r.formatGroupLabel(H.data)}),H.options.map(function(j){return pe(j)}))}if(H.type==="option")return pe(H)});else if(I){var Je=A({inputValue:R});if(Je===null)return null;Q=ln.createElement(s,p,Je)}else{var qe=re({inputValue:R});if(qe===null)return null;Q=ln.createElement(f,p,qe)}var N={minMenuHeight:T,maxMenuHeight:L,menuPlacement:$,menuPosition:ce,menuShouldScrollIntoView:ee},F=ln.createElement(rn.MenuPlacer,br({},p,N),function(H){var V=H.ref,Y=H.placerProps,j=Y.placement,J=Y.maxHeight;return ln.createElement(l,br({},p,N,{innerRef:V,innerProps:{onMouseDown:r.onMenuMouseDown,onMouseMove:r.onMenuMouseMove},isLoading:I,placement:j}),ln.createElement(Kxe,{isEnabled:C,onTopArrive:de,onBottomArrive:q},ln.createElement(Xxe,{isEnabled:le},ln.createElement(u,br({},p,{innerRef:r.getMenuListRef,isLoading:I,maxHeight:J}),Q))))});return te||ce==="fixed"?ln.createElement(c,br({},p,{appendTo:te,controlElement:this.controlRef,menuPlacement:$,menuPosition:ce}),F):F}},{key:"renderFormField",value:function(){var r=this,a=this.props,o=a.delimiter,i=a.isDisabled,l=a.isMulti,u=a.name,c=this.state.selectValue;if(u&&!i){if(l){if(o){var s=c.map(function(p){return r.getOptionValue(p)}).join(o);return ln.createElement("input",{name:u,type:"hidden",value:s})}var f=c.length>0?c.map(function(p,m){return ln.createElement("input",{key:"i-".concat(m),name:u,type:"hidden",value:r.getOptionValue(p)})}):ln.createElement("input",{name:u,type:"hidden"});return ln.createElement("div",null,f)}var d=c[0]?this.getOptionValue(c[0]):"";return ln.createElement("input",{name:u,type:"hidden",value:d})}}},{key:"renderLiveRegion",value:function(){return this.state.isFocused?ln.createElement(Hxe,{"aria-live":"polite"},ln.createElement("span",{id:"aria-selection-event"},"\xA0",this.state.ariaLiveSelection),ln.createElement("span",{id:"aria-context"},"\xA0",this.constructAriaLiveMessage())):null}},{key:"render",value:function(){var r=this.components,a=r.Control,o=r.IndicatorsContainer,i=r.SelectContainer,l=r.ValueContainer,u=this.props,c=u.className,s=u.id,f=u.isDisabled,d=u.menuIsOpen,p=this.state.isFocused,m=this.commonProps=this.getCommonProps();return ln.createElement(i,br({},m,{className:c,innerProps:{id:s,onKeyDown:this.onKeyDown},isDisabled:f,isFocused:p}),this.renderLiveRegion(),ln.createElement(a,br({},m,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:f,isFocused:p,menuIsOpen:d}),ln.createElement(l,br({},m,{isDisabled:f}),this.renderPlaceholderOrValue(),this.renderInput()),ln.createElement(o,br({},m,{isDisabled:f}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}]),n}(Qd.Component);q$.defaultProps=$$,bv.Select=q$,bv.createFilter=M$,bv.defaultProps=$$,bv.defaultTheme=I2,bv.mergeStyles=s3e});var L2=Z(J$=>{"use strict";function Ys(e){return e&&typeof e=="object"&&"default"in e?e.default:e}var y3e=Ys(qd()),D3e=Ys(Gd()),b3e=Ys(Vd()),w3e=Ys(Jd()),C3e=Ys(Xd()),x3e=Ys(Yd()),G$=Ys(Zd()),V$=Ga(),T3e=Ys(V$);function E3e(e){var t=R3e();return function(){var n,r=G$(e);if(t){var a=G$(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return x3e(this,n)}}function R3e(){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 S3e={defaultInputValue:"",defaultMenuIsOpen:!1,defaultValue:null},F3e=function(e){var t,n;return n=t=function(r){C3e(o,r);var a=E3e(o);function o(){var i;b3e(this,o);for(var l=arguments.length,u=new Array(l),c=0;c1?u-1:0),s=1;s{"use strict";function Cc(e){return e&&typeof e=="object"&&"default"in e?e.default:e}Object.defineProperty(o1,"__esModule",{value:!0}),qd();var M3e=Cc(Gd());B_();var U6=Cc(G_()),I3e=Cc(mv()),A3e=Cc(Vd()),L3e=Cc(Jd());vv();var j3e=Cc(Xd()),P3e=Cc(Yd()),X$=Cc(Zd()),Y$=Ga(),N3e=Cc(Y$);Pm(),dc(),yc(),Xs();var Z$=r1(),O3e=A2();rl(),n1(),zd();var k3e=L2();function U3e(e){var t=H3e();return function(){var n,r=X$(e);if(t){var a=X$(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return P3e(this,n)}}function H3e(){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 Q$(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function B3e(e){for(var t=1;t0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=String(e).toLowerCase(),r=String(t.value).toLowerCase(),a=String(t.label).toLowerCase();return r===n||a===n},W3e={formatCreateLabel:function(e){return'Create "'.concat(e,'"')},isValidNewOption:function(e,t,n){return!(!e||t.some(function(r){return K$(e,r)})||n.some(function(r){return K$(e,r)}))},getNewOptionData:function(e,t){return{label:t,value:e,__isNew__:!0}}},eq=B3e({allowCreateWhileLoading:!1,createOptionPosition:"last"},W3e),tq=function(e){var t,n;return n=t=function(r){j3e(o,r);var a=U3e(o);function o(i){var l;A3e(this,o),(l=a.call(this,i)).select=void 0,l.onChange=function(c,s){var f=l.props,d=f.getNewOptionData,p=f.inputValue,m=f.isMulti,y=f.onChange,_=f.onCreateOption,D=f.value,C=f.name;if(s.action!=="select-option")return y(c,s);var R=l.state.newOption,I=Array.isArray(c)?c:[c];if(I[I.length-1]!==R)y(c,s);else if(_)_(p);else{var A=d(p,p),T={action:"create-option",name:C};y(m?[].concat(U6(Z$.cleanValue(D)),[A]):A,T)}};var u=i.options||[];return l.state={newOption:void 0,options:u},l}return L3e(o,[{key:"UNSAFE_componentWillReceiveProps",value:function(i){var l=i.allowCreateWhileLoading,u=i.createOptionPosition,c=i.formatCreateLabel,s=i.getNewOptionData,f=i.inputValue,d=i.isLoading,p=i.isValidNewOption,m=i.value,y=i.options||[],_=this.state.newOption;_=p(f,Z$.cleanValue(m),y)?s(f,c(f)):void 0,this.setState({newOption:_,options:!l&&d||!_?y:u==="first"?[_].concat(U6(y)):[].concat(U6(y),[_])})}},{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"render",value:function(){var i=this,l=this.state.options;return N3e.createElement(e,M3e({},this.props,{ref:function(u){i.select=u},options:l,onChange:this.onChange}))}}]),o}(Y$.Component),t.defaultProps=eq,n},z3e=tq(O3e.Select),$3e=k3e.manageState(z3e);o1.default=$3e,o1.defaultProps=eq,o1.makeCreatableSelect=tq});var rq=Z((rvn,nq)=>{"use strict";nq.exports=H6()});var B6=Z(i1=>{"use strict";function Zs(e){return e&&typeof e=="object"&&"default"in e?e.default:e}Object.defineProperty(i1,"__esModule",{value:!0});var q3e=Zs(qd()),G3e=Zs(Gd());B_(),G_(),mv();var V3e=Zs(Vd()),J3e=Zs(Jd());vv();var X3e=Zs(Xd()),Y3e=Zs(Yd()),aq=Zs(Zd()),oq=Ga(),Z3e=Zs(oq);Pm(),dc(),yc(),Xs();var Q3e=r1(),K3e=A2();rl(),n1(),zd();var eTe=L2();function tTe(e){var t=nTe();return function(){var n,r=aq(e);if(t){var a=aq(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return Y3e(this,n)}}function nTe(){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 iq={cacheOptions:!1,defaultOptions:!1,filterOption:null,isLoading:!1},uq=function(e){var t,n;return n=t=function(r){X3e(o,r);var a=tTe(o);function o(i){var l;return V3e(this,o),(l=a.call(this)).select=void 0,l.lastRequest=void 0,l.mounted=!1,l.optionsCache={},l.handleInputChange=function(u,c){var s=l.props,f=s.cacheOptions,d=s.onInputChange,p=Q3e.handleInputChange(u,c,d);if(!p)return delete l.lastRequest,void l.setState({inputValue:"",loadedInputValue:"",loadedOptions:[],isLoading:!1,passEmptyOptions:!1});if(f&&l.optionsCache[p])l.setState({inputValue:p,loadedInputValue:p,loadedOptions:l.optionsCache[p],isLoading:!1,passEmptyOptions:!1});else{var m=l.lastRequest={};l.setState({inputValue:p,isLoading:!0,passEmptyOptions:!l.state.loadedInputValue},function(){l.loadOptions(p,function(y){l.mounted&&(y&&(l.optionsCache[p]=y),m===l.lastRequest&&(delete l.lastRequest,l.setState({isLoading:!1,loadedInputValue:p,loadedOptions:y||[],passEmptyOptions:!1})))})})}return p},l.state={defaultOptions:Array.isArray(i.defaultOptions)?i.defaultOptions:void 0,inputValue:i.inputValue!==void 0?i.inputValue:"",isLoading:i.defaultOptions===!0,loadedOptions:[],passEmptyOptions:!1},l}return J3e(o,[{key:"componentDidMount",value:function(){var i=this;this.mounted=!0;var l=this.props.defaultOptions,u=this.state.inputValue;l===!0&&this.loadOptions(u,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,l){var u=this.props.loadOptions;if(!u)return l();var c=u(i,l);c&&typeof c.then=="function"&&c.then(l,function(){return l()})}},{key:"render",value:function(){var i=this,l=this.props,u=(l.loadOptions,l.isLoading),c=q3e(l,["loadOptions","isLoading"]),s=this.state,f=s.defaultOptions,d=s.inputValue,p=s.isLoading,m=s.loadedInputValue,y=s.loadedOptions,_=s.passEmptyOptions?[]:d&&m?y:f||[];return Z3e.createElement(e,G3e({},c,{ref:function(D){i.select=D},options:_,isLoading:p||u,onInputChange:this.handleInputChange}))}}]),o}(oq.Component),t.defaultProps=iq,n},rTe=eTe.manageState(K3e.Select),aTe=uq(rTe);i1.default=aTe,i1.defaultProps=iq,i1.makeAsyncSelect=uq});var cq=Z((ovn,lq)=>{"use strict";lq.exports=B6()});var sq=Z(W6=>{"use strict";Object.defineProperty(W6,"__esModule",{value:!0}),qd(),Gd(),B_(),G_(),mv(),Vd(),Jd(),vv(),Xd(),Yd(),Zd(),Ga(),Pm(),dc(),yc(),Xs(),r1();var oTe=A2();rl(),n1(),zd();var iTe=L2(),uTe=B6(),lTe=H6(),cTe=lTe.makeCreatableSelect(oTe.Select),sTe=iTe.manageState(cTe),fTe=uTe.makeAsyncSelect(sTe);W6.default=fTe});var dq=Z((uvn,fq)=>{"use strict";fq.exports=sq()});var xq=Z(An=>{"use strict";var fa=typeof Symbol=="function"&&Symbol.for,V6=fa?Symbol.for("react.element"):60103,J6=fa?Symbol.for("react.portal"):60106,k2=fa?Symbol.for("react.fragment"):60107,U2=fa?Symbol.for("react.strict_mode"):60108,H2=fa?Symbol.for("react.profiler"):60114,B2=fa?Symbol.for("react.provider"):60109,W2=fa?Symbol.for("react.context"):60110,X6=fa?Symbol.for("react.async_mode"):60111,z2=fa?Symbol.for("react.concurrent_mode"):60111,$2=fa?Symbol.for("react.forward_ref"):60112,q2=fa?Symbol.for("react.suspense"):60113,ITe=fa?Symbol.for("react.suspense_list"):60120,G2=fa?Symbol.for("react.memo"):60115,V2=fa?Symbol.for("react.lazy"):60116,ATe=fa?Symbol.for("react.block"):60121,LTe=fa?Symbol.for("react.fundamental"):60117,jTe=fa?Symbol.for("react.responder"):60118,PTe=fa?Symbol.for("react.scope"):60119;function si(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case V6:switch(e=e.type,e){case X6:case z2:case k2:case H2:case U2:case q2:return e;default:switch(e=e&&e.$$typeof,e){case W2:case $2:case V2:case G2:case B2:return e;default:return t}}case J6:return t}}}function Cq(e){return si(e)===z2}An.AsyncMode=X6;An.ConcurrentMode=z2;An.ContextConsumer=W2;An.ContextProvider=B2;An.Element=V6;An.ForwardRef=$2;An.Fragment=k2;An.Lazy=V2;An.Memo=G2;An.Portal=J6;An.Profiler=H2;An.StrictMode=U2;An.Suspense=q2;An.isAsyncMode=function(e){return Cq(e)||si(e)===X6};An.isConcurrentMode=Cq;An.isContextConsumer=function(e){return si(e)===W2};An.isContextProvider=function(e){return si(e)===B2};An.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===V6};An.isForwardRef=function(e){return si(e)===$2};An.isFragment=function(e){return si(e)===k2};An.isLazy=function(e){return si(e)===V2};An.isMemo=function(e){return si(e)===G2};An.isPortal=function(e){return si(e)===J6};An.isProfiler=function(e){return si(e)===H2};An.isStrictMode=function(e){return si(e)===U2};An.isSuspense=function(e){return si(e)===q2};An.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===k2||e===z2||e===H2||e===U2||e===q2||e===ITe||typeof e=="object"&&e!==null&&(e.$$typeof===V2||e.$$typeof===G2||e.$$typeof===B2||e.$$typeof===W2||e.$$typeof===$2||e.$$typeof===LTe||e.$$typeof===jTe||e.$$typeof===PTe||e.$$typeof===ATe)};An.typeOf=si});var Eq=Z((_0n,Tq)=>{"use strict";Tq.exports=xq()});var np=Z((I0n,Y2)=>{(function(){"use strict";var e={}.hasOwnProperty;function t(){for(var a="",o=0;o{function bEe(){this.__data__=[],this.size=0}_G.exports=bEe});var v5=Z((s_n,yG)=>{function wEe(e,t){return e===t||e!==e&&t!==t}yG.exports=wEe});var h1=Z((f_n,DG)=>{var CEe=v5();function xEe(e,t){for(var n=e.length;n--;)if(CEe(e[n][0],t))return n;return-1}DG.exports=xEe});var wG=Z((d_n,bG)=>{var TEe=h1(),EEe=Array.prototype,REe=EEe.splice;function SEe(e){var t=this.__data__,n=TEe(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():REe.call(t,n,1),--this.size,!0}bG.exports=SEe});var xG=Z((p_n,CG)=>{var FEe=h1();function MEe(e){var t=this.__data__,n=FEe(t,e);return n<0?void 0:t[n][1]}CG.exports=MEe});var EG=Z((m_n,TG)=>{var IEe=h1();function AEe(e){return IEe(this.__data__,e)>-1}TG.exports=AEe});var SG=Z((v_n,RG)=>{var LEe=h1();function jEe(e,t){var n=this.__data__,r=LEe(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}RG.exports=jEe});var _1=Z((h_n,FG)=>{var PEe=gG(),NEe=wG(),OEe=xG(),kEe=EG(),UEe=SG();function Ev(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t{var HEe=_1();function BEe(){this.__data__=new HEe,this.size=0}MG.exports=BEe});var LG=Z((g_n,AG)=>{function WEe(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}AG.exports=WEe});var PG=Z((y_n,jG)=>{function zEe(e){return this.__data__.get(e)}jG.exports=zEe});var OG=Z((D_n,NG)=>{function $Ee(e){return this.__data__.has(e)}NG.exports=$Ee});var h5=Z((b_n,kG)=>{var qEe=typeof global=="object"&&global&&global.Object===Object&&global;kG.exports=qEe});var vl=Z((w_n,UG)=>{var GEe=h5(),VEe=typeof self=="object"&&self&&self.Object===Object&&self,JEe=GEe||VEe||Function("return this")();UG.exports=JEe});var _w=Z((C_n,HG)=>{var XEe=vl(),YEe=XEe.Symbol;HG.exports=YEe});var $G=Z((x_n,zG)=>{var BG=_w(),WG=Object.prototype,ZEe=WG.hasOwnProperty,QEe=WG.toString,g1=BG?BG.toStringTag:void 0;function KEe(e){var t=ZEe.call(e,g1),n=e[g1];try{e[g1]=void 0;var r=!0}catch{}var a=QEe.call(e);return r&&(t?e[g1]=n:delete e[g1]),a}zG.exports=KEe});var GG=Z((T_n,qG)=>{var eRe=Object.prototype,tRe=eRe.toString;function nRe(e){return tRe.call(e)}qG.exports=nRe});var y1=Z((E_n,XG)=>{var VG=_w(),rRe=$G(),aRe=GG(),oRe="[object Null]",iRe="[object Undefined]",JG=VG?VG.toStringTag:void 0;function uRe(e){return e==null?e===void 0?iRe:oRe:JG&&JG in Object(e)?rRe(e):aRe(e)}XG.exports=uRe});var _5=Z((R_n,YG)=>{function lRe(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}YG.exports=lRe});var g5=Z((S_n,ZG)=>{var cRe=y1(),sRe=_5(),fRe="[object AsyncFunction]",dRe="[object Function]",pRe="[object GeneratorFunction]",mRe="[object Proxy]";function vRe(e){if(!sRe(e))return!1;var t=cRe(e);return t==dRe||t==pRe||t==fRe||t==mRe}ZG.exports=vRe});var KG=Z((F_n,QG)=>{var hRe=vl(),_Re=hRe["__core-js_shared__"];QG.exports=_Re});var nV=Z((M_n,tV)=>{var y5=KG(),eV=function(){var e=/[^.]+$/.exec(y5&&y5.keys&&y5.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function gRe(e){return!!eV&&eV in e}tV.exports=gRe});var D5=Z((I_n,rV)=>{var yRe=Function.prototype,DRe=yRe.toString;function bRe(e){if(e!=null){try{return DRe.call(e)}catch{}try{return e+""}catch{}}return""}rV.exports=bRe});var oV=Z((A_n,aV)=>{var wRe=g5(),CRe=nV(),xRe=_5(),TRe=D5(),ERe=/[\\^$.*+?()[\]{}|]/g,RRe=/^\[object .+?Constructor\]$/,SRe=Function.prototype,FRe=Object.prototype,MRe=SRe.toString,IRe=FRe.hasOwnProperty,ARe=RegExp("^"+MRe.call(IRe).replace(ERe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function LRe(e){if(!xRe(e)||CRe(e))return!1;var t=wRe(e)?ARe:RRe;return t.test(TRe(e))}aV.exports=LRe});var uV=Z((L_n,iV)=>{function jRe(e,t){return e==null?void 0:e[t]}iV.exports=jRe});var ap=Z((j_n,lV)=>{var PRe=oV(),NRe=uV();function ORe(e,t){var n=NRe(e,t);return PRe(n)?n:void 0}lV.exports=ORe});var gw=Z((P_n,cV)=>{var kRe=ap(),URe=vl(),HRe=kRe(URe,"Map");cV.exports=HRe});var D1=Z((N_n,sV)=>{var BRe=ap(),WRe=BRe(Object,"create");sV.exports=WRe});var pV=Z((O_n,dV)=>{var fV=D1();function zRe(){this.__data__=fV?fV(null):{},this.size=0}dV.exports=zRe});var vV=Z((k_n,mV)=>{function $Re(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}mV.exports=$Re});var _V=Z((U_n,hV)=>{var qRe=D1(),GRe="__lodash_hash_undefined__",VRe=Object.prototype,JRe=VRe.hasOwnProperty;function XRe(e){var t=this.__data__;if(qRe){var n=t[e];return n===GRe?void 0:n}return JRe.call(t,e)?t[e]:void 0}hV.exports=XRe});var yV=Z((H_n,gV)=>{var YRe=D1(),ZRe=Object.prototype,QRe=ZRe.hasOwnProperty;function KRe(e){var t=this.__data__;return YRe?t[e]!==void 0:QRe.call(t,e)}gV.exports=KRe});var bV=Z((B_n,DV)=>{var e7e=D1(),t7e="__lodash_hash_undefined__";function n7e(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=e7e&&t===void 0?t7e:t,this}DV.exports=n7e});var xV=Z((W_n,wV)=>{var r7e=pV(),a7e=vV(),o7e=_V(),i7e=yV(),u7e=bV();function Rv(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t{var TV=xV(),l7e=_1(),c7e=gw();function s7e(){this.size=0,this.__data__={hash:new TV,map:new(c7e||l7e),string:new TV}}EV.exports=s7e});var FV=Z(($_n,SV)=>{function f7e(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}SV.exports=f7e});var b1=Z((q_n,MV)=>{var d7e=FV();function p7e(e,t){var n=e.__data__;return d7e(t)?n[typeof t=="string"?"string":"hash"]:n.map}MV.exports=p7e});var AV=Z((G_n,IV)=>{var m7e=b1();function v7e(e){var t=m7e(this,e).delete(e);return this.size-=t?1:0,t}IV.exports=v7e});var jV=Z((V_n,LV)=>{var h7e=b1();function _7e(e){return h7e(this,e).get(e)}LV.exports=_7e});var NV=Z((J_n,PV)=>{var g7e=b1();function y7e(e){return g7e(this,e).has(e)}PV.exports=y7e});var kV=Z((X_n,OV)=>{var D7e=b1();function b7e(e,t){var n=D7e(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}OV.exports=b7e});var b5=Z((Y_n,UV)=>{var w7e=RV(),C7e=AV(),x7e=jV(),T7e=NV(),E7e=kV();function Sv(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t{var R7e=_1(),S7e=gw(),F7e=b5(),M7e=200;function I7e(e,t){var n=this.__data__;if(n instanceof R7e){var r=n.__data__;if(!S7e||r.length{var A7e=_1(),L7e=IG(),j7e=LG(),P7e=PG(),N7e=OG(),O7e=BV();function Fv(e){var t=this.__data__=new A7e(e);this.size=t.size}Fv.prototype.clear=L7e;Fv.prototype.delete=j7e;Fv.prototype.get=P7e;Fv.prototype.has=N7e;Fv.prototype.set=O7e;WV.exports=Fv});var qV=Z((K_n,$V)=>{var k7e="__lodash_hash_undefined__";function U7e(e){return this.__data__.set(e,k7e),this}$V.exports=U7e});var VV=Z((e1n,GV)=>{function H7e(e){return this.__data__.has(e)}GV.exports=H7e});var XV=Z((t1n,JV)=>{var B7e=b5(),W7e=qV(),z7e=VV();function yw(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new B7e;++t{function $7e(e,t){for(var n=-1,r=e==null?0:e.length;++n{function q7e(e,t){return e.has(t)}QV.exports=q7e});var w5=Z((a1n,eJ)=>{var G7e=XV(),V7e=ZV(),J7e=KV(),X7e=1,Y7e=2;function Z7e(e,t,n,r,a,o){var i=n&X7e,l=e.length,u=t.length;if(l!=u&&!(i&&u>l))return!1;var c=o.get(e),s=o.get(t);if(c&&s)return c==t&&s==e;var f=-1,d=!0,p=n&Y7e?new G7e:void 0;for(o.set(e,t),o.set(t,e);++f{var Q7e=vl(),K7e=Q7e.Uint8Array;tJ.exports=K7e});var aJ=Z((i1n,rJ)=>{function e6e(e){var t=-1,n=Array(e.size);return e.forEach(function(r,a){n[++t]=[a,r]}),n}rJ.exports=e6e});var iJ=Z((u1n,oJ)=>{function t6e(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}oJ.exports=t6e});var fJ=Z((l1n,sJ)=>{var uJ=_w(),lJ=nJ(),n6e=v5(),r6e=w5(),a6e=aJ(),o6e=iJ(),i6e=1,u6e=2,l6e="[object Boolean]",c6e="[object Date]",s6e="[object Error]",f6e="[object Map]",d6e="[object Number]",p6e="[object RegExp]",m6e="[object Set]",v6e="[object String]",h6e="[object Symbol]",_6e="[object ArrayBuffer]",g6e="[object DataView]",cJ=uJ?uJ.prototype:void 0,C5=cJ?cJ.valueOf:void 0;function y6e(e,t,n,r,a,o,i){switch(n){case g6e:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case _6e:return!(e.byteLength!=t.byteLength||!o(new lJ(e),new lJ(t)));case l6e:case c6e:case d6e:return n6e(+e,+t);case s6e:return e.name==t.name&&e.message==t.message;case p6e:case v6e:return e==t+"";case f6e:var l=a6e;case m6e:var u=r&i6e;if(l||(l=o6e),e.size!=t.size&&!u)return!1;var c=i.get(e);if(c)return c==t;r|=u6e,i.set(e,t);var s=r6e(l(e),l(t),r,a,o,i);return i.delete(e),s;case h6e:if(C5)return C5.call(e)==C5.call(t)}return!1}sJ.exports=y6e});var pJ=Z((c1n,dJ)=>{function D6e(e,t){for(var n=-1,r=t.length,a=e.length;++n{var b6e=Array.isArray;mJ.exports=b6e});var hJ=Z((f1n,vJ)=>{var w6e=pJ(),C6e=Dw();function x6e(e,t,n){var r=t(e);return C6e(e)?r:w6e(r,n(e))}vJ.exports=x6e});var gJ=Z((d1n,_J)=>{function T6e(e,t){for(var n=-1,r=e==null?0:e.length,a=0,o=[];++n{function E6e(){return[]}yJ.exports=E6e});var CJ=Z((m1n,wJ)=>{var R6e=gJ(),S6e=DJ(),F6e=Object.prototype,M6e=F6e.propertyIsEnumerable,bJ=Object.getOwnPropertySymbols,I6e=bJ?function(e){return e==null?[]:(e=Object(e),R6e(bJ(e),function(t){return M6e.call(e,t)}))}:S6e;wJ.exports=I6e});var TJ=Z((v1n,xJ)=>{function A6e(e,t){for(var n=-1,r=Array(e);++n{function L6e(e){return e!=null&&typeof e=="object"}EJ.exports=L6e});var SJ=Z((_1n,RJ)=>{var j6e=y1(),P6e=w1(),N6e="[object Arguments]";function O6e(e){return P6e(e)&&j6e(e)==N6e}RJ.exports=O6e});var AJ=Z((g1n,IJ)=>{var FJ=SJ(),k6e=w1(),MJ=Object.prototype,U6e=MJ.hasOwnProperty,H6e=MJ.propertyIsEnumerable,B6e=FJ(function(){return arguments}())?FJ:function(e){return k6e(e)&&U6e.call(e,"callee")&&!H6e.call(e,"callee")};IJ.exports=B6e});var jJ=Z((y1n,LJ)=>{function W6e(){return!1}LJ.exports=W6e});var x5=Z((C1,Mv)=>{var z6e=vl(),$6e=jJ(),PJ=typeof C1=="object"&&C1&&!C1.nodeType&&C1,NJ=PJ&&typeof Mv=="object"&&Mv&&!Mv.nodeType&&Mv,q6e=NJ&&NJ.exports===PJ,OJ=q6e?z6e.Buffer:void 0,G6e=OJ?OJ.isBuffer:void 0,V6e=G6e||$6e;Mv.exports=V6e});var UJ=Z((D1n,kJ)=>{var J6e=9007199254740991,X6e=/^(?:0|[1-9]\d*)$/;function Y6e(e,t){var n=typeof e;return t=t==null?J6e:t,!!t&&(n=="number"||n!="symbol"&&X6e.test(e))&&e>-1&&e%1==0&&e{var Z6e=9007199254740991;function Q6e(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Z6e}HJ.exports=Q6e});var WJ=Z((w1n,BJ)=>{var K6e=y1(),e5e=T5(),t5e=w1(),n5e="[object Arguments]",r5e="[object Array]",a5e="[object Boolean]",o5e="[object Date]",i5e="[object Error]",u5e="[object Function]",l5e="[object Map]",c5e="[object Number]",s5e="[object Object]",f5e="[object RegExp]",d5e="[object Set]",p5e="[object String]",m5e="[object WeakMap]",v5e="[object ArrayBuffer]",h5e="[object DataView]",_5e="[object Float32Array]",g5e="[object Float64Array]",y5e="[object Int8Array]",D5e="[object Int16Array]",b5e="[object Int32Array]",w5e="[object Uint8Array]",C5e="[object Uint8ClampedArray]",x5e="[object Uint16Array]",T5e="[object Uint32Array]",er={};er[_5e]=er[g5e]=er[y5e]=er[D5e]=er[b5e]=er[w5e]=er[C5e]=er[x5e]=er[T5e]=!0;er[n5e]=er[r5e]=er[v5e]=er[a5e]=er[h5e]=er[o5e]=er[i5e]=er[u5e]=er[l5e]=er[c5e]=er[s5e]=er[f5e]=er[d5e]=er[p5e]=er[m5e]=!1;function E5e(e){return t5e(e)&&e5e(e.length)&&!!er[K6e(e)]}BJ.exports=E5e});var $J=Z((C1n,zJ)=>{function R5e(e){return function(t){return e(t)}}zJ.exports=R5e});var GJ=Z((T1,Iv)=>{var S5e=h5(),qJ=typeof T1=="object"&&T1&&!T1.nodeType&&T1,x1=qJ&&typeof Iv=="object"&&Iv&&!Iv.nodeType&&Iv,F5e=x1&&x1.exports===qJ,E5=F5e&&S5e.process,M5e=function(){try{var e=x1&&x1.require&&x1.require("util").types;return e||E5&&E5.binding&&E5.binding("util")}catch{}}();Iv.exports=M5e});var R5=Z((x1n,XJ)=>{var I5e=WJ(),A5e=$J(),VJ=GJ(),JJ=VJ&&VJ.isTypedArray,L5e=JJ?A5e(JJ):I5e;XJ.exports=L5e});var ZJ=Z((T1n,YJ)=>{var j5e=TJ(),P5e=AJ(),N5e=Dw(),O5e=x5(),k5e=UJ(),U5e=R5(),H5e=Object.prototype,B5e=H5e.hasOwnProperty;function W5e(e,t){var n=N5e(e),r=!n&&P5e(e),a=!n&&!r&&O5e(e),o=!n&&!r&&!a&&U5e(e),i=n||r||a||o,l=i?j5e(e.length,String):[],u=l.length;for(var c in e)(t||B5e.call(e,c))&&!(i&&(c=="length"||a&&(c=="offset"||c=="parent")||o&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||k5e(c,u)))&&l.push(c);return l}YJ.exports=W5e});var KJ=Z((E1n,QJ)=>{var z5e=Object.prototype;function $5e(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||z5e;return e===n}QJ.exports=$5e});var tX=Z((R1n,eX)=>{function q5e(e,t){return function(n){return e(t(n))}}eX.exports=q5e});var rX=Z((S1n,nX)=>{var G5e=tX(),V5e=G5e(Object.keys,Object);nX.exports=V5e});var oX=Z((F1n,aX)=>{var J5e=KJ(),X5e=rX(),Y5e=Object.prototype,Z5e=Y5e.hasOwnProperty;function Q5e(e){if(!J5e(e))return X5e(e);var t=[];for(var n in Object(e))Z5e.call(e,n)&&n!="constructor"&&t.push(n);return t}aX.exports=Q5e});var uX=Z((M1n,iX)=>{var K5e=g5(),eSe=T5();function tSe(e){return e!=null&&eSe(e.length)&&!K5e(e)}iX.exports=tSe});var cX=Z((I1n,lX)=>{var nSe=ZJ(),rSe=oX(),aSe=uX();function oSe(e){return aSe(e)?nSe(e):rSe(e)}lX.exports=oSe});var fX=Z((A1n,sX)=>{var iSe=hJ(),uSe=CJ(),lSe=cX();function cSe(e){return iSe(e,lSe,uSe)}sX.exports=cSe});var mX=Z((L1n,pX)=>{var dX=fX(),sSe=1,fSe=Object.prototype,dSe=fSe.hasOwnProperty;function pSe(e,t,n,r,a,o){var i=n&sSe,l=dX(e),u=l.length,c=dX(t),s=c.length;if(u!=s&&!i)return!1;for(var f=u;f--;){var d=l[f];if(!(i?d in t:dSe.call(t,d)))return!1}var p=o.get(e),m=o.get(t);if(p&&m)return p==t&&m==e;var y=!0;o.set(e,t),o.set(t,e);for(var _=i;++f{var mSe=ap(),vSe=vl(),hSe=mSe(vSe,"DataView");vX.exports=hSe});var gX=Z((P1n,_X)=>{var _Se=ap(),gSe=vl(),ySe=_Se(gSe,"Promise");_X.exports=ySe});var DX=Z((N1n,yX)=>{var DSe=ap(),bSe=vl(),wSe=DSe(bSe,"Set");yX.exports=wSe});var wX=Z((O1n,bX)=>{var CSe=ap(),xSe=vl(),TSe=CSe(xSe,"WeakMap");bX.exports=TSe});var MX=Z((k1n,FX)=>{var S5=hX(),F5=gw(),M5=gX(),I5=DX(),A5=wX(),CX=y1(),Av=D5(),xX="[object Map]",ESe="[object Object]",TX="[object Promise]",EX="[object Set]",RX="[object WeakMap]",SX="[object DataView]",RSe=Av(S5),SSe=Av(F5),FSe=Av(M5),MSe=Av(I5),ISe=Av(A5),op=CX;(S5&&op(new S5(new ArrayBuffer(1)))!=SX||F5&&op(new F5)!=xX||M5&&op(M5.resolve())!=TX||I5&&op(new I5)!=EX||A5&&op(new A5)!=RX)&&(op=function(e){var t=CX(e),n=t==ESe?e.constructor:void 0,r=n?Av(n):"";if(r)switch(r){case RSe:return SX;case SSe:return xX;case FSe:return TX;case MSe:return EX;case ISe:return RX}return t});FX.exports=op});var kX=Z((U1n,OX)=>{var L5=zV(),ASe=w5(),LSe=fJ(),jSe=mX(),IX=MX(),AX=Dw(),LX=x5(),PSe=R5(),NSe=1,jX="[object Arguments]",PX="[object Array]",bw="[object Object]",OSe=Object.prototype,NX=OSe.hasOwnProperty;function kSe(e,t,n,r,a,o){var i=AX(e),l=AX(t),u=i?PX:IX(e),c=l?PX:IX(t);u=u==jX?bw:u,c=c==jX?bw:c;var s=u==bw,f=c==bw,d=u==c;if(d&&LX(e)){if(!LX(t))return!1;i=!0,s=!1}if(d&&!s)return o||(o=new L5),i||PSe(e)?ASe(e,t,n,r,a,o):LSe(e,t,u,n,r,a,o);if(!(n&NSe)){var p=s&&NX.call(e,"__wrapped__"),m=f&&NX.call(t,"__wrapped__");if(p||m){var y=p?e.value():e,_=m?t.value():t;return o||(o=new L5),a(y,_,n,r,o)}}return d?(o||(o=new L5),jSe(e,t,n,r,a,o)):!1}OX.exports=kSe});var WX=Z((H1n,BX)=>{var USe=kX(),UX=w1();function HX(e,t,n,r,a){return e===t?!0:e==null||t==null||!UX(e)&&!UX(t)?e!==e&&t!==t:USe(e,t,n,r,HX,a)}BX.exports=HX});var $X=Z((B1n,zX)=>{var HSe=WX();function BSe(e,t){return HSe(e,t)}zX.exports=BSe});var SY=Z((tDn,v8e)=>{v8e.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 tS=Z((dwn,vZ)=>{vZ.exports=function(t){return t!=null&&t.constructor!=null&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}});var MZ=Z((jwn,FZ)=>{"use strict";var kw=Object.prototype.hasOwnProperty,wZ=Object.prototype.toString,CZ=Object.defineProperty,xZ=Object.getOwnPropertyDescriptor,TZ=function(t){return typeof Array.isArray=="function"?Array.isArray(t):wZ.call(t)==="[object Array]"},EZ=function(t){if(!t||wZ.call(t)!=="[object Object]")return!1;var n=kw.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&kw.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!r)return!1;var a;for(a in t);return typeof a=="undefined"||kw.call(t,a)},RZ=function(t,n){CZ&&n.name==="__proto__"?CZ(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},SZ=function(t,n){if(n==="__proto__")if(kw.call(t,n)){if(xZ)return xZ(t,n).value}else return;return t[n]};FZ.exports=function e(){var t,n,r,a,o,i,l=arguments[0],u=1,c=arguments.length,s=!1;for(typeof l=="boolean"&&(s=l,l=arguments[1]||{},u=2),(l==null||typeof l!="object"&&typeof l!="function")&&(l={});u{"use strict";var WS=Symbol.for("react.element"),zS=Symbol.for("react.portal"),s4=Symbol.for("react.fragment"),f4=Symbol.for("react.strict_mode"),d4=Symbol.for("react.profiler"),p4=Symbol.for("react.provider"),m4=Symbol.for("react.context"),s9e=Symbol.for("react.server_context"),v4=Symbol.for("react.forward_ref"),h4=Symbol.for("react.suspense"),_4=Symbol.for("react.suspense_list"),g4=Symbol.for("react.memo"),y4=Symbol.for("react.lazy"),f9e=Symbol.for("react.offscreen"),YQ;YQ=Symbol.for("react.module.reference");function Wi(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case WS:switch(e=e.type,e){case s4:case d4:case f4:case h4:case _4:return e;default:switch(e=e&&e.$$typeof,e){case s9e:case m4:case v4:case y4:case g4:case p4:return e;default:return t}}case zS:return t}}}Ln.ContextConsumer=m4;Ln.ContextProvider=p4;Ln.Element=WS;Ln.ForwardRef=v4;Ln.Fragment=s4;Ln.Lazy=y4;Ln.Memo=g4;Ln.Portal=zS;Ln.Profiler=d4;Ln.StrictMode=f4;Ln.Suspense=h4;Ln.SuspenseList=_4;Ln.isAsyncMode=function(){return!1};Ln.isConcurrentMode=function(){return!1};Ln.isContextConsumer=function(e){return Wi(e)===m4};Ln.isContextProvider=function(e){return Wi(e)===p4};Ln.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===WS};Ln.isForwardRef=function(e){return Wi(e)===v4};Ln.isFragment=function(e){return Wi(e)===s4};Ln.isLazy=function(e){return Wi(e)===y4};Ln.isMemo=function(e){return Wi(e)===g4};Ln.isPortal=function(e){return Wi(e)===zS};Ln.isProfiler=function(e){return Wi(e)===d4};Ln.isStrictMode=function(e){return Wi(e)===f4};Ln.isSuspense=function(e){return Wi(e)===h4};Ln.isSuspenseList=function(e){return Wi(e)===_4};Ln.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===s4||e===d4||e===f4||e===h4||e===_4||e===f9e||typeof e=="object"&&e!==null&&(e.$$typeof===y4||e.$$typeof===g4||e.$$typeof===p4||e.$$typeof===m4||e.$$typeof===v4||e.$$typeof===YQ||e.getModuleId!==void 0)};Ln.typeOf=Wi});var KQ=Z((VEn,QQ)=>{"use strict";QQ.exports=ZQ()});var lK=Z((ZEn,uK)=>{var rK=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,d9e=/\n/g,p9e=/^\s*/,m9e=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,v9e=/^:\s*/,h9e=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,_9e=/^[;\s]*/,g9e=/^\s+|\s+$/g,y9e=` `,aK="/",oK="*",vp="",D9e="comment",b9e="declaration";uK.exports=function(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function a(y){var _=y.match(d9e);_&&(n+=_.length);var D=y.lastIndexOf(y9e);r=~D?y.length-D:r+y.length}function o(){var y={line:n,column:r};return function(_){return _.position=new i(y),s(),_}}function i(y){this.start=y,this.end={line:n,column:r},this.source=t.source}i.prototype.content=e;var l=[];function u(y){var _=new Error(t.source+":"+n+":"+r+": "+y);if(_.reason=y,_.filename=t.source,_.line=n,_.column=r,_.source=e,t.silent)l.push(_);else throw _}function c(y){var _=y.exec(e);if(!!_){var D=_[0];return a(D),e=e.slice(D.length),_}}function s(){c(p9e)}function f(y){var _;for(y=y||[];_=d();)_!==!1&&y.push(_);return y}function d(){var y=o();if(!(aK!=e.charAt(0)||oK!=e.charAt(1))){for(var _=2;vp!=e.charAt(_)&&(oK!=e.charAt(_)||aK!=e.charAt(_+1));)++_;if(_+=2,vp===e.charAt(_-1))return u("End of comment missing");var D=e.slice(2,_-2);return r+=2,a(D),e=e.slice(_),r+=2,y({type:D9e,comment:D})}}function p(){var y=o(),_=c(m9e);if(!!_){if(d(),!c(v9e))return u("property missing ':'");var D=c(h9e),C=y({type:b9e,property:iK(_[0].replace(rK,vp)),value:D?iK(D[0].replace(rK,vp)):vp});return c(_9e),C}}function m(){var y=[];f(y);for(var _;_=p();)_!==!1&&(y.push(_),f(y));return y}return s(),m()};function iK(e){return e?e.replace(g9e,vp):vp}});var sK=Z((QEn,GS)=>{var w9e=lK();function cK(e,t){var n=null;if(!e||typeof e!="string")return n;for(var r,a=w9e(e),o=typeof t=="function",i,l,u=0,c=a.length;uPke});var u9=function(e){return function(t){for(var n=e.length,r=t.length,a=new Array(n*r),o=0,i=0;i="0"&&e[a]<="9"?"\\&":"";return"\\"+n.charCodeAt(0).toString(10)+o})+'"'};var jr={show:M9};var hn={show:F9};var xe=function(e){return e.show};var sn=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),Ft=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}();var vr=function(){function e(){}return e.value=new e,e}(),Mg=function(e){return e};var Ig=function(e){return e.to};var fx=function(e){return e.from};var Bue=He(ze),O=function(){function e(){}return e.value=new e,e}(),P=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}();var At=function(e){return function(t){return function(n){if(n instanceof O)return e;if(n instanceof P)return t(n.value0);throw new Error("Failed pattern match at Data.Maybe (line 237, column 1 - line 237, column 51): "+[e.constructor.name,t.constructor.name,n.constructor.name])}}},zr=At(!0)(Xe(!1)),Cr=At(!1)(Xe(!0));var Ve={map:function(e){return function(t){return t instanceof P?new P(e(t.value0)):O.value}}},Wue=X(Ve);var et=function(e){return At(e)(Bue)},In=function(){return function(e){if(e instanceof P)return e.value0;throw new Error("Failed pattern match at Data.Maybe (line 288, column 1 - line 288, column 46): "+[e.constructor.name])}};var $r=function(e){var t=De(e);return{eq:function(n){return function(r){return n instanceof O&&r instanceof O?!0:n instanceof P&&r instanceof P?t(n.value0)(r.value0):!1}}}},Lu=function(e){var t=Ge(e),n=$r(e.Eq0());return{compare:function(r){return function(a){if(r instanceof O&&a instanceof O)return it.value;if(r instanceof O)return Me.value;if(a instanceof O)return Fe.value;if(r instanceof P&&a instanceof P)return t(r.value0)(a.value0);throw new Error("Failed pattern match at Data.Maybe (line 0, column 0 - line 0, column 0): "+[r.constructor.name,a.constructor.name])}},Eq0:function(){return n}}};var io={apply:function(e){return function(t){if(e instanceof P)return Wue(e.value0)(t);if(e instanceof O)return O.value;throw new Error("Failed pattern match at Data.Maybe (line 67, column 1 - line 69, column 30): "+[e.constructor.name,t.constructor.name])}},Functor0:function(){return Ve}};var pt={bind:function(e){return function(t){if(e instanceof P)return t(e.value0);if(e instanceof O)return O.value;throw new Error("Failed pattern match at Data.Maybe (line 125, column 1 - line 127, column 28): "+[e.constructor.name,t.constructor.name])}},Apply0:function(){return io}};var bn=function(){return{pure:P.create,Apply0:function(){return io}}}();var I9={alt:function(e){return function(t){return e instanceof O?t:e}},Functor0:function(){return Ve}},zue=function(){return{empty:O.value,Alt0:function(){return I9}}}(),kp={Applicative0:function(){return bn},Plus1:function(){return zue}};var jf=null;function A9(e,t,n){return e==null?t:n(e)}function dx(e){return e}var tu=At(jf)(dx),yt=function(e){return A9(e,O.value,P.create)};function L9(e){return typeof e=="string"}function j9(e){return typeof e=="number"}function P9(e){return typeof e=="boolean"}function N9(e){return e instanceof Object}function O9(e){return e instanceof Function}function D0(e){return e===null?"":e===void 0?"":e instanceof Date?e.toString():typeof Blob!="undefined"&&e instanceof Blob?"file["+e.name+"]":JSON.stringify(e)}var $ue=function(e,t){if(e<1)return[];var n=new Array(e);return n.fill(t)},que=function(e,t){for(var n=[],r=0,a=0;a=n.length?t:e(n[r])};var B9=function(e,t,n,r){for(var a=0,o=r.length;a=a.length)return t;var o=a.slice();return o[n]=r,e(o)};var z9=function(e,t){return t.filter(e)};var $9=function(){function e(t,n,r,a,o,i){var l,u,c,s,f,d,p;for(l=o+(i-o>>1),l-o>1&&e(t,n,a,r,o,l),i-l>1&&e(t,n,a,r,l,i),u=o,c=l,s=o;u0?(r[s++]=d,++c):(r[s++]=f,++u);for(;u0?Math.floor(e/t):-Math.floor(e/-t)}},K9=function(e){return function(t){if(t===0)return 0;var n=Math.abs(t);return(e%n+n)%n}};var tI={Ring0:function(){return Rg}};var Nu={degree:Z9,div:Q9,mod:K9,CommutativeRing0:function(){return tI}},Ao=function(e){return e.div};var mx={mempty:ve,Semigroup0:function(){return _0}},qr={mempty:"",Semigroup0:function(){return Eg}};var Jt=function(e){return e.mempty};var vx=function(e){return function(){return e}},nI=function(e){return function(t){return function(){return t(e())()}}};var hx=function(e){return function(t){return function(){for(var n=0,r=e.length;n>1),l-o>1&&e(t,n,a,r,o,l),i-l>1&&e(t,n,a,r,l,i),u=o,c=l,s=o;u0?(r[s++]=d,++c):(r[s++]=f,++u);for(;u=0;o--)r=e(n[o])(r);return r}}},xI=function(e){return function(t){return function(n){for(var r=t,a=n.length,o=0;o=Tr(YI))return YI;if(e<=Tr(ZI))return ZI;if(nt)return et(0)(Jf(e));throw new Error("Failed pattern match at Data.Int (line 72, column 1 - line 72, column 29): "+[e.constructor.name])},ry=function(e){return Oce(ny(e))};var QI=function(e){return(e&1)==0};function ay(e){return Object.prototype.toString.call(e).slice(8,-1)}function N0(e){return e===null}function tm(e){return e===void 0}var oy=Array.isArray||function(e){return Object.prototype.toString.call(e)==="[object Array]"};function Di(e){return new Error(e)}function nm(e){return e.message}function O0(e){return function(){throw e}}var eA=function(e){return O0(Di(e))};var Er=function(e){return e.throwError};var tA={throwError:O0,Monad0:function(){return Il}};var fo=function(e){return e.catchError};var es=function(e){var t=fo(e),n=e.MonadThrow0().Monad0(),r=X(n.Bind1().Apply0().Functor0()),a=ae(n.Applicative0());return function(o){return t(r(Pe.create)(o))(function(i){return a(Ae.create(i))})}};var Bu=function(e){return e.tell};var Wu={liftEffect:He(ze),Monad0:function(){return Il}},bt=function(e){return e.liftEffect};var Uce=X(Nr);var Nx=function(e){return e};var iy=function(e){return e};var uy=function(e){return function(t){return e(t)}},ly=function(e){var t=X(e);return{map:function(n){return uy(t(Uce(n)))}}};var nA=function(e){return{Applicative0:function(){return Ul(e)},Bind1:function(){return am(e)}}},am=function(e){var t=fe(e.Bind1()),n=ae(e.Applicative0());return{bind:function(r){return function(a){return t(r)(Xn(function(o){return n(Ae.create(o))})(function(o){var i=a(o);return i}))}},Apply0:function(){return cy(e)}}},cy=function(e){var t=ly(e.Bind1().Apply0().Functor0());return{apply:uo(nA(e)),Functor0:function(){return t}}},Ul=function(e){return{pure:function(){var t=ae(e.Applicative0());return function(n){return Nx(t(Pe.create(n)))}}(),Apply0:function(){return cy(e)}}};var Ox=function(e){var t=nA(e);return{throwError:function(){var n=ae(e.Applicative0());return function(r){return Nx(n(Ae.create(r)))}}(),Monad0:function(){return t}}};var kx=function(e){var t=ke(e);return function(n){var r=n.Bind1(),a=fe(r),o=ae(n.Applicative0()),i=ly(r.Apply0().Functor0());return{alt:function(l){return function(u){return a(l)(function(c){if(c instanceof Pe)return o(new Pe(c.value0));if(c instanceof Ae)return a(u)(function(s){if(s instanceof Pe)return o(new Pe(s.value0));if(s instanceof Ae)return o(new Ae(t(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 ns=function(){function e(t,n){this.value0=t,this.value1=n}return e.create=function(t){return function(n){return new e(t,n)}},e}();var fy=function(e){var t=Ta(e);return function(n){return new ns(n,t)}};var ur=function(){function e(){}return e.value=new e,e}(),en=function(){function e(t,n){this.value0=t,this.value1=n}return e.create=function(t){return function(n){return new e(t,n)}},e}(),Ux=function(e){return e},Zce=function(e){return new en(e.value0,e.value1)};var Qce=function(e){var t=function(n){return function(r){var a=n,o=!1,i;function l(u,c){if(c instanceof en&&c.value1 instanceof en&&c.value1.value1 instanceof en){a=new en(c,u),r=c.value1.value1.value1;return}var s=function(d){return d instanceof en&&d.value1 instanceof en&&d.value1.value1 instanceof ur?new en(e(d.value0),new en(e(d.value1.value0),ur.value)):d instanceof en&&d.value1 instanceof ur?new en(e(d.value0),ur.value):ur.value},f=function(d){return function(p){var m=d,y=!1,_;function D(C,R){if(C instanceof en&&C.value0 instanceof en&&C.value0.value1 instanceof en&&C.value0.value1.value1 instanceof en){m=C.value1,p=new en(e(C.value0.value0),new en(e(C.value0.value1.value0),new en(e(C.value0.value1.value1.value0),R)));return}return y=!0,R}for(;!y;)_=D(m,p);return _}};return o=!0,f(u)(s(c))}for(;!o;)i=l(a,r);return i}};return t(ur.value)},iA={map:Qce};var bi={foldr:function(e){return function(t){var n=function(){var a=function(o){return function(i){var l=o,u=!1,c;function s(f,d){if(d instanceof ur)return u=!0,f;if(d instanceof en){l=new en(d.value0,f),i=d.value1;return}throw new Error("Failed pattern match at Data.List.Types (line 107, column 7 - line 107, column 23): "+[f.constructor.name,d.constructor.name])}for(;!u;)c=s(l,i);return c}};return a(ur.value)}(),r=Hn(bi)(Vt(e))(t);return function(a){return r(n(a))}}},foldl:function(e){var t=function(n){return function(r){var a=n,o=!1,i;function l(u,c){if(c instanceof ur)return o=!0,u;if(c instanceof en){a=e(u)(c.value0),r=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=l(a,r);return i}};return t},foldMap:function(e){var t=ke(e.Semigroup0()),n=Jt(e);return function(r){return Hn(bi)(function(a){var o=t(a);return function(i){return o(r(i))}})(n)}}};var Kce=Un(bi);var dy={append:function(e){return function(t){return Kce(en.create)(t)(e)}}},uA=ke(dy);var Hx={append:function(e){return function(t){return new ns(e.value0,uA(e.value1)(Zce(t)))}}};var lA={alt:uA,Functor0:function(){return iA}},Bx=function(){return{empty:ur.value,Alt0:function(){return lA}}}();var B0=function(e){return Un(e)(en.create)(ur.value)};var fA=function(e){return e()};var dA=function(e){throw new Error(e)};var pA=function(){return dA};var ase=pA(),ose=fA,rs=function(e){return ose(function(){return ase(e)})};var zx=function(){var e=fy(Bx);return function(t){return Ux(e(t))}}();var vA=function(e){return e.value0};var om=function(e){return e.length};var hA=function(e){return function(t){return function(n){return function(r){var a=r.indexOf(n);return a===-1?t:e(a)}}}};var $x=function(e){return function(t){return{before:t.substring(0,e),after:t.substring(e)}}};var $a=function(e){return function(t){var n=$x(om(e))(t),r=n.before===e;return r?new P(n.after):O.value}};var DA=function(){return hA(P.create)(O.value)}();var im=function(e){var t=DA(e);return function(n){return Cr(t(n))}};var pse=xe(jr),mse=xe(hn);var hy=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),bA=function(){function e(t,n){this.value0=t,this.value1=n}return e.create=function(t){return function(n){return new e(t,n)}},e}(),vse=function(){function e(t,n){this.value0=t,this.value1=n}return e.create=function(t){return function(n){return new e(t,n)}},e}(),hse=function(){function e(t,n){this.value0=t,this.value1=n}return e.create=function(t){return function(n){return new e(t,n)}},e}(),ra=be,as=be;var W0=function(e){if(e instanceof hy)return e.value0;if(e instanceof vse)return"Error at array index "+(mse(e.value0)+(": "+W0(e.value1)));if(e instanceof hse)return"Error at property "+(pse(e.value0)+(": "+W0(e.value1)));if(e instanceof bA)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 _y=function(e){var t=Er(Ox(e));return function(n){return t(zx(n))}};var gy=function(e){var t=ae(Ul(e)),n=_y(e);return function(r){return function(a){if(ay(a)===r)return t(as(a));if(nt)return n(new bA(r,ay(a)));throw new Error("Failed pattern match at Foreign (line 123, column 1 - line 123, column 104): "+[r.constructor.name,a.constructor.name])}}};function wA(e){return function(){var t={};for(var n in e)hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}}var yy={};function z0(e){return e()}function CA(e,t,n,r){return n in r?t(r[n]):e}function Vx(e){return function(t){var n=[];for(var r in t)hasOwnProperty.call(t,r)&&n.push(e(r)(t[r]));return n}}var _se=Object.keys||Vx(function(e){return function(){return e}});var Dy=function(){return{}};function $0(e){return function(t){return function(n){return function(){return n[e]=t,n}}}}var bse=_n(w0);var wse=jn(Nf);var Cse=wA,Yx=function(e){return function(t){return z0(bse($0(e)(t))(Dy))}};var xse=function(e){return function(t){return z0(function(){var r=Cse(t)();return e(r)(),r})}};var q0=function(){return Vp(CA)(O.value)(P.create)}();var TA=function(e){return function(t){return xse($0(e)(t))}};var Zx=function(){return be};var Qx=function(e){var t=Kp(e);return function(n){return z0(function(){var a=Dy();return Ng(t(n))(function(o){return wse($0(o.value0)(o.value1)(a))})(),a})}};var EA=jl(hr),Tse=lo(EA),Ese=GI(j0),Rse=xe(hn),Sse=Qg(qr),ko=function(){function e(){}return e.value=new e,e}(),wi=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),Yn={validateJsRecord:function(e){return ko.value}},Kx={validateForeignType:function(e){return ko.value}};var wy=function(e){return function(t){return function(n){var r=t(n);return r?ko.value:new wi({path:"",got:n,expected:e})}}};var aa={validateForeignType:wy("Boolean")(P9)},RA={validateForeignType:wy("Function")(O9)};var SA={validateForeignType:wy("Int")(Ou(EA)(j9)(function(e){return Cr(Jf(as(e)))}))};var ct={validateForeignType:wy("String")(L9)},FA=function(e){return e.validateJsRecord},qa=function(){return function(e){var t=FA(e);return{validateForeignType:function(n){if(N9(n))return t(n);if(nt)return new wi({path:"",expected:"Object",got:n});throw new Error("Failed pattern match at Elmish.Foreign (line 209, column 1 - line 212, column 69): "+[n.constructor.name])}}}},um=function(e){return e.validateForeignType},Hl=function(e){var t=um(e);return{validateForeignType:function(n){if(Tse(oy)(n))return new wi({path:"",expected:"Array",got:n});if(nt){var r=function(o){return function(i){var l=t(i);if(l instanceof ko)return O.value;if(l instanceof wi)return new P({idx:o,invalid:l.value0});throw new Error("Failed pattern match at Elmish.Foreign (line 186, column 29 - line 188, column 51): "+[l.constructor.name])}},a=Ese(r)(as(n));if(a instanceof O)return ko.value;if(a instanceof P)return new wi({expected:a.value0.invalid.expected,got:a.value0.invalid.got,path:"["+(Rse(a.value0.idx)+("]"+a.value0.invalid.path))});throw new Error("Failed pattern match at Elmish.Foreign (line 182, column 21 - line 184, column 101): "+[a.constructor.name])}throw new Error("Failed pattern match at Elmish.Foreign (line 179, column 6 - line 188, column 51): "+[n.constructor.name])}}},ou=function(e){var t=um(e);return{validateForeignType:function(n){if(N0(n)||tm(n))return ko.value;if(nt){var r=t(n);if(r instanceof ko)return ko.value;if(r instanceof wi)return new wi({path:r.value0.path,got:r.value0.got,expected:function(){var a=r.value0.path==="";return a?"Nullable "+r.value0.expected:r.value0.expected}()});throw new Error("Failed pattern match at Elmish.Foreign (line 196, column 11 - line 198, column 123): "+[r.constructor.name])}throw new Error("Failed pattern match at Elmish.Foreign (line 192, column 1 - line 198, column 123): "+[n.constructor.name])}}};var Ne=function(e){var t=tr(e);return function(n){var r=um(n);return function(a){var o=FA(a);return{validateJsRecord:function(i){var l=t(Tn.value),u=Ha(l)(as(i)),c=r(u);if(c instanceof wi)return new wi({expected:c.value0.expected,got:c.value0.got,path:"."+(l+c.value0.path)});if(c instanceof ko)return o(i);throw new Error("Failed pattern match at Elmish.Foreign (line 235, column 9 - line 237, column 43): "+[c.constructor.name])}}}}},zu=function(e){var t=um(e);return function(n){var r=t(n);if(r instanceof ko)return new Pe(as(n));if(r instanceof wi)return new Ae(Sse([r.value0.path,function(){var a=r.value0.path==="";return a?"Expected ":": expected "}(),r.value0.expected," but got: ",D0(r.value0.got)]));throw new Error("Failed pattern match at Elmish.Foreign (line 255, column 18 - line 263, column 6): "+[r.constructor.name])}},$u=function(e){var t=zu(e);return function(n){return Io(t(n))}};var Fse={info:"info",warning:"warn",error:"error"},Bl=e=>t=>n=>r=>{let a=Fse[e];if(typeof console!="undefined"&&console[a]&&console[a](t,n),typeof window!="undefined"){let o=new Error(t);typeof window.Sentry!="undefined"&&window.Sentry.captureException(o,{extra:n})}return r()},MA=(e,t)=>(t.__sentryFingerprint=e,t);var IA=function(e){return ru(MA)(e)};var os="error";var Cy={parseOrPanic:function(e){return function(t){var n=e.parse(t);if(n instanceof Pe)return n.value0;if(n instanceof Ae)return Bl(os)("Failed to parse "+e.diagnosticName)({error:n.value0,value:t})(function(r){return e.default});throw new Error("Failed pattern match at Utils.Parse (line 49, column 5 - line 57, column 24): "+[n.constructor.name])}}},Wl=function(e){return e.parseOrPanic},Mse=Wl(Cy),iu=function(e){var t=Wl(e);return function(n){var r=X(n);return function(a){return t({parse:function(o){return r(P.create)(a.parse(o))},default:O.value,diagnosticName:a.diagnosticName})}}},Ise=iu(Cy)(Nr),e3=function(e){var t=zu(e);return function(n){return Ise({parse:t,diagnosticName:n})}},Uo={parseOrPanic:function(e){return Mse({default:e.default,diagnosticName:e.diagnosticName,parse:function(){var t=At(new Ae(""))(Pe.create);return function(n){return t(e.parse(n))}}()})}};var xy=ae(bn),Qf=function(){function e(){}return e.value=new e,e}(),Kf=function(){function e(){}return e.value=new e,e}(),G0=function(){function e(){}return e.value=new e,e}(),V0=function(){function e(){}return e.value=new e,e}();var AA={eq:function(e){return function(t){return e instanceof Qf&&t instanceof Qf||e instanceof Kf&&t instanceof Kf||e instanceof G0&&t instanceof G0||e instanceof V0&&t instanceof V0}}},LA=or,lm=ct,Ase=iu(Uo)(Ve)({parse:function(e){return e==="accepted"?xy(Qf.value):e==="pending"?xy(Kf.value):e==="rejected"?xy(G0.value):e==="removed"?xy(V0.value):O.value},diagnosticName:"CounselorConnection.Status"}),cm=function(e){return{email:e.email,hasLetterGenerated:e.hasLetterGenerated,hasCompleteBragSheet:e.hasCompleteBragSheet,connectionSlug:yt(e.connectionSlug),fullName:yt(e.fullName),status:Ase(e.status)}};var zl=function(e){return function(t){return t.split(e)}},is=function(e){return e.toLowerCase()};var Ra=function(e){return function(t){return t.join(e)}};var Xse=kn();var Ey=function(e){return Xse(iy(e))};var qut=typeof Array.from=="function",Gut=typeof Symbol!="undefined"&&Symbol!=null&&typeof Symbol.iterator!="undefined"&&typeof String.prototype[Symbol.iterator]=="function",Vut=typeof String.prototype.fromCodePoint=="function",Jut=typeof String.prototype.codePointAt=="function";var td=function(e){var t=ae(e.Applicative0()),n=Ta(e.Plus1());return function(r){if(r)return t(ve);if(!r)return n;throw new Error("Failed pattern match at Control.Alternative (line 48, column 1 - line 48, column 54): "+[r.constructor.name])}};var Lt=function(e){return e.toEnum};var wt=function(e){return e.fromEnum};var Ry=function(e){return function(){console.error(e)}};var sL=function(e){var t=bt(e);return function(n){return t(Ry(n))}};jt();var fL=function(){let e={};return function(t,n){let r=e[t]||(e[t]=mL(t));return n(r)}}();function dL(e){return e(mL())}var pL=_t.createElement,eh=e=>()=>e.props.def;function mL(e){class t extends _t.Component{constructor(r){super(r);r.init&&r.init(this)()}render(){return this.props.render(this)()}componentDidMount(){this.props.componentDidMount(this)()}componentWillUnmount(){this.props.componentWillUnmount(this)()}}return t.displayName=e?"Elmish_"+e:"ElmishRoot",t}var My=typeof module=="undefined"?void 0:module.require,_st=function(){try{return My===void 0?void 0:My("util")}catch{return}}();var gst=function(){var e;if(typeof performance!="undefined")e=performance;else if(My)try{e=My("perf_hooks").performance}catch{}return function(){return(e||Date).now()}}();var po=function(){var e={},t="Pure",n="Throw",r="Catch",a="Sync",o="Async",i="Bind",l="Bracket",u="Fork",c="Sequential",s="Map",f="Apply",d="Alt",p="Cons",m="Resume",y="Release",_="Finalizer",D="Finalized",C="Forked",R="Fiber",I="Thunk";function A(H,V,Y,j){this.tag=H,this._1=V,this._2=Y,this._3=j}function T(H){var V=function(Y,j,J){return new A(H,Y,j,J)};return V.tag=H,V}function L(H){return new A(t,void 0)}function W(H){try{H()}catch(V){setTimeout(function(){throw V},0)}}function $(H,V,Y){try{return V(Y())}catch(j){return H(j)}}function ce(H,V,Y){try{return V(Y)()}catch(j){return Y(H(j))(),L}}var te=function(){var H=1024,V=0,Y=0,j=new Array(H),J=!1;function U(){var ie;for(J=!0;V!==0;)V--,ie=j[Y],j[Y]=void 0,Y=(Y+1)%H,ie();J=!1}return{isDraining:function(){return J},enqueue:function(ie){var oe,me;V===H&&(me=J,U(),J=me),j[(Y+V)%H]=ie,V++,J||U()}}}();function le(H){var V={},Y=0,j=0;return{register:function(J){var U=Y++;J.onComplete({rethrow:!0,handler:function(ie){return function(){j--,delete V[U]}}})(),V[U]=J,j++},isEmpty:function(){return j===0},killAll:function(J,U){return function(){if(j===0)return U();var ie=0,oe={};function me(ue){oe[ue]=V[ue].kill(J,function(Ie){return function(){delete oe[ue],ie--,H.isLeft(Ie)&&H.fromLeft(Ie)&&setTimeout(function(){throw H.fromLeft(Ie)},0),ie===0&&U()}})()}for(var ge in V)V.hasOwnProperty(ge)&&(ie++,me(ge));return V={},Y=0,j=0,function(ue){return new A(a,function(){for(var Ie in oe)oe.hasOwnProperty(Ie)&&oe[Ie]()})}}}}}var ee=0,re=1,de=2,q=3,Q=4,pe=5,Je=6;function qe(H,V,Y){var j=0,J=ee,U=Y,ie=null,oe=null,me=null,ge=null,ue=null,Ie=0,Te=0,Ze=null,Se=!0;function Qe(Ke){for(var We,Ee,rt;;)switch(We=null,Ee=null,rt=null,J){case de:J=re;try{U=me(U),ge===null?me=null:(me=ge._1,ge=ge._2)}catch(ne){J=pe,ie=H.left(ne),U=null}break;case q:H.isLeft(U)?(J=pe,ie=U,U=null):me===null?J=pe:(J=de,U=H.fromRight(U));break;case re:switch(U.tag){case i:me&&(ge=new A(p,me,ge)),me=U._2,J=re,U=U._1;break;case t:me===null?(J=pe,U=H.right(U._1)):(J=de,U=U._1);break;case a:J=q,U=$(H.left,H.right,U._1);break;case o:J=Q,U=ce(H.left,U._1,function(ne){return function(){j===Ke&&(j++,te.enqueue(function(){j===Ke+1&&(J=q,U=ne,Qe(j))}))}});return;case n:J=pe,ie=H.left(U._1),U=null;break;case r:me===null?ue=new A(p,U,ue,oe):ue=new A(p,U,new A(p,new A(m,me,ge),ue,oe),oe),me=null,ge=null,J=re,U=U._1;break;case l:Ie++,me===null?ue=new A(p,U,ue,oe):ue=new A(p,U,new A(p,new A(m,me,ge),ue,oe),oe),me=null,ge=null,J=re,U=U._1;break;case u:J=q,We=qe(H,V,U._2),V&&V.register(We),U._1&&We.run(),U=H.right(We);break;case c:J=re,U=F(H,V,U._1);break}break;case pe:if(me=null,ge=null,ue===null)J=Je,U=oe||ie||U;else switch(We=ue._3,rt=ue._1,ue=ue._2,rt.tag){case r:oe&&oe!==We&&Ie===0?J=pe:ie&&(J=re,U=rt._2(H.fromLeft(ie)),ie=null);break;case m:oe&&oe!==We&&Ie===0||ie?J=pe:(me=rt._1,ge=rt._2,J=de,U=H.fromRight(U));break;case l:Ie--,ie===null&&(Ee=H.fromRight(U),ue=new A(p,new A(y,rt._2,Ee),ue,We),(oe===We||Ie>0)&&(J=re,U=rt._3(Ee)));break;case y:ue=new A(p,new A(D,U,ie),ue,oe),J=re,oe&&oe!==We&&Ie===0?U=rt._1.killed(H.fromLeft(oe))(rt._2):ie?U=rt._1.failed(H.fromLeft(ie))(rt._2):U=rt._1.completed(H.fromRight(U))(rt._2),ie=null,Ie++;break;case _:Ie++,ue=new A(p,new A(D,U,ie),ue,oe),J=re,U=rt._1;break;case D:Ie--,J=pe,U=rt._1,ie=rt._2;break}break;case Je:for(var cn in Ze)Ze.hasOwnProperty(cn)&&(Se=Se&&Ze[cn].rethrow,W(Ze[cn].handler(U)));Ze=null,oe&&ie?setTimeout(function(){throw H.fromLeft(ie)},0):H.isLeft(U)&&Se&&setTimeout(function(){if(Se)throw H.fromLeft(U)},0);return;case ee:J=re;break;case Q:return}}function lt(Ke){return function(){if(J===Je)return Se=Se&&Ke.rethrow,Ke.handler(U)(),function(){};var We=Te++;return Ze=Ze||{},Ze[We]=Ke,function(){Ze!==null&&delete Ze[We]}}}function je(Ke,We){return function(){if(J===Je)return We(H.right(void 0))(),function(){};var Ee=lt({rethrow:!1,handler:function(){return We(H.right(void 0))}})();switch(J){case ee:oe=H.left(Ke),J=Je,U=oe,Qe(j);break;case Q:oe===null&&(oe=H.left(Ke)),Ie===0&&(J===Q&&(ue=new A(p,new A(_,U(Ke)),ue,oe)),J=pe,U=null,ie=null,Qe(++j));break;default:oe===null&&(oe=H.left(Ke)),Ie===0&&(J=pe,U=null,ie=null)}return Ee}}function ft(Ke){return function(){var We=lt({rethrow:!1,handler:Ke})();return J===ee&&Qe(j),We}}return{kill:je,join:ft,onComplete:lt,isSuspended:function(){return J===ee},run:function(){J===ee&&(te.isDraining()?Qe(j):te.enqueue(function(){Qe(j)}))}}}function N(H,V,Y,j){var J=0,U={},ie=0,oe={},me=new Error("[ParAff] Early exit"),ge=null,ue=e;function Ie(lt,je,ft){var Ke=je,We=null,Ee=null,rt=0,cn={},ne,_e;e:for(;;)switch(ne=null,Ke.tag){case C:if(Ke._3===e&&(ne=U[Ke._1],cn[rt++]=ne.kill(lt,function(dt){return function(){rt--,rt===0&&ft(dt)()}})),We===null)break e;Ke=We._2,Ee===null?We=null:(We=Ee._1,Ee=Ee._2);break;case s:Ke=Ke._2;break;case f:case d:We&&(Ee=new A(p,We,Ee)),We=Ke,Ke=Ke._1;break}if(rt===0)ft(H.right(void 0))();else for(_e=0,ne=rt;_et[e],UL=(e,t,n)=>n[e]=t;var ud=function(t){return function(n){return t(n)()}};var dm=function(t){return function(n){return function(){return t(n)}}},fs=function(t){return function(n){return function(r){return function(){return t(n,r)}}}},ld=function(t){return function(n){return function(r){return function(a){return function(){return t(n,r,a)}}}}};var Hfe=kt(Et),ah=function(){function e(){}return e.value=new e,e}(),WL=function(){return function(e){var t=tr(e);return function(n){return ld(UL)(t(Tn.value))}}},b3=function(e){var t=$u(e);return function(n){var r=tr(n);return function(a){return function(o){return Hfe(function(){return kL(r(Tn.value),o)})(t)}}}};jt();var Bo=window.ReactDOM,{createPortal:kmt,findDOMNode:Umt,flushSync:Hmt,unstable_batchedUpdates:Bmt}=window.ReactDOM;var W3=Xt(Aj());function Lj(e){return e.state&&e.state.s}function jj(e,t,n){return e.setState({s:t},n)}function Pj(e,t){return e.state={s:t}}var Nj=Bo.render,Oj=Bo.hydrate,z3=W3.default&&W3.default.renderToString||(e=>""),_de=Bo.unmountComponentAtNode,kj=_t.Fragment;function Uj(e,t,n){return _t.createElement.apply(null,[e,gde(e,t)].concat(n))}function gde(e,t){if(typeof e!="string"||t._data==null)return t;var n={_data:void 0};for(var r in t._data){var a=t._data[r];n["data-"+r]=a}return Object.assign({},t,n)}var ut={asReactChildren:function(e){return[e]}},Ut={asReactChildren:function(e){return[e]}},Rt={asReactChildren:He(ze)};var En=be,$3=ld(jj),Bj=fs(Nj),Wj=fs(Oj),zj=dm(Lj),dn=!1;var $j=fs(Pj),qj=function(e){return e.asReactChildren},Wo=function(){return function(e){var t=qj(e);return function(n){return function(r){return function(a){return Uj(n,r,t(a))}}}}},Gj=Wo()(Rt),Gu=function(){return function(e){return function(t){return Gj(e)(t)([])}}},pn=Gj(kj)({});var q3=X(Et),yde=ae(Kt),Vj=function(e){return{initialize:function(t){return $j(t)(e.initialState)},getState:function(t){return function(){var r=q3(yt)(zj(t))();return et(e.initialState)(r)}},setState:$3}},Jj=function(){var e=function(t){return function(n){return{initialize:function(r){return Ll(new P(n.initialState))(t)},getState:function(r){return q3(et(n.initialState))(Al(t))},setState:function(r){return function(a){return function(o){return function(){return Ll(new P(a))(t)(),$3(r)(a)(yde(ve))(),o()}}}}}}};return q3(e)(Yc(O.value))}();var Yj=kt(zt),Zj=ke(ir);var Dde=ae(Kt),Qj=WL(),Kj={reflectSymbol:function(){return"__unmounted"}},bde=Qj(Kj),eP={reflectSymbol:function(){return"__subscriptions"}},wde=Qj(eP),Jy=kt(Et),Cde=b3(aa)(Kj),tP=X(Et),xde=b3(Hl(RA))(eP),Tde=wn(on),Ede=_n(xr),Rde=qg(Kt)(Dt),Sde=Tde(lr),nP=bt(Wu),Fde=Lg(Il),Mde=ke(cx(Pg(_0))),G3=function(e){return e},ms=function(){function e(t,n){this.value0=t,this.value1=n}return e.create=function(t){return function(n){return new e(t,n)}},e}(),Ide={map:function(e){return function(t){return new ms(e(t.value0),t.value1)}}},rP=function(e){return{bimap:function(t){return function(n){return function(r){return new ms(n(r.value0),Yj(r.value1)(function(a){return function(o){return a({dispatch:function(i){return o.dispatch(t(i))},onStop:o.onStop})}}))}}}}},aP={apply:function(e){return function(t){return new ms(e.value0(t.value0),Zj(e.value1)(t.value1))}},Functor0:function(){return Ide}},xi={bind:function(e){return function(t){var n=t(e.value0);return new ms(n.value0,Zj(e.value1)(n.value1))}},Apply0:function(){return aP}},Sr={pure:function(e){return new ms(e,[])},Apply0:function(){return aP}};var oP=function(e){var t=fe(e);return function(n){var r=bt(n);return function(a){return function(o){return new ms(a,Yj(o)(function(i){return function(l){return t(i)(function(u){return r(l.dispatch(u))})}}))}}}};var Vl=function(e){return new ms(ve,[e])},zo=function(e){return Vl(Xe(e))},hm=function(e){var t=fe(e.Monad0().Bind1()),n=bt(e);return function(r){return Vl(function(a){return t(r)(function(o){return n(At(Dde(ve))(a.dispatch)(o))})})}},Jl=function(e){var t=oP(e.Monad0().Bind1())(e);return function(n){return t(ve)([n])}},iP=function(e){return function(t){var n=bde(ah.value),r=wde(ah.value),a=function(p){return function(m){return function(y){return function(){var D=Jy(eh(p))(function(C){return C.init})();return t({initialState:D.value0}).setState(p)(m)(y)()}}}},o=function(){var p=tP(et(!1)),m=Cde(ah.value);return function(y){return p(m(y))}}(),i=function(){var p=tP(et([])),m=xde(ah.value);return function(y){return p(m(y))}}(),l=function(p){return function(){return Ede(Rde)(i(p))(),r([])(p)()}},u=function(p){return function(){var y=Jy(eh(p))(function(_){return _.init})();return t({initialState:y.value0}).getState(p)()}},c=function(p){return function(m){return function(){var _=i(p)();return r(Vf(cs(m))(_))(p)()}}},s=function(p){return function(m){var y=function(_){return cs(Sde(ss(0))(function(){return _({dispatch:function(){var D=f(m);return function(C){return nP(D(C))}}(),onStop:c(m)})}))};return hx(p)(y)}},f=function(p){return function(m){return Fde(o(p))(function(){var _=u(p)(),D=Jy(eh(p))(function(R){return R.update})(),C=D(_)(m);return a(p)(C.value0)(s(C.value1)(p))()})}},d=function(p){return function(){var y=u(p)(),_=Jy(eh(p))(function(D){return D.view})();return _(y)(f(p))}};return function(p){return pL(e,{def:p,init:t({initialState:p.init.value0}).initialize,render:d,componentDidMount:s(p.init.value1),componentWillUnmount:Mde(n(!0))(l)})}}},V3=function(e){return function(){var n=nP(Jj)();return dL(function(r){return iP(r)(n)(e)})}},dd=function(e){return function(t){return fL(e,function(n){var r=iP(n)(Vj);return function(a){return r(t(a))}})}};function uP(e){return function(t){return function(){return t.getElementById(e)}}}var Ade=X(Et),J3=function(e){var t=Ade(yt),n=uP(e);return function(r){return t(n(r))}};var Gr=function(){return window};var X3=be;var lP=be;function _m(e){return function(){return e.document}}function cu(e){return function(){return e.localStorage}}var cP=be;var Nde=ae(Kt),sP=fe(xr),Ode=X(Et),kde=sL(Wu),Y3=function(e){var t=function(r){var a=e(r);return z3(a.view(a.init.value0)(Xe(Nde(ve))))},n=function(r){return function(a){return function(o){return function(){var l=sP(sP(Gr)(function(){var c=Ode(X3);return function(s){return c(_m(s))}}()))(J3(a))();if(l instanceof O)return kde("Element #"+(a+" not found"))();if(l instanceof P){var u=V3(e(o))();return r(u)(l.value0)()}throw new Error("Failed pattern match at Elmish.Boot (line 117, column 11 - line 122, column 21): "+[l.constructor.name])}}}};return{mount:n(Bj),renderToString:t,hydrate:n(Wj)}};function Xy(e,t){var n={};for(var r in t)({}).hasOwnProperty.call(t,r)&&(n[r]=t[r]);for(var a in e)({}).hasOwnProperty.call(e,a)&&(n[a]=e[a]);return n}var gm=function(){return function(){return function(e){return function(t){return Xy(e,t)}}}};var fP=ae(Sr),Hde=Wl(Cy),Bde=fe(Pu);var Wde={init:fP(ve),update:function(e){return function(t){return fP(ve)}},view:function(e){return function(t){return dn}}},Z3=function(e){var t=zu(e);return function(n){return Y3(Hde({parse:function(r){return Bde(t(r))(function(a){return At(new Ae("Component construction failed"))(Pe.create)(n.def(a))})},diagnosticName:"Props for "+n.diagnosticName,default:Wde}))}};jt();var pP=Xt(dP()),Vu=typeof CV!="undefined"&&CV.pusherConfig||typeof global!="undefined"&&global.CV&&global.CV.pusherConfig,{acquireConnection:zde,releaseConnection:$de}=(()=>{let e=null,t=0,n=()=>{if(!Vu||!Vu.key)return Vu||console.error("Pusher config is missing in global context"),new qde;let r={auth:{headers:{"X-CSRF-Token":Vu.authToken}},authEndpoint:Vu.authPath,cluster:Vu.cluster};return Vu.dev&&Object.assign(r,{wsHost:Vu.dev.wsHost,wsPort:Vu.dev.wsPort,enabledTransports:["ws"],forceTLS:!1,disableStats:!0}),new pP.default(Vu.key,r)};return{acquireConnection:()=>(e||(e=n(),t=0),t++,e),releaseConnection:()=>{--t<=0&&(e&&e.disconnect(),e=null)}}})(),mP=e=>{let t=zde().subscribe(e.channel);return t.bind(e.event,e.handler),()=>{t.unbind(e.event,e.handler),$de()}};function qde(){typeof document!="undefined"&&(document.mockPusher=this),this.localObject={},this.channels=[],this.disconnect=function(){document.mockPusher=null},this.subscribe=function(e){let t=this.channels.find(r=>r.name===e);if(t)return t;let n=new Gde(e);return this.channels.push(n),n},this.channelNames=function(){return this.channels.map(e=>e.name)}}function Gde(e){this.name=e,this.handlers={},this.triggered=[],this.disconnect=()=>{},this.bind=function(t,n){this.handlers[t]=n},this.unbind=function(t,n){this.handlers[t]===n&&(this.handlers[t]=null)},this.trigger=function(t,n){this.triggered.push({eventName:t,eventData:n})}}var vP=nh(jy);var hP={map:function(e){return function(t){return vP(vP(e))(t)}}},Vde=kt(hP),Jde=function(e){var t=fe(e.Monad0().Bind1()),n=bt(e);return function(r){return Vl(function(a){return t(r(a.dispatch))(function(o){return n(a.onStop(o))})})}},Zy=function(e){var t=Jde(e);return function(n){return function(r){return t(Vde(r)(n))}}};var Xde=function(){function e(i){this.fn=i}var t={},n=function(i,l){this.head=i,this.tail=l};function r(i){return new n(i,t)}function a(i){return function(l){return new n(i,l)}}function o(i){for(var l=[],u=i;u!==t;)l.push(u.head),u=u.tail;return l}return function(i,l,u){var c=function(f,d){return i(l(a)(u(f)))(d)},s=function(f,d,p){if(d===0)return f;var m=p[d-1];return new e(function(){var y=s(c(m,f),d-1,p);return y})};return function(f){for(var d=l(r)(u(f[f.length-1])),p=s(d,f.length-1,f);p instanceof e;)p=p.fn();return l(o)(p)}}}();var _P=function(e){return e},K3=Jg;var gP=Dt;var hpe=In();var tT=_P;var vs=function(e){return e};var nT=function(e){return function(t){return tT(Yp(vs(e))(t))}},Qy=function(e){return tT(E0(e))};var _pe=function(e){return function(t){return hpe(e(vs(t)))}},Ky=_pe(M0);var TP=function(e){return function(t){return e(vs(t))}};var EP=TP($f);var gpe=function(e){var t=TP(e);return function(n){return tT(t(n))}};var rT=function(e){var t=Yg(e);return function(n){return gpe(t(n))}};var FP=function(e,t,n){var r=0,a;return function(o){if(r===2)return a;if(r===1)throw new ReferenceError(e+" was needed before it finished initializing (module "+t+", line "+o+")",t,o);return r=1,a=n(),r=2,a}};var Vr=function(){function e(){}return e.value=new e,e}(),kr=function(){function e(t,n,r,a,o,i){this.value0=t,this.value1=n,this.value2=r,this.value3=a,this.value4=o,this.value5=i}return e.create=function(t){return function(n){return function(r){return function(a){return function(o){return function(i){return new e(t,n,r,a,o,i)}}}}}},e}(),MP=function(){function e(){}return e.value=new e,e}(),aT=function(){function e(t,n,r){this.value0=t,this.value1=n,this.value2=r}return e.create=function(t){return function(n){return function(r){return new e(t,n,r)}}},e}(),oT=function(){function e(t,n){this.value0=t,this.value1=n}return e.create=function(t){return function(n){return new e(t,n)}},e}();var eD=function(){function e(t,n,r){this.value0=t,this.value1=n,this.value2=r}return e.create=function(t){return function(n){return function(r){return new e(t,n,r)}}},e}();var Ti=function(e,t,n,r){if(n instanceof Vr){if(r instanceof Vr)return new kr(1,1,e,t,n,r);if(r instanceof kr)return new kr(1+r.value0|0,1+r.value1|0,e,t,n,r);throw new Error("Failed pattern match at Data.Map.Internal (line 702, column 5 - line 706, column 39): "+[r.constructor.name])}if(n instanceof kr){if(r instanceof Vr)return new kr(1+n.value0|0,1+n.value1|0,e,t,n,r);if(r instanceof kr)return new kr(1+function(){var a=n.value0>r.value0;return a?n.value0:r.value0}()|0,(1+n.value1|0)+r.value1|0,e,t,n,r);throw new Error("Failed pattern match at Data.Map.Internal (line 708, column 5 - line 712, column 68): "+[r.constructor.name])}throw new Error("Failed pattern match at Data.Map.Internal (line 700, column 32 - line 712, column 68): "+[n.constructor.name])},IP=function(){return Vt(oT.create)(MP.value)}(),ype=function(e){return function(t){return function(n){var r=function(a){var o=!1,i;function l(u){if(u instanceof MP)return o=!0,n(ve);if(u instanceof aT)return o=!0,t(u.value0,u.value1,u.value2);if(u instanceof oT){a=e(u.value1)(u.value0);return}throw new Error("Failed pattern match at Data.Map.Internal (line 940, column 8 - line 946, column 20): "+[u.constructor.name])}for(;!o;)i=l(a);return i};return r}}};var Dm=function(e){return function(t){return new kr(1,1,e,t,Vr.value,Vr.value)}},bm=function(){var e=function(r){if(r instanceof Vr)return 0;if(r instanceof kr)return r.value0;throw new Error("Failed pattern match at Data.Map.Internal (line 757, column 12 - line 759, column 26): "+[r.constructor.name])},t=function(r,a,o,i,l,u,c){return u instanceof kr&&u.value0>e(c)?Ti(u.value2,u.value3,Ti(r,a,o,u.value4),Ti(i,l,u.value5,c)):Ti(i,l,Ti(r,a,o,u),c)},n=function(r,a,o,i,l,u,c){return u instanceof kr&&e(l)<=u.value0?Ti(u.value2,u.value3,Ti(o,i,l,u.value4),Ti(r,a,u.value5,c)):Ti(o,i,l,Ti(r,a,u,c))};return function(r,a,o,i){if(o instanceof Vr)return i instanceof Vr?Dm(r)(a):i instanceof kr&&i.value0>1?t(r,a,o,i.value2,i.value3,i.value4,i.value5):Ti(r,a,o,i);if(o instanceof kr){if(i instanceof kr){if(i.value0>(o.value0+1|0))return t(r,a,o,i.value2,i.value3,i.value4,i.value5);if(o.value0>(i.value0+1|0))return n(r,a,o.value2,o.value3,o.value4,o.value5,i)}return i instanceof Vr&&o.value0>1?n(r,a,o.value2,o.value3,o.value4,o.value5,i):Ti(r,a,o,i)}throw new Error("Failed pattern match at Data.Map.Internal (line 717, column 40 - line 738, column 34): "+[o.constructor.name])}}(),iT=FP("unsafeSplit","Data.Map.Internal",function(){return function(e,t,n){if(n instanceof Vr)return new eD(O.value,Vr.value,Vr.value);if(n instanceof kr){var r=e(t)(n.value2);if(r instanceof Me){var a=iT(793)(e,t,n.value4);return new eD(a.value0,a.value1,bm(n.value2,n.value3,a.value2,n.value5))}if(r instanceof Fe){var a=iT(796)(e,t,n.value5);return new eD(a.value0,bm(n.value2,n.value3,n.value4,a.value1),a.value2)}if(r instanceof it)return new eD(new P(n.value3),n.value4,n.value5);throw new Error("Failed pattern match at Data.Map.Internal (line 791, column 5 - line 799, column 30): "+[r.constructor.name])}throw new Error("Failed pattern match at Data.Map.Internal (line 787, column 34 - line 799, column 30): "+[n.constructor.name])}}),Dpe=iT(786);var uT=FP("unsafeUnionWith","Data.Map.Internal",function(){return function(e,t,n,r){if(n instanceof Vr)return r;if(r instanceof Vr)return n;if(r instanceof kr){var a=Dpe(e,r.value2,n),o=uT(809)(e,t,a.value1,r.value4),i=uT(810)(e,t,a.value2,r.value5);if(a.value0 instanceof P)return bm(r.value2,t(a.value0.value0)(r.value3),o,i);if(a.value0 instanceof O)return bm(r.value2,r.value3,o,i);throw new Error("Failed pattern match at Data.Map.Internal (line 811, column 5 - line 815, column 46): "+[a.value0.constructor.name])}throw new Error("Failed pattern match at Data.Map.Internal (line 804, column 42 - line 815, column 46): "+[n.constructor.name,r.constructor.name])}}),bpe=uT(803),lT=function(e){var t=Ge(e);return function(n){return function(r){return function(a){return bpe(t,n,r,a)}}}},tD=function(e){return lT(e)(Xe)};var cT=function(e){var t=Ge(e);return function(n){var r=function(a){var o=!1,i;function l(u){if(u instanceof Vr)return o=!0,O.value;if(u instanceof kr){var c=t(n)(u.value2);if(c instanceof Me){a=u.value4;return}if(c instanceof Fe){a=u.value5;return}if(c instanceof it)return o=!0,new P(u.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): "+[u.constructor.name])}for(;!o;)i=l(a);return i};return r}};var wpe=function(){var e=function(t){return function(n){var r=t,a=!1,o;function i(l,u){if(u instanceof Vr)return a=!0,l;if(u instanceof kr){if(u.value5 instanceof Vr){r=new aT(u.value2,u.value3,l),n=u.value4;return}r=new aT(u.value2,u.value3,new oT(u.value5,l)),n=u.value4;return}throw new Error("Failed pattern match at Data.Map.Internal (line 951, column 13 - line 958, column 48): "+[u.constructor.name])}for(;!a;)o=i(r,n);return o}};return e}(),AP=ype(wpe);var Cpe=function(){var e=function(t,n,r){return new P(new Be(new Be(t,n),r))};return AP(e)(function(t){return O.value})}(),pd=function(e){var t=Hu(e)(Cpe);return function(n){return t(IP(n))}};var md=function(e){var t=Ge(e);return function(n){return function(r){var a=function(o){if(o instanceof Vr)return Dm(n)(r);if(o instanceof kr){var i=t(n)(o.value2);if(i instanceof Me)return bm(o.value2,o.value3,a(o.value4),o.value5);if(i instanceof Fe)return bm(o.value2,o.value3,o.value4,a(o.value5));if(i instanceof it)return new kr(o.value0,o.value1,n,r,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 a}}};var Ju=function(){return Vr.value}(),wm=function(e){var t=md(e);return function(n){return Hn(n)(function(r){return function(a){return t(a.value0)(a.value1)(r)}})(Ju)}};var Tpe=function(e,t,n){var r=new Date(Date.UTC(e,t,n));return e>=0&&e<100&&r.setUTCFullYear(e),r};function LP(e,t,n,r){var a=Tpe(t,n-1,r);return e(a.getUTCFullYear())(a.getUTCMonth()+1)(a.getUTCDate())}var fT=function(e,t,n){var r=0,a;return function(o){if(r===2)return a;if(r===1)throw new ReferenceError(e+" was needed before it finished initializing (module "+t+", line "+o+")",t,o);return r=1,a=n(),r=2,a}};var mo=function(){function e(){}return e.value=new e,e}(),$o=function(){function e(){}return e.value=new e,e}(),qo=function(){function e(){}return e.value=new e,e}(),Go=function(){function e(){}return e.value=new e,e}(),Vo=function(){function e(){}return e.value=new e,e}(),Jo=function(){function e(){}return e.value=new e,e}(),Xo=function(){function e(){}return e.value=new e,e}(),Yo=function(){function e(){}return e.value=new e,e}(),Zo=function(){function e(){}return e.value=new e,e}(),Qo=function(){function e(){}return e.value=new e,e}(),Ko=function(){function e(){}return e.value=new e,e}(),Ei=function(){function e(){}return e.value=new e,e}();var nD=Mn,rD=Mn,jP=Ba;var dT={eq:function(e){return function(t){return e instanceof mo&&t instanceof mo||e instanceof $o&&t instanceof $o||e instanceof qo&&t instanceof qo||e instanceof Go&&t instanceof Go||e instanceof Vo&&t instanceof Vo||e instanceof Jo&&t instanceof Jo||e instanceof Xo&&t instanceof Xo||e instanceof Yo&&t instanceof Yo||e instanceof Zo&&t instanceof Zo||e instanceof Qo&&t instanceof Qo||e instanceof Ko&&t instanceof Ko||e instanceof Ei&&t instanceof Ei}}},aD={compare:function(e){return function(t){if(e instanceof mo&&t instanceof mo)return it.value;if(e instanceof mo)return Me.value;if(t instanceof mo)return Fe.value;if(e instanceof $o&&t instanceof $o)return it.value;if(e instanceof $o)return Me.value;if(t instanceof $o)return Fe.value;if(e instanceof qo&&t instanceof qo)return it.value;if(e instanceof qo)return Me.value;if(t instanceof qo)return Fe.value;if(e instanceof Go&&t instanceof Go)return it.value;if(e instanceof Go)return Me.value;if(t instanceof Go)return Fe.value;if(e instanceof Vo&&t instanceof Vo)return it.value;if(e instanceof Vo)return Me.value;if(t instanceof Vo)return Fe.value;if(e instanceof Jo&&t instanceof Jo)return it.value;if(e instanceof Jo)return Me.value;if(t instanceof Jo)return Fe.value;if(e instanceof Xo&&t instanceof Xo)return it.value;if(e instanceof Xo)return Me.value;if(t instanceof Xo)return Fe.value;if(e instanceof Yo&&t instanceof Yo)return it.value;if(e instanceof Yo)return Me.value;if(t instanceof Yo)return Fe.value;if(e instanceof Zo&&t instanceof Zo)return it.value;if(e instanceof Zo)return Me.value;if(t instanceof Zo)return Fe.value;if(e instanceof Qo&&t instanceof Qo)return it.value;if(e instanceof Qo)return Me.value;if(t instanceof Qo)return Fe.value;if(e instanceof Ko&&t instanceof Ko)return it.value;if(e instanceof Ko)return Me.value;if(t instanceof Ko)return Fe.value;if(e instanceof Ei&&t instanceof Ei)return it.value;throw new Error("Failed pattern match at Data.Date.Component (line 0, column 0 - line 0, column 0): "+[e.constructor.name,t.constructor.name])}},Eq0:function(){return dT}},PP=Ba,NP=function(){return{bottom:-271820|0,top:275759,Ord0:function(){return nD}}}();var OP=function(){return{bottom:mo.value,top:Ei.value,Ord0:function(){return aD}}}(),Sa={cardinality:547580,toEnum:function(e){if(e>=(-271820|0)&&e<=275759)return new P(e);if(nt)return O.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 NP},Enum1:function(){return Epe(0)}},Epe=fT("enumYear","Data.Date.Component",function(){return{succ:function(){var e=Lt(Sa),t=wt(Sa);return function(n){return e(function(r){return r+1|0}(t(n)))}}(),pred:function(){var e=Lt(Sa),t=wt(Sa);return function(n){return e(function(r){return r-1|0}(t(n)))}}(),Ord0:function(){return nD}}});var Ur={cardinality:12,toEnum:function(e){return e===1?new P(mo.value):e===2?new P($o.value):e===3?new P(qo.value):e===4?new P(Go.value):e===5?new P(Vo.value):e===6?new P(Jo.value):e===7?new P(Xo.value):e===8?new P(Yo.value):e===9?new P(Zo.value):e===10?new P(Qo.value):e===11?new P(Ko.value):e===12?new P(Ei.value):O.value},fromEnum:function(e){if(e instanceof mo)return 1;if(e instanceof $o)return 2;if(e instanceof qo)return 3;if(e instanceof Go)return 4;if(e instanceof Vo)return 5;if(e instanceof Jo)return 6;if(e instanceof Xo)return 7;if(e instanceof Yo)return 8;if(e instanceof Zo)return 9;if(e instanceof Qo)return 10;if(e instanceof Ko)return 11;if(e instanceof Ei)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 OP},Enum1:function(){return Rpe(0)}},Rpe=fT("enumMonth","Data.Date.Component",function(){return{succ:function(){var e=Lt(Ur),t=wt(Ur);return function(n){return e(function(r){return r+1|0}(t(n)))}}(),pred:function(){var e=Lt(Ur),t=wt(Ur);return function(n){return e(function(r){return r-1|0}(t(n)))}}(),Ord0:function(){return aD}}});var pT={bottom:1,top:31,Ord0:function(){return rD}},vo={cardinality:31,toEnum:function(e){if(e>=1&&e<=31)return new P(e);if(nt)return O.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 pT},Enum1:function(){return Spe(0)}},Spe=fT("enumDay","Data.Date.Component",function(){return{succ:function(){var e=Lt(vo),t=wt(vo);return function(n){return e(function(r){return r+1|0}(t(n)))}}(),pred:function(){var e=Lt(vo),t=wt(vo);return function(n){return e(function(r){return r-1|0}(t(n)))}}(),Ord0:function(){return rD}}});var Lpe=wt(Ur),jpe=In();var Ppe=De(jP),Npe=De(dT),Ope=De(PP),kpe=Ge(nD),Upe=Ge(aD),Hpe=Ge(rD);var Bpe=Lt(Ur);var qP=function(){function e(t,n,r){this.value0=t,this.value1=n,this.value2=r}return e.create=function(t){return function(n){return function(r){return new e(t,n,r)}}},e}(),Xu=function(e){return e.value0};var Yu=function(e){return e.value1};var oD={eq:function(e){return function(t){return Ppe(e.value0)(t.value0)&&Npe(e.value1)(t.value1)&&Ope(e.value2)(t.value2)}}},Wpe=De(oD),GP={compare:function(e){return function(t){var n=kpe(e.value0)(t.value0);if(n instanceof Me)return Me.value;if(n instanceof Fe)return Fe.value;var r=Upe(e.value1)(t.value1);return r instanceof Me?Me.value:r instanceof Fe?Fe.value:Hpe(e.value2)(t.value2)}},Eq0:function(){return oD}};var hs=function(e){return e.value2},_s=function(e){return function(t){return function(n){var r=function(a){return function(o){return function(i){return new qP(a,jpe(Bpe(o)),i)}}};return LP(r,e,Lpe(t),n)}}},mT=function(e){return function(t){return function(n){var r=new qP(e,t,n),a=Wpe(_s(e)(t)(n))(r);return a?new P(r):O.value}}};var vT=function(e,t,n,r,a,o,i){var l=new Date(Date.UTC(e,t,n,r,a,o,i));return e>=0&&e<100&&l.setUTCFullYear(e),l.getTime()};function VP(e,t){var n=vT(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond),r=vT(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return n-r}function JP(e){return function(t){return function(n){return function(r){var a=vT(r.year,r.month-1,r.day,r.hour,r.minute,r.second,r.millisecond),o=new Date(a+n);return isNaN(o.getTime())?t:e({year:o.getUTCFullYear(),month:o.getUTCMonth()+1,day:o.getUTCDate(),hour:o.getUTCHours(),minute:o.getUTCMinutes(),second:o.getUTCSeconds(),millisecond:o.getUTCMilliseconds()})}}}}var iD=function(e,t,n){var r=0,a;return function(o){if(r===2)return a;if(r===1)throw new ReferenceError(e+" was needed before it finished initializing (module "+t+", line "+o+")",t,o);return r=1,a=n(),r=2,a}};var uD=Mn,lD=Mn,cD=Mn,sD=Mn,XP=Ba,YP=Ba,ZP=Ba,QP=Ba,hT={bottom:0,top:59,Ord0:function(){return uD}},_T={bottom:0,top:59,Ord0:function(){return lD}},gT={bottom:0,top:999,Ord0:function(){return cD}},yT={bottom:0,top:23,Ord0:function(){return sD}},ei={cardinality:60,toEnum:function(e){if(e>=0&&e<=59)return new P(e);if(nt)return O.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 hT},Enum1:function(){return zpe(0)}},zpe=iD("enumSecond","Data.Time.Component",function(){return{succ:function(){var e=Lt(ei),t=wt(ei);return function(n){return e(function(r){return r+1|0}(t(n)))}}(),pred:function(){var e=Lt(ei),t=wt(ei);return function(n){return e(function(r){return r-1|0}(t(n)))}}(),Ord0:function(){return uD}}});var ti={cardinality:60,toEnum:function(e){if(e>=0&&e<=59)return new P(e);if(nt)return O.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 _T},Enum1:function(){return $pe(0)}},$pe=iD("enumMinute","Data.Time.Component",function(){return{succ:function(){var e=Lt(ti),t=wt(ti);return function(n){return e(function(r){return r+1|0}(t(n)))}}(),pred:function(){var e=Lt(ti),t=wt(ti);return function(n){return e(function(r){return r-1|0}(t(n)))}}(),Ord0:function(){return lD}}});var ni={cardinality:1e3,toEnum:function(e){if(e>=0&&e<=999)return new P(e);if(nt)return O.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 gT},Enum1:function(){return qpe(0)}},qpe=iD("enumMillisecond","Data.Time.Component",function(){return{succ:function(){var e=Lt(ni),t=wt(ni);return function(n){return e(function(r){return r+1|0}(t(n)))}}(),pred:function(){var e=Lt(ni),t=wt(ni);return function(n){return e(function(r){return r-1|0}(t(n)))}}(),Ord0:function(){return cD}}});var ri={cardinality:24,toEnum:function(e){if(e>=0&&e<=23)return new P(e);if(nt)return O.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 yT},Enum1:function(){return Gpe(0)}},Gpe=iD("enumHour","Data.Time.Component",function(){return{succ:function(){var e=Lt(ri),t=wt(ri);return function(n){return e(function(r){return r+1|0}(t(n)))}}(),pred:function(){var e=Lt(ri),t=wt(ri);return function(n){return e(function(r){return r-1|0}(t(n)))}}(),Ord0:function(){return sD}}});var Zpe=De(QP),Qpe=De(YP),Kpe=De(XP),eme=De(ZP),tme=Ge(sD),nme=Ge(lD),rme=Ge(uD),ame=Ge(cD);var gs=function(){function e(t,n,r,a){this.value0=t,this.value1=n,this.value2=r,this.value3=a}return e.create=function(t){return function(n){return function(r){return function(a){return new e(t,n,r,a)}}}},e}();var vd=function(e){return e.value2},hd=function(e){return e.value1},_d=function(e){return e.value3};var gd=function(e){return e.value0};var DT={eq:function(e){return function(t){return Zpe(e.value0)(t.value0)&&Qpe(e.value1)(t.value1)&&Kpe(e.value2)(t.value2)&&eme(e.value3)(t.value3)}}},KP={compare:function(e){return function(t){var n=tme(e.value0)(t.value0);if(n instanceof Me)return Me.value;if(n instanceof Fe)return Fe.value;var r=nme(e.value1)(t.value1);if(r instanceof Me)return Me.value;if(r instanceof Fe)return Fe.value;var a=rme(e.value2)(t.value2);return a instanceof Me?Me.value:a instanceof Fe?Fe.value:ame(e.value3)(t.value3)}},Eq0:function(){return DT}};var ime=wt(Sa),ume=wt(Ur),lme=wt(vo),cme=wt(ri),sme=wt(ti),fme=wt(ei),dme=wt(ni);var pme=De(oD),mme=De(DT),vme=Ge(GP),hme=Ge(KP),_me=fe(pt),Cm=Tt(io),bT=X(Ve),gme=ju(pt),yme=Lt(Sa),Dme=Lt(Ur),bme=Lt(vo),wme=Lt(ri),Cme=Lt(ti),xme=Lt(ei),Tme=Lt(ni),Xl=function(){function e(t,n){this.value0=t,this.value1=n}return e.create=function(t){return function(n){return new e(t,n)}},e}(),wT=function(e){return{year:ime(Xu(e.value0)),month:ume(Yu(e.value0)),day:lme(hs(e.value0)),hour:cme(gd(e.value1)),minute:sme(hd(e.value1)),second:fme(vd(e.value1)),millisecond:dme(_d(e.value1))}};var tN={eq:function(e){return function(t){return pme(e.value0)(t.value0)&&mme(e.value1)(t.value1)}}},fh={compare:function(e){return function(t){var n=vme(e.value0)(t.value0);return n instanceof Me?Me.value:n instanceof Fe?Fe.value:hme(e.value1)(t.value1)}},Eq0:function(){return tN}},nN=function(e){var t=fm(e);return function(n){return function(r){return t(VP(wT(n),wT(r)))}}},yd=function(e){return e.value0};var rN=function(e){var t=Ny(e);return function(n){return function(r){return _me(JP(P.create)(O.value)(t(n))(wT(r)))(function(a){return Cm(bT(Xl.create)(gme(Cm(Cm(bT(mT)(yme(a.year)))(Dme(a.month)))(bme(a.day)))))(Cm(Cm(Cm(bT(gs.create)(wme(a.hour)))(Cme(a.minute)))(xme(a.second)))(Tme(a.millisecond)))})}}};var lN=function(e){return function(t){return function(n){return function(r){try{return t(new RegExp(n,r))}catch(a){return e(a.message)}}}}};var pD=function(e){return function(t){var n=e.lastIndex,r=e.test(t);return e.lastIndex=n,r}},cN=function(e){return function(t){return function(n){return function(r){var a=r.match(n);if(a==null||a.length===0)return t;for(var o=0;o|\/|[a-z]:\\|\\\\).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Ive=/\((\S*)(?::(\d+))(?::(\d+))\)/;function Ave(e){var t=Mve.exec(e);if(!t)return null;var n=t[2]&&t[2].indexOf("native")===0,r=t[2]&&t[2].indexOf("eval")===0,a=Ive.exec(t[2]);return r&&a!=null&&(t[2]=a[1],t[3]=a[2],t[4]=a[3]),{file:n?null:t[2],methodName:t[1]||_h,arguments:n?[t[2]]:[],lineNumber:t[3]?+t[3]:null,column:t[4]?+t[4]:null}}var Lve=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;function jve(e){var t=Lve.exec(e);return t?{file:t[2],methodName:t[1]||_h,arguments:[],lineNumber:+t[3],column:t[4]?+t[4]:null}:null}var Pve=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,Nve=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function Ove(e){var t=Pve.exec(e);if(!t)return null;var n=t[3]&&t[3].indexOf(" > eval")>-1,r=Nve.exec(t[3]);return n&&r!=null&&(t[3]=r[1],t[4]=r[2],t[5]=null),{file:t[3],methodName:t[1]||_h,arguments:t[2]?t[2].split(","):[],lineNumber:t[4]?+t[4]:null,column:t[5]?+t[5]:null}}var kve=/^\s*(?:([^@]*)(?:\((.*?)\))?@)?(\S.*?):(\d+)(?::(\d+))?\s*$/i;function Uve(e){var t=kve.exec(e);return t?{file:t[3],methodName:t[1]||_h,arguments:[],lineNumber:+t[4],column:t[5]?+t[5]:null}:null}var Hve=/^\s*at (?:((?:\[object object\])?[^\\/]+(?: \[as \S+\])?) )?\(?(.*?):(\d+)(?::(\d+))?\)?\s*$/i;function Bve(e){var t=Hve.exec(e);return t?{file:t[2],methodName:t[1]||_h,arguments:[],lineNumber:+t[3],column:t[4]?+t[4]:null}:null}function LN({skipFrames:e,prefix:t}){let n=new Error().stack,a=AN(n)[e],o=jN(a.file.replace(/^(http(s?):\/\/)?[^\/]+/,"")),i=jN(a.methodName);return`${t}_${o}_${i}_${a.lineNumber}_${a.column}`}var jN=e=>e.replace(/[^\d\w]+/g,"_").replace(/(^_|_$)/g,"");var Wve=ae(Sr),zve=He(ze),yD=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),$ve={map:function(e){return function(t){return new yD(function(n){return t.value0(function(r){return n(e(r))})})}}},PN=X($ve);var UT=function(e){return G3(LN(e))},ai=function(e){return new yD(function(t){return t(e)})},wd=function(e){return function(t){return new yD(function(n){return dd(e)(t)(n)})}},HT=function(e){return function(t){return dd(e)(function(n){return{init:Wve(ve),update:Xe(Vc),view:Xe(Xe(t.value0(zve)))}})(ve)}},NN=function(e){var t=UT({skipFrames:3,prefix:"WithHook"});return function(n){return HT(t)(PN(n)(e))}},gh=function(e){var t=UT({skipFrames:3,prefix:"WithHookCurried"});return function(n){return HT(t)(PN(Wp(n))(e))}},Zu=function(e){var t=UT({skipFrames:3,prefix:"HooksComponent"});return HT(t)(e)},ho=function(){return function(e){return function(t){return new yD(function(n){return e.value0(function(r){var a=t(r);return a.value0(n)})})}}},qve=ho(),bs=function(e){return function(){return qve}};jt();var ON=class extends _t.Component{componentDidUpdate(t){this.props.componentDidUpdate(t.deps)}render(){return this.props.children}},kN=ON;var Gve=In();var UN=function(e){return"ref:"+tr(e)(Tn.value)},HN=function(e){var t=UN(e);return function(n){return Gve(q0(t)(n))}},BN=function(e){var t=UN(e);return function(n){return Yx(t)(n)}};var Vve=Wo(),WN=wn(on)(xi),zN=ae(Sr),Jve=Ds(hD(od)),$N={reflectSymbol:function(){return"deps"}},Xve=HN($N),Yve=BN($N),qN=He(ze);var Zve=function(e){var t=Vve(e);return function(){return function(){return t(kN)}}},Qve=Zve(Ut)()(),GN=function(e){var t=eu(e);return function(n){return function(r){return function(a){return function(o){return wd(n)(function(i){return r({init:WN(zo(o(a)))(function(){return zN(a)}),update:function(l){return function(u){return WN(zo(o(u)))(function(){return zN(u)})}},view:function(l){return function(u){return Qve({componentDidUpdate:Jve(u)(function(c){var s=t(Xve(c))(a);return s?new P(a):O.value}),deps:Yve(a)})(i(ve))}}})})}}}}},Kve=GN(h0),DD=function(e){var t=GN(e);return function(n){return function(r){return t("UseEffectPrime")(qN)(n)(r)}}},yh=function(e){return Kve("UseEffect")(qN)(ve)(Xe(e))};var VN=ae(Sr),e0e=He(ze);var t0e=function(e){return function(t){return function(n){return wd(e)(function(r){return t({init:VN(n),update:function(a){return function(o){return VN(o)}},view:zp(r)})})}}},Zn=function(e){return t0e("UseState")(e0e)(e)};var JN=wn(on)(xi),n0e=Zy(gn),r0e=He(ze),XN=ae(Sr),BT=function(e){return function(t){return wd("UseSubscription")(function(n){return{init:JN(n0e(r0e)(e))(function(){return XN(ve)}),update:function(r){return function(a){return JN(zo(t(a)))(function(){return XN(ve)})}},view:function(r){return function(a){return n(ve)}}}})}};var bD=typeof CV!="undefined"&&CV.assetsRoot||typeof global!="undefined"&&global.CV&&global.CV.assetsRoot||"/";var eO=Gu(),WT=Wo(),tO=gm()();var Dh=be,nO=function(e){return function(t){return eO(Dh(e))(t)}},zT=function(e){var t=WT(e);return function(n){return function(r){return t(Dh(n))(r)}}},Zl=function(e){var t=WT(e);return function(n){return function(r){return function(a){return t(Dh(n))(tO(a)({className:r}))}}}},Sm=function(e){return function(t){return function(n){return eO(Dh(e))(tO(n)({className:t}))}}};var Xa=function(e){return function(t){var n=WT(t);return function(r){return function(a){return n(Dh(e))({className:r})(a)}}}};var Zt=be;var wD=function(e){var t=Zl(e);return function(){return function(){return t("ul")}}},CD=function(e){return Xa("ul")(e)};var Ri=function(){return function(){return Sm("textarea")}};var xD=function(e){var t=Zl(e);return function(){return function(){return t("svg")}}};var TD=function(e){return Xa("strong")(e)};var Xr=function(e){return Xa("span")(e)};var ED=function(e){return Xa("small")(e)};var Si=function(e){return Xa("p")(e)};var RD=function(e){var t=Zl(e);return function(){return function(){return t("li")}}},SD=function(e){return Xa("li")(e)};var Qu=function(e){var t=Zl(e);return function(){return function(){return t("label")}}},Fm=function(e){return Xa("label")(e)};var ia=function(){return function(){return Sm("input")}};var FD=function(){return function(){return Sm("img")}};var MD=function(e){return Xa("i")(e)};var ID=function(e){return Xa("h6")(e)};var AD=function(e){return Xa("h5")(e)};var Mm=function(e){return Xa("h3")(e)};var ws=function(e){return Xa("h2")(e)},LD=function(e){var t=Zl(e);return function(){return function(){return t("h1")}}},jD=function(e){return Xa("h1")(e)},PD=function(e){var t=Zl(e);return function(){return function(){return t("form")}}};var gr=function(e){var t=Zl(e);return function(){return function(){return t("div")}}},St=function(e){return Xa("div")(e)};var $T=gi(jl(hr)),u0e=He(ze),l0e=FD()(),ND=function(e){var t=$a(e);return function(n){return Cr(t(n))}},rO=function(e){if($T(ND("http://"))($T(ND("https://"))($T(ND("//"))(ND("blob:"))))(e))return e;if(nt)return bD+et(e)($a("/")(e));throw new Error("Failed pattern match at Utils.AppAssets (line 47, column 1 - line 47, column 30): "+[e.constructor.name])},Im=function(){return function(){return function(e){return function(t){var n=function(a){return u0e},r=n(t)(TA("src")(rO(t.src))(t));return l0e(e)(r)}}}},c0e=Im()(),qT=function(e){return function(t){return c0e(e)({src:t})}};var aO=({just:e,nothing:t})=>n=>{try{let r=new Date(n);return isNaN(r.getTime())?t:e(r)}catch{return t}},GT=e=>({year:e.getFullYear(),month:e.getMonth(),day:e.getDate(),hour:e.getHours(),minute:e.getMinutes(),second:e.getSeconds(),millisecond:e.getMilliseconds()}),oO=()=>new Date,iO=(()=>{let e=new Date;return typeof window!="undefined"?()=>e:()=>{let t=new Date;return t-e>1e3&&(e=t),e}})(),uO=e=>()=>new Date(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),s0e=(()=>{let e=new Date().toString(),t=(e.match(/\(([\w\s]+)\)$/)||[])[1];return t?/\s/.test(t)?(t.match(/\b(\w)/g)||[]).join(""):t:(t=(e.match(/(\w{3,4})\s\d{4}$/)||[])[1],t||(t=(e.match(/(UTC[\+\-]\d+)/)||[])[1],t)||(t=(e.match(/(GMT[\+\-]\d+)/)||[])[1],t)?t:"")})();var f0e=function(e,t,n,r,a,o,i){var l=new Date(Date.UTC(e,t,n,r,a,o,i));return e>=0&&e<100&&l.setUTCFullYear(e),l};function lO(e){return function(t){return function(n){var r=n.getTime();return isNaN(r)?t:e(r)}}}function VT(e){return f0e(e.year,e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function cO(e,t){return function(){return t[e]()}}function sO(e){return function(t){var n=new Date(t);return e(n.getUTCFullYear())(n.getUTCMonth()+1)(n.getUTCDate())(n.getUTCHours())(n.getUTCMinutes())(n.getUTCSeconds())(n.getUTCMilliseconds())}}var d0e=In(),p0e=Lt(Ur);var OD=function(){var e=function(t){return function(n){return function(r){return function(a){return function(o){return function(i){return function(l){return new Xl(_s(t)(d0e(p0e(n)))(r),new gs(a,o,i,l))}}}}}}};return sO(e)}();var JT=function(e){if(e>=-86399778816e5&&e<=8639977881599999)return new P(e);if(nt)return O.value;throw new Error("Failed pattern match at Data.DateTime.Instant (line 44, column 1 - line 44, column 41): "+[e.constructor.name])};var m0e=X($c),v0e=X(Ve);var h0e=wt(Sa),_0e=wt(Ur),g0e=wt(vo),y0e=wt(ri),D0e=wt(ti),b0e=wt(ei),w0e=wt(ni);var C0e=function(){return Jc(pt)(function(e){return JT(sm(e))})(lO(P.create)(O.value))}(),fO=function(e){return cO("toISOString",e)},dO=m0e(v0e(OD))(C0e);var XT=function(e){return VT({year:Tr(h0e(Xu(e.value0))),month:Tr(_0e(Yu(e.value0))-1|0),day:Tr(g0e(hs(e.value0))),hour:Tr(y0e(gd(e.value1))),minute:Tr(D0e(hd(e.value1))),second:Tr(b0e(vd(e.value1))),millisecond:Tr(w0e(_d(e.value1)))})};var JYt=function(){function e(){this.head=null,this.last=null,this.size=0}function t(s,f){this.queue=s,this.value=f,this.next=null,this.prev=null}function n(s){this.draining=!1,this.error=null,this.value=s,this.takes=new e,this.reads=new e,this.puts=new e}var r={};function a(s){try{s()}catch(f){setTimeout(function(){throw f},0)}}function o(s,f){var d=new t(s,f);switch(s.size){case 0:s.head=d;break;case 1:d.prev=s.head,s.head.next=d,s.last=d;break;default:d.prev=s.last,s.last.next=d,s.last=d}return s.size++,d}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 l(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 u(s){if(s.queue!==null){if(s.queue.last===s){i(s.queue);return}if(s.queue.head===s){l(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 d=f.puts,p=f.takes,m=f.reads,y,_,D,C,R;for(f.draining=!0;;){if(y=null,_=null,D=null,C=f.value,R=m.size,f.error!==null){for(C=s.left(f.error);y=l(d);)a(y.cb(C));for(;_=l(m);)a(_(C));for(;D=l(p);)a(D(C));break}if(C===r&&(y=l(d))&&(f.value=C=y.value),C!==r){for(D=l(p);R--&&(_=l(m));)a(_(s.right(C)));D!==null&&(f.value=r,a(D(s.right(C))))}if(y!==null&&a(y.cb(s.right(void 0))),f.value===r&&d.size===0||f.value!==r&&p.size===0)break}f.draining=!1}}return n.EMPTY=r,n.putLast=o,n.takeLast=i,n.takeHead=l,n.deleteCell=u,n.drainVar=c,n}();var mO=function(e){return us(Al(e))},vO=function(e){return us(Yc(e))};var H0e=X(Et);var B0e=Er(tA),W0e=ae(Kt),Cs=fe(pt),z0e=Lt(Sa),$0e=Lt(Ur),q0e=Lt(vo),G0e=Lt(ri),V0e=Lt(ti),J0e=Lt(ei),X0e=Lt(ni),Y0e=ae(bn),_O=_n(xr),Z0e=kt(Ve);var Q0e=function(e){return us(fO(XT(e)))},K0e=function(){return vO(O.value)}();var ehe=function(){var e=H0e(dO);return function(t){return e(uO(XT(t)))}}();var gO=function(e){var t=bt(e);return function(n){return t(function(){var a=ehe(n)();if(a instanceof O)return B0e(Di("Could not convert local to UTC time"))();if(a instanceof P)return Q0e(a.value0);throw new Error("Failed pattern match at Utils.DateTime (line 170, column 3 - line 174, column 29): "+[a.constructor.name])})}};var yO=function(e){return Cs(z0e(e.year))(function(t){return Cs($0e(e.month+1|0))(function(n){return Cs(q0e(e.day))(function(r){return Cs(G0e(e.hour))(function(a){return Cs(V0e(e.minute))(function(o){return Cs(J0e(e.second))(function(i){return Cs(X0e(e.millisecond))(function(l){return Y0e(new Xl(_s(t)(n)(r),new gs(a,o,i,l)))})})})})})})})},DO=function(e){var t=eA("Failed to obtain current time. This should never happen.");return At(t)(W0e)(yO(GT(e)))},Cd=_O(DO)(oO),YT=function(e){var t=mO(K0e);if(t instanceof P)return t.value0;if(t instanceof O)return us(_O(DO)(iO));throw new Error("Failed pattern match at Utils.DateTime (line 63, column 3 - line 65, column 76): "+[t.constructor.name])},Ku=function(e){return Cs(Z0e(aO({just:P.create,nothing:O.value})(e))(GT))(yO)};var xs=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),Am=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}();var Ien=new Intl.NumberFormat("en-US",{notation:"compact",compactDisplay:"short",maximumFractionDigits:2});var ga=function(){return be};var wh=xe(hn),the=wt(Sa),nhe=wt(Ur),rhe=ga(),ahe=yi(),ohe=nN(D3),ZT=Ao(Nu);var ihe=function(e){return function(t){if(t.minutes<=0)return e.justNow;if(t.minutes<=1)return"a minute"+e.suffix;if(t.minutes<=45)return wh(t.minutes)+(" minutes"+e.suffix);if(t.hours<=1)return"an hour"+e.suffix;if(t.hours<24)return wh(t.hours)+(" hours"+e.suffix);if(t.days<=1)return"a day"+e.suffix;if(t.days<30)return wh(t.days)+(" days"+e.suffix);if(t.months<=1)return"a month"+e.suffix;if(t.months<12)return wh(t.months)+(" months"+e.suffix);if(t.years<=1)return"a year"+e.suffix;if(nt)return wh(t.years)+(" years"+e.suffix);throw new Error("Failed pattern match at Utils.Format (line 158, column 1 - line 158, column 81): "+[e.constructor.name,t.constructor.name])}},QT=function(e){return ihe({suffix:" "+e,justNow:"just now"})},bO=function(){return function(e){var t=function(c){return(the(Xu(yd(c)))*12|0)+nhe(Yu(yd(c)))|0},n=rhe(e),r=$t(n.format)(QT("ago")),a=ry(ahe(ohe(n.to)(n.from))),o=ZT(a+30|0)(60),i=ZT(o+12|0)(24),l=t(n.to)-t(n.from)|0,u=ZT(l+6|0)(12);return r({minutes:a,hours:o,days:i,months:l,years:u})}};jt();var wO=_t.Fragment;var CO=function(e){var t=zT(e);return function(){return function(){return t("button")}}},xO=function(){return function(){return nO("br")}};var TO=function(e){var t=zT(e);return function(){return function(){return t("a")}}};var kD=function(e){return function(t){return function(){return t[e]}}},uhe=kD("children"),lhe=kD("firstElementChild"),che=kD("lastElementChild"),she=kD("childElementCount");var fhe=X(zt);var dhe=xO()();var KT=et(dn),fu=Vt(At(dn));var EO=function(e){return function(t){if(e)return dn;if(nt)return t(ve);throw new Error("Failed pattern match at Utils.HTML (line 113, column 1 - line 113, column 65): "+[e.constructor.name,t.constructor.name])}},eE=function(e){return function(t){return EO(e)(Xe(t))}};var RO=function(e){return function(t){if(e)return t(ve);if(nt)return dn;throw new Error("Failed pattern match at Utils.HTML (line 100, column 1 - line 100, column 61): "+[e.constructor.name,t.constructor.name])}},el=function(e){return function(t){return RO(e)(Xe(t))}};var phe=Wo()(Rt)(wO),mhe=function(e){return function(t){return phe({key:e.key})(S0(dhe({}))(fhe(En)(zl(` `)(t))))}},tE=mhe({key:""});var Ql=function(){return{"genericTop'":vr.value}}();var nE=function(e){return e["genericTop'"]},Kl=function(e){return{"genericTop'":nE(e)}};var ec=function(){return{"genericBottom'":vr.value}}();var Ch=function(e){return e["genericBottom'"]},tc=function(e){return{"genericBottom'":Ch(e)}};var nc=function(e){return{"genericBottom'":new sn(Ch(e))}},SO=function(e){var t=Ig(e);return function(n){return t(Ch(n))}};var Ts=X(Ve),UD=kn();var rE=function(e){return e["genericToEnum'"]};var HD=function(e){return e["genericSucc'"]},FO=function(e){var t=Ig(e),n=fx(e);return function(r){var a=Ts(t),o=HD(r);return function(i){return a(o(n(i)))}}},aE=function(e){return e["genericPred'"]};var oE=function(e){return e["genericFromEnum'"]};var rc=function(e){var t=aE(e),n=HD(e);return function(r){var a=nE(r);return function(o){var i=aE(o),l=HD(o);return function(u){var c=Ch(u);return{"genericPred'":function(s){if(s instanceof sn)return Ts(sn.create)(t(s.value0));if(s instanceof Ft){var f=i(s.value0);if(f instanceof O)return new P(new sn(a));if(f instanceof P)return new P(new Ft(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 sn){var f=n(s.value0);if(f instanceof O)return new P(new Ft(c));if(f instanceof P)return new P(new sn(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 Ft)return Ts(Ft.create)(l(s.value0));throw new Error("Failed pattern match at Data.Enum.Generic (line 33, column 18 - line 37, column 36): "+[s.constructor.name])}}}}}};var ac={"genericPred'":function(e){return O.value},"genericSucc'":function(e){return O.value}},oc=function(e){var t=aE(e),n=HD(e);return{"genericPred'":function(r){return Ts(Mg)(t(r))},"genericSucc'":function(r){return Ts(Mg)(n(r))}}};var iE=function(e){return e["genericCardinality'"]};var ic=function(e){var t=iE(e),n=rE(e),r=oE(e);return function(a){var o=rE(a),i=oE(a);return{"genericCardinality'":UD(t)+UD(iE(a))|0,"genericToEnum'":function(l){var u=function(c){if(l>=0&&le.length)&&(t=e.length);for(var n=0,r=Array(t);n-1}function bW(e){return m2(e)?window.pageYOffset:e.scrollTop}function v2(e,t){if(m2(e)){window.scrollTo(0,t);return}e.scrollTop=t}function ywe(e){var t=getComputedStyle(e),n=t.position==="absolute",r=/(auto|scroll)/,a=document.documentElement;if(t.position==="fixed")return a;for(var o=e;o=o.parentElement;)if(t=getComputedStyle(o),!(n&&t.position==="static")&&r.test(t.overflow+t.overflowY+t.overflowX))return o;return a}function Dwe(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function h2(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:u6,a=bW(e),o=t-a,i=10,l=0;function u(){l+=i;var c=Dwe(l,a,o,n);v2(e,c),ln.bottom?v2(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+a,e.scrollHeight)):r.top-a=y)return{placement:"bottom",maxHeight:t};if(ce>=y&&!i)return o&&h2(c,te,ee),{placement:"bottom",maxHeight:t};if(!i&&ce>=r||i&&W>=r){o&&h2(c,te,ee);var re=i?W-A:ce-A;return{placement:"bottom",maxHeight:re}}if(a==="auto"||i){var de=t,q=i?L:$;return q>=r&&(de=Math.min(q-A-u.controlHeight,t)),{placement:"top",maxHeight:de}}if(a==="bottom")return v2(c,te),{placement:"bottom",maxHeight:t};break;case"top":if(L>=y)return{placement:"top",maxHeight:t};if($>=y&&!i)return o&&h2(c,le,ee),{placement:"top",maxHeight:t};if(!i&&$>=r||i&&L>=r){var Q=t;return(!i&&$>=r||i&&L>=r)&&(Q=i?L-T:$-T),o&&h2(c,le,ee),{placement:"top",maxHeight:Q}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(a,'".'))}return s}function xwe(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var s6=function(t){return t==="auto"?"bottom":t},RW=function(t){var n,r=t.placement,a=t.theme,o=a.borderRadius,i=a.spacing,l=a.colors;return n={label:"menu"},mn(n,xwe(r),"100%"),mn(n,"backgroundColor",l.neutral0),mn(n,"borderRadius",o),mn(n,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),mn(n,"marginBottom",i.menuGutter),mn(n,"marginTop",i.menuGutter),mn(n,"position","absolute"),mn(n,"width","100%"),mn(n,"zIndex",1),n},SW=(0,I_.createContext)({getPortalPlacement:null}),f6=function(e){ca(n,e);var t=EW(n);function n(){var r;ua(this,n);for(var a=arguments.length,o=new Array(a),i=0;i-1}};var t4e={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;"},n4e=function(t){return(0,$d.jsx)("span",ot({css:t4e},t))};function r4e(e){var t=e.in,n=e.out,r=e.onExited,a=e.appear,o=e.enter,i=e.exit,l=e.innerRef,u=e.emotion,c=ya(e,["in","out","onExited","appear","enter","exit","innerRef","emotion"]);return(0,$d.jsx)("input",ot({ref:l},c,{css:(0,hz.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 a4e(e){var t=o4e();return function(){var r=sr(e),a;if(t){var o=sr(this).constructor;a=Reflect.construct(r,arguments,o)}else a=r.apply(this,arguments);return oi(this,a)}}function o4e(){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 bz=function(e){ca(n,e);var t=a4e(n);function n(){return ua(this,n),t.apply(this,arguments)}return la(n,[{key:"componentDidMount",value:function(){this.props.innerRef((0,vz.findDOMNode)(this))}},{key:"componentWillUnmount",value:function(){this.props.innerRef(null)}},{key:"render",value:function(){return this.props.children}}]),n}(qt.Component),wz=["boxSizing","height","overflow","paddingRight","position"],Cz={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function xz(e){e.preventDefault()}function Tz(e){e.stopPropagation()}function Ez(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function Rz(){return"ontouchstart"in window||navigator.maxTouchPoints}function i4e(e){var t=u4e();return function(){var r=sr(e),a;if(t){var o=sr(this).constructor;a=Reflect.construct(r,arguments,o)}else a=r.apply(this,arguments);return oi(this,a)}}function u4e(){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 Sz=!!(window.document&&window.document.createElement),A_=0,Fz=function(e){ca(n,e);var t=i4e(n);function n(){var r;ua(this,n);for(var a=arguments.length,o=new Array(a),i=0;i0,I=_-D-y,A=!1;I>u&&r.isBottom&&(f&&f(l),r.isBottom=!1),R&&r.isTop&&(p&&p(l),r.isTop=!1),R&&u>I?(s&&!r.isBottom&&s(l),C.scrollTop=_,A=!0,r.isBottom=!0):!R&&-u>y&&(d&&!r.isTop&&d(l),C.scrollTop=0,A=!0,r.isTop=!0),A&&r.cancelScroll(l)},r.onWheel=function(l){r.handleEventDelta(l,l.deltaY)},r.onTouchStart=function(l){r.touchStart=l.changedTouches[0].clientY},r.onTouchMove=function(l){var u=r.touchStart-l.changedTouches[0].clientY;r.handleEventDelta(l,u)},r.getScrollTarget=function(l){r.scrollTarget=l},r}return la(n,[{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 qt.default.createElement(bz,{innerRef:this.getScrollTarget},this.props.children)}}]),n}(qt.Component);function v4e(e){var t=e.isEnabled,n=t===void 0?!0:t,r=ya(e,["isEnabled"]);return n?qt.default.createElement(m4e,r):r.children}var h4e=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=n.isSearchable,a=n.isMulti,o=n.label,i=n.isDisabled,l=n.tabSelectsValue;switch(t){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(l?", press Tab to select the option and exit the menu":"",".");case"input":return"".concat(o||"Select"," is focused ").concat(r?",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"}},_4e=function(t,n){var r=n.value,a=n.isDisabled;if(!!r)switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"select-option":return a?"option ".concat(r," is disabled. Select another option."):"option ".concat(r,", selected.")}},g4e=function(t){var n=t.focusedValue,r=t.getOptionLabel,a=t.selectValue;return"value ".concat(r(n)," focused, ").concat(a.indexOf(n)+1," of ").concat(a.length,".")},y4e=function(t){var n=t.focusedOption,r=t.getOptionLabel,a=t.options;return"option ".concat(r(n)," focused").concat(n.isDisabled?" disabled":"",", ").concat(a.indexOf(n)+1," of ").concat(a.length,".")},D4e=function(t){var n=t.inputValue,r=t.screenReaderMessage;return"".concat(r).concat(n?" for search term "+n:"",".")},b4e=function(t){return t.label},w4e=function(t){return t.label},C4e=function(t){return t.value},Mz=function(t){return!!t.isDisabled};var x4e={clearIndicator:VW,container:UW,control:ZW,dropdownIndicator:GW,group:KW,groupHeading:ez,indicatorsContainer:BW,indicatorSeparator:JW,input:nz,loadingIndicator:XW,loadingMessage:AW,menu:RW,menuList:FW,menuPortal:PW,multiValue:az,multiValueLabel:oz,multiValueRemove:iz,noOptionsMessage:IW,option:cz,placeholder:sz,singleValue:fz,valueContainer:HW};var T4e={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%)"},E4e=4,Iz=4,R4e=38,S4e=Iz*2,F4e={baseUnit:Iz,controlHeight:R4e,menuGutter:S4e},g6={borderRadius:E4e,colors:T4e,spacing:F4e};function Az(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function pv(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:"set-value",s=arguments.length>2?arguments[2]:void 0,f=a.props,d=f.closeMenuOnSelect,p=f.isMulti;a.onInputChange("",{action:"set-value"}),d&&(a.inputIsHiddenAfterUpdate=!p,a.onMenuClose()),a.clearFocusValueOnUpdate=!0,a.onChange(u,{action:c,option:s})},a.selectOption=function(u){var c=a.props,s=c.blurInputOnSelect,f=c.isMulti,d=a.state.selectValue;if(f)if(a.isOptionSelected(u,d)){var p=a.getOptionValue(u);a.setValue(d.filter(function(m){return a.getOptionValue(m)!==p}),"deselect-option",u),a.announceAriaLiveSelection({event:"deselect-option",context:{value:a.getOptionLabel(u)}})}else a.isOptionDisabled(u,d)?a.announceAriaLiveSelection({event:"select-option",context:{value:a.getOptionLabel(u),isDisabled:!0}}):(a.setValue([].concat(zk(d),[u]),"select-option",u),a.announceAriaLiveSelection({event:"select-option",context:{value:a.getOptionLabel(u)}}));else a.isOptionDisabled(u,d)?a.announceAriaLiveSelection({event:"select-option",context:{value:a.getOptionLabel(u),isDisabled:!0}}):(a.setValue(u,"select-option"),a.announceAriaLiveSelection({event:"select-option",context:{value:a.getOptionLabel(u)}}));s&&a.blurInput()},a.removeValue=function(u){var c=a.state.selectValue,s=a.getOptionValue(u),f=c.filter(function(d){return a.getOptionValue(d)!==s});a.onChange(f.length?f:null,{action:"remove-value",removedValue:u}),a.announceAriaLiveSelection({event:"remove-value",context:{value:u?a.getOptionLabel(u):""}}),a.focusInput()},a.clearValue=function(){a.onChange(null,{action:"clear"})},a.popValue=function(){var u=a.state.selectValue,c=u[u.length-1],s=u.slice(0,u.length-1);a.announceAriaLiveSelection({event:"pop-value",context:{value:c?a.getOptionLabel(c):""}}),a.onChange(s.length?s:null,{action:"pop-value",removedValue:c})},a.getValue=function(){return a.state.selectValue},a.cx=function(){for(var u=arguments.length,c=new Array(u),s=0;sp||d>p}},a.onTouchEnd=function(u){a.userIsDragging||(a.controlRef&&!a.controlRef.contains(u.target)&&a.menuListRef&&!a.menuListRef.contains(u.target)&&a.blurInput(),a.initialTouchX=0,a.initialTouchY=0)},a.onControlTouchEnd=function(u){a.userIsDragging||a.onControlMouseDown(u)},a.onClearIndicatorTouchEnd=function(u){a.userIsDragging||a.onClearIndicatorMouseDown(u)},a.onDropdownIndicatorTouchEnd=function(u){a.userIsDragging||a.onDropdownIndicatorMouseDown(u)},a.handleInputChange=function(u){var c=u.currentTarget.value;a.inputIsHiddenAfterUpdate=!1,a.onInputChange(c,{action:"input-change"}),a.props.menuIsOpen||a.onMenuOpen()},a.onInputFocus=function(u){var c=a.props,s=c.isSearchable,f=c.isMulti;a.props.onFocus&&a.props.onFocus(u),a.inputIsHiddenAfterUpdate=!1,a.announceAriaLiveContext({event:"input",context:{isSearchable:s,isMulti:f}}),a.setState({isFocused:!0}),(a.openAfterFocus||a.props.openMenuOnFocus)&&a.openMenu("first"),a.openAfterFocus=!1},a.onInputBlur=function(u){if(a.menuListRef&&a.menuListRef.contains(document.activeElement)){a.inputRef.focus();return}a.props.onBlur&&a.props.onBlur(u),a.onInputChange("",{action:"input-blur"}),a.onMenuClose(),a.setState({focusedValue:null,isFocused:!1})},a.onOptionHover=function(u){a.blockOptionHover||a.state.focusedOption===u||a.setState({focusedOption:u})},a.shouldHideSelectedOptions=function(){var u=a.props,c=u.hideSelectedOptions,s=u.isMulti;return c===void 0?s:c},a.onKeyDown=function(u){var c=a.props,s=c.isMulti,f=c.backspaceRemovesValue,d=c.escapeClearsValue,p=c.inputValue,m=c.isClearable,y=c.isDisabled,_=c.menuIsOpen,D=c.onKeyDown,C=c.tabSelectsValue,R=c.openMenuOnFocus,I=a.state,A=I.focusedOption,T=I.focusedValue,L=I.selectValue;if(!y&&!(typeof D=="function"&&(D(u),u.defaultPrevented))){switch(a.blockOptionHover=!0,u.key){case"ArrowLeft":if(!s||p)return;a.focusValue("previous");break;case"ArrowRight":if(!s||p)return;a.focusValue("next");break;case"Delete":case"Backspace":if(p)return;if(T)a.removeValue(T);else{if(!f)return;s?a.popValue():m&&a.clearValue()}break;case"Tab":if(a.isComposing||u.shiftKey||!_||!C||!A||R&&a.isOptionSelected(A,L))return;a.selectOption(A);break;case"Enter":if(u.keyCode===229)break;if(_){if(!A||a.isComposing)return;a.selectOption(A);break}return;case"Escape":_?(a.inputIsHiddenAfterUpdate=!1,a.onInputChange("",{action:"menu-close"}),a.onMenuClose()):m&&d&&a.clearValue();break;case" ":if(p)return;if(!_){a.openMenu("first");break}if(!A)return;a.selectOption(A);break;case"ArrowUp":_?a.focusOption("up"):a.openMenu("last");break;case"ArrowDown":_?a.focusOption("down"):a.openMenu("first");break;case"PageUp":if(!_)return;a.focusOption("pageup");break;case"PageDown":if(!_)return;a.focusOption("pagedown");break;case"Home":if(!_)return;a.focusOption("first");break;case"End":if(!_)return;a.focusOption("last");break;default:return}u.preventDefault()}},a.buildMenuOptions=function(u,c){var s=u.inputValue,f=s===void 0?"":s,d=u.options,p=function(y,_){var D=a.isOptionDisabled(y,c),C=a.isOptionSelected(y,c),R=a.getOptionLabel(y),I=a.getOptionValue(y);if(!(a.shouldHideSelectedOptions()&&C||!a.filterOption({label:R,value:I,data:y},f))){var A=D?void 0:function(){return a.onOptionHover(y)},T=D?void 0:function(){return a.selectOption(y)},L="".concat(a.getElementId("option"),"-").concat(_);return{innerProps:{id:L,onClick:T,onMouseMove:A,onMouseOver:A,tabIndex:-1},data:y,isDisabled:D,isSelected:C,key:L,label:R,type:"option",value:I}}};return d.reduce(function(m,y,_){if(y.options){a.hasGroups||(a.hasGroups=!0);var D=y.options,C=D.map(function(A,T){var L=p(A,"".concat(_,"-").concat(T));return L&&m.focusable.push(A),L}).filter(Boolean);if(C.length){var R="".concat(a.getElementId("group"),"-").concat(_);m.render.push({type:"group",key:R,data:y,options:C})}}else{var I=p(y,"".concat(_));I&&(m.render.push(I),m.focusable.push(y))}return m},{render:[],focusable:[]})};var o=r.value;a.cacheComponents=(0,h6.default)(a.cacheComponents,kW).bind(Ed(a)),a.cacheComponents(r.components),a.instancePrefix="react-select-"+(a.props.instanceId||++L4e);var i=l6(o);a.buildMenuOptions=(0,h6.default)(a.buildMenuOptions,function(u,c){var s=u,f=yn(s,2),d=f[0],p=f[1],m=c,y=yn(m,2),_=y[0],D=y[1];return p===D&&d.inputValue===_.inputValue&&d.options===_.options}).bind(Ed(a));var l=r.menuIsOpen?a.buildMenuOptions(r,i):{render:[],focusable:[]};return a.state.menuOptions=l,a.state.selectValue=i,a}return la(n,[{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 o=this.props,i=o.options,l=o.value,u=o.menuIsOpen,c=o.inputValue;if(this.cacheComponents(a.components),a.value!==l||a.options!==i||a.menuIsOpen!==u||a.inputValue!==c){var s=l6(a.value),f=a.menuIsOpen?this.buildMenuOptions(a,s):{render:[],focusable:[]},d=this.getNextFocusedValue(s),p=this.getNextFocusedOption(f.focusable);this.setState({menuOptions:f,selectValue:s,focusedOption:p,focusedValue:d})}this.inputIsHiddenAfterUpdate!=null&&(this.setState({inputIsHidden:this.inputIsHiddenAfterUpdate}),delete this.inputIsHiddenAfterUpdate)}},{key:"componentDidUpdate",value:function(a){var o=this.props,i=o.isDisabled,l=o.menuIsOpen,u=this.state.isFocused;(u&&!i&&a.isDisabled||u&&l&&!a.menuIsOpen)&&this.focusInput(),u&&i&&!a.isDisabled&&this.setState({isFocused:!1},this.onMenuClose),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(wW(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,o=a.isSearchable,i=a.isMulti;this.announceAriaLiveContext({event:"input",context:{isSearchable:o,isMulti:i}}),this.onInputChange("",{action:"menu-close"}),this.props.onMenuClose()}},{key:"onInputChange",value:function(a,o){this.props.onInputChange(a,o)}},{key:"focusInput",value:function(){!this.inputRef||this.inputRef.focus()}},{key:"blurInput",value:function(){!this.inputRef||this.inputRef.blur()}},{key:"openMenu",value:function(a){var o=this,i=this.state,l=i.selectValue,u=i.isFocused,c=this.buildMenuOptions(this.props,l),s=this.props,f=s.isMulti,d=s.tabSelectsValue,p=a==="first"?0:c.focusable.length-1;if(!f){var m=c.focusable.indexOf(l[0]);m>-1&&(p=m)}this.scrollToFocusedOptionOnUpdate=!(u&&this.menuListRef),this.inputIsHiddenAfterUpdate=!1,this.setState({menuOptions:c,focusedValue:null,focusedOption:c.focusable[p]},function(){o.onMenuOpen(),o.announceAriaLiveContext({event:"menu",context:{tabSelectsValue:d}})})}},{key:"focusValue",value:function(a){var o=this.props,i=o.isMulti,l=o.isSearchable,u=this.state,c=u.selectValue,s=u.focusedValue;if(!!i){this.setState({focusedOption:null});var f=c.indexOf(s);s||(f=-1,this.announceAriaLiveContext({event:"value"}));var d=c.length-1,p=-1;if(!!c.length){switch(a){case"previous":f===0?p=0:f===-1?p=d:p=f-1;break;case"next":f>-1&&f0&&arguments[0]!==void 0?arguments[0]:"first",o=this.props,i=o.pageSize,l=o.tabSelectsValue,u=this.state,c=u.focusedOption,s=u.menuOptions,f=s.focusable;if(!!f.length){var d=0,p=f.indexOf(c);c||(p=-1,this.announceAriaLiveContext({event:"menu",context:{tabSelectsValue:l}})),a==="up"?d=p>0?p-1:f.length-1:a==="down"?d=(p+1)%f.length:a==="pageup"?(d=p-i,d<0&&(d=0)):a==="pagedown"?(d=p+i,d>f.length-1&&(d=f.length-1)):a==="last"&&(d=f.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:f[d],focusedValue:null}),this.announceAriaLiveContext({event:"menu",context:{isDisabled:Mz(f[d]),tabSelectsValue:l}})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(g6):pv(pv({},g6),this.props.theme):g6}},{key:"getCommonProps",value:function(){var a=this.clearValue,o=this.cx,i=this.getStyles,l=this.getValue,u=this.setValue,c=this.selectOption,s=this.props,f=s.isMulti,d=s.isRtl,p=s.options,m=this.hasValue();return{cx:o,clearValue:a,getStyles:i,getValue:l,hasValue:m,isMulti:f,isRtl:d,options:p,selectOption:c,setValue:u,selectProps:s,theme:this.getTheme()}}},{key:"getNextFocusedValue",value:function(a){if(this.clearFocusValueOnUpdate)return this.clearFocusValueOnUpdate=!1,null;var o=this.state,i=o.focusedValue,l=o.selectValue,u=l.indexOf(i);if(u>-1){var c=a.indexOf(i);if(c>-1)return i;if(u-1?o:a[0]}},{key:"hasValue",value:function(){var a=this.state.selectValue;return a.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,o=a.isClearable,i=a.isMulti;return o===void 0?i:o}},{key:"isOptionDisabled",value:function(a,o){return typeof this.props.isOptionDisabled=="function"?this.props.isOptionDisabled(a,o):!1}},{key:"isOptionSelected",value:function(a,o){var i=this;if(o.indexOf(a)>-1)return!0;if(typeof this.props.isOptionSelected=="function")return this.props.isOptionSelected(a,o);var l=this.getOptionValue(a);return o.some(function(u){return i.getOptionValue(u)===l})}},{key:"filterOption",value:function(a,o){return this.props.filterOption?this.props.filterOption(a,o):!0}},{key:"formatOptionLabel",value:function(a,o){if(typeof this.props.formatOptionLabel=="function"){var i=this.props.inputValue,l=this.state.selectValue;return this.props.formatOptionLabel(a,{context:o,inputValue:i,selectValue:l})}else 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,o=a.ariaLiveContext,i=a.selectValue,l=a.focusedValue,u=a.focusedOption,c=this.props,s=c.options,f=c.menuIsOpen,d=c.inputValue,p=c.screenReaderStatus,m=l?g4e({focusedValue:l,getOptionLabel:this.getOptionLabel,selectValue:i}):"",y=u&&f?y4e({focusedOption:u,getOptionLabel:this.getOptionLabel,options:s}):"",_=D4e({inputValue:d,screenReaderMessage:p({count:this.countOptions()})});return"".concat(m," ").concat(y," ").concat(_," ").concat(o)}},{key:"renderInput",value:function(){var a=this.props,o=a.isDisabled,i=a.isSearchable,l=a.inputId,u=a.inputValue,c=a.tabIndex,s=a.form,f=this.components.Input,d=this.state.inputIsHidden,p=l||this.getElementId("input"),m={"aria-autocomplete":"list","aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"]};if(!i)return qt.default.createElement(r4e,ot({id:p,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:u6,onFocus:this.onInputFocus,readOnly:!0,disabled:o,tabIndex:c,form:s,value:""},m));var y=this.commonProps,_=y.cx,D=y.theme,C=y.selectProps;return qt.default.createElement(f,ot({autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",cx:_,getStyles:this.getStyles,id:p,innerRef:this.getInputRef,isDisabled:o,isHidden:d,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,selectProps:C,spellCheck:"false",tabIndex:c,form:s,theme:D,type:"text",value:u},m))}},{key:"renderPlaceholderOrValue",value:function(){var a=this,o=this.components,i=o.MultiValue,l=o.MultiValueContainer,u=o.MultiValueLabel,c=o.MultiValueRemove,s=o.SingleValue,f=o.Placeholder,d=this.commonProps,p=this.props,m=p.controlShouldRenderValue,y=p.isDisabled,_=p.isMulti,D=p.inputValue,C=p.placeholder,R=this.state,I=R.selectValue,A=R.focusedValue,T=R.isFocused;if(!this.hasValue()||!m)return D?null:qt.default.createElement(f,ot({},d,{key:"placeholder",isDisabled:y,isFocused:T}),C);if(_){var L=I.map(function($,ce){var te=$===A;return qt.default.createElement(i,ot({},d,{components:{Container:l,Label:u,Remove:c},isFocused:te,isDisabled:y,key:"".concat(a.getOptionValue($)).concat(ce),index:ce,removeProps:{onClick:function(){return a.removeValue($)},onTouchEnd:function(){return a.removeValue($)},onMouseDown:function(ee){ee.preventDefault(),ee.stopPropagation()}},data:$}),a.formatOptionLabel($,"value"))});return L}if(D)return null;var W=I[0];return qt.default.createElement(s,ot({},d,{data:W,isDisabled:y}),this.formatOptionLabel(W,"value"))}},{key:"renderClearIndicator",value:function(){var a=this.components.ClearIndicator,o=this.commonProps,i=this.props,l=i.isDisabled,u=i.isLoading,c=this.state.isFocused;if(!this.isClearable()||!a||l||!this.hasValue()||u)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return qt.default.createElement(a,ot({},o,{innerProps:s,isFocused:c}))}},{key:"renderLoadingIndicator",value:function(){var a=this.components.LoadingIndicator,o=this.commonProps,i=this.props,l=i.isDisabled,u=i.isLoading,c=this.state.isFocused;if(!a||!u)return null;var s={"aria-hidden":"true"};return qt.default.createElement(a,ot({},o,{innerProps:s,isDisabled:l,isFocused:c}))}},{key:"renderIndicatorSeparator",value:function(){var a=this.components,o=a.DropdownIndicator,i=a.IndicatorSeparator;if(!o||!i)return null;var l=this.commonProps,u=this.props.isDisabled,c=this.state.isFocused;return qt.default.createElement(i,ot({},l,{isDisabled:u,isFocused:c}))}},{key:"renderDropdownIndicator",value:function(){var a=this.components.DropdownIndicator;if(!a)return null;var o=this.commonProps,i=this.props.isDisabled,l=this.state.isFocused,u={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return qt.default.createElement(a,ot({},o,{innerProps:u,isDisabled:i,isFocused:l}))}},{key:"renderMenu",value:function(){var a=this,o=this.components,i=o.Group,l=o.GroupHeading,u=o.Menu,c=o.MenuList,s=o.MenuPortal,f=o.LoadingMessage,d=o.NoOptionsMessage,p=o.Option,m=this.commonProps,y=this.state,_=y.focusedOption,D=y.menuOptions,C=this.props,R=C.captureMenuScroll,I=C.inputValue,A=C.isLoading,T=C.loadingMessage,L=C.minMenuHeight,W=C.maxMenuHeight,$=C.menuIsOpen,ce=C.menuPlacement,te=C.menuPosition,le=C.menuPortalTarget,ee=C.menuShouldBlockScroll,re=C.menuShouldScrollIntoView,de=C.noOptionsMessage,q=C.onMenuScrollToTop,Q=C.onMenuScrollToBottom;if(!$)return null;var pe=function(Y){var j=_===Y.data;return Y.innerRef=j?a.getFocusedOptionRef:void 0,qt.default.createElement(p,ot({},m,Y,{isFocused:j}),a.formatOptionLabel(Y.data,"menu"))},Je;if(this.hasOptions())Je=D.render.map(function(V){if(V.type==="group"){var Y=V.type,j=ya(V,["type"]),J="".concat(V.key,"-heading");return qt.default.createElement(i,ot({},m,j,{Heading:l,headingProps:{id:J,data:V.data},label:a.formatGroupLabel(V.data)}),V.options.map(function(U){return pe(U)}))}else if(V.type==="option")return pe(V)});else if(A){var qe=T({inputValue:I});if(qe===null)return null;Je=qt.default.createElement(f,m,qe)}else{var N=de({inputValue:I});if(N===null)return null;Je=qt.default.createElement(d,m,N)}var F={minMenuHeight:L,maxMenuHeight:W,menuPlacement:ce,menuPosition:te,menuShouldScrollIntoView:re},H=qt.default.createElement(f6,ot({},m,F),function(V){var Y=V.ref,j=V.placerProps,J=j.placement,U=j.maxHeight;return qt.default.createElement(u,ot({},m,F,{innerRef:Y,innerProps:{onMouseDown:a.onMenuMouseDown,onMouseMove:a.onMenuMouseMove},isLoading:A,placement:J}),qt.default.createElement(v4e,{isEnabled:R,onTopArrive:q,onBottomArrive:Q},qt.default.createElement(f4e,{isEnabled:ee},qt.default.createElement(c,ot({},m,{innerRef:a.getMenuListRef,isLoading:A,maxHeight:U}),Je))))});return le||te==="fixed"?qt.default.createElement(s,ot({},m,{appendTo:le,controlElement:this.controlRef,menuPlacement:ce,menuPosition:te}),H):H}},{key:"renderFormField",value:function(){var a=this,o=this.props,i=o.delimiter,l=o.isDisabled,u=o.isMulti,c=o.name,s=this.state.selectValue;if(!(!c||l))if(u)if(i){var f=s.map(function(m){return a.getOptionValue(m)}).join(i);return qt.default.createElement("input",{name:c,type:"hidden",value:f})}else{var d=s.length>0?s.map(function(m,y){return qt.default.createElement("input",{key:"i-".concat(y),name:c,type:"hidden",value:a.getOptionValue(m)})}):qt.default.createElement("input",{name:c,type:"hidden"});return qt.default.createElement("div",null,d)}else{var p=s[0]?this.getOptionValue(s[0]):"";return qt.default.createElement("input",{name:c,type:"hidden",value:p})}}},{key:"renderLiveRegion",value:function(){return this.state.isFocused?qt.default.createElement(n4e,{"aria-live":"polite"},qt.default.createElement("span",{id:"aria-selection-event"},"\xA0",this.state.ariaLiveSelection),qt.default.createElement("span",{id:"aria-context"},"\xA0",this.constructAriaLiveMessage())):null}},{key:"render",value:function(){var a=this.components,o=a.Control,i=a.IndicatorsContainer,l=a.SelectContainer,u=a.ValueContainer,c=this.props,s=c.className,f=c.id,d=c.isDisabled,p=c.menuIsOpen,m=this.state.isFocused,y=this.commonProps=this.getCommonProps();return qt.default.createElement(l,ot({},y,{className:s,innerProps:{id:f,onKeyDown:this.onKeyDown},isDisabled:d,isFocused:m}),this.renderLiveRegion(),qt.default.createElement(o,ot({},y,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:d,isFocused:m,menuIsOpen:p}),qt.default.createElement(u,ot({},y,{isDisabled:d}),this.renderPlaceholderOrValue(),this.renderInput()),qt.default.createElement(i,ot({},y,{isDisabled:d}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}]),n}(qt.Component);y6.defaultProps=A4e;var Cmn=Xt(rl());var Tmn=Xt(zd());var D2=Xt(Ga());function j4e(e){var t=P4e();return function(){var r=sr(e),a;if(t){var o=sr(this).constructor;a=Reflect.construct(r,arguments,o)}else a=r.apply(this,arguments);return oi(this,a)}}function P4e(){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 N4e={defaultInputValue:"",defaultMenuIsOpen:!1,defaultValue:null},Lz=function(t){var n,r;return r=n=function(a){ca(i,a);var o=j4e(i);function i(){var l;ua(this,i);for(var u=arguments.length,c=new Array(u),s=0;s1?s-1:0),d=1;dn=>{var l;let r=(u,c)=>Object.assign({},u,c),a=u=>c=>r(c,u),o=!yTe&&typeof document!="undefined",i=(l=n.hideDropdownIndicator)!=null?l:!1;return _t.createElement(e,Lr(an({},n),{isMulti:t,components:r({MenuList:dTe},i?{DropdownIndicator:null}:{}),menuPortalTarget:n.useMenuPortal&&o?document.body:void 0,options:vq(n.options),value:vq(n.value),getOptionLabel:$6(n.getOptionLabel,u=>u.label),getOptionValue:$6(n.getOptionValue,u=>u.value),formatOptionLabel:$6(n.formatOptionLabel),loadOptions:n.loadOptions&&((...u)=>n.loadOptions(...u).then(wv)),onChange:(u,{action:c})=>{switch(c){case"select-option":u.__isNew__?n.onCreate&&n.onCreate(u.label):n.onSelect&&n.onSelect(wv(u));break;case"clear":n.onClear&&n.onClear();break;case"remove-value":n.onSelect&&n.onSelect(wv(u||[]));break;case"create-option":n.onCreate&&n.onCreate(u instanceof Array?u[u.length-1].label:u.label);break}},isOptionDisabled:n.isOptionDisabled&&(u=>!u.__isNew__&&n.isOptionDisabled(wv(u))),styles:{indicatorsContainer:a(n.indicatorsContainerStyle),control:a(n.controlStyle),menuList:a(n.menuListStyle),placeholder:a({color:"#B1C2D9"}),menu:a(r({zIndex:1e3},n.menuStyle)),menuPortal:a({zIndex:1e4}),option:(u,c)=>r(u,c.isFocused?n.focusedOptionStyle:{})}}))},dTe=e=>{let t=Array.isArray(e.children)?e.children:[e.children],n=[];return e.selectProps.footerOption&&e.selectProps.options&&(n=[_t.createElement("hr",{className:"py-0 my-0"}),e.selectProps.footerOption({inputValue:e.selectProps.inputValue,options:wv(e.selectProps.options)})]),_t.createElement("div",{className:"overflow-y-auto overflow-x-hidden",style:Object.assign({},{maxHeight:e.selectProps.maxMenuHeight},e.selectProps.menuListStyle)},_t.createElement(pq.default,{length:t.length,itemRenderer:(r,a)=>_t.createElement("div",{key:a},t[r])}),...n)};b2.displayName="ReactSelect";j2.default.displayName="ReactSelectCreatable";P2.default.displayName="ReactSelectAsync";z6.default.displayName="ReactSelectAsyncCreatable";var mq=ep({baseClass:b2,isMulti:!1}),pTe=ep({baseClass:j2.default,isMulti:!1}),mTe=ep({baseClass:j2.default,isMulti:!0}),vTe=ep({baseClass:b2,isMulti:!0}),hTe=ep({baseClass:P2.default,isMulti:!1}),_Te=ep({baseClass:z6.default,isMulti:!1}),gTe=ep({baseClass:P2.default,isMulti:!0}),yTe=0;var vq=e=>e instanceof Array?typeof e[0]=="object"?e:e.map(t=>({__wrap:t})):typeof e=="undefined"||typeof e=="object"?e:{__wrap:e},wv=e=>{let t=n=>n&&typeof n=="object"&&"__wrap"in n;return e instanceof Array?t(e[0])?e.map(n=>n.__wrap):e:t(e)?e.__wrap:e},$6=(e,t)=>e&&(n=>n.__isNew__?t(n):e(wv(n)));var N2=yi(),DTe=$u(qa()(Ne({reflectSymbol:function(){return"inputValue"}})(ct)(Yn)));var bTe=X(Ve);var wTe=Gu(),CTe=ga();var xTe=function(e){return e};var TTe=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),u1=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}();var ETe=function(e){return function(t){if(e instanceof TTe){var n={};for(var r in t)({}).hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n["aria-label"]=vD(e.value0),n}if(e instanceof u1){var a={};for(var o in t)({}).hasOwnProperty.call(t,o)&&(a[o]=t[o]);return a["aria-labelledby"]=vD(e.value0),a}throw new Error("Failed pattern match at Component.ReactSelect (line 213, column 3 - line 215, column 66): "+[e.constructor.name])}},hq=function(e){return N2(function(t){return fu(DTe(t))(e)})};var _q=function(e){return function(t){return tu(e({inputValue:yt(t.inputValue),options:t.options}))}};var RTe=function(e){var t={};for(var n in e)({}).hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.value=EN(function(r){return tu(bTe(xTe)(r))})(e.value),t},STe=N2;var FTe=N2;var MTe=N2;var O2=function(e){return function(){var t=wTe(mq),n=ETe(e);return function(r){return t(STe(RTe(FTe(n(MTe(CTe(r)))))))}}};jt();function gq(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),n.push.apply(n,r)}return n}function Ct(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:1;bq+=1;var n=bq;function r(a){if(a===0)wq(n),e();else{var o=yq(function(){r(a-1)});G6.set(n,o)}}return r(t),n}ci.cancel=function(e){var t=G6.get(e);return wq(t),Dq(t)};function tp(e,t){return e?e.contains(t):!1}function l1(e){return e instanceof HTMLElement?e:Bo.findDOMNode(e)}var Rq=Xt(Eq());jt();function Y6(e,t){typeof e=="function"?e(t):Bn(e)==="object"&&e&&"current"in e&&(e.current=t)}function J2(){for(var e=arguments.length,t=new Array(e),n=0;n1&&arguments[1]!==void 0?arguments[1]:2;t();var o=ci(function(){a<=1?r({isCanceled:function(){return o!==e.current}}):n(r,a-1)});e.current=o}return Pn(function(){return function(){t()}},[]),[n,t]};jt();var HTe=pl()?Q0:Pn,ew=HTe;var Uq=[Oi,xc,ef,K2],t5=!1,Hq=!0;function tw(e){return e===ef||e===K2}var Bq=function(e,t){var n=Tc(e5),r=yn(n,2),a=r[0],o=r[1],i=kq(),l=yn(i,2),u=l[0],c=l[1];function s(){o(Oi,!0)}return ew(function(){if(a!==e5&&a!==K2){var f=Uq.indexOf(a),d=Uq[f+1],p=t(a);p===t5?o(d,!0):u(function(m){function y(){m.isCanceled()||o(d,!0)}p===!0?y():Promise.resolve(p).then(y)})}},[e,a]),Pn(function(){return function(){c()}},[]),[s,a]};jt();jt();var Wq=function(e){var t=tn(),n=tn(e);n.current=e;var r=Z0(function(i){n.current(i)},[]);function a(i){i&&(i.removeEventListener(Q6,r),i.removeEventListener(Z6,r))}function o(i){t.current&&t.current!==i&&a(t.current),i&&i!==t.current&&(i.addEventListener(Q6,r),i.addEventListener(Z6,r),t.current=i)}return Pn(function(){return function(){a(t.current)}},[]),[o,a]};function n5(e,t,n,r){var a=r.motionEnter,o=a===void 0?!0:a,i=r.motionAppear,l=i===void 0?!0:i,u=r.motionLeave,c=u===void 0?!0:u,s=r.motionDeadline,f=r.motionLeaveImmediately,d=r.onAppearPrepare,p=r.onEnterPrepare,m=r.onLeavePrepare,y=r.onAppearStart,_=r.onEnterStart,D=r.onLeaveStart,C=r.onAppearActive,R=r.onEnterActive,I=r.onLeaveActive,A=r.onAppearEnd,T=r.onEnterEnd,L=r.onLeaveEnd,W=r.onVisibleChanged,$=Tc(),ce=yn($,2),te=ce[0],le=ce[1],ee=Tc(Ks),re=yn(ee,2),de=re[0],q=re[1],Q=Tc(null),pe=yn(Q,2),Je=pe[0],qe=pe[1],N=tn(!1),F=tn(null);function H(){return n()}var V=tn(!1);function Y(Se){var Qe=H();if(!(Se&&!Se.deadline&&Se.target!==Qe)){var lt=V.current,je;de===c1&<?je=A==null?void 0:A(Qe,Se):de===s1&<?je=T==null?void 0:T(Qe,Se):de===f1&<&&(je=L==null?void 0:L(Qe,Se)),de!==Ks&<&&je!==!1&&(q(Ks,!0),qe(null,!0))}}var j=Wq(Y),J=yn(j,1),U=J[0],ie=K0(function(){var Se,Qe,lt;switch(de){case c1:return Se={},mn(Se,Oi,d),mn(Se,xc,y),mn(Se,ef,C),Se;case s1:return Qe={},mn(Qe,Oi,p),mn(Qe,xc,_),mn(Qe,ef,R),Qe;case f1:return lt={},mn(lt,Oi,m),mn(lt,xc,D),mn(lt,ef,I),lt;default:return{}}},[de]),oe=Bq(de,function(Se){if(Se===Oi){var Qe=ie[Oi];return Qe?Qe(H()):t5}if(ue in ie){var lt;qe(((lt=ie[ue])===null||lt===void 0?void 0:lt.call(ie,H(),null))||null)}return ue===ef&&(U(H()),s>0&&(clearTimeout(F.current),F.current=setTimeout(function(){Y({deadline:!0})},s))),Hq}),me=yn(oe,2),ge=me[0],ue=me[1],Ie=tw(ue);V.current=Ie,ew(function(){le(t);var Se=N.current;if(N.current=!0,!!e){var Qe;!Se&&t&&l&&(Qe=c1),Se&&t&&o&&(Qe=s1),(Se&&!t&&c||!Se&&f&&!t&&c)&&(Qe=f1),Qe&&(q(Qe),ge())}},[t]),Pn(function(){(de===c1&&!l||de===s1&&!o||de===f1&&!c)&&q(Ks)},[l,o,c]),Pn(function(){return function(){N.current=!1,clearTimeout(F.current)}},[]);var Te=tn(!1);Pn(function(){te&&(Te.current=!0),te!==void 0&&de===Ks&&((Te.current||te)&&(W==null||W(te)),Te.current=!0)},[te,de]);var Ze=Je;return ie[Oi]&&ue===xc&&(Ze=Ct({transition:"none"},Ze)),[de,ue,Ze,te!=null?te:t]}jt();var BTe=function(e){ca(n,e);var t=Cv(n);function n(){return ua(this,n),t.apply(this,arguments)}return la(n,[{key:"render",value:function(){return this.props.children}}]),n}(rd),zq=BTe;function WTe(e){var t=e;Bn(e)==="object"&&(t=e.transitionSupport);function n(a){return!!(a.motionName&&t)}var r=Ho(function(a,o){var i=a.visible,l=i===void 0?!0:i,u=a.removeOnLeave,c=u===void 0?!0:u,s=a.forceRender,f=a.children,d=a.motionName,p=a.leavedClassName,m=a.eventProps,y=n(a),_=tn(),D=tn();function C(){try{return _.current instanceof HTMLElement?_.current:l1(D.current)}catch{return null}}var R=n5(y,l,C,a),I=yn(R,4),A=I[0],T=I[1],L=I[2],W=I[3],$=tn(W);W&&($.current=!0);var ce=Z0(function(Q){_.current=Q,Y6(o,Q)},[o]),te,le=Ct(Ct({},m),{},{visible:l});if(!f)te=null;else if(A===Ks||!n(a))W?te=f(Ct({},le),ce):!c&&$.current?te=f(Ct(Ct({},le),{},{className:p}),ce):s?te=f(Ct(Ct({},le),{},{style:{display:"none"}}),ce):te=null;else{var ee,re;T===Oi?re="prepare":tw(T)?re="active":T===xc&&(re="start"),te=f(Ct(Ct({},le),{},{className:(0,$q.default)(K6(d,A),(ee={},mn(ee,K6(d,"".concat(A,"-").concat(re)),re),mn(ee,d,typeof d=="string"),ee)),style:L}),ce)}if(_3(te)&&X2(te)){var de=te,q=de.ref;q||(te=Y0(te,{ref:ce}))}return un(zq,{ref:D},te)});return r.displayName="CSSMotion",r}var nw=WTe(Q2);jt();var rw="add",aw="keep",ow="remove",iw="removed";function zTe(e){var t;return e&&Bn(e)==="object"&&"key"in e?t=e:t={key:e},Ct(Ct({},t),{},{key:String(t.key)})}function uw(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(zTe)}function qq(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],n=[],r=0,a=t.length,o=uw(e),i=uw(t);o.forEach(function(c){for(var s=!1,f=r;f1});return u.forEach(function(c){n=n.filter(function(s){var f=s.key,d=s.status;return f!==c||d!==ow}),n.forEach(function(s){s.key===c&&(s.status=aw)})}),n}var $Te=["component","children","onVisibleChanged","onAllRemoved"],qTe=["status"],GTe=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function VTe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:nw,n=function(r){ca(o,r);var a=Cv(o);function o(){var i;ua(this,o);for(var l=arguments.length,u=new Array(l),c=0;c=0&&n.left>=0&&n.bottom>n.top&&n.right>n.left?n:null}function _Ee(e,t,n,r){var a=Ot.clone(e),o={width:t.width,height:t.height};return r.adjustX&&a.left=n.left&&a.left+o.width>n.right&&(o.width-=a.left+o.width-n.right),r.adjustX&&a.left+o.width>n.right&&(a.left=Math.max(n.right-o.width,n.left)),r.adjustY&&a.top=n.top&&a.top+o.height>n.bottom&&(o.height-=a.top+o.height-n.bottom),r.adjustY&&a.top+o.height>n.bottom&&(a.top=Math.max(n.bottom-o.height,n.top)),Ot.mix(a,o)}function m5(e){var t,n,r;if(!Ot.isWindow(e)&&e.nodeType!==9)t=Ot.offset(e),n=Ot.outerWidth(e),r=Ot.outerHeight(e);else{var a=Ot.getWindow(e);t={left:Ot.getWindowScrollLeft(a),top:Ot.getWindowScrollTop(a)},n=Ot.viewportWidth(a),r=Ot.viewportHeight(a)}return t.width=n,t.height=r,t}function sG(e,t){var n=t.charAt(0),r=t.charAt(1),a=e.width,o=e.height,i=e.left,l=e.top;return n==="c"?l+=o/2:n==="b"&&(l+=o),r==="c"?i+=a/2:r==="r"&&(i+=a),{left:i,top:l}}function pw(e,t,n,r,a){var o=sG(t,n[1]),i=sG(e,n[0]),l=[i.left-o.left,i.top-o.top];return{left:Math.round(e.left-l[0]+r[0]-a[0]),top:Math.round(e.top-l[1]+r[1]-a[1])}}function fG(e,t,n){return e.leftn.right}function dG(e,t,n){return e.topn.bottom}function gEe(e,t,n){return e.left>n.right||e.left+t.widthn.bottom||e.top+t.height=n.right||r.top>=n.bottom}function hw(e,t,n){var r=n.target||t,a=m5(r),o=!DEe(r,n.overflow&&n.overflow.alwaysByViewport);return vG(e,a,n,o)}hw.__getOffsetParent=d5;hw.__getVisibleRectForElement=p5;function hG(e,t,n){var r,a,o=Ot.getDocument(e),i=o.defaultView||o.parentWindow,l=Ot.getWindowScrollLeft(i),u=Ot.getWindowScrollTop(i),c=Ot.viewportWidth(i),s=Ot.viewportHeight(i);"pageX"in t?r=t.pageX:r=l+t.clientX,"pageY"in t?a=t.pageY:a=u+t.clientY;var f={left:r,top:a,width:0,height:0},d=r>=0&&r<=l+c&&a>=0&&a<=u+s,p=[n.points[0],"cc"];return vG(e,f,Xq(Xq({},n),{},{points:p}),d)}var tY=Xt($X());var qX=function(){if(typeof Map!="undefined")return Map;function e(t,n){var r=-1;return t.some(function(a,o){return a[0]===n?(r=o,!0):!1}),r}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(n){var r=e(this.__entries__,n),a=this.__entries__[r];return a&&a[1]},t.prototype.set=function(n,r){var a=e(this.__entries__,n);~a?this.__entries__[a][1]=r:this.__entries__.push([n,r])},t.prototype.delete=function(n){var r=this.__entries__,a=e(r,n);~a&&r.splice(a,1)},t.prototype.has=function(n){return!!~e(this.__entries__,n)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(n,r){r===void 0&&(r=null);for(var a=0,o=this.__entries__;a0},e.prototype.connect_=function(){!j5||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),VSe?(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(){!j5||!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(t){var n=t.propertyName,r=n===void 0?"":n,a=GSe.some(function(o){return!!~r.indexOf(o)});a&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),GX=function(e,t){for(var n=0,r=Object.keys(t);n0},e}(),XX=typeof WeakMap!="undefined"?new WeakMap:new qX,YX=function(){function e(t){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 n=JSe.getInstance(),r=new a8e(t,n,this);XX.set(this,r)}return e}();["observe","unobserve","disconnect"].forEach(function(e){YX.prototype[e]=function(){var t;return(t=XX.get(this))[e].apply(t,arguments)}});var o8e=function(){return typeof ww.ResizeObserver!="undefined"?ww.ResizeObserver:YX}(),ZX=o8e;function QX(e,t){return e===t?!0:!e||!t?!1:"pageX"in t&&"pageY"in t?e.pageX===t.pageX&&e.pageY===t.pageY:"clientX"in t&&"clientY"in t?e.clientX===t.clientX&&e.clientY===t.clientY:!1}function KX(e,t){e!==document.activeElement&&tp(t,e)&&typeof e.focus=="function"&&e.focus()}function P5(e,t){var n=null,r=null;function a(i){var l=yn(i,1),u=l[0].target;if(!!document.documentElement.contains(u)){var c=u.getBoundingClientRect(),s=c.width,f=c.height,d=Math.floor(s),p=Math.floor(f);(n!==d||r!==p)&&Promise.resolve().then(function(){t({width:d,height:p})}),n=d,r=p}}var o=new ZX(a);return e&&o.observe(e),function(){o.disconnect()}}jt();var eY=function(e,t){var n=_t.useRef(!1),r=_t.useRef(null);function a(){window.clearTimeout(r.current)}function o(i){if(a(),!n.current||i===!0){if(e()===!1)return;n.current=!0,r.current=window.setTimeout(function(){n.current=!1},t)}else r.current=window.setTimeout(function(){n.current=!1,o()},t)}return[o,function(){n.current=!1,a()}]};function nY(e){return typeof e!="function"?null:e()}function rY(e){return Bn(e)!=="object"||!e?null:e}var i8e=function(t,n){var r=t.children,a=t.disabled,o=t.target,i=t.align,l=t.onAlign,u=t.monitorWindowResize,c=t.monitorBufferTime,s=c===void 0?0:c,f=_t.useRef({}),d=_t.useRef(),p=_t.Children.only(r),m=_t.useRef({});m.current.disabled=a,m.current.target=o,m.current.align=i,m.current.onAlign=l;var y=eY(function(){var T=m.current,L=T.disabled,W=T.target,$=T.align,ce=T.onAlign;if(!L&&W){var te=d.current,le,ee=nY(W),re=rY(W);f.current.element=ee,f.current.point=re,f.current.align=$;var de=document,q=de.activeElement;return ee&&Vq(ee)?le=hw(te,ee,$):re&&(le=hG(te,re,$)),KX(q,te),ce&&le&&ce(te,le),!0}return!1},s),_=yn(y,2),D=_[0],C=_[1],R=_t.useRef({cancel:function(){}}),I=_t.useRef({cancel:function(){}});_t.useEffect(function(){var T=nY(o),L=rY(o);d.current!==I.current.element&&(I.current.cancel(),I.current.element=d.current,I.current.cancel=P5(d.current,D)),(f.current.element!==T||!QX(f.current.point,L)||!(0,tY.default)(f.current.align,i))&&(D(),R.current.element!==T&&(R.current.cancel(),R.current.element=T,R.current.cancel=P5(T,D)))}),_t.useEffect(function(){a?C():D()},[a]);var A=_t.useRef(null);return _t.useEffect(function(){u?A.current||(A.current=Qs(window,"resize",D)):A.current&&(A.current.remove(),A.current=null)},[u]),_t.useEffect(function(){return function(){R.current.cancel(),I.current.cancel(),A.current&&A.current.remove(),C()}},[]),_t.useImperativeHandle(n,function(){return{forceAlign:function(){return D(!0)}}}),_t.isValidElement(p)&&(p=_t.cloneElement(p,{ref:J2(p.ref,d)})),p},aY=_t.forwardRef(i8e);aY.displayName="Align";var oY=aY;var iY=oY;jt();var u8e=pl()?Q0:Pn,N5=u8e;var mY=Xt(np());function Tw(e,t){this.v=e,this.k=t}function da(e,t,n,r){var a=Object.defineProperty;try{a({},"",{})}catch{a=0}da=function(i,l,u,c){function s(f,d){da(i,f,function(p){return this._invoke(f,d,p)})}l?a?a(i,l,{value:u,enumerable:!c,configurable:!c,writable:!c}):i[l]=u:(s("next",0),s("throw",1),s("return",2))},da(e,t,n,r)}function E1(){var e,t,n=typeof Symbol=="function"?Symbol:{},r=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function o(p,m,y,_){var D=m&&m.prototype instanceof l?m:l,C=Object.create(D.prototype);return da(C,"_invoke",function(R,I,A){var T,L,W,$=0,ce=A||[],te=!1,le={p:0,n:0,v:e,a:ee,f:ee.bind(e,4),d:function(de,q){return T=de,L=0,W=e,le.n=q,i}};function ee(re,de){for(L=re,W=de,t=0;!te&&$&&!q&&t3?(q=Je===de)&&(W=Q[(L=Q[4])?5:(L=3,3)],Q[4]=Q[5]=e):Q[0]<=pe&&((q=re<2&&pede||de>Je)&&(Q[4]=re,Q[5]=de,le.n=Je,L=0))}if(q||re>1)return i;throw te=!0,de}return function(re,de,q){if($>1)throw TypeError("Generator is already running");for(te&&de===1&&ee(de,q),L=de,W=q;(t=L<2?e:W)||!te;){T||(L?L<3?(L>1&&(le.n=-1),ee(L,W)):le.n=W:le.v=W);try{if($=2,T){if(L||(re="next"),t=T[re]){if(!(t=t.call(T,W)))throw TypeError("iterator result is not an object");if(!t.done)return t;W=t.value,L<2&&(L=0)}else L===1&&(t=T.return)&&t.call(T),L<2&&(W=TypeError("The iterator does not provide a '"+re+"' method"),L=1);T=e}else if((t=(te=le.n<0)?W:R.call(I,le))!==i)break}catch(Q){T=e,L=1,W=Q}finally{$=1}}return{value:t,done:te}}}(p,y,_),!0),C}var i={};function l(){}function u(){}function c(){}t=Object.getPrototypeOf;var s=[][r]?t(t([][r]())):(da(t={},r,function(){return this}),t),f=c.prototype=l.prototype=Object.create(s);function d(p){return Object.setPrototypeOf?Object.setPrototypeOf(p,c):(p.__proto__=c,da(p,a,"GeneratorFunction")),p.prototype=Object.create(f),p}return u.prototype=c,da(f,"constructor",c),da(c,"constructor",u),u.displayName="GeneratorFunction",da(c,a,"GeneratorFunction"),da(f),da(f,a,"Generator"),da(f,r,function(){return this}),da(f,"toString",function(){return"[object Generator]"}),(E1=function(){return{w:o,m:d}})()}function jv(e,t){function n(a,o,i,l){try{var u=e[a](o),c=u.value;return c instanceof Tw?t.resolve(c.v).then(function(s){n("next",s,i,l)},function(s){n("throw",s,i,l)}):t.resolve(c).then(function(s){u.value=s,i(u)},function(s){return n("throw",s,i,l)})}catch(s){l(s)}}var r;this.next||(da(jv.prototype),da(jv.prototype,typeof Symbol=="function"&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),da(this,"_invoke",function(a,o,i){function l(){return new t(function(u,c){n(a,i,u,c)})}return r=r?r.then(l,l):l()},!0)}function Ew(e,t,n,r,a){return new jv(E1().w(e,t,n,r),a||Promise)}function uY(e,t,n,r,a){var o=Ew(e,t,n,r,a);return o.next().then(function(i){return i.done?i.value:o.next()})}function lY(e){var t=Object(e),n=[];for(var r in t)n.unshift(r);return function a(){for(;n.length;)if((r=n.pop())in t)return a.value=r,a.done=!1,a;return a.done=!0,a}}function O5(e){if(e!=null){var t=e[typeof Symbol=="function"&&Symbol.iterator||"@@iterator"],n=0;if(t)return t.call(e);if(typeof e.next=="function")return e;if(!isNaN(e.length))return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw new TypeError(Bn(e)+" is not iterable")}function R1(){"use strict";var e=E1(),t=e.m(R1),n=(Object.getPrototypeOf?Object.getPrototypeOf(t):t.__proto__).constructor;function r(i){var l=typeof i=="function"&&i.constructor;return!!l&&(l===n||(l.displayName||l.name)==="GeneratorFunction")}var a={throw:1,return:2,break:3,continue:3};function o(i){var l,u;return function(c){l||(l={stop:function(){return u(c.a,2)},catch:function(){return c.v},abrupt:function(f,d){return u(c.a,a[f],d)},delegateYield:function(f,d,p){return l.resultName=d,u(c.d,O5(f),p)},finish:function(f){return u(c.f,f)}},u=function(f,d,p){c.p=l.prev,c.n=l.next;try{return f(d,p)}finally{l.next=c.n}}),l.resultName&&(l[l.resultName]=c.v,l.resultName=void 0),l.sent=c.v,l.next=c.n;try{return i.call(this,l)}finally{c.p=l.prev,c.n=l.next}}}return(R1=function(){return{wrap:function(u,c,s,f){return e.w(o(u),c,s,f&&f.reverse())},isGeneratorFunction:r,mark:e.m,awrap:function(u,c){return new Tw(u,c)},AsyncIterator:jv,async:function(u,c,s,f,d){return(r(c)?Ew:uY)(o(u),c,s,f,d)},keys:lY,values:O5}})()}function cY(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(c){return void n(c)}l.done?t(u):Promise.resolve(u).then(r,a)}function sY(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(u){cY(o,r,a,i,l,"next",u)}function l(u){cY(o,r,a,i,l,"throw",u)}i(void 0)})}}jt();var fY=["measure","alignPre","align",null,"motion"],dY=function(e,t){var n=Tc(null),r=yn(n,2),a=r[0],o=r[1],i=tn();function l(s){o(s,!0)}function u(){ci.cancel(i.current)}function c(s){u(),i.current=ci(function(){l(function(f){switch(a){case"align":return"motion";case"motion":return"stable";default:}return f}),s==null||s()})}return Pn(function(){l("measure")},[e]),Pn(function(){switch(a){case"measure":t();break;default:}a&&(i.current=ci(sY(R1().mark(function s(){var f,d;return R1().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:f=fY.indexOf(a),d=fY[f+1],d&&f!==-1&&l(d);case 3:case"end":return m.stop()}},s)}))))},[a]),Pn(function(){return function(){u()}},[]),[a,c]};jt();var pY=function(e){var t=uu({width:0,height:0}),n=yn(t,2),r=n[0],a=n[1];function o(l){a({width:l.offsetWidth,height:l.offsetHeight})}var i=K0(function(){var l={};if(e){var u=r.width,c=r.height;e.indexOf("height")!==-1&&c?l.height=c:e.indexOf("minHeight")!==-1&&c&&(l.minHeight=c),e.indexOf("width")!==-1&&u?l.width=u:e.indexOf("minWidth")!==-1&&u&&(l.minWidth=u)}return l},[e,r]);return[i,o]};var vY=Ho(function(e,t){var n=e.visible,r=e.prefixCls,a=e.className,o=e.style,i=e.children,l=e.zIndex,u=e.stretch,c=e.destroyPopupOnHide,s=e.forceRender,f=e.align,d=e.point,p=e.getRootDomNode,m=e.getClassNameFromAlign,y=e.onAlign,_=e.onMouseEnter,D=e.onMouseLeave,C=e.onMouseDown,R=e.onTouchStart,I=e.onClick,A=tn(),T=tn(),L=uu(),W=yn(L,2),$=W[0],ce=W[1],te=pY(u),le=yn(te,2),ee=le[0],re=le[1];function de(){u&&re(p())}var q=dY(n,de),Q=yn(q,2),pe=Q[0],Je=Q[1],qe=uu(0),N=yn(qe,2),F=N[0],H=N[1],V=tn();N5(function(){pe==="alignPre"&&H(0)},[pe]);function Y(){return d||p}function j(){var ue;(ue=A.current)===null||ue===void 0||ue.forceAlign()}function J(ue,Ie){var Te=m(Ie);$!==Te&&ce(Te),H(function(Ze){return Ze+1}),pe==="align"&&(y==null||y(ue,Ie))}N5(function(){pe==="align"&&(F<2?j():Je(function(){var ue;(ue=V.current)===null||ue===void 0||ue.call(V)}))},[F]);var U=Ct({},lw(e));["onAppearEnd","onEnterEnd","onLeaveEnd"].forEach(function(ue){var Ie=U[ue];U[ue]=function(Te,Ze){return Je(),Ie==null?void 0:Ie(Te,Ze)}});function ie(){return new Promise(function(ue){V.current=ue})}Pn(function(){!U.motionName&&pe==="motion"&&Je()},[U.motionName,pe]),$l(t,function(){return{forceAlign:j,getElement:function(){return T.current}}});var oe=Ct(Ct({},ee),{},{zIndex:l,opacity:pe==="motion"||pe==="stable"||!n?void 0:0,pointerEvents:!n&&pe!=="stable"?"none":void 0},o),me=!0;(f==null?void 0:f.points)&&(pe==="align"||pe==="stable")&&(me=!1);var ge=i;return nd.count(i)>1&&(ge=un("div",{className:"".concat(r,"-content")},i)),un(xv,ot({visible:n,ref:T,leavedClassName:"".concat(r,"-hidden")},U,{onAppearPrepare:ie,onEnterPrepare:ie,removeOnLeave:c,forceRender:s}),function(ue,Ie){var Te=ue.className,Ze=ue.style,Se=(0,mY.default)(r,a,$,Te);return un(iY,{target:Y(),key:"popup",ref:A,monitorWindowResize:!0,disabled:me,align:f,onAlign:J},un("div",{ref:Ie,className:Se,onMouseEnter:_,onMouseLeave:D,onMouseDownCapture:C,onTouchStartCapture:R,onClick:I,style:Ct(Ct({},Ze),oe)},ge))})});vY.displayName="PopupInner";var hY=vY;jt();var _Y=Xt(np()),gY=Ho(function(e,t){var n=e.prefixCls,r=e.visible,a=e.zIndex,o=e.children,i=e.mobile;i=i===void 0?{}:i;var l=i.popupClassName,u=i.popupStyle,c=i.popupMotion,s=c===void 0?{}:c,f=i.popupRender,d=e.onClick,p=tn();$l(t,function(){return{forceAlign:function(){},getElement:function(){return p.current}}});var m=Ct({zIndex:a},u),y=o;return nd.count(o)>1&&(y=un("div",{className:"".concat(n,"-content")},o)),f&&(y=f(y)),un(xv,ot({visible:r,ref:p,removeOnLeave:!0},s),function(_,D){var C=_.className,R=_.style,I=(0,_Y.default)(n,l,C);return un("div",{ref:D,className:I,onClick:d,style:Ct(Ct({},R),m)},y)})});gY.displayName="MobilePopupInner";var yY=gY;var l8e=["visible","mobile"],DY=Ho(function(e,t){var n=e.visible,r=e.mobile,a=ya(e,l8e),o=uu(n),i=yn(o,2),l=i[0],u=i[1],c=uu(!1),s=yn(c,2),f=s[0],d=s[1],p=Ct(Ct({},a),{},{visible:l});Pn(function(){u(n),n&&r&&d(Iq())},[n,r]);var m=f?un(yY,ot({},p,{mobile:r,ref:t})):un(hY,ot({},p,{ref:t}));return un("div",null,un(r5,p),m)});DY.displayName="Popup";var bY=DY;jt();var c8e=v3(null),k5=c8e;function U5(){}function s8e(){return""}function f8e(e){return e?e.ownerDocument:window.document}var d8e=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];function p8e(e){var t=function(n){ca(a,n);var r=Cv(a);function a(o){var i;ua(this,a),i=r.call(this,o),i.popupRef=Sy(),i.triggerRef=Sy(),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(u){var c=i.props.mouseEnterDelay;i.fireEvents("onMouseEnter",u),i.delaySetPopupVisible(!0,c,c?null:u)},i.onMouseMove=function(u){i.fireEvents("onMouseMove",u),i.setPoint(u)},i.onMouseLeave=function(u){i.fireEvents("onMouseLeave",u),i.delaySetPopupVisible(!1,i.props.mouseLeaveDelay)},i.onPopupMouseEnter=function(){i.clearDelayTimer()},i.onPopupMouseLeave=function(u){var c;u.relatedTarget&&!u.relatedTarget.setTimeout&&tp((c=i.popupRef.current)===null||c===void 0?void 0:c.getElement(),u.relatedTarget)||i.delaySetPopupVisible(!1,i.props.mouseLeaveDelay)},i.onFocus=function(u){i.fireEvents("onFocus",u),i.clearDelayTimer(),i.isFocusToShow()&&(i.focusTime=Date.now(),i.delaySetPopupVisible(!0,i.props.focusDelay))},i.onMouseDown=function(u){i.fireEvents("onMouseDown",u),i.preClickTime=Date.now()},i.onTouchStart=function(u){i.fireEvents("onTouchStart",u),i.preTouchTime=Date.now()},i.onBlur=function(u){i.fireEvents("onBlur",u),i.clearDelayTimer(),i.isBlurToHide()&&i.delaySetPopupVisible(!1,i.props.blurDelay)},i.onContextMenu=function(u){u.preventDefault(),i.fireEvents("onContextMenu",u),i.setPopupVisible(!0,u)},i.onContextMenuClose=function(){i.isContextMenuToShow()&&i.close()},i.onClick=function(u){if(i.fireEvents("onClick",u),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())&&u&&u.preventDefault&&u.preventDefault();var s=!i.state.popupVisible;(i.isClickToHide()&&!s||s&&i.isClickToShow())&&i.setPopupVisible(!i.state.popupVisible,u)},i.onPopupMouseDown=function(){if(i.hasPopupMouseDown=!0,clearTimeout(i.mouseDownTimeout),i.mouseDownTimeout=window.setTimeout(function(){i.hasPopupMouseDown=!1},0),i.context){var u;(u=i.context).onPopupMouseDown.apply(u,arguments)}},i.onDocumentClick=function(u){if(!(i.props.mask&&!i.props.maskClosable)){var c=u.target,s=i.getRootDomNode(),f=i.getPopupDomNode();(!tp(s,c)||i.isContextMenuOnly())&&!tp(f,c)&&!i.hasPopupMouseDown&&i.close()}},i.getRootDomNode=function(){var u=i.props.getTriggerDOMNode;if(u)return u(i.triggerRef.current);try{var c=l1(i.triggerRef.current);if(c)return c}catch{}return Bo.findDOMNode(Ed(i))},i.getPopupClassNameFromAlign=function(u){var c=[],s=i.props,f=s.popupPlacement,d=s.builtinPlacements,p=s.prefixCls,m=s.alignPoint,y=s.getPopupClassNameFromAlign;return f&&d&&c.push(Mq(d,p,u,m)),y&&c.push(y(u)),c.join(" ")},i.getComponent=function(){var u=i.props,c=u.prefixCls,s=u.destroyPopupOnHide,f=u.popupClassName,d=u.onPopupAlign,p=u.popupMotion,m=u.popupAnimation,y=u.popupTransitionName,_=u.popupStyle,D=u.mask,C=u.maskAnimation,R=u.maskTransitionName,I=u.maskMotion,A=u.zIndex,T=u.popup,L=u.stretch,W=u.alignPoint,$=u.mobile,ce=u.forceRender,te=u.onPopupClick,le=i.state,ee=le.popupVisible,re=le.point,de=i.getPopupAlign(),q={};return i.isMouseEnterToShow()&&(q.onMouseEnter=i.onPopupMouseEnter),i.isMouseLeaveToHide()&&(q.onMouseLeave=i.onPopupMouseLeave),q.onMouseDown=i.onPopupMouseDown,q.onTouchStart=i.onPopupMouseDown,un(bY,ot({prefixCls:c,destroyPopupOnHide:s,visible:ee,point:W&&re,className:f,align:de,onAlign:d,animation:m,getClassNameFromAlign:i.getPopupClassNameFromAlign},q,{stretch:L,getRootDomNode:i.getRootDomNode,style:_,mask:D,zIndex:A,transitionName:y,maskAnimation:C,maskTransitionName:R,maskMotion:I,ref:i.popupRef,motion:p,mobile:$,forceRender:ce,onClick:te}),typeof T=="function"?T():T)},i.attachParent=function(u){ci.cancel(i.attachId);var c=i.props,s=c.getPopupContainer,f=c.getDocument,d=i.getRootDomNode(),p;s?(d||s.length===0)&&(p=s(d)):p=f(i.getRootDomNode()).body,p?p.appendChild(u):i.attachId=ci(function(){i.attachParent(u)})},i.getContainer=function(){if(!i.portalContainer){var u=i.props.getDocument,c=u(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(u){var c=i.props.alignPoint;!c||!u||i.setState({point:{pageX:u.pageX,pageY:u.pageY}})},i.handlePortalUpdate=function(){i.state.prevPopupVisible!==i.state.popupVisible&&i.props.afterPopupVisibleChange(i.state.popupVisible)},i.triggerContextValue={onPopupMouseDown:i.onPopupMouseDown};var l;return"popupVisible"in o?l=!!o.popupVisible:l=!!o.defaultPopupVisible,i.state={prevPopupVisible:l,popupVisible:l},d8e.forEach(function(u){i["fire".concat(u)]=function(c){i.fireEvents(u,c)}}),i}return la(a,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var i=this.props,l=this.state;if(l.popupVisible){var u;!this.clickOutsideHandler&&(this.isClickToHide()||this.isContextMenuToShow())&&(u=i.getDocument(this.getRootDomNode()),this.clickOutsideHandler=Qs(u,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(u=u||i.getDocument(this.getRootDomNode()),this.touchOutsideHandler=Qs(u,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(u=u||i.getDocument(this.getRootDomNode()),this.contextMenuOutsideHandler1=Qs(u,"scroll",this.onContextMenuClose)),!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=Qs(window,"blur",this.onContextMenuClose));return}this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),ci.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,l=i.popupPlacement,u=i.popupAlign,c=i.builtinPlacements;return l&&c?Fq(c,l,u):u}},{key:"setPopupVisible",value:function(i,l){var u=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)),u&&l&&i&&this.setPoint(l)}},{key:"delaySetPopupVisible",value:function(i,l,u){var c=this,s=l*1e3;if(this.clearDelayTimer(),s){var f=u?{pageX:u.pageX,pageY:u.pageY}:null;this.delayTimer=window.setTimeout(function(){c.setPopupVisible(i,f),c.clearDelayTimer()},s)}else this.setPopupVisible(i,u)}},{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 l=this.props.children.props,u=this.props;return l[i]&&u[i]?this["fire".concat(i)]:l[i]||u[i]}},{key:"isClickToShow",value:function(){var i=this.props,l=i.action,u=i.showAction;return l.indexOf("click")!==-1||u.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,l=i.action,u=i.showAction;return l.indexOf("contextMenu")!==-1||u.indexOf("contextMenu")!==-1}},{key:"isClickToHide",value:function(){var i=this.props,l=i.action,u=i.hideAction;return l.indexOf("click")!==-1||u.indexOf("click")!==-1}},{key:"isMouseEnterToShow",value:function(){var i=this.props,l=i.action,u=i.showAction;return l.indexOf("hover")!==-1||u.indexOf("mouseEnter")!==-1}},{key:"isMouseLeaveToHide",value:function(){var i=this.props,l=i.action,u=i.hideAction;return l.indexOf("hover")!==-1||u.indexOf("mouseLeave")!==-1}},{key:"isFocusToShow",value:function(){var i=this.props,l=i.action,u=i.showAction;return l.indexOf("focus")!==-1||u.indexOf("focus")!==-1}},{key:"isBlurToHide",value:function(){var i=this.props,l=i.action,u=i.hideAction;return l.indexOf("focus")!==-1||u.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,l){var u=this.props.children.props[i];u&&u(l);var c=this.props[i];c&&c(l)}},{key:"close",value:function(){this.setPopupVisible(!1)}},{key:"render",value:function(){var i=this.state.popupVisible,l=this.props,u=l.children,c=l.forceRender,s=l.alignPoint,f=l.className,d=l.autoDestroy,p=nd.only(u),m={key:"trigger"};this.isContextMenuToShow()?m.onContextMenu=this.onContextMenu:m.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(m.onClick=this.onClick,m.onMouseDown=this.onMouseDown,m.onTouchStart=this.onTouchStart):(m.onClick=this.createTwoChains("onClick"),m.onMouseDown=this.createTwoChains("onMouseDown"),m.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(m.onMouseEnter=this.onMouseEnter,s&&(m.onMouseMove=this.onMouseMove)):m.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?m.onMouseLeave=this.onMouseLeave:m.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(m.onFocus=this.onFocus,m.onBlur=this.onBlur):(m.onFocus=this.createTwoChains("onFocus"),m.onBlur=this.createTwoChains("onBlur"));var y=(0,wY.default)(p&&p.props&&p.props.className,f);y&&(m.className=y);var _=Ct({},m);X2(p)&&(_.ref=J2(this.triggerRef,p.ref));var D=Y0(p,_),C;return(i||this.popupRef.current||c)&&(C=un(e,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!i&&d&&(C=null),un(k5.Provider,{value:this.triggerContextValue},D,C)}}],[{key:"getDerivedStateFromProps",value:function(i,l){var u=i.popupVisible,c={};return u!==void 0&&l.popupVisible!==u&&(c.popupVisible=u,c.prevPopupVisible=l.popupVisible),c}}]),a}(rd);return t.contextType=k5,t.defaultProps={prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:s8e,getDocument:f8e,onPopupVisibleChange:U5,afterPopupVisibleChange:U5,onPopupAlign:U5,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[],autoDestroy:!1},t}var CY=p8e(Sq);var ki={adjustX:1,adjustY:1},Ui=[0,0],xY={left:{points:["cr","cl"],overflow:ki,offset:[-4,0],targetOffset:Ui},right:{points:["cl","cr"],overflow:ki,offset:[4,0],targetOffset:Ui},top:{points:["bc","tc"],overflow:ki,offset:[0,-4],targetOffset:Ui},bottom:{points:["tc","bc"],overflow:ki,offset:[0,4],targetOffset:Ui},topLeft:{points:["bl","tl"],overflow:ki,offset:[0,-4],targetOffset:Ui},leftTop:{points:["tr","tl"],overflow:ki,offset:[-4,0],targetOffset:Ui},topRight:{points:["br","tr"],overflow:ki,offset:[0,-4],targetOffset:Ui},rightTop:{points:["tl","tr"],overflow:ki,offset:[4,0],targetOffset:Ui},bottomRight:{points:["tr","br"],overflow:ki,offset:[0,4],targetOffset:Ui},rightBottom:{points:["bl","br"],overflow:ki,offset:[4,0],targetOffset:Ui},bottomLeft:{points:["tl","bl"],overflow:ki,offset:[0,4],targetOffset:Ui},leftBottom:{points:["br","bl"],overflow:ki,offset:[-4,0],targetOffset:Ui}};jt();var TY=Xt(np());function Rw(e){var t=e.showArrow,n=e.arrowContent,r=e.children,a=e.prefixCls,o=e.id,i=e.overlayInnerStyle,l=e.className,u=e.style;return un("div",{className:(0,TY.default)("".concat(a,"-content"),l),style:u},t!==!1&&un("div",{className:"".concat(a,"-arrow"),key:"arrow"},n),un("div",{className:"".concat(a,"-inner"),id:o,role:"tooltip",style:i},typeof r=="function"?r():r))}var m8e=function(t,n){var r=t.overlayClassName,a=t.trigger,o=a===void 0?["hover"]:a,i=t.mouseEnterDelay,l=i===void 0?0:i,u=t.mouseLeaveDelay,c=u===void 0?.1:u,s=t.overlayStyle,f=t.prefixCls,d=f===void 0?"rc-tooltip":f,p=t.children,m=t.onVisibleChange,y=t.afterVisibleChange,_=t.transitionName,D=t.animation,C=t.motion,R=t.placement,I=R===void 0?"right":R,A=t.align,T=A===void 0?{}:A,L=t.destroyTooltipOnHide,W=L===void 0?!1:L,$=t.defaultVisible,ce=t.getTooltipContainer,te=t.overlayInnerStyle,le=t.arrowContent,ee=t.overlay,re=t.id,de=t.showArrow,q=ya(t,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"]),Q=tn(null);$l(n,function(){return Q.current});var pe=Ct({},q);"visible"in t&&(pe.popupVisible=t.visible);var Je=function(){return un(Rw,{showArrow:de,arrowContent:le,key:"content",prefixCls:d,id:re,overlayInnerStyle:te},ee)},qe=!1,N=!1;if(typeof W=="boolean")qe=W;else if(W&&Bn(W)==="object"){var F=W.keepParent;qe=F===!0,N=F===!1}return un(CY,ot({popupClassName:r,prefixCls:d,popup:Je,action:o,builtinPlacements:xY,popupPlacement:I,ref:Q,popupAlign:T,getPopupContainer:ce,onPopupVisibleChange:m,afterPopupVisibleChange:y,popupTransitionName:_,popupAnimation:D,popupMotion:C,defaultPopupVisible:$,destroyPopupOnHide:qe,autoDestroy:N,mouseLeaveDelay:c,popupStyle:s,mouseEnterDelay:l},pe),p)},EY=Ho(m8e);var RY=EY;var FY=e=>_t.createElement(RY,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(()=>Xt(SY())).then(e=>{let t=e.default,n=document.createElement("style");n.type="text/css",n.appendChild(document.createTextNode(t)),document.head.appendChild(n)})}catch(e){window.Sentry&&window.Sentry.captureException(e)}function MY(e){return function(t){return function(){return t.getItem(e)}}}function tf(e){return function(t){return function(n){return function(){n.setItem(e,t)}}}}var h8e=X(Et);var nf=function(e){var t=h8e(yt),n=MY(e);return function(r){return t(n(r))}};var _8e=ho(),g8e=bs(on)(),y8e=bt(gn),Pv=_n(xr),D8e=function(e){return function(t){return function(n){return _8e(Zn(O.value))(function(r){return g8e(yh(y8e(function(){var o=Pv(nf(t))(Pv(e)(Gr))();if(o instanceof P)return r.value1(new P(o.value0))();if(o instanceof O)return r.value1(new P(n))(),Pv(tf(t)(n))(Pv(e)(Gr))();throw new Error("Failed pattern match at Utils.UseStorage (line 37, column 5 - line 42, column 56): "+[o.constructor.name])})))(function(){return ai(new Be(r.value0,function(a){return function(){return r.value1(new P(a))(),Pv(tf(t)(a))(Pv(e)(Gr))()}}))})})}}};var H5=D8e(cu);var b8e=Wo();var IY="top",Sw=function(e){var t=b8e(e);return function(){return function(){return t(FY)}}};var AY="right";var S1="bottom";var w8e=B0(Dt),C8e=fe(pt),x8e=ae(bn);var LY=function(){function e(t,n,r){this.value0=t,this.value1=n,this.value2=r}return e.create=function(t){return function(n){return function(r){return new e(t,n,r)}}},e}();var jY=function(e){if(e.value2 instanceof en)return new P(new LY(new en(e.value1,e.value0),e.value2.value0,e.value2.value1));if(e.value2 instanceof ur)return O.value;throw new Error("Failed pattern match at Utils.Zipper (line 90, column 28 - line 92, column 17): "+[e.value2.constructor.name])};var PY=function(e){return e.value2 instanceof ur};var T8e=function(e){return function(t){return new LY(ur.value,e,w8e(t))}};var NY=function(e){return C8e(Xp(e))(function(t){return x8e(T8e(t.head)(t.tail))})},B5=function(e){return e.value1};var OY=X(Ve),E8e=Sw(Ut)()(),R8e=St(Rt),S8e=ae(Kt),Fw=ae(Sr),W5=wn(on)(xi),F8e=co(Sr)(ku),M8e=Jn(Sr),kY=bt(gn),Mw=fe(xr),I8e=Jl(gn),Iw=ae(Rr),A8e=_n(pt),L8e=hm(gn),j8e=fe(lr),P8e=De($r(or)),UY=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),Aw=function(){function e(){}return e.value=new e,e}(),N8e=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),HY=function(e){var t=De($r(e));return function(n){return function(r){return function(a){return function(o){var i=t(OY(B5)(n.steps))(new P(a.step));return E8e({overlayStyle:a.overlayStyle,overlayClassName:a.overlayClassName,overlay:R8e(a.contentClassName)([a.content,a.button({onNext:r(new xs(Aw.value))})]),placement:a.tooltipPlacement,visible:i})(o({onNext:function(){return i?r(new xs(Aw.value)):S8e(ve)}()}))}}}}},z5=function(){return new xs(Aw.value)}(),Nv=function(e){return OY(B5)(e.steps)},BY=function(e){return function(t){if(t instanceof xs&&t.value0 instanceof UY)return Fw({key:e.key,steps:new P(t.value0.value0)});if(t instanceof xs&&t.value0 instanceof Aw)return W5(F8e(e.steps)(function(n){return M8e(PY(n))(zo(kY(Mw(Mw(Gr)(cu))(tf(e.key)("true")))))}))(function(){return W5(I8e(Iw(new Am(new N8e(Nv(e))))))(function(){return Fw({key:e.key,steps:A8e(jY)(e.steps)})})});if(t instanceof Am)return Fw(e);throw new Error("Failed pattern match at Component.Tour (line 148, column 16 - line 160, column 15): "+[t.constructor.name])}},O8e=function(e){var t="finished-tour-"+e.keySuffix;return W5(L8e(j8e(kY(Mw(Mw(Gr)(cu))(nf(t))))(function(n){if(P8e(n)(new P("true")))return Iw(O.value);if(e.steps instanceof O)return Iw(O.value);if(e.steps instanceof P)return Iw(new P(new xs(new UY(e.steps.value0))));throw new Error("Failed pattern match at Component.Tour (line 133, column 5 - line 139, column 45): "+[e.steps.constructor.name])})))(function(){return Fw({key:t,steps:O.value})})};var WY=function(e){return O8e({keySuffix:e.keySuffix,steps:NY(e.steps)})};function zY(e){return e.replace(/[!'()*]/g,function(t){return"%"+t.charCodeAt(0).toString(16)})}function $Y(e,t,n){try{return t(zY(encodeURIComponent(n)))}catch(r){return e(r)}}function qY(e,t,n){try{return t(zY(encodeURIComponent(n)).replace(/%20/g,"+"))}catch(r){return e(r)}}var $5=function(){return Zc($Y)(Xe(O.value))(P.create)}();var Lw=function(){return Zc(qY)(Xe(O.value))(P.create)}();var GY=In();var ip=function(e){return function(t){var n=function(){var o=im("?")(t);return o?"&":"?"}(),r=GY($5(e.value)),a=GY($5(e.key));return t+(n+(a+("="+r)))}};var VY=function(e){return ip({key:"connectionSlug",value:e})("/counselors/download-brag-sheet")},JY="/counselors/brag-sheet",jw=function(e){var t=e==="";return t?JY:ip({key:"token",value:e})(JY)};var k8e=qa();var XY=fe(pt),YY=$u(k8e(Ne({reflectSymbol:function(){return"value"}})(ct)(Yn))),ZY=ae(bn);var _u=function(e){return et("")(XY(YY(ra(e.target)))(function(t){return ZY(t.value)}))};var Ec=function(e){return et("")(XY(YY(ra(e.target)))(function(t){return ZY(t.value)}))};function QY(e,t){typeof CV!="undefined"&&CV.tracking&&CV.tracking.event(e,t)}var U8e=Zx();var H8e=function(e){var t=bt(e);return function(n){return function(r){return t(function(){return QY(n,r)})}}},Ov=function(e){var t=H8e(e);return function(){return function(n){return function(r){return t(n)(U8e(r))}}}};var B8e=In(),W8e=St(Ut),q5=St(Rt),G5=Hr(ut)()(),KY=ws(ut),z8e=ga(),V5=ho(),eZ=oa(Ja),$8e=Ov(Wu)(),q8e=Sh(),G8e=Ri()(),V8e=Jr(ys),J8e=gr(Ut)()(),X8e=gr(Rt)()(),Y8e=Xr(ut),Z8e=LD(ut)()(),Q8e=jD(ut),K8e=Td(ut)()(),eFe=Si(ut),J5=function(){function e(){}return e.value=new e,e}(),X5=function(){function e(){}return e.value=new e,e}(),Y5=function(){function e(){}return e.value=new e,e}(),tZ=function(){function e(){}return e.value=new e,e}(),Z5=function(){function e(){}return e.value=new e,e}(),Q5=function(){function e(){}return e.value=new e,e}(),nZ=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),rZ=function(){function e(){}return e.value=new e,e}(),Pw=function(){function e(){}return e.value=new e,e}(),Nw=function(){function e(){}return e.value=new e,e}();var tFe={eq:function(e){return function(t){return e instanceof Pw&&t instanceof Pw||e instanceof Nw&&t instanceof Nw}}},aZ=De(tFe),nFe=B8e(Io(Yl("\\W+")(Em))),oZ=function(){return function(e){var t=function(){var i=W8e("row"),l=q5("col-12 col-md-8 offset-md-2 col-lg-6 offset-lg-3");return function(u){return i(l(u))}}(),n=function(i){return function(l){var u=is(ST(nFe)("-")(i));return G5("btn btn-outline-dark btn-block t--"+u)(Ht)({onClick:l})(i)}},r=function(i){return i==="1\u201330"?"60":i==="30\u201360"?"90":i==="60\u201380"?"120":i==="80+"?"150":"60"},a=function(i){return function(l){return q5("text-center p-5")([KY("")(i),l])}},o=z8e(e);return Zu(V5(Zn(function(){var i=aZ(o.flow)(Pw.value);return i?tZ.value:Z5.value}()))(function(i){return V5(Zn(""))(function(l){return V5(Zn(O.value))(function(u){var c=function(f){return eZ(function(){return $8e("Completed Brag Sheet Survey")({bragSheets:f,feedback:l.value0,willUse:function(){if(u.value0 instanceof P&&u.value0.value0 instanceof J5)return"Yes";if(u.value0 instanceof P&&u.value0.value0 instanceof X5)return"I\u2019m not sure yet";if(u.value0 instanceof P&&u.value0.value0 instanceof Y5)return"No, I\u2019ll use my own";if(u.value0 instanceof O)return"";throw new Error("Failed pattern match at Counselors.BragSheet.PublishSurveyModal (line 64, column 20 - line 68, column 26): "+[u.value0.constructor.name])}()})(),i.value1(function(){var p=aZ(o.flow)(Pw.value);return p?rZ.value:new nZ(r(f))}())()})},s=function(f){return eZ(function(){return u.value1(new P(f))(),i.value1(function(){if(f instanceof J5)return Z5.value;if(f instanceof X5||f instanceof Y5)return Q5.value;throw new Error("Failed pattern match at Counselors.BragSheet.PublishSurveyModal (line 55, column 16 - line 58, column 31): "+[f.constructor.name])}())()})};return ai(q8e({body:function(){if(i.value0 instanceof tZ)return a("Will you use CollegeVine to collect student brag sheets this year?")(t([n("Yes")(s(J5.value)),n("I\u2019m not sure yet")(s(X5.value)),n("No, I\u2019ll use my own")(s(Y5.value))]));if(i.value0 instanceof Z5)return a("How many brag sheets do you typically collect each year?")(t([n("1\u201330")(c("1\u201330")),n("30\u201360")(c("30\u201360")),n("60\u201380")(c("60\u201380")),n("80+")(c("80+"))]));if(i.value0 instanceof Q5)return a("What would prevent you from using CollegeVine\u2019s brag sheet?")(pn([G8e("form-control mb-4")({onChange:V8e(l.value1)(_u),placeholder:"Your answer",rows:5,style:Zt({resize:"none"}),value:l.value0}),G5("btn btn-primary px-4")(Ht)({onClick:c("")})("Continue")]));if(i.value0 instanceof nZ)return q5("d-flex flex-column justify-content-center align-items-center")([KY("pt-5 px-6 text-center")("With CollegeVine\u2019s student brag sheets, you\u2019ll save ~"+(i.value0.value0+" hours!")),J8e("d-flex flex-column justify-content-center align-items-center bg-cv-green-300")({style:Zt({width:"210px",height:"210px",borderRadius:"50%"})})(X8e("d-flex flex-column justify-content-center align-items-center bg-cv-green-50")({style:Zt({width:"190px",height:"190px",borderRadius:"50%",border:"5px solid white"})})([Y8e("material-symbol large mt-2")("schedule"),En("est. time saved"),Z8e("mb-0")({style:Zt({fontSize:"70px"})})(i.value0.value0),Q8e("")("Hours")])),K8e("btn btn-primary px-4 my-4")(Ht)({href:jw($t(o.trackingToken)(""))})("Continue")]);if(i.value0 instanceof rZ)return a("Brag sheet published!")(pn([eFe("mb-4")("Share via share link or add student emails to track completions and send reminders."),G5("btn btn-primary px-4")(Ht)({onClick:o.onDismiss})("Close")]));throw new Error("Failed pattern match at Counselors.BragSheet.PublishSurveyModal (line 75, column 15 - line 126, column 16): "+[i.value0.constructor.name])}()}))})})}))}};var Ow=ae(Sr),rFe=ga(),aFe=wn(on)(xi),oFe=Jl(gn),iFe=kt(ls),uFe=es(rh),lFe=Hr(Ut)()(),iZ=St(ut),uZ=Jr(su),K5=function(){function e(){}return e.value=new e,e}(),lZ=function(){function e(){}return e.value=new e,e}(),cZ=function(){function e(){}return e.value=new e,e}(),eS=function(){function e(){}return e.value=new e,e}(),sZ=function(){function e(){}return e.value=new e,e}(),fZ=function(){function e(){}return e.value=new e,e}(),dZ=function(){var e=function(t){var n=Ow(K5.value),r=rFe(t),a=function(i){return function(l){if(l instanceof eS)return aFe(oFe(iFe(uFe(r.onClick))(Xn(Xe(fZ.value))(Xe(sZ.value)))))(function(){return Ow(lZ.value)});if(l instanceof sZ)return Ow(K5.value);if(l instanceof fZ)return Ow(cZ.value);throw new Error("Failed pattern match at Utils.EffectButton (line 69, column 9 - line 71, column 24): "+[i.constructor.name,l.constructor.name])}},o=function(i){return function(l){var u=function(s){return lFe($t(r.buttonClass)("btn btn-primary px-4"))(Ht)({onClick:s,disabled:$t(r.disabled)(!1)})($t(r.buttonContent)(En("Submit")))},c=$t(r.render)({idle:u,inFlight:function(s){return iZ($t(r.spinnerClass)("spinner spinner-border text-primary"))("")},erroredOut:function(s){return pn([u(s),iZ("invalid-feedback d-block")($t(r.errorMessage)("Something went wrong. Try refreshing the page."))])}});if(i instanceof K5)return c.idle(uZ(l)(eS.value));if(i instanceof lZ)return c.inFlight(ve);if(i instanceof cZ)return c.erroredOut(uZ(l)(eS.value));throw new Error("Failed pattern match at Utils.EffectButton (line 49, column 11 - line 52, column 65): "+[i.constructor.name])}};return{init:n,view:o,update:a}};return dd("EffectButton")(e)};jt();var pZ=["http","https","mailto","tel"];function mZ(e){let t=(e||"").trim(),n=t.charAt(0);if(n==="#"||n==="/")return t;let r=t.indexOf(":");if(r===-1)return t;let a=-1;for(;++aa||(a=t.indexOf("#"),a!==-1&&r>a)?t:"javascript:void(0)"}jt();var DZ=Xt(tS());function rf(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?hZ(e.position):"start"in e||"end"in e?hZ(e):"line"in e||"column"in e?nS(e):""}function nS(e){return _Z(e&&e.line)+":"+_Z(e&&e.column)}function hZ(e){return nS(e&&e.start)+"-"+nS(e&&e.end)}function _Z(e){return e&&typeof e=="number"?e:1}var Qa=class extends Error{constructor(t,n,r){let a=[null,null],o={start:{line:null,column:null},end:{line:null,column:null}};super();if(typeof n=="string"&&(r=n,n=void 0),typeof r=="string"){let i=r.indexOf(":");i===-1?a[1]=r:(a[0]=r.slice(0,i),a[1]=r.slice(i+1))}n&&("type"in n||"position"in n?n.position&&(o=n.position):"start"in n||"end"in n?o=n:("line"in n||"column"in n)&&(o.start=n)),this.name=rf(n)||"1:1",this.message=typeof t=="object"?t.message:t,this.stack="",typeof t=="object"&&t.stack&&(this.stack=t.stack),this.reason=this.message,this.fatal,this.line=o.start.line,this.column=o.start.column,this.position=o,this.source=a[0],this.ruleId=a[1],this.file,this.actual,this.expected,this.url,this.note}};Qa.prototype.file="";Qa.prototype.name="";Qa.prototype.reason="";Qa.prototype.message="";Qa.prototype.stack="";Qa.prototype.fatal=null;Qa.prototype.column=null;Qa.prototype.line=null;Qa.prototype.source=null;Qa.prototype.ruleId=null;Qa.prototype.position=null;var gu={basename:cFe,dirname:sFe,extname:fFe,join:dFe,sep:"/"};function cFe(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');F1(e);let n=0,r=-1,a=e.length,o;if(t===void 0||t.length===0||t.length>e.length){for(;a--;)if(e.charCodeAt(a)===47){if(o){n=a+1;break}}else r<0&&(o=!0,r=a+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let i=-1,l=t.length-1;for(;a--;)if(e.charCodeAt(a)===47){if(o){n=a+1;break}}else i<0&&(o=!0,i=a+1),l>-1&&(e.charCodeAt(a)===t.charCodeAt(l--)?l<0&&(r=a):(l=-1,r=i));return n===r?r=i:r<0&&(r=e.length),e.slice(n,r)}function sFe(e){if(F1(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.charCodeAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.charCodeAt(0)===47?"/":".":t===1&&e.charCodeAt(0)===47?"//":e.slice(0,t)}function fFe(e){F1(e);let t=e.length,n=-1,r=0,a=-1,o=0,i;for(;t--;){let l=e.charCodeAt(t);if(l===47){if(i){r=t+1;break}continue}n<0&&(i=!0,n=t+1),l===46?a<0?a=t:o!==1&&(o=1):a>-1&&(o=-1)}return a<0||n<0||o===0||o===1&&a===n-1&&a===r+1?"":e.slice(a,n)}function dFe(...e){let t=-1,n;for(;++t0&&e.charCodeAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function mFe(e,t){let n="",r=0,a=-1,o=0,i=-1,l,u;for(;++i<=e.length;){if(i2){if(u=n.lastIndexOf("/"),u!==n.length-1){u<0?(n="",r=0):(n=n.slice(0,u),r=n.length-1-n.lastIndexOf("/")),a=i,o=0;continue}}else if(n.length>0){n="",r=0,a=i,o=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(a+1,i):n=e.slice(a+1,i),r=i-a-1;a=i,o=0}else l===46&&o>-1?o++:o=-1}return n}function F1(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}var gZ={cwd:vFe};function vFe(){return"/"}function kv(e){return e!==null&&typeof e=="object"&&e.href&&e.origin}function yZ(e){if(typeof e=="string")e=new URL(e);else if(!kv(e)){let t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){let t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return hFe(e)}function hFe(e){if(e.hostname!==""){let r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}let t=e.pathname,n=-1;for(;++ni.length,u;l&&i.push(a);try{u=e.apply(this,i)}catch(c){let s=c;if(l&&n)throw s;return a(s)}l||(u instanceof Promise?u.then(o,a):u instanceof Error?a(u):o(u))}function a(i,...l){n||(n=!0,t(i,...l))}function o(i){a(null,i)}}var lS=jZ().freeze(),LZ={}.hasOwnProperty;function jZ(){let e=IZ(),t=[],n={},r,a=-1;return o.data=i,o.Parser=void 0,o.Compiler=void 0,o.freeze=l,o.attachers=t,o.use=u,o.parse=c,o.stringify=s,o.run=f,o.runSync=d,o.process=p,o.processSync=m,o;function o(){let y=jZ(),_=-1;for(;++_{if(T||!L||!W)A(T);else{let $=o.stringify(L,W);$==null||(bFe($)?W.value=$:W.result=$),A(T,W)}});function A(T,L){T||!L?R(T):C?C(L):_(null,L)}}}function m(y){let _;o.freeze(),cS("processSync",o.Parser),sS("processSync",o.Compiler);let D=I1(y);return o.process(D,C),OZ("processSync","process",_),D;function C(R){_=!0,iS(R)}}}function PZ(e,t){return typeof e=="function"&&e.prototype&&(yFe(e.prototype)||t in e.prototype)}function yFe(e){let t;for(t in e)if(LZ.call(e,t))return!0;return!1}function cS(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `Parser`")}function sS(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `Compiler`")}function fS(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function NZ(e){if(!M1(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function OZ(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function I1(e){return DFe(e)?e:new Uv(e)}function DFe(e){return Boolean(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function bFe(e){return typeof e=="string"||(0,AZ.default)(e)}function dS(e,t){let n=(t||{}).includeImageAlt;return kZ(e,typeof n=="boolean"?n:!0)}function kZ(e,t){return wFe(e)&&("value"in e&&e.value||t&&"alt"in e&&e.alt||"children"in e&&UZ(e.children,t))||Array.isArray(e)&&UZ(e,t)||""}function UZ(e,t){let n=[],r=-1;for(;++ra?0:a+t:t=t>a?a:t,n=n>0?n:0,r.length<1e4)i=Array.from(r),i.unshift(t,n),[].splice.apply(e,i);else for(n&&[].splice.apply(e,[t,n]);o0?(Mr(e,e.length,0,t),e):t}var HZ={}.hasOwnProperty;function Uw(e){let t={},n=-1;for(;++ni))return;let L=t.events.length,W=L,$,ce;for(;W--;)if(t.events[W][0]==="exit"&&t.events[W][1].type==="chunkFlow"){if($){ce=t.events[W][1].end;break}$=!0}for(D(r),T=L;TR;){let A=n[I];t.containerState=A[1],A[0].exit.call(t,e)}n.length=R}function C(){a.write([null]),o=void 0,a=void 0,t.containerState._closeFlow=void 0}}function RFe(e,t,n){return mt(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Hv(e){if(e===null||Dn(e)||lp(e))return 1;if(cp(e))return 2}function uf(e,t,n){let r=[],a=-1;for(;++a1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;let f=Object.assign({},e[r][1].end),d=Object.assign({},e[n][1].start);VZ(f,-u),VZ(d,u),i={type:u>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[r][1].end)},l={type:u>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[n][1].start),end:d},o={type:u>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},a={type:u>1?"strong":"emphasis",start:Object.assign({},i.start),end:Object.assign({},l.end)},e[r][1].end=Object.assign({},i.start),e[n][1].start=Object.assign({},l.end),c=[],e[r][1].end.offset-e[r][1].start.offset&&(c=Ka(c,[["enter",e[r][1],t],["exit",e[r][1],t]])),c=Ka(c,[["enter",a,t],["enter",i,t],["exit",i,t],["enter",o,t]]),c=Ka(c,uf(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),c=Ka(c,[["exit",o,t],["enter",l,t],["exit",l,t],["exit",a,t]]),e[n][1].end.offset-e[n][1].start.offset?(s=2,c=Ka(c,[["enter",e[n][1],t],["exit",e[n][1],t]])):s=0,Mr(e,r-1,n-r+3,c),n=r+c.length-s-2;break}}for(n=-1;++n=4?i(c):n(c)}function i(c){return c===null?u(c):Ue(c)?e.attempt(kFe,i,u)(c):(e.enter("codeFlowValue"),l(c))}function l(c){return c===null||Ue(c)?(e.exit("codeFlowValue"),i(c)):(e.consume(c),l)}function u(c){return e.exit("codeIndented"),t(c)}}function HFe(e,t,n){let r=this;return a;function a(i){return r.parser.lazy[r.now().line]?n(i):Ue(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),a):mt(e,o,"linePrefix",4+1)(i)}function o(i){let l=r.events[r.events.length-1];return l&&l[1].type==="linePrefix"&&l[2].sliceSerialize(l[1],!0).length>=4?t(i):Ue(i)?a(i):n(i)}}var vS={name:"codeText",tokenize:zFe,resolve:BFe,previous:WFe};function BFe(e){let t=e.length-4,n=3,r,a;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}function qw(e,t,n,r,a,o,i,l,u){let c=u||Number.POSITIVE_INFINITY,s=0;return f;function f(D){return D===60?(e.enter(r),e.enter(a),e.enter(o),e.consume(D),e.exit(o),d):D===null||D===41||af(D)?n(D):(e.enter(r),e.enter(i),e.enter(l),e.enter("chunkString",{contentType:"string"}),y(D))}function d(D){return D===62?(e.enter(o),e.consume(D),e.exit(o),e.exit(a),e.exit(r),t):(e.enter(l),e.enter("chunkString",{contentType:"string"}),p(D))}function p(D){return D===62?(e.exit("chunkString"),e.exit(l),d(D)):D===null||D===60||Ue(D)?n(D):(e.consume(D),D===92?m:p)}function m(D){return D===60||D===62||D===92?(e.consume(D),p):p(D)}function y(D){return D===40?++s>c?n(D):(e.consume(D),y):D===41?s--?(e.consume(D),y):(e.exit("chunkString"),e.exit(l),e.exit(i),e.exit(r),t(D)):D===null||Dn(D)?s?n(D):(e.exit("chunkString"),e.exit(l),e.exit(i),e.exit(r),t(D)):af(D)?n(D):(e.consume(D),D===92?_:y)}function _(D){return D===40||D===41||D===92?(e.consume(D),y):y(D)}}function Gw(e,t,n,r,a,o){let i=this,l=0,u;return c;function c(p){return e.enter(r),e.enter(a),e.consume(p),e.exit(a),e.enter(o),s}function s(p){return p===null||p===91||p===93&&!u||p===94&&!l&&"_hiddenFootnoteSupport"in i.parser.constructs||l>999?n(p):p===93?(e.exit(o),e.enter(a),e.consume(p),e.exit(a),e.exit(r),t):Ue(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||Ue(p)||l++>999?(e.exit("chunkString"),s(p)):(e.consume(p),u=u||!Qt(p),p===92?d:f)}function d(p){return p===91||p===92||p===93?(e.consume(p),l++,f):f(p)}}function Vw(e,t,n,r,a,o){let i;return l;function l(d){return e.enter(r),e.enter(a),e.consume(d),e.exit(a),i=d===40?41:d,u}function u(d){return d===i?(e.enter(a),e.consume(d),e.exit(a),e.exit(r),t):(e.enter(o),c(d))}function c(d){return d===i?(e.exit(o),u(i)):d===null?n(d):Ue(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),mt(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),s(d))}function s(d){return d===i||d===null||Ue(d)?(e.exit("chunkString"),c(d)):(e.consume(d),d===92?f:s)}function f(d){return d===i||d===92?(e.consume(d),s):s(d)}}function sp(e,t){let n;return r;function r(a){return Ue(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),n=!0,r):Qt(a)?mt(e,r,n?"linePrefix":"lineSuffix")(a):t(a)}}function Pa(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var _S={name:"definition",tokenize:YFe},XFe={tokenize:ZFe,partial:!0};function YFe(e,t,n){let r=this,a;return o;function o(u){return e.enter("definition"),Gw.call(r,e,i,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(u)}function i(u){return a=Pa(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),u===58?(e.enter("definitionMarker"),e.consume(u),e.exit("definitionMarker"),sp(e,qw(e,e.attempt(XFe,mt(e,l,"whitespace"),mt(e,l,"whitespace")),n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):n(u)}function l(u){return u===null||Ue(u)?(e.exit("definition"),r.parser.defined.includes(a)||r.parser.defined.push(a),t(u)):n(u)}}function ZFe(e,t,n){return r;function r(i){return Dn(i)?sp(e,a)(i):n(i)}function a(i){return i===34||i===39||i===40?Vw(e,mt(e,o,"whitespace"),n,"definitionTitle","definitionTitleMarker","definitionTitleString")(i):n(i)}function o(i){return i===null||Ue(i)?t(i):n(i)}}var gS={name:"hardBreakEscape",tokenize:QFe};function QFe(e,t,n){return r;function r(o){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(o),a}function a(o){return Ue(o)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),t(o)):n(o)}}var yS={name:"headingAtx",tokenize:eMe,resolve:KFe};function KFe(e,t){let n=e.length-2,r=3,a,o;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(a={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},o={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},Mr(e,r,n-r+1,[["enter",a,t],["enter",o,t],["exit",o,t],["exit",a,t]])),e}function eMe(e,t,n){let r=this,a=0;return o;function o(s){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),i(s)}function i(s){return s===35&&a++<6?(e.consume(s),i):s===null||Dn(s)?(e.exit("atxHeadingSequence"),r.interrupt?t(s):l(s)):n(s)}function l(s){return s===35?(e.enter("atxHeadingSequence"),u(s)):s===null||Ue(s)?(e.exit("atxHeading"),t(s)):Qt(s)?mt(e,l,"whitespace")(s):(e.enter("atxHeadingText"),c(s))}function u(s){return s===35?(e.consume(s),u):(e.exit("atxHeadingSequence"),l(s))}function c(s){return s===null||s===35||Dn(s)?(e.exit("atxHeadingText"),l(s)):(e.consume(s),c)}}var XZ=["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"],DS=["pre","script","style","textarea"];var bS={name:"htmlFlow",tokenize:rMe,resolveTo:nMe,concrete:!0},tMe={tokenize:aMe,partial:!0};function nMe(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function rMe(e,t,n){let r=this,a,o,i,l,u;return c;function c(F){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(F),s}function s(F){return F===33?(e.consume(F),f):F===47?(e.consume(F),m):F===63?(e.consume(F),a=3,r.interrupt?t:Je):ja(F)?(e.consume(F),i=String.fromCharCode(F),o=!0,y):n(F)}function f(F){return F===45?(e.consume(F),a=2,d):F===91?(e.consume(F),a=5,i="CDATA[",l=0,p):ja(F)?(e.consume(F),a=4,r.interrupt?t:Je):n(F)}function d(F){return F===45?(e.consume(F),r.interrupt?t:Je):n(F)}function p(F){return F===i.charCodeAt(l++)?(e.consume(F),l===i.length?r.interrupt?t:te:p):n(F)}function m(F){return ja(F)?(e.consume(F),i=String.fromCharCode(F),y):n(F)}function y(F){return F===null||F===47||F===62||Dn(F)?F!==47&&o&&DS.includes(i.toLowerCase())?(a=1,r.interrupt?t(F):te(F)):XZ.includes(i.toLowerCase())?(a=6,F===47?(e.consume(F),_):r.interrupt?t(F):te(F)):(a=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(F):o?C(F):D(F)):F===45||Ir(F)?(e.consume(F),i+=String.fromCharCode(F),y):n(F)}function _(F){return F===62?(e.consume(F),r.interrupt?t:te):n(F)}function D(F){return Qt(F)?(e.consume(F),D):$(F)}function C(F){return F===47?(e.consume(F),$):F===58||F===95||ja(F)?(e.consume(F),R):Qt(F)?(e.consume(F),C):$(F)}function R(F){return F===45||F===46||F===58||F===95||Ir(F)?(e.consume(F),R):I(F)}function I(F){return F===61?(e.consume(F),A):Qt(F)?(e.consume(F),I):C(F)}function A(F){return F===null||F===60||F===61||F===62||F===96?n(F):F===34||F===39?(e.consume(F),u=F,T):Qt(F)?(e.consume(F),A):(u=null,L(F))}function T(F){return F===null||Ue(F)?n(F):F===u?(e.consume(F),W):(e.consume(F),T)}function L(F){return F===null||F===34||F===39||F===60||F===61||F===62||F===96||Dn(F)?I(F):(e.consume(F),L)}function W(F){return F===47||F===62||Qt(F)?C(F):n(F)}function $(F){return F===62?(e.consume(F),ce):n(F)}function ce(F){return Qt(F)?(e.consume(F),ce):F===null||Ue(F)?te(F):n(F)}function te(F){return F===45&&a===2?(e.consume(F),de):F===60&&a===1?(e.consume(F),q):F===62&&a===4?(e.consume(F),qe):F===63&&a===3?(e.consume(F),Je):F===93&&a===5?(e.consume(F),pe):Ue(F)&&(a===6||a===7)?e.check(tMe,qe,le)(F):F===null||Ue(F)?le(F):(e.consume(F),te)}function le(F){return e.exit("htmlFlowData"),ee(F)}function ee(F){return F===null?N(F):Ue(F)?e.attempt({tokenize:re,partial:!0},ee,N)(F):(e.enter("htmlFlowData"),te(F))}function re(F,H,V){return Y;function Y(J){return F.enter("lineEnding"),F.consume(J),F.exit("lineEnding"),j}function j(J){return r.parser.lazy[r.now().line]?V(J):H(J)}}function de(F){return F===45?(e.consume(F),Je):te(F)}function q(F){return F===47?(e.consume(F),i="",Q):te(F)}function Q(F){return F===62&&DS.includes(i.toLowerCase())?(e.consume(F),qe):ja(F)&&i.length<8?(e.consume(F),i+=String.fromCharCode(F),Q):te(F)}function pe(F){return F===93?(e.consume(F),Je):te(F)}function Je(F){return F===62?(e.consume(F),qe):F===45&&a===2?(e.consume(F),Je):te(F)}function qe(F){return F===null||Ue(F)?(e.exit("htmlFlowData"),N(F)):(e.consume(F),qe)}function N(F){return e.exit("htmlFlow"),t(F)}}function aMe(e,t,n){return r;function r(a){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),e.attempt(hl,t,n)}}var wS={name:"htmlText",tokenize:oMe};function oMe(e,t,n){let r=this,a,o,i,l;return u;function u(N){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(N),c}function c(N){return N===33?(e.consume(N),s):N===47?(e.consume(N),L):N===63?(e.consume(N),A):ja(N)?(e.consume(N),ce):n(N)}function s(N){return N===45?(e.consume(N),f):N===91?(e.consume(N),o="CDATA[",i=0,_):ja(N)?(e.consume(N),I):n(N)}function f(N){return N===45?(e.consume(N),d):n(N)}function d(N){return N===null||N===62?n(N):N===45?(e.consume(N),p):m(N)}function p(N){return N===null||N===62?n(N):m(N)}function m(N){return N===null?n(N):N===45?(e.consume(N),y):Ue(N)?(l=m,pe(N)):(e.consume(N),m)}function y(N){return N===45?(e.consume(N),qe):m(N)}function _(N){return N===o.charCodeAt(i++)?(e.consume(N),i===o.length?D:_):n(N)}function D(N){return N===null?n(N):N===93?(e.consume(N),C):Ue(N)?(l=D,pe(N)):(e.consume(N),D)}function C(N){return N===93?(e.consume(N),R):D(N)}function R(N){return N===62?qe(N):N===93?(e.consume(N),R):D(N)}function I(N){return N===null||N===62?qe(N):Ue(N)?(l=I,pe(N)):(e.consume(N),I)}function A(N){return N===null?n(N):N===63?(e.consume(N),T):Ue(N)?(l=A,pe(N)):(e.consume(N),A)}function T(N){return N===62?qe(N):A(N)}function L(N){return ja(N)?(e.consume(N),W):n(N)}function W(N){return N===45||Ir(N)?(e.consume(N),W):$(N)}function $(N){return Ue(N)?(l=$,pe(N)):Qt(N)?(e.consume(N),$):qe(N)}function ce(N){return N===45||Ir(N)?(e.consume(N),ce):N===47||N===62||Dn(N)?te(N):n(N)}function te(N){return N===47?(e.consume(N),qe):N===58||N===95||ja(N)?(e.consume(N),le):Ue(N)?(l=te,pe(N)):Qt(N)?(e.consume(N),te):qe(N)}function le(N){return N===45||N===46||N===58||N===95||Ir(N)?(e.consume(N),le):ee(N)}function ee(N){return N===61?(e.consume(N),re):Ue(N)?(l=ee,pe(N)):Qt(N)?(e.consume(N),ee):te(N)}function re(N){return N===null||N===60||N===61||N===62||N===96?n(N):N===34||N===39?(e.consume(N),a=N,de):Ue(N)?(l=re,pe(N)):Qt(N)?(e.consume(N),re):(e.consume(N),a=void 0,Q)}function de(N){return N===a?(e.consume(N),q):N===null?n(N):Ue(N)?(l=de,pe(N)):(e.consume(N),de)}function q(N){return N===62||N===47||Dn(N)?te(N):n(N)}function Q(N){return N===null||N===34||N===39||N===60||N===61||N===96?n(N):N===62||Dn(N)?te(N):(e.consume(N),Q)}function pe(N){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(N),e.exit("lineEnding"),mt(e,Je,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Je(N){return e.enter("htmlTextData"),l(N)}function qe(N){return N===62?(e.consume(N),e.exit("htmlTextData"),e.exit("htmlText"),t):n(N)}}var fp={name:"labelEnd",tokenize:fMe,resolveTo:sMe,resolveAll:cMe},iMe={tokenize:dMe},uMe={tokenize:pMe},lMe={tokenize:mMe};function cMe(e){let t=-1,n;for(;++t-1&&(i[0]=i[0].slice(r)),o>0&&i.push(e[a].slice(0,o))),i}function IMe(e,t){let n=-1,r=[],a;for(;++nUMe,contentInitial:()=>LMe,disable:()=>HMe,document:()=>AMe,flow:()=>PMe,flowInitial:()=>jMe,insideSpan:()=>kMe,string:()=>NMe,text:()=>OMe});var AMe={[42]:Na,[43]:Na,[45]:Na,[48]:Na,[49]:Na,[50]:Na,[51]:Na,[52]:Na,[53]:Na,[54]:Na,[55]:Na,[56]:Na,[57]:Na,[62]:Hw},LMe={[91]:_S},jMe={[-2]:L1,[-1]:L1,[32]:L1},PMe={[35]:yS,[42]:dp,[45]:[Jw,dp],[60]:bS,[61]:Jw,[95]:dp,[96]:zw,[126]:zw},NMe={[38]:Ww,[92]:Bw},OMe={[-5]:j1,[-4]:j1,[-3]:j1,[33]:CS,[38]:Ww,[42]:A1,[60]:[mS,wS],[91]:xS,[92]:[gS,Bw],[93]:fp,[95]:A1,[96]:vS},kMe={null:[A1,ZZ]},UMe={null:[42,95]},HMe={null:[]};function rQ(e={}){let t=Uw([TS].concat(e.extensions||[])),n={defined:[],lazy:{},constructs:t,content:r($Z),document:r(qZ),flow:r(YZ),string:r(QZ),text:r(KZ)};return n;function r(a){return o;function o(i){return nQ(n,a,i)}}}var aQ=/[\0\t\n\r]/g;function oQ(){let e=1,t="",n=!0,r;return a;function a(o,i,l){let u=[],c,s,f,d,p;for(o=t+o.toString(i),f=0,t="",n&&(o.charCodeAt(0)===65279&&f++,n=void 0);f13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)==65535||(n&65535)==65534||n>1114111?"\uFFFD":String.fromCharCode(n)}var BMe=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Yw(e){return e.replace(BMe,WMe)}function WMe(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){let a=n.charCodeAt(1),o=a===120||a===88;return Xw(n.slice(o?2:1),o?16:10)}return Bv(n)||e}var uQ={}.hasOwnProperty,ES=function(e,t,n){return typeof t!="string"&&(n=t,t=void 0),zMe(n)(iQ(rQ(n).document().write(oQ()(e,t,!0))))};function zMe(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:l(je),autolinkProtocol:te,autolinkEmail:te,atxHeading:l(Ze),blockQuote:l(me),characterEscape:te,characterReference:te,codeFenced:l(ge),codeFencedFenceInfo:u,codeFencedFenceMeta:u,codeIndented:l(ge,u),codeText:l(ue,u),codeTextData:te,data:te,codeFlowValue:te,definition:l(Ie),definitionDestinationString:u,definitionLabelString:u,definitionTitleString:u,emphasis:l(Te),hardBreakEscape:l(Se),hardBreakTrailing:l(Se),htmlFlow:l(Qe,u),htmlFlowData:te,htmlText:l(Qe,u),htmlTextData:te,image:l(lt),label:u,link:l(je),listItem:l(Ke),listItemValue:m,listOrdered:l(ft,p),listUnordered:l(ft),paragraph:l(We),reference:Y,referenceString:u,resourceDestinationString:u,resourceTitleString:u,setextHeading:l(Ze),strong:l(Ee),thematicBreak:l(cn)},exit:{atxHeading:s(),atxHeadingSequence:L,autolink:s(),autolinkEmail:oe,autolinkProtocol:ie,blockQuote:s(),characterEscapeValue:le,characterReferenceMarkerHexadecimal:J,characterReferenceMarkerNumeric:J,characterReferenceValue:U,codeFenced:s(C),codeFencedFence:D,codeFencedFenceInfo:y,codeFencedFenceMeta:_,codeFlowValue:le,codeIndented:s(R),codeText:s(Q),codeTextData:le,data:le,definition:s(),definitionDestinationString:T,definitionLabelString:I,definitionTitleString:A,emphasis:s(),hardBreakEscape:s(re),hardBreakTrailing:s(re),htmlFlow:s(de),htmlFlowData:le,htmlText:s(q),htmlTextData:le,image:s(Je),label:N,labelText:qe,lineEnding:ee,link:s(pe),listItem:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:j,resourceDestinationString:F,resourceTitleString:H,resource:V,setextHeading:s(ce),setextHeadingLineSequence:$,setextHeadingText:W,strong:s(),thematicBreak:s()}};lQ(t,(e||{}).mdastExtensions||[]);let n={};return r;function r(ne){let _e={type:"root",children:[]},dt={stack:[_e],tokenStack:[],config:t,enter:c,exit:f,buffer:u,resume:d,setData:o,getData:i},Cn=[],Sn=-1;for(;++Sn0){let Fo=dt.tokenStack[dt.tokenStack.length-1];(Fo[1]||cQ).call(dt,void 0,Fo[0])}for(_e.position={start:lf(ne.length>0?ne[0][1].start:{line:1,column:1,offset:0}),end:lf(ne.length>0?ne[ne.length-2][1].end:{line:1,column:1,offset:0})},Sn=-1;++Sn{let r=this.data("settings");return ES(n,Object.assign({},r,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}function sQ(e,t){let n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function fQ(e,t){let n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:` `}]}function dQ(e,t){let n=t.value?t.value+` `:"",r=t.lang?t.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,a={};r&&(a.className=["language-"+r]);let o={type:"element",tagName:"code",properties:a,children:[{type:"text",value:n}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o=e.applyData(t,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(t,o),o}function pQ(e,t){let n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function mQ(e,t){let n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Hi(e){let t=[],n=-1,r=0,a=0;for(;++n55295&&o<57344){let l=e.charCodeAt(n+1);o<56320&&l>56319&&l<57344?(i=String.fromCharCode(o,l),a=1):i="\uFFFD"}else i=String.fromCharCode(o);i&&(t.push(e.slice(r,n),encodeURIComponent(i)),r=n+a+1,i=""),a&&(n+=a,a=0)}return t.join("")+e.slice(r)}function Qw(e,t){let n=String(t.identifier).toUpperCase(),r=Hi(n.toLowerCase()),a=e.footnoteOrder.indexOf(n),o;a===-1?(e.footnoteOrder.push(n),e.footnoteCounts[n]=1,o=e.footnoteOrder.length):(e.footnoteCounts[n]++,o=a+1);let i=e.footnoteCounts[n],l={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fn-"+r,id:e.clobberPrefix+"fnref-"+r+(i>1?"-"+i:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(t,l);let u={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,u),e.applyData(t,u)}function vQ(e,t){let n=e.footnoteById,r=1;for(;r in n;)r++;let a=String(r);return n[a]={type:"footnoteDefinition",identifier:a,children:[{type:"paragraph",children:t.children}],position:t.position},Qw(e,{type:"footnoteReference",identifier:a,position:t.position})}function hQ(e,t){let n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function _Q(e,t){if(e.dangerous){let n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}return null}function Kw(e,t){let n=t.referenceType,r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return{type:"text",value:"!["+t.alt+r};let a=e.all(t),o=a[0];o&&o.type==="text"?o.value="["+o.value:a.unshift({type:"text",value:"["});let i=a[a.length-1];return i&&i.type==="text"?i.value+=r:a.push({type:"text",value:r}),a}function gQ(e,t){let n=e.definition(t.identifier);if(!n)return Kw(e,t);let r={src:Hi(n.url||""),alt:t.alt};n.title!==null&&n.title!==void 0&&(r.title=n.title);let a={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,a),e.applyData(t,a)}function yQ(e,t){let n={src:Hi(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);let r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function DQ(e,t){let n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);let r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function bQ(e,t){let n=e.definition(t.identifier);if(!n)return Kw(e,t);let r={href:Hi(n.url||"")};n.title!==null&&n.title!==void 0&&(r.title=n.title);let a={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function wQ(e,t){let n={href:Hi(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);let r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function CQ(e,t,n){let r=e.all(t),a=n?qMe(n):xQ(t),o={},i=[];if(typeof t.checked=="boolean"){let s=r[0],f;s&&s.type==="element"&&s.tagName==="p"?f=s:(f={type:"element",tagName:"p",properties:{},children:[]},r.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let l=-1;for(;++l1:t}function TQ(e,t){let n={},r=e.all(t),a=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++a-1?r.offset:null}}}function MQ(e,t){let n=e.all(t),r=n.shift(),a=[];if(r){let i={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],i),a.push(i)}if(n.length>0){let i={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},l=Wv(t.children[1]),u=zv(t.children[t.children.length-1]);l.line&&u.line&&(i.position={start:l,end:u}),a.push(i)}let o={type:"element",tagName:"table",properties:{},children:e.wrap(a,!0)};return e.patch(t,o),e.applyData(t,o)}function IQ(e,t,n){let r=n?n.children:void 0,o=(r?r.indexOf(t):1)===0?"th":"td",i=n&&n.type==="table"?n.align:void 0,l=i?i.length:t.children.length,u=-1,c=[];for(;++u0,!0),r[0]),a=r.index+r[0].length,r=n.exec(t);return o.push(NQ(t.slice(a),a>0,!1)),o.join("")}function NQ(e,t,n){let r=0,a=e.length;if(t){let o=e.codePointAt(r);for(;o===LQ||o===jQ;)r++,o=e.codePointAt(r)}if(n){let o=e.codePointAt(a-1);for(;o===LQ||o===jQ;)a--,o=e.codePointAt(a-1)}return a>r?e.slice(r,a):""}function OQ(e,t){let n={type:"text",value:PQ(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function kQ(e,t){let n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}var UQ={blockquote:sQ,break:fQ,code:dQ,delete:pQ,emphasis:mQ,footnoteReference:Qw,footnote:vQ,heading:hQ,html:_Q,imageReference:gQ,image:yQ,inlineCode:DQ,linkReference:bQ,link:wQ,listItem:CQ,list:TQ,paragraph:EQ,root:RQ,strong:SQ,table:MQ,tableCell:AQ,tableRow:IQ,text:OQ,thematicBreak:kQ,toml:e4,yaml:e4,definition:e4,footnoteDefinition:e4};function e4(){return null}var P1=function(e){if(e==null)return XMe;if(typeof e=="string")return JMe(e);if(typeof e=="object")return Array.isArray(e)?GMe(e):VMe(e);if(typeof e=="function")return t4(e);throw new Error("Expected function, string, or object as test")};function GMe(e){let t=[],n=-1;for(;++n":""))+")"})}return f;function f(){let d=[],p,m,y;if((!t||a(l,u,c[c.length-1]||null))&&(d=YMe(n(l,c)),d[0]===n4))return d;if(l.children&&d[0]!==FS)for(m=(r?l.children.length:-1)+o,y=c.concat(l);m>-1&&m{let a=WQ(r.identifier);a&&!BQ.call(t,a)&&(t[a]=r)}),n;function n(r){let a=WQ(r);return a&&BQ.call(t,a)?t[a]:null}}function WQ(e){return String(e||"").toUpperCase()}var r4={}.hasOwnProperty;function zQ(e,t){let n=t||{},r=n.allowDangerousHtml||!1,a={};return i.dangerous=r,i.clobberPrefix=n.clobberPrefix===void 0||n.clobberPrefix===null?"user-content-":n.clobberPrefix,i.footnoteLabel=n.footnoteLabel||"Footnotes",i.footnoteLabelTagName=n.footnoteLabelTagName||"h2",i.footnoteLabelProperties=n.footnoteLabelProperties||{className:["sr-only"]},i.footnoteBackLabel=n.footnoteBackLabel||"Back to content",i.unknownHandler=n.unknownHandler,i.passThrough=n.passThrough,i.handlers=an(an({},UQ),n.handlers),i.definition=IS(e),i.footnoteById=a,i.footnoteOrder=[],i.footnoteCounts={},i.patch=ZMe,i.applyData=QMe,i.one=l,i.all=u,i.wrap=e9e,i.augment=o,pp(e,"footnoteDefinition",c=>{let s=String(c.identifier).toUpperCase();r4.call(a,s)||(a[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=an(an({},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};MS(f)||(s.position={start:Wv(f),end:zv(f)})}return s}function i(c,s,f,d){return Array.isArray(f)&&(d=f,f={}),o(c,{type:"element",tagName:s,properties:f||{},children:d||[]})}function l(c,s){return $Q(i,c,s)}function u(c){return AS(i,c)}}function ZMe(e,t){e.position&&(t.position=RS(e))}function QMe(e,t){let n=t;if(e&&e.data){let r=e.data.hName,a=e.data.hChildren,o=e.data.hProperties;typeof r=="string"&&(n.type==="element"?n.tagName=r:n={type:"element",tagName:r,properties:{},children:[]}),n.type==="element"&&o&&(n.properties=an(an({},n.properties),o)),"children"in n&&n.children&&a!==null&&a!==void 0&&(n.children=a)}return n}function $Q(e,t,n){let r=t&&t.type;if(!r)throw new Error("Expected node, got `"+t+"`");return r4.call(e.handlers,r)?e.handlers[r](e,t,n):e.passThrough&&e.passThrough.includes(r)?"children"in t?Lr(an({},t),{children:AS(e,t)}):t:e.unknownHandler?e.unknownHandler(e,t,n):KMe(e,t)}function AS(e,t){let n=[];if("children"in t){let r=t.children,a=-1;for(;++a0&&n.push({type:"text",value:` `}),n}function qQ(e){let t=[],n=-1;for(;++n1?"-"+l:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"\u21A9"}]};l>1&&f.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(l)}]}),u.length>0&&u.push({type:"text",value:" "}),u.push(f)}let c=a[a.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(...u)}else a.push(...u);let s={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+i},children:e.wrap(a,!0)};e.patch(r,s),t.push(s)}if(t.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:Lr(an({},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(t,!0)},{type:"text",value:` `}]}}function a4(e,t){let n=zQ(e,t),r=n.one(e,null),a=qQ(n);return a&&r.children.push({type:"text",value:` `},a),Array.isArray(r)?{type:"root",children:r}:r}var t9e=function(e,t){return e&&"run"in e?n9e(e,t):r9e(e||t)},LS=t9e;function n9e(e,t){return(n,r,a)=>{e.run(a4(n,t),r,o=>{a(o)})}}function r9e(e){return t=>a4(t,e)}var Nt=Xt(xh());var cf=class{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}};cf.prototype.property={};cf.prototype.normal={};cf.prototype.space=null;function jS(e,t){let n={},r={},a=-1;for(;++aWt,booleanish:()=>wr,commaOrSpaceSeparated:()=>Co,commaSeparated:()=>sf,number:()=>we,overloadedBoolean:()=>PS,spaceSeparated:()=>Nn});var a9e=0,Wt=mp(),wr=mp(),PS=mp(),we=mp(),Nn=mp(),sf=mp(),Co=mp();function mp(){return 2**++a9e}var NS=Object.keys(O1),$v=class extends eo{constructor(t,n,r,a){let o=-1;super(t,n);if(GQ(this,"space",a),typeof r=="number")for(;++o4&&n.slice(0,4)==="data"&&i9e.test(t)){if(t.charAt(4)==="-"){let o=t.slice(5).replace(XQ,c9e);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{let o=t.slice(4);if(!XQ.test(o)){let i=o.replace(u9e,l9e);i.charAt(0)!=="-"&&(i="-"+i),t="data"+i}}a=$v}return new a(r,t)}function l9e(e){return"-"+e.toLowerCase()}function c9e(e){return e.charAt(1).toUpperCase()}var u4={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 l4=jS([kS,OS,US,HS,VQ],"html"),c4=jS([kS,OS,US,HS,JQ],"svg");function BS(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 t=>{pp(t,"element",(n,r,a)=>{let o=a,i;if(e.allowedElements?i=!e.allowedElements.includes(n.tagName):e.disallowedElements&&(i=e.disallowedElements.includes(n.tagName)),!i&&e.allowElement&&typeof r=="number"&&(i=!e.allowElement(n,r,o)),i&&typeof r=="number")return e.unwrapDisallowed&&n.children?o.children.splice(r,1,...n.children):o.children.splice(r,1),r})}}jt();var pK=Xt(KQ());function eK(e){let t=e&&typeof e=="object"&&e.type==="text"?e.value||"":e;return typeof t=="string"&&t.replace(/[ \t\n\f\r]/g,"")===""}function $S(e){let t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function tK(e){return e.join(" ").trim()}function qS(e){let t=[],n=String(e||""),r=n.indexOf(","),a=0,o=!1;for(;!o;){r===-1&&(r=n.length,o=!0);let i=n.slice(a,r).trim();(i||!o)&&t.push(i),a=r+1,r=n.indexOf(",",a)}return t}function nK(e,t){let n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}var fK=Xt(sK()),dK=fK.default;var VS={}.hasOwnProperty,C9e=new Set(["table","thead","tbody","tfoot","tr"]);function JS(e,t){let n=[],r=-1,a;for(;++r0?_t.createElement(p,u,f):_t.createElement(p,u)}function T9e(e){let t=-1;for(;++t for more info)`),delete D4[o]}let t=lS().use(Zw).use(e.remarkPlugins||[]).use(LS,Lr(an({},e.remarkRehypeOptions),{allowDangerousHtml:!0})).use(e.rehypePlugins||[]).use(BS,e),n=new Uv;typeof e.children=="string"?n.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 r=t.runSync(t.parse(n),n);if(r.type!=="root")throw new TypeError("Expected a `root` node");let a=_t.createElement(_t.Fragment,{},JS({options:e,schema:l4,listDepth:0},r));return e.className&&(a=_t.createElement("div",{className:e.className},a)),a}b4.propTypes={children:Nt.default.string,className:Nt.default.string,allowElement:Nt.default.func,allowedElements:Nt.default.arrayOf(Nt.default.string),disallowedElements:Nt.default.arrayOf(Nt.default.string),unwrapDisallowed:Nt.default.bool,remarkPlugins:Nt.default.arrayOf(Nt.default.oneOfType([Nt.default.object,Nt.default.func,Nt.default.arrayOf(Nt.default.oneOfType([Nt.default.bool,Nt.default.string,Nt.default.object,Nt.default.func,Nt.default.arrayOf(Nt.default.any)]))])),rehypePlugins:Nt.default.arrayOf(Nt.default.oneOfType([Nt.default.object,Nt.default.func,Nt.default.arrayOf(Nt.default.oneOfType([Nt.default.bool,Nt.default.string,Nt.default.object,Nt.default.func,Nt.default.arrayOf(Nt.default.any)]))])),sourcePos:Nt.default.bool,rawSourcePos:Nt.default.bool,skipHtml:Nt.default.bool,includeElementIndex:Nt.default.bool,transformLinkUri:Nt.default.oneOfType([Nt.default.func,Nt.default.bool]),linkTarget:Nt.default.oneOfType([Nt.default.func,Nt.default.string]),transformImageUri:Nt.default.func,components:Nt.default.object};var vK=/[#.]/g;function YS(e,t){let n=e||"",r={},a=0,o,i;for(;au&&(u=c):c&&(u!==void 0&&u>-1&&l.push(` `.repeat(u)||" "),u=-1,l.push(c))}return l.join("")}function RK(e,t,n){return e.type==="element"?eIe(e,t,n):e.type==="text"?n.whitespace==="normal"?SK(e,n):tIe(e):[]}function eIe(e,t,n){let r=FK(e,n),a=e.children||[],o=-1,i=[];if(K9e(e))return i;let l,u;for(a8(e)||TK(e)&&T4(t,e,TK)?u=` `:Q9e(e)?(l=2,u=2):EK(e)&&(l=1,u=1);++o15?c="\u2026"+l.slice(a-15,a):c=l.slice(0,a);var s;o+15":">","<":"<",'"':""","'":"'"},fIe=/[&><"']/g;function dIe(e){return String(e).replace(fIe,t=>sIe[t])}var MK=function e(t){return t.type==="ordgroup"||t.type==="color"?t.body.length===1?e(t.body[0]):t:t.type==="font"?e(t.body):t},pIe=function(t){var n=MK(t);return n.type==="mathord"||n.type==="textord"||n.type==="atom"},mIe=function(t){if(!t)throw new Error("Expected non-null, but got "+String(t));return t},vIe=function(t){var n=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(t);return n?n[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(n[1])?null:n[1].toLowerCase():"_relative"},st={contains:iIe,deflt:uIe,escape:dIe,hyphenate:cIe,getBaseElem:MK,isCharacterBox:pIe,protocolFromUrl:vIe},E4={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,t)=>(t.push(e),t)},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 hIe(e){if(e.default)return e.default;var t=e.type,n=Array.isArray(t)?t[0]:t;if(typeof n!="string")return n.enum[0];switch(n){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}var R4=class{constructor(t){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,t=t||{};for(var n in E4)if(E4.hasOwnProperty(n)){var r=E4[n];this[n]=t[n]!==void 0?r.processor?r.processor(t[n]):t[n]:hIe(r)}}reportNonstrict(t,n,r){var a=this.strict;if(typeof a=="function"&&(a=a(t,n,r)),!(!a||a==="ignore")){if(a===!0||a==="error")throw new Ce("LaTeX-incompatible input and strict mode is set to 'error': "+(n+" ["+t+"]"),r);a==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(n+" ["+t+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+a+"': "+n+" ["+t+"]"))}}useStrictBehavior(t,n,r){var a=this.strict;if(typeof a=="function")try{a=a(t,n,r)}catch{a="error"}return!a||a==="ignore"?!1:a===!0||a==="error"?!0:a==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(n+" ["+t+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+a+"': "+n+" ["+t+"]")),!1)}isTrusted(t){if(t.url&&!t.protocol){var n=st.protocolFromUrl(t.url);if(n==null)return!1;t.protocol=n}var r=typeof this.trust=="function"?this.trust(t):this.trust;return Boolean(r)}},Fc=class{constructor(t,n,r){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=t,this.size=n,this.cramped=r}sup(){return _l[_Ie[this.id]]}sub(){return _l[gIe[this.id]]}fracNum(){return _l[yIe[this.id]]}fracDen(){return _l[DIe[this.id]]}cramp(){return _l[bIe[this.id]]}text(){return _l[wIe[this.id]]}isTight(){return this.size>=2}},i8=0,S4=1,qv=2,Mc=3,U1=4,zi=5,Gv=6,to=7,_l=[new Fc(i8,0,!1),new Fc(S4,0,!0),new Fc(qv,1,!1),new Fc(Mc,1,!0),new Fc(U1,2,!1),new Fc(zi,2,!0),new Fc(Gv,3,!1),new Fc(to,3,!0)],_Ie=[U1,zi,U1,zi,Gv,to,Gv,to],gIe=[zi,zi,zi,zi,to,to,to,to],yIe=[qv,Mc,U1,zi,Gv,to,Gv,to],DIe=[Mc,Mc,zi,zi,to,to,to,to],bIe=[S4,S4,Mc,Mc,zi,zi,to,to],wIe=[i8,S4,qv,Mc,qv,Mc,qv,Mc],vt={DISPLAY:_l[i8],TEXT:_l[qv],SCRIPT:_l[U1],SCRIPTSCRIPT:_l[Gv]},u8=[{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 CIe(e){for(var t=0;t=a[0]&&e<=a[1])return n.name}return null}var F4=[];u8.forEach(e=>e.blocks.forEach(t=>F4.push(...t)));function IK(e){for(var t=0;t=F4[t]&&e<=F4[t+1])return!0;return!1}var Vv=80,xIe=function(t,n){return"M95,"+(622+t+n)+` 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`+t/2.075+" -"+t+` c5.3,-9.3,12,-14,20,-14 H400000v`+(40+t)+`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+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},TIe=function(t,n){return"M263,"+(601+t+n)+`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`+t/2.084+" -"+t+` c4.7,-7.3,11,-11,19,-11 H40000v`+(40+t)+`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+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},EIe=function(t,n){return"M983 "+(10+t+n)+` l`+t/3.13+" -"+t+` c4,-6.7,10,-10,18,-10 H400000v`+(40+t)+` 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+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},RIe=function(t,n){return"M424,"+(2398+t+n)+` 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`+t/4.223+" -"+t+`c4,-6.7,10,-10,18,-10 H400000 v`+(40+t)+`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+t)+" "+n+` h400000v`+(40+t)+"h-400000z"},SIe=function(t,n){return"M473,"+(2713+t+n)+` c339.3,-1799.3,509.3,-2700,510,-2702 l`+t/5.298+" -"+t+` c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+t)+`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+t)+" "+n+"h400000v"+(40+t)+"H1017.7z"},FIe=function(t){var n=t/2;return"M400000 "+t+" H0 L"+n+" 0 l65 45 L145 "+(t-80)+" H400000z"},MIe=function(t,n,r){var a=r-54-n-t;return"M702 "+(t+n)+"H400000"+(40+t)+` H742v`+a+`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 `+n+"H400000v"+(40+t)+"H742z"},IIe=function(t,n,r){n=1e3*n;var a="";switch(t){case"sqrtMain":a=xIe(n,Vv);break;case"sqrtSize1":a=TIe(n,Vv);break;case"sqrtSize2":a=EIe(n,Vv);break;case"sqrtSize3":a=RIe(n,Vv);break;case"sqrtSize4":a=SIe(n,Vv);break;case"sqrtTall":a=MIe(n,Vv,r)}return a},AIe=function(t,n){switch(t){case"\u239C":return"M291 0 H417 V"+n+" H291z M291 0 H417 V"+n+" H291z";case"\u2223":return"M145 0 H188 V"+n+" H145z M145 0 H188 V"+n+" H145z";case"\u2225":return"M145 0 H188 V"+n+" H145z M145 0 H188 V"+n+" H145z"+("M367 0 H410 V"+n+" H367z M367 0 H410 V"+n+" H367z");case"\u239F":return"M457 0 H583 V"+n+" H457z M457 0 H583 V"+n+" H457z";case"\u23A2":return"M319 0 H403 V"+n+" H319z M319 0 H403 V"+n+" H319z";case"\u23A5":return"M263 0 H347 V"+n+" H263z M263 0 H347 V"+n+" H263z";case"\u23AA":return"M384 0 H504 V"+n+" H384z M384 0 H504 V"+n+" H384z";case"\u23D0":return"M312 0 H355 V"+n+" H312z M312 0 H355 V"+n+" H312z";case"\u2016":return"M257 0 H300 V"+n+" H257z M257 0 H300 V"+n+" H257z"+("M478 0 H521 V"+n+" H478z M478 0 H521 V"+n+" H478z");default:return""}},AK={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`},LIe=function(t,n){switch(t){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+n+` v1759 h347 v-84 H403z M403 1759 V0 H319 V1759 v`+n+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+n+` v1759 H0 v84 H347z M347 1759 V0 H263 V1759 v`+n+" v1759 h84z";case"vert":return"M145 15 v585 v"+n+` v585 c2.667,10,9.667,15,21,15 c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15 c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+n+" v585 h43z";case"doublevert":return"M145 15 v585 v"+n+` v585 c2.667,10,9.667,15,21,15 c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15 c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+n+` v585 h43z M367 15 v585 v`+n+` v585 c2.667,10,9.667,15,21,15 c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15 c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+n+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+n+` v1715 h263 v84 H319z MM319 602 V0 H403 V602 v`+n+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+n+` v1799 H0 v-84 H319z MM319 602 V0 H403 V602 v`+n+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+n+` v602 h84z M403 1759 V0 H319 V1759 v`+n+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+n+` v602 h84z M347 1759 V0 h-84 V1759 v`+n+" 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,`+(n+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,-`+(n+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,`+(n+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,-`+(n+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.")}},Jv=class{constructor(t){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=t,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(t){return st.contains(this.classes,t)}toNode(){for(var t=document.createDocumentFragment(),n=0;nn.toText();return this.children.map(t).join("")}},gl={"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]}},M4={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]},LK={\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 jIe(e,t){gl[e]=t}function l8(e,t,n){if(!gl[t])throw new Error("Font metrics not found for font: "+t+".");var r=e.charCodeAt(0),a=gl[t][r];if(!a&&e[0]in LK&&(r=LK[e[0]].charCodeAt(0),a=gl[t][r]),!a&&n==="text"&&IK(r)&&(a=gl[t][77]),a)return{depth:a[0],height:a[1],italic:a[2],skew:a[3],width:a[4]}}var c8={};function PIe(e){var t;if(e>=5?t=0:e>=3?t=1:t=2,!c8[t]){var n=c8[t]={cssEmPerMu:M4.quad[t]/18};for(var r in M4)M4.hasOwnProperty(r)&&(n[r]=M4[r][t])}return c8[t]}var NIe=[[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]],jK=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],PK=function(t,n){return n.size<2?t:NIe[t-1][n.size-1]},yl=class{constructor(t){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=t.style,this.color=t.color,this.size=t.size||yl.BASESIZE,this.textSize=t.textSize||this.size,this.phantom=!!t.phantom,this.font=t.font||"",this.fontFamily=t.fontFamily||"",this.fontWeight=t.fontWeight||"",this.fontShape=t.fontShape||"",this.sizeMultiplier=jK[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}extend(t){var n={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 r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);return new yl(n)}havingStyle(t){return this.style===t?this:this.extend({style:t,size:PK(this.textSize,t)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(t){return this.size===t&&this.textSize===t?this:this.extend({style:this.style.text(),size:t,textSize:t,sizeMultiplier:jK[t-1]})}havingBaseStyle(t){t=t||this.style.text();var n=PK(yl.BASESIZE,t);return this.size===n&&this.textSize===yl.BASESIZE&&this.style===t?this:this.extend({style:t,size:n})}havingBaseSizing(){var t;switch(this.style.id){case 4:case 5:t=3;break;case 6:case 7:t=1;break;default:t=6}return this.extend({style:this.style.text(),size:t})}withColor(t){return this.extend({color:t})}withPhantom(){return this.extend({phantom:!0})}withFont(t){return this.extend({font:t})}withTextFontFamily(t){return this.extend({fontFamily:t,font:""})}withTextFontWeight(t){return this.extend({fontWeight:t,font:""})}withTextFontShape(t){return this.extend({fontShape:t,font:""})}sizingClasses(t){return t.size!==this.size?["sizing","reset-size"+t.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==yl.BASESIZE?["sizing","reset-size"+this.size,"size"+yl.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=PIe(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}};yl.BASESIZE=6;var s8={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},OIe={ex:!0,em:!0,mu:!0},NK=function(t){return typeof t!="string"&&(t=t.unit),t in s8||t in OIe||t==="ex"},fr=function(t,n){var r;if(t.unit in s8)r=s8[t.unit]/n.fontMetrics().ptPerEm/n.sizeMultiplier;else if(t.unit==="mu")r=n.fontMetrics().cssEmPerMu;else{var a;if(n.style.isTight()?a=n.havingStyle(n.style.text()):a=n,t.unit==="ex")r=a.fontMetrics().xHeight;else if(t.unit==="em")r=a.fontMetrics().quad;else throw new Ce("Invalid unit: '"+t.unit+"'");a!==n&&(r*=a.sizeMultiplier/n.sizeMultiplier)}return Math.min(t.number*r,n.maxSize)},Le=function(t){return+t.toFixed(4)+"em"},ff=function(t){return t.filter(n=>n).join(" ")},OK=function(t,n,r){if(this.classes=t||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=r||{},n){n.style.isTight()&&this.classes.push("mtight");var a=n.getColor();a&&(this.style.color=a)}},kK=function(t){var n=document.createElement(t);n.className=ff(this.classes);for(var r in this.style)this.style.hasOwnProperty(r)&&(n.style[r]=this.style[r]);for(var a in this.attributes)this.attributes.hasOwnProperty(a)&&n.setAttribute(a,this.attributes[a]);for(var o=0;o/=\x00-\x1f]/,UK=function(t){var n="<"+t;this.classes.length&&(n+=' class="'+st.escape(ff(this.classes))+'"');var r="";for(var a in this.style)this.style.hasOwnProperty(a)&&(r+=st.hyphenate(a)+":"+this.style[a]+";");r&&(n+=' style="'+st.escape(r)+'"');for(var o in this.attributes)if(this.attributes.hasOwnProperty(o)){if(kIe.test(o))throw new Ce("Invalid attribute name '"+o+"'");n+=" "+o+'="'+st.escape(this.attributes[o])+'"'}n+=">";for(var i=0;i",n},Xv=class{constructor(t,n,r,a){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,OK.call(this,t,r,a),this.children=n||[]}setAttribute(t,n){this.attributes[t]=n}hasClass(t){return st.contains(this.classes,t)}toNode(){return kK.call(this,"span")}toMarkup(){return UK.call(this,"span")}},I4=class{constructor(t,n,r,a){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,OK.call(this,n,a),this.children=r||[],this.setAttribute("href",t)}setAttribute(t,n){this.attributes[t]=n}hasClass(t){return st.contains(this.classes,t)}toNode(){return kK.call(this,"a")}toMarkup(){return UK.call(this,"a")}},HK=class{constructor(t,n,r){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=n,this.src=t,this.classes=["mord"],this.style=r}hasClass(t){return st.contains(this.classes,t)}toNode(){var t=document.createElement("img");t.src=this.src,t.alt=this.alt,t.className="mord";for(var n in this.style)this.style.hasOwnProperty(n)&&(t.style[n]=this.style[n]);return t}toMarkup(){var t=''+st.escape(this.alt)+'0&&(n=document.createElement("span"),n.style.marginRight=Le(this.italic)),this.classes.length>0&&(n=n||document.createElement("span"),n.className=ff(this.classes));for(var r in this.style)this.style.hasOwnProperty(r)&&(n=n||document.createElement("span"),n.style[r]=this.style[r]);return n?(n.appendChild(t),n):t}toMarkup(){var t=!1,n="0&&(r+="margin-right:"+this.italic+"em;");for(var a in this.style)this.style.hasOwnProperty(a)&&(r+=st.hyphenate(a)+":"+this.style[a]+";");r&&(t=!0,n+=' style="'+st.escape(r)+'"');var o=st.escape(this.text);return t?(n+=">",n+=o,n+="",n):o}},Dl=class{constructor(t,n){this.children=void 0,this.attributes=void 0,this.children=t||[],this.attributes=n||{}}toNode(){var t="http://www.w3.org/2000/svg",n=document.createElementNS(t,"svg");for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&n.setAttribute(r,this.attributes[r]);for(var a=0;a':''}},A4=class{constructor(t){this.attributes=void 0,this.attributes=t||{}}toNode(){var t="http://www.w3.org/2000/svg",n=document.createElementNS(t,"line");for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&n.setAttribute(r,this.attributes[r]);return n}toMarkup(){var t=" but got "+String(e)+".")}var BIe={bin:1,close:1,inner:1,open:1,punct:1,rel:1},WIe={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},qn={math:{},text:{}};function g(e,t,n,r,a,o){qn[e][a]={font:t,group:n,replace:r},o&&r&&(qn[e][r]=qn[e][a])}var w="math",he="text",E="main",k="ams",rr="accent-token",Ye="bin",no="close",Yv="inner",ht="mathord",Br="op-token",pi="open",L4="punct",B="rel",Ac="spacing",G="textord";g(w,E,B,"\u2261","\\equiv",!0);g(w,E,B,"\u227A","\\prec",!0);g(w,E,B,"\u227B","\\succ",!0);g(w,E,B,"\u223C","\\sim",!0);g(w,E,B,"\u22A5","\\perp");g(w,E,B,"\u2AAF","\\preceq",!0);g(w,E,B,"\u2AB0","\\succeq",!0);g(w,E,B,"\u2243","\\simeq",!0);g(w,E,B,"\u2223","\\mid",!0);g(w,E,B,"\u226A","\\ll",!0);g(w,E,B,"\u226B","\\gg",!0);g(w,E,B,"\u224D","\\asymp",!0);g(w,E,B,"\u2225","\\parallel");g(w,E,B,"\u22C8","\\bowtie",!0);g(w,E,B,"\u2323","\\smile",!0);g(w,E,B,"\u2291","\\sqsubseteq",!0);g(w,E,B,"\u2292","\\sqsupseteq",!0);g(w,E,B,"\u2250","\\doteq",!0);g(w,E,B,"\u2322","\\frown",!0);g(w,E,B,"\u220B","\\ni",!0);g(w,E,B,"\u221D","\\propto",!0);g(w,E,B,"\u22A2","\\vdash",!0);g(w,E,B,"\u22A3","\\dashv",!0);g(w,E,B,"\u220B","\\owns");g(w,E,L4,".","\\ldotp");g(w,E,L4,"\u22C5","\\cdotp");g(w,E,G,"#","\\#");g(he,E,G,"#","\\#");g(w,E,G,"&","\\&");g(he,E,G,"&","\\&");g(w,E,G,"\u2135","\\aleph",!0);g(w,E,G,"\u2200","\\forall",!0);g(w,E,G,"\u210F","\\hbar",!0);g(w,E,G,"\u2203","\\exists",!0);g(w,E,G,"\u2207","\\nabla",!0);g(w,E,G,"\u266D","\\flat",!0);g(w,E,G,"\u2113","\\ell",!0);g(w,E,G,"\u266E","\\natural",!0);g(w,E,G,"\u2663","\\clubsuit",!0);g(w,E,G,"\u2118","\\wp",!0);g(w,E,G,"\u266F","\\sharp",!0);g(w,E,G,"\u2662","\\diamondsuit",!0);g(w,E,G,"\u211C","\\Re",!0);g(w,E,G,"\u2661","\\heartsuit",!0);g(w,E,G,"\u2111","\\Im",!0);g(w,E,G,"\u2660","\\spadesuit",!0);g(w,E,G,"\xA7","\\S",!0);g(he,E,G,"\xA7","\\S");g(w,E,G,"\xB6","\\P",!0);g(he,E,G,"\xB6","\\P");g(w,E,G,"\u2020","\\dag");g(he,E,G,"\u2020","\\dag");g(he,E,G,"\u2020","\\textdagger");g(w,E,G,"\u2021","\\ddag");g(he,E,G,"\u2021","\\ddag");g(he,E,G,"\u2021","\\textdaggerdbl");g(w,E,no,"\u23B1","\\rmoustache",!0);g(w,E,pi,"\u23B0","\\lmoustache",!0);g(w,E,no,"\u27EF","\\rgroup",!0);g(w,E,pi,"\u27EE","\\lgroup",!0);g(w,E,Ye,"\u2213","\\mp",!0);g(w,E,Ye,"\u2296","\\ominus",!0);g(w,E,Ye,"\u228E","\\uplus",!0);g(w,E,Ye,"\u2293","\\sqcap",!0);g(w,E,Ye,"\u2217","\\ast");g(w,E,Ye,"\u2294","\\sqcup",!0);g(w,E,Ye,"\u25EF","\\bigcirc",!0);g(w,E,Ye,"\u2219","\\bullet",!0);g(w,E,Ye,"\u2021","\\ddagger");g(w,E,Ye,"\u2240","\\wr",!0);g(w,E,Ye,"\u2A3F","\\amalg");g(w,E,Ye,"&","\\And");g(w,E,B,"\u27F5","\\longleftarrow",!0);g(w,E,B,"\u21D0","\\Leftarrow",!0);g(w,E,B,"\u27F8","\\Longleftarrow",!0);g(w,E,B,"\u27F6","\\longrightarrow",!0);g(w,E,B,"\u21D2","\\Rightarrow",!0);g(w,E,B,"\u27F9","\\Longrightarrow",!0);g(w,E,B,"\u2194","\\leftrightarrow",!0);g(w,E,B,"\u27F7","\\longleftrightarrow",!0);g(w,E,B,"\u21D4","\\Leftrightarrow",!0);g(w,E,B,"\u27FA","\\Longleftrightarrow",!0);g(w,E,B,"\u21A6","\\mapsto",!0);g(w,E,B,"\u27FC","\\longmapsto",!0);g(w,E,B,"\u2197","\\nearrow",!0);g(w,E,B,"\u21A9","\\hookleftarrow",!0);g(w,E,B,"\u21AA","\\hookrightarrow",!0);g(w,E,B,"\u2198","\\searrow",!0);g(w,E,B,"\u21BC","\\leftharpoonup",!0);g(w,E,B,"\u21C0","\\rightharpoonup",!0);g(w,E,B,"\u2199","\\swarrow",!0);g(w,E,B,"\u21BD","\\leftharpoondown",!0);g(w,E,B,"\u21C1","\\rightharpoondown",!0);g(w,E,B,"\u2196","\\nwarrow",!0);g(w,E,B,"\u21CC","\\rightleftharpoons",!0);g(w,k,B,"\u226E","\\nless",!0);g(w,k,B,"\uE010","\\@nleqslant");g(w,k,B,"\uE011","\\@nleqq");g(w,k,B,"\u2A87","\\lneq",!0);g(w,k,B,"\u2268","\\lneqq",!0);g(w,k,B,"\uE00C","\\@lvertneqq");g(w,k,B,"\u22E6","\\lnsim",!0);g(w,k,B,"\u2A89","\\lnapprox",!0);g(w,k,B,"\u2280","\\nprec",!0);g(w,k,B,"\u22E0","\\npreceq",!0);g(w,k,B,"\u22E8","\\precnsim",!0);g(w,k,B,"\u2AB9","\\precnapprox",!0);g(w,k,B,"\u2241","\\nsim",!0);g(w,k,B,"\uE006","\\@nshortmid");g(w,k,B,"\u2224","\\nmid",!0);g(w,k,B,"\u22AC","\\nvdash",!0);g(w,k,B,"\u22AD","\\nvDash",!0);g(w,k,B,"\u22EA","\\ntriangleleft");g(w,k,B,"\u22EC","\\ntrianglelefteq",!0);g(w,k,B,"\u228A","\\subsetneq",!0);g(w,k,B,"\uE01A","\\@varsubsetneq");g(w,k,B,"\u2ACB","\\subsetneqq",!0);g(w,k,B,"\uE017","\\@varsubsetneqq");g(w,k,B,"\u226F","\\ngtr",!0);g(w,k,B,"\uE00F","\\@ngeqslant");g(w,k,B,"\uE00E","\\@ngeqq");g(w,k,B,"\u2A88","\\gneq",!0);g(w,k,B,"\u2269","\\gneqq",!0);g(w,k,B,"\uE00D","\\@gvertneqq");g(w,k,B,"\u22E7","\\gnsim",!0);g(w,k,B,"\u2A8A","\\gnapprox",!0);g(w,k,B,"\u2281","\\nsucc",!0);g(w,k,B,"\u22E1","\\nsucceq",!0);g(w,k,B,"\u22E9","\\succnsim",!0);g(w,k,B,"\u2ABA","\\succnapprox",!0);g(w,k,B,"\u2246","\\ncong",!0);g(w,k,B,"\uE007","\\@nshortparallel");g(w,k,B,"\u2226","\\nparallel",!0);g(w,k,B,"\u22AF","\\nVDash",!0);g(w,k,B,"\u22EB","\\ntriangleright");g(w,k,B,"\u22ED","\\ntrianglerighteq",!0);g(w,k,B,"\uE018","\\@nsupseteqq");g(w,k,B,"\u228B","\\supsetneq",!0);g(w,k,B,"\uE01B","\\@varsupsetneq");g(w,k,B,"\u2ACC","\\supsetneqq",!0);g(w,k,B,"\uE019","\\@varsupsetneqq");g(w,k,B,"\u22AE","\\nVdash",!0);g(w,k,B,"\u2AB5","\\precneqq",!0);g(w,k,B,"\u2AB6","\\succneqq",!0);g(w,k,B,"\uE016","\\@nsubseteqq");g(w,k,Ye,"\u22B4","\\unlhd");g(w,k,Ye,"\u22B5","\\unrhd");g(w,k,B,"\u219A","\\nleftarrow",!0);g(w,k,B,"\u219B","\\nrightarrow",!0);g(w,k,B,"\u21CD","\\nLeftarrow",!0);g(w,k,B,"\u21CF","\\nRightarrow",!0);g(w,k,B,"\u21AE","\\nleftrightarrow",!0);g(w,k,B,"\u21CE","\\nLeftrightarrow",!0);g(w,k,B,"\u25B3","\\vartriangle");g(w,k,G,"\u210F","\\hslash");g(w,k,G,"\u25BD","\\triangledown");g(w,k,G,"\u25CA","\\lozenge");g(w,k,G,"\u24C8","\\circledS");g(w,k,G,"\xAE","\\circledR");g(he,k,G,"\xAE","\\circledR");g(w,k,G,"\u2221","\\measuredangle",!0);g(w,k,G,"\u2204","\\nexists");g(w,k,G,"\u2127","\\mho");g(w,k,G,"\u2132","\\Finv",!0);g(w,k,G,"\u2141","\\Game",!0);g(w,k,G,"\u2035","\\backprime");g(w,k,G,"\u25B2","\\blacktriangle");g(w,k,G,"\u25BC","\\blacktriangledown");g(w,k,G,"\u25A0","\\blacksquare");g(w,k,G,"\u29EB","\\blacklozenge");g(w,k,G,"\u2605","\\bigstar");g(w,k,G,"\u2222","\\sphericalangle",!0);g(w,k,G,"\u2201","\\complement",!0);g(w,k,G,"\xF0","\\eth",!0);g(he,E,G,"\xF0","\xF0");g(w,k,G,"\u2571","\\diagup");g(w,k,G,"\u2572","\\diagdown");g(w,k,G,"\u25A1","\\square");g(w,k,G,"\u25A1","\\Box");g(w,k,G,"\u25CA","\\Diamond");g(w,k,G,"\xA5","\\yen",!0);g(he,k,G,"\xA5","\\yen",!0);g(w,k,G,"\u2713","\\checkmark",!0);g(he,k,G,"\u2713","\\checkmark");g(w,k,G,"\u2136","\\beth",!0);g(w,k,G,"\u2138","\\daleth",!0);g(w,k,G,"\u2137","\\gimel",!0);g(w,k,G,"\u03DD","\\digamma",!0);g(w,k,G,"\u03F0","\\varkappa");g(w,k,pi,"\u250C","\\@ulcorner",!0);g(w,k,no,"\u2510","\\@urcorner",!0);g(w,k,pi,"\u2514","\\@llcorner",!0);g(w,k,no,"\u2518","\\@lrcorner",!0);g(w,k,B,"\u2266","\\leqq",!0);g(w,k,B,"\u2A7D","\\leqslant",!0);g(w,k,B,"\u2A95","\\eqslantless",!0);g(w,k,B,"\u2272","\\lesssim",!0);g(w,k,B,"\u2A85","\\lessapprox",!0);g(w,k,B,"\u224A","\\approxeq",!0);g(w,k,Ye,"\u22D6","\\lessdot");g(w,k,B,"\u22D8","\\lll",!0);g(w,k,B,"\u2276","\\lessgtr",!0);g(w,k,B,"\u22DA","\\lesseqgtr",!0);g(w,k,B,"\u2A8B","\\lesseqqgtr",!0);g(w,k,B,"\u2251","\\doteqdot");g(w,k,B,"\u2253","\\risingdotseq",!0);g(w,k,B,"\u2252","\\fallingdotseq",!0);g(w,k,B,"\u223D","\\backsim",!0);g(w,k,B,"\u22CD","\\backsimeq",!0);g(w,k,B,"\u2AC5","\\subseteqq",!0);g(w,k,B,"\u22D0","\\Subset",!0);g(w,k,B,"\u228F","\\sqsubset",!0);g(w,k,B,"\u227C","\\preccurlyeq",!0);g(w,k,B,"\u22DE","\\curlyeqprec",!0);g(w,k,B,"\u227E","\\precsim",!0);g(w,k,B,"\u2AB7","\\precapprox",!0);g(w,k,B,"\u22B2","\\vartriangleleft");g(w,k,B,"\u22B4","\\trianglelefteq");g(w,k,B,"\u22A8","\\vDash",!0);g(w,k,B,"\u22AA","\\Vvdash",!0);g(w,k,B,"\u2323","\\smallsmile");g(w,k,B,"\u2322","\\smallfrown");g(w,k,B,"\u224F","\\bumpeq",!0);g(w,k,B,"\u224E","\\Bumpeq",!0);g(w,k,B,"\u2267","\\geqq",!0);g(w,k,B,"\u2A7E","\\geqslant",!0);g(w,k,B,"\u2A96","\\eqslantgtr",!0);g(w,k,B,"\u2273","\\gtrsim",!0);g(w,k,B,"\u2A86","\\gtrapprox",!0);g(w,k,Ye,"\u22D7","\\gtrdot");g(w,k,B,"\u22D9","\\ggg",!0);g(w,k,B,"\u2277","\\gtrless",!0);g(w,k,B,"\u22DB","\\gtreqless",!0);g(w,k,B,"\u2A8C","\\gtreqqless",!0);g(w,k,B,"\u2256","\\eqcirc",!0);g(w,k,B,"\u2257","\\circeq",!0);g(w,k,B,"\u225C","\\triangleq",!0);g(w,k,B,"\u223C","\\thicksim");g(w,k,B,"\u2248","\\thickapprox");g(w,k,B,"\u2AC6","\\supseteqq",!0);g(w,k,B,"\u22D1","\\Supset",!0);g(w,k,B,"\u2290","\\sqsupset",!0);g(w,k,B,"\u227D","\\succcurlyeq",!0);g(w,k,B,"\u22DF","\\curlyeqsucc",!0);g(w,k,B,"\u227F","\\succsim",!0);g(w,k,B,"\u2AB8","\\succapprox",!0);g(w,k,B,"\u22B3","\\vartriangleright");g(w,k,B,"\u22B5","\\trianglerighteq");g(w,k,B,"\u22A9","\\Vdash",!0);g(w,k,B,"\u2223","\\shortmid");g(w,k,B,"\u2225","\\shortparallel");g(w,k,B,"\u226C","\\between",!0);g(w,k,B,"\u22D4","\\pitchfork",!0);g(w,k,B,"\u221D","\\varpropto");g(w,k,B,"\u25C0","\\blacktriangleleft");g(w,k,B,"\u2234","\\therefore",!0);g(w,k,B,"\u220D","\\backepsilon");g(w,k,B,"\u25B6","\\blacktriangleright");g(w,k,B,"\u2235","\\because",!0);g(w,k,B,"\u22D8","\\llless");g(w,k,B,"\u22D9","\\gggtr");g(w,k,Ye,"\u22B2","\\lhd");g(w,k,Ye,"\u22B3","\\rhd");g(w,k,B,"\u2242","\\eqsim",!0);g(w,E,B,"\u22C8","\\Join");g(w,k,B,"\u2251","\\Doteq",!0);g(w,k,Ye,"\u2214","\\dotplus",!0);g(w,k,Ye,"\u2216","\\smallsetminus");g(w,k,Ye,"\u22D2","\\Cap",!0);g(w,k,Ye,"\u22D3","\\Cup",!0);g(w,k,Ye,"\u2A5E","\\doublebarwedge",!0);g(w,k,Ye,"\u229F","\\boxminus",!0);g(w,k,Ye,"\u229E","\\boxplus",!0);g(w,k,Ye,"\u22C7","\\divideontimes",!0);g(w,k,Ye,"\u22C9","\\ltimes",!0);g(w,k,Ye,"\u22CA","\\rtimes",!0);g(w,k,Ye,"\u22CB","\\leftthreetimes",!0);g(w,k,Ye,"\u22CC","\\rightthreetimes",!0);g(w,k,Ye,"\u22CF","\\curlywedge",!0);g(w,k,Ye,"\u22CE","\\curlyvee",!0);g(w,k,Ye,"\u229D","\\circleddash",!0);g(w,k,Ye,"\u229B","\\circledast",!0);g(w,k,Ye,"\u22C5","\\centerdot");g(w,k,Ye,"\u22BA","\\intercal",!0);g(w,k,Ye,"\u22D2","\\doublecap");g(w,k,Ye,"\u22D3","\\doublecup");g(w,k,Ye,"\u22A0","\\boxtimes",!0);g(w,k,B,"\u21E2","\\dashrightarrow",!0);g(w,k,B,"\u21E0","\\dashleftarrow",!0);g(w,k,B,"\u21C7","\\leftleftarrows",!0);g(w,k,B,"\u21C6","\\leftrightarrows",!0);g(w,k,B,"\u21DA","\\Lleftarrow",!0);g(w,k,B,"\u219E","\\twoheadleftarrow",!0);g(w,k,B,"\u21A2","\\leftarrowtail",!0);g(w,k,B,"\u21AB","\\looparrowleft",!0);g(w,k,B,"\u21CB","\\leftrightharpoons",!0);g(w,k,B,"\u21B6","\\curvearrowleft",!0);g(w,k,B,"\u21BA","\\circlearrowleft",!0);g(w,k,B,"\u21B0","\\Lsh",!0);g(w,k,B,"\u21C8","\\upuparrows",!0);g(w,k,B,"\u21BF","\\upharpoonleft",!0);g(w,k,B,"\u21C3","\\downharpoonleft",!0);g(w,E,B,"\u22B6","\\origof",!0);g(w,E,B,"\u22B7","\\imageof",!0);g(w,k,B,"\u22B8","\\multimap",!0);g(w,k,B,"\u21AD","\\leftrightsquigarrow",!0);g(w,k,B,"\u21C9","\\rightrightarrows",!0);g(w,k,B,"\u21C4","\\rightleftarrows",!0);g(w,k,B,"\u21A0","\\twoheadrightarrow",!0);g(w,k,B,"\u21A3","\\rightarrowtail",!0);g(w,k,B,"\u21AC","\\looparrowright",!0);g(w,k,B,"\u21B7","\\curvearrowright",!0);g(w,k,B,"\u21BB","\\circlearrowright",!0);g(w,k,B,"\u21B1","\\Rsh",!0);g(w,k,B,"\u21CA","\\downdownarrows",!0);g(w,k,B,"\u21BE","\\upharpoonright",!0);g(w,k,B,"\u21C2","\\downharpoonright",!0);g(w,k,B,"\u21DD","\\rightsquigarrow",!0);g(w,k,B,"\u21DD","\\leadsto");g(w,k,B,"\u21DB","\\Rrightarrow",!0);g(w,k,B,"\u21BE","\\restriction");g(w,E,G,"\u2018","`");g(w,E,G,"$","\\$");g(he,E,G,"$","\\$");g(he,E,G,"$","\\textdollar");g(w,E,G,"%","\\%");g(he,E,G,"%","\\%");g(w,E,G,"_","\\_");g(he,E,G,"_","\\_");g(he,E,G,"_","\\textunderscore");g(w,E,G,"\u2220","\\angle",!0);g(w,E,G,"\u221E","\\infty",!0);g(w,E,G,"\u2032","\\prime");g(w,E,G,"\u25B3","\\triangle");g(w,E,G,"\u0393","\\Gamma",!0);g(w,E,G,"\u0394","\\Delta",!0);g(w,E,G,"\u0398","\\Theta",!0);g(w,E,G,"\u039B","\\Lambda",!0);g(w,E,G,"\u039E","\\Xi",!0);g(w,E,G,"\u03A0","\\Pi",!0);g(w,E,G,"\u03A3","\\Sigma",!0);g(w,E,G,"\u03A5","\\Upsilon",!0);g(w,E,G,"\u03A6","\\Phi",!0);g(w,E,G,"\u03A8","\\Psi",!0);g(w,E,G,"\u03A9","\\Omega",!0);g(w,E,G,"A","\u0391");g(w,E,G,"B","\u0392");g(w,E,G,"E","\u0395");g(w,E,G,"Z","\u0396");g(w,E,G,"H","\u0397");g(w,E,G,"I","\u0399");g(w,E,G,"K","\u039A");g(w,E,G,"M","\u039C");g(w,E,G,"N","\u039D");g(w,E,G,"O","\u039F");g(w,E,G,"P","\u03A1");g(w,E,G,"T","\u03A4");g(w,E,G,"X","\u03A7");g(w,E,G,"\xAC","\\neg",!0);g(w,E,G,"\xAC","\\lnot");g(w,E,G,"\u22A4","\\top");g(w,E,G,"\u22A5","\\bot");g(w,E,G,"\u2205","\\emptyset");g(w,k,G,"\u2205","\\varnothing");g(w,E,ht,"\u03B1","\\alpha",!0);g(w,E,ht,"\u03B2","\\beta",!0);g(w,E,ht,"\u03B3","\\gamma",!0);g(w,E,ht,"\u03B4","\\delta",!0);g(w,E,ht,"\u03F5","\\epsilon",!0);g(w,E,ht,"\u03B6","\\zeta",!0);g(w,E,ht,"\u03B7","\\eta",!0);g(w,E,ht,"\u03B8","\\theta",!0);g(w,E,ht,"\u03B9","\\iota",!0);g(w,E,ht,"\u03BA","\\kappa",!0);g(w,E,ht,"\u03BB","\\lambda",!0);g(w,E,ht,"\u03BC","\\mu",!0);g(w,E,ht,"\u03BD","\\nu",!0);g(w,E,ht,"\u03BE","\\xi",!0);g(w,E,ht,"\u03BF","\\omicron",!0);g(w,E,ht,"\u03C0","\\pi",!0);g(w,E,ht,"\u03C1","\\rho",!0);g(w,E,ht,"\u03C3","\\sigma",!0);g(w,E,ht,"\u03C4","\\tau",!0);g(w,E,ht,"\u03C5","\\upsilon",!0);g(w,E,ht,"\u03D5","\\phi",!0);g(w,E,ht,"\u03C7","\\chi",!0);g(w,E,ht,"\u03C8","\\psi",!0);g(w,E,ht,"\u03C9","\\omega",!0);g(w,E,ht,"\u03B5","\\varepsilon",!0);g(w,E,ht,"\u03D1","\\vartheta",!0);g(w,E,ht,"\u03D6","\\varpi",!0);g(w,E,ht,"\u03F1","\\varrho",!0);g(w,E,ht,"\u03C2","\\varsigma",!0);g(w,E,ht,"\u03C6","\\varphi",!0);g(w,E,Ye,"\u2217","*",!0);g(w,E,Ye,"+","+");g(w,E,Ye,"\u2212","-",!0);g(w,E,Ye,"\u22C5","\\cdot",!0);g(w,E,Ye,"\u2218","\\circ",!0);g(w,E,Ye,"\xF7","\\div",!0);g(w,E,Ye,"\xB1","\\pm",!0);g(w,E,Ye,"\xD7","\\times",!0);g(w,E,Ye,"\u2229","\\cap",!0);g(w,E,Ye,"\u222A","\\cup",!0);g(w,E,Ye,"\u2216","\\setminus",!0);g(w,E,Ye,"\u2227","\\land");g(w,E,Ye,"\u2228","\\lor");g(w,E,Ye,"\u2227","\\wedge",!0);g(w,E,Ye,"\u2228","\\vee",!0);g(w,E,G,"\u221A","\\surd");g(w,E,pi,"\u27E8","\\langle",!0);g(w,E,pi,"\u2223","\\lvert");g(w,E,pi,"\u2225","\\lVert");g(w,E,no,"?","?");g(w,E,no,"!","!");g(w,E,no,"\u27E9","\\rangle",!0);g(w,E,no,"\u2223","\\rvert");g(w,E,no,"\u2225","\\rVert");g(w,E,B,"=","=");g(w,E,B,":",":");g(w,E,B,"\u2248","\\approx",!0);g(w,E,B,"\u2245","\\cong",!0);g(w,E,B,"\u2265","\\ge");g(w,E,B,"\u2265","\\geq",!0);g(w,E,B,"\u2190","\\gets");g(w,E,B,">","\\gt",!0);g(w,E,B,"\u2208","\\in",!0);g(w,E,B,"\uE020","\\@not");g(w,E,B,"\u2282","\\subset",!0);g(w,E,B,"\u2283","\\supset",!0);g(w,E,B,"\u2286","\\subseteq",!0);g(w,E,B,"\u2287","\\supseteq",!0);g(w,k,B,"\u2288","\\nsubseteq",!0);g(w,k,B,"\u2289","\\nsupseteq",!0);g(w,E,B,"\u22A8","\\models");g(w,E,B,"\u2190","\\leftarrow",!0);g(w,E,B,"\u2264","\\le");g(w,E,B,"\u2264","\\leq",!0);g(w,E,B,"<","\\lt",!0);g(w,E,B,"\u2192","\\rightarrow",!0);g(w,E,B,"\u2192","\\to");g(w,k,B,"\u2271","\\ngeq",!0);g(w,k,B,"\u2270","\\nleq",!0);g(w,E,Ac,"\xA0","\\ ");g(w,E,Ac,"\xA0","\\space");g(w,E,Ac,"\xA0","\\nobreakspace");g(he,E,Ac,"\xA0","\\ ");g(he,E,Ac,"\xA0"," ");g(he,E,Ac,"\xA0","\\space");g(he,E,Ac,"\xA0","\\nobreakspace");g(w,E,Ac,null,"\\nobreak");g(w,E,Ac,null,"\\allowbreak");g(w,E,L4,",",",");g(w,E,L4,";",";");g(w,k,Ye,"\u22BC","\\barwedge",!0);g(w,k,Ye,"\u22BB","\\veebar",!0);g(w,E,Ye,"\u2299","\\odot",!0);g(w,E,Ye,"\u2295","\\oplus",!0);g(w,E,Ye,"\u2297","\\otimes",!0);g(w,E,G,"\u2202","\\partial",!0);g(w,E,Ye,"\u2298","\\oslash",!0);g(w,k,Ye,"\u229A","\\circledcirc",!0);g(w,k,Ye,"\u22A1","\\boxdot",!0);g(w,E,Ye,"\u25B3","\\bigtriangleup");g(w,E,Ye,"\u25BD","\\bigtriangledown");g(w,E,Ye,"\u2020","\\dagger");g(w,E,Ye,"\u22C4","\\diamond");g(w,E,Ye,"\u22C6","\\star");g(w,E,Ye,"\u25C3","\\triangleleft");g(w,E,Ye,"\u25B9","\\triangleright");g(w,E,pi,"{","\\{");g(he,E,G,"{","\\{");g(he,E,G,"{","\\textbraceleft");g(w,E,no,"}","\\}");g(he,E,G,"}","\\}");g(he,E,G,"}","\\textbraceright");g(w,E,pi,"{","\\lbrace");g(w,E,no,"}","\\rbrace");g(w,E,pi,"[","\\lbrack",!0);g(he,E,G,"[","\\lbrack",!0);g(w,E,no,"]","\\rbrack",!0);g(he,E,G,"]","\\rbrack",!0);g(w,E,pi,"(","\\lparen",!0);g(w,E,no,")","\\rparen",!0);g(he,E,G,"<","\\textless",!0);g(he,E,G,">","\\textgreater",!0);g(w,E,pi,"\u230A","\\lfloor",!0);g(w,E,no,"\u230B","\\rfloor",!0);g(w,E,pi,"\u2308","\\lceil",!0);g(w,E,no,"\u2309","\\rceil",!0);g(w,E,G,"\\","\\backslash");g(w,E,G,"\u2223","|");g(w,E,G,"\u2223","\\vert");g(he,E,G,"|","\\textbar",!0);g(w,E,G,"\u2225","\\|");g(w,E,G,"\u2225","\\Vert");g(he,E,G,"\u2225","\\textbardbl");g(he,E,G,"~","\\textasciitilde");g(he,E,G,"\\","\\textbackslash");g(he,E,G,"^","\\textasciicircum");g(w,E,B,"\u2191","\\uparrow",!0);g(w,E,B,"\u21D1","\\Uparrow",!0);g(w,E,B,"\u2193","\\downarrow",!0);g(w,E,B,"\u21D3","\\Downarrow",!0);g(w,E,B,"\u2195","\\updownarrow",!0);g(w,E,B,"\u21D5","\\Updownarrow",!0);g(w,E,Br,"\u2210","\\coprod");g(w,E,Br,"\u22C1","\\bigvee");g(w,E,Br,"\u22C0","\\bigwedge");g(w,E,Br,"\u2A04","\\biguplus");g(w,E,Br,"\u22C2","\\bigcap");g(w,E,Br,"\u22C3","\\bigcup");g(w,E,Br,"\u222B","\\int");g(w,E,Br,"\u222B","\\intop");g(w,E,Br,"\u222C","\\iint");g(w,E,Br,"\u222D","\\iiint");g(w,E,Br,"\u220F","\\prod");g(w,E,Br,"\u2211","\\sum");g(w,E,Br,"\u2A02","\\bigotimes");g(w,E,Br,"\u2A01","\\bigoplus");g(w,E,Br,"\u2A00","\\bigodot");g(w,E,Br,"\u222E","\\oint");g(w,E,Br,"\u222F","\\oiint");g(w,E,Br,"\u2230","\\oiiint");g(w,E,Br,"\u2A06","\\bigsqcup");g(w,E,Br,"\u222B","\\smallint");g(he,E,Yv,"\u2026","\\textellipsis");g(w,E,Yv,"\u2026","\\mathellipsis");g(he,E,Yv,"\u2026","\\ldots",!0);g(w,E,Yv,"\u2026","\\ldots",!0);g(w,E,Yv,"\u22EF","\\@cdots",!0);g(w,E,Yv,"\u22F1","\\ddots",!0);g(w,E,G,"\u22EE","\\varvdots");g(he,E,G,"\u22EE","\\varvdots");g(w,E,rr,"\u02CA","\\acute");g(w,E,rr,"\u02CB","\\grave");g(w,E,rr,"\xA8","\\ddot");g(w,E,rr,"~","\\tilde");g(w,E,rr,"\u02C9","\\bar");g(w,E,rr,"\u02D8","\\breve");g(w,E,rr,"\u02C7","\\check");g(w,E,rr,"^","\\hat");g(w,E,rr,"\u20D7","\\vec");g(w,E,rr,"\u02D9","\\dot");g(w,E,rr,"\u02DA","\\mathring");g(w,E,ht,"\uE131","\\@imath");g(w,E,ht,"\uE237","\\@jmath");g(w,E,G,"\u0131","\u0131");g(w,E,G,"\u0237","\u0237");g(he,E,G,"\u0131","\\i",!0);g(he,E,G,"\u0237","\\j",!0);g(he,E,G,"\xDF","\\ss",!0);g(he,E,G,"\xE6","\\ae",!0);g(he,E,G,"\u0153","\\oe",!0);g(he,E,G,"\xF8","\\o",!0);g(he,E,G,"\xC6","\\AE",!0);g(he,E,G,"\u0152","\\OE",!0);g(he,E,G,"\xD8","\\O",!0);g(he,E,rr,"\u02CA","\\'");g(he,E,rr,"\u02CB","\\`");g(he,E,rr,"\u02C6","\\^");g(he,E,rr,"\u02DC","\\~");g(he,E,rr,"\u02C9","\\=");g(he,E,rr,"\u02D8","\\u");g(he,E,rr,"\u02D9","\\.");g(he,E,rr,"\xB8","\\c");g(he,E,rr,"\u02DA","\\r");g(he,E,rr,"\u02C7","\\v");g(he,E,rr,"\xA8",'\\"');g(he,E,rr,"\u02DD","\\H");g(he,E,rr,"\u25EF","\\textcircled");var WK={"--":!0,"---":!0,"``":!0,"''":!0};g(he,E,G,"\u2013","--",!0);g(he,E,G,"\u2013","\\textendash");g(he,E,G,"\u2014","---",!0);g(he,E,G,"\u2014","\\textemdash");g(he,E,G,"\u2018","`",!0);g(he,E,G,"\u2018","\\textquoteleft");g(he,E,G,"\u2019","'",!0);g(he,E,G,"\u2019","\\textquoteright");g(he,E,G,"\u201C","``",!0);g(he,E,G,"\u201C","\\textquotedblleft");g(he,E,G,"\u201D","''",!0);g(he,E,G,"\u201D","\\textquotedblright");g(w,E,G,"\xB0","\\degree",!0);g(he,E,G,"\xB0","\\degree");g(he,E,G,"\xB0","\\textdegree",!0);g(w,E,G,"\xA3","\\pounds");g(w,E,G,"\xA3","\\mathsterling",!0);g(he,E,G,"\xA3","\\pounds");g(he,E,G,"\xA3","\\textsterling",!0);g(w,k,G,"\u2720","\\maltese");g(he,k,G,"\u2720","\\maltese");var zK='0123456789/@."';for(j4=0;j40)return yu(o,c,a,n,i.concat(s));if(u){var f,d;if(u==="boldsymbol"){var p=qIe(o,a,n,i,r);f=p.fontName,d=[p.fontClass]}else l?(f=JK[u].fontName,d=[u]):(f=B4(u,n.fontWeight,n.fontShape),d=[u,n.fontWeight,n.fontShape]);if(H4(o,f,a).metrics)return yu(o,f,a,n,i.concat(d));if(WK.hasOwnProperty(o)&&f.slice(0,10)==="Typewriter"){for(var m=[],y=0;y{if(ff(e.classes)!==ff(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(e.classes.length===1){var n=e.classes[0];if(n==="mbin"||n==="mord")return!1}for(var r in e.style)if(e.style.hasOwnProperty(r)&&e.style[r]!==t.style[r])return!1;for(var a in t.style)if(t.style.hasOwnProperty(a)&&e.style[a]!==t.style[a])return!1;return!0},JIe=e=>{for(var t=0;tn&&(n=i.height),i.depth>r&&(r=i.depth),i.maxFontSize>a&&(a=i.maxFontSize)}t.height=n,t.depth=r,t.maxFontSize=a},To=function(t,n,r,a){var o=new Xv(t,n,r,a);return m8(o),o},GK=(e,t,n,r)=>new Xv(e,t,n,r),XIe=function(t,n,r){var a=To([t],[],n);return a.height=Math.max(r||n.fontMetrics().defaultRuleThickness,n.minRuleThickness),a.style.borderBottomWidth=Le(a.height),a.maxFontSize=1,a},YIe=function(t,n,r,a){var o=new I4(t,n,r,a);return m8(o),o},VK=function(t){var n=new Jv(t);return m8(n),n},ZIe=function(t,n){return t instanceof Jv?To([],[t],n):t},QIe=function(t){if(t.positionType==="individualShift"){for(var n=t.children,r=[n[0]],a=-n[0].shift-n[0].elem.depth,o=a,i=1;i{var n=To(["mspace"],[],t),r=fr(e,t);return n.style.marginRight=Le(r),n},B4=function(t,n,r){var a="";switch(t){case"amsrm":a="AMS";break;case"textrm":a="Main";break;case"textsf":a="SansSerif";break;case"texttt":a="Typewriter";break;default:a=t}var o;return n==="textbf"&&r==="textit"?o="BoldItalic":n==="textbf"?o="Bold":n==="textit"?o="Italic":o="Regular",a+"-"+o},JK={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"}},XK={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},tAe=function(t,n){var[r,a,o]=XK[t],i=new Ic(r),l=new Dl([i],{width:Le(a),height:Le(o),style:"width:"+Le(a),viewBox:"0 0 "+1e3*a+" "+1e3*o,preserveAspectRatio:"xMinYMin"}),u=GK(["overlay"],[l],n);return u.height=o,u.style.height=Le(o),u.style.width=Le(a),u},K={fontMap:JK,makeSymbol:yu,mathsym:$Ie,makeSpan:To,makeSvgSpan:GK,makeLineSpan:XIe,makeAnchor:YIe,makeFragment:VK,wrapFragment:ZIe,makeVList:KIe,makeOrd:GIe,makeGlue:eAe,staticSvg:tAe,svgData:XK,tryCombineChars:JIe},pr={number:3,unit:"mu"},hp={number:4,unit:"mu"},jc={number:5,unit:"mu"},nAe={mord:{mop:pr,mbin:hp,mrel:jc,minner:pr},mop:{mord:pr,mop:pr,mrel:jc,minner:pr},mbin:{mord:hp,mop:hp,mopen:hp,minner:hp},mrel:{mord:jc,mop:jc,mopen:jc,minner:jc},mopen:{},mclose:{mop:pr,mbin:hp,mrel:jc,minner:pr},mpunct:{mord:pr,mop:pr,mrel:jc,mopen:pr,mclose:pr,mpunct:pr,minner:pr},minner:{mord:pr,mop:pr,mbin:hp,mrel:jc,mopen:pr,mpunct:pr,minner:pr}},rAe={mord:{mop:pr},mop:{mord:pr,mop:pr},mbin:{},mrel:{},mopen:{},mclose:{mop:pr},mpunct:{},minner:{mop:pr}},YK={},W4={},z4={};function $e(e){for(var{type:t,names:n,props:r,handler:a,htmlBuilder:o,mathmlBuilder:i}=e,l={type:t,numArgs:r.numArgs,argTypes:r.argTypes,allowedInArgument:!!r.allowedInArgument,allowedInText:!!r.allowedInText,allowedInMath:r.allowedInMath===void 0?!0:r.allowedInMath,numOptionalArgs:r.numOptionalArgs||0,infix:!!r.infix,primitive:!!r.primitive,handler:a},u=0;u{var _=y.classes[0],D=m.classes[0];_==="mbin"&&st.contains(oAe,D)?y.classes[0]="mord":D==="mbin"&&st.contains(aAe,_)&&(m.classes[0]="mord")},{node:f},d,p),ZK(o,(m,y)=>{var _=v8(y),D=v8(m),C=_&&D?m.hasClass("mtight")?rAe[_][D]:nAe[_][D]:null;if(C)return K.makeGlue(C,c)},{node:f},d,p),o},ZK=function e(t,n,r,a,o){a&&t.push(a);for(var i=0;id=>{t.splice(f+1,0,d),i++})(i)}a&&t.pop()},QK=function(t){return t instanceof Jv||t instanceof I4||t instanceof Xv&&t.hasClass("enclosing")?t:null},lAe=function e(t,n){var r=QK(t);if(r){var a=r.children;if(a.length){if(n==="right")return e(a[a.length-1],"right");if(n==="left")return e(a[0],"left")}}return t},v8=function(t,n){return t?(n&&(t=lAe(t,n)),uAe[t.classes[0]]||null):null},W1=function(t,n){var r=["nulldelimiter"].concat(t.baseSizingClasses());return Pc(n.concat(r))},vn=function(t,n,r){if(!t)return Pc();if(W4[t.type]){var a=W4[t.type](t,n);if(r&&n.size!==r.size){a=Pc(n.sizingClasses(r),[a],n);var o=n.sizeMultiplier/r.sizeMultiplier;a.height*=o,a.depth*=o}return a}else throw new Ce("Got group of unknown type: '"+t.type+"'")};function q4(e,t){var n=Pc(["base"],e,t),r=Pc(["strut"]);return r.style.height=Le(n.height+n.depth),n.depth&&(r.style.verticalAlign=Le(-n.depth)),n.children.unshift(r),n}function h8(e,t){var n=null;e.length===1&&e[0].type==="tag"&&(n=e[0].tag,e=e[0].body);var r=ea(e,t,"root"),a;r.length===2&&r[1].hasClass("tag")&&(a=r.pop());for(var o=[],i=[],l=0;l0&&(o.push(q4(i,t)),i=[]),o.push(r[l]));i.length>0&&o.push(q4(i,t));var c;n?(c=q4(ea(n,t,!0)),c.classes=["tag"],o.push(c)):a&&o.push(a);var s=Pc(["katex-html"],o);if(s.setAttribute("aria-hidden","true"),c){var f=c.children[0];f.style.height=Le(s.height+s.depth),s.depth&&(f.style.verticalAlign=Le(-s.depth))}return s}function KK(e){return new Jv(e)}var Eo=class{constructor(t,n,r){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=t,this.attributes={},this.children=n||[],this.classes=r||[]}setAttribute(t,n){this.attributes[t]=n}getAttribute(t){return this.attributes[t]}toNode(){var t=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&t.setAttribute(n,this.attributes[n]);this.classes.length>0&&(t.className=ff(this.classes));for(var r=0;r0&&(t+=' class ="'+st.escape(ff(this.classes))+'"'),t+=">";for(var r=0;r",t}toText(){return this.children.map(t=>t.toText()).join("")}},Du=class{constructor(t){this.text=void 0,this.text=t}toNode(){return document.createTextNode(this.text)}toMarkup(){return st.escape(this.toText())}toText(){return this.text}},eee=class{constructor(t){this.width=void 0,this.character=void 0,this.width=t,t>=.05555&&t<=.05556?this.character="\u200A":t>=.1666&&t<=.1667?this.character="\u2009":t>=.2222&&t<=.2223?this.character="\u2005":t>=.2777&&t<=.2778?this.character="\u2005\u200A":t>=-.05556&&t<=-.05555?this.character="\u200A\u2063":t>=-.1667&&t<=-.1666?this.character="\u2009\u2063":t>=-.2223&&t<=-.2222?this.character="\u205F\u2063":t>=-.2778&&t<=-.2777?this.character="\u2005\u2063":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var t=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return t.setAttribute("width",Le(this.width)),t}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}},ye={MathNode:Eo,TextNode:Du,SpaceNode:eee,newDocumentFragment:KK},$i=function(t,n,r){return qn[n][t]&&qn[n][t].replace&&t.charCodeAt(0)!==55349&&!(WK.hasOwnProperty(t)&&r&&(r.fontFamily&&r.fontFamily.slice(4,6)==="tt"||r.font&&r.font.slice(4,6)==="tt"))&&(t=qn[n][t].replace),new ye.TextNode(t)},_8=function(t){return t.length===1?t[0]:new ye.MathNode("mrow",t)},g8=function(t,n){if(n.fontFamily==="texttt")return"monospace";if(n.fontFamily==="textsf")return n.fontShape==="textit"&&n.fontWeight==="textbf"?"sans-serif-bold-italic":n.fontShape==="textit"?"sans-serif-italic":n.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(n.fontShape==="textit"&&n.fontWeight==="textbf")return"bold-italic";if(n.fontShape==="textit")return"italic";if(n.fontWeight==="textbf")return"bold";var r=n.font;if(!r||r==="mathnormal")return null;var a=t.mode;if(r==="mathit")return"italic";if(r==="boldsymbol")return t.type==="textord"?"bold":"bold-italic";if(r==="mathbf")return"bold";if(r==="mathbb")return"double-struck";if(r==="mathsfit")return"sans-serif-italic";if(r==="mathfrak")return"fraktur";if(r==="mathscr"||r==="mathcal")return"script";if(r==="mathsf")return"sans-serif";if(r==="mathtt")return"monospace";var o=t.text;if(st.contains(["\\imath","\\jmath"],o))return null;qn[a][o]&&qn[a][o].replace&&(o=qn[a][o].replace);var i=K.fontMap[r].fontName;return l8(o,i,a)?K.fontMap[r].variant:null};function y8(e){if(!e)return!1;if(e.type==="mi"&&e.children.length===1){var t=e.children[0];return t instanceof Du&&t.text==="."}else if(e.type==="mo"&&e.children.length===1&&e.getAttribute("separator")==="true"&&e.getAttribute("lspace")==="0em"&&e.getAttribute("rspace")==="0em"){var n=e.children[0];return n instanceof Du&&n.text===","}else return!1}var Ro=function(t,n,r){if(t.length===1){var a=Wn(t[0],n);return r&&a instanceof Eo&&a.type==="mo"&&(a.setAttribute("lspace","0em"),a.setAttribute("rspace","0em")),[a]}for(var o=[],i,l=0;l=1&&(i.type==="mn"||y8(i))){var c=u.children[0];c instanceof Eo&&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 Du&&s.text==="\u0338"&&(u.type==="mo"||u.type==="mi"||u.type==="mn")){var f=u.children[0];f instanceof Du&&f.text.length>0&&(f.text=f.text.slice(0,1)+"\u0338"+f.text.slice(1),o.pop())}}}o.push(u),i=u}return o},pf=function(t,n,r){return _8(Ro(t,n,r))},Wn=function(t,n){if(!t)return new ye.MathNode("mrow");if(z4[t.type]){var r=z4[t.type](t,n);return r}else throw new Ce("Got group of unknown type: '"+t.type+"'")};function tee(e,t,n,r,a){var o=Ro(e,n),i;o.length===1&&o[0]instanceof Eo&&st.contains(["mrow","mtable"],o[0].type)?i=o[0]:i=new ye.MathNode("mrow",o);var l=new ye.MathNode("annotation",[new ye.TextNode(t)]);l.setAttribute("encoding","application/x-tex");var u=new ye.MathNode("semantics",[i,l]),c=new ye.MathNode("math",[u]);c.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),r&&c.setAttribute("display","block");var s=a?"katex":"katex-mathml";return K.makeSpan([s],[c])}var nee=function(t){return new yl({style:t.displayMode?vt.DISPLAY:vt.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},ree=function(t,n){if(n.displayMode){var r=["katex-display"];n.leqno&&r.push("leqno"),n.fleqn&&r.push("fleqn"),t=K.makeSpan(r,[t])}return t},cAe=function(t,n,r){var a=nee(r),o;if(r.output==="mathml")return tee(t,n,a,r.displayMode,!0);if(r.output==="html"){var i=h8(t,a);o=K.makeSpan(["katex"],[i])}else{var l=tee(t,n,a,r.displayMode,!1),u=h8(t,a);o=K.makeSpan(["katex"],[l,u])}return ree(o,r)},sAe=function(t,n,r){var a=nee(r),o=h8(t,a),i=K.makeSpan(["katex"],[o]);return ree(i,r)},fAe={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":"="},dAe=function(t){var n=new ye.MathNode("mo",[new ye.TextNode(fAe[t.replace(/^\\/,"")])]);return n.setAttribute("stretchy","true"),n},pAe={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]},mAe=function(t){return t.type==="ordgroup"?t.body.length:1},vAe=function(t,n){function r(){var l=4e5,u=t.label.slice(1);if(st.contains(["widehat","widecheck","widetilde","utilde"],u)){var c=t,s=mAe(c.base),f,d,p;if(s>5)u==="widehat"||u==="widecheck"?(f=420,l=2364,p=.42,d=u+"4"):(f=312,l=2340,p=.34,d="tilde4");else{var m=[1,1,2,2,3,3][s];u==="widehat"||u==="widecheck"?(l=[0,1062,2364,2364,2364][m],f=[0,239,300,360,420][m],p=[0,.24,.3,.3,.36,.42][m],d=u+m):(l=[0,600,1033,2339,2340][m],f=[0,260,286,306,312][m],p=[0,.26,.286,.3,.306,.34][m],d="tilde"+m)}var y=new Ic(d),_=new Dl([y],{width:"100%",height:Le(p),viewBox:"0 0 "+l+" "+f,preserveAspectRatio:"none"});return{span:K.makeSvgSpan([],[_],n),minWidth:0,height:p}}else{var D=[],C=pAe[u],[R,I,A]=C,T=A/1e3,L=R.length,W,$;if(L===1){var ce=C[3];W=["hide-tail"],$=[ce]}else if(L===2)W=["halfarrow-left","halfarrow-right"],$=["xMinYMin","xMaxYMin"];else if(L===3)W=["brace-left","brace-center","brace-right"],$=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support `+L+" children.");for(var te=0;te0&&(a.style.minWidth=Le(o)),a},hAe=function(t,n,r,a,o){var i,l=t.height+t.depth+r+a;if(/fbox|color|angl/.test(n)){if(i=K.makeSpan(["stretchy",n],[],o),n==="fbox"){var u=o.color&&o.getColor();u&&(i.style.borderColor=u)}}else{var c=[];/^[bx]cancel$/.test(n)&&c.push(new A4({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(n)&&c.push(new A4({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var s=new Dl(c,{width:"100%",height:Le(l)});i=K.makeSvgSpan([],[s],o)}return i.height=l,i.style.height=Le(l),i},Nc={encloseSpan:hAe,mathMLnode:dAe,svgSpan:vAe};function Gt(e,t){if(!e||e.type!==t)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function D8(e){var t=G4(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function G4(e){return e&&(e.type==="atom"||WIe.hasOwnProperty(e.type))?e:null}var b8=(e,t)=>{var n,r,a;e&&e.type==="supsub"?(r=Gt(e.base,"accent"),n=r.base,e.base=n,a=HIe(vn(e,t)),e.base=r):(r=Gt(e,"accent"),n=r.base);var o=vn(n,t.havingCrampedStyle()),i=r.isShifty&&st.isCharacterBox(n),l=0;if(i){var u=st.getBaseElem(n),c=vn(u,t.havingCrampedStyle());l=BK(c).skew}var s=r.label==="\\c",f=s?o.height+o.depth:Math.min(o.height,t.fontMetrics().xHeight),d;if(r.isStretchy)d=Nc.svgSpan(r,t),d=K.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"elem",elem:d,wrapperClasses:["svg-align"],wrapperStyle:l>0?{width:"calc(100% - "+Le(2*l)+")",marginLeft:Le(2*l)}:void 0}]},t);else{var p,m;r.label==="\\vec"?(p=K.staticSvg("vec",t),m=K.svgData.vec[1]):(p=K.makeOrd({mode:r.mode,text:r.label},t,"textord"),p=BK(p),p.italic=0,m=p.width,s&&(f+=p.depth)),d=K.makeSpan(["accent-body"],[p]);var y=r.label==="\\textcircled";y&&(d.classes.push("accent-full"),f=o.height);var _=l;y||(_-=m/2),d.style.left=Le(_),r.label==="\\textcircled"&&(d.style.top=".2em"),d=K.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:-f},{type:"elem",elem:d}]},t)}var D=K.makeSpan(["mord","accent"],[d],t);return a?(a.children[0]=D,a.height=Math.max(D.height,a.height),a.classes[0]="mord",a):D},aee=(e,t)=>{var n=e.isStretchy?Nc.mathMLnode(e.label):new ye.MathNode("mo",[$i(e.label,e.mode)]),r=new ye.MathNode("mover",[Wn(e.base,t),n]);return r.setAttribute("accent","true"),r},_Ae=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));$e({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,t)=>{var n=$4(t[0]),r=!_Ae.test(e.funcName),a=!r||e.funcName==="\\widehat"||e.funcName==="\\widetilde"||e.funcName==="\\widecheck";return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:r,isShifty:a,base:n}},htmlBuilder:b8,mathmlBuilder:aee});$e({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,t)=>{var n=t[0],r=e.parser.mode;return r==="math"&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),r="text"),{type:"accent",mode:r,label:e.funcName,isStretchy:!1,isShifty:!0,base:n}},htmlBuilder:b8,mathmlBuilder:aee});$e({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:n,funcName:r}=e,a=t[0];return{type:"accentUnder",mode:n.mode,label:r,base:a}},htmlBuilder:(e,t)=>{var n=vn(e.base,t),r=Nc.svgSpan(e,t),a=e.label==="\\utilde"?.12:0,o=K.makeVList({positionType:"top",positionData:n.height,children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:a},{type:"elem",elem:n}]},t);return K.makeSpan(["mord","accentunder"],[o],t)},mathmlBuilder:(e,t)=>{var n=Nc.mathMLnode(e.label),r=new ye.MathNode("munder",[Wn(e.base,t),n]);return r.setAttribute("accentunder","true"),r}});var V4=e=>{var t=new ye.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};$e({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,t,n){var{parser:r,funcName:a}=e;return{type:"xArrow",mode:r.mode,label:a,body:t[0],below:n[0]}},htmlBuilder(e,t){var n=t.style,r=t.havingStyle(n.sup()),a=K.wrapFragment(vn(e.body,r,t),t),o=e.label.slice(0,2)==="\\x"?"x":"cd";a.classes.push(o+"-arrow-pad");var i;e.below&&(r=t.havingStyle(n.sub()),i=K.wrapFragment(vn(e.below,r,t),t),i.classes.push(o+"-arrow-pad"));var l=Nc.svgSpan(e,t),u=-t.fontMetrics().axisHeight+.5*l.height,c=-t.fontMetrics().axisHeight-.5*l.height-.111;(a.depth>.25||e.label==="\\xleftequilibrium")&&(c-=a.depth);var s;if(i){var f=-t.fontMetrics().axisHeight+i.height+.5*l.height+.111;s=K.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:c},{type:"elem",elem:l,shift:u},{type:"elem",elem:i,shift:f}]},t)}else s=K.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:c},{type:"elem",elem:l,shift:u}]},t);return s.children[0].children[0].children[1].classes.push("svg-align"),K.makeSpan(["mrel","x-arrow"],[s],t)},mathmlBuilder(e,t){var n=Nc.mathMLnode(e.label);n.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var r;if(e.body){var a=V4(Wn(e.body,t));if(e.below){var o=V4(Wn(e.below,t));r=new ye.MathNode("munderover",[n,o,a])}else r=new ye.MathNode("mover",[n,a])}else if(e.below){var i=V4(Wn(e.below,t));r=new ye.MathNode("munder",[n,i])}else r=V4(),r=new ye.MathNode("mover",[n,r]);return r}});var gAe=K.makeSpan;function oee(e,t){var n=ea(e.body,t,!0);return gAe([e.mclass],n,t)}function iee(e,t){var n,r=Ro(e.body,t);return e.mclass==="minner"?n=new ye.MathNode("mpadded",r):e.mclass==="mord"?e.isCharacterBox?(n=r[0],n.type="mi"):n=new ye.MathNode("mi",r):(e.isCharacterBox?(n=r[0],n.type="mo"):n=new ye.MathNode("mo",r),e.mclass==="mbin"?(n.attributes.lspace="0.22em",n.attributes.rspace="0.22em"):e.mclass==="mpunct"?(n.attributes.lspace="0em",n.attributes.rspace="0.17em"):e.mclass==="mopen"||e.mclass==="mclose"?(n.attributes.lspace="0em",n.attributes.rspace="0em"):e.mclass==="minner"&&(n.attributes.lspace="0.0556em",n.attributes.width="+0.1111em")),n}$e({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:n,funcName:r}=e,a=t[0];return{type:"mclass",mode:n.mode,mclass:"m"+r.slice(5),body:Ar(a),isCharacterBox:st.isCharacterBox(a)}},htmlBuilder:oee,mathmlBuilder:iee});var J4=e=>{var t=e.type==="ordgroup"&&e.body.length?e.body[0]:e;return t.type==="atom"&&(t.family==="bin"||t.family==="rel")?"m"+t.family:"mord"};$e({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:n}=e;return{type:"mclass",mode:n.mode,mclass:J4(t[0]),body:Ar(t[1]),isCharacterBox:st.isCharacterBox(t[1])}}});$e({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var{parser:n,funcName:r}=e,a=t[1],o=t[0],i;r!=="\\stackrel"?i=J4(a):i="mrel";var l={type:"op",mode:a.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:r!=="\\stackrel",body:Ar(a)},u={type:"supsub",mode:o.mode,base:l,sup:r==="\\underset"?null:o,sub:r==="\\underset"?o:null};return{type:"mclass",mode:n.mode,mclass:i,body:[u],isCharacterBox:st.isCharacterBox(u)}},htmlBuilder:oee,mathmlBuilder:iee});$e({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:"pmb",mode:n.mode,mclass:J4(t[0]),body:Ar(t[0])}},htmlBuilder(e,t){var n=ea(e.body,t,!0),r=K.makeSpan([e.mclass],n,t);return r.style.textShadow="0.02em 0.01em 0.04px",r},mathmlBuilder(e,t){var n=Ro(e.body,t),r=new ye.MathNode("mstyle",n);return r.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),r}});var yAe={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},uee=()=>({type:"styling",body:[],mode:"math",style:"display"}),lee=e=>e.type==="textord"&&e.text==="@",DAe=(e,t)=>(e.type==="mathord"||e.type==="atom")&&e.text===t;function bAe(e,t,n){var r=yAe[e];switch(r){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return n.callFunction(r,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":{var a=n.callFunction("\\\\cdleft",[t[0]],[]),o={type:"atom",text:r,mode:"math",family:"rel"},i=n.callFunction("\\Big",[o],[]),l=n.callFunction("\\\\cdright",[t[1]],[]),u={type:"ordgroup",mode:"math",body:[a,i,l]};return n.callFunction("\\\\cdparent",[u],[])}case"\\\\cdlongequal":return n.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var c={type:"textord",text:"\\Vert",mode:"math"};return n.callFunction("\\Big",[c],[])}default:return{type:"textord",text:" ",mode:"math"}}}function wAe(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var n=e.fetch().text;if(n==="&"||n==="\\\\")e.consume();else if(n==="\\end"){t[t.length-1].length===0&&t.pop();break}else throw new Ce("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var r=[],a=[r],o=0;o-1))if("<>AV".indexOf(c)>-1)for(var f=0;f<2;f++){for(var d=!0,p=u+1;pAV=|." after @',i[u]);var m=bAe(c,s,e),y={type:"styling",body:[m],mode:"math",style:"display"};r.push(y),l=uee()}o%2==0?r.push(l):r.shift(),r=[],a.push(r)}e.gullet.endGroup(),e.gullet.endGroup();var _=new Array(a[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:a,arraystretch:1,addJot:!0,rowGaps:[null],cols:_,colSeparationType:"CD",hLinesBeforeRow:new Array(a.length+1).fill([])}}$e({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e;return{type:"cdlabel",mode:n.mode,side:r.slice(4),label:t[0]}},htmlBuilder(e,t){var n=t.havingStyle(t.style.sup()),r=K.wrapFragment(vn(e.label,n,t),t);return r.classes.push("cd-label-"+e.side),r.style.bottom=Le(.8-r.depth),r.height=0,r.depth=0,r},mathmlBuilder(e,t){var n=new ye.MathNode("mrow",[Wn(e.label,t)]);return n=new ye.MathNode("mpadded",[n]),n.setAttribute("width","0"),e.side==="left"&&n.setAttribute("lspace","-1width"),n.setAttribute("voffset","0.7em"),n=new ye.MathNode("mstyle",[n]),n.setAttribute("displaystyle","false"),n.setAttribute("scriptlevel","1"),n}});$e({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,t){var{parser:n}=e;return{type:"cdlabelparent",mode:n.mode,fragment:t[0]}},htmlBuilder(e,t){var n=K.wrapFragment(vn(e.fragment,t),t);return n.classes.push("cd-vert-arrow"),n},mathmlBuilder(e,t){return new ye.MathNode("mrow",[Wn(e.fragment,t)])}});$e({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:n}=e,r=Gt(t[0],"ordgroup"),a=r.body,o="",i=0;i=1114111)throw new Ce("\\@char with invalid code point "+o);return u<=65535?c=String.fromCharCode(u):(u-=65536,c=String.fromCharCode((u>>10)+55296,(u&1023)+56320)),{type:"textord",mode:n.mode,text:c}}});var cee=(e,t)=>{var n=ea(e.body,t.withColor(e.color),!1);return K.makeFragment(n)},see=(e,t)=>{var n=Ro(e.body,t.withColor(e.color)),r=new ye.MathNode("mstyle",n);return r.setAttribute("mathcolor",e.color),r};$e({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:n}=e,r=Gt(t[0],"color-token").color,a=t[1];return{type:"color",mode:n.mode,color:r,body:Ar(a)}},htmlBuilder:cee,mathmlBuilder:see});$e({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:n,breakOnTokenText:r}=e,a=Gt(t[0],"color-token").color;n.gullet.macros.set("\\current@color",a);var o=n.parseExpression(!0,r);return{type:"color",mode:n.mode,color:a,body:o}},htmlBuilder:cee,mathmlBuilder:see});$e({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,n){var{parser:r}=e,a=r.gullet.future().text==="["?r.parseSizeGroup(!0):null,o=!r.settings.displayMode||!r.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:r.mode,newLine:o,size:a&&Gt(a,"size").value}},htmlBuilder(e,t){var n=K.makeSpan(["mspace"],[],t);return e.newLine&&(n.classes.push("newline"),e.size&&(n.style.marginTop=Le(fr(e.size,t)))),n},mathmlBuilder(e,t){var n=new ye.MathNode("mspace");return e.newLine&&(n.setAttribute("linebreak","newline"),e.size&&n.setAttribute("height",Le(fr(e.size,t)))),n}});var w8={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},fee=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new Ce("Expected a control sequence",e);return t},CAe=e=>{var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},dee=(e,t,n,r)=>{var a=e.gullet.macros.get(n.text);a==null&&(n.noexpand=!0,a={tokens:[n],numArgs:0,unexpandable:!e.gullet.isExpandable(n.text)}),e.gullet.macros.set(t,a,r)};$e({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t,funcName:n}=e;t.consumeSpaces();var r=t.fetch();if(w8[r.text])return(n==="\\global"||n==="\\\\globallong")&&(r.text=w8[r.text]),Gt(t.parseFunction(),"internal");throw new Ce("Invalid token after macro prefix",r)}});$e({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=t.gullet.popToken(),a=r.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(a))throw new Ce("Expected a control sequence",r);for(var o=0,i,l=[[]];t.gullet.future().text!=="{";)if(r=t.gullet.popToken(),r.text==="#"){if(t.gullet.future().text==="{"){i=t.gullet.future(),l[o].push("{");break}if(r=t.gullet.popToken(),!/^[1-9]$/.test(r.text))throw new Ce('Invalid argument number "'+r.text+'"');if(parseInt(r.text)!==o+1)throw new Ce('Argument number "'+r.text+'" out of order');o++,l.push([])}else{if(r.text==="EOF")throw new Ce("Expected a macro definition");l[o].push(r.text)}var{tokens:u}=t.gullet.consumeArg();return i&&u.unshift(i),(n==="\\edef"||n==="\\xdef")&&(u=t.gullet.expandTokens(u),u.reverse()),t.gullet.macros.set(a,{tokens:u,numArgs:o,delimiters:l},n===w8[n]),{type:"internal",mode:t.mode}}});$e({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=fee(t.gullet.popToken());t.gullet.consumeSpaces();var a=CAe(t);return dee(t,r,a,n==="\\\\globallet"),{type:"internal",mode:t.mode}}});$e({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=fee(t.gullet.popToken()),a=t.gullet.popToken(),o=t.gullet.popToken();return dee(t,r,o,n==="\\\\globalfuture"),t.gullet.pushToken(o),t.gullet.pushToken(a),{type:"internal",mode:t.mode}}});var z1=function(t,n,r){var a=qn.math[t]&&qn.math[t].replace,o=l8(a||t,n,r);if(!o)throw new Error("Unsupported symbol "+t+" and font size "+n+".");return o},C8=function(t,n,r,a){var o=r.havingBaseStyle(n),i=K.makeSpan(a.concat(o.sizingClasses(r)),[t],r),l=o.sizeMultiplier/r.sizeMultiplier;return i.height*=l,i.depth*=l,i.maxFontSize=o.sizeMultiplier,i},pee=function(t,n,r){var a=n.havingBaseStyle(r),o=(1-n.sizeMultiplier/a.sizeMultiplier)*n.fontMetrics().axisHeight;t.classes.push("delimcenter"),t.style.top=Le(o),t.height-=o,t.depth+=o},xAe=function(t,n,r,a,o,i){var l=K.makeSymbol(t,"Main-Regular",o,a),u=C8(l,n,a,i);return r&&pee(u,a,n),u},TAe=function(t,n,r,a){return K.makeSymbol(t,"Size"+n+"-Regular",r,a)},mee=function(t,n,r,a,o,i){var l=TAe(t,n,o,a),u=C8(K.makeSpan(["delimsizing","size"+n],[l],a),vt.TEXT,a,i);return r&&pee(u,a,vt.TEXT),u},x8=function(t,n,r){var a;n==="Size1-Regular"?a="delim-size1":a="delim-size4";var o=K.makeSpan(["delimsizinginner",a],[K.makeSpan([],[K.makeSymbol(t,n,r)])]);return{type:"elem",elem:o}},T8=function(t,n,r){var a=gl["Size4-Regular"][t.charCodeAt(0)]?gl["Size4-Regular"][t.charCodeAt(0)][4]:gl["Size1-Regular"][t.charCodeAt(0)][4],o=new Ic("inner",AIe(t,Math.round(1e3*n))),i=new Dl([o],{width:Le(a),height:Le(n),style:"width:"+Le(a),viewBox:"0 0 "+1e3*a+" "+Math.round(1e3*n),preserveAspectRatio:"xMinYMin"}),l=K.makeSvgSpan([],[i],r);return l.height=n,l.style.height=Le(n),l.style.width=Le(a),{type:"elem",elem:l}},E8=.008,X4={type:"kern",size:-1*E8},EAe=["|","\\lvert","\\rvert","\\vert"],RAe=["\\|","\\lVert","\\rVert","\\Vert"],vee=function(t,n,r,a,o,i){var l,u,c,s,f="",d=0;l=c=s=t,u=null;var p="Size1-Regular";t==="\\uparrow"?c=s="\u23D0":t==="\\Uparrow"?c=s="\u2016":t==="\\downarrow"?l=c="\u23D0":t==="\\Downarrow"?l=c="\u2016":t==="\\updownarrow"?(l="\\uparrow",c="\u23D0",s="\\downarrow"):t==="\\Updownarrow"?(l="\\Uparrow",c="\u2016",s="\\Downarrow"):st.contains(EAe,t)?(c="\u2223",f="vert",d=333):st.contains(RAe,t)?(c="\u2225",f="doublevert",d=556):t==="["||t==="\\lbrack"?(l="\u23A1",c="\u23A2",s="\u23A3",p="Size4-Regular",f="lbrack",d=667):t==="]"||t==="\\rbrack"?(l="\u23A4",c="\u23A5",s="\u23A6",p="Size4-Regular",f="rbrack",d=667):t==="\\lfloor"||t==="\u230A"?(c=l="\u23A2",s="\u23A3",p="Size4-Regular",f="lfloor",d=667):t==="\\lceil"||t==="\u2308"?(l="\u23A1",c=s="\u23A2",p="Size4-Regular",f="lceil",d=667):t==="\\rfloor"||t==="\u230B"?(c=l="\u23A5",s="\u23A6",p="Size4-Regular",f="rfloor",d=667):t==="\\rceil"||t==="\u2309"?(l="\u23A4",c=s="\u23A5",p="Size4-Regular",f="rceil",d=667):t==="("||t==="\\lparen"?(l="\u239B",c="\u239C",s="\u239D",p="Size4-Regular",f="lparen",d=875):t===")"||t==="\\rparen"?(l="\u239E",c="\u239F",s="\u23A0",p="Size4-Regular",f="rparen",d=875):t==="\\{"||t==="\\lbrace"?(l="\u23A7",u="\u23A8",s="\u23A9",c="\u23AA",p="Size4-Regular"):t==="\\}"||t==="\\rbrace"?(l="\u23AB",u="\u23AC",s="\u23AD",c="\u23AA",p="Size4-Regular"):t==="\\lgroup"||t==="\u27EE"?(l="\u23A7",s="\u23A9",c="\u23AA",p="Size4-Regular"):t==="\\rgroup"||t==="\u27EF"?(l="\u23AB",s="\u23AD",c="\u23AA",p="Size4-Regular"):t==="\\lmoustache"||t==="\u23B0"?(l="\u23A7",s="\u23AD",c="\u23AA",p="Size4-Regular"):(t==="\\rmoustache"||t==="\u23B1")&&(l="\u23AB",s="\u23A9",c="\u23AA",p="Size4-Regular");var m=z1(l,p,o),y=m.height+m.depth,_=z1(c,p,o),D=_.height+_.depth,C=z1(s,p,o),R=C.height+C.depth,I=0,A=1;if(u!==null){var T=z1(u,p,o);I=T.height+T.depth,A=2}var L=y+R+I,W=Math.max(0,Math.ceil((n-L)/(A*D))),$=L+W*A*D,ce=a.fontMetrics().axisHeight;r&&(ce*=a.sizeMultiplier);var te=$/2-ce,le=[];if(f.length>0){var ee=$-y-R,re=Math.round($*1e3),de=LIe(f,Math.round(ee*1e3)),q=new Ic(f,de),Q=(d/1e3).toFixed(3)+"em",pe=(re/1e3).toFixed(3)+"em",Je=new Dl([q],{width:Q,height:pe,viewBox:"0 0 "+d+" "+re}),qe=K.makeSvgSpan([],[Je],a);qe.height=re/1e3,qe.style.width=Q,qe.style.height=pe,le.push({type:"elem",elem:qe})}else{if(le.push(x8(s,p,o)),le.push(X4),u===null){var N=$-y-R+2*E8;le.push(T8(c,N,a))}else{var F=($-y-R-I)/2+2*E8;le.push(T8(c,F,a)),le.push(X4),le.push(x8(u,p,o)),le.push(X4),le.push(T8(c,F,a))}le.push(X4),le.push(x8(l,p,o))}var H=a.havingBaseStyle(vt.TEXT),V=K.makeVList({positionType:"bottom",positionData:te,children:le},H);return C8(K.makeSpan(["delimsizing","mult"],[V],H),vt.TEXT,a,i)},R8=80,S8=.08,F8=function(t,n,r,a,o){var i=IIe(t,a,r),l=new Ic(t,i),u=new Dl([l],{width:"400em",height:Le(n),viewBox:"0 0 400000 "+r,preserveAspectRatio:"xMinYMin slice"});return K.makeSvgSpan(["hide-tail"],[u],o)},SAe=function(t,n){var r=n.havingBaseSizing(),a=yee("\\surd",t*r.sizeMultiplier,gee,r),o=r.sizeMultiplier,i=Math.max(0,n.minRuleThickness-n.fontMetrics().sqrtRuleThickness),l,u=0,c=0,s=0,f;return a.type==="small"?(s=1e3+1e3*i+R8,t<1?o=1:t<1.4&&(o=.7),u=(1+i+S8)/o,c=(1+i)/o,l=F8("sqrtMain",u,s,i,n),l.style.minWidth="0.853em",f=.833/o):a.type==="large"?(s=(1e3+R8)*$1[a.size],c=($1[a.size]+i)/o,u=($1[a.size]+i+S8)/o,l=F8("sqrtSize"+a.size,u,s,i,n),l.style.minWidth="1.02em",f=1/o):(u=t+i+S8,c=t+i,s=Math.floor(1e3*t+i)+R8,l=F8("sqrtTall",u,s,i,n),l.style.minWidth="0.742em",f=1.056),l.height=c,l.style.height=Le(u),{span:l,advanceWidth:f,ruleWidth:(n.fontMetrics().sqrtRuleThickness+i)*o}},hee=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],FAe=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],_ee=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],$1=[0,1.2,1.8,2.4,3],MAe=function(t,n,r,a,o){if(t==="<"||t==="\\lt"||t==="\u27E8"?t="\\langle":(t===">"||t==="\\gt"||t==="\u27E9")&&(t="\\rangle"),st.contains(hee,t)||st.contains(_ee,t))return mee(t,n,!1,r,a,o);if(st.contains(FAe,t))return vee(t,$1[n],!1,r,a,o);throw new Ce("Illegal delimiter: '"+t+"'")},IAe=[{type:"small",style:vt.SCRIPTSCRIPT},{type:"small",style:vt.SCRIPT},{type:"small",style:vt.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],AAe=[{type:"small",style:vt.SCRIPTSCRIPT},{type:"small",style:vt.SCRIPT},{type:"small",style:vt.TEXT},{type:"stack"}],gee=[{type:"small",style:vt.SCRIPTSCRIPT},{type:"small",style:vt.SCRIPT},{type:"small",style:vt.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],LAe=function(t){if(t.type==="small")return"Main-Regular";if(t.type==="large")return"Size"+t.size+"-Regular";if(t.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+t.type+"' here.")},yee=function(t,n,r,a){for(var o=Math.min(2,3-a.style.size),i=o;in)return r[i]}return r[r.length-1]},Dee=function(t,n,r,a,o,i){t==="<"||t==="\\lt"||t==="\u27E8"?t="\\langle":(t===">"||t==="\\gt"||t==="\u27E9")&&(t="\\rangle");var l;st.contains(_ee,t)?l=IAe:st.contains(hee,t)?l=gee:l=AAe;var u=yee(t,n,l,a);return u.type==="small"?xAe(t,u.style,r,a,o,i):u.type==="large"?mee(t,u.size,r,a,o,i):vee(t,n,r,a,o,i)},jAe=function(t,n,r,a,o,i){var l=a.fontMetrics().axisHeight*a.sizeMultiplier,u=901,c=5/a.fontMetrics().ptPerEm,s=Math.max(n-l,r+l),f=Math.max(s/500*u,2*s-c);return Dee(t,f,!0,a,o,i)},Oc={sqrtImage:SAe,sizedDelim:MAe,sizeToMaxHeight:$1,customSizedDelim:Dee,leftRightDelim:jAe},bee={"\\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}},PAe=["(","\\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 Y4(e,t){var n=G4(e);if(n&&st.contains(PAe,n.text))return n;throw n?new Ce("Invalid delimiter '"+n.text+"' after '"+t.funcName+"'",e):new Ce("Invalid delimiter type '"+e.type+"'",e)}$e({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,t)=>{var n=Y4(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:bee[e.funcName].size,mclass:bee[e.funcName].mclass,delim:n.text}},htmlBuilder:(e,t)=>e.delim==="."?K.makeSpan([e.mclass]):Oc.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!=="."&&t.push($i(e.delim,e.mode));var n=new ye.MathNode("mo",t);e.mclass==="mopen"||e.mclass==="mclose"?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n.setAttribute("stretchy","true");var r=Le(Oc.sizeToMaxHeight[e.size]);return n.setAttribute("minsize",r),n.setAttribute("maxsize",r),n}});function wee(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}$e({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=e.parser.gullet.macros.get("\\current@color");if(n&&typeof n!="string")throw new Ce("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:Y4(t[0],e).text,color:n}}});$e({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=Y4(t[0],e),r=e.parser;++r.leftrightDepth;var a=r.parseExpression(!1);--r.leftrightDepth,r.expect("\\right",!1);var o=Gt(r.parseFunction(),"leftright-right");return{type:"leftright",mode:r.mode,body:a,left:n.text,right:o.delim,rightColor:o.color}},htmlBuilder:(e,t)=>{wee(e);for(var n=ea(e.body,t,!0,["mopen","mclose"]),r=0,a=0,o=!1,i=0;i{wee(e);var n=Ro(e.body,t);if(e.left!=="."){var r=new ye.MathNode("mo",[$i(e.left,e.mode)]);r.setAttribute("fence","true"),n.unshift(r)}if(e.right!=="."){var a=new ye.MathNode("mo",[$i(e.right,e.mode)]);a.setAttribute("fence","true"),e.rightColor&&a.setAttribute("mathcolor",e.rightColor),n.push(a)}return _8(n)}});$e({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=Y4(t[0],e);if(!e.parser.leftrightDepth)throw new Ce("\\middle without preceding \\left",n);return{type:"middle",mode:e.parser.mode,delim:n.text}},htmlBuilder:(e,t)=>{var n;if(e.delim===".")n=W1(t,[]);else{n=Oc.sizedDelim(e.delim,1,t,e.mode,[]);var r={delim:e.delim,options:t};n.isMiddle=r}return n},mathmlBuilder:(e,t)=>{var n=e.delim==="\\vert"||e.delim==="|"?$i("|","text"):$i(e.delim,e.mode),r=new ye.MathNode("mo",[n]);return r.setAttribute("fence","true"),r.setAttribute("lspace","0.05em"),r.setAttribute("rspace","0.05em"),r}});var M8=(e,t)=>{var n=K.wrapFragment(vn(e.body,t),t),r=e.label.slice(1),a=t.sizeMultiplier,o,i=0,l=st.isCharacterBox(e.body);if(r==="sout")o=K.makeSpan(["stretchy","sout"]),o.height=t.fontMetrics().defaultRuleThickness/a,i=-.5*t.fontMetrics().xHeight;else if(r==="phase"){var u=fr({number:.6,unit:"pt"},t),c=fr({number:.35,unit:"ex"},t),s=t.havingBaseSizing();a=a/s.sizeMultiplier;var f=n.height+n.depth+u+c;n.style.paddingLeft=Le(f/2+u);var d=Math.floor(1e3*f*a),p=FIe(d),m=new Dl([new Ic("phase",p)],{width:"400em",height:Le(d/1e3),viewBox:"0 0 400000 "+d,preserveAspectRatio:"xMinYMin slice"});o=K.makeSvgSpan(["hide-tail"],[m],t),o.style.height=Le(f),i=n.depth+u+c}else{/cancel/.test(r)?l||n.classes.push("cancel-pad"):r==="angl"?n.classes.push("anglpad"):n.classes.push("boxpad");var y=0,_=0,D=0;/box/.test(r)?(D=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),y=t.fontMetrics().fboxsep+(r==="colorbox"?0:D),_=y):r==="angl"?(D=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),y=4*D,_=Math.max(0,.25-n.depth)):(y=l?.2:0,_=y),o=Nc.encloseSpan(n,r,y,_,t),/fbox|boxed|fcolorbox/.test(r)?(o.style.borderStyle="solid",o.style.borderWidth=Le(D)):r==="angl"&&D!==.049&&(o.style.borderTopWidth=Le(D),o.style.borderRightWidth=Le(D)),i=n.depth+_,e.backgroundColor&&(o.style.backgroundColor=e.backgroundColor,e.borderColor&&(o.style.borderColor=e.borderColor))}var C;if(e.backgroundColor)C=K.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:i},{type:"elem",elem:n,shift:0}]},t);else{var R=/cancel|phase/.test(r)?["svg-align"]:[];C=K.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:0},{type:"elem",elem:o,shift:i,wrapperClasses:R}]},t)}return/cancel/.test(r)&&(C.height=n.height,C.depth=n.depth),/cancel/.test(r)&&!l?K.makeSpan(["mord","cancel-lap"],[C],t):K.makeSpan(["mord"],[C],t)},I8=(e,t)=>{var n=0,r=new ye.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Wn(e.body,t)]);switch(e.label){case"\\cancel":r.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":r.setAttribute("notation","downdiagonalstrike");break;case"\\phase":r.setAttribute("notation","phasorangle");break;case"\\sout":r.setAttribute("notation","horizontalstrike");break;case"\\fbox":r.setAttribute("notation","box");break;case"\\angl":r.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(n=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,r.setAttribute("width","+"+2*n+"pt"),r.setAttribute("height","+"+2*n+"pt"),r.setAttribute("lspace",n+"pt"),r.setAttribute("voffset",n+"pt"),e.label==="\\fcolorbox"){var a=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);r.setAttribute("style","border: "+a+"em solid "+String(e.borderColor))}break;case"\\xcancel":r.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&r.setAttribute("mathbackground",e.backgroundColor),r};$e({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,n){var{parser:r,funcName:a}=e,o=Gt(t[0],"color-token").color,i=t[1];return{type:"enclose",mode:r.mode,label:a,backgroundColor:o,body:i}},htmlBuilder:M8,mathmlBuilder:I8});$e({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,n){var{parser:r,funcName:a}=e,o=Gt(t[0],"color-token").color,i=Gt(t[1],"color-token").color,l=t[2];return{type:"enclose",mode:r.mode,label:a,backgroundColor:i,borderColor:o,body:l}},htmlBuilder:M8,mathmlBuilder:I8});$e({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:"enclose",mode:n.mode,label:"\\fbox",body:t[0]}}});$e({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e,a=t[0];return{type:"enclose",mode:n.mode,label:r,body:a}},htmlBuilder:M8,mathmlBuilder:I8});$e({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,t){var{parser:n}=e;return{type:"enclose",mode:n.mode,label:"\\angl",body:t[0]}}});var Cee={};function bl(e){for(var{type:t,names:n,props:r,handler:a,htmlBuilder:o,mathmlBuilder:i}=e,l={type:t,numArgs:r.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:a},u=0;u{var t=e.parser.settings;if(!t.displayMode)throw new Ce("{"+e.envName+"} can be used only in display mode.")};function A8(e){if(e.indexOf("ed")===-1)return e.indexOf("*")===-1}function mf(e,t,n){var{hskipBeforeAndAfter:r,addJot:a,cols:o,arraystretch:i,colSeparationType:l,autoTag:u,singleRow:c,emptySingleRow:s,maxNumCols:f,leqno:d}=t;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 Ce("Invalid \\arraystretch: "+p)}e.gullet.beginGroup();var m=[],y=[m],_=[],D=[],C=u!=null?[]:void 0;function R(){u&&e.gullet.macros.set("\\@eqnsw","1",!0)}function I(){C&&(e.gullet.macros.get("\\df@tag")?(C.push(e.subparse([new fi("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):C.push(Boolean(u)&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(R(),D.push(Tee(e));;){var A=e.parseExpression(!1,c?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),A={type:"ordgroup",mode:e.mode,body:A},n&&(A={type:"styling",mode:e.mode,style:n,body:[A]}),m.push(A);var T=e.fetch().text;if(T==="&"){if(f&&m.length===f){if(c||l)throw new Ce("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"){I(),m.length===1&&A.type==="styling"&&A.body[0].body.length===0&&(y.length>1||!s)&&y.pop(),D.length0&&(R+=.25),c.push({pos:R,isDashed:Qe[lt]})}for(I(i[0]),r=0;r0&&(te+=C,LQe))for(r=0;r=l)){var J=void 0;(a>0||t.hskipBeforeAndAfter)&&(J=st.deflt(F.pregap,d),J!==0&&(de=K.makeSpan(["arraycolsep"],[]),de.style.width=Le(J),re.push(de)));var U=[];for(r=0;r0){for(var ge=K.makeLineSpan("hline",n,s),ue=K.makeLineSpan("hdashline",n,s),Ie=[{type:"elem",elem:u,shift:0}];c.length>0;){var Te=c.pop(),Ze=Te.pos-le;Te.isDashed?Ie.push({type:"elem",elem:ue,shift:Ze}):Ie.push({type:"elem",elem:ge,shift:Ze})}u=K.makeVList({positionType:"individualShift",children:Ie},n)}if(Q.length===0)return K.makeSpan(["mord"],[u],n);var Se=K.makeVList({positionType:"individualShift",children:Q},n);return Se=K.makeSpan(["tag"],[Se],n),K.makeFragment([u,Se])},NAe={c:"center ",l:"left ",r:"right "},Cl=function(t,n){for(var r=[],a=new ye.MathNode("mtd",[],["mtr-glue"]),o=new ye.MathNode("mtd",[],["mml-eqn-num"]),i=0;i0){var m=t.cols,y="",_=!1,D=0,C=m.length;m[0].type==="separator"&&(d+="top ",D=1),m[m.length-1].type==="separator"&&(d+="bottom ",C-=1);for(var R=D;R0?"left ":"",d+=W[W.length-1].length>0?"right ":"";for(var $=1;$-1?"alignat":"align",o=t.envName==="split",i=mf(t.parser,{cols:r,addJot:!0,autoTag:o?void 0:A8(t.envName),emptySingleRow:!0,colSeparationType:a,maxNumCols:o?2:void 0,leqno:t.parser.settings.leqno},"display"),l,u=0,c={type:"ordgroup",mode:t.mode,body:[]};if(n[0]&&n[0].type==="ordgroup"){for(var s="",f=0;f0&&p&&(_=1),r[m]={type:"align",align:y,pregap:_,postgap:0}}return i.colSeparationType=p?"align":"alignat",i};bl({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var n=G4(t[0]),r=n?[t[0]]:Gt(t[0],"ordgroup").body,a=r.map(function(i){var l=D8(i),u=l.text;if("lcr".indexOf(u)!==-1)return{type:"align",align:u};if(u==="|")return{type:"separator",separator:"|"};if(u===":")return{type:"separator",separator:":"};throw new Ce("Unknown column alignment: "+u,i)}),o={cols:a,hskipBeforeAndAfter:!0,maxNumCols:a.length};return mf(e.parser,o,L8(e.envName))},htmlBuilder:wl,mathmlBuilder:Cl});bl({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],n="c",r={hskipBeforeAndAfter:!1,cols:[{type:"align",align:n}]};if(e.envName.charAt(e.envName.length-1)==="*"){var a=e.parser;if(a.consumeSpaces(),a.fetch().text==="["){if(a.consume(),a.consumeSpaces(),n=a.fetch().text,"lcr".indexOf(n)===-1)throw new Ce("Expected l or c or r",a.nextToken);a.consume(),a.consumeSpaces(),a.expect("]"),a.consume(),r.cols=[{type:"align",align:n}]}}var o=mf(e.parser,r,L8(e.envName)),i=Math.max(0,...o.body.map(l=>l.length));return o.cols=new Array(i).fill({type:"align",align:n}),t?{type:"leftright",mode:e.mode,body:[o],left:t[0],right:t[1],rightColor:void 0}:o},htmlBuilder:wl,mathmlBuilder:Cl});bl({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t={arraystretch:.5},n=mf(e.parser,t,"script");return n.colSeparationType="small",n},htmlBuilder:wl,mathmlBuilder:Cl});bl({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var n=G4(t[0]),r=n?[t[0]]:Gt(t[0],"ordgroup").body,a=r.map(function(i){var l=D8(i),u=l.text;if("lc".indexOf(u)!==-1)return{type:"align",align:u};throw new Ce("Unknown column alignment: "+u,i)});if(a.length>1)throw new Ce("{subarray} can contain only one column");var o={cols:a,hskipBeforeAndAfter:!1,arraystretch:.5};if(o=mf(e.parser,o,"script"),o.body.length>0&&o.body[0].length>1)throw new Ce("{subarray} can contain only one column");return o},htmlBuilder:wl,mathmlBuilder:Cl});bl({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},n=mf(e.parser,t,L8(e.envName));return{type:"leftright",mode:e.mode,body:[n],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:wl,mathmlBuilder:Cl});bl({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:Eee,htmlBuilder:wl,mathmlBuilder:Cl});bl({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){st.contains(["gather","gather*"],e.envName)&&Z4(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:A8(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return mf(e.parser,t,"display")},htmlBuilder:wl,mathmlBuilder:Cl});bl({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:Eee,htmlBuilder:wl,mathmlBuilder:Cl});bl({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){Z4(e);var t={autoTag:A8(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return mf(e.parser,t,"display")},htmlBuilder:wl,mathmlBuilder:Cl});bl({type:"array",names:["CD"],props:{numArgs:0},handler(e){return Z4(e),wAe(e.parser)},htmlBuilder:wl,mathmlBuilder:Cl});M("\\nonumber","\\gdef\\@eqnsw{0}");M("\\notag","\\nonumber");$e({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new Ce(e.funcName+" valid only within array environment")}});var Ree=Cee;$e({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){var{parser:n,funcName:r}=e,a=t[0];if(a.type!=="ordgroup")throw new Ce("Invalid environment name",a);for(var o="",i=0;i{var n=e.font,r=t.withFont(n);return vn(e.body,r)},Fee=(e,t)=>{var n=e.font,r=t.withFont(n);return Wn(e.body,r)},Mee={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};$e({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{var{parser:n,funcName:r}=e,a=$4(t[0]),o=r;return o in Mee&&(o=Mee[o]),{type:"font",mode:n.mode,font:o.slice(1),body:a}},htmlBuilder:See,mathmlBuilder:Fee});$e({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:n}=e,r=t[0],a=st.isCharacterBox(r);return{type:"mclass",mode:n.mode,mclass:J4(r),body:[{type:"font",mode:n.mode,font:"boldsymbol",body:r}],isCharacterBox:a}}});$e({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:n,funcName:r,breakOnTokenText:a}=e,{mode:o}=n,i=n.parseExpression(!0,a),l="math"+r.slice(1);return{type:"font",mode:o,font:l,body:{type:"ordgroup",mode:n.mode,body:i}}},htmlBuilder:See,mathmlBuilder:Fee});var Iee=(e,t)=>{var n=t;return e==="display"?n=n.id>=vt.SCRIPT.id?n.text():vt.DISPLAY:e==="text"&&n.size===vt.DISPLAY.size?n=vt.TEXT:e==="script"?n=vt.SCRIPT:e==="scriptscript"&&(n=vt.SCRIPTSCRIPT),n},j8=(e,t)=>{var n=Iee(e.size,t.style),r=n.fracNum(),a=n.fracDen(),o;o=t.havingStyle(r);var i=vn(e.numer,o,t);if(e.continued){var l=8.5/t.fontMetrics().ptPerEm,u=3.5/t.fontMetrics().ptPerEm;i.height=i.height0?m=3*d:m=7*d,y=t.fontMetrics().denom1):(f>0?(p=t.fontMetrics().num2,m=d):(p=t.fontMetrics().num3,m=3*d),y=t.fontMetrics().denom2);var _;if(s){var C=t.fontMetrics().axisHeight;p-i.depth-(C+.5*f){var n=new ye.MathNode("mfrac",[Wn(e.numer,t),Wn(e.denom,t)]);if(!e.hasBarLine)n.setAttribute("linethickness","0px");else if(e.barSize){var r=fr(e.barSize,t);n.setAttribute("linethickness",Le(r))}var a=Iee(e.size,t.style);if(a.size!==t.style.size){n=new ye.MathNode("mstyle",[n]);var o=a.size===vt.DISPLAY.size?"true":"false";n.setAttribute("displaystyle",o),n.setAttribute("scriptlevel","0")}if(e.leftDelim!=null||e.rightDelim!=null){var i=[];if(e.leftDelim!=null){var l=new ye.MathNode("mo",[new ye.TextNode(e.leftDelim.replace("\\",""))]);l.setAttribute("fence","true"),i.push(l)}if(i.push(n),e.rightDelim!=null){var u=new ye.MathNode("mo",[new ye.TextNode(e.rightDelim.replace("\\",""))]);u.setAttribute("fence","true"),i.push(u)}return _8(i)}return n};$e({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var{parser:n,funcName:r}=e,a=t[0],o=t[1],i,l=null,u=null,c="auto";switch(r){case"\\dfrac":case"\\frac":case"\\tfrac":i=!0;break;case"\\\\atopfrac":i=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":i=!1,l="(",u=")";break;case"\\\\bracefrac":i=!1,l="\\{",u="\\}";break;case"\\\\brackfrac":i=!1,l="[",u="]";break;default:throw new Error("Unrecognized genfrac command")}switch(r){case"\\dfrac":case"\\dbinom":c="display";break;case"\\tfrac":case"\\tbinom":c="text";break}return{type:"genfrac",mode:n.mode,continued:!1,numer:a,denom:o,hasBarLine:i,leftDelim:l,rightDelim:u,size:c,barSize:null}},htmlBuilder:j8,mathmlBuilder:P8});$e({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{var{parser:n,funcName:r}=e,a=t[0],o=t[1];return{type:"genfrac",mode:n.mode,continued:!0,numer:a,denom:o,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}});$e({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var{parser:t,funcName:n,token:r}=e,a;switch(n){case"\\over":a="\\frac";break;case"\\choose":a="\\binom";break;case"\\atop":a="\\\\atopfrac";break;case"\\brace":a="\\\\bracefrac";break;case"\\brack":a="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:t.mode,replaceWith:a,token:r}}});var Aee=["display","text","script","scriptscript"],Lee=function(t){var n=null;return t.length>0&&(n=t,n=n==="."?null:n),n};$e({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var{parser:n}=e,r=t[4],a=t[5],o=$4(t[0]),i=o.type==="atom"&&o.family==="open"?Lee(o.text):null,l=$4(t[1]),u=l.type==="atom"&&l.family==="close"?Lee(l.text):null,c=Gt(t[2],"size"),s,f=null;c.isBlank?s=!0:(f=c.value,s=f.number>0);var d="auto",p=t[3];if(p.type==="ordgroup"){if(p.body.length>0){var m=Gt(p.body[0],"textord");d=Aee[Number(m.text)]}}else p=Gt(p,"textord"),d=Aee[Number(p.text)];return{type:"genfrac",mode:n.mode,numer:r,denom:a,continued:!1,hasBarLine:s,barSize:f,leftDelim:i,rightDelim:u,size:d}},htmlBuilder:j8,mathmlBuilder:P8});$e({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:n,funcName:r,token:a}=e;return{type:"infix",mode:n.mode,replaceWith:"\\\\abovefrac",size:Gt(t[0],"size").value,token:a}}});$e({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:n,funcName:r}=e,a=t[0],o=mIe(Gt(t[1],"infix").size),i=t[2],l=o.number>0;return{type:"genfrac",mode:n.mode,numer:a,denom:i,continued:!1,hasBarLine:l,barSize:o,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:j8,mathmlBuilder:P8});var jee=(e,t)=>{var n=t.style,r,a;e.type==="supsub"?(r=e.sup?vn(e.sup,t.havingStyle(n.sup()),t):vn(e.sub,t.havingStyle(n.sub()),t),a=Gt(e.base,"horizBrace")):a=Gt(e,"horizBrace");var o=vn(a.base,t.havingBaseStyle(vt.DISPLAY)),i=Nc.svgSpan(a,t),l;if(a.isOver?(l=K.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:i}]},t),l.children[0].children[0].children[1].classes.push("svg-align")):(l=K.makeVList({positionType:"bottom",positionData:o.depth+.1+i.height,children:[{type:"elem",elem:i},{type:"kern",size:.1},{type:"elem",elem:o}]},t),l.children[0].children[0].children[0].classes.push("svg-align")),r){var u=K.makeSpan(["mord",a.isOver?"mover":"munder"],[l],t);a.isOver?l=K.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:u},{type:"kern",size:.2},{type:"elem",elem:r}]},t):l=K.makeVList({positionType:"bottom",positionData:u.depth+.2+r.height+r.depth,children:[{type:"elem",elem:r},{type:"kern",size:.2},{type:"elem",elem:u}]},t)}return K.makeSpan(["mord",a.isOver?"mover":"munder"],[l],t)},OAe=(e,t)=>{var n=Nc.mathMLnode(e.label);return new ye.MathNode(e.isOver?"mover":"munder",[Wn(e.base,t),n])};$e({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e;return{type:"horizBrace",mode:n.mode,label:r,isOver:/^\\over/.test(r),base:t[0]}},htmlBuilder:jee,mathmlBuilder:OAe});$e({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[1],a=Gt(t[0],"url").url;return n.settings.isTrusted({command:"\\href",url:a})?{type:"href",mode:n.mode,href:a,body:Ar(r)}:n.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var n=ea(e.body,t,!1);return K.makeAnchor(e.href,[],n,t)},mathmlBuilder:(e,t)=>{var n=pf(e.body,t);return n instanceof Eo||(n=new Eo("mrow",[n])),n.setAttribute("href",e.href),n}});$e({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=Gt(t[0],"url").url;if(!n.settings.isTrusted({command:"\\url",url:r}))return n.formatUnsupportedCmd("\\url");for(var a=[],o=0;o{var{parser:n,funcName:r,token:a}=e,o=Gt(t[0],"raw").string,i=t[1];n.settings.strict&&n.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var l,u={};switch(r){case"\\htmlClass":u.class=o,l={command:"\\htmlClass",class:o};break;case"\\htmlId":u.id=o,l={command:"\\htmlId",id:o};break;case"\\htmlStyle":u.style=o,l={command:"\\htmlStyle",style:o};break;case"\\htmlData":{for(var c=o.split(","),s=0;s{var n=ea(e.body,t,!1),r=["enclosing"];e.attributes.class&&r.push(...e.attributes.class.trim().split(/\s+/));var a=K.makeSpan(r,n,t);for(var o in e.attributes)o!=="class"&&e.attributes.hasOwnProperty(o)&&a.setAttribute(o,e.attributes[o]);return a},mathmlBuilder:(e,t)=>pf(e.body,t)});$e({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e;return{type:"htmlmathml",mode:n.mode,html:Ar(t[0]),mathml:Ar(t[1])}},htmlBuilder:(e,t)=>{var n=ea(e.html,t,!1);return K.makeFragment(n)},mathmlBuilder:(e,t)=>pf(e.mathml,t)});var N8=function(t){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(t))return{number:+t,unit:"bp"};var n=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t);if(!n)throw new Ce("Invalid size: '"+t+"' in \\includegraphics");var r={number:+(n[1]+n[2]),unit:n[3]};if(!NK(r))throw new Ce("Invalid unit: '"+r.unit+"' in \\includegraphics.");return r};$e({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,n)=>{var{parser:r}=e,a={number:0,unit:"em"},o={number:.9,unit:"em"},i={number:0,unit:"em"},l="";if(n[0])for(var u=Gt(n[0],"raw").string,c=u.split(","),s=0;s{var n=fr(e.height,t),r=0;e.totalheight.number>0&&(r=fr(e.totalheight,t)-n);var a=0;e.width.number>0&&(a=fr(e.width,t));var o={height:Le(n+r)};a>0&&(o.width=Le(a)),r>0&&(o.verticalAlign=Le(-r));var i=new HK(e.src,e.alt,o);return i.height=n,i.depth=r,i},mathmlBuilder:(e,t)=>{var n=new ye.MathNode("mglyph",[]);n.setAttribute("alt",e.alt);var r=fr(e.height,t),a=0;if(e.totalheight.number>0&&(a=fr(e.totalheight,t)-r,n.setAttribute("valign",Le(-a))),n.setAttribute("height",Le(r+a)),e.width.number>0){var o=fr(e.width,t);n.setAttribute("width",Le(o))}return n.setAttribute("src",e.src),n}});$e({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){var{parser:n,funcName:r}=e,a=Gt(t[0],"size");if(n.settings.strict){var o=r[1]==="m",i=a.value.unit==="mu";o?(i||n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" supports only mu units, "+("not "+a.value.unit+" units")),n.mode!=="math"&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" works only in math mode")):i&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" doesn't support mu units")}return{type:"kern",mode:n.mode,dimension:a.value}},htmlBuilder(e,t){return K.makeGlue(e.dimension,t)},mathmlBuilder(e,t){var n=fr(e.dimension,t);return new ye.SpaceNode(n)}});$e({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n,funcName:r}=e,a=t[0];return{type:"lap",mode:n.mode,alignment:r.slice(5),body:a}},htmlBuilder:(e,t)=>{var n;e.alignment==="clap"?(n=K.makeSpan([],[vn(e.body,t)]),n=K.makeSpan(["inner"],[n],t)):n=K.makeSpan(["inner"],[vn(e.body,t)]);var r=K.makeSpan(["fix"],[]),a=K.makeSpan([e.alignment],[n,r],t),o=K.makeSpan(["strut"]);return o.style.height=Le(a.height+a.depth),a.depth&&(o.style.verticalAlign=Le(-a.depth)),a.children.unshift(o),a=K.makeSpan(["thinbox"],[a],t),K.makeSpan(["mord","vbox"],[a],t)},mathmlBuilder:(e,t)=>{var n=new ye.MathNode("mpadded",[Wn(e.body,t)]);if(e.alignment!=="rlap"){var r=e.alignment==="llap"?"-1":"-0.5";n.setAttribute("lspace",r+"width")}return n.setAttribute("width","0px"),n}});$e({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:n,parser:r}=e,a=r.mode;r.switchMode("math");var o=n==="\\("?"\\)":"$",i=r.parseExpression(!1,o);return r.expect(o),r.switchMode(a),{type:"styling",mode:r.mode,style:"text",body:i}}});$e({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new Ce("Mismatched "+e.funcName)}});var Pee=(e,t)=>{switch(t.style.size){case vt.DISPLAY.size:return e.display;case vt.TEXT.size:return e.text;case vt.SCRIPT.size:return e.script;case vt.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};$e({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:n}=e;return{type:"mathchoice",mode:n.mode,display:Ar(t[0]),text:Ar(t[1]),script:Ar(t[2]),scriptscript:Ar(t[3])}},htmlBuilder:(e,t)=>{var n=Pee(e,t),r=ea(n,t,!1);return K.makeFragment(r)},mathmlBuilder:(e,t)=>{var n=Pee(e,t);return pf(n,t)}});var Nee=(e,t,n,r,a,o,i)=>{e=K.makeSpan([],[e]);var l=n&&st.isCharacterBox(n),u,c;if(t){var s=vn(t,r.havingStyle(a.sup()),r);c={elem:s,kern:Math.max(r.fontMetrics().bigOpSpacing1,r.fontMetrics().bigOpSpacing3-s.depth)}}if(n){var f=vn(n,r.havingStyle(a.sub()),r);u={elem:f,kern:Math.max(r.fontMetrics().bigOpSpacing2,r.fontMetrics().bigOpSpacing4-f.height)}}var d;if(c&&u){var p=r.fontMetrics().bigOpSpacing5+u.elem.height+u.elem.depth+u.kern+e.depth+i;d=K.makeVList({positionType:"bottom",positionData:p,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:u.elem,marginLeft:Le(-o)},{type:"kern",size:u.kern},{type:"elem",elem:e},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:Le(o)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else if(u){var m=e.height-i;d=K.makeVList({positionType:"top",positionData:m,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:u.elem,marginLeft:Le(-o)},{type:"kern",size:u.kern},{type:"elem",elem:e}]},r)}else if(c){var y=e.depth+i;d=K.makeVList({positionType:"bottom",positionData:y,children:[{type:"elem",elem:e},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:Le(o)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else return e;var _=[d];if(u&&o!==0&&!l){var D=K.makeSpan(["mspace"],[],r);D.style.marginRight=Le(o),_.unshift(D)}return K.makeSpan(["mop","op-limits"],_,r)},Oee=["\\smallint"],Zv=(e,t)=>{var n,r,a=!1,o;e.type==="supsub"?(n=e.sup,r=e.sub,o=Gt(e.base,"op"),a=!0):o=Gt(e,"op");var i=t.style,l=!1;i.size===vt.DISPLAY.size&&o.symbol&&!st.contains(Oee,o.name)&&(l=!0);var u;if(o.symbol){var c=l?"Size2-Regular":"Size1-Regular",s="";if((o.name==="\\oiint"||o.name==="\\oiiint")&&(s=o.name.slice(1),o.name=s==="oiint"?"\\iint":"\\iiint"),u=K.makeSymbol(o.name,c,"math",t,["mop","op-symbol",l?"large-op":"small-op"]),s.length>0){var f=u.italic,d=K.staticSvg(s+"Size"+(l?"2":"1"),t);u=K.makeVList({positionType:"individualShift",children:[{type:"elem",elem:u,shift:0},{type:"elem",elem:d,shift:l?.08:0}]},t),o.name="\\"+s,u.classes.unshift("mop"),u.italic=f}}else if(o.body){var p=ea(o.body,t,!0);p.length===1&&p[0]instanceof di?(u=p[0],u.classes[0]="mop"):u=K.makeSpan(["mop"],p,t)}else{for(var m=[],y=1;y{var n;if(e.symbol)n=new Eo("mo",[$i(e.name,e.mode)]),st.contains(Oee,e.name)&&n.setAttribute("largeop","false");else if(e.body)n=new Eo("mo",Ro(e.body,t));else{n=new Eo("mi",[new Du(e.name.slice(1))]);var r=new Eo("mo",[$i("\u2061","text")]);e.parentIsSupSub?n=new Eo("mrow",[n,r]):n=KK([n,r])}return n},kAe={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};$e({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,t)=>{var{parser:n,funcName:r}=e,a=r;return a.length===1&&(a=kAe[a]),{type:"op",mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:a}},htmlBuilder:Zv,mathmlBuilder:q1});$e({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"op",mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Ar(r)}},htmlBuilder:Zv,mathmlBuilder:q1});var UAe={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};$e({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:t,funcName:n}=e;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:Zv,mathmlBuilder:q1});$e({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){var{parser:t,funcName:n}=e;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:Zv,mathmlBuilder:q1});$e({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler(e){var{parser:t,funcName:n}=e,r=n;return r.length===1&&(r=UAe[r]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:Zv,mathmlBuilder:q1});var kee=(e,t)=>{var n,r,a=!1,o;e.type==="supsub"?(n=e.sup,r=e.sub,o=Gt(e.base,"operatorname"),a=!0):o=Gt(e,"operatorname");var i;if(o.body.length>0){for(var l=o.body.map(f=>{var d=f.text;return typeof d=="string"?{type:"textord",mode:f.mode,text:d}:f}),u=ea(l,t.withFont("mathrm"),!0),c=0;c{for(var n=Ro(e.body,t.withFont("mathrm")),r=!0,a=0;as.toText()).join("");n=[new ye.TextNode(l)]}var u=new ye.MathNode("mi",n);u.setAttribute("mathvariant","normal");var c=new ye.MathNode("mo",[$i("\u2061","text")]);return e.parentIsSupSub?new ye.MathNode("mrow",[u,c]):ye.newDocumentFragment([u,c])};$e({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{var{parser:n,funcName:r}=e,a=t[0];return{type:"operatorname",mode:n.mode,body:Ar(a),alwaysHandleSupSub:r==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:kee,mathmlBuilder:HAe});M("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");_p({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?K.makeFragment(ea(e.body,t,!1)):K.makeSpan(["mord"],ea(e.body,t,!0),t)},mathmlBuilder(e,t){return pf(e.body,t,!0)}});$e({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){var{parser:n}=e,r=t[0];return{type:"overline",mode:n.mode,body:r}},htmlBuilder(e,t){var n=vn(e.body,t.havingCrampedStyle()),r=K.makeLineSpan("overline-line",t),a=t.fontMetrics().defaultRuleThickness,o=K.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n},{type:"kern",size:3*a},{type:"elem",elem:r},{type:"kern",size:a}]},t);return K.makeSpan(["mord","overline"],[o],t)},mathmlBuilder(e,t){var n=new ye.MathNode("mo",[new ye.TextNode("\u203E")]);n.setAttribute("stretchy","true");var r=new ye.MathNode("mover",[Wn(e.body,t),n]);return r.setAttribute("accent","true"),r}});$e({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"phantom",mode:n.mode,body:Ar(r)}},htmlBuilder:(e,t)=>{var n=ea(e.body,t.withPhantom(),!1);return K.makeFragment(n)},mathmlBuilder:(e,t)=>{var n=Ro(e.body,t);return new ye.MathNode("mphantom",n)}});$e({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"hphantom",mode:n.mode,body:r}},htmlBuilder:(e,t)=>{var n=K.makeSpan([],[vn(e.body,t.withPhantom())]);if(n.height=0,n.depth=0,n.children)for(var r=0;r{var n=Ro(Ar(e.body),t),r=new ye.MathNode("mphantom",n),a=new ye.MathNode("mpadded",[r]);return a.setAttribute("height","0px"),a.setAttribute("depth","0px"),a}});$e({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"vphantom",mode:n.mode,body:r}},htmlBuilder:(e,t)=>{var n=K.makeSpan(["inner"],[vn(e.body,t.withPhantom())]),r=K.makeSpan(["fix"],[]);return K.makeSpan(["mord","rlap"],[n,r],t)},mathmlBuilder:(e,t)=>{var n=Ro(Ar(e.body),t),r=new ye.MathNode("mphantom",n),a=new ye.MathNode("mpadded",[r]);return a.setAttribute("width","0px"),a}});$e({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:n}=e,r=Gt(t[0],"size").value,a=t[1];return{type:"raisebox",mode:n.mode,dy:r,body:a}},htmlBuilder(e,t){var n=vn(e.body,t),r=fr(e.dy,t);return K.makeVList({positionType:"shift",positionData:-r,children:[{type:"elem",elem:n}]},t)},mathmlBuilder(e,t){var n=new ye.MathNode("mpadded",[Wn(e.body,t)]),r=e.dy.number+e.dy.unit;return n.setAttribute("voffset",r),n}});$e({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}});$e({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(e,t,n){var{parser:r}=e,a=n[0],o=Gt(t[0],"size"),i=Gt(t[1],"size");return{type:"rule",mode:r.mode,shift:a&&Gt(a,"size").value,width:o.value,height:i.value}},htmlBuilder(e,t){var n=K.makeSpan(["mord","rule"],[],t),r=fr(e.width,t),a=fr(e.height,t),o=e.shift?fr(e.shift,t):0;return n.style.borderRightWidth=Le(r),n.style.borderTopWidth=Le(a),n.style.bottom=Le(o),n.width=r,n.height=a+o,n.depth=-o,n.maxFontSize=a*1.125*t.sizeMultiplier,n},mathmlBuilder(e,t){var n=fr(e.width,t),r=fr(e.height,t),a=e.shift?fr(e.shift,t):0,o=t.color&&t.getColor()||"black",i=new ye.MathNode("mspace");i.setAttribute("mathbackground",o),i.setAttribute("width",Le(n)),i.setAttribute("height",Le(r));var l=new ye.MathNode("mpadded",[i]);return a>=0?l.setAttribute("height",Le(a)):(l.setAttribute("height",Le(a)),l.setAttribute("depth",Le(-a))),l.setAttribute("voffset",Le(a)),l}});function Uee(e,t,n){for(var r=ea(e,t,!1),a=t.sizeMultiplier/n.sizeMultiplier,o=0;o{var n=t.havingSize(e.size);return Uee(e.body,n,t)};$e({type:"sizing",names:Hee,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:n,funcName:r,parser:a}=e,o=a.parseExpression(!1,n);return{type:"sizing",mode:a.mode,size:Hee.indexOf(r)+1,body:o}},htmlBuilder:BAe,mathmlBuilder:(e,t)=>{var n=t.havingSize(e.size),r=Ro(e.body,n),a=new ye.MathNode("mstyle",r);return a.setAttribute("mathsize",Le(n.sizeMultiplier)),a}});$e({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,n)=>{var{parser:r}=e,a=!1,o=!1,i=n[0]&&Gt(n[0],"ordgroup");if(i)for(var l="",u=0;u{var n=K.makeSpan([],[vn(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return n;if(e.smashHeight&&(n.height=0,n.children))for(var r=0;r{var n=new ye.MathNode("mpadded",[Wn(e.body,t)]);return e.smashHeight&&n.setAttribute("height","0px"),e.smashDepth&&n.setAttribute("depth","0px"),n}});$e({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){var{parser:r}=e,a=n[0],o=t[0];return{type:"sqrt",mode:r.mode,body:o,index:a}},htmlBuilder(e,t){var n=vn(e.body,t.havingCrampedStyle());n.height===0&&(n.height=t.fontMetrics().xHeight),n=K.wrapFragment(n,t);var r=t.fontMetrics(),a=r.defaultRuleThickness,o=a;t.style.idn.height+n.depth+i&&(i=(i+f-n.height-n.depth)/2);var d=u.height-n.height-i-c;n.style.paddingLeft=Le(s);var p=K.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+d)},{type:"elem",elem:u},{type:"kern",size:c}]},t);if(e.index){var m=t.havingStyle(vt.SCRIPTSCRIPT),y=vn(e.index,m,t),_=.6*(p.height-p.depth),D=K.makeVList({positionType:"shift",positionData:-_,children:[{type:"elem",elem:y}]},t),C=K.makeSpan(["root"],[D]);return K.makeSpan(["mord","sqrt"],[C,p],t)}else return K.makeSpan(["mord","sqrt"],[p],t)},mathmlBuilder(e,t){var{body:n,index:r}=e;return r?new ye.MathNode("mroot",[Wn(n,t),Wn(r,t)]):new ye.MathNode("msqrt",[Wn(n,t)])}});var Bee={display:vt.DISPLAY,text:vt.TEXT,script:vt.SCRIPT,scriptscript:vt.SCRIPTSCRIPT};$e({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:n,funcName:r,parser:a}=e,o=a.parseExpression(!0,n),i=r.slice(1,r.length-5);return{type:"styling",mode:a.mode,style:i,body:o}},htmlBuilder(e,t){var n=Bee[e.style],r=t.havingStyle(n).withFont("");return Uee(e.body,r,t)},mathmlBuilder(e,t){var n=Bee[e.style],r=t.havingStyle(n),a=Ro(e.body,r),o=new ye.MathNode("mstyle",a),i={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},l=i[e.style];return o.setAttribute("scriptlevel",l[0]),o.setAttribute("displaystyle",l[1]),o}});var WAe=function(t,n){var r=t.base;if(r)if(r.type==="op"){var a=r.limits&&(n.style.size===vt.DISPLAY.size||r.alwaysHandleSupSub);return a?Zv:null}else if(r.type==="operatorname"){var o=r.alwaysHandleSupSub&&(n.style.size===vt.DISPLAY.size||r.limits);return o?kee:null}else{if(r.type==="accent")return st.isCharacterBox(r.base)?b8:null;if(r.type==="horizBrace"){var i=!t.sub;return i===r.isOver?jee:null}else return null}else return null};_p({type:"supsub",htmlBuilder(e,t){var n=WAe(e,t);if(n)return n(e,t);var{base:r,sup:a,sub:o}=e,i=vn(r,t),l,u,c=t.fontMetrics(),s=0,f=0,d=r&&st.isCharacterBox(r);if(a){var p=t.havingStyle(t.style.sup());l=vn(a,p,t),d||(s=i.height-p.fontMetrics().supDrop*p.sizeMultiplier/t.sizeMultiplier)}if(o){var m=t.havingStyle(t.style.sub());u=vn(o,m,t),d||(f=i.depth+m.fontMetrics().subDrop*m.sizeMultiplier/t.sizeMultiplier)}var y;t.style===vt.DISPLAY?y=c.sup1:t.style.cramped?y=c.sup3:y=c.sup2;var _=t.sizeMultiplier,D=Le(.5/c.ptPerEm/_),C=null;if(u){var R=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(i instanceof di||R)&&(C=Le(-i.italic))}var I;if(l&&u){s=Math.max(s,y,l.depth+.25*c.xHeight),f=Math.max(f,c.sub2);var A=c.defaultRuleThickness,T=4*A;if(s-l.depth-(u.height-f)0&&(s+=L,f-=L)}var W=[{type:"elem",elem:u,shift:f,marginRight:D,marginLeft:C},{type:"elem",elem:l,shift:-s,marginRight:D}];I=K.makeVList({positionType:"individualShift",children:W},t)}else if(u){f=Math.max(f,c.sub1,u.height-.8*c.xHeight);var $=[{type:"elem",elem:u,marginLeft:C,marginRight:D}];I=K.makeVList({positionType:"shift",positionData:f,children:$},t)}else if(l)s=Math.max(s,y,l.depth+.25*c.xHeight),I=K.makeVList({positionType:"shift",positionData:-s,children:[{type:"elem",elem:l,marginRight:D}]},t);else throw new Error("supsub must have either sup or sub.");var ce=v8(i,"right")||"mord";return K.makeSpan([ce],[i,K.makeSpan(["msupsub"],[I])],t)},mathmlBuilder(e,t){var n=!1,r,a;e.base&&e.base.type==="horizBrace"&&(a=!!e.sup,a===e.base.isOver&&(n=!0,r=e.base.isOver)),e.base&&(e.base.type==="op"||e.base.type==="operatorname")&&(e.base.parentIsSupSub=!0);var o=[Wn(e.base,t)];e.sub&&o.push(Wn(e.sub,t)),e.sup&&o.push(Wn(e.sup,t));var i;if(n)i=r?"mover":"munder";else if(e.sub)if(e.sup){var c=e.base;c&&c.type==="op"&&c.limits&&t.style===vt.DISPLAY||c&&c.type==="operatorname"&&c.alwaysHandleSupSub&&(t.style===vt.DISPLAY||c.limits)?i="munderover":i="msubsup"}else{var u=e.base;u&&u.type==="op"&&u.limits&&(t.style===vt.DISPLAY||u.alwaysHandleSupSub)||u&&u.type==="operatorname"&&u.alwaysHandleSupSub&&(u.limits||t.style===vt.DISPLAY)?i="munder":i="msub"}else{var l=e.base;l&&l.type==="op"&&l.limits&&(t.style===vt.DISPLAY||l.alwaysHandleSupSub)||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(l.limits||t.style===vt.DISPLAY)?i="mover":i="msup"}return new ye.MathNode(i,o)}});_p({type:"atom",htmlBuilder(e,t){return K.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var n=new ye.MathNode("mo",[$i(e.text,e.mode)]);if(e.family==="bin"){var r=g8(e,t);r==="bold-italic"&&n.setAttribute("mathvariant",r)}else e.family==="punct"?n.setAttribute("separator","true"):(e.family==="open"||e.family==="close")&&n.setAttribute("stretchy","false");return n}});var Wee={mi:"italic",mn:"normal",mtext:"normal"};_p({type:"mathord",htmlBuilder(e,t){return K.makeOrd(e,t,"mathord")},mathmlBuilder(e,t){var n=new ye.MathNode("mi",[$i(e.text,e.mode,t)]),r=g8(e,t)||"italic";return r!==Wee[n.type]&&n.setAttribute("mathvariant",r),n}});_p({type:"textord",htmlBuilder(e,t){return K.makeOrd(e,t,"textord")},mathmlBuilder(e,t){var n=$i(e.text,e.mode,t),r=g8(e,t)||"normal",a;return e.mode==="text"?a=new ye.MathNode("mtext",[n]):/[0-9]/.test(e.text)?a=new ye.MathNode("mn",[n]):e.text==="\\prime"?a=new ye.MathNode("mo",[n]):a=new ye.MathNode("mi",[n]),r!==Wee[a.type]&&a.setAttribute("mathvariant",r),a}});var O8={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},k8={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};_p({type:"spacing",htmlBuilder(e,t){if(k8.hasOwnProperty(e.text)){var n=k8[e.text].className||"";if(e.mode==="text"){var r=K.makeOrd(e,t,"textord");return r.classes.push(n),r}else return K.makeSpan(["mspace",n],[K.mathsym(e.text,e.mode,t)],t)}else{if(O8.hasOwnProperty(e.text))return K.makeSpan(["mspace",O8[e.text]],[],t);throw new Ce('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var n;if(k8.hasOwnProperty(e.text))n=new ye.MathNode("mtext",[new ye.TextNode("\xA0")]);else{if(O8.hasOwnProperty(e.text))return new ye.MathNode("mspace");throw new Ce('Unknown type of space "'+e.text+'"')}return n}});var zee=()=>{var e=new ye.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};_p({type:"tag",mathmlBuilder(e,t){var n=new ye.MathNode("mtable",[new ye.MathNode("mtr",[zee(),new ye.MathNode("mtd",[pf(e.body,t)]),zee(),new ye.MathNode("mtd",[pf(e.tag,t)])])]);return n.setAttribute("width","100%"),n}});var $ee={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},qee={"\\textbf":"textbf","\\textmd":"textmd"},zAe={"\\textit":"textit","\\textup":"textup"},Gee=(e,t)=>{var n=e.font;if(n){if($ee[n])return t.withTextFontFamily($ee[n]);if(qee[n])return t.withTextFontWeight(qee[n]);if(n==="\\emph")return t.fontShape==="textit"?t.withTextFontShape("textup"):t.withTextFontShape("textit")}else return t;return t.withTextFontShape(zAe[n])};$e({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:n,funcName:r}=e,a=t[0];return{type:"text",mode:n.mode,body:Ar(a),font:r}},htmlBuilder(e,t){var n=Gee(e,t),r=ea(e.body,n,!0);return K.makeSpan(["mord","text"],r,n)},mathmlBuilder(e,t){var n=Gee(e,t);return pf(e.body,n)}});$e({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:"underline",mode:n.mode,body:t[0]}},htmlBuilder(e,t){var n=vn(e.body,t),r=K.makeLineSpan("underline-line",t),a=t.fontMetrics().defaultRuleThickness,o=K.makeVList({positionType:"top",positionData:n.height,children:[{type:"kern",size:a},{type:"elem",elem:r},{type:"kern",size:3*a},{type:"elem",elem:n}]},t);return K.makeSpan(["mord","underline"],[o],t)},mathmlBuilder(e,t){var n=new ye.MathNode("mo",[new ye.TextNode("\u203E")]);n.setAttribute("stretchy","true");var r=new ye.MathNode("munder",[Wn(e.body,t),n]);return r.setAttribute("accentunder","true"),r}});$e({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,t){var{parser:n}=e;return{type:"vcenter",mode:n.mode,body:t[0]}},htmlBuilder(e,t){var n=vn(e.body,t),r=t.fontMetrics().axisHeight,a=.5*(n.height-r-(n.depth+r));return K.makeVList({positionType:"shift",positionData:a,children:[{type:"elem",elem:n}]},t)},mathmlBuilder(e,t){return new ye.MathNode("mpadded",[Wn(e.body,t)],["vcenter"])}});$e({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,n){throw new Ce("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var n=Vee(e),r=[],a=t.havingStyle(t.style.text()),o=0;oe.body.replace(/ /g,e.star?"\u2423":"\xA0"),vf=YK,Jee=`[ \r ]`,$Ae="\\\\[a-zA-Z@]+",qAe="\\\\[^\uD800-\uDFFF]",GAe="("+$Ae+")"+Jee+"*",VAe=`\\\\( |[ \r ]+ ?)[ \r ]*`,U8="[\u0300-\u036F]",JAe=new RegExp(U8+"+$"),XAe="("+Jee+"+)|"+(VAe+"|")+"([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(U8+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(U8+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+GAe)+("|"+qAe+")"),H8=class{constructor(t,n){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=t,this.settings=n,this.tokenRegex=new RegExp(XAe,"g"),this.catcodes={"%":14,"~":13}}setCatcode(t,n){this.catcodes[t]=n}lex(){var t=this.input,n=this.tokenRegex.lastIndex;if(n===t.length)return new fi("EOF",new xo(this,n,n));var r=this.tokenRegex.exec(t);if(r===null||r.index!==n)throw new Ce("Unexpected character: '"+t[n]+"'",new fi(t[n],new xo(this,n,n+1)));var a=r[6]||r[3]||(r[2]?"\\ ":" ");if(this.catcodes[a]===14){var o=t.indexOf(` `,this.tokenRegex.lastIndex);return o===-1?(this.tokenRegex.lastIndex=t.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 fi(a,new xo(this,n,this.tokenRegex.lastIndex))}},Xee=class{constructor(t,n){t===void 0&&(t={}),n===void 0&&(n={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=n,this.builtins=t,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new Ce("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var t=this.undefStack.pop();for(var n in t)t.hasOwnProperty(n)&&(t[n]==null?delete this.current[n]:this.current[n]=t[n])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(t){return this.current.hasOwnProperty(t)||this.builtins.hasOwnProperty(t)}get(t){return this.current.hasOwnProperty(t)?this.current[t]:this.builtins[t]}set(t,n,r){if(r===void 0&&(r=!1),r){for(var a=0;a0&&(this.undefStack[this.undefStack.length-1][t]=n)}else{var o=this.undefStack[this.undefStack.length-1];o&&!o.hasOwnProperty(t)&&(o[t]=this.current[t])}n==null?delete this.current[t]:this.current[t]=n}},YAe=xee;M("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}});M("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}});M("\\@firstoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}});M("\\@secondoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}});M("\\@ifnextchar",function(e){var t=e.consumeArgs(3);e.consumeSpaces();var n=e.future();return t[0].length===1&&t[0][0].text===n.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}});M("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");M("\\TextOrMath",function(e){var t=e.consumeArgs(2);return e.mode==="text"?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var Yee={"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};M("\\char",function(e){var t=e.popToken(),n,r="";if(t.text==="'")n=8,t=e.popToken();else if(t.text==='"')n=16,t=e.popToken();else if(t.text==="`")if(t=e.popToken(),t.text[0]==="\\")r=t.text.charCodeAt(1);else{if(t.text==="EOF")throw new Ce("\\char` missing argument");r=t.text.charCodeAt(0)}else n=10;if(n){if(r=Yee[t.text],r==null||r>=n)throw new Ce("Invalid base-"+n+" digit "+t.text);for(var a;(a=Yee[e.future().text])!=null&&a{var a=e.consumeArg().tokens;if(a.length!==1)throw new Ce("\\newcommand's first argument must be a macro name");var o=a[0].text,i=e.isDefined(o);if(i&&!t)throw new Ce("\\newcommand{"+o+"} attempting to redefine "+(o+"; use \\renewcommand"));if(!i&&!n)throw new Ce("\\renewcommand{"+o+"} when command "+o+" does not yet exist; use \\newcommand");var l=0;if(a=e.consumeArg().tokens,a.length===1&&a[0].text==="["){for(var u="",c=e.expandNextToken();c.text!=="]"&&c.text!=="EOF";)u+=c.text,c=e.expandNextToken();if(!u.match(/^\s*[0-9]+\s*$/))throw new Ce("Invalid number of arguments: "+u);l=parseInt(u),a=e.consumeArg().tokens}return i&&r||e.macros.set(o,{tokens:a,numArgs:l}),""};M("\\newcommand",e=>B8(e,!1,!0,!1));M("\\renewcommand",e=>B8(e,!0,!1,!1));M("\\providecommand",e=>B8(e,!0,!0,!0));M("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(n=>n.text).join("")),""});M("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(n=>n.text).join("")),""});M("\\show",e=>{var t=e.popToken(),n=t.text;return console.log(t,e.macros.get(n),vf[n],qn.math[n],qn.text[n]),""});M("\\bgroup","{");M("\\egroup","}");M("~","\\nobreakspace");M("\\lq","`");M("\\rq","'");M("\\aa","\\r a");M("\\AA","\\r A");M("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}");M("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");M("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}");M("\u212C","\\mathscr{B}");M("\u2130","\\mathscr{E}");M("\u2131","\\mathscr{F}");M("\u210B","\\mathscr{H}");M("\u2110","\\mathscr{I}");M("\u2112","\\mathscr{L}");M("\u2133","\\mathscr{M}");M("\u211B","\\mathscr{R}");M("\u212D","\\mathfrak{C}");M("\u210C","\\mathfrak{H}");M("\u2128","\\mathfrak{Z}");M("\\Bbbk","\\Bbb{k}");M("\xB7","\\cdotp");M("\\llap","\\mathllap{\\textrm{#1}}");M("\\rlap","\\mathrlap{\\textrm{#1}}");M("\\clap","\\mathclap{\\textrm{#1}}");M("\\mathstrut","\\vphantom{(}");M("\\underbar","\\underline{\\text{#1}}");M("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');M("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}");M("\\ne","\\neq");M("\u2260","\\neq");M("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}");M("\u2209","\\notin");M("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}");M("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}");M("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}");M("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}");M("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}");M("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}");M("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}");M("\u27C2","\\perp");M("\u203C","\\mathclose{!\\mkern-0.8mu!}");M("\u220C","\\notni");M("\u231C","\\ulcorner");M("\u231D","\\urcorner");M("\u231E","\\llcorner");M("\u231F","\\lrcorner");M("\xA9","\\copyright");M("\xAE","\\textregistered");M("\uFE0F","\\textregistered");M("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');M("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');M("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');M("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');M("\\vdots","{\\varvdots\\rule{0pt}{15pt}}");M("\u22EE","\\vdots");M("\\varGamma","\\mathit{\\Gamma}");M("\\varDelta","\\mathit{\\Delta}");M("\\varTheta","\\mathit{\\Theta}");M("\\varLambda","\\mathit{\\Lambda}");M("\\varXi","\\mathit{\\Xi}");M("\\varPi","\\mathit{\\Pi}");M("\\varSigma","\\mathit{\\Sigma}");M("\\varUpsilon","\\mathit{\\Upsilon}");M("\\varPhi","\\mathit{\\Phi}");M("\\varPsi","\\mathit{\\Psi}");M("\\varOmega","\\mathit{\\Omega}");M("\\substack","\\begin{subarray}{c}#1\\end{subarray}");M("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");M("\\boxed","\\fbox{$\\displaystyle{#1}$}");M("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");M("\\implies","\\DOTSB\\;\\Longrightarrow\\;");M("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");M("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}");M("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var Zee={",":"\\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"};M("\\dots",function(e){var t="\\dotso",n=e.expandAfterFuture().text;return n in Zee?t=Zee[n]:(n.slice(0,4)==="\\not"||n in qn.math&&st.contains(["bin","rel"],qn.math[n].group))&&(t="\\dotsb"),t});var W8={")":!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};M("\\dotso",function(e){var t=e.future().text;return t in W8?"\\ldots\\,":"\\ldots"});M("\\dotsc",function(e){var t=e.future().text;return t in W8&&t!==","?"\\ldots\\,":"\\ldots"});M("\\cdots",function(e){var t=e.future().text;return t in W8?"\\@cdots\\,":"\\@cdots"});M("\\dotsb","\\cdots");M("\\dotsm","\\cdots");M("\\dotsi","\\!\\cdots");M("\\dotsx","\\ldots\\,");M("\\DOTSI","\\relax");M("\\DOTSB","\\relax");M("\\DOTSX","\\relax");M("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");M("\\,","\\tmspace+{3mu}{.1667em}");M("\\thinspace","\\,");M("\\>","\\mskip{4mu}");M("\\:","\\tmspace+{4mu}{.2222em}");M("\\medspace","\\:");M("\\;","\\tmspace+{5mu}{.2777em}");M("\\thickspace","\\;");M("\\!","\\tmspace-{3mu}{.1667em}");M("\\negthinspace","\\!");M("\\negmedspace","\\tmspace-{4mu}{.2222em}");M("\\negthickspace","\\tmspace-{5mu}{.277em}");M("\\enspace","\\kern.5em ");M("\\enskip","\\hskip.5em\\relax");M("\\quad","\\hskip1em\\relax");M("\\qquad","\\hskip2em\\relax");M("\\tag","\\@ifstar\\tag@literal\\tag@paren");M("\\tag@paren","\\tag@literal{({#1})}");M("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new Ce("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});M("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");M("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");M("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");M("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");M("\\newline","\\\\\\relax");M("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Qee=Le(gl["Main-Regular"]["T".charCodeAt(0)][1]-.7*gl["Main-Regular"]["A".charCodeAt(0)][1]);M("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Qee+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");M("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Qee+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");M("\\hspace","\\@ifstar\\@hspacer\\@hspace");M("\\@hspace","\\hskip #1\\relax");M("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");M("\\ordinarycolon",":");M("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");M("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');M("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');M("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');M("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');M("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');M("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');M("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');M("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');M("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');M("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');M("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');M("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');M("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');M("\u2237","\\dblcolon");M("\u2239","\\eqcolon");M("\u2254","\\coloneqq");M("\u2255","\\eqqcolon");M("\u2A74","\\Coloneqq");M("\\ratio","\\vcentcolon");M("\\coloncolon","\\dblcolon");M("\\colonequals","\\coloneqq");M("\\coloncolonequals","\\Coloneqq");M("\\equalscolon","\\eqqcolon");M("\\equalscoloncolon","\\Eqqcolon");M("\\colonminus","\\coloneq");M("\\coloncolonminus","\\Coloneq");M("\\minuscolon","\\eqcolon");M("\\minuscoloncolon","\\Eqcolon");M("\\coloncolonapprox","\\Colonapprox");M("\\coloncolonsim","\\Colonsim");M("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");M("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");M("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");M("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");M("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}");M("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");M("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");M("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");M("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");M("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");M("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");M("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");M("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");M("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}");M("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}");M("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}");M("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}");M("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}");M("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}");M("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}");M("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}");M("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}");M("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}");M("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}");M("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}");M("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}");M("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}");M("\\imath","\\html@mathml{\\@imath}{\u0131}");M("\\jmath","\\html@mathml{\\@jmath}{\u0237}");M("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}");M("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}");M("\u27E6","\\llbracket");M("\u27E7","\\rrbracket");M("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}");M("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}");M("\u2983","\\lBrace");M("\u2984","\\rBrace");M("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`\u29B5}}");M("\u29B5","\\minuso");M("\\darr","\\downarrow");M("\\dArr","\\Downarrow");M("\\Darr","\\Downarrow");M("\\lang","\\langle");M("\\rang","\\rangle");M("\\uarr","\\uparrow");M("\\uArr","\\Uparrow");M("\\Uarr","\\Uparrow");M("\\N","\\mathbb{N}");M("\\R","\\mathbb{R}");M("\\Z","\\mathbb{Z}");M("\\alef","\\aleph");M("\\alefsym","\\aleph");M("\\Alpha","\\mathrm{A}");M("\\Beta","\\mathrm{B}");M("\\bull","\\bullet");M("\\Chi","\\mathrm{X}");M("\\clubs","\\clubsuit");M("\\cnums","\\mathbb{C}");M("\\Complex","\\mathbb{C}");M("\\Dagger","\\ddagger");M("\\diamonds","\\diamondsuit");M("\\empty","\\emptyset");M("\\Epsilon","\\mathrm{E}");M("\\Eta","\\mathrm{H}");M("\\exist","\\exists");M("\\harr","\\leftrightarrow");M("\\hArr","\\Leftrightarrow");M("\\Harr","\\Leftrightarrow");M("\\hearts","\\heartsuit");M("\\image","\\Im");M("\\infin","\\infty");M("\\Iota","\\mathrm{I}");M("\\isin","\\in");M("\\Kappa","\\mathrm{K}");M("\\larr","\\leftarrow");M("\\lArr","\\Leftarrow");M("\\Larr","\\Leftarrow");M("\\lrarr","\\leftrightarrow");M("\\lrArr","\\Leftrightarrow");M("\\Lrarr","\\Leftrightarrow");M("\\Mu","\\mathrm{M}");M("\\natnums","\\mathbb{N}");M("\\Nu","\\mathrm{N}");M("\\Omicron","\\mathrm{O}");M("\\plusmn","\\pm");M("\\rarr","\\rightarrow");M("\\rArr","\\Rightarrow");M("\\Rarr","\\Rightarrow");M("\\real","\\Re");M("\\reals","\\mathbb{R}");M("\\Reals","\\mathbb{R}");M("\\Rho","\\mathrm{P}");M("\\sdot","\\cdot");M("\\sect","\\S");M("\\spades","\\spadesuit");M("\\sub","\\subset");M("\\sube","\\subseteq");M("\\supe","\\supseteq");M("\\Tau","\\mathrm{T}");M("\\thetasym","\\vartheta");M("\\weierp","\\wp");M("\\Zeta","\\mathrm{Z}");M("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");M("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");M("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");M("\\bra","\\mathinner{\\langle{#1}|}");M("\\ket","\\mathinner{|{#1}\\rangle}");M("\\braket","\\mathinner{\\langle{#1}\\rangle}");M("\\Bra","\\left\\langle#1\\right|");M("\\Ket","\\left|#1\\right\\rangle");var Kee=e=>t=>{var n=t.consumeArg().tokens,r=t.consumeArg().tokens,a=t.consumeArg().tokens,o=t.consumeArg().tokens,i=t.macros.get("|"),l=t.macros.get("\\|");t.macros.beginGroup();var u=f=>d=>{e&&(d.macros.set("|",i),a.length&&d.macros.set("\\|",l));var p=f;if(!f&&a.length){var m=d.future();m.text==="|"&&(d.popToken(),p=!0)}return{tokens:p?a:r,numArgs:0}};t.macros.set("|",u(!1)),a.length&&t.macros.set("\\|",u(!0));var c=t.consumeArg().tokens,s=t.expandTokens([...o,...c,...n]);return t.macros.endGroup(),{tokens:s.reverse(),numArgs:0}};M("\\bra@ket",Kee(!1));M("\\bra@set",Kee(!0));M("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");M("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");M("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");M("\\angln","{\\angl n}");M("\\blue","\\textcolor{##6495ed}{#1}");M("\\orange","\\textcolor{##ffa500}{#1}");M("\\pink","\\textcolor{##ff00af}{#1}");M("\\red","\\textcolor{##df0030}{#1}");M("\\green","\\textcolor{##28ae7b}{#1}");M("\\gray","\\textcolor{gray}{#1}");M("\\purple","\\textcolor{##9d38bd}{#1}");M("\\blueA","\\textcolor{##ccfaff}{#1}");M("\\blueB","\\textcolor{##80f6ff}{#1}");M("\\blueC","\\textcolor{##63d9ea}{#1}");M("\\blueD","\\textcolor{##11accd}{#1}");M("\\blueE","\\textcolor{##0c7f99}{#1}");M("\\tealA","\\textcolor{##94fff5}{#1}");M("\\tealB","\\textcolor{##26edd5}{#1}");M("\\tealC","\\textcolor{##01d1c1}{#1}");M("\\tealD","\\textcolor{##01a995}{#1}");M("\\tealE","\\textcolor{##208170}{#1}");M("\\greenA","\\textcolor{##b6ffb0}{#1}");M("\\greenB","\\textcolor{##8af281}{#1}");M("\\greenC","\\textcolor{##74cf70}{#1}");M("\\greenD","\\textcolor{##1fab54}{#1}");M("\\greenE","\\textcolor{##0d923f}{#1}");M("\\goldA","\\textcolor{##ffd0a9}{#1}");M("\\goldB","\\textcolor{##ffbb71}{#1}");M("\\goldC","\\textcolor{##ff9c39}{#1}");M("\\goldD","\\textcolor{##e07d10}{#1}");M("\\goldE","\\textcolor{##a75a05}{#1}");M("\\redA","\\textcolor{##fca9a9}{#1}");M("\\redB","\\textcolor{##ff8482}{#1}");M("\\redC","\\textcolor{##f9685d}{#1}");M("\\redD","\\textcolor{##e84d39}{#1}");M("\\redE","\\textcolor{##bc2612}{#1}");M("\\maroonA","\\textcolor{##ffbde0}{#1}");M("\\maroonB","\\textcolor{##ff92c6}{#1}");M("\\maroonC","\\textcolor{##ed5fa6}{#1}");M("\\maroonD","\\textcolor{##ca337c}{#1}");M("\\maroonE","\\textcolor{##9e034e}{#1}");M("\\purpleA","\\textcolor{##ddd7ff}{#1}");M("\\purpleB","\\textcolor{##c6b9fc}{#1}");M("\\purpleC","\\textcolor{##aa87ff}{#1}");M("\\purpleD","\\textcolor{##7854ab}{#1}");M("\\purpleE","\\textcolor{##543b78}{#1}");M("\\mintA","\\textcolor{##f5f9e8}{#1}");M("\\mintB","\\textcolor{##edf2df}{#1}");M("\\mintC","\\textcolor{##e0e5cc}{#1}");M("\\grayA","\\textcolor{##f6f7f7}{#1}");M("\\grayB","\\textcolor{##f0f1f2}{#1}");M("\\grayC","\\textcolor{##e3e5e6}{#1}");M("\\grayD","\\textcolor{##d6d8da}{#1}");M("\\grayE","\\textcolor{##babec2}{#1}");M("\\grayF","\\textcolor{##888d93}{#1}");M("\\grayG","\\textcolor{##626569}{#1}");M("\\grayH","\\textcolor{##3b3e40}{#1}");M("\\grayI","\\textcolor{##21242c}{#1}");M("\\kaBlue","\\textcolor{##314453}{#1}");M("\\kaGreen","\\textcolor{##71B307}{#1}");var ete={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},tte=class{constructor(t,n,r){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=n,this.expansionCount=0,this.feed(t),this.macros=new Xee(YAe,n.macros),this.mode=r,this.stack=[]}feed(t){this.lexer=new H8(t,this.settings)}switchMode(t){this.mode=t}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(t){this.stack.push(t)}pushTokens(t){this.stack.push(...t)}scanArgument(t){var n,r,a;if(t){if(this.consumeSpaces(),this.future().text!=="[")return null;n=this.popToken(),{tokens:a,end:r}=this.consumeArg(["]"])}else({tokens:a,start:n,end:r}=this.consumeArg());return this.pushToken(new fi("EOF",r.loc)),this.pushTokens(a),n.range(r,"")}consumeSpaces(){for(;;){var t=this.future();if(t.text===" ")this.stack.pop();else break}}consumeArg(t){var n=[],r=t&&t.length>0;r||this.consumeSpaces();var a=this.future(),o,i=0,l=0;do{if(o=this.popToken(),n.push(o),o.text==="{")++i;else if(o.text==="}"){if(--i,i===-1)throw new Ce("Extra }",o)}else if(o.text==="EOF")throw new Ce("Unexpected end of input in a macro argument, expected '"+(t&&r?t[l]:"}")+"'",o);if(t&&r)if((i===0||i===1&&t[l]==="{")&&o.text===t[l]){if(++l,l===t.length){n.splice(-l,l);break}}else l=0}while(i!==0||r);return a.text==="{"&&n[n.length-1].text==="}"&&(n.pop(),n.shift()),n.reverse(),{tokens:n,start:a,end:o}}consumeArgs(t,n){if(n){if(n.length!==t+1)throw new Ce("The length of delimiters doesn't match the number of args!");for(var r=n[0],a=0;athis.settings.maxExpand)throw new Ce("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(t){var n=this.popToken(),r=n.text,a=n.noexpand?null:this._getExpansion(r);if(a==null||t&&a.unexpandable){if(t&&a==null&&r[0]==="\\"&&!this.isDefined(r))throw new Ce("Undefined control sequence: "+r);return this.pushToken(n),!1}this.countExpansion(1);var o=a.tokens,i=this.consumeArgs(a.numArgs,a.delimiters);if(a.numArgs){o=o.slice();for(var l=o.length-1;l>=0;--l){var u=o[l];if(u.text==="#"){if(l===0)throw new Ce("Incomplete placeholder at end of macro body",u);if(u=o[--l],u.text==="#")o.splice(l+1,1);else if(/^[1-9]$/.test(u.text))o.splice(l,2,...i[+u.text-1]);else throw new Ce("Not a valid argument number",u)}}}return this.pushTokens(o),o.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var t=this.stack.pop();return t.treatAsRelax&&(t.text="\\relax"),t}throw new Error}expandMacro(t){return this.macros.has(t)?this.expandTokens([new fi(t)]):void 0}expandTokens(t){var n=[],r=this.stack.length;for(this.pushTokens(t);this.stack.length>r;)if(this.expandOnce(!0)===!1){var a=this.stack.pop();a.treatAsRelax&&(a.noexpand=!1,a.treatAsRelax=!1),n.push(a)}return this.countExpansion(n.length),n}expandMacroAsText(t){var n=this.expandMacro(t);return n&&n.map(r=>r.text).join("")}_getExpansion(t){var n=this.macros.get(t);if(n==null)return n;if(t.length===1){var r=this.lexer.catcodes[t];if(r!=null&&r!==13)return}var a=typeof n=="function"?n(this):n;if(typeof a=="string"){var o=0;if(a.indexOf("#")!==-1)for(var i=a.replace(/##/g,"");i.indexOf("#"+(o+1))!==-1;)++o;for(var l=new H8(a,this.settings),u=[],c=l.lex();c.text!=="EOF";)u.push(c),c=l.lex();u.reverse();var s={tokens:u,numArgs:o};return s}return a}isDefined(t){return this.macros.has(t)||vf.hasOwnProperty(t)||qn.math.hasOwnProperty(t)||qn.text.hasOwnProperty(t)||ete.hasOwnProperty(t)}isExpandable(t){var n=this.macros.get(t);return n!=null?typeof n=="string"||typeof n=="function"||!n.unexpandable:vf.hasOwnProperty(t)&&!vf[t].primitive}},nte=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,Q4=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"}),z8={"\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"}},rte={\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"},G1=class{constructor(t,n){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 tte(t,n,this.mode),this.settings=n,this.leftrightDepth=0}expect(t,n){if(n===void 0&&(n=!0),this.fetch().text!==t)throw new Ce("Expected '"+t+"', got '"+this.fetch().text+"'",this.fetch());n&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(t){this.mode=t,this.gullet.switchMode(t)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var t=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),t}finally{this.gullet.endGroups()}}subparse(t){var n=this.nextToken;this.consume(),this.gullet.pushToken(new fi("}")),this.gullet.pushTokens(t);var r=this.parseExpression(!1);return this.expect("}"),this.nextToken=n,r}parseExpression(t,n){for(var r=[];;){this.mode==="math"&&this.consumeSpaces();var a=this.fetch();if(G1.endOfExpression.indexOf(a.text)!==-1||n&&a.text===n||t&&vf[a.text]&&vf[a.text].infix)break;var o=this.parseAtom(n);if(o){if(o.type==="internal")continue}else break;r.push(o)}return this.mode==="text"&&this.formLigatures(r),this.handleInfixNodes(r)}handleInfixNodes(t){for(var n=-1,r,a=0;a=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+n[0]+'" used in math mode',t);var l=qn[this.mode][n].group,u=xo.range(t),c;if(BIe.hasOwnProperty(l)){var s=l;c={type:"atom",mode:this.mode,family:s,loc:u,text:n}}else c={type:l,mode:this.mode,loc:u,text:n};i=c}else if(n.charCodeAt(0)>=128)this.settings.strict&&(IK(n.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+n[0]+'" used in math mode',t):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+n[0]+'"'+(" ("+n.charCodeAt(0)+")"),t)),i={type:"textord",mode:"text",loc:xo.range(t),text:n};else return null;if(this.consume(),o)for(var f=0;f":""))+")"})}return d;function d(){let p=ute,m,y,_;if((!t||o(u,c,s[s.length-1]||void 0))&&(p=uLe(n(u,s)),p[0]===V8))return p;if("children"in u&&u.children){let D=u;if(D.children&&p[0]!==tC)for(y=(r?D.children.length:-1)+i,_=s.concat(D);y>-1&&y0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}var yLe={tokenize:ELe,partial:!0};function K8(){return{document:{[91]:{tokenize:CLe,continuation:{tokenize:xLe},exit:TLe}},text:{[91]:{tokenize:wLe},[93]:{add:"after",tokenize:DLe,resolveTo:bLe}}}}function DLe(e,t,n){let r=this,a=r.events.length,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),i;for(;a--;){let u=r.events[a][1];if(u.type==="labelImage"){i=u;break}if(u.type==="gfmFootnoteCall"||u.type==="labelLink"||u.type==="label"||u.type==="image"||u.type==="link")break}return l;function l(u){if(!i||!i._balanced)return n(u);let c=Pa(r.sliceSerialize({start:i.end,end:r.now()}));return c.charCodeAt(0)!==94||!o.includes(c.slice(1))?n(u):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(u),e.exit("gfmFootnoteCallLabelMarker"),t(u))}}function bLe(e,t){let n=e.length,r;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){r=e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";let a={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+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)},l={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},u=[e[n+1],e[n+2],["enter",a,t],e[n+3],e[n+4],["enter",o,t],["exit",o,t],["enter",i,t],["enter",l,t],["exit",l,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",a,t]];return e.splice(n,e.length-n+1,...u),e}function wLe(e,t,n){let r=this,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),o=0,i;return l;function l(d){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(d),e.exit("gfmFootnoteCallLabelMarker"),u}function u(d){return d!==94?n(d):(e.enter("gfmFootnoteCallMarker"),e.consume(d),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(d){let p;return d===null||d===91||o++>999?n(d):d===93?i?(e.exit("chunkString"),p=e.exit("gfmFootnoteCallString"),a.includes(Pa(r.sliceSerialize(p)))?f(d):n(d)):n(d):(e.consume(d),Dn(d)||(i=!0),d===92?s:c)}function s(d){return d===91||d===92||d===93?(e.consume(d),o++,c):c(d)}function f(d){return e.enter("gfmFootnoteCallLabelMarker"),e.consume(d),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t}}function CLe(e,t,n){let r=this,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),o,i=0,l;return u;function u(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):n(y)}function s(y){let _;return y===null||y===91||i>999?n(y):y===93?l?(_=e.exit("gfmFootnoteDefinitionLabelString"),o=Pa(r.sliceSerialize(_)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(y),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p):n(y):Ue(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||Ue(y)||y===91||y===93||i>999?(e.exit("chunkString"),s(y)):(Dn(y)||(l=!0),i++,e.consume(y),y===92?d:f)}function d(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"),mt(e,m,"gfmFootnoteDefinitionWhitespace")):n(y)}function m(y){return a.includes(o)||a.push(o),t(y)}}function xLe(e,t,n){return e.check(hl,t,e.attempt(yLe,t,n))}function TLe(e){e.exit("gfmFootnoteDefinition")}function ELe(e,t,n){let r=this;return mt(e,a,"gfmFootnoteDefinitionIndent",4+1);function a(o){let i=r.events[r.events.length-1];return i&&i[1].type==="gfmFootnoteDefinitionIndent"&&i[2].sliceSerialize(i[1],!0).length===4?t(o):n(o)}}function eF(e={}){let t=e.singleTilde,n={tokenize:a,resolveAll:r};return t==null&&(t=!0),{text:{[126]:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function r(o,i){let l=-1;for(;++l1?l(p):(o.consume(p),s++,d);if(s<2&&!t)return l(p);let y=o.exit("strikethroughSequenceTemporary"),_=Hv(p);return y._open=!_||_===2&&Boolean(m),y._close=!m||m===2&&Boolean(_),i(p)}}}var tF={flow:{null:{tokenize:SLe,resolve:RLe}}},gte={tokenize:FLe,partial:!0};function RLe(e,t){let n=-1,r,a,o,i,l,u,c;for(;++n=4?pe(N):(r._gfmTableDynamicInterruptHack=!0,q.check(r.parser.constructs.flow,function(H){return r._gfmTableDynamicInterruptHack=!1,pe(H)},function(H){return r._gfmTableDynamicInterruptHack=!1,Q(H)})(N))}}}function FLe(e,t,n){let r=0;return a;function a(i){return e.enter("check"),e.consume(i),o}function o(i){return i===-1||i===32?(e.consume(i),r++,r===4?t:o):i===null||Dn(i)?t(i):n(i)}}var MLe={tokenize:ILe},nF={text:{[91]:MLe}};function ILe(e,t,n){let r=this;return a;function a(l){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(l):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),o)}function o(l){return Dn(l)?(e.enter("taskListCheckValueUnchecked"),e.consume(l),e.exit("taskListCheckValueUnchecked"),i):l===88||l===120?(e.enter("taskListCheckValueChecked"),e.consume(l),e.exit("taskListCheckValueChecked"),i):n(l)}function i(l){return l===93?(e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),e.check({tokenize:ALe},t,n)):n(l)}}function ALe(e,t,n){let r=this;return mt(e,a,"whitespace");function a(o){let i=r.events[r.events.length-1];return(i&&i[1].type==="whitespace"||Ue(o))&&o!==null?t(o):n(o)}}function yte(e){return Uw([X8,K8(),eF(e),tF,nF])}function rF(e,t){let n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,a=n.indexOf(t);for(;a!==-1;)r++,a=n.indexOf(t,a+t.length);return r}function aF(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var LLe={}.hasOwnProperty,oF=function(e,t,n,r){let a,o;typeof t=="string"||t instanceof RegExp?(o=[[t,n]],a=r):(o=t,a=n),a||(a={});let i=P1(a.ignore||[]),l=jLe(o),u=-1;for(;++u0?{type:"text",value:L}:void 0),L!==!1&&(_!==I&&R.push({type:"text",value:f.value.slice(_,I)}),Array.isArray(L)?R.push(...L):L&&R.push(L),_=I+A[0].length,C=!0),!m.global)break;A=m.exec(f.value)}return C?(_e}var iF="phrasing",uF=["autolink","link","image","label"],lF={transforms:[HLe],enter:{literalAutolink:PLe,literalAutolinkEmail:sF,literalAutolinkHttp:sF,literalAutolinkWww:sF},exit:{literalAutolink:ULe,literalAutolinkEmail:kLe,literalAutolinkHttp:NLe,literalAutolinkWww:OLe}},cF={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:iF,notInConstruct:uF},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:iF,notInConstruct:uF},{character:":",before:"[ps]",after:"\\/",inConstruct:iF,notInConstruct:uF}]};function PLe(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function sF(e){this.config.enter.autolinkProtocol.call(this,e)}function NLe(e){this.config.exit.autolinkProtocol.call(this,e)}function OLe(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];t.url="http://"+this.sliceSerialize(e)}function kLe(e){this.config.exit.autolinkEmail.call(this,e)}function ULe(e){this.exit(e)}function HLe(e){oF(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,BLe],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,WLe]],{ignore:["link","linkReference"]})}function BLe(e,t,n,r,a){let o="";if(!wte(a)||(/^w/i.test(t)&&(n=t+n,t="",o="http://"),!zLe(n)))return!1;let i=$Le(n+r);if(!i[0])return!1;let l={type:"link",title:null,url:o+t+i[0],children:[{type:"text",value:t+i[0]}]};return i[1]?[l,{type:"text",value:i[1]}]:l}function WLe(e,t,n,r){return!wte(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function zLe(e){let t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function $Le(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")"),a=rF(e,"("),o=rF(e,")");for(;r!==-1&&a>o;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),o++;return[e,n]}function wte(e,t){let n=e.input.charCodeAt(e.index-1);return(e.index===0||lp(n)||cp(n))&&(!t||n!==47)}function fF(e){return e.label||!e.identifier?e.label||"":Yw(e.identifier)}function Cte(e,t,n){let r=t.indexStack,a=e.children||[],o=t.createTracker(n),i=[],l=-1;for(r.push(-1);++l `}return` `}var GLe=/\r?\n|\r/g;function xte(e,t){let n=[],r=0,a=0,o;for(;o=GLe.exec(e);)i(e.slice(r,o.index)),n.push(o[0]),r=o.index+o[0].length,a++;return i(e.slice(r)),n.join("");function i(l){n.push(t(l,a,!l))}}function rC(e){if(!e._compiled){let t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}function Tte(e,t){return Ete(e,t.inConstruct,!0)&&!Ete(e,t.notInConstruct,!1)}function Ete(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r=c||s+10?" ":"")),a.shift(4),o+=a.move(xte(Cte(e,n,a.current()),aje)),i(),o}function aje(e,t,n){return t===0?e:(n?"":" ")+e}function aC(e,t,n){let r=t.indexStack,a=e.children||[],o=[],i=-1,l=n.before;r.push(-1);let u=t.createTracker(n);for(;++i0&&(l==="\r"||l===` `)&&c.type==="html"&&(o[o.length-1]=o[o.length-1].replace(/(\r?\n|\r)$/," "),l=" ",u=t.createTracker(n),u.move(o.join(""))),o.push(u.move(t.handle(c,e,t,Lr(an({},u.current()),{before:l,after:s})))),l=o[o.length-1].slice(-1)}return r.pop(),o.join("")}var oje=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];Fte.peek=lje;var vF={canContainEols:["delete"],enter:{strikethrough:ije},exit:{strikethrough:uje}},hF={unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:oje}],handlers:{delete:Fte}};function ije(e){this.enter({type:"delete",children:[]},e)}function uje(e){this.exit(e)}function Fte(e,t,n,r){let a=yp(r),o=n.enter("strikethrough"),i=a.move("~~");return i+=aC(e,n,Lr(an({},a.current()),{before:i,after:"~"})),i+=a.move("~~"),o(),i}function lje(){return"~"}_F.peek=cje;function _F(e,t,n){let r=e.value||"",a="`",o=-1;for(;new RegExp("(^|[^`])"+a+"([^`]|$)").test(r);)a+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++ou&&(u=e[c].length);++_l[_])&&(l[_]=C)}m.push(D)}o[c]=m,i[c]=y}let s=-1;if(typeof n=="object"&&"length"in n)for(;++sl[s]&&(l[s]=D),d[s]=D),f[s]=C}o.splice(1,0,f),i.splice(1,0,d),c=-1;let p=[];for(;++cn==="none"?null:n),children:[]},e),this.setData("inTable",!0)}function pje(e){this.exit(e),this.setData("inTable")}function mje(e){this.enter({type:"tableRow",children:[]},e)}function yF(e){this.exit(e)}function Ate(e){this.enter({type:"tableCell",children:[]},e)}function vje(e){let t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,hje));let n=this.stack[this.stack.length-1];n.value=t,this.exit(e)}function hje(e,t){return t==="|"?t:e}function DF(e){let t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,a=t.stringLength,o=n?" ":"|";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:l,tableCell:u,inlineCode:d}};function i(p,m,y,_){return c(s(p,y,_),p.align)}function l(p,m,y,_){let D=f(p,y,_),C=c([D]);return C.slice(0,C.indexOf(` `))}function u(p,m,y,_){let D=y.enter("tableCell"),C=y.enter("phrasing"),R=aC(p,y,Lr(an({},_),{before:o,after:o}));return C(),D(),R}function c(p,m){return Mte(p,{align:m,alignDelimiters:r,padding:n,stringLength:a})}function s(p,m,y){let _=p.children,D=-1,C=[],R=m.enter("table");for(;++D<_.length;)C[D]=f(_[D],m,y);return R(),C}function f(p,m,y){let _=p.children,D=-1,C=[],R=m.enter("tableRow");for(;++D<_.length;)C[D]=u(_[D],p,m,y);return R(),C}function d(p,m,y){let _=_F(p,m,y);return y.stack.includes("tableCell")&&(_=_.replace(/\|/g,"\\$&")),_}}function Lte(e){let t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function jte(e){let t=e.options.listItemIndent||"tab";if(t===1||t==="1")return"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function Pte(e,t,n,r){let a=jte(n),o=n.bulletCurrent||Lte(n);t&&t.type==="list"&&t.ordered&&(o=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+o);let i=o.length+1;(a==="tab"||a==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(i=Math.ceil(i/4)*4);let l=n.createTracker(r);l.move(o+" ".repeat(i-o.length)),l.shift(i);let u=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,l.current()),s);return u(),c;function s(f,d,p){return d?(p?"":" ".repeat(i))+f:(p?o:o+" ".repeat(i-o.length))+f}}var bF={exit:{taskListCheckValueChecked:Nte,taskListCheckValueUnchecked:Nte,paragraph:_je}},wF={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:gje}};function Nte(e){let t=this.stack[this.stack.length-2];t.checked=e.type==="taskListCheckValueChecked"}function _je(e){let t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){let n=this.stack[this.stack.length-1],r=n.children[0];if(r&&r.type==="text"){let a=t.children,o=-1,i;for(;++oi&&(i=o):o=1,a=r+t.length,r=n.indexOf(t,a);return i}function TF(){return{enter:{mathFlow:e,mathFlowFenceMeta:t,mathText:o},exit:{mathFlow:a,mathFlowFence:r,mathFlowFenceMeta:n,mathFlowValue:l,mathText:i,mathTextData:l}};function e(u){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]}},u)}function t(){this.buffer()}function n(){let u=this.resume(),c=this.stack[this.stack.length-1];Kv(c.type==="math"),c.meta=u}function r(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function a(u){let c=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),s=this.stack[this.stack.length-1];Kv(s.type==="math"),this.exit(u),s.value=c;let f=s.data.hChildren[0];Kv(f.type==="element"),Kv(f.tagName==="code"),f.children.push({type:"text",value:c}),this.data.mathFlowInside=void 0}function o(u){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},u),this.buffer()}function i(u){let c=this.resume(),s=this.stack[this.stack.length-1];Kv(s.type==="inlineMath"),this.exit(u),s.value=c,s.data.hChildren.push({type:"text",value:c})}function l(u){this.config.enter.data.call(this,u),this.config.exit.data.call(this,u)}}function EF(e){let t=(e||{}).singleDollarTextMath;return t==null&&(t=!0),r.peek=a,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:` `,inConstruct:"mathFlowMeta"},{character:"$",after:t?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:n,inlineMath:r}};function n(o,i,l,u){let c=o.value||"",s=l.createTracker(u),f="$".repeat(Math.max(Ote(c,"$")+1,2)),d=l.enter("mathFlow"),p=s.move(f);if(o.meta){let m=l.enter("mathFlowMeta");p+=s.move(l.safe(o.meta,an({after:` `,before:p,encode:["$"]},s.current()))),m()}return p+=s.move(` `),c&&(p+=s.move(c+` `)),p+=s.move(f),d(),p}function r(o,i,l){let u=o.value||"",c=1;for(t||c++;new RegExp("(^|[^$])"+"\\$".repeat(c)+"([^$]|$)").test(u);)c++;let s="$".repeat(c);/[^ \r\n]/.test(u)&&(/^[ \r\n]/.test(u)&&/[ \r\n]$/.test(u)||/^\$|\$$/.test(u))&&(u=" "+u+" ");let f=-1;for(;++f-1&&e.test(String.fromCharCode(n))}}function V1(e,t,n,r){let a=r?r-1:Number.POSITIVE_INFINITY,o=0;return i;function i(u){return RF(u)?(e.enter(n),l(u)):t(u)}function l(u){return RF(u)&&o++_t.createElement("table",{className:"table table-bordered table-sm",children:e.children}),Wte=[iC,{singleDollarTextMath:!1}],zte=[nC,{throwOnError:!1}];var $te=e=>{try{return b4(e)}catch{return e.fallback}};jt();var qte=class extends _t.Component{constructor(t){super(t);this.state={error:null}}static getDerivedStateFromError(t){return{error:t}}componentDidCatch(t,n){this.props.componentDidCatch(t,n)}render(){return this.props.render(this.state)}},Gte=qte;var xje=Gu(),Tje=ae(Kt);var Eje=function(){return function(){return xje(Gte)}},Rje=Eje()(),Vte=function(e){return Rje({render:function(t){return e({hasError:Cr(yt(t.error))})},componentDidCatch:function(t,n){return Bl(os)("Error within error boundary")({error:t,componentStack:n.componentStack})(function(r){return Tje(ve)})()}})};var Sje=Gu(),Fje=ke(ir),Mje=function(e){return function(t){var n=tE(e);return Vte(function(r){return r.hasError?n:Sje($te)({children:e,rehypePlugins:Fje([zte])(t),remarkPlugins:[oC,Wte],components:{table:Bte},fallback:n})})}},FF=function(e){return Mje(e)([])};var Ije=In();var Aje=Ije(Io(Yl("s$")(IT))),Jte=function(e){if(pD(Aje)(e))return e+"\u2019";if(nt)return e+"\u2019s";throw new Error("Failed pattern match at Utils.Name (line 111, column 1 - line 111, column 31): "+[e.constructor.name])};var Lje=kn();var jje=function(e){return Lje(Iy(e))};var Xte=function(e){return Or(jje(e))};var Pje=tD(mr),Nje=pd(Kc),Oje=fe(xr),Yte=bt(Wu),Zte=ae(Kt),kje=Jp(Kt)(Uu),Uje=VO(Kx),Hje=He(ze),Bje=so(Dt)(gx(mx)),Wje=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),J1=function(){function e(){}return e.value=new e,e}(),X1=function(){function e(){}return e.value=new e,e}();var uC={append:function(e){return function(t){return Pje(t)(e)}}},zje={mempty:Ju,Semigroup0:function(){return uC}},$je=Bu(Ly(zje)(ma));var MF=function(e){return function(t){var n=Xte(t),r=Nje(n);return function(){var o=Yte(Yc(Zte(ve)))(),i=kje(r)(function(u){return Uje(e)(u.value0)(function(c){return function(){var f=u.value1(c)();if(f instanceof J1)return ve;if(f instanceof X1)return Oje(Al(o))(Hje)();throw new Error("Failed pattern match at Utils.Pusher.ListenMany (line 73, column 23 - line 75, column 66): "+[f.constructor.name])}})})(),l=Bje(i);return Yte(Ll(l)(o))(),new Wje({disconnect:l})}}},Y1=function(e){var t=zu(e);return function(n){return function(r){return $je(Dm(n)(function(a){var o=t(a);if(o instanceof Pe)return r(o.value0);if(o instanceof Ae)return Bl(os)("Error parsing Pusher event")({error:o.value0,event:n,value:a})(function(i){return Zte(J1.value)});throw new Error("Failed pattern match at Utils.Pusher.ListenMany (line 35, column 65 - line 37, column 122): "+[o.constructor.name])}))}}};var Qte=typeof CV!="undefined"&&CV.pathInfo||typeof global!="undefined"&&global.CV&&global.CV.pathInfo||(e=>null);function Kte(e,t){let n=typeof CV!="undefined"&&CV.apiEndpoint||typeof global!="undefined"&&global.CV&&global.CV.apiEndpoint;return n||console.error("Missing `CV.apiEndpoint` function"),n&&n(e,t)}function ene(e,t,n,r,a){return function(o,i){var l=e.newXHR(),u=e.fixupUrl(a.url,l);if(l.open(a.method||"GET",u,!0,a.username,a.password),a.headers)try{for(var c=0,s;(s=a.headers[c])!=null;c++)l.setRequestHeader(s.field,s.value)}catch(d){o(d)}var f=function(d){return function(){o(new Error(d))}};return l.onerror=f(n),l.ontimeout=f(t),l.onload=function(){i({status:l.status,statusText:l.statusText,headers:l.getAllResponseHeaders().split(`\r `).filter(function(d){return d.length>0}).map(function(d){var p=d.indexOf(":");return r(d.substring(0,p))(d.substring(p+2))}),body:l.response})},l.responseType=a.responseType,l.withCredentials=a.withCredentials,l.timeout=a.timeout,l.send(a.content),function(d,p,m){try{l.abort()}catch(y){return p(y)}return m()}}}var lC="application/json",tne="application/x-www-form-urlencoded";var nne=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),rne=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),ane=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),one=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),ine=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),IF=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),cC=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),une=function(e){return e instanceof IF?new P(tne):e instanceof cC?new P(lC):O.value};var lne=function(){return cC.create}();var cne=kn();var sC=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),fC=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),e0=function(){function e(t,n){this.value0=t,this.value1=n}return e.create=function(t){return function(n){return new e(t,n)}},e}(),sne=function(e){if(e instanceof sC||e instanceof fC)return cne(e.value0);if(e instanceof e0)return e.value1;throw new Error("Failed pattern match at Affjax.RequestHeader (line 26, column 1 - line 26, column 33): "+[e.constructor.name])};var AF=function(e){if(e instanceof sC)return"Accept";if(e instanceof fC)return"Content-Type";if(e instanceof e0)return e.value0;throw new Error("Failed pattern match at Affjax.RequestHeader (line 21, column 1 - line 21, column 32): "+[e.constructor.name])};var fne=He(ze),LF=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),jF=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),PF=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),dC=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),pC=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),mC=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),dne=function(e){if(e instanceof LF)return"arraybuffer";if(e instanceof jF)return"blob";if(e instanceof PF)return"document";if(e instanceof dC||e instanceof pC)return"text";if(e instanceof mC)return"";throw new Error("Failed pattern match at Affjax.ResponseFormat (line 44, column 3 - line 50, column 19): "+[e.constructor.name])},pne=function(e){return e instanceof dC?new P(lC):O.value},mne=function(){return new pC(fne)}();var vne=function(){return new mC(fne)}();var hne=function(){function e(t,n){this.value0=t,this.value1=n}return e.create=function(t){return function(n){return new e(t,n)}},e}();function bu(e){return e}function NF(e){return JSON.stringify(e)}var _ne=bu(yy);function gne(e,t,n){try{return t(JSON.parse(n))}catch(r){return e(r.message)}}var vC=function(e){return gne(Ae.create,Pe.create,e)};var qje=Tt(io),yne=X(Ve),Gje=za(Uu)(bn);var Vje=function(e){return e};var Dne=function(){var e=function(r){if(r.value1 instanceof O)return Lw(r.value0);if(r.value1 instanceof P)return qje(yne(function(a){return function(o){return a+("="+o)}})(Lw(r.value0)))(Lw(r.value1.value0));throw new Error("Failed pattern match at Data.FormURLEncoded (line 37, column 16 - line 39, column 114): "+[r.constructor.name])},t=yne(Ra("&")),n=Gje(e);return function(r){return t(n(Vje(r)))}}();var OF=function(){function e(){}return e.value=new e,e}(),Dp=function(){function e(){}return e.value=new e,e}(),kF=function(){function e(){}return e.value=new e,e}(),t0=function(){function e(){}return e.value=new e,e}(),hC=function(){function e(){}return e.value=new e,e}(),Z1=function(){function e(){}return e.value=new e,e}(),UF=function(){function e(){}return e.value=new e,e}(),HF=function(){function e(){}return e.value=new e,e}(),BF=function(){function e(){}return e.value=new e,e}(),WF=function(){function e(){}return e.value=new e,e}(),zF=function(){function e(){}return e.value=new e,e}(),$F=function(){function e(){}return e.value=new e,e}(),qF=function(){function e(){}return e.value=new e,e}(),GF=function(){function e(){}return e.value=new e,e}(),VF=function(){function e(){}return e.value=new e,e}(),_C=function(){function e(){}return e.value=new e,e}();var Jje=function(e){return e},Xje={show:function(e){if(e instanceof OF)return"OPTIONS";if(e instanceof Dp)return"GET";if(e instanceof kF)return"HEAD";if(e instanceof t0)return"POST";if(e instanceof hC)return"PUT";if(e instanceof Z1)return"DELETE";if(e instanceof UF)return"TRACE";if(e instanceof HF)return"CONNECT";if(e instanceof BF)return"PROPFIND";if(e instanceof WF)return"PROPPATCH";if(e instanceof zF)return"MKCOL";if(e instanceof $F)return"COPY";if(e instanceof qF)return"MOVE";if(e instanceof GF)return"LOCK";if(e instanceof VF)return"UNLOCK";if(e instanceof _C)return"PATCH";throw new Error("Failed pattern match at Data.HTTP.Method (line 43, column 1 - line 59, column 23): "+[e.constructor.name])}};var bne=Xn(xe(Xje))(Jje);var wne={eq:function(e){return function(t){return e instanceof OF&&t instanceof OF||e instanceof Dp&&t instanceof Dp||e instanceof kF&&t instanceof kF||e instanceof t0&&t instanceof t0||e instanceof hC&&t instanceof hC||e instanceof Z1&&t instanceof Z1||e instanceof UF&&t instanceof UF||e instanceof HF&&t instanceof HF||e instanceof BF&&t instanceof BF||e instanceof WF&&t instanceof WF||e instanceof zF&&t instanceof zF||e instanceof $F&&t instanceof $F||e instanceof qF&&t instanceof qF||e instanceof GF&&t instanceof GF||e instanceof VF&&t instanceof VF||e instanceof _C&&t instanceof _C}}};var Cne=function(e){return ad(function(t){return function(){var r=e(function(a){return t(Ae.create(a))()},function(a){return t(Pe.create(a))()});return function(a){return ad(function(o){return function(){return r(a,function(l){return o(Ae.create(l))()},function(l){return o(Pe.create(l))()}),OL}})}}})};var JF=ae(Ul(ma)),Yje=_y(ma),bp=gy(ma),xne=On(kx(Hx)(ma)),Zje=Jc(am(ma)),gC=X(Ve),Qje=Oo(Dt)(hr),Kje=De(or),ePe=_n(pt),tPe=X(zt),nPe=kt(ls),rPe=es(rh),aPe=ae(Rr);var yC=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),DC=function(){function e(t,n){this.value0=t,this.value1=n}return e.create=function(t){return function(n){return new e(t,n)}},e}(),bC=function(){function e(){}return e.value=new e,e}(),wC=function(){function e(){}return e.value=new e,e}(),CC=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),Tne=function(e){return function(t){var n=function(s){return s===""?JF(_ne):Xn(function(f){return Yje(hy.create(f))})(JF)(vC(s))},r=function(){if(t.responseFormat instanceof LF)return bp("ArrayBuffer");if(t.responseFormat instanceof jF)return bp("Blob");if(t.responseFormat instanceof PF)return function(s){return xne(bp("Document")(s))(xne(bp("XMLDocument")(s))(bp("HTMLDocument")(s)))};if(t.responseFormat instanceof dC)return Zje(function(s){return t.responseFormat.value0(n(s))})(bp("String"));if(t.responseFormat instanceof pC)return bp("String");if(t.responseFormat instanceof mC)return Xe(t.responseFormat.value0(JF(ve)));throw new Error("Failed pattern match at Affjax (line 274, column 18 - line 283, column 57): "+[t.responseFormat.constructor.name])}(),a=function(s){if(s instanceof nne)return new Pe(s.value0(ra));if(s instanceof rne)return new Pe(ra(s.value0));if(s instanceof ane)return new Pe(ra(s.value0));if(s instanceof one)return new Pe(ra(s.value0));if(s instanceof ine)return new Pe(ra(s.value0));if(s instanceof IF)return Xc("Body contains values that cannot be encoded as application/x-www-form-urlencoded")(gC(ra)(Dne(s.value0)));if(s instanceof cC)return new Pe(ra(NF(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 P&&!Qje(v0(Kje)(AF)(s.value0))(f)?Yp(f)(s.value0):f}},i=function(s){return o(gC(fC.create)(ePe(une)(s)))(o(gC(sC.create)(pne(t.responseFormat)))(t.headers))},l=function(s){return{method:bne(t.method),url:t.url,headers:tPe(function(f){return{field:AF(f),value:sne(f)}})(i(t.content)),content:s,responseType:dne(t.responseFormat),username:tu(t.username),password:tu(t.password),withCredentials:t.withCredentials,timeout:et(0)(gC(function(f){return f})(t.timeout))}},u=function(s){return nPe(rPe(Cne(ene(e,"AffjaxTimeoutErrorMessageIdent","AffjaxRequestFailedMessageIdent",hne.create,l(s)))))(function(f){if(f instanceof Pe){var d=Ey(r(f.value0.body));if(d instanceof Ae)return new Ae(new DC(vA(d.value0),f.value0));if(d instanceof Pe)return new Pe({headers:f.value0.headers,status:f.value0.status,statusText:f.value0.statusText,body:d.value0});throw new Error("Failed pattern match at Affjax (line 209, column 9 - line 211, column 52): "+[d.constructor.name])}if(f instanceof Ae)return new Ae(function(){var p=nm(f.value0),m=p==="AffjaxTimeoutErrorMessageIdent";if(m)return bC.value;var y=p==="AffjaxRequestFailedMessageIdent";return y?wC.value:new CC(f.value0)}());throw new Error("Failed pattern match at Affjax (line 207, column 144 - line 219, column 28): "+[f.constructor.name])})};if(t.content instanceof O)return u(tu(O.value));if(t.content instanceof P){var c=a(t.content.value0);if(c instanceof Pe)return u(tu(new P(c.value0)));if(c instanceof Ae)return aPe(new Ae(new yC(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): "+[t.content.constructor.name])}};var n0=function(){return{method:new Ae(Dp.value),url:"/",headers:[],content:O.value,username:O.value,password:O.value,withCredentials:!1,responseFormat:vne,timeout:O.value}}();var Ene={eq:function(e){return function(t){return e===t}}};var XF={newXHR:function(){return new XMLHttpRequest},fixupUrl:function(e){return e||"/"}};var Rne=Tne(XF);function Sne(e){return Buffer.from(e).toString("base64")}function Fne(e,t,n){let r;try{r=t(btoa(n))}catch(a){r=e(a)}return r}var YF=typeof btoa=="function";function Mne(e){let t=32768,n=[];for(let r=0;rn=>{try{return e(JSON.parse(n))}catch{return t}},Xre=JSON.stringify;var Yre=function(){return Xre};var Zre=function(){return Jre({nothing:O.value,just:P.create})}();var OC=fe(xr),Qre=gO(Wu),HNe=rN(jL),BNe=Yre(),kC=fe(pt),Kre=qa(),WNe=$u(Kre(Ne({reflectSymbol:function(){return"expires"}})(ct)(Ne({reflectSymbol:function(){return"letter"}})(Kre(Ne({reflectSymbol:function(){return"additionalInstructions"}})(ct)(Ne({reflectSymbol:function(){return"collegeProgram"}})(ct)(Ne({reflectSymbol:function(){return"createdAt"}})(ct)(Ne({reflectSymbol:function(){return"customizationLength"}})(ct)(Ne({reflectSymbol:function(){return"customizationStructure"}})(ct)(Ne({reflectSymbol:function(){return"customizationTone"}})(ct)(Ne({reflectSymbol:function(){return"output"}})(ct)(Ne({reflectSymbol:function(){return"purpose"}})(ct)(Ne({reflectSymbol:function(){return"studentBackground"}})(ct)(Ne({reflectSymbol:function(){return"studentBragSheet"}})(ct)(Ne({reflectSymbol:function(){return"studentDetails"}})(ct)(Ne({reflectSymbol:function(){return"studentName"}})(ct)(Ne({reflectSymbol:function(){return"writingSample"}})(ct)(Yn)))))))))))))))(Yn)))),zNe=wn(on)(pt),$Ne=td(kp),qNe=Sg(fh),GNe=ae(bn),eae="anonymous-user-generated-recent-rec-letter",tae=function(e){return function(){var n=Cd(),r=Qre(n)(),a=Qre(et(n)(HNe(24)(n)))(),o={additionalInstructions:e.additionalInstructions,collegeProgram:e.collegeProgram,customizationLength:e.customizationLength,customizationStructure:e.customizationStructure,customizationTone:e.customizationTone,output:e.output,purpose:e.purpose,studentBackground:e.studentBackground,studentBragSheet:e.studentBragSheet,studentDetails:e.studentDetails,studentName:e.studentName,writingSample:e.writingSample,createdAt:r},i={letter:o,expires:a};return OC(OC(Gr)(cu))(tf(eae)(BNe(i)))()}},nae=function(){var t=OC(OC(Gr)(cu))(nf(eae))(),n=Cd();return kC(kC(kC(t)(Zre))(WNe))(function(r){return kC(Ku(r.expires))(function(a){return zNe($Ne(qNe(a)(n)))(function(){return GNe(r.letter)})})})};var UC=e=>()=>{try{navigator.clipboard.writeText(e)}catch(t){JNe(t),VNe(e)}},VNe=e=>{var t=document.createElement("textarea");document.body.appendChild(t),t.value=e,t.select(),document.execCommand("copy"),document.body.removeChild(t)},JNe=e=>{if(typeof window!="undefined"){let t=new Error("Unable to write text to clipboard using Clipboard API. Falling back to execCommand.");typeof window.Sentry!="undefined"&&window.Sentry.captureException(t,{extra:e})}};var lg=ho(),XNe=so(Dt)(qr),YNe=bs(on)(),ZNe=DD(qc),QNe=Jn(Rr),KNe=wn(on),rae=KNe(lr),aM=bt(gn),eOe=Rs(),tOe=Mm(ut),nOe=wD(Rt)()(),aae=RD(Ut)()(),HC=Hr(ut)()(),oM=Jr(su),oae=gr(Rt)()(),i0=St(ut),rOe=ia()(),aOe=Sw(Ut)()(),oOe=gr(Ut)()(),iOe=St(Rt),uOe=Xr(Ut),lOe=Si(ut),iae=Ri()(),uae=oa(gD),cOe=oa(Ja),sOe=_n(lr),lae=function(){function e(){}return e.value=new e,e}(),cae=function(){function e(){}return e.value=new e,e}(),u0=function(){function e(){}return e.value=new e,e}(),cg=function(){function e(){}return e.value=new e,e}(),fOe={eq:function(e){return function(t){return e instanceof u0&&t instanceof u0||e instanceof cg&&t instanceof cg}}},dOe=De(fOe),sae=function(e){var t=function(n){return function(r){return"btn btn-link rounded-0 nav-link "+function(){var a=dOe(n)(r);return a?"active":""}()}};return Zu(lg(Zn(u0.value))(function(n){return lg(Zn(""))(function(r){return lg(Zn(cae.value))(function(a){return lg(Zn(!1))(function(o){return lg(Zn(XNe([`Hey there, `,"Your counselor, ",e.user.name,", is requesting you complete a brag sheet in order to receive ","a letter of recommendation. Complete your brag sheet here: ",e.inviteUrl])))(function(i){return YNe(ZNe(o.value0)(function(l){return QNe(l)(rae(aM(UC(e.inviteUrl)))(function(){return rae(ss(2e3))(function(){return aM(o.value1(!1))})}))}))(function(){return ai(eOe({body:pn([tOe("")("Share brag sheet"),nOe("nav nav-tabs mb-4")({role:"tablist"})([aae("nav-item text-nowrap")({role:"tab"})(HC(t(n.value0)(u0.value))(Ht)({onClick:oM(n.value1)(u0.value)})("Share link")),aae("nav-item text-nowrap")({role:"tab"})(HC(t(n.value0)(cg.value))(Ht)({onClick:oM(n.value1)(cg.value)})("Email"))]),function(){if(n.value0 instanceof u0)return oae("tab-content")({role:"tablist"})([i0("text-secondary mb-4")("Use one link to share your brag sheet. Great for an email or your class website."),rOe("form-control bg-white py-4 mb-3")({value:e.inviteUrl,readOnly:!0}),aOe({placement:IY,overlay:En("Link copied!"),visible:o.value0})(HC("btn btn-primary px-5")(Ht)({onClick:oM(o.value1)(!0)})("Copy link"))]);if(n.value0 instanceof cg){if(a.value0 instanceof lae)return oOe("tab-content container")({role:"tablist"})(iOe("text-center")([uOe("display-1 fe fe-check-circle text-success")(dn),i0("h1")("Invite sent!"),lOe("lead")("You\u2019ve successfully invited them to join!")]));if(a.value0 instanceof cae)return oae("tab-content container")({role:"tablist"})([i0("row text-secondary mb-4")("Add your students to keep track of completions and send reminders."),i0("row mb-2")("Email"),i0("row mb-1 text-secondary")("Separate multiple with a comma or line break"),iae("row form-control mb-3")({name:"email",placeholder:"name@email.edu, name@email.edu, name@email.edu...",value:r.value0,onChange:uae(function(l){return r.value1(_u(l))}),rows:4}),i0("row mb-2")("Message"),iae("row form-control mb-3")({name:"message",value:i.value0,rows:5,onChange:uae(function(l){return i.value1(_u(l))})}),HC("row col-auto btn btn-primary px-5")(Ht)({disabled:r.value0===""||i.value0==="",onClick:cOe(function(){return cs(sOe(function(u){return aM(e.onShare(u))})(Gne({emails:r.value0,message:i.value0})))(),a.value1(lae.value)()})})("Send invitations")]);throw new Error("Failed pattern match at Vinai.RecLetters.ShareBragSheetModal (line 90, column 17 - line 126, column 24): "+[a.value0.constructor.name])}throw new Error("Failed pattern match at Vinai.RecLetters.ShareBragSheetModal (line 74, column 13 - line 126, column 24): "+[n.value0.constructor.name])}()]),onDismiss:e.onDismiss}))})})})})})}))};var fae=Fm(Rt),pOe=St(ut),mOe=ia()(),vOe=Jr(ys),dae=gr(ut)()(),hOe=oa(gD),_Oe=St(Ut),gOe=oa(Ja),pae=function(e){var t=function(n){return fae("form-label mt-3 mb-0 w-100")([pOe("mb-2")(n),mOe("form-control t--student-name")({onChange:vOe(e.setStudentName)(Ec),placeholder:"Enter student name",value:e.studentName,maxLength:100})])};if(e.anonymous)return t("Student you\u2019re recommending");if(!e.anonymous&&e.studentPendingInvite)return t("Student name");if(!e.anonymous)return dn;throw new Error("Failed pattern match at Vinai.RecLetters.StudentInput (line 74, column 3 - line 77, column 24): "+[e.anonymous.constructor.name,e.studentPendingInvite.constructor.name])},mae=function(e){return gh(Zn(!1))(function(t){return function(n){return fae("form-label w-100 t--student-dropdown-label")([dae("mb-2")({id:"student-recommend-text"})("Student you\u2019re recommending"),O2(new u1("student-recommend-text"))()({options:e.allStudents,getOptionLabel:Ore,getOptionValue:function(){var r=et("");return function(a){return r(Nre(a))}}(),onSelect:hOe(function(r){return function(){return n(!1)(),e.setStudent(new P(r))()}}),value:e.student,noOptionsMessage:hq(function(r){return r.inputValue===""?En("No invited students"):En("No invited students match your search")}),placeholder:"Type to search student",useMenuPortal:!0,footerOption:_q(function(r){if(r.inputValue instanceof O)return O.value;if(r.inputValue instanceof P&&r.inputValue.value0==="")return O.value;if(r.inputValue instanceof P)return new P(_Oe("text-primary px-3 pb-3")(dae("cursor-pointer pt-2 t--continue-with-guest-option")({onClick:gOe(function(){return n(!1)(),e.setStudent(new P(new Vi({name:r.inputValue.value0})))()})})("Continue with Guest Student \u2018"+(r.inputValue.value0+"\u2019"))));throw new Error("Failed pattern match at Vinai.RecLetters.StudentInput (line 44, column 64 - line 56, column 66): "+[r.inputValue.constructor.name])}),isClearable:!0,onClear:e.setStudent(O.value),onBlur:n(!1),onFocus:n(!0),menuIsOpen:t})])}})};var yOe=HY(o0),DOe=gr(Ut)()(),bOe=St(Ut),wOe=Hr(ut)()(),COe=oa(Ja),xOe=ae(Kt),iM=function(e){return function(t){return e.shouldShow?yOe(e.state)(e.dispatch)({step:e.step,content:DOe("text-white mb-3")({style:Zt({fontSize:"1rem"})})(function(){if(e.step instanceof wu)return En("Add student details to generate a rec letter");if(e.step instanceof Cu)return dn;if(e.step instanceof qi)return En(` Instead of typing, have your students fill out brag sheets on CollegeVine to generate better letters faster. `);if(e.step instanceof xu)return dn;if(e.step instanceof Gi)return dn;throw new Error("Failed pattern match at Vinai.RecLetters.TourTooltip (line 32, column 74 - line 44, column 22): "+[e.step.constructor.name])}()),button:function(n){return bOe("")(wOe("btn btn-white rounded-pill px-4")(Ht)({onClick:COe(n.onNext)})(function(){if(e.step instanceof wu)return"Got it";if(e.step instanceof Cu)return"";if(e.step instanceof qi)return"Try an example brag sheet";if(e.step instanceof xu||e.step instanceof Gi)return"";throw new Error("Failed pattern match at Vinai.RecLetters.TourTooltip (line 49, column 13 - line 54, column 42): "+[e.step.constructor.name])}()))},overlayStyle:Zt({maxWidth:"325px"}),overlayClassName:"brag-sheet-preview-tooltip",contentClassName:"p-3",tooltipPlacement:function(){if(e.step instanceof wu)return AY;if(e.step instanceof Cu)return S1;if(e.step instanceof qi)return S1;if(e.step instanceof xu)return S1;if(e.step instanceof Gi)return S1;throw new Error("Failed pattern match at Vinai.RecLetters.TourTooltip (line 59, column 11 - line 64, column 52): "+[e.step.constructor.name])}()})(t):t({onNext:xOe(ve)})}},uM="Mia Jones",vae="Example: Mia Jones\u2019 brag sheet",lM=function(){return[{questionId:0,question:"What majors or careers are you considering and why?",answer:new P("Computer Science, I took an introductory coding class and participated in a hackathon.")},{questionId:1,question:"What extracurriculars have been the most meaningful to you and why?",answer:new P("Being part of the school's environmental club has been the most meaningful to me. It's given me a platform to act on my passion for sustainability and environmental conservation. Organizing local clean-up events and leading an initiative to reduce plastic use in our cafeteria showed me the impact collective action can have on our community.")},{questionId:2,question:"Do you believe your academic record is an accurate reflection of your ability? If not, please explain why.",answer:new P("I believe my academic record, while strong, does not fully capture all my abilities and efforts. I faced some personal challenges during my sophomore year, which briefly impacted my performance. However, I was able to overcome these obstacles, and my grades improved significantly afterwards. This experience taught me valuable lessons in resilience and time management, which are not reflected in my transcript but are essential skills I have developed.")}]}();var hae="/legal/terms";var _ae="/legal/privacy";var cM=ho(),TOe=De($r(or)),EOe=Sh(),gae=St(ut),ROe=Si(ut),SOe=CD(Rt),sM=SD(Rt),fM=Xr(ut),dM=TD(ut),yae=St(Rt),FOe=ia()(),MOe=Jr(su),IOe=Qu(Rt)()(),BC=Td(ut)()(),AOe=Hr(ut)()(),LOe=oa(Ja),Dae=Jn(Kt),jOe=Ov(gn)(),pM="rec-letters-welcome-modal-dismissed",WC=function(e){return Zu(cM(H5(pM)("false"))(function(t){return cM(Zn(!1))(function(n){return cM(Zn(!1))(function(r){return ai(el(TOe(t.value0)(new P("false")))(EOe({body:pn([gae("h1")("Welcome to CollegeVine\u2019s Rec Letter Assistant!"),ROe("")(` CollegeVine Rec Letter Assistant helps busy counselors save time by drafting highly personalized letters of recommendation for their students in minutes. `),SOe("list-unstyled")([sM("")([fM("mr-2")("\u{1F551}"),dM("")("Write an Amazing First Draft in Seconds:"),En(" Fully editable")]),sM("my-2")([fM("mr-2")("\u{1F64D}"),dM("")("Personalized to Each Student:"),En(" Based on your students\u2019 brag sheets, profile, and more.")]),sM("")([fM("mr-2")("\u270D\uFE0F"),dM("")("Custom to Your Writing Style:"),En(" Upload examples of rec letters you\u2019ve written in the past and our app will produce letters in your unique voice.")])]),yae("form-check")([FOe("form-check-input t--agree-to-terms")({checked:n.value0,id:"agree-to-terms",onChange:MOe(n.value1)(!n.value0),type:"checkbox"}),IOe("form-check-label")({htmlFor:"agree-to-terms"})([En("By checking this box I agree to the "),BC("")(Ht)({href:hae,target:"_blank"})("Terms of service"),En(" and "),BC("")(Ht)({href:_ae,target:"_blank"})("Privacy policy")])]),el(r.value0)(gae("text-danger")("You must agree above before proceeding.")),yae("text-center mt-3")([function(){return e.isAnonymous?BC("mr-3")(Ht)({href:"/"})("Back home"):BC("mr-3")(Ht)({href:"dashboard"})("Back to dashboard")}(),AOe("btn btn-dark"+function(){return n.value0?"":" cursor-default"}())(Ht)({onClick:LOe(function(){return Dae(!n.value0)(r.value1(!0))(),Dae(n.value0)(function(){return r.value1(!1)(),cs(jOe("Rec Letter - Agreed to terms")({}))(),t.value1("true")(),e.onDismiss()})()})})("Get started")])]),header:qT("")("/img/vinai/rec-letters/welcome.gif"),headerClass:"p-0 d-flex justify-content-center bg-spearmint"})))})})}))};var bae=In(),POe=ke(MT),NOe=Qg(qr),mM=xe(hn),OOe=ju(pt),kOe=fe(pt),UOe=ga(),HOe=St(Rt),BOe=Ri()(),WOe=Jr(ys),zOe=St(ut),wae=function(){var e=bae(Io(Yl("\\s+")(POe(Em)(fN)))),t=qf(function(r){return r!==""}),n=FT(e);return function(r){return Pr(t(n(r)))}}(),$Oe=function(e){return function(t){var n=wae(t);return NOe([mM(n),"/",mM(e)," words"])}},qOe=function(e){return function(t){var n=function(i){return bae(Io(Yl("^(?:[\\w-]+[^\\w-]+){"+(mM(i)+"}[\\w-]+"))(sN)))},r=function(i){return function(l){var u=OOe(kOe(AT(n(i-1|0))(l))(Vt(EP)(0)));return et(l)(u)}},a=_u(t),o=wae(a) * @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. */