var Purs_EntryPoints_Vinai_RecLetters=(()=>{var mte=Object.create;var Am=Object.defineProperty,vte=Object.defineProperties,hte=Object.getOwnPropertyDescriptor,_te=Object.getOwnPropertyDescriptors,gte=Object.getOwnPropertyNames,W8=Object.getOwnPropertySymbols,yte=Object.getPrototypeOf,z8=Object.prototype.hasOwnProperty,Dte=Object.prototype.propertyIsEnumerable;var G8=(e,t,n)=>t in e?Am(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Kt=(e,t)=>{for(var n in t||(t={}))z8.call(t,n)&&G8(e,n,t[n]);if(W8)for(var n of W8(t))Dte.call(t,n)&&G8(e,n,t[n]);return e},wr=(e,t)=>vte(e,_te(t)),q8=e=>Am(e,"__esModule",{value:!0});var bte=(e,t)=>()=>(e&&(t=e(e=0)),t);var fe=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),S1=(e,t)=>{q8(e);for(var n in t)Am(e,n,{get:t[n],enumerable:!0})},wte=(e,t,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of gte(t))!z8.call(e,r)&&r!=="default"&&Am(e,r,{get:()=>t[r],enumerable:!(n=hte(t,r))||n.enumerable});return e},Vt=e=>wte(q8(Am(e!=null?mte(yte(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var w_={};S1(w_,{Children:()=>Os,Component:()=>Us,Fragment:()=>qw,Suspense:()=>kae,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>jae,cloneElement:()=>bv,createContext:()=>Gw,createElement:()=>tn,createRef:()=>b_,default:()=>Ct,forwardRef:()=>po,isValidElement:()=>$w,lazy:()=>Nae,useCallback:()=>wv,useContext:()=>Oae,useEffect:()=>Fn,useImperativeHandle:()=>ol,useLayoutEffect:()=>Cv,useMemo:()=>Rv,useReducer:()=>Uae,useRef:()=>Qt,useState:()=>Fi,version:()=>Hae});var Ct,jae,Os,bv,Us,Gw,tn,b_,po,qw,$w,Nae,kae,wv,Oae,Fn,ol,Cv,Rv,Uae,Qt,Fi,Hae,Nt=bte(()=>{Ct=window.React,{__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:jae,Children:Os,cloneElement:bv,Component:Us,createContext:Gw,createElement:tn,createRef:b_,forwardRef:po,Fragment:qw,isValidElement:$w,lazy:Nae,Suspense:kae,useCallback:wv,useContext:Oae,useEffect:Fn,useImperativeHandle:ol,useLayoutEffect:Cv,useMemo:Rv,useReducer:Uae,useRef:Qt,useState:Fi,version:Hae}=window.React});var I_=fe((cet,aM)=>{"use strict";var rM=Object.getOwnPropertySymbols,hoe=Object.prototype.hasOwnProperty,_oe=Object.prototype.propertyIsEnumerable;function goe(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function yoe(){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}}aM.exports=yoe()?Object.assign:function(e,t){for(var n,r=goe(e),a,o=1;o{"use strict";var Kw=I_(),Hd=60103,oM=60106;un.Fragment=60107;un.StrictMode=60108;un.Profiler=60114;var iM=60109,uM=60110,lM=60112;un.Suspense=60113;var cM=60115,sM=60116;typeof Symbol=="function"&&Symbol.for&&(Oo=Symbol.for,Hd=Oo("react.element"),oM=Oo("react.portal"),un.Fragment=Oo("react.fragment"),un.StrictMode=Oo("react.strict_mode"),un.Profiler=Oo("react.profiler"),iM=Oo("react.provider"),uM=Oo("react.context"),lM=Oo("react.forward_ref"),un.Suspense=Oo("react.suspense"),cM=Oo("react.memo"),sM=Oo("react.lazy"));var Oo,fM=typeof Symbol=="function"&&Symbol.iterator;function Doe(e){return e===null||typeof e!="object"?null:(e=fM&&e[fM]||e["@@iterator"],typeof e=="function"?e:null)}function Mv(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n{"use strict";bM.exports=DM()});var GM=fe(Wd=>{"use strict";var Mi=I_(),ul=Si();function Zn(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;nAv;Av++)ta[Av]=Av+1;var ta,Av;ta[15]=0;var Eoe=/^[: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]*$/,FM=Object.prototype.hasOwnProperty,SM={},MM={};function IM(e){return FM.call(MM,e)?!0:FM.call(SM,e)?!1:Eoe.test(e)?MM[e]=!0:(SM[e]=!0,!1)}function Foe(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 Soe(e,t,n,r){if(t===null||typeof t=="undefined"||Foe(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 Sa(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 na={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){na[e]=new Sa(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];na[t]=new Sa(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){na[e]=new Sa(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){na[e]=new Sa(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){na[e]=new Sa(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){na[e]=new Sa(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){na[e]=new Sa(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){na[e]=new Sa(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){na[e]=new Sa(e,5,!1,e.toLowerCase(),null,!1,!1)});var p3=/[\-:]([a-z])/g;function m3(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(p3,m3);na[t]=new Sa(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(p3,m3);na[t]=new Sa(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(p3,m3);na[t]=new Sa(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){na[e]=new Sa(e,1,!1,e.toLowerCase(),null,!1,!1)});na.xlinkHref=new Sa("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){na[e]=new Sa(e,1,!1,e.toLowerCase(),null,!0,!0)});var Moe=/["'&<>]/;function qs(e){if(typeof e=="boolean"||typeof e=="number")return""+e;e=""+e;var t=Moe.exec(e);if(t){var n="",r,a=0;for(r=t.index;rU_))throw Error(Zn(301));if(e===pu)if(O_=!0,e={action:n,next:null},pc===null&&(pc=new Map),n=pc.get(t),n===void 0)pc.set(t,e);else{for(t=n;t.next!==null;)t=t.next;t.next=e}}function h3(){}var Vs=null,joe={readContext:function(e){var t=Vs.threadID;return Lv(e,t),e[t]},useContext:function(e){$s();var t=Vs.threadID;return Lv(e,t),e[t]},useMemo:kM,useReducer:NM,useRef:function(e){pu=$s(),Ln=v3();var t=Ln.memoizedState;return t===null?(e={current:e},Ln.memoizedState=e):t},useState:function(e){return NM(jM,e)},useLayoutEffect:function(){},useCallback:function(e,t){return kM(function(){return e},t)},useImperativeHandle:h3,useEffect:h3,useDebugValue:h3,useDeferredValue:function(e){return $s(),e},useTransition:function(){return $s(),[function(e){e()},!1]},useOpaqueIdentifier:function(){return(Vs.identifierPrefix||"")+"R:"+(Vs.uniqueID++).toString(36)},useMutableSource:function(e,t){return $s(),t(e._source)}},OM={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function UM(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 HM={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},Noe=Mi({menuitem:!0},HM),jv={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},koe=["Webkit","ms","Moz","O"];Object.keys(jv).forEach(function(e){koe.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),jv[t]=jv[e]})});var Ooe=/([A-Z])/g,Uoe=/^ms-/,mc=ul.Children.toArray,_3=xoe.ReactCurrentDispatcher,Hoe={listing:!0,pre:!0,textarea:!0},Boe=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,BM={},g3={};function Woe(e){if(e==null)return e;var t="";return ul.Children.forEach(e,function(n){n!=null&&(t+=n)}),t}var zoe=Object.prototype.hasOwnProperty,Goe={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function WM(e,t){if(e===void 0)throw Error(Zn(152,Iv(t)||"Component"))}function qoe(e,t,n){function r(i,u){var l=u.prototype&&u.prototype.isReactComponent,c=Toe(u,t,n,l),s=[],f=!1,d={isMounted:function(){return!1},enqueueForceUpdate:function(){if(s===null)return null},enqueueReplaceState:function(S,I){f=!0,s=[I]},enqueueSetState:function(S,I){if(s===null)return null;s.push(I)}};if(l){if(l=new u(i.props,c,d),typeof u.getDerivedStateFromProps=="function"){var p=u.getDerivedStateFromProps.call(null,i.props,l.state);p!=null&&(l.state=Mi({},l.state,p))}}else if(pu={},l=u(i.props,c,d),l=AM(u,i.props,l,c),l==null||l.render==null){e=l,WM(e,u);return}if(l.props=i.props,l.context=c,l.updater=d,d=l.state,d===void 0&&(l.state=d=null),typeof l.UNSAFE_componentWillMount=="function"||typeof l.componentWillMount=="function")if(typeof l.componentWillMount=="function"&&typeof u.getDerivedStateFromProps!="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&typeof u.getDerivedStateFromProps!="function"&&l.UNSAFE_componentWillMount(),s.length){d=s;var v=f;if(s=null,f=!1,v&&d.length===1)l.state=d[0];else{p=v?d[0]:l.state;var b=!0;for(v=v?1:0;v=u))throw Error(Zn(304));var l=new Uint16Array(u);for(l.set(i),ta=l,ta[0]=o+1,i=o;i=l.children.length){var c=l.footer;if(c!==""&&(this.previousWasTextNode=!1),this.stack.pop(),l.type==="select")this.currentSelectValue=null;else if(l.type!=null&&l.type.type!=null&&l.type.type.$$typeof===j_)this.popProvider(l.type);else if(l.type===N_){this.suspenseDepth--;var s=o.pop();if(i){i=!1;var f=l.fallbackFrame;if(!f)throw Error(Zn(303));this.stack.push(f),o[this.suspenseDepth]+="";continue}else o[this.suspenseDepth]+=s}o[this.suspenseDepth]+=c}else{var d=l.children[l.childIndex++],p="";try{p+=this.render(d,l.context,l.domNamespace)}catch(v){throw v!=null&&typeof v.then=="function"?Error(Zn(294)):v}finally{}o.length<=this.suspenseDepth&&o.push(""),o[this.suspenseDepth]+=p}}return o[0]}finally{_3.current=a,Vs=r,PM()}},t.render=function(n,r,a){if(typeof n=="string"||typeof n=="number")return a=""+n,a===""?"":this.makeStaticMarkup?qs(a):this.previousWasTextNode?""+qs(a):(this.previousWasTextNode=!0,qs(a));if(r=qoe(n,r,this.threadID),n=r.child,r=r.context,n===null||n===!1)return"";if(!ul.isValidElement(n)){if(n!=null&&n.$$typeof!=null)throw a=n.$$typeof,Error(a===o3?Zn(257):Zn(258,a.toString()));return n=mc(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 TM:case xM:case i3:case u3:case s3:case P_:return n=mc(n.props.children),this.stack.push({type:null,domNamespace:a,children:n,childIndex:0,context:r,footer:""}),"";case N_:throw Error(Zn(294));case RM:throw Error(Zn(343))}if(typeof o=="object"&&o!==null)switch(o.$$typeof){case c3:pu={};var i=o.render(n.props,n.ref);return i=AM(o.render,n.props,i,n.ref),i=mc(i),this.stack.push({type:null,domNamespace:a,children:i,childIndex:0,context:r,footer:""}),"";case f3:return n=[ul.createElement(o.type,Mi({ref:n.ref},n.props))],this.stack.push({type:null,domNamespace:a,children:n,childIndex:0,context:r,footer:""}),"";case j_:return o=mc(n.props.children),a={type:n,domNamespace:a,children:o,childIndex:0,context:r,footer:""},this.pushProvider(n),this.stack.push(a),"";case l3:o=n.type,i=n.props;var u=this.threadID;return Lv(o,u),o=mc(i.children(o[u])),this.stack.push({type:n,domNamespace:a,children:o,childIndex:0,context:r,footer:""}),"";case CM:throw Error(Zn(338));case d3:return o=n.type,i=o._init,o=i(o._payload),n=[ul.createElement(o,Mi({ref:n.ref},n.props))],this.stack.push({type:null,domNamespace:a,children:n,childIndex:0,context:r,footer:""}),""}throw Error(Zn(130,o==null?o:typeof o,""))},t.renderDOM=function(n,r,a){var o=n.type.toLowerCase();if(a===OM.html&&UM(o),!BM.hasOwnProperty(o)){if(!Boe.test(o))throw Error(Zn(65,o));BM[o]=!0}var i=n.props;if(o==="input")i=Mi({type:void 0},i,{defaultChecked:void 0,defaultValue:void 0,value:i.value!=null?i.value:i.defaultValue,checked:i.checked!=null?i.checked:i.defaultChecked});else if(o==="textarea"){var u=i.value;if(u==null){u=i.defaultValue;var l=i.children;if(l!=null){if(u!=null)throw Error(Zn(92));if(Array.isArray(l)){if(!(1>=l.length))throw Error(Zn(93));l=l[0]}u=""+l}u==null&&(u="")}i=Mi({},i,{value:void 0,children:""+u})}else if(o==="select")this.currentSelectValue=i.value!=null?i.value:i.defaultValue,i=Mi({},i,{value:void 0});else if(o==="option"){l=this.currentSelectValue;var c=Woe(i.children);if(l!=null){var s=i.value!=null?i.value+"":c;if(u=!1,Array.isArray(l)){for(var f=0;f":(I+=">",u="");e:{if(l=i.dangerouslySetInnerHTML,l!=null){if(l.__html!=null){l=l.__html;break e}}else if(l=i.children,typeof l=="string"||typeof l=="number"){l=qs(l);break e}l=null}return l!=null?(i=[],Hoe.hasOwnProperty(o)&&l.charAt(0)===` `&&(I+=` `),I+=l):i=mc(i.children),n=n.type,a=a==null||a==="http://www.w3.org/1999/xhtml"?UM(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:u}),this.previousWasTextNode=!1,I},e}();Wd.renderToNodeStream=function(){throw Error(Zn(207))};Wd.renderToStaticMarkup=function(e,t){e=new zM(e,!0,t);try{return e.read(1/0)}finally{e.destroy()}};Wd.renderToStaticNodeStream=function(){throw Error(Zn(208))};Wd.renderToString=function(e,t){e=new zM(e,!1,t);try{return e.read(1/0)}finally{e.destroy()}};Wd.version="17.0.2"});var $M=fe((pet,qM)=>{"use strict";qM.exports=GM()});var FI=fe((W_,F3)=>{(function(t,n){typeof W_=="object"&&typeof F3=="object"?F3.exports=n():typeof define=="function"&&define.amd?define([],n):typeof W_=="object"?W_.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(u){return r[u]}.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(v,b){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,D){g.__proto__=D}||function(g,D){for(var C in D)D.hasOwnProperty(C)&&(g[C]=D[C])},p(v,b)};return function(v,b){p(v,b);function g(){this.constructor=v}v.prototype=b===null?Object.create(b):(g.prototype=b.prototype,new g)}}();Object.defineProperty(t,"__esModule",{value:!0});var a=256,o=function(){function p(v){v===void 0&&(v="="),this._paddingCharacter=v}return p.prototype.encodedLength=function(v){return this._paddingCharacter?(v+2)/3*4|0:(v*8+5)/6|0},p.prototype.encode=function(v){for(var b="",g=0;g>>3*6&63),b+=this._encodeByte(D>>>2*6&63),b+=this._encodeByte(D>>>1*6&63),b+=this._encodeByte(D>>>0*6&63)}var C=v.length-g;if(C>0){var D=v[g]<<16|(C===2?v[g+1]<<8:0);b+=this._encodeByte(D>>>3*6&63),b+=this._encodeByte(D>>>2*6&63),C===2?b+=this._encodeByte(D>>>1*6&63):b+=this._paddingCharacter||"",b+=this._paddingCharacter||""}return b},p.prototype.maxDecodedLength=function(v){return this._paddingCharacter?v/4*3|0:(v*6+7)/8|0},p.prototype.decodedLength=function(v){return this.maxDecodedLength(v.length-this._getPaddingLength(v))},p.prototype.decode=function(v){if(v.length===0)return new Uint8Array(0);for(var b=this._getPaddingLength(v),g=v.length-b,D=new Uint8Array(this.maxDecodedLength(g)),C=0,S=0,I=0,A=0,T=0,P=0,q=0;S>>4,D[C++]=T<<4|P>>>2,D[C++]=P<<6|q,I|=A&a,I|=T&a,I|=P&a,I|=q&a;if(S>>4,I|=A&a,I|=T&a),S>>2,I|=P&a),S>>8&0-65-26+97,b+=51-v>>>8&26-97-52+48,b+=61-v>>>8&52-48-62+43,b+=62-v>>>8&62-43-63+47,String.fromCharCode(b)},p.prototype._decodeChar=function(v){var b=a;return b+=(42-v&v-44)>>>8&-a+v-43+62,b+=(46-v&v-48)>>>8&-a+v-47+63,b+=(47-v&v-58)>>>8&-a+v-48+52,b+=(64-v&v-91)>>>8&-a+v-65+0,b+=(96-v&v-123)>>>8&-a+v-97+26,b},p.prototype._getPaddingLength=function(v){var b=0;if(this._paddingCharacter){for(var g=v.length-1;g>=0&&v[g]===this._paddingCharacter;g--)b++;if(v.length<4||b>2)throw new Error("Base64Coder: incorrect padding")}return b},p}();t.Coder=o;var i=new o;function u(p){return i.encode(p)}t.encode=u;function l(p){return i.decode(p)}t.decode=l;var c=function(p){r(v,p);function v(){return p!==null&&p.apply(this,arguments)||this}return v.prototype._encodeByte=function(b){var g=b;return g+=65,g+=25-b>>>8&0-65-26+97,g+=51-b>>>8&26-97-52+48,g+=61-b>>>8&52-48-62+45,g+=62-b>>>8&62-45-63+95,String.fromCharCode(g)},v.prototype._decodeChar=function(b){var g=a;return g+=(44-b&b-46)>>>8&-a+b-45+62,g+=(94-b&b-96)>>>8&-a+b-95+63,g+=(47-b&b-58)>>>8&-a+b-48+52,g+=(64-b&b-91)>>>8&-a+b-65+0,g+=(96-b&b-123)>>>8&-a+b-97+26,g},v}(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(l){for(var c=new Uint8Array(i(l)),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|=l.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(l){for(var c=0,s=0;s=l.length-1)throw new Error(r);s++,c+=4}else throw new Error(r)}return c}t.encodedLength=i;function u(l){for(var c=[],s=0;s=l.length)throw new Error(a);var p=l[++s];if((p&192)!=128)throw new Error(a);f=(f&31)<<6|p&63,d=128}else if(f<240){if(s>=l.length-1)throw new Error(a);var p=l[++s],v=l[++s];if((p&192)!=128||(v&192)!=128)throw new Error(a);f=(f&15)<<12|(p&63)<<6|v&63,d=2048}else if(f<248){if(s>=l.length-2)throw new Error(a);var p=l[++s],v=l[++s],b=l[++s];if((p&192)!=128||(v&192)!=128||(b&192)!=128)throw new Error(a);f=(f&15)<<18|(p&63)<<12|(v&63)<<6|b&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=u},function(e,t,n){e.exports=n(3).default},function(e,t,n){"use strict";n.r(t);var r=function(){function h(m,y){this.lastId=0,this.prefix=m,this.name=y}return h.prototype.create=function(m){this.lastId++;var y=this.lastId,R=this.prefix+y,E=this.name+"["+y+"]",z=!1,se=function(){z||(m.apply(null,arguments),z=!0)};return this[y]=se,{number:y,id:R,name:E,callback:se}},h.prototype.remove=function(m){delete this[m.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,u=function(){function h(m){this.options=m,this.receivers=m.receivers||a,this.loading={}}return h.prototype.load=function(m,y,R){var E=this;if(E.loading[m]&&E.loading[m].length>0)E.loading[m].push(R);else{E.loading[m]=[R];var z=Gt.createScriptRequest(E.getPath(m,y)),se=E.receivers.create(function(ke){if(E.receivers.remove(se),E.loading[m]){var ht=E.loading[m];delete E.loading[m];for(var vn=function(Ra){Ra||z.cleanup()},Mr=0;Mr>>6)+d(128|m&63):d(224|m>>>12&15)+d(128|m>>>6&63)+d(128|m&63)},C=function(h){return h.replace(/[^\x00-\x7F]/g,D)},S=function(h){var m=[0,2,1][h.length%3],y=h.charCodeAt(0)<<16|(h.length>1?h.charCodeAt(1):0)<<8|(h.length>2?h.charCodeAt(2):0),R=[p.charAt(y>>>18),p.charAt(y>>>12&63),m>=2?"=":p.charAt(y>>>6&63),m>=1?"=":p.charAt(y&63)];return R.join("")},I=window.btoa||function(h){return h.replace(/[\s\S]{1,3}/g,S)},A=function(){function h(m,y,R,E){var z=this;this.clear=y,this.timer=m(function(){z.timer&&(z.timer=E(z.timer))},R)}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,P=function(){var h=function(m,y){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,E){R.__proto__=E}||function(R,E){for(var z in E)E.hasOwnProperty(z)&&(R[z]=E[z])},h(m,y)};return function(m,y){h(m,y);function R(){this.constructor=m}m.prototype=y===null?Object.create(y):(R.prototype=y.prototype,new R)}}();function q(h){window.clearTimeout(h)}function V(h){window.clearInterval(h)}var Z=function(h){P(m,h);function m(y,R){return h.call(this,setTimeout,q,y,function(E){return R(),null})||this}return m}(T),W=function(h){P(m,h);function m(y,R){return h.call(this,setInterval,V,y,function(E){return R(),E})||this}return m}(T),ee={now:function(){return Date.now?Date.now():new Date().valueOf()},defer:function(h){return new Z(0,h)},method:function(h){for(var m=[],y=1;y0)for(var E=0;E=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}},gs=b8,FK=function(){var h=function(m,y){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,E){R.__proto__=E}||function(R,E){for(var z in E)E.hasOwnProperty(z)&&(R[z]=E[z])},h(m,y)};return function(m,y){h(m,y);function R(){this.constructor=m}m.prototype=y===null?Object.create(y):(R.prototype=y.prototype,new R)}}(),SK=function(h){FK(m,h);function m(y,R){var E=h.call(this)||this;return E.id=y,E.transport=R,E.activityTimeout=R.activityTimeout,E.bindListeners(),E}return m.prototype.handlesActivityChecks=function(){return this.transport.handlesActivityChecks()},m.prototype.send=function(y){return this.transport.send(y)},m.prototype.send_event=function(y,R,E){var z={event:y,data:R};return E&&(z.channel=E),ce.debug("Event sent",z),this.send(gs.encodeMessage(z))},m.prototype.ping=function(){this.transport.supportsPing()?this.transport.ping():this.send_event("pusher:ping",{})},m.prototype.close=function(){this.transport.close()},m.prototype.bindListeners=function(){var y=this,R={message:function(z){var se;try{se=gs.decodeMessage(z)}catch(ke){y.emit("error",{type:"MessageParseError",error:ke,data:z.data})}if(se!==void 0){switch(ce.debug("Event recd",se),se.event){case"pusher:error":y.emit("error",{type:"PusherError",data:se.data});break;case"pusher:ping":y.emit("ping");break;case"pusher:pong":y.emit("pong");break}y.emit("message",se)}},activity:function(){y.emit("activity")},error:function(z){y.emit("error",{type:"WebSocketError",error:z})},closed:function(z){E(),z&&z.code&&y.handleCloseEvent(z),y.transport=null,y.emit("closed")}},E=function(){ne(R,function(z,se){y.transport.unbind(se,z)})};ne(R,function(z,se){y.transport.bind(se,z)})},m.prototype.handleCloseEvent=function(y){var R=gs.getCloseAction(y),E=gs.getCloseError(y);E&&this.emit("error",E),R&&this.emit(R,{action:R,error:E})},m}(wn),MK=SK,IK=function(){function h(m,y){this.transport=m,this.callback=y,this.bindListeners()}return h.prototype.close=function(){this.unbindListeners(),this.transport.close()},h.prototype.bindListeners=function(){var m=this;this.onMessage=function(y){m.unbindListeners();var R;try{R=gs.processHandshake(y)}catch(E){m.finish("error",{error:E}),m.transport.close();return}R.action==="connected"?m.finish("connected",{connection:new MK(R.id,m.transport),activityTimeout:R.activityTimeout}):(m.finish(R.action,{error:R.error}),m.transport.close())},this.onClosed=function(y){m.unbindListeners();var R=gs.getCloseAction(y)||"backoff",E=gs.getCloseError(y);m.finish(R,{error:E})},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(m,y){this.callback(Q({transport:this.transport,action:m},y))},h}(),LK=IK,AK=function(){function h(m,y){this.channel=m;var R=y.authTransport;if(typeof Gt.getAuthorizers()[R]=="undefined")throw"'"+R+"' is not a recognized auth transport";this.type=R,this.options=y,this.authOptions=y.auth||{}}return h.prototype.composeQuery=function(m){var y="socket_id="+encodeURIComponent(m)+"&channel_name="+encodeURIComponent(this.channel.name);for(var R in this.authOptions.params)y+="&"+encodeURIComponent(R)+"="+encodeURIComponent(this.authOptions.params[R]);return y},h.prototype.authorize=function(m,y){h.authorizers=h.authorizers||Gt.getAuthorizers(),h.authorizers[this.type].call(this,Gt,m,y)},h}(),PK=AK,jK=function(){function h(m,y){this.timeline=m,this.options=y||{}}return h.prototype.send=function(m,y){this.timeline.isEmpty()||this.timeline.send(Gt.TimelineTransport.getAgent(this,m),y)},h}(),NK=jK,ys=function(){var h=function(m,y){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,E){R.__proto__=E}||function(R,E){for(var z in E)E.hasOwnProperty(z)&&(R[z]=E[z])},h(m,y)};return function(m,y){h(m,y);function R(){this.constructor=m}m.prototype=y===null?Object.create(y):(R.prototype=y.prototype,new R)}}(),kK=function(h){ys(m,h);function m(y){var R=this.constructor,E=h.call(this,y)||this;return Object.setPrototypeOf(E,R.prototype),E}return m}(Error),OK=function(h){ys(m,h);function m(y){var R=this.constructor,E=h.call(this,y)||this;return Object.setPrototypeOf(E,R.prototype),E}return m}(Error),UK=function(h){ys(m,h);function m(y){var R=this.constructor,E=h.call(this,y)||this;return Object.setPrototypeOf(E,R.prototype),E}return m}(Error),HK=function(h){ys(m,h);function m(y){var R=this.constructor,E=h.call(this,y)||this;return Object.setPrototypeOf(E,R.prototype),E}return m}(Error),w8=function(h){ys(m,h);function m(y){var R=this.constructor,E=h.call(this,y)||this;return Object.setPrototypeOf(E,R.prototype),E}return m}(Error),BK=function(h){ys(m,h);function m(y){var R=this.constructor,E=h.call(this,y)||this;return Object.setPrototypeOf(E,R.prototype),E}return m}(Error),C8=function(h){ys(m,h);function m(y){var R=this.constructor,E=h.call(this,y)||this;return Object.setPrototypeOf(E,R.prototype),E}return m}(Error),WK=function(){var h=function(m,y){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,E){R.__proto__=E}||function(R,E){for(var z in E)E.hasOwnProperty(z)&&(R[z]=E[z])},h(m,y)};return function(m,y){h(m,y);function R(){this.constructor=m}m.prototype=y===null?Object.create(y):(R.prototype=y.prototype,new R)}}(),zK=function(h){WK(m,h);function m(y,R){var E=h.call(this,function(z,se){ce.debug("No callbacks on "+y+" for "+z)})||this;return E.name=y,E.pusher=R,E.subscribed=!1,E.subscriptionPending=!1,E.subscriptionCancelled=!1,E}return m.prototype.authorize=function(y,R){return R(!1,{auth:""})},m.prototype.trigger=function(y,R){if(y.indexOf("client-")!==0)throw new kK("Event '"+y+"' does not start with 'client-'");if(!this.subscribed){var E=Ve.buildLogSuffix("triggeringClientEvents");ce.warn("Client event triggered before channel 'subscription_succeeded' event . "+E)}return this.pusher.send_event(y,R,this.name)},m.prototype.disconnect=function(){this.subscribed=!1,this.subscriptionPending=!1},m.prototype.handleEvent=function(y){var R=y.event,E=y.data;if(R==="pusher_internal:subscription_succeeded")this.handleSubscriptionSucceededEvent(y);else if(R.indexOf("pusher_internal:")!==0){var z={};this.emit(R,E,z)}},m.prototype.handleSubscriptionSucceededEvent=function(y){this.subscriptionPending=!1,this.subscribed=!0,this.subscriptionCancelled?this.pusher.unsubscribe(this.name):this.emit("pusher:subscription_succeeded",y.data)},m.prototype.subscribe=function(){var y=this;this.subscribed||(this.subscriptionPending=!0,this.subscriptionCancelled=!1,this.authorize(this.pusher.connection.socket_id,function(R,E){R?(ce.error(E),y.emit("pusher:subscription_error",E)):(E=E,y.pusher.send_event("pusher:subscribe",{auth:E.auth,channel_data:E.channel_data,channel:y.name}))}))},m.prototype.unsubscribe=function(){this.subscribed=!1,this.pusher.send_event("pusher:unsubscribe",{channel:this.name})},m.prototype.cancelSubscription=function(){this.subscriptionCancelled=!0},m.prototype.reinstateSubscription=function(){this.subscriptionCancelled=!1},m}(wn),R8=zK,GK=function(){var h=function(m,y){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,E){R.__proto__=E}||function(R,E){for(var z in E)E.hasOwnProperty(z)&&(R[z]=E[z])},h(m,y)};return function(m,y){h(m,y);function R(){this.constructor=m}m.prototype=y===null?Object.create(y):(R.prototype=y.prototype,new R)}}(),qK=function(h){GK(m,h);function m(){return h!==null&&h.apply(this,arguments)||this}return m.prototype.authorize=function(y,R){var E=Ki.createAuthorizer(this,this.pusher.config);return E.authorize(y,R)},m}(R8),M4=qK,$K=function(){function h(){this.reset()}return h.prototype.get=function(m){return Object.prototype.hasOwnProperty.call(this.members,m)?{id:m,info:this.members[m]}:null},h.prototype.each=function(m){var y=this;ne(this.members,function(R,E){m(y.get(E))})},h.prototype.setMyID=function(m){this.myID=m},h.prototype.onSubscription=function(m){this.members=m.presence.hash,this.count=m.presence.count,this.me=this.get(this.myID)},h.prototype.addMember=function(m){return this.get(m.user_id)===null&&this.count++,this.members[m.user_id]=m.user_info,this.get(m.user_id)},h.prototype.removeMember=function(m){var y=this.get(m.user_id);return y&&(delete this.members[m.user_id],this.count--),y},h.prototype.reset=function(){this.members={},this.count=0,this.myID=null,this.me=null},h}(),VK=$K,JK=function(){var h=function(m,y){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,E){R.__proto__=E}||function(R,E){for(var z in E)E.hasOwnProperty(z)&&(R[z]=E[z])},h(m,y)};return function(m,y){h(m,y);function R(){this.constructor=m}m.prototype=y===null?Object.create(y):(R.prototype=y.prototype,new R)}}(),XK=function(h){JK(m,h);function m(y,R){var E=h.call(this,y,R)||this;return E.members=new VK,E}return m.prototype.authorize=function(y,R){var E=this;h.prototype.authorize.call(this,y,function(z,se){if(!z){if(se=se,se.channel_data===void 0){var ke=Ve.buildLogSuffix("authenticationEndpoint");ce.error("Invalid auth response for channel '"+E.name+"',"+("expected 'channel_data' field. "+ke)),R("Invalid auth response");return}var ht=JSON.parse(se.channel_data);E.members.setMyID(ht.user_id)}R(z,se)})},m.prototype.handleEvent=function(y){var R=y.event;if(R.indexOf("pusher_internal:")===0)this.handleInternalEvent(y);else{var E=y.data,z={};y.user_id&&(z.user_id=y.user_id),this.emit(R,E,z)}},m.prototype.handleInternalEvent=function(y){var R=y.event,E=y.data;switch(R){case"pusher_internal:subscription_succeeded":this.handleSubscriptionSucceededEvent(y);break;case"pusher_internal:member_added":var z=this.members.addMember(E);this.emit("pusher:member_added",z);break;case"pusher_internal:member_removed":var se=this.members.removeMember(E);se&&this.emit("pusher:member_removed",se);break}},m.prototype.handleSubscriptionSucceededEvent=function(y){this.subscriptionPending=!1,this.subscribed=!0,this.subscriptionCancelled?this.pusher.unsubscribe(this.name):(this.members.onSubscription(y.data),this.emit("pusher:subscription_succeeded",this.members))},m.prototype.disconnect=function(){this.members.reset(),h.prototype.disconnect.call(this)},m}(M4),YK=XK,x8=n(1),I4=n(0),ZK=function(){var h=function(m,y){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,E){R.__proto__=E}||function(R,E){for(var z in E)E.hasOwnProperty(z)&&(R[z]=E[z])},h(m,y)};return function(m,y){h(m,y);function R(){this.constructor=m}m.prototype=y===null?Object.create(y):(R.prototype=y.prototype,new R)}}(),QK=function(h){ZK(m,h);function m(y,R,E){var z=h.call(this,y,R)||this;return z.key=null,z.nacl=E,z}return m.prototype.authorize=function(y,R){var E=this;h.prototype.authorize.call(this,y,function(z,se){if(z){R(!0,se);return}var ke=se.shared_secret;if(!ke){var ht="No shared_secret key in auth payload for encrypted channel: "+E.name;R(!0,ht);return}E.key=Object(I4.decode)(ke),delete se.shared_secret,R(!1,se)})},m.prototype.trigger=function(y,R){throw new w8("Client events are not currently supported for encrypted channels")},m.prototype.handleEvent=function(y){var R=y.event,E=y.data;if(R.indexOf("pusher_internal:")===0||R.indexOf("pusher:")===0){h.prototype.handleEvent.call(this,y);return}this.handleEncryptedEvent(R,E)},m.prototype.handleEncryptedEvent=function(y,R){var E=this;if(!this.key){ce.debug("Received encrypted event before key has been retrieved from the authEndpoint");return}if(!R.ciphertext||!R.nonce){ce.error("Unexpected format for encrypted event, expected object with `ciphertext` and `nonce` fields, got: "+R);return}var z=Object(I4.decode)(R.ciphertext);if(z.length0&&this.emit("connecting_in",Math.round(y/1e3)),this.retryTimer=new Z(y||0,function(){R.disconnectInternally(),R.connect()})},m.prototype.clearRetryTimer=function(){this.retryTimer&&(this.retryTimer.ensureAborted(),this.retryTimer=null)},m.prototype.setUnavailableTimer=function(){var y=this;this.unavailableTimer=new Z(this.options.unavailableTimeout,function(){y.updateState("unavailable")})},m.prototype.clearUnavailableTimer=function(){this.unavailableTimer&&this.unavailableTimer.ensureAborted()},m.prototype.sendActivityCheck=function(){var y=this;this.stopActivityCheck(),this.connection.ping(),this.activityTimer=new Z(this.options.pongTimeout,function(){y.timeline.error({pong_timed_out:y.options.pongTimeout}),y.retryIn(0)})},m.prototype.resetActivityCheck=function(){var y=this;this.stopActivityCheck(),this.connection&&!this.connection.handlesActivityChecks()&&(this.activityTimer=new Z(this.activityTimeout,function(){y.sendActivityCheck()}))},m.prototype.stopActivityCheck=function(){this.activityTimer&&this.activityTimer.ensureAborted()},m.prototype.buildConnectionCallbacks=function(y){var R=this;return Q({},y,{message:function(E){R.resetActivityCheck(),R.emit("message",E)},ping:function(){R.send_event("pusher:pong",{})},activity:function(){R.resetActivityCheck()},error:function(E){R.emit("error",{type:"WebSocketError",error:E})},closed:function(){R.abandonConnection(),R.shouldRetry()&&R.retryIn(1e3)}})},m.prototype.buildHandshakeCallbacks=function(y){var R=this;return Q({},y,{connected:function(E){R.activityTimeout=Math.min(R.options.activityTimeout,E.activityTimeout,E.connection.activityTimeout||1/0),R.clearUnavailableTimer(),R.setConnection(E.connection),R.socket_id=R.connection.id,R.updateState("connected",{socket_id:R.socket_id})}})},m.prototype.buildErrorCallbacks=function(){var y=this,R=function(E){return function(z){z.error&&y.emit("error",{type:"WebSocketError",error:z.error}),E(z)}};return{tls_only:R(function(){y.usingTLS=!0,y.updateStrategy(),y.retryIn(0)}),refused:R(function(){y.disconnect()}),backoff:R(function(){y.retryIn(1e3)}),retry:R(function(){y.retryIn(0)})}},m.prototype.setConnection=function(y){this.connection=y;for(var R in this.connectionCallbacks)this.connection.bind(R,this.connectionCallbacks[R]);this.resetActivityCheck()},m.prototype.abandonConnection=function(){if(!!this.connection){this.stopActivityCheck();for(var y in this.connectionCallbacks)this.connection.unbind(y,this.connectionCallbacks[y]);var R=this.connection;return this.connection=null,R}},m.prototype.updateState=function(y,R){var E=this.state;if(this.state=y,E!==y){var z=y;z==="connected"&&(z+=" with new socket ID "+R.socket_id),ce.debug("State changed",E+" -> "+z),this.timeline.info({state:y,params:R}),this.emit("state_change",{previous:E,current:y}),this.emit(y,R)}},m.prototype.shouldRetry=function(){return this.state==="connecting"||this.state==="connected"},m}(wn),nee=tee,ree=function(){function h(){this.channels={}}return h.prototype.add=function(m,y){return this.channels[m]||(this.channels[m]=oee(m,y)),this.channels[m]},h.prototype.all=function(){return Ce(this.channels)},h.prototype.find=function(m){return this.channels[m]},h.prototype.remove=function(m){var y=this.channels[m];return delete this.channels[m],y},h.prototype.disconnect=function(){ne(this.channels,function(m){m.disconnect()})},h}(),aee=ree;function oee(h,m){if(h.indexOf("private-encrypted-")===0){if(m.config.nacl)return Ki.createEncryptedChannel(h,m,m.config.nacl);var y="Tried to subscribe to a private-encrypted- channel but no nacl implementation available",R=Ve.buildLogSuffix("encryptedChannelSupport");throw new w8(y+". "+R)}else return h.indexOf("private-")===0?Ki.createPrivateChannel(h,m):h.indexOf("presence-")===0?Ki.createPresenceChannel(h,m):Ki.createChannel(h,m)}var iee={createChannels:function(){return new aee},createConnectionManager:function(h,m){return new nee(h,m)},createChannel:function(h,m){return new R8(h,m)},createPrivateChannel:function(h,m){return new M4(h,m)},createPresenceChannel:function(h,m){return new YK(h,m)},createEncryptedChannel:function(h,m,y){return new KK(h,m,y)},createTimelineSender:function(h,m){return new NK(h,m)},createAuthorizer:function(h,m){return m.authorizer?m.authorizer(h,m):new PK(h,m)},createHandshake:function(h,m){return new LK(h,m)},createAssistantToTheTransportManager:function(h,m,y){return new EK(h,m,y)}},Ki=iee,uee=function(){function h(m){this.options=m||{},this.livesLeft=this.options.lives||1/0}return h.prototype.getAssistant=function(m){return Ki.createAssistantToTheTransportManager(this,m,{minPingDelay:this.options.minPingDelay,maxPingDelay:this.options.maxPingDelay})},h.prototype.isAlive=function(){return this.livesLeft>0},h.prototype.reportDeath=function(){this.livesLeft-=1},h}(),T8=uee,lee=function(){function h(m,y){this.strategies=m,this.loop=Boolean(y.loop),this.failFast=Boolean(y.failFast),this.timeout=y.timeout,this.timeoutLimit=y.timeoutLimit}return h.prototype.isSupported=function(){return L(this.strategies,J.method("isSupported"))},h.prototype.connect=function(m,y){var R=this,E=this.strategies,z=0,se=this.timeout,ke=null,ht=function(vn,Mr){Mr?y(null,Mr):(z=z+1,R.loop&&(z=z%E.length),z0&&(z=new Z(R.timeout,function(){se.abort(),E(!0)})),se=m.connect(y,function(ke,ht){ke&&z&&z.isRunning()&&!R.failFast||(z&&z.ensureAborted(),E(ke,ht))}),{abort:function(){z&&z.ensureAborted(),se.abort()},forceMinPriority:function(ke){se.forceMinPriority(ke)}}},h}(),Ds=lee,cee=function(){function h(m){this.strategies=m}return h.prototype.isSupported=function(){return L(this.strategies,J.method("isSupported"))},h.prototype.connect=function(m,y){return see(this.strategies,m,function(R,E){return function(z,se){if(E[R].error=z,z){fee(E)&&y(!0);return}Fe(E,function(ke){ke.forceMinPriority(se.transport.priority)}),y(null,se)}})},h}(),L4=cee;function see(h,m,y){var R=N(h,function(E,z,se,ke){return E.connect(m,y(z,ke))});return{abort:function(){Fe(R,dee)},forceMinPriority:function(E){Fe(R,function(z){z.forceMinPriority(E)})}}}function fee(h){return Y(h,function(m){return Boolean(m.error)})}function dee(h){!h.error&&!h.aborted&&(h.abort(),h.aborted=!0)}var pee=function(){function h(m,y,R){this.strategy=m,this.transports=y,this.ttl=R.ttl||1800*1e3,this.usingTLS=R.useTLS,this.timeline=R.timeline}return h.prototype.isSupported=function(){return this.strategy.isSupported()},h.prototype.connect=function(m,y){var R=this.usingTLS,E=vee(R),z=[this.strategy];if(E&&E.timestamp+this.ttl>=J.now()){var se=this.transports[E.transport];se&&(this.timeline.info({cached:!0,transport:E.transport,latency:E.latency}),z.push(new Ds([se],{timeout:E.latency*2+1e3,failFast:!0})))}var ke=J.now(),ht=z.pop().connect(m,function vn(Mr,Ra){Mr?(E8(R),z.length>0?(ke=J.now(),ht=z.pop().connect(m,vn)):y(Mr)):(hee(R,Ra.transport.name,J.now()-ke),y(null,Ra))});return{abort:function(){ht.abort()},forceMinPriority:function(vn){m=vn,ht&&ht.forceMinPriority(vn)}}},h}(),mee=pee;function A4(h){return"pusherTransport"+(h?"TLS":"NonTLS")}function vee(h){var m=Gt.getLocalStorage();if(m)try{var y=m[A4(h)];if(y)return JSON.parse(y)}catch{E8(h)}return null}function hee(h,m,y){var R=Gt.getLocalStorage();if(R)try{R[A4(h)]=pe({timestamp:J.now(),transport:m,latency:y})}catch{}}function E8(h){var m=Gt.getLocalStorage();if(m)try{delete m[A4(h)]}catch{}}var _ee=function(){function h(m,y){var R=y.delay;this.strategy=m,this.options={delay:R}}return h.prototype.isSupported=function(){return this.strategy.isSupported()},h.prototype.connect=function(m,y){var R=this.strategy,E,z=new Z(this.options.delay,function(){E=R.connect(m,y)});return{abort:function(){z.ensureAborted(),E&&E.abort()},forceMinPriority:function(se){m=se,E&&E.forceMinPriority(se)}}},h}(),E1=_ee,gee=function(){function h(m,y,R){this.test=m,this.trueBranch=y,this.falseBranch=R}return h.prototype.isSupported=function(){var m=this.test()?this.trueBranch:this.falseBranch;return m.isSupported()},h.prototype.connect=function(m,y){var R=this.test()?this.trueBranch:this.falseBranch;return R.connect(m,y)},h}(),Im=gee,yee=function(){function h(m){this.strategy=m}return h.prototype.isSupported=function(){return this.strategy.isSupported()},h.prototype.connect=function(m,y){var R=this.strategy.connect(m,function(E,z){z&&R.abort(),y(E,z)});return R},h}(),Dee=yee;function Lm(h){return function(){return h.isSupported()}}var bee=function(h,m,y){var R={};function E(H8,ste,fte,dte,pte){var B8=y(h,H8,ste,fte,dte,pte);return R[H8]=B8,B8}var z=Object.assign({},m,{hostNonTLS:h.wsHost+":"+h.wsPort,hostTLS:h.wsHost+":"+h.wssPort,httpPath:h.wsPath}),se=Object.assign({},z,{useTLS:!0}),ke=Object.assign({},m,{hostNonTLS:h.httpHost+":"+h.httpPort,hostTLS:h.httpHost+":"+h.httpsPort,httpPath:h.httpPath}),ht={loop:!0,timeout:15e3,timeoutLimit:6e4},vn=new T8({lives:2,minPingDelay:1e4,maxPingDelay:h.activityTimeout}),Mr=new T8({lives:2,minPingDelay:1e4,maxPingDelay:h.activityTimeout}),Ra=E("ws","ws",3,z,vn),eu=E("wss","ws",3,se,vn),ote=E("sockjs","sockjs",1,ke),P8=E("xhr_streaming","xhr_streaming",1,ke,Mr),ite=E("xdr_streaming","xdr_streaming",1,ke,Mr),j8=E("xhr_polling","xhr_polling",1,ke),ute=E("xdr_polling","xdr_polling",1,ke),N8=new Ds([Ra],ht),lte=new Ds([eu],ht),cte=new Ds([ote],ht),k8=new Ds([new Im(Lm(P8),P8,ite)],ht),O8=new Ds([new Im(Lm(j8),j8,ute)],ht),U8=new Ds([new Im(Lm(k8),new L4([k8,new E1(O8,{delay:4e3})]),O8)],ht),k4=new Im(Lm(U8),U8,cte),O4;return m.useTLS?O4=new L4([N8,new E1(k4,{delay:2e3})]):O4=new L4([N8,new E1(lte,{delay:2e3}),new E1(k4,{delay:5e3})]),new mee(new Dee(new Im(Lm(Ra),O4,k4)),R,{ttl:18e5,timeline:m.timeline,useTLS:m.useTLS})},wee=bee,Cee=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(m,y){h.hooks.isInitialized()?(h.changeState("initialized"),y(!0)):(m&&h.onError(m),h.onClose(),y(!1))})):h.onClose()},Ree={getRequest:function(h){var m=new window.XDomainRequest;return m.ontimeout=function(){h.emit("error",new OK),h.close()},m.onerror=function(y){h.emit("error",y),h.close()},m.onprogress=function(){m.responseText&&m.responseText.length>0&&h.onChunk(200,m.responseText)},m.onload=function(){m.responseText&&m.responseText.length>0&&h.onChunk(200,m.responseText),h.emit("finished",200),h.close()},m},abortRequest:function(h){h.ontimeout=h.onerror=h.onprogress=h.onload=null,h.abort()}},xee=Ree,Tee=function(){var h=function(m,y){return h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(R,E){R.__proto__=E}||function(R,E){for(var z in E)E.hasOwnProperty(z)&&(R[z]=E[z])},h(m,y)};return function(m,y){h(m,y);function R(){this.constructor=m}m.prototype=y===null?Object.create(y):(R.prototype=y.prototype,new R)}}(),Eee=256*1024,Fee=function(h){Tee(m,h);function m(y,R,E){var z=h.call(this)||this;return z.hooks=y,z.method=R,z.url=E,z}return m.prototype.start=function(y){var R=this;this.position=0,this.xhr=this.hooks.getRequest(this),this.unloader=function(){R.close()},Gt.addUnloadListener(this.unloader),this.xhr.open(this.method,this.url,!0),this.xhr.setRequestHeader&&this.xhr.setRequestHeader("Content-Type","application/json"),this.xhr.send(y)},m.prototype.close=function(){this.unloader&&(Gt.removeUnloadListener(this.unloader),this.unloader=null),this.xhr&&(this.hooks.abortRequest(this.xhr),this.xhr=null)},m.prototype.onChunk=function(y,R){for(;;){var E=this.advanceBuffer(R);if(E)this.emit("chunk",{status:y,data:E});else break}this.isBufferTooLong(R)&&this.emit("buffer_too_long")},m.prototype.advanceBuffer=function(y){var R=y.slice(this.position),E=R.indexOf(` `);return E!==-1?(this.position+=E+1,R.slice(0,E)):null},m.prototype.isBufferTooLong=function(y){return this.position===y.length&&y.length>Eee},m}(wn),See=Fee,P4;(function(h){h[h.CONNECTING=0]="CONNECTING",h[h.OPEN=1]="OPEN",h[h.CLOSED=3]="CLOSED"})(P4||(P4={}));var bs=P4,Mee=1,Iee=function(){function h(m,y){this.hooks=m,this.session=S8(1e3)+"/"+jee(8),this.location=Lee(y),this.readyState=bs.CONNECTING,this.openStream()}return h.prototype.send=function(m){return this.sendRaw(JSON.stringify([m]))},h.prototype.ping=function(){this.hooks.sendHeartbeat(this)},h.prototype.close=function(m,y){this.onClose(m,y,!0)},h.prototype.sendRaw=function(m){if(this.readyState===bs.OPEN)try{return Gt.createSocketRequest("POST",F8(Aee(this.location,this.session))).start(m),!0}catch{return!1}else return!1},h.prototype.reconnect=function(){this.closeStream(),this.openStream()},h.prototype.onClose=function(m,y,R){this.closeStream(),this.readyState=bs.CLOSED,this.onclose&&this.onclose({code:m,reason:y,wasClean:R})},h.prototype.onChunk=function(m){if(m.status===200){this.readyState===bs.OPEN&&this.onActivity();var y,R=m.data.slice(0,1);switch(R){case"o":y=JSON.parse(m.data.slice(1)||"{}"),this.onOpen(y);break;case"a":y=JSON.parse(m.data.slice(1)||"[]");for(var E=0;E0&&h.onChunk(y.status,y.responseText);break;case 4:y.responseText&&y.responseText.length>0&&h.onChunk(y.status,y.responseText),h.emit("finished",y.status),h.close();break}},y},abortRequest:function(h){h.onreadystatechange=null,h.abort()}},Wee=Bee,zee={createStreamingSocket:function(h){return this.createSocket(Oee,h)},createPollingSocket:function(h){return this.createSocket(Hee,h)},createSocket:function(h,m){return new Nee(h,m)},createXHR:function(h,m){return this.createRequest(Wee,h,m)},createRequest:function(h,m,y){return new See(h,m,y)}},M8=zee;M8.createXDR=function(h,m){return this.createRequest(xee,h,m)};var Gee=M8,qee={nextAuthCallbackID:1,auth_callbacks:{},ScriptReceivers:a,DependenciesReceivers:c,getDefaultStrategy:wee,Transports:wK,transportConnectionInitializer:Cee,HTTPFactory:Gee,TimelineTransport:ae,getXHRAPI:function(){return window.XMLHttpRequest},getWebSocketAPI:function(){return window.WebSocket||window.MozWebSocket},setup:function(h){var m=this;window.Pusher=h;var y=function(){m.onDocumentBody(h.ready)};window.JSON?y():s.load("json2",{},y)},getDocument:function(){return document},getProtocol:function(){return this.getDocument().location.protocol},getAuthorizers:function(){return{ajax:Je,jsonp:Le}},onDocumentBody:function(h){var m=this;document.body?h():setTimeout(function(){m.onDocumentBody(h)},0)},createJSONPRequest:function(h,m){return new xe(h,m)},createScriptRequest:function(h){return new Xe(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 xK},createWebSocket:function(h){var m=this.getWebSocketAPI();return new m(h)},createSocketRequest:function(h,m){if(this.isXHRSupported())return this.HTTPFactory.createXHR(h,m);if(this.isXDRSupported(m.indexOf("https:")===0))return this.HTTPFactory.createXDR(h,m);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 m=h?"https:":"http:",y=this.getProtocol();return Boolean(window.XDomainRequest)&&y===m},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)}},Gt=qee,j4;(function(h){h[h.ERROR=3]="ERROR",h[h.INFO=6]="INFO",h[h.DEBUG=7]="DEBUG"})(j4||(j4={}));var F1=j4,$ee=function(){function h(m,y,R){this.key=m,this.session=y,this.events=[],this.options=R||{},this.sent=0,this.uniqueID=0}return h.prototype.log=function(m,y){m<=this.options.level&&(this.events.push(Q({},y,{timestamp:J.now()})),this.options.limit&&this.events.length>this.options.limit&&this.events.shift())},h.prototype.error=function(m){this.log(F1.ERROR,m)},h.prototype.info=function(m){this.log(F1.INFO,m)},h.prototype.debug=function(m){this.log(F1.DEBUG,m)},h.prototype.isEmpty=function(){return this.events.length===0},h.prototype.send=function(m,y){var R=this,E=Q({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=[],m(E,function(z,se){z||R.sent++,y&&y(z,se)}),!0},h.prototype.generateUniqueID=function(){return this.uniqueID++,this.uniqueID},h}(),Vee=$ee,Jee=function(){function h(m,y,R,E){this.name=m,this.priority=y,this.transport=R,this.options=E||{}}return h.prototype.isSupported=function(){return this.transport.isSupported({useTLS:this.options.useTLS})},h.prototype.connect=function(m,y){var R=this;if(this.isSupported()){if(this.priority{"use strict";var Iie="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";NI.exports=Iie});var BI=fe((bwt,HI)=>{"use strict";var Lie=kI();function OI(){}function UI(){}UI.resetWarningCache=OI;HI.exports=function(){function e(r,a,o,i,u,l){if(l!==Lie){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:UI,resetWarningCache:OI};return n.PropTypes=n,n}});var kv=fe((Rwt,WI)=>{WI.exports=BI()();var wwt,Cwt});var A3=fe(qd=>{"use strict";Object.defineProperty(qd,"__esModule",{value:!0});var zI=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],z_=zI.join(","),GI=typeof Element=="undefined",Qs=GI?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,I3=!GI&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},qI=function(t,n,r){var a=Array.prototype.slice.apply(t.querySelectorAll(z_));return n&&Qs.call(t,z_)&&a.unshift(t),a=a.filter(r),a},$I=function e(t,n,r){for(var a=[],o=Array.from(t);o.length;){var i=o.shift();if(i.tagName==="SLOT"){var u=i.assignedElements(),l=u.length?u:i.children,c=e(l,!0,r);r.flatten?a.push.apply(a,c):a.push({scope:i,candidates:c})}else{var s=Qs.call(i,z_);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},VI=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},Aie=function(t,n){return t.tabIndex===n.tabIndex?t.documentOrder-n.documentOrder:t.tabIndex-n.tabIndex},JI=function(t){return t.tagName==="INPUT"},Pie=function(t){return JI(t)&&t.type==="hidden"},jie=function(t){var n=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(r){return r.tagName==="SUMMARY"});return n},Nie=function(t,n){for(var r=0;rsummary:first-of-type"),i=o?t.parentElement:t;if(Qs.call(i,"details:not([open]) *"))return!0;var u=I3(t).host,l=(u==null?void 0:u.ownerDocument.contains(u))||t.ownerDocument.contains(t);if(!r||r==="full"){if(typeof a=="function"){for(var c=t;t;){var s=t.parentElement,f=I3(t);if(s&&!s.shadowRoot&&a(s)===!0)return XI(t);t.assignedSlot?t=t.assignedSlot:!s&&f!==t.ownerDocument?t=f.host:t=s}t=c}if(l)return!t.getClientRects().length}else if(r==="non-zero-area")return XI(t);return!1},Bie=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)},zie=function e(t){var n=[],r=[];return t.forEach(function(a,o){var i=!!a.scope,u=i?a.scope:a,l=VI(u,i),c=i?e(a.candidates):u;l===0?i?n.push.apply(n,c):n.push(u):r.push({documentOrder:o,tabIndex:l,item:a,isScope:i,content:c})}),r.sort(Aie).reduce(function(a,o){return o.isScope?a.push.apply(a,o.content):a.push(o.content),a},[]).concat(n)},Gie=function(t,n){n=n||{};var r;return n.getShadowRoot?r=$I([t],n.includeContainer,{filter:L3.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:Wie}):r=qI(t,n.includeContainer,L3.bind(null,n)),zie(r)},qie=function(t,n){n=n||{};var r;return n.getShadowRoot?r=$I([t],n.includeContainer,{filter:G_.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):r=qI(t,n.includeContainer,G_.bind(null,n)),r},$ie=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return Qs.call(t,z_)===!1?!1:L3(n,t)},Vie=zI.concat("iframe").join(","),Jie=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return Qs.call(t,Vie)===!1?!1:G_(n,t)};qd.focusable=qie;qd.isFocusable=Jie;qd.isTabbable=$ie;qd.tabbable=Gie});var tL=fe(P3=>{"use strict";Object.defineProperty(P3,"__esModule",{value:!0});var cl=A3();function YI(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 ZI(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()}}}(),Yie=function(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select=="function"},Zie=function(t){return t.key==="Escape"||t.key==="Esc"||t.keyCode===27},Qie=function(t){return t.key==="Tab"||t.keyCode===9},KI=function(t){return setTimeout(t,0)},eL=function(t,n){var r=-1;return t.every(function(a,o){return n(a)?(r=o,!1):!0}),r},Ov=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a1?q-1:0),Z=1;Z=0)T=r.activeElement;else{var P=o.tabbableGroups[0],q=P&&P.firstTabbableNode;T=q||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 P=cl.tabbable(T,a.tabbableOptions),q=cl.focusable(T,a.tabbableOptions);return{container:T,tabbableNodes:P,focusableNodes:q,firstTabbableNode:P.length>0?P[0]:null,lastTabbableNode:P.length>0?P[P.length-1]:null,nextTabbableNode:function(Z){var W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,ee=q.findIndex(function(J){return J===Z});if(!(ee<0))return W?q.slice(ee+1).find(function(J){return cl.isTabbable(J,a.tabbableOptions)}):q.slice(0,ee).reverse().find(function(J){return cl.isTabbable(J,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,Yie(T)&&T.select()}},p=function(T){var P=c("setReturnFocus",T);return P||(P===!1?!1:T)},v=function(T){var P=q_(T);if(!(l(P)>=0)){if(Ov(a.clickOutsideDeactivates,T)){i.deactivate({returnFocus:a.returnFocusOnDeactivate&&!cl.isFocusable(P,a.tabbableOptions)});return}Ov(a.allowOutsideClick,T)||T.preventDefault()}},b=function(T){var P=q_(T),q=l(P)>=0;q||P instanceof Document?q&&(o.mostRecentlyFocusedNode=P):(T.stopImmediatePropagation(),d(o.mostRecentlyFocusedNode||s()))},g=function(T){var P=q_(T);f();var q=null;if(o.tabbableGroups.length>0){var V=l(P),Z=V>=0?o.containerGroups[V]:void 0;if(V<0)T.shiftKey?q=o.tabbableGroups[o.tabbableGroups.length-1].lastTabbableNode:q=o.tabbableGroups[0].firstTabbableNode;else if(T.shiftKey){var W=eL(o.tabbableGroups,function(ne){var de=ne.firstTabbableNode;return P===de});if(W<0&&(Z.container===P||cl.isFocusable(P,a.tabbableOptions)&&!cl.isTabbable(P,a.tabbableOptions)&&!Z.nextTabbableNode(P,!1))&&(W=V),W>=0){var ee=W===0?o.tabbableGroups.length-1:W-1,J=o.tabbableGroups[ee];q=J.lastTabbableNode}}else{var Q=eL(o.tabbableGroups,function(ne){var de=ne.lastTabbableNode;return P===de});if(Q<0&&(Z.container===P||cl.isFocusable(P,a.tabbableOptions)&&!cl.isTabbable(P,a.tabbableOptions)&&!Z.nextTabbableNode(P))&&(Q=V),Q>=0){var ue=Q===o.tabbableGroups.length-1?0:Q+1,G=o.tabbableGroups[ue];q=G.firstTabbableNode}}}else q=c("fallbackFocus");q&&(T.preventDefault(),d(q))},D=function(T){if(Zie(T)&&Ov(a.escapeDeactivates,T)!==!1){T.preventDefault(),i.deactivate();return}if(Qie(T)){g(T);return}},C=function(T){var P=q_(T);l(P)>=0||Ov(a.clickOutsideDeactivates,T)||Ov(a.allowOutsideClick,T)||(T.preventDefault(),T.stopImmediatePropagation())},S=function(){if(!!o.active)return QI.activateTrap(i),o.delayInitialFocusTimer=a.delayInitialFocus?KI(function(){d(s())}):d(s()),r.addEventListener("focusin",b,!0),r.addEventListener("mousedown",v,{capture:!0,passive:!1}),r.addEventListener("touchstart",v,{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",b,!0),r.removeEventListener("mousedown",v,!0),r.removeEventListener("touchstart",v,!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 P=u(T,"onActivate"),q=u(T,"onPostActivate"),V=u(T,"checkCanFocusTrap");V||f(),o.active=!0,o.paused=!1,o.nodeFocusedBeforeActivation=r.activeElement,P&&P();var Z=function(){V&&f(),S(),q&&q()};return V?(V(o.containers.concat()).then(Z,Z),this):(Z(),this)},deactivate:function(T){if(!o.active)return this;var P=ZI({onDeactivate:a.onDeactivate,onPostDeactivate:a.onPostDeactivate,checkCanReturnFocus:a.checkCanReturnFocus},T);clearTimeout(o.delayInitialFocusTimer),o.delayInitialFocusTimer=void 0,I(),o.active=!1,o.paused=!1,QI.deactivateTrap(i);var q=u(P,"onDeactivate"),V=u(P,"onPostDeactivate"),Z=u(P,"checkCanReturnFocus"),W=u(P,"returnFocus","returnFocusOnDeactivate");q&&q();var ee=function(){KI(function(){W&&d(p(o.nodeFocusedBeforeActivation)),V&&V()})};return W&&Z?(Z(p(o.nodeFocusedBeforeActivation)).then(ee,ee),this):(ee(),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(),S(),this)},updateContainerElements:function(T){var P=[].concat(T).filter(Boolean);return o.containers=P.map(function(q){return typeof q=="string"?r.querySelector(q):q}),o.active&&f(),this}},i.updateContainerElements(t),i};P3.createFocusTrap=Kie});var aL=fe((Ewt,rL)=>{"use strict";function j3(e){return j3=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},j3(e)}function eue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nL(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]},u=V_.cloneElement(o,{ref:i});return u}return null}}]),n}(V_.Component),Hv=typeof Element=="undefined"?Function:Element;k3.propTypes={active:Mt.bool,paused:Mt.bool,focusTrapOptions:Mt.shape({document:Mt.object,onActivate:Mt.func,onPostActivate:Mt.func,checkCanFocusTrap:Mt.func,onDeactivate:Mt.func,onPostDeactivate:Mt.func,checkCanReturnFocus:Mt.func,initialFocus:Mt.oneOfType([Mt.instanceOf(Hv),Mt.string,Mt.bool,Mt.func]),fallbackFocus:Mt.oneOfType([Mt.instanceOf(Hv),Mt.string,Mt.func]),escapeDeactivates:Mt.oneOfType([Mt.bool,Mt.func]),clickOutsideDeactivates:Mt.oneOfType([Mt.bool,Mt.func]),returnFocusOnDeactivate:Mt.bool,setReturnFocus:Mt.oneOfType([Mt.instanceOf(Hv),Mt.string,Mt.bool,Mt.func]),allowOutsideClick:Mt.oneOfType([Mt.bool,Mt.func]),preventScroll:Mt.bool,tabbableOptions:Mt.shape({displayCheck:Mt.oneOf(["full","non-zero-area","none"]),getShadowRoot:Mt.oneOfType([Mt.bool,Mt.func])})}),containerElements:Mt.arrayOf(Mt.instanceOf(Hv)),children:Mt.oneOfType([Mt.element,Mt.instanceOf(Hv)])};k3.defaultProps={active:!0,paused:!1,focusTrapOptions:{},_createFocusTrap:lue};rL.exports=k3});var gA=fe(Dn=>{"use strict";var rp,Qv,xg,cC;typeof performance=="object"&&typeof performance.now=="function"?(pA=performance,Dn.unstable_now=function(){return pA.now()}):(sC=Date,mA=sC.now(),Dn.unstable_now=function(){return sC.now()-mA});var pA,sC,mA;typeof window=="undefined"||typeof MessageChannel!="function"?(ap=null,fC=null,dC=function(){if(ap!==null)try{var e=Dn.unstable_now();ap(!0,e),ap=null}catch(t){throw setTimeout(dC,0),t}},rp=function(e){ap!==null?setTimeout(rp,0,e):(ap=e,setTimeout(dC,0))},Qv=function(e,t){fC=setTimeout(e,t)},xg=function(){clearTimeout(fC)},Dn.unstable_shouldYield=function(){return!1},cC=Dn.unstable_forceFrameRate=function(){}):(vA=window.setTimeout,hA=window.clearTimeout,typeof console!="undefined"&&(_A=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 _A!="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")),Kv=!1,e0=null,Tg=-1,pC=5,mC=0,Dn.unstable_shouldYield=function(){return Dn.unstable_now()>=mC},cC=function(){},Dn.unstable_forceFrameRate=function(e){0>e||125>>1,a=e[r];if(a!==void 0&&0Sg(i,n))l!==void 0&&0>Sg(l,i)?(e[r]=l,e[u]=n,r=u):(e[r]=i,e[o]=n,r=o);else if(l!==void 0&&0>Sg(l,n))e[r]=l,e[u]=n,r=u;else break e}}return t}return null}function Sg(e,t){var n=e.sortIndex-t.sortIndex;return n!==0?n:e.id-t.id}var Du=[],wc=[],_de=1,zo=null,ma=3,Mg=!1,rf=!1,t0=!1;function _C(e){for(var t=ji(wc);t!==null;){if(t.callback===null)Fg(wc);else if(t.startTime<=e)Fg(wc),t.sortIndex=t.expirationTime,hC(Du,t);else break;t=ji(wc)}}function gC(e){if(t0=!1,_C(e),!rf)if(ji(Du)!==null)rf=!0,rp(yC);else{var t=ji(wc);t!==null&&Qv(gC,t.startTime-e)}}function yC(e,t){rf=!1,t0&&(t0=!1,xg()),Mg=!0;var n=ma;try{for(_C(t),zo=ji(Du);zo!==null&&(!(zo.expirationTime>t)||e&&!Dn.unstable_shouldYield());){var r=zo.callback;if(typeof r=="function"){zo.callback=null,ma=zo.priorityLevel;var a=r(zo.expirationTime<=t);t=Dn.unstable_now(),typeof a=="function"?zo.callback=a:zo===ji(Du)&&Fg(Du),_C(t)}else Fg(Du);zo=ji(Du)}if(zo!==null)var o=!0;else{var i=ji(wc);i!==null&&Qv(gC,i.startTime-t),o=!1}return o}finally{zo=null,ma=n,Mg=!1}}var gde=cC;Dn.unstable_IdlePriority=5;Dn.unstable_ImmediatePriority=1;Dn.unstable_LowPriority=4;Dn.unstable_NormalPriority=3;Dn.unstable_Profiling=null;Dn.unstable_UserBlockingPriority=2;Dn.unstable_cancelCallback=function(e){e.callback=null};Dn.unstable_continueExecution=function(){rf||Mg||(rf=!0,rp(yC))};Dn.unstable_getCurrentPriorityLevel=function(){return ma};Dn.unstable_getFirstCallbackNode=function(){return ji(Du)};Dn.unstable_next=function(e){switch(ma){case 1:case 2:case 3:var t=3;break;default:t=ma}var n=ma;ma=t;try{return e()}finally{ma=n}};Dn.unstable_pauseExecution=function(){};Dn.unstable_requestPaint=gde;Dn.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=ma;ma=e;try{return t()}finally{ma=n}};Dn.unstable_scheduleCallback=function(e,t,n){var r=Dn.unstable_now();switch(typeof n=="object"&&n!==null?(n=n.delay,n=typeof n=="number"&&0r?(e.sortIndex=n,hC(wc,e),ji(Du)===null&&e===ji(wc)&&(t0?xg():t0=!0,Qv(gC,n-r))):(e.sortIndex=a,hC(Du,e),rf||Mg||(rf=!0,rp(yC))),e};Dn.unstable_wrapCallback=function(e){var t=ma;return function(){var n=ma;ma=t;try{return e.apply(this,arguments)}finally{ma=n}}}});var DA=fe((i6t,yA)=>{"use strict";yA.exports=gA()});var iN=fe(Xo=>{"use strict";var Ig=Si(),qn=I_(),Xr=DA();function Ee(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;nt}return!1}function La(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 ia={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ia[e]=new La(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ia[t]=new La(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ia[e]=new La(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ia[e]=new La(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){ia[e]=new La(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ia[e]=new La(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ia[e]=new La(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ia[e]=new La(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ia[e]=new La(e,5,!1,e.toLowerCase(),null,!1,!1)});var DC=/[\-:]([a-z])/g;function bC(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(DC,bC);ia[t]=new La(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(DC,bC);ia[t]=new La(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(DC,bC);ia[t]=new La(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ia[e]=new La(e,1,!1,e.toLowerCase(),null,!1,!1)});ia.xlinkHref=new La("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ia[e]=new La(e,1,!1,e.toLowerCase(),null,!0,!0)});function wC(e,t,n,r){var a=ia.hasOwnProperty(t)?ia[t]:null,o=a!==null?a.type===0:r?!1:!(!(2u||a[i]!==o[u])return` `+a[i].replace(" at new "," at ");while(1<=i&&0<=u);break}}}finally{LC=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?u0(e):""}function Cde(e){switch(e.tag){case 5:return u0(e.type);case 16:return u0("Lazy");case 13:return u0("Suspense");case 19:return u0("SuspenseList");case 0:case 2:case 15:return e=jg(e.type,!1),e;case 11:return e=jg(e.type.render,!1),e;case 22:return e=jg(e.type._render,!1),e;case 1:return e=jg(e.type,!0),e;default:return""}}function ip(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 Cc:return"Fragment";case uf:return"Portal";case a0:return"Profiler";case CC:return"StrictMode";case o0:return"Suspense";case Ag:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case xC:return(e.displayName||"Context")+".Consumer";case RC:return(e._context.displayName||"Context")+".Provider";case Lg:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case Pg:return ip(e.type);case EC:return ip(e._render);case TC:t=e._payload,e=e._init;try{return ip(e(t))}catch{}}return null}function Rc(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function EA(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Rde(e){var t=EA(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 Ng(e){e._valueTracker||(e._valueTracker=Rde(e))}function FA(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=EA(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function kg(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 AC(e,t){var n=t.checked;return qn({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n!=null?n:e._wrapperState.initialChecked})}function SA(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Rc(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 MA(e,t){t=t.checked,t!=null&&wC(e,"checked",t,!1)}function PC(e,t){MA(e,t);var n=Rc(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")?jC(e,t.type,n):t.hasOwnProperty("defaultValue")&&jC(e,t.type,Rc(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function IA(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 jC(e,t,n){(t!=="number"||kg(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function xde(e){var t="";return Ig.Children.forEach(e,function(n){n!=null&&(t+=n)}),t}function NC(e,t){return e=qn({children:void 0},t),(t=xde(t.children))&&(e.children=t),e}function up(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a=n.length))throw Error(Ee(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Rc(n)}}function AA(e,t){var n=Rc(t.value),r=Rc(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 PA(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}var OC={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function jA(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 UC(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?jA(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Og,NA=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!==OC.svg||"innerHTML"in e)e.innerHTML=t;else{for(Og=Og||document.createElement("div"),Og.innerHTML=""+t.valueOf().toString()+"",t=Og.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function l0(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var c0={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},Tde=["Webkit","ms","Moz","O"];Object.keys(c0).forEach(function(e){Tde.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),c0[t]=c0[e]})});function kA(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||c0.hasOwnProperty(e)&&c0[e]?(""+t).trim():t+"px"}function OA(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,a=kA(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}var Ede=qn({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 HC(e,t){if(t){if(Ede[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(Ee(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(Ee(60));if(!(typeof t.dangerouslySetInnerHTML=="object"&&"__html"in t.dangerouslySetInnerHTML))throw Error(Ee(61))}if(t.style!=null&&typeof t.style!="object")throw Error(Ee(62))}}function BC(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 WC(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var zC=null,lp=null,cp=null;function UA(e){if(e=E0(e)){if(typeof zC!="function")throw Error(Ee(280));var t=e.stateNode;t&&(t=oy(t),zC(e.stateNode,e.type,t))}}function HA(e){lp?cp?cp.push(e):cp=[e]:lp=e}function BA(){if(lp){var e=lp,t=cp;if(cp=lp=null,UA(e),t)for(e=0;er?0:1<n;n++)t.push(e);return t}function qg(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,e=e.eventTimes,t=31-Fc(t),e[t]=n}var Fc=Math.clz32?Math.clz32:zde,Bde=Math.log,Wde=Math.LN2;function zde(e){return e===0?32:31-(Bde(e)/Wde|0)|0}var Gde=Xr.unstable_UserBlockingPriority,qde=Xr.unstable_runWithPriority,$g=!0;function $de(e,t,n,r){lf||qC();var a=r7,o=lf;lf=!0;try{WA(a,e,t,n,r)}finally{(lf=o)||VC()}}function Vde(e,t,n,r){qde(Gde,r7.bind(null,e,t,n,r))}function r7(e,t,n,r){if($g){var a;if((a=(t&4)==0)&&0=D0),mP=String.fromCharCode(32),vP=!1;function hP(e,t){switch(e){case"keyup":return hpe.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function _P(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var vp=!1;function gpe(e,t){switch(e){case"compositionend":return _P(t);case"keypress":return t.which!==32?null:(vP=!0,mP);case"textInput":return e=t.data,e===mP&&vP?null:e;default:return null}}function ype(e,t){if(vp)return e==="compositionend"||!f7&&hP(e,t)?(e=lP(),Vg=o7=Sc=null,vp=!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=CP(n)}}function xP(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?xP(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function TP(){for(var e=window,t=kg();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=kg(e.document)}return t}function p7(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 Spe=dl&&"documentMode"in document&&11>=document.documentMode,hp=null,m7=null,R0=null,v7=!1;function EP(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;v7||hp==null||hp!==kg(r)||(r=hp,"selectionStart"in r&&p7(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}),R0&&C0(R0,r)||(R0=r,r=ty(m7,"onSelect"),0bp||(e.current=w7[bp],w7[bp]=null,bp--)}function fr(e,t){bp++,w7[bp]=e.current,e.current=t}var Lc={},va=Ic(Lc),Ga=Ic(!1),ff=Lc;function wp(e,t){var n=e.type.contextTypes;if(!n)return Lc;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 qa(e){return e=e.childContextTypes,e!=null}function iy(){Hn(Ga),Hn(va)}function WP(e,t,n){if(va.current!==Lc)throw Error(Ee(168));fr(va,t),fr(Ga,n)}function zP(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(Ee(108,ip(t)||"Unknown",a));return qn({},n,r)}function uy(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Lc,ff=va.current,fr(va,e),fr(Ga,Ga.current),!0}function GP(e,t,n){var r=e.stateNode;if(!r)throw Error(Ee(169));n?(e=zP(e,t,ff),r.__reactInternalMemoizedMergedChildContext=e,Hn(Ga),Hn(va),fr(va,e)):Hn(Ga),fr(Ga,n)}var C7=null,df=null,Lpe=Xr.unstable_runWithPriority,R7=Xr.unstable_scheduleCallback,x7=Xr.unstable_cancelCallback,Ape=Xr.unstable_shouldYield,qP=Xr.unstable_requestPaint,T7=Xr.unstable_now,Ppe=Xr.unstable_getCurrentPriorityLevel,ly=Xr.unstable_ImmediatePriority,$P=Xr.unstable_UserBlockingPriority,VP=Xr.unstable_NormalPriority,JP=Xr.unstable_LowPriority,XP=Xr.unstable_IdlePriority,E7={},jpe=qP!==void 0?qP:function(){},pl=null,cy=null,F7=!1,YP=T7(),ha=1e4>YP?T7:function(){return T7()-YP};function Cp(){switch(Ppe()){case ly:return 99;case $P:return 98;case VP:return 97;case JP:return 96;case XP:return 95;default:throw Error(Ee(332))}}function ZP(e){switch(e){case 99:return ly;case 98:return $P;case 97:return VP;case 96:return JP;case 95:return XP;default:throw Error(Ee(332))}}function pf(e,t){return e=ZP(e),Lpe(e,t)}function F0(e,t,n){return e=ZP(e),R7(e,t,n)}function wu(){if(cy!==null){var e=cy;cy=null,x7(e)}QP()}function QP(){if(!F7&&pl!==null){F7=!0;var e=0;try{var t=pl;pf(99,function(){for(;eP?(q=T,T=null):q=T.sibling;var V=d(g,T,C[P],S);if(V===null){T===null&&(T=q);break}e&&T&&V.alternate===null&&t(g,T),D=o(V,D,P),A===null?I=V:A.sibling=V,A=V,T=q}if(P===C.length)return n(g,T),I;if(T===null){for(;PP?(q=T,T=null):q=T.sibling;var Z=d(g,T,V.value,S);if(Z===null){T===null&&(T=q);break}e&&T&&Z.alternate===null&&t(g,T),D=o(Z,D,P),A===null?I=Z:A.sibling=Z,A=Z,T=q}if(V.done)return n(g,T),I;if(T===null){for(;!V.done;P++,V=C.next())V=f(g,V.value,S),V!==null&&(D=o(V,D,P),A===null?I=V:A.sibling=V,A=V);return I}for(T=r(g,T);!V.done;P++,V=C.next())V=p(T,g,P,V.value,S),V!==null&&(e&&V.alternate!==null&&T.delete(V.key===null?P:V.key),D=o(V,D,P),A===null?I=V:A.sibling=V,A=V);return e&&T.forEach(function(W){return t(g,W)}),I}return function(g,D,C,S){var I=typeof C=="object"&&C!==null&&C.type===Cc&&C.key===null;I&&(C=C.props.children);var A=typeof C=="object"&&C!==null;if(A)switch(C.$$typeof){case r0:e:{for(A=C.key,I=D;I!==null;){if(I.key===A){switch(I.tag){case 7:if(C.type===Cc){n(g,I.sibling),D=a(I,C.props.children),D.return=g,g=D;break e}break;default:if(I.elementType===C.type){n(g,I.sibling),D=a(I,C.props),D.ref=M0(g,I,C),D.return=g,g=D;break e}}n(g,I);break}else t(g,I);I=I.sibling}C.type===Cc?(D=Ap(C.props.children,g.mode,S,C.key),D.return=g,g=D):(S=Py(C.type,C.key,C.props,null,g.mode,S),S.ref=M0(g,D,C),S.return=g,g=S)}return i(g);case uf: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(g,D.sibling),D=a(D,C.children||[]),D.return=g,g=D;break e}else{n(g,D);break}else t(g,D);D=D.sibling}D=vR(C,g.mode,S),D.return=g,g=D}return i(g)}if(typeof C=="string"||typeof C=="number")return C=""+C,D!==null&&D.tag===6?(n(g,D.sibling),D=a(D,C),D.return=g,g=D):(n(g,D),D=mR(C,g.mode,S),D.return=g,g=D),i(g);if(vy(C))return v(g,D,C,S);if(i0(C))return b(g,D,C,S);if(A&&hy(g,C),typeof C=="undefined"&&!I)switch(g.tag){case 1:case 22:case 0:case 11:case 15:throw Error(Ee(152,ip(g.type)||"Component"))}return n(g,D)}}var _y=uj(!0),lj=uj(!1),I0={},Cu=Ic(I0),L0=Ic(I0),A0=Ic(I0);function mf(e){if(e===I0)throw Error(Ee(174));return e}function A7(e,t){switch(fr(A0,t),fr(L0,e),fr(Cu,I0),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:UC(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=UC(t,e)}Hn(Cu),fr(Cu,t)}function Tp(){Hn(Cu),Hn(L0),Hn(A0)}function cj(e){mf(A0.current);var t=mf(Cu.current),n=UC(t,e.type);t!==n&&(fr(L0,e),fr(Cu,n))}function P7(e){L0.current===e&&(Hn(Cu),Hn(L0))}var dr=Ic(0);function gy(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 ml=null,Nc=null,Ru=!1;function sj(e,t){var n=Jo(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 fj(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 j7(e){if(Ru){var t=Nc;if(t){var n=t;if(!fj(e,t)){if(t=gp(n.nextSibling),!t||!fj(e,t)){e.flags=e.flags&-1025|2,Ru=!1,ml=e;return}sj(ml,n)}ml=e,Nc=gp(t.firstChild)}else e.flags=e.flags&-1025|2,Ru=!1,ml=e}}function dj(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;ml=e}function yy(e){if(e!==ml)return!1;if(!Ru)return dj(e),Ru=!0,!1;var t=e.type;if(e.tag!==5||t!=="head"&&t!=="body"&&!y7(t,e.memoizedProps))for(t=Nc;t;)sj(e,t),t=gp(t.nextSibling);if(dj(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(Ee(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Nc=gp(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Nc=null}}else Nc=ml?gp(e.stateNode.nextSibling):null;return!0}function N7(){Nc=ml=null,Ru=!1}var Ep=[];function k7(){for(var e=0;eo))throw Error(Ee(301));o+=1,ua=_a=null,t.updateQueue=null,P0.current=Hpe,e=n(r,a)}while(N0)}if(P0.current=Ry,t=_a!==null&&_a.next!==null,j0=0,ua=_a=_r=null,Dy=!1,t)throw Error(Ee(300));return e}function vf(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ua===null?_r.memoizedState=ua=e:ua=ua.next=e,ua}function hf(){if(_a===null){var e=_r.alternate;e=e!==null?e.memoizedState:null}else e=_a.next;var t=ua===null?_r.memoizedState:ua.next;if(t!==null)ua=t,_a=e;else{if(e===null)throw Error(Ee(310));_a=e,e={memoizedState:_a.memoizedState,baseState:_a.baseState,baseQueue:_a.baseQueue,queue:_a.queue,next:null},ua===null?_r.memoizedState=ua=e:ua=ua.next=e}return ua}function xu(e,t){return typeof t=="function"?t(e):t}function k0(e){var t=hf(),n=t.queue;if(n===null)throw Error(Ee(311));n.lastRenderedReducer=e;var r=_a,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 u=i=o=null,l=a;do{var c=l.lane;if((j0&c)===c)u!==null&&(u=u.next={lane:0,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null}),r=l.eagerReducer===e?l.eagerState:e(r,l.action);else{var s={lane:c,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null};u===null?(i=u=s,o=r):u=u.next=s,_r.lanes|=c,B0|=c}l=l.next}while(l!==null&&l!==a);u===null?o=r:u.next=i,Go(r,t.memoizedState)||(ki=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=u,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function O0(e){var t=hf(),n=t.queue;if(n===null)throw Error(Ee(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);Go(o,t.memoizedState)||(ki=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function pj(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=(j0&e)===e)&&(t._workInProgressVersionPrimary=r,Ep.push(t))),e)return n(t._source);throw Ep.push(t),Error(Ee(350))}function mj(e,t,n,r){var a=Aa;if(a===null)throw Error(Ee(349));var o=t._getVersion,i=o(t._source),u=P0.current,l=u.useState(function(){return pj(a,t,n)}),c=l[1],s=l[0];l=ua;var f=e.memoizedState,d=f.refs,p=d.getSnapshot,v=f.source;f=f.subscribe;var b=_r;return e.memoizedState={refs:d,source:t,subscribe:r},u.useEffect(function(){d.getSnapshot=n,d.setSnapshot=c;var g=o(t._source);if(!Go(i,g)){g=n(t._source),Go(s,g)||(c(g),g=Oc(b),a.mutableReadLanes|=g&a.pendingLanes),g=a.mutableReadLanes,a.entangledLanes|=g;for(var D=a.entanglements,C=g;0n?98:n,function(){e(!0)}),pf(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[Mc]=t,e[ay]=r,jj(e,t,!1,!1),t.stateNode=e,i=BC(n,r),n){case"dialog":Un("cancel",e),Un("close",e),a=r;break;case"iframe":case"object":case"embed":Un("load",e),a=r;break;case"video":case"audio":for(a=0;aoR&&(t.flags|=64,o=!0,H0(r,!1),t.lanes=33554432)}else{if(!o)if(e=gy(i),e!==null){if(t.flags|=64,o=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),H0(r,!0),r.tail===null&&r.tailMode==="hidden"&&!i.alternate&&!Ru)return t=t.lastEffect=r.lastEffect,t!==null&&(t.nextEffect=null),null}else 2*ha()-r.renderingStartTime>oR&&n!==1073741824&&(t.flags|=64,o=!0,H0(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=ha(),n.sibling=null,t=dr.current,fr(dr,o?t&1|2:t&1),n):null;case 23:case 24:return fR(),e!==null&&e.memoizedState!==null!=(t.memoizedState!==null)&&r.mode!=="unstable-defer-without-hiding"&&(t.flags|=4),null}throw Error(Ee(156,t.tag))}function zpe(e){switch(e.tag){case 1:qa(e.type)&&iy();var t=e.flags;return t&4096?(e.flags=t&-4097|64,e):null;case 3:if(Tp(),Hn(Ga),Hn(va),k7(),t=e.flags,(t&64)!=0)throw Error(Ee(285));return e.flags=t&-4097|64,e;case 5:return P7(e),null;case 13:return Hn(dr),t=e.flags,t&4096?(e.flags=t&-4097|64,e):null;case 19:return Hn(dr),null;case 4:return Tp(),null;case 10:return M7(e),null;case 23:case 24:return fR(),null;default:return null}}function X7(e,t){try{var n="",r=t;do n+=Cde(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 Y7(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Gpe=typeof WeakMap=="function"?WeakMap:Map;function Oj(e,t,n){n=Pc(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Fy||(Fy=!0,iR=r),Y7(e,t)},n}function Uj(e,t,n){n=Pc(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var a=t.value;n.payload=function(){return Y7(e,t),r(a)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){typeof r!="function"&&(Tu===null?Tu=new Set([this]):Tu.add(this),Y7(e,t));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),n}var qpe=typeof WeakSet=="function"?WeakSet:Set;function Hj(e){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(n){Bc(e,n)}else t.current=null}function $pe(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:Ni(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:t.flags&256&&D7(t.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(Ee(163))}function Vpe(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&&(tN(n,e),tme(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:Ni(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),t=n.updateQueue,t!==null&&nj(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}nj(n,t,e)}return;case 5:e=n.stateNode,t===null&&n.flags&4&&kP(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&&eP(n))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(Ee(163))}function Bj(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=kA("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 Wj(e,t){if(df&&typeof df.onCommitFiberUnmount=="function")try{df.onCommitFiberUnmount(C7,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)tN(t,n);else{r=t;try{a()}catch(o){Bc(r,o)}}n=n.next}while(n!==e)}break;case 1:if(Hj(t),e=t.stateNode,typeof e.componentWillUnmount=="function")try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(o){Bc(t,o)}break;case 5:Hj(t);break;case 4:$j(e,t)}}function zj(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 Gj(e){return e.tag===5||e.tag===3||e.tag===4}function qj(e){e:{for(var t=e.return;t!==null;){if(Gj(t))break e;t=t.return}throw Error(Ee(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(Ee(161))}n.flags&16&&(l0(t,""),n.flags&=-17);e:t:for(n=e;;){for(;n.sibling===null;){if(n.return===null||Gj(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?Z7(e,n,t):Q7(e,n,t)}function Z7(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=ny));else if(r!==4&&(e=e.child,e!==null))for(Z7(e,t,n),e=e.sibling;e!==null;)Z7(e,t,n),e=e.sibling}function Q7(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(Q7(e,t,n),e=e.sibling;e!==null;)Q7(e,t,n),e=e.sibling}function $j(e,t){for(var n=t,r=!1,a,o;;){if(!r){r=n.return;e:for(;;){if(r===null)throw Error(Ee(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,u=n,l=u;;)if(Wj(i,l),l.child!==null&&l.tag!==4)l.child.return=l,l=l.child;else{if(l===u)break e;for(;l.sibling===null;){if(l.return===null||l.return===u)break e;l=l.return}l.sibling.return=l.return,l=l.sibling}o?(i=a,u=n.stateNode,i.nodeType===8?i.parentNode.removeChild(u):i.removeChild(u)):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(Wj(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[ay]=r,e==="input"&&r.type==="radio"&&r.name!=null&&MA(n,r),BC(e,a),t=BC(e,r),a=0;aa&&(a=i),n&=~o}if(n=a,n=ha()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Xpe(n/1960))-n,10 component higher in the tree to provide a loading indicator or placeholder to display.`)}la!==5&&(la=2),l=X7(l,u),d=i;do{switch(d.tag){case 3:o=l,d.flags|=4096,t&=-t,d.lanes|=t;var A=Oj(d,o,t);tj(d,A);break e;case 1:o=l;var T=d.type,P=d.stateNode;if((d.flags&64)==0&&(typeof T.getDerivedStateFromError=="function"||P!==null&&typeof P.componentDidCatch=="function"&&(Tu===null||!Tu.has(P)))){d.flags|=4096,t&=-t,d.lanes|=t;var q=Uj(d,o,t);tj(d,q);break e}}d=d.return}while(d!==null)}eN(n)}catch(V){t=V,kr===n&&n!==null&&(kr=n=n.return);continue}break}while(1)}function Qj(){var e=Ty.current;return Ty.current=Ry,e===null?Ry:e}function $0(e,t){var n=xt;xt|=16;var r=Qj();Aa===e&&ga===t||Lp(e,t);do try{Zpe();break}catch(a){Zj(e,a)}while(1);if(S7(),xt=n,Ty.current=r,kr!==null)throw Error(Ee(261));return Aa=null,ga=0,la}function Zpe(){for(;kr!==null;)Kj(kr)}function Qpe(){for(;kr!==null&&!Ape();)Kj(kr)}function Kj(e){var t=rN(e.alternate,e,_f);e.memoizedProps=e.pendingProps,t===null?eN(e):kr=t,eR.current=null}function eN(e){var t=e;do{var n=t.alternate;if(e=t.return,(t.flags&2048)==0){if(n=Wpe(n,t,_f),n!==null){kr=n;return}if(n=t,n.tag!==24&&n.tag!==23||n.memoizedState===null||(_f&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&&(u=i,i=A,A=u),u=RP(C,A),o=RP(C,i),u&&o&&(I.rangeCount!==1||I.anchorNode!==u.node||I.anchorOffset!==u.offset||I.focusNode!==o.node||I.focusOffset!==o.offset)&&(S=S.createRange(),S.setStart(u.node,u.offset),I.removeAllRanges(),A>i?(I.addRange(S),I.extend(o.node,o.offset)):(S.setEnd(o.node,o.offset),I.addRange(S)))))),S=[],I=C;I=I.parentNode;)I.nodeType===1&&S.push({element:I,left:I.scrollLeft,top:I.scrollTop});for(typeof C.focus=="function"&&C.focus(),C=0;Cha()-aR?Lp(e,0):nR|=n),Vo(e,t)}function ame(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=Cp()===99?1:2:(_l===0&&(_l=Fp),t=pp(62914560&~_l),t===0&&(t=4194304))),n=_o(),e=Ly(e,t),e!==null&&(qg(e,t,n),Vo(e,n))}var rN;rN=function(e,t,n){var r=t.lanes;if(e!==null)if(e.memoizedProps!==t.pendingProps||Ga.current)ki=!0;else if((n&r)!=0)ki=(e.flags&16384)!=0;else{switch(ki=!1,t.tag){case 3:Fj(t),N7();break;case 5:cj(t);break;case 1:qa(t.type)&&uy(t);break;case 4:A7(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var a=t.type._context;fr(sy,a._currentValue),a._currentValue=r;break;case 13:if(t.memoizedState!==null)return(n&t.child.childLanes)!=0?Sj(e,t,n):(fr(dr,dr.current&1),t=vl(e,t,n),t!==null?t.sibling:null);fr(dr,dr.current&1);break;case 19:if(r=(n&t.childLanes)!=0,(e.flags&64)!=0){if(r)return Pj(e,t,n);t.flags|=64}if(a=t.memoizedState,a!==null&&(a.rendering=null,a.tail=null,a.lastEffect=null),fr(dr,dr.current),r)break;return null;case 23:case 24:return t.lanes=0,G7(e,t,n)}return vl(e,t,n)}else ki=!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=wp(t,va.current),xp(t,n),a=U7(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,qa(r)){var o=!0;uy(t)}else o=!1;t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,I7(t);var i=r.getDerivedStateFromProps;typeof i=="function"&&py(t,r,i,e),a.updater=my,t.stateNode=a,a._reactInternals=t,L7(t,r,e,n),t=$7(null,t,r,!0,o,n)}else t.tag=0,Va(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=ime(a),e=Ni(a,e),o){case 0:t=q7(null,t,a,e,n);break e;case 1:t=Ej(null,t,a,e,n);break e;case 11:t=Cj(null,t,a,e,n);break e;case 14:t=Rj(null,t,a,Ni(a.type,e),r,n);break e}throw Error(Ee(306,a,""))}return t;case 0:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:Ni(r,a),q7(e,t,r,a,n);case 1:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:Ni(r,a),Ej(e,t,r,a,n);case 3:if(Fj(t),r=t.updateQueue,e===null||r===null)throw Error(Ee(282));if(r=t.pendingProps,a=t.memoizedState,a=a!==null?a.element:null,ej(e,t),S0(t,r,null,n),r=t.memoizedState.element,r===a)N7(),t=vl(e,t,n);else{if(a=t.stateNode,(o=a.hydrate)&&(Nc=gp(t.stateNode.containerInfo.firstChild),ml=t,o=Ru=!0),o){if(e=a.mutableSourceEagerHydrationData,e!=null)for(a=0;a{"use strict";function uN(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(uN)}catch(e){console.error(e)}}uN(),lN.exports=iN()});var Z0=fe(wR=>{"use strict";Object.defineProperty(wR,"__esModule",{value:!0});var DR=Object.assign||function(e){for(var t=1;t=0||!Object.prototype.hasOwnProperty.call(e,r)||(n[r]=e[r]);return n}function vme(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function hme(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 _me(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 dN={position:"absolute",top:0,left:0,visibility:"hidden",height:0,overflow:"scroll",whiteSpace:"pre"},gme=["extraWidth","injectStyles","inputClassName","inputRef","inputStyle","minWidth","onAutosize","placeholderIsMinWidth"],yme=function(t){return gme.forEach(function(n){return delete t[n]}),t},pN=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},mN=typeof window!="undefined"&&window.navigator?/MSIE |Trident\/|Edge\//.test(window.navigator.userAgent):!1,vN=function(){return mN?"_"+Math.random().toString(36).substr(2,12):void 0},bR=function(e){_me(t,e),cN(t,null,[{key:"getDerivedStateFromProps",value:function(r,a){var o=r.id;return o!==a.prevId?{inputId:o||vN(),prevId:o}:null}}]);function t(n){vme(this,t);var r=hme(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||vN(),prevId:n.id},r}return cN(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||(pN(r,this.sizer),this.placeHolderSizer&&pN(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 PR!="undefined")t(kv(),(Nt(),w_));else{var n={exports:{}};t(e.PropTypes,e.React),e.ReactList=n.exports}})(typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:PR,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||u(F)!=="object"&&typeof F!="function")return{default:F};var B=a();if(B&&B.has(F))return B.get(F);var X={},K=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var L in F)if(Object.prototype.hasOwnProperty.call(F,L)){var Y=K?Object.getOwnPropertyDescriptor(F,L):null;Y&&(Y.get||Y.set)?Object.defineProperty(X,L,Y):X[L]=F[L]}return X.default=F,B&&B.set(F,X),X}function i(F){return F&&F.__esModule?F:{default:F}}function u(F){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?u=function(X){return typeof X}:u=function(X){return X&&typeof Symbol=="function"&&X.constructor===Symbol&&X!==Symbol.prototype?"symbol":typeof X},u(F)}function l(F,B){if(!(F instanceof B))throw new TypeError("Cannot call a class as a function")}function c(F,B){for(var X=0;XK&&(le=K),O=Y==="simple"||!O?0:Math.max(Math.min(O,K-le),0),(pe=O%ie)&&(O-=pe,le+=pe),O===X.from&&le==X.size?X:S(S({},X),{},{from:O,size:le})};Pk.exports=(r=n=function(F){f(X,F);var B=p(X);s(X,null,[{key:"getDerivedStateFromProps",value:function(L,Y){var O=N(L,Y);return O===Y?null:O}}]);function X(K){var L;return l(this,X),L=B.call(this,K),L.state=N(K,{itemsPerRow:1,from:K.initialIndex,size:0}),L.cache={},L.cachedScrollPosition=null,L.prevPrevState={},L.unstable=!1,L.updateCounter=0,L}return s(X,[{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(L){var Y=this;if(this.props.axis!==L.axis&&this.clearSizeCache(),!this.unstable){if(++this.updateCounter>ne)return this.unstable=!0,console.error(G);this.updateCounterTimeoutId||(this.updateCounterTimeoutId=setTimeout(function(){Y.updateCounter=0,delete Y.updateCounterTimeoutId},0)),this.updateFrame()}}},{key:"maybeSetState",value:function(L,Y){if(de(this.state,L))return Y();this.setState(L,Y)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.updateFrameAndClearCache),this.scrollParent.removeEventListener("scroll",this.updateFrameAndClearCache,ue),this.scrollParent.removeEventListener("mousewheel",Q,ue)}},{key:"getOffset",value:function(L){var Y=this.props.axis,O=L[T[Y]]||0,le=V[Y];do O+=L[le]||0;while(L=L.offsetParent);return O}},{key:"getEl",value:function(){return this.el||this.items}},{key:"getScrollPosition",value:function(){if(typeof this.cachedScrollPosition=="number")return this.cachedScrollPosition;var L=this.scrollParent,Y=this.props.axis,O=ee[Y],le=L===window?document.body[O]||document.documentElement[O]:L[O],ie=this.getScrollSize()-this.props.scrollParentViewportSizeGetter(this),pe=Math.max(0,Math.min(le,ie)),_e=this.getEl();return this.cachedScrollPosition=this.getOffset(L)+pe-this.getOffset(_e),this.cachedScrollPosition}},{key:"setScroll",value:function(L){var Y=this.scrollParent,O=this.props.axis;if(L+=this.getOffset(this.getEl()),Y===window)return window.scrollTo(0,L);L-=this.getOffset(this.scrollParent),Y[ee[O]]=L}},{key:"getScrollSize",value:function(){var L=this.scrollParent,Y=document,O=Y.body,le=Y.documentElement,ie=W[this.props.axis];return L===window?Math.max(O[ie],le[ie]):L[ie]}},{key:"hasDeterminateSize",value:function(){var L=this.props,Y=L.itemSizeGetter,O=L.type;return O==="uniform"||Y}},{key:"getStartAndEnd",value:function(){var L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.threshold,Y=this.getScrollPosition(),O=Math.max(0,Y-L),le=Y+this.props.scrollParentViewportSizeGetter(this)+L;return this.hasDeterminateSize()&&(le=Math.min(le,this.getSpaceBefore(this.props.length))),{start:O,end:le}}},{key:"getItemSizeAndItemsPerRow",value:function(){var L=this.props,Y=L.axis,O=L.useStaticSize,le=this.state,ie=le.itemSize,pe=le.itemsPerRow;if(O&&ie&&pe)return{itemSize:ie,itemsPerRow:pe};var _e=this.items.children;if(!_e.length)return{};var ce=_e[0],Me=ce[q[Y]],Re=Math.abs(Me-ie);if((isNaN(Re)||Re>=1)&&(ie=Me),!ie)return{};var Ve=V[Y],Se=ce[Ve];pe=1;for(var Je=_e[pe];Je&&Je[Ve]===Se;Je=_e[pe])++pe;return{itemSize:ie,itemsPerRow:pe}}},{key:"clearSizeCache",value:function(){this.cachedScrollPosition=null}},{key:"updateFrameAndClearCache",value:function(L){return this.clearSizeCache(),this.updateFrame(L)}},{key:"updateFrame",value:function(L){switch(this.updateScrollParent(),typeof L!="function"&&(L=Q),this.props.type){case"simple":return this.updateSimpleFrame(L);case"variable":return this.updateVariableFrame(L);case"uniform":return this.updateUniformFrame(L)}}},{key:"updateScrollParent",value:function(){var L=this.scrollParent;this.scrollParent=this.props.scrollParentGetter(this),L!==this.scrollParent&&(L&&(L.removeEventListener("scroll",this.updateFrameAndClearCache),L.removeEventListener("mousewheel",Q)),this.clearSizeCache(),this.scrollParent.addEventListener("scroll",this.updateFrameAndClearCache,ue),this.scrollParent.addEventListener("mousewheel",Q,ue))}},{key:"updateSimpleFrame",value:function(L){var Y=this.getStartAndEnd(),O=Y.end,le=this.items.children,ie=0;if(le.length){var pe=this.props.axis,_e=le[0],ce=le[le.length-1];ie=this.getOffset(ce)+ce[q[pe]]-this.getOffset(_e)}if(ie>O)return L();var Me=this.props,Re=Me.pageSize,Ve=Me.length,Se=Math.min(this.state.size+Re,Ve);this.maybeSetState({size:Se},L)}},{key:"updateVariableFrame",value:function(L){this.props.itemSizeGetter||this.cacheSizes();for(var Y=this.getStartAndEnd(),O=Y.start,le=Y.end,ie=this.props,pe=ie.length,_e=ie.pageSize,ce=0,Me=0,Re=0,Ve=pe-1;MeO)break;ce+=Se,++Me}for(var Je=pe-Me;Re1&&arguments[1]!==void 0?arguments[1]:{};if(Y[L]!=null)return Y[L];var O=this.state,le=O.itemSize,ie=O.itemsPerRow;if(le)return Y[L]=Math.floor(L/ie)*le;for(var pe=L;pe>0&&Y[--pe]==null;);for(var _e=Y[pe]||0,ce=pe;ce=Re&&Lpe)return this.setScroll(pe)}},{key:"getVisibleRange",value:function(){for(var L=this.state,Y=L.from,O=L.size,le=this.getStartAndEnd(0),ie=le.start,pe=le.end,_e={},ce,Me,Re=Y;Reie&&(ce=Re),ce!=null&&Ve{"use strict";var Yr=typeof Symbol=="function"&&Symbol.for,$R=Yr?Symbol.for("react.element"):60103,VR=Yr?Symbol.for("react.portal"):60106,Qy=Yr?Symbol.for("react.fragment"):60107,Ky=Yr?Symbol.for("react.strict_mode"):60108,eD=Yr?Symbol.for("react.profiler"):60114,tD=Yr?Symbol.for("react.provider"):60109,nD=Yr?Symbol.for("react.context"):60110,JR=Yr?Symbol.for("react.async_mode"):60111,rD=Yr?Symbol.for("react.concurrent_mode"):60111,aD=Yr?Symbol.for("react.forward_ref"):60112,oD=Yr?Symbol.for("react.suspense"):60113,$0e=Yr?Symbol.for("react.suspense_list"):60120,iD=Yr?Symbol.for("react.memo"):60115,uD=Yr?Symbol.for("react.lazy"):60116,V0e=Yr?Symbol.for("react.block"):60121,J0e=Yr?Symbol.for("react.fundamental"):60117,X0e=Yr?Symbol.for("react.responder"):60118,Y0e=Yr?Symbol.for("react.scope"):60119;function yo(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case $R:switch(e=e.type,e){case JR:case rD:case Qy:case eD:case Ky:case oD:return e;default:switch(e=e&&e.$$typeof,e){case nD:case aD:case uD:case iD:case tD:return e;default:return t}}case VR:return t}}}function aO(e){return yo(e)===rD}Cn.AsyncMode=JR;Cn.ConcurrentMode=rD;Cn.ContextConsumer=nD;Cn.ContextProvider=tD;Cn.Element=$R;Cn.ForwardRef=aD;Cn.Fragment=Qy;Cn.Lazy=uD;Cn.Memo=iD;Cn.Portal=VR;Cn.Profiler=eD;Cn.StrictMode=Ky;Cn.Suspense=oD;Cn.isAsyncMode=function(e){return aO(e)||yo(e)===JR};Cn.isConcurrentMode=aO;Cn.isContextConsumer=function(e){return yo(e)===nD};Cn.isContextProvider=function(e){return yo(e)===tD};Cn.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===$R};Cn.isForwardRef=function(e){return yo(e)===aD};Cn.isFragment=function(e){return yo(e)===Qy};Cn.isLazy=function(e){return yo(e)===uD};Cn.isMemo=function(e){return yo(e)===iD};Cn.isPortal=function(e){return yo(e)===VR};Cn.isProfiler=function(e){return yo(e)===eD};Cn.isStrictMode=function(e){return yo(e)===Ky};Cn.isSuspense=function(e){return yo(e)===oD};Cn.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Qy||e===rD||e===eD||e===Ky||e===oD||e===$0e||typeof e=="object"&&e!==null&&(e.$$typeof===uD||e.$$typeof===iD||e.$$typeof===tD||e.$$typeof===nD||e.$$typeof===aD||e.$$typeof===J0e||e.$$typeof===X0e||e.$$typeof===Y0e||e.$$typeof===V0e)};Cn.typeOf=yo});var uO=fe((FAt,iO)=>{"use strict";iO.exports=oO()});var wf=fe((WAt,sD)=>{(function(){"use strict";var e={}.hasOwnProperty;function t(){for(var a="",o=0;o{function Nhe(){this.__data__=[],this.size=0}QO.exports=Nhe});var mx=fe((bjt,eU)=>{function khe(e,t){return e===t||e!==e&&t!==t}eU.exports=khe});var fh=fe((wjt,tU)=>{var Ohe=mx();function Uhe(e,t){for(var n=e.length;n--;)if(Ohe(e[n][0],t))return n;return-1}tU.exports=Uhe});var rU=fe((Cjt,nU)=>{var Hhe=fh(),Bhe=Array.prototype,Whe=Bhe.splice;function zhe(e){var t=this.__data__,n=Hhe(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Whe.call(t,n,1),--this.size,!0}nU.exports=zhe});var oU=fe((Rjt,aU)=>{var Ghe=fh();function qhe(e){var t=this.__data__,n=Ghe(t,e);return n<0?void 0:t[n][1]}aU.exports=qhe});var uU=fe((xjt,iU)=>{var $he=fh();function Vhe(e){return $he(this.__data__,e)>-1}iU.exports=Vhe});var cU=fe((Tjt,lU)=>{var Jhe=fh();function Xhe(e,t){var n=this.__data__,r=Jhe(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}lU.exports=Xhe});var dh=fe((Ejt,sU)=>{var Yhe=KO(),Zhe=rU(),Qhe=oU(),Khe=uU(),e1e=cU();function Bp(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t{var t1e=dh();function n1e(){this.__data__=new t1e,this.size=0}fU.exports=n1e});var mU=fe((Sjt,pU)=>{function r1e(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}pU.exports=r1e});var hU=fe((Mjt,vU)=>{function a1e(e){return this.__data__.get(e)}vU.exports=a1e});var gU=fe((Ijt,_U)=>{function o1e(e){return this.__data__.has(e)}_U.exports=o1e});var vx=fe((Ljt,yU)=>{var i1e=typeof global=="object"&&global&&global.Object===Object&&global;yU.exports=i1e});var Su=fe((Ajt,DU)=>{var u1e=vx(),l1e=typeof self=="object"&&self&&self.Object===Object&&self,c1e=u1e||l1e||Function("return this")();DU.exports=c1e});var ID=fe((Pjt,bU)=>{var s1e=Su(),f1e=s1e.Symbol;bU.exports=f1e});var xU=fe((jjt,RU)=>{var wU=ID(),CU=Object.prototype,d1e=CU.hasOwnProperty,p1e=CU.toString,ph=wU?wU.toStringTag:void 0;function m1e(e){var t=d1e.call(e,ph),n=e[ph];try{e[ph]=void 0;var r=!0}catch{}var a=p1e.call(e);return r&&(t?e[ph]=n:delete e[ph]),a}RU.exports=m1e});var EU=fe((Njt,TU)=>{var v1e=Object.prototype,h1e=v1e.toString;function _1e(e){return h1e.call(e)}TU.exports=_1e});var mh=fe((kjt,MU)=>{var FU=ID(),g1e=xU(),y1e=EU(),D1e="[object Null]",b1e="[object Undefined]",SU=FU?FU.toStringTag:void 0;function w1e(e){return e==null?e===void 0?b1e:D1e:SU&&SU in Object(e)?g1e(e):y1e(e)}MU.exports=w1e});var hx=fe((Ojt,IU)=>{function C1e(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}IU.exports=C1e});var _x=fe((Ujt,LU)=>{var R1e=mh(),x1e=hx(),T1e="[object AsyncFunction]",E1e="[object Function]",F1e="[object GeneratorFunction]",S1e="[object Proxy]";function M1e(e){if(!x1e(e))return!1;var t=R1e(e);return t==E1e||t==F1e||t==T1e||t==S1e}LU.exports=M1e});var PU=fe((Hjt,AU)=>{var I1e=Su(),L1e=I1e["__core-js_shared__"];AU.exports=L1e});var kU=fe((Bjt,NU)=>{var gx=PU(),jU=function(){var e=/[^.]+$/.exec(gx&&gx.keys&&gx.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function A1e(e){return!!jU&&jU in e}NU.exports=A1e});var yx=fe((Wjt,OU)=>{var P1e=Function.prototype,j1e=P1e.toString;function N1e(e){if(e!=null){try{return j1e.call(e)}catch{}try{return e+""}catch{}}return""}OU.exports=N1e});var HU=fe((zjt,UU)=>{var k1e=_x(),O1e=kU(),U1e=hx(),H1e=yx(),B1e=/[\\^$.*+?()[\]{}|]/g,W1e=/^\[object .+?Constructor\]$/,z1e=Function.prototype,G1e=Object.prototype,q1e=z1e.toString,$1e=G1e.hasOwnProperty,V1e=RegExp("^"+q1e.call($1e).replace(B1e,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function J1e(e){if(!U1e(e)||O1e(e))return!1;var t=k1e(e)?V1e:W1e;return t.test(H1e(e))}UU.exports=J1e});var WU=fe((Gjt,BU)=>{function X1e(e,t){return e==null?void 0:e[t]}BU.exports=X1e});var Rf=fe((qjt,zU)=>{var Y1e=HU(),Z1e=WU();function Q1e(e,t){var n=Z1e(e,t);return Y1e(n)?n:void 0}zU.exports=Q1e});var LD=fe(($jt,GU)=>{var K1e=Rf(),e_e=Su(),t_e=K1e(e_e,"Map");GU.exports=t_e});var vh=fe((Vjt,qU)=>{var n_e=Rf(),r_e=n_e(Object,"create");qU.exports=r_e});var JU=fe((Jjt,VU)=>{var $U=vh();function a_e(){this.__data__=$U?$U(null):{},this.size=0}VU.exports=a_e});var YU=fe((Xjt,XU)=>{function o_e(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}XU.exports=o_e});var QU=fe((Yjt,ZU)=>{var i_e=vh(),u_e="__lodash_hash_undefined__",l_e=Object.prototype,c_e=l_e.hasOwnProperty;function s_e(e){var t=this.__data__;if(i_e){var n=t[e];return n===u_e?void 0:n}return c_e.call(t,e)?t[e]:void 0}ZU.exports=s_e});var eH=fe((Zjt,KU)=>{var f_e=vh(),d_e=Object.prototype,p_e=d_e.hasOwnProperty;function m_e(e){var t=this.__data__;return f_e?t[e]!==void 0:p_e.call(t,e)}KU.exports=m_e});var nH=fe((Qjt,tH)=>{var v_e=vh(),h_e="__lodash_hash_undefined__";function __e(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=v_e&&t===void 0?h_e:t,this}tH.exports=__e});var aH=fe((Kjt,rH)=>{var g_e=JU(),y_e=YU(),D_e=QU(),b_e=eH(),w_e=nH();function Wp(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t{var oH=aH(),C_e=dh(),R_e=LD();function x_e(){this.size=0,this.__data__={hash:new oH,map:new(R_e||C_e),string:new oH}}iH.exports=x_e});var cH=fe((tNt,lH)=>{function T_e(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}lH.exports=T_e});var hh=fe((nNt,sH)=>{var E_e=cH();function F_e(e,t){var n=e.__data__;return E_e(t)?n[typeof t=="string"?"string":"hash"]:n.map}sH.exports=F_e});var dH=fe((rNt,fH)=>{var S_e=hh();function M_e(e){var t=S_e(this,e).delete(e);return this.size-=t?1:0,t}fH.exports=M_e});var mH=fe((aNt,pH)=>{var I_e=hh();function L_e(e){return I_e(this,e).get(e)}pH.exports=L_e});var hH=fe((oNt,vH)=>{var A_e=hh();function P_e(e){return A_e(this,e).has(e)}vH.exports=P_e});var gH=fe((iNt,_H)=>{var j_e=hh();function N_e(e,t){var n=j_e(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}_H.exports=N_e});var Dx=fe((uNt,yH)=>{var k_e=uH(),O_e=dH(),U_e=mH(),H_e=hH(),B_e=gH();function zp(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t{var W_e=dh(),z_e=LD(),G_e=Dx(),q_e=200;function $_e(e,t){var n=this.__data__;if(n instanceof W_e){var r=n.__data__;if(!z_e||r.length{var V_e=dh(),J_e=dU(),X_e=mU(),Y_e=hU(),Z_e=gU(),Q_e=bH();function Gp(e){var t=this.__data__=new V_e(e);this.size=t.size}Gp.prototype.clear=J_e;Gp.prototype.delete=X_e;Gp.prototype.get=Y_e;Gp.prototype.has=Z_e;Gp.prototype.set=Q_e;wH.exports=Gp});var xH=fe((sNt,RH)=>{var K_e="__lodash_hash_undefined__";function ege(e){return this.__data__.set(e,K_e),this}RH.exports=ege});var EH=fe((fNt,TH)=>{function tge(e){return this.__data__.has(e)}TH.exports=tge});var SH=fe((dNt,FH)=>{var nge=Dx(),rge=xH(),age=EH();function AD(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new nge;++t{function oge(e,t){for(var n=-1,r=e==null?0:e.length;++n{function ige(e,t){return e.has(t)}LH.exports=ige});var bx=fe((vNt,PH)=>{var uge=SH(),lge=IH(),cge=AH(),sge=1,fge=2;function dge(e,t,n,r,a,o){var i=n&sge,u=e.length,l=t.length;if(u!=l&&!(i&&l>u))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&fge?new uge:void 0;for(o.set(e,t),o.set(t,e);++f{var pge=Su(),mge=pge.Uint8Array;jH.exports=mge});var OH=fe((_Nt,kH)=>{function vge(e){var t=-1,n=Array(e.size);return e.forEach(function(r,a){n[++t]=[a,r]}),n}kH.exports=vge});var HH=fe((gNt,UH)=>{function hge(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}UH.exports=hge});var qH=fe((yNt,GH)=>{var BH=ID(),WH=NH(),_ge=mx(),gge=bx(),yge=OH(),Dge=HH(),bge=1,wge=2,Cge="[object Boolean]",Rge="[object Date]",xge="[object Error]",Tge="[object Map]",Ege="[object Number]",Fge="[object RegExp]",Sge="[object Set]",Mge="[object String]",Ige="[object Symbol]",Lge="[object ArrayBuffer]",Age="[object DataView]",zH=BH?BH.prototype:void 0,wx=zH?zH.valueOf:void 0;function Pge(e,t,n,r,a,o,i){switch(n){case Age:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Lge:return!(e.byteLength!=t.byteLength||!o(new WH(e),new WH(t)));case Cge:case Rge:case Ege:return _ge(+e,+t);case xge:return e.name==t.name&&e.message==t.message;case Fge:case Mge:return e==t+"";case Tge:var u=yge;case Sge:var l=r&bge;if(u||(u=Dge),e.size!=t.size&&!l)return!1;var c=i.get(e);if(c)return c==t;r|=wge,i.set(e,t);var s=gge(u(e),u(t),r,a,o,i);return i.delete(e),s;case Ige:if(wx)return wx.call(e)==wx.call(t)}return!1}GH.exports=Pge});var VH=fe((DNt,$H)=>{function jge(e,t){for(var n=-1,r=t.length,a=e.length;++n{var Nge=Array.isArray;JH.exports=Nge});var YH=fe((wNt,XH)=>{var kge=VH(),Oge=PD();function Uge(e,t,n){var r=t(e);return Oge(e)?r:kge(r,n(e))}XH.exports=Uge});var QH=fe((CNt,ZH)=>{function Hge(e,t){for(var n=-1,r=e==null?0:e.length,a=0,o=[];++n{function Bge(){return[]}KH.exports=Bge});var rB=fe((xNt,nB)=>{var Wge=QH(),zge=eB(),Gge=Object.prototype,qge=Gge.propertyIsEnumerable,tB=Object.getOwnPropertySymbols,$ge=tB?function(e){return e==null?[]:(e=Object(e),Wge(tB(e),function(t){return qge.call(e,t)}))}:zge;nB.exports=$ge});var oB=fe((TNt,aB)=>{function Vge(e,t){for(var n=-1,r=Array(e);++n{function Jge(e){return e!=null&&typeof e=="object"}iB.exports=Jge});var lB=fe((FNt,uB)=>{var Xge=mh(),Yge=_h(),Zge="[object Arguments]";function Qge(e){return Yge(e)&&Xge(e)==Zge}uB.exports=Qge});var dB=fe((SNt,fB)=>{var cB=lB(),Kge=_h(),sB=Object.prototype,eye=sB.hasOwnProperty,tye=sB.propertyIsEnumerable,nye=cB(function(){return arguments}())?cB:function(e){return Kge(e)&&eye.call(e,"callee")&&!tye.call(e,"callee")};fB.exports=nye});var mB=fe((MNt,pB)=>{function rye(){return!1}pB.exports=rye});var Cx=fe((gh,qp)=>{var aye=Su(),oye=mB(),vB=typeof gh=="object"&&gh&&!gh.nodeType&&gh,hB=vB&&typeof qp=="object"&&qp&&!qp.nodeType&&qp,iye=hB&&hB.exports===vB,_B=iye?aye.Buffer:void 0,uye=_B?_B.isBuffer:void 0,lye=uye||oye;qp.exports=lye});var yB=fe((INt,gB)=>{var cye=9007199254740991,sye=/^(?:0|[1-9]\d*)$/;function fye(e,t){var n=typeof e;return t=t==null?cye:t,!!t&&(n=="number"||n!="symbol"&&sye.test(e))&&e>-1&&e%1==0&&e{var dye=9007199254740991;function pye(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=dye}DB.exports=pye});var wB=fe((ANt,bB)=>{var mye=mh(),vye=Rx(),hye=_h(),_ye="[object Arguments]",gye="[object Array]",yye="[object Boolean]",Dye="[object Date]",bye="[object Error]",wye="[object Function]",Cye="[object Map]",Rye="[object Number]",xye="[object Object]",Tye="[object RegExp]",Eye="[object Set]",Fye="[object String]",Sye="[object WeakMap]",Mye="[object ArrayBuffer]",Iye="[object DataView]",Lye="[object Float32Array]",Aye="[object Float64Array]",Pye="[object Int8Array]",jye="[object Int16Array]",Nye="[object Int32Array]",kye="[object Uint8Array]",Oye="[object Uint8ClampedArray]",Uye="[object Uint16Array]",Hye="[object Uint32Array]",Bn={};Bn[Lye]=Bn[Aye]=Bn[Pye]=Bn[jye]=Bn[Nye]=Bn[kye]=Bn[Oye]=Bn[Uye]=Bn[Hye]=!0;Bn[_ye]=Bn[gye]=Bn[Mye]=Bn[yye]=Bn[Iye]=Bn[Dye]=Bn[bye]=Bn[wye]=Bn[Cye]=Bn[Rye]=Bn[xye]=Bn[Tye]=Bn[Eye]=Bn[Fye]=Bn[Sye]=!1;function Bye(e){return hye(e)&&vye(e.length)&&!!Bn[mye(e)]}bB.exports=Bye});var RB=fe((PNt,CB)=>{function Wye(e){return function(t){return e(t)}}CB.exports=Wye});var TB=fe((Dh,$p)=>{var zye=vx(),xB=typeof Dh=="object"&&Dh&&!Dh.nodeType&&Dh,yh=xB&&typeof $p=="object"&&$p&&!$p.nodeType&&$p,Gye=yh&&yh.exports===xB,xx=Gye&&zye.process,qye=function(){try{var e=yh&&yh.require&&yh.require("util").types;return e||xx&&xx.binding&&xx.binding("util")}catch{}}();$p.exports=qye});var Tx=fe((jNt,SB)=>{var $ye=wB(),Vye=RB(),EB=TB(),FB=EB&&EB.isTypedArray,Jye=FB?Vye(FB):$ye;SB.exports=Jye});var IB=fe((NNt,MB)=>{var Xye=oB(),Yye=dB(),Zye=PD(),Qye=Cx(),Kye=yB(),eDe=Tx(),tDe=Object.prototype,nDe=tDe.hasOwnProperty;function rDe(e,t){var n=Zye(e),r=!n&&Yye(e),a=!n&&!r&&Qye(e),o=!n&&!r&&!a&&eDe(e),i=n||r||a||o,u=i?Xye(e.length,String):[],l=u.length;for(var c in e)(t||nDe.call(e,c))&&!(i&&(c=="length"||a&&(c=="offset"||c=="parent")||o&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||Kye(c,l)))&&u.push(c);return u}MB.exports=rDe});var AB=fe((kNt,LB)=>{var aDe=Object.prototype;function oDe(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||aDe;return e===n}LB.exports=oDe});var jB=fe((ONt,PB)=>{function iDe(e,t){return function(n){return e(t(n))}}PB.exports=iDe});var kB=fe((UNt,NB)=>{var uDe=jB(),lDe=uDe(Object.keys,Object);NB.exports=lDe});var UB=fe((HNt,OB)=>{var cDe=AB(),sDe=kB(),fDe=Object.prototype,dDe=fDe.hasOwnProperty;function pDe(e){if(!cDe(e))return sDe(e);var t=[];for(var n in Object(e))dDe.call(e,n)&&n!="constructor"&&t.push(n);return t}OB.exports=pDe});var BB=fe((BNt,HB)=>{var mDe=_x(),vDe=Rx();function hDe(e){return e!=null&&vDe(e.length)&&!mDe(e)}HB.exports=hDe});var zB=fe((WNt,WB)=>{var _De=IB(),gDe=UB(),yDe=BB();function DDe(e){return yDe(e)?_De(e):gDe(e)}WB.exports=DDe});var qB=fe((zNt,GB)=>{var bDe=YH(),wDe=rB(),CDe=zB();function RDe(e){return bDe(e,CDe,wDe)}GB.exports=RDe});var JB=fe((GNt,VB)=>{var $B=qB(),xDe=1,TDe=Object.prototype,EDe=TDe.hasOwnProperty;function FDe(e,t,n,r,a,o){var i=n&xDe,u=$B(e),l=u.length,c=$B(t),s=c.length;if(l!=s&&!i)return!1;for(var f=l;f--;){var d=u[f];if(!(i?d in t:EDe.call(t,d)))return!1}var p=o.get(e),v=o.get(t);if(p&&v)return p==t&&v==e;var b=!0;o.set(e,t),o.set(t,e);for(var g=i;++f{var SDe=Rf(),MDe=Su(),IDe=SDe(MDe,"DataView");XB.exports=IDe});var QB=fe(($Nt,ZB)=>{var LDe=Rf(),ADe=Su(),PDe=LDe(ADe,"Promise");ZB.exports=PDe});var eW=fe((VNt,KB)=>{var jDe=Rf(),NDe=Su(),kDe=jDe(NDe,"Set");KB.exports=kDe});var nW=fe((JNt,tW)=>{var ODe=Rf(),UDe=Su(),HDe=ODe(UDe,"WeakMap");tW.exports=HDe});var sW=fe((XNt,cW)=>{var Ex=YB(),Fx=LD(),Sx=QB(),Mx=eW(),Ix=nW(),rW=mh(),Vp=yx(),aW="[object Map]",BDe="[object Object]",oW="[object Promise]",iW="[object Set]",uW="[object WeakMap]",lW="[object DataView]",WDe=Vp(Ex),zDe=Vp(Fx),GDe=Vp(Sx),qDe=Vp(Mx),$De=Vp(Ix),xf=rW;(Ex&&xf(new Ex(new ArrayBuffer(1)))!=lW||Fx&&xf(new Fx)!=aW||Sx&&xf(Sx.resolve())!=oW||Mx&&xf(new Mx)!=iW||Ix&&xf(new Ix)!=uW)&&(xf=function(e){var t=rW(e),n=t==BDe?e.constructor:void 0,r=n?Vp(n):"";if(r)switch(r){case WDe:return lW;case zDe:return aW;case GDe:return oW;case qDe:return iW;case $De:return uW}return t});cW.exports=xf});var gW=fe((YNt,_W)=>{var Lx=CH(),VDe=bx(),JDe=qH(),XDe=JB(),fW=sW(),dW=PD(),pW=Cx(),YDe=Tx(),ZDe=1,mW="[object Arguments]",vW="[object Array]",jD="[object Object]",QDe=Object.prototype,hW=QDe.hasOwnProperty;function KDe(e,t,n,r,a,o){var i=dW(e),u=dW(t),l=i?vW:fW(e),c=u?vW:fW(t);l=l==mW?jD:l,c=c==mW?jD:c;var s=l==jD,f=c==jD,d=l==c;if(d&&pW(e)){if(!pW(t))return!1;i=!0,s=!1}if(d&&!s)return o||(o=new Lx),i||YDe(e)?VDe(e,t,n,r,a,o):JDe(e,t,l,n,r,a,o);if(!(n&ZDe)){var p=s&&hW.call(e,"__wrapped__"),v=f&&hW.call(t,"__wrapped__");if(p||v){var b=p?e.value():e,g=v?t.value():t;return o||(o=new Lx),a(b,g,n,r,o)}}return d?(o||(o=new Lx),XDe(e,t,n,r,a,o)):!1}_W.exports=KDe});var wW=fe((ZNt,bW)=>{var ebe=gW(),yW=_h();function DW(e,t,n,r,a){return e===t?!0:e==null||t==null||!yW(e)&&!yW(t)?e!==e&&t!==t:ebe(e,t,n,r,DW,a)}bW.exports=DW});var RW=fe((QNt,CW)=>{var tbe=wW();function nbe(e,t){return tbe(e,t)}CW.exports=nbe});var oz=fe((qOt,Mbe)=>{Mbe.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 kT=fe((WQt,fq)=>{fq.exports=function(t){return t!=null&&t.constructor!=null&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}});var Tq=fe((sKt,xq)=>{"use strict";var hb=Object.prototype.hasOwnProperty,gq=Object.prototype.toString,yq=Object.defineProperty,Dq=Object.getOwnPropertyDescriptor,bq=function(t){return typeof Array.isArray=="function"?Array.isArray(t):gq.call(t)==="[object Array]"},wq=function(t){if(!t||gq.call(t)!=="[object Object]")return!1;var n=hb.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&hb.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!r)return!1;var a;for(a in t);return typeof a=="undefined"||hb.call(t,a)},Cq=function(t,n){yq&&n.name==="__proto__"?yq(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},Rq=function(t,n){if(n==="__proto__")if(hb.call(t,n)){if(Dq)return Dq(t,n).value}else return;return t[n]};xq.exports=function e(){var t,n,r,a,o,i,u=arguments[0],l=1,c=arguments.length,s=!1;for(typeof u=="boolean"&&(s=u,u=arguments[1]||{},l=2),(u==null||typeof u!="object"&&typeof u!="function")&&(u={});l{"use strict";var RE=Symbol.for("react.element"),xE=Symbol.for("react.portal"),Wb=Symbol.for("react.fragment"),zb=Symbol.for("react.strict_mode"),Gb=Symbol.for("react.profiler"),qb=Symbol.for("react.provider"),$b=Symbol.for("react.context"),r7e=Symbol.for("react.server_context"),Vb=Symbol.for("react.forward_ref"),Jb=Symbol.for("react.suspense"),Xb=Symbol.for("react.suspense_list"),Yb=Symbol.for("react.memo"),Zb=Symbol.for("react.lazy"),a7e=Symbol.for("react.offscreen"),$$;$$=Symbol.for("react.module.reference");function di(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case RE:switch(e=e.type,e){case Wb:case Gb:case zb:case Jb:case Xb:return e;default:switch(e=e&&e.$$typeof,e){case r7e:case $b:case Vb:case Zb:case Yb:case qb:return e;default:return t}}case xE:return t}}}Rn.ContextConsumer=$b;Rn.ContextProvider=qb;Rn.Element=RE;Rn.ForwardRef=Vb;Rn.Fragment=Wb;Rn.Lazy=Zb;Rn.Memo=Yb;Rn.Portal=xE;Rn.Profiler=Gb;Rn.StrictMode=zb;Rn.Suspense=Jb;Rn.SuspenseList=Xb;Rn.isAsyncMode=function(){return!1};Rn.isConcurrentMode=function(){return!1};Rn.isContextConsumer=function(e){return di(e)===$b};Rn.isContextProvider=function(e){return di(e)===qb};Rn.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===RE};Rn.isForwardRef=function(e){return di(e)===Vb};Rn.isFragment=function(e){return di(e)===Wb};Rn.isLazy=function(e){return di(e)===Zb};Rn.isMemo=function(e){return di(e)===Yb};Rn.isPortal=function(e){return di(e)===xE};Rn.isProfiler=function(e){return di(e)===Gb};Rn.isStrictMode=function(e){return di(e)===zb};Rn.isSuspense=function(e){return di(e)===Jb};Rn.isSuspenseList=function(e){return di(e)===Xb};Rn.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Wb||e===Gb||e===zb||e===Jb||e===Xb||e===a7e||typeof e=="object"&&e!==null&&(e.$$typeof===Zb||e.$$typeof===Yb||e.$$typeof===qb||e.$$typeof===$b||e.$$typeof===Vb||e.$$typeof===$$||e.getModuleId!==void 0)};Rn.typeOf=di});var X$=fe((Con,J$)=>{"use strict";J$.exports=V$()});var aV=fe((Eon,rV)=>{var K$=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,o7e=/\n/g,i7e=/^\s*/,u7e=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,l7e=/^:\s*/,c7e=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s7e=/^[;\s]*/,f7e=/^\s+|\s+$/g,d7e=` `,eV="/",tV="*",zf="",p7e="comment",m7e="declaration";rV.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(b){var g=b.match(o7e);g&&(n+=g.length);var D=b.lastIndexOf(d7e);r=~D?b.length-D:r+b.length}function o(){var b={line:n,column:r};return function(g){return g.position=new i(b),s(),g}}function i(b){this.start=b,this.end={line:n,column:r},this.source=t.source}i.prototype.content=e;var u=[];function l(b){var g=new Error(t.source+":"+n+":"+r+": "+b);if(g.reason=b,g.filename=t.source,g.line=n,g.column=r,g.source=e,t.silent)u.push(g);else throw g}function c(b){var g=b.exec(e);if(!!g){var D=g[0];return a(D),e=e.slice(D.length),g}}function s(){c(i7e)}function f(b){var g;for(b=b||[];g=d();)g!==!1&&b.push(g);return b}function d(){var b=o();if(!(eV!=e.charAt(0)||tV!=e.charAt(1))){for(var g=2;zf!=e.charAt(g)&&(tV!=e.charAt(g)||eV!=e.charAt(g+1));)++g;if(g+=2,zf===e.charAt(g-1))return l("End of comment missing");var D=e.slice(2,g-2);return r+=2,a(D),e=e.slice(g),r+=2,b({type:p7e,comment:D})}}function p(){var b=o(),g=c(u7e);if(!!g){if(d(),!c(l7e))return l("property missing ':'");var D=c(c7e),C=b({type:m7e,property:nV(g[0].replace(K$,zf)),value:D?nV(D[0].replace(K$,zf)):zf});return c(s7e),C}}function v(){var b=[];f(b);for(var g;g=p();)g!==!1&&(b.push(g),f(b));return b}return s(),v()};function nV(e){return e?e.replace(f7e,zf):zf}});var iV=fe((Fon,FE)=>{var v7e=aV();function oV(e,t){var n=null;if(!e||typeof e!="string")return n;for(var r,a=v7e(e),o=typeof t=="function",i,u,l=0,c=a.length;lAFe});var $8=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 sa={show:pF};var hn={show:dF};var Ae=function(e){return e.show};var fn=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),Tt=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}(),P1=function(e){return e};var j1=function(e){return e.to};var G4=function(e){return e.from};var Wte=Ge(qe),H=function(){function e(){}return e.value=new e,e}(),j=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}();var jt=function(e){return function(t){return function(n){if(n instanceof H)return e;if(n instanceof j)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])}}},Wr=jt(!0)(et(!1)),xr=jt(!1)(et(!0));var Ze={map:function(e){return function(t){return t instanceof j?new j(e(t.value0)):H.value}}},zte=re(Ze);var at=function(e){return jt(e)(Wte)},kn=function(){return function(e){if(e instanceof j)return e.value0;throw new Error("Failed pattern match at Data.Maybe (line 288, column 1 - line 288, column 46): "+[e.constructor.name])}};var zr=function(e){var t=Te(e);return{eq:function(n){return function(r){return n instanceof H&&r instanceof H?!0:n instanceof j&&r instanceof j?t(n.value0)(r.value0):!1}}}},tu=function(e){var t=tt(e),n=zr(e.Eq0());return{compare:function(r){return function(a){if(r instanceof H&&a instanceof H)return ct.value;if(r instanceof H)return Ne.value;if(a instanceof H)return je.value;if(r instanceof j&&a instanceof j)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 ro={apply:function(e){return function(t){if(e instanceof j)return zte(e.value0)(t);if(e instanceof H)return H.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 Ze}};var Et={bind:function(e){return function(t){if(e instanceof j)return t(e.value0);if(e instanceof H)return H.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 ro}};var _n=function(){return{pure:j.create,Apply0:function(){return ro}}}();var mF={alt:function(e){return function(t){return e instanceof H?t:e}},Functor0:function(){return Ze}},Gte=function(){return{empty:H.value,Alt0:function(){return mF}}}(),dd={Applicative0:function(){return _n},Plus1:function(){return Gte}};var Rs=null;function vF(e,t,n){return e==null?t:n(e)}function q4(e){return e}var nu=jt(Rs)(q4),Dt=function(e){return vF(e,H.value,j.create)};function hF(e){return typeof e=="string"}function _F(e){return typeof e=="number"}function gF(e){return typeof e=="boolean"}function yF(e){return e instanceof Object}function DF(e){return e instanceof Function}function zm(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 qte=function(e,t){if(e<1)return[];var n=new Array(e);return n.fill(t)},$te=function(e,t){for(var n=[],r=0,a=0;a=n.length?t:e(n[r])};var RF=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 TF=function(e,t){return t.filter(e)};var EF=function(){function e(t,n,r,a,o,i){var u,l,c,s,f,d,p;for(u=o+(i-o>>1),u-o>1&&e(t,n,a,r,o,u),i-u>1&&e(t,n,a,r,u,i),l=o,c=u,s=o;l0?(r[s++]=d,++c):(r[s++]=f,++l);for(;l0?Math.floor(e/t):-Math.floor(e/-t)}},kF=function(e){return function(t){if(t===0)return 0;var n=Math.abs(t);return(e%n+n)%n}};var OF={Ring0:function(){return I1}};var au={degree:jF,div:NF,mod:kF,CommutativeRing0:function(){return OF}},ou=function(e){return e.div};var V4={mempty:ge,Semigroup0:function(){return Um}},Gr={mempty:"",Semigroup0:function(){return W4}};var Xt=function(e){return e.mempty};var J4=function(e){return function(){return e}},HF=function(e){return function(t){return function(){return t(e())()}}};var X4=function(e){return function(t){return function(){for(var n=0,r=e.length;n>1),u-o>1&&e(t,n,a,r,o,u),i-u>1&&e(t,n,a,r,u,i),l=o,c=u,s=o;l0?(r[s++]=d,++c):(r[s++]=f,++l);for(;l=0;o--)r=e(n[o])(r);return r}}},l9=function(e){return function(t){return function(n){for(var r=t,a=n.length,o=0;o=Lr(A9))return A9;if(e<=Lr(P9))return P9;if(lt)return at(0)(lv(e));throw new Error("Failed pattern match at Data.Int (line 72, column 1 - line 72, column 29): "+[e.constructor.name])},n_=function(e){return jre(t_(e))};var j9=function(e){return(e&1)==0};function r_(e){return Object.prototype.toString.call(e).slice(8,-1)}function a_(e){return e===null}function Ed(e){return e===void 0}var o_=Array.isArray||function(e){return Object.prototype.toString.call(e)==="[object Array]"};function No(e){return new Error(e)}function Fd(e){return e.message}function cv(e){return function(){throw e}}var k9=function(e){return cv(No(e))};var Ar=function(e){return e.throwError};var O9={throwError:cv,Monad0:function(){return Vu}};var co=function(e){return e.catchError};var Ms=function(e){var t=co(e),n=e.MonadThrow0().Monad0(),r=re(n.Bind1().Apply0().Functor0()),a=oe(n.Applicative0());return function(o){return t(r(Be.create)(o))(function(i){return a(Ue.create(i))})}};var su=function(e){return e.tell};var fu={liftEffect:Ge(qe),Monad0:function(){return Vu}},Ft=function(e){return e.liftEffect};var Nre=re(fa);var Fw=function(e){return e};var i_=function(e){return e};var u_=function(e){return function(t){return e(t)}},Sw=function(e){var t=re(e);return{map:function(n){return u_(t(Nre(n)))}}};var U9=function(e){return{Applicative0:function(){return Md(e)},Bind1:function(){return Mw(e)}}},Mw=function(e){var t=me(e.Bind1()),n=oe(e.Applicative0());return{bind:function(r){return function(a){return t(r)(Jn(function(o){return n(Ue.create(o))})(function(o){var i=a(o);return i}))}},Apply0:function(){return Iw(e)}}},Iw=function(e){var t=Sw(e.Bind1().Apply0().Functor0());return{apply:Ao(U9(e)),Functor0:function(){return t}}},Md=function(e){return{pure:function(){var t=oe(e.Applicative0());return function(n){return Fw(t(Be.create(n)))}}(),Apply0:function(){return Iw(e)}}};var H9=function(e){var t=U9(e);return{throwError:function(){var n=oe(e.Applicative0());return function(r){return Fw(n(Ue.create(r)))}}(),Monad0:function(){return t}}};var Lw=function(e){var t=ze(e);return function(n){var r=n.Bind1(),a=me(r),o=oe(n.Applicative0()),i=Sw(r.Apply0().Functor0());return{alt:function(u){return function(l){return a(u)(function(c){if(c instanceof Be)return o(new Be(c.value0));if(c instanceof Ue)return a(l)(function(s){if(s instanceof Be)return o(new Be(s.value0));if(s instanceof Ue)return o(new Ue(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 lc=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 l_=function(e){var t=Ea(e);return function(n){return new lc(n,t)}};var lr=function(){function e(){}return e.value=new e,e}(),on=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}(),Pw=function(e){return e},Xre=function(e){return new on(e.value0,e.value1)};var Yre=function(e){var t=function(n){return function(r){var a=n,o=!1,i;function u(l,c){if(c instanceof on&&c.value1 instanceof on&&c.value1.value1 instanceof on){a=new on(c,l),r=c.value1.value1.value1;return}var s=function(d){return d instanceof on&&d.value1 instanceof on&&d.value1.value1 instanceof lr?new on(e(d.value0),new on(e(d.value1.value0),lr.value)):d instanceof on&&d.value1 instanceof lr?new on(e(d.value0),lr.value):lr.value},f=function(d){return function(p){var v=d,b=!1,g;function D(C,S){if(C instanceof on&&C.value0 instanceof on&&C.value0.value1 instanceof on&&C.value0.value1.value1 instanceof on){v=C.value1,p=new on(e(C.value0.value0),new on(e(C.value0.value1.value0),new on(e(C.value0.value1.value1.value0),S)));return}return b=!0,S}for(;!b;)g=D(v,p);return g}};return o=!0,f(l)(s(c))}for(;!o;)i=u(a,r);return i}};return t(lr.value)},Zre={map:Yre};var As={foldr:function(e){return function(t){var n=function(){var a=function(o){return function(i){var u=o,l=!1,c;function s(f,d){if(d instanceof lr)return l=!0,f;if(d instanceof on){u=new on(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(;!l;)c=s(u,i);return c}};return a(lr.value)}(),r=Yn(As)(Jt(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 u(l,c){if(c instanceof lr)return o=!0,l;if(c instanceof on){a=e(l)(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=u(a,r);return i}};return t},foldMap:function(e){var t=ze(e.Semigroup0()),n=Xt(e);return function(r){return Yn(As)(function(a){var o=t(a);return function(i){return o(r(i))}})(n)}}};var Qre=Xn(As);var jw={append:function(e){return function(t){return Qre(on.create)(t)(e)}}},z9=ze(jw);var Nw={append:function(e){return function(t){return new lc(e.value0,z9(e.value1)(Xre(t)))}}};var Kre={alt:z9,Functor0:function(){return Zre}},G9=function(){return{empty:lr.value,Alt0:function(){return Kre}}}();var c_=function(e){return Xn(e)(on.create)(lr.value)};var J9=function(e){return e()};var X9=function(e){throw new Error(e)};var Y9=function(){return X9};var rae=Y9(),aae=J9,Ps=function(e){return aae(function(){return rae(e)})};var kw=function(){var e=l_(G9);return function(t){return Pw(e(t))}}();var Q9=function(e){return e.value0};var Id=function(e){return e.length};var K9=function(e){return function(t){return function(n){return function(r){var a=r.indexOf(n);return a===-1?t:e(a)}}}};var Ow=function(e){return function(t){return{before:t.substring(0,e),after:t.substring(e)}}};var so=function(e){return function(t){var n=Ow(Id(e))(t),r=n.before===e;return r?new j(n.after):H.value}};var aS=function(){return K9(j.create)(H.value)}();var f_=function(e){var t=aS(e);return function(n){return xr(t(n))}};var cae=Ae(sa),sae=Ae(hn);var d_=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),iS=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}(),fae=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}(),dae=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}(),Kr=De,Ld=De;var pv=function(e){if(e instanceof d_)return e.value0;if(e instanceof fae)return"Error at array index "+(sae(e.value0)+(": "+pv(e.value1)));if(e instanceof dae)return"Error at property "+(cae(e.value0)+(": "+pv(e.value1)));if(e instanceof iS)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 p_=function(e){var t=Ar(H9(e));return function(n){return t(kw(n))}};var m_=function(e){var t=oe(Md(e)),n=p_(e);return function(r){return function(a){if(r_(a)===r)return t(Ld(a));if(lt)return n(new iS(r,r_(a)));throw new Error("Failed pattern match at Foreign (line 123, column 1 - line 123, column 104): "+[r.constructor.name,a.constructor.name])}}};function uS(e){return function(){var t={};for(var n in e)hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}}var v_={};function mv(e){return e()}function lS(e,t,n,r){return n in r?t(r[n]):e}function Hw(e){return function(t){var n=[];for(var r in t)hasOwnProperty.call(t,r)&&n.push(e(r)(t[r]));return n}}var pae=Object.keys||Hw(function(e){return function(){return e}});var h_=function(){return{}};function vv(e){return function(t){return function(n){return function(){return n[e]=t,n}}}}var gae=En(qm);var yae=Wn(md);var Dae=uS,Bw=function(e){return function(t){return mv(gae(vv(e)(t))(h_))}};var bae=function(e){return function(t){return mv(function(){var r=Dae(t)();return e(r)(),r})}};var _v=function(){return wd(lS)(H.value)(j.create)}();var dS=function(e){return function(t){return bae(vv(e)(t))}};var Ww=function(){return De};var pS=function(e){var t=ww(e);return function(n){return mv(function(){var a=h_();return H1(t(n))(function(o){return yae(vv(o.value0)(o.value1)(a))})(),a})}};var mS=_d(Ir),wae=Yu(mS),Cae=S9(iv),Rae=Ae(hn),xae=Z1(Gr),ko=function(){function e(){}return e.value=new e,e}(),Ti=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),On={validateJsRecord:function(e){return ko.value}},zw={validateForeignType:function(e){return ko.value}};var __=function(e){return function(t){return function(n){var r=t(n);return r?ko.value:new Ti({path:"",got:n,expected:e})}}};var qr={validateForeignType:__("Boolean")(gF)},vS={validateForeignType:__("Function")(DF)};var hS={validateForeignType:__("Int")(Ts(mS)(_F)(function(e){return xr(lv(Ld(e)))}))};var ut={validateForeignType:__("String")(hF)},_S=function(e){return e.validateJsRecord},Fa=function(){return function(e){var t=_S(e);return{validateForeignType:function(n){if(yF(n))return t(n);if(lt)return new Ti({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])}}}},gv=function(e){return e.validateForeignType},nl=function(e){var t=gv(e);return{validateForeignType:function(n){if(wae(o_)(n))return new Ti({path:"",expected:"Array",got:n});if(lt){var r=function(o){return function(i){var u=t(i);if(u instanceof ko)return H.value;if(u instanceof Ti)return new j({idx:o,invalid:u.value0});throw new Error("Failed pattern match at Elmish.Foreign (line 186, column 29 - line 188, column 51): "+[u.constructor.name])}},a=Cae(r)(Ld(n));if(a instanceof H)return ko.value;if(a instanceof j)return new Ti({expected:a.value0.invalid.expected,got:a.value0.invalid.got,path:"["+(Rae(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])}}},Ei=function(e){var t=gv(e);return{validateForeignType:function(n){if(a_(n)||Ed(n))return ko.value;if(lt){var r=t(n);if(r instanceof ko)return ko.value;if(r instanceof Ti)return new Ti({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 Pe=function(e){var t=Cr(e);return function(n){var r=gv(n);return function(a){var o=_S(a);return{validateJsRecord:function(i){var u=t(Mn.value),l=Lo(u)(Ld(i)),c=r(l);if(c instanceof Ti)return new Ti({expected:c.value0.expected,got:c.value0.got,path:"."+(u+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])}}}}},rl=function(e){var t=gv(e);return function(n){var r=t(n);if(r instanceof ko)return new Be(Ld(n));if(r instanceof Ti)return new Ue(xae([r.value0.path,function(){var a=r.value0.path==="";return a?"Expected ":": expected "}(),r.value0.expected," but got: ",zm(r.value0.got)]));throw new Error("Failed pattern match at Elmish.Foreign (line 255, column 18 - line 263, column 6): "+[r.constructor.name])}},al=function(e){var t=rl(e);return function(n){return ru(t(n))}};var Tae={info:"info",warning:"warn",error:"error"},js=e=>t=>n=>r=>{let a=Tae[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()},gS=(e,t)=>(t.__sentryFingerprint=e,t);var yS=function(e){return lu(gS)(e)};var Ad="error";var g_={parseOrPanic:function(e){return function(t){var n=e.parse(t);if(n instanceof Be)return n.value0;if(n instanceof Ue)return js(Ad)("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])}}},cc=function(e){return e.parseOrPanic},Eae=cc(g_),du=function(e){var t=cc(e);return function(n){var r=re(n);return function(a){return t({parse:function(o){return r(j.create)(a.parse(o))},default:H.value,diagnosticName:a.diagnosticName})}}},Fae=du(g_)(fa),DS=function(e){var t=rl(e);return function(n){return Fae({parse:t,diagnosticName:n})}},fo={parseOrPanic:function(e){return Eae({default:e.default,diagnosticName:e.diagnosticName,parse:function(){var t=jt(new Ue(""))(Be.create);return function(n){return t(e.parse(n))}}()})}};var y_=oe(_n),Ns=function(){function e(){}return e.value=new e,e}(),ks=function(){function e(){}return e.value=new e,e}(),yv=function(){function e(){}return e.value=new e,e}(),Dv=function(){function e(){}return e.value=new e,e}();var bS={eq:function(e){return function(t){return e instanceof Ns&&t instanceof Ns||e instanceof ks&&t instanceof ks||e instanceof yv&&t instanceof yv||e instanceof Dv&&t instanceof Dv}}},wS=Rr,Pd=ut,Sae=du(fo)(Ze)({parse:function(e){return e==="accepted"?y_(Ns.value):e==="pending"?y_(ks.value):e==="rejected"?y_(yv.value):e==="removed"?y_(Dv.value):H.value},diagnosticName:"CounselorConnection.Status"}),jd=function(e){return{email:e.email,hasLetterGenerated:e.hasLetterGenerated,hasCompleteBragSheet:e.hasCompleteBragSheet,connectionSlug:Dt(e.connectionSlug),fullName:Dt(e.fullName),status:Sae(e.status)}};var D_=function(e){return function(){console.error(e)}};var SS=function(e){var t=Ft(e);return function(n){return t(D_(n))}};Nt();var MS=function(){let e={};return function(t,n){let r=e[t]||(e[t]=AS(t));return n(r)}}();function IS(e){return e(AS())}var LS=Ct.createElement,xv=e=>()=>e.props.def;function AS(e){class t extends Ct.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 C_=typeof module=="undefined"?void 0:module.require,jXe=function(){try{return C_===void 0?void 0:C_("util")}catch{return}}();var NXe=function(){var e;if(typeof performance!="undefined")e=performance;else if(C_)try{e=C_("perf_hooks").performance}catch{}return function(){return(e||Date).now()}}();var za=function(){var e={},t="Pure",n="Throw",r="Catch",a="Sync",o="Async",i="Bind",u="Bracket",l="Fork",c="Sequential",s="Map",f="Apply",d="Alt",p="Cons",v="Resume",b="Release",g="Finalizer",D="Finalized",C="Forked",S="Fiber",I="Thunk";function A(B,X,K,L){this.tag=B,this._1=X,this._2=K,this._3=L}function T(B){var X=function(K,L,Y){return new A(B,K,L,Y)};return X.tag=B,X}function P(B){return new A(t,void 0)}function q(B){try{B()}catch(X){setTimeout(function(){throw X},0)}}function V(B,X,K){try{return X(K())}catch(L){return B(L)}}function Z(B,X,K){try{return X(K)()}catch(L){return K(B(L))(),P}}var W=function(){var B=1024,X=0,K=0,L=new Array(B),Y=!1;function O(){var le;for(Y=!0;X!==0;)X--,le=L[K],L[K]=void 0,K=(K+1)%B,le();Y=!1}return{isDraining:function(){return Y},enqueue:function(le){var ie,pe;X===B&&(pe=Y,O(),Y=pe),L[(K+X)%B]=le,X++,Y||O()}}}();function ee(B){var X={},K=0,L=0;return{register:function(Y){var O=K++;Y.onComplete({rethrow:!0,handler:function(le){return function(){L--,delete X[O]}}})(),X[O]=Y,L++},isEmpty:function(){return L===0},killAll:function(Y,O){return function(){if(L===0)return O();var le=0,ie={};function pe(ce){ie[ce]=X[ce].kill(Y,function(Me){return function(){delete ie[ce],le--,B.isLeft(Me)&&B.fromLeft(Me)&&setTimeout(function(){throw B.fromLeft(Me)},0),le===0&&O()}})()}for(var _e in X)X.hasOwnProperty(_e)&&(le++,pe(_e));return X={},K=0,L=0,function(ce){return new A(a,function(){for(var Me in ie)ie.hasOwnProperty(Me)&&ie[Me]()})}}}}}var J=0,Q=1,ue=2,G=3,ne=4,de=5,Ce=6;function Fe(B,X,K){var L=0,Y=J,O=K,le=null,ie=null,pe=null,_e=null,ce=null,Me=0,Re=0,Ve=null,Se=!0;function Je(Xe){for(var He,xe,nt;;)switch(He=null,xe=null,nt=null,Y){case ue:Y=Q;try{O=pe(O),_e===null?pe=null:(pe=_e._1,_e=_e._2)}catch(ae){Y=de,le=B.left(ae),O=null}break;case G:B.isLeft(O)?(Y=de,le=O,O=null):pe===null?Y=de:(Y=ue,O=B.fromRight(O));break;case Q:switch(O.tag){case i:pe&&(_e=new A(p,pe,_e)),pe=O._2,Y=Q,O=O._1;break;case t:pe===null?(Y=de,O=B.right(O._1)):(Y=ue,O=O._1);break;case a:Y=G,O=V(B.left,B.right,O._1);break;case o:Y=ne,O=Z(B.left,O._1,function(ae){return function(){L===Xe&&(L++,W.enqueue(function(){L===Xe+1&&(Y=G,O=ae,Je(L))}))}});return;case n:Y=de,le=B.left(O._1),O=null;break;case r:pe===null?ce=new A(p,O,ce,ie):ce=new A(p,O,new A(p,new A(v,pe,_e),ce,ie),ie),pe=null,_e=null,Y=Q,O=O._1;break;case u:Me++,pe===null?ce=new A(p,O,ce,ie):ce=new A(p,O,new A(p,new A(v,pe,_e),ce,ie),ie),pe=null,_e=null,Y=Q,O=O._1;break;case l:Y=G,He=Fe(B,X,O._2),X&&X.register(He),O._1&&He.run(),O=B.right(He);break;case c:Y=Q,O=F(B,X,O._1);break}break;case de:if(pe=null,_e=null,ce===null)Y=Ce,O=ie||le||O;else switch(He=ce._3,nt=ce._1,ce=ce._2,nt.tag){case r:ie&&ie!==He&&Me===0?Y=de:le&&(Y=Q,O=nt._2(B.fromLeft(le)),le=null);break;case v:ie&&ie!==He&&Me===0||le?Y=de:(pe=nt._1,_e=nt._2,Y=ue,O=B.fromRight(O));break;case u:Me--,le===null&&(xe=B.fromRight(O),ce=new A(p,new A(b,nt._2,xe),ce,He),(ie===He||Me>0)&&(Y=Q,O=nt._3(xe)));break;case b:ce=new A(p,new A(D,O,le),ce,ie),Y=Q,ie&&ie!==He&&Me===0?O=nt._1.killed(B.fromLeft(ie))(nt._2):le?O=nt._1.failed(B.fromLeft(le))(nt._2):O=nt._1.completed(B.fromRight(O))(nt._2),le=null,Me++;break;case g:Me++,ce=new A(p,new A(D,O,le),ce,ie),Y=Q,O=nt._1;break;case D:Me--,Y=de,O=nt._1,le=nt._2;break}break;case Ce:for(var rn in Ve)Ve.hasOwnProperty(rn)&&(Se=Se&&Ve[rn].rethrow,q(Ve[rn].handler(O)));Ve=null,ie&&le?setTimeout(function(){throw B.fromLeft(le)},0):B.isLeft(O)&&Se&&setTimeout(function(){if(Se)throw B.fromLeft(O)},0);return;case J:Y=Q;break;case ne:return}}function it(Xe){return function(){if(Y===Ce)return Se=Se&&Xe.rethrow,Xe.handler(O)(),function(){};var He=Re++;return Ve=Ve||{},Ve[He]=Xe,function(){Ve!==null&&delete Ve[He]}}}function Le(Xe,He){return function(){if(Y===Ce)return He(B.right(void 0))(),function(){};var xe=it({rethrow:!1,handler:function(){return He(B.right(void 0))}})();switch(Y){case J:ie=B.left(Xe),Y=Ce,O=ie,Je(L);break;case ne:ie===null&&(ie=B.left(Xe)),Me===0&&(Y===ne&&(ce=new A(p,new A(g,O(Xe)),ce,ie)),Y=de,O=null,le=null,Je(++L));break;default:ie===null&&(ie=B.left(Xe)),Me===0&&(Y=de,O=null,le=null)}return xe}}function ft(Xe){return function(){var He=it({rethrow:!1,handler:Xe})();return Y===J&&Je(L),He}}return{kill:Le,join:ft,onComplete:it,isSuspended:function(){return Y===J},run:function(){Y===J&&(W.isDraining()?Je(L):W.enqueue(function(){Je(L)}))}}}function N(B,X,K,L){var Y=0,O={},le=0,ie={},pe=new Error("[ParAff] Early exit"),_e=null,ce=e;function Me(it,Le,ft){var Xe=Le,He=null,xe=null,nt=0,rn={},ae,he;e:for(;;)switch(ae=null,Xe.tag){case C:if(Xe._3===e&&(ae=O[Xe._1],rn[nt++]=ae.kill(it,function(dt){return function(){nt--,nt===0&&ft(dt)()}})),He===null)break e;Xe=He._2,xe===null?He=null:(He=xe._1,xe=xe._2);break;case s:Xe=Xe._2;break;case f:case d:He&&(xe=new A(p,He,xe)),He=Xe,Xe=Xe._1;break}if(nt===0)ft(B.right(void 0))();else for(he=0,ae=nt;het[e],KS=(e,t,n)=>n[e]=t;var zs=function(t){return function(n){return t(n)()}};var Ud=function(t){return function(n){return function(){return t(n)}}},dc=function(t){return function(n){return function(r){return function(){return t(n,r)}}}},Gs=function(t){return function(n){return function(r){return function(a){return function(){return t(n,r,a)}}}}};var voe=zt(bt),Sv=function(){function e(){}return e.value=new e,e}(),nM=function(){return function(e){var t=Cr(e);return function(n){return Gs(KS)(t(Mn.value))}}},Qw=function(e){var t=al(e);return function(n){var r=Cr(n);return function(a){return function(o){return voe(function(){return QS(r(Mn.value),o)})(t)}}}};Nt();var mo=window.ReactDOM,{createPortal:aet,findDOMNode:oet,flushSync:iet}=window.ReactDOM;var y3=Vt($M());function VM(e){return e.state&&e.state.s}function JM(e,t,n){return e.setState({s:t},n)}function XM(e,t){return e.state={s:t}}var YM=mo.render,ZM=mo.hydrate,D3=y3.default&&y3.default.renderToString||(e=>""),$oe=mo.unmountComponentAtNode,QM=Ct.Fragment;function KM(e,t,n){return Ct.createElement.apply(null,[e,Voe(e,t)].concat(n))}function Voe(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 ot={asReactChildren:function(e){return[e]}},kt={asReactChildren:function(e){return[e]}},St={asReactChildren:Ge(qe)};var gn=De,b3=Gs(JM),eI=dc(YM),tI=dc(ZM),nI=Ud(VM),ln=!1;var rI=dc(XM),aI=function(e){return e.asReactChildren},ll=function(){return function(e){var t=aI(e);return function(n){return function(r){return function(a){return KM(n,r,t(a))}}}}},oI=ll()(St),vc=function(){return function(e){return function(t){return oI(e)(t)([])}}},nn=oI(QM)({});var w3=re(bt),Joe=oe(Yt),iI=function(e){return{initialize:function(t){return rI(t)(e.initialState)},getState:function(t){return function(){var r=w3(Dt)(nI(t))();return at(e.initialState)(r)}},setState:b3}},uI=function(){var e=function(t){return function(n){return{initialize:function(r){return Xu(new j(n.initialState))(t)},getState:function(r){return w3(at(n.initialState))(Ju(t))},setState:function(r){return function(a){return function(o){return function(){return Xu(new j(a))(t)(),b3(r)(a)(Joe(ge))(),o()}}}}}}};return w3(e)(ac(H.value))}();var lI=zt(en),cI=ze(mr);var Xoe=oe(Yt),sI=nM(),fI={reflectSymbol:function(){return"__unmounted"}},Yoe=sI(fI),dI={reflectSymbol:function(){return"__subscriptions"}},Zoe=sI(dI),H_=zt(bt),Qoe=Qw(qr)(fI),pI=re(bt),Koe=Qw(nl(vS))(dI),eie=Tn(an),tie=En(ir),nie=dw(Yt)(Lt),rie=eie(cr),mI=Ft(fu),aie=LF(Vu),oie=ze(z4(U1(Um))),vI=function(e){return e},Js=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}(),iie={map:function(e){return function(t){return new Js(e(t.value0),t.value1)}}},hI=function(e){return{bimap:function(t){return function(n){return function(r){return new Js(n(r.value0),lI(r.value1)(function(a){return function(o){return a({dispatch:function(i){return o.dispatch(t(i))},onStop:o.onStop})}}))}}}}},_I={apply:function(e){return function(t){return new Js(e.value0(t.value0),cI(e.value1)(t.value1))}},Functor0:function(){return iie}},Uo={bind:function(e){return function(t){var n=t(e.value0);return new Js(n.value0,cI(e.value1)(n.value1))}},Apply0:function(){return _I}},hr={pure:function(e){return new Js(e,[])},Apply0:function(){return _I}};var uie=function(e){var t=me(e);return function(n){var r=Ft(n);return function(a){return function(o){return new Js(a,lI(o)(function(i){return function(u){return t(i)(function(l){return r(u.dispatch(l))})}}))}}}};var Xs=function(e){return new Js(ge,[e])},Ii=function(e){return Xs(et(e))},B_=function(e){var t=me(e.Monad0().Bind1()),n=Ft(e);return function(r){return Xs(function(a){return t(r)(function(o){return n(jt(Xoe(ge))(a.dispatch)(o))})})}},Ys=function(e){var t=uie(e.Monad0().Bind1())(e);return function(n){return t(ge)([n])}},gI=function(e){return function(t){var n=Yoe(Sv.value),r=Zoe(Sv.value),a=function(p){return function(v){return function(b){return function(){var D=H_(xv(p))(function(C){return C.init})();return t({initialState:D.value0}).setState(p)(v)(b)()}}}},o=function(){var p=pI(at(!1)),v=Qoe(Sv.value);return function(b){return p(v(b))}}(),i=function(){var p=pI(at([])),v=Koe(Sv.value);return function(b){return p(v(b))}}(),u=function(p){return function(){return tie(nie)(i(p))(),r([])(p)()}},l=function(p){return function(){var b=H_(xv(p))(function(g){return g.init})();return t({initialState:b.value0}).getState(p)()}},c=function(p){return function(v){return function(){var g=i(p)();return r(K1(fc(v))(g))(p)()}}},s=function(p){return function(v){var b=function(g){return fc(rie(Od(0))(function(){return g({dispatch:function(){var D=f(v);return function(C){return mI(D(C))}}(),onStop:c(v)})}))};return X4(p)(b)}},f=function(p){return function(v){return aie(o(p))(function(){var g=l(p)(),D=H_(xv(p))(function(S){return S.update})(),C=D(g)(v);return a(p)(C.value0)(s(C.value1)(p))()})}},d=function(p){return function(){var b=l(p)(),g=H_(xv(p))(function(D){return D.view})();return g(b)(f(p))}};return function(p){return LS(e,{def:p,init:t({initialState:p.init.value0}).initialize,render:d,componentDidMount:s(p.init.value1),componentWillUnmount:oie(n(!0))(u)})}}},yI=function(e){return function(){var n=mI(uI)();return IS(function(r){return gI(r)(n)(e)})}},zd=function(e){return function(t){return MS(e,function(n){var r=gI(n)(iI);return function(a){return r(t(a))}})}};function DI(e){return function(t){return function(){return t.getElementById(e)}}}var lie=re(bt),C3=function(e){var t=lie(Dt),n=DI(e);return function(r){return t(n(r))}};var Pr=function(){return window};var R3=De;var bI=De;var Zs=function(e){var t=oe(e.Applicative0()),n=Ea(e.Plus1());return function(r){if(r)return t(ge);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 At=function(e){return e.toEnum};var Rt=function(e){return e.fromEnum};function Gd(e){return function(){return e.document}}function Li(e){return function(){return e.localStorage}}var CI=De;var pie=oe(Yt),RI=me(ir),mie=re(bt),vie=SS(fu),xI=function(e){var t=function(r){var a=e(r);return D3(a.view(a.init.value0)(et(pie(ge))))},n=function(r){return function(a){return function(o){return function(){var u=RI(RI(Pr)(function(){var c=mie(R3);return function(s){return c(Gd(s))}}()))(C3(a))();if(u instanceof H)return vie("Element #"+(a+" not found"))();if(u instanceof j){var l=yI(e(o))();return r(l)(u.value0)()}throw new Error("Failed pattern match at Elmish.Boot (line 117, column 11 - line 122, column 21): "+[u.constructor.name])}}}};return{mount:n(eI),renderToString:t,hydrate:n(tI)}};var hie=cc(g_),_ie=me(nc),TI=oe(hr),EI=function(e){var t=rl(e);return function(n){return xI(hie({parse:function(r){return _ie(t(r))(function(a){return jt(new Ue("Component construction failed"))(Be.create)(n.def(a))})},diagnosticName:"Props for "+n.diagnosticName,default:{init:TI(ge),update:function(r){return function(a){return TI(ge)}},view:function(r){return function(a){return ln}}}}))}};Nt();var SI=Vt(FI()),mu=typeof CV!="undefined"&&CV.pusherConfig||typeof global!="undefined"&&global.CV&&global.CV.pusherConfig,{acquireConnection:gie,releaseConnection:yie}=(()=>{let e=null,t=0,n=()=>{if(!mu||!mu.key)return mu||console.error("Pusher config is missing in global context"),new Die;let r={auth:{headers:{"X-CSRF-Token":mu.authToken}},authEndpoint:mu.authPath,cluster:mu.cluster};return mu.dev&&Object.assign(r,{wsHost:mu.dev.wsHost,wsPort:mu.dev.wsPort,enabledTransports:["ws"],forceTLS:!1,disableStats:!0}),new SI.default(mu.key,r)};return{acquireConnection:()=>(e||(e=n(),t=0),t++,e),releaseConnection:()=>{--t<=0&&(e.disconnect(),e=null)}}})(),MI=e=>{let t=gie().subscribe(e.channel);return t.bind(e.event,e.handler),()=>{t.unbind(e.event,e.handler),yie()}};function Die(){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 bie(e);return this.channels.push(n),n},this.channelNames=function(){return this.channels.map(e=>e.name)}}function bie(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 II=Xw(Jw);var LI={map:function(e){return function(t){return II(II(e))(t)}}},wie=zt(LI),Cie=function(e){var t=me(e.Monad0().Bind1()),n=Ft(e);return function(r){return Xs(function(a){return t(r(a.dispatch))(function(o){return n(a.onStop(o))})})}},AI=function(e){var t=Cie(e);return function(n){return function(r){return t(wie(r)(n))}}};var Rie=uo(Lt)(Gr),xie=io(Yt)(uu);var Tie={show:function(e){return e}},Eie=Ae(Tie),S3=ut,PI=function(e){var t=DS(e);return function(n){return function(r){return function(a){var o=Rie(["Pusher event ",r," over channel ",Eie(n)]),i=function(u){return xie(t(o)(u))(a)()};return function(){return MI({channel:n,event:r,handler:i})}}}}};var Fie=function(){function e(){}return e.value=new e,e}(),M3=function(){function e(){}return e.value=new e,e}(),Sie=function(){function e(){}return e.value=new e,e}(),Mie=function(){function e(){}return e.value=new e,e}(),jI=function(e){if(e instanceof Fie)return"modal-sm";if(e instanceof M3)return"";if(e instanceof Sie)return"modal-lg";if(e instanceof Mie)return"modal-xl";throw new Error("Failed pattern match at Bootstrap.Modal.Size (line 14, column 13 - line 18, column 27): "+[e.constructor.name])};var oL=Vt(aL()),iL=oL.default;var fue=ll(),uL=function(e){var t=fue(e);return function(){return function(){return t(iL)}}};var hc=function(e){return function(t){return t.split(e)}},Bv=function(e){return e.toLowerCase()};var Ho=function(e){return function(t){return t.join(e)}};var O3=void 0;var lL=De;var X_=De,U3=function(e){return Ed(e)};var cL=function(e){return function(t){var n=U3(t);return n?O3:X_(e(lL(t)))}},Ks=function(e){var t=U3(e);return t?H.value:new j(lL(e))};var Ht=function(e){return function(t){var n=U3(e);return n?t:e}};var ra=function(){return De};var sL=oe(Yt),fL=Qu(),Y_=function(e){return{handleMaybe:function(t){return function(n){return zs(function(){var r=jt(sL(ge))(t);return function(a){return r(fL(n(a)))}}())}}}},Z_=function(e){return{handleMaybe:function(t){return function(n){return function(r){return jt(sL(ge))(t)(fL(n))()}}}}},_c={handle:function(e){return function(t){return function(n){return e(t(n))()}}}},Q_={handleEffect:function(e){return zs(e)}},Ma={handleEffect:function(e){return zs(et(e))}},vu={handle:function(e){return function(t){return function(n){return e(t)()}}}},ef=function(e){return e.handleMaybe},$r=function(e){return e.handleEffect},aa=function(e){return e.handle};function K_(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 $d=function(){return function(){return function(e){return function(t){return K_(e,t)}}}};var dL=vc(),H3=ll(),pL=$d()();var Wv=De,mL=function(e){return function(t){return dL(Wv(e))(t)}},B3=function(e){var t=H3(e);return function(n){return function(r){return t(Wv(n))(r)}}},Ai=function(e){var t=H3(e);return function(n){return function(r){return function(a){return t(Wv(n))(pL(a)({className:r}))}}}},Vd=function(e){return function(t){return function(n){return dL(Wv(e))(pL(n)({className:t}))}}};var Ia=function(e){return function(t){var n=H3(t);return function(r){return function(a){return n(Wv(e))({className:r})(a)}}}};var qt=De;var eg=function(e){var t=Ai(e);return function(){return function(){return t("ul")}}},tg=function(e){return Ia("ul")(e)};var Bo=function(){return function(){return Vd("textarea")}};var ng=function(e){var t=Ai(e);return function(){return function(){return t("svg")}}};var rg=function(e){return Ia("strong")(e)};var jr=function(e){return Ia("span")(e)};var ag=function(e){return Ia("small")(e)};var Wo=function(e){return Ia("p")(e)};var og=function(e){var t=Ai(e);return function(){return function(){return t("li")}}},ig=function(e){return Ia("li")(e)};var hu=function(e){var t=Ai(e);return function(){return function(){return t("label")}}},Jd=function(e){return Ia("label")(e)};var Vr=function(){return function(){return Vd("input")}};var ug=function(){return function(){return Vd("img")}};var lg=function(e){return Ia("i")(e)};var cg=function(e){return Ia("h6")(e)};var sg=function(e){return Ia("h5")(e)};var Xd=function(e){return Ia("h3")(e)};var gc=function(e){return Ia("h2")(e)},fg=function(e){var t=Ai(e);return function(){return function(){return t("h1")}}},dg=function(e){return Ia("h1")(e)},pg=function(e){var t=Ai(e);return function(){return function(){return t("form")}}};var sr=function(e){var t=Ai(e);return function(){return function(){return t("div")}}},wt=function(e){return Ia("div")(e)};var oa=function(e){var t=Ai(e);return function(){return function(){return t("button")}}};var Yd=function(e){var t=Ai(e);return function(){return function(){return t("a")}}};var zv="";function vL(e){var t=e.split(` `);return t.reduce(function(n,r){var a=hue(r)||gue(r)||bue(r)||xue(r)||Cue(r);return a&&n.push(a),n},[])}var mue=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack||\/|[a-z]:\\|\\\\).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,vue=/\((\S*)(?::(\d+))(?::(\d+))\)/;function hue(e){var t=mue.exec(e);if(!t)return null;var n=t[2]&&t[2].indexOf("native")===0,r=t[2]&&t[2].indexOf("eval")===0,a=vue.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]||zv,arguments:n?[t[2]]:[],lineNumber:t[3]?+t[3]:null,column:t[4]?+t[4]:null}}var _ue=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;function gue(e){var t=_ue.exec(e);return t?{file:t[2],methodName:t[1]||zv,arguments:[],lineNumber:+t[3],column:t[4]?+t[4]:null}:null}var yue=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,Due=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function bue(e){var t=yue.exec(e);if(!t)return null;var n=t[3]&&t[3].indexOf(" > eval")>-1,r=Due.exec(t[3]);return n&&r!=null&&(t[3]=r[1],t[4]=r[2],t[5]=null),{file:t[3],methodName:t[1]||zv,arguments:t[2]?t[2].split(","):[],lineNumber:t[4]?+t[4]:null,column:t[5]?+t[5]:null}}var wue=/^\s*(?:([^@]*)(?:\((.*?)\))?@)?(\S.*?):(\d+)(?::(\d+))?\s*$/i;function Cue(e){var t=wue.exec(e);return t?{file:t[3],methodName:t[1]||zv,arguments:[],lineNumber:+t[4],column:t[5]?+t[5]:null}:null}var Rue=/^\s*at (?:((?:\[object object\])?[^\\/]+(?: \[as \S+\])?) )?\(?(.*?):(\d+)(?::(\d+))?\)?\s*$/i;function xue(e){var t=Rue.exec(e);return t?{file:t[2],methodName:t[1]||zv,arguments:[],lineNumber:+t[3],column:t[4]?+t[4]:null}:null}function hL({skipFrames:e,prefix:t}){let n=new Error().stack,a=vL(n)[e],o=_L(a.file.replace(/^(http(s?):\/\/)?[^\/]+/,"")),i=_L(a.methodName);return`${t}_${o}_${i}_${a.lineNumber}_${a.column}`}var _L=e=>e.replace(/[^\d\w]+/g,"_").replace(/(^_|_$)/g,"");var Tue=oe(hr),Eue=Ge(qe),mg=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),Fue={map:function(e){return function(t){return new mg(function(n){return t.value0(function(r){return n(e(r))})})}}},gL=re(Fue);var W3=function(e){return vI(hL(e))},_u=function(e){return new mg(function(t){return t(e)})},Zd=function(e){return function(t){return new mg(function(n){return zd(e)(t)(n)})}},z3=function(e){return function(t){return zd(e)(function(n){return{init:Tue(ge),update:et(Om),view:et(et(t.value0(Eue)))}})(ge)}},yL=function(e){var t=W3({skipFrames:3,prefix:"WithHook"});return function(n){return z3(t)(gL(n)(e))}},Gv=function(e){var t=W3({skipFrames:3,prefix:"WithHookCurried"});return function(n){return z3(t)(gL(Vm(n))(e))}},yc=function(e){var t=W3({skipFrames:3,prefix:"HooksComponent"});return z3(t)(e)},Pi=function(){return function(e){return function(t){return new mg(function(n){return e.value0(function(r){var a=t(r);return a.value0(n)})})}}},Sue=Pi(),Qd=function(e){return function(){return Sue}};var DL=Tn(an)(Uo),Mue=AI(pn),Iue=Ge(qe),bL=oe(hr),wL=function(e){return function(t){return Zd("UseSubscription")(function(n){return{init:DL(Mue(Iue)(e))(function(){return bL(ge)}),update:function(r){return function(a){return DL(Ii(t(a)))(function(){return bL(ge)})}},view:function(r){return function(a){return n(ge)}}}})}};function G3(e){return function(){return function(t){return e(t)()}}}function q3(e){return function(t){return function(n){return function(r){return function(){return r.addEventListener(e,t,n)}}}}}function $3(e){return function(t){return function(n){return function(r){return function(){return r.removeEventListener(e,t,n)}}}}}var CL="message";var RL="hashchange";var xL="popstate";var TL="keyup",EL="keydown";var FL="mouseup";var SL="mousemove";var ML=Ft(pn),IL=re(bt),Lue=En(ir),LL=function(){var e=function(r){return function(a){return function(o){return ML(function(){var u=a(),l=G3(function(c){return o(c)})();return q3(r)(l)(!1)(u)(),ML($3(r)(l)(!1)(u))})}}},t=function(r){return e(r)(IL(CI)(Pr))},n=function(r){return e(r)(IL(bI)(Lue(Gd)(Pr)))};return{hashchange:t(RL),mousemove:t(SL),mouseup:t(FL),popstate:t(xL),resize:t("resize"),message:t(CL),keydown:n(EL),keyup:n(TL),selectionchange:n("selectionchange"),visibilitychange:n("visibilitychange")}}();var AL=function(e){var t=B3(e);return function(){return function(){return t("button")}}},PL=function(){return function(){return mL("br")}};var jL=function(e){var t=B3(e);return function(){return function(){return t("a")}}};var NL=$d()(),Tfe=function(e){return e},qv=Kr(Rs),vg=function(e){var t=AL(e)()();return function(){return function(){return function(n){return function(r){return function(a){return function(o){return t(NL(a)({className:n,"aria-label":r}))(o)}}}}}}};var kL=function(e){return Tfe(Kr(e))},OL=function(e){var t=jL(e)()();return function(){return function(){return function(n){return function(r){return function(a){return function(o){return t(NL(a)({className:n,"aria-label":r}))(o)}}}}}}};var r7t=typeof Array.from=="function",a7t=typeof Symbol!="undefined"&&Symbol!=null&&typeof Symbol.iterator!="undefined"&&typeof String.prototype[Symbol.iterator]=="function",o7t=typeof String.prototype.fromCodePoint=="function",i7t=typeof String.prototype.codePointAt=="function";var _g=function(e){return function(t){return function(){return t[e]}}},Lfe=_g("children"),Afe=_g("firstElementChild"),Pfe=_g("lastElementChild"),jfe=_g("childElementCount");var kfe=re(en);var Ofe=PL()();var GL=at(ln),gu=Jt(jt(ln));var Ufe=function(e){return function(t){if(e)return ln;if(lt)return t(ge);throw new Error("Failed pattern match at Utils.HTML (line 111, column 1 - line 111, column 65): "+[e.constructor.name,t.constructor.name])}},qL=function(e){return function(t){return Ufe(e)(et(t))}};var Hfe=function(e){return function(t){if(e)return t(ge);if(lt)return ln;throw new Error("Failed pattern match at Utils.HTML (line 98, column 1 - line 98, column 61): "+[e.constructor.name,t.constructor.name])}},sl=function(e){return function(t){return Hfe(e)(et(t))}};var $L=function(e){return nn(Dw(Ofe({}))(kfe(gn)(hc(` `)(e))))};var gg=function(){return De};var Kd=wt(kt),V3=ra(),Bfe=uL(kt)()(),Wfe=sr(kt)()(),zfe=sr(St)()(),Gfe=wt(St),qfe=vg(ot)()(),$fe=$r(Ma),Vfe=or(Tr),Jfe=Ft(pn),VL=gg(),Xv=function(){return function(e){var t=Kd("modal-backdrop fade show")(ln),n=V3(e),r=Ks(n.footer),a=Ks(n.header),o=Ht(n.size)(M3.value),i=Ho(" ")([function(){var l=Ht(n.scrollable)(!0);return l?"modal-dialog-scrollable":""}(),function(){var l=Ht(n.centered)(!0);return l?"modal-dialog-centered":""}(),jI(o),Ht(n.dialogClass)("")]),u=Bfe({focusTrapOptions:{escapeDeactivates:!1,fallbackFocus:".modal-content",allowOutsideClick:!0}})(Kd("modal fade show d-block")(Wfe("modal-dialog "+i)({style:Ht(n.dialogStyle)(qt({}))})(zfe("modal-content "+Ht(n.contentClass)(""))({style:Ht(n.contentStyle)(qt({}))})([gu(a)(Kd("modal-header "+Ht(n.headerClass)(""))),Kd("modal-body "+Ht(n.bodyClass)(""))(n.body),gu(r)(Kd("modal-footer "+Ht(n.footerClass)("")))]))));return nn([u,t])}},JL=Xv(),Dc=function(){return function(e){var t=V3(e),n=Gfe("d-flex w-100 justify-content-between align-items-center")([Kd("mr-4")(Ht(t.title)(ln)),qfe("btn btn-link large mr-n3 py-0 fe fe-x t--close "+Ht(t.dismissButtonClass)("text-body"))(kL("Close"))({type:"button",onClick:$fe(t.onDismiss)})("")]),r=function(a){return Vfe(a.key==="Escape")(Jfe(t.onDismiss))};return yL(wL(LL.keyup)(r))(function(a){var o=Ht(t.bodyScrollable)(!1);return JL(o?function(){var i=V3(VL(t));return{body:i.body,bodyClass:i.bodyClass,centered:i.centered,contentClass:i.contentClass,contentStyle:i.contentStyle,dialogClass:i.dialogClass,dialogStyle:i.dialogStyle,footer:i.footer,footerClass:i.footerClass,headerClass:i.headerClass,scrollable:i.scrollable,size:i.size,header:n}}():VL({bodyClass:t.bodyClass,bodyScrollable:t.bodyScrollable,centered:t.centered,contentClass:t.contentClass,contentStyle:t.contentStyle,dialogClass:t.dialogClass,dialogStyle:t.dialogStyle,dismissButtonClass:t.dismissButtonClass,footer:t.footer,footerClass:t.footerClass,headerClass:t.headerClass,onDismiss:t.onDismiss,scrollable:t.scrollable,size:t.size,title:t.title,body:nn([n,t.body])}))})}};var XL=function(){return function(){return Vd("circle")}};var J3=XL()(),X3=ng(St)()()("")({style:qt({height:40,width:40})})([J3("blink")({cx:10,cy:20,r:3,style:qt({fill:"grey"})}),J3("blink")({cx:20,cy:20,r:3,style:qt({fill:"grey",animationDelay:"250ms"})}),J3("blink")({cx:30,cy:20,r:3,style:qt({fill:"grey",animationDelay:"500ms"})})]);Nt();function Y3(e,t){if(e==null)return{};var n={},r=Object.keys(e),a,o;for(o=0;o=0)&&(n[a]=e[a]);return n}function Er(e,t){if(e==null)return{};var n=Y3(e,t),r,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(n[r]=e[r]))}return n}function Ye(){return Ye=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);npe)&&(Le=(xe=xe.replace(" ",":")).length),0K&&(K=(B=B.trim()).charCodeAt(0)),K){case 38:return B.replace(D,"$1"+F.trim());case 58:return F.trim()+B.replace(D,"$1"+F.trim());default:if(0<1*X&&0O.charCodeAt(8))break;case 115:L=L.replace(O,"-webkit-"+O)+";"+L;break;case 207:case 102:L=L.replace(O,"-webkit-"+(102X.charCodeAt(0)&&(X=X.trim()),N=X,X=[N],0=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)}var KL=ide;var ude={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},eA=ude;function lde(e){var t={};return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var tA=lde;var cde=/[A-Z]|^ms/g,sde=/_EMO_([^_]+?)_([^]*?)_EMO_/g,nA=function(t){return t.charCodeAt(1)===45},rA=function(t){return t!=null&&typeof t!="boolean"},uC=tA(function(e){return nA(e)?e:e.replace(cde,"-$&").toLowerCase()}),aA=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(sde,function(r,a,o){return yu={name:a,styles:o,next:yu},a})}return eA[t]!==1&&!nA(t)&&typeof n=="number"&&n!==0?n+"px":n};function Zv(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 yu={name:n.name,styles:n.styles,next:yu},n.name;if(n.styles!==void 0){var a=n.next;if(a!==void 0)for(;a!==void 0;)yu={name:a.name,styles:a.styles,next:yu},a=a.next;var o=n.styles+";";return o}return fde(e,t,n)}case"function":{if(e!==void 0){var i=yu,u=n(e);return yu=i,Zv(e,t,u,r)}break}case"string":if(!1)var l,c;break}if(t==null)return n;var s=t[n];return s!==void 0&&!r?s:n}function fde(e,t,n){var r="";if(Array.isArray(n))for(var a=0;a-1}function DN(e){return ky(e)?window.pageYOffset:e.scrollTop}function Oy(e,t){if(ky(e)){window.scrollTo(0,t);return}e.scrollTop=t}function bme(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 wme(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function Uy(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:CR,a=DN(e),o=t-a,i=10,u=0;function l(){u+=i;var c=wme(u,a,o,n);Oy(e,c),un.bottom?Oy(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+a,e.scrollHeight)):r.top-a=b)return{placement:"bottom",maxHeight:t};if(Z>=b&&!i)return o&&Uy(c,W,J),{placement:"bottom",maxHeight:t};if(!i&&Z>=r||i&&q>=r){o&&Uy(c,W,J);var Q=i?q-A:Z-A;return{placement:"bottom",maxHeight:Q}}if(a==="auto"||i){var ue=t,G=i?P:V;return G>=r&&(ue=Math.min(G-A-l.controlHeight,t)),{placement:"top",maxHeight:ue}}if(a==="bottom")return Oy(c,W),{placement:"bottom",maxHeight:t};break;case"top":if(P>=b)return{placement:"top",maxHeight:t};if(V>=b&&!i)return o&&Uy(c,ee,J),{placement:"top",maxHeight:t};if(!i&&V>=r||i&&P>=r){var ne=t;return(!i&&V>=r||i&&P>=r)&&(ne=i?P-T:V-T),o&&Uy(c,ee,J),{placement:"top",maxHeight:ne}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(a,'".'))}return s}function Tme(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var xR=function(t){return t==="auto"?"bottom":t},TN=function(t){var n,r=t.placement,a=t.theme,o=a.borderRadius,i=a.spacing,u=a.colors;return n={label:"menu"},Zt(n,Tme(r),"100%"),Zt(n,"backgroundColor",u.neutral0),Zt(n,"borderRadius",o),Zt(n,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),Zt(n,"marginBottom",i.menuGutter),Zt(n,"marginTop",i.menuGutter),Zt(n,"position","absolute"),Zt(n,"width","100%"),Zt(n,"zIndex",1),n},EN=(0,Q0.createContext)({getPortalPlacement:null}),TR=function(e){er(n,e);var t=xN(n);function n(){var r;Qn(this,n);for(var a=arguments.length,o=new Array(a),i=0;i-1}};var rve={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;"},ave=function(t){return _t("span",Ye({css:rve},t))};function ove(e){var t=e.in,n=e.out,r=e.onExited,a=e.appear,o=e.enter,i=e.exit,u=e.innerRef,l=e.emotion,c=Er(e,["in","out","onExited","appear","enter","exit","innerRef","emotion"]);return _t("input",Ye({ref:u},c,{css:nf({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 ive(e){var t=uve();return function(){var r=yn(e),a;if(t){var o=yn(this).constructor;a=Reflect.construct(r,arguments,o)}else a=r.apply(this,arguments);return Jr(this,a)}}function uve(){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 yk=function(e){er(n,e);var t=ive(n);function n(){return Qn(this,n),t.apply(this,arguments)}return Kn(n,[{key:"componentDidMount",value:function(){this.props.innerRef((0,mk.findDOMNode)(this))}},{key:"componentWillUnmount",value:function(){this.props.innerRef(null)}},{key:"render",value:function(){return this.props.children}}]),n}(Bt.Component),Dk=["boxSizing","height","overflow","paddingRight","position"],bk={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function wk(e){e.preventDefault()}function Ck(e){e.stopPropagation()}function Rk(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;e===0?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function xk(){return"ontouchstart"in window||navigator.maxTouchPoints}function lve(e){var t=cve();return function(){var r=yn(e),a;if(t){var o=yn(this).constructor;a=Reflect.construct(r,arguments,o)}else a=r.apply(this,arguments);return Jr(this,a)}}function cve(){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 Tk=!!(window.document&&window.document.createElement),K0=0,Ek=function(e){er(n,e);var t=lve(n);function n(){var r;Qn(this,n);for(var a=arguments.length,o=new Array(a),i=0;i0,I=g-D-b,A=!1;I>l&&r.isBottom&&(f&&f(u),r.isBottom=!1),S&&r.isTop&&(p&&p(u),r.isTop=!1),S&&l>I?(s&&!r.isBottom&&s(u),C.scrollTop=g,A=!0,r.isBottom=!0):!S&&-l>b&&(d&&!r.isTop&&d(u),C.scrollTop=0,A=!0,r.isTop=!0),A&&r.cancelScroll(u)},r.onWheel=function(u){r.handleEventDelta(u,u.deltaY)},r.onTouchStart=function(u){r.touchStart=u.changedTouches[0].clientY},r.onTouchMove=function(u){var l=r.touchStart-u.changedTouches[0].clientY;r.handleEventDelta(u,l)},r.getScrollTarget=function(u){r.scrollTarget=u},r}return Kn(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 Bt.default.createElement(yk,{innerRef:this.getScrollTarget},this.props.children)}}]),n}(Bt.Component);function _ve(e){var t=e.isEnabled,n=t===void 0?!0:t,r=Er(e,["isEnabled"]);return n?Bt.default.createElement(hve,r):r.children}var gve=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,u=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(u?", 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"}},yve=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.")}},Dve=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,".")},bve=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,".")},wve=function(t){var n=t.inputValue,r=t.screenReaderMessage;return"".concat(r).concat(n?" for search term "+n:"",".")},Cve=function(t){return t.label},Rve=function(t){return t.label},xve=function(t){return t.value},Fk=function(t){return!!t.isDisabled};var Tve={clearIndicator:$N,container:ON,control:YN,dropdownIndicator:qN,group:QN,groupHeading:KN,indicatorsContainer:HN,indicatorSeparator:VN,input:tk,loadingIndicator:JN,loadingMessage:IN,menu:TN,menuList:FN,menuPortal:PN,multiValue:rk,multiValueLabel:ak,multiValueRemove:ok,noOptionsMessage:MN,option:lk,placeholder:ck,singleValue:sk,valueContainer:UN};var Eve={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%)"},Fve=4,Sk=4,Sve=38,Mve=Sk*2,Ive={baseUnit:Sk,controlHeight:Sve,menuGutter:Mve},LR={borderRadius:Fve,colors:Eve,spacing:Ive};function Mk(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 Np(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(l,{action:c,option:s})},a.selectOption=function(l){var c=a.props,s=c.blurInputOnSelect,f=c.isMulti,d=a.state.selectValue;if(f)if(a.isOptionSelected(l,d)){var p=a.getOptionValue(l);a.setValue(d.filter(function(v){return a.getOptionValue(v)!==p}),"deselect-option",l),a.announceAriaLiveSelection({event:"deselect-option",context:{value:a.getOptionLabel(l)}})}else a.isOptionDisabled(l,d)?a.announceAriaLiveSelection({event:"select-option",context:{value:a.getOptionLabel(l),isDisabled:!0}}):(a.setValue([].concat(tf(d),[l]),"select-option",l),a.announceAriaLiveSelection({event:"select-option",context:{value:a.getOptionLabel(l)}}));else a.isOptionDisabled(l,d)?a.announceAriaLiveSelection({event:"select-option",context:{value:a.getOptionLabel(l),isDisabled:!0}}):(a.setValue(l,"select-option"),a.announceAriaLiveSelection({event:"select-option",context:{value:a.getOptionLabel(l)}}));s&&a.blurInput()},a.removeValue=function(l){var c=a.state.selectValue,s=a.getOptionValue(l),f=c.filter(function(d){return a.getOptionValue(d)!==s});a.onChange(f.length?f:null,{action:"remove-value",removedValue:l}),a.announceAriaLiveSelection({event:"remove-value",context:{value:l?a.getOptionLabel(l):""}}),a.focusInput()},a.clearValue=function(){a.onChange(null,{action:"clear"})},a.popValue=function(){var l=a.state.selectValue,c=l[l.length-1],s=l.slice(0,l.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 l=arguments.length,c=new Array(l),s=0;sp||d>p}},a.onTouchEnd=function(l){a.userIsDragging||(a.controlRef&&!a.controlRef.contains(l.target)&&a.menuListRef&&!a.menuListRef.contains(l.target)&&a.blurInput(),a.initialTouchX=0,a.initialTouchY=0)},a.onControlTouchEnd=function(l){a.userIsDragging||a.onControlMouseDown(l)},a.onClearIndicatorTouchEnd=function(l){a.userIsDragging||a.onClearIndicatorMouseDown(l)},a.onDropdownIndicatorTouchEnd=function(l){a.userIsDragging||a.onDropdownIndicatorMouseDown(l)},a.handleInputChange=function(l){var c=l.currentTarget.value;a.inputIsHiddenAfterUpdate=!1,a.onInputChange(c,{action:"input-change"}),a.props.menuIsOpen||a.onMenuOpen()},a.onInputFocus=function(l){var c=a.props,s=c.isSearchable,f=c.isMulti;a.props.onFocus&&a.props.onFocus(l),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(l){if(a.menuListRef&&a.menuListRef.contains(document.activeElement)){a.inputRef.focus();return}a.props.onBlur&&a.props.onBlur(l),a.onInputChange("",{action:"input-blur"}),a.onMenuClose(),a.setState({focusedValue:null,isFocused:!1})},a.onOptionHover=function(l){a.blockOptionHover||a.state.focusedOption===l||a.setState({focusedOption:l})},a.shouldHideSelectedOptions=function(){var l=a.props,c=l.hideSelectedOptions,s=l.isMulti;return c===void 0?s:c},a.onKeyDown=function(l){var c=a.props,s=c.isMulti,f=c.backspaceRemovesValue,d=c.escapeClearsValue,p=c.inputValue,v=c.isClearable,b=c.isDisabled,g=c.menuIsOpen,D=c.onKeyDown,C=c.tabSelectsValue,S=c.openMenuOnFocus,I=a.state,A=I.focusedOption,T=I.focusedValue,P=I.selectValue;if(!b&&!(typeof D=="function"&&(D(l),l.defaultPrevented))){switch(a.blockOptionHover=!0,l.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():v&&a.clearValue()}break;case"Tab":if(a.isComposing||l.shiftKey||!g||!C||!A||S&&a.isOptionSelected(A,P))return;a.selectOption(A);break;case"Enter":if(l.keyCode===229)break;if(g){if(!A||a.isComposing)return;a.selectOption(A);break}return;case"Escape":g?(a.inputIsHiddenAfterUpdate=!1,a.onInputChange("",{action:"menu-close"}),a.onMenuClose()):v&&d&&a.clearValue();break;case" ":if(p)return;if(!g){a.openMenu("first");break}if(!A)return;a.selectOption(A);break;case"ArrowUp":g?a.focusOption("up"):a.openMenu("last");break;case"ArrowDown":g?a.focusOption("down"):a.openMenu("first");break;case"PageUp":if(!g)return;a.focusOption("pageup");break;case"PageDown":if(!g)return;a.focusOption("pagedown");break;case"Home":if(!g)return;a.focusOption("first");break;case"End":if(!g)return;a.focusOption("last");break;default:return}l.preventDefault()}},a.buildMenuOptions=function(l,c){var s=l.inputValue,f=s===void 0?"":s,d=l.options,p=function(b,g){var D=a.isOptionDisabled(b,c),C=a.isOptionSelected(b,c),S=a.getOptionLabel(b),I=a.getOptionValue(b);if(!(a.shouldHideSelectedOptions()&&C||!a.filterOption({label:S,value:I,data:b},f))){var A=D?void 0:function(){return a.onOptionHover(b)},T=D?void 0:function(){return a.selectOption(b)},P="".concat(a.getElementId("option"),"-").concat(g);return{innerProps:{id:P,onClick:T,onMouseMove:A,onMouseOver:A,tabIndex:-1},data:b,isDisabled:D,isSelected:C,key:P,label:S,type:"option",value:I}}};return d.reduce(function(v,b,g){if(b.options){a.hasGroups||(a.hasGroups=!0);var D=b.options,C=D.map(function(A,T){var P=p(A,"".concat(g,"-").concat(T));return P&&v.focusable.push(A),P}).filter(Boolean);if(C.length){var S="".concat(a.getElementId("group"),"-").concat(g);v.render.push({type:"group",key:S,data:b,options:C})}}else{var I=p(b,"".concat(g));I&&(v.render.push(I),v.focusable.push(b))}return v},{render:[],focusable:[]})};var o=r.value;a.cacheComponents=rC(a.cacheComponents,kN).bind(bc(a)),a.cacheComponents(r.components),a.instancePrefix="react-select-"+(a.props.instanceId||++jve);var i=jp(o);a.buildMenuOptions=rC(a.buildMenuOptions,function(l,c){var s=l,f=cn(s,2),d=f[0],p=f[1],v=c,b=cn(v,2),g=b[0],D=b[1];return p===D&&d.inputValue===g.inputValue&&d.options===g.options}).bind(bc(a));var u=r.menuIsOpen?a.buildMenuOptions(r,i):{render:[],focusable:[]};return a.state.menuOptions=u,a.state.selectValue=i,a}return Kn(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,u=o.value,l=o.menuIsOpen,c=o.inputValue;if(this.cacheComponents(a.components),a.value!==u||a.options!==i||a.menuIsOpen!==l||a.inputValue!==c){var s=jp(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,u=o.menuIsOpen,l=this.state.isFocused;(l&&!i&&a.isDisabled||l&&u&&!a.menuIsOpen)&&this.focusInput(),l&&i&&!a.isDisabled&&this.setState({isFocused:!1},this.onMenuClose),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(bN(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,u=i.selectValue,l=i.isFocused,c=this.buildMenuOptions(this.props,u),s=this.props,f=s.isMulti,d=s.tabSelectsValue,p=a==="first"?0:c.focusable.length-1;if(!f){var v=c.focusable.indexOf(u[0]);v>-1&&(p=v)}this.scrollToFocusedOptionOnUpdate=!(l&&this.menuListRef),this.inputIsHiddenAfterUpdate=!1,this.setState({menuOptions:c,focusedValue:null,focusedOption:c.focusable[p]},function(){o.onMenuOpen(),o.announceAriaLiveContext({event:"menu",context:{tabSelectsValue:d}})})}},{key:"focusValue",value:function(a){var o=this.props,i=o.isMulti,u=o.isSearchable,l=this.state,c=l.selectValue,s=l.focusedValue;if(!!i){this.setState({focusedOption:null});var f=c.indexOf(s);s||(f=-1,this.announceAriaLiveContext({event:"value"}));var 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,u=o.tabSelectsValue,l=this.state,c=l.focusedOption,s=l.menuOptions,f=s.focusable;if(!!f.length){var d=0,p=f.indexOf(c);c||(p=-1,this.announceAriaLiveContext({event:"menu",context:{tabSelectsValue:u}})),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:Fk(f[d]),tabSelectsValue:u}})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(LR):Np(Np({},LR),this.props.theme):LR}},{key:"getCommonProps",value:function(){var a=this.clearValue,o=this.cx,i=this.getStyles,u=this.getValue,l=this.setValue,c=this.selectOption,s=this.props,f=s.isMulti,d=s.isRtl,p=s.options,v=this.hasValue();return{cx:o,clearValue:a,getStyles:i,getValue:u,hasValue:v,isMulti:f,isRtl:d,options:p,selectOption:c,setValue:l,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,u=o.selectValue,l=u.indexOf(i);if(l>-1){var c=a.indexOf(i);if(c>-1)return i;if(l-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 u=this.getOptionValue(a);return o.some(function(l){return i.getOptionValue(l)===u})}},{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,u=this.state.selectValue;return this.props.formatOptionLabel(a,{context:o,inputValue:i,selectValue:u})}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,u=a.focusedValue,l=a.focusedOption,c=this.props,s=c.options,f=c.menuIsOpen,d=c.inputValue,p=c.screenReaderStatus,v=u?Dve({focusedValue:u,getOptionLabel:this.getOptionLabel,selectValue:i}):"",b=l&&f?bve({focusedOption:l,getOptionLabel:this.getOptionLabel,options:s}):"",g=wve({inputValue:d,screenReaderMessage:p({count:this.countOptions()})});return"".concat(v," ").concat(b," ").concat(g," ").concat(o)}},{key:"renderInput",value:function(){var a=this.props,o=a.isDisabled,i=a.isSearchable,u=a.inputId,l=a.inputValue,c=a.tabIndex,s=a.form,f=this.components.Input,d=this.state.inputIsHidden,p=u||this.getElementId("input"),v={"aria-autocomplete":"list","aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"]};if(!i)return Bt.default.createElement(ove,Ye({id:p,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:CR,onFocus:this.onInputFocus,readOnly:!0,disabled:o,tabIndex:c,form:s,value:""},v));var b=this.commonProps,g=b.cx,D=b.theme,C=b.selectProps;return Bt.default.createElement(f,Ye({autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",cx:g,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:l},v))}},{key:"renderPlaceholderOrValue",value:function(){var a=this,o=this.components,i=o.MultiValue,u=o.MultiValueContainer,l=o.MultiValueLabel,c=o.MultiValueRemove,s=o.SingleValue,f=o.Placeholder,d=this.commonProps,p=this.props,v=p.controlShouldRenderValue,b=p.isDisabled,g=p.isMulti,D=p.inputValue,C=p.placeholder,S=this.state,I=S.selectValue,A=S.focusedValue,T=S.isFocused;if(!this.hasValue()||!v)return D?null:Bt.default.createElement(f,Ye({},d,{key:"placeholder",isDisabled:b,isFocused:T}),C);if(g){var P=I.map(function(V,Z){var W=V===A;return Bt.default.createElement(i,Ye({},d,{components:{Container:u,Label:l,Remove:c},isFocused:W,isDisabled:b,key:"".concat(a.getOptionValue(V)).concat(Z),index:Z,removeProps:{onClick:function(){return a.removeValue(V)},onTouchEnd:function(){return a.removeValue(V)},onMouseDown:function(J){J.preventDefault(),J.stopPropagation()}},data:V}),a.formatOptionLabel(V,"value"))});return P}if(D)return null;var q=I[0];return Bt.default.createElement(s,Ye({},d,{data:q,isDisabled:b}),this.formatOptionLabel(q,"value"))}},{key:"renderClearIndicator",value:function(){var a=this.components.ClearIndicator,o=this.commonProps,i=this.props,u=i.isDisabled,l=i.isLoading,c=this.state.isFocused;if(!this.isClearable()||!a||u||!this.hasValue()||l)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return Bt.default.createElement(a,Ye({},o,{innerProps:s,isFocused:c}))}},{key:"renderLoadingIndicator",value:function(){var a=this.components.LoadingIndicator,o=this.commonProps,i=this.props,u=i.isDisabled,l=i.isLoading,c=this.state.isFocused;if(!a||!l)return null;var s={"aria-hidden":"true"};return Bt.default.createElement(a,Ye({},o,{innerProps:s,isDisabled:u,isFocused:c}))}},{key:"renderIndicatorSeparator",value:function(){var a=this.components,o=a.DropdownIndicator,i=a.IndicatorSeparator;if(!o||!i)return null;var u=this.commonProps,l=this.props.isDisabled,c=this.state.isFocused;return Bt.default.createElement(i,Ye({},u,{isDisabled:l,isFocused:c}))}},{key:"renderDropdownIndicator",value:function(){var a=this.components.DropdownIndicator;if(!a)return null;var o=this.commonProps,i=this.props.isDisabled,u=this.state.isFocused,l={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return Bt.default.createElement(a,Ye({},o,{innerProps:l,isDisabled:i,isFocused:u}))}},{key:"renderMenu",value:function(){var a=this,o=this.components,i=o.Group,u=o.GroupHeading,l=o.Menu,c=o.MenuList,s=o.MenuPortal,f=o.LoadingMessage,d=o.NoOptionsMessage,p=o.Option,v=this.commonProps,b=this.state,g=b.focusedOption,D=b.menuOptions,C=this.props,S=C.captureMenuScroll,I=C.inputValue,A=C.isLoading,T=C.loadingMessage,P=C.minMenuHeight,q=C.maxMenuHeight,V=C.menuIsOpen,Z=C.menuPlacement,W=C.menuPosition,ee=C.menuPortalTarget,J=C.menuShouldBlockScroll,Q=C.menuShouldScrollIntoView,ue=C.noOptionsMessage,G=C.onMenuScrollToTop,ne=C.onMenuScrollToBottom;if(!V)return null;var de=function(K){var L=g===K.data;return K.innerRef=L?a.getFocusedOptionRef:void 0,Bt.default.createElement(p,Ye({},v,K,{isFocused:L}),a.formatOptionLabel(K.data,"menu"))},Ce;if(this.hasOptions())Ce=D.render.map(function(X){if(X.type==="group"){var K=X.type,L=Er(X,["type"]),Y="".concat(X.key,"-heading");return Bt.default.createElement(i,Ye({},v,L,{Heading:u,headingProps:{id:Y,data:X.data},label:a.formatGroupLabel(X.data)}),X.options.map(function(O){return de(O)}))}else if(X.type==="option")return de(X)});else if(A){var Fe=T({inputValue:I});if(Fe===null)return null;Ce=Bt.default.createElement(f,v,Fe)}else{var N=ue({inputValue:I});if(N===null)return null;Ce=Bt.default.createElement(d,v,N)}var F={minMenuHeight:P,maxMenuHeight:q,menuPlacement:Z,menuPosition:W,menuShouldScrollIntoView:Q},B=Bt.default.createElement(TR,Ye({},v,F),function(X){var K=X.ref,L=X.placerProps,Y=L.placement,O=L.maxHeight;return Bt.default.createElement(l,Ye({},v,F,{innerRef:K,innerProps:{onMouseDown:a.onMenuMouseDown,onMouseMove:a.onMenuMouseMove},isLoading:A,placement:Y}),Bt.default.createElement(_ve,{isEnabled:S,onTopArrive:G,onBottomArrive:ne},Bt.default.createElement(pve,{isEnabled:J},Bt.default.createElement(c,Ye({},v,{innerRef:a.getMenuListRef,isLoading:A,maxHeight:O}),Ce))))});return ee||W==="fixed"?Bt.default.createElement(s,Ye({},v,{appendTo:ee,controlElement:this.controlRef,menuPlacement:Z,menuPosition:W}),B):B}},{key:"renderFormField",value:function(){var a=this,o=this.props,i=o.delimiter,u=o.isDisabled,l=o.isMulti,c=o.name,s=this.state.selectValue;if(!(!c||u))if(l)if(i){var f=s.map(function(v){return a.getOptionValue(v)}).join(i);return Bt.default.createElement("input",{name:c,type:"hidden",value:f})}else{var d=s.length>0?s.map(function(v,b){return Bt.default.createElement("input",{key:"i-".concat(b),name:c,type:"hidden",value:a.getOptionValue(v)})}):Bt.default.createElement("input",{name:c,type:"hidden"});return Bt.default.createElement("div",null,d)}else{var p=s[0]?this.getOptionValue(s[0]):"";return Bt.default.createElement("input",{name:c,type:"hidden",value:p})}}},{key:"renderLiveRegion",value:function(){return this.state.isFocused?Bt.default.createElement(ave,{"aria-live":"polite"},Bt.default.createElement("span",{id:"aria-selection-event"},"\xA0",this.state.ariaLiveSelection),Bt.default.createElement("span",{id:"aria-context"},"\xA0",this.constructAriaLiveMessage())):null}},{key:"render",value:function(){var a=this.components,o=a.Control,i=a.IndicatorsContainer,u=a.SelectContainer,l=a.ValueContainer,c=this.props,s=c.className,f=c.id,d=c.isDisabled,p=c.menuIsOpen,v=this.state.isFocused,b=this.commonProps=this.getCommonProps();return Bt.default.createElement(u,Ye({},b,{className:s,innerProps:{id:f,onKeyDown:this.onKeyDown},isDisabled:d,isFocused:v}),this.renderLiveRegion(),Bt.default.createElement(o,Ye({},b,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:d,isFocused:v,menuIsOpen:p}),Bt.default.createElement(l,Ye({},b,{isDisabled:d}),this.renderPlaceholderOrValue(),this.renderInput()),Bt.default.createElement(i,Ye({},b,{isDisabled:d}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}]),n}(Bt.Component);yf.defaultProps=Pve;var f5t=Vt(Z0());var zy=Vt(Si());function Nve(e){var t=kve();return function(){var r=yn(e),a;if(t){var o=yn(this).constructor;a=Reflect.construct(r,arguments,o)}else a=r.apply(this,arguments);return Jr(this,a)}}function kve(){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 Ove={defaultInputValue:"",defaultMenuIsOpen:!1,defaultValue:null},kp=function(t){var n,r;return r=n=function(a){er(i,a);var o=Nve(i);function i(){var u;Qn(this,i);for(var l=arguments.length,c=new Array(l),s=0;s1?s-1:0),d=1;d0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0,r=String(t).toLowerCase(),a=String(n.value).toLowerCase(),o=String(n.label).toLowerCase();return a===r||o===r},zve={formatCreateLabel:function(t){return'Create "'.concat(t,'"')},isValidNewOption:function(t,n,r){return!(!t||n.some(function(a){return Ak(t,a)})||r.some(function(a){return Ak(t,a)}))},getNewOptionData:function(t,n){return{label:n,value:t,__isNew__:!0}}},Gve=Wve({allowCreateWhileLoading:!1,createOptionPosition:"last"},zve),qve=function(t){var n,r;return r=n=function(a){er(i,a);var o=Hve(i);function i(u){var l;Qn(this,i),l=o.call(this,u),l.select=void 0,l.onChange=function(s,f){var d=l.props,p=d.getNewOptionData,v=d.inputValue,b=d.isMulti,g=d.onChange,D=d.onCreateOption,C=d.value,S=d.name;if(f.action!=="select-option")return g(s,f);var I=l.state.newOption,A=Array.isArray(s)?s:[s];if(A[A.length-1]===I){if(D)D(v);else{var T=p(v,v),P={action:"create-option",name:S};g(b?[].concat(tf(jp(C)),[T]):T,P)}return}g(s,f)};var c=u.options||[];return l.state={newOption:void 0,options:c},l}return Kn(i,[{key:"UNSAFE_componentWillReceiveProps",value:function(l){var c=l.allowCreateWhileLoading,s=l.createOptionPosition,f=l.formatCreateLabel,d=l.getNewOptionData,p=l.inputValue,v=l.isLoading,b=l.isValidNewOption,g=l.value,D=l.options||[],C=this.state.newOption;b(p,jp(g),D)?C=d(p,f(p)):C=void 0,this.setState({newOption:C,options:(c||!v)&&C?s==="first"?[C].concat(tf(D)):[].concat(tf(D),[C]):D})}},{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"render",value:function(){var l=this,c=this.state.options;return qy.default.createElement(t,Ye({},this.props,{ref:function(f){l.select=f},options:c,onChange:this.onChange}))}}]),i}(qy.Component),n.defaultProps=Gve,r},$ve=qve(yf),Vve=kp($ve),AR=Vve;var $y=Vt(Si());var J5t=Vt(Pp());var e8t=Vt(Z0());function Jve(e){var t=Xve();return function(){var r=yn(e),a;if(t){var o=yn(this).constructor;a=Reflect.construct(r,arguments,o)}else a=r.apply(this,arguments);return Jr(this,a)}}function Xve(){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 Yve={cacheOptions:!1,defaultOptions:!1,filterOption:null,isLoading:!1},Zve=function(t){var n,r;return r=n=function(a){er(i,a);var o=Jve(i);function i(u){var l;return Qn(this,i),l=o.call(this),l.select=void 0,l.lastRequest=void 0,l.mounted=!1,l.optionsCache={},l.handleInputChange=function(c,s){var f=l.props,d=f.cacheOptions,p=f.onInputChange,v=yN(c,s,p);if(!v){delete l.lastRequest,l.setState({inputValue:"",loadedInputValue:"",loadedOptions:[],isLoading:!1,passEmptyOptions:!1});return}if(d&&l.optionsCache[v])l.setState({inputValue:v,loadedInputValue:v,loadedOptions:l.optionsCache[v],isLoading:!1,passEmptyOptions:!1});else{var b=l.lastRequest={};l.setState({inputValue:v,isLoading:!0,passEmptyOptions:!l.state.loadedInputValue},function(){l.loadOptions(v,function(g){!l.mounted||(g&&(l.optionsCache[v]=g),b===l.lastRequest&&(delete l.lastRequest,l.setState({isLoading:!1,loadedInputValue:v,loadedOptions:g||[],passEmptyOptions:!1})))})})}return v},l.state={defaultOptions:Array.isArray(u.defaultOptions)?u.defaultOptions:void 0,inputValue:typeof u.inputValue!="undefined"?u.inputValue:"",isLoading:u.defaultOptions===!0,loadedOptions:[],passEmptyOptions:!1},l}return Kn(i,[{key:"componentDidMount",value:function(){var l=this;this.mounted=!0;var c=this.props.defaultOptions,s=this.state.inputValue;c===!0&&this.loadOptions(s,function(f){if(!!l.mounted){var d=!!l.lastRequest;l.setState({defaultOptions:f||[],isLoading:d})}})}},{key:"UNSAFE_componentWillReceiveProps",value:function(l){l.cacheOptions!==this.props.cacheOptions&&(this.optionsCache={}),l.defaultOptions!==this.props.defaultOptions&&this.setState({defaultOptions:Array.isArray(l.defaultOptions)?l.defaultOptions:void 0})}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"loadOptions",value:function(l,c){var s=this.props.loadOptions;if(!s)return c();var f=s(l,c);f&&typeof f.then=="function"&&f.then(c,function(){return c()})}},{key:"render",value:function(){var l=this,c=this.props,s=c.loadOptions,f=c.isLoading,d=Er(c,["loadOptions","isLoading"]),p=this.state,v=p.defaultOptions,b=p.inputValue,g=p.isLoading,D=p.loadedInputValue,C=p.loadedOptions,S=p.passEmptyOptions,I=S?[]:b&&D?C:v||[];return $y.default.createElement(t,Ye({},d,{ref:function(T){l.select=T},options:I,isLoading:g||f,onInputChange:this.handleInputChange}))}}]),i}($y.Component),n.defaultProps=Yve,r},Qve=kp(yf),Kve=Zve(Qve),Vy=Kve;var Nk=Vt(jk()),eh=({baseClass:e,isMulti:t})=>n=>{let r=(i,u)=>Object.assign({},i,u),a=i=>u=>r(u,i),o=!o0e&&typeof document!="undefined";return Ct.createElement(e,wr(Kt({},n),{isMulti:t,components:{MenuList:e0e},menuPortalTarget:n.useMenuPortal&&o?document.body:void 0,options:Ok(n.options),value:Ok(n.value),getOptionLabel:jR(n.getOptionLabel),getOptionValue:jR(n.getOptionValue),formatOptionLabel:jR(n.formatOptionLabel),loadOptions:n.loadOptions&&((...i)=>n.loadOptions(...i).then(Op)),onChange:(i,{action:u})=>{switch(u){case"select-option":i.__isNew__?n.onCreate&&n.onCreate(i.label):n.onSelect&&n.onSelect(Op(i));break;case"clear":n.onClear&&n.onClear();break;case"remove-value":n.onSelect&&n.onSelect(Op(i||[]));break;case"create-option":n.onCreate&&n.onCreate(i.label);break}},isOptionDisabled:n.isOptionDisabled&&(i=>!i.__isNew__&&n.isOptionDisabled(Op(i))),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:(i,u)=>r(i,u.isFocused?n.focusedOptionStyle:{})}}))},e0e=e=>{let t=Array.isArray(e.children)?e.children:[e.children],n=[];return e.selectProps.footerOption&&e.selectProps.options&&(n=[Ct.createElement("hr",{className:"py-0 my-0"}),e.selectProps.footerOption({inputValue:e.selectProps.inputValue,options:Op(e.selectProps.options)})]),Ct.createElement("div",{className:"overflow-y-auto overflow-x-hidden",style:Object.assign({},{maxHeight:e.selectProps.maxMenuHeight},e.selectProps.menuListStyle)},Ct.createElement(Nk.default,{length:t.length,itemRenderer:(r,a)=>Ct.createElement("div",{key:a},t[r])}),...n)};Gy.displayName="ReactSelect";AR.displayName="ReactSelectCreatable";Vy.displayName="ReactSelectAsync";var kk=eh({baseClass:Gy,isMulti:!1}),t0e=eh({baseClass:AR,isMulti:!1}),n0e=eh({baseClass:Gy,isMulti:!0}),r0e=eh({baseClass:Vy,isMulti:!1}),a0e=eh({baseClass:Vy,isMulti:!0}),o0e=0;var Ok=e=>e instanceof Array?typeof e[0]=="object"?e:e.map(t=>({__wrap:t})):typeof e=="undefined"||typeof e=="object"?e:{__wrap:e},Op=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},jR=e=>e&&(t=>e(Op(t)));var ZFt=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 u(s){var f;switch(s.size){case 0:return null;case 1:f=s.head,s.head=null;break;case 2:f=s.head,s.last.prev=null,s.head=s.last,s.last=null;break;default:f=s.head,s.head=f.next,s.head.prev=null}return f.next=null,f.queue=null,s.size--,f.value}function l(s){if(s.queue!==null){if(s.queue.last===s){i(s.queue);return}if(s.queue.head===s){u(s.queue);return}s.prev&&(s.prev.next=s.next),s.next&&(s.next.prev=s.prev),s.queue.size--,s.queue=null,s.value=null,s.next=null,s.prev=null}}function c(s,f){if(!f.draining){var d=f.puts,p=f.takes,v=f.reads,b,g,D,C,S;for(f.draining=!0;;){if(b=null,g=null,D=null,C=f.value,S=v.size,f.error!==null){for(C=s.left(f.error);b=u(d);)a(b.cb(C));for(;g=u(v);)a(g(C));for(;D=u(p);)a(D(C));break}if(C===r&&(b=u(d))&&(f.value=C=b.value),C!==r){for(D=u(p);S--&&(g=u(v));)a(g(s.right(C)));D!==null&&(f.value=r,a(D(s.right(C))))}if(b!==null&&a(b.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=u,n.deleteCell=l,n.drainVar=c,n}();var h0e=function(){function e(i){this.fn=i}var t={},n=function(i,u){this.head=i,this.tail=u};function r(i){return new n(i,t)}function a(i){return function(u){return new n(i,u)}}function o(i){for(var u=[],l=i;l!==t;)u.push(l.head),l=l.tail;return u}return function(i,u,l){var c=function(f,d){return i(u(a)(l(f)))(d)},s=function(f,d,p){if(d===0)return f;var v=p[d-1];return new e(function(){var b=s(c(v,f),d-1,p);return b})};return function(f){for(var d=u(r)(l(f[f.length-1])),p=s(d,f.length-1,f);p instanceof e;)p=p.fn();return u(o)(p)}}}();var Wk=function(e){return e},zk=$1;var Gk=Lt;var w0e=kn();var UR=Wk;var th=function(e){return e};var HR=function(e){return function(t){return UR(Km(th(e))(t))}},Jy=function(e){return UR(ev(e))};var C0e=function(e){return function(t){return w0e(e(th(t)))}},Xy=C0e(Y1);var qk=function(e){return function(t){return e(th(t))}};var $k=qk(Td);var R0e=function(e){var t=qk(e);return function(n){return UR(t(n))}};var BR=function(e){var t=yw(e);return function(n){return R0e(t(n))}};var A0e=Gn();var zR=function(e){return A0e(i_(e))};var Yy=Qu(),j0e=al(Fa()(Pe({reflectSymbol:function(){return"inputValue"}})(ut)(On)));var N0e=re(Ze),k0e=vc(),O0e=ra();var U0e=function(e){return e};var H0e=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),nh=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}();var B0e=function(e){return function(t){if(e instanceof H0e){var n={};for(var r in t)({}).hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n["aria-label"]=X_(e.value0),n}if(e instanceof nh){var a={};for(var o in t)({}).hasOwnProperty.call(t,o)&&(a[o]=t[o]);return a["aria-labelledby"]=X_(e.value0),a}throw new Error("Failed pattern match at Component.ReactSelect (line 174, column 3 - line 176, column 66): "+[e.constructor.name])}},Zk=function(e){return Yy(function(t){return gu(j0e(t))(e)})};var Qk=function(e){return function(t){return nu(e({inputValue:Dt(t.inputValue),options:t.options}))}};var W0e=function(e){var t={};for(var n in e)({}).hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.value=cL(function(r){return nu(N0e(U0e)(r))})(e.value),t},z0e=Yy,G0e=Yy;var q0e=Yy;var Zy=function(e){return function(){var t=k0e(kk),n=B0e(e);return function(r){return t(z0e(W0e(G0e(n(q0e(O0e(r)))))))}}};Nt();function Kk(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 gt(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:1;nO+=1;var n=nO;function r(a){if(a===0)rO(n),e();else{var o=eO(function(){r(a-1)});qR.set(n,o)}}return r(t),n}go.cancel=function(e){var t=qR.get(e);return rO(t),tO(t)};function bf(e,t){return e?e.contains(t):!1}function rh(e){return e instanceof HTMLElement?e:mo.findDOMNode(e)}var lO=Vt(uO());Nt();function XR(e,t){typeof e=="function"?e(t):tr(e)==="object"&&e&&"current"in e&&(e.current=t)}function lD(){for(var e=arguments.length,t=new Array(e),n=0;n1&&arguments[1]!==void 0?arguments[1]:2;t();var o=go(function(){a<=1?r({isCanceled:function(){return o!==e.current}}):n(r,a-1)});e.current=o}return Fn(function(){return function(){t()}},[]),[n,t]};Nt();var the=Eu()?Cv:Fn,mD=the;var DO=[Yo,gl,qc,pD],ex=!1,bO=!0;function vD(e){return e===qc||e===pD}var wO=function(e,t){var n=yl(KR),r=cn(n,2),a=r[0],o=r[1],i=yO(),u=cn(i,2),l=u[0],c=u[1];function s(){o(Yo,!0)}return mD(function(){if(a!==KR&&a!==pD){var f=DO.indexOf(a),d=DO[f+1],p=t(a);p===ex?o(d,!0):l(function(v){function b(){v.isCanceled()||o(d,!0)}p===!0?b():Promise.resolve(p).then(b)})}},[e,a]),Fn(function(){return function(){c()}},[]),[s,a]};Nt();Nt();var CO=function(e){var t=Qt(),n=Qt(e);n.current=e;var r=wv(function(i){n.current(i)},[]);function a(i){i&&(i.removeEventListener(ZR,r),i.removeEventListener(YR,r))}function o(i){t.current&&t.current!==i&&a(t.current),i&&i!==t.current&&(i.addEventListener(ZR,r),i.addEventListener(YR,r),t.current=i)}return Fn(function(){return function(){a(t.current)}},[]),[o,a]};function tx(e,t,n,r){var a=r.motionEnter,o=a===void 0?!0:a,i=r.motionAppear,u=i===void 0?!0:i,l=r.motionLeave,c=l===void 0?!0:l,s=r.motionDeadline,f=r.motionLeaveImmediately,d=r.onAppearPrepare,p=r.onEnterPrepare,v=r.onLeavePrepare,b=r.onAppearStart,g=r.onEnterStart,D=r.onLeaveStart,C=r.onAppearActive,S=r.onEnterActive,I=r.onLeaveActive,A=r.onAppearEnd,T=r.onEnterEnd,P=r.onLeaveEnd,q=r.onVisibleChanged,V=yl(),Z=cn(V,2),W=Z[0],ee=Z[1],J=yl(Gc),Q=cn(J,2),ue=Q[0],G=Q[1],ne=yl(null),de=cn(ne,2),Ce=de[0],Fe=de[1],N=Qt(!1),F=Qt(null);function B(){return n()}var X=Qt(!1);function K(Se){var Je=B();if(!(Se&&!Se.deadline&&Se.target!==Je)){var it=X.current,Le;ue===ah&&it?Le=A==null?void 0:A(Je,Se):ue===oh&&it?Le=T==null?void 0:T(Je,Se):ue===ih&&it&&(Le=P==null?void 0:P(Je,Se)),ue!==Gc&&it&&Le!==!1&&(G(Gc,!0),Fe(null,!0))}}var L=CO(K),Y=cn(L,1),O=Y[0],le=Rv(function(){var Se,Je,it;switch(ue){case ah:return Se={},Zt(Se,Yo,d),Zt(Se,gl,b),Zt(Se,qc,C),Se;case oh:return Je={},Zt(Je,Yo,p),Zt(Je,gl,g),Zt(Je,qc,S),Je;case ih:return it={},Zt(it,Yo,v),Zt(it,gl,D),Zt(it,qc,I),it;default:return{}}},[ue]),ie=wO(ue,function(Se){if(Se===Yo){var Je=le[Yo];return Je?Je(B()):ex}if(ce in le){var it;Fe(((it=le[ce])===null||it===void 0?void 0:it.call(le,B(),null))||null)}return ce===qc&&(O(B()),s>0&&(clearTimeout(F.current),F.current=setTimeout(function(){K({deadline:!0})},s))),bO}),pe=cn(ie,2),_e=pe[0],ce=pe[1],Me=vD(ce);X.current=Me,mD(function(){ee(t);var Se=N.current;if(N.current=!0,!!e){var Je;!Se&&t&&u&&(Je=ah),Se&&t&&o&&(Je=oh),(Se&&!t&&c||!Se&&f&&!t&&c)&&(Je=ih),Je&&(G(Je),_e())}},[t]),Fn(function(){(ue===ah&&!u||ue===oh&&!o||ue===ih&&!c)&&G(Gc)},[u,o,c]),Fn(function(){return function(){N.current=!1,clearTimeout(F.current)}},[]);var Re=Qt(!1);Fn(function(){W&&(Re.current=!0),W!==void 0&&ue===Gc&&((Re.current||W)&&(q==null||q(W)),Re.current=!0)},[W,ue]);var Ve=Ce;return le[Yo]&&ce===gl&&(Ve=gt({transition:"none"},Ve)),[ue,ce,Ve,W!=null?W:t]}Nt();var nhe=function(e){er(n,e);var t=Df(n);function n(){return Qn(this,n),t.apply(this,arguments)}return Kn(n,[{key:"render",value:function(){return this.props.children}}]),n}(Us),RO=nhe;function rhe(e){var t=e;tr(e)==="object"&&(t=e.transitionSupport);function n(a){return!!(a.motionName&&t)}var r=po(function(a,o){var i=a.visible,u=i===void 0?!0:i,l=a.removeOnLeave,c=l===void 0?!0:l,s=a.forceRender,f=a.children,d=a.motionName,p=a.leavedClassName,v=a.eventProps,b=n(a),g=Qt(),D=Qt();function C(){try{return g.current instanceof HTMLElement?g.current:rh(D.current)}catch{return null}}var S=tx(b,u,C,a),I=cn(S,4),A=I[0],T=I[1],P=I[2],q=I[3],V=Qt(q);q&&(V.current=!0);var Z=wv(function(ne){g.current=ne,XR(o,ne)},[o]),W,ee=gt(gt({},v),{},{visible:u});if(!f)W=null;else if(A===Gc||!n(a))q?W=f(gt({},ee),Z):!c&&V.current?W=f(gt(gt({},ee),{},{className:p}),Z):s?W=f(gt(gt({},ee),{},{style:{display:"none"}}),Z):W=null;else{var J,Q;T===Yo?Q="prepare":vD(T)?Q="active":T===gl&&(Q="start"),W=f(gt(gt({},ee),{},{className:(0,xO.default)(QR(d,A),(J={},Zt(J,QR(d,"".concat(A,"-").concat(Q)),Q),Zt(J,d,typeof d=="string"),J)),style:P}),Z)}if($w(W)&&cD(W)){var ue=W,G=ue.ref;G||(W=bv(W,{ref:Z}))}return tn(RO,{ref:D},W)});return r.displayName="CSSMotion",r}var hD=rhe(dD);Nt();var _D="add",gD="keep",yD="remove",DD="removed";function ahe(e){var t;return e&&tr(e)==="object"&&"key"in e?t=e:t={key:e},gt(gt({},t),{},{key:String(t.key)})}function bD(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(ahe)}function TO(){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=bD(e),i=bD(t);o.forEach(function(c){for(var s=!1,f=r;f1});return l.forEach(function(c){n=n.filter(function(s){var f=s.key,d=s.status;return f!==c||d!==yD}),n.forEach(function(s){s.key===c&&(s.status=gD)})}),n}var ohe=["component","children","onVisibleChanged","onAllRemoved"],ihe=["status"],uhe=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function lhe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:hD,n=function(r){er(o,r);var a=Df(o);function o(){var i;Qn(this,o);for(var u=arguments.length,l=new Array(u),c=0;c=0&&n.left>=0&&n.bottom>n.top&&n.right>n.left?n:null}function Lhe(e,t,n,r){var a=Pt.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)),Pt.mix(a,o)}function px(e){var t,n,r;if(!Pt.isWindow(e)&&e.nodeType!==9)t=Pt.offset(e),n=Pt.outerWidth(e),r=Pt.outerHeight(e);else{var a=Pt.getWindow(e);t={left:Pt.getWindowScrollLeft(a),top:Pt.getWindowScrollTop(a)},n=Pt.viewportWidth(a),r=Pt.viewportHeight(a)}return t.width=n,t.height=r,t}function qO(e,t){var n=t.charAt(0),r=t.charAt(1),a=e.width,o=e.height,i=e.left,u=e.top;return n==="c"?u+=o/2:n==="b"&&(u+=o),r==="c"?i+=a/2:r==="r"&&(i+=a),{left:i,top:u}}function ED(e,t,n,r,a){var o=qO(t,n[1]),i=qO(e,n[0]),u=[i.left-o.left,i.top-o.top];return{left:Math.round(e.left-u[0]+r[0]-a[0]),top:Math.round(e.top-u[1]+r[1]-a[1])}}function $O(e,t,n){return e.leftn.right}function VO(e,t,n){return e.topn.bottom}function Ahe(e,t,n){return e.left>n.right||e.left+t.widthn.bottom||e.top+t.height=n.right||r.top>=n.bottom}function MD(e,t,n){var r=n.target||t,a=px(r),o=!jhe(r,n.overflow&&n.overflow.alwaysByViewport);return YO(e,a,n,o)}MD.__getOffsetParent=fx;MD.__getVisibleRectForElement=dx;function ZO(e,t,n){var r,a,o=Pt.getDocument(e),i=o.defaultView||o.parentWindow,u=Pt.getWindowScrollLeft(i),l=Pt.getWindowScrollTop(i),c=Pt.viewportWidth(i),s=Pt.viewportHeight(i);"pageX"in t?r=t.pageX:r=u+t.clientX,"pageY"in t?a=t.pageY:a=l+t.clientY;var f={left:r,top:a,width:0,height:0},d=r>=0&&r<=u+c&&a>=0&&a<=l+s,p=[n.points[0],"cc"];return YO(e,f,MO(MO({},n),{},{points:p}),d)}var jW=Vt(RW());var xW=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(){!Ax||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),lbe?(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(){!Ax||!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=ube.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}(),TW=function(e,t){for(var n=0,r=Object.keys(t);n0},e}(),SW=typeof WeakMap!="undefined"?new WeakMap:new xW,MW=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=cbe.getInstance(),r=new ybe(t,n,this);SW.set(this,r)}return e}();["observe","unobserve","disconnect"].forEach(function(e){MW.prototype[e]=function(){var t;return(t=SW.get(this))[e].apply(t,arguments)}});var Dbe=function(){return typeof ND.ResizeObserver!="undefined"?ND.ResizeObserver:MW}(),IW=Dbe;function LW(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 AW(e,t){e!==document.activeElement&&bf(t,e)&&typeof e.focus=="function"&&e.focus()}function Px(e,t){var n=null,r=null;function a(i){var u=cn(i,1),l=u[0].target;if(!!document.documentElement.contains(l)){var c=l.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 IW(a);return e&&o.observe(e),function(){o.disconnect()}}Nt();var PW=function(e,t){var n=Ct.useRef(!1),r=Ct.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 NW(e){return typeof e!="function"?null:e()}function kW(e){return tr(e)!=="object"||!e?null:e}var bbe=function(t,n){var r=t.children,a=t.disabled,o=t.target,i=t.align,u=t.onAlign,l=t.monitorWindowResize,c=t.monitorBufferTime,s=c===void 0?0:c,f=Ct.useRef({}),d=Ct.useRef(),p=Ct.Children.only(r),v=Ct.useRef({});v.current.disabled=a,v.current.target=o,v.current.align=i,v.current.onAlign=u;var b=PW(function(){var T=v.current,P=T.disabled,q=T.target,V=T.align,Z=T.onAlign;if(!P&&q){var W=d.current,ee,J=NW(q),Q=kW(q);f.current.element=J,f.current.point=Q,f.current.align=V;var ue=document,G=ue.activeElement;return J&&FO(J)?ee=MD(W,J,V):Q&&(ee=ZO(W,Q,V)),AW(G,W),Z&&ee&&Z(W,ee),!0}return!1},s),g=cn(b,2),D=g[0],C=g[1],S=Ct.useRef({cancel:function(){}}),I=Ct.useRef({cancel:function(){}});Ct.useEffect(function(){var T=NW(o),P=kW(o);d.current!==I.current.element&&(I.current.cancel(),I.current.element=d.current,I.current.cancel=Px(d.current,D)),(f.current.element!==T||!LW(f.current.point,P)||!(0,jW.default)(f.current.align,i))&&(D(),S.current.element!==T&&(S.current.cancel(),S.current.element=T,S.current.cancel=Px(T,D)))}),Ct.useEffect(function(){a?C():D()},[a]);var A=Ct.useRef(null);return Ct.useEffect(function(){l?A.current||(A.current=zc(window,"resize",D)):A.current&&(A.current.remove(),A.current=null)},[l]),Ct.useEffect(function(){return function(){S.current.cancel(),I.current.cancel(),A.current&&A.current.remove(),C()}},[]),Ct.useImperativeHandle(n,function(){return{forceAlign:function(){return D(!0)}}}),Ct.isValidElement(p)&&(p=Ct.cloneElement(p,{ref:lD(p.ref,d)})),p},OW=Ct.forwardRef(bbe);OW.displayName="Align";var UW=OW;var HW=UW;Nt();var wbe=Eu()?Cv:Fn,jx=wbe;var qW=Vt(wf());function bh(){"use strict";bh=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r=typeof Symbol=="function"?Symbol:{},a=r.iterator||"@@iterator",o=r.asyncIterator||"@@asyncIterator",i=r.toStringTag||"@@toStringTag";function u(Z,W,ee){return Object.defineProperty(Z,W,{value:ee,enumerable:!0,configurable:!0,writable:!0}),Z[W]}try{u({},"")}catch{u=function(ee,J,Q){return ee[J]=Q}}function l(Z,W,ee,J){var Q=W&&W.prototype instanceof f?W:f,ue=Object.create(Q.prototype),G=new P(J||[]);return ue._invoke=function(ne,de,Ce){var Fe="suspendedStart";return function(N,F){if(Fe==="executing")throw new Error("Generator is already running");if(Fe==="completed"){if(N==="throw")throw F;return V()}for(Ce.method=N,Ce.arg=F;;){var B=Ce.delegate;if(B){var X=I(B,Ce);if(X){if(X===s)continue;return X}}if(Ce.method==="next")Ce.sent=Ce._sent=Ce.arg;else if(Ce.method==="throw"){if(Fe==="suspendedStart")throw Fe="completed",Ce.arg;Ce.dispatchException(Ce.arg)}else Ce.method==="return"&&Ce.abrupt("return",Ce.arg);Fe="executing";var K=c(ne,de,Ce);if(K.type==="normal"){if(Fe=Ce.done?"completed":"suspendedYield",K.arg===s)continue;return{value:K.arg,done:Ce.done}}K.type==="throw"&&(Fe="completed",Ce.method="throw",Ce.arg=K.arg)}}}(Z,ee,G),ue}function c(Z,W,ee){try{return{type:"normal",arg:Z.call(W,ee)}}catch(J){return{type:"throw",arg:J}}}e.wrap=l;var s={};function f(){}function d(){}function p(){}var v={};u(v,a,function(){return this});var b=Object.getPrototypeOf,g=b&&b(b(q([])));g&&g!==t&&n.call(g,a)&&(v=g);var D=p.prototype=f.prototype=Object.create(v);function C(Z){["next","throw","return"].forEach(function(W){u(Z,W,function(ee){return this._invoke(W,ee)})})}function S(Z,W){function ee(Q,ue,G,ne){var de=c(Z[Q],Z,ue);if(de.type!=="throw"){var Ce=de.arg,Fe=Ce.value;return Fe&&tr(Fe)=="object"&&n.call(Fe,"__await")?W.resolve(Fe.__await).then(function(N){ee("next",N,G,ne)},function(N){ee("throw",N,G,ne)}):W.resolve(Fe).then(function(N){Ce.value=N,G(Ce)},function(N){return ee("throw",N,G,ne)})}ne(de.arg)}var J;this._invoke=function(Q,ue){function G(){return new W(function(ne,de){ee(Q,ue,ne,de)})}return J=J?J.then(G,G):G()}}function I(Z,W){var ee=Z.iterator[W.method];if(ee===void 0){if(W.delegate=null,W.method==="throw"){if(Z.iterator.return&&(W.method="return",W.arg=void 0,I(Z,W),W.method==="throw"))return s;W.method="throw",W.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var J=c(ee,Z.iterator,W.arg);if(J.type==="throw")return W.method="throw",W.arg=J.arg,W.delegate=null,s;var Q=J.arg;return Q?Q.done?(W[Z.resultName]=Q.value,W.next=Z.nextLoc,W.method!=="return"&&(W.method="next",W.arg=void 0),W.delegate=null,s):Q:(W.method="throw",W.arg=new TypeError("iterator result is not an object"),W.delegate=null,s)}function A(Z){var W={tryLoc:Z[0]};1 in Z&&(W.catchLoc=Z[1]),2 in Z&&(W.finallyLoc=Z[2],W.afterLoc=Z[3]),this.tryEntries.push(W)}function T(Z){var W=Z.completion||{};W.type="normal",delete W.arg,Z.completion=W}function P(Z){this.tryEntries=[{tryLoc:"root"}],Z.forEach(A,this),this.reset(!0)}function q(Z){if(Z){var W=Z[a];if(W)return W.call(Z);if(typeof Z.next=="function")return Z;if(!isNaN(Z.length)){var ee=-1,J=function Q(){for(;++ee=0;--Q){var ue=this.tryEntries[Q],G=ue.completion;if(ue.tryLoc==="root")return J("end");if(ue.tryLoc<=this.prev){var ne=n.call(ue,"catchLoc"),de=n.call(ue,"finallyLoc");if(ne&&de){if(this.prev=0;--J){var Q=this.tryEntries[J];if(Q.tryLoc<=this.prev&&n.call(Q,"finallyLoc")&&this.prev=0;--ee){var J=this.tryEntries[ee];if(J.finallyLoc===W)return this.complete(J.completion,J.afterLoc),T(J),s}},catch:function(W){for(var ee=this.tryEntries.length-1;ee>=0;--ee){var J=this.tryEntries[ee];if(J.tryLoc===W){var Q=J.completion;if(Q.type==="throw"){var ue=Q.arg;T(J)}return ue}}throw new Error("illegal catch attempt")},delegateYield:function(W,ee,J){return this.delegate={iterator:q(W),resultName:ee,nextLoc:J},this.method==="next"&&(this.arg=void 0),s}},e}function BW(e,t,n,r,a,o,i){try{var u=e[o](i),l=u.value}catch(c){n(c);return}u.done?t(l):Promise.resolve(l).then(r,a)}function Nx(e){return function(){var t=this,n=arguments;return new Promise(function(r,a){var o=e.apply(t,n);function i(l){BW(o,r,a,i,u,"next",l)}function u(l){BW(o,r,a,i,u,"throw",l)}i(void 0)})}}Nt();var WW=["measure","alignPre","align",null,"motion"],zW=function(e,t){var n=yl(null),r=cn(n,2),a=r[0],o=r[1],i=Qt();function u(s){o(s,!0)}function l(){go.cancel(i.current)}function c(s){l(),i.current=go(function(){u(function(f){switch(a){case"align":return"motion";case"motion":return"stable";default:}return f}),s==null||s()})}return Fn(function(){u("measure")},[e]),Fn(function(){switch(a){case"measure":t();break;default:}a&&(i.current=go(Nx(bh().mark(function s(){var f,d;return bh().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:f=WW.indexOf(a),d=WW[f+1],d&&f!==-1&&u(d);case 3:case"end":return v.stop()}},s)}))))},[a]),Fn(function(){return function(){l()}},[]),[a,c]};Nt();var GW=function(e){var t=Fi({width:0,height:0}),n=cn(t,2),r=n[0],a=n[1];function o(u){a({width:u.offsetWidth,height:u.offsetHeight})}var i=Rv(function(){var u={};if(e){var l=r.width,c=r.height;e.indexOf("height")!==-1&&c?u.height=c:e.indexOf("minHeight")!==-1&&c&&(u.minHeight=c),e.indexOf("width")!==-1&&l?u.width=l:e.indexOf("minWidth")!==-1&&l&&(u.minWidth=l)}return u},[e,r]);return[i,o]};var $W=po(function(e,t){var n=e.visible,r=e.prefixCls,a=e.className,o=e.style,i=e.children,u=e.zIndex,l=e.stretch,c=e.destroyPopupOnHide,s=e.forceRender,f=e.align,d=e.point,p=e.getRootDomNode,v=e.getClassNameFromAlign,b=e.onAlign,g=e.onMouseEnter,D=e.onMouseLeave,C=e.onMouseDown,S=e.onTouchStart,I=e.onClick,A=Qt(),T=Qt(),P=Fi(),q=cn(P,2),V=q[0],Z=q[1],W=GW(l),ee=cn(W,2),J=ee[0],Q=ee[1];function ue(){l&&Q(p())}var G=zW(n,ue),ne=cn(G,2),de=ne[0],Ce=ne[1],Fe=Fi(0),N=cn(Fe,2),F=N[0],B=N[1],X=Qt();jx(function(){de==="alignPre"&&B(0)},[de]);function K(){return d||p}function L(){var ce;(ce=A.current)===null||ce===void 0||ce.forceAlign()}function Y(ce,Me){var Re=v(Me);V!==Re&&Z(Re),B(function(Ve){return Ve+1}),de==="align"&&(b==null||b(ce,Me))}jx(function(){de==="align"&&(F<2?L():Ce(function(){var ce;(ce=X.current)===null||ce===void 0||ce.call(X)}))},[F]);var O=gt({},wD(e));["onAppearEnd","onEnterEnd","onLeaveEnd"].forEach(function(ce){var Me=O[ce];O[ce]=function(Re,Ve){return Ce(),Me==null?void 0:Me(Re,Ve)}});function le(){return new Promise(function(ce){X.current=ce})}Fn(function(){!O.motionName&&de==="motion"&&Ce()},[O.motionName,de]),ol(t,function(){return{forceAlign:L,getElement:function(){return T.current}}});var ie=gt(gt({},J),{},{zIndex:u,opacity:de==="motion"||de==="stable"||!n?void 0:0,pointerEvents:!n&&de!=="stable"?"none":void 0},o),pe=!0;(f==null?void 0:f.points)&&(de==="align"||de==="stable")&&(pe=!1);var _e=i;return Os.count(i)>1&&(_e=tn("div",{className:"".concat(r,"-content")},i)),tn(Up,Ye({visible:n,ref:T,leavedClassName:"".concat(r,"-hidden")},O,{onAppearPrepare:le,onEnterPrepare:le,removeOnLeave:c,forceRender:s}),function(ce,Me){var Re=ce.className,Ve=ce.style,Se=(0,qW.default)(r,a,V,Re);return tn(HW,{target:K(),key:"popup",ref:A,monitorWindowResize:!0,disabled:pe,align:f,onAlign:Y},tn("div",{ref:Me,className:Se,onMouseEnter:g,onMouseLeave:D,onMouseDownCapture:C,onTouchStartCapture:S,onClick:I,style:gt(gt({},Ve),ie)},_e))})});$W.displayName="PopupInner";var VW=$W;Nt();var JW=Vt(wf()),XW=po(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 u=i.popupClassName,l=i.popupStyle,c=i.popupMotion,s=c===void 0?{}:c,f=i.popupRender,d=e.onClick,p=Qt();ol(t,function(){return{forceAlign:function(){},getElement:function(){return p.current}}});var v=gt({zIndex:a},l),b=o;return Os.count(o)>1&&(b=tn("div",{className:"".concat(n,"-content")},o)),f&&(b=f(b)),tn(Up,Ye({visible:r,ref:p,removeOnLeave:!0},s),function(g,D){var C=g.className,S=g.style,I=(0,JW.default)(n,u,C);return tn("div",{ref:D,className:I,onClick:d,style:gt(gt({},S),v)},b)})});XW.displayName="MobilePopupInner";var YW=XW;var Cbe=["visible","mobile"],ZW=po(function(e,t){var n=e.visible,r=e.mobile,a=Er(e,Cbe),o=Fi(n),i=cn(o,2),u=i[0],l=i[1],c=Fi(!1),s=cn(c,2),f=s[0],d=s[1],p=gt(gt({},a),{},{visible:u});Fn(function(){l(n),n&&r&&d(dO())},[n,r]);var v=f?tn(YW,Ye({},p,{mobile:r,ref:t})):tn(VW,Ye({},p,{ref:t}));return tn("div",null,tn(nx,p),v)});ZW.displayName="Popup";var QW=ZW;Nt();var Rbe=Gw(null),kx=Rbe;function Ox(){}function xbe(){return""}function Tbe(e){return e?e.ownerDocument:window.document}var Ebe=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];function Fbe(e){var t=function(n){er(a,n);var r=Df(a);function a(o){var i;Qn(this,a),i=r.call(this,o),i.popupRef=b_(),i.triggerRef=b_(),i.portalContainer=void 0,i.attachId=void 0,i.clickOutsideHandler=void 0,i.touchOutsideHandler=void 0,i.contextMenuOutsideHandler1=void 0,i.contextMenuOutsideHandler2=void 0,i.mouseDownTimeout=void 0,i.focusTime=void 0,i.preClickTime=void 0,i.preTouchTime=void 0,i.delayTimer=void 0,i.hasPopupMouseDown=void 0,i.onMouseEnter=function(l){var c=i.props.mouseEnterDelay;i.fireEvents("onMouseEnter",l),i.delaySetPopupVisible(!0,c,c?null:l)},i.onMouseMove=function(l){i.fireEvents("onMouseMove",l),i.setPoint(l)},i.onMouseLeave=function(l){i.fireEvents("onMouseLeave",l),i.delaySetPopupVisible(!1,i.props.mouseLeaveDelay)},i.onPopupMouseEnter=function(){i.clearDelayTimer()},i.onPopupMouseLeave=function(l){var c;l.relatedTarget&&!l.relatedTarget.setTimeout&&bf((c=i.popupRef.current)===null||c===void 0?void 0:c.getElement(),l.relatedTarget)||i.delaySetPopupVisible(!1,i.props.mouseLeaveDelay)},i.onFocus=function(l){i.fireEvents("onFocus",l),i.clearDelayTimer(),i.isFocusToShow()&&(i.focusTime=Date.now(),i.delaySetPopupVisible(!0,i.props.focusDelay))},i.onMouseDown=function(l){i.fireEvents("onMouseDown",l),i.preClickTime=Date.now()},i.onTouchStart=function(l){i.fireEvents("onTouchStart",l),i.preTouchTime=Date.now()},i.onBlur=function(l){i.fireEvents("onBlur",l),i.clearDelayTimer(),i.isBlurToHide()&&i.delaySetPopupVisible(!1,i.props.blurDelay)},i.onContextMenu=function(l){l.preventDefault(),i.fireEvents("onContextMenu",l),i.setPopupVisible(!0,l)},i.onContextMenuClose=function(){i.isContextMenuToShow()&&i.close()},i.onClick=function(l){if(i.fireEvents("onClick",l),i.focusTime){var c;if(i.preClickTime&&i.preTouchTime?c=Math.min(i.preClickTime,i.preTouchTime):i.preClickTime?c=i.preClickTime:i.preTouchTime&&(c=i.preTouchTime),Math.abs(c-i.focusTime)<20)return;i.focusTime=0}i.preClickTime=0,i.preTouchTime=0,i.isClickToShow()&&(i.isClickToHide()||i.isBlurToHide())&&l&&l.preventDefault&&l.preventDefault();var s=!i.state.popupVisible;(i.isClickToHide()&&!s||s&&i.isClickToShow())&&i.setPopupVisible(!i.state.popupVisible,l)},i.onPopupMouseDown=function(){if(i.hasPopupMouseDown=!0,clearTimeout(i.mouseDownTimeout),i.mouseDownTimeout=window.setTimeout(function(){i.hasPopupMouseDown=!1},0),i.context){var l;(l=i.context).onPopupMouseDown.apply(l,arguments)}},i.onDocumentClick=function(l){if(!(i.props.mask&&!i.props.maskClosable)){var c=l.target,s=i.getRootDomNode(),f=i.getPopupDomNode();(!bf(s,c)||i.isContextMenuOnly())&&!bf(f,c)&&!i.hasPopupMouseDown&&i.close()}},i.getRootDomNode=function(){var l=i.props.getTriggerDOMNode;if(l)return l(i.triggerRef.current);try{var c=rh(i.triggerRef.current);if(c)return c}catch{}return mo.findDOMNode(bc(i))},i.getPopupClassNameFromAlign=function(l){var c=[],s=i.props,f=s.popupPlacement,d=s.builtinPlacements,p=s.prefixCls,v=s.alignPoint,b=s.getPopupClassNameFromAlign;return f&&d&&c.push(fO(d,p,l,v)),b&&c.push(b(l)),c.join(" ")},i.getComponent=function(){var l=i.props,c=l.prefixCls,s=l.destroyPopupOnHide,f=l.popupClassName,d=l.onPopupAlign,p=l.popupMotion,v=l.popupAnimation,b=l.popupTransitionName,g=l.popupStyle,D=l.mask,C=l.maskAnimation,S=l.maskTransitionName,I=l.maskMotion,A=l.zIndex,T=l.popup,P=l.stretch,q=l.alignPoint,V=l.mobile,Z=l.forceRender,W=l.onPopupClick,ee=i.state,J=ee.popupVisible,Q=ee.point,ue=i.getPopupAlign(),G={};return i.isMouseEnterToShow()&&(G.onMouseEnter=i.onPopupMouseEnter),i.isMouseLeaveToHide()&&(G.onMouseLeave=i.onPopupMouseLeave),G.onMouseDown=i.onPopupMouseDown,G.onTouchStart=i.onPopupMouseDown,tn(QW,Ye({prefixCls:c,destroyPopupOnHide:s,visible:J,point:q&&Q,className:f,align:ue,onAlign:d,animation:v,getClassNameFromAlign:i.getPopupClassNameFromAlign},G,{stretch:P,getRootDomNode:i.getRootDomNode,style:g,mask:D,zIndex:A,transitionName:b,maskAnimation:C,maskTransitionName:S,maskMotion:I,ref:i.popupRef,motion:p,mobile:V,forceRender:Z,onClick:W}),typeof T=="function"?T():T)},i.attachParent=function(l){go.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(l):i.attachId=go(function(){i.attachParent(l)})},i.getContainer=function(){if(!i.portalContainer){var l=i.props.getDocument,c=l(i.getRootDomNode()).createElement("div");c.style.position="absolute",c.style.top="0",c.style.left="0",c.style.width="100%",i.portalContainer=c}return i.attachParent(i.portalContainer),i.portalContainer},i.setPoint=function(l){var c=i.props.alignPoint;!c||!l||i.setState({point:{pageX:l.pageX,pageY:l.pageY}})},i.handlePortalUpdate=function(){i.state.prevPopupVisible!==i.state.popupVisible&&i.props.afterPopupVisibleChange(i.state.popupVisible)},i.triggerContextValue={onPopupMouseDown:i.onPopupMouseDown};var u;return"popupVisible"in o?u=!!o.popupVisible:u=!!o.defaultPopupVisible,i.state={prevPopupVisible:u,popupVisible:u},Ebe.forEach(function(l){i["fire".concat(l)]=function(c){i.fireEvents(l,c)}}),i}return Kn(a,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var i=this.props,u=this.state;if(u.popupVisible){var l;!this.clickOutsideHandler&&(this.isClickToHide()||this.isContextMenuToShow())&&(l=i.getDocument(this.getRootDomNode()),this.clickOutsideHandler=zc(l,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(l=l||i.getDocument(this.getRootDomNode()),this.touchOutsideHandler=zc(l,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(l=l||i.getDocument(this.getRootDomNode()),this.contextMenuOutsideHandler1=zc(l,"scroll",this.onContextMenuClose)),!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=zc(window,"blur",this.onContextMenuClose));return}this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),go.cancel(this.attachId)}},{key:"getPopupDomNode",value:function(){var i;return((i=this.popupRef.current)===null||i===void 0?void 0:i.getElement())||null}},{key:"getPopupAlign",value:function(){var i=this.props,u=i.popupPlacement,l=i.popupAlign,c=i.builtinPlacements;return u&&c?sO(c,u,l):l}},{key:"setPopupVisible",value:function(i,u){var l=this.props.alignPoint,c=this.state.popupVisible;this.clearDelayTimer(),c!==i&&("popupVisible"in this.props||this.setState({popupVisible:i,prevPopupVisible:c}),this.props.onPopupVisibleChange(i)),l&&u&&i&&this.setPoint(u)}},{key:"delaySetPopupVisible",value:function(i,u,l){var c=this,s=u*1e3;if(this.clearDelayTimer(),s){var f=l?{pageX:l.pageX,pageY:l.pageY}:null;this.delayTimer=window.setTimeout(function(){c.setPopupVisible(i,f),c.clearDelayTimer()},s)}else this.setPopupVisible(i,l)}},{key:"clearDelayTimer",value:function(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)}},{key:"clearOutsideHandler",value:function(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextMenuOutsideHandler1&&(this.contextMenuOutsideHandler1.remove(),this.contextMenuOutsideHandler1=null),this.contextMenuOutsideHandler2&&(this.contextMenuOutsideHandler2.remove(),this.contextMenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)}},{key:"createTwoChains",value:function(i){var u=this.props.children.props,l=this.props;return u[i]&&l[i]?this["fire".concat(i)]:u[i]||l[i]}},{key:"isClickToShow",value:function(){var i=this.props,u=i.action,l=i.showAction;return u.indexOf("click")!==-1||l.indexOf("click")!==-1}},{key:"isContextMenuOnly",value:function(){var i=this.props.action;return i==="contextMenu"||i.length===1&&i[0]==="contextMenu"}},{key:"isContextMenuToShow",value:function(){var i=this.props,u=i.action,l=i.showAction;return u.indexOf("contextMenu")!==-1||l.indexOf("contextMenu")!==-1}},{key:"isClickToHide",value:function(){var i=this.props,u=i.action,l=i.hideAction;return u.indexOf("click")!==-1||l.indexOf("click")!==-1}},{key:"isMouseEnterToShow",value:function(){var i=this.props,u=i.action,l=i.showAction;return u.indexOf("hover")!==-1||l.indexOf("mouseEnter")!==-1}},{key:"isMouseLeaveToHide",value:function(){var i=this.props,u=i.action,l=i.hideAction;return u.indexOf("hover")!==-1||l.indexOf("mouseLeave")!==-1}},{key:"isFocusToShow",value:function(){var i=this.props,u=i.action,l=i.showAction;return u.indexOf("focus")!==-1||l.indexOf("focus")!==-1}},{key:"isBlurToHide",value:function(){var i=this.props,u=i.action,l=i.hideAction;return u.indexOf("focus")!==-1||l.indexOf("blur")!==-1}},{key:"forcePopupAlign",value:function(){if(this.state.popupVisible){var i;(i=this.popupRef.current)===null||i===void 0||i.forceAlign()}}},{key:"fireEvents",value:function(i,u){var l=this.props.children.props[i];l&&l(u);var c=this.props[i];c&&c(u)}},{key:"close",value:function(){this.setPopupVisible(!1)}},{key:"render",value:function(){var i=this.state.popupVisible,u=this.props,l=u.children,c=u.forceRender,s=u.alignPoint,f=u.className,d=u.autoDestroy,p=Os.only(l),v={key:"trigger"};this.isContextMenuToShow()?v.onContextMenu=this.onContextMenu:v.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(v.onClick=this.onClick,v.onMouseDown=this.onMouseDown,v.onTouchStart=this.onTouchStart):(v.onClick=this.createTwoChains("onClick"),v.onMouseDown=this.createTwoChains("onMouseDown"),v.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(v.onMouseEnter=this.onMouseEnter,s&&(v.onMouseMove=this.onMouseMove)):v.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?v.onMouseLeave=this.onMouseLeave:v.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(v.onFocus=this.onFocus,v.onBlur=this.onBlur):(v.onFocus=this.createTwoChains("onFocus"),v.onBlur=this.createTwoChains("onBlur"));var b=(0,KW.default)(p&&p.props&&p.props.className,f);b&&(v.className=b);var g=gt({},v);cD(p)&&(g.ref=lD(this.triggerRef,p.ref));var D=bv(p,g),C;return(i||this.popupRef.current||c)&&(C=tn(e,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!i&&d&&(C=null),tn(kx.Provider,{value:this.triggerContextValue},D,C)}}],[{key:"getDerivedStateFromProps",value:function(i,u){var l=i.popupVisible,c={};return l!==void 0&&u.popupVisible!==l&&(c.popupVisible=l,c.prevPopupVisible=u.popupVisible),c}}]),a}(Us);return t.contextType=kx,t.defaultProps={prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:xbe,getDocument:Tbe,onPopupVisibleChange:Ox,afterPopupVisibleChange:Ox,onPopupAlign:Ox,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 ez=Fbe(cO);var Zo={adjustX:1,adjustY:1},Qo=[0,0],tz={left:{points:["cr","cl"],overflow:Zo,offset:[-4,0],targetOffset:Qo},right:{points:["cl","cr"],overflow:Zo,offset:[4,0],targetOffset:Qo},top:{points:["bc","tc"],overflow:Zo,offset:[0,-4],targetOffset:Qo},bottom:{points:["tc","bc"],overflow:Zo,offset:[0,4],targetOffset:Qo},topLeft:{points:["bl","tl"],overflow:Zo,offset:[0,-4],targetOffset:Qo},leftTop:{points:["tr","tl"],overflow:Zo,offset:[-4,0],targetOffset:Qo},topRight:{points:["br","tr"],overflow:Zo,offset:[0,-4],targetOffset:Qo},rightTop:{points:["tl","tr"],overflow:Zo,offset:[4,0],targetOffset:Qo},bottomRight:{points:["tr","br"],overflow:Zo,offset:[0,4],targetOffset:Qo},rightBottom:{points:["bl","br"],overflow:Zo,offset:[4,0],targetOffset:Qo},bottomLeft:{points:["tl","bl"],overflow:Zo,offset:[0,4],targetOffset:Qo},leftBottom:{points:["br","bl"],overflow:Zo,offset:[-4,0],targetOffset:Qo}};Nt();var nz=Vt(wf());function UD(e){var t=e.showArrow,n=e.arrowContent,r=e.children,a=e.prefixCls,o=e.id,i=e.overlayInnerStyle,u=e.className,l=e.style;return tn("div",{className:(0,nz.default)("".concat(a,"-content"),u),style:l},t!==!1&&tn("div",{className:"".concat(a,"-arrow"),key:"arrow"},n),tn("div",{className:"".concat(a,"-inner"),id:o,role:"tooltip",style:i},typeof r=="function"?r():r))}var Sbe=function(t,n){var r=t.overlayClassName,a=t.trigger,o=a===void 0?["hover"]:a,i=t.mouseEnterDelay,u=i===void 0?0:i,l=t.mouseLeaveDelay,c=l===void 0?.1:l,s=t.overlayStyle,f=t.prefixCls,d=f===void 0?"rc-tooltip":f,p=t.children,v=t.onVisibleChange,b=t.afterVisibleChange,g=t.transitionName,D=t.animation,C=t.motion,S=t.placement,I=S===void 0?"right":S,A=t.align,T=A===void 0?{}:A,P=t.destroyTooltipOnHide,q=P===void 0?!1:P,V=t.defaultVisible,Z=t.getTooltipContainer,W=t.overlayInnerStyle,ee=t.arrowContent,J=t.overlay,Q=t.id,ue=t.showArrow,G=Er(t,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"]),ne=Qt(null);ol(n,function(){return ne.current});var de=gt({},G);"visible"in t&&(de.popupVisible=t.visible);var Ce=function(){return tn(UD,{showArrow:ue,arrowContent:ee,key:"content",prefixCls:d,id:Q,overlayInnerStyle:W},J)},Fe=!1,N=!1;if(typeof q=="boolean")Fe=q;else if(q&&tr(q)==="object"){var F=q.keepParent;Fe=F===!0,N=F===!1}return tn(ez,Ye({popupClassName:r,prefixCls:d,popup:Ce,action:o,builtinPlacements:tz,popupPlacement:I,ref:ne,popupAlign:T,getPopupContainer:Z,onPopupVisibleChange:v,afterPopupVisibleChange:b,popupTransitionName:g,popupAnimation:D,popupMotion:C,defaultPopupVisible:V,destroyPopupOnHide:Fe,autoDestroy:N,mouseLeaveDelay:c,popupStyle:s,mouseEnterDelay:u},de),p)},rz=po(Sbe);var az=rz;var iz=e=>Ct.createElement(az,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(()=>Vt(oz())).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)}Nt();var uz=class extends Ct.Component{componentDidUpdate(t){this.props.componentDidUpdate(t.deps)}render(){return this.props.children}},lz=uz;var Ibe=kn();var cz=function(e){return"ref:"+Cr(e)(Mn.value)},sz=function(e){var t=cz(e);return function(n){return Ibe(_v(t)(n))}},fz=function(e){var t=cz(e);return function(n){return Bw(t)(n)}};var Abe=ll(),dz=Tn(an)(Uo),pz=oe(hr),Pbe=ef(Y_(Bs)),mz={reflectSymbol:function(){return"deps"}},jbe=sz(mz),Nbe=fz(mz),vz=Ge(qe);var kbe=function(e){var t=Abe(e);return function(){return function(){return t(lz)}}},Obe=kbe(kt)()(),hz=function(e){var t=zu(e);return function(n){return function(r){return function(a){return function(o){return Zd(n)(function(i){return r({init:dz(Ii(o(a)))(function(){return pz(a)}),update:function(u){return function(l){return dz(Ii(o(l)))(function(){return pz(l)})}},view:function(u){return function(l){return Obe({componentDidUpdate:Pbe(l)(function(c){var s=t(jbe(c))(a);return s?new j(a):H.value}),deps:Nbe(a)})(i(ge))}}})})}}}}},Ube=hz(B4),_z=function(e){var t=hz(e);return function(n){return function(r){return t("UseEffectPrime")(vz)(n)(r)}}},HD=function(e){return Ube("UseEffect")(vz)(ge)(et(e))};var gz=oe(hr),Hbe=Ge(qe);var Bbe=function(e){return function(t){return function(n){return Zd(e)(function(r){return t({init:gz(n),update:function(a){return function(o){return gz(o)}},view:Jm(r)})})}}},gr=function(e){return Bbe("UseState")(Hbe)(e)};function yz(e){return function(t){return function(){return t.getItem(e)}}}function $c(e){return function(t){return function(n){return function(){n.setItem(e,t)}}}}var Wbe=re(bt);var Vc=function(e){var t=Wbe(Dt),n=yz(e);return function(r){return t(n(r))}};var zbe=Pi(),Gbe=Qd(an)(),qbe=Ft(pn),Xp=En(ir),$be=function(e){return function(t){return function(n){return zbe(gr(H.value))(function(r){return Gbe(HD(qbe(function(){var o=Xp(Vc(t))(Xp(e)(Pr))();if(o instanceof j)return r.value1(new j(o.value0))();if(o instanceof H)return r.value1(new j(n))(),Xp($c(t)(n))(Xp(e)(Pr))();throw new Error("Failed pattern match at Utils.UseStorage (line 37, column 5 - line 42, column 56): "+[o.constructor.name])})))(function(){return _u(new Ke(r.value0,function(a){return function(){return r.value1(new j(a))(),Xp($c(t)(a))(Xp(e)(Pr))()}}))})})}}};var Ux=$be(Li);var Vbe=ll();var Dz="top",BD=function(e){var t=Vbe(e);return function(){return function(){return t(iz)}}};var bz="right";var wh="bottom";var Tf=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),Ch=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}();var Dl=function(){return{"genericTop'":vr.value}}();var Hx=function(e){return e["genericTop'"]},bl=function(e){return{"genericTop'":Hx(e)}};var wl=function(){return{"genericBottom'":vr.value}}();var Rh=function(e){return e["genericBottom'"]},Cl=function(e){return{"genericBottom'":Rh(e)}};var Rl=function(e){return{"genericBottom'":new fn(Rh(e))}},wz=function(e){var t=j1(e);return function(n){return t(Rh(n))}};var Jc=re(Ze),WD=Gn();var Bx=function(e){return e["genericToEnum'"]};var zD=function(e){return e["genericSucc'"]},Cz=function(e){var t=j1(e),n=G4(e);return function(r){var a=Jc(t),o=zD(r);return function(i){return a(o(n(i)))}}},Wx=function(e){return e["genericPred'"]};var zx=function(e){return e["genericFromEnum'"]};var xl=function(e){var t=Wx(e),n=zD(e);return function(r){var a=Hx(r);return function(o){var i=Wx(o),u=zD(o);return function(l){var c=Rh(l);return{"genericPred'":function(s){if(s instanceof fn)return Jc(fn.create)(t(s.value0));if(s instanceof Tt){var f=i(s.value0);if(f instanceof H)return new j(new fn(a));if(f instanceof j)return new j(new Tt(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 fn){var f=n(s.value0);if(f instanceof H)return new j(new Tt(c));if(f instanceof j)return new j(new fn(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 Tt)return Jc(Tt.create)(u(s.value0));throw new Error("Failed pattern match at Data.Enum.Generic (line 33, column 18 - line 37, column 36): "+[s.constructor.name])}}}}}};var Tl={"genericPred'":function(e){return H.value},"genericSucc'":function(e){return H.value}},El=function(e){var t=Wx(e),n=zD(e);return{"genericPred'":function(r){return Jc(P1)(t(r))},"genericSucc'":function(r){return Jc(P1)(n(r))}}};var Gx=function(e){return e["genericCardinality'"]};var Fl=function(e){var t=Gx(e),n=Bx(e),r=zx(e);return function(a){var o=Bx(a),i=zx(a);return{"genericCardinality'":WD(t)+WD(Gx(a))|0,"genericToEnum'":function(u){var l=function(c){if(u>=0&&u=0&&e<100&&u.setUTCFullYear(e),u.getTime()};function nG(e,t){var n=lT(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond),r=lT(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return n-r}function rG(e){return function(t){return function(n){return function(r){var a=lT(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 j2e=function(e,t,n){var r=new Date(Date.UTC(e,t,n));return e>=0&&e<100&&r.setUTCFullYear(e),r};function aG(e,t,n,r){var a=j2e(t,n-1,r);return e(a.getUTCFullYear())(a.getUTCMonth()+1)(a.getUTCDate())}var cT=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 Do=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}(),ti=function(){function e(){}return e.value=new e,e}(),ni=function(){function e(){}return e.value=new e,e}(),ri=function(){function e(){}return e.value=new e,e}(),ai=function(){function e(){}return e.value=new e,e}(),oi=function(){function e(){}return e.value=new e,e}(),ii=function(){function e(){}return e.value=new e,e}(),ui=function(){function e(){}return e.value=new e,e}(),li=function(){function e(){}return e.value=new e,e}(),Hi=function(){function e(){}return e.value=new e,e}();var KD=xn,eb=xn,oG=xa;var sT={eq:function(e){return function(t){return e instanceof Do&&t instanceof Do||e instanceof Ko&&t instanceof Ko||e instanceof ei&&t instanceof ei||e instanceof ti&&t instanceof ti||e instanceof ni&&t instanceof ni||e instanceof ri&&t instanceof ri||e instanceof ai&&t instanceof ai||e instanceof oi&&t instanceof oi||e instanceof ii&&t instanceof ii||e instanceof ui&&t instanceof ui||e instanceof li&&t instanceof li||e instanceof Hi&&t instanceof Hi}}},tb={compare:function(e){return function(t){if(e instanceof Do&&t instanceof Do)return ct.value;if(e instanceof Do)return Ne.value;if(t instanceof Do)return je.value;if(e instanceof Ko&&t instanceof Ko)return ct.value;if(e instanceof Ko)return Ne.value;if(t instanceof Ko)return je.value;if(e instanceof ei&&t instanceof ei)return ct.value;if(e instanceof ei)return Ne.value;if(t instanceof ei)return je.value;if(e instanceof ti&&t instanceof ti)return ct.value;if(e instanceof ti)return Ne.value;if(t instanceof ti)return je.value;if(e instanceof ni&&t instanceof ni)return ct.value;if(e instanceof ni)return Ne.value;if(t instanceof ni)return je.value;if(e instanceof ri&&t instanceof ri)return ct.value;if(e instanceof ri)return Ne.value;if(t instanceof ri)return je.value;if(e instanceof ai&&t instanceof ai)return ct.value;if(e instanceof ai)return Ne.value;if(t instanceof ai)return je.value;if(e instanceof oi&&t instanceof oi)return ct.value;if(e instanceof oi)return Ne.value;if(t instanceof oi)return je.value;if(e instanceof ii&&t instanceof ii)return ct.value;if(e instanceof ii)return Ne.value;if(t instanceof ii)return je.value;if(e instanceof ui&&t instanceof ui)return ct.value;if(e instanceof ui)return Ne.value;if(t instanceof ui)return je.value;if(e instanceof li&&t instanceof li)return ct.value;if(e instanceof li)return Ne.value;if(t instanceof li)return je.value;if(e instanceof Hi&&t instanceof Hi)return ct.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 sT}},iG=xa,uG=function(){return{bottom:-271820|0,top:275759,Ord0:function(){return KD}}}();var lG=function(){return{bottom:Do.value,top:Hi.value,Ord0:function(){return tb}}}(),Pa={cardinality:547580,toEnum:function(e){if(e>=(-271820|0)&&e<=275759)return new j(e);if(lt)return H.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 uG},Enum1:function(){return N2e(0)}},N2e=cT("enumYear","Data.Date.Component",function(){return{succ:function(){var e=At(Pa),t=Rt(Pa);return function(n){return e(function(r){return r+1|0}(t(n)))}}(),pred:function(){var e=At(Pa),t=Rt(Pa);return function(n){return e(function(r){return r-1|0}(t(n)))}}(),Ord0:function(){return KD}}});var Ur={cardinality:12,toEnum:function(e){return e===1?new j(Do.value):e===2?new j(Ko.value):e===3?new j(ei.value):e===4?new j(ti.value):e===5?new j(ni.value):e===6?new j(ri.value):e===7?new j(ai.value):e===8?new j(oi.value):e===9?new j(ii.value):e===10?new j(ui.value):e===11?new j(li.value):e===12?new j(Hi.value):H.value},fromEnum:function(e){if(e instanceof Do)return 1;if(e instanceof Ko)return 2;if(e instanceof ei)return 3;if(e instanceof ti)return 4;if(e instanceof ni)return 5;if(e instanceof ri)return 6;if(e instanceof ai)return 7;if(e instanceof oi)return 8;if(e instanceof ii)return 9;if(e instanceof ui)return 10;if(e instanceof li)return 11;if(e instanceof Hi)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 lG},Enum1:function(){return k2e(0)}},k2e=cT("enumMonth","Data.Date.Component",function(){return{succ:function(){var e=At(Ur),t=Rt(Ur);return function(n){return e(function(r){return r+1|0}(t(n)))}}(),pred:function(){var e=At(Ur),t=Rt(Ur);return function(n){return e(function(r){return r-1|0}(t(n)))}}(),Ord0:function(){return tb}}});var cG={bottom:1,top:31,Ord0:function(){return eb}},bo={cardinality:31,toEnum:function(e){if(e>=1&&e<=31)return new j(e);if(lt)return H.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 cG},Enum1:function(){return O2e(0)}},O2e=cT("enumDay","Data.Date.Component",function(){return{succ:function(){var e=At(bo),t=Rt(bo);return function(n){return e(function(r){return r+1|0}(t(n)))}}(),pred:function(){var e=At(bo),t=Rt(bo);return function(n){return e(function(r){return r-1|0}(t(n)))}}(),Ord0:function(){return eb}}});var B2e=Rt(Ur),W2e=kn();var z2e=Te(oG),G2e=Te(sT),q2e=Te(iG),$2e=tt(KD),V2e=tt(tb),J2e=tt(eb);var X2e=At(Ur);var gG=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}(),Pl=function(e){return e.value0};var jl=function(e){return e.value1};var nb={eq:function(e){return function(t){return z2e(e.value0)(t.value0)&&G2e(e.value1)(t.value1)&&q2e(e.value2)(t.value2)}}},Y2e=Te(nb),yG={compare:function(e){return function(t){var n=$2e(e.value0)(t.value0);if(n instanceof Ne)return Ne.value;if(n instanceof je)return je.value;var r=V2e(e.value1)(t.value1);return r instanceof Ne?Ne.value:r instanceof je?je.value:J2e(e.value2)(t.value2)}},Eq0:function(){return nb}};var Ff=function(e){return e.value2},Sf=function(e){return function(t){return function(n){var r=function(a){return function(o){return function(i){return new gG(a,W2e(X2e(o)),i)}}};return aG(r,e,B2e(t),n)}}},fT=function(e){return function(t){return function(n){var r=new gG(e,t,n),a=Y2e(Sf(e)(t)(n))(r);return a?new j(r):H.value}}};var rb=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 ab=xn,ob=xn,ib=xn,ub=xn,DG=xa,bG=xa,wG=xa,CG=xa,dT={bottom:0,top:59,Ord0:function(){return ab}},pT={bottom:0,top:59,Ord0:function(){return ob}},mT={bottom:0,top:999,Ord0:function(){return ib}},vT={bottom:0,top:23,Ord0:function(){return ub}},wo={cardinality:60,toEnum:function(e){if(e>=0&&e<=59)return new j(e);if(lt)return H.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 dT},Enum1:function(){return Z2e(0)}},Z2e=rb("enumSecond","Data.Time.Component",function(){return{succ:function(){var e=At(wo),t=Rt(wo);return function(n){return e(function(r){return r+1|0}(t(n)))}}(),pred:function(){var e=At(wo),t=Rt(wo);return function(n){return e(function(r){return r-1|0}(t(n)))}}(),Ord0:function(){return ab}}});var Co={cardinality:60,toEnum:function(e){if(e>=0&&e<=59)return new j(e);if(lt)return H.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 pT},Enum1:function(){return Q2e(0)}},Q2e=rb("enumMinute","Data.Time.Component",function(){return{succ:function(){var e=At(Co),t=Rt(Co);return function(n){return e(function(r){return r+1|0}(t(n)))}}(),pred:function(){var e=At(Co),t=Rt(Co);return function(n){return e(function(r){return r-1|0}(t(n)))}}(),Ord0:function(){return ob}}});var Ro={cardinality:1e3,toEnum:function(e){if(e>=0&&e<=999)return new j(e);if(lt)return H.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 mT},Enum1:function(){return K2e(0)}},K2e=rb("enumMillisecond","Data.Time.Component",function(){return{succ:function(){var e=At(Ro),t=Rt(Ro);return function(n){return e(function(r){return r+1|0}(t(n)))}}(),pred:function(){var e=At(Ro),t=Rt(Ro);return function(n){return e(function(r){return r-1|0}(t(n)))}}(),Ord0:function(){return ib}}});var xo={cardinality:24,toEnum:function(e){if(e>=0&&e<=23)return new j(e);if(lt)return H.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 vT},Enum1:function(){return e4e(0)}},e4e=rb("enumHour","Data.Time.Component",function(){return{succ:function(){var e=At(xo),t=Rt(xo);return function(n){return e(function(r){return r+1|0}(t(n)))}}(),pred:function(){var e=At(xo),t=Rt(xo);return function(n){return e(function(r){return r-1|0}(t(n)))}}(),Ord0:function(){return ub}}});var o4e=Te(CG),i4e=Te(bG),u4e=Te(DG),l4e=Te(wG),c4e=tt(ub),s4e=tt(ob),f4e=tt(ab),d4e=tt(ib);var Xc=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 Mf=function(e){return e.value2},If=function(e){return e.value1},Lf=function(e){return e.value3};var Af=function(e){return e.value0};var hT={eq:function(e){return function(t){return o4e(e.value0)(t.value0)&&i4e(e.value1)(t.value1)&&u4e(e.value2)(t.value2)&&l4e(e.value3)(t.value3)}}},RG={compare:function(e){return function(t){var n=c4e(e.value0)(t.value0);if(n instanceof Ne)return Ne.value;if(n instanceof je)return je.value;var r=s4e(e.value1)(t.value1);if(r instanceof Ne)return Ne.value;if(r instanceof je)return je.value;var a=f4e(e.value2)(t.value2);return a instanceof Ne?Ne.value:a instanceof je?je.value:d4e(e.value3)(t.value3)}},Eq0:function(){return hT}};var m4e=Rt(Pa),v4e=Rt(Ur),h4e=Rt(bo),_4e=Rt(xo),g4e=Rt(Co),y4e=Rt(wo),D4e=Rt(Ro);var b4e=Te(nb),w4e=Te(hT),C4e=tt(yG),R4e=tt(RG),x4e=me(Et),Kp=Ut(ro),_T=re(Ze),T4e=xs(Et),E4e=At(Pa),F4e=At(Ur),S4e=At(bo),M4e=At(xo),I4e=At(Co),L4e=At(wo),A4e=At(Ro),em=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}(),gT=function(e){return{year:m4e(Pl(e.value0)),month:v4e(jl(e.value0)),day:h4e(Ff(e.value0)),hour:_4e(Af(e.value1)),minute:g4e(If(e.value1)),second:y4e(Mf(e.value1)),millisecond:D4e(Lf(e.value1))}};var xG={eq:function(e){return function(t){return b4e(e.value0)(t.value0)&&w4e(e.value1)(t.value1)}}},xh={compare:function(e){return function(t){var n=C4e(e.value0)(t.value0);return n instanceof Ne?Ne.value:n instanceof je?je.value:R4e(e.value1)(t.value1)}},Eq0:function(){return xG}},TG=function(e){var t=Nd(e);return function(n){return function(r){return t(nG(gT(n),gT(r)))}}},Th=function(e){return e.value0};var EG=function(e){var t=F_(e);return function(n){return function(r){return x4e(rG(j.create)(H.value)(t(n))(gT(r)))(function(a){return Kp(_T(em.create)(T4e(Kp(Kp(_T(fT)(E4e(a.year)))(F4e(a.month)))(S4e(a.day)))))(Kp(Kp(Kp(_T(Xc.create)(M4e(a.hour)))(I4e(a.minute)))(L4e(a.second)))(A4e(a.millisecond)))})}}};var FG=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 Hr=function(){function e(){}return e.value=new e,e}(),Fr=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}(),SG=function(){function e(){}return e.value=new e,e}(),yT=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}(),DT=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 lb=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 ci=function(e,t,n,r){if(n instanceof Hr){if(r instanceof Hr)return new Fr(1,1,e,t,n,r);if(r instanceof Fr)return new Fr(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 Fr){if(r instanceof Hr)return new Fr(1+n.value0|0,1+n.value1|0,e,t,n,r);if(r instanceof Fr)return new Fr(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])},j4e=function(){return Jt(DT.create)(SG.value)}(),N4e=function(e){return function(t){return function(n){var r=function(a){var o=!1,i;function u(l){if(l instanceof SG)return o=!0,n(ge);if(l instanceof yT)return o=!0,t(l.value0,l.value1,l.value2);if(l instanceof DT){a=e(l.value1)(l.value0);return}throw new Error("Failed pattern match at Data.Map.Internal (line 940, column 8 - line 946, column 20): "+[l.constructor.name])}for(;!o;)i=u(a);return i};return r}}};var cb=function(e){return function(t){return new Fr(1,1,e,t,Hr.value,Hr.value)}},tm=function(){var e=function(r){if(r instanceof Hr)return 0;if(r instanceof Fr)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,u,l,c){return l instanceof Fr&&l.value0>e(c)?ci(l.value2,l.value3,ci(r,a,o,l.value4),ci(i,u,l.value5,c)):ci(i,u,ci(r,a,o,l),c)},n=function(r,a,o,i,u,l,c){return l instanceof Fr&&e(u)<=l.value0?ci(l.value2,l.value3,ci(o,i,u,l.value4),ci(r,a,l.value5,c)):ci(o,i,u,ci(r,a,l,c))};return function(r,a,o,i){if(o instanceof Hr)return i instanceof Hr?cb(r)(a):i instanceof Fr&&i.value0>1?t(r,a,o,i.value2,i.value3,i.value4,i.value5):ci(r,a,o,i);if(o instanceof Fr){if(i instanceof Fr){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 Hr&&o.value0>1?n(r,a,o.value2,o.value3,o.value4,o.value5,i):ci(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])}}(),bT=FG("unsafeSplit","Data.Map.Internal",function(){return function(e,t,n){if(n instanceof Hr)return new lb(H.value,Hr.value,Hr.value);if(n instanceof Fr){var r=e(t)(n.value2);if(r instanceof Ne){var a=bT(793)(e,t,n.value4);return new lb(a.value0,a.value1,tm(n.value2,n.value3,a.value2,n.value5))}if(r instanceof je){var a=bT(796)(e,t,n.value5);return new lb(a.value0,tm(n.value2,n.value3,n.value4,a.value1),a.value2)}if(r instanceof ct)return new lb(new j(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])}}),k4e=bT(786);var wT=FG("unsafeUnionWith","Data.Map.Internal",function(){return function(e,t,n,r){if(n instanceof Hr)return r;if(r instanceof Hr)return n;if(r instanceof Fr){var a=k4e(e,r.value2,n),o=wT(809)(e,t,a.value1,r.value4),i=wT(810)(e,t,a.value2,r.value5);if(a.value0 instanceof j)return tm(r.value2,t(a.value0.value0)(r.value3),o,i);if(a.value0 instanceof H)return tm(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])}}),O4e=wT(803),U4e=function(e){var t=tt(e);return function(n){return function(r){return function(a){return O4e(t,n,r,a)}}}},MG=function(e){return U4e(e)(et)};var IG=function(e){var t=tt(e);return function(n){var r=function(a){var o=!1,i;function u(l){if(l instanceof Hr)return o=!0,H.value;if(l instanceof Fr){var c=t(n)(l.value2);if(c instanceof Ne){a=l.value4;return}if(c instanceof je){a=l.value5;return}if(c instanceof ct)return o=!0,new j(l.value3);throw new Error("Failed pattern match at Data.Map.Internal (line 283, column 7 - line 286, column 22): "+[c.constructor.name])}throw new Error("Failed pattern match at Data.Map.Internal (line 280, column 8 - line 286, column 22): "+[l.constructor.name])}for(;!o;)i=u(a);return i};return r}};var H4e=function(){var e=function(t){return function(n){var r=t,a=!1,o;function i(u,l){if(l instanceof Hr)return a=!0,u;if(l instanceof Fr){if(l.value5 instanceof Hr){r=new yT(l.value2,l.value3,u),n=l.value4;return}r=new yT(l.value2,l.value3,new DT(l.value5,u)),n=l.value4;return}throw new Error("Failed pattern match at Data.Map.Internal (line 951, column 13 - line 958, column 48): "+[l.constructor.name])}for(;!a;)o=i(r,n);return o}};return e}(),B4e=N4e(H4e);var W4e=function(){var e=function(t,n,r){return new j(new Ke(new Ke(t,n),r))};return B4e(e)(function(t){return H.value})}(),LG=function(e){var t=el(e)(W4e);return function(n){return t(j4e(n))}};var CT=function(e){var t=tt(e);return function(n){return function(r){var a=function(o){if(o instanceof Hr)return cb(n)(r);if(o instanceof Fr){var i=t(n)(o.value2);if(i instanceof Ne)return tm(o.value2,o.value3,a(o.value4),o.value5);if(i instanceof je)return tm(o.value2,o.value3,o.value4,a(o.value5));if(i instanceof ct)return new Fr(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 Eh=function(){return Hr.value}(),AG=function(e){var t=CT(e);return function(n){return Yn(n)(function(r){return function(a){return t(a.value0)(a.value1)(r)}})(Eh)}};var RT=typeof CV!="undefined"&&CV.assetsRoot||typeof global!="undefined"&&global.CV&&global.CV.assetsRoot||"/";var xT=Zu(_d(Ir)),z4e=Ge(qe),G4e=ug()(),sb=function(e){var t=so(e);return function(n){return xr(t(n))}},q4e=function(e){if(xT(sb("http://"))(xT(sb("https://"))(xT(sb("//"))(sb("blob:"))))(e))return e;if(lt)return RT+at(e)(so("/")(e));throw new Error("Failed pattern match at Utils.AppAssets (line 47, column 1 - line 47, column 30): "+[e.constructor.name])},Fh=function(){return function(){return function(e){return function(t){var n=function(a){return z4e},r=n(t)(dS("src")(q4e(t.src))(t));return G4e(e)(r)}}}},$4e=Fh()(),PG=function(e){return function(t){return $4e(e)({src:t})}};var jG=({just:e,nothing:t})=>n=>{try{let r=new Date(n);return isNaN(r.getTime())?t:e(r)}catch{return t}},TT=e=>({year:e.getFullYear(),month:e.getMonth(),day:e.getDate(),hour:e.getHours(),minute:e.getMinutes(),second:e.getSeconds(),millisecond:e.getMilliseconds()}),NG=()=>new Date,kG=(()=>{let e=new Date;return typeof window!="undefined"?()=>e:()=>{let t=new Date;return t-e>1e3&&(e=t),e}})(),OG=e=>()=>new Date(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),V4e=(()=>{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 ywe=function(e,t,n,r,a,o,i){var u=new Date(Date.UTC(e,t,n,r,a,o,i));return e>=0&&e<100&&u.setUTCFullYear(e),u};function qG(e){return function(t){return function(n){var r=n.getTime();return isNaN(r)?t:e(r)}}}function LT(e){return ywe(e.year,e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function $G(e,t){return function(){return t[e]()}}function VG(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 Dwe=kn(),bwe=At(Ur);var mb=function(){var e=function(t){return function(n){return function(r){return function(a){return function(o){return function(i){return function(u){return new em(Sf(t)(Dwe(bwe(n)))(r),new Xc(a,o,i,u))}}}}}}};return VG(e)}();var AT=function(e){if(e>=-86399778816e5&&e<=8639977881599999)return new j(e);if(lt)return H.value;throw new Error("Failed pattern match at Data.DateTime.Instant (line 44, column 1 - line 44, column 41): "+[e.constructor.name])};var wwe=re(Kl),Cwe=re(Ze);var Rwe=Rt(Pa),xwe=Rt(Ur),Twe=Rt(bo),Ewe=Rt(xo),Fwe=Rt(Co),Swe=Rt(wo),Mwe=Rt(Ro);var Iwe=function(){return Gm(Et)(function(e){return AT(Ev(e))})(qG(j.create)(H.value))}(),JG=function(e){return $G("toISOString",e)},XG=wwe(Cwe(mb))(Iwe);var PT=function(e){return LT({year:Lr(Rwe(Pl(e.value0))),month:Lr(xwe(jl(e.value0))-1|0),day:Lr(Twe(Ff(e.value0))),hour:Lr(Ewe(Af(e.value1))),minute:Lr(Fwe(If(e.value1))),second:Lr(Swe(Mf(e.value1))),millisecond:Lr(Mwe(Lf(e.value1)))})};var jwe=re(bt),Nwe=me(ir),kwe=Ar(O9),YG=oe(Yt),Yc=me(Et),Owe=At(Pa),Uwe=At(Ur),Hwe=At(bo),Bwe=At(xo),Wwe=At(Co),zwe=At(wo),Gwe=At(Ro),qwe=oe(_n),ZG=En(ir),$we=zt(Ze);var Vwe=function(e){return kd(JG(PT(e)))},Jwe=function(){return kd(ac(H.value))}();var Xwe=function(){var e=jwe(XG);return function(t){return e(OG(PT(t)))}}(),QG=function(e){var t=Ft(e);return function(n){return t(function(){var a=Xwe(n)();if(a instanceof H)return kwe(No("Could not convert local to UTC time"))();if(a instanceof j)return Vwe(a.value0);throw new Error("Failed pattern match at Utils.DateTime (line 159, column 3 - line 163, column 29): "+[a.constructor.name])})}};var KG=function(e){return Yc(Owe(e.year))(function(t){return Yc(Uwe(e.month+1|0))(function(n){return Yc(Hwe(e.day))(function(r){return Yc(Bwe(e.hour))(function(a){return Yc(Wwe(e.minute))(function(o){return Yc(zwe(e.second))(function(i){return Yc(Gwe(e.millisecond))(function(u){return qwe(new em(Sf(t)(n)(r),new Xc(a,o,i,u)))})})})})})})})},eq=function(e){var t=k9("Failed to obtain current time. This should never happen.");return jt(t)(YG)(KG(TT(e)))},nm=ZG(eq)(NG),tq=function(e){return kd(Nwe(Ju(Jwe))(jt(ZG(eq)(kG))(YG)))},Pf=function(e){return Yc($we(jG({just:j.create,nothing:H.value})(e))(TT))(KG)};var vb=oe(hr),Ywe=ra(),Zwe=Tn(an)(Uo),Qwe=Ys(pn),Kwe=zt(sc),e3e=Ms(Fv),t3e=oa(kt)()(),nq=wt(ot),rq=aa(vu),jT=function(){function e(){}return e.value=new e,e}(),aq=function(){function e(){}return e.value=new e,e}(),oq=function(){function e(){}return e.value=new e,e}(),NT=function(){function e(){}return e.value=new e,e}(),iq=function(){function e(){}return e.value=new e,e}(),uq=function(){function e(){}return e.value=new e,e}(),lq=function(){var e=function(t){var n=vb(jT.value),r=Ywe(t),a=function(i){return function(u){if(u instanceof NT)return Zwe(Qwe(Kwe(e3e(r.onClick))(Jn(et(uq.value))(et(iq.value)))))(function(){return vb(aq.value)});if(u instanceof iq)return vb(jT.value);if(u instanceof uq)return vb(oq.value);throw new Error("Failed pattern match at Utils.EffectButton (line 68, column 9 - line 70, column 24): "+[i.constructor.name,u.constructor.name])}},o=function(i){return function(u){var l=function(s){return t3e(Ht(r.buttonClass)("btn btn-primary px-4"))({onClick:s,disabled:Ht(r.disabled)(!1)})(Ht(r.buttonContent)(gn("Submit")))},c=Ht(r.render)({idle:l,inFlight:function(s){return nq(Ht(r.spinnerClass)("spinner spinner-border text-primary"))("")},erroredOut:function(s){return nn([l(s),nq("invalid-feedback d-block")(Ht(r.errorMessage)("Something went wrong. Try refreshing the page."))])}});if(i instanceof jT)return c.idle(rq(u)(NT.value));if(i instanceof aq)return c.inFlight(ge);if(i instanceof oq)return c.erroredOut(rq(u)(NT.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 zd("EffectButton")(e)};var cq=["http","https","mailto","tel"];function sq(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)"}Nt();var hq=Vt(kT());function Zc(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?dq(e.position):"start"in e||"end"in e?dq(e):"line"in e||"column"in e?OT(e):""}function OT(e){return pq(e&&e.line)+":"+pq(e&&e.column)}function dq(e){return OT(e&&e.start)+"-"+OT(e&&e.end)}function pq(e){return e&&typeof e=="number"?e:1}var ja=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=Zc(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}};ja.prototype.file="";ja.prototype.name="";ja.prototype.reason="";ja.prototype.message="";ja.prototype.stack="";ja.prototype.fatal=null;ja.prototype.column=null;ja.prototype.line=null;ja.prototype.source=null;ja.prototype.ruleId=null;ja.prototype.position=null;var Bi={basename:n3e,dirname:r3e,extname:a3e,join:o3e,sep:"/"};function n3e(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Ah(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,u=t.length-1;for(;a--;)if(e.charCodeAt(a)===47){if(o){n=a+1;break}}else i<0&&(o=!0,i=a+1),u>-1&&(e.charCodeAt(a)===t.charCodeAt(u--)?u<0&&(r=a):(u=-1,r=i));return n===r?r=i:r<0&&(r=e.length),e.slice(n,r)}function r3e(e){if(Ah(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 a3e(e){Ah(e);let t=e.length,n=-1,r=0,a=-1,o=0,i;for(;t--;){let u=e.charCodeAt(t);if(u===47){if(i){r=t+1;break}continue}n<0&&(i=!0,n=t+1),u===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 o3e(...e){let t=-1,n;for(;++t0&&e.charCodeAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function u3e(e,t){let n="",r=0,a=-1,o=0,i=-1,u,l;for(;++i<=e.length;){if(i2){if(l=n.lastIndexOf("/"),l!==n.length-1){l<0?(n="",r=0):(n=n.slice(0,l),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 u===46&&o>-1?o++:o=-1}return n}function Ah(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}var mq={cwd:l3e};function l3e(){return"/"}function rm(e){return e!==null&&typeof e=="object"&&e.href&&e.origin}function vq(e){if(typeof e=="string")e=new URL(e);else if(!rm(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 c3e(e)}function c3e(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,l;u&&i.push(a);try{l=e.apply(this,i)}catch(c){let s=c;if(u&&n)throw s;return a(s)}u||(l instanceof Promise?l.then(o,a):l instanceof Error?a(l):o(l))}function a(i,...u){n||(n=!0,t(i,...u))}function o(i){a(null,i)}}var GT=Mq().freeze(),Sq={}.hasOwnProperty;function Mq(){let e=Eq(),t=[],n={},r,a=-1;return o.data=i,o.Parser=void 0,o.Compiler=void 0,o.freeze=u,o.attachers=t,o.use=l,o.parse=c,o.stringify=s,o.run=f,o.runSync=d,o.process=p,o.processSync=v,o;function o(){let b=Mq(),g=-1;for(;++g{if(T||!P||!q)A(T);else{let V=o.stringify(P,q);V==null||(m3e(V)?q.value=V:q.result=V),A(T,q)}});function A(T,P){T||!P?S(T):C?C(P):g(null,P)}}}function v(b){let g;o.freeze(),qT("processSync",o.Parser),$T("processSync",o.Compiler);let D=jh(b);return o.process(D,C),Aq("processSync","process",g),D;function C(S){g=!0,WT(S)}}}function Iq(e,t){return typeof e=="function"&&e.prototype&&(d3e(e.prototype)||t in e.prototype)}function d3e(e){let t;for(t in e)if(Sq.call(e,t))return!0;return!1}function qT(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `Parser`")}function $T(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `Compiler`")}function VT(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 Lq(e){if(!Ph(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Aq(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function jh(e){return p3e(e)?e:new am(e)}function p3e(e){return Boolean(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function m3e(e){return typeof e=="string"||(0,Fq.default)(e)}function JT(e,t){let n=(t||{}).includeImageAlt;return Pq(e,typeof n=="boolean"?n:!0)}function Pq(e,t){return v3e(e)&&("value"in e&&e.value||t&&"alt"in e&&e.alt||"children"in e&&jq(e.children,t))||Array.isArray(e)&&jq(e,t)||""}function jq(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?(yr(e,e.length,0,t),e):t}var Nq={}.hasOwnProperty;function _b(e){let t={},n=-1;for(;++ni))return;let P=t.events.length,q=P,V,Z;for(;q--;)if(t.events[q][0]==="exit"&&t.events[q][1].type==="chunkFlow"){if(V){Z=t.events[q][1].end;break}V=!0}for(D(r),T=P;TS;){let A=n[I];t.containerState=A[1],A[0].exit.call(t,e)}n.length=S}function C(){a.write([null]),o=void 0,a=void 0,t.containerState._closeFlow=void 0}}function D3e(e,t,n){return pt(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function om(e){if(e===null||dn(e)||Nf(e))return 1;if(kf(e))return 2}function es(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);zq(f,-l),zq(d,l),i={type:l>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[r][1].end)},u={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[n][1].start),end:d},o={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},a={type:l>1?"strong":"emphasis",start:Object.assign({},i.start),end:Object.assign({},u.end)},e[r][1].end=Object.assign({},i.start),e[n][1].start=Object.assign({},u.end),c=[],e[r][1].end.offset-e[r][1].start.offset&&(c=Na(c,[["enter",e[r][1],t],["exit",e[r][1],t]])),c=Na(c,[["enter",a,t],["enter",i,t],["exit",i,t],["enter",o,t]]),c=Na(c,es(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),c=Na(c,[["exit",o,t],["enter",u,t],["exit",u,t],["exit",a,t]]),e[n][1].end.offset-e[n][1].start.offset?(s=2,c=Na(c,[["enter",e[n][1],t],["exit",e[n][1],t]])):s=0,yr(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?l(c):Oe(c)?e.attempt(I3e,i,l)(c):(e.enter("codeFlowValue"),u(c))}function u(c){return c===null||Oe(c)?(e.exit("codeFlowValue"),i(c)):(e.consume(c),u)}function l(c){return e.exit("codeIndented"),t(c)}}function A3e(e,t,n){let r=this;return a;function a(i){return r.parser.lazy[r.now().line]?n(i):Oe(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),a):pt(e,o,"linePrefix",4+1)(i)}function o(i){let u=r.events[r.events.length-1];return u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?t(i):Oe(i)?a(i):n(i)}}var ZT={name:"codeText",tokenize:N3e,resolve:P3e,previous:j3e};function P3e(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 Cb(e,t,n,r,a,o,i,u,l){let c=l||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||Qc(D)?n(D):(e.enter(r),e.enter(i),e.enter(u),e.enter("chunkString",{contentType:"string"}),b(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(u),e.enter("chunkString",{contentType:"string"}),p(D))}function p(D){return D===62?(e.exit("chunkString"),e.exit(u),d(D)):D===null||D===60||Oe(D)?n(D):(e.consume(D),D===92?v:p)}function v(D){return D===60||D===62||D===92?(e.consume(D),p):p(D)}function b(D){return D===40?++s>c?n(D):(e.consume(D),b):D===41?s--?(e.consume(D),b):(e.exit("chunkString"),e.exit(u),e.exit(i),e.exit(r),t(D)):D===null||dn(D)?s?n(D):(e.exit("chunkString"),e.exit(u),e.exit(i),e.exit(r),t(D)):Qc(D)?n(D):(e.consume(D),D===92?g:b)}function g(D){return D===40||D===41||D===92?(e.consume(D),b):b(D)}}function Rb(e,t,n,r,a,o){let i=this,u=0,l;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&&!l||p===94&&!u&&"_hiddenFootnoteSupport"in i.parser.constructs||u>999?n(p):p===93?(e.exit(o),e.enter(a),e.consume(p),e.exit(a),e.exit(r),t):Oe(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||Oe(p)||u++>999?(e.exit("chunkString"),s(p)):(e.consume(p),l=l||!$t(p),p===92?d:f)}function d(p){return p===91||p===92||p===93?(e.consume(p),u++,f):f(p)}}function xb(e,t,n,r,a,o){let i;return u;function u(d){return e.enter(r),e.enter(a),e.consume(d),e.exit(a),i=d===40?41:d,l}function l(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),l(i)):d===null?n(d):Oe(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),pt(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),s(d))}function s(d){return d===i||d===null||Oe(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 Of(e,t){let n;return r;function r(a){return Oe(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),n=!0,r):$t(a)?pt(e,r,n?"linePrefix":"lineSuffix")(a):t(a)}}function Da(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var KT={name:"definition",tokenize:z3e},W3e={tokenize:G3e,partial:!0};function z3e(e,t,n){let r=this,a;return o;function o(l){return e.enter("definition"),Rb.call(r,e,i,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(l)}function i(l){return a=Da(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),l===58?(e.enter("definitionMarker"),e.consume(l),e.exit("definitionMarker"),Of(e,Cb(e,e.attempt(W3e,pt(e,u,"whitespace"),pt(e,u,"whitespace")),n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):n(l)}function u(l){return l===null||Oe(l)?(e.exit("definition"),r.parser.defined.includes(a)||r.parser.defined.push(a),t(l)):n(l)}}function G3e(e,t,n){return r;function r(i){return dn(i)?Of(e,a)(i):n(i)}function a(i){return i===34||i===39||i===40?xb(e,pt(e,o,"whitespace"),n,"definitionTitle","definitionTitleMarker","definitionTitleString")(i):n(i)}function o(i){return i===null||Oe(i)?t(i):n(i)}}var eE={name:"hardBreakEscape",tokenize:q3e};function q3e(e,t,n){return r;function r(o){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(o),a}function a(o){return Oe(o)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),t(o)):n(o)}}var tE={name:"headingAtx",tokenize:V3e,resolve:$3e};function $3e(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"},yr(e,r,n-r+1,[["enter",a,t],["enter",o,t],["exit",o,t],["exit",a,t]])),e}function V3e(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):u(s)):n(s)}function u(s){return s===35?(e.enter("atxHeadingSequence"),l(s)):s===null||Oe(s)?(e.exit("atxHeading"),t(s)):$t(s)?pt(e,u,"whitespace")(s):(e.enter("atxHeadingText"),c(s))}function l(s){return s===35?(e.consume(s),l):(e.exit("atxHeadingSequence"),u(s))}function c(s){return s===null||s===35||dn(s)?(e.exit("atxHeadingText"),u(s)):(e.consume(s),c)}}var qq=["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"],nE=["pre","script","style","textarea"];var rE={name:"htmlFlow",tokenize:Y3e,resolveTo:X3e,concrete:!0},J3e={tokenize:Z3e,partial:!0};function X3e(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 Y3e(e,t,n){let r=this,a,o,i,u,l;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),v):F===63?(e.consume(F),a=3,r.interrupt?t:Ce):ya(F)?(e.consume(F),i=String.fromCharCode(F),o=!0,b):n(F)}function f(F){return F===45?(e.consume(F),a=2,d):F===91?(e.consume(F),a=5,i="CDATA[",u=0,p):ya(F)?(e.consume(F),a=4,r.interrupt?t:Ce):n(F)}function d(F){return F===45?(e.consume(F),r.interrupt?t:Ce):n(F)}function p(F){return F===i.charCodeAt(u++)?(e.consume(F),u===i.length?r.interrupt?t:W:p):n(F)}function v(F){return ya(F)?(e.consume(F),i=String.fromCharCode(F),b):n(F)}function b(F){return F===null||F===47||F===62||dn(F)?F!==47&&o&&nE.includes(i.toLowerCase())?(a=1,r.interrupt?t(F):W(F)):qq.includes(i.toLowerCase())?(a=6,F===47?(e.consume(F),g):r.interrupt?t(F):W(F)):(a=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(F):o?C(F):D(F)):F===45||Dr(F)?(e.consume(F),i+=String.fromCharCode(F),b):n(F)}function g(F){return F===62?(e.consume(F),r.interrupt?t:W):n(F)}function D(F){return $t(F)?(e.consume(F),D):V(F)}function C(F){return F===47?(e.consume(F),V):F===58||F===95||ya(F)?(e.consume(F),S):$t(F)?(e.consume(F),C):V(F)}function S(F){return F===45||F===46||F===58||F===95||Dr(F)?(e.consume(F),S):I(F)}function I(F){return F===61?(e.consume(F),A):$t(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),l=F,T):$t(F)?(e.consume(F),A):(l=null,P(F))}function T(F){return F===null||Oe(F)?n(F):F===l?(e.consume(F),q):(e.consume(F),T)}function P(F){return F===null||F===34||F===39||F===60||F===61||F===62||F===96||dn(F)?I(F):(e.consume(F),P)}function q(F){return F===47||F===62||$t(F)?C(F):n(F)}function V(F){return F===62?(e.consume(F),Z):n(F)}function Z(F){return $t(F)?(e.consume(F),Z):F===null||Oe(F)?W(F):n(F)}function W(F){return F===45&&a===2?(e.consume(F),ue):F===60&&a===1?(e.consume(F),G):F===62&&a===4?(e.consume(F),Fe):F===63&&a===3?(e.consume(F),Ce):F===93&&a===5?(e.consume(F),de):Oe(F)&&(a===6||a===7)?e.check(J3e,Fe,ee)(F):F===null||Oe(F)?ee(F):(e.consume(F),W)}function ee(F){return e.exit("htmlFlowData"),J(F)}function J(F){return F===null?N(F):Oe(F)?e.attempt({tokenize:Q,partial:!0},J,N)(F):(e.enter("htmlFlowData"),W(F))}function Q(F,B,X){return K;function K(Y){return F.enter("lineEnding"),F.consume(Y),F.exit("lineEnding"),L}function L(Y){return r.parser.lazy[r.now().line]?X(Y):B(Y)}}function ue(F){return F===45?(e.consume(F),Ce):W(F)}function G(F){return F===47?(e.consume(F),i="",ne):W(F)}function ne(F){return F===62&&nE.includes(i.toLowerCase())?(e.consume(F),Fe):ya(F)&&i.length<8?(e.consume(F),i+=String.fromCharCode(F),ne):W(F)}function de(F){return F===93?(e.consume(F),Ce):W(F)}function Ce(F){return F===62?(e.consume(F),Fe):F===45&&a===2?(e.consume(F),Ce):W(F)}function Fe(F){return F===null||Oe(F)?(e.exit("htmlFlowData"),N(F)):(e.consume(F),Fe)}function N(F){return e.exit("htmlFlow"),t(F)}}function Z3e(e,t,n){return r;function r(a){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),e.attempt(Mu,t,n)}}var aE={name:"htmlText",tokenize:Q3e};function Q3e(e,t,n){let r=this,a,o,i,u;return l;function l(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),P):N===63?(e.consume(N),A):ya(N)?(e.consume(N),Z):n(N)}function s(N){return N===45?(e.consume(N),f):N===91?(e.consume(N),o="CDATA[",i=0,g):ya(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):v(N)}function p(N){return N===null||N===62?n(N):v(N)}function v(N){return N===null?n(N):N===45?(e.consume(N),b):Oe(N)?(u=v,de(N)):(e.consume(N),v)}function b(N){return N===45?(e.consume(N),Fe):v(N)}function g(N){return N===o.charCodeAt(i++)?(e.consume(N),i===o.length?D:g):n(N)}function D(N){return N===null?n(N):N===93?(e.consume(N),C):Oe(N)?(u=D,de(N)):(e.consume(N),D)}function C(N){return N===93?(e.consume(N),S):D(N)}function S(N){return N===62?Fe(N):N===93?(e.consume(N),S):D(N)}function I(N){return N===null||N===62?Fe(N):Oe(N)?(u=I,de(N)):(e.consume(N),I)}function A(N){return N===null?n(N):N===63?(e.consume(N),T):Oe(N)?(u=A,de(N)):(e.consume(N),A)}function T(N){return N===62?Fe(N):A(N)}function P(N){return ya(N)?(e.consume(N),q):n(N)}function q(N){return N===45||Dr(N)?(e.consume(N),q):V(N)}function V(N){return Oe(N)?(u=V,de(N)):$t(N)?(e.consume(N),V):Fe(N)}function Z(N){return N===45||Dr(N)?(e.consume(N),Z):N===47||N===62||dn(N)?W(N):n(N)}function W(N){return N===47?(e.consume(N),Fe):N===58||N===95||ya(N)?(e.consume(N),ee):Oe(N)?(u=W,de(N)):$t(N)?(e.consume(N),W):Fe(N)}function ee(N){return N===45||N===46||N===58||N===95||Dr(N)?(e.consume(N),ee):J(N)}function J(N){return N===61?(e.consume(N),Q):Oe(N)?(u=J,de(N)):$t(N)?(e.consume(N),J):W(N)}function Q(N){return N===null||N===60||N===61||N===62||N===96?n(N):N===34||N===39?(e.consume(N),a=N,ue):Oe(N)?(u=Q,de(N)):$t(N)?(e.consume(N),Q):(e.consume(N),a=void 0,ne)}function ue(N){return N===a?(e.consume(N),G):N===null?n(N):Oe(N)?(u=ue,de(N)):(e.consume(N),ue)}function G(N){return N===62||N===47||dn(N)?W(N):n(N)}function ne(N){return N===null||N===34||N===39||N===60||N===61||N===96?n(N):N===62||dn(N)?W(N):(e.consume(N),ne)}function de(N){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(N),e.exit("lineEnding"),pt(e,Ce,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Ce(N){return e.enter("htmlTextData"),u(N)}function Fe(N){return N===62?(e.consume(N),e.exit("htmlTextData"),e.exit("htmlText"),t):n(N)}}var Uf={name:"labelEnd",tokenize:aCe,resolveTo:rCe,resolveAll:nCe},K3e={tokenize:oCe},eCe={tokenize:iCe},tCe={tokenize:uCe};function nCe(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 RCe(e,t){let n=-1,r=[],a;for(;++nLCe,contentInitial:()=>TCe,disable:()=>ACe,document:()=>xCe,flow:()=>FCe,flowInitial:()=>ECe,insideSpan:()=>ICe,string:()=>SCe,text:()=>MCe});var xCe={[42]:ba,[43]:ba,[45]:ba,[48]:ba,[49]:ba,[50]:ba,[51]:ba,[52]:ba,[53]:ba,[54]:ba,[55]:ba,[56]:ba,[57]:ba,[62]:gb},TCe={[91]:KT},ECe={[-2]:kh,[-1]:kh,[32]:kh},FCe={[35]:tE,[42]:Hf,[45]:[Tb,Hf],[60]:rE,[61]:Tb,[95]:Hf,[96]:bb,[126]:bb},SCe={[38]:Db,[92]:yb},MCe={[-5]:Oh,[-4]:Oh,[-3]:Oh,[33]:oE,[38]:Db,[42]:Nh,[60]:[YT,aE],[91]:iE,[92]:[eE,yb],[93]:Uf,[95]:Nh,[96]:ZT},ICe={null:[Nh,Vq]},LCe={null:[42,95]},ACe={null:[]};function Kq(e={}){let t=_b([uE].concat(e.extensions||[])),n={defined:[],lazy:{},constructs:t,content:r(Hq),document:r(Bq),flow:r($q),string:r(Jq),text:r(Xq)};return n;function r(a){return o;function o(i){return Qq(n,a,i)}}}var e$=/[\0\t\n\r]/g;function t$(){let e=1,t="",n=!0,r;return a;function a(o,i,u){let l=[],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 PCe=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Fb(e){return e.replace(PCe,jCe)}function jCe(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){let a=n.charCodeAt(1),o=a===120||a===88;return Eb(n.slice(o?2:1),o?16:10)}return im(n)||e}var r$={}.hasOwnProperty,lE=function(e,t,n){return typeof t!="string"&&(n=t,t=void 0),NCe(n)(n$(Kq(n).document().write(t$()(e,t,!0))))};function NCe(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:u(Le),autolinkProtocol:W,autolinkEmail:W,atxHeading:u(Ve),blockQuote:u(pe),characterEscape:W,characterReference:W,codeFenced:u(_e),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:u(_e,l),codeText:u(ce,l),codeTextData:W,data:W,codeFlowValue:W,definition:u(Me),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:u(Re),hardBreakEscape:u(Se),hardBreakTrailing:u(Se),htmlFlow:u(Je,l),htmlFlowData:W,htmlText:u(Je,l),htmlTextData:W,image:u(it),label:l,link:u(Le),listItem:u(Xe),listItemValue:v,listOrdered:u(ft,p),listUnordered:u(ft),paragraph:u(He),reference:K,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:u(Ve),strong:u(xe),thematicBreak:u(rn)},exit:{atxHeading:s(),atxHeadingSequence:P,autolink:s(),autolinkEmail:ie,autolinkProtocol:le,blockQuote:s(),characterEscapeValue:ee,characterReferenceMarkerHexadecimal:Y,characterReferenceMarkerNumeric:Y,characterReferenceValue:O,codeFenced:s(C),codeFencedFence:D,codeFencedFenceInfo:b,codeFencedFenceMeta:g,codeFlowValue:ee,codeIndented:s(S),codeText:s(ne),codeTextData:ee,data:ee,definition:s(),definitionDestinationString:T,definitionLabelString:I,definitionTitleString:A,emphasis:s(),hardBreakEscape:s(Q),hardBreakTrailing:s(Q),htmlFlow:s(ue),htmlFlowData:ee,htmlText:s(G),htmlTextData:ee,image:s(Ce),label:N,labelText:Fe,lineEnding:J,link:s(de),listItem:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:L,resourceDestinationString:F,resourceTitleString:B,resource:X,setextHeading:s(Z),setextHeadingLineSequence:V,setextHeadingText:q,strong:s(),thematicBreak:s()}};a$(t,(e||{}).mdastExtensions||[]);let n={};return r;function r(ae){let he={type:"root",children:[]},dt={stack:[he],tokenStack:[],config:t,enter:c,exit:f,buffer:l,resume:d,setData:o,getData:i},mn=[],bn=-1;for(;++bn0){let eo=dt.tokenStack[dt.tokenStack.length-1];(eo[1]||o$).call(dt,void 0,eo[0])}for(he.position={start:ts(ae.length>0?ae[0][1].start:{line:1,column:1,offset:0}),end:ts(ae.length>0?ae[ae.length-2][1].end:{line:1,column:1,offset:0})},bn=-1;++bn{let r=this.data("settings");return lE(n,Object.assign({},r,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}function i$(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 u$(e,t){let n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:` `}]}function l$(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 c$(e,t){let n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function s$(e,t){let n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function si(e){let t=[],n=-1,r=0,a=0;for(;++n55295&&o<57344){let u=e.charCodeAt(n+1);o<56320&&u>56319&&u<57344?(i=String.fromCharCode(o,u),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 Mb(e,t){let n=String(t.identifier).toUpperCase(),r=si(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],u={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,u);let l={type:"element",tagName:"sup",properties:{},children:[u]};return e.patch(t,l),e.applyData(t,l)}function f$(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},Mb(e,{type:"footnoteReference",identifier:a,position:t.position})}function d$(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 p$(e,t){if(e.dangerous){let n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}return null}function Ib(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 m$(e,t){let n=e.definition(t.identifier);if(!n)return Ib(e,t);let r={src:si(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 v$(e,t){let n={src:si(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 h$(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 _$(e,t){let n=e.definition(t.identifier);if(!n)return Ib(e,t);let r={href:si(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 g$(e,t){let n={href:si(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 y$(e,t,n){let r=e.all(t),a=n?OCe(n):D$(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 u=-1;for(;++u1:t}function b$(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 T$(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)},u=um(t.children[1]),l=lm(t.children[t.children.length-1]);u.line&&l.line&&(i.position={start:u,end:l}),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 E$(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,u=i?i.length:t.children.length,l=-1,c=[];for(;++l0,!0),r[0]),a=r.index+r[0].length,r=n.exec(t);return o.push(L$(t.slice(a),a>0,!1)),o.join("")}function L$(e,t,n){let r=0,a=e.length;if(t){let o=e.codePointAt(r);for(;o===S$||o===M$;)r++,o=e.codePointAt(r)}if(n){let o=e.codePointAt(a-1);for(;o===S$||o===M$;)a--,o=e.codePointAt(a-1)}return a>r?e.slice(r,a):""}function A$(e,t){let n={type:"text",value:I$(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function P$(e,t){let n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}var j$={blockquote:i$,break:u$,code:l$,delete:c$,emphasis:s$,footnoteReference:Mb,footnote:f$,heading:d$,html:p$,imageReference:m$,image:v$,inlineCode:h$,linkReference:_$,link:g$,listItem:y$,list:b$,paragraph:w$,root:C$,strong:R$,table:T$,tableCell:F$,tableRow:E$,text:A$,thematicBreak:P$,toml:Lb,yaml:Lb,definition:Lb,footnoteDefinition:Lb};function Lb(){return null}var Uh=function(e){if(e==null)return WCe;if(typeof e=="string")return BCe(e);if(typeof e=="object")return Array.isArray(e)?UCe(e):HCe(e);if(typeof e=="function")return Ab(e);throw new Error("Expected function, string, or object as test")};function UCe(e){let t=[],n=-1;for(;++n":""))+")"})}return f;function f(){let d=[],p,v,b;if((!t||a(u,l,c[c.length-1]||null))&&(d=zCe(n(u,c)),d[0]===Pb))return d;if(u.children&&d[0]!==fE)for(v=(r?u.children.length:-1)+o,b=c.concat(u);v>-1&&v{let a=O$(r.identifier);a&&!k$.call(t,a)&&(t[a]=r)}),n;function n(r){let a=O$(r);return a&&k$.call(t,a)?t[a]:null}}function O$(e){return String(e||"").toUpperCase()}var jb={}.hasOwnProperty;function U$(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=Kt(Kt({},j$),n.handlers),i.definition=pE(e),i.footnoteById=a,i.footnoteOrder=[],i.footnoteCounts={},i.patch=GCe,i.applyData=qCe,i.one=u,i.all=l,i.wrap=VCe,i.augment=o,Bf(e,"footnoteDefinition",c=>{let s=String(c.identifier).toUpperCase();jb.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=Kt(Kt({},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};dE(f)||(s.position={start:um(f),end:lm(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 u(c,s){return H$(i,c,s)}function l(c){return mE(i,c)}}function GCe(e,t){e.position&&(t.position=cE(e))}function qCe(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=Kt(Kt({},n.properties),o)),"children"in n&&n.children&&a!==null&&a!==void 0&&(n.children=a)}return n}function H$(e,t,n){let r=t&&t.type;if(!r)throw new Error("Expected node, got `"+t+"`");return jb.call(e.handlers,r)?e.handlers[r](e,t,n):e.passThrough&&e.passThrough.includes(r)?"children"in t?wr(Kt({},t),{children:mE(e,t)}):t:e.unknownHandler?e.unknownHandler(e,t,n):$Ce(e,t)}function mE(e,t){let n=[];if("children"in t){let r=t.children,a=-1;for(;++a0&&n.push({type:"text",value:` `}),n}function B$(e){let t=[],n=-1;for(;++n1?"-"+u:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"\u21A9"}]};u>1&&f.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(u)}]}),l.length>0&&l.push({type:"text",value:" "}),l.push(f)}let c=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(...l)}else a.push(...l);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:wr(Kt({},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 Nb(e,t){let n=U$(e,t),r=n.one(e,null),a=B$(n);return a&&r.children.push({type:"text",value:` `},a),Array.isArray(r)?{type:"root",children:r}:r}var JCe=function(e,t){return e&&"run"in e?XCe(e,t):YCe(e||t)},vE=JCe;function XCe(e,t){return(n,r,a)=>{e.run(Nb(n,t),r,o=>{a(o)})}}function YCe(e){return t=>Nb(t,e)}var It=Vt(kv());var ns=class{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}};ns.prototype.property={};ns.prototype.normal={};ns.prototype.space=null;function hE(e,t){let n={},r={},a=-1;for(;++aOt,booleanish:()=>pr,commaOrSpaceSeparated:()=>Ja,commaSeparated:()=>rs,number:()=>be,overloadedBoolean:()=>_E,spaceSeparated:()=>Sn});var ZCe=0,Ot=Wf(),pr=Wf(),_E=Wf(),be=Wf(),Sn=Wf(),rs=Wf(),Ja=Wf();function Wf(){return 2**++ZCe}var gE=Object.keys(Bh),cm=class extends ka{constructor(t,n,r,a){let o=-1;super(t,n);if(W$(this,"space",a),typeof r=="number")for(;++o4&&n.slice(0,4)==="data"&&KCe.test(t)){if(t.charAt(4)==="-"){let o=t.slice(5).replace(q$,n7e);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{let o=t.slice(4);if(!q$.test(o)){let i=o.replace(e7e,t7e);i.charAt(0)!=="-"&&(i="-"+i),t="data"+i}}a=cm}return new a(r,t)}function t7e(e){return"-"+e.toLowerCase()}function n7e(e){return e.charAt(1).toUpperCase()}var Ub={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 Hb=hE([DE,yE,bE,wE,z$],"html"),Bb=hE([DE,yE,bE,wE,G$],"svg");function CE(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=>{Bf(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})}}Nt();var cV=Vt(X$());function Y$(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 TE(e){let t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Z$(e){return e.join(" ").trim()}function EE(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 Q$(e,t){let n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}var uV=Vt(iV()),lV=uV.default;var SE={}.hasOwnProperty,h7e=new Set(["table","thead","tbody","tfoot","tr"]);function ME(e,t){let n=[],r=-1,a;for(;++r0?Ct.createElement(p,l,f):Ct.createElement(p,l)}function g7e(e){let t=-1;for(;++t for more info)`),delete Qb[o]}let t=GT().use(Sb).use(e.remarkPlugins||[]).use(vE,wr(Kt({},e.remarkRehypeOptions),{allowDangerousHtml:!0})).use(e.rehypePlugins||[]).use(CE,e),n=new am;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=Ct.createElement(Ct.Fragment,{},ME({options:e,schema:Hb,listDepth:0},r));return e.className&&(a=Ct.createElement("div",{className:e.className},a)),a}Kb.propTypes={children:It.default.string,className:It.default.string,allowElement:It.default.func,allowedElements:It.default.arrayOf(It.default.string),disallowedElements:It.default.arrayOf(It.default.string),unwrapDisallowed:It.default.bool,remarkPlugins:It.default.arrayOf(It.default.oneOfType([It.default.object,It.default.func,It.default.arrayOf(It.default.oneOfType([It.default.bool,It.default.string,It.default.object,It.default.func,It.default.arrayOf(It.default.any)]))])),rehypePlugins:It.default.arrayOf(It.default.oneOfType([It.default.object,It.default.func,It.default.arrayOf(It.default.oneOfType([It.default.bool,It.default.string,It.default.object,It.default.func,It.default.arrayOf(It.default.any)]))])),sourcePos:It.default.bool,rawSourcePos:It.default.bool,skipHtml:It.default.bool,includeElementIndex:It.default.bool,transformLinkUri:It.default.oneOfType([It.default.func,It.default.bool]),linkTarget:It.default.oneOfType([It.default.func,It.default.string]),transformImageUri:It.default.func,components:It.default.object};var fV=/[#.]/g;function LE(e,t){let n=e||"",r={},a=0,o,i;for(;al&&(l=c):c&&(l!==void 0&&l>-1&&u.push(` `.repeat(l)||" "),l=-1,u.push(c))}return u.join("")}function RV(e,t,n){return e.type==="element"?V7e(e,t,n):e.type==="text"?n.whitespace==="normal"?xV(e,n):J7e(e):[]}function V7e(e,t,n){let r=TV(e,n),a=e.children||[],o=-1,i=[];if($7e(e))return i;let u,l;for(HE(e)||bV(e)&&r2(t,e,bV)?l=` `:q7e(e)?(u=2,l=2):wV(e)&&(u=1,l=1);++o15?c="\u2026"+u.slice(a-15,a):c=u.slice(0,a);var s;o+15":">","<":"<",'"':""","'":"'"},aRe=/[&><"']/g;function oRe(e){return String(e).replace(aRe,t=>rRe[t])}var EV=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},iRe=function(t){var n=EV(t);return n.type==="mathord"||n.type==="textord"||n.type==="atom"},uRe=function(t){if(!t)throw new Error("Expected non-null, but got "+String(t));return t},lRe=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:K7e,deflt:eRe,escape:oRe,hyphenate:nRe,getBaseElem:EV,isCharacterBox:iRe,protocolFromUrl:lRe},a2={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 cRe(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 o2=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 a2)if(a2.hasOwnProperty(n)){var r=a2[n];this[n]=t[n]!==void 0?r.processor?r.processor(t[n]):t[n]:cRe(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 we("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)}},Ol=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 Iu[sRe[this.id]]}sub(){return Iu[fRe[this.id]]}fracNum(){return Iu[dRe[this.id]]}fracDen(){return Iu[pRe[this.id]]}cramp(){return Iu[mRe[this.id]]}text(){return Iu[vRe[this.id]]}isTight(){return this.size>=2}},WE=0,i2=1,sm=2,Ul=3,zh=4,pi=5,fm=6,Oa=7,Iu=[new Ol(WE,0,!1),new Ol(i2,0,!0),new Ol(sm,1,!1),new Ol(Ul,1,!0),new Ol(zh,2,!1),new Ol(pi,2,!0),new Ol(fm,3,!1),new Ol(Oa,3,!0)],sRe=[zh,pi,zh,pi,fm,Oa,fm,Oa],fRe=[pi,pi,pi,pi,Oa,Oa,Oa,Oa],dRe=[sm,Ul,zh,pi,fm,Oa,fm,Oa],pRe=[Ul,Ul,pi,pi,Oa,Oa,Oa,Oa],mRe=[i2,i2,Ul,Ul,pi,pi,Oa,Oa],vRe=[WE,i2,sm,Ul,sm,Ul,sm,Ul],mt={DISPLAY:Iu[WE],TEXT:Iu[sm],SCRIPT:Iu[zh],SCRIPTSCRIPT:Iu[fm]},zE=[{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 hRe(e){for(var t=0;t=a[0]&&e<=a[1])return n.name}return null}var u2=[];zE.forEach(e=>e.blocks.forEach(t=>u2.push(...t)));function FV(e){for(var t=0;t=u2[t]&&e<=u2[t+1])return!0;return!1}var dm=80,_Re=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"},gRe=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"},yRe=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"},DRe=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"},bRe=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"},wRe=function(t){var n=t/2;return"M400000 "+t+" H0 L"+n+" 0 l65 45 L145 "+(t-80)+" H400000z"},CRe=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"},RRe=function(t,n,r){n=1e3*n;var a="";switch(t){case"sqrtMain":a=_Re(n,dm);break;case"sqrtSize1":a=gRe(n,dm);break;case"sqrtSize2":a=yRe(n,dm);break;case"sqrtSize3":a=DRe(n,dm);break;case"sqrtSize4":a=bRe(n,dm);break;case"sqrtTall":a=CRe(n,dm,r)}return a},xRe=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""}},SV={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`},TRe=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.")}},pm=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("")}},Lu={"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]}},l2={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]},MV={\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 ERe(e,t){Lu[e]=t}function GE(e,t,n){if(!Lu[t])throw new Error("Font metrics not found for font: "+t+".");var r=e.charCodeAt(0),a=Lu[t][r];if(!a&&e[0]in MV&&(r=MV[e[0]].charCodeAt(0),a=Lu[t][r]),!a&&n==="text"&&FV(r)&&(a=Lu[t][77]),a)return{depth:a[0],height:a[1],italic:a[2],skew:a[3],width:a[4]}}var qE={};function FRe(e){var t;if(e>=5?t=0:e>=3?t=1:t=2,!qE[t]){var n=qE[t]={cssEmPerMu:l2.quad[t]/18};for(var r in l2)l2.hasOwnProperty(r)&&(n[r]=l2[r][t])}return qE[t]}var SRe=[[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]],IV=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],LV=function(t,n){return n.size<2?t:SRe[t-1][n.size-1]},Au=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||Au.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=IV[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 Au(n)}havingStyle(t){return this.style===t?this:this.extend({style:t,size:LV(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:IV[t-1]})}havingBaseStyle(t){t=t||this.style.text();var n=LV(Au.BASESIZE,t);return this.size===n&&this.textSize===Au.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!==Au.BASESIZE?["sizing","reset-size"+this.size,"size"+Au.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=FRe(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}};Au.BASESIZE=6;var $E={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},MRe={ex:!0,em:!0,mu:!0},AV=function(t){return typeof t!="string"&&(t=t.unit),t in $E||t in MRe||t==="ex"},nr=function(t,n){var r;if(t.unit in $E)r=$E[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 we("Invalid unit: '"+t.unit+"'");a!==n&&(r*=a.sizeMultiplier/n.sizeMultiplier)}return Math.min(t.number*r,n.maxSize)},Ie=function(t){return+t.toFixed(4)+"em"},as=function(t){return t.filter(n=>n).join(" ")},PV=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)}},jV=function(t){var n=document.createElement(t);n.className=as(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]/,NV=function(t){var n="<"+t;this.classes.length&&(n+=' class="'+st.escape(as(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(IRe.test(o))throw new we("Invalid attribute name '"+o+"'");n+=" "+o+'="'+st.escape(this.attributes[o])+'"'}n+=">";for(var i=0;i",n},mm=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,PV.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 jV.call(this,"span")}toMarkup(){return NV.call(this,"span")}},c2=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,PV.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 jV.call(this,"a")}toMarkup(){return NV.call(this,"a")}},kV=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=Ie(this.italic)),this.classes.length>0&&(n=n||document.createElement("span"),n.className=as(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}},Pu=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':''}},s2=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 PRe={bin:1,close:1,inner:1,open:1,punct:1,rel:1},jRe={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Pn={math:{},text:{}};function _(e,t,n,r,a,o){Pn[e][a]={font:t,group:n,replace:r},o&&r&&(Pn[e][r]=Pn[e][a])}var w="math",ve="text",x="main",k="ams",$n="accent-token",$e="bin",Ua="close",vm="inner",vt="mathord",Sr="op-token",Fo="open",f2="punct",U="rel",Bl="spacing",$="textord";_(w,x,U,"\u2261","\\equiv",!0);_(w,x,U,"\u227A","\\prec",!0);_(w,x,U,"\u227B","\\succ",!0);_(w,x,U,"\u223C","\\sim",!0);_(w,x,U,"\u22A5","\\perp");_(w,x,U,"\u2AAF","\\preceq",!0);_(w,x,U,"\u2AB0","\\succeq",!0);_(w,x,U,"\u2243","\\simeq",!0);_(w,x,U,"\u2223","\\mid",!0);_(w,x,U,"\u226A","\\ll",!0);_(w,x,U,"\u226B","\\gg",!0);_(w,x,U,"\u224D","\\asymp",!0);_(w,x,U,"\u2225","\\parallel");_(w,x,U,"\u22C8","\\bowtie",!0);_(w,x,U,"\u2323","\\smile",!0);_(w,x,U,"\u2291","\\sqsubseteq",!0);_(w,x,U,"\u2292","\\sqsupseteq",!0);_(w,x,U,"\u2250","\\doteq",!0);_(w,x,U,"\u2322","\\frown",!0);_(w,x,U,"\u220B","\\ni",!0);_(w,x,U,"\u221D","\\propto",!0);_(w,x,U,"\u22A2","\\vdash",!0);_(w,x,U,"\u22A3","\\dashv",!0);_(w,x,U,"\u220B","\\owns");_(w,x,f2,".","\\ldotp");_(w,x,f2,"\u22C5","\\cdotp");_(w,x,$,"#","\\#");_(ve,x,$,"#","\\#");_(w,x,$,"&","\\&");_(ve,x,$,"&","\\&");_(w,x,$,"\u2135","\\aleph",!0);_(w,x,$,"\u2200","\\forall",!0);_(w,x,$,"\u210F","\\hbar",!0);_(w,x,$,"\u2203","\\exists",!0);_(w,x,$,"\u2207","\\nabla",!0);_(w,x,$,"\u266D","\\flat",!0);_(w,x,$,"\u2113","\\ell",!0);_(w,x,$,"\u266E","\\natural",!0);_(w,x,$,"\u2663","\\clubsuit",!0);_(w,x,$,"\u2118","\\wp",!0);_(w,x,$,"\u266F","\\sharp",!0);_(w,x,$,"\u2662","\\diamondsuit",!0);_(w,x,$,"\u211C","\\Re",!0);_(w,x,$,"\u2661","\\heartsuit",!0);_(w,x,$,"\u2111","\\Im",!0);_(w,x,$,"\u2660","\\spadesuit",!0);_(w,x,$,"\xA7","\\S",!0);_(ve,x,$,"\xA7","\\S");_(w,x,$,"\xB6","\\P",!0);_(ve,x,$,"\xB6","\\P");_(w,x,$,"\u2020","\\dag");_(ve,x,$,"\u2020","\\dag");_(ve,x,$,"\u2020","\\textdagger");_(w,x,$,"\u2021","\\ddag");_(ve,x,$,"\u2021","\\ddag");_(ve,x,$,"\u2021","\\textdaggerdbl");_(w,x,Ua,"\u23B1","\\rmoustache",!0);_(w,x,Fo,"\u23B0","\\lmoustache",!0);_(w,x,Ua,"\u27EF","\\rgroup",!0);_(w,x,Fo,"\u27EE","\\lgroup",!0);_(w,x,$e,"\u2213","\\mp",!0);_(w,x,$e,"\u2296","\\ominus",!0);_(w,x,$e,"\u228E","\\uplus",!0);_(w,x,$e,"\u2293","\\sqcap",!0);_(w,x,$e,"\u2217","\\ast");_(w,x,$e,"\u2294","\\sqcup",!0);_(w,x,$e,"\u25EF","\\bigcirc",!0);_(w,x,$e,"\u2219","\\bullet",!0);_(w,x,$e,"\u2021","\\ddagger");_(w,x,$e,"\u2240","\\wr",!0);_(w,x,$e,"\u2A3F","\\amalg");_(w,x,$e,"&","\\And");_(w,x,U,"\u27F5","\\longleftarrow",!0);_(w,x,U,"\u21D0","\\Leftarrow",!0);_(w,x,U,"\u27F8","\\Longleftarrow",!0);_(w,x,U,"\u27F6","\\longrightarrow",!0);_(w,x,U,"\u21D2","\\Rightarrow",!0);_(w,x,U,"\u27F9","\\Longrightarrow",!0);_(w,x,U,"\u2194","\\leftrightarrow",!0);_(w,x,U,"\u27F7","\\longleftrightarrow",!0);_(w,x,U,"\u21D4","\\Leftrightarrow",!0);_(w,x,U,"\u27FA","\\Longleftrightarrow",!0);_(w,x,U,"\u21A6","\\mapsto",!0);_(w,x,U,"\u27FC","\\longmapsto",!0);_(w,x,U,"\u2197","\\nearrow",!0);_(w,x,U,"\u21A9","\\hookleftarrow",!0);_(w,x,U,"\u21AA","\\hookrightarrow",!0);_(w,x,U,"\u2198","\\searrow",!0);_(w,x,U,"\u21BC","\\leftharpoonup",!0);_(w,x,U,"\u21C0","\\rightharpoonup",!0);_(w,x,U,"\u2199","\\swarrow",!0);_(w,x,U,"\u21BD","\\leftharpoondown",!0);_(w,x,U,"\u21C1","\\rightharpoondown",!0);_(w,x,U,"\u2196","\\nwarrow",!0);_(w,x,U,"\u21CC","\\rightleftharpoons",!0);_(w,k,U,"\u226E","\\nless",!0);_(w,k,U,"\uE010","\\@nleqslant");_(w,k,U,"\uE011","\\@nleqq");_(w,k,U,"\u2A87","\\lneq",!0);_(w,k,U,"\u2268","\\lneqq",!0);_(w,k,U,"\uE00C","\\@lvertneqq");_(w,k,U,"\u22E6","\\lnsim",!0);_(w,k,U,"\u2A89","\\lnapprox",!0);_(w,k,U,"\u2280","\\nprec",!0);_(w,k,U,"\u22E0","\\npreceq",!0);_(w,k,U,"\u22E8","\\precnsim",!0);_(w,k,U,"\u2AB9","\\precnapprox",!0);_(w,k,U,"\u2241","\\nsim",!0);_(w,k,U,"\uE006","\\@nshortmid");_(w,k,U,"\u2224","\\nmid",!0);_(w,k,U,"\u22AC","\\nvdash",!0);_(w,k,U,"\u22AD","\\nvDash",!0);_(w,k,U,"\u22EA","\\ntriangleleft");_(w,k,U,"\u22EC","\\ntrianglelefteq",!0);_(w,k,U,"\u228A","\\subsetneq",!0);_(w,k,U,"\uE01A","\\@varsubsetneq");_(w,k,U,"\u2ACB","\\subsetneqq",!0);_(w,k,U,"\uE017","\\@varsubsetneqq");_(w,k,U,"\u226F","\\ngtr",!0);_(w,k,U,"\uE00F","\\@ngeqslant");_(w,k,U,"\uE00E","\\@ngeqq");_(w,k,U,"\u2A88","\\gneq",!0);_(w,k,U,"\u2269","\\gneqq",!0);_(w,k,U,"\uE00D","\\@gvertneqq");_(w,k,U,"\u22E7","\\gnsim",!0);_(w,k,U,"\u2A8A","\\gnapprox",!0);_(w,k,U,"\u2281","\\nsucc",!0);_(w,k,U,"\u22E1","\\nsucceq",!0);_(w,k,U,"\u22E9","\\succnsim",!0);_(w,k,U,"\u2ABA","\\succnapprox",!0);_(w,k,U,"\u2246","\\ncong",!0);_(w,k,U,"\uE007","\\@nshortparallel");_(w,k,U,"\u2226","\\nparallel",!0);_(w,k,U,"\u22AF","\\nVDash",!0);_(w,k,U,"\u22EB","\\ntriangleright");_(w,k,U,"\u22ED","\\ntrianglerighteq",!0);_(w,k,U,"\uE018","\\@nsupseteqq");_(w,k,U,"\u228B","\\supsetneq",!0);_(w,k,U,"\uE01B","\\@varsupsetneq");_(w,k,U,"\u2ACC","\\supsetneqq",!0);_(w,k,U,"\uE019","\\@varsupsetneqq");_(w,k,U,"\u22AE","\\nVdash",!0);_(w,k,U,"\u2AB5","\\precneqq",!0);_(w,k,U,"\u2AB6","\\succneqq",!0);_(w,k,U,"\uE016","\\@nsubseteqq");_(w,k,$e,"\u22B4","\\unlhd");_(w,k,$e,"\u22B5","\\unrhd");_(w,k,U,"\u219A","\\nleftarrow",!0);_(w,k,U,"\u219B","\\nrightarrow",!0);_(w,k,U,"\u21CD","\\nLeftarrow",!0);_(w,k,U,"\u21CF","\\nRightarrow",!0);_(w,k,U,"\u21AE","\\nleftrightarrow",!0);_(w,k,U,"\u21CE","\\nLeftrightarrow",!0);_(w,k,U,"\u25B3","\\vartriangle");_(w,k,$,"\u210F","\\hslash");_(w,k,$,"\u25BD","\\triangledown");_(w,k,$,"\u25CA","\\lozenge");_(w,k,$,"\u24C8","\\circledS");_(w,k,$,"\xAE","\\circledR");_(ve,k,$,"\xAE","\\circledR");_(w,k,$,"\u2221","\\measuredangle",!0);_(w,k,$,"\u2204","\\nexists");_(w,k,$,"\u2127","\\mho");_(w,k,$,"\u2132","\\Finv",!0);_(w,k,$,"\u2141","\\Game",!0);_(w,k,$,"\u2035","\\backprime");_(w,k,$,"\u25B2","\\blacktriangle");_(w,k,$,"\u25BC","\\blacktriangledown");_(w,k,$,"\u25A0","\\blacksquare");_(w,k,$,"\u29EB","\\blacklozenge");_(w,k,$,"\u2605","\\bigstar");_(w,k,$,"\u2222","\\sphericalangle",!0);_(w,k,$,"\u2201","\\complement",!0);_(w,k,$,"\xF0","\\eth",!0);_(ve,x,$,"\xF0","\xF0");_(w,k,$,"\u2571","\\diagup");_(w,k,$,"\u2572","\\diagdown");_(w,k,$,"\u25A1","\\square");_(w,k,$,"\u25A1","\\Box");_(w,k,$,"\u25CA","\\Diamond");_(w,k,$,"\xA5","\\yen",!0);_(ve,k,$,"\xA5","\\yen",!0);_(w,k,$,"\u2713","\\checkmark",!0);_(ve,k,$,"\u2713","\\checkmark");_(w,k,$,"\u2136","\\beth",!0);_(w,k,$,"\u2138","\\daleth",!0);_(w,k,$,"\u2137","\\gimel",!0);_(w,k,$,"\u03DD","\\digamma",!0);_(w,k,$,"\u03F0","\\varkappa");_(w,k,Fo,"\u250C","\\@ulcorner",!0);_(w,k,Ua,"\u2510","\\@urcorner",!0);_(w,k,Fo,"\u2514","\\@llcorner",!0);_(w,k,Ua,"\u2518","\\@lrcorner",!0);_(w,k,U,"\u2266","\\leqq",!0);_(w,k,U,"\u2A7D","\\leqslant",!0);_(w,k,U,"\u2A95","\\eqslantless",!0);_(w,k,U,"\u2272","\\lesssim",!0);_(w,k,U,"\u2A85","\\lessapprox",!0);_(w,k,U,"\u224A","\\approxeq",!0);_(w,k,$e,"\u22D6","\\lessdot");_(w,k,U,"\u22D8","\\lll",!0);_(w,k,U,"\u2276","\\lessgtr",!0);_(w,k,U,"\u22DA","\\lesseqgtr",!0);_(w,k,U,"\u2A8B","\\lesseqqgtr",!0);_(w,k,U,"\u2251","\\doteqdot");_(w,k,U,"\u2253","\\risingdotseq",!0);_(w,k,U,"\u2252","\\fallingdotseq",!0);_(w,k,U,"\u223D","\\backsim",!0);_(w,k,U,"\u22CD","\\backsimeq",!0);_(w,k,U,"\u2AC5","\\subseteqq",!0);_(w,k,U,"\u22D0","\\Subset",!0);_(w,k,U,"\u228F","\\sqsubset",!0);_(w,k,U,"\u227C","\\preccurlyeq",!0);_(w,k,U,"\u22DE","\\curlyeqprec",!0);_(w,k,U,"\u227E","\\precsim",!0);_(w,k,U,"\u2AB7","\\precapprox",!0);_(w,k,U,"\u22B2","\\vartriangleleft");_(w,k,U,"\u22B4","\\trianglelefteq");_(w,k,U,"\u22A8","\\vDash",!0);_(w,k,U,"\u22AA","\\Vvdash",!0);_(w,k,U,"\u2323","\\smallsmile");_(w,k,U,"\u2322","\\smallfrown");_(w,k,U,"\u224F","\\bumpeq",!0);_(w,k,U,"\u224E","\\Bumpeq",!0);_(w,k,U,"\u2267","\\geqq",!0);_(w,k,U,"\u2A7E","\\geqslant",!0);_(w,k,U,"\u2A96","\\eqslantgtr",!0);_(w,k,U,"\u2273","\\gtrsim",!0);_(w,k,U,"\u2A86","\\gtrapprox",!0);_(w,k,$e,"\u22D7","\\gtrdot");_(w,k,U,"\u22D9","\\ggg",!0);_(w,k,U,"\u2277","\\gtrless",!0);_(w,k,U,"\u22DB","\\gtreqless",!0);_(w,k,U,"\u2A8C","\\gtreqqless",!0);_(w,k,U,"\u2256","\\eqcirc",!0);_(w,k,U,"\u2257","\\circeq",!0);_(w,k,U,"\u225C","\\triangleq",!0);_(w,k,U,"\u223C","\\thicksim");_(w,k,U,"\u2248","\\thickapprox");_(w,k,U,"\u2AC6","\\supseteqq",!0);_(w,k,U,"\u22D1","\\Supset",!0);_(w,k,U,"\u2290","\\sqsupset",!0);_(w,k,U,"\u227D","\\succcurlyeq",!0);_(w,k,U,"\u22DF","\\curlyeqsucc",!0);_(w,k,U,"\u227F","\\succsim",!0);_(w,k,U,"\u2AB8","\\succapprox",!0);_(w,k,U,"\u22B3","\\vartriangleright");_(w,k,U,"\u22B5","\\trianglerighteq");_(w,k,U,"\u22A9","\\Vdash",!0);_(w,k,U,"\u2223","\\shortmid");_(w,k,U,"\u2225","\\shortparallel");_(w,k,U,"\u226C","\\between",!0);_(w,k,U,"\u22D4","\\pitchfork",!0);_(w,k,U,"\u221D","\\varpropto");_(w,k,U,"\u25C0","\\blacktriangleleft");_(w,k,U,"\u2234","\\therefore",!0);_(w,k,U,"\u220D","\\backepsilon");_(w,k,U,"\u25B6","\\blacktriangleright");_(w,k,U,"\u2235","\\because",!0);_(w,k,U,"\u22D8","\\llless");_(w,k,U,"\u22D9","\\gggtr");_(w,k,$e,"\u22B2","\\lhd");_(w,k,$e,"\u22B3","\\rhd");_(w,k,U,"\u2242","\\eqsim",!0);_(w,x,U,"\u22C8","\\Join");_(w,k,U,"\u2251","\\Doteq",!0);_(w,k,$e,"\u2214","\\dotplus",!0);_(w,k,$e,"\u2216","\\smallsetminus");_(w,k,$e,"\u22D2","\\Cap",!0);_(w,k,$e,"\u22D3","\\Cup",!0);_(w,k,$e,"\u2A5E","\\doublebarwedge",!0);_(w,k,$e,"\u229F","\\boxminus",!0);_(w,k,$e,"\u229E","\\boxplus",!0);_(w,k,$e,"\u22C7","\\divideontimes",!0);_(w,k,$e,"\u22C9","\\ltimes",!0);_(w,k,$e,"\u22CA","\\rtimes",!0);_(w,k,$e,"\u22CB","\\leftthreetimes",!0);_(w,k,$e,"\u22CC","\\rightthreetimes",!0);_(w,k,$e,"\u22CF","\\curlywedge",!0);_(w,k,$e,"\u22CE","\\curlyvee",!0);_(w,k,$e,"\u229D","\\circleddash",!0);_(w,k,$e,"\u229B","\\circledast",!0);_(w,k,$e,"\u22C5","\\centerdot");_(w,k,$e,"\u22BA","\\intercal",!0);_(w,k,$e,"\u22D2","\\doublecap");_(w,k,$e,"\u22D3","\\doublecup");_(w,k,$e,"\u22A0","\\boxtimes",!0);_(w,k,U,"\u21E2","\\dashrightarrow",!0);_(w,k,U,"\u21E0","\\dashleftarrow",!0);_(w,k,U,"\u21C7","\\leftleftarrows",!0);_(w,k,U,"\u21C6","\\leftrightarrows",!0);_(w,k,U,"\u21DA","\\Lleftarrow",!0);_(w,k,U,"\u219E","\\twoheadleftarrow",!0);_(w,k,U,"\u21A2","\\leftarrowtail",!0);_(w,k,U,"\u21AB","\\looparrowleft",!0);_(w,k,U,"\u21CB","\\leftrightharpoons",!0);_(w,k,U,"\u21B6","\\curvearrowleft",!0);_(w,k,U,"\u21BA","\\circlearrowleft",!0);_(w,k,U,"\u21B0","\\Lsh",!0);_(w,k,U,"\u21C8","\\upuparrows",!0);_(w,k,U,"\u21BF","\\upharpoonleft",!0);_(w,k,U,"\u21C3","\\downharpoonleft",!0);_(w,x,U,"\u22B6","\\origof",!0);_(w,x,U,"\u22B7","\\imageof",!0);_(w,k,U,"\u22B8","\\multimap",!0);_(w,k,U,"\u21AD","\\leftrightsquigarrow",!0);_(w,k,U,"\u21C9","\\rightrightarrows",!0);_(w,k,U,"\u21C4","\\rightleftarrows",!0);_(w,k,U,"\u21A0","\\twoheadrightarrow",!0);_(w,k,U,"\u21A3","\\rightarrowtail",!0);_(w,k,U,"\u21AC","\\looparrowright",!0);_(w,k,U,"\u21B7","\\curvearrowright",!0);_(w,k,U,"\u21BB","\\circlearrowright",!0);_(w,k,U,"\u21B1","\\Rsh",!0);_(w,k,U,"\u21CA","\\downdownarrows",!0);_(w,k,U,"\u21BE","\\upharpoonright",!0);_(w,k,U,"\u21C2","\\downharpoonright",!0);_(w,k,U,"\u21DD","\\rightsquigarrow",!0);_(w,k,U,"\u21DD","\\leadsto");_(w,k,U,"\u21DB","\\Rrightarrow",!0);_(w,k,U,"\u21BE","\\restriction");_(w,x,$,"\u2018","`");_(w,x,$,"$","\\$");_(ve,x,$,"$","\\$");_(ve,x,$,"$","\\textdollar");_(w,x,$,"%","\\%");_(ve,x,$,"%","\\%");_(w,x,$,"_","\\_");_(ve,x,$,"_","\\_");_(ve,x,$,"_","\\textunderscore");_(w,x,$,"\u2220","\\angle",!0);_(w,x,$,"\u221E","\\infty",!0);_(w,x,$,"\u2032","\\prime");_(w,x,$,"\u25B3","\\triangle");_(w,x,$,"\u0393","\\Gamma",!0);_(w,x,$,"\u0394","\\Delta",!0);_(w,x,$,"\u0398","\\Theta",!0);_(w,x,$,"\u039B","\\Lambda",!0);_(w,x,$,"\u039E","\\Xi",!0);_(w,x,$,"\u03A0","\\Pi",!0);_(w,x,$,"\u03A3","\\Sigma",!0);_(w,x,$,"\u03A5","\\Upsilon",!0);_(w,x,$,"\u03A6","\\Phi",!0);_(w,x,$,"\u03A8","\\Psi",!0);_(w,x,$,"\u03A9","\\Omega",!0);_(w,x,$,"A","\u0391");_(w,x,$,"B","\u0392");_(w,x,$,"E","\u0395");_(w,x,$,"Z","\u0396");_(w,x,$,"H","\u0397");_(w,x,$,"I","\u0399");_(w,x,$,"K","\u039A");_(w,x,$,"M","\u039C");_(w,x,$,"N","\u039D");_(w,x,$,"O","\u039F");_(w,x,$,"P","\u03A1");_(w,x,$,"T","\u03A4");_(w,x,$,"X","\u03A7");_(w,x,$,"\xAC","\\neg",!0);_(w,x,$,"\xAC","\\lnot");_(w,x,$,"\u22A4","\\top");_(w,x,$,"\u22A5","\\bot");_(w,x,$,"\u2205","\\emptyset");_(w,k,$,"\u2205","\\varnothing");_(w,x,vt,"\u03B1","\\alpha",!0);_(w,x,vt,"\u03B2","\\beta",!0);_(w,x,vt,"\u03B3","\\gamma",!0);_(w,x,vt,"\u03B4","\\delta",!0);_(w,x,vt,"\u03F5","\\epsilon",!0);_(w,x,vt,"\u03B6","\\zeta",!0);_(w,x,vt,"\u03B7","\\eta",!0);_(w,x,vt,"\u03B8","\\theta",!0);_(w,x,vt,"\u03B9","\\iota",!0);_(w,x,vt,"\u03BA","\\kappa",!0);_(w,x,vt,"\u03BB","\\lambda",!0);_(w,x,vt,"\u03BC","\\mu",!0);_(w,x,vt,"\u03BD","\\nu",!0);_(w,x,vt,"\u03BE","\\xi",!0);_(w,x,vt,"\u03BF","\\omicron",!0);_(w,x,vt,"\u03C0","\\pi",!0);_(w,x,vt,"\u03C1","\\rho",!0);_(w,x,vt,"\u03C3","\\sigma",!0);_(w,x,vt,"\u03C4","\\tau",!0);_(w,x,vt,"\u03C5","\\upsilon",!0);_(w,x,vt,"\u03D5","\\phi",!0);_(w,x,vt,"\u03C7","\\chi",!0);_(w,x,vt,"\u03C8","\\psi",!0);_(w,x,vt,"\u03C9","\\omega",!0);_(w,x,vt,"\u03B5","\\varepsilon",!0);_(w,x,vt,"\u03D1","\\vartheta",!0);_(w,x,vt,"\u03D6","\\varpi",!0);_(w,x,vt,"\u03F1","\\varrho",!0);_(w,x,vt,"\u03C2","\\varsigma",!0);_(w,x,vt,"\u03C6","\\varphi",!0);_(w,x,$e,"\u2217","*",!0);_(w,x,$e,"+","+");_(w,x,$e,"\u2212","-",!0);_(w,x,$e,"\u22C5","\\cdot",!0);_(w,x,$e,"\u2218","\\circ",!0);_(w,x,$e,"\xF7","\\div",!0);_(w,x,$e,"\xB1","\\pm",!0);_(w,x,$e,"\xD7","\\times",!0);_(w,x,$e,"\u2229","\\cap",!0);_(w,x,$e,"\u222A","\\cup",!0);_(w,x,$e,"\u2216","\\setminus",!0);_(w,x,$e,"\u2227","\\land");_(w,x,$e,"\u2228","\\lor");_(w,x,$e,"\u2227","\\wedge",!0);_(w,x,$e,"\u2228","\\vee",!0);_(w,x,$,"\u221A","\\surd");_(w,x,Fo,"\u27E8","\\langle",!0);_(w,x,Fo,"\u2223","\\lvert");_(w,x,Fo,"\u2225","\\lVert");_(w,x,Ua,"?","?");_(w,x,Ua,"!","!");_(w,x,Ua,"\u27E9","\\rangle",!0);_(w,x,Ua,"\u2223","\\rvert");_(w,x,Ua,"\u2225","\\rVert");_(w,x,U,"=","=");_(w,x,U,":",":");_(w,x,U,"\u2248","\\approx",!0);_(w,x,U,"\u2245","\\cong",!0);_(w,x,U,"\u2265","\\ge");_(w,x,U,"\u2265","\\geq",!0);_(w,x,U,"\u2190","\\gets");_(w,x,U,">","\\gt",!0);_(w,x,U,"\u2208","\\in",!0);_(w,x,U,"\uE020","\\@not");_(w,x,U,"\u2282","\\subset",!0);_(w,x,U,"\u2283","\\supset",!0);_(w,x,U,"\u2286","\\subseteq",!0);_(w,x,U,"\u2287","\\supseteq",!0);_(w,k,U,"\u2288","\\nsubseteq",!0);_(w,k,U,"\u2289","\\nsupseteq",!0);_(w,x,U,"\u22A8","\\models");_(w,x,U,"\u2190","\\leftarrow",!0);_(w,x,U,"\u2264","\\le");_(w,x,U,"\u2264","\\leq",!0);_(w,x,U,"<","\\lt",!0);_(w,x,U,"\u2192","\\rightarrow",!0);_(w,x,U,"\u2192","\\to");_(w,k,U,"\u2271","\\ngeq",!0);_(w,k,U,"\u2270","\\nleq",!0);_(w,x,Bl,"\xA0","\\ ");_(w,x,Bl,"\xA0","\\space");_(w,x,Bl,"\xA0","\\nobreakspace");_(ve,x,Bl,"\xA0","\\ ");_(ve,x,Bl,"\xA0"," ");_(ve,x,Bl,"\xA0","\\space");_(ve,x,Bl,"\xA0","\\nobreakspace");_(w,x,Bl,null,"\\nobreak");_(w,x,Bl,null,"\\allowbreak");_(w,x,f2,",",",");_(w,x,f2,";",";");_(w,k,$e,"\u22BC","\\barwedge",!0);_(w,k,$e,"\u22BB","\\veebar",!0);_(w,x,$e,"\u2299","\\odot",!0);_(w,x,$e,"\u2295","\\oplus",!0);_(w,x,$e,"\u2297","\\otimes",!0);_(w,x,$,"\u2202","\\partial",!0);_(w,x,$e,"\u2298","\\oslash",!0);_(w,k,$e,"\u229A","\\circledcirc",!0);_(w,k,$e,"\u22A1","\\boxdot",!0);_(w,x,$e,"\u25B3","\\bigtriangleup");_(w,x,$e,"\u25BD","\\bigtriangledown");_(w,x,$e,"\u2020","\\dagger");_(w,x,$e,"\u22C4","\\diamond");_(w,x,$e,"\u22C6","\\star");_(w,x,$e,"\u25C3","\\triangleleft");_(w,x,$e,"\u25B9","\\triangleright");_(w,x,Fo,"{","\\{");_(ve,x,$,"{","\\{");_(ve,x,$,"{","\\textbraceleft");_(w,x,Ua,"}","\\}");_(ve,x,$,"}","\\}");_(ve,x,$,"}","\\textbraceright");_(w,x,Fo,"{","\\lbrace");_(w,x,Ua,"}","\\rbrace");_(w,x,Fo,"[","\\lbrack",!0);_(ve,x,$,"[","\\lbrack",!0);_(w,x,Ua,"]","\\rbrack",!0);_(ve,x,$,"]","\\rbrack",!0);_(w,x,Fo,"(","\\lparen",!0);_(w,x,Ua,")","\\rparen",!0);_(ve,x,$,"<","\\textless",!0);_(ve,x,$,">","\\textgreater",!0);_(w,x,Fo,"\u230A","\\lfloor",!0);_(w,x,Ua,"\u230B","\\rfloor",!0);_(w,x,Fo,"\u2308","\\lceil",!0);_(w,x,Ua,"\u2309","\\rceil",!0);_(w,x,$,"\\","\\backslash");_(w,x,$,"\u2223","|");_(w,x,$,"\u2223","\\vert");_(ve,x,$,"|","\\textbar",!0);_(w,x,$,"\u2225","\\|");_(w,x,$,"\u2225","\\Vert");_(ve,x,$,"\u2225","\\textbardbl");_(ve,x,$,"~","\\textasciitilde");_(ve,x,$,"\\","\\textbackslash");_(ve,x,$,"^","\\textasciicircum");_(w,x,U,"\u2191","\\uparrow",!0);_(w,x,U,"\u21D1","\\Uparrow",!0);_(w,x,U,"\u2193","\\downarrow",!0);_(w,x,U,"\u21D3","\\Downarrow",!0);_(w,x,U,"\u2195","\\updownarrow",!0);_(w,x,U,"\u21D5","\\Updownarrow",!0);_(w,x,Sr,"\u2210","\\coprod");_(w,x,Sr,"\u22C1","\\bigvee");_(w,x,Sr,"\u22C0","\\bigwedge");_(w,x,Sr,"\u2A04","\\biguplus");_(w,x,Sr,"\u22C2","\\bigcap");_(w,x,Sr,"\u22C3","\\bigcup");_(w,x,Sr,"\u222B","\\int");_(w,x,Sr,"\u222B","\\intop");_(w,x,Sr,"\u222C","\\iint");_(w,x,Sr,"\u222D","\\iiint");_(w,x,Sr,"\u220F","\\prod");_(w,x,Sr,"\u2211","\\sum");_(w,x,Sr,"\u2A02","\\bigotimes");_(w,x,Sr,"\u2A01","\\bigoplus");_(w,x,Sr,"\u2A00","\\bigodot");_(w,x,Sr,"\u222E","\\oint");_(w,x,Sr,"\u222F","\\oiint");_(w,x,Sr,"\u2230","\\oiiint");_(w,x,Sr,"\u2A06","\\bigsqcup");_(w,x,Sr,"\u222B","\\smallint");_(ve,x,vm,"\u2026","\\textellipsis");_(w,x,vm,"\u2026","\\mathellipsis");_(ve,x,vm,"\u2026","\\ldots",!0);_(w,x,vm,"\u2026","\\ldots",!0);_(w,x,vm,"\u22EF","\\@cdots",!0);_(w,x,vm,"\u22F1","\\ddots",!0);_(w,x,$,"\u22EE","\\varvdots");_(ve,x,$,"\u22EE","\\varvdots");_(w,x,$n,"\u02CA","\\acute");_(w,x,$n,"\u02CB","\\grave");_(w,x,$n,"\xA8","\\ddot");_(w,x,$n,"~","\\tilde");_(w,x,$n,"\u02C9","\\bar");_(w,x,$n,"\u02D8","\\breve");_(w,x,$n,"\u02C7","\\check");_(w,x,$n,"^","\\hat");_(w,x,$n,"\u20D7","\\vec");_(w,x,$n,"\u02D9","\\dot");_(w,x,$n,"\u02DA","\\mathring");_(w,x,vt,"\uE131","\\@imath");_(w,x,vt,"\uE237","\\@jmath");_(w,x,$,"\u0131","\u0131");_(w,x,$,"\u0237","\u0237");_(ve,x,$,"\u0131","\\i",!0);_(ve,x,$,"\u0237","\\j",!0);_(ve,x,$,"\xDF","\\ss",!0);_(ve,x,$,"\xE6","\\ae",!0);_(ve,x,$,"\u0153","\\oe",!0);_(ve,x,$,"\xF8","\\o",!0);_(ve,x,$,"\xC6","\\AE",!0);_(ve,x,$,"\u0152","\\OE",!0);_(ve,x,$,"\xD8","\\O",!0);_(ve,x,$n,"\u02CA","\\'");_(ve,x,$n,"\u02CB","\\`");_(ve,x,$n,"\u02C6","\\^");_(ve,x,$n,"\u02DC","\\~");_(ve,x,$n,"\u02C9","\\=");_(ve,x,$n,"\u02D8","\\u");_(ve,x,$n,"\u02D9","\\.");_(ve,x,$n,"\xB8","\\c");_(ve,x,$n,"\u02DA","\\r");_(ve,x,$n,"\u02C7","\\v");_(ve,x,$n,"\xA8",'\\"');_(ve,x,$n,"\u02DD","\\H");_(ve,x,$n,"\u25EF","\\textcircled");var UV={"--":!0,"---":!0,"``":!0,"''":!0};_(ve,x,$,"\u2013","--",!0);_(ve,x,$,"\u2013","\\textendash");_(ve,x,$,"\u2014","---",!0);_(ve,x,$,"\u2014","\\textemdash");_(ve,x,$,"\u2018","`",!0);_(ve,x,$,"\u2018","\\textquoteleft");_(ve,x,$,"\u2019","'",!0);_(ve,x,$,"\u2019","\\textquoteright");_(ve,x,$,"\u201C","``",!0);_(ve,x,$,"\u201C","\\textquotedblleft");_(ve,x,$,"\u201D","''",!0);_(ve,x,$,"\u201D","\\textquotedblright");_(w,x,$,"\xB0","\\degree",!0);_(ve,x,$,"\xB0","\\degree");_(ve,x,$,"\xB0","\\textdegree",!0);_(w,x,$,"\xA3","\\pounds");_(w,x,$,"\xA3","\\mathsterling",!0);_(ve,x,$,"\xA3","\\pounds");_(ve,x,$,"\xA3","\\textsterling",!0);_(w,k,$,"\u2720","\\maltese");_(ve,k,$,"\u2720","\\maltese");var HV='0123456789/@."';for(d2=0;d20)return Wi(o,c,a,n,i.concat(s));if(l){var f,d;if(l==="boldsymbol"){var p=ORe(o,a,n,i,r);f=p.fontName,d=[p.fontClass]}else u?(f=qV[l].fontName,d=[l]):(f=y2(l,n.fontWeight,n.fontShape),d=[l,n.fontWeight,n.fontShape]);if(g2(o,f,a).metrics)return Wi(o,f,a,n,i.concat(d));if(UV.hasOwnProperty(o)&&f.slice(0,10)==="Typewriter"){for(var v=[],b=0;b{if(as(e.classes)!==as(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},BRe=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},Ya=function(t,n,r,a){var o=new mm(t,n,r,a);return YE(o),o},zV=(e,t,n,r)=>new mm(e,t,n,r),WRe=function(t,n,r){var a=Ya([t],[],n);return a.height=Math.max(r||n.fontMetrics().defaultRuleThickness,n.minRuleThickness),a.style.borderBottomWidth=Ie(a.height),a.maxFontSize=1,a},zRe=function(t,n,r,a){var o=new c2(t,n,r,a);return YE(o),o},GV=function(t){var n=new pm(t);return YE(n),n},GRe=function(t,n){return t instanceof pm?Ya([],[t],n):t},qRe=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=Ya(["mspace"],[],t),r=nr(e,t);return n.style.marginRight=Ie(r),n},y2=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},qV={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"}},$V={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},JRe=function(t,n){var[r,a,o]=$V[t],i=new Hl(r),u=new Pu([i],{width:Ie(a),height:Ie(o),style:"width:"+Ie(a),viewBox:"0 0 "+1e3*a+" "+1e3*o,preserveAspectRatio:"xMinYMin"}),l=zV(["overlay"],[u],n);return l.height=o,l.style.height=Ie(o),l.style.width=Ie(a),l},te={fontMap:qV,makeSymbol:Wi,mathsym:kRe,makeSpan:Ya,makeSvgSpan:zV,makeLineSpan:WRe,makeAnchor:zRe,makeFragment:GV,wrapFragment:GRe,makeVList:$Re,makeOrd:URe,makeGlue:VRe,staticSvg:JRe,svgData:$V,tryCombineChars:BRe},ar={number:3,unit:"mu"},Gf={number:4,unit:"mu"},zl={number:5,unit:"mu"},XRe={mord:{mop:ar,mbin:Gf,mrel:zl,minner:ar},mop:{mord:ar,mop:ar,mrel:zl,minner:ar},mbin:{mord:Gf,mop:Gf,mopen:Gf,minner:Gf},mrel:{mord:zl,mop:zl,mopen:zl,minner:zl},mopen:{},mclose:{mop:ar,mbin:Gf,mrel:zl,minner:ar},mpunct:{mord:ar,mop:ar,mrel:zl,mopen:ar,mclose:ar,mpunct:ar,minner:ar},minner:{mord:ar,mop:ar,mbin:Gf,mrel:zl,mopen:ar,mpunct:ar,minner:ar}},YRe={mord:{mop:ar},mop:{mord:ar,mop:ar},mbin:{},mrel:{},mopen:{},mclose:{mop:ar},mpunct:{},minner:{mop:ar}},VV={},D2={},b2={};function We(e){for(var{type:t,names:n,props:r,handler:a,htmlBuilder:o,mathmlBuilder:i}=e,u={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},l=0;l{var g=b.classes[0],D=v.classes[0];g==="mbin"&&st.contains(QRe,D)?b.classes[0]="mord":D==="mbin"&&st.contains(ZRe,g)&&(v.classes[0]="mord")},{node:f},d,p),JV(o,(v,b)=>{var g=ZE(b),D=ZE(v),C=g&&D?v.hasClass("mtight")?YRe[g][D]:XRe[g][D]:null;if(C)return te.makeGlue(C,c)},{node:f},d,p),o},JV=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()},XV=function(t){return t instanceof pm||t instanceof c2||t instanceof mm&&t.hasClass("enclosing")?t:null},txe=function e(t,n){var r=XV(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},ZE=function(t,n){return t?(n&&(t=txe(t,n)),exe[t.classes[0]]||null):null},$h=function(t,n){var r=["nulldelimiter"].concat(t.baseSizingClasses());return Gl(n.concat(r))},sn=function(t,n,r){if(!t)return Gl();if(D2[t.type]){var a=D2[t.type](t,n);if(r&&n.size!==r.size){a=Gl(n.sizingClasses(r),[a],n);var o=n.sizeMultiplier/r.sizeMultiplier;a.height*=o,a.depth*=o}return a}else throw new we("Got group of unknown type: '"+t.type+"'")};function C2(e,t){var n=Gl(["base"],e,t),r=Gl(["strut"]);return r.style.height=Ie(n.height+n.depth),n.depth&&(r.style.verticalAlign=Ie(-n.depth)),n.children.unshift(r),n}function QE(e,t){var n=null;e.length===1&&e[0].type==="tag"&&(n=e[0].tag,e=e[0].body);var r=Br(e,t,"root"),a;r.length===2&&r[1].hasClass("tag")&&(a=r.pop());for(var o=[],i=[],u=0;u0&&(o.push(C2(i,t)),i=[]),o.push(r[u]));i.length>0&&o.push(C2(i,t));var c;n?(c=C2(Br(n,t,!0)),c.classes=["tag"],o.push(c)):a&&o.push(a);var s=Gl(["katex-html"],o);if(s.setAttribute("aria-hidden","true"),c){var f=c.children[0];f.style.height=Ie(s.height+s.depth),s.depth&&(f.style.verticalAlign=Ie(-s.depth))}return s}function YV(e){return new pm(e)}var Za=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=as(this.classes));for(var r=0;r0&&(t+=' class ="'+st.escape(as(this.classes))+'"'),t+=">";for(var r=0;r",t}toText(){return this.children.map(t=>t.toText()).join("")}},zi=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}},ZV=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",Ie(this.width)),t}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}},ye={MathNode:Za,TextNode:zi,SpaceNode:ZV,newDocumentFragment:YV},mi=function(t,n,r){return Pn[n][t]&&Pn[n][t].replace&&t.charCodeAt(0)!==55349&&!(UV.hasOwnProperty(t)&&r&&(r.fontFamily&&r.fontFamily.slice(4,6)==="tt"||r.font&&r.font.slice(4,6)==="tt"))&&(t=Pn[n][t].replace),new ye.TextNode(t)},KE=function(t){return t.length===1?t[0]:new ye.MathNode("mrow",t)},e6=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;Pn[a][o]&&Pn[a][o].replace&&(o=Pn[a][o].replace);var i=te.fontMap[r].fontName;return GE(o,i,a)?te.fontMap[r].variant:null};function t6(e){if(!e)return!1;if(e.type==="mi"&&e.children.length===1){var t=e.children[0];return t instanceof zi&&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 zi&&n.text===","}else return!1}var Qa=function(t,n,r){if(t.length===1){var a=In(t[0],n);return r&&a instanceof Za&&a.type==="mo"&&(a.setAttribute("lspace","0em"),a.setAttribute("rspace","0em")),[a]}for(var o=[],i,u=0;u=1&&(i.type==="mn"||t6(i))){var c=l.children[0];c instanceof Za&&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 zi&&s.text==="\u0338"&&(l.type==="mo"||l.type==="mi"||l.type==="mn")){var f=l.children[0];f instanceof zi&&f.text.length>0&&(f.text=f.text.slice(0,1)+"\u0338"+f.text.slice(1),o.pop())}}}o.push(l),i=l}return o},is=function(t,n,r){return KE(Qa(t,n,r))},In=function(t,n){if(!t)return new ye.MathNode("mrow");if(b2[t.type]){var r=b2[t.type](t,n);return r}else throw new we("Got group of unknown type: '"+t.type+"'")};function QV(e,t,n,r,a){var o=Qa(e,n),i;o.length===1&&o[0]instanceof Za&&st.contains(["mrow","mtable"],o[0].type)?i=o[0]:i=new ye.MathNode("mrow",o);var u=new ye.MathNode("annotation",[new ye.TextNode(t)]);u.setAttribute("encoding","application/x-tex");var l=new ye.MathNode("semantics",[i,u]),c=new ye.MathNode("math",[l]);c.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),r&&c.setAttribute("display","block");var s=a?"katex":"katex-mathml";return te.makeSpan([s],[c])}var KV=function(t){return new Au({style:t.displayMode?mt.DISPLAY:mt.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},eJ=function(t,n){if(n.displayMode){var r=["katex-display"];n.leqno&&r.push("leqno"),n.fleqn&&r.push("fleqn"),t=te.makeSpan(r,[t])}return t},nxe=function(t,n,r){var a=KV(r),o;if(r.output==="mathml")return QV(t,n,a,r.displayMode,!0);if(r.output==="html"){var i=QE(t,a);o=te.makeSpan(["katex"],[i])}else{var u=QV(t,n,a,r.displayMode,!1),l=QE(t,a);o=te.makeSpan(["katex"],[u,l])}return eJ(o,r)},rxe=function(t,n,r){var a=KV(r),o=QE(t,a),i=te.makeSpan(["katex"],[o]);return eJ(i,r)},axe={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":"="},oxe=function(t){var n=new ye.MathNode("mo",[new ye.TextNode(axe[t.replace(/^\\/,"")])]);return n.setAttribute("stretchy","true"),n},ixe={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]},uxe=function(t){return t.type==="ordgroup"?t.body.length:1},lxe=function(t,n){function r(){var u=4e5,l=t.label.slice(1);if(st.contains(["widehat","widecheck","widetilde","utilde"],l)){var c=t,s=uxe(c.base),f,d,p;if(s>5)l==="widehat"||l==="widecheck"?(f=420,u=2364,p=.42,d=l+"4"):(f=312,u=2340,p=.34,d="tilde4");else{var v=[1,1,2,2,3,3][s];l==="widehat"||l==="widecheck"?(u=[0,1062,2364,2364,2364][v],f=[0,239,300,360,420][v],p=[0,.24,.3,.3,.36,.42][v],d=l+v):(u=[0,600,1033,2339,2340][v],f=[0,260,286,306,312][v],p=[0,.26,.286,.3,.306,.34][v],d="tilde"+v)}var b=new Hl(d),g=new Pu([b],{width:"100%",height:Ie(p),viewBox:"0 0 "+u+" "+f,preserveAspectRatio:"none"});return{span:te.makeSvgSpan([],[g],n),minWidth:0,height:p}}else{var D=[],C=ixe[l],[S,I,A]=C,T=A/1e3,P=S.length,q,V;if(P===1){var Z=C[3];q=["hide-tail"],V=[Z]}else if(P===2)q=["halfarrow-left","halfarrow-right"],V=["xMinYMin","xMaxYMin"];else if(P===3)q=["brace-left","brace-center","brace-right"],V=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support `+P+" children.");for(var W=0;W0&&(a.style.minWidth=Ie(o)),a},cxe=function(t,n,r,a,o){var i,u=t.height+t.depth+r+a;if(/fbox|color|angl/.test(n)){if(i=te.makeSpan(["stretchy",n],[],o),n==="fbox"){var l=o.color&&o.getColor();l&&(i.style.borderColor=l)}}else{var c=[];/^[bx]cancel$/.test(n)&&c.push(new s2({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(n)&&c.push(new s2({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var s=new Pu(c,{width:"100%",height:Ie(u)});i=te.makeSvgSpan([],[s],o)}return i.height=u,i.style.height=Ie(u),i},ql={encloseSpan:cxe,mathMLnode:oxe,svgSpan:lxe};function Wt(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 n6(e){var t=R2(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 R2(e){return e&&(e.type==="atom"||jRe.hasOwnProperty(e.type))?e:null}var r6=(e,t)=>{var n,r,a;e&&e.type==="supsub"?(r=Wt(e.base,"accent"),n=r.base,e.base=n,a=ARe(sn(e,t)),e.base=r):(r=Wt(e,"accent"),n=r.base);var o=sn(n,t.havingCrampedStyle()),i=r.isShifty&&st.isCharacterBox(n),u=0;if(i){var l=st.getBaseElem(n),c=sn(l,t.havingCrampedStyle());u=OV(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=ql.svgSpan(r,t),d=te.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"elem",elem:d,wrapperClasses:["svg-align"],wrapperStyle:u>0?{width:"calc(100% - "+Ie(2*u)+")",marginLeft:Ie(2*u)}:void 0}]},t);else{var p,v;r.label==="\\vec"?(p=te.staticSvg("vec",t),v=te.svgData.vec[1]):(p=te.makeOrd({mode:r.mode,text:r.label},t,"textord"),p=OV(p),p.italic=0,v=p.width,s&&(f+=p.depth)),d=te.makeSpan(["accent-body"],[p]);var b=r.label==="\\textcircled";b&&(d.classes.push("accent-full"),f=o.height);var g=u;b||(g-=v/2),d.style.left=Ie(g),r.label==="\\textcircled"&&(d.style.top=".2em"),d=te.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:-f},{type:"elem",elem:d}]},t)}var D=te.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},tJ=(e,t)=>{var n=e.isStretchy?ql.mathMLnode(e.label):new ye.MathNode("mo",[mi(e.label,e.mode)]),r=new ye.MathNode("mover",[In(e.base,t),n]);return r.setAttribute("accent","true"),r},sxe=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));We({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=w2(t[0]),r=!sxe.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:r6,mathmlBuilder:tJ});We({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:r6,mathmlBuilder:tJ});We({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=sn(e.base,t),r=ql.svgSpan(e,t),a=e.label==="\\utilde"?.12:0,o=te.makeVList({positionType:"top",positionData:n.height,children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:a},{type:"elem",elem:n}]},t);return te.makeSpan(["mord","accentunder"],[o],t)},mathmlBuilder:(e,t)=>{var n=ql.mathMLnode(e.label),r=new ye.MathNode("munder",[In(e.base,t),n]);return r.setAttribute("accentunder","true"),r}});var x2=e=>{var t=new ye.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};We({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=te.wrapFragment(sn(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=te.wrapFragment(sn(e.below,r,t),t),i.classes.push(o+"-arrow-pad"));var u=ql.svgSpan(e,t),l=-t.fontMetrics().axisHeight+.5*u.height,c=-t.fontMetrics().axisHeight-.5*u.height-.111;(a.depth>.25||e.label==="\\xleftequilibrium")&&(c-=a.depth);var s;if(i){var f=-t.fontMetrics().axisHeight+i.height+.5*u.height+.111;s=te.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:c},{type:"elem",elem:u,shift:l},{type:"elem",elem:i,shift:f}]},t)}else s=te.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:c},{type:"elem",elem:u,shift:l}]},t);return s.children[0].children[0].children[1].classes.push("svg-align"),te.makeSpan(["mrel","x-arrow"],[s],t)},mathmlBuilder(e,t){var n=ql.mathMLnode(e.label);n.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var r;if(e.body){var a=x2(In(e.body,t));if(e.below){var o=x2(In(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=x2(In(e.below,t));r=new ye.MathNode("munder",[n,i])}else r=x2(),r=new ye.MathNode("mover",[n,r]);return r}});var fxe=te.makeSpan;function nJ(e,t){var n=Br(e.body,t,!0);return fxe([e.mclass],n,t)}function rJ(e,t){var n,r=Qa(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}We({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:br(a),isCharacterBox:st.isCharacterBox(a)}},htmlBuilder:nJ,mathmlBuilder:rJ});var T2=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"};We({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:n}=e;return{type:"mclass",mode:n.mode,mclass:T2(t[0]),body:br(t[1]),isCharacterBox:st.isCharacterBox(t[1])}}});We({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=T2(a):i="mrel";var u={type:"op",mode:a.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:r!=="\\stackrel",body:br(a)},l={type:"supsub",mode:o.mode,base:u,sup:r==="\\underset"?null:o,sub:r==="\\underset"?o:null};return{type:"mclass",mode:n.mode,mclass:i,body:[l],isCharacterBox:st.isCharacterBox(l)}},htmlBuilder:nJ,mathmlBuilder:rJ});We({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:"pmb",mode:n.mode,mclass:T2(t[0]),body:br(t[0])}},htmlBuilder(e,t){var n=Br(e.body,t,!0),r=te.makeSpan([e.mclass],n,t);return r.style.textShadow="0.02em 0.01em 0.04px",r},mathmlBuilder(e,t){var n=Qa(e.body,t),r=new ye.MathNode("mstyle",n);return r.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),r}});var dxe={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},aJ=()=>({type:"styling",body:[],mode:"math",style:"display"}),oJ=e=>e.type==="textord"&&e.text==="@",pxe=(e,t)=>(e.type==="mathord"||e.type==="atom")&&e.text===t;function mxe(e,t,n){var r=dxe[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],[]),u=n.callFunction("\\\\cdright",[t[1]],[]),l={type:"ordgroup",mode:"math",body:[a,i,u]};return n.callFunction("\\\\cdparent",[l],[])}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 vxe(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 we("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=l+1;pAV=|." after @',i[l]);var v=mxe(c,s,e),b={type:"styling",body:[v],mode:"math",style:"display"};r.push(b),u=aJ()}o%2==0?r.push(u):r.shift(),r=[],a.push(r)}e.gullet.endGroup(),e.gullet.endGroup();var g=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:g,colSeparationType:"CD",hLinesBeforeRow:new Array(a.length+1).fill([])}}We({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=te.wrapFragment(sn(e.label,n,t),t);return r.classes.push("cd-label-"+e.side),r.style.bottom=Ie(.8-r.depth),r.height=0,r.depth=0,r},mathmlBuilder(e,t){var n=new ye.MathNode("mrow",[In(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}});We({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=te.wrapFragment(sn(e.fragment,t),t);return n.classes.push("cd-vert-arrow"),n},mathmlBuilder(e,t){return new ye.MathNode("mrow",[In(e.fragment,t)])}});We({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:n}=e,r=Wt(t[0],"ordgroup"),a=r.body,o="",i=0;i=1114111)throw new we("\\@char with invalid code point "+o);return l<=65535?c=String.fromCharCode(l):(l-=65536,c=String.fromCharCode((l>>10)+55296,(l&1023)+56320)),{type:"textord",mode:n.mode,text:c}}});var iJ=(e,t)=>{var n=Br(e.body,t.withColor(e.color),!1);return te.makeFragment(n)},uJ=(e,t)=>{var n=Qa(e.body,t.withColor(e.color)),r=new ye.MathNode("mstyle",n);return r.setAttribute("mathcolor",e.color),r};We({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:n}=e,r=Wt(t[0],"color-token").color,a=t[1];return{type:"color",mode:n.mode,color:r,body:br(a)}},htmlBuilder:iJ,mathmlBuilder:uJ});We({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:n,breakOnTokenText:r}=e,a=Wt(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:iJ,mathmlBuilder:uJ});We({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&&Wt(a,"size").value}},htmlBuilder(e,t){var n=te.makeSpan(["mspace"],[],t);return e.newLine&&(n.classes.push("newline"),e.size&&(n.style.marginTop=Ie(nr(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",Ie(nr(e.size,t)))),n}});var a6={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},lJ=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new we("Expected a control sequence",e);return t},hxe=e=>{var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},cJ=(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)};We({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(a6[r.text])return(n==="\\global"||n==="\\\\globallong")&&(r.text=a6[r.text]),Wt(t.parseFunction(),"internal");throw new we("Invalid token after macro prefix",r)}});We({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 we("Expected a control sequence",r);for(var o=0,i,u=[[]];t.gullet.future().text!=="{";)if(r=t.gullet.popToken(),r.text==="#"){if(t.gullet.future().text==="{"){i=t.gullet.future(),u[o].push("{");break}if(r=t.gullet.popToken(),!/^[1-9]$/.test(r.text))throw new we('Invalid argument number "'+r.text+'"');if(parseInt(r.text)!==o+1)throw new we('Argument number "'+r.text+'" out of order');o++,u.push([])}else{if(r.text==="EOF")throw new we("Expected a macro definition");u[o].push(r.text)}var{tokens:l}=t.gullet.consumeArg();return i&&l.unshift(i),(n==="\\edef"||n==="\\xdef")&&(l=t.gullet.expandTokens(l),l.reverse()),t.gullet.macros.set(a,{tokens:l,numArgs:o,delimiters:u},n===a6[n]),{type:"internal",mode:t.mode}}});We({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=lJ(t.gullet.popToken());t.gullet.consumeSpaces();var a=hxe(t);return cJ(t,r,a,n==="\\\\globallet"),{type:"internal",mode:t.mode}}});We({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=lJ(t.gullet.popToken()),a=t.gullet.popToken(),o=t.gullet.popToken();return cJ(t,r,o,n==="\\\\globalfuture"),t.gullet.pushToken(o),t.gullet.pushToken(a),{type:"internal",mode:t.mode}}});var Vh=function(t,n,r){var a=Pn.math[t]&&Pn.math[t].replace,o=GE(a||t,n,r);if(!o)throw new Error("Unsupported symbol "+t+" and font size "+n+".");return o},o6=function(t,n,r,a){var o=r.havingBaseStyle(n),i=te.makeSpan(a.concat(o.sizingClasses(r)),[t],r),u=o.sizeMultiplier/r.sizeMultiplier;return i.height*=u,i.depth*=u,i.maxFontSize=o.sizeMultiplier,i},sJ=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=Ie(o),t.height-=o,t.depth+=o},_xe=function(t,n,r,a,o,i){var u=te.makeSymbol(t,"Main-Regular",o,a),l=o6(u,n,a,i);return r&&sJ(l,a,n),l},gxe=function(t,n,r,a){return te.makeSymbol(t,"Size"+n+"-Regular",r,a)},fJ=function(t,n,r,a,o,i){var u=gxe(t,n,o,a),l=o6(te.makeSpan(["delimsizing","size"+n],[u],a),mt.TEXT,a,i);return r&&sJ(l,a,mt.TEXT),l},i6=function(t,n,r){var a;n==="Size1-Regular"?a="delim-size1":a="delim-size4";var o=te.makeSpan(["delimsizinginner",a],[te.makeSpan([],[te.makeSymbol(t,n,r)])]);return{type:"elem",elem:o}},u6=function(t,n,r){var a=Lu["Size4-Regular"][t.charCodeAt(0)]?Lu["Size4-Regular"][t.charCodeAt(0)][4]:Lu["Size1-Regular"][t.charCodeAt(0)][4],o=new Hl("inner",xRe(t,Math.round(1e3*n))),i=new Pu([o],{width:Ie(a),height:Ie(n),style:"width:"+Ie(a),viewBox:"0 0 "+1e3*a+" "+Math.round(1e3*n),preserveAspectRatio:"xMinYMin"}),u=te.makeSvgSpan([],[i],r);return u.height=n,u.style.height=Ie(n),u.style.width=Ie(a),{type:"elem",elem:u}},l6=.008,E2={type:"kern",size:-1*l6},yxe=["|","\\lvert","\\rvert","\\vert"],Dxe=["\\|","\\lVert","\\rVert","\\Vert"],dJ=function(t,n,r,a,o,i){var u,l,c,s,f="",d=0;u=c=s=t,l=null;var p="Size1-Regular";t==="\\uparrow"?c=s="\u23D0":t==="\\Uparrow"?c=s="\u2016":t==="\\downarrow"?u=c="\u23D0":t==="\\Downarrow"?u=c="\u2016":t==="\\updownarrow"?(u="\\uparrow",c="\u23D0",s="\\downarrow"):t==="\\Updownarrow"?(u="\\Uparrow",c="\u2016",s="\\Downarrow"):st.contains(yxe,t)?(c="\u2223",f="vert",d=333):st.contains(Dxe,t)?(c="\u2225",f="doublevert",d=556):t==="["||t==="\\lbrack"?(u="\u23A1",c="\u23A2",s="\u23A3",p="Size4-Regular",f="lbrack",d=667):t==="]"||t==="\\rbrack"?(u="\u23A4",c="\u23A5",s="\u23A6",p="Size4-Regular",f="rbrack",d=667):t==="\\lfloor"||t==="\u230A"?(c=u="\u23A2",s="\u23A3",p="Size4-Regular",f="lfloor",d=667):t==="\\lceil"||t==="\u2308"?(u="\u23A1",c=s="\u23A2",p="Size4-Regular",f="lceil",d=667):t==="\\rfloor"||t==="\u230B"?(c=u="\u23A5",s="\u23A6",p="Size4-Regular",f="rfloor",d=667):t==="\\rceil"||t==="\u2309"?(u="\u23A4",c=s="\u23A5",p="Size4-Regular",f="rceil",d=667):t==="("||t==="\\lparen"?(u="\u239B",c="\u239C",s="\u239D",p="Size4-Regular",f="lparen",d=875):t===")"||t==="\\rparen"?(u="\u239E",c="\u239F",s="\u23A0",p="Size4-Regular",f="rparen",d=875):t==="\\{"||t==="\\lbrace"?(u="\u23A7",l="\u23A8",s="\u23A9",c="\u23AA",p="Size4-Regular"):t==="\\}"||t==="\\rbrace"?(u="\u23AB",l="\u23AC",s="\u23AD",c="\u23AA",p="Size4-Regular"):t==="\\lgroup"||t==="\u27EE"?(u="\u23A7",s="\u23A9",c="\u23AA",p="Size4-Regular"):t==="\\rgroup"||t==="\u27EF"?(u="\u23AB",s="\u23AD",c="\u23AA",p="Size4-Regular"):t==="\\lmoustache"||t==="\u23B0"?(u="\u23A7",s="\u23AD",c="\u23AA",p="Size4-Regular"):(t==="\\rmoustache"||t==="\u23B1")&&(u="\u23AB",s="\u23A9",c="\u23AA",p="Size4-Regular");var v=Vh(u,p,o),b=v.height+v.depth,g=Vh(c,p,o),D=g.height+g.depth,C=Vh(s,p,o),S=C.height+C.depth,I=0,A=1;if(l!==null){var T=Vh(l,p,o);I=T.height+T.depth,A=2}var P=b+S+I,q=Math.max(0,Math.ceil((n-P)/(A*D))),V=P+q*A*D,Z=a.fontMetrics().axisHeight;r&&(Z*=a.sizeMultiplier);var W=V/2-Z,ee=[];if(f.length>0){var J=V-b-S,Q=Math.round(V*1e3),ue=TRe(f,Math.round(J*1e3)),G=new Hl(f,ue),ne=(d/1e3).toFixed(3)+"em",de=(Q/1e3).toFixed(3)+"em",Ce=new Pu([G],{width:ne,height:de,viewBox:"0 0 "+d+" "+Q}),Fe=te.makeSvgSpan([],[Ce],a);Fe.height=Q/1e3,Fe.style.width=ne,Fe.style.height=de,ee.push({type:"elem",elem:Fe})}else{if(ee.push(i6(s,p,o)),ee.push(E2),l===null){var N=V-b-S+2*l6;ee.push(u6(c,N,a))}else{var F=(V-b-S-I)/2+2*l6;ee.push(u6(c,F,a)),ee.push(E2),ee.push(i6(l,p,o)),ee.push(E2),ee.push(u6(c,F,a))}ee.push(E2),ee.push(i6(u,p,o))}var B=a.havingBaseStyle(mt.TEXT),X=te.makeVList({positionType:"bottom",positionData:W,children:ee},B);return o6(te.makeSpan(["delimsizing","mult"],[X],B),mt.TEXT,a,i)},c6=80,s6=.08,f6=function(t,n,r,a,o){var i=RRe(t,a,r),u=new Hl(t,i),l=new Pu([u],{width:"400em",height:Ie(n),viewBox:"0 0 400000 "+r,preserveAspectRatio:"xMinYMin slice"});return te.makeSvgSpan(["hide-tail"],[l],o)},bxe=function(t,n){var r=n.havingBaseSizing(),a=hJ("\\surd",t*r.sizeMultiplier,vJ,r),o=r.sizeMultiplier,i=Math.max(0,n.minRuleThickness-n.fontMetrics().sqrtRuleThickness),u,l=0,c=0,s=0,f;return a.type==="small"?(s=1e3+1e3*i+c6,t<1?o=1:t<1.4&&(o=.7),l=(1+i+s6)/o,c=(1+i)/o,u=f6("sqrtMain",l,s,i,n),u.style.minWidth="0.853em",f=.833/o):a.type==="large"?(s=(1e3+c6)*Jh[a.size],c=(Jh[a.size]+i)/o,l=(Jh[a.size]+i+s6)/o,u=f6("sqrtSize"+a.size,l,s,i,n),u.style.minWidth="1.02em",f=1/o):(l=t+i+s6,c=t+i,s=Math.floor(1e3*t+i)+c6,u=f6("sqrtTall",l,s,i,n),u.style.minWidth="0.742em",f=1.056),u.height=c,u.style.height=Ie(l),{span:u,advanceWidth:f,ruleWidth:(n.fontMetrics().sqrtRuleThickness+i)*o}},pJ=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],wxe=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],mJ=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Jh=[0,1.2,1.8,2.4,3],Cxe=function(t,n,r,a,o){if(t==="<"||t==="\\lt"||t==="\u27E8"?t="\\langle":(t===">"||t==="\\gt"||t==="\u27E9")&&(t="\\rangle"),st.contains(pJ,t)||st.contains(mJ,t))return fJ(t,n,!1,r,a,o);if(st.contains(wxe,t))return dJ(t,Jh[n],!1,r,a,o);throw new we("Illegal delimiter: '"+t+"'")},Rxe=[{type:"small",style:mt.SCRIPTSCRIPT},{type:"small",style:mt.SCRIPT},{type:"small",style:mt.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],xxe=[{type:"small",style:mt.SCRIPTSCRIPT},{type:"small",style:mt.SCRIPT},{type:"small",style:mt.TEXT},{type:"stack"}],vJ=[{type:"small",style:mt.SCRIPTSCRIPT},{type:"small",style:mt.SCRIPT},{type:"small",style:mt.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Txe=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.")},hJ=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]},_J=function(t,n,r,a,o,i){t==="<"||t==="\\lt"||t==="\u27E8"?t="\\langle":(t===">"||t==="\\gt"||t==="\u27E9")&&(t="\\rangle");var u;st.contains(mJ,t)?u=Rxe:st.contains(pJ,t)?u=vJ:u=xxe;var l=hJ(t,n,u,a);return l.type==="small"?_xe(t,l.style,r,a,o,i):l.type==="large"?fJ(t,l.size,r,a,o,i):dJ(t,n,r,a,o,i)},Exe=function(t,n,r,a,o,i){var u=a.fontMetrics().axisHeight*a.sizeMultiplier,l=901,c=5/a.fontMetrics().ptPerEm,s=Math.max(n-u,r+u),f=Math.max(s/500*l,2*s-c);return _J(t,f,!0,a,o,i)},$l={sqrtImage:bxe,sizedDelim:Cxe,sizeToMaxHeight:Jh,customSizedDelim:_J,leftRightDelim:Exe},gJ={"\\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}},Fxe=["(","\\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 F2(e,t){var n=R2(e);if(n&&st.contains(Fxe,n.text))return n;throw n?new we("Invalid delimiter '"+n.text+"' after '"+t.funcName+"'",e):new we("Invalid delimiter type '"+e.type+"'",e)}We({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=F2(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:gJ[e.funcName].size,mclass:gJ[e.funcName].mclass,delim:n.text}},htmlBuilder:(e,t)=>e.delim==="."?te.makeSpan([e.mclass]):$l.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!=="."&&t.push(mi(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=Ie($l.sizeToMaxHeight[e.size]);return n.setAttribute("minsize",r),n.setAttribute("maxsize",r),n}});function yJ(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}We({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 we("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:F2(t[0],e).text,color:n}}});We({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=F2(t[0],e),r=e.parser;++r.leftrightDepth;var a=r.parseExpression(!1);--r.leftrightDepth,r.expect("\\right",!1);var o=Wt(r.parseFunction(),"leftright-right");return{type:"leftright",mode:r.mode,body:a,left:n.text,right:o.delim,rightColor:o.color}},htmlBuilder:(e,t)=>{yJ(e);for(var n=Br(e.body,t,!0,["mopen","mclose"]),r=0,a=0,o=!1,i=0;i{yJ(e);var n=Qa(e.body,t);if(e.left!=="."){var r=new ye.MathNode("mo",[mi(e.left,e.mode)]);r.setAttribute("fence","true"),n.unshift(r)}if(e.right!=="."){var a=new ye.MathNode("mo",[mi(e.right,e.mode)]);a.setAttribute("fence","true"),e.rightColor&&a.setAttribute("mathcolor",e.rightColor),n.push(a)}return KE(n)}});We({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=F2(t[0],e);if(!e.parser.leftrightDepth)throw new we("\\middle without preceding \\left",n);return{type:"middle",mode:e.parser.mode,delim:n.text}},htmlBuilder:(e,t)=>{var n;if(e.delim===".")n=$h(t,[]);else{n=$l.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==="|"?mi("|","text"):mi(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 d6=(e,t)=>{var n=te.wrapFragment(sn(e.body,t),t),r=e.label.slice(1),a=t.sizeMultiplier,o,i=0,u=st.isCharacterBox(e.body);if(r==="sout")o=te.makeSpan(["stretchy","sout"]),o.height=t.fontMetrics().defaultRuleThickness/a,i=-.5*t.fontMetrics().xHeight;else if(r==="phase"){var l=nr({number:.6,unit:"pt"},t),c=nr({number:.35,unit:"ex"},t),s=t.havingBaseSizing();a=a/s.sizeMultiplier;var f=n.height+n.depth+l+c;n.style.paddingLeft=Ie(f/2+l);var d=Math.floor(1e3*f*a),p=wRe(d),v=new Pu([new Hl("phase",p)],{width:"400em",height:Ie(d/1e3),viewBox:"0 0 400000 "+d,preserveAspectRatio:"xMinYMin slice"});o=te.makeSvgSpan(["hide-tail"],[v],t),o.style.height=Ie(f),i=n.depth+l+c}else{/cancel/.test(r)?u||n.classes.push("cancel-pad"):r==="angl"?n.classes.push("anglpad"):n.classes.push("boxpad");var b=0,g=0,D=0;/box/.test(r)?(D=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),b=t.fontMetrics().fboxsep+(r==="colorbox"?0:D),g=b):r==="angl"?(D=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),b=4*D,g=Math.max(0,.25-n.depth)):(b=u?.2:0,g=b),o=ql.encloseSpan(n,r,b,g,t),/fbox|boxed|fcolorbox/.test(r)?(o.style.borderStyle="solid",o.style.borderWidth=Ie(D)):r==="angl"&&D!==.049&&(o.style.borderTopWidth=Ie(D),o.style.borderRightWidth=Ie(D)),i=n.depth+g,e.backgroundColor&&(o.style.backgroundColor=e.backgroundColor,e.borderColor&&(o.style.borderColor=e.borderColor))}var C;if(e.backgroundColor)C=te.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:i},{type:"elem",elem:n,shift:0}]},t);else{var S=/cancel|phase/.test(r)?["svg-align"]:[];C=te.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:0},{type:"elem",elem:o,shift:i,wrapperClasses:S}]},t)}return/cancel/.test(r)&&(C.height=n.height,C.depth=n.depth),/cancel/.test(r)&&!u?te.makeSpan(["mord","cancel-lap"],[C],t):te.makeSpan(["mord"],[C],t)},p6=(e,t)=>{var n=0,r=new ye.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[In(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};We({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,n){var{parser:r,funcName:a}=e,o=Wt(t[0],"color-token").color,i=t[1];return{type:"enclose",mode:r.mode,label:a,backgroundColor:o,body:i}},htmlBuilder:d6,mathmlBuilder:p6});We({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,n){var{parser:r,funcName:a}=e,o=Wt(t[0],"color-token").color,i=Wt(t[1],"color-token").color,u=t[2];return{type:"enclose",mode:r.mode,label:a,backgroundColor:i,borderColor:o,body:u}},htmlBuilder:d6,mathmlBuilder:p6});We({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]}}});We({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:d6,mathmlBuilder:p6});We({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 DJ={};function ju(e){for(var{type:t,names:n,props:r,handler:a,htmlBuilder:o,mathmlBuilder:i}=e,u={type:t,numArgs:r.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:a},l=0;l{var t=e.parser.settings;if(!t.displayMode)throw new we("{"+e.envName+"} can be used only in display mode.")};function m6(e){if(e.indexOf("ed")===-1)return e.indexOf("*")===-1}function us(e,t,n){var{hskipBeforeAndAfter:r,addJot:a,cols:o,arraystretch:i,colSeparationType:u,autoTag:l,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 we("Invalid \\arraystretch: "+p)}e.gullet.beginGroup();var v=[],b=[v],g=[],D=[],C=l!=null?[]:void 0;function S(){l&&e.gullet.macros.set("\\@eqnsw","1",!0)}function I(){C&&(e.gullet.macros.get("\\df@tag")?(C.push(e.subparse([new To("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):C.push(Boolean(l)&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(S(),D.push(wJ(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]}),v.push(A);var T=e.fetch().text;if(T==="&"){if(f&&v.length===f){if(c||u)throw new we("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(),v.length===1&&A.type==="styling"&&A.body[0].body.length===0&&(b.length>1||!s)&&b.pop(),D.length0&&(S+=.25),c.push({pos:S,isDashed:Je[it]})}for(I(i[0]),r=0;r0&&(W+=C,PJe))for(r=0;r=u)){var Y=void 0;(a>0||t.hskipBeforeAndAfter)&&(Y=st.deflt(F.pregap,d),Y!==0&&(ue=te.makeSpan(["arraycolsep"],[]),ue.style.width=Ie(Y),Q.push(ue)));var O=[];for(r=0;r0){for(var _e=te.makeLineSpan("hline",n,s),ce=te.makeLineSpan("hdashline",n,s),Me=[{type:"elem",elem:l,shift:0}];c.length>0;){var Re=c.pop(),Ve=Re.pos-ee;Re.isDashed?Me.push({type:"elem",elem:ce,shift:Ve}):Me.push({type:"elem",elem:_e,shift:Ve})}l=te.makeVList({positionType:"individualShift",children:Me},n)}if(ne.length===0)return te.makeSpan(["mord"],[l],n);var Se=te.makeVList({positionType:"individualShift",children:ne},n);return Se=te.makeSpan(["tag"],[Se],n),te.makeFragment([l,Se])},Sxe={c:"center ",l:"left ",r:"right "},ku=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 v=t.cols,b="",g=!1,D=0,C=v.length;v[0].type==="separator"&&(d+="top ",D=1),v[v.length-1].type==="separator"&&(d+="bottom ",C-=1);for(var S=D;S0?"left ":"",d+=q[q.length-1].length>0?"right ":"";for(var V=1;V-1?"alignat":"align",o=t.envName==="split",i=us(t.parser,{cols:r,addJot:!0,autoTag:o?void 0:m6(t.envName),emptySingleRow:!0,colSeparationType:a,maxNumCols:o?2:void 0,leqno:t.parser.settings.leqno},"display"),u,l=0,c={type:"ordgroup",mode:t.mode,body:[]};if(n[0]&&n[0].type==="ordgroup"){for(var s="",f=0;f0&&p&&(g=1),r[v]={type:"align",align:b,pregap:g,postgap:0}}return i.colSeparationType=p?"align":"alignat",i};ju({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var n=R2(t[0]),r=n?[t[0]]:Wt(t[0],"ordgroup").body,a=r.map(function(i){var u=n6(i),l=u.text;if("lcr".indexOf(l)!==-1)return{type:"align",align:l};if(l==="|")return{type:"separator",separator:"|"};if(l===":")return{type:"separator",separator:":"};throw new we("Unknown column alignment: "+l,i)}),o={cols:a,hskipBeforeAndAfter:!0,maxNumCols:a.length};return us(e.parser,o,v6(e.envName))},htmlBuilder:Nu,mathmlBuilder:ku});ju({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 we("Expected l or c or r",a.nextToken);a.consume(),a.consumeSpaces(),a.expect("]"),a.consume(),r.cols=[{type:"align",align:n}]}}var o=us(e.parser,r,v6(e.envName)),i=Math.max(0,...o.body.map(u=>u.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:Nu,mathmlBuilder:ku});ju({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t={arraystretch:.5},n=us(e.parser,t,"script");return n.colSeparationType="small",n},htmlBuilder:Nu,mathmlBuilder:ku});ju({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var n=R2(t[0]),r=n?[t[0]]:Wt(t[0],"ordgroup").body,a=r.map(function(i){var u=n6(i),l=u.text;if("lc".indexOf(l)!==-1)return{type:"align",align:l};throw new we("Unknown column alignment: "+l,i)});if(a.length>1)throw new we("{subarray} can contain only one column");var o={cols:a,hskipBeforeAndAfter:!1,arraystretch:.5};if(o=us(e.parser,o,"script"),o.body.length>0&&o.body[0].length>1)throw new we("{subarray} can contain only one column");return o},htmlBuilder:Nu,mathmlBuilder:ku});ju({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=us(e.parser,t,v6(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:Nu,mathmlBuilder:ku});ju({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:CJ,htmlBuilder:Nu,mathmlBuilder:ku});ju({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){st.contains(["gather","gather*"],e.envName)&&S2(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:m6(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return us(e.parser,t,"display")},htmlBuilder:Nu,mathmlBuilder:ku});ju({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:CJ,htmlBuilder:Nu,mathmlBuilder:ku});ju({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){S2(e);var t={autoTag:m6(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return us(e.parser,t,"display")},htmlBuilder:Nu,mathmlBuilder:ku});ju({type:"array",names:["CD"],props:{numArgs:0},handler(e){return S2(e),vxe(e.parser)},htmlBuilder:Nu,mathmlBuilder:ku});M("\\nonumber","\\gdef\\@eqnsw{0}");M("\\notag","\\nonumber");We({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new we(e.funcName+" valid only within array environment")}});var RJ=DJ;We({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 we("Invalid environment name",a);for(var o="",i=0;i{var n=e.font,r=t.withFont(n);return sn(e.body,r)},TJ=(e,t)=>{var n=e.font,r=t.withFont(n);return In(e.body,r)},EJ={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};We({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=w2(t[0]),o=r;return o in EJ&&(o=EJ[o]),{type:"font",mode:n.mode,font:o.slice(1),body:a}},htmlBuilder:xJ,mathmlBuilder:TJ});We({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:T2(r),body:[{type:"font",mode:n.mode,font:"boldsymbol",body:r}],isCharacterBox:a}}});We({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),u="math"+r.slice(1);return{type:"font",mode:o,font:u,body:{type:"ordgroup",mode:n.mode,body:i}}},htmlBuilder:xJ,mathmlBuilder:TJ});var FJ=(e,t)=>{var n=t;return e==="display"?n=n.id>=mt.SCRIPT.id?n.text():mt.DISPLAY:e==="text"&&n.size===mt.DISPLAY.size?n=mt.TEXT:e==="script"?n=mt.SCRIPT:e==="scriptscript"&&(n=mt.SCRIPTSCRIPT),n},h6=(e,t)=>{var n=FJ(e.size,t.style),r=n.fracNum(),a=n.fracDen(),o;o=t.havingStyle(r);var i=sn(e.numer,o,t);if(e.continued){var u=8.5/t.fontMetrics().ptPerEm,l=3.5/t.fontMetrics().ptPerEm;i.height=i.height0?v=3*d:v=7*d,b=t.fontMetrics().denom1):(f>0?(p=t.fontMetrics().num2,v=d):(p=t.fontMetrics().num3,v=3*d),b=t.fontMetrics().denom2);var g;if(s){var C=t.fontMetrics().axisHeight;p-i.depth-(C+.5*f){var n=new ye.MathNode("mfrac",[In(e.numer,t),In(e.denom,t)]);if(!e.hasBarLine)n.setAttribute("linethickness","0px");else if(e.barSize){var r=nr(e.barSize,t);n.setAttribute("linethickness",Ie(r))}var a=FJ(e.size,t.style);if(a.size!==t.style.size){n=new ye.MathNode("mstyle",[n]);var o=a.size===mt.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 u=new ye.MathNode("mo",[new ye.TextNode(e.leftDelim.replace("\\",""))]);u.setAttribute("fence","true"),i.push(u)}if(i.push(n),e.rightDelim!=null){var l=new ye.MathNode("mo",[new ye.TextNode(e.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),i.push(l)}return KE(i)}return n};We({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,u=null,l=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,u="(",l=")";break;case"\\\\bracefrac":i=!1,u="\\{",l="\\}";break;case"\\\\brackfrac":i=!1,u="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}switch(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:u,rightDelim:l,size:c,barSize:null}},htmlBuilder:h6,mathmlBuilder:_6});We({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}}});We({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 SJ=["display","text","script","scriptscript"],MJ=function(t){var n=null;return t.length>0&&(n=t,n=n==="."?null:n),n};We({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=w2(t[0]),i=o.type==="atom"&&o.family==="open"?MJ(o.text):null,u=w2(t[1]),l=u.type==="atom"&&u.family==="close"?MJ(u.text):null,c=Wt(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 v=Wt(p.body[0],"textord");d=SJ[Number(v.text)]}}else p=Wt(p,"textord"),d=SJ[Number(p.text)];return{type:"genfrac",mode:n.mode,numer:r,denom:a,continued:!1,hasBarLine:s,barSize:f,leftDelim:i,rightDelim:l,size:d}},htmlBuilder:h6,mathmlBuilder:_6});We({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:Wt(t[0],"size").value,token:a}}});We({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:n,funcName:r}=e,a=t[0],o=uRe(Wt(t[1],"infix").size),i=t[2],u=o.number>0;return{type:"genfrac",mode:n.mode,numer:a,denom:i,continued:!1,hasBarLine:u,barSize:o,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:h6,mathmlBuilder:_6});var IJ=(e,t)=>{var n=t.style,r,a;e.type==="supsub"?(r=e.sup?sn(e.sup,t.havingStyle(n.sup()),t):sn(e.sub,t.havingStyle(n.sub()),t),a=Wt(e.base,"horizBrace")):a=Wt(e,"horizBrace");var o=sn(a.base,t.havingBaseStyle(mt.DISPLAY)),i=ql.svgSpan(a,t),u;if(a.isOver?(u=te.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:i}]},t),u.children[0].children[0].children[1].classes.push("svg-align")):(u=te.makeVList({positionType:"bottom",positionData:o.depth+.1+i.height,children:[{type:"elem",elem:i},{type:"kern",size:.1},{type:"elem",elem:o}]},t),u.children[0].children[0].children[0].classes.push("svg-align")),r){var l=te.makeSpan(["mord",a.isOver?"mover":"munder"],[u],t);a.isOver?u=te.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:r}]},t):u=te.makeVList({positionType:"bottom",positionData:l.depth+.2+r.height+r.depth,children:[{type:"elem",elem:r},{type:"kern",size:.2},{type:"elem",elem:l}]},t)}return te.makeSpan(["mord",a.isOver?"mover":"munder"],[u],t)},Mxe=(e,t)=>{var n=ql.mathMLnode(e.label);return new ye.MathNode(e.isOver?"mover":"munder",[In(e.base,t),n])};We({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:IJ,mathmlBuilder:Mxe});We({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[1],a=Wt(t[0],"url").url;return n.settings.isTrusted({command:"\\href",url:a})?{type:"href",mode:n.mode,href:a,body:br(r)}:n.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var n=Br(e.body,t,!1);return te.makeAnchor(e.href,[],n,t)},mathmlBuilder:(e,t)=>{var n=is(e.body,t);return n instanceof Za||(n=new Za("mrow",[n])),n.setAttribute("href",e.href),n}});We({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=Wt(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=Wt(t[0],"raw").string,i=t[1];n.settings.strict&&n.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var u,l={};switch(r){case"\\htmlClass":l.class=o,u={command:"\\htmlClass",class:o};break;case"\\htmlId":l.id=o,u={command:"\\htmlId",id:o};break;case"\\htmlStyle":l.style=o,u={command:"\\htmlStyle",style:o};break;case"\\htmlData":{for(var c=o.split(","),s=0;s{var n=Br(e.body,t,!1),r=["enclosing"];e.attributes.class&&r.push(...e.attributes.class.trim().split(/\s+/));var a=te.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)=>is(e.body,t)});We({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e;return{type:"htmlmathml",mode:n.mode,html:br(t[0]),mathml:br(t[1])}},htmlBuilder:(e,t)=>{var n=Br(e.html,t,!1);return te.makeFragment(n)},mathmlBuilder:(e,t)=>is(e.mathml,t)});var g6=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 we("Invalid size: '"+t+"' in \\includegraphics");var r={number:+(n[1]+n[2]),unit:n[3]};if(!AV(r))throw new we("Invalid unit: '"+r.unit+"' in \\includegraphics.");return r};We({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"},u="";if(n[0])for(var l=Wt(n[0],"raw").string,c=l.split(","),s=0;s{var n=nr(e.height,t),r=0;e.totalheight.number>0&&(r=nr(e.totalheight,t)-n);var a=0;e.width.number>0&&(a=nr(e.width,t));var o={height:Ie(n+r)};a>0&&(o.width=Ie(a)),r>0&&(o.verticalAlign=Ie(-r));var i=new kV(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=nr(e.height,t),a=0;if(e.totalheight.number>0&&(a=nr(e.totalheight,t)-r,n.setAttribute("valign",Ie(-a))),n.setAttribute("height",Ie(r+a)),e.width.number>0){var o=nr(e.width,t);n.setAttribute("width",Ie(o))}return n.setAttribute("src",e.src),n}});We({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=Wt(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 te.makeGlue(e.dimension,t)},mathmlBuilder(e,t){var n=nr(e.dimension,t);return new ye.SpaceNode(n)}});We({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=te.makeSpan([],[sn(e.body,t)]),n=te.makeSpan(["inner"],[n],t)):n=te.makeSpan(["inner"],[sn(e.body,t)]);var r=te.makeSpan(["fix"],[]),a=te.makeSpan([e.alignment],[n,r],t),o=te.makeSpan(["strut"]);return o.style.height=Ie(a.height+a.depth),a.depth&&(o.style.verticalAlign=Ie(-a.depth)),a.children.unshift(o),a=te.makeSpan(["thinbox"],[a],t),te.makeSpan(["mord","vbox"],[a],t)},mathmlBuilder:(e,t)=>{var n=new ye.MathNode("mpadded",[In(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}});We({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}}});We({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new we("Mismatched "+e.funcName)}});var LJ=(e,t)=>{switch(t.style.size){case mt.DISPLAY.size:return e.display;case mt.TEXT.size:return e.text;case mt.SCRIPT.size:return e.script;case mt.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};We({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:n}=e;return{type:"mathchoice",mode:n.mode,display:br(t[0]),text:br(t[1]),script:br(t[2]),scriptscript:br(t[3])}},htmlBuilder:(e,t)=>{var n=LJ(e,t),r=Br(n,t,!1);return te.makeFragment(r)},mathmlBuilder:(e,t)=>{var n=LJ(e,t);return is(n,t)}});var AJ=(e,t,n,r,a,o,i)=>{e=te.makeSpan([],[e]);var u=n&&st.isCharacterBox(n),l,c;if(t){var s=sn(t,r.havingStyle(a.sup()),r);c={elem:s,kern:Math.max(r.fontMetrics().bigOpSpacing1,r.fontMetrics().bigOpSpacing3-s.depth)}}if(n){var f=sn(n,r.havingStyle(a.sub()),r);l={elem:f,kern:Math.max(r.fontMetrics().bigOpSpacing2,r.fontMetrics().bigOpSpacing4-f.height)}}var d;if(c&&l){var p=r.fontMetrics().bigOpSpacing5+l.elem.height+l.elem.depth+l.kern+e.depth+i;d=te.makeVList({positionType:"bottom",positionData:p,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:Ie(-o)},{type:"kern",size:l.kern},{type:"elem",elem:e},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:Ie(o)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else if(l){var v=e.height-i;d=te.makeVList({positionType:"top",positionData:v,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:Ie(-o)},{type:"kern",size:l.kern},{type:"elem",elem:e}]},r)}else if(c){var b=e.depth+i;d=te.makeVList({positionType:"bottom",positionData:b,children:[{type:"elem",elem:e},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:Ie(o)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else return e;var g=[d];if(l&&o!==0&&!u){var D=te.makeSpan(["mspace"],[],r);D.style.marginRight=Ie(o),g.unshift(D)}return te.makeSpan(["mop","op-limits"],g,r)},PJ=["\\smallint"],hm=(e,t)=>{var n,r,a=!1,o;e.type==="supsub"?(n=e.sup,r=e.sub,o=Wt(e.base,"op"),a=!0):o=Wt(e,"op");var i=t.style,u=!1;i.size===mt.DISPLAY.size&&o.symbol&&!st.contains(PJ,o.name)&&(u=!0);var l;if(o.symbol){var c=u?"Size2-Regular":"Size1-Regular",s="";if((o.name==="\\oiint"||o.name==="\\oiiint")&&(s=o.name.slice(1),o.name=s==="oiint"?"\\iint":"\\iiint"),l=te.makeSymbol(o.name,c,"math",t,["mop","op-symbol",u?"large-op":"small-op"]),s.length>0){var f=l.italic,d=te.staticSvg(s+"Size"+(u?"2":"1"),t);l=te.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:0},{type:"elem",elem:d,shift:u?.08:0}]},t),o.name="\\"+s,l.classes.unshift("mop"),l.italic=f}}else if(o.body){var p=Br(o.body,t,!0);p.length===1&&p[0]instanceof Eo?(l=p[0],l.classes[0]="mop"):l=te.makeSpan(["mop"],p,t)}else{for(var v=[],b=1;b{var n;if(e.symbol)n=new Za("mo",[mi(e.name,e.mode)]),st.contains(PJ,e.name)&&n.setAttribute("largeop","false");else if(e.body)n=new Za("mo",Qa(e.body,t));else{n=new Za("mi",[new zi(e.name.slice(1))]);var r=new Za("mo",[mi("\u2061","text")]);e.parentIsSupSub?n=new Za("mrow",[n,r]):n=YV([n,r])}return n},Ixe={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};We({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=Ixe[a]),{type:"op",mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:a}},htmlBuilder:hm,mathmlBuilder:Xh});We({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:br(r)}},htmlBuilder:hm,mathmlBuilder:Xh});var Lxe={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};We({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:hm,mathmlBuilder:Xh});We({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:hm,mathmlBuilder:Xh});We({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=Lxe[r]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:hm,mathmlBuilder:Xh});var jJ=(e,t)=>{var n,r,a=!1,o;e.type==="supsub"?(n=e.sup,r=e.sub,o=Wt(e.base,"operatorname"),a=!0):o=Wt(e,"operatorname");var i;if(o.body.length>0){for(var u=o.body.map(f=>{var d=f.text;return typeof d=="string"?{type:"textord",mode:f.mode,text:d}:f}),l=Br(u,t.withFont("mathrm"),!0),c=0;c{for(var n=Qa(e.body,t.withFont("mathrm")),r=!0,a=0;as.toText()).join("");n=[new ye.TextNode(u)]}var l=new ye.MathNode("mi",n);l.setAttribute("mathvariant","normal");var c=new ye.MathNode("mo",[mi("\u2061","text")]);return e.parentIsSupSub?new ye.MathNode("mrow",[l,c]):ye.newDocumentFragment([l,c])};We({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:br(a),alwaysHandleSupSub:r==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:jJ,mathmlBuilder:Axe});M("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");qf({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?te.makeFragment(Br(e.body,t,!1)):te.makeSpan(["mord"],Br(e.body,t,!0),t)},mathmlBuilder(e,t){return is(e.body,t,!0)}});We({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=sn(e.body,t.havingCrampedStyle()),r=te.makeLineSpan("overline-line",t),a=t.fontMetrics().defaultRuleThickness,o=te.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n},{type:"kern",size:3*a},{type:"elem",elem:r},{type:"kern",size:a}]},t);return te.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",[In(e.body,t),n]);return r.setAttribute("accent","true"),r}});We({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:br(r)}},htmlBuilder:(e,t)=>{var n=Br(e.body,t.withPhantom(),!1);return te.makeFragment(n)},mathmlBuilder:(e,t)=>{var n=Qa(e.body,t);return new ye.MathNode("mphantom",n)}});We({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=te.makeSpan([],[sn(e.body,t.withPhantom())]);if(n.height=0,n.depth=0,n.children)for(var r=0;r{var n=Qa(br(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}});We({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=te.makeSpan(["inner"],[sn(e.body,t.withPhantom())]),r=te.makeSpan(["fix"],[]);return te.makeSpan(["mord","rlap"],[n,r],t)},mathmlBuilder:(e,t)=>{var n=Qa(br(e.body),t),r=new ye.MathNode("mphantom",n),a=new ye.MathNode("mpadded",[r]);return a.setAttribute("width","0px"),a}});We({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:n}=e,r=Wt(t[0],"size").value,a=t[1];return{type:"raisebox",mode:n.mode,dy:r,body:a}},htmlBuilder(e,t){var n=sn(e.body,t),r=nr(e.dy,t);return te.makeVList({positionType:"shift",positionData:-r,children:[{type:"elem",elem:n}]},t)},mathmlBuilder(e,t){var n=new ye.MathNode("mpadded",[In(e.body,t)]),r=e.dy.number+e.dy.unit;return n.setAttribute("voffset",r),n}});We({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}});We({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=Wt(t[0],"size"),i=Wt(t[1],"size");return{type:"rule",mode:r.mode,shift:a&&Wt(a,"size").value,width:o.value,height:i.value}},htmlBuilder(e,t){var n=te.makeSpan(["mord","rule"],[],t),r=nr(e.width,t),a=nr(e.height,t),o=e.shift?nr(e.shift,t):0;return n.style.borderRightWidth=Ie(r),n.style.borderTopWidth=Ie(a),n.style.bottom=Ie(o),n.width=r,n.height=a+o,n.depth=-o,n.maxFontSize=a*1.125*t.sizeMultiplier,n},mathmlBuilder(e,t){var n=nr(e.width,t),r=nr(e.height,t),a=e.shift?nr(e.shift,t):0,o=t.color&&t.getColor()||"black",i=new ye.MathNode("mspace");i.setAttribute("mathbackground",o),i.setAttribute("width",Ie(n)),i.setAttribute("height",Ie(r));var u=new ye.MathNode("mpadded",[i]);return a>=0?u.setAttribute("height",Ie(a)):(u.setAttribute("height",Ie(a)),u.setAttribute("depth",Ie(-a))),u.setAttribute("voffset",Ie(a)),u}});function NJ(e,t,n){for(var r=Br(e,t,!1),a=t.sizeMultiplier/n.sizeMultiplier,o=0;o{var n=t.havingSize(e.size);return NJ(e.body,n,t)};We({type:"sizing",names:kJ,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:kJ.indexOf(r)+1,body:o}},htmlBuilder:Pxe,mathmlBuilder:(e,t)=>{var n=t.havingSize(e.size),r=Qa(e.body,n),a=new ye.MathNode("mstyle",r);return a.setAttribute("mathsize",Ie(n.sizeMultiplier)),a}});We({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]&&Wt(n[0],"ordgroup");if(i)for(var u="",l=0;l{var n=te.makeSpan([],[sn(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",[In(e.body,t)]);return e.smashHeight&&n.setAttribute("height","0px"),e.smashDepth&&n.setAttribute("depth","0px"),n}});We({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=sn(e.body,t.havingCrampedStyle());n.height===0&&(n.height=t.fontMetrics().xHeight),n=te.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=l.height-n.height-i-c;n.style.paddingLeft=Ie(s);var p=te.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+d)},{type:"elem",elem:l},{type:"kern",size:c}]},t);if(e.index){var v=t.havingStyle(mt.SCRIPTSCRIPT),b=sn(e.index,v,t),g=.6*(p.height-p.depth),D=te.makeVList({positionType:"shift",positionData:-g,children:[{type:"elem",elem:b}]},t),C=te.makeSpan(["root"],[D]);return te.makeSpan(["mord","sqrt"],[C,p],t)}else return te.makeSpan(["mord","sqrt"],[p],t)},mathmlBuilder(e,t){var{body:n,index:r}=e;return r?new ye.MathNode("mroot",[In(n,t),In(r,t)]):new ye.MathNode("msqrt",[In(n,t)])}});var OJ={display:mt.DISPLAY,text:mt.TEXT,script:mt.SCRIPT,scriptscript:mt.SCRIPTSCRIPT};We({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=OJ[e.style],r=t.havingStyle(n).withFont("");return NJ(e.body,r,t)},mathmlBuilder(e,t){var n=OJ[e.style],r=t.havingStyle(n),a=Qa(e.body,r),o=new ye.MathNode("mstyle",a),i={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},u=i[e.style];return o.setAttribute("scriptlevel",u[0]),o.setAttribute("displaystyle",u[1]),o}});var jxe=function(t,n){var r=t.base;if(r)if(r.type==="op"){var a=r.limits&&(n.style.size===mt.DISPLAY.size||r.alwaysHandleSupSub);return a?hm:null}else if(r.type==="operatorname"){var o=r.alwaysHandleSupSub&&(n.style.size===mt.DISPLAY.size||r.limits);return o?jJ:null}else{if(r.type==="accent")return st.isCharacterBox(r.base)?r6:null;if(r.type==="horizBrace"){var i=!t.sub;return i===r.isOver?IJ:null}else return null}else return null};qf({type:"supsub",htmlBuilder(e,t){var n=jxe(e,t);if(n)return n(e,t);var{base:r,sup:a,sub:o}=e,i=sn(r,t),u,l,c=t.fontMetrics(),s=0,f=0,d=r&&st.isCharacterBox(r);if(a){var p=t.havingStyle(t.style.sup());u=sn(a,p,t),d||(s=i.height-p.fontMetrics().supDrop*p.sizeMultiplier/t.sizeMultiplier)}if(o){var v=t.havingStyle(t.style.sub());l=sn(o,v,t),d||(f=i.depth+v.fontMetrics().subDrop*v.sizeMultiplier/t.sizeMultiplier)}var b;t.style===mt.DISPLAY?b=c.sup1:t.style.cramped?b=c.sup3:b=c.sup2;var g=t.sizeMultiplier,D=Ie(.5/c.ptPerEm/g),C=null;if(l){var S=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(i instanceof Eo||S)&&(C=Ie(-i.italic))}var I;if(u&&l){s=Math.max(s,b,u.depth+.25*c.xHeight),f=Math.max(f,c.sub2);var A=c.defaultRuleThickness,T=4*A;if(s-u.depth-(l.height-f)0&&(s+=P,f-=P)}var q=[{type:"elem",elem:l,shift:f,marginRight:D,marginLeft:C},{type:"elem",elem:u,shift:-s,marginRight:D}];I=te.makeVList({positionType:"individualShift",children:q},t)}else if(l){f=Math.max(f,c.sub1,l.height-.8*c.xHeight);var V=[{type:"elem",elem:l,marginLeft:C,marginRight:D}];I=te.makeVList({positionType:"shift",positionData:f,children:V},t)}else if(u)s=Math.max(s,b,u.depth+.25*c.xHeight),I=te.makeVList({positionType:"shift",positionData:-s,children:[{type:"elem",elem:u,marginRight:D}]},t);else throw new Error("supsub must have either sup or sub.");var Z=ZE(i,"right")||"mord";return te.makeSpan([Z],[i,te.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=[In(e.base,t)];e.sub&&o.push(In(e.sub,t)),e.sup&&o.push(In(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===mt.DISPLAY||c&&c.type==="operatorname"&&c.alwaysHandleSupSub&&(t.style===mt.DISPLAY||c.limits)?i="munderover":i="msubsup"}else{var l=e.base;l&&l.type==="op"&&l.limits&&(t.style===mt.DISPLAY||l.alwaysHandleSupSub)||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(l.limits||t.style===mt.DISPLAY)?i="munder":i="msub"}else{var u=e.base;u&&u.type==="op"&&u.limits&&(t.style===mt.DISPLAY||u.alwaysHandleSupSub)||u&&u.type==="operatorname"&&u.alwaysHandleSupSub&&(u.limits||t.style===mt.DISPLAY)?i="mover":i="msup"}return new ye.MathNode(i,o)}});qf({type:"atom",htmlBuilder(e,t){return te.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var n=new ye.MathNode("mo",[mi(e.text,e.mode)]);if(e.family==="bin"){var r=e6(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 UJ={mi:"italic",mn:"normal",mtext:"normal"};qf({type:"mathord",htmlBuilder(e,t){return te.makeOrd(e,t,"mathord")},mathmlBuilder(e,t){var n=new ye.MathNode("mi",[mi(e.text,e.mode,t)]),r=e6(e,t)||"italic";return r!==UJ[n.type]&&n.setAttribute("mathvariant",r),n}});qf({type:"textord",htmlBuilder(e,t){return te.makeOrd(e,t,"textord")},mathmlBuilder(e,t){var n=mi(e.text,e.mode,t),r=e6(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!==UJ[a.type]&&a.setAttribute("mathvariant",r),a}});var y6={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},D6={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};qf({type:"spacing",htmlBuilder(e,t){if(D6.hasOwnProperty(e.text)){var n=D6[e.text].className||"";if(e.mode==="text"){var r=te.makeOrd(e,t,"textord");return r.classes.push(n),r}else return te.makeSpan(["mspace",n],[te.mathsym(e.text,e.mode,t)],t)}else{if(y6.hasOwnProperty(e.text))return te.makeSpan(["mspace",y6[e.text]],[],t);throw new we('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var n;if(D6.hasOwnProperty(e.text))n=new ye.MathNode("mtext",[new ye.TextNode("\xA0")]);else{if(y6.hasOwnProperty(e.text))return new ye.MathNode("mspace");throw new we('Unknown type of space "'+e.text+'"')}return n}});var HJ=()=>{var e=new ye.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};qf({type:"tag",mathmlBuilder(e,t){var n=new ye.MathNode("mtable",[new ye.MathNode("mtr",[HJ(),new ye.MathNode("mtd",[is(e.body,t)]),HJ(),new ye.MathNode("mtd",[is(e.tag,t)])])]);return n.setAttribute("width","100%"),n}});var BJ={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},WJ={"\\textbf":"textbf","\\textmd":"textmd"},Nxe={"\\textit":"textit","\\textup":"textup"},zJ=(e,t)=>{var n=e.font;if(n){if(BJ[n])return t.withTextFontFamily(BJ[n]);if(WJ[n])return t.withTextFontWeight(WJ[n]);if(n==="\\emph")return t.fontShape==="textit"?t.withTextFontShape("textup"):t.withTextFontShape("textit")}else return t;return t.withTextFontShape(Nxe[n])};We({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:br(a),font:r}},htmlBuilder(e,t){var n=zJ(e,t),r=Br(e.body,n,!0);return te.makeSpan(["mord","text"],r,n)},mathmlBuilder(e,t){var n=zJ(e,t);return is(e.body,n)}});We({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=sn(e.body,t),r=te.makeLineSpan("underline-line",t),a=t.fontMetrics().defaultRuleThickness,o=te.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 te.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",[In(e.body,t),n]);return r.setAttribute("accentunder","true"),r}});We({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=sn(e.body,t),r=t.fontMetrics().axisHeight,a=.5*(n.height-r-(n.depth+r));return te.makeVList({positionType:"shift",positionData:a,children:[{type:"elem",elem:n}]},t)},mathmlBuilder(e,t){return new ye.MathNode("mpadded",[In(e.body,t)],["vcenter"])}});We({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,n){throw new we("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var n=GJ(e),r=[],a=t.havingStyle(t.style.text()),o=0;oe.body.replace(/ /g,e.star?"\u2423":"\xA0"),ls=VV,qJ=`[ \r ]`,kxe="\\\\[a-zA-Z@]+",Oxe="\\\\[^\uD800-\uDFFF]",Uxe="("+kxe+")"+qJ+"*",Hxe=`\\\\( |[ \r ]+ ?)[ \r ]*`,b6="[\u0300-\u036F]",Bxe=new RegExp(b6+"+$"),Wxe="("+qJ+"+)|"+(Hxe+"|")+"([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(b6+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(b6+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+Uxe)+("|"+Oxe+")"),w6=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(Wxe,"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 To("EOF",new Xa(this,n,n));var r=this.tokenRegex.exec(t);if(r===null||r.index!==n)throw new we("Unexpected character: '"+t[n]+"'",new To(t[n],new Xa(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 To(a,new Xa(this,n,this.tokenRegex.lastIndex))}},$J=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 we("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}},zxe=bJ;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 VJ={"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 we("\\char` missing argument");r=t.text.charCodeAt(0)}else n=10;if(n){if(r=VJ[t.text],r==null||r>=n)throw new we("Invalid base-"+n+" digit "+t.text);for(var a;(a=VJ[e.future().text])!=null&&a{var a=e.consumeArg().tokens;if(a.length!==1)throw new we("\\newcommand's first argument must be a macro name");var o=a[0].text,i=e.isDefined(o);if(i&&!t)throw new we("\\newcommand{"+o+"} attempting to redefine "+(o+"; use \\renewcommand"));if(!i&&!n)throw new we("\\renewcommand{"+o+"} when command "+o+" does not yet exist; use \\newcommand");var u=0;if(a=e.consumeArg().tokens,a.length===1&&a[0].text==="["){for(var l="",c=e.expandNextToken();c.text!=="]"&&c.text!=="EOF";)l+=c.text,c=e.expandNextToken();if(!l.match(/^\s*[0-9]+\s*$/))throw new we("Invalid number of arguments: "+l);u=parseInt(l),a=e.consumeArg().tokens}return i&&r||e.macros.set(o,{tokens:a,numArgs:u}),""};M("\\newcommand",e=>C6(e,!1,!0,!1));M("\\renewcommand",e=>C6(e,!0,!1,!1));M("\\providecommand",e=>C6(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),ls[n],Pn.math[n],Pn.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 JJ={",":"\\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 JJ?t=JJ[n]:(n.slice(0,4)==="\\not"||n in Pn.math&&st.contains(["bin","rel"],Pn.math[n].group))&&(t="\\dotsb"),t});var R6={")":!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 R6?"\\ldots\\,":"\\ldots"});M("\\dotsc",function(e){var t=e.future().text;return t in R6&&t!==","?"\\ldots\\,":"\\ldots"});M("\\cdots",function(e){var t=e.future().text;return t in R6?"\\@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 we("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 XJ=Ie(Lu["Main-Regular"]["T".charCodeAt(0)][1]-.7*Lu["Main-Regular"]["A".charCodeAt(0)][1]);M("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+XJ+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");M("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+XJ+"}{\\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 YJ=e=>t=>{var n=t.consumeArg().tokens,r=t.consumeArg().tokens,a=t.consumeArg().tokens,o=t.consumeArg().tokens,i=t.macros.get("|"),u=t.macros.get("\\|");t.macros.beginGroup();var l=f=>d=>{e&&(d.macros.set("|",i),a.length&&d.macros.set("\\|",u));var p=f;if(!f&&a.length){var v=d.future();v.text==="|"&&(d.popToken(),p=!0)}return{tokens:p?a:r,numArgs:0}};t.macros.set("|",l(!1)),a.length&&t.macros.set("\\|",l(!0));var c=t.consumeArg().tokens,s=t.expandTokens([...o,...c,...n]);return t.macros.endGroup(),{tokens:s.reverse(),numArgs:0}};M("\\bra@ket",YJ(!1));M("\\bra@set",YJ(!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 ZJ={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},QJ=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 $J(zxe,n.macros),this.mode=r,this.stack=[]}feed(t){this.lexer=new w6(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 To("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,u=0;do{if(o=this.popToken(),n.push(o),o.text==="{")++i;else if(o.text==="}"){if(--i,i===-1)throw new we("Extra }",o)}else if(o.text==="EOF")throw new we("Unexpected end of input in a macro argument, expected '"+(t&&r?t[u]:"}")+"'",o);if(t&&r)if((i===0||i===1&&t[u]==="{")&&o.text===t[u]){if(++u,u===t.length){n.splice(-u,u);break}}else u=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 we("The length of delimiters doesn't match the number of args!");for(var r=n[0],a=0;athis.settings.maxExpand)throw new we("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 we("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 u=o.length-1;u>=0;--u){var l=o[u];if(l.text==="#"){if(u===0)throw new we("Incomplete placeholder at end of macro body",l);if(l=o[--u],l.text==="#")o.splice(u+1,1);else if(/^[1-9]$/.test(l.text))o.splice(u,2,...i[+l.text-1]);else throw new we("Not a valid argument number",l)}}}return this.pushTokens(o),o.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var t=this.stack.pop();return t.treatAsRelax&&(t.text="\\relax"),t}throw new Error}expandMacro(t){return this.macros.has(t)?this.expandTokens([new To(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 u=new w6(a,this.settings),l=[],c=u.lex();c.text!=="EOF";)l.push(c),c=u.lex();l.reverse();var s={tokens:l,numArgs:o};return s}return a}isDefined(t){return this.macros.has(t)||ls.hasOwnProperty(t)||Pn.math.hasOwnProperty(t)||Pn.text.hasOwnProperty(t)||ZJ.hasOwnProperty(t)}isExpandable(t){var n=this.macros.get(t);return n!=null?typeof n=="string"||typeof n=="function"||!n.unexpandable:ls.hasOwnProperty(t)&&!ls[t].primitive}},KJ=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,M2=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"}),x6={"\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"}},eX={\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"},Yh=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 QJ(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 we("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 To("}")),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(Yh.endOfExpression.indexOf(a.text)!==-1||n&&a.text===n||t&&ls[a.text]&&ls[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 u=Pn[this.mode][n].group,l=Xa.range(t),c;if(PRe.hasOwnProperty(u)){var s=u;c={type:"atom",mode:this.mode,family:s,loc:l,text:n}}else c={type:u,mode:this.mode,loc:l,text:n};i=c}else if(n.charCodeAt(0)>=128)this.settings.strict&&(FV(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:Xa.range(t),text:n};else return null;if(this.consume(),o)for(var f=0;f":""))+")"})}return d;function d(){let p=aX,v,b,g;if((!t||o(l,c,s[s.length-1]||void 0))&&(p=eTe(n(l,s)),p[0]===S6))return p;if("children"in l&&l.children){let D=l;if(D.children&&p[0]!==A2)for(b=(r?D.children.length:-1)+i,g=s.concat(D);b>-1&&b0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}var dTe={tokenize:yTe,partial:!0};function j6(){return{document:{[91]:{tokenize:hTe,continuation:{tokenize:_Te},exit:gTe}},text:{[91]:{tokenize:vTe},[93]:{add:"after",tokenize:pTe,resolveTo:mTe}}}}function pTe(e,t,n){let r=this,a=r.events.length,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),i;for(;a--;){let l=r.events[a][1];if(l.type==="labelImage"){i=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return u;function u(l){if(!i||!i._balanced)return n(l);let c=Da(r.sliceSerialize({start:i.end,end:r.now()}));return c.charCodeAt(0)!==94||!o.includes(c.slice(1))?n(l):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),t(l))}}function mTe(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)},u={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},l=[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",u,t],["exit",u,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",a,t]];return e.splice(n,e.length-n+1,...l),e}function vTe(e,t,n){let r=this,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),o=0,i;return u;function u(d){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(d),e.exit("gfmFootnoteCallLabelMarker"),l}function l(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(Da(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 hTe(e,t,n){let r=this,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]),o,i=0,u;return l;function l(b){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(b){return b===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),s):n(b)}function s(b){let g;return b===null||b===91||i>999?n(b):b===93?u?(g=e.exit("gfmFootnoteDefinitionLabelString"),o=Da(r.sliceSerialize(g)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p):n(b):Oe(b)?(e.enter("lineEnding"),e.consume(b),e.exit("lineEnding"),i++,s):(e.enter("chunkString").contentType="string",f(b))}function f(b){return b===null||Oe(b)||b===91||b===93||i>999?(e.exit("chunkString"),s(b)):(dn(b)||(u=!0),i++,e.consume(b),b===92?d:f)}function d(b){return b===91||b===92||b===93?(e.consume(b),i++,f):f(b)}function p(b){return b===58?(e.enter("definitionMarker"),e.consume(b),e.exit("definitionMarker"),pt(e,v,"gfmFootnoteDefinitionWhitespace")):n(b)}function v(b){return a.includes(o)||a.push(o),t(b)}}function _Te(e,t,n){return e.check(Mu,t,e.attempt(dTe,t,n))}function gTe(e){e.exit("gfmFootnoteDefinition")}function yTe(e,t,n){let r=this;return pt(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 N6(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 u=-1;for(;++u1?u(p):(o.consume(p),s++,d);if(s<2&&!t)return u(p);let b=o.exit("strikethroughSequenceTemporary"),g=om(p);return b._open=!g||g===2&&Boolean(v),b._close=!v||v===2&&Boolean(g),i(p)}}}var k6={flow:{null:{tokenize:bTe,resolve:DTe}}},vX={tokenize:wTe,partial:!0};function DTe(e,t){let n=-1,r,a,o,i,u,l,c;for(;++n=4?de(N):(r._gfmTableDynamicInterruptHack=!0,G.check(r.parser.constructs.flow,function(B){return r._gfmTableDynamicInterruptHack=!1,de(B)},function(B){return r._gfmTableDynamicInterruptHack=!1,ne(B)})(N))}}}function wTe(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 CTe={tokenize:RTe},O6={text:{[91]:CTe}};function RTe(e,t,n){let r=this;return a;function a(u){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(u):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),o)}function o(u){return dn(u)?(e.enter("taskListCheckValueUnchecked"),e.consume(u),e.exit("taskListCheckValueUnchecked"),i):u===88||u===120?(e.enter("taskListCheckValueChecked"),e.consume(u),e.exit("taskListCheckValueChecked"),i):n(u)}function i(u){return u===93?(e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),e.check({tokenize:xTe},t,n)):n(u)}}function xTe(e,t,n){let r=this;return pt(e,a,"whitespace");function a(o){let i=r.events[r.events.length-1];return(i&&i[1].type==="whitespace"||Oe(o))&&o!==null?t(o):n(o)}}function hX(e){return _b([I6,j6(),N6(e),k6,O6])}function U6(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 H6(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var TTe={}.hasOwnProperty,B6=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=Uh(a.ignore||[]),u=ETe(o),l=-1;for(;++l0?{type:"text",value:P}:void 0),P!==!1&&(g!==I&&S.push({type:"text",value:f.value.slice(g,I)}),Array.isArray(P)?S.push(...P):P&&S.push(P),g=I+A[0].length,C=!0),!v.global)break;A=v.exec(f.value)}return C?(ge}var W6="phrasing",z6=["autolink","link","image","label"],G6={transforms:[ATe],enter:{literalAutolink:FTe,literalAutolinkEmail:$6,literalAutolinkHttp:$6,literalAutolinkWww:$6},exit:{literalAutolink:LTe,literalAutolinkEmail:ITe,literalAutolinkHttp:STe,literalAutolinkWww:MTe}},q6={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:W6,notInConstruct:z6},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:W6,notInConstruct:z6},{character:":",before:"[ps]",after:"\\/",inConstruct:W6,notInConstruct:z6}]};function FTe(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function $6(e){this.config.enter.autolinkProtocol.call(this,e)}function STe(e){this.config.exit.autolinkProtocol.call(this,e)}function MTe(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];t.url="http://"+this.sliceSerialize(e)}function ITe(e){this.config.exit.autolinkEmail.call(this,e)}function LTe(e){this.exit(e)}function ATe(e){B6(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,PTe],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,jTe]],{ignore:["link","linkReference"]})}function PTe(e,t,n,r,a){let o="";if(!yX(a)||(/^w/i.test(t)&&(n=t+n,t="",o="http://"),!NTe(n)))return!1;let i=kTe(n+r);if(!i[0])return!1;let u={type:"link",title:null,url:o+t+i[0],children:[{type:"text",value:t+i[0]}]};return i[1]?[u,{type:"text",value:i[1]}]:u}function jTe(e,t,n,r){return!yX(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function NTe(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 kTe(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=U6(e,"("),o=U6(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 yX(e,t){let n=e.input.charCodeAt(e.index-1);return(e.index===0||Nf(n)||kf(n))&&(!t||n!==47)}function V6(e){return e.label||!e.identifier?e.label||"":Fb(e.identifier)}function DX(e,t,n){let r=t.indexStack,a=e.children||[],o=t.createTracker(n),i=[],u=-1;for(r.push(-1);++u `}return` `}var UTe=/\r?\n|\r/g;function bX(e,t){let n=[],r=0,a=0,o;for(;o=UTe.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(u){n.push(t(u,a,!u))}}function j2(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 wX(e,t){return CX(e,t.inConstruct,!0)&&!CX(e,t.notInConstruct,!1)}function CX(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(bX(DX(e,n,a.current()),ZTe)),i(),o}function ZTe(e,t,n){return t===0?e:(n?"":" ")+e}function N2(e,t,n){let r=t.indexStack,a=e.children||[],o=[],i=-1,u=n.before;r.push(-1);let l=t.createTracker(n);for(;++i0&&(u==="\r"||u===` `)&&c.type==="html"&&(o[o.length-1]=o[o.length-1].replace(/(\r?\n|\r)$/," "),u=" ",l=t.createTracker(n),l.move(o.join(""))),o.push(l.move(t.handle(c,e,t,wr(Kt({},l.current()),{before:u,after:s})))),u=o[o.length-1].slice(-1)}return r.pop(),o.join("")}var QTe=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];TX.peek=tEe;var Z6={canContainEols:["delete"],enter:{strikethrough:KTe},exit:{strikethrough:eEe}},Q6={unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:QTe}],handlers:{delete:TX}};function KTe(e){this.enter({type:"delete",children:[]},e)}function eEe(e){this.exit(e)}function TX(e,t,n,r){let a=Vf(r),o=n.enter("strikethrough"),i=a.move("~~");return i+=N2(e,n,wr(Kt({},a.current()),{before:i,after:"~"})),i+=a.move("~~"),o(),i}function tEe(){return"~"}K6.peek=nEe;function K6(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+" ");++ol&&(l=e[c].length);++gu[g])&&(u[g]=C)}v.push(D)}o[c]=v,i[c]=b}let s=-1;if(typeof n=="object"&&"length"in n)for(;++su[s]&&(u[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 iEe(e){this.exit(e),this.setData("inTable")}function uEe(e){this.enter({type:"tableRow",children:[]},e)}function t5(e){this.exit(e)}function SX(e){this.enter({type:"tableCell",children:[]},e)}function lEe(e){let t=this.resume();this.getData("inTable")&&(t=t.replace(/\\([\\|])/g,cEe));let n=this.stack[this.stack.length-1];n.value=t,this.exit(e)}function cEe(e,t){return t==="|"?t:e}function n5(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:u,tableCell:l,inlineCode:d}};function i(p,v,b,g){return c(s(p,b,g),p.align)}function u(p,v,b,g){let D=f(p,b,g),C=c([D]);return C.slice(0,C.indexOf(` `))}function l(p,v,b,g){let D=b.enter("tableCell"),C=b.enter("phrasing"),S=N2(p,b,wr(Kt({},g),{before:o,after:o}));return C(),D(),S}function c(p,v){return EX(p,{align:v,alignDelimiters:r,padding:n,stringLength:a})}function s(p,v,b){let g=p.children,D=-1,C=[],S=v.enter("table");for(;++D-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 u=n.createTracker(r);u.move(o+" ".repeat(i-o.length)),u.shift(i);let l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,u.current()),s);return l(),c;function s(f,d,p){return d?(p?"":" ".repeat(i))+f:(p?o:o+" ".repeat(i-o.length))+f}}var r5={exit:{taskListCheckValueChecked:AX,taskListCheckValueUnchecked:AX,paragraph:sEe}},a5={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:fEe}};function AX(e){let t=this.stack[this.stack.length-2];t.checked=e.type==="taskListCheckValueChecked"}function sEe(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 u5(){return{enter:{mathFlow:e,mathFlowFenceMeta:t,mathText:o},exit:{mathFlow:a,mathFlowFence:r,mathFlowFenceMeta:n,mathFlowValue:u,mathText:i,mathTextData:u}};function e(l){let c={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[c]}},l)}function t(){this.buffer()}function n(){let l=this.resume(),c=this.stack[this.stack.length-1];gm(c.type==="math"),c.meta=l}function r(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function a(l){let c=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),s=this.stack[this.stack.length-1];gm(s.type==="math"),this.exit(l),s.value=c;let f=s.data.hChildren[0];gm(f.type==="element"),gm(f.tagName==="code"),f.children.push({type:"text",value:c}),this.data.mathFlowInside=void 0}function o(l){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},l),this.buffer()}function i(l){let c=this.resume(),s=this.stack[this.stack.length-1];gm(s.type==="inlineMath"),this.exit(l),s.value=c,s.data.hChildren.push({type:"text",value:c})}function u(l){this.config.enter.data.call(this,l),this.config.exit.data.call(this,l)}}function l5(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,u,l){let c=o.value||"",s=u.createTracker(l),f="$".repeat(Math.max(PX(c,"$")+1,2)),d=u.enter("mathFlow"),p=s.move(f);if(o.meta){let v=u.enter("mathFlowMeta");p+=s.move(u.safe(o.meta,Kt({after:` `,before:p,encode:["$"]},s.current()))),v()}return p+=s.move(` `),c&&(p+=s.move(c+` `)),p+=s.move(f),d(),p}function r(o,i,u){let l=o.value||"",c=1;for(t||c++;new RegExp("(^|[^$])"+"\\$".repeat(c)+"([^$]|$)").test(l);)c++;let s="$".repeat(c);/[^ \r\n]/.test(l)&&(/^[ \r\n]/.test(l)&&/[ \r\n]$/.test(l)||/^\$|\$$/.test(l))&&(l=" "+l+" ");let f=-1;for(;++f-1&&e.test(String.fromCharCode(n))}}function Zh(e,t,n,r){let a=r?r-1:Number.POSITIVE_INFINITY,o=0;return i;function i(l){return c5(l)?(e.enter(n),u(l)):t(l)}function u(l){return c5(l)&&o++React.createElement("table",{className:"table table-bordered table-sm",children:e.children}),UX=[O2,{singleDollarTextMath:!1}],HX=[P2,{throwOnError:!1}];var BX=e=>{try{return Kb(e)}catch{return e.fallback}};Nt();var WX=class extends Ct.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)}},zX=WX;var _Ee=vc(),gEe=oe(Yt);var yEe=function(){return function(){return _Ee(zX)}},DEe=yEe()(),GX=function(e){return DEe({render:function(t){return e({hasError:xr(Dt(t.error))})},componentDidCatch:function(t,n){return js(Ad)("Error within error boundary")({error:t,componentStack:n.componentStack})(function(r){return gEe(ge)})()}})};var bEe=vc(),wEe=ze(mr),CEe=function(e){return function(t){var n=$L(e);return GX(function(r){return r.hasError?n:bEe(BX)({children:e,rehypePlugins:wEe([HX])(t),remarkPlugins:[k2,UX],components:{table:OX},fallback:n})})}},f5=function(e){return CEe(e)([])};var REe=kn();var xEe=REe(ru(Ll("s$")(Zx))),qX=function(e){if(JD(xEe)(e))return e+"\u2019";if(lt)return e+"\u2019s";throw new Error("Failed pattern match at Utils.Name (line 111, column 1 - line 111, column 31): "+[e.constructor.name])};var TEe=Gn();var EEe=function(e){return TEe(R_(e))};var $X=function(e){return da(EEe(e))};var FEe=MG(Ta),SEe=LG(Qm),MEe=me(ir),VX=Ft(fu),JX=oe(Yt),IEe=Zm(Yt)(Ku),LEe=PI(zw),AEe=Ge(qe),PEe=uo(Lt)(Z4(V4)),jEe=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),Qh=function(){function e(){}return e.value=new e,e}(),Kh=function(){function e(){}return e.value=new e,e}();var U2={append:function(e){return function(t){return FEe(t)(e)}}},NEe={mempty:Eh,Semigroup0:function(){return U2}},kEe=su(T_(NEe)(Wa));var d5=function(e){return function(t){var n=$X(t),r=SEe(n);return function(){var o=VX(ac(JX(ge)))(),i=IEe(r)(function(l){return LEe(e)(l.value0)(function(c){return function(){var f=l.value1(c)();if(f instanceof Qh)return ge;if(f instanceof Kh)return MEe(Ju(o))(AEe)();throw new Error("Failed pattern match at Utils.Pusher.ListenMany (line 70, column 23 - line 72, column 66): "+[f.constructor.name])}})})(),u=PEe(i);return VX(Xu(u)(o))(),new jEe({disconnect:u})}}},e1=function(e){var t=rl(e);return function(n){return function(r){return kEe(cb(n)(function(a){var o=t(a);if(o instanceof Be)return r(o.value0);if(o instanceof Ue)return js(Ad)("Error parsing Pusher event")({error:o.value0,event:n,value:a})(function(i){return JX(Qh.value)});throw new Error("Failed pattern match at Utils.Pusher.ListenMany (line 32, column 65 - line 34, column 122): "+[o.constructor.name])}))}}};var XX=typeof CV!="undefined"&&CV.pathInfo||typeof global!="undefined"&&global.CV&&global.CV.pathInfo||(e=>null);function YX(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 ZX(e,t,n,r,a){return function(o,i){var u=e.newXHR(),l=e.fixupUrl(a.url,u);if(u.open(a.method||"GET",l,!0,a.username,a.password),a.headers)try{for(var c=0,s;(s=a.headers[c])!=null;c++)u.setRequestHeader(s.field,s.value)}catch(d){o(d)}var f=function(d){return function(){o(new Error(d))}};return u.onerror=f(n),u.ontimeout=f(t),u.onload=function(){i({status:u.status,statusText:u.statusText,headers:u.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:u.response})},u.responseType=a.responseType,u.withCredentials=a.withCredentials,u.timeout=a.timeout,u.send(a.content),function(d,p,v){try{u.abort()}catch(b){return p(b)}return v()}}}var H2="application/json",QX="application/x-www-form-urlencoded";var KX=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),eY=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),tY=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),nY=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),rY=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),p5=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),B2=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),aY=function(e){return e instanceof p5?new j(QX):e instanceof B2?new j(H2):H.value};var oY=function(){return B2.create}();var iY=Gn();var W2=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),z2=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),ym=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}(),uY=function(e){if(e instanceof W2||e instanceof z2)return iY(e.value0);if(e instanceof ym)return e.value1;throw new Error("Failed pattern match at Affjax.RequestHeader (line 26, column 1 - line 26, column 33): "+[e.constructor.name])};var m5=function(e){if(e instanceof W2)return"Accept";if(e instanceof z2)return"Content-Type";if(e instanceof ym)return e.value0;throw new Error("Failed pattern match at Affjax.RequestHeader (line 21, column 1 - line 21, column 32): "+[e.constructor.name])};var lY=Ge(qe),v5=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),h5=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),_5=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),G2=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),q2=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),$2=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),cY=function(e){if(e instanceof v5)return"arraybuffer";if(e instanceof h5)return"blob";if(e instanceof _5)return"document";if(e instanceof G2||e instanceof q2)return"text";if(e instanceof $2)return"";throw new Error("Failed pattern match at Affjax.ResponseFormat (line 44, column 3 - line 50, column 19): "+[e.constructor.name])},sY=function(e){return e instanceof G2?new j(H2):H.value},fY=function(){return new q2(lY)}();var dY=function(){return new $2(lY)}();var pY=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 Gi(e){return e}function g5(e){return JSON.stringify(e)}var mY=Gi(v_);function vY(e,t,n){try{return t(JSON.parse(n))}catch(r){return e(r.message)}}var V2=function(e){return vY(Ue.create,Be.create,e)};var OEe=Ut(ro),hY=re(Ze),UEe=lo(Ku)(_n);var HEe=function(e){return e};var _Y=function(){var e=function(r){if(r.value1 instanceof H)return XD(r.value0);if(r.value1 instanceof j)return OEe(hY(function(a){return function(o){return a+("="+o)}})(XD(r.value0)))(XD(r.value1.value0));throw new Error("Failed pattern match at Data.FormURLEncoded (line 37, column 16 - line 39, column 114): "+[r.constructor.name])},t=hY(Ho("&")),n=UEe(e);return function(r){return t(n(HEe(r)))}}();var y5=function(){function e(){}return e.value=new e,e}(),Jf=function(){function e(){}return e.value=new e,e}(),D5=function(){function e(){}return e.value=new e,e}(),Dm=function(){function e(){}return e.value=new e,e}(),J2=function(){function e(){}return e.value=new e,e}(),t1=function(){function e(){}return e.value=new e,e}(),b5=function(){function e(){}return e.value=new e,e}(),w5=function(){function e(){}return e.value=new e,e}(),C5=function(){function e(){}return e.value=new e,e}(),R5=function(){function e(){}return e.value=new e,e}(),x5=function(){function e(){}return e.value=new e,e}(),T5=function(){function e(){}return e.value=new e,e}(),E5=function(){function e(){}return e.value=new e,e}(),F5=function(){function e(){}return e.value=new e,e}(),S5=function(){function e(){}return e.value=new e,e}(),X2=function(){function e(){}return e.value=new e,e}();var BEe=function(e){return e},WEe={show:function(e){if(e instanceof y5)return"OPTIONS";if(e instanceof Jf)return"GET";if(e instanceof D5)return"HEAD";if(e instanceof Dm)return"POST";if(e instanceof J2)return"PUT";if(e instanceof t1)return"DELETE";if(e instanceof b5)return"TRACE";if(e instanceof w5)return"CONNECT";if(e instanceof C5)return"PROPFIND";if(e instanceof R5)return"PROPPATCH";if(e instanceof x5)return"MKCOL";if(e instanceof T5)return"COPY";if(e instanceof E5)return"MOVE";if(e instanceof F5)return"LOCK";if(e instanceof S5)return"UNLOCK";if(e instanceof X2)return"PATCH";throw new Error("Failed pattern match at Data.HTTP.Method (line 43, column 1 - line 59, column 23): "+[e.constructor.name])}};var gY=Jn(Ae(WEe))(BEe);var yY={eq:function(e){return function(t){return e instanceof y5&&t instanceof y5||e instanceof Jf&&t instanceof Jf||e instanceof D5&&t instanceof D5||e instanceof Dm&&t instanceof Dm||e instanceof J2&&t instanceof J2||e instanceof t1&&t instanceof t1||e instanceof b5&&t instanceof b5||e instanceof w5&&t instanceof w5||e instanceof C5&&t instanceof C5||e instanceof R5&&t instanceof R5||e instanceof x5&&t instanceof x5||e instanceof T5&&t instanceof T5||e instanceof E5&&t instanceof E5||e instanceof F5&&t instanceof F5||e instanceof S5&&t instanceof S5||e instanceof X2&&t instanceof X2}}};var DY=function(e){return Hs(function(t){return function(){var r=e(function(a){return t(Ue.create(a))()},function(a){return t(Be.create(a))()});return function(a){return Hs(function(o){return function(){return r(a,function(u){return o(Ue.create(u))()},function(u){return o(Be.create(u))()}),ZS}})}}})};var M5=oe(Md(Wa)),zEe=p_(Wa),Xf=m_(Wa),bY=zn(Lw(Nw)(Wa)),GEe=Gm(Mw(Wa)),Y2=re(Ze),qEe=jo(Lt)(Ir),$Ee=Te(Rr),VEe=En(Et),JEe=re(en),XEe=zt(sc),YEe=Ms(Fv),ZEe=oe(Tr);var Z2=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),Q2=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}(),K2=function(){function e(){}return e.value=new e,e}(),e4=function(){function e(){}return e.value=new e,e}(),t4=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),wY=function(e){return function(t){var n=function(s){return s===""?M5(mY):Jn(function(f){return zEe(d_.create(f))})(M5)(V2(s))},r=function(){if(t.responseFormat instanceof v5)return Xf("ArrayBuffer");if(t.responseFormat instanceof h5)return Xf("Blob");if(t.responseFormat instanceof _5)return function(s){return bY(Xf("Document")(s))(bY(Xf("XMLDocument")(s))(Xf("HTMLDocument")(s)))};if(t.responseFormat instanceof G2)return GEe(function(s){return t.responseFormat.value0(n(s))})(Xf("String"));if(t.responseFormat instanceof q2)return Xf("String");if(t.responseFormat instanceof $2)return et(t.responseFormat.value0(M5(ge)));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 KX)return new Be(s.value0(Kr));if(s instanceof eY)return new Be(Kr(s.value0));if(s instanceof tY)return new Be(Kr(s.value0));if(s instanceof nY)return new Be(Kr(s.value0));if(s instanceof rY)return new Be(Kr(s.value0));if(s instanceof p5)return k1("Body contains values that cannot be encoded as application/x-www-form-urlencoded")(Y2(Kr)(_Y(s.value0)));if(s instanceof B2)return new Be(Kr(g5(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 j&&!qEe(U4($Ee)(m5)(s.value0))(f)?Km(f)(s.value0):f}},i=function(s){return o(Y2(z2.create)(VEe(aY)(s)))(o(Y2(W2.create)(sY(t.responseFormat)))(t.headers))},u=function(s){return{method:gY(t.method),url:t.url,headers:JEe(function(f){return{field:m5(f),value:uY(f)}})(i(t.content)),content:s,responseType:cY(t.responseFormat),username:nu(t.username),password:nu(t.password),withCredentials:t.withCredentials,timeout:at(0)(Y2(function(f){return f})(t.timeout))}},l=function(s){return XEe(YEe(DY(ZX(e,"AffjaxTimeoutErrorMessageIdent","AffjaxRequestFailedMessageIdent",pY.create,u(s)))))(function(f){if(f instanceof Be){var d=zR(r(f.value0.body));if(d instanceof Ue)return new Ue(new Q2(Q9(d.value0),f.value0));if(d instanceof Be)return new Be({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 Ue)return new Ue(function(){var p=Fd(f.value0),v=p==="AffjaxTimeoutErrorMessageIdent";if(v)return K2.value;var b=p==="AffjaxRequestFailedMessageIdent";return b?e4.value:new t4(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 H)return l(nu(H.value));if(t.content instanceof j){var c=a(t.content.value0);if(c instanceof Be)return l(nu(new j(c.value0)));if(c instanceof Ue)return ZEe(new Ue(new Z2(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 bm=function(){return{method:new Ue(Jf.value),url:"/",headers:[],content:H.value,username:H.value,password:H.value,withCredentials:!1,responseFormat:dY,timeout:H.value}}();var CY={eq:function(e){return function(t){return e===t}}};var I5={newXHR:function(){return new XMLHttpRequest},fixupUrl:function(e){return e||"/"}};var RY=wY(I5);function xY(e){return Buffer.from(e).toString("base64")}function TY(e,t,n){let r;try{r=t(btoa(n))}catch(a){r=e(a)}return r}var L5=typeof btoa=="function";function EY(e){let t=32768,n=[];for(let r=0;rn=>{try{return e(JSON.parse(n))}catch{return t}},VZ=JSON.stringify;var JZ=function(){return VZ};var XZ=function(){return $Z({nothing:H.value,just:j.create})}();var v4=me(ir),YZ=QG(fu),O5e=EG(JS),U5e=JZ(),h4=me(Et),ZZ=Fa(),H5e=al(ZZ(Pe({reflectSymbol:function(){return"expires"}})(ut)(Pe({reflectSymbol:function(){return"letter"}})(ZZ(Pe({reflectSymbol:function(){return"additionalInstructions"}})(ut)(Pe({reflectSymbol:function(){return"collegeProgram"}})(ut)(Pe({reflectSymbol:function(){return"createdAt"}})(ut)(Pe({reflectSymbol:function(){return"customizationLength"}})(ut)(Pe({reflectSymbol:function(){return"customizationStructure"}})(ut)(Pe({reflectSymbol:function(){return"customizationTone"}})(ut)(Pe({reflectSymbol:function(){return"output"}})(ut)(Pe({reflectSymbol:function(){return"purpose"}})(ut)(Pe({reflectSymbol:function(){return"studentBackground"}})(ut)(Pe({reflectSymbol:function(){return"studentBragSheet"}})(ut)(Pe({reflectSymbol:function(){return"studentDetails"}})(ut)(Pe({reflectSymbol:function(){return"studentName"}})(ut)(Pe({reflectSymbol:function(){return"writingSample"}})(ut)(On)))))))))))))))(On)))),B5e=Tn(an)(Et),W5e=Zs(dd),z5e=L1(xh),G5e=oe(_n),QZ="anonymous-user-generated-recent-rec-letter",KZ=function(e){return function(){var n=nm(),r=YZ(n)(),a=YZ(at(n)(O5e(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 v4(v4(Pr)(Li))($c(QZ)(U5e(i)))()}},eQ=function(){var t=v4(v4(Pr)(Li))(Vc(QZ))(),n=nm();return h4(h4(h4(t)(XZ))(H5e))(function(r){return h4(Pf(r.expires))(function(a){return B5e(W5e(z5e(a)(n)))(function(){return G5e(r.letter)})})})};var W5=e=>()=>{try{navigator.clipboard.writeText(e)}catch(t){$5e(t),q5e(e)}},q5e=e=>{var t=document.createElement("textarea");document.body.appendChild(t),t.value=e,t.select(),document.execCommand("copy"),document.body.removeChild(t)},$5e=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 p1=Pi(),V5e=uo(Lt)(Gr),J5e=Qd(an)(),X5e=_z(sd),Y5e=or(Tr),Z5e=Tn(an),tQ=Z5e(cr),z5=Ft(pn),Q5e=Dc(),K5e=Xd(ot),e8e=eg(St)()(),nQ=og(kt)()(),_4=oa(ot)()(),G5=aa(vu),rQ=sr(St)()(),xm=wt(ot),t8e=Vr()(),n8e=BD(kt)()(),r8e=sr(kt)()(),a8e=wt(St),o8e=jr(kt),i8e=Wo(ot),aQ=Bo()(),oQ=$r(Q_),u8e=$r(Ma),l8e=En(cr),iQ=function(){function e(){}return e.value=new e,e}(),uQ=function(){function e(){}return e.value=new e,e}(),Tm=function(){function e(){}return e.value=new e,e}(),m1=function(){function e(){}return e.value=new e,e}(),c8e={eq:function(e){return function(t){return e instanceof Tm&&t instanceof Tm||e instanceof m1&&t instanceof m1}}},s8e=Te(c8e),lQ=function(e){var t=function(n){return function(r){return"btn btn-link rounded-0 nav-link "+function(){var a=s8e(n)(r);return a?"active":""}()}};return yc(p1(gr(Tm.value))(function(n){return p1(gr(""))(function(r){return p1(gr(uQ.value))(function(a){return p1(gr(!1))(function(o){return p1(gr(V5e([`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 J5e(X5e(o.value0)(function(u){return Y5e(u)(tQ(z5(W5(e.inviteUrl)))(function(){return tQ(Od(2e3))(function(){return z5(o.value1(!1))})}))}))(function(){return _u(Q5e({body:nn([K5e("")("Share brag sheet"),e8e("nav nav-tabs mb-4")({role:"tablist"})([nQ("nav-item text-nowrap")({role:"tab"})(_4(t(n.value0)(Tm.value))({onClick:G5(n.value1)(Tm.value)})("Share link")),nQ("nav-item text-nowrap")({role:"tab"})(_4(t(n.value0)(m1.value))({onClick:G5(n.value1)(m1.value)})("Email"))]),function(){if(n.value0 instanceof Tm)return rQ("tab-content")({role:"tablist"})([xm("text-secondary mb-4")("Use one link to share your brag sheet. Great for an email or your class website."),t8e("form-control bg-white py-4 mb-3")({value:e.inviteUrl,readOnly:!0}),n8e({placement:Dz,overlay:gn("Link copied!"),visible:o.value0})(_4("btn btn-primary px-5")({onClick:G5(o.value1)(!0)})("Copy link"))]);if(n.value0 instanceof m1){if(a.value0 instanceof iQ)return r8e("tab-content container")({role:"tablist"})(a8e("text-center")([o8e("display-1 fe fe-check-circle text-success")(ln),xm("h1")("Invite sent!"),i8e("lead")("You\u2019ve successfully invited them to join!")]));if(a.value0 instanceof uQ)return rQ("tab-content container")({role:"tablist"})([xm("row text-secondary mb-4")("Add your students to keep track of completions and send reminders."),xm("row mb-2")("Email"),xm("row mb-1 text-secondary")("Separate multiple with a comma or line break"),aQ("row form-control mb-3")({name:"email",placeholder:"name@email.edu, name@email.edu, name@email.edu...",value:r.value0,onChange:oQ(function(u){return r.value1(Ui(u))}),rows:4}),xm("row mb-2")("Message"),aQ("row form-control mb-3")({name:"message",value:i.value0,rows:5,onChange:oQ(function(u){return i.value1(Ui(u))})}),_4("row col-auto btn btn-primary px-5")({disabled:r.value0===""||i.value0==="",onClick:u8e(function(){return fc(l8e(function(l){return z5(e.onShare(l))})(zY({emails:r.value0,message:i.value0})))(),a.value1(iQ.value)()})})("Send invitations")]);throw new Error("Failed pattern match at Vinai.RecLetters.ShareBragSheetModal (line 87, column 17 - line 122, column 24): "+[a.value0.constructor.name])}throw new Error("Failed pattern match at Vinai.RecLetters.ShareBragSheetModal (line 72, column 13 - line 122, column 24): "+[n.value0.constructor.name])}()]),onDismiss:e.onDismiss}))})})})})})}))};var cQ=Jd(St),f8e=wt(ot),d8e=Vr()(),p8e=aa(_c),sQ=sr(ot)()(),m8e=$r(Q_),v8e=wt(kt),h8e=$r(Ma),fQ=function(e){var t=function(n){return cQ("form-label mt-3 mb-0 w-100")([f8e("mb-2")(n),d8e("form-control t--student-name")({onChange:p8e(e.setStudentName)(Al),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 ln;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])},dQ=function(e){return Gv(gr(!1))(function(t){return function(n){return cQ("form-label w-100 t--student-dropdown-label")([sQ("mb-2")({id:"student-recommend-text"})("Student you\u2019re recommending"),Zy(new nh("student-recommend-text"))()({options:e.allStudents,getOptionLabel:jZ,getOptionValue:function(){var r=at("");return function(a){return r(PZ(a))}}(),onSelect:m8e(function(r){return function(){return n(!1)(),e.setStudent(new j(r))()}}),value:e.student,noOptionsMessage:Zk(function(r){return r.inputValue===""?gn("No invited students"):gn("No invited students match your search")}),placeholder:"Type to search student",useMenuPortal:!0,footerOption:Qk(function(r){if(r.inputValue instanceof H)return H.value;if(r.inputValue instanceof j&&r.inputValue.value0==="")return H.value;if(r.inputValue instanceof j)return new j(v8e("text-primary px-3 pb-3")(sQ("cursor-pointer pt-2 t--continue-with-guest-option")({onClick:h8e(function(){return n(!1)(),e.setStudent(new j(new _i({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(H.value),onBlur:n(!1),onFocus:n(!0),menuIsOpen:t})])}})};var _8e=Lz(Rm),g8e=sr(kt)()(),y8e=wt(kt),D8e=oa(ot)()(),b8e=$r(Ma),w8e=oe(Yt),q5=function(e){return function(t){return e.shouldShow?_8e(e.state)(e.dispatch)({step:e.step,content:g8e("text-white mb-3")({style:qt({fontSize:"1rem"})})(function(){if(e.step instanceof qi)return gn("Add student details to generate a rec letter");if(e.step instanceof $i)return ln;if(e.step instanceof vi)return gn(` Instead of typing, have your students fill out brag sheets on CollegeVine to generate better letters faster. `);if(e.step instanceof Vi)return ln;if(e.step instanceof hi)return ln;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 y8e("")(D8e("btn btn-white rounded-pill px-4")({onClick:b8e(n.onNext)})(function(){if(e.step instanceof qi)return"Got it";if(e.step instanceof $i)return"";if(e.step instanceof vi)return"Try an example brag sheet";if(e.step instanceof Vi||e.step instanceof hi)return"";throw new Error("Failed pattern match at Vinai.RecLetters.TourTooltip (line 48, column 13 - line 53, column 42): "+[e.step.constructor.name])}()))},overlayStyle:qt({maxWidth:"325px"}),overlayClassName:"brag-sheet-preview-tooltip",contentClassName:"p-3",tooltipPlacement:function(){if(e.step instanceof qi)return bz;if(e.step instanceof $i)return wh;if(e.step instanceof vi)return wh;if(e.step instanceof Vi)return wh;if(e.step instanceof hi)return wh;throw new Error("Failed pattern match at Vinai.RecLetters.TourTooltip (line 58, column 11 - line 63, column 52): "+[e.step.constructor.name])}()})(t):t({onNext:w8e(ge)})}},$5="Mia Jones",pQ="Example: Mia Jones\u2019 brag sheet",V5=function(){return[{questionId:0,question:"What majors or careers are you considering and why?",answer:new j("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 j("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 j("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 mQ="/legal/terms";var vQ="/legal/privacy";var J5=Pi(),C8e=Te(zr(Rr)),R8e=Xv(),hQ=wt(ot),x8e=Wo(ot),T8e=tg(St),X5=ig(St),Y5=jr(ot),Z5=rg(ot),_Q=wt(St),E8e=Vr()(),F8e=aa(vu),S8e=hu(St)()(),g4=Yd(ot)()(),M8e=oa(ot)()(),I8e=$r(Ma),gQ=or(Yt),L8e=Qp(pn)(),Q5="rec-letters-welcome-modal-dismissed",y4=function(e){return yc(J5(Ux(Q5)("false"))(function(t){return J5(gr(!1))(function(n){return J5(gr(!1))(function(r){return _u(sl(C8e(t.value0)(new j("false")))(R8e({body:nn([hQ("h1")("Welcome to CollegeVine\u2019s Rec Letter Assistant!"),x8e("")(` CollegeVine Rec Letter Assistant helps busy counselors save time by drafting highly personalized letters of recommendation for their students in minutes. `),T8e("list-unstyled")([X5("")([Y5("mr-2")("\u{1F551}"),Z5("")("Write an Amazing First Draft in Seconds:"),gn(" Fully editable")]),X5("my-2")([Y5("mr-2")("\u{1F64D}"),Z5("")("Personalized to Each Student:"),gn(" Based on your students\u2019 brag sheets, profile, and more.")]),X5("")([Y5("mr-2")("\u270D\uFE0F"),Z5("")("Custom to Your Writing Style:"),gn(" Upload examples of rec letters you\u2019ve written in the past and our app will produce letters in your unique voice.")])]),_Q("form-check")([E8e("form-check-input t--agree-to-terms")({checked:n.value0,id:"agree-to-terms",onChange:F8e(n.value1)(!n.value0),type:"checkbox"}),S8e("form-check-label")({htmlFor:"agree-to-terms"})([gn("By checking this box I agree to the "),g4("")({href:mQ,target:"_blank"})("Terms of service"),gn(" and "),g4("")({href:vQ,target:"_blank"})("Privacy policy")])]),sl(r.value0)(hQ("text-danger")("You must agree above before proceeding.")),_Q("text-center mt-3")([function(){return e.isAnonymous?g4("mr-3")({href:"/"})("Back home"):g4("mr-3")({href:"dashboard"})("Back to dashboard")}(),M8e("btn btn-dark"+function(){return n.value0?"":" cursor-default"}())({onClick:I8e(function(){return gQ(!n.value0)(r.value1(!0))(),gQ(n.value0)(function(){return r.value1(!1)(),fc(L8e("Rec Letter - Agreed to terms")({}))(),t.value1("true")(),e.onDismiss()})()})})("Get started")])]),header:PG("")("/img/vinai/rec-letters/welcome.gif"),headerClass:"p-0 d-flex justify-content-center bg-spearmint"})))})})}))};var yQ=kn(),A8e=ze(Yx),P8e=Z1(Gr),K5=Ae(hn),j8e=xs(Et),N8e=me(Et),k8e=ra(),O8e=wt(St),U8e=Bo()(),H8e=aa(_c),B8e=wt(ot),DQ=function(){var e=yQ(ru(Ll("\\s+")(A8e(Zp)(Oz)))),t=nv(function(r){return r!==""}),n=Xx(e);return function(r){return Qr(t(n(r)))}}(),W8e=function(e){return function(t){var n=DQ(t);return P8e([K5(n),"/",K5(e)," words"])}},z8e=function(e){return function(t){var n=function(i){return yQ(ru(Ll("^(?:[\\w-]+[^\\w-]+){"+(K5(i)+"}[\\w-]+"))(kz)))},r=function(i){return function(u){var l=j8e(N8e(Qx(n(i-1|0))(u))(Jt($k)(0)));return at(u)(l)}},a=Ui(t),o=DQ(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/facebook/regenerator/blob/main/LICENSE */ /** * @license React * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /** @license React v0.20.2 * scheduler.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /** @license React v16.13.1 * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /** @license React v17.0.2 * react-dom-server.browser.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /** @license React v17.0.2 * react-dom.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /** @license React v17.0.2 * react.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */