cycls 0.0.2.50__py3-none-any.whl → 0.0.2.52__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,382 +0,0 @@
1
- (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))a(s);new MutationObserver(s=>{for(const l of s)if(l.type==="childList")for(const o of l.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&a(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const l={};return s.integrity&&(l.integrity=s.integrity),s.referrerPolicy&&(l.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?l.credentials="include":s.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function a(s){if(s.ep)return;s.ep=!0;const l=n(s);fetch(s.href,l)}})();function Y0(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var gh={exports:{}},Gu={};/**
2
- * @license React
3
- * react-jsx-runtime.production.js
4
- *
5
- * Copyright (c) Meta Platforms, Inc. and affiliates.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE file in the root directory of this source tree.
9
- */var L4;function Mv(){if(L4)return Gu;L4=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(a,s,l){var o=null;if(l!==void 0&&(o=""+l),s.key!==void 0&&(o=""+s.key),"key"in s){l={};for(var d in s)d!=="key"&&(l[d]=s[d])}else l=s;return s=l.ref,{$$typeof:e,type:a,key:o,ref:s!==void 0?s:null,props:l}}return Gu.Fragment=t,Gu.jsx=n,Gu.jsxs=n,Gu}var B4;function Rv(){return B4||(B4=1,gh.exports=Mv()),gh.exports}var G=Rv(),bh={exports:{}},bt={};/**
10
- * @license React
11
- * react.production.js
12
- *
13
- * Copyright (c) Meta Platforms, Inc. and affiliates.
14
- *
15
- * This source code is licensed under the MIT license found in the
16
- * LICENSE file in the root directory of this source tree.
17
- */var P4;function Dv(){if(P4)return bt;P4=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.consumer"),o=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),b=Symbol.iterator;function T(x){return x===null||typeof x!="object"?null:(x=b&&x[b]||x["@@iterator"],typeof x=="function"?x:null)}var v={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},A=Object.assign,k={};function R(x,X,ce){this.props=x,this.context=X,this.refs=k,this.updater=ce||v}R.prototype.isReactComponent={},R.prototype.setState=function(x,X){if(typeof x!="object"&&typeof x!="function"&&x!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,x,X,"setState")},R.prototype.forceUpdate=function(x){this.updater.enqueueForceUpdate(this,x,"forceUpdate")};function C(){}C.prototype=R.prototype;function D(x,X,ce){this.props=x,this.context=X,this.refs=k,this.updater=ce||v}var U=D.prototype=new C;U.constructor=D,A(U,R.prototype),U.isPureReactComponent=!0;var J=Array.isArray,j={H:null,A:null,T:null,S:null,V:null},B=Object.prototype.hasOwnProperty;function Q(x,X,ce,M,De,qe){return ce=qe.ref,{$$typeof:e,type:x,key:X,ref:ce!==void 0?ce:null,props:qe}}function te(x,X){return Q(x.type,X,void 0,void 0,void 0,x.props)}function ae(x){return typeof x=="object"&&x!==null&&x.$$typeof===e}function Y(x){var X={"=":"=0",":":"=2"};return"$"+x.replace(/[=:]/g,function(ce){return X[ce]})}var Z=/\/+/g;function ee(x,X){return typeof x=="object"&&x!==null&&x.key!=null?Y(""+x.key):X.toString(36)}function pe(){}function ue(x){switch(x.status){case"fulfilled":return x.value;case"rejected":throw x.reason;default:switch(typeof x.status=="string"?x.then(pe,pe):(x.status="pending",x.then(function(X){x.status==="pending"&&(x.status="fulfilled",x.value=X)},function(X){x.status==="pending"&&(x.status="rejected",x.reason=X)})),x.status){case"fulfilled":return x.value;case"rejected":throw x.reason}}throw x}function me(x,X,ce,M,De){var qe=typeof x;(qe==="undefined"||qe==="boolean")&&(x=null);var Re=!1;if(x===null)Re=!0;else switch(qe){case"bigint":case"string":case"number":Re=!0;break;case"object":switch(x.$$typeof){case e:case t:Re=!0;break;case p:return Re=x._init,me(Re(x._payload),X,ce,M,De)}}if(Re)return De=De(x),Re=M===""?"."+ee(x,0):M,J(De)?(ce="",Re!=null&&(ce=Re.replace(Z,"$&/")+"/"),me(De,X,ce,"",function(st){return st})):De!=null&&(ae(De)&&(De=te(De,ce+(De.key==null||x&&x.key===De.key?"":(""+De.key).replace(Z,"$&/")+"/")+Re)),X.push(De)),1;Re=0;var Tt=M===""?".":M+":";if(J(x))for(var nt=0;nt<x.length;nt++)M=x[nt],qe=Tt+ee(M,nt),Re+=me(M,X,ce,qe,De);else if(nt=T(x),typeof nt=="function")for(x=nt.call(x),nt=0;!(M=x.next()).done;)M=M.value,qe=Tt+ee(M,nt++),Re+=me(M,X,ce,qe,De);else if(qe==="object"){if(typeof x.then=="function")return me(ue(x),X,ce,M,De);throw X=String(x),Error("Objects are not valid as a React child (found: "+(X==="[object Object]"?"object with keys {"+Object.keys(x).join(", ")+"}":X)+"). If you meant to render a collection of children, use an array instead.")}return Re}function $(x,X,ce){if(x==null)return x;var M=[],De=0;return me(x,M,"","",function(qe){return X.call(ce,qe,De++)}),M}function fe(x){if(x._status===-1){var X=x._result;X=X(),X.then(function(ce){(x._status===0||x._status===-1)&&(x._status=1,x._result=ce)},function(ce){(x._status===0||x._status===-1)&&(x._status=2,x._result=ce)}),x._status===-1&&(x._status=0,x._result=X)}if(x._status===1)return x._result.default;throw x._result}var Ee=typeof reportError=="function"?reportError:function(x){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var X=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof x=="object"&&x!==null&&typeof x.message=="string"?String(x.message):String(x),error:x});if(!window.dispatchEvent(X))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",x);return}console.error(x)};function He(){}return bt.Children={map:$,forEach:function(x,X,ce){$(x,function(){X.apply(this,arguments)},ce)},count:function(x){var X=0;return $(x,function(){X++}),X},toArray:function(x){return $(x,function(X){return X})||[]},only:function(x){if(!ae(x))throw Error("React.Children.only expected to receive a single React element child.");return x}},bt.Component=R,bt.Fragment=n,bt.Profiler=s,bt.PureComponent=D,bt.StrictMode=a,bt.Suspense=f,bt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=j,bt.__COMPILER_RUNTIME={__proto__:null,c:function(x){return j.H.useMemoCache(x)}},bt.cache=function(x){return function(){return x.apply(null,arguments)}},bt.cloneElement=function(x,X,ce){if(x==null)throw Error("The argument must be a React element, but you passed "+x+".");var M=A({},x.props),De=x.key,qe=void 0;if(X!=null)for(Re in X.ref!==void 0&&(qe=void 0),X.key!==void 0&&(De=""+X.key),X)!B.call(X,Re)||Re==="key"||Re==="__self"||Re==="__source"||Re==="ref"&&X.ref===void 0||(M[Re]=X[Re]);var Re=arguments.length-2;if(Re===1)M.children=ce;else if(1<Re){for(var Tt=Array(Re),nt=0;nt<Re;nt++)Tt[nt]=arguments[nt+2];M.children=Tt}return Q(x.type,De,void 0,void 0,qe,M)},bt.createContext=function(x){return x={$$typeof:o,_currentValue:x,_currentValue2:x,_threadCount:0,Provider:null,Consumer:null},x.Provider=x,x.Consumer={$$typeof:l,_context:x},x},bt.createElement=function(x,X,ce){var M,De={},qe=null;if(X!=null)for(M in X.key!==void 0&&(qe=""+X.key),X)B.call(X,M)&&M!=="key"&&M!=="__self"&&M!=="__source"&&(De[M]=X[M]);var Re=arguments.length-2;if(Re===1)De.children=ce;else if(1<Re){for(var Tt=Array(Re),nt=0;nt<Re;nt++)Tt[nt]=arguments[nt+2];De.children=Tt}if(x&&x.defaultProps)for(M in Re=x.defaultProps,Re)De[M]===void 0&&(De[M]=Re[M]);return Q(x,qe,void 0,void 0,null,De)},bt.createRef=function(){return{current:null}},bt.forwardRef=function(x){return{$$typeof:d,render:x}},bt.isValidElement=ae,bt.lazy=function(x){return{$$typeof:p,_payload:{_status:-1,_result:x},_init:fe}},bt.memo=function(x,X){return{$$typeof:h,type:x,compare:X===void 0?null:X}},bt.startTransition=function(x){var X=j.T,ce={};j.T=ce;try{var M=x(),De=j.S;De!==null&&De(ce,M),typeof M=="object"&&M!==null&&typeof M.then=="function"&&M.then(He,Ee)}catch(qe){Ee(qe)}finally{j.T=X}},bt.unstable_useCacheRefresh=function(){return j.H.useCacheRefresh()},bt.use=function(x){return j.H.use(x)},bt.useActionState=function(x,X,ce){return j.H.useActionState(x,X,ce)},bt.useCallback=function(x,X){return j.H.useCallback(x,X)},bt.useContext=function(x){return j.H.useContext(x)},bt.useDebugValue=function(){},bt.useDeferredValue=function(x,X){return j.H.useDeferredValue(x,X)},bt.useEffect=function(x,X,ce){var M=j.H;if(typeof ce=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return M.useEffect(x,X)},bt.useId=function(){return j.H.useId()},bt.useImperativeHandle=function(x,X,ce){return j.H.useImperativeHandle(x,X,ce)},bt.useInsertionEffect=function(x,X){return j.H.useInsertionEffect(x,X)},bt.useLayoutEffect=function(x,X){return j.H.useLayoutEffect(x,X)},bt.useMemo=function(x,X){return j.H.useMemo(x,X)},bt.useOptimistic=function(x,X){return j.H.useOptimistic(x,X)},bt.useReducer=function(x,X,ce){return j.H.useReducer(x,X,ce)},bt.useRef=function(x){return j.H.useRef(x)},bt.useState=function(x){return j.H.useState(x)},bt.useSyncExternalStore=function(x,X,ce){return j.H.useSyncExternalStore(x,X,ce)},bt.useTransition=function(){return j.H.useTransition()},bt.version="19.1.0",bt}var U4;function G0(){return U4||(U4=1,bh.exports=Dv()),bh.exports}var Me=G0();const be=Y0(Me);var Eh={exports:{}},ju={},yh={exports:{}},vh={};/**
18
- * @license React
19
- * scheduler.production.js
20
- *
21
- * Copyright (c) Meta Platforms, Inc. and affiliates.
22
- *
23
- * This source code is licensed under the MIT license found in the
24
- * LICENSE file in the root directory of this source tree.
25
- */var z4;function Iv(){return z4||(z4=1,function(e){function t($,fe){var Ee=$.length;$.push(fe);e:for(;0<Ee;){var He=Ee-1>>>1,x=$[He];if(0<s(x,fe))$[He]=fe,$[Ee]=x,Ee=He;else break e}}function n($){return $.length===0?null:$[0]}function a($){if($.length===0)return null;var fe=$[0],Ee=$.pop();if(Ee!==fe){$[0]=Ee;e:for(var He=0,x=$.length,X=x>>>1;He<X;){var ce=2*(He+1)-1,M=$[ce],De=ce+1,qe=$[De];if(0>s(M,Ee))De<x&&0>s(qe,M)?($[He]=qe,$[De]=Ee,He=De):($[He]=M,$[ce]=Ee,He=ce);else if(De<x&&0>s(qe,Ee))$[He]=qe,$[De]=Ee,He=De;else break e}}return fe}function s($,fe){var Ee=$.sortIndex-fe.sortIndex;return Ee!==0?Ee:$.id-fe.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var o=Date,d=o.now();e.unstable_now=function(){return o.now()-d}}var f=[],h=[],p=1,b=null,T=3,v=!1,A=!1,k=!1,R=!1,C=typeof setTimeout=="function"?setTimeout:null,D=typeof clearTimeout=="function"?clearTimeout:null,U=typeof setImmediate<"u"?setImmediate:null;function J($){for(var fe=n(h);fe!==null;){if(fe.callback===null)a(h);else if(fe.startTime<=$)a(h),fe.sortIndex=fe.expirationTime,t(f,fe);else break;fe=n(h)}}function j($){if(k=!1,J($),!A)if(n(f)!==null)A=!0,B||(B=!0,ee());else{var fe=n(h);fe!==null&&me(j,fe.startTime-$)}}var B=!1,Q=-1,te=5,ae=-1;function Y(){return R?!0:!(e.unstable_now()-ae<te)}function Z(){if(R=!1,B){var $=e.unstable_now();ae=$;var fe=!0;try{e:{A=!1,k&&(k=!1,D(Q),Q=-1),v=!0;var Ee=T;try{t:{for(J($),b=n(f);b!==null&&!(b.expirationTime>$&&Y());){var He=b.callback;if(typeof He=="function"){b.callback=null,T=b.priorityLevel;var x=He(b.expirationTime<=$);if($=e.unstable_now(),typeof x=="function"){b.callback=x,J($),fe=!0;break t}b===n(f)&&a(f),J($)}else a(f);b=n(f)}if(b!==null)fe=!0;else{var X=n(h);X!==null&&me(j,X.startTime-$),fe=!1}}break e}finally{b=null,T=Ee,v=!1}fe=void 0}}finally{fe?ee():B=!1}}}var ee;if(typeof U=="function")ee=function(){U(Z)};else if(typeof MessageChannel<"u"){var pe=new MessageChannel,ue=pe.port2;pe.port1.onmessage=Z,ee=function(){ue.postMessage(null)}}else ee=function(){C(Z,0)};function me($,fe){Q=C(function(){$(e.unstable_now())},fe)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function($){$.callback=null},e.unstable_forceFrameRate=function($){0>$||125<$?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):te=0<$?Math.floor(1e3/$):5},e.unstable_getCurrentPriorityLevel=function(){return T},e.unstable_next=function($){switch(T){case 1:case 2:case 3:var fe=3;break;default:fe=T}var Ee=T;T=fe;try{return $()}finally{T=Ee}},e.unstable_requestPaint=function(){R=!0},e.unstable_runWithPriority=function($,fe){switch($){case 1:case 2:case 3:case 4:case 5:break;default:$=3}var Ee=T;T=$;try{return fe()}finally{T=Ee}},e.unstable_scheduleCallback=function($,fe,Ee){var He=e.unstable_now();switch(typeof Ee=="object"&&Ee!==null?(Ee=Ee.delay,Ee=typeof Ee=="number"&&0<Ee?He+Ee:He):Ee=He,$){case 1:var x=-1;break;case 2:x=250;break;case 5:x=1073741823;break;case 4:x=1e4;break;default:x=5e3}return x=Ee+x,$={id:p++,callback:fe,priorityLevel:$,startTime:Ee,expirationTime:x,sortIndex:-1},Ee>He?($.sortIndex=Ee,t(h,$),n(f)===null&&$===n(h)&&(k?(D(Q),Q=-1):k=!0,me(j,Ee-He))):($.sortIndex=x,t(f,$),A||v||(A=!0,B||(B=!0,ee()))),$},e.unstable_shouldYield=Y,e.unstable_wrapCallback=function($){var fe=T;return function(){var Ee=T;T=fe;try{return $.apply(this,arguments)}finally{T=Ee}}}}(vh)),vh}var F4;function Lv(){return F4||(F4=1,yh.exports=Iv()),yh.exports}var Th={exports:{}},Wn={};/**
26
- * @license React
27
- * react-dom.production.js
28
- *
29
- * Copyright (c) Meta Platforms, Inc. and affiliates.
30
- *
31
- * This source code is licensed under the MIT license found in the
32
- * LICENSE file in the root directory of this source tree.
33
- */var H4;function Bv(){if(H4)return Wn;H4=1;var e=G0();function t(f){var h="https://react.dev/errors/"+f;if(1<arguments.length){h+="?args[]="+encodeURIComponent(arguments[1]);for(var p=2;p<arguments.length;p++)h+="&args[]="+encodeURIComponent(arguments[p])}return"Minified React error #"+f+"; visit "+h+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var a={d:{f:n,r:function(){throw Error(t(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},s=Symbol.for("react.portal");function l(f,h,p){var b=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:s,key:b==null?null:""+b,children:f,containerInfo:h,implementation:p}}var o=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function d(f,h){if(f==="font")return"";if(typeof h=="string")return h==="use-credentials"?h:""}return Wn.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=a,Wn.createPortal=function(f,h){var p=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!h||h.nodeType!==1&&h.nodeType!==9&&h.nodeType!==11)throw Error(t(299));return l(f,h,null,p)},Wn.flushSync=function(f){var h=o.T,p=a.p;try{if(o.T=null,a.p=2,f)return f()}finally{o.T=h,a.p=p,a.d.f()}},Wn.preconnect=function(f,h){typeof f=="string"&&(h?(h=h.crossOrigin,h=typeof h=="string"?h==="use-credentials"?h:"":void 0):h=null,a.d.C(f,h))},Wn.prefetchDNS=function(f){typeof f=="string"&&a.d.D(f)},Wn.preinit=function(f,h){if(typeof f=="string"&&h&&typeof h.as=="string"){var p=h.as,b=d(p,h.crossOrigin),T=typeof h.integrity=="string"?h.integrity:void 0,v=typeof h.fetchPriority=="string"?h.fetchPriority:void 0;p==="style"?a.d.S(f,typeof h.precedence=="string"?h.precedence:void 0,{crossOrigin:b,integrity:T,fetchPriority:v}):p==="script"&&a.d.X(f,{crossOrigin:b,integrity:T,fetchPriority:v,nonce:typeof h.nonce=="string"?h.nonce:void 0})}},Wn.preinitModule=function(f,h){if(typeof f=="string")if(typeof h=="object"&&h!==null){if(h.as==null||h.as==="script"){var p=d(h.as,h.crossOrigin);a.d.M(f,{crossOrigin:p,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0})}}else h==null&&a.d.M(f)},Wn.preload=function(f,h){if(typeof f=="string"&&typeof h=="object"&&h!==null&&typeof h.as=="string"){var p=h.as,b=d(p,h.crossOrigin);a.d.L(f,p,{crossOrigin:b,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0,type:typeof h.type=="string"?h.type:void 0,fetchPriority:typeof h.fetchPriority=="string"?h.fetchPriority:void 0,referrerPolicy:typeof h.referrerPolicy=="string"?h.referrerPolicy:void 0,imageSrcSet:typeof h.imageSrcSet=="string"?h.imageSrcSet:void 0,imageSizes:typeof h.imageSizes=="string"?h.imageSizes:void 0,media:typeof h.media=="string"?h.media:void 0})}},Wn.preloadModule=function(f,h){if(typeof f=="string")if(h){var p=d(h.as,h.crossOrigin);a.d.m(f,{as:typeof h.as=="string"&&h.as!=="script"?h.as:void 0,crossOrigin:p,integrity:typeof h.integrity=="string"?h.integrity:void 0})}else a.d.m(f)},Wn.requestFormReset=function(f){a.d.r(f)},Wn.unstable_batchedUpdates=function(f,h){return f(h)},Wn.useFormState=function(f,h,p){return o.H.useFormState(f,h,p)},Wn.useFormStatus=function(){return o.H.useHostTransitionStatus()},Wn.version="19.1.0",Wn}var q4;function w6(){if(q4)return Th.exports;q4=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Th.exports=Bv(),Th.exports}/**
34
- * @license React
35
- * react-dom-client.production.js
36
- *
37
- * Copyright (c) Meta Platforms, Inc. and affiliates.
38
- *
39
- * This source code is licensed under the MIT license found in the
40
- * LICENSE file in the root directory of this source tree.
41
- */var Y4;function Pv(){if(Y4)return ju;Y4=1;var e=Lv(),t=G0(),n=w6();function a(r){var i="https://react.dev/errors/"+r;if(1<arguments.length){i+="?args[]="+encodeURIComponent(arguments[1]);for(var u=2;u<arguments.length;u++)i+="&args[]="+encodeURIComponent(arguments[u])}return"Minified React error #"+r+"; visit "+i+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(r){return!(!r||r.nodeType!==1&&r.nodeType!==9&&r.nodeType!==11)}function l(r){var i=r,u=r;if(r.alternate)for(;i.return;)i=i.return;else{r=i;do i=r,(i.flags&4098)!==0&&(u=i.return),r=i.return;while(r)}return i.tag===3?u:null}function o(r){if(r.tag===13){var i=r.memoizedState;if(i===null&&(r=r.alternate,r!==null&&(i=r.memoizedState)),i!==null)return i.dehydrated}return null}function d(r){if(l(r)!==r)throw Error(a(188))}function f(r){var i=r.alternate;if(!i){if(i=l(r),i===null)throw Error(a(188));return i!==r?null:r}for(var u=r,c=i;;){var m=u.return;if(m===null)break;var g=m.alternate;if(g===null){if(c=m.return,c!==null){u=c;continue}break}if(m.child===g.child){for(g=m.child;g;){if(g===u)return d(m),r;if(g===c)return d(m),i;g=g.sibling}throw Error(a(188))}if(u.return!==c.return)u=m,c=g;else{for(var S=!1,N=m.child;N;){if(N===u){S=!0,u=m,c=g;break}if(N===c){S=!0,c=m,u=g;break}N=N.sibling}if(!S){for(N=g.child;N;){if(N===u){S=!0,u=g,c=m;break}if(N===c){S=!0,c=g,u=m;break}N=N.sibling}if(!S)throw Error(a(189))}}if(u.alternate!==c)throw Error(a(190))}if(u.tag!==3)throw Error(a(188));return u.stateNode.current===u?r:i}function h(r){var i=r.tag;if(i===5||i===26||i===27||i===6)return r;for(r=r.child;r!==null;){if(i=h(r),i!==null)return i;r=r.sibling}return null}var p=Object.assign,b=Symbol.for("react.element"),T=Symbol.for("react.transitional.element"),v=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),k=Symbol.for("react.strict_mode"),R=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),D=Symbol.for("react.consumer"),U=Symbol.for("react.context"),J=Symbol.for("react.forward_ref"),j=Symbol.for("react.suspense"),B=Symbol.for("react.suspense_list"),Q=Symbol.for("react.memo"),te=Symbol.for("react.lazy"),ae=Symbol.for("react.activity"),Y=Symbol.for("react.memo_cache_sentinel"),Z=Symbol.iterator;function ee(r){return r===null||typeof r!="object"?null:(r=Z&&r[Z]||r["@@iterator"],typeof r=="function"?r:null)}var pe=Symbol.for("react.client.reference");function ue(r){if(r==null)return null;if(typeof r=="function")return r.$$typeof===pe?null:r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case A:return"Fragment";case R:return"Profiler";case k:return"StrictMode";case j:return"Suspense";case B:return"SuspenseList";case ae:return"Activity"}if(typeof r=="object")switch(r.$$typeof){case v:return"Portal";case U:return(r.displayName||"Context")+".Provider";case D:return(r._context.displayName||"Context")+".Consumer";case J:var i=r.render;return r=r.displayName,r||(r=i.displayName||i.name||"",r=r!==""?"ForwardRef("+r+")":"ForwardRef"),r;case Q:return i=r.displayName||null,i!==null?i:ue(r.type)||"Memo";case te:i=r._payload,r=r._init;try{return ue(r(i))}catch{}}return null}var me=Array.isArray,$=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,fe=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Ee={pending:!1,data:null,method:null,action:null},He=[],x=-1;function X(r){return{current:r}}function ce(r){0>x||(r.current=He[x],He[x]=null,x--)}function M(r,i){x++,He[x]=r.current,r.current=i}var De=X(null),qe=X(null),Re=X(null),Tt=X(null);function nt(r,i){switch(M(Re,i),M(qe,r),M(De,null),i.nodeType){case 9:case 11:r=(r=i.documentElement)&&(r=r.namespaceURI)?o4(r):0;break;default:if(r=i.tagName,i=i.namespaceURI)i=o4(i),r=c4(i,r);else switch(r){case"svg":r=1;break;case"math":r=2;break;default:r=0}}ce(De),M(De,r)}function st(){ce(De),ce(qe),ce(Re)}function Ye(r){r.memoizedState!==null&&M(Tt,r);var i=De.current,u=c4(i,r.type);i!==u&&(M(qe,r),M(De,u))}function wt(r){qe.current===r&&(ce(De),ce(qe)),Tt.current===r&&(ce(Tt),zu._currentValue=Ee)}var rt=Object.prototype.hasOwnProperty,Ke=e.unstable_scheduleCallback,Ve=e.unstable_cancelCallback,ot=e.unstable_shouldYield,We=e.unstable_requestPaint,Ot=e.unstable_now,ln=e.unstable_getCurrentPriorityLevel,Dt=e.unstable_ImmediatePriority,en=e.unstable_UserBlockingPriority,Pn=e.unstable_NormalPriority,fi=e.unstable_LowPriority,ga=e.unstable_IdlePriority,fr=e.log,Rn=e.unstable_setDisableYieldValue,de=null,Se=null;function Qe(r){if(typeof fr=="function"&&Rn(r),Se&&typeof Se.setStrictMode=="function")try{Se.setStrictMode(de,r)}catch{}}var et=Math.clz32?Math.clz32:ia,Bt=Math.log,er=Math.LN2;function ia(r){return r>>>=0,r===0?32:31-(Bt(r)/er|0)|0}var Kn=256,Ar=4194304;function tr(r){var i=r&42;if(i!==0)return i;switch(r&-r){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return r&4194048;case 4194304:case 8388608:case 16777216:case 33554432:return r&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return r}}function xn(r,i,u){var c=r.pendingLanes;if(c===0)return 0;var m=0,g=r.suspendedLanes,S=r.pingedLanes;r=r.warmLanes;var N=c&134217727;return N!==0?(c=N&~g,c!==0?m=tr(c):(S&=N,S!==0?m=tr(S):u||(u=N&~r,u!==0&&(m=tr(u))))):(N=c&~g,N!==0?m=tr(N):S!==0?m=tr(S):u||(u=c&~r,u!==0&&(m=tr(u)))),m===0?0:i!==0&&i!==m&&(i&g)===0&&(g=m&-m,u=i&-i,g>=u||g===32&&(u&4194048)!==0)?i:m}function hr(r,i){return(r.pendingLanes&~(r.suspendedLanes&~r.pingedLanes)&i)===0}function nr(r,i){switch(r){case 1:case 2:case 4:case 8:case 64:return i+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return i+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function jl(){var r=Kn;return Kn<<=1,(Kn&4194048)===0&&(Kn=256),r}function Vl(){var r=Ar;return Ar<<=1,(Ar&62914560)===0&&(Ar=4194304),r}function Kl(r){for(var i=[],u=0;31>u;u++)i.push(r);return i}function hi(r,i){r.pendingLanes|=i,i!==268435456&&(r.suspendedLanes=0,r.pingedLanes=0,r.warmLanes=0)}function mi(r,i,u,c,m,g){var S=r.pendingLanes;r.pendingLanes=u,r.suspendedLanes=0,r.pingedLanes=0,r.warmLanes=0,r.expiredLanes&=u,r.entangledLanes&=u,r.errorRecoveryDisabledLanes&=u,r.shellSuspendCounter=0;var N=r.entanglements,H=r.expirationTimes,ie=r.hiddenUpdates;for(u=S&~u;0<u;){var ge=31-et(u),Te=1<<ge;N[ge]=0,H[ge]=-1;var le=ie[ge];if(le!==null)for(ie[ge]=null,ge=0;ge<le.length;ge++){var oe=le[ge];oe!==null&&(oe.lane&=-536870913)}u&=~Te}c!==0&&q(r,c,0),g!==0&&m===0&&r.tag!==0&&(r.suspendedLanes|=g&~(S&~i))}function q(r,i,u){r.pendingLanes|=i,r.suspendedLanes&=~i;var c=31-et(i);r.entangledLanes|=i,r.entanglements[c]=r.entanglements[c]|1073741824|u&4194090}function ye(r,i){var u=r.entangledLanes|=i;for(r=r.entanglements;u;){var c=31-et(u),m=1<<c;m&i|r[c]&i&&(r[c]|=i),u&=~m}}function Be(r){switch(r){case 2:r=1;break;case 8:r=4;break;case 32:r=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:r=128;break;case 268435456:r=134217728;break;default:r=0}return r}function ct(r){return r&=-r,2<r?8<r?(r&134217727)!==0?32:268435456:8:2}function tn(){var r=fe.p;return r!==0?r:(r=window.event,r===void 0?32:N4(r.type))}function un(r,i){var u=fe.p;try{return fe.p=r,i()}finally{fe.p=u}}var ze=Math.random().toString(36).slice(2),Le="__reactFiber$"+ze,$e="__reactProps$"+ze,Jt="__reactContainer$"+ze,nn="__reactEvents$"+ze,rs="__reactListeners$"+ze,$l="__reactHandles$"+ze,Us="__reactResources$"+ze,as="__reactMarker$"+ze;function is(r){delete r[Le],delete r[$e],delete r[nn],delete r[rs],delete r[$l]}function pi(r){var i=r[Le];if(i)return i;for(var u=r.parentNode;u;){if(i=u[Jt]||u[Le]){if(u=i.alternate,i.child!==null||u!==null&&u.child!==null)for(r=m4(r);r!==null;){if(u=r[Le])return u;r=m4(r)}return i}r=u,u=r.parentNode}return null}function gi(r){if(r=r[Le]||r[Jt]){var i=r.tag;if(i===5||i===6||i===13||i===26||i===27||i===3)return r}return null}function ss(r){var i=r.tag;if(i===5||i===26||i===27||i===6)return r.stateNode;throw Error(a(33))}function Ba(r){var i=r[Us];return i||(i=r[Us]={hoistableStyles:new Map,hoistableScripts:new Map}),i}function on(r){r[as]=!0}var Bo=new Set,Po={};function Pa(r,i){rr(r,i),rr(r+"Capture",i)}function rr(r,i){for(Po[r]=i,r=0;r<i.length;r++)Bo.add(i[r])}var Uo=RegExp("^[: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]*$"),Xl={},zo={};function gd(r){return rt.call(zo,r)?!0:rt.call(Xl,r)?!1:Uo.test(r)?zo[r]=!0:(Xl[r]=!0,!1)}function zs(r,i,u){if(gd(i))if(u===null)r.removeAttribute(i);else{switch(typeof u){case"undefined":case"function":case"symbol":r.removeAttribute(i);return;case"boolean":var c=i.toLowerCase().slice(0,5);if(c!=="data-"&&c!=="aria-"){r.removeAttribute(i);return}}r.setAttribute(i,""+u)}}function Ua(r,i,u){if(u===null)r.removeAttribute(i);else{switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":r.removeAttribute(i);return}r.setAttribute(i,""+u)}}function sa(r,i,u,c){if(c===null)r.removeAttribute(u);else{switch(typeof c){case"undefined":case"function":case"symbol":case"boolean":r.removeAttribute(u);return}r.setAttributeNS(i,u,""+c)}}var Ce,Ze;function pt(r){if(Ce===void 0)try{throw Error()}catch(u){var i=u.stack.trim().match(/\n( *(at )?)/);Ce=i&&i[1]||"",Ze=-1<u.stack.indexOf(`
42
- at`)?" (<anonymous>)":-1<u.stack.indexOf("@")?"@unknown:0:0":""}return`
43
- `+Ce+r+Ze}var Ut=!1;function cn(r,i){if(!r||Ut)return"";Ut=!0;var u=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var c={DetermineComponentFrameRoot:function(){try{if(i){var Te=function(){throw Error()};if(Object.defineProperty(Te.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Te,[])}catch(oe){var le=oe}Reflect.construct(r,[],Te)}else{try{Te.call()}catch(oe){le=oe}r.call(Te.prototype)}}else{try{throw Error()}catch(oe){le=oe}(Te=r())&&typeof Te.catch=="function"&&Te.catch(function(){})}}catch(oe){if(oe&&le&&typeof oe.stack=="string")return[oe.stack,le.stack]}return[null,null]}};c.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var m=Object.getOwnPropertyDescriptor(c.DetermineComponentFrameRoot,"name");m&&m.configurable&&Object.defineProperty(c.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var g=c.DetermineComponentFrameRoot(),S=g[0],N=g[1];if(S&&N){var H=S.split(`
44
- `),ie=N.split(`
45
- `);for(m=c=0;c<H.length&&!H[c].includes("DetermineComponentFrameRoot");)c++;for(;m<ie.length&&!ie[m].includes("DetermineComponentFrameRoot");)m++;if(c===H.length||m===ie.length)for(c=H.length-1,m=ie.length-1;1<=c&&0<=m&&H[c]!==ie[m];)m--;for(;1<=c&&0<=m;c--,m--)if(H[c]!==ie[m]){if(c!==1||m!==1)do if(c--,m--,0>m||H[c]!==ie[m]){var ge=`
46
- `+H[c].replace(" at new "," at ");return r.displayName&&ge.includes("<anonymous>")&&(ge=ge.replace("<anonymous>",r.displayName)),ge}while(1<=c&&0<=m);break}}}finally{Ut=!1,Error.prepareStackTrace=u}return(u=r?r.displayName||r.name:"")?pt(u):""}function wr(r){switch(r.tag){case 26:case 27:case 5:return pt(r.type);case 16:return pt("Lazy");case 13:return pt("Suspense");case 19:return pt("SuspenseList");case 0:case 15:return cn(r.type,!1);case 11:return cn(r.type.render,!1);case 1:return cn(r.type,!0);case 31:return pt("Activity");default:return""}}function la(r){try{var i="";do i+=wr(r),r=r.return;while(r);return i}catch(u){return`
47
- Error generating stack: `+u.message+`
48
- `+u.stack}}function Yn(r){switch(typeof r){case"bigint":case"boolean":case"number":case"string":case"undefined":return r;case"object":return r;default:return""}}function $n(r){var i=r.type;return(r=r.nodeName)&&r.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function Hr(r){var i=$n(r)?"checked":"value",u=Object.getOwnPropertyDescriptor(r.constructor.prototype,i),c=""+r[i];if(!r.hasOwnProperty(i)&&typeof u<"u"&&typeof u.get=="function"&&typeof u.set=="function"){var m=u.get,g=u.set;return Object.defineProperty(r,i,{configurable:!0,get:function(){return m.call(this)},set:function(S){c=""+S,g.call(this,S)}}),Object.defineProperty(r,i,{enumerable:u.enumerable}),{getValue:function(){return c},setValue:function(S){c=""+S},stopTracking:function(){r._valueTracker=null,delete r[i]}}}}function ls(r){r._valueTracker||(r._valueTracker=Hr(r))}function Wl(r){if(!r)return!1;var i=r._valueTracker;if(!i)return!0;var u=i.getValue(),c="";return r&&(c=$n(r)?r.checked?"true":"false":r.value),r=c,r!==u?(i.setValue(r),!0):!1}function us(r){if(r=r||(typeof document<"u"?document:void 0),typeof r>"u")return null;try{return r.activeElement||r.body}catch{return r.body}}var bd=/[\n"\\]/g;function mr(r){return r.replace(bd,function(i){return"\\"+i.charCodeAt(0).toString(16)+" "})}function Ql(r,i,u,c,m,g,S,N){r.name="",S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"?r.type=S:r.removeAttribute("type"),i!=null?S==="number"?(i===0&&r.value===""||r.value!=i)&&(r.value=""+Yn(i)):r.value!==""+Yn(i)&&(r.value=""+Yn(i)):S!=="submit"&&S!=="reset"||r.removeAttribute("value"),i!=null?bi(r,S,Yn(i)):u!=null?bi(r,S,Yn(u)):c!=null&&r.removeAttribute("value"),m==null&&g!=null&&(r.defaultChecked=!!g),m!=null&&(r.checked=m&&typeof m!="function"&&typeof m!="symbol"),N!=null&&typeof N!="function"&&typeof N!="symbol"&&typeof N!="boolean"?r.name=""+Yn(N):r.removeAttribute("name")}function Fo(r,i,u,c,m,g,S,N){if(g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"&&(r.type=g),i!=null||u!=null){if(!(g!=="submit"&&g!=="reset"||i!=null))return;u=u!=null?""+Yn(u):"",i=i!=null?""+Yn(i):u,N||i===r.value||(r.value=i),r.defaultValue=i}c=c??m,c=typeof c!="function"&&typeof c!="symbol"&&!!c,r.checked=N?r.checked:!!c,r.defaultChecked=!!c,S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"&&(r.name=S)}function bi(r,i,u){i==="number"&&us(r.ownerDocument)===r||r.defaultValue===""+u||(r.defaultValue=""+u)}function za(r,i,u,c){if(r=r.options,i){i={};for(var m=0;m<u.length;m++)i["$"+u[m]]=!0;for(u=0;u<r.length;u++)m=i.hasOwnProperty("$"+r[u].value),r[u].selected!==m&&(r[u].selected=m),m&&c&&(r[u].defaultSelected=!0)}else{for(u=""+Yn(u),i=null,m=0;m<r.length;m++){if(r[m].value===u){r[m].selected=!0,c&&(r[m].defaultSelected=!0);return}i!==null||r[m].disabled||(i=r[m])}i!==null&&(i.selected=!0)}}function kr(r,i,u){if(i!=null&&(i=""+Yn(i),i!==r.value&&(r.value=i),u==null)){r.defaultValue!==i&&(r.defaultValue=i);return}r.defaultValue=u!=null?""+Yn(u):""}function Ho(r,i,u,c){if(i==null){if(c!=null){if(u!=null)throw Error(a(92));if(me(c)){if(1<c.length)throw Error(a(93));c=c[0]}u=c}u==null&&(u=""),i=u}u=Yn(i),r.defaultValue=u,c=r.textContent,c===u&&c!==""&&c!==null&&(r.value=c)}function ba(r,i){if(i){var u=r.firstChild;if(u&&u===r.lastChild&&u.nodeType===3){u.nodeValue=i;return}}r.textContent=i}var mt=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Zl(r,i,u){var c=i.indexOf("--")===0;u==null||typeof u=="boolean"||u===""?c?r.setProperty(i,""):i==="float"?r.cssFloat="":r[i]="":c?r.setProperty(i,u):typeof u!="number"||u===0||mt.has(i)?i==="float"?r.cssFloat=u:r[i]=(""+u).trim():r[i]=u+"px"}function An(r,i,u){if(i!=null&&typeof i!="object")throw Error(a(62));if(r=r.style,u!=null){for(var c in u)!u.hasOwnProperty(c)||i!=null&&i.hasOwnProperty(c)||(c.indexOf("--")===0?r.setProperty(c,""):c==="float"?r.cssFloat="":r[c]="");for(var m in i)c=i[m],i.hasOwnProperty(m)&&u[m]!==c&&Zl(r,m,c)}else for(var g in i)i.hasOwnProperty(g)&&Zl(r,g,i[g])}function zt(r){if(r.indexOf("-")===-1)return!1;switch(r){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}}var Fs=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Fa=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Ei(r){return Fa.test(""+r)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":r}var os=null;function Pe(r){return r=r.target||r.srcElement||window,r.correspondingUseElement&&(r=r.correspondingUseElement),r.nodeType===3?r.parentNode:r}var Ge=null,ht=null;function It(r){var i=gi(r);if(i&&(r=i.stateNode)){var u=r[$e]||null;e:switch(r=i.stateNode,i.type){case"input":if(Ql(r,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name),i=u.name,u.type==="radio"&&i!=null){for(u=r;u.parentNode;)u=u.parentNode;for(u=u.querySelectorAll('input[name="'+mr(""+i)+'"][type="radio"]'),i=0;i<u.length;i++){var c=u[i];if(c!==r&&c.form===r.form){var m=c[$e]||null;if(!m)throw Error(a(90));Ql(c,m.value,m.defaultValue,m.defaultValue,m.checked,m.defaultChecked,m.type,m.name)}}for(i=0;i<u.length;i++)c=u[i],c.form===r.form&&Wl(c)}break e;case"textarea":kr(r,u.value,u.defaultValue);break e;case"select":i=u.value,i!=null&&za(r,!!u.multiple,i,!1)}}}var wn=!1;function qr(r,i,u){if(wn)return r(i,u);wn=!0;try{var c=r(i);return c}finally{if(wn=!1,(Ge!==null||ht!==null)&&(wc(),Ge&&(i=Ge,r=ht,ht=Ge=null,It(i),r)))for(i=0;i<r.length;i++)It(r[i])}}function cs(r,i){var u=r.stateNode;if(u===null)return null;var c=u[$e]||null;if(c===null)return null;u=c[i];e:switch(i){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(c=!c.disabled)||(r=r.type,c=!(r==="button"||r==="input"||r==="select"||r==="textarea")),r=!c;break e;default:r=!1}if(r)return null;if(u&&typeof u!="function")throw Error(a(231,i,typeof u));return u}var ua=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ed=!1;if(ua)try{var Jl={};Object.defineProperty(Jl,"passive",{get:function(){Ed=!0}}),window.addEventListener("test",Jl,Jl),window.removeEventListener("test",Jl,Jl)}catch{Ed=!1}var yi=null,yd=null,qo=null;function hp(){if(qo)return qo;var r,i=yd,u=i.length,c,m="value"in yi?yi.value:yi.textContent,g=m.length;for(r=0;r<u&&i[r]===m[r];r++);var S=u-r;for(c=1;c<=S&&i[u-c]===m[g-c];c++);return qo=m.slice(r,1<c?1-c:void 0)}function Yo(r){var i=r.keyCode;return"charCode"in r?(r=r.charCode,r===0&&i===13&&(r=13)):r=i,r===10&&(r=13),32<=r||r===13?r:0}function Go(){return!0}function mp(){return!1}function pr(r){function i(u,c,m,g,S){this._reactName=u,this._targetInst=m,this.type=c,this.nativeEvent=g,this.target=S,this.currentTarget=null;for(var N in r)r.hasOwnProperty(N)&&(u=r[N],this[N]=u?u(g):g[N]);return this.isDefaultPrevented=(g.defaultPrevented!=null?g.defaultPrevented:g.returnValue===!1)?Go:mp,this.isPropagationStopped=mp,this}return p(i.prototype,{preventDefault:function(){this.defaultPrevented=!0;var u=this.nativeEvent;u&&(u.preventDefault?u.preventDefault():typeof u.returnValue!="unknown"&&(u.returnValue=!1),this.isDefaultPrevented=Go)},stopPropagation:function(){var u=this.nativeEvent;u&&(u.stopPropagation?u.stopPropagation():typeof u.cancelBubble!="unknown"&&(u.cancelBubble=!0),this.isPropagationStopped=Go)},persist:function(){},isPersistent:Go}),i}var ds={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(r){return r.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},jo=pr(ds),eu=p({},ds,{view:0,detail:0}),M7=pr(eu),vd,Td,tu,Vo=p({},eu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Sd,button:0,buttons:0,relatedTarget:function(r){return r.relatedTarget===void 0?r.fromElement===r.srcElement?r.toElement:r.fromElement:r.relatedTarget},movementX:function(r){return"movementX"in r?r.movementX:(r!==tu&&(tu&&r.type==="mousemove"?(vd=r.screenX-tu.screenX,Td=r.screenY-tu.screenY):Td=vd=0,tu=r),vd)},movementY:function(r){return"movementY"in r?r.movementY:Td}}),pp=pr(Vo),R7=p({},Vo,{dataTransfer:0}),D7=pr(R7),I7=p({},eu,{relatedTarget:0}),_d=pr(I7),L7=p({},ds,{animationName:0,elapsedTime:0,pseudoElement:0}),B7=pr(L7),P7=p({},ds,{clipboardData:function(r){return"clipboardData"in r?r.clipboardData:window.clipboardData}}),U7=pr(P7),z7=p({},ds,{data:0}),gp=pr(z7),F7={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},H7={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},q7={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Y7(r){var i=this.nativeEvent;return i.getModifierState?i.getModifierState(r):(r=q7[r])?!!i[r]:!1}function Sd(){return Y7}var G7=p({},eu,{key:function(r){if(r.key){var i=F7[r.key]||r.key;if(i!=="Unidentified")return i}return r.type==="keypress"?(r=Yo(r),r===13?"Enter":String.fromCharCode(r)):r.type==="keydown"||r.type==="keyup"?H7[r.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Sd,charCode:function(r){return r.type==="keypress"?Yo(r):0},keyCode:function(r){return r.type==="keydown"||r.type==="keyup"?r.keyCode:0},which:function(r){return r.type==="keypress"?Yo(r):r.type==="keydown"||r.type==="keyup"?r.keyCode:0}}),j7=pr(G7),V7=p({},Vo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),bp=pr(V7),K7=p({},eu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Sd}),$7=pr(K7),X7=p({},ds,{propertyName:0,elapsedTime:0,pseudoElement:0}),W7=pr(X7),Q7=p({},Vo,{deltaX:function(r){return"deltaX"in r?r.deltaX:"wheelDeltaX"in r?-r.wheelDeltaX:0},deltaY:function(r){return"deltaY"in r?r.deltaY:"wheelDeltaY"in r?-r.wheelDeltaY:"wheelDelta"in r?-r.wheelDelta:0},deltaZ:0,deltaMode:0}),Z7=pr(Q7),J7=p({},ds,{newState:0,oldState:0}),e8=pr(J7),t8=[9,13,27,32],xd=ua&&"CompositionEvent"in window,nu=null;ua&&"documentMode"in document&&(nu=document.documentMode);var n8=ua&&"TextEvent"in window&&!nu,Ep=ua&&(!xd||nu&&8<nu&&11>=nu),yp=" ",vp=!1;function Tp(r,i){switch(r){case"keyup":return t8.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function _p(r){return r=r.detail,typeof r=="object"&&"data"in r?r.data:null}var Hs=!1;function r8(r,i){switch(r){case"compositionend":return _p(i);case"keypress":return i.which!==32?null:(vp=!0,yp);case"textInput":return r=i.data,r===yp&&vp?null:r;default:return null}}function a8(r,i){if(Hs)return r==="compositionend"||!xd&&Tp(r,i)?(r=hp(),qo=yd=yi=null,Hs=!1,r):null;switch(r){case"paste":return null;case"keypress":if(!(i.ctrlKey||i.altKey||i.metaKey)||i.ctrlKey&&i.altKey){if(i.char&&1<i.char.length)return i.char;if(i.which)return String.fromCharCode(i.which)}return null;case"compositionend":return Ep&&i.locale!=="ko"?null:i.data;default:return null}}var i8={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Sp(r){var i=r&&r.nodeName&&r.nodeName.toLowerCase();return i==="input"?!!i8[r.type]:i==="textarea"}function xp(r,i,u,c){Ge?ht?ht.push(c):ht=[c]:Ge=c,i=Rc(i,"onChange"),0<i.length&&(u=new jo("onChange","change",null,u,c),r.push({event:u,listeners:i}))}var ru=null,au=null;function s8(r){a4(r,0)}function Ko(r){var i=ss(r);if(Wl(i))return r}function Ap(r,i){if(r==="change")return i}var wp=!1;if(ua){var Ad;if(ua){var wd="oninput"in document;if(!wd){var kp=document.createElement("div");kp.setAttribute("oninput","return;"),wd=typeof kp.oninput=="function"}Ad=wd}else Ad=!1;wp=Ad&&(!document.documentMode||9<document.documentMode)}function Cp(){ru&&(ru.detachEvent("onpropertychange",Np),au=ru=null)}function Np(r){if(r.propertyName==="value"&&Ko(au)){var i=[];xp(i,au,r,Pe(r)),qr(s8,i)}}function l8(r,i,u){r==="focusin"?(Cp(),ru=i,au=u,ru.attachEvent("onpropertychange",Np)):r==="focusout"&&Cp()}function u8(r){if(r==="selectionchange"||r==="keyup"||r==="keydown")return Ko(au)}function o8(r,i){if(r==="click")return Ko(i)}function c8(r,i){if(r==="input"||r==="change")return Ko(i)}function d8(r,i){return r===i&&(r!==0||1/r===1/i)||r!==r&&i!==i}var Cr=typeof Object.is=="function"?Object.is:d8;function iu(r,i){if(Cr(r,i))return!0;if(typeof r!="object"||r===null||typeof i!="object"||i===null)return!1;var u=Object.keys(r),c=Object.keys(i);if(u.length!==c.length)return!1;for(c=0;c<u.length;c++){var m=u[c];if(!rt.call(i,m)||!Cr(r[m],i[m]))return!1}return!0}function Op(r){for(;r&&r.firstChild;)r=r.firstChild;return r}function Mp(r,i){var u=Op(r);r=0;for(var c;u;){if(u.nodeType===3){if(c=r+u.textContent.length,r<=i&&c>=i)return{node:u,offset:i-r};r=c}e:{for(;u;){if(u.nextSibling){u=u.nextSibling;break e}u=u.parentNode}u=void 0}u=Op(u)}}function Rp(r,i){return r&&i?r===i?!0:r&&r.nodeType===3?!1:i&&i.nodeType===3?Rp(r,i.parentNode):"contains"in r?r.contains(i):r.compareDocumentPosition?!!(r.compareDocumentPosition(i)&16):!1:!1}function Dp(r){r=r!=null&&r.ownerDocument!=null&&r.ownerDocument.defaultView!=null?r.ownerDocument.defaultView:window;for(var i=us(r.document);i instanceof r.HTMLIFrameElement;){try{var u=typeof i.contentWindow.location.href=="string"}catch{u=!1}if(u)r=i.contentWindow;else break;i=us(r.document)}return i}function kd(r){var i=r&&r.nodeName&&r.nodeName.toLowerCase();return i&&(i==="input"&&(r.type==="text"||r.type==="search"||r.type==="tel"||r.type==="url"||r.type==="password")||i==="textarea"||r.contentEditable==="true")}var f8=ua&&"documentMode"in document&&11>=document.documentMode,qs=null,Cd=null,su=null,Nd=!1;function Ip(r,i,u){var c=u.window===u?u.document:u.nodeType===9?u:u.ownerDocument;Nd||qs==null||qs!==us(c)||(c=qs,"selectionStart"in c&&kd(c)?c={start:c.selectionStart,end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset}),su&&iu(su,c)||(su=c,c=Rc(Cd,"onSelect"),0<c.length&&(i=new jo("onSelect","select",null,i,u),r.push({event:i,listeners:c}),i.target=qs)))}function fs(r,i){var u={};return u[r.toLowerCase()]=i.toLowerCase(),u["Webkit"+r]="webkit"+i,u["Moz"+r]="moz"+i,u}var Ys={animationend:fs("Animation","AnimationEnd"),animationiteration:fs("Animation","AnimationIteration"),animationstart:fs("Animation","AnimationStart"),transitionrun:fs("Transition","TransitionRun"),transitionstart:fs("Transition","TransitionStart"),transitioncancel:fs("Transition","TransitionCancel"),transitionend:fs("Transition","TransitionEnd")},Od={},Lp={};ua&&(Lp=document.createElement("div").style,"AnimationEvent"in window||(delete Ys.animationend.animation,delete Ys.animationiteration.animation,delete Ys.animationstart.animation),"TransitionEvent"in window||delete Ys.transitionend.transition);function hs(r){if(Od[r])return Od[r];if(!Ys[r])return r;var i=Ys[r],u;for(u in i)if(i.hasOwnProperty(u)&&u in Lp)return Od[r]=i[u];return r}var Bp=hs("animationend"),Pp=hs("animationiteration"),Up=hs("animationstart"),h8=hs("transitionrun"),m8=hs("transitionstart"),p8=hs("transitioncancel"),zp=hs("transitionend"),Fp=new Map,Md="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");Md.push("scrollEnd");function oa(r,i){Fp.set(r,i),Pa(i,[r])}var Hp=new WeakMap;function Yr(r,i){if(typeof r=="object"&&r!==null){var u=Hp.get(r);return u!==void 0?u:(i={value:r,source:i,stack:la(i)},Hp.set(r,i),i)}return{value:r,source:i,stack:la(i)}}var Gr=[],Gs=0,Rd=0;function $o(){for(var r=Gs,i=Rd=Gs=0;i<r;){var u=Gr[i];Gr[i++]=null;var c=Gr[i];Gr[i++]=null;var m=Gr[i];Gr[i++]=null;var g=Gr[i];if(Gr[i++]=null,c!==null&&m!==null){var S=c.pending;S===null?m.next=m:(m.next=S.next,S.next=m),c.pending=m}g!==0&&qp(u,m,g)}}function Xo(r,i,u,c){Gr[Gs++]=r,Gr[Gs++]=i,Gr[Gs++]=u,Gr[Gs++]=c,Rd|=c,r.lanes|=c,r=r.alternate,r!==null&&(r.lanes|=c)}function Dd(r,i,u,c){return Xo(r,i,u,c),Wo(r)}function js(r,i){return Xo(r,null,null,i),Wo(r)}function qp(r,i,u){r.lanes|=u;var c=r.alternate;c!==null&&(c.lanes|=u);for(var m=!1,g=r.return;g!==null;)g.childLanes|=u,c=g.alternate,c!==null&&(c.childLanes|=u),g.tag===22&&(r=g.stateNode,r===null||r._visibility&1||(m=!0)),r=g,g=g.return;return r.tag===3?(g=r.stateNode,m&&i!==null&&(m=31-et(u),r=g.hiddenUpdates,c=r[m],c===null?r[m]=[i]:c.push(i),i.lane=u|536870912),g):null}function Wo(r){if(50<Mu)throw Mu=0,Ff=null,Error(a(185));for(var i=r.return;i!==null;)r=i,i=r.return;return r.tag===3?r.stateNode:null}var Vs={};function g8(r,i,u,c){this.tag=r,this.key=u,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=i,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=c,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Nr(r,i,u,c){return new g8(r,i,u,c)}function Id(r){return r=r.prototype,!(!r||!r.isReactComponent)}function Ha(r,i){var u=r.alternate;return u===null?(u=Nr(r.tag,i,r.key,r.mode),u.elementType=r.elementType,u.type=r.type,u.stateNode=r.stateNode,u.alternate=r,r.alternate=u):(u.pendingProps=i,u.type=r.type,u.flags=0,u.subtreeFlags=0,u.deletions=null),u.flags=r.flags&65011712,u.childLanes=r.childLanes,u.lanes=r.lanes,u.child=r.child,u.memoizedProps=r.memoizedProps,u.memoizedState=r.memoizedState,u.updateQueue=r.updateQueue,i=r.dependencies,u.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},u.sibling=r.sibling,u.index=r.index,u.ref=r.ref,u.refCleanup=r.refCleanup,u}function Yp(r,i){r.flags&=65011714;var u=r.alternate;return u===null?(r.childLanes=0,r.lanes=i,r.child=null,r.subtreeFlags=0,r.memoizedProps=null,r.memoizedState=null,r.updateQueue=null,r.dependencies=null,r.stateNode=null):(r.childLanes=u.childLanes,r.lanes=u.lanes,r.child=u.child,r.subtreeFlags=0,r.deletions=null,r.memoizedProps=u.memoizedProps,r.memoizedState=u.memoizedState,r.updateQueue=u.updateQueue,r.type=u.type,i=u.dependencies,r.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext}),r}function Qo(r,i,u,c,m,g){var S=0;if(c=r,typeof r=="function")Id(r)&&(S=1);else if(typeof r=="string")S=Ev(r,u,De.current)?26:r==="html"||r==="head"||r==="body"?27:5;else e:switch(r){case ae:return r=Nr(31,u,i,m),r.elementType=ae,r.lanes=g,r;case A:return ms(u.children,m,g,i);case k:S=8,m|=24;break;case R:return r=Nr(12,u,i,m|2),r.elementType=R,r.lanes=g,r;case j:return r=Nr(13,u,i,m),r.elementType=j,r.lanes=g,r;case B:return r=Nr(19,u,i,m),r.elementType=B,r.lanes=g,r;default:if(typeof r=="object"&&r!==null)switch(r.$$typeof){case C:case U:S=10;break e;case D:S=9;break e;case J:S=11;break e;case Q:S=14;break e;case te:S=16,c=null;break e}S=29,u=Error(a(130,r===null?"null":typeof r,"")),c=null}return i=Nr(S,u,i,m),i.elementType=r,i.type=c,i.lanes=g,i}function ms(r,i,u,c){return r=Nr(7,r,c,i),r.lanes=u,r}function Ld(r,i,u){return r=Nr(6,r,null,i),r.lanes=u,r}function Bd(r,i,u){return i=Nr(4,r.children!==null?r.children:[],r.key,i),i.lanes=u,i.stateNode={containerInfo:r.containerInfo,pendingChildren:null,implementation:r.implementation},i}var Ks=[],$s=0,Zo=null,Jo=0,jr=[],Vr=0,ps=null,qa=1,Ya="";function gs(r,i){Ks[$s++]=Jo,Ks[$s++]=Zo,Zo=r,Jo=i}function Gp(r,i,u){jr[Vr++]=qa,jr[Vr++]=Ya,jr[Vr++]=ps,ps=r;var c=qa;r=Ya;var m=32-et(c)-1;c&=~(1<<m),u+=1;var g=32-et(i)+m;if(30<g){var S=m-m%5;g=(c&(1<<S)-1).toString(32),c>>=S,m-=S,qa=1<<32-et(i)+m|u<<m|c,Ya=g+r}else qa=1<<g|u<<m|c,Ya=r}function Pd(r){r.return!==null&&(gs(r,1),Gp(r,1,0))}function Ud(r){for(;r===Zo;)Zo=Ks[--$s],Ks[$s]=null,Jo=Ks[--$s],Ks[$s]=null;for(;r===ps;)ps=jr[--Vr],jr[Vr]=null,Ya=jr[--Vr],jr[Vr]=null,qa=jr[--Vr],jr[Vr]=null}var ar=null,gn=null,Pt=!1,bs=null,Ea=!1,zd=Error(a(519));function Es(r){var i=Error(a(418,""));throw ou(Yr(i,r)),zd}function jp(r){var i=r.stateNode,u=r.type,c=r.memoizedProps;switch(i[Le]=r,i[$e]=c,u){case"dialog":Ct("cancel",i),Ct("close",i);break;case"iframe":case"object":case"embed":Ct("load",i);break;case"video":case"audio":for(u=0;u<Du.length;u++)Ct(Du[u],i);break;case"source":Ct("error",i);break;case"img":case"image":case"link":Ct("error",i),Ct("load",i);break;case"details":Ct("toggle",i);break;case"input":Ct("invalid",i),Fo(i,c.value,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name,!0),ls(i);break;case"select":Ct("invalid",i);break;case"textarea":Ct("invalid",i),Ho(i,c.value,c.defaultValue,c.children),ls(i)}u=c.children,typeof u!="string"&&typeof u!="number"&&typeof u!="bigint"||i.textContent===""+u||c.suppressHydrationWarning===!0||u4(i.textContent,u)?(c.popover!=null&&(Ct("beforetoggle",i),Ct("toggle",i)),c.onScroll!=null&&Ct("scroll",i),c.onScrollEnd!=null&&Ct("scrollend",i),c.onClick!=null&&(i.onclick=Dc),i=!0):i=!1,i||Es(r)}function Vp(r){for(ar=r.return;ar;)switch(ar.tag){case 5:case 13:Ea=!1;return;case 27:case 3:Ea=!0;return;default:ar=ar.return}}function lu(r){if(r!==ar)return!1;if(!Pt)return Vp(r),Pt=!0,!1;var i=r.tag,u;if((u=i!==3&&i!==27)&&((u=i===5)&&(u=r.type,u=!(u!=="form"&&u!=="button")||nh(r.type,r.memoizedProps)),u=!u),u&&gn&&Es(r),Vp(r),i===13){if(r=r.memoizedState,r=r!==null?r.dehydrated:null,!r)throw Error(a(317));e:{for(r=r.nextSibling,i=0;r;){if(r.nodeType===8)if(u=r.data,u==="/$"){if(i===0){gn=da(r.nextSibling);break e}i--}else u!=="$"&&u!=="$!"&&u!=="$?"||i++;r=r.nextSibling}gn=null}}else i===27?(i=gn,Li(r.type)?(r=sh,sh=null,gn=r):gn=i):gn=ar?da(r.stateNode.nextSibling):null;return!0}function uu(){gn=ar=null,Pt=!1}function Kp(){var r=bs;return r!==null&&(Er===null?Er=r:Er.push.apply(Er,r),bs=null),r}function ou(r){bs===null?bs=[r]:bs.push(r)}var Fd=X(null),ys=null,Ga=null;function vi(r,i,u){M(Fd,i._currentValue),i._currentValue=u}function ja(r){r._currentValue=Fd.current,ce(Fd)}function Hd(r,i,u){for(;r!==null;){var c=r.alternate;if((r.childLanes&i)!==i?(r.childLanes|=i,c!==null&&(c.childLanes|=i)):c!==null&&(c.childLanes&i)!==i&&(c.childLanes|=i),r===u)break;r=r.return}}function qd(r,i,u,c){var m=r.child;for(m!==null&&(m.return=r);m!==null;){var g=m.dependencies;if(g!==null){var S=m.child;g=g.firstContext;e:for(;g!==null;){var N=g;g=m;for(var H=0;H<i.length;H++)if(N.context===i[H]){g.lanes|=u,N=g.alternate,N!==null&&(N.lanes|=u),Hd(g.return,u,r),c||(S=null);break e}g=N.next}}else if(m.tag===18){if(S=m.return,S===null)throw Error(a(341));S.lanes|=u,g=S.alternate,g!==null&&(g.lanes|=u),Hd(S,u,r),S=null}else S=m.child;if(S!==null)S.return=m;else for(S=m;S!==null;){if(S===r){S=null;break}if(m=S.sibling,m!==null){m.return=S.return,S=m;break}S=S.return}m=S}}function cu(r,i,u,c){r=null;for(var m=i,g=!1;m!==null;){if(!g){if((m.flags&524288)!==0)g=!0;else if((m.flags&262144)!==0)break}if(m.tag===10){var S=m.alternate;if(S===null)throw Error(a(387));if(S=S.memoizedProps,S!==null){var N=m.type;Cr(m.pendingProps.value,S.value)||(r!==null?r.push(N):r=[N])}}else if(m===Tt.current){if(S=m.alternate,S===null)throw Error(a(387));S.memoizedState.memoizedState!==m.memoizedState.memoizedState&&(r!==null?r.push(zu):r=[zu])}m=m.return}r!==null&&qd(i,r,u,c),i.flags|=262144}function ec(r){for(r=r.firstContext;r!==null;){if(!Cr(r.context._currentValue,r.memoizedValue))return!0;r=r.next}return!1}function vs(r){ys=r,Ga=null,r=r.dependencies,r!==null&&(r.firstContext=null)}function Xn(r){return $p(ys,r)}function tc(r,i){return ys===null&&vs(r),$p(r,i)}function $p(r,i){var u=i._currentValue;if(i={context:i,memoizedValue:u,next:null},Ga===null){if(r===null)throw Error(a(308));Ga=i,r.dependencies={lanes:0,firstContext:i},r.flags|=524288}else Ga=Ga.next=i;return u}var b8=typeof AbortController<"u"?AbortController:function(){var r=[],i=this.signal={aborted:!1,addEventListener:function(u,c){r.push(c)}};this.abort=function(){i.aborted=!0,r.forEach(function(u){return u()})}},E8=e.unstable_scheduleCallback,y8=e.unstable_NormalPriority,Dn={$$typeof:U,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Yd(){return{controller:new b8,data:new Map,refCount:0}}function du(r){r.refCount--,r.refCount===0&&E8(y8,function(){r.controller.abort()})}var fu=null,Gd=0,Xs=0,Ws=null;function v8(r,i){if(fu===null){var u=fu=[];Gd=0,Xs=Kf(),Ws={status:"pending",value:void 0,then:function(c){u.push(c)}}}return Gd++,i.then(Xp,Xp),i}function Xp(){if(--Gd===0&&fu!==null){Ws!==null&&(Ws.status="fulfilled");var r=fu;fu=null,Xs=0,Ws=null;for(var i=0;i<r.length;i++)(0,r[i])()}}function T8(r,i){var u=[],c={status:"pending",value:null,reason:null,then:function(m){u.push(m)}};return r.then(function(){c.status="fulfilled",c.value=i;for(var m=0;m<u.length;m++)(0,u[m])(i)},function(m){for(c.status="rejected",c.reason=m,m=0;m<u.length;m++)(0,u[m])(void 0)}),c}var Wp=$.S;$.S=function(r,i){typeof i=="object"&&i!==null&&typeof i.then=="function"&&v8(r,i),Wp!==null&&Wp(r,i)};var Ts=X(null);function jd(){var r=Ts.current;return r!==null?r:Xt.pooledCache}function nc(r,i){i===null?M(Ts,Ts.current):M(Ts,i.pool)}function Qp(){var r=jd();return r===null?null:{parent:Dn._currentValue,pool:r}}var hu=Error(a(460)),Zp=Error(a(474)),rc=Error(a(542)),Vd={then:function(){}};function Jp(r){return r=r.status,r==="fulfilled"||r==="rejected"}function ac(){}function eg(r,i,u){switch(u=r[u],u===void 0?r.push(i):u!==i&&(i.then(ac,ac),i=u),i.status){case"fulfilled":return i.value;case"rejected":throw r=i.reason,ng(r),r;default:if(typeof i.status=="string")i.then(ac,ac);else{if(r=Xt,r!==null&&100<r.shellSuspendCounter)throw Error(a(482));r=i,r.status="pending",r.then(function(c){if(i.status==="pending"){var m=i;m.status="fulfilled",m.value=c}},function(c){if(i.status==="pending"){var m=i;m.status="rejected",m.reason=c}})}switch(i.status){case"fulfilled":return i.value;case"rejected":throw r=i.reason,ng(r),r}throw mu=i,hu}}var mu=null;function tg(){if(mu===null)throw Error(a(459));var r=mu;return mu=null,r}function ng(r){if(r===hu||r===rc)throw Error(a(483))}var Ti=!1;function Kd(r){r.updateQueue={baseState:r.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function $d(r,i){r=r.updateQueue,i.updateQueue===r&&(i.updateQueue={baseState:r.baseState,firstBaseUpdate:r.firstBaseUpdate,lastBaseUpdate:r.lastBaseUpdate,shared:r.shared,callbacks:null})}function _i(r){return{lane:r,tag:0,payload:null,callback:null,next:null}}function Si(r,i,u){var c=r.updateQueue;if(c===null)return null;if(c=c.shared,(Ft&2)!==0){var m=c.pending;return m===null?i.next=i:(i.next=m.next,m.next=i),c.pending=i,i=Wo(r),qp(r,null,u),i}return Xo(r,c,i,u),Wo(r)}function pu(r,i,u){if(i=i.updateQueue,i!==null&&(i=i.shared,(u&4194048)!==0)){var c=i.lanes;c&=r.pendingLanes,u|=c,i.lanes=u,ye(r,u)}}function Xd(r,i){var u=r.updateQueue,c=r.alternate;if(c!==null&&(c=c.updateQueue,u===c)){var m=null,g=null;if(u=u.firstBaseUpdate,u!==null){do{var S={lane:u.lane,tag:u.tag,payload:u.payload,callback:null,next:null};g===null?m=g=S:g=g.next=S,u=u.next}while(u!==null);g===null?m=g=i:g=g.next=i}else m=g=i;u={baseState:c.baseState,firstBaseUpdate:m,lastBaseUpdate:g,shared:c.shared,callbacks:c.callbacks},r.updateQueue=u;return}r=u.lastBaseUpdate,r===null?u.firstBaseUpdate=i:r.next=i,u.lastBaseUpdate=i}var Wd=!1;function gu(){if(Wd){var r=Ws;if(r!==null)throw r}}function bu(r,i,u,c){Wd=!1;var m=r.updateQueue;Ti=!1;var g=m.firstBaseUpdate,S=m.lastBaseUpdate,N=m.shared.pending;if(N!==null){m.shared.pending=null;var H=N,ie=H.next;H.next=null,S===null?g=ie:S.next=ie,S=H;var ge=r.alternate;ge!==null&&(ge=ge.updateQueue,N=ge.lastBaseUpdate,N!==S&&(N===null?ge.firstBaseUpdate=ie:N.next=ie,ge.lastBaseUpdate=H))}if(g!==null){var Te=m.baseState;S=0,ge=ie=H=null,N=g;do{var le=N.lane&-536870913,oe=le!==N.lane;if(oe?(Mt&le)===le:(c&le)===le){le!==0&&le===Xs&&(Wd=!0),ge!==null&&(ge=ge.next={lane:0,tag:N.tag,payload:N.payload,callback:null,next:null});e:{var dt=r,lt=N;le=i;var Gt=u;switch(lt.tag){case 1:if(dt=lt.payload,typeof dt=="function"){Te=dt.call(Gt,Te,le);break e}Te=dt;break e;case 3:dt.flags=dt.flags&-65537|128;case 0:if(dt=lt.payload,le=typeof dt=="function"?dt.call(Gt,Te,le):dt,le==null)break e;Te=p({},Te,le);break e;case 2:Ti=!0}}le=N.callback,le!==null&&(r.flags|=64,oe&&(r.flags|=8192),oe=m.callbacks,oe===null?m.callbacks=[le]:oe.push(le))}else oe={lane:le,tag:N.tag,payload:N.payload,callback:N.callback,next:null},ge===null?(ie=ge=oe,H=Te):ge=ge.next=oe,S|=le;if(N=N.next,N===null){if(N=m.shared.pending,N===null)break;oe=N,N=oe.next,oe.next=null,m.lastBaseUpdate=oe,m.shared.pending=null}}while(!0);ge===null&&(H=Te),m.baseState=H,m.firstBaseUpdate=ie,m.lastBaseUpdate=ge,g===null&&(m.shared.lanes=0),Mi|=S,r.lanes=S,r.memoizedState=Te}}function rg(r,i){if(typeof r!="function")throw Error(a(191,r));r.call(i)}function ag(r,i){var u=r.callbacks;if(u!==null)for(r.callbacks=null,r=0;r<u.length;r++)rg(u[r],i)}var Qs=X(null),ic=X(0);function ig(r,i){r=Za,M(ic,r),M(Qs,i),Za=r|i.baseLanes}function Qd(){M(ic,Za),M(Qs,Qs.current)}function Zd(){Za=ic.current,ce(Qs),ce(ic)}var xi=0,_t=null,qt=null,kn=null,sc=!1,Zs=!1,_s=!1,lc=0,Eu=0,Js=null,_8=0;function vn(){throw Error(a(321))}function Jd(r,i){if(i===null)return!1;for(var u=0;u<i.length&&u<r.length;u++)if(!Cr(r[u],i[u]))return!1;return!0}function ef(r,i,u,c,m,g){return xi=g,_t=i,i.memoizedState=null,i.updateQueue=null,i.lanes=0,$.H=r===null||r.memoizedState===null?qg:Yg,_s=!1,g=u(c,m),_s=!1,Zs&&(g=lg(i,u,c,m)),sg(r),g}function sg(r){$.H=hc;var i=qt!==null&&qt.next!==null;if(xi=0,kn=qt=_t=null,sc=!1,Eu=0,Js=null,i)throw Error(a(300));r===null||Un||(r=r.dependencies,r!==null&&ec(r)&&(Un=!0))}function lg(r,i,u,c){_t=r;var m=0;do{if(Zs&&(Js=null),Eu=0,Zs=!1,25<=m)throw Error(a(301));if(m+=1,kn=qt=null,r.updateQueue!=null){var g=r.updateQueue;g.lastEffect=null,g.events=null,g.stores=null,g.memoCache!=null&&(g.memoCache.index=0)}$.H=N8,g=i(u,c)}while(Zs);return g}function S8(){var r=$.H,i=r.useState()[0];return i=typeof i.then=="function"?yu(i):i,r=r.useState()[0],(qt!==null?qt.memoizedState:null)!==r&&(_t.flags|=1024),i}function tf(){var r=lc!==0;return lc=0,r}function nf(r,i,u){i.updateQueue=r.updateQueue,i.flags&=-2053,r.lanes&=~u}function rf(r){if(sc){for(r=r.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}sc=!1}xi=0,kn=qt=_t=null,Zs=!1,Eu=lc=0,Js=null}function gr(){var r={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return kn===null?_t.memoizedState=kn=r:kn=kn.next=r,kn}function Cn(){if(qt===null){var r=_t.alternate;r=r!==null?r.memoizedState:null}else r=qt.next;var i=kn===null?_t.memoizedState:kn.next;if(i!==null)kn=i,qt=r;else{if(r===null)throw _t.alternate===null?Error(a(467)):Error(a(310));qt=r,r={memoizedState:qt.memoizedState,baseState:qt.baseState,baseQueue:qt.baseQueue,queue:qt.queue,next:null},kn===null?_t.memoizedState=kn=r:kn=kn.next=r}return kn}function af(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function yu(r){var i=Eu;return Eu+=1,Js===null&&(Js=[]),r=eg(Js,r,i),i=_t,(kn===null?i.memoizedState:kn.next)===null&&(i=i.alternate,$.H=i===null||i.memoizedState===null?qg:Yg),r}function uc(r){if(r!==null&&typeof r=="object"){if(typeof r.then=="function")return yu(r);if(r.$$typeof===U)return Xn(r)}throw Error(a(438,String(r)))}function sf(r){var i=null,u=_t.updateQueue;if(u!==null&&(i=u.memoCache),i==null){var c=_t.alternate;c!==null&&(c=c.updateQueue,c!==null&&(c=c.memoCache,c!=null&&(i={data:c.data.map(function(m){return m.slice()}),index:0})))}if(i==null&&(i={data:[],index:0}),u===null&&(u=af(),_t.updateQueue=u),u.memoCache=i,u=i.data[i.index],u===void 0)for(u=i.data[i.index]=Array(r),c=0;c<r;c++)u[c]=Y;return i.index++,u}function Va(r,i){return typeof i=="function"?i(r):i}function oc(r){var i=Cn();return lf(i,qt,r)}function lf(r,i,u){var c=r.queue;if(c===null)throw Error(a(311));c.lastRenderedReducer=u;var m=r.baseQueue,g=c.pending;if(g!==null){if(m!==null){var S=m.next;m.next=g.next,g.next=S}i.baseQueue=m=g,c.pending=null}if(g=r.baseState,m===null)r.memoizedState=g;else{i=m.next;var N=S=null,H=null,ie=i,ge=!1;do{var Te=ie.lane&-536870913;if(Te!==ie.lane?(Mt&Te)===Te:(xi&Te)===Te){var le=ie.revertLane;if(le===0)H!==null&&(H=H.next={lane:0,revertLane:0,action:ie.action,hasEagerState:ie.hasEagerState,eagerState:ie.eagerState,next:null}),Te===Xs&&(ge=!0);else if((xi&le)===le){ie=ie.next,le===Xs&&(ge=!0);continue}else Te={lane:0,revertLane:ie.revertLane,action:ie.action,hasEagerState:ie.hasEagerState,eagerState:ie.eagerState,next:null},H===null?(N=H=Te,S=g):H=H.next=Te,_t.lanes|=le,Mi|=le;Te=ie.action,_s&&u(g,Te),g=ie.hasEagerState?ie.eagerState:u(g,Te)}else le={lane:Te,revertLane:ie.revertLane,action:ie.action,hasEagerState:ie.hasEagerState,eagerState:ie.eagerState,next:null},H===null?(N=H=le,S=g):H=H.next=le,_t.lanes|=Te,Mi|=Te;ie=ie.next}while(ie!==null&&ie!==i);if(H===null?S=g:H.next=N,!Cr(g,r.memoizedState)&&(Un=!0,ge&&(u=Ws,u!==null)))throw u;r.memoizedState=g,r.baseState=S,r.baseQueue=H,c.lastRenderedState=g}return m===null&&(c.lanes=0),[r.memoizedState,c.dispatch]}function uf(r){var i=Cn(),u=i.queue;if(u===null)throw Error(a(311));u.lastRenderedReducer=r;var c=u.dispatch,m=u.pending,g=i.memoizedState;if(m!==null){u.pending=null;var S=m=m.next;do g=r(g,S.action),S=S.next;while(S!==m);Cr(g,i.memoizedState)||(Un=!0),i.memoizedState=g,i.baseQueue===null&&(i.baseState=g),u.lastRenderedState=g}return[g,c]}function ug(r,i,u){var c=_t,m=Cn(),g=Pt;if(g){if(u===void 0)throw Error(a(407));u=u()}else u=i();var S=!Cr((qt||m).memoizedState,u);S&&(m.memoizedState=u,Un=!0),m=m.queue;var N=dg.bind(null,c,m,r);if(vu(2048,8,N,[r]),m.getSnapshot!==i||S||kn!==null&&kn.memoizedState.tag&1){if(c.flags|=2048,el(9,cc(),cg.bind(null,c,m,u,i),null),Xt===null)throw Error(a(349));g||(xi&124)!==0||og(c,i,u)}return u}function og(r,i,u){r.flags|=16384,r={getSnapshot:i,value:u},i=_t.updateQueue,i===null?(i=af(),_t.updateQueue=i,i.stores=[r]):(u=i.stores,u===null?i.stores=[r]:u.push(r))}function cg(r,i,u,c){i.value=u,i.getSnapshot=c,fg(i)&&hg(r)}function dg(r,i,u){return u(function(){fg(i)&&hg(r)})}function fg(r){var i=r.getSnapshot;r=r.value;try{var u=i();return!Cr(r,u)}catch{return!0}}function hg(r){var i=js(r,2);i!==null&&Ir(i,r,2)}function of(r){var i=gr();if(typeof r=="function"){var u=r;if(r=u(),_s){Qe(!0);try{u()}finally{Qe(!1)}}}return i.memoizedState=i.baseState=r,i.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Va,lastRenderedState:r},i}function mg(r,i,u,c){return r.baseState=u,lf(r,qt,typeof c=="function"?c:Va)}function x8(r,i,u,c,m){if(fc(r))throw Error(a(485));if(r=i.action,r!==null){var g={payload:m,action:r,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(S){g.listeners.push(S)}};$.T!==null?u(!0):g.isTransition=!1,c(g),u=i.pending,u===null?(g.next=i.pending=g,pg(i,g)):(g.next=u.next,i.pending=u.next=g)}}function pg(r,i){var u=i.action,c=i.payload,m=r.state;if(i.isTransition){var g=$.T,S={};$.T=S;try{var N=u(m,c),H=$.S;H!==null&&H(S,N),gg(r,i,N)}catch(ie){cf(r,i,ie)}finally{$.T=g}}else try{g=u(m,c),gg(r,i,g)}catch(ie){cf(r,i,ie)}}function gg(r,i,u){u!==null&&typeof u=="object"&&typeof u.then=="function"?u.then(function(c){bg(r,i,c)},function(c){return cf(r,i,c)}):bg(r,i,u)}function bg(r,i,u){i.status="fulfilled",i.value=u,Eg(i),r.state=u,i=r.pending,i!==null&&(u=i.next,u===i?r.pending=null:(u=u.next,i.next=u,pg(r,u)))}function cf(r,i,u){var c=r.pending;if(r.pending=null,c!==null){c=c.next;do i.status="rejected",i.reason=u,Eg(i),i=i.next;while(i!==c)}r.action=null}function Eg(r){r=r.listeners;for(var i=0;i<r.length;i++)(0,r[i])()}function yg(r,i){return i}function vg(r,i){if(Pt){var u=Xt.formState;if(u!==null){e:{var c=_t;if(Pt){if(gn){t:{for(var m=gn,g=Ea;m.nodeType!==8;){if(!g){m=null;break t}if(m=da(m.nextSibling),m===null){m=null;break t}}g=m.data,m=g==="F!"||g==="F"?m:null}if(m){gn=da(m.nextSibling),c=m.data==="F!";break e}}Es(c)}c=!1}c&&(i=u[0])}}return u=gr(),u.memoizedState=u.baseState=i,c={pending:null,lanes:0,dispatch:null,lastRenderedReducer:yg,lastRenderedState:i},u.queue=c,u=zg.bind(null,_t,c),c.dispatch=u,c=of(!1),g=pf.bind(null,_t,!1,c.queue),c=gr(),m={state:i,dispatch:null,action:r,pending:null},c.queue=m,u=x8.bind(null,_t,m,g,u),m.dispatch=u,c.memoizedState=r,[i,u,!1]}function Tg(r){var i=Cn();return _g(i,qt,r)}function _g(r,i,u){if(i=lf(r,i,yg)[0],r=oc(Va)[0],typeof i=="object"&&i!==null&&typeof i.then=="function")try{var c=yu(i)}catch(S){throw S===hu?rc:S}else c=i;i=Cn();var m=i.queue,g=m.dispatch;return u!==i.memoizedState&&(_t.flags|=2048,el(9,cc(),A8.bind(null,m,u),null)),[c,g,r]}function A8(r,i){r.action=i}function Sg(r){var i=Cn(),u=qt;if(u!==null)return _g(i,u,r);Cn(),i=i.memoizedState,u=Cn();var c=u.queue.dispatch;return u.memoizedState=r,[i,c,!1]}function el(r,i,u,c){return r={tag:r,create:u,deps:c,inst:i,next:null},i=_t.updateQueue,i===null&&(i=af(),_t.updateQueue=i),u=i.lastEffect,u===null?i.lastEffect=r.next=r:(c=u.next,u.next=r,r.next=c,i.lastEffect=r),r}function cc(){return{destroy:void 0,resource:void 0}}function xg(){return Cn().memoizedState}function dc(r,i,u,c){var m=gr();c=c===void 0?null:c,_t.flags|=r,m.memoizedState=el(1|i,cc(),u,c)}function vu(r,i,u,c){var m=Cn();c=c===void 0?null:c;var g=m.memoizedState.inst;qt!==null&&c!==null&&Jd(c,qt.memoizedState.deps)?m.memoizedState=el(i,g,u,c):(_t.flags|=r,m.memoizedState=el(1|i,g,u,c))}function Ag(r,i){dc(8390656,8,r,i)}function wg(r,i){vu(2048,8,r,i)}function kg(r,i){return vu(4,2,r,i)}function Cg(r,i){return vu(4,4,r,i)}function Ng(r,i){if(typeof i=="function"){r=r();var u=i(r);return function(){typeof u=="function"?u():i(null)}}if(i!=null)return r=r(),i.current=r,function(){i.current=null}}function Og(r,i,u){u=u!=null?u.concat([r]):null,vu(4,4,Ng.bind(null,i,r),u)}function df(){}function Mg(r,i){var u=Cn();i=i===void 0?null:i;var c=u.memoizedState;return i!==null&&Jd(i,c[1])?c[0]:(u.memoizedState=[r,i],r)}function Rg(r,i){var u=Cn();i=i===void 0?null:i;var c=u.memoizedState;if(i!==null&&Jd(i,c[1]))return c[0];if(c=r(),_s){Qe(!0);try{r()}finally{Qe(!1)}}return u.memoizedState=[c,i],c}function ff(r,i,u){return u===void 0||(xi&1073741824)!==0?r.memoizedState=i:(r.memoizedState=u,r=L2(),_t.lanes|=r,Mi|=r,u)}function Dg(r,i,u,c){return Cr(u,i)?u:Qs.current!==null?(r=ff(r,u,c),Cr(r,i)||(Un=!0),r):(xi&42)===0?(Un=!0,r.memoizedState=u):(r=L2(),_t.lanes|=r,Mi|=r,i)}function Ig(r,i,u,c,m){var g=fe.p;fe.p=g!==0&&8>g?g:8;var S=$.T,N={};$.T=N,pf(r,!1,i,u);try{var H=m(),ie=$.S;if(ie!==null&&ie(N,H),H!==null&&typeof H=="object"&&typeof H.then=="function"){var ge=T8(H,c);Tu(r,i,ge,Dr(r))}else Tu(r,i,c,Dr(r))}catch(Te){Tu(r,i,{then:function(){},status:"rejected",reason:Te},Dr())}finally{fe.p=g,$.T=S}}function w8(){}function hf(r,i,u,c){if(r.tag!==5)throw Error(a(476));var m=Lg(r).queue;Ig(r,m,i,Ee,u===null?w8:function(){return Bg(r),u(c)})}function Lg(r){var i=r.memoizedState;if(i!==null)return i;i={memoizedState:Ee,baseState:Ee,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Va,lastRenderedState:Ee},next:null};var u={};return i.next={memoizedState:u,baseState:u,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Va,lastRenderedState:u},next:null},r.memoizedState=i,r=r.alternate,r!==null&&(r.memoizedState=i),i}function Bg(r){var i=Lg(r).next.queue;Tu(r,i,{},Dr())}function mf(){return Xn(zu)}function Pg(){return Cn().memoizedState}function Ug(){return Cn().memoizedState}function k8(r){for(var i=r.return;i!==null;){switch(i.tag){case 24:case 3:var u=Dr();r=_i(u);var c=Si(i,r,u);c!==null&&(Ir(c,i,u),pu(c,i,u)),i={cache:Yd()},r.payload=i;return}i=i.return}}function C8(r,i,u){var c=Dr();u={lane:c,revertLane:0,action:u,hasEagerState:!1,eagerState:null,next:null},fc(r)?Fg(i,u):(u=Dd(r,i,u,c),u!==null&&(Ir(u,r,c),Hg(u,i,c)))}function zg(r,i,u){var c=Dr();Tu(r,i,u,c)}function Tu(r,i,u,c){var m={lane:c,revertLane:0,action:u,hasEagerState:!1,eagerState:null,next:null};if(fc(r))Fg(i,m);else{var g=r.alternate;if(r.lanes===0&&(g===null||g.lanes===0)&&(g=i.lastRenderedReducer,g!==null))try{var S=i.lastRenderedState,N=g(S,u);if(m.hasEagerState=!0,m.eagerState=N,Cr(N,S))return Xo(r,i,m,0),Xt===null&&$o(),!1}catch{}finally{}if(u=Dd(r,i,m,c),u!==null)return Ir(u,r,c),Hg(u,i,c),!0}return!1}function pf(r,i,u,c){if(c={lane:2,revertLane:Kf(),action:c,hasEagerState:!1,eagerState:null,next:null},fc(r)){if(i)throw Error(a(479))}else i=Dd(r,u,c,2),i!==null&&Ir(i,r,2)}function fc(r){var i=r.alternate;return r===_t||i!==null&&i===_t}function Fg(r,i){Zs=sc=!0;var u=r.pending;u===null?i.next=i:(i.next=u.next,u.next=i),r.pending=i}function Hg(r,i,u){if((u&4194048)!==0){var c=i.lanes;c&=r.pendingLanes,u|=c,i.lanes=u,ye(r,u)}}var hc={readContext:Xn,use:uc,useCallback:vn,useContext:vn,useEffect:vn,useImperativeHandle:vn,useLayoutEffect:vn,useInsertionEffect:vn,useMemo:vn,useReducer:vn,useRef:vn,useState:vn,useDebugValue:vn,useDeferredValue:vn,useTransition:vn,useSyncExternalStore:vn,useId:vn,useHostTransitionStatus:vn,useFormState:vn,useActionState:vn,useOptimistic:vn,useMemoCache:vn,useCacheRefresh:vn},qg={readContext:Xn,use:uc,useCallback:function(r,i){return gr().memoizedState=[r,i===void 0?null:i],r},useContext:Xn,useEffect:Ag,useImperativeHandle:function(r,i,u){u=u!=null?u.concat([r]):null,dc(4194308,4,Ng.bind(null,i,r),u)},useLayoutEffect:function(r,i){return dc(4194308,4,r,i)},useInsertionEffect:function(r,i){dc(4,2,r,i)},useMemo:function(r,i){var u=gr();i=i===void 0?null:i;var c=r();if(_s){Qe(!0);try{r()}finally{Qe(!1)}}return u.memoizedState=[c,i],c},useReducer:function(r,i,u){var c=gr();if(u!==void 0){var m=u(i);if(_s){Qe(!0);try{u(i)}finally{Qe(!1)}}}else m=i;return c.memoizedState=c.baseState=m,r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:r,lastRenderedState:m},c.queue=r,r=r.dispatch=C8.bind(null,_t,r),[c.memoizedState,r]},useRef:function(r){var i=gr();return r={current:r},i.memoizedState=r},useState:function(r){r=of(r);var i=r.queue,u=zg.bind(null,_t,i);return i.dispatch=u,[r.memoizedState,u]},useDebugValue:df,useDeferredValue:function(r,i){var u=gr();return ff(u,r,i)},useTransition:function(){var r=of(!1);return r=Ig.bind(null,_t,r.queue,!0,!1),gr().memoizedState=r,[!1,r]},useSyncExternalStore:function(r,i,u){var c=_t,m=gr();if(Pt){if(u===void 0)throw Error(a(407));u=u()}else{if(u=i(),Xt===null)throw Error(a(349));(Mt&124)!==0||og(c,i,u)}m.memoizedState=u;var g={value:u,getSnapshot:i};return m.queue=g,Ag(dg.bind(null,c,g,r),[r]),c.flags|=2048,el(9,cc(),cg.bind(null,c,g,u,i),null),u},useId:function(){var r=gr(),i=Xt.identifierPrefix;if(Pt){var u=Ya,c=qa;u=(c&~(1<<32-et(c)-1)).toString(32)+u,i="«"+i+"R"+u,u=lc++,0<u&&(i+="H"+u.toString(32)),i+="»"}else u=_8++,i="«"+i+"r"+u.toString(32)+"»";return r.memoizedState=i},useHostTransitionStatus:mf,useFormState:vg,useActionState:vg,useOptimistic:function(r){var i=gr();i.memoizedState=i.baseState=r;var u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return i.queue=u,i=pf.bind(null,_t,!0,u),u.dispatch=i,[r,i]},useMemoCache:sf,useCacheRefresh:function(){return gr().memoizedState=k8.bind(null,_t)}},Yg={readContext:Xn,use:uc,useCallback:Mg,useContext:Xn,useEffect:wg,useImperativeHandle:Og,useInsertionEffect:kg,useLayoutEffect:Cg,useMemo:Rg,useReducer:oc,useRef:xg,useState:function(){return oc(Va)},useDebugValue:df,useDeferredValue:function(r,i){var u=Cn();return Dg(u,qt.memoizedState,r,i)},useTransition:function(){var r=oc(Va)[0],i=Cn().memoizedState;return[typeof r=="boolean"?r:yu(r),i]},useSyncExternalStore:ug,useId:Pg,useHostTransitionStatus:mf,useFormState:Tg,useActionState:Tg,useOptimistic:function(r,i){var u=Cn();return mg(u,qt,r,i)},useMemoCache:sf,useCacheRefresh:Ug},N8={readContext:Xn,use:uc,useCallback:Mg,useContext:Xn,useEffect:wg,useImperativeHandle:Og,useInsertionEffect:kg,useLayoutEffect:Cg,useMemo:Rg,useReducer:uf,useRef:xg,useState:function(){return uf(Va)},useDebugValue:df,useDeferredValue:function(r,i){var u=Cn();return qt===null?ff(u,r,i):Dg(u,qt.memoizedState,r,i)},useTransition:function(){var r=uf(Va)[0],i=Cn().memoizedState;return[typeof r=="boolean"?r:yu(r),i]},useSyncExternalStore:ug,useId:Pg,useHostTransitionStatus:mf,useFormState:Sg,useActionState:Sg,useOptimistic:function(r,i){var u=Cn();return qt!==null?mg(u,qt,r,i):(u.baseState=r,[r,u.queue.dispatch])},useMemoCache:sf,useCacheRefresh:Ug},tl=null,_u=0;function mc(r){var i=_u;return _u+=1,tl===null&&(tl=[]),eg(tl,r,i)}function Su(r,i){i=i.props.ref,r.ref=i!==void 0?i:null}function pc(r,i){throw i.$$typeof===b?Error(a(525)):(r=Object.prototype.toString.call(i),Error(a(31,r==="[object Object]"?"object with keys {"+Object.keys(i).join(", ")+"}":r)))}function Gg(r){var i=r._init;return i(r._payload)}function jg(r){function i(W,V){if(r){var ne=W.deletions;ne===null?(W.deletions=[V],W.flags|=16):ne.push(V)}}function u(W,V){if(!r)return null;for(;V!==null;)i(W,V),V=V.sibling;return null}function c(W){for(var V=new Map;W!==null;)W.key!==null?V.set(W.key,W):V.set(W.index,W),W=W.sibling;return V}function m(W,V){return W=Ha(W,V),W.index=0,W.sibling=null,W}function g(W,V,ne){return W.index=ne,r?(ne=W.alternate,ne!==null?(ne=ne.index,ne<V?(W.flags|=67108866,V):ne):(W.flags|=67108866,V)):(W.flags|=1048576,V)}function S(W){return r&&W.alternate===null&&(W.flags|=67108866),W}function N(W,V,ne,ve){return V===null||V.tag!==6?(V=Ld(ne,W.mode,ve),V.return=W,V):(V=m(V,ne),V.return=W,V)}function H(W,V,ne,ve){var je=ne.type;return je===A?ge(W,V,ne.props.children,ve,ne.key):V!==null&&(V.elementType===je||typeof je=="object"&&je!==null&&je.$$typeof===te&&Gg(je)===V.type)?(V=m(V,ne.props),Su(V,ne),V.return=W,V):(V=Qo(ne.type,ne.key,ne.props,null,W.mode,ve),Su(V,ne),V.return=W,V)}function ie(W,V,ne,ve){return V===null||V.tag!==4||V.stateNode.containerInfo!==ne.containerInfo||V.stateNode.implementation!==ne.implementation?(V=Bd(ne,W.mode,ve),V.return=W,V):(V=m(V,ne.children||[]),V.return=W,V)}function ge(W,V,ne,ve,je){return V===null||V.tag!==7?(V=ms(ne,W.mode,ve,je),V.return=W,V):(V=m(V,ne),V.return=W,V)}function Te(W,V,ne){if(typeof V=="string"&&V!==""||typeof V=="number"||typeof V=="bigint")return V=Ld(""+V,W.mode,ne),V.return=W,V;if(typeof V=="object"&&V!==null){switch(V.$$typeof){case T:return ne=Qo(V.type,V.key,V.props,null,W.mode,ne),Su(ne,V),ne.return=W,ne;case v:return V=Bd(V,W.mode,ne),V.return=W,V;case te:var ve=V._init;return V=ve(V._payload),Te(W,V,ne)}if(me(V)||ee(V))return V=ms(V,W.mode,ne,null),V.return=W,V;if(typeof V.then=="function")return Te(W,mc(V),ne);if(V.$$typeof===U)return Te(W,tc(W,V),ne);pc(W,V)}return null}function le(W,V,ne,ve){var je=V!==null?V.key:null;if(typeof ne=="string"&&ne!==""||typeof ne=="number"||typeof ne=="bigint")return je!==null?null:N(W,V,""+ne,ve);if(typeof ne=="object"&&ne!==null){switch(ne.$$typeof){case T:return ne.key===je?H(W,V,ne,ve):null;case v:return ne.key===je?ie(W,V,ne,ve):null;case te:return je=ne._init,ne=je(ne._payload),le(W,V,ne,ve)}if(me(ne)||ee(ne))return je!==null?null:ge(W,V,ne,ve,null);if(typeof ne.then=="function")return le(W,V,mc(ne),ve);if(ne.$$typeof===U)return le(W,V,tc(W,ne),ve);pc(W,ne)}return null}function oe(W,V,ne,ve,je){if(typeof ve=="string"&&ve!==""||typeof ve=="number"||typeof ve=="bigint")return W=W.get(ne)||null,N(V,W,""+ve,je);if(typeof ve=="object"&&ve!==null){switch(ve.$$typeof){case T:return W=W.get(ve.key===null?ne:ve.key)||null,H(V,W,ve,je);case v:return W=W.get(ve.key===null?ne:ve.key)||null,ie(V,W,ve,je);case te:var St=ve._init;return ve=St(ve._payload),oe(W,V,ne,ve,je)}if(me(ve)||ee(ve))return W=W.get(ne)||null,ge(V,W,ve,je,null);if(typeof ve.then=="function")return oe(W,V,ne,mc(ve),je);if(ve.$$typeof===U)return oe(W,V,ne,tc(V,ve),je);pc(V,ve)}return null}function dt(W,V,ne,ve){for(var je=null,St=null,Je=V,ut=V=0,Fn=null;Je!==null&&ut<ne.length;ut++){Je.index>ut?(Fn=Je,Je=null):Fn=Je.sibling;var Lt=le(W,Je,ne[ut],ve);if(Lt===null){Je===null&&(Je=Fn);break}r&&Je&&Lt.alternate===null&&i(W,Je),V=g(Lt,V,ut),St===null?je=Lt:St.sibling=Lt,St=Lt,Je=Fn}if(ut===ne.length)return u(W,Je),Pt&&gs(W,ut),je;if(Je===null){for(;ut<ne.length;ut++)Je=Te(W,ne[ut],ve),Je!==null&&(V=g(Je,V,ut),St===null?je=Je:St.sibling=Je,St=Je);return Pt&&gs(W,ut),je}for(Je=c(Je);ut<ne.length;ut++)Fn=oe(Je,W,ut,ne[ut],ve),Fn!==null&&(r&&Fn.alternate!==null&&Je.delete(Fn.key===null?ut:Fn.key),V=g(Fn,V,ut),St===null?je=Fn:St.sibling=Fn,St=Fn);return r&&Je.forEach(function(Fi){return i(W,Fi)}),Pt&&gs(W,ut),je}function lt(W,V,ne,ve){if(ne==null)throw Error(a(151));for(var je=null,St=null,Je=V,ut=V=0,Fn=null,Lt=ne.next();Je!==null&&!Lt.done;ut++,Lt=ne.next()){Je.index>ut?(Fn=Je,Je=null):Fn=Je.sibling;var Fi=le(W,Je,Lt.value,ve);if(Fi===null){Je===null&&(Je=Fn);break}r&&Je&&Fi.alternate===null&&i(W,Je),V=g(Fi,V,ut),St===null?je=Fi:St.sibling=Fi,St=Fi,Je=Fn}if(Lt.done)return u(W,Je),Pt&&gs(W,ut),je;if(Je===null){for(;!Lt.done;ut++,Lt=ne.next())Lt=Te(W,Lt.value,ve),Lt!==null&&(V=g(Lt,V,ut),St===null?je=Lt:St.sibling=Lt,St=Lt);return Pt&&gs(W,ut),je}for(Je=c(Je);!Lt.done;ut++,Lt=ne.next())Lt=oe(Je,W,ut,Lt.value,ve),Lt!==null&&(r&&Lt.alternate!==null&&Je.delete(Lt.key===null?ut:Lt.key),V=g(Lt,V,ut),St===null?je=Lt:St.sibling=Lt,St=Lt);return r&&Je.forEach(function(Ov){return i(W,Ov)}),Pt&&gs(W,ut),je}function Gt(W,V,ne,ve){if(typeof ne=="object"&&ne!==null&&ne.type===A&&ne.key===null&&(ne=ne.props.children),typeof ne=="object"&&ne!==null){switch(ne.$$typeof){case T:e:{for(var je=ne.key;V!==null;){if(V.key===je){if(je=ne.type,je===A){if(V.tag===7){u(W,V.sibling),ve=m(V,ne.props.children),ve.return=W,W=ve;break e}}else if(V.elementType===je||typeof je=="object"&&je!==null&&je.$$typeof===te&&Gg(je)===V.type){u(W,V.sibling),ve=m(V,ne.props),Su(ve,ne),ve.return=W,W=ve;break e}u(W,V);break}else i(W,V);V=V.sibling}ne.type===A?(ve=ms(ne.props.children,W.mode,ve,ne.key),ve.return=W,W=ve):(ve=Qo(ne.type,ne.key,ne.props,null,W.mode,ve),Su(ve,ne),ve.return=W,W=ve)}return S(W);case v:e:{for(je=ne.key;V!==null;){if(V.key===je)if(V.tag===4&&V.stateNode.containerInfo===ne.containerInfo&&V.stateNode.implementation===ne.implementation){u(W,V.sibling),ve=m(V,ne.children||[]),ve.return=W,W=ve;break e}else{u(W,V);break}else i(W,V);V=V.sibling}ve=Bd(ne,W.mode,ve),ve.return=W,W=ve}return S(W);case te:return je=ne._init,ne=je(ne._payload),Gt(W,V,ne,ve)}if(me(ne))return dt(W,V,ne,ve);if(ee(ne)){if(je=ee(ne),typeof je!="function")throw Error(a(150));return ne=je.call(ne),lt(W,V,ne,ve)}if(typeof ne.then=="function")return Gt(W,V,mc(ne),ve);if(ne.$$typeof===U)return Gt(W,V,tc(W,ne),ve);pc(W,ne)}return typeof ne=="string"&&ne!==""||typeof ne=="number"||typeof ne=="bigint"?(ne=""+ne,V!==null&&V.tag===6?(u(W,V.sibling),ve=m(V,ne),ve.return=W,W=ve):(u(W,V),ve=Ld(ne,W.mode,ve),ve.return=W,W=ve),S(W)):u(W,V)}return function(W,V,ne,ve){try{_u=0;var je=Gt(W,V,ne,ve);return tl=null,je}catch(Je){if(Je===hu||Je===rc)throw Je;var St=Nr(29,Je,null,W.mode);return St.lanes=ve,St.return=W,St}finally{}}}var nl=jg(!0),Vg=jg(!1),Kr=X(null),ya=null;function Ai(r){var i=r.alternate;M(In,In.current&1),M(Kr,r),ya===null&&(i===null||Qs.current!==null||i.memoizedState!==null)&&(ya=r)}function Kg(r){if(r.tag===22){if(M(In,In.current),M(Kr,r),ya===null){var i=r.alternate;i!==null&&i.memoizedState!==null&&(ya=r)}}else wi()}function wi(){M(In,In.current),M(Kr,Kr.current)}function Ka(r){ce(Kr),ya===r&&(ya=null),ce(In)}var In=X(0);function gc(r){for(var i=r;i!==null;){if(i.tag===13){var u=i.memoizedState;if(u!==null&&(u=u.dehydrated,u===null||u.data==="$?"||ih(u)))return i}else if(i.tag===19&&i.memoizedProps.revealOrder!==void 0){if((i.flags&128)!==0)return i}else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===r)break;for(;i.sibling===null;){if(i.return===null||i.return===r)return null;i=i.return}i.sibling.return=i.return,i=i.sibling}return null}function gf(r,i,u,c){i=r.memoizedState,u=u(c,i),u=u==null?i:p({},i,u),r.memoizedState=u,r.lanes===0&&(r.updateQueue.baseState=u)}var bf={enqueueSetState:function(r,i,u){r=r._reactInternals;var c=Dr(),m=_i(c);m.payload=i,u!=null&&(m.callback=u),i=Si(r,m,c),i!==null&&(Ir(i,r,c),pu(i,r,c))},enqueueReplaceState:function(r,i,u){r=r._reactInternals;var c=Dr(),m=_i(c);m.tag=1,m.payload=i,u!=null&&(m.callback=u),i=Si(r,m,c),i!==null&&(Ir(i,r,c),pu(i,r,c))},enqueueForceUpdate:function(r,i){r=r._reactInternals;var u=Dr(),c=_i(u);c.tag=2,i!=null&&(c.callback=i),i=Si(r,c,u),i!==null&&(Ir(i,r,u),pu(i,r,u))}};function $g(r,i,u,c,m,g,S){return r=r.stateNode,typeof r.shouldComponentUpdate=="function"?r.shouldComponentUpdate(c,g,S):i.prototype&&i.prototype.isPureReactComponent?!iu(u,c)||!iu(m,g):!0}function Xg(r,i,u,c){r=i.state,typeof i.componentWillReceiveProps=="function"&&i.componentWillReceiveProps(u,c),typeof i.UNSAFE_componentWillReceiveProps=="function"&&i.UNSAFE_componentWillReceiveProps(u,c),i.state!==r&&bf.enqueueReplaceState(i,i.state,null)}function Ss(r,i){var u=i;if("ref"in i){u={};for(var c in i)c!=="ref"&&(u[c]=i[c])}if(r=r.defaultProps){u===i&&(u=p({},u));for(var m in r)u[m]===void 0&&(u[m]=r[m])}return u}var bc=typeof reportError=="function"?reportError:function(r){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var i=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof r=="object"&&r!==null&&typeof r.message=="string"?String(r.message):String(r),error:r});if(!window.dispatchEvent(i))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",r);return}console.error(r)};function Wg(r){bc(r)}function Qg(r){console.error(r)}function Zg(r){bc(r)}function Ec(r,i){try{var u=r.onUncaughtError;u(i.value,{componentStack:i.stack})}catch(c){setTimeout(function(){throw c})}}function Jg(r,i,u){try{var c=r.onCaughtError;c(u.value,{componentStack:u.stack,errorBoundary:i.tag===1?i.stateNode:null})}catch(m){setTimeout(function(){throw m})}}function Ef(r,i,u){return u=_i(u),u.tag=3,u.payload={element:null},u.callback=function(){Ec(r,i)},u}function e2(r){return r=_i(r),r.tag=3,r}function t2(r,i,u,c){var m=u.type.getDerivedStateFromError;if(typeof m=="function"){var g=c.value;r.payload=function(){return m(g)},r.callback=function(){Jg(i,u,c)}}var S=u.stateNode;S!==null&&typeof S.componentDidCatch=="function"&&(r.callback=function(){Jg(i,u,c),typeof m!="function"&&(Ri===null?Ri=new Set([this]):Ri.add(this));var N=c.stack;this.componentDidCatch(c.value,{componentStack:N!==null?N:""})})}function O8(r,i,u,c,m){if(u.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){if(i=u.alternate,i!==null&&cu(i,u,m,!0),u=Kr.current,u!==null){switch(u.tag){case 13:return ya===null?qf():u.alternate===null&&bn===0&&(bn=3),u.flags&=-257,u.flags|=65536,u.lanes=m,c===Vd?u.flags|=16384:(i=u.updateQueue,i===null?u.updateQueue=new Set([c]):i.add(c),Gf(r,c,m)),!1;case 22:return u.flags|=65536,c===Vd?u.flags|=16384:(i=u.updateQueue,i===null?(i={transitions:null,markerInstances:null,retryQueue:new Set([c])},u.updateQueue=i):(u=i.retryQueue,u===null?i.retryQueue=new Set([c]):u.add(c)),Gf(r,c,m)),!1}throw Error(a(435,u.tag))}return Gf(r,c,m),qf(),!1}if(Pt)return i=Kr.current,i!==null?((i.flags&65536)===0&&(i.flags|=256),i.flags|=65536,i.lanes=m,c!==zd&&(r=Error(a(422),{cause:c}),ou(Yr(r,u)))):(c!==zd&&(i=Error(a(423),{cause:c}),ou(Yr(i,u))),r=r.current.alternate,r.flags|=65536,m&=-m,r.lanes|=m,c=Yr(c,u),m=Ef(r.stateNode,c,m),Xd(r,m),bn!==4&&(bn=2)),!1;var g=Error(a(520),{cause:c});if(g=Yr(g,u),Ou===null?Ou=[g]:Ou.push(g),bn!==4&&(bn=2),i===null)return!0;c=Yr(c,u),u=i;do{switch(u.tag){case 3:return u.flags|=65536,r=m&-m,u.lanes|=r,r=Ef(u.stateNode,c,r),Xd(u,r),!1;case 1:if(i=u.type,g=u.stateNode,(u.flags&128)===0&&(typeof i.getDerivedStateFromError=="function"||g!==null&&typeof g.componentDidCatch=="function"&&(Ri===null||!Ri.has(g))))return u.flags|=65536,m&=-m,u.lanes|=m,m=e2(m),t2(m,r,u,c),Xd(u,m),!1}u=u.return}while(u!==null);return!1}var n2=Error(a(461)),Un=!1;function Gn(r,i,u,c){i.child=r===null?Vg(i,null,u,c):nl(i,r.child,u,c)}function r2(r,i,u,c,m){u=u.render;var g=i.ref;if("ref"in c){var S={};for(var N in c)N!=="ref"&&(S[N]=c[N])}else S=c;return vs(i),c=ef(r,i,u,S,g,m),N=tf(),r!==null&&!Un?(nf(r,i,m),$a(r,i,m)):(Pt&&N&&Pd(i),i.flags|=1,Gn(r,i,c,m),i.child)}function a2(r,i,u,c,m){if(r===null){var g=u.type;return typeof g=="function"&&!Id(g)&&g.defaultProps===void 0&&u.compare===null?(i.tag=15,i.type=g,i2(r,i,g,c,m)):(r=Qo(u.type,null,c,i,i.mode,m),r.ref=i.ref,r.return=i,i.child=r)}if(g=r.child,!wf(r,m)){var S=g.memoizedProps;if(u=u.compare,u=u!==null?u:iu,u(S,c)&&r.ref===i.ref)return $a(r,i,m)}return i.flags|=1,r=Ha(g,c),r.ref=i.ref,r.return=i,i.child=r}function i2(r,i,u,c,m){if(r!==null){var g=r.memoizedProps;if(iu(g,c)&&r.ref===i.ref)if(Un=!1,i.pendingProps=c=g,wf(r,m))(r.flags&131072)!==0&&(Un=!0);else return i.lanes=r.lanes,$a(r,i,m)}return yf(r,i,u,c,m)}function s2(r,i,u){var c=i.pendingProps,m=c.children,g=r!==null?r.memoizedState:null;if(c.mode==="hidden"){if((i.flags&128)!==0){if(c=g!==null?g.baseLanes|u:u,r!==null){for(m=i.child=r.child,g=0;m!==null;)g=g|m.lanes|m.childLanes,m=m.sibling;i.childLanes=g&~c}else i.childLanes=0,i.child=null;return l2(r,i,c,u)}if((u&536870912)!==0)i.memoizedState={baseLanes:0,cachePool:null},r!==null&&nc(i,g!==null?g.cachePool:null),g!==null?ig(i,g):Qd(),Kg(i);else return i.lanes=i.childLanes=536870912,l2(r,i,g!==null?g.baseLanes|u:u,u)}else g!==null?(nc(i,g.cachePool),ig(i,g),wi(),i.memoizedState=null):(r!==null&&nc(i,null),Qd(),wi());return Gn(r,i,m,u),i.child}function l2(r,i,u,c){var m=jd();return m=m===null?null:{parent:Dn._currentValue,pool:m},i.memoizedState={baseLanes:u,cachePool:m},r!==null&&nc(i,null),Qd(),Kg(i),r!==null&&cu(r,i,c,!0),null}function yc(r,i){var u=i.ref;if(u===null)r!==null&&r.ref!==null&&(i.flags|=4194816);else{if(typeof u!="function"&&typeof u!="object")throw Error(a(284));(r===null||r.ref!==u)&&(i.flags|=4194816)}}function yf(r,i,u,c,m){return vs(i),u=ef(r,i,u,c,void 0,m),c=tf(),r!==null&&!Un?(nf(r,i,m),$a(r,i,m)):(Pt&&c&&Pd(i),i.flags|=1,Gn(r,i,u,m),i.child)}function u2(r,i,u,c,m,g){return vs(i),i.updateQueue=null,u=lg(i,c,u,m),sg(r),c=tf(),r!==null&&!Un?(nf(r,i,g),$a(r,i,g)):(Pt&&c&&Pd(i),i.flags|=1,Gn(r,i,u,g),i.child)}function o2(r,i,u,c,m){if(vs(i),i.stateNode===null){var g=Vs,S=u.contextType;typeof S=="object"&&S!==null&&(g=Xn(S)),g=new u(c,g),i.memoizedState=g.state!==null&&g.state!==void 0?g.state:null,g.updater=bf,i.stateNode=g,g._reactInternals=i,g=i.stateNode,g.props=c,g.state=i.memoizedState,g.refs={},Kd(i),S=u.contextType,g.context=typeof S=="object"&&S!==null?Xn(S):Vs,g.state=i.memoizedState,S=u.getDerivedStateFromProps,typeof S=="function"&&(gf(i,u,S,c),g.state=i.memoizedState),typeof u.getDerivedStateFromProps=="function"||typeof g.getSnapshotBeforeUpdate=="function"||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(S=g.state,typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount(),S!==g.state&&bf.enqueueReplaceState(g,g.state,null),bu(i,c,g,m),gu(),g.state=i.memoizedState),typeof g.componentDidMount=="function"&&(i.flags|=4194308),c=!0}else if(r===null){g=i.stateNode;var N=i.memoizedProps,H=Ss(u,N);g.props=H;var ie=g.context,ge=u.contextType;S=Vs,typeof ge=="object"&&ge!==null&&(S=Xn(ge));var Te=u.getDerivedStateFromProps;ge=typeof Te=="function"||typeof g.getSnapshotBeforeUpdate=="function",N=i.pendingProps!==N,ge||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(N||ie!==S)&&Xg(i,g,c,S),Ti=!1;var le=i.memoizedState;g.state=le,bu(i,c,g,m),gu(),ie=i.memoizedState,N||le!==ie||Ti?(typeof Te=="function"&&(gf(i,u,Te,c),ie=i.memoizedState),(H=Ti||$g(i,u,H,c,le,ie,S))?(ge||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount()),typeof g.componentDidMount=="function"&&(i.flags|=4194308)):(typeof g.componentDidMount=="function"&&(i.flags|=4194308),i.memoizedProps=c,i.memoizedState=ie),g.props=c,g.state=ie,g.context=S,c=H):(typeof g.componentDidMount=="function"&&(i.flags|=4194308),c=!1)}else{g=i.stateNode,$d(r,i),S=i.memoizedProps,ge=Ss(u,S),g.props=ge,Te=i.pendingProps,le=g.context,ie=u.contextType,H=Vs,typeof ie=="object"&&ie!==null&&(H=Xn(ie)),N=u.getDerivedStateFromProps,(ie=typeof N=="function"||typeof g.getSnapshotBeforeUpdate=="function")||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(S!==Te||le!==H)&&Xg(i,g,c,H),Ti=!1,le=i.memoizedState,g.state=le,bu(i,c,g,m),gu();var oe=i.memoizedState;S!==Te||le!==oe||Ti||r!==null&&r.dependencies!==null&&ec(r.dependencies)?(typeof N=="function"&&(gf(i,u,N,c),oe=i.memoizedState),(ge=Ti||$g(i,u,ge,c,le,oe,H)||r!==null&&r.dependencies!==null&&ec(r.dependencies))?(ie||typeof g.UNSAFE_componentWillUpdate!="function"&&typeof g.componentWillUpdate!="function"||(typeof g.componentWillUpdate=="function"&&g.componentWillUpdate(c,oe,H),typeof g.UNSAFE_componentWillUpdate=="function"&&g.UNSAFE_componentWillUpdate(c,oe,H)),typeof g.componentDidUpdate=="function"&&(i.flags|=4),typeof g.getSnapshotBeforeUpdate=="function"&&(i.flags|=1024)):(typeof g.componentDidUpdate!="function"||S===r.memoizedProps&&le===r.memoizedState||(i.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||S===r.memoizedProps&&le===r.memoizedState||(i.flags|=1024),i.memoizedProps=c,i.memoizedState=oe),g.props=c,g.state=oe,g.context=H,c=ge):(typeof g.componentDidUpdate!="function"||S===r.memoizedProps&&le===r.memoizedState||(i.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||S===r.memoizedProps&&le===r.memoizedState||(i.flags|=1024),c=!1)}return g=c,yc(r,i),c=(i.flags&128)!==0,g||c?(g=i.stateNode,u=c&&typeof u.getDerivedStateFromError!="function"?null:g.render(),i.flags|=1,r!==null&&c?(i.child=nl(i,r.child,null,m),i.child=nl(i,null,u,m)):Gn(r,i,u,m),i.memoizedState=g.state,r=i.child):r=$a(r,i,m),r}function c2(r,i,u,c){return uu(),i.flags|=256,Gn(r,i,u,c),i.child}var vf={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Tf(r){return{baseLanes:r,cachePool:Qp()}}function _f(r,i,u){return r=r!==null?r.childLanes&~u:0,i&&(r|=$r),r}function d2(r,i,u){var c=i.pendingProps,m=!1,g=(i.flags&128)!==0,S;if((S=g)||(S=r!==null&&r.memoizedState===null?!1:(In.current&2)!==0),S&&(m=!0,i.flags&=-129),S=(i.flags&32)!==0,i.flags&=-33,r===null){if(Pt){if(m?Ai(i):wi(),Pt){var N=gn,H;if(H=N){e:{for(H=N,N=Ea;H.nodeType!==8;){if(!N){N=null;break e}if(H=da(H.nextSibling),H===null){N=null;break e}}N=H}N!==null?(i.memoizedState={dehydrated:N,treeContext:ps!==null?{id:qa,overflow:Ya}:null,retryLane:536870912,hydrationErrors:null},H=Nr(18,null,null,0),H.stateNode=N,H.return=i,i.child=H,ar=i,gn=null,H=!0):H=!1}H||Es(i)}if(N=i.memoizedState,N!==null&&(N=N.dehydrated,N!==null))return ih(N)?i.lanes=32:i.lanes=536870912,null;Ka(i)}return N=c.children,c=c.fallback,m?(wi(),m=i.mode,N=vc({mode:"hidden",children:N},m),c=ms(c,m,u,null),N.return=i,c.return=i,N.sibling=c,i.child=N,m=i.child,m.memoizedState=Tf(u),m.childLanes=_f(r,S,u),i.memoizedState=vf,c):(Ai(i),Sf(i,N))}if(H=r.memoizedState,H!==null&&(N=H.dehydrated,N!==null)){if(g)i.flags&256?(Ai(i),i.flags&=-257,i=xf(r,i,u)):i.memoizedState!==null?(wi(),i.child=r.child,i.flags|=128,i=null):(wi(),m=c.fallback,N=i.mode,c=vc({mode:"visible",children:c.children},N),m=ms(m,N,u,null),m.flags|=2,c.return=i,m.return=i,c.sibling=m,i.child=c,nl(i,r.child,null,u),c=i.child,c.memoizedState=Tf(u),c.childLanes=_f(r,S,u),i.memoizedState=vf,i=m);else if(Ai(i),ih(N)){if(S=N.nextSibling&&N.nextSibling.dataset,S)var ie=S.dgst;S=ie,c=Error(a(419)),c.stack="",c.digest=S,ou({value:c,source:null,stack:null}),i=xf(r,i,u)}else if(Un||cu(r,i,u,!1),S=(u&r.childLanes)!==0,Un||S){if(S=Xt,S!==null&&(c=u&-u,c=(c&42)!==0?1:Be(c),c=(c&(S.suspendedLanes|u))!==0?0:c,c!==0&&c!==H.retryLane))throw H.retryLane=c,js(r,c),Ir(S,r,c),n2;N.data==="$?"||qf(),i=xf(r,i,u)}else N.data==="$?"?(i.flags|=192,i.child=r.child,i=null):(r=H.treeContext,gn=da(N.nextSibling),ar=i,Pt=!0,bs=null,Ea=!1,r!==null&&(jr[Vr++]=qa,jr[Vr++]=Ya,jr[Vr++]=ps,qa=r.id,Ya=r.overflow,ps=i),i=Sf(i,c.children),i.flags|=4096);return i}return m?(wi(),m=c.fallback,N=i.mode,H=r.child,ie=H.sibling,c=Ha(H,{mode:"hidden",children:c.children}),c.subtreeFlags=H.subtreeFlags&65011712,ie!==null?m=Ha(ie,m):(m=ms(m,N,u,null),m.flags|=2),m.return=i,c.return=i,c.sibling=m,i.child=c,c=m,m=i.child,N=r.child.memoizedState,N===null?N=Tf(u):(H=N.cachePool,H!==null?(ie=Dn._currentValue,H=H.parent!==ie?{parent:ie,pool:ie}:H):H=Qp(),N={baseLanes:N.baseLanes|u,cachePool:H}),m.memoizedState=N,m.childLanes=_f(r,S,u),i.memoizedState=vf,c):(Ai(i),u=r.child,r=u.sibling,u=Ha(u,{mode:"visible",children:c.children}),u.return=i,u.sibling=null,r!==null&&(S=i.deletions,S===null?(i.deletions=[r],i.flags|=16):S.push(r)),i.child=u,i.memoizedState=null,u)}function Sf(r,i){return i=vc({mode:"visible",children:i},r.mode),i.return=r,r.child=i}function vc(r,i){return r=Nr(22,r,null,i),r.lanes=0,r.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},r}function xf(r,i,u){return nl(i,r.child,null,u),r=Sf(i,i.pendingProps.children),r.flags|=2,i.memoizedState=null,r}function f2(r,i,u){r.lanes|=i;var c=r.alternate;c!==null&&(c.lanes|=i),Hd(r.return,i,u)}function Af(r,i,u,c,m){var g=r.memoizedState;g===null?r.memoizedState={isBackwards:i,rendering:null,renderingStartTime:0,last:c,tail:u,tailMode:m}:(g.isBackwards=i,g.rendering=null,g.renderingStartTime=0,g.last=c,g.tail=u,g.tailMode=m)}function h2(r,i,u){var c=i.pendingProps,m=c.revealOrder,g=c.tail;if(Gn(r,i,c.children,u),c=In.current,(c&2)!==0)c=c&1|2,i.flags|=128;else{if(r!==null&&(r.flags&128)!==0)e:for(r=i.child;r!==null;){if(r.tag===13)r.memoizedState!==null&&f2(r,u,i);else if(r.tag===19)f2(r,u,i);else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===i)break e;for(;r.sibling===null;){if(r.return===null||r.return===i)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}c&=1}switch(M(In,c),m){case"forwards":for(u=i.child,m=null;u!==null;)r=u.alternate,r!==null&&gc(r)===null&&(m=u),u=u.sibling;u=m,u===null?(m=i.child,i.child=null):(m=u.sibling,u.sibling=null),Af(i,!1,m,u,g);break;case"backwards":for(u=null,m=i.child,i.child=null;m!==null;){if(r=m.alternate,r!==null&&gc(r)===null){i.child=m;break}r=m.sibling,m.sibling=u,u=m,m=r}Af(i,!0,u,null,g);break;case"together":Af(i,!1,null,null,void 0);break;default:i.memoizedState=null}return i.child}function $a(r,i,u){if(r!==null&&(i.dependencies=r.dependencies),Mi|=i.lanes,(u&i.childLanes)===0)if(r!==null){if(cu(r,i,u,!1),(u&i.childLanes)===0)return null}else return null;if(r!==null&&i.child!==r.child)throw Error(a(153));if(i.child!==null){for(r=i.child,u=Ha(r,r.pendingProps),i.child=u,u.return=i;r.sibling!==null;)r=r.sibling,u=u.sibling=Ha(r,r.pendingProps),u.return=i;u.sibling=null}return i.child}function wf(r,i){return(r.lanes&i)!==0?!0:(r=r.dependencies,!!(r!==null&&ec(r)))}function M8(r,i,u){switch(i.tag){case 3:nt(i,i.stateNode.containerInfo),vi(i,Dn,r.memoizedState.cache),uu();break;case 27:case 5:Ye(i);break;case 4:nt(i,i.stateNode.containerInfo);break;case 10:vi(i,i.type,i.memoizedProps.value);break;case 13:var c=i.memoizedState;if(c!==null)return c.dehydrated!==null?(Ai(i),i.flags|=128,null):(u&i.child.childLanes)!==0?d2(r,i,u):(Ai(i),r=$a(r,i,u),r!==null?r.sibling:null);Ai(i);break;case 19:var m=(r.flags&128)!==0;if(c=(u&i.childLanes)!==0,c||(cu(r,i,u,!1),c=(u&i.childLanes)!==0),m){if(c)return h2(r,i,u);i.flags|=128}if(m=i.memoizedState,m!==null&&(m.rendering=null,m.tail=null,m.lastEffect=null),M(In,In.current),c)break;return null;case 22:case 23:return i.lanes=0,s2(r,i,u);case 24:vi(i,Dn,r.memoizedState.cache)}return $a(r,i,u)}function m2(r,i,u){if(r!==null)if(r.memoizedProps!==i.pendingProps)Un=!0;else{if(!wf(r,u)&&(i.flags&128)===0)return Un=!1,M8(r,i,u);Un=(r.flags&131072)!==0}else Un=!1,Pt&&(i.flags&1048576)!==0&&Gp(i,Jo,i.index);switch(i.lanes=0,i.tag){case 16:e:{r=i.pendingProps;var c=i.elementType,m=c._init;if(c=m(c._payload),i.type=c,typeof c=="function")Id(c)?(r=Ss(c,r),i.tag=1,i=o2(null,i,c,r,u)):(i.tag=0,i=yf(null,i,c,r,u));else{if(c!=null){if(m=c.$$typeof,m===J){i.tag=11,i=r2(null,i,c,r,u);break e}else if(m===Q){i.tag=14,i=a2(null,i,c,r,u);break e}}throw i=ue(c)||c,Error(a(306,i,""))}}return i;case 0:return yf(r,i,i.type,i.pendingProps,u);case 1:return c=i.type,m=Ss(c,i.pendingProps),o2(r,i,c,m,u);case 3:e:{if(nt(i,i.stateNode.containerInfo),r===null)throw Error(a(387));c=i.pendingProps;var g=i.memoizedState;m=g.element,$d(r,i),bu(i,c,null,u);var S=i.memoizedState;if(c=S.cache,vi(i,Dn,c),c!==g.cache&&qd(i,[Dn],u,!0),gu(),c=S.element,g.isDehydrated)if(g={element:c,isDehydrated:!1,cache:S.cache},i.updateQueue.baseState=g,i.memoizedState=g,i.flags&256){i=c2(r,i,c,u);break e}else if(c!==m){m=Yr(Error(a(424)),i),ou(m),i=c2(r,i,c,u);break e}else{switch(r=i.stateNode.containerInfo,r.nodeType){case 9:r=r.body;break;default:r=r.nodeName==="HTML"?r.ownerDocument.body:r}for(gn=da(r.firstChild),ar=i,Pt=!0,bs=null,Ea=!0,u=Vg(i,null,c,u),i.child=u;u;)u.flags=u.flags&-3|4096,u=u.sibling}else{if(uu(),c===m){i=$a(r,i,u);break e}Gn(r,i,c,u)}i=i.child}return i;case 26:return yc(r,i),r===null?(u=E4(i.type,null,i.pendingProps,null))?i.memoizedState=u:Pt||(u=i.type,r=i.pendingProps,c=Ic(Re.current).createElement(u),c[Le]=i,c[$e]=r,Vn(c,u,r),on(c),i.stateNode=c):i.memoizedState=E4(i.type,r.memoizedProps,i.pendingProps,r.memoizedState),null;case 27:return Ye(i),r===null&&Pt&&(c=i.stateNode=p4(i.type,i.pendingProps,Re.current),ar=i,Ea=!0,m=gn,Li(i.type)?(sh=m,gn=da(c.firstChild)):gn=m),Gn(r,i,i.pendingProps.children,u),yc(r,i),r===null&&(i.flags|=4194304),i.child;case 5:return r===null&&Pt&&((m=c=gn)&&(c=iv(c,i.type,i.pendingProps,Ea),c!==null?(i.stateNode=c,ar=i,gn=da(c.firstChild),Ea=!1,m=!0):m=!1),m||Es(i)),Ye(i),m=i.type,g=i.pendingProps,S=r!==null?r.memoizedProps:null,c=g.children,nh(m,g)?c=null:S!==null&&nh(m,S)&&(i.flags|=32),i.memoizedState!==null&&(m=ef(r,i,S8,null,null,u),zu._currentValue=m),yc(r,i),Gn(r,i,c,u),i.child;case 6:return r===null&&Pt&&((r=u=gn)&&(u=sv(u,i.pendingProps,Ea),u!==null?(i.stateNode=u,ar=i,gn=null,r=!0):r=!1),r||Es(i)),null;case 13:return d2(r,i,u);case 4:return nt(i,i.stateNode.containerInfo),c=i.pendingProps,r===null?i.child=nl(i,null,c,u):Gn(r,i,c,u),i.child;case 11:return r2(r,i,i.type,i.pendingProps,u);case 7:return Gn(r,i,i.pendingProps,u),i.child;case 8:return Gn(r,i,i.pendingProps.children,u),i.child;case 12:return Gn(r,i,i.pendingProps.children,u),i.child;case 10:return c=i.pendingProps,vi(i,i.type,c.value),Gn(r,i,c.children,u),i.child;case 9:return m=i.type._context,c=i.pendingProps.children,vs(i),m=Xn(m),c=c(m),i.flags|=1,Gn(r,i,c,u),i.child;case 14:return a2(r,i,i.type,i.pendingProps,u);case 15:return i2(r,i,i.type,i.pendingProps,u);case 19:return h2(r,i,u);case 31:return c=i.pendingProps,u=i.mode,c={mode:c.mode,children:c.children},r===null?(u=vc(c,u),u.ref=i.ref,i.child=u,u.return=i,i=u):(u=Ha(r.child,c),u.ref=i.ref,i.child=u,u.return=i,i=u),i;case 22:return s2(r,i,u);case 24:return vs(i),c=Xn(Dn),r===null?(m=jd(),m===null&&(m=Xt,g=Yd(),m.pooledCache=g,g.refCount++,g!==null&&(m.pooledCacheLanes|=u),m=g),i.memoizedState={parent:c,cache:m},Kd(i),vi(i,Dn,m)):((r.lanes&u)!==0&&($d(r,i),bu(i,null,null,u),gu()),m=r.memoizedState,g=i.memoizedState,m.parent!==c?(m={parent:c,cache:c},i.memoizedState=m,i.lanes===0&&(i.memoizedState=i.updateQueue.baseState=m),vi(i,Dn,c)):(c=g.cache,vi(i,Dn,c),c!==m.cache&&qd(i,[Dn],u,!0))),Gn(r,i,i.pendingProps.children,u),i.child;case 29:throw i.pendingProps}throw Error(a(156,i.tag))}function Xa(r){r.flags|=4}function p2(r,i){if(i.type!=="stylesheet"||(i.state.loading&4)!==0)r.flags&=-16777217;else if(r.flags|=16777216,!S4(i)){if(i=Kr.current,i!==null&&((Mt&4194048)===Mt?ya!==null:(Mt&62914560)!==Mt&&(Mt&536870912)===0||i!==ya))throw mu=Vd,Zp;r.flags|=8192}}function Tc(r,i){i!==null&&(r.flags|=4),r.flags&16384&&(i=r.tag!==22?Vl():536870912,r.lanes|=i,sl|=i)}function xu(r,i){if(!Pt)switch(r.tailMode){case"hidden":i=r.tail;for(var u=null;i!==null;)i.alternate!==null&&(u=i),i=i.sibling;u===null?r.tail=null:u.sibling=null;break;case"collapsed":u=r.tail;for(var c=null;u!==null;)u.alternate!==null&&(c=u),u=u.sibling;c===null?i||r.tail===null?r.tail=null:r.tail.sibling=null:c.sibling=null}}function dn(r){var i=r.alternate!==null&&r.alternate.child===r.child,u=0,c=0;if(i)for(var m=r.child;m!==null;)u|=m.lanes|m.childLanes,c|=m.subtreeFlags&65011712,c|=m.flags&65011712,m.return=r,m=m.sibling;else for(m=r.child;m!==null;)u|=m.lanes|m.childLanes,c|=m.subtreeFlags,c|=m.flags,m.return=r,m=m.sibling;return r.subtreeFlags|=c,r.childLanes=u,i}function R8(r,i,u){var c=i.pendingProps;switch(Ud(i),i.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return dn(i),null;case 1:return dn(i),null;case 3:return u=i.stateNode,c=null,r!==null&&(c=r.memoizedState.cache),i.memoizedState.cache!==c&&(i.flags|=2048),ja(Dn),st(),u.pendingContext&&(u.context=u.pendingContext,u.pendingContext=null),(r===null||r.child===null)&&(lu(i)?Xa(i):r===null||r.memoizedState.isDehydrated&&(i.flags&256)===0||(i.flags|=1024,Kp())),dn(i),null;case 26:return u=i.memoizedState,r===null?(Xa(i),u!==null?(dn(i),p2(i,u)):(dn(i),i.flags&=-16777217)):u?u!==r.memoizedState?(Xa(i),dn(i),p2(i,u)):(dn(i),i.flags&=-16777217):(r.memoizedProps!==c&&Xa(i),dn(i),i.flags&=-16777217),null;case 27:wt(i),u=Re.current;var m=i.type;if(r!==null&&i.stateNode!=null)r.memoizedProps!==c&&Xa(i);else{if(!c){if(i.stateNode===null)throw Error(a(166));return dn(i),null}r=De.current,lu(i)?jp(i):(r=p4(m,c,u),i.stateNode=r,Xa(i))}return dn(i),null;case 5:if(wt(i),u=i.type,r!==null&&i.stateNode!=null)r.memoizedProps!==c&&Xa(i);else{if(!c){if(i.stateNode===null)throw Error(a(166));return dn(i),null}if(r=De.current,lu(i))jp(i);else{switch(m=Ic(Re.current),r){case 1:r=m.createElementNS("http://www.w3.org/2000/svg",u);break;case 2:r=m.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;default:switch(u){case"svg":r=m.createElementNS("http://www.w3.org/2000/svg",u);break;case"math":r=m.createElementNS("http://www.w3.org/1998/Math/MathML",u);break;case"script":r=m.createElement("div"),r.innerHTML="<script><\/script>",r=r.removeChild(r.firstChild);break;case"select":r=typeof c.is=="string"?m.createElement("select",{is:c.is}):m.createElement("select"),c.multiple?r.multiple=!0:c.size&&(r.size=c.size);break;default:r=typeof c.is=="string"?m.createElement(u,{is:c.is}):m.createElement(u)}}r[Le]=i,r[$e]=c;e:for(m=i.child;m!==null;){if(m.tag===5||m.tag===6)r.appendChild(m.stateNode);else if(m.tag!==4&&m.tag!==27&&m.child!==null){m.child.return=m,m=m.child;continue}if(m===i)break e;for(;m.sibling===null;){if(m.return===null||m.return===i)break e;m=m.return}m.sibling.return=m.return,m=m.sibling}i.stateNode=r;e:switch(Vn(r,u,c),u){case"button":case"input":case"select":case"textarea":r=!!c.autoFocus;break e;case"img":r=!0;break e;default:r=!1}r&&Xa(i)}}return dn(i),i.flags&=-16777217,null;case 6:if(r&&i.stateNode!=null)r.memoizedProps!==c&&Xa(i);else{if(typeof c!="string"&&i.stateNode===null)throw Error(a(166));if(r=Re.current,lu(i)){if(r=i.stateNode,u=i.memoizedProps,c=null,m=ar,m!==null)switch(m.tag){case 27:case 5:c=m.memoizedProps}r[Le]=i,r=!!(r.nodeValue===u||c!==null&&c.suppressHydrationWarning===!0||u4(r.nodeValue,u)),r||Es(i)}else r=Ic(r).createTextNode(c),r[Le]=i,i.stateNode=r}return dn(i),null;case 13:if(c=i.memoizedState,r===null||r.memoizedState!==null&&r.memoizedState.dehydrated!==null){if(m=lu(i),c!==null&&c.dehydrated!==null){if(r===null){if(!m)throw Error(a(318));if(m=i.memoizedState,m=m!==null?m.dehydrated:null,!m)throw Error(a(317));m[Le]=i}else uu(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;dn(i),m=!1}else m=Kp(),r!==null&&r.memoizedState!==null&&(r.memoizedState.hydrationErrors=m),m=!0;if(!m)return i.flags&256?(Ka(i),i):(Ka(i),null)}if(Ka(i),(i.flags&128)!==0)return i.lanes=u,i;if(u=c!==null,r=r!==null&&r.memoizedState!==null,u){c=i.child,m=null,c.alternate!==null&&c.alternate.memoizedState!==null&&c.alternate.memoizedState.cachePool!==null&&(m=c.alternate.memoizedState.cachePool.pool);var g=null;c.memoizedState!==null&&c.memoizedState.cachePool!==null&&(g=c.memoizedState.cachePool.pool),g!==m&&(c.flags|=2048)}return u!==r&&u&&(i.child.flags|=8192),Tc(i,i.updateQueue),dn(i),null;case 4:return st(),r===null&&Qf(i.stateNode.containerInfo),dn(i),null;case 10:return ja(i.type),dn(i),null;case 19:if(ce(In),m=i.memoizedState,m===null)return dn(i),null;if(c=(i.flags&128)!==0,g=m.rendering,g===null)if(c)xu(m,!1);else{if(bn!==0||r!==null&&(r.flags&128)!==0)for(r=i.child;r!==null;){if(g=gc(r),g!==null){for(i.flags|=128,xu(m,!1),r=g.updateQueue,i.updateQueue=r,Tc(i,r),i.subtreeFlags=0,r=u,u=i.child;u!==null;)Yp(u,r),u=u.sibling;return M(In,In.current&1|2),i.child}r=r.sibling}m.tail!==null&&Ot()>xc&&(i.flags|=128,c=!0,xu(m,!1),i.lanes=4194304)}else{if(!c)if(r=gc(g),r!==null){if(i.flags|=128,c=!0,r=r.updateQueue,i.updateQueue=r,Tc(i,r),xu(m,!0),m.tail===null&&m.tailMode==="hidden"&&!g.alternate&&!Pt)return dn(i),null}else 2*Ot()-m.renderingStartTime>xc&&u!==536870912&&(i.flags|=128,c=!0,xu(m,!1),i.lanes=4194304);m.isBackwards?(g.sibling=i.child,i.child=g):(r=m.last,r!==null?r.sibling=g:i.child=g,m.last=g)}return m.tail!==null?(i=m.tail,m.rendering=i,m.tail=i.sibling,m.renderingStartTime=Ot(),i.sibling=null,r=In.current,M(In,c?r&1|2:r&1),i):(dn(i),null);case 22:case 23:return Ka(i),Zd(),c=i.memoizedState!==null,r!==null?r.memoizedState!==null!==c&&(i.flags|=8192):c&&(i.flags|=8192),c?(u&536870912)!==0&&(i.flags&128)===0&&(dn(i),i.subtreeFlags&6&&(i.flags|=8192)):dn(i),u=i.updateQueue,u!==null&&Tc(i,u.retryQueue),u=null,r!==null&&r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(u=r.memoizedState.cachePool.pool),c=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(c=i.memoizedState.cachePool.pool),c!==u&&(i.flags|=2048),r!==null&&ce(Ts),null;case 24:return u=null,r!==null&&(u=r.memoizedState.cache),i.memoizedState.cache!==u&&(i.flags|=2048),ja(Dn),dn(i),null;case 25:return null;case 30:return null}throw Error(a(156,i.tag))}function D8(r,i){switch(Ud(i),i.tag){case 1:return r=i.flags,r&65536?(i.flags=r&-65537|128,i):null;case 3:return ja(Dn),st(),r=i.flags,(r&65536)!==0&&(r&128)===0?(i.flags=r&-65537|128,i):null;case 26:case 27:case 5:return wt(i),null;case 13:if(Ka(i),r=i.memoizedState,r!==null&&r.dehydrated!==null){if(i.alternate===null)throw Error(a(340));uu()}return r=i.flags,r&65536?(i.flags=r&-65537|128,i):null;case 19:return ce(In),null;case 4:return st(),null;case 10:return ja(i.type),null;case 22:case 23:return Ka(i),Zd(),r!==null&&ce(Ts),r=i.flags,r&65536?(i.flags=r&-65537|128,i):null;case 24:return ja(Dn),null;case 25:return null;default:return null}}function g2(r,i){switch(Ud(i),i.tag){case 3:ja(Dn),st();break;case 26:case 27:case 5:wt(i);break;case 4:st();break;case 13:Ka(i);break;case 19:ce(In);break;case 10:ja(i.type);break;case 22:case 23:Ka(i),Zd(),r!==null&&ce(Ts);break;case 24:ja(Dn)}}function Au(r,i){try{var u=i.updateQueue,c=u!==null?u.lastEffect:null;if(c!==null){var m=c.next;u=m;do{if((u.tag&r)===r){c=void 0;var g=u.create,S=u.inst;c=g(),S.destroy=c}u=u.next}while(u!==m)}}catch(N){Vt(i,i.return,N)}}function ki(r,i,u){try{var c=i.updateQueue,m=c!==null?c.lastEffect:null;if(m!==null){var g=m.next;c=g;do{if((c.tag&r)===r){var S=c.inst,N=S.destroy;if(N!==void 0){S.destroy=void 0,m=i;var H=u,ie=N;try{ie()}catch(ge){Vt(m,H,ge)}}}c=c.next}while(c!==g)}}catch(ge){Vt(i,i.return,ge)}}function b2(r){var i=r.updateQueue;if(i!==null){var u=r.stateNode;try{ag(i,u)}catch(c){Vt(r,r.return,c)}}}function E2(r,i,u){u.props=Ss(r.type,r.memoizedProps),u.state=r.memoizedState;try{u.componentWillUnmount()}catch(c){Vt(r,i,c)}}function wu(r,i){try{var u=r.ref;if(u!==null){switch(r.tag){case 26:case 27:case 5:var c=r.stateNode;break;case 30:c=r.stateNode;break;default:c=r.stateNode}typeof u=="function"?r.refCleanup=u(c):u.current=c}}catch(m){Vt(r,i,m)}}function va(r,i){var u=r.ref,c=r.refCleanup;if(u!==null)if(typeof c=="function")try{c()}catch(m){Vt(r,i,m)}finally{r.refCleanup=null,r=r.alternate,r!=null&&(r.refCleanup=null)}else if(typeof u=="function")try{u(null)}catch(m){Vt(r,i,m)}else u.current=null}function y2(r){var i=r.type,u=r.memoizedProps,c=r.stateNode;try{e:switch(i){case"button":case"input":case"select":case"textarea":u.autoFocus&&c.focus();break e;case"img":u.src?c.src=u.src:u.srcSet&&(c.srcset=u.srcSet)}}catch(m){Vt(r,r.return,m)}}function kf(r,i,u){try{var c=r.stateNode;ev(c,r.type,u,i),c[$e]=i}catch(m){Vt(r,r.return,m)}}function v2(r){return r.tag===5||r.tag===3||r.tag===26||r.tag===27&&Li(r.type)||r.tag===4}function Cf(r){e:for(;;){for(;r.sibling===null;){if(r.return===null||v2(r.return))return null;r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==18;){if(r.tag===27&&Li(r.type)||r.flags&2||r.child===null||r.tag===4)continue e;r.child.return=r,r=r.child}if(!(r.flags&2))return r.stateNode}}function Nf(r,i,u){var c=r.tag;if(c===5||c===6)r=r.stateNode,i?(u.nodeType===9?u.body:u.nodeName==="HTML"?u.ownerDocument.body:u).insertBefore(r,i):(i=u.nodeType===9?u.body:u.nodeName==="HTML"?u.ownerDocument.body:u,i.appendChild(r),u=u._reactRootContainer,u!=null||i.onclick!==null||(i.onclick=Dc));else if(c!==4&&(c===27&&Li(r.type)&&(u=r.stateNode,i=null),r=r.child,r!==null))for(Nf(r,i,u),r=r.sibling;r!==null;)Nf(r,i,u),r=r.sibling}function _c(r,i,u){var c=r.tag;if(c===5||c===6)r=r.stateNode,i?u.insertBefore(r,i):u.appendChild(r);else if(c!==4&&(c===27&&Li(r.type)&&(u=r.stateNode),r=r.child,r!==null))for(_c(r,i,u),r=r.sibling;r!==null;)_c(r,i,u),r=r.sibling}function T2(r){var i=r.stateNode,u=r.memoizedProps;try{for(var c=r.type,m=i.attributes;m.length;)i.removeAttributeNode(m[0]);Vn(i,c,u),i[Le]=r,i[$e]=u}catch(g){Vt(r,r.return,g)}}var Wa=!1,Tn=!1,Of=!1,_2=typeof WeakSet=="function"?WeakSet:Set,zn=null;function I8(r,i){if(r=r.containerInfo,eh=Fc,r=Dp(r),kd(r)){if("selectionStart"in r)var u={start:r.selectionStart,end:r.selectionEnd};else e:{u=(u=r.ownerDocument)&&u.defaultView||window;var c=u.getSelection&&u.getSelection();if(c&&c.rangeCount!==0){u=c.anchorNode;var m=c.anchorOffset,g=c.focusNode;c=c.focusOffset;try{u.nodeType,g.nodeType}catch{u=null;break e}var S=0,N=-1,H=-1,ie=0,ge=0,Te=r,le=null;t:for(;;){for(var oe;Te!==u||m!==0&&Te.nodeType!==3||(N=S+m),Te!==g||c!==0&&Te.nodeType!==3||(H=S+c),Te.nodeType===3&&(S+=Te.nodeValue.length),(oe=Te.firstChild)!==null;)le=Te,Te=oe;for(;;){if(Te===r)break t;if(le===u&&++ie===m&&(N=S),le===g&&++ge===c&&(H=S),(oe=Te.nextSibling)!==null)break;Te=le,le=Te.parentNode}Te=oe}u=N===-1||H===-1?null:{start:N,end:H}}else u=null}u=u||{start:0,end:0}}else u=null;for(th={focusedElem:r,selectionRange:u},Fc=!1,zn=i;zn!==null;)if(i=zn,r=i.child,(i.subtreeFlags&1024)!==0&&r!==null)r.return=i,zn=r;else for(;zn!==null;){switch(i=zn,g=i.alternate,r=i.flags,i.tag){case 0:break;case 11:case 15:break;case 1:if((r&1024)!==0&&g!==null){r=void 0,u=i,m=g.memoizedProps,g=g.memoizedState,c=u.stateNode;try{var dt=Ss(u.type,m,u.elementType===u.type);r=c.getSnapshotBeforeUpdate(dt,g),c.__reactInternalSnapshotBeforeUpdate=r}catch(lt){Vt(u,u.return,lt)}}break;case 3:if((r&1024)!==0){if(r=i.stateNode.containerInfo,u=r.nodeType,u===9)ah(r);else if(u===1)switch(r.nodeName){case"HEAD":case"HTML":case"BODY":ah(r);break;default:r.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((r&1024)!==0)throw Error(a(163))}if(r=i.sibling,r!==null){r.return=i.return,zn=r;break}zn=i.return}}function S2(r,i,u){var c=u.flags;switch(u.tag){case 0:case 11:case 15:Ci(r,u),c&4&&Au(5,u);break;case 1:if(Ci(r,u),c&4)if(r=u.stateNode,i===null)try{r.componentDidMount()}catch(S){Vt(u,u.return,S)}else{var m=Ss(u.type,i.memoizedProps);i=i.memoizedState;try{r.componentDidUpdate(m,i,r.__reactInternalSnapshotBeforeUpdate)}catch(S){Vt(u,u.return,S)}}c&64&&b2(u),c&512&&wu(u,u.return);break;case 3:if(Ci(r,u),c&64&&(r=u.updateQueue,r!==null)){if(i=null,u.child!==null)switch(u.child.tag){case 27:case 5:i=u.child.stateNode;break;case 1:i=u.child.stateNode}try{ag(r,i)}catch(S){Vt(u,u.return,S)}}break;case 27:i===null&&c&4&&T2(u);case 26:case 5:Ci(r,u),i===null&&c&4&&y2(u),c&512&&wu(u,u.return);break;case 12:Ci(r,u);break;case 13:Ci(r,u),c&4&&w2(r,u),c&64&&(r=u.memoizedState,r!==null&&(r=r.dehydrated,r!==null&&(u=Y8.bind(null,u),lv(r,u))));break;case 22:if(c=u.memoizedState!==null||Wa,!c){i=i!==null&&i.memoizedState!==null||Tn,m=Wa;var g=Tn;Wa=c,(Tn=i)&&!g?Ni(r,u,(u.subtreeFlags&8772)!==0):Ci(r,u),Wa=m,Tn=g}break;case 30:break;default:Ci(r,u)}}function x2(r){var i=r.alternate;i!==null&&(r.alternate=null,x2(i)),r.child=null,r.deletions=null,r.sibling=null,r.tag===5&&(i=r.stateNode,i!==null&&is(i)),r.stateNode=null,r.return=null,r.dependencies=null,r.memoizedProps=null,r.memoizedState=null,r.pendingProps=null,r.stateNode=null,r.updateQueue=null}var rn=null,br=!1;function Qa(r,i,u){for(u=u.child;u!==null;)A2(r,i,u),u=u.sibling}function A2(r,i,u){if(Se&&typeof Se.onCommitFiberUnmount=="function")try{Se.onCommitFiberUnmount(de,u)}catch{}switch(u.tag){case 26:Tn||va(u,i),Qa(r,i,u),u.memoizedState?u.memoizedState.count--:u.stateNode&&(u=u.stateNode,u.parentNode.removeChild(u));break;case 27:Tn||va(u,i);var c=rn,m=br;Li(u.type)&&(rn=u.stateNode,br=!1),Qa(r,i,u),Lu(u.stateNode),rn=c,br=m;break;case 5:Tn||va(u,i);case 6:if(c=rn,m=br,rn=null,Qa(r,i,u),rn=c,br=m,rn!==null)if(br)try{(rn.nodeType===9?rn.body:rn.nodeName==="HTML"?rn.ownerDocument.body:rn).removeChild(u.stateNode)}catch(g){Vt(u,i,g)}else try{rn.removeChild(u.stateNode)}catch(g){Vt(u,i,g)}break;case 18:rn!==null&&(br?(r=rn,h4(r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r,u.stateNode),Yu(r)):h4(rn,u.stateNode));break;case 4:c=rn,m=br,rn=u.stateNode.containerInfo,br=!0,Qa(r,i,u),rn=c,br=m;break;case 0:case 11:case 14:case 15:Tn||ki(2,u,i),Tn||ki(4,u,i),Qa(r,i,u);break;case 1:Tn||(va(u,i),c=u.stateNode,typeof c.componentWillUnmount=="function"&&E2(u,i,c)),Qa(r,i,u);break;case 21:Qa(r,i,u);break;case 22:Tn=(c=Tn)||u.memoizedState!==null,Qa(r,i,u),Tn=c;break;default:Qa(r,i,u)}}function w2(r,i){if(i.memoizedState===null&&(r=i.alternate,r!==null&&(r=r.memoizedState,r!==null&&(r=r.dehydrated,r!==null))))try{Yu(r)}catch(u){Vt(i,i.return,u)}}function L8(r){switch(r.tag){case 13:case 19:var i=r.stateNode;return i===null&&(i=r.stateNode=new _2),i;case 22:return r=r.stateNode,i=r._retryCache,i===null&&(i=r._retryCache=new _2),i;default:throw Error(a(435,r.tag))}}function Mf(r,i){var u=L8(r);i.forEach(function(c){var m=G8.bind(null,r,c);u.has(c)||(u.add(c),c.then(m,m))})}function Or(r,i){var u=i.deletions;if(u!==null)for(var c=0;c<u.length;c++){var m=u[c],g=r,S=i,N=S;e:for(;N!==null;){switch(N.tag){case 27:if(Li(N.type)){rn=N.stateNode,br=!1;break e}break;case 5:rn=N.stateNode,br=!1;break e;case 3:case 4:rn=N.stateNode.containerInfo,br=!0;break e}N=N.return}if(rn===null)throw Error(a(160));A2(g,S,m),rn=null,br=!1,g=m.alternate,g!==null&&(g.return=null),m.return=null}if(i.subtreeFlags&13878)for(i=i.child;i!==null;)k2(i,r),i=i.sibling}var ca=null;function k2(r,i){var u=r.alternate,c=r.flags;switch(r.tag){case 0:case 11:case 14:case 15:Or(i,r),Mr(r),c&4&&(ki(3,r,r.return),Au(3,r),ki(5,r,r.return));break;case 1:Or(i,r),Mr(r),c&512&&(Tn||u===null||va(u,u.return)),c&64&&Wa&&(r=r.updateQueue,r!==null&&(c=r.callbacks,c!==null&&(u=r.shared.hiddenCallbacks,r.shared.hiddenCallbacks=u===null?c:u.concat(c))));break;case 26:var m=ca;if(Or(i,r),Mr(r),c&512&&(Tn||u===null||va(u,u.return)),c&4){var g=u!==null?u.memoizedState:null;if(c=r.memoizedState,u===null)if(c===null)if(r.stateNode===null){e:{c=r.type,u=r.memoizedProps,m=m.ownerDocument||m;t:switch(c){case"title":g=m.getElementsByTagName("title")[0],(!g||g[as]||g[Le]||g.namespaceURI==="http://www.w3.org/2000/svg"||g.hasAttribute("itemprop"))&&(g=m.createElement(c),m.head.insertBefore(g,m.querySelector("head > title"))),Vn(g,c,u),g[Le]=r,on(g),c=g;break e;case"link":var S=T4("link","href",m).get(c+(u.href||""));if(S){for(var N=0;N<S.length;N++)if(g=S[N],g.getAttribute("href")===(u.href==null||u.href===""?null:u.href)&&g.getAttribute("rel")===(u.rel==null?null:u.rel)&&g.getAttribute("title")===(u.title==null?null:u.title)&&g.getAttribute("crossorigin")===(u.crossOrigin==null?null:u.crossOrigin)){S.splice(N,1);break t}}g=m.createElement(c),Vn(g,c,u),m.head.appendChild(g);break;case"meta":if(S=T4("meta","content",m).get(c+(u.content||""))){for(N=0;N<S.length;N++)if(g=S[N],g.getAttribute("content")===(u.content==null?null:""+u.content)&&g.getAttribute("name")===(u.name==null?null:u.name)&&g.getAttribute("property")===(u.property==null?null:u.property)&&g.getAttribute("http-equiv")===(u.httpEquiv==null?null:u.httpEquiv)&&g.getAttribute("charset")===(u.charSet==null?null:u.charSet)){S.splice(N,1);break t}}g=m.createElement(c),Vn(g,c,u),m.head.appendChild(g);break;default:throw Error(a(468,c))}g[Le]=r,on(g),c=g}r.stateNode=c}else _4(m,r.type,r.stateNode);else r.stateNode=v4(m,c,r.memoizedProps);else g!==c?(g===null?u.stateNode!==null&&(u=u.stateNode,u.parentNode.removeChild(u)):g.count--,c===null?_4(m,r.type,r.stateNode):v4(m,c,r.memoizedProps)):c===null&&r.stateNode!==null&&kf(r,r.memoizedProps,u.memoizedProps)}break;case 27:Or(i,r),Mr(r),c&512&&(Tn||u===null||va(u,u.return)),u!==null&&c&4&&kf(r,r.memoizedProps,u.memoizedProps);break;case 5:if(Or(i,r),Mr(r),c&512&&(Tn||u===null||va(u,u.return)),r.flags&32){m=r.stateNode;try{ba(m,"")}catch(oe){Vt(r,r.return,oe)}}c&4&&r.stateNode!=null&&(m=r.memoizedProps,kf(r,m,u!==null?u.memoizedProps:m)),c&1024&&(Of=!0);break;case 6:if(Or(i,r),Mr(r),c&4){if(r.stateNode===null)throw Error(a(162));c=r.memoizedProps,u=r.stateNode;try{u.nodeValue=c}catch(oe){Vt(r,r.return,oe)}}break;case 3:if(Pc=null,m=ca,ca=Lc(i.containerInfo),Or(i,r),ca=m,Mr(r),c&4&&u!==null&&u.memoizedState.isDehydrated)try{Yu(i.containerInfo)}catch(oe){Vt(r,r.return,oe)}Of&&(Of=!1,C2(r));break;case 4:c=ca,ca=Lc(r.stateNode.containerInfo),Or(i,r),Mr(r),ca=c;break;case 12:Or(i,r),Mr(r);break;case 13:Or(i,r),Mr(r),r.child.flags&8192&&r.memoizedState!==null!=(u!==null&&u.memoizedState!==null)&&(Pf=Ot()),c&4&&(c=r.updateQueue,c!==null&&(r.updateQueue=null,Mf(r,c)));break;case 22:m=r.memoizedState!==null;var H=u!==null&&u.memoizedState!==null,ie=Wa,ge=Tn;if(Wa=ie||m,Tn=ge||H,Or(i,r),Tn=ge,Wa=ie,Mr(r),c&8192)e:for(i=r.stateNode,i._visibility=m?i._visibility&-2:i._visibility|1,m&&(u===null||H||Wa||Tn||xs(r)),u=null,i=r;;){if(i.tag===5||i.tag===26){if(u===null){H=u=i;try{if(g=H.stateNode,m)S=g.style,typeof S.setProperty=="function"?S.setProperty("display","none","important"):S.display="none";else{N=H.stateNode;var Te=H.memoizedProps.style,le=Te!=null&&Te.hasOwnProperty("display")?Te.display:null;N.style.display=le==null||typeof le=="boolean"?"":(""+le).trim()}}catch(oe){Vt(H,H.return,oe)}}}else if(i.tag===6){if(u===null){H=i;try{H.stateNode.nodeValue=m?"":H.memoizedProps}catch(oe){Vt(H,H.return,oe)}}}else if((i.tag!==22&&i.tag!==23||i.memoizedState===null||i===r)&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===r)break e;for(;i.sibling===null;){if(i.return===null||i.return===r)break e;u===i&&(u=null),i=i.return}u===i&&(u=null),i.sibling.return=i.return,i=i.sibling}c&4&&(c=r.updateQueue,c!==null&&(u=c.retryQueue,u!==null&&(c.retryQueue=null,Mf(r,u))));break;case 19:Or(i,r),Mr(r),c&4&&(c=r.updateQueue,c!==null&&(r.updateQueue=null,Mf(r,c)));break;case 30:break;case 21:break;default:Or(i,r),Mr(r)}}function Mr(r){var i=r.flags;if(i&2){try{for(var u,c=r.return;c!==null;){if(v2(c)){u=c;break}c=c.return}if(u==null)throw Error(a(160));switch(u.tag){case 27:var m=u.stateNode,g=Cf(r);_c(r,g,m);break;case 5:var S=u.stateNode;u.flags&32&&(ba(S,""),u.flags&=-33);var N=Cf(r);_c(r,N,S);break;case 3:case 4:var H=u.stateNode.containerInfo,ie=Cf(r);Nf(r,ie,H);break;default:throw Error(a(161))}}catch(ge){Vt(r,r.return,ge)}r.flags&=-3}i&4096&&(r.flags&=-4097)}function C2(r){if(r.subtreeFlags&1024)for(r=r.child;r!==null;){var i=r;C2(i),i.tag===5&&i.flags&1024&&i.stateNode.reset(),r=r.sibling}}function Ci(r,i){if(i.subtreeFlags&8772)for(i=i.child;i!==null;)S2(r,i.alternate,i),i=i.sibling}function xs(r){for(r=r.child;r!==null;){var i=r;switch(i.tag){case 0:case 11:case 14:case 15:ki(4,i,i.return),xs(i);break;case 1:va(i,i.return);var u=i.stateNode;typeof u.componentWillUnmount=="function"&&E2(i,i.return,u),xs(i);break;case 27:Lu(i.stateNode);case 26:case 5:va(i,i.return),xs(i);break;case 22:i.memoizedState===null&&xs(i);break;case 30:xs(i);break;default:xs(i)}r=r.sibling}}function Ni(r,i,u){for(u=u&&(i.subtreeFlags&8772)!==0,i=i.child;i!==null;){var c=i.alternate,m=r,g=i,S=g.flags;switch(g.tag){case 0:case 11:case 15:Ni(m,g,u),Au(4,g);break;case 1:if(Ni(m,g,u),c=g,m=c.stateNode,typeof m.componentDidMount=="function")try{m.componentDidMount()}catch(ie){Vt(c,c.return,ie)}if(c=g,m=c.updateQueue,m!==null){var N=c.stateNode;try{var H=m.shared.hiddenCallbacks;if(H!==null)for(m.shared.hiddenCallbacks=null,m=0;m<H.length;m++)rg(H[m],N)}catch(ie){Vt(c,c.return,ie)}}u&&S&64&&b2(g),wu(g,g.return);break;case 27:T2(g);case 26:case 5:Ni(m,g,u),u&&c===null&&S&4&&y2(g),wu(g,g.return);break;case 12:Ni(m,g,u);break;case 13:Ni(m,g,u),u&&S&4&&w2(m,g);break;case 22:g.memoizedState===null&&Ni(m,g,u),wu(g,g.return);break;case 30:break;default:Ni(m,g,u)}i=i.sibling}}function Rf(r,i){var u=null;r!==null&&r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(u=r.memoizedState.cachePool.pool),r=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(r=i.memoizedState.cachePool.pool),r!==u&&(r!=null&&r.refCount++,u!=null&&du(u))}function Df(r,i){r=null,i.alternate!==null&&(r=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==r&&(i.refCount++,r!=null&&du(r))}function Ta(r,i,u,c){if(i.subtreeFlags&10256)for(i=i.child;i!==null;)N2(r,i,u,c),i=i.sibling}function N2(r,i,u,c){var m=i.flags;switch(i.tag){case 0:case 11:case 15:Ta(r,i,u,c),m&2048&&Au(9,i);break;case 1:Ta(r,i,u,c);break;case 3:Ta(r,i,u,c),m&2048&&(r=null,i.alternate!==null&&(r=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==r&&(i.refCount++,r!=null&&du(r)));break;case 12:if(m&2048){Ta(r,i,u,c),r=i.stateNode;try{var g=i.memoizedProps,S=g.id,N=g.onPostCommit;typeof N=="function"&&N(S,i.alternate===null?"mount":"update",r.passiveEffectDuration,-0)}catch(H){Vt(i,i.return,H)}}else Ta(r,i,u,c);break;case 13:Ta(r,i,u,c);break;case 23:break;case 22:g=i.stateNode,S=i.alternate,i.memoizedState!==null?g._visibility&2?Ta(r,i,u,c):ku(r,i):g._visibility&2?Ta(r,i,u,c):(g._visibility|=2,rl(r,i,u,c,(i.subtreeFlags&10256)!==0)),m&2048&&Rf(S,i);break;case 24:Ta(r,i,u,c),m&2048&&Df(i.alternate,i);break;default:Ta(r,i,u,c)}}function rl(r,i,u,c,m){for(m=m&&(i.subtreeFlags&10256)!==0,i=i.child;i!==null;){var g=r,S=i,N=u,H=c,ie=S.flags;switch(S.tag){case 0:case 11:case 15:rl(g,S,N,H,m),Au(8,S);break;case 23:break;case 22:var ge=S.stateNode;S.memoizedState!==null?ge._visibility&2?rl(g,S,N,H,m):ku(g,S):(ge._visibility|=2,rl(g,S,N,H,m)),m&&ie&2048&&Rf(S.alternate,S);break;case 24:rl(g,S,N,H,m),m&&ie&2048&&Df(S.alternate,S);break;default:rl(g,S,N,H,m)}i=i.sibling}}function ku(r,i){if(i.subtreeFlags&10256)for(i=i.child;i!==null;){var u=r,c=i,m=c.flags;switch(c.tag){case 22:ku(u,c),m&2048&&Rf(c.alternate,c);break;case 24:ku(u,c),m&2048&&Df(c.alternate,c);break;default:ku(u,c)}i=i.sibling}}var Cu=8192;function al(r){if(r.subtreeFlags&Cu)for(r=r.child;r!==null;)O2(r),r=r.sibling}function O2(r){switch(r.tag){case 26:al(r),r.flags&Cu&&r.memoizedState!==null&&vv(ca,r.memoizedState,r.memoizedProps);break;case 5:al(r);break;case 3:case 4:var i=ca;ca=Lc(r.stateNode.containerInfo),al(r),ca=i;break;case 22:r.memoizedState===null&&(i=r.alternate,i!==null&&i.memoizedState!==null?(i=Cu,Cu=16777216,al(r),Cu=i):al(r));break;default:al(r)}}function M2(r){var i=r.alternate;if(i!==null&&(r=i.child,r!==null)){i.child=null;do i=r.sibling,r.sibling=null,r=i;while(r!==null)}}function Nu(r){var i=r.deletions;if((r.flags&16)!==0){if(i!==null)for(var u=0;u<i.length;u++){var c=i[u];zn=c,D2(c,r)}M2(r)}if(r.subtreeFlags&10256)for(r=r.child;r!==null;)R2(r),r=r.sibling}function R2(r){switch(r.tag){case 0:case 11:case 15:Nu(r),r.flags&2048&&ki(9,r,r.return);break;case 3:Nu(r);break;case 12:Nu(r);break;case 22:var i=r.stateNode;r.memoizedState!==null&&i._visibility&2&&(r.return===null||r.return.tag!==13)?(i._visibility&=-3,Sc(r)):Nu(r);break;default:Nu(r)}}function Sc(r){var i=r.deletions;if((r.flags&16)!==0){if(i!==null)for(var u=0;u<i.length;u++){var c=i[u];zn=c,D2(c,r)}M2(r)}for(r=r.child;r!==null;){switch(i=r,i.tag){case 0:case 11:case 15:ki(8,i,i.return),Sc(i);break;case 22:u=i.stateNode,u._visibility&2&&(u._visibility&=-3,Sc(i));break;default:Sc(i)}r=r.sibling}}function D2(r,i){for(;zn!==null;){var u=zn;switch(u.tag){case 0:case 11:case 15:ki(8,u,i);break;case 23:case 22:if(u.memoizedState!==null&&u.memoizedState.cachePool!==null){var c=u.memoizedState.cachePool.pool;c!=null&&c.refCount++}break;case 24:du(u.memoizedState.cache)}if(c=u.child,c!==null)c.return=u,zn=c;else e:for(u=r;zn!==null;){c=zn;var m=c.sibling,g=c.return;if(x2(c),c===u){zn=null;break e}if(m!==null){m.return=g,zn=m;break e}zn=g}}}var B8={getCacheForType:function(r){var i=Xn(Dn),u=i.data.get(r);return u===void 0&&(u=r(),i.data.set(r,u)),u}},P8=typeof WeakMap=="function"?WeakMap:Map,Ft=0,Xt=null,kt=null,Mt=0,Ht=0,Rr=null,Oi=!1,il=!1,If=!1,Za=0,bn=0,Mi=0,As=0,Lf=0,$r=0,sl=0,Ou=null,Er=null,Bf=!1,Pf=0,xc=1/0,Ac=null,Ri=null,jn=0,Di=null,ll=null,ul=0,Uf=0,zf=null,I2=null,Mu=0,Ff=null;function Dr(){if((Ft&2)!==0&&Mt!==0)return Mt&-Mt;if($.T!==null){var r=Xs;return r!==0?r:Kf()}return tn()}function L2(){$r===0&&($r=(Mt&536870912)===0||Pt?jl():536870912);var r=Kr.current;return r!==null&&(r.flags|=32),$r}function Ir(r,i,u){(r===Xt&&(Ht===2||Ht===9)||r.cancelPendingCommit!==null)&&(ol(r,0),Ii(r,Mt,$r,!1)),hi(r,u),((Ft&2)===0||r!==Xt)&&(r===Xt&&((Ft&2)===0&&(As|=u),bn===4&&Ii(r,Mt,$r,!1)),_a(r))}function B2(r,i,u){if((Ft&6)!==0)throw Error(a(327));var c=!u&&(i&124)===0&&(i&r.expiredLanes)===0||hr(r,i),m=c?F8(r,i):Yf(r,i,!0),g=c;do{if(m===0){il&&!c&&Ii(r,i,0,!1);break}else{if(u=r.current.alternate,g&&!U8(u)){m=Yf(r,i,!1),g=!1;continue}if(m===2){if(g=i,r.errorRecoveryDisabledLanes&g)var S=0;else S=r.pendingLanes&-536870913,S=S!==0?S:S&536870912?536870912:0;if(S!==0){i=S;e:{var N=r;m=Ou;var H=N.current.memoizedState.isDehydrated;if(H&&(ol(N,S).flags|=256),S=Yf(N,S,!1),S!==2){if(If&&!H){N.errorRecoveryDisabledLanes|=g,As|=g,m=4;break e}g=Er,Er=m,g!==null&&(Er===null?Er=g:Er.push.apply(Er,g))}m=S}if(g=!1,m!==2)continue}}if(m===1){ol(r,0),Ii(r,i,0,!0);break}e:{switch(c=r,g=m,g){case 0:case 1:throw Error(a(345));case 4:if((i&4194048)!==i)break;case 6:Ii(c,i,$r,!Oi);break e;case 2:Er=null;break;case 3:case 5:break;default:throw Error(a(329))}if((i&62914560)===i&&(m=Pf+300-Ot(),10<m)){if(Ii(c,i,$r,!Oi),xn(c,0,!0)!==0)break e;c.timeoutHandle=d4(P2.bind(null,c,u,Er,Ac,Bf,i,$r,As,sl,Oi,g,2,-0,0),m);break e}P2(c,u,Er,Ac,Bf,i,$r,As,sl,Oi,g,0,-0,0)}}break}while(!0);_a(r)}function P2(r,i,u,c,m,g,S,N,H,ie,ge,Te,le,oe){if(r.timeoutHandle=-1,Te=i.subtreeFlags,(Te&8192||(Te&16785408)===16785408)&&(Uu={stylesheets:null,count:0,unsuspend:yv},O2(i),Te=Tv(),Te!==null)){r.cancelPendingCommit=Te(G2.bind(null,r,i,g,u,c,m,S,N,H,ge,1,le,oe)),Ii(r,g,S,!ie);return}G2(r,i,g,u,c,m,S,N,H)}function U8(r){for(var i=r;;){var u=i.tag;if((u===0||u===11||u===15)&&i.flags&16384&&(u=i.updateQueue,u!==null&&(u=u.stores,u!==null)))for(var c=0;c<u.length;c++){var m=u[c],g=m.getSnapshot;m=m.value;try{if(!Cr(g(),m))return!1}catch{return!1}}if(u=i.child,i.subtreeFlags&16384&&u!==null)u.return=i,i=u;else{if(i===r)break;for(;i.sibling===null;){if(i.return===null||i.return===r)return!0;i=i.return}i.sibling.return=i.return,i=i.sibling}}return!0}function Ii(r,i,u,c){i&=~Lf,i&=~As,r.suspendedLanes|=i,r.pingedLanes&=~i,c&&(r.warmLanes|=i),c=r.expirationTimes;for(var m=i;0<m;){var g=31-et(m),S=1<<g;c[g]=-1,m&=~S}u!==0&&q(r,u,i)}function wc(){return(Ft&6)===0?(Ru(0),!1):!0}function Hf(){if(kt!==null){if(Ht===0)var r=kt.return;else r=kt,Ga=ys=null,rf(r),tl=null,_u=0,r=kt;for(;r!==null;)g2(r.alternate,r),r=r.return;kt=null}}function ol(r,i){var u=r.timeoutHandle;u!==-1&&(r.timeoutHandle=-1,nv(u)),u=r.cancelPendingCommit,u!==null&&(r.cancelPendingCommit=null,u()),Hf(),Xt=r,kt=u=Ha(r.current,null),Mt=i,Ht=0,Rr=null,Oi=!1,il=hr(r,i),If=!1,sl=$r=Lf=As=Mi=bn=0,Er=Ou=null,Bf=!1,(i&8)!==0&&(i|=i&32);var c=r.entangledLanes;if(c!==0)for(r=r.entanglements,c&=i;0<c;){var m=31-et(c),g=1<<m;i|=r[m],c&=~g}return Za=i,$o(),u}function U2(r,i){_t=null,$.H=hc,i===hu||i===rc?(i=tg(),Ht=3):i===Zp?(i=tg(),Ht=4):Ht=i===n2?8:i!==null&&typeof i=="object"&&typeof i.then=="function"?6:1,Rr=i,kt===null&&(bn=1,Ec(r,Yr(i,r.current)))}function z2(){var r=$.H;return $.H=hc,r===null?hc:r}function F2(){var r=$.A;return $.A=B8,r}function qf(){bn=4,Oi||(Mt&4194048)!==Mt&&Kr.current!==null||(il=!0),(Mi&134217727)===0&&(As&134217727)===0||Xt===null||Ii(Xt,Mt,$r,!1)}function Yf(r,i,u){var c=Ft;Ft|=2;var m=z2(),g=F2();(Xt!==r||Mt!==i)&&(Ac=null,ol(r,i)),i=!1;var S=bn;e:do try{if(Ht!==0&&kt!==null){var N=kt,H=Rr;switch(Ht){case 8:Hf(),S=6;break e;case 3:case 2:case 9:case 6:Kr.current===null&&(i=!0);var ie=Ht;if(Ht=0,Rr=null,cl(r,N,H,ie),u&&il){S=0;break e}break;default:ie=Ht,Ht=0,Rr=null,cl(r,N,H,ie)}}z8(),S=bn;break}catch(ge){U2(r,ge)}while(!0);return i&&r.shellSuspendCounter++,Ga=ys=null,Ft=c,$.H=m,$.A=g,kt===null&&(Xt=null,Mt=0,$o()),S}function z8(){for(;kt!==null;)H2(kt)}function F8(r,i){var u=Ft;Ft|=2;var c=z2(),m=F2();Xt!==r||Mt!==i?(Ac=null,xc=Ot()+500,ol(r,i)):il=hr(r,i);e:do try{if(Ht!==0&&kt!==null){i=kt;var g=Rr;t:switch(Ht){case 1:Ht=0,Rr=null,cl(r,i,g,1);break;case 2:case 9:if(Jp(g)){Ht=0,Rr=null,q2(i);break}i=function(){Ht!==2&&Ht!==9||Xt!==r||(Ht=7),_a(r)},g.then(i,i);break e;case 3:Ht=7;break e;case 4:Ht=5;break e;case 7:Jp(g)?(Ht=0,Rr=null,q2(i)):(Ht=0,Rr=null,cl(r,i,g,7));break;case 5:var S=null;switch(kt.tag){case 26:S=kt.memoizedState;case 5:case 27:var N=kt;if(!S||S4(S)){Ht=0,Rr=null;var H=N.sibling;if(H!==null)kt=H;else{var ie=N.return;ie!==null?(kt=ie,kc(ie)):kt=null}break t}}Ht=0,Rr=null,cl(r,i,g,5);break;case 6:Ht=0,Rr=null,cl(r,i,g,6);break;case 8:Hf(),bn=6;break e;default:throw Error(a(462))}}H8();break}catch(ge){U2(r,ge)}while(!0);return Ga=ys=null,$.H=c,$.A=m,Ft=u,kt!==null?0:(Xt=null,Mt=0,$o(),bn)}function H8(){for(;kt!==null&&!ot();)H2(kt)}function H2(r){var i=m2(r.alternate,r,Za);r.memoizedProps=r.pendingProps,i===null?kc(r):kt=i}function q2(r){var i=r,u=i.alternate;switch(i.tag){case 15:case 0:i=u2(u,i,i.pendingProps,i.type,void 0,Mt);break;case 11:i=u2(u,i,i.pendingProps,i.type.render,i.ref,Mt);break;case 5:rf(i);default:g2(u,i),i=kt=Yp(i,Za),i=m2(u,i,Za)}r.memoizedProps=r.pendingProps,i===null?kc(r):kt=i}function cl(r,i,u,c){Ga=ys=null,rf(i),tl=null,_u=0;var m=i.return;try{if(O8(r,m,i,u,Mt)){bn=1,Ec(r,Yr(u,r.current)),kt=null;return}}catch(g){if(m!==null)throw kt=m,g;bn=1,Ec(r,Yr(u,r.current)),kt=null;return}i.flags&32768?(Pt||c===1?r=!0:il||(Mt&536870912)!==0?r=!1:(Oi=r=!0,(c===2||c===9||c===3||c===6)&&(c=Kr.current,c!==null&&c.tag===13&&(c.flags|=16384))),Y2(i,r)):kc(i)}function kc(r){var i=r;do{if((i.flags&32768)!==0){Y2(i,Oi);return}r=i.return;var u=R8(i.alternate,i,Za);if(u!==null){kt=u;return}if(i=i.sibling,i!==null){kt=i;return}kt=i=r}while(i!==null);bn===0&&(bn=5)}function Y2(r,i){do{var u=D8(r.alternate,r);if(u!==null){u.flags&=32767,kt=u;return}if(u=r.return,u!==null&&(u.flags|=32768,u.subtreeFlags=0,u.deletions=null),!i&&(r=r.sibling,r!==null)){kt=r;return}kt=r=u}while(r!==null);bn=6,kt=null}function G2(r,i,u,c,m,g,S,N,H){r.cancelPendingCommit=null;do Cc();while(jn!==0);if((Ft&6)!==0)throw Error(a(327));if(i!==null){if(i===r.current)throw Error(a(177));if(g=i.lanes|i.childLanes,g|=Rd,mi(r,u,g,S,N,H),r===Xt&&(kt=Xt=null,Mt=0),ll=i,Di=r,ul=u,Uf=g,zf=m,I2=c,(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0?(r.callbackNode=null,r.callbackPriority=0,j8(Pn,function(){return X2(),null})):(r.callbackNode=null,r.callbackPriority=0),c=(i.flags&13878)!==0,(i.subtreeFlags&13878)!==0||c){c=$.T,$.T=null,m=fe.p,fe.p=2,S=Ft,Ft|=4;try{I8(r,i,u)}finally{Ft=S,fe.p=m,$.T=c}}jn=1,j2(),V2(),K2()}}function j2(){if(jn===1){jn=0;var r=Di,i=ll,u=(i.flags&13878)!==0;if((i.subtreeFlags&13878)!==0||u){u=$.T,$.T=null;var c=fe.p;fe.p=2;var m=Ft;Ft|=4;try{k2(i,r);var g=th,S=Dp(r.containerInfo),N=g.focusedElem,H=g.selectionRange;if(S!==N&&N&&N.ownerDocument&&Rp(N.ownerDocument.documentElement,N)){if(H!==null&&kd(N)){var ie=H.start,ge=H.end;if(ge===void 0&&(ge=ie),"selectionStart"in N)N.selectionStart=ie,N.selectionEnd=Math.min(ge,N.value.length);else{var Te=N.ownerDocument||document,le=Te&&Te.defaultView||window;if(le.getSelection){var oe=le.getSelection(),dt=N.textContent.length,lt=Math.min(H.start,dt),Gt=H.end===void 0?lt:Math.min(H.end,dt);!oe.extend&&lt>Gt&&(S=Gt,Gt=lt,lt=S);var W=Mp(N,lt),V=Mp(N,Gt);if(W&&V&&(oe.rangeCount!==1||oe.anchorNode!==W.node||oe.anchorOffset!==W.offset||oe.focusNode!==V.node||oe.focusOffset!==V.offset)){var ne=Te.createRange();ne.setStart(W.node,W.offset),oe.removeAllRanges(),lt>Gt?(oe.addRange(ne),oe.extend(V.node,V.offset)):(ne.setEnd(V.node,V.offset),oe.addRange(ne))}}}}for(Te=[],oe=N;oe=oe.parentNode;)oe.nodeType===1&&Te.push({element:oe,left:oe.scrollLeft,top:oe.scrollTop});for(typeof N.focus=="function"&&N.focus(),N=0;N<Te.length;N++){var ve=Te[N];ve.element.scrollLeft=ve.left,ve.element.scrollTop=ve.top}}Fc=!!eh,th=eh=null}finally{Ft=m,fe.p=c,$.T=u}}r.current=i,jn=2}}function V2(){if(jn===2){jn=0;var r=Di,i=ll,u=(i.flags&8772)!==0;if((i.subtreeFlags&8772)!==0||u){u=$.T,$.T=null;var c=fe.p;fe.p=2;var m=Ft;Ft|=4;try{S2(r,i.alternate,i)}finally{Ft=m,fe.p=c,$.T=u}}jn=3}}function K2(){if(jn===4||jn===3){jn=0,We();var r=Di,i=ll,u=ul,c=I2;(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0?jn=5:(jn=0,ll=Di=null,$2(r,r.pendingLanes));var m=r.pendingLanes;if(m===0&&(Ri=null),ct(u),i=i.stateNode,Se&&typeof Se.onCommitFiberRoot=="function")try{Se.onCommitFiberRoot(de,i,void 0,(i.current.flags&128)===128)}catch{}if(c!==null){i=$.T,m=fe.p,fe.p=2,$.T=null;try{for(var g=r.onRecoverableError,S=0;S<c.length;S++){var N=c[S];g(N.value,{componentStack:N.stack})}}finally{$.T=i,fe.p=m}}(ul&3)!==0&&Cc(),_a(r),m=r.pendingLanes,(u&4194090)!==0&&(m&42)!==0?r===Ff?Mu++:(Mu=0,Ff=r):Mu=0,Ru(0)}}function $2(r,i){(r.pooledCacheLanes&=i)===0&&(i=r.pooledCache,i!=null&&(r.pooledCache=null,du(i)))}function Cc(r){return j2(),V2(),K2(),X2()}function X2(){if(jn!==5)return!1;var r=Di,i=Uf;Uf=0;var u=ct(ul),c=$.T,m=fe.p;try{fe.p=32>u?32:u,$.T=null,u=zf,zf=null;var g=Di,S=ul;if(jn=0,ll=Di=null,ul=0,(Ft&6)!==0)throw Error(a(331));var N=Ft;if(Ft|=4,R2(g.current),N2(g,g.current,S,u),Ft=N,Ru(0,!1),Se&&typeof Se.onPostCommitFiberRoot=="function")try{Se.onPostCommitFiberRoot(de,g)}catch{}return!0}finally{fe.p=m,$.T=c,$2(r,i)}}function W2(r,i,u){i=Yr(u,i),i=Ef(r.stateNode,i,2),r=Si(r,i,2),r!==null&&(hi(r,2),_a(r))}function Vt(r,i,u){if(r.tag===3)W2(r,r,u);else for(;i!==null;){if(i.tag===3){W2(i,r,u);break}else if(i.tag===1){var c=i.stateNode;if(typeof i.type.getDerivedStateFromError=="function"||typeof c.componentDidCatch=="function"&&(Ri===null||!Ri.has(c))){r=Yr(u,r),u=e2(2),c=Si(i,u,2),c!==null&&(t2(u,c,i,r),hi(c,2),_a(c));break}}i=i.return}}function Gf(r,i,u){var c=r.pingCache;if(c===null){c=r.pingCache=new P8;var m=new Set;c.set(i,m)}else m=c.get(i),m===void 0&&(m=new Set,c.set(i,m));m.has(u)||(If=!0,m.add(u),r=q8.bind(null,r,i,u),i.then(r,r))}function q8(r,i,u){var c=r.pingCache;c!==null&&c.delete(i),r.pingedLanes|=r.suspendedLanes&u,r.warmLanes&=~u,Xt===r&&(Mt&u)===u&&(bn===4||bn===3&&(Mt&62914560)===Mt&&300>Ot()-Pf?(Ft&2)===0&&ol(r,0):Lf|=u,sl===Mt&&(sl=0)),_a(r)}function Q2(r,i){i===0&&(i=Vl()),r=js(r,i),r!==null&&(hi(r,i),_a(r))}function Y8(r){var i=r.memoizedState,u=0;i!==null&&(u=i.retryLane),Q2(r,u)}function G8(r,i){var u=0;switch(r.tag){case 13:var c=r.stateNode,m=r.memoizedState;m!==null&&(u=m.retryLane);break;case 19:c=r.stateNode;break;case 22:c=r.stateNode._retryCache;break;default:throw Error(a(314))}c!==null&&c.delete(i),Q2(r,u)}function j8(r,i){return Ke(r,i)}var Nc=null,dl=null,jf=!1,Oc=!1,Vf=!1,ws=0;function _a(r){r!==dl&&r.next===null&&(dl===null?Nc=dl=r:dl=dl.next=r),Oc=!0,jf||(jf=!0,K8())}function Ru(r,i){if(!Vf&&Oc){Vf=!0;do for(var u=!1,c=Nc;c!==null;){if(r!==0){var m=c.pendingLanes;if(m===0)var g=0;else{var S=c.suspendedLanes,N=c.pingedLanes;g=(1<<31-et(42|r)+1)-1,g&=m&~(S&~N),g=g&201326741?g&201326741|1:g?g|2:0}g!==0&&(u=!0,t4(c,g))}else g=Mt,g=xn(c,c===Xt?g:0,c.cancelPendingCommit!==null||c.timeoutHandle!==-1),(g&3)===0||hr(c,g)||(u=!0,t4(c,g));c=c.next}while(u);Vf=!1}}function V8(){Z2()}function Z2(){Oc=jf=!1;var r=0;ws!==0&&(tv()&&(r=ws),ws=0);for(var i=Ot(),u=null,c=Nc;c!==null;){var m=c.next,g=J2(c,i);g===0?(c.next=null,u===null?Nc=m:u.next=m,m===null&&(dl=u)):(u=c,(r!==0||(g&3)!==0)&&(Oc=!0)),c=m}Ru(r)}function J2(r,i){for(var u=r.suspendedLanes,c=r.pingedLanes,m=r.expirationTimes,g=r.pendingLanes&-62914561;0<g;){var S=31-et(g),N=1<<S,H=m[S];H===-1?((N&u)===0||(N&c)!==0)&&(m[S]=nr(N,i)):H<=i&&(r.expiredLanes|=N),g&=~N}if(i=Xt,u=Mt,u=xn(r,r===i?u:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),c=r.callbackNode,u===0||r===i&&(Ht===2||Ht===9)||r.cancelPendingCommit!==null)return c!==null&&c!==null&&Ve(c),r.callbackNode=null,r.callbackPriority=0;if((u&3)===0||hr(r,u)){if(i=u&-u,i===r.callbackPriority)return i;switch(c!==null&&Ve(c),ct(u)){case 2:case 8:u=en;break;case 32:u=Pn;break;case 268435456:u=ga;break;default:u=Pn}return c=e4.bind(null,r),u=Ke(u,c),r.callbackPriority=i,r.callbackNode=u,i}return c!==null&&c!==null&&Ve(c),r.callbackPriority=2,r.callbackNode=null,2}function e4(r,i){if(jn!==0&&jn!==5)return r.callbackNode=null,r.callbackPriority=0,null;var u=r.callbackNode;if(Cc()&&r.callbackNode!==u)return null;var c=Mt;return c=xn(r,r===Xt?c:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),c===0?null:(B2(r,c,i),J2(r,Ot()),r.callbackNode!=null&&r.callbackNode===u?e4.bind(null,r):null)}function t4(r,i){if(Cc())return null;B2(r,i,!0)}function K8(){rv(function(){(Ft&6)!==0?Ke(Dt,V8):Z2()})}function Kf(){return ws===0&&(ws=jl()),ws}function n4(r){return r==null||typeof r=="symbol"||typeof r=="boolean"?null:typeof r=="function"?r:Ei(""+r)}function r4(r,i){var u=i.ownerDocument.createElement("input");return u.name=i.name,u.value=i.value,r.id&&u.setAttribute("form",r.id),i.parentNode.insertBefore(u,i),r=new FormData(r),u.parentNode.removeChild(u),r}function $8(r,i,u,c,m){if(i==="submit"&&u&&u.stateNode===m){var g=n4((m[$e]||null).action),S=c.submitter;S&&(i=(i=S[$e]||null)?n4(i.formAction):S.getAttribute("formAction"),i!==null&&(g=i,S=null));var N=new jo("action","action",null,c,m);r.push({event:N,listeners:[{instance:null,listener:function(){if(c.defaultPrevented){if(ws!==0){var H=S?r4(m,S):new FormData(m);hf(u,{pending:!0,data:H,method:m.method,action:g},null,H)}}else typeof g=="function"&&(N.preventDefault(),H=S?r4(m,S):new FormData(m),hf(u,{pending:!0,data:H,method:m.method,action:g},g,H))},currentTarget:m}]})}}for(var $f=0;$f<Md.length;$f++){var Xf=Md[$f],X8=Xf.toLowerCase(),W8=Xf[0].toUpperCase()+Xf.slice(1);oa(X8,"on"+W8)}oa(Bp,"onAnimationEnd"),oa(Pp,"onAnimationIteration"),oa(Up,"onAnimationStart"),oa("dblclick","onDoubleClick"),oa("focusin","onFocus"),oa("focusout","onBlur"),oa(h8,"onTransitionRun"),oa(m8,"onTransitionStart"),oa(p8,"onTransitionCancel"),oa(zp,"onTransitionEnd"),rr("onMouseEnter",["mouseout","mouseover"]),rr("onMouseLeave",["mouseout","mouseover"]),rr("onPointerEnter",["pointerout","pointerover"]),rr("onPointerLeave",["pointerout","pointerover"]),Pa("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Pa("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Pa("onBeforeInput",["compositionend","keypress","textInput","paste"]),Pa("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Pa("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Pa("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Du="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Q8=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Du));function a4(r,i){i=(i&4)!==0;for(var u=0;u<r.length;u++){var c=r[u],m=c.event;c=c.listeners;e:{var g=void 0;if(i)for(var S=c.length-1;0<=S;S--){var N=c[S],H=N.instance,ie=N.currentTarget;if(N=N.listener,H!==g&&m.isPropagationStopped())break e;g=N,m.currentTarget=ie;try{g(m)}catch(ge){bc(ge)}m.currentTarget=null,g=H}else for(S=0;S<c.length;S++){if(N=c[S],H=N.instance,ie=N.currentTarget,N=N.listener,H!==g&&m.isPropagationStopped())break e;g=N,m.currentTarget=ie;try{g(m)}catch(ge){bc(ge)}m.currentTarget=null,g=H}}}}function Ct(r,i){var u=i[nn];u===void 0&&(u=i[nn]=new Set);var c=r+"__bubble";u.has(c)||(i4(i,r,2,!1),u.add(c))}function Wf(r,i,u){var c=0;i&&(c|=4),i4(u,r,c,i)}var Mc="_reactListening"+Math.random().toString(36).slice(2);function Qf(r){if(!r[Mc]){r[Mc]=!0,Bo.forEach(function(u){u!=="selectionchange"&&(Q8.has(u)||Wf(u,!1,r),Wf(u,!0,r))});var i=r.nodeType===9?r:r.ownerDocument;i===null||i[Mc]||(i[Mc]=!0,Wf("selectionchange",!1,i))}}function i4(r,i,u,c){switch(N4(i)){case 2:var m=xv;break;case 8:m=Av;break;default:m=dh}u=m.bind(null,i,u,r),m=void 0,!Ed||i!=="touchstart"&&i!=="touchmove"&&i!=="wheel"||(m=!0),c?m!==void 0?r.addEventListener(i,u,{capture:!0,passive:m}):r.addEventListener(i,u,!0):m!==void 0?r.addEventListener(i,u,{passive:m}):r.addEventListener(i,u,!1)}function Zf(r,i,u,c,m){var g=c;if((i&1)===0&&(i&2)===0&&c!==null)e:for(;;){if(c===null)return;var S=c.tag;if(S===3||S===4){var N=c.stateNode.containerInfo;if(N===m)break;if(S===4)for(S=c.return;S!==null;){var H=S.tag;if((H===3||H===4)&&S.stateNode.containerInfo===m)return;S=S.return}for(;N!==null;){if(S=pi(N),S===null)return;if(H=S.tag,H===5||H===6||H===26||H===27){c=g=S;continue e}N=N.parentNode}}c=c.return}qr(function(){var ie=g,ge=Pe(u),Te=[];e:{var le=Fp.get(r);if(le!==void 0){var oe=jo,dt=r;switch(r){case"keypress":if(Yo(u)===0)break e;case"keydown":case"keyup":oe=j7;break;case"focusin":dt="focus",oe=_d;break;case"focusout":dt="blur",oe=_d;break;case"beforeblur":case"afterblur":oe=_d;break;case"click":if(u.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":oe=pp;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":oe=D7;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":oe=$7;break;case Bp:case Pp:case Up:oe=B7;break;case zp:oe=W7;break;case"scroll":case"scrollend":oe=M7;break;case"wheel":oe=Z7;break;case"copy":case"cut":case"paste":oe=U7;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":oe=bp;break;case"toggle":case"beforetoggle":oe=e8}var lt=(i&4)!==0,Gt=!lt&&(r==="scroll"||r==="scrollend"),W=lt?le!==null?le+"Capture":null:le;lt=[];for(var V=ie,ne;V!==null;){var ve=V;if(ne=ve.stateNode,ve=ve.tag,ve!==5&&ve!==26&&ve!==27||ne===null||W===null||(ve=cs(V,W),ve!=null&&lt.push(Iu(V,ve,ne))),Gt)break;V=V.return}0<lt.length&&(le=new oe(le,dt,null,u,ge),Te.push({event:le,listeners:lt}))}}if((i&7)===0){e:{if(le=r==="mouseover"||r==="pointerover",oe=r==="mouseout"||r==="pointerout",le&&u!==os&&(dt=u.relatedTarget||u.fromElement)&&(pi(dt)||dt[Jt]))break e;if((oe||le)&&(le=ge.window===ge?ge:(le=ge.ownerDocument)?le.defaultView||le.parentWindow:window,oe?(dt=u.relatedTarget||u.toElement,oe=ie,dt=dt?pi(dt):null,dt!==null&&(Gt=l(dt),lt=dt.tag,dt!==Gt||lt!==5&&lt!==27&&lt!==6)&&(dt=null)):(oe=null,dt=ie),oe!==dt)){if(lt=pp,ve="onMouseLeave",W="onMouseEnter",V="mouse",(r==="pointerout"||r==="pointerover")&&(lt=bp,ve="onPointerLeave",W="onPointerEnter",V="pointer"),Gt=oe==null?le:ss(oe),ne=dt==null?le:ss(dt),le=new lt(ve,V+"leave",oe,u,ge),le.target=Gt,le.relatedTarget=ne,ve=null,pi(ge)===ie&&(lt=new lt(W,V+"enter",dt,u,ge),lt.target=ne,lt.relatedTarget=Gt,ve=lt),Gt=ve,oe&&dt)t:{for(lt=oe,W=dt,V=0,ne=lt;ne;ne=fl(ne))V++;for(ne=0,ve=W;ve;ve=fl(ve))ne++;for(;0<V-ne;)lt=fl(lt),V--;for(;0<ne-V;)W=fl(W),ne--;for(;V--;){if(lt===W||W!==null&&lt===W.alternate)break t;lt=fl(lt),W=fl(W)}lt=null}else lt=null;oe!==null&&s4(Te,le,oe,lt,!1),dt!==null&&Gt!==null&&s4(Te,Gt,dt,lt,!0)}}e:{if(le=ie?ss(ie):window,oe=le.nodeName&&le.nodeName.toLowerCase(),oe==="select"||oe==="input"&&le.type==="file")var je=Ap;else if(Sp(le))if(wp)je=c8;else{je=u8;var St=l8}else oe=le.nodeName,!oe||oe.toLowerCase()!=="input"||le.type!=="checkbox"&&le.type!=="radio"?ie&&zt(ie.elementType)&&(je=Ap):je=o8;if(je&&(je=je(r,ie))){xp(Te,je,u,ge);break e}St&&St(r,le,ie),r==="focusout"&&ie&&le.type==="number"&&ie.memoizedProps.value!=null&&bi(le,"number",le.value)}switch(St=ie?ss(ie):window,r){case"focusin":(Sp(St)||St.contentEditable==="true")&&(qs=St,Cd=ie,su=null);break;case"focusout":su=Cd=qs=null;break;case"mousedown":Nd=!0;break;case"contextmenu":case"mouseup":case"dragend":Nd=!1,Ip(Te,u,ge);break;case"selectionchange":if(f8)break;case"keydown":case"keyup":Ip(Te,u,ge)}var Je;if(xd)e:{switch(r){case"compositionstart":var ut="onCompositionStart";break e;case"compositionend":ut="onCompositionEnd";break e;case"compositionupdate":ut="onCompositionUpdate";break e}ut=void 0}else Hs?Tp(r,u)&&(ut="onCompositionEnd"):r==="keydown"&&u.keyCode===229&&(ut="onCompositionStart");ut&&(Ep&&u.locale!=="ko"&&(Hs||ut!=="onCompositionStart"?ut==="onCompositionEnd"&&Hs&&(Je=hp()):(yi=ge,yd="value"in yi?yi.value:yi.textContent,Hs=!0)),St=Rc(ie,ut),0<St.length&&(ut=new gp(ut,r,null,u,ge),Te.push({event:ut,listeners:St}),Je?ut.data=Je:(Je=_p(u),Je!==null&&(ut.data=Je)))),(Je=n8?r8(r,u):a8(r,u))&&(ut=Rc(ie,"onBeforeInput"),0<ut.length&&(St=new gp("onBeforeInput","beforeinput",null,u,ge),Te.push({event:St,listeners:ut}),St.data=Je)),$8(Te,r,ie,u,ge)}a4(Te,i)})}function Iu(r,i,u){return{instance:r,listener:i,currentTarget:u}}function Rc(r,i){for(var u=i+"Capture",c=[];r!==null;){var m=r,g=m.stateNode;if(m=m.tag,m!==5&&m!==26&&m!==27||g===null||(m=cs(r,u),m!=null&&c.unshift(Iu(r,m,g)),m=cs(r,i),m!=null&&c.push(Iu(r,m,g))),r.tag===3)return c;r=r.return}return[]}function fl(r){if(r===null)return null;do r=r.return;while(r&&r.tag!==5&&r.tag!==27);return r||null}function s4(r,i,u,c,m){for(var g=i._reactName,S=[];u!==null&&u!==c;){var N=u,H=N.alternate,ie=N.stateNode;if(N=N.tag,H!==null&&H===c)break;N!==5&&N!==26&&N!==27||ie===null||(H=ie,m?(ie=cs(u,g),ie!=null&&S.unshift(Iu(u,ie,H))):m||(ie=cs(u,g),ie!=null&&S.push(Iu(u,ie,H)))),u=u.return}S.length!==0&&r.push({event:i,listeners:S})}var Z8=/\r\n?/g,J8=/\u0000|\uFFFD/g;function l4(r){return(typeof r=="string"?r:""+r).replace(Z8,`
49
- `).replace(J8,"")}function u4(r,i){return i=l4(i),l4(r)===i}function Dc(){}function Yt(r,i,u,c,m,g){switch(u){case"children":typeof c=="string"?i==="body"||i==="textarea"&&c===""||ba(r,c):(typeof c=="number"||typeof c=="bigint")&&i!=="body"&&ba(r,""+c);break;case"className":Ua(r,"class",c);break;case"tabIndex":Ua(r,"tabindex",c);break;case"dir":case"role":case"viewBox":case"width":case"height":Ua(r,u,c);break;case"style":An(r,c,g);break;case"data":if(i!=="object"){Ua(r,"data",c);break}case"src":case"href":if(c===""&&(i!=="a"||u!=="href")){r.removeAttribute(u);break}if(c==null||typeof c=="function"||typeof c=="symbol"||typeof c=="boolean"){r.removeAttribute(u);break}c=Ei(""+c),r.setAttribute(u,c);break;case"action":case"formAction":if(typeof c=="function"){r.setAttribute(u,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof g=="function"&&(u==="formAction"?(i!=="input"&&Yt(r,i,"name",m.name,m,null),Yt(r,i,"formEncType",m.formEncType,m,null),Yt(r,i,"formMethod",m.formMethod,m,null),Yt(r,i,"formTarget",m.formTarget,m,null)):(Yt(r,i,"encType",m.encType,m,null),Yt(r,i,"method",m.method,m,null),Yt(r,i,"target",m.target,m,null)));if(c==null||typeof c=="symbol"||typeof c=="boolean"){r.removeAttribute(u);break}c=Ei(""+c),r.setAttribute(u,c);break;case"onClick":c!=null&&(r.onclick=Dc);break;case"onScroll":c!=null&&Ct("scroll",r);break;case"onScrollEnd":c!=null&&Ct("scrollend",r);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(a(61));if(u=c.__html,u!=null){if(m.children!=null)throw Error(a(60));r.innerHTML=u}}break;case"multiple":r.multiple=c&&typeof c!="function"&&typeof c!="symbol";break;case"muted":r.muted=c&&typeof c!="function"&&typeof c!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(c==null||typeof c=="function"||typeof c=="boolean"||typeof c=="symbol"){r.removeAttribute("xlink:href");break}u=Ei(""+c),r.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",u);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":c!=null&&typeof c!="function"&&typeof c!="symbol"?r.setAttribute(u,""+c):r.removeAttribute(u);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":c&&typeof c!="function"&&typeof c!="symbol"?r.setAttribute(u,""):r.removeAttribute(u);break;case"capture":case"download":c===!0?r.setAttribute(u,""):c!==!1&&c!=null&&typeof c!="function"&&typeof c!="symbol"?r.setAttribute(u,c):r.removeAttribute(u);break;case"cols":case"rows":case"size":case"span":c!=null&&typeof c!="function"&&typeof c!="symbol"&&!isNaN(c)&&1<=c?r.setAttribute(u,c):r.removeAttribute(u);break;case"rowSpan":case"start":c==null||typeof c=="function"||typeof c=="symbol"||isNaN(c)?r.removeAttribute(u):r.setAttribute(u,c);break;case"popover":Ct("beforetoggle",r),Ct("toggle",r),zs(r,"popover",c);break;case"xlinkActuate":sa(r,"http://www.w3.org/1999/xlink","xlink:actuate",c);break;case"xlinkArcrole":sa(r,"http://www.w3.org/1999/xlink","xlink:arcrole",c);break;case"xlinkRole":sa(r,"http://www.w3.org/1999/xlink","xlink:role",c);break;case"xlinkShow":sa(r,"http://www.w3.org/1999/xlink","xlink:show",c);break;case"xlinkTitle":sa(r,"http://www.w3.org/1999/xlink","xlink:title",c);break;case"xlinkType":sa(r,"http://www.w3.org/1999/xlink","xlink:type",c);break;case"xmlBase":sa(r,"http://www.w3.org/XML/1998/namespace","xml:base",c);break;case"xmlLang":sa(r,"http://www.w3.org/XML/1998/namespace","xml:lang",c);break;case"xmlSpace":sa(r,"http://www.w3.org/XML/1998/namespace","xml:space",c);break;case"is":zs(r,"is",c);break;case"innerText":case"textContent":break;default:(!(2<u.length)||u[0]!=="o"&&u[0]!=="O"||u[1]!=="n"&&u[1]!=="N")&&(u=Fs.get(u)||u,zs(r,u,c))}}function Jf(r,i,u,c,m,g){switch(u){case"style":An(r,c,g);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(a(61));if(u=c.__html,u!=null){if(m.children!=null)throw Error(a(60));r.innerHTML=u}}break;case"children":typeof c=="string"?ba(r,c):(typeof c=="number"||typeof c=="bigint")&&ba(r,""+c);break;case"onScroll":c!=null&&Ct("scroll",r);break;case"onScrollEnd":c!=null&&Ct("scrollend",r);break;case"onClick":c!=null&&(r.onclick=Dc);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Po.hasOwnProperty(u))e:{if(u[0]==="o"&&u[1]==="n"&&(m=u.endsWith("Capture"),i=u.slice(2,m?u.length-7:void 0),g=r[$e]||null,g=g!=null?g[u]:null,typeof g=="function"&&r.removeEventListener(i,g,m),typeof c=="function")){typeof g!="function"&&g!==null&&(u in r?r[u]=null:r.hasAttribute(u)&&r.removeAttribute(u)),r.addEventListener(i,c,m);break e}u in r?r[u]=c:c===!0?r.setAttribute(u,""):zs(r,u,c)}}}function Vn(r,i,u){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ct("error",r),Ct("load",r);var c=!1,m=!1,g;for(g in u)if(u.hasOwnProperty(g)){var S=u[g];if(S!=null)switch(g){case"src":c=!0;break;case"srcSet":m=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(a(137,i));default:Yt(r,i,g,S,u,null)}}m&&Yt(r,i,"srcSet",u.srcSet,u,null),c&&Yt(r,i,"src",u.src,u,null);return;case"input":Ct("invalid",r);var N=g=S=m=null,H=null,ie=null;for(c in u)if(u.hasOwnProperty(c)){var ge=u[c];if(ge!=null)switch(c){case"name":m=ge;break;case"type":S=ge;break;case"checked":H=ge;break;case"defaultChecked":ie=ge;break;case"value":g=ge;break;case"defaultValue":N=ge;break;case"children":case"dangerouslySetInnerHTML":if(ge!=null)throw Error(a(137,i));break;default:Yt(r,i,c,ge,u,null)}}Fo(r,g,N,H,ie,S,m,!1),ls(r);return;case"select":Ct("invalid",r),c=S=g=null;for(m in u)if(u.hasOwnProperty(m)&&(N=u[m],N!=null))switch(m){case"value":g=N;break;case"defaultValue":S=N;break;case"multiple":c=N;default:Yt(r,i,m,N,u,null)}i=g,u=S,r.multiple=!!c,i!=null?za(r,!!c,i,!1):u!=null&&za(r,!!c,u,!0);return;case"textarea":Ct("invalid",r),g=m=c=null;for(S in u)if(u.hasOwnProperty(S)&&(N=u[S],N!=null))switch(S){case"value":c=N;break;case"defaultValue":m=N;break;case"children":g=N;break;case"dangerouslySetInnerHTML":if(N!=null)throw Error(a(91));break;default:Yt(r,i,S,N,u,null)}Ho(r,c,m,g),ls(r);return;case"option":for(H in u)if(u.hasOwnProperty(H)&&(c=u[H],c!=null))switch(H){case"selected":r.selected=c&&typeof c!="function"&&typeof c!="symbol";break;default:Yt(r,i,H,c,u,null)}return;case"dialog":Ct("beforetoggle",r),Ct("toggle",r),Ct("cancel",r),Ct("close",r);break;case"iframe":case"object":Ct("load",r);break;case"video":case"audio":for(c=0;c<Du.length;c++)Ct(Du[c],r);break;case"image":Ct("error",r),Ct("load",r);break;case"details":Ct("toggle",r);break;case"embed":case"source":case"link":Ct("error",r),Ct("load",r);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(ie in u)if(u.hasOwnProperty(ie)&&(c=u[ie],c!=null))switch(ie){case"children":case"dangerouslySetInnerHTML":throw Error(a(137,i));default:Yt(r,i,ie,c,u,null)}return;default:if(zt(i)){for(ge in u)u.hasOwnProperty(ge)&&(c=u[ge],c!==void 0&&Jf(r,i,ge,c,u,void 0));return}}for(N in u)u.hasOwnProperty(N)&&(c=u[N],c!=null&&Yt(r,i,N,c,u,null))}function ev(r,i,u,c){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var m=null,g=null,S=null,N=null,H=null,ie=null,ge=null;for(oe in u){var Te=u[oe];if(u.hasOwnProperty(oe)&&Te!=null)switch(oe){case"checked":break;case"value":break;case"defaultValue":H=Te;default:c.hasOwnProperty(oe)||Yt(r,i,oe,null,c,Te)}}for(var le in c){var oe=c[le];if(Te=u[le],c.hasOwnProperty(le)&&(oe!=null||Te!=null))switch(le){case"type":g=oe;break;case"name":m=oe;break;case"checked":ie=oe;break;case"defaultChecked":ge=oe;break;case"value":S=oe;break;case"defaultValue":N=oe;break;case"children":case"dangerouslySetInnerHTML":if(oe!=null)throw Error(a(137,i));break;default:oe!==Te&&Yt(r,i,le,oe,c,Te)}}Ql(r,S,N,H,ie,ge,g,m);return;case"select":oe=S=N=le=null;for(g in u)if(H=u[g],u.hasOwnProperty(g)&&H!=null)switch(g){case"value":break;case"multiple":oe=H;default:c.hasOwnProperty(g)||Yt(r,i,g,null,c,H)}for(m in c)if(g=c[m],H=u[m],c.hasOwnProperty(m)&&(g!=null||H!=null))switch(m){case"value":le=g;break;case"defaultValue":N=g;break;case"multiple":S=g;default:g!==H&&Yt(r,i,m,g,c,H)}i=N,u=S,c=oe,le!=null?za(r,!!u,le,!1):!!c!=!!u&&(i!=null?za(r,!!u,i,!0):za(r,!!u,u?[]:"",!1));return;case"textarea":oe=le=null;for(N in u)if(m=u[N],u.hasOwnProperty(N)&&m!=null&&!c.hasOwnProperty(N))switch(N){case"value":break;case"children":break;default:Yt(r,i,N,null,c,m)}for(S in c)if(m=c[S],g=u[S],c.hasOwnProperty(S)&&(m!=null||g!=null))switch(S){case"value":le=m;break;case"defaultValue":oe=m;break;case"children":break;case"dangerouslySetInnerHTML":if(m!=null)throw Error(a(91));break;default:m!==g&&Yt(r,i,S,m,c,g)}kr(r,le,oe);return;case"option":for(var dt in u)if(le=u[dt],u.hasOwnProperty(dt)&&le!=null&&!c.hasOwnProperty(dt))switch(dt){case"selected":r.selected=!1;break;default:Yt(r,i,dt,null,c,le)}for(H in c)if(le=c[H],oe=u[H],c.hasOwnProperty(H)&&le!==oe&&(le!=null||oe!=null))switch(H){case"selected":r.selected=le&&typeof le!="function"&&typeof le!="symbol";break;default:Yt(r,i,H,le,c,oe)}return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var lt in u)le=u[lt],u.hasOwnProperty(lt)&&le!=null&&!c.hasOwnProperty(lt)&&Yt(r,i,lt,null,c,le);for(ie in c)if(le=c[ie],oe=u[ie],c.hasOwnProperty(ie)&&le!==oe&&(le!=null||oe!=null))switch(ie){case"children":case"dangerouslySetInnerHTML":if(le!=null)throw Error(a(137,i));break;default:Yt(r,i,ie,le,c,oe)}return;default:if(zt(i)){for(var Gt in u)le=u[Gt],u.hasOwnProperty(Gt)&&le!==void 0&&!c.hasOwnProperty(Gt)&&Jf(r,i,Gt,void 0,c,le);for(ge in c)le=c[ge],oe=u[ge],!c.hasOwnProperty(ge)||le===oe||le===void 0&&oe===void 0||Jf(r,i,ge,le,c,oe);return}}for(var W in u)le=u[W],u.hasOwnProperty(W)&&le!=null&&!c.hasOwnProperty(W)&&Yt(r,i,W,null,c,le);for(Te in c)le=c[Te],oe=u[Te],!c.hasOwnProperty(Te)||le===oe||le==null&&oe==null||Yt(r,i,Te,le,c,oe)}var eh=null,th=null;function Ic(r){return r.nodeType===9?r:r.ownerDocument}function o4(r){switch(r){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function c4(r,i){if(r===0)switch(i){case"svg":return 1;case"math":return 2;default:return 0}return r===1&&i==="foreignObject"?0:r}function nh(r,i){return r==="textarea"||r==="noscript"||typeof i.children=="string"||typeof i.children=="number"||typeof i.children=="bigint"||typeof i.dangerouslySetInnerHTML=="object"&&i.dangerouslySetInnerHTML!==null&&i.dangerouslySetInnerHTML.__html!=null}var rh=null;function tv(){var r=window.event;return r&&r.type==="popstate"?r===rh?!1:(rh=r,!0):(rh=null,!1)}var d4=typeof setTimeout=="function"?setTimeout:void 0,nv=typeof clearTimeout=="function"?clearTimeout:void 0,f4=typeof Promise=="function"?Promise:void 0,rv=typeof queueMicrotask=="function"?queueMicrotask:typeof f4<"u"?function(r){return f4.resolve(null).then(r).catch(av)}:d4;function av(r){setTimeout(function(){throw r})}function Li(r){return r==="head"}function h4(r,i){var u=i,c=0,m=0;do{var g=u.nextSibling;if(r.removeChild(u),g&&g.nodeType===8)if(u=g.data,u==="/$"){if(0<c&&8>c){u=c;var S=r.ownerDocument;if(u&1&&Lu(S.documentElement),u&2&&Lu(S.body),u&4)for(u=S.head,Lu(u),S=u.firstChild;S;){var N=S.nextSibling,H=S.nodeName;S[as]||H==="SCRIPT"||H==="STYLE"||H==="LINK"&&S.rel.toLowerCase()==="stylesheet"||u.removeChild(S),S=N}}if(m===0){r.removeChild(g),Yu(i);return}m--}else u==="$"||u==="$?"||u==="$!"?m++:c=u.charCodeAt(0)-48;else c=0;u=g}while(u);Yu(i)}function ah(r){var i=r.firstChild;for(i&&i.nodeType===10&&(i=i.nextSibling);i;){var u=i;switch(i=i.nextSibling,u.nodeName){case"HTML":case"HEAD":case"BODY":ah(u),is(u);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(u.rel.toLowerCase()==="stylesheet")continue}r.removeChild(u)}}function iv(r,i,u,c){for(;r.nodeType===1;){var m=u;if(r.nodeName.toLowerCase()!==i.toLowerCase()){if(!c&&(r.nodeName!=="INPUT"||r.type!=="hidden"))break}else if(c){if(!r[as])switch(i){case"meta":if(!r.hasAttribute("itemprop"))break;return r;case"link":if(g=r.getAttribute("rel"),g==="stylesheet"&&r.hasAttribute("data-precedence"))break;if(g!==m.rel||r.getAttribute("href")!==(m.href==null||m.href===""?null:m.href)||r.getAttribute("crossorigin")!==(m.crossOrigin==null?null:m.crossOrigin)||r.getAttribute("title")!==(m.title==null?null:m.title))break;return r;case"style":if(r.hasAttribute("data-precedence"))break;return r;case"script":if(g=r.getAttribute("src"),(g!==(m.src==null?null:m.src)||r.getAttribute("type")!==(m.type==null?null:m.type)||r.getAttribute("crossorigin")!==(m.crossOrigin==null?null:m.crossOrigin))&&g&&r.hasAttribute("async")&&!r.hasAttribute("itemprop"))break;return r;default:return r}}else if(i==="input"&&r.type==="hidden"){var g=m.name==null?null:""+m.name;if(m.type==="hidden"&&r.getAttribute("name")===g)return r}else return r;if(r=da(r.nextSibling),r===null)break}return null}function sv(r,i,u){if(i==="")return null;for(;r.nodeType!==3;)if((r.nodeType!==1||r.nodeName!=="INPUT"||r.type!=="hidden")&&!u||(r=da(r.nextSibling),r===null))return null;return r}function ih(r){return r.data==="$!"||r.data==="$?"&&r.ownerDocument.readyState==="complete"}function lv(r,i){var u=r.ownerDocument;if(r.data!=="$?"||u.readyState==="complete")i();else{var c=function(){i(),u.removeEventListener("DOMContentLoaded",c)};u.addEventListener("DOMContentLoaded",c),r._reactRetry=c}}function da(r){for(;r!=null;r=r.nextSibling){var i=r.nodeType;if(i===1||i===3)break;if(i===8){if(i=r.data,i==="$"||i==="$!"||i==="$?"||i==="F!"||i==="F")break;if(i==="/$")return null}}return r}var sh=null;function m4(r){r=r.previousSibling;for(var i=0;r;){if(r.nodeType===8){var u=r.data;if(u==="$"||u==="$!"||u==="$?"){if(i===0)return r;i--}else u==="/$"&&i++}r=r.previousSibling}return null}function p4(r,i,u){switch(i=Ic(u),r){case"html":if(r=i.documentElement,!r)throw Error(a(452));return r;case"head":if(r=i.head,!r)throw Error(a(453));return r;case"body":if(r=i.body,!r)throw Error(a(454));return r;default:throw Error(a(451))}}function Lu(r){for(var i=r.attributes;i.length;)r.removeAttributeNode(i[0]);is(r)}var Xr=new Map,g4=new Set;function Lc(r){return typeof r.getRootNode=="function"?r.getRootNode():r.nodeType===9?r:r.ownerDocument}var Ja=fe.d;fe.d={f:uv,r:ov,D:cv,C:dv,L:fv,m:hv,X:pv,S:mv,M:gv};function uv(){var r=Ja.f(),i=wc();return r||i}function ov(r){var i=gi(r);i!==null&&i.tag===5&&i.type==="form"?Bg(i):Ja.r(r)}var hl=typeof document>"u"?null:document;function b4(r,i,u){var c=hl;if(c&&typeof i=="string"&&i){var m=mr(i);m='link[rel="'+r+'"][href="'+m+'"]',typeof u=="string"&&(m+='[crossorigin="'+u+'"]'),g4.has(m)||(g4.add(m),r={rel:r,crossOrigin:u,href:i},c.querySelector(m)===null&&(i=c.createElement("link"),Vn(i,"link",r),on(i),c.head.appendChild(i)))}}function cv(r){Ja.D(r),b4("dns-prefetch",r,null)}function dv(r,i){Ja.C(r,i),b4("preconnect",r,i)}function fv(r,i,u){Ja.L(r,i,u);var c=hl;if(c&&r&&i){var m='link[rel="preload"][as="'+mr(i)+'"]';i==="image"&&u&&u.imageSrcSet?(m+='[imagesrcset="'+mr(u.imageSrcSet)+'"]',typeof u.imageSizes=="string"&&(m+='[imagesizes="'+mr(u.imageSizes)+'"]')):m+='[href="'+mr(r)+'"]';var g=m;switch(i){case"style":g=ml(r);break;case"script":g=pl(r)}Xr.has(g)||(r=p({rel:"preload",href:i==="image"&&u&&u.imageSrcSet?void 0:r,as:i},u),Xr.set(g,r),c.querySelector(m)!==null||i==="style"&&c.querySelector(Bu(g))||i==="script"&&c.querySelector(Pu(g))||(i=c.createElement("link"),Vn(i,"link",r),on(i),c.head.appendChild(i)))}}function hv(r,i){Ja.m(r,i);var u=hl;if(u&&r){var c=i&&typeof i.as=="string"?i.as:"script",m='link[rel="modulepreload"][as="'+mr(c)+'"][href="'+mr(r)+'"]',g=m;switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":g=pl(r)}if(!Xr.has(g)&&(r=p({rel:"modulepreload",href:r},i),Xr.set(g,r),u.querySelector(m)===null)){switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(u.querySelector(Pu(g)))return}c=u.createElement("link"),Vn(c,"link",r),on(c),u.head.appendChild(c)}}}function mv(r,i,u){Ja.S(r,i,u);var c=hl;if(c&&r){var m=Ba(c).hoistableStyles,g=ml(r);i=i||"default";var S=m.get(g);if(!S){var N={loading:0,preload:null};if(S=c.querySelector(Bu(g)))N.loading=5;else{r=p({rel:"stylesheet",href:r,"data-precedence":i},u),(u=Xr.get(g))&&lh(r,u);var H=S=c.createElement("link");on(H),Vn(H,"link",r),H._p=new Promise(function(ie,ge){H.onload=ie,H.onerror=ge}),H.addEventListener("load",function(){N.loading|=1}),H.addEventListener("error",function(){N.loading|=2}),N.loading|=4,Bc(S,i,c)}S={type:"stylesheet",instance:S,count:1,state:N},m.set(g,S)}}}function pv(r,i){Ja.X(r,i);var u=hl;if(u&&r){var c=Ba(u).hoistableScripts,m=pl(r),g=c.get(m);g||(g=u.querySelector(Pu(m)),g||(r=p({src:r,async:!0},i),(i=Xr.get(m))&&uh(r,i),g=u.createElement("script"),on(g),Vn(g,"link",r),u.head.appendChild(g)),g={type:"script",instance:g,count:1,state:null},c.set(m,g))}}function gv(r,i){Ja.M(r,i);var u=hl;if(u&&r){var c=Ba(u).hoistableScripts,m=pl(r),g=c.get(m);g||(g=u.querySelector(Pu(m)),g||(r=p({src:r,async:!0,type:"module"},i),(i=Xr.get(m))&&uh(r,i),g=u.createElement("script"),on(g),Vn(g,"link",r),u.head.appendChild(g)),g={type:"script",instance:g,count:1,state:null},c.set(m,g))}}function E4(r,i,u,c){var m=(m=Re.current)?Lc(m):null;if(!m)throw Error(a(446));switch(r){case"meta":case"title":return null;case"style":return typeof u.precedence=="string"&&typeof u.href=="string"?(i=ml(u.href),u=Ba(m).hoistableStyles,c=u.get(i),c||(c={type:"style",instance:null,count:0,state:null},u.set(i,c)),c):{type:"void",instance:null,count:0,state:null};case"link":if(u.rel==="stylesheet"&&typeof u.href=="string"&&typeof u.precedence=="string"){r=ml(u.href);var g=Ba(m).hoistableStyles,S=g.get(r);if(S||(m=m.ownerDocument||m,S={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},g.set(r,S),(g=m.querySelector(Bu(r)))&&!g._p&&(S.instance=g,S.state.loading=5),Xr.has(r)||(u={rel:"preload",as:"style",href:u.href,crossOrigin:u.crossOrigin,integrity:u.integrity,media:u.media,hrefLang:u.hrefLang,referrerPolicy:u.referrerPolicy},Xr.set(r,u),g||bv(m,r,u,S.state))),i&&c===null)throw Error(a(528,""));return S}if(i&&c!==null)throw Error(a(529,""));return null;case"script":return i=u.async,u=u.src,typeof u=="string"&&i&&typeof i!="function"&&typeof i!="symbol"?(i=pl(u),u=Ba(m).hoistableScripts,c=u.get(i),c||(c={type:"script",instance:null,count:0,state:null},u.set(i,c)),c):{type:"void",instance:null,count:0,state:null};default:throw Error(a(444,r))}}function ml(r){return'href="'+mr(r)+'"'}function Bu(r){return'link[rel="stylesheet"]['+r+"]"}function y4(r){return p({},r,{"data-precedence":r.precedence,precedence:null})}function bv(r,i,u,c){r.querySelector('link[rel="preload"][as="style"]['+i+"]")?c.loading=1:(i=r.createElement("link"),c.preload=i,i.addEventListener("load",function(){return c.loading|=1}),i.addEventListener("error",function(){return c.loading|=2}),Vn(i,"link",u),on(i),r.head.appendChild(i))}function pl(r){return'[src="'+mr(r)+'"]'}function Pu(r){return"script[async]"+r}function v4(r,i,u){if(i.count++,i.instance===null)switch(i.type){case"style":var c=r.querySelector('style[data-href~="'+mr(u.href)+'"]');if(c)return i.instance=c,on(c),c;var m=p({},u,{"data-href":u.href,"data-precedence":u.precedence,href:null,precedence:null});return c=(r.ownerDocument||r).createElement("style"),on(c),Vn(c,"style",m),Bc(c,u.precedence,r),i.instance=c;case"stylesheet":m=ml(u.href);var g=r.querySelector(Bu(m));if(g)return i.state.loading|=4,i.instance=g,on(g),g;c=y4(u),(m=Xr.get(m))&&lh(c,m),g=(r.ownerDocument||r).createElement("link"),on(g);var S=g;return S._p=new Promise(function(N,H){S.onload=N,S.onerror=H}),Vn(g,"link",c),i.state.loading|=4,Bc(g,u.precedence,r),i.instance=g;case"script":return g=pl(u.src),(m=r.querySelector(Pu(g)))?(i.instance=m,on(m),m):(c=u,(m=Xr.get(g))&&(c=p({},u),uh(c,m)),r=r.ownerDocument||r,m=r.createElement("script"),on(m),Vn(m,"link",c),r.head.appendChild(m),i.instance=m);case"void":return null;default:throw Error(a(443,i.type))}else i.type==="stylesheet"&&(i.state.loading&4)===0&&(c=i.instance,i.state.loading|=4,Bc(c,u.precedence,r));return i.instance}function Bc(r,i,u){for(var c=u.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),m=c.length?c[c.length-1]:null,g=m,S=0;S<c.length;S++){var N=c[S];if(N.dataset.precedence===i)g=N;else if(g!==m)break}g?g.parentNode.insertBefore(r,g.nextSibling):(i=u.nodeType===9?u.head:u,i.insertBefore(r,i.firstChild))}function lh(r,i){r.crossOrigin==null&&(r.crossOrigin=i.crossOrigin),r.referrerPolicy==null&&(r.referrerPolicy=i.referrerPolicy),r.title==null&&(r.title=i.title)}function uh(r,i){r.crossOrigin==null&&(r.crossOrigin=i.crossOrigin),r.referrerPolicy==null&&(r.referrerPolicy=i.referrerPolicy),r.integrity==null&&(r.integrity=i.integrity)}var Pc=null;function T4(r,i,u){if(Pc===null){var c=new Map,m=Pc=new Map;m.set(u,c)}else m=Pc,c=m.get(u),c||(c=new Map,m.set(u,c));if(c.has(r))return c;for(c.set(r,null),u=u.getElementsByTagName(r),m=0;m<u.length;m++){var g=u[m];if(!(g[as]||g[Le]||r==="link"&&g.getAttribute("rel")==="stylesheet")&&g.namespaceURI!=="http://www.w3.org/2000/svg"){var S=g.getAttribute(i)||"";S=r+S;var N=c.get(S);N?N.push(g):c.set(S,[g])}}return c}function _4(r,i,u){r=r.ownerDocument||r,r.head.insertBefore(u,i==="title"?r.querySelector("head > title"):null)}function Ev(r,i,u){if(u===1||i.itemProp!=null)return!1;switch(r){case"meta":case"title":return!0;case"style":if(typeof i.precedence!="string"||typeof i.href!="string"||i.href==="")break;return!0;case"link":if(typeof i.rel!="string"||typeof i.href!="string"||i.href===""||i.onLoad||i.onError)break;switch(i.rel){case"stylesheet":return r=i.disabled,typeof i.precedence=="string"&&r==null;default:return!0}case"script":if(i.async&&typeof i.async!="function"&&typeof i.async!="symbol"&&!i.onLoad&&!i.onError&&i.src&&typeof i.src=="string")return!0}return!1}function S4(r){return!(r.type==="stylesheet"&&(r.state.loading&3)===0)}var Uu=null;function yv(){}function vv(r,i,u){if(Uu===null)throw Error(a(475));var c=Uu;if(i.type==="stylesheet"&&(typeof u.media!="string"||matchMedia(u.media).matches!==!1)&&(i.state.loading&4)===0){if(i.instance===null){var m=ml(u.href),g=r.querySelector(Bu(m));if(g){r=g._p,r!==null&&typeof r=="object"&&typeof r.then=="function"&&(c.count++,c=Uc.bind(c),r.then(c,c)),i.state.loading|=4,i.instance=g,on(g);return}g=r.ownerDocument||r,u=y4(u),(m=Xr.get(m))&&lh(u,m),g=g.createElement("link"),on(g);var S=g;S._p=new Promise(function(N,H){S.onload=N,S.onerror=H}),Vn(g,"link",u),i.instance=g}c.stylesheets===null&&(c.stylesheets=new Map),c.stylesheets.set(i,r),(r=i.state.preload)&&(i.state.loading&3)===0&&(c.count++,i=Uc.bind(c),r.addEventListener("load",i),r.addEventListener("error",i))}}function Tv(){if(Uu===null)throw Error(a(475));var r=Uu;return r.stylesheets&&r.count===0&&oh(r,r.stylesheets),0<r.count?function(i){var u=setTimeout(function(){if(r.stylesheets&&oh(r,r.stylesheets),r.unsuspend){var c=r.unsuspend;r.unsuspend=null,c()}},6e4);return r.unsuspend=i,function(){r.unsuspend=null,clearTimeout(u)}}:null}function Uc(){if(this.count--,this.count===0){if(this.stylesheets)oh(this,this.stylesheets);else if(this.unsuspend){var r=this.unsuspend;this.unsuspend=null,r()}}}var zc=null;function oh(r,i){r.stylesheets=null,r.unsuspend!==null&&(r.count++,zc=new Map,i.forEach(_v,r),zc=null,Uc.call(r))}function _v(r,i){if(!(i.state.loading&4)){var u=zc.get(r);if(u)var c=u.get(null);else{u=new Map,zc.set(r,u);for(var m=r.querySelectorAll("link[data-precedence],style[data-precedence]"),g=0;g<m.length;g++){var S=m[g];(S.nodeName==="LINK"||S.getAttribute("media")!=="not all")&&(u.set(S.dataset.precedence,S),c=S)}c&&u.set(null,c)}m=i.instance,S=m.getAttribute("data-precedence"),g=u.get(S)||c,g===c&&u.set(null,m),u.set(S,m),this.count++,c=Uc.bind(this),m.addEventListener("load",c),m.addEventListener("error",c),g?g.parentNode.insertBefore(m,g.nextSibling):(r=r.nodeType===9?r.head:r,r.insertBefore(m,r.firstChild)),i.state.loading|=4}}var zu={$$typeof:U,Provider:null,Consumer:null,_currentValue:Ee,_currentValue2:Ee,_threadCount:0};function Sv(r,i,u,c,m,g,S,N){this.tag=1,this.containerInfo=r,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Kl(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Kl(0),this.hiddenUpdates=Kl(null),this.identifierPrefix=c,this.onUncaughtError=m,this.onCaughtError=g,this.onRecoverableError=S,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=N,this.incompleteTransitions=new Map}function x4(r,i,u,c,m,g,S,N,H,ie,ge,Te){return r=new Sv(r,i,u,S,N,H,ie,Te),i=1,g===!0&&(i|=24),g=Nr(3,null,null,i),r.current=g,g.stateNode=r,i=Yd(),i.refCount++,r.pooledCache=i,i.refCount++,g.memoizedState={element:c,isDehydrated:u,cache:i},Kd(g),r}function A4(r){return r?(r=Vs,r):Vs}function w4(r,i,u,c,m,g){m=A4(m),c.context===null?c.context=m:c.pendingContext=m,c=_i(i),c.payload={element:u},g=g===void 0?null:g,g!==null&&(c.callback=g),u=Si(r,c,i),u!==null&&(Ir(u,r,i),pu(u,r,i))}function k4(r,i){if(r=r.memoizedState,r!==null&&r.dehydrated!==null){var u=r.retryLane;r.retryLane=u!==0&&u<i?u:i}}function ch(r,i){k4(r,i),(r=r.alternate)&&k4(r,i)}function C4(r){if(r.tag===13){var i=js(r,67108864);i!==null&&Ir(i,r,67108864),ch(r,67108864)}}var Fc=!0;function xv(r,i,u,c){var m=$.T;$.T=null;var g=fe.p;try{fe.p=2,dh(r,i,u,c)}finally{fe.p=g,$.T=m}}function Av(r,i,u,c){var m=$.T;$.T=null;var g=fe.p;try{fe.p=8,dh(r,i,u,c)}finally{fe.p=g,$.T=m}}function dh(r,i,u,c){if(Fc){var m=fh(c);if(m===null)Zf(r,i,c,Hc,u),O4(r,c);else if(kv(m,r,i,u,c))c.stopPropagation();else if(O4(r,c),i&4&&-1<wv.indexOf(r)){for(;m!==null;){var g=gi(m);if(g!==null)switch(g.tag){case 3:if(g=g.stateNode,g.current.memoizedState.isDehydrated){var S=tr(g.pendingLanes);if(S!==0){var N=g;for(N.pendingLanes|=2,N.entangledLanes|=2;S;){var H=1<<31-et(S);N.entanglements[1]|=H,S&=~H}_a(g),(Ft&6)===0&&(xc=Ot()+500,Ru(0))}}break;case 13:N=js(g,2),N!==null&&Ir(N,g,2),wc(),ch(g,2)}if(g=fh(c),g===null&&Zf(r,i,c,Hc,u),g===m)break;m=g}m!==null&&c.stopPropagation()}else Zf(r,i,c,null,u)}}function fh(r){return r=Pe(r),hh(r)}var Hc=null;function hh(r){if(Hc=null,r=pi(r),r!==null){var i=l(r);if(i===null)r=null;else{var u=i.tag;if(u===13){if(r=o(i),r!==null)return r;r=null}else if(u===3){if(i.stateNode.current.memoizedState.isDehydrated)return i.tag===3?i.stateNode.containerInfo:null;r=null}else i!==r&&(r=null)}}return Hc=r,null}function N4(r){switch(r){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(ln()){case Dt:return 2;case en:return 8;case Pn:case fi:return 32;case ga:return 268435456;default:return 32}default:return 32}}var mh=!1,Bi=null,Pi=null,Ui=null,Fu=new Map,Hu=new Map,zi=[],wv="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function O4(r,i){switch(r){case"focusin":case"focusout":Bi=null;break;case"dragenter":case"dragleave":Pi=null;break;case"mouseover":case"mouseout":Ui=null;break;case"pointerover":case"pointerout":Fu.delete(i.pointerId);break;case"gotpointercapture":case"lostpointercapture":Hu.delete(i.pointerId)}}function qu(r,i,u,c,m,g){return r===null||r.nativeEvent!==g?(r={blockedOn:i,domEventName:u,eventSystemFlags:c,nativeEvent:g,targetContainers:[m]},i!==null&&(i=gi(i),i!==null&&C4(i)),r):(r.eventSystemFlags|=c,i=r.targetContainers,m!==null&&i.indexOf(m)===-1&&i.push(m),r)}function kv(r,i,u,c,m){switch(i){case"focusin":return Bi=qu(Bi,r,i,u,c,m),!0;case"dragenter":return Pi=qu(Pi,r,i,u,c,m),!0;case"mouseover":return Ui=qu(Ui,r,i,u,c,m),!0;case"pointerover":var g=m.pointerId;return Fu.set(g,qu(Fu.get(g)||null,r,i,u,c,m)),!0;case"gotpointercapture":return g=m.pointerId,Hu.set(g,qu(Hu.get(g)||null,r,i,u,c,m)),!0}return!1}function M4(r){var i=pi(r.target);if(i!==null){var u=l(i);if(u!==null){if(i=u.tag,i===13){if(i=o(u),i!==null){r.blockedOn=i,un(r.priority,function(){if(u.tag===13){var c=Dr();c=Be(c);var m=js(u,c);m!==null&&Ir(m,u,c),ch(u,c)}});return}}else if(i===3&&u.stateNode.current.memoizedState.isDehydrated){r.blockedOn=u.tag===3?u.stateNode.containerInfo:null;return}}}r.blockedOn=null}function qc(r){if(r.blockedOn!==null)return!1;for(var i=r.targetContainers;0<i.length;){var u=fh(r.nativeEvent);if(u===null){u=r.nativeEvent;var c=new u.constructor(u.type,u);os=c,u.target.dispatchEvent(c),os=null}else return i=gi(u),i!==null&&C4(i),r.blockedOn=u,!1;i.shift()}return!0}function R4(r,i,u){qc(r)&&u.delete(i)}function Cv(){mh=!1,Bi!==null&&qc(Bi)&&(Bi=null),Pi!==null&&qc(Pi)&&(Pi=null),Ui!==null&&qc(Ui)&&(Ui=null),Fu.forEach(R4),Hu.forEach(R4)}function Yc(r,i){r.blockedOn===i&&(r.blockedOn=null,mh||(mh=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,Cv)))}var Gc=null;function D4(r){Gc!==r&&(Gc=r,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){Gc===r&&(Gc=null);for(var i=0;i<r.length;i+=3){var u=r[i],c=r[i+1],m=r[i+2];if(typeof c!="function"){if(hh(c||u)===null)continue;break}var g=gi(u);g!==null&&(r.splice(i,3),i-=3,hf(g,{pending:!0,data:m,method:u.method,action:c},c,m))}}))}function Yu(r){function i(H){return Yc(H,r)}Bi!==null&&Yc(Bi,r),Pi!==null&&Yc(Pi,r),Ui!==null&&Yc(Ui,r),Fu.forEach(i),Hu.forEach(i);for(var u=0;u<zi.length;u++){var c=zi[u];c.blockedOn===r&&(c.blockedOn=null)}for(;0<zi.length&&(u=zi[0],u.blockedOn===null);)M4(u),u.blockedOn===null&&zi.shift();if(u=(r.ownerDocument||r).$$reactFormReplay,u!=null)for(c=0;c<u.length;c+=3){var m=u[c],g=u[c+1],S=m[$e]||null;if(typeof g=="function")S||D4(u);else if(S){var N=null;if(g&&g.hasAttribute("formAction")){if(m=g,S=g[$e]||null)N=S.formAction;else if(hh(m)!==null)continue}else N=S.action;typeof N=="function"?u[c+1]=N:(u.splice(c,3),c-=3),D4(u)}}}function ph(r){this._internalRoot=r}jc.prototype.render=ph.prototype.render=function(r){var i=this._internalRoot;if(i===null)throw Error(a(409));var u=i.current,c=Dr();w4(u,c,r,i,null,null)},jc.prototype.unmount=ph.prototype.unmount=function(){var r=this._internalRoot;if(r!==null){this._internalRoot=null;var i=r.containerInfo;w4(r.current,2,null,r,null,null),wc(),i[Jt]=null}};function jc(r){this._internalRoot=r}jc.prototype.unstable_scheduleHydration=function(r){if(r){var i=tn();r={blockedOn:null,target:r,priority:i};for(var u=0;u<zi.length&&i!==0&&i<zi[u].priority;u++);zi.splice(u,0,r),u===0&&M4(r)}};var I4=t.version;if(I4!=="19.1.0")throw Error(a(527,I4,"19.1.0"));fe.findDOMNode=function(r){var i=r._reactInternals;if(i===void 0)throw typeof r.render=="function"?Error(a(188)):(r=Object.keys(r).join(","),Error(a(268,r)));return r=f(i),r=r!==null?h(r):null,r=r===null?null:r.stateNode,r};var Nv={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:$,reconcilerVersion:"19.1.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Vc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Vc.isDisabled&&Vc.supportsFiber)try{de=Vc.inject(Nv),Se=Vc}catch{}}return ju.createRoot=function(r,i){if(!s(r))throw Error(a(299));var u=!1,c="",m=Wg,g=Qg,S=Zg,N=null;return i!=null&&(i.unstable_strictMode===!0&&(u=!0),i.identifierPrefix!==void 0&&(c=i.identifierPrefix),i.onUncaughtError!==void 0&&(m=i.onUncaughtError),i.onCaughtError!==void 0&&(g=i.onCaughtError),i.onRecoverableError!==void 0&&(S=i.onRecoverableError),i.unstable_transitionCallbacks!==void 0&&(N=i.unstable_transitionCallbacks)),i=x4(r,1,!1,null,null,u,c,m,g,S,N,null),r[Jt]=i.current,Qf(r),new ph(i)},ju.hydrateRoot=function(r,i,u){if(!s(r))throw Error(a(299));var c=!1,m="",g=Wg,S=Qg,N=Zg,H=null,ie=null;return u!=null&&(u.unstable_strictMode===!0&&(c=!0),u.identifierPrefix!==void 0&&(m=u.identifierPrefix),u.onUncaughtError!==void 0&&(g=u.onUncaughtError),u.onCaughtError!==void 0&&(S=u.onCaughtError),u.onRecoverableError!==void 0&&(N=u.onRecoverableError),u.unstable_transitionCallbacks!==void 0&&(H=u.unstable_transitionCallbacks),u.formState!==void 0&&(ie=u.formState)),i=x4(r,1,!0,i,u??null,c,m,g,S,N,H,ie),i.context=A4(null),u=i.current,c=Dr(),c=Be(c),m=_i(c),m.callback=null,Si(u,m,c),u=c,i.current.lanes=u,hi(i,u),_a(i),r[Jt]=i.current,Qf(r),new jc(i)},ju.version="19.1.0",ju}var G4;function Uv(){if(G4)return Eh.exports;G4=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),Eh.exports=Pv(),Eh.exports}var zv=Uv();function j4(e){const t=[],n=String(e||"");let a=n.indexOf(","),s=0,l=!1;for(;!l;){a===-1&&(a=n.length,l=!0);const o=n.slice(s,a).trim();(o||!l)&&t.push(o),s=a+1,a=n.indexOf(",",s)}return t}function k6(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const Fv=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Hv=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,qv={};function V4(e,t){return(qv.jsx?Hv:Fv).test(e)}const Yv=/[ \t\n\f\r]/g;function Gv(e){return typeof e=="object"?e.type==="text"?K4(e.value):!1:K4(e)}function K4(e){return e.replace(Yv,"")===""}let To=class{constructor(t,n,a){this.normal=n,this.property=t,a&&(this.space=a)}};To.prototype.normal={};To.prototype.property={};To.prototype.space=void 0;function C6(e,t){const n={},a={};for(const s of e)Object.assign(n,s.property),Object.assign(a,s.normal);return new To(n,a,t)}function mo(e){return e.toLowerCase()}let _r=class{constructor(t,n){this.attribute=n,this.property=t}};_r.prototype.attribute="";_r.prototype.booleanish=!1;_r.prototype.boolean=!1;_r.prototype.commaOrSpaceSeparated=!1;_r.prototype.commaSeparated=!1;_r.prototype.defined=!1;_r.prototype.mustUseProperty=!1;_r.prototype.number=!1;_r.prototype.overloadedBoolean=!1;_r.prototype.property="";_r.prototype.spaceSeparated=!1;_r.prototype.space=void 0;let jv=0;const Et=Ds(),Nn=Ds(),x1=Ds(),Ne=Ds(),Wt=Ds(),wl=Ds(),Lr=Ds();function Ds(){return 2**++jv}const A1=Object.freeze(Object.defineProperty({__proto__:null,boolean:Et,booleanish:Nn,commaOrSpaceSeparated:Lr,commaSeparated:wl,number:Ne,overloadedBoolean:x1,spaceSeparated:Wt},Symbol.toStringTag,{value:"Module"})),_h=Object.keys(A1);let pm=class extends _r{constructor(t,n,a,s){let l=-1;if(super(t,n),$4(this,"space",s),typeof a=="number")for(;++l<_h.length;){const o=_h[l];$4(this,_h[l],(a&A1[o])===A1[o])}}};pm.prototype.defined=!0;function $4(e,t,n){n&&(e[t]=n)}function Ll(e){const t={},n={};for(const[a,s]of Object.entries(e.properties)){const l=new pm(a,e.transform(e.attributes||{},a),s,e.space);e.mustUseProperty&&e.mustUseProperty.includes(a)&&(l.mustUseProperty=!0),t[a]=l,n[mo(a)]=a,n[mo(l.attribute)]=a}return new To(t,n,e.space)}const N6=Ll({properties:{ariaActiveDescendant:null,ariaAtomic:Nn,ariaAutoComplete:null,ariaBusy:Nn,ariaChecked:Nn,ariaColCount:Ne,ariaColIndex:Ne,ariaColSpan:Ne,ariaControls:Wt,ariaCurrent:null,ariaDescribedBy:Wt,ariaDetails:null,ariaDisabled:Nn,ariaDropEffect:Wt,ariaErrorMessage:null,ariaExpanded:Nn,ariaFlowTo:Wt,ariaGrabbed:Nn,ariaHasPopup:null,ariaHidden:Nn,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Wt,ariaLevel:Ne,ariaLive:null,ariaModal:Nn,ariaMultiLine:Nn,ariaMultiSelectable:Nn,ariaOrientation:null,ariaOwns:Wt,ariaPlaceholder:null,ariaPosInSet:Ne,ariaPressed:Nn,ariaReadOnly:Nn,ariaRelevant:null,ariaRequired:Nn,ariaRoleDescription:Wt,ariaRowCount:Ne,ariaRowIndex:Ne,ariaRowSpan:Ne,ariaSelected:Nn,ariaSetSize:Ne,ariaSort:null,ariaValueMax:Ne,ariaValueMin:Ne,ariaValueNow:Ne,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function O6(e,t){return t in e?e[t]:t}function M6(e,t){return O6(e,t.toLowerCase())}const Vv=Ll({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:wl,acceptCharset:Wt,accessKey:Wt,action:null,allow:null,allowFullScreen:Et,allowPaymentRequest:Et,allowUserMedia:Et,alt:null,as:null,async:Et,autoCapitalize:null,autoComplete:Wt,autoFocus:Et,autoPlay:Et,blocking:Wt,capture:null,charSet:null,checked:Et,cite:null,className:Wt,cols:Ne,colSpan:null,content:null,contentEditable:Nn,controls:Et,controlsList:Wt,coords:Ne|wl,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Et,defer:Et,dir:null,dirName:null,disabled:Et,download:x1,draggable:Nn,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Et,formTarget:null,headers:Wt,height:Ne,hidden:x1,high:Ne,href:null,hrefLang:null,htmlFor:Wt,httpEquiv:Wt,id:null,imageSizes:null,imageSrcSet:null,inert:Et,inputMode:null,integrity:null,is:null,isMap:Et,itemId:null,itemProp:Wt,itemRef:Wt,itemScope:Et,itemType:Wt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Et,low:Ne,manifest:null,max:null,maxLength:Ne,media:null,method:null,min:null,minLength:Ne,multiple:Et,muted:Et,name:null,nonce:null,noModule:Et,noValidate:Et,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Et,optimum:Ne,pattern:null,ping:Wt,placeholder:null,playsInline:Et,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Et,referrerPolicy:null,rel:Wt,required:Et,reversed:Et,rows:Ne,rowSpan:Ne,sandbox:Wt,scope:null,scoped:Et,seamless:Et,selected:Et,shadowRootClonable:Et,shadowRootDelegatesFocus:Et,shadowRootMode:null,shape:null,size:Ne,sizes:null,slot:null,span:Ne,spellCheck:Nn,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Ne,step:null,style:null,tabIndex:Ne,target:null,title:null,translate:null,type:null,typeMustMatch:Et,useMap:null,value:Nn,width:Ne,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Wt,axis:null,background:null,bgColor:null,border:Ne,borderColor:null,bottomMargin:Ne,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Et,declare:Et,event:null,face:null,frame:null,frameBorder:null,hSpace:Ne,leftMargin:Ne,link:null,longDesc:null,lowSrc:null,marginHeight:Ne,marginWidth:Ne,noResize:Et,noHref:Et,noShade:Et,noWrap:Et,object:null,profile:null,prompt:null,rev:null,rightMargin:Ne,rules:null,scheme:null,scrolling:Nn,standby:null,summary:null,text:null,topMargin:Ne,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Ne,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Et,disableRemotePlayback:Et,prefix:null,property:null,results:Ne,security:null,unselectable:null},space:"html",transform:M6}),Kv=Ll({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Lr,accentHeight:Ne,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Ne,amplitude:Ne,arabicForm:null,ascent:Ne,attributeName:null,attributeType:null,azimuth:Ne,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Ne,by:null,calcMode:null,capHeight:Ne,className:Wt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Ne,diffuseConstant:Ne,direction:null,display:null,dur:null,divisor:Ne,dominantBaseline:null,download:Et,dx:null,dy:null,edgeMode:null,editable:null,elevation:Ne,enableBackground:null,end:null,event:null,exponent:Ne,externalResourcesRequired:null,fill:null,fillOpacity:Ne,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:wl,g2:wl,glyphName:wl,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Ne,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Ne,horizOriginX:Ne,horizOriginY:Ne,id:null,ideographic:Ne,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Ne,k:Ne,k1:Ne,k2:Ne,k3:Ne,k4:Ne,kernelMatrix:Lr,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Ne,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Ne,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Ne,overlineThickness:Ne,paintOrder:null,panose1:null,path:null,pathLength:Ne,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Wt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Ne,pointsAtY:Ne,pointsAtZ:Ne,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Lr,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Lr,rev:Lr,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Lr,requiredFeatures:Lr,requiredFonts:Lr,requiredFormats:Lr,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:Ne,specularExponent:Ne,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Ne,strikethroughThickness:Ne,string:null,stroke:null,strokeDashArray:Lr,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Ne,strokeOpacity:Ne,strokeWidth:null,style:null,surfaceScale:Ne,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Lr,tabIndex:Ne,tableValues:null,target:null,targetX:Ne,targetY:Ne,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Lr,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Ne,underlineThickness:Ne,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Ne,values:null,vAlphabetic:Ne,vMathematical:Ne,vectorEffect:null,vHanging:Ne,vIdeographic:Ne,version:null,vertAdvY:Ne,vertOriginX:Ne,vertOriginY:Ne,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Ne,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:O6}),R6=Ll({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),D6=Ll({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:M6}),I6=Ll({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),$v={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"},Xv=/[A-Z]/g,X4=/-[a-z]/g,Wv=/^data[-\w.:]+$/i;function gm(e,t){const n=mo(t);let a=t,s=_r;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Wv.test(t)){if(t.charAt(4)==="-"){const l=t.slice(5).replace(X4,Zv);a="data"+l.charAt(0).toUpperCase()+l.slice(1)}else{const l=t.slice(4);if(!X4.test(l)){let o=l.replace(Xv,Qv);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}s=pm}return new s(a,t)}function Qv(e){return"-"+e.toLowerCase()}function Zv(e){return e.charAt(1).toUpperCase()}const j0=C6([N6,Vv,R6,D6,I6],"html"),Bl=C6([N6,Kv,R6,D6,I6],"svg");function W4(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function L6(e){return e.join(" ").trim()}var gl={},Sh,Q4;function Jv(){if(Q4)return Sh;Q4=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,a=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,s=/^:\s*/,l=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,o=/^[;\s]*/,d=/^\s+|\s+$/g,f=`
50
- `,h="/",p="*",b="",T="comment",v="declaration";Sh=function(k,R){if(typeof k!="string")throw new TypeError("First argument must be a string");if(!k)return[];R=R||{};var C=1,D=1;function U(pe){var ue=pe.match(t);ue&&(C+=ue.length);var me=pe.lastIndexOf(f);D=~me?pe.length-me:D+pe.length}function J(){var pe={line:C,column:D};return function(ue){return ue.position=new j(pe),te(),ue}}function j(pe){this.start=pe,this.end={line:C,column:D},this.source=R.source}j.prototype.content=k;function B(pe){var ue=new Error(R.source+":"+C+":"+D+": "+pe);if(ue.reason=pe,ue.filename=R.source,ue.line=C,ue.column=D,ue.source=k,!R.silent)throw ue}function Q(pe){var ue=pe.exec(k);if(ue){var me=ue[0];return U(me),k=k.slice(me.length),ue}}function te(){Q(n)}function ae(pe){var ue;for(pe=pe||[];ue=Y();)ue!==!1&&pe.push(ue);return pe}function Y(){var pe=J();if(!(h!=k.charAt(0)||p!=k.charAt(1))){for(var ue=2;b!=k.charAt(ue)&&(p!=k.charAt(ue)||h!=k.charAt(ue+1));)++ue;if(ue+=2,b===k.charAt(ue-1))return B("End of comment missing");var me=k.slice(2,ue-2);return D+=2,U(me),k=k.slice(ue),D+=2,pe({type:T,comment:me})}}function Z(){var pe=J(),ue=Q(a);if(ue){if(Y(),!Q(s))return B("property missing ':'");var me=Q(l),$=pe({type:v,property:A(ue[0].replace(e,b)),value:me?A(me[0].replace(e,b)):b});return Q(o),$}}function ee(){var pe=[];ae(pe);for(var ue;ue=Z();)ue!==!1&&(pe.push(ue),ae(pe));return pe}return te(),ee()};function A(k){return k?k.replace(d,b):b}return Sh}var Z4;function eT(){if(Z4)return gl;Z4=1;var e=gl&&gl.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(gl,"__esModule",{value:!0}),gl.default=n;var t=e(Jv());function n(a,s){var l=null;if(!a||typeof a!="string")return l;var o=(0,t.default)(a),d=typeof s=="function";return o.forEach(function(f){if(f.type==="declaration"){var h=f.property,p=f.value;d?s(h,p,f):p&&(l=l||{},l[h]=p)}}),l}return gl}var Vu={},J4;function tT(){if(J4)return Vu;J4=1,Object.defineProperty(Vu,"__esModule",{value:!0}),Vu.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,n=/^[^-]+$/,a=/^-(webkit|moz|ms|o|khtml)-/,s=/^-(ms)-/,l=function(h){return!h||n.test(h)||e.test(h)},o=function(h,p){return p.toUpperCase()},d=function(h,p){return"".concat(p,"-")},f=function(h,p){return p===void 0&&(p={}),l(h)?h:(h=h.toLowerCase(),p.reactCompat?h=h.replace(s,d):h=h.replace(a,d),h.replace(t,o))};return Vu.camelCase=f,Vu}var Ku,eb;function nT(){if(eb)return Ku;eb=1;var e=Ku&&Ku.__importDefault||function(s){return s&&s.__esModule?s:{default:s}},t=e(eT()),n=tT();function a(s,l){var o={};return!s||typeof s!="string"||(0,t.default)(s,function(d,f){d&&f&&(o[(0,n.camelCase)(d,l)]=f)}),o}return a.default=a,Ku=a,Ku}var rT=nT();const aT=Y0(rT),V0=B6("end"),Ma=B6("start");function B6(e){return t;function t(n){const a=n&&n.position&&n.position[e]||{};if(typeof a.line=="number"&&a.line>0&&typeof a.column=="number"&&a.column>0)return{line:a.line,column:a.column,offset:typeof a.offset=="number"&&a.offset>-1?a.offset:void 0}}}function iT(e){const t=Ma(e),n=V0(e);if(t&&n)return{start:t,end:n}}function to(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?tb(e.position):"start"in e||"end"in e?tb(e):"line"in e||"column"in e?w1(e):""}function w1(e){return nb(e&&e.line)+":"+nb(e&&e.column)}function tb(e){return w1(e&&e.start)+"-"+w1(e&&e.end)}function nb(e){return e&&typeof e=="number"?e:1}class Zn extends Error{constructor(t,n,a){super(),typeof n=="string"&&(a=n,n=void 0);let s="",l={},o=!1;if(n&&("line"in n&&"column"in n?l={place:n}:"start"in n&&"end"in n?l={place:n}:"type"in n?l={ancestors:[n],place:n.position}:l={...n}),typeof t=="string"?s=t:!l.cause&&t&&(o=!0,s=t.message,l.cause=t),!l.ruleId&&!l.source&&typeof a=="string"){const f=a.indexOf(":");f===-1?l.ruleId=a:(l.source=a.slice(0,f),l.ruleId=a.slice(f+1))}if(!l.place&&l.ancestors&&l.ancestors){const f=l.ancestors[l.ancestors.length-1];f&&(l.place=f.position)}const d=l.place&&"start"in l.place?l.place.start:l.place;this.ancestors=l.ancestors||void 0,this.cause=l.cause||void 0,this.column=d?d.column:void 0,this.fatal=void 0,this.file,this.message=s,this.line=d?d.line:void 0,this.name=to(l.place)||"1:1",this.place=l.place||void 0,this.reason=this.message,this.ruleId=l.ruleId||void 0,this.source=l.source||void 0,this.stack=o&&l.cause&&typeof l.cause.stack=="string"?l.cause.stack:"",this.actual,this.expected,this.note,this.url}}Zn.prototype.file="";Zn.prototype.name="";Zn.prototype.reason="";Zn.prototype.message="";Zn.prototype.stack="";Zn.prototype.column=void 0;Zn.prototype.line=void 0;Zn.prototype.ancestors=void 0;Zn.prototype.cause=void 0;Zn.prototype.fatal=void 0;Zn.prototype.place=void 0;Zn.prototype.ruleId=void 0;Zn.prototype.source=void 0;const bm={}.hasOwnProperty,sT=new Map,lT=/[A-Z]/g,uT=new Set(["table","tbody","thead","tfoot","tr"]),oT=new Set(["td","th"]),P6="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function cT(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let a;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");a=ET(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");a=bT(n,t.jsx,t.jsxs)}const s={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:a,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?Bl:j0,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},l=U6(s,e,void 0);return l&&typeof l!="string"?l:s.create(e,s.Fragment,{children:l||void 0},void 0)}function U6(e,t,n){if(t.type==="element")return dT(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return fT(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return mT(e,t,n);if(t.type==="mdxjsEsm")return hT(e,t);if(t.type==="root")return pT(e,t,n);if(t.type==="text")return gT(e,t)}function dT(e,t,n){const a=e.schema;let s=a;t.tagName.toLowerCase()==="svg"&&a.space==="html"&&(s=Bl,e.schema=s),e.ancestors.push(t);const l=F6(e,t.tagName,!1),o=yT(e,t);let d=ym(e,t);return uT.has(t.tagName)&&(d=d.filter(function(f){return typeof f=="string"?!Gv(f):!0})),z6(e,o,l,t),Em(o,d),e.ancestors.pop(),e.schema=a,e.create(t,l,o,n)}function fT(e,t){if(t.data&&t.data.estree&&e.evaluater){const a=t.data.estree.body[0];return a.type,e.evaluater.evaluateExpression(a.expression)}po(e,t.position)}function hT(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);po(e,t.position)}function mT(e,t,n){const a=e.schema;let s=a;t.name==="svg"&&a.space==="html"&&(s=Bl,e.schema=s),e.ancestors.push(t);const l=t.name===null?e.Fragment:F6(e,t.name,!0),o=vT(e,t),d=ym(e,t);return z6(e,o,l,t),Em(o,d),e.ancestors.pop(),e.schema=a,e.create(t,l,o,n)}function pT(e,t,n){const a={};return Em(a,ym(e,t)),e.create(t,e.Fragment,a,n)}function gT(e,t){return t.value}function z6(e,t,n,a){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=a)}function Em(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function bT(e,t,n){return a;function a(s,l,o,d){const h=Array.isArray(o.children)?n:t;return d?h(l,o,d):h(l,o)}}function ET(e,t){return n;function n(a,s,l,o){const d=Array.isArray(l.children),f=Ma(a);return t(s,l,o,d,{columnNumber:f?f.column-1:void 0,fileName:e,lineNumber:f?f.line:void 0},void 0)}}function yT(e,t){const n={};let a,s;for(s in t.properties)if(s!=="children"&&bm.call(t.properties,s)){const l=TT(e,s,t.properties[s]);if(l){const[o,d]=l;e.tableCellAlignToStyle&&o==="align"&&typeof d=="string"&&oT.has(t.tagName)?a=d:n[o]=d}}if(a){const l=n.style||(n.style={});l[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=a}return n}function vT(e,t){const n={};for(const a of t.attributes)if(a.type==="mdxJsxExpressionAttribute")if(a.data&&a.data.estree&&e.evaluater){const l=a.data.estree.body[0];l.type;const o=l.expression;o.type;const d=o.properties[0];d.type,Object.assign(n,e.evaluater.evaluateExpression(d.argument))}else po(e,t.position);else{const s=a.name;let l;if(a.value&&typeof a.value=="object")if(a.value.data&&a.value.data.estree&&e.evaluater){const d=a.value.data.estree.body[0];d.type,l=e.evaluater.evaluateExpression(d.expression)}else po(e,t.position);else l=a.value===null?!0:a.value;n[s]=l}return n}function ym(e,t){const n=[];let a=-1;const s=e.passKeys?new Map:sT;for(;++a<t.children.length;){const l=t.children[a];let o;if(e.passKeys){const f=l.type==="element"?l.tagName:l.type==="mdxJsxFlowElement"||l.type==="mdxJsxTextElement"?l.name:void 0;if(f){const h=s.get(f)||0;o=f+"-"+h,s.set(f,h+1)}}const d=U6(e,l,o);d!==void 0&&n.push(d)}return n}function TT(e,t,n){const a=gm(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=a.commaSeparated?k6(n):L6(n)),a.property==="style"){let s=typeof n=="object"?n:_T(e,String(n));return e.stylePropertyNameCase==="css"&&(s=ST(s)),["style",s]}return[e.elementAttributeNameCase==="react"&&a.space?$v[a.property]||a.property:a.attribute,n]}}function _T(e,t){try{return aT(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const a=n,s=new Zn("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:a,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw s.file=e.filePath||void 0,s.url=P6+"#cannot-parse-style-attribute",s}}function F6(e,t,n){let a;if(!n)a={type:"Literal",value:t};else if(t.includes(".")){const s=t.split(".");let l=-1,o;for(;++l<s.length;){const d=V4(s[l])?{type:"Identifier",name:s[l]}:{type:"Literal",value:s[l]};o=o?{type:"MemberExpression",object:o,property:d,computed:!!(l&&d.type==="Literal"),optional:!1}:d}a=o}else a=V4(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(a.type==="Literal"){const s=a.value;return bm.call(e.components,s)?e.components[s]:s}if(e.evaluater)return e.evaluater.evaluateExpression(a);po(e)}function po(e,t){const n=new Zn("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=P6+"#cannot-handle-mdx-estrees-without-createevaluater",n}function ST(e){const t={};let n;for(n in e)bm.call(e,n)&&(t[xT(n)]=e[n]);return t}function xT(e){let t=e.replace(lT,AT);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function AT(e){return"-"+e.toLowerCase()}const xh={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},wT={};function vm(e,t){const n=wT,a=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,s=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return H6(e,a,s)}function H6(e,t,n){if(kT(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return rb(e.children,t,n)}return Array.isArray(e)?rb(e,t,n):""}function rb(e,t,n){const a=[];let s=-1;for(;++s<e.length;)a[s]=H6(e[s],t,n);return a.join("")}function kT(e){return!!(e&&typeof e=="object")}const ab=document.createElement("i");function Tm(e){const t="&"+e+";";ab.innerHTML=t;const n=ab.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function zr(e,t,n,a){const s=e.length;let l=0,o;if(t<0?t=-t>s?0:s+t:t=t>s?s:t,n=n>0?n:0,a.length<1e4)o=Array.from(a),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);l<a.length;)o=a.slice(l,l+1e4),o.unshift(t,0),e.splice(...o),l+=1e4,t+=1e4}function Wr(e,t){return e.length>0?(zr(e,e.length,0,t),e):t}const ib={}.hasOwnProperty;function q6(e){const t={};let n=-1;for(;++n<e.length;)CT(t,e[n]);return t}function CT(e,t){let n;for(n in t){const s=(ib.call(e,n)?e[n]:void 0)||(e[n]={}),l=t[n];let o;if(l)for(o in l){ib.call(s,o)||(s[o]=[]);const d=l[o];NT(s[o],Array.isArray(d)?d:d?[d]:[])}}}function NT(e,t){let n=-1;const a=[];for(;++n<t.length;)(t[n].add==="after"?e:a).push(t[n]);zr(e,0,0,a)}function Y6(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function ma(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const ur=ts(/[A-Za-z]/),Qn=ts(/[\dA-Za-z]/),OT=ts(/[#-'*+\--9=?A-Z^-~]/);function k0(e){return e!==null&&(e<32||e===127)}const k1=ts(/\d/),MT=ts(/[\dA-Fa-f]/),RT=ts(/[!-/:-@[-`{-~]/);function Xe(e){return e!==null&&e<-2}function Kt(e){return e!==null&&(e<0||e===32)}function Nt(e){return e===-2||e===-1||e===32}const K0=ts(new RegExp("\\p{P}|\\p{S}","u")),Rs=ts(/\s/);function ts(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function Pl(e){const t=[];let n=-1,a=0,s=0;for(;++n<e.length;){const l=e.charCodeAt(n);let o="";if(l===37&&Qn(e.charCodeAt(n+1))&&Qn(e.charCodeAt(n+2)))s=2;else if(l<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(l))||(o=String.fromCharCode(l));else if(l>55295&&l<57344){const d=e.charCodeAt(n+1);l<56320&&d>56319&&d<57344?(o=String.fromCharCode(l,d),s=1):o="�"}else o=String.fromCharCode(l);o&&(t.push(e.slice(a,n),encodeURIComponent(o)),a=n+s+1,o=""),s&&(n+=s,s=0)}return t.join("")+e.slice(a)}function At(e,t,n,a){const s=a?a-1:Number.POSITIVE_INFINITY;let l=0;return o;function o(f){return Nt(f)?(e.enter(n),d(f)):t(f)}function d(f){return Nt(f)&&l++<s?(e.consume(f),d):(e.exit(n),t(f))}}const DT={tokenize:IT};function IT(e){const t=e.attempt(this.parser.constructs.contentInitial,a,s);let n;return t;function a(d){if(d===null){e.consume(d);return}return e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),At(e,t,"linePrefix")}function s(d){return e.enter("paragraph"),l(d)}function l(d){const f=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=f),n=f,o(d)}function o(d){if(d===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(d);return}return Xe(d)?(e.consume(d),e.exit("chunkText"),l):(e.consume(d),o)}}const LT={tokenize:BT},sb={tokenize:PT};function BT(e){const t=this,n=[];let a=0,s,l,o;return d;function d(U){if(a<n.length){const J=n[a];return t.containerState=J[1],e.attempt(J[0].continuation,f,h)(U)}return h(U)}function f(U){if(a++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,s&&D();const J=t.events.length;let j=J,B;for(;j--;)if(t.events[j][0]==="exit"&&t.events[j][1].type==="chunkFlow"){B=t.events[j][1].end;break}C(a);let Q=J;for(;Q<t.events.length;)t.events[Q][1].end={...B},Q++;return zr(t.events,j+1,0,t.events.slice(J)),t.events.length=Q,h(U)}return d(U)}function h(U){if(a===n.length){if(!s)return T(U);if(s.currentConstruct&&s.currentConstruct.concrete)return A(U);t.interrupt=!!(s.currentConstruct&&!s._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(sb,p,b)(U)}function p(U){return s&&D(),C(a),T(U)}function b(U){return t.parser.lazy[t.now().line]=a!==n.length,o=t.now().offset,A(U)}function T(U){return t.containerState={},e.attempt(sb,v,A)(U)}function v(U){return a++,n.push([t.currentConstruct,t.containerState]),T(U)}function A(U){if(U===null){s&&D(),C(0),e.consume(U);return}return s=s||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:s,contentType:"flow",previous:l}),k(U)}function k(U){if(U===null){R(e.exit("chunkFlow"),!0),C(0),e.consume(U);return}return Xe(U)?(e.consume(U),R(e.exit("chunkFlow")),a=0,t.interrupt=void 0,d):(e.consume(U),k)}function R(U,J){const j=t.sliceStream(U);if(J&&j.push(null),U.previous=l,l&&(l.next=U),l=U,s.defineSkip(U.start),s.write(j),t.parser.lazy[U.start.line]){let B=s.events.length;for(;B--;)if(s.events[B][1].start.offset<o&&(!s.events[B][1].end||s.events[B][1].end.offset>o))return;const Q=t.events.length;let te=Q,ae,Y;for(;te--;)if(t.events[te][0]==="exit"&&t.events[te][1].type==="chunkFlow"){if(ae){Y=t.events[te][1].end;break}ae=!0}for(C(a),B=Q;B<t.events.length;)t.events[B][1].end={...Y},B++;zr(t.events,te+1,0,t.events.slice(Q)),t.events.length=B}}function C(U){let J=n.length;for(;J-- >U;){const j=n[J];t.containerState=j[1],j[0].exit.call(t,e)}n.length=U}function D(){s.write([null]),l=void 0,s=void 0,t.containerState._closeFlow=void 0}}function PT(e,t,n){return At(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Nl(e){if(e===null||Kt(e)||Rs(e))return 1;if(K0(e))return 2}function $0(e,t,n){const a=[];let s=-1;for(;++s<e.length;){const l=e[s].resolveAll;l&&!a.includes(l)&&(t=l(t,n),a.push(l))}return t}const C1={name:"attention",resolveAll:UT,tokenize:zT};function UT(e,t){let n=-1,a,s,l,o,d,f,h,p;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(a=n;a--;)if(e[a][0]==="exit"&&e[a][1].type==="attentionSequence"&&e[a][1]._open&&t.sliceSerialize(e[a][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[a][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[a][1].end.offset-e[a][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;f=e[a][1].end.offset-e[a][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const b={...e[a][1].end},T={...e[n][1].start};lb(b,-f),lb(T,f),o={type:f>1?"strongSequence":"emphasisSequence",start:b,end:{...e[a][1].end}},d={type:f>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:T},l={type:f>1?"strongText":"emphasisText",start:{...e[a][1].end},end:{...e[n][1].start}},s={type:f>1?"strong":"emphasis",start:{...o.start},end:{...d.end}},e[a][1].end={...o.start},e[n][1].start={...d.end},h=[],e[a][1].end.offset-e[a][1].start.offset&&(h=Wr(h,[["enter",e[a][1],t],["exit",e[a][1],t]])),h=Wr(h,[["enter",s,t],["enter",o,t],["exit",o,t],["enter",l,t]]),h=Wr(h,$0(t.parser.constructs.insideSpan.null,e.slice(a+1,n),t)),h=Wr(h,[["exit",l,t],["enter",d,t],["exit",d,t],["exit",s,t]]),e[n][1].end.offset-e[n][1].start.offset?(p=2,h=Wr(h,[["enter",e[n][1],t],["exit",e[n][1],t]])):p=0,zr(e,a-1,n-a+3,h),n=a+h.length-p-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function zT(e,t){const n=this.parser.constructs.attentionMarkers.null,a=this.previous,s=Nl(a);let l;return o;function o(f){return l=f,e.enter("attentionSequence"),d(f)}function d(f){if(f===l)return e.consume(f),d;const h=e.exit("attentionSequence"),p=Nl(f),b=!p||p===2&&s||n.includes(f),T=!s||s===2&&p||n.includes(a);return h._open=!!(l===42?b:b&&(s||!T)),h._close=!!(l===42?T:T&&(p||!b)),t(f)}}function lb(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const FT={name:"autolink",tokenize:HT};function HT(e,t,n){let a=0;return s;function s(v){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(v),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),l}function l(v){return ur(v)?(e.consume(v),o):v===64?n(v):h(v)}function o(v){return v===43||v===45||v===46||Qn(v)?(a=1,d(v)):h(v)}function d(v){return v===58?(e.consume(v),a=0,f):(v===43||v===45||v===46||Qn(v))&&a++<32?(e.consume(v),d):(a=0,h(v))}function f(v){return v===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(v),e.exit("autolinkMarker"),e.exit("autolink"),t):v===null||v===32||v===60||k0(v)?n(v):(e.consume(v),f)}function h(v){return v===64?(e.consume(v),p):OT(v)?(e.consume(v),h):n(v)}function p(v){return Qn(v)?b(v):n(v)}function b(v){return v===46?(e.consume(v),a=0,p):v===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(v),e.exit("autolinkMarker"),e.exit("autolink"),t):T(v)}function T(v){if((v===45||Qn(v))&&a++<63){const A=v===45?T:b;return e.consume(v),A}return n(v)}}const _o={partial:!0,tokenize:qT};function qT(e,t,n){return a;function a(l){return Nt(l)?At(e,s,"linePrefix")(l):s(l)}function s(l){return l===null||Xe(l)?t(l):n(l)}}const G6={continuation:{tokenize:GT},exit:jT,name:"blockQuote",tokenize:YT};function YT(e,t,n){const a=this;return s;function s(o){if(o===62){const d=a.containerState;return d.open||(e.enter("blockQuote",{_container:!0}),d.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(o),e.exit("blockQuoteMarker"),l}return n(o)}function l(o){return Nt(o)?(e.enter("blockQuotePrefixWhitespace"),e.consume(o),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(o))}}function GT(e,t,n){const a=this;return s;function s(o){return Nt(o)?At(e,l,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o):l(o)}function l(o){return e.attempt(G6,t,n)(o)}}function jT(e){e.exit("blockQuote")}const j6={name:"characterEscape",tokenize:VT};function VT(e,t,n){return a;function a(l){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(l),e.exit("escapeMarker"),s}function s(l){return RT(l)?(e.enter("characterEscapeValue"),e.consume(l),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(l)}}const V6={name:"characterReference",tokenize:KT};function KT(e,t,n){const a=this;let s=0,l,o;return d;function d(b){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(b),e.exit("characterReferenceMarker"),f}function f(b){return b===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(b),e.exit("characterReferenceMarkerNumeric"),h):(e.enter("characterReferenceValue"),l=31,o=Qn,p(b))}function h(b){return b===88||b===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(b),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),l=6,o=MT,p):(e.enter("characterReferenceValue"),l=7,o=k1,p(b))}function p(b){if(b===59&&s){const T=e.exit("characterReferenceValue");return o===Qn&&!Tm(a.sliceSerialize(T))?n(b):(e.enter("characterReferenceMarker"),e.consume(b),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return o(b)&&s++<l?(e.consume(b),p):n(b)}}const ub={partial:!0,tokenize:XT},ob={concrete:!0,name:"codeFenced",tokenize:$T};function $T(e,t,n){const a=this,s={partial:!0,tokenize:j};let l=0,o=0,d;return f;function f(B){return h(B)}function h(B){const Q=a.events[a.events.length-1];return l=Q&&Q[1].type==="linePrefix"?Q[2].sliceSerialize(Q[1],!0).length:0,d=B,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),p(B)}function p(B){return B===d?(o++,e.consume(B),p):o<3?n(B):(e.exit("codeFencedFenceSequence"),Nt(B)?At(e,b,"whitespace")(B):b(B))}function b(B){return B===null||Xe(B)?(e.exit("codeFencedFence"),a.interrupt?t(B):e.check(ub,k,J)(B)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),T(B))}function T(B){return B===null||Xe(B)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),b(B)):Nt(B)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),At(e,v,"whitespace")(B)):B===96&&B===d?n(B):(e.consume(B),T)}function v(B){return B===null||Xe(B)?b(B):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),A(B))}function A(B){return B===null||Xe(B)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),b(B)):B===96&&B===d?n(B):(e.consume(B),A)}function k(B){return e.attempt(s,J,R)(B)}function R(B){return e.enter("lineEnding"),e.consume(B),e.exit("lineEnding"),C}function C(B){return l>0&&Nt(B)?At(e,D,"linePrefix",l+1)(B):D(B)}function D(B){return B===null||Xe(B)?e.check(ub,k,J)(B):(e.enter("codeFlowValue"),U(B))}function U(B){return B===null||Xe(B)?(e.exit("codeFlowValue"),D(B)):(e.consume(B),U)}function J(B){return e.exit("codeFenced"),t(B)}function j(B,Q,te){let ae=0;return Y;function Y(me){return B.enter("lineEnding"),B.consume(me),B.exit("lineEnding"),Z}function Z(me){return B.enter("codeFencedFence"),Nt(me)?At(B,ee,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(me):ee(me)}function ee(me){return me===d?(B.enter("codeFencedFenceSequence"),pe(me)):te(me)}function pe(me){return me===d?(ae++,B.consume(me),pe):ae>=o?(B.exit("codeFencedFenceSequence"),Nt(me)?At(B,ue,"whitespace")(me):ue(me)):te(me)}function ue(me){return me===null||Xe(me)?(B.exit("codeFencedFence"),Q(me)):te(me)}}}function XT(e,t,n){const a=this;return s;function s(o){return o===null?n(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),l)}function l(o){return a.parser.lazy[a.now().line]?n(o):t(o)}}const Ah={name:"codeIndented",tokenize:QT},WT={partial:!0,tokenize:ZT};function QT(e,t,n){const a=this;return s;function s(h){return e.enter("codeIndented"),At(e,l,"linePrefix",5)(h)}function l(h){const p=a.events[a.events.length-1];return p&&p[1].type==="linePrefix"&&p[2].sliceSerialize(p[1],!0).length>=4?o(h):n(h)}function o(h){return h===null?f(h):Xe(h)?e.attempt(WT,o,f)(h):(e.enter("codeFlowValue"),d(h))}function d(h){return h===null||Xe(h)?(e.exit("codeFlowValue"),o(h)):(e.consume(h),d)}function f(h){return e.exit("codeIndented"),t(h)}}function ZT(e,t,n){const a=this;return s;function s(o){return a.parser.lazy[a.now().line]?n(o):Xe(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),s):At(e,l,"linePrefix",5)(o)}function l(o){const d=a.events[a.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?t(o):Xe(o)?s(o):n(o)}}const JT={name:"codeText",previous:t9,resolve:e9,tokenize:n9};function e9(e){let t=e.length-4,n=3,a,s;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(a=n;++a<t;)if(e[a][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(a=n-1,t++;++a<=t;)s===void 0?a!==t&&e[a][1].type!=="lineEnding"&&(s=a):(a===t||e[a][1].type==="lineEnding")&&(e[s][1].type="codeTextData",a!==s+2&&(e[s][1].end=e[a-1][1].end,e.splice(s+2,a-s-2),t-=a-s-2,a=s+2),s=void 0);return e}function t9(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function n9(e,t,n){let a=0,s,l;return o;function o(b){return e.enter("codeText"),e.enter("codeTextSequence"),d(b)}function d(b){return b===96?(e.consume(b),a++,d):(e.exit("codeTextSequence"),f(b))}function f(b){return b===null?n(b):b===32?(e.enter("space"),e.consume(b),e.exit("space"),f):b===96?(l=e.enter("codeTextSequence"),s=0,p(b)):Xe(b)?(e.enter("lineEnding"),e.consume(b),e.exit("lineEnding"),f):(e.enter("codeTextData"),h(b))}function h(b){return b===null||b===32||b===96||Xe(b)?(e.exit("codeTextData"),f(b)):(e.consume(b),h)}function p(b){return b===96?(e.consume(b),s++,p):s===a?(e.exit("codeTextSequence"),e.exit("codeText"),t(b)):(l.type="codeTextData",h(b))}}class r9{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const a=n??Number.POSITIVE_INFINITY;return a<this.left.length?this.left.slice(t,a):t>this.left.length?this.right.slice(this.right.length-a+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-a+this.left.length).reverse())}splice(t,n,a){const s=n||0;this.setCursor(Math.trunc(t));const l=this.right.splice(this.right.length-s,Number.POSITIVE_INFINITY);return a&&$u(this.left,a),l.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),$u(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),$u(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);$u(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);$u(this.left,n.reverse())}}}function $u(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function K6(e){const t={};let n=-1,a,s,l,o,d,f,h;const p=new r9(e);for(;++n<p.length;){for(;n in t;)n=t[n];if(a=p.get(n),n&&a[1].type==="chunkFlow"&&p.get(n-1)[1].type==="listItemPrefix"&&(f=a[1]._tokenizer.events,l=0,l<f.length&&f[l][1].type==="lineEndingBlank"&&(l+=2),l<f.length&&f[l][1].type==="content"))for(;++l<f.length&&f[l][1].type!=="content";)f[l][1].type==="chunkText"&&(f[l][1]._isInFirstContentOfListItem=!0,l++);if(a[0]==="enter")a[1].contentType&&(Object.assign(t,a9(p,n)),n=t[n],h=!0);else if(a[1]._container){for(l=n,s=void 0;l--;)if(o=p.get(l),o[1].type==="lineEnding"||o[1].type==="lineEndingBlank")o[0]==="enter"&&(s&&(p.get(s)[1].type="lineEndingBlank"),o[1].type="lineEnding",s=l);else if(!(o[1].type==="linePrefix"||o[1].type==="listItemIndent"))break;s&&(a[1].end={...p.get(s)[1].start},d=p.slice(s,n),d.unshift(a),p.splice(s,n-s+1,d))}}return zr(e,0,Number.POSITIVE_INFINITY,p.slice(0)),!h}function a9(e,t){const n=e.get(t)[1],a=e.get(t)[2];let s=t-1;const l=[];let o=n._tokenizer;o||(o=a.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(o._contentTypeTextTrailing=!0));const d=o.events,f=[],h={};let p,b,T=-1,v=n,A=0,k=0;const R=[k];for(;v;){for(;e.get(++s)[1]!==v;);l.push(s),v._tokenizer||(p=a.sliceStream(v),v.next||p.push(null),b&&o.defineSkip(v.start),v._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(p),v._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),b=v,v=v.next}for(v=n;++T<d.length;)d[T][0]==="exit"&&d[T-1][0]==="enter"&&d[T][1].type===d[T-1][1].type&&d[T][1].start.line!==d[T][1].end.line&&(k=T+1,R.push(k),v._tokenizer=void 0,v.previous=void 0,v=v.next);for(o.events=[],v?(v._tokenizer=void 0,v.previous=void 0):R.pop(),T=R.length;T--;){const C=d.slice(R[T],R[T+1]),D=l.pop();f.push([D,D+C.length-1]),e.splice(D,2,C)}for(f.reverse(),T=-1;++T<f.length;)h[A+f[T][0]]=A+f[T][1],A+=f[T][1]-f[T][0]-1;return h}const i9={resolve:l9,tokenize:u9},s9={partial:!0,tokenize:o9};function l9(e){return K6(e),e}function u9(e,t){let n;return a;function a(d){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),s(d)}function s(d){return d===null?l(d):Xe(d)?e.check(s9,o,l)(d):(e.consume(d),s)}function l(d){return e.exit("chunkContent"),e.exit("content"),t(d)}function o(d){return e.consume(d),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,s}}function o9(e,t,n){const a=this;return s;function s(o){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),At(e,l,"linePrefix")}function l(o){if(o===null||Xe(o))return n(o);const d=a.events[a.events.length-1];return!a.parser.constructs.disable.null.includes("codeIndented")&&d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?t(o):e.interrupt(a.parser.constructs.flow,n,t)(o)}}function $6(e,t,n,a,s,l,o,d,f){const h=f||Number.POSITIVE_INFINITY;let p=0;return b;function b(C){return C===60?(e.enter(a),e.enter(s),e.enter(l),e.consume(C),e.exit(l),T):C===null||C===32||C===41||k0(C)?n(C):(e.enter(a),e.enter(o),e.enter(d),e.enter("chunkString",{contentType:"string"}),k(C))}function T(C){return C===62?(e.enter(l),e.consume(C),e.exit(l),e.exit(s),e.exit(a),t):(e.enter(d),e.enter("chunkString",{contentType:"string"}),v(C))}function v(C){return C===62?(e.exit("chunkString"),e.exit(d),T(C)):C===null||C===60||Xe(C)?n(C):(e.consume(C),C===92?A:v)}function A(C){return C===60||C===62||C===92?(e.consume(C),v):v(C)}function k(C){return!p&&(C===null||C===41||Kt(C))?(e.exit("chunkString"),e.exit(d),e.exit(o),e.exit(a),t(C)):p<h&&C===40?(e.consume(C),p++,k):C===41?(e.consume(C),p--,k):C===null||C===32||C===40||k0(C)?n(C):(e.consume(C),C===92?R:k)}function R(C){return C===40||C===41||C===92?(e.consume(C),k):k(C)}}function X6(e,t,n,a,s,l){const o=this;let d=0,f;return h;function h(v){return e.enter(a),e.enter(s),e.consume(v),e.exit(s),e.enter(l),p}function p(v){return d>999||v===null||v===91||v===93&&!f||v===94&&!d&&"_hiddenFootnoteSupport"in o.parser.constructs?n(v):v===93?(e.exit(l),e.enter(s),e.consume(v),e.exit(s),e.exit(a),t):Xe(v)?(e.enter("lineEnding"),e.consume(v),e.exit("lineEnding"),p):(e.enter("chunkString",{contentType:"string"}),b(v))}function b(v){return v===null||v===91||v===93||Xe(v)||d++>999?(e.exit("chunkString"),p(v)):(e.consume(v),f||(f=!Nt(v)),v===92?T:b)}function T(v){return v===91||v===92||v===93?(e.consume(v),d++,b):b(v)}}function W6(e,t,n,a,s,l){let o;return d;function d(T){return T===34||T===39||T===40?(e.enter(a),e.enter(s),e.consume(T),e.exit(s),o=T===40?41:T,f):n(T)}function f(T){return T===o?(e.enter(s),e.consume(T),e.exit(s),e.exit(a),t):(e.enter(l),h(T))}function h(T){return T===o?(e.exit(l),f(o)):T===null?n(T):Xe(T)?(e.enter("lineEnding"),e.consume(T),e.exit("lineEnding"),At(e,h,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),p(T))}function p(T){return T===o||T===null||Xe(T)?(e.exit("chunkString"),h(T)):(e.consume(T),T===92?b:p)}function b(T){return T===o||T===92?(e.consume(T),p):p(T)}}function no(e,t){let n;return a;function a(s){return Xe(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),n=!0,a):Nt(s)?At(e,a,n?"linePrefix":"lineSuffix")(s):t(s)}}const c9={name:"definition",tokenize:f9},d9={partial:!0,tokenize:h9};function f9(e,t,n){const a=this;let s;return l;function l(v){return e.enter("definition"),o(v)}function o(v){return X6.call(a,e,d,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(v)}function d(v){return s=ma(a.sliceSerialize(a.events[a.events.length-1][1]).slice(1,-1)),v===58?(e.enter("definitionMarker"),e.consume(v),e.exit("definitionMarker"),f):n(v)}function f(v){return Kt(v)?no(e,h)(v):h(v)}function h(v){return $6(e,p,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(v)}function p(v){return e.attempt(d9,b,b)(v)}function b(v){return Nt(v)?At(e,T,"whitespace")(v):T(v)}function T(v){return v===null||Xe(v)?(e.exit("definition"),a.parser.defined.push(s),t(v)):n(v)}}function h9(e,t,n){return a;function a(d){return Kt(d)?no(e,s)(d):n(d)}function s(d){return W6(e,l,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(d)}function l(d){return Nt(d)?At(e,o,"whitespace")(d):o(d)}function o(d){return d===null||Xe(d)?t(d):n(d)}}const m9={name:"hardBreakEscape",tokenize:p9};function p9(e,t,n){return a;function a(l){return e.enter("hardBreakEscape"),e.consume(l),s}function s(l){return Xe(l)?(e.exit("hardBreakEscape"),t(l)):n(l)}}const g9={name:"headingAtx",resolve:b9,tokenize:E9};function b9(e,t){let n=e.length-2,a=3,s,l;return e[a][1].type==="whitespace"&&(a+=2),n-2>a&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(a===n-1||n-4>a&&e[n-2][1].type==="whitespace")&&(n-=a+1===n?2:4),n>a&&(s={type:"atxHeadingText",start:e[a][1].start,end:e[n][1].end},l={type:"chunkText",start:e[a][1].start,end:e[n][1].end,contentType:"text"},zr(e,a,n-a+1,[["enter",s,t],["enter",l,t],["exit",l,t],["exit",s,t]])),e}function E9(e,t,n){let a=0;return s;function s(p){return e.enter("atxHeading"),l(p)}function l(p){return e.enter("atxHeadingSequence"),o(p)}function o(p){return p===35&&a++<6?(e.consume(p),o):p===null||Kt(p)?(e.exit("atxHeadingSequence"),d(p)):n(p)}function d(p){return p===35?(e.enter("atxHeadingSequence"),f(p)):p===null||Xe(p)?(e.exit("atxHeading"),t(p)):Nt(p)?At(e,d,"whitespace")(p):(e.enter("atxHeadingText"),h(p))}function f(p){return p===35?(e.consume(p),f):(e.exit("atxHeadingSequence"),d(p))}function h(p){return p===null||p===35||Kt(p)?(e.exit("atxHeadingText"),d(p)):(e.consume(p),h)}}const y9=["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","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],cb=["pre","script","style","textarea"],v9={concrete:!0,name:"htmlFlow",resolveTo:S9,tokenize:x9},T9={partial:!0,tokenize:w9},_9={partial:!0,tokenize:A9};function S9(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 x9(e,t,n){const a=this;let s,l,o,d,f;return h;function h(M){return p(M)}function p(M){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(M),b}function b(M){return M===33?(e.consume(M),T):M===47?(e.consume(M),l=!0,k):M===63?(e.consume(M),s=3,a.interrupt?t:x):ur(M)?(e.consume(M),o=String.fromCharCode(M),R):n(M)}function T(M){return M===45?(e.consume(M),s=2,v):M===91?(e.consume(M),s=5,d=0,A):ur(M)?(e.consume(M),s=4,a.interrupt?t:x):n(M)}function v(M){return M===45?(e.consume(M),a.interrupt?t:x):n(M)}function A(M){const De="CDATA[";return M===De.charCodeAt(d++)?(e.consume(M),d===De.length?a.interrupt?t:ee:A):n(M)}function k(M){return ur(M)?(e.consume(M),o=String.fromCharCode(M),R):n(M)}function R(M){if(M===null||M===47||M===62||Kt(M)){const De=M===47,qe=o.toLowerCase();return!De&&!l&&cb.includes(qe)?(s=1,a.interrupt?t(M):ee(M)):y9.includes(o.toLowerCase())?(s=6,De?(e.consume(M),C):a.interrupt?t(M):ee(M)):(s=7,a.interrupt&&!a.parser.lazy[a.now().line]?n(M):l?D(M):U(M))}return M===45||Qn(M)?(e.consume(M),o+=String.fromCharCode(M),R):n(M)}function C(M){return M===62?(e.consume(M),a.interrupt?t:ee):n(M)}function D(M){return Nt(M)?(e.consume(M),D):Y(M)}function U(M){return M===47?(e.consume(M),Y):M===58||M===95||ur(M)?(e.consume(M),J):Nt(M)?(e.consume(M),U):Y(M)}function J(M){return M===45||M===46||M===58||M===95||Qn(M)?(e.consume(M),J):j(M)}function j(M){return M===61?(e.consume(M),B):Nt(M)?(e.consume(M),j):U(M)}function B(M){return M===null||M===60||M===61||M===62||M===96?n(M):M===34||M===39?(e.consume(M),f=M,Q):Nt(M)?(e.consume(M),B):te(M)}function Q(M){return M===f?(e.consume(M),f=null,ae):M===null||Xe(M)?n(M):(e.consume(M),Q)}function te(M){return M===null||M===34||M===39||M===47||M===60||M===61||M===62||M===96||Kt(M)?j(M):(e.consume(M),te)}function ae(M){return M===47||M===62||Nt(M)?U(M):n(M)}function Y(M){return M===62?(e.consume(M),Z):n(M)}function Z(M){return M===null||Xe(M)?ee(M):Nt(M)?(e.consume(M),Z):n(M)}function ee(M){return M===45&&s===2?(e.consume(M),$):M===60&&s===1?(e.consume(M),fe):M===62&&s===4?(e.consume(M),X):M===63&&s===3?(e.consume(M),x):M===93&&s===5?(e.consume(M),He):Xe(M)&&(s===6||s===7)?(e.exit("htmlFlowData"),e.check(T9,ce,pe)(M)):M===null||Xe(M)?(e.exit("htmlFlowData"),pe(M)):(e.consume(M),ee)}function pe(M){return e.check(_9,ue,ce)(M)}function ue(M){return e.enter("lineEnding"),e.consume(M),e.exit("lineEnding"),me}function me(M){return M===null||Xe(M)?pe(M):(e.enter("htmlFlowData"),ee(M))}function $(M){return M===45?(e.consume(M),x):ee(M)}function fe(M){return M===47?(e.consume(M),o="",Ee):ee(M)}function Ee(M){if(M===62){const De=o.toLowerCase();return cb.includes(De)?(e.consume(M),X):ee(M)}return ur(M)&&o.length<8?(e.consume(M),o+=String.fromCharCode(M),Ee):ee(M)}function He(M){return M===93?(e.consume(M),x):ee(M)}function x(M){return M===62?(e.consume(M),X):M===45&&s===2?(e.consume(M),x):ee(M)}function X(M){return M===null||Xe(M)?(e.exit("htmlFlowData"),ce(M)):(e.consume(M),X)}function ce(M){return e.exit("htmlFlow"),t(M)}}function A9(e,t,n){const a=this;return s;function s(o){return Xe(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),l):n(o)}function l(o){return a.parser.lazy[a.now().line]?n(o):t(o)}}function w9(e,t,n){return a;function a(s){return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),e.attempt(_o,t,n)}}const k9={name:"htmlText",tokenize:C9};function C9(e,t,n){const a=this;let s,l,o;return d;function d(x){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(x),f}function f(x){return x===33?(e.consume(x),h):x===47?(e.consume(x),j):x===63?(e.consume(x),U):ur(x)?(e.consume(x),te):n(x)}function h(x){return x===45?(e.consume(x),p):x===91?(e.consume(x),l=0,A):ur(x)?(e.consume(x),D):n(x)}function p(x){return x===45?(e.consume(x),v):n(x)}function b(x){return x===null?n(x):x===45?(e.consume(x),T):Xe(x)?(o=b,fe(x)):(e.consume(x),b)}function T(x){return x===45?(e.consume(x),v):b(x)}function v(x){return x===62?$(x):x===45?T(x):b(x)}function A(x){const X="CDATA[";return x===X.charCodeAt(l++)?(e.consume(x),l===X.length?k:A):n(x)}function k(x){return x===null?n(x):x===93?(e.consume(x),R):Xe(x)?(o=k,fe(x)):(e.consume(x),k)}function R(x){return x===93?(e.consume(x),C):k(x)}function C(x){return x===62?$(x):x===93?(e.consume(x),C):k(x)}function D(x){return x===null||x===62?$(x):Xe(x)?(o=D,fe(x)):(e.consume(x),D)}function U(x){return x===null?n(x):x===63?(e.consume(x),J):Xe(x)?(o=U,fe(x)):(e.consume(x),U)}function J(x){return x===62?$(x):U(x)}function j(x){return ur(x)?(e.consume(x),B):n(x)}function B(x){return x===45||Qn(x)?(e.consume(x),B):Q(x)}function Q(x){return Xe(x)?(o=Q,fe(x)):Nt(x)?(e.consume(x),Q):$(x)}function te(x){return x===45||Qn(x)?(e.consume(x),te):x===47||x===62||Kt(x)?ae(x):n(x)}function ae(x){return x===47?(e.consume(x),$):x===58||x===95||ur(x)?(e.consume(x),Y):Xe(x)?(o=ae,fe(x)):Nt(x)?(e.consume(x),ae):$(x)}function Y(x){return x===45||x===46||x===58||x===95||Qn(x)?(e.consume(x),Y):Z(x)}function Z(x){return x===61?(e.consume(x),ee):Xe(x)?(o=Z,fe(x)):Nt(x)?(e.consume(x),Z):ae(x)}function ee(x){return x===null||x===60||x===61||x===62||x===96?n(x):x===34||x===39?(e.consume(x),s=x,pe):Xe(x)?(o=ee,fe(x)):Nt(x)?(e.consume(x),ee):(e.consume(x),ue)}function pe(x){return x===s?(e.consume(x),s=void 0,me):x===null?n(x):Xe(x)?(o=pe,fe(x)):(e.consume(x),pe)}function ue(x){return x===null||x===34||x===39||x===60||x===61||x===96?n(x):x===47||x===62||Kt(x)?ae(x):(e.consume(x),ue)}function me(x){return x===47||x===62||Kt(x)?ae(x):n(x)}function $(x){return x===62?(e.consume(x),e.exit("htmlTextData"),e.exit("htmlText"),t):n(x)}function fe(x){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(x),e.exit("lineEnding"),Ee}function Ee(x){return Nt(x)?At(e,He,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(x):He(x)}function He(x){return e.enter("htmlTextData"),o(x)}}const _m={name:"labelEnd",resolveAll:R9,resolveTo:D9,tokenize:I9},N9={tokenize:L9},O9={tokenize:B9},M9={tokenize:P9};function R9(e){let t=-1;const n=[];for(;++t<e.length;){const a=e[t][1];if(n.push(e[t]),a.type==="labelImage"||a.type==="labelLink"||a.type==="labelEnd"){const s=a.type==="labelImage"?4:2;a.type="data",t+=s}}return e.length!==n.length&&zr(e,0,e.length,n),e}function D9(e,t){let n=e.length,a=0,s,l,o,d;for(;n--;)if(s=e[n][1],l){if(s.type==="link"||s.type==="labelLink"&&s._inactive)break;e[n][0]==="enter"&&s.type==="labelLink"&&(s._inactive=!0)}else if(o){if(e[n][0]==="enter"&&(s.type==="labelImage"||s.type==="labelLink")&&!s._balanced&&(l=n,s.type!=="labelLink")){a=2;break}}else s.type==="labelEnd"&&(o=n);const f={type:e[l][1].type==="labelLink"?"link":"image",start:{...e[l][1].start},end:{...e[e.length-1][1].end}},h={type:"label",start:{...e[l][1].start},end:{...e[o][1].end}},p={type:"labelText",start:{...e[l+a+2][1].end},end:{...e[o-2][1].start}};return d=[["enter",f,t],["enter",h,t]],d=Wr(d,e.slice(l+1,l+a+3)),d=Wr(d,[["enter",p,t]]),d=Wr(d,$0(t.parser.constructs.insideSpan.null,e.slice(l+a+4,o-3),t)),d=Wr(d,[["exit",p,t],e[o-2],e[o-1],["exit",h,t]]),d=Wr(d,e.slice(o+1)),d=Wr(d,[["exit",f,t]]),zr(e,l,e.length,d),e}function I9(e,t,n){const a=this;let s=a.events.length,l,o;for(;s--;)if((a.events[s][1].type==="labelImage"||a.events[s][1].type==="labelLink")&&!a.events[s][1]._balanced){l=a.events[s][1];break}return d;function d(T){return l?l._inactive?b(T):(o=a.parser.defined.includes(ma(a.sliceSerialize({start:l.end,end:a.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(T),e.exit("labelMarker"),e.exit("labelEnd"),f):n(T)}function f(T){return T===40?e.attempt(N9,p,o?p:b)(T):T===91?e.attempt(O9,p,o?h:b)(T):o?p(T):b(T)}function h(T){return e.attempt(M9,p,b)(T)}function p(T){return t(T)}function b(T){return l._balanced=!0,n(T)}}function L9(e,t,n){return a;function a(b){return e.enter("resource"),e.enter("resourceMarker"),e.consume(b),e.exit("resourceMarker"),s}function s(b){return Kt(b)?no(e,l)(b):l(b)}function l(b){return b===41?p(b):$6(e,o,d,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(b)}function o(b){return Kt(b)?no(e,f)(b):p(b)}function d(b){return n(b)}function f(b){return b===34||b===39||b===40?W6(e,h,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(b):p(b)}function h(b){return Kt(b)?no(e,p)(b):p(b)}function p(b){return b===41?(e.enter("resourceMarker"),e.consume(b),e.exit("resourceMarker"),e.exit("resource"),t):n(b)}}function B9(e,t,n){const a=this;return s;function s(d){return X6.call(a,e,l,o,"reference","referenceMarker","referenceString")(d)}function l(d){return a.parser.defined.includes(ma(a.sliceSerialize(a.events[a.events.length-1][1]).slice(1,-1)))?t(d):n(d)}function o(d){return n(d)}}function P9(e,t,n){return a;function a(l){return e.enter("reference"),e.enter("referenceMarker"),e.consume(l),e.exit("referenceMarker"),s}function s(l){return l===93?(e.enter("referenceMarker"),e.consume(l),e.exit("referenceMarker"),e.exit("reference"),t):n(l)}}const U9={name:"labelStartImage",resolveAll:_m.resolveAll,tokenize:z9};function z9(e,t,n){const a=this;return s;function s(d){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(d),e.exit("labelImageMarker"),l}function l(d){return d===91?(e.enter("labelMarker"),e.consume(d),e.exit("labelMarker"),e.exit("labelImage"),o):n(d)}function o(d){return d===94&&"_hiddenFootnoteSupport"in a.parser.constructs?n(d):t(d)}}const F9={name:"labelStartLink",resolveAll:_m.resolveAll,tokenize:H9};function H9(e,t,n){const a=this;return s;function s(o){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelLink"),l}function l(o){return o===94&&"_hiddenFootnoteSupport"in a.parser.constructs?n(o):t(o)}}const wh={name:"lineEnding",tokenize:q9};function q9(e,t){return n;function n(a){return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),At(e,t,"linePrefix")}}const v0={name:"thematicBreak",tokenize:Y9};function Y9(e,t,n){let a=0,s;return l;function l(h){return e.enter("thematicBreak"),o(h)}function o(h){return s=h,d(h)}function d(h){return h===s?(e.enter("thematicBreakSequence"),f(h)):a>=3&&(h===null||Xe(h))?(e.exit("thematicBreak"),t(h)):n(h)}function f(h){return h===s?(e.consume(h),a++,f):(e.exit("thematicBreakSequence"),Nt(h)?At(e,d,"whitespace")(h):d(h))}}const vr={continuation:{tokenize:K9},exit:X9,name:"list",tokenize:V9},G9={partial:!0,tokenize:W9},j9={partial:!0,tokenize:$9};function V9(e,t,n){const a=this,s=a.events[a.events.length-1];let l=s&&s[1].type==="linePrefix"?s[2].sliceSerialize(s[1],!0).length:0,o=0;return d;function d(v){const A=a.containerState.type||(v===42||v===43||v===45?"listUnordered":"listOrdered");if(A==="listUnordered"?!a.containerState.marker||v===a.containerState.marker:k1(v)){if(a.containerState.type||(a.containerState.type=A,e.enter(A,{_container:!0})),A==="listUnordered")return e.enter("listItemPrefix"),v===42||v===45?e.check(v0,n,h)(v):h(v);if(!a.interrupt||v===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),f(v)}return n(v)}function f(v){return k1(v)&&++o<10?(e.consume(v),f):(!a.interrupt||o<2)&&(a.containerState.marker?v===a.containerState.marker:v===41||v===46)?(e.exit("listItemValue"),h(v)):n(v)}function h(v){return e.enter("listItemMarker"),e.consume(v),e.exit("listItemMarker"),a.containerState.marker=a.containerState.marker||v,e.check(_o,a.interrupt?n:p,e.attempt(G9,T,b))}function p(v){return a.containerState.initialBlankLine=!0,l++,T(v)}function b(v){return Nt(v)?(e.enter("listItemPrefixWhitespace"),e.consume(v),e.exit("listItemPrefixWhitespace"),T):n(v)}function T(v){return a.containerState.size=l+a.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(v)}}function K9(e,t,n){const a=this;return a.containerState._closeFlow=void 0,e.check(_o,s,l);function s(d){return a.containerState.furtherBlankLines=a.containerState.furtherBlankLines||a.containerState.initialBlankLine,At(e,t,"listItemIndent",a.containerState.size+1)(d)}function l(d){return a.containerState.furtherBlankLines||!Nt(d)?(a.containerState.furtherBlankLines=void 0,a.containerState.initialBlankLine=void 0,o(d)):(a.containerState.furtherBlankLines=void 0,a.containerState.initialBlankLine=void 0,e.attempt(j9,t,o)(d))}function o(d){return a.containerState._closeFlow=!0,a.interrupt=void 0,At(e,e.attempt(vr,t,n),"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(d)}}function $9(e,t,n){const a=this;return At(e,s,"listItemIndent",a.containerState.size+1);function s(l){const o=a.events[a.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===a.containerState.size?t(l):n(l)}}function X9(e){e.exit(this.containerState.type)}function W9(e,t,n){const a=this;return At(e,s,"listItemPrefixWhitespace",a.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function s(l){const o=a.events[a.events.length-1];return!Nt(l)&&o&&o[1].type==="listItemPrefixWhitespace"?t(l):n(l)}}const db={name:"setextUnderline",resolveTo:Q9,tokenize:Z9};function Q9(e,t){let n=e.length,a,s,l;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){a=n;break}e[n][1].type==="paragraph"&&(s=n)}else e[n][1].type==="content"&&e.splice(n,1),!l&&e[n][1].type==="definition"&&(l=n);const o={type:"setextHeading",start:{...e[a][1].start},end:{...e[e.length-1][1].end}};return e[s][1].type="setextHeadingText",l?(e.splice(s,0,["enter",o,t]),e.splice(l+1,0,["exit",e[a][1],t]),e[a][1].end={...e[l][1].end}):e[a][1]=o,e.push(["exit",o,t]),e}function Z9(e,t,n){const a=this;let s;return l;function l(h){let p=a.events.length,b;for(;p--;)if(a.events[p][1].type!=="lineEnding"&&a.events[p][1].type!=="linePrefix"&&a.events[p][1].type!=="content"){b=a.events[p][1].type==="paragraph";break}return!a.parser.lazy[a.now().line]&&(a.interrupt||b)?(e.enter("setextHeadingLine"),s=h,o(h)):n(h)}function o(h){return e.enter("setextHeadingLineSequence"),d(h)}function d(h){return h===s?(e.consume(h),d):(e.exit("setextHeadingLineSequence"),Nt(h)?At(e,f,"lineSuffix")(h):f(h))}function f(h){return h===null||Xe(h)?(e.exit("setextHeadingLine"),t(h)):n(h)}}const J9={tokenize:e_};function e_(e){const t=this,n=e.attempt(_o,a,e.attempt(this.parser.constructs.flowInitial,s,At(e,e.attempt(this.parser.constructs.flow,s,e.attempt(i9,s)),"linePrefix")));return n;function a(l){if(l===null){e.consume(l);return}return e.enter("lineEndingBlank"),e.consume(l),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function s(l){if(l===null){e.consume(l);return}return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const t_={resolveAll:Z6()},n_=Q6("string"),r_=Q6("text");function Q6(e){return{resolveAll:Z6(e==="text"?a_:void 0),tokenize:t};function t(n){const a=this,s=this.parser.constructs[e],l=n.attempt(s,o,d);return o;function o(p){return h(p)?l(p):d(p)}function d(p){if(p===null){n.consume(p);return}return n.enter("data"),n.consume(p),f}function f(p){return h(p)?(n.exit("data"),l(p)):(n.consume(p),f)}function h(p){if(p===null)return!0;const b=s[p];let T=-1;if(b)for(;++T<b.length;){const v=b[T];if(!v.previous||v.previous.call(a,a.previous))return!0}return!1}}}function Z6(e){return t;function t(n,a){let s=-1,l;for(;++s<=n.length;)l===void 0?n[s]&&n[s][1].type==="data"&&(l=s,s++):(!n[s]||n[s][1].type!=="data")&&(s!==l+2&&(n[l][1].end=n[s-1][1].end,n.splice(l+2,s-l-2),s=l+2),l=void 0);return e?e(n,a):n}}function a_(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const a=e[n-1][1],s=t.sliceStream(a);let l=s.length,o=-1,d=0,f;for(;l--;){const h=s[l];if(typeof h=="string"){for(o=h.length;h.charCodeAt(o-1)===32;)d++,o--;if(o)break;o=-1}else if(h===-2)f=!0,d++;else if(h!==-1){l++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(d=0),d){const h={type:n===e.length||f||d<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:l?o:a.start._bufferIndex+o,_index:a.start._index+l,line:a.end.line,column:a.end.column-d,offset:a.end.offset-d},end:{...a.end}};a.end={...h.start},a.start.offset===a.end.offset?Object.assign(a,h):(e.splice(n,0,["enter",h,t],["exit",h,t]),n+=2)}n++}return e}const i_={42:vr,43:vr,45:vr,48:vr,49:vr,50:vr,51:vr,52:vr,53:vr,54:vr,55:vr,56:vr,57:vr,62:G6},s_={91:c9},l_={[-2]:Ah,[-1]:Ah,32:Ah},u_={35:g9,42:v0,45:[db,v0],60:v9,61:db,95:v0,96:ob,126:ob},o_={38:V6,92:j6},c_={[-5]:wh,[-4]:wh,[-3]:wh,33:U9,38:V6,42:C1,60:[FT,k9],91:F9,92:[m9,j6],93:_m,95:C1,96:JT},d_={null:[C1,t_]},f_={null:[42,95]},h_={null:[]},m_=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:f_,contentInitial:s_,disable:h_,document:i_,flow:u_,flowInitial:l_,insideSpan:d_,string:o_,text:c_},Symbol.toStringTag,{value:"Module"}));function p_(e,t,n){let a={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const s={},l=[];let o=[],d=[];const f={attempt:Q(j),check:Q(B),consume:D,enter:U,exit:J,interrupt:Q(B,{interrupt:!0})},h={code:null,containerState:{},defineSkip:k,events:[],now:A,parser:e,previous:null,sliceSerialize:T,sliceStream:v,write:b};let p=t.tokenize.call(h,f);return t.resolveAll&&l.push(t),h;function b(Z){return o=Wr(o,Z),R(),o[o.length-1]!==null?[]:(te(t,0),h.events=$0(l,h.events,h),h.events)}function T(Z,ee){return b_(v(Z),ee)}function v(Z){return g_(o,Z)}function A(){const{_bufferIndex:Z,_index:ee,line:pe,column:ue,offset:me}=a;return{_bufferIndex:Z,_index:ee,line:pe,column:ue,offset:me}}function k(Z){s[Z.line]=Z.column,Y()}function R(){let Z;for(;a._index<o.length;){const ee=o[a._index];if(typeof ee=="string")for(Z=a._index,a._bufferIndex<0&&(a._bufferIndex=0);a._index===Z&&a._bufferIndex<ee.length;)C(ee.charCodeAt(a._bufferIndex));else C(ee)}}function C(Z){p=p(Z)}function D(Z){Xe(Z)?(a.line++,a.column=1,a.offset+=Z===-3?2:1,Y()):Z!==-1&&(a.column++,a.offset++),a._bufferIndex<0?a._index++:(a._bufferIndex++,a._bufferIndex===o[a._index].length&&(a._bufferIndex=-1,a._index++)),h.previous=Z}function U(Z,ee){const pe=ee||{};return pe.type=Z,pe.start=A(),h.events.push(["enter",pe,h]),d.push(pe),pe}function J(Z){const ee=d.pop();return ee.end=A(),h.events.push(["exit",ee,h]),ee}function j(Z,ee){te(Z,ee.from)}function B(Z,ee){ee.restore()}function Q(Z,ee){return pe;function pe(ue,me,$){let fe,Ee,He,x;return Array.isArray(ue)?ce(ue):"tokenize"in ue?ce([ue]):X(ue);function X(Re){return Tt;function Tt(nt){const st=nt!==null&&Re[nt],Ye=nt!==null&&Re.null,wt=[...Array.isArray(st)?st:st?[st]:[],...Array.isArray(Ye)?Ye:Ye?[Ye]:[]];return ce(wt)(nt)}}function ce(Re){return fe=Re,Ee=0,Re.length===0?$:M(Re[Ee])}function M(Re){return Tt;function Tt(nt){return x=ae(),He=Re,Re.partial||(h.currentConstruct=Re),Re.name&&h.parser.constructs.disable.null.includes(Re.name)?qe():Re.tokenize.call(ee?Object.assign(Object.create(h),ee):h,f,De,qe)(nt)}}function De(Re){return Z(He,x),me}function qe(Re){return x.restore(),++Ee<fe.length?M(fe[Ee]):$}}}function te(Z,ee){Z.resolveAll&&!l.includes(Z)&&l.push(Z),Z.resolve&&zr(h.events,ee,h.events.length-ee,Z.resolve(h.events.slice(ee),h)),Z.resolveTo&&(h.events=Z.resolveTo(h.events,h))}function ae(){const Z=A(),ee=h.previous,pe=h.currentConstruct,ue=h.events.length,me=Array.from(d);return{from:ue,restore:$};function $(){a=Z,h.previous=ee,h.currentConstruct=pe,h.events.length=ue,d=me,Y()}}function Y(){a.line in s&&a.column<2&&(a.column=s[a.line],a.offset+=s[a.line]-1)}}function g_(e,t){const n=t.start._index,a=t.start._bufferIndex,s=t.end._index,l=t.end._bufferIndex;let o;if(n===s)o=[e[n].slice(a,l)];else{if(o=e.slice(n,s),a>-1){const d=o[0];typeof d=="string"?o[0]=d.slice(a):o.shift()}l>0&&o.push(e[s].slice(0,l))}return o}function b_(e,t){let n=-1;const a=[];let s;for(;++n<e.length;){const l=e[n];let o;if(typeof l=="string")o=l;else switch(l){case-5:{o="\r";break}case-4:{o=`
51
- `;break}case-3:{o=`\r
52
- `;break}case-2:{o=t?" ":" ";break}case-1:{if(!t&&s)continue;o=" ";break}default:o=String.fromCharCode(l)}s=l===-2,a.push(o)}return a.join("")}function E_(e){const a={constructs:q6([m_,...(e||{}).extensions||[]]),content:s(DT),defined:[],document:s(LT),flow:s(J9),lazy:{},string:s(n_),text:s(r_)};return a;function s(l){return o;function o(d){return p_(a,l,d)}}}function y_(e){for(;!K6(e););return e}const fb=/[\0\t\n\r]/g;function v_(){let e=1,t="",n=!0,a;return s;function s(l,o,d){const f=[];let h,p,b,T,v;for(l=t+(typeof l=="string"?l.toString():new TextDecoder(o||void 0).decode(l)),b=0,t="",n&&(l.charCodeAt(0)===65279&&b++,n=void 0);b<l.length;){if(fb.lastIndex=b,h=fb.exec(l),T=h&&h.index!==void 0?h.index:l.length,v=l.charCodeAt(T),!h){t=l.slice(b);break}if(v===10&&b===T&&a)f.push(-3),a=void 0;else switch(a&&(f.push(-5),a=void 0),b<T&&(f.push(l.slice(b,T)),e+=T-b),v){case 0:{f.push(65533),e++;break}case 9:{for(p=Math.ceil(e/4)*4,f.push(-2);e++<p;)f.push(-1);break}case 10:{f.push(-4),e=1;break}default:a=!0,e=1}b=T+1}return d&&(a&&f.push(-5),t&&f.push(t),f.push(null)),f}}const T_=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function __(e){return e.replace(T_,S_)}function S_(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const s=n.charCodeAt(1),l=s===120||s===88;return Y6(n.slice(l?2:1),l?16:10)}return Tm(n)||e}const J6={}.hasOwnProperty;function x_(e,t,n){return typeof t!="string"&&(n=t,t=void 0),A_(n)(y_(E_(n).document().write(v_()(e,t,!0))))}function A_(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:l(Dt),autolinkProtocol:ae,autolinkEmail:ae,atxHeading:l(ot),blockQuote:l(Ye),characterEscape:ae,characterReference:ae,codeFenced:l(wt),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:l(wt,o),codeText:l(rt,o),codeTextData:ae,data:ae,codeFlowValue:ae,definition:l(Ke),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:l(Ve),hardBreakEscape:l(We),hardBreakTrailing:l(We),htmlFlow:l(Ot,o),htmlFlowData:ae,htmlText:l(Ot,o),htmlTextData:ae,image:l(ln),label:o,link:l(Dt),listItem:l(Pn),listItemValue:T,listOrdered:l(en,b),listUnordered:l(en),paragraph:l(fi),reference:M,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:l(ot),strong:l(ga),thematicBreak:l(Rn)},exit:{atxHeading:f(),atxHeadingSequence:j,autolink:f(),autolinkEmail:st,autolinkProtocol:nt,blockQuote:f(),characterEscapeValue:Y,characterReferenceMarkerHexadecimal:qe,characterReferenceMarkerNumeric:qe,characterReferenceValue:Re,characterReference:Tt,codeFenced:f(R),codeFencedFence:k,codeFencedFenceInfo:v,codeFencedFenceMeta:A,codeFlowValue:Y,codeIndented:f(C),codeText:f(me),codeTextData:Y,data:Y,definition:f(),definitionDestinationString:J,definitionLabelString:D,definitionTitleString:U,emphasis:f(),hardBreakEscape:f(ee),hardBreakTrailing:f(ee),htmlFlow:f(pe),htmlFlowData:Y,htmlText:f(ue),htmlTextData:Y,image:f(fe),label:He,labelText:Ee,lineEnding:Z,link:f($),listItem:f(),listOrdered:f(),listUnordered:f(),paragraph:f(),referenceString:De,resourceDestinationString:x,resourceTitleString:X,resource:ce,setextHeading:f(te),setextHeadingLineSequence:Q,setextHeadingText:B,strong:f(),thematicBreak:f()}};eE(t,(e||{}).mdastExtensions||[]);const n={};return a;function a(de){let Se={type:"root",children:[]};const Qe={stack:[Se],tokenStack:[],config:t,enter:d,exit:h,buffer:o,resume:p,data:n},et=[];let Bt=-1;for(;++Bt<de.length;)if(de[Bt][1].type==="listOrdered"||de[Bt][1].type==="listUnordered")if(de[Bt][0]==="enter")et.push(Bt);else{const er=et.pop();Bt=s(de,er,Bt)}for(Bt=-1;++Bt<de.length;){const er=t[de[Bt][0]];J6.call(er,de[Bt][1].type)&&er[de[Bt][1].type].call(Object.assign({sliceSerialize:de[Bt][2].sliceSerialize},Qe),de[Bt][1])}if(Qe.tokenStack.length>0){const er=Qe.tokenStack[Qe.tokenStack.length-1];(er[1]||hb).call(Qe,void 0,er[0])}for(Se.position={start:Hi(de.length>0?de[0][1].start:{line:1,column:1,offset:0}),end:Hi(de.length>0?de[de.length-2][1].end:{line:1,column:1,offset:0})},Bt=-1;++Bt<t.transforms.length;)Se=t.transforms[Bt](Se)||Se;return Se}function s(de,Se,Qe){let et=Se-1,Bt=-1,er=!1,ia,Kn,Ar,tr;for(;++et<=Qe;){const xn=de[et];switch(xn[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{xn[0]==="enter"?Bt++:Bt--,tr=void 0;break}case"lineEndingBlank":{xn[0]==="enter"&&(ia&&!tr&&!Bt&&!Ar&&(Ar=et),tr=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:tr=void 0}if(!Bt&&xn[0]==="enter"&&xn[1].type==="listItemPrefix"||Bt===-1&&xn[0]==="exit"&&(xn[1].type==="listUnordered"||xn[1].type==="listOrdered")){if(ia){let hr=et;for(Kn=void 0;hr--;){const nr=de[hr];if(nr[1].type==="lineEnding"||nr[1].type==="lineEndingBlank"){if(nr[0]==="exit")continue;Kn&&(de[Kn][1].type="lineEndingBlank",er=!0),nr[1].type="lineEnding",Kn=hr}else if(!(nr[1].type==="linePrefix"||nr[1].type==="blockQuotePrefix"||nr[1].type==="blockQuotePrefixWhitespace"||nr[1].type==="blockQuoteMarker"||nr[1].type==="listItemIndent"))break}Ar&&(!Kn||Ar<Kn)&&(ia._spread=!0),ia.end=Object.assign({},Kn?de[Kn][1].start:xn[1].end),de.splice(Kn||et,0,["exit",ia,xn[2]]),et++,Qe++}if(xn[1].type==="listItemPrefix"){const hr={type:"listItem",_spread:!1,start:Object.assign({},xn[1].start),end:void 0};ia=hr,de.splice(et,0,["enter",hr,xn[2]]),et++,Qe++,Ar=void 0,tr=!0}}}return de[Se][1]._spread=er,Qe}function l(de,Se){return Qe;function Qe(et){d.call(this,de(et),et),Se&&Se.call(this,et)}}function o(){this.stack.push({type:"fragment",children:[]})}function d(de,Se,Qe){this.stack[this.stack.length-1].children.push(de),this.stack.push(de),this.tokenStack.push([Se,Qe||void 0]),de.position={start:Hi(Se.start),end:void 0}}function f(de){return Se;function Se(Qe){de&&de.call(this,Qe),h.call(this,Qe)}}function h(de,Se){const Qe=this.stack.pop(),et=this.tokenStack.pop();if(et)et[0].type!==de.type&&(Se?Se.call(this,de,et[0]):(et[1]||hb).call(this,de,et[0]));else throw new Error("Cannot close `"+de.type+"` ("+to({start:de.start,end:de.end})+"): it’s not open");Qe.position.end=Hi(de.end)}function p(){return vm(this.stack.pop())}function b(){this.data.expectingFirstListItemValue=!0}function T(de){if(this.data.expectingFirstListItemValue){const Se=this.stack[this.stack.length-2];Se.start=Number.parseInt(this.sliceSerialize(de),10),this.data.expectingFirstListItemValue=void 0}}function v(){const de=this.resume(),Se=this.stack[this.stack.length-1];Se.lang=de}function A(){const de=this.resume(),Se=this.stack[this.stack.length-1];Se.meta=de}function k(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function R(){const de=this.resume(),Se=this.stack[this.stack.length-1];Se.value=de.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function C(){const de=this.resume(),Se=this.stack[this.stack.length-1];Se.value=de.replace(/(\r?\n|\r)$/g,"")}function D(de){const Se=this.resume(),Qe=this.stack[this.stack.length-1];Qe.label=Se,Qe.identifier=ma(this.sliceSerialize(de)).toLowerCase()}function U(){const de=this.resume(),Se=this.stack[this.stack.length-1];Se.title=de}function J(){const de=this.resume(),Se=this.stack[this.stack.length-1];Se.url=de}function j(de){const Se=this.stack[this.stack.length-1];if(!Se.depth){const Qe=this.sliceSerialize(de).length;Se.depth=Qe}}function B(){this.data.setextHeadingSlurpLineEnding=!0}function Q(de){const Se=this.stack[this.stack.length-1];Se.depth=this.sliceSerialize(de).codePointAt(0)===61?1:2}function te(){this.data.setextHeadingSlurpLineEnding=void 0}function ae(de){const Qe=this.stack[this.stack.length-1].children;let et=Qe[Qe.length-1];(!et||et.type!=="text")&&(et=fr(),et.position={start:Hi(de.start),end:void 0},Qe.push(et)),this.stack.push(et)}function Y(de){const Se=this.stack.pop();Se.value+=this.sliceSerialize(de),Se.position.end=Hi(de.end)}function Z(de){const Se=this.stack[this.stack.length-1];if(this.data.atHardBreak){const Qe=Se.children[Se.children.length-1];Qe.position.end=Hi(de.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(Se.type)&&(ae.call(this,de),Y.call(this,de))}function ee(){this.data.atHardBreak=!0}function pe(){const de=this.resume(),Se=this.stack[this.stack.length-1];Se.value=de}function ue(){const de=this.resume(),Se=this.stack[this.stack.length-1];Se.value=de}function me(){const de=this.resume(),Se=this.stack[this.stack.length-1];Se.value=de}function $(){const de=this.stack[this.stack.length-1];if(this.data.inReference){const Se=this.data.referenceType||"shortcut";de.type+="Reference",de.referenceType=Se,delete de.url,delete de.title}else delete de.identifier,delete de.label;this.data.referenceType=void 0}function fe(){const de=this.stack[this.stack.length-1];if(this.data.inReference){const Se=this.data.referenceType||"shortcut";de.type+="Reference",de.referenceType=Se,delete de.url,delete de.title}else delete de.identifier,delete de.label;this.data.referenceType=void 0}function Ee(de){const Se=this.sliceSerialize(de),Qe=this.stack[this.stack.length-2];Qe.label=__(Se),Qe.identifier=ma(Se).toLowerCase()}function He(){const de=this.stack[this.stack.length-1],Se=this.resume(),Qe=this.stack[this.stack.length-1];if(this.data.inReference=!0,Qe.type==="link"){const et=de.children;Qe.children=et}else Qe.alt=Se}function x(){const de=this.resume(),Se=this.stack[this.stack.length-1];Se.url=de}function X(){const de=this.resume(),Se=this.stack[this.stack.length-1];Se.title=de}function ce(){this.data.inReference=void 0}function M(){this.data.referenceType="collapsed"}function De(de){const Se=this.resume(),Qe=this.stack[this.stack.length-1];Qe.label=Se,Qe.identifier=ma(this.sliceSerialize(de)).toLowerCase(),this.data.referenceType="full"}function qe(de){this.data.characterReferenceType=de.type}function Re(de){const Se=this.sliceSerialize(de),Qe=this.data.characterReferenceType;let et;Qe?(et=Y6(Se,Qe==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):et=Tm(Se);const Bt=this.stack[this.stack.length-1];Bt.value+=et}function Tt(de){const Se=this.stack.pop();Se.position.end=Hi(de.end)}function nt(de){Y.call(this,de);const Se=this.stack[this.stack.length-1];Se.url=this.sliceSerialize(de)}function st(de){Y.call(this,de);const Se=this.stack[this.stack.length-1];Se.url="mailto:"+this.sliceSerialize(de)}function Ye(){return{type:"blockquote",children:[]}}function wt(){return{type:"code",lang:null,meta:null,value:""}}function rt(){return{type:"inlineCode",value:""}}function Ke(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Ve(){return{type:"emphasis",children:[]}}function ot(){return{type:"heading",depth:0,children:[]}}function We(){return{type:"break"}}function Ot(){return{type:"html",value:""}}function ln(){return{type:"image",title:null,url:"",alt:null}}function Dt(){return{type:"link",title:null,url:"",children:[]}}function en(de){return{type:"list",ordered:de.type==="listOrdered",start:null,spread:de._spread,children:[]}}function Pn(de){return{type:"listItem",spread:de._spread,checked:null,children:[]}}function fi(){return{type:"paragraph",children:[]}}function ga(){return{type:"strong",children:[]}}function fr(){return{type:"text",value:""}}function Rn(){return{type:"thematicBreak"}}}function Hi(e){return{line:e.line,column:e.column,offset:e.offset}}function eE(e,t){let n=-1;for(;++n<t.length;){const a=t[n];Array.isArray(a)?eE(e,a):w_(e,a)}}function w_(e,t){let n;for(n in t)if(J6.call(t,n))switch(n){case"canContainEols":{const a=t[n];a&&e[n].push(...a);break}case"transforms":{const a=t[n];a&&e[n].push(...a);break}case"enter":case"exit":{const a=t[n];a&&Object.assign(e[n],a);break}}}function hb(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+to({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+to({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+to({start:t.start,end:t.end})+") is still open")}function k_(e){const t=this;t.parser=n;function n(a){return x_(a,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function C_(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function N_(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
53
- `}]}function O_(e,t){const n=t.value?t.value+`
54
- `:"",a={};t.lang&&(a.className=["language-"+t.lang]);let s={type:"element",tagName:"code",properties:a,children:[{type:"text",value:n}]};return t.meta&&(s.data={meta:t.meta}),e.patch(t,s),s=e.applyData(t,s),s={type:"element",tagName:"pre",properties:{},children:[s]},e.patch(t,s),s}function M_(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function R_(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function D_(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",a=String(t.identifier).toUpperCase(),s=Pl(a.toLowerCase()),l=e.footnoteOrder.indexOf(a);let o,d=e.footnoteCounts.get(a);d===void 0?(d=0,e.footnoteOrder.push(a),o=e.footnoteOrder.length):o=l+1,d+=1,e.footnoteCounts.set(a,d);const f={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+s,id:n+"fnref-"+s+(d>1?"-"+d:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(t,f);const h={type:"element",tagName:"sup",properties:{},children:[f]};return e.patch(t,h),e.applyData(t,h)}function I_(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function L_(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function tE(e,t){const n=t.referenceType;let a="]";if(n==="collapsed"?a+="[]":n==="full"&&(a+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+a}];const s=e.all(t),l=s[0];l&&l.type==="text"?l.value="["+l.value:s.unshift({type:"text",value:"["});const o=s[s.length-1];return o&&o.type==="text"?o.value+=a:s.push({type:"text",value:a}),s}function B_(e,t){const n=String(t.identifier).toUpperCase(),a=e.definitionById.get(n);if(!a)return tE(e,t);const s={src:Pl(a.url||""),alt:t.alt};a.title!==null&&a.title!==void 0&&(s.title=a.title);const l={type:"element",tagName:"img",properties:s,children:[]};return e.patch(t,l),e.applyData(t,l)}function P_(e,t){const n={src:Pl(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const a={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,a),e.applyData(t,a)}function U_(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const a={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,a),e.applyData(t,a)}function z_(e,t){const n=String(t.identifier).toUpperCase(),a=e.definitionById.get(n);if(!a)return tE(e,t);const s={href:Pl(a.url||"")};a.title!==null&&a.title!==void 0&&(s.title=a.title);const l={type:"element",tagName:"a",properties:s,children:e.all(t)};return e.patch(t,l),e.applyData(t,l)}function F_(e,t){const n={href:Pl(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const a={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function H_(e,t,n){const a=e.all(t),s=n?q_(n):nE(t),l={},o=[];if(typeof t.checked=="boolean"){const p=a[0];let b;p&&p.type==="element"&&p.tagName==="p"?b=p:(b={type:"element",tagName:"p",properties:{},children:[]},a.unshift(b)),b.children.length>0&&b.children.unshift({type:"text",value:" "}),b.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),l.className=["task-list-item"]}let d=-1;for(;++d<a.length;){const p=a[d];(s||d!==0||p.type!=="element"||p.tagName!=="p")&&o.push({type:"text",value:`
55
- `}),p.type==="element"&&p.tagName==="p"&&!s?o.push(...p.children):o.push(p)}const f=a[a.length-1];f&&(s||f.type!=="element"||f.tagName!=="p")&&o.push({type:"text",value:`
56
- `});const h={type:"element",tagName:"li",properties:l,children:o};return e.patch(t,h),e.applyData(t,h)}function q_(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let a=-1;for(;!t&&++a<n.length;)t=nE(n[a])}return t}function nE(e){const t=e.spread;return t??e.children.length>1}function Y_(e,t){const n={},a=e.all(t);let s=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++s<a.length;){const o=a[s];if(o.type==="element"&&o.tagName==="li"&&o.properties&&Array.isArray(o.properties.className)&&o.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const l={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(a,!0)};return e.patch(t,l),e.applyData(t,l)}function G_(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function j_(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function V_(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function K_(e,t){const n=e.all(t),a=n.shift(),s=[];if(a){const o={type:"element",tagName:"thead",properties:{},children:e.wrap([a],!0)};e.patch(t.children[0],o),s.push(o)}if(n.length>0){const o={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},d=Ma(t.children[1]),f=V0(t.children[t.children.length-1]);d&&f&&(o.position={start:d,end:f}),s.push(o)}const l={type:"element",tagName:"table",properties:{},children:e.wrap(s,!0)};return e.patch(t,l),e.applyData(t,l)}function $_(e,t,n){const a=n?n.children:void 0,l=(a?a.indexOf(t):1)===0?"th":"td",o=n&&n.type==="table"?n.align:void 0,d=o?o.length:t.children.length;let f=-1;const h=[];for(;++f<d;){const b=t.children[f],T={},v=o?o[f]:void 0;v&&(T.align=v);let A={type:"element",tagName:l,properties:T,children:[]};b&&(A.children=e.all(b),e.patch(b,A),A=e.applyData(b,A)),h.push(A)}const p={type:"element",tagName:"tr",properties:{},children:e.wrap(h,!0)};return e.patch(t,p),e.applyData(t,p)}function X_(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const mb=9,pb=32;function W_(e){const t=String(e),n=/\r?\n|\r/g;let a=n.exec(t),s=0;const l=[];for(;a;)l.push(gb(t.slice(s,a.index),s>0,!0),a[0]),s=a.index+a[0].length,a=n.exec(t);return l.push(gb(t.slice(s),s>0,!1)),l.join("")}function gb(e,t,n){let a=0,s=e.length;if(t){let l=e.codePointAt(a);for(;l===mb||l===pb;)a++,l=e.codePointAt(a)}if(n){let l=e.codePointAt(s-1);for(;l===mb||l===pb;)s--,l=e.codePointAt(s-1)}return s>a?e.slice(a,s):""}function Q_(e,t){const n={type:"text",value:W_(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function Z_(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const J_={blockquote:C_,break:N_,code:O_,delete:M_,emphasis:R_,footnoteReference:D_,heading:I_,html:L_,imageReference:B_,image:P_,inlineCode:U_,linkReference:z_,link:F_,listItem:H_,list:Y_,paragraph:G_,root:j_,strong:V_,table:K_,tableCell:X_,tableRow:$_,text:Q_,thematicBreak:Z_,toml:Kc,yaml:Kc,definition:Kc,footnoteDefinition:Kc};function Kc(){}const rE=-1,X0=0,ro=1,C0=2,Sm=3,xm=4,Am=5,wm=6,aE=7,iE=8,bb=typeof self=="object"?self:globalThis,eS=(e,t)=>{const n=(s,l)=>(e.set(l,s),s),a=s=>{if(e.has(s))return e.get(s);const[l,o]=t[s];switch(l){case X0:case rE:return n(o,s);case ro:{const d=n([],s);for(const f of o)d.push(a(f));return d}case C0:{const d=n({},s);for(const[f,h]of o)d[a(f)]=a(h);return d}case Sm:return n(new Date(o),s);case xm:{const{source:d,flags:f}=o;return n(new RegExp(d,f),s)}case Am:{const d=n(new Map,s);for(const[f,h]of o)d.set(a(f),a(h));return d}case wm:{const d=n(new Set,s);for(const f of o)d.add(a(f));return d}case aE:{const{name:d,message:f}=o;return n(new bb[d](f),s)}case iE:return n(BigInt(o),s);case"BigInt":return n(Object(BigInt(o)),s);case"ArrayBuffer":return n(new Uint8Array(o).buffer,o);case"DataView":{const{buffer:d}=new Uint8Array(o);return n(new DataView(d),o)}}return n(new bb[l](o),s)};return a},Eb=e=>eS(new Map,e)(0),bl="",{toString:tS}={},{keys:nS}=Object,Xu=e=>{const t=typeof e;if(t!=="object"||!e)return[X0,t];const n=tS.call(e).slice(8,-1);switch(n){case"Array":return[ro,bl];case"Object":return[C0,bl];case"Date":return[Sm,bl];case"RegExp":return[xm,bl];case"Map":return[Am,bl];case"Set":return[wm,bl];case"DataView":return[ro,n]}return n.includes("Array")?[ro,n]:n.includes("Error")?[aE,n]:[C0,n]},$c=([e,t])=>e===X0&&(t==="function"||t==="symbol"),rS=(e,t,n,a)=>{const s=(o,d)=>{const f=a.push(o)-1;return n.set(d,f),f},l=o=>{if(n.has(o))return n.get(o);let[d,f]=Xu(o);switch(d){case X0:{let p=o;switch(f){case"bigint":d=iE,p=o.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+f);p=null;break;case"undefined":return s([rE],o)}return s([d,p],o)}case ro:{if(f){let T=o;return f==="DataView"?T=new Uint8Array(o.buffer):f==="ArrayBuffer"&&(T=new Uint8Array(o)),s([f,[...T]],o)}const p=[],b=s([d,p],o);for(const T of o)p.push(l(T));return b}case C0:{if(f)switch(f){case"BigInt":return s([f,o.toString()],o);case"Boolean":case"Number":case"String":return s([f,o.valueOf()],o)}if(t&&"toJSON"in o)return l(o.toJSON());const p=[],b=s([d,p],o);for(const T of nS(o))(e||!$c(Xu(o[T])))&&p.push([l(T),l(o[T])]);return b}case Sm:return s([d,o.toISOString()],o);case xm:{const{source:p,flags:b}=o;return s([d,{source:p,flags:b}],o)}case Am:{const p=[],b=s([d,p],o);for(const[T,v]of o)(e||!($c(Xu(T))||$c(Xu(v))))&&p.push([l(T),l(v)]);return b}case wm:{const p=[],b=s([d,p],o);for(const T of o)(e||!$c(Xu(T)))&&p.push(l(T));return b}}const{message:h}=o;return s([d,{name:f,message:h}],o)};return l},yb=(e,{json:t,lossy:n}={})=>{const a=[];return rS(!(t||n),!!t,new Map,a)(e),a},Ol=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?Eb(yb(e,t)):structuredClone(e):(e,t)=>Eb(yb(e,t));function aS(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function iS(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function sS(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||aS,a=e.options.footnoteBackLabel||iS,s=e.options.footnoteLabel||"Footnotes",l=e.options.footnoteLabelTagName||"h2",o=e.options.footnoteLabelProperties||{className:["sr-only"]},d=[];let f=-1;for(;++f<e.footnoteOrder.length;){const h=e.footnoteById.get(e.footnoteOrder[f]);if(!h)continue;const p=e.all(h),b=String(h.identifier).toUpperCase(),T=Pl(b.toLowerCase());let v=0;const A=[],k=e.footnoteCounts.get(b);for(;k!==void 0&&++v<=k;){A.length>0&&A.push({type:"text",value:" "});let D=typeof n=="string"?n:n(f,v);typeof D=="string"&&(D={type:"text",value:D}),A.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+T+(v>1?"-"+v:""),dataFootnoteBackref:"",ariaLabel:typeof a=="string"?a:a(f,v),className:["data-footnote-backref"]},children:Array.isArray(D)?D:[D]})}const R=p[p.length-1];if(R&&R.type==="element"&&R.tagName==="p"){const D=R.children[R.children.length-1];D&&D.type==="text"?D.value+=" ":R.children.push({type:"text",value:" "}),R.children.push(...A)}else p.push(...A);const C={type:"element",tagName:"li",properties:{id:t+"fn-"+T},children:e.wrap(p,!0)};e.patch(h,C),d.push(C)}if(d.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:l,properties:{...Ol(o),id:"footnote-label"},children:[{type:"text",value:s}]},{type:"text",value:`
57
- `},{type:"element",tagName:"ol",properties:{},children:e.wrap(d,!0)},{type:"text",value:`
58
- `}]}}const So=function(e){if(e==null)return cS;if(typeof e=="function")return W0(e);if(typeof e=="object")return Array.isArray(e)?lS(e):uS(e);if(typeof e=="string")return oS(e);throw new Error("Expected function, string, or object as test")};function lS(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=So(e[n]);return W0(a);function a(...s){let l=-1;for(;++l<t.length;)if(t[l].apply(this,s))return!0;return!1}}function uS(e){const t=e;return W0(n);function n(a){const s=a;let l;for(l in e)if(s[l]!==t[l])return!1;return!0}}function oS(e){return W0(t);function t(n){return n&&n.type===e}}function W0(e){return t;function t(n,a,s){return!!(dS(n)&&e.call(this,n,typeof a=="number"?a:void 0,s||void 0))}}function cS(){return!0}function dS(e){return e!==null&&typeof e=="object"&&"type"in e}const sE=[],fS=!0,N1=!1,lE="skip";function km(e,t,n,a){let s;typeof t=="function"&&typeof n!="function"?(a=n,n=t):s=t;const l=So(s),o=a?-1:1;d(e,void 0,[])();function d(f,h,p){const b=f&&typeof f=="object"?f:{};if(typeof b.type=="string"){const v=typeof b.tagName=="string"?b.tagName:typeof b.name=="string"?b.name:void 0;Object.defineProperty(T,"name",{value:"node ("+(f.type+(v?"<"+v+">":""))+")"})}return T;function T(){let v=sE,A,k,R;if((!t||l(f,h,p[p.length-1]||void 0))&&(v=hS(n(f,p)),v[0]===N1))return v;if("children"in f&&f.children){const C=f;if(C.children&&v[0]!==lE)for(k=(a?C.children.length:-1)+o,R=p.concat(C);k>-1&&k<C.children.length;){const D=C.children[k];if(A=d(D,k,R)(),A[0]===N1)return A;k=typeof A[1]=="number"?A[1]:k+o}}return v}}}function hS(e){return Array.isArray(e)?e:typeof e=="number"?[fS,e]:e==null?sE:[e]}function xo(e,t,n,a){let s,l,o;typeof t=="function"&&typeof n!="function"?(l=void 0,o=t,s=n):(l=t,o=n,s=a),km(e,l,d,s);function d(f,h){const p=h[h.length-1],b=p?p.children.indexOf(f):void 0;return o(f,b,p)}}const O1={}.hasOwnProperty,mS={};function pS(e,t){const n=t||mS,a=new Map,s=new Map,l=new Map,o={...J_,...n.handlers},d={all:h,applyData:bS,definitionById:a,footnoteById:s,footnoteCounts:l,footnoteOrder:[],handlers:o,one:f,options:n,patch:gS,wrap:yS};return xo(e,function(p){if(p.type==="definition"||p.type==="footnoteDefinition"){const b=p.type==="definition"?a:s,T=String(p.identifier).toUpperCase();b.has(T)||b.set(T,p)}}),d;function f(p,b){const T=p.type,v=d.handlers[T];if(O1.call(d.handlers,T)&&v)return v(d,p,b);if(d.options.passThrough&&d.options.passThrough.includes(T)){if("children"in p){const{children:k,...R}=p,C=Ol(R);return C.children=d.all(p),C}return Ol(p)}return(d.options.unknownHandler||ES)(d,p,b)}function h(p){const b=[];if("children"in p){const T=p.children;let v=-1;for(;++v<T.length;){const A=d.one(T[v],p);if(A){if(v&&T[v-1].type==="break"&&(!Array.isArray(A)&&A.type==="text"&&(A.value=vb(A.value)),!Array.isArray(A)&&A.type==="element")){const k=A.children[0];k&&k.type==="text"&&(k.value=vb(k.value))}Array.isArray(A)?b.push(...A):b.push(A)}}}return b}}function gS(e,t){e.position&&(t.position=iT(e))}function bS(e,t){let n=t;if(e&&e.data){const a=e.data.hName,s=e.data.hChildren,l=e.data.hProperties;if(typeof a=="string")if(n.type==="element")n.tagName=a;else{const o="children"in n?n.children:[n];n={type:"element",tagName:a,properties:{},children:o}}n.type==="element"&&l&&Object.assign(n.properties,Ol(l)),"children"in n&&n.children&&s!==null&&s!==void 0&&(n.children=s)}return n}function ES(e,t){const n=t.data||{},a="value"in t&&!(O1.call(n,"hProperties")||O1.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,a),e.applyData(t,a)}function yS(e,t){const n=[];let a=-1;for(t&&n.push({type:"text",value:`
59
- `});++a<e.length;)a&&n.push({type:"text",value:`
60
- `}),n.push(e[a]);return t&&e.length>0&&n.push({type:"text",value:`
61
- `}),n}function vb(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function Tb(e,t){const n=pS(e,t),a=n.one(e,void 0),s=sS(n),l=Array.isArray(a)?{type:"root",children:a}:a||{type:"root",children:[]};return s&&l.children.push({type:"text",value:`
62
- `},s),l}function vS(e,t){return e&&"run"in e?async function(n,a){const s=Tb(n,{file:a,...t});await e.run(s,a)}:function(n,a){return Tb(n,{file:a,...e||t})}}function _b(e){if(e)throw e}var kh,Sb;function TS(){if(Sb)return kh;Sb=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s=function(h){return typeof Array.isArray=="function"?Array.isArray(h):t.call(h)==="[object Array]"},l=function(h){if(!h||t.call(h)!=="[object Object]")return!1;var p=e.call(h,"constructor"),b=h.constructor&&h.constructor.prototype&&e.call(h.constructor.prototype,"isPrototypeOf");if(h.constructor&&!p&&!b)return!1;var T;for(T in h);return typeof T>"u"||e.call(h,T)},o=function(h,p){n&&p.name==="__proto__"?n(h,p.name,{enumerable:!0,configurable:!0,value:p.newValue,writable:!0}):h[p.name]=p.newValue},d=function(h,p){if(p==="__proto__")if(e.call(h,p)){if(a)return a(h,p).value}else return;return h[p]};return kh=function f(){var h,p,b,T,v,A,k=arguments[0],R=1,C=arguments.length,D=!1;for(typeof k=="boolean"&&(D=k,k=arguments[1]||{},R=2),(k==null||typeof k!="object"&&typeof k!="function")&&(k={});R<C;++R)if(h=arguments[R],h!=null)for(p in h)b=d(k,p),T=d(h,p),k!==T&&(D&&T&&(l(T)||(v=s(T)))?(v?(v=!1,A=b&&s(b)?b:[]):A=b&&l(b)?b:{},o(k,{name:p,newValue:f(D,A,T)})):typeof T<"u"&&o(k,{name:p,newValue:T}));return k},kh}var _S=TS();const Ch=Y0(_S);function M1(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function SS(){const e=[],t={run:n,use:a};return t;function n(...s){let l=-1;const o=s.pop();if(typeof o!="function")throw new TypeError("Expected function as last argument, not "+o);d(null,...s);function d(f,...h){const p=e[++l];let b=-1;if(f){o(f);return}for(;++b<s.length;)(h[b]===null||h[b]===void 0)&&(h[b]=s[b]);s=h,p?xS(p,d)(...h):o(null,...h)}}function a(s){if(typeof s!="function")throw new TypeError("Expected `middelware` to be a function, not "+s);return e.push(s),t}}function xS(e,t){let n;return a;function a(...o){const d=e.length>o.length;let f;d&&o.push(s);try{f=e.apply(this,o)}catch(h){const p=h;if(d&&n)throw p;return s(p)}d||(f&&f.then&&typeof f.then=="function"?f.then(l,s):f instanceof Error?s(f):l(f))}function s(o,...d){n||(n=!0,t(o,...d))}function l(o){s(null,o)}}const xa={basename:AS,dirname:wS,extname:kS,join:CS,sep:"/"};function AS(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Ao(e);let n=0,a=-1,s=e.length,l;if(t===void 0||t.length===0||t.length>e.length){for(;s--;)if(e.codePointAt(s)===47){if(l){n=s+1;break}}else a<0&&(l=!0,a=s+1);return a<0?"":e.slice(n,a)}if(t===e)return"";let o=-1,d=t.length-1;for(;s--;)if(e.codePointAt(s)===47){if(l){n=s+1;break}}else o<0&&(l=!0,o=s+1),d>-1&&(e.codePointAt(s)===t.codePointAt(d--)?d<0&&(a=s):(d=-1,a=o));return n===a?a=o:a<0&&(a=e.length),e.slice(n,a)}function wS(e){if(Ao(e),e.length===0)return".";let t=-1,n=e.length,a;for(;--n;)if(e.codePointAt(n)===47){if(a){t=n;break}}else a||(a=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function kS(e){Ao(e);let t=e.length,n=-1,a=0,s=-1,l=0,o;for(;t--;){const d=e.codePointAt(t);if(d===47){if(o){a=t+1;break}continue}n<0&&(o=!0,n=t+1),d===46?s<0?s=t:l!==1&&(l=1):s>-1&&(l=-1)}return s<0||n<0||l===0||l===1&&s===n-1&&s===a+1?"":e.slice(s,n)}function CS(...e){let t=-1,n;for(;++t<e.length;)Ao(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":NS(n)}function NS(e){Ao(e);const t=e.codePointAt(0)===47;let n=OS(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function OS(e,t){let n="",a=0,s=-1,l=0,o=-1,d,f;for(;++o<=e.length;){if(o<e.length)d=e.codePointAt(o);else{if(d===47)break;d=47}if(d===47){if(!(s===o-1||l===1))if(s!==o-1&&l===2){if(n.length<2||a!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(f=n.lastIndexOf("/"),f!==n.length-1){f<0?(n="",a=0):(n=n.slice(0,f),a=n.length-1-n.lastIndexOf("/")),s=o,l=0;continue}}else if(n.length>0){n="",a=0,s=o,l=0;continue}}t&&(n=n.length>0?n+"/..":"..",a=2)}else n.length>0?n+="/"+e.slice(s+1,o):n=e.slice(s+1,o),a=o-s-1;s=o,l=0}else d===46&&l>-1?l++:l=-1}return n}function Ao(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const MS={cwd:RS};function RS(){return"/"}function R1(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function DS(e){if(typeof e=="string")e=new URL(e);else if(!R1(e)){const 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:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return IS(e)}function IS(e){if(e.hostname!==""){const a=new TypeError('File URL host must be "localhost" or empty on darwin');throw a.code="ERR_INVALID_FILE_URL_HOST",a}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const a=t.codePointAt(n+2);if(a===70||a===102){const s=new TypeError("File URL path must not include encoded / characters");throw s.code="ERR_INVALID_FILE_URL_PATH",s}}return decodeURIComponent(t)}const Nh=["history","path","basename","stem","extname","dirname"];class uE{constructor(t){let n;t?R1(t)?n={path:t}:typeof t=="string"||LS(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":MS.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let a=-1;for(;++a<Nh.length;){const l=Nh[a];l in n&&n[l]!==void 0&&n[l]!==null&&(this[l]=l==="history"?[...n[l]]:n[l])}let s;for(s in n)Nh.includes(s)||(this[s]=n[s])}get basename(){return typeof this.path=="string"?xa.basename(this.path):void 0}set basename(t){Mh(t,"basename"),Oh(t,"basename"),this.path=xa.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?xa.dirname(this.path):void 0}set dirname(t){xb(this.basename,"dirname"),this.path=xa.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?xa.extname(this.path):void 0}set extname(t){if(Oh(t,"extname"),xb(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=xa.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){R1(t)&&(t=DS(t)),Mh(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?xa.basename(this.path,this.extname):void 0}set stem(t){Mh(t,"stem"),Oh(t,"stem"),this.path=xa.join(this.dirname||"",t+(this.extname||""))}fail(t,n,a){const s=this.message(t,n,a);throw s.fatal=!0,s}info(t,n,a){const s=this.message(t,n,a);return s.fatal=void 0,s}message(t,n,a){const s=new Zn(t,n,a);return this.path&&(s.name=this.path+":"+s.name,s.file=this.path),s.fatal=!1,this.messages.push(s),s}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function Oh(e,t){if(e&&e.includes(xa.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+xa.sep+"`")}function Mh(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function xb(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function LS(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const BS=function(e){const a=this.constructor.prototype,s=a[e],l=function(){return s.apply(l,arguments)};return Object.setPrototypeOf(l,a),l},PS={}.hasOwnProperty;class Cm extends BS{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=SS()}copy(){const t=new Cm;let n=-1;for(;++n<this.attachers.length;){const a=this.attachers[n];t.use(...a)}return t.data(Ch(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(Ih("data",this.frozen),this.namespace[t]=n,this):PS.call(this.namespace,t)&&this.namespace[t]||void 0:t?(Ih("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...a]=this.attachers[this.freezeIndex];if(a[0]===!1)continue;a[0]===!0&&(a[0]=void 0);const s=n.call(t,...a);typeof s=="function"&&this.transformers.use(s)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=Xc(t),a=this.parser||this.Parser;return Rh("parse",a),a(String(n),n)}process(t,n){const a=this;return this.freeze(),Rh("process",this.parser||this.Parser),Dh("process",this.compiler||this.Compiler),n?s(void 0,n):new Promise(s);function s(l,o){const d=Xc(t),f=a.parse(d);a.run(f,d,function(p,b,T){if(p||!b||!T)return h(p);const v=b,A=a.stringify(v,T);FS(A)?T.value=A:T.result=A,h(p,T)});function h(p,b){p||!b?o(p):l?l(b):n(void 0,b)}}}processSync(t){let n=!1,a;return this.freeze(),Rh("processSync",this.parser||this.Parser),Dh("processSync",this.compiler||this.Compiler),this.process(t,s),wb("processSync","process",n),a;function s(l,o){n=!0,_b(l),a=o}}run(t,n,a){Ab(t),this.freeze();const s=this.transformers;return!a&&typeof n=="function"&&(a=n,n=void 0),a?l(void 0,a):new Promise(l);function l(o,d){const f=Xc(n);s.run(t,f,h);function h(p,b,T){const v=b||t;p?d(p):o?o(v):a(void 0,v,T)}}}runSync(t,n){let a=!1,s;return this.run(t,n,l),wb("runSync","run",a),s;function l(o,d){_b(o),s=d,a=!0}}stringify(t,n){this.freeze();const a=Xc(n),s=this.compiler||this.Compiler;return Dh("stringify",s),Ab(t),s(t,a)}use(t,...n){const a=this.attachers,s=this.namespace;if(Ih("use",this.frozen),t!=null)if(typeof t=="function")f(t,n);else if(typeof t=="object")Array.isArray(t)?d(t):o(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function l(h){if(typeof h=="function")f(h,[]);else if(typeof h=="object")if(Array.isArray(h)){const[p,...b]=h;f(p,b)}else o(h);else throw new TypeError("Expected usable value, not `"+h+"`")}function o(h){if(!("plugins"in h)&&!("settings"in h))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");d(h.plugins),h.settings&&(s.settings=Ch(!0,s.settings,h.settings))}function d(h){let p=-1;if(h!=null)if(Array.isArray(h))for(;++p<h.length;){const b=h[p];l(b)}else throw new TypeError("Expected a list of plugins, not `"+h+"`")}function f(h,p){let b=-1,T=-1;for(;++b<a.length;)if(a[b][0]===h){T=b;break}if(T===-1)a.push([h,...p]);else if(p.length>0){let[v,...A]=p;const k=a[T][1];M1(k)&&M1(v)&&(v=Ch(!0,k,v)),a[T]=[h,v,...A]}}}}const US=new Cm().freeze();function Rh(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Dh(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Ih(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 Ab(e){if(!M1(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function wb(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Xc(e){return zS(e)?e:new uE(e)}function zS(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function FS(e){return typeof e=="string"||HS(e)}function HS(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const qS="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",kb=[],Cb={allowDangerousHtml:!0},YS=/^(https?|ircs?|mailto|xmpp)$/i,GS=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function jS(e){const t=VS(e),n=KS(e);return $S(t.runSync(t.parse(n),n),e)}function VS(e){const t=e.rehypePlugins||kb,n=e.remarkPlugins||kb,a=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Cb}:Cb;return US().use(k_).use(n).use(vS,a).use(t)}function KS(e){const t=e.children||"",n=new uE;return typeof t=="string"&&(n.value=t),n}function $S(e,t){const n=t.allowedElements,a=t.allowElement,s=t.components,l=t.disallowedElements,o=t.skipHtml,d=t.unwrapDisallowed,f=t.urlTransform||XS;for(const p of GS)Object.hasOwn(t,p.from)&&(""+p.from+(p.to?"use `"+p.to+"` instead":"remove it")+qS+p.id,void 0);return xo(e,h),cT(e,{Fragment:G.Fragment,components:s,ignoreInvalidStyle:!0,jsx:G.jsx,jsxs:G.jsxs,passKeys:!0,passNode:!0});function h(p,b,T){if(p.type==="raw"&&T&&typeof b=="number")return o?T.children.splice(b,1):T.children[b]={type:"text",value:p.value},b;if(p.type==="element"){let v;for(v in xh)if(Object.hasOwn(xh,v)&&Object.hasOwn(p.properties,v)){const A=p.properties[v],k=xh[v];(k===null||k.includes(p.tagName))&&(p.properties[v]=f(String(A||""),v,p))}}if(p.type==="element"){let v=n?!n.includes(p.tagName):l?l.includes(p.tagName):!1;if(!v&&a&&typeof b=="number"&&(v=!a(p,b,T)),v&&T&&typeof b=="number")return d&&p.children?T.children.splice(b,1,...p.children):T.children.splice(b,1),b}}}function XS(e){const t=e.indexOf(":"),n=e.indexOf("?"),a=e.indexOf("#"),s=e.indexOf("/");return t===-1||s!==-1&&t>s||n!==-1&&t>n||a!==-1&&t>a||YS.test(e.slice(0,t))?e:""}function Nb(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let a=0,s=n.indexOf(t);for(;s!==-1;)a++,s=n.indexOf(t,s+t.length);return a}function WS(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function QS(e,t,n){const s=So((n||{}).ignore||[]),l=ZS(t);let o=-1;for(;++o<l.length;)km(e,"text",d);function d(h,p){let b=-1,T;for(;++b<p.length;){const v=p[b],A=T?T.children:void 0;if(s(v,A?A.indexOf(v):void 0,T))return;T=v}if(T)return f(h,p)}function f(h,p){const b=p[p.length-1],T=l[o][0],v=l[o][1];let A=0;const R=b.children.indexOf(h);let C=!1,D=[];T.lastIndex=0;let U=T.exec(h.value);for(;U;){const J=U.index,j={index:U.index,input:U.input,stack:[...p,h]};let B=v(...U,j);if(typeof B=="string"&&(B=B.length>0?{type:"text",value:B}:void 0),B===!1?T.lastIndex=J+1:(A!==J&&D.push({type:"text",value:h.value.slice(A,J)}),Array.isArray(B)?D.push(...B):B&&D.push(B),A=J+U[0].length,C=!0),!T.global)break;U=T.exec(h.value)}return C?(A<h.value.length&&D.push({type:"text",value:h.value.slice(A)}),b.children.splice(R,1,...D)):D=[h],R+D.length}}function ZS(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!e[0]||Array.isArray(e[0])?e:[e];let a=-1;for(;++a<n.length;){const s=n[a];t.push([JS(s[0]),ex(s[1])])}return t}function JS(e){return typeof e=="string"?new RegExp(WS(e),"g"):e}function ex(e){return typeof e=="function"?e:function(){return e}}const Lh="phrasing",Bh=["autolink","link","image","label"];function tx(){return{transforms:[ux],enter:{literalAutolink:rx,literalAutolinkEmail:Ph,literalAutolinkHttp:Ph,literalAutolinkWww:Ph},exit:{literalAutolink:lx,literalAutolinkEmail:sx,literalAutolinkHttp:ax,literalAutolinkWww:ix}}}function nx(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Lh,notInConstruct:Bh},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Lh,notInConstruct:Bh},{character:":",before:"[ps]",after:"\\/",inConstruct:Lh,notInConstruct:Bh}]}}function rx(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function Ph(e){this.config.enter.autolinkProtocol.call(this,e)}function ax(e){this.config.exit.autolinkProtocol.call(this,e)}function ix(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function sx(e){this.config.exit.autolinkEmail.call(this,e)}function lx(e){this.exit(e)}function ux(e){QS(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,ox],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),cx]],{ignore:["link","linkReference"]})}function ox(e,t,n,a,s){let l="";if(!oE(s)||(/^w/i.test(t)&&(n=t+n,t="",l="http://"),!dx(n)))return!1;const o=fx(n+a);if(!o[0])return!1;const d={type:"link",title:null,url:l+t+o[0],children:[{type:"text",value:t+o[0]}]};return o[1]?[d,{type:"text",value:o[1]}]:d}function cx(e,t,n,a){return!oE(a,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function dx(e){const 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 fx(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],a=n.indexOf(")");const s=Nb(e,"(");let l=Nb(e,")");for(;a!==-1&&s>l;)e+=n.slice(0,a+1),n=n.slice(a+1),a=n.indexOf(")"),l++;return[e,n]}function oE(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||Rs(n)||K0(n))&&(!t||n!==47)}cE.peek=Tx;function hx(){this.buffer()}function mx(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function px(){this.buffer()}function gx(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function bx(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=ma(this.sliceSerialize(e)).toLowerCase(),n.label=t}function Ex(e){this.exit(e)}function yx(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=ma(this.sliceSerialize(e)).toLowerCase(),n.label=t}function vx(e){this.exit(e)}function Tx(){return"["}function cE(e,t,n,a){const s=n.createTracker(a);let l=s.move("[^");const o=n.enter("footnoteReference"),d=n.enter("reference");return l+=s.move(n.safe(n.associationId(e),{after:"]",before:l})),d(),o(),l+=s.move("]"),l}function _x(){return{enter:{gfmFootnoteCallString:hx,gfmFootnoteCall:mx,gfmFootnoteDefinitionLabelString:px,gfmFootnoteDefinition:gx},exit:{gfmFootnoteCallString:bx,gfmFootnoteCall:Ex,gfmFootnoteDefinitionLabelString:yx,gfmFootnoteDefinition:vx}}}function Sx(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:cE},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function n(a,s,l,o){const d=l.createTracker(o);let f=d.move("[^");const h=l.enter("footnoteDefinition"),p=l.enter("label");return f+=d.move(l.safe(l.associationId(a),{before:f,after:"]"})),p(),f+=d.move("]:"),a.children&&a.children.length>0&&(d.shift(4),f+=d.move((t?`
63
- `:" ")+l.indentLines(l.containerFlow(a,d.current()),t?dE:xx))),h(),f}}function xx(e,t,n){return t===0?e:dE(e,t,n)}function dE(e,t,n){return(n?"":" ")+e}const Ax=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];fE.peek=Ox;function wx(){return{canContainEols:["delete"],enter:{strikethrough:Cx},exit:{strikethrough:Nx}}}function kx(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Ax}],handlers:{delete:fE}}}function Cx(e){this.enter({type:"delete",children:[]},e)}function Nx(e){this.exit(e)}function fE(e,t,n,a){const s=n.createTracker(a),l=n.enter("strikethrough");let o=s.move("~~");return o+=n.containerPhrasing(e,{...s.current(),before:o,after:"~"}),o+=s.move("~~"),l(),o}function Ox(){return"~"}function Mx(e){return e.length}function Rx(e,t){const n=t||{},a=(n.align||[]).concat(),s=n.stringLength||Mx,l=[],o=[],d=[],f=[];let h=0,p=-1;for(;++p<e.length;){const k=[],R=[];let C=-1;for(e[p].length>h&&(h=e[p].length);++C<e[p].length;){const D=Dx(e[p][C]);if(n.alignDelimiters!==!1){const U=s(D);R[C]=U,(f[C]===void 0||U>f[C])&&(f[C]=U)}k.push(D)}o[p]=k,d[p]=R}let b=-1;if(typeof a=="object"&&"length"in a)for(;++b<h;)l[b]=Ob(a[b]);else{const k=Ob(a);for(;++b<h;)l[b]=k}b=-1;const T=[],v=[];for(;++b<h;){const k=l[b];let R="",C="";k===99?(R=":",C=":"):k===108?R=":":k===114&&(C=":");let D=n.alignDelimiters===!1?1:Math.max(1,f[b]-R.length-C.length);const U=R+"-".repeat(D)+C;n.alignDelimiters!==!1&&(D=R.length+D+C.length,D>f[b]&&(f[b]=D),v[b]=D),T[b]=U}o.splice(1,0,T),d.splice(1,0,v),p=-1;const A=[];for(;++p<o.length;){const k=o[p],R=d[p];b=-1;const C=[];for(;++b<h;){const D=k[b]||"";let U="",J="";if(n.alignDelimiters!==!1){const j=f[b]-(R[b]||0),B=l[b];B===114?U=" ".repeat(j):B===99?j%2?(U=" ".repeat(j/2+.5),J=" ".repeat(j/2-.5)):(U=" ".repeat(j/2),J=U):J=" ".repeat(j)}n.delimiterStart!==!1&&!b&&C.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&D==="")&&(n.delimiterStart!==!1||b)&&C.push(" "),n.alignDelimiters!==!1&&C.push(U),C.push(D),n.alignDelimiters!==!1&&C.push(J),n.padding!==!1&&C.push(" "),(n.delimiterEnd!==!1||b!==h-1)&&C.push("|")}A.push(n.delimiterEnd===!1?C.join("").replace(/ +$/,""):C.join(""))}return A.join(`
64
- `)}function Dx(e){return e==null?"":String(e)}function Ob(e){const t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}const Mb={}.hasOwnProperty;function hE(e,t){const n=t||{};function a(s,...l){let o=a.invalid;const d=a.handlers;if(s&&Mb.call(s,e)){const f=String(s[e]);o=Mb.call(d,f)?d[f]:a.unknown}if(o)return o.call(this,s,...l)}return a.handlers=n.handlers||{},a.invalid=n.invalid,a.unknown=n.unknown,a}function Ix(e,t,n,a){const s=n.enter("blockquote"),l=n.createTracker(a);l.move("> "),l.shift(2);const o=n.indentLines(n.containerFlow(e,l.current()),Lx);return s(),o}function Lx(e,t,n){return">"+(n?"":" ")+e}function Bx(e,t){return Rb(e,t.inConstruct,!0)&&!Rb(e,t.notInConstruct,!1)}function Rb(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let a=-1;for(;++a<t.length;)if(e.includes(t[a]))return!0;return!1}function Db(e,t,n,a){let s=-1;for(;++s<n.unsafe.length;)if(n.unsafe[s].character===`
65
- `&&Bx(n.stack,n.unsafe[s]))return/[ \t]/.test(a.before)?"":" ";return`\\
66
- `}function mE(e,t){const n=String(e);let a=n.indexOf(t),s=a,l=0,o=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;a!==-1;)a===s?++l>o&&(o=l):l=1,s=a+t.length,a=n.indexOf(t,s);return o}function Px(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function Ux(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function zx(e,t,n,a){const s=Ux(n),l=e.value||"",o=s==="`"?"GraveAccent":"Tilde";if(Px(e,n)){const b=n.enter("codeIndented"),T=n.indentLines(l,Fx);return b(),T}const d=n.createTracker(a),f=s.repeat(Math.max(mE(l,s)+1,3)),h=n.enter("codeFenced");let p=d.move(f);if(e.lang){const b=n.enter(`codeFencedLang${o}`);p+=d.move(n.safe(e.lang,{before:p,after:" ",encode:["`"],...d.current()})),b()}if(e.lang&&e.meta){const b=n.enter(`codeFencedMeta${o}`);p+=d.move(" "),p+=d.move(n.safe(e.meta,{before:p,after:`
67
- `,encode:["`"],...d.current()})),b()}return p+=d.move(`
68
- `),l&&(p+=d.move(l+`
69
- `)),p+=d.move(f),h(),p}function Fx(e,t,n){return(n?"":" ")+e}function Nm(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function Hx(e,t,n,a){const s=Nm(n),l=s==='"'?"Quote":"Apostrophe",o=n.enter("definition");let d=n.enter("label");const f=n.createTracker(a);let h=f.move("[");return h+=f.move(n.safe(n.associationId(e),{before:h,after:"]",...f.current()})),h+=f.move("]: "),d(),!e.url||/[\0- \u007F]/.test(e.url)?(d=n.enter("destinationLiteral"),h+=f.move("<"),h+=f.move(n.safe(e.url,{before:h,after:">",...f.current()})),h+=f.move(">")):(d=n.enter("destinationRaw"),h+=f.move(n.safe(e.url,{before:h,after:e.title?" ":`
70
- `,...f.current()}))),d(),e.title&&(d=n.enter(`title${l}`),h+=f.move(" "+s),h+=f.move(n.safe(e.title,{before:h,after:s,...f.current()})),h+=f.move(s),d()),o(),h}function qx(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function go(e){return"&#x"+e.toString(16).toUpperCase()+";"}function N0(e,t,n){const a=Nl(e),s=Nl(t);return a===void 0?s===void 0?n==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:s===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:a===1?s===void 0?{inside:!1,outside:!1}:s===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:s===void 0?{inside:!1,outside:!1}:s===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}pE.peek=Yx;function pE(e,t,n,a){const s=qx(n),l=n.enter("emphasis"),o=n.createTracker(a),d=o.move(s);let f=o.move(n.containerPhrasing(e,{after:s,before:d,...o.current()}));const h=f.charCodeAt(0),p=N0(a.before.charCodeAt(a.before.length-1),h,s);p.inside&&(f=go(h)+f.slice(1));const b=f.charCodeAt(f.length-1),T=N0(a.after.charCodeAt(0),b,s);T.inside&&(f=f.slice(0,-1)+go(b));const v=o.move(s);return l(),n.attentionEncodeSurroundingInfo={after:T.outside,before:p.outside},d+f+v}function Yx(e,t,n){return n.options.emphasis||"*"}function Gx(e,t){let n=!1;return xo(e,function(a){if("value"in a&&/\r?\n|\r/.test(a.value)||a.type==="break")return n=!0,N1}),!!((!e.depth||e.depth<3)&&vm(e)&&(t.options.setext||n))}function jx(e,t,n,a){const s=Math.max(Math.min(6,e.depth||1),1),l=n.createTracker(a);if(Gx(e,n)){const p=n.enter("headingSetext"),b=n.enter("phrasing"),T=n.containerPhrasing(e,{...l.current(),before:`
71
- `,after:`
72
- `});return b(),p(),T+`
73
- `+(s===1?"=":"-").repeat(T.length-(Math.max(T.lastIndexOf("\r"),T.lastIndexOf(`
74
- `))+1))}const o="#".repeat(s),d=n.enter("headingAtx"),f=n.enter("phrasing");l.move(o+" ");let h=n.containerPhrasing(e,{before:"# ",after:`
75
- `,...l.current()});return/^[\t ]/.test(h)&&(h=go(h.charCodeAt(0))+h.slice(1)),h=h?o+" "+h:o,n.options.closeAtx&&(h+=" "+o),f(),d(),h}gE.peek=Vx;function gE(e){return e.value||""}function Vx(){return"<"}bE.peek=Kx;function bE(e,t,n,a){const s=Nm(n),l=s==='"'?"Quote":"Apostrophe",o=n.enter("image");let d=n.enter("label");const f=n.createTracker(a);let h=f.move("![");return h+=f.move(n.safe(e.alt,{before:h,after:"]",...f.current()})),h+=f.move("]("),d(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(d=n.enter("destinationLiteral"),h+=f.move("<"),h+=f.move(n.safe(e.url,{before:h,after:">",...f.current()})),h+=f.move(">")):(d=n.enter("destinationRaw"),h+=f.move(n.safe(e.url,{before:h,after:e.title?" ":")",...f.current()}))),d(),e.title&&(d=n.enter(`title${l}`),h+=f.move(" "+s),h+=f.move(n.safe(e.title,{before:h,after:s,...f.current()})),h+=f.move(s),d()),h+=f.move(")"),o(),h}function Kx(){return"!"}EE.peek=$x;function EE(e,t,n,a){const s=e.referenceType,l=n.enter("imageReference");let o=n.enter("label");const d=n.createTracker(a);let f=d.move("![");const h=n.safe(e.alt,{before:f,after:"]",...d.current()});f+=d.move(h+"]["),o();const p=n.stack;n.stack=[],o=n.enter("reference");const b=n.safe(n.associationId(e),{before:f,after:"]",...d.current()});return o(),n.stack=p,l(),s==="full"||!h||h!==b?f+=d.move(b+"]"):s==="shortcut"?f=f.slice(0,-1):f+=d.move("]"),f}function $x(){return"!"}yE.peek=Xx;function yE(e,t,n){let a=e.value||"",s="`",l=-1;for(;new RegExp("(^|[^`])"+s+"([^`]|$)").test(a);)s+="`";for(/[^ \r\n]/.test(a)&&(/^[ \r\n]/.test(a)&&/[ \r\n]$/.test(a)||/^`|`$/.test(a))&&(a=" "+a+" ");++l<n.unsafe.length;){const o=n.unsafe[l],d=n.compilePattern(o);let f;if(o.atBreak)for(;f=d.exec(a);){let h=f.index;a.charCodeAt(h)===10&&a.charCodeAt(h-1)===13&&h--,a=a.slice(0,h)+" "+a.slice(f.index+1)}}return s+a+s}function Xx(){return"`"}function vE(e,t){const n=vm(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}TE.peek=Wx;function TE(e,t,n,a){const s=Nm(n),l=s==='"'?"Quote":"Apostrophe",o=n.createTracker(a);let d,f;if(vE(e,n)){const p=n.stack;n.stack=[],d=n.enter("autolink");let b=o.move("<");return b+=o.move(n.containerPhrasing(e,{before:b,after:">",...o.current()})),b+=o.move(">"),d(),n.stack=p,b}d=n.enter("link"),f=n.enter("label");let h=o.move("[");return h+=o.move(n.containerPhrasing(e,{before:h,after:"](",...o.current()})),h+=o.move("]("),f(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(f=n.enter("destinationLiteral"),h+=o.move("<"),h+=o.move(n.safe(e.url,{before:h,after:">",...o.current()})),h+=o.move(">")):(f=n.enter("destinationRaw"),h+=o.move(n.safe(e.url,{before:h,after:e.title?" ":")",...o.current()}))),f(),e.title&&(f=n.enter(`title${l}`),h+=o.move(" "+s),h+=o.move(n.safe(e.title,{before:h,after:s,...o.current()})),h+=o.move(s),f()),h+=o.move(")"),d(),h}function Wx(e,t,n){return vE(e,n)?"<":"["}_E.peek=Qx;function _E(e,t,n,a){const s=e.referenceType,l=n.enter("linkReference");let o=n.enter("label");const d=n.createTracker(a);let f=d.move("[");const h=n.containerPhrasing(e,{before:f,after:"]",...d.current()});f+=d.move(h+"]["),o();const p=n.stack;n.stack=[],o=n.enter("reference");const b=n.safe(n.associationId(e),{before:f,after:"]",...d.current()});return o(),n.stack=p,l(),s==="full"||!h||h!==b?f+=d.move(b+"]"):s==="shortcut"?f=f.slice(0,-1):f+=d.move("]"),f}function Qx(){return"["}function Om(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function Zx(e){const t=Om(e),n=e.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function Jx(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function SE(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function eA(e,t,n,a){const s=n.enter("list"),l=n.bulletCurrent;let o=e.ordered?Jx(n):Om(n);const d=e.ordered?o==="."?")":".":Zx(n);let f=t&&n.bulletLastUsed?o===n.bulletLastUsed:!1;if(!e.ordered){const p=e.children?e.children[0]:void 0;if((o==="*"||o==="-")&&p&&(!p.children||!p.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(f=!0),SE(n)===o&&p){let b=-1;for(;++b<e.children.length;){const T=e.children[b];if(T&&T.type==="listItem"&&T.children&&T.children[0]&&T.children[0].type==="thematicBreak"){f=!0;break}}}}f&&(o=d),n.bulletCurrent=o;const h=n.containerFlow(e,a);return n.bulletLastUsed=o,n.bulletCurrent=l,s(),h}function tA(e){const t=e.options.listItemIndent||"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function nA(e,t,n,a){const s=tA(n);let l=n.bulletCurrent||Om(n);t&&t.type==="list"&&t.ordered&&(l=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+l);let o=l.length+1;(s==="tab"||s==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(o=Math.ceil(o/4)*4);const d=n.createTracker(a);d.move(l+" ".repeat(o-l.length)),d.shift(o);const f=n.enter("listItem"),h=n.indentLines(n.containerFlow(e,d.current()),p);return f(),h;function p(b,T,v){return T?(v?"":" ".repeat(o))+b:(v?l:l+" ".repeat(o-l.length))+b}}function rA(e,t,n,a){const s=n.enter("paragraph"),l=n.enter("phrasing"),o=n.containerPhrasing(e,a);return l(),s(),o}const aA=So(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function iA(e,t,n,a){return(e.children.some(function(o){return aA(o)})?n.containerPhrasing:n.containerFlow).call(n,e,a)}function sA(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}xE.peek=lA;function xE(e,t,n,a){const s=sA(n),l=n.enter("strong"),o=n.createTracker(a),d=o.move(s+s);let f=o.move(n.containerPhrasing(e,{after:s,before:d,...o.current()}));const h=f.charCodeAt(0),p=N0(a.before.charCodeAt(a.before.length-1),h,s);p.inside&&(f=go(h)+f.slice(1));const b=f.charCodeAt(f.length-1),T=N0(a.after.charCodeAt(0),b,s);T.inside&&(f=f.slice(0,-1)+go(b));const v=o.move(s+s);return l(),n.attentionEncodeSurroundingInfo={after:T.outside,before:p.outside},d+f+v}function lA(e,t,n){return n.options.strong||"*"}function uA(e,t,n,a){return n.safe(e.value,a)}function oA(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function cA(e,t,n){const a=(SE(n)+(n.options.ruleSpaces?" ":"")).repeat(oA(n));return n.options.ruleSpaces?a.slice(0,-1):a}const AE={blockquote:Ix,break:Db,code:zx,definition:Hx,emphasis:pE,hardBreak:Db,heading:jx,html:gE,image:bE,imageReference:EE,inlineCode:yE,link:TE,linkReference:_E,list:eA,listItem:nA,paragraph:rA,root:iA,strong:xE,text:uA,thematicBreak:cA};function dA(){return{enter:{table:fA,tableData:Ib,tableHeader:Ib,tableRow:mA},exit:{codeText:pA,table:hA,tableData:Uh,tableHeader:Uh,tableRow:Uh}}}function fA(e){const t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}function hA(e){this.exit(e),this.data.inTable=void 0}function mA(e){this.enter({type:"tableRow",children:[]},e)}function Uh(e){this.exit(e)}function Ib(e){this.enter({type:"tableCell",children:[]},e)}function pA(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,gA));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function gA(e,t){return t==="|"?t:e}function bA(e){const t=e||{},n=t.tableCellPadding,a=t.tablePipeAlign,s=t.stringLength,l=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
76
- `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:T,table:o,tableCell:f,tableRow:d}};function o(v,A,k,R){return h(p(v,k,R),v.align)}function d(v,A,k,R){const C=b(v,k,R),D=h([C]);return D.slice(0,D.indexOf(`
77
- `))}function f(v,A,k,R){const C=k.enter("tableCell"),D=k.enter("phrasing"),U=k.containerPhrasing(v,{...R,before:l,after:l});return D(),C(),U}function h(v,A){return Rx(v,{align:A,alignDelimiters:a,padding:n,stringLength:s})}function p(v,A,k){const R=v.children;let C=-1;const D=[],U=A.enter("table");for(;++C<R.length;)D[C]=b(R[C],A,k);return U(),D}function b(v,A,k){const R=v.children;let C=-1;const D=[],U=A.enter("tableRow");for(;++C<R.length;)D[C]=f(R[C],v,A,k);return U(),D}function T(v,A,k){let R=AE.inlineCode(v,A,k);return k.stack.includes("tableCell")&&(R=R.replace(/\|/g,"\\$&")),R}}function EA(){return{exit:{taskListCheckValueChecked:Lb,taskListCheckValueUnchecked:Lb,paragraph:vA}}}function yA(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:TA}}}function Lb(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function vA(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const n=this.stack[this.stack.length-1];n.type;const a=n.children[0];if(a&&a.type==="text"){const s=t.children;let l=-1,o;for(;++l<s.length;){const d=s[l];if(d.type==="paragraph"){o=d;break}}o===n&&(a.value=a.value.slice(1),a.value.length===0?n.children.shift():n.position&&a.position&&typeof a.position.start.offset=="number"&&(a.position.start.column++,a.position.start.offset++,n.position.start=Object.assign({},a.position.start)))}}this.exit(e)}function TA(e,t,n,a){const s=e.children[0],l=typeof e.checked=="boolean"&&s&&s.type==="paragraph",o="["+(e.checked?"x":" ")+"] ",d=n.createTracker(a);l&&d.move(o);let f=AE.listItem(e,t,n,{...a,...d.current()});return l&&(f=f.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,h)),f;function h(p){return p+o}}function _A(){return[tx(),_x(),wx(),dA(),EA()]}function SA(e){return{extensions:[nx(),Sx(e),kx(),bA(e),yA()]}}const xA={tokenize:OA,partial:!0},wE={tokenize:MA,partial:!0},kE={tokenize:RA,partial:!0},CE={tokenize:DA,partial:!0},AA={tokenize:IA,partial:!0},NE={name:"wwwAutolink",tokenize:CA,previous:ME},OE={name:"protocolAutolink",tokenize:NA,previous:RE},ci={name:"emailAutolink",tokenize:kA,previous:DE},Ra={};function wA(){return{text:Ra}}let ks=48;for(;ks<123;)Ra[ks]=ci,ks++,ks===58?ks=65:ks===91&&(ks=97);Ra[43]=ci;Ra[45]=ci;Ra[46]=ci;Ra[95]=ci;Ra[72]=[ci,OE];Ra[104]=[ci,OE];Ra[87]=[ci,NE];Ra[119]=[ci,NE];function kA(e,t,n){const a=this;let s,l;return o;function o(b){return!D1(b)||!DE.call(a,a.previous)||Mm(a.events)?n(b):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),d(b))}function d(b){return D1(b)?(e.consume(b),d):b===64?(e.consume(b),f):n(b)}function f(b){return b===46?e.check(AA,p,h)(b):b===45||b===95||Qn(b)?(l=!0,e.consume(b),f):p(b)}function h(b){return e.consume(b),s=!0,f}function p(b){return l&&s&&ur(a.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(b)):n(b)}}function CA(e,t,n){const a=this;return s;function s(o){return o!==87&&o!==119||!ME.call(a,a.previous)||Mm(a.events)?n(o):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(xA,e.attempt(wE,e.attempt(kE,l),n),n)(o))}function l(o){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(o)}}function NA(e,t,n){const a=this;let s="",l=!1;return o;function o(b){return(b===72||b===104)&&RE.call(a,a.previous)&&!Mm(a.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),s+=String.fromCodePoint(b),e.consume(b),d):n(b)}function d(b){if(ur(b)&&s.length<5)return s+=String.fromCodePoint(b),e.consume(b),d;if(b===58){const T=s.toLowerCase();if(T==="http"||T==="https")return e.consume(b),f}return n(b)}function f(b){return b===47?(e.consume(b),l?h:(l=!0,f)):n(b)}function h(b){return b===null||k0(b)||Kt(b)||Rs(b)||K0(b)?n(b):e.attempt(wE,e.attempt(kE,p),n)(b)}function p(b){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(b)}}function OA(e,t,n){let a=0;return s;function s(o){return(o===87||o===119)&&a<3?(a++,e.consume(o),s):o===46&&a===3?(e.consume(o),l):n(o)}function l(o){return o===null?n(o):t(o)}}function MA(e,t,n){let a,s,l;return o;function o(h){return h===46||h===95?e.check(CE,f,d)(h):h===null||Kt(h)||Rs(h)||h!==45&&K0(h)?f(h):(l=!0,e.consume(h),o)}function d(h){return h===95?a=!0:(s=a,a=void 0),e.consume(h),o}function f(h){return s||a||!l?n(h):t(h)}}function RA(e,t){let n=0,a=0;return s;function s(o){return o===40?(n++,e.consume(o),s):o===41&&a<n?l(o):o===33||o===34||o===38||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===60||o===63||o===93||o===95||o===126?e.check(CE,t,l)(o):o===null||Kt(o)||Rs(o)?t(o):(e.consume(o),s)}function l(o){return o===41&&a++,e.consume(o),s}}function DA(e,t,n){return a;function a(d){return d===33||d===34||d===39||d===41||d===42||d===44||d===46||d===58||d===59||d===63||d===95||d===126?(e.consume(d),a):d===38?(e.consume(d),l):d===93?(e.consume(d),s):d===60||d===null||Kt(d)||Rs(d)?t(d):n(d)}function s(d){return d===null||d===40||d===91||Kt(d)||Rs(d)?t(d):a(d)}function l(d){return ur(d)?o(d):n(d)}function o(d){return d===59?(e.consume(d),a):ur(d)?(e.consume(d),o):n(d)}}function IA(e,t,n){return a;function a(l){return e.consume(l),s}function s(l){return Qn(l)?n(l):t(l)}}function ME(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Kt(e)}function RE(e){return!ur(e)}function DE(e){return!(e===47||D1(e))}function D1(e){return e===43||e===45||e===46||e===95||Qn(e)}function Mm(e){let t=e.length,n=!1;for(;t--;){const a=e[t][1];if((a.type==="labelLink"||a.type==="labelImage")&&!a._balanced){n=!0;break}if(a._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const LA={tokenize:YA,partial:!0};function BA(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:FA,continuation:{tokenize:HA},exit:qA}},text:{91:{name:"gfmFootnoteCall",tokenize:zA},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:PA,resolveTo:UA}}}}function PA(e,t,n){const a=this;let s=a.events.length;const l=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);let o;for(;s--;){const f=a.events[s][1];if(f.type==="labelImage"){o=f;break}if(f.type==="gfmFootnoteCall"||f.type==="labelLink"||f.type==="label"||f.type==="image"||f.type==="link")break}return d;function d(f){if(!o||!o._balanced)return n(f);const h=ma(a.sliceSerialize({start:o.end,end:a.now()}));return h.codePointAt(0)!==94||!l.includes(h.slice(1))?n(f):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),t(f))}}function UA(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const a={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},s={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};s.end.column++,s.end.offset++,s.end._bufferIndex++;const l={type:"gfmFootnoteCallString",start:Object.assign({},s.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},l.start),end:Object.assign({},l.end)},d=[e[n+1],e[n+2],["enter",a,t],e[n+3],e[n+4],["enter",s,t],["exit",s,t],["enter",l,t],["enter",o,t],["exit",o,t],["exit",l,t],e[e.length-2],e[e.length-1],["exit",a,t]];return e.splice(n,e.length-n+1,...d),e}function zA(e,t,n){const a=this,s=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);let l=0,o;return d;function d(b){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(b),e.exit("gfmFootnoteCallLabelMarker"),f}function f(b){return b!==94?n(b):(e.enter("gfmFootnoteCallMarker"),e.consume(b),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",h)}function h(b){if(l>999||b===93&&!o||b===null||b===91||Kt(b))return n(b);if(b===93){e.exit("chunkString");const T=e.exit("gfmFootnoteCallString");return s.includes(ma(a.sliceSerialize(T)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(b),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(b)}return Kt(b)||(o=!0),l++,e.consume(b),b===92?p:h}function p(b){return b===91||b===92||b===93?(e.consume(b),l++,h):h(b)}}function FA(e,t,n){const a=this,s=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);let l,o=0,d;return f;function f(A){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(A),e.exit("gfmFootnoteDefinitionLabelMarker"),h}function h(A){return A===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(A),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",p):n(A)}function p(A){if(o>999||A===93&&!d||A===null||A===91||Kt(A))return n(A);if(A===93){e.exit("chunkString");const k=e.exit("gfmFootnoteDefinitionLabelString");return l=ma(a.sliceSerialize(k)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(A),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),T}return Kt(A)||(d=!0),o++,e.consume(A),A===92?b:p}function b(A){return A===91||A===92||A===93?(e.consume(A),o++,p):p(A)}function T(A){return A===58?(e.enter("definitionMarker"),e.consume(A),e.exit("definitionMarker"),s.includes(l)||s.push(l),At(e,v,"gfmFootnoteDefinitionWhitespace")):n(A)}function v(A){return t(A)}}function HA(e,t,n){return e.check(_o,t,e.attempt(LA,t,n))}function qA(e){e.exit("gfmFootnoteDefinition")}function YA(e,t,n){const a=this;return At(e,s,"gfmFootnoteDefinitionIndent",5);function s(l){const o=a.events[a.events.length-1];return o&&o[1].type==="gfmFootnoteDefinitionIndent"&&o[2].sliceSerialize(o[1],!0).length===4?t(l):n(l)}}function GA(e){let n=(e||{}).singleTilde;const a={name:"strikethrough",tokenize:l,resolveAll:s};return n==null&&(n=!0),{text:{126:a},insideSpan:{null:[a]},attentionMarkers:{null:[126]}};function s(o,d){let f=-1;for(;++f<o.length;)if(o[f][0]==="enter"&&o[f][1].type==="strikethroughSequenceTemporary"&&o[f][1]._close){let h=f;for(;h--;)if(o[h][0]==="exit"&&o[h][1].type==="strikethroughSequenceTemporary"&&o[h][1]._open&&o[f][1].end.offset-o[f][1].start.offset===o[h][1].end.offset-o[h][1].start.offset){o[f][1].type="strikethroughSequence",o[h][1].type="strikethroughSequence";const p={type:"strikethrough",start:Object.assign({},o[h][1].start),end:Object.assign({},o[f][1].end)},b={type:"strikethroughText",start:Object.assign({},o[h][1].end),end:Object.assign({},o[f][1].start)},T=[["enter",p,d],["enter",o[h][1],d],["exit",o[h][1],d],["enter",b,d]],v=d.parser.constructs.insideSpan.null;v&&zr(T,T.length,0,$0(v,o.slice(h+1,f),d)),zr(T,T.length,0,[["exit",b,d],["enter",o[f][1],d],["exit",o[f][1],d],["exit",p,d]]),zr(o,h-1,f-h+3,T),f=h+T.length-2;break}}for(f=-1;++f<o.length;)o[f][1].type==="strikethroughSequenceTemporary"&&(o[f][1].type="data");return o}function l(o,d,f){const h=this.previous,p=this.events;let b=0;return T;function T(A){return h===126&&p[p.length-1][1].type!=="characterEscape"?f(A):(o.enter("strikethroughSequenceTemporary"),v(A))}function v(A){const k=Nl(h);if(A===126)return b>1?f(A):(o.consume(A),b++,v);if(b<2&&!n)return f(A);const R=o.exit("strikethroughSequenceTemporary"),C=Nl(A);return R._open=!C||C===2&&!!k,R._close=!k||k===2&&!!C,d(A)}}}class jA{constructor(){this.map=[]}add(t,n,a){VA(this,t,n,a)}consume(t){if(this.map.sort(function(l,o){return l[0]-o[0]}),this.map.length===0)return;let n=this.map.length;const a=[];for(;n>0;)n-=1,a.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];a.push(t.slice()),t.length=0;let s=a.pop();for(;s;){for(const l of s)t.push(l);s=a.pop()}this.map.length=0}}function VA(e,t,n,a){let s=0;if(!(n===0&&a.length===0)){for(;s<e.map.length;){if(e.map[s][0]===t){e.map[s][1]+=n,e.map[s][2].push(...a);return}s+=1}e.map.push([t,n,a])}}function KA(e,t){let n=!1;const a=[];for(;t<e.length;){const s=e[t];if(n){if(s[0]==="enter")s[1].type==="tableContent"&&a.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(s[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const l=a.length-1;a[l]=a[l]==="left"?"center":"right"}}else if(s[1].type==="tableDelimiterRow")break}else s[0]==="enter"&&s[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return a}function $A(){return{flow:{null:{name:"table",tokenize:XA,resolveAll:WA}}}}function XA(e,t,n){const a=this;let s=0,l=0,o;return d;function d(Y){let Z=a.events.length-1;for(;Z>-1;){const ue=a.events[Z][1].type;if(ue==="lineEnding"||ue==="linePrefix")Z--;else break}const ee=Z>-1?a.events[Z][1].type:null,pe=ee==="tableHead"||ee==="tableRow"?B:f;return pe===B&&a.parser.lazy[a.now().line]?n(Y):pe(Y)}function f(Y){return e.enter("tableHead"),e.enter("tableRow"),h(Y)}function h(Y){return Y===124||(o=!0,l+=1),p(Y)}function p(Y){return Y===null?n(Y):Xe(Y)?l>1?(l=0,a.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(Y),e.exit("lineEnding"),v):n(Y):Nt(Y)?At(e,p,"whitespace")(Y):(l+=1,o&&(o=!1,s+=1),Y===124?(e.enter("tableCellDivider"),e.consume(Y),e.exit("tableCellDivider"),o=!0,p):(e.enter("data"),b(Y)))}function b(Y){return Y===null||Y===124||Kt(Y)?(e.exit("data"),p(Y)):(e.consume(Y),Y===92?T:b)}function T(Y){return Y===92||Y===124?(e.consume(Y),b):b(Y)}function v(Y){return a.interrupt=!1,a.parser.lazy[a.now().line]?n(Y):(e.enter("tableDelimiterRow"),o=!1,Nt(Y)?At(e,A,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Y):A(Y))}function A(Y){return Y===45||Y===58?R(Y):Y===124?(o=!0,e.enter("tableCellDivider"),e.consume(Y),e.exit("tableCellDivider"),k):j(Y)}function k(Y){return Nt(Y)?At(e,R,"whitespace")(Y):R(Y)}function R(Y){return Y===58?(l+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(Y),e.exit("tableDelimiterMarker"),C):Y===45?(l+=1,C(Y)):Y===null||Xe(Y)?J(Y):j(Y)}function C(Y){return Y===45?(e.enter("tableDelimiterFiller"),D(Y)):j(Y)}function D(Y){return Y===45?(e.consume(Y),D):Y===58?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(Y),e.exit("tableDelimiterMarker"),U):(e.exit("tableDelimiterFiller"),U(Y))}function U(Y){return Nt(Y)?At(e,J,"whitespace")(Y):J(Y)}function J(Y){return Y===124?A(Y):Y===null||Xe(Y)?!o||s!==l?j(Y):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(Y)):j(Y)}function j(Y){return n(Y)}function B(Y){return e.enter("tableRow"),Q(Y)}function Q(Y){return Y===124?(e.enter("tableCellDivider"),e.consume(Y),e.exit("tableCellDivider"),Q):Y===null||Xe(Y)?(e.exit("tableRow"),t(Y)):Nt(Y)?At(e,Q,"whitespace")(Y):(e.enter("data"),te(Y))}function te(Y){return Y===null||Y===124||Kt(Y)?(e.exit("data"),Q(Y)):(e.consume(Y),Y===92?ae:te)}function ae(Y){return Y===92||Y===124?(e.consume(Y),te):te(Y)}}function WA(e,t){let n=-1,a=!0,s=0,l=[0,0,0,0],o=[0,0,0,0],d=!1,f=0,h,p,b;const T=new jA;for(;++n<e.length;){const v=e[n],A=v[1];v[0]==="enter"?A.type==="tableHead"?(d=!1,f!==0&&(Bb(T,t,f,h,p),p=void 0,f=0),h={type:"table",start:Object.assign({},A.start),end:Object.assign({},A.end)},T.add(n,0,[["enter",h,t]])):A.type==="tableRow"||A.type==="tableDelimiterRow"?(a=!0,b=void 0,l=[0,0,0,0],o=[0,n+1,0,0],d&&(d=!1,p={type:"tableBody",start:Object.assign({},A.start),end:Object.assign({},A.end)},T.add(n,0,[["enter",p,t]])),s=A.type==="tableDelimiterRow"?2:p?3:1):s&&(A.type==="data"||A.type==="tableDelimiterMarker"||A.type==="tableDelimiterFiller")?(a=!1,o[2]===0&&(l[1]!==0&&(o[0]=o[1],b=Wc(T,t,l,s,void 0,b),l=[0,0,0,0]),o[2]=n)):A.type==="tableCellDivider"&&(a?a=!1:(l[1]!==0&&(o[0]=o[1],b=Wc(T,t,l,s,void 0,b)),l=o,o=[l[1],n,0,0])):A.type==="tableHead"?(d=!0,f=n):A.type==="tableRow"||A.type==="tableDelimiterRow"?(f=n,l[1]!==0?(o[0]=o[1],b=Wc(T,t,l,s,n,b)):o[1]!==0&&(b=Wc(T,t,o,s,n,b)),s=0):s&&(A.type==="data"||A.type==="tableDelimiterMarker"||A.type==="tableDelimiterFiller")&&(o[3]=n)}for(f!==0&&Bb(T,t,f,h,p),T.consume(t.events),n=-1;++n<t.events.length;){const v=t.events[n];v[0]==="enter"&&v[1].type==="table"&&(v[1]._align=KA(t.events,n))}return e}function Wc(e,t,n,a,s,l){const o=a===1?"tableHeader":a===2?"tableDelimiter":"tableData",d="tableContent";n[0]!==0&&(l.end=Object.assign({},vl(t.events,n[0])),e.add(n[0],0,[["exit",l,t]]));const f=vl(t.events,n[1]);if(l={type:o,start:Object.assign({},f),end:Object.assign({},f)},e.add(n[1],0,[["enter",l,t]]),n[2]!==0){const h=vl(t.events,n[2]),p=vl(t.events,n[3]),b={type:d,start:Object.assign({},h),end:Object.assign({},p)};if(e.add(n[2],0,[["enter",b,t]]),a!==2){const T=t.events[n[2]],v=t.events[n[3]];if(T[1].end=Object.assign({},v[1].end),T[1].type="chunkText",T[1].contentType="text",n[3]>n[2]+1){const A=n[2]+1,k=n[3]-n[2]-1;e.add(A,k,[])}}e.add(n[3]+1,0,[["exit",b,t]])}return s!==void 0&&(l.end=Object.assign({},vl(t.events,s)),e.add(s,0,[["exit",l,t]]),l=void 0),l}function Bb(e,t,n,a,s){const l=[],o=vl(t.events,n);s&&(s.end=Object.assign({},o),l.push(["exit",s,t])),a.end=Object.assign({},o),l.push(["exit",a,t]),e.add(n+1,0,l)}function vl(e,t){const n=e[t],a=n[0]==="enter"?"start":"end";return n[1][a]}const QA={name:"tasklistCheck",tokenize:JA};function ZA(){return{text:{91:QA}}}function JA(e,t,n){const a=this;return s;function s(f){return a.previous!==null||!a._gfmTasklistFirstContentOfListItem?n(f):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(f),e.exit("taskListCheckMarker"),l)}function l(f){return Kt(f)?(e.enter("taskListCheckValueUnchecked"),e.consume(f),e.exit("taskListCheckValueUnchecked"),o):f===88||f===120?(e.enter("taskListCheckValueChecked"),e.consume(f),e.exit("taskListCheckValueChecked"),o):n(f)}function o(f){return f===93?(e.enter("taskListCheckMarker"),e.consume(f),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),d):n(f)}function d(f){return Xe(f)?t(f):Nt(f)?e.check({tokenize:ew},t,n)(f):n(f)}}function ew(e,t,n){return At(e,a,"whitespace");function a(s){return s===null?n(s):t(s)}}function tw(e){return q6([wA(),BA(),GA(e),$A(),ZA()])}const nw={};function rw(e){const t=this,n=e||nw,a=t.data(),s=a.micromarkExtensions||(a.micromarkExtensions=[]),l=a.fromMarkdownExtensions||(a.fromMarkdownExtensions=[]),o=a.toMarkdownExtensions||(a.toMarkdownExtensions=[]);s.push(tw(n)),l.push(_A()),o.push(SA(n))}const Pb=/[#.]/g;function aw(e,t){const n=e||"",a={};let s=0,l,o;for(;s<n.length;){Pb.lastIndex=s;const d=Pb.exec(n),f=n.slice(s,d?d.index:n.length);f&&(l?l==="#"?a.id=f:Array.isArray(a.className)?a.className.push(f):a.className=[f]:o=f,s+=f.length),d&&(l=d[0],s++)}return{type:"element",tagName:o||t||"div",properties:a,children:[]}}function IE(e,t,n){const a=n?uw(n):void 0;function s(l,o,...d){let f;if(l==null){f={type:"root",children:[]};const h=o;d.unshift(h)}else{f=aw(l,t);const h=f.tagName.toLowerCase(),p=a?a.get(h):void 0;if(f.tagName=p||h,iw(o))d.unshift(o);else for(const[b,T]of Object.entries(o))sw(e,f.properties,b,T)}for(const h of d)I1(f.children,h);return f.type==="element"&&f.tagName==="template"&&(f.content={type:"root",children:f.children},f.children=[]),f}return s}function iw(e){if(e===null||typeof e!="object"||Array.isArray(e))return!0;if(typeof e.type!="string")return!1;const t=e,n=Object.keys(e);for(const a of n){const s=t[a];if(s&&typeof s=="object"){if(!Array.isArray(s))return!0;const l=s;for(const o of l)if(typeof o!="number"&&typeof o!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function sw(e,t,n,a){const s=gm(e,n);let l;if(a!=null){if(typeof a=="number"){if(Number.isNaN(a))return;l=a}else typeof a=="boolean"?l=a:typeof a=="string"?s.spaceSeparated?l=W4(a):s.commaSeparated?l=j4(a):s.commaOrSpaceSeparated?l=W4(j4(a).join(" ")):l=Ub(s,s.property,a):Array.isArray(a)?l=[...a]:l=s.property==="style"?lw(a):String(a);if(Array.isArray(l)){const o=[];for(const d of l)o.push(Ub(s,s.property,d));l=o}s.property==="className"&&Array.isArray(t.className)&&(l=t.className.concat(l)),t[s.property]=l}}function I1(e,t){if(t!=null)if(typeof t=="number"||typeof t=="string")e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(const n of t)I1(e,n);else if(typeof t=="object"&&"type"in t)t.type==="root"?I1(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function Ub(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||mo(n)===mo(t)))return!0}return n}function lw(e){const t=[];for(const[n,a]of Object.entries(e))t.push([n,a].join(": "));return t.join("; ")}function uw(e){const t=new Map;for(const n of e)t.set(n.toLowerCase(),n);return t}const ow=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"],LE=IE(j0,"div"),BE=IE(Bl,"g",ow);function cw(e){const t=String(e),n=[];return{toOffset:s,toPoint:a};function a(l){if(typeof l=="number"&&l>-1&&l<=t.length){let o=0;for(;;){let d=n[o];if(d===void 0){const f=zb(t,n[o-1]);d=f===-1?t.length+1:f+1,n[o]=d}if(d>l)return{line:o+1,column:l-(o>0?n[o-1]:0)+1,offset:l};o++}}}function s(l){if(l&&typeof l.line=="number"&&typeof l.column=="number"&&!Number.isNaN(l.line)&&!Number.isNaN(l.column)){for(;n.length<l.line;){const d=n[n.length-1],f=zb(t,d),h=f===-1?t.length+1:f+1;if(d===h)break;n.push(h)}const o=(l.line>1?n[l.line-2]:0)+l.column-1;if(o<n[l.line-1])return o}}}function zb(e,t){const n=e.indexOf("\r",t),a=e.indexOf(`
78
- `,t);return a===-1?n:n===-1||n+1===a?a:n<a?n:a}const ka={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},PE={}.hasOwnProperty,dw=Object.prototype;function fw(e,t){const n=t||{};return Rm({file:n.file||void 0,location:!1,schema:n.space==="svg"?Bl:j0,verbose:n.verbose||!1},e)}function Rm(e,t){let n;switch(t.nodeName){case"#comment":{const a=t;return n={type:"comment",value:a.data},T0(e,a,n),n}case"#document":case"#document-fragment":{const a=t,s="mode"in a?a.mode==="quirks"||a.mode==="limited-quirks":!1;if(n={type:"root",children:UE(e,t.childNodes),data:{quirksMode:s}},e.file&&e.location){const l=String(e.file),o=cw(l),d=o.toPoint(0),f=o.toPoint(l.length);n.position={start:d,end:f}}return n}case"#documentType":{const a=t;return n={type:"doctype"},T0(e,a,n),n}case"#text":{const a=t;return n={type:"text",value:a.value},T0(e,a,n),n}default:return n=hw(e,t),n}}function UE(e,t){let n=-1;const a=[];for(;++n<t.length;){const s=Rm(e,t[n]);a.push(s)}return a}function hw(e,t){const n=e.schema;e.schema=t.namespaceURI===ka.svg?Bl:j0;let a=-1;const s={};for(;++a<t.attrs.length;){const d=t.attrs[a],f=(d.prefix?d.prefix+":":"")+d.name;PE.call(dw,f)||(s[f]=d.value)}const o=(e.schema.space==="svg"?BE:LE)(t.tagName,s,UE(e,t.childNodes));if(T0(e,t,o),o.tagName==="template"){const d=t,f=d.sourceCodeLocation,h=f&&f.startTag&&Al(f.startTag),p=f&&f.endTag&&Al(f.endTag),b=Rm(e,d.content);h&&p&&e.file&&(b.position={start:h.end,end:p.start}),o.content=b}return e.schema=n,o}function T0(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const a=mw(e,n,t.sourceCodeLocation);a&&(e.location=!0,n.position=a)}}function mw(e,t,n){const a=Al(n);if(t.type==="element"){const s=t.children[t.children.length-1];if(a&&!n.endTag&&s&&s.position&&s.position.end&&(a.end=Object.assign({},s.position.end)),e.verbose){const l={};let o;if(n.attrs)for(o in n.attrs)PE.call(n.attrs,o)&&(l[gm(e.schema,o).property]=Al(n.attrs[o]));n.startTag;const d=Al(n.startTag),f=n.endTag?Al(n.endTag):void 0,h={opening:d};f&&(h.closing=f),h.properties=l,t.data={position:h}}}return a}function Al(e){const t=Fb({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=Fb({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function Fb(e){return e.line&&e.column?e:void 0}class wo{constructor(t,n,a){this.property=t,this.normal=n,a&&(this.space=a)}}wo.prototype.property={};wo.prototype.normal={};wo.prototype.space=null;function zE(e,t){const n={},a={};let s=-1;for(;++s<e.length;)Object.assign(n,e[s].property),Object.assign(a,e[s].normal);return new wo(n,a,t)}function L1(e){return e.toLowerCase()}class ra{constructor(t,n){this.property=t,this.attribute=n}}ra.prototype.space=null;ra.prototype.boolean=!1;ra.prototype.booleanish=!1;ra.prototype.overloadedBoolean=!1;ra.prototype.number=!1;ra.prototype.commaSeparated=!1;ra.prototype.spaceSeparated=!1;ra.prototype.commaOrSpaceSeparated=!1;ra.prototype.mustUseProperty=!1;ra.prototype.defined=!1;let pw=0;const gt=Is(),On=Is(),FE=Is(),Oe=Is(),Qt=Is(),kl=Is(),Br=Is();function Is(){return 2**++pw}const B1=Object.freeze(Object.defineProperty({__proto__:null,boolean:gt,booleanish:On,commaOrSpaceSeparated:Br,commaSeparated:kl,number:Oe,overloadedBoolean:FE,spaceSeparated:Qt},Symbol.toStringTag,{value:"Module"})),zh=Object.keys(B1);class Dm extends ra{constructor(t,n,a,s){let l=-1;if(super(t,n),Hb(this,"space",s),typeof a=="number")for(;++l<zh.length;){const o=zh[l];Hb(this,zh[l],(a&B1[o])===B1[o])}}}Dm.prototype.defined=!0;function Hb(e,t,n){n&&(e[t]=n)}const gw={}.hasOwnProperty;function Ul(e){const t={},n={};let a;for(a in e.properties)if(gw.call(e.properties,a)){const s=e.properties[a],l=new Dm(a,e.transform(e.attributes||{},a),s,e.space);e.mustUseProperty&&e.mustUseProperty.includes(a)&&(l.mustUseProperty=!0),t[a]=l,n[L1(a)]=a,n[L1(l.attribute)]=a}return new wo(t,n,e.space)}const HE=Ul({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),qE=Ul({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function YE(e,t){return t in e?e[t]:t}function GE(e,t){return YE(e,t.toLowerCase())}const jE=Ul({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:GE,properties:{xmlns:null,xmlnsXLink:null}}),VE=Ul({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:On,ariaAutoComplete:null,ariaBusy:On,ariaChecked:On,ariaColCount:Oe,ariaColIndex:Oe,ariaColSpan:Oe,ariaControls:Qt,ariaCurrent:null,ariaDescribedBy:Qt,ariaDetails:null,ariaDisabled:On,ariaDropEffect:Qt,ariaErrorMessage:null,ariaExpanded:On,ariaFlowTo:Qt,ariaGrabbed:On,ariaHasPopup:null,ariaHidden:On,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Qt,ariaLevel:Oe,ariaLive:null,ariaModal:On,ariaMultiLine:On,ariaMultiSelectable:On,ariaOrientation:null,ariaOwns:Qt,ariaPlaceholder:null,ariaPosInSet:Oe,ariaPressed:On,ariaReadOnly:On,ariaRelevant:null,ariaRequired:On,ariaRoleDescription:Qt,ariaRowCount:Oe,ariaRowIndex:Oe,ariaRowSpan:Oe,ariaSelected:On,ariaSetSize:Oe,ariaSort:null,ariaValueMax:Oe,ariaValueMin:Oe,ariaValueNow:Oe,ariaValueText:null,role:null}}),bw=Ul({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:GE,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:kl,acceptCharset:Qt,accessKey:Qt,action:null,allow:null,allowFullScreen:gt,allowPaymentRequest:gt,allowUserMedia:gt,alt:null,as:null,async:gt,autoCapitalize:null,autoComplete:Qt,autoFocus:gt,autoPlay:gt,blocking:Qt,capture:null,charSet:null,checked:gt,cite:null,className:Qt,cols:Oe,colSpan:null,content:null,contentEditable:On,controls:gt,controlsList:Qt,coords:Oe|kl,crossOrigin:null,data:null,dateTime:null,decoding:null,default:gt,defer:gt,dir:null,dirName:null,disabled:gt,download:FE,draggable:On,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:gt,formTarget:null,headers:Qt,height:Oe,hidden:gt,high:Oe,href:null,hrefLang:null,htmlFor:Qt,httpEquiv:Qt,id:null,imageSizes:null,imageSrcSet:null,inert:gt,inputMode:null,integrity:null,is:null,isMap:gt,itemId:null,itemProp:Qt,itemRef:Qt,itemScope:gt,itemType:Qt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:gt,low:Oe,manifest:null,max:null,maxLength:Oe,media:null,method:null,min:null,minLength:Oe,multiple:gt,muted:gt,name:null,nonce:null,noModule:gt,noValidate:gt,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:gt,optimum:Oe,pattern:null,ping:Qt,placeholder:null,playsInline:gt,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:gt,referrerPolicy:null,rel:Qt,required:gt,reversed:gt,rows:Oe,rowSpan:Oe,sandbox:Qt,scope:null,scoped:gt,seamless:gt,selected:gt,shadowRootClonable:gt,shadowRootDelegatesFocus:gt,shadowRootMode:null,shape:null,size:Oe,sizes:null,slot:null,span:Oe,spellCheck:On,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Oe,step:null,style:null,tabIndex:Oe,target:null,title:null,translate:null,type:null,typeMustMatch:gt,useMap:null,value:On,width:Oe,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Qt,axis:null,background:null,bgColor:null,border:Oe,borderColor:null,bottomMargin:Oe,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:gt,declare:gt,event:null,face:null,frame:null,frameBorder:null,hSpace:Oe,leftMargin:Oe,link:null,longDesc:null,lowSrc:null,marginHeight:Oe,marginWidth:Oe,noResize:gt,noHref:gt,noShade:gt,noWrap:gt,object:null,profile:null,prompt:null,rev:null,rightMargin:Oe,rules:null,scheme:null,scrolling:On,standby:null,summary:null,text:null,topMargin:Oe,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Oe,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:gt,disableRemotePlayback:gt,prefix:null,property:null,results:Oe,security:null,unselectable:null}}),Ew=Ul({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:YE,properties:{about:Br,accentHeight:Oe,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Oe,amplitude:Oe,arabicForm:null,ascent:Oe,attributeName:null,attributeType:null,azimuth:Oe,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Oe,by:null,calcMode:null,capHeight:Oe,className:Qt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Oe,diffuseConstant:Oe,direction:null,display:null,dur:null,divisor:Oe,dominantBaseline:null,download:gt,dx:null,dy:null,edgeMode:null,editable:null,elevation:Oe,enableBackground:null,end:null,event:null,exponent:Oe,externalResourcesRequired:null,fill:null,fillOpacity:Oe,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:kl,g2:kl,glyphName:kl,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Oe,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Oe,horizOriginX:Oe,horizOriginY:Oe,id:null,ideographic:Oe,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Oe,k:Oe,k1:Oe,k2:Oe,k3:Oe,k4:Oe,kernelMatrix:Br,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Oe,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Oe,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Oe,overlineThickness:Oe,paintOrder:null,panose1:null,path:null,pathLength:Oe,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Qt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Oe,pointsAtY:Oe,pointsAtZ:Oe,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Br,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Br,rev:Br,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Br,requiredFeatures:Br,requiredFonts:Br,requiredFormats:Br,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:Oe,specularExponent:Oe,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Oe,strikethroughThickness:Oe,string:null,stroke:null,strokeDashArray:Br,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Oe,strokeOpacity:Oe,strokeWidth:null,style:null,surfaceScale:Oe,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Br,tabIndex:Oe,tableValues:null,target:null,targetX:Oe,targetY:Oe,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Br,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Oe,underlineThickness:Oe,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Oe,values:null,vAlphabetic:Oe,vMathematical:Oe,vectorEffect:null,vHanging:Oe,vIdeographic:Oe,version:null,vertAdvY:Oe,vertOriginX:Oe,vertOriginY:Oe,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Oe,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),yw=/^data[-\w.:]+$/i,qb=/-[a-z]/g,vw=/[A-Z]/g;function Tw(e,t){const n=L1(t);let a=t,s=ra;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&yw.test(t)){if(t.charAt(4)==="-"){const l=t.slice(5).replace(qb,Sw);a="data"+l.charAt(0).toUpperCase()+l.slice(1)}else{const l=t.slice(4);if(!qb.test(l)){let o=l.replace(vw,_w);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}s=Dm}return new s(a,t)}function _w(e){return"-"+e.toLowerCase()}function Sw(e){return e.charAt(1).toUpperCase()}const xw=zE([qE,HE,jE,VE,bw],"html"),KE=zE([qE,HE,jE,VE,Ew],"svg"),Aw={},ww={}.hasOwnProperty,$E=hE("type",{handlers:{root:Cw,element:Dw,text:Mw,comment:Rw,doctype:Ow}});function kw(e,t){const a=(t||Aw).space;return $E(e,a==="svg"?KE:xw)}function Cw(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=Im(e.children,n,t),zl(e,n),n}function Nw(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=Im(e.children,n,t),zl(e,n),n}function Ow(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return zl(e,t),t}function Mw(e){const t={nodeName:"#text",value:e.value,parentNode:null};return zl(e,t),t}function Rw(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return zl(e,t),t}function Dw(e,t){const n=t;let a=n;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(a=KE);const s=[];let l;if(e.properties){for(l in e.properties)if(l!=="children"&&ww.call(e.properties,l)){const f=Iw(a,l,e.properties[l]);f&&s.push(f)}}const o=a.space,d={nodeName:e.tagName,tagName:e.tagName,attrs:s,namespaceURI:ka[o],childNodes:[],parentNode:null};return d.childNodes=Im(e.children,d,a),zl(e,d),e.tagName==="template"&&e.content&&(d.content=Nw(e.content,a)),d}function Iw(e,t,n){const a=Tw(e,t);if(n===!1||n===null||n===void 0||typeof n=="number"&&Number.isNaN(n)||!n&&a.boolean)return;Array.isArray(n)&&(n=a.commaSeparated?k6(n):L6(n));const s={name:a.attribute,value:n===!0?"":String(n)};if(a.space&&a.space!=="html"&&a.space!=="svg"){const l=s.name.indexOf(":");l<0?s.prefix="":(s.name=s.name.slice(l+1),s.prefix=a.attribute.slice(0,l)),s.namespace=ka[a.space]}return s}function Im(e,t,n){let a=-1;const s=[];if(e)for(;++a<e.length;){const l=$E(e[a],n);l.parentNode=t,s.push(l)}return s}function zl(e,t){const n=e.position;n&&n.start&&n.end&&(n.start.offset,n.end.offset,t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}const Lw=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],Bw=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),an="�";var I;(function(e){e[e.EOF=-1]="EOF",e[e.NULL=0]="NULL",e[e.TABULATION=9]="TABULATION",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.LINE_FEED=10]="LINE_FEED",e[e.FORM_FEED=12]="FORM_FEED",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.AMPERSAND=38]="AMPERSAND",e[e.APOSTROPHE=39]="APOSTROPHE",e[e.HYPHEN_MINUS=45]="HYPHEN_MINUS",e[e.SOLIDUS=47]="SOLIDUS",e[e.DIGIT_0=48]="DIGIT_0",e[e.DIGIT_9=57]="DIGIT_9",e[e.SEMICOLON=59]="SEMICOLON",e[e.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",e[e.EQUALS_SIGN=61]="EQUALS_SIGN",e[e.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",e[e.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_A=97]="LATIN_SMALL_A",e[e.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})(I||(I={}));const yr={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function XE(e){return e>=55296&&e<=57343}function Pw(e){return e>=56320&&e<=57343}function Uw(e,t){return(e-55296)*1024+9216+t}function WE(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function QE(e){return e>=64976&&e<=65007||Bw.has(e)}var he;(function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(he||(he={}));const zw=65536;class Fw{constructor(t){this.handler=t,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=zw,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(t,n){const{line:a,col:s,offset:l}=this,o=s+n,d=l+n;return{code:t,startLine:a,endLine:a,startCol:o,endCol:o,startOffset:d,endOffset:d}}_err(t){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(t,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.html.length-1){const n=this.html.charCodeAt(this.pos+1);if(Pw(n))return this.pos++,this._addGap(),Uw(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,I.EOF;return this._err(he.surrogateInInputStream),t}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(t,n){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=n}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,n){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(n)return this.html.startsWith(t,this.pos);for(let a=0;a<t.length;a++)if((this.html.charCodeAt(this.pos+a)|32)!==t.charCodeAt(a))return!1;return!0}peek(t){const n=this.pos+t;if(n>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,I.EOF;const a=this.html.charCodeAt(n);return a===I.CARRIAGE_RETURN?I.LINE_FEED:a}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,I.EOF;let t=this.html.charCodeAt(this.pos);return t===I.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,I.LINE_FEED):t===I.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,XE(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===I.LINE_FEED||t===I.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){WE(t)?this._err(he.controlCharacterInInputStream):QE(t)&&this._err(he.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var xt;(function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"})(xt||(xt={}));function ZE(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}const Hw=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),qw=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function Yw(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=qw.get(e))!==null&&t!==void 0?t:e}var qn;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(qn||(qn={}));const Gw=32;var Xi;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(Xi||(Xi={}));function P1(e){return e>=qn.ZERO&&e<=qn.NINE}function jw(e){return e>=qn.UPPER_A&&e<=qn.UPPER_F||e>=qn.LOWER_A&&e<=qn.LOWER_F}function Vw(e){return e>=qn.UPPER_A&&e<=qn.UPPER_Z||e>=qn.LOWER_A&&e<=qn.LOWER_Z||P1(e)}function Kw(e){return e===qn.EQUALS||Vw(e)}var Hn;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(Hn||(Hn={}));var ri;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(ri||(ri={}));class $w{constructor(t,n,a){this.decodeTree=t,this.emitCodePoint=n,this.errors=a,this.state=Hn.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=ri.Strict}startEntity(t){this.decodeMode=t,this.state=Hn.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case Hn.EntityStart:return t.charCodeAt(n)===qn.NUM?(this.state=Hn.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=Hn.NamedEntity,this.stateNamedEntity(t,n));case Hn.NumericStart:return this.stateNumericStart(t,n);case Hn.NumericDecimal:return this.stateNumericDecimal(t,n);case Hn.NumericHex:return this.stateNumericHex(t,n);case Hn.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|Gw)===qn.LOWER_X?(this.state=Hn.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=Hn.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,a,s){if(n!==a){const l=a-n;this.result=this.result*Math.pow(s,l)+Number.parseInt(t.substr(n,l),s),this.consumed+=l}}stateNumericHex(t,n){const a=n;for(;n<t.length;){const s=t.charCodeAt(n);if(P1(s)||jw(s))n+=1;else return this.addToNumericResult(t,a,n,16),this.emitNumericEntity(s,3)}return this.addToNumericResult(t,a,n,16),-1}stateNumericDecimal(t,n){const a=n;for(;n<t.length;){const s=t.charCodeAt(n);if(P1(s))n+=1;else return this.addToNumericResult(t,a,n,10),this.emitNumericEntity(s,2)}return this.addToNumericResult(t,a,n,10),-1}emitNumericEntity(t,n){var a;if(this.consumed<=n)return(a=this.errors)===null||a===void 0||a.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===qn.SEMI)this.consumed+=1;else if(this.decodeMode===ri.Strict)return 0;return this.emitCodePoint(Yw(this.result),this.consumed),this.errors&&(t!==qn.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){const{decodeTree:a}=this;let s=a[this.treeIndex],l=(s&Xi.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const o=t.charCodeAt(n);if(this.treeIndex=Xw(a,s,this.treeIndex+Math.max(1,l),o),this.treeIndex<0)return this.result===0||this.decodeMode===ri.Attribute&&(l===0||Kw(o))?0:this.emitNotTerminatedNamedEntity();if(s=a[this.treeIndex],l=(s&Xi.VALUE_LENGTH)>>14,l!==0){if(o===qn.SEMI)return this.emitNamedEntityData(this.treeIndex,l,this.consumed+this.excess);this.decodeMode!==ri.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:a}=this,s=(a[n]&Xi.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,s,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,a){const{decodeTree:s}=this;return this.emitCodePoint(n===1?s[t]&~Xi.VALUE_LENGTH:s[t+1],a),n===3&&this.emitCodePoint(s[t+2],a),a}end(){var t;switch(this.state){case Hn.NamedEntity:return this.result!==0&&(this.decodeMode!==ri.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Hn.NumericDecimal:return this.emitNumericEntity(0,2);case Hn.NumericHex:return this.emitNumericEntity(0,3);case Hn.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Hn.EntityStart:return 0}}}function Xw(e,t,n,a){const s=(t&Xi.BRANCH_LENGTH)>>7,l=t&Xi.JUMP_TABLE;if(s===0)return l!==0&&a===l?n:-1;if(l){const f=a-l;return f<0||f>=s?-1:e[n+f]-1}let o=n,d=o+s-1;for(;o<=d;){const f=o+d>>>1,h=e[f];if(h<a)o=f+1;else if(h>a)d=f-1;else return e[f+s]}return-1}var xe;(function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"})(xe||(xe={}));var Ms;(function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"})(Ms||(Ms={}));var Qr;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(Qr||(Qr={}));var re;(function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SEARCH="search",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"})(re||(re={}));var E;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"})(E||(E={}));const Ww=new Map([[re.A,E.A],[re.ADDRESS,E.ADDRESS],[re.ANNOTATION_XML,E.ANNOTATION_XML],[re.APPLET,E.APPLET],[re.AREA,E.AREA],[re.ARTICLE,E.ARTICLE],[re.ASIDE,E.ASIDE],[re.B,E.B],[re.BASE,E.BASE],[re.BASEFONT,E.BASEFONT],[re.BGSOUND,E.BGSOUND],[re.BIG,E.BIG],[re.BLOCKQUOTE,E.BLOCKQUOTE],[re.BODY,E.BODY],[re.BR,E.BR],[re.BUTTON,E.BUTTON],[re.CAPTION,E.CAPTION],[re.CENTER,E.CENTER],[re.CODE,E.CODE],[re.COL,E.COL],[re.COLGROUP,E.COLGROUP],[re.DD,E.DD],[re.DESC,E.DESC],[re.DETAILS,E.DETAILS],[re.DIALOG,E.DIALOG],[re.DIR,E.DIR],[re.DIV,E.DIV],[re.DL,E.DL],[re.DT,E.DT],[re.EM,E.EM],[re.EMBED,E.EMBED],[re.FIELDSET,E.FIELDSET],[re.FIGCAPTION,E.FIGCAPTION],[re.FIGURE,E.FIGURE],[re.FONT,E.FONT],[re.FOOTER,E.FOOTER],[re.FOREIGN_OBJECT,E.FOREIGN_OBJECT],[re.FORM,E.FORM],[re.FRAME,E.FRAME],[re.FRAMESET,E.FRAMESET],[re.H1,E.H1],[re.H2,E.H2],[re.H3,E.H3],[re.H4,E.H4],[re.H5,E.H5],[re.H6,E.H6],[re.HEAD,E.HEAD],[re.HEADER,E.HEADER],[re.HGROUP,E.HGROUP],[re.HR,E.HR],[re.HTML,E.HTML],[re.I,E.I],[re.IMG,E.IMG],[re.IMAGE,E.IMAGE],[re.INPUT,E.INPUT],[re.IFRAME,E.IFRAME],[re.KEYGEN,E.KEYGEN],[re.LABEL,E.LABEL],[re.LI,E.LI],[re.LINK,E.LINK],[re.LISTING,E.LISTING],[re.MAIN,E.MAIN],[re.MALIGNMARK,E.MALIGNMARK],[re.MARQUEE,E.MARQUEE],[re.MATH,E.MATH],[re.MENU,E.MENU],[re.META,E.META],[re.MGLYPH,E.MGLYPH],[re.MI,E.MI],[re.MO,E.MO],[re.MN,E.MN],[re.MS,E.MS],[re.MTEXT,E.MTEXT],[re.NAV,E.NAV],[re.NOBR,E.NOBR],[re.NOFRAMES,E.NOFRAMES],[re.NOEMBED,E.NOEMBED],[re.NOSCRIPT,E.NOSCRIPT],[re.OBJECT,E.OBJECT],[re.OL,E.OL],[re.OPTGROUP,E.OPTGROUP],[re.OPTION,E.OPTION],[re.P,E.P],[re.PARAM,E.PARAM],[re.PLAINTEXT,E.PLAINTEXT],[re.PRE,E.PRE],[re.RB,E.RB],[re.RP,E.RP],[re.RT,E.RT],[re.RTC,E.RTC],[re.RUBY,E.RUBY],[re.S,E.S],[re.SCRIPT,E.SCRIPT],[re.SEARCH,E.SEARCH],[re.SECTION,E.SECTION],[re.SELECT,E.SELECT],[re.SOURCE,E.SOURCE],[re.SMALL,E.SMALL],[re.SPAN,E.SPAN],[re.STRIKE,E.STRIKE],[re.STRONG,E.STRONG],[re.STYLE,E.STYLE],[re.SUB,E.SUB],[re.SUMMARY,E.SUMMARY],[re.SUP,E.SUP],[re.TABLE,E.TABLE],[re.TBODY,E.TBODY],[re.TEMPLATE,E.TEMPLATE],[re.TEXTAREA,E.TEXTAREA],[re.TFOOT,E.TFOOT],[re.TD,E.TD],[re.TH,E.TH],[re.THEAD,E.THEAD],[re.TITLE,E.TITLE],[re.TR,E.TR],[re.TRACK,E.TRACK],[re.TT,E.TT],[re.U,E.U],[re.UL,E.UL],[re.SVG,E.SVG],[re.VAR,E.VAR],[re.WBR,E.WBR],[re.XMP,E.XMP]]);function Fl(e){var t;return(t=Ww.get(e))!==null&&t!==void 0?t:E.UNKNOWN}const Ae=E,Qw={[xe.HTML]:new Set([Ae.ADDRESS,Ae.APPLET,Ae.AREA,Ae.ARTICLE,Ae.ASIDE,Ae.BASE,Ae.BASEFONT,Ae.BGSOUND,Ae.BLOCKQUOTE,Ae.BODY,Ae.BR,Ae.BUTTON,Ae.CAPTION,Ae.CENTER,Ae.COL,Ae.COLGROUP,Ae.DD,Ae.DETAILS,Ae.DIR,Ae.DIV,Ae.DL,Ae.DT,Ae.EMBED,Ae.FIELDSET,Ae.FIGCAPTION,Ae.FIGURE,Ae.FOOTER,Ae.FORM,Ae.FRAME,Ae.FRAMESET,Ae.H1,Ae.H2,Ae.H3,Ae.H4,Ae.H5,Ae.H6,Ae.HEAD,Ae.HEADER,Ae.HGROUP,Ae.HR,Ae.HTML,Ae.IFRAME,Ae.IMG,Ae.INPUT,Ae.LI,Ae.LINK,Ae.LISTING,Ae.MAIN,Ae.MARQUEE,Ae.MENU,Ae.META,Ae.NAV,Ae.NOEMBED,Ae.NOFRAMES,Ae.NOSCRIPT,Ae.OBJECT,Ae.OL,Ae.P,Ae.PARAM,Ae.PLAINTEXT,Ae.PRE,Ae.SCRIPT,Ae.SECTION,Ae.SELECT,Ae.SOURCE,Ae.STYLE,Ae.SUMMARY,Ae.TABLE,Ae.TBODY,Ae.TD,Ae.TEMPLATE,Ae.TEXTAREA,Ae.TFOOT,Ae.TH,Ae.THEAD,Ae.TITLE,Ae.TR,Ae.TRACK,Ae.UL,Ae.WBR,Ae.XMP]),[xe.MATHML]:new Set([Ae.MI,Ae.MO,Ae.MN,Ae.MS,Ae.MTEXT,Ae.ANNOTATION_XML]),[xe.SVG]:new Set([Ae.TITLE,Ae.FOREIGN_OBJECT,Ae.DESC]),[xe.XLINK]:new Set,[xe.XML]:new Set,[xe.XMLNS]:new Set},U1=new Set([Ae.H1,Ae.H2,Ae.H3,Ae.H4,Ae.H5,Ae.H6]);re.STYLE,re.SCRIPT,re.XMP,re.IFRAME,re.NOEMBED,re.NOFRAMES,re.PLAINTEXT;var L;(function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(L||(L={}));const _n={DATA:L.DATA,RCDATA:L.RCDATA,RAWTEXT:L.RAWTEXT,SCRIPT_DATA:L.SCRIPT_DATA,PLAINTEXT:L.PLAINTEXT,CDATA_SECTION:L.CDATA_SECTION};function Zw(e){return e>=I.DIGIT_0&&e<=I.DIGIT_9}function Ju(e){return e>=I.LATIN_CAPITAL_A&&e<=I.LATIN_CAPITAL_Z}function Jw(e){return e>=I.LATIN_SMALL_A&&e<=I.LATIN_SMALL_Z}function Gi(e){return Jw(e)||Ju(e)}function Yb(e){return Gi(e)||Zw(e)}function Qc(e){return e+32}function JE(e){return e===I.SPACE||e===I.LINE_FEED||e===I.TABULATION||e===I.FORM_FEED}function Gb(e){return JE(e)||e===I.SOLIDUS||e===I.GREATER_THAN_SIGN}function ek(e){return e===I.NULL?he.nullCharacterReference:e>1114111?he.characterReferenceOutsideUnicodeRange:XE(e)?he.surrogateCharacterReference:QE(e)?he.noncharacterCharacterReference:WE(e)||e===I.CARRIAGE_RETURN?he.controlCharacterReference:null}class tk{constructor(t,n){this.options=t,this.handler=n,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=L.DATA,this.returnState=L.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new Fw(n),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new $w(Hw,(a,s)=>{this.preprocessor.pos=this.entityStartPos+s-1,this._flushCodePointConsumedAsCharacterReference(a)},n.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(he.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:a=>{this._err(he.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+a)},validateNumericCharacterReference:a=>{const s=ek(a);s&&this._err(s,1)}}:void 0)}_err(t,n=0){var a,s;(s=(a=this.handler).onParseError)===null||s===void 0||s.call(a,this.preprocessor.getError(t,n))}getCurrentLocation(t){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-t,startOffset:this.preprocessor.offset-t,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this._callState(t)}this.inLoop=!1}}pause(){this.paused=!0}resume(t){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||t==null||t())}write(t,n,a){this.active=!0,this.preprocessor.write(t,n),this._runParsingLoop(),this.paused||a==null||a()}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(t){this.consumedAfterSnapshot+=t;for(let n=0;n<t;n++)this.preprocessor.advance()}_consumeSequenceIfMatch(t,n){return this.preprocessor.startsWith(t,n)?(this._advanceBy(t.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:xt.START_TAG,tagName:"",tagID:E.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:xt.END_TAG,tagName:"",tagID:E.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:xt.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:xt.DOCTYPE,name:t,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(t,n){this.currentCharacterToken={type:t,chars:n,location:this.currentLocation}}_createAttr(t){this.currentAttr={name:t,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var t,n;const a=this.currentToken;if(ZE(a,this.currentAttr.name)===null){if(a.attrs.push(this.currentAttr),a.location&&this.currentLocation){const s=(t=(n=a.location).attrs)!==null&&t!==void 0?t:n.attrs=Object.create(null);s[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(he.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(t){this._emitCurrentCharacterToken(t.location),this.currentToken=null,t.location&&(t.location.endLine=this.preprocessor.line,t.location.endCol=this.preprocessor.col+1,t.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const t=this.currentToken;this.prepareToken(t),t.tagID=Fl(t.tagName),t.type===xt.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(he.endTagWithAttributes),t.selfClosing&&this._err(he.endTagWithTrailingSolidus),this.handler.onEndTag(t)),this.preprocessor.dropParsedChunk()}emitCurrentComment(t){this.prepareToken(t),this.handler.onComment(t),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(t){this.prepareToken(t),this.handler.onDoctype(t),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(t){if(this.currentCharacterToken){switch(t&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=t.startLine,this.currentCharacterToken.location.endCol=t.startCol,this.currentCharacterToken.location.endOffset=t.startOffset),this.currentCharacterToken.type){case xt.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case xt.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case xt.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const t=this.getCurrentLocation(0);t&&(t.endLine=t.startLine,t.endCol=t.startCol,t.endOffset=t.startOffset),this._emitCurrentCharacterToken(t),this.handler.onEof({type:xt.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,n){if(this.currentCharacterToken)if(this.currentCharacterToken.type===t){this.currentCharacterToken.chars+=n;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(t,n)}_emitCodePoint(t){const n=JE(t)?xt.WHITESPACE_CHARACTER:t===I.NULL?xt.NULL_CHARACTER:xt.CHARACTER;this._appendCharToCurrentCharacterToken(n,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(xt.CHARACTER,t)}_startCharacterReference(){this.returnState=this.state,this.state=L.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?ri.Attribute:ri.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===L.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===L.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===L.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case L.DATA:{this._stateData(t);break}case L.RCDATA:{this._stateRcdata(t);break}case L.RAWTEXT:{this._stateRawtext(t);break}case L.SCRIPT_DATA:{this._stateScriptData(t);break}case L.PLAINTEXT:{this._statePlaintext(t);break}case L.TAG_OPEN:{this._stateTagOpen(t);break}case L.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case L.TAG_NAME:{this._stateTagName(t);break}case L.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case L.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case L.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case L.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case L.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case L.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case L.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case L.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case L.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case L.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case L.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case L.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case L.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case L.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case L.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case L.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case L.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case L.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case L.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case L.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case L.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case L.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case L.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case L.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case L.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case L.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case L.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case L.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case L.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case L.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case L.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case L.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case L.BOGUS_COMMENT:{this._stateBogusComment(t);break}case L.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case L.COMMENT_START:{this._stateCommentStart(t);break}case L.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case L.COMMENT:{this._stateComment(t);break}case L.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case L.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case L.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case L.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case L.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case L.COMMENT_END:{this._stateCommentEnd(t);break}case L.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case L.DOCTYPE:{this._stateDoctype(t);break}case L.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case L.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case L.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case L.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case L.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case L.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case L.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case L.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case L.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case L.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case L.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case L.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case L.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case L.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case L.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case L.CDATA_SECTION:{this._stateCdataSection(t);break}case L.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case L.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case L.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case L.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case I.LESS_THAN_SIGN:{this.state=L.TAG_OPEN;break}case I.AMPERSAND:{this._startCharacterReference();break}case I.NULL:{this._err(he.unexpectedNullCharacter),this._emitCodePoint(t);break}case I.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case I.AMPERSAND:{this._startCharacterReference();break}case I.LESS_THAN_SIGN:{this.state=L.RCDATA_LESS_THAN_SIGN;break}case I.NULL:{this._err(he.unexpectedNullCharacter),this._emitChars(an);break}case I.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case I.LESS_THAN_SIGN:{this.state=L.RAWTEXT_LESS_THAN_SIGN;break}case I.NULL:{this._err(he.unexpectedNullCharacter),this._emitChars(an);break}case I.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case I.LESS_THAN_SIGN:{this.state=L.SCRIPT_DATA_LESS_THAN_SIGN;break}case I.NULL:{this._err(he.unexpectedNullCharacter),this._emitChars(an);break}case I.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case I.NULL:{this._err(he.unexpectedNullCharacter),this._emitChars(an);break}case I.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(Gi(t))this._createStartTagToken(),this.state=L.TAG_NAME,this._stateTagName(t);else switch(t){case I.EXCLAMATION_MARK:{this.state=L.MARKUP_DECLARATION_OPEN;break}case I.SOLIDUS:{this.state=L.END_TAG_OPEN;break}case I.QUESTION_MARK:{this._err(he.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=L.BOGUS_COMMENT,this._stateBogusComment(t);break}case I.EOF:{this._err(he.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(he.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=L.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(Gi(t))this._createEndTagToken(),this.state=L.TAG_NAME,this._stateTagName(t);else switch(t){case I.GREATER_THAN_SIGN:{this._err(he.missingEndTagName),this.state=L.DATA;break}case I.EOF:{this._err(he.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(he.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=L.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const n=this.currentToken;switch(t){case I.SPACE:case I.LINE_FEED:case I.TABULATION:case I.FORM_FEED:{this.state=L.BEFORE_ATTRIBUTE_NAME;break}case I.SOLIDUS:{this.state=L.SELF_CLOSING_START_TAG;break}case I.GREATER_THAN_SIGN:{this.state=L.DATA,this.emitCurrentTagToken();break}case I.NULL:{this._err(he.unexpectedNullCharacter),n.tagName+=an;break}case I.EOF:{this._err(he.eofInTag),this._emitEOFToken();break}default:n.tagName+=String.fromCodePoint(Ju(t)?Qc(t):t)}}_stateRcdataLessThanSign(t){t===I.SOLIDUS?this.state=L.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=L.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){Gi(t)?(this.state=L.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=L.RCDATA,this._stateRcdata(t))}handleSpecialEndTag(t){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const n=this.currentToken;switch(n.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case I.SPACE:case I.LINE_FEED:case I.TABULATION:case I.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=L.BEFORE_ATTRIBUTE_NAME,!1;case I.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=L.SELF_CLOSING_START_TAG,!1;case I.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=L.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=L.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===I.SOLIDUS?this.state=L.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=L.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){Gi(t)?(this.state=L.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=L.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=L.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case I.SOLIDUS:{this.state=L.SCRIPT_DATA_END_TAG_OPEN;break}case I.EXCLAMATION_MARK:{this.state=L.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=L.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){Gi(t)?(this.state=L.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=L.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=L.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===I.HYPHEN_MINUS?(this.state=L.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=L.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===I.HYPHEN_MINUS?(this.state=L.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=L.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case I.HYPHEN_MINUS:{this.state=L.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case I.LESS_THAN_SIGN:{this.state=L.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case I.NULL:{this._err(he.unexpectedNullCharacter),this._emitChars(an);break}case I.EOF:{this._err(he.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case I.HYPHEN_MINUS:{this.state=L.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case I.LESS_THAN_SIGN:{this.state=L.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case I.NULL:{this._err(he.unexpectedNullCharacter),this.state=L.SCRIPT_DATA_ESCAPED,this._emitChars(an);break}case I.EOF:{this._err(he.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=L.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case I.HYPHEN_MINUS:{this._emitChars("-");break}case I.LESS_THAN_SIGN:{this.state=L.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case I.GREATER_THAN_SIGN:{this.state=L.SCRIPT_DATA,this._emitChars(">");break}case I.NULL:{this._err(he.unexpectedNullCharacter),this.state=L.SCRIPT_DATA_ESCAPED,this._emitChars(an);break}case I.EOF:{this._err(he.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=L.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===I.SOLIDUS?this.state=L.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Gi(t)?(this._emitChars("<"),this.state=L.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=L.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){Gi(t)?(this.state=L.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=L.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=L.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(yr.SCRIPT,!1)&&Gb(this.preprocessor.peek(yr.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<yr.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=L.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=L.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case I.HYPHEN_MINUS:{this.state=L.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case I.LESS_THAN_SIGN:{this.state=L.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case I.NULL:{this._err(he.unexpectedNullCharacter),this._emitChars(an);break}case I.EOF:{this._err(he.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case I.HYPHEN_MINUS:{this.state=L.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case I.LESS_THAN_SIGN:{this.state=L.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case I.NULL:{this._err(he.unexpectedNullCharacter),this.state=L.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(an);break}case I.EOF:{this._err(he.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=L.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case I.HYPHEN_MINUS:{this._emitChars("-");break}case I.LESS_THAN_SIGN:{this.state=L.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case I.GREATER_THAN_SIGN:{this.state=L.SCRIPT_DATA,this._emitChars(">");break}case I.NULL:{this._err(he.unexpectedNullCharacter),this.state=L.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(an);break}case I.EOF:{this._err(he.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=L.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===I.SOLIDUS?(this.state=L.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=L.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(yr.SCRIPT,!1)&&Gb(this.preprocessor.peek(yr.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<yr.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=L.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=L.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case I.SPACE:case I.LINE_FEED:case I.TABULATION:case I.FORM_FEED:break;case I.SOLIDUS:case I.GREATER_THAN_SIGN:case I.EOF:{this.state=L.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case I.EQUALS_SIGN:{this._err(he.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=L.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=L.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case I.SPACE:case I.LINE_FEED:case I.TABULATION:case I.FORM_FEED:case I.SOLIDUS:case I.GREATER_THAN_SIGN:case I.EOF:{this._leaveAttrName(),this.state=L.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case I.EQUALS_SIGN:{this._leaveAttrName(),this.state=L.BEFORE_ATTRIBUTE_VALUE;break}case I.QUOTATION_MARK:case I.APOSTROPHE:case I.LESS_THAN_SIGN:{this._err(he.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case I.NULL:{this._err(he.unexpectedNullCharacter),this.currentAttr.name+=an;break}default:this.currentAttr.name+=String.fromCodePoint(Ju(t)?Qc(t):t)}}_stateAfterAttributeName(t){switch(t){case I.SPACE:case I.LINE_FEED:case I.TABULATION:case I.FORM_FEED:break;case I.SOLIDUS:{this.state=L.SELF_CLOSING_START_TAG;break}case I.EQUALS_SIGN:{this.state=L.BEFORE_ATTRIBUTE_VALUE;break}case I.GREATER_THAN_SIGN:{this.state=L.DATA,this.emitCurrentTagToken();break}case I.EOF:{this._err(he.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=L.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case I.SPACE:case I.LINE_FEED:case I.TABULATION:case I.FORM_FEED:break;case I.QUOTATION_MARK:{this.state=L.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case I.APOSTROPHE:{this.state=L.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case I.GREATER_THAN_SIGN:{this._err(he.missingAttributeValue),this.state=L.DATA,this.emitCurrentTagToken();break}default:this.state=L.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case I.QUOTATION_MARK:{this.state=L.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case I.AMPERSAND:{this._startCharacterReference();break}case I.NULL:{this._err(he.unexpectedNullCharacter),this.currentAttr.value+=an;break}case I.EOF:{this._err(he.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case I.APOSTROPHE:{this.state=L.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case I.AMPERSAND:{this._startCharacterReference();break}case I.NULL:{this._err(he.unexpectedNullCharacter),this.currentAttr.value+=an;break}case I.EOF:{this._err(he.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case I.SPACE:case I.LINE_FEED:case I.TABULATION:case I.FORM_FEED:{this._leaveAttrValue(),this.state=L.BEFORE_ATTRIBUTE_NAME;break}case I.AMPERSAND:{this._startCharacterReference();break}case I.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=L.DATA,this.emitCurrentTagToken();break}case I.NULL:{this._err(he.unexpectedNullCharacter),this.currentAttr.value+=an;break}case I.QUOTATION_MARK:case I.APOSTROPHE:case I.LESS_THAN_SIGN:case I.EQUALS_SIGN:case I.GRAVE_ACCENT:{this._err(he.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case I.EOF:{this._err(he.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case I.SPACE:case I.LINE_FEED:case I.TABULATION:case I.FORM_FEED:{this._leaveAttrValue(),this.state=L.BEFORE_ATTRIBUTE_NAME;break}case I.SOLIDUS:{this._leaveAttrValue(),this.state=L.SELF_CLOSING_START_TAG;break}case I.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=L.DATA,this.emitCurrentTagToken();break}case I.EOF:{this._err(he.eofInTag),this._emitEOFToken();break}default:this._err(he.missingWhitespaceBetweenAttributes),this.state=L.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case I.GREATER_THAN_SIGN:{const n=this.currentToken;n.selfClosing=!0,this.state=L.DATA,this.emitCurrentTagToken();break}case I.EOF:{this._err(he.eofInTag),this._emitEOFToken();break}default:this._err(he.unexpectedSolidusInTag),this.state=L.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const n=this.currentToken;switch(t){case I.GREATER_THAN_SIGN:{this.state=L.DATA,this.emitCurrentComment(n);break}case I.EOF:{this.emitCurrentComment(n),this._emitEOFToken();break}case I.NULL:{this._err(he.unexpectedNullCharacter),n.data+=an;break}default:n.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(yr.DASH_DASH,!0)?(this._createCommentToken(yr.DASH_DASH.length+1),this.state=L.COMMENT_START):this._consumeSequenceIfMatch(yr.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(yr.DOCTYPE.length+1),this.state=L.DOCTYPE):this._consumeSequenceIfMatch(yr.CDATA_START,!0)?this.inForeignNode?this.state=L.CDATA_SECTION:(this._err(he.cdataInHtmlContent),this._createCommentToken(yr.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=L.BOGUS_COMMENT):this._ensureHibernation()||(this._err(he.incorrectlyOpenedComment),this._createCommentToken(2),this.state=L.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case I.HYPHEN_MINUS:{this.state=L.COMMENT_START_DASH;break}case I.GREATER_THAN_SIGN:{this._err(he.abruptClosingOfEmptyComment),this.state=L.DATA;const n=this.currentToken;this.emitCurrentComment(n);break}default:this.state=L.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const n=this.currentToken;switch(t){case I.HYPHEN_MINUS:{this.state=L.COMMENT_END;break}case I.GREATER_THAN_SIGN:{this._err(he.abruptClosingOfEmptyComment),this.state=L.DATA,this.emitCurrentComment(n);break}case I.EOF:{this._err(he.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=L.COMMENT,this._stateComment(t)}}_stateComment(t){const n=this.currentToken;switch(t){case I.HYPHEN_MINUS:{this.state=L.COMMENT_END_DASH;break}case I.LESS_THAN_SIGN:{n.data+="<",this.state=L.COMMENT_LESS_THAN_SIGN;break}case I.NULL:{this._err(he.unexpectedNullCharacter),n.data+=an;break}case I.EOF:{this._err(he.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const n=this.currentToken;switch(t){case I.EXCLAMATION_MARK:{n.data+="!",this.state=L.COMMENT_LESS_THAN_SIGN_BANG;break}case I.LESS_THAN_SIGN:{n.data+="<";break}default:this.state=L.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===I.HYPHEN_MINUS?this.state=L.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=L.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===I.HYPHEN_MINUS?this.state=L.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=L.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==I.GREATER_THAN_SIGN&&t!==I.EOF&&this._err(he.nestedComment),this.state=L.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const n=this.currentToken;switch(t){case I.HYPHEN_MINUS:{this.state=L.COMMENT_END;break}case I.EOF:{this._err(he.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=L.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const n=this.currentToken;switch(t){case I.GREATER_THAN_SIGN:{this.state=L.DATA,this.emitCurrentComment(n);break}case I.EXCLAMATION_MARK:{this.state=L.COMMENT_END_BANG;break}case I.HYPHEN_MINUS:{n.data+="-";break}case I.EOF:{this._err(he.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--",this.state=L.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const n=this.currentToken;switch(t){case I.HYPHEN_MINUS:{n.data+="--!",this.state=L.COMMENT_END_DASH;break}case I.GREATER_THAN_SIGN:{this._err(he.incorrectlyClosedComment),this.state=L.DATA,this.emitCurrentComment(n);break}case I.EOF:{this._err(he.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--!",this.state=L.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case I.SPACE:case I.LINE_FEED:case I.TABULATION:case I.FORM_FEED:{this.state=L.BEFORE_DOCTYPE_NAME;break}case I.GREATER_THAN_SIGN:{this.state=L.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case I.EOF:{this._err(he.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(he.missingWhitespaceBeforeDoctypeName),this.state=L.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(Ju(t))this._createDoctypeToken(String.fromCharCode(Qc(t))),this.state=L.DOCTYPE_NAME;else switch(t){case I.SPACE:case I.LINE_FEED:case I.TABULATION:case I.FORM_FEED:break;case I.NULL:{this._err(he.unexpectedNullCharacter),this._createDoctypeToken(an),this.state=L.DOCTYPE_NAME;break}case I.GREATER_THAN_SIGN:{this._err(he.missingDoctypeName),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=L.DATA;break}case I.EOF:{this._err(he.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(t)),this.state=L.DOCTYPE_NAME}}_stateDoctypeName(t){const n=this.currentToken;switch(t){case I.SPACE:case I.LINE_FEED:case I.TABULATION:case I.FORM_FEED:{this.state=L.AFTER_DOCTYPE_NAME;break}case I.GREATER_THAN_SIGN:{this.state=L.DATA,this.emitCurrentDoctype(n);break}case I.NULL:{this._err(he.unexpectedNullCharacter),n.name+=an;break}case I.EOF:{this._err(he.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.name+=String.fromCodePoint(Ju(t)?Qc(t):t)}}_stateAfterDoctypeName(t){const n=this.currentToken;switch(t){case I.SPACE:case I.LINE_FEED:case I.TABULATION:case I.FORM_FEED:break;case I.GREATER_THAN_SIGN:{this.state=L.DATA,this.emitCurrentDoctype(n);break}case I.EOF:{this._err(he.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(yr.PUBLIC,!1)?this.state=L.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(yr.SYSTEM,!1)?this.state=L.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(he.invalidCharacterSequenceAfterDoctypeName),n.forceQuirks=!0,this.state=L.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const n=this.currentToken;switch(t){case I.SPACE:case I.LINE_FEED:case I.TABULATION:case I.FORM_FEED:{this.state=L.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case I.QUOTATION_MARK:{this._err(he.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=L.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case I.APOSTROPHE:{this._err(he.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=L.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case I.GREATER_THAN_SIGN:{this._err(he.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=L.DATA,this.emitCurrentDoctype(n);break}case I.EOF:{this._err(he.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(he.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=L.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case I.SPACE:case I.LINE_FEED:case I.TABULATION:case I.FORM_FEED:break;case I.QUOTATION_MARK:{n.publicId="",this.state=L.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case I.APOSTROPHE:{n.publicId="",this.state=L.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case I.GREATER_THAN_SIGN:{this._err(he.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=L.DATA,this.emitCurrentDoctype(n);break}case I.EOF:{this._err(he.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(he.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=L.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case I.QUOTATION_MARK:{this.state=L.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case I.NULL:{this._err(he.unexpectedNullCharacter),n.publicId+=an;break}case I.GREATER_THAN_SIGN:{this._err(he.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=L.DATA;break}case I.EOF:{this._err(he.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateDoctypePublicIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case I.APOSTROPHE:{this.state=L.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case I.NULL:{this._err(he.unexpectedNullCharacter),n.publicId+=an;break}case I.GREATER_THAN_SIGN:{this._err(he.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=L.DATA;break}case I.EOF:{this._err(he.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateAfterDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case I.SPACE:case I.LINE_FEED:case I.TABULATION:case I.FORM_FEED:{this.state=L.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case I.GREATER_THAN_SIGN:{this.state=L.DATA,this.emitCurrentDoctype(n);break}case I.QUOTATION_MARK:{this._err(he.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=L.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case I.APOSTROPHE:{this._err(he.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=L.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case I.EOF:{this._err(he.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(he.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=L.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const n=this.currentToken;switch(t){case I.SPACE:case I.LINE_FEED:case I.TABULATION:case I.FORM_FEED:break;case I.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=L.DATA;break}case I.QUOTATION_MARK:{n.systemId="",this.state=L.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case I.APOSTROPHE:{n.systemId="",this.state=L.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case I.EOF:{this._err(he.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(he.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=L.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const n=this.currentToken;switch(t){case I.SPACE:case I.LINE_FEED:case I.TABULATION:case I.FORM_FEED:{this.state=L.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case I.QUOTATION_MARK:{this._err(he.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=L.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case I.APOSTROPHE:{this._err(he.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=L.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case I.GREATER_THAN_SIGN:{this._err(he.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=L.DATA,this.emitCurrentDoctype(n);break}case I.EOF:{this._err(he.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(he.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=L.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case I.SPACE:case I.LINE_FEED:case I.TABULATION:case I.FORM_FEED:break;case I.QUOTATION_MARK:{n.systemId="",this.state=L.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case I.APOSTROPHE:{n.systemId="",this.state=L.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case I.GREATER_THAN_SIGN:{this._err(he.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=L.DATA,this.emitCurrentDoctype(n);break}case I.EOF:{this._err(he.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(he.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=L.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case I.QUOTATION_MARK:{this.state=L.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case I.NULL:{this._err(he.unexpectedNullCharacter),n.systemId+=an;break}case I.GREATER_THAN_SIGN:{this._err(he.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=L.DATA;break}case I.EOF:{this._err(he.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateDoctypeSystemIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case I.APOSTROPHE:{this.state=L.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case I.NULL:{this._err(he.unexpectedNullCharacter),n.systemId+=an;break}case I.GREATER_THAN_SIGN:{this._err(he.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=L.DATA;break}case I.EOF:{this._err(he.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateAfterDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case I.SPACE:case I.LINE_FEED:case I.TABULATION:case I.FORM_FEED:break;case I.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=L.DATA;break}case I.EOF:{this._err(he.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(he.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=L.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const n=this.currentToken;switch(t){case I.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=L.DATA;break}case I.NULL:{this._err(he.unexpectedNullCharacter);break}case I.EOF:{this.emitCurrentDoctype(n),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case I.RIGHT_SQUARE_BRACKET:{this.state=L.CDATA_SECTION_BRACKET;break}case I.EOF:{this._err(he.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===I.RIGHT_SQUARE_BRACKET?this.state=L.CDATA_SECTION_END:(this._emitChars("]"),this.state=L.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case I.GREATER_THAN_SIGN:{this.state=L.DATA;break}case I.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=L.CDATA_SECTION,this._stateCdataSection(t)}}_stateCharacterReference(){let t=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(t<0)if(this.preprocessor.lastChunkWritten)t=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}t===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(I.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&Yb(this.preprocessor.peek(1))?L.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){Yb(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===I.SEMICOLON&&this._err(he.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}}const e5=new Set([E.DD,E.DT,E.LI,E.OPTGROUP,E.OPTION,E.P,E.RB,E.RP,E.RT,E.RTC]),jb=new Set([...e5,E.CAPTION,E.COLGROUP,E.TBODY,E.TD,E.TFOOT,E.TH,E.THEAD,E.TR]),O0=new Set([E.APPLET,E.CAPTION,E.HTML,E.MARQUEE,E.OBJECT,E.TABLE,E.TD,E.TEMPLATE,E.TH]),nk=new Set([...O0,E.OL,E.UL]),rk=new Set([...O0,E.BUTTON]),Vb=new Set([E.ANNOTATION_XML,E.MI,E.MN,E.MO,E.MS,E.MTEXT]),Kb=new Set([E.DESC,E.FOREIGN_OBJECT,E.TITLE]),ak=new Set([E.TR,E.TEMPLATE,E.HTML]),ik=new Set([E.TBODY,E.TFOOT,E.THEAD,E.TEMPLATE,E.HTML]),sk=new Set([E.TABLE,E.TEMPLATE,E.HTML]),lk=new Set([E.TD,E.TH]);class uk{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,n,a){this.treeAdapter=n,this.handler=a,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=E.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===E.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===xe.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,n){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=n,this.currentTagId=n,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,n,!0)}pop(){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,n){const a=this._indexOf(t);this.items[a]=n,a===this.stackTop&&(this.current=n)}insertAfter(t,n,a){const s=this._indexOf(t)+1;this.items.splice(s,0,n),this.tagIDs.splice(s,0,a),this.stackTop++,s===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,s===this.stackTop)}popUntilTagNamePopped(t){let n=this.stackTop+1;do n=this.tagIDs.lastIndexOf(t,n-1);while(n>0&&this.treeAdapter.getNamespaceURI(this.items[n])!==xe.HTML);this.shortenToLength(Math.max(n,0))}shortenToLength(t){for(;this.stackTop>=t;){const n=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(n,this.stackTop<t)}}popUntilElementPopped(t){const n=this._indexOf(t);this.shortenToLength(Math.max(n,0))}popUntilPopped(t,n){const a=this._indexOfTagNames(t,n);this.shortenToLength(Math.max(a,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(U1,xe.HTML)}popUntilTableCellPopped(){this.popUntilPopped(lk,xe.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(t,n){for(let a=this.stackTop;a>=0;a--)if(t.has(this.tagIDs[a])&&this.treeAdapter.getNamespaceURI(this.items[a])===n)return a;return-1}clearBackTo(t,n){const a=this._indexOfTagNames(t,n);this.shortenToLength(a+1)}clearBackToTableContext(){this.clearBackTo(sk,xe.HTML)}clearBackToTableBodyContext(){this.clearBackTo(ik,xe.HTML)}clearBackToTableRowContext(){this.clearBackTo(ak,xe.HTML)}remove(t){const n=this._indexOf(t);n>=0&&(n===this.stackTop?this.pop():(this.items.splice(n,1),this.tagIDs.splice(n,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===E.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){const n=this._indexOf(t)-1;return n>=0?this.items[n]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===E.HTML}hasInDynamicScope(t,n){for(let a=this.stackTop;a>=0;a--){const s=this.tagIDs[a];switch(this.treeAdapter.getNamespaceURI(this.items[a])){case xe.HTML:{if(s===t)return!0;if(n.has(s))return!1;break}case xe.SVG:{if(Kb.has(s))return!1;break}case xe.MATHML:{if(Vb.has(s))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,O0)}hasInListItemScope(t){return this.hasInDynamicScope(t,nk)}hasInButtonScope(t){return this.hasInDynamicScope(t,rk)}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];switch(this.treeAdapter.getNamespaceURI(this.items[t])){case xe.HTML:{if(U1.has(n))return!0;if(O0.has(n))return!1;break}case xe.SVG:{if(Kb.has(n))return!1;break}case xe.MATHML:{if(Vb.has(n))return!1;break}}}return!0}hasInTableScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===xe.HTML)switch(this.tagIDs[n]){case t:return!0;case E.TABLE:case E.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===xe.HTML)switch(this.tagIDs[t]){case E.TBODY:case E.THEAD:case E.TFOOT:return!0;case E.TABLE:case E.HTML:return!1}return!0}hasInSelectScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===xe.HTML)switch(this.tagIDs[n]){case t:return!0;case E.OPTION:case E.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&e5.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&jb.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==void 0&&this.currentTagId!==t&&jb.has(this.currentTagId);)this.pop()}}const Fh=3;var Aa;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(Aa||(Aa={}));const $b={type:Aa.Marker};class ok{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,n){const a=[],s=n.length,l=this.treeAdapter.getTagName(t),o=this.treeAdapter.getNamespaceURI(t);for(let d=0;d<this.entries.length;d++){const f=this.entries[d];if(f.type===Aa.Marker)break;const{element:h}=f;if(this.treeAdapter.getTagName(h)===l&&this.treeAdapter.getNamespaceURI(h)===o){const p=this.treeAdapter.getAttrList(h);p.length===s&&a.push({idx:d,attrs:p})}}return a}_ensureNoahArkCondition(t){if(this.entries.length<Fh)return;const n=this.treeAdapter.getAttrList(t),a=this._getNoahArkConditionCandidates(t,n);if(a.length<Fh)return;const s=new Map(n.map(o=>[o.name,o.value]));let l=0;for(let o=0;o<a.length;o++){const d=a[o];d.attrs.every(f=>s.get(f.name)===f.value)&&(l+=1,l>=Fh&&this.entries.splice(d.idx,1))}}insertMarker(){this.entries.unshift($b)}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.unshift({type:Aa.Element,element:t,token:n})}insertElementAfterBookmark(t,n){const a=this.entries.indexOf(this.bookmark);this.entries.splice(a,0,{type:Aa.Element,element:t,token:n})}removeEntry(t){const n=this.entries.indexOf(t);n!==-1&&this.entries.splice(n,1)}clearToLastMarker(){const t=this.entries.indexOf($b);t===-1?this.entries.length=0:this.entries.splice(0,t+1)}getElementEntryInScopeWithTagName(t){const n=this.entries.find(a=>a.type===Aa.Marker||this.treeAdapter.getTagName(a.element)===t);return n&&n.type===Aa.Element?n:null}getElementEntry(t){return this.entries.find(n=>n.type===Aa.Element&&n.element===t)}}const ji={createDocument(){return{nodeName:"#document",mode:Qr.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},createTextNode(e){return{nodeName:"#text",value:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){const a=e.childNodes.indexOf(n);e.childNodes.splice(a,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,n,a){const s=e.childNodes.find(l=>l.nodeName==="#documentType");if(s)s.name=t,s.publicId=n,s.systemId=a;else{const l={nodeName:"#documentType",name:t,publicId:n,systemId:a,parentNode:null};ji.appendChild(e,l)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1];if(ji.isTextNode(n)){n.value+=t;return}}ji.appendChild(e,ji.createTextNode(t))},insertTextBefore(e,t,n){const a=e.childNodes[e.childNodes.indexOf(n)-1];a&&ji.isTextNode(a)?a.value+=t:ji.insertBefore(e,ji.createTextNode(t),n)},adoptAttributes(e,t){const n=new Set(e.attrs.map(a=>a.name));for(let a=0;a<t.length;a++)n.has(t[a].name)||e.attrs.push(t[a])},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId},isTextNode(e){return e.nodeName==="#text"},isCommentNode(e){return e.nodeName==="#comment"},isDocumentTypeNode(e){return e.nodeName==="#documentType"},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,"tagName")},setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},t5="html",ck="about:legacy-compat",dk="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",n5=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],fk=[...n5,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],hk=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),r5=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],mk=[...r5,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function Xb(e,t){return t.some(n=>e.startsWith(n))}function pk(e){return e.name===t5&&e.publicId===null&&(e.systemId===null||e.systemId===ck)}function gk(e){if(e.name!==t5)return Qr.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===dk)return Qr.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),hk.has(n))return Qr.QUIRKS;let a=t===null?fk:n5;if(Xb(n,a))return Qr.QUIRKS;if(a=t===null?r5:mk,Xb(n,a))return Qr.LIMITED_QUIRKS}return Qr.NO_QUIRKS}const Wb={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},bk="definitionurl",Ek="definitionURL",yk=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),vk=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:xe.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:xe.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:xe.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:xe.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:xe.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:xe.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:xe.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:xe.XML}],["xml:space",{prefix:"xml",name:"space",namespace:xe.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:xe.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:xe.XMLNS}]]),Tk=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),_k=new Set([E.B,E.BIG,E.BLOCKQUOTE,E.BODY,E.BR,E.CENTER,E.CODE,E.DD,E.DIV,E.DL,E.DT,E.EM,E.EMBED,E.H1,E.H2,E.H3,E.H4,E.H5,E.H6,E.HEAD,E.HR,E.I,E.IMG,E.LI,E.LISTING,E.MENU,E.META,E.NOBR,E.OL,E.P,E.PRE,E.RUBY,E.S,E.SMALL,E.SPAN,E.STRONG,E.STRIKE,E.SUB,E.SUP,E.TABLE,E.TT,E.U,E.UL,E.VAR]);function Sk(e){const t=e.tagID;return t===E.FONT&&e.attrs.some(({name:a})=>a===Ms.COLOR||a===Ms.SIZE||a===Ms.FACE)||_k.has(t)}function a5(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===bk){e.attrs[t].name=Ek;break}}function i5(e){for(let t=0;t<e.attrs.length;t++){const n=yk.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function Lm(e){for(let t=0;t<e.attrs.length;t++){const n=vk.get(e.attrs[t].name);n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}}function xk(e){const t=Tk.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=Fl(e.tagName))}function Ak(e,t){return t===xe.MATHML&&(e===E.MI||e===E.MO||e===E.MN||e===E.MS||e===E.MTEXT)}function wk(e,t,n){if(t===xe.MATHML&&e===E.ANNOTATION_XML){for(let a=0;a<n.length;a++)if(n[a].name===Ms.ENCODING){const s=n[a].value.toLowerCase();return s===Wb.TEXT_HTML||s===Wb.APPLICATION_XML}}return t===xe.SVG&&(e===E.FOREIGN_OBJECT||e===E.DESC||e===E.TITLE)}function kk(e,t,n,a){return(!a||a===xe.HTML)&&wk(e,t,n)||(!a||a===xe.MATHML)&&Ak(e,t)}const Ck="hidden",Nk=8,Ok=3;var F;(function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(F||(F={}));const Mk={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},s5=new Set([E.TABLE,E.TBODY,E.TFOOT,E.THEAD,E.TR]),Qb={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:ji,onParseError:null};let Zb=class{constructor(t,n,a=null,s=null){this.fragmentContext=a,this.scriptHandler=s,this.currentToken=null,this.stopped=!1,this.insertionMode=F.INITIAL,this.originalInsertionMode=F.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...Qb,...t},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=n??this.treeAdapter.createDocument(),this.tokenizer=new tk(this.options,this),this.activeFormattingElements=new ok(this.treeAdapter),this.fragmentContextID=a?Fl(this.treeAdapter.getTagName(a)):E.UNKNOWN,this._setContextModes(a??this.document,this.fragmentContextID),this.openElements=new uk(this.document,this.treeAdapter,this)}static parse(t,n){const a=new this(n);return a.tokenizer.write(t,!0),a.document}static getFragmentParser(t,n){const a={...Qb,...n};t??(t=a.treeAdapter.createElement(re.TEMPLATE,xe.HTML,[]));const s=a.treeAdapter.createElement("documentmock",xe.HTML,[]),l=new this(a,s,t);return l.fragmentContextID===E.TEMPLATE&&l.tmplInsertionModeStack.unshift(F.IN_TEMPLATE),l._initTokenizerForFragmentParsing(),l._insertFakeRootElement(),l._resetInsertionMode(),l._findFormInFragmentContext(),l}getFragment(){const t=this.treeAdapter.getFirstChild(this.document),n=this.treeAdapter.createDocumentFragment();return this._adoptNodes(t,n),n}_err(t,n,a){var s;if(!this.onParseError)return;const l=(s=t.location)!==null&&s!==void 0?s:Mk,o={code:n,startLine:l.startLine,startCol:l.startCol,startOffset:l.startOffset,endLine:a?l.startLine:l.endLine,endCol:a?l.startCol:l.endCol,endOffset:a?l.startOffset:l.endOffset};this.onParseError(o)}onItemPush(t,n,a){var s,l;(l=(s=this.treeAdapter).onItemPush)===null||l===void 0||l.call(s,t),a&&this.openElements.stackTop>0&&this._setContextModes(t,n)}onItemPop(t,n){var a,s;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(s=(a=this.treeAdapter).onItemPop)===null||s===void 0||s.call(a,t,this.openElements.current),n){let l,o;this.openElements.stackTop===0&&this.fragmentContext?(l=this.fragmentContext,o=this.fragmentContextID):{current:l,currentTagId:o}=this.openElements,this._setContextModes(l,o)}}_setContextModes(t,n){const a=t===this.document||t&&this.treeAdapter.getNamespaceURI(t)===xe.HTML;this.currentNotInHTML=!a,this.tokenizer.inForeignNode=!a&&t!==void 0&&n!==void 0&&!this._isIntegrationPoint(n,t)}_switchToTextParsing(t,n){this._insertElement(t,xe.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=F.TEXT}switchToPlaintextParsing(){this.insertionMode=F.TEXT,this.originalInsertionMode=F.IN_BODY,this.tokenizer.state=_n.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;for(;t;){if(this.treeAdapter.getTagName(t)===re.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==xe.HTML))switch(this.fragmentContextID){case E.TITLE:case E.TEXTAREA:{this.tokenizer.state=_n.RCDATA;break}case E.STYLE:case E.XMP:case E.IFRAME:case E.NOEMBED:case E.NOFRAMES:case E.NOSCRIPT:{this.tokenizer.state=_n.RAWTEXT;break}case E.SCRIPT:{this.tokenizer.state=_n.SCRIPT_DATA;break}case E.PLAINTEXT:{this.tokenizer.state=_n.PLAINTEXT;break}}}_setDocumentType(t){const n=t.name||"",a=t.publicId||"",s=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,n,a,s),t.location){const o=this.treeAdapter.getChildNodes(this.document).find(d=>this.treeAdapter.isDocumentTypeNode(d));o&&this.treeAdapter.setNodeSourceCodeLocation(o,t.location)}}_attachElementToTree(t,n){if(this.options.sourceCodeLocationInfo){const a=n&&{...n,startTag:n};this.treeAdapter.setNodeSourceCodeLocation(t,a)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const a=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(a??this.document,t)}}_appendElement(t,n){const a=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(a,t.location)}_insertElement(t,n){const a=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(a,t.location),this.openElements.push(a,t.tagID)}_insertFakeElement(t,n){const a=this.treeAdapter.createElement(t,xe.HTML,[]);this._attachElementToTree(a,null),this.openElements.push(a,n)}_insertTemplate(t){const n=this.treeAdapter.createElement(t.tagName,xe.HTML,t.attrs),a=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(n,a),this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(a,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(re.HTML,xe.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,E.HTML)}_appendCommentNode(t,n){const a=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(n,a),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(a,t.location)}_insertCharacters(t){let n,a;if(this._shouldFosterParentOnInsertion()?({parent:n,beforeElement:a}=this._findFosterParentingLocation(),a?this.treeAdapter.insertTextBefore(n,t.chars,a):this.treeAdapter.insertText(n,t.chars)):(n=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(n,t.chars)),!t.location)return;const s=this.treeAdapter.getChildNodes(n),l=a?s.lastIndexOf(a):s.length,o=s[l-1];if(this.treeAdapter.getNodeSourceCodeLocation(o)){const{endLine:f,endCol:h,endOffset:p}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(o,{endLine:f,endCol:h,endOffset:p})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(o,t.location)}_adoptNodes(t,n){for(let a=this.treeAdapter.getFirstChild(t);a;a=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(a),this.treeAdapter.appendChild(n,a)}_setEndLocation(t,n){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&n.location){const a=n.location,s=this.treeAdapter.getTagName(t),l=n.type===xt.END_TAG&&s===n.tagName?{endTag:{...a},endLine:a.endLine,endCol:a.endCol,endOffset:a.endOffset}:{endLine:a.startLine,endCol:a.startCol,endOffset:a.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,l)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let n,a;return this.openElements.stackTop===0&&this.fragmentContext?(n=this.fragmentContext,a=this.fragmentContextID):{current:n,currentTagId:a}=this.openElements,t.tagID===E.SVG&&this.treeAdapter.getTagName(n)===re.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===xe.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===E.MGLYPH||t.tagID===E.MALIGNMARK)&&a!==void 0&&!this._isIntegrationPoint(a,n,xe.HTML)}_processToken(t){switch(t.type){case xt.CHARACTER:{this.onCharacter(t);break}case xt.NULL_CHARACTER:{this.onNullCharacter(t);break}case xt.COMMENT:{this.onComment(t);break}case xt.DOCTYPE:{this.onDoctype(t);break}case xt.START_TAG:{this._processStartTag(t);break}case xt.END_TAG:{this.onEndTag(t);break}case xt.EOF:{this.onEof(t);break}case xt.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,n,a){const s=this.treeAdapter.getNamespaceURI(n),l=this.treeAdapter.getAttrList(n);return kk(t,s,l,a)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const n=this.activeFormattingElements.entries.findIndex(s=>s.type===Aa.Marker||this.openElements.contains(s.element)),a=n===-1?t-1:n-1;for(let s=a;s>=0;s--){const l=this.activeFormattingElements.entries[s];this._insertElement(l.token,this.treeAdapter.getNamespaceURI(l.element)),l.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=F.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(E.P),this.openElements.popUntilTagNamePopped(E.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case E.TR:{this.insertionMode=F.IN_ROW;return}case E.TBODY:case E.THEAD:case E.TFOOT:{this.insertionMode=F.IN_TABLE_BODY;return}case E.CAPTION:{this.insertionMode=F.IN_CAPTION;return}case E.COLGROUP:{this.insertionMode=F.IN_COLUMN_GROUP;return}case E.TABLE:{this.insertionMode=F.IN_TABLE;return}case E.BODY:{this.insertionMode=F.IN_BODY;return}case E.FRAMESET:{this.insertionMode=F.IN_FRAMESET;return}case E.SELECT:{this._resetInsertionModeForSelect(t);return}case E.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case E.HTML:{this.insertionMode=this.headElement?F.AFTER_HEAD:F.BEFORE_HEAD;return}case E.TD:case E.TH:{if(t>0){this.insertionMode=F.IN_CELL;return}break}case E.HEAD:{if(t>0){this.insertionMode=F.IN_HEAD;return}break}}this.insertionMode=F.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let n=t-1;n>0;n--){const a=this.openElements.tagIDs[n];if(a===E.TEMPLATE)break;if(a===E.TABLE){this.insertionMode=F.IN_SELECT_IN_TABLE;return}}this.insertionMode=F.IN_SELECT}_isElementCausesFosterParenting(t){return s5.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){const n=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case E.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(n)===xe.HTML)return{parent:this.treeAdapter.getTemplateContent(n),beforeElement:null};break}case E.TABLE:{const a=this.treeAdapter.getParentNode(n);return a?{parent:a,beforeElement:n}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertBefore(n.parent,t,n.beforeElement):this.treeAdapter.appendChild(n.parent,t)}_isSpecialElement(t,n){const a=this.treeAdapter.getNamespaceURI(t);return Qw[a].has(n)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){lN(this,t);return}switch(this.insertionMode){case F.INITIAL:{Wu(this,t);break}case F.BEFORE_HTML:{ao(this,t);break}case F.BEFORE_HEAD:{io(this,t);break}case F.IN_HEAD:{so(this,t);break}case F.IN_HEAD_NO_SCRIPT:{lo(this,t);break}case F.AFTER_HEAD:{uo(this,t);break}case F.IN_BODY:case F.IN_CAPTION:case F.IN_CELL:case F.IN_TEMPLATE:{u5(this,t);break}case F.TEXT:case F.IN_SELECT:case F.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case F.IN_TABLE:case F.IN_TABLE_BODY:case F.IN_ROW:{Hh(this,t);break}case F.IN_TABLE_TEXT:{m5(this,t);break}case F.IN_COLUMN_GROUP:{M0(this,t);break}case F.AFTER_BODY:{R0(this,t);break}case F.AFTER_AFTER_BODY:{_0(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){sN(this,t);return}switch(this.insertionMode){case F.INITIAL:{Wu(this,t);break}case F.BEFORE_HTML:{ao(this,t);break}case F.BEFORE_HEAD:{io(this,t);break}case F.IN_HEAD:{so(this,t);break}case F.IN_HEAD_NO_SCRIPT:{lo(this,t);break}case F.AFTER_HEAD:{uo(this,t);break}case F.TEXT:{this._insertCharacters(t);break}case F.IN_TABLE:case F.IN_TABLE_BODY:case F.IN_ROW:{Hh(this,t);break}case F.IN_COLUMN_GROUP:{M0(this,t);break}case F.AFTER_BODY:{R0(this,t);break}case F.AFTER_AFTER_BODY:{_0(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){z1(this,t);return}switch(this.insertionMode){case F.INITIAL:case F.BEFORE_HTML:case F.BEFORE_HEAD:case F.IN_HEAD:case F.IN_HEAD_NO_SCRIPT:case F.AFTER_HEAD:case F.IN_BODY:case F.IN_TABLE:case F.IN_CAPTION:case F.IN_COLUMN_GROUP:case F.IN_TABLE_BODY:case F.IN_ROW:case F.IN_CELL:case F.IN_SELECT:case F.IN_SELECT_IN_TABLE:case F.IN_TEMPLATE:case F.IN_FRAMESET:case F.AFTER_FRAMESET:{z1(this,t);break}case F.IN_TABLE_TEXT:{Qu(this,t);break}case F.AFTER_BODY:{Uk(this,t);break}case F.AFTER_AFTER_BODY:case F.AFTER_AFTER_FRAMESET:{zk(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case F.INITIAL:{Fk(this,t);break}case F.BEFORE_HEAD:case F.IN_HEAD:case F.IN_HEAD_NO_SCRIPT:case F.AFTER_HEAD:{this._err(t,he.misplacedDoctype);break}case F.IN_TABLE_TEXT:{Qu(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,he.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?uN(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case F.INITIAL:{Wu(this,t);break}case F.BEFORE_HTML:{Hk(this,t);break}case F.BEFORE_HEAD:{Yk(this,t);break}case F.IN_HEAD:{pa(this,t);break}case F.IN_HEAD_NO_SCRIPT:{Vk(this,t);break}case F.AFTER_HEAD:{$k(this,t);break}case F.IN_BODY:{Jn(this,t);break}case F.IN_TABLE:{Ml(this,t);break}case F.IN_TABLE_TEXT:{Qu(this,t);break}case F.IN_CAPTION:{GC(this,t);break}case F.IN_COLUMN_GROUP:{Um(this,t);break}case F.IN_TABLE_BODY:{J0(this,t);break}case F.IN_ROW:{ed(this,t);break}case F.IN_CELL:{KC(this,t);break}case F.IN_SELECT:{b5(this,t);break}case F.IN_SELECT_IN_TABLE:{XC(this,t);break}case F.IN_TEMPLATE:{QC(this,t);break}case F.AFTER_BODY:{JC(this,t);break}case F.IN_FRAMESET:{eN(this,t);break}case F.AFTER_FRAMESET:{nN(this,t);break}case F.AFTER_AFTER_BODY:{aN(this,t);break}case F.AFTER_AFTER_FRAMESET:{iN(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?oN(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case F.INITIAL:{Wu(this,t);break}case F.BEFORE_HTML:{qk(this,t);break}case F.BEFORE_HEAD:{Gk(this,t);break}case F.IN_HEAD:{jk(this,t);break}case F.IN_HEAD_NO_SCRIPT:{Kk(this,t);break}case F.AFTER_HEAD:{Xk(this,t);break}case F.IN_BODY:{Z0(this,t);break}case F.TEXT:{IC(this,t);break}case F.IN_TABLE:{bo(this,t);break}case F.IN_TABLE_TEXT:{Qu(this,t);break}case F.IN_CAPTION:{jC(this,t);break}case F.IN_COLUMN_GROUP:{VC(this,t);break}case F.IN_TABLE_BODY:{F1(this,t);break}case F.IN_ROW:{g5(this,t);break}case F.IN_CELL:{$C(this,t);break}case F.IN_SELECT:{E5(this,t);break}case F.IN_SELECT_IN_TABLE:{WC(this,t);break}case F.IN_TEMPLATE:{ZC(this,t);break}case F.AFTER_BODY:{v5(this,t);break}case F.IN_FRAMESET:{tN(this,t);break}case F.AFTER_FRAMESET:{rN(this,t);break}case F.AFTER_AFTER_BODY:{_0(this,t);break}}}onEof(t){switch(this.insertionMode){case F.INITIAL:{Wu(this,t);break}case F.BEFORE_HTML:{ao(this,t);break}case F.BEFORE_HEAD:{io(this,t);break}case F.IN_HEAD:{so(this,t);break}case F.IN_HEAD_NO_SCRIPT:{lo(this,t);break}case F.AFTER_HEAD:{uo(this,t);break}case F.IN_BODY:case F.IN_TABLE:case F.IN_CAPTION:case F.IN_COLUMN_GROUP:case F.IN_TABLE_BODY:case F.IN_ROW:case F.IN_CELL:case F.IN_SELECT:case F.IN_SELECT_IN_TABLE:{f5(this,t);break}case F.TEXT:{LC(this,t);break}case F.IN_TABLE_TEXT:{Qu(this,t);break}case F.IN_TEMPLATE:{y5(this,t);break}case F.AFTER_BODY:case F.IN_FRAMESET:case F.AFTER_FRAMESET:case F.AFTER_AFTER_BODY:case F.AFTER_AFTER_FRAMESET:{Pm(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===I.LINE_FEED)){if(t.chars.length===1)return;t.chars=t.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(t);return}switch(this.insertionMode){case F.IN_HEAD:case F.IN_HEAD_NO_SCRIPT:case F.AFTER_HEAD:case F.TEXT:case F.IN_COLUMN_GROUP:case F.IN_SELECT:case F.IN_SELECT_IN_TABLE:case F.IN_FRAMESET:case F.AFTER_FRAMESET:{this._insertCharacters(t);break}case F.IN_BODY:case F.IN_CAPTION:case F.IN_CELL:case F.IN_TEMPLATE:case F.AFTER_BODY:case F.AFTER_AFTER_BODY:case F.AFTER_AFTER_FRAMESET:{l5(this,t);break}case F.IN_TABLE:case F.IN_TABLE_BODY:case F.IN_ROW:{Hh(this,t);break}case F.IN_TABLE_TEXT:{h5(this,t);break}}}};function Rk(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):d5(e,t),n}function Dk(e,t){let n=null,a=e.openElements.stackTop;for(;a>=0;a--){const s=e.openElements.items[a];if(s===t.element)break;e._isSpecialElement(s,e.openElements.tagIDs[a])&&(n=s)}return n||(e.openElements.shortenToLength(Math.max(a,0)),e.activeFormattingElements.removeEntry(t)),n}function Ik(e,t,n){let a=t,s=e.openElements.getCommonAncestor(t);for(let l=0,o=s;o!==n;l++,o=s){s=e.openElements.getCommonAncestor(o);const d=e.activeFormattingElements.getElementEntry(o),f=d&&l>=Ok;!d||f?(f&&e.activeFormattingElements.removeEntry(d),e.openElements.remove(o)):(o=Lk(e,d),a===t&&(e.activeFormattingElements.bookmark=d),e.treeAdapter.detachNode(a),e.treeAdapter.appendChild(o,a),a=o)}return a}function Lk(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),a=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,a),t.element=a,a}function Bk(e,t,n){const a=e.treeAdapter.getTagName(t),s=Fl(a);if(e._isElementCausesFosterParenting(s))e._fosterParentElement(n);else{const l=e.treeAdapter.getNamespaceURI(t);s===E.TEMPLATE&&l===xe.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function Pk(e,t,n){const a=e.treeAdapter.getNamespaceURI(n.element),{token:s}=n,l=e.treeAdapter.createElement(s.tagName,a,s.attrs);e._adoptNodes(t,l),e.treeAdapter.appendChild(t,l),e.activeFormattingElements.insertElementAfterBookmark(l,s),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,l,s.tagID)}function Bm(e,t){for(let n=0;n<Nk;n++){const a=Rk(e,t);if(!a)break;const s=Dk(e,a);if(!s)break;e.activeFormattingElements.bookmark=a;const l=Ik(e,s,a.element),o=e.openElements.getCommonAncestor(a.element);e.treeAdapter.detachNode(l),o&&Bk(e,o,l),Pk(e,s,a)}}function z1(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function Uk(e,t){e._appendCommentNode(t,e.openElements.items[0])}function zk(e,t){e._appendCommentNode(t,e.document)}function Pm(e,t){if(e.stopped=!0,t.location){const n=e.fragmentContext?0:2;for(let a=e.openElements.stackTop;a>=n;a--)e._setEndLocation(e.openElements.items[a],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const a=e.openElements.items[0],s=e.treeAdapter.getNodeSourceCodeLocation(a);if(s&&!s.endTag&&(e._setEndLocation(a,t),e.openElements.stackTop>=1)){const l=e.openElements.items[1],o=e.treeAdapter.getNodeSourceCodeLocation(l);o&&!o.endTag&&e._setEndLocation(l,t)}}}}function Fk(e,t){e._setDocumentType(t);const n=t.forceQuirks?Qr.QUIRKS:gk(t);pk(t)||e._err(t,he.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=F.BEFORE_HTML}function Wu(e,t){e._err(t,he.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,Qr.QUIRKS),e.insertionMode=F.BEFORE_HTML,e._processToken(t)}function Hk(e,t){t.tagID===E.HTML?(e._insertElement(t,xe.HTML),e.insertionMode=F.BEFORE_HEAD):ao(e,t)}function qk(e,t){const n=t.tagID;(n===E.HTML||n===E.HEAD||n===E.BODY||n===E.BR)&&ao(e,t)}function ao(e,t){e._insertFakeRootElement(),e.insertionMode=F.BEFORE_HEAD,e._processToken(t)}function Yk(e,t){switch(t.tagID){case E.HTML:{Jn(e,t);break}case E.HEAD:{e._insertElement(t,xe.HTML),e.headElement=e.openElements.current,e.insertionMode=F.IN_HEAD;break}default:io(e,t)}}function Gk(e,t){const n=t.tagID;n===E.HEAD||n===E.BODY||n===E.HTML||n===E.BR?io(e,t):e._err(t,he.endTagWithoutMatchingOpenElement)}function io(e,t){e._insertFakeElement(re.HEAD,E.HEAD),e.headElement=e.openElements.current,e.insertionMode=F.IN_HEAD,e._processToken(t)}function pa(e,t){switch(t.tagID){case E.HTML:{Jn(e,t);break}case E.BASE:case E.BASEFONT:case E.BGSOUND:case E.LINK:case E.META:{e._appendElement(t,xe.HTML),t.ackSelfClosing=!0;break}case E.TITLE:{e._switchToTextParsing(t,_n.RCDATA);break}case E.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,_n.RAWTEXT):(e._insertElement(t,xe.HTML),e.insertionMode=F.IN_HEAD_NO_SCRIPT);break}case E.NOFRAMES:case E.STYLE:{e._switchToTextParsing(t,_n.RAWTEXT);break}case E.SCRIPT:{e._switchToTextParsing(t,_n.SCRIPT_DATA);break}case E.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=F.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(F.IN_TEMPLATE);break}case E.HEAD:{e._err(t,he.misplacedStartTagForHeadElement);break}default:so(e,t)}}function jk(e,t){switch(t.tagID){case E.HEAD:{e.openElements.pop(),e.insertionMode=F.AFTER_HEAD;break}case E.BODY:case E.BR:case E.HTML:{so(e,t);break}case E.TEMPLATE:{Ls(e,t);break}default:e._err(t,he.endTagWithoutMatchingOpenElement)}}function Ls(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==E.TEMPLATE&&e._err(t,he.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(E.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,he.endTagWithoutMatchingOpenElement)}function so(e,t){e.openElements.pop(),e.insertionMode=F.AFTER_HEAD,e._processToken(t)}function Vk(e,t){switch(t.tagID){case E.HTML:{Jn(e,t);break}case E.BASEFONT:case E.BGSOUND:case E.HEAD:case E.LINK:case E.META:case E.NOFRAMES:case E.STYLE:{pa(e,t);break}case E.NOSCRIPT:{e._err(t,he.nestedNoscriptInHead);break}default:lo(e,t)}}function Kk(e,t){switch(t.tagID){case E.NOSCRIPT:{e.openElements.pop(),e.insertionMode=F.IN_HEAD;break}case E.BR:{lo(e,t);break}default:e._err(t,he.endTagWithoutMatchingOpenElement)}}function lo(e,t){const n=t.type===xt.EOF?he.openElementsLeftAfterEof:he.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=F.IN_HEAD,e._processToken(t)}function $k(e,t){switch(t.tagID){case E.HTML:{Jn(e,t);break}case E.BODY:{e._insertElement(t,xe.HTML),e.framesetOk=!1,e.insertionMode=F.IN_BODY;break}case E.FRAMESET:{e._insertElement(t,xe.HTML),e.insertionMode=F.IN_FRAMESET;break}case E.BASE:case E.BASEFONT:case E.BGSOUND:case E.LINK:case E.META:case E.NOFRAMES:case E.SCRIPT:case E.STYLE:case E.TEMPLATE:case E.TITLE:{e._err(t,he.abandonedHeadElementChild),e.openElements.push(e.headElement,E.HEAD),pa(e,t),e.openElements.remove(e.headElement);break}case E.HEAD:{e._err(t,he.misplacedStartTagForHeadElement);break}default:uo(e,t)}}function Xk(e,t){switch(t.tagID){case E.BODY:case E.HTML:case E.BR:{uo(e,t);break}case E.TEMPLATE:{Ls(e,t);break}default:e._err(t,he.endTagWithoutMatchingOpenElement)}}function uo(e,t){e._insertFakeElement(re.BODY,E.BODY),e.insertionMode=F.IN_BODY,Q0(e,t)}function Q0(e,t){switch(t.type){case xt.CHARACTER:{u5(e,t);break}case xt.WHITESPACE_CHARACTER:{l5(e,t);break}case xt.COMMENT:{z1(e,t);break}case xt.START_TAG:{Jn(e,t);break}case xt.END_TAG:{Z0(e,t);break}case xt.EOF:{f5(e,t);break}}}function l5(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function u5(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function Wk(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function Qk(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function Zk(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,xe.HTML),e.insertionMode=F.IN_FRAMESET)}function Jk(e,t){e.openElements.hasInButtonScope(E.P)&&e._closePElement(),e._insertElement(t,xe.HTML)}function eC(e,t){e.openElements.hasInButtonScope(E.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&U1.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,xe.HTML)}function tC(e,t){e.openElements.hasInButtonScope(E.P)&&e._closePElement(),e._insertElement(t,xe.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function nC(e,t){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(E.P)&&e._closePElement(),e._insertElement(t,xe.HTML),n||(e.formElement=e.openElements.current))}function rC(e,t){e.framesetOk=!1;const n=t.tagID;for(let a=e.openElements.stackTop;a>=0;a--){const s=e.openElements.tagIDs[a];if(n===E.LI&&s===E.LI||(n===E.DD||n===E.DT)&&(s===E.DD||s===E.DT)){e.openElements.generateImpliedEndTagsWithExclusion(s),e.openElements.popUntilTagNamePopped(s);break}if(s!==E.ADDRESS&&s!==E.DIV&&s!==E.P&&e._isSpecialElement(e.openElements.items[a],s))break}e.openElements.hasInButtonScope(E.P)&&e._closePElement(),e._insertElement(t,xe.HTML)}function aC(e,t){e.openElements.hasInButtonScope(E.P)&&e._closePElement(),e._insertElement(t,xe.HTML),e.tokenizer.state=_n.PLAINTEXT}function iC(e,t){e.openElements.hasInScope(E.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(E.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,xe.HTML),e.framesetOk=!1}function sC(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(re.A);n&&(Bm(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,xe.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function lC(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,xe.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function uC(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(E.NOBR)&&(Bm(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,xe.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function oC(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,xe.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function cC(e,t){e.treeAdapter.getDocumentMode(e.document)!==Qr.QUIRKS&&e.openElements.hasInButtonScope(E.P)&&e._closePElement(),e._insertElement(t,xe.HTML),e.framesetOk=!1,e.insertionMode=F.IN_TABLE}function o5(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,xe.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function c5(e){const t=ZE(e,Ms.TYPE);return t!=null&&t.toLowerCase()===Ck}function dC(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,xe.HTML),c5(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function fC(e,t){e._appendElement(t,xe.HTML),t.ackSelfClosing=!0}function hC(e,t){e.openElements.hasInButtonScope(E.P)&&e._closePElement(),e._appendElement(t,xe.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function mC(e,t){t.tagName=re.IMG,t.tagID=E.IMG,o5(e,t)}function pC(e,t){e._insertElement(t,xe.HTML),e.skipNextNewLine=!0,e.tokenizer.state=_n.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=F.TEXT}function gC(e,t){e.openElements.hasInButtonScope(E.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,_n.RAWTEXT)}function bC(e,t){e.framesetOk=!1,e._switchToTextParsing(t,_n.RAWTEXT)}function Jb(e,t){e._switchToTextParsing(t,_n.RAWTEXT)}function EC(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,xe.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===F.IN_TABLE||e.insertionMode===F.IN_CAPTION||e.insertionMode===F.IN_TABLE_BODY||e.insertionMode===F.IN_ROW||e.insertionMode===F.IN_CELL?F.IN_SELECT_IN_TABLE:F.IN_SELECT}function yC(e,t){e.openElements.currentTagId===E.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,xe.HTML)}function vC(e,t){e.openElements.hasInScope(E.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,xe.HTML)}function TC(e,t){e.openElements.hasInScope(E.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(E.RTC),e._insertElement(t,xe.HTML)}function _C(e,t){e._reconstructActiveFormattingElements(),a5(t),Lm(t),t.selfClosing?e._appendElement(t,xe.MATHML):e._insertElement(t,xe.MATHML),t.ackSelfClosing=!0}function SC(e,t){e._reconstructActiveFormattingElements(),i5(t),Lm(t),t.selfClosing?e._appendElement(t,xe.SVG):e._insertElement(t,xe.SVG),t.ackSelfClosing=!0}function e3(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,xe.HTML)}function Jn(e,t){switch(t.tagID){case E.I:case E.S:case E.B:case E.U:case E.EM:case E.TT:case E.BIG:case E.CODE:case E.FONT:case E.SMALL:case E.STRIKE:case E.STRONG:{lC(e,t);break}case E.A:{sC(e,t);break}case E.H1:case E.H2:case E.H3:case E.H4:case E.H5:case E.H6:{eC(e,t);break}case E.P:case E.DL:case E.OL:case E.UL:case E.DIV:case E.DIR:case E.NAV:case E.MAIN:case E.MENU:case E.ASIDE:case E.CENTER:case E.FIGURE:case E.FOOTER:case E.HEADER:case E.HGROUP:case E.DIALOG:case E.DETAILS:case E.ADDRESS:case E.ARTICLE:case E.SEARCH:case E.SECTION:case E.SUMMARY:case E.FIELDSET:case E.BLOCKQUOTE:case E.FIGCAPTION:{Jk(e,t);break}case E.LI:case E.DD:case E.DT:{rC(e,t);break}case E.BR:case E.IMG:case E.WBR:case E.AREA:case E.EMBED:case E.KEYGEN:{o5(e,t);break}case E.HR:{hC(e,t);break}case E.RB:case E.RTC:{vC(e,t);break}case E.RT:case E.RP:{TC(e,t);break}case E.PRE:case E.LISTING:{tC(e,t);break}case E.XMP:{gC(e,t);break}case E.SVG:{SC(e,t);break}case E.HTML:{Wk(e,t);break}case E.BASE:case E.LINK:case E.META:case E.STYLE:case E.TITLE:case E.SCRIPT:case E.BGSOUND:case E.BASEFONT:case E.TEMPLATE:{pa(e,t);break}case E.BODY:{Qk(e,t);break}case E.FORM:{nC(e,t);break}case E.NOBR:{uC(e,t);break}case E.MATH:{_C(e,t);break}case E.TABLE:{cC(e,t);break}case E.INPUT:{dC(e,t);break}case E.PARAM:case E.TRACK:case E.SOURCE:{fC(e,t);break}case E.IMAGE:{mC(e,t);break}case E.BUTTON:{iC(e,t);break}case E.APPLET:case E.OBJECT:case E.MARQUEE:{oC(e,t);break}case E.IFRAME:{bC(e,t);break}case E.SELECT:{EC(e,t);break}case E.OPTION:case E.OPTGROUP:{yC(e,t);break}case E.NOEMBED:case E.NOFRAMES:{Jb(e,t);break}case E.FRAMESET:{Zk(e,t);break}case E.TEXTAREA:{pC(e,t);break}case E.NOSCRIPT:{e.options.scriptingEnabled?Jb(e,t):e3(e,t);break}case E.PLAINTEXT:{aC(e,t);break}case E.COL:case E.TH:case E.TD:case E.TR:case E.HEAD:case E.FRAME:case E.TBODY:case E.TFOOT:case E.THEAD:case E.CAPTION:case E.COLGROUP:break;default:e3(e,t)}}function xC(e,t){if(e.openElements.hasInScope(E.BODY)&&(e.insertionMode=F.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function AC(e,t){e.openElements.hasInScope(E.BODY)&&(e.insertionMode=F.AFTER_BODY,v5(e,t))}function wC(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function kC(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(E.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(E.FORM):n&&e.openElements.remove(n))}function CC(e){e.openElements.hasInButtonScope(E.P)||e._insertFakeElement(re.P,E.P),e._closePElement()}function NC(e){e.openElements.hasInListItemScope(E.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(E.LI),e.openElements.popUntilTagNamePopped(E.LI))}function OC(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function MC(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function RC(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function DC(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(re.BR,E.BR),e.openElements.pop(),e.framesetOk=!1}function d5(e,t){const n=t.tagName,a=t.tagID;for(let s=e.openElements.stackTop;s>0;s--){const l=e.openElements.items[s],o=e.openElements.tagIDs[s];if(a===o&&(a!==E.UNKNOWN||e.treeAdapter.getTagName(l)===n)){e.openElements.generateImpliedEndTagsWithExclusion(a),e.openElements.stackTop>=s&&e.openElements.shortenToLength(s);break}if(e._isSpecialElement(l,o))break}}function Z0(e,t){switch(t.tagID){case E.A:case E.B:case E.I:case E.S:case E.U:case E.EM:case E.TT:case E.BIG:case E.CODE:case E.FONT:case E.NOBR:case E.SMALL:case E.STRIKE:case E.STRONG:{Bm(e,t);break}case E.P:{CC(e);break}case E.DL:case E.UL:case E.OL:case E.DIR:case E.DIV:case E.NAV:case E.PRE:case E.MAIN:case E.MENU:case E.ASIDE:case E.BUTTON:case E.CENTER:case E.FIGURE:case E.FOOTER:case E.HEADER:case E.HGROUP:case E.DIALOG:case E.ADDRESS:case E.ARTICLE:case E.DETAILS:case E.SEARCH:case E.SECTION:case E.SUMMARY:case E.LISTING:case E.FIELDSET:case E.BLOCKQUOTE:case E.FIGCAPTION:{wC(e,t);break}case E.LI:{NC(e);break}case E.DD:case E.DT:{OC(e,t);break}case E.H1:case E.H2:case E.H3:case E.H4:case E.H5:case E.H6:{MC(e);break}case E.BR:{DC(e);break}case E.BODY:{xC(e,t);break}case E.HTML:{AC(e,t);break}case E.FORM:{kC(e);break}case E.APPLET:case E.OBJECT:case E.MARQUEE:{RC(e,t);break}case E.TEMPLATE:{Ls(e,t);break}default:d5(e,t)}}function f5(e,t){e.tmplInsertionModeStack.length>0?y5(e,t):Pm(e,t)}function IC(e,t){var n;t.tagID===E.SCRIPT&&((n=e.scriptHandler)===null||n===void 0||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function LC(e,t){e._err(t,he.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function Hh(e,t){if(e.openElements.currentTagId!==void 0&&s5.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=F.IN_TABLE_TEXT,t.type){case xt.CHARACTER:{m5(e,t);break}case xt.WHITESPACE_CHARACTER:{h5(e,t);break}}else ko(e,t)}function BC(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,xe.HTML),e.insertionMode=F.IN_CAPTION}function PC(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,xe.HTML),e.insertionMode=F.IN_COLUMN_GROUP}function UC(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(re.COLGROUP,E.COLGROUP),e.insertionMode=F.IN_COLUMN_GROUP,Um(e,t)}function zC(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,xe.HTML),e.insertionMode=F.IN_TABLE_BODY}function FC(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(re.TBODY,E.TBODY),e.insertionMode=F.IN_TABLE_BODY,J0(e,t)}function HC(e,t){e.openElements.hasInTableScope(E.TABLE)&&(e.openElements.popUntilTagNamePopped(E.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function qC(e,t){c5(t)?e._appendElement(t,xe.HTML):ko(e,t),t.ackSelfClosing=!0}function YC(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,xe.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function Ml(e,t){switch(t.tagID){case E.TD:case E.TH:case E.TR:{FC(e,t);break}case E.STYLE:case E.SCRIPT:case E.TEMPLATE:{pa(e,t);break}case E.COL:{UC(e,t);break}case E.FORM:{YC(e,t);break}case E.TABLE:{HC(e,t);break}case E.TBODY:case E.TFOOT:case E.THEAD:{zC(e,t);break}case E.INPUT:{qC(e,t);break}case E.CAPTION:{BC(e,t);break}case E.COLGROUP:{PC(e,t);break}default:ko(e,t)}}function bo(e,t){switch(t.tagID){case E.TABLE:{e.openElements.hasInTableScope(E.TABLE)&&(e.openElements.popUntilTagNamePopped(E.TABLE),e._resetInsertionMode());break}case E.TEMPLATE:{Ls(e,t);break}case E.BODY:case E.CAPTION:case E.COL:case E.COLGROUP:case E.HTML:case E.TBODY:case E.TD:case E.TFOOT:case E.TH:case E.THEAD:case E.TR:break;default:ko(e,t)}}function ko(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,Q0(e,t),e.fosterParentingEnabled=n}function h5(e,t){e.pendingCharacterTokens.push(t)}function m5(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function Qu(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)ko(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const p5=new Set([E.CAPTION,E.COL,E.COLGROUP,E.TBODY,E.TD,E.TFOOT,E.TH,E.THEAD,E.TR]);function GC(e,t){const n=t.tagID;p5.has(n)?e.openElements.hasInTableScope(E.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(E.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=F.IN_TABLE,Ml(e,t)):Jn(e,t)}function jC(e,t){const n=t.tagID;switch(n){case E.CAPTION:case E.TABLE:{e.openElements.hasInTableScope(E.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(E.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=F.IN_TABLE,n===E.TABLE&&bo(e,t));break}case E.BODY:case E.COL:case E.COLGROUP:case E.HTML:case E.TBODY:case E.TD:case E.TFOOT:case E.TH:case E.THEAD:case E.TR:break;default:Z0(e,t)}}function Um(e,t){switch(t.tagID){case E.HTML:{Jn(e,t);break}case E.COL:{e._appendElement(t,xe.HTML),t.ackSelfClosing=!0;break}case E.TEMPLATE:{pa(e,t);break}default:M0(e,t)}}function VC(e,t){switch(t.tagID){case E.COLGROUP:{e.openElements.currentTagId===E.COLGROUP&&(e.openElements.pop(),e.insertionMode=F.IN_TABLE);break}case E.TEMPLATE:{Ls(e,t);break}case E.COL:break;default:M0(e,t)}}function M0(e,t){e.openElements.currentTagId===E.COLGROUP&&(e.openElements.pop(),e.insertionMode=F.IN_TABLE,e._processToken(t))}function J0(e,t){switch(t.tagID){case E.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,xe.HTML),e.insertionMode=F.IN_ROW;break}case E.TH:case E.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(re.TR,E.TR),e.insertionMode=F.IN_ROW,ed(e,t);break}case E.CAPTION:case E.COL:case E.COLGROUP:case E.TBODY:case E.TFOOT:case E.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=F.IN_TABLE,Ml(e,t));break}default:Ml(e,t)}}function F1(e,t){const n=t.tagID;switch(t.tagID){case E.TBODY:case E.TFOOT:case E.THEAD:{e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=F.IN_TABLE);break}case E.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=F.IN_TABLE,bo(e,t));break}case E.BODY:case E.CAPTION:case E.COL:case E.COLGROUP:case E.HTML:case E.TD:case E.TH:case E.TR:break;default:bo(e,t)}}function ed(e,t){switch(t.tagID){case E.TH:case E.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,xe.HTML),e.insertionMode=F.IN_CELL,e.activeFormattingElements.insertMarker();break}case E.CAPTION:case E.COL:case E.COLGROUP:case E.TBODY:case E.TFOOT:case E.THEAD:case E.TR:{e.openElements.hasInTableScope(E.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=F.IN_TABLE_BODY,J0(e,t));break}default:Ml(e,t)}}function g5(e,t){switch(t.tagID){case E.TR:{e.openElements.hasInTableScope(E.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=F.IN_TABLE_BODY);break}case E.TABLE:{e.openElements.hasInTableScope(E.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=F.IN_TABLE_BODY,F1(e,t));break}case E.TBODY:case E.TFOOT:case E.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(E.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=F.IN_TABLE_BODY,F1(e,t));break}case E.BODY:case E.CAPTION:case E.COL:case E.COLGROUP:case E.HTML:case E.TD:case E.TH:break;default:bo(e,t)}}function KC(e,t){const n=t.tagID;p5.has(n)?(e.openElements.hasInTableScope(E.TD)||e.openElements.hasInTableScope(E.TH))&&(e._closeTableCell(),ed(e,t)):Jn(e,t)}function $C(e,t){const n=t.tagID;switch(n){case E.TD:case E.TH:{e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=F.IN_ROW);break}case E.TABLE:case E.TBODY:case E.TFOOT:case E.THEAD:case E.TR:{e.openElements.hasInTableScope(n)&&(e._closeTableCell(),g5(e,t));break}case E.BODY:case E.CAPTION:case E.COL:case E.COLGROUP:case E.HTML:break;default:Z0(e,t)}}function b5(e,t){switch(t.tagID){case E.HTML:{Jn(e,t);break}case E.OPTION:{e.openElements.currentTagId===E.OPTION&&e.openElements.pop(),e._insertElement(t,xe.HTML);break}case E.OPTGROUP:{e.openElements.currentTagId===E.OPTION&&e.openElements.pop(),e.openElements.currentTagId===E.OPTGROUP&&e.openElements.pop(),e._insertElement(t,xe.HTML);break}case E.HR:{e.openElements.currentTagId===E.OPTION&&e.openElements.pop(),e.openElements.currentTagId===E.OPTGROUP&&e.openElements.pop(),e._appendElement(t,xe.HTML),t.ackSelfClosing=!0;break}case E.INPUT:case E.KEYGEN:case E.TEXTAREA:case E.SELECT:{e.openElements.hasInSelectScope(E.SELECT)&&(e.openElements.popUntilTagNamePopped(E.SELECT),e._resetInsertionMode(),t.tagID!==E.SELECT&&e._processStartTag(t));break}case E.SCRIPT:case E.TEMPLATE:{pa(e,t);break}}}function E5(e,t){switch(t.tagID){case E.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===E.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===E.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===E.OPTGROUP&&e.openElements.pop();break}case E.OPTION:{e.openElements.currentTagId===E.OPTION&&e.openElements.pop();break}case E.SELECT:{e.openElements.hasInSelectScope(E.SELECT)&&(e.openElements.popUntilTagNamePopped(E.SELECT),e._resetInsertionMode());break}case E.TEMPLATE:{Ls(e,t);break}}}function XC(e,t){const n=t.tagID;n===E.CAPTION||n===E.TABLE||n===E.TBODY||n===E.TFOOT||n===E.THEAD||n===E.TR||n===E.TD||n===E.TH?(e.openElements.popUntilTagNamePopped(E.SELECT),e._resetInsertionMode(),e._processStartTag(t)):b5(e,t)}function WC(e,t){const n=t.tagID;n===E.CAPTION||n===E.TABLE||n===E.TBODY||n===E.TFOOT||n===E.THEAD||n===E.TR||n===E.TD||n===E.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(E.SELECT),e._resetInsertionMode(),e.onEndTag(t)):E5(e,t)}function QC(e,t){switch(t.tagID){case E.BASE:case E.BASEFONT:case E.BGSOUND:case E.LINK:case E.META:case E.NOFRAMES:case E.SCRIPT:case E.STYLE:case E.TEMPLATE:case E.TITLE:{pa(e,t);break}case E.CAPTION:case E.COLGROUP:case E.TBODY:case E.TFOOT:case E.THEAD:{e.tmplInsertionModeStack[0]=F.IN_TABLE,e.insertionMode=F.IN_TABLE,Ml(e,t);break}case E.COL:{e.tmplInsertionModeStack[0]=F.IN_COLUMN_GROUP,e.insertionMode=F.IN_COLUMN_GROUP,Um(e,t);break}case E.TR:{e.tmplInsertionModeStack[0]=F.IN_TABLE_BODY,e.insertionMode=F.IN_TABLE_BODY,J0(e,t);break}case E.TD:case E.TH:{e.tmplInsertionModeStack[0]=F.IN_ROW,e.insertionMode=F.IN_ROW,ed(e,t);break}default:e.tmplInsertionModeStack[0]=F.IN_BODY,e.insertionMode=F.IN_BODY,Jn(e,t)}}function ZC(e,t){t.tagID===E.TEMPLATE&&Ls(e,t)}function y5(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(E.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):Pm(e,t)}function JC(e,t){t.tagID===E.HTML?Jn(e,t):R0(e,t)}function v5(e,t){var n;if(t.tagID===E.HTML){if(e.fragmentContext||(e.insertionMode=F.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===E.HTML){e._setEndLocation(e.openElements.items[0],t);const a=e.openElements.items[1];a&&!(!((n=e.treeAdapter.getNodeSourceCodeLocation(a))===null||n===void 0)&&n.endTag)&&e._setEndLocation(a,t)}}else R0(e,t)}function R0(e,t){e.insertionMode=F.IN_BODY,Q0(e,t)}function eN(e,t){switch(t.tagID){case E.HTML:{Jn(e,t);break}case E.FRAMESET:{e._insertElement(t,xe.HTML);break}case E.FRAME:{e._appendElement(t,xe.HTML),t.ackSelfClosing=!0;break}case E.NOFRAMES:{pa(e,t);break}}}function tN(e,t){t.tagID===E.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==E.FRAMESET&&(e.insertionMode=F.AFTER_FRAMESET))}function nN(e,t){switch(t.tagID){case E.HTML:{Jn(e,t);break}case E.NOFRAMES:{pa(e,t);break}}}function rN(e,t){t.tagID===E.HTML&&(e.insertionMode=F.AFTER_AFTER_FRAMESET)}function aN(e,t){t.tagID===E.HTML?Jn(e,t):_0(e,t)}function _0(e,t){e.insertionMode=F.IN_BODY,Q0(e,t)}function iN(e,t){switch(t.tagID){case E.HTML:{Jn(e,t);break}case E.NOFRAMES:{pa(e,t);break}}}function sN(e,t){t.chars=an,e._insertCharacters(t)}function lN(e,t){e._insertCharacters(t),e.framesetOk=!1}function T5(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==xe.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function uN(e,t){if(Sk(t))T5(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),a=e.treeAdapter.getNamespaceURI(n);a===xe.MATHML?a5(t):a===xe.SVG&&(xk(t),i5(t)),Lm(t),t.selfClosing?e._appendElement(t,a):e._insertElement(t,a),t.ackSelfClosing=!0}}function oN(e,t){if(t.tagID===E.P||t.tagID===E.BR){T5(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){const a=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(a)===xe.HTML){e._endTagOutsideForeignContent(t);break}const s=e.treeAdapter.getTagName(a);if(s.toLowerCase()===t.tagName){t.tagName=s,e.openElements.shortenToLength(n);break}}}re.AREA,re.BASE,re.BASEFONT,re.BGSOUND,re.BR,re.COL,re.EMBED,re.FRAME,re.HR,re.IMG,re.INPUT,re.KEYGEN,re.LINK,re.META,re.PARAM,re.SOURCE,re.TRACK,re.WBR;const cN=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,dN=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),t3={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function _5(e,t){const n=TN(e),a=hE("type",{handlers:{root:fN,element:hN,text:mN,comment:x5,doctype:pN,raw:bN},unknown:EN}),s={parser:n?new Zb(t3):Zb.getFragmentParser(void 0,t3),handle(d){a(d,s)},stitches:!1,options:t||{}};a(e,s),Hl(s,Ma());const l=n?s.parser.document:s.parser.getFragment(),o=fw(l,{file:s.options.file});return s.stitches&&xo(o,"comment",function(d,f,h){const p=d;if(p.value.stitch&&h&&f!==void 0){const b=h.children;return b[f]=p.value.stitch,f}}),o.type==="root"&&o.children.length===1&&o.children[0].type===e.type?o.children[0]:o}function S5(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function fN(e,t){S5(e.children,t)}function hN(e,t){yN(e,t),S5(e.children,t),vN(e,t)}function mN(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const n={type:xt.CHARACTER,chars:e.value,location:Co(e)};Hl(t,Ma(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function pN(e,t){const n={type:xt.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:Co(e)};Hl(t,Ma(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function gN(e,t){t.stitches=!0;const n=_N(e);if("children"in e&&"children"in n){const a=_5({type:"root",children:e.children},t.options);n.children=a.children}x5({type:"comment",value:{stitch:n}},t)}function x5(e,t){const n=e.value,a={type:xt.COMMENT,data:n,location:Co(e)};Hl(t,Ma(e)),t.parser.currentToken=a,t.parser._processToken(t.parser.currentToken)}function bN(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,A5(t,Ma(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(cN,"&lt;$1$2"):e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;const n=t.parser.tokenizer._consume();t.parser.tokenizer._callState(n)}}function EN(e,t){const n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))gN(n,t);else{let a="";throw dN.has(n.type)&&(a=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+n.type+"` node"+a)}}function Hl(e,t){A5(e,t);const n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=_n.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function A5(e,t){if(t&&t.offset!==void 0){const n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function yN(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===_n.PLAINTEXT)return;Hl(t,Ma(e));const a=t.parser.openElements.current;let s="namespaceURI"in a?a.namespaceURI:ka.html;s===ka.html&&n==="svg"&&(s=ka.svg);const l=kw({...e,children:[]},{space:s===ka.svg?"svg":"html"}),o={type:xt.START_TAG,tagName:n,tagID:Fl(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in l?l.attrs:[],location:Co(e)};t.parser.currentToken=o,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function vN(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&Lw.includes(n)||t.parser.tokenizer.state===_n.PLAINTEXT)return;Hl(t,V0(e));const a={type:xt.END_TAG,tagName:n,tagID:Fl(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:Co(e)};t.parser.currentToken=a,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===_n.RCDATA||t.parser.tokenizer.state===_n.RAWTEXT||t.parser.tokenizer.state===_n.SCRIPT_DATA)&&(t.parser.tokenizer.state=_n.DATA)}function TN(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function Co(e){const t=Ma(e)||{line:void 0,column:void 0,offset:void 0},n=V0(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function _N(e){return"children"in e?Ol({...e,children:[]}):Ol(e)}function SN(e){return function(t,n){return _5(t,{...e,file:n})}}const n3=function(e,t,n){const a=So(n);if(!e||!e.type||!e.children)throw new Error("Expected parent node");if(typeof t=="number"){if(t<0||t===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(t=e.children.indexOf(t),t<0)throw new Error("Expected child node or index");for(;++t<e.children.length;)if(a(e.children[t],t,e))return e.children[t]},Bs=function(e){if(e==null)return wN;if(typeof e=="string")return AN(e);if(typeof e=="object")return xN(e);if(typeof e=="function")return zm(e);throw new Error("Expected function, string, or array as `test`")};function xN(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Bs(e[n]);return zm(a);function a(...s){let l=-1;for(;++l<t.length;)if(t[l].apply(this,s))return!0;return!1}}function AN(e){return zm(t);function t(n){return n.tagName===e}}function zm(e){return t;function t(n,a,s){return!!(kN(n)&&e.call(this,n,typeof a=="number"?a:void 0,s||void 0))}}function wN(e){return!!(e&&typeof e=="object"&&"type"in e&&e.type==="element"&&"tagName"in e&&typeof e.tagName=="string")}function kN(e){return e!==null&&typeof e=="object"&&"type"in e&&"tagName"in e}const r3=/\n/g,a3=/[\t ]+/g,H1=Bs("br"),i3=Bs(IN),CN=Bs("p"),s3=Bs("tr"),NN=Bs(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",DN,LN]),w5=Bs(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","li","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function k5(e,t){const n=t||{},a="children"in e?e.children:[],s=w5(e),l=O5(e,{whitespace:n.whitespace||"normal"}),o=[];(e.type==="text"||e.type==="comment")&&o.push(...N5(e,{breakBefore:!0,breakAfter:!0}));let d=-1;for(;++d<a.length;)o.push(...C5(a[d],e,{whitespace:l,breakBefore:d?void 0:s,breakAfter:d<a.length-1?H1(a[d+1]):s}));const f=[];let h;for(d=-1;++d<o.length;){const p=o[d];typeof p=="number"?h!==void 0&&p>h&&(h=p):p&&(h!==void 0&&h>-1&&f.push(`
79
- `.repeat(h)||" "),h=-1,f.push(p))}return f.join("")}function C5(e,t,n){return e.type==="element"?ON(e,t,n):e.type==="text"?n.whitespace==="normal"?N5(e,n):MN(e):[]}function ON(e,t,n){const a=O5(e,n),s=e.children||[];let l=-1,o=[];if(NN(e))return o;let d,f;for(H1(e)||s3(e)&&n3(t,e,s3)?f=`
80
- `:CN(e)?(d=2,f=2):w5(e)&&(d=1,f=1);++l<s.length;)o=o.concat(C5(s[l],e,{whitespace:a,breakBefore:l?void 0:d,breakAfter:l<s.length-1?H1(s[l+1]):f}));return i3(e)&&n3(t,e,i3)&&o.push(" "),d&&o.unshift(d),f&&o.push(f),o}function N5(e,t){const n=String(e.value),a=[],s=[];let l=0;for(;l<=n.length;){r3.lastIndex=l;const f=r3.exec(n),h=f&&"index"in f?f.index:n.length;a.push(RN(n.slice(l,h).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),l===0?t.breakBefore:!0,h===n.length?t.breakAfter:!0)),l=h+1}let o=-1,d;for(;++o<a.length;)a[o].charCodeAt(a[o].length-1)===8203||o<a.length-1&&a[o+1].charCodeAt(0)===8203?(s.push(a[o]),d=void 0):a[o]?(typeof d=="number"&&s.push(d),s.push(a[o]),d=0):(o===0||o===a.length-1)&&s.push(0);return s}function MN(e){return[String(e.value)]}function RN(e,t,n){const a=[];let s=0,l;for(;s<e.length;){a3.lastIndex=s;const o=a3.exec(e);l=o?o.index:e.length,!s&&!l&&o&&!t&&a.push(""),s!==l&&a.push(e.slice(s,l)),s=o?l+o[0].length:l}return s!==l&&!n&&a.push(""),a.join(" ")}function O5(e,t){if(e.type==="element"){const n=e.properties||{};switch(e.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return n.wrap?"pre-wrap":"pre";case"td":case"th":return n.noWrap?"nowrap":t.whitespace;case"textarea":return"pre-wrap"}}return t.whitespace}function DN(e){return!!(e.properties||{}).hidden}function IN(e){return e.tagName==="td"||e.tagName==="th"}function LN(e){return e.tagName==="dialog"&&!(e.properties||{}).open}function BN(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),a="decltype\\(auto\\)",s="[a-zA-Z_]\\w*::",o="(?!struct)("+a+"|"+t.optional(s)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",d={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},h={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},p={className:"number",variants:[{begin:"[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},b={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(h,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},T={className:"title",begin:t.optional(s)+e.IDENT_RE,relevance:0},v=t.optional(s)+e.IDENT_RE+"\\s*\\(",A=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],k=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],R=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","flat_map","flat_set","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],C=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],J={type:k,keyword:A,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:R},j={className:"function.dispatch",relevance:0,keywords:{_hint:C},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},B=[j,b,d,n,e.C_BLOCK_COMMENT_MODE,p,h],Q={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:J,contains:B.concat([{begin:/\(/,end:/\)/,keywords:J,contains:B.concat(["self"]),relevance:0}]),relevance:0},te={className:"function",begin:"("+o+"[\\*&\\s]+)+"+v,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:J,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:a,keywords:J,relevance:0},{begin:v,returnBegin:!0,contains:[T],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[h,p]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:J,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,h,p,d,{begin:/\(/,end:/\)/,keywords:J,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,h,p,d]}]},d,n,e.C_BLOCK_COMMENT_MODE,b]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:J,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(Q,te,j,B,[b,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\s*<(?!<)",end:">",keywords:J,contains:["self",d]},{begin:e.IDENT_RE+"::",keywords:J},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function PN(e){const t={type:["boolean","byte","word","String"],built_in:["KeyboardController","MouseController","SoftwareSerial","EthernetServer","EthernetClient","LiquidCrystal","RobotControl","GSMVoiceCall","EthernetUDP","EsploraTFT","HttpClient","RobotMotor","WiFiClient","GSMScanner","FileSystem","Scheduler","GSMServer","YunClient","YunServer","IPAddress","GSMClient","GSMModem","Keyboard","Ethernet","Console","GSMBand","Esplora","Stepper","Process","WiFiUDP","GSM_SMS","Mailbox","USBHost","Firmata","PImage","Client","Server","GSMPIN","FileIO","Bridge","Serial","EEPROM","Stream","Mouse","Audio","Servo","File","Task","GPRS","WiFi","Wire","TFT","GSM","SPI","SD"],_hints:["setup","loop","runShellCommandAsynchronously","analogWriteResolution","retrieveCallingNumber","printFirmwareVersion","analogReadResolution","sendDigitalPortPair","noListenOnLocalhost","readJoystickButton","setFirmwareVersion","readJoystickSwitch","scrollDisplayRight","getVoiceCallStatus","scrollDisplayLeft","writeMicroseconds","delayMicroseconds","beginTransmission","getSignalStrength","runAsynchronously","getAsynchronously","listenOnLocalhost","getCurrentCarrier","readAccelerometer","messageAvailable","sendDigitalPorts","lineFollowConfig","countryNameWrite","runShellCommand","readStringUntil","rewindDirectory","readTemperature","setClockDivider","readLightSensor","endTransmission","analogReference","detachInterrupt","countryNameRead","attachInterrupt","encryptionType","readBytesUntil","robotNameWrite","readMicrophone","robotNameRead","cityNameWrite","userNameWrite","readJoystickY","readJoystickX","mouseReleased","openNextFile","scanNetworks","noInterrupts","digitalWrite","beginSpeaker","mousePressed","isActionDone","mouseDragged","displayLogos","noAutoscroll","addParameter","remoteNumber","getModifiers","keyboardRead","userNameRead","waitContinue","processInput","parseCommand","printVersion","readNetworks","writeMessage","blinkVersion","cityNameRead","readMessage","setDataMode","parsePacket","isListening","setBitOrder","beginPacket","isDirectory","motorsWrite","drawCompass","digitalRead","clearScreen","serialEvent","rightToLeft","setTextSize","leftToRight","requestFrom","keyReleased","compassRead","analogWrite","interrupts","WiFiServer","disconnect","playMelody","parseFloat","autoscroll","getPINUsed","setPINUsed","setTimeout","sendAnalog","readSlider","analogRead","beginWrite","createChar","motorsStop","keyPressed","tempoWrite","readButton","subnetMask","debugPrint","macAddress","writeGreen","randomSeed","attachGPRS","readString","sendString","remotePort","releaseAll","mouseMoved","background","getXChange","getYChange","answerCall","getResult","voiceCall","endPacket","constrain","getSocket","writeJSON","getButton","available","connected","findUntil","readBytes","exitValue","readGreen","writeBlue","startLoop","IPAddress","isPressed","sendSysex","pauseMode","gatewayIP","setCursor","getOemKey","tuneWrite","noDisplay","loadImage","switchPIN","onRequest","onReceive","changePIN","playFile","noBuffer","parseInt","overflow","checkPIN","knobRead","beginTFT","bitClear","updateIR","bitWrite","position","writeRGB","highByte","writeRed","setSpeed","readBlue","noStroke","remoteIP","transfer","shutdown","hangCall","beginSMS","endWrite","attached","maintain","noCursor","checkReg","checkPUK","shiftOut","isValid","shiftIn","pulseIn","connect","println","localIP","pinMode","getIMEI","display","noBlink","process","getBand","running","beginSD","drawBMP","lowByte","setBand","release","bitRead","prepare","pointTo","readRed","setMode","noFill","remove","listen","stroke","detach","attach","noTone","exists","buffer","height","bitSet","circle","config","cursor","random","IRread","setDNS","endSMS","getKey","micros","millis","begin","print","write","ready","flush","width","isPIN","blink","clear","press","mkdir","rmdir","close","point","yield","image","BSSID","click","delay","read","text","move","peek","beep","rect","line","open","seek","fill","size","turn","stop","home","find","step","tone","sqrt","RSSI","SSID","end","bit","tan","cos","sin","pow","map","abs","max","min","get","run","put"],literal:["DIGITAL_MESSAGE","FIRMATA_STRING","ANALOG_MESSAGE","REPORT_DIGITAL","REPORT_ANALOG","INPUT_PULLUP","SET_PIN_MODE","INTERNAL2V56","SYSTEM_RESET","LED_BUILTIN","INTERNAL1V1","SYSEX_START","INTERNAL","EXTERNAL","DEFAULT","OUTPUT","INPUT","HIGH","LOW"]},n=BN(e),a=n.keywords;return a.type=[...a.type,...t.type],a.literal=[...a.literal,...t.literal],a.built_in=[...a.built_in,...t.built_in],a._hints=t._hints,n.name="Arduino",n.aliases=["ino"],n.supersetOf="cpp",n}function UN(e){const t=e.regex,n={},a={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[n]}]};Object.assign(n,{className:"variable",variants:[{begin:t.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},a]});const s={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},l=e.inherit(e.COMMENT(),{match:[/(^|\s)/,/#.*$/],scope:{2:"comment"}}),o={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},d={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,n,s]};s.contains.push(d);const f={match:/\\"/},h={className:"string",begin:/'/,end:/'/},p={match:/\\'/},b={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,n]},T=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],v=e.SHEBANG({binary:`(${T.join("|")})`,relevance:10}),A={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},k=["if","then","else","elif","fi","time","for","while","until","in","do","done","case","esac","coproc","function","select"],R=["true","false"],C={match:/(\/[a-z._-]+)+/},D=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],U=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","sudo","type","typeset","ulimit","unalias"],J=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],j=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh","zsh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:k,literal:R,built_in:[...D,...U,"set","shopt",...J,...j]},contains:[v,e.SHEBANG(),A,b,l,o,C,d,f,h,p,n]}}function zN(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),a="decltype\\(auto\\)",s="[a-zA-Z_]\\w*::",o="("+a+"|"+t.optional(s)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",d={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},h={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},p={className:"number",variants:[{match:/\b(0b[01']+)/},{match:/(-?)\b([\d']+(\.[\d']*)?|\.[\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)/},{match:/(-?)\b(0[xX][a-fA-F0-9]+(?:'[a-fA-F0-9]+)*(?:\.[a-fA-F0-9]*(?:'[a-fA-F0-9]*)*)?(?:[pP][-+]?[0-9]+)?(l|L)?(u|U)?)/},{match:/(-?)\b\d+(?:'\d+)*(?:\.\d*(?:'\d*)*)?(?:[eE][-+]?\d+)?/}],relevance:0},b={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef elifdef elifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(h,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},T={className:"title",begin:t.optional(s)+e.IDENT_RE,relevance:0},v=t.optional(s)+e.IDENT_RE+"\\s*\\(",R={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","typeof","typeof_unqual","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_BitInt","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal96","_Decimal128","_Decimal64x","_Decimal128x","_Float16","_Float32","_Float64","_Float128","_Float32x","_Float64x","_Float128x","const","static","constexpr","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},C=[b,d,n,e.C_BLOCK_COMMENT_MODE,p,h],D={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:R,contains:C.concat([{begin:/\(/,end:/\)/,keywords:R,contains:C.concat(["self"]),relevance:0}]),relevance:0},U={begin:"("+o+"[\\*&\\s]+)+"+v,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:R,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:a,keywords:R,relevance:0},{begin:v,returnBegin:!0,contains:[e.inherit(T,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:R,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,h,p,d,{begin:/\(/,end:/\)/,keywords:R,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,h,p,d]}]},d,n,e.C_BLOCK_COMMENT_MODE,b]};return{name:"C",aliases:["h"],keywords:R,disableAutodetect:!0,illegal:"</",contains:[].concat(D,U,C,[b,{begin:e.IDENT_RE+"::",keywords:R},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:b,strings:h,keywords:R}}}function FN(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),a="decltype\\(auto\\)",s="[a-zA-Z_]\\w*::",o="(?!struct)("+a+"|"+t.optional(s)+"[a-zA-Z_]\\w*"+t.optional("<[^<>]+>")+")",d={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},h={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)"+"|.)",end:"'",illegal:"."},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},p={className:"number",variants:[{begin:"[+-]?(?:(?:[0-9](?:'?[0-9])*\\.(?:[0-9](?:'?[0-9])*)?|\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)"},{begin:"[+-]?\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)"}],relevance:0},b={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(h,{className:"string"}),{className:"string",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},T={className:"title",begin:t.optional(s)+e.IDENT_RE,relevance:0},v=t.optional(s)+e.IDENT_RE+"\\s*\\(",A=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],k=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],R=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","flat_map","flat_set","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],C=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],J={type:k,keyword:A,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:R},j={className:"function.dispatch",relevance:0,keywords:{_hint:C},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},B=[j,b,d,n,e.C_BLOCK_COMMENT_MODE,p,h],Q={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:J,contains:B.concat([{begin:/\(/,end:/\)/,keywords:J,contains:B.concat(["self"]),relevance:0}]),relevance:0},te={className:"function",begin:"("+o+"[\\*&\\s]+)+"+v,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:J,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:a,keywords:J,relevance:0},{begin:v,returnBegin:!0,contains:[T],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[h,p]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:J,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,h,p,d,{begin:/\(/,end:/\)/,keywords:J,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,h,p,d]}]},d,n,e.C_BLOCK_COMMENT_MODE,b]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:J,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(Q,te,j,B,[b,{begin:"\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\s*<(?!<)",end:">",keywords:J,contains:["self",d]},{begin:e.IDENT_RE+"::",keywords:J},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function HN(e){const t=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],n=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],a=["default","false","null","true"],s=["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"],l=["add","alias","and","ascending","args","async","await","by","descending","dynamic","equals","file","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","record","remove","required","scoped","select","set","unmanaged","value|0","var","when","where","with","yield"],o={keyword:s.concat(l),built_in:t,literal:a},d=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),f={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},h={className:"string",begin:/"""("*)(?!")(.|\n)*?"""\1/,relevance:1},p={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},b=e.inherit(p,{illegal:/\n/}),T={className:"subst",begin:/\{/,end:/\}/,keywords:o},v=e.inherit(T,{illegal:/\n/}),A={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,v]},k={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},T]},R=e.inherit(k,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},v]});T.contains=[k,A,p,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,f,e.C_BLOCK_COMMENT_MODE],v.contains=[R,A,b,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,f,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const C={variants:[h,k,A,p,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},D={begin:"<",end:">",contains:[{beginKeywords:"in out"},d]},U=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",J={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:o,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"<!--|-->"},{begin:"</?",end:">"}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},C,f,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},d,D,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[d,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[d,D,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+U+"\\s+)+"+e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:o,contains:[{beginKeywords:n.join(" "),relevance:0},{begin:e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,D],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,relevance:0,contains:[C,f,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},J]}}const qN=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),YN=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],GN=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],jN=[...YN,...GN],VN=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),KN=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),$N=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),XN=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function WN(e){const t=e.regex,n=qN(e),a={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},s="and or not only",l=/@-?\w[\w]*(-\w+)*/,o="[a-zA-Z-][a-zA-Z0-9_-]*",d=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[n.BLOCK_COMMENT,a,n.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+o,relevance:0},n.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+KN.join("|")+")"},{begin:":(:)?("+$N.join("|")+")"}]},n.CSS_VARIABLE,{className:"attribute",begin:"\\b("+XN.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[n.BLOCK_COMMENT,n.HEXCOLOR,n.IMPORTANT,n.CSS_NUMBER_MODE,...d,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...d,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},n.FUNCTION_DISPATCH]},{begin:t.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:l},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:s,attribute:VN.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...d,n.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+jN.join("|")+")\\b"}]}}function QN(e){const t=e.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:t.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:t.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}function ZN(e){const l={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:l,illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"string",variants:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{begin:"`",end:"`"}]},{className:"number",variants:[{match:/-?\b0[xX]\.[a-fA-F0-9](_?[a-fA-F0-9])*[pP][+-]?\d(_?\d)*i?/,relevance:0},{match:/-?\b0[xX](_?[a-fA-F0-9])+((\.([a-fA-F0-9](_?[a-fA-F0-9])*)?)?[pP][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b0[oO](_?[0-7])*i?/,relevance:0},{match:/-?\.\d(_?\d)*([eE][+-]?\d(_?\d)*)?i?/,relevance:0},{match:/-?\b\d(_?\d)*(\.(\d(_?\d)*)?)?([eE][+-]?\d(_?\d)*)?i?/,relevance:0}]},{begin:/:=/},{className:"function",beginKeywords:"func",end:"\\s*(\\{|$)",excludeEnd:!0,contains:[e.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:l,illegal:/["']/}]}]}}function JN(e){const t=e.regex,n=/[_A-Za-z][_0-9A-Za-z]*/;return{name:"GraphQL",aliases:["gql"],case_insensitive:!0,disableAutodetect:!1,keywords:{keyword:["query","mutation","subscription","type","input","schema","directive","interface","union","scalar","fragment","enum","on"],literal:["true","false","null"]},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{scope:"punctuation",match:/[.]{3}/,relevance:0},{scope:"punctuation",begin:/[\!\(\)\:\=\[\]\{\|\}]{1}/,relevance:0},{scope:"variable",begin:/\$/,end:/\W/,excludeEnd:!0,relevance:0},{scope:"meta",match:/@\w+/,excludeEnd:!0},{scope:"symbol",begin:t.concat(n,t.lookahead(/\s*:/)),relevance:0}],illegal:[/[;<']/,/BEGIN/]}}function eO(e){const t=e.regex,n={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:e.NUMBER_RE}]},a=e.COMMENT();a.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];const s={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},l={className:"literal",begin:/\bon|off|true|false|yes|no\b/},o={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},d={begin:/\[/,end:/\]/,contains:[a,l,s,o,n,"self"],relevance:0},f=/[A-Za-z0-9_-]+/,h=/"(\\"|[^"])*"/,p=/'[^']*'/,b=t.either(f,h,p),T=t.concat(b,"(\\s*\\.\\s*",b,")*",t.lookahead(/\s*=\s*[^#\s]/));return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[a,{className:"section",begin:/\[+/,end:/\]+/},{begin:T,className:"attr",starts:{end:/$/,contains:[a,d,l,s,o,n]}}]}}var Tl="[0-9](_*[0-9])*",Zc=`\\.(${Tl})`,Jc="[0-9a-fA-F](_*[0-9a-fA-F])*",l3={className:"number",variants:[{begin:`(\\b(${Tl})((${Zc})|\\.)?|(${Zc}))[eE][+-]?(${Tl})[fFdD]?\\b`},{begin:`\\b(${Tl})((${Zc})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${Zc})[fFdD]?\\b`},{begin:`\\b(${Tl})[fFdD]\\b`},{begin:`\\b0[xX]((${Jc})\\.?|(${Jc})?\\.(${Jc}))[pP][+-]?(${Tl})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${Jc})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function M5(e,t,n){return n===-1?"":e.replace(t,a=>M5(e,t,n-1))}function tO(e){const t=e.regex,n="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",a=n+M5("(?:<"+n+"~~~(?:\\s*,\\s*"+n+"~~~)*>)?",/~~~/g,2),f={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits","goto","when"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},h={className:"meta",begin:"@"+n,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},p={className:"params",begin:/\(/,end:/\)/,keywords:f,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:f,illegal:/<\/|#/,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[e.BACKSLASH_ESCAPE]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,n],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[t.concat(/(?!else)/,n),/\s+/,n,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,n],className:{1:"keyword",3:"title.class"},contains:[p,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+a+"\\s+)",e.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:f,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:f,relevance:0,contains:[h,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,l3,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},l3,h]}}const u3="[A-Za-z$_][0-9A-Za-z$_]*",nO=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],rO=["true","false","null","undefined","NaN","Infinity"],R5=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],D5=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],I5=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],aO=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],iO=[].concat(I5,R5,D5);function sO(e){const t=e.regex,n=(Ee,{after:He})=>{const x="</"+Ee[0].slice(1);return Ee.input.indexOf(x,He)!==-1},a=u3,s={begin:"<>",end:"</>"},l=/<[A-Za-z0-9\\._:-]+\s*\/>/,o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(Ee,He)=>{const x=Ee[0].length+Ee.index,X=Ee.input[x];if(X==="<"||X===","){He.ignoreMatch();return}X===">"&&(n(Ee,{after:x})||He.ignoreMatch());let ce;const M=Ee.input.substring(x);if(ce=M.match(/^\s*=/)){He.ignoreMatch();return}if((ce=M.match(/^\s+extends\s+/))&&ce.index===0){He.ignoreMatch();return}}},d={$pattern:u3,keyword:nO,literal:rO,built_in:iO,"variable.language":aO},f="[0-9](_?[0-9])*",h=`\\.(${f})`,p="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",b={className:"number",variants:[{begin:`(\\b(${p})((${h})|\\.)?|(${h}))[eE][+-]?(${f})\\b`},{begin:`\\b(${p})\\b((${h})\\b|\\.)?|(${h})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},T={className:"subst",begin:"\\$\\{",end:"\\}",keywords:d,contains:[]},v={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,T],subLanguage:"xml"}},A={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,T],subLanguage:"css"}},k={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,T],subLanguage:"graphql"}},R={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,T]},D={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:a+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},U=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,v,A,k,R,{match:/\$\d+/},b];T.contains=U.concat({begin:/\{/,end:/\}/,keywords:d,contains:["self"].concat(U)});const J=[].concat(D,T.contains),j=J.concat([{begin:/(\s*)\(/,end:/\)/,keywords:d,contains:["self"].concat(J)}]),B={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:d,contains:j},Q={variants:[{match:[/class/,/\s+/,a,/\s+/,/extends/,/\s+/,t.concat(a,"(",t.concat(/\./,a),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,a],scope:{1:"keyword",3:"title.class"}}]},te={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...R5,...D5]}},ae={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},Y={variants:[{match:[/function/,/\s+/,a,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[B],illegal:/%/},Z={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function ee(Ee){return t.concat("(?!",Ee.join("|"),")")}const pe={match:t.concat(/\b/,ee([...I5,"super","import"].map(Ee=>`${Ee}\\s*\\(`)),a,t.lookahead(/\s*\(/)),className:"title.function",relevance:0},ue={begin:t.concat(/\./,t.lookahead(t.concat(a,/(?![0-9A-Za-z$_(])/))),end:a,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},me={match:[/get|set/,/\s+/,a,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},B]},$="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",fe={match:[/const|var|let/,/\s+/,a,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead($)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[B]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:d,exports:{PARAMS_CONTAINS:j,CLASS_REFERENCE:te},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),ae,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,v,A,k,R,D,{match:/\$\d+/},b,te,{scope:"attr",match:a+t.lookahead(":"),relevance:0},fe,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[D,e.REGEXP_MODE,{className:"function",begin:$,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:d,contains:j}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:s.begin,end:s.end},{match:l},{begin:o.begin,"on:begin":o.isTrulyOpeningTag,end:o.end}],subLanguage:"xml",contains:[{begin:o.begin,end:o.end,skip:!0,contains:["self"]}]}]},Y,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[B,e.inherit(e.TITLE_MODE,{begin:a,className:"title.function"})]},{match:/\.\.\./,relevance:0},ue,{match:"\\$"+a,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[B]},pe,Z,Q,me,{match:/\$[(.]/}]}}function lO(e){const t={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},n={match:/[{}[\],:]/,className:"punctuation",relevance:0},a=["true","false","null"],s={scope:"literal",beginKeywords:a.join(" ")};return{name:"JSON",aliases:["jsonc"],keywords:{literal:a},contains:[t,n,e.QUOTE_STRING_MODE,s,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}var _l="[0-9](_*[0-9])*",e0=`\\.(${_l})`,t0="[0-9a-fA-F](_*[0-9a-fA-F])*",uO={className:"number",variants:[{begin:`(\\b(${_l})((${e0})|\\.)?|(${e0}))[eE][+-]?(${_l})[fFdD]?\\b`},{begin:`\\b(${_l})((${e0})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${e0})[fFdD]?\\b`},{begin:`\\b(${_l})[fFdD]\\b`},{begin:`\\b0[xX]((${t0})\\.?|(${t0})?\\.(${t0}))[pP][+-]?(${_l})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${t0})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function oO(e){const t={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},n={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},a={className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"@"},s={className:"subst",begin:/\$\{/,end:/\}/,contains:[e.C_NUMBER_MODE]},l={className:"variable",begin:"\\$"+e.UNDERSCORE_IDENT_RE},o={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[l,s]},{begin:"'",end:"'",illegal:/\n/,contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[e.BACKSLASH_ESCAPE,l,s]}]};s.contains.push(o);const d={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+e.UNDERSCORE_IDENT_RE+")?"},f={className:"meta",begin:"@"+e.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[e.inherit(o,{className:"string"}),"self"]}]},h=uO,p=e.COMMENT("/\\*","\\*/",{contains:[e.C_BLOCK_COMMENT_MODE]}),b={variants:[{className:"type",begin:e.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},T=b;return T.variants[1].contains=[b],b.variants[1].contains=[T],{name:"Kotlin",aliases:["kt","kts"],keywords:t,contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),e.C_LINE_COMMENT_MODE,p,n,a,d,f,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:t,relevance:5,contains:[{begin:e.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:"type",begin:/</,end:/>/,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:t,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[b,e.C_LINE_COMMENT_MODE,p],relevance:0},e.C_LINE_COMMENT_MODE,p,d,f,o,e.C_NUMBER_MODE]},p]},{begin:[/class|interface|trait/,/\s+/,e.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},e.UNDERSCORE_TITLE_MODE,{className:"type",begin:/</,end:/>/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},d,f]},o,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:`
81
- `},h]}}const cO=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),dO=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],fO=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],hO=[...dO,...fO],mO=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),L5=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),B5=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),pO=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse(),gO=L5.concat(B5).sort().reverse();function bO(e){const t=cO(e),n=gO,a="and or not only",s="[\\w-]+",l="("+s+"|@\\{"+s+"\\})",o=[],d=[],f=function(U){return{className:"string",begin:"~?"+U+".*?"+U}},h=function(U,J,j){return{className:U,begin:J,relevance:j}},p={$pattern:/[a-z-]+/,keyword:a,attribute:mO.join(" ")},b={begin:"\\(",end:"\\)",contains:d,keywords:p,relevance:0};d.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,f("'"),f('"'),t.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},t.HEXCOLOR,b,h("variable","@@?"+s,10),h("variable","@\\{"+s+"\\}"),h("built_in","~?`[^`]*?`"),{className:"attribute",begin:s+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},t.IMPORTANT,{beginKeywords:"and not"},t.FUNCTION_DISPATCH);const T=d.concat({begin:/\{/,end:/\}/,contains:o}),v={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(d)},A={begin:l+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+pO.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:d}}]},k={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:p,returnEnd:!0,contains:d,relevance:0}},R={className:"variable",variants:[{begin:"@"+s+"\\s*:",relevance:15},{begin:"@"+s}],starts:{end:"[;}]",returnEnd:!0,contains:T}},C={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:l,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,v,h("keyword","all\\b"),h("variable","@\\{"+s+"\\}"),{begin:"\\b("+hO.join("|")+")\\b",className:"selector-tag"},t.CSS_NUMBER_MODE,h("selector-tag",l,0),h("selector-id","#"+l),h("selector-class","\\."+l,0),h("selector-tag","&",0),t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+L5.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+B5.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:T},{begin:"!important"},t.FUNCTION_DISPATCH]},D={begin:s+`:(:)?(${n.join("|")})`,returnBegin:!0,contains:[C]};return o.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,k,R,D,A,C,v,t.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:o}}function EO(e){const t="\\[=*\\[",n="\\]=*\\]",a={begin:t,end:n,contains:["self"]},s=[e.COMMENT("--(?!"+t+")","$"),e.COMMENT("--"+t,n,{contains:[a],relevance:10})];return{name:"Lua",aliases:["pluto"],keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:s.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[e.inherit(e.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:s}].concat(s)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:t,end:n,contains:[a],relevance:5}])}}function yO(e){const t={className:"variable",variants:[{begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{begin:/\$[@%<?\^\+\*]/}]},n={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,t]},a={className:"variable",begin:/\$\([\w-]+\s/,end:/\)/,keywords:{built_in:"subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value"},contains:[t,n]},s={begin:"^"+e.UNDERSCORE_IDENT_RE+"\\s*(?=[:+?]?=)"},l={className:"meta",begin:/^\.PHONY:/,end:/$/,keywords:{$pattern:/[\.\w]+/,keyword:".PHONY"}},o={className:"section",begin:/^[^\s]+:/,end:/$/,contains:[t]};return{name:"Makefile",aliases:["mk","mak","make"],keywords:{$pattern:/[\w-]+/,keyword:"define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath"},contains:[e.HASH_COMMENT_MODE,t,n,a,s,l,o]}}function vO(e){const t=e.regex,n={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},a={begin:"^[-\\*]{3,}",end:"$"},s={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},l={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},o={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},d=/[A-Za-z][A-Za-z0-9+.-]*/,f={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:t.concat(/\[.+?\]\(/,d,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},h={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},p={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},b=e.inherit(h,{contains:[]}),T=e.inherit(p,{contains:[]});h.contains.push(T),p.contains.push(b);let v=[n,f];return[h,p,b,T].forEach(C=>{C.contains=C.contains.concat(v)}),v=v.concat(h,p),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:v},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:v}]}]},n,l,h,p,{className:"quote",begin:"^>\\s+",contains:v,end:"$"},s,a,f,o,{scope:"literal",match:/&([a-zA-Z0-9]+|#[0-9]{1,7}|#[Xx][0-9a-fA-F]{1,6});/}]}}function TO(e){const t={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},n=/[a-zA-Z@][a-zA-Z0-9_]*/,d={"variable.language":["this","super"],$pattern:n,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},f={$pattern:n,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:d,illegal:"</",contains:[t,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:"string",variants:[{begin:'@"',end:'"',illegal:"\\n",contains:[e.BACKSLASH_ESCAPE]}]},{className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),{className:"string",begin:/<.*?>/,end:/$/,illegal:"\\n"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+f.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:f,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:"\\."+e.UNDERSCORE_IDENT_RE,relevance:0}]}}function _O(e){const t=e.regex,n=["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","class","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","field","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","method","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"],a=/[dualxmsipngr]{0,12}/,s={$pattern:/[\w.]+/,keyword:n.join(" ")},l={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:s},o={begin:/->\{/,end:/\}/},d={scope:"attr",match:/\s+:\s*\w+(\s*\(.*?\))?/},f={scope:"variable",variants:[{begin:/\$\d/},{begin:t.concat(/[$%@](?!")(\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@](?!")[^\s\w{=]|\$=/,relevance:0}],contains:[d]},h={className:"number",variants:[{match:/0?\.[0-9][0-9_]+\b/},{match:/\bv?(0|[1-9][0-9_]*(\.[0-9_]+)?|[1-9][0-9_]*)\b/},{match:/\b0[0-7][0-7_]*\b/},{match:/\b0x[0-9a-fA-F][0-9a-fA-F_]*\b/},{match:/\b0b[0-1][0-1_]*\b/}],relevance:0},p=[e.BACKSLASH_ESCAPE,l,f],b=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],T=(k,R,C="\\1")=>{const D=C==="\\1"?C:t.concat(C,R);return t.concat(t.concat("(?:",k,")"),R,/(?:\\.|[^\\\/])*?/,D,/(?:\\.|[^\\\/])*?/,C,a)},v=(k,R,C)=>t.concat(t.concat("(?:",k,")"),R,/(?:\\.|[^\\\/])*?/,C,a),A=[f,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),o,{className:"string",contains:p,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},h,{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:T("s|tr|y",t.either(...b,{capture:!0}))},{begin:T("s|tr|y","\\(","\\)")},{begin:T("s|tr|y","\\[","\\]")},{begin:T("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:v("(?:m|qr)?",/\//,/\//)},{begin:v("m|qr",t.either(...b,{capture:!0}),/\1/)},{begin:v("m|qr",/\(/,/\)/)},{begin:v("m|qr",/\[/,/\]/)},{begin:v("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub method",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,d]},{className:"class",beginKeywords:"class",end:"[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,d,h]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return l.contains=A,o.contains=A,{name:"Perl",aliases:["pl","pm"],keywords:s,contains:A}}function SO(e){const t=e.regex,n=/(?![A-Za-z0-9])(?![$])/,a=t.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,n),s=t.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,n),l=t.concat(/[A-Z]+/,n),o={scope:"variable",match:"\\$+"+a},d={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},f={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},h=e.inherit(e.APOS_STRING_MODE,{illegal:null}),p=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(f)}),b={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(f),"on:begin":(ue,me)=>{me.data._beginMatch=ue[1]||ue[2]},"on:end":(ue,me)=>{me.data._beginMatch!==ue[1]&&me.ignoreMatch()}},T=e.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),v=`[
82
- ]`,A={scope:"string",variants:[p,h,b,T]},k={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},R=["false","null","true"],C=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],D=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],J={keyword:C,literal:(ue=>{const me=[];return ue.forEach($=>{me.push($),$.toLowerCase()===$?me.push($.toUpperCase()):me.push($.toLowerCase())}),me})(R),built_in:D},j=ue=>ue.map(me=>me.replace(/\|\d+$/,"")),B={variants:[{match:[/new/,t.concat(v,"+"),t.concat("(?!",j(D).join("\\b|"),"\\b)"),s],scope:{1:"keyword",4:"title.class"}}]},Q=t.concat(a,"\\b(?!\\()"),te={variants:[{match:[t.concat(/::/,t.lookahead(/(?!class\b)/)),Q],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[s,t.concat(/::/,t.lookahead(/(?!class\b)/)),Q],scope:{1:"title.class",3:"variable.constant"}},{match:[s,t.concat("::",t.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[s,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},ae={scope:"attr",match:t.concat(a,t.lookahead(":"),t.lookahead(/(?!::)/))},Y={relevance:0,begin:/\(/,end:/\)/,keywords:J,contains:[ae,o,te,e.C_BLOCK_COMMENT_MODE,A,k,B]},Z={relevance:0,match:[/\b/,t.concat("(?!fn\\b|function\\b|",j(C).join("\\b|"),"|",j(D).join("\\b|"),"\\b)"),a,t.concat(v,"*"),t.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[Y]};Y.contains.push(Z);const ee=[ae,te,e.C_BLOCK_COMMENT_MODE,A,k,B],pe={begin:t.concat(/#\[\s*\\?/,t.either(s,l)),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:R,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:R,keyword:["new","array"]},contains:["self",...ee]},...ee,{scope:"meta",variants:[{match:s},{match:l}]}]};return{case_insensitive:!1,keywords:J,contains:[pe,e.HASH_COMMENT_MODE,e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:e.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},d,{scope:"variable.language",match:/\$this\b/},o,Z,te,{match:[/const/,/\s/,a],scope:{1:"keyword",3:"variable.constant"}},B,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:J,contains:["self",pe,o,te,e.C_BLOCK_COMMENT_MODE,A,k]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},e.UNDERSCORE_TITLE_MODE]},A,k]}}function xO(e){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}function AO(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}function wO(e){const t=e.regex,n=new RegExp("[\\p{XID_Start}_]\\p{XID_Continue}*","u"),a=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],d={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:a,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},f={className:"meta",begin:/^(>>>|\.\.\.) /},h={className:"subst",begin:/\{/,end:/\}/,keywords:d,illegal:/#/},p={begin:/\{\{/,relevance:0},b={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,f],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,f],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,f,p,h]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,f,p,h]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,p,h]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,p,h]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},T="[0-9](_?[0-9])*",v=`(\\b(${T}))?\\.(${T})|\\b(${T})\\.`,A=`\\b|${a.join("|")}`,k={className:"number",relevance:0,variants:[{begin:`(\\b(${T})|(${v}))[eE][+-]?(${T})[jJ]?(?=${A})`},{begin:`(${v})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${A})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${A})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${A})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${A})`},{begin:`\\b(${T})[jJ](?=${A})`}]},R={className:"comment",begin:t.lookahead(/# type:/),end:/$/,keywords:d,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},C={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:d,contains:["self",f,k,b,e.HASH_COMMENT_MODE]}]};return h.contains=[b,k,f],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:d,illegal:/(<\/|\?)|=>/,contains:[f,k,{scope:"variable.language",match:/\bself\b/},{beginKeywords:"if",relevance:0},{match:/\bor\b/,scope:"keyword"},b,R,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[C]},{variants:[{match:[/\bclass/,/\s+/,n,/\s*/,/\(\s*/,n,/\s*\)/]},{match:[/\bclass/,/\s+/,n]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[k,C,b]}]}}function kO(e){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}function CO(e){const t=e.regex,n=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,a=t.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),s=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,l=t.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:n,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[e.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:t.lookahead(t.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:n},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{scope:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[s,a]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,a]},{scope:{1:"punctuation",2:"number"},match:[l,a]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,a]}]},{scope:{3:"operator"},match:[n,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:s},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:l},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}function NO(e){const t=e.regex,n="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",a=t.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),s=t.concat(a,/(::\w+)*/),o={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield",...["include","extend","prepend","public","private","protected","raise","throw"]],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},d={className:"doctag",begin:"@[A-Za-z]+"},f={begin:"#<",end:">"},h=[e.COMMENT("#","$",{contains:[d]}),e.COMMENT("^=begin","^=end",{contains:[d],relevance:10}),e.COMMENT("^__END__",e.MATCH_NOTHING_RE)],p={className:"subst",begin:/#\{/,end:/\}/,keywords:o},b={className:"string",contains:[e.BACKSLASH_ESCAPE,p],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?</,end:/>/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:t.concat(/<<[-~]?'?/,t.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[e.BACKSLASH_ESCAPE,p]})]}]},T="[1-9](_?[0-9])*|0",v="[0-9](_?[0-9])*",A={className:"number",relevance:0,variants:[{begin:`\\b(${T})(\\.(${v}))?([eE][+-]?(${v})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},k={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:o}]},B=[b,{variants:[{match:[/class\s+/,s,/\s+<\s+/,s]},{match:[/\b(class|module)\s+/,s]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:o},{match:[/(include|extend)\s+/,s],scope:{2:"title.class"},keywords:o},{relevance:0,match:[s,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:a,scope:"title.class"},{match:[/def/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[k]},{begin:e.IDENT_RE+"::"},{className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[b,{begin:n}],relevance:0},A,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|(?!=)/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:o},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,p],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(f,h),relevance:0}].concat(f,h);p.contains=B,k.contains=B;const Y=[{begin:/^\s*=>/,starts:{end:"$",contains:B}},{className:"meta.prompt",begin:"^("+"[>?]>"+"|"+"[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]"+"|"+"(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>"+")(?=[ ])",starts:{end:"$",keywords:o,contains:B}}];return h.unshift(f),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:o,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(Y).concat(h).concat(B)}}function OO(e){const t=e.regex,n=/(r#)?/,a=t.concat(n,e.UNDERSCORE_IDENT_RE),s=t.concat(n,e.IDENT_RE),l={className:"title.function.invoke",relevance:0,begin:t.concat(/\b/,/(?!let|for|while|if|else|match\b)/,s,t.lookahead(/\s*\(/))},o="([ui](8|16|32|64|128|size)|f(32|64))?",d=["abstract","as","async","await","become","box","break","const","continue","crate","do","dyn","else","enum","extern","false","final","fn","for","if","impl","in","let","loop","macro","match","mod","move","mut","override","priv","pub","ref","return","self","Self","static","struct","super","trait","true","try","type","typeof","union","unsafe","unsized","use","virtual","where","while","yield"],f=["true","false","Some","None","Ok","Err"],h=["drop ","Copy","Send","Sized","Sync","Drop","Fn","FnMut","FnOnce","ToOwned","Clone","Debug","PartialEq","PartialOrd","Eq","Ord","AsRef","AsMut","Into","From","Default","Iterator","Extend","IntoIterator","DoubleEndedIterator","ExactSizeIterator","SliceConcatExt","ToString","assert!","assert_eq!","bitflags!","bytes!","cfg!","col!","concat!","concat_idents!","debug_assert!","debug_assert_eq!","env!","eprintln!","panic!","file!","format!","format_args!","include_bytes!","include_str!","line!","local_data_key!","module_path!","option_env!","print!","println!","select!","stringify!","try!","unimplemented!","unreachable!","vec!","write!","writeln!","macro_rules!","assert_ne!","debug_assert_ne!"],p=["i8","i16","i32","i64","i128","isize","u8","u16","u32","u64","u128","usize","f32","f64","str","char","bool","Box","Option","Result","String","Vec"];return{name:"Rust",aliases:["rs"],keywords:{$pattern:e.IDENT_RE+"!?",type:p,keyword:d,literal:f,built_in:h},illegal:"</",contains:[e.C_LINE_COMMENT_MODE,e.COMMENT("/\\*","\\*/",{contains:["self"]}),e.inherit(e.QUOTE_STRING_MODE,{begin:/b?"/,illegal:null}),{className:"symbol",begin:/'[a-zA-Z_][a-zA-Z0-9_]*(?!')/},{scope:"string",variants:[{begin:/b?r(#*)"(.|\n)*?"\1(?!#)/},{begin:/b?'/,end:/'/,contains:[{scope:"char.escape",match:/\\('|\w|x\w{2}|u\w{4}|U\w{8})/}]}]},{className:"number",variants:[{begin:"\\b0b([01_]+)"+o},{begin:"\\b0o([0-7_]+)"+o},{begin:"\\b0x([A-Fa-f0-9_]+)"+o},{begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+o}],relevance:0},{begin:[/fn/,/\s+/,a],className:{1:"keyword",3:"title.function"}},{className:"meta",begin:"#!?\\[",end:"\\]",contains:[{className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE]}]},{begin:[/let/,/\s+/,/(?:mut\s+)?/,a],className:{1:"keyword",3:"keyword",4:"variable"}},{begin:[/for/,/\s+/,a,/\s+/,/in/],className:{1:"keyword",3:"variable",5:"keyword"}},{begin:[/type/,/\s+/,a],className:{1:"keyword",3:"title.class"}},{begin:[/(?:trait|enum|struct|union|impl|for)/,/\s+/,a],className:{1:"keyword",3:"title.class"}},{begin:e.IDENT_RE+"::",keywords:{keyword:"Self",built_in:h,type:p}},{className:"punctuation",begin:"->"},l]}}const MO=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),RO=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","optgroup","option","p","picture","q","quote","samp","section","select","source","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],DO=["defs","g","marker","mask","pattern","svg","switch","symbol","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feFlood","feGaussianBlur","feImage","feMerge","feMorphology","feOffset","feSpecularLighting","feTile","feTurbulence","linearGradient","radialGradient","stop","circle","ellipse","image","line","path","polygon","polyline","rect","text","use","textPath","tspan","foreignObject","clipPath"],IO=[...RO,...DO],LO=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"].sort().reverse(),BO=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"].sort().reverse(),PO=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),UO=["accent-color","align-content","align-items","align-self","alignment-baseline","all","anchor-name","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-range","animation-range-end","animation-range-start","animation-timeline","animation-timing-function","appearance","aspect-ratio","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-end-end-radius","border-end-start-radius","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-start-end-radius","border-start-start-radius","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-align","box-decoration-break","box-direction","box-flex","box-flex-group","box-lines","box-ordinal-group","box-orient","box-pack","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","cx","cy","direction","display","dominant-baseline","empty-cells","enable-background","field-sizing","fill","fill-opacity","fill-rule","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flood-color","flood-opacity","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","font-smooth","font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-position","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphenate-character","hyphenate-limit-chars","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","initial-letter","initial-letter-align","inline-size","inset","inset-area","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","isolation","justify-content","justify-items","justify-self","kerning","left","letter-spacing","lighting-color","line-break","line-height","line-height-step","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","margin-trim","marker","marker-end","marker-mid","marker-start","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","masonry-auto-flow","math-depth","math-shift","math-style","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","offset","offset-anchor","offset-distance","offset-path","offset-position","offset-rotate","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","overflow-wrap","overflow-x","overflow-y","overlay","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","paint-order","pause","pause-after","pause-before","perspective","perspective-origin","place-content","place-items","place-self","pointer-events","position","position-anchor","position-visibility","print-color-adjust","quotes","r","resize","rest","rest-after","rest-before","right","rotate","row-gap","ruby-align","ruby-position","scale","scroll-behavior","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","shape-rendering","speak","speak-as","src","stop-color","stop-opacity","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","table-layout","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-decoration-thickness","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-size-adjust","text-transform","text-underline-offset","text-underline-position","text-wrap","text-wrap-mode","text-wrap-style","timeline-scope","top","touch-action","transform","transform-box","transform-origin","transform-style","transition","transition-behavior","transition-delay","transition-duration","transition-property","transition-timing-function","translate","unicode-bidi","user-modify","user-select","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","view-transition-name","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","white-space-collapse","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","x","y","z-index","zoom"].sort().reverse();function zO(e){const t=MO(e),n=PO,a=BO,s="@[a-z-]+",l="and or not only",d={className:"variable",begin:"(\\$"+"[a-zA-Z-][a-zA-Z0-9_-]*"+")\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+IO.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+a.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+n.join("|")+")"},d,{begin:/\(/,end:/\)/,contains:[t.CSS_NUMBER_MODE]},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+UO.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[t.BLOCK_COMMENT,d,t.HEXCOLOR,t.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.IMPORTANT,t.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:s,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:l,attribute:LO.join(" ")},contains:[{begin:s,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},d,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.HEXCOLOR,t.CSS_NUMBER_MODE]},t.FUNCTION_DISPATCH]}}function FO(e){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}function HO(e){const t=e.regex,n=e.COMMENT("--","$"),a={scope:"string",variants:[{begin:/'/,end:/'/,contains:[{match:/''/}]}]},s={begin:/"/,end:/"/,contains:[{match:/""/}]},l=["true","false","unknown"],o=["double precision","large object","with timezone","without timezone"],d=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],f=["add","asc","collation","desc","final","first","last","view"],h=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],p=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],b=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],T=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],v=p,A=[...h,...f].filter(j=>!p.includes(j)),k={scope:"variable",match:/@[a-z0-9][a-z0-9_]*/},R={scope:"operator",match:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},C={match:t.concat(/\b/,t.either(...v),/\s*\(/),relevance:0,keywords:{built_in:v}};function D(j){return t.concat(/\b/,t.either(...j.map(B=>B.replace(/\s+/,"\\s+"))),/\b/)}const U={scope:"keyword",match:D(T),relevance:0};function J(j,{exceptions:B,when:Q}={}){const te=Q;return B=B||[],j.map(ae=>ae.match(/\|\d+$/)||B.includes(ae)?ae:te(ae)?`${ae}|0`:ae)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:J(A,{when:j=>j.length<3}),literal:l,type:d,built_in:b},contains:[{scope:"type",match:D(o)},U,C,k,a,s,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,R]}}function P5(e){return e?typeof e=="string"?e:e.source:null}function Zu(e){return jt("(?=",e,")")}function jt(...e){return e.map(n=>P5(n)).join("")}function qO(e){const t=e[e.length-1];return typeof t=="object"&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function sr(...e){return"("+(qO(e).capture?"":"?:")+e.map(a=>P5(a)).join("|")+")"}const Fm=e=>jt(/\b/,e,/\w$/.test(e)?/\b/:/\B/),YO=["Protocol","Type"].map(Fm),o3=["init","self"].map(Fm),GO=["Any","Self"],qh=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","borrowing","break","case","catch","class","consume","consuming","continue","convenience","copy","default","defer","deinit","didSet","distributed","do","dynamic","each","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","macro","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","package","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],c3=["false","nil","true"],jO=["assignment","associativity","higherThan","left","lowerThan","none","right"],VO=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],d3=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],U5=sr(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),z5=sr(U5,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),Yh=jt(U5,z5,"*"),F5=sr(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),D0=sr(F5,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),Sa=jt(F5,D0,"*"),n0=jt(/[A-Z]/,D0,"*"),KO=["attached","autoclosure",jt(/convention\(/,sr("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",jt(/objc\(/,Sa,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],$O=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function XO(e){const t={match:/\s+/,relevance:0},n=e.COMMENT("/\\*","\\*/",{contains:["self"]}),a=[e.C_LINE_COMMENT_MODE,n],s={match:[/\./,sr(...YO,...o3)],className:{2:"keyword"}},l={match:jt(/\./,sr(...qh)),relevance:0},o=qh.filter(We=>typeof We=="string").concat(["_|0"]),d=qh.filter(We=>typeof We!="string").concat(GO).map(Fm),f={variants:[{className:"keyword",match:sr(...d,...o3)}]},h={$pattern:sr(/\b\w+/,/#\w+/),keyword:o.concat(VO),literal:c3},p=[s,l,f],b={match:jt(/\./,sr(...d3)),relevance:0},T={className:"built_in",match:jt(/\b/,sr(...d3),/(?=\()/)},v=[b,T],A={match:/->/,relevance:0},k={className:"operator",relevance:0,variants:[{match:Yh},{match:`\\.(\\.|${z5})+`}]},R=[A,k],C="([0-9]_*)+",D="([0-9a-fA-F]_*)+",U={className:"number",relevance:0,variants:[{match:`\\b(${C})(\\.(${C}))?([eE][+-]?(${C}))?\\b`},{match:`\\b0x(${D})(\\.(${D}))?([pP][+-]?(${C}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},J=(We="")=>({className:"subst",variants:[{match:jt(/\\/,We,/[0\\tnr"']/)},{match:jt(/\\/,We,/u\{[0-9a-fA-F]{1,8}\}/)}]}),j=(We="")=>({className:"subst",match:jt(/\\/,We,/[\t ]*(?:[\r\n]|\r\n)/)}),B=(We="")=>({className:"subst",label:"interpol",begin:jt(/\\/,We,/\(/),end:/\)/}),Q=(We="")=>({begin:jt(We,/"""/),end:jt(/"""/,We),contains:[J(We),j(We),B(We)]}),te=(We="")=>({begin:jt(We,/"/),end:jt(/"/,We),contains:[J(We),B(We)]}),ae={className:"string",variants:[Q(),Q("#"),Q("##"),Q("###"),te(),te("#"),te("##"),te("###")]},Y=[e.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[e.BACKSLASH_ESCAPE]}],Z={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:Y},ee=We=>{const Ot=jt(We,/\//),ln=jt(/\//,We);return{begin:Ot,end:ln,contains:[...Y,{scope:"comment",begin:`#(?!.*${ln})`,end:/$/}]}},pe={scope:"regexp",variants:[ee("###"),ee("##"),ee("#"),Z]},ue={match:jt(/`/,Sa,/`/)},me={className:"variable",match:/\$\d+/},$={className:"variable",match:`\\$${D0}+`},fe=[ue,me,$],Ee={match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:$O,contains:[...R,U,ae]}]}},He={scope:"keyword",match:jt(/@/,sr(...KO),Zu(sr(/\(/,/\s+/)))},x={scope:"meta",match:jt(/@/,Sa)},X=[Ee,He,x],ce={match:Zu(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:jt(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,D0,"+")},{className:"type",match:n0,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:jt(/\s+&\s+/,Zu(n0)),relevance:0}]},M={begin:/</,end:/>/,keywords:h,contains:[...a,...p,...X,A,ce]};ce.contains.push(M);const De={match:jt(Sa,/\s*:/),keywords:"_|0",relevance:0},qe={begin:/\(/,end:/\)/,relevance:0,keywords:h,contains:["self",De,...a,pe,...p,...v,...R,U,ae,...fe,...X,ce]},Re={begin:/</,end:/>/,keywords:"repeat each",contains:[...a,ce]},Tt={begin:sr(Zu(jt(Sa,/\s*:/)),Zu(jt(Sa,/\s+/,Sa,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:Sa}]},nt={begin:/\(/,end:/\)/,keywords:h,contains:[Tt,...a,...p,...R,U,ae,...X,ce,qe],endsParent:!0,illegal:/["']/},st={match:[/(func|macro)/,/\s+/,sr(ue.match,Sa,Yh)],className:{1:"keyword",3:"title.function"},contains:[Re,nt,t],illegal:[/\[/,/%/]},Ye={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[Re,nt,t],illegal:/\[|%/},wt={match:[/operator/,/\s+/,Yh],className:{1:"keyword",3:"title"}},rt={begin:[/precedencegroup/,/\s+/,n0],className:{1:"keyword",3:"title"},contains:[ce],keywords:[...jO,...c3],end:/}/},Ke={match:[/class\b/,/\s+/,/func\b/,/\s+/,/\b[A-Za-z_][A-Za-z0-9_]*\b/],scope:{1:"keyword",3:"keyword",5:"title.function"}},Ve={match:[/class\b/,/\s+/,/var\b/],scope:{1:"keyword",3:"keyword"}},ot={begin:[/(struct|protocol|class|extension|enum|actor)/,/\s+/,Sa,/\s*/],beginScope:{1:"keyword",3:"title.class"},keywords:h,contains:[Re,...p,{begin:/:/,end:/\{/,keywords:h,contains:[{scope:"title.class.inherited",match:n0},...p],relevance:0}]};for(const We of ae.variants){const Ot=We.contains.find(Dt=>Dt.label==="interpol");Ot.keywords=h;const ln=[...p,...v,...R,U,ae,...fe];Ot.contains=[...ln,{begin:/\(/,end:/\)/,contains:["self",...ln]}]}return{name:"Swift",keywords:h,contains:[...a,st,Ye,Ke,Ve,ot,wt,rt,{beginKeywords:"import",end:/$/,contains:[...a],relevance:0},pe,...p,...v,...R,U,ae,...fe,...X,ce,qe]}}const I0="[A-Za-z$_][0-9A-Za-z$_]*",H5=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends","using"],q5=["true","false","null","undefined","NaN","Infinity"],Y5=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],G5=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],j5=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],V5=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],K5=[].concat(j5,Y5,G5);function WO(e){const t=e.regex,n=(Ee,{after:He})=>{const x="</"+Ee[0].slice(1);return Ee.input.indexOf(x,He)!==-1},a=I0,s={begin:"<>",end:"</>"},l=/<[A-Za-z0-9\\._:-]+\s*\/>/,o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(Ee,He)=>{const x=Ee[0].length+Ee.index,X=Ee.input[x];if(X==="<"||X===","){He.ignoreMatch();return}X===">"&&(n(Ee,{after:x})||He.ignoreMatch());let ce;const M=Ee.input.substring(x);if(ce=M.match(/^\s*=/)){He.ignoreMatch();return}if((ce=M.match(/^\s+extends\s+/))&&ce.index===0){He.ignoreMatch();return}}},d={$pattern:I0,keyword:H5,literal:q5,built_in:K5,"variable.language":V5},f="[0-9](_?[0-9])*",h=`\\.(${f})`,p="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",b={className:"number",variants:[{begin:`(\\b(${p})((${h})|\\.)?|(${h}))[eE][+-]?(${f})\\b`},{begin:`\\b(${p})\\b((${h})\\b|\\.)?|(${h})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},T={className:"subst",begin:"\\$\\{",end:"\\}",keywords:d,contains:[]},v={begin:".?html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,T],subLanguage:"xml"}},A={begin:".?css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,T],subLanguage:"css"}},k={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,T],subLanguage:"graphql"}},R={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,T]},D={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:a+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},U=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,v,A,k,R,{match:/\$\d+/},b];T.contains=U.concat({begin:/\{/,end:/\}/,keywords:d,contains:["self"].concat(U)});const J=[].concat(D,T.contains),j=J.concat([{begin:/(\s*)\(/,end:/\)/,keywords:d,contains:["self"].concat(J)}]),B={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:d,contains:j},Q={variants:[{match:[/class/,/\s+/,a,/\s+/,/extends/,/\s+/,t.concat(a,"(",t.concat(/\./,a),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,a],scope:{1:"keyword",3:"title.class"}}]},te={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...Y5,...G5]}},ae={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},Y={variants:[{match:[/function/,/\s+/,a,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[B],illegal:/%/},Z={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function ee(Ee){return t.concat("(?!",Ee.join("|"),")")}const pe={match:t.concat(/\b/,ee([...j5,"super","import"].map(Ee=>`${Ee}\\s*\\(`)),a,t.lookahead(/\s*\(/)),className:"title.function",relevance:0},ue={begin:t.concat(/\./,t.lookahead(t.concat(a,/(?![0-9A-Za-z$_(])/))),end:a,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},me={match:[/get|set/,/\s+/,a,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},B]},$="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",fe={match:[/const|var|let/,/\s+/,a,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead($)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[B]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:d,exports:{PARAMS_CONTAINS:j,CLASS_REFERENCE:te},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),ae,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,v,A,k,R,D,{match:/\$\d+/},b,te,{scope:"attr",match:a+t.lookahead(":"),relevance:0},fe,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[D,e.REGEXP_MODE,{className:"function",begin:$,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:d,contains:j}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:s.begin,end:s.end},{match:l},{begin:o.begin,"on:begin":o.isTrulyOpeningTag,end:o.end}],subLanguage:"xml",contains:[{begin:o.begin,end:o.end,skip:!0,contains:["self"]}]}]},Y,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[B,e.inherit(e.TITLE_MODE,{begin:a,className:"title.function"})]},{match:/\.\.\./,relevance:0},ue,{match:"\\$"+a,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[B]},pe,Z,Q,me,{match:/\$[(.]/}]}}function QO(e){const t=e.regex,n=WO(e),a=I0,s=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],l={begin:[/namespace/,/\s+/,e.IDENT_RE],beginScope:{1:"keyword",3:"title.class"}},o={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:s},contains:[n.exports.CLASS_REFERENCE]},d={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},f=["type","interface","public","private","protected","implements","declare","abstract","readonly","enum","override","satisfies"],h={$pattern:I0,keyword:H5.concat(f),literal:q5,built_in:K5.concat(s),"variable.language":V5},p={className:"meta",begin:"@"+a},b=(k,R,C)=>{const D=k.contains.findIndex(U=>U.label===R);if(D===-1)throw new Error("can not find mode to replace");k.contains.splice(D,1,C)};Object.assign(n.keywords,h),n.exports.PARAMS_CONTAINS.push(p);const T=n.contains.find(k=>k.scope==="attr"),v=Object.assign({},T,{match:t.concat(a,t.lookahead(/\s*\?:/))});n.exports.PARAMS_CONTAINS.push([n.exports.CLASS_REFERENCE,T,v]),n.contains=n.contains.concat([p,l,o,v]),b(n,"shebang",e.SHEBANG()),b(n,"use_strict",d);const A=n.contains.find(k=>k.label==="func.def");return A.relevance=0,Object.assign(n,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),n}function ZO(e){const t=e.regex,n={className:"string",begin:/"(""|[^/n])"C\b/},a={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},s=/\d{1,2}\/\d{1,2}\/\d{4}/,l=/\d{4}-\d{1,2}-\d{1,2}/,o=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,d=/\d{1,2}(:\d{1,2}){1,2}/,f={className:"literal",variants:[{begin:t.concat(/# */,t.either(l,s),/ *#/)},{begin:t.concat(/# */,d,/ *#/)},{begin:t.concat(/# */,o,/ *#/)},{begin:t.concat(/# */,t.either(l,s),/ +/,t.either(o,d),/ *#/)}]},h={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},p={className:"label",begin:/^\w+:/},b=e.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),T=e.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[n,a,f,h,p,b,T,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[T]}]}}function JO(e){e.regex;const t=e.COMMENT(/\(;/,/;\)/);t.contains.push("self");const n=e.COMMENT(/;;/,/$/),a=["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"],s={begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},l={className:"variable",begin:/\$[\w_]+/},o={match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},d={className:"number",relevance:0,match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/},f={match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},h={className:"keyword",match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/};return{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:a},contains:[n,t,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},l,o,s,e.QUOTE_STRING_MODE,f,h,d]}}function eM(e){const t=e.regex,n=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),a=/[\p{L}0-9._:-]+/u,s={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},l={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},o=e.inherit(l,{begin:/\(/,end:/\)/}),d=e.inherit(e.APOS_STRING_MODE,{className:"string"}),f=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),h={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:a,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[s]},{begin:/'/,end:/'/,contains:[s]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[l,f,d,o,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[l,o,f,d]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},s,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[f]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[h],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[h],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:t.concat(/</,t.lookahead(t.concat(n,t.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:n,relevance:0,starts:h}]},{className:"tag",begin:t.concat(/<\//,t.lookahead(t.concat(n,/>/))),contains:[{className:"name",begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}function tM(e){const t="true false yes no null",n="[\\w#;/?:@&=+$,.~*'()[\\]]+",a={className:"attr",variants:[{begin:/[\w*@][\w*@ :()\./-]*:(?=[ \t]|$)/},{begin:/"[\w*@][\w*@ :()\./-]*":(?=[ \t]|$)/},{begin:/'[\w*@][\w*@ :()\./-]*':(?=[ \t]|$)/}]},s={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},l={className:"string",relevance:0,begin:/'/,end:/'/,contains:[{match:/''/,scope:"char.escape",relevance:0}]},o={className:"string",relevance:0,variants:[{begin:/"/,end:/"/},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,s]},d=e.inherit(o,{variants:[{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),T={className:"number",begin:"\\b"+"[0-9]{4}(-[0-9][0-9]){0,2}"+"([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?"+"(\\.[0-9]*)?"+"([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?"+"\\b"},v={end:",",endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},A={begin:/\{/,end:/\}/,contains:[v],illegal:"\\n",relevance:0},k={begin:"\\[",end:"\\]",contains:[v],illegal:"\\n",relevance:0},R=[a,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+n},{className:"type",begin:"!<"+n+">"},{className:"type",begin:"!"+n},{className:"type",begin:"!!"+n},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},T,{className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},A,k,l,o],C=[...R];return C.pop(),C.push(d),v.contains=C,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:R}}const nM={arduino:PN,bash:UN,c:zN,cpp:FN,csharp:HN,css:WN,diff:QN,go:ZN,graphql:JN,ini:eO,java:tO,javascript:sO,json:lO,kotlin:oO,less:bO,lua:EO,makefile:yO,markdown:vO,objectivec:TO,perl:_O,php:SO,"php-template":xO,plaintext:AO,python:wO,"python-repl":kO,r:CO,ruby:NO,rust:OO,scss:zO,shell:FO,sql:HO,swift:XO,typescript:QO,vbnet:ZO,wasm:JO,xml:eM,yaml:tM};var Gh,f3;function rM(){if(f3)return Gh;f3=1;function e(q){return q instanceof Map?q.clear=q.delete=q.set=function(){throw new Error("map is read-only")}:q instanceof Set&&(q.add=q.clear=q.delete=function(){throw new Error("set is read-only")}),Object.freeze(q),Object.getOwnPropertyNames(q).forEach(ye=>{const Be=q[ye],ct=typeof Be;(ct==="object"||ct==="function")&&!Object.isFrozen(Be)&&e(Be)}),q}class t{constructor(ye){ye.data===void 0&&(ye.data={}),this.data=ye.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function n(q){return q.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function a(q,...ye){const Be=Object.create(null);for(const ct in q)Be[ct]=q[ct];return ye.forEach(function(ct){for(const tn in ct)Be[tn]=ct[tn]}),Be}const s="</span>",l=q=>!!q.scope,o=(q,{prefix:ye})=>{if(q.startsWith("language:"))return q.replace("language:","language-");if(q.includes(".")){const Be=q.split(".");return[`${ye}${Be.shift()}`,...Be.map((ct,tn)=>`${ct}${"_".repeat(tn+1)}`)].join(" ")}return`${ye}${q}`};class d{constructor(ye,Be){this.buffer="",this.classPrefix=Be.classPrefix,ye.walk(this)}addText(ye){this.buffer+=n(ye)}openNode(ye){if(!l(ye))return;const Be=o(ye.scope,{prefix:this.classPrefix});this.span(Be)}closeNode(ye){l(ye)&&(this.buffer+=s)}value(){return this.buffer}span(ye){this.buffer+=`<span class="${ye}">`}}const f=(q={})=>{const ye={children:[]};return Object.assign(ye,q),ye};class h{constructor(){this.rootNode=f(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(ye){this.top.children.push(ye)}openNode(ye){const Be=f({scope:ye});this.add(Be),this.stack.push(Be)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(ye){return this.constructor._walk(ye,this.rootNode)}static _walk(ye,Be){return typeof Be=="string"?ye.addText(Be):Be.children&&(ye.openNode(Be),Be.children.forEach(ct=>this._walk(ye,ct)),ye.closeNode(Be)),ye}static _collapse(ye){typeof ye!="string"&&ye.children&&(ye.children.every(Be=>typeof Be=="string")?ye.children=[ye.children.join("")]:ye.children.forEach(Be=>{h._collapse(Be)}))}}class p extends h{constructor(ye){super(),this.options=ye}addText(ye){ye!==""&&this.add(ye)}startScope(ye){this.openNode(ye)}endScope(){this.closeNode()}__addSublanguage(ye,Be){const ct=ye.root;Be&&(ct.scope=`language:${Be}`),this.add(ct)}toHTML(){return new d(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function b(q){return q?typeof q=="string"?q:q.source:null}function T(q){return k("(?=",q,")")}function v(q){return k("(?:",q,")*")}function A(q){return k("(?:",q,")?")}function k(...q){return q.map(Be=>b(Be)).join("")}function R(q){const ye=q[q.length-1];return typeof ye=="object"&&ye.constructor===Object?(q.splice(q.length-1,1),ye):{}}function C(...q){return"("+(R(q).capture?"":"?:")+q.map(ct=>b(ct)).join("|")+")"}function D(q){return new RegExp(q.toString()+"|").exec("").length-1}function U(q,ye){const Be=q&&q.exec(ye);return Be&&Be.index===0}const J=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function j(q,{joinWith:ye}){let Be=0;return q.map(ct=>{Be+=1;const tn=Be;let un=b(ct),ze="";for(;un.length>0;){const Le=J.exec(un);if(!Le){ze+=un;break}ze+=un.substring(0,Le.index),un=un.substring(Le.index+Le[0].length),Le[0][0]==="\\"&&Le[1]?ze+="\\"+String(Number(Le[1])+tn):(ze+=Le[0],Le[0]==="("&&Be++)}return ze}).map(ct=>`(${ct})`).join(ye)}const B=/\b\B/,Q="[a-zA-Z]\\w*",te="[a-zA-Z_]\\w*",ae="\\b\\d+(\\.\\d+)?",Y="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Z="\\b(0b[01]+)",ee="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",pe=(q={})=>{const ye=/^#![ ]*\//;return q.binary&&(q.begin=k(ye,/.*\b/,q.binary,/\b.*/)),a({scope:"meta",begin:ye,end:/$/,relevance:0,"on:begin":(Be,ct)=>{Be.index!==0&&ct.ignoreMatch()}},q)},ue={begin:"\\\\[\\s\\S]",relevance:0},me={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[ue]},$={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[ue]},fe={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},Ee=function(q,ye,Be={}){const ct=a({scope:"comment",begin:q,end:ye,contains:[]},Be);ct.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const tn=C("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return ct.contains.push({begin:k(/[ ]+/,"(",tn,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),ct},He=Ee("//","$"),x=Ee("/\\*","\\*/"),X=Ee("#","$"),ce={scope:"number",begin:ae,relevance:0},M={scope:"number",begin:Y,relevance:0},De={scope:"number",begin:Z,relevance:0},qe={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[ue,{begin:/\[/,end:/\]/,relevance:0,contains:[ue]}]},Re={scope:"title",begin:Q,relevance:0},Tt={scope:"title",begin:te,relevance:0},nt={begin:"\\.\\s*"+te,relevance:0};var Ye=Object.freeze({__proto__:null,APOS_STRING_MODE:me,BACKSLASH_ESCAPE:ue,BINARY_NUMBER_MODE:De,BINARY_NUMBER_RE:Z,COMMENT:Ee,C_BLOCK_COMMENT_MODE:x,C_LINE_COMMENT_MODE:He,C_NUMBER_MODE:M,C_NUMBER_RE:Y,END_SAME_AS_BEGIN:function(q){return Object.assign(q,{"on:begin":(ye,Be)=>{Be.data._beginMatch=ye[1]},"on:end":(ye,Be)=>{Be.data._beginMatch!==ye[1]&&Be.ignoreMatch()}})},HASH_COMMENT_MODE:X,IDENT_RE:Q,MATCH_NOTHING_RE:B,METHOD_GUARD:nt,NUMBER_MODE:ce,NUMBER_RE:ae,PHRASAL_WORDS_MODE:fe,QUOTE_STRING_MODE:$,REGEXP_MODE:qe,RE_STARTERS_RE:ee,SHEBANG:pe,TITLE_MODE:Re,UNDERSCORE_IDENT_RE:te,UNDERSCORE_TITLE_MODE:Tt});function wt(q,ye){q.input[q.index-1]==="."&&ye.ignoreMatch()}function rt(q,ye){q.className!==void 0&&(q.scope=q.className,delete q.className)}function Ke(q,ye){ye&&q.beginKeywords&&(q.begin="\\b("+q.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",q.__beforeBegin=wt,q.keywords=q.keywords||q.beginKeywords,delete q.beginKeywords,q.relevance===void 0&&(q.relevance=0))}function Ve(q,ye){Array.isArray(q.illegal)&&(q.illegal=C(...q.illegal))}function ot(q,ye){if(q.match){if(q.begin||q.end)throw new Error("begin & end are not supported with match");q.begin=q.match,delete q.match}}function We(q,ye){q.relevance===void 0&&(q.relevance=1)}const Ot=(q,ye)=>{if(!q.beforeMatch)return;if(q.starts)throw new Error("beforeMatch cannot be used with starts");const Be=Object.assign({},q);Object.keys(q).forEach(ct=>{delete q[ct]}),q.keywords=Be.keywords,q.begin=k(Be.beforeMatch,T(Be.begin)),q.starts={relevance:0,contains:[Object.assign(Be,{endsParent:!0})]},q.relevance=0,delete Be.beforeMatch},ln=["of","and","for","in","not","or","if","then","parent","list","value"],Dt="keyword";function en(q,ye,Be=Dt){const ct=Object.create(null);return typeof q=="string"?tn(Be,q.split(" ")):Array.isArray(q)?tn(Be,q):Object.keys(q).forEach(function(un){Object.assign(ct,en(q[un],ye,un))}),ct;function tn(un,ze){ye&&(ze=ze.map(Le=>Le.toLowerCase())),ze.forEach(function(Le){const $e=Le.split("|");ct[$e[0]]=[un,Pn($e[0],$e[1])]})}}function Pn(q,ye){return ye?Number(ye):fi(q)?0:1}function fi(q){return ln.includes(q.toLowerCase())}const ga={},fr=q=>{console.error(q)},Rn=(q,...ye)=>{console.log(`WARN: ${q}`,...ye)},de=(q,ye)=>{ga[`${q}/${ye}`]||(console.log(`Deprecated as of ${q}. ${ye}`),ga[`${q}/${ye}`]=!0)},Se=new Error;function Qe(q,ye,{key:Be}){let ct=0;const tn=q[Be],un={},ze={};for(let Le=1;Le<=ye.length;Le++)ze[Le+ct]=tn[Le],un[Le+ct]=!0,ct+=D(ye[Le-1]);q[Be]=ze,q[Be]._emit=un,q[Be]._multi=!0}function et(q){if(Array.isArray(q.begin)){if(q.skip||q.excludeBegin||q.returnBegin)throw fr("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),Se;if(typeof q.beginScope!="object"||q.beginScope===null)throw fr("beginScope must be object"),Se;Qe(q,q.begin,{key:"beginScope"}),q.begin=j(q.begin,{joinWith:""})}}function Bt(q){if(Array.isArray(q.end)){if(q.skip||q.excludeEnd||q.returnEnd)throw fr("skip, excludeEnd, returnEnd not compatible with endScope: {}"),Se;if(typeof q.endScope!="object"||q.endScope===null)throw fr("endScope must be object"),Se;Qe(q,q.end,{key:"endScope"}),q.end=j(q.end,{joinWith:""})}}function er(q){q.scope&&typeof q.scope=="object"&&q.scope!==null&&(q.beginScope=q.scope,delete q.scope)}function ia(q){er(q),typeof q.beginScope=="string"&&(q.beginScope={_wrap:q.beginScope}),typeof q.endScope=="string"&&(q.endScope={_wrap:q.endScope}),et(q),Bt(q)}function Kn(q){function ye(ze,Le){return new RegExp(b(ze),"m"+(q.case_insensitive?"i":"")+(q.unicodeRegex?"u":"")+(Le?"g":""))}class Be{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(Le,$e){$e.position=this.position++,this.matchIndexes[this.matchAt]=$e,this.regexes.push([$e,Le]),this.matchAt+=D(Le)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const Le=this.regexes.map($e=>$e[1]);this.matcherRe=ye(j(Le,{joinWith:"|"}),!0),this.lastIndex=0}exec(Le){this.matcherRe.lastIndex=this.lastIndex;const $e=this.matcherRe.exec(Le);if(!$e)return null;const Jt=$e.findIndex((rs,$l)=>$l>0&&rs!==void 0),nn=this.matchIndexes[Jt];return $e.splice(0,Jt),Object.assign($e,nn)}}class ct{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(Le){if(this.multiRegexes[Le])return this.multiRegexes[Le];const $e=new Be;return this.rules.slice(Le).forEach(([Jt,nn])=>$e.addRule(Jt,nn)),$e.compile(),this.multiRegexes[Le]=$e,$e}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(Le,$e){this.rules.push([Le,$e]),$e.type==="begin"&&this.count++}exec(Le){const $e=this.getMatcher(this.regexIndex);$e.lastIndex=this.lastIndex;let Jt=$e.exec(Le);if(this.resumingScanAtSamePosition()&&!(Jt&&Jt.index===this.lastIndex)){const nn=this.getMatcher(0);nn.lastIndex=this.lastIndex+1,Jt=nn.exec(Le)}return Jt&&(this.regexIndex+=Jt.position+1,this.regexIndex===this.count&&this.considerAll()),Jt}}function tn(ze){const Le=new ct;return ze.contains.forEach($e=>Le.addRule($e.begin,{rule:$e,type:"begin"})),ze.terminatorEnd&&Le.addRule(ze.terminatorEnd,{type:"end"}),ze.illegal&&Le.addRule(ze.illegal,{type:"illegal"}),Le}function un(ze,Le){const $e=ze;if(ze.isCompiled)return $e;[rt,ot,ia,Ot].forEach(nn=>nn(ze,Le)),q.compilerExtensions.forEach(nn=>nn(ze,Le)),ze.__beforeBegin=null,[Ke,Ve,We].forEach(nn=>nn(ze,Le)),ze.isCompiled=!0;let Jt=null;return typeof ze.keywords=="object"&&ze.keywords.$pattern&&(ze.keywords=Object.assign({},ze.keywords),Jt=ze.keywords.$pattern,delete ze.keywords.$pattern),Jt=Jt||/\w+/,ze.keywords&&(ze.keywords=en(ze.keywords,q.case_insensitive)),$e.keywordPatternRe=ye(Jt,!0),Le&&(ze.begin||(ze.begin=/\B|\b/),$e.beginRe=ye($e.begin),!ze.end&&!ze.endsWithParent&&(ze.end=/\B|\b/),ze.end&&($e.endRe=ye($e.end)),$e.terminatorEnd=b($e.end)||"",ze.endsWithParent&&Le.terminatorEnd&&($e.terminatorEnd+=(ze.end?"|":"")+Le.terminatorEnd)),ze.illegal&&($e.illegalRe=ye(ze.illegal)),ze.contains||(ze.contains=[]),ze.contains=[].concat(...ze.contains.map(function(nn){return tr(nn==="self"?ze:nn)})),ze.contains.forEach(function(nn){un(nn,$e)}),ze.starts&&un(ze.starts,Le),$e.matcher=tn($e),$e}if(q.compilerExtensions||(q.compilerExtensions=[]),q.contains&&q.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return q.classNameAliases=a(q.classNameAliases||{}),un(q)}function Ar(q){return q?q.endsWithParent||Ar(q.starts):!1}function tr(q){return q.variants&&!q.cachedVariants&&(q.cachedVariants=q.variants.map(function(ye){return a(q,{variants:null},ye)})),q.cachedVariants?q.cachedVariants:Ar(q)?a(q,{starts:q.starts?a(q.starts):null}):Object.isFrozen(q)?a(q):q}var xn="11.11.1";class hr extends Error{constructor(ye,Be){super(ye),this.name="HTMLInjectionError",this.html=Be}}const nr=n,jl=a,Vl=Symbol("nomatch"),Kl=7,hi=function(q){const ye=Object.create(null),Be=Object.create(null),ct=[];let tn=!0;const un="Could not find the language '{}', did you forget to load/include a language module?",ze={disableAutodetect:!0,name:"Plain text",contains:[]};let Le={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:p};function $e(Ce){return Le.noHighlightRe.test(Ce)}function Jt(Ce){let Ze=Ce.className+" ";Ze+=Ce.parentNode?Ce.parentNode.className:"";const pt=Le.languageDetectRe.exec(Ze);if(pt){const Ut=rr(pt[1]);return Ut||(Rn(un.replace("{}",pt[1])),Rn("Falling back to no-highlight mode for this block.",Ce)),Ut?pt[1]:"no-highlight"}return Ze.split(/\s+/).find(Ut=>$e(Ut)||rr(Ut))}function nn(Ce,Ze,pt){let Ut="",cn="";typeof Ze=="object"?(Ut=Ce,pt=Ze.ignoreIllegals,cn=Ze.language):(de("10.7.0","highlight(lang, code, ...args) has been deprecated."),de("10.7.0",`Please use highlight(code, options) instead.
83
- https://github.com/highlightjs/highlight.js/issues/2277`),cn=Ce,Ut=Ze),pt===void 0&&(pt=!0);const wr={code:Ut,language:cn};Ua("before:highlight",wr);const la=wr.result?wr.result:rs(wr.language,wr.code,pt);return la.code=wr.code,Ua("after:highlight",la),la}function rs(Ce,Ze,pt,Ut){const cn=Object.create(null);function wr(Pe,Ge){return Pe.keywords[Ge]}function la(){if(!mt.keywords){An.addText(zt);return}let Pe=0;mt.keywordPatternRe.lastIndex=0;let Ge=mt.keywordPatternRe.exec(zt),ht="";for(;Ge;){ht+=zt.substring(Pe,Ge.index);const It=kr.case_insensitive?Ge[0].toLowerCase():Ge[0],wn=wr(mt,It);if(wn){const[qr,cs]=wn;if(An.addText(ht),ht="",cn[It]=(cn[It]||0)+1,cn[It]<=Kl&&(Fs+=cs),qr.startsWith("_"))ht+=Ge[0];else{const ua=kr.classNameAliases[qr]||qr;Hr(Ge[0],ua)}}else ht+=Ge[0];Pe=mt.keywordPatternRe.lastIndex,Ge=mt.keywordPatternRe.exec(zt)}ht+=zt.substring(Pe),An.addText(ht)}function Yn(){if(zt==="")return;let Pe=null;if(typeof mt.subLanguage=="string"){if(!ye[mt.subLanguage]){An.addText(zt);return}Pe=rs(mt.subLanguage,zt,!0,Zl[mt.subLanguage]),Zl[mt.subLanguage]=Pe._top}else Pe=Us(zt,mt.subLanguage.length?mt.subLanguage:null);mt.relevance>0&&(Fs+=Pe.relevance),An.__addSublanguage(Pe._emitter,Pe.language)}function $n(){mt.subLanguage!=null?Yn():la(),zt=""}function Hr(Pe,Ge){Pe!==""&&(An.startScope(Ge),An.addText(Pe),An.endScope())}function ls(Pe,Ge){let ht=1;const It=Ge.length-1;for(;ht<=It;){if(!Pe._emit[ht]){ht++;continue}const wn=kr.classNameAliases[Pe[ht]]||Pe[ht],qr=Ge[ht];wn?Hr(qr,wn):(zt=qr,la(),zt=""),ht++}}function Wl(Pe,Ge){return Pe.scope&&typeof Pe.scope=="string"&&An.openNode(kr.classNameAliases[Pe.scope]||Pe.scope),Pe.beginScope&&(Pe.beginScope._wrap?(Hr(zt,kr.classNameAliases[Pe.beginScope._wrap]||Pe.beginScope._wrap),zt=""):Pe.beginScope._multi&&(ls(Pe.beginScope,Ge),zt="")),mt=Object.create(Pe,{parent:{value:mt}}),mt}function us(Pe,Ge,ht){let It=U(Pe.endRe,ht);if(It){if(Pe["on:end"]){const wn=new t(Pe);Pe["on:end"](Ge,wn),wn.isMatchIgnored&&(It=!1)}if(It){for(;Pe.endsParent&&Pe.parent;)Pe=Pe.parent;return Pe}}if(Pe.endsWithParent)return us(Pe.parent,Ge,ht)}function bd(Pe){return mt.matcher.regexIndex===0?(zt+=Pe[0],1):(os=!0,0)}function mr(Pe){const Ge=Pe[0],ht=Pe.rule,It=new t(ht),wn=[ht.__beforeBegin,ht["on:begin"]];for(const qr of wn)if(qr&&(qr(Pe,It),It.isMatchIgnored))return bd(Ge);return ht.skip?zt+=Ge:(ht.excludeBegin&&(zt+=Ge),$n(),!ht.returnBegin&&!ht.excludeBegin&&(zt=Ge)),Wl(ht,Pe),ht.returnBegin?0:Ge.length}function Ql(Pe){const Ge=Pe[0],ht=Ze.substring(Pe.index),It=us(mt,Pe,ht);if(!It)return Vl;const wn=mt;mt.endScope&&mt.endScope._wrap?($n(),Hr(Ge,mt.endScope._wrap)):mt.endScope&&mt.endScope._multi?($n(),ls(mt.endScope,Pe)):wn.skip?zt+=Ge:(wn.returnEnd||wn.excludeEnd||(zt+=Ge),$n(),wn.excludeEnd&&(zt=Ge));do mt.scope&&An.closeNode(),!mt.skip&&!mt.subLanguage&&(Fs+=mt.relevance),mt=mt.parent;while(mt!==It.parent);return It.starts&&Wl(It.starts,Pe),wn.returnEnd?0:Ge.length}function Fo(){const Pe=[];for(let Ge=mt;Ge!==kr;Ge=Ge.parent)Ge.scope&&Pe.unshift(Ge.scope);Pe.forEach(Ge=>An.openNode(Ge))}let bi={};function za(Pe,Ge){const ht=Ge&&Ge[0];if(zt+=Pe,ht==null)return $n(),0;if(bi.type==="begin"&&Ge.type==="end"&&bi.index===Ge.index&&ht===""){if(zt+=Ze.slice(Ge.index,Ge.index+1),!tn){const It=new Error(`0 width match regex (${Ce})`);throw It.languageName=Ce,It.badRule=bi.rule,It}return 1}if(bi=Ge,Ge.type==="begin")return mr(Ge);if(Ge.type==="illegal"&&!pt){const It=new Error('Illegal lexeme "'+ht+'" for mode "'+(mt.scope||"<unnamed>")+'"');throw It.mode=mt,It}else if(Ge.type==="end"){const It=Ql(Ge);if(It!==Vl)return It}if(Ge.type==="illegal"&&ht==="")return zt+=`
84
- `,1;if(Ei>1e5&&Ei>Ge.index*3)throw new Error("potential infinite loop, way more iterations than matches");return zt+=ht,ht.length}const kr=rr(Ce);if(!kr)throw fr(un.replace("{}",Ce)),new Error('Unknown language: "'+Ce+'"');const Ho=Kn(kr);let ba="",mt=Ut||Ho;const Zl={},An=new Le.__emitter(Le);Fo();let zt="",Fs=0,Fa=0,Ei=0,os=!1;try{if(kr.__emitTokens)kr.__emitTokens(Ze,An);else{for(mt.matcher.considerAll();;){Ei++,os?os=!1:mt.matcher.considerAll(),mt.matcher.lastIndex=Fa;const Pe=mt.matcher.exec(Ze);if(!Pe)break;const Ge=Ze.substring(Fa,Pe.index),ht=za(Ge,Pe);Fa=Pe.index+ht}za(Ze.substring(Fa))}return An.finalize(),ba=An.toHTML(),{language:Ce,value:ba,relevance:Fs,illegal:!1,_emitter:An,_top:mt}}catch(Pe){if(Pe.message&&Pe.message.includes("Illegal"))return{language:Ce,value:nr(Ze),illegal:!0,relevance:0,_illegalBy:{message:Pe.message,index:Fa,context:Ze.slice(Fa-100,Fa+100),mode:Pe.mode,resultSoFar:ba},_emitter:An};if(tn)return{language:Ce,value:nr(Ze),illegal:!1,relevance:0,errorRaised:Pe,_emitter:An,_top:mt};throw Pe}}function $l(Ce){const Ze={value:nr(Ce),illegal:!1,relevance:0,_top:ze,_emitter:new Le.__emitter(Le)};return Ze._emitter.addText(Ce),Ze}function Us(Ce,Ze){Ze=Ze||Le.languages||Object.keys(ye);const pt=$l(Ce),Ut=Ze.filter(rr).filter(Xl).map($n=>rs($n,Ce,!1));Ut.unshift(pt);const cn=Ut.sort(($n,Hr)=>{if($n.relevance!==Hr.relevance)return Hr.relevance-$n.relevance;if($n.language&&Hr.language){if(rr($n.language).supersetOf===Hr.language)return 1;if(rr(Hr.language).supersetOf===$n.language)return-1}return 0}),[wr,la]=cn,Yn=wr;return Yn.secondBest=la,Yn}function as(Ce,Ze,pt){const Ut=Ze&&Be[Ze]||pt;Ce.classList.add("hljs"),Ce.classList.add(`language-${Ut}`)}function is(Ce){let Ze=null;const pt=Jt(Ce);if($e(pt))return;if(Ua("before:highlightElement",{el:Ce,language:pt}),Ce.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",Ce);return}if(Ce.children.length>0&&(Le.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(Ce)),Le.throwUnescapedHTML))throw new hr("One of your code blocks includes unescaped HTML.",Ce.innerHTML);Ze=Ce;const Ut=Ze.textContent,cn=pt?nn(Ut,{language:pt,ignoreIllegals:!0}):Us(Ut);Ce.innerHTML=cn.value,Ce.dataset.highlighted="yes",as(Ce,pt,cn.language),Ce.result={language:cn.language,re:cn.relevance,relevance:cn.relevance},cn.secondBest&&(Ce.secondBest={language:cn.secondBest.language,relevance:cn.secondBest.relevance}),Ua("after:highlightElement",{el:Ce,result:cn,text:Ut})}function pi(Ce){Le=jl(Le,Ce)}const gi=()=>{on(),de("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function ss(){on(),de("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let Ba=!1;function on(){function Ce(){on()}if(document.readyState==="loading"){Ba||window.addEventListener("DOMContentLoaded",Ce,!1),Ba=!0;return}document.querySelectorAll(Le.cssSelector).forEach(is)}function Bo(Ce,Ze){let pt=null;try{pt=Ze(q)}catch(Ut){if(fr("Language definition for '{}' could not be registered.".replace("{}",Ce)),tn)fr(Ut);else throw Ut;pt=ze}pt.name||(pt.name=Ce),ye[Ce]=pt,pt.rawDefinition=Ze.bind(null,q),pt.aliases&&Uo(pt.aliases,{languageName:Ce})}function Po(Ce){delete ye[Ce];for(const Ze of Object.keys(Be))Be[Ze]===Ce&&delete Be[Ze]}function Pa(){return Object.keys(ye)}function rr(Ce){return Ce=(Ce||"").toLowerCase(),ye[Ce]||ye[Be[Ce]]}function Uo(Ce,{languageName:Ze}){typeof Ce=="string"&&(Ce=[Ce]),Ce.forEach(pt=>{Be[pt.toLowerCase()]=Ze})}function Xl(Ce){const Ze=rr(Ce);return Ze&&!Ze.disableAutodetect}function zo(Ce){Ce["before:highlightBlock"]&&!Ce["before:highlightElement"]&&(Ce["before:highlightElement"]=Ze=>{Ce["before:highlightBlock"](Object.assign({block:Ze.el},Ze))}),Ce["after:highlightBlock"]&&!Ce["after:highlightElement"]&&(Ce["after:highlightElement"]=Ze=>{Ce["after:highlightBlock"](Object.assign({block:Ze.el},Ze))})}function gd(Ce){zo(Ce),ct.push(Ce)}function zs(Ce){const Ze=ct.indexOf(Ce);Ze!==-1&&ct.splice(Ze,1)}function Ua(Ce,Ze){const pt=Ce;ct.forEach(function(Ut){Ut[pt]&&Ut[pt](Ze)})}function sa(Ce){return de("10.7.0","highlightBlock will be removed entirely in v12.0"),de("10.7.0","Please use highlightElement now."),is(Ce)}Object.assign(q,{highlight:nn,highlightAuto:Us,highlightAll:on,highlightElement:is,highlightBlock:sa,configure:pi,initHighlighting:gi,initHighlightingOnLoad:ss,registerLanguage:Bo,unregisterLanguage:Po,listLanguages:Pa,getLanguage:rr,registerAliases:Uo,autoDetection:Xl,inherit:jl,addPlugin:gd,removePlugin:zs}),q.debugMode=function(){tn=!1},q.safeMode=function(){tn=!0},q.versionString=xn,q.regex={concat:k,lookahead:T,either:C,optional:A,anyNumberOfTimes:v};for(const Ce in Ye)typeof Ye[Ce]=="object"&&e(Ye[Ce]);return Object.assign(q,Ye),q},mi=hi({});return mi.newInstance=()=>hi({}),Gh=mi,mi.HighlightJS=mi,mi.default=mi,Gh}var aM=rM();const iM=Y0(aM),h3={},sM="hljs-";function lM(e){const t=iM.newInstance();return e&&l(e),{highlight:n,highlightAuto:a,listLanguages:s,register:l,registerAlias:o,registered:d};function n(f,h,p){const b=p||h3,T=typeof b.prefix=="string"?b.prefix:sM;if(!t.getLanguage(f))throw new Error("Unknown language: `"+f+"` is not registered");t.configure({__emitter:uM,classPrefix:T});const v=t.highlight(h,{ignoreIllegals:!0,language:f});if(v.errorRaised)throw new Error("Could not highlight with `Highlight.js`",{cause:v.errorRaised});const A=v._emitter.root,k=A.data;return k.language=v.language,k.relevance=v.relevance,A}function a(f,h){const b=(h||h3).subset||s();let T=-1,v=0,A;for(;++T<b.length;){const k=b[T];if(!t.getLanguage(k))continue;const R=n(k,f,h);R.data&&R.data.relevance!==void 0&&R.data.relevance>v&&(v=R.data.relevance,A=R)}return A||{type:"root",children:[],data:{language:void 0,relevance:v}}}function s(){return t.listLanguages()}function l(f,h){if(typeof f=="string")t.registerLanguage(f,h);else{let p;for(p in f)Object.hasOwn(f,p)&&t.registerLanguage(p,f[p])}}function o(f,h){if(typeof f=="string")t.registerAliases(typeof h=="string"?h:[...h],{languageName:f});else{let p;for(p in f)if(Object.hasOwn(f,p)){const b=f[p];t.registerAliases(typeof b=="string"?b:[...b],{languageName:p})}}}function d(f){return!!t.getLanguage(f)}}class uM{constructor(t){this.options=t,this.root={type:"root",children:[],data:{language:void 0,relevance:0}},this.stack=[this.root]}addText(t){if(t==="")return;const n=this.stack[this.stack.length-1],a=n.children[n.children.length-1];a&&a.type==="text"?a.value+=t:n.children.push({type:"text",value:t})}startScope(t){this.openNode(String(t))}endScope(){this.closeNode()}__addSublanguage(t,n){const a=this.stack[this.stack.length-1],s=t.root.children;n?a.children.push({type:"element",tagName:"span",properties:{className:[n]},children:s}):a.children.push(...s)}openNode(t){const n=this,a=t.split(".").map(function(o,d){return d?o+"_".repeat(d):n.options.classPrefix+o}),s=this.stack[this.stack.length-1],l={type:"element",tagName:"span",properties:{className:a},children:[]};s.children.push(l),this.stack.push(l)}closeNode(){this.stack.pop()}finalize(){}toHTML(){return""}}const oM={};function cM(e){const t=e||oM,n=t.aliases,a=t.detect||!1,s=t.languages||nM,l=t.plainText,o=t.prefix,d=t.subset;let f="hljs";const h=lM(s);if(n&&h.registerAlias(n),o){const p=o.indexOf("-");f=p===-1?o:o.slice(0,p)}return function(p,b){xo(p,"element",function(T,v,A){if(T.tagName!=="code"||!A||A.type!=="element"||A.tagName!=="pre")return;const k=dM(T);if(k===!1||!k&&!a||k&&l&&l.includes(k))return;Array.isArray(T.properties.className)||(T.properties.className=[]),T.properties.className.includes(f)||T.properties.className.unshift(f);const R=k5(T,{whitespace:"pre"});let C;try{C=k?h.highlight(k,R,{prefix:o}):h.highlightAuto(R,{prefix:o,subset:d})}catch(D){const U=D;if(k&&/Unknown language/.test(U.message)){b.message("Cannot highlight as `"+k+"`, it’s not registered",{ancestors:[A,T],cause:U,place:T.position,ruleId:"missing-language",source:"rehype-highlight"});return}throw U}!k&&C.data&&C.data.language&&T.properties.className.push("language-"+C.data.language),C.children.length>0&&(T.children=C.children)})}}function dM(e){const t=e.properties.className;let n=-1;if(!Array.isArray(t))return;let a;for(;++n<t.length;){const s=String(t[n]);if(s==="no-highlight"||s==="nohighlight")return!1;!a&&s.slice(0,5)==="lang-"&&(a=s.slice(5)),!a&&s.slice(0,9)==="language-"&&(a=s.slice(9))}return a}function fM(e,t){return $5(e,{})||{type:"root",children:[]}}function $5(e,t){const n=hM(e,t);return n&&t.afterTransform&&t.afterTransform(e,n),n}function hM(e,t){switch(e.nodeType){case 1:return bM(e,t);case 3:return pM(e);case 8:return gM(e);case 9:return m3(e,t);case 10:return mM();case 11:return m3(e,t);default:return}}function m3(e,t){return{type:"root",children:X5(e,t)}}function mM(){return{type:"doctype"}}function pM(e){return{type:"text",value:e.nodeValue||""}}function gM(e){return{type:"comment",value:e.nodeValue||""}}function bM(e,t){const n=e.namespaceURI,a=n===ka.svg?BE:LE,s=n===ka.html?e.tagName.toLowerCase():e.tagName,l=n===ka.html&&s==="template"?e.content:e,o=e.getAttributeNames(),d={};let f=-1;for(;++f<o.length;)d[o[f]]=e.getAttribute(o[f])||"";return a(s,d,X5(l,t))}function X5(e,t){const n=e.childNodes,a=[];let s=-1;for(;++s<n.length;){const l=$5(n[s],t);l!==void 0&&a.push(l)}return a}new DOMParser;function EM(e,t){const n=yM(e);return fM(n)}function yM(e){const t=document.createElement("template");return t.innerHTML=e,t.content}class Pr{constructor(t,n,a){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=t,this.start=n,this.end=a}static range(t,n){return n?!t||!t.loc||!n.loc||t.loc.lexer!==n.loc.lexer?null:new Pr(t.loc.lexer,t.loc.start,n.loc.end):t&&t.loc}}class ea{constructor(t,n){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=t,this.loc=n}range(t,n){return new ea(n,Pr.range(this,t))}}class ke{constructor(t,n){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var a="KaTeX parse error: "+t,s,l,o=n&&n.loc;if(o&&o.start<=o.end){var d=o.lexer.input;s=o.start,l=o.end,s===d.length?a+=" at end of input: ":a+=" at position "+(s+1)+": ";var f=d.slice(s,l).replace(/[^]/g,"$&̲"),h;s>15?h="…"+d.slice(s-15,s):h=d.slice(0,s);var p;l+15<d.length?p=d.slice(l,l+15)+"…":p=d.slice(l),a+=h+f+p}var b=new Error(a);return b.name="ParseError",b.__proto__=ke.prototype,b.position=s,s!=null&&l!=null&&(b.length=l-s),b.rawMessage=t,b}}ke.prototype.__proto__=Error.prototype;var vM=function(t,n){return t.indexOf(n)!==-1},TM=function(t,n){return t===void 0?n:t},_M=/([A-Z])/g,SM=function(t){return t.replace(_M,"-$1").toLowerCase()},xM={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},AM=/[&><"']/g;function wM(e){return String(e).replace(AM,t=>xM[t])}var W5=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},kM=function(t){var n=W5(t);return n.type==="mathord"||n.type==="textord"||n.type==="atom"},CM=function(t){if(!t)throw new Error("Expected non-null, but got "+String(t));return t},NM=function(t){var n=/^[\x00-\x20]*([^\\/#?]*?)(:|&#0*58|&#x0*3a|&colon)/i.exec(t);return n?n[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(n[1])?null:n[1].toLowerCase():"_relative"},tt={contains:vM,deflt:TM,escape:wM,hyphenate:SM,getBaseElem:W5,isCharacterBox:kM,protocolFromUrl:NM},S0={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 <type>"},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 <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 <def>",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 <size>",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 <n>",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 <n>",cliProcessor:e=>e==="Infinity"?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};function OM(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{}}}class Hm{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 S0)if(S0.hasOwnProperty(n)){var a=S0[n];this[n]=t[n]!==void 0?a.processor?a.processor(t[n]):t[n]:OM(a)}}reportNonstrict(t,n,a){var s=this.strict;if(typeof s=="function"&&(s=s(t,n,a)),!(!s||s==="ignore")){if(s===!0||s==="error")throw new ke("LaTeX-incompatible input and strict mode is set to 'error': "+(n+" ["+t+"]"),a);s==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(n+" ["+t+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+s+"': "+n+" ["+t+"]"))}}useStrictBehavior(t,n,a){var s=this.strict;if(typeof s=="function")try{s=s(t,n,a)}catch{s="error"}return!s||s==="ignore"?!1:s===!0||s==="error"?!0:s==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(n+" ["+t+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+s+"': "+n+" ["+t+"]")),!1)}isTrusted(t){if(t.url&&!t.protocol){var n=tt.protocolFromUrl(t.url);if(n==null)return!1;t.protocol=n}var a=typeof this.trust=="function"?this.trust(t):this.trust;return!!a}}class qi{constructor(t,n,a){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=t,this.size=n,this.cramped=a}sup(){return wa[MM[this.id]]}sub(){return wa[RM[this.id]]}fracNum(){return wa[DM[this.id]]}fracDen(){return wa[IM[this.id]]}cramp(){return wa[LM[this.id]]}text(){return wa[BM[this.id]]}isTight(){return this.size>=2}}var qm=0,L0=1,Cl=2,ai=3,Eo=4,Jr=5,Rl=6,cr=7,wa=[new qi(qm,0,!1),new qi(L0,0,!0),new qi(Cl,1,!1),new qi(ai,1,!0),new qi(Eo,2,!1),new qi(Jr,2,!0),new qi(Rl,3,!1),new qi(cr,3,!0)],MM=[Eo,Jr,Eo,Jr,Rl,cr,Rl,cr],RM=[Jr,Jr,Jr,Jr,cr,cr,cr,cr],DM=[Cl,ai,Eo,Jr,Rl,cr,Rl,cr],IM=[ai,ai,Jr,Jr,cr,cr,cr,cr],LM=[L0,L0,ai,ai,Jr,Jr,cr,cr],BM=[qm,L0,Cl,ai,Cl,ai,Cl,ai],it={DISPLAY:wa[qm],TEXT:wa[Cl],SCRIPT:wa[Eo],SCRIPTSCRIPT:wa[Rl]},q1=[{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 PM(e){for(var t=0;t<q1.length;t++)for(var n=q1[t],a=0;a<n.blocks.length;a++){var s=n.blocks[a];if(e>=s[0]&&e<=s[1])return n.name}return null}var x0=[];q1.forEach(e=>e.blocks.forEach(t=>x0.push(...t)));function Q5(e){for(var t=0;t<x0.length;t+=2)if(e>=x0[t]&&e<=x0[t+1])return!0;return!1}var El=80,UM=function(t,n){return"M95,"+(622+t+n)+`
85
- c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
86
- c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
87
- 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
88
- s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
89
- c69,-144,104.5,-217.7,106.5,-221
90
- l`+t/2.075+" -"+t+`
91
- c5.3,-9.3,12,-14,20,-14
92
- H400000v`+(40+t)+`H845.2724
93
- s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
94
- c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
95
- M`+(834+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},zM=function(t,n){return"M263,"+(601+t+n)+`c0.7,0,18,39.7,52,119
96
- c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
97
- c340,-704.7,510.7,-1060.3,512,-1067
98
- l`+t/2.084+" -"+t+`
99
- c4.7,-7.3,11,-11,19,-11
100
- H40000v`+(40+t)+`H1012.3
101
- s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
102
- 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
103
- s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
104
- c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
105
- M`+(1001+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},FM=function(t,n){return"M983 "+(10+t+n)+`
106
- l`+t/3.13+" -"+t+`
107
- c4,-6.7,10,-10,18,-10 H400000v`+(40+t)+`
108
- 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
109
- 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
110
- c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
111
- c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
112
- c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
113
- c53.7,-170.3,84.5,-266.8,92.5,-289.5z
114
- M`+(1001+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},HM=function(t,n){return"M424,"+(2398+t+n)+`
115
- c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
116
- 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
117
- s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
118
- s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
119
- l`+t/4.223+" -"+t+`c4,-6.7,10,-10,18,-10 H400000
120
- v`+(40+t)+`H1014.6
121
- s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
122
- c-2,6,-10,9,-24,9
123
- c-8,0,-12,-0.7,-12,-2z M`+(1001+t)+" "+n+`
124
- h400000v`+(40+t)+"h-400000z"},qM=function(t,n){return"M473,"+(2713+t+n)+`
125
- c339.3,-1799.3,509.3,-2700,510,-2702 l`+t/5.298+" -"+t+`
126
- c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+t)+`H1017.7
127
- s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
128
- 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
129
- 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
130
- s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
131
- 606zM`+(1001+t)+" "+n+"h400000v"+(40+t)+"H1017.7z"},YM=function(t){var n=t/2;return"M400000 "+t+" H0 L"+n+" 0 l65 45 L145 "+(t-80)+" H400000z"},GM=function(t,n,a){var s=a-54-n-t;return"M702 "+(t+n)+"H400000"+(40+t)+`
132
- H742v`+s+`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
133
- h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
134
- c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
135
- 219 661 l218 661zM702 `+n+"H400000v"+(40+t)+"H742z"},jM=function(t,n,a){n=1e3*n;var s="";switch(t){case"sqrtMain":s=UM(n,El);break;case"sqrtSize1":s=zM(n,El);break;case"sqrtSize2":s=FM(n,El);break;case"sqrtSize3":s=HM(n,El);break;case"sqrtSize4":s=qM(n,El);break;case"sqrtTall":s=GM(n,El,a)}return s},VM=function(t,n){switch(t){case"⎜":return"M291 0 H417 V"+n+" H291z M291 0 H417 V"+n+" H291z";case"∣":return"M145 0 H188 V"+n+" H145z M145 0 H188 V"+n+" H145z";case"∥":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"⎟":return"M457 0 H583 V"+n+" H457z M457 0 H583 V"+n+" H457z";case"⎢":return"M319 0 H403 V"+n+" H319z M319 0 H403 V"+n+" H319z";case"⎥":return"M263 0 H347 V"+n+" H263z M263 0 H347 V"+n+" H263z";case"⎪":return"M384 0 H504 V"+n+" H384z M384 0 H504 V"+n+" H384z";case"⏐":return"M312 0 H355 V"+n+" H312z M312 0 H355 V"+n+" H312z";case"‖":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""}},p3={doubleleftarrow:`M262 157
136
- 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
137
- 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
138
- 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
139
- 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
140
- 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
141
- -86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
142
- -2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
143
- m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
144
- -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
145
- 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
146
- -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
147
- -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
148
- -13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
149
- 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
150
- -107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
151
- 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
152
- -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
153
- 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
154
- 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
155
- 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
156
- l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
157
- -45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
158
- 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
159
- 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
160
- 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
161
- -331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
162
- 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
163
- 435 0h399565z`,leftgroupunder:`M400000 262
164
- 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
165
- 435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
166
- -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
167
- -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
168
- -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
169
- 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
170
- -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
171
- -10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
172
- m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
173
- 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
174
- 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
175
- -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
176
- 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
177
- -2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
178
- 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
179
- -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
180
- -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
181
- 71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
182
- M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
183
- M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
184
- -.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
185
- 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
186
- 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
187
- M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
188
- 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
189
- -53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
190
- 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
191
- 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
192
- 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
193
- 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
194
- 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
195
- -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
196
- -320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
197
- 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
198
- 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
199
- -451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
200
- m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
201
- 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
202
- -480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
203
- 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
204
- 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
205
- -707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
206
- m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
207
- 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
208
- -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
209
- 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
210
- 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
211
- -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
212
- -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
213
- 151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
214
- -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
215
- 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
216
- 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
217
- 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
218
- -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
219
- 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
220
- 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
221
- -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
222
- -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
223
- 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
224
- -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
225
- 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
226
- 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
227
- 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
228
- -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
229
- -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
230
- 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
231
- 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
232
- -64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
233
- 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
234
- 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
235
- -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
236
- 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
237
- 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
238
- 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
239
- -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
240
- -167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
241
- 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
242
- -70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
243
- -40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
244
- -37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
245
- 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
246
- 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
247
- 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
248
- 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
249
- -19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
250
- 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
251
- -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
252
- 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
253
- 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
254
- -68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
255
- -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
256
- 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
257
- 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
258
- 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
259
- -11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
260
- 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
261
- 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
262
- -338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
263
- -11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
264
- 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
265
- 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
266
- -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
267
- 3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
268
- 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
269
- -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
270
- -7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
271
- H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
272
- 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
273
- 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
274
- -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
275
- -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
276
- -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,
277
- -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,
278
- -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,
279
- -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,
280
- -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
281
- c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
282
- 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
283
- 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
284
- 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
285
- 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
286
- c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
287
- M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
288
- -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
289
- 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
290
- -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
291
- -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
292
- -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
293
- 151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
294
- c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
295
- 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
296
- c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
297
- c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
298
- M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
299
- 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,
300
- -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
301
- 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
302
- 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
303
- 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,
304
- 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,
305
- -152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
306
- 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
307
- 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,
308
- -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
309
- 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
310
- M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},KM=function(t,n){switch(t){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+n+` v1759 h347 v-84
311
- 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
312
- 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
313
- c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15
314
- 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
315
- c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15
316
- c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+n+` v585 h43z
317
- M367 15 v585 v`+n+` v585 c2.667,10,9.667,15,21,15
318
- c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15
319
- 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
320
- MM319 602 V0 H403 V602 v`+n+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+n+` v1799 H0 v-84 H319z
321
- MM319 602 V0 H403 V602 v`+n+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+n+` v602 h84z
322
- M403 1759 V0 H319 V1759 v`+n+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+n+` v602 h84z
323
- 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
324
- 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,
325
- -36,557 l0,`+(n+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,
326
- 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
327
- 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,
328
- -544.7,-112.5,-882c-2,-104,-3,-167,-3,-189
329
- l0,-`+(n+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,
330
- -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,
331
- 63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5
332
- c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(n+9)+`
333
- 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
334
- 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
335
- 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
336
- c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
337
- l0,-`+(n+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
338
- -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.")}};class No{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 tt.contains(this.classes,t)}toNode(){for(var t=document.createDocumentFragment(),n=0;n<this.children.length;n++)t.appendChild(this.children[n].toNode());return t}toMarkup(){for(var t="",n=0;n<this.children.length;n++)t+=this.children[n].toMarkup();return t}toText(){var t=n=>n.toText();return this.children.map(t).join("")}}var Ca={"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]}},r0={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]},g3={Å:"A",Ð:"D",Þ:"o",å:"a",ð:"d",þ:"o",А:"A",Б:"B",В:"B",Г:"F",Д:"A",Е:"E",Ж:"K",З:"3",И:"N",Й:"N",К:"K",Л:"N",М:"M",Н:"H",О:"O",П:"N",Р:"P",С:"C",Т:"T",У:"y",Ф:"O",Х:"X",Ц:"U",Ч:"h",Ш:"W",Щ:"W",Ъ:"B",Ы:"X",Ь:"B",Э:"3",Ю:"X",Я:"R",а:"a",б:"b",в:"a",г:"r",д:"y",е:"e",ж:"m",з:"e",и:"n",й:"n",к:"n",л:"n",м:"m",н:"n",о:"o",п:"n",р:"p",с:"c",т:"o",у:"y",ф:"b",х:"x",ц:"n",ч:"n",ш:"w",щ:"w",ъ:"a",ы:"m",ь:"a",э:"e",ю:"m",я:"r"};function $M(e,t){Ca[e]=t}function Ym(e,t,n){if(!Ca[t])throw new Error("Font metrics not found for font: "+t+".");var a=e.charCodeAt(0),s=Ca[t][a];if(!s&&e[0]in g3&&(a=g3[e[0]].charCodeAt(0),s=Ca[t][a]),!s&&n==="text"&&Q5(a)&&(s=Ca[t][77]),s)return{depth:s[0],height:s[1],italic:s[2],skew:s[3],width:s[4]}}var jh={};function XM(e){var t;if(e>=5?t=0:e>=3?t=1:t=2,!jh[t]){var n=jh[t]={cssEmPerMu:r0.quad[t]/18};for(var a in r0)r0.hasOwnProperty(a)&&(n[a]=r0[a][t])}return jh[t]}var WM=[[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]],b3=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],E3=function(t,n){return n.size<2?t:WM[t-1][n.size-1]};class ni{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||ni.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=b3[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 a in t)t.hasOwnProperty(a)&&(n[a]=t[a]);return new ni(n)}havingStyle(t){return this.style===t?this:this.extend({style:t,size:E3(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:b3[t-1]})}havingBaseStyle(t){t=t||this.style.text();var n=E3(ni.BASESIZE,t);return this.size===n&&this.textSize===ni.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!==ni.BASESIZE?["sizing","reset-size"+this.size,"size"+ni.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=XM(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}ni.BASESIZE=6;var Y1={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},QM={ex:!0,em:!0,mu:!0},Z5=function(t){return typeof t!="string"&&(t=t.unit),t in Y1||t in QM||t==="ex"},pn=function(t,n){var a;if(t.unit in Y1)a=Y1[t.unit]/n.fontMetrics().ptPerEm/n.sizeMultiplier;else if(t.unit==="mu")a=n.fontMetrics().cssEmPerMu;else{var s;if(n.style.isTight()?s=n.havingStyle(n.style.text()):s=n,t.unit==="ex")a=s.fontMetrics().xHeight;else if(t.unit==="em")a=s.fontMetrics().quad;else throw new ke("Invalid unit: '"+t.unit+"'");s!==n&&(a*=s.sizeMultiplier/n.sizeMultiplier)}return Math.min(t.number*a,n.maxSize)},Ie=function(t){return+t.toFixed(4)+"em"},Zi=function(t){return t.filter(n=>n).join(" ")},J5=function(t,n,a){if(this.classes=t||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=a||{},n){n.style.isTight()&&this.classes.push("mtight");var s=n.getColor();s&&(this.style.color=s)}},ey=function(t){var n=document.createElement(t);n.className=Zi(this.classes);for(var a in this.style)this.style.hasOwnProperty(a)&&(n.style[a]=this.style[a]);for(var s in this.attributes)this.attributes.hasOwnProperty(s)&&n.setAttribute(s,this.attributes[s]);for(var l=0;l<this.children.length;l++)n.appendChild(this.children[l].toNode());return n},ZM=/[\s"'>/=\x00-\x1f]/,ty=function(t){var n="<"+t;this.classes.length&&(n+=' class="'+tt.escape(Zi(this.classes))+'"');var a="";for(var s in this.style)this.style.hasOwnProperty(s)&&(a+=tt.hyphenate(s)+":"+this.style[s]+";");a&&(n+=' style="'+tt.escape(a)+'"');for(var l in this.attributes)if(this.attributes.hasOwnProperty(l)){if(ZM.test(l))throw new ke("Invalid attribute name '"+l+"'");n+=" "+l+'="'+tt.escape(this.attributes[l])+'"'}n+=">";for(var o=0;o<this.children.length;o++)n+=this.children[o].toMarkup();return n+="</"+t+">",n};class Oo{constructor(t,n,a,s){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,J5.call(this,t,a,s),this.children=n||[]}setAttribute(t,n){this.attributes[t]=n}hasClass(t){return tt.contains(this.classes,t)}toNode(){return ey.call(this,"span")}toMarkup(){return ty.call(this,"span")}}class Gm{constructor(t,n,a,s){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,J5.call(this,n,s),this.children=a||[],this.setAttribute("href",t)}setAttribute(t,n){this.attributes[t]=n}hasClass(t){return tt.contains(this.classes,t)}toNode(){return ey.call(this,"a")}toMarkup(){return ty.call(this,"a")}}class JM{constructor(t,n,a){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=n,this.src=t,this.classes=["mord"],this.style=a}hasClass(t){return tt.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='<img src="'+tt.escape(this.src)+'"'+(' alt="'+tt.escape(this.alt)+'"'),n="";for(var a in this.style)this.style.hasOwnProperty(a)&&(n+=tt.hyphenate(a)+":"+this.style[a]+";");return n&&(t+=' style="'+tt.escape(n)+'"'),t+="'/>",t}}var eR={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class ta{constructor(t,n,a,s,l,o,d,f){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=t,this.height=n||0,this.depth=a||0,this.italic=s||0,this.skew=l||0,this.width=o||0,this.classes=d||[],this.style=f||{},this.maxFontSize=0;var h=PM(this.text.charCodeAt(0));h&&this.classes.push(h+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=eR[this.text])}hasClass(t){return tt.contains(this.classes,t)}toNode(){var t=document.createTextNode(this.text),n=null;this.italic>0&&(n=document.createElement("span"),n.style.marginRight=Ie(this.italic)),this.classes.length>0&&(n=n||document.createElement("span"),n.className=Zi(this.classes));for(var a in this.style)this.style.hasOwnProperty(a)&&(n=n||document.createElement("span"),n.style[a]=this.style[a]);return n?(n.appendChild(t),n):t}toMarkup(){var t=!1,n="<span";this.classes.length&&(t=!0,n+=' class="',n+=tt.escape(Zi(this.classes)),n+='"');var a="";this.italic>0&&(a+="margin-right:"+this.italic+"em;");for(var s in this.style)this.style.hasOwnProperty(s)&&(a+=tt.hyphenate(s)+":"+this.style[s]+";");a&&(t=!0,n+=' style="'+tt.escape(a)+'"');var l=tt.escape(this.text);return t?(n+=">",n+=l,n+="</span>",n):l}}class si{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 a in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,a)&&n.setAttribute(a,this.attributes[a]);for(var s=0;s<this.children.length;s++)n.appendChild(this.children[s].toNode());return n}toMarkup(){var t='<svg xmlns="http://www.w3.org/2000/svg"';for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&(t+=" "+n+'="'+tt.escape(this.attributes[n])+'"');t+=">";for(var a=0;a<this.children.length;a++)t+=this.children[a].toMarkup();return t+="</svg>",t}}class Ji{constructor(t,n){this.pathName=void 0,this.alternate=void 0,this.pathName=t,this.alternate=n}toNode(){var t="http://www.w3.org/2000/svg",n=document.createElementNS(t,"path");return this.alternate?n.setAttribute("d",this.alternate):n.setAttribute("d",p3[this.pathName]),n}toMarkup(){return this.alternate?'<path d="'+tt.escape(this.alternate)+'"/>':'<path d="'+tt.escape(p3[this.pathName])+'"/>'}}class G1{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 a in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,a)&&n.setAttribute(a,this.attributes[a]);return n}toMarkup(){var t="<line";for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&(t+=" "+n+'="'+tt.escape(this.attributes[n])+'"');return t+="/>",t}}function y3(e){if(e instanceof ta)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}function tR(e){if(e instanceof Oo)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}var nR={bin:1,close:1,inner:1,open:1,punct:1,rel:1},rR={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Zt={math:{},text:{}};function y(e,t,n,a,s,l){Zt[e][s]={font:t,group:n,replace:a},l&&a&&(Zt[e][a]=Zt[e][s])}var _="math",_e="text",w="main",P="ams",sn="accent-token",Fe="bin",dr="close",ql="inner",at="mathord",Mn="op-token",Fr="open",td="punct",z="rel",di="spacing",K="textord";y(_,w,z,"≡","\\equiv",!0);y(_,w,z,"≺","\\prec",!0);y(_,w,z,"≻","\\succ",!0);y(_,w,z,"∼","\\sim",!0);y(_,w,z,"⊥","\\perp");y(_,w,z,"⪯","\\preceq",!0);y(_,w,z,"⪰","\\succeq",!0);y(_,w,z,"≃","\\simeq",!0);y(_,w,z,"∣","\\mid",!0);y(_,w,z,"≪","\\ll",!0);y(_,w,z,"≫","\\gg",!0);y(_,w,z,"≍","\\asymp",!0);y(_,w,z,"∥","\\parallel");y(_,w,z,"⋈","\\bowtie",!0);y(_,w,z,"⌣","\\smile",!0);y(_,w,z,"⊑","\\sqsubseteq",!0);y(_,w,z,"⊒","\\sqsupseteq",!0);y(_,w,z,"≐","\\doteq",!0);y(_,w,z,"⌢","\\frown",!0);y(_,w,z,"∋","\\ni",!0);y(_,w,z,"∝","\\propto",!0);y(_,w,z,"⊢","\\vdash",!0);y(_,w,z,"⊣","\\dashv",!0);y(_,w,z,"∋","\\owns");y(_,w,td,".","\\ldotp");y(_,w,td,"⋅","\\cdotp");y(_,w,K,"#","\\#");y(_e,w,K,"#","\\#");y(_,w,K,"&","\\&");y(_e,w,K,"&","\\&");y(_,w,K,"ℵ","\\aleph",!0);y(_,w,K,"∀","\\forall",!0);y(_,w,K,"ℏ","\\hbar",!0);y(_,w,K,"∃","\\exists",!0);y(_,w,K,"∇","\\nabla",!0);y(_,w,K,"♭","\\flat",!0);y(_,w,K,"ℓ","\\ell",!0);y(_,w,K,"♮","\\natural",!0);y(_,w,K,"♣","\\clubsuit",!0);y(_,w,K,"℘","\\wp",!0);y(_,w,K,"♯","\\sharp",!0);y(_,w,K,"♢","\\diamondsuit",!0);y(_,w,K,"ℜ","\\Re",!0);y(_,w,K,"♡","\\heartsuit",!0);y(_,w,K,"ℑ","\\Im",!0);y(_,w,K,"♠","\\spadesuit",!0);y(_,w,K,"§","\\S",!0);y(_e,w,K,"§","\\S");y(_,w,K,"¶","\\P",!0);y(_e,w,K,"¶","\\P");y(_,w,K,"†","\\dag");y(_e,w,K,"†","\\dag");y(_e,w,K,"†","\\textdagger");y(_,w,K,"‡","\\ddag");y(_e,w,K,"‡","\\ddag");y(_e,w,K,"‡","\\textdaggerdbl");y(_,w,dr,"⎱","\\rmoustache",!0);y(_,w,Fr,"⎰","\\lmoustache",!0);y(_,w,dr,"⟯","\\rgroup",!0);y(_,w,Fr,"⟮","\\lgroup",!0);y(_,w,Fe,"∓","\\mp",!0);y(_,w,Fe,"⊖","\\ominus",!0);y(_,w,Fe,"⊎","\\uplus",!0);y(_,w,Fe,"⊓","\\sqcap",!0);y(_,w,Fe,"∗","\\ast");y(_,w,Fe,"⊔","\\sqcup",!0);y(_,w,Fe,"◯","\\bigcirc",!0);y(_,w,Fe,"∙","\\bullet",!0);y(_,w,Fe,"‡","\\ddagger");y(_,w,Fe,"≀","\\wr",!0);y(_,w,Fe,"⨿","\\amalg");y(_,w,Fe,"&","\\And");y(_,w,z,"⟵","\\longleftarrow",!0);y(_,w,z,"⇐","\\Leftarrow",!0);y(_,w,z,"⟸","\\Longleftarrow",!0);y(_,w,z,"⟶","\\longrightarrow",!0);y(_,w,z,"⇒","\\Rightarrow",!0);y(_,w,z,"⟹","\\Longrightarrow",!0);y(_,w,z,"↔","\\leftrightarrow",!0);y(_,w,z,"⟷","\\longleftrightarrow",!0);y(_,w,z,"⇔","\\Leftrightarrow",!0);y(_,w,z,"⟺","\\Longleftrightarrow",!0);y(_,w,z,"↦","\\mapsto",!0);y(_,w,z,"⟼","\\longmapsto",!0);y(_,w,z,"↗","\\nearrow",!0);y(_,w,z,"↩","\\hookleftarrow",!0);y(_,w,z,"↪","\\hookrightarrow",!0);y(_,w,z,"↘","\\searrow",!0);y(_,w,z,"↼","\\leftharpoonup",!0);y(_,w,z,"⇀","\\rightharpoonup",!0);y(_,w,z,"↙","\\swarrow",!0);y(_,w,z,"↽","\\leftharpoondown",!0);y(_,w,z,"⇁","\\rightharpoondown",!0);y(_,w,z,"↖","\\nwarrow",!0);y(_,w,z,"⇌","\\rightleftharpoons",!0);y(_,P,z,"≮","\\nless",!0);y(_,P,z,"","\\@nleqslant");y(_,P,z,"","\\@nleqq");y(_,P,z,"⪇","\\lneq",!0);y(_,P,z,"≨","\\lneqq",!0);y(_,P,z,"","\\@lvertneqq");y(_,P,z,"⋦","\\lnsim",!0);y(_,P,z,"⪉","\\lnapprox",!0);y(_,P,z,"⊀","\\nprec",!0);y(_,P,z,"⋠","\\npreceq",!0);y(_,P,z,"⋨","\\precnsim",!0);y(_,P,z,"⪹","\\precnapprox",!0);y(_,P,z,"≁","\\nsim",!0);y(_,P,z,"","\\@nshortmid");y(_,P,z,"∤","\\nmid",!0);y(_,P,z,"⊬","\\nvdash",!0);y(_,P,z,"⊭","\\nvDash",!0);y(_,P,z,"⋪","\\ntriangleleft");y(_,P,z,"⋬","\\ntrianglelefteq",!0);y(_,P,z,"⊊","\\subsetneq",!0);y(_,P,z,"","\\@varsubsetneq");y(_,P,z,"⫋","\\subsetneqq",!0);y(_,P,z,"","\\@varsubsetneqq");y(_,P,z,"≯","\\ngtr",!0);y(_,P,z,"","\\@ngeqslant");y(_,P,z,"","\\@ngeqq");y(_,P,z,"⪈","\\gneq",!0);y(_,P,z,"≩","\\gneqq",!0);y(_,P,z,"","\\@gvertneqq");y(_,P,z,"⋧","\\gnsim",!0);y(_,P,z,"⪊","\\gnapprox",!0);y(_,P,z,"⊁","\\nsucc",!0);y(_,P,z,"⋡","\\nsucceq",!0);y(_,P,z,"⋩","\\succnsim",!0);y(_,P,z,"⪺","\\succnapprox",!0);y(_,P,z,"≆","\\ncong",!0);y(_,P,z,"","\\@nshortparallel");y(_,P,z,"∦","\\nparallel",!0);y(_,P,z,"⊯","\\nVDash",!0);y(_,P,z,"⋫","\\ntriangleright");y(_,P,z,"⋭","\\ntrianglerighteq",!0);y(_,P,z,"","\\@nsupseteqq");y(_,P,z,"⊋","\\supsetneq",!0);y(_,P,z,"","\\@varsupsetneq");y(_,P,z,"⫌","\\supsetneqq",!0);y(_,P,z,"","\\@varsupsetneqq");y(_,P,z,"⊮","\\nVdash",!0);y(_,P,z,"⪵","\\precneqq",!0);y(_,P,z,"⪶","\\succneqq",!0);y(_,P,z,"","\\@nsubseteqq");y(_,P,Fe,"⊴","\\unlhd");y(_,P,Fe,"⊵","\\unrhd");y(_,P,z,"↚","\\nleftarrow",!0);y(_,P,z,"↛","\\nrightarrow",!0);y(_,P,z,"⇍","\\nLeftarrow",!0);y(_,P,z,"⇏","\\nRightarrow",!0);y(_,P,z,"↮","\\nleftrightarrow",!0);y(_,P,z,"⇎","\\nLeftrightarrow",!0);y(_,P,z,"△","\\vartriangle");y(_,P,K,"ℏ","\\hslash");y(_,P,K,"▽","\\triangledown");y(_,P,K,"◊","\\lozenge");y(_,P,K,"Ⓢ","\\circledS");y(_,P,K,"®","\\circledR");y(_e,P,K,"®","\\circledR");y(_,P,K,"∡","\\measuredangle",!0);y(_,P,K,"∄","\\nexists");y(_,P,K,"℧","\\mho");y(_,P,K,"Ⅎ","\\Finv",!0);y(_,P,K,"⅁","\\Game",!0);y(_,P,K,"‵","\\backprime");y(_,P,K,"▲","\\blacktriangle");y(_,P,K,"▼","\\blacktriangledown");y(_,P,K,"■","\\blacksquare");y(_,P,K,"⧫","\\blacklozenge");y(_,P,K,"★","\\bigstar");y(_,P,K,"∢","\\sphericalangle",!0);y(_,P,K,"∁","\\complement",!0);y(_,P,K,"ð","\\eth",!0);y(_e,w,K,"ð","ð");y(_,P,K,"╱","\\diagup");y(_,P,K,"╲","\\diagdown");y(_,P,K,"□","\\square");y(_,P,K,"□","\\Box");y(_,P,K,"◊","\\Diamond");y(_,P,K,"¥","\\yen",!0);y(_e,P,K,"¥","\\yen",!0);y(_,P,K,"✓","\\checkmark",!0);y(_e,P,K,"✓","\\checkmark");y(_,P,K,"ℶ","\\beth",!0);y(_,P,K,"ℸ","\\daleth",!0);y(_,P,K,"ℷ","\\gimel",!0);y(_,P,K,"ϝ","\\digamma",!0);y(_,P,K,"ϰ","\\varkappa");y(_,P,Fr,"┌","\\@ulcorner",!0);y(_,P,dr,"┐","\\@urcorner",!0);y(_,P,Fr,"└","\\@llcorner",!0);y(_,P,dr,"┘","\\@lrcorner",!0);y(_,P,z,"≦","\\leqq",!0);y(_,P,z,"⩽","\\leqslant",!0);y(_,P,z,"⪕","\\eqslantless",!0);y(_,P,z,"≲","\\lesssim",!0);y(_,P,z,"⪅","\\lessapprox",!0);y(_,P,z,"≊","\\approxeq",!0);y(_,P,Fe,"⋖","\\lessdot");y(_,P,z,"⋘","\\lll",!0);y(_,P,z,"≶","\\lessgtr",!0);y(_,P,z,"⋚","\\lesseqgtr",!0);y(_,P,z,"⪋","\\lesseqqgtr",!0);y(_,P,z,"≑","\\doteqdot");y(_,P,z,"≓","\\risingdotseq",!0);y(_,P,z,"≒","\\fallingdotseq",!0);y(_,P,z,"∽","\\backsim",!0);y(_,P,z,"⋍","\\backsimeq",!0);y(_,P,z,"⫅","\\subseteqq",!0);y(_,P,z,"⋐","\\Subset",!0);y(_,P,z,"⊏","\\sqsubset",!0);y(_,P,z,"≼","\\preccurlyeq",!0);y(_,P,z,"⋞","\\curlyeqprec",!0);y(_,P,z,"≾","\\precsim",!0);y(_,P,z,"⪷","\\precapprox",!0);y(_,P,z,"⊲","\\vartriangleleft");y(_,P,z,"⊴","\\trianglelefteq");y(_,P,z,"⊨","\\vDash",!0);y(_,P,z,"⊪","\\Vvdash",!0);y(_,P,z,"⌣","\\smallsmile");y(_,P,z,"⌢","\\smallfrown");y(_,P,z,"≏","\\bumpeq",!0);y(_,P,z,"≎","\\Bumpeq",!0);y(_,P,z,"≧","\\geqq",!0);y(_,P,z,"⩾","\\geqslant",!0);y(_,P,z,"⪖","\\eqslantgtr",!0);y(_,P,z,"≳","\\gtrsim",!0);y(_,P,z,"⪆","\\gtrapprox",!0);y(_,P,Fe,"⋗","\\gtrdot");y(_,P,z,"⋙","\\ggg",!0);y(_,P,z,"≷","\\gtrless",!0);y(_,P,z,"⋛","\\gtreqless",!0);y(_,P,z,"⪌","\\gtreqqless",!0);y(_,P,z,"≖","\\eqcirc",!0);y(_,P,z,"≗","\\circeq",!0);y(_,P,z,"≜","\\triangleq",!0);y(_,P,z,"∼","\\thicksim");y(_,P,z,"≈","\\thickapprox");y(_,P,z,"⫆","\\supseteqq",!0);y(_,P,z,"⋑","\\Supset",!0);y(_,P,z,"⊐","\\sqsupset",!0);y(_,P,z,"≽","\\succcurlyeq",!0);y(_,P,z,"⋟","\\curlyeqsucc",!0);y(_,P,z,"≿","\\succsim",!0);y(_,P,z,"⪸","\\succapprox",!0);y(_,P,z,"⊳","\\vartriangleright");y(_,P,z,"⊵","\\trianglerighteq");y(_,P,z,"⊩","\\Vdash",!0);y(_,P,z,"∣","\\shortmid");y(_,P,z,"∥","\\shortparallel");y(_,P,z,"≬","\\between",!0);y(_,P,z,"⋔","\\pitchfork",!0);y(_,P,z,"∝","\\varpropto");y(_,P,z,"◀","\\blacktriangleleft");y(_,P,z,"∴","\\therefore",!0);y(_,P,z,"∍","\\backepsilon");y(_,P,z,"▶","\\blacktriangleright");y(_,P,z,"∵","\\because",!0);y(_,P,z,"⋘","\\llless");y(_,P,z,"⋙","\\gggtr");y(_,P,Fe,"⊲","\\lhd");y(_,P,Fe,"⊳","\\rhd");y(_,P,z,"≂","\\eqsim",!0);y(_,w,z,"⋈","\\Join");y(_,P,z,"≑","\\Doteq",!0);y(_,P,Fe,"∔","\\dotplus",!0);y(_,P,Fe,"∖","\\smallsetminus");y(_,P,Fe,"⋒","\\Cap",!0);y(_,P,Fe,"⋓","\\Cup",!0);y(_,P,Fe,"⩞","\\doublebarwedge",!0);y(_,P,Fe,"⊟","\\boxminus",!0);y(_,P,Fe,"⊞","\\boxplus",!0);y(_,P,Fe,"⋇","\\divideontimes",!0);y(_,P,Fe,"⋉","\\ltimes",!0);y(_,P,Fe,"⋊","\\rtimes",!0);y(_,P,Fe,"⋋","\\leftthreetimes",!0);y(_,P,Fe,"⋌","\\rightthreetimes",!0);y(_,P,Fe,"⋏","\\curlywedge",!0);y(_,P,Fe,"⋎","\\curlyvee",!0);y(_,P,Fe,"⊝","\\circleddash",!0);y(_,P,Fe,"⊛","\\circledast",!0);y(_,P,Fe,"⋅","\\centerdot");y(_,P,Fe,"⊺","\\intercal",!0);y(_,P,Fe,"⋒","\\doublecap");y(_,P,Fe,"⋓","\\doublecup");y(_,P,Fe,"⊠","\\boxtimes",!0);y(_,P,z,"⇢","\\dashrightarrow",!0);y(_,P,z,"⇠","\\dashleftarrow",!0);y(_,P,z,"⇇","\\leftleftarrows",!0);y(_,P,z,"⇆","\\leftrightarrows",!0);y(_,P,z,"⇚","\\Lleftarrow",!0);y(_,P,z,"↞","\\twoheadleftarrow",!0);y(_,P,z,"↢","\\leftarrowtail",!0);y(_,P,z,"↫","\\looparrowleft",!0);y(_,P,z,"⇋","\\leftrightharpoons",!0);y(_,P,z,"↶","\\curvearrowleft",!0);y(_,P,z,"↺","\\circlearrowleft",!0);y(_,P,z,"↰","\\Lsh",!0);y(_,P,z,"⇈","\\upuparrows",!0);y(_,P,z,"↿","\\upharpoonleft",!0);y(_,P,z,"⇃","\\downharpoonleft",!0);y(_,w,z,"⊶","\\origof",!0);y(_,w,z,"⊷","\\imageof",!0);y(_,P,z,"⊸","\\multimap",!0);y(_,P,z,"↭","\\leftrightsquigarrow",!0);y(_,P,z,"⇉","\\rightrightarrows",!0);y(_,P,z,"⇄","\\rightleftarrows",!0);y(_,P,z,"↠","\\twoheadrightarrow",!0);y(_,P,z,"↣","\\rightarrowtail",!0);y(_,P,z,"↬","\\looparrowright",!0);y(_,P,z,"↷","\\curvearrowright",!0);y(_,P,z,"↻","\\circlearrowright",!0);y(_,P,z,"↱","\\Rsh",!0);y(_,P,z,"⇊","\\downdownarrows",!0);y(_,P,z,"↾","\\upharpoonright",!0);y(_,P,z,"⇂","\\downharpoonright",!0);y(_,P,z,"⇝","\\rightsquigarrow",!0);y(_,P,z,"⇝","\\leadsto");y(_,P,z,"⇛","\\Rrightarrow",!0);y(_,P,z,"↾","\\restriction");y(_,w,K,"‘","`");y(_,w,K,"$","\\$");y(_e,w,K,"$","\\$");y(_e,w,K,"$","\\textdollar");y(_,w,K,"%","\\%");y(_e,w,K,"%","\\%");y(_,w,K,"_","\\_");y(_e,w,K,"_","\\_");y(_e,w,K,"_","\\textunderscore");y(_,w,K,"∠","\\angle",!0);y(_,w,K,"∞","\\infty",!0);y(_,w,K,"′","\\prime");y(_,w,K,"△","\\triangle");y(_,w,K,"Γ","\\Gamma",!0);y(_,w,K,"Δ","\\Delta",!0);y(_,w,K,"Θ","\\Theta",!0);y(_,w,K,"Λ","\\Lambda",!0);y(_,w,K,"Ξ","\\Xi",!0);y(_,w,K,"Π","\\Pi",!0);y(_,w,K,"Σ","\\Sigma",!0);y(_,w,K,"Υ","\\Upsilon",!0);y(_,w,K,"Φ","\\Phi",!0);y(_,w,K,"Ψ","\\Psi",!0);y(_,w,K,"Ω","\\Omega",!0);y(_,w,K,"A","Α");y(_,w,K,"B","Β");y(_,w,K,"E","Ε");y(_,w,K,"Z","Ζ");y(_,w,K,"H","Η");y(_,w,K,"I","Ι");y(_,w,K,"K","Κ");y(_,w,K,"M","Μ");y(_,w,K,"N","Ν");y(_,w,K,"O","Ο");y(_,w,K,"P","Ρ");y(_,w,K,"T","Τ");y(_,w,K,"X","Χ");y(_,w,K,"¬","\\neg",!0);y(_,w,K,"¬","\\lnot");y(_,w,K,"⊤","\\top");y(_,w,K,"⊥","\\bot");y(_,w,K,"∅","\\emptyset");y(_,P,K,"∅","\\varnothing");y(_,w,at,"α","\\alpha",!0);y(_,w,at,"β","\\beta",!0);y(_,w,at,"γ","\\gamma",!0);y(_,w,at,"δ","\\delta",!0);y(_,w,at,"ϵ","\\epsilon",!0);y(_,w,at,"ζ","\\zeta",!0);y(_,w,at,"η","\\eta",!0);y(_,w,at,"θ","\\theta",!0);y(_,w,at,"ι","\\iota",!0);y(_,w,at,"κ","\\kappa",!0);y(_,w,at,"λ","\\lambda",!0);y(_,w,at,"μ","\\mu",!0);y(_,w,at,"ν","\\nu",!0);y(_,w,at,"ξ","\\xi",!0);y(_,w,at,"ο","\\omicron",!0);y(_,w,at,"π","\\pi",!0);y(_,w,at,"ρ","\\rho",!0);y(_,w,at,"σ","\\sigma",!0);y(_,w,at,"τ","\\tau",!0);y(_,w,at,"υ","\\upsilon",!0);y(_,w,at,"ϕ","\\phi",!0);y(_,w,at,"χ","\\chi",!0);y(_,w,at,"ψ","\\psi",!0);y(_,w,at,"ω","\\omega",!0);y(_,w,at,"ε","\\varepsilon",!0);y(_,w,at,"ϑ","\\vartheta",!0);y(_,w,at,"ϖ","\\varpi",!0);y(_,w,at,"ϱ","\\varrho",!0);y(_,w,at,"ς","\\varsigma",!0);y(_,w,at,"φ","\\varphi",!0);y(_,w,Fe,"∗","*",!0);y(_,w,Fe,"+","+");y(_,w,Fe,"−","-",!0);y(_,w,Fe,"⋅","\\cdot",!0);y(_,w,Fe,"∘","\\circ",!0);y(_,w,Fe,"÷","\\div",!0);y(_,w,Fe,"±","\\pm",!0);y(_,w,Fe,"×","\\times",!0);y(_,w,Fe,"∩","\\cap",!0);y(_,w,Fe,"∪","\\cup",!0);y(_,w,Fe,"∖","\\setminus",!0);y(_,w,Fe,"∧","\\land");y(_,w,Fe,"∨","\\lor");y(_,w,Fe,"∧","\\wedge",!0);y(_,w,Fe,"∨","\\vee",!0);y(_,w,K,"√","\\surd");y(_,w,Fr,"⟨","\\langle",!0);y(_,w,Fr,"∣","\\lvert");y(_,w,Fr,"∥","\\lVert");y(_,w,dr,"?","?");y(_,w,dr,"!","!");y(_,w,dr,"⟩","\\rangle",!0);y(_,w,dr,"∣","\\rvert");y(_,w,dr,"∥","\\rVert");y(_,w,z,"=","=");y(_,w,z,":",":");y(_,w,z,"≈","\\approx",!0);y(_,w,z,"≅","\\cong",!0);y(_,w,z,"≥","\\ge");y(_,w,z,"≥","\\geq",!0);y(_,w,z,"←","\\gets");y(_,w,z,">","\\gt",!0);y(_,w,z,"∈","\\in",!0);y(_,w,z,"","\\@not");y(_,w,z,"⊂","\\subset",!0);y(_,w,z,"⊃","\\supset",!0);y(_,w,z,"⊆","\\subseteq",!0);y(_,w,z,"⊇","\\supseteq",!0);y(_,P,z,"⊈","\\nsubseteq",!0);y(_,P,z,"⊉","\\nsupseteq",!0);y(_,w,z,"⊨","\\models");y(_,w,z,"←","\\leftarrow",!0);y(_,w,z,"≤","\\le");y(_,w,z,"≤","\\leq",!0);y(_,w,z,"<","\\lt",!0);y(_,w,z,"→","\\rightarrow",!0);y(_,w,z,"→","\\to");y(_,P,z,"≱","\\ngeq",!0);y(_,P,z,"≰","\\nleq",!0);y(_,w,di," ","\\ ");y(_,w,di," ","\\space");y(_,w,di," ","\\nobreakspace");y(_e,w,di," ","\\ ");y(_e,w,di," "," ");y(_e,w,di," ","\\space");y(_e,w,di," ","\\nobreakspace");y(_,w,di,null,"\\nobreak");y(_,w,di,null,"\\allowbreak");y(_,w,td,",",",");y(_,w,td,";",";");y(_,P,Fe,"⊼","\\barwedge",!0);y(_,P,Fe,"⊻","\\veebar",!0);y(_,w,Fe,"⊙","\\odot",!0);y(_,w,Fe,"⊕","\\oplus",!0);y(_,w,Fe,"⊗","\\otimes",!0);y(_,w,K,"∂","\\partial",!0);y(_,w,Fe,"⊘","\\oslash",!0);y(_,P,Fe,"⊚","\\circledcirc",!0);y(_,P,Fe,"⊡","\\boxdot",!0);y(_,w,Fe,"△","\\bigtriangleup");y(_,w,Fe,"▽","\\bigtriangledown");y(_,w,Fe,"†","\\dagger");y(_,w,Fe,"⋄","\\diamond");y(_,w,Fe,"⋆","\\star");y(_,w,Fe,"◃","\\triangleleft");y(_,w,Fe,"▹","\\triangleright");y(_,w,Fr,"{","\\{");y(_e,w,K,"{","\\{");y(_e,w,K,"{","\\textbraceleft");y(_,w,dr,"}","\\}");y(_e,w,K,"}","\\}");y(_e,w,K,"}","\\textbraceright");y(_,w,Fr,"{","\\lbrace");y(_,w,dr,"}","\\rbrace");y(_,w,Fr,"[","\\lbrack",!0);y(_e,w,K,"[","\\lbrack",!0);y(_,w,dr,"]","\\rbrack",!0);y(_e,w,K,"]","\\rbrack",!0);y(_,w,Fr,"(","\\lparen",!0);y(_,w,dr,")","\\rparen",!0);y(_e,w,K,"<","\\textless",!0);y(_e,w,K,">","\\textgreater",!0);y(_,w,Fr,"⌊","\\lfloor",!0);y(_,w,dr,"⌋","\\rfloor",!0);y(_,w,Fr,"⌈","\\lceil",!0);y(_,w,dr,"⌉","\\rceil",!0);y(_,w,K,"\\","\\backslash");y(_,w,K,"∣","|");y(_,w,K,"∣","\\vert");y(_e,w,K,"|","\\textbar",!0);y(_,w,K,"∥","\\|");y(_,w,K,"∥","\\Vert");y(_e,w,K,"∥","\\textbardbl");y(_e,w,K,"~","\\textasciitilde");y(_e,w,K,"\\","\\textbackslash");y(_e,w,K,"^","\\textasciicircum");y(_,w,z,"↑","\\uparrow",!0);y(_,w,z,"⇑","\\Uparrow",!0);y(_,w,z,"↓","\\downarrow",!0);y(_,w,z,"⇓","\\Downarrow",!0);y(_,w,z,"↕","\\updownarrow",!0);y(_,w,z,"⇕","\\Updownarrow",!0);y(_,w,Mn,"∐","\\coprod");y(_,w,Mn,"⋁","\\bigvee");y(_,w,Mn,"⋀","\\bigwedge");y(_,w,Mn,"⨄","\\biguplus");y(_,w,Mn,"⋂","\\bigcap");y(_,w,Mn,"⋃","\\bigcup");y(_,w,Mn,"∫","\\int");y(_,w,Mn,"∫","\\intop");y(_,w,Mn,"∬","\\iint");y(_,w,Mn,"∭","\\iiint");y(_,w,Mn,"∏","\\prod");y(_,w,Mn,"∑","\\sum");y(_,w,Mn,"⨂","\\bigotimes");y(_,w,Mn,"⨁","\\bigoplus");y(_,w,Mn,"⨀","\\bigodot");y(_,w,Mn,"∮","\\oint");y(_,w,Mn,"∯","\\oiint");y(_,w,Mn,"∰","\\oiiint");y(_,w,Mn,"⨆","\\bigsqcup");y(_,w,Mn,"∫","\\smallint");y(_e,w,ql,"…","\\textellipsis");y(_,w,ql,"…","\\mathellipsis");y(_e,w,ql,"…","\\ldots",!0);y(_,w,ql,"…","\\ldots",!0);y(_,w,ql,"⋯","\\@cdots",!0);y(_,w,ql,"⋱","\\ddots",!0);y(_,w,K,"⋮","\\varvdots");y(_e,w,K,"⋮","\\varvdots");y(_,w,sn,"ˊ","\\acute");y(_,w,sn,"ˋ","\\grave");y(_,w,sn,"¨","\\ddot");y(_,w,sn,"~","\\tilde");y(_,w,sn,"ˉ","\\bar");y(_,w,sn,"˘","\\breve");y(_,w,sn,"ˇ","\\check");y(_,w,sn,"^","\\hat");y(_,w,sn,"⃗","\\vec");y(_,w,sn,"˙","\\dot");y(_,w,sn,"˚","\\mathring");y(_,w,at,"","\\@imath");y(_,w,at,"","\\@jmath");y(_,w,K,"ı","ı");y(_,w,K,"ȷ","ȷ");y(_e,w,K,"ı","\\i",!0);y(_e,w,K,"ȷ","\\j",!0);y(_e,w,K,"ß","\\ss",!0);y(_e,w,K,"æ","\\ae",!0);y(_e,w,K,"œ","\\oe",!0);y(_e,w,K,"ø","\\o",!0);y(_e,w,K,"Æ","\\AE",!0);y(_e,w,K,"Œ","\\OE",!0);y(_e,w,K,"Ø","\\O",!0);y(_e,w,sn,"ˊ","\\'");y(_e,w,sn,"ˋ","\\`");y(_e,w,sn,"ˆ","\\^");y(_e,w,sn,"˜","\\~");y(_e,w,sn,"ˉ","\\=");y(_e,w,sn,"˘","\\u");y(_e,w,sn,"˙","\\.");y(_e,w,sn,"¸","\\c");y(_e,w,sn,"˚","\\r");y(_e,w,sn,"ˇ","\\v");y(_e,w,sn,"¨",'\\"');y(_e,w,sn,"˝","\\H");y(_e,w,sn,"◯","\\textcircled");var ny={"--":!0,"---":!0,"``":!0,"''":!0};y(_e,w,K,"–","--",!0);y(_e,w,K,"–","\\textendash");y(_e,w,K,"—","---",!0);y(_e,w,K,"—","\\textemdash");y(_e,w,K,"‘","`",!0);y(_e,w,K,"‘","\\textquoteleft");y(_e,w,K,"’","'",!0);y(_e,w,K,"’","\\textquoteright");y(_e,w,K,"“","``",!0);y(_e,w,K,"“","\\textquotedblleft");y(_e,w,K,"”","''",!0);y(_e,w,K,"”","\\textquotedblright");y(_,w,K,"°","\\degree",!0);y(_e,w,K,"°","\\degree");y(_e,w,K,"°","\\textdegree",!0);y(_,w,K,"£","\\pounds");y(_,w,K,"£","\\mathsterling",!0);y(_e,w,K,"£","\\pounds");y(_e,w,K,"£","\\textsterling",!0);y(_,P,K,"✠","\\maltese");y(_e,P,K,"✠","\\maltese");var v3='0123456789/@."';for(var Vh=0;Vh<v3.length;Vh++){var T3=v3.charAt(Vh);y(_,w,K,T3,T3)}var _3='0123456789!@*()-=+";:?/.,';for(var Kh=0;Kh<_3.length;Kh++){var S3=_3.charAt(Kh);y(_e,w,K,S3,S3)}var B0="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(var $h=0;$h<B0.length;$h++){var a0=B0.charAt($h);y(_,w,at,a0,a0),y(_e,w,K,a0,a0)}y(_,P,K,"C","ℂ");y(_e,P,K,"C","ℂ");y(_,P,K,"H","ℍ");y(_e,P,K,"H","ℍ");y(_,P,K,"N","ℕ");y(_e,P,K,"N","ℕ");y(_,P,K,"P","ℙ");y(_e,P,K,"P","ℙ");y(_,P,K,"Q","ℚ");y(_e,P,K,"Q","ℚ");y(_,P,K,"R","ℝ");y(_e,P,K,"R","ℝ");y(_,P,K,"Z","ℤ");y(_e,P,K,"Z","ℤ");y(_,w,at,"h","ℎ");y(_e,w,at,"h","ℎ");var ft="";for(var ir=0;ir<B0.length;ir++){var En=B0.charAt(ir);ft=String.fromCharCode(55349,56320+ir),y(_,w,at,En,ft),y(_e,w,K,En,ft),ft=String.fromCharCode(55349,56372+ir),y(_,w,at,En,ft),y(_e,w,K,En,ft),ft=String.fromCharCode(55349,56424+ir),y(_,w,at,En,ft),y(_e,w,K,En,ft),ft=String.fromCharCode(55349,56580+ir),y(_,w,at,En,ft),y(_e,w,K,En,ft),ft=String.fromCharCode(55349,56684+ir),y(_,w,at,En,ft),y(_e,w,K,En,ft),ft=String.fromCharCode(55349,56736+ir),y(_,w,at,En,ft),y(_e,w,K,En,ft),ft=String.fromCharCode(55349,56788+ir),y(_,w,at,En,ft),y(_e,w,K,En,ft),ft=String.fromCharCode(55349,56840+ir),y(_,w,at,En,ft),y(_e,w,K,En,ft),ft=String.fromCharCode(55349,56944+ir),y(_,w,at,En,ft),y(_e,w,K,En,ft),ir<26&&(ft=String.fromCharCode(55349,56632+ir),y(_,w,at,En,ft),y(_e,w,K,En,ft),ft=String.fromCharCode(55349,56476+ir),y(_,w,at,En,ft),y(_e,w,K,En,ft))}ft="𝕜";y(_,w,at,"k",ft);y(_e,w,K,"k",ft);for(var Cs=0;Cs<10;Cs++){var Yi=Cs.toString();ft=String.fromCharCode(55349,57294+Cs),y(_,w,at,Yi,ft),y(_e,w,K,Yi,ft),ft=String.fromCharCode(55349,57314+Cs),y(_,w,at,Yi,ft),y(_e,w,K,Yi,ft),ft=String.fromCharCode(55349,57324+Cs),y(_,w,at,Yi,ft),y(_e,w,K,Yi,ft),ft=String.fromCharCode(55349,57334+Cs),y(_,w,at,Yi,ft),y(_e,w,K,Yi,ft)}var j1="ÐÞþ";for(var Xh=0;Xh<j1.length;Xh++){var i0=j1.charAt(Xh);y(_,w,at,i0,i0),y(_e,w,K,i0,i0)}var s0=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],x3=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],aR=function(t,n){var a=t.charCodeAt(0),s=t.charCodeAt(1),l=(a-55296)*1024+(s-56320)+65536,o=n==="math"?0:1;if(119808<=l&&l<120484){var d=Math.floor((l-119808)/26);return[s0[d][2],s0[d][o]]}else if(120782<=l&&l<=120831){var f=Math.floor((l-120782)/10);return[x3[f][2],x3[f][o]]}else{if(l===120485||l===120486)return[s0[0][2],s0[0][o]];if(120486<l&&l<120782)return["",""];throw new ke("Unsupported character: "+t)}},nd=function(t,n,a){return Zt[a][t]&&Zt[a][t].replace&&(t=Zt[a][t].replace),{value:t,metrics:Ym(t,n,a)}},fa=function(t,n,a,s,l){var o=nd(t,n,a),d=o.metrics;t=o.value;var f;if(d){var h=d.italic;(a==="text"||s&&s.font==="mathit")&&(h=0),f=new ta(t,d.height,d.depth,h,d.skew,d.width,l)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+t+"' in style '"+n+"' and mode '"+a+"'")),f=new ta(t,0,0,0,0,0,l);if(s){f.maxFontSize=s.sizeMultiplier,s.style.isTight()&&f.classes.push("mtight");var p=s.getColor();p&&(f.style.color=p)}return f},iR=function(t,n,a,s){return s===void 0&&(s=[]),a.font==="boldsymbol"&&nd(t,"Main-Bold",n).metrics?fa(t,"Main-Bold",n,a,s.concat(["mathbf"])):t==="\\"||Zt[n][t].font==="main"?fa(t,"Main-Regular",n,a,s):fa(t,"AMS-Regular",n,a,s.concat(["amsrm"]))},sR=function(t,n,a,s,l){return l!=="textord"&&nd(t,"Math-BoldItalic",n).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},lR=function(t,n,a){var s=t.mode,l=t.text,o=["mord"],d=s==="math"||s==="text"&&n.font,f=d?n.font:n.fontFamily,h="",p="";if(l.charCodeAt(0)===55349&&([h,p]=aR(l,s)),h.length>0)return fa(l,h,s,n,o.concat(p));if(f){var b,T;if(f==="boldsymbol"){var v=sR(l,s,n,o,a);b=v.fontName,T=[v.fontClass]}else d?(b=iy[f].fontName,T=[f]):(b=l0(f,n.fontWeight,n.fontShape),T=[f,n.fontWeight,n.fontShape]);if(nd(l,b,s).metrics)return fa(l,b,s,n,o.concat(T));if(ny.hasOwnProperty(l)&&b.slice(0,10)==="Typewriter"){for(var A=[],k=0;k<l.length;k++)A.push(fa(l[k],b,s,n,o.concat(T)));return ay(A)}}if(a==="mathord")return fa(l,"Math-Italic",s,n,o.concat(["mathnormal"]));if(a==="textord"){var R=Zt[s][l]&&Zt[s][l].font;if(R==="ams"){var C=l0("amsrm",n.fontWeight,n.fontShape);return fa(l,C,s,n,o.concat("amsrm",n.fontWeight,n.fontShape))}else if(R==="main"||!R){var D=l0("textrm",n.fontWeight,n.fontShape);return fa(l,D,s,n,o.concat(n.fontWeight,n.fontShape))}else{var U=l0(R,n.fontWeight,n.fontShape);return fa(l,U,s,n,o.concat(U,n.fontWeight,n.fontShape))}}else throw new Error("unexpected type: "+a+" in makeOrd")},uR=(e,t)=>{if(Zi(e.classes)!==Zi(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 a in e.style)if(e.style.hasOwnProperty(a)&&e.style[a]!==t.style[a])return!1;for(var s in t.style)if(t.style.hasOwnProperty(s)&&e.style[s]!==t.style[s])return!1;return!0},oR=e=>{for(var t=0;t<e.length-1;t++){var n=e[t],a=e[t+1];n instanceof ta&&a instanceof ta&&uR(n,a)&&(n.text+=a.text,n.height=Math.max(n.height,a.height),n.depth=Math.max(n.depth,a.depth),n.italic=a.italic,e.splice(t+1,1),t--)}return e},jm=function(t){for(var n=0,a=0,s=0,l=0;l<t.children.length;l++){var o=t.children[l];o.height>n&&(n=o.height),o.depth>a&&(a=o.depth),o.maxFontSize>s&&(s=o.maxFontSize)}t.height=n,t.depth=a,t.maxFontSize=s},Tr=function(t,n,a,s){var l=new Oo(t,n,a,s);return jm(l),l},ry=(e,t,n,a)=>new Oo(e,t,n,a),cR=function(t,n,a){var s=Tr([t],[],n);return s.height=Math.max(a||n.fontMetrics().defaultRuleThickness,n.minRuleThickness),s.style.borderBottomWidth=Ie(s.height),s.maxFontSize=1,s},dR=function(t,n,a,s){var l=new Gm(t,n,a,s);return jm(l),l},ay=function(t){var n=new No(t);return jm(n),n},fR=function(t,n){return t instanceof No?Tr([],[t],n):t},hR=function(t){if(t.positionType==="individualShift"){for(var n=t.children,a=[n[0]],s=-n[0].shift-n[0].elem.depth,l=s,o=1;o<n.length;o++){var d=-n[o].shift-l-n[o].elem.depth,f=d-(n[o-1].elem.height+n[o-1].elem.depth);l=l+d,a.push({type:"kern",size:f}),a.push(n[o])}return{children:a,depth:s}}var h;if(t.positionType==="top"){for(var p=t.positionData,b=0;b<t.children.length;b++){var T=t.children[b];p-=T.type==="kern"?T.size:T.elem.height+T.elem.depth}h=p}else if(t.positionType==="bottom")h=-t.positionData;else{var v=t.children[0];if(v.type!=="elem")throw new Error('First child must have type "elem".');if(t.positionType==="shift")h=-v.elem.depth-t.positionData;else if(t.positionType==="firstBaseline")h=-v.elem.depth;else throw new Error("Invalid positionType "+t.positionType+".")}return{children:t.children,depth:h}},mR=function(t,n){for(var{children:a,depth:s}=hR(t),l=0,o=0;o<a.length;o++){var d=a[o];if(d.type==="elem"){var f=d.elem;l=Math.max(l,f.maxFontSize,f.height)}}l+=2;var h=Tr(["pstrut"],[]);h.style.height=Ie(l);for(var p=[],b=s,T=s,v=s,A=0;A<a.length;A++){var k=a[A];if(k.type==="kern")v+=k.size;else{var R=k.elem,C=k.wrapperClasses||[],D=k.wrapperStyle||{},U=Tr(C,[h,R],void 0,D);U.style.top=Ie(-l-v-R.depth),k.marginLeft&&(U.style.marginLeft=k.marginLeft),k.marginRight&&(U.style.marginRight=k.marginRight),p.push(U),v+=R.height+R.depth}b=Math.min(b,v),T=Math.max(T,v)}var J=Tr(["vlist"],p);J.style.height=Ie(T);var j;if(b<0){var B=Tr([],[]),Q=Tr(["vlist"],[B]);Q.style.height=Ie(-b);var te=Tr(["vlist-s"],[new ta("​")]);j=[Tr(["vlist-r"],[J,te]),Tr(["vlist-r"],[Q])]}else j=[Tr(["vlist-r"],[J])];var ae=Tr(["vlist-t"],j);return j.length===2&&ae.classes.push("vlist-t2"),ae.height=T,ae.depth=-b,ae},pR=(e,t)=>{var n=Tr(["mspace"],[],t),a=pn(e,t);return n.style.marginRight=Ie(a),n},l0=function(t,n,a){var s="";switch(t){case"amsrm":s="AMS";break;case"textrm":s="Main";break;case"textsf":s="SansSerif";break;case"texttt":s="Typewriter";break;default:s=t}var l;return n==="textbf"&&a==="textit"?l="BoldItalic":n==="textbf"?l="Bold":n==="textit"?l="Italic":l="Regular",s+"-"+l},iy={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"}},sy={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},gR=function(t,n){var[a,s,l]=sy[t],o=new Ji(a),d=new si([o],{width:Ie(s),height:Ie(l),style:"width:"+Ie(s),viewBox:"0 0 "+1e3*s+" "+1e3*l,preserveAspectRatio:"xMinYMin"}),f=ry(["overlay"],[d],n);return f.height=l,f.style.height=Ie(l),f.style.width=Ie(s),f},se={fontMap:iy,makeSymbol:fa,mathsym:iR,makeSpan:Tr,makeSvgSpan:ry,makeLineSpan:cR,makeAnchor:dR,makeFragment:ay,wrapFragment:fR,makeVList:mR,makeOrd:lR,makeGlue:pR,staticSvg:gR,svgData:sy,tryCombineChars:oR},hn={number:3,unit:"mu"},Ns={number:4,unit:"mu"},ei={number:5,unit:"mu"},bR={mord:{mop:hn,mbin:Ns,mrel:ei,minner:hn},mop:{mord:hn,mop:hn,mrel:ei,minner:hn},mbin:{mord:Ns,mop:Ns,mopen:Ns,minner:Ns},mrel:{mord:ei,mop:ei,mopen:ei,minner:ei},mopen:{},mclose:{mop:hn,mbin:Ns,mrel:ei,minner:hn},mpunct:{mord:hn,mop:hn,mrel:ei,mopen:hn,mclose:hn,mpunct:hn,minner:hn},minner:{mord:hn,mop:hn,mbin:Ns,mrel:ei,mopen:hn,mpunct:hn,minner:hn}},ER={mord:{mop:hn},mop:{mord:hn,mop:hn},mbin:{},mrel:{},mopen:{},mclose:{mop:hn},mpunct:{},minner:{mop:hn}},ly={},P0={},U0={};function Ue(e){for(var{type:t,names:n,props:a,handler:s,htmlBuilder:l,mathmlBuilder:o}=e,d={type:t,numArgs:a.numArgs,argTypes:a.argTypes,allowedInArgument:!!a.allowedInArgument,allowedInText:!!a.allowedInText,allowedInMath:a.allowedInMath===void 0?!0:a.allowedInMath,numOptionalArgs:a.numOptionalArgs||0,infix:!!a.infix,primitive:!!a.primitive,handler:s},f=0;f<n.length;++f)ly[n[f]]=d;t&&(l&&(P0[t]=l),o&&(U0[t]=o))}function Ps(e){var{type:t,htmlBuilder:n,mathmlBuilder:a}=e;Ue({type:t,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:n,mathmlBuilder:a})}var z0=function(t){return t.type==="ordgroup"&&t.body.length===1?t.body[0]:t},Sn=function(t){return t.type==="ordgroup"?t.body:[t]},li=se.makeSpan,yR=["leftmost","mbin","mopen","mrel","mop","mpunct"],vR=["rightmost","mrel","mclose","mpunct"],TR={display:it.DISPLAY,text:it.TEXT,script:it.SCRIPT,scriptscript:it.SCRIPTSCRIPT},_R={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Bn=function(t,n,a,s){s===void 0&&(s=[null,null]);for(var l=[],o=0;o<t.length;o++){var d=Rt(t[o],n);if(d instanceof No){var f=d.children;l.push(...f)}else l.push(d)}if(se.tryCombineChars(l),!a)return l;var h=n;if(t.length===1){var p=t[0];p.type==="sizing"?h=n.havingSize(p.size):p.type==="styling"&&(h=n.havingStyle(TR[p.style]))}var b=li([s[0]||"leftmost"],[],n),T=li([s[1]||"rightmost"],[],n),v=a==="root";return A3(l,(A,k)=>{var R=k.classes[0],C=A.classes[0];R==="mbin"&&tt.contains(vR,C)?k.classes[0]="mord":C==="mbin"&&tt.contains(yR,R)&&(A.classes[0]="mord")},{node:b},T,v),A3(l,(A,k)=>{var R=V1(k),C=V1(A),D=R&&C?A.hasClass("mtight")?ER[R][C]:bR[R][C]:null;if(D)return se.makeGlue(D,h)},{node:b},T,v),l},A3=function e(t,n,a,s,l){s&&t.push(s);for(var o=0;o<t.length;o++){var d=t[o],f=uy(d);if(f){e(f.children,n,a,null,l);continue}var h=!d.hasClass("mspace");if(h){var p=n(d,a.node);p&&(a.insertAfter?a.insertAfter(p):(t.unshift(p),o++))}h?a.node=d:l&&d.hasClass("newline")&&(a.node=li(["leftmost"])),a.insertAfter=(b=>T=>{t.splice(b+1,0,T),o++})(o)}s&&t.pop()},uy=function(t){return t instanceof No||t instanceof Gm||t instanceof Oo&&t.hasClass("enclosing")?t:null},SR=function e(t,n){var a=uy(t);if(a){var s=a.children;if(s.length){if(n==="right")return e(s[s.length-1],"right");if(n==="left")return e(s[0],"left")}}return t},V1=function(t,n){return t?(n&&(t=SR(t,n)),_R[t.classes[0]]||null):null},yo=function(t,n){var a=["nulldelimiter"].concat(t.baseSizingClasses());return li(n.concat(a))},Rt=function(t,n,a){if(!t)return li();if(P0[t.type]){var s=P0[t.type](t,n);if(a&&n.size!==a.size){s=li(n.sizingClasses(a),[s],n);var l=n.sizeMultiplier/a.sizeMultiplier;s.height*=l,s.depth*=l}return s}else throw new ke("Got group of unknown type: '"+t.type+"'")};function u0(e,t){var n=li(["base"],e,t),a=li(["strut"]);return a.style.height=Ie(n.height+n.depth),n.depth&&(a.style.verticalAlign=Ie(-n.depth)),n.children.unshift(a),n}function K1(e,t){var n=null;e.length===1&&e[0].type==="tag"&&(n=e[0].tag,e=e[0].body);var a=Bn(e,t,"root"),s;a.length===2&&a[1].hasClass("tag")&&(s=a.pop());for(var l=[],o=[],d=0;d<a.length;d++)if(o.push(a[d]),a[d].hasClass("mbin")||a[d].hasClass("mrel")||a[d].hasClass("allowbreak")){for(var f=!1;d<a.length-1&&a[d+1].hasClass("mspace")&&!a[d+1].hasClass("newline");)d++,o.push(a[d]),a[d].hasClass("nobreak")&&(f=!0);f||(l.push(u0(o,t)),o=[])}else a[d].hasClass("newline")&&(o.pop(),o.length>0&&(l.push(u0(o,t)),o=[]),l.push(a[d]));o.length>0&&l.push(u0(o,t));var h;n?(h=u0(Bn(n,t,!0)),h.classes=["tag"],l.push(h)):s&&l.push(s);var p=li(["katex-html"],l);if(p.setAttribute("aria-hidden","true"),h){var b=h.children[0];b.style.height=Ie(p.height+p.depth),p.depth&&(b.style.verticalAlign=Ie(-p.depth))}return p}function oy(e){return new No(e)}class Ur{constructor(t,n,a){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=a||[]}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=Zi(this.classes));for(var a=0;a<this.children.length;a++)if(this.children[a]instanceof Na&&this.children[a+1]instanceof Na){for(var s=this.children[a].toText()+this.children[++a].toText();this.children[a+1]instanceof Na;)s+=this.children[++a].toText();t.appendChild(new Na(s).toNode())}else t.appendChild(this.children[a].toNode());return t}toMarkup(){var t="<"+this.type;for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&(t+=" "+n+'="',t+=tt.escape(this.attributes[n]),t+='"');this.classes.length>0&&(t+=' class ="'+tt.escape(Zi(this.classes))+'"'),t+=">";for(var a=0;a<this.children.length;a++)t+=this.children[a].toMarkup();return t+="</"+this.type+">",t}toText(){return this.children.map(t=>t.toText()).join("")}}class Na{constructor(t){this.text=void 0,this.text=t}toNode(){return document.createTextNode(this.text)}toMarkup(){return tt.escape(this.toText())}toText(){return this.text}}class xR{constructor(t){this.width=void 0,this.character=void 0,this.width=t,t>=.05555&&t<=.05556?this.character=" ":t>=.1666&&t<=.1667?this.character=" ":t>=.2222&&t<=.2223?this.character=" ":t>=.2777&&t<=.2778?this.character="  ":t>=-.05556&&t<=-.05555?this.character=" ⁣":t>=-.1667&&t<=-.1666?this.character=" ⁣":t>=-.2223&&t<=-.2222?this.character=" ⁣":t>=-.2778&&t<=-.2777?this.character=" ⁣":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?"<mtext>"+this.character+"</mtext>":'<mspace width="'+Ie(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var we={MathNode:Ur,TextNode:Na,SpaceNode:xR,newDocumentFragment:oy},na=function(t,n,a){return Zt[n][t]&&Zt[n][t].replace&&t.charCodeAt(0)!==55349&&!(ny.hasOwnProperty(t)&&a&&(a.fontFamily&&a.fontFamily.slice(4,6)==="tt"||a.font&&a.font.slice(4,6)==="tt"))&&(t=Zt[n][t].replace),new we.TextNode(t)},Vm=function(t){return t.length===1?t[0]:new we.MathNode("mrow",t)},Km=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 a=n.font;if(!a||a==="mathnormal")return null;var s=t.mode;if(a==="mathit")return"italic";if(a==="boldsymbol")return t.type==="textord"?"bold":"bold-italic";if(a==="mathbf")return"bold";if(a==="mathbb")return"double-struck";if(a==="mathsfit")return"sans-serif-italic";if(a==="mathfrak")return"fraktur";if(a==="mathscr"||a==="mathcal")return"script";if(a==="mathsf")return"sans-serif";if(a==="mathtt")return"monospace";var l=t.text;if(tt.contains(["\\imath","\\jmath"],l))return null;Zt[s][l]&&Zt[s][l].replace&&(l=Zt[s][l].replace);var o=se.fontMap[a].fontName;return Ym(l,o,s)?se.fontMap[a].variant:null};function Wh(e){if(!e)return!1;if(e.type==="mi"&&e.children.length===1){var t=e.children[0];return t instanceof Na&&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 Na&&n.text===","}else return!1}var Sr=function(t,n,a){if(t.length===1){var s=$t(t[0],n);return a&&s instanceof Ur&&s.type==="mo"&&(s.setAttribute("lspace","0em"),s.setAttribute("rspace","0em")),[s]}for(var l=[],o,d=0;d<t.length;d++){var f=$t(t[d],n);if(f instanceof Ur&&o instanceof Ur){if(f.type==="mtext"&&o.type==="mtext"&&f.getAttribute("mathvariant")===o.getAttribute("mathvariant")){o.children.push(...f.children);continue}else if(f.type==="mn"&&o.type==="mn"){o.children.push(...f.children);continue}else if(Wh(f)&&o.type==="mn"){o.children.push(...f.children);continue}else if(f.type==="mn"&&Wh(o))f.children=[...o.children,...f.children],l.pop();else if((f.type==="msup"||f.type==="msub")&&f.children.length>=1&&(o.type==="mn"||Wh(o))){var h=f.children[0];h instanceof Ur&&h.type==="mn"&&(h.children=[...o.children,...h.children],l.pop())}else if(o.type==="mi"&&o.children.length===1){var p=o.children[0];if(p instanceof Na&&p.text==="̸"&&(f.type==="mo"||f.type==="mi"||f.type==="mn")){var b=f.children[0];b instanceof Na&&b.text.length>0&&(b.text=b.text.slice(0,1)+"̸"+b.text.slice(1),l.pop())}}}l.push(f),o=f}return l},es=function(t,n,a){return Vm(Sr(t,n,a))},$t=function(t,n){if(!t)return new we.MathNode("mrow");if(U0[t.type]){var a=U0[t.type](t,n);return a}else throw new ke("Got group of unknown type: '"+t.type+"'")};function w3(e,t,n,a,s){var l=Sr(e,n),o;l.length===1&&l[0]instanceof Ur&&tt.contains(["mrow","mtable"],l[0].type)?o=l[0]:o=new we.MathNode("mrow",l);var d=new we.MathNode("annotation",[new we.TextNode(t)]);d.setAttribute("encoding","application/x-tex");var f=new we.MathNode("semantics",[o,d]),h=new we.MathNode("math",[f]);h.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),a&&h.setAttribute("display","block");var p=s?"katex":"katex-mathml";return se.makeSpan([p],[h])}var cy=function(t){return new ni({style:t.displayMode?it.DISPLAY:it.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},dy=function(t,n){if(n.displayMode){var a=["katex-display"];n.leqno&&a.push("leqno"),n.fleqn&&a.push("fleqn"),t=se.makeSpan(a,[t])}return t},AR=function(t,n,a){var s=cy(a),l;if(a.output==="mathml")return w3(t,n,s,a.displayMode,!0);if(a.output==="html"){var o=K1(t,s);l=se.makeSpan(["katex"],[o])}else{var d=w3(t,n,s,a.displayMode,!1),f=K1(t,s);l=se.makeSpan(["katex"],[d,f])}return dy(l,a)},wR=function(t,n,a){var s=cy(a),l=K1(t,s),o=se.makeSpan(["katex"],[l]);return dy(o,a)},kR={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},CR=function(t){var n=new we.MathNode("mo",[new we.TextNode(kR[t.replace(/^\\/,"")])]);return n.setAttribute("stretchy","true"),n},NR={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]},OR=function(t){return t.type==="ordgroup"?t.body.length:1},MR=function(t,n){function a(){var d=4e5,f=t.label.slice(1);if(tt.contains(["widehat","widecheck","widetilde","utilde"],f)){var h=t,p=OR(h.base),b,T,v;if(p>5)f==="widehat"||f==="widecheck"?(b=420,d=2364,v=.42,T=f+"4"):(b=312,d=2340,v=.34,T="tilde4");else{var A=[1,1,2,2,3,3][p];f==="widehat"||f==="widecheck"?(d=[0,1062,2364,2364,2364][A],b=[0,239,300,360,420][A],v=[0,.24,.3,.3,.36,.42][A],T=f+A):(d=[0,600,1033,2339,2340][A],b=[0,260,286,306,312][A],v=[0,.26,.286,.3,.306,.34][A],T="tilde"+A)}var k=new Ji(T),R=new si([k],{width:"100%",height:Ie(v),viewBox:"0 0 "+d+" "+b,preserveAspectRatio:"none"});return{span:se.makeSvgSpan([],[R],n),minWidth:0,height:v}}else{var C=[],D=NR[f],[U,J,j]=D,B=j/1e3,Q=U.length,te,ae;if(Q===1){var Y=D[3];te=["hide-tail"],ae=[Y]}else if(Q===2)te=["halfarrow-left","halfarrow-right"],ae=["xMinYMin","xMaxYMin"];else if(Q===3)te=["brace-left","brace-center","brace-right"],ae=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
339
- `+Q+" children.");for(var Z=0;Z<Q;Z++){var ee=new Ji(U[Z]),pe=new si([ee],{width:"400em",height:Ie(B),viewBox:"0 0 "+d+" "+j,preserveAspectRatio:ae[Z]+" slice"}),ue=se.makeSvgSpan([te[Z]],[pe],n);if(Q===1)return{span:ue,minWidth:J,height:B};ue.style.height=Ie(B),C.push(ue)}return{span:se.makeSpan(["stretchy"],C,n),minWidth:J,height:B}}}var{span:s,minWidth:l,height:o}=a();return s.height=o,s.style.height=Ie(o),l>0&&(s.style.minWidth=Ie(l)),s},RR=function(t,n,a,s,l){var o,d=t.height+t.depth+a+s;if(/fbox|color|angl/.test(n)){if(o=se.makeSpan(["stretchy",n],[],l),n==="fbox"){var f=l.color&&l.getColor();f&&(o.style.borderColor=f)}}else{var h=[];/^[bx]cancel$/.test(n)&&h.push(new G1({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(n)&&h.push(new G1({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var p=new si(h,{width:"100%",height:Ie(d)});o=se.makeSvgSpan([],[p],l)}return o.height=d,o.style.height=Ie(d),o},ui={encloseSpan:RR,mathMLnode:CR,svgSpan:MR};function yt(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 $m(e){var t=rd(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 rd(e){return e&&(e.type==="atom"||rR.hasOwnProperty(e.type))?e:null}var Xm=(e,t)=>{var n,a,s;e&&e.type==="supsub"?(a=yt(e.base,"accent"),n=a.base,e.base=n,s=tR(Rt(e,t)),e.base=a):(a=yt(e,"accent"),n=a.base);var l=Rt(n,t.havingCrampedStyle()),o=a.isShifty&&tt.isCharacterBox(n),d=0;if(o){var f=tt.getBaseElem(n),h=Rt(f,t.havingCrampedStyle());d=y3(h).skew}var p=a.label==="\\c",b=p?l.height+l.depth:Math.min(l.height,t.fontMetrics().xHeight),T;if(a.isStretchy)T=ui.svgSpan(a,t),T=se.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"elem",elem:T,wrapperClasses:["svg-align"],wrapperStyle:d>0?{width:"calc(100% - "+Ie(2*d)+")",marginLeft:Ie(2*d)}:void 0}]},t);else{var v,A;a.label==="\\vec"?(v=se.staticSvg("vec",t),A=se.svgData.vec[1]):(v=se.makeOrd({mode:a.mode,text:a.label},t,"textord"),v=y3(v),v.italic=0,A=v.width,p&&(b+=v.depth)),T=se.makeSpan(["accent-body"],[v]);var k=a.label==="\\textcircled";k&&(T.classes.push("accent-full"),b=l.height);var R=d;k||(R-=A/2),T.style.left=Ie(R),a.label==="\\textcircled"&&(T.style.top=".2em"),T=se.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:-b},{type:"elem",elem:T}]},t)}var C=se.makeSpan(["mord","accent"],[T],t);return s?(s.children[0]=C,s.height=Math.max(C.height,s.height),s.classes[0]="mord",s):C},fy=(e,t)=>{var n=e.isStretchy?ui.mathMLnode(e.label):new we.MathNode("mo",[na(e.label,e.mode)]),a=new we.MathNode("mover",[$t(e.base,t),n]);return a.setAttribute("accent","true"),a},DR=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));Ue({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=z0(t[0]),a=!DR.test(e.funcName),s=!a||e.funcName==="\\widehat"||e.funcName==="\\widetilde"||e.funcName==="\\widecheck";return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:a,isShifty:s,base:n}},htmlBuilder:Xm,mathmlBuilder:fy});Ue({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],a=e.parser.mode;return a==="math"&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),a="text"),{type:"accent",mode:a,label:e.funcName,isStretchy:!1,isShifty:!0,base:n}},htmlBuilder:Xm,mathmlBuilder:fy});Ue({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:n,funcName:a}=e,s=t[0];return{type:"accentUnder",mode:n.mode,label:a,base:s}},htmlBuilder:(e,t)=>{var n=Rt(e.base,t),a=ui.svgSpan(e,t),s=e.label==="\\utilde"?.12:0,l=se.makeVList({positionType:"top",positionData:n.height,children:[{type:"elem",elem:a,wrapperClasses:["svg-align"]},{type:"kern",size:s},{type:"elem",elem:n}]},t);return se.makeSpan(["mord","accentunder"],[l],t)},mathmlBuilder:(e,t)=>{var n=ui.mathMLnode(e.label),a=new we.MathNode("munder",[$t(e.base,t),n]);return a.setAttribute("accentunder","true"),a}});var o0=e=>{var t=new we.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};Ue({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:a,funcName:s}=e;return{type:"xArrow",mode:a.mode,label:s,body:t[0],below:n[0]}},htmlBuilder(e,t){var n=t.style,a=t.havingStyle(n.sup()),s=se.wrapFragment(Rt(e.body,a,t),t),l=e.label.slice(0,2)==="\\x"?"x":"cd";s.classes.push(l+"-arrow-pad");var o;e.below&&(a=t.havingStyle(n.sub()),o=se.wrapFragment(Rt(e.below,a,t),t),o.classes.push(l+"-arrow-pad"));var d=ui.svgSpan(e,t),f=-t.fontMetrics().axisHeight+.5*d.height,h=-t.fontMetrics().axisHeight-.5*d.height-.111;(s.depth>.25||e.label==="\\xleftequilibrium")&&(h-=s.depth);var p;if(o){var b=-t.fontMetrics().axisHeight+o.height+.5*d.height+.111;p=se.makeVList({positionType:"individualShift",children:[{type:"elem",elem:s,shift:h},{type:"elem",elem:d,shift:f},{type:"elem",elem:o,shift:b}]},t)}else p=se.makeVList({positionType:"individualShift",children:[{type:"elem",elem:s,shift:h},{type:"elem",elem:d,shift:f}]},t);return p.children[0].children[0].children[1].classes.push("svg-align"),se.makeSpan(["mrel","x-arrow"],[p],t)},mathmlBuilder(e,t){var n=ui.mathMLnode(e.label);n.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var a;if(e.body){var s=o0($t(e.body,t));if(e.below){var l=o0($t(e.below,t));a=new we.MathNode("munderover",[n,l,s])}else a=new we.MathNode("mover",[n,s])}else if(e.below){var o=o0($t(e.below,t));a=new we.MathNode("munder",[n,o])}else a=o0(),a=new we.MathNode("mover",[n,a]);return a}});var IR=se.makeSpan;function hy(e,t){var n=Bn(e.body,t,!0);return IR([e.mclass],n,t)}function my(e,t){var n,a=Sr(e.body,t);return e.mclass==="minner"?n=new we.MathNode("mpadded",a):e.mclass==="mord"?e.isCharacterBox?(n=a[0],n.type="mi"):n=new we.MathNode("mi",a):(e.isCharacterBox?(n=a[0],n.type="mo"):n=new we.MathNode("mo",a),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}Ue({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:n,funcName:a}=e,s=t[0];return{type:"mclass",mode:n.mode,mclass:"m"+a.slice(5),body:Sn(s),isCharacterBox:tt.isCharacterBox(s)}},htmlBuilder:hy,mathmlBuilder:my});var ad=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"};Ue({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:n}=e;return{type:"mclass",mode:n.mode,mclass:ad(t[0]),body:Sn(t[1]),isCharacterBox:tt.isCharacterBox(t[1])}}});Ue({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var{parser:n,funcName:a}=e,s=t[1],l=t[0],o;a!=="\\stackrel"?o=ad(s):o="mrel";var d={type:"op",mode:s.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:a!=="\\stackrel",body:Sn(s)},f={type:"supsub",mode:l.mode,base:d,sup:a==="\\underset"?null:l,sub:a==="\\underset"?l:null};return{type:"mclass",mode:n.mode,mclass:o,body:[f],isCharacterBox:tt.isCharacterBox(f)}},htmlBuilder:hy,mathmlBuilder:my});Ue({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:"pmb",mode:n.mode,mclass:ad(t[0]),body:Sn(t[0])}},htmlBuilder(e,t){var n=Bn(e.body,t,!0),a=se.makeSpan([e.mclass],n,t);return a.style.textShadow="0.02em 0.01em 0.04px",a},mathmlBuilder(e,t){var n=Sr(e.body,t),a=new we.MathNode("mstyle",n);return a.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),a}});var LR={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},k3=()=>({type:"styling",body:[],mode:"math",style:"display"}),C3=e=>e.type==="textord"&&e.text==="@",BR=(e,t)=>(e.type==="mathord"||e.type==="atom")&&e.text===t;function PR(e,t,n){var a=LR[e];switch(a){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return n.callFunction(a,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":{var s=n.callFunction("\\\\cdleft",[t[0]],[]),l={type:"atom",text:a,mode:"math",family:"rel"},o=n.callFunction("\\Big",[l],[]),d=n.callFunction("\\\\cdright",[t[1]],[]),f={type:"ordgroup",mode:"math",body:[s,o,d]};return n.callFunction("\\\\cdparent",[f],[])}case"\\\\cdlongequal":return n.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var h={type:"textord",text:"\\Vert",mode:"math"};return n.callFunction("\\Big",[h],[])}default:return{type:"textord",text:" ",mode:"math"}}}function UR(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 ke("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var a=[],s=[a],l=0;l<t.length;l++){for(var o=t[l],d=k3(),f=0;f<o.length;f++)if(!C3(o[f]))d.body.push(o[f]);else{a.push(d),f+=1;var h=$m(o[f]).text,p=new Array(2);if(p[0]={type:"ordgroup",mode:"math",body:[]},p[1]={type:"ordgroup",mode:"math",body:[]},!("=|.".indexOf(h)>-1))if("<>AV".indexOf(h)>-1)for(var b=0;b<2;b++){for(var T=!0,v=f+1;v<o.length;v++){if(BR(o[v],h)){T=!1,f=v;break}if(C3(o[v]))throw new ke("Missing a "+h+" character to complete a CD arrow.",o[v]);p[b].body.push(o[v])}if(T)throw new ke("Missing a "+h+" character to complete a CD arrow.",o[f])}else throw new ke('Expected one of "<>AV=|." after @',o[f]);var A=PR(h,p,e),k={type:"styling",body:[A],mode:"math",style:"display"};a.push(k),d=k3()}l%2===0?a.push(d):a.shift(),a=[],s.push(a)}e.gullet.endGroup(),e.gullet.endGroup();var R=new Array(s[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:s,arraystretch:1,addJot:!0,rowGaps:[null],cols:R,colSeparationType:"CD",hLinesBeforeRow:new Array(s.length+1).fill([])}}Ue({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:a}=e;return{type:"cdlabel",mode:n.mode,side:a.slice(4),label:t[0]}},htmlBuilder(e,t){var n=t.havingStyle(t.style.sup()),a=se.wrapFragment(Rt(e.label,n,t),t);return a.classes.push("cd-label-"+e.side),a.style.bottom=Ie(.8-a.depth),a.height=0,a.depth=0,a},mathmlBuilder(e,t){var n=new we.MathNode("mrow",[$t(e.label,t)]);return n=new we.MathNode("mpadded",[n]),n.setAttribute("width","0"),e.side==="left"&&n.setAttribute("lspace","-1width"),n.setAttribute("voffset","0.7em"),n=new we.MathNode("mstyle",[n]),n.setAttribute("displaystyle","false"),n.setAttribute("scriptlevel","1"),n}});Ue({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=se.wrapFragment(Rt(e.fragment,t),t);return n.classes.push("cd-vert-arrow"),n},mathmlBuilder(e,t){return new we.MathNode("mrow",[$t(e.fragment,t)])}});Ue({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:n}=e,a=yt(t[0],"ordgroup"),s=a.body,l="",o=0;o<s.length;o++){var d=yt(s[o],"textord");l+=d.text}var f=parseInt(l),h;if(isNaN(f))throw new ke("\\@char has non-numeric argument "+l);if(f<0||f>=1114111)throw new ke("\\@char with invalid code point "+l);return f<=65535?h=String.fromCharCode(f):(f-=65536,h=String.fromCharCode((f>>10)+55296,(f&1023)+56320)),{type:"textord",mode:n.mode,text:h}}});var py=(e,t)=>{var n=Bn(e.body,t.withColor(e.color),!1);return se.makeFragment(n)},gy=(e,t)=>{var n=Sr(e.body,t.withColor(e.color)),a=new we.MathNode("mstyle",n);return a.setAttribute("mathcolor",e.color),a};Ue({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:n}=e,a=yt(t[0],"color-token").color,s=t[1];return{type:"color",mode:n.mode,color:a,body:Sn(s)}},htmlBuilder:py,mathmlBuilder:gy});Ue({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:n,breakOnTokenText:a}=e,s=yt(t[0],"color-token").color;n.gullet.macros.set("\\current@color",s);var l=n.parseExpression(!0,a);return{type:"color",mode:n.mode,color:s,body:l}},htmlBuilder:py,mathmlBuilder:gy});Ue({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,n){var{parser:a}=e,s=a.gullet.future().text==="["?a.parseSizeGroup(!0):null,l=!a.settings.displayMode||!a.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:a.mode,newLine:l,size:s&&yt(s,"size").value}},htmlBuilder(e,t){var n=se.makeSpan(["mspace"],[],t);return e.newLine&&(n.classes.push("newline"),e.size&&(n.style.marginTop=Ie(pn(e.size,t)))),n},mathmlBuilder(e,t){var n=new we.MathNode("mspace");return e.newLine&&(n.setAttribute("linebreak","newline"),e.size&&n.setAttribute("height",Ie(pn(e.size,t)))),n}});var $1={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},by=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new ke("Expected a control sequence",e);return t},zR=e=>{var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},Ey=(e,t,n,a)=>{var s=e.gullet.macros.get(n.text);s==null&&(n.noexpand=!0,s={tokens:[n],numArgs:0,unexpandable:!e.gullet.isExpandable(n.text)}),e.gullet.macros.set(t,s,a)};Ue({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t,funcName:n}=e;t.consumeSpaces();var a=t.fetch();if($1[a.text])return(n==="\\global"||n==="\\\\globallong")&&(a.text=$1[a.text]),yt(t.parseFunction(),"internal");throw new ke("Invalid token after macro prefix",a)}});Ue({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,a=t.gullet.popToken(),s=a.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(s))throw new ke("Expected a control sequence",a);for(var l=0,o,d=[[]];t.gullet.future().text!=="{";)if(a=t.gullet.popToken(),a.text==="#"){if(t.gullet.future().text==="{"){o=t.gullet.future(),d[l].push("{");break}if(a=t.gullet.popToken(),!/^[1-9]$/.test(a.text))throw new ke('Invalid argument number "'+a.text+'"');if(parseInt(a.text)!==l+1)throw new ke('Argument number "'+a.text+'" out of order');l++,d.push([])}else{if(a.text==="EOF")throw new ke("Expected a macro definition");d[l].push(a.text)}var{tokens:f}=t.gullet.consumeArg();return o&&f.unshift(o),(n==="\\edef"||n==="\\xdef")&&(f=t.gullet.expandTokens(f),f.reverse()),t.gullet.macros.set(s,{tokens:f,numArgs:l,delimiters:d},n===$1[n]),{type:"internal",mode:t.mode}}});Ue({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,a=by(t.gullet.popToken());t.gullet.consumeSpaces();var s=zR(t);return Ey(t,a,s,n==="\\\\globallet"),{type:"internal",mode:t.mode}}});Ue({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,a=by(t.gullet.popToken()),s=t.gullet.popToken(),l=t.gullet.popToken();return Ey(t,a,l,n==="\\\\globalfuture"),t.gullet.pushToken(l),t.gullet.pushToken(s),{type:"internal",mode:t.mode}}});var eo=function(t,n,a){var s=Zt.math[t]&&Zt.math[t].replace,l=Ym(s||t,n,a);if(!l)throw new Error("Unsupported symbol "+t+" and font size "+n+".");return l},Wm=function(t,n,a,s){var l=a.havingBaseStyle(n),o=se.makeSpan(s.concat(l.sizingClasses(a)),[t],a),d=l.sizeMultiplier/a.sizeMultiplier;return o.height*=d,o.depth*=d,o.maxFontSize=l.sizeMultiplier,o},yy=function(t,n,a){var s=n.havingBaseStyle(a),l=(1-n.sizeMultiplier/s.sizeMultiplier)*n.fontMetrics().axisHeight;t.classes.push("delimcenter"),t.style.top=Ie(l),t.height-=l,t.depth+=l},FR=function(t,n,a,s,l,o){var d=se.makeSymbol(t,"Main-Regular",l,s),f=Wm(d,n,s,o);return a&&yy(f,s,n),f},HR=function(t,n,a,s){return se.makeSymbol(t,"Size"+n+"-Regular",a,s)},vy=function(t,n,a,s,l,o){var d=HR(t,n,l,s),f=Wm(se.makeSpan(["delimsizing","size"+n],[d],s),it.TEXT,s,o);return a&&yy(f,s,it.TEXT),f},Qh=function(t,n,a){var s;n==="Size1-Regular"?s="delim-size1":s="delim-size4";var l=se.makeSpan(["delimsizinginner",s],[se.makeSpan([],[se.makeSymbol(t,n,a)])]);return{type:"elem",elem:l}},Zh=function(t,n,a){var s=Ca["Size4-Regular"][t.charCodeAt(0)]?Ca["Size4-Regular"][t.charCodeAt(0)][4]:Ca["Size1-Regular"][t.charCodeAt(0)][4],l=new Ji("inner",VM(t,Math.round(1e3*n))),o=new si([l],{width:Ie(s),height:Ie(n),style:"width:"+Ie(s),viewBox:"0 0 "+1e3*s+" "+Math.round(1e3*n),preserveAspectRatio:"xMinYMin"}),d=se.makeSvgSpan([],[o],a);return d.height=n,d.style.height=Ie(n),d.style.width=Ie(s),{type:"elem",elem:d}},X1=.008,c0={type:"kern",size:-1*X1},qR=["|","\\lvert","\\rvert","\\vert"],YR=["\\|","\\lVert","\\rVert","\\Vert"],Ty=function(t,n,a,s,l,o){var d,f,h,p,b="",T=0;d=h=p=t,f=null;var v="Size1-Regular";t==="\\uparrow"?h=p="⏐":t==="\\Uparrow"?h=p="‖":t==="\\downarrow"?d=h="⏐":t==="\\Downarrow"?d=h="‖":t==="\\updownarrow"?(d="\\uparrow",h="⏐",p="\\downarrow"):t==="\\Updownarrow"?(d="\\Uparrow",h="‖",p="\\Downarrow"):tt.contains(qR,t)?(h="∣",b="vert",T=333):tt.contains(YR,t)?(h="∥",b="doublevert",T=556):t==="["||t==="\\lbrack"?(d="⎡",h="⎢",p="⎣",v="Size4-Regular",b="lbrack",T=667):t==="]"||t==="\\rbrack"?(d="⎤",h="⎥",p="⎦",v="Size4-Regular",b="rbrack",T=667):t==="\\lfloor"||t==="⌊"?(h=d="⎢",p="⎣",v="Size4-Regular",b="lfloor",T=667):t==="\\lceil"||t==="⌈"?(d="⎡",h=p="⎢",v="Size4-Regular",b="lceil",T=667):t==="\\rfloor"||t==="⌋"?(h=d="⎥",p="⎦",v="Size4-Regular",b="rfloor",T=667):t==="\\rceil"||t==="⌉"?(d="⎤",h=p="⎥",v="Size4-Regular",b="rceil",T=667):t==="("||t==="\\lparen"?(d="⎛",h="⎜",p="⎝",v="Size4-Regular",b="lparen",T=875):t===")"||t==="\\rparen"?(d="⎞",h="⎟",p="⎠",v="Size4-Regular",b="rparen",T=875):t==="\\{"||t==="\\lbrace"?(d="⎧",f="⎨",p="⎩",h="⎪",v="Size4-Regular"):t==="\\}"||t==="\\rbrace"?(d="⎫",f="⎬",p="⎭",h="⎪",v="Size4-Regular"):t==="\\lgroup"||t==="⟮"?(d="⎧",p="⎩",h="⎪",v="Size4-Regular"):t==="\\rgroup"||t==="⟯"?(d="⎫",p="⎭",h="⎪",v="Size4-Regular"):t==="\\lmoustache"||t==="⎰"?(d="⎧",p="⎭",h="⎪",v="Size4-Regular"):(t==="\\rmoustache"||t==="⎱")&&(d="⎫",p="⎩",h="⎪",v="Size4-Regular");var A=eo(d,v,l),k=A.height+A.depth,R=eo(h,v,l),C=R.height+R.depth,D=eo(p,v,l),U=D.height+D.depth,J=0,j=1;if(f!==null){var B=eo(f,v,l);J=B.height+B.depth,j=2}var Q=k+U+J,te=Math.max(0,Math.ceil((n-Q)/(j*C))),ae=Q+te*j*C,Y=s.fontMetrics().axisHeight;a&&(Y*=s.sizeMultiplier);var Z=ae/2-Y,ee=[];if(b.length>0){var pe=ae-k-U,ue=Math.round(ae*1e3),me=KM(b,Math.round(pe*1e3)),$=new Ji(b,me),fe=(T/1e3).toFixed(3)+"em",Ee=(ue/1e3).toFixed(3)+"em",He=new si([$],{width:fe,height:Ee,viewBox:"0 0 "+T+" "+ue}),x=se.makeSvgSpan([],[He],s);x.height=ue/1e3,x.style.width=fe,x.style.height=Ee,ee.push({type:"elem",elem:x})}else{if(ee.push(Qh(p,v,l)),ee.push(c0),f===null){var X=ae-k-U+2*X1;ee.push(Zh(h,X,s))}else{var ce=(ae-k-U-J)/2+2*X1;ee.push(Zh(h,ce,s)),ee.push(c0),ee.push(Qh(f,v,l)),ee.push(c0),ee.push(Zh(h,ce,s))}ee.push(c0),ee.push(Qh(d,v,l))}var M=s.havingBaseStyle(it.TEXT),De=se.makeVList({positionType:"bottom",positionData:Z,children:ee},M);return Wm(se.makeSpan(["delimsizing","mult"],[De],M),it.TEXT,s,o)},Jh=80,e1=.08,t1=function(t,n,a,s,l){var o=jM(t,s,a),d=new Ji(t,o),f=new si([d],{width:"400em",height:Ie(n),viewBox:"0 0 400000 "+a,preserveAspectRatio:"xMinYMin slice"});return se.makeSvgSpan(["hide-tail"],[f],l)},GR=function(t,n){var a=n.havingBaseSizing(),s=Ay("\\surd",t*a.sizeMultiplier,xy,a),l=a.sizeMultiplier,o=Math.max(0,n.minRuleThickness-n.fontMetrics().sqrtRuleThickness),d,f=0,h=0,p=0,b;return s.type==="small"?(p=1e3+1e3*o+Jh,t<1?l=1:t<1.4&&(l=.7),f=(1+o+e1)/l,h=(1+o)/l,d=t1("sqrtMain",f,p,o,n),d.style.minWidth="0.853em",b=.833/l):s.type==="large"?(p=(1e3+Jh)*oo[s.size],h=(oo[s.size]+o)/l,f=(oo[s.size]+o+e1)/l,d=t1("sqrtSize"+s.size,f,p,o,n),d.style.minWidth="1.02em",b=1/l):(f=t+o+e1,h=t+o,p=Math.floor(1e3*t+o)+Jh,d=t1("sqrtTall",f,p,o,n),d.style.minWidth="0.742em",b=1.056),d.height=h,d.style.height=Ie(f),{span:d,advanceWidth:b,ruleWidth:(n.fontMetrics().sqrtRuleThickness+o)*l}},_y=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],jR=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],Sy=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],oo=[0,1.2,1.8,2.4,3],VR=function(t,n,a,s,l){if(t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle"),tt.contains(_y,t)||tt.contains(Sy,t))return vy(t,n,!1,a,s,l);if(tt.contains(jR,t))return Ty(t,oo[n],!1,a,s,l);throw new ke("Illegal delimiter: '"+t+"'")},KR=[{type:"small",style:it.SCRIPTSCRIPT},{type:"small",style:it.SCRIPT},{type:"small",style:it.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],$R=[{type:"small",style:it.SCRIPTSCRIPT},{type:"small",style:it.SCRIPT},{type:"small",style:it.TEXT},{type:"stack"}],xy=[{type:"small",style:it.SCRIPTSCRIPT},{type:"small",style:it.SCRIPT},{type:"small",style:it.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],XR=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.")},Ay=function(t,n,a,s){for(var l=Math.min(2,3-s.style.size),o=l;o<a.length&&a[o].type!=="stack";o++){var d=eo(t,XR(a[o]),"math"),f=d.height+d.depth;if(a[o].type==="small"){var h=s.havingBaseStyle(a[o].style);f*=h.sizeMultiplier}if(f>n)return a[o]}return a[a.length-1]},wy=function(t,n,a,s,l,o){t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle");var d;tt.contains(Sy,t)?d=KR:tt.contains(_y,t)?d=xy:d=$R;var f=Ay(t,n,d,s);return f.type==="small"?FR(t,f.style,a,s,l,o):f.type==="large"?vy(t,f.size,a,s,l,o):Ty(t,n,a,s,l,o)},WR=function(t,n,a,s,l,o){var d=s.fontMetrics().axisHeight*s.sizeMultiplier,f=901,h=5/s.fontMetrics().ptPerEm,p=Math.max(n-d,a+d),b=Math.max(p/500*f,2*p-h);return wy(t,b,!0,s,l,o)},ii={sqrtImage:GR,sizedDelim:VR,sizeToMaxHeight:oo,customSizedDelim:wy,leftRightDelim:WR},N3={"\\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}},QR=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function id(e,t){var n=rd(e);if(n&&tt.contains(QR,n.text))return n;throw n?new ke("Invalid delimiter '"+n.text+"' after '"+t.funcName+"'",e):new ke("Invalid delimiter type '"+e.type+"'",e)}Ue({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=id(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:N3[e.funcName].size,mclass:N3[e.funcName].mclass,delim:n.text}},htmlBuilder:(e,t)=>e.delim==="."?se.makeSpan([e.mclass]):ii.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!=="."&&t.push(na(e.delim,e.mode));var n=new we.MathNode("mo",t);e.mclass==="mopen"||e.mclass==="mclose"?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n.setAttribute("stretchy","true");var a=Ie(ii.sizeToMaxHeight[e.size]);return n.setAttribute("minsize",a),n.setAttribute("maxsize",a),n}});function O3(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Ue({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 ke("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:id(t[0],e).text,color:n}}});Ue({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=id(t[0],e),a=e.parser;++a.leftrightDepth;var s=a.parseExpression(!1);--a.leftrightDepth,a.expect("\\right",!1);var l=yt(a.parseFunction(),"leftright-right");return{type:"leftright",mode:a.mode,body:s,left:n.text,right:l.delim,rightColor:l.color}},htmlBuilder:(e,t)=>{O3(e);for(var n=Bn(e.body,t,!0,["mopen","mclose"]),a=0,s=0,l=!1,o=0;o<n.length;o++)n[o].isMiddle?l=!0:(a=Math.max(n[o].height,a),s=Math.max(n[o].depth,s));a*=t.sizeMultiplier,s*=t.sizeMultiplier;var d;if(e.left==="."?d=yo(t,["mopen"]):d=ii.leftRightDelim(e.left,a,s,t,e.mode,["mopen"]),n.unshift(d),l)for(var f=1;f<n.length;f++){var h=n[f],p=h.isMiddle;p&&(n[f]=ii.leftRightDelim(p.delim,a,s,p.options,e.mode,[]))}var b;if(e.right===".")b=yo(t,["mclose"]);else{var T=e.rightColor?t.withColor(e.rightColor):t;b=ii.leftRightDelim(e.right,a,s,T,e.mode,["mclose"])}return n.push(b),se.makeSpan(["minner"],n,t)},mathmlBuilder:(e,t)=>{O3(e);var n=Sr(e.body,t);if(e.left!=="."){var a=new we.MathNode("mo",[na(e.left,e.mode)]);a.setAttribute("fence","true"),n.unshift(a)}if(e.right!=="."){var s=new we.MathNode("mo",[na(e.right,e.mode)]);s.setAttribute("fence","true"),e.rightColor&&s.setAttribute("mathcolor",e.rightColor),n.push(s)}return Vm(n)}});Ue({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=id(t[0],e);if(!e.parser.leftrightDepth)throw new ke("\\middle without preceding \\left",n);return{type:"middle",mode:e.parser.mode,delim:n.text}},htmlBuilder:(e,t)=>{var n;if(e.delim===".")n=yo(t,[]);else{n=ii.sizedDelim(e.delim,1,t,e.mode,[]);var a={delim:e.delim,options:t};n.isMiddle=a}return n},mathmlBuilder:(e,t)=>{var n=e.delim==="\\vert"||e.delim==="|"?na("|","text"):na(e.delim,e.mode),a=new we.MathNode("mo",[n]);return a.setAttribute("fence","true"),a.setAttribute("lspace","0.05em"),a.setAttribute("rspace","0.05em"),a}});var Qm=(e,t)=>{var n=se.wrapFragment(Rt(e.body,t),t),a=e.label.slice(1),s=t.sizeMultiplier,l,o=0,d=tt.isCharacterBox(e.body);if(a==="sout")l=se.makeSpan(["stretchy","sout"]),l.height=t.fontMetrics().defaultRuleThickness/s,o=-.5*t.fontMetrics().xHeight;else if(a==="phase"){var f=pn({number:.6,unit:"pt"},t),h=pn({number:.35,unit:"ex"},t),p=t.havingBaseSizing();s=s/p.sizeMultiplier;var b=n.height+n.depth+f+h;n.style.paddingLeft=Ie(b/2+f);var T=Math.floor(1e3*b*s),v=YM(T),A=new si([new Ji("phase",v)],{width:"400em",height:Ie(T/1e3),viewBox:"0 0 400000 "+T,preserveAspectRatio:"xMinYMin slice"});l=se.makeSvgSpan(["hide-tail"],[A],t),l.style.height=Ie(b),o=n.depth+f+h}else{/cancel/.test(a)?d||n.classes.push("cancel-pad"):a==="angl"?n.classes.push("anglpad"):n.classes.push("boxpad");var k=0,R=0,C=0;/box/.test(a)?(C=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),k=t.fontMetrics().fboxsep+(a==="colorbox"?0:C),R=k):a==="angl"?(C=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),k=4*C,R=Math.max(0,.25-n.depth)):(k=d?.2:0,R=k),l=ui.encloseSpan(n,a,k,R,t),/fbox|boxed|fcolorbox/.test(a)?(l.style.borderStyle="solid",l.style.borderWidth=Ie(C)):a==="angl"&&C!==.049&&(l.style.borderTopWidth=Ie(C),l.style.borderRightWidth=Ie(C)),o=n.depth+R,e.backgroundColor&&(l.style.backgroundColor=e.backgroundColor,e.borderColor&&(l.style.borderColor=e.borderColor))}var D;if(e.backgroundColor)D=se.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:o},{type:"elem",elem:n,shift:0}]},t);else{var U=/cancel|phase/.test(a)?["svg-align"]:[];D=se.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:0},{type:"elem",elem:l,shift:o,wrapperClasses:U}]},t)}return/cancel/.test(a)&&(D.height=n.height,D.depth=n.depth),/cancel/.test(a)&&!d?se.makeSpan(["mord","cancel-lap"],[D],t):se.makeSpan(["mord"],[D],t)},Zm=(e,t)=>{var n=0,a=new we.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[$t(e.body,t)]);switch(e.label){case"\\cancel":a.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":a.setAttribute("notation","downdiagonalstrike");break;case"\\phase":a.setAttribute("notation","phasorangle");break;case"\\sout":a.setAttribute("notation","horizontalstrike");break;case"\\fbox":a.setAttribute("notation","box");break;case"\\angl":a.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(n=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,a.setAttribute("width","+"+2*n+"pt"),a.setAttribute("height","+"+2*n+"pt"),a.setAttribute("lspace",n+"pt"),a.setAttribute("voffset",n+"pt"),e.label==="\\fcolorbox"){var s=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);a.setAttribute("style","border: "+s+"em solid "+String(e.borderColor))}break;case"\\xcancel":a.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&a.setAttribute("mathbackground",e.backgroundColor),a};Ue({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,n){var{parser:a,funcName:s}=e,l=yt(t[0],"color-token").color,o=t[1];return{type:"enclose",mode:a.mode,label:s,backgroundColor:l,body:o}},htmlBuilder:Qm,mathmlBuilder:Zm});Ue({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,n){var{parser:a,funcName:s}=e,l=yt(t[0],"color-token").color,o=yt(t[1],"color-token").color,d=t[2];return{type:"enclose",mode:a.mode,label:s,backgroundColor:o,borderColor:l,body:d}},htmlBuilder:Qm,mathmlBuilder:Zm});Ue({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]}}});Ue({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:a}=e,s=t[0];return{type:"enclose",mode:n.mode,label:a,body:s}},htmlBuilder:Qm,mathmlBuilder:Zm});Ue({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 ky={};function Da(e){for(var{type:t,names:n,props:a,handler:s,htmlBuilder:l,mathmlBuilder:o}=e,d={type:t,numArgs:a.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:s},f=0;f<n.length;++f)ky[n[f]]=d;l&&(P0[t]=l),o&&(U0[t]=o)}var Cy={};function O(e,t){Cy[e]=t}function M3(e){var t=[];e.consumeSpaces();var n=e.fetch().text;for(n==="\\relax"&&(e.consume(),e.consumeSpaces(),n=e.fetch().text);n==="\\hline"||n==="\\hdashline";)e.consume(),t.push(n==="\\hdashline"),e.consumeSpaces(),n=e.fetch().text;return t}var sd=e=>{var t=e.parser.settings;if(!t.displayMode)throw new ke("{"+e.envName+"} can be used only in display mode.")};function Jm(e){if(e.indexOf("ed")===-1)return e.indexOf("*")===-1}function ns(e,t,n){var{hskipBeforeAndAfter:a,addJot:s,cols:l,arraystretch:o,colSeparationType:d,autoTag:f,singleRow:h,emptySingleRow:p,maxNumCols:b,leqno:T}=t;if(e.gullet.beginGroup(),h||e.gullet.macros.set("\\cr","\\\\\\relax"),!o){var v=e.gullet.expandMacroAsText("\\arraystretch");if(v==null)o=1;else if(o=parseFloat(v),!o||o<0)throw new ke("Invalid \\arraystretch: "+v)}e.gullet.beginGroup();var A=[],k=[A],R=[],C=[],D=f!=null?[]:void 0;function U(){f&&e.gullet.macros.set("\\@eqnsw","1",!0)}function J(){D&&(e.gullet.macros.get("\\df@tag")?(D.push(e.subparse([new ea("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):D.push(!!f&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(U(),C.push(M3(e));;){var j=e.parseExpression(!1,h?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),j={type:"ordgroup",mode:e.mode,body:j},n&&(j={type:"styling",mode:e.mode,style:n,body:[j]}),A.push(j);var B=e.fetch().text;if(B==="&"){if(b&&A.length===b){if(h||d)throw new ke("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(B==="\\end"){J(),A.length===1&&j.type==="styling"&&j.body[0].body.length===0&&(k.length>1||!p)&&k.pop(),C.length<k.length+1&&C.push([]);break}else if(B==="\\\\"){e.consume();var Q=void 0;e.gullet.future().text!==" "&&(Q=e.parseSizeGroup(!0)),R.push(Q?Q.value:null),J(),C.push(M3(e)),A=[],k.push(A),U()}else throw new ke("Expected & or \\\\ or \\cr or \\end",e.nextToken)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:s,arraystretch:o,body:k,cols:l,rowGaps:R,hskipBeforeAndAfter:a,hLinesBeforeRow:C,colSeparationType:d,tags:D,leqno:T}}function ep(e){return e.slice(0,1)==="d"?"display":"text"}var Ia=function(t,n){var a,s,l=t.body.length,o=t.hLinesBeforeRow,d=0,f=new Array(l),h=[],p=Math.max(n.fontMetrics().arrayRuleWidth,n.minRuleThickness),b=1/n.fontMetrics().ptPerEm,T=5*b;if(t.colSeparationType&&t.colSeparationType==="small"){var v=n.havingStyle(it.SCRIPT).sizeMultiplier;T=.2778*(v/n.sizeMultiplier)}var A=t.colSeparationType==="CD"?pn({number:3,unit:"ex"},n):12*b,k=3*b,R=t.arraystretch*A,C=.7*R,D=.3*R,U=0;function J(ln){for(var Dt=0;Dt<ln.length;++Dt)Dt>0&&(U+=.25),h.push({pos:U,isDashed:ln[Dt]})}for(J(o[0]),a=0;a<t.body.length;++a){var j=t.body[a],B=C,Q=D;d<j.length&&(d=j.length);var te=new Array(j.length);for(s=0;s<j.length;++s){var ae=Rt(j[s],n);Q<ae.depth&&(Q=ae.depth),B<ae.height&&(B=ae.height),te[s]=ae}var Y=t.rowGaps[a],Z=0;Y&&(Z=pn(Y,n),Z>0&&(Z+=D,Q<Z&&(Q=Z),Z=0)),t.addJot&&(Q+=k),te.height=B,te.depth=Q,U+=B,te.pos=U,U+=Q+Z,f[a]=te,J(o[a+1])}var ee=U/2+n.fontMetrics().axisHeight,pe=t.cols||[],ue=[],me,$,fe=[];if(t.tags&&t.tags.some(ln=>ln))for(a=0;a<l;++a){var Ee=f[a],He=Ee.pos-ee,x=t.tags[a],X=void 0;x===!0?X=se.makeSpan(["eqn-num"],[],n):x===!1?X=se.makeSpan([],[],n):X=se.makeSpan([],Bn(x,n,!0),n),X.depth=Ee.depth,X.height=Ee.height,fe.push({type:"elem",elem:X,shift:He})}for(s=0,$=0;s<d||$<pe.length;++s,++$){for(var ce=pe[$]||{},M=!0;ce.type==="separator";){if(M||(me=se.makeSpan(["arraycolsep"],[]),me.style.width=Ie(n.fontMetrics().doubleRuleSep),ue.push(me)),ce.separator==="|"||ce.separator===":"){var De=ce.separator==="|"?"solid":"dashed",qe=se.makeSpan(["vertical-separator"],[],n);qe.style.height=Ie(U),qe.style.borderRightWidth=Ie(p),qe.style.borderRightStyle=De,qe.style.margin="0 "+Ie(-p/2);var Re=U-ee;Re&&(qe.style.verticalAlign=Ie(-Re)),ue.push(qe)}else throw new ke("Invalid separator type: "+ce.separator);$++,ce=pe[$]||{},M=!1}if(!(s>=d)){var Tt=void 0;(s>0||t.hskipBeforeAndAfter)&&(Tt=tt.deflt(ce.pregap,T),Tt!==0&&(me=se.makeSpan(["arraycolsep"],[]),me.style.width=Ie(Tt),ue.push(me)));var nt=[];for(a=0;a<l;++a){var st=f[a],Ye=st[s];if(Ye){var wt=st.pos-ee;Ye.depth=st.depth,Ye.height=st.height,nt.push({type:"elem",elem:Ye,shift:wt})}}nt=se.makeVList({positionType:"individualShift",children:nt},n),nt=se.makeSpan(["col-align-"+(ce.align||"c")],[nt]),ue.push(nt),(s<d-1||t.hskipBeforeAndAfter)&&(Tt=tt.deflt(ce.postgap,T),Tt!==0&&(me=se.makeSpan(["arraycolsep"],[]),me.style.width=Ie(Tt),ue.push(me)))}}if(f=se.makeSpan(["mtable"],ue),h.length>0){for(var rt=se.makeLineSpan("hline",n,p),Ke=se.makeLineSpan("hdashline",n,p),Ve=[{type:"elem",elem:f,shift:0}];h.length>0;){var ot=h.pop(),We=ot.pos-ee;ot.isDashed?Ve.push({type:"elem",elem:Ke,shift:We}):Ve.push({type:"elem",elem:rt,shift:We})}f=se.makeVList({positionType:"individualShift",children:Ve},n)}if(fe.length===0)return se.makeSpan(["mord"],[f],n);var Ot=se.makeVList({positionType:"individualShift",children:fe},n);return Ot=se.makeSpan(["tag"],[Ot],n),se.makeFragment([f,Ot])},ZR={c:"center ",l:"left ",r:"right "},La=function(t,n){for(var a=[],s=new we.MathNode("mtd",[],["mtr-glue"]),l=new we.MathNode("mtd",[],["mml-eqn-num"]),o=0;o<t.body.length;o++){for(var d=t.body[o],f=[],h=0;h<d.length;h++)f.push(new we.MathNode("mtd",[$t(d[h],n)]));t.tags&&t.tags[o]&&(f.unshift(s),f.push(s),t.leqno?f.unshift(l):f.push(l)),a.push(new we.MathNode("mtr",f))}var p=new we.MathNode("mtable",a),b=t.arraystretch===.5?.1:.16+t.arraystretch-1+(t.addJot?.09:0);p.setAttribute("rowspacing",Ie(b));var T="",v="";if(t.cols&&t.cols.length>0){var A=t.cols,k="",R=!1,C=0,D=A.length;A[0].type==="separator"&&(T+="top ",C=1),A[A.length-1].type==="separator"&&(T+="bottom ",D-=1);for(var U=C;U<D;U++)A[U].type==="align"?(v+=ZR[A[U].align],R&&(k+="none "),R=!0):A[U].type==="separator"&&R&&(k+=A[U].separator==="|"?"solid ":"dashed ",R=!1);p.setAttribute("columnalign",v.trim()),/[sd]/.test(k)&&p.setAttribute("columnlines",k.trim())}if(t.colSeparationType==="align"){for(var J=t.cols||[],j="",B=1;B<J.length;B++)j+=B%2?"0em ":"1em ";p.setAttribute("columnspacing",j.trim())}else t.colSeparationType==="alignat"||t.colSeparationType==="gather"?p.setAttribute("columnspacing","0em"):t.colSeparationType==="small"?p.setAttribute("columnspacing","0.2778em"):t.colSeparationType==="CD"?p.setAttribute("columnspacing","0.5em"):p.setAttribute("columnspacing","1em");var Q="",te=t.hLinesBeforeRow;T+=te[0].length>0?"left ":"",T+=te[te.length-1].length>0?"right ":"";for(var ae=1;ae<te.length-1;ae++)Q+=te[ae].length===0?"none ":te[ae][0]?"dashed ":"solid ";return/[sd]/.test(Q)&&p.setAttribute("rowlines",Q.trim()),T!==""&&(p=new we.MathNode("menclose",[p]),p.setAttribute("notation",T.trim())),t.arraystretch&&t.arraystretch<1&&(p=new we.MathNode("mstyle",[p]),p.setAttribute("scriptlevel","1")),p},Ny=function(t,n){t.envName.indexOf("ed")===-1&&sd(t);var a=[],s=t.envName.indexOf("at")>-1?"alignat":"align",l=t.envName==="split",o=ns(t.parser,{cols:a,addJot:!0,autoTag:l?void 0:Jm(t.envName),emptySingleRow:!0,colSeparationType:s,maxNumCols:l?2:void 0,leqno:t.parser.settings.leqno},"display"),d,f=0,h={type:"ordgroup",mode:t.mode,body:[]};if(n[0]&&n[0].type==="ordgroup"){for(var p="",b=0;b<n[0].body.length;b++){var T=yt(n[0].body[b],"textord");p+=T.text}d=Number(p),f=d*2}var v=!f;o.body.forEach(function(C){for(var D=1;D<C.length;D+=2){var U=yt(C[D],"styling"),J=yt(U.body[0],"ordgroup");J.body.unshift(h)}if(v)f<C.length&&(f=C.length);else{var j=C.length/2;if(d<j)throw new ke("Too many math in a row: "+("expected "+d+", but got "+j),C[0])}});for(var A=0;A<f;++A){var k="r",R=0;A%2===1?k="l":A>0&&v&&(R=1),a[A]={type:"align",align:k,pregap:R,postgap:0}}return o.colSeparationType=v?"align":"alignat",o};Da({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var n=rd(t[0]),a=n?[t[0]]:yt(t[0],"ordgroup").body,s=a.map(function(o){var d=$m(o),f=d.text;if("lcr".indexOf(f)!==-1)return{type:"align",align:f};if(f==="|")return{type:"separator",separator:"|"};if(f===":")return{type:"separator",separator:":"};throw new ke("Unknown column alignment: "+f,o)}),l={cols:s,hskipBeforeAndAfter:!0,maxNumCols:s.length};return ns(e.parser,l,ep(e.envName))},htmlBuilder:Ia,mathmlBuilder:La});Da({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",a={hskipBeforeAndAfter:!1,cols:[{type:"align",align:n}]};if(e.envName.charAt(e.envName.length-1)==="*"){var s=e.parser;if(s.consumeSpaces(),s.fetch().text==="["){if(s.consume(),s.consumeSpaces(),n=s.fetch().text,"lcr".indexOf(n)===-1)throw new ke("Expected l or c or r",s.nextToken);s.consume(),s.consumeSpaces(),s.expect("]"),s.consume(),a.cols=[{type:"align",align:n}]}}var l=ns(e.parser,a,ep(e.envName)),o=Math.max(0,...l.body.map(d=>d.length));return l.cols=new Array(o).fill({type:"align",align:n}),t?{type:"leftright",mode:e.mode,body:[l],left:t[0],right:t[1],rightColor:void 0}:l},htmlBuilder:Ia,mathmlBuilder:La});Da({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t={arraystretch:.5},n=ns(e.parser,t,"script");return n.colSeparationType="small",n},htmlBuilder:Ia,mathmlBuilder:La});Da({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var n=rd(t[0]),a=n?[t[0]]:yt(t[0],"ordgroup").body,s=a.map(function(o){var d=$m(o),f=d.text;if("lc".indexOf(f)!==-1)return{type:"align",align:f};throw new ke("Unknown column alignment: "+f,o)});if(s.length>1)throw new ke("{subarray} can contain only one column");var l={cols:s,hskipBeforeAndAfter:!1,arraystretch:.5};if(l=ns(e.parser,l,"script"),l.body.length>0&&l.body[0].length>1)throw new ke("{subarray} can contain only one column");return l},htmlBuilder:Ia,mathmlBuilder:La});Da({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=ns(e.parser,t,ep(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:Ia,mathmlBuilder:La});Da({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:Ny,htmlBuilder:Ia,mathmlBuilder:La});Da({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){tt.contains(["gather","gather*"],e.envName)&&sd(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Jm(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return ns(e.parser,t,"display")},htmlBuilder:Ia,mathmlBuilder:La});Da({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:Ny,htmlBuilder:Ia,mathmlBuilder:La});Da({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){sd(e);var t={autoTag:Jm(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return ns(e.parser,t,"display")},htmlBuilder:Ia,mathmlBuilder:La});Da({type:"array",names:["CD"],props:{numArgs:0},handler(e){return sd(e),UR(e.parser)},htmlBuilder:Ia,mathmlBuilder:La});O("\\nonumber","\\gdef\\@eqnsw{0}");O("\\notag","\\nonumber");Ue({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new ke(e.funcName+" valid only within array environment")}});var R3=ky;Ue({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){var{parser:n,funcName:a}=e,s=t[0];if(s.type!=="ordgroup")throw new ke("Invalid environment name",s);for(var l="",o=0;o<s.body.length;++o)l+=yt(s.body[o],"textord").text;if(a==="\\begin"){if(!R3.hasOwnProperty(l))throw new ke("No such environment: "+l,s);var d=R3[l],{args:f,optArgs:h}=n.parseArguments("\\begin{"+l+"}",d),p={mode:n.mode,envName:l,parser:n},b=d.handler(p,f,h);n.expect("\\end",!1);var T=n.nextToken,v=yt(n.parseFunction(),"environment");if(v.name!==l)throw new ke("Mismatch: \\begin{"+l+"} matched by \\end{"+v.name+"}",T);return b}return{type:"environment",mode:n.mode,name:l,nameGroup:s}}});var Oy=(e,t)=>{var n=e.font,a=t.withFont(n);return Rt(e.body,a)},My=(e,t)=>{var n=e.font,a=t.withFont(n);return $t(e.body,a)},D3={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Ue({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:a}=e,s=z0(t[0]),l=a;return l in D3&&(l=D3[l]),{type:"font",mode:n.mode,font:l.slice(1),body:s}},htmlBuilder:Oy,mathmlBuilder:My});Ue({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:n}=e,a=t[0],s=tt.isCharacterBox(a);return{type:"mclass",mode:n.mode,mclass:ad(a),body:[{type:"font",mode:n.mode,font:"boldsymbol",body:a}],isCharacterBox:s}}});Ue({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:n,funcName:a,breakOnTokenText:s}=e,{mode:l}=n,o=n.parseExpression(!0,s),d="math"+a.slice(1);return{type:"font",mode:l,font:d,body:{type:"ordgroup",mode:n.mode,body:o}}},htmlBuilder:Oy,mathmlBuilder:My});var Ry=(e,t)=>{var n=t;return e==="display"?n=n.id>=it.SCRIPT.id?n.text():it.DISPLAY:e==="text"&&n.size===it.DISPLAY.size?n=it.TEXT:e==="script"?n=it.SCRIPT:e==="scriptscript"&&(n=it.SCRIPTSCRIPT),n},tp=(e,t)=>{var n=Ry(e.size,t.style),a=n.fracNum(),s=n.fracDen(),l;l=t.havingStyle(a);var o=Rt(e.numer,l,t);if(e.continued){var d=8.5/t.fontMetrics().ptPerEm,f=3.5/t.fontMetrics().ptPerEm;o.height=o.height<d?d:o.height,o.depth=o.depth<f?f:o.depth}l=t.havingStyle(s);var h=Rt(e.denom,l,t),p,b,T;e.hasBarLine?(e.barSize?(b=pn(e.barSize,t),p=se.makeLineSpan("frac-line",t,b)):p=se.makeLineSpan("frac-line",t),b=p.height,T=p.height):(p=null,b=0,T=t.fontMetrics().defaultRuleThickness);var v,A,k;n.size===it.DISPLAY.size||e.size==="display"?(v=t.fontMetrics().num1,b>0?A=3*T:A=7*T,k=t.fontMetrics().denom1):(b>0?(v=t.fontMetrics().num2,A=T):(v=t.fontMetrics().num3,A=3*T),k=t.fontMetrics().denom2);var R;if(p){var D=t.fontMetrics().axisHeight;v-o.depth-(D+.5*b)<A&&(v+=A-(v-o.depth-(D+.5*b))),D-.5*b-(h.height-k)<A&&(k+=A-(D-.5*b-(h.height-k)));var U=-(D-.5*b);R=se.makeVList({positionType:"individualShift",children:[{type:"elem",elem:h,shift:k},{type:"elem",elem:p,shift:U},{type:"elem",elem:o,shift:-v}]},t)}else{var C=v-o.depth-(h.height-k);C<A&&(v+=.5*(A-C),k+=.5*(A-C)),R=se.makeVList({positionType:"individualShift",children:[{type:"elem",elem:h,shift:k},{type:"elem",elem:o,shift:-v}]},t)}l=t.havingStyle(n),R.height*=l.sizeMultiplier/t.sizeMultiplier,R.depth*=l.sizeMultiplier/t.sizeMultiplier;var J;n.size===it.DISPLAY.size?J=t.fontMetrics().delim1:n.size===it.SCRIPTSCRIPT.size?J=t.havingStyle(it.SCRIPT).fontMetrics().delim2:J=t.fontMetrics().delim2;var j,B;return e.leftDelim==null?j=yo(t,["mopen"]):j=ii.customSizedDelim(e.leftDelim,J,!0,t.havingStyle(n),e.mode,["mopen"]),e.continued?B=se.makeSpan([]):e.rightDelim==null?B=yo(t,["mclose"]):B=ii.customSizedDelim(e.rightDelim,J,!0,t.havingStyle(n),e.mode,["mclose"]),se.makeSpan(["mord"].concat(l.sizingClasses(t)),[j,se.makeSpan(["mfrac"],[R]),B],t)},np=(e,t)=>{var n=new we.MathNode("mfrac",[$t(e.numer,t),$t(e.denom,t)]);if(!e.hasBarLine)n.setAttribute("linethickness","0px");else if(e.barSize){var a=pn(e.barSize,t);n.setAttribute("linethickness",Ie(a))}var s=Ry(e.size,t.style);if(s.size!==t.style.size){n=new we.MathNode("mstyle",[n]);var l=s.size===it.DISPLAY.size?"true":"false";n.setAttribute("displaystyle",l),n.setAttribute("scriptlevel","0")}if(e.leftDelim!=null||e.rightDelim!=null){var o=[];if(e.leftDelim!=null){var d=new we.MathNode("mo",[new we.TextNode(e.leftDelim.replace("\\",""))]);d.setAttribute("fence","true"),o.push(d)}if(o.push(n),e.rightDelim!=null){var f=new we.MathNode("mo",[new we.TextNode(e.rightDelim.replace("\\",""))]);f.setAttribute("fence","true"),o.push(f)}return Vm(o)}return n};Ue({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var{parser:n,funcName:a}=e,s=t[0],l=t[1],o,d=null,f=null,h="auto";switch(a){case"\\dfrac":case"\\frac":case"\\tfrac":o=!0;break;case"\\\\atopfrac":o=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":o=!1,d="(",f=")";break;case"\\\\bracefrac":o=!1,d="\\{",f="\\}";break;case"\\\\brackfrac":o=!1,d="[",f="]";break;default:throw new Error("Unrecognized genfrac command")}switch(a){case"\\dfrac":case"\\dbinom":h="display";break;case"\\tfrac":case"\\tbinom":h="text";break}return{type:"genfrac",mode:n.mode,continued:!1,numer:s,denom:l,hasBarLine:o,leftDelim:d,rightDelim:f,size:h,barSize:null}},htmlBuilder:tp,mathmlBuilder:np});Ue({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{var{parser:n,funcName:a}=e,s=t[0],l=t[1];return{type:"genfrac",mode:n.mode,continued:!0,numer:s,denom:l,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}});Ue({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var{parser:t,funcName:n,token:a}=e,s;switch(n){case"\\over":s="\\frac";break;case"\\choose":s="\\binom";break;case"\\atop":s="\\\\atopfrac";break;case"\\brace":s="\\\\bracefrac";break;case"\\brack":s="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:t.mode,replaceWith:s,token:a}}});var I3=["display","text","script","scriptscript"],L3=function(t){var n=null;return t.length>0&&(n=t,n=n==="."?null:n),n};Ue({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var{parser:n}=e,a=t[4],s=t[5],l=z0(t[0]),o=l.type==="atom"&&l.family==="open"?L3(l.text):null,d=z0(t[1]),f=d.type==="atom"&&d.family==="close"?L3(d.text):null,h=yt(t[2],"size"),p,b=null;h.isBlank?p=!0:(b=h.value,p=b.number>0);var T="auto",v=t[3];if(v.type==="ordgroup"){if(v.body.length>0){var A=yt(v.body[0],"textord");T=I3[Number(A.text)]}}else v=yt(v,"textord"),T=I3[Number(v.text)];return{type:"genfrac",mode:n.mode,numer:a,denom:s,continued:!1,hasBarLine:p,barSize:b,leftDelim:o,rightDelim:f,size:T}},htmlBuilder:tp,mathmlBuilder:np});Ue({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:n,funcName:a,token:s}=e;return{type:"infix",mode:n.mode,replaceWith:"\\\\abovefrac",size:yt(t[0],"size").value,token:s}}});Ue({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:n,funcName:a}=e,s=t[0],l=CM(yt(t[1],"infix").size),o=t[2],d=l.number>0;return{type:"genfrac",mode:n.mode,numer:s,denom:o,continued:!1,hasBarLine:d,barSize:l,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:tp,mathmlBuilder:np});var Dy=(e,t)=>{var n=t.style,a,s;e.type==="supsub"?(a=e.sup?Rt(e.sup,t.havingStyle(n.sup()),t):Rt(e.sub,t.havingStyle(n.sub()),t),s=yt(e.base,"horizBrace")):s=yt(e,"horizBrace");var l=Rt(s.base,t.havingBaseStyle(it.DISPLAY)),o=ui.svgSpan(s,t),d;if(s.isOver?(d=se.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.1},{type:"elem",elem:o}]},t),d.children[0].children[0].children[1].classes.push("svg-align")):(d=se.makeVList({positionType:"bottom",positionData:l.depth+.1+o.height,children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:l}]},t),d.children[0].children[0].children[0].classes.push("svg-align")),a){var f=se.makeSpan(["mord",s.isOver?"mover":"munder"],[d],t);s.isOver?d=se.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:f},{type:"kern",size:.2},{type:"elem",elem:a}]},t):d=se.makeVList({positionType:"bottom",positionData:f.depth+.2+a.height+a.depth,children:[{type:"elem",elem:a},{type:"kern",size:.2},{type:"elem",elem:f}]},t)}return se.makeSpan(["mord",s.isOver?"mover":"munder"],[d],t)},JR=(e,t)=>{var n=ui.mathMLnode(e.label);return new we.MathNode(e.isOver?"mover":"munder",[$t(e.base,t),n])};Ue({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:a}=e;return{type:"horizBrace",mode:n.mode,label:a,isOver:/^\\over/.test(a),base:t[0]}},htmlBuilder:Dy,mathmlBuilder:JR});Ue({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,a=t[1],s=yt(t[0],"url").url;return n.settings.isTrusted({command:"\\href",url:s})?{type:"href",mode:n.mode,href:s,body:Sn(a)}:n.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var n=Bn(e.body,t,!1);return se.makeAnchor(e.href,[],n,t)},mathmlBuilder:(e,t)=>{var n=es(e.body,t);return n instanceof Ur||(n=new Ur("mrow",[n])),n.setAttribute("href",e.href),n}});Ue({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,a=yt(t[0],"url").url;if(!n.settings.isTrusted({command:"\\url",url:a}))return n.formatUnsupportedCmd("\\url");for(var s=[],l=0;l<a.length;l++){var o=a[l];o==="~"&&(o="\\textasciitilde"),s.push({type:"textord",mode:"text",text:o})}var d={type:"text",mode:n.mode,font:"\\texttt",body:s};return{type:"href",mode:n.mode,href:a,body:Sn(d)}}});Ue({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(e,t){var{parser:n}=e;return{type:"hbox",mode:n.mode,body:Sn(t[0])}},htmlBuilder(e,t){var n=Bn(e.body,t,!1);return se.makeFragment(n)},mathmlBuilder(e,t){return new we.MathNode("mrow",Sr(e.body,t))}});Ue({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{var{parser:n,funcName:a,token:s}=e,l=yt(t[0],"raw").string,o=t[1];n.settings.strict&&n.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var d,f={};switch(a){case"\\htmlClass":f.class=l,d={command:"\\htmlClass",class:l};break;case"\\htmlId":f.id=l,d={command:"\\htmlId",id:l};break;case"\\htmlStyle":f.style=l,d={command:"\\htmlStyle",style:l};break;case"\\htmlData":{for(var h=l.split(","),p=0;p<h.length;p++){var b=h[p].split("=");if(b.length!==2)throw new ke("Error parsing key-value for \\htmlData");f["data-"+b[0].trim()]=b[1].trim()}d={command:"\\htmlData",attributes:f};break}default:throw new Error("Unrecognized html command")}return n.settings.isTrusted(d)?{type:"html",mode:n.mode,attributes:f,body:Sn(o)}:n.formatUnsupportedCmd(a)},htmlBuilder:(e,t)=>{var n=Bn(e.body,t,!1),a=["enclosing"];e.attributes.class&&a.push(...e.attributes.class.trim().split(/\s+/));var s=se.makeSpan(a,n,t);for(var l in e.attributes)l!=="class"&&e.attributes.hasOwnProperty(l)&&s.setAttribute(l,e.attributes[l]);return s},mathmlBuilder:(e,t)=>es(e.body,t)});Ue({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e;return{type:"htmlmathml",mode:n.mode,html:Sn(t[0]),mathml:Sn(t[1])}},htmlBuilder:(e,t)=>{var n=Bn(e.html,t,!1);return se.makeFragment(n)},mathmlBuilder:(e,t)=>es(e.mathml,t)});var n1=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 ke("Invalid size: '"+t+"' in \\includegraphics");var a={number:+(n[1]+n[2]),unit:n[3]};if(!Z5(a))throw new ke("Invalid unit: '"+a.unit+"' in \\includegraphics.");return a};Ue({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,n)=>{var{parser:a}=e,s={number:0,unit:"em"},l={number:.9,unit:"em"},o={number:0,unit:"em"},d="";if(n[0])for(var f=yt(n[0],"raw").string,h=f.split(","),p=0;p<h.length;p++){var b=h[p].split("=");if(b.length===2){var T=b[1].trim();switch(b[0].trim()){case"alt":d=T;break;case"width":s=n1(T);break;case"height":l=n1(T);break;case"totalheight":o=n1(T);break;default:throw new ke("Invalid key: '"+b[0]+"' in \\includegraphics.")}}}var v=yt(t[0],"url").url;return d===""&&(d=v,d=d.replace(/^.*[\\/]/,""),d=d.substring(0,d.lastIndexOf("."))),a.settings.isTrusted({command:"\\includegraphics",url:v})?{type:"includegraphics",mode:a.mode,alt:d,width:s,height:l,totalheight:o,src:v}:a.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{var n=pn(e.height,t),a=0;e.totalheight.number>0&&(a=pn(e.totalheight,t)-n);var s=0;e.width.number>0&&(s=pn(e.width,t));var l={height:Ie(n+a)};s>0&&(l.width=Ie(s)),a>0&&(l.verticalAlign=Ie(-a));var o=new JM(e.src,e.alt,l);return o.height=n,o.depth=a,o},mathmlBuilder:(e,t)=>{var n=new we.MathNode("mglyph",[]);n.setAttribute("alt",e.alt);var a=pn(e.height,t),s=0;if(e.totalheight.number>0&&(s=pn(e.totalheight,t)-a,n.setAttribute("valign",Ie(-s))),n.setAttribute("height",Ie(a+s)),e.width.number>0){var l=pn(e.width,t);n.setAttribute("width",Ie(l))}return n.setAttribute("src",e.src),n}});Ue({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){var{parser:n,funcName:a}=e,s=yt(t[0],"size");if(n.settings.strict){var l=a[1]==="m",o=s.value.unit==="mu";l?(o||n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" supports only mu units, "+("not "+s.value.unit+" units")),n.mode!=="math"&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" works only in math mode")):o&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" doesn't support mu units")}return{type:"kern",mode:n.mode,dimension:s.value}},htmlBuilder(e,t){return se.makeGlue(e.dimension,t)},mathmlBuilder(e,t){var n=pn(e.dimension,t);return new we.SpaceNode(n)}});Ue({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n,funcName:a}=e,s=t[0];return{type:"lap",mode:n.mode,alignment:a.slice(5),body:s}},htmlBuilder:(e,t)=>{var n;e.alignment==="clap"?(n=se.makeSpan([],[Rt(e.body,t)]),n=se.makeSpan(["inner"],[n],t)):n=se.makeSpan(["inner"],[Rt(e.body,t)]);var a=se.makeSpan(["fix"],[]),s=se.makeSpan([e.alignment],[n,a],t),l=se.makeSpan(["strut"]);return l.style.height=Ie(s.height+s.depth),s.depth&&(l.style.verticalAlign=Ie(-s.depth)),s.children.unshift(l),s=se.makeSpan(["thinbox"],[s],t),se.makeSpan(["mord","vbox"],[s],t)},mathmlBuilder:(e,t)=>{var n=new we.MathNode("mpadded",[$t(e.body,t)]);if(e.alignment!=="rlap"){var a=e.alignment==="llap"?"-1":"-0.5";n.setAttribute("lspace",a+"width")}return n.setAttribute("width","0px"),n}});Ue({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:n,parser:a}=e,s=a.mode;a.switchMode("math");var l=n==="\\("?"\\)":"$",o=a.parseExpression(!1,l);return a.expect(l),a.switchMode(s),{type:"styling",mode:a.mode,style:"text",body:o}}});Ue({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new ke("Mismatched "+e.funcName)}});var B3=(e,t)=>{switch(t.style.size){case it.DISPLAY.size:return e.display;case it.TEXT.size:return e.text;case it.SCRIPT.size:return e.script;case it.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};Ue({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:n}=e;return{type:"mathchoice",mode:n.mode,display:Sn(t[0]),text:Sn(t[1]),script:Sn(t[2]),scriptscript:Sn(t[3])}},htmlBuilder:(e,t)=>{var n=B3(e,t),a=Bn(n,t,!1);return se.makeFragment(a)},mathmlBuilder:(e,t)=>{var n=B3(e,t);return es(n,t)}});var Iy=(e,t,n,a,s,l,o)=>{e=se.makeSpan([],[e]);var d=n&&tt.isCharacterBox(n),f,h;if(t){var p=Rt(t,a.havingStyle(s.sup()),a);h={elem:p,kern:Math.max(a.fontMetrics().bigOpSpacing1,a.fontMetrics().bigOpSpacing3-p.depth)}}if(n){var b=Rt(n,a.havingStyle(s.sub()),a);f={elem:b,kern:Math.max(a.fontMetrics().bigOpSpacing2,a.fontMetrics().bigOpSpacing4-b.height)}}var T;if(h&&f){var v=a.fontMetrics().bigOpSpacing5+f.elem.height+f.elem.depth+f.kern+e.depth+o;T=se.makeVList({positionType:"bottom",positionData:v,children:[{type:"kern",size:a.fontMetrics().bigOpSpacing5},{type:"elem",elem:f.elem,marginLeft:Ie(-l)},{type:"kern",size:f.kern},{type:"elem",elem:e},{type:"kern",size:h.kern},{type:"elem",elem:h.elem,marginLeft:Ie(l)},{type:"kern",size:a.fontMetrics().bigOpSpacing5}]},a)}else if(f){var A=e.height-o;T=se.makeVList({positionType:"top",positionData:A,children:[{type:"kern",size:a.fontMetrics().bigOpSpacing5},{type:"elem",elem:f.elem,marginLeft:Ie(-l)},{type:"kern",size:f.kern},{type:"elem",elem:e}]},a)}else if(h){var k=e.depth+o;T=se.makeVList({positionType:"bottom",positionData:k,children:[{type:"elem",elem:e},{type:"kern",size:h.kern},{type:"elem",elem:h.elem,marginLeft:Ie(l)},{type:"kern",size:a.fontMetrics().bigOpSpacing5}]},a)}else return e;var R=[T];if(f&&l!==0&&!d){var C=se.makeSpan(["mspace"],[],a);C.style.marginRight=Ie(l),R.unshift(C)}return se.makeSpan(["mop","op-limits"],R,a)},Ly=["\\smallint"],Yl=(e,t)=>{var n,a,s=!1,l;e.type==="supsub"?(n=e.sup,a=e.sub,l=yt(e.base,"op"),s=!0):l=yt(e,"op");var o=t.style,d=!1;o.size===it.DISPLAY.size&&l.symbol&&!tt.contains(Ly,l.name)&&(d=!0);var f;if(l.symbol){var h=d?"Size2-Regular":"Size1-Regular",p="";if((l.name==="\\oiint"||l.name==="\\oiiint")&&(p=l.name.slice(1),l.name=p==="oiint"?"\\iint":"\\iiint"),f=se.makeSymbol(l.name,h,"math",t,["mop","op-symbol",d?"large-op":"small-op"]),p.length>0){var b=f.italic,T=se.staticSvg(p+"Size"+(d?"2":"1"),t);f=se.makeVList({positionType:"individualShift",children:[{type:"elem",elem:f,shift:0},{type:"elem",elem:T,shift:d?.08:0}]},t),l.name="\\"+p,f.classes.unshift("mop"),f.italic=b}}else if(l.body){var v=Bn(l.body,t,!0);v.length===1&&v[0]instanceof ta?(f=v[0],f.classes[0]="mop"):f=se.makeSpan(["mop"],v,t)}else{for(var A=[],k=1;k<l.name.length;k++)A.push(se.mathsym(l.name[k],l.mode,t));f=se.makeSpan(["mop"],A,t)}var R=0,C=0;return(f instanceof ta||l.name==="\\oiint"||l.name==="\\oiiint")&&!l.suppressBaseShift&&(R=(f.height-f.depth)/2-t.fontMetrics().axisHeight,C=f.italic),s?Iy(f,n,a,t,o,C,R):(R&&(f.style.position="relative",f.style.top=Ie(R)),f)},Mo=(e,t)=>{var n;if(e.symbol)n=new Ur("mo",[na(e.name,e.mode)]),tt.contains(Ly,e.name)&&n.setAttribute("largeop","false");else if(e.body)n=new Ur("mo",Sr(e.body,t));else{n=new Ur("mi",[new Na(e.name.slice(1))]);var a=new Ur("mo",[na("⁡","text")]);e.parentIsSupSub?n=new Ur("mrow",[n,a]):n=oy([n,a])}return n},eD={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};Ue({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(e,t)=>{var{parser:n,funcName:a}=e,s=a;return s.length===1&&(s=eD[s]),{type:"op",mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:s}},htmlBuilder:Yl,mathmlBuilder:Mo});Ue({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var{parser:n}=e,a=t[0];return{type:"op",mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Sn(a)}},htmlBuilder:Yl,mathmlBuilder:Mo});var tD={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};Ue({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:Yl,mathmlBuilder:Mo});Ue({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:Yl,mathmlBuilder:Mo});Ue({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(e){var{parser:t,funcName:n}=e,a=n;return a.length===1&&(a=tD[a]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:a}},htmlBuilder:Yl,mathmlBuilder:Mo});var By=(e,t)=>{var n,a,s=!1,l;e.type==="supsub"?(n=e.sup,a=e.sub,l=yt(e.base,"operatorname"),s=!0):l=yt(e,"operatorname");var o;if(l.body.length>0){for(var d=l.body.map(b=>{var T=b.text;return typeof T=="string"?{type:"textord",mode:b.mode,text:T}:b}),f=Bn(d,t.withFont("mathrm"),!0),h=0;h<f.length;h++){var p=f[h];p instanceof ta&&(p.text=p.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}o=se.makeSpan(["mop"],f,t)}else o=se.makeSpan(["mop"],[],t);return s?Iy(o,n,a,t,t.style,0,0):o},nD=(e,t)=>{for(var n=Sr(e.body,t.withFont("mathrm")),a=!0,s=0;s<n.length;s++){var l=n[s];if(!(l instanceof we.SpaceNode))if(l instanceof we.MathNode)switch(l.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var o=l.children[0];l.children.length===1&&o instanceof we.TextNode?o.text=o.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):a=!1;break}default:a=!1}else a=!1}if(a){var d=n.map(p=>p.toText()).join("");n=[new we.TextNode(d)]}var f=new we.MathNode("mi",n);f.setAttribute("mathvariant","normal");var h=new we.MathNode("mo",[na("⁡","text")]);return e.parentIsSupSub?new we.MathNode("mrow",[f,h]):we.newDocumentFragment([f,h])};Ue({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{var{parser:n,funcName:a}=e,s=t[0];return{type:"operatorname",mode:n.mode,body:Sn(s),alwaysHandleSupSub:a==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:By,mathmlBuilder:nD});O("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");Ps({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?se.makeFragment(Bn(e.body,t,!1)):se.makeSpan(["mord"],Bn(e.body,t,!0),t)},mathmlBuilder(e,t){return es(e.body,t,!0)}});Ue({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){var{parser:n}=e,a=t[0];return{type:"overline",mode:n.mode,body:a}},htmlBuilder(e,t){var n=Rt(e.body,t.havingCrampedStyle()),a=se.makeLineSpan("overline-line",t),s=t.fontMetrics().defaultRuleThickness,l=se.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n},{type:"kern",size:3*s},{type:"elem",elem:a},{type:"kern",size:s}]},t);return se.makeSpan(["mord","overline"],[l],t)},mathmlBuilder(e,t){var n=new we.MathNode("mo",[new we.TextNode("‾")]);n.setAttribute("stretchy","true");var a=new we.MathNode("mover",[$t(e.body,t),n]);return a.setAttribute("accent","true"),a}});Ue({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,a=t[0];return{type:"phantom",mode:n.mode,body:Sn(a)}},htmlBuilder:(e,t)=>{var n=Bn(e.body,t.withPhantom(),!1);return se.makeFragment(n)},mathmlBuilder:(e,t)=>{var n=Sr(e.body,t);return new we.MathNode("mphantom",n)}});Ue({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,a=t[0];return{type:"hphantom",mode:n.mode,body:a}},htmlBuilder:(e,t)=>{var n=se.makeSpan([],[Rt(e.body,t.withPhantom())]);if(n.height=0,n.depth=0,n.children)for(var a=0;a<n.children.length;a++)n.children[a].height=0,n.children[a].depth=0;return n=se.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},t),se.makeSpan(["mord"],[n],t)},mathmlBuilder:(e,t)=>{var n=Sr(Sn(e.body),t),a=new we.MathNode("mphantom",n),s=new we.MathNode("mpadded",[a]);return s.setAttribute("height","0px"),s.setAttribute("depth","0px"),s}});Ue({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,a=t[0];return{type:"vphantom",mode:n.mode,body:a}},htmlBuilder:(e,t)=>{var n=se.makeSpan(["inner"],[Rt(e.body,t.withPhantom())]),a=se.makeSpan(["fix"],[]);return se.makeSpan(["mord","rlap"],[n,a],t)},mathmlBuilder:(e,t)=>{var n=Sr(Sn(e.body),t),a=new we.MathNode("mphantom",n),s=new we.MathNode("mpadded",[a]);return s.setAttribute("width","0px"),s}});Ue({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:n}=e,a=yt(t[0],"size").value,s=t[1];return{type:"raisebox",mode:n.mode,dy:a,body:s}},htmlBuilder(e,t){var n=Rt(e.body,t),a=pn(e.dy,t);return se.makeVList({positionType:"shift",positionData:-a,children:[{type:"elem",elem:n}]},t)},mathmlBuilder(e,t){var n=new we.MathNode("mpadded",[$t(e.body,t)]),a=e.dy.number+e.dy.unit;return n.setAttribute("voffset",a),n}});Ue({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}});Ue({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(e,t,n){var{parser:a}=e,s=n[0],l=yt(t[0],"size"),o=yt(t[1],"size");return{type:"rule",mode:a.mode,shift:s&&yt(s,"size").value,width:l.value,height:o.value}},htmlBuilder(e,t){var n=se.makeSpan(["mord","rule"],[],t),a=pn(e.width,t),s=pn(e.height,t),l=e.shift?pn(e.shift,t):0;return n.style.borderRightWidth=Ie(a),n.style.borderTopWidth=Ie(s),n.style.bottom=Ie(l),n.width=a,n.height=s+l,n.depth=-l,n.maxFontSize=s*1.125*t.sizeMultiplier,n},mathmlBuilder(e,t){var n=pn(e.width,t),a=pn(e.height,t),s=e.shift?pn(e.shift,t):0,l=t.color&&t.getColor()||"black",o=new we.MathNode("mspace");o.setAttribute("mathbackground",l),o.setAttribute("width",Ie(n)),o.setAttribute("height",Ie(a));var d=new we.MathNode("mpadded",[o]);return s>=0?d.setAttribute("height",Ie(s)):(d.setAttribute("height",Ie(s)),d.setAttribute("depth",Ie(-s))),d.setAttribute("voffset",Ie(s)),d}});function Py(e,t,n){for(var a=Bn(e,t,!1),s=t.sizeMultiplier/n.sizeMultiplier,l=0;l<a.length;l++){var o=a[l].classes.indexOf("sizing");o<0?Array.prototype.push.apply(a[l].classes,t.sizingClasses(n)):a[l].classes[o+1]==="reset-size"+t.size&&(a[l].classes[o+1]="reset-size"+n.size),a[l].height*=s,a[l].depth*=s}return se.makeFragment(a)}var P3=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],rD=(e,t)=>{var n=t.havingSize(e.size);return Py(e.body,n,t)};Ue({type:"sizing",names:P3,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:n,funcName:a,parser:s}=e,l=s.parseExpression(!1,n);return{type:"sizing",mode:s.mode,size:P3.indexOf(a)+1,body:l}},htmlBuilder:rD,mathmlBuilder:(e,t)=>{var n=t.havingSize(e.size),a=Sr(e.body,n),s=new we.MathNode("mstyle",a);return s.setAttribute("mathsize",Ie(n.sizeMultiplier)),s}});Ue({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,n)=>{var{parser:a}=e,s=!1,l=!1,o=n[0]&&yt(n[0],"ordgroup");if(o)for(var d="",f=0;f<o.body.length;++f){var h=o.body[f];if(d=h.text,d==="t")s=!0;else if(d==="b")l=!0;else{s=!1,l=!1;break}}else s=!0,l=!0;var p=t[0];return{type:"smash",mode:a.mode,body:p,smashHeight:s,smashDepth:l}},htmlBuilder:(e,t)=>{var n=se.makeSpan([],[Rt(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return n;if(e.smashHeight&&(n.height=0,n.children))for(var a=0;a<n.children.length;a++)n.children[a].height=0;if(e.smashDepth&&(n.depth=0,n.children))for(var s=0;s<n.children.length;s++)n.children[s].depth=0;var l=se.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},t);return se.makeSpan(["mord"],[l],t)},mathmlBuilder:(e,t)=>{var n=new we.MathNode("mpadded",[$t(e.body,t)]);return e.smashHeight&&n.setAttribute("height","0px"),e.smashDepth&&n.setAttribute("depth","0px"),n}});Ue({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){var{parser:a}=e,s=n[0],l=t[0];return{type:"sqrt",mode:a.mode,body:l,index:s}},htmlBuilder(e,t){var n=Rt(e.body,t.havingCrampedStyle());n.height===0&&(n.height=t.fontMetrics().xHeight),n=se.wrapFragment(n,t);var a=t.fontMetrics(),s=a.defaultRuleThickness,l=s;t.style.id<it.TEXT.id&&(l=t.fontMetrics().xHeight);var o=s+l/4,d=n.height+n.depth+o+s,{span:f,ruleWidth:h,advanceWidth:p}=ii.sqrtImage(d,t),b=f.height-h;b>n.height+n.depth+o&&(o=(o+b-n.height-n.depth)/2);var T=f.height-n.height-o-h;n.style.paddingLeft=Ie(p);var v=se.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+T)},{type:"elem",elem:f},{type:"kern",size:h}]},t);if(e.index){var A=t.havingStyle(it.SCRIPTSCRIPT),k=Rt(e.index,A,t),R=.6*(v.height-v.depth),C=se.makeVList({positionType:"shift",positionData:-R,children:[{type:"elem",elem:k}]},t),D=se.makeSpan(["root"],[C]);return se.makeSpan(["mord","sqrt"],[D,v],t)}else return se.makeSpan(["mord","sqrt"],[v],t)},mathmlBuilder(e,t){var{body:n,index:a}=e;return a?new we.MathNode("mroot",[$t(n,t),$t(a,t)]):new we.MathNode("msqrt",[$t(n,t)])}});var U3={display:it.DISPLAY,text:it.TEXT,script:it.SCRIPT,scriptscript:it.SCRIPTSCRIPT};Ue({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:n,funcName:a,parser:s}=e,l=s.parseExpression(!0,n),o=a.slice(1,a.length-5);return{type:"styling",mode:s.mode,style:o,body:l}},htmlBuilder(e,t){var n=U3[e.style],a=t.havingStyle(n).withFont("");return Py(e.body,a,t)},mathmlBuilder(e,t){var n=U3[e.style],a=t.havingStyle(n),s=Sr(e.body,a),l=new we.MathNode("mstyle",s),o={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},d=o[e.style];return l.setAttribute("scriptlevel",d[0]),l.setAttribute("displaystyle",d[1]),l}});var aD=function(t,n){var a=t.base;if(a)if(a.type==="op"){var s=a.limits&&(n.style.size===it.DISPLAY.size||a.alwaysHandleSupSub);return s?Yl:null}else if(a.type==="operatorname"){var l=a.alwaysHandleSupSub&&(n.style.size===it.DISPLAY.size||a.limits);return l?By:null}else{if(a.type==="accent")return tt.isCharacterBox(a.base)?Xm:null;if(a.type==="horizBrace"){var o=!t.sub;return o===a.isOver?Dy:null}else return null}else return null};Ps({type:"supsub",htmlBuilder(e,t){var n=aD(e,t);if(n)return n(e,t);var{base:a,sup:s,sub:l}=e,o=Rt(a,t),d,f,h=t.fontMetrics(),p=0,b=0,T=a&&tt.isCharacterBox(a);if(s){var v=t.havingStyle(t.style.sup());d=Rt(s,v,t),T||(p=o.height-v.fontMetrics().supDrop*v.sizeMultiplier/t.sizeMultiplier)}if(l){var A=t.havingStyle(t.style.sub());f=Rt(l,A,t),T||(b=o.depth+A.fontMetrics().subDrop*A.sizeMultiplier/t.sizeMultiplier)}var k;t.style===it.DISPLAY?k=h.sup1:t.style.cramped?k=h.sup3:k=h.sup2;var R=t.sizeMultiplier,C=Ie(.5/h.ptPerEm/R),D=null;if(f){var U=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(o instanceof ta||U)&&(D=Ie(-o.italic))}var J;if(d&&f){p=Math.max(p,k,d.depth+.25*h.xHeight),b=Math.max(b,h.sub2);var j=h.defaultRuleThickness,B=4*j;if(p-d.depth-(f.height-b)<B){b=B-(p-d.depth)+f.height;var Q=.8*h.xHeight-(p-d.depth);Q>0&&(p+=Q,b-=Q)}var te=[{type:"elem",elem:f,shift:b,marginRight:C,marginLeft:D},{type:"elem",elem:d,shift:-p,marginRight:C}];J=se.makeVList({positionType:"individualShift",children:te},t)}else if(f){b=Math.max(b,h.sub1,f.height-.8*h.xHeight);var ae=[{type:"elem",elem:f,marginLeft:D,marginRight:C}];J=se.makeVList({positionType:"shift",positionData:b,children:ae},t)}else if(d)p=Math.max(p,k,d.depth+.25*h.xHeight),J=se.makeVList({positionType:"shift",positionData:-p,children:[{type:"elem",elem:d,marginRight:C}]},t);else throw new Error("supsub must have either sup or sub.");var Y=V1(o,"right")||"mord";return se.makeSpan([Y],[o,se.makeSpan(["msupsub"],[J])],t)},mathmlBuilder(e,t){var n=!1,a,s;e.base&&e.base.type==="horizBrace"&&(s=!!e.sup,s===e.base.isOver&&(n=!0,a=e.base.isOver)),e.base&&(e.base.type==="op"||e.base.type==="operatorname")&&(e.base.parentIsSupSub=!0);var l=[$t(e.base,t)];e.sub&&l.push($t(e.sub,t)),e.sup&&l.push($t(e.sup,t));var o;if(n)o=a?"mover":"munder";else if(e.sub)if(e.sup){var h=e.base;h&&h.type==="op"&&h.limits&&t.style===it.DISPLAY||h&&h.type==="operatorname"&&h.alwaysHandleSupSub&&(t.style===it.DISPLAY||h.limits)?o="munderover":o="msubsup"}else{var f=e.base;f&&f.type==="op"&&f.limits&&(t.style===it.DISPLAY||f.alwaysHandleSupSub)||f&&f.type==="operatorname"&&f.alwaysHandleSupSub&&(f.limits||t.style===it.DISPLAY)?o="munder":o="msub"}else{var d=e.base;d&&d.type==="op"&&d.limits&&(t.style===it.DISPLAY||d.alwaysHandleSupSub)||d&&d.type==="operatorname"&&d.alwaysHandleSupSub&&(d.limits||t.style===it.DISPLAY)?o="mover":o="msup"}return new we.MathNode(o,l)}});Ps({type:"atom",htmlBuilder(e,t){return se.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var n=new we.MathNode("mo",[na(e.text,e.mode)]);if(e.family==="bin"){var a=Km(e,t);a==="bold-italic"&&n.setAttribute("mathvariant",a)}else e.family==="punct"?n.setAttribute("separator","true"):(e.family==="open"||e.family==="close")&&n.setAttribute("stretchy","false");return n}});var Uy={mi:"italic",mn:"normal",mtext:"normal"};Ps({type:"mathord",htmlBuilder(e,t){return se.makeOrd(e,t,"mathord")},mathmlBuilder(e,t){var n=new we.MathNode("mi",[na(e.text,e.mode,t)]),a=Km(e,t)||"italic";return a!==Uy[n.type]&&n.setAttribute("mathvariant",a),n}});Ps({type:"textord",htmlBuilder(e,t){return se.makeOrd(e,t,"textord")},mathmlBuilder(e,t){var n=na(e.text,e.mode,t),a=Km(e,t)||"normal",s;return e.mode==="text"?s=new we.MathNode("mtext",[n]):/[0-9]/.test(e.text)?s=new we.MathNode("mn",[n]):e.text==="\\prime"?s=new we.MathNode("mo",[n]):s=new we.MathNode("mi",[n]),a!==Uy[s.type]&&s.setAttribute("mathvariant",a),s}});var r1={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},a1={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Ps({type:"spacing",htmlBuilder(e,t){if(a1.hasOwnProperty(e.text)){var n=a1[e.text].className||"";if(e.mode==="text"){var a=se.makeOrd(e,t,"textord");return a.classes.push(n),a}else return se.makeSpan(["mspace",n],[se.mathsym(e.text,e.mode,t)],t)}else{if(r1.hasOwnProperty(e.text))return se.makeSpan(["mspace",r1[e.text]],[],t);throw new ke('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var n;if(a1.hasOwnProperty(e.text))n=new we.MathNode("mtext",[new we.TextNode(" ")]);else{if(r1.hasOwnProperty(e.text))return new we.MathNode("mspace");throw new ke('Unknown type of space "'+e.text+'"')}return n}});var z3=()=>{var e=new we.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};Ps({type:"tag",mathmlBuilder(e,t){var n=new we.MathNode("mtable",[new we.MathNode("mtr",[z3(),new we.MathNode("mtd",[es(e.body,t)]),z3(),new we.MathNode("mtd",[es(e.tag,t)])])]);return n.setAttribute("width","100%"),n}});var F3={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},H3={"\\textbf":"textbf","\\textmd":"textmd"},iD={"\\textit":"textit","\\textup":"textup"},q3=(e,t)=>{var n=e.font;if(n){if(F3[n])return t.withTextFontFamily(F3[n]);if(H3[n])return t.withTextFontWeight(H3[n]);if(n==="\\emph")return t.fontShape==="textit"?t.withTextFontShape("textup"):t.withTextFontShape("textit")}else return t;return t.withTextFontShape(iD[n])};Ue({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:a}=e,s=t[0];return{type:"text",mode:n.mode,body:Sn(s),font:a}},htmlBuilder(e,t){var n=q3(e,t),a=Bn(e.body,n,!0);return se.makeSpan(["mord","text"],a,n)},mathmlBuilder(e,t){var n=q3(e,t);return es(e.body,n)}});Ue({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=Rt(e.body,t),a=se.makeLineSpan("underline-line",t),s=t.fontMetrics().defaultRuleThickness,l=se.makeVList({positionType:"top",positionData:n.height,children:[{type:"kern",size:s},{type:"elem",elem:a},{type:"kern",size:3*s},{type:"elem",elem:n}]},t);return se.makeSpan(["mord","underline"],[l],t)},mathmlBuilder(e,t){var n=new we.MathNode("mo",[new we.TextNode("‾")]);n.setAttribute("stretchy","true");var a=new we.MathNode("munder",[$t(e.body,t),n]);return a.setAttribute("accentunder","true"),a}});Ue({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=Rt(e.body,t),a=t.fontMetrics().axisHeight,s=.5*(n.height-a-(n.depth+a));return se.makeVList({positionType:"shift",positionData:s,children:[{type:"elem",elem:n}]},t)},mathmlBuilder(e,t){return new we.MathNode("mpadded",[$t(e.body,t)],["vcenter"])}});Ue({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,n){throw new ke("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var n=Y3(e),a=[],s=t.havingStyle(t.style.text()),l=0;l<n.length;l++){var o=n[l];o==="~"&&(o="\\textasciitilde"),a.push(se.makeSymbol(o,"Typewriter-Regular",e.mode,s,["mord","texttt"]))}return se.makeSpan(["mord","text"].concat(s.sizingClasses(t)),se.tryCombineChars(a),s)},mathmlBuilder(e,t){var n=new we.TextNode(Y3(e)),a=new we.MathNode("mtext",[n]);return a.setAttribute("mathvariant","monospace"),a}});var Y3=e=>e.body.replace(/ /g,e.star?"␣":" "),Wi=ly,zy=`[ \r
340
- ]`,sD="\\\\[a-zA-Z@]+",lD="\\\\[^\uD800-\uDFFF]",uD="("+sD+")"+zy+"*",oD=`\\\\(
341
- |[ \r ]+
342
- ?)[ \r ]*`,W1="[̀-ͯ]",cD=new RegExp(W1+"+$"),dD="("+zy+"+)|"+(oD+"|")+"([!-\\[\\]-‧‪-퟿豈-￿]"+(W1+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(W1+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+uD)+("|"+lD+")");class G3{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(dD,"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 ea("EOF",new Pr(this,n,n));var a=this.tokenRegex.exec(t);if(a===null||a.index!==n)throw new ke("Unexpected character: '"+t[n]+"'",new ea(t[n],new Pr(this,n,n+1)));var s=a[6]||a[3]||(a[2]?"\\ ":" ");if(this.catcodes[s]===14){var l=t.indexOf(`
343
- `,this.tokenRegex.lastIndex);return l===-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=l+1,this.lex()}return new ea(s,new Pr(this,n,this.tokenRegex.lastIndex))}}class fD{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 ke("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,a){if(a===void 0&&(a=!1),a){for(var s=0;s<this.undefStack.length;s++)delete this.undefStack[s][t];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][t]=n)}else{var l=this.undefStack[this.undefStack.length-1];l&&!l.hasOwnProperty(t)&&(l[t]=this.current[t])}n==null?delete this.current[t]:this.current[t]=n}}var hD=Cy;O("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}});O("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}});O("\\@firstoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}});O("\\@secondoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}});O("\\@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}});O("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");O("\\TextOrMath",function(e){var t=e.consumeArgs(2);return e.mode==="text"?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var j3={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};O("\\char",function(e){var t=e.popToken(),n,a="";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]==="\\")a=t.text.charCodeAt(1);else{if(t.text==="EOF")throw new ke("\\char` missing argument");a=t.text.charCodeAt(0)}else n=10;if(n){if(a=j3[t.text],a==null||a>=n)throw new ke("Invalid base-"+n+" digit "+t.text);for(var s;(s=j3[e.future().text])!=null&&s<n;)a*=n,a+=s,e.popToken()}return"\\@char{"+a+"}"});var rp=(e,t,n,a)=>{var s=e.consumeArg().tokens;if(s.length!==1)throw new ke("\\newcommand's first argument must be a macro name");var l=s[0].text,o=e.isDefined(l);if(o&&!t)throw new ke("\\newcommand{"+l+"} attempting to redefine "+(l+"; use \\renewcommand"));if(!o&&!n)throw new ke("\\renewcommand{"+l+"} when command "+l+" does not yet exist; use \\newcommand");var d=0;if(s=e.consumeArg().tokens,s.length===1&&s[0].text==="["){for(var f="",h=e.expandNextToken();h.text!=="]"&&h.text!=="EOF";)f+=h.text,h=e.expandNextToken();if(!f.match(/^\s*[0-9]+\s*$/))throw new ke("Invalid number of arguments: "+f);d=parseInt(f),s=e.consumeArg().tokens}return o&&a||e.macros.set(l,{tokens:s,numArgs:d}),""};O("\\newcommand",e=>rp(e,!1,!0,!1));O("\\renewcommand",e=>rp(e,!0,!1,!1));O("\\providecommand",e=>rp(e,!0,!0,!0));O("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(n=>n.text).join("")),""});O("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(n=>n.text).join("")),""});O("\\show",e=>{var t=e.popToken(),n=t.text;return console.log(t,e.macros.get(n),Wi[n],Zt.math[n],Zt.text[n]),""});O("\\bgroup","{");O("\\egroup","}");O("~","\\nobreakspace");O("\\lq","`");O("\\rq","'");O("\\aa","\\r a");O("\\AA","\\r A");O("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}");O("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");O("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}");O("ℬ","\\mathscr{B}");O("ℰ","\\mathscr{E}");O("ℱ","\\mathscr{F}");O("ℋ","\\mathscr{H}");O("ℐ","\\mathscr{I}");O("ℒ","\\mathscr{L}");O("ℳ","\\mathscr{M}");O("ℛ","\\mathscr{R}");O("ℭ","\\mathfrak{C}");O("ℌ","\\mathfrak{H}");O("ℨ","\\mathfrak{Z}");O("\\Bbbk","\\Bbb{k}");O("·","\\cdotp");O("\\llap","\\mathllap{\\textrm{#1}}");O("\\rlap","\\mathrlap{\\textrm{#1}}");O("\\clap","\\mathclap{\\textrm{#1}}");O("\\mathstrut","\\vphantom{(}");O("\\underbar","\\underline{\\text{#1}}");O("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');O("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}");O("\\ne","\\neq");O("≠","\\neq");O("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}");O("∉","\\notin");O("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}");O("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}");O("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}");O("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}");O("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}");O("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}");O("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}");O("⟂","\\perp");O("‼","\\mathclose{!\\mkern-0.8mu!}");O("∌","\\notni");O("⌜","\\ulcorner");O("⌝","\\urcorner");O("⌞","\\llcorner");O("⌟","\\lrcorner");O("©","\\copyright");O("®","\\textregistered");O("️","\\textregistered");O("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');O("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');O("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');O("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');O("\\vdots","{\\varvdots\\rule{0pt}{15pt}}");O("⋮","\\vdots");O("\\varGamma","\\mathit{\\Gamma}");O("\\varDelta","\\mathit{\\Delta}");O("\\varTheta","\\mathit{\\Theta}");O("\\varLambda","\\mathit{\\Lambda}");O("\\varXi","\\mathit{\\Xi}");O("\\varPi","\\mathit{\\Pi}");O("\\varSigma","\\mathit{\\Sigma}");O("\\varUpsilon","\\mathit{\\Upsilon}");O("\\varPhi","\\mathit{\\Phi}");O("\\varPsi","\\mathit{\\Psi}");O("\\varOmega","\\mathit{\\Omega}");O("\\substack","\\begin{subarray}{c}#1\\end{subarray}");O("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");O("\\boxed","\\fbox{$\\displaystyle{#1}$}");O("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");O("\\implies","\\DOTSB\\;\\Longrightarrow\\;");O("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");O("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}");O("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var V3={",":"\\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"};O("\\dots",function(e){var t="\\dotso",n=e.expandAfterFuture().text;return n in V3?t=V3[n]:(n.slice(0,4)==="\\not"||n in Zt.math&&tt.contains(["bin","rel"],Zt.math[n].group))&&(t="\\dotsb"),t});var ap={")":!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};O("\\dotso",function(e){var t=e.future().text;return t in ap?"\\ldots\\,":"\\ldots"});O("\\dotsc",function(e){var t=e.future().text;return t in ap&&t!==","?"\\ldots\\,":"\\ldots"});O("\\cdots",function(e){var t=e.future().text;return t in ap?"\\@cdots\\,":"\\@cdots"});O("\\dotsb","\\cdots");O("\\dotsm","\\cdots");O("\\dotsi","\\!\\cdots");O("\\dotsx","\\ldots\\,");O("\\DOTSI","\\relax");O("\\DOTSB","\\relax");O("\\DOTSX","\\relax");O("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");O("\\,","\\tmspace+{3mu}{.1667em}");O("\\thinspace","\\,");O("\\>","\\mskip{4mu}");O("\\:","\\tmspace+{4mu}{.2222em}");O("\\medspace","\\:");O("\\;","\\tmspace+{5mu}{.2777em}");O("\\thickspace","\\;");O("\\!","\\tmspace-{3mu}{.1667em}");O("\\negthinspace","\\!");O("\\negmedspace","\\tmspace-{4mu}{.2222em}");O("\\negthickspace","\\tmspace-{5mu}{.277em}");O("\\enspace","\\kern.5em ");O("\\enskip","\\hskip.5em\\relax");O("\\quad","\\hskip1em\\relax");O("\\qquad","\\hskip2em\\relax");O("\\tag","\\@ifstar\\tag@literal\\tag@paren");O("\\tag@paren","\\tag@literal{({#1})}");O("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new ke("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});O("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");O("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");O("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");O("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");O("\\newline","\\\\\\relax");O("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Fy=Ie(Ca["Main-Regular"][84][1]-.7*Ca["Main-Regular"][65][1]);O("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Fy+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");O("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Fy+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");O("\\hspace","\\@ifstar\\@hspacer\\@hspace");O("\\@hspace","\\hskip #1\\relax");O("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");O("\\ordinarycolon",":");O("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");O("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');O("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');O("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');O("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');O("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');O("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');O("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');O("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');O("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');O("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');O("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');O("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');O("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');O("∷","\\dblcolon");O("∹","\\eqcolon");O("≔","\\coloneqq");O("≕","\\eqqcolon");O("⩴","\\Coloneqq");O("\\ratio","\\vcentcolon");O("\\coloncolon","\\dblcolon");O("\\colonequals","\\coloneqq");O("\\coloncolonequals","\\Coloneqq");O("\\equalscolon","\\eqqcolon");O("\\equalscoloncolon","\\Eqqcolon");O("\\colonminus","\\coloneq");O("\\coloncolonminus","\\Coloneq");O("\\minuscolon","\\eqcolon");O("\\minuscoloncolon","\\Eqcolon");O("\\coloncolonapprox","\\Colonapprox");O("\\coloncolonsim","\\Colonsim");O("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");O("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");O("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");O("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");O("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}");O("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");O("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");O("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");O("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");O("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");O("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");O("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");O("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");O("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}");O("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}");O("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}");O("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}");O("\\nleqq","\\html@mathml{\\@nleqq}{≰}");O("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}");O("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}");O("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}");O("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}");O("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}");O("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}");O("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}");O("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}");O("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}");O("\\imath","\\html@mathml{\\@imath}{ı}");O("\\jmath","\\html@mathml{\\@jmath}{ȷ}");O("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}");O("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}");O("⟦","\\llbracket");O("⟧","\\rrbracket");O("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}");O("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}");O("⦃","\\lBrace");O("⦄","\\rBrace");O("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}");O("⦵","\\minuso");O("\\darr","\\downarrow");O("\\dArr","\\Downarrow");O("\\Darr","\\Downarrow");O("\\lang","\\langle");O("\\rang","\\rangle");O("\\uarr","\\uparrow");O("\\uArr","\\Uparrow");O("\\Uarr","\\Uparrow");O("\\N","\\mathbb{N}");O("\\R","\\mathbb{R}");O("\\Z","\\mathbb{Z}");O("\\alef","\\aleph");O("\\alefsym","\\aleph");O("\\Alpha","\\mathrm{A}");O("\\Beta","\\mathrm{B}");O("\\bull","\\bullet");O("\\Chi","\\mathrm{X}");O("\\clubs","\\clubsuit");O("\\cnums","\\mathbb{C}");O("\\Complex","\\mathbb{C}");O("\\Dagger","\\ddagger");O("\\diamonds","\\diamondsuit");O("\\empty","\\emptyset");O("\\Epsilon","\\mathrm{E}");O("\\Eta","\\mathrm{H}");O("\\exist","\\exists");O("\\harr","\\leftrightarrow");O("\\hArr","\\Leftrightarrow");O("\\Harr","\\Leftrightarrow");O("\\hearts","\\heartsuit");O("\\image","\\Im");O("\\infin","\\infty");O("\\Iota","\\mathrm{I}");O("\\isin","\\in");O("\\Kappa","\\mathrm{K}");O("\\larr","\\leftarrow");O("\\lArr","\\Leftarrow");O("\\Larr","\\Leftarrow");O("\\lrarr","\\leftrightarrow");O("\\lrArr","\\Leftrightarrow");O("\\Lrarr","\\Leftrightarrow");O("\\Mu","\\mathrm{M}");O("\\natnums","\\mathbb{N}");O("\\Nu","\\mathrm{N}");O("\\Omicron","\\mathrm{O}");O("\\plusmn","\\pm");O("\\rarr","\\rightarrow");O("\\rArr","\\Rightarrow");O("\\Rarr","\\Rightarrow");O("\\real","\\Re");O("\\reals","\\mathbb{R}");O("\\Reals","\\mathbb{R}");O("\\Rho","\\mathrm{P}");O("\\sdot","\\cdot");O("\\sect","\\S");O("\\spades","\\spadesuit");O("\\sub","\\subset");O("\\sube","\\subseteq");O("\\supe","\\supseteq");O("\\Tau","\\mathrm{T}");O("\\thetasym","\\vartheta");O("\\weierp","\\wp");O("\\Zeta","\\mathrm{Z}");O("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");O("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");O("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");O("\\bra","\\mathinner{\\langle{#1}|}");O("\\ket","\\mathinner{|{#1}\\rangle}");O("\\braket","\\mathinner{\\langle{#1}\\rangle}");O("\\Bra","\\left\\langle#1\\right|");O("\\Ket","\\left|#1\\right\\rangle");var Hy=e=>t=>{var n=t.consumeArg().tokens,a=t.consumeArg().tokens,s=t.consumeArg().tokens,l=t.consumeArg().tokens,o=t.macros.get("|"),d=t.macros.get("\\|");t.macros.beginGroup();var f=b=>T=>{e&&(T.macros.set("|",o),s.length&&T.macros.set("\\|",d));var v=b;if(!b&&s.length){var A=T.future();A.text==="|"&&(T.popToken(),v=!0)}return{tokens:v?s:a,numArgs:0}};t.macros.set("|",f(!1)),s.length&&t.macros.set("\\|",f(!0));var h=t.consumeArg().tokens,p=t.expandTokens([...l,...h,...n]);return t.macros.endGroup(),{tokens:p.reverse(),numArgs:0}};O("\\bra@ket",Hy(!1));O("\\bra@set",Hy(!0));O("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");O("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");O("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");O("\\angln","{\\angl n}");O("\\blue","\\textcolor{##6495ed}{#1}");O("\\orange","\\textcolor{##ffa500}{#1}");O("\\pink","\\textcolor{##ff00af}{#1}");O("\\red","\\textcolor{##df0030}{#1}");O("\\green","\\textcolor{##28ae7b}{#1}");O("\\gray","\\textcolor{gray}{#1}");O("\\purple","\\textcolor{##9d38bd}{#1}");O("\\blueA","\\textcolor{##ccfaff}{#1}");O("\\blueB","\\textcolor{##80f6ff}{#1}");O("\\blueC","\\textcolor{##63d9ea}{#1}");O("\\blueD","\\textcolor{##11accd}{#1}");O("\\blueE","\\textcolor{##0c7f99}{#1}");O("\\tealA","\\textcolor{##94fff5}{#1}");O("\\tealB","\\textcolor{##26edd5}{#1}");O("\\tealC","\\textcolor{##01d1c1}{#1}");O("\\tealD","\\textcolor{##01a995}{#1}");O("\\tealE","\\textcolor{##208170}{#1}");O("\\greenA","\\textcolor{##b6ffb0}{#1}");O("\\greenB","\\textcolor{##8af281}{#1}");O("\\greenC","\\textcolor{##74cf70}{#1}");O("\\greenD","\\textcolor{##1fab54}{#1}");O("\\greenE","\\textcolor{##0d923f}{#1}");O("\\goldA","\\textcolor{##ffd0a9}{#1}");O("\\goldB","\\textcolor{##ffbb71}{#1}");O("\\goldC","\\textcolor{##ff9c39}{#1}");O("\\goldD","\\textcolor{##e07d10}{#1}");O("\\goldE","\\textcolor{##a75a05}{#1}");O("\\redA","\\textcolor{##fca9a9}{#1}");O("\\redB","\\textcolor{##ff8482}{#1}");O("\\redC","\\textcolor{##f9685d}{#1}");O("\\redD","\\textcolor{##e84d39}{#1}");O("\\redE","\\textcolor{##bc2612}{#1}");O("\\maroonA","\\textcolor{##ffbde0}{#1}");O("\\maroonB","\\textcolor{##ff92c6}{#1}");O("\\maroonC","\\textcolor{##ed5fa6}{#1}");O("\\maroonD","\\textcolor{##ca337c}{#1}");O("\\maroonE","\\textcolor{##9e034e}{#1}");O("\\purpleA","\\textcolor{##ddd7ff}{#1}");O("\\purpleB","\\textcolor{##c6b9fc}{#1}");O("\\purpleC","\\textcolor{##aa87ff}{#1}");O("\\purpleD","\\textcolor{##7854ab}{#1}");O("\\purpleE","\\textcolor{##543b78}{#1}");O("\\mintA","\\textcolor{##f5f9e8}{#1}");O("\\mintB","\\textcolor{##edf2df}{#1}");O("\\mintC","\\textcolor{##e0e5cc}{#1}");O("\\grayA","\\textcolor{##f6f7f7}{#1}");O("\\grayB","\\textcolor{##f0f1f2}{#1}");O("\\grayC","\\textcolor{##e3e5e6}{#1}");O("\\grayD","\\textcolor{##d6d8da}{#1}");O("\\grayE","\\textcolor{##babec2}{#1}");O("\\grayF","\\textcolor{##888d93}{#1}");O("\\grayG","\\textcolor{##626569}{#1}");O("\\grayH","\\textcolor{##3b3e40}{#1}");O("\\grayI","\\textcolor{##21242c}{#1}");O("\\kaBlue","\\textcolor{##314453}{#1}");O("\\kaGreen","\\textcolor{##71B307}{#1}");var qy={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class mD{constructor(t,n,a){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=n,this.expansionCount=0,this.feed(t),this.macros=new fD(hD,n.macros),this.mode=a,this.stack=[]}feed(t){this.lexer=new G3(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,a,s;if(t){if(this.consumeSpaces(),this.future().text!=="[")return null;n=this.popToken(),{tokens:s,end:a}=this.consumeArg(["]"])}else({tokens:s,start:n,end:a}=this.consumeArg());return this.pushToken(new ea("EOF",a.loc)),this.pushTokens(s),n.range(a,"")}consumeSpaces(){for(;;){var t=this.future();if(t.text===" ")this.stack.pop();else break}}consumeArg(t){var n=[],a=t&&t.length>0;a||this.consumeSpaces();var s=this.future(),l,o=0,d=0;do{if(l=this.popToken(),n.push(l),l.text==="{")++o;else if(l.text==="}"){if(--o,o===-1)throw new ke("Extra }",l)}else if(l.text==="EOF")throw new ke("Unexpected end of input in a macro argument, expected '"+(t&&a?t[d]:"}")+"'",l);if(t&&a)if((o===0||o===1&&t[d]==="{")&&l.text===t[d]){if(++d,d===t.length){n.splice(-d,d);break}}else d=0}while(o!==0||a);return s.text==="{"&&n[n.length-1].text==="}"&&(n.pop(),n.shift()),n.reverse(),{tokens:n,start:s,end:l}}consumeArgs(t,n){if(n){if(n.length!==t+1)throw new ke("The length of delimiters doesn't match the number of args!");for(var a=n[0],s=0;s<a.length;s++){var l=this.popToken();if(a[s]!==l.text)throw new ke("Use of the macro doesn't match its definition",l)}}for(var o=[],d=0;d<t;d++)o.push(this.consumeArg(n&&n[d+1]).tokens);return o}countExpansion(t){if(this.expansionCount+=t,this.expansionCount>this.settings.maxExpand)throw new ke("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(t){var n=this.popToken(),a=n.text,s=n.noexpand?null:this._getExpansion(a);if(s==null||t&&s.unexpandable){if(t&&s==null&&a[0]==="\\"&&!this.isDefined(a))throw new ke("Undefined control sequence: "+a);return this.pushToken(n),!1}this.countExpansion(1);var l=s.tokens,o=this.consumeArgs(s.numArgs,s.delimiters);if(s.numArgs){l=l.slice();for(var d=l.length-1;d>=0;--d){var f=l[d];if(f.text==="#"){if(d===0)throw new ke("Incomplete placeholder at end of macro body",f);if(f=l[--d],f.text==="#")l.splice(d+1,1);else if(/^[1-9]$/.test(f.text))l.splice(d,2,...o[+f.text-1]);else throw new ke("Not a valid argument number",f)}}}return this.pushTokens(l),l.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 ea(t)]):void 0}expandTokens(t){var n=[],a=this.stack.length;for(this.pushTokens(t);this.stack.length>a;)if(this.expandOnce(!0)===!1){var s=this.stack.pop();s.treatAsRelax&&(s.noexpand=!1,s.treatAsRelax=!1),n.push(s)}return this.countExpansion(n.length),n}expandMacroAsText(t){var n=this.expandMacro(t);return n&&n.map(a=>a.text).join("")}_getExpansion(t){var n=this.macros.get(t);if(n==null)return n;if(t.length===1){var a=this.lexer.catcodes[t];if(a!=null&&a!==13)return}var s=typeof n=="function"?n(this):n;if(typeof s=="string"){var l=0;if(s.indexOf("#")!==-1)for(var o=s.replace(/##/g,"");o.indexOf("#"+(l+1))!==-1;)++l;for(var d=new G3(s,this.settings),f=[],h=d.lex();h.text!=="EOF";)f.push(h),h=d.lex();f.reverse();var p={tokens:f,numArgs:l};return p}return s}isDefined(t){return this.macros.has(t)||Wi.hasOwnProperty(t)||Zt.math.hasOwnProperty(t)||Zt.text.hasOwnProperty(t)||qy.hasOwnProperty(t)}isExpandable(t){var n=this.macros.get(t);return n!=null?typeof n=="string"||typeof n=="function"||!n.unexpandable:Wi.hasOwnProperty(t)&&!Wi[t].primitive}}var K3=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,d0=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9","ₐ":"a","ₑ":"e","ₕ":"h","ᵢ":"i","ⱼ":"j","ₖ":"k","ₗ":"l","ₘ":"m","ₙ":"n","ₒ":"o","ₚ":"p","ᵣ":"r","ₛ":"s","ₜ":"t","ᵤ":"u","ᵥ":"v","ₓ":"x","ᵦ":"β","ᵧ":"γ","ᵨ":"ρ","ᵩ":"ϕ","ᵪ":"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9","ᴬ":"A","ᴮ":"B","ᴰ":"D","ᴱ":"E","ᴳ":"G","ᴴ":"H","ᴵ":"I","ᴶ":"J","ᴷ":"K","ᴸ":"L","ᴹ":"M","ᴺ":"N","ᴼ":"O","ᴾ":"P","ᴿ":"R","ᵀ":"T","ᵁ":"U","ⱽ":"V","ᵂ":"W","ᵃ":"a","ᵇ":"b","ᶜ":"c","ᵈ":"d","ᵉ":"e","ᶠ":"f","ᵍ":"g",ʰ:"h","ⁱ":"i",ʲ:"j","ᵏ":"k",ˡ:"l","ᵐ":"m",ⁿ:"n","ᵒ":"o","ᵖ":"p",ʳ:"r",ˢ:"s","ᵗ":"t","ᵘ":"u","ᵛ":"v",ʷ:"w",ˣ:"x",ʸ:"y","ᶻ":"z","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),i1={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},$3={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class ld{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 mD(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 ke("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 ea("}")),this.gullet.pushTokens(t);var a=this.parseExpression(!1);return this.expect("}"),this.nextToken=n,a}parseExpression(t,n){for(var a=[];;){this.mode==="math"&&this.consumeSpaces();var s=this.fetch();if(ld.endOfExpression.indexOf(s.text)!==-1||n&&s.text===n||t&&Wi[s.text]&&Wi[s.text].infix)break;var l=this.parseAtom(n);if(l){if(l.type==="internal")continue}else break;a.push(l)}return this.mode==="text"&&this.formLigatures(a),this.handleInfixNodes(a)}handleInfixNodes(t){for(var n=-1,a,s=0;s<t.length;s++)if(t[s].type==="infix"){if(n!==-1)throw new ke("only one infix operator per group",t[s].token);n=s,a=t[s].replaceWith}if(n!==-1&&a){var l,o,d=t.slice(0,n),f=t.slice(n+1);d.length===1&&d[0].type==="ordgroup"?l=d[0]:l={type:"ordgroup",mode:this.mode,body:d},f.length===1&&f[0].type==="ordgroup"?o=f[0]:o={type:"ordgroup",mode:this.mode,body:f};var h;return a==="\\\\abovefrac"?h=this.callFunction(a,[l,t[n],o],[]):h=this.callFunction(a,[l,o],[]),[h]}else return t}handleSupSubscript(t){var n=this.fetch(),a=n.text;this.consume(),this.consumeSpaces();var s;do{var l;s=this.parseGroup(t)}while(((l=s)==null?void 0:l.type)==="internal");if(!s)throw new ke("Expected group after '"+a+"'",n);return s}formatUnsupportedCmd(t){for(var n=[],a=0;a<t.length;a++)n.push({type:"textord",mode:"text",text:t[a]});var s={type:"text",mode:this.mode,body:n},l={type:"color",mode:this.mode,color:this.settings.errorColor,body:[s]};return l}parseAtom(t){var n=this.parseGroup("atom",t);if((n==null?void 0:n.type)==="internal"||this.mode==="text")return n;for(var a,s;;){this.consumeSpaces();var l=this.fetch();if(l.text==="\\limits"||l.text==="\\nolimits"){if(n&&n.type==="op"){var o=l.text==="\\limits";n.limits=o,n.alwaysHandleSupSub=!0}else if(n&&n.type==="operatorname")n.alwaysHandleSupSub&&(n.limits=l.text==="\\limits");else throw new ke("Limit controls must follow a math operator",l);this.consume()}else if(l.text==="^"){if(a)throw new ke("Double superscript",l);a=this.handleSupSubscript("superscript")}else if(l.text==="_"){if(s)throw new ke("Double subscript",l);s=this.handleSupSubscript("subscript")}else if(l.text==="'"){if(a)throw new ke("Double superscript",l);var d={type:"textord",mode:this.mode,text:"\\prime"},f=[d];for(this.consume();this.fetch().text==="'";)f.push(d),this.consume();this.fetch().text==="^"&&f.push(this.handleSupSubscript("superscript")),a={type:"ordgroup",mode:this.mode,body:f}}else if(d0[l.text]){var h=K3.test(l.text),p=[];for(p.push(new ea(d0[l.text])),this.consume();;){var b=this.fetch().text;if(!d0[b]||K3.test(b)!==h)break;p.unshift(new ea(d0[b])),this.consume()}var T=this.subparse(p);h?s={type:"ordgroup",mode:"math",body:T}:a={type:"ordgroup",mode:"math",body:T}}else break}return a||s?{type:"supsub",mode:this.mode,base:n,sup:a,sub:s}:n}parseFunction(t,n){var a=this.fetch(),s=a.text,l=Wi[s];if(!l)return null;if(this.consume(),n&&n!=="atom"&&!l.allowedInArgument)throw new ke("Got function '"+s+"' with no arguments"+(n?" as "+n:""),a);if(this.mode==="text"&&!l.allowedInText)throw new ke("Can't use function '"+s+"' in text mode",a);if(this.mode==="math"&&l.allowedInMath===!1)throw new ke("Can't use function '"+s+"' in math mode",a);var{args:o,optArgs:d}=this.parseArguments(s,l);return this.callFunction(s,o,d,a,t)}callFunction(t,n,a,s,l){var o={funcName:t,parser:this,token:s,breakOnTokenText:l},d=Wi[t];if(d&&d.handler)return d.handler(o,n,a);throw new ke("No function handler for "+t)}parseArguments(t,n){var a=n.numArgs+n.numOptionalArgs;if(a===0)return{args:[],optArgs:[]};for(var s=[],l=[],o=0;o<a;o++){var d=n.argTypes&&n.argTypes[o],f=o<n.numOptionalArgs;(n.primitive&&d==null||n.type==="sqrt"&&o===1&&l[0]==null)&&(d="primitive");var h=this.parseGroupOfType("argument to '"+t+"'",d,f);if(f)l.push(h);else if(h!=null)s.push(h);else throw new ke("Null argument, please report this as a bug")}return{args:s,optArgs:l}}parseGroupOfType(t,n,a){switch(n){case"color":return this.parseColorGroup(a);case"size":return this.parseSizeGroup(a);case"url":return this.parseUrlGroup(a);case"math":case"text":return this.parseArgumentGroup(a,n);case"hbox":{var s=this.parseArgumentGroup(a,"text");return s!=null?{type:"styling",mode:s.mode,body:[s],style:"text"}:null}case"raw":{var l=this.parseStringGroup("raw",a);return l!=null?{type:"raw",mode:"text",string:l.text}:null}case"primitive":{if(a)throw new ke("A primitive argument cannot be optional");var o=this.parseGroup(t);if(o==null)throw new ke("Expected group as "+t,this.fetch());return o}case"original":case null:case void 0:return this.parseArgumentGroup(a);default:throw new ke("Unknown group type as "+t,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(t,n){var a=this.gullet.scanArgument(n);if(a==null)return null;for(var s="",l;(l=this.fetch()).text!=="EOF";)s+=l.text,this.consume();return this.consume(),a.text=s,a}parseRegexGroup(t,n){for(var a=this.fetch(),s=a,l="",o;(o=this.fetch()).text!=="EOF"&&t.test(l+o.text);)s=o,l+=s.text,this.consume();if(l==="")throw new ke("Invalid "+n+": '"+a.text+"'",a);return a.range(s,l)}parseColorGroup(t){var n=this.parseStringGroup("color",t);if(n==null)return null;var a=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(n.text);if(!a)throw new ke("Invalid color: '"+n.text+"'",n);var s=a[0];return/^[0-9a-f]{6}$/i.test(s)&&(s="#"+s),{type:"color-token",mode:this.mode,color:s}}parseSizeGroup(t){var n,a=!1;if(this.gullet.consumeSpaces(),!t&&this.gullet.future().text!=="{"?n=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):n=this.parseStringGroup("size",t),!n)return null;!t&&n.text.length===0&&(n.text="0pt",a=!0);var s=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(n.text);if(!s)throw new ke("Invalid size: '"+n.text+"'",n);var l={number:+(s[1]+s[2]),unit:s[3]};if(!Z5(l))throw new ke("Invalid unit: '"+l.unit+"'",n);return{type:"size",mode:this.mode,value:l,isBlank:a}}parseUrlGroup(t){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var n=this.parseStringGroup("url",t);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),n==null)return null;var a=n.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:a}}parseArgumentGroup(t,n){var a=this.gullet.scanArgument(t);if(a==null)return null;var s=this.mode;n&&this.switchMode(n),this.gullet.beginGroup();var l=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var o={type:"ordgroup",mode:this.mode,loc:a.loc,body:l};return n&&this.switchMode(s),o}parseGroup(t,n){var a=this.fetch(),s=a.text,l;if(s==="{"||s==="\\begingroup"){this.consume();var o=s==="{"?"}":"\\endgroup";this.gullet.beginGroup();var d=this.parseExpression(!1,o),f=this.fetch();this.expect(o),this.gullet.endGroup(),l={type:"ordgroup",mode:this.mode,loc:Pr.range(a,f),body:d,semisimple:s==="\\begingroup"||void 0}}else if(l=this.parseFunction(n,t)||this.parseSymbol(),l==null&&s[0]==="\\"&&!qy.hasOwnProperty(s)){if(this.settings.throwOnError)throw new ke("Undefined control sequence: "+s,a);l=this.formatUnsupportedCmd(s),this.consume()}return l}formLigatures(t){for(var n=t.length-1,a=0;a<n;++a){var s=t[a],l=s.text;l==="-"&&t[a+1].text==="-"&&(a+1<n&&t[a+2].text==="-"?(t.splice(a,3,{type:"textord",mode:"text",loc:Pr.range(s,t[a+2]),text:"---"}),n-=2):(t.splice(a,2,{type:"textord",mode:"text",loc:Pr.range(s,t[a+1]),text:"--"}),n-=1)),(l==="'"||l==="`")&&t[a+1].text===l&&(t.splice(a,2,{type:"textord",mode:"text",loc:Pr.range(s,t[a+1]),text:l+l}),n-=1)}}parseSymbol(){var t=this.fetch(),n=t.text;if(/^\\verb[^a-zA-Z]/.test(n)){this.consume();var a=n.slice(5),s=a.charAt(0)==="*";if(s&&(a=a.slice(1)),a.length<2||a.charAt(0)!==a.slice(-1))throw new ke(`\\verb assertion failed --
344
- please report what input caused this bug`);return a=a.slice(1,-1),{type:"verb",mode:"text",body:a,star:s}}$3.hasOwnProperty(n[0])&&!Zt[this.mode][n[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+n[0]+'" used in math mode',t),n=$3[n[0]]+n.slice(1));var l=cD.exec(n);l&&(n=n.substring(0,l.index),n==="i"?n="ı":n==="j"&&(n="ȷ"));var o;if(Zt[this.mode][n]){this.settings.strict&&this.mode==="math"&&j1.indexOf(n)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+n[0]+'" used in math mode',t);var d=Zt[this.mode][n].group,f=Pr.range(t),h;if(nR.hasOwnProperty(d)){var p=d;h={type:"atom",mode:this.mode,family:p,loc:f,text:n}}else h={type:d,mode:this.mode,loc:f,text:n};o=h}else if(n.charCodeAt(0)>=128)this.settings.strict&&(Q5(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)),o={type:"textord",mode:"text",loc:Pr.range(t),text:n};else return null;if(this.consume(),l)for(var b=0;b<l[0].length;b++){var T=l[0][b];if(!i1[T])throw new ke("Unknown accent ' "+T+"'",t);var v=i1[T][this.mode]||i1[T].text;if(!v)throw new ke("Accent "+T+" unsupported in "+this.mode+" mode",t);o={type:"accent",mode:this.mode,loc:Pr.range(t),label:v,isStretchy:!1,isShifty:!0,base:o}}return o}}ld.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var ip=function(t,n){if(!(typeof t=="string"||t instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var a=new ld(t,n);delete a.gullet.macros.current["\\df@tag"];var s=a.parse();if(delete a.gullet.macros.current["\\current@color"],delete a.gullet.macros.current["\\color"],a.gullet.macros.get("\\df@tag")){if(!n.displayMode)throw new ke("\\tag works only in display equations");s=[{type:"tag",mode:"text",body:s,tag:a.subparse([new ea("\\df@tag")])}]}return s},Yy=function(t,n,a){n.textContent="";var s=sp(t,a).toNode();n.appendChild(s)};typeof document<"u"&&document.compatMode!=="CSS1Compat"&&(typeof console<"u"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),Yy=function(){throw new ke("KaTeX doesn't work in quirks mode.")});var pD=function(t,n){var a=sp(t,n).toMarkup();return a},gD=function(t,n){var a=new Hm(n);return ip(t,a)},Gy=function(t,n,a){if(a.throwOnError||!(t instanceof ke))throw t;var s=se.makeSpan(["katex-error"],[new ta(n)]);return s.setAttribute("title",t.toString()),s.setAttribute("style","color:"+a.errorColor),s},sp=function(t,n){var a=new Hm(n);try{var s=ip(t,a);return AR(s,t,a)}catch(l){return Gy(l,t,a)}},bD=function(t,n){var a=new Hm(n);try{var s=ip(t,a);return wR(s,t,a)}catch(l){return Gy(l,t,a)}},ED="0.16.22",yD={Span:Oo,Anchor:Gm,SymbolNode:ta,SvgNode:si,PathNode:Ji,LineNode:G1},X3={version:ED,render:Yy,renderToString:pD,ParseError:ke,SETTINGS_SCHEMA:S0,__parse:gD,__renderToDomTree:sp,__renderToHTMLTree:bD,__setFontMetrics:$M,__defineSymbol:y,__defineFunction:Ue,__defineMacro:O,__domTree:yD};const vD={},TD=[];function _D(e){const t=e||vD;return function(n,a){km(n,"element",function(s,l){const o=Array.isArray(s.properties.className)?s.properties.className:TD,d=o.includes("language-math"),f=o.includes("math-display"),h=o.includes("math-inline");let p=f;if(!d&&!f&&!h)return;let b=l[l.length-1],T=s;if(s.tagName==="code"&&d&&b&&b.type==="element"&&b.tagName==="pre"&&(T=b,b=l[l.length-2],p=!0),!b)return;const v=k5(T,{whitespace:"pre"});let A;try{A=X3.renderToString(v,{...t,displayMode:p,throwOnError:!0})}catch(R){const C=R,D=C.name.toLowerCase();a.message("Could not render math with KaTeX",{ancestors:[...l,s],cause:C,place:s.position,ruleId:D,source:"rehype-katex"});try{A=X3.renderToString(v,{...t,displayMode:p,strict:"ignore",throwOnError:!1})}catch{A=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(t.errorColor||"#cc0000"),title:String(R)},children:[{type:"text",value:v}]}]}}typeof A=="string"&&(A=EM(A).children);const k=b.children.indexOf(T);return b.children.splice(k,1,...A),lE})}}function SD(){return{enter:{mathFlow:e,mathFlowFenceMeta:t,mathText:l},exit:{mathFlow:s,mathFlowFence:a,mathFlowFenceMeta:n,mathFlowValue:d,mathText:o,mathTextData:d}};function e(f){const h={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[h]}},f)}function t(){this.buffer()}function n(){const f=this.resume(),h=this.stack[this.stack.length-1];h.type,h.meta=f}function a(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function s(f){const h=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),p=this.stack[this.stack.length-1];p.type,this.exit(f),p.value=h;const b=p.data.hChildren[0];b.type,b.tagName,b.children.push({type:"text",value:h}),this.data.mathFlowInside=void 0}function l(f){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},f),this.buffer()}function o(f){const h=this.resume(),p=this.stack[this.stack.length-1];p.type,this.exit(f),p.value=h,p.data.hChildren.push({type:"text",value:h})}function d(f){this.config.enter.data.call(this,f),this.config.exit.data.call(this,f)}}function xD(e){let t=(e||{}).singleDollarTextMath;return t==null&&(t=!0),a.peek=s,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
345
- `,inConstruct:"mathFlowMeta"},{character:"$",after:t?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:n,inlineMath:a}};function n(l,o,d,f){const h=l.value||"",p=d.createTracker(f),b="$".repeat(Math.max(mE(h,"$")+1,2)),T=d.enter("mathFlow");let v=p.move(b);if(l.meta){const A=d.enter("mathFlowMeta");v+=p.move(d.safe(l.meta,{after:`
346
- `,before:v,encode:["$"],...p.current()})),A()}return v+=p.move(`
347
- `),h&&(v+=p.move(h+`
348
- `)),v+=p.move(b),T(),v}function a(l,o,d){let f=l.value||"",h=1;for(t||h++;new RegExp("(^|[^$])"+"\\$".repeat(h)+"([^$]|$)").test(f);)h++;const p="$".repeat(h);/[^ \r\n]/.test(f)&&(/^[ \r\n]/.test(f)&&/[ \r\n]$/.test(f)||/^\$|\$$/.test(f))&&(f=" "+f+" ");let b=-1;for(;++b<d.unsafe.length;){const T=d.unsafe[b];if(!T.atBreak)continue;const v=d.compilePattern(T);let A;for(;A=v.exec(f);){let k=A.index;f.codePointAt(k)===10&&f.codePointAt(k-1)===13&&k--,f=f.slice(0,k)+" "+f.slice(A.index+1)}}return p+f+p}function s(){return"$"}}const AD={tokenize:wD,concrete:!0,name:"mathFlow"},W3={tokenize:kD,partial:!0};function wD(e,t,n){const a=this,s=a.events[a.events.length-1],l=s&&s[1].type==="linePrefix"?s[2].sliceSerialize(s[1],!0).length:0;let o=0;return d;function d(D){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),f(D)}function f(D){return D===36?(e.consume(D),o++,f):o<2?n(D):(e.exit("mathFlowFenceSequence"),At(e,h,"whitespace")(D))}function h(D){return D===null||Xe(D)?b(D):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),p(D))}function p(D){return D===null||Xe(D)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),b(D)):D===36?n(D):(e.consume(D),p)}function b(D){return e.exit("mathFlowFence"),a.interrupt?t(D):e.attempt(W3,T,R)(D)}function T(D){return e.attempt({tokenize:C,partial:!0},R,v)(D)}function v(D){return(l?At(e,A,"linePrefix",l+1):A)(D)}function A(D){return D===null?R(D):Xe(D)?e.attempt(W3,T,R)(D):(e.enter("mathFlowValue"),k(D))}function k(D){return D===null||Xe(D)?(e.exit("mathFlowValue"),A(D)):(e.consume(D),k)}function R(D){return e.exit("mathFlow"),t(D)}function C(D,U,J){let j=0;return At(D,B,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function B(ae){return D.enter("mathFlowFence"),D.enter("mathFlowFenceSequence"),Q(ae)}function Q(ae){return ae===36?(j++,D.consume(ae),Q):j<o?J(ae):(D.exit("mathFlowFenceSequence"),At(D,te,"whitespace")(ae))}function te(ae){return ae===null||Xe(ae)?(D.exit("mathFlowFence"),U(ae)):J(ae)}}}function kD(e,t,n){const a=this;return s;function s(o){return o===null?t(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),l)}function l(o){return a.parser.lazy[a.now().line]?n(o):t(o)}}function CD(e){let n=(e||{}).singleDollarTextMath;return n==null&&(n=!0),{tokenize:a,resolve:ND,previous:OD,name:"mathText"};function a(s,l,o){let d=0,f,h;return p;function p(k){return s.enter("mathText"),s.enter("mathTextSequence"),b(k)}function b(k){return k===36?(s.consume(k),d++,b):d<2&&!n?o(k):(s.exit("mathTextSequence"),T(k))}function T(k){return k===null?o(k):k===36?(h=s.enter("mathTextSequence"),f=0,A(k)):k===32?(s.enter("space"),s.consume(k),s.exit("space"),T):Xe(k)?(s.enter("lineEnding"),s.consume(k),s.exit("lineEnding"),T):(s.enter("mathTextData"),v(k))}function v(k){return k===null||k===32||k===36||Xe(k)?(s.exit("mathTextData"),T(k)):(s.consume(k),v)}function A(k){return k===36?(s.consume(k),f++,A):f===d?(s.exit("mathTextSequence"),s.exit("mathText"),l(k)):(h.type="mathTextData",v(k))}}}function ND(e){let t=e.length-4,n=3,a,s;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(a=n;++a<t;)if(e[a][1].type==="mathTextData"){e[t][1].type="mathTextPadding",e[n][1].type="mathTextPadding",n+=2,t-=2;break}}for(a=n-1,t++;++a<=t;)s===void 0?a!==t&&e[a][1].type!=="lineEnding"&&(s=a):(a===t||e[a][1].type==="lineEnding")&&(e[s][1].type="mathTextData",a!==s+2&&(e[s][1].end=e[a-1][1].end,e.splice(s+2,a-s-2),t-=a-s-2,a=s+2),s=void 0);return e}function OD(e){return e!==36||this.events[this.events.length-1][1].type==="characterEscape"}function MD(e){return{flow:{36:AD},text:{36:CD(e)}}}const RD={};function DD(e){const t=this,n=e||RD,a=t.data(),s=a.micromarkExtensions||(a.micromarkExtensions=[]),l=a.fromMarkdownExtensions||(a.fromMarkdownExtensions=[]),o=a.toMarkdownExtensions||(a.toMarkdownExtensions=[]);s.push(MD(n)),l.push(SD()),o.push(xD(n))}var ID=Object.freeze({InvalidProxyUrlErrorMessage:"The proxyUrl passed to Clerk is invalid. The expected value for proxyUrl is an absolute URL or a relative path with a leading '/'. (key={{url}})",InvalidPublishableKeyErrorMessage:"The publishableKey passed to Clerk is invalid. You can get your Publishable key at https://dashboard.clerk.com/last-active?path=api-keys. (key={{key}})",MissingPublishableKeyErrorMessage:"Missing publishableKey. You can get your key at https://dashboard.clerk.com/last-active?path=api-keys.",MissingSecretKeyErrorMessage:"Missing secretKey. You can get your key at https://dashboard.clerk.com/last-active?path=api-keys.",MissingClerkProvider:"{{source}} can only be used within the <ClerkProvider /> component. Learn more: https://clerk.com/docs/components/clerk-provider"});function jy({packageName:e,customMessages:t}){let n=e;const a={...ID,...t};function s(l,o){if(!o)return`${n}: ${l}`;let d=l;const f=l.matchAll(/{{([a-zA-Z0-9-_]+)}}/g);for(const h of f){const p=(o[h[1]]||"").toString();d=d.replace(`{{${h[1]}}}`,p)}return`${n}: ${d}`}return{setPackageName({packageName:l}){return typeof l=="string"&&(n=l),this},setMessages({customMessages:l}){return Object.assign(a,l||{}),this},throwInvalidPublishableKeyError(l){throw new Error(s(a.InvalidPublishableKeyErrorMessage,l))},throwInvalidProxyUrl(l){throw new Error(s(a.InvalidProxyUrlErrorMessage,l))},throwMissingPublishableKeyError(){throw new Error(s(a.MissingPublishableKeyErrorMessage))},throwMissingSecretKeyError(){throw new Error(s(a.MissingSecretKeyErrorMessage))},throwMissingClerkProviderError(l){throw new Error(s(a.MissingClerkProvider,l))},throw(l){throw new Error(s(l))}}}var Vy=Object.defineProperty,LD=Object.getOwnPropertyDescriptor,BD=Object.getOwnPropertyNames,PD=Object.prototype.hasOwnProperty,UD=(e,t)=>{for(var n in t)Vy(e,n,{get:t[n],enumerable:!0})},zD=(e,t,n,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of BD(t))!PD.call(e,s)&&s!==n&&Vy(e,s,{get:()=>t[s],enumerable:!(a=LD(t,s))||a.enumerable});return e},FD=(e,t,n)=>(zD(e,t,"default"),n),HD={strict_mfa:{afterMinutes:10,level:"multi_factor"},strict:{afterMinutes:10,level:"second_factor"},moderate:{afterMinutes:60,level:"second_factor"},lax:{afterMinutes:1440,level:"second_factor"}},qD=new Set(["first_factor","second_factor","multi_factor"]),YD=new Set(["strict_mfa","strict","moderate","lax"]),GD=e=>typeof e=="number"&&e>0,jD=e=>qD.has(e),VD=e=>YD.has(e),s1=e=>e.replace(/^(org:)*/,"org:"),KD=(e,t)=>{const{orgId:n,orgRole:a,orgPermissions:s}=t;return!e.role&&!e.permission||!n||!a||!s?null:e.permission?s.includes(s1(e.permission)):e.role?s1(a)===s1(e.role):null},Q3=(e,t)=>{const{org:n,user:a}=XD(e),[s,l]=t.split(":"),o=l||s;return s==="org"?n.includes(o):s==="user"?a.includes(o):[...n,...a].includes(o)},$D=(e,t)=>{const{features:n,plans:a}=t;return e.feature&&n?Q3(n,e.feature):e.plan&&a?Q3(a,e.plan):null},XD=e=>{const t=e?e.split(",").map(n=>n.trim()):[];return{org:t.filter(n=>n.split(":")[0].includes("o")).map(n=>n.split(":")[1]),user:t.filter(n=>n.split(":")[0].includes("u")).map(n=>n.split(":")[1])}},WD=e=>{if(!e)return!1;const t=s=>typeof s=="string"?HD[s]:s,n=typeof e=="string"&&VD(e),a=typeof e=="object"&&jD(e.level)&&GD(e.afterMinutes);return n||a?t.bind(null,e):!1},QD=(e,{factorVerificationAge:t})=>{if(!e.reverification||!t)return null;const n=WD(e.reverification);if(!n)return null;const{level:a,afterMinutes:s}=n(),[l,o]=t,d=l!==-1?s>l:null,f=o!==-1?s>o:null;switch(a){case"first_factor":return d;case"second_factor":return o!==-1?f:d;case"multi_factor":return o===-1?d:d&&f}},ZD=e=>t=>{if(!e.userId)return!1;const n=$D(t,e),a=KD(t,e),s=QD(t,e);return[n||a,s].some(l=>l===null)?[n||a,s].some(l=>l===!0):[n||a,s].every(l=>l===!0)},JD=({authObject:{sessionId:e,sessionStatus:t,userId:n,actor:a,orgId:s,orgRole:l,orgSlug:o,signOut:d,getToken:f,has:h,sessionClaims:p},options:{treatPendingAsSignedOut:b=!0}})=>{if(e===void 0&&n===void 0)return{isLoaded:!1,isSignedIn:void 0,sessionId:e,sessionClaims:void 0,userId:n,actor:void 0,orgId:void 0,orgRole:void 0,orgSlug:void 0,has:void 0,signOut:d,getToken:f};if(e===null&&n===null)return{isLoaded:!0,isSignedIn:!1,sessionId:e,userId:n,sessionClaims:null,actor:null,orgId:null,orgRole:null,orgSlug:null,has:()=>!1,signOut:d,getToken:f};if(b&&t==="pending")return{isLoaded:!0,isSignedIn:!1,sessionId:null,userId:null,sessionClaims:null,actor:null,orgId:null,orgRole:null,orgSlug:null,has:()=>!1,signOut:d,getToken:f};if(e&&p&&n&&s&&l)return{isLoaded:!0,isSignedIn:!0,sessionId:e,sessionClaims:p,userId:n,actor:a||null,orgId:s,orgRole:l,orgSlug:o||null,has:h,signOut:d,getToken:f};if(e&&p&&n&&!s)return{isLoaded:!0,isSignedIn:!0,sessionId:e,sessionClaims:p,userId:n,actor:a||null,orgId:null,orgRole:null,orgSlug:null,has:h,signOut:d,getToken:f}},Ky=e=>typeof atob<"u"&&typeof atob=="function"?atob(e):typeof global<"u"&&global.Buffer?new global.Buffer(e,"base64").toString():e,eI=[".lcl.dev",".stg.dev",".lclstage.dev",".stgstage.dev",".dev.lclclerk.com",".stg.lclclerk.com",".accounts.lclclerk.com","accountsstage.dev","accounts.dev"],$y="pk_live_",tI="pk_test_";function Z3(e,t={}){if(e=e||"",!e||!Q1(e)){if(t.fatal&&!e)throw new Error("Publishable key is missing. Ensure that your publishable key is correctly configured. Double-check your environment configuration for your keys, or access them here: https://dashboard.clerk.com/last-active?path=api-keys");if(t.fatal&&!Q1(e))throw new Error("Publishable key not valid.");return null}const n=e.startsWith($y)?"production":"development";let a=Ky(e.split("_")[2]);return a=a.slice(0,-1),t.proxyUrl?a=t.proxyUrl:n!=="development"&&t.domain&&t.isSatellite&&(a=`clerk.${t.domain}`),{instanceType:n,frontendApi:a}}function Q1(e=""){try{const t=e.startsWith($y)||e.startsWith(tI),n=Ky(e.split("_")[2]||"").endsWith("$");return t&&n}catch{return!1}}function nI(){const e=new Map;return{isDevOrStagingUrl:t=>{if(!t)return!1;const n=typeof t=="string"?t:t.hostname;let a=e.get(n);return a===void 0&&(a=eI.some(s=>n.endsWith(s)),e.set(n,a)),a}}}var rI="METHOD_CALLED";function aI(e,t){return{event:rI,payload:{method:e,...t}}}var l1={exports:{}},u1={};/**
349
- * @license React
350
- * use-sync-external-store-shim.production.js
351
- *
352
- * Copyright (c) Meta Platforms, Inc. and affiliates.
353
- *
354
- * This source code is licensed under the MIT license found in the
355
- * LICENSE file in the root directory of this source tree.
356
- */var J3;function iI(){if(J3)return u1;J3=1;var e=G0();function t(b,T){return b===T&&(b!==0||1/b===1/T)||b!==b&&T!==T}var n=typeof Object.is=="function"?Object.is:t,a=e.useState,s=e.useEffect,l=e.useLayoutEffect,o=e.useDebugValue;function d(b,T){var v=T(),A=a({inst:{value:v,getSnapshot:T}}),k=A[0].inst,R=A[1];return l(function(){k.value=v,k.getSnapshot=T,f(k)&&R({inst:k})},[b,v,T]),s(function(){return f(k)&&R({inst:k}),b(function(){f(k)&&R({inst:k})})},[b]),o(v),v}function f(b){var T=b.getSnapshot;b=b.value;try{var v=T();return!n(b,v)}catch{return!0}}function h(b,T){return T()}var p=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?h:d;return u1.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:p,u1}var e6;function sI(){return e6||(e6=1,l1.exports=iI()),l1.exports}var Xy=sI();const Wy=0,Qy=1,Zy=2,t6=3;var n6=Object.prototype.hasOwnProperty;function Z1(e,t){var n,a;if(e===t)return!0;if(e&&t&&(n=e.constructor)===t.constructor){if(n===Date)return e.getTime()===t.getTime();if(n===RegExp)return e.toString()===t.toString();if(n===Array){if((a=e.length)===t.length)for(;a--&&Z1(e[a],t[a]););return a===-1}if(!n||typeof e=="object"){a=0;for(n in e)if(n6.call(e,n)&&++a&&!n6.call(t,n)||!(n in t)||!Z1(e[n],t[n]))return!1;return Object.keys(t).length===a}}return e!==e&&t!==t}const ha=new WeakMap,Qi=()=>{},Ln=Qi(),F0=Object,vt=e=>e===Ln,Zr=e=>typeof e=="function",oi=(e,t)=>({...e,...t}),Jy=e=>Zr(e.then),o1={},f0={},lp="undefined",Ro=typeof window!=lp,J1=typeof document!=lp,lI=Ro&&"Deno"in window,uI=()=>Ro&&typeof window.requestAnimationFrame!=lp,Ki=(e,t)=>{const n=ha.get(e);return[()=>!vt(t)&&e.get(t)||o1,a=>{if(!vt(t)){const s=e.get(t);t in f0||(f0[t]=s),n[5](t,oi(s,a),s||o1)}},n[6],()=>!vt(t)&&t in f0?f0[t]:!vt(t)&&e.get(t)||o1]};let em=!0;const oI=()=>em,[tm,nm]=Ro&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[Qi,Qi],cI=()=>{const e=J1&&document.visibilityState;return vt(e)||e!=="hidden"},dI=e=>(J1&&document.addEventListener("visibilitychange",e),tm("focus",e),()=>{J1&&document.removeEventListener("visibilitychange",e),nm("focus",e)}),fI=e=>{const t=()=>{em=!0,e()},n=()=>{em=!1};return tm("online",t),tm("offline",n),()=>{nm("online",t),nm("offline",n)}},hI={isOnline:oI,isVisible:cI},mI={initFocus:dI,initReconnect:fI},r6=!be.useId,vo=!Ro||lI,pI=e=>uI()?window.requestAnimationFrame(e):setTimeout(e,1),co=vo?Me.useEffect:Me.useLayoutEffect,c1=typeof navigator<"u"&&navigator.connection,a6=!vo&&c1&&(["slow-2g","2g"].includes(c1.effectiveType)||c1.saveData),h0=new WeakMap,d1=(e,t)=>F0.prototype.toString.call(e)===`[object ${t}]`;let gI=0;const rm=e=>{const t=typeof e,n=d1(e,"Date"),a=d1(e,"RegExp"),s=d1(e,"Object");let l,o;if(F0(e)===e&&!n&&!a){if(l=h0.get(e),l)return l;if(l=++gI+"~",h0.set(e,l),Array.isArray(e)){for(l="@",o=0;o<e.length;o++)l+=rm(e[o])+",";h0.set(e,l)}if(s){l="#";const d=F0.keys(e).sort();for(;!vt(o=d.pop());)vt(e[o])||(l+=o+":"+rm(e[o])+",");h0.set(e,l)}}else l=n?e.toJSON():t=="symbol"?e.toString():t=="string"?JSON.stringify(e):""+e;return l},Dl=e=>{if(Zr(e))try{e=e()}catch{e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?rm(e):"",[e,t]};let bI=0;const am=()=>++bI;async function e7(...e){const[t,n,a,s]=e,l=oi({populateCache:!0,throwOnError:!0},typeof s=="boolean"?{revalidate:s}:s||{});let o=l.populateCache;const d=l.rollbackOnError;let f=l.optimisticData;const h=T=>typeof d=="function"?d(T):d!==!1,p=l.throwOnError;if(Zr(n)){const T=n,v=[],A=t.keys();for(const k of A)!/^\$(inf|sub)\$/.test(k)&&T(t.get(k)._k)&&v.push(k);return Promise.all(v.map(b))}return b(n);async function b(T){const[v]=Dl(T);if(!v)return;const[A,k]=Ki(t,v),[R,C,D,U]=ha.get(t),J=()=>{const pe=R[v];return(Zr(l.revalidate)?l.revalidate(A().data,T):l.revalidate!==!1)&&(delete D[v],delete U[v],pe&&pe[0])?pe[0](Zy).then(()=>A().data):A().data};if(e.length<3)return J();let j=a,B;const Q=am();C[v]=[Q,0];const te=!vt(f),ae=A(),Y=ae.data,Z=ae._c,ee=vt(Z)?Y:Z;if(te&&(f=Zr(f)?f(ee,Y):f,k({data:f,_c:ee})),Zr(j))try{j=j(ee)}catch(pe){B=pe}if(j&&Jy(j))if(j=await j.catch(pe=>{B=pe}),Q!==C[v][0]){if(B)throw B;return j}else B&&te&&h(B)&&(o=!0,k({data:ee,_c:Ln}));if(o&&!B)if(Zr(o)){const pe=o(j,ee);k({data:pe,error:Ln,_c:Ln})}else k({data:j,error:Ln,_c:Ln});if(C[v][1]=am(),Promise.resolve(J()).then(()=>{k({_c:Ln})}),B){if(p)throw B;return}return j}}const i6=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},t7=(e,t)=>{if(!ha.has(e)){const n=oi(mI,t),a=Object.create(null),s=e7.bind(Ln,e);let l=Qi;const o=Object.create(null),d=(p,b)=>{const T=o[p]||[];return o[p]=T,T.push(b),()=>T.splice(T.indexOf(b),1)},f=(p,b,T)=>{e.set(p,b);const v=o[p];if(v)for(const A of v)A(b,T)},h=()=>{if(!ha.has(e)&&(ha.set(e,[a,Object.create(null),Object.create(null),Object.create(null),s,f,d]),!vo)){const p=n.initFocus(setTimeout.bind(Ln,i6.bind(Ln,a,Wy))),b=n.initReconnect(setTimeout.bind(Ln,i6.bind(Ln,a,Qy)));l=()=>{p&&p(),b&&b(),ha.delete(e)}}};return h(),[e,s,h,l]}return[e,ha.get(e)[4]]},EI=(e,t,n,a,s)=>{const l=n.errorRetryCount,o=s.retryCount,d=~~((Math.random()+.5)*(1<<(o<8?o:8)))*n.errorRetryInterval;!vt(l)&&o>l||setTimeout(a,d,s)},yI=Z1,[Do,n7]=t7(new Map),r7=oi({onLoadingSlow:Qi,onSuccess:Qi,onError:Qi,onErrorRetry:EI,onDiscarded:Qi,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:a6?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:a6?5e3:3e3,compare:yI,isPaused:()=>!1,cache:Do,mutate:n7,fallback:{}},hI),a7=(e,t)=>{const n=oi(e,t);if(t){const{use:a,fallback:s}=e,{use:l,fallback:o}=t;a&&l&&(n.use=a.concat(l)),s&&o&&(n.fallback=oi(s,o))}return n},im=Me.createContext({}),vI=e=>{const{value:t}=e,n=Me.useContext(im),a=Zr(t),s=Me.useMemo(()=>a?t(n):t,[a,n,t]),l=Me.useMemo(()=>a?s:a7(n,s),[a,n,s]),o=s&&s.provider,d=Me.useRef(Ln);o&&!d.current&&(d.current=t7(o(l.cache||Do),s));const f=d.current;return f&&(l.cache=f[0],l.mutate=f[1]),co(()=>{if(f)return f[2]&&f[2](),f[3]},[]),Me.createElement(im.Provider,oi(e,{value:l}))},i7="$inf$",s7=Ro&&window.__SWR_DEVTOOLS_USE__,TI=s7?window.__SWR_DEVTOOLS_USE__:[],_I=()=>{s7&&(window.__SWR_DEVTOOLS_REACT__=be)},l7=e=>Zr(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}],u7=()=>oi(r7,Me.useContext(im)),SI=(e,t)=>{const[n,a]=Dl(e),[,,,s]=ha.get(Do);if(s[n])return s[n];const l=t(a);return s[n]=l,l},xI=e=>(t,n,a)=>e(t,n&&((...l)=>{const[o]=Dl(t),[,,,d]=ha.get(Do);if(o.startsWith(i7))return n(...l);const f=d[o];return vt(f)?n(...l):(delete d[o],f)}),a),AI=TI.concat(xI),wI=e=>function(...n){const a=u7(),[s,l,o]=l7(n),d=a7(a,o);let f=e;const{use:h}=d,p=(h||[]).concat(AI);for(let b=p.length;b--;)f=p[b](f);return f(s,l||d.fetcher||null,d)},kI=(e,t,n)=>{const a=t[e]||(t[e]=[]);return a.push(n),()=>{const s=a.indexOf(n);s>=0&&(a[s]=a[a.length-1],a.pop())}},CI=(e,t)=>(...n)=>{const[a,s,l]=l7(n),o=(l.use||[]).concat(t);return e(a,s,{...l,use:o})};_I();const NI=()=>{},OI=NI(),sm=Object,s6=e=>e===OI,MI=e=>typeof e=="function",m0=new WeakMap,f1=(e,t)=>sm.prototype.toString.call(e)===`[object ${t}]`;let RI=0;const lm=e=>{const t=typeof e,n=f1(e,"Date"),a=f1(e,"RegExp"),s=f1(e,"Object");let l,o;if(sm(e)===e&&!n&&!a){if(l=m0.get(e),l)return l;if(l=++RI+"~",m0.set(e,l),Array.isArray(e)){for(l="@",o=0;o<e.length;o++)l+=lm(e[o])+",";m0.set(e,l)}if(s){l="#";const d=sm.keys(e).sort();for(;!s6(o=d.pop());)s6(e[o])||(l+=o+":"+lm(e[o])+",");m0.set(e,l)}}else l=n?e.toJSON():t=="symbol"?e.toString():t=="string"?JSON.stringify(e):""+e;return l},DI=e=>{if(MI(e))try{e=e()}catch{e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?lm(e):"",[e,t]},II=e=>DI(e)[0],h1=be.use||(e=>{switch(e.status){case"pending":throw e;case"fulfilled":return e.value;case"rejected":throw e.reason;default:throw e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e}}),m1={dedupe:!0},LI=(e,t,n)=>{const{cache:a,compare:s,suspense:l,fallbackData:o,revalidateOnMount:d,revalidateIfStale:f,refreshInterval:h,refreshWhenHidden:p,refreshWhenOffline:b,keepPreviousData:T}=n,[v,A,k,R]=ha.get(a),[C,D]=Dl(e),U=Me.useRef(!1),J=Me.useRef(!1),j=Me.useRef(C),B=Me.useRef(t),Q=Me.useRef(n),te=()=>Q.current,ae=()=>te().isVisible()&&te().isOnline(),[Y,Z,ee,pe]=Ki(a,C),ue=Me.useRef({}).current,me=vt(o)?vt(n.fallback)?Ln:n.fallback[C]:o,$=(Ke,Ve)=>{for(const ot in ue){const We=ot;if(We==="data"){if(!s(Ke[We],Ve[We])&&(!vt(Ke[We])||!s(qe,Ve[We])))return!1}else if(Ve[We]!==Ke[We])return!1}return!0},fe=Me.useMemo(()=>{const Ke=!C||!t?!1:vt(d)?te().isPaused()||l?!1:f!==!1:d,Ve=en=>{const Pn=oi(en);return delete Pn._k,Ke?{isValidating:!0,isLoading:!0,...Pn}:Pn},ot=Y(),We=pe(),Ot=Ve(ot),ln=ot===We?Ot:Ve(We);let Dt=Ot;return[()=>{const en=Ve(Y());return $(en,Dt)?(Dt.data=en.data,Dt.isLoading=en.isLoading,Dt.isValidating=en.isValidating,Dt.error=en.error,Dt):(Dt=en,en)},()=>ln]},[a,C]),Ee=Xy.useSyncExternalStore(Me.useCallback(Ke=>ee(C,(Ve,ot)=>{$(ot,Ve)||Ke()}),[a,C]),fe[0],fe[1]),He=!U.current,x=v[C]&&v[C].length>0,X=Ee.data,ce=vt(X)?me&&Jy(me)?h1(me):me:X,M=Ee.error,De=Me.useRef(ce),qe=T?vt(X)?vt(De.current)?ce:De.current:X:ce,Re=x&&!vt(M)?!1:He&&!vt(d)?d:te().isPaused()?!1:l?vt(ce)?!1:f:vt(ce)||f,Tt=!!(C&&t&&He&&Re),nt=vt(Ee.isValidating)?Tt:Ee.isValidating,st=vt(Ee.isLoading)?Tt:Ee.isLoading,Ye=Me.useCallback(async Ke=>{const Ve=B.current;if(!C||!Ve||J.current||te().isPaused())return!1;let ot,We,Ot=!0;const ln=Ke||{},Dt=!k[C]||!ln.dedupe,en=()=>r6?!J.current&&C===j.current&&U.current:C===j.current,Pn={isValidating:!1,isLoading:!1},fi=()=>{Z(Pn)},ga=()=>{const Rn=k[C];Rn&&Rn[1]===We&&delete k[C]},fr={isValidating:!0};vt(Y().data)&&(fr.isLoading=!0);try{if(Dt&&(Z(fr),n.loadingTimeout&&vt(Y().data)&&setTimeout(()=>{Ot&&en()&&te().onLoadingSlow(C,n)},n.loadingTimeout),k[C]=[Ve(D),am()]),[ot,We]=k[C],ot=await ot,Dt&&setTimeout(ga,n.dedupingInterval),!k[C]||k[C][1]!==We)return Dt&&en()&&te().onDiscarded(C),!1;Pn.error=Ln;const Rn=A[C];if(!vt(Rn)&&(We<=Rn[0]||We<=Rn[1]||Rn[1]===0))return fi(),Dt&&en()&&te().onDiscarded(C),!1;const de=Y().data;Pn.data=s(de,ot)?de:ot,Dt&&en()&&te().onSuccess(ot,C,n)}catch(Rn){ga();const de=te(),{shouldRetryOnError:Se}=de;de.isPaused()||(Pn.error=Rn,Dt&&en()&&(de.onError(Rn,C,de),(Se===!0||Zr(Se)&&Se(Rn))&&(!te().revalidateOnFocus||!te().revalidateOnReconnect||ae())&&de.onErrorRetry(Rn,C,de,Qe=>{const et=v[C];et&&et[0]&&et[0](t6,Qe)},{retryCount:(ln.retryCount||0)+1,dedupe:!0})))}return Ot=!1,fi(),!0},[C,a]),wt=Me.useCallback((...Ke)=>e7(a,j.current,...Ke),[]);if(co(()=>{B.current=t,Q.current=n,vt(X)||(De.current=X)}),co(()=>{if(!C)return;const Ke=Ye.bind(Ln,m1);let Ve=0;te().revalidateOnFocus&&(Ve=Date.now()+te().focusThrottleInterval);const We=kI(C,v,(Ot,ln={})=>{if(Ot==Wy){const Dt=Date.now();te().revalidateOnFocus&&Dt>Ve&&ae()&&(Ve=Dt+te().focusThrottleInterval,Ke())}else if(Ot==Qy)te().revalidateOnReconnect&&ae()&&Ke();else{if(Ot==Zy)return Ye();if(Ot==t6)return Ye(ln)}});return J.current=!1,j.current=C,U.current=!0,Z({_k:D}),Re&&(vt(ce)||vo?Ke():pI(Ke)),()=>{J.current=!0,We()}},[C]),co(()=>{let Ke;function Ve(){const We=Zr(h)?h(Y().data):h;We&&Ke!==-1&&(Ke=setTimeout(ot,We))}function ot(){!Y().error&&(p||te().isVisible())&&(b||te().isOnline())?Ye(m1).then(Ve):Ve()}return Ve(),()=>{Ke&&(clearTimeout(Ke),Ke=-1)}},[h,p,b,C]),Me.useDebugValue(qe),l&&vt(ce)&&C){if(!r6&&vo)throw new Error("Fallback data is required when using Suspense in SSR.");B.current=t,Q.current=n,J.current=!1;const Ke=R[C];if(!vt(Ke)){const Ve=wt(Ke);h1(Ve)}if(vt(M)){const Ve=Ye(m1);vt(qe)||(Ve.status="fulfilled",Ve.value=!0),h1(Ve)}else throw M}return{mutate:wt,get data(){return ue.data=!0,qe},get error(){return ue.error=!0,M},get isValidating(){return ue.isValidating=!0,nt},get isLoading(){return ue.isLoading=!0,st}}},BI=F0.defineProperty(vI,"defaultValue",{value:r7}),up=wI(LI),PI=Object.freeze(Object.defineProperty({__proto__:null,SWRConfig:BI,default:up,mutate:n7,preload:SI,unstable_serialize:II,useSWRConfig:u7},Symbol.toStringTag,{value:"Module"})),UI=()=>{},zI=UI(),um=Object,l6=e=>e===zI,FI=e=>typeof e=="function",p0=new WeakMap,p1=(e,t)=>um.prototype.toString.call(e)===`[object ${t}]`;let HI=0;const om=e=>{const t=typeof e,n=p1(e,"Date"),a=p1(e,"RegExp"),s=p1(e,"Object");let l,o;if(um(e)===e&&!n&&!a){if(l=p0.get(e),l)return l;if(l=++HI+"~",p0.set(e,l),Array.isArray(e)){for(l="@",o=0;o<e.length;o++)l+=om(e[o])+",";p0.set(e,l)}if(s){l="#";const d=um.keys(e).sort();for(;!l6(o=d.pop());)l6(e[o])||(l+=o+":"+om(e[o])+",");p0.set(e,l)}}else l=n?e.toJSON():t=="symbol"?e.toString():t=="string"?JSON.stringify(e):""+e;return l},qI=e=>{if(FI(e))try{e=e()}catch{e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?om(e):"",[e,t]},YI=e=>qI(e?e(0,null):null)[0],g1=Promise.resolve(),GI=e=>(t,n,a)=>{const s=Me.useRef(!1),{cache:l,initialSize:o=1,revalidateAll:d=!1,persistSize:f=!1,revalidateFirstPage:h=!0,revalidateOnMount:p=!1,parallel:b=!1}=a,[,,,T]=ha.get(Do);let v;try{v=YI(t),v&&(v=i7+v)}catch{}const[A,k,R]=Ki(l,v),C=Me.useCallback(()=>vt(A()._l)?o:A()._l,[l,v,o]);Xy.useSyncExternalStore(Me.useCallback(te=>v?R(v,()=>{te()}):()=>{},[l,v]),C,C);const D=Me.useCallback(()=>{const te=A()._l;return vt(te)?o:te},[v,o]),U=Me.useRef(D());co(()=>{if(!s.current){s.current=!0;return}v&&k({_l:f?U.current:D()})},[v,l]);const J=p&&!s.current,j=e(v,async te=>{const ae=A()._i,Y=A()._r;k({_r:Ln});const Z=[],ee=D(),[pe]=Ki(l,te),ue=pe().data,me=[];let $=null;for(let fe=0;fe<ee;++fe){const[Ee,He]=Dl(t(fe,b?null:$));if(!Ee)break;const[x,X]=Ki(l,Ee);let ce=x().data;const M=d||ae||vt(ce)||h&&!fe&&!vt(ue)||J||ue&&!vt(ue[fe])&&!a.compare(ue[fe],ce);if(n&&(typeof Y=="function"?Y(ce,He):M)){const De=async()=>{if(!(Ee in T))ce=await n(He);else{const Re=T[Ee];delete T[Ee],ce=await Re}X({data:ce,_k:He}),Z[fe]=ce};b?me.push(De):await De()}else Z[fe]=ce;b||($=ce)}return b&&await Promise.all(me.map(fe=>fe())),k({_i:Ln}),Z},a),B=Me.useCallback(function(te,ae){const Y=typeof ae=="boolean"?{revalidate:ae}:ae||{},Z=Y.revalidate!==!1;return v?(Z&&(vt(te)?k({_i:!0,_r:Y.revalidate}):k({_i:!1,_r:Y.revalidate})),arguments.length?j.mutate(te,{...Y,revalidate:Z}):j.mutate()):g1},[v,l]),Q=Me.useCallback(te=>{if(!v)return g1;const[,ae]=Ki(l,v);let Y;if(Zr(te)?Y=te(D()):typeof te=="number"&&(Y=te),typeof Y!="number")return g1;ae({_l:Y}),U.current=Y;const Z=[],[ee]=Ki(l,v);let pe=null;for(let ue=0;ue<Y;++ue){const[me]=Dl(t(ue,pe)),[$]=Ki(l,me),fe=me?$().data:Ln;if(vt(fe))return B(ee().data);Z.push(fe),pe=fe}return B(Z)},[v,l,B,D]);return{size:D(),setSize:Q,mutate:B,get data(){return j.data},get error(){return j.error},get isValidating(){return j.isValidating},get isLoading(){return j.isLoading}}},jI=CI(up,GI);var u6=Object.prototype.hasOwnProperty;function o6(e,t,n){for(n of e.keys())if(fo(n,t))return n}function fo(e,t){var n,a,s;if(e===t)return!0;if(e&&t&&(n=e.constructor)===t.constructor){if(n===Date)return e.getTime()===t.getTime();if(n===RegExp)return e.toString()===t.toString();if(n===Array){if((a=e.length)===t.length)for(;a--&&fo(e[a],t[a]););return a===-1}if(n===Set){if(e.size!==t.size)return!1;for(a of e)if(s=a,s&&typeof s=="object"&&(s=o6(t,s),!s)||!t.has(s))return!1;return!0}if(n===Map){if(e.size!==t.size)return!1;for(a of e)if(s=a[0],s&&typeof s=="object"&&(s=o6(t,s),!s)||!fo(a[1],t.get(s)))return!1;return!0}if(n===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(n===DataView){if((a=e.byteLength)===t.byteLength)for(;a--&&e.getInt8(a)===t.getInt8(a););return a===-1}if(ArrayBuffer.isView(e)){if((a=e.byteLength)===t.byteLength)for(;a--&&e[a]===t[a];);return a===-1}if(!n||typeof e=="object"){a=0;for(n in e)if(u6.call(e,n)&&++a&&!u6.call(t,n)||!(n in t)||!fo(e[n],t[n]))return!1;return Object.keys(t).length===a}}return e!==e&&t!==t}function VI(e,t){if(!e)throw typeof t=="string"?new Error(t):new Error(`${t.displayName} not found`)}var Gl=(e,t)=>{const{assertCtxFn:n=VI}={},a=be.createContext(void 0);return a.displayName=e,[a,()=>{const o=be.useContext(a);return n(o,`${e} not found`),o.value},()=>{const o=be.useContext(a);return o?o.value:{}}]},op={};UD(op,{useSWR:()=>up,useSWRInfinite:()=>jI});FD(op,PI);var[o7,c7]=Gl("ClerkInstanceContext"),[KI,GB]=Gl("UserContext"),[$I,jB]=Gl("ClientContext"),[XI,VB]=Gl("SessionContext");be.createContext({});var[WI,KB]=Gl("OrganizationContext"),QI=({children:e,organization:t,swrConfig:n})=>be.createElement(op.SWRConfig,{value:n},be.createElement(WI.Provider,{value:{value:{organization:t}}},e));function d7(e){if(!be.useContext(o7)){if(typeof e=="function"){e();return}throw new Error(`${e} can only be used within the <ClerkProvider /> component.
357
-
358
- Possible fixes:
359
- 1. Ensure that the <ClerkProvider /> is correctly wrapping your application where this component is used.
360
- 2. Check for multiple versions of the \`@clerk/shared\` package in your project. Use a tool like \`npm ls @clerk/shared\` to identify multiple versions, and update your dependencies to only rely on one.
361
-
362
- Learn more: https://clerk.com/docs/components/clerk-provider`.trim())}}typeof window<"u"?be.useLayoutEffect:be.useEffect;var ZI=()=>(d7("useClerk"),c7()),c6=fo,JI=()=>{try{return!1}catch{}return!1},eL=()=>{try{return!1}catch{}return!1},tL=()=>{try{return!0}catch{}return!1},d6=new Set,cp=(e,t,n)=>{const a=eL()||tL(),s=e;d6.has(s)||a||(d6.add(s),console.warn(`Clerk - DEPRECATION WARNING: "${e}" is deprecated and will be removed in the next major release.
363
- ${t}`))},Oa=jy({packageName:"@clerk/clerk-react"});function nL(e){Oa.setMessages(e).setPackageName(e)}var[rL,aL]=Gl("AuthContext"),iL=o7,f7=c7,sL="You've added multiple <ClerkProvider> components in your React component tree. Wrap your components in a single <ClerkProvider>.",lL=e=>`You've passed multiple children components to <${e}/>. You can only pass a single child component or text.`,uL="Invalid state. Feel free to submit a bug or reach out to support here: https://clerk.com/support",b1="Unsupported usage of isSatellite, domain or proxyUrl. The usage of isSatellite, domain or proxyUrl as function is not supported in non-browser environments.",oL="<UserProfile.Page /> component needs to be a direct child of `<UserProfile />` or `<UserButton />`.",cL="<UserProfile.Link /> component needs to be a direct child of `<UserProfile />` or `<UserButton />`.",dL="<OrganizationProfile.Page /> component needs to be a direct child of `<OrganizationProfile />` or `<OrganizationSwitcher />`.",fL="<OrganizationProfile.Link /> component needs to be a direct child of `<OrganizationProfile />` or `<OrganizationSwitcher />`.",hL=e=>`<${e} /> can only accept <${e}.Page /> and <${e}.Link /> as its children. Any other provided component will be ignored. Additionally, please ensure that the component is rendered in a client component.`,mL=e=>`Missing props. <${e}.Page /> component requires the following props: url, label, labelIcon, alongside with children to be rendered inside the page.`,pL=e=>`Missing props. <${e}.Link /> component requires the following props: url, label and labelIcon.`,gL="<UserButton /> can only accept <UserButton.UserProfilePage />, <UserButton.UserProfileLink /> and <UserButton.MenuItems /> as its children. Any other provided component will be ignored. Additionally, please ensure that the component is rendered in a client component.",bL="<UserButton.MenuItems /> component can only accept <UserButton.Action /> and <UserButton.Link /> as its children. Any other provided component will be ignored. Additionally, please ensure that the component is rendered in a client component.",EL="<UserButton.MenuItems /> component needs to be a direct child of `<UserButton />`.",yL="<UserButton.Action /> component needs to be a direct child of `<UserButton.MenuItems />`.",vL="<UserButton.Link /> component needs to be a direct child of `<UserButton.MenuItems />`.",TL="Missing props. <UserButton.Link /> component requires the following props: href, label and labelIcon.",_L="Missing props. <UserButton.Action /> component requires the following props: label.",ud=e=>{d7(()=>{Oa.throwMissingClerkProviderError({source:e})})},h7=e=>new Promise(t=>{const n=a=>{["ready","degraded"].includes(a)&&(t(),e.off("status",n))};e.on("status",n,{notify:!0})}),SL=e=>async t=>(await h7(e),e.session?e.session.getToken(t):null),xL=e=>async(...t)=>(await h7(e),e.signOut(...t)),dp=(e={})=>{var t,n;ud("useAuth");const{treatPendingAsSignedOut:a,...s}=e??{},l=s;let d=aL();d.sessionId===void 0&&d.userId===void 0&&(d=l??{});const f=f7(),h=Me.useCallback(SL(f),[f]),p=Me.useCallback(xL(f),[f]);return(t=f.telemetry)==null||t.record(aI("useAuth",{treatPendingAsSignedOut:a})),AL({...d,getToken:h,signOut:p},{treatPendingAsSignedOut:a??((n=f.__internal_getOption)==null?void 0:n.call(f,"treatPendingAsSignedOut"))})};function AL(e,{treatPendingAsSignedOut:t=!0}={}){const{userId:n,orgId:a,orgRole:s,has:l,signOut:o,getToken:d,orgPermissions:f,factorVerificationAge:h,sessionClaims:p}=e??{},b=Me.useCallback(v=>l?l(v):ZD({userId:n,orgId:a,orgRole:s,orgPermissions:f,factorVerificationAge:h,features:(p==null?void 0:p.fea)||"",plans:(p==null?void 0:p.pla)||""})(v),[l,n,a,s,f,h]),T=JD({authObject:{...e,getToken:d,signOut:o,has:b},options:{treatPendingAsSignedOut:t}});return T||Oa.throw(uL)}var yn=(e,t)=>{const a=(typeof t=="string"?t:t==null?void 0:t.component)||e.displayName||e.name||"Component";e.displayName=a;const s=typeof t=="string"?void 0:t,l=o=>{ud(a||"withClerk");const d=f7();return!d.loaded&&!(s!=null&&s.renderWhileLoading)?null:be.createElement(e,{...o,component:a,clerk:d})};return l.displayName=`withClerk(${a})`,l},wL=({children:e,treatPendingAsSignedOut:t})=>{ud("SignedIn");const{userId:n}=dp({treatPendingAsSignedOut:t});return n?e:null},kL=({children:e,treatPendingAsSignedOut:t})=>{ud("SignedOut");const{userId:n}=dp({treatPendingAsSignedOut:t});return n===null?e:null},CL=yn(({clerk:e,...t})=>{const{client:n,session:a}=e,s=n.signedInSessions?n.signedInSessions.length>0:n.activeSessions&&n.activeSessions.length>0;return be.useEffect(()=>{a===null&&s?e.redirectToAfterSignOut():e.redirectToSignIn(t)},[]),null},"RedirectToSignIn");yn(({clerk:e,...t})=>(be.useEffect(()=>{e.redirectToSignUp(t)},[]),null),"RedirectToSignUp");yn(({clerk:e})=>(be.useEffect(()=>{cp("RedirectToUserProfile","Use the `redirectToUserProfile()` method instead."),e.redirectToUserProfile()},[]),null),"RedirectToUserProfile");yn(({clerk:e})=>(be.useEffect(()=>{cp("RedirectToOrganizationProfile","Use the `redirectToOrganizationProfile()` method instead."),e.redirectToOrganizationProfile()},[]),null),"RedirectToOrganizationProfile");yn(({clerk:e})=>(be.useEffect(()=>{cp("RedirectToCreateOrganization","Use the `redirectToCreateOrganization()` method instead."),e.redirectToCreateOrganization()},[]),null),"RedirectToCreateOrganization");yn(({clerk:e,...t})=>(be.useEffect(()=>{e.handleRedirectCallback(t)},[]),null),"AuthenticateWithRedirectCallback");var m7=e=>{throw TypeError(e)},fp=(e,t,n)=>t.has(e)||m7("Cannot "+n),fn=(e,t,n)=>(fp(e,t,"read from private field"),n?n.call(e):t.get(e)),Os=(e,t,n)=>t.has(e)?m7("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),yl=(e,t,n,a)=>(fp(e,t,"write to private field"),t.set(e,n),n),f6=(e,t,n)=>(fp(e,t,"access private method"),n),NL=(e,t="5.69.0")=>{if(e)return e;const n=OL(t);return n?n==="snapshot"?"5.69.0":n:ML(t)},OL=e=>{var t;return(t=e.trim().replace(/^v/,"").match(/-(.+?)(\.|$)/))==null?void 0:t[1]},ML=e=>e.trim().replace(/^v/,"").split(".")[0];function RL(e){return e?DL(e)||p7(e):!0}function DL(e){return/^http(s)?:\/\//.test(e||"")}function p7(e){return e.startsWith("/")}function IL(e){return e?p7(e)?new URL(e,window.location.origin).toString():e:""}function LL(e){if(!e)return"";let t;if(e.match(/^(clerk\.)+\w*$/))t=/(clerk\.)*(?=clerk\.)/;else{if(e.match(/\.clerk.accounts/))return e;t=/^(clerk\.)*/gi}return`clerk.${e.replace(t,"")}`}var BL={initialDelay:125,maxDelayBetweenRetries:0,factor:2,shouldRetry:(e,t)=>t<5,retryImmediately:!1,jitter:!0},PL=100,g7=async e=>new Promise(t=>setTimeout(t,e)),b7=(e,t)=>t?e*(1+Math.random()):e,UL=e=>{let t=0;const n=()=>{const a=e.initialDelay,s=e.factor;let l=a*Math.pow(s,t);return l=b7(l,e.jitter),Math.min(e.maxDelayBetweenRetries||l,l)};return async()=>{await g7(n()),t++}},zL=async(e,t={})=>{let n=0;const{shouldRetry:a,initialDelay:s,maxDelayBetweenRetries:l,factor:o,retryImmediately:d,jitter:f}={...BL,...t},h=UL({initialDelay:s,maxDelayBetweenRetries:l,factor:o,jitter:f});for(;;)try{return await e()}catch(p){if(n++,!a(p,n))throw p;d&&n===1?await g7(b7(PL,f)):await h()}},FL="loadScript cannot be called when document does not exist",HL="loadScript cannot be called without a src";async function qL(e="",t){const{async:n,defer:a,beforeLoad:s,crossOrigin:l,nonce:o}=t||{};return zL(()=>new Promise((f,h)=>{e||h(new Error(HL)),(!document||!document.body)&&h(FL);const p=document.createElement("script");l&&p.setAttribute("crossorigin",l),p.async=n||!1,p.defer=a||!1,p.addEventListener("load",()=>{p.remove(),f(p)}),p.addEventListener("error",()=>{p.remove(),h()}),p.src=e,p.nonce=o,s==null||s(p),document.body.appendChild(p)}),{shouldRetry:(f,h)=>h<=5})}var h6="Clerk: Failed to load Clerk",{isDevOrStagingUrl:YL}=nI(),E7=jy({packageName:"@clerk/shared"});function GL(e){E7.setPackageName({packageName:e})}var jL=async e=>{const t=document.querySelector("script[data-clerk-js-script]");if(t)return new Promise((n,a)=>{t.addEventListener("load",()=>{n(t)}),t.addEventListener("error",()=>{a(h6)})});if(!(e!=null&&e.publishableKey)){E7.throwMissingPublishableKeyError();return}return qL(VL(e),{async:!0,crossOrigin:"anonymous",nonce:e.nonce,beforeLoad:$L(e)}).catch(()=>{throw new Error(h6)})},VL=e=>{var p,b;const{clerkJSUrl:t,clerkJSVariant:n,clerkJSVersion:a,proxyUrl:s,domain:l,publishableKey:o}=e;if(t)return t;let d="";s&&RL(s)?d=IL(s).replace(/http(s)?:\/\//,""):l&&!YL(((p=Z3(o))==null?void 0:p.frontendApi)||"")?d=LL(l):d=((b=Z3(o))==null?void 0:b.frontendApi)||"";const f=n?`${n.replace(/\.+$/,"")}.`:"",h=NL(a);return`https://${d}/npm/@clerk/clerk-js@${h}/dist/clerk.${f}browser.js`},KL=e=>{const t={};return e.publishableKey&&(t["data-clerk-publishable-key"]=e.publishableKey),e.proxyUrl&&(t["data-clerk-proxy-url"]=e.proxyUrl),e.domain&&(t["data-clerk-domain"]=e.domain),e.nonce&&(t.nonce=e.nonce),t},$L=e=>t=>{const n=KL(e);for(const a in n)t.setAttribute(a,n[a])},or=e=>{JI()&&console.error(`Clerk: ${e}`)};function E1(e,t,n){if(typeof e=="function")return e(t);if(typeof e<"u")return e;if(typeof n<"u")return n}var XL=w6(),m6=(e,...t)=>{const n={...e};for(const a of t)delete n[a];return n},WL=(e,t,n)=>!e&&n?QL(n):ZL(t),QL=e=>{const t=e.userId,n=e.user,a=e.sessionId,s=e.sessionStatus,l=e.sessionClaims,o=e.session,d=e.organization,f=e.orgId,h=e.orgRole,p=e.orgPermissions,b=e.orgSlug,T=e.actor,v=e.factorVerificationAge;return{userId:t,user:n,sessionId:a,session:o,sessionStatus:s,sessionClaims:l,organization:d,orgId:f,orgRole:h,orgPermissions:p,orgSlug:b,actor:T,factorVerificationAge:v}},ZL=e=>{var k,R,C,D;const t=e.user?e.user.id:e.user,n=e.user,a=e.session?e.session.id:e.session,s=e.session,l=(k=e.session)==null?void 0:k.status,o=e.session?(C=(R=e.session.lastActiveToken)==null?void 0:R.jwt)==null?void 0:C.claims:null,d=e.session?e.session.factorVerificationAge:null,f=s==null?void 0:s.actor,h=e.organization,p=e.organization?e.organization.id:e.organization,b=h==null?void 0:h.slug,T=h&&((D=n==null?void 0:n.organizationMemberships)==null?void 0:D.find(U=>U.organization.id===p)),v=T&&T.permissions,A=T&&T.role;return{userId:t,user:n,sessionId:a,session:s,sessionStatus:l,sessionClaims:o,organization:h,orgId:p,orgRole:A,orgSlug:b,orgPermissions:v,actor:f,factorVerificationAge:d}};function p6(){return typeof window<"u"}var g6=(e,t,n,a,s)=>{const{notify:l}=s||{};let o=e.get(n);o||(o=[],e.set(n,o)),o.push(a),l&&t.has(n)&&a(t.get(n))},b6=(e,t,n)=>(e.get(t)||[]).map(a=>a(n)),E6=(e,t,n)=>{const a=e.get(t);a&&(n?a.splice(a.indexOf(n)>>>0,1):e.set(t,[]))},JL=()=>{const e=new Map,t=new Map,n=new Map;return{on:(...s)=>g6(e,t,...s),prioritizedOn:(...s)=>g6(n,t,...s),emit:(s,l)=>{t.set(s,l),b6(n,s,l),b6(e,s,l)},off:(...s)=>E6(e,...s),prioritizedOff:(...s)=>E6(n,...s),internal:{retrieveListeners:s=>e.get(s)||[]}}},g0={Status:"status"},eB=()=>JL();typeof window<"u"&&!window.global&&(window.global=typeof global>"u"?window:global);var od=e=>t=>{try{return be.Children.only(e)}catch{return Oa.throw(lL(t))}},cd=(e,t)=>(e||(e=t),typeof e=="string"&&(e=be.createElement("button",null,e)),e),dd=e=>(...t)=>{if(e&&typeof e=="function")return e(...t)};function tB(e){return typeof e=="function"}var b0=new Map;function nB(e,t,n=1){be.useEffect(()=>{const a=b0.get(e)||0;return a==n?Oa.throw(t):(b0.set(e,a+1),()=>{b0.set(e,(b0.get(e)||1)-1)})},[])}function rB(e,t,n){const a=e.displayName||e.name||t||"Component",s=l=>(nB(t,n),be.createElement(e,{...l}));return s.displayName=`withMaxAllowedInstancesGuard(${a})`,s}var ho=e=>{const t=Array(e.length).fill(null),[n,a]=Me.useState(t);return e.map((s,l)=>({id:s.id,mount:o=>a(d=>d.map((f,h)=>h===l?o:f)),unmount:()=>a(o=>o.map((d,f)=>f===l?null:d)),portal:()=>be.createElement(be.Fragment,null,n[l]?XL.createPortal(s.component,n[l]):null)}))},lr=(e,t)=>!!e&&be.isValidElement(e)&&(e==null?void 0:e.type)===t,y7=(e,t)=>_7({children:e,reorderItemsLabels:["account","security"],LinkComponent:Lo,PageComponent:Io,MenuItemsComponent:hd,componentName:"UserProfile"},t),v7=(e,t)=>_7({children:e,reorderItemsLabels:["general","members"],LinkComponent:pd,PageComponent:md,componentName:"OrganizationProfile"},t),T7=e=>{const t=[],n=[pd,md,hd,Io,Lo];return be.Children.forEach(e,a=>{n.some(s=>lr(a,s))||t.push(a)}),t},_7=(e,t)=>{const{children:n,LinkComponent:a,PageComponent:s,MenuItemsComponent:l,reorderItemsLabels:o,componentName:d}=e,{allowForAnyChildren:f=!1}=t||{},h=[];be.Children.forEach(n,D=>{if(!lr(D,s)&&!lr(D,a)&&!lr(D,l)){D&&!f&&or(hL(d));return}const{props:U}=D,{children:J,label:j,url:B,labelIcon:Q}=U;if(lr(D,s))if(y6(U,o))h.push({label:j});else if(y1(U))h.push({label:j,labelIcon:Q,children:J,url:B});else{or(mL(d));return}if(lr(D,a))if(v1(U))h.push({label:j,labelIcon:Q,url:B});else{or(pL(d));return}});const p=[],b=[],T=[];h.forEach((D,U)=>{if(y1(D)){p.push({component:D.children,id:U}),b.push({component:D.labelIcon,id:U});return}v1(D)&&T.push({component:D.labelIcon,id:U})});const v=ho(p),A=ho(b),k=ho(T),R=[],C=[];return h.forEach((D,U)=>{if(y6(D,o)){R.push({label:D.label});return}if(y1(D)){const{portal:J,mount:j,unmount:B}=v.find(Y=>Y.id===U),{portal:Q,mount:te,unmount:ae}=A.find(Y=>Y.id===U);R.push({label:D.label,url:D.url,mount:j,unmount:B,mountIcon:te,unmountIcon:ae}),C.push(J),C.push(Q);return}if(v1(D)){const{portal:J,mount:j,unmount:B}=k.find(Q=>Q.id===U);R.push({label:D.label,url:D.url,mountIcon:j,unmountIcon:B}),C.push(J);return}}),{customPages:R,customPagesPortals:C}},y6=(e,t)=>{const{children:n,label:a,url:s,labelIcon:l}=e;return!n&&!s&&!l&&t.some(o=>o===a)},y1=e=>{const{children:t,label:n,url:a,labelIcon:s}=e;return!!t&&!!a&&!!s&&!!n},v1=e=>{const{children:t,label:n,url:a,labelIcon:s}=e;return!t&&!!a&&!!s&&!!n},aB=e=>iB({children:e,reorderItemsLabels:["manageAccount","signOut"],MenuItemsComponent:hd,MenuActionComponent:x7,MenuLinkComponent:A7,UserProfileLinkComponent:Lo,UserProfilePageComponent:Io}),iB=({children:e,MenuItemsComponent:t,MenuActionComponent:n,MenuLinkComponent:a,UserProfileLinkComponent:s,UserProfilePageComponent:l,reorderItemsLabels:o})=>{const d=[],f=[],h=[];be.Children.forEach(e,A=>{if(!lr(A,t)&&!lr(A,s)&&!lr(A,l)){A&&or(gL);return}if(lr(A,s)||lr(A,l))return;const{props:k}=A;be.Children.forEach(k.children,R=>{if(!lr(R,n)&&!lr(R,a)){R&&or(bL);return}const{props:C}=R,{label:D,labelIcon:U,href:J,onClick:j,open:B}=C;if(lr(R,n))if(v6(C,o))d.push({label:D});else if(T1(C)){const Q={label:D,labelIcon:U};if(j!==void 0)d.push({...Q,onClick:j});else if(B!==void 0)d.push({...Q,open:B.startsWith("/")?B:`/${B}`});else{or("Custom menu item must have either onClick or open property");return}}else{or(_L);return}if(lr(R,a))if(_1(C))d.push({label:D,labelIcon:U,href:J});else{or(TL);return}})});const p=[],b=[];d.forEach((A,k)=>{T1(A)&&p.push({component:A.labelIcon,id:k}),_1(A)&&b.push({component:A.labelIcon,id:k})});const T=ho(p),v=ho(b);return d.forEach((A,k)=>{if(v6(A,o)&&f.push({label:A.label}),T1(A)){const{portal:R,mount:C,unmount:D}=T.find(J=>J.id===k),U={label:A.label,mountIcon:C,unmountIcon:D};"onClick"in A?U.onClick=A.onClick:"open"in A&&(U.open=A.open),f.push(U),h.push(R)}if(_1(A)){const{portal:R,mount:C,unmount:D}=v.find(U=>U.id===k);f.push({label:A.label,href:A.href,mountIcon:C,unmountIcon:D}),h.push(R)}}),{customMenuItems:f,customMenuItemsPortals:h}},v6=(e,t)=>{const{children:n,label:a,onClick:s,labelIcon:l}=e;return!n&&!s&&!l&&t.some(o=>o===a)},T1=e=>{const{label:t,labelIcon:n,onClick:a,open:s}=e;return!!n&&!!t&&(typeof a=="function"||typeof s=="string")},_1=e=>{const{label:t,href:n,labelIcon:a}=e;return!!n&&!!a&&!!t};function sB(e){const{root:t=document==null?void 0:document.body,selector:n,timeout:a=0}=e;return new Promise((s,l)=>{if(!t){l(new Error("No root element provided"));return}let o=t;if(n&&(o=t==null?void 0:t.querySelector(n)),(o==null?void 0:o.childElementCount)&&o.childElementCount>0){s();return}const f=new MutationObserver(h=>{for(const p of h)if(p.type==="childList"&&(!o&&n&&(o=t==null?void 0:t.querySelector(n)),o!=null&&o.childElementCount&&o.childElementCount>0)){f.disconnect(),s();return}});f.observe(t,{childList:!0,subtree:!0}),a>0&&setTimeout(()=>{f.disconnect(),l(new Error("Timeout waiting for element children"))},a)})}function aa(e){const t=Me.useRef(),[n,a]=Me.useState("rendering");return Me.useEffect(()=>{if(!e)throw new Error("Clerk: no component name provided, unable to detect mount.");typeof window<"u"&&!t.current&&(t.current=sB({selector:`[data-clerk-component="${e}"]`}).then(()=>{a("rendered")}).catch(()=>{a("error")}))},[e]),n}var E0=e=>"mount"in e,T6=e=>"open"in e,_6=e=>e==null?void 0:e.map(({mountIcon:t,unmountIcon:n,...a})=>a),xr=class extends be.PureComponent{constructor(){super(...arguments),this.rootRef=be.createRef()}componentDidUpdate(e){var t,n,a,s;if(!E0(e)||!E0(this.props))return;const l=m6(e.props,"customPages","customMenuItems","children"),o=m6(this.props.props,"customPages","customMenuItems","children"),d=((t=l.customPages)==null?void 0:t.length)!==((n=o.customPages)==null?void 0:n.length),f=((a=l.customMenuItems)==null?void 0:a.length)!==((s=o.customMenuItems)==null?void 0:s.length),h=_6(e.props.customMenuItems),p=_6(this.props.props.customMenuItems);(!c6(l,o)||!c6(h,p)||d||f)&&this.rootRef.current&&this.props.updateProps({node:this.rootRef.current,props:this.props.props})}componentDidMount(){this.rootRef.current&&(E0(this.props)&&this.props.mount(this.rootRef.current,this.props.props),T6(this.props)&&this.props.open(this.props.props))}componentWillUnmount(){this.rootRef.current&&(E0(this.props)&&this.props.unmount(this.rootRef.current),T6(this.props)&&this.props.close())}render(){const{hideRootHtmlElement:e=!1}=this.props,t={ref:this.rootRef,...this.props.rootProps,...this.props.component&&{"data-clerk-component":this.props.component}};return be.createElement(be.Fragment,null,!e&&be.createElement("div",{...t}),this.props.children)}},fd=e=>{var t,n;return be.createElement(be.Fragment,null,(t=e==null?void 0:e.customPagesPortals)==null?void 0:t.map((a,s)=>Me.createElement(a,{key:s})),(n=e==null?void 0:e.customMenuItemsPortals)==null?void 0:n.map((a,s)=>Me.createElement(a,{key:s})))};yn(({clerk:e,component:t,fallback:n,...a})=>{const l=aa(t)==="rendering"||!e.loaded,o={...l&&n&&{style:{display:"none"}}};return be.createElement(be.Fragment,null,l&&n,e.loaded&&be.createElement(xr,{component:t,mount:e.mountSignIn,unmount:e.unmountSignIn,updateProps:e.__unstable__updateProps,props:a,rootProps:o}))},{component:"SignIn",renderWhileLoading:!0});yn(({clerk:e,component:t,fallback:n,...a})=>{const l=aa(t)==="rendering"||!e.loaded,o={...l&&n&&{style:{display:"none"}}};return be.createElement(be.Fragment,null,l&&n,e.loaded&&be.createElement(xr,{component:t,mount:e.mountSignUp,unmount:e.unmountSignUp,updateProps:e.__unstable__updateProps,props:a,rootProps:o}))},{component:"SignUp",renderWhileLoading:!0});function Io({children:e}){return or(oL),be.createElement(be.Fragment,null,e)}function Lo({children:e}){return or(cL),be.createElement(be.Fragment,null,e)}var lB=yn(({clerk:e,component:t,fallback:n,...a})=>{const l=aa(t)==="rendering"||!e.loaded,o={...l&&n&&{style:{display:"none"}}},{customPages:d,customPagesPortals:f}=y7(a.children);return be.createElement(be.Fragment,null,l&&n,be.createElement(xr,{component:t,mount:e.mountUserProfile,unmount:e.unmountUserProfile,updateProps:e.__unstable__updateProps,props:{...a,customPages:d},rootProps:o},be.createElement(fd,{customPagesPortals:f})))},{component:"UserProfile",renderWhileLoading:!0});Object.assign(lB,{Page:Io,Link:Lo});var S7=Me.createContext({mount:()=>{},unmount:()=>{},updateProps:()=>{}}),uB=yn(({clerk:e,component:t,fallback:n,...a})=>{const l=aa(t)==="rendering"||!e.loaded,o={...l&&n&&{style:{display:"none"}}},{customPages:d,customPagesPortals:f}=y7(a.children,{allowForAnyChildren:!!a.__experimental_asProvider}),h=Object.assign(a.userProfileProps||{},{customPages:d}),{customMenuItems:p,customMenuItemsPortals:b}=aB(a.children),T=T7(a.children),v={mount:e.mountUserButton,unmount:e.unmountUserButton,updateProps:e.__unstable__updateProps,props:{...a,userProfileProps:h,customMenuItems:p}},A={customPagesPortals:f,customMenuItemsPortals:b};return be.createElement(S7.Provider,{value:v},l&&n,e.loaded&&be.createElement(xr,{component:t,...v,hideRootHtmlElement:!!a.__experimental_asProvider,rootProps:o},a.__experimental_asProvider?T:null,be.createElement(fd,{...A})))},{component:"UserButton",renderWhileLoading:!0});function hd({children:e}){return or(EL),be.createElement(be.Fragment,null,e)}function x7({children:e}){return or(yL),be.createElement(be.Fragment,null,e)}function A7({children:e}){return or(vL),be.createElement(be.Fragment,null,e)}function oB(e){const t=Me.useContext(S7),n={...t,props:{...t.props,...e}};return be.createElement(xr,{...n})}var cB=Object.assign(uB,{UserProfilePage:Io,UserProfileLink:Lo,MenuItems:hd,Action:x7,Link:A7,__experimental_Outlet:oB});function md({children:e}){return or(dL),be.createElement(be.Fragment,null,e)}function pd({children:e}){return or(fL),be.createElement(be.Fragment,null,e)}var dB=yn(({clerk:e,component:t,fallback:n,...a})=>{const l=aa(t)==="rendering"||!e.loaded,o={...l&&n&&{style:{display:"none"}}},{customPages:d,customPagesPortals:f}=v7(a.children);return be.createElement(be.Fragment,null,l&&n,e.loaded&&be.createElement(xr,{component:t,mount:e.mountOrganizationProfile,unmount:e.unmountOrganizationProfile,updateProps:e.__unstable__updateProps,props:{...a,customPages:d},rootProps:o},be.createElement(fd,{customPagesPortals:f})))},{component:"OrganizationProfile",renderWhileLoading:!0});Object.assign(dB,{Page:md,Link:pd});yn(({clerk:e,component:t,fallback:n,...a})=>{const l=aa(t)==="rendering"||!e.loaded,o={...l&&n&&{style:{display:"none"}}};return be.createElement(be.Fragment,null,l&&n,e.loaded&&be.createElement(xr,{component:t,mount:e.mountCreateOrganization,unmount:e.unmountCreateOrganization,updateProps:e.__unstable__updateProps,props:a,rootProps:o}))},{component:"CreateOrganization",renderWhileLoading:!0});var w7=Me.createContext({mount:()=>{},unmount:()=>{},updateProps:()=>{}}),fB=yn(({clerk:e,component:t,fallback:n,...a})=>{const l=aa(t)==="rendering"||!e.loaded,o={...l&&n&&{style:{display:"none"}}},{customPages:d,customPagesPortals:f}=v7(a.children,{allowForAnyChildren:!!a.__experimental_asProvider}),h=Object.assign(a.organizationProfileProps||{},{customPages:d}),p=T7(a.children),b={mount:e.mountOrganizationSwitcher,unmount:e.unmountOrganizationSwitcher,updateProps:e.__unstable__updateProps,props:{...a,organizationProfileProps:h},rootProps:o,component:t};return e.__experimental_prefetchOrganizationSwitcher(),be.createElement(w7.Provider,{value:b},be.createElement(be.Fragment,null,l&&n,e.loaded&&be.createElement(xr,{...b,hideRootHtmlElement:!!a.__experimental_asProvider},a.__experimental_asProvider?p:null,be.createElement(fd,{customPagesPortals:f}))))},{component:"OrganizationSwitcher",renderWhileLoading:!0});function hB(e){const t=Me.useContext(w7),n={...t,props:{...t.props,...e}};return be.createElement(xr,{...n})}Object.assign(fB,{OrganizationProfilePage:md,OrganizationProfileLink:pd,__experimental_Outlet:hB});yn(({clerk:e,component:t,fallback:n,...a})=>{const l=aa(t)==="rendering"||!e.loaded,o={...l&&n&&{style:{display:"none"}}};return be.createElement(be.Fragment,null,l&&n,e.loaded&&be.createElement(xr,{component:t,mount:e.mountOrganizationList,unmount:e.unmountOrganizationList,updateProps:e.__unstable__updateProps,props:a,rootProps:o}))},{component:"OrganizationList",renderWhileLoading:!0});yn(({clerk:e,component:t,fallback:n,...a})=>{const l=aa(t)==="rendering"||!e.loaded,o={...l&&n&&{style:{display:"none"}}};return be.createElement(be.Fragment,null,l&&n,e.loaded&&be.createElement(xr,{component:t,open:e.openGoogleOneTap,close:e.closeGoogleOneTap,updateProps:e.__unstable__updateProps,props:a,rootProps:o}))},{component:"GoogleOneTap",renderWhileLoading:!0});yn(({clerk:e,component:t,fallback:n,...a})=>{const l=aa(t)==="rendering"||!e.loaded,o={...l&&n&&{style:{display:"none"}}};return be.createElement(be.Fragment,null,l&&n,e.loaded&&be.createElement(xr,{component:t,mount:e.mountWaitlist,unmount:e.unmountWaitlist,updateProps:e.__unstable__updateProps,props:a,rootProps:o}))},{component:"Waitlist",renderWhileLoading:!0});yn(({clerk:e,component:t,fallback:n,...a})=>{const l=aa(t)==="rendering"||!e.loaded,o={...l&&n&&{style:{display:"none"}}};return be.createElement(be.Fragment,null,l&&n,e.loaded&&be.createElement(xr,{component:t,mount:e.mountPricingTable,unmount:e.unmountPricingTable,updateProps:e.__unstable__updateProps,props:a,rootProps:o}))},{component:"PricingTable",renderWhileLoading:!0});yn(({clerk:e,component:t,fallback:n,...a})=>{const l=aa(t)==="rendering"||!e.loaded,o={...l&&n&&{style:{display:"none"}}};return be.createElement(be.Fragment,null,l&&n,e.loaded&&be.createElement(xr,{component:t,mount:e.mountApiKeys,unmount:e.unmountApiKeys,updateProps:e.__unstable__updateProps,props:a,rootProps:o}))},{component:"ApiKeys",renderWhileLoading:!0});yn(({clerk:e,children:t,...n})=>{const{signUpFallbackRedirectUrl:a,forceRedirectUrl:s,fallbackRedirectUrl:l,signUpForceRedirectUrl:o,mode:d,initialValues:f,withSignUp:h,oauthFlow:p,...b}=n;t=cd(t,"Sign in");const T=od(t)("SignInButton"),v=()=>{const R={forceRedirectUrl:s,fallbackRedirectUrl:l,signUpFallbackRedirectUrl:a,signUpForceRedirectUrl:o,initialValues:f,withSignUp:h,oauthFlow:p};return d==="modal"?e.openSignIn({...R,appearance:n.appearance}):e.redirectToSignIn({...R,signInFallbackRedirectUrl:l,signInForceRedirectUrl:s})},k={...b,onClick:async R=>(T&&typeof T=="object"&&"props"in T&&await dd(T.props.onClick)(R),v())};return be.cloneElement(T,k)},{component:"SignInButton",renderWhileLoading:!0});yn(({clerk:e,children:t,...n})=>{const{fallbackRedirectUrl:a,forceRedirectUrl:s,signInFallbackRedirectUrl:l,signInForceRedirectUrl:o,mode:d,unsafeMetadata:f,initialValues:h,oauthFlow:p,...b}=n;t=cd(t,"Sign up");const T=od(t)("SignUpButton"),v=()=>{const R={fallbackRedirectUrl:a,forceRedirectUrl:s,signInFallbackRedirectUrl:l,signInForceRedirectUrl:o,unsafeMetadata:f,initialValues:h,oauthFlow:p};return d==="modal"?e.openSignUp({...R,appearance:n.appearance}):e.redirectToSignUp({...R,signUpFallbackRedirectUrl:a,signUpForceRedirectUrl:s})},k={...b,onClick:async R=>(T&&typeof T=="object"&&"props"in T&&await dd(T.props.onClick)(R),v())};return be.cloneElement(T,k)},{component:"SignUpButton",renderWhileLoading:!0});yn(({clerk:e,children:t,...n})=>{const{redirectUrl:a="/",signOutOptions:s,...l}=n;t=cd(t,"Sign out");const o=od(t)("SignOutButton"),d=()=>e.signOut({redirectUrl:a,...s}),h={...l,onClick:async p=>(await dd(o.props.onClick)(p),d())};return be.cloneElement(o,h)},{component:"SignOutButton",renderWhileLoading:!0});yn(({clerk:e,children:t,...n})=>{const{redirectUrl:a,...s}=n;t=cd(t,"Sign in with Metamask");const l=od(t)("SignInWithMetamaskButton"),o=async()=>{async function h(){await e.authenticateWithMetamask({redirectUrl:a||void 0})}h()},f={...s,onClick:async h=>(await dd(l.props.onClick)(h),o())};return be.cloneElement(l,f)},{component:"SignInWithMetamask",renderWhileLoading:!0});typeof globalThis.__BUILD_DISABLE_RHC__>"u"&&(globalThis.__BUILD_DISABLE_RHC__=!1);var mB={name:"@clerk/clerk-react",version:"5.32.0",environment:"production"},A0,Sl,xl,Vi,ti,$i,w0,cm,k7=class C7{constructor(t){Os(this,w0),this.clerkjs=null,this.preopenOneTap=null,this.preopenUserVerification=null,this.preopenSignIn=null,this.preopenCheckout=null,this.preopenPlanDetails=null,this.preopenSignUp=null,this.preopenUserProfile=null,this.preopenOrganizationProfile=null,this.preopenCreateOrganization=null,this.preOpenWaitlist=null,this.premountSignInNodes=new Map,this.premountSignUpNodes=new Map,this.premountUserProfileNodes=new Map,this.premountUserButtonNodes=new Map,this.premountOrganizationProfileNodes=new Map,this.premountCreateOrganizationNodes=new Map,this.premountOrganizationSwitcherNodes=new Map,this.premountOrganizationListNodes=new Map,this.premountMethodCalls=new Map,this.premountWaitlistNodes=new Map,this.premountPricingTableNodes=new Map,this.premountApiKeysNodes=new Map,this.premountOAuthConsentNodes=new Map,this.premountAddListenerCalls=new Map,this.loadedListeners=[],Os(this,A0,"loading"),Os(this,Sl),Os(this,xl),Os(this,Vi),Os(this,ti,eB()),this.buildSignInUrl=s=>{const l=()=>{var o;return((o=this.clerkjs)==null?void 0:o.buildSignInUrl(s))||""};if(this.clerkjs&&this.loaded)return l();this.premountMethodCalls.set("buildSignInUrl",l)},this.buildSignUpUrl=s=>{const l=()=>{var o;return((o=this.clerkjs)==null?void 0:o.buildSignUpUrl(s))||""};if(this.clerkjs&&this.loaded)return l();this.premountMethodCalls.set("buildSignUpUrl",l)},this.buildAfterSignInUrl=(...s)=>{const l=()=>{var o;return((o=this.clerkjs)==null?void 0:o.buildAfterSignInUrl(...s))||""};if(this.clerkjs&&this.loaded)return l();this.premountMethodCalls.set("buildAfterSignInUrl",l)},this.buildAfterSignUpUrl=(...s)=>{const l=()=>{var o;return((o=this.clerkjs)==null?void 0:o.buildAfterSignUpUrl(...s))||""};if(this.clerkjs&&this.loaded)return l();this.premountMethodCalls.set("buildAfterSignUpUrl",l)},this.buildAfterSignOutUrl=()=>{const s=()=>{var l;return((l=this.clerkjs)==null?void 0:l.buildAfterSignOutUrl())||""};if(this.clerkjs&&this.loaded)return s();this.premountMethodCalls.set("buildAfterSignOutUrl",s)},this.buildNewSubscriptionRedirectUrl=()=>{const s=()=>{var l;return((l=this.clerkjs)==null?void 0:l.buildNewSubscriptionRedirectUrl())||""};if(this.clerkjs&&this.loaded)return s();this.premountMethodCalls.set("buildNewSubscriptionRedirectUrl",s)},this.buildAfterMultiSessionSingleSignOutUrl=()=>{const s=()=>{var l;return((l=this.clerkjs)==null?void 0:l.buildAfterMultiSessionSingleSignOutUrl())||""};if(this.clerkjs&&this.loaded)return s();this.premountMethodCalls.set("buildAfterMultiSessionSingleSignOutUrl",s)},this.buildUserProfileUrl=()=>{const s=()=>{var l;return((l=this.clerkjs)==null?void 0:l.buildUserProfileUrl())||""};if(this.clerkjs&&this.loaded)return s();this.premountMethodCalls.set("buildUserProfileUrl",s)},this.buildCreateOrganizationUrl=()=>{const s=()=>{var l;return((l=this.clerkjs)==null?void 0:l.buildCreateOrganizationUrl())||""};if(this.clerkjs&&this.loaded)return s();this.premountMethodCalls.set("buildCreateOrganizationUrl",s)},this.buildOrganizationProfileUrl=()=>{const s=()=>{var l;return((l=this.clerkjs)==null?void 0:l.buildOrganizationProfileUrl())||""};if(this.clerkjs&&this.loaded)return s();this.premountMethodCalls.set("buildOrganizationProfileUrl",s)},this.buildWaitlistUrl=()=>{const s=()=>{var l;return((l=this.clerkjs)==null?void 0:l.buildWaitlistUrl())||""};if(this.clerkjs&&this.loaded)return s();this.premountMethodCalls.set("buildWaitlistUrl",s)},this.buildUrlWithAuth=s=>{const l=()=>{var o;return((o=this.clerkjs)==null?void 0:o.buildUrlWithAuth(s))||""};if(this.clerkjs&&this.loaded)return l();this.premountMethodCalls.set("buildUrlWithAuth",l)},this.handleUnauthenticated=async()=>{const s=()=>{var l;return(l=this.clerkjs)==null?void 0:l.handleUnauthenticated()};this.clerkjs&&this.loaded?s():this.premountMethodCalls.set("handleUnauthenticated",s)},this.on=(...s)=>{var l;if((l=this.clerkjs)!=null&&l.on)return this.clerkjs.on(...s);fn(this,ti).on(...s)},this.off=(...s)=>{var l;if((l=this.clerkjs)!=null&&l.off)return this.clerkjs.off(...s);fn(this,ti).off(...s)},this.addOnLoaded=s=>{this.loadedListeners.push(s),this.loaded&&this.emitLoaded()},this.emitLoaded=()=>{this.loadedListeners.forEach(s=>s()),this.loadedListeners=[]},this.beforeLoad=s=>{if(!s)throw new Error("Failed to hydrate latest Clerk JS")},this.hydrateClerkJS=s=>{var l;if(!s)throw new Error("Failed to hydrate latest Clerk JS");return this.clerkjs=s,this.premountMethodCalls.forEach(o=>o()),this.premountAddListenerCalls.forEach((o,d)=>{o.nativeUnsubscribe=s.addListener(d)}),(l=fn(this,ti).internal.retrieveListeners("status"))==null||l.forEach(o=>{this.on("status",o,{notify:!0})}),this.preopenSignIn!==null&&s.openSignIn(this.preopenSignIn),this.preopenCheckout!==null&&s.__internal_openCheckout(this.preopenCheckout),this.preopenPlanDetails!==null&&s.__internal_openPlanDetails(this.preopenPlanDetails),this.preopenSignUp!==null&&s.openSignUp(this.preopenSignUp),this.preopenUserProfile!==null&&s.openUserProfile(this.preopenUserProfile),this.preopenUserVerification!==null&&s.__internal_openReverification(this.preopenUserVerification),this.preopenOneTap!==null&&s.openGoogleOneTap(this.preopenOneTap),this.preopenOrganizationProfile!==null&&s.openOrganizationProfile(this.preopenOrganizationProfile),this.preopenCreateOrganization!==null&&s.openCreateOrganization(this.preopenCreateOrganization),this.preOpenWaitlist!==null&&s.openWaitlist(this.preOpenWaitlist),this.premountSignInNodes.forEach((o,d)=>{s.mountSignIn(d,o)}),this.premountSignUpNodes.forEach((o,d)=>{s.mountSignUp(d,o)}),this.premountUserProfileNodes.forEach((o,d)=>{s.mountUserProfile(d,o)}),this.premountUserButtonNodes.forEach((o,d)=>{s.mountUserButton(d,o)}),this.premountOrganizationListNodes.forEach((o,d)=>{s.mountOrganizationList(d,o)}),this.premountWaitlistNodes.forEach((o,d)=>{s.mountWaitlist(d,o)}),this.premountPricingTableNodes.forEach((o,d)=>{s.mountPricingTable(d,o)}),this.premountApiKeysNodes.forEach((o,d)=>{s.mountApiKeys(d,o)}),this.premountOAuthConsentNodes.forEach((o,d)=>{s.__internal_mountOAuthConsent(d,o)}),typeof this.clerkjs.status>"u"&&fn(this,ti).emit(g0.Status,"ready"),this.emitLoaded(),this.clerkjs},this.__unstable__updateProps=async s=>{const l=await f6(this,w0,cm).call(this);if(l&&"__unstable__updateProps"in l)return l.__unstable__updateProps(s)},this.__experimental_navigateToTask=async s=>this.clerkjs?this.clerkjs.__experimental_navigateToTask(s):Promise.reject(),this.setActive=s=>this.clerkjs?this.clerkjs.setActive(s):Promise.reject(),this.openSignIn=s=>{this.clerkjs&&this.loaded?this.clerkjs.openSignIn(s):this.preopenSignIn=s},this.closeSignIn=()=>{this.clerkjs&&this.loaded?this.clerkjs.closeSignIn():this.preopenSignIn=null},this.__internal_openCheckout=s=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_openCheckout(s):this.preopenCheckout=s},this.__internal_closeCheckout=()=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_closeCheckout():this.preopenCheckout=null},this.__internal_openPlanDetails=s=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_openPlanDetails(s):this.preopenPlanDetails=s},this.__internal_closePlanDetails=()=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_closePlanDetails():this.preopenPlanDetails=null},this.__internal_openReverification=s=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_openReverification(s):this.preopenUserVerification=s},this.__internal_closeReverification=()=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_closeReverification():this.preopenUserVerification=null},this.openGoogleOneTap=s=>{this.clerkjs&&this.loaded?this.clerkjs.openGoogleOneTap(s):this.preopenOneTap=s},this.closeGoogleOneTap=()=>{this.clerkjs&&this.loaded?this.clerkjs.closeGoogleOneTap():this.preopenOneTap=null},this.openUserProfile=s=>{this.clerkjs&&this.loaded?this.clerkjs.openUserProfile(s):this.preopenUserProfile=s},this.closeUserProfile=()=>{this.clerkjs&&this.loaded?this.clerkjs.closeUserProfile():this.preopenUserProfile=null},this.openOrganizationProfile=s=>{this.clerkjs&&this.loaded?this.clerkjs.openOrganizationProfile(s):this.preopenOrganizationProfile=s},this.closeOrganizationProfile=()=>{this.clerkjs&&this.loaded?this.clerkjs.closeOrganizationProfile():this.preopenOrganizationProfile=null},this.openCreateOrganization=s=>{this.clerkjs&&this.loaded?this.clerkjs.openCreateOrganization(s):this.preopenCreateOrganization=s},this.closeCreateOrganization=()=>{this.clerkjs&&this.loaded?this.clerkjs.closeCreateOrganization():this.preopenCreateOrganization=null},this.openWaitlist=s=>{this.clerkjs&&this.loaded?this.clerkjs.openWaitlist(s):this.preOpenWaitlist=s},this.closeWaitlist=()=>{this.clerkjs&&this.loaded?this.clerkjs.closeWaitlist():this.preOpenWaitlist=null},this.openSignUp=s=>{this.clerkjs&&this.loaded?this.clerkjs.openSignUp(s):this.preopenSignUp=s},this.closeSignUp=()=>{this.clerkjs&&this.loaded?this.clerkjs.closeSignUp():this.preopenSignUp=null},this.mountSignIn=(s,l)=>{this.clerkjs&&this.loaded?this.clerkjs.mountSignIn(s,l):this.premountSignInNodes.set(s,l)},this.unmountSignIn=s=>{this.clerkjs&&this.loaded?this.clerkjs.unmountSignIn(s):this.premountSignInNodes.delete(s)},this.mountSignUp=(s,l)=>{this.clerkjs&&this.loaded?this.clerkjs.mountSignUp(s,l):this.premountSignUpNodes.set(s,l)},this.unmountSignUp=s=>{this.clerkjs&&this.loaded?this.clerkjs.unmountSignUp(s):this.premountSignUpNodes.delete(s)},this.mountUserProfile=(s,l)=>{this.clerkjs&&this.loaded?this.clerkjs.mountUserProfile(s,l):this.premountUserProfileNodes.set(s,l)},this.unmountUserProfile=s=>{this.clerkjs&&this.loaded?this.clerkjs.unmountUserProfile(s):this.premountUserProfileNodes.delete(s)},this.mountOrganizationProfile=(s,l)=>{this.clerkjs&&this.loaded?this.clerkjs.mountOrganizationProfile(s,l):this.premountOrganizationProfileNodes.set(s,l)},this.unmountOrganizationProfile=s=>{this.clerkjs&&this.loaded?this.clerkjs.unmountOrganizationProfile(s):this.premountOrganizationProfileNodes.delete(s)},this.mountCreateOrganization=(s,l)=>{this.clerkjs&&this.loaded?this.clerkjs.mountCreateOrganization(s,l):this.premountCreateOrganizationNodes.set(s,l)},this.unmountCreateOrganization=s=>{this.clerkjs&&this.loaded?this.clerkjs.unmountCreateOrganization(s):this.premountCreateOrganizationNodes.delete(s)},this.mountOrganizationSwitcher=(s,l)=>{this.clerkjs&&this.loaded?this.clerkjs.mountOrganizationSwitcher(s,l):this.premountOrganizationSwitcherNodes.set(s,l)},this.unmountOrganizationSwitcher=s=>{this.clerkjs&&this.loaded?this.clerkjs.unmountOrganizationSwitcher(s):this.premountOrganizationSwitcherNodes.delete(s)},this.__experimental_prefetchOrganizationSwitcher=()=>{const s=()=>{var l;return(l=this.clerkjs)==null?void 0:l.__experimental_prefetchOrganizationSwitcher()};this.clerkjs&&this.loaded?s():this.premountMethodCalls.set("__experimental_prefetchOrganizationSwitcher",s)},this.mountOrganizationList=(s,l)=>{this.clerkjs&&this.loaded?this.clerkjs.mountOrganizationList(s,l):this.premountOrganizationListNodes.set(s,l)},this.unmountOrganizationList=s=>{this.clerkjs&&this.loaded?this.clerkjs.unmountOrganizationList(s):this.premountOrganizationListNodes.delete(s)},this.mountUserButton=(s,l)=>{this.clerkjs&&this.loaded?this.clerkjs.mountUserButton(s,l):this.premountUserButtonNodes.set(s,l)},this.unmountUserButton=s=>{this.clerkjs&&this.loaded?this.clerkjs.unmountUserButton(s):this.premountUserButtonNodes.delete(s)},this.mountWaitlist=(s,l)=>{this.clerkjs&&this.loaded?this.clerkjs.mountWaitlist(s,l):this.premountWaitlistNodes.set(s,l)},this.unmountWaitlist=s=>{this.clerkjs&&this.loaded?this.clerkjs.unmountWaitlist(s):this.premountWaitlistNodes.delete(s)},this.mountPricingTable=(s,l)=>{this.clerkjs&&this.loaded?this.clerkjs.mountPricingTable(s,l):this.premountPricingTableNodes.set(s,l)},this.unmountPricingTable=s=>{this.clerkjs&&this.loaded?this.clerkjs.unmountPricingTable(s):this.premountPricingTableNodes.delete(s)},this.mountApiKeys=(s,l)=>{this.clerkjs&&this.loaded?this.clerkjs.mountApiKeys(s,l):this.premountApiKeysNodes.set(s,l)},this.unmountApiKeys=s=>{this.clerkjs&&this.loaded?this.clerkjs.unmountApiKeys(s):this.premountApiKeysNodes.delete(s)},this.__internal_mountOAuthConsent=(s,l)=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_mountOAuthConsent(s,l):this.premountOAuthConsentNodes.set(s,l)},this.__internal_unmountOAuthConsent=s=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_unmountOAuthConsent(s):this.premountOAuthConsentNodes.delete(s)},this.addListener=s=>{if(this.clerkjs)return this.clerkjs.addListener(s);{const l=()=>{var o;const d=this.premountAddListenerCalls.get(s);d&&((o=d.nativeUnsubscribe)==null||o.call(d),this.premountAddListenerCalls.delete(s))};return this.premountAddListenerCalls.set(s,{unsubscribe:l,nativeUnsubscribe:void 0}),l}},this.navigate=s=>{const l=()=>{var o;return(o=this.clerkjs)==null?void 0:o.navigate(s)};this.clerkjs&&this.loaded?l():this.premountMethodCalls.set("navigate",l)},this.redirectWithAuth=async(...s)=>{const l=()=>{var o;return(o=this.clerkjs)==null?void 0:o.redirectWithAuth(...s)};if(this.clerkjs&&this.loaded)return l();this.premountMethodCalls.set("redirectWithAuth",l)},this.redirectToSignIn=async s=>{const l=()=>{var o;return(o=this.clerkjs)==null?void 0:o.redirectToSignIn(s)};if(this.clerkjs&&this.loaded)return l();this.premountMethodCalls.set("redirectToSignIn",l)},this.redirectToSignUp=async s=>{const l=()=>{var o;return(o=this.clerkjs)==null?void 0:o.redirectToSignUp(s)};if(this.clerkjs&&this.loaded)return l();this.premountMethodCalls.set("redirectToSignUp",l)},this.redirectToUserProfile=async()=>{const s=()=>{var l;return(l=this.clerkjs)==null?void 0:l.redirectToUserProfile()};if(this.clerkjs&&this.loaded)return s();this.premountMethodCalls.set("redirectToUserProfile",s)},this.redirectToAfterSignUp=()=>{const s=()=>{var l;return(l=this.clerkjs)==null?void 0:l.redirectToAfterSignUp()};if(this.clerkjs&&this.loaded)return s();this.premountMethodCalls.set("redirectToAfterSignUp",s)},this.redirectToAfterSignIn=()=>{const s=()=>{var l;return(l=this.clerkjs)==null?void 0:l.redirectToAfterSignIn()};this.clerkjs&&this.loaded?s():this.premountMethodCalls.set("redirectToAfterSignIn",s)},this.redirectToAfterSignOut=()=>{const s=()=>{var l;return(l=this.clerkjs)==null?void 0:l.redirectToAfterSignOut()};this.clerkjs&&this.loaded?s():this.premountMethodCalls.set("redirectToAfterSignOut",s)},this.redirectToOrganizationProfile=async()=>{const s=()=>{var l;return(l=this.clerkjs)==null?void 0:l.redirectToOrganizationProfile()};if(this.clerkjs&&this.loaded)return s();this.premountMethodCalls.set("redirectToOrganizationProfile",s)},this.redirectToCreateOrganization=async()=>{const s=()=>{var l;return(l=this.clerkjs)==null?void 0:l.redirectToCreateOrganization()};if(this.clerkjs&&this.loaded)return s();this.premountMethodCalls.set("redirectToCreateOrganization",s)},this.redirectToWaitlist=async()=>{const s=()=>{var l;return(l=this.clerkjs)==null?void 0:l.redirectToWaitlist()};if(this.clerkjs&&this.loaded)return s();this.premountMethodCalls.set("redirectToWaitlist",s)},this.handleRedirectCallback=async s=>{var l;const o=()=>{var d;return(d=this.clerkjs)==null?void 0:d.handleRedirectCallback(s)};this.clerkjs&&this.loaded?(l=o())==null||l.catch(()=>{}):this.premountMethodCalls.set("handleRedirectCallback",o)},this.handleGoogleOneTapCallback=async(s,l)=>{var o;const d=()=>{var f;return(f=this.clerkjs)==null?void 0:f.handleGoogleOneTapCallback(s,l)};this.clerkjs&&this.loaded?(o=d())==null||o.catch(()=>{}):this.premountMethodCalls.set("handleGoogleOneTapCallback",d)},this.handleEmailLinkVerification=async s=>{const l=()=>{var o;return(o=this.clerkjs)==null?void 0:o.handleEmailLinkVerification(s)};if(this.clerkjs&&this.loaded)return l();this.premountMethodCalls.set("handleEmailLinkVerification",l)},this.authenticateWithMetamask=async s=>{const l=()=>{var o;return(o=this.clerkjs)==null?void 0:o.authenticateWithMetamask(s)};if(this.clerkjs&&this.loaded)return l();this.premountMethodCalls.set("authenticateWithMetamask",l)},this.authenticateWithCoinbaseWallet=async s=>{const l=()=>{var o;return(o=this.clerkjs)==null?void 0:o.authenticateWithCoinbaseWallet(s)};if(this.clerkjs&&this.loaded)return l();this.premountMethodCalls.set("authenticateWithCoinbaseWallet",l)},this.authenticateWithOKXWallet=async s=>{const l=()=>{var o;return(o=this.clerkjs)==null?void 0:o.authenticateWithOKXWallet(s)};if(this.clerkjs&&this.loaded)return l();this.premountMethodCalls.set("authenticateWithOKXWallet",l)},this.authenticateWithWeb3=async s=>{const l=()=>{var o;return(o=this.clerkjs)==null?void 0:o.authenticateWithWeb3(s)};if(this.clerkjs&&this.loaded)return l();this.premountMethodCalls.set("authenticateWithWeb3",l)},this.authenticateWithGoogleOneTap=async s=>(await f6(this,w0,cm).call(this)).authenticateWithGoogleOneTap(s),this.createOrganization=async s=>{const l=()=>{var o;return(o=this.clerkjs)==null?void 0:o.createOrganization(s)};if(this.clerkjs&&this.loaded)return l();this.premountMethodCalls.set("createOrganization",l)},this.getOrganization=async s=>{const l=()=>{var o;return(o=this.clerkjs)==null?void 0:o.getOrganization(s)};if(this.clerkjs&&this.loaded)return l();this.premountMethodCalls.set("getOrganization",l)},this.joinWaitlist=async s=>{const l=()=>{var o;return(o=this.clerkjs)==null?void 0:o.joinWaitlist(s)};if(this.clerkjs&&this.loaded)return l();this.premountMethodCalls.set("joinWaitlist",l)},this.signOut=async(...s)=>{const l=()=>{var o;return(o=this.clerkjs)==null?void 0:o.signOut(...s)};if(this.clerkjs&&this.loaded)return l();this.premountMethodCalls.set("signOut",l)};const{Clerk:n=null,publishableKey:a}=t||{};yl(this,Vi,a),yl(this,xl,t==null?void 0:t.proxyUrl),yl(this,Sl,t==null?void 0:t.domain),this.options=t,this.Clerk=n,this.mode=p6()?"browser":"server",this.options.sdkMetadata||(this.options.sdkMetadata=mB),fn(this,ti).emit(g0.Status,"loading"),fn(this,ti).prioritizedOn(g0.Status,s=>yl(this,A0,s)),fn(this,Vi)&&this.loadClerkJS()}get publishableKey(){return fn(this,Vi)}get loaded(){var t;return((t=this.clerkjs)==null?void 0:t.loaded)||!1}get status(){var t;return this.clerkjs?((t=this.clerkjs)==null?void 0:t.status)||(this.clerkjs.loaded?"ready":"loading"):fn(this,A0)}static getOrCreateInstance(t){return(!p6()||!fn(this,$i)||t.Clerk&&fn(this,$i).Clerk!==t.Clerk||fn(this,$i).publishableKey!==t.publishableKey)&&yl(this,$i,new C7(t)),fn(this,$i)}static clearInstance(){yl(this,$i,null)}get domain(){return typeof window<"u"&&window.location?E1(fn(this,Sl),new URL(window.location.href),""):typeof fn(this,Sl)=="function"?Oa.throw(b1):fn(this,Sl)||""}get proxyUrl(){return typeof window<"u"&&window.location?E1(fn(this,xl),new URL(window.location.href),""):typeof fn(this,xl)=="function"?Oa.throw(b1):fn(this,xl)||""}__internal_getOption(t){var n,a;return(n=this.clerkjs)!=null&&n.__internal_getOption?(a=this.clerkjs)==null?void 0:a.__internal_getOption(t):this.options[t]}get sdkMetadata(){var t;return((t=this.clerkjs)==null?void 0:t.sdkMetadata)||this.options.sdkMetadata||void 0}get instanceType(){var t;return(t=this.clerkjs)==null?void 0:t.instanceType}get frontendApi(){var t;return((t=this.clerkjs)==null?void 0:t.frontendApi)||""}get isStandardBrowser(){var t;return((t=this.clerkjs)==null?void 0:t.isStandardBrowser)||this.options.standardBrowser||!1}get isSatellite(){return typeof window<"u"&&window.location?E1(this.options.isSatellite,new URL(window.location.href),!1):typeof this.options.isSatellite=="function"?Oa.throw(b1):!1}async loadClerkJS(){var t;if(!(this.mode!=="browser"||this.loaded)){typeof window<"u"&&(window.__clerk_publishable_key=fn(this,Vi),window.__clerk_proxy_url=this.proxyUrl,window.__clerk_domain=this.domain);try{if(this.Clerk){let n;tB(this.Clerk)?(n=new this.Clerk(fn(this,Vi),{proxyUrl:this.proxyUrl,domain:this.domain}),this.beforeLoad(n),await n.load(this.options)):(n=this.Clerk,n.loaded||(this.beforeLoad(n),await n.load(this.options))),global.Clerk=n}else if(!__BUILD_DISABLE_RHC__){if(global.Clerk||await jL({...this.options,publishableKey:fn(this,Vi),proxyUrl:this.proxyUrl,domain:this.domain,nonce:this.options.nonce}),!global.Clerk)throw new Error("Failed to download latest ClerkJS. Contact support@clerk.com.");this.beforeLoad(global.Clerk),await global.Clerk.load(this.options)}return(t=global.Clerk)!=null&&t.loaded?this.hydrateClerkJS(global.Clerk):void 0}catch(n){const a=n;fn(this,ti).emit(g0.Status,"error"),console.error(a.stack||a.message||a);return}}}get version(){var t;return(t=this.clerkjs)==null?void 0:t.version}get client(){if(this.clerkjs)return this.clerkjs.client}get session(){if(this.clerkjs)return this.clerkjs.session}get user(){if(this.clerkjs)return this.clerkjs.user}get organization(){if(this.clerkjs)return this.clerkjs.organization}get telemetry(){if(this.clerkjs)return this.clerkjs.telemetry}get __unstable__environment(){if(this.clerkjs)return this.clerkjs.__unstable__environment}get isSignedIn(){return this.clerkjs?this.clerkjs.isSignedIn:!1}get billing(){var t;return(t=this.clerkjs)==null?void 0:t.billing}get apiKeys(){var t;return(t=this.clerkjs)==null?void 0:t.apiKeys}__unstable__setEnvironment(...t){if(this.clerkjs&&"__unstable__setEnvironment"in this.clerkjs)this.clerkjs.__unstable__setEnvironment(t);else return}};A0=new WeakMap;Sl=new WeakMap;xl=new WeakMap;Vi=new WeakMap;ti=new WeakMap;$i=new WeakMap;w0=new WeakSet;cm=function(){return new Promise(e=>{this.addOnLoaded(()=>e(this.clerkjs))})};Os(k7,$i);var S6=k7;function pB(e){const{isomorphicClerkOptions:t,initialState:n,children:a}=e,{isomorphicClerk:s,clerkStatus:l}=gB(t),[o,d]=be.useState({client:s.client,session:s.session,user:s.user,organization:s.organization});be.useEffect(()=>s.addListener(ee=>d({...ee})),[]);const f=WL(s.loaded,o,n),h=be.useMemo(()=>({value:s}),[l]),p=be.useMemo(()=>({value:o.client}),[o.client]),{sessionId:b,sessionStatus:T,sessionClaims:v,session:A,userId:k,user:R,orgId:C,actor:D,organization:U,orgRole:J,orgSlug:j,orgPermissions:B,factorVerificationAge:Q}=f,te=be.useMemo(()=>({value:{sessionId:b,sessionStatus:T,sessionClaims:v,userId:k,actor:D,orgId:C,orgRole:J,orgSlug:j,orgPermissions:B,factorVerificationAge:Q}}),[b,T,k,D,C,J,j,Q,v==null?void 0:v.__raw]),ae=be.useMemo(()=>({value:A}),[b,A]),Y=be.useMemo(()=>({value:R}),[k,R]),Z=be.useMemo(()=>({value:{organization:U}}),[C,U]);return be.createElement(iL.Provider,{value:h},be.createElement($I.Provider,{value:p},be.createElement(XI.Provider,{value:ae},be.createElement(QI,{...Z.value},be.createElement(rL.Provider,{value:te},be.createElement(KI.Provider,{value:Y},a))))))}var gB=e=>{const t=be.useRef(S6.getOrCreateInstance(e)),[n,a]=be.useState(t.current.status);return be.useEffect(()=>{t.current.__unstable__updateProps({appearance:e.appearance})},[e.appearance]),be.useEffect(()=>{t.current.__unstable__updateProps({options:e})},[e.localization]),be.useEffect(()=>(t.current.on("status",a),()=>{t.current&&t.current.off("status",a),S6.clearInstance()}),[]),{isomorphicClerk:t.current,clerkStatus:n}};function bB(e){const{initialState:t,children:n,__internal_bypassMissingPublishableKey:a,...s}=e,{publishableKey:l="",Clerk:o}=s;return!o&&!a&&(l?l&&!Q1(l)&&Oa.throwInvalidPublishableKeyError({key:l}):Oa.throwMissingPublishableKeyError()),be.createElement(pB,{initialState:t,isomorphicClerkOptions:s},n)}var N7=rB(bB,"ClerkProvider",sL);N7.displayName="ClerkProvider";nL({packageName:"@clerk/clerk-react"});GL("@clerk/clerk-react");const H0=10*1024*1024,dm=new Set(["image/jpeg","image/png","image/webp","application/pdf","text/plain","text/markdown","text/csv"]),S1="cycls_chat_history",y0="cycls_active_chat",O7=15;class mn{static getAllChats(){try{const t=localStorage.getItem(S1);return t?JSON.parse(t):[]}catch(t){return console.error("Error loading chat history:",t),[]}}static saveAllChats(t){try{localStorage.setItem(S1,JSON.stringify(t))}catch(n){console.error("Error saving chat history:",n)}}static getActiveChat(){try{return localStorage.getItem(y0)}catch{return null}}static setActiveChat(t){try{localStorage.setItem(y0,t)}catch(n){console.error("Error saving active chat:",n)}}static createChat(t=[]){const n=this.getAllChats(),a={id:Date.now().toString(),title:this.generateTitle(t),messages:t,createdAt:new Date().toISOString(),updatedAt:new Date().toISOString()};return n.length>=O7&&(n.sort((s,l)=>new Date(s.createdAt)-new Date(l.createdAt)),n.shift()),n.push(a),this.saveAllChats(n),this.setActiveChat(a.id),a}static updateChat(t,n){const a=this.getAllChats(),s=a.findIndex(l=>l.id===t);s!==-1&&(a[s].messages=n,a[s].updatedAt=new Date().toISOString(),a[s].title=this.generateTitle(n),this.saveAllChats(a))}static deleteChat(t){const a=this.getAllChats().filter(s=>s.id!==t);this.saveAllChats(a),this.getActiveChat()===t&&localStorage.removeItem(y0)}static getChat(t){return this.getAllChats().find(a=>a.id===t)}static generateTitle(t){if(!t||t.length===0)return"New Chat";const n=t.find(l=>l.type==="request");if(!n)return"New Chat";const{clean:a}=Il(n.content);return a.trim().slice(0,50)||"New Chat"}static clearAll(){try{localStorage.removeItem(S1),localStorage.removeItem(y0)}catch(t){console.error("Error clearing chat history:",t)}}}const EB=e=>{const t=new Date(e),a=new Date-t,s=Math.floor(a/6e4),l=Math.floor(a/36e5),o=Math.floor(a/864e5);return s<1?"Just now":s<60?`${s}m ago`:l<24?`${l}h ago`:o===0?"Today":o===1?"Yesterday":o<7?`${o}d ago`:t.toLocaleDateString("en-US",{month:"short",day:"numeric"})};async function yB(e){const t=await fetch("/metadata",{method:"GET",credentials:"include",signal:e});if(!t.ok)throw new Error(`Metadata request failed: ${t.status}`);return t.json()}function Il(e){const t=/<!--\s*cycls:attachments\s*([\s\S]*?)\s*cycls:attachments\s*-->/m,n=e.match(t);if(!n)return{clean:e,attachments:[]};let a=[];try{a=JSON.parse(n[1])}catch{a=[]}return{clean:e.replace(t,"").trimEnd(),attachments:a}}function vB(e){return e?e.startsWith("image/")?"image":e==="application/pdf"?"pdf":e==="text/csv"?"csv":e==="text/markdown"?"md":e==="text/plain"?"txt":"file":"file"}async function TB(e,t="anon",n="anon"){if(e.size>H0)throw new Error("File too large (max 10MB)");if(!dm.has(e.type))throw new Error(`Type not allowed: ${e.type}`);const a=new FormData;a.append("file",e),a.append("orgId",t),a.append("userId",n);const s=await fetch("https://cfywthfcvbajcekvwajz.supabase.co/functions/v1/upload",{method:"POST",body:a});if(!s.ok)throw new Error(`Upload failed (${s.status})`);return await s.json()}const q0=e=>e<1024?`${e}B`:e<1024*1024?`${(e/1024).toFixed(2)}kB`:`${(e/(1024*1024)).toFixed(2)}MB`,_B=e=>{if(e.size>H0)return{valid:!1,error:`File "${e.name}" is too large (${q0(e.size)}). Maximum size is ${q0(H0)}.`};if(!dm.has(e.type)){const t=Array.from(dm).map(n=>n.split("/")[1]).join(", ");return{valid:!1,error:`File type "${e.type}" is not supported. Allowed types: ${t}`}}return{valid:!0}};async function fm(e,t,{signal:n}={}){var p,b,T,v,A,k;const a=e.body.getReader(),s=new TextDecoder,l=e.headers.get("content-type")||"",o=l.includes("text/event-stream")||l.includes("stream");let d="",f="",h=null;for(;;){if(n!=null&&n.aborted)throw new DOMException("Aborted","AbortError");const{value:R,done:C}=await a.read();if(C)break;if(R){const D=s.decode(R,{stream:!0});if(d+=D,h===null&&d.length>0&&(h=d.trimStart().startsWith("data: ")),o||h){let U;for(;(U=d.indexOf(`
364
- `))!==-1;){const J=d.slice(0,U).trim();if(d=d.slice(U+1),!!J&&J.startsWith("data: ")){const j=J.slice(6);if(j==="[DONE]")return t(f),f;try{const B=JSON.parse(j),Q=((T=(b=(p=B==null?void 0:B.choices)==null?void 0:p[0])==null?void 0:b.delta)==null?void 0:T.content)||"";Q&&(f+=Q,t(f))}catch(B){console.error("Failed to parse SSE data:",B,j)}}}}else f+=D,t(f),d=""}}if((o||h)&&d.trim()){const R=d.trim();if(R.startsWith("data: ")){const C=R.slice(6);if(C!=="[DONE]")try{const D=JSON.parse(C),U=((k=(A=(v=D==null?void 0:D.choices)==null?void 0:v[0])==null?void 0:A.delta)==null?void 0:k.content)||"";U&&(f+=U)}catch(D){console.error("Failed to parse final SSE data:",D,C)}}}return t(f),f}function hm(e){return e.replace(/<think>[\s\S]*?<\/think>/g,"")}const SB=({children:e,className:t,node:n,inline:a,...s})=>{const[l,o]=Me.useState(!1),d=Me.useRef(null),f=async()=>{var T;try{const v=((T=d.current)==null?void 0:T.textContent)||"";await navigator.clipboard.writeText(v),o(!0),setTimeout(()=>o(!1),2e3)}catch(v){console.error("Failed to copy code:",v)}},h=T=>{var v;return typeof T=="string"?T:Array.isArray(T)?T.map(h).join(""):(v=T==null?void 0:T.props)!=null&&v.children?h(T.props.children):""},p=h(e);return a||!p.includes(`
365
- `)?G.jsx("code",{className:t,...s,children:e}):G.jsxs("div",{className:"relative group",children:[G.jsx("button",{onClick:f,className:"absolute top-1 right-1 opacity-0 group-hover:opacity-100 transition-opacity inline-flex items-center gap-1.5 px-2.5 py-1.5 text-xs font-medium text-gray-600 hover:text-gray-900 bg-white hover:bg-gray-50 border border-gray-200 rounded-md shadow-sm z-10",title:"Copy code",children:l?G.jsxs(G.Fragment,{children:[G.jsx("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:G.jsx("polyline",{points:"20 6 9 17 4 12"})}),G.jsx("span",{children:"Copied!"})]}):G.jsx(G.Fragment,{children:G.jsxs("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[G.jsx("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),G.jsx("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})]})})}),G.jsx("code",{ref:d,className:t,...s,children:e})]})},xB=({children:e})=>G.jsx("div",{className:"not-prose",children:e}),AB=({href:e,onSend:t,...n})=>{const a=Me.useCallback(s=>{t(decodeURIComponent(e.slice(23))),s.preventDefault()},[e,t]);return e.startsWith("https://cycls.com/send/")?G.jsx("a",{...n,className:n.className||"underline decoration-gray-500/40 decoration-2 hover:decoration-gray-500/60",href:"#",onClick:a}):G.jsx("a",{...n,href:e,target:"_blank",rel:"noreferrer"})},mm=be.memo(({markdown:e,onSend:t})=>{const n=Me.useMemo(()=>({raw:xB,a:a=>G.jsx(AB,{...a,onSend:t}),code:SB}),[t]);return G.jsx("div",{dir:"auto",children:G.jsx(jS,{components:n,remarkPlugins:[rw,DD],rehypePlugins:[SN,_D,[cM,{ignoreMissing:!0,detect:!0}]],children:e})})}),wB=({error:e,onRetry:t,isRetrying:n})=>{const a=s=>s?s.type==="network"?"Network error. Please check your connection and try again.":s.type==="timeout"?"Request timed out. The server took too long to respond.":s.type==="rate_limit"?s.message||"Too many requests. Please wait a moment and try again.":s.type==="server"?`Server error (${s.status||"unknown"}). Please try again later.`:s.type==="abort"?"Request was cancelled.":s.message||"An error occurred while processing your request.":"An unexpected error occurred";return G.jsx("div",{className:"rounded-lg border border-red-200 bg-red-50 p-4 my-2",children:G.jsxs("div",{className:"flex items-start gap-3",children:[G.jsx("div",{className:"flex-shrink-0 mt-0.5",children:G.jsxs("svg",{className:"h-5 w-5 text-red-600",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[G.jsx("circle",{cx:"12",cy:"12",r:"10"}),G.jsx("line",{x1:"12",y1:"8",x2:"12",y2:"12"}),G.jsx("line",{x1:"12",y1:"16",x2:"12.01",y2:"16"})]})}),G.jsxs("div",{className:"flex-1 min-w-0",children:[G.jsx("p",{className:"text-sm font-medium text-red-900",children:"Error"}),G.jsx("p",{className:"text-sm text-red-700 mt-1",children:a(e)}),t&&e.type!=="abort"&&G.jsx("button",{onClick:t,disabled:n,className:"mt-3 inline-flex items-center gap-1.5 px-3 py-1.5 text-sm font-medium text-red-700 hover:text-red-900 bg-white hover:bg-red-50 border border-red-300 rounded-lg transition-colors disabled:opacity-50 disabled:cursor-not-allowed",children:n?G.jsxs(G.Fragment,{children:[G.jsxs("svg",{className:"animate-spin h-4 w-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[G.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),G.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),G.jsx("span",{children:"Retrying..."})]}):G.jsxs(G.Fragment,{children:[G.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[G.jsx("polyline",{points:"23 4 23 10 17 10"}),G.jsx("polyline",{points:"1 20 1 14 7 14"}),G.jsx("path",{d:"M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15"})]}),G.jsx("span",{children:"Retry"})]})})]})]})})},kB=({message:e,onCopy:t,onRegenerate:n,isLastAssistant:a})=>{const[s,l]=Me.useState(!1),o=async()=>{try{const{clean:d}=Il(e.content);await navigator.clipboard.writeText(d),l(!0),setTimeout(()=>l(!1),2e3)}catch(d){console.error("Failed to copy:",d)}};return G.jsxs("div",{className:"flex items-center gap-1 opacity-0 group-hover:opacity-100 transition-opacity duration-200",children:[G.jsx("button",{onClick:o,className:"inline-flex items-center gap-1.5 px-2.5 py-1.5 text-xs font-medium text-gray-600 hover:text-gray-900 hover:bg-gray-100 rounded-lg transition-colors",title:"Copy message",children:s?G.jsxs(G.Fragment,{children:[G.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:G.jsx("polyline",{points:"20 6 9 17 4 12"})}),G.jsx("span",{children:"Copied!"})]}):G.jsxs(G.Fragment,{children:[G.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[G.jsx("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),G.jsx("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})]}),G.jsx("span",{children:"Copy"})]})}),a&&G.jsxs("button",{onClick:n,className:"inline-flex items-center gap-1.5 px-2.5 py-1.5 text-xs font-medium text-gray-600 hover:text-gray-900 hover:bg-gray-100 rounded-lg transition-colors",title:"Regenerate response",children:[G.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[G.jsx("polyline",{points:"23 4 23 10 17 10"}),G.jsx("polyline",{points:"1 20 1 14 7 14"}),G.jsx("path",{d:"M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15"})]}),G.jsx("span",{children:"Regenerate"})]})]})},CB=({error:e,onDismiss:t})=>(Me.useEffect(()=>{const n=setTimeout(t,5e3);return()=>clearTimeout(n)},[t]),G.jsx("div",{className:"fixed bottom-40 left-1/2 transform -translate-x-1/2 bg-red-50 border border-red-200 rounded-xl shadow-lg px-4 py-3 min-w-[320px] max-w-[90vw] z-50 animate-in slide-in-from-bottom-2 duration-300",children:G.jsxs("div",{className:"flex items-start gap-3",children:[G.jsx("div",{className:"flex-shrink-0 mt-0.5",children:G.jsxs("svg",{className:"h-5 w-5 text-red-600",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[G.jsx("circle",{cx:"12",cy:"12",r:"10"}),G.jsx("line",{x1:"12",y1:"8",x2:"12",y2:"12"}),G.jsx("line",{x1:"12",y1:"16",x2:"12.01",y2:"16"})]})}),G.jsxs("div",{className:"flex-1 min-w-0",children:[G.jsx("p",{className:"text-sm font-medium text-red-900",children:"Upload Error"}),G.jsx("p",{className:"text-sm text-red-700 mt-1",children:e})]}),G.jsx("button",{onClick:t,className:"flex-shrink-0 text-red-400 hover:text-red-600 transition-colors","aria-label":"Dismiss",children:G.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"currentColor",children:G.jsx("path",{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd"})})})]})})),NB=({file:e,onRemove:t})=>{const[n,a]=Me.useState(null),s=e.type.startsWith("image/");return Me.useEffect(()=>{if(!s)return;const l=new FileReader;l.onloadend=()=>a(String(l.result)),l.readAsDataURL(e)},[e,s]),G.jsxs("div",{className:"group inline-flex items-start gap-2 rounded-xl border border-gray-200 bg-white shadow-sm px-2.5 py-1",title:e.name,children:[G.jsx("div",{className:"w-10 h-10 rounded-md overflow-hidden bg-gray-100 flex items-center justify-center",children:s&&n?G.jsx("img",{src:n,alt:e.name,className:"w-full h-full object-cover"}):G.jsx("span",{className:"text-xs",children:"📄"})}),G.jsxs("div",{className:"min-w-0 leading-tight",children:[G.jsx("div",{className:"text-xs font-medium text-gray-900 truncate max-w-[100px]",children:e.name}),G.jsx("div",{className:"text-xs text-left text-gray-500",children:q0(e.size)})]}),G.jsx("button",{onClick:t,className:"ml-1 h-5 w-5 rounded-full bg-gray-200 hover:bg-gray-300 grid place-items-center","aria-label":"Remove attachment",children:G.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",children:G.jsx("path",{d:"M9 3L3 9M3 3L9 9",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})})]})},OB=({attachments:e=[]})=>e.length?G.jsx("div",{className:"mt-3 flex flex-wrap gap-2",children:e.map((t,n)=>{const a=vB(t.mime);if(a==="image")return G.jsx("a",{href:t.url,target:"_blank",rel:"noopener noreferrer",className:"group relative overflow-hidden rounded-lg border border-gray-200/60 shadow-sm transition-all duration-200",children:G.jsx("img",{src:t.url,alt:"",loading:"lazy",className:"mb-1 w-40 rounded-md"})},n);const s={pdf:"📄",csv:"📊",md:"📝",txt:"📝"}[a]||"📎";return G.jsxs("a",{href:t.url,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2.5 rounded-xl border border-gray-200/60 bg-white/80 backdrop-blur-sm px-4 py-2.5 text-sm hover:border-gray-300 hover:bg-white transition-all shadow-sm",children:[G.jsx("span",{className:"text-xl",children:s}),G.jsx("span",{className:"text-xs text-gray-600 uppercase font-semibold tracking-wide",children:a||"file"})]},n)})}):null,MB=({fileName:e,progress:t})=>G.jsx("div",{className:"fixed bottom-40 left-1/2 transform -translate-x-1/2 bg-white border border-gray-200 rounded-xl shadow-lg px-4 py-3 min-w-[280px]",children:G.jsxs("div",{className:"flex items-center gap-3",children:[G.jsx("div",{className:"flex-shrink-0",children:G.jsxs("svg",{className:"animate-spin h-5 w-5 text-gray-600",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[G.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),G.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]})}),G.jsxs("div",{className:"flex-1 min-w-0",children:[G.jsx("p",{className:"text-sm font-medium text-gray-900 truncate",children:e}),G.jsx("div",{className:"mt-1 w-full bg-gray-200 rounded-full h-1.5",children:G.jsx("div",{className:"bg-gray-900 h-1.5 rounded-full transition-all duration-300",style:{width:`${t}%`}})})]})]})}),RB=({onSend:e,isLoading:t=!1,onStop:n})=>{const[a,s]=Me.useState(""),[l,o]=Me.useState([]),[d,f]=Me.useState(!1),[h,p]=Me.useState(null),[b,T]=Me.useState(!1),v=Me.useRef(null),A=Me.useRef(null),k=Me.useRef(0);Me.useEffect(()=>{const Q=()=>f(window.innerWidth<=768);return Q(),window.addEventListener("resize",Q),()=>window.removeEventListener("resize",Q)},[]);const R=Me.useCallback(Q=>{const te=[];for(const ae of Q){const Y=_B(ae);if(Y.valid)te.push(ae);else{p(Y.error);break}}te.length>0&&o(ae=>[...ae,...te])},[]);Me.useEffect(()=>{const Q=Z=>{Z.preventDefault(),Z.stopPropagation(),k.current++,Z.dataTransfer.types.includes("Files")&&T(!0)},te=Z=>{Z.preventDefault(),Z.stopPropagation(),k.current--,k.current===0&&T(!1)},ae=Z=>{Z.preventDefault(),Z.stopPropagation()},Y=Z=>{Z.preventDefault(),Z.stopPropagation(),T(!1),k.current=0;const ee=Array.from(Z.dataTransfer.files||[]);ee.length>0&&R(ee)};return document.addEventListener("dragenter",Q),document.addEventListener("dragleave",te),document.addEventListener("dragover",ae),document.addEventListener("drop",Y),()=>{document.removeEventListener("dragenter",Q),document.removeEventListener("dragleave",te),document.removeEventListener("dragover",ae),document.removeEventListener("drop",Y)}},[R]),Me.useEffect(()=>{const Q=te=>{var ee;if(!(document.activeElement===A.current))return;const Z=Array.from(((ee=te.clipboardData)==null?void 0:ee.items)||[]).filter(pe=>pe.type.startsWith("image/"));if(Z.length>0){te.preventDefault();const pe=Z.map(ue=>ue.getAsFile()).filter(ue=>ue!==null);pe.length>0&&R(pe)}};return document.addEventListener("paste",Q),()=>document.removeEventListener("paste",Q)},[R]);const C=()=>{var Q;return(Q=v.current)==null?void 0:Q.click()},D=Q=>{const te=Array.from(Q.target.files||[]);R(te),Q.target.value=""},U=Q=>o(te=>te.filter((ae,Y)=>Y!==Q)),J=async()=>{t||(e({text:a,files:l}),s(""),o([]))},j=Q=>{Q.key==="Enter"&&!Q.shiftKey&&!d&&!t&&(Q.preventDefault(),J())},B=["fixed inset-x-2 md:inset-x-0 mx-auto max-w-3xl z-40","bottom-[max(0.75rem,env(safe-area-inset-bottom))] md:bottom-[max(1rem,env(safe-area-inset-bottom))]"].join(" ");return G.jsxs(G.Fragment,{children:[h&&G.jsx(CB,{error:h,onDismiss:()=>p(null)}),b&&G.jsx("div",{className:"fixed inset-0 z-50 bg-gray-900/50 backdrop-blur-sm flex items-center justify-center pointer-events-none",children:G.jsx("div",{className:"bg-white rounded-2xl shadow-2xl p-8 max-w-md mx-4 border-2 border-dashed border-gray-900",children:G.jsxs("div",{className:"text-center",children:[G.jsx("div",{className:"mx-auto w-16 h-16 bg-gray-100 rounded-full flex items-center justify-center mb-4",children:G.jsx("svg",{className:"w-8 h-8 text-gray-900",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:G.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M15 13l-3-3m0 0l-3 3m3-3v12"})})}),G.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-2",children:"Drop files to upload"}),G.jsx("p",{className:"text-sm text-gray-600",children:"Images, PDFs, and text files supported"}),G.jsxs("p",{className:"text-xs text-gray-500 mt-2",children:["Max ",q0(H0)," per file"]})]})})}),G.jsx("div",{className:B,children:G.jsxs("div",{className:"border-input cursor-text rounded-3xl border bg-popover relative p-0 pt-1 shadow-xs backdrop-blur-xl w-full",children:[l.length>0&&G.jsx("div",{className:"px-3 pt-3",children:G.jsx("div",{className:"flex flex-wrap gap-2",children:l.map((Q,te)=>G.jsx(NB,{file:Q,onRemove:()=>U(te)},te))})}),G.jsxs("div",{className:"px-3 pb-3 pt-2",children:[G.jsx("textarea",{ref:A,className:"w-full resize-none border-0 bg-transparent focus:ring-0 focus:outline-none placeholder:text-gray-400 text-[15px] leading-6 max-h-40 mb-2 disabled:opacity-50 disabled:cursor-not-allowed",dir:"auto",autoFocus:!0,tabIndex:0,rows:Math.max(1,Math.min(6,a.split(`
366
- `).length)),placeholder:t?"Waiting for response...":"What's on your mind?",onChange:Q=>s(Q.target.value),onKeyDown:j,value:a,disabled:t}),G.jsxs("div",{className:"flex items-center gap-2",children:[G.jsx("button",{onClick:C,className:"border border-gray-200 rounded-full bg-white hover:bg-gray-50 active:scale-[0.98] w-8 h-8 inline-flex items-center justify-center p-1","aria-label":"Attach file",title:"Attach files",children:G.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:G.jsx("path",{d:"m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551"})})}),G.jsx("input",{ref:v,type:"file",multiple:!0,className:"hidden",onChange:D,accept:".jpg,.jpeg,.png,.webp,.pdf,.txt,.md,.csv"}),G.jsx("div",{className:"flex-1"}),t&&G.jsx("button",{onClick:n,className:"rounded-full bg-white text-gray-700 hover:bg-gray-100 active:scale-95 transition-all inline-flex items-center justify-center w-8 h-8 flex-shrink-0 border border-gray-300 shadow-sm","aria-label":"Stop generating",title:"Stop",children:G.jsx("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"currentColor",children:G.jsx("rect",{x:"6",y:"6",width:"12",height:"12",rx:"2"})})}),!t&&G.jsx("button",{onClick:J,disabled:t,className:"rounded-full bg-gray-900 text-white hover:opacity-90 active:scale-[0.98] inline-flex items-center justify-center w-9 h-9 flex-shrink-0 disabled:opacity-50 disabled:cursor-not-allowed disabled:active:scale-100","aria-label":"Send message",title:"Send",children:G.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:G.jsx("path",{d:"M8.99992 16V6.41407L5.70696 9.70704C5.31643 10.0976 4.68342 10.0976 4.29289 9.70704C3.90237 9.31652 3.90237 8.6835 4.29289 8.29298L9.29289 3.29298L9.36907 3.22462C9.76184 2.90427 10.3408 2.92686 10.707 3.29298L15.707 8.29298L15.7753 8.36915C16.0957 8.76192 16.0731 9.34092 15.707 9.70704C15.3408 10.0732 14.7618 10.0958 14.3691 9.7754L14.2929 9.70704L10.9999 6.41407V16C10.9999 16.5523 10.5522 17 9.99992 17C9.44764 17 8.99992 16.5523 8.99992 16Z"})})})]})]})]})})]})},DB=be.memo(({messages:e,onSend:t,onRegenerate:n,isGenerating:a,onRetry:s,retryingIndex:l})=>{const o=Me.useMemo(()=>e.map((d,f)=>{if(d.type==="request"){const{clean:p,attachments:b}=Il(d.content),T=/[\u0591-\u07FF\uFB1D-\uFDFD\uFE70-\uFEFC]/.test(p);return G.jsx("div",{className:`flex mb-4 ${T?"justify-start":"justify-end"}`,children:G.jsxs("div",{className:"max-w-[85%] md:max-w-[75%]",children:[b.length>0&&G.jsx("div",{className:"mb-1",children:G.jsx(OB,{attachments:b})}),p&&G.jsx("div",{className:"bg-gray-100 text-black px-4 py-2 rounded-3xl shadow-sm",children:G.jsx("div",{dir:"auto",className:"text-[15px] leading-relaxed whitespace-pre-wrap",children:p})})]})},f)}const h=d.type==="response"&&f===e.length-1&&!a;return G.jsx("div",{className:"flex mb-4 justify-start group",children:G.jsx("div",{className:"max-w-[85%] md:max-w-[100%]",children:d.error?G.jsx(wB,{error:d.error,onRetry:()=>s(f),isRetrying:l===f}):G.jsxs(G.Fragment,{children:[G.jsxs("div",{className:"prose prose-sm max-w-none",children:[G.jsx(mm,{markdown:d.content,onSend:t}),d.content===""&&G.jsx("div",{className:"h-4 w-32 bg-gray-200 rounded animate-pulse"})]}),d.content&&d.content!==""&&G.jsx(kB,{message:d,onRegenerate:()=>n(f),isLastAssistant:h})]})})},f)}),[e,t,n,a,s,l]);return G.jsx("div",{className:"space-y-1",children:o})}),IB=(e,t,n,a,s,l,o,d=()=>{},f,h,p,b,T,v)=>async A=>{const k=typeof A=="object"&&A!==null,R=k?A.text||"":String(A||""),C=k?A.files||[]:[];if(!R.trim()&&C.length===0){n(!0);return}if(R===":clear"&&C.length===0){t([]),v(null),mn.setActiveChat(""),window.scrollTo(0,0);return}e.length===0&&d(),a(!0),o(!1);let D=[];for(let Z=0;Z<C.length;Z++){const ee=C[Z];try{s({fileName:ee.name,progress:0});const pe=await TB(ee);s({fileName:ee.name,progress:100}),D.push(pe),setTimeout(()=>s(null),500)}catch(pe){console.error("Upload error:",pe),s(null),a(!1),t(ue=>[...ue,{type:"request",content:R},{type:"response",content:"",error:{type:"server",message:`Failed to upload ${ee.name}: ${pe.message}`,status:null}}]);return}}let U=R;if(D.length>0){const Z=`<!--cycls:attachments
367
- ${JSON.stringify(D)}
368
- cycls:attachments-->`;U=`${R}
369
-
370
- ${Z}`}const J={type:"request",content:U},j={type:"response",content:""};t(Z=>[...Z,J,j]);const B=[...e,J];let Q=T;Q?mn.updateChat(Q,B):(Q=mn.createChat(B).id,v(Q));const te=B.map(({type:Z,content:ee})=>{const pe=Z==="request"?"user":"assistant",{clean:ue,attachments:me}=Il(ee);if(me.length===0)return{role:pe,content:ue};const $=[];ue.trim()&&$.push({type:"text",text:ue});for(const fe of me)fe.mime&&fe.mime.startsWith("image/")?$.push({type:"image_url",image_url:{url:fe.url}}):$.push({type:"file",text:`[File attached: ${fe.name}]
371
- File URL: ${fe.url}
372
- File type: ${fe.mime||"unknown"}`});return{role:pe,content:$}});l.current=new AbortController;let ae=!1;const Y=setTimeout(()=>{l.current&&(ae=!0,l.current.abort())},12e4);try{const Z={"Content-Type":"application/json"};if(f&&p)try{const me=await p({template:"template"});if(me&&(Z.Authorization=`Bearer ${me}`),b&&h)try{await b({organization:h})}catch{}}catch{}const ee=await fetch("/chat/completions",{method:"POST",headers:Z,body:JSON.stringify({messages:te,stream:!0}),signal:l.current.signal});if(clearTimeout(Y),!ee.ok){let me="server",$=`Server returned ${ee.status}`;if(ee.status===429){me="rate_limit";const fe=ee.headers.get("Retry-After");$=fe?`Too many requests. Please try again in ${fe} seconds.`:"Too many requests. Please wait a moment and try again."}else ee.status>=500?$="Server error. Please try again later.":(ee.status===401||ee.status===403)&&($="Authentication error. Please refresh and try again.");throw{type:me,status:ee.status,message:$}}await fm(ee,me=>{const $=hm(me);t(fe=>{const Ee=[...fe];return Ee[Ee.length-1].content=$,Ee})},{signal:l.current.signal});const ue=[...B,j];mn.updateChat(Q,ue),a(!1),n(!0)}catch(Z){clearTimeout(Y);let ee={type:"server",message:"An unexpected error occurred",status:null};if(Z.name==="AbortError")if(ae)ee={type:"timeout",message:"Request timed out. The server took too long to respond."};else{console.log("Generation stopped by user"),t(pe=>{var me;const ue=[...pe];if(((me=ue[ue.length-1])==null?void 0:me.type)==="response"){ue[ue.length-1].content+=`
373
-
374
- *[Generation stopped]*`;const $=e.concat([J,ue[ue.length-1]]);Q&&mn.updateChat(Q,$)}return ue}),a(!1),n(!0);return}else Z instanceof TypeError&&Z.message.includes("fetch")?ee={type:"network",message:"Network error. Please check your connection and try again."}:Z.type&&(ee=Z);console.error("Request error:",Z),t(pe=>{var me;const ue=[...pe];return((me=ue[ue.length-1])==null?void 0:me.type)==="response"&&(ue[ue.length-1].error=ee),ue}),a(!1),n(!0)}};function LB(){const[e,t]=be.useState({status:"loading"});return be.useEffect(()=>{const n=new AbortController;return(async()=>{try{const a=await yB(n.signal);t({status:"ready",data:a})}catch(a){t({status:"error",error:a})}})(),()=>n.abort()},[]),e}const BB=()=>{var t,n;const e=LB();if(e.status==="loading")return G.jsx("div",{className:"min-h-screen grid place-items-center text-sm text-gray-500",children:"Loading…"});if(e.status==="error"){console.error("Failed to load /metadata:",e.error);const a={header:"",intro:"",prod:((n=(t=import.meta)==null?void 0:t.env)==null?void 0:n.PROD)||!1,auth:!1};return G.jsx(A6,{meta:a})}return G.jsx(A6,{meta:e.data})},PB=({isOpen:e,onClose:t,chats:n,activeChat:a,onSelectChat:s,onNewChat:l,onDeleteChat:o})=>{const[d,f]=Me.useState(null),h=Me.useMemo(()=>[...n].sort((p,b)=>new Date(b.updatedAt)-new Date(p.updatedAt)),[n]);return G.jsxs(G.Fragment,{children:[e&&G.jsx("div",{className:"fixed inset-0 bg-black/50 z-40 md:hidden",onClick:t}),G.jsxs("div",{className:`fixed top-0 left-0 h-full bg-white border-r border-gray-200 z-50 transition-transform duration-300 ease-in-out ${e?"translate-x-0":"-translate-x-full"} w-72 flex flex-col`,children:[G.jsxs("div",{className:"p-4 border-b border-gray-200 flex items-center justify-between",children:[G.jsx("h2",{className:"font-semibold text-gray-900",children:"Chat History"}),G.jsx("button",{onClick:t,className:"md:hidden p-1 hover:bg-gray-100 rounded-lg transition-colors","aria-label":"Close sidebar",children:G.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"currentColor",children:G.jsx("path",{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd"})})})]}),G.jsx("div",{className:"p-3",children:G.jsxs("button",{onClick:l,className:"w-full flex items-center justify-center gap-2 px-4 py-2.5 bg-gray-900 text-white rounded-lg hover:bg-gray-800 transition-colors font-medium",children:[G.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[G.jsx("line",{x1:"12",y1:"5",x2:"12",y2:"19"}),G.jsx("line",{x1:"5",y1:"12",x2:"19",y2:"12"})]}),"New Chat"]})}),G.jsx("div",{className:"flex-1 overflow-y-auto p-3 space-y-1",children:h.length===0?G.jsx("div",{className:"text-center py-8 text-gray-500 text-sm",children:"No chat history yet"}):h.map(p=>G.jsxs("div",{className:`group relative rounded-lg transition-colors ${a===p.id?"bg-gray-100":"hover:bg-gray-50 cursor-pointer"}`,onMouseEnter:()=>f(p.id),onMouseLeave:()=>f(null),children:[G.jsxs("div",{className:"p-3 pr-10",onClick:()=>s(p.id),children:[G.jsx("div",{className:"font-medium text-sm text-gray-900 truncate",children:p.title}),G.jsx("div",{className:"text-xs text-gray-500 mt-1",children:EB(p.updatedAt)})]}),d===p.id&&G.jsx("button",{onClick:b=>{b.stopPropagation(),o(p.id)},className:"absolute right-2 top-1/2 -translate-y-1/2 p-1.5 hover:bg-red-100 rounded-md transition-colors text-gray-400 hover:text-red-600","aria-label":"Delete chat",children:G.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[G.jsx("polyline",{points:"3 6 5 6 21 6"}),G.jsx("path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"})]})})]},p.id))}),G.jsxs("div",{className:"p-3 border-t border-gray-200 text-xs text-gray-500 text-center",children:[n.length," / ",O7," chats"]})]})]})},x6=({HEADER:e,INTRO:t,AUTH:n,ORG:a,TITLE:s})=>{const[l,o]=Me.useState([]),[d,f]=Me.useState(!1),[h,p]=Me.useState(!1),[b,T]=Me.useState(null),[v,A]=Me.useState(!1),[k,R]=Me.useState(!1),[C,D]=Me.useState(null),U=Me.useRef(null),J=Me.useRef(null),[j,B]=Me.useState(!1),[Q,te]=Me.useState([]),[ae,Y]=Me.useState(null),Z=n?dp():null,ee=n?ZI():null;Me.useEffect(()=>{const X=mn.getAllChats();te(X);const ce=mn.getActiveChat();if(ce){const M=mn.getChat(ce);M&&(o(M.messages),Y(ce),A(M.messages.length>0))}},[]),Me.useEffect(()=>{l.length>0&&ae&&(mn.updateChat(ae,l),te(mn.getAllChats()))},[l,ae]),Me.useEffect(()=>{document.title=s},[]),Me.useEffect(()=>{const X=()=>{const ce=window.scrollY||document.documentElement.scrollTop,M=document.documentElement.scrollHeight,De=window.innerHeight,qe=M-ce-De<100;R(!qe)};return window.addEventListener("scroll",X),()=>window.removeEventListener("scroll",X)},[]),Me.useEffect(()=>{!k&&J.current&&J.current.scrollIntoView({behavior:"smooth"})},[l,k]),Me.useEffect(()=>{if(d){const X=document.querySelector("textarea");X==null||X.focus(),f(!1)}},[d]);const pe=Me.useCallback(IB(l,o,f,p,T,U,R,()=>A(!0),n,a,Z==null?void 0:Z.getToken,ee==null?void 0:ee.setActive,ae,Y),[l,n,a,Z==null?void 0:Z.getToken,ee==null?void 0:ee.setActive,ae]),ue=Me.useCallback(()=>{U.current&&(U.current.abort(),U.current=null)},[]),me=Me.useCallback(()=>{o([]),Y(null),A(!1),mn.setActiveChat(""),B(!1),window.scrollTo(0,0)},[]),$=Me.useCallback(X=>{const ce=mn.getChat(X);ce&&(o(ce.messages),Y(X),A(ce.messages.length>0),mn.setActiveChat(X),B(!1),window.scrollTo(0,0))},[]),fe=Me.useCallback(X=>{mn.deleteChat(X),te(mn.getAllChats()),X===ae&&me()},[ae,me]),Ee=Me.useCallback(async X=>{const ce=X-1;if(ce<0||(o(st=>{var wt;const Ye=[...st];return((wt=Ye[X])==null?void 0:wt.type)==="response"&&(Ye[X]={type:"response",content:""}),Ye}),l[ce].type!=="request"))return;const De=l.slice(0,X);p(!0),R(!1);const qe=De.map(({type:st,content:Ye})=>{const wt=st==="request"?"user":"assistant",{clean:rt,attachments:Ke}=Il(Ye);if(Ke.length===0)return{role:wt,content:rt};const Ve=[];rt.trim()&&Ve.push({type:"text",text:rt});for(const ot of Ke)ot.mime&&ot.mime.startsWith("image/")?Ve.push({type:"image_url",image_url:{url:ot.url}}):Ve.push({type:"file",text:`[File attached: ${ot.name}]
375
- File URL: ${ot.url}
376
- File type: ${ot.mime||"unknown"}`});return{role:wt,content:Ve}}),Re=new AbortController;U.current=Re;let Tt=!1;const nt=setTimeout(()=>{U.current&&(Tt=!0,U.current.abort())},12e4);try{const st={"Content-Type":"application/json"};if(n&&(Z!=null&&Z.getToken))try{const rt=await Z.getToken({template:"template"});if(rt&&(st.Authorization=`Bearer ${rt}`),ee!=null&&ee.setActive&&a)try{await ee.setActive({organization:a})}catch{}}catch{}const Ye=await fetch("/chat/completions",{method:"POST",headers:st,body:JSON.stringify({messages:qe,stream:!0}),signal:Re.signal});if(clearTimeout(nt),!Ye.ok){let rt="server",Ke=`Server returned ${Ye.status}`;if(Ye.status===429){rt="rate_limit";const Ve=Ye.headers.get("Retry-After");Ke=Ve?`Too many requests. Please try again in ${Ve} seconds.`:"Too many requests. Please wait a moment and try again."}else Ye.status>=500?Ke="Server error. Please try again later.":(Ye.status===401||Ye.status===403)&&(Ke="Authentication error. Please refresh and try again.");throw{type:rt,status:Ye.status,message:Ke}}if(await fm(Ye,rt=>{const Ke=hm(rt);o(Ve=>{const ot=[...Ve];return ot[X].content=Ke,ot})},{signal:Re.signal}),ae){const rt=[...l];o(Ke=>{const Ve=[...Ke];return mn.updateChat(ae,Ve),te(mn.getAllChats()),Ve})}p(!1),f(!0)}catch(st){clearTimeout(nt);let Ye={type:"server",message:"An unexpected error occurred",status:null};if(st.name==="AbortError")if(Tt)Ye={type:"timeout",message:"Request timed out. The server took too long to respond."};else{console.log("Regeneration stopped by user"),o(wt=>{const rt=[...wt];return rt[X].content+=`
377
-
378
- *[Generation stopped]*`,ae&&(mn.updateChat(ae,rt),te(mn.getAllChats())),rt}),p(!1),f(!0);return}else st instanceof TypeError&&st.message.includes("fetch")?Ye={type:"network",message:"Network error. Please check your connection and try again."}:st.type&&(Ye=st);console.error("Regeneration error:",st),o(wt=>{const rt=[...wt];return rt[X].error=Ye,rt}),p(!1),f(!0)}},[l,n,a,Z==null?void 0:Z.getToken,ee==null?void 0:ee.setActive,ae]),He=Me.useCallback(async X=>{const ce=X-1;if(ce<0)return;if(D(X),o(De=>{var Re;const qe=[...De];return((Re=qe[X])==null?void 0:Re.type)==="response"&&(qe[X]={type:"response",content:""}),qe}),l[ce].type==="request"){const De=l.slice(0,X);p(!0),R(!1);const qe=De.map(({type:st,content:Ye})=>{const wt=st==="request"?"user":"assistant",{clean:rt,attachments:Ke}=Il(Ye);if(Ke.length===0)return{role:wt,content:rt};const Ve=[];rt.trim()&&Ve.push({type:"text",text:rt});for(const ot of Ke)ot.mime&&ot.mime.startsWith("image/")?Ve.push({type:"image_url",image_url:{url:ot.url}}):Ve.push({type:"file",text:`[File attached: ${ot.name}]
379
- File URL: ${ot.url}
380
- File type: ${ot.mime||"unknown"}`});return{role:wt,content:Ve}}),Re=new AbortController;U.current=Re;let Tt=!1;const nt=setTimeout(()=>{U.current&&(Tt=!0,U.current.abort())},12e4);try{const st={"Content-Type":"application/json"};if(n&&(Z!=null&&Z.getToken))try{const rt=await Z.getToken({template:"template"});if(rt&&(st.Authorization=`Bearer ${rt}`),ee!=null&&ee.setActive&&a)try{await ee.setActive({organization:a})}catch{}}catch{}const Ye=await fetch("/chat/completions",{method:"POST",headers:st,body:JSON.stringify({messages:qe,stream:!0}),signal:Re.signal});if(clearTimeout(nt),!Ye.ok){let rt="server",Ke=`Server returned ${Ye.status}`;if(Ye.status===429){rt="rate_limit";const Ve=Ye.headers.get("Retry-After");Ke=Ve?`Too many requests. Please try again in ${Ve} seconds.`:"Too many requests. Please wait a moment and try again."}else Ye.status>=500?Ke="Server error. Please try again later.":(Ye.status===401||Ye.status===403)&&(Ke="Authentication error. Please refresh and try again.");throw{type:rt,status:Ye.status,message:Ke}}await fm(Ye,rt=>{const Ke=hm(rt);o(Ve=>{const ot=[...Ve];return ot[X].content=Ke,ot})},{signal:Re.signal}),ae&&o(rt=>{const Ke=[...rt];return mn.updateChat(ae,Ke),te(mn.getAllChats()),Ke}),p(!1),D(null),f(!0)}catch(st){clearTimeout(nt);let Ye={type:"server",message:"An unexpected error occurred",status:null};if(st.name==="AbortError")if(Tt)Ye={type:"timeout",message:"Request timed out. The server took too long to respond."};else{console.log("Retry stopped by user"),o(wt=>{const rt=[...wt];return rt[X].content+=`
381
-
382
- *[Generation stopped]*`,ae&&(mn.updateChat(ae,rt),te(mn.getAllChats())),rt}),p(!1),D(null),f(!0);return}else st instanceof TypeError&&st.message.includes("fetch")?Ye={type:"network",message:"Network error. Please check your connection and try again."}:st.type&&(Ye=st);console.error("Retry error:",st),o(wt=>{const rt=[...wt];return rt[X].error=Ye,rt}),p(!1),D(null),f(!0)}}},[l,n,a,Z==null?void 0:Z.getToken,ee==null?void 0:ee.setActive,ae]),x=l.length===0;return G.jsxs("div",{className:"min-h-screen",children:[G.jsx(PB,{isOpen:j,onClose:()=>B(!1),chats:Q,activeChat:ae,onSelectChat:$,onNewChat:me,onDeleteChat:fe}),G.jsx("button",{onClick:()=>B(!j),className:"fixed top-4 left-4 z-30 p-2 bg-white border border-gray-200 rounded-lg hover:bg-gray-50 transition-colors shadow-sm","aria-label":"Toggle chat history",children:G.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[G.jsx("line",{x1:"3",y1:"12",x2:"21",y2:"12"}),G.jsx("line",{x1:"3",y1:"6",x2:"21",y2:"6"}),G.jsx("line",{x1:"3",y1:"18",x2:"21",y2:"18"})]})}),G.jsxs("div",{className:"mx-auto max-w-3xl min-h-screen px-4 pb-[200px] md:pb-[180px]",children:[b&&G.jsx(MB,{fileName:b.fileName,progress:b.progress}),G.jsx("div",{className:"prose m-2 mx-auto max-w-3xl p-2 prose-pre:p-0",children:G.jsx(mm,{markdown:e,onSend:pe})}),!x&&G.jsx(G.Fragment,{children:G.jsxs("div",{className:`transition-opacity duration-500 ${v?"opacity-100":"opacity-0"}`,children:[G.jsx(DB,{messages:l,onSend:pe,onRegenerate:Ee,onRetry:He,retryingIndex:C,isGenerating:h}),G.jsx("div",{ref:J})]})}),x&&!v&&t&&t.trim()!==""&&G.jsx("div",{className:"mx-auto max-w-3xl prose prose-sm prose-pre:p-0",children:G.jsx(mm,{markdown:t,onSend:pe})}),G.jsx(RB,{onSend:pe,isLoading:h,onStop:ue})]})]})},A6=({meta:e})=>{const t=!!e.prod,n=!!e.auth,a=String(e.header??""),s=String(e.intro??""),l=String(e.title??"AI Agent"),o=t?e.pk_live:e.pk_test,d=e.org||void 0,f=typeof window<"u"?`${window.location.origin}`:"/",h=t?{isSatellite:!1,domain:"cycls.ai",signInUrl:"https://accounts.cycls.ai/sign-in",fallbackRedirectUrl:f,forceRedirectUrl:f}:{fallbackRedirectUrl:f,forceRedirectUrl:f};return n?G.jsxs(N7,{publishableKey:o,...h,children:[G.jsxs(wL,{children:[G.jsx("div",{className:"fixed right-2 top-2 z-50",children:G.jsx(cB,{})}),G.jsx(x6,{HEADER:a,INTRO:s,AUTH:n,ORG:d})]}),G.jsx(kL,{children:G.jsx(CL,{redirectUrl:f})})]}):G.jsx(x6,{HEADER:a,INTRO:s,AUTH:n,ORG:d,TITLE:l})},UB=document.getElementById("root"),zB=zv.createRoot(UB);zB.render(G.jsx(BB,{}));