cycls 0.0.2.41__py3-none-any.whl → 0.0.2.43__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.
@@ -0,0 +1,382 @@
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 H0(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var mh={exports:{}},qu={};/**
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 M4;function kv(){if(M4)return qu;M4=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 qu.Fragment=t,qu.jsx=n,qu.jsxs=n,qu}var D4;function Nv(){return D4||(D4=1,mh.exports=kv()),mh.exports}var Z=Nv(),ph={exports:{}},dt={};/**
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 I4;function Cv(){if(I4)return dt;I4=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(S){return S===null||typeof S!="object"?null:(S=b&&S[b]||S["@@iterator"],typeof S=="function"?S:null)}var v={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},A=Object.assign,k={};function I(S,K,ue){this.props=S,this.context=K,this.refs=k,this.updater=ue||v}I.prototype.isReactComponent={},I.prototype.setState=function(S,K){if(typeof S!="object"&&typeof S!="function"&&S!=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,S,K,"setState")},I.prototype.forceUpdate=function(S){this.updater.enqueueForceUpdate(this,S,"forceUpdate")};function N(){}N.prototype=I.prototype;function M(S,K,ue){this.props=S,this.context=K,this.refs=k,this.updater=ue||v}var z=M.prototype=new N;z.constructor=M,A(z,I.prototype),z.isPureReactComponent=!0;var $=Array.isArray,Y={H:null,A:null,T:null,S:null,V:null},L=Object.prototype.hasOwnProperty;function re(S,K,ue,R,Ae,Pe){return ue=Pe.ref,{$$typeof:e,type:S,key:K,ref:ue!==void 0?ue:null,props:Pe}}function X(S,K){return re(S.type,K,void 0,void 0,void 0,S.props)}function ee(S){return typeof S=="object"&&S!==null&&S.$$typeof===e}function q(S){var K={"=":"=0",":":"=2"};return"$"+S.replace(/[=:]/g,function(ue){return K[ue]})}var ce=/\/+/g;function J(S,K){return typeof S=="object"&&S!==null&&S.key!=null?q(""+S.key):K.toString(36)}function ve(){}function he(S){switch(S.status){case"fulfilled":return S.value;case"rejected":throw S.reason;default:switch(typeof S.status=="string"?S.then(ve,ve):(S.status="pending",S.then(function(K){S.status==="pending"&&(S.status="fulfilled",S.value=K)},function(K){S.status==="pending"&&(S.status="rejected",S.reason=K)})),S.status){case"fulfilled":return S.value;case"rejected":throw S.reason}}throw S}function be(S,K,ue,R,Ae){var Pe=typeof S;(Pe==="undefined"||Pe==="boolean")&&(S=null);var we=!1;if(S===null)we=!0;else switch(Pe){case"bigint":case"string":case"number":we=!0;break;case"object":switch(S.$$typeof){case e:case t:we=!0;break;case p:return we=S._init,be(we(S._payload),K,ue,R,Ae)}}if(we)return Ae=Ae(S),we=R===""?"."+J(S,0):R,$(Ae)?(ue="",we!=null&&(ue=we.replace(ce,"$&/")+"/"),be(Ae,K,ue,"",function(Wt){return Wt})):Ae!=null&&(ee(Ae)&&(Ae=X(Ae,ue+(Ae.key==null||S&&S.key===Ae.key?"":(""+Ae.key).replace(ce,"$&/")+"/")+we)),K.push(Ae)),1;we=0;var wt=R===""?".":R+":";if($(S))for(var st=0;st<S.length;st++)R=S[st],Pe=wt+J(R,st),we+=be(R,K,ue,Pe,Ae);else if(st=T(S),typeof st=="function")for(S=st.call(S),st=0;!(R=S.next()).done;)R=R.value,Pe=wt+J(R,st++),we+=be(R,K,ue,Pe,Ae);else if(Pe==="object"){if(typeof S.then=="function")return be(he(S),K,ue,R,Ae);throw K=String(S),Error("Objects are not valid as a React child (found: "+(K==="[object Object]"?"object with keys {"+Object.keys(S).join(", ")+"}":K)+"). If you meant to render a collection of children, use an array instead.")}return we}function W(S,K,ue){if(S==null)return S;var R=[],Ae=0;return be(S,R,"","",function(Pe){return K.call(ue,Pe,Ae++)}),R}function de(S){if(S._status===-1){var K=S._result;K=K(),K.then(function(ue){(S._status===0||S._status===-1)&&(S._status=1,S._result=ue)},function(ue){(S._status===0||S._status===-1)&&(S._status=2,S._result=ue)}),S._status===-1&&(S._status=0,S._result=K)}if(S._status===1)return S._result.default;throw S._result}var ge=typeof reportError=="function"?reportError:function(S){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var K=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof S=="object"&&S!==null&&typeof S.message=="string"?String(S.message):String(S),error:S});if(!window.dispatchEvent(K))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",S);return}console.error(S)};function Fe(){}return dt.Children={map:W,forEach:function(S,K,ue){W(S,function(){K.apply(this,arguments)},ue)},count:function(S){var K=0;return W(S,function(){K++}),K},toArray:function(S){return W(S,function(K){return K})||[]},only:function(S){if(!ee(S))throw Error("React.Children.only expected to receive a single React element child.");return S}},dt.Component=I,dt.Fragment=n,dt.Profiler=s,dt.PureComponent=M,dt.StrictMode=a,dt.Suspense=f,dt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=Y,dt.__COMPILER_RUNTIME={__proto__:null,c:function(S){return Y.H.useMemoCache(S)}},dt.cache=function(S){return function(){return S.apply(null,arguments)}},dt.cloneElement=function(S,K,ue){if(S==null)throw Error("The argument must be a React element, but you passed "+S+".");var R=A({},S.props),Ae=S.key,Pe=void 0;if(K!=null)for(we in K.ref!==void 0&&(Pe=void 0),K.key!==void 0&&(Ae=""+K.key),K)!L.call(K,we)||we==="key"||we==="__self"||we==="__source"||we==="ref"&&K.ref===void 0||(R[we]=K[we]);var we=arguments.length-2;if(we===1)R.children=ue;else if(1<we){for(var wt=Array(we),st=0;st<we;st++)wt[st]=arguments[st+2];R.children=wt}return re(S.type,Ae,void 0,void 0,Pe,R)},dt.createContext=function(S){return S={$$typeof:o,_currentValue:S,_currentValue2:S,_threadCount:0,Provider:null,Consumer:null},S.Provider=S,S.Consumer={$$typeof:l,_context:S},S},dt.createElement=function(S,K,ue){var R,Ae={},Pe=null;if(K!=null)for(R in K.key!==void 0&&(Pe=""+K.key),K)L.call(K,R)&&R!=="key"&&R!=="__self"&&R!=="__source"&&(Ae[R]=K[R]);var we=arguments.length-2;if(we===1)Ae.children=ue;else if(1<we){for(var wt=Array(we),st=0;st<we;st++)wt[st]=arguments[st+2];Ae.children=wt}if(S&&S.defaultProps)for(R in we=S.defaultProps,we)Ae[R]===void 0&&(Ae[R]=we[R]);return re(S,Pe,void 0,void 0,null,Ae)},dt.createRef=function(){return{current:null}},dt.forwardRef=function(S){return{$$typeof:d,render:S}},dt.isValidElement=ee,dt.lazy=function(S){return{$$typeof:p,_payload:{_status:-1,_result:S},_init:de}},dt.memo=function(S,K){return{$$typeof:h,type:S,compare:K===void 0?null:K}},dt.startTransition=function(S){var K=Y.T,ue={};Y.T=ue;try{var R=S(),Ae=Y.S;Ae!==null&&Ae(ue,R),typeof R=="object"&&R!==null&&typeof R.then=="function"&&R.then(Fe,ge)}catch(Pe){ge(Pe)}finally{Y.T=K}},dt.unstable_useCacheRefresh=function(){return Y.H.useCacheRefresh()},dt.use=function(S){return Y.H.use(S)},dt.useActionState=function(S,K,ue){return Y.H.useActionState(S,K,ue)},dt.useCallback=function(S,K){return Y.H.useCallback(S,K)},dt.useContext=function(S){return Y.H.useContext(S)},dt.useDebugValue=function(){},dt.useDeferredValue=function(S,K){return Y.H.useDeferredValue(S,K)},dt.useEffect=function(S,K,ue){var R=Y.H;if(typeof ue=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return R.useEffect(S,K)},dt.useId=function(){return Y.H.useId()},dt.useImperativeHandle=function(S,K,ue){return Y.H.useImperativeHandle(S,K,ue)},dt.useInsertionEffect=function(S,K){return Y.H.useInsertionEffect(S,K)},dt.useLayoutEffect=function(S,K){return Y.H.useLayoutEffect(S,K)},dt.useMemo=function(S,K){return Y.H.useMemo(S,K)},dt.useOptimistic=function(S,K){return Y.H.useOptimistic(S,K)},dt.useReducer=function(S,K,ue){return Y.H.useReducer(S,K,ue)},dt.useRef=function(S){return Y.H.useRef(S)},dt.useState=function(S){return Y.H.useState(S)},dt.useSyncExternalStore=function(S,K,ue){return Y.H.useSyncExternalStore(S,K,ue)},dt.useTransition=function(){return Y.H.useTransition()},dt.version="19.1.0",dt}var L4;function q0(){return L4||(L4=1,ph.exports=Cv()),ph.exports}var Be=q0();const pe=H0(Be);var gh={exports:{}},Yu={},bh={exports:{}},Eh={};/**
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 B4;function Ov(){return B4||(B4=1,function(e){function t(W,de){var ge=W.length;W.push(de);e:for(;0<ge;){var Fe=ge-1>>>1,S=W[Fe];if(0<s(S,de))W[Fe]=de,W[ge]=S,ge=Fe;else break e}}function n(W){return W.length===0?null:W[0]}function a(W){if(W.length===0)return null;var de=W[0],ge=W.pop();if(ge!==de){W[0]=ge;e:for(var Fe=0,S=W.length,K=S>>>1;Fe<K;){var ue=2*(Fe+1)-1,R=W[ue],Ae=ue+1,Pe=W[Ae];if(0>s(R,ge))Ae<S&&0>s(Pe,R)?(W[Fe]=Pe,W[Ae]=ge,Fe=Ae):(W[Fe]=R,W[ue]=ge,Fe=ue);else if(Ae<S&&0>s(Pe,ge))W[Fe]=Pe,W[Ae]=ge,Fe=Ae;else break e}}return de}function s(W,de){var ge=W.sortIndex-de.sortIndex;return ge!==0?ge:W.id-de.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,I=!1,N=typeof setTimeout=="function"?setTimeout:null,M=typeof clearTimeout=="function"?clearTimeout:null,z=typeof setImmediate<"u"?setImmediate:null;function $(W){for(var de=n(h);de!==null;){if(de.callback===null)a(h);else if(de.startTime<=W)a(h),de.sortIndex=de.expirationTime,t(f,de);else break;de=n(h)}}function Y(W){if(k=!1,$(W),!A)if(n(f)!==null)A=!0,L||(L=!0,J());else{var de=n(h);de!==null&&be(Y,de.startTime-W)}}var L=!1,re=-1,X=5,ee=-1;function q(){return I?!0:!(e.unstable_now()-ee<X)}function ce(){if(I=!1,L){var W=e.unstable_now();ee=W;var de=!0;try{e:{A=!1,k&&(k=!1,M(re),re=-1),v=!0;var ge=T;try{t:{for($(W),b=n(f);b!==null&&!(b.expirationTime>W&&q());){var Fe=b.callback;if(typeof Fe=="function"){b.callback=null,T=b.priorityLevel;var S=Fe(b.expirationTime<=W);if(W=e.unstable_now(),typeof S=="function"){b.callback=S,$(W),de=!0;break t}b===n(f)&&a(f),$(W)}else a(f);b=n(f)}if(b!==null)de=!0;else{var K=n(h);K!==null&&be(Y,K.startTime-W),de=!1}}break e}finally{b=null,T=ge,v=!1}de=void 0}}finally{de?J():L=!1}}}var J;if(typeof z=="function")J=function(){z(ce)};else if(typeof MessageChannel<"u"){var ve=new MessageChannel,he=ve.port2;ve.port1.onmessage=ce,J=function(){he.postMessage(null)}}else J=function(){N(ce,0)};function be(W,de){re=N(function(){W(e.unstable_now())},de)}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(W){W.callback=null},e.unstable_forceFrameRate=function(W){0>W||125<W?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):X=0<W?Math.floor(1e3/W):5},e.unstable_getCurrentPriorityLevel=function(){return T},e.unstable_next=function(W){switch(T){case 1:case 2:case 3:var de=3;break;default:de=T}var ge=T;T=de;try{return W()}finally{T=ge}},e.unstable_requestPaint=function(){I=!0},e.unstable_runWithPriority=function(W,de){switch(W){case 1:case 2:case 3:case 4:case 5:break;default:W=3}var ge=T;T=W;try{return de()}finally{T=ge}},e.unstable_scheduleCallback=function(W,de,ge){var Fe=e.unstable_now();switch(typeof ge=="object"&&ge!==null?(ge=ge.delay,ge=typeof ge=="number"&&0<ge?Fe+ge:Fe):ge=Fe,W){case 1:var S=-1;break;case 2:S=250;break;case 5:S=1073741823;break;case 4:S=1e4;break;default:S=5e3}return S=ge+S,W={id:p++,callback:de,priorityLevel:W,startTime:ge,expirationTime:S,sortIndex:-1},ge>Fe?(W.sortIndex=ge,t(h,W),n(f)===null&&W===n(h)&&(k?(M(re),re=-1):k=!0,be(Y,ge-Fe))):(W.sortIndex=S,t(f,W),A||v||(A=!0,L||(L=!0,J()))),W},e.unstable_shouldYield=q,e.unstable_wrapCallback=function(W){var de=T;return function(){var ge=T;T=de;try{return W.apply(this,arguments)}finally{T=ge}}}}(Eh)),Eh}var P4;function Rv(){return P4||(P4=1,bh.exports=Ov()),bh.exports}var yh={exports:{}},$n={};/**
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 U4;function Mv(){if(U4)return $n;U4=1;var e=q0();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 $n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=a,$n.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)},$n.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()}},$n.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))},$n.prefetchDNS=function(f){typeof f=="string"&&a.d.D(f)},$n.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})}},$n.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)},$n.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})}},$n.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)},$n.requestFormReset=function(f){a.d.r(f)},$n.unstable_batchedUpdates=function(f,h){return f(h)},$n.useFormState=function(f,h,p){return o.H.useFormState(f,h,p)},$n.useFormStatus=function(){return o.H.useHostTransitionStatus()},$n.version="19.1.0",$n}var z4;function S6(){if(z4)return yh.exports;z4=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(),yh.exports=Mv(),yh.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 F4;function Dv(){if(F4)return Yu;F4=1;var e=Rv(),t=q0(),n=S6();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 x=!1,C=m.child;C;){if(C===u){x=!0,u=m,c=g;break}if(C===c){x=!0,c=m,u=g;break}C=C.sibling}if(!x){for(C=g.child;C;){if(C===u){x=!0,u=g,c=m;break}if(C===c){x=!0,c=g,u=m;break}C=C.sibling}if(!x)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"),I=Symbol.for("react.profiler"),N=Symbol.for("react.provider"),M=Symbol.for("react.consumer"),z=Symbol.for("react.context"),$=Symbol.for("react.forward_ref"),Y=Symbol.for("react.suspense"),L=Symbol.for("react.suspense_list"),re=Symbol.for("react.memo"),X=Symbol.for("react.lazy"),ee=Symbol.for("react.activity"),q=Symbol.for("react.memo_cache_sentinel"),ce=Symbol.iterator;function J(r){return r===null||typeof r!="object"?null:(r=ce&&r[ce]||r["@@iterator"],typeof r=="function"?r:null)}var ve=Symbol.for("react.client.reference");function he(r){if(r==null)return null;if(typeof r=="function")return r.$$typeof===ve?null:r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case A:return"Fragment";case I:return"Profiler";case k:return"StrictMode";case Y:return"Suspense";case L:return"SuspenseList";case ee:return"Activity"}if(typeof r=="object")switch(r.$$typeof){case v:return"Portal";case z:return(r.displayName||"Context")+".Provider";case M:return(r._context.displayName||"Context")+".Consumer";case $:var i=r.render;return r=r.displayName,r||(r=i.displayName||i.name||"",r=r!==""?"ForwardRef("+r+")":"ForwardRef"),r;case re:return i=r.displayName||null,i!==null?i:he(r.type)||"Memo";case X:i=r._payload,r=r._init;try{return he(r(i))}catch{}}return null}var be=Array.isArray,W=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,de=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ge={pending:!1,data:null,method:null,action:null},Fe=[],S=-1;function K(r){return{current:r}}function ue(r){0>S||(r.current=Fe[S],Fe[S]=null,S--)}function R(r,i){S++,Fe[S]=r.current,r.current=i}var Ae=K(null),Pe=K(null),we=K(null),wt=K(null);function st(r,i){switch(R(we,i),R(Pe,r),R(Ae,null),i.nodeType){case 9:case 11:r=(r=i.documentElement)&&(r=r.namespaceURI)?s4(r):0;break;default:if(r=i.tagName,i=i.namespaceURI)i=s4(i),r=l4(i,r);else switch(r){case"svg":r=1;break;case"math":r=2;break;default:r=0}}ue(Ae),R(Ae,r)}function Wt(){ue(Ae),ue(Pe),ue(we)}function Pt(r){r.memoizedState!==null&&R(wt,r);var i=Ae.current,u=l4(i,r.type);i!==u&&(R(Pe,r),R(Ae,u))}function In(r){Pe.current===r&&(ue(Ae),ue(Pe)),wt.current===r&&(ue(wt),Pu._currentValue=ge)}var zr=Object.prototype.hasOwnProperty,vt=e.unstable_scheduleCallback,mt=e.unstable_cancelCallback,Ut=e.unstable_shouldYield,Ke=e.unstable_requestPaint,xt=e.unstable_now,an=e.unstable_getCurrentPriorityLevel,Nt=e.unstable_ImmediatePriority,Zt=e.unstable_UserBlockingPriority,Ln=e.unstable_NormalPriority,di=e.unstable_LowPriority,pa=e.unstable_IdlePriority,cr=e.log,Cn=e.unstable_setDisableYieldValue,oe=null,Se=null;function $e(r){if(typeof cr=="function"&&Cn(r),Se&&typeof Se.setStrictMode=="function")try{Se.setStrictMode(oe,r)}catch{}}var Qe=Math.clz32?Math.clz32:aa,Rt=Math.log,Zn=Math.LN2;function aa(r){return r>>>=0,r===0?32:31-(Rt(r)/Zn|0)|0}var jn=256,Sr=4194304;function Jn(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 Tn(r,i,u){var c=r.pendingLanes;if(c===0)return 0;var m=0,g=r.suspendedLanes,x=r.pingedLanes;r=r.warmLanes;var C=c&134217727;return C!==0?(c=C&~g,c!==0?m=Jn(c):(x&=C,x!==0?m=Jn(x):u||(u=C&~r,u!==0&&(m=Jn(u))))):(C=c&~g,C!==0?m=Jn(C):x!==0?m=Jn(x):u||(u=c&~r,u!==0&&(m=Jn(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 dr(r,i){return(r.pendingLanes&~(r.suspendedLanes&~r.pingedLanes)&i)===0}function er(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 Yl(){var r=jn;return jn<<=1,(jn&4194048)===0&&(jn=256),r}function Gl(){var r=Sr;return Sr<<=1,(Sr&62914560)===0&&(Sr=4194304),r}function jl(r){for(var i=[],u=0;31>u;u++)i.push(r);return i}function fi(r,i){r.pendingLanes|=i,i!==268435456&&(r.suspendedLanes=0,r.pingedLanes=0,r.warmLanes=0)}function hi(r,i,u,c,m,g){var x=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 C=r.entanglements,H=r.expirationTimes,ae=r.hiddenUpdates;for(u=x&~u;0<u;){var me=31-Qe(u),Te=1<<me;C[me]=0,H[me]=-1;var se=ae[me];if(se!==null)for(ae[me]=null,me=0;me<se.length;me++){var le=se[me];le!==null&&(le.lane&=-536870913)}u&=~Te}c!==0&&G(r,c,0),g!==0&&m===0&&r.tag!==0&&(r.suspendedLanes|=g&~(x&~i))}function G(r,i,u){r.pendingLanes|=i,r.suspendedLanes&=~i;var c=31-Qe(i);r.entangledLanes|=i,r.entanglements[c]=r.entanglements[c]|1073741824|u&4194090}function Ee(r,i){var u=r.entangledLanes|=i;for(r=r.entanglements;u;){var c=31-Qe(u),m=1<<c;m&i|r[c]&i&&(r[c]|=i),u&=~m}}function Le(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 rt(r){return r&=-r,2<r?8<r?(r&134217727)!==0?32:268435456:8:2}function Jt(){var r=de.p;return r!==0?r:(r=window.event,r===void 0?32:w4(r.type))}function sn(r,i){var u=de.p;try{return de.p=r,i()}finally{de.p=u}}var He=Math.random().toString(36).slice(2),Ie="__reactFiber$"+He,je="__reactProps$"+He,Qt="__reactContainer$"+He,en="__reactEvents$"+He,ns="__reactListeners$"+He,Vl="__reactHandles$"+He,Ps="__reactResources$"+He,rs="__reactMarker$"+He;function as(r){delete r[Ie],delete r[je],delete r[en],delete r[ns],delete r[Vl]}function mi(r){var i=r[Ie];if(i)return i;for(var u=r.parentNode;u;){if(i=u[Qt]||u[Ie]){if(u=i.alternate,i.child!==null||u!==null&&u.child!==null)for(r=d4(r);r!==null;){if(u=r[Ie])return u;r=d4(r)}return i}r=u,u=r.parentNode}return null}function pi(r){if(r=r[Ie]||r[Qt]){var i=r.tag;if(i===5||i===6||i===13||i===26||i===27||i===3)return r}return null}function is(r){var i=r.tag;if(i===5||i===26||i===27||i===6)return r.stateNode;throw Error(a(33))}function La(r){var i=r[Ps];return i||(i=r[Ps]={hoistableStyles:new Map,hoistableScripts:new Map}),i}function ln(r){r[rs]=!0}var Lo=new Set,Bo={};function Ba(r,i){tr(r,i),tr(r+"Capture",i)}function tr(r,i){for(Bo[r]=i,r=0;r<i.length;r++)Lo.add(i[r])}var Po=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]*$"),Kl={},Uo={};function md(r){return zr.call(Uo,r)?!0:zr.call(Kl,r)?!1:Po.test(r)?Uo[r]=!0:(Kl[r]=!0,!1)}function Us(r,i,u){if(md(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 Pa(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 ia(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 Oe,Xe;function ot(r){if(Oe===void 0)try{throw Error()}catch(u){var i=u.stack.trim().match(/\n( *(at )?)/);Oe=i&&i[1]||"",Xe=-1<u.stack.indexOf(`
42
+ at`)?" (<anonymous>)":-1<u.stack.indexOf("@")?"@unknown:0:0":""}return`
43
+ `+Oe+r+Xe}var Dt=!1;function un(r,i){if(!r||Dt)return"";Dt=!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(le){var se=le}Reflect.construct(r,[],Te)}else{try{Te.call()}catch(le){se=le}r.call(Te.prototype)}}else{try{throw Error()}catch(le){se=le}(Te=r())&&typeof Te.catch=="function"&&Te.catch(function(){})}}catch(le){if(le&&se&&typeof le.stack=="string")return[le.stack,se.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(),x=g[0],C=g[1];if(x&&C){var H=x.split(`
44
+ `),ae=C.split(`
45
+ `);for(m=c=0;c<H.length&&!H[c].includes("DetermineComponentFrameRoot");)c++;for(;m<ae.length&&!ae[m].includes("DetermineComponentFrameRoot");)m++;if(c===H.length||m===ae.length)for(c=H.length-1,m=ae.length-1;1<=c&&0<=m&&H[c]!==ae[m];)m--;for(;1<=c&&0<=m;c--,m--)if(H[c]!==ae[m]){if(c!==1||m!==1)do if(c--,m--,0>m||H[c]!==ae[m]){var me=`
46
+ `+H[c].replace(" at new "," at ");return r.displayName&&me.includes("<anonymous>")&&(me=me.replace("<anonymous>",r.displayName)),me}while(1<=c&&0<=m);break}}}finally{Dt=!1,Error.prepareStackTrace=u}return(u=r?r.displayName||r.name:"")?ot(u):""}function xr(r){switch(r.tag){case 26:case 27:case 5:return ot(r.type);case 16:return ot("Lazy");case 13:return ot("Suspense");case 19:return ot("SuspenseList");case 0:case 15:return un(r.type,!1);case 11:return un(r.type.render,!1);case 1:return un(r.type,!0);case 31:return ot("Activity");default:return""}}function sa(r){try{var i="";do i+=xr(r),r=r.return;while(r);return i}catch(u){return`
47
+ Error generating stack: `+u.message+`
48
+ `+u.stack}}function Hn(r){switch(typeof r){case"bigint":case"boolean":case"number":case"string":case"undefined":return r;case"object":return r;default:return""}}function Vn(r){var i=r.type;return(r=r.nodeName)&&r.toLowerCase()==="input"&&(i==="checkbox"||i==="radio")}function Fr(r){var i=Vn(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(x){c=""+x,g.call(this,x)}}),Object.defineProperty(r,i,{enumerable:u.enumerable}),{getValue:function(){return c},setValue:function(x){c=""+x},stopTracking:function(){r._valueTracker=null,delete r[i]}}}}function ss(r){r._valueTracker||(r._valueTracker=Fr(r))}function $l(r){if(!r)return!1;var i=r._valueTracker;if(!i)return!0;var u=i.getValue(),c="";return r&&(c=Vn(r)?r.checked?"true":"false":r.value),r=c,r!==u?(i.setValue(r),!0):!1}function ls(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 pd=/[\n"\\]/g;function fr(r){return r.replace(pd,function(i){return"\\"+i.charCodeAt(0).toString(16)+" "})}function Xl(r,i,u,c,m,g,x,C){r.name="",x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"?r.type=x:r.removeAttribute("type"),i!=null?x==="number"?(i===0&&r.value===""||r.value!=i)&&(r.value=""+Hn(i)):r.value!==""+Hn(i)&&(r.value=""+Hn(i)):x!=="submit"&&x!=="reset"||r.removeAttribute("value"),i!=null?gi(r,x,Hn(i)):u!=null?gi(r,x,Hn(u)):c!=null&&r.removeAttribute("value"),m==null&&g!=null&&(r.defaultChecked=!!g),m!=null&&(r.checked=m&&typeof m!="function"&&typeof m!="symbol"),C!=null&&typeof C!="function"&&typeof C!="symbol"&&typeof C!="boolean"?r.name=""+Hn(C):r.removeAttribute("name")}function zo(r,i,u,c,m,g,x,C){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?""+Hn(u):"",i=i!=null?""+Hn(i):u,C||i===r.value||(r.value=i),r.defaultValue=i}c=c??m,c=typeof c!="function"&&typeof c!="symbol"&&!!c,r.checked=C?r.checked:!!c,r.defaultChecked=!!c,x!=null&&typeof x!="function"&&typeof x!="symbol"&&typeof x!="boolean"&&(r.name=x)}function gi(r,i,u){i==="number"&&ls(r.ownerDocument)===r||r.defaultValue===""+u||(r.defaultValue=""+u)}function Ua(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=""+Hn(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 Ar(r,i,u){if(i!=null&&(i=""+Hn(i),i!==r.value&&(r.value=i),u==null)){r.defaultValue!==i&&(r.defaultValue=i);return}r.defaultValue=u!=null?""+Hn(u):""}function Fo(r,i,u,c){if(i==null){if(c!=null){if(u!=null)throw Error(a(92));if(be(c)){if(1<c.length)throw Error(a(93));c=c[0]}u=c}u==null&&(u=""),i=u}u=Hn(i),r.defaultValue=u,c=r.textContent,c===u&&c!==""&&c!==null&&(r.value=c)}function ga(r,i){if(i){var u=r.firstChild;if(u&&u===r.lastChild&&u.nodeType===3){u.nodeValue=i;return}}r.textContent=i}var ut=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 Wl(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||ut.has(i)?i==="float"?r.cssFloat=u:r[i]=(""+u).trim():r[i]=u+"px"}function _n(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&&Wl(r,m,c)}else for(var g in i)i.hasOwnProperty(g)&&Wl(r,g,i[g])}function It(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 zs=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"]]),za=/^[\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 bi(r){return za.test(""+r)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":r}var us=null;function Ue(r){return r=r.target||r.srcElement||window,r.correspondingUseElement&&(r=r.correspondingUseElement),r.nodeType===3?r.parentNode:r}var Ye=null,lt=null;function Ct(r){var i=pi(r);if(i&&(r=i.stateNode)){var u=r[je]||null;e:switch(r=i.stateNode,i.type){case"input":if(Xl(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="'+fr(""+i)+'"][type="radio"]'),i=0;i<u.length;i++){var c=u[i];if(c!==r&&c.form===r.form){var m=c[je]||null;if(!m)throw Error(a(90));Xl(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&&$l(c)}break e;case"textarea":Ar(r,u.value,u.defaultValue);break e;case"select":i=u.value,i!=null&&Ua(r,!!u.multiple,i,!1)}}}var Sn=!1;function Hr(r,i,u){if(Sn)return r(i,u);Sn=!0;try{var c=r(i);return c}finally{if(Sn=!1,(Ye!==null||lt!==null)&&(Ac(),Ye&&(i=Ye,r=lt,lt=Ye=null,Ct(i),r)))for(i=0;i<r.length;i++)Ct(r[i])}}function os(r,i){var u=r.stateNode;if(u===null)return null;var c=u[je]||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 la=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),gd=!1;if(la)try{var Ql={};Object.defineProperty(Ql,"passive",{get:function(){gd=!0}}),window.addEventListener("test",Ql,Ql),window.removeEventListener("test",Ql,Ql)}catch{gd=!1}var Ei=null,bd=null,Ho=null;function cp(){if(Ho)return Ho;var r,i=bd,u=i.length,c,m="value"in Ei?Ei.value:Ei.textContent,g=m.length;for(r=0;r<u&&i[r]===m[r];r++);var x=u-r;for(c=1;c<=x&&i[u-c]===m[g-c];c++);return Ho=m.slice(r,1<c?1-c:void 0)}function qo(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 Yo(){return!0}function dp(){return!1}function hr(r){function i(u,c,m,g,x){this._reactName=u,this._targetInst=m,this.type=c,this.nativeEvent=g,this.target=x,this.currentTarget=null;for(var C in r)r.hasOwnProperty(C)&&(u=r[C],this[C]=u?u(g):g[C]);return this.isDefaultPrevented=(g.defaultPrevented!=null?g.defaultPrevented:g.returnValue===!1)?Yo:dp,this.isPropagationStopped=dp,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=Yo)},stopPropagation:function(){var u=this.nativeEvent;u&&(u.stopPropagation?u.stopPropagation():typeof u.cancelBubble!="unknown"&&(u.cancelBubble=!0),this.isPropagationStopped=Yo)},persist:function(){},isPersistent:Yo}),i}var cs={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(r){return r.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Go=hr(cs),Zl=p({},cs,{view:0,detail:0}),k7=hr(Zl),Ed,yd,Jl,jo=p({},Zl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Td,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!==Jl&&(Jl&&r.type==="mousemove"?(Ed=r.screenX-Jl.screenX,yd=r.screenY-Jl.screenY):yd=Ed=0,Jl=r),Ed)},movementY:function(r){return"movementY"in r?r.movementY:yd}}),fp=hr(jo),N7=p({},jo,{dataTransfer:0}),C7=hr(N7),O7=p({},Zl,{relatedTarget:0}),vd=hr(O7),R7=p({},cs,{animationName:0,elapsedTime:0,pseudoElement:0}),M7=hr(R7),D7=p({},cs,{clipboardData:function(r){return"clipboardData"in r?r.clipboardData:window.clipboardData}}),I7=hr(D7),L7=p({},cs,{data:0}),hp=hr(L7),B7={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},P7={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"},U7={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function z7(r){var i=this.nativeEvent;return i.getModifierState?i.getModifierState(r):(r=U7[r])?!!i[r]:!1}function Td(){return z7}var F7=p({},Zl,{key:function(r){if(r.key){var i=B7[r.key]||r.key;if(i!=="Unidentified")return i}return r.type==="keypress"?(r=qo(r),r===13?"Enter":String.fromCharCode(r)):r.type==="keydown"||r.type==="keyup"?P7[r.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Td,charCode:function(r){return r.type==="keypress"?qo(r):0},keyCode:function(r){return r.type==="keydown"||r.type==="keyup"?r.keyCode:0},which:function(r){return r.type==="keypress"?qo(r):r.type==="keydown"||r.type==="keyup"?r.keyCode:0}}),H7=hr(F7),q7=p({},jo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),mp=hr(q7),Y7=p({},Zl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Td}),G7=hr(Y7),j7=p({},cs,{propertyName:0,elapsedTime:0,pseudoElement:0}),V7=hr(j7),K7=p({},jo,{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}),$7=hr(K7),X7=p({},cs,{newState:0,oldState:0}),W7=hr(X7),Q7=[9,13,27,32],_d=la&&"CompositionEvent"in window,eu=null;la&&"documentMode"in document&&(eu=document.documentMode);var Z7=la&&"TextEvent"in window&&!eu,pp=la&&(!_d||eu&&8<eu&&11>=eu),gp=" ",bp=!1;function Ep(r,i){switch(r){case"keyup":return Q7.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function yp(r){return r=r.detail,typeof r=="object"&&"data"in r?r.data:null}var Fs=!1;function J7(r,i){switch(r){case"compositionend":return yp(i);case"keypress":return i.which!==32?null:(bp=!0,gp);case"textInput":return r=i.data,r===gp&&bp?null:r;default:return null}}function e8(r,i){if(Fs)return r==="compositionend"||!_d&&Ep(r,i)?(r=cp(),Ho=bd=Ei=null,Fs=!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 pp&&i.locale!=="ko"?null:i.data;default:return null}}var t8={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 vp(r){var i=r&&r.nodeName&&r.nodeName.toLowerCase();return i==="input"?!!t8[r.type]:i==="textarea"}function Tp(r,i,u,c){Ye?lt?lt.push(c):lt=[c]:Ye=c,i=Rc(i,"onChange"),0<i.length&&(u=new Go("onChange","change",null,u,c),r.push({event:u,listeners:i}))}var tu=null,nu=null;function n8(r){t4(r,0)}function Vo(r){var i=is(r);if($l(i))return r}function _p(r,i){if(r==="change")return i}var Sp=!1;if(la){var Sd;if(la){var xd="oninput"in document;if(!xd){var xp=document.createElement("div");xp.setAttribute("oninput","return;"),xd=typeof xp.oninput=="function"}Sd=xd}else Sd=!1;Sp=Sd&&(!document.documentMode||9<document.documentMode)}function Ap(){tu&&(tu.detachEvent("onpropertychange",wp),nu=tu=null)}function wp(r){if(r.propertyName==="value"&&Vo(nu)){var i=[];Tp(i,nu,r,Ue(r)),Hr(n8,i)}}function r8(r,i,u){r==="focusin"?(Ap(),tu=i,nu=u,tu.attachEvent("onpropertychange",wp)):r==="focusout"&&Ap()}function a8(r){if(r==="selectionchange"||r==="keyup"||r==="keydown")return Vo(nu)}function i8(r,i){if(r==="click")return Vo(i)}function s8(r,i){if(r==="input"||r==="change")return Vo(i)}function l8(r,i){return r===i&&(r!==0||1/r===1/i)||r!==r&&i!==i}var wr=typeof Object.is=="function"?Object.is:l8;function ru(r,i){if(wr(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(!zr.call(i,m)||!wr(r[m],i[m]))return!1}return!0}function kp(r){for(;r&&r.firstChild;)r=r.firstChild;return r}function Np(r,i){var u=kp(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=kp(u)}}function Cp(r,i){return r&&i?r===i?!0:r&&r.nodeType===3?!1:i&&i.nodeType===3?Cp(r,i.parentNode):"contains"in r?r.contains(i):r.compareDocumentPosition?!!(r.compareDocumentPosition(i)&16):!1:!1}function Op(r){r=r!=null&&r.ownerDocument!=null&&r.ownerDocument.defaultView!=null?r.ownerDocument.defaultView:window;for(var i=ls(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=ls(r.document)}return i}function Ad(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 u8=la&&"documentMode"in document&&11>=document.documentMode,Hs=null,wd=null,au=null,kd=!1;function Rp(r,i,u){var c=u.window===u?u.document:u.nodeType===9?u:u.ownerDocument;kd||Hs==null||Hs!==ls(c)||(c=Hs,"selectionStart"in c&&Ad(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}),au&&ru(au,c)||(au=c,c=Rc(wd,"onSelect"),0<c.length&&(i=new Go("onSelect","select",null,i,u),r.push({event:i,listeners:c}),i.target=Hs)))}function ds(r,i){var u={};return u[r.toLowerCase()]=i.toLowerCase(),u["Webkit"+r]="webkit"+i,u["Moz"+r]="moz"+i,u}var qs={animationend:ds("Animation","AnimationEnd"),animationiteration:ds("Animation","AnimationIteration"),animationstart:ds("Animation","AnimationStart"),transitionrun:ds("Transition","TransitionRun"),transitionstart:ds("Transition","TransitionStart"),transitioncancel:ds("Transition","TransitionCancel"),transitionend:ds("Transition","TransitionEnd")},Nd={},Mp={};la&&(Mp=document.createElement("div").style,"AnimationEvent"in window||(delete qs.animationend.animation,delete qs.animationiteration.animation,delete qs.animationstart.animation),"TransitionEvent"in window||delete qs.transitionend.transition);function fs(r){if(Nd[r])return Nd[r];if(!qs[r])return r;var i=qs[r],u;for(u in i)if(i.hasOwnProperty(u)&&u in Mp)return Nd[r]=i[u];return r}var Dp=fs("animationend"),Ip=fs("animationiteration"),Lp=fs("animationstart"),o8=fs("transitionrun"),c8=fs("transitionstart"),d8=fs("transitioncancel"),Bp=fs("transitionend"),Pp=new Map,Cd="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(" ");Cd.push("scrollEnd");function ua(r,i){Pp.set(r,i),Ba(i,[r])}var Up=new WeakMap;function qr(r,i){if(typeof r=="object"&&r!==null){var u=Up.get(r);return u!==void 0?u:(i={value:r,source:i,stack:sa(i)},Up.set(r,i),i)}return{value:r,source:i,stack:sa(i)}}var Yr=[],Ys=0,Od=0;function Ko(){for(var r=Ys,i=Od=Ys=0;i<r;){var u=Yr[i];Yr[i++]=null;var c=Yr[i];Yr[i++]=null;var m=Yr[i];Yr[i++]=null;var g=Yr[i];if(Yr[i++]=null,c!==null&&m!==null){var x=c.pending;x===null?m.next=m:(m.next=x.next,x.next=m),c.pending=m}g!==0&&zp(u,m,g)}}function $o(r,i,u,c){Yr[Ys++]=r,Yr[Ys++]=i,Yr[Ys++]=u,Yr[Ys++]=c,Od|=c,r.lanes|=c,r=r.alternate,r!==null&&(r.lanes|=c)}function Rd(r,i,u,c){return $o(r,i,u,c),Xo(r)}function Gs(r,i){return $o(r,null,null,i),Xo(r)}function zp(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-Qe(u),r=g.hiddenUpdates,c=r[m],c===null?r[m]=[i]:c.push(i),i.lane=u|536870912),g):null}function Xo(r){if(50<Cu)throw Cu=0,Uf=null,Error(a(185));for(var i=r.return;i!==null;)r=i,i=r.return;return r.tag===3?r.stateNode:null}var js={};function f8(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 kr(r,i,u,c){return new f8(r,i,u,c)}function Md(r){return r=r.prototype,!(!r||!r.isReactComponent)}function Fa(r,i){var u=r.alternate;return u===null?(u=kr(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 Fp(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 Wo(r,i,u,c,m,g){var x=0;if(c=r,typeof r=="function")Md(r)&&(x=1);else if(typeof r=="string")x=mv(r,u,Ae.current)?26:r==="html"||r==="head"||r==="body"?27:5;else e:switch(r){case ee:return r=kr(31,u,i,m),r.elementType=ee,r.lanes=g,r;case A:return hs(u.children,m,g,i);case k:x=8,m|=24;break;case I:return r=kr(12,u,i,m|2),r.elementType=I,r.lanes=g,r;case Y:return r=kr(13,u,i,m),r.elementType=Y,r.lanes=g,r;case L:return r=kr(19,u,i,m),r.elementType=L,r.lanes=g,r;default:if(typeof r=="object"&&r!==null)switch(r.$$typeof){case N:case z:x=10;break e;case M:x=9;break e;case $:x=11;break e;case re:x=14;break e;case X:x=16,c=null;break e}x=29,u=Error(a(130,r===null?"null":typeof r,"")),c=null}return i=kr(x,u,i,m),i.elementType=r,i.type=c,i.lanes=g,i}function hs(r,i,u,c){return r=kr(7,r,c,i),r.lanes=u,r}function Dd(r,i,u){return r=kr(6,r,null,i),r.lanes=u,r}function Id(r,i,u){return i=kr(4,r.children!==null?r.children:[],r.key,i),i.lanes=u,i.stateNode={containerInfo:r.containerInfo,pendingChildren:null,implementation:r.implementation},i}var Vs=[],Ks=0,Qo=null,Zo=0,Gr=[],jr=0,ms=null,Ha=1,qa="";function ps(r,i){Vs[Ks++]=Zo,Vs[Ks++]=Qo,Qo=r,Zo=i}function Hp(r,i,u){Gr[jr++]=Ha,Gr[jr++]=qa,Gr[jr++]=ms,ms=r;var c=Ha;r=qa;var m=32-Qe(c)-1;c&=~(1<<m),u+=1;var g=32-Qe(i)+m;if(30<g){var x=m-m%5;g=(c&(1<<x)-1).toString(32),c>>=x,m-=x,Ha=1<<32-Qe(i)+m|u<<m|c,qa=g+r}else Ha=1<<g|u<<m|c,qa=r}function Ld(r){r.return!==null&&(ps(r,1),Hp(r,1,0))}function Bd(r){for(;r===Qo;)Qo=Vs[--Ks],Vs[Ks]=null,Zo=Vs[--Ks],Vs[Ks]=null;for(;r===ms;)ms=Gr[--jr],Gr[jr]=null,qa=Gr[--jr],Gr[jr]=null,Ha=Gr[--jr],Gr[jr]=null}var nr=null,hn=null,Mt=!1,gs=null,ba=!1,Pd=Error(a(519));function bs(r){var i=Error(a(418,""));throw lu(qr(i,r)),Pd}function qp(r){var i=r.stateNode,u=r.type,c=r.memoizedProps;switch(i[Ie]=r,i[je]=c,u){case"dialog":_t("cancel",i),_t("close",i);break;case"iframe":case"object":case"embed":_t("load",i);break;case"video":case"audio":for(u=0;u<Ru.length;u++)_t(Ru[u],i);break;case"source":_t("error",i);break;case"img":case"image":case"link":_t("error",i),_t("load",i);break;case"details":_t("toggle",i);break;case"input":_t("invalid",i),zo(i,c.value,c.defaultValue,c.checked,c.defaultChecked,c.type,c.name,!0),ss(i);break;case"select":_t("invalid",i);break;case"textarea":_t("invalid",i),Fo(i,c.value,c.defaultValue,c.children),ss(i)}u=c.children,typeof u!="string"&&typeof u!="number"&&typeof u!="bigint"||i.textContent===""+u||c.suppressHydrationWarning===!0||i4(i.textContent,u)?(c.popover!=null&&(_t("beforetoggle",i),_t("toggle",i)),c.onScroll!=null&&_t("scroll",i),c.onScrollEnd!=null&&_t("scrollend",i),c.onClick!=null&&(i.onclick=Mc),i=!0):i=!1,i||bs(r)}function Yp(r){for(nr=r.return;nr;)switch(nr.tag){case 5:case 13:ba=!1;return;case 27:case 3:ba=!0;return;default:nr=nr.return}}function iu(r){if(r!==nr)return!1;if(!Mt)return Yp(r),Mt=!0,!1;var i=r.tag,u;if((u=i!==3&&i!==27)&&((u=i===5)&&(u=r.type,u=!(u!=="form"&&u!=="button")||eh(r.type,r.memoizedProps)),u=!u),u&&hn&&bs(r),Yp(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){hn=ca(r.nextSibling);break e}i--}else u!=="$"&&u!=="$!"&&u!=="$?"||i++;r=r.nextSibling}hn=null}}else i===27?(i=hn,Ii(r.type)?(r=ah,ah=null,hn=r):hn=i):hn=nr?ca(r.stateNode.nextSibling):null;return!0}function su(){hn=nr=null,Mt=!1}function Gp(){var r=gs;return r!==null&&(gr===null?gr=r:gr.push.apply(gr,r),gs=null),r}function lu(r){gs===null?gs=[r]:gs.push(r)}var Ud=K(null),Es=null,Ya=null;function yi(r,i,u){R(Ud,i._currentValue),i._currentValue=u}function Ga(r){r._currentValue=Ud.current,ue(Ud)}function zd(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 Fd(r,i,u,c){var m=r.child;for(m!==null&&(m.return=r);m!==null;){var g=m.dependencies;if(g!==null){var x=m.child;g=g.firstContext;e:for(;g!==null;){var C=g;g=m;for(var H=0;H<i.length;H++)if(C.context===i[H]){g.lanes|=u,C=g.alternate,C!==null&&(C.lanes|=u),zd(g.return,u,r),c||(x=null);break e}g=C.next}}else if(m.tag===18){if(x=m.return,x===null)throw Error(a(341));x.lanes|=u,g=x.alternate,g!==null&&(g.lanes|=u),zd(x,u,r),x=null}else x=m.child;if(x!==null)x.return=m;else for(x=m;x!==null;){if(x===r){x=null;break}if(m=x.sibling,m!==null){m.return=x.return,x=m;break}x=x.return}m=x}}function uu(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 x=m.alternate;if(x===null)throw Error(a(387));if(x=x.memoizedProps,x!==null){var C=m.type;wr(m.pendingProps.value,x.value)||(r!==null?r.push(C):r=[C])}}else if(m===wt.current){if(x=m.alternate,x===null)throw Error(a(387));x.memoizedState.memoizedState!==m.memoizedState.memoizedState&&(r!==null?r.push(Pu):r=[Pu])}m=m.return}r!==null&&Fd(i,r,u,c),i.flags|=262144}function Jo(r){for(r=r.firstContext;r!==null;){if(!wr(r.context._currentValue,r.memoizedValue))return!0;r=r.next}return!1}function ys(r){Es=r,Ya=null,r=r.dependencies,r!==null&&(r.firstContext=null)}function Kn(r){return jp(Es,r)}function ec(r,i){return Es===null&&ys(r),jp(r,i)}function jp(r,i){var u=i._currentValue;if(i={context:i,memoizedValue:u,next:null},Ya===null){if(r===null)throw Error(a(308));Ya=i,r.dependencies={lanes:0,firstContext:i},r.flags|=524288}else Ya=Ya.next=i;return u}var h8=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()})}},m8=e.unstable_scheduleCallback,p8=e.unstable_NormalPriority,On={$$typeof:z,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Hd(){return{controller:new h8,data:new Map,refCount:0}}function ou(r){r.refCount--,r.refCount===0&&m8(p8,function(){r.controller.abort()})}var cu=null,qd=0,$s=0,Xs=null;function g8(r,i){if(cu===null){var u=cu=[];qd=0,$s=jf(),Xs={status:"pending",value:void 0,then:function(c){u.push(c)}}}return qd++,i.then(Vp,Vp),i}function Vp(){if(--qd===0&&cu!==null){Xs!==null&&(Xs.status="fulfilled");var r=cu;cu=null,$s=0,Xs=null;for(var i=0;i<r.length;i++)(0,r[i])()}}function b8(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 Kp=W.S;W.S=function(r,i){typeof i=="object"&&i!==null&&typeof i.then=="function"&&g8(r,i),Kp!==null&&Kp(r,i)};var vs=K(null);function Yd(){var r=vs.current;return r!==null?r:Vt.pooledCache}function tc(r,i){i===null?R(vs,vs.current):R(vs,i.pool)}function $p(){var r=Yd();return r===null?null:{parent:On._currentValue,pool:r}}var du=Error(a(460)),Xp=Error(a(474)),nc=Error(a(542)),Gd={then:function(){}};function Wp(r){return r=r.status,r==="fulfilled"||r==="rejected"}function rc(){}function Qp(r,i,u){switch(u=r[u],u===void 0?r.push(i):u!==i&&(i.then(rc,rc),i=u),i.status){case"fulfilled":return i.value;case"rejected":throw r=i.reason,Jp(r),r;default:if(typeof i.status=="string")i.then(rc,rc);else{if(r=Vt,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,Jp(r),r}throw fu=i,du}}var fu=null;function Zp(){if(fu===null)throw Error(a(459));var r=fu;return fu=null,r}function Jp(r){if(r===du||r===nc)throw Error(a(483))}var vi=!1;function jd(r){r.updateQueue={baseState:r.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Vd(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 Ti(r){return{lane:r,tag:0,payload:null,callback:null,next:null}}function _i(r,i,u){var c=r.updateQueue;if(c===null)return null;if(c=c.shared,(Lt&2)!==0){var m=c.pending;return m===null?i.next=i:(i.next=m.next,m.next=i),c.pending=i,i=Xo(r),zp(r,null,u),i}return $o(r,c,i,u),Xo(r)}function hu(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,Ee(r,u)}}function Kd(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 x={lane:u.lane,tag:u.tag,payload:u.payload,callback:null,next:null};g===null?m=g=x:g=g.next=x,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 $d=!1;function mu(){if($d){var r=Xs;if(r!==null)throw r}}function pu(r,i,u,c){$d=!1;var m=r.updateQueue;vi=!1;var g=m.firstBaseUpdate,x=m.lastBaseUpdate,C=m.shared.pending;if(C!==null){m.shared.pending=null;var H=C,ae=H.next;H.next=null,x===null?g=ae:x.next=ae,x=H;var me=r.alternate;me!==null&&(me=me.updateQueue,C=me.lastBaseUpdate,C!==x&&(C===null?me.firstBaseUpdate=ae:C.next=ae,me.lastBaseUpdate=H))}if(g!==null){var Te=m.baseState;x=0,me=ae=H=null,C=g;do{var se=C.lane&-536870913,le=se!==C.lane;if(le?(At&se)===se:(c&se)===se){se!==0&&se===$s&&($d=!0),me!==null&&(me=me.next={lane:0,tag:C.tag,payload:C.payload,callback:null,next:null});e:{var at=r,tt=C;se=i;var Ht=u;switch(tt.tag){case 1:if(at=tt.payload,typeof at=="function"){Te=at.call(Ht,Te,se);break e}Te=at;break e;case 3:at.flags=at.flags&-65537|128;case 0:if(at=tt.payload,se=typeof at=="function"?at.call(Ht,Te,se):at,se==null)break e;Te=p({},Te,se);break e;case 2:vi=!0}}se=C.callback,se!==null&&(r.flags|=64,le&&(r.flags|=8192),le=m.callbacks,le===null?m.callbacks=[se]:le.push(se))}else le={lane:se,tag:C.tag,payload:C.payload,callback:C.callback,next:null},me===null?(ae=me=le,H=Te):me=me.next=le,x|=se;if(C=C.next,C===null){if(C=m.shared.pending,C===null)break;le=C,C=le.next,le.next=null,m.lastBaseUpdate=le,m.shared.pending=null}}while(!0);me===null&&(H=Te),m.baseState=H,m.firstBaseUpdate=ae,m.lastBaseUpdate=me,g===null&&(m.shared.lanes=0),Oi|=x,r.lanes=x,r.memoizedState=Te}}function eg(r,i){if(typeof r!="function")throw Error(a(191,r));r.call(i)}function tg(r,i){var u=r.callbacks;if(u!==null)for(r.callbacks=null,r=0;r<u.length;r++)eg(u[r],i)}var Ws=K(null),ac=K(0);function ng(r,i){r=Qa,R(ac,r),R(Ws,i),Qa=r|i.baseLanes}function Xd(){R(ac,Qa),R(Ws,Ws.current)}function Wd(){Qa=ac.current,ue(Ws),ue(ac)}var Si=0,gt=null,zt=null,xn=null,ic=!1,Qs=!1,Ts=!1,sc=0,gu=0,Zs=null,E8=0;function bn(){throw Error(a(321))}function Qd(r,i){if(i===null)return!1;for(var u=0;u<i.length&&u<r.length;u++)if(!wr(r[u],i[u]))return!1;return!0}function Zd(r,i,u,c,m,g){return Si=g,gt=i,i.memoizedState=null,i.updateQueue=null,i.lanes=0,W.H=r===null||r.memoizedState===null?zg:Fg,Ts=!1,g=u(c,m),Ts=!1,Qs&&(g=ag(i,u,c,m)),rg(r),g}function rg(r){W.H=fc;var i=zt!==null&&zt.next!==null;if(Si=0,xn=zt=gt=null,ic=!1,gu=0,Zs=null,i)throw Error(a(300));r===null||Bn||(r=r.dependencies,r!==null&&Jo(r)&&(Bn=!0))}function ag(r,i,u,c){gt=r;var m=0;do{if(Qs&&(Zs=null),gu=0,Qs=!1,25<=m)throw Error(a(301));if(m+=1,xn=zt=null,r.updateQueue!=null){var g=r.updateQueue;g.lastEffect=null,g.events=null,g.stores=null,g.memoCache!=null&&(g.memoCache.index=0)}W.H=A8,g=i(u,c)}while(Qs);return g}function y8(){var r=W.H,i=r.useState()[0];return i=typeof i.then=="function"?bu(i):i,r=r.useState()[0],(zt!==null?zt.memoizedState:null)!==r&&(gt.flags|=1024),i}function Jd(){var r=sc!==0;return sc=0,r}function ef(r,i,u){i.updateQueue=r.updateQueue,i.flags&=-2053,r.lanes&=~u}function tf(r){if(ic){for(r=r.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}ic=!1}Si=0,xn=zt=gt=null,Qs=!1,gu=sc=0,Zs=null}function mr(){var r={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return xn===null?gt.memoizedState=xn=r:xn=xn.next=r,xn}function An(){if(zt===null){var r=gt.alternate;r=r!==null?r.memoizedState:null}else r=zt.next;var i=xn===null?gt.memoizedState:xn.next;if(i!==null)xn=i,zt=r;else{if(r===null)throw gt.alternate===null?Error(a(467)):Error(a(310));zt=r,r={memoizedState:zt.memoizedState,baseState:zt.baseState,baseQueue:zt.baseQueue,queue:zt.queue,next:null},xn===null?gt.memoizedState=xn=r:xn=xn.next=r}return xn}function nf(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function bu(r){var i=gu;return gu+=1,Zs===null&&(Zs=[]),r=Qp(Zs,r,i),i=gt,(xn===null?i.memoizedState:xn.next)===null&&(i=i.alternate,W.H=i===null||i.memoizedState===null?zg:Fg),r}function lc(r){if(r!==null&&typeof r=="object"){if(typeof r.then=="function")return bu(r);if(r.$$typeof===z)return Kn(r)}throw Error(a(438,String(r)))}function rf(r){var i=null,u=gt.updateQueue;if(u!==null&&(i=u.memoCache),i==null){var c=gt.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=nf(),gt.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]=q;return i.index++,u}function ja(r,i){return typeof i=="function"?i(r):i}function uc(r){var i=An();return af(i,zt,r)}function af(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 x=m.next;m.next=g.next,g.next=x}i.baseQueue=m=g,c.pending=null}if(g=r.baseState,m===null)r.memoizedState=g;else{i=m.next;var C=x=null,H=null,ae=i,me=!1;do{var Te=ae.lane&-536870913;if(Te!==ae.lane?(At&Te)===Te:(Si&Te)===Te){var se=ae.revertLane;if(se===0)H!==null&&(H=H.next={lane:0,revertLane:0,action:ae.action,hasEagerState:ae.hasEagerState,eagerState:ae.eagerState,next:null}),Te===$s&&(me=!0);else if((Si&se)===se){ae=ae.next,se===$s&&(me=!0);continue}else Te={lane:0,revertLane:ae.revertLane,action:ae.action,hasEagerState:ae.hasEagerState,eagerState:ae.eagerState,next:null},H===null?(C=H=Te,x=g):H=H.next=Te,gt.lanes|=se,Oi|=se;Te=ae.action,Ts&&u(g,Te),g=ae.hasEagerState?ae.eagerState:u(g,Te)}else se={lane:Te,revertLane:ae.revertLane,action:ae.action,hasEagerState:ae.hasEagerState,eagerState:ae.eagerState,next:null},H===null?(C=H=se,x=g):H=H.next=se,gt.lanes|=Te,Oi|=Te;ae=ae.next}while(ae!==null&&ae!==i);if(H===null?x=g:H.next=C,!wr(g,r.memoizedState)&&(Bn=!0,me&&(u=Xs,u!==null)))throw u;r.memoizedState=g,r.baseState=x,r.baseQueue=H,c.lastRenderedState=g}return m===null&&(c.lanes=0),[r.memoizedState,c.dispatch]}function sf(r){var i=An(),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 x=m=m.next;do g=r(g,x.action),x=x.next;while(x!==m);wr(g,i.memoizedState)||(Bn=!0),i.memoizedState=g,i.baseQueue===null&&(i.baseState=g),u.lastRenderedState=g}return[g,c]}function ig(r,i,u){var c=gt,m=An(),g=Mt;if(g){if(u===void 0)throw Error(a(407));u=u()}else u=i();var x=!wr((zt||m).memoizedState,u);x&&(m.memoizedState=u,Bn=!0),m=m.queue;var C=ug.bind(null,c,m,r);if(Eu(2048,8,C,[r]),m.getSnapshot!==i||x||xn!==null&&xn.memoizedState.tag&1){if(c.flags|=2048,Js(9,oc(),lg.bind(null,c,m,u,i),null),Vt===null)throw Error(a(349));g||(Si&124)!==0||sg(c,i,u)}return u}function sg(r,i,u){r.flags|=16384,r={getSnapshot:i,value:u},i=gt.updateQueue,i===null?(i=nf(),gt.updateQueue=i,i.stores=[r]):(u=i.stores,u===null?i.stores=[r]:u.push(r))}function lg(r,i,u,c){i.value=u,i.getSnapshot=c,og(i)&&cg(r)}function ug(r,i,u){return u(function(){og(i)&&cg(r)})}function og(r){var i=r.getSnapshot;r=r.value;try{var u=i();return!wr(r,u)}catch{return!0}}function cg(r){var i=Gs(r,2);i!==null&&Mr(i,r,2)}function lf(r){var i=mr();if(typeof r=="function"){var u=r;if(r=u(),Ts){$e(!0);try{u()}finally{$e(!1)}}}return i.memoizedState=i.baseState=r,i.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ja,lastRenderedState:r},i}function dg(r,i,u,c){return r.baseState=u,af(r,zt,typeof c=="function"?c:ja)}function v8(r,i,u,c,m){if(dc(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(x){g.listeners.push(x)}};W.T!==null?u(!0):g.isTransition=!1,c(g),u=i.pending,u===null?(g.next=i.pending=g,fg(i,g)):(g.next=u.next,i.pending=u.next=g)}}function fg(r,i){var u=i.action,c=i.payload,m=r.state;if(i.isTransition){var g=W.T,x={};W.T=x;try{var C=u(m,c),H=W.S;H!==null&&H(x,C),hg(r,i,C)}catch(ae){uf(r,i,ae)}finally{W.T=g}}else try{g=u(m,c),hg(r,i,g)}catch(ae){uf(r,i,ae)}}function hg(r,i,u){u!==null&&typeof u=="object"&&typeof u.then=="function"?u.then(function(c){mg(r,i,c)},function(c){return uf(r,i,c)}):mg(r,i,u)}function mg(r,i,u){i.status="fulfilled",i.value=u,pg(i),r.state=u,i=r.pending,i!==null&&(u=i.next,u===i?r.pending=null:(u=u.next,i.next=u,fg(r,u)))}function uf(r,i,u){var c=r.pending;if(r.pending=null,c!==null){c=c.next;do i.status="rejected",i.reason=u,pg(i),i=i.next;while(i!==c)}r.action=null}function pg(r){r=r.listeners;for(var i=0;i<r.length;i++)(0,r[i])()}function gg(r,i){return i}function bg(r,i){if(Mt){var u=Vt.formState;if(u!==null){e:{var c=gt;if(Mt){if(hn){t:{for(var m=hn,g=ba;m.nodeType!==8;){if(!g){m=null;break t}if(m=ca(m.nextSibling),m===null){m=null;break t}}g=m.data,m=g==="F!"||g==="F"?m:null}if(m){hn=ca(m.nextSibling),c=m.data==="F!";break e}}bs(c)}c=!1}c&&(i=u[0])}}return u=mr(),u.memoizedState=u.baseState=i,c={pending:null,lanes:0,dispatch:null,lastRenderedReducer:gg,lastRenderedState:i},u.queue=c,u=Bg.bind(null,gt,c),c.dispatch=u,c=lf(!1),g=hf.bind(null,gt,!1,c.queue),c=mr(),m={state:i,dispatch:null,action:r,pending:null},c.queue=m,u=v8.bind(null,gt,m,g,u),m.dispatch=u,c.memoizedState=r,[i,u,!1]}function Eg(r){var i=An();return yg(i,zt,r)}function yg(r,i,u){if(i=af(r,i,gg)[0],r=uc(ja)[0],typeof i=="object"&&i!==null&&typeof i.then=="function")try{var c=bu(i)}catch(x){throw x===du?nc:x}else c=i;i=An();var m=i.queue,g=m.dispatch;return u!==i.memoizedState&&(gt.flags|=2048,Js(9,oc(),T8.bind(null,m,u),null)),[c,g,r]}function T8(r,i){r.action=i}function vg(r){var i=An(),u=zt;if(u!==null)return yg(i,u,r);An(),i=i.memoizedState,u=An();var c=u.queue.dispatch;return u.memoizedState=r,[i,c,!1]}function Js(r,i,u,c){return r={tag:r,create:u,deps:c,inst:i,next:null},i=gt.updateQueue,i===null&&(i=nf(),gt.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 oc(){return{destroy:void 0,resource:void 0}}function Tg(){return An().memoizedState}function cc(r,i,u,c){var m=mr();c=c===void 0?null:c,gt.flags|=r,m.memoizedState=Js(1|i,oc(),u,c)}function Eu(r,i,u,c){var m=An();c=c===void 0?null:c;var g=m.memoizedState.inst;zt!==null&&c!==null&&Qd(c,zt.memoizedState.deps)?m.memoizedState=Js(i,g,u,c):(gt.flags|=r,m.memoizedState=Js(1|i,g,u,c))}function _g(r,i){cc(8390656,8,r,i)}function Sg(r,i){Eu(2048,8,r,i)}function xg(r,i){return Eu(4,2,r,i)}function Ag(r,i){return Eu(4,4,r,i)}function wg(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 kg(r,i,u){u=u!=null?u.concat([r]):null,Eu(4,4,wg.bind(null,i,r),u)}function of(){}function Ng(r,i){var u=An();i=i===void 0?null:i;var c=u.memoizedState;return i!==null&&Qd(i,c[1])?c[0]:(u.memoizedState=[r,i],r)}function Cg(r,i){var u=An();i=i===void 0?null:i;var c=u.memoizedState;if(i!==null&&Qd(i,c[1]))return c[0];if(c=r(),Ts){$e(!0);try{r()}finally{$e(!1)}}return u.memoizedState=[c,i],c}function cf(r,i,u){return u===void 0||(Si&1073741824)!==0?r.memoizedState=i:(r.memoizedState=u,r=M2(),gt.lanes|=r,Oi|=r,u)}function Og(r,i,u,c){return wr(u,i)?u:Ws.current!==null?(r=cf(r,u,c),wr(r,i)||(Bn=!0),r):(Si&42)===0?(Bn=!0,r.memoizedState=u):(r=M2(),gt.lanes|=r,Oi|=r,i)}function Rg(r,i,u,c,m){var g=de.p;de.p=g!==0&&8>g?g:8;var x=W.T,C={};W.T=C,hf(r,!1,i,u);try{var H=m(),ae=W.S;if(ae!==null&&ae(C,H),H!==null&&typeof H=="object"&&typeof H.then=="function"){var me=b8(H,c);yu(r,i,me,Rr(r))}else yu(r,i,c,Rr(r))}catch(Te){yu(r,i,{then:function(){},status:"rejected",reason:Te},Rr())}finally{de.p=g,W.T=x}}function _8(){}function df(r,i,u,c){if(r.tag!==5)throw Error(a(476));var m=Mg(r).queue;Rg(r,m,i,ge,u===null?_8:function(){return Dg(r),u(c)})}function Mg(r){var i=r.memoizedState;if(i!==null)return i;i={memoizedState:ge,baseState:ge,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ja,lastRenderedState:ge},next:null};var u={};return i.next={memoizedState:u,baseState:u,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:ja,lastRenderedState:u},next:null},r.memoizedState=i,r=r.alternate,r!==null&&(r.memoizedState=i),i}function Dg(r){var i=Mg(r).next.queue;yu(r,i,{},Rr())}function ff(){return Kn(Pu)}function Ig(){return An().memoizedState}function Lg(){return An().memoizedState}function S8(r){for(var i=r.return;i!==null;){switch(i.tag){case 24:case 3:var u=Rr();r=Ti(u);var c=_i(i,r,u);c!==null&&(Mr(c,i,u),hu(c,i,u)),i={cache:Hd()},r.payload=i;return}i=i.return}}function x8(r,i,u){var c=Rr();u={lane:c,revertLane:0,action:u,hasEagerState:!1,eagerState:null,next:null},dc(r)?Pg(i,u):(u=Rd(r,i,u,c),u!==null&&(Mr(u,r,c),Ug(u,i,c)))}function Bg(r,i,u){var c=Rr();yu(r,i,u,c)}function yu(r,i,u,c){var m={lane:c,revertLane:0,action:u,hasEagerState:!1,eagerState:null,next:null};if(dc(r))Pg(i,m);else{var g=r.alternate;if(r.lanes===0&&(g===null||g.lanes===0)&&(g=i.lastRenderedReducer,g!==null))try{var x=i.lastRenderedState,C=g(x,u);if(m.hasEagerState=!0,m.eagerState=C,wr(C,x))return $o(r,i,m,0),Vt===null&&Ko(),!1}catch{}finally{}if(u=Rd(r,i,m,c),u!==null)return Mr(u,r,c),Ug(u,i,c),!0}return!1}function hf(r,i,u,c){if(c={lane:2,revertLane:jf(),action:c,hasEagerState:!1,eagerState:null,next:null},dc(r)){if(i)throw Error(a(479))}else i=Rd(r,u,c,2),i!==null&&Mr(i,r,2)}function dc(r){var i=r.alternate;return r===gt||i!==null&&i===gt}function Pg(r,i){Qs=ic=!0;var u=r.pending;u===null?i.next=i:(i.next=u.next,u.next=i),r.pending=i}function Ug(r,i,u){if((u&4194048)!==0){var c=i.lanes;c&=r.pendingLanes,u|=c,i.lanes=u,Ee(r,u)}}var fc={readContext:Kn,use:lc,useCallback:bn,useContext:bn,useEffect:bn,useImperativeHandle:bn,useLayoutEffect:bn,useInsertionEffect:bn,useMemo:bn,useReducer:bn,useRef:bn,useState:bn,useDebugValue:bn,useDeferredValue:bn,useTransition:bn,useSyncExternalStore:bn,useId:bn,useHostTransitionStatus:bn,useFormState:bn,useActionState:bn,useOptimistic:bn,useMemoCache:bn,useCacheRefresh:bn},zg={readContext:Kn,use:lc,useCallback:function(r,i){return mr().memoizedState=[r,i===void 0?null:i],r},useContext:Kn,useEffect:_g,useImperativeHandle:function(r,i,u){u=u!=null?u.concat([r]):null,cc(4194308,4,wg.bind(null,i,r),u)},useLayoutEffect:function(r,i){return cc(4194308,4,r,i)},useInsertionEffect:function(r,i){cc(4,2,r,i)},useMemo:function(r,i){var u=mr();i=i===void 0?null:i;var c=r();if(Ts){$e(!0);try{r()}finally{$e(!1)}}return u.memoizedState=[c,i],c},useReducer:function(r,i,u){var c=mr();if(u!==void 0){var m=u(i);if(Ts){$e(!0);try{u(i)}finally{$e(!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=x8.bind(null,gt,r),[c.memoizedState,r]},useRef:function(r){var i=mr();return r={current:r},i.memoizedState=r},useState:function(r){r=lf(r);var i=r.queue,u=Bg.bind(null,gt,i);return i.dispatch=u,[r.memoizedState,u]},useDebugValue:of,useDeferredValue:function(r,i){var u=mr();return cf(u,r,i)},useTransition:function(){var r=lf(!1);return r=Rg.bind(null,gt,r.queue,!0,!1),mr().memoizedState=r,[!1,r]},useSyncExternalStore:function(r,i,u){var c=gt,m=mr();if(Mt){if(u===void 0)throw Error(a(407));u=u()}else{if(u=i(),Vt===null)throw Error(a(349));(At&124)!==0||sg(c,i,u)}m.memoizedState=u;var g={value:u,getSnapshot:i};return m.queue=g,_g(ug.bind(null,c,g,r),[r]),c.flags|=2048,Js(9,oc(),lg.bind(null,c,g,u,i),null),u},useId:function(){var r=mr(),i=Vt.identifierPrefix;if(Mt){var u=qa,c=Ha;u=(c&~(1<<32-Qe(c)-1)).toString(32)+u,i="«"+i+"R"+u,u=sc++,0<u&&(i+="H"+u.toString(32)),i+="»"}else u=E8++,i="«"+i+"r"+u.toString(32)+"»";return r.memoizedState=i},useHostTransitionStatus:ff,useFormState:bg,useActionState:bg,useOptimistic:function(r){var i=mr();i.memoizedState=i.baseState=r;var u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return i.queue=u,i=hf.bind(null,gt,!0,u),u.dispatch=i,[r,i]},useMemoCache:rf,useCacheRefresh:function(){return mr().memoizedState=S8.bind(null,gt)}},Fg={readContext:Kn,use:lc,useCallback:Ng,useContext:Kn,useEffect:Sg,useImperativeHandle:kg,useInsertionEffect:xg,useLayoutEffect:Ag,useMemo:Cg,useReducer:uc,useRef:Tg,useState:function(){return uc(ja)},useDebugValue:of,useDeferredValue:function(r,i){var u=An();return Og(u,zt.memoizedState,r,i)},useTransition:function(){var r=uc(ja)[0],i=An().memoizedState;return[typeof r=="boolean"?r:bu(r),i]},useSyncExternalStore:ig,useId:Ig,useHostTransitionStatus:ff,useFormState:Eg,useActionState:Eg,useOptimistic:function(r,i){var u=An();return dg(u,zt,r,i)},useMemoCache:rf,useCacheRefresh:Lg},A8={readContext:Kn,use:lc,useCallback:Ng,useContext:Kn,useEffect:Sg,useImperativeHandle:kg,useInsertionEffect:xg,useLayoutEffect:Ag,useMemo:Cg,useReducer:sf,useRef:Tg,useState:function(){return sf(ja)},useDebugValue:of,useDeferredValue:function(r,i){var u=An();return zt===null?cf(u,r,i):Og(u,zt.memoizedState,r,i)},useTransition:function(){var r=sf(ja)[0],i=An().memoizedState;return[typeof r=="boolean"?r:bu(r),i]},useSyncExternalStore:ig,useId:Ig,useHostTransitionStatus:ff,useFormState:vg,useActionState:vg,useOptimistic:function(r,i){var u=An();return zt!==null?dg(u,zt,r,i):(u.baseState=r,[r,u.queue.dispatch])},useMemoCache:rf,useCacheRefresh:Lg},el=null,vu=0;function hc(r){var i=vu;return vu+=1,el===null&&(el=[]),Qp(el,r,i)}function Tu(r,i){i=i.props.ref,r.ref=i!==void 0?i:null}function mc(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 Hg(r){var i=r._init;return i(r._payload)}function qg(r){function i(Q,j){if(r){var te=Q.deletions;te===null?(Q.deletions=[j],Q.flags|=16):te.push(j)}}function u(Q,j){if(!r)return null;for(;j!==null;)i(Q,j),j=j.sibling;return null}function c(Q){for(var j=new Map;Q!==null;)Q.key!==null?j.set(Q.key,Q):j.set(Q.index,Q),Q=Q.sibling;return j}function m(Q,j){return Q=Fa(Q,j),Q.index=0,Q.sibling=null,Q}function g(Q,j,te){return Q.index=te,r?(te=Q.alternate,te!==null?(te=te.index,te<j?(Q.flags|=67108866,j):te):(Q.flags|=67108866,j)):(Q.flags|=1048576,j)}function x(Q){return r&&Q.alternate===null&&(Q.flags|=67108866),Q}function C(Q,j,te,ye){return j===null||j.tag!==6?(j=Dd(te,Q.mode,ye),j.return=Q,j):(j=m(j,te),j.return=Q,j)}function H(Q,j,te,ye){var Ge=te.type;return Ge===A?me(Q,j,te.props.children,ye,te.key):j!==null&&(j.elementType===Ge||typeof Ge=="object"&&Ge!==null&&Ge.$$typeof===X&&Hg(Ge)===j.type)?(j=m(j,te.props),Tu(j,te),j.return=Q,j):(j=Wo(te.type,te.key,te.props,null,Q.mode,ye),Tu(j,te),j.return=Q,j)}function ae(Q,j,te,ye){return j===null||j.tag!==4||j.stateNode.containerInfo!==te.containerInfo||j.stateNode.implementation!==te.implementation?(j=Id(te,Q.mode,ye),j.return=Q,j):(j=m(j,te.children||[]),j.return=Q,j)}function me(Q,j,te,ye,Ge){return j===null||j.tag!==7?(j=hs(te,Q.mode,ye,Ge),j.return=Q,j):(j=m(j,te),j.return=Q,j)}function Te(Q,j,te){if(typeof j=="string"&&j!==""||typeof j=="number"||typeof j=="bigint")return j=Dd(""+j,Q.mode,te),j.return=Q,j;if(typeof j=="object"&&j!==null){switch(j.$$typeof){case T:return te=Wo(j.type,j.key,j.props,null,Q.mode,te),Tu(te,j),te.return=Q,te;case v:return j=Id(j,Q.mode,te),j.return=Q,j;case X:var ye=j._init;return j=ye(j._payload),Te(Q,j,te)}if(be(j)||J(j))return j=hs(j,Q.mode,te,null),j.return=Q,j;if(typeof j.then=="function")return Te(Q,hc(j),te);if(j.$$typeof===z)return Te(Q,ec(Q,j),te);mc(Q,j)}return null}function se(Q,j,te,ye){var Ge=j!==null?j.key:null;if(typeof te=="string"&&te!==""||typeof te=="number"||typeof te=="bigint")return Ge!==null?null:C(Q,j,""+te,ye);if(typeof te=="object"&&te!==null){switch(te.$$typeof){case T:return te.key===Ge?H(Q,j,te,ye):null;case v:return te.key===Ge?ae(Q,j,te,ye):null;case X:return Ge=te._init,te=Ge(te._payload),se(Q,j,te,ye)}if(be(te)||J(te))return Ge!==null?null:me(Q,j,te,ye,null);if(typeof te.then=="function")return se(Q,j,hc(te),ye);if(te.$$typeof===z)return se(Q,j,ec(Q,te),ye);mc(Q,te)}return null}function le(Q,j,te,ye,Ge){if(typeof ye=="string"&&ye!==""||typeof ye=="number"||typeof ye=="bigint")return Q=Q.get(te)||null,C(j,Q,""+ye,Ge);if(typeof ye=="object"&&ye!==null){switch(ye.$$typeof){case T:return Q=Q.get(ye.key===null?te:ye.key)||null,H(j,Q,ye,Ge);case v:return Q=Q.get(ye.key===null?te:ye.key)||null,ae(j,Q,ye,Ge);case X:var bt=ye._init;return ye=bt(ye._payload),le(Q,j,te,ye,Ge)}if(be(ye)||J(ye))return Q=Q.get(te)||null,me(j,Q,ye,Ge,null);if(typeof ye.then=="function")return le(Q,j,te,hc(ye),Ge);if(ye.$$typeof===z)return le(Q,j,te,ec(j,ye),Ge);mc(j,ye)}return null}function at(Q,j,te,ye){for(var Ge=null,bt=null,We=j,nt=j=0,Un=null;We!==null&&nt<te.length;nt++){We.index>nt?(Un=We,We=null):Un=We.sibling;var Ot=se(Q,We,te[nt],ye);if(Ot===null){We===null&&(We=Un);break}r&&We&&Ot.alternate===null&&i(Q,We),j=g(Ot,j,nt),bt===null?Ge=Ot:bt.sibling=Ot,bt=Ot,We=Un}if(nt===te.length)return u(Q,We),Mt&&ps(Q,nt),Ge;if(We===null){for(;nt<te.length;nt++)We=Te(Q,te[nt],ye),We!==null&&(j=g(We,j,nt),bt===null?Ge=We:bt.sibling=We,bt=We);return Mt&&ps(Q,nt),Ge}for(We=c(We);nt<te.length;nt++)Un=le(We,Q,nt,te[nt],ye),Un!==null&&(r&&Un.alternate!==null&&We.delete(Un.key===null?nt:Un.key),j=g(Un,j,nt),bt===null?Ge=Un:bt.sibling=Un,bt=Un);return r&&We.forEach(function(zi){return i(Q,zi)}),Mt&&ps(Q,nt),Ge}function tt(Q,j,te,ye){if(te==null)throw Error(a(151));for(var Ge=null,bt=null,We=j,nt=j=0,Un=null,Ot=te.next();We!==null&&!Ot.done;nt++,Ot=te.next()){We.index>nt?(Un=We,We=null):Un=We.sibling;var zi=se(Q,We,Ot.value,ye);if(zi===null){We===null&&(We=Un);break}r&&We&&zi.alternate===null&&i(Q,We),j=g(zi,j,nt),bt===null?Ge=zi:bt.sibling=zi,bt=zi,We=Un}if(Ot.done)return u(Q,We),Mt&&ps(Q,nt),Ge;if(We===null){for(;!Ot.done;nt++,Ot=te.next())Ot=Te(Q,Ot.value,ye),Ot!==null&&(j=g(Ot,j,nt),bt===null?Ge=Ot:bt.sibling=Ot,bt=Ot);return Mt&&ps(Q,nt),Ge}for(We=c(We);!Ot.done;nt++,Ot=te.next())Ot=le(We,Q,nt,Ot.value,ye),Ot!==null&&(r&&Ot.alternate!==null&&We.delete(Ot.key===null?nt:Ot.key),j=g(Ot,j,nt),bt===null?Ge=Ot:bt.sibling=Ot,bt=Ot);return r&&We.forEach(function(wv){return i(Q,wv)}),Mt&&ps(Q,nt),Ge}function Ht(Q,j,te,ye){if(typeof te=="object"&&te!==null&&te.type===A&&te.key===null&&(te=te.props.children),typeof te=="object"&&te!==null){switch(te.$$typeof){case T:e:{for(var Ge=te.key;j!==null;){if(j.key===Ge){if(Ge=te.type,Ge===A){if(j.tag===7){u(Q,j.sibling),ye=m(j,te.props.children),ye.return=Q,Q=ye;break e}}else if(j.elementType===Ge||typeof Ge=="object"&&Ge!==null&&Ge.$$typeof===X&&Hg(Ge)===j.type){u(Q,j.sibling),ye=m(j,te.props),Tu(ye,te),ye.return=Q,Q=ye;break e}u(Q,j);break}else i(Q,j);j=j.sibling}te.type===A?(ye=hs(te.props.children,Q.mode,ye,te.key),ye.return=Q,Q=ye):(ye=Wo(te.type,te.key,te.props,null,Q.mode,ye),Tu(ye,te),ye.return=Q,Q=ye)}return x(Q);case v:e:{for(Ge=te.key;j!==null;){if(j.key===Ge)if(j.tag===4&&j.stateNode.containerInfo===te.containerInfo&&j.stateNode.implementation===te.implementation){u(Q,j.sibling),ye=m(j,te.children||[]),ye.return=Q,Q=ye;break e}else{u(Q,j);break}else i(Q,j);j=j.sibling}ye=Id(te,Q.mode,ye),ye.return=Q,Q=ye}return x(Q);case X:return Ge=te._init,te=Ge(te._payload),Ht(Q,j,te,ye)}if(be(te))return at(Q,j,te,ye);if(J(te)){if(Ge=J(te),typeof Ge!="function")throw Error(a(150));return te=Ge.call(te),tt(Q,j,te,ye)}if(typeof te.then=="function")return Ht(Q,j,hc(te),ye);if(te.$$typeof===z)return Ht(Q,j,ec(Q,te),ye);mc(Q,te)}return typeof te=="string"&&te!==""||typeof te=="number"||typeof te=="bigint"?(te=""+te,j!==null&&j.tag===6?(u(Q,j.sibling),ye=m(j,te),ye.return=Q,Q=ye):(u(Q,j),ye=Dd(te,Q.mode,ye),ye.return=Q,Q=ye),x(Q)):u(Q,j)}return function(Q,j,te,ye){try{vu=0;var Ge=Ht(Q,j,te,ye);return el=null,Ge}catch(We){if(We===du||We===nc)throw We;var bt=kr(29,We,null,Q.mode);return bt.lanes=ye,bt.return=Q,bt}finally{}}}var tl=qg(!0),Yg=qg(!1),Vr=K(null),Ea=null;function xi(r){var i=r.alternate;R(Rn,Rn.current&1),R(Vr,r),Ea===null&&(i===null||Ws.current!==null||i.memoizedState!==null)&&(Ea=r)}function Gg(r){if(r.tag===22){if(R(Rn,Rn.current),R(Vr,r),Ea===null){var i=r.alternate;i!==null&&i.memoizedState!==null&&(Ea=r)}}else Ai()}function Ai(){R(Rn,Rn.current),R(Vr,Vr.current)}function Va(r){ue(Vr),Ea===r&&(Ea=null),ue(Rn)}var Rn=K(0);function pc(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==="$?"||rh(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 mf(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 pf={enqueueSetState:function(r,i,u){r=r._reactInternals;var c=Rr(),m=Ti(c);m.payload=i,u!=null&&(m.callback=u),i=_i(r,m,c),i!==null&&(Mr(i,r,c),hu(i,r,c))},enqueueReplaceState:function(r,i,u){r=r._reactInternals;var c=Rr(),m=Ti(c);m.tag=1,m.payload=i,u!=null&&(m.callback=u),i=_i(r,m,c),i!==null&&(Mr(i,r,c),hu(i,r,c))},enqueueForceUpdate:function(r,i){r=r._reactInternals;var u=Rr(),c=Ti(u);c.tag=2,i!=null&&(c.callback=i),i=_i(r,c,u),i!==null&&(Mr(i,r,u),hu(i,r,u))}};function jg(r,i,u,c,m,g,x){return r=r.stateNode,typeof r.shouldComponentUpdate=="function"?r.shouldComponentUpdate(c,g,x):i.prototype&&i.prototype.isPureReactComponent?!ru(u,c)||!ru(m,g):!0}function Vg(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&&pf.enqueueReplaceState(i,i.state,null)}function _s(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 gc=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 Kg(r){gc(r)}function $g(r){console.error(r)}function Xg(r){gc(r)}function bc(r,i){try{var u=r.onUncaughtError;u(i.value,{componentStack:i.stack})}catch(c){setTimeout(function(){throw c})}}function Wg(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 gf(r,i,u){return u=Ti(u),u.tag=3,u.payload={element:null},u.callback=function(){bc(r,i)},u}function Qg(r){return r=Ti(r),r.tag=3,r}function Zg(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(){Wg(i,u,c)}}var x=u.stateNode;x!==null&&typeof x.componentDidCatch=="function"&&(r.callback=function(){Wg(i,u,c),typeof m!="function"&&(Ri===null?Ri=new Set([this]):Ri.add(this));var C=c.stack;this.componentDidCatch(c.value,{componentStack:C!==null?C:""})})}function w8(r,i,u,c,m){if(u.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){if(i=u.alternate,i!==null&&uu(i,u,m,!0),u=Vr.current,u!==null){switch(u.tag){case 13:return Ea===null?Ff():u.alternate===null&&mn===0&&(mn=3),u.flags&=-257,u.flags|=65536,u.lanes=m,c===Gd?u.flags|=16384:(i=u.updateQueue,i===null?u.updateQueue=new Set([c]):i.add(c),qf(r,c,m)),!1;case 22:return u.flags|=65536,c===Gd?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)),qf(r,c,m)),!1}throw Error(a(435,u.tag))}return qf(r,c,m),Ff(),!1}if(Mt)return i=Vr.current,i!==null?((i.flags&65536)===0&&(i.flags|=256),i.flags|=65536,i.lanes=m,c!==Pd&&(r=Error(a(422),{cause:c}),lu(qr(r,u)))):(c!==Pd&&(i=Error(a(423),{cause:c}),lu(qr(i,u))),r=r.current.alternate,r.flags|=65536,m&=-m,r.lanes|=m,c=qr(c,u),m=gf(r.stateNode,c,m),Kd(r,m),mn!==4&&(mn=2)),!1;var g=Error(a(520),{cause:c});if(g=qr(g,u),Nu===null?Nu=[g]:Nu.push(g),mn!==4&&(mn=2),i===null)return!0;c=qr(c,u),u=i;do{switch(u.tag){case 3:return u.flags|=65536,r=m&-m,u.lanes|=r,r=gf(u.stateNode,c,r),Kd(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=Qg(m),Zg(m,r,u,c),Kd(u,m),!1}u=u.return}while(u!==null);return!1}var Jg=Error(a(461)),Bn=!1;function qn(r,i,u,c){i.child=r===null?Yg(i,null,u,c):tl(i,r.child,u,c)}function e2(r,i,u,c,m){u=u.render;var g=i.ref;if("ref"in c){var x={};for(var C in c)C!=="ref"&&(x[C]=c[C])}else x=c;return ys(i),c=Zd(r,i,u,x,g,m),C=Jd(),r!==null&&!Bn?(ef(r,i,m),Ka(r,i,m)):(Mt&&C&&Ld(i),i.flags|=1,qn(r,i,c,m),i.child)}function t2(r,i,u,c,m){if(r===null){var g=u.type;return typeof g=="function"&&!Md(g)&&g.defaultProps===void 0&&u.compare===null?(i.tag=15,i.type=g,n2(r,i,g,c,m)):(r=Wo(u.type,null,c,i,i.mode,m),r.ref=i.ref,r.return=i,i.child=r)}if(g=r.child,!xf(r,m)){var x=g.memoizedProps;if(u=u.compare,u=u!==null?u:ru,u(x,c)&&r.ref===i.ref)return Ka(r,i,m)}return i.flags|=1,r=Fa(g,c),r.ref=i.ref,r.return=i,i.child=r}function n2(r,i,u,c,m){if(r!==null){var g=r.memoizedProps;if(ru(g,c)&&r.ref===i.ref)if(Bn=!1,i.pendingProps=c=g,xf(r,m))(r.flags&131072)!==0&&(Bn=!0);else return i.lanes=r.lanes,Ka(r,i,m)}return bf(r,i,u,c,m)}function r2(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 a2(r,i,c,u)}if((u&536870912)!==0)i.memoizedState={baseLanes:0,cachePool:null},r!==null&&tc(i,g!==null?g.cachePool:null),g!==null?ng(i,g):Xd(),Gg(i);else return i.lanes=i.childLanes=536870912,a2(r,i,g!==null?g.baseLanes|u:u,u)}else g!==null?(tc(i,g.cachePool),ng(i,g),Ai(),i.memoizedState=null):(r!==null&&tc(i,null),Xd(),Ai());return qn(r,i,m,u),i.child}function a2(r,i,u,c){var m=Yd();return m=m===null?null:{parent:On._currentValue,pool:m},i.memoizedState={baseLanes:u,cachePool:m},r!==null&&tc(i,null),Xd(),Gg(i),r!==null&&uu(r,i,c,!0),null}function Ec(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 bf(r,i,u,c,m){return ys(i),u=Zd(r,i,u,c,void 0,m),c=Jd(),r!==null&&!Bn?(ef(r,i,m),Ka(r,i,m)):(Mt&&c&&Ld(i),i.flags|=1,qn(r,i,u,m),i.child)}function i2(r,i,u,c,m,g){return ys(i),i.updateQueue=null,u=ag(i,c,u,m),rg(r),c=Jd(),r!==null&&!Bn?(ef(r,i,g),Ka(r,i,g)):(Mt&&c&&Ld(i),i.flags|=1,qn(r,i,u,g),i.child)}function s2(r,i,u,c,m){if(ys(i),i.stateNode===null){var g=js,x=u.contextType;typeof x=="object"&&x!==null&&(g=Kn(x)),g=new u(c,g),i.memoizedState=g.state!==null&&g.state!==void 0?g.state:null,g.updater=pf,i.stateNode=g,g._reactInternals=i,g=i.stateNode,g.props=c,g.state=i.memoizedState,g.refs={},jd(i),x=u.contextType,g.context=typeof x=="object"&&x!==null?Kn(x):js,g.state=i.memoizedState,x=u.getDerivedStateFromProps,typeof x=="function"&&(mf(i,u,x,c),g.state=i.memoizedState),typeof u.getDerivedStateFromProps=="function"||typeof g.getSnapshotBeforeUpdate=="function"||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(x=g.state,typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount(),x!==g.state&&pf.enqueueReplaceState(g,g.state,null),pu(i,c,g,m),mu(),g.state=i.memoizedState),typeof g.componentDidMount=="function"&&(i.flags|=4194308),c=!0}else if(r===null){g=i.stateNode;var C=i.memoizedProps,H=_s(u,C);g.props=H;var ae=g.context,me=u.contextType;x=js,typeof me=="object"&&me!==null&&(x=Kn(me));var Te=u.getDerivedStateFromProps;me=typeof Te=="function"||typeof g.getSnapshotBeforeUpdate=="function",C=i.pendingProps!==C,me||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(C||ae!==x)&&Vg(i,g,c,x),vi=!1;var se=i.memoizedState;g.state=se,pu(i,c,g,m),mu(),ae=i.memoizedState,C||se!==ae||vi?(typeof Te=="function"&&(mf(i,u,Te,c),ae=i.memoizedState),(H=vi||jg(i,u,H,c,se,ae,x))?(me||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=ae),g.props=c,g.state=ae,g.context=x,c=H):(typeof g.componentDidMount=="function"&&(i.flags|=4194308),c=!1)}else{g=i.stateNode,Vd(r,i),x=i.memoizedProps,me=_s(u,x),g.props=me,Te=i.pendingProps,se=g.context,ae=u.contextType,H=js,typeof ae=="object"&&ae!==null&&(H=Kn(ae)),C=u.getDerivedStateFromProps,(ae=typeof C=="function"||typeof g.getSnapshotBeforeUpdate=="function")||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(x!==Te||se!==H)&&Vg(i,g,c,H),vi=!1,se=i.memoizedState,g.state=se,pu(i,c,g,m),mu();var le=i.memoizedState;x!==Te||se!==le||vi||r!==null&&r.dependencies!==null&&Jo(r.dependencies)?(typeof C=="function"&&(mf(i,u,C,c),le=i.memoizedState),(me=vi||jg(i,u,me,c,se,le,H)||r!==null&&r.dependencies!==null&&Jo(r.dependencies))?(ae||typeof g.UNSAFE_componentWillUpdate!="function"&&typeof g.componentWillUpdate!="function"||(typeof g.componentWillUpdate=="function"&&g.componentWillUpdate(c,le,H),typeof g.UNSAFE_componentWillUpdate=="function"&&g.UNSAFE_componentWillUpdate(c,le,H)),typeof g.componentDidUpdate=="function"&&(i.flags|=4),typeof g.getSnapshotBeforeUpdate=="function"&&(i.flags|=1024)):(typeof g.componentDidUpdate!="function"||x===r.memoizedProps&&se===r.memoizedState||(i.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||x===r.memoizedProps&&se===r.memoizedState||(i.flags|=1024),i.memoizedProps=c,i.memoizedState=le),g.props=c,g.state=le,g.context=H,c=me):(typeof g.componentDidUpdate!="function"||x===r.memoizedProps&&se===r.memoizedState||(i.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||x===r.memoizedProps&&se===r.memoizedState||(i.flags|=1024),c=!1)}return g=c,Ec(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=tl(i,r.child,null,m),i.child=tl(i,null,u,m)):qn(r,i,u,m),i.memoizedState=g.state,r=i.child):r=Ka(r,i,m),r}function l2(r,i,u,c){return su(),i.flags|=256,qn(r,i,u,c),i.child}var Ef={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function yf(r){return{baseLanes:r,cachePool:$p()}}function vf(r,i,u){return r=r!==null?r.childLanes&~u:0,i&&(r|=Kr),r}function u2(r,i,u){var c=i.pendingProps,m=!1,g=(i.flags&128)!==0,x;if((x=g)||(x=r!==null&&r.memoizedState===null?!1:(Rn.current&2)!==0),x&&(m=!0,i.flags&=-129),x=(i.flags&32)!==0,i.flags&=-33,r===null){if(Mt){if(m?xi(i):Ai(),Mt){var C=hn,H;if(H=C){e:{for(H=C,C=ba;H.nodeType!==8;){if(!C){C=null;break e}if(H=ca(H.nextSibling),H===null){C=null;break e}}C=H}C!==null?(i.memoizedState={dehydrated:C,treeContext:ms!==null?{id:Ha,overflow:qa}:null,retryLane:536870912,hydrationErrors:null},H=kr(18,null,null,0),H.stateNode=C,H.return=i,i.child=H,nr=i,hn=null,H=!0):H=!1}H||bs(i)}if(C=i.memoizedState,C!==null&&(C=C.dehydrated,C!==null))return rh(C)?i.lanes=32:i.lanes=536870912,null;Va(i)}return C=c.children,c=c.fallback,m?(Ai(),m=i.mode,C=yc({mode:"hidden",children:C},m),c=hs(c,m,u,null),C.return=i,c.return=i,C.sibling=c,i.child=C,m=i.child,m.memoizedState=yf(u),m.childLanes=vf(r,x,u),i.memoizedState=Ef,c):(xi(i),Tf(i,C))}if(H=r.memoizedState,H!==null&&(C=H.dehydrated,C!==null)){if(g)i.flags&256?(xi(i),i.flags&=-257,i=_f(r,i,u)):i.memoizedState!==null?(Ai(),i.child=r.child,i.flags|=128,i=null):(Ai(),m=c.fallback,C=i.mode,c=yc({mode:"visible",children:c.children},C),m=hs(m,C,u,null),m.flags|=2,c.return=i,m.return=i,c.sibling=m,i.child=c,tl(i,r.child,null,u),c=i.child,c.memoizedState=yf(u),c.childLanes=vf(r,x,u),i.memoizedState=Ef,i=m);else if(xi(i),rh(C)){if(x=C.nextSibling&&C.nextSibling.dataset,x)var ae=x.dgst;x=ae,c=Error(a(419)),c.stack="",c.digest=x,lu({value:c,source:null,stack:null}),i=_f(r,i,u)}else if(Bn||uu(r,i,u,!1),x=(u&r.childLanes)!==0,Bn||x){if(x=Vt,x!==null&&(c=u&-u,c=(c&42)!==0?1:Le(c),c=(c&(x.suspendedLanes|u))!==0?0:c,c!==0&&c!==H.retryLane))throw H.retryLane=c,Gs(r,c),Mr(x,r,c),Jg;C.data==="$?"||Ff(),i=_f(r,i,u)}else C.data==="$?"?(i.flags|=192,i.child=r.child,i=null):(r=H.treeContext,hn=ca(C.nextSibling),nr=i,Mt=!0,gs=null,ba=!1,r!==null&&(Gr[jr++]=Ha,Gr[jr++]=qa,Gr[jr++]=ms,Ha=r.id,qa=r.overflow,ms=i),i=Tf(i,c.children),i.flags|=4096);return i}return m?(Ai(),m=c.fallback,C=i.mode,H=r.child,ae=H.sibling,c=Fa(H,{mode:"hidden",children:c.children}),c.subtreeFlags=H.subtreeFlags&65011712,ae!==null?m=Fa(ae,m):(m=hs(m,C,u,null),m.flags|=2),m.return=i,c.return=i,c.sibling=m,i.child=c,c=m,m=i.child,C=r.child.memoizedState,C===null?C=yf(u):(H=C.cachePool,H!==null?(ae=On._currentValue,H=H.parent!==ae?{parent:ae,pool:ae}:H):H=$p(),C={baseLanes:C.baseLanes|u,cachePool:H}),m.memoizedState=C,m.childLanes=vf(r,x,u),i.memoizedState=Ef,c):(xi(i),u=r.child,r=u.sibling,u=Fa(u,{mode:"visible",children:c.children}),u.return=i,u.sibling=null,r!==null&&(x=i.deletions,x===null?(i.deletions=[r],i.flags|=16):x.push(r)),i.child=u,i.memoizedState=null,u)}function Tf(r,i){return i=yc({mode:"visible",children:i},r.mode),i.return=r,r.child=i}function yc(r,i){return r=kr(22,r,null,i),r.lanes=0,r.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},r}function _f(r,i,u){return tl(i,r.child,null,u),r=Tf(i,i.pendingProps.children),r.flags|=2,i.memoizedState=null,r}function o2(r,i,u){r.lanes|=i;var c=r.alternate;c!==null&&(c.lanes|=i),zd(r.return,i,u)}function Sf(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 c2(r,i,u){var c=i.pendingProps,m=c.revealOrder,g=c.tail;if(qn(r,i,c.children,u),c=Rn.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&&o2(r,u,i);else if(r.tag===19)o2(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(R(Rn,c),m){case"forwards":for(u=i.child,m=null;u!==null;)r=u.alternate,r!==null&&pc(r)===null&&(m=u),u=u.sibling;u=m,u===null?(m=i.child,i.child=null):(m=u.sibling,u.sibling=null),Sf(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&&pc(r)===null){i.child=m;break}r=m.sibling,m.sibling=u,u=m,m=r}Sf(i,!0,u,null,g);break;case"together":Sf(i,!1,null,null,void 0);break;default:i.memoizedState=null}return i.child}function Ka(r,i,u){if(r!==null&&(i.dependencies=r.dependencies),Oi|=i.lanes,(u&i.childLanes)===0)if(r!==null){if(uu(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=Fa(r,r.pendingProps),i.child=u,u.return=i;r.sibling!==null;)r=r.sibling,u=u.sibling=Fa(r,r.pendingProps),u.return=i;u.sibling=null}return i.child}function xf(r,i){return(r.lanes&i)!==0?!0:(r=r.dependencies,!!(r!==null&&Jo(r)))}function k8(r,i,u){switch(i.tag){case 3:st(i,i.stateNode.containerInfo),yi(i,On,r.memoizedState.cache),su();break;case 27:case 5:Pt(i);break;case 4:st(i,i.stateNode.containerInfo);break;case 10:yi(i,i.type,i.memoizedProps.value);break;case 13:var c=i.memoizedState;if(c!==null)return c.dehydrated!==null?(xi(i),i.flags|=128,null):(u&i.child.childLanes)!==0?u2(r,i,u):(xi(i),r=Ka(r,i,u),r!==null?r.sibling:null);xi(i);break;case 19:var m=(r.flags&128)!==0;if(c=(u&i.childLanes)!==0,c||(uu(r,i,u,!1),c=(u&i.childLanes)!==0),m){if(c)return c2(r,i,u);i.flags|=128}if(m=i.memoizedState,m!==null&&(m.rendering=null,m.tail=null,m.lastEffect=null),R(Rn,Rn.current),c)break;return null;case 22:case 23:return i.lanes=0,r2(r,i,u);case 24:yi(i,On,r.memoizedState.cache)}return Ka(r,i,u)}function d2(r,i,u){if(r!==null)if(r.memoizedProps!==i.pendingProps)Bn=!0;else{if(!xf(r,u)&&(i.flags&128)===0)return Bn=!1,k8(r,i,u);Bn=(r.flags&131072)!==0}else Bn=!1,Mt&&(i.flags&1048576)!==0&&Hp(i,Zo,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")Md(c)?(r=_s(c,r),i.tag=1,i=s2(null,i,c,r,u)):(i.tag=0,i=bf(null,i,c,r,u));else{if(c!=null){if(m=c.$$typeof,m===$){i.tag=11,i=e2(null,i,c,r,u);break e}else if(m===re){i.tag=14,i=t2(null,i,c,r,u);break e}}throw i=he(c)||c,Error(a(306,i,""))}}return i;case 0:return bf(r,i,i.type,i.pendingProps,u);case 1:return c=i.type,m=_s(c,i.pendingProps),s2(r,i,c,m,u);case 3:e:{if(st(i,i.stateNode.containerInfo),r===null)throw Error(a(387));c=i.pendingProps;var g=i.memoizedState;m=g.element,Vd(r,i),pu(i,c,null,u);var x=i.memoizedState;if(c=x.cache,yi(i,On,c),c!==g.cache&&Fd(i,[On],u,!0),mu(),c=x.element,g.isDehydrated)if(g={element:c,isDehydrated:!1,cache:x.cache},i.updateQueue.baseState=g,i.memoizedState=g,i.flags&256){i=l2(r,i,c,u);break e}else if(c!==m){m=qr(Error(a(424)),i),lu(m),i=l2(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(hn=ca(r.firstChild),nr=i,Mt=!0,gs=null,ba=!0,u=Yg(i,null,c,u),i.child=u;u;)u.flags=u.flags&-3|4096,u=u.sibling}else{if(su(),c===m){i=Ka(r,i,u);break e}qn(r,i,c,u)}i=i.child}return i;case 26:return Ec(r,i),r===null?(u=p4(i.type,null,i.pendingProps,null))?i.memoizedState=u:Mt||(u=i.type,r=i.pendingProps,c=Dc(we.current).createElement(u),c[Ie]=i,c[je]=r,Gn(c,u,r),ln(c),i.stateNode=c):i.memoizedState=p4(i.type,r.memoizedProps,i.pendingProps,r.memoizedState),null;case 27:return Pt(i),r===null&&Mt&&(c=i.stateNode=f4(i.type,i.pendingProps,we.current),nr=i,ba=!0,m=hn,Ii(i.type)?(ah=m,hn=ca(c.firstChild)):hn=m),qn(r,i,i.pendingProps.children,u),Ec(r,i),r===null&&(i.flags|=4194304),i.child;case 5:return r===null&&Mt&&((m=c=hn)&&(c=tv(c,i.type,i.pendingProps,ba),c!==null?(i.stateNode=c,nr=i,hn=ca(c.firstChild),ba=!1,m=!0):m=!1),m||bs(i)),Pt(i),m=i.type,g=i.pendingProps,x=r!==null?r.memoizedProps:null,c=g.children,eh(m,g)?c=null:x!==null&&eh(m,x)&&(i.flags|=32),i.memoizedState!==null&&(m=Zd(r,i,y8,null,null,u),Pu._currentValue=m),Ec(r,i),qn(r,i,c,u),i.child;case 6:return r===null&&Mt&&((r=u=hn)&&(u=nv(u,i.pendingProps,ba),u!==null?(i.stateNode=u,nr=i,hn=null,r=!0):r=!1),r||bs(i)),null;case 13:return u2(r,i,u);case 4:return st(i,i.stateNode.containerInfo),c=i.pendingProps,r===null?i.child=tl(i,null,c,u):qn(r,i,c,u),i.child;case 11:return e2(r,i,i.type,i.pendingProps,u);case 7:return qn(r,i,i.pendingProps,u),i.child;case 8:return qn(r,i,i.pendingProps.children,u),i.child;case 12:return qn(r,i,i.pendingProps.children,u),i.child;case 10:return c=i.pendingProps,yi(i,i.type,c.value),qn(r,i,c.children,u),i.child;case 9:return m=i.type._context,c=i.pendingProps.children,ys(i),m=Kn(m),c=c(m),i.flags|=1,qn(r,i,c,u),i.child;case 14:return t2(r,i,i.type,i.pendingProps,u);case 15:return n2(r,i,i.type,i.pendingProps,u);case 19:return c2(r,i,u);case 31:return c=i.pendingProps,u=i.mode,c={mode:c.mode,children:c.children},r===null?(u=yc(c,u),u.ref=i.ref,i.child=u,u.return=i,i=u):(u=Fa(r.child,c),u.ref=i.ref,i.child=u,u.return=i,i=u),i;case 22:return r2(r,i,u);case 24:return ys(i),c=Kn(On),r===null?(m=Yd(),m===null&&(m=Vt,g=Hd(),m.pooledCache=g,g.refCount++,g!==null&&(m.pooledCacheLanes|=u),m=g),i.memoizedState={parent:c,cache:m},jd(i),yi(i,On,m)):((r.lanes&u)!==0&&(Vd(r,i),pu(i,null,null,u),mu()),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),yi(i,On,c)):(c=g.cache,yi(i,On,c),c!==m.cache&&Fd(i,[On],u,!0))),qn(r,i,i.pendingProps.children,u),i.child;case 29:throw i.pendingProps}throw Error(a(156,i.tag))}function $a(r){r.flags|=4}function f2(r,i){if(i.type!=="stylesheet"||(i.state.loading&4)!==0)r.flags&=-16777217;else if(r.flags|=16777216,!v4(i)){if(i=Vr.current,i!==null&&((At&4194048)===At?Ea!==null:(At&62914560)!==At&&(At&536870912)===0||i!==Ea))throw fu=Gd,Xp;r.flags|=8192}}function vc(r,i){i!==null&&(r.flags|=4),r.flags&16384&&(i=r.tag!==22?Gl():536870912,r.lanes|=i,il|=i)}function _u(r,i){if(!Mt)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 on(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 N8(r,i,u){var c=i.pendingProps;switch(Bd(i),i.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return on(i),null;case 1:return on(i),null;case 3:return u=i.stateNode,c=null,r!==null&&(c=r.memoizedState.cache),i.memoizedState.cache!==c&&(i.flags|=2048),Ga(On),Wt(),u.pendingContext&&(u.context=u.pendingContext,u.pendingContext=null),(r===null||r.child===null)&&(iu(i)?$a(i):r===null||r.memoizedState.isDehydrated&&(i.flags&256)===0||(i.flags|=1024,Gp())),on(i),null;case 26:return u=i.memoizedState,r===null?($a(i),u!==null?(on(i),f2(i,u)):(on(i),i.flags&=-16777217)):u?u!==r.memoizedState?($a(i),on(i),f2(i,u)):(on(i),i.flags&=-16777217):(r.memoizedProps!==c&&$a(i),on(i),i.flags&=-16777217),null;case 27:In(i),u=we.current;var m=i.type;if(r!==null&&i.stateNode!=null)r.memoizedProps!==c&&$a(i);else{if(!c){if(i.stateNode===null)throw Error(a(166));return on(i),null}r=Ae.current,iu(i)?qp(i):(r=f4(m,c,u),i.stateNode=r,$a(i))}return on(i),null;case 5:if(In(i),u=i.type,r!==null&&i.stateNode!=null)r.memoizedProps!==c&&$a(i);else{if(!c){if(i.stateNode===null)throw Error(a(166));return on(i),null}if(r=Ae.current,iu(i))qp(i);else{switch(m=Dc(we.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[Ie]=i,r[je]=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(Gn(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&&$a(i)}}return on(i),i.flags&=-16777217,null;case 6:if(r&&i.stateNode!=null)r.memoizedProps!==c&&$a(i);else{if(typeof c!="string"&&i.stateNode===null)throw Error(a(166));if(r=we.current,iu(i)){if(r=i.stateNode,u=i.memoizedProps,c=null,m=nr,m!==null)switch(m.tag){case 27:case 5:c=m.memoizedProps}r[Ie]=i,r=!!(r.nodeValue===u||c!==null&&c.suppressHydrationWarning===!0||i4(r.nodeValue,u)),r||bs(i)}else r=Dc(r).createTextNode(c),r[Ie]=i,i.stateNode=r}return on(i),null;case 13:if(c=i.memoizedState,r===null||r.memoizedState!==null&&r.memoizedState.dehydrated!==null){if(m=iu(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[Ie]=i}else su(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;on(i),m=!1}else m=Gp(),r!==null&&r.memoizedState!==null&&(r.memoizedState.hydrationErrors=m),m=!0;if(!m)return i.flags&256?(Va(i),i):(Va(i),null)}if(Va(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),vc(i,i.updateQueue),on(i),null;case 4:return Wt(),r===null&&Xf(i.stateNode.containerInfo),on(i),null;case 10:return Ga(i.type),on(i),null;case 19:if(ue(Rn),m=i.memoizedState,m===null)return on(i),null;if(c=(i.flags&128)!==0,g=m.rendering,g===null)if(c)_u(m,!1);else{if(mn!==0||r!==null&&(r.flags&128)!==0)for(r=i.child;r!==null;){if(g=pc(r),g!==null){for(i.flags|=128,_u(m,!1),r=g.updateQueue,i.updateQueue=r,vc(i,r),i.subtreeFlags=0,r=u,u=i.child;u!==null;)Fp(u,r),u=u.sibling;return R(Rn,Rn.current&1|2),i.child}r=r.sibling}m.tail!==null&&xt()>Sc&&(i.flags|=128,c=!0,_u(m,!1),i.lanes=4194304)}else{if(!c)if(r=pc(g),r!==null){if(i.flags|=128,c=!0,r=r.updateQueue,i.updateQueue=r,vc(i,r),_u(m,!0),m.tail===null&&m.tailMode==="hidden"&&!g.alternate&&!Mt)return on(i),null}else 2*xt()-m.renderingStartTime>Sc&&u!==536870912&&(i.flags|=128,c=!0,_u(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=xt(),i.sibling=null,r=Rn.current,R(Rn,c?r&1|2:r&1),i):(on(i),null);case 22:case 23:return Va(i),Wd(),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&&(on(i),i.subtreeFlags&6&&(i.flags|=8192)):on(i),u=i.updateQueue,u!==null&&vc(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&&ue(vs),null;case 24:return u=null,r!==null&&(u=r.memoizedState.cache),i.memoizedState.cache!==u&&(i.flags|=2048),Ga(On),on(i),null;case 25:return null;case 30:return null}throw Error(a(156,i.tag))}function C8(r,i){switch(Bd(i),i.tag){case 1:return r=i.flags,r&65536?(i.flags=r&-65537|128,i):null;case 3:return Ga(On),Wt(),r=i.flags,(r&65536)!==0&&(r&128)===0?(i.flags=r&-65537|128,i):null;case 26:case 27:case 5:return In(i),null;case 13:if(Va(i),r=i.memoizedState,r!==null&&r.dehydrated!==null){if(i.alternate===null)throw Error(a(340));su()}return r=i.flags,r&65536?(i.flags=r&-65537|128,i):null;case 19:return ue(Rn),null;case 4:return Wt(),null;case 10:return Ga(i.type),null;case 22:case 23:return Va(i),Wd(),r!==null&&ue(vs),r=i.flags,r&65536?(i.flags=r&-65537|128,i):null;case 24:return Ga(On),null;case 25:return null;default:return null}}function h2(r,i){switch(Bd(i),i.tag){case 3:Ga(On),Wt();break;case 26:case 27:case 5:In(i);break;case 4:Wt();break;case 13:Va(i);break;case 19:ue(Rn);break;case 10:Ga(i.type);break;case 22:case 23:Va(i),Wd(),r!==null&&ue(vs);break;case 24:Ga(On)}}function Su(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,x=u.inst;c=g(),x.destroy=c}u=u.next}while(u!==m)}}catch(C){Yt(i,i.return,C)}}function wi(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 x=c.inst,C=x.destroy;if(C!==void 0){x.destroy=void 0,m=i;var H=u,ae=C;try{ae()}catch(me){Yt(m,H,me)}}}c=c.next}while(c!==g)}}catch(me){Yt(i,i.return,me)}}function m2(r){var i=r.updateQueue;if(i!==null){var u=r.stateNode;try{tg(i,u)}catch(c){Yt(r,r.return,c)}}}function p2(r,i,u){u.props=_s(r.type,r.memoizedProps),u.state=r.memoizedState;try{u.componentWillUnmount()}catch(c){Yt(r,i,c)}}function xu(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){Yt(r,i,m)}}function ya(r,i){var u=r.ref,c=r.refCleanup;if(u!==null)if(typeof c=="function")try{c()}catch(m){Yt(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){Yt(r,i,m)}else u.current=null}function g2(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){Yt(r,r.return,m)}}function Af(r,i,u){try{var c=r.stateNode;W8(c,r.type,u,i),c[je]=i}catch(m){Yt(r,r.return,m)}}function b2(r){return r.tag===5||r.tag===3||r.tag===26||r.tag===27&&Ii(r.type)||r.tag===4}function wf(r){e:for(;;){for(;r.sibling===null;){if(r.return===null||b2(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&&Ii(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 kf(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=Mc));else if(c!==4&&(c===27&&Ii(r.type)&&(u=r.stateNode,i=null),r=r.child,r!==null))for(kf(r,i,u),r=r.sibling;r!==null;)kf(r,i,u),r=r.sibling}function Tc(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&&Ii(r.type)&&(u=r.stateNode),r=r.child,r!==null))for(Tc(r,i,u),r=r.sibling;r!==null;)Tc(r,i,u),r=r.sibling}function E2(r){var i=r.stateNode,u=r.memoizedProps;try{for(var c=r.type,m=i.attributes;m.length;)i.removeAttributeNode(m[0]);Gn(i,c,u),i[Ie]=r,i[je]=u}catch(g){Yt(r,r.return,g)}}var Xa=!1,En=!1,Nf=!1,y2=typeof WeakSet=="function"?WeakSet:Set,Pn=null;function O8(r,i){if(r=r.containerInfo,Zf=zc,r=Op(r),Ad(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 x=0,C=-1,H=-1,ae=0,me=0,Te=r,se=null;t:for(;;){for(var le;Te!==u||m!==0&&Te.nodeType!==3||(C=x+m),Te!==g||c!==0&&Te.nodeType!==3||(H=x+c),Te.nodeType===3&&(x+=Te.nodeValue.length),(le=Te.firstChild)!==null;)se=Te,Te=le;for(;;){if(Te===r)break t;if(se===u&&++ae===m&&(C=x),se===g&&++me===c&&(H=x),(le=Te.nextSibling)!==null)break;Te=se,se=Te.parentNode}Te=le}u=C===-1||H===-1?null:{start:C,end:H}}else u=null}u=u||{start:0,end:0}}else u=null;for(Jf={focusedElem:r,selectionRange:u},zc=!1,Pn=i;Pn!==null;)if(i=Pn,r=i.child,(i.subtreeFlags&1024)!==0&&r!==null)r.return=i,Pn=r;else for(;Pn!==null;){switch(i=Pn,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 at=_s(u.type,m,u.elementType===u.type);r=c.getSnapshotBeforeUpdate(at,g),c.__reactInternalSnapshotBeforeUpdate=r}catch(tt){Yt(u,u.return,tt)}}break;case 3:if((r&1024)!==0){if(r=i.stateNode.containerInfo,u=r.nodeType,u===9)nh(r);else if(u===1)switch(r.nodeName){case"HEAD":case"HTML":case"BODY":nh(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,Pn=r;break}Pn=i.return}}function v2(r,i,u){var c=u.flags;switch(u.tag){case 0:case 11:case 15:ki(r,u),c&4&&Su(5,u);break;case 1:if(ki(r,u),c&4)if(r=u.stateNode,i===null)try{r.componentDidMount()}catch(x){Yt(u,u.return,x)}else{var m=_s(u.type,i.memoizedProps);i=i.memoizedState;try{r.componentDidUpdate(m,i,r.__reactInternalSnapshotBeforeUpdate)}catch(x){Yt(u,u.return,x)}}c&64&&m2(u),c&512&&xu(u,u.return);break;case 3:if(ki(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{tg(r,i)}catch(x){Yt(u,u.return,x)}}break;case 27:i===null&&c&4&&E2(u);case 26:case 5:ki(r,u),i===null&&c&4&&g2(u),c&512&&xu(u,u.return);break;case 12:ki(r,u);break;case 13:ki(r,u),c&4&&S2(r,u),c&64&&(r=u.memoizedState,r!==null&&(r=r.dehydrated,r!==null&&(u=z8.bind(null,u),rv(r,u))));break;case 22:if(c=u.memoizedState!==null||Xa,!c){i=i!==null&&i.memoizedState!==null||En,m=Xa;var g=En;Xa=c,(En=i)&&!g?Ni(r,u,(u.subtreeFlags&8772)!==0):ki(r,u),Xa=m,En=g}break;case 30:break;default:ki(r,u)}}function T2(r){var i=r.alternate;i!==null&&(r.alternate=null,T2(i)),r.child=null,r.deletions=null,r.sibling=null,r.tag===5&&(i=r.stateNode,i!==null&&as(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 tn=null,pr=!1;function Wa(r,i,u){for(u=u.child;u!==null;)_2(r,i,u),u=u.sibling}function _2(r,i,u){if(Se&&typeof Se.onCommitFiberUnmount=="function")try{Se.onCommitFiberUnmount(oe,u)}catch{}switch(u.tag){case 26:En||ya(u,i),Wa(r,i,u),u.memoizedState?u.memoizedState.count--:u.stateNode&&(u=u.stateNode,u.parentNode.removeChild(u));break;case 27:En||ya(u,i);var c=tn,m=pr;Ii(u.type)&&(tn=u.stateNode,pr=!1),Wa(r,i,u),Du(u.stateNode),tn=c,pr=m;break;case 5:En||ya(u,i);case 6:if(c=tn,m=pr,tn=null,Wa(r,i,u),tn=c,pr=m,tn!==null)if(pr)try{(tn.nodeType===9?tn.body:tn.nodeName==="HTML"?tn.ownerDocument.body:tn).removeChild(u.stateNode)}catch(g){Yt(u,i,g)}else try{tn.removeChild(u.stateNode)}catch(g){Yt(u,i,g)}break;case 18:tn!==null&&(pr?(r=tn,c4(r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r,u.stateNode),Hu(r)):c4(tn,u.stateNode));break;case 4:c=tn,m=pr,tn=u.stateNode.containerInfo,pr=!0,Wa(r,i,u),tn=c,pr=m;break;case 0:case 11:case 14:case 15:En||wi(2,u,i),En||wi(4,u,i),Wa(r,i,u);break;case 1:En||(ya(u,i),c=u.stateNode,typeof c.componentWillUnmount=="function"&&p2(u,i,c)),Wa(r,i,u);break;case 21:Wa(r,i,u);break;case 22:En=(c=En)||u.memoizedState!==null,Wa(r,i,u),En=c;break;default:Wa(r,i,u)}}function S2(r,i){if(i.memoizedState===null&&(r=i.alternate,r!==null&&(r=r.memoizedState,r!==null&&(r=r.dehydrated,r!==null))))try{Hu(r)}catch(u){Yt(i,i.return,u)}}function R8(r){switch(r.tag){case 13:case 19:var i=r.stateNode;return i===null&&(i=r.stateNode=new y2),i;case 22:return r=r.stateNode,i=r._retryCache,i===null&&(i=r._retryCache=new y2),i;default:throw Error(a(435,r.tag))}}function Cf(r,i){var u=R8(r);i.forEach(function(c){var m=F8.bind(null,r,c);u.has(c)||(u.add(c),c.then(m,m))})}function Nr(r,i){var u=i.deletions;if(u!==null)for(var c=0;c<u.length;c++){var m=u[c],g=r,x=i,C=x;e:for(;C!==null;){switch(C.tag){case 27:if(Ii(C.type)){tn=C.stateNode,pr=!1;break e}break;case 5:tn=C.stateNode,pr=!1;break e;case 3:case 4:tn=C.stateNode.containerInfo,pr=!0;break e}C=C.return}if(tn===null)throw Error(a(160));_2(g,x,m),tn=null,pr=!1,g=m.alternate,g!==null&&(g.return=null),m.return=null}if(i.subtreeFlags&13878)for(i=i.child;i!==null;)x2(i,r),i=i.sibling}var oa=null;function x2(r,i){var u=r.alternate,c=r.flags;switch(r.tag){case 0:case 11:case 14:case 15:Nr(i,r),Cr(r),c&4&&(wi(3,r,r.return),Su(3,r),wi(5,r,r.return));break;case 1:Nr(i,r),Cr(r),c&512&&(En||u===null||ya(u,u.return)),c&64&&Xa&&(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=oa;if(Nr(i,r),Cr(r),c&512&&(En||u===null||ya(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[rs]||g[Ie]||g.namespaceURI==="http://www.w3.org/2000/svg"||g.hasAttribute("itemprop"))&&(g=m.createElement(c),m.head.insertBefore(g,m.querySelector("head > title"))),Gn(g,c,u),g[Ie]=r,ln(g),c=g;break e;case"link":var x=E4("link","href",m).get(c+(u.href||""));if(x){for(var C=0;C<x.length;C++)if(g=x[C],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)){x.splice(C,1);break t}}g=m.createElement(c),Gn(g,c,u),m.head.appendChild(g);break;case"meta":if(x=E4("meta","content",m).get(c+(u.content||""))){for(C=0;C<x.length;C++)if(g=x[C],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)){x.splice(C,1);break t}}g=m.createElement(c),Gn(g,c,u),m.head.appendChild(g);break;default:throw Error(a(468,c))}g[Ie]=r,ln(g),c=g}r.stateNode=c}else y4(m,r.type,r.stateNode);else r.stateNode=b4(m,c,r.memoizedProps);else g!==c?(g===null?u.stateNode!==null&&(u=u.stateNode,u.parentNode.removeChild(u)):g.count--,c===null?y4(m,r.type,r.stateNode):b4(m,c,r.memoizedProps)):c===null&&r.stateNode!==null&&Af(r,r.memoizedProps,u.memoizedProps)}break;case 27:Nr(i,r),Cr(r),c&512&&(En||u===null||ya(u,u.return)),u!==null&&c&4&&Af(r,r.memoizedProps,u.memoizedProps);break;case 5:if(Nr(i,r),Cr(r),c&512&&(En||u===null||ya(u,u.return)),r.flags&32){m=r.stateNode;try{ga(m,"")}catch(le){Yt(r,r.return,le)}}c&4&&r.stateNode!=null&&(m=r.memoizedProps,Af(r,m,u!==null?u.memoizedProps:m)),c&1024&&(Nf=!0);break;case 6:if(Nr(i,r),Cr(r),c&4){if(r.stateNode===null)throw Error(a(162));c=r.memoizedProps,u=r.stateNode;try{u.nodeValue=c}catch(le){Yt(r,r.return,le)}}break;case 3:if(Bc=null,m=oa,oa=Ic(i.containerInfo),Nr(i,r),oa=m,Cr(r),c&4&&u!==null&&u.memoizedState.isDehydrated)try{Hu(i.containerInfo)}catch(le){Yt(r,r.return,le)}Nf&&(Nf=!1,A2(r));break;case 4:c=oa,oa=Ic(r.stateNode.containerInfo),Nr(i,r),Cr(r),oa=c;break;case 12:Nr(i,r),Cr(r);break;case 13:Nr(i,r),Cr(r),r.child.flags&8192&&r.memoizedState!==null!=(u!==null&&u.memoizedState!==null)&&(Lf=xt()),c&4&&(c=r.updateQueue,c!==null&&(r.updateQueue=null,Cf(r,c)));break;case 22:m=r.memoizedState!==null;var H=u!==null&&u.memoizedState!==null,ae=Xa,me=En;if(Xa=ae||m,En=me||H,Nr(i,r),En=me,Xa=ae,Cr(r),c&8192)e:for(i=r.stateNode,i._visibility=m?i._visibility&-2:i._visibility|1,m&&(u===null||H||Xa||En||Ss(r)),u=null,i=r;;){if(i.tag===5||i.tag===26){if(u===null){H=u=i;try{if(g=H.stateNode,m)x=g.style,typeof x.setProperty=="function"?x.setProperty("display","none","important"):x.display="none";else{C=H.stateNode;var Te=H.memoizedProps.style,se=Te!=null&&Te.hasOwnProperty("display")?Te.display:null;C.style.display=se==null||typeof se=="boolean"?"":(""+se).trim()}}catch(le){Yt(H,H.return,le)}}}else if(i.tag===6){if(u===null){H=i;try{H.stateNode.nodeValue=m?"":H.memoizedProps}catch(le){Yt(H,H.return,le)}}}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,Cf(r,u))));break;case 19:Nr(i,r),Cr(r),c&4&&(c=r.updateQueue,c!==null&&(r.updateQueue=null,Cf(r,c)));break;case 30:break;case 21:break;default:Nr(i,r),Cr(r)}}function Cr(r){var i=r.flags;if(i&2){try{for(var u,c=r.return;c!==null;){if(b2(c)){u=c;break}c=c.return}if(u==null)throw Error(a(160));switch(u.tag){case 27:var m=u.stateNode,g=wf(r);Tc(r,g,m);break;case 5:var x=u.stateNode;u.flags&32&&(ga(x,""),u.flags&=-33);var C=wf(r);Tc(r,C,x);break;case 3:case 4:var H=u.stateNode.containerInfo,ae=wf(r);kf(r,ae,H);break;default:throw Error(a(161))}}catch(me){Yt(r,r.return,me)}r.flags&=-3}i&4096&&(r.flags&=-4097)}function A2(r){if(r.subtreeFlags&1024)for(r=r.child;r!==null;){var i=r;A2(i),i.tag===5&&i.flags&1024&&i.stateNode.reset(),r=r.sibling}}function ki(r,i){if(i.subtreeFlags&8772)for(i=i.child;i!==null;)v2(r,i.alternate,i),i=i.sibling}function Ss(r){for(r=r.child;r!==null;){var i=r;switch(i.tag){case 0:case 11:case 14:case 15:wi(4,i,i.return),Ss(i);break;case 1:ya(i,i.return);var u=i.stateNode;typeof u.componentWillUnmount=="function"&&p2(i,i.return,u),Ss(i);break;case 27:Du(i.stateNode);case 26:case 5:ya(i,i.return),Ss(i);break;case 22:i.memoizedState===null&&Ss(i);break;case 30:Ss(i);break;default:Ss(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,x=g.flags;switch(g.tag){case 0:case 11:case 15:Ni(m,g,u),Su(4,g);break;case 1:if(Ni(m,g,u),c=g,m=c.stateNode,typeof m.componentDidMount=="function")try{m.componentDidMount()}catch(ae){Yt(c,c.return,ae)}if(c=g,m=c.updateQueue,m!==null){var C=c.stateNode;try{var H=m.shared.hiddenCallbacks;if(H!==null)for(m.shared.hiddenCallbacks=null,m=0;m<H.length;m++)eg(H[m],C)}catch(ae){Yt(c,c.return,ae)}}u&&x&64&&m2(g),xu(g,g.return);break;case 27:E2(g);case 26:case 5:Ni(m,g,u),u&&c===null&&x&4&&g2(g),xu(g,g.return);break;case 12:Ni(m,g,u);break;case 13:Ni(m,g,u),u&&x&4&&S2(m,g);break;case 22:g.memoizedState===null&&Ni(m,g,u),xu(g,g.return);break;case 30:break;default:Ni(m,g,u)}i=i.sibling}}function Of(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&&ou(u))}function Rf(r,i){r=null,i.alternate!==null&&(r=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==r&&(i.refCount++,r!=null&&ou(r))}function va(r,i,u,c){if(i.subtreeFlags&10256)for(i=i.child;i!==null;)w2(r,i,u,c),i=i.sibling}function w2(r,i,u,c){var m=i.flags;switch(i.tag){case 0:case 11:case 15:va(r,i,u,c),m&2048&&Su(9,i);break;case 1:va(r,i,u,c);break;case 3:va(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&&ou(r)));break;case 12:if(m&2048){va(r,i,u,c),r=i.stateNode;try{var g=i.memoizedProps,x=g.id,C=g.onPostCommit;typeof C=="function"&&C(x,i.alternate===null?"mount":"update",r.passiveEffectDuration,-0)}catch(H){Yt(i,i.return,H)}}else va(r,i,u,c);break;case 13:va(r,i,u,c);break;case 23:break;case 22:g=i.stateNode,x=i.alternate,i.memoizedState!==null?g._visibility&2?va(r,i,u,c):Au(r,i):g._visibility&2?va(r,i,u,c):(g._visibility|=2,nl(r,i,u,c,(i.subtreeFlags&10256)!==0)),m&2048&&Of(x,i);break;case 24:va(r,i,u,c),m&2048&&Rf(i.alternate,i);break;default:va(r,i,u,c)}}function nl(r,i,u,c,m){for(m=m&&(i.subtreeFlags&10256)!==0,i=i.child;i!==null;){var g=r,x=i,C=u,H=c,ae=x.flags;switch(x.tag){case 0:case 11:case 15:nl(g,x,C,H,m),Su(8,x);break;case 23:break;case 22:var me=x.stateNode;x.memoizedState!==null?me._visibility&2?nl(g,x,C,H,m):Au(g,x):(me._visibility|=2,nl(g,x,C,H,m)),m&&ae&2048&&Of(x.alternate,x);break;case 24:nl(g,x,C,H,m),m&&ae&2048&&Rf(x.alternate,x);break;default:nl(g,x,C,H,m)}i=i.sibling}}function Au(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:Au(u,c),m&2048&&Of(c.alternate,c);break;case 24:Au(u,c),m&2048&&Rf(c.alternate,c);break;default:Au(u,c)}i=i.sibling}}var wu=8192;function rl(r){if(r.subtreeFlags&wu)for(r=r.child;r!==null;)k2(r),r=r.sibling}function k2(r){switch(r.tag){case 26:rl(r),r.flags&wu&&r.memoizedState!==null&&gv(oa,r.memoizedState,r.memoizedProps);break;case 5:rl(r);break;case 3:case 4:var i=oa;oa=Ic(r.stateNode.containerInfo),rl(r),oa=i;break;case 22:r.memoizedState===null&&(i=r.alternate,i!==null&&i.memoizedState!==null?(i=wu,wu=16777216,rl(r),wu=i):rl(r));break;default:rl(r)}}function N2(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 ku(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];Pn=c,O2(c,r)}N2(r)}if(r.subtreeFlags&10256)for(r=r.child;r!==null;)C2(r),r=r.sibling}function C2(r){switch(r.tag){case 0:case 11:case 15:ku(r),r.flags&2048&&wi(9,r,r.return);break;case 3:ku(r);break;case 12:ku(r);break;case 22:var i=r.stateNode;r.memoizedState!==null&&i._visibility&2&&(r.return===null||r.return.tag!==13)?(i._visibility&=-3,_c(r)):ku(r);break;default:ku(r)}}function _c(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];Pn=c,O2(c,r)}N2(r)}for(r=r.child;r!==null;){switch(i=r,i.tag){case 0:case 11:case 15:wi(8,i,i.return),_c(i);break;case 22:u=i.stateNode,u._visibility&2&&(u._visibility&=-3,_c(i));break;default:_c(i)}r=r.sibling}}function O2(r,i){for(;Pn!==null;){var u=Pn;switch(u.tag){case 0:case 11:case 15:wi(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:ou(u.memoizedState.cache)}if(c=u.child,c!==null)c.return=u,Pn=c;else e:for(u=r;Pn!==null;){c=Pn;var m=c.sibling,g=c.return;if(T2(c),c===u){Pn=null;break e}if(m!==null){m.return=g,Pn=m;break e}Pn=g}}}var M8={getCacheForType:function(r){var i=Kn(On),u=i.data.get(r);return u===void 0&&(u=r(),i.data.set(r,u)),u}},D8=typeof WeakMap=="function"?WeakMap:Map,Lt=0,Vt=null,Tt=null,At=0,Bt=0,Or=null,Ci=!1,al=!1,Mf=!1,Qa=0,mn=0,Oi=0,xs=0,Df=0,Kr=0,il=0,Nu=null,gr=null,If=!1,Lf=0,Sc=1/0,xc=null,Ri=null,Yn=0,Mi=null,sl=null,ll=0,Bf=0,Pf=null,R2=null,Cu=0,Uf=null;function Rr(){if((Lt&2)!==0&&At!==0)return At&-At;if(W.T!==null){var r=$s;return r!==0?r:jf()}return Jt()}function M2(){Kr===0&&(Kr=(At&536870912)===0||Mt?Yl():536870912);var r=Vr.current;return r!==null&&(r.flags|=32),Kr}function Mr(r,i,u){(r===Vt&&(Bt===2||Bt===9)||r.cancelPendingCommit!==null)&&(ul(r,0),Di(r,At,Kr,!1)),fi(r,u),((Lt&2)===0||r!==Vt)&&(r===Vt&&((Lt&2)===0&&(xs|=u),mn===4&&Di(r,At,Kr,!1)),Ta(r))}function D2(r,i,u){if((Lt&6)!==0)throw Error(a(327));var c=!u&&(i&124)===0&&(i&r.expiredLanes)===0||dr(r,i),m=c?B8(r,i):Hf(r,i,!0),g=c;do{if(m===0){al&&!c&&Di(r,i,0,!1);break}else{if(u=r.current.alternate,g&&!I8(u)){m=Hf(r,i,!1),g=!1;continue}if(m===2){if(g=i,r.errorRecoveryDisabledLanes&g)var x=0;else x=r.pendingLanes&-536870913,x=x!==0?x:x&536870912?536870912:0;if(x!==0){i=x;e:{var C=r;m=Nu;var H=C.current.memoizedState.isDehydrated;if(H&&(ul(C,x).flags|=256),x=Hf(C,x,!1),x!==2){if(Mf&&!H){C.errorRecoveryDisabledLanes|=g,xs|=g,m=4;break e}g=gr,gr=m,g!==null&&(gr===null?gr=g:gr.push.apply(gr,g))}m=x}if(g=!1,m!==2)continue}}if(m===1){ul(r,0),Di(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:Di(c,i,Kr,!Ci);break e;case 2:gr=null;break;case 3:case 5:break;default:throw Error(a(329))}if((i&62914560)===i&&(m=Lf+300-xt(),10<m)){if(Di(c,i,Kr,!Ci),Tn(c,0,!0)!==0)break e;c.timeoutHandle=u4(I2.bind(null,c,u,gr,xc,If,i,Kr,xs,il,Ci,g,2,-0,0),m);break e}I2(c,u,gr,xc,If,i,Kr,xs,il,Ci,g,0,-0,0)}}break}while(!0);Ta(r)}function I2(r,i,u,c,m,g,x,C,H,ae,me,Te,se,le){if(r.timeoutHandle=-1,Te=i.subtreeFlags,(Te&8192||(Te&16785408)===16785408)&&(Bu={stylesheets:null,count:0,unsuspend:pv},k2(i),Te=bv(),Te!==null)){r.cancelPendingCommit=Te(H2.bind(null,r,i,g,u,c,m,x,C,H,me,1,se,le)),Di(r,g,x,!ae);return}H2(r,i,g,u,c,m,x,C,H)}function I8(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(!wr(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 Di(r,i,u,c){i&=~Df,i&=~xs,r.suspendedLanes|=i,r.pingedLanes&=~i,c&&(r.warmLanes|=i),c=r.expirationTimes;for(var m=i;0<m;){var g=31-Qe(m),x=1<<g;c[g]=-1,m&=~x}u!==0&&G(r,u,i)}function Ac(){return(Lt&6)===0?(Ou(0),!1):!0}function zf(){if(Tt!==null){if(Bt===0)var r=Tt.return;else r=Tt,Ya=Es=null,tf(r),el=null,vu=0,r=Tt;for(;r!==null;)h2(r.alternate,r),r=r.return;Tt=null}}function ul(r,i){var u=r.timeoutHandle;u!==-1&&(r.timeoutHandle=-1,Z8(u)),u=r.cancelPendingCommit,u!==null&&(r.cancelPendingCommit=null,u()),zf(),Vt=r,Tt=u=Fa(r.current,null),At=i,Bt=0,Or=null,Ci=!1,al=dr(r,i),Mf=!1,il=Kr=Df=xs=Oi=mn=0,gr=Nu=null,If=!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-Qe(c),g=1<<m;i|=r[m],c&=~g}return Qa=i,Ko(),u}function L2(r,i){gt=null,W.H=fc,i===du||i===nc?(i=Zp(),Bt=3):i===Xp?(i=Zp(),Bt=4):Bt=i===Jg?8:i!==null&&typeof i=="object"&&typeof i.then=="function"?6:1,Or=i,Tt===null&&(mn=1,bc(r,qr(i,r.current)))}function B2(){var r=W.H;return W.H=fc,r===null?fc:r}function P2(){var r=W.A;return W.A=M8,r}function Ff(){mn=4,Ci||(At&4194048)!==At&&Vr.current!==null||(al=!0),(Oi&134217727)===0&&(xs&134217727)===0||Vt===null||Di(Vt,At,Kr,!1)}function Hf(r,i,u){var c=Lt;Lt|=2;var m=B2(),g=P2();(Vt!==r||At!==i)&&(xc=null,ul(r,i)),i=!1;var x=mn;e:do try{if(Bt!==0&&Tt!==null){var C=Tt,H=Or;switch(Bt){case 8:zf(),x=6;break e;case 3:case 2:case 9:case 6:Vr.current===null&&(i=!0);var ae=Bt;if(Bt=0,Or=null,ol(r,C,H,ae),u&&al){x=0;break e}break;default:ae=Bt,Bt=0,Or=null,ol(r,C,H,ae)}}L8(),x=mn;break}catch(me){L2(r,me)}while(!0);return i&&r.shellSuspendCounter++,Ya=Es=null,Lt=c,W.H=m,W.A=g,Tt===null&&(Vt=null,At=0,Ko()),x}function L8(){for(;Tt!==null;)U2(Tt)}function B8(r,i){var u=Lt;Lt|=2;var c=B2(),m=P2();Vt!==r||At!==i?(xc=null,Sc=xt()+500,ul(r,i)):al=dr(r,i);e:do try{if(Bt!==0&&Tt!==null){i=Tt;var g=Or;t:switch(Bt){case 1:Bt=0,Or=null,ol(r,i,g,1);break;case 2:case 9:if(Wp(g)){Bt=0,Or=null,z2(i);break}i=function(){Bt!==2&&Bt!==9||Vt!==r||(Bt=7),Ta(r)},g.then(i,i);break e;case 3:Bt=7;break e;case 4:Bt=5;break e;case 7:Wp(g)?(Bt=0,Or=null,z2(i)):(Bt=0,Or=null,ol(r,i,g,7));break;case 5:var x=null;switch(Tt.tag){case 26:x=Tt.memoizedState;case 5:case 27:var C=Tt;if(!x||v4(x)){Bt=0,Or=null;var H=C.sibling;if(H!==null)Tt=H;else{var ae=C.return;ae!==null?(Tt=ae,wc(ae)):Tt=null}break t}}Bt=0,Or=null,ol(r,i,g,5);break;case 6:Bt=0,Or=null,ol(r,i,g,6);break;case 8:zf(),mn=6;break e;default:throw Error(a(462))}}P8();break}catch(me){L2(r,me)}while(!0);return Ya=Es=null,W.H=c,W.A=m,Lt=u,Tt!==null?0:(Vt=null,At=0,Ko(),mn)}function P8(){for(;Tt!==null&&!Ut();)U2(Tt)}function U2(r){var i=d2(r.alternate,r,Qa);r.memoizedProps=r.pendingProps,i===null?wc(r):Tt=i}function z2(r){var i=r,u=i.alternate;switch(i.tag){case 15:case 0:i=i2(u,i,i.pendingProps,i.type,void 0,At);break;case 11:i=i2(u,i,i.pendingProps,i.type.render,i.ref,At);break;case 5:tf(i);default:h2(u,i),i=Tt=Fp(i,Qa),i=d2(u,i,Qa)}r.memoizedProps=r.pendingProps,i===null?wc(r):Tt=i}function ol(r,i,u,c){Ya=Es=null,tf(i),el=null,vu=0;var m=i.return;try{if(w8(r,m,i,u,At)){mn=1,bc(r,qr(u,r.current)),Tt=null;return}}catch(g){if(m!==null)throw Tt=m,g;mn=1,bc(r,qr(u,r.current)),Tt=null;return}i.flags&32768?(Mt||c===1?r=!0:al||(At&536870912)!==0?r=!1:(Ci=r=!0,(c===2||c===9||c===3||c===6)&&(c=Vr.current,c!==null&&c.tag===13&&(c.flags|=16384))),F2(i,r)):wc(i)}function wc(r){var i=r;do{if((i.flags&32768)!==0){F2(i,Ci);return}r=i.return;var u=N8(i.alternate,i,Qa);if(u!==null){Tt=u;return}if(i=i.sibling,i!==null){Tt=i;return}Tt=i=r}while(i!==null);mn===0&&(mn=5)}function F2(r,i){do{var u=C8(r.alternate,r);if(u!==null){u.flags&=32767,Tt=u;return}if(u=r.return,u!==null&&(u.flags|=32768,u.subtreeFlags=0,u.deletions=null),!i&&(r=r.sibling,r!==null)){Tt=r;return}Tt=r=u}while(r!==null);mn=6,Tt=null}function H2(r,i,u,c,m,g,x,C,H){r.cancelPendingCommit=null;do kc();while(Yn!==0);if((Lt&6)!==0)throw Error(a(327));if(i!==null){if(i===r.current)throw Error(a(177));if(g=i.lanes|i.childLanes,g|=Od,hi(r,u,g,x,C,H),r===Vt&&(Tt=Vt=null,At=0),sl=i,Mi=r,ll=u,Bf=g,Pf=m,R2=c,(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0?(r.callbackNode=null,r.callbackPriority=0,H8(Ln,function(){return V2(),null})):(r.callbackNode=null,r.callbackPriority=0),c=(i.flags&13878)!==0,(i.subtreeFlags&13878)!==0||c){c=W.T,W.T=null,m=de.p,de.p=2,x=Lt,Lt|=4;try{O8(r,i,u)}finally{Lt=x,de.p=m,W.T=c}}Yn=1,q2(),Y2(),G2()}}function q2(){if(Yn===1){Yn=0;var r=Mi,i=sl,u=(i.flags&13878)!==0;if((i.subtreeFlags&13878)!==0||u){u=W.T,W.T=null;var c=de.p;de.p=2;var m=Lt;Lt|=4;try{x2(i,r);var g=Jf,x=Op(r.containerInfo),C=g.focusedElem,H=g.selectionRange;if(x!==C&&C&&C.ownerDocument&&Cp(C.ownerDocument.documentElement,C)){if(H!==null&&Ad(C)){var ae=H.start,me=H.end;if(me===void 0&&(me=ae),"selectionStart"in C)C.selectionStart=ae,C.selectionEnd=Math.min(me,C.value.length);else{var Te=C.ownerDocument||document,se=Te&&Te.defaultView||window;if(se.getSelection){var le=se.getSelection(),at=C.textContent.length,tt=Math.min(H.start,at),Ht=H.end===void 0?tt:Math.min(H.end,at);!le.extend&&tt>Ht&&(x=Ht,Ht=tt,tt=x);var Q=Np(C,tt),j=Np(C,Ht);if(Q&&j&&(le.rangeCount!==1||le.anchorNode!==Q.node||le.anchorOffset!==Q.offset||le.focusNode!==j.node||le.focusOffset!==j.offset)){var te=Te.createRange();te.setStart(Q.node,Q.offset),le.removeAllRanges(),tt>Ht?(le.addRange(te),le.extend(j.node,j.offset)):(te.setEnd(j.node,j.offset),le.addRange(te))}}}}for(Te=[],le=C;le=le.parentNode;)le.nodeType===1&&Te.push({element:le,left:le.scrollLeft,top:le.scrollTop});for(typeof C.focus=="function"&&C.focus(),C=0;C<Te.length;C++){var ye=Te[C];ye.element.scrollLeft=ye.left,ye.element.scrollTop=ye.top}}zc=!!Zf,Jf=Zf=null}finally{Lt=m,de.p=c,W.T=u}}r.current=i,Yn=2}}function Y2(){if(Yn===2){Yn=0;var r=Mi,i=sl,u=(i.flags&8772)!==0;if((i.subtreeFlags&8772)!==0||u){u=W.T,W.T=null;var c=de.p;de.p=2;var m=Lt;Lt|=4;try{v2(r,i.alternate,i)}finally{Lt=m,de.p=c,W.T=u}}Yn=3}}function G2(){if(Yn===4||Yn===3){Yn=0,Ke();var r=Mi,i=sl,u=ll,c=R2;(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0?Yn=5:(Yn=0,sl=Mi=null,j2(r,r.pendingLanes));var m=r.pendingLanes;if(m===0&&(Ri=null),rt(u),i=i.stateNode,Se&&typeof Se.onCommitFiberRoot=="function")try{Se.onCommitFiberRoot(oe,i,void 0,(i.current.flags&128)===128)}catch{}if(c!==null){i=W.T,m=de.p,de.p=2,W.T=null;try{for(var g=r.onRecoverableError,x=0;x<c.length;x++){var C=c[x];g(C.value,{componentStack:C.stack})}}finally{W.T=i,de.p=m}}(ll&3)!==0&&kc(),Ta(r),m=r.pendingLanes,(u&4194090)!==0&&(m&42)!==0?r===Uf?Cu++:(Cu=0,Uf=r):Cu=0,Ou(0)}}function j2(r,i){(r.pooledCacheLanes&=i)===0&&(i=r.pooledCache,i!=null&&(r.pooledCache=null,ou(i)))}function kc(r){return q2(),Y2(),G2(),V2()}function V2(){if(Yn!==5)return!1;var r=Mi,i=Bf;Bf=0;var u=rt(ll),c=W.T,m=de.p;try{de.p=32>u?32:u,W.T=null,u=Pf,Pf=null;var g=Mi,x=ll;if(Yn=0,sl=Mi=null,ll=0,(Lt&6)!==0)throw Error(a(331));var C=Lt;if(Lt|=4,C2(g.current),w2(g,g.current,x,u),Lt=C,Ou(0,!1),Se&&typeof Se.onPostCommitFiberRoot=="function")try{Se.onPostCommitFiberRoot(oe,g)}catch{}return!0}finally{de.p=m,W.T=c,j2(r,i)}}function K2(r,i,u){i=qr(u,i),i=gf(r.stateNode,i,2),r=_i(r,i,2),r!==null&&(fi(r,2),Ta(r))}function Yt(r,i,u){if(r.tag===3)K2(r,r,u);else for(;i!==null;){if(i.tag===3){K2(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=qr(u,r),u=Qg(2),c=_i(i,u,2),c!==null&&(Zg(u,c,i,r),fi(c,2),Ta(c));break}}i=i.return}}function qf(r,i,u){var c=r.pingCache;if(c===null){c=r.pingCache=new D8;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)||(Mf=!0,m.add(u),r=U8.bind(null,r,i,u),i.then(r,r))}function U8(r,i,u){var c=r.pingCache;c!==null&&c.delete(i),r.pingedLanes|=r.suspendedLanes&u,r.warmLanes&=~u,Vt===r&&(At&u)===u&&(mn===4||mn===3&&(At&62914560)===At&&300>xt()-Lf?(Lt&2)===0&&ul(r,0):Df|=u,il===At&&(il=0)),Ta(r)}function $2(r,i){i===0&&(i=Gl()),r=Gs(r,i),r!==null&&(fi(r,i),Ta(r))}function z8(r){var i=r.memoizedState,u=0;i!==null&&(u=i.retryLane),$2(r,u)}function F8(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),$2(r,u)}function H8(r,i){return vt(r,i)}var Nc=null,cl=null,Yf=!1,Cc=!1,Gf=!1,As=0;function Ta(r){r!==cl&&r.next===null&&(cl===null?Nc=cl=r:cl=cl.next=r),Cc=!0,Yf||(Yf=!0,Y8())}function Ou(r,i){if(!Gf&&Cc){Gf=!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 x=c.suspendedLanes,C=c.pingedLanes;g=(1<<31-Qe(42|r)+1)-1,g&=m&~(x&~C),g=g&201326741?g&201326741|1:g?g|2:0}g!==0&&(u=!0,Z2(c,g))}else g=At,g=Tn(c,c===Vt?g:0,c.cancelPendingCommit!==null||c.timeoutHandle!==-1),(g&3)===0||dr(c,g)||(u=!0,Z2(c,g));c=c.next}while(u);Gf=!1}}function q8(){X2()}function X2(){Cc=Yf=!1;var r=0;As!==0&&(Q8()&&(r=As),As=0);for(var i=xt(),u=null,c=Nc;c!==null;){var m=c.next,g=W2(c,i);g===0?(c.next=null,u===null?Nc=m:u.next=m,m===null&&(cl=u)):(u=c,(r!==0||(g&3)!==0)&&(Cc=!0)),c=m}Ou(r)}function W2(r,i){for(var u=r.suspendedLanes,c=r.pingedLanes,m=r.expirationTimes,g=r.pendingLanes&-62914561;0<g;){var x=31-Qe(g),C=1<<x,H=m[x];H===-1?((C&u)===0||(C&c)!==0)&&(m[x]=er(C,i)):H<=i&&(r.expiredLanes|=C),g&=~C}if(i=Vt,u=At,u=Tn(r,r===i?u:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),c=r.callbackNode,u===0||r===i&&(Bt===2||Bt===9)||r.cancelPendingCommit!==null)return c!==null&&c!==null&&mt(c),r.callbackNode=null,r.callbackPriority=0;if((u&3)===0||dr(r,u)){if(i=u&-u,i===r.callbackPriority)return i;switch(c!==null&&mt(c),rt(u)){case 2:case 8:u=Zt;break;case 32:u=Ln;break;case 268435456:u=pa;break;default:u=Ln}return c=Q2.bind(null,r),u=vt(u,c),r.callbackPriority=i,r.callbackNode=u,i}return c!==null&&c!==null&&mt(c),r.callbackPriority=2,r.callbackNode=null,2}function Q2(r,i){if(Yn!==0&&Yn!==5)return r.callbackNode=null,r.callbackPriority=0,null;var u=r.callbackNode;if(kc()&&r.callbackNode!==u)return null;var c=At;return c=Tn(r,r===Vt?c:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),c===0?null:(D2(r,c,i),W2(r,xt()),r.callbackNode!=null&&r.callbackNode===u?Q2.bind(null,r):null)}function Z2(r,i){if(kc())return null;D2(r,i,!0)}function Y8(){J8(function(){(Lt&6)!==0?vt(Nt,q8):X2()})}function jf(){return As===0&&(As=Yl()),As}function J2(r){return r==null||typeof r=="symbol"||typeof r=="boolean"?null:typeof r=="function"?r:bi(""+r)}function e4(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 G8(r,i,u,c,m){if(i==="submit"&&u&&u.stateNode===m){var g=J2((m[je]||null).action),x=c.submitter;x&&(i=(i=x[je]||null)?J2(i.formAction):x.getAttribute("formAction"),i!==null&&(g=i,x=null));var C=new Go("action","action",null,c,m);r.push({event:C,listeners:[{instance:null,listener:function(){if(c.defaultPrevented){if(As!==0){var H=x?e4(m,x):new FormData(m);df(u,{pending:!0,data:H,method:m.method,action:g},null,H)}}else typeof g=="function"&&(C.preventDefault(),H=x?e4(m,x):new FormData(m),df(u,{pending:!0,data:H,method:m.method,action:g},g,H))},currentTarget:m}]})}}for(var Vf=0;Vf<Cd.length;Vf++){var Kf=Cd[Vf],j8=Kf.toLowerCase(),V8=Kf[0].toUpperCase()+Kf.slice(1);ua(j8,"on"+V8)}ua(Dp,"onAnimationEnd"),ua(Ip,"onAnimationIteration"),ua(Lp,"onAnimationStart"),ua("dblclick","onDoubleClick"),ua("focusin","onFocus"),ua("focusout","onBlur"),ua(o8,"onTransitionRun"),ua(c8,"onTransitionStart"),ua(d8,"onTransitionCancel"),ua(Bp,"onTransitionEnd"),tr("onMouseEnter",["mouseout","mouseover"]),tr("onMouseLeave",["mouseout","mouseover"]),tr("onPointerEnter",["pointerout","pointerover"]),tr("onPointerLeave",["pointerout","pointerover"]),Ba("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Ba("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Ba("onBeforeInput",["compositionend","keypress","textInput","paste"]),Ba("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Ba("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Ba("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ru="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(" "),K8=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Ru));function t4(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 x=c.length-1;0<=x;x--){var C=c[x],H=C.instance,ae=C.currentTarget;if(C=C.listener,H!==g&&m.isPropagationStopped())break e;g=C,m.currentTarget=ae;try{g(m)}catch(me){gc(me)}m.currentTarget=null,g=H}else for(x=0;x<c.length;x++){if(C=c[x],H=C.instance,ae=C.currentTarget,C=C.listener,H!==g&&m.isPropagationStopped())break e;g=C,m.currentTarget=ae;try{g(m)}catch(me){gc(me)}m.currentTarget=null,g=H}}}}function _t(r,i){var u=i[en];u===void 0&&(u=i[en]=new Set);var c=r+"__bubble";u.has(c)||(n4(i,r,2,!1),u.add(c))}function $f(r,i,u){var c=0;i&&(c|=4),n4(u,r,c,i)}var Oc="_reactListening"+Math.random().toString(36).slice(2);function Xf(r){if(!r[Oc]){r[Oc]=!0,Lo.forEach(function(u){u!=="selectionchange"&&(K8.has(u)||$f(u,!1,r),$f(u,!0,r))});var i=r.nodeType===9?r:r.ownerDocument;i===null||i[Oc]||(i[Oc]=!0,$f("selectionchange",!1,i))}}function n4(r,i,u,c){switch(w4(i)){case 2:var m=vv;break;case 8:m=Tv;break;default:m=oh}u=m.bind(null,i,u,r),m=void 0,!gd||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 Wf(r,i,u,c,m){var g=c;if((i&1)===0&&(i&2)===0&&c!==null)e:for(;;){if(c===null)return;var x=c.tag;if(x===3||x===4){var C=c.stateNode.containerInfo;if(C===m)break;if(x===4)for(x=c.return;x!==null;){var H=x.tag;if((H===3||H===4)&&x.stateNode.containerInfo===m)return;x=x.return}for(;C!==null;){if(x=mi(C),x===null)return;if(H=x.tag,H===5||H===6||H===26||H===27){c=g=x;continue e}C=C.parentNode}}c=c.return}Hr(function(){var ae=g,me=Ue(u),Te=[];e:{var se=Pp.get(r);if(se!==void 0){var le=Go,at=r;switch(r){case"keypress":if(qo(u)===0)break e;case"keydown":case"keyup":le=H7;break;case"focusin":at="focus",le=vd;break;case"focusout":at="blur",le=vd;break;case"beforeblur":case"afterblur":le=vd;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":le=fp;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":le=C7;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":le=G7;break;case Dp:case Ip:case Lp:le=M7;break;case Bp:le=V7;break;case"scroll":case"scrollend":le=k7;break;case"wheel":le=$7;break;case"copy":case"cut":case"paste":le=I7;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":le=mp;break;case"toggle":case"beforetoggle":le=W7}var tt=(i&4)!==0,Ht=!tt&&(r==="scroll"||r==="scrollend"),Q=tt?se!==null?se+"Capture":null:se;tt=[];for(var j=ae,te;j!==null;){var ye=j;if(te=ye.stateNode,ye=ye.tag,ye!==5&&ye!==26&&ye!==27||te===null||Q===null||(ye=os(j,Q),ye!=null&&tt.push(Mu(j,ye,te))),Ht)break;j=j.return}0<tt.length&&(se=new le(se,at,null,u,me),Te.push({event:se,listeners:tt}))}}if((i&7)===0){e:{if(se=r==="mouseover"||r==="pointerover",le=r==="mouseout"||r==="pointerout",se&&u!==us&&(at=u.relatedTarget||u.fromElement)&&(mi(at)||at[Qt]))break e;if((le||se)&&(se=me.window===me?me:(se=me.ownerDocument)?se.defaultView||se.parentWindow:window,le?(at=u.relatedTarget||u.toElement,le=ae,at=at?mi(at):null,at!==null&&(Ht=l(at),tt=at.tag,at!==Ht||tt!==5&&tt!==27&&tt!==6)&&(at=null)):(le=null,at=ae),le!==at)){if(tt=fp,ye="onMouseLeave",Q="onMouseEnter",j="mouse",(r==="pointerout"||r==="pointerover")&&(tt=mp,ye="onPointerLeave",Q="onPointerEnter",j="pointer"),Ht=le==null?se:is(le),te=at==null?se:is(at),se=new tt(ye,j+"leave",le,u,me),se.target=Ht,se.relatedTarget=te,ye=null,mi(me)===ae&&(tt=new tt(Q,j+"enter",at,u,me),tt.target=te,tt.relatedTarget=Ht,ye=tt),Ht=ye,le&&at)t:{for(tt=le,Q=at,j=0,te=tt;te;te=dl(te))j++;for(te=0,ye=Q;ye;ye=dl(ye))te++;for(;0<j-te;)tt=dl(tt),j--;for(;0<te-j;)Q=dl(Q),te--;for(;j--;){if(tt===Q||Q!==null&&tt===Q.alternate)break t;tt=dl(tt),Q=dl(Q)}tt=null}else tt=null;le!==null&&r4(Te,se,le,tt,!1),at!==null&&Ht!==null&&r4(Te,Ht,at,tt,!0)}}e:{if(se=ae?is(ae):window,le=se.nodeName&&se.nodeName.toLowerCase(),le==="select"||le==="input"&&se.type==="file")var Ge=_p;else if(vp(se))if(Sp)Ge=s8;else{Ge=a8;var bt=r8}else le=se.nodeName,!le||le.toLowerCase()!=="input"||se.type!=="checkbox"&&se.type!=="radio"?ae&&It(ae.elementType)&&(Ge=_p):Ge=i8;if(Ge&&(Ge=Ge(r,ae))){Tp(Te,Ge,u,me);break e}bt&&bt(r,se,ae),r==="focusout"&&ae&&se.type==="number"&&ae.memoizedProps.value!=null&&gi(se,"number",se.value)}switch(bt=ae?is(ae):window,r){case"focusin":(vp(bt)||bt.contentEditable==="true")&&(Hs=bt,wd=ae,au=null);break;case"focusout":au=wd=Hs=null;break;case"mousedown":kd=!0;break;case"contextmenu":case"mouseup":case"dragend":kd=!1,Rp(Te,u,me);break;case"selectionchange":if(u8)break;case"keydown":case"keyup":Rp(Te,u,me)}var We;if(_d)e:{switch(r){case"compositionstart":var nt="onCompositionStart";break e;case"compositionend":nt="onCompositionEnd";break e;case"compositionupdate":nt="onCompositionUpdate";break e}nt=void 0}else Fs?Ep(r,u)&&(nt="onCompositionEnd"):r==="keydown"&&u.keyCode===229&&(nt="onCompositionStart");nt&&(pp&&u.locale!=="ko"&&(Fs||nt!=="onCompositionStart"?nt==="onCompositionEnd"&&Fs&&(We=cp()):(Ei=me,bd="value"in Ei?Ei.value:Ei.textContent,Fs=!0)),bt=Rc(ae,nt),0<bt.length&&(nt=new hp(nt,r,null,u,me),Te.push({event:nt,listeners:bt}),We?nt.data=We:(We=yp(u),We!==null&&(nt.data=We)))),(We=Z7?J7(r,u):e8(r,u))&&(nt=Rc(ae,"onBeforeInput"),0<nt.length&&(bt=new hp("onBeforeInput","beforeinput",null,u,me),Te.push({event:bt,listeners:nt}),bt.data=We)),G8(Te,r,ae,u,me)}t4(Te,i)})}function Mu(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=os(r,u),m!=null&&c.unshift(Mu(r,m,g)),m=os(r,i),m!=null&&c.push(Mu(r,m,g))),r.tag===3)return c;r=r.return}return[]}function dl(r){if(r===null)return null;do r=r.return;while(r&&r.tag!==5&&r.tag!==27);return r||null}function r4(r,i,u,c,m){for(var g=i._reactName,x=[];u!==null&&u!==c;){var C=u,H=C.alternate,ae=C.stateNode;if(C=C.tag,H!==null&&H===c)break;C!==5&&C!==26&&C!==27||ae===null||(H=ae,m?(ae=os(u,g),ae!=null&&x.unshift(Mu(u,ae,H))):m||(ae=os(u,g),ae!=null&&x.push(Mu(u,ae,H)))),u=u.return}x.length!==0&&r.push({event:i,listeners:x})}var $8=/\r\n?/g,X8=/\u0000|\uFFFD/g;function a4(r){return(typeof r=="string"?r:""+r).replace($8,`
49
+ `).replace(X8,"")}function i4(r,i){return i=a4(i),a4(r)===i}function Mc(){}function Ft(r,i,u,c,m,g){switch(u){case"children":typeof c=="string"?i==="body"||i==="textarea"&&c===""||ga(r,c):(typeof c=="number"||typeof c=="bigint")&&i!=="body"&&ga(r,""+c);break;case"className":Pa(r,"class",c);break;case"tabIndex":Pa(r,"tabindex",c);break;case"dir":case"role":case"viewBox":case"width":case"height":Pa(r,u,c);break;case"style":_n(r,c,g);break;case"data":if(i!=="object"){Pa(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=bi(""+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"&&Ft(r,i,"name",m.name,m,null),Ft(r,i,"formEncType",m.formEncType,m,null),Ft(r,i,"formMethod",m.formMethod,m,null),Ft(r,i,"formTarget",m.formTarget,m,null)):(Ft(r,i,"encType",m.encType,m,null),Ft(r,i,"method",m.method,m,null),Ft(r,i,"target",m.target,m,null)));if(c==null||typeof c=="symbol"||typeof c=="boolean"){r.removeAttribute(u);break}c=bi(""+c),r.setAttribute(u,c);break;case"onClick":c!=null&&(r.onclick=Mc);break;case"onScroll":c!=null&&_t("scroll",r);break;case"onScrollEnd":c!=null&&_t("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=bi(""+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":_t("beforetoggle",r),_t("toggle",r),Us(r,"popover",c);break;case"xlinkActuate":ia(r,"http://www.w3.org/1999/xlink","xlink:actuate",c);break;case"xlinkArcrole":ia(r,"http://www.w3.org/1999/xlink","xlink:arcrole",c);break;case"xlinkRole":ia(r,"http://www.w3.org/1999/xlink","xlink:role",c);break;case"xlinkShow":ia(r,"http://www.w3.org/1999/xlink","xlink:show",c);break;case"xlinkTitle":ia(r,"http://www.w3.org/1999/xlink","xlink:title",c);break;case"xlinkType":ia(r,"http://www.w3.org/1999/xlink","xlink:type",c);break;case"xmlBase":ia(r,"http://www.w3.org/XML/1998/namespace","xml:base",c);break;case"xmlLang":ia(r,"http://www.w3.org/XML/1998/namespace","xml:lang",c);break;case"xmlSpace":ia(r,"http://www.w3.org/XML/1998/namespace","xml:space",c);break;case"is":Us(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=zs.get(u)||u,Us(r,u,c))}}function Qf(r,i,u,c,m,g){switch(u){case"style":_n(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"?ga(r,c):(typeof c=="number"||typeof c=="bigint")&&ga(r,""+c);break;case"onScroll":c!=null&&_t("scroll",r);break;case"onScrollEnd":c!=null&&_t("scrollend",r);break;case"onClick":c!=null&&(r.onclick=Mc);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Bo.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[je]||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,""):Us(r,u,c)}}}function Gn(r,i,u){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":_t("error",r),_t("load",r);var c=!1,m=!1,g;for(g in u)if(u.hasOwnProperty(g)){var x=u[g];if(x!=null)switch(g){case"src":c=!0;break;case"srcSet":m=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(a(137,i));default:Ft(r,i,g,x,u,null)}}m&&Ft(r,i,"srcSet",u.srcSet,u,null),c&&Ft(r,i,"src",u.src,u,null);return;case"input":_t("invalid",r);var C=g=x=m=null,H=null,ae=null;for(c in u)if(u.hasOwnProperty(c)){var me=u[c];if(me!=null)switch(c){case"name":m=me;break;case"type":x=me;break;case"checked":H=me;break;case"defaultChecked":ae=me;break;case"value":g=me;break;case"defaultValue":C=me;break;case"children":case"dangerouslySetInnerHTML":if(me!=null)throw Error(a(137,i));break;default:Ft(r,i,c,me,u,null)}}zo(r,g,C,H,ae,x,m,!1),ss(r);return;case"select":_t("invalid",r),c=x=g=null;for(m in u)if(u.hasOwnProperty(m)&&(C=u[m],C!=null))switch(m){case"value":g=C;break;case"defaultValue":x=C;break;case"multiple":c=C;default:Ft(r,i,m,C,u,null)}i=g,u=x,r.multiple=!!c,i!=null?Ua(r,!!c,i,!1):u!=null&&Ua(r,!!c,u,!0);return;case"textarea":_t("invalid",r),g=m=c=null;for(x in u)if(u.hasOwnProperty(x)&&(C=u[x],C!=null))switch(x){case"value":c=C;break;case"defaultValue":m=C;break;case"children":g=C;break;case"dangerouslySetInnerHTML":if(C!=null)throw Error(a(91));break;default:Ft(r,i,x,C,u,null)}Fo(r,c,m,g),ss(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:Ft(r,i,H,c,u,null)}return;case"dialog":_t("beforetoggle",r),_t("toggle",r),_t("cancel",r),_t("close",r);break;case"iframe":case"object":_t("load",r);break;case"video":case"audio":for(c=0;c<Ru.length;c++)_t(Ru[c],r);break;case"image":_t("error",r),_t("load",r);break;case"details":_t("toggle",r);break;case"embed":case"source":case"link":_t("error",r),_t("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(ae in u)if(u.hasOwnProperty(ae)&&(c=u[ae],c!=null))switch(ae){case"children":case"dangerouslySetInnerHTML":throw Error(a(137,i));default:Ft(r,i,ae,c,u,null)}return;default:if(It(i)){for(me in u)u.hasOwnProperty(me)&&(c=u[me],c!==void 0&&Qf(r,i,me,c,u,void 0));return}}for(C in u)u.hasOwnProperty(C)&&(c=u[C],c!=null&&Ft(r,i,C,c,u,null))}function W8(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,x=null,C=null,H=null,ae=null,me=null;for(le in u){var Te=u[le];if(u.hasOwnProperty(le)&&Te!=null)switch(le){case"checked":break;case"value":break;case"defaultValue":H=Te;default:c.hasOwnProperty(le)||Ft(r,i,le,null,c,Te)}}for(var se in c){var le=c[se];if(Te=u[se],c.hasOwnProperty(se)&&(le!=null||Te!=null))switch(se){case"type":g=le;break;case"name":m=le;break;case"checked":ae=le;break;case"defaultChecked":me=le;break;case"value":x=le;break;case"defaultValue":C=le;break;case"children":case"dangerouslySetInnerHTML":if(le!=null)throw Error(a(137,i));break;default:le!==Te&&Ft(r,i,se,le,c,Te)}}Xl(r,x,C,H,ae,me,g,m);return;case"select":le=x=C=se=null;for(g in u)if(H=u[g],u.hasOwnProperty(g)&&H!=null)switch(g){case"value":break;case"multiple":le=H;default:c.hasOwnProperty(g)||Ft(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":se=g;break;case"defaultValue":C=g;break;case"multiple":x=g;default:g!==H&&Ft(r,i,m,g,c,H)}i=C,u=x,c=le,se!=null?Ua(r,!!u,se,!1):!!c!=!!u&&(i!=null?Ua(r,!!u,i,!0):Ua(r,!!u,u?[]:"",!1));return;case"textarea":le=se=null;for(C in u)if(m=u[C],u.hasOwnProperty(C)&&m!=null&&!c.hasOwnProperty(C))switch(C){case"value":break;case"children":break;default:Ft(r,i,C,null,c,m)}for(x in c)if(m=c[x],g=u[x],c.hasOwnProperty(x)&&(m!=null||g!=null))switch(x){case"value":se=m;break;case"defaultValue":le=m;break;case"children":break;case"dangerouslySetInnerHTML":if(m!=null)throw Error(a(91));break;default:m!==g&&Ft(r,i,x,m,c,g)}Ar(r,se,le);return;case"option":for(var at in u)if(se=u[at],u.hasOwnProperty(at)&&se!=null&&!c.hasOwnProperty(at))switch(at){case"selected":r.selected=!1;break;default:Ft(r,i,at,null,c,se)}for(H in c)if(se=c[H],le=u[H],c.hasOwnProperty(H)&&se!==le&&(se!=null||le!=null))switch(H){case"selected":r.selected=se&&typeof se!="function"&&typeof se!="symbol";break;default:Ft(r,i,H,se,c,le)}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 tt in u)se=u[tt],u.hasOwnProperty(tt)&&se!=null&&!c.hasOwnProperty(tt)&&Ft(r,i,tt,null,c,se);for(ae in c)if(se=c[ae],le=u[ae],c.hasOwnProperty(ae)&&se!==le&&(se!=null||le!=null))switch(ae){case"children":case"dangerouslySetInnerHTML":if(se!=null)throw Error(a(137,i));break;default:Ft(r,i,ae,se,c,le)}return;default:if(It(i)){for(var Ht in u)se=u[Ht],u.hasOwnProperty(Ht)&&se!==void 0&&!c.hasOwnProperty(Ht)&&Qf(r,i,Ht,void 0,c,se);for(me in c)se=c[me],le=u[me],!c.hasOwnProperty(me)||se===le||se===void 0&&le===void 0||Qf(r,i,me,se,c,le);return}}for(var Q in u)se=u[Q],u.hasOwnProperty(Q)&&se!=null&&!c.hasOwnProperty(Q)&&Ft(r,i,Q,null,c,se);for(Te in c)se=c[Te],le=u[Te],!c.hasOwnProperty(Te)||se===le||se==null&&le==null||Ft(r,i,Te,se,c,le)}var Zf=null,Jf=null;function Dc(r){return r.nodeType===9?r:r.ownerDocument}function s4(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 l4(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 eh(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 th=null;function Q8(){var r=window.event;return r&&r.type==="popstate"?r===th?!1:(th=r,!0):(th=null,!1)}var u4=typeof setTimeout=="function"?setTimeout:void 0,Z8=typeof clearTimeout=="function"?clearTimeout:void 0,o4=typeof Promise=="function"?Promise:void 0,J8=typeof queueMicrotask=="function"?queueMicrotask:typeof o4<"u"?function(r){return o4.resolve(null).then(r).catch(ev)}:u4;function ev(r){setTimeout(function(){throw r})}function Ii(r){return r==="head"}function c4(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 x=r.ownerDocument;if(u&1&&Du(x.documentElement),u&2&&Du(x.body),u&4)for(u=x.head,Du(u),x=u.firstChild;x;){var C=x.nextSibling,H=x.nodeName;x[rs]||H==="SCRIPT"||H==="STYLE"||H==="LINK"&&x.rel.toLowerCase()==="stylesheet"||u.removeChild(x),x=C}}if(m===0){r.removeChild(g),Hu(i);return}m--}else u==="$"||u==="$?"||u==="$!"?m++:c=u.charCodeAt(0)-48;else c=0;u=g}while(u);Hu(i)}function nh(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":nh(u),as(u);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(u.rel.toLowerCase()==="stylesheet")continue}r.removeChild(u)}}function tv(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[rs])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=ca(r.nextSibling),r===null)break}return null}function nv(r,i,u){if(i==="")return null;for(;r.nodeType!==3;)if((r.nodeType!==1||r.nodeName!=="INPUT"||r.type!=="hidden")&&!u||(r=ca(r.nextSibling),r===null))return null;return r}function rh(r){return r.data==="$!"||r.data==="$?"&&r.ownerDocument.readyState==="complete"}function rv(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 ca(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 ah=null;function d4(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 f4(r,i,u){switch(i=Dc(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 Du(r){for(var i=r.attributes;i.length;)r.removeAttributeNode(i[0]);as(r)}var $r=new Map,h4=new Set;function Ic(r){return typeof r.getRootNode=="function"?r.getRootNode():r.nodeType===9?r:r.ownerDocument}var Za=de.d;de.d={f:av,r:iv,D:sv,C:lv,L:uv,m:ov,X:dv,S:cv,M:fv};function av(){var r=Za.f(),i=Ac();return r||i}function iv(r){var i=pi(r);i!==null&&i.tag===5&&i.type==="form"?Dg(i):Za.r(r)}var fl=typeof document>"u"?null:document;function m4(r,i,u){var c=fl;if(c&&typeof i=="string"&&i){var m=fr(i);m='link[rel="'+r+'"][href="'+m+'"]',typeof u=="string"&&(m+='[crossorigin="'+u+'"]'),h4.has(m)||(h4.add(m),r={rel:r,crossOrigin:u,href:i},c.querySelector(m)===null&&(i=c.createElement("link"),Gn(i,"link",r),ln(i),c.head.appendChild(i)))}}function sv(r){Za.D(r),m4("dns-prefetch",r,null)}function lv(r,i){Za.C(r,i),m4("preconnect",r,i)}function uv(r,i,u){Za.L(r,i,u);var c=fl;if(c&&r&&i){var m='link[rel="preload"][as="'+fr(i)+'"]';i==="image"&&u&&u.imageSrcSet?(m+='[imagesrcset="'+fr(u.imageSrcSet)+'"]',typeof u.imageSizes=="string"&&(m+='[imagesizes="'+fr(u.imageSizes)+'"]')):m+='[href="'+fr(r)+'"]';var g=m;switch(i){case"style":g=hl(r);break;case"script":g=ml(r)}$r.has(g)||(r=p({rel:"preload",href:i==="image"&&u&&u.imageSrcSet?void 0:r,as:i},u),$r.set(g,r),c.querySelector(m)!==null||i==="style"&&c.querySelector(Iu(g))||i==="script"&&c.querySelector(Lu(g))||(i=c.createElement("link"),Gn(i,"link",r),ln(i),c.head.appendChild(i)))}}function ov(r,i){Za.m(r,i);var u=fl;if(u&&r){var c=i&&typeof i.as=="string"?i.as:"script",m='link[rel="modulepreload"][as="'+fr(c)+'"][href="'+fr(r)+'"]',g=m;switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":g=ml(r)}if(!$r.has(g)&&(r=p({rel:"modulepreload",href:r},i),$r.set(g,r),u.querySelector(m)===null)){switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(u.querySelector(Lu(g)))return}c=u.createElement("link"),Gn(c,"link",r),ln(c),u.head.appendChild(c)}}}function cv(r,i,u){Za.S(r,i,u);var c=fl;if(c&&r){var m=La(c).hoistableStyles,g=hl(r);i=i||"default";var x=m.get(g);if(!x){var C={loading:0,preload:null};if(x=c.querySelector(Iu(g)))C.loading=5;else{r=p({rel:"stylesheet",href:r,"data-precedence":i},u),(u=$r.get(g))&&ih(r,u);var H=x=c.createElement("link");ln(H),Gn(H,"link",r),H._p=new Promise(function(ae,me){H.onload=ae,H.onerror=me}),H.addEventListener("load",function(){C.loading|=1}),H.addEventListener("error",function(){C.loading|=2}),C.loading|=4,Lc(x,i,c)}x={type:"stylesheet",instance:x,count:1,state:C},m.set(g,x)}}}function dv(r,i){Za.X(r,i);var u=fl;if(u&&r){var c=La(u).hoistableScripts,m=ml(r),g=c.get(m);g||(g=u.querySelector(Lu(m)),g||(r=p({src:r,async:!0},i),(i=$r.get(m))&&sh(r,i),g=u.createElement("script"),ln(g),Gn(g,"link",r),u.head.appendChild(g)),g={type:"script",instance:g,count:1,state:null},c.set(m,g))}}function fv(r,i){Za.M(r,i);var u=fl;if(u&&r){var c=La(u).hoistableScripts,m=ml(r),g=c.get(m);g||(g=u.querySelector(Lu(m)),g||(r=p({src:r,async:!0,type:"module"},i),(i=$r.get(m))&&sh(r,i),g=u.createElement("script"),ln(g),Gn(g,"link",r),u.head.appendChild(g)),g={type:"script",instance:g,count:1,state:null},c.set(m,g))}}function p4(r,i,u,c){var m=(m=we.current)?Ic(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=hl(u.href),u=La(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=hl(u.href);var g=La(m).hoistableStyles,x=g.get(r);if(x||(m=m.ownerDocument||m,x={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},g.set(r,x),(g=m.querySelector(Iu(r)))&&!g._p&&(x.instance=g,x.state.loading=5),$r.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},$r.set(r,u),g||hv(m,r,u,x.state))),i&&c===null)throw Error(a(528,""));return x}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=ml(u),u=La(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 hl(r){return'href="'+fr(r)+'"'}function Iu(r){return'link[rel="stylesheet"]['+r+"]"}function g4(r){return p({},r,{"data-precedence":r.precedence,precedence:null})}function hv(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}),Gn(i,"link",u),ln(i),r.head.appendChild(i))}function ml(r){return'[src="'+fr(r)+'"]'}function Lu(r){return"script[async]"+r}function b4(r,i,u){if(i.count++,i.instance===null)switch(i.type){case"style":var c=r.querySelector('style[data-href~="'+fr(u.href)+'"]');if(c)return i.instance=c,ln(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"),ln(c),Gn(c,"style",m),Lc(c,u.precedence,r),i.instance=c;case"stylesheet":m=hl(u.href);var g=r.querySelector(Iu(m));if(g)return i.state.loading|=4,i.instance=g,ln(g),g;c=g4(u),(m=$r.get(m))&&ih(c,m),g=(r.ownerDocument||r).createElement("link"),ln(g);var x=g;return x._p=new Promise(function(C,H){x.onload=C,x.onerror=H}),Gn(g,"link",c),i.state.loading|=4,Lc(g,u.precedence,r),i.instance=g;case"script":return g=ml(u.src),(m=r.querySelector(Lu(g)))?(i.instance=m,ln(m),m):(c=u,(m=$r.get(g))&&(c=p({},u),sh(c,m)),r=r.ownerDocument||r,m=r.createElement("script"),ln(m),Gn(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,Lc(c,u.precedence,r));return i.instance}function Lc(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,x=0;x<c.length;x++){var C=c[x];if(C.dataset.precedence===i)g=C;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 ih(r,i){r.crossOrigin==null&&(r.crossOrigin=i.crossOrigin),r.referrerPolicy==null&&(r.referrerPolicy=i.referrerPolicy),r.title==null&&(r.title=i.title)}function sh(r,i){r.crossOrigin==null&&(r.crossOrigin=i.crossOrigin),r.referrerPolicy==null&&(r.referrerPolicy=i.referrerPolicy),r.integrity==null&&(r.integrity=i.integrity)}var Bc=null;function E4(r,i,u){if(Bc===null){var c=new Map,m=Bc=new Map;m.set(u,c)}else m=Bc,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[rs]||g[Ie]||r==="link"&&g.getAttribute("rel")==="stylesheet")&&g.namespaceURI!=="http://www.w3.org/2000/svg"){var x=g.getAttribute(i)||"";x=r+x;var C=c.get(x);C?C.push(g):c.set(x,[g])}}return c}function y4(r,i,u){r=r.ownerDocument||r,r.head.insertBefore(u,i==="title"?r.querySelector("head > title"):null)}function mv(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 v4(r){return!(r.type==="stylesheet"&&(r.state.loading&3)===0)}var Bu=null;function pv(){}function gv(r,i,u){if(Bu===null)throw Error(a(475));var c=Bu;if(i.type==="stylesheet"&&(typeof u.media!="string"||matchMedia(u.media).matches!==!1)&&(i.state.loading&4)===0){if(i.instance===null){var m=hl(u.href),g=r.querySelector(Iu(m));if(g){r=g._p,r!==null&&typeof r=="object"&&typeof r.then=="function"&&(c.count++,c=Pc.bind(c),r.then(c,c)),i.state.loading|=4,i.instance=g,ln(g);return}g=r.ownerDocument||r,u=g4(u),(m=$r.get(m))&&ih(u,m),g=g.createElement("link"),ln(g);var x=g;x._p=new Promise(function(C,H){x.onload=C,x.onerror=H}),Gn(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=Pc.bind(c),r.addEventListener("load",i),r.addEventListener("error",i))}}function bv(){if(Bu===null)throw Error(a(475));var r=Bu;return r.stylesheets&&r.count===0&&lh(r,r.stylesheets),0<r.count?function(i){var u=setTimeout(function(){if(r.stylesheets&&lh(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 Pc(){if(this.count--,this.count===0){if(this.stylesheets)lh(this,this.stylesheets);else if(this.unsuspend){var r=this.unsuspend;this.unsuspend=null,r()}}}var Uc=null;function lh(r,i){r.stylesheets=null,r.unsuspend!==null&&(r.count++,Uc=new Map,i.forEach(Ev,r),Uc=null,Pc.call(r))}function Ev(r,i){if(!(i.state.loading&4)){var u=Uc.get(r);if(u)var c=u.get(null);else{u=new Map,Uc.set(r,u);for(var m=r.querySelectorAll("link[data-precedence],style[data-precedence]"),g=0;g<m.length;g++){var x=m[g];(x.nodeName==="LINK"||x.getAttribute("media")!=="not all")&&(u.set(x.dataset.precedence,x),c=x)}c&&u.set(null,c)}m=i.instance,x=m.getAttribute("data-precedence"),g=u.get(x)||c,g===c&&u.set(null,m),u.set(x,m),this.count++,c=Pc.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 Pu={$$typeof:z,Provider:null,Consumer:null,_currentValue:ge,_currentValue2:ge,_threadCount:0};function yv(r,i,u,c,m,g,x,C){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=jl(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=jl(0),this.hiddenUpdates=jl(null),this.identifierPrefix=c,this.onUncaughtError=m,this.onCaughtError=g,this.onRecoverableError=x,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=C,this.incompleteTransitions=new Map}function T4(r,i,u,c,m,g,x,C,H,ae,me,Te){return r=new yv(r,i,u,x,C,H,ae,Te),i=1,g===!0&&(i|=24),g=kr(3,null,null,i),r.current=g,g.stateNode=r,i=Hd(),i.refCount++,r.pooledCache=i,i.refCount++,g.memoizedState={element:c,isDehydrated:u,cache:i},jd(g),r}function _4(r){return r?(r=js,r):js}function S4(r,i,u,c,m,g){m=_4(m),c.context===null?c.context=m:c.pendingContext=m,c=Ti(i),c.payload={element:u},g=g===void 0?null:g,g!==null&&(c.callback=g),u=_i(r,c,i),u!==null&&(Mr(u,r,i),hu(u,r,i))}function x4(r,i){if(r=r.memoizedState,r!==null&&r.dehydrated!==null){var u=r.retryLane;r.retryLane=u!==0&&u<i?u:i}}function uh(r,i){x4(r,i),(r=r.alternate)&&x4(r,i)}function A4(r){if(r.tag===13){var i=Gs(r,67108864);i!==null&&Mr(i,r,67108864),uh(r,67108864)}}var zc=!0;function vv(r,i,u,c){var m=W.T;W.T=null;var g=de.p;try{de.p=2,oh(r,i,u,c)}finally{de.p=g,W.T=m}}function Tv(r,i,u,c){var m=W.T;W.T=null;var g=de.p;try{de.p=8,oh(r,i,u,c)}finally{de.p=g,W.T=m}}function oh(r,i,u,c){if(zc){var m=ch(c);if(m===null)Wf(r,i,c,Fc,u),k4(r,c);else if(Sv(m,r,i,u,c))c.stopPropagation();else if(k4(r,c),i&4&&-1<_v.indexOf(r)){for(;m!==null;){var g=pi(m);if(g!==null)switch(g.tag){case 3:if(g=g.stateNode,g.current.memoizedState.isDehydrated){var x=Jn(g.pendingLanes);if(x!==0){var C=g;for(C.pendingLanes|=2,C.entangledLanes|=2;x;){var H=1<<31-Qe(x);C.entanglements[1]|=H,x&=~H}Ta(g),(Lt&6)===0&&(Sc=xt()+500,Ou(0))}}break;case 13:C=Gs(g,2),C!==null&&Mr(C,g,2),Ac(),uh(g,2)}if(g=ch(c),g===null&&Wf(r,i,c,Fc,u),g===m)break;m=g}m!==null&&c.stopPropagation()}else Wf(r,i,c,null,u)}}function ch(r){return r=Ue(r),dh(r)}var Fc=null;function dh(r){if(Fc=null,r=mi(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 Fc=r,null}function w4(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(an()){case Nt:return 2;case Zt:return 8;case Ln:case di:return 32;case pa:return 268435456;default:return 32}default:return 32}}var fh=!1,Li=null,Bi=null,Pi=null,Uu=new Map,zu=new Map,Ui=[],_v="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 k4(r,i){switch(r){case"focusin":case"focusout":Li=null;break;case"dragenter":case"dragleave":Bi=null;break;case"mouseover":case"mouseout":Pi=null;break;case"pointerover":case"pointerout":Uu.delete(i.pointerId);break;case"gotpointercapture":case"lostpointercapture":zu.delete(i.pointerId)}}function Fu(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=pi(i),i!==null&&A4(i)),r):(r.eventSystemFlags|=c,i=r.targetContainers,m!==null&&i.indexOf(m)===-1&&i.push(m),r)}function Sv(r,i,u,c,m){switch(i){case"focusin":return Li=Fu(Li,r,i,u,c,m),!0;case"dragenter":return Bi=Fu(Bi,r,i,u,c,m),!0;case"mouseover":return Pi=Fu(Pi,r,i,u,c,m),!0;case"pointerover":var g=m.pointerId;return Uu.set(g,Fu(Uu.get(g)||null,r,i,u,c,m)),!0;case"gotpointercapture":return g=m.pointerId,zu.set(g,Fu(zu.get(g)||null,r,i,u,c,m)),!0}return!1}function N4(r){var i=mi(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,sn(r.priority,function(){if(u.tag===13){var c=Rr();c=Le(c);var m=Gs(u,c);m!==null&&Mr(m,u,c),uh(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 Hc(r){if(r.blockedOn!==null)return!1;for(var i=r.targetContainers;0<i.length;){var u=ch(r.nativeEvent);if(u===null){u=r.nativeEvent;var c=new u.constructor(u.type,u);us=c,u.target.dispatchEvent(c),us=null}else return i=pi(u),i!==null&&A4(i),r.blockedOn=u,!1;i.shift()}return!0}function C4(r,i,u){Hc(r)&&u.delete(i)}function xv(){fh=!1,Li!==null&&Hc(Li)&&(Li=null),Bi!==null&&Hc(Bi)&&(Bi=null),Pi!==null&&Hc(Pi)&&(Pi=null),Uu.forEach(C4),zu.forEach(C4)}function qc(r,i){r.blockedOn===i&&(r.blockedOn=null,fh||(fh=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,xv)))}var Yc=null;function O4(r){Yc!==r&&(Yc=r,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){Yc===r&&(Yc=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(dh(c||u)===null)continue;break}var g=pi(u);g!==null&&(r.splice(i,3),i-=3,df(g,{pending:!0,data:m,method:u.method,action:c},c,m))}}))}function Hu(r){function i(H){return qc(H,r)}Li!==null&&qc(Li,r),Bi!==null&&qc(Bi,r),Pi!==null&&qc(Pi,r),Uu.forEach(i),zu.forEach(i);for(var u=0;u<Ui.length;u++){var c=Ui[u];c.blockedOn===r&&(c.blockedOn=null)}for(;0<Ui.length&&(u=Ui[0],u.blockedOn===null);)N4(u),u.blockedOn===null&&Ui.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],x=m[je]||null;if(typeof g=="function")x||O4(u);else if(x){var C=null;if(g&&g.hasAttribute("formAction")){if(m=g,x=g[je]||null)C=x.formAction;else if(dh(m)!==null)continue}else C=x.action;typeof C=="function"?u[c+1]=C:(u.splice(c,3),c-=3),O4(u)}}}function hh(r){this._internalRoot=r}Gc.prototype.render=hh.prototype.render=function(r){var i=this._internalRoot;if(i===null)throw Error(a(409));var u=i.current,c=Rr();S4(u,c,r,i,null,null)},Gc.prototype.unmount=hh.prototype.unmount=function(){var r=this._internalRoot;if(r!==null){this._internalRoot=null;var i=r.containerInfo;S4(r.current,2,null,r,null,null),Ac(),i[Qt]=null}};function Gc(r){this._internalRoot=r}Gc.prototype.unstable_scheduleHydration=function(r){if(r){var i=Jt();r={blockedOn:null,target:r,priority:i};for(var u=0;u<Ui.length&&i!==0&&i<Ui[u].priority;u++);Ui.splice(u,0,r),u===0&&N4(r)}};var R4=t.version;if(R4!=="19.1.0")throw Error(a(527,R4,"19.1.0"));de.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 Av={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:W,reconcilerVersion:"19.1.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var jc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!jc.isDisabled&&jc.supportsFiber)try{oe=jc.inject(Av),Se=jc}catch{}}return Yu.createRoot=function(r,i){if(!s(r))throw Error(a(299));var u=!1,c="",m=Kg,g=$g,x=Xg,C=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&&(x=i.onRecoverableError),i.unstable_transitionCallbacks!==void 0&&(C=i.unstable_transitionCallbacks)),i=T4(r,1,!1,null,null,u,c,m,g,x,C,null),r[Qt]=i.current,Xf(r),new hh(i)},Yu.hydrateRoot=function(r,i,u){if(!s(r))throw Error(a(299));var c=!1,m="",g=Kg,x=$g,C=Xg,H=null,ae=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&&(x=u.onCaughtError),u.onRecoverableError!==void 0&&(C=u.onRecoverableError),u.unstable_transitionCallbacks!==void 0&&(H=u.unstable_transitionCallbacks),u.formState!==void 0&&(ae=u.formState)),i=T4(r,1,!0,i,u??null,c,m,g,x,C,H,ae),i.context=_4(null),u=i.current,c=Rr(),c=Le(c),m=Ti(c),m.callback=null,_i(u,m,c),u=c,i.current.lanes=u,fi(i,u),Ta(i),r[Qt]=i.current,Xf(r),new Gc(i)},Yu.version="19.1.0",Yu}var H4;function Iv(){if(H4)return gh.exports;H4=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(),gh.exports=Dv(),gh.exports}var Lv=Iv();function q4(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 x6(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const Bv=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Pv=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Uv={};function Y4(e,t){return(Uv.jsx?Pv:Bv).test(e)}const zv=/[ \t\n\f\r]/g;function Fv(e){return typeof e=="object"?e.type==="text"?G4(e.value):!1:G4(e)}function G4(e){return e.replace(zv,"")===""}let vo=class{constructor(t,n,a){this.normal=n,this.property=t,a&&(this.space=a)}};vo.prototype.normal={};vo.prototype.property={};vo.prototype.space=void 0;function A6(e,t){const n={},a={};for(const s of e)Object.assign(n,s.property),Object.assign(a,s.normal);return new vo(n,a,t)}function fo(e){return e.toLowerCase()}let vr=class{constructor(t,n){this.attribute=n,this.property=t}};vr.prototype.attribute="";vr.prototype.booleanish=!1;vr.prototype.boolean=!1;vr.prototype.commaOrSpaceSeparated=!1;vr.prototype.commaSeparated=!1;vr.prototype.defined=!1;vr.prototype.mustUseProperty=!1;vr.prototype.number=!1;vr.prototype.overloadedBoolean=!1;vr.prototype.property="";vr.prototype.spaceSeparated=!1;vr.prototype.space=void 0;let Hv=0;const ft=Ms(),wn=Ms(),T1=Ms(),Re=Ms(),Kt=Ms(),Al=Ms(),Dr=Ms();function Ms(){return 2**++Hv}const _1=Object.freeze(Object.defineProperty({__proto__:null,boolean:ft,booleanish:wn,commaOrSpaceSeparated:Dr,commaSeparated:Al,number:Re,overloadedBoolean:T1,spaceSeparated:Kt},Symbol.toStringTag,{value:"Module"})),vh=Object.keys(_1);let fm=class extends vr{constructor(t,n,a,s){let l=-1;if(super(t,n),j4(this,"space",s),typeof a=="number")for(;++l<vh.length;){const o=vh[l];j4(this,vh[l],(a&_1[o])===_1[o])}}};fm.prototype.defined=!0;function j4(e,t,n){n&&(e[t]=n)}function Dl(e){const t={},n={};for(const[a,s]of Object.entries(e.properties)){const l=new fm(a,e.transform(e.attributes||{},a),s,e.space);e.mustUseProperty&&e.mustUseProperty.includes(a)&&(l.mustUseProperty=!0),t[a]=l,n[fo(a)]=a,n[fo(l.attribute)]=a}return new vo(t,n,e.space)}const w6=Dl({properties:{ariaActiveDescendant:null,ariaAtomic:wn,ariaAutoComplete:null,ariaBusy:wn,ariaChecked:wn,ariaColCount:Re,ariaColIndex:Re,ariaColSpan:Re,ariaControls:Kt,ariaCurrent:null,ariaDescribedBy:Kt,ariaDetails:null,ariaDisabled:wn,ariaDropEffect:Kt,ariaErrorMessage:null,ariaExpanded:wn,ariaFlowTo:Kt,ariaGrabbed:wn,ariaHasPopup:null,ariaHidden:wn,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Kt,ariaLevel:Re,ariaLive:null,ariaModal:wn,ariaMultiLine:wn,ariaMultiSelectable:wn,ariaOrientation:null,ariaOwns:Kt,ariaPlaceholder:null,ariaPosInSet:Re,ariaPressed:wn,ariaReadOnly:wn,ariaRelevant:null,ariaRequired:wn,ariaRoleDescription:Kt,ariaRowCount:Re,ariaRowIndex:Re,ariaRowSpan:Re,ariaSelected:wn,ariaSetSize:Re,ariaSort:null,ariaValueMax:Re,ariaValueMin:Re,ariaValueNow:Re,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function k6(e,t){return t in e?e[t]:t}function N6(e,t){return k6(e,t.toLowerCase())}const qv=Dl({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Al,acceptCharset:Kt,accessKey:Kt,action:null,allow:null,allowFullScreen:ft,allowPaymentRequest:ft,allowUserMedia:ft,alt:null,as:null,async:ft,autoCapitalize:null,autoComplete:Kt,autoFocus:ft,autoPlay:ft,blocking:Kt,capture:null,charSet:null,checked:ft,cite:null,className:Kt,cols:Re,colSpan:null,content:null,contentEditable:wn,controls:ft,controlsList:Kt,coords:Re|Al,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ft,defer:ft,dir:null,dirName:null,disabled:ft,download:T1,draggable:wn,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ft,formTarget:null,headers:Kt,height:Re,hidden:T1,high:Re,href:null,hrefLang:null,htmlFor:Kt,httpEquiv:Kt,id:null,imageSizes:null,imageSrcSet:null,inert:ft,inputMode:null,integrity:null,is:null,isMap:ft,itemId:null,itemProp:Kt,itemRef:Kt,itemScope:ft,itemType:Kt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ft,low:Re,manifest:null,max:null,maxLength:Re,media:null,method:null,min:null,minLength:Re,multiple:ft,muted:ft,name:null,nonce:null,noModule:ft,noValidate:ft,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:ft,optimum:Re,pattern:null,ping:Kt,placeholder:null,playsInline:ft,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:ft,referrerPolicy:null,rel:Kt,required:ft,reversed:ft,rows:Re,rowSpan:Re,sandbox:Kt,scope:null,scoped:ft,seamless:ft,selected:ft,shadowRootClonable:ft,shadowRootDelegatesFocus:ft,shadowRootMode:null,shape:null,size:Re,sizes:null,slot:null,span:Re,spellCheck:wn,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Re,step:null,style:null,tabIndex:Re,target:null,title:null,translate:null,type:null,typeMustMatch:ft,useMap:null,value:wn,width:Re,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Kt,axis:null,background:null,bgColor:null,border:Re,borderColor:null,bottomMargin:Re,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ft,declare:ft,event:null,face:null,frame:null,frameBorder:null,hSpace:Re,leftMargin:Re,link:null,longDesc:null,lowSrc:null,marginHeight:Re,marginWidth:Re,noResize:ft,noHref:ft,noShade:ft,noWrap:ft,object:null,profile:null,prompt:null,rev:null,rightMargin:Re,rules:null,scheme:null,scrolling:wn,standby:null,summary:null,text:null,topMargin:Re,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Re,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ft,disableRemotePlayback:ft,prefix:null,property:null,results:Re,security:null,unselectable:null},space:"html",transform:N6}),Yv=Dl({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:Dr,accentHeight:Re,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Re,amplitude:Re,arabicForm:null,ascent:Re,attributeName:null,attributeType:null,azimuth:Re,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Re,by:null,calcMode:null,capHeight:Re,className:Kt,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:Re,diffuseConstant:Re,direction:null,display:null,dur:null,divisor:Re,dominantBaseline:null,download:ft,dx:null,dy:null,edgeMode:null,editable:null,elevation:Re,enableBackground:null,end:null,event:null,exponent:Re,externalResourcesRequired:null,fill:null,fillOpacity:Re,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:Al,g2:Al,glyphName:Al,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Re,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Re,horizOriginX:Re,horizOriginY:Re,id:null,ideographic:Re,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Re,k:Re,k1:Re,k2:Re,k3:Re,k4:Re,kernelMatrix:Dr,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Re,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:Re,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:Re,overlineThickness:Re,paintOrder:null,panose1:null,path:null,pathLength:Re,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Kt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Re,pointsAtY:Re,pointsAtZ:Re,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Dr,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Dr,rev:Dr,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Dr,requiredFeatures:Dr,requiredFonts:Dr,requiredFormats:Dr,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:Re,specularExponent:Re,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Re,strikethroughThickness:Re,string:null,stroke:null,strokeDashArray:Dr,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Re,strokeOpacity:Re,strokeWidth:null,style:null,surfaceScale:Re,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Dr,tabIndex:Re,tableValues:null,target:null,targetX:Re,targetY:Re,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Dr,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Re,underlineThickness:Re,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Re,values:null,vAlphabetic:Re,vMathematical:Re,vectorEffect:null,vHanging:Re,vIdeographic:Re,version:null,vertAdvY:Re,vertOriginX:Re,vertOriginY:Re,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Re,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:k6}),C6=Dl({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()}}),O6=Dl({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:N6}),R6=Dl({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),Gv={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"},jv=/[A-Z]/g,V4=/-[a-z]/g,Vv=/^data[-\w.:]+$/i;function hm(e,t){const n=fo(t);let a=t,s=vr;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Vv.test(t)){if(t.charAt(4)==="-"){const l=t.slice(5).replace(V4,$v);a="data"+l.charAt(0).toUpperCase()+l.slice(1)}else{const l=t.slice(4);if(!V4.test(l)){let o=l.replace(jv,Kv);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}s=fm}return new s(a,t)}function Kv(e){return"-"+e.toLowerCase()}function $v(e){return e.charAt(1).toUpperCase()}const Y0=A6([w6,qv,C6,O6,R6],"html"),Il=A6([w6,Yv,C6,O6,R6],"svg");function K4(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function M6(e){return e.join(" ").trim()}var pl={},Th,$4;function Xv(){if($4)return Th;$4=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";Th=function(k,I){if(typeof k!="string")throw new TypeError("First argument must be a string");if(!k)return[];I=I||{};var N=1,M=1;function z(ve){var he=ve.match(t);he&&(N+=he.length);var be=ve.lastIndexOf(f);M=~be?ve.length-be:M+ve.length}function $(){var ve={line:N,column:M};return function(he){return he.position=new Y(ve),X(),he}}function Y(ve){this.start=ve,this.end={line:N,column:M},this.source=I.source}Y.prototype.content=k;function L(ve){var he=new Error(I.source+":"+N+":"+M+": "+ve);if(he.reason=ve,he.filename=I.source,he.line=N,he.column=M,he.source=k,!I.silent)throw he}function re(ve){var he=ve.exec(k);if(he){var be=he[0];return z(be),k=k.slice(be.length),he}}function X(){re(n)}function ee(ve){var he;for(ve=ve||[];he=q();)he!==!1&&ve.push(he);return ve}function q(){var ve=$();if(!(h!=k.charAt(0)||p!=k.charAt(1))){for(var he=2;b!=k.charAt(he)&&(p!=k.charAt(he)||h!=k.charAt(he+1));)++he;if(he+=2,b===k.charAt(he-1))return L("End of comment missing");var be=k.slice(2,he-2);return M+=2,z(be),k=k.slice(he),M+=2,ve({type:T,comment:be})}}function ce(){var ve=$(),he=re(a);if(he){if(q(),!re(s))return L("property missing ':'");var be=re(l),W=ve({type:v,property:A(he[0].replace(e,b)),value:be?A(be[0].replace(e,b)):b});return re(o),W}}function J(){var ve=[];ee(ve);for(var he;he=ce();)he!==!1&&(ve.push(he),ee(ve));return ve}return X(),J()};function A(k){return k?k.replace(d,b):b}return Th}var X4;function Wv(){if(X4)return pl;X4=1;var e=pl&&pl.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(pl,"__esModule",{value:!0}),pl.default=n;var t=e(Xv());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 pl}var Gu={},W4;function Qv(){if(W4)return Gu;W4=1,Object.defineProperty(Gu,"__esModule",{value:!0}),Gu.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 Gu.camelCase=f,Gu}var ju,Q4;function Zv(){if(Q4)return ju;Q4=1;var e=ju&&ju.__importDefault||function(s){return s&&s.__esModule?s:{default:s}},t=e(Wv()),n=Qv();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,ju=a,ju}var Jv=Zv();const eT=H0(Jv),G0=D6("end"),Oa=D6("start");function D6(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 tT(e){const t=Oa(e),n=G0(e);if(t&&n)return{start:t,end:n}}function Ju(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Z4(e.position):"start"in e||"end"in e?Z4(e):"line"in e||"column"in e?S1(e):""}function S1(e){return J4(e&&e.line)+":"+J4(e&&e.column)}function Z4(e){return S1(e&&e.start)+"-"+S1(e&&e.end)}function J4(e){return e&&typeof e=="number"?e:1}class Wn 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=Ju(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}}Wn.prototype.file="";Wn.prototype.name="";Wn.prototype.reason="";Wn.prototype.message="";Wn.prototype.stack="";Wn.prototype.column=void 0;Wn.prototype.line=void 0;Wn.prototype.ancestors=void 0;Wn.prototype.cause=void 0;Wn.prototype.fatal=void 0;Wn.prototype.place=void 0;Wn.prototype.ruleId=void 0;Wn.prototype.source=void 0;const mm={}.hasOwnProperty,nT=new Map,rT=/[A-Z]/g,aT=new Set(["table","tbody","thead","tfoot","tr"]),iT=new Set(["td","th"]),I6="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function sT(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=mT(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=hT(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"?Il:Y0,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},l=L6(s,e,void 0);return l&&typeof l!="string"?l:s.create(e,s.Fragment,{children:l||void 0},void 0)}function L6(e,t,n){if(t.type==="element")return lT(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return uT(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return cT(e,t,n);if(t.type==="mdxjsEsm")return oT(e,t);if(t.type==="root")return dT(e,t,n);if(t.type==="text")return fT(e,t)}function lT(e,t,n){const a=e.schema;let s=a;t.tagName.toLowerCase()==="svg"&&a.space==="html"&&(s=Il,e.schema=s),e.ancestors.push(t);const l=P6(e,t.tagName,!1),o=pT(e,t);let d=gm(e,t);return aT.has(t.tagName)&&(d=d.filter(function(f){return typeof f=="string"?!Fv(f):!0})),B6(e,o,l,t),pm(o,d),e.ancestors.pop(),e.schema=a,e.create(t,l,o,n)}function uT(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)}ho(e,t.position)}function oT(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);ho(e,t.position)}function cT(e,t,n){const a=e.schema;let s=a;t.name==="svg"&&a.space==="html"&&(s=Il,e.schema=s),e.ancestors.push(t);const l=t.name===null?e.Fragment:P6(e,t.name,!0),o=gT(e,t),d=gm(e,t);return B6(e,o,l,t),pm(o,d),e.ancestors.pop(),e.schema=a,e.create(t,l,o,n)}function dT(e,t,n){const a={};return pm(a,gm(e,t)),e.create(t,e.Fragment,a,n)}function fT(e,t){return t.value}function B6(e,t,n,a){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=a)}function pm(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function hT(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 mT(e,t){return n;function n(a,s,l,o){const d=Array.isArray(l.children),f=Oa(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 pT(e,t){const n={};let a,s;for(s in t.properties)if(s!=="children"&&mm.call(t.properties,s)){const l=bT(e,s,t.properties[s]);if(l){const[o,d]=l;e.tableCellAlignToStyle&&o==="align"&&typeof d=="string"&&iT.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 gT(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 ho(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 ho(e,t.position);else l=a.value===null?!0:a.value;n[s]=l}return n}function gm(e,t){const n=[];let a=-1;const s=e.passKeys?new Map:nT;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=L6(e,l,o);d!==void 0&&n.push(d)}return n}function bT(e,t,n){const a=hm(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=a.commaSeparated?x6(n):M6(n)),a.property==="style"){let s=typeof n=="object"?n:ET(e,String(n));return e.stylePropertyNameCase==="css"&&(s=yT(s)),["style",s]}return[e.elementAttributeNameCase==="react"&&a.space?Gv[a.property]||a.property:a.attribute,n]}}function ET(e,t){try{return eT(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const a=n,s=new Wn("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=I6+"#cannot-parse-style-attribute",s}}function P6(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=Y4(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=Y4(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(a.type==="Literal"){const s=a.value;return mm.call(e.components,s)?e.components[s]:s}if(e.evaluater)return e.evaluater.evaluateExpression(a);ho(e)}function ho(e,t){const n=new Wn("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=I6+"#cannot-handle-mdx-estrees-without-createevaluater",n}function yT(e){const t={};let n;for(n in e)mm.call(e,n)&&(t[vT(n)]=e[n]);return t}function vT(e){let t=e.replace(rT,TT);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function TT(e){return"-"+e.toLowerCase()}const _h={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"]},_T={};function bm(e,t){const n=_T,a=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,s=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return U6(e,a,s)}function U6(e,t,n){if(ST(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 eb(e.children,t,n)}return Array.isArray(e)?eb(e,t,n):""}function eb(e,t,n){const a=[];let s=-1;for(;++s<e.length;)a[s]=U6(e[s],t,n);return a.join("")}function ST(e){return!!(e&&typeof e=="object")}const tb=document.createElement("i");function Em(e){const t="&"+e+";";tb.innerHTML=t;const n=tb.textContent;return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function Pr(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 Xr(e,t){return e.length>0?(Pr(e,e.length,0,t),e):t}const nb={}.hasOwnProperty;function z6(e){const t={};let n=-1;for(;++n<e.length;)xT(t,e[n]);return t}function xT(e,t){let n;for(n in t){const s=(nb.call(e,n)?e[n]:void 0)||(e[n]={}),l=t[n];let o;if(l)for(o in l){nb.call(s,o)||(s[o]=[]);const d=l[o];AT(s[o],Array.isArray(d)?d:d?[d]:[])}}}function AT(e,t){let n=-1;const a=[];for(;++n<t.length;)(t[n].add==="after"?e:a).push(t[n]);Pr(e,0,0,a)}function F6(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 ha(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const sr=es(/[A-Za-z]/),Xn=es(/[\dA-Za-z]/),wT=es(/[#-'*+\--9=?A-Z^-~]/);function A0(e){return e!==null&&(e<32||e===127)}const x1=es(/\d/),kT=es(/[\dA-Fa-f]/),NT=es(/[!-/:-@[-`{-~]/);function Ve(e){return e!==null&&e<-2}function Gt(e){return e!==null&&(e<0||e===32)}function St(e){return e===-2||e===-1||e===32}const j0=es(new RegExp("\\p{P}|\\p{S}","u")),Rs=es(/\s/);function es(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function Ll(e){const t=[];let n=-1,a=0,s=0;for(;++n<e.length;){const l=e.charCodeAt(n);let o="";if(l===37&&Xn(e.charCodeAt(n+1))&&Xn(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 yt(e,t,n,a){const s=a?a-1:Number.POSITIVE_INFINITY;let l=0;return o;function o(f){return St(f)?(e.enter(n),d(f)):t(f)}function d(f){return St(f)&&l++<s?(e.consume(f),d):(e.exit(n),t(f))}}const CT={tokenize:OT};function OT(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"),yt(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 Ve(d)?(e.consume(d),e.exit("chunkText"),l):(e.consume(d),o)}}const RT={tokenize:MT},rb={tokenize:DT};function MT(e){const t=this,n=[];let a=0,s,l,o;return d;function d(z){if(a<n.length){const $=n[a];return t.containerState=$[1],e.attempt($[0].continuation,f,h)(z)}return h(z)}function f(z){if(a++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,s&&M();const $=t.events.length;let Y=$,L;for(;Y--;)if(t.events[Y][0]==="exit"&&t.events[Y][1].type==="chunkFlow"){L=t.events[Y][1].end;break}N(a);let re=$;for(;re<t.events.length;)t.events[re][1].end={...L},re++;return Pr(t.events,Y+1,0,t.events.slice($)),t.events.length=re,h(z)}return d(z)}function h(z){if(a===n.length){if(!s)return T(z);if(s.currentConstruct&&s.currentConstruct.concrete)return A(z);t.interrupt=!!(s.currentConstruct&&!s._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(rb,p,b)(z)}function p(z){return s&&M(),N(a),T(z)}function b(z){return t.parser.lazy[t.now().line]=a!==n.length,o=t.now().offset,A(z)}function T(z){return t.containerState={},e.attempt(rb,v,A)(z)}function v(z){return a++,n.push([t.currentConstruct,t.containerState]),T(z)}function A(z){if(z===null){s&&M(),N(0),e.consume(z);return}return s=s||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:s,contentType:"flow",previous:l}),k(z)}function k(z){if(z===null){I(e.exit("chunkFlow"),!0),N(0),e.consume(z);return}return Ve(z)?(e.consume(z),I(e.exit("chunkFlow")),a=0,t.interrupt=void 0,d):(e.consume(z),k)}function I(z,$){const Y=t.sliceStream(z);if($&&Y.push(null),z.previous=l,l&&(l.next=z),l=z,s.defineSkip(z.start),s.write(Y),t.parser.lazy[z.start.line]){let L=s.events.length;for(;L--;)if(s.events[L][1].start.offset<o&&(!s.events[L][1].end||s.events[L][1].end.offset>o))return;const re=t.events.length;let X=re,ee,q;for(;X--;)if(t.events[X][0]==="exit"&&t.events[X][1].type==="chunkFlow"){if(ee){q=t.events[X][1].end;break}ee=!0}for(N(a),L=re;L<t.events.length;)t.events[L][1].end={...q},L++;Pr(t.events,X+1,0,t.events.slice(re)),t.events.length=L}}function N(z){let $=n.length;for(;$-- >z;){const Y=n[$];t.containerState=Y[1],Y[0].exit.call(t,e)}n.length=z}function M(){s.write([null]),l=void 0,s=void 0,t.containerState._closeFlow=void 0}}function DT(e,t,n){return yt(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||Gt(e)||Rs(e))return 1;if(j0(e))return 2}function V0(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 A1={name:"attention",resolveAll:IT,tokenize:LT};function IT(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};ab(b,-f),ab(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=Xr(h,[["enter",e[a][1],t],["exit",e[a][1],t]])),h=Xr(h,[["enter",s,t],["enter",o,t],["exit",o,t],["enter",l,t]]),h=Xr(h,V0(t.parser.constructs.insideSpan.null,e.slice(a+1,n),t)),h=Xr(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=Xr(h,[["enter",e[n][1],t],["exit",e[n][1],t]])):p=0,Pr(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 LT(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 ab(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const BT={name:"autolink",tokenize:PT};function PT(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 sr(v)?(e.consume(v),o):v===64?n(v):h(v)}function o(v){return v===43||v===45||v===46||Xn(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||Xn(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||A0(v)?n(v):(e.consume(v),f)}function h(v){return v===64?(e.consume(v),p):wT(v)?(e.consume(v),h):n(v)}function p(v){return Xn(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||Xn(v))&&a++<63){const A=v===45?T:b;return e.consume(v),A}return n(v)}}const To={partial:!0,tokenize:UT};function UT(e,t,n){return a;function a(l){return St(l)?yt(e,s,"linePrefix")(l):s(l)}function s(l){return l===null||Ve(l)?t(l):n(l)}}const H6={continuation:{tokenize:FT},exit:HT,name:"blockQuote",tokenize:zT};function zT(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 St(o)?(e.enter("blockQuotePrefixWhitespace"),e.consume(o),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(o))}}function FT(e,t,n){const a=this;return s;function s(o){return St(o)?yt(e,l,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o):l(o)}function l(o){return e.attempt(H6,t,n)(o)}}function HT(e){e.exit("blockQuote")}const q6={name:"characterEscape",tokenize:qT};function qT(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 NT(l)?(e.enter("characterEscapeValue"),e.consume(l),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(l)}}const Y6={name:"characterReference",tokenize:YT};function YT(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=Xn,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=kT,p):(e.enter("characterReferenceValue"),l=7,o=x1,p(b))}function p(b){if(b===59&&s){const T=e.exit("characterReferenceValue");return o===Xn&&!Em(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 ib={partial:!0,tokenize:jT},sb={concrete:!0,name:"codeFenced",tokenize:GT};function GT(e,t,n){const a=this,s={partial:!0,tokenize:Y};let l=0,o=0,d;return f;function f(L){return h(L)}function h(L){const re=a.events[a.events.length-1];return l=re&&re[1].type==="linePrefix"?re[2].sliceSerialize(re[1],!0).length:0,d=L,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),p(L)}function p(L){return L===d?(o++,e.consume(L),p):o<3?n(L):(e.exit("codeFencedFenceSequence"),St(L)?yt(e,b,"whitespace")(L):b(L))}function b(L){return L===null||Ve(L)?(e.exit("codeFencedFence"),a.interrupt?t(L):e.check(ib,k,$)(L)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),T(L))}function T(L){return L===null||Ve(L)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),b(L)):St(L)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),yt(e,v,"whitespace")(L)):L===96&&L===d?n(L):(e.consume(L),T)}function v(L){return L===null||Ve(L)?b(L):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),A(L))}function A(L){return L===null||Ve(L)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),b(L)):L===96&&L===d?n(L):(e.consume(L),A)}function k(L){return e.attempt(s,$,I)(L)}function I(L){return e.enter("lineEnding"),e.consume(L),e.exit("lineEnding"),N}function N(L){return l>0&&St(L)?yt(e,M,"linePrefix",l+1)(L):M(L)}function M(L){return L===null||Ve(L)?e.check(ib,k,$)(L):(e.enter("codeFlowValue"),z(L))}function z(L){return L===null||Ve(L)?(e.exit("codeFlowValue"),M(L)):(e.consume(L),z)}function $(L){return e.exit("codeFenced"),t(L)}function Y(L,re,X){let ee=0;return q;function q(be){return L.enter("lineEnding"),L.consume(be),L.exit("lineEnding"),ce}function ce(be){return L.enter("codeFencedFence"),St(be)?yt(L,J,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(be):J(be)}function J(be){return be===d?(L.enter("codeFencedFenceSequence"),ve(be)):X(be)}function ve(be){return be===d?(ee++,L.consume(be),ve):ee>=o?(L.exit("codeFencedFenceSequence"),St(be)?yt(L,he,"whitespace")(be):he(be)):X(be)}function he(be){return be===null||Ve(be)?(L.exit("codeFencedFence"),re(be)):X(be)}}}function jT(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 Sh={name:"codeIndented",tokenize:KT},VT={partial:!0,tokenize:$T};function KT(e,t,n){const a=this;return s;function s(h){return e.enter("codeIndented"),yt(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):Ve(h)?e.attempt(VT,o,f)(h):(e.enter("codeFlowValue"),d(h))}function d(h){return h===null||Ve(h)?(e.exit("codeFlowValue"),o(h)):(e.consume(h),d)}function f(h){return e.exit("codeIndented"),t(h)}}function $T(e,t,n){const a=this;return s;function s(o){return a.parser.lazy[a.now().line]?n(o):Ve(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),s):yt(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):Ve(o)?s(o):n(o)}}const XT={name:"codeText",previous:QT,resolve:WT,tokenize:ZT};function WT(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 QT(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function ZT(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)):Ve(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||Ve(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 JT{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&&Vu(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),Vu(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Vu(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);Vu(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Vu(this.left,n.reverse())}}}function Vu(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 G6(e){const t={};let n=-1,a,s,l,o,d,f,h;const p=new JT(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,e9(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 Pr(e,0,Number.POSITIVE_INFINITY,p.slice(0)),!h}function e9(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 I=[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,I.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):I.pop(),T=I.length;T--;){const N=d.slice(I[T],I[T+1]),M=l.pop();f.push([M,M+N.length-1]),e.splice(M,2,N)}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 t9={resolve:r9,tokenize:a9},n9={partial:!0,tokenize:i9};function r9(e){return G6(e),e}function a9(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):Ve(d)?e.check(n9,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 i9(e,t,n){const a=this;return s;function s(o){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),yt(e,l,"linePrefix")}function l(o){if(o===null||Ve(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 j6(e,t,n,a,s,l,o,d,f){const h=f||Number.POSITIVE_INFINITY;let p=0;return b;function b(N){return N===60?(e.enter(a),e.enter(s),e.enter(l),e.consume(N),e.exit(l),T):N===null||N===32||N===41||A0(N)?n(N):(e.enter(a),e.enter(o),e.enter(d),e.enter("chunkString",{contentType:"string"}),k(N))}function T(N){return N===62?(e.enter(l),e.consume(N),e.exit(l),e.exit(s),e.exit(a),t):(e.enter(d),e.enter("chunkString",{contentType:"string"}),v(N))}function v(N){return N===62?(e.exit("chunkString"),e.exit(d),T(N)):N===null||N===60||Ve(N)?n(N):(e.consume(N),N===92?A:v)}function A(N){return N===60||N===62||N===92?(e.consume(N),v):v(N)}function k(N){return!p&&(N===null||N===41||Gt(N))?(e.exit("chunkString"),e.exit(d),e.exit(o),e.exit(a),t(N)):p<h&&N===40?(e.consume(N),p++,k):N===41?(e.consume(N),p--,k):N===null||N===32||N===40||A0(N)?n(N):(e.consume(N),N===92?I:k)}function I(N){return N===40||N===41||N===92?(e.consume(N),k):k(N)}}function V6(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):Ve(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||Ve(v)||d++>999?(e.exit("chunkString"),p(v)):(e.consume(v),f||(f=!St(v)),v===92?T:b)}function T(v){return v===91||v===92||v===93?(e.consume(v),d++,b):b(v)}}function K6(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):Ve(T)?(e.enter("lineEnding"),e.consume(T),e.exit("lineEnding"),yt(e,h,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),p(T))}function p(T){return T===o||T===null||Ve(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 eo(e,t){let n;return a;function a(s){return Ve(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),n=!0,a):St(s)?yt(e,a,n?"linePrefix":"lineSuffix")(s):t(s)}}const s9={name:"definition",tokenize:u9},l9={partial:!0,tokenize:o9};function u9(e,t,n){const a=this;let s;return l;function l(v){return e.enter("definition"),o(v)}function o(v){return V6.call(a,e,d,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(v)}function d(v){return s=ha(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 Gt(v)?eo(e,h)(v):h(v)}function h(v){return j6(e,p,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(v)}function p(v){return e.attempt(l9,b,b)(v)}function b(v){return St(v)?yt(e,T,"whitespace")(v):T(v)}function T(v){return v===null||Ve(v)?(e.exit("definition"),a.parser.defined.push(s),t(v)):n(v)}}function o9(e,t,n){return a;function a(d){return Gt(d)?eo(e,s)(d):n(d)}function s(d){return K6(e,l,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(d)}function l(d){return St(d)?yt(e,o,"whitespace")(d):o(d)}function o(d){return d===null||Ve(d)?t(d):n(d)}}const c9={name:"hardBreakEscape",tokenize:d9};function d9(e,t,n){return a;function a(l){return e.enter("hardBreakEscape"),e.consume(l),s}function s(l){return Ve(l)?(e.exit("hardBreakEscape"),t(l)):n(l)}}const f9={name:"headingAtx",resolve:h9,tokenize:m9};function h9(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"},Pr(e,a,n-a+1,[["enter",s,t],["enter",l,t],["exit",l,t],["exit",s,t]])),e}function m9(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||Gt(p)?(e.exit("atxHeadingSequence"),d(p)):n(p)}function d(p){return p===35?(e.enter("atxHeadingSequence"),f(p)):p===null||Ve(p)?(e.exit("atxHeading"),t(p)):St(p)?yt(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||Gt(p)?(e.exit("atxHeadingText"),d(p)):(e.consume(p),h)}}const p9=["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"],lb=["pre","script","style","textarea"],g9={concrete:!0,name:"htmlFlow",resolveTo:y9,tokenize:v9},b9={partial:!0,tokenize:_9},E9={partial:!0,tokenize:T9};function y9(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 v9(e,t,n){const a=this;let s,l,o,d,f;return h;function h(R){return p(R)}function p(R){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(R),b}function b(R){return R===33?(e.consume(R),T):R===47?(e.consume(R),l=!0,k):R===63?(e.consume(R),s=3,a.interrupt?t:S):sr(R)?(e.consume(R),o=String.fromCharCode(R),I):n(R)}function T(R){return R===45?(e.consume(R),s=2,v):R===91?(e.consume(R),s=5,d=0,A):sr(R)?(e.consume(R),s=4,a.interrupt?t:S):n(R)}function v(R){return R===45?(e.consume(R),a.interrupt?t:S):n(R)}function A(R){const Ae="CDATA[";return R===Ae.charCodeAt(d++)?(e.consume(R),d===Ae.length?a.interrupt?t:J:A):n(R)}function k(R){return sr(R)?(e.consume(R),o=String.fromCharCode(R),I):n(R)}function I(R){if(R===null||R===47||R===62||Gt(R)){const Ae=R===47,Pe=o.toLowerCase();return!Ae&&!l&&lb.includes(Pe)?(s=1,a.interrupt?t(R):J(R)):p9.includes(o.toLowerCase())?(s=6,Ae?(e.consume(R),N):a.interrupt?t(R):J(R)):(s=7,a.interrupt&&!a.parser.lazy[a.now().line]?n(R):l?M(R):z(R))}return R===45||Xn(R)?(e.consume(R),o+=String.fromCharCode(R),I):n(R)}function N(R){return R===62?(e.consume(R),a.interrupt?t:J):n(R)}function M(R){return St(R)?(e.consume(R),M):q(R)}function z(R){return R===47?(e.consume(R),q):R===58||R===95||sr(R)?(e.consume(R),$):St(R)?(e.consume(R),z):q(R)}function $(R){return R===45||R===46||R===58||R===95||Xn(R)?(e.consume(R),$):Y(R)}function Y(R){return R===61?(e.consume(R),L):St(R)?(e.consume(R),Y):z(R)}function L(R){return R===null||R===60||R===61||R===62||R===96?n(R):R===34||R===39?(e.consume(R),f=R,re):St(R)?(e.consume(R),L):X(R)}function re(R){return R===f?(e.consume(R),f=null,ee):R===null||Ve(R)?n(R):(e.consume(R),re)}function X(R){return R===null||R===34||R===39||R===47||R===60||R===61||R===62||R===96||Gt(R)?Y(R):(e.consume(R),X)}function ee(R){return R===47||R===62||St(R)?z(R):n(R)}function q(R){return R===62?(e.consume(R),ce):n(R)}function ce(R){return R===null||Ve(R)?J(R):St(R)?(e.consume(R),ce):n(R)}function J(R){return R===45&&s===2?(e.consume(R),W):R===60&&s===1?(e.consume(R),de):R===62&&s===4?(e.consume(R),K):R===63&&s===3?(e.consume(R),S):R===93&&s===5?(e.consume(R),Fe):Ve(R)&&(s===6||s===7)?(e.exit("htmlFlowData"),e.check(b9,ue,ve)(R)):R===null||Ve(R)?(e.exit("htmlFlowData"),ve(R)):(e.consume(R),J)}function ve(R){return e.check(E9,he,ue)(R)}function he(R){return e.enter("lineEnding"),e.consume(R),e.exit("lineEnding"),be}function be(R){return R===null||Ve(R)?ve(R):(e.enter("htmlFlowData"),J(R))}function W(R){return R===45?(e.consume(R),S):J(R)}function de(R){return R===47?(e.consume(R),o="",ge):J(R)}function ge(R){if(R===62){const Ae=o.toLowerCase();return lb.includes(Ae)?(e.consume(R),K):J(R)}return sr(R)&&o.length<8?(e.consume(R),o+=String.fromCharCode(R),ge):J(R)}function Fe(R){return R===93?(e.consume(R),S):J(R)}function S(R){return R===62?(e.consume(R),K):R===45&&s===2?(e.consume(R),S):J(R)}function K(R){return R===null||Ve(R)?(e.exit("htmlFlowData"),ue(R)):(e.consume(R),K)}function ue(R){return e.exit("htmlFlow"),t(R)}}function T9(e,t,n){const a=this;return s;function s(o){return Ve(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 _9(e,t,n){return a;function a(s){return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),e.attempt(To,t,n)}}const S9={name:"htmlText",tokenize:x9};function x9(e,t,n){const a=this;let s,l,o;return d;function d(S){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(S),f}function f(S){return S===33?(e.consume(S),h):S===47?(e.consume(S),Y):S===63?(e.consume(S),z):sr(S)?(e.consume(S),X):n(S)}function h(S){return S===45?(e.consume(S),p):S===91?(e.consume(S),l=0,A):sr(S)?(e.consume(S),M):n(S)}function p(S){return S===45?(e.consume(S),v):n(S)}function b(S){return S===null?n(S):S===45?(e.consume(S),T):Ve(S)?(o=b,de(S)):(e.consume(S),b)}function T(S){return S===45?(e.consume(S),v):b(S)}function v(S){return S===62?W(S):S===45?T(S):b(S)}function A(S){const K="CDATA[";return S===K.charCodeAt(l++)?(e.consume(S),l===K.length?k:A):n(S)}function k(S){return S===null?n(S):S===93?(e.consume(S),I):Ve(S)?(o=k,de(S)):(e.consume(S),k)}function I(S){return S===93?(e.consume(S),N):k(S)}function N(S){return S===62?W(S):S===93?(e.consume(S),N):k(S)}function M(S){return S===null||S===62?W(S):Ve(S)?(o=M,de(S)):(e.consume(S),M)}function z(S){return S===null?n(S):S===63?(e.consume(S),$):Ve(S)?(o=z,de(S)):(e.consume(S),z)}function $(S){return S===62?W(S):z(S)}function Y(S){return sr(S)?(e.consume(S),L):n(S)}function L(S){return S===45||Xn(S)?(e.consume(S),L):re(S)}function re(S){return Ve(S)?(o=re,de(S)):St(S)?(e.consume(S),re):W(S)}function X(S){return S===45||Xn(S)?(e.consume(S),X):S===47||S===62||Gt(S)?ee(S):n(S)}function ee(S){return S===47?(e.consume(S),W):S===58||S===95||sr(S)?(e.consume(S),q):Ve(S)?(o=ee,de(S)):St(S)?(e.consume(S),ee):W(S)}function q(S){return S===45||S===46||S===58||S===95||Xn(S)?(e.consume(S),q):ce(S)}function ce(S){return S===61?(e.consume(S),J):Ve(S)?(o=ce,de(S)):St(S)?(e.consume(S),ce):ee(S)}function J(S){return S===null||S===60||S===61||S===62||S===96?n(S):S===34||S===39?(e.consume(S),s=S,ve):Ve(S)?(o=J,de(S)):St(S)?(e.consume(S),J):(e.consume(S),he)}function ve(S){return S===s?(e.consume(S),s=void 0,be):S===null?n(S):Ve(S)?(o=ve,de(S)):(e.consume(S),ve)}function he(S){return S===null||S===34||S===39||S===60||S===61||S===96?n(S):S===47||S===62||Gt(S)?ee(S):(e.consume(S),he)}function be(S){return S===47||S===62||Gt(S)?ee(S):n(S)}function W(S){return S===62?(e.consume(S),e.exit("htmlTextData"),e.exit("htmlText"),t):n(S)}function de(S){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(S),e.exit("lineEnding"),ge}function ge(S){return St(S)?yt(e,Fe,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(S):Fe(S)}function Fe(S){return e.enter("htmlTextData"),o(S)}}const ym={name:"labelEnd",resolveAll:N9,resolveTo:C9,tokenize:O9},A9={tokenize:R9},w9={tokenize:M9},k9={tokenize:D9};function N9(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&&Pr(e,0,e.length,n),e}function C9(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=Xr(d,e.slice(l+1,l+a+3)),d=Xr(d,[["enter",p,t]]),d=Xr(d,V0(t.parser.constructs.insideSpan.null,e.slice(l+a+4,o-3),t)),d=Xr(d,[["exit",p,t],e[o-2],e[o-1],["exit",h,t]]),d=Xr(d,e.slice(o+1)),d=Xr(d,[["exit",f,t]]),Pr(e,l,e.length,d),e}function O9(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(ha(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(A9,p,o?p:b)(T):T===91?e.attempt(w9,p,o?h:b)(T):o?p(T):b(T)}function h(T){return e.attempt(k9,p,b)(T)}function p(T){return t(T)}function b(T){return l._balanced=!0,n(T)}}function R9(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 Gt(b)?eo(e,l)(b):l(b)}function l(b){return b===41?p(b):j6(e,o,d,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(b)}function o(b){return Gt(b)?eo(e,f)(b):p(b)}function d(b){return n(b)}function f(b){return b===34||b===39||b===40?K6(e,h,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(b):p(b)}function h(b){return Gt(b)?eo(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 M9(e,t,n){const a=this;return s;function s(d){return V6.call(a,e,l,o,"reference","referenceMarker","referenceString")(d)}function l(d){return a.parser.defined.includes(ha(a.sliceSerialize(a.events[a.events.length-1][1]).slice(1,-1)))?t(d):n(d)}function o(d){return n(d)}}function D9(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 I9={name:"labelStartImage",resolveAll:ym.resolveAll,tokenize:L9};function L9(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 B9={name:"labelStartLink",resolveAll:ym.resolveAll,tokenize:P9};function P9(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 xh={name:"lineEnding",tokenize:U9};function U9(e,t){return n;function n(a){return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),yt(e,t,"linePrefix")}}const E0={name:"thematicBreak",tokenize:z9};function z9(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||Ve(h))?(e.exit("thematicBreak"),t(h)):n(h)}function f(h){return h===s?(e.consume(h),a++,f):(e.exit("thematicBreakSequence"),St(h)?yt(e,d,"whitespace")(h):d(h))}}const Er={continuation:{tokenize:Y9},exit:j9,name:"list",tokenize:q9},F9={partial:!0,tokenize:V9},H9={partial:!0,tokenize:G9};function q9(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:x1(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(E0,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 x1(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(To,a.interrupt?n:p,e.attempt(F9,T,b))}function p(v){return a.containerState.initialBlankLine=!0,l++,T(v)}function b(v){return St(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 Y9(e,t,n){const a=this;return a.containerState._closeFlow=void 0,e.check(To,s,l);function s(d){return a.containerState.furtherBlankLines=a.containerState.furtherBlankLines||a.containerState.initialBlankLine,yt(e,t,"listItemIndent",a.containerState.size+1)(d)}function l(d){return a.containerState.furtherBlankLines||!St(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(H9,t,o)(d))}function o(d){return a.containerState._closeFlow=!0,a.interrupt=void 0,yt(e,e.attempt(Er,t,n),"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(d)}}function G9(e,t,n){const a=this;return yt(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 j9(e){e.exit(this.containerState.type)}function V9(e,t,n){const a=this;return yt(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!St(l)&&o&&o[1].type==="listItemPrefixWhitespace"?t(l):n(l)}}const ub={name:"setextUnderline",resolveTo:K9,tokenize:$9};function K9(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 $9(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"),St(h)?yt(e,f,"lineSuffix")(h):f(h))}function f(h){return h===null||Ve(h)?(e.exit("setextHeadingLine"),t(h)):n(h)}}const X9={tokenize:W9};function W9(e){const t=this,n=e.attempt(To,a,e.attempt(this.parser.constructs.flowInitial,s,yt(e,e.attempt(this.parser.constructs.flow,s,e.attempt(t9,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 Q9={resolveAll:X6()},Z9=$6("string"),J9=$6("text");function $6(e){return{resolveAll:X6(e==="text"?e_: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 X6(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 e_(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 t_={42:Er,43:Er,45:Er,48:Er,49:Er,50:Er,51:Er,52:Er,53:Er,54:Er,55:Er,56:Er,57:Er,62:H6},n_={91:s9},r_={[-2]:Sh,[-1]:Sh,32:Sh},a_={35:f9,42:E0,45:[ub,E0],60:g9,61:ub,95:E0,96:sb,126:sb},i_={38:Y6,92:q6},s_={[-5]:xh,[-4]:xh,[-3]:xh,33:I9,38:Y6,42:A1,60:[BT,S9],91:B9,92:[c9,q6],93:ym,95:A1,96:XT},l_={null:[A1,Q9]},u_={null:[42,95]},o_={null:[]},c_=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:u_,contentInitial:n_,disable:o_,document:t_,flow:a_,flowInitial:r_,insideSpan:l_,string:i_,text:s_},Symbol.toStringTag,{value:"Module"}));function d_(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:re(Y),check:re(L),consume:M,enter:z,exit:$,interrupt:re(L,{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(ce){return o=Xr(o,ce),I(),o[o.length-1]!==null?[]:(X(t,0),h.events=V0(l,h.events,h),h.events)}function T(ce,J){return h_(v(ce),J)}function v(ce){return f_(o,ce)}function A(){const{_bufferIndex:ce,_index:J,line:ve,column:he,offset:be}=a;return{_bufferIndex:ce,_index:J,line:ve,column:he,offset:be}}function k(ce){s[ce.line]=ce.column,q()}function I(){let ce;for(;a._index<o.length;){const J=o[a._index];if(typeof J=="string")for(ce=a._index,a._bufferIndex<0&&(a._bufferIndex=0);a._index===ce&&a._bufferIndex<J.length;)N(J.charCodeAt(a._bufferIndex));else N(J)}}function N(ce){p=p(ce)}function M(ce){Ve(ce)?(a.line++,a.column=1,a.offset+=ce===-3?2:1,q()):ce!==-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=ce}function z(ce,J){const ve=J||{};return ve.type=ce,ve.start=A(),h.events.push(["enter",ve,h]),d.push(ve),ve}function $(ce){const J=d.pop();return J.end=A(),h.events.push(["exit",J,h]),J}function Y(ce,J){X(ce,J.from)}function L(ce,J){J.restore()}function re(ce,J){return ve;function ve(he,be,W){let de,ge,Fe,S;return Array.isArray(he)?ue(he):"tokenize"in he?ue([he]):K(he);function K(we){return wt;function wt(st){const Wt=st!==null&&we[st],Pt=st!==null&&we.null,In=[...Array.isArray(Wt)?Wt:Wt?[Wt]:[],...Array.isArray(Pt)?Pt:Pt?[Pt]:[]];return ue(In)(st)}}function ue(we){return de=we,ge=0,we.length===0?W:R(we[ge])}function R(we){return wt;function wt(st){return S=ee(),Fe=we,we.partial||(h.currentConstruct=we),we.name&&h.parser.constructs.disable.null.includes(we.name)?Pe():we.tokenize.call(J?Object.assign(Object.create(h),J):h,f,Ae,Pe)(st)}}function Ae(we){return ce(Fe,S),be}function Pe(we){return S.restore(),++ge<de.length?R(de[ge]):W}}}function X(ce,J){ce.resolveAll&&!l.includes(ce)&&l.push(ce),ce.resolve&&Pr(h.events,J,h.events.length-J,ce.resolve(h.events.slice(J),h)),ce.resolveTo&&(h.events=ce.resolveTo(h.events,h))}function ee(){const ce=A(),J=h.previous,ve=h.currentConstruct,he=h.events.length,be=Array.from(d);return{from:he,restore:W};function W(){a=ce,h.previous=J,h.currentConstruct=ve,h.events.length=he,d=be,q()}}function q(){a.line in s&&a.column<2&&(a.column=s[a.line],a.offset+=s[a.line]-1)}}function f_(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 h_(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 m_(e){const a={constructs:z6([c_,...(e||{}).extensions||[]]),content:s(CT),defined:[],document:s(RT),flow:s(X9),lazy:{},string:s(Z9),text:s(J9)};return a;function s(l){return o;function o(d){return d_(a,l,d)}}}function p_(e){for(;!G6(e););return e}const ob=/[\0\t\n\r]/g;function g_(){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(ob.lastIndex=b,h=ob.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 b_=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function E_(e){return e.replace(b_,y_)}function y_(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const s=n.charCodeAt(1),l=s===120||s===88;return F6(n.slice(l?2:1),l?16:10)}return Em(n)||e}const W6={}.hasOwnProperty;function v_(e,t,n){return typeof t!="string"&&(n=t,t=void 0),T_(n)(p_(m_(n).document().write(g_()(e,t,!0))))}function T_(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:l(Nt),autolinkProtocol:ee,autolinkEmail:ee,atxHeading:l(Ut),blockQuote:l(Pt),characterEscape:ee,characterReference:ee,codeFenced:l(In),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:l(In,o),codeText:l(zr,o),codeTextData:ee,data:ee,codeFlowValue:ee,definition:l(vt),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:l(mt),hardBreakEscape:l(Ke),hardBreakTrailing:l(Ke),htmlFlow:l(xt,o),htmlFlowData:ee,htmlText:l(xt,o),htmlTextData:ee,image:l(an),label:o,link:l(Nt),listItem:l(Ln),listItemValue:T,listOrdered:l(Zt,b),listUnordered:l(Zt),paragraph:l(di),reference:R,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:l(Ut),strong:l(pa),thematicBreak:l(Cn)},exit:{atxHeading:f(),atxHeadingSequence:Y,autolink:f(),autolinkEmail:Wt,autolinkProtocol:st,blockQuote:f(),characterEscapeValue:q,characterReferenceMarkerHexadecimal:Pe,characterReferenceMarkerNumeric:Pe,characterReferenceValue:we,characterReference:wt,codeFenced:f(I),codeFencedFence:k,codeFencedFenceInfo:v,codeFencedFenceMeta:A,codeFlowValue:q,codeIndented:f(N),codeText:f(be),codeTextData:q,data:q,definition:f(),definitionDestinationString:$,definitionLabelString:M,definitionTitleString:z,emphasis:f(),hardBreakEscape:f(J),hardBreakTrailing:f(J),htmlFlow:f(ve),htmlFlowData:q,htmlText:f(he),htmlTextData:q,image:f(de),label:Fe,labelText:ge,lineEnding:ce,link:f(W),listItem:f(),listOrdered:f(),listUnordered:f(),paragraph:f(),referenceString:Ae,resourceDestinationString:S,resourceTitleString:K,resource:ue,setextHeading:f(X),setextHeadingLineSequence:re,setextHeadingText:L,strong:f(),thematicBreak:f()}};Q6(t,(e||{}).mdastExtensions||[]);const n={};return a;function a(oe){let Se={type:"root",children:[]};const $e={stack:[Se],tokenStack:[],config:t,enter:d,exit:h,buffer:o,resume:p,data:n},Qe=[];let Rt=-1;for(;++Rt<oe.length;)if(oe[Rt][1].type==="listOrdered"||oe[Rt][1].type==="listUnordered")if(oe[Rt][0]==="enter")Qe.push(Rt);else{const Zn=Qe.pop();Rt=s(oe,Zn,Rt)}for(Rt=-1;++Rt<oe.length;){const Zn=t[oe[Rt][0]];W6.call(Zn,oe[Rt][1].type)&&Zn[oe[Rt][1].type].call(Object.assign({sliceSerialize:oe[Rt][2].sliceSerialize},$e),oe[Rt][1])}if($e.tokenStack.length>0){const Zn=$e.tokenStack[$e.tokenStack.length-1];(Zn[1]||cb).call($e,void 0,Zn[0])}for(Se.position={start:Fi(oe.length>0?oe[0][1].start:{line:1,column:1,offset:0}),end:Fi(oe.length>0?oe[oe.length-2][1].end:{line:1,column:1,offset:0})},Rt=-1;++Rt<t.transforms.length;)Se=t.transforms[Rt](Se)||Se;return Se}function s(oe,Se,$e){let Qe=Se-1,Rt=-1,Zn=!1,aa,jn,Sr,Jn;for(;++Qe<=$e;){const Tn=oe[Qe];switch(Tn[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Tn[0]==="enter"?Rt++:Rt--,Jn=void 0;break}case"lineEndingBlank":{Tn[0]==="enter"&&(aa&&!Jn&&!Rt&&!Sr&&(Sr=Qe),Jn=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:Jn=void 0}if(!Rt&&Tn[0]==="enter"&&Tn[1].type==="listItemPrefix"||Rt===-1&&Tn[0]==="exit"&&(Tn[1].type==="listUnordered"||Tn[1].type==="listOrdered")){if(aa){let dr=Qe;for(jn=void 0;dr--;){const er=oe[dr];if(er[1].type==="lineEnding"||er[1].type==="lineEndingBlank"){if(er[0]==="exit")continue;jn&&(oe[jn][1].type="lineEndingBlank",Zn=!0),er[1].type="lineEnding",jn=dr}else if(!(er[1].type==="linePrefix"||er[1].type==="blockQuotePrefix"||er[1].type==="blockQuotePrefixWhitespace"||er[1].type==="blockQuoteMarker"||er[1].type==="listItemIndent"))break}Sr&&(!jn||Sr<jn)&&(aa._spread=!0),aa.end=Object.assign({},jn?oe[jn][1].start:Tn[1].end),oe.splice(jn||Qe,0,["exit",aa,Tn[2]]),Qe++,$e++}if(Tn[1].type==="listItemPrefix"){const dr={type:"listItem",_spread:!1,start:Object.assign({},Tn[1].start),end:void 0};aa=dr,oe.splice(Qe,0,["enter",dr,Tn[2]]),Qe++,$e++,Sr=void 0,Jn=!0}}}return oe[Se][1]._spread=Zn,$e}function l(oe,Se){return $e;function $e(Qe){d.call(this,oe(Qe),Qe),Se&&Se.call(this,Qe)}}function o(){this.stack.push({type:"fragment",children:[]})}function d(oe,Se,$e){this.stack[this.stack.length-1].children.push(oe),this.stack.push(oe),this.tokenStack.push([Se,$e||void 0]),oe.position={start:Fi(Se.start),end:void 0}}function f(oe){return Se;function Se($e){oe&&oe.call(this,$e),h.call(this,$e)}}function h(oe,Se){const $e=this.stack.pop(),Qe=this.tokenStack.pop();if(Qe)Qe[0].type!==oe.type&&(Se?Se.call(this,oe,Qe[0]):(Qe[1]||cb).call(this,oe,Qe[0]));else throw new Error("Cannot close `"+oe.type+"` ("+Ju({start:oe.start,end:oe.end})+"): it’s not open");$e.position.end=Fi(oe.end)}function p(){return bm(this.stack.pop())}function b(){this.data.expectingFirstListItemValue=!0}function T(oe){if(this.data.expectingFirstListItemValue){const Se=this.stack[this.stack.length-2];Se.start=Number.parseInt(this.sliceSerialize(oe),10),this.data.expectingFirstListItemValue=void 0}}function v(){const oe=this.resume(),Se=this.stack[this.stack.length-1];Se.lang=oe}function A(){const oe=this.resume(),Se=this.stack[this.stack.length-1];Se.meta=oe}function k(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function I(){const oe=this.resume(),Se=this.stack[this.stack.length-1];Se.value=oe.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function N(){const oe=this.resume(),Se=this.stack[this.stack.length-1];Se.value=oe.replace(/(\r?\n|\r)$/g,"")}function M(oe){const Se=this.resume(),$e=this.stack[this.stack.length-1];$e.label=Se,$e.identifier=ha(this.sliceSerialize(oe)).toLowerCase()}function z(){const oe=this.resume(),Se=this.stack[this.stack.length-1];Se.title=oe}function $(){const oe=this.resume(),Se=this.stack[this.stack.length-1];Se.url=oe}function Y(oe){const Se=this.stack[this.stack.length-1];if(!Se.depth){const $e=this.sliceSerialize(oe).length;Se.depth=$e}}function L(){this.data.setextHeadingSlurpLineEnding=!0}function re(oe){const Se=this.stack[this.stack.length-1];Se.depth=this.sliceSerialize(oe).codePointAt(0)===61?1:2}function X(){this.data.setextHeadingSlurpLineEnding=void 0}function ee(oe){const $e=this.stack[this.stack.length-1].children;let Qe=$e[$e.length-1];(!Qe||Qe.type!=="text")&&(Qe=cr(),Qe.position={start:Fi(oe.start),end:void 0},$e.push(Qe)),this.stack.push(Qe)}function q(oe){const Se=this.stack.pop();Se.value+=this.sliceSerialize(oe),Se.position.end=Fi(oe.end)}function ce(oe){const Se=this.stack[this.stack.length-1];if(this.data.atHardBreak){const $e=Se.children[Se.children.length-1];$e.position.end=Fi(oe.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(Se.type)&&(ee.call(this,oe),q.call(this,oe))}function J(){this.data.atHardBreak=!0}function ve(){const oe=this.resume(),Se=this.stack[this.stack.length-1];Se.value=oe}function he(){const oe=this.resume(),Se=this.stack[this.stack.length-1];Se.value=oe}function be(){const oe=this.resume(),Se=this.stack[this.stack.length-1];Se.value=oe}function W(){const oe=this.stack[this.stack.length-1];if(this.data.inReference){const Se=this.data.referenceType||"shortcut";oe.type+="Reference",oe.referenceType=Se,delete oe.url,delete oe.title}else delete oe.identifier,delete oe.label;this.data.referenceType=void 0}function de(){const oe=this.stack[this.stack.length-1];if(this.data.inReference){const Se=this.data.referenceType||"shortcut";oe.type+="Reference",oe.referenceType=Se,delete oe.url,delete oe.title}else delete oe.identifier,delete oe.label;this.data.referenceType=void 0}function ge(oe){const Se=this.sliceSerialize(oe),$e=this.stack[this.stack.length-2];$e.label=E_(Se),$e.identifier=ha(Se).toLowerCase()}function Fe(){const oe=this.stack[this.stack.length-1],Se=this.resume(),$e=this.stack[this.stack.length-1];if(this.data.inReference=!0,$e.type==="link"){const Qe=oe.children;$e.children=Qe}else $e.alt=Se}function S(){const oe=this.resume(),Se=this.stack[this.stack.length-1];Se.url=oe}function K(){const oe=this.resume(),Se=this.stack[this.stack.length-1];Se.title=oe}function ue(){this.data.inReference=void 0}function R(){this.data.referenceType="collapsed"}function Ae(oe){const Se=this.resume(),$e=this.stack[this.stack.length-1];$e.label=Se,$e.identifier=ha(this.sliceSerialize(oe)).toLowerCase(),this.data.referenceType="full"}function Pe(oe){this.data.characterReferenceType=oe.type}function we(oe){const Se=this.sliceSerialize(oe),$e=this.data.characterReferenceType;let Qe;$e?(Qe=F6(Se,$e==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Qe=Em(Se);const Rt=this.stack[this.stack.length-1];Rt.value+=Qe}function wt(oe){const Se=this.stack.pop();Se.position.end=Fi(oe.end)}function st(oe){q.call(this,oe);const Se=this.stack[this.stack.length-1];Se.url=this.sliceSerialize(oe)}function Wt(oe){q.call(this,oe);const Se=this.stack[this.stack.length-1];Se.url="mailto:"+this.sliceSerialize(oe)}function Pt(){return{type:"blockquote",children:[]}}function In(){return{type:"code",lang:null,meta:null,value:""}}function zr(){return{type:"inlineCode",value:""}}function vt(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function mt(){return{type:"emphasis",children:[]}}function Ut(){return{type:"heading",depth:0,children:[]}}function Ke(){return{type:"break"}}function xt(){return{type:"html",value:""}}function an(){return{type:"image",title:null,url:"",alt:null}}function Nt(){return{type:"link",title:null,url:"",children:[]}}function Zt(oe){return{type:"list",ordered:oe.type==="listOrdered",start:null,spread:oe._spread,children:[]}}function Ln(oe){return{type:"listItem",spread:oe._spread,checked:null,children:[]}}function di(){return{type:"paragraph",children:[]}}function pa(){return{type:"strong",children:[]}}function cr(){return{type:"text",value:""}}function Cn(){return{type:"thematicBreak"}}}function Fi(e){return{line:e.line,column:e.column,offset:e.offset}}function Q6(e,t){let n=-1;for(;++n<t.length;){const a=t[n];Array.isArray(a)?Q6(e,a):__(e,a)}}function __(e,t){let n;for(n in t)if(W6.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 cb(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Ju({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Ju({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Ju({start:t.start,end:t.end})+") is still open")}function S_(e){const t=this;t.parser=n;function n(a){return v_(a,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function x_(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 A_(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
53
+ `}]}function w_(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 k_(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function N_(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function C_(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",a=String(t.identifier).toUpperCase(),s=Ll(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 O_(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 R_(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function Z6(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 M_(e,t){const n=String(t.identifier).toUpperCase(),a=e.definitionById.get(n);if(!a)return Z6(e,t);const s={src:Ll(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 D_(e,t){const n={src:Ll(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 I_(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 L_(e,t){const n=String(t.identifier).toUpperCase(),a=e.definitionById.get(n);if(!a)return Z6(e,t);const s={href:Ll(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 B_(e,t){const n={href:Ll(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 P_(e,t,n){const a=e.all(t),s=n?U_(n):J6(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 U_(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=J6(n[a])}return t}function J6(e){const t=e.spread;return t??e.children.length>1}function z_(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 F_(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function H_(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function q_(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Y_(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=Oa(t.children[1]),f=G0(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 G_(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 j_(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const db=9,fb=32;function V_(e){const t=String(e),n=/\r?\n|\r/g;let a=n.exec(t),s=0;const l=[];for(;a;)l.push(hb(t.slice(s,a.index),s>0,!0),a[0]),s=a.index+a[0].length,a=n.exec(t);return l.push(hb(t.slice(s),s>0,!1)),l.join("")}function hb(e,t,n){let a=0,s=e.length;if(t){let l=e.codePointAt(a);for(;l===db||l===fb;)a++,l=e.codePointAt(a)}if(n){let l=e.codePointAt(s-1);for(;l===db||l===fb;)s--,l=e.codePointAt(s-1)}return s>a?e.slice(a,s):""}function K_(e,t){const n={type:"text",value:V_(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function $_(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const X_={blockquote:x_,break:A_,code:w_,delete:k_,emphasis:N_,footnoteReference:C_,heading:O_,html:R_,imageReference:M_,image:D_,inlineCode:I_,linkReference:L_,link:B_,listItem:P_,list:z_,paragraph:F_,root:H_,strong:q_,table:Y_,tableCell:j_,tableRow:G_,text:K_,thematicBreak:$_,toml:Vc,yaml:Vc,definition:Vc,footnoteDefinition:Vc};function Vc(){}const eE=-1,K0=0,to=1,w0=2,vm=3,Tm=4,_m=5,Sm=6,tE=7,nE=8,mb=typeof self=="object"?self:globalThis,W_=(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 K0:case eE:return n(o,s);case to:{const d=n([],s);for(const f of o)d.push(a(f));return d}case w0:{const d=n({},s);for(const[f,h]of o)d[a(f)]=a(h);return d}case vm:return n(new Date(o),s);case Tm:{const{source:d,flags:f}=o;return n(new RegExp(d,f),s)}case _m:{const d=n(new Map,s);for(const[f,h]of o)d.set(a(f),a(h));return d}case Sm:{const d=n(new Set,s);for(const f of o)d.add(a(f));return d}case tE:{const{name:d,message:f}=o;return n(new mb[d](f),s)}case nE: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 mb[l](o),s)};return a},pb=e=>W_(new Map,e)(0),gl="",{toString:Q_}={},{keys:Z_}=Object,Ku=e=>{const t=typeof e;if(t!=="object"||!e)return[K0,t];const n=Q_.call(e).slice(8,-1);switch(n){case"Array":return[to,gl];case"Object":return[w0,gl];case"Date":return[vm,gl];case"RegExp":return[Tm,gl];case"Map":return[_m,gl];case"Set":return[Sm,gl];case"DataView":return[to,n]}return n.includes("Array")?[to,n]:n.includes("Error")?[tE,n]:[w0,n]},Kc=([e,t])=>e===K0&&(t==="function"||t==="symbol"),J_=(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]=Ku(o);switch(d){case K0:{let p=o;switch(f){case"bigint":d=nE,p=o.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+f);p=null;break;case"undefined":return s([eE],o)}return s([d,p],o)}case to:{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 w0:{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 Z_(o))(e||!Kc(Ku(o[T])))&&p.push([l(T),l(o[T])]);return b}case vm:return s([d,o.toISOString()],o);case Tm:{const{source:p,flags:b}=o;return s([d,{source:p,flags:b}],o)}case _m:{const p=[],b=s([d,p],o);for(const[T,v]of o)(e||!(Kc(Ku(T))||Kc(Ku(v))))&&p.push([l(T),l(v)]);return b}case Sm:{const p=[],b=s([d,p],o);for(const T of o)(e||!Kc(Ku(T)))&&p.push(l(T));return b}}const{message:h}=o;return s([d,{name:f,message:h}],o)};return l},gb=(e,{json:t,lossy:n}={})=>{const a=[];return J_(!(t||n),!!t,new Map,a)(e),a},Cl=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?pb(gb(e,t)):structuredClone(e):(e,t)=>pb(gb(e,t));function eS(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 tS(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function nS(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||eS,a=e.options.footnoteBackLabel||tS,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=Ll(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 M=typeof n=="string"?n:n(f,v);typeof M=="string"&&(M={type:"text",value:M}),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(M)?M:[M]})}const I=p[p.length-1];if(I&&I.type==="element"&&I.tagName==="p"){const M=I.children[I.children.length-1];M&&M.type==="text"?M.value+=" ":I.children.push({type:"text",value:" "}),I.children.push(...A)}else p.push(...A);const N={type:"element",tagName:"li",properties:{id:t+"fn-"+T},children:e.wrap(p,!0)};e.patch(h,N),d.push(N)}if(d.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:l,properties:{...Cl(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 _o=function(e){if(e==null)return sS;if(typeof e=="function")return $0(e);if(typeof e=="object")return Array.isArray(e)?rS(e):aS(e);if(typeof e=="string")return iS(e);throw new Error("Expected function, string, or object as test")};function rS(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=_o(e[n]);return $0(a);function a(...s){let l=-1;for(;++l<t.length;)if(t[l].apply(this,s))return!0;return!1}}function aS(e){const t=e;return $0(n);function n(a){const s=a;let l;for(l in e)if(s[l]!==t[l])return!1;return!0}}function iS(e){return $0(t);function t(n){return n&&n.type===e}}function $0(e){return t;function t(n,a,s){return!!(lS(n)&&e.call(this,n,typeof a=="number"?a:void 0,s||void 0))}}function sS(){return!0}function lS(e){return e!==null&&typeof e=="object"&&"type"in e}const rE=[],uS=!0,w1=!1,aE="skip";function xm(e,t,n,a){let s;typeof t=="function"&&typeof n!="function"?(a=n,n=t):s=t;const l=_o(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=rE,A,k,I;if((!t||l(f,h,p[p.length-1]||void 0))&&(v=oS(n(f,p)),v[0]===w1))return v;if("children"in f&&f.children){const N=f;if(N.children&&v[0]!==aE)for(k=(a?N.children.length:-1)+o,I=p.concat(N);k>-1&&k<N.children.length;){const M=N.children[k];if(A=d(M,k,I)(),A[0]===w1)return A;k=typeof A[1]=="number"?A[1]:k+o}}return v}}}function oS(e){return Array.isArray(e)?e:typeof e=="number"?[uS,e]:e==null?rE:[e]}function So(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),xm(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 k1={}.hasOwnProperty,cS={};function dS(e,t){const n=t||cS,a=new Map,s=new Map,l=new Map,o={...X_,...n.handlers},d={all:h,applyData:hS,definitionById:a,footnoteById:s,footnoteCounts:l,footnoteOrder:[],handlers:o,one:f,options:n,patch:fS,wrap:pS};return So(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(k1.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,...I}=p,N=Cl(I);return N.children=d.all(p),N}return Cl(p)}return(d.options.unknownHandler||mS)(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=bb(A.value)),!Array.isArray(A)&&A.type==="element")){const k=A.children[0];k&&k.type==="text"&&(k.value=bb(k.value))}Array.isArray(A)?b.push(...A):b.push(A)}}}return b}}function fS(e,t){e.position&&(t.position=tT(e))}function hS(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,Cl(l)),"children"in n&&n.children&&s!==null&&s!==void 0&&(n.children=s)}return n}function mS(e,t){const n=t.data||{},a="value"in t&&!(k1.call(n,"hProperties")||k1.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 pS(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 bb(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function Eb(e,t){const n=dS(e,t),a=n.one(e,void 0),s=nS(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 gS(e,t){return e&&"run"in e?async function(n,a){const s=Eb(n,{file:a,...t});await e.run(s,a)}:function(n,a){return Eb(n,{file:a,...e||t})}}function yb(e){if(e)throw e}var Ah,vb;function bS(){if(vb)return Ah;vb=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 Ah=function f(){var h,p,b,T,v,A,k=arguments[0],I=1,N=arguments.length,M=!1;for(typeof k=="boolean"&&(M=k,k=arguments[1]||{},I=2),(k==null||typeof k!="object"&&typeof k!="function")&&(k={});I<N;++I)if(h=arguments[I],h!=null)for(p in h)b=d(k,p),T=d(h,p),k!==T&&(M&&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(M,A,T)})):typeof T<"u"&&o(k,{name:p,newValue:T}));return k},Ah}var ES=bS();const wh=H0(ES);function N1(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 yS(){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?vS(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 vS(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 Sa={basename:TS,dirname:_S,extname:SS,join:xS,sep:"/"};function TS(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');xo(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 _S(e){if(xo(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 SS(e){xo(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 xS(...e){let t=-1,n;for(;++t<e.length;)xo(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":AS(n)}function AS(e){xo(e);const t=e.codePointAt(0)===47;let n=wS(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function wS(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 xo(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const kS={cwd:NS};function NS(){return"/"}function C1(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function CS(e){if(typeof e=="string")e=new URL(e);else if(!C1(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 OS(e)}function OS(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 kh=["history","path","basename","stem","extname","dirname"];class iE{constructor(t){let n;t?C1(t)?n={path:t}:typeof t=="string"||RS(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":kS.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let a=-1;for(;++a<kh.length;){const l=kh[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)kh.includes(s)||(this[s]=n[s])}get basename(){return typeof this.path=="string"?Sa.basename(this.path):void 0}set basename(t){Ch(t,"basename"),Nh(t,"basename"),this.path=Sa.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Sa.dirname(this.path):void 0}set dirname(t){Tb(this.basename,"dirname"),this.path=Sa.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Sa.extname(this.path):void 0}set extname(t){if(Nh(t,"extname"),Tb(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=Sa.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){C1(t)&&(t=CS(t)),Ch(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Sa.basename(this.path,this.extname):void 0}set stem(t){Ch(t,"stem"),Nh(t,"stem"),this.path=Sa.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 Wn(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 Nh(e,t){if(e&&e.includes(Sa.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Sa.sep+"`")}function Ch(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function Tb(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function RS(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const MS=function(e){const a=this.constructor.prototype,s=a[e],l=function(){return s.apply(l,arguments)};return Object.setPrototypeOf(l,a),l},DS={}.hasOwnProperty;class Am extends MS{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=yS()}copy(){const t=new Am;let n=-1;for(;++n<this.attachers.length;){const a=this.attachers[n];t.use(...a)}return t.data(wh(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(Mh("data",this.frozen),this.namespace[t]=n,this):DS.call(this.namespace,t)&&this.namespace[t]||void 0:t?(Mh("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=$c(t),a=this.parser||this.Parser;return Oh("parse",a),a(String(n),n)}process(t,n){const a=this;return this.freeze(),Oh("process",this.parser||this.Parser),Rh("process",this.compiler||this.Compiler),n?s(void 0,n):new Promise(s);function s(l,o){const d=$c(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);BS(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(),Oh("processSync",this.parser||this.Parser),Rh("processSync",this.compiler||this.Compiler),this.process(t,s),Sb("processSync","process",n),a;function s(l,o){n=!0,yb(l),a=o}}run(t,n,a){_b(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=$c(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),Sb("runSync","run",a),s;function l(o,d){yb(o),s=d,a=!0}}stringify(t,n){this.freeze();const a=$c(n),s=this.compiler||this.Compiler;return Rh("stringify",s),_b(t),s(t,a)}use(t,...n){const a=this.attachers,s=this.namespace;if(Mh("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=wh(!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];N1(k)&&N1(v)&&(v=wh(!0,k,v)),a[T]=[h,v,...A]}}}}const IS=new Am().freeze();function Oh(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Rh(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Mh(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 _b(e){if(!N1(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Sb(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function $c(e){return LS(e)?e:new iE(e)}function LS(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function BS(e){return typeof e=="string"||PS(e)}function PS(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const US="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",xb=[],Ab={allowDangerousHtml:!0},zS=/^(https?|ircs?|mailto|xmpp)$/i,FS=[{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 HS(e){const t=qS(e),n=YS(e);return GS(t.runSync(t.parse(n),n),e)}function qS(e){const t=e.rehypePlugins||xb,n=e.remarkPlugins||xb,a=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Ab}:Ab;return IS().use(S_).use(n).use(gS,a).use(t)}function YS(e){const t=e.children||"",n=new iE;return typeof t=="string"&&(n.value=t),n}function GS(e,t){const n=t.allowedElements,a=t.allowElement,s=t.components,l=t.disallowedElements,o=t.skipHtml,d=t.unwrapDisallowed,f=t.urlTransform||jS;for(const p of FS)Object.hasOwn(t,p.from)&&(""+p.from+(p.to?"use `"+p.to+"` instead":"remove it")+US+p.id,void 0);return So(e,h),sT(e,{Fragment:Z.Fragment,components:s,ignoreInvalidStyle:!0,jsx:Z.jsx,jsxs:Z.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 _h)if(Object.hasOwn(_h,v)&&Object.hasOwn(p.properties,v)){const A=p.properties[v],k=_h[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 jS(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||zS.test(e.slice(0,t))?e:""}function wb(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 VS(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function KS(e,t,n){const s=_o((n||{}).ignore||[]),l=$S(t);let o=-1;for(;++o<l.length;)xm(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 I=b.children.indexOf(h);let N=!1,M=[];T.lastIndex=0;let z=T.exec(h.value);for(;z;){const $=z.index,Y={index:z.index,input:z.input,stack:[...p,h]};let L=v(...z,Y);if(typeof L=="string"&&(L=L.length>0?{type:"text",value:L}:void 0),L===!1?T.lastIndex=$+1:(A!==$&&M.push({type:"text",value:h.value.slice(A,$)}),Array.isArray(L)?M.push(...L):L&&M.push(L),A=$+z[0].length,N=!0),!T.global)break;z=T.exec(h.value)}return N?(A<h.value.length&&M.push({type:"text",value:h.value.slice(A)}),b.children.splice(I,1,...M)):M=[h],I+M.length}}function $S(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([XS(s[0]),WS(s[1])])}return t}function XS(e){return typeof e=="string"?new RegExp(VS(e),"g"):e}function WS(e){return typeof e=="function"?e:function(){return e}}const Dh="phrasing",Ih=["autolink","link","image","label"];function QS(){return{transforms:[ax],enter:{literalAutolink:JS,literalAutolinkEmail:Lh,literalAutolinkHttp:Lh,literalAutolinkWww:Lh},exit:{literalAutolink:rx,literalAutolinkEmail:nx,literalAutolinkHttp:ex,literalAutolinkWww:tx}}}function ZS(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Dh,notInConstruct:Ih},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Dh,notInConstruct:Ih},{character:":",before:"[ps]",after:"\\/",inConstruct:Dh,notInConstruct:Ih}]}}function JS(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function Lh(e){this.config.enter.autolinkProtocol.call(this,e)}function ex(e){this.config.exit.autolinkProtocol.call(this,e)}function tx(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 nx(e){this.config.exit.autolinkEmail.call(this,e)}function rx(e){this.exit(e)}function ax(e){KS(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,ix],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),sx]],{ignore:["link","linkReference"]})}function ix(e,t,n,a,s){let l="";if(!sE(s)||(/^w/i.test(t)&&(n=t+n,t="",l="http://"),!lx(n)))return!1;const o=ux(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 sx(e,t,n,a){return!sE(a,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function lx(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 ux(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=wb(e,"(");let l=wb(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 sE(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||Rs(n)||j0(n))&&(!t||n!==47)}lE.peek=bx;function ox(){this.buffer()}function cx(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function dx(){this.buffer()}function fx(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function hx(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=ha(this.sliceSerialize(e)).toLowerCase(),n.label=t}function mx(e){this.exit(e)}function px(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=ha(this.sliceSerialize(e)).toLowerCase(),n.label=t}function gx(e){this.exit(e)}function bx(){return"["}function lE(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 Ex(){return{enter:{gfmFootnoteCallString:ox,gfmFootnoteCall:cx,gfmFootnoteDefinitionLabelString:dx,gfmFootnoteDefinition:fx},exit:{gfmFootnoteCallString:hx,gfmFootnoteCall:mx,gfmFootnoteDefinitionLabelString:px,gfmFootnoteDefinition:gx}}}function yx(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:lE},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?uE:vx))),h(),f}}function vx(e,t,n){return t===0?e:uE(e,t,n)}function uE(e,t,n){return(n?"":" ")+e}const Tx=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];oE.peek=wx;function _x(){return{canContainEols:["delete"],enter:{strikethrough:xx},exit:{strikethrough:Ax}}}function Sx(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Tx}],handlers:{delete:oE}}}function xx(e){this.enter({type:"delete",children:[]},e)}function Ax(e){this.exit(e)}function oE(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 wx(){return"~"}function kx(e){return e.length}function Nx(e,t){const n=t||{},a=(n.align||[]).concat(),s=n.stringLength||kx,l=[],o=[],d=[],f=[];let h=0,p=-1;for(;++p<e.length;){const k=[],I=[];let N=-1;for(e[p].length>h&&(h=e[p].length);++N<e[p].length;){const M=Cx(e[p][N]);if(n.alignDelimiters!==!1){const z=s(M);I[N]=z,(f[N]===void 0||z>f[N])&&(f[N]=z)}k.push(M)}o[p]=k,d[p]=I}let b=-1;if(typeof a=="object"&&"length"in a)for(;++b<h;)l[b]=kb(a[b]);else{const k=kb(a);for(;++b<h;)l[b]=k}b=-1;const T=[],v=[];for(;++b<h;){const k=l[b];let I="",N="";k===99?(I=":",N=":"):k===108?I=":":k===114&&(N=":");let M=n.alignDelimiters===!1?1:Math.max(1,f[b]-I.length-N.length);const z=I+"-".repeat(M)+N;n.alignDelimiters!==!1&&(M=I.length+M+N.length,M>f[b]&&(f[b]=M),v[b]=M),T[b]=z}o.splice(1,0,T),d.splice(1,0,v),p=-1;const A=[];for(;++p<o.length;){const k=o[p],I=d[p];b=-1;const N=[];for(;++b<h;){const M=k[b]||"";let z="",$="";if(n.alignDelimiters!==!1){const Y=f[b]-(I[b]||0),L=l[b];L===114?z=" ".repeat(Y):L===99?Y%2?(z=" ".repeat(Y/2+.5),$=" ".repeat(Y/2-.5)):(z=" ".repeat(Y/2),$=z):$=" ".repeat(Y)}n.delimiterStart!==!1&&!b&&N.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&M==="")&&(n.delimiterStart!==!1||b)&&N.push(" "),n.alignDelimiters!==!1&&N.push(z),N.push(M),n.alignDelimiters!==!1&&N.push($),n.padding!==!1&&N.push(" "),(n.delimiterEnd!==!1||b!==h-1)&&N.push("|")}A.push(n.delimiterEnd===!1?N.join("").replace(/ +$/,""):N.join(""))}return A.join(`
64
+ `)}function Cx(e){return e==null?"":String(e)}function kb(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 Nb={}.hasOwnProperty;function cE(e,t){const n=t||{};function a(s,...l){let o=a.invalid;const d=a.handlers;if(s&&Nb.call(s,e)){const f=String(s[e]);o=Nb.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 Ox(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()),Rx);return s(),o}function Rx(e,t,n){return">"+(n?"":" ")+e}function Mx(e,t){return Cb(e,t.inConstruct,!0)&&!Cb(e,t.notInConstruct,!1)}function Cb(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 Ob(e,t,n,a){let s=-1;for(;++s<n.unsafe.length;)if(n.unsafe[s].character===`
65
+ `&&Mx(n.stack,n.unsafe[s]))return/[ \t]/.test(a.before)?"":" ";return`\\
66
+ `}function dE(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 Dx(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 Ix(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 Lx(e,t,n,a){const s=Ix(n),l=e.value||"",o=s==="`"?"GraveAccent":"Tilde";if(Dx(e,n)){const b=n.enter("codeIndented"),T=n.indentLines(l,Bx);return b(),T}const d=n.createTracker(a),f=s.repeat(Math.max(dE(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 Bx(e,t,n){return(n?"":" ")+e}function wm(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 Px(e,t,n,a){const s=wm(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 Ux(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 mo(e){return"&#x"+e.toString(16).toUpperCase()+";"}function k0(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}}fE.peek=zx;function fE(e,t,n,a){const s=Ux(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=k0(a.before.charCodeAt(a.before.length-1),h,s);p.inside&&(f=mo(h)+f.slice(1));const b=f.charCodeAt(f.length-1),T=k0(a.after.charCodeAt(0),b,s);T.inside&&(f=f.slice(0,-1)+mo(b));const v=o.move(s);return l(),n.attentionEncodeSurroundingInfo={after:T.outside,before:p.outside},d+f+v}function zx(e,t,n){return n.options.emphasis||"*"}function Fx(e,t){let n=!1;return So(e,function(a){if("value"in a&&/\r?\n|\r/.test(a.value)||a.type==="break")return n=!0,w1}),!!((!e.depth||e.depth<3)&&bm(e)&&(t.options.setext||n))}function Hx(e,t,n,a){const s=Math.max(Math.min(6,e.depth||1),1),l=n.createTracker(a);if(Fx(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=mo(h.charCodeAt(0))+h.slice(1)),h=h?o+" "+h:o,n.options.closeAtx&&(h+=" "+o),f(),d(),h}hE.peek=qx;function hE(e){return e.value||""}function qx(){return"<"}mE.peek=Yx;function mE(e,t,n,a){const s=wm(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 Yx(){return"!"}pE.peek=Gx;function pE(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 Gx(){return"!"}gE.peek=jx;function gE(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 jx(){return"`"}function bE(e,t){const n=bm(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))}EE.peek=Vx;function EE(e,t,n,a){const s=wm(n),l=s==='"'?"Quote":"Apostrophe",o=n.createTracker(a);let d,f;if(bE(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 Vx(e,t,n){return bE(e,n)?"<":"["}yE.peek=Kx;function yE(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 Kx(){return"["}function km(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 $x(e){const t=km(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 Xx(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 vE(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 Wx(e,t,n,a){const s=n.enter("list"),l=n.bulletCurrent;let o=e.ordered?Xx(n):km(n);const d=e.ordered?o==="."?")":".":$x(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),vE(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 Qx(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 Zx(e,t,n,a){const s=Qx(n);let l=n.bulletCurrent||km(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 Jx(e,t,n,a){const s=n.enter("paragraph"),l=n.enter("phrasing"),o=n.containerPhrasing(e,a);return l(),s(),o}const eA=_o(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function tA(e,t,n,a){return(e.children.some(function(o){return eA(o)})?n.containerPhrasing:n.containerFlow).call(n,e,a)}function nA(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}TE.peek=rA;function TE(e,t,n,a){const s=nA(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=k0(a.before.charCodeAt(a.before.length-1),h,s);p.inside&&(f=mo(h)+f.slice(1));const b=f.charCodeAt(f.length-1),T=k0(a.after.charCodeAt(0),b,s);T.inside&&(f=f.slice(0,-1)+mo(b));const v=o.move(s+s);return l(),n.attentionEncodeSurroundingInfo={after:T.outside,before:p.outside},d+f+v}function rA(e,t,n){return n.options.strong||"*"}function aA(e,t,n,a){return n.safe(e.value,a)}function iA(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 sA(e,t,n){const a=(vE(n)+(n.options.ruleSpaces?" ":"")).repeat(iA(n));return n.options.ruleSpaces?a.slice(0,-1):a}const _E={blockquote:Ox,break:Ob,code:Lx,definition:Px,emphasis:fE,hardBreak:Ob,heading:Hx,html:hE,image:mE,imageReference:pE,inlineCode:gE,link:EE,linkReference:yE,list:Wx,listItem:Zx,paragraph:Jx,root:tA,strong:TE,text:aA,thematicBreak:sA};function lA(){return{enter:{table:uA,tableData:Rb,tableHeader:Rb,tableRow:cA},exit:{codeText:dA,table:oA,tableData:Bh,tableHeader:Bh,tableRow:Bh}}}function uA(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 oA(e){this.exit(e),this.data.inTable=void 0}function cA(e){this.enter({type:"tableRow",children:[]},e)}function Bh(e){this.exit(e)}function Rb(e){this.enter({type:"tableCell",children:[]},e)}function dA(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,fA));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function fA(e,t){return t==="|"?t:e}function hA(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,I){return h(p(v,k,I),v.align)}function d(v,A,k,I){const N=b(v,k,I),M=h([N]);return M.slice(0,M.indexOf(`
77
+ `))}function f(v,A,k,I){const N=k.enter("tableCell"),M=k.enter("phrasing"),z=k.containerPhrasing(v,{...I,before:l,after:l});return M(),N(),z}function h(v,A){return Nx(v,{align:A,alignDelimiters:a,padding:n,stringLength:s})}function p(v,A,k){const I=v.children;let N=-1;const M=[],z=A.enter("table");for(;++N<I.length;)M[N]=b(I[N],A,k);return z(),M}function b(v,A,k){const I=v.children;let N=-1;const M=[],z=A.enter("tableRow");for(;++N<I.length;)M[N]=f(I[N],v,A,k);return z(),M}function T(v,A,k){let I=_E.inlineCode(v,A,k);return k.stack.includes("tableCell")&&(I=I.replace(/\|/g,"\\$&")),I}}function mA(){return{exit:{taskListCheckValueChecked:Mb,taskListCheckValueUnchecked:Mb,paragraph:gA}}}function pA(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:bA}}}function Mb(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function gA(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 bA(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=_E.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 EA(){return[QS(),Ex(),_x(),lA(),mA()]}function yA(e){return{extensions:[ZS(),yx(e),Sx(),hA(e),pA()]}}const vA={tokenize:wA,partial:!0},SE={tokenize:kA,partial:!0},xE={tokenize:NA,partial:!0},AE={tokenize:CA,partial:!0},TA={tokenize:OA,partial:!0},wE={name:"wwwAutolink",tokenize:xA,previous:NE},kE={name:"protocolAutolink",tokenize:AA,previous:CE},oi={name:"emailAutolink",tokenize:SA,previous:OE},Ra={};function _A(){return{text:Ra}}let ws=48;for(;ws<123;)Ra[ws]=oi,ws++,ws===58?ws=65:ws===91&&(ws=97);Ra[43]=oi;Ra[45]=oi;Ra[46]=oi;Ra[95]=oi;Ra[72]=[oi,kE];Ra[104]=[oi,kE];Ra[87]=[oi,wE];Ra[119]=[oi,wE];function SA(e,t,n){const a=this;let s,l;return o;function o(b){return!O1(b)||!OE.call(a,a.previous)||Nm(a.events)?n(b):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),d(b))}function d(b){return O1(b)?(e.consume(b),d):b===64?(e.consume(b),f):n(b)}function f(b){return b===46?e.check(TA,p,h)(b):b===45||b===95||Xn(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&&sr(a.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(b)):n(b)}}function xA(e,t,n){const a=this;return s;function s(o){return o!==87&&o!==119||!NE.call(a,a.previous)||Nm(a.events)?n(o):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(vA,e.attempt(SE,e.attempt(xE,l),n),n)(o))}function l(o){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(o)}}function AA(e,t,n){const a=this;let s="",l=!1;return o;function o(b){return(b===72||b===104)&&CE.call(a,a.previous)&&!Nm(a.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),s+=String.fromCodePoint(b),e.consume(b),d):n(b)}function d(b){if(sr(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||A0(b)||Gt(b)||Rs(b)||j0(b)?n(b):e.attempt(SE,e.attempt(xE,p),n)(b)}function p(b){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(b)}}function wA(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 kA(e,t,n){let a,s,l;return o;function o(h){return h===46||h===95?e.check(AE,f,d)(h):h===null||Gt(h)||Rs(h)||h!==45&&j0(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 NA(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(AE,t,l)(o):o===null||Gt(o)||Rs(o)?t(o):(e.consume(o),s)}function l(o){return o===41&&a++,e.consume(o),s}}function CA(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||Gt(d)||Rs(d)?t(d):n(d)}function s(d){return d===null||d===40||d===91||Gt(d)||Rs(d)?t(d):a(d)}function l(d){return sr(d)?o(d):n(d)}function o(d){return d===59?(e.consume(d),a):sr(d)?(e.consume(d),o):n(d)}}function OA(e,t,n){return a;function a(l){return e.consume(l),s}function s(l){return Xn(l)?n(l):t(l)}}function NE(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Gt(e)}function CE(e){return!sr(e)}function OE(e){return!(e===47||O1(e))}function O1(e){return e===43||e===45||e===46||e===95||Xn(e)}function Nm(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 RA={tokenize:zA,partial:!0};function MA(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:BA,continuation:{tokenize:PA},exit:UA}},text:{91:{name:"gfmFootnoteCall",tokenize:LA},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:DA,resolveTo:IA}}}}function DA(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=ha(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 IA(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 LA(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||Gt(b))return n(b);if(b===93){e.exit("chunkString");const T=e.exit("gfmFootnoteCallString");return s.includes(ha(a.sliceSerialize(T)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(b),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(b)}return Gt(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 BA(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||Gt(A))return n(A);if(A===93){e.exit("chunkString");const k=e.exit("gfmFootnoteDefinitionLabelString");return l=ha(a.sliceSerialize(k)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(A),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),T}return Gt(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),yt(e,v,"gfmFootnoteDefinitionWhitespace")):n(A)}function v(A){return t(A)}}function PA(e,t,n){return e.check(To,t,e.attempt(RA,t,n))}function UA(e){e.exit("gfmFootnoteDefinition")}function zA(e,t,n){const a=this;return yt(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 FA(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&&Pr(T,T.length,0,V0(v,o.slice(h+1,f),d)),Pr(T,T.length,0,[["exit",b,d],["enter",o[f][1],d],["exit",o[f][1],d],["exit",p,d]]),Pr(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 I=o.exit("strikethroughSequenceTemporary"),N=Nl(A);return I._open=!N||N===2&&!!k,I._close=!k||k===2&&!!N,d(A)}}}class HA{constructor(){this.map=[]}add(t,n,a){qA(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 qA(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 YA(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 GA(){return{flow:{null:{name:"table",tokenize:jA,resolveAll:VA}}}}function jA(e,t,n){const a=this;let s=0,l=0,o;return d;function d(q){let ce=a.events.length-1;for(;ce>-1;){const he=a.events[ce][1].type;if(he==="lineEnding"||he==="linePrefix")ce--;else break}const J=ce>-1?a.events[ce][1].type:null,ve=J==="tableHead"||J==="tableRow"?L:f;return ve===L&&a.parser.lazy[a.now().line]?n(q):ve(q)}function f(q){return e.enter("tableHead"),e.enter("tableRow"),h(q)}function h(q){return q===124||(o=!0,l+=1),p(q)}function p(q){return q===null?n(q):Ve(q)?l>1?(l=0,a.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(q),e.exit("lineEnding"),v):n(q):St(q)?yt(e,p,"whitespace")(q):(l+=1,o&&(o=!1,s+=1),q===124?(e.enter("tableCellDivider"),e.consume(q),e.exit("tableCellDivider"),o=!0,p):(e.enter("data"),b(q)))}function b(q){return q===null||q===124||Gt(q)?(e.exit("data"),p(q)):(e.consume(q),q===92?T:b)}function T(q){return q===92||q===124?(e.consume(q),b):b(q)}function v(q){return a.interrupt=!1,a.parser.lazy[a.now().line]?n(q):(e.enter("tableDelimiterRow"),o=!1,St(q)?yt(e,A,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(q):A(q))}function A(q){return q===45||q===58?I(q):q===124?(o=!0,e.enter("tableCellDivider"),e.consume(q),e.exit("tableCellDivider"),k):Y(q)}function k(q){return St(q)?yt(e,I,"whitespace")(q):I(q)}function I(q){return q===58?(l+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(q),e.exit("tableDelimiterMarker"),N):q===45?(l+=1,N(q)):q===null||Ve(q)?$(q):Y(q)}function N(q){return q===45?(e.enter("tableDelimiterFiller"),M(q)):Y(q)}function M(q){return q===45?(e.consume(q),M):q===58?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(q),e.exit("tableDelimiterMarker"),z):(e.exit("tableDelimiterFiller"),z(q))}function z(q){return St(q)?yt(e,$,"whitespace")(q):$(q)}function $(q){return q===124?A(q):q===null||Ve(q)?!o||s!==l?Y(q):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(q)):Y(q)}function Y(q){return n(q)}function L(q){return e.enter("tableRow"),re(q)}function re(q){return q===124?(e.enter("tableCellDivider"),e.consume(q),e.exit("tableCellDivider"),re):q===null||Ve(q)?(e.exit("tableRow"),t(q)):St(q)?yt(e,re,"whitespace")(q):(e.enter("data"),X(q))}function X(q){return q===null||q===124||Gt(q)?(e.exit("data"),re(q)):(e.consume(q),q===92?ee:X)}function ee(q){return q===92||q===124?(e.consume(q),X):X(q)}}function VA(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 HA;for(;++n<e.length;){const v=e[n],A=v[1];v[0]==="enter"?A.type==="tableHead"?(d=!1,f!==0&&(Db(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=Xc(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=Xc(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=Xc(T,t,l,s,n,b)):o[1]!==0&&(b=Xc(T,t,o,s,n,b)),s=0):s&&(A.type==="data"||A.type==="tableDelimiterMarker"||A.type==="tableDelimiterFiller")&&(o[3]=n)}for(f!==0&&Db(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=YA(t.events,n))}return e}function Xc(e,t,n,a,s,l){const o=a===1?"tableHeader":a===2?"tableDelimiter":"tableData",d="tableContent";n[0]!==0&&(l.end=Object.assign({},yl(t.events,n[0])),e.add(n[0],0,[["exit",l,t]]));const f=yl(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=yl(t.events,n[2]),p=yl(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({},yl(t.events,s)),e.add(s,0,[["exit",l,t]]),l=void 0),l}function Db(e,t,n,a,s){const l=[],o=yl(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 yl(e,t){const n=e[t],a=n[0]==="enter"?"start":"end";return n[1][a]}const KA={name:"tasklistCheck",tokenize:XA};function $A(){return{text:{91:KA}}}function XA(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 Gt(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 Ve(f)?t(f):St(f)?e.check({tokenize:WA},t,n)(f):n(f)}}function WA(e,t,n){return yt(e,a,"whitespace");function a(s){return s===null?n(s):t(s)}}function QA(e){return z6([_A(),MA(),FA(e),GA(),$A()])}const ZA={};function JA(e){const t=this,n=e||ZA,a=t.data(),s=a.micromarkExtensions||(a.micromarkExtensions=[]),l=a.fromMarkdownExtensions||(a.fromMarkdownExtensions=[]),o=a.toMarkdownExtensions||(a.toMarkdownExtensions=[]);s.push(QA(n)),l.push(EA()),o.push(yA(n))}const Ib=/[#.]/g;function ew(e,t){const n=e||"",a={};let s=0,l,o;for(;s<n.length;){Ib.lastIndex=s;const d=Ib.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 RE(e,t,n){const a=n?aw(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=ew(l,t);const h=f.tagName.toLowerCase(),p=a?a.get(h):void 0;if(f.tagName=p||h,tw(o))d.unshift(o);else for(const[b,T]of Object.entries(o))nw(e,f.properties,b,T)}for(const h of d)R1(f.children,h);return f.type==="element"&&f.tagName==="template"&&(f.content={type:"root",children:f.children},f.children=[]),f}return s}function tw(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 nw(e,t,n,a){const s=hm(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=K4(a):s.commaSeparated?l=q4(a):s.commaOrSpaceSeparated?l=K4(q4(a).join(" ")):l=Lb(s,s.property,a):Array.isArray(a)?l=[...a]:l=s.property==="style"?rw(a):String(a);if(Array.isArray(l)){const o=[];for(const d of l)o.push(Lb(s,s.property,d));l=o}s.property==="className"&&Array.isArray(t.className)&&(l=t.className.concat(l)),t[s.property]=l}}function R1(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)R1(e,n);else if(typeof t=="object"&&"type"in t)t.type==="root"?R1(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function Lb(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||fo(n)===fo(t)))return!0}return n}function rw(e){const t=[];for(const[n,a]of Object.entries(e))t.push([n,a].join(": "));return t.join("; ")}function aw(e){const t=new Map;for(const n of e)t.set(n.toLowerCase(),n);return t}const iw=["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"],ME=RE(Y0,"div"),DE=RE(Il,"g",iw);function sw(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=Bb(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=Bb(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 Bb(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 wa={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/"},IE={}.hasOwnProperty,lw=Object.prototype;function uw(e,t){const n=t||{};return Cm({file:n.file||void 0,location:!1,schema:n.space==="svg"?Il:Y0,verbose:n.verbose||!1},e)}function Cm(e,t){let n;switch(t.nodeName){case"#comment":{const a=t;return n={type:"comment",value:a.data},y0(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:LE(e,t.childNodes),data:{quirksMode:s}},e.file&&e.location){const l=String(e.file),o=sw(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"},y0(e,a,n),n}case"#text":{const a=t;return n={type:"text",value:a.value},y0(e,a,n),n}default:return n=ow(e,t),n}}function LE(e,t){let n=-1;const a=[];for(;++n<t.length;){const s=Cm(e,t[n]);a.push(s)}return a}function ow(e,t){const n=e.schema;e.schema=t.namespaceURI===wa.svg?Il:Y0;let a=-1;const s={};for(;++a<t.attrs.length;){const d=t.attrs[a],f=(d.prefix?d.prefix+":":"")+d.name;IE.call(lw,f)||(s[f]=d.value)}const o=(e.schema.space==="svg"?DE:ME)(t.tagName,s,LE(e,t.childNodes));if(y0(e,t,o),o.tagName==="template"){const d=t,f=d.sourceCodeLocation,h=f&&f.startTag&&xl(f.startTag),p=f&&f.endTag&&xl(f.endTag),b=Cm(e,d.content);h&&p&&e.file&&(b.position={start:h.end,end:p.start}),o.content=b}return e.schema=n,o}function y0(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const a=cw(e,n,t.sourceCodeLocation);a&&(e.location=!0,n.position=a)}}function cw(e,t,n){const a=xl(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)IE.call(n.attrs,o)&&(l[hm(e.schema,o).property]=xl(n.attrs[o]));n.startTag;const d=xl(n.startTag),f=n.endTag?xl(n.endTag):void 0,h={opening:d};f&&(h.closing=f),h.properties=l,t.data={position:h}}}return a}function xl(e){const t=Pb({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=Pb({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function Pb(e){return e.line&&e.column?e:void 0}class Ao{constructor(t,n,a){this.property=t,this.normal=n,a&&(this.space=a)}}Ao.prototype.property={};Ao.prototype.normal={};Ao.prototype.space=null;function BE(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 Ao(n,a,t)}function M1(e){return e.toLowerCase()}class na{constructor(t,n){this.property=t,this.attribute=n}}na.prototype.space=null;na.prototype.boolean=!1;na.prototype.booleanish=!1;na.prototype.overloadedBoolean=!1;na.prototype.number=!1;na.prototype.commaSeparated=!1;na.prototype.spaceSeparated=!1;na.prototype.commaOrSpaceSeparated=!1;na.prototype.mustUseProperty=!1;na.prototype.defined=!1;let dw=0;const ct=Ds(),kn=Ds(),PE=Ds(),Me=Ds(),$t=Ds(),wl=Ds(),Ir=Ds();function Ds(){return 2**++dw}const D1=Object.freeze(Object.defineProperty({__proto__:null,boolean:ct,booleanish:kn,commaOrSpaceSeparated:Ir,commaSeparated:wl,number:Me,overloadedBoolean:PE,spaceSeparated:$t},Symbol.toStringTag,{value:"Module"})),Ph=Object.keys(D1);class Om extends na{constructor(t,n,a,s){let l=-1;if(super(t,n),Ub(this,"space",s),typeof a=="number")for(;++l<Ph.length;){const o=Ph[l];Ub(this,Ph[l],(a&D1[o])===D1[o])}}}Om.prototype.defined=!0;function Ub(e,t,n){n&&(e[t]=n)}const fw={}.hasOwnProperty;function Bl(e){const t={},n={};let a;for(a in e.properties)if(fw.call(e.properties,a)){const s=e.properties[a],l=new Om(a,e.transform(e.attributes||{},a),s,e.space);e.mustUseProperty&&e.mustUseProperty.includes(a)&&(l.mustUseProperty=!0),t[a]=l,n[M1(a)]=a,n[M1(l.attribute)]=a}return new Ao(t,n,e.space)}const UE=Bl({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}}),zE=Bl({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function FE(e,t){return t in e?e[t]:t}function HE(e,t){return FE(e,t.toLowerCase())}const qE=Bl({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:HE,properties:{xmlns:null,xmlnsXLink:null}}),YE=Bl({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:kn,ariaAutoComplete:null,ariaBusy:kn,ariaChecked:kn,ariaColCount:Me,ariaColIndex:Me,ariaColSpan:Me,ariaControls:$t,ariaCurrent:null,ariaDescribedBy:$t,ariaDetails:null,ariaDisabled:kn,ariaDropEffect:$t,ariaErrorMessage:null,ariaExpanded:kn,ariaFlowTo:$t,ariaGrabbed:kn,ariaHasPopup:null,ariaHidden:kn,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:$t,ariaLevel:Me,ariaLive:null,ariaModal:kn,ariaMultiLine:kn,ariaMultiSelectable:kn,ariaOrientation:null,ariaOwns:$t,ariaPlaceholder:null,ariaPosInSet:Me,ariaPressed:kn,ariaReadOnly:kn,ariaRelevant:null,ariaRequired:kn,ariaRoleDescription:$t,ariaRowCount:Me,ariaRowIndex:Me,ariaRowSpan:Me,ariaSelected:kn,ariaSetSize:Me,ariaSort:null,ariaValueMax:Me,ariaValueMin:Me,ariaValueNow:Me,ariaValueText:null,role:null}}),hw=Bl({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:HE,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:wl,acceptCharset:$t,accessKey:$t,action:null,allow:null,allowFullScreen:ct,allowPaymentRequest:ct,allowUserMedia:ct,alt:null,as:null,async:ct,autoCapitalize:null,autoComplete:$t,autoFocus:ct,autoPlay:ct,blocking:$t,capture:null,charSet:null,checked:ct,cite:null,className:$t,cols:Me,colSpan:null,content:null,contentEditable:kn,controls:ct,controlsList:$t,coords:Me|wl,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ct,defer:ct,dir:null,dirName:null,disabled:ct,download:PE,draggable:kn,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ct,formTarget:null,headers:$t,height:Me,hidden:ct,high:Me,href:null,hrefLang:null,htmlFor:$t,httpEquiv:$t,id:null,imageSizes:null,imageSrcSet:null,inert:ct,inputMode:null,integrity:null,is:null,isMap:ct,itemId:null,itemProp:$t,itemRef:$t,itemScope:ct,itemType:$t,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ct,low:Me,manifest:null,max:null,maxLength:Me,media:null,method:null,min:null,minLength:Me,multiple:ct,muted:ct,name:null,nonce:null,noModule:ct,noValidate:ct,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:ct,optimum:Me,pattern:null,ping:$t,placeholder:null,playsInline:ct,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:ct,referrerPolicy:null,rel:$t,required:ct,reversed:ct,rows:Me,rowSpan:Me,sandbox:$t,scope:null,scoped:ct,seamless:ct,selected:ct,shadowRootClonable:ct,shadowRootDelegatesFocus:ct,shadowRootMode:null,shape:null,size:Me,sizes:null,slot:null,span:Me,spellCheck:kn,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Me,step:null,style:null,tabIndex:Me,target:null,title:null,translate:null,type:null,typeMustMatch:ct,useMap:null,value:kn,width:Me,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:$t,axis:null,background:null,bgColor:null,border:Me,borderColor:null,bottomMargin:Me,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ct,declare:ct,event:null,face:null,frame:null,frameBorder:null,hSpace:Me,leftMargin:Me,link:null,longDesc:null,lowSrc:null,marginHeight:Me,marginWidth:Me,noResize:ct,noHref:ct,noShade:ct,noWrap:ct,object:null,profile:null,prompt:null,rev:null,rightMargin:Me,rules:null,scheme:null,scrolling:kn,standby:null,summary:null,text:null,topMargin:Me,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Me,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ct,disableRemotePlayback:ct,prefix:null,property:null,results:Me,security:null,unselectable:null}}),mw=Bl({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:FE,properties:{about:Ir,accentHeight:Me,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Me,amplitude:Me,arabicForm:null,ascent:Me,attributeName:null,attributeType:null,azimuth:Me,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Me,by:null,calcMode:null,capHeight:Me,className:$t,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:Me,diffuseConstant:Me,direction:null,display:null,dur:null,divisor:Me,dominantBaseline:null,download:ct,dx:null,dy:null,edgeMode:null,editable:null,elevation:Me,enableBackground:null,end:null,event:null,exponent:Me,externalResourcesRequired:null,fill:null,fillOpacity:Me,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:Me,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Me,horizOriginX:Me,horizOriginY:Me,id:null,ideographic:Me,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Me,k:Me,k1:Me,k2:Me,k3:Me,k4:Me,kernelMatrix:Ir,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Me,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:Me,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:Me,overlineThickness:Me,paintOrder:null,panose1:null,path:null,pathLength:Me,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:$t,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Me,pointsAtY:Me,pointsAtZ:Me,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Ir,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Ir,rev:Ir,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Ir,requiredFeatures:Ir,requiredFonts:Ir,requiredFormats:Ir,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:Me,specularExponent:Me,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Me,strikethroughThickness:Me,string:null,stroke:null,strokeDashArray:Ir,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Me,strokeOpacity:Me,strokeWidth:null,style:null,surfaceScale:Me,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Ir,tabIndex:Me,tableValues:null,target:null,targetX:Me,targetY:Me,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Ir,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Me,underlineThickness:Me,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Me,values:null,vAlphabetic:Me,vMathematical:Me,vectorEffect:null,vHanging:Me,vIdeographic:Me,version:null,vertAdvY:Me,vertOriginX:Me,vertOriginY:Me,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Me,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),pw=/^data[-\w.:]+$/i,zb=/-[a-z]/g,gw=/[A-Z]/g;function bw(e,t){const n=M1(t);let a=t,s=na;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&pw.test(t)){if(t.charAt(4)==="-"){const l=t.slice(5).replace(zb,yw);a="data"+l.charAt(0).toUpperCase()+l.slice(1)}else{const l=t.slice(4);if(!zb.test(l)){let o=l.replace(gw,Ew);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}s=Om}return new s(a,t)}function Ew(e){return"-"+e.toLowerCase()}function yw(e){return e.charAt(1).toUpperCase()}const vw=BE([zE,UE,qE,YE,hw],"html"),GE=BE([zE,UE,qE,YE,mw],"svg"),Tw={},_w={}.hasOwnProperty,jE=cE("type",{handlers:{root:xw,element:Cw,text:kw,comment:Nw,doctype:ww}});function Sw(e,t){const a=(t||Tw).space;return jE(e,a==="svg"?GE:vw)}function xw(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=Rm(e.children,n,t),Pl(e,n),n}function Aw(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=Rm(e.children,n,t),Pl(e,n),n}function ww(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return Pl(e,t),t}function kw(e){const t={nodeName:"#text",value:e.value,parentNode:null};return Pl(e,t),t}function Nw(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return Pl(e,t),t}function Cw(e,t){const n=t;let a=n;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(a=GE);const s=[];let l;if(e.properties){for(l in e.properties)if(l!=="children"&&_w.call(e.properties,l)){const f=Ow(a,l,e.properties[l]);f&&s.push(f)}}const o=a.space,d={nodeName:e.tagName,tagName:e.tagName,attrs:s,namespaceURI:wa[o],childNodes:[],parentNode:null};return d.childNodes=Rm(e.children,d,a),Pl(e,d),e.tagName==="template"&&e.content&&(d.content=Aw(e.content,a)),d}function Ow(e,t,n){const a=bw(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?x6(n):M6(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=wa[a.space]}return s}function Rm(e,t,n){let a=-1;const s=[];if(e)for(;++a<e.length;){const l=jE(e[a],n);l.parentNode=t,s.push(l)}return s}function Pl(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 Rw=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],Mw=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]),nn="�";var D;(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"})(D||(D={}));const br={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function VE(e){return e>=55296&&e<=57343}function Dw(e){return e>=56320&&e<=57343}function Iw(e,t){return(e-55296)*1024+9216+t}function KE(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function $E(e){return e>=64976&&e<=65007||Mw.has(e)}var fe;(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"})(fe||(fe={}));const Lw=65536;class Bw{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=Lw,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(Dw(n))return this.pos++,this._addGap(),Iw(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,D.EOF;return this._err(fe.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,D.EOF;const a=this.html.charCodeAt(n);return a===D.CARRIAGE_RETURN?D.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,D.EOF;let t=this.html.charCodeAt(this.pos);return t===D.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,D.LINE_FEED):t===D.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,VE(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===D.LINE_FEED||t===D.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){KE(t)?this._err(fe.controlCharacterInInputStream):$E(t)&&this._err(fe.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var Et;(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"})(Et||(Et={}));function XE(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 Pw=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))),Uw=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 zw(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=Uw.get(e))!==null&&t!==void 0?t:e}var Fn;(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"})(Fn||(Fn={}));const Fw=32;var $i;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})($i||($i={}));function I1(e){return e>=Fn.ZERO&&e<=Fn.NINE}function Hw(e){return e>=Fn.UPPER_A&&e<=Fn.UPPER_F||e>=Fn.LOWER_A&&e<=Fn.LOWER_F}function qw(e){return e>=Fn.UPPER_A&&e<=Fn.UPPER_Z||e>=Fn.LOWER_A&&e<=Fn.LOWER_Z||I1(e)}function Yw(e){return e===Fn.EQUALS||qw(e)}var zn;(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"})(zn||(zn={}));var ni;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(ni||(ni={}));class Gw{constructor(t,n,a){this.decodeTree=t,this.emitCodePoint=n,this.errors=a,this.state=zn.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=ni.Strict}startEntity(t){this.decodeMode=t,this.state=zn.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case zn.EntityStart:return t.charCodeAt(n)===Fn.NUM?(this.state=zn.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=zn.NamedEntity,this.stateNamedEntity(t,n));case zn.NumericStart:return this.stateNumericStart(t,n);case zn.NumericDecimal:return this.stateNumericDecimal(t,n);case zn.NumericHex:return this.stateNumericHex(t,n);case zn.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|Fw)===Fn.LOWER_X?(this.state=zn.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=zn.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(I1(s)||Hw(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(I1(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===Fn.SEMI)this.consumed+=1;else if(this.decodeMode===ni.Strict)return 0;return this.emitCodePoint(zw(this.result),this.consumed),this.errors&&(t!==Fn.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&$i.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const o=t.charCodeAt(n);if(this.treeIndex=jw(a,s,this.treeIndex+Math.max(1,l),o),this.treeIndex<0)return this.result===0||this.decodeMode===ni.Attribute&&(l===0||Yw(o))?0:this.emitNotTerminatedNamedEntity();if(s=a[this.treeIndex],l=(s&$i.VALUE_LENGTH)>>14,l!==0){if(o===Fn.SEMI)return this.emitNamedEntityData(this.treeIndex,l,this.consumed+this.excess);this.decodeMode!==ni.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]&$i.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]&~$i.VALUE_LENGTH:s[t+1],a),n===3&&this.emitCodePoint(s[t+2],a),a}end(){var t;switch(this.state){case zn.NamedEntity:return this.result!==0&&(this.decodeMode!==ni.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case zn.NumericDecimal:return this.emitNumericEntity(0,2);case zn.NumericHex:return this.emitNumericEntity(0,3);case zn.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case zn.EntityStart:return 0}}}function jw(e,t,n,a){const s=(t&$i.BRANCH_LENGTH)>>7,l=t&$i.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 Os;(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"})(Os||(Os={}));var Wr;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(Wr||(Wr={}));var ne;(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"})(ne||(ne={}));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 Vw=new Map([[ne.A,E.A],[ne.ADDRESS,E.ADDRESS],[ne.ANNOTATION_XML,E.ANNOTATION_XML],[ne.APPLET,E.APPLET],[ne.AREA,E.AREA],[ne.ARTICLE,E.ARTICLE],[ne.ASIDE,E.ASIDE],[ne.B,E.B],[ne.BASE,E.BASE],[ne.BASEFONT,E.BASEFONT],[ne.BGSOUND,E.BGSOUND],[ne.BIG,E.BIG],[ne.BLOCKQUOTE,E.BLOCKQUOTE],[ne.BODY,E.BODY],[ne.BR,E.BR],[ne.BUTTON,E.BUTTON],[ne.CAPTION,E.CAPTION],[ne.CENTER,E.CENTER],[ne.CODE,E.CODE],[ne.COL,E.COL],[ne.COLGROUP,E.COLGROUP],[ne.DD,E.DD],[ne.DESC,E.DESC],[ne.DETAILS,E.DETAILS],[ne.DIALOG,E.DIALOG],[ne.DIR,E.DIR],[ne.DIV,E.DIV],[ne.DL,E.DL],[ne.DT,E.DT],[ne.EM,E.EM],[ne.EMBED,E.EMBED],[ne.FIELDSET,E.FIELDSET],[ne.FIGCAPTION,E.FIGCAPTION],[ne.FIGURE,E.FIGURE],[ne.FONT,E.FONT],[ne.FOOTER,E.FOOTER],[ne.FOREIGN_OBJECT,E.FOREIGN_OBJECT],[ne.FORM,E.FORM],[ne.FRAME,E.FRAME],[ne.FRAMESET,E.FRAMESET],[ne.H1,E.H1],[ne.H2,E.H2],[ne.H3,E.H3],[ne.H4,E.H4],[ne.H5,E.H5],[ne.H6,E.H6],[ne.HEAD,E.HEAD],[ne.HEADER,E.HEADER],[ne.HGROUP,E.HGROUP],[ne.HR,E.HR],[ne.HTML,E.HTML],[ne.I,E.I],[ne.IMG,E.IMG],[ne.IMAGE,E.IMAGE],[ne.INPUT,E.INPUT],[ne.IFRAME,E.IFRAME],[ne.KEYGEN,E.KEYGEN],[ne.LABEL,E.LABEL],[ne.LI,E.LI],[ne.LINK,E.LINK],[ne.LISTING,E.LISTING],[ne.MAIN,E.MAIN],[ne.MALIGNMARK,E.MALIGNMARK],[ne.MARQUEE,E.MARQUEE],[ne.MATH,E.MATH],[ne.MENU,E.MENU],[ne.META,E.META],[ne.MGLYPH,E.MGLYPH],[ne.MI,E.MI],[ne.MO,E.MO],[ne.MN,E.MN],[ne.MS,E.MS],[ne.MTEXT,E.MTEXT],[ne.NAV,E.NAV],[ne.NOBR,E.NOBR],[ne.NOFRAMES,E.NOFRAMES],[ne.NOEMBED,E.NOEMBED],[ne.NOSCRIPT,E.NOSCRIPT],[ne.OBJECT,E.OBJECT],[ne.OL,E.OL],[ne.OPTGROUP,E.OPTGROUP],[ne.OPTION,E.OPTION],[ne.P,E.P],[ne.PARAM,E.PARAM],[ne.PLAINTEXT,E.PLAINTEXT],[ne.PRE,E.PRE],[ne.RB,E.RB],[ne.RP,E.RP],[ne.RT,E.RT],[ne.RTC,E.RTC],[ne.RUBY,E.RUBY],[ne.S,E.S],[ne.SCRIPT,E.SCRIPT],[ne.SEARCH,E.SEARCH],[ne.SECTION,E.SECTION],[ne.SELECT,E.SELECT],[ne.SOURCE,E.SOURCE],[ne.SMALL,E.SMALL],[ne.SPAN,E.SPAN],[ne.STRIKE,E.STRIKE],[ne.STRONG,E.STRONG],[ne.STYLE,E.STYLE],[ne.SUB,E.SUB],[ne.SUMMARY,E.SUMMARY],[ne.SUP,E.SUP],[ne.TABLE,E.TABLE],[ne.TBODY,E.TBODY],[ne.TEMPLATE,E.TEMPLATE],[ne.TEXTAREA,E.TEXTAREA],[ne.TFOOT,E.TFOOT],[ne.TD,E.TD],[ne.TH,E.TH],[ne.THEAD,E.THEAD],[ne.TITLE,E.TITLE],[ne.TR,E.TR],[ne.TRACK,E.TRACK],[ne.TT,E.TT],[ne.U,E.U],[ne.UL,E.UL],[ne.SVG,E.SVG],[ne.VAR,E.VAR],[ne.WBR,E.WBR],[ne.XMP,E.XMP]]);function Ul(e){var t;return(t=Vw.get(e))!==null&&t!==void 0?t:E.UNKNOWN}const ke=E,Kw={[xe.HTML]:new Set([ke.ADDRESS,ke.APPLET,ke.AREA,ke.ARTICLE,ke.ASIDE,ke.BASE,ke.BASEFONT,ke.BGSOUND,ke.BLOCKQUOTE,ke.BODY,ke.BR,ke.BUTTON,ke.CAPTION,ke.CENTER,ke.COL,ke.COLGROUP,ke.DD,ke.DETAILS,ke.DIR,ke.DIV,ke.DL,ke.DT,ke.EMBED,ke.FIELDSET,ke.FIGCAPTION,ke.FIGURE,ke.FOOTER,ke.FORM,ke.FRAME,ke.FRAMESET,ke.H1,ke.H2,ke.H3,ke.H4,ke.H5,ke.H6,ke.HEAD,ke.HEADER,ke.HGROUP,ke.HR,ke.HTML,ke.IFRAME,ke.IMG,ke.INPUT,ke.LI,ke.LINK,ke.LISTING,ke.MAIN,ke.MARQUEE,ke.MENU,ke.META,ke.NAV,ke.NOEMBED,ke.NOFRAMES,ke.NOSCRIPT,ke.OBJECT,ke.OL,ke.P,ke.PARAM,ke.PLAINTEXT,ke.PRE,ke.SCRIPT,ke.SECTION,ke.SELECT,ke.SOURCE,ke.STYLE,ke.SUMMARY,ke.TABLE,ke.TBODY,ke.TD,ke.TEMPLATE,ke.TEXTAREA,ke.TFOOT,ke.TH,ke.THEAD,ke.TITLE,ke.TR,ke.TRACK,ke.UL,ke.WBR,ke.XMP]),[xe.MATHML]:new Set([ke.MI,ke.MO,ke.MN,ke.MS,ke.MTEXT,ke.ANNOTATION_XML]),[xe.SVG]:new Set([ke.TITLE,ke.FOREIGN_OBJECT,ke.DESC]),[xe.XLINK]:new Set,[xe.XML]:new Set,[xe.XMLNS]:new Set},L1=new Set([ke.H1,ke.H2,ke.H3,ke.H4,ke.H5,ke.H6]);ne.STYLE,ne.SCRIPT,ne.XMP,ne.IFRAME,ne.NOEMBED,ne.NOFRAMES,ne.PLAINTEXT;var B;(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"})(B||(B={}));const yn={DATA:B.DATA,RCDATA:B.RCDATA,RAWTEXT:B.RAWTEXT,SCRIPT_DATA:B.SCRIPT_DATA,PLAINTEXT:B.PLAINTEXT,CDATA_SECTION:B.CDATA_SECTION};function $w(e){return e>=D.DIGIT_0&&e<=D.DIGIT_9}function Qu(e){return e>=D.LATIN_CAPITAL_A&&e<=D.LATIN_CAPITAL_Z}function Xw(e){return e>=D.LATIN_SMALL_A&&e<=D.LATIN_SMALL_Z}function Yi(e){return Xw(e)||Qu(e)}function Fb(e){return Yi(e)||$w(e)}function Wc(e){return e+32}function WE(e){return e===D.SPACE||e===D.LINE_FEED||e===D.TABULATION||e===D.FORM_FEED}function Hb(e){return WE(e)||e===D.SOLIDUS||e===D.GREATER_THAN_SIGN}function Ww(e){return e===D.NULL?fe.nullCharacterReference:e>1114111?fe.characterReferenceOutsideUnicodeRange:VE(e)?fe.surrogateCharacterReference:$E(e)?fe.noncharacterCharacterReference:KE(e)||e===D.CARRIAGE_RETURN?fe.controlCharacterReference:null}class Qw{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=B.DATA,this.returnState=B.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new Bw(n),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new Gw(Pw,(a,s)=>{this.preprocessor.pos=this.entityStartPos+s-1,this._flushCodePointConsumedAsCharacterReference(a)},n.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(fe.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:a=>{this._err(fe.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+a)},validateNumericCharacterReference:a=>{const s=Ww(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:Et.START_TAG,tagName:"",tagID:E.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:Et.END_TAG,tagName:"",tagID:E.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:Et.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:Et.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(XE(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(fe.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=Ul(t.tagName),t.type===Et.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(fe.endTagWithAttributes),t.selfClosing&&this._err(fe.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 Et.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case Et.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case Et.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:Et.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=WE(t)?Et.WHITESPACE_CHARACTER:t===D.NULL?Et.NULL_CHARACTER:Et.CHARACTER;this._appendCharToCurrentCharacterToken(n,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(Et.CHARACTER,t)}_startCharacterReference(){this.returnState=this.state,this.state=B.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?ni.Attribute:ni.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===B.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===B.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===B.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case B.DATA:{this._stateData(t);break}case B.RCDATA:{this._stateRcdata(t);break}case B.RAWTEXT:{this._stateRawtext(t);break}case B.SCRIPT_DATA:{this._stateScriptData(t);break}case B.PLAINTEXT:{this._statePlaintext(t);break}case B.TAG_OPEN:{this._stateTagOpen(t);break}case B.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case B.TAG_NAME:{this._stateTagName(t);break}case B.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case B.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case B.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case B.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case B.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case B.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case B.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case B.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case B.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case B.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case B.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case B.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case B.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case B.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case B.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case B.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case B.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case B.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case B.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case B.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case B.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case B.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case B.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case B.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case B.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case B.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case B.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case B.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case B.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case B.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case B.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case B.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case B.BOGUS_COMMENT:{this._stateBogusComment(t);break}case B.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case B.COMMENT_START:{this._stateCommentStart(t);break}case B.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case B.COMMENT:{this._stateComment(t);break}case B.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case B.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case B.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case B.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case B.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case B.COMMENT_END:{this._stateCommentEnd(t);break}case B.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case B.DOCTYPE:{this._stateDoctype(t);break}case B.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case B.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case B.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case B.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case B.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case B.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case B.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case B.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case B.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case B.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case B.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case B.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case B.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case B.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case B.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case B.CDATA_SECTION:{this._stateCdataSection(t);break}case B.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case B.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case B.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case B.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case D.LESS_THAN_SIGN:{this.state=B.TAG_OPEN;break}case D.AMPERSAND:{this._startCharacterReference();break}case D.NULL:{this._err(fe.unexpectedNullCharacter),this._emitCodePoint(t);break}case D.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case D.AMPERSAND:{this._startCharacterReference();break}case D.LESS_THAN_SIGN:{this.state=B.RCDATA_LESS_THAN_SIGN;break}case D.NULL:{this._err(fe.unexpectedNullCharacter),this._emitChars(nn);break}case D.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case D.LESS_THAN_SIGN:{this.state=B.RAWTEXT_LESS_THAN_SIGN;break}case D.NULL:{this._err(fe.unexpectedNullCharacter),this._emitChars(nn);break}case D.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case D.LESS_THAN_SIGN:{this.state=B.SCRIPT_DATA_LESS_THAN_SIGN;break}case D.NULL:{this._err(fe.unexpectedNullCharacter),this._emitChars(nn);break}case D.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case D.NULL:{this._err(fe.unexpectedNullCharacter),this._emitChars(nn);break}case D.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(Yi(t))this._createStartTagToken(),this.state=B.TAG_NAME,this._stateTagName(t);else switch(t){case D.EXCLAMATION_MARK:{this.state=B.MARKUP_DECLARATION_OPEN;break}case D.SOLIDUS:{this.state=B.END_TAG_OPEN;break}case D.QUESTION_MARK:{this._err(fe.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=B.BOGUS_COMMENT,this._stateBogusComment(t);break}case D.EOF:{this._err(fe.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(fe.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=B.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(Yi(t))this._createEndTagToken(),this.state=B.TAG_NAME,this._stateTagName(t);else switch(t){case D.GREATER_THAN_SIGN:{this._err(fe.missingEndTagName),this.state=B.DATA;break}case D.EOF:{this._err(fe.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(fe.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=B.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const n=this.currentToken;switch(t){case D.SPACE:case D.LINE_FEED:case D.TABULATION:case D.FORM_FEED:{this.state=B.BEFORE_ATTRIBUTE_NAME;break}case D.SOLIDUS:{this.state=B.SELF_CLOSING_START_TAG;break}case D.GREATER_THAN_SIGN:{this.state=B.DATA,this.emitCurrentTagToken();break}case D.NULL:{this._err(fe.unexpectedNullCharacter),n.tagName+=nn;break}case D.EOF:{this._err(fe.eofInTag),this._emitEOFToken();break}default:n.tagName+=String.fromCodePoint(Qu(t)?Wc(t):t)}}_stateRcdataLessThanSign(t){t===D.SOLIDUS?this.state=B.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=B.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){Yi(t)?(this.state=B.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=B.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 D.SPACE:case D.LINE_FEED:case D.TABULATION:case D.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=B.BEFORE_ATTRIBUTE_NAME,!1;case D.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=B.SELF_CLOSING_START_TAG,!1;case D.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=B.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=B.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===D.SOLIDUS?this.state=B.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=B.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){Yi(t)?(this.state=B.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=B.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=B.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case D.SOLIDUS:{this.state=B.SCRIPT_DATA_END_TAG_OPEN;break}case D.EXCLAMATION_MARK:{this.state=B.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=B.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){Yi(t)?(this.state=B.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=B.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=B.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===D.HYPHEN_MINUS?(this.state=B.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=B.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===D.HYPHEN_MINUS?(this.state=B.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=B.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case D.HYPHEN_MINUS:{this.state=B.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case D.LESS_THAN_SIGN:{this.state=B.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case D.NULL:{this._err(fe.unexpectedNullCharacter),this._emitChars(nn);break}case D.EOF:{this._err(fe.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case D.HYPHEN_MINUS:{this.state=B.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case D.LESS_THAN_SIGN:{this.state=B.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case D.NULL:{this._err(fe.unexpectedNullCharacter),this.state=B.SCRIPT_DATA_ESCAPED,this._emitChars(nn);break}case D.EOF:{this._err(fe.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=B.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case D.HYPHEN_MINUS:{this._emitChars("-");break}case D.LESS_THAN_SIGN:{this.state=B.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case D.GREATER_THAN_SIGN:{this.state=B.SCRIPT_DATA,this._emitChars(">");break}case D.NULL:{this._err(fe.unexpectedNullCharacter),this.state=B.SCRIPT_DATA_ESCAPED,this._emitChars(nn);break}case D.EOF:{this._err(fe.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=B.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===D.SOLIDUS?this.state=B.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Yi(t)?(this._emitChars("<"),this.state=B.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=B.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){Yi(t)?(this.state=B.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=B.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=B.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(br.SCRIPT,!1)&&Hb(this.preprocessor.peek(br.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<br.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=B.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=B.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case D.HYPHEN_MINUS:{this.state=B.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case D.LESS_THAN_SIGN:{this.state=B.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case D.NULL:{this._err(fe.unexpectedNullCharacter),this._emitChars(nn);break}case D.EOF:{this._err(fe.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case D.HYPHEN_MINUS:{this.state=B.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case D.LESS_THAN_SIGN:{this.state=B.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case D.NULL:{this._err(fe.unexpectedNullCharacter),this.state=B.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(nn);break}case D.EOF:{this._err(fe.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=B.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case D.HYPHEN_MINUS:{this._emitChars("-");break}case D.LESS_THAN_SIGN:{this.state=B.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case D.GREATER_THAN_SIGN:{this.state=B.SCRIPT_DATA,this._emitChars(">");break}case D.NULL:{this._err(fe.unexpectedNullCharacter),this.state=B.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(nn);break}case D.EOF:{this._err(fe.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=B.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===D.SOLIDUS?(this.state=B.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=B.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(br.SCRIPT,!1)&&Hb(this.preprocessor.peek(br.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<br.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=B.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=B.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case D.SPACE:case D.LINE_FEED:case D.TABULATION:case D.FORM_FEED:break;case D.SOLIDUS:case D.GREATER_THAN_SIGN:case D.EOF:{this.state=B.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case D.EQUALS_SIGN:{this._err(fe.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=B.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=B.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case D.SPACE:case D.LINE_FEED:case D.TABULATION:case D.FORM_FEED:case D.SOLIDUS:case D.GREATER_THAN_SIGN:case D.EOF:{this._leaveAttrName(),this.state=B.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case D.EQUALS_SIGN:{this._leaveAttrName(),this.state=B.BEFORE_ATTRIBUTE_VALUE;break}case D.QUOTATION_MARK:case D.APOSTROPHE:case D.LESS_THAN_SIGN:{this._err(fe.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case D.NULL:{this._err(fe.unexpectedNullCharacter),this.currentAttr.name+=nn;break}default:this.currentAttr.name+=String.fromCodePoint(Qu(t)?Wc(t):t)}}_stateAfterAttributeName(t){switch(t){case D.SPACE:case D.LINE_FEED:case D.TABULATION:case D.FORM_FEED:break;case D.SOLIDUS:{this.state=B.SELF_CLOSING_START_TAG;break}case D.EQUALS_SIGN:{this.state=B.BEFORE_ATTRIBUTE_VALUE;break}case D.GREATER_THAN_SIGN:{this.state=B.DATA,this.emitCurrentTagToken();break}case D.EOF:{this._err(fe.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=B.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case D.SPACE:case D.LINE_FEED:case D.TABULATION:case D.FORM_FEED:break;case D.QUOTATION_MARK:{this.state=B.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case D.APOSTROPHE:{this.state=B.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case D.GREATER_THAN_SIGN:{this._err(fe.missingAttributeValue),this.state=B.DATA,this.emitCurrentTagToken();break}default:this.state=B.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case D.QUOTATION_MARK:{this.state=B.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case D.AMPERSAND:{this._startCharacterReference();break}case D.NULL:{this._err(fe.unexpectedNullCharacter),this.currentAttr.value+=nn;break}case D.EOF:{this._err(fe.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case D.APOSTROPHE:{this.state=B.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case D.AMPERSAND:{this._startCharacterReference();break}case D.NULL:{this._err(fe.unexpectedNullCharacter),this.currentAttr.value+=nn;break}case D.EOF:{this._err(fe.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case D.SPACE:case D.LINE_FEED:case D.TABULATION:case D.FORM_FEED:{this._leaveAttrValue(),this.state=B.BEFORE_ATTRIBUTE_NAME;break}case D.AMPERSAND:{this._startCharacterReference();break}case D.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=B.DATA,this.emitCurrentTagToken();break}case D.NULL:{this._err(fe.unexpectedNullCharacter),this.currentAttr.value+=nn;break}case D.QUOTATION_MARK:case D.APOSTROPHE:case D.LESS_THAN_SIGN:case D.EQUALS_SIGN:case D.GRAVE_ACCENT:{this._err(fe.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case D.EOF:{this._err(fe.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case D.SPACE:case D.LINE_FEED:case D.TABULATION:case D.FORM_FEED:{this._leaveAttrValue(),this.state=B.BEFORE_ATTRIBUTE_NAME;break}case D.SOLIDUS:{this._leaveAttrValue(),this.state=B.SELF_CLOSING_START_TAG;break}case D.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=B.DATA,this.emitCurrentTagToken();break}case D.EOF:{this._err(fe.eofInTag),this._emitEOFToken();break}default:this._err(fe.missingWhitespaceBetweenAttributes),this.state=B.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case D.GREATER_THAN_SIGN:{const n=this.currentToken;n.selfClosing=!0,this.state=B.DATA,this.emitCurrentTagToken();break}case D.EOF:{this._err(fe.eofInTag),this._emitEOFToken();break}default:this._err(fe.unexpectedSolidusInTag),this.state=B.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const n=this.currentToken;switch(t){case D.GREATER_THAN_SIGN:{this.state=B.DATA,this.emitCurrentComment(n);break}case D.EOF:{this.emitCurrentComment(n),this._emitEOFToken();break}case D.NULL:{this._err(fe.unexpectedNullCharacter),n.data+=nn;break}default:n.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(br.DASH_DASH,!0)?(this._createCommentToken(br.DASH_DASH.length+1),this.state=B.COMMENT_START):this._consumeSequenceIfMatch(br.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(br.DOCTYPE.length+1),this.state=B.DOCTYPE):this._consumeSequenceIfMatch(br.CDATA_START,!0)?this.inForeignNode?this.state=B.CDATA_SECTION:(this._err(fe.cdataInHtmlContent),this._createCommentToken(br.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=B.BOGUS_COMMENT):this._ensureHibernation()||(this._err(fe.incorrectlyOpenedComment),this._createCommentToken(2),this.state=B.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case D.HYPHEN_MINUS:{this.state=B.COMMENT_START_DASH;break}case D.GREATER_THAN_SIGN:{this._err(fe.abruptClosingOfEmptyComment),this.state=B.DATA;const n=this.currentToken;this.emitCurrentComment(n);break}default:this.state=B.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const n=this.currentToken;switch(t){case D.HYPHEN_MINUS:{this.state=B.COMMENT_END;break}case D.GREATER_THAN_SIGN:{this._err(fe.abruptClosingOfEmptyComment),this.state=B.DATA,this.emitCurrentComment(n);break}case D.EOF:{this._err(fe.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=B.COMMENT,this._stateComment(t)}}_stateComment(t){const n=this.currentToken;switch(t){case D.HYPHEN_MINUS:{this.state=B.COMMENT_END_DASH;break}case D.LESS_THAN_SIGN:{n.data+="<",this.state=B.COMMENT_LESS_THAN_SIGN;break}case D.NULL:{this._err(fe.unexpectedNullCharacter),n.data+=nn;break}case D.EOF:{this._err(fe.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const n=this.currentToken;switch(t){case D.EXCLAMATION_MARK:{n.data+="!",this.state=B.COMMENT_LESS_THAN_SIGN_BANG;break}case D.LESS_THAN_SIGN:{n.data+="<";break}default:this.state=B.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===D.HYPHEN_MINUS?this.state=B.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=B.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===D.HYPHEN_MINUS?this.state=B.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=B.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==D.GREATER_THAN_SIGN&&t!==D.EOF&&this._err(fe.nestedComment),this.state=B.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const n=this.currentToken;switch(t){case D.HYPHEN_MINUS:{this.state=B.COMMENT_END;break}case D.EOF:{this._err(fe.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=B.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const n=this.currentToken;switch(t){case D.GREATER_THAN_SIGN:{this.state=B.DATA,this.emitCurrentComment(n);break}case D.EXCLAMATION_MARK:{this.state=B.COMMENT_END_BANG;break}case D.HYPHEN_MINUS:{n.data+="-";break}case D.EOF:{this._err(fe.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--",this.state=B.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const n=this.currentToken;switch(t){case D.HYPHEN_MINUS:{n.data+="--!",this.state=B.COMMENT_END_DASH;break}case D.GREATER_THAN_SIGN:{this._err(fe.incorrectlyClosedComment),this.state=B.DATA,this.emitCurrentComment(n);break}case D.EOF:{this._err(fe.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--!",this.state=B.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case D.SPACE:case D.LINE_FEED:case D.TABULATION:case D.FORM_FEED:{this.state=B.BEFORE_DOCTYPE_NAME;break}case D.GREATER_THAN_SIGN:{this.state=B.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case D.EOF:{this._err(fe.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(fe.missingWhitespaceBeforeDoctypeName),this.state=B.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(Qu(t))this._createDoctypeToken(String.fromCharCode(Wc(t))),this.state=B.DOCTYPE_NAME;else switch(t){case D.SPACE:case D.LINE_FEED:case D.TABULATION:case D.FORM_FEED:break;case D.NULL:{this._err(fe.unexpectedNullCharacter),this._createDoctypeToken(nn),this.state=B.DOCTYPE_NAME;break}case D.GREATER_THAN_SIGN:{this._err(fe.missingDoctypeName),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=B.DATA;break}case D.EOF:{this._err(fe.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=B.DOCTYPE_NAME}}_stateDoctypeName(t){const n=this.currentToken;switch(t){case D.SPACE:case D.LINE_FEED:case D.TABULATION:case D.FORM_FEED:{this.state=B.AFTER_DOCTYPE_NAME;break}case D.GREATER_THAN_SIGN:{this.state=B.DATA,this.emitCurrentDoctype(n);break}case D.NULL:{this._err(fe.unexpectedNullCharacter),n.name+=nn;break}case D.EOF:{this._err(fe.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.name+=String.fromCodePoint(Qu(t)?Wc(t):t)}}_stateAfterDoctypeName(t){const n=this.currentToken;switch(t){case D.SPACE:case D.LINE_FEED:case D.TABULATION:case D.FORM_FEED:break;case D.GREATER_THAN_SIGN:{this.state=B.DATA,this.emitCurrentDoctype(n);break}case D.EOF:{this._err(fe.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(br.PUBLIC,!1)?this.state=B.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(br.SYSTEM,!1)?this.state=B.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(fe.invalidCharacterSequenceAfterDoctypeName),n.forceQuirks=!0,this.state=B.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const n=this.currentToken;switch(t){case D.SPACE:case D.LINE_FEED:case D.TABULATION:case D.FORM_FEED:{this.state=B.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case D.QUOTATION_MARK:{this._err(fe.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=B.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case D.APOSTROPHE:{this._err(fe.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=B.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case D.GREATER_THAN_SIGN:{this._err(fe.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=B.DATA,this.emitCurrentDoctype(n);break}case D.EOF:{this._err(fe.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(fe.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=B.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case D.SPACE:case D.LINE_FEED:case D.TABULATION:case D.FORM_FEED:break;case D.QUOTATION_MARK:{n.publicId="",this.state=B.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case D.APOSTROPHE:{n.publicId="",this.state=B.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case D.GREATER_THAN_SIGN:{this._err(fe.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=B.DATA,this.emitCurrentDoctype(n);break}case D.EOF:{this._err(fe.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(fe.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=B.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case D.QUOTATION_MARK:{this.state=B.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case D.NULL:{this._err(fe.unexpectedNullCharacter),n.publicId+=nn;break}case D.GREATER_THAN_SIGN:{this._err(fe.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=B.DATA;break}case D.EOF:{this._err(fe.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 D.APOSTROPHE:{this.state=B.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case D.NULL:{this._err(fe.unexpectedNullCharacter),n.publicId+=nn;break}case D.GREATER_THAN_SIGN:{this._err(fe.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=B.DATA;break}case D.EOF:{this._err(fe.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 D.SPACE:case D.LINE_FEED:case D.TABULATION:case D.FORM_FEED:{this.state=B.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case D.GREATER_THAN_SIGN:{this.state=B.DATA,this.emitCurrentDoctype(n);break}case D.QUOTATION_MARK:{this._err(fe.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=B.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case D.APOSTROPHE:{this._err(fe.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=B.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case D.EOF:{this._err(fe.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(fe.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=B.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const n=this.currentToken;switch(t){case D.SPACE:case D.LINE_FEED:case D.TABULATION:case D.FORM_FEED:break;case D.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=B.DATA;break}case D.QUOTATION_MARK:{n.systemId="",this.state=B.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case D.APOSTROPHE:{n.systemId="",this.state=B.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case D.EOF:{this._err(fe.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(fe.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=B.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const n=this.currentToken;switch(t){case D.SPACE:case D.LINE_FEED:case D.TABULATION:case D.FORM_FEED:{this.state=B.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case D.QUOTATION_MARK:{this._err(fe.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=B.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case D.APOSTROPHE:{this._err(fe.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=B.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case D.GREATER_THAN_SIGN:{this._err(fe.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=B.DATA,this.emitCurrentDoctype(n);break}case D.EOF:{this._err(fe.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(fe.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=B.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case D.SPACE:case D.LINE_FEED:case D.TABULATION:case D.FORM_FEED:break;case D.QUOTATION_MARK:{n.systemId="",this.state=B.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case D.APOSTROPHE:{n.systemId="",this.state=B.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case D.GREATER_THAN_SIGN:{this._err(fe.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=B.DATA,this.emitCurrentDoctype(n);break}case D.EOF:{this._err(fe.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(fe.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=B.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case D.QUOTATION_MARK:{this.state=B.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case D.NULL:{this._err(fe.unexpectedNullCharacter),n.systemId+=nn;break}case D.GREATER_THAN_SIGN:{this._err(fe.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=B.DATA;break}case D.EOF:{this._err(fe.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 D.APOSTROPHE:{this.state=B.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case D.NULL:{this._err(fe.unexpectedNullCharacter),n.systemId+=nn;break}case D.GREATER_THAN_SIGN:{this._err(fe.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=B.DATA;break}case D.EOF:{this._err(fe.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 D.SPACE:case D.LINE_FEED:case D.TABULATION:case D.FORM_FEED:break;case D.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=B.DATA;break}case D.EOF:{this._err(fe.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(fe.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=B.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const n=this.currentToken;switch(t){case D.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=B.DATA;break}case D.NULL:{this._err(fe.unexpectedNullCharacter);break}case D.EOF:{this.emitCurrentDoctype(n),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case D.RIGHT_SQUARE_BRACKET:{this.state=B.CDATA_SECTION_BRACKET;break}case D.EOF:{this._err(fe.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===D.RIGHT_SQUARE_BRACKET?this.state=B.CDATA_SECTION_END:(this._emitChars("]"),this.state=B.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case D.GREATER_THAN_SIGN:{this.state=B.DATA;break}case D.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=B.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(D.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&Fb(this.preprocessor.peek(1))?B.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){Fb(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===D.SEMICOLON&&this._err(fe.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}}const QE=new Set([E.DD,E.DT,E.LI,E.OPTGROUP,E.OPTION,E.P,E.RB,E.RP,E.RT,E.RTC]),qb=new Set([...QE,E.CAPTION,E.COLGROUP,E.TBODY,E.TD,E.TFOOT,E.TH,E.THEAD,E.TR]),N0=new Set([E.APPLET,E.CAPTION,E.HTML,E.MARQUEE,E.OBJECT,E.TABLE,E.TD,E.TEMPLATE,E.TH]),Zw=new Set([...N0,E.OL,E.UL]),Jw=new Set([...N0,E.BUTTON]),Yb=new Set([E.ANNOTATION_XML,E.MI,E.MN,E.MO,E.MS,E.MTEXT]),Gb=new Set([E.DESC,E.FOREIGN_OBJECT,E.TITLE]),ek=new Set([E.TR,E.TEMPLATE,E.HTML]),tk=new Set([E.TBODY,E.TFOOT,E.THEAD,E.TEMPLATE,E.HTML]),nk=new Set([E.TABLE,E.TEMPLATE,E.HTML]),rk=new Set([E.TD,E.TH]);class ak{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(L1,xe.HTML)}popUntilTableCellPopped(){this.popUntilPopped(rk,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(nk,xe.HTML)}clearBackToTableBodyContext(){this.clearBackTo(tk,xe.HTML)}clearBackToTableRowContext(){this.clearBackTo(ek,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(Gb.has(s))return!1;break}case xe.MATHML:{if(Yb.has(s))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,N0)}hasInListItemScope(t){return this.hasInDynamicScope(t,Zw)}hasInButtonScope(t){return this.hasInDynamicScope(t,Jw)}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(L1.has(n))return!0;if(N0.has(n))return!1;break}case xe.SVG:{if(Gb.has(n))return!1;break}case xe.MATHML:{if(Yb.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&&QE.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&qb.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==void 0&&this.currentTagId!==t&&qb.has(this.currentTagId);)this.pop()}}const Uh=3;var xa;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(xa||(xa={}));const jb={type:xa.Marker};class ik{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===xa.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<Uh)return;const n=this.treeAdapter.getAttrList(t),a=this._getNoahArkConditionCandidates(t,n);if(a.length<Uh)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>=Uh&&this.entries.splice(d.idx,1))}}insertMarker(){this.entries.unshift(jb)}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.unshift({type:xa.Element,element:t,token:n})}insertElementAfterBookmark(t,n){const a=this.entries.indexOf(this.bookmark);this.entries.splice(a,0,{type:xa.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(jb);t===-1?this.entries.length=0:this.entries.splice(0,t+1)}getElementEntryInScopeWithTagName(t){const n=this.entries.find(a=>a.type===xa.Marker||this.treeAdapter.getTagName(a.element)===t);return n&&n.type===xa.Element?n:null}getElementEntry(t){return this.entries.find(n=>n.type===xa.Element&&n.element===t)}}const Gi={createDocument(){return{nodeName:"#document",mode:Wr.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};Gi.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(Gi.isTextNode(n)){n.value+=t;return}}Gi.appendChild(e,Gi.createTextNode(t))},insertTextBefore(e,t,n){const a=e.childNodes[e.childNodes.indexOf(n)-1];a&&Gi.isTextNode(a)?a.value+=t:Gi.insertBefore(e,Gi.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}}},ZE="html",sk="about:legacy-compat",lk="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",JE=["+//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//"],uk=[...JE,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],ok=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),e5=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],ck=[...e5,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function Vb(e,t){return t.some(n=>e.startsWith(n))}function dk(e){return e.name===ZE&&e.publicId===null&&(e.systemId===null||e.systemId===sk)}function fk(e){if(e.name!==ZE)return Wr.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===lk)return Wr.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),ok.has(n))return Wr.QUIRKS;let a=t===null?uk:JE;if(Vb(n,a))return Wr.QUIRKS;if(a=t===null?e5:ck,Vb(n,a))return Wr.LIMITED_QUIRKS}return Wr.NO_QUIRKS}const Kb={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},hk="definitionurl",mk="definitionURL",pk=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])),gk=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}]]),bk=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])),Ek=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 yk(e){const t=e.tagID;return t===E.FONT&&e.attrs.some(({name:a})=>a===Os.COLOR||a===Os.SIZE||a===Os.FACE)||Ek.has(t)}function t5(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===hk){e.attrs[t].name=mk;break}}function n5(e){for(let t=0;t<e.attrs.length;t++){const n=pk.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function Mm(e){for(let t=0;t<e.attrs.length;t++){const n=gk.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 vk(e){const t=bk.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=Ul(e.tagName))}function Tk(e,t){return t===xe.MATHML&&(e===E.MI||e===E.MO||e===E.MN||e===E.MS||e===E.MTEXT)}function _k(e,t,n){if(t===xe.MATHML&&e===E.ANNOTATION_XML){for(let a=0;a<n.length;a++)if(n[a].name===Os.ENCODING){const s=n[a].value.toLowerCase();return s===Kb.TEXT_HTML||s===Kb.APPLICATION_XML}}return t===xe.SVG&&(e===E.FOREIGN_OBJECT||e===E.DESC||e===E.TITLE)}function Sk(e,t,n,a){return(!a||a===xe.HTML)&&_k(e,t,n)||(!a||a===xe.MATHML)&&Tk(e,t)}const xk="hidden",Ak=8,wk=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 kk={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},r5=new Set([E.TABLE,E.TBODY,E.TFOOT,E.THEAD,E.TR]),$b={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Gi,onParseError:null};let Xb=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={...$b,...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 Qw(this.options,this),this.activeFormattingElements=new ik(this.treeAdapter),this.fragmentContextID=a?Ul(this.treeAdapter.getTagName(a)):E.UNKNOWN,this._setContextModes(a??this.document,this.fragmentContextID),this.openElements=new ak(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={...$b,...n};t??(t=a.treeAdapter.createElement(ne.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:kk,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=yn.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)===ne.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=yn.RCDATA;break}case E.STYLE:case E.XMP:case E.IFRAME:case E.NOEMBED:case E.NOFRAMES:case E.NOSCRIPT:{this.tokenizer.state=yn.RAWTEXT;break}case E.SCRIPT:{this.tokenizer.state=yn.SCRIPT_DATA;break}case E.PLAINTEXT:{this.tokenizer.state=yn.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(ne.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===Et.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)===ne.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 Et.CHARACTER:{this.onCharacter(t);break}case Et.NULL_CHARACTER:{this.onNullCharacter(t);break}case Et.COMMENT:{this.onComment(t);break}case Et.DOCTYPE:{this.onDoctype(t);break}case Et.START_TAG:{this._processStartTag(t);break}case Et.END_TAG:{this.onEndTag(t);break}case Et.EOF:{this.onEof(t);break}case Et.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,n,a){const s=this.treeAdapter.getNamespaceURI(n),l=this.treeAdapter.getAttrList(n);return Sk(t,s,l,a)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const n=this.activeFormattingElements.entries.findIndex(s=>s.type===xa.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 r5.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 Kw[a].has(n)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){rC(this,t);return}switch(this.insertionMode){case F.INITIAL:{$u(this,t);break}case F.BEFORE_HTML:{no(this,t);break}case F.BEFORE_HEAD:{ro(this,t);break}case F.IN_HEAD:{ao(this,t);break}case F.IN_HEAD_NO_SCRIPT:{io(this,t);break}case F.AFTER_HEAD:{so(this,t);break}case F.IN_BODY:case F.IN_CAPTION:case F.IN_CELL:case F.IN_TEMPLATE:{i5(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:{zh(this,t);break}case F.IN_TABLE_TEXT:{d5(this,t);break}case F.IN_COLUMN_GROUP:{C0(this,t);break}case F.AFTER_BODY:{O0(this,t);break}case F.AFTER_AFTER_BODY:{v0(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){nC(this,t);return}switch(this.insertionMode){case F.INITIAL:{$u(this,t);break}case F.BEFORE_HTML:{no(this,t);break}case F.BEFORE_HEAD:{ro(this,t);break}case F.IN_HEAD:{ao(this,t);break}case F.IN_HEAD_NO_SCRIPT:{io(this,t);break}case F.AFTER_HEAD:{so(this,t);break}case F.TEXT:{this._insertCharacters(t);break}case F.IN_TABLE:case F.IN_TABLE_BODY:case F.IN_ROW:{zh(this,t);break}case F.IN_COLUMN_GROUP:{C0(this,t);break}case F.AFTER_BODY:{O0(this,t);break}case F.AFTER_AFTER_BODY:{v0(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){B1(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:{B1(this,t);break}case F.IN_TABLE_TEXT:{Xu(this,t);break}case F.AFTER_BODY:{Ik(this,t);break}case F.AFTER_AFTER_BODY:case F.AFTER_AFTER_FRAMESET:{Lk(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case F.INITIAL:{Bk(this,t);break}case F.BEFORE_HEAD:case F.IN_HEAD:case F.IN_HEAD_NO_SCRIPT:case F.AFTER_HEAD:{this._err(t,fe.misplacedDoctype);break}case F.IN_TABLE_TEXT:{Xu(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,fe.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?aC(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case F.INITIAL:{$u(this,t);break}case F.BEFORE_HTML:{Pk(this,t);break}case F.BEFORE_HEAD:{zk(this,t);break}case F.IN_HEAD:{ma(this,t);break}case F.IN_HEAD_NO_SCRIPT:{qk(this,t);break}case F.AFTER_HEAD:{Gk(this,t);break}case F.IN_BODY:{Qn(this,t);break}case F.IN_TABLE:{Ol(this,t);break}case F.IN_TABLE_TEXT:{Xu(this,t);break}case F.IN_CAPTION:{FN(this,t);break}case F.IN_COLUMN_GROUP:{Lm(this,t);break}case F.IN_TABLE_BODY:{Q0(this,t);break}case F.IN_ROW:{Z0(this,t);break}case F.IN_CELL:{YN(this,t);break}case F.IN_SELECT:{m5(this,t);break}case F.IN_SELECT_IN_TABLE:{jN(this,t);break}case F.IN_TEMPLATE:{KN(this,t);break}case F.AFTER_BODY:{XN(this,t);break}case F.IN_FRAMESET:{WN(this,t);break}case F.AFTER_FRAMESET:{ZN(this,t);break}case F.AFTER_AFTER_BODY:{eC(this,t);break}case F.AFTER_AFTER_FRAMESET:{tC(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?iC(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case F.INITIAL:{$u(this,t);break}case F.BEFORE_HTML:{Uk(this,t);break}case F.BEFORE_HEAD:{Fk(this,t);break}case F.IN_HEAD:{Hk(this,t);break}case F.IN_HEAD_NO_SCRIPT:{Yk(this,t);break}case F.AFTER_HEAD:{jk(this,t);break}case F.IN_BODY:{W0(this,t);break}case F.TEXT:{ON(this,t);break}case F.IN_TABLE:{po(this,t);break}case F.IN_TABLE_TEXT:{Xu(this,t);break}case F.IN_CAPTION:{HN(this,t);break}case F.IN_COLUMN_GROUP:{qN(this,t);break}case F.IN_TABLE_BODY:{P1(this,t);break}case F.IN_ROW:{h5(this,t);break}case F.IN_CELL:{GN(this,t);break}case F.IN_SELECT:{p5(this,t);break}case F.IN_SELECT_IN_TABLE:{VN(this,t);break}case F.IN_TEMPLATE:{$N(this,t);break}case F.AFTER_BODY:{b5(this,t);break}case F.IN_FRAMESET:{QN(this,t);break}case F.AFTER_FRAMESET:{JN(this,t);break}case F.AFTER_AFTER_BODY:{v0(this,t);break}}}onEof(t){switch(this.insertionMode){case F.INITIAL:{$u(this,t);break}case F.BEFORE_HTML:{no(this,t);break}case F.BEFORE_HEAD:{ro(this,t);break}case F.IN_HEAD:{ao(this,t);break}case F.IN_HEAD_NO_SCRIPT:{io(this,t);break}case F.AFTER_HEAD:{so(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:{o5(this,t);break}case F.TEXT:{RN(this,t);break}case F.IN_TABLE_TEXT:{Xu(this,t);break}case F.IN_TEMPLATE:{g5(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:{Im(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===D.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:{a5(this,t);break}case F.IN_TABLE:case F.IN_TABLE_BODY:case F.IN_ROW:{zh(this,t);break}case F.IN_TABLE_TEXT:{c5(this,t);break}}}};function Nk(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):u5(e,t),n}function Ck(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 Ok(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>=wk;!d||f?(f&&e.activeFormattingElements.removeEntry(d),e.openElements.remove(o)):(o=Rk(e,d),a===t&&(e.activeFormattingElements.bookmark=d),e.treeAdapter.detachNode(a),e.treeAdapter.appendChild(o,a),a=o)}return a}function Rk(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 Mk(e,t,n){const a=e.treeAdapter.getTagName(t),s=Ul(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 Dk(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 Dm(e,t){for(let n=0;n<Ak;n++){const a=Nk(e,t);if(!a)break;const s=Ck(e,a);if(!s)break;e.activeFormattingElements.bookmark=a;const l=Ok(e,s,a.element),o=e.openElements.getCommonAncestor(a.element);e.treeAdapter.detachNode(l),o&&Mk(e,o,l),Dk(e,s,a)}}function B1(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function Ik(e,t){e._appendCommentNode(t,e.openElements.items[0])}function Lk(e,t){e._appendCommentNode(t,e.document)}function Im(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 Bk(e,t){e._setDocumentType(t);const n=t.forceQuirks?Wr.QUIRKS:fk(t);dk(t)||e._err(t,fe.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=F.BEFORE_HTML}function $u(e,t){e._err(t,fe.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,Wr.QUIRKS),e.insertionMode=F.BEFORE_HTML,e._processToken(t)}function Pk(e,t){t.tagID===E.HTML?(e._insertElement(t,xe.HTML),e.insertionMode=F.BEFORE_HEAD):no(e,t)}function Uk(e,t){const n=t.tagID;(n===E.HTML||n===E.HEAD||n===E.BODY||n===E.BR)&&no(e,t)}function no(e,t){e._insertFakeRootElement(),e.insertionMode=F.BEFORE_HEAD,e._processToken(t)}function zk(e,t){switch(t.tagID){case E.HTML:{Qn(e,t);break}case E.HEAD:{e._insertElement(t,xe.HTML),e.headElement=e.openElements.current,e.insertionMode=F.IN_HEAD;break}default:ro(e,t)}}function Fk(e,t){const n=t.tagID;n===E.HEAD||n===E.BODY||n===E.HTML||n===E.BR?ro(e,t):e._err(t,fe.endTagWithoutMatchingOpenElement)}function ro(e,t){e._insertFakeElement(ne.HEAD,E.HEAD),e.headElement=e.openElements.current,e.insertionMode=F.IN_HEAD,e._processToken(t)}function ma(e,t){switch(t.tagID){case E.HTML:{Qn(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,yn.RCDATA);break}case E.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,yn.RAWTEXT):(e._insertElement(t,xe.HTML),e.insertionMode=F.IN_HEAD_NO_SCRIPT);break}case E.NOFRAMES:case E.STYLE:{e._switchToTextParsing(t,yn.RAWTEXT);break}case E.SCRIPT:{e._switchToTextParsing(t,yn.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,fe.misplacedStartTagForHeadElement);break}default:ao(e,t)}}function Hk(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:{ao(e,t);break}case E.TEMPLATE:{Is(e,t);break}default:e._err(t,fe.endTagWithoutMatchingOpenElement)}}function Is(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==E.TEMPLATE&&e._err(t,fe.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(E.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,fe.endTagWithoutMatchingOpenElement)}function ao(e,t){e.openElements.pop(),e.insertionMode=F.AFTER_HEAD,e._processToken(t)}function qk(e,t){switch(t.tagID){case E.HTML:{Qn(e,t);break}case E.BASEFONT:case E.BGSOUND:case E.HEAD:case E.LINK:case E.META:case E.NOFRAMES:case E.STYLE:{ma(e,t);break}case E.NOSCRIPT:{e._err(t,fe.nestedNoscriptInHead);break}default:io(e,t)}}function Yk(e,t){switch(t.tagID){case E.NOSCRIPT:{e.openElements.pop(),e.insertionMode=F.IN_HEAD;break}case E.BR:{io(e,t);break}default:e._err(t,fe.endTagWithoutMatchingOpenElement)}}function io(e,t){const n=t.type===Et.EOF?fe.openElementsLeftAfterEof:fe.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=F.IN_HEAD,e._processToken(t)}function Gk(e,t){switch(t.tagID){case E.HTML:{Qn(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,fe.abandonedHeadElementChild),e.openElements.push(e.headElement,E.HEAD),ma(e,t),e.openElements.remove(e.headElement);break}case E.HEAD:{e._err(t,fe.misplacedStartTagForHeadElement);break}default:so(e,t)}}function jk(e,t){switch(t.tagID){case E.BODY:case E.HTML:case E.BR:{so(e,t);break}case E.TEMPLATE:{Is(e,t);break}default:e._err(t,fe.endTagWithoutMatchingOpenElement)}}function so(e,t){e._insertFakeElement(ne.BODY,E.BODY),e.insertionMode=F.IN_BODY,X0(e,t)}function X0(e,t){switch(t.type){case Et.CHARACTER:{i5(e,t);break}case Et.WHITESPACE_CHARACTER:{a5(e,t);break}case Et.COMMENT:{B1(e,t);break}case Et.START_TAG:{Qn(e,t);break}case Et.END_TAG:{W0(e,t);break}case Et.EOF:{o5(e,t);break}}}function a5(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function i5(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function Vk(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function Kk(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function $k(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 Xk(e,t){e.openElements.hasInButtonScope(E.P)&&e._closePElement(),e._insertElement(t,xe.HTML)}function Wk(e,t){e.openElements.hasInButtonScope(E.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&L1.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,xe.HTML)}function Qk(e,t){e.openElements.hasInButtonScope(E.P)&&e._closePElement(),e._insertElement(t,xe.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function Zk(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 Jk(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 eN(e,t){e.openElements.hasInButtonScope(E.P)&&e._closePElement(),e._insertElement(t,xe.HTML),e.tokenizer.state=yn.PLAINTEXT}function tN(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 nN(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(ne.A);n&&(Dm(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 rN(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,xe.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function aN(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(E.NOBR)&&(Dm(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,xe.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function iN(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,xe.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function sN(e,t){e.treeAdapter.getDocumentMode(e.document)!==Wr.QUIRKS&&e.openElements.hasInButtonScope(E.P)&&e._closePElement(),e._insertElement(t,xe.HTML),e.framesetOk=!1,e.insertionMode=F.IN_TABLE}function s5(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,xe.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function l5(e){const t=XE(e,Os.TYPE);return t!=null&&t.toLowerCase()===xk}function lN(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,xe.HTML),l5(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function uN(e,t){e._appendElement(t,xe.HTML),t.ackSelfClosing=!0}function oN(e,t){e.openElements.hasInButtonScope(E.P)&&e._closePElement(),e._appendElement(t,xe.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function cN(e,t){t.tagName=ne.IMG,t.tagID=E.IMG,s5(e,t)}function dN(e,t){e._insertElement(t,xe.HTML),e.skipNextNewLine=!0,e.tokenizer.state=yn.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=F.TEXT}function fN(e,t){e.openElements.hasInButtonScope(E.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,yn.RAWTEXT)}function hN(e,t){e.framesetOk=!1,e._switchToTextParsing(t,yn.RAWTEXT)}function Wb(e,t){e._switchToTextParsing(t,yn.RAWTEXT)}function mN(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 pN(e,t){e.openElements.currentTagId===E.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,xe.HTML)}function gN(e,t){e.openElements.hasInScope(E.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,xe.HTML)}function bN(e,t){e.openElements.hasInScope(E.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(E.RTC),e._insertElement(t,xe.HTML)}function EN(e,t){e._reconstructActiveFormattingElements(),t5(t),Mm(t),t.selfClosing?e._appendElement(t,xe.MATHML):e._insertElement(t,xe.MATHML),t.ackSelfClosing=!0}function yN(e,t){e._reconstructActiveFormattingElements(),n5(t),Mm(t),t.selfClosing?e._appendElement(t,xe.SVG):e._insertElement(t,xe.SVG),t.ackSelfClosing=!0}function Qb(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,xe.HTML)}function Qn(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:{rN(e,t);break}case E.A:{nN(e,t);break}case E.H1:case E.H2:case E.H3:case E.H4:case E.H5:case E.H6:{Wk(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:{Xk(e,t);break}case E.LI:case E.DD:case E.DT:{Jk(e,t);break}case E.BR:case E.IMG:case E.WBR:case E.AREA:case E.EMBED:case E.KEYGEN:{s5(e,t);break}case E.HR:{oN(e,t);break}case E.RB:case E.RTC:{gN(e,t);break}case E.RT:case E.RP:{bN(e,t);break}case E.PRE:case E.LISTING:{Qk(e,t);break}case E.XMP:{fN(e,t);break}case E.SVG:{yN(e,t);break}case E.HTML:{Vk(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:{ma(e,t);break}case E.BODY:{Kk(e,t);break}case E.FORM:{Zk(e,t);break}case E.NOBR:{aN(e,t);break}case E.MATH:{EN(e,t);break}case E.TABLE:{sN(e,t);break}case E.INPUT:{lN(e,t);break}case E.PARAM:case E.TRACK:case E.SOURCE:{uN(e,t);break}case E.IMAGE:{cN(e,t);break}case E.BUTTON:{tN(e,t);break}case E.APPLET:case E.OBJECT:case E.MARQUEE:{iN(e,t);break}case E.IFRAME:{hN(e,t);break}case E.SELECT:{mN(e,t);break}case E.OPTION:case E.OPTGROUP:{pN(e,t);break}case E.NOEMBED:case E.NOFRAMES:{Wb(e,t);break}case E.FRAMESET:{$k(e,t);break}case E.TEXTAREA:{dN(e,t);break}case E.NOSCRIPT:{e.options.scriptingEnabled?Wb(e,t):Qb(e,t);break}case E.PLAINTEXT:{eN(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:Qb(e,t)}}function vN(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 TN(e,t){e.openElements.hasInScope(E.BODY)&&(e.insertionMode=F.AFTER_BODY,b5(e,t))}function _N(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function SN(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 xN(e){e.openElements.hasInButtonScope(E.P)||e._insertFakeElement(ne.P,E.P),e._closePElement()}function AN(e){e.openElements.hasInListItemScope(E.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(E.LI),e.openElements.popUntilTagNamePopped(E.LI))}function wN(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function kN(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function NN(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function CN(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(ne.BR,E.BR),e.openElements.pop(),e.framesetOk=!1}function u5(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 W0(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:{Dm(e,t);break}case E.P:{xN(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:{_N(e,t);break}case E.LI:{AN(e);break}case E.DD:case E.DT:{wN(e,t);break}case E.H1:case E.H2:case E.H3:case E.H4:case E.H5:case E.H6:{kN(e);break}case E.BR:{CN(e);break}case E.BODY:{vN(e,t);break}case E.HTML:{TN(e,t);break}case E.FORM:{SN(e);break}case E.APPLET:case E.OBJECT:case E.MARQUEE:{NN(e,t);break}case E.TEMPLATE:{Is(e,t);break}default:u5(e,t)}}function o5(e,t){e.tmplInsertionModeStack.length>0?g5(e,t):Im(e,t)}function ON(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 RN(e,t){e._err(t,fe.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function zh(e,t){if(e.openElements.currentTagId!==void 0&&r5.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 Et.CHARACTER:{d5(e,t);break}case Et.WHITESPACE_CHARACTER:{c5(e,t);break}}else wo(e,t)}function MN(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,xe.HTML),e.insertionMode=F.IN_CAPTION}function DN(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,xe.HTML),e.insertionMode=F.IN_COLUMN_GROUP}function IN(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(ne.COLGROUP,E.COLGROUP),e.insertionMode=F.IN_COLUMN_GROUP,Lm(e,t)}function LN(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,xe.HTML),e.insertionMode=F.IN_TABLE_BODY}function BN(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(ne.TBODY,E.TBODY),e.insertionMode=F.IN_TABLE_BODY,Q0(e,t)}function PN(e,t){e.openElements.hasInTableScope(E.TABLE)&&(e.openElements.popUntilTagNamePopped(E.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function UN(e,t){l5(t)?e._appendElement(t,xe.HTML):wo(e,t),t.ackSelfClosing=!0}function zN(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,xe.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function Ol(e,t){switch(t.tagID){case E.TD:case E.TH:case E.TR:{BN(e,t);break}case E.STYLE:case E.SCRIPT:case E.TEMPLATE:{ma(e,t);break}case E.COL:{IN(e,t);break}case E.FORM:{zN(e,t);break}case E.TABLE:{PN(e,t);break}case E.TBODY:case E.TFOOT:case E.THEAD:{LN(e,t);break}case E.INPUT:{UN(e,t);break}case E.CAPTION:{MN(e,t);break}case E.COLGROUP:{DN(e,t);break}default:wo(e,t)}}function po(e,t){switch(t.tagID){case E.TABLE:{e.openElements.hasInTableScope(E.TABLE)&&(e.openElements.popUntilTagNamePopped(E.TABLE),e._resetInsertionMode());break}case E.TEMPLATE:{Is(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:wo(e,t)}}function wo(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,X0(e,t),e.fosterParentingEnabled=n}function c5(e,t){e.pendingCharacterTokens.push(t)}function d5(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function Xu(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)wo(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const f5=new Set([E.CAPTION,E.COL,E.COLGROUP,E.TBODY,E.TD,E.TFOOT,E.TH,E.THEAD,E.TR]);function FN(e,t){const n=t.tagID;f5.has(n)?e.openElements.hasInTableScope(E.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(E.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=F.IN_TABLE,Ol(e,t)):Qn(e,t)}function HN(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&&po(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:W0(e,t)}}function Lm(e,t){switch(t.tagID){case E.HTML:{Qn(e,t);break}case E.COL:{e._appendElement(t,xe.HTML),t.ackSelfClosing=!0;break}case E.TEMPLATE:{ma(e,t);break}default:C0(e,t)}}function qN(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:{Is(e,t);break}case E.COL:break;default:C0(e,t)}}function C0(e,t){e.openElements.currentTagId===E.COLGROUP&&(e.openElements.pop(),e.insertionMode=F.IN_TABLE,e._processToken(t))}function Q0(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(ne.TR,E.TR),e.insertionMode=F.IN_ROW,Z0(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,Ol(e,t));break}default:Ol(e,t)}}function P1(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,po(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:po(e,t)}}function Z0(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,Q0(e,t));break}default:Ol(e,t)}}function h5(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,P1(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,P1(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:po(e,t)}}function YN(e,t){const n=t.tagID;f5.has(n)?(e.openElements.hasInTableScope(E.TD)||e.openElements.hasInTableScope(E.TH))&&(e._closeTableCell(),Z0(e,t)):Qn(e,t)}function GN(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(),h5(e,t));break}case E.BODY:case E.CAPTION:case E.COL:case E.COLGROUP:case E.HTML:break;default:W0(e,t)}}function m5(e,t){switch(t.tagID){case E.HTML:{Qn(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:{ma(e,t);break}}}function p5(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:{Is(e,t);break}}}function jN(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)):m5(e,t)}function VN(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)):p5(e,t)}function KN(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:{ma(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,Ol(e,t);break}case E.COL:{e.tmplInsertionModeStack[0]=F.IN_COLUMN_GROUP,e.insertionMode=F.IN_COLUMN_GROUP,Lm(e,t);break}case E.TR:{e.tmplInsertionModeStack[0]=F.IN_TABLE_BODY,e.insertionMode=F.IN_TABLE_BODY,Q0(e,t);break}case E.TD:case E.TH:{e.tmplInsertionModeStack[0]=F.IN_ROW,e.insertionMode=F.IN_ROW,Z0(e,t);break}default:e.tmplInsertionModeStack[0]=F.IN_BODY,e.insertionMode=F.IN_BODY,Qn(e,t)}}function $N(e,t){t.tagID===E.TEMPLATE&&Is(e,t)}function g5(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(E.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):Im(e,t)}function XN(e,t){t.tagID===E.HTML?Qn(e,t):O0(e,t)}function b5(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 O0(e,t)}function O0(e,t){e.insertionMode=F.IN_BODY,X0(e,t)}function WN(e,t){switch(t.tagID){case E.HTML:{Qn(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:{ma(e,t);break}}}function QN(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 ZN(e,t){switch(t.tagID){case E.HTML:{Qn(e,t);break}case E.NOFRAMES:{ma(e,t);break}}}function JN(e,t){t.tagID===E.HTML&&(e.insertionMode=F.AFTER_AFTER_FRAMESET)}function eC(e,t){t.tagID===E.HTML?Qn(e,t):v0(e,t)}function v0(e,t){e.insertionMode=F.IN_BODY,X0(e,t)}function tC(e,t){switch(t.tagID){case E.HTML:{Qn(e,t);break}case E.NOFRAMES:{ma(e,t);break}}}function nC(e,t){t.chars=nn,e._insertCharacters(t)}function rC(e,t){e._insertCharacters(t),e.framesetOk=!1}function E5(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 aC(e,t){if(yk(t))E5(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),a=e.treeAdapter.getNamespaceURI(n);a===xe.MATHML?t5(t):a===xe.SVG&&(vk(t),n5(t)),Mm(t),t.selfClosing?e._appendElement(t,a):e._insertElement(t,a),t.ackSelfClosing=!0}}function iC(e,t){if(t.tagID===E.P||t.tagID===E.BR){E5(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}}}ne.AREA,ne.BASE,ne.BASEFONT,ne.BGSOUND,ne.BR,ne.COL,ne.EMBED,ne.FRAME,ne.HR,ne.IMG,ne.INPUT,ne.KEYGEN,ne.LINK,ne.META,ne.PARAM,ne.SOURCE,ne.TRACK,ne.WBR;const sC=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,lC=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),Zb={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function y5(e,t){const n=bC(e),a=cE("type",{handlers:{root:uC,element:oC,text:cC,comment:T5,doctype:dC,raw:hC},unknown:mC}),s={parser:n?new Xb(Zb):Xb.getFragmentParser(void 0,Zb),handle(d){a(d,s)},stitches:!1,options:t||{}};a(e,s),zl(s,Oa());const l=n?s.parser.document:s.parser.getFragment(),o=uw(l,{file:s.options.file});return s.stitches&&So(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 v5(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function uC(e,t){v5(e.children,t)}function oC(e,t){pC(e,t),v5(e.children,t),gC(e,t)}function cC(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const n={type:Et.CHARACTER,chars:e.value,location:ko(e)};zl(t,Oa(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function dC(e,t){const n={type:Et.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:ko(e)};zl(t,Oa(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function fC(e,t){t.stitches=!0;const n=EC(e);if("children"in e&&"children"in n){const a=y5({type:"root",children:e.children},t.options);n.children=a.children}T5({type:"comment",value:{stitch:n}},t)}function T5(e,t){const n=e.value,a={type:Et.COMMENT,data:n,location:ko(e)};zl(t,Oa(e)),t.parser.currentToken=a,t.parser._processToken(t.parser.currentToken)}function hC(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,_5(t,Oa(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(sC,"&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 mC(e,t){const n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))fC(n,t);else{let a="";throw lC.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 zl(e,t){_5(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=yn.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 _5(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 pC(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===yn.PLAINTEXT)return;zl(t,Oa(e));const a=t.parser.openElements.current;let s="namespaceURI"in a?a.namespaceURI:wa.html;s===wa.html&&n==="svg"&&(s=wa.svg);const l=Sw({...e,children:[]},{space:s===wa.svg?"svg":"html"}),o={type:Et.START_TAG,tagName:n,tagID:Ul(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in l?l.attrs:[],location:ko(e)};t.parser.currentToken=o,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function gC(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&Rw.includes(n)||t.parser.tokenizer.state===yn.PLAINTEXT)return;zl(t,G0(e));const a={type:Et.END_TAG,tagName:n,tagID:Ul(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:ko(e)};t.parser.currentToken=a,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===yn.RCDATA||t.parser.tokenizer.state===yn.RAWTEXT||t.parser.tokenizer.state===yn.SCRIPT_DATA)&&(t.parser.tokenizer.state=yn.DATA)}function bC(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function ko(e){const t=Oa(e)||{line:void 0,column:void 0,offset:void 0},n=G0(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 EC(e){return"children"in e?Cl({...e,children:[]}):Cl(e)}function yC(e){return function(t,n){return y5(t,{...e,file:n})}}const Jb=function(e,t,n){const a=_o(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]},Ls=function(e){if(e==null)return _C;if(typeof e=="string")return TC(e);if(typeof e=="object")return vC(e);if(typeof e=="function")return Bm(e);throw new Error("Expected function, string, or array as `test`")};function vC(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Ls(e[n]);return Bm(a);function a(...s){let l=-1;for(;++l<t.length;)if(t[l].apply(this,s))return!0;return!1}}function TC(e){return Bm(t);function t(n){return n.tagName===e}}function Bm(e){return t;function t(n,a,s){return!!(SC(n)&&e.call(this,n,typeof a=="number"?a:void 0,s||void 0))}}function _C(e){return!!(e&&typeof e=="object"&&"type"in e&&e.type==="element"&&"tagName"in e&&typeof e.tagName=="string")}function SC(e){return e!==null&&typeof e=="object"&&"type"in e&&"tagName"in e}const e3=/\n/g,t3=/[\t ]+/g,U1=Ls("br"),n3=Ls(OC),xC=Ls("p"),r3=Ls("tr"),AC=Ls(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",CC,RC]),S5=Ls(["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 x5(e,t){const n=t||{},a="children"in e?e.children:[],s=S5(e),l=k5(e,{whitespace:n.whitespace||"normal"}),o=[];(e.type==="text"||e.type==="comment")&&o.push(...w5(e,{breakBefore:!0,breakAfter:!0}));let d=-1;for(;++d<a.length;)o.push(...A5(a[d],e,{whitespace:l,breakBefore:d?void 0:s,breakAfter:d<a.length-1?U1(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 A5(e,t,n){return e.type==="element"?wC(e,t,n):e.type==="text"?n.whitespace==="normal"?w5(e,n):kC(e):[]}function wC(e,t,n){const a=k5(e,n),s=e.children||[];let l=-1,o=[];if(AC(e))return o;let d,f;for(U1(e)||r3(e)&&Jb(t,e,r3)?f=`
80
+ `:xC(e)?(d=2,f=2):S5(e)&&(d=1,f=1);++l<s.length;)o=o.concat(A5(s[l],e,{whitespace:a,breakBefore:l?void 0:d,breakAfter:l<s.length-1?U1(s[l+1]):f}));return n3(e)&&Jb(t,e,n3)&&o.push(" "),d&&o.unshift(d),f&&o.push(f),o}function w5(e,t){const n=String(e.value),a=[],s=[];let l=0;for(;l<=n.length;){e3.lastIndex=l;const f=e3.exec(n),h=f&&"index"in f?f.index:n.length;a.push(NC(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 kC(e){return[String(e.value)]}function NC(e,t,n){const a=[];let s=0,l;for(;s<e.length;){t3.lastIndex=s;const o=t3.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 k5(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 CC(e){return!!(e.properties||{}).hidden}function OC(e){return e.tagName==="td"||e.tagName==="th"}function RC(e){return e.tagName==="dialog"&&!(e.properties||{}).open}function MC(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"],I=["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"],N=["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"],$={type:k,keyword:A,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:I},Y={className:"function.dispatch",relevance:0,keywords:{_hint:N},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},L=[Y,b,d,n,e.C_BLOCK_COMMENT_MODE,p,h],re={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:$,contains:L.concat([{begin:/\(/,end:/\)/,keywords:$,contains:L.concat(["self"]),relevance:0}]),relevance:0},X={className:"function",begin:"("+o+"[\\*&\\s]+)+"+v,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:$,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:a,keywords:$,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:$,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,h,p,d,{begin:/\(/,end:/\)/,keywords:$,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:$,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(re,X,Y,L,[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:$,contains:["self",d]},{begin:e.IDENT_RE+"::",keywords:$},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function DC(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=MC(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 IC(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"],I=["true","false"],N={match:/(\/[a-z._-]+)+/},M=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],z=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","sudo","type","typeset","ulimit","unalias"],$=["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"],Y=["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:I,built_in:[...M,...z,"set","shopt",...$,...Y]},contains:[v,e.SHEBANG(),A,b,l,o,N,d,f,h,p,n]}}function LC(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*\\(",I={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"},N=[b,d,n,e.C_BLOCK_COMMENT_MODE,p,h],M={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:I,contains:N.concat([{begin:/\(/,end:/\)/,keywords:I,contains:N.concat(["self"]),relevance:0}]),relevance:0},z={begin:"("+o+"[\\*&\\s]+)+"+v,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:I,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:a,keywords:I,relevance:0},{begin:v,returnBegin:!0,contains:[e.inherit(T,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:I,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,h,p,d,{begin:/\(/,end:/\)/,keywords:I,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:I,disableAutodetect:!0,illegal:"</",contains:[].concat(M,z,N,[b,{begin:e.IDENT_RE+"::",keywords:I},{className:"class",beginKeywords:"enum class struct union",end:/[{;:<>=]/,contains:[{beginKeywords:"final class struct"},e.TITLE_MODE]}]),exports:{preprocessor:b,strings:h,keywords:I}}}function BC(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"],I=["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"],N=["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"],$={type:k,keyword:A,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:I},Y={className:"function.dispatch",relevance:0,keywords:{_hint:N},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},L=[Y,b,d,n,e.C_BLOCK_COMMENT_MODE,p,h],re={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:$,contains:L.concat([{begin:/\(/,end:/\)/,keywords:$,contains:L.concat(["self"]),relevance:0}]),relevance:0},X={className:"function",begin:"("+o+"[\\*&\\s]+)+"+v,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:$,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:a,keywords:$,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:$,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,h,p,d,{begin:/\(/,end:/\)/,keywords:$,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:$,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(re,X,Y,L,[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:$,contains:["self",d]},{begin:e.IDENT_RE+"::",keywords:$},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function PC(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]},I=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=[I,A,b,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,f,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const N={variants:[h,k,A,p,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},M={begin:"<",end:">",contains:[{beginKeywords:"in out"},d]},z=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",$={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"}},N,f,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},d,M,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,M,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:"("+z+"\\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,M],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,relevance:0,contains:[N,f,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},$]}}const UC=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_-]*/}}),zC=["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"],FC=["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"],HC=[...zC,...FC],qC=["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(),YC=["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(),GC=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),jC=["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 VC(e){const t=e.regex,n=UC(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:":("+YC.join("|")+")"},{begin:":(:)?("+GC.join("|")+")"}]},n.CSS_VARIABLE,{className:"attribute",begin:"\\b("+jC.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:qC.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...d,n.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+HC.join("|")+")\\b"}]}}function KC(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 $C(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 XC(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 WC(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 vl="[0-9](_*[0-9])*",Qc=`\\.(${vl})`,Zc="[0-9a-fA-F](_*[0-9a-fA-F])*",a3={className:"number",variants:[{begin:`(\\b(${vl})((${Qc})|\\.)?|(${Qc}))[eE][+-]?(${vl})[fFdD]?\\b`},{begin:`\\b(${vl})((${Qc})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${Qc})[fFdD]?\\b`},{begin:`\\b(${vl})[fFdD]\\b`},{begin:`\\b0[xX]((${Zc})\\.?|(${Zc})?\\.(${Zc}))[pP][+-]?(${vl})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${Zc})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function N5(e,t,n){return n===-1?"":e.replace(t,a=>N5(e,t,n-1))}function QC(e){const t=e.regex,n="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",a=n+N5("(?:<"+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,a3,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},a3,h]}}const i3="[A-Za-z$_][0-9A-Za-z$_]*",ZC=["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"],JC=["true","false","null","undefined","NaN","Infinity"],C5=["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"],O5=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],R5=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],eO=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],tO=[].concat(R5,C5,O5);function nO(e){const t=e.regex,n=(ge,{after:Fe})=>{const S="</"+ge[0].slice(1);return ge.input.indexOf(S,Fe)!==-1},a=i3,s={begin:"<>",end:"</>"},l=/<[A-Za-z0-9\\._:-]+\s*\/>/,o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(ge,Fe)=>{const S=ge[0].length+ge.index,K=ge.input[S];if(K==="<"||K===","){Fe.ignoreMatch();return}K===">"&&(n(ge,{after:S})||Fe.ignoreMatch());let ue;const R=ge.input.substring(S);if(ue=R.match(/^\s*=/)){Fe.ignoreMatch();return}if((ue=R.match(/^\s+extends\s+/))&&ue.index===0){Fe.ignoreMatch();return}}},d={$pattern:i3,keyword:ZC,literal:JC,built_in:tO,"variable.language":eO},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"}},I={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,T]},M={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]},z=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,v,A,k,I,{match:/\$\d+/},b];T.contains=z.concat({begin:/\{/,end:/\}/,keywords:d,contains:["self"].concat(z)});const $=[].concat(M,T.contains),Y=$.concat([{begin:/(\s*)\(/,end:/\)/,keywords:d,contains:["self"].concat($)}]),L={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:d,contains:Y},re={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"}}]},X={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:{_:[...C5,...O5]}},ee={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},q={variants:[{match:[/function/,/\s+/,a,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[L],illegal:/%/},ce={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function J(ge){return t.concat("(?!",ge.join("|"),")")}const ve={match:t.concat(/\b/,J([...R5,"super","import"].map(ge=>`${ge}\\s*\\(`)),a,t.lookahead(/\s*\(/)),className:"title.function",relevance:0},he={begin:t.concat(/\./,t.lookahead(t.concat(a,/(?![0-9A-Za-z$_(])/))),end:a,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},be={match:[/get|set/,/\s+/,a,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},L]},W="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",de={match:[/const|var|let/,/\s+/,a,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(W)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[L]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:d,exports:{PARAMS_CONTAINS:Y,CLASS_REFERENCE:X},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),ee,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,v,A,k,I,M,{match:/\$\d+/},b,X,{scope:"attr",match:a+t.lookahead(":"),relevance:0},de,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[M,e.REGEXP_MODE,{className:"function",begin:W,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:Y}]}]},{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"]}]}]},q,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[L,e.inherit(e.TITLE_MODE,{begin:a,className:"title.function"})]},{match:/\.\.\./,relevance:0},he,{match:"\\$"+a,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[L]},ve,ce,re,be,{match:/\$[(.]/}]}}function rO(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 Tl="[0-9](_*[0-9])*",Jc=`\\.(${Tl})`,e0="[0-9a-fA-F](_*[0-9a-fA-F])*",aO={className:"number",variants:[{begin:`(\\b(${Tl})((${Jc})|\\.)?|(${Jc}))[eE][+-]?(${Tl})[fFdD]?\\b`},{begin:`\\b(${Tl})((${Jc})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${Jc})[fFdD]?\\b`},{begin:`\\b(${Tl})[fFdD]\\b`},{begin:`\\b0[xX]((${e0})\\.?|(${e0})?\\.(${e0}))[pP][+-]?(${Tl})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${e0})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function iO(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=aO,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 sO=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_-]*/}}),lO=["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"],uO=["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"],oO=[...lO,...uO],cO=["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(),M5=["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(),D5=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),dO=["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(),fO=M5.concat(D5).sort().reverse();function hO(e){const t=sO(e),n=fO,a="and or not only",s="[\\w-]+",l="("+s+"|@\\{"+s+"\\})",o=[],d=[],f=function(z){return{className:"string",begin:"~?"+z+".*?"+z}},h=function(z,$,Y){return{className:z,begin:$,relevance:Y}},p={$pattern:/[a-z-]+/,keyword:a,attribute:cO.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("+dO.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}},I={className:"variable",variants:[{begin:"@"+s+"\\s*:",relevance:15},{begin:"@"+s}],starts:{end:"[;}]",returnEnd:!0,contains:T}},N={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("+oO.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:":("+M5.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+D5.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:T},{begin:"!important"},t.FUNCTION_DISPATCH]},M={begin:s+`:(:)?(${n.join("|")})`,returnBegin:!0,contains:[N]};return o.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,k,I,M,A,N,v,t.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:o}}function mO(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 pO(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 gO(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(N=>{N.contains=N.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 bO(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 EO(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,I,N="\\1")=>{const M=N==="\\1"?N:t.concat(N,I);return t.concat(t.concat("(?:",k,")"),I,/(?:\\.|[^\\\/])*?/,M,/(?:\\.|[^\\\/])*?/,N,a)},v=(k,I,N)=>t.concat(t.concat("(?:",k,")"),I,/(?:\\.|[^\\\/])*?/,N,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 yO(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":(he,be)=>{be.data._beginMatch=he[1]||he[2]},"on:end":(he,be)=>{be.data._beginMatch!==he[1]&&be.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},I=["false","null","true"],N=["__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"],M=["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"],$={keyword:N,literal:(he=>{const be=[];return he.forEach(W=>{be.push(W),W.toLowerCase()===W?be.push(W.toUpperCase()):be.push(W.toLowerCase())}),be})(I),built_in:M},Y=he=>he.map(be=>be.replace(/\|\d+$/,"")),L={variants:[{match:[/new/,t.concat(v,"+"),t.concat("(?!",Y(M).join("\\b|"),"\\b)"),s],scope:{1:"keyword",4:"title.class"}}]},re=t.concat(a,"\\b(?!\\()"),X={variants:[{match:[t.concat(/::/,t.lookahead(/(?!class\b)/)),re],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[s,t.concat(/::/,t.lookahead(/(?!class\b)/)),re],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"}}]},ee={scope:"attr",match:t.concat(a,t.lookahead(":"),t.lookahead(/(?!::)/))},q={relevance:0,begin:/\(/,end:/\)/,keywords:$,contains:[ee,o,X,e.C_BLOCK_COMMENT_MODE,A,k,L]},ce={relevance:0,match:[/\b/,t.concat("(?!fn\\b|function\\b|",Y(N).join("\\b|"),"|",Y(M).join("\\b|"),"\\b)"),a,t.concat(v,"*"),t.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[q]};q.contains.push(ce);const J=[ee,X,e.C_BLOCK_COMMENT_MODE,A,k,L],ve={begin:t.concat(/#\[\s*\\?/,t.either(s,l)),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:I,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:I,keyword:["new","array"]},contains:["self",...J]},...J,{scope:"meta",variants:[{match:s},{match:l}]}]};return{case_insensitive:!1,keywords:$,contains:[ve,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,ce,X,{match:[/const/,/\s/,a],scope:{1:"keyword",3:"variable.constant"}},L,{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:$,contains:["self",ve,o,X,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 vO(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 TO(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}function _O(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})`}]},I={className:"comment",begin:t.lookahead(/# type:/),end:/$/,keywords:d,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},N={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,I,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[N]},{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,N,b]}]}}function SO(e){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}function xO(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 AO(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}]},L=[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=L,k.contains=L;const q=[{begin:/^\s*=>/,starts:{end:"$",contains:L}},{className:"meta.prompt",begin:"^("+"[>?]>"+"|"+"[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]"+"|"+"(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>"+")(?=[ ])",starts:{end:"$",keywords:o,contains:L}}];return h.unshift(f),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:o,illegal:/\/\*/,contains:[e.SHEBANG({binary:"ruby"})].concat(q).concat(h).concat(L)}}function wO(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 kO=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_-]*/}}),NO=["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"],CO=["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"],OO=[...NO,...CO],RO=["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(),MO=["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(),DO=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),IO=["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 LO(e){const t=kO(e),n=DO,a=MO,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("+OO.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("+IO.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:RO.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 BO(e){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}function PO(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(Y=>!p.includes(Y)),k={scope:"variable",match:/@[a-z0-9][a-z0-9_]*/},I={scope:"operator",match:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},N={match:t.concat(/\b/,t.either(...v),/\s*\(/),relevance:0,keywords:{built_in:v}};function M(Y){return t.concat(/\b/,t.either(...Y.map(L=>L.replace(/\s+/,"\\s+"))),/\b/)}const z={scope:"keyword",match:M(T),relevance:0};function $(Y,{exceptions:L,when:re}={}){const X=re;return L=L||[],Y.map(ee=>ee.match(/\|\d+$/)||L.includes(ee)?ee:X(ee)?`${ee}|0`:ee)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:$(A,{when:Y=>Y.length<3}),literal:l,type:d,built_in:b},contains:[{scope:"type",match:M(o)},z,N,k,a,s,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,I]}}function I5(e){return e?typeof e=="string"?e:e.source:null}function Wu(e){return qt("(?=",e,")")}function qt(...e){return e.map(n=>I5(n)).join("")}function UO(e){const t=e[e.length-1];return typeof t=="object"&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function ar(...e){return"("+(UO(e).capture?"":"?:")+e.map(a=>I5(a)).join("|")+")"}const Pm=e=>qt(/\b/,e,/\w$/.test(e)?/\b/:/\B/),zO=["Protocol","Type"].map(Pm),s3=["init","self"].map(Pm),FO=["Any","Self"],Fh=["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"],l3=["false","nil","true"],HO=["assignment","associativity","higherThan","left","lowerThan","none","right"],qO=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],u3=["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"],L5=ar(/[/=\-+!*%<>&|^~?]/,/[\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]/),B5=ar(L5,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),Hh=qt(L5,B5,"*"),P5=ar(/[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]/),R0=ar(P5,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),_a=qt(P5,R0,"*"),t0=qt(/[A-Z]/,R0,"*"),YO=["attached","autoclosure",qt(/convention\(/,ar("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",qt(/objc\(/,_a,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],GO=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function jO(e){const t={match:/\s+/,relevance:0},n=e.COMMENT("/\\*","\\*/",{contains:["self"]}),a=[e.C_LINE_COMMENT_MODE,n],s={match:[/\./,ar(...zO,...s3)],className:{2:"keyword"}},l={match:qt(/\./,ar(...Fh)),relevance:0},o=Fh.filter(Ke=>typeof Ke=="string").concat(["_|0"]),d=Fh.filter(Ke=>typeof Ke!="string").concat(FO).map(Pm),f={variants:[{className:"keyword",match:ar(...d,...s3)}]},h={$pattern:ar(/\b\w+/,/#\w+/),keyword:o.concat(qO),literal:l3},p=[s,l,f],b={match:qt(/\./,ar(...u3)),relevance:0},T={className:"built_in",match:qt(/\b/,ar(...u3),/(?=\()/)},v=[b,T],A={match:/->/,relevance:0},k={className:"operator",relevance:0,variants:[{match:Hh},{match:`\\.(\\.|${B5})+`}]},I=[A,k],N="([0-9]_*)+",M="([0-9a-fA-F]_*)+",z={className:"number",relevance:0,variants:[{match:`\\b(${N})(\\.(${N}))?([eE][+-]?(${N}))?\\b`},{match:`\\b0x(${M})(\\.(${M}))?([pP][+-]?(${N}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},$=(Ke="")=>({className:"subst",variants:[{match:qt(/\\/,Ke,/[0\\tnr"']/)},{match:qt(/\\/,Ke,/u\{[0-9a-fA-F]{1,8}\}/)}]}),Y=(Ke="")=>({className:"subst",match:qt(/\\/,Ke,/[\t ]*(?:[\r\n]|\r\n)/)}),L=(Ke="")=>({className:"subst",label:"interpol",begin:qt(/\\/,Ke,/\(/),end:/\)/}),re=(Ke="")=>({begin:qt(Ke,/"""/),end:qt(/"""/,Ke),contains:[$(Ke),Y(Ke),L(Ke)]}),X=(Ke="")=>({begin:qt(Ke,/"/),end:qt(/"/,Ke),contains:[$(Ke),L(Ke)]}),ee={className:"string",variants:[re(),re("#"),re("##"),re("###"),X(),X("#"),X("##"),X("###")]},q=[e.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[e.BACKSLASH_ESCAPE]}],ce={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:q},J=Ke=>{const xt=qt(Ke,/\//),an=qt(/\//,Ke);return{begin:xt,end:an,contains:[...q,{scope:"comment",begin:`#(?!.*${an})`,end:/$/}]}},ve={scope:"regexp",variants:[J("###"),J("##"),J("#"),ce]},he={match:qt(/`/,_a,/`/)},be={className:"variable",match:/\$\d+/},W={className:"variable",match:`\\$${R0}+`},de=[he,be,W],ge={match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:GO,contains:[...I,z,ee]}]}},Fe={scope:"keyword",match:qt(/@/,ar(...YO),Wu(ar(/\(/,/\s+/)))},S={scope:"meta",match:qt(/@/,_a)},K=[ge,Fe,S],ue={match:Wu(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:qt(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,R0,"+")},{className:"type",match:t0,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:qt(/\s+&\s+/,Wu(t0)),relevance:0}]},R={begin:/</,end:/>/,keywords:h,contains:[...a,...p,...K,A,ue]};ue.contains.push(R);const Ae={match:qt(_a,/\s*:/),keywords:"_|0",relevance:0},Pe={begin:/\(/,end:/\)/,relevance:0,keywords:h,contains:["self",Ae,...a,ve,...p,...v,...I,z,ee,...de,...K,ue]},we={begin:/</,end:/>/,keywords:"repeat each",contains:[...a,ue]},wt={begin:ar(Wu(qt(_a,/\s*:/)),Wu(qt(_a,/\s+/,_a,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:_a}]},st={begin:/\(/,end:/\)/,keywords:h,contains:[wt,...a,...p,...I,z,ee,...K,ue,Pe],endsParent:!0,illegal:/["']/},Wt={match:[/(func|macro)/,/\s+/,ar(he.match,_a,Hh)],className:{1:"keyword",3:"title.function"},contains:[we,st,t],illegal:[/\[/,/%/]},Pt={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[we,st,t],illegal:/\[|%/},In={match:[/operator/,/\s+/,Hh],className:{1:"keyword",3:"title"}},zr={begin:[/precedencegroup/,/\s+/,t0],className:{1:"keyword",3:"title"},contains:[ue],keywords:[...HO,...l3],end:/}/},vt={match:[/class\b/,/\s+/,/func\b/,/\s+/,/\b[A-Za-z_][A-Za-z0-9_]*\b/],scope:{1:"keyword",3:"keyword",5:"title.function"}},mt={match:[/class\b/,/\s+/,/var\b/],scope:{1:"keyword",3:"keyword"}},Ut={begin:[/(struct|protocol|class|extension|enum|actor)/,/\s+/,_a,/\s*/],beginScope:{1:"keyword",3:"title.class"},keywords:h,contains:[we,...p,{begin:/:/,end:/\{/,keywords:h,contains:[{scope:"title.class.inherited",match:t0},...p],relevance:0}]};for(const Ke of ee.variants){const xt=Ke.contains.find(Nt=>Nt.label==="interpol");xt.keywords=h;const an=[...p,...v,...I,z,ee,...de];xt.contains=[...an,{begin:/\(/,end:/\)/,contains:["self",...an]}]}return{name:"Swift",keywords:h,contains:[...a,Wt,Pt,vt,mt,Ut,In,zr,{beginKeywords:"import",end:/$/,contains:[...a],relevance:0},ve,...p,...v,...I,z,ee,...de,...K,ue,Pe]}}const M0="[A-Za-z$_][0-9A-Za-z$_]*",U5=["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"],z5=["true","false","null","undefined","NaN","Infinity"],F5=["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"],H5=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],q5=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],Y5=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],G5=[].concat(q5,F5,H5);function VO(e){const t=e.regex,n=(ge,{after:Fe})=>{const S="</"+ge[0].slice(1);return ge.input.indexOf(S,Fe)!==-1},a=M0,s={begin:"<>",end:"</>"},l=/<[A-Za-z0-9\\._:-]+\s*\/>/,o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(ge,Fe)=>{const S=ge[0].length+ge.index,K=ge.input[S];if(K==="<"||K===","){Fe.ignoreMatch();return}K===">"&&(n(ge,{after:S})||Fe.ignoreMatch());let ue;const R=ge.input.substring(S);if(ue=R.match(/^\s*=/)){Fe.ignoreMatch();return}if((ue=R.match(/^\s+extends\s+/))&&ue.index===0){Fe.ignoreMatch();return}}},d={$pattern:M0,keyword:U5,literal:z5,built_in:G5,"variable.language":Y5},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"}},I={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,T]},M={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]},z=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,v,A,k,I,{match:/\$\d+/},b];T.contains=z.concat({begin:/\{/,end:/\}/,keywords:d,contains:["self"].concat(z)});const $=[].concat(M,T.contains),Y=$.concat([{begin:/(\s*)\(/,end:/\)/,keywords:d,contains:["self"].concat($)}]),L={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:d,contains:Y},re={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"}}]},X={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:{_:[...F5,...H5]}},ee={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},q={variants:[{match:[/function/,/\s+/,a,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[L],illegal:/%/},ce={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function J(ge){return t.concat("(?!",ge.join("|"),")")}const ve={match:t.concat(/\b/,J([...q5,"super","import"].map(ge=>`${ge}\\s*\\(`)),a,t.lookahead(/\s*\(/)),className:"title.function",relevance:0},he={begin:t.concat(/\./,t.lookahead(t.concat(a,/(?![0-9A-Za-z$_(])/))),end:a,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},be={match:[/get|set/,/\s+/,a,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},L]},W="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",de={match:[/const|var|let/,/\s+/,a,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(W)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[L]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:d,exports:{PARAMS_CONTAINS:Y,CLASS_REFERENCE:X},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),ee,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,v,A,k,I,M,{match:/\$\d+/},b,X,{scope:"attr",match:a+t.lookahead(":"),relevance:0},de,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[M,e.REGEXP_MODE,{className:"function",begin:W,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:Y}]}]},{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"]}]}]},q,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[L,e.inherit(e.TITLE_MODE,{begin:a,className:"title.function"})]},{match:/\.\.\./,relevance:0},he,{match:"\\$"+a,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[L]},ve,ce,re,be,{match:/\$[(.]/}]}}function KO(e){const t=e.regex,n=VO(e),a=M0,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:M0,keyword:U5.concat(f),literal:z5,built_in:G5.concat(s),"variable.language":Y5},p={className:"meta",begin:"@"+a},b=(k,I,N)=>{const M=k.contains.findIndex(z=>z.label===I);if(M===-1)throw new Error("can not find mode to replace");k.contains.splice(M,1,N)};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 $O(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 XO(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 WO(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 QO(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},I=[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],N=[...I];return N.pop(),N.push(d),v.contains=N,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:I}}const ZO={arduino:DC,bash:IC,c:LC,cpp:BC,csharp:PC,css:VC,diff:KC,go:$C,graphql:XC,ini:WC,java:QC,javascript:nO,json:rO,kotlin:iO,less:hO,lua:mO,makefile:pO,markdown:gO,objectivec:bO,perl:EO,php:yO,"php-template":vO,plaintext:TO,python:_O,"python-repl":SO,r:xO,ruby:AO,rust:wO,scss:LO,shell:BO,sql:PO,swift:jO,typescript:KO,vbnet:$O,wasm:XO,xml:WO,yaml:QO};var qh,o3;function JO(){if(o3)return qh;o3=1;function e(G){return G instanceof Map?G.clear=G.delete=G.set=function(){throw new Error("map is read-only")}:G instanceof Set&&(G.add=G.clear=G.delete=function(){throw new Error("set is read-only")}),Object.freeze(G),Object.getOwnPropertyNames(G).forEach(Ee=>{const Le=G[Ee],rt=typeof Le;(rt==="object"||rt==="function")&&!Object.isFrozen(Le)&&e(Le)}),G}class t{constructor(Ee){Ee.data===void 0&&(Ee.data={}),this.data=Ee.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function n(G){return G.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function a(G,...Ee){const Le=Object.create(null);for(const rt in G)Le[rt]=G[rt];return Ee.forEach(function(rt){for(const Jt in rt)Le[Jt]=rt[Jt]}),Le}const s="</span>",l=G=>!!G.scope,o=(G,{prefix:Ee})=>{if(G.startsWith("language:"))return G.replace("language:","language-");if(G.includes(".")){const Le=G.split(".");return[`${Ee}${Le.shift()}`,...Le.map((rt,Jt)=>`${rt}${"_".repeat(Jt+1)}`)].join(" ")}return`${Ee}${G}`};class d{constructor(Ee,Le){this.buffer="",this.classPrefix=Le.classPrefix,Ee.walk(this)}addText(Ee){this.buffer+=n(Ee)}openNode(Ee){if(!l(Ee))return;const Le=o(Ee.scope,{prefix:this.classPrefix});this.span(Le)}closeNode(Ee){l(Ee)&&(this.buffer+=s)}value(){return this.buffer}span(Ee){this.buffer+=`<span class="${Ee}">`}}const f=(G={})=>{const Ee={children:[]};return Object.assign(Ee,G),Ee};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(Ee){this.top.children.push(Ee)}openNode(Ee){const Le=f({scope:Ee});this.add(Le),this.stack.push(Le)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(Ee){return this.constructor._walk(Ee,this.rootNode)}static _walk(Ee,Le){return typeof Le=="string"?Ee.addText(Le):Le.children&&(Ee.openNode(Le),Le.children.forEach(rt=>this._walk(Ee,rt)),Ee.closeNode(Le)),Ee}static _collapse(Ee){typeof Ee!="string"&&Ee.children&&(Ee.children.every(Le=>typeof Le=="string")?Ee.children=[Ee.children.join("")]:Ee.children.forEach(Le=>{h._collapse(Le)}))}}class p extends h{constructor(Ee){super(),this.options=Ee}addText(Ee){Ee!==""&&this.add(Ee)}startScope(Ee){this.openNode(Ee)}endScope(){this.closeNode()}__addSublanguage(Ee,Le){const rt=Ee.root;Le&&(rt.scope=`language:${Le}`),this.add(rt)}toHTML(){return new d(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function b(G){return G?typeof G=="string"?G:G.source:null}function T(G){return k("(?=",G,")")}function v(G){return k("(?:",G,")*")}function A(G){return k("(?:",G,")?")}function k(...G){return G.map(Le=>b(Le)).join("")}function I(G){const Ee=G[G.length-1];return typeof Ee=="object"&&Ee.constructor===Object?(G.splice(G.length-1,1),Ee):{}}function N(...G){return"("+(I(G).capture?"":"?:")+G.map(rt=>b(rt)).join("|")+")"}function M(G){return new RegExp(G.toString()+"|").exec("").length-1}function z(G,Ee){const Le=G&&G.exec(Ee);return Le&&Le.index===0}const $=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function Y(G,{joinWith:Ee}){let Le=0;return G.map(rt=>{Le+=1;const Jt=Le;let sn=b(rt),He="";for(;sn.length>0;){const Ie=$.exec(sn);if(!Ie){He+=sn;break}He+=sn.substring(0,Ie.index),sn=sn.substring(Ie.index+Ie[0].length),Ie[0][0]==="\\"&&Ie[1]?He+="\\"+String(Number(Ie[1])+Jt):(He+=Ie[0],Ie[0]==="("&&Le++)}return He}).map(rt=>`(${rt})`).join(Ee)}const L=/\b\B/,re="[a-zA-Z]\\w*",X="[a-zA-Z_]\\w*",ee="\\b\\d+(\\.\\d+)?",q="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",ce="\\b(0b[01]+)",J="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",ve=(G={})=>{const Ee=/^#![ ]*\//;return G.binary&&(G.begin=k(Ee,/.*\b/,G.binary,/\b.*/)),a({scope:"meta",begin:Ee,end:/$/,relevance:0,"on:begin":(Le,rt)=>{Le.index!==0&&rt.ignoreMatch()}},G)},he={begin:"\\\\[\\s\\S]",relevance:0},be={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[he]},W={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[he]},de={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/},ge=function(G,Ee,Le={}){const rt=a({scope:"comment",begin:G,end:Ee,contains:[]},Le);rt.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 Jt=N("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 rt.contains.push({begin:k(/[ ]+/,"(",Jt,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),rt},Fe=ge("//","$"),S=ge("/\\*","\\*/"),K=ge("#","$"),ue={scope:"number",begin:ee,relevance:0},R={scope:"number",begin:q,relevance:0},Ae={scope:"number",begin:ce,relevance:0},Pe={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[he,{begin:/\[/,end:/\]/,relevance:0,contains:[he]}]},we={scope:"title",begin:re,relevance:0},wt={scope:"title",begin:X,relevance:0},st={begin:"\\.\\s*"+X,relevance:0};var Pt=Object.freeze({__proto__:null,APOS_STRING_MODE:be,BACKSLASH_ESCAPE:he,BINARY_NUMBER_MODE:Ae,BINARY_NUMBER_RE:ce,COMMENT:ge,C_BLOCK_COMMENT_MODE:S,C_LINE_COMMENT_MODE:Fe,C_NUMBER_MODE:R,C_NUMBER_RE:q,END_SAME_AS_BEGIN:function(G){return Object.assign(G,{"on:begin":(Ee,Le)=>{Le.data._beginMatch=Ee[1]},"on:end":(Ee,Le)=>{Le.data._beginMatch!==Ee[1]&&Le.ignoreMatch()}})},HASH_COMMENT_MODE:K,IDENT_RE:re,MATCH_NOTHING_RE:L,METHOD_GUARD:st,NUMBER_MODE:ue,NUMBER_RE:ee,PHRASAL_WORDS_MODE:de,QUOTE_STRING_MODE:W,REGEXP_MODE:Pe,RE_STARTERS_RE:J,SHEBANG:ve,TITLE_MODE:we,UNDERSCORE_IDENT_RE:X,UNDERSCORE_TITLE_MODE:wt});function In(G,Ee){G.input[G.index-1]==="."&&Ee.ignoreMatch()}function zr(G,Ee){G.className!==void 0&&(G.scope=G.className,delete G.className)}function vt(G,Ee){Ee&&G.beginKeywords&&(G.begin="\\b("+G.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",G.__beforeBegin=In,G.keywords=G.keywords||G.beginKeywords,delete G.beginKeywords,G.relevance===void 0&&(G.relevance=0))}function mt(G,Ee){Array.isArray(G.illegal)&&(G.illegal=N(...G.illegal))}function Ut(G,Ee){if(G.match){if(G.begin||G.end)throw new Error("begin & end are not supported with match");G.begin=G.match,delete G.match}}function Ke(G,Ee){G.relevance===void 0&&(G.relevance=1)}const xt=(G,Ee)=>{if(!G.beforeMatch)return;if(G.starts)throw new Error("beforeMatch cannot be used with starts");const Le=Object.assign({},G);Object.keys(G).forEach(rt=>{delete G[rt]}),G.keywords=Le.keywords,G.begin=k(Le.beforeMatch,T(Le.begin)),G.starts={relevance:0,contains:[Object.assign(Le,{endsParent:!0})]},G.relevance=0,delete Le.beforeMatch},an=["of","and","for","in","not","or","if","then","parent","list","value"],Nt="keyword";function Zt(G,Ee,Le=Nt){const rt=Object.create(null);return typeof G=="string"?Jt(Le,G.split(" ")):Array.isArray(G)?Jt(Le,G):Object.keys(G).forEach(function(sn){Object.assign(rt,Zt(G[sn],Ee,sn))}),rt;function Jt(sn,He){Ee&&(He=He.map(Ie=>Ie.toLowerCase())),He.forEach(function(Ie){const je=Ie.split("|");rt[je[0]]=[sn,Ln(je[0],je[1])]})}}function Ln(G,Ee){return Ee?Number(Ee):di(G)?0:1}function di(G){return an.includes(G.toLowerCase())}const pa={},cr=G=>{console.error(G)},Cn=(G,...Ee)=>{console.log(`WARN: ${G}`,...Ee)},oe=(G,Ee)=>{pa[`${G}/${Ee}`]||(console.log(`Deprecated as of ${G}. ${Ee}`),pa[`${G}/${Ee}`]=!0)},Se=new Error;function $e(G,Ee,{key:Le}){let rt=0;const Jt=G[Le],sn={},He={};for(let Ie=1;Ie<=Ee.length;Ie++)He[Ie+rt]=Jt[Ie],sn[Ie+rt]=!0,rt+=M(Ee[Ie-1]);G[Le]=He,G[Le]._emit=sn,G[Le]._multi=!0}function Qe(G){if(Array.isArray(G.begin)){if(G.skip||G.excludeBegin||G.returnBegin)throw cr("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),Se;if(typeof G.beginScope!="object"||G.beginScope===null)throw cr("beginScope must be object"),Se;$e(G,G.begin,{key:"beginScope"}),G.begin=Y(G.begin,{joinWith:""})}}function Rt(G){if(Array.isArray(G.end)){if(G.skip||G.excludeEnd||G.returnEnd)throw cr("skip, excludeEnd, returnEnd not compatible with endScope: {}"),Se;if(typeof G.endScope!="object"||G.endScope===null)throw cr("endScope must be object"),Se;$e(G,G.end,{key:"endScope"}),G.end=Y(G.end,{joinWith:""})}}function Zn(G){G.scope&&typeof G.scope=="object"&&G.scope!==null&&(G.beginScope=G.scope,delete G.scope)}function aa(G){Zn(G),typeof G.beginScope=="string"&&(G.beginScope={_wrap:G.beginScope}),typeof G.endScope=="string"&&(G.endScope={_wrap:G.endScope}),Qe(G),Rt(G)}function jn(G){function Ee(He,Ie){return new RegExp(b(He),"m"+(G.case_insensitive?"i":"")+(G.unicodeRegex?"u":"")+(Ie?"g":""))}class Le{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(Ie,je){je.position=this.position++,this.matchIndexes[this.matchAt]=je,this.regexes.push([je,Ie]),this.matchAt+=M(Ie)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const Ie=this.regexes.map(je=>je[1]);this.matcherRe=Ee(Y(Ie,{joinWith:"|"}),!0),this.lastIndex=0}exec(Ie){this.matcherRe.lastIndex=this.lastIndex;const je=this.matcherRe.exec(Ie);if(!je)return null;const Qt=je.findIndex((ns,Vl)=>Vl>0&&ns!==void 0),en=this.matchIndexes[Qt];return je.splice(0,Qt),Object.assign(je,en)}}class rt{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(Ie){if(this.multiRegexes[Ie])return this.multiRegexes[Ie];const je=new Le;return this.rules.slice(Ie).forEach(([Qt,en])=>je.addRule(Qt,en)),je.compile(),this.multiRegexes[Ie]=je,je}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(Ie,je){this.rules.push([Ie,je]),je.type==="begin"&&this.count++}exec(Ie){const je=this.getMatcher(this.regexIndex);je.lastIndex=this.lastIndex;let Qt=je.exec(Ie);if(this.resumingScanAtSamePosition()&&!(Qt&&Qt.index===this.lastIndex)){const en=this.getMatcher(0);en.lastIndex=this.lastIndex+1,Qt=en.exec(Ie)}return Qt&&(this.regexIndex+=Qt.position+1,this.regexIndex===this.count&&this.considerAll()),Qt}}function Jt(He){const Ie=new rt;return He.contains.forEach(je=>Ie.addRule(je.begin,{rule:je,type:"begin"})),He.terminatorEnd&&Ie.addRule(He.terminatorEnd,{type:"end"}),He.illegal&&Ie.addRule(He.illegal,{type:"illegal"}),Ie}function sn(He,Ie){const je=He;if(He.isCompiled)return je;[zr,Ut,aa,xt].forEach(en=>en(He,Ie)),G.compilerExtensions.forEach(en=>en(He,Ie)),He.__beforeBegin=null,[vt,mt,Ke].forEach(en=>en(He,Ie)),He.isCompiled=!0;let Qt=null;return typeof He.keywords=="object"&&He.keywords.$pattern&&(He.keywords=Object.assign({},He.keywords),Qt=He.keywords.$pattern,delete He.keywords.$pattern),Qt=Qt||/\w+/,He.keywords&&(He.keywords=Zt(He.keywords,G.case_insensitive)),je.keywordPatternRe=Ee(Qt,!0),Ie&&(He.begin||(He.begin=/\B|\b/),je.beginRe=Ee(je.begin),!He.end&&!He.endsWithParent&&(He.end=/\B|\b/),He.end&&(je.endRe=Ee(je.end)),je.terminatorEnd=b(je.end)||"",He.endsWithParent&&Ie.terminatorEnd&&(je.terminatorEnd+=(He.end?"|":"")+Ie.terminatorEnd)),He.illegal&&(je.illegalRe=Ee(He.illegal)),He.contains||(He.contains=[]),He.contains=[].concat(...He.contains.map(function(en){return Jn(en==="self"?He:en)})),He.contains.forEach(function(en){sn(en,je)}),He.starts&&sn(He.starts,Ie),je.matcher=Jt(je),je}if(G.compilerExtensions||(G.compilerExtensions=[]),G.contains&&G.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return G.classNameAliases=a(G.classNameAliases||{}),sn(G)}function Sr(G){return G?G.endsWithParent||Sr(G.starts):!1}function Jn(G){return G.variants&&!G.cachedVariants&&(G.cachedVariants=G.variants.map(function(Ee){return a(G,{variants:null},Ee)})),G.cachedVariants?G.cachedVariants:Sr(G)?a(G,{starts:G.starts?a(G.starts):null}):Object.isFrozen(G)?a(G):G}var Tn="11.11.1";class dr extends Error{constructor(Ee,Le){super(Ee),this.name="HTMLInjectionError",this.html=Le}}const er=n,Yl=a,Gl=Symbol("nomatch"),jl=7,fi=function(G){const Ee=Object.create(null),Le=Object.create(null),rt=[];let Jt=!0;const sn="Could not find the language '{}', did you forget to load/include a language module?",He={disableAutodetect:!0,name:"Plain text",contains:[]};let Ie={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:p};function je(Oe){return Ie.noHighlightRe.test(Oe)}function Qt(Oe){let Xe=Oe.className+" ";Xe+=Oe.parentNode?Oe.parentNode.className:"";const ot=Ie.languageDetectRe.exec(Xe);if(ot){const Dt=tr(ot[1]);return Dt||(Cn(sn.replace("{}",ot[1])),Cn("Falling back to no-highlight mode for this block.",Oe)),Dt?ot[1]:"no-highlight"}return Xe.split(/\s+/).find(Dt=>je(Dt)||tr(Dt))}function en(Oe,Xe,ot){let Dt="",un="";typeof Xe=="object"?(Dt=Oe,ot=Xe.ignoreIllegals,un=Xe.language):(oe("10.7.0","highlight(lang, code, ...args) has been deprecated."),oe("10.7.0",`Please use highlight(code, options) instead.
83
+ https://github.com/highlightjs/highlight.js/issues/2277`),un=Oe,Dt=Xe),ot===void 0&&(ot=!0);const xr={code:Dt,language:un};Pa("before:highlight",xr);const sa=xr.result?xr.result:ns(xr.language,xr.code,ot);return sa.code=xr.code,Pa("after:highlight",sa),sa}function ns(Oe,Xe,ot,Dt){const un=Object.create(null);function xr(Ue,Ye){return Ue.keywords[Ye]}function sa(){if(!ut.keywords){_n.addText(It);return}let Ue=0;ut.keywordPatternRe.lastIndex=0;let Ye=ut.keywordPatternRe.exec(It),lt="";for(;Ye;){lt+=It.substring(Ue,Ye.index);const Ct=Ar.case_insensitive?Ye[0].toLowerCase():Ye[0],Sn=xr(ut,Ct);if(Sn){const[Hr,os]=Sn;if(_n.addText(lt),lt="",un[Ct]=(un[Ct]||0)+1,un[Ct]<=jl&&(zs+=os),Hr.startsWith("_"))lt+=Ye[0];else{const la=Ar.classNameAliases[Hr]||Hr;Fr(Ye[0],la)}}else lt+=Ye[0];Ue=ut.keywordPatternRe.lastIndex,Ye=ut.keywordPatternRe.exec(It)}lt+=It.substring(Ue),_n.addText(lt)}function Hn(){if(It==="")return;let Ue=null;if(typeof ut.subLanguage=="string"){if(!Ee[ut.subLanguage]){_n.addText(It);return}Ue=ns(ut.subLanguage,It,!0,Wl[ut.subLanguage]),Wl[ut.subLanguage]=Ue._top}else Ue=Ps(It,ut.subLanguage.length?ut.subLanguage:null);ut.relevance>0&&(zs+=Ue.relevance),_n.__addSublanguage(Ue._emitter,Ue.language)}function Vn(){ut.subLanguage!=null?Hn():sa(),It=""}function Fr(Ue,Ye){Ue!==""&&(_n.startScope(Ye),_n.addText(Ue),_n.endScope())}function ss(Ue,Ye){let lt=1;const Ct=Ye.length-1;for(;lt<=Ct;){if(!Ue._emit[lt]){lt++;continue}const Sn=Ar.classNameAliases[Ue[lt]]||Ue[lt],Hr=Ye[lt];Sn?Fr(Hr,Sn):(It=Hr,sa(),It=""),lt++}}function $l(Ue,Ye){return Ue.scope&&typeof Ue.scope=="string"&&_n.openNode(Ar.classNameAliases[Ue.scope]||Ue.scope),Ue.beginScope&&(Ue.beginScope._wrap?(Fr(It,Ar.classNameAliases[Ue.beginScope._wrap]||Ue.beginScope._wrap),It=""):Ue.beginScope._multi&&(ss(Ue.beginScope,Ye),It="")),ut=Object.create(Ue,{parent:{value:ut}}),ut}function ls(Ue,Ye,lt){let Ct=z(Ue.endRe,lt);if(Ct){if(Ue["on:end"]){const Sn=new t(Ue);Ue["on:end"](Ye,Sn),Sn.isMatchIgnored&&(Ct=!1)}if(Ct){for(;Ue.endsParent&&Ue.parent;)Ue=Ue.parent;return Ue}}if(Ue.endsWithParent)return ls(Ue.parent,Ye,lt)}function pd(Ue){return ut.matcher.regexIndex===0?(It+=Ue[0],1):(us=!0,0)}function fr(Ue){const Ye=Ue[0],lt=Ue.rule,Ct=new t(lt),Sn=[lt.__beforeBegin,lt["on:begin"]];for(const Hr of Sn)if(Hr&&(Hr(Ue,Ct),Ct.isMatchIgnored))return pd(Ye);return lt.skip?It+=Ye:(lt.excludeBegin&&(It+=Ye),Vn(),!lt.returnBegin&&!lt.excludeBegin&&(It=Ye)),$l(lt,Ue),lt.returnBegin?0:Ye.length}function Xl(Ue){const Ye=Ue[0],lt=Xe.substring(Ue.index),Ct=ls(ut,Ue,lt);if(!Ct)return Gl;const Sn=ut;ut.endScope&&ut.endScope._wrap?(Vn(),Fr(Ye,ut.endScope._wrap)):ut.endScope&&ut.endScope._multi?(Vn(),ss(ut.endScope,Ue)):Sn.skip?It+=Ye:(Sn.returnEnd||Sn.excludeEnd||(It+=Ye),Vn(),Sn.excludeEnd&&(It=Ye));do ut.scope&&_n.closeNode(),!ut.skip&&!ut.subLanguage&&(zs+=ut.relevance),ut=ut.parent;while(ut!==Ct.parent);return Ct.starts&&$l(Ct.starts,Ue),Sn.returnEnd?0:Ye.length}function zo(){const Ue=[];for(let Ye=ut;Ye!==Ar;Ye=Ye.parent)Ye.scope&&Ue.unshift(Ye.scope);Ue.forEach(Ye=>_n.openNode(Ye))}let gi={};function Ua(Ue,Ye){const lt=Ye&&Ye[0];if(It+=Ue,lt==null)return Vn(),0;if(gi.type==="begin"&&Ye.type==="end"&&gi.index===Ye.index&&lt===""){if(It+=Xe.slice(Ye.index,Ye.index+1),!Jt){const Ct=new Error(`0 width match regex (${Oe})`);throw Ct.languageName=Oe,Ct.badRule=gi.rule,Ct}return 1}if(gi=Ye,Ye.type==="begin")return fr(Ye);if(Ye.type==="illegal"&&!ot){const Ct=new Error('Illegal lexeme "'+lt+'" for mode "'+(ut.scope||"<unnamed>")+'"');throw Ct.mode=ut,Ct}else if(Ye.type==="end"){const Ct=Xl(Ye);if(Ct!==Gl)return Ct}if(Ye.type==="illegal"&&lt==="")return It+=`
84
+ `,1;if(bi>1e5&&bi>Ye.index*3)throw new Error("potential infinite loop, way more iterations than matches");return It+=lt,lt.length}const Ar=tr(Oe);if(!Ar)throw cr(sn.replace("{}",Oe)),new Error('Unknown language: "'+Oe+'"');const Fo=jn(Ar);let ga="",ut=Dt||Fo;const Wl={},_n=new Ie.__emitter(Ie);zo();let It="",zs=0,za=0,bi=0,us=!1;try{if(Ar.__emitTokens)Ar.__emitTokens(Xe,_n);else{for(ut.matcher.considerAll();;){bi++,us?us=!1:ut.matcher.considerAll(),ut.matcher.lastIndex=za;const Ue=ut.matcher.exec(Xe);if(!Ue)break;const Ye=Xe.substring(za,Ue.index),lt=Ua(Ye,Ue);za=Ue.index+lt}Ua(Xe.substring(za))}return _n.finalize(),ga=_n.toHTML(),{language:Oe,value:ga,relevance:zs,illegal:!1,_emitter:_n,_top:ut}}catch(Ue){if(Ue.message&&Ue.message.includes("Illegal"))return{language:Oe,value:er(Xe),illegal:!0,relevance:0,_illegalBy:{message:Ue.message,index:za,context:Xe.slice(za-100,za+100),mode:Ue.mode,resultSoFar:ga},_emitter:_n};if(Jt)return{language:Oe,value:er(Xe),illegal:!1,relevance:0,errorRaised:Ue,_emitter:_n,_top:ut};throw Ue}}function Vl(Oe){const Xe={value:er(Oe),illegal:!1,relevance:0,_top:He,_emitter:new Ie.__emitter(Ie)};return Xe._emitter.addText(Oe),Xe}function Ps(Oe,Xe){Xe=Xe||Ie.languages||Object.keys(Ee);const ot=Vl(Oe),Dt=Xe.filter(tr).filter(Kl).map(Vn=>ns(Vn,Oe,!1));Dt.unshift(ot);const un=Dt.sort((Vn,Fr)=>{if(Vn.relevance!==Fr.relevance)return Fr.relevance-Vn.relevance;if(Vn.language&&Fr.language){if(tr(Vn.language).supersetOf===Fr.language)return 1;if(tr(Fr.language).supersetOf===Vn.language)return-1}return 0}),[xr,sa]=un,Hn=xr;return Hn.secondBest=sa,Hn}function rs(Oe,Xe,ot){const Dt=Xe&&Le[Xe]||ot;Oe.classList.add("hljs"),Oe.classList.add(`language-${Dt}`)}function as(Oe){let Xe=null;const ot=Qt(Oe);if(je(ot))return;if(Pa("before:highlightElement",{el:Oe,language:ot}),Oe.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",Oe);return}if(Oe.children.length>0&&(Ie.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(Oe)),Ie.throwUnescapedHTML))throw new dr("One of your code blocks includes unescaped HTML.",Oe.innerHTML);Xe=Oe;const Dt=Xe.textContent,un=ot?en(Dt,{language:ot,ignoreIllegals:!0}):Ps(Dt);Oe.innerHTML=un.value,Oe.dataset.highlighted="yes",rs(Oe,ot,un.language),Oe.result={language:un.language,re:un.relevance,relevance:un.relevance},un.secondBest&&(Oe.secondBest={language:un.secondBest.language,relevance:un.secondBest.relevance}),Pa("after:highlightElement",{el:Oe,result:un,text:Dt})}function mi(Oe){Ie=Yl(Ie,Oe)}const pi=()=>{ln(),oe("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function is(){ln(),oe("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let La=!1;function ln(){function Oe(){ln()}if(document.readyState==="loading"){La||window.addEventListener("DOMContentLoaded",Oe,!1),La=!0;return}document.querySelectorAll(Ie.cssSelector).forEach(as)}function Lo(Oe,Xe){let ot=null;try{ot=Xe(G)}catch(Dt){if(cr("Language definition for '{}' could not be registered.".replace("{}",Oe)),Jt)cr(Dt);else throw Dt;ot=He}ot.name||(ot.name=Oe),Ee[Oe]=ot,ot.rawDefinition=Xe.bind(null,G),ot.aliases&&Po(ot.aliases,{languageName:Oe})}function Bo(Oe){delete Ee[Oe];for(const Xe of Object.keys(Le))Le[Xe]===Oe&&delete Le[Xe]}function Ba(){return Object.keys(Ee)}function tr(Oe){return Oe=(Oe||"").toLowerCase(),Ee[Oe]||Ee[Le[Oe]]}function Po(Oe,{languageName:Xe}){typeof Oe=="string"&&(Oe=[Oe]),Oe.forEach(ot=>{Le[ot.toLowerCase()]=Xe})}function Kl(Oe){const Xe=tr(Oe);return Xe&&!Xe.disableAutodetect}function Uo(Oe){Oe["before:highlightBlock"]&&!Oe["before:highlightElement"]&&(Oe["before:highlightElement"]=Xe=>{Oe["before:highlightBlock"](Object.assign({block:Xe.el},Xe))}),Oe["after:highlightBlock"]&&!Oe["after:highlightElement"]&&(Oe["after:highlightElement"]=Xe=>{Oe["after:highlightBlock"](Object.assign({block:Xe.el},Xe))})}function md(Oe){Uo(Oe),rt.push(Oe)}function Us(Oe){const Xe=rt.indexOf(Oe);Xe!==-1&&rt.splice(Xe,1)}function Pa(Oe,Xe){const ot=Oe;rt.forEach(function(Dt){Dt[ot]&&Dt[ot](Xe)})}function ia(Oe){return oe("10.7.0","highlightBlock will be removed entirely in v12.0"),oe("10.7.0","Please use highlightElement now."),as(Oe)}Object.assign(G,{highlight:en,highlightAuto:Ps,highlightAll:ln,highlightElement:as,highlightBlock:ia,configure:mi,initHighlighting:pi,initHighlightingOnLoad:is,registerLanguage:Lo,unregisterLanguage:Bo,listLanguages:Ba,getLanguage:tr,registerAliases:Po,autoDetection:Kl,inherit:Yl,addPlugin:md,removePlugin:Us}),G.debugMode=function(){Jt=!1},G.safeMode=function(){Jt=!0},G.versionString=Tn,G.regex={concat:k,lookahead:T,either:N,optional:A,anyNumberOfTimes:v};for(const Oe in Pt)typeof Pt[Oe]=="object"&&e(Pt[Oe]);return Object.assign(G,Pt),G},hi=fi({});return hi.newInstance=()=>fi({}),qh=hi,hi.HighlightJS=hi,hi.default=hi,qh}var eR=JO();const tR=H0(eR),c3={},nR="hljs-";function rR(e){const t=tR.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||c3,T=typeof b.prefix=="string"?b.prefix:nR;if(!t.getLanguage(f))throw new Error("Unknown language: `"+f+"` is not registered");t.configure({__emitter:aR,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||c3).subset||s();let T=-1,v=0,A;for(;++T<b.length;){const k=b[T];if(!t.getLanguage(k))continue;const I=n(k,f,h);I.data&&I.data.relevance!==void 0&&I.data.relevance>v&&(v=I.data.relevance,A=I)}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 aR{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 iR={};function sR(e){const t=e||iR,n=t.aliases,a=t.detect||!1,s=t.languages||ZO,l=t.plainText,o=t.prefix,d=t.subset;let f="hljs";const h=rR(s);if(n&&h.registerAlias(n),o){const p=o.indexOf("-");f=p===-1?o:o.slice(0,p)}return function(p,b){So(p,"element",function(T,v,A){if(T.tagName!=="code"||!A||A.type!=="element"||A.tagName!=="pre")return;const k=lR(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 I=x5(T,{whitespace:"pre"});let N;try{N=k?h.highlight(k,I,{prefix:o}):h.highlightAuto(I,{prefix:o,subset:d})}catch(M){const z=M;if(k&&/Unknown language/.test(z.message)){b.message("Cannot highlight as `"+k+"`, it’s not registered",{ancestors:[A,T],cause:z,place:T.position,ruleId:"missing-language",source:"rehype-highlight"});return}throw z}!k&&N.data&&N.data.language&&T.properties.className.push("language-"+N.data.language),N.children.length>0&&(T.children=N.children)})}}function lR(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 uR(e,t){return j5(e,{})||{type:"root",children:[]}}function j5(e,t){const n=oR(e,t);return n&&t.afterTransform&&t.afterTransform(e,n),n}function oR(e,t){switch(e.nodeType){case 1:return hR(e,t);case 3:return dR(e);case 8:return fR(e);case 9:return d3(e,t);case 10:return cR();case 11:return d3(e,t);default:return}}function d3(e,t){return{type:"root",children:V5(e,t)}}function cR(){return{type:"doctype"}}function dR(e){return{type:"text",value:e.nodeValue||""}}function fR(e){return{type:"comment",value:e.nodeValue||""}}function hR(e,t){const n=e.namespaceURI,a=n===wa.svg?DE:ME,s=n===wa.html?e.tagName.toLowerCase():e.tagName,l=n===wa.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,V5(l,t))}function V5(e,t){const n=e.childNodes,a=[];let s=-1;for(;++s<n.length;){const l=j5(n[s],t);l!==void 0&&a.push(l)}return a}new DOMParser;function mR(e,t){const n=pR(e);return uR(n)}function pR(e){const t=document.createElement("template");return t.innerHTML=e,t.content}class Lr{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 Lr(t.loc.lexer,t.loc.start,n.loc.end):t&&t.loc}}class Jr{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 Jr(n,Lr.range(this,t))}}class Ce{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__=Ce.prototype,b.position=s,s!=null&&l!=null&&(b.length=l-s),b.rawMessage=t,b}}Ce.prototype.__proto__=Error.prototype;var gR=function(t,n){return t.indexOf(n)!==-1},bR=function(t,n){return t===void 0?n:t},ER=/([A-Z])/g,yR=function(t){return t.replace(ER,"-$1").toLowerCase()},vR={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},TR=/[&><"']/g;function _R(e){return String(e).replace(TR,t=>vR[t])}var K5=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},SR=function(t){var n=K5(t);return n.type==="mathord"||n.type==="textord"||n.type==="atom"},xR=function(t){if(!t)throw new Error("Expected non-null, but got "+String(t));return t},AR=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"},Ze={contains:gR,deflt:bR,escape:_R,hyphenate:yR,getBaseElem:K5,isCharacterBox:SR,protocolFromUrl:AR},T0={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 wR(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 Um{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 T0)if(T0.hasOwnProperty(n)){var a=T0[n];this[n]=t[n]!==void 0?a.processor?a.processor(t[n]):t[n]:wR(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 Ce("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=Ze.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 Hi{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 Aa[kR[this.id]]}sub(){return Aa[NR[this.id]]}fracNum(){return Aa[CR[this.id]]}fracDen(){return Aa[OR[this.id]]}cramp(){return Aa[RR[this.id]]}text(){return Aa[MR[this.id]]}isTight(){return this.size>=2}}var zm=0,D0=1,kl=2,ri=3,go=4,Zr=5,Rl=6,ur=7,Aa=[new Hi(zm,0,!1),new Hi(D0,0,!0),new Hi(kl,1,!1),new Hi(ri,1,!0),new Hi(go,2,!1),new Hi(Zr,2,!0),new Hi(Rl,3,!1),new Hi(ur,3,!0)],kR=[go,Zr,go,Zr,Rl,ur,Rl,ur],NR=[Zr,Zr,Zr,Zr,ur,ur,ur,ur],CR=[kl,ri,go,Zr,Rl,ur,Rl,ur],OR=[ri,ri,Zr,Zr,ur,ur,ur,ur],RR=[D0,D0,ri,ri,Zr,Zr,ur,ur],MR=[zm,D0,kl,ri,kl,ri,kl,ri],et={DISPLAY:Aa[zm],TEXT:Aa[kl],SCRIPT:Aa[go],SCRIPTSCRIPT:Aa[Rl]},z1=[{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 DR(e){for(var t=0;t<z1.length;t++)for(var n=z1[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 _0=[];z1.forEach(e=>e.blocks.forEach(t=>_0.push(...t)));function $5(e){for(var t=0;t<_0.length;t+=2)if(e>=_0[t]&&e<=_0[t+1])return!0;return!1}var bl=80,IR=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"},LR=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"},BR=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"},PR=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"},UR=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"},zR=function(t){var n=t/2;return"M400000 "+t+" H0 L"+n+" 0 l65 45 L145 "+(t-80)+" H400000z"},FR=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"},HR=function(t,n,a){n=1e3*n;var s="";switch(t){case"sqrtMain":s=IR(n,bl);break;case"sqrtSize1":s=LR(n,bl);break;case"sqrtSize2":s=BR(n,bl);break;case"sqrtSize3":s=PR(n,bl);break;case"sqrtSize4":s=UR(n,bl);break;case"sqrtTall":s=FR(n,bl,a)}return s},qR=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""}},f3={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`},YR=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 Ze.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 ka={"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]}},n0={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]},h3={Å:"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 GR(e,t){ka[e]=t}function Fm(e,t,n){if(!ka[t])throw new Error("Font metrics not found for font: "+t+".");var a=e.charCodeAt(0),s=ka[t][a];if(!s&&e[0]in h3&&(a=h3[e[0]].charCodeAt(0),s=ka[t][a]),!s&&n==="text"&&$5(a)&&(s=ka[t][77]),s)return{depth:s[0],height:s[1],italic:s[2],skew:s[3],width:s[4]}}var Yh={};function jR(e){var t;if(e>=5?t=0:e>=3?t=1:t=2,!Yh[t]){var n=Yh[t]={cssEmPerMu:n0.quad[t]/18};for(var a in n0)n0.hasOwnProperty(a)&&(n[a]=n0[a][t])}return Yh[t]}var VR=[[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]],m3=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],p3=function(t,n){return n.size<2?t:VR[t-1][n.size-1]};class ti{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||ti.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=m3[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 ti(n)}havingStyle(t){return this.style===t?this:this.extend({style:t,size:p3(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:m3[t-1]})}havingBaseStyle(t){t=t||this.style.text();var n=p3(ti.BASESIZE,t);return this.size===n&&this.textSize===ti.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!==ti.BASESIZE?["sizing","reset-size"+this.size,"size"+ti.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=jR(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}ti.BASESIZE=6;var F1={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},KR={ex:!0,em:!0,mu:!0},X5=function(t){return typeof t!="string"&&(t=t.unit),t in F1||t in KR||t==="ex"},fn=function(t,n){var a;if(t.unit in F1)a=F1[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 Ce("Invalid unit: '"+t.unit+"'");s!==n&&(a*=s.sizeMultiplier/n.sizeMultiplier)}return Math.min(t.number*a,n.maxSize)},De=function(t){return+t.toFixed(4)+"em"},Qi=function(t){return t.filter(n=>n).join(" ")},W5=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)}},Q5=function(t){var n=document.createElement(t);n.className=Qi(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},$R=/[\s"'>/=\x00-\x1f]/,Z5=function(t){var n="<"+t;this.classes.length&&(n+=' class="'+Ze.escape(Qi(this.classes))+'"');var a="";for(var s in this.style)this.style.hasOwnProperty(s)&&(a+=Ze.hyphenate(s)+":"+this.style[s]+";");a&&(n+=' style="'+Ze.escape(a)+'"');for(var l in this.attributes)if(this.attributes.hasOwnProperty(l)){if($R.test(l))throw new Ce("Invalid attribute name '"+l+"'");n+=" "+l+'="'+Ze.escape(this.attributes[l])+'"'}n+=">";for(var o=0;o<this.children.length;o++)n+=this.children[o].toMarkup();return n+="</"+t+">",n};class Co{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,W5.call(this,t,a,s),this.children=n||[]}setAttribute(t,n){this.attributes[t]=n}hasClass(t){return Ze.contains(this.classes,t)}toNode(){return Q5.call(this,"span")}toMarkup(){return Z5.call(this,"span")}}class Hm{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,W5.call(this,n,s),this.children=a||[],this.setAttribute("href",t)}setAttribute(t,n){this.attributes[t]=n}hasClass(t){return Ze.contains(this.classes,t)}toNode(){return Q5.call(this,"a")}toMarkup(){return Z5.call(this,"a")}}class XR{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 Ze.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="'+Ze.escape(this.src)+'"'+(' alt="'+Ze.escape(this.alt)+'"'),n="";for(var a in this.style)this.style.hasOwnProperty(a)&&(n+=Ze.hyphenate(a)+":"+this.style[a]+";");return n&&(t+=' style="'+Ze.escape(n)+'"'),t+="'/>",t}}var WR={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class ea{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=DR(this.text.charCodeAt(0));h&&this.classes.push(h+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=WR[this.text])}hasClass(t){return Ze.contains(this.classes,t)}toNode(){var t=document.createTextNode(this.text),n=null;this.italic>0&&(n=document.createElement("span"),n.style.marginRight=De(this.italic)),this.classes.length>0&&(n=n||document.createElement("span"),n.className=Qi(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+=Ze.escape(Qi(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+=Ze.hyphenate(s)+":"+this.style[s]+";");a&&(t=!0,n+=' style="'+Ze.escape(a)+'"');var l=Ze.escape(this.text);return t?(n+=">",n+=l,n+="</span>",n):l}}class ii{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+'="'+Ze.escape(this.attributes[n])+'"');t+=">";for(var a=0;a<this.children.length;a++)t+=this.children[a].toMarkup();return t+="</svg>",t}}class Zi{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",f3[this.pathName]),n}toMarkup(){return this.alternate?'<path d="'+Ze.escape(this.alternate)+'"/>':'<path d="'+Ze.escape(f3[this.pathName])+'"/>'}}class H1{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+'="'+Ze.escape(this.attributes[n])+'"');return t+="/>",t}}function g3(e){if(e instanceof ea)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}function QR(e){if(e instanceof Co)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}var ZR={bin:1,close:1,inner:1,open:1,punct:1,rel:1},JR={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Xt={math:{},text:{}};function y(e,t,n,a,s,l){Xt[e][s]={font:t,group:n,replace:a},l&&a&&(Xt[e][a]=Xt[e][s])}var _="math",_e="text",w="main",P="ams",rn="accent-token",qe="bin",or="close",Fl="inner",Je="mathord",Nn="op-token",Ur="open",J0="punct",U="rel",ci="spacing",V="textord";y(_,w,U,"≡","\\equiv",!0);y(_,w,U,"≺","\\prec",!0);y(_,w,U,"≻","\\succ",!0);y(_,w,U,"∼","\\sim",!0);y(_,w,U,"⊥","\\perp");y(_,w,U,"⪯","\\preceq",!0);y(_,w,U,"⪰","\\succeq",!0);y(_,w,U,"≃","\\simeq",!0);y(_,w,U,"∣","\\mid",!0);y(_,w,U,"≪","\\ll",!0);y(_,w,U,"≫","\\gg",!0);y(_,w,U,"≍","\\asymp",!0);y(_,w,U,"∥","\\parallel");y(_,w,U,"⋈","\\bowtie",!0);y(_,w,U,"⌣","\\smile",!0);y(_,w,U,"⊑","\\sqsubseteq",!0);y(_,w,U,"⊒","\\sqsupseteq",!0);y(_,w,U,"≐","\\doteq",!0);y(_,w,U,"⌢","\\frown",!0);y(_,w,U,"∋","\\ni",!0);y(_,w,U,"∝","\\propto",!0);y(_,w,U,"⊢","\\vdash",!0);y(_,w,U,"⊣","\\dashv",!0);y(_,w,U,"∋","\\owns");y(_,w,J0,".","\\ldotp");y(_,w,J0,"⋅","\\cdotp");y(_,w,V,"#","\\#");y(_e,w,V,"#","\\#");y(_,w,V,"&","\\&");y(_e,w,V,"&","\\&");y(_,w,V,"ℵ","\\aleph",!0);y(_,w,V,"∀","\\forall",!0);y(_,w,V,"ℏ","\\hbar",!0);y(_,w,V,"∃","\\exists",!0);y(_,w,V,"∇","\\nabla",!0);y(_,w,V,"♭","\\flat",!0);y(_,w,V,"ℓ","\\ell",!0);y(_,w,V,"♮","\\natural",!0);y(_,w,V,"♣","\\clubsuit",!0);y(_,w,V,"℘","\\wp",!0);y(_,w,V,"♯","\\sharp",!0);y(_,w,V,"♢","\\diamondsuit",!0);y(_,w,V,"ℜ","\\Re",!0);y(_,w,V,"♡","\\heartsuit",!0);y(_,w,V,"ℑ","\\Im",!0);y(_,w,V,"♠","\\spadesuit",!0);y(_,w,V,"§","\\S",!0);y(_e,w,V,"§","\\S");y(_,w,V,"¶","\\P",!0);y(_e,w,V,"¶","\\P");y(_,w,V,"†","\\dag");y(_e,w,V,"†","\\dag");y(_e,w,V,"†","\\textdagger");y(_,w,V,"‡","\\ddag");y(_e,w,V,"‡","\\ddag");y(_e,w,V,"‡","\\textdaggerdbl");y(_,w,or,"⎱","\\rmoustache",!0);y(_,w,Ur,"⎰","\\lmoustache",!0);y(_,w,or,"⟯","\\rgroup",!0);y(_,w,Ur,"⟮","\\lgroup",!0);y(_,w,qe,"∓","\\mp",!0);y(_,w,qe,"⊖","\\ominus",!0);y(_,w,qe,"⊎","\\uplus",!0);y(_,w,qe,"⊓","\\sqcap",!0);y(_,w,qe,"∗","\\ast");y(_,w,qe,"⊔","\\sqcup",!0);y(_,w,qe,"◯","\\bigcirc",!0);y(_,w,qe,"∙","\\bullet",!0);y(_,w,qe,"‡","\\ddagger");y(_,w,qe,"≀","\\wr",!0);y(_,w,qe,"⨿","\\amalg");y(_,w,qe,"&","\\And");y(_,w,U,"⟵","\\longleftarrow",!0);y(_,w,U,"⇐","\\Leftarrow",!0);y(_,w,U,"⟸","\\Longleftarrow",!0);y(_,w,U,"⟶","\\longrightarrow",!0);y(_,w,U,"⇒","\\Rightarrow",!0);y(_,w,U,"⟹","\\Longrightarrow",!0);y(_,w,U,"↔","\\leftrightarrow",!0);y(_,w,U,"⟷","\\longleftrightarrow",!0);y(_,w,U,"⇔","\\Leftrightarrow",!0);y(_,w,U,"⟺","\\Longleftrightarrow",!0);y(_,w,U,"↦","\\mapsto",!0);y(_,w,U,"⟼","\\longmapsto",!0);y(_,w,U,"↗","\\nearrow",!0);y(_,w,U,"↩","\\hookleftarrow",!0);y(_,w,U,"↪","\\hookrightarrow",!0);y(_,w,U,"↘","\\searrow",!0);y(_,w,U,"↼","\\leftharpoonup",!0);y(_,w,U,"⇀","\\rightharpoonup",!0);y(_,w,U,"↙","\\swarrow",!0);y(_,w,U,"↽","\\leftharpoondown",!0);y(_,w,U,"⇁","\\rightharpoondown",!0);y(_,w,U,"↖","\\nwarrow",!0);y(_,w,U,"⇌","\\rightleftharpoons",!0);y(_,P,U,"≮","\\nless",!0);y(_,P,U,"","\\@nleqslant");y(_,P,U,"","\\@nleqq");y(_,P,U,"⪇","\\lneq",!0);y(_,P,U,"≨","\\lneqq",!0);y(_,P,U,"","\\@lvertneqq");y(_,P,U,"⋦","\\lnsim",!0);y(_,P,U,"⪉","\\lnapprox",!0);y(_,P,U,"⊀","\\nprec",!0);y(_,P,U,"⋠","\\npreceq",!0);y(_,P,U,"⋨","\\precnsim",!0);y(_,P,U,"⪹","\\precnapprox",!0);y(_,P,U,"≁","\\nsim",!0);y(_,P,U,"","\\@nshortmid");y(_,P,U,"∤","\\nmid",!0);y(_,P,U,"⊬","\\nvdash",!0);y(_,P,U,"⊭","\\nvDash",!0);y(_,P,U,"⋪","\\ntriangleleft");y(_,P,U,"⋬","\\ntrianglelefteq",!0);y(_,P,U,"⊊","\\subsetneq",!0);y(_,P,U,"","\\@varsubsetneq");y(_,P,U,"⫋","\\subsetneqq",!0);y(_,P,U,"","\\@varsubsetneqq");y(_,P,U,"≯","\\ngtr",!0);y(_,P,U,"","\\@ngeqslant");y(_,P,U,"","\\@ngeqq");y(_,P,U,"⪈","\\gneq",!0);y(_,P,U,"≩","\\gneqq",!0);y(_,P,U,"","\\@gvertneqq");y(_,P,U,"⋧","\\gnsim",!0);y(_,P,U,"⪊","\\gnapprox",!0);y(_,P,U,"⊁","\\nsucc",!0);y(_,P,U,"⋡","\\nsucceq",!0);y(_,P,U,"⋩","\\succnsim",!0);y(_,P,U,"⪺","\\succnapprox",!0);y(_,P,U,"≆","\\ncong",!0);y(_,P,U,"","\\@nshortparallel");y(_,P,U,"∦","\\nparallel",!0);y(_,P,U,"⊯","\\nVDash",!0);y(_,P,U,"⋫","\\ntriangleright");y(_,P,U,"⋭","\\ntrianglerighteq",!0);y(_,P,U,"","\\@nsupseteqq");y(_,P,U,"⊋","\\supsetneq",!0);y(_,P,U,"","\\@varsupsetneq");y(_,P,U,"⫌","\\supsetneqq",!0);y(_,P,U,"","\\@varsupsetneqq");y(_,P,U,"⊮","\\nVdash",!0);y(_,P,U,"⪵","\\precneqq",!0);y(_,P,U,"⪶","\\succneqq",!0);y(_,P,U,"","\\@nsubseteqq");y(_,P,qe,"⊴","\\unlhd");y(_,P,qe,"⊵","\\unrhd");y(_,P,U,"↚","\\nleftarrow",!0);y(_,P,U,"↛","\\nrightarrow",!0);y(_,P,U,"⇍","\\nLeftarrow",!0);y(_,P,U,"⇏","\\nRightarrow",!0);y(_,P,U,"↮","\\nleftrightarrow",!0);y(_,P,U,"⇎","\\nLeftrightarrow",!0);y(_,P,U,"△","\\vartriangle");y(_,P,V,"ℏ","\\hslash");y(_,P,V,"▽","\\triangledown");y(_,P,V,"◊","\\lozenge");y(_,P,V,"Ⓢ","\\circledS");y(_,P,V,"®","\\circledR");y(_e,P,V,"®","\\circledR");y(_,P,V,"∡","\\measuredangle",!0);y(_,P,V,"∄","\\nexists");y(_,P,V,"℧","\\mho");y(_,P,V,"Ⅎ","\\Finv",!0);y(_,P,V,"⅁","\\Game",!0);y(_,P,V,"‵","\\backprime");y(_,P,V,"▲","\\blacktriangle");y(_,P,V,"▼","\\blacktriangledown");y(_,P,V,"■","\\blacksquare");y(_,P,V,"⧫","\\blacklozenge");y(_,P,V,"★","\\bigstar");y(_,P,V,"∢","\\sphericalangle",!0);y(_,P,V,"∁","\\complement",!0);y(_,P,V,"ð","\\eth",!0);y(_e,w,V,"ð","ð");y(_,P,V,"╱","\\diagup");y(_,P,V,"╲","\\diagdown");y(_,P,V,"□","\\square");y(_,P,V,"□","\\Box");y(_,P,V,"◊","\\Diamond");y(_,P,V,"¥","\\yen",!0);y(_e,P,V,"¥","\\yen",!0);y(_,P,V,"✓","\\checkmark",!0);y(_e,P,V,"✓","\\checkmark");y(_,P,V,"ℶ","\\beth",!0);y(_,P,V,"ℸ","\\daleth",!0);y(_,P,V,"ℷ","\\gimel",!0);y(_,P,V,"ϝ","\\digamma",!0);y(_,P,V,"ϰ","\\varkappa");y(_,P,Ur,"┌","\\@ulcorner",!0);y(_,P,or,"┐","\\@urcorner",!0);y(_,P,Ur,"└","\\@llcorner",!0);y(_,P,or,"┘","\\@lrcorner",!0);y(_,P,U,"≦","\\leqq",!0);y(_,P,U,"⩽","\\leqslant",!0);y(_,P,U,"⪕","\\eqslantless",!0);y(_,P,U,"≲","\\lesssim",!0);y(_,P,U,"⪅","\\lessapprox",!0);y(_,P,U,"≊","\\approxeq",!0);y(_,P,qe,"⋖","\\lessdot");y(_,P,U,"⋘","\\lll",!0);y(_,P,U,"≶","\\lessgtr",!0);y(_,P,U,"⋚","\\lesseqgtr",!0);y(_,P,U,"⪋","\\lesseqqgtr",!0);y(_,P,U,"≑","\\doteqdot");y(_,P,U,"≓","\\risingdotseq",!0);y(_,P,U,"≒","\\fallingdotseq",!0);y(_,P,U,"∽","\\backsim",!0);y(_,P,U,"⋍","\\backsimeq",!0);y(_,P,U,"⫅","\\subseteqq",!0);y(_,P,U,"⋐","\\Subset",!0);y(_,P,U,"⊏","\\sqsubset",!0);y(_,P,U,"≼","\\preccurlyeq",!0);y(_,P,U,"⋞","\\curlyeqprec",!0);y(_,P,U,"≾","\\precsim",!0);y(_,P,U,"⪷","\\precapprox",!0);y(_,P,U,"⊲","\\vartriangleleft");y(_,P,U,"⊴","\\trianglelefteq");y(_,P,U,"⊨","\\vDash",!0);y(_,P,U,"⊪","\\Vvdash",!0);y(_,P,U,"⌣","\\smallsmile");y(_,P,U,"⌢","\\smallfrown");y(_,P,U,"≏","\\bumpeq",!0);y(_,P,U,"≎","\\Bumpeq",!0);y(_,P,U,"≧","\\geqq",!0);y(_,P,U,"⩾","\\geqslant",!0);y(_,P,U,"⪖","\\eqslantgtr",!0);y(_,P,U,"≳","\\gtrsim",!0);y(_,P,U,"⪆","\\gtrapprox",!0);y(_,P,qe,"⋗","\\gtrdot");y(_,P,U,"⋙","\\ggg",!0);y(_,P,U,"≷","\\gtrless",!0);y(_,P,U,"⋛","\\gtreqless",!0);y(_,P,U,"⪌","\\gtreqqless",!0);y(_,P,U,"≖","\\eqcirc",!0);y(_,P,U,"≗","\\circeq",!0);y(_,P,U,"≜","\\triangleq",!0);y(_,P,U,"∼","\\thicksim");y(_,P,U,"≈","\\thickapprox");y(_,P,U,"⫆","\\supseteqq",!0);y(_,P,U,"⋑","\\Supset",!0);y(_,P,U,"⊐","\\sqsupset",!0);y(_,P,U,"≽","\\succcurlyeq",!0);y(_,P,U,"⋟","\\curlyeqsucc",!0);y(_,P,U,"≿","\\succsim",!0);y(_,P,U,"⪸","\\succapprox",!0);y(_,P,U,"⊳","\\vartriangleright");y(_,P,U,"⊵","\\trianglerighteq");y(_,P,U,"⊩","\\Vdash",!0);y(_,P,U,"∣","\\shortmid");y(_,P,U,"∥","\\shortparallel");y(_,P,U,"≬","\\between",!0);y(_,P,U,"⋔","\\pitchfork",!0);y(_,P,U,"∝","\\varpropto");y(_,P,U,"◀","\\blacktriangleleft");y(_,P,U,"∴","\\therefore",!0);y(_,P,U,"∍","\\backepsilon");y(_,P,U,"▶","\\blacktriangleright");y(_,P,U,"∵","\\because",!0);y(_,P,U,"⋘","\\llless");y(_,P,U,"⋙","\\gggtr");y(_,P,qe,"⊲","\\lhd");y(_,P,qe,"⊳","\\rhd");y(_,P,U,"≂","\\eqsim",!0);y(_,w,U,"⋈","\\Join");y(_,P,U,"≑","\\Doteq",!0);y(_,P,qe,"∔","\\dotplus",!0);y(_,P,qe,"∖","\\smallsetminus");y(_,P,qe,"⋒","\\Cap",!0);y(_,P,qe,"⋓","\\Cup",!0);y(_,P,qe,"⩞","\\doublebarwedge",!0);y(_,P,qe,"⊟","\\boxminus",!0);y(_,P,qe,"⊞","\\boxplus",!0);y(_,P,qe,"⋇","\\divideontimes",!0);y(_,P,qe,"⋉","\\ltimes",!0);y(_,P,qe,"⋊","\\rtimes",!0);y(_,P,qe,"⋋","\\leftthreetimes",!0);y(_,P,qe,"⋌","\\rightthreetimes",!0);y(_,P,qe,"⋏","\\curlywedge",!0);y(_,P,qe,"⋎","\\curlyvee",!0);y(_,P,qe,"⊝","\\circleddash",!0);y(_,P,qe,"⊛","\\circledast",!0);y(_,P,qe,"⋅","\\centerdot");y(_,P,qe,"⊺","\\intercal",!0);y(_,P,qe,"⋒","\\doublecap");y(_,P,qe,"⋓","\\doublecup");y(_,P,qe,"⊠","\\boxtimes",!0);y(_,P,U,"⇢","\\dashrightarrow",!0);y(_,P,U,"⇠","\\dashleftarrow",!0);y(_,P,U,"⇇","\\leftleftarrows",!0);y(_,P,U,"⇆","\\leftrightarrows",!0);y(_,P,U,"⇚","\\Lleftarrow",!0);y(_,P,U,"↞","\\twoheadleftarrow",!0);y(_,P,U,"↢","\\leftarrowtail",!0);y(_,P,U,"↫","\\looparrowleft",!0);y(_,P,U,"⇋","\\leftrightharpoons",!0);y(_,P,U,"↶","\\curvearrowleft",!0);y(_,P,U,"↺","\\circlearrowleft",!0);y(_,P,U,"↰","\\Lsh",!0);y(_,P,U,"⇈","\\upuparrows",!0);y(_,P,U,"↿","\\upharpoonleft",!0);y(_,P,U,"⇃","\\downharpoonleft",!0);y(_,w,U,"⊶","\\origof",!0);y(_,w,U,"⊷","\\imageof",!0);y(_,P,U,"⊸","\\multimap",!0);y(_,P,U,"↭","\\leftrightsquigarrow",!0);y(_,P,U,"⇉","\\rightrightarrows",!0);y(_,P,U,"⇄","\\rightleftarrows",!0);y(_,P,U,"↠","\\twoheadrightarrow",!0);y(_,P,U,"↣","\\rightarrowtail",!0);y(_,P,U,"↬","\\looparrowright",!0);y(_,P,U,"↷","\\curvearrowright",!0);y(_,P,U,"↻","\\circlearrowright",!0);y(_,P,U,"↱","\\Rsh",!0);y(_,P,U,"⇊","\\downdownarrows",!0);y(_,P,U,"↾","\\upharpoonright",!0);y(_,P,U,"⇂","\\downharpoonright",!0);y(_,P,U,"⇝","\\rightsquigarrow",!0);y(_,P,U,"⇝","\\leadsto");y(_,P,U,"⇛","\\Rrightarrow",!0);y(_,P,U,"↾","\\restriction");y(_,w,V,"‘","`");y(_,w,V,"$","\\$");y(_e,w,V,"$","\\$");y(_e,w,V,"$","\\textdollar");y(_,w,V,"%","\\%");y(_e,w,V,"%","\\%");y(_,w,V,"_","\\_");y(_e,w,V,"_","\\_");y(_e,w,V,"_","\\textunderscore");y(_,w,V,"∠","\\angle",!0);y(_,w,V,"∞","\\infty",!0);y(_,w,V,"′","\\prime");y(_,w,V,"△","\\triangle");y(_,w,V,"Γ","\\Gamma",!0);y(_,w,V,"Δ","\\Delta",!0);y(_,w,V,"Θ","\\Theta",!0);y(_,w,V,"Λ","\\Lambda",!0);y(_,w,V,"Ξ","\\Xi",!0);y(_,w,V,"Π","\\Pi",!0);y(_,w,V,"Σ","\\Sigma",!0);y(_,w,V,"Υ","\\Upsilon",!0);y(_,w,V,"Φ","\\Phi",!0);y(_,w,V,"Ψ","\\Psi",!0);y(_,w,V,"Ω","\\Omega",!0);y(_,w,V,"A","Α");y(_,w,V,"B","Β");y(_,w,V,"E","Ε");y(_,w,V,"Z","Ζ");y(_,w,V,"H","Η");y(_,w,V,"I","Ι");y(_,w,V,"K","Κ");y(_,w,V,"M","Μ");y(_,w,V,"N","Ν");y(_,w,V,"O","Ο");y(_,w,V,"P","Ρ");y(_,w,V,"T","Τ");y(_,w,V,"X","Χ");y(_,w,V,"¬","\\neg",!0);y(_,w,V,"¬","\\lnot");y(_,w,V,"⊤","\\top");y(_,w,V,"⊥","\\bot");y(_,w,V,"∅","\\emptyset");y(_,P,V,"∅","\\varnothing");y(_,w,Je,"α","\\alpha",!0);y(_,w,Je,"β","\\beta",!0);y(_,w,Je,"γ","\\gamma",!0);y(_,w,Je,"δ","\\delta",!0);y(_,w,Je,"ϵ","\\epsilon",!0);y(_,w,Je,"ζ","\\zeta",!0);y(_,w,Je,"η","\\eta",!0);y(_,w,Je,"θ","\\theta",!0);y(_,w,Je,"ι","\\iota",!0);y(_,w,Je,"κ","\\kappa",!0);y(_,w,Je,"λ","\\lambda",!0);y(_,w,Je,"μ","\\mu",!0);y(_,w,Je,"ν","\\nu",!0);y(_,w,Je,"ξ","\\xi",!0);y(_,w,Je,"ο","\\omicron",!0);y(_,w,Je,"π","\\pi",!0);y(_,w,Je,"ρ","\\rho",!0);y(_,w,Je,"σ","\\sigma",!0);y(_,w,Je,"τ","\\tau",!0);y(_,w,Je,"υ","\\upsilon",!0);y(_,w,Je,"ϕ","\\phi",!0);y(_,w,Je,"χ","\\chi",!0);y(_,w,Je,"ψ","\\psi",!0);y(_,w,Je,"ω","\\omega",!0);y(_,w,Je,"ε","\\varepsilon",!0);y(_,w,Je,"ϑ","\\vartheta",!0);y(_,w,Je,"ϖ","\\varpi",!0);y(_,w,Je,"ϱ","\\varrho",!0);y(_,w,Je,"ς","\\varsigma",!0);y(_,w,Je,"φ","\\varphi",!0);y(_,w,qe,"∗","*",!0);y(_,w,qe,"+","+");y(_,w,qe,"−","-",!0);y(_,w,qe,"⋅","\\cdot",!0);y(_,w,qe,"∘","\\circ",!0);y(_,w,qe,"÷","\\div",!0);y(_,w,qe,"±","\\pm",!0);y(_,w,qe,"×","\\times",!0);y(_,w,qe,"∩","\\cap",!0);y(_,w,qe,"∪","\\cup",!0);y(_,w,qe,"∖","\\setminus",!0);y(_,w,qe,"∧","\\land");y(_,w,qe,"∨","\\lor");y(_,w,qe,"∧","\\wedge",!0);y(_,w,qe,"∨","\\vee",!0);y(_,w,V,"√","\\surd");y(_,w,Ur,"⟨","\\langle",!0);y(_,w,Ur,"∣","\\lvert");y(_,w,Ur,"∥","\\lVert");y(_,w,or,"?","?");y(_,w,or,"!","!");y(_,w,or,"⟩","\\rangle",!0);y(_,w,or,"∣","\\rvert");y(_,w,or,"∥","\\rVert");y(_,w,U,"=","=");y(_,w,U,":",":");y(_,w,U,"≈","\\approx",!0);y(_,w,U,"≅","\\cong",!0);y(_,w,U,"≥","\\ge");y(_,w,U,"≥","\\geq",!0);y(_,w,U,"←","\\gets");y(_,w,U,">","\\gt",!0);y(_,w,U,"∈","\\in",!0);y(_,w,U,"","\\@not");y(_,w,U,"⊂","\\subset",!0);y(_,w,U,"⊃","\\supset",!0);y(_,w,U,"⊆","\\subseteq",!0);y(_,w,U,"⊇","\\supseteq",!0);y(_,P,U,"⊈","\\nsubseteq",!0);y(_,P,U,"⊉","\\nsupseteq",!0);y(_,w,U,"⊨","\\models");y(_,w,U,"←","\\leftarrow",!0);y(_,w,U,"≤","\\le");y(_,w,U,"≤","\\leq",!0);y(_,w,U,"<","\\lt",!0);y(_,w,U,"→","\\rightarrow",!0);y(_,w,U,"→","\\to");y(_,P,U,"≱","\\ngeq",!0);y(_,P,U,"≰","\\nleq",!0);y(_,w,ci," ","\\ ");y(_,w,ci," ","\\space");y(_,w,ci," ","\\nobreakspace");y(_e,w,ci," ","\\ ");y(_e,w,ci," "," ");y(_e,w,ci," ","\\space");y(_e,w,ci," ","\\nobreakspace");y(_,w,ci,null,"\\nobreak");y(_,w,ci,null,"\\allowbreak");y(_,w,J0,",",",");y(_,w,J0,";",";");y(_,P,qe,"⊼","\\barwedge",!0);y(_,P,qe,"⊻","\\veebar",!0);y(_,w,qe,"⊙","\\odot",!0);y(_,w,qe,"⊕","\\oplus",!0);y(_,w,qe,"⊗","\\otimes",!0);y(_,w,V,"∂","\\partial",!0);y(_,w,qe,"⊘","\\oslash",!0);y(_,P,qe,"⊚","\\circledcirc",!0);y(_,P,qe,"⊡","\\boxdot",!0);y(_,w,qe,"△","\\bigtriangleup");y(_,w,qe,"▽","\\bigtriangledown");y(_,w,qe,"†","\\dagger");y(_,w,qe,"⋄","\\diamond");y(_,w,qe,"⋆","\\star");y(_,w,qe,"◃","\\triangleleft");y(_,w,qe,"▹","\\triangleright");y(_,w,Ur,"{","\\{");y(_e,w,V,"{","\\{");y(_e,w,V,"{","\\textbraceleft");y(_,w,or,"}","\\}");y(_e,w,V,"}","\\}");y(_e,w,V,"}","\\textbraceright");y(_,w,Ur,"{","\\lbrace");y(_,w,or,"}","\\rbrace");y(_,w,Ur,"[","\\lbrack",!0);y(_e,w,V,"[","\\lbrack",!0);y(_,w,or,"]","\\rbrack",!0);y(_e,w,V,"]","\\rbrack",!0);y(_,w,Ur,"(","\\lparen",!0);y(_,w,or,")","\\rparen",!0);y(_e,w,V,"<","\\textless",!0);y(_e,w,V,">","\\textgreater",!0);y(_,w,Ur,"⌊","\\lfloor",!0);y(_,w,or,"⌋","\\rfloor",!0);y(_,w,Ur,"⌈","\\lceil",!0);y(_,w,or,"⌉","\\rceil",!0);y(_,w,V,"\\","\\backslash");y(_,w,V,"∣","|");y(_,w,V,"∣","\\vert");y(_e,w,V,"|","\\textbar",!0);y(_,w,V,"∥","\\|");y(_,w,V,"∥","\\Vert");y(_e,w,V,"∥","\\textbardbl");y(_e,w,V,"~","\\textasciitilde");y(_e,w,V,"\\","\\textbackslash");y(_e,w,V,"^","\\textasciicircum");y(_,w,U,"↑","\\uparrow",!0);y(_,w,U,"⇑","\\Uparrow",!0);y(_,w,U,"↓","\\downarrow",!0);y(_,w,U,"⇓","\\Downarrow",!0);y(_,w,U,"↕","\\updownarrow",!0);y(_,w,U,"⇕","\\Updownarrow",!0);y(_,w,Nn,"∐","\\coprod");y(_,w,Nn,"⋁","\\bigvee");y(_,w,Nn,"⋀","\\bigwedge");y(_,w,Nn,"⨄","\\biguplus");y(_,w,Nn,"⋂","\\bigcap");y(_,w,Nn,"⋃","\\bigcup");y(_,w,Nn,"∫","\\int");y(_,w,Nn,"∫","\\intop");y(_,w,Nn,"∬","\\iint");y(_,w,Nn,"∭","\\iiint");y(_,w,Nn,"∏","\\prod");y(_,w,Nn,"∑","\\sum");y(_,w,Nn,"⨂","\\bigotimes");y(_,w,Nn,"⨁","\\bigoplus");y(_,w,Nn,"⨀","\\bigodot");y(_,w,Nn,"∮","\\oint");y(_,w,Nn,"∯","\\oiint");y(_,w,Nn,"∰","\\oiiint");y(_,w,Nn,"⨆","\\bigsqcup");y(_,w,Nn,"∫","\\smallint");y(_e,w,Fl,"…","\\textellipsis");y(_,w,Fl,"…","\\mathellipsis");y(_e,w,Fl,"…","\\ldots",!0);y(_,w,Fl,"…","\\ldots",!0);y(_,w,Fl,"⋯","\\@cdots",!0);y(_,w,Fl,"⋱","\\ddots",!0);y(_,w,V,"⋮","\\varvdots");y(_e,w,V,"⋮","\\varvdots");y(_,w,rn,"ˊ","\\acute");y(_,w,rn,"ˋ","\\grave");y(_,w,rn,"¨","\\ddot");y(_,w,rn,"~","\\tilde");y(_,w,rn,"ˉ","\\bar");y(_,w,rn,"˘","\\breve");y(_,w,rn,"ˇ","\\check");y(_,w,rn,"^","\\hat");y(_,w,rn,"⃗","\\vec");y(_,w,rn,"˙","\\dot");y(_,w,rn,"˚","\\mathring");y(_,w,Je,"","\\@imath");y(_,w,Je,"","\\@jmath");y(_,w,V,"ı","ı");y(_,w,V,"ȷ","ȷ");y(_e,w,V,"ı","\\i",!0);y(_e,w,V,"ȷ","\\j",!0);y(_e,w,V,"ß","\\ss",!0);y(_e,w,V,"æ","\\ae",!0);y(_e,w,V,"œ","\\oe",!0);y(_e,w,V,"ø","\\o",!0);y(_e,w,V,"Æ","\\AE",!0);y(_e,w,V,"Œ","\\OE",!0);y(_e,w,V,"Ø","\\O",!0);y(_e,w,rn,"ˊ","\\'");y(_e,w,rn,"ˋ","\\`");y(_e,w,rn,"ˆ","\\^");y(_e,w,rn,"˜","\\~");y(_e,w,rn,"ˉ","\\=");y(_e,w,rn,"˘","\\u");y(_e,w,rn,"˙","\\.");y(_e,w,rn,"¸","\\c");y(_e,w,rn,"˚","\\r");y(_e,w,rn,"ˇ","\\v");y(_e,w,rn,"¨",'\\"');y(_e,w,rn,"˝","\\H");y(_e,w,rn,"◯","\\textcircled");var J5={"--":!0,"---":!0,"``":!0,"''":!0};y(_e,w,V,"–","--",!0);y(_e,w,V,"–","\\textendash");y(_e,w,V,"—","---",!0);y(_e,w,V,"—","\\textemdash");y(_e,w,V,"‘","`",!0);y(_e,w,V,"‘","\\textquoteleft");y(_e,w,V,"’","'",!0);y(_e,w,V,"’","\\textquoteright");y(_e,w,V,"“","``",!0);y(_e,w,V,"“","\\textquotedblleft");y(_e,w,V,"”","''",!0);y(_e,w,V,"”","\\textquotedblright");y(_,w,V,"°","\\degree",!0);y(_e,w,V,"°","\\degree");y(_e,w,V,"°","\\textdegree",!0);y(_,w,V,"£","\\pounds");y(_,w,V,"£","\\mathsterling",!0);y(_e,w,V,"£","\\pounds");y(_e,w,V,"£","\\textsterling",!0);y(_,P,V,"✠","\\maltese");y(_e,P,V,"✠","\\maltese");var b3='0123456789/@."';for(var Gh=0;Gh<b3.length;Gh++){var E3=b3.charAt(Gh);y(_,w,V,E3,E3)}var y3='0123456789!@*()-=+";:?/.,';for(var jh=0;jh<y3.length;jh++){var v3=y3.charAt(jh);y(_e,w,V,v3,v3)}var I0="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(var Vh=0;Vh<I0.length;Vh++){var r0=I0.charAt(Vh);y(_,w,Je,r0,r0),y(_e,w,V,r0,r0)}y(_,P,V,"C","ℂ");y(_e,P,V,"C","ℂ");y(_,P,V,"H","ℍ");y(_e,P,V,"H","ℍ");y(_,P,V,"N","ℕ");y(_e,P,V,"N","ℕ");y(_,P,V,"P","ℙ");y(_e,P,V,"P","ℙ");y(_,P,V,"Q","ℚ");y(_e,P,V,"Q","ℚ");y(_,P,V,"R","ℝ");y(_e,P,V,"R","ℝ");y(_,P,V,"Z","ℤ");y(_e,P,V,"Z","ℤ");y(_,w,Je,"h","ℎ");y(_e,w,Je,"h","ℎ");var it="";for(var rr=0;rr<I0.length;rr++){var pn=I0.charAt(rr);it=String.fromCharCode(55349,56320+rr),y(_,w,Je,pn,it),y(_e,w,V,pn,it),it=String.fromCharCode(55349,56372+rr),y(_,w,Je,pn,it),y(_e,w,V,pn,it),it=String.fromCharCode(55349,56424+rr),y(_,w,Je,pn,it),y(_e,w,V,pn,it),it=String.fromCharCode(55349,56580+rr),y(_,w,Je,pn,it),y(_e,w,V,pn,it),it=String.fromCharCode(55349,56684+rr),y(_,w,Je,pn,it),y(_e,w,V,pn,it),it=String.fromCharCode(55349,56736+rr),y(_,w,Je,pn,it),y(_e,w,V,pn,it),it=String.fromCharCode(55349,56788+rr),y(_,w,Je,pn,it),y(_e,w,V,pn,it),it=String.fromCharCode(55349,56840+rr),y(_,w,Je,pn,it),y(_e,w,V,pn,it),it=String.fromCharCode(55349,56944+rr),y(_,w,Je,pn,it),y(_e,w,V,pn,it),rr<26&&(it=String.fromCharCode(55349,56632+rr),y(_,w,Je,pn,it),y(_e,w,V,pn,it),it=String.fromCharCode(55349,56476+rr),y(_,w,Je,pn,it),y(_e,w,V,pn,it))}it="𝕜";y(_,w,Je,"k",it);y(_e,w,V,"k",it);for(var ks=0;ks<10;ks++){var qi=ks.toString();it=String.fromCharCode(55349,57294+ks),y(_,w,Je,qi,it),y(_e,w,V,qi,it),it=String.fromCharCode(55349,57314+ks),y(_,w,Je,qi,it),y(_e,w,V,qi,it),it=String.fromCharCode(55349,57324+ks),y(_,w,Je,qi,it),y(_e,w,V,qi,it),it=String.fromCharCode(55349,57334+ks),y(_,w,Je,qi,it),y(_e,w,V,qi,it)}var q1="ÐÞþ";for(var Kh=0;Kh<q1.length;Kh++){var a0=q1.charAt(Kh);y(_,w,Je,a0,a0),y(_e,w,V,a0,a0)}var i0=[["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"]],T3=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],eM=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[i0[d][2],i0[d][o]]}else if(120782<=l&&l<=120831){var f=Math.floor((l-120782)/10);return[T3[f][2],T3[f][o]]}else{if(l===120485||l===120486)return[i0[0][2],i0[0][o]];if(120486<l&&l<120782)return["",""];throw new Ce("Unsupported character: "+t)}},ed=function(t,n,a){return Xt[a][t]&&Xt[a][t].replace&&(t=Xt[a][t].replace),{value:t,metrics:Fm(t,n,a)}},da=function(t,n,a,s,l){var o=ed(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 ea(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 ea(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},tM=function(t,n,a,s){return s===void 0&&(s=[]),a.font==="boldsymbol"&&ed(t,"Main-Bold",n).metrics?da(t,"Main-Bold",n,a,s.concat(["mathbf"])):t==="\\"||Xt[n][t].font==="main"?da(t,"Main-Regular",n,a,s):da(t,"AMS-Regular",n,a,s.concat(["amsrm"]))},nM=function(t,n,a,s,l){return l!=="textord"&&ed(t,"Math-BoldItalic",n).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},rM=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]=eM(l,s)),h.length>0)return da(l,h,s,n,o.concat(p));if(f){var b,T;if(f==="boldsymbol"){var v=nM(l,s,n,o,a);b=v.fontName,T=[v.fontClass]}else d?(b=ny[f].fontName,T=[f]):(b=s0(f,n.fontWeight,n.fontShape),T=[f,n.fontWeight,n.fontShape]);if(ed(l,b,s).metrics)return da(l,b,s,n,o.concat(T));if(J5.hasOwnProperty(l)&&b.slice(0,10)==="Typewriter"){for(var A=[],k=0;k<l.length;k++)A.push(da(l[k],b,s,n,o.concat(T)));return ty(A)}}if(a==="mathord")return da(l,"Math-Italic",s,n,o.concat(["mathnormal"]));if(a==="textord"){var I=Xt[s][l]&&Xt[s][l].font;if(I==="ams"){var N=s0("amsrm",n.fontWeight,n.fontShape);return da(l,N,s,n,o.concat("amsrm",n.fontWeight,n.fontShape))}else if(I==="main"||!I){var M=s0("textrm",n.fontWeight,n.fontShape);return da(l,M,s,n,o.concat(n.fontWeight,n.fontShape))}else{var z=s0(I,n.fontWeight,n.fontShape);return da(l,z,s,n,o.concat(z,n.fontWeight,n.fontShape))}}else throw new Error("unexpected type: "+a+" in makeOrd")},aM=(e,t)=>{if(Qi(e.classes)!==Qi(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},iM=e=>{for(var t=0;t<e.length-1;t++){var n=e[t],a=e[t+1];n instanceof ea&&a instanceof ea&&aM(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},qm=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},yr=function(t,n,a,s){var l=new Co(t,n,a,s);return qm(l),l},ey=(e,t,n,a)=>new Co(e,t,n,a),sM=function(t,n,a){var s=yr([t],[],n);return s.height=Math.max(a||n.fontMetrics().defaultRuleThickness,n.minRuleThickness),s.style.borderBottomWidth=De(s.height),s.maxFontSize=1,s},lM=function(t,n,a,s){var l=new Hm(t,n,a,s);return qm(l),l},ty=function(t){var n=new No(t);return qm(n),n},uM=function(t,n){return t instanceof No?yr([],[t],n):t},oM=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}},cM=function(t,n){for(var{children:a,depth:s}=oM(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=yr(["pstrut"],[]);h.style.height=De(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 I=k.elem,N=k.wrapperClasses||[],M=k.wrapperStyle||{},z=yr(N,[h,I],void 0,M);z.style.top=De(-l-v-I.depth),k.marginLeft&&(z.style.marginLeft=k.marginLeft),k.marginRight&&(z.style.marginRight=k.marginRight),p.push(z),v+=I.height+I.depth}b=Math.min(b,v),T=Math.max(T,v)}var $=yr(["vlist"],p);$.style.height=De(T);var Y;if(b<0){var L=yr([],[]),re=yr(["vlist"],[L]);re.style.height=De(-b);var X=yr(["vlist-s"],[new ea("​")]);Y=[yr(["vlist-r"],[$,X]),yr(["vlist-r"],[re])]}else Y=[yr(["vlist-r"],[$])];var ee=yr(["vlist-t"],Y);return Y.length===2&&ee.classes.push("vlist-t2"),ee.height=T,ee.depth=-b,ee},dM=(e,t)=>{var n=yr(["mspace"],[],t),a=fn(e,t);return n.style.marginRight=De(a),n},s0=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},ny={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"}},ry={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},fM=function(t,n){var[a,s,l]=ry[t],o=new Zi(a),d=new ii([o],{width:De(s),height:De(l),style:"width:"+De(s),viewBox:"0 0 "+1e3*s+" "+1e3*l,preserveAspectRatio:"xMinYMin"}),f=ey(["overlay"],[d],n);return f.height=l,f.style.height=De(l),f.style.width=De(s),f},ie={fontMap:ny,makeSymbol:da,mathsym:tM,makeSpan:yr,makeSvgSpan:ey,makeLineSpan:sM,makeAnchor:lM,makeFragment:ty,wrapFragment:uM,makeVList:cM,makeOrd:rM,makeGlue:dM,staticSvg:fM,svgData:ry,tryCombineChars:iM},dn={number:3,unit:"mu"},Ns={number:4,unit:"mu"},Ja={number:5,unit:"mu"},hM={mord:{mop:dn,mbin:Ns,mrel:Ja,minner:dn},mop:{mord:dn,mop:dn,mrel:Ja,minner:dn},mbin:{mord:Ns,mop:Ns,mopen:Ns,minner:Ns},mrel:{mord:Ja,mop:Ja,mopen:Ja,minner:Ja},mopen:{},mclose:{mop:dn,mbin:Ns,mrel:Ja,minner:dn},mpunct:{mord:dn,mop:dn,mrel:Ja,mopen:dn,mclose:dn,mpunct:dn,minner:dn},minner:{mord:dn,mop:dn,mbin:Ns,mrel:Ja,mopen:dn,mpunct:dn,minner:dn}},mM={mord:{mop:dn},mop:{mord:dn,mop:dn},mbin:{},mrel:{},mopen:{},mclose:{mop:dn},mpunct:{},minner:{mop:dn}},ay={},L0={},B0={};function ze(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)ay[n[f]]=d;t&&(l&&(L0[t]=l),o&&(B0[t]=o))}function Bs(e){var{type:t,htmlBuilder:n,mathmlBuilder:a}=e;ze({type:t,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:n,mathmlBuilder:a})}var P0=function(t){return t.type==="ordgroup"&&t.body.length===1?t.body[0]:t},vn=function(t){return t.type==="ordgroup"?t.body:[t]},si=ie.makeSpan,pM=["leftmost","mbin","mopen","mrel","mop","mpunct"],gM=["rightmost","mrel","mclose","mpunct"],bM={display:et.DISPLAY,text:et.TEXT,script:et.SCRIPT,scriptscript:et.SCRIPTSCRIPT},EM={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Dn=function(t,n,a,s){s===void 0&&(s=[null,null]);for(var l=[],o=0;o<t.length;o++){var d=kt(t[o],n);if(d instanceof No){var f=d.children;l.push(...f)}else l.push(d)}if(ie.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(bM[p.style]))}var b=si([s[0]||"leftmost"],[],n),T=si([s[1]||"rightmost"],[],n),v=a==="root";return _3(l,(A,k)=>{var I=k.classes[0],N=A.classes[0];I==="mbin"&&Ze.contains(gM,N)?k.classes[0]="mord":N==="mbin"&&Ze.contains(pM,I)&&(A.classes[0]="mord")},{node:b},T,v),_3(l,(A,k)=>{var I=Y1(k),N=Y1(A),M=I&&N?A.hasClass("mtight")?mM[I][N]:hM[I][N]:null;if(M)return ie.makeGlue(M,h)},{node:b},T,v),l},_3=function e(t,n,a,s,l){s&&t.push(s);for(var o=0;o<t.length;o++){var d=t[o],f=iy(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=si(["leftmost"])),a.insertAfter=(b=>T=>{t.splice(b+1,0,T),o++})(o)}s&&t.pop()},iy=function(t){return t instanceof No||t instanceof Hm||t instanceof Co&&t.hasClass("enclosing")?t:null},yM=function e(t,n){var a=iy(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},Y1=function(t,n){return t?(n&&(t=yM(t,n)),EM[t.classes[0]]||null):null},bo=function(t,n){var a=["nulldelimiter"].concat(t.baseSizingClasses());return si(n.concat(a))},kt=function(t,n,a){if(!t)return si();if(L0[t.type]){var s=L0[t.type](t,n);if(a&&n.size!==a.size){s=si(n.sizingClasses(a),[s],n);var l=n.sizeMultiplier/a.sizeMultiplier;s.height*=l,s.depth*=l}return s}else throw new Ce("Got group of unknown type: '"+t.type+"'")};function l0(e,t){var n=si(["base"],e,t),a=si(["strut"]);return a.style.height=De(n.height+n.depth),n.depth&&(a.style.verticalAlign=De(-n.depth)),n.children.unshift(a),n}function G1(e,t){var n=null;e.length===1&&e[0].type==="tag"&&(n=e[0].tag,e=e[0].body);var a=Dn(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(l0(o,t)),o=[])}else a[d].hasClass("newline")&&(o.pop(),o.length>0&&(l.push(l0(o,t)),o=[]),l.push(a[d]));o.length>0&&l.push(l0(o,t));var h;n?(h=l0(Dn(n,t,!0)),h.classes=["tag"],l.push(h)):s&&l.push(s);var p=si(["katex-html"],l);if(p.setAttribute("aria-hidden","true"),h){var b=h.children[0];b.style.height=De(p.height+p.depth),p.depth&&(b.style.verticalAlign=De(-p.depth))}return p}function sy(e){return new No(e)}class Br{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=Qi(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+=Ze.escape(this.attributes[n]),t+='"');this.classes.length>0&&(t+=' class ="'+Ze.escape(Qi(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 Ze.escape(this.toText())}toText(){return this.text}}class vM{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",De(this.width)),t}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+De(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var Ne={MathNode:Br,TextNode:Na,SpaceNode:vM,newDocumentFragment:sy},ta=function(t,n,a){return Xt[n][t]&&Xt[n][t].replace&&t.charCodeAt(0)!==55349&&!(J5.hasOwnProperty(t)&&a&&(a.fontFamily&&a.fontFamily.slice(4,6)==="tt"||a.font&&a.font.slice(4,6)==="tt"))&&(t=Xt[n][t].replace),new Ne.TextNode(t)},Ym=function(t){return t.length===1?t[0]:new Ne.MathNode("mrow",t)},Gm=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(Ze.contains(["\\imath","\\jmath"],l))return null;Xt[s][l]&&Xt[s][l].replace&&(l=Xt[s][l].replace);var o=ie.fontMap[a].fontName;return Fm(l,o,s)?ie.fontMap[a].variant:null};function $h(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 Tr=function(t,n,a){if(t.length===1){var s=jt(t[0],n);return a&&s instanceof Br&&s.type==="mo"&&(s.setAttribute("lspace","0em"),s.setAttribute("rspace","0em")),[s]}for(var l=[],o,d=0;d<t.length;d++){var f=jt(t[d],n);if(f instanceof Br&&o instanceof Br){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($h(f)&&o.type==="mn"){o.children.push(...f.children);continue}else if(f.type==="mn"&&$h(o))f.children=[...o.children,...f.children],l.pop();else if((f.type==="msup"||f.type==="msub")&&f.children.length>=1&&(o.type==="mn"||$h(o))){var h=f.children[0];h instanceof Br&&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},Ji=function(t,n,a){return Ym(Tr(t,n,a))},jt=function(t,n){if(!t)return new Ne.MathNode("mrow");if(B0[t.type]){var a=B0[t.type](t,n);return a}else throw new Ce("Got group of unknown type: '"+t.type+"'")};function S3(e,t,n,a,s){var l=Tr(e,n),o;l.length===1&&l[0]instanceof Br&&Ze.contains(["mrow","mtable"],l[0].type)?o=l[0]:o=new Ne.MathNode("mrow",l);var d=new Ne.MathNode("annotation",[new Ne.TextNode(t)]);d.setAttribute("encoding","application/x-tex");var f=new Ne.MathNode("semantics",[o,d]),h=new Ne.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 ie.makeSpan([p],[h])}var ly=function(t){return new ti({style:t.displayMode?et.DISPLAY:et.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},uy=function(t,n){if(n.displayMode){var a=["katex-display"];n.leqno&&a.push("leqno"),n.fleqn&&a.push("fleqn"),t=ie.makeSpan(a,[t])}return t},TM=function(t,n,a){var s=ly(a),l;if(a.output==="mathml")return S3(t,n,s,a.displayMode,!0);if(a.output==="html"){var o=G1(t,s);l=ie.makeSpan(["katex"],[o])}else{var d=S3(t,n,s,a.displayMode,!1),f=G1(t,s);l=ie.makeSpan(["katex"],[d,f])}return uy(l,a)},_M=function(t,n,a){var s=ly(a),l=G1(t,s),o=ie.makeSpan(["katex"],[l]);return uy(o,a)},SM={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":"="},xM=function(t){var n=new Ne.MathNode("mo",[new Ne.TextNode(SM[t.replace(/^\\/,"")])]);return n.setAttribute("stretchy","true"),n},AM={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]},wM=function(t){return t.type==="ordgroup"?t.body.length:1},kM=function(t,n){function a(){var d=4e5,f=t.label.slice(1);if(Ze.contains(["widehat","widecheck","widetilde","utilde"],f)){var h=t,p=wM(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 Zi(T),I=new ii([k],{width:"100%",height:De(v),viewBox:"0 0 "+d+" "+b,preserveAspectRatio:"none"});return{span:ie.makeSvgSpan([],[I],n),minWidth:0,height:v}}else{var N=[],M=AM[f],[z,$,Y]=M,L=Y/1e3,re=z.length,X,ee;if(re===1){var q=M[3];X=["hide-tail"],ee=[q]}else if(re===2)X=["halfarrow-left","halfarrow-right"],ee=["xMinYMin","xMaxYMin"];else if(re===3)X=["brace-left","brace-center","brace-right"],ee=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
339
+ `+re+" children.");for(var ce=0;ce<re;ce++){var J=new Zi(z[ce]),ve=new ii([J],{width:"400em",height:De(L),viewBox:"0 0 "+d+" "+Y,preserveAspectRatio:ee[ce]+" slice"}),he=ie.makeSvgSpan([X[ce]],[ve],n);if(re===1)return{span:he,minWidth:$,height:L};he.style.height=De(L),N.push(he)}return{span:ie.makeSpan(["stretchy"],N,n),minWidth:$,height:L}}}var{span:s,minWidth:l,height:o}=a();return s.height=o,s.style.height=De(o),l>0&&(s.style.minWidth=De(l)),s},NM=function(t,n,a,s,l){var o,d=t.height+t.depth+a+s;if(/fbox|color|angl/.test(n)){if(o=ie.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 H1({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(n)&&h.push(new H1({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var p=new ii(h,{width:"100%",height:De(d)});o=ie.makeSvgSpan([],[p],l)}return o.height=d,o.style.height=De(d),o},li={encloseSpan:NM,mathMLnode:xM,svgSpan:kM};function ht(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 jm(e){var t=td(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 td(e){return e&&(e.type==="atom"||JR.hasOwnProperty(e.type))?e:null}var Vm=(e,t)=>{var n,a,s;e&&e.type==="supsub"?(a=ht(e.base,"accent"),n=a.base,e.base=n,s=QR(kt(e,t)),e.base=a):(a=ht(e,"accent"),n=a.base);var l=kt(n,t.havingCrampedStyle()),o=a.isShifty&&Ze.isCharacterBox(n),d=0;if(o){var f=Ze.getBaseElem(n),h=kt(f,t.havingCrampedStyle());d=g3(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=li.svgSpan(a,t),T=ie.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"elem",elem:T,wrapperClasses:["svg-align"],wrapperStyle:d>0?{width:"calc(100% - "+De(2*d)+")",marginLeft:De(2*d)}:void 0}]},t);else{var v,A;a.label==="\\vec"?(v=ie.staticSvg("vec",t),A=ie.svgData.vec[1]):(v=ie.makeOrd({mode:a.mode,text:a.label},t,"textord"),v=g3(v),v.italic=0,A=v.width,p&&(b+=v.depth)),T=ie.makeSpan(["accent-body"],[v]);var k=a.label==="\\textcircled";k&&(T.classes.push("accent-full"),b=l.height);var I=d;k||(I-=A/2),T.style.left=De(I),a.label==="\\textcircled"&&(T.style.top=".2em"),T=ie.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:-b},{type:"elem",elem:T}]},t)}var N=ie.makeSpan(["mord","accent"],[T],t);return s?(s.children[0]=N,s.height=Math.max(N.height,s.height),s.classes[0]="mord",s):N},oy=(e,t)=>{var n=e.isStretchy?li.mathMLnode(e.label):new Ne.MathNode("mo",[ta(e.label,e.mode)]),a=new Ne.MathNode("mover",[jt(e.base,t),n]);return a.setAttribute("accent","true"),a},CM=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));ze({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=P0(t[0]),a=!CM.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:Vm,mathmlBuilder:oy});ze({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:Vm,mathmlBuilder:oy});ze({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=kt(e.base,t),a=li.svgSpan(e,t),s=e.label==="\\utilde"?.12:0,l=ie.makeVList({positionType:"top",positionData:n.height,children:[{type:"elem",elem:a,wrapperClasses:["svg-align"]},{type:"kern",size:s},{type:"elem",elem:n}]},t);return ie.makeSpan(["mord","accentunder"],[l],t)},mathmlBuilder:(e,t)=>{var n=li.mathMLnode(e.label),a=new Ne.MathNode("munder",[jt(e.base,t),n]);return a.setAttribute("accentunder","true"),a}});var u0=e=>{var t=new Ne.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};ze({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=ie.wrapFragment(kt(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=ie.wrapFragment(kt(e.below,a,t),t),o.classes.push(l+"-arrow-pad"));var d=li.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=ie.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=ie.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"),ie.makeSpan(["mrel","x-arrow"],[p],t)},mathmlBuilder(e,t){var n=li.mathMLnode(e.label);n.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var a;if(e.body){var s=u0(jt(e.body,t));if(e.below){var l=u0(jt(e.below,t));a=new Ne.MathNode("munderover",[n,l,s])}else a=new Ne.MathNode("mover",[n,s])}else if(e.below){var o=u0(jt(e.below,t));a=new Ne.MathNode("munder",[n,o])}else a=u0(),a=new Ne.MathNode("mover",[n,a]);return a}});var OM=ie.makeSpan;function cy(e,t){var n=Dn(e.body,t,!0);return OM([e.mclass],n,t)}function dy(e,t){var n,a=Tr(e.body,t);return e.mclass==="minner"?n=new Ne.MathNode("mpadded",a):e.mclass==="mord"?e.isCharacterBox?(n=a[0],n.type="mi"):n=new Ne.MathNode("mi",a):(e.isCharacterBox?(n=a[0],n.type="mo"):n=new Ne.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}ze({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:vn(s),isCharacterBox:Ze.isCharacterBox(s)}},htmlBuilder:cy,mathmlBuilder:dy});var nd=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"};ze({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:n}=e;return{type:"mclass",mode:n.mode,mclass:nd(t[0]),body:vn(t[1]),isCharacterBox:Ze.isCharacterBox(t[1])}}});ze({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=nd(s):o="mrel";var d={type:"op",mode:s.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:a!=="\\stackrel",body:vn(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:Ze.isCharacterBox(f)}},htmlBuilder:cy,mathmlBuilder:dy});ze({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:"pmb",mode:n.mode,mclass:nd(t[0]),body:vn(t[0])}},htmlBuilder(e,t){var n=Dn(e.body,t,!0),a=ie.makeSpan([e.mclass],n,t);return a.style.textShadow="0.02em 0.01em 0.04px",a},mathmlBuilder(e,t){var n=Tr(e.body,t),a=new Ne.MathNode("mstyle",n);return a.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),a}});var RM={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},x3=()=>({type:"styling",body:[],mode:"math",style:"display"}),A3=e=>e.type==="textord"&&e.text==="@",MM=(e,t)=>(e.type==="mathord"||e.type==="atom")&&e.text===t;function DM(e,t,n){var a=RM[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 IM(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var n=e.fetch().text;if(n==="&"||n==="\\\\")e.consume();else if(n==="\\end"){t[t.length-1].length===0&&t.pop();break}else throw new Ce("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var a=[],s=[a],l=0;l<t.length;l++){for(var o=t[l],d=x3(),f=0;f<o.length;f++)if(!A3(o[f]))d.body.push(o[f]);else{a.push(d),f+=1;var h=jm(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(MM(o[v],h)){T=!1,f=v;break}if(A3(o[v]))throw new Ce("Missing a "+h+" character to complete a CD arrow.",o[v]);p[b].body.push(o[v])}if(T)throw new Ce("Missing a "+h+" character to complete a CD arrow.",o[f])}else throw new Ce('Expected one of "<>AV=|." after @',o[f]);var A=DM(h,p,e),k={type:"styling",body:[A],mode:"math",style:"display"};a.push(k),d=x3()}l%2===0?a.push(d):a.shift(),a=[],s.push(a)}e.gullet.endGroup(),e.gullet.endGroup();var I=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:I,colSeparationType:"CD",hLinesBeforeRow:new Array(s.length+1).fill([])}}ze({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=ie.wrapFragment(kt(e.label,n,t),t);return a.classes.push("cd-label-"+e.side),a.style.bottom=De(.8-a.depth),a.height=0,a.depth=0,a},mathmlBuilder(e,t){var n=new Ne.MathNode("mrow",[jt(e.label,t)]);return n=new Ne.MathNode("mpadded",[n]),n.setAttribute("width","0"),e.side==="left"&&n.setAttribute("lspace","-1width"),n.setAttribute("voffset","0.7em"),n=new Ne.MathNode("mstyle",[n]),n.setAttribute("displaystyle","false"),n.setAttribute("scriptlevel","1"),n}});ze({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=ie.wrapFragment(kt(e.fragment,t),t);return n.classes.push("cd-vert-arrow"),n},mathmlBuilder(e,t){return new Ne.MathNode("mrow",[jt(e.fragment,t)])}});ze({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:n}=e,a=ht(t[0],"ordgroup"),s=a.body,l="",o=0;o<s.length;o++){var d=ht(s[o],"textord");l+=d.text}var f=parseInt(l),h;if(isNaN(f))throw new Ce("\\@char has non-numeric argument "+l);if(f<0||f>=1114111)throw new Ce("\\@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 fy=(e,t)=>{var n=Dn(e.body,t.withColor(e.color),!1);return ie.makeFragment(n)},hy=(e,t)=>{var n=Tr(e.body,t.withColor(e.color)),a=new Ne.MathNode("mstyle",n);return a.setAttribute("mathcolor",e.color),a};ze({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:n}=e,a=ht(t[0],"color-token").color,s=t[1];return{type:"color",mode:n.mode,color:a,body:vn(s)}},htmlBuilder:fy,mathmlBuilder:hy});ze({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:n,breakOnTokenText:a}=e,s=ht(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:fy,mathmlBuilder:hy});ze({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&&ht(s,"size").value}},htmlBuilder(e,t){var n=ie.makeSpan(["mspace"],[],t);return e.newLine&&(n.classes.push("newline"),e.size&&(n.style.marginTop=De(fn(e.size,t)))),n},mathmlBuilder(e,t){var n=new Ne.MathNode("mspace");return e.newLine&&(n.setAttribute("linebreak","newline"),e.size&&n.setAttribute("height",De(fn(e.size,t)))),n}});var j1={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},my=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new Ce("Expected a control sequence",e);return t},LM=e=>{var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},py=(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)};ze({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(j1[a.text])return(n==="\\global"||n==="\\\\globallong")&&(a.text=j1[a.text]),ht(t.parseFunction(),"internal");throw new Ce("Invalid token after macro prefix",a)}});ze({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 Ce("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 Ce('Invalid argument number "'+a.text+'"');if(parseInt(a.text)!==l+1)throw new Ce('Argument number "'+a.text+'" out of order');l++,d.push([])}else{if(a.text==="EOF")throw new Ce("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===j1[n]),{type:"internal",mode:t.mode}}});ze({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,a=my(t.gullet.popToken());t.gullet.consumeSpaces();var s=LM(t);return py(t,a,s,n==="\\\\globallet"),{type:"internal",mode:t.mode}}});ze({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,a=my(t.gullet.popToken()),s=t.gullet.popToken(),l=t.gullet.popToken();return py(t,a,l,n==="\\\\globalfuture"),t.gullet.pushToken(l),t.gullet.pushToken(s),{type:"internal",mode:t.mode}}});var Zu=function(t,n,a){var s=Xt.math[t]&&Xt.math[t].replace,l=Fm(s||t,n,a);if(!l)throw new Error("Unsupported symbol "+t+" and font size "+n+".");return l},Km=function(t,n,a,s){var l=a.havingBaseStyle(n),o=ie.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},gy=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=De(l),t.height-=l,t.depth+=l},BM=function(t,n,a,s,l,o){var d=ie.makeSymbol(t,"Main-Regular",l,s),f=Km(d,n,s,o);return a&&gy(f,s,n),f},PM=function(t,n,a,s){return ie.makeSymbol(t,"Size"+n+"-Regular",a,s)},by=function(t,n,a,s,l,o){var d=PM(t,n,l,s),f=Km(ie.makeSpan(["delimsizing","size"+n],[d],s),et.TEXT,s,o);return a&&gy(f,s,et.TEXT),f},Xh=function(t,n,a){var s;n==="Size1-Regular"?s="delim-size1":s="delim-size4";var l=ie.makeSpan(["delimsizinginner",s],[ie.makeSpan([],[ie.makeSymbol(t,n,a)])]);return{type:"elem",elem:l}},Wh=function(t,n,a){var s=ka["Size4-Regular"][t.charCodeAt(0)]?ka["Size4-Regular"][t.charCodeAt(0)][4]:ka["Size1-Regular"][t.charCodeAt(0)][4],l=new Zi("inner",qR(t,Math.round(1e3*n))),o=new ii([l],{width:De(s),height:De(n),style:"width:"+De(s),viewBox:"0 0 "+1e3*s+" "+Math.round(1e3*n),preserveAspectRatio:"xMinYMin"}),d=ie.makeSvgSpan([],[o],a);return d.height=n,d.style.height=De(n),d.style.width=De(s),{type:"elem",elem:d}},V1=.008,o0={type:"kern",size:-1*V1},UM=["|","\\lvert","\\rvert","\\vert"],zM=["\\|","\\lVert","\\rVert","\\Vert"],Ey=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"):Ze.contains(UM,t)?(h="∣",b="vert",T=333):Ze.contains(zM,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=Zu(d,v,l),k=A.height+A.depth,I=Zu(h,v,l),N=I.height+I.depth,M=Zu(p,v,l),z=M.height+M.depth,$=0,Y=1;if(f!==null){var L=Zu(f,v,l);$=L.height+L.depth,Y=2}var re=k+z+$,X=Math.max(0,Math.ceil((n-re)/(Y*N))),ee=re+X*Y*N,q=s.fontMetrics().axisHeight;a&&(q*=s.sizeMultiplier);var ce=ee/2-q,J=[];if(b.length>0){var ve=ee-k-z,he=Math.round(ee*1e3),be=YR(b,Math.round(ve*1e3)),W=new Zi(b,be),de=(T/1e3).toFixed(3)+"em",ge=(he/1e3).toFixed(3)+"em",Fe=new ii([W],{width:de,height:ge,viewBox:"0 0 "+T+" "+he}),S=ie.makeSvgSpan([],[Fe],s);S.height=he/1e3,S.style.width=de,S.style.height=ge,J.push({type:"elem",elem:S})}else{if(J.push(Xh(p,v,l)),J.push(o0),f===null){var K=ee-k-z+2*V1;J.push(Wh(h,K,s))}else{var ue=(ee-k-z-$)/2+2*V1;J.push(Wh(h,ue,s)),J.push(o0),J.push(Xh(f,v,l)),J.push(o0),J.push(Wh(h,ue,s))}J.push(o0),J.push(Xh(d,v,l))}var R=s.havingBaseStyle(et.TEXT),Ae=ie.makeVList({positionType:"bottom",positionData:ce,children:J},R);return Km(ie.makeSpan(["delimsizing","mult"],[Ae],R),et.TEXT,s,o)},Qh=80,Zh=.08,Jh=function(t,n,a,s,l){var o=HR(t,s,a),d=new Zi(t,o),f=new ii([d],{width:"400em",height:De(n),viewBox:"0 0 400000 "+a,preserveAspectRatio:"xMinYMin slice"});return ie.makeSvgSpan(["hide-tail"],[f],l)},FM=function(t,n){var a=n.havingBaseSizing(),s=_y("\\surd",t*a.sizeMultiplier,Ty,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+Qh,t<1?l=1:t<1.4&&(l=.7),f=(1+o+Zh)/l,h=(1+o)/l,d=Jh("sqrtMain",f,p,o,n),d.style.minWidth="0.853em",b=.833/l):s.type==="large"?(p=(1e3+Qh)*lo[s.size],h=(lo[s.size]+o)/l,f=(lo[s.size]+o+Zh)/l,d=Jh("sqrtSize"+s.size,f,p,o,n),d.style.minWidth="1.02em",b=1/l):(f=t+o+Zh,h=t+o,p=Math.floor(1e3*t+o)+Qh,d=Jh("sqrtTall",f,p,o,n),d.style.minWidth="0.742em",b=1.056),d.height=h,d.style.height=De(f),{span:d,advanceWidth:b,ruleWidth:(n.fontMetrics().sqrtRuleThickness+o)*l}},yy=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],HM=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],vy=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],lo=[0,1.2,1.8,2.4,3],qM=function(t,n,a,s,l){if(t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle"),Ze.contains(yy,t)||Ze.contains(vy,t))return by(t,n,!1,a,s,l);if(Ze.contains(HM,t))return Ey(t,lo[n],!1,a,s,l);throw new Ce("Illegal delimiter: '"+t+"'")},YM=[{type:"small",style:et.SCRIPTSCRIPT},{type:"small",style:et.SCRIPT},{type:"small",style:et.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],GM=[{type:"small",style:et.SCRIPTSCRIPT},{type:"small",style:et.SCRIPT},{type:"small",style:et.TEXT},{type:"stack"}],Ty=[{type:"small",style:et.SCRIPTSCRIPT},{type:"small",style:et.SCRIPT},{type:"small",style:et.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],jM=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.")},_y=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=Zu(t,jM(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]},Sy=function(t,n,a,s,l,o){t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle");var d;Ze.contains(vy,t)?d=YM:Ze.contains(yy,t)?d=Ty:d=GM;var f=_y(t,n,d,s);return f.type==="small"?BM(t,f.style,a,s,l,o):f.type==="large"?by(t,f.size,a,s,l,o):Ey(t,n,a,s,l,o)},VM=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 Sy(t,b,!0,s,l,o)},ai={sqrtImage:FM,sizedDelim:qM,sizeToMaxHeight:lo,customSizedDelim:Sy,leftRightDelim:VM},w3={"\\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}},KM=["(","\\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 rd(e,t){var n=td(e);if(n&&Ze.contains(KM,n.text))return n;throw n?new Ce("Invalid delimiter '"+n.text+"' after '"+t.funcName+"'",e):new Ce("Invalid delimiter type '"+e.type+"'",e)}ze({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=rd(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:w3[e.funcName].size,mclass:w3[e.funcName].mclass,delim:n.text}},htmlBuilder:(e,t)=>e.delim==="."?ie.makeSpan([e.mclass]):ai.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!=="."&&t.push(ta(e.delim,e.mode));var n=new Ne.MathNode("mo",t);e.mclass==="mopen"||e.mclass==="mclose"?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n.setAttribute("stretchy","true");var a=De(ai.sizeToMaxHeight[e.size]);return n.setAttribute("minsize",a),n.setAttribute("maxsize",a),n}});function k3(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}ze({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=e.parser.gullet.macros.get("\\current@color");if(n&&typeof n!="string")throw new Ce("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:rd(t[0],e).text,color:n}}});ze({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=rd(t[0],e),a=e.parser;++a.leftrightDepth;var s=a.parseExpression(!1);--a.leftrightDepth,a.expect("\\right",!1);var l=ht(a.parseFunction(),"leftright-right");return{type:"leftright",mode:a.mode,body:s,left:n.text,right:l.delim,rightColor:l.color}},htmlBuilder:(e,t)=>{k3(e);for(var n=Dn(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=bo(t,["mopen"]):d=ai.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]=ai.leftRightDelim(p.delim,a,s,p.options,e.mode,[]))}var b;if(e.right===".")b=bo(t,["mclose"]);else{var T=e.rightColor?t.withColor(e.rightColor):t;b=ai.leftRightDelim(e.right,a,s,T,e.mode,["mclose"])}return n.push(b),ie.makeSpan(["minner"],n,t)},mathmlBuilder:(e,t)=>{k3(e);var n=Tr(e.body,t);if(e.left!=="."){var a=new Ne.MathNode("mo",[ta(e.left,e.mode)]);a.setAttribute("fence","true"),n.unshift(a)}if(e.right!=="."){var s=new Ne.MathNode("mo",[ta(e.right,e.mode)]);s.setAttribute("fence","true"),e.rightColor&&s.setAttribute("mathcolor",e.rightColor),n.push(s)}return Ym(n)}});ze({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=rd(t[0],e);if(!e.parser.leftrightDepth)throw new Ce("\\middle without preceding \\left",n);return{type:"middle",mode:e.parser.mode,delim:n.text}},htmlBuilder:(e,t)=>{var n;if(e.delim===".")n=bo(t,[]);else{n=ai.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==="|"?ta("|","text"):ta(e.delim,e.mode),a=new Ne.MathNode("mo",[n]);return a.setAttribute("fence","true"),a.setAttribute("lspace","0.05em"),a.setAttribute("rspace","0.05em"),a}});var $m=(e,t)=>{var n=ie.wrapFragment(kt(e.body,t),t),a=e.label.slice(1),s=t.sizeMultiplier,l,o=0,d=Ze.isCharacterBox(e.body);if(a==="sout")l=ie.makeSpan(["stretchy","sout"]),l.height=t.fontMetrics().defaultRuleThickness/s,o=-.5*t.fontMetrics().xHeight;else if(a==="phase"){var f=fn({number:.6,unit:"pt"},t),h=fn({number:.35,unit:"ex"},t),p=t.havingBaseSizing();s=s/p.sizeMultiplier;var b=n.height+n.depth+f+h;n.style.paddingLeft=De(b/2+f);var T=Math.floor(1e3*b*s),v=zR(T),A=new ii([new Zi("phase",v)],{width:"400em",height:De(T/1e3),viewBox:"0 0 400000 "+T,preserveAspectRatio:"xMinYMin slice"});l=ie.makeSvgSpan(["hide-tail"],[A],t),l.style.height=De(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,I=0,N=0;/box/.test(a)?(N=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),k=t.fontMetrics().fboxsep+(a==="colorbox"?0:N),I=k):a==="angl"?(N=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),k=4*N,I=Math.max(0,.25-n.depth)):(k=d?.2:0,I=k),l=li.encloseSpan(n,a,k,I,t),/fbox|boxed|fcolorbox/.test(a)?(l.style.borderStyle="solid",l.style.borderWidth=De(N)):a==="angl"&&N!==.049&&(l.style.borderTopWidth=De(N),l.style.borderRightWidth=De(N)),o=n.depth+I,e.backgroundColor&&(l.style.backgroundColor=e.backgroundColor,e.borderColor&&(l.style.borderColor=e.borderColor))}var M;if(e.backgroundColor)M=ie.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:o},{type:"elem",elem:n,shift:0}]},t);else{var z=/cancel|phase/.test(a)?["svg-align"]:[];M=ie.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:0},{type:"elem",elem:l,shift:o,wrapperClasses:z}]},t)}return/cancel/.test(a)&&(M.height=n.height,M.depth=n.depth),/cancel/.test(a)&&!d?ie.makeSpan(["mord","cancel-lap"],[M],t):ie.makeSpan(["mord"],[M],t)},Xm=(e,t)=>{var n=0,a=new Ne.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[jt(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};ze({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,n){var{parser:a,funcName:s}=e,l=ht(t[0],"color-token").color,o=t[1];return{type:"enclose",mode:a.mode,label:s,backgroundColor:l,body:o}},htmlBuilder:$m,mathmlBuilder:Xm});ze({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,n){var{parser:a,funcName:s}=e,l=ht(t[0],"color-token").color,o=ht(t[1],"color-token").color,d=t[2];return{type:"enclose",mode:a.mode,label:s,backgroundColor:o,borderColor:l,body:d}},htmlBuilder:$m,mathmlBuilder:Xm});ze({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]}}});ze({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:$m,mathmlBuilder:Xm});ze({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 xy={};function Ma(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)xy[n[f]]=d;l&&(L0[t]=l),o&&(B0[t]=o)}var Ay={};function O(e,t){Ay[e]=t}function N3(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 ad=e=>{var t=e.parser.settings;if(!t.displayMode)throw new Ce("{"+e.envName+"} can be used only in display mode.")};function Wm(e){if(e.indexOf("ed")===-1)return e.indexOf("*")===-1}function ts(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 Ce("Invalid \\arraystretch: "+v)}e.gullet.beginGroup();var A=[],k=[A],I=[],N=[],M=f!=null?[]:void 0;function z(){f&&e.gullet.macros.set("\\@eqnsw","1",!0)}function $(){M&&(e.gullet.macros.get("\\df@tag")?(M.push(e.subparse([new Jr("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):M.push(!!f&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(z(),N.push(N3(e));;){var Y=e.parseExpression(!1,h?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),Y={type:"ordgroup",mode:e.mode,body:Y},n&&(Y={type:"styling",mode:e.mode,style:n,body:[Y]}),A.push(Y);var L=e.fetch().text;if(L==="&"){if(b&&A.length===b){if(h||d)throw new Ce("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(L==="\\end"){$(),A.length===1&&Y.type==="styling"&&Y.body[0].body.length===0&&(k.length>1||!p)&&k.pop(),N.length<k.length+1&&N.push([]);break}else if(L==="\\\\"){e.consume();var re=void 0;e.gullet.future().text!==" "&&(re=e.parseSizeGroup(!0)),I.push(re?re.value:null),$(),N.push(N3(e)),A=[],k.push(A),z()}else throw new Ce("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:I,hskipBeforeAndAfter:a,hLinesBeforeRow:N,colSeparationType:d,tags:M,leqno:T}}function Qm(e){return e.slice(0,1)==="d"?"display":"text"}var Da=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(et.SCRIPT).sizeMultiplier;T=.2778*(v/n.sizeMultiplier)}var A=t.colSeparationType==="CD"?fn({number:3,unit:"ex"},n):12*b,k=3*b,I=t.arraystretch*A,N=.7*I,M=.3*I,z=0;function $(an){for(var Nt=0;Nt<an.length;++Nt)Nt>0&&(z+=.25),h.push({pos:z,isDashed:an[Nt]})}for($(o[0]),a=0;a<t.body.length;++a){var Y=t.body[a],L=N,re=M;d<Y.length&&(d=Y.length);var X=new Array(Y.length);for(s=0;s<Y.length;++s){var ee=kt(Y[s],n);re<ee.depth&&(re=ee.depth),L<ee.height&&(L=ee.height),X[s]=ee}var q=t.rowGaps[a],ce=0;q&&(ce=fn(q,n),ce>0&&(ce+=M,re<ce&&(re=ce),ce=0)),t.addJot&&(re+=k),X.height=L,X.depth=re,z+=L,X.pos=z,z+=re+ce,f[a]=X,$(o[a+1])}var J=z/2+n.fontMetrics().axisHeight,ve=t.cols||[],he=[],be,W,de=[];if(t.tags&&t.tags.some(an=>an))for(a=0;a<l;++a){var ge=f[a],Fe=ge.pos-J,S=t.tags[a],K=void 0;S===!0?K=ie.makeSpan(["eqn-num"],[],n):S===!1?K=ie.makeSpan([],[],n):K=ie.makeSpan([],Dn(S,n,!0),n),K.depth=ge.depth,K.height=ge.height,de.push({type:"elem",elem:K,shift:Fe})}for(s=0,W=0;s<d||W<ve.length;++s,++W){for(var ue=ve[W]||{},R=!0;ue.type==="separator";){if(R||(be=ie.makeSpan(["arraycolsep"],[]),be.style.width=De(n.fontMetrics().doubleRuleSep),he.push(be)),ue.separator==="|"||ue.separator===":"){var Ae=ue.separator==="|"?"solid":"dashed",Pe=ie.makeSpan(["vertical-separator"],[],n);Pe.style.height=De(z),Pe.style.borderRightWidth=De(p),Pe.style.borderRightStyle=Ae,Pe.style.margin="0 "+De(-p/2);var we=z-J;we&&(Pe.style.verticalAlign=De(-we)),he.push(Pe)}else throw new Ce("Invalid separator type: "+ue.separator);W++,ue=ve[W]||{},R=!1}if(!(s>=d)){var wt=void 0;(s>0||t.hskipBeforeAndAfter)&&(wt=Ze.deflt(ue.pregap,T),wt!==0&&(be=ie.makeSpan(["arraycolsep"],[]),be.style.width=De(wt),he.push(be)));var st=[];for(a=0;a<l;++a){var Wt=f[a],Pt=Wt[s];if(Pt){var In=Wt.pos-J;Pt.depth=Wt.depth,Pt.height=Wt.height,st.push({type:"elem",elem:Pt,shift:In})}}st=ie.makeVList({positionType:"individualShift",children:st},n),st=ie.makeSpan(["col-align-"+(ue.align||"c")],[st]),he.push(st),(s<d-1||t.hskipBeforeAndAfter)&&(wt=Ze.deflt(ue.postgap,T),wt!==0&&(be=ie.makeSpan(["arraycolsep"],[]),be.style.width=De(wt),he.push(be)))}}if(f=ie.makeSpan(["mtable"],he),h.length>0){for(var zr=ie.makeLineSpan("hline",n,p),vt=ie.makeLineSpan("hdashline",n,p),mt=[{type:"elem",elem:f,shift:0}];h.length>0;){var Ut=h.pop(),Ke=Ut.pos-J;Ut.isDashed?mt.push({type:"elem",elem:vt,shift:Ke}):mt.push({type:"elem",elem:zr,shift:Ke})}f=ie.makeVList({positionType:"individualShift",children:mt},n)}if(de.length===0)return ie.makeSpan(["mord"],[f],n);var xt=ie.makeVList({positionType:"individualShift",children:de},n);return xt=ie.makeSpan(["tag"],[xt],n),ie.makeFragment([f,xt])},$M={c:"center ",l:"left ",r:"right "},Ia=function(t,n){for(var a=[],s=new Ne.MathNode("mtd",[],["mtr-glue"]),l=new Ne.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 Ne.MathNode("mtd",[jt(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 Ne.MathNode("mtr",f))}var p=new Ne.MathNode("mtable",a),b=t.arraystretch===.5?.1:.16+t.arraystretch-1+(t.addJot?.09:0);p.setAttribute("rowspacing",De(b));var T="",v="";if(t.cols&&t.cols.length>0){var A=t.cols,k="",I=!1,N=0,M=A.length;A[0].type==="separator"&&(T+="top ",N=1),A[A.length-1].type==="separator"&&(T+="bottom ",M-=1);for(var z=N;z<M;z++)A[z].type==="align"?(v+=$M[A[z].align],I&&(k+="none "),I=!0):A[z].type==="separator"&&I&&(k+=A[z].separator==="|"?"solid ":"dashed ",I=!1);p.setAttribute("columnalign",v.trim()),/[sd]/.test(k)&&p.setAttribute("columnlines",k.trim())}if(t.colSeparationType==="align"){for(var $=t.cols||[],Y="",L=1;L<$.length;L++)Y+=L%2?"0em ":"1em ";p.setAttribute("columnspacing",Y.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 re="",X=t.hLinesBeforeRow;T+=X[0].length>0?"left ":"",T+=X[X.length-1].length>0?"right ":"";for(var ee=1;ee<X.length-1;ee++)re+=X[ee].length===0?"none ":X[ee][0]?"dashed ":"solid ";return/[sd]/.test(re)&&p.setAttribute("rowlines",re.trim()),T!==""&&(p=new Ne.MathNode("menclose",[p]),p.setAttribute("notation",T.trim())),t.arraystretch&&t.arraystretch<1&&(p=new Ne.MathNode("mstyle",[p]),p.setAttribute("scriptlevel","1")),p},wy=function(t,n){t.envName.indexOf("ed")===-1&&ad(t);var a=[],s=t.envName.indexOf("at")>-1?"alignat":"align",l=t.envName==="split",o=ts(t.parser,{cols:a,addJot:!0,autoTag:l?void 0:Wm(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=ht(n[0].body[b],"textord");p+=T.text}d=Number(p),f=d*2}var v=!f;o.body.forEach(function(N){for(var M=1;M<N.length;M+=2){var z=ht(N[M],"styling"),$=ht(z.body[0],"ordgroup");$.body.unshift(h)}if(v)f<N.length&&(f=N.length);else{var Y=N.length/2;if(d<Y)throw new Ce("Too many math in a row: "+("expected "+d+", but got "+Y),N[0])}});for(var A=0;A<f;++A){var k="r",I=0;A%2===1?k="l":A>0&&v&&(I=1),a[A]={type:"align",align:k,pregap:I,postgap:0}}return o.colSeparationType=v?"align":"alignat",o};Ma({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var n=td(t[0]),a=n?[t[0]]:ht(t[0],"ordgroup").body,s=a.map(function(o){var d=jm(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 Ce("Unknown column alignment: "+f,o)}),l={cols:s,hskipBeforeAndAfter:!0,maxNumCols:s.length};return ts(e.parser,l,Qm(e.envName))},htmlBuilder:Da,mathmlBuilder:Ia});Ma({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 Ce("Expected l or c or r",s.nextToken);s.consume(),s.consumeSpaces(),s.expect("]"),s.consume(),a.cols=[{type:"align",align:n}]}}var l=ts(e.parser,a,Qm(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:Da,mathmlBuilder:Ia});Ma({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t={arraystretch:.5},n=ts(e.parser,t,"script");return n.colSeparationType="small",n},htmlBuilder:Da,mathmlBuilder:Ia});Ma({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var n=td(t[0]),a=n?[t[0]]:ht(t[0],"ordgroup").body,s=a.map(function(o){var d=jm(o),f=d.text;if("lc".indexOf(f)!==-1)return{type:"align",align:f};throw new Ce("Unknown column alignment: "+f,o)});if(s.length>1)throw new Ce("{subarray} can contain only one column");var l={cols:s,hskipBeforeAndAfter:!1,arraystretch:.5};if(l=ts(e.parser,l,"script"),l.body.length>0&&l.body[0].length>1)throw new Ce("{subarray} can contain only one column");return l},htmlBuilder:Da,mathmlBuilder:Ia});Ma({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=ts(e.parser,t,Qm(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:Da,mathmlBuilder:Ia});Ma({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:wy,htmlBuilder:Da,mathmlBuilder:Ia});Ma({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){Ze.contains(["gather","gather*"],e.envName)&&ad(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Wm(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return ts(e.parser,t,"display")},htmlBuilder:Da,mathmlBuilder:Ia});Ma({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:wy,htmlBuilder:Da,mathmlBuilder:Ia});Ma({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){ad(e);var t={autoTag:Wm(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return ts(e.parser,t,"display")},htmlBuilder:Da,mathmlBuilder:Ia});Ma({type:"array",names:["CD"],props:{numArgs:0},handler(e){return ad(e),IM(e.parser)},htmlBuilder:Da,mathmlBuilder:Ia});O("\\nonumber","\\gdef\\@eqnsw{0}");O("\\notag","\\nonumber");ze({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new Ce(e.funcName+" valid only within array environment")}});var C3=xy;ze({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 Ce("Invalid environment name",s);for(var l="",o=0;o<s.body.length;++o)l+=ht(s.body[o],"textord").text;if(a==="\\begin"){if(!C3.hasOwnProperty(l))throw new Ce("No such environment: "+l,s);var d=C3[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=ht(n.parseFunction(),"environment");if(v.name!==l)throw new Ce("Mismatch: \\begin{"+l+"} matched by \\end{"+v.name+"}",T);return b}return{type:"environment",mode:n.mode,name:l,nameGroup:s}}});var ky=(e,t)=>{var n=e.font,a=t.withFont(n);return kt(e.body,a)},Ny=(e,t)=>{var n=e.font,a=t.withFont(n);return jt(e.body,a)},O3={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};ze({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=P0(t[0]),l=a;return l in O3&&(l=O3[l]),{type:"font",mode:n.mode,font:l.slice(1),body:s}},htmlBuilder:ky,mathmlBuilder:Ny});ze({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:n}=e,a=t[0],s=Ze.isCharacterBox(a);return{type:"mclass",mode:n.mode,mclass:nd(a),body:[{type:"font",mode:n.mode,font:"boldsymbol",body:a}],isCharacterBox:s}}});ze({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:ky,mathmlBuilder:Ny});var Cy=(e,t)=>{var n=t;return e==="display"?n=n.id>=et.SCRIPT.id?n.text():et.DISPLAY:e==="text"&&n.size===et.DISPLAY.size?n=et.TEXT:e==="script"?n=et.SCRIPT:e==="scriptscript"&&(n=et.SCRIPTSCRIPT),n},Zm=(e,t)=>{var n=Cy(e.size,t.style),a=n.fracNum(),s=n.fracDen(),l;l=t.havingStyle(a);var o=kt(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=kt(e.denom,l,t),p,b,T;e.hasBarLine?(e.barSize?(b=fn(e.barSize,t),p=ie.makeLineSpan("frac-line",t,b)):p=ie.makeLineSpan("frac-line",t),b=p.height,T=p.height):(p=null,b=0,T=t.fontMetrics().defaultRuleThickness);var v,A,k;n.size===et.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 I;if(p){var M=t.fontMetrics().axisHeight;v-o.depth-(M+.5*b)<A&&(v+=A-(v-o.depth-(M+.5*b))),M-.5*b-(h.height-k)<A&&(k+=A-(M-.5*b-(h.height-k)));var z=-(M-.5*b);I=ie.makeVList({positionType:"individualShift",children:[{type:"elem",elem:h,shift:k},{type:"elem",elem:p,shift:z},{type:"elem",elem:o,shift:-v}]},t)}else{var N=v-o.depth-(h.height-k);N<A&&(v+=.5*(A-N),k+=.5*(A-N)),I=ie.makeVList({positionType:"individualShift",children:[{type:"elem",elem:h,shift:k},{type:"elem",elem:o,shift:-v}]},t)}l=t.havingStyle(n),I.height*=l.sizeMultiplier/t.sizeMultiplier,I.depth*=l.sizeMultiplier/t.sizeMultiplier;var $;n.size===et.DISPLAY.size?$=t.fontMetrics().delim1:n.size===et.SCRIPTSCRIPT.size?$=t.havingStyle(et.SCRIPT).fontMetrics().delim2:$=t.fontMetrics().delim2;var Y,L;return e.leftDelim==null?Y=bo(t,["mopen"]):Y=ai.customSizedDelim(e.leftDelim,$,!0,t.havingStyle(n),e.mode,["mopen"]),e.continued?L=ie.makeSpan([]):e.rightDelim==null?L=bo(t,["mclose"]):L=ai.customSizedDelim(e.rightDelim,$,!0,t.havingStyle(n),e.mode,["mclose"]),ie.makeSpan(["mord"].concat(l.sizingClasses(t)),[Y,ie.makeSpan(["mfrac"],[I]),L],t)},Jm=(e,t)=>{var n=new Ne.MathNode("mfrac",[jt(e.numer,t),jt(e.denom,t)]);if(!e.hasBarLine)n.setAttribute("linethickness","0px");else if(e.barSize){var a=fn(e.barSize,t);n.setAttribute("linethickness",De(a))}var s=Cy(e.size,t.style);if(s.size!==t.style.size){n=new Ne.MathNode("mstyle",[n]);var l=s.size===et.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 Ne.MathNode("mo",[new Ne.TextNode(e.leftDelim.replace("\\",""))]);d.setAttribute("fence","true"),o.push(d)}if(o.push(n),e.rightDelim!=null){var f=new Ne.MathNode("mo",[new Ne.TextNode(e.rightDelim.replace("\\",""))]);f.setAttribute("fence","true"),o.push(f)}return Ym(o)}return n};ze({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:Zm,mathmlBuilder:Jm});ze({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}}});ze({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 R3=["display","text","script","scriptscript"],M3=function(t){var n=null;return t.length>0&&(n=t,n=n==="."?null:n),n};ze({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=P0(t[0]),o=l.type==="atom"&&l.family==="open"?M3(l.text):null,d=P0(t[1]),f=d.type==="atom"&&d.family==="close"?M3(d.text):null,h=ht(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=ht(v.body[0],"textord");T=R3[Number(A.text)]}}else v=ht(v,"textord"),T=R3[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:Zm,mathmlBuilder:Jm});ze({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:ht(t[0],"size").value,token:s}}});ze({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:n,funcName:a}=e,s=t[0],l=xR(ht(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:Zm,mathmlBuilder:Jm});var Oy=(e,t)=>{var n=t.style,a,s;e.type==="supsub"?(a=e.sup?kt(e.sup,t.havingStyle(n.sup()),t):kt(e.sub,t.havingStyle(n.sub()),t),s=ht(e.base,"horizBrace")):s=ht(e,"horizBrace");var l=kt(s.base,t.havingBaseStyle(et.DISPLAY)),o=li.svgSpan(s,t),d;if(s.isOver?(d=ie.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=ie.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=ie.makeSpan(["mord",s.isOver?"mover":"munder"],[d],t);s.isOver?d=ie.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:f},{type:"kern",size:.2},{type:"elem",elem:a}]},t):d=ie.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 ie.makeSpan(["mord",s.isOver?"mover":"munder"],[d],t)},XM=(e,t)=>{var n=li.mathMLnode(e.label);return new Ne.MathNode(e.isOver?"mover":"munder",[jt(e.base,t),n])};ze({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:Oy,mathmlBuilder:XM});ze({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,a=t[1],s=ht(t[0],"url").url;return n.settings.isTrusted({command:"\\href",url:s})?{type:"href",mode:n.mode,href:s,body:vn(a)}:n.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var n=Dn(e.body,t,!1);return ie.makeAnchor(e.href,[],n,t)},mathmlBuilder:(e,t)=>{var n=Ji(e.body,t);return n instanceof Br||(n=new Br("mrow",[n])),n.setAttribute("href",e.href),n}});ze({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,a=ht(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:vn(d)}}});ze({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:vn(t[0])}},htmlBuilder(e,t){var n=Dn(e.body,t,!1);return ie.makeFragment(n)},mathmlBuilder(e,t){return new Ne.MathNode("mrow",Tr(e.body,t))}});ze({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=ht(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 Ce("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:vn(o)}:n.formatUnsupportedCmd(a)},htmlBuilder:(e,t)=>{var n=Dn(e.body,t,!1),a=["enclosing"];e.attributes.class&&a.push(...e.attributes.class.trim().split(/\s+/));var s=ie.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)=>Ji(e.body,t)});ze({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e;return{type:"htmlmathml",mode:n.mode,html:vn(t[0]),mathml:vn(t[1])}},htmlBuilder:(e,t)=>{var n=Dn(e.html,t,!1);return ie.makeFragment(n)},mathmlBuilder:(e,t)=>Ji(e.mathml,t)});var e1=function(t){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(t))return{number:+t,unit:"bp"};var n=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t);if(!n)throw new Ce("Invalid size: '"+t+"' in \\includegraphics");var a={number:+(n[1]+n[2]),unit:n[3]};if(!X5(a))throw new Ce("Invalid unit: '"+a.unit+"' in \\includegraphics.");return a};ze({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=ht(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=e1(T);break;case"height":l=e1(T);break;case"totalheight":o=e1(T);break;default:throw new Ce("Invalid key: '"+b[0]+"' in \\includegraphics.")}}}var v=ht(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=fn(e.height,t),a=0;e.totalheight.number>0&&(a=fn(e.totalheight,t)-n);var s=0;e.width.number>0&&(s=fn(e.width,t));var l={height:De(n+a)};s>0&&(l.width=De(s)),a>0&&(l.verticalAlign=De(-a));var o=new XR(e.src,e.alt,l);return o.height=n,o.depth=a,o},mathmlBuilder:(e,t)=>{var n=new Ne.MathNode("mglyph",[]);n.setAttribute("alt",e.alt);var a=fn(e.height,t),s=0;if(e.totalheight.number>0&&(s=fn(e.totalheight,t)-a,n.setAttribute("valign",De(-s))),n.setAttribute("height",De(a+s)),e.width.number>0){var l=fn(e.width,t);n.setAttribute("width",De(l))}return n.setAttribute("src",e.src),n}});ze({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=ht(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 ie.makeGlue(e.dimension,t)},mathmlBuilder(e,t){var n=fn(e.dimension,t);return new Ne.SpaceNode(n)}});ze({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=ie.makeSpan([],[kt(e.body,t)]),n=ie.makeSpan(["inner"],[n],t)):n=ie.makeSpan(["inner"],[kt(e.body,t)]);var a=ie.makeSpan(["fix"],[]),s=ie.makeSpan([e.alignment],[n,a],t),l=ie.makeSpan(["strut"]);return l.style.height=De(s.height+s.depth),s.depth&&(l.style.verticalAlign=De(-s.depth)),s.children.unshift(l),s=ie.makeSpan(["thinbox"],[s],t),ie.makeSpan(["mord","vbox"],[s],t)},mathmlBuilder:(e,t)=>{var n=new Ne.MathNode("mpadded",[jt(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}});ze({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}}});ze({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new Ce("Mismatched "+e.funcName)}});var D3=(e,t)=>{switch(t.style.size){case et.DISPLAY.size:return e.display;case et.TEXT.size:return e.text;case et.SCRIPT.size:return e.script;case et.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};ze({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:n}=e;return{type:"mathchoice",mode:n.mode,display:vn(t[0]),text:vn(t[1]),script:vn(t[2]),scriptscript:vn(t[3])}},htmlBuilder:(e,t)=>{var n=D3(e,t),a=Dn(n,t,!1);return ie.makeFragment(a)},mathmlBuilder:(e,t)=>{var n=D3(e,t);return Ji(n,t)}});var Ry=(e,t,n,a,s,l,o)=>{e=ie.makeSpan([],[e]);var d=n&&Ze.isCharacterBox(n),f,h;if(t){var p=kt(t,a.havingStyle(s.sup()),a);h={elem:p,kern:Math.max(a.fontMetrics().bigOpSpacing1,a.fontMetrics().bigOpSpacing3-p.depth)}}if(n){var b=kt(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=ie.makeVList({positionType:"bottom",positionData:v,children:[{type:"kern",size:a.fontMetrics().bigOpSpacing5},{type:"elem",elem:f.elem,marginLeft:De(-l)},{type:"kern",size:f.kern},{type:"elem",elem:e},{type:"kern",size:h.kern},{type:"elem",elem:h.elem,marginLeft:De(l)},{type:"kern",size:a.fontMetrics().bigOpSpacing5}]},a)}else if(f){var A=e.height-o;T=ie.makeVList({positionType:"top",positionData:A,children:[{type:"kern",size:a.fontMetrics().bigOpSpacing5},{type:"elem",elem:f.elem,marginLeft:De(-l)},{type:"kern",size:f.kern},{type:"elem",elem:e}]},a)}else if(h){var k=e.depth+o;T=ie.makeVList({positionType:"bottom",positionData:k,children:[{type:"elem",elem:e},{type:"kern",size:h.kern},{type:"elem",elem:h.elem,marginLeft:De(l)},{type:"kern",size:a.fontMetrics().bigOpSpacing5}]},a)}else return e;var I=[T];if(f&&l!==0&&!d){var N=ie.makeSpan(["mspace"],[],a);N.style.marginRight=De(l),I.unshift(N)}return ie.makeSpan(["mop","op-limits"],I,a)},My=["\\smallint"],Hl=(e,t)=>{var n,a,s=!1,l;e.type==="supsub"?(n=e.sup,a=e.sub,l=ht(e.base,"op"),s=!0):l=ht(e,"op");var o=t.style,d=!1;o.size===et.DISPLAY.size&&l.symbol&&!Ze.contains(My,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=ie.makeSymbol(l.name,h,"math",t,["mop","op-symbol",d?"large-op":"small-op"]),p.length>0){var b=f.italic,T=ie.staticSvg(p+"Size"+(d?"2":"1"),t);f=ie.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=Dn(l.body,t,!0);v.length===1&&v[0]instanceof ea?(f=v[0],f.classes[0]="mop"):f=ie.makeSpan(["mop"],v,t)}else{for(var A=[],k=1;k<l.name.length;k++)A.push(ie.mathsym(l.name[k],l.mode,t));f=ie.makeSpan(["mop"],A,t)}var I=0,N=0;return(f instanceof ea||l.name==="\\oiint"||l.name==="\\oiiint")&&!l.suppressBaseShift&&(I=(f.height-f.depth)/2-t.fontMetrics().axisHeight,N=f.italic),s?Ry(f,n,a,t,o,N,I):(I&&(f.style.position="relative",f.style.top=De(I)),f)},Oo=(e,t)=>{var n;if(e.symbol)n=new Br("mo",[ta(e.name,e.mode)]),Ze.contains(My,e.name)&&n.setAttribute("largeop","false");else if(e.body)n=new Br("mo",Tr(e.body,t));else{n=new Br("mi",[new Na(e.name.slice(1))]);var a=new Br("mo",[ta("⁡","text")]);e.parentIsSupSub?n=new Br("mrow",[n,a]):n=sy([n,a])}return n},WM={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};ze({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=WM[s]),{type:"op",mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:s}},htmlBuilder:Hl,mathmlBuilder:Oo});ze({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:vn(a)}},htmlBuilder:Hl,mathmlBuilder:Oo});var QM={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};ze({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:Hl,mathmlBuilder:Oo});ze({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:Hl,mathmlBuilder:Oo});ze({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=QM[a]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:a}},htmlBuilder:Hl,mathmlBuilder:Oo});var Dy=(e,t)=>{var n,a,s=!1,l;e.type==="supsub"?(n=e.sup,a=e.sub,l=ht(e.base,"operatorname"),s=!0):l=ht(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=Dn(d,t.withFont("mathrm"),!0),h=0;h<f.length;h++){var p=f[h];p instanceof ea&&(p.text=p.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}o=ie.makeSpan(["mop"],f,t)}else o=ie.makeSpan(["mop"],[],t);return s?Ry(o,n,a,t,t.style,0,0):o},ZM=(e,t)=>{for(var n=Tr(e.body,t.withFont("mathrm")),a=!0,s=0;s<n.length;s++){var l=n[s];if(!(l instanceof Ne.SpaceNode))if(l instanceof Ne.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 Ne.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 Ne.TextNode(d)]}var f=new Ne.MathNode("mi",n);f.setAttribute("mathvariant","normal");var h=new Ne.MathNode("mo",[ta("⁡","text")]);return e.parentIsSupSub?new Ne.MathNode("mrow",[f,h]):Ne.newDocumentFragment([f,h])};ze({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:vn(s),alwaysHandleSupSub:a==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:Dy,mathmlBuilder:ZM});O("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");Bs({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?ie.makeFragment(Dn(e.body,t,!1)):ie.makeSpan(["mord"],Dn(e.body,t,!0),t)},mathmlBuilder(e,t){return Ji(e.body,t,!0)}});ze({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=kt(e.body,t.havingCrampedStyle()),a=ie.makeLineSpan("overline-line",t),s=t.fontMetrics().defaultRuleThickness,l=ie.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n},{type:"kern",size:3*s},{type:"elem",elem:a},{type:"kern",size:s}]},t);return ie.makeSpan(["mord","overline"],[l],t)},mathmlBuilder(e,t){var n=new Ne.MathNode("mo",[new Ne.TextNode("‾")]);n.setAttribute("stretchy","true");var a=new Ne.MathNode("mover",[jt(e.body,t),n]);return a.setAttribute("accent","true"),a}});ze({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:vn(a)}},htmlBuilder:(e,t)=>{var n=Dn(e.body,t.withPhantom(),!1);return ie.makeFragment(n)},mathmlBuilder:(e,t)=>{var n=Tr(e.body,t);return new Ne.MathNode("mphantom",n)}});ze({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=ie.makeSpan([],[kt(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=ie.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},t),ie.makeSpan(["mord"],[n],t)},mathmlBuilder:(e,t)=>{var n=Tr(vn(e.body),t),a=new Ne.MathNode("mphantom",n),s=new Ne.MathNode("mpadded",[a]);return s.setAttribute("height","0px"),s.setAttribute("depth","0px"),s}});ze({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=ie.makeSpan(["inner"],[kt(e.body,t.withPhantom())]),a=ie.makeSpan(["fix"],[]);return ie.makeSpan(["mord","rlap"],[n,a],t)},mathmlBuilder:(e,t)=>{var n=Tr(vn(e.body),t),a=new Ne.MathNode("mphantom",n),s=new Ne.MathNode("mpadded",[a]);return s.setAttribute("width","0px"),s}});ze({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:n}=e,a=ht(t[0],"size").value,s=t[1];return{type:"raisebox",mode:n.mode,dy:a,body:s}},htmlBuilder(e,t){var n=kt(e.body,t),a=fn(e.dy,t);return ie.makeVList({positionType:"shift",positionData:-a,children:[{type:"elem",elem:n}]},t)},mathmlBuilder(e,t){var n=new Ne.MathNode("mpadded",[jt(e.body,t)]),a=e.dy.number+e.dy.unit;return n.setAttribute("voffset",a),n}});ze({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}});ze({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=ht(t[0],"size"),o=ht(t[1],"size");return{type:"rule",mode:a.mode,shift:s&&ht(s,"size").value,width:l.value,height:o.value}},htmlBuilder(e,t){var n=ie.makeSpan(["mord","rule"],[],t),a=fn(e.width,t),s=fn(e.height,t),l=e.shift?fn(e.shift,t):0;return n.style.borderRightWidth=De(a),n.style.borderTopWidth=De(s),n.style.bottom=De(l),n.width=a,n.height=s+l,n.depth=-l,n.maxFontSize=s*1.125*t.sizeMultiplier,n},mathmlBuilder(e,t){var n=fn(e.width,t),a=fn(e.height,t),s=e.shift?fn(e.shift,t):0,l=t.color&&t.getColor()||"black",o=new Ne.MathNode("mspace");o.setAttribute("mathbackground",l),o.setAttribute("width",De(n)),o.setAttribute("height",De(a));var d=new Ne.MathNode("mpadded",[o]);return s>=0?d.setAttribute("height",De(s)):(d.setAttribute("height",De(s)),d.setAttribute("depth",De(-s))),d.setAttribute("voffset",De(s)),d}});function Iy(e,t,n){for(var a=Dn(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 ie.makeFragment(a)}var I3=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],JM=(e,t)=>{var n=t.havingSize(e.size);return Iy(e.body,n,t)};ze({type:"sizing",names:I3,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:I3.indexOf(a)+1,body:l}},htmlBuilder:JM,mathmlBuilder:(e,t)=>{var n=t.havingSize(e.size),a=Tr(e.body,n),s=new Ne.MathNode("mstyle",a);return s.setAttribute("mathsize",De(n.sizeMultiplier)),s}});ze({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]&&ht(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=ie.makeSpan([],[kt(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=ie.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},t);return ie.makeSpan(["mord"],[l],t)},mathmlBuilder:(e,t)=>{var n=new Ne.MathNode("mpadded",[jt(e.body,t)]);return e.smashHeight&&n.setAttribute("height","0px"),e.smashDepth&&n.setAttribute("depth","0px"),n}});ze({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=kt(e.body,t.havingCrampedStyle());n.height===0&&(n.height=t.fontMetrics().xHeight),n=ie.wrapFragment(n,t);var a=t.fontMetrics(),s=a.defaultRuleThickness,l=s;t.style.id<et.TEXT.id&&(l=t.fontMetrics().xHeight);var o=s+l/4,d=n.height+n.depth+o+s,{span:f,ruleWidth:h,advanceWidth:p}=ai.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=De(p);var v=ie.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(et.SCRIPTSCRIPT),k=kt(e.index,A,t),I=.6*(v.height-v.depth),N=ie.makeVList({positionType:"shift",positionData:-I,children:[{type:"elem",elem:k}]},t),M=ie.makeSpan(["root"],[N]);return ie.makeSpan(["mord","sqrt"],[M,v],t)}else return ie.makeSpan(["mord","sqrt"],[v],t)},mathmlBuilder(e,t){var{body:n,index:a}=e;return a?new Ne.MathNode("mroot",[jt(n,t),jt(a,t)]):new Ne.MathNode("msqrt",[jt(n,t)])}});var L3={display:et.DISPLAY,text:et.TEXT,script:et.SCRIPT,scriptscript:et.SCRIPTSCRIPT};ze({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=L3[e.style],a=t.havingStyle(n).withFont("");return Iy(e.body,a,t)},mathmlBuilder(e,t){var n=L3[e.style],a=t.havingStyle(n),s=Tr(e.body,a),l=new Ne.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 eD=function(t,n){var a=t.base;if(a)if(a.type==="op"){var s=a.limits&&(n.style.size===et.DISPLAY.size||a.alwaysHandleSupSub);return s?Hl:null}else if(a.type==="operatorname"){var l=a.alwaysHandleSupSub&&(n.style.size===et.DISPLAY.size||a.limits);return l?Dy:null}else{if(a.type==="accent")return Ze.isCharacterBox(a.base)?Vm:null;if(a.type==="horizBrace"){var o=!t.sub;return o===a.isOver?Oy:null}else return null}else return null};Bs({type:"supsub",htmlBuilder(e,t){var n=eD(e,t);if(n)return n(e,t);var{base:a,sup:s,sub:l}=e,o=kt(a,t),d,f,h=t.fontMetrics(),p=0,b=0,T=a&&Ze.isCharacterBox(a);if(s){var v=t.havingStyle(t.style.sup());d=kt(s,v,t),T||(p=o.height-v.fontMetrics().supDrop*v.sizeMultiplier/t.sizeMultiplier)}if(l){var A=t.havingStyle(t.style.sub());f=kt(l,A,t),T||(b=o.depth+A.fontMetrics().subDrop*A.sizeMultiplier/t.sizeMultiplier)}var k;t.style===et.DISPLAY?k=h.sup1:t.style.cramped?k=h.sup3:k=h.sup2;var I=t.sizeMultiplier,N=De(.5/h.ptPerEm/I),M=null;if(f){var z=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(o instanceof ea||z)&&(M=De(-o.italic))}var $;if(d&&f){p=Math.max(p,k,d.depth+.25*h.xHeight),b=Math.max(b,h.sub2);var Y=h.defaultRuleThickness,L=4*Y;if(p-d.depth-(f.height-b)<L){b=L-(p-d.depth)+f.height;var re=.8*h.xHeight-(p-d.depth);re>0&&(p+=re,b-=re)}var X=[{type:"elem",elem:f,shift:b,marginRight:N,marginLeft:M},{type:"elem",elem:d,shift:-p,marginRight:N}];$=ie.makeVList({positionType:"individualShift",children:X},t)}else if(f){b=Math.max(b,h.sub1,f.height-.8*h.xHeight);var ee=[{type:"elem",elem:f,marginLeft:M,marginRight:N}];$=ie.makeVList({positionType:"shift",positionData:b,children:ee},t)}else if(d)p=Math.max(p,k,d.depth+.25*h.xHeight),$=ie.makeVList({positionType:"shift",positionData:-p,children:[{type:"elem",elem:d,marginRight:N}]},t);else throw new Error("supsub must have either sup or sub.");var q=Y1(o,"right")||"mord";return ie.makeSpan([q],[o,ie.makeSpan(["msupsub"],[$])],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=[jt(e.base,t)];e.sub&&l.push(jt(e.sub,t)),e.sup&&l.push(jt(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===et.DISPLAY||h&&h.type==="operatorname"&&h.alwaysHandleSupSub&&(t.style===et.DISPLAY||h.limits)?o="munderover":o="msubsup"}else{var f=e.base;f&&f.type==="op"&&f.limits&&(t.style===et.DISPLAY||f.alwaysHandleSupSub)||f&&f.type==="operatorname"&&f.alwaysHandleSupSub&&(f.limits||t.style===et.DISPLAY)?o="munder":o="msub"}else{var d=e.base;d&&d.type==="op"&&d.limits&&(t.style===et.DISPLAY||d.alwaysHandleSupSub)||d&&d.type==="operatorname"&&d.alwaysHandleSupSub&&(d.limits||t.style===et.DISPLAY)?o="mover":o="msup"}return new Ne.MathNode(o,l)}});Bs({type:"atom",htmlBuilder(e,t){return ie.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var n=new Ne.MathNode("mo",[ta(e.text,e.mode)]);if(e.family==="bin"){var a=Gm(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 Ly={mi:"italic",mn:"normal",mtext:"normal"};Bs({type:"mathord",htmlBuilder(e,t){return ie.makeOrd(e,t,"mathord")},mathmlBuilder(e,t){var n=new Ne.MathNode("mi",[ta(e.text,e.mode,t)]),a=Gm(e,t)||"italic";return a!==Ly[n.type]&&n.setAttribute("mathvariant",a),n}});Bs({type:"textord",htmlBuilder(e,t){return ie.makeOrd(e,t,"textord")},mathmlBuilder(e,t){var n=ta(e.text,e.mode,t),a=Gm(e,t)||"normal",s;return e.mode==="text"?s=new Ne.MathNode("mtext",[n]):/[0-9]/.test(e.text)?s=new Ne.MathNode("mn",[n]):e.text==="\\prime"?s=new Ne.MathNode("mo",[n]):s=new Ne.MathNode("mi",[n]),a!==Ly[s.type]&&s.setAttribute("mathvariant",a),s}});var t1={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},n1={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Bs({type:"spacing",htmlBuilder(e,t){if(n1.hasOwnProperty(e.text)){var n=n1[e.text].className||"";if(e.mode==="text"){var a=ie.makeOrd(e,t,"textord");return a.classes.push(n),a}else return ie.makeSpan(["mspace",n],[ie.mathsym(e.text,e.mode,t)],t)}else{if(t1.hasOwnProperty(e.text))return ie.makeSpan(["mspace",t1[e.text]],[],t);throw new Ce('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var n;if(n1.hasOwnProperty(e.text))n=new Ne.MathNode("mtext",[new Ne.TextNode(" ")]);else{if(t1.hasOwnProperty(e.text))return new Ne.MathNode("mspace");throw new Ce('Unknown type of space "'+e.text+'"')}return n}});var B3=()=>{var e=new Ne.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};Bs({type:"tag",mathmlBuilder(e,t){var n=new Ne.MathNode("mtable",[new Ne.MathNode("mtr",[B3(),new Ne.MathNode("mtd",[Ji(e.body,t)]),B3(),new Ne.MathNode("mtd",[Ji(e.tag,t)])])]);return n.setAttribute("width","100%"),n}});var P3={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},U3={"\\textbf":"textbf","\\textmd":"textmd"},tD={"\\textit":"textit","\\textup":"textup"},z3=(e,t)=>{var n=e.font;if(n){if(P3[n])return t.withTextFontFamily(P3[n]);if(U3[n])return t.withTextFontWeight(U3[n]);if(n==="\\emph")return t.fontShape==="textit"?t.withTextFontShape("textup"):t.withTextFontShape("textit")}else return t;return t.withTextFontShape(tD[n])};ze({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:vn(s),font:a}},htmlBuilder(e,t){var n=z3(e,t),a=Dn(e.body,n,!0);return ie.makeSpan(["mord","text"],a,n)},mathmlBuilder(e,t){var n=z3(e,t);return Ji(e.body,n)}});ze({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=kt(e.body,t),a=ie.makeLineSpan("underline-line",t),s=t.fontMetrics().defaultRuleThickness,l=ie.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 ie.makeSpan(["mord","underline"],[l],t)},mathmlBuilder(e,t){var n=new Ne.MathNode("mo",[new Ne.TextNode("‾")]);n.setAttribute("stretchy","true");var a=new Ne.MathNode("munder",[jt(e.body,t),n]);return a.setAttribute("accentunder","true"),a}});ze({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=kt(e.body,t),a=t.fontMetrics().axisHeight,s=.5*(n.height-a-(n.depth+a));return ie.makeVList({positionType:"shift",positionData:s,children:[{type:"elem",elem:n}]},t)},mathmlBuilder(e,t){return new Ne.MathNode("mpadded",[jt(e.body,t)],["vcenter"])}});ze({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,n){throw new Ce("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var n=F3(e),a=[],s=t.havingStyle(t.style.text()),l=0;l<n.length;l++){var o=n[l];o==="~"&&(o="\\textasciitilde"),a.push(ie.makeSymbol(o,"Typewriter-Regular",e.mode,s,["mord","texttt"]))}return ie.makeSpan(["mord","text"].concat(s.sizingClasses(t)),ie.tryCombineChars(a),s)},mathmlBuilder(e,t){var n=new Ne.TextNode(F3(e)),a=new Ne.MathNode("mtext",[n]);return a.setAttribute("mathvariant","monospace"),a}});var F3=e=>e.body.replace(/ /g,e.star?"␣":" "),Xi=ay,By=`[ \r
340
+ ]`,nD="\\\\[a-zA-Z@]+",rD="\\\\[^\uD800-\uDFFF]",aD="("+nD+")"+By+"*",iD=`\\\\(
341
+ |[ \r ]+
342
+ ?)[ \r ]*`,K1="[̀-ͯ]",sD=new RegExp(K1+"+$"),lD="("+By+"+)|"+(iD+"|")+"([!-\\[\\]-‧‪-퟿豈-￿]"+(K1+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(K1+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+aD)+("|"+rD+")");class H3{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(lD,"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 Jr("EOF",new Lr(this,n,n));var a=this.tokenRegex.exec(t);if(a===null||a.index!==n)throw new Ce("Unexpected character: '"+t[n]+"'",new Jr(t[n],new Lr(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 Jr(s,new Lr(this,n,this.tokenRegex.lastIndex))}}class uD{constructor(t,n){t===void 0&&(t={}),n===void 0&&(n={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=n,this.builtins=t,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new Ce("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var t=this.undefStack.pop();for(var n in t)t.hasOwnProperty(n)&&(t[n]==null?delete this.current[n]:this.current[n]=t[n])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(t){return this.current.hasOwnProperty(t)||this.builtins.hasOwnProperty(t)}get(t){return this.current.hasOwnProperty(t)?this.current[t]:this.builtins[t]}set(t,n,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 oD=Ay;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 q3={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 Ce("\\char` missing argument");a=t.text.charCodeAt(0)}else n=10;if(n){if(a=q3[t.text],a==null||a>=n)throw new Ce("Invalid base-"+n+" digit "+t.text);for(var s;(s=q3[e.future().text])!=null&&s<n;)a*=n,a+=s,e.popToken()}return"\\@char{"+a+"}"});var ep=(e,t,n,a)=>{var s=e.consumeArg().tokens;if(s.length!==1)throw new Ce("\\newcommand's first argument must be a macro name");var l=s[0].text,o=e.isDefined(l);if(o&&!t)throw new Ce("\\newcommand{"+l+"} attempting to redefine "+(l+"; use \\renewcommand"));if(!o&&!n)throw new Ce("\\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 Ce("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=>ep(e,!1,!0,!1));O("\\renewcommand",e=>ep(e,!0,!1,!1));O("\\providecommand",e=>ep(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),Xi[n],Xt.math[n],Xt.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 Y3={",":"\\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 Y3?t=Y3[n]:(n.slice(0,4)==="\\not"||n in Xt.math&&Ze.contains(["bin","rel"],Xt.math[n].group))&&(t="\\dotsb"),t});var tp={")":!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 tp?"\\ldots\\,":"\\ldots"});O("\\dotsc",function(e){var t=e.future().text;return t in tp&&t!==","?"\\ldots\\,":"\\ldots"});O("\\cdots",function(e){var t=e.future().text;return t in tp?"\\@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 Ce("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 Py=De(ka["Main-Regular"][84][1]-.7*ka["Main-Regular"][65][1]);O("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Py+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");O("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Py+"}{\\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 Uy=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",Uy(!1));O("\\bra@set",Uy(!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 zy={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class cD{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 uD(oD,n.macros),this.mode=a,this.stack=[]}feed(t){this.lexer=new H3(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 Jr("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 Ce("Extra }",l)}else if(l.text==="EOF")throw new Ce("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 Ce("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 Ce("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 Ce("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 Ce("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 Ce("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 Ce("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 Jr(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 H3(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)||Xi.hasOwnProperty(t)||Xt.math.hasOwnProperty(t)||Xt.text.hasOwnProperty(t)||zy.hasOwnProperty(t)}isExpandable(t){var n=this.macros.get(t);return n!=null?typeof n=="string"||typeof n=="function"||!n.unexpandable:Xi.hasOwnProperty(t)&&!Xi[t].primitive}}var G3=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,c0=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","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),r1={"́":{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"}},j3={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class id{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 cD(t,n,this.mode),this.settings=n,this.leftrightDepth=0}expect(t,n){if(n===void 0&&(n=!0),this.fetch().text!==t)throw new Ce("Expected '"+t+"', got '"+this.fetch().text+"'",this.fetch());n&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(t){this.mode=t,this.gullet.switchMode(t)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var t=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),t}finally{this.gullet.endGroups()}}subparse(t){var n=this.nextToken;this.consume(),this.gullet.pushToken(new Jr("}")),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(id.endOfExpression.indexOf(s.text)!==-1||n&&s.text===n||t&&Xi[s.text]&&Xi[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 Ce("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 Ce("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 Ce("Limit controls must follow a math operator",l);this.consume()}else if(l.text==="^"){if(a)throw new Ce("Double superscript",l);a=this.handleSupSubscript("superscript")}else if(l.text==="_"){if(s)throw new Ce("Double subscript",l);s=this.handleSupSubscript("subscript")}else if(l.text==="'"){if(a)throw new Ce("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(c0[l.text]){var h=G3.test(l.text),p=[];for(p.push(new Jr(c0[l.text])),this.consume();;){var b=this.fetch().text;if(!c0[b]||G3.test(b)!==h)break;p.unshift(new Jr(c0[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=Xi[s];if(!l)return null;if(this.consume(),n&&n!=="atom"&&!l.allowedInArgument)throw new Ce("Got function '"+s+"' with no arguments"+(n?" as "+n:""),a);if(this.mode==="text"&&!l.allowedInText)throw new Ce("Can't use function '"+s+"' in text mode",a);if(this.mode==="math"&&l.allowedInMath===!1)throw new Ce("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=Xi[t];if(d&&d.handler)return d.handler(o,n,a);throw new Ce("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 Ce("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 Ce("A primitive argument cannot be optional");var o=this.parseGroup(t);if(o==null)throw new Ce("Expected group as "+t,this.fetch());return o}case"original":case null:case void 0:return this.parseArgumentGroup(a);default:throw new Ce("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 Ce("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 Ce("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 Ce("Invalid size: '"+n.text+"'",n);var l={number:+(s[1]+s[2]),unit:s[3]};if(!X5(l))throw new Ce("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:Lr.range(a,f),body:d,semisimple:s==="\\begingroup"||void 0}}else if(l=this.parseFunction(n,t)||this.parseSymbol(),l==null&&s[0]==="\\"&&!zy.hasOwnProperty(s)){if(this.settings.throwOnError)throw new Ce("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:Lr.range(s,t[a+2]),text:"---"}),n-=2):(t.splice(a,2,{type:"textord",mode:"text",loc:Lr.range(s,t[a+1]),text:"--"}),n-=1)),(l==="'"||l==="`")&&t[a+1].text===l&&(t.splice(a,2,{type:"textord",mode:"text",loc:Lr.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 Ce(`\\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}}j3.hasOwnProperty(n[0])&&!Xt[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=j3[n[0]]+n.slice(1));var l=sD.exec(n);l&&(n=n.substring(0,l.index),n==="i"?n="ı":n==="j"&&(n="ȷ"));var o;if(Xt[this.mode][n]){this.settings.strict&&this.mode==="math"&&q1.indexOf(n)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+n[0]+'" used in math mode',t);var d=Xt[this.mode][n].group,f=Lr.range(t),h;if(ZR.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&&($5(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:Lr.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(!r1[T])throw new Ce("Unknown accent ' "+T+"'",t);var v=r1[T][this.mode]||r1[T].text;if(!v)throw new Ce("Accent "+T+" unsupported in "+this.mode+" mode",t);o={type:"accent",mode:this.mode,loc:Lr.range(t),label:v,isStretchy:!1,isShifty:!0,base:o}}return o}}id.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var np=function(t,n){if(!(typeof t=="string"||t instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var a=new id(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 Ce("\\tag works only in display equations");s=[{type:"tag",mode:"text",body:s,tag:a.subparse([new Jr("\\df@tag")])}]}return s},Fy=function(t,n,a){n.textContent="";var s=rp(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."),Fy=function(){throw new Ce("KaTeX doesn't work in quirks mode.")});var dD=function(t,n){var a=rp(t,n).toMarkup();return a},fD=function(t,n){var a=new Um(n);return np(t,a)},Hy=function(t,n,a){if(a.throwOnError||!(t instanceof Ce))throw t;var s=ie.makeSpan(["katex-error"],[new ea(n)]);return s.setAttribute("title",t.toString()),s.setAttribute("style","color:"+a.errorColor),s},rp=function(t,n){var a=new Um(n);try{var s=np(t,a);return TM(s,t,a)}catch(l){return Hy(l,t,a)}},hD=function(t,n){var a=new Um(n);try{var s=np(t,a);return _M(s,t,a)}catch(l){return Hy(l,t,a)}},mD="0.16.22",pD={Span:Co,Anchor:Hm,SymbolNode:ea,SvgNode:ii,PathNode:Zi,LineNode:H1},V3={version:mD,render:Fy,renderToString:dD,ParseError:Ce,SETTINGS_SCHEMA:T0,__parse:fD,__renderToDomTree:rp,__renderToHTMLTree:hD,__setFontMetrics:GR,__defineSymbol:y,__defineFunction:ze,__defineMacro:O,__domTree:pD};const gD={},bD=[];function ED(e){const t=e||gD;return function(n,a){xm(n,"element",function(s,l){const o=Array.isArray(s.properties.className)?s.properties.className:bD,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=x5(T,{whitespace:"pre"});let A;try{A=V3.renderToString(v,{...t,displayMode:p,throwOnError:!0})}catch(I){const N=I,M=N.name.toLowerCase();a.message("Could not render math with KaTeX",{ancestors:[...l,s],cause:N,place:s.position,ruleId:M,source:"rehype-katex"});try{A=V3.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(I)},children:[{type:"text",value:v}]}]}}typeof A=="string"&&(A=mR(A).children);const k=b.children.indexOf(T);return b.children.splice(k,1,...A),aE})}}function yD(){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 vD(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(dE(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 TD={tokenize:_D,concrete:!0,name:"mathFlow"},K3={tokenize:SD,partial:!0};function _D(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(M){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),f(M)}function f(M){return M===36?(e.consume(M),o++,f):o<2?n(M):(e.exit("mathFlowFenceSequence"),yt(e,h,"whitespace")(M))}function h(M){return M===null||Ve(M)?b(M):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),p(M))}function p(M){return M===null||Ve(M)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),b(M)):M===36?n(M):(e.consume(M),p)}function b(M){return e.exit("mathFlowFence"),a.interrupt?t(M):e.attempt(K3,T,I)(M)}function T(M){return e.attempt({tokenize:N,partial:!0},I,v)(M)}function v(M){return(l?yt(e,A,"linePrefix",l+1):A)(M)}function A(M){return M===null?I(M):Ve(M)?e.attempt(K3,T,I)(M):(e.enter("mathFlowValue"),k(M))}function k(M){return M===null||Ve(M)?(e.exit("mathFlowValue"),A(M)):(e.consume(M),k)}function I(M){return e.exit("mathFlow"),t(M)}function N(M,z,$){let Y=0;return yt(M,L,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function L(ee){return M.enter("mathFlowFence"),M.enter("mathFlowFenceSequence"),re(ee)}function re(ee){return ee===36?(Y++,M.consume(ee),re):Y<o?$(ee):(M.exit("mathFlowFenceSequence"),yt(M,X,"whitespace")(ee))}function X(ee){return ee===null||Ve(ee)?(M.exit("mathFlowFence"),z(ee)):$(ee)}}}function SD(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 xD(e){let n=(e||{}).singleDollarTextMath;return n==null&&(n=!0),{tokenize:a,resolve:AD,previous:wD,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):Ve(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||Ve(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 AD(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 wD(e){return e!==36||this.events[this.events.length-1][1].type==="characterEscape"}function kD(e){return{flow:{36:TD},text:{36:xD(e)}}}const ND={};function CD(e){const t=this,n=e||ND,a=t.data(),s=a.micromarkExtensions||(a.micromarkExtensions=[]),l=a.fromMarkdownExtensions||(a.fromMarkdownExtensions=[]),o=a.toMarkdownExtensions||(a.toMarkdownExtensions=[]);s.push(kD(n)),l.push(yD()),o.push(vD(n))}var OD=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 qy({packageName:e,customMessages:t}){let n=e;const a={...OD,...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 Yy=Object.defineProperty,RD=Object.getOwnPropertyDescriptor,MD=Object.getOwnPropertyNames,DD=Object.prototype.hasOwnProperty,ID=(e,t)=>{for(var n in t)Yy(e,n,{get:t[n],enumerable:!0})},LD=(e,t,n,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of MD(t))!DD.call(e,s)&&s!==n&&Yy(e,s,{get:()=>t[s],enumerable:!(a=RD(t,s))||a.enumerable});return e},BD=(e,t,n)=>(LD(e,t,"default"),n),PD={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"}},UD=new Set(["first_factor","second_factor","multi_factor"]),zD=new Set(["strict_mfa","strict","moderate","lax"]),FD=e=>typeof e=="number"&&e>0,HD=e=>UD.has(e),qD=e=>zD.has(e),a1=e=>e.replace(/^(org:)*/,"org:"),YD=(e,t)=>{const{orgId:n,orgRole:a,orgPermissions:s}=t;return!e.role&&!e.permission||!n||!a||!s?null:e.permission?s.includes(a1(e.permission)):e.role?a1(a)===a1(e.role):null},$3=(e,t)=>{const{org:n,user:a}=jD(e),[s,l]=t.split(":"),o=l||s;return s==="org"?n.includes(o):s==="user"?a.includes(o):[...n,...a].includes(o)},GD=(e,t)=>{const{features:n,plans:a}=t;return e.feature&&n?$3(n,e.feature):e.plan&&a?$3(a,e.plan):null},jD=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])}},VD=e=>{if(!e)return!1;const t=s=>typeof s=="string"?PD[s]:s,n=typeof e=="string"&&qD(e),a=typeof e=="object"&&HD(e.level)&&FD(e.afterMinutes);return n||a?t.bind(null,e):!1},KD=(e,{factorVerificationAge:t})=>{if(!e.reverification||!t)return null;const n=VD(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}},$D=e=>t=>{if(!e.userId)return!1;const n=GD(t,e),a=YD(t,e),s=KD(t,e);return[n||a,s].some(l=>l===null)?[n||a,s].some(l=>l===!0):[n||a,s].every(l=>l===!0)},XD=({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}},Gy=e=>typeof atob<"u"&&typeof atob=="function"?atob(e):typeof global<"u"&&global.Buffer?new global.Buffer(e,"base64").toString():e,WD=[".lcl.dev",".stg.dev",".lclstage.dev",".stgstage.dev",".dev.lclclerk.com",".stg.lclclerk.com",".accounts.lclclerk.com","accountsstage.dev","accounts.dev"],jy="pk_live_",QD="pk_test_";function X3(e,t={}){if(e=e||"",!e||!$1(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&&!$1(e))throw new Error("Publishable key not valid.");return null}const n=e.startsWith(jy)?"production":"development";let a=Gy(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 $1(e=""){try{const t=e.startsWith(jy)||e.startsWith(QD),n=Gy(e.split("_")[2]||"").endsWith("$");return t&&n}catch{return!1}}function ZD(){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=WD.some(s=>n.endsWith(s)),e.set(n,a)),a}}}var JD="METHOD_CALLED";function eI(e,t){return{event:JD,payload:{method:e,...t}}}var i1={exports:{}},s1={};/**
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 W3;function tI(){if(W3)return s1;W3=1;var e=q0();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,I=A[1];return l(function(){k.value=v,k.getSnapshot=T,f(k)&&I({inst:k})},[b,v,T]),s(function(){return f(k)&&I({inst:k}),b(function(){f(k)&&I({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 s1.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:p,s1}var Q3;function nI(){return Q3||(Q3=1,i1.exports=tI()),i1.exports}var Vy=nI();const Ky=0,$y=1,Xy=2,Z3=3;var J3=Object.prototype.hasOwnProperty;function X1(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--&&X1(e[a],t[a]););return a===-1}if(!n||typeof e=="object"){a=0;for(n in e)if(J3.call(e,n)&&++a&&!J3.call(t,n)||!(n in t)||!X1(e[n],t[n]))return!1;return Object.keys(t).length===a}}return e!==e&&t!==t}const fa=new WeakMap,Wi=()=>{},Mn=Wi(),U0=Object,pt=e=>e===Mn,Qr=e=>typeof e=="function",ui=(e,t)=>({...e,...t}),Wy=e=>Qr(e.then),l1={},d0={},ap="undefined",Ro=typeof window!=ap,W1=typeof document!=ap,rI=Ro&&"Deno"in window,aI=()=>Ro&&typeof window.requestAnimationFrame!=ap,Vi=(e,t)=>{const n=fa.get(e);return[()=>!pt(t)&&e.get(t)||l1,a=>{if(!pt(t)){const s=e.get(t);t in d0||(d0[t]=s),n[5](t,ui(s,a),s||l1)}},n[6],()=>!pt(t)&&t in d0?d0[t]:!pt(t)&&e.get(t)||l1]};let Q1=!0;const iI=()=>Q1,[Z1,J1]=Ro&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[Wi,Wi],sI=()=>{const e=W1&&document.visibilityState;return pt(e)||e!=="hidden"},lI=e=>(W1&&document.addEventListener("visibilitychange",e),Z1("focus",e),()=>{W1&&document.removeEventListener("visibilitychange",e),J1("focus",e)}),uI=e=>{const t=()=>{Q1=!0,e()},n=()=>{Q1=!1};return Z1("online",t),Z1("offline",n),()=>{J1("online",t),J1("offline",n)}},oI={isOnline:iI,isVisible:sI},cI={initFocus:lI,initReconnect:uI},e6=!pe.useId,Eo=!Ro||rI,dI=e=>aI()?window.requestAnimationFrame(e):setTimeout(e,1),uo=Eo?Be.useEffect:Be.useLayoutEffect,u1=typeof navigator<"u"&&navigator.connection,t6=!Eo&&u1&&(["slow-2g","2g"].includes(u1.effectiveType)||u1.saveData),f0=new WeakMap,o1=(e,t)=>U0.prototype.toString.call(e)===`[object ${t}]`;let fI=0;const em=e=>{const t=typeof e,n=o1(e,"Date"),a=o1(e,"RegExp"),s=o1(e,"Object");let l,o;if(U0(e)===e&&!n&&!a){if(l=f0.get(e),l)return l;if(l=++fI+"~",f0.set(e,l),Array.isArray(e)){for(l="@",o=0;o<e.length;o++)l+=em(e[o])+",";f0.set(e,l)}if(s){l="#";const d=U0.keys(e).sort();for(;!pt(o=d.pop());)pt(e[o])||(l+=o+":"+em(e[o])+",");f0.set(e,l)}}else l=n?e.toJSON():t=="symbol"?e.toString():t=="string"?JSON.stringify(e):""+e;return l},Ml=e=>{if(Qr(e))try{e=e()}catch{e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?em(e):"",[e,t]};let hI=0;const tm=()=>++hI;async function Qy(...e){const[t,n,a,s]=e,l=ui({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(Qr(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]=Ml(T);if(!v)return;const[A,k]=Vi(t,v),[I,N,M,z]=fa.get(t),$=()=>{const ve=I[v];return(Qr(l.revalidate)?l.revalidate(A().data,T):l.revalidate!==!1)&&(delete M[v],delete z[v],ve&&ve[0])?ve[0](Xy).then(()=>A().data):A().data};if(e.length<3)return $();let Y=a,L;const re=tm();N[v]=[re,0];const X=!pt(f),ee=A(),q=ee.data,ce=ee._c,J=pt(ce)?q:ce;if(X&&(f=Qr(f)?f(J,q):f,k({data:f,_c:J})),Qr(Y))try{Y=Y(J)}catch(ve){L=ve}if(Y&&Wy(Y))if(Y=await Y.catch(ve=>{L=ve}),re!==N[v][0]){if(L)throw L;return Y}else L&&X&&h(L)&&(o=!0,k({data:J,_c:Mn}));if(o&&!L)if(Qr(o)){const ve=o(Y,J);k({data:ve,error:Mn,_c:Mn})}else k({data:Y,error:Mn,_c:Mn});if(N[v][1]=tm(),Promise.resolve($()).then(()=>{k({_c:Mn})}),L){if(p)throw L;return}return Y}}const n6=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},Zy=(e,t)=>{if(!fa.has(e)){const n=ui(cI,t),a=Object.create(null),s=Qy.bind(Mn,e);let l=Wi;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(!fa.has(e)&&(fa.set(e,[a,Object.create(null),Object.create(null),Object.create(null),s,f,d]),!Eo)){const p=n.initFocus(setTimeout.bind(Mn,n6.bind(Mn,a,Ky))),b=n.initReconnect(setTimeout.bind(Mn,n6.bind(Mn,a,$y)));l=()=>{p&&p(),b&&b(),fa.delete(e)}}};return h(),[e,s,h,l]}return[e,fa.get(e)[4]]},mI=(e,t,n,a,s)=>{const l=n.errorRetryCount,o=s.retryCount,d=~~((Math.random()+.5)*(1<<(o<8?o:8)))*n.errorRetryInterval;!pt(l)&&o>l||setTimeout(a,d,s)},pI=X1,[Mo,Jy]=Zy(new Map),e7=ui({onLoadingSlow:Wi,onSuccess:Wi,onError:Wi,onErrorRetry:mI,onDiscarded:Wi,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:t6?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:t6?5e3:3e3,compare:pI,isPaused:()=>!1,cache:Mo,mutate:Jy,fallback:{}},oI),t7=(e,t)=>{const n=ui(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=ui(s,o))}return n},nm=Be.createContext({}),gI=e=>{const{value:t}=e,n=Be.useContext(nm),a=Qr(t),s=Be.useMemo(()=>a?t(n):t,[a,n,t]),l=Be.useMemo(()=>a?s:t7(n,s),[a,n,s]),o=s&&s.provider,d=Be.useRef(Mn);o&&!d.current&&(d.current=Zy(o(l.cache||Mo),s));const f=d.current;return f&&(l.cache=f[0],l.mutate=f[1]),uo(()=>{if(f)return f[2]&&f[2](),f[3]},[]),Be.createElement(nm.Provider,ui(e,{value:l}))},n7="$inf$",r7=Ro&&window.__SWR_DEVTOOLS_USE__,bI=r7?window.__SWR_DEVTOOLS_USE__:[],EI=()=>{r7&&(window.__SWR_DEVTOOLS_REACT__=pe)},a7=e=>Qr(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}],i7=()=>ui(e7,Be.useContext(nm)),yI=(e,t)=>{const[n,a]=Ml(e),[,,,s]=fa.get(Mo);if(s[n])return s[n];const l=t(a);return s[n]=l,l},vI=e=>(t,n,a)=>e(t,n&&((...l)=>{const[o]=Ml(t),[,,,d]=fa.get(Mo);if(o.startsWith(n7))return n(...l);const f=d[o];return pt(f)?n(...l):(delete d[o],f)}),a),TI=bI.concat(vI),_I=e=>function(...n){const a=i7(),[s,l,o]=a7(n),d=t7(a,o);let f=e;const{use:h}=d,p=(h||[]).concat(TI);for(let b=p.length;b--;)f=p[b](f);return f(s,l||d.fetcher||null,d)},SI=(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())}},xI=(e,t)=>(...n)=>{const[a,s,l]=a7(n),o=(l.use||[]).concat(t);return e(a,s,{...l,use:o})};EI();const AI=()=>{},wI=AI(),rm=Object,r6=e=>e===wI,kI=e=>typeof e=="function",h0=new WeakMap,c1=(e,t)=>rm.prototype.toString.call(e)===`[object ${t}]`;let NI=0;const am=e=>{const t=typeof e,n=c1(e,"Date"),a=c1(e,"RegExp"),s=c1(e,"Object");let l,o;if(rm(e)===e&&!n&&!a){if(l=h0.get(e),l)return l;if(l=++NI+"~",h0.set(e,l),Array.isArray(e)){for(l="@",o=0;o<e.length;o++)l+=am(e[o])+",";h0.set(e,l)}if(s){l="#";const d=rm.keys(e).sort();for(;!r6(o=d.pop());)r6(e[o])||(l+=o+":"+am(e[o])+",");h0.set(e,l)}}else l=n?e.toJSON():t=="symbol"?e.toString():t=="string"?JSON.stringify(e):""+e;return l},CI=e=>{if(kI(e))try{e=e()}catch{e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?am(e):"",[e,t]},OI=e=>CI(e)[0],d1=pe.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}}),f1={dedupe:!0},RI=(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,I]=fa.get(a),[N,M]=Ml(e),z=Be.useRef(!1),$=Be.useRef(!1),Y=Be.useRef(N),L=Be.useRef(t),re=Be.useRef(n),X=()=>re.current,ee=()=>X().isVisible()&&X().isOnline(),[q,ce,J,ve]=Vi(a,N),he=Be.useRef({}).current,be=pt(o)?pt(n.fallback)?Mn:n.fallback[N]:o,W=(vt,mt)=>{for(const Ut in he){const Ke=Ut;if(Ke==="data"){if(!s(vt[Ke],mt[Ke])&&(!pt(vt[Ke])||!s(Pe,mt[Ke])))return!1}else if(mt[Ke]!==vt[Ke])return!1}return!0},de=Be.useMemo(()=>{const vt=!N||!t?!1:pt(d)?X().isPaused()||l?!1:f!==!1:d,mt=Zt=>{const Ln=ui(Zt);return delete Ln._k,vt?{isValidating:!0,isLoading:!0,...Ln}:Ln},Ut=q(),Ke=ve(),xt=mt(Ut),an=Ut===Ke?xt:mt(Ke);let Nt=xt;return[()=>{const Zt=mt(q());return W(Zt,Nt)?(Nt.data=Zt.data,Nt.isLoading=Zt.isLoading,Nt.isValidating=Zt.isValidating,Nt.error=Zt.error,Nt):(Nt=Zt,Zt)},()=>an]},[a,N]),ge=Vy.useSyncExternalStore(Be.useCallback(vt=>J(N,(mt,Ut)=>{W(Ut,mt)||vt()}),[a,N]),de[0],de[1]),Fe=!z.current,S=v[N]&&v[N].length>0,K=ge.data,ue=pt(K)?be&&Wy(be)?d1(be):be:K,R=ge.error,Ae=Be.useRef(ue),Pe=T?pt(K)?pt(Ae.current)?ue:Ae.current:K:ue,we=S&&!pt(R)?!1:Fe&&!pt(d)?d:X().isPaused()?!1:l?pt(ue)?!1:f:pt(ue)||f,wt=!!(N&&t&&Fe&&we),st=pt(ge.isValidating)?wt:ge.isValidating,Wt=pt(ge.isLoading)?wt:ge.isLoading,Pt=Be.useCallback(async vt=>{const mt=L.current;if(!N||!mt||$.current||X().isPaused())return!1;let Ut,Ke,xt=!0;const an=vt||{},Nt=!k[N]||!an.dedupe,Zt=()=>e6?!$.current&&N===Y.current&&z.current:N===Y.current,Ln={isValidating:!1,isLoading:!1},di=()=>{ce(Ln)},pa=()=>{const Cn=k[N];Cn&&Cn[1]===Ke&&delete k[N]},cr={isValidating:!0};pt(q().data)&&(cr.isLoading=!0);try{if(Nt&&(ce(cr),n.loadingTimeout&&pt(q().data)&&setTimeout(()=>{xt&&Zt()&&X().onLoadingSlow(N,n)},n.loadingTimeout),k[N]=[mt(M),tm()]),[Ut,Ke]=k[N],Ut=await Ut,Nt&&setTimeout(pa,n.dedupingInterval),!k[N]||k[N][1]!==Ke)return Nt&&Zt()&&X().onDiscarded(N),!1;Ln.error=Mn;const Cn=A[N];if(!pt(Cn)&&(Ke<=Cn[0]||Ke<=Cn[1]||Cn[1]===0))return di(),Nt&&Zt()&&X().onDiscarded(N),!1;const oe=q().data;Ln.data=s(oe,Ut)?oe:Ut,Nt&&Zt()&&X().onSuccess(Ut,N,n)}catch(Cn){pa();const oe=X(),{shouldRetryOnError:Se}=oe;oe.isPaused()||(Ln.error=Cn,Nt&&Zt()&&(oe.onError(Cn,N,oe),(Se===!0||Qr(Se)&&Se(Cn))&&(!X().revalidateOnFocus||!X().revalidateOnReconnect||ee())&&oe.onErrorRetry(Cn,N,oe,$e=>{const Qe=v[N];Qe&&Qe[0]&&Qe[0](Z3,$e)},{retryCount:(an.retryCount||0)+1,dedupe:!0})))}return xt=!1,di(),!0},[N,a]),In=Be.useCallback((...vt)=>Qy(a,Y.current,...vt),[]);if(uo(()=>{L.current=t,re.current=n,pt(K)||(Ae.current=K)}),uo(()=>{if(!N)return;const vt=Pt.bind(Mn,f1);let mt=0;X().revalidateOnFocus&&(mt=Date.now()+X().focusThrottleInterval);const Ke=SI(N,v,(xt,an={})=>{if(xt==Ky){const Nt=Date.now();X().revalidateOnFocus&&Nt>mt&&ee()&&(mt=Nt+X().focusThrottleInterval,vt())}else if(xt==$y)X().revalidateOnReconnect&&ee()&&vt();else{if(xt==Xy)return Pt();if(xt==Z3)return Pt(an)}});return $.current=!1,Y.current=N,z.current=!0,ce({_k:M}),we&&(pt(ue)||Eo?vt():dI(vt)),()=>{$.current=!0,Ke()}},[N]),uo(()=>{let vt;function mt(){const Ke=Qr(h)?h(q().data):h;Ke&&vt!==-1&&(vt=setTimeout(Ut,Ke))}function Ut(){!q().error&&(p||X().isVisible())&&(b||X().isOnline())?Pt(f1).then(mt):mt()}return mt(),()=>{vt&&(clearTimeout(vt),vt=-1)}},[h,p,b,N]),Be.useDebugValue(Pe),l&&pt(ue)&&N){if(!e6&&Eo)throw new Error("Fallback data is required when using Suspense in SSR.");L.current=t,re.current=n,$.current=!1;const vt=I[N];if(!pt(vt)){const mt=In(vt);d1(mt)}if(pt(R)){const mt=Pt(f1);pt(Pe)||(mt.status="fulfilled",mt.value=!0),d1(mt)}else throw R}return{mutate:In,get data(){return he.data=!0,Pe},get error(){return he.error=!0,R},get isValidating(){return he.isValidating=!0,st},get isLoading(){return he.isLoading=!0,Wt}}},MI=U0.defineProperty(gI,"defaultValue",{value:e7}),ip=_I(RI),DI=Object.freeze(Object.defineProperty({__proto__:null,SWRConfig:MI,default:ip,mutate:Jy,preload:yI,unstable_serialize:OI,useSWRConfig:i7},Symbol.toStringTag,{value:"Module"})),II=()=>{},LI=II(),im=Object,a6=e=>e===LI,BI=e=>typeof e=="function",m0=new WeakMap,h1=(e,t)=>im.prototype.toString.call(e)===`[object ${t}]`;let PI=0;const sm=e=>{const t=typeof e,n=h1(e,"Date"),a=h1(e,"RegExp"),s=h1(e,"Object");let l,o;if(im(e)===e&&!n&&!a){if(l=m0.get(e),l)return l;if(l=++PI+"~",m0.set(e,l),Array.isArray(e)){for(l="@",o=0;o<e.length;o++)l+=sm(e[o])+",";m0.set(e,l)}if(s){l="#";const d=im.keys(e).sort();for(;!a6(o=d.pop());)a6(e[o])||(l+=o+":"+sm(e[o])+",");m0.set(e,l)}}else l=n?e.toJSON():t=="symbol"?e.toString():t=="string"?JSON.stringify(e):""+e;return l},UI=e=>{if(BI(e))try{e=e()}catch{e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?sm(e):"",[e,t]},zI=e=>UI(e?e(0,null):null)[0],m1=Promise.resolve(),FI=e=>(t,n,a)=>{const s=Be.useRef(!1),{cache:l,initialSize:o=1,revalidateAll:d=!1,persistSize:f=!1,revalidateFirstPage:h=!0,revalidateOnMount:p=!1,parallel:b=!1}=a,[,,,T]=fa.get(Mo);let v;try{v=zI(t),v&&(v=n7+v)}catch{}const[A,k,I]=Vi(l,v),N=Be.useCallback(()=>pt(A()._l)?o:A()._l,[l,v,o]);Vy.useSyncExternalStore(Be.useCallback(X=>v?I(v,()=>{X()}):()=>{},[l,v]),N,N);const M=Be.useCallback(()=>{const X=A()._l;return pt(X)?o:X},[v,o]),z=Be.useRef(M());uo(()=>{if(!s.current){s.current=!0;return}v&&k({_l:f?z.current:M()})},[v,l]);const $=p&&!s.current,Y=e(v,async X=>{const ee=A()._i,q=A()._r;k({_r:Mn});const ce=[],J=M(),[ve]=Vi(l,X),he=ve().data,be=[];let W=null;for(let de=0;de<J;++de){const[ge,Fe]=Ml(t(de,b?null:W));if(!ge)break;const[S,K]=Vi(l,ge);let ue=S().data;const R=d||ee||pt(ue)||h&&!de&&!pt(he)||$||he&&!pt(he[de])&&!a.compare(he[de],ue);if(n&&(typeof q=="function"?q(ue,Fe):R)){const Ae=async()=>{if(!(ge in T))ue=await n(Fe);else{const we=T[ge];delete T[ge],ue=await we}K({data:ue,_k:Fe}),ce[de]=ue};b?be.push(Ae):await Ae()}else ce[de]=ue;b||(W=ue)}return b&&await Promise.all(be.map(de=>de())),k({_i:Mn}),ce},a),L=Be.useCallback(function(X,ee){const q=typeof ee=="boolean"?{revalidate:ee}:ee||{},ce=q.revalidate!==!1;return v?(ce&&(pt(X)?k({_i:!0,_r:q.revalidate}):k({_i:!1,_r:q.revalidate})),arguments.length?Y.mutate(X,{...q,revalidate:ce}):Y.mutate()):m1},[v,l]),re=Be.useCallback(X=>{if(!v)return m1;const[,ee]=Vi(l,v);let q;if(Qr(X)?q=X(M()):typeof X=="number"&&(q=X),typeof q!="number")return m1;ee({_l:q}),z.current=q;const ce=[],[J]=Vi(l,v);let ve=null;for(let he=0;he<q;++he){const[be]=Ml(t(he,ve)),[W]=Vi(l,be),de=be?W().data:Mn;if(pt(de))return L(J().data);ce.push(de),ve=de}return L(ce)},[v,l,L,M]);return{size:M(),setSize:re,mutate:L,get data(){return Y.data},get error(){return Y.error},get isValidating(){return Y.isValidating},get isLoading(){return Y.isLoading}}},HI=xI(ip,FI);var i6=Object.prototype.hasOwnProperty;function s6(e,t,n){for(n of e.keys())if(oo(n,t))return n}function oo(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--&&oo(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=s6(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=s6(t,s),!s)||!oo(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(i6.call(e,n)&&++a&&!i6.call(t,n)||!(n in t)||!oo(e[n],t[n]))return!1;return Object.keys(t).length===a}}return e!==e&&t!==t}function qI(e,t){if(!e)throw typeof t=="string"?new Error(t):new Error(`${t.displayName} not found`)}var ql=(e,t)=>{const{assertCtxFn:n=qI}={},a=pe.createContext(void 0);return a.displayName=e,[a,()=>{const o=pe.useContext(a);return n(o,`${e} not found`),o.value},()=>{const o=pe.useContext(a);return o?o.value:{}}]},sp={};ID(sp,{useSWR:()=>ip,useSWRInfinite:()=>HI});BD(sp,DI);var[s7,l7]=ql("ClerkInstanceContext"),[YI,UB]=ql("UserContext"),[GI,zB]=ql("ClientContext"),[jI,FB]=ql("SessionContext");pe.createContext({});var[VI,HB]=ql("OrganizationContext"),KI=({children:e,organization:t,swrConfig:n})=>pe.createElement(sp.SWRConfig,{value:n},pe.createElement(VI.Provider,{value:{value:{organization:t}}},e));function u7(e){if(!pe.useContext(s7)){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"?pe.useLayoutEffect:pe.useEffect;var $I=()=>(u7("useClerk"),l7()),l6=oo,XI=()=>{try{return!1}catch{}return!1},WI=()=>{try{return!1}catch{}return!1},QI=()=>{try{return!0}catch{}return!1},u6=new Set,lp=(e,t,n)=>{const a=WI()||QI(),s=e;u6.has(s)||a||(u6.add(s),console.warn(`Clerk - DEPRECATION WARNING: "${e}" is deprecated and will be removed in the next major release.
363
+ ${t}`))},Ca=qy({packageName:"@clerk/clerk-react"});function ZI(e){Ca.setMessages(e).setPackageName(e)}var[JI,eL]=ql("AuthContext"),tL=s7,o7=l7,nL="You've added multiple <ClerkProvider> components in your React component tree. Wrap your components in a single <ClerkProvider>.",rL=e=>`You've passed multiple children components to <${e}/>. You can only pass a single child component or text.`,aL="Invalid state. Feel free to submit a bug or reach out to support here: https://clerk.com/support",p1="Unsupported usage of isSatellite, domain or proxyUrl. The usage of isSatellite, domain or proxyUrl as function is not supported in non-browser environments.",iL="<UserProfile.Page /> component needs to be a direct child of `<UserProfile />` or `<UserButton />`.",sL="<UserProfile.Link /> component needs to be a direct child of `<UserProfile />` or `<UserButton />`.",lL="<OrganizationProfile.Page /> component needs to be a direct child of `<OrganizationProfile />` or `<OrganizationSwitcher />`.",uL="<OrganizationProfile.Link /> component needs to be a direct child of `<OrganizationProfile />` or `<OrganizationSwitcher />`.",oL=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.`,cL=e=>`Missing props. <${e}.Page /> component requires the following props: url, label, labelIcon, alongside with children to be rendered inside the page.`,dL=e=>`Missing props. <${e}.Link /> component requires the following props: url, label and labelIcon.`,fL="<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.",hL="<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.",mL="<UserButton.MenuItems /> component needs to be a direct child of `<UserButton />`.",pL="<UserButton.Action /> component needs to be a direct child of `<UserButton.MenuItems />`.",gL="<UserButton.Link /> component needs to be a direct child of `<UserButton.MenuItems />`.",bL="Missing props. <UserButton.Link /> component requires the following props: href, label and labelIcon.",EL="Missing props. <UserButton.Action /> component requires the following props: label.",sd=e=>{u7(()=>{Ca.throwMissingClerkProviderError({source:e})})},c7=e=>new Promise(t=>{const n=a=>{["ready","degraded"].includes(a)&&(t(),e.off("status",n))};e.on("status",n,{notify:!0})}),yL=e=>async t=>(await c7(e),e.session?e.session.getToken(t):null),vL=e=>async(...t)=>(await c7(e),e.signOut(...t)),up=(e={})=>{var t,n;sd("useAuth");const{treatPendingAsSignedOut:a,...s}=e??{},l=s;let d=eL();d.sessionId===void 0&&d.userId===void 0&&(d=l??{});const f=o7(),h=Be.useCallback(yL(f),[f]),p=Be.useCallback(vL(f),[f]);return(t=f.telemetry)==null||t.record(eI("useAuth",{treatPendingAsSignedOut:a})),TL({...d,getToken:h,signOut:p},{treatPendingAsSignedOut:a??((n=f.__internal_getOption)==null?void 0:n.call(f,"treatPendingAsSignedOut"))})};function TL(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=Be.useCallback(v=>l?l(v):$D({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=XD({authObject:{...e,getToken:d,signOut:o,has:b},options:{treatPendingAsSignedOut:t}});return T||Ca.throw(aL)}var gn=(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=>{sd(a||"withClerk");const d=o7();return!d.loaded&&!(s!=null&&s.renderWhileLoading)?null:pe.createElement(e,{...o,component:a,clerk:d})};return l.displayName=`withClerk(${a})`,l},_L=({children:e,treatPendingAsSignedOut:t})=>{sd("SignedIn");const{userId:n}=up({treatPendingAsSignedOut:t});return n?e:null},SL=({children:e,treatPendingAsSignedOut:t})=>{sd("SignedOut");const{userId:n}=up({treatPendingAsSignedOut:t});return n===null?e:null},xL=gn(({clerk:e,...t})=>{const{client:n,session:a}=e,s=n.signedInSessions?n.signedInSessions.length>0:n.activeSessions&&n.activeSessions.length>0;return pe.useEffect(()=>{a===null&&s?e.redirectToAfterSignOut():e.redirectToSignIn(t)},[]),null},"RedirectToSignIn");gn(({clerk:e,...t})=>(pe.useEffect(()=>{e.redirectToSignUp(t)},[]),null),"RedirectToSignUp");gn(({clerk:e})=>(pe.useEffect(()=>{lp("RedirectToUserProfile","Use the `redirectToUserProfile()` method instead."),e.redirectToUserProfile()},[]),null),"RedirectToUserProfile");gn(({clerk:e})=>(pe.useEffect(()=>{lp("RedirectToOrganizationProfile","Use the `redirectToOrganizationProfile()` method instead."),e.redirectToOrganizationProfile()},[]),null),"RedirectToOrganizationProfile");gn(({clerk:e})=>(pe.useEffect(()=>{lp("RedirectToCreateOrganization","Use the `redirectToCreateOrganization()` method instead."),e.redirectToCreateOrganization()},[]),null),"RedirectToCreateOrganization");gn(({clerk:e,...t})=>(pe.useEffect(()=>{e.handleRedirectCallback(t)},[]),null),"AuthenticateWithRedirectCallback");var d7=e=>{throw TypeError(e)},op=(e,t,n)=>t.has(e)||d7("Cannot "+n),cn=(e,t,n)=>(op(e,t,"read from private field"),n?n.call(e):t.get(e)),Cs=(e,t,n)=>t.has(e)?d7("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),El=(e,t,n,a)=>(op(e,t,"write to private field"),t.set(e,n),n),o6=(e,t,n)=>(op(e,t,"access private method"),n),AL=(e,t="5.69.0")=>{if(e)return e;const n=wL(t);return n?n==="snapshot"?"5.69.0":n:kL(t)},wL=e=>{var t;return(t=e.trim().replace(/^v/,"").match(/-(.+?)(\.|$)/))==null?void 0:t[1]},kL=e=>e.trim().replace(/^v/,"").split(".")[0];function NL(e){return e?CL(e)||f7(e):!0}function CL(e){return/^http(s)?:\/\//.test(e||"")}function f7(e){return e.startsWith("/")}function OL(e){return e?f7(e)?new URL(e,window.location.origin).toString():e:""}function RL(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 ML={initialDelay:125,maxDelayBetweenRetries:0,factor:2,shouldRetry:(e,t)=>t<5,retryImmediately:!1,jitter:!0},DL=100,h7=async e=>new Promise(t=>setTimeout(t,e)),m7=(e,t)=>t?e*(1+Math.random()):e,IL=e=>{let t=0;const n=()=>{const a=e.initialDelay,s=e.factor;let l=a*Math.pow(s,t);return l=m7(l,e.jitter),Math.min(e.maxDelayBetweenRetries||l,l)};return async()=>{await h7(n()),t++}},LL=async(e,t={})=>{let n=0;const{shouldRetry:a,initialDelay:s,maxDelayBetweenRetries:l,factor:o,retryImmediately:d,jitter:f}={...ML,...t},h=IL({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 h7(m7(DL,f)):await h()}},BL="loadScript cannot be called when document does not exist",PL="loadScript cannot be called without a src";async function UL(e="",t){const{async:n,defer:a,beforeLoad:s,crossOrigin:l,nonce:o}=t||{};return LL(()=>new Promise((f,h)=>{e||h(new Error(PL)),(!document||!document.body)&&h(BL);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 c6="Clerk: Failed to load Clerk",{isDevOrStagingUrl:zL}=ZD(),p7=qy({packageName:"@clerk/shared"});function FL(e){p7.setPackageName({packageName:e})}var HL=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(c6)})});if(!(e!=null&&e.publishableKey)){p7.throwMissingPublishableKeyError();return}return UL(qL(e),{async:!0,crossOrigin:"anonymous",nonce:e.nonce,beforeLoad:GL(e)}).catch(()=>{throw new Error(c6)})},qL=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&&NL(s)?d=OL(s).replace(/http(s)?:\/\//,""):l&&!zL(((p=X3(o))==null?void 0:p.frontendApi)||"")?d=RL(l):d=((b=X3(o))==null?void 0:b.frontendApi)||"";const f=n?`${n.replace(/\.+$/,"")}.`:"",h=AL(a);return`https://${d}/npm/@clerk/clerk-js@${h}/dist/clerk.${f}browser.js`},YL=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},GL=e=>t=>{const n=YL(e);for(const a in n)t.setAttribute(a,n[a])},lr=e=>{XI()&&console.error(`Clerk: ${e}`)};function g1(e,t,n){if(typeof e=="function")return e(t);if(typeof e<"u")return e;if(typeof n<"u")return n}var jL=S6(),d6=(e,...t)=>{const n={...e};for(const a of t)delete n[a];return n},VL=(e,t,n)=>!e&&n?KL(n):$L(t),KL=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}},$L=e=>{var k,I,N,M;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?(N=(I=e.session.lastActiveToken)==null?void 0:I.jwt)==null?void 0:N.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&&((M=n==null?void 0:n.organizationMemberships)==null?void 0:M.find(z=>z.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 f6(){return typeof window<"u"}var h6=(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))},m6=(e,t,n)=>(e.get(t)||[]).map(a=>a(n)),p6=(e,t,n)=>{const a=e.get(t);a&&(n?a.splice(a.indexOf(n)>>>0,1):e.set(t,[]))},XL=()=>{const e=new Map,t=new Map,n=new Map;return{on:(...s)=>h6(e,t,...s),prioritizedOn:(...s)=>h6(n,t,...s),emit:(s,l)=>{t.set(s,l),m6(n,s,l),m6(e,s,l)},off:(...s)=>p6(e,...s),prioritizedOff:(...s)=>p6(n,...s),internal:{retrieveListeners:s=>e.get(s)||[]}}},p0={Status:"status"},WL=()=>XL();typeof window<"u"&&!window.global&&(window.global=typeof global>"u"?window:global);var ld=e=>t=>{try{return pe.Children.only(e)}catch{return Ca.throw(rL(t))}},ud=(e,t)=>(e||(e=t),typeof e=="string"&&(e=pe.createElement("button",null,e)),e),od=e=>(...t)=>{if(e&&typeof e=="function")return e(...t)};function QL(e){return typeof e=="function"}var g0=new Map;function ZL(e,t,n=1){pe.useEffect(()=>{const a=g0.get(e)||0;return a==n?Ca.throw(t):(g0.set(e,a+1),()=>{g0.set(e,(g0.get(e)||1)-1)})},[])}function JL(e,t,n){const a=e.displayName||e.name||t||"Component",s=l=>(ZL(t,n),pe.createElement(e,{...l}));return s.displayName=`withMaxAllowedInstancesGuard(${a})`,s}var co=e=>{const t=Array(e.length).fill(null),[n,a]=Be.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:()=>pe.createElement(pe.Fragment,null,n[l]?jL.createPortal(s.component,n[l]):null)}))},ir=(e,t)=>!!e&&pe.isValidElement(e)&&(e==null?void 0:e.type)===t,g7=(e,t)=>y7({children:e,reorderItemsLabels:["account","security"],LinkComponent:Io,PageComponent:Do,MenuItemsComponent:dd,componentName:"UserProfile"},t),b7=(e,t)=>y7({children:e,reorderItemsLabels:["general","members"],LinkComponent:hd,PageComponent:fd,componentName:"OrganizationProfile"},t),E7=e=>{const t=[],n=[hd,fd,dd,Do,Io];return pe.Children.forEach(e,a=>{n.some(s=>ir(a,s))||t.push(a)}),t},y7=(e,t)=>{const{children:n,LinkComponent:a,PageComponent:s,MenuItemsComponent:l,reorderItemsLabels:o,componentName:d}=e,{allowForAnyChildren:f=!1}=t||{},h=[];pe.Children.forEach(n,M=>{if(!ir(M,s)&&!ir(M,a)&&!ir(M,l)){M&&!f&&lr(oL(d));return}const{props:z}=M,{children:$,label:Y,url:L,labelIcon:re}=z;if(ir(M,s))if(g6(z,o))h.push({label:Y});else if(b1(z))h.push({label:Y,labelIcon:re,children:$,url:L});else{lr(cL(d));return}if(ir(M,a))if(E1(z))h.push({label:Y,labelIcon:re,url:L});else{lr(dL(d));return}});const p=[],b=[],T=[];h.forEach((M,z)=>{if(b1(M)){p.push({component:M.children,id:z}),b.push({component:M.labelIcon,id:z});return}E1(M)&&T.push({component:M.labelIcon,id:z})});const v=co(p),A=co(b),k=co(T),I=[],N=[];return h.forEach((M,z)=>{if(g6(M,o)){I.push({label:M.label});return}if(b1(M)){const{portal:$,mount:Y,unmount:L}=v.find(q=>q.id===z),{portal:re,mount:X,unmount:ee}=A.find(q=>q.id===z);I.push({label:M.label,url:M.url,mount:Y,unmount:L,mountIcon:X,unmountIcon:ee}),N.push($),N.push(re);return}if(E1(M)){const{portal:$,mount:Y,unmount:L}=k.find(re=>re.id===z);I.push({label:M.label,url:M.url,mountIcon:Y,unmountIcon:L}),N.push($);return}}),{customPages:I,customPagesPortals:N}},g6=(e,t)=>{const{children:n,label:a,url:s,labelIcon:l}=e;return!n&&!s&&!l&&t.some(o=>o===a)},b1=e=>{const{children:t,label:n,url:a,labelIcon:s}=e;return!!t&&!!a&&!!s&&!!n},E1=e=>{const{children:t,label:n,url:a,labelIcon:s}=e;return!t&&!!a&&!!s&&!!n},eB=e=>tB({children:e,reorderItemsLabels:["manageAccount","signOut"],MenuItemsComponent:dd,MenuActionComponent:T7,MenuLinkComponent:_7,UserProfileLinkComponent:Io,UserProfilePageComponent:Do}),tB=({children:e,MenuItemsComponent:t,MenuActionComponent:n,MenuLinkComponent:a,UserProfileLinkComponent:s,UserProfilePageComponent:l,reorderItemsLabels:o})=>{const d=[],f=[],h=[];pe.Children.forEach(e,A=>{if(!ir(A,t)&&!ir(A,s)&&!ir(A,l)){A&&lr(fL);return}if(ir(A,s)||ir(A,l))return;const{props:k}=A;pe.Children.forEach(k.children,I=>{if(!ir(I,n)&&!ir(I,a)){I&&lr(hL);return}const{props:N}=I,{label:M,labelIcon:z,href:$,onClick:Y,open:L}=N;if(ir(I,n))if(b6(N,o))d.push({label:M});else if(y1(N)){const re={label:M,labelIcon:z};if(Y!==void 0)d.push({...re,onClick:Y});else if(L!==void 0)d.push({...re,open:L.startsWith("/")?L:`/${L}`});else{lr("Custom menu item must have either onClick or open property");return}}else{lr(EL);return}if(ir(I,a))if(v1(N))d.push({label:M,labelIcon:z,href:$});else{lr(bL);return}})});const p=[],b=[];d.forEach((A,k)=>{y1(A)&&p.push({component:A.labelIcon,id:k}),v1(A)&&b.push({component:A.labelIcon,id:k})});const T=co(p),v=co(b);return d.forEach((A,k)=>{if(b6(A,o)&&f.push({label:A.label}),y1(A)){const{portal:I,mount:N,unmount:M}=T.find($=>$.id===k),z={label:A.label,mountIcon:N,unmountIcon:M};"onClick"in A?z.onClick=A.onClick:"open"in A&&(z.open=A.open),f.push(z),h.push(I)}if(v1(A)){const{portal:I,mount:N,unmount:M}=v.find(z=>z.id===k);f.push({label:A.label,href:A.href,mountIcon:N,unmountIcon:M}),h.push(I)}}),{customMenuItems:f,customMenuItemsPortals:h}},b6=(e,t)=>{const{children:n,label:a,onClick:s,labelIcon:l}=e;return!n&&!s&&!l&&t.some(o=>o===a)},y1=e=>{const{label:t,labelIcon:n,onClick:a,open:s}=e;return!!n&&!!t&&(typeof a=="function"||typeof s=="string")},v1=e=>{const{label:t,href:n,labelIcon:a}=e;return!!n&&!!a&&!!t};function nB(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 ra(e){const t=Be.useRef(),[n,a]=Be.useState("rendering");return Be.useEffect(()=>{if(!e)throw new Error("Clerk: no component name provided, unable to detect mount.");typeof window<"u"&&!t.current&&(t.current=nB({selector:`[data-clerk-component="${e}"]`}).then(()=>{a("rendered")}).catch(()=>{a("error")}))},[e]),n}var b0=e=>"mount"in e,E6=e=>"open"in e,y6=e=>e==null?void 0:e.map(({mountIcon:t,unmountIcon:n,...a})=>a),_r=class extends pe.PureComponent{constructor(){super(...arguments),this.rootRef=pe.createRef()}componentDidUpdate(e){var t,n,a,s;if(!b0(e)||!b0(this.props))return;const l=d6(e.props,"customPages","customMenuItems","children"),o=d6(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=y6(e.props.customMenuItems),p=y6(this.props.props.customMenuItems);(!l6(l,o)||!l6(h,p)||d||f)&&this.rootRef.current&&this.props.updateProps({node:this.rootRef.current,props:this.props.props})}componentDidMount(){this.rootRef.current&&(b0(this.props)&&this.props.mount(this.rootRef.current,this.props.props),E6(this.props)&&this.props.open(this.props.props))}componentWillUnmount(){this.rootRef.current&&(b0(this.props)&&this.props.unmount(this.rootRef.current),E6(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 pe.createElement(pe.Fragment,null,!e&&pe.createElement("div",{...t}),this.props.children)}},cd=e=>{var t,n;return pe.createElement(pe.Fragment,null,(t=e==null?void 0:e.customPagesPortals)==null?void 0:t.map((a,s)=>Be.createElement(a,{key:s})),(n=e==null?void 0:e.customMenuItemsPortals)==null?void 0:n.map((a,s)=>Be.createElement(a,{key:s})))};gn(({clerk:e,component:t,fallback:n,...a})=>{const l=ra(t)==="rendering"||!e.loaded,o={...l&&n&&{style:{display:"none"}}};return pe.createElement(pe.Fragment,null,l&&n,e.loaded&&pe.createElement(_r,{component:t,mount:e.mountSignIn,unmount:e.unmountSignIn,updateProps:e.__unstable__updateProps,props:a,rootProps:o}))},{component:"SignIn",renderWhileLoading:!0});gn(({clerk:e,component:t,fallback:n,...a})=>{const l=ra(t)==="rendering"||!e.loaded,o={...l&&n&&{style:{display:"none"}}};return pe.createElement(pe.Fragment,null,l&&n,e.loaded&&pe.createElement(_r,{component:t,mount:e.mountSignUp,unmount:e.unmountSignUp,updateProps:e.__unstable__updateProps,props:a,rootProps:o}))},{component:"SignUp",renderWhileLoading:!0});function Do({children:e}){return lr(iL),pe.createElement(pe.Fragment,null,e)}function Io({children:e}){return lr(sL),pe.createElement(pe.Fragment,null,e)}var rB=gn(({clerk:e,component:t,fallback:n,...a})=>{const l=ra(t)==="rendering"||!e.loaded,o={...l&&n&&{style:{display:"none"}}},{customPages:d,customPagesPortals:f}=g7(a.children);return pe.createElement(pe.Fragment,null,l&&n,pe.createElement(_r,{component:t,mount:e.mountUserProfile,unmount:e.unmountUserProfile,updateProps:e.__unstable__updateProps,props:{...a,customPages:d},rootProps:o},pe.createElement(cd,{customPagesPortals:f})))},{component:"UserProfile",renderWhileLoading:!0});Object.assign(rB,{Page:Do,Link:Io});var v7=Be.createContext({mount:()=>{},unmount:()=>{},updateProps:()=>{}}),aB=gn(({clerk:e,component:t,fallback:n,...a})=>{const l=ra(t)==="rendering"||!e.loaded,o={...l&&n&&{style:{display:"none"}}},{customPages:d,customPagesPortals:f}=g7(a.children,{allowForAnyChildren:!!a.__experimental_asProvider}),h=Object.assign(a.userProfileProps||{},{customPages:d}),{customMenuItems:p,customMenuItemsPortals:b}=eB(a.children),T=E7(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 pe.createElement(v7.Provider,{value:v},l&&n,e.loaded&&pe.createElement(_r,{component:t,...v,hideRootHtmlElement:!!a.__experimental_asProvider,rootProps:o},a.__experimental_asProvider?T:null,pe.createElement(cd,{...A})))},{component:"UserButton",renderWhileLoading:!0});function dd({children:e}){return lr(mL),pe.createElement(pe.Fragment,null,e)}function T7({children:e}){return lr(pL),pe.createElement(pe.Fragment,null,e)}function _7({children:e}){return lr(gL),pe.createElement(pe.Fragment,null,e)}function iB(e){const t=Be.useContext(v7),n={...t,props:{...t.props,...e}};return pe.createElement(_r,{...n})}var sB=Object.assign(aB,{UserProfilePage:Do,UserProfileLink:Io,MenuItems:dd,Action:T7,Link:_7,__experimental_Outlet:iB});function fd({children:e}){return lr(lL),pe.createElement(pe.Fragment,null,e)}function hd({children:e}){return lr(uL),pe.createElement(pe.Fragment,null,e)}var lB=gn(({clerk:e,component:t,fallback:n,...a})=>{const l=ra(t)==="rendering"||!e.loaded,o={...l&&n&&{style:{display:"none"}}},{customPages:d,customPagesPortals:f}=b7(a.children);return pe.createElement(pe.Fragment,null,l&&n,e.loaded&&pe.createElement(_r,{component:t,mount:e.mountOrganizationProfile,unmount:e.unmountOrganizationProfile,updateProps:e.__unstable__updateProps,props:{...a,customPages:d},rootProps:o},pe.createElement(cd,{customPagesPortals:f})))},{component:"OrganizationProfile",renderWhileLoading:!0});Object.assign(lB,{Page:fd,Link:hd});gn(({clerk:e,component:t,fallback:n,...a})=>{const l=ra(t)==="rendering"||!e.loaded,o={...l&&n&&{style:{display:"none"}}};return pe.createElement(pe.Fragment,null,l&&n,e.loaded&&pe.createElement(_r,{component:t,mount:e.mountCreateOrganization,unmount:e.unmountCreateOrganization,updateProps:e.__unstable__updateProps,props:a,rootProps:o}))},{component:"CreateOrganization",renderWhileLoading:!0});var S7=Be.createContext({mount:()=>{},unmount:()=>{},updateProps:()=>{}}),uB=gn(({clerk:e,component:t,fallback:n,...a})=>{const l=ra(t)==="rendering"||!e.loaded,o={...l&&n&&{style:{display:"none"}}},{customPages:d,customPagesPortals:f}=b7(a.children,{allowForAnyChildren:!!a.__experimental_asProvider}),h=Object.assign(a.organizationProfileProps||{},{customPages:d}),p=E7(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(),pe.createElement(S7.Provider,{value:b},pe.createElement(pe.Fragment,null,l&&n,e.loaded&&pe.createElement(_r,{...b,hideRootHtmlElement:!!a.__experimental_asProvider},a.__experimental_asProvider?p:null,pe.createElement(cd,{customPagesPortals:f}))))},{component:"OrganizationSwitcher",renderWhileLoading:!0});function oB(e){const t=Be.useContext(S7),n={...t,props:{...t.props,...e}};return pe.createElement(_r,{...n})}Object.assign(uB,{OrganizationProfilePage:fd,OrganizationProfileLink:hd,__experimental_Outlet:oB});gn(({clerk:e,component:t,fallback:n,...a})=>{const l=ra(t)==="rendering"||!e.loaded,o={...l&&n&&{style:{display:"none"}}};return pe.createElement(pe.Fragment,null,l&&n,e.loaded&&pe.createElement(_r,{component:t,mount:e.mountOrganizationList,unmount:e.unmountOrganizationList,updateProps:e.__unstable__updateProps,props:a,rootProps:o}))},{component:"OrganizationList",renderWhileLoading:!0});gn(({clerk:e,component:t,fallback:n,...a})=>{const l=ra(t)==="rendering"||!e.loaded,o={...l&&n&&{style:{display:"none"}}};return pe.createElement(pe.Fragment,null,l&&n,e.loaded&&pe.createElement(_r,{component:t,open:e.openGoogleOneTap,close:e.closeGoogleOneTap,updateProps:e.__unstable__updateProps,props:a,rootProps:o}))},{component:"GoogleOneTap",renderWhileLoading:!0});gn(({clerk:e,component:t,fallback:n,...a})=>{const l=ra(t)==="rendering"||!e.loaded,o={...l&&n&&{style:{display:"none"}}};return pe.createElement(pe.Fragment,null,l&&n,e.loaded&&pe.createElement(_r,{component:t,mount:e.mountWaitlist,unmount:e.unmountWaitlist,updateProps:e.__unstable__updateProps,props:a,rootProps:o}))},{component:"Waitlist",renderWhileLoading:!0});gn(({clerk:e,component:t,fallback:n,...a})=>{const l=ra(t)==="rendering"||!e.loaded,o={...l&&n&&{style:{display:"none"}}};return pe.createElement(pe.Fragment,null,l&&n,e.loaded&&pe.createElement(_r,{component:t,mount:e.mountPricingTable,unmount:e.unmountPricingTable,updateProps:e.__unstable__updateProps,props:a,rootProps:o}))},{component:"PricingTable",renderWhileLoading:!0});gn(({clerk:e,component:t,fallback:n,...a})=>{const l=ra(t)==="rendering"||!e.loaded,o={...l&&n&&{style:{display:"none"}}};return pe.createElement(pe.Fragment,null,l&&n,e.loaded&&pe.createElement(_r,{component:t,mount:e.mountApiKeys,unmount:e.unmountApiKeys,updateProps:e.__unstable__updateProps,props:a,rootProps:o}))},{component:"ApiKeys",renderWhileLoading:!0});gn(({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=ud(t,"Sign in");const T=ld(t)("SignInButton"),v=()=>{const I={forceRedirectUrl:s,fallbackRedirectUrl:l,signUpFallbackRedirectUrl:a,signUpForceRedirectUrl:o,initialValues:f,withSignUp:h,oauthFlow:p};return d==="modal"?e.openSignIn({...I,appearance:n.appearance}):e.redirectToSignIn({...I,signInFallbackRedirectUrl:l,signInForceRedirectUrl:s})},k={...b,onClick:async I=>(T&&typeof T=="object"&&"props"in T&&await od(T.props.onClick)(I),v())};return pe.cloneElement(T,k)},{component:"SignInButton",renderWhileLoading:!0});gn(({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=ud(t,"Sign up");const T=ld(t)("SignUpButton"),v=()=>{const I={fallbackRedirectUrl:a,forceRedirectUrl:s,signInFallbackRedirectUrl:l,signInForceRedirectUrl:o,unsafeMetadata:f,initialValues:h,oauthFlow:p};return d==="modal"?e.openSignUp({...I,appearance:n.appearance}):e.redirectToSignUp({...I,signUpFallbackRedirectUrl:a,signUpForceRedirectUrl:s})},k={...b,onClick:async I=>(T&&typeof T=="object"&&"props"in T&&await od(T.props.onClick)(I),v())};return pe.cloneElement(T,k)},{component:"SignUpButton",renderWhileLoading:!0});gn(({clerk:e,children:t,...n})=>{const{redirectUrl:a="/",signOutOptions:s,...l}=n;t=ud(t,"Sign out");const o=ld(t)("SignOutButton"),d=()=>e.signOut({redirectUrl:a,...s}),h={...l,onClick:async p=>(await od(o.props.onClick)(p),d())};return pe.cloneElement(o,h)},{component:"SignOutButton",renderWhileLoading:!0});gn(({clerk:e,children:t,...n})=>{const{redirectUrl:a,...s}=n;t=ud(t,"Sign in with Metamask");const l=ld(t)("SignInWithMetamaskButton"),o=async()=>{async function h(){await e.authenticateWithMetamask({redirectUrl:a||void 0})}h()},f={...s,onClick:async h=>(await od(l.props.onClick)(h),o())};return pe.cloneElement(l,f)},{component:"SignInWithMetamask",renderWhileLoading:!0});typeof globalThis.__BUILD_DISABLE_RHC__>"u"&&(globalThis.__BUILD_DISABLE_RHC__=!1);var cB={name:"@clerk/clerk-react",version:"5.32.0",environment:"production"},S0,_l,Sl,ji,ei,Ki,x0,lm,x7=class A7{constructor(t){Cs(this,x0),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=[],Cs(this,S0,"loading"),Cs(this,_l),Cs(this,Sl),Cs(this,ji),Cs(this,ei,WL()),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);cn(this,ei).on(...s)},this.off=(...s)=>{var l;if((l=this.clerkjs)!=null&&l.off)return this.clerkjs.off(...s);cn(this,ei).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=cn(this,ei).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"&&cn(this,ei).emit(p0.Status,"ready"),this.emitLoaded(),this.clerkjs},this.__unstable__updateProps=async s=>{const l=await o6(this,x0,lm).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 o6(this,x0,lm).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||{};El(this,ji,a),El(this,Sl,t==null?void 0:t.proxyUrl),El(this,_l,t==null?void 0:t.domain),this.options=t,this.Clerk=n,this.mode=f6()?"browser":"server",this.options.sdkMetadata||(this.options.sdkMetadata=cB),cn(this,ei).emit(p0.Status,"loading"),cn(this,ei).prioritizedOn(p0.Status,s=>El(this,S0,s)),cn(this,ji)&&this.loadClerkJS()}get publishableKey(){return cn(this,ji)}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"):cn(this,S0)}static getOrCreateInstance(t){return(!f6()||!cn(this,Ki)||t.Clerk&&cn(this,Ki).Clerk!==t.Clerk||cn(this,Ki).publishableKey!==t.publishableKey)&&El(this,Ki,new A7(t)),cn(this,Ki)}static clearInstance(){El(this,Ki,null)}get domain(){return typeof window<"u"&&window.location?g1(cn(this,_l),new URL(window.location.href),""):typeof cn(this,_l)=="function"?Ca.throw(p1):cn(this,_l)||""}get proxyUrl(){return typeof window<"u"&&window.location?g1(cn(this,Sl),new URL(window.location.href),""):typeof cn(this,Sl)=="function"?Ca.throw(p1):cn(this,Sl)||""}__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?g1(this.options.isSatellite,new URL(window.location.href),!1):typeof this.options.isSatellite=="function"?Ca.throw(p1):!1}async loadClerkJS(){var t;if(!(this.mode!=="browser"||this.loaded)){typeof window<"u"&&(window.__clerk_publishable_key=cn(this,ji),window.__clerk_proxy_url=this.proxyUrl,window.__clerk_domain=this.domain);try{if(this.Clerk){let n;QL(this.Clerk)?(n=new this.Clerk(cn(this,ji),{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 HL({...this.options,publishableKey:cn(this,ji),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;cn(this,ei).emit(p0.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}};S0=new WeakMap;_l=new WeakMap;Sl=new WeakMap;ji=new WeakMap;ei=new WeakMap;Ki=new WeakMap;x0=new WeakSet;lm=function(){return new Promise(e=>{this.addOnLoaded(()=>e(this.clerkjs))})};Cs(x7,Ki);var v6=x7;function dB(e){const{isomorphicClerkOptions:t,initialState:n,children:a}=e,{isomorphicClerk:s,clerkStatus:l}=fB(t),[o,d]=pe.useState({client:s.client,session:s.session,user:s.user,organization:s.organization});pe.useEffect(()=>s.addListener(J=>d({...J})),[]);const f=VL(s.loaded,o,n),h=pe.useMemo(()=>({value:s}),[l]),p=pe.useMemo(()=>({value:o.client}),[o.client]),{sessionId:b,sessionStatus:T,sessionClaims:v,session:A,userId:k,user:I,orgId:N,actor:M,organization:z,orgRole:$,orgSlug:Y,orgPermissions:L,factorVerificationAge:re}=f,X=pe.useMemo(()=>({value:{sessionId:b,sessionStatus:T,sessionClaims:v,userId:k,actor:M,orgId:N,orgRole:$,orgSlug:Y,orgPermissions:L,factorVerificationAge:re}}),[b,T,k,M,N,$,Y,re,v==null?void 0:v.__raw]),ee=pe.useMemo(()=>({value:A}),[b,A]),q=pe.useMemo(()=>({value:I}),[k,I]),ce=pe.useMemo(()=>({value:{organization:z}}),[N,z]);return pe.createElement(tL.Provider,{value:h},pe.createElement(GI.Provider,{value:p},pe.createElement(jI.Provider,{value:ee},pe.createElement(KI,{...ce.value},pe.createElement(JI.Provider,{value:X},pe.createElement(YI.Provider,{value:q},a))))))}var fB=e=>{const t=pe.useRef(v6.getOrCreateInstance(e)),[n,a]=pe.useState(t.current.status);return pe.useEffect(()=>{t.current.__unstable__updateProps({appearance:e.appearance})},[e.appearance]),pe.useEffect(()=>{t.current.__unstable__updateProps({options:e})},[e.localization]),pe.useEffect(()=>(t.current.on("status",a),()=>{t.current&&t.current.off("status",a),v6.clearInstance()}),[]),{isomorphicClerk:t.current,clerkStatus:n}};function hB(e){const{initialState:t,children:n,__internal_bypassMissingPublishableKey:a,...s}=e,{publishableKey:l="",Clerk:o}=s;return!o&&!a&&(l?l&&!$1(l)&&Ca.throwInvalidPublishableKeyError({key:l}):Ca.throwMissingPublishableKeyError()),pe.createElement(dB,{initialState:t,isomorphicClerkOptions:s},n)}var w7=JL(hB,"ClerkProvider",nL);w7.displayName="ClerkProvider";ZI({packageName:"@clerk/clerk-react"});FL("@clerk/clerk-react");const z0=10*1024*1024,um=new Set(["image/jpeg","image/png","image/webp","application/pdf","text/plain","text/markdown","text/csv"]);async function mB(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 yo(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 pB(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 gB(e,t="anon",n="anon"){if(e.size>z0)throw new Error("File too large (max 10MB)");if(!um.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 F0=e=>e<1024?`${e}B`:e<1024*1024?`${(e/1024).toFixed(2)}kB`:`${(e/(1024*1024)).toFixed(2)}MB`,bB=e=>{if(e.size>z0)return{valid:!1,error:`File "${e.name}" is too large (${F0(e.size)}). Maximum size is ${F0(z0)}.`};if(!um.has(e.type)){const t=Array.from(um).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 om(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:I,done:N}=await a.read();if(N)break;if(I){const M=s.decode(I,{stream:!0});if(d+=M,h===null&&d.length>0&&(h=d.trimStart().startsWith("data: ")),o||h){let z;for(;(z=d.indexOf(`
364
+ `))!==-1;){const $=d.slice(0,z).trim();if(d=d.slice(z+1),!!$&&$.startsWith("data: ")){const Y=$.slice(6);if(Y==="[DONE]")return t(f),f;try{const L=JSON.parse(Y),re=((T=(b=(p=L==null?void 0:L.choices)==null?void 0:p[0])==null?void 0:b.delta)==null?void 0:T.content)||"";re&&(f+=re,t(f))}catch(L){console.error("Failed to parse SSE data:",L,Y)}}}}else f+=M,t(f),d=""}}if((o||h)&&d.trim()){const I=d.trim();if(I.startsWith("data: ")){const N=I.slice(6);if(N!=="[DONE]")try{const M=JSON.parse(N),z=((k=(A=(v=M==null?void 0:M.choices)==null?void 0:v[0])==null?void 0:A.delta)==null?void 0:k.content)||"";z&&(f+=z)}catch(M){console.error("Failed to parse final SSE data:",M,N)}}}return t(f),f}function cm(e){return e.replace(/<think>[\s\S]*?<\/think>/g,"")}const EB=({children:e,className:t,node:n,inline:a,...s})=>{const[l,o]=Be.useState(!1),d=Be.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
+ `)?Z.jsx("code",{className:t,...s,children:e}):Z.jsxs("div",{className:"relative group",children:[Z.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?Z.jsxs(Z.Fragment,{children:[Z.jsx("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:Z.jsx("polyline",{points:"20 6 9 17 4 12"})}),Z.jsx("span",{children:"Copied!"})]}):Z.jsx(Z.Fragment,{children:Z.jsxs("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[Z.jsx("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),Z.jsx("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})]})})}),Z.jsx("code",{ref:d,className:t,...s,children:e})]})},yB=({children:e})=>Z.jsx("div",{className:"not-prose",children:e}),vB=({href:e,onSend:t,...n})=>{const a=Be.useCallback(s=>{t(decodeURIComponent(e.slice(23))),s.preventDefault()},[e,t]);return e.startsWith("https://cycls.com/send/")?Z.jsx("a",{...n,className:n.className||"underline decoration-gray-500/40 decoration-2 hover:decoration-gray-500/60",href:"#",onClick:a}):Z.jsx("a",{...n,href:e,target:"_blank",rel:"noreferrer"})},dm=pe.memo(({markdown:e,onSend:t})=>{const n=Be.useMemo(()=>({raw:yB,a:a=>Z.jsx(vB,{...a,onSend:t}),code:EB}),[t]);return Z.jsx("div",{dir:"auto",children:Z.jsx(HS,{components:n,remarkPlugins:[JA,CD],rehypePlugins:[yC,ED,[sR,{ignoreMissing:!0,detect:!0}]],children:e})})}),TB=({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 Z.jsx("div",{className:"rounded-lg border border-red-200 bg-red-50 p-4 my-2",children:Z.jsxs("div",{className:"flex items-start gap-3",children:[Z.jsx("div",{className:"flex-shrink-0 mt-0.5",children:Z.jsxs("svg",{className:"h-5 w-5 text-red-600",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[Z.jsx("circle",{cx:"12",cy:"12",r:"10"}),Z.jsx("line",{x1:"12",y1:"8",x2:"12",y2:"12"}),Z.jsx("line",{x1:"12",y1:"16",x2:"12.01",y2:"16"})]})}),Z.jsxs("div",{className:"flex-1 min-w-0",children:[Z.jsx("p",{className:"text-sm font-medium text-red-900",children:"Error"}),Z.jsx("p",{className:"text-sm text-red-700 mt-1",children:a(e)}),t&&e.type!=="abort"&&Z.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?Z.jsxs(Z.Fragment,{children:[Z.jsxs("svg",{className:"animate-spin h-4 w-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[Z.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),Z.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"})]}),Z.jsx("span",{children:"Retrying..."})]}):Z.jsxs(Z.Fragment,{children:[Z.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[Z.jsx("polyline",{points:"23 4 23 10 17 10"}),Z.jsx("polyline",{points:"1 20 1 14 7 14"}),Z.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"})]}),Z.jsx("span",{children:"Retry"})]})})]})]})})},_B=({message:e,onCopy:t,onRegenerate:n,isLastAssistant:a})=>{const[s,l]=Be.useState(!1),o=async()=>{try{const{clean:d}=yo(e.content);await navigator.clipboard.writeText(d),l(!0),setTimeout(()=>l(!1),2e3)}catch(d){console.error("Failed to copy:",d)}};return Z.jsxs("div",{className:"flex items-center gap-1 opacity-0 group-hover:opacity-100 transition-opacity duration-200",children:[Z.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?Z.jsxs(Z.Fragment,{children:[Z.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:Z.jsx("polyline",{points:"20 6 9 17 4 12"})}),Z.jsx("span",{children:"Copied!"})]}):Z.jsxs(Z.Fragment,{children:[Z.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[Z.jsx("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),Z.jsx("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})]}),Z.jsx("span",{children:"Copy"})]})}),a&&Z.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:[Z.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[Z.jsx("polyline",{points:"23 4 23 10 17 10"}),Z.jsx("polyline",{points:"1 20 1 14 7 14"}),Z.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"})]}),Z.jsx("span",{children:"Regenerate"})]})]})},SB=({error:e,onDismiss:t})=>(Be.useEffect(()=>{const n=setTimeout(t,5e3);return()=>clearTimeout(n)},[t]),Z.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:Z.jsxs("div",{className:"flex items-start gap-3",children:[Z.jsx("div",{className:"flex-shrink-0 mt-0.5",children:Z.jsxs("svg",{className:"h-5 w-5 text-red-600",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[Z.jsx("circle",{cx:"12",cy:"12",r:"10"}),Z.jsx("line",{x1:"12",y1:"8",x2:"12",y2:"12"}),Z.jsx("line",{x1:"12",y1:"16",x2:"12.01",y2:"16"})]})}),Z.jsxs("div",{className:"flex-1 min-w-0",children:[Z.jsx("p",{className:"text-sm font-medium text-red-900",children:"Upload Error"}),Z.jsx("p",{className:"text-sm text-red-700 mt-1",children:e})]}),Z.jsx("button",{onClick:t,className:"flex-shrink-0 text-red-400 hover:text-red-600 transition-colors","aria-label":"Dismiss",children:Z.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"currentColor",children:Z.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"})})})]})})),xB=({file:e,onRemove:t})=>{const[n,a]=Be.useState(null),s=e.type.startsWith("image/");return Be.useEffect(()=>{if(!s)return;const l=new FileReader;l.onloadend=()=>a(String(l.result)),l.readAsDataURL(e)},[e,s]),Z.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:[Z.jsx("div",{className:"w-10 h-10 rounded-md overflow-hidden bg-gray-100 flex items-center justify-center",children:s&&n?Z.jsx("img",{src:n,alt:e.name,className:"w-full h-full object-cover"}):Z.jsx("span",{className:"text-xs",children:"📄"})}),Z.jsxs("div",{className:"min-w-0 leading-tight",children:[Z.jsx("div",{className:"text-xs font-medium text-gray-900 truncate max-w-[100px]",children:e.name}),Z.jsx("div",{className:"text-xs text-left text-gray-500",children:F0(e.size)})]}),Z.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:Z.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",children:Z.jsx("path",{d:"M9 3L3 9M3 3L9 9",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})})]})},AB=({attachments:e=[]})=>e.length?Z.jsx("div",{className:"mt-3 flex flex-wrap gap-2",children:e.map((t,n)=>{const a=pB(t.mime);if(a==="image")return Z.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:Z.jsx("img",{src:t.url,alt:"",loading:"lazy",className:"mb-1 w-40 rounded-md"})},n);const s={pdf:"📄",csv:"📊",md:"📝",txt:"📝"}[a]||"📎";return Z.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:[Z.jsx("span",{className:"text-xl",children:s}),Z.jsx("span",{className:"text-xs text-gray-600 uppercase font-semibold tracking-wide",children:a||"file"})]},n)})}):null,wB=({fileName:e,progress:t})=>Z.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:Z.jsxs("div",{className:"flex items-center gap-3",children:[Z.jsx("div",{className:"flex-shrink-0",children:Z.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:[Z.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),Z.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"})]})}),Z.jsxs("div",{className:"flex-1 min-w-0",children:[Z.jsx("p",{className:"text-sm font-medium text-gray-900 truncate",children:e}),Z.jsx("div",{className:"mt-1 w-full bg-gray-200 rounded-full h-1.5",children:Z.jsx("div",{className:"bg-gray-900 h-1.5 rounded-full transition-all duration-300",style:{width:`${t}%`}})})]})]})}),kB=({onSend:e,heroActive:t=!1,isLoading:n=!1,onStop:a})=>{const[s,l]=Be.useState(""),[o,d]=Be.useState([]),[f,h]=Be.useState(!1),[p,b]=Be.useState(null),[T,v]=Be.useState(!1),A=Be.useRef(null),k=Be.useRef(null),I=Be.useRef(0);Be.useEffect(()=>{const X=()=>h(window.innerWidth<=768);return X(),window.addEventListener("resize",X),()=>window.removeEventListener("resize",X)},[]);const N=Be.useCallback(X=>{const ee=[];for(const q of X){const ce=bB(q);if(ce.valid)ee.push(q);else{b(ce.error);break}}ee.length>0&&d(q=>[...q,...ee])},[]);Be.useEffect(()=>{const X=J=>{J.preventDefault(),J.stopPropagation(),I.current++,J.dataTransfer.types.includes("Files")&&v(!0)},ee=J=>{J.preventDefault(),J.stopPropagation(),I.current--,I.current===0&&v(!1)},q=J=>{J.preventDefault(),J.stopPropagation()},ce=J=>{J.preventDefault(),J.stopPropagation(),v(!1),I.current=0;const ve=Array.from(J.dataTransfer.files||[]);ve.length>0&&N(ve)};return document.addEventListener("dragenter",X),document.addEventListener("dragleave",ee),document.addEventListener("dragover",q),document.addEventListener("drop",ce),()=>{document.removeEventListener("dragenter",X),document.removeEventListener("dragleave",ee),document.removeEventListener("dragover",q),document.removeEventListener("drop",ce)}},[N]),Be.useEffect(()=>{const X=ee=>{var ve;if(!(document.activeElement===k.current))return;const J=Array.from(((ve=ee.clipboardData)==null?void 0:ve.items)||[]).filter(he=>he.type.startsWith("image/"));if(J.length>0){ee.preventDefault();const he=J.map(be=>be.getAsFile()).filter(be=>be!==null);he.length>0&&N(he)}};return document.addEventListener("paste",X),()=>document.removeEventListener("paste",X)},[N]);const M=()=>{var X;return(X=A.current)==null?void 0:X.click()},z=X=>{const ee=Array.from(X.target.files||[]);N(ee),X.target.value=""},$=X=>d(ee=>ee.filter((q,ce)=>ce!==X)),Y=async()=>{n||(e({text:s,files:o}),l(""),d([]))},L=X=>{X.key==="Enter"&&!X.shiftKey&&!f&&!n&&(X.preventDefault(),Y())},re=["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 Z.jsxs(Z.Fragment,{children:[p&&Z.jsx(SB,{error:p,onDismiss:()=>b(null)}),T&&Z.jsx("div",{className:"fixed inset-0 z-50 bg-gray-900/50 backdrop-blur-sm flex items-center justify-center pointer-events-none",children:Z.jsx("div",{className:"bg-white rounded-2xl shadow-2xl p-8 max-w-md mx-4 border-2 border-dashed border-gray-900",children:Z.jsxs("div",{className:"text-center",children:[Z.jsx("div",{className:"mx-auto w-16 h-16 bg-gray-100 rounded-full flex items-center justify-center mb-4",children:Z.jsx("svg",{className:"w-8 h-8 text-gray-900",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:Z.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"})})}),Z.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-2",children:"Drop files to upload"}),Z.jsx("p",{className:"text-sm text-gray-600",children:"Images, PDFs, and text files supported"}),Z.jsxs("p",{className:"text-xs text-gray-500 mt-2",children:["Max ",F0(z0)," per file"]})]})})}),Z.jsx("div",{className:re,children:Z.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:[o.length>0&&Z.jsx("div",{className:"px-3 pt-3",children:Z.jsx("div",{className:"flex flex-wrap gap-2",children:o.map((X,ee)=>Z.jsx(xB,{file:X,onRemove:()=>$(ee)},ee))})}),Z.jsxs("div",{className:"px-3 pb-3 pt-2",children:[Z.jsx("textarea",{ref:k,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,s.split(`
366
+ `).length)),placeholder:n?"Waiting for response...":"What's on your mind?",onChange:X=>l(X.target.value),onKeyDown:L,value:s,disabled:n}),Z.jsxs("div",{className:"flex items-center gap-2",children:[Z.jsx("button",{onClick:M,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:Z.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:Z.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"})})}),Z.jsx("input",{ref:A,type:"file",multiple:!0,className:"hidden",onChange:z,accept:".jpg,.jpeg,.png,.webp,.pdf,.txt,.md,.csv"}),Z.jsx("div",{className:"flex-1"}),n&&Z.jsx("button",{onClick:a,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:Z.jsx("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"currentColor",children:Z.jsx("rect",{x:"6",y:"6",width:"12",height:"12",rx:"2"})})}),!n&&Z.jsx("button",{onClick:Y,disabled:n,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:Z.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:Z.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"})})})]})]})]})})]})},NB=pe.memo(({messages:e,onSend:t,onRegenerate:n,isGenerating:a,onRetry:s,retryingIndex:l})=>{const o=Be.useMemo(()=>e.map((d,f)=>{if(d.type==="request"){const{clean:p,attachments:b}=yo(d.content),T=/[\u0591-\u07FF\uFB1D-\uFDFD\uFE70-\uFEFC]/.test(p);return Z.jsx("div",{className:`flex mb-4 ${T?"justify-start":"justify-end"}`,children:Z.jsxs("div",{className:"max-w-[85%] md:max-w-[75%]",children:[b.length>0&&Z.jsx("div",{className:"mb-1",children:Z.jsx(AB,{attachments:b})}),p&&Z.jsx("div",{className:"bg-gray-100 text-black px-4 py-2 rounded-3xl shadow-sm",children:Z.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 Z.jsx("div",{className:"flex mb-4 justify-start group",children:Z.jsx("div",{className:"max-w-[85%] md:max-w-[100%]",children:d.error?Z.jsx(TB,{error:d.error,onRetry:()=>s(f),isRetrying:l===f}):Z.jsxs(Z.Fragment,{children:[Z.jsxs("div",{className:"prose prose-sm max-w-none",children:[Z.jsx(dm,{markdown:d.content,onSend:t}),d.content===""&&Z.jsx("div",{className:"h-4 w-32 bg-gray-200 rounded animate-pulse"})]}),d.content&&d.content!==""&&Z.jsx(_B,{message:d,onRegenerate:()=>n(f),isLastAssistant:h})]})})},f)}),[e,t,n,a,s,l]);return Z.jsx("div",{className:"space-y-1",children:o})}),CB=(e,t,n,a,s,l,o,d=()=>{},f,h,p,b)=>async T=>{const v=typeof T=="object"&&T!==null,A=v?T.text||"":String(T||""),k=v?T.files||[]:[];if(!A.trim()&&k.length===0){n(!0);return}if(A===":clear"&&k.length===0){t([]),window.scrollTo(0,0);return}e.length===0&&d(),a(!0),o(!1);let I=[];for(let L=0;L<k.length;L++){const re=k[L];try{s({fileName:re.name,progress:0});const X=await gB(re);s({fileName:re.name,progress:100}),I.push(X),setTimeout(()=>s(null),500)}catch(X){console.error("Upload error:",X),s(null),a(!1),t(ee=>[...ee,{type:"request",content:A},{type:"response",content:"",error:{type:"server",message:`Failed to upload ${re.name}: ${X.message}`,status:null}}]);return}}let N=A;if(I.length>0){const L=`<!--cycls:attachments
367
+ ${JSON.stringify(I)}
368
+ cycls:attachments-->`;N=`${A}
369
+
370
+ ${L}`}t(L=>[...L,{type:"request",content:N},{type:"response",content:""}]);const z=[...e,{type:"request",content:N}].map(({type:L,content:re})=>{const X=L==="request"?"user":"assistant",{clean:ee,attachments:q}=yo(re);if(q.length===0)return{role:X,content:ee};const ce=[];ee.trim()&&ce.push({type:"text",text:ee});for(const J of q)J.mime&&J.mime.startsWith("image/")?ce.push({type:"image_url",image_url:{url:J.url}}):ce.push({type:"file",text:`[File attached: ${J.name}]
371
+ File URL: ${J.url}
372
+ File type: ${J.mime||"unknown"}`});return{role:X,content:ce}});l.current=new AbortController;let $=!1;const Y=setTimeout(()=>{l.current&&($=!0,l.current.abort())},12e4);try{const L={"Content-Type":"application/json"};if(f&&p)try{const ee=await p({template:"template"});if(ee&&(L.Authorization=`Bearer ${ee}`),b&&h)try{await b({organization:h})}catch{}}catch{}const re=await fetch("/chat/completions",{method:"POST",headers:L,body:JSON.stringify({messages:z,stream:!0}),signal:l.current.signal});if(clearTimeout(Y),!re.ok){let ee="server",q=`Server returned ${re.status}`;if(re.status===429){ee="rate_limit";const ce=re.headers.get("Retry-After");q=ce?`Too many requests. Please try again in ${ce} seconds.`:"Too many requests. Please wait a moment and try again."}else re.status>=500?q="Server error. Please try again later.":(re.status===401||re.status===403)&&(q="Authentication error. Please refresh and try again.");throw{type:ee,status:re.status,message:q}}await om(re,ee=>{const q=cm(ee);t(ce=>{const J=[...ce];return J[J.length-1].content=q,J})},{signal:l.current.signal}),a(!1),n(!0)}catch(L){clearTimeout(Y);let re={type:"server",message:"An unexpected error occurred",status:null};if(L.name==="AbortError")if($)re={type:"timeout",message:"Request timed out. The server took too long to respond."};else{console.log("Generation stopped by user"),t(X=>{var q;const ee=[...X];return((q=ee[ee.length-1])==null?void 0:q.type)==="response"&&(ee[ee.length-1].content+=`
373
+
374
+ *[Generation stopped]*`),ee}),a(!1),n(!0);return}else L instanceof TypeError&&L.message.includes("fetch")?re={type:"network",message:"Network error. Please check your connection and try again."}:L.type&&(re=L);console.error("Request error:",L),t(X=>{var q;const ee=[...X];return((q=ee[ee.length-1])==null?void 0:q.type)==="response"&&(ee[ee.length-1].error=re),ee}),a(!1),n(!0)}};function OB(){const[e,t]=pe.useState({status:"loading"});return pe.useEffect(()=>{const n=new AbortController;return(async()=>{try{const a=await mB(n.signal);t({status:"ready",data:a})}catch(a){t({status:"error",error:a})}})(),()=>n.abort()},[]),e}const RB=()=>{var t,n;const e=OB();if(e.status==="loading")return Z.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 Z.jsx(_6,{meta:a})}return Z.jsx(_6,{meta:e.data})},T6=({HEADER:e,INTRO:t,AUTH:n,ORG:a})=>{const[s,l]=Be.useState([]),[o,d]=Be.useState(!1),[f,h]=Be.useState(!1),[p,b]=Be.useState(null),[T,v]=Be.useState(!1),[A,k]=Be.useState(!1),[I,N]=Be.useState(null),M=Be.useRef(null),z=Be.useRef(null),$=n?up():null,Y=n?$I():null;Be.useEffect(()=>{const J=()=>{const ve=window.scrollY||document.documentElement.scrollTop,he=document.documentElement.scrollHeight,be=window.innerHeight,W=he-ve-be<100;k(!W)};return window.addEventListener("scroll",J),()=>window.removeEventListener("scroll",J)},[]),Be.useEffect(()=>{!A&&z.current&&z.current.scrollIntoView({behavior:"smooth"})},[s,A]),Be.useEffect(()=>{if(o){const J=document.querySelector("textarea");J==null||J.focus(),d(!1)}},[o]);const L=Be.useCallback(CB(s,l,d,h,b,M,k,()=>v(!0),n,a,$==null?void 0:$.getToken,Y==null?void 0:Y.setActive),[s,n,a,$==null?void 0:$.getToken,Y==null?void 0:Y.setActive]),re=Be.useCallback(()=>{M.current&&(M.current.abort(),M.current=null)},[]),X=Be.useCallback(async J=>{const ve=J-1;if(ve<0||(l(S=>{var ue;const K=[...S];return((ue=K[J])==null?void 0:ue.type)==="response"&&(K[J]={type:"response",content:""}),K}),s[ve].type!=="request"))return;const be=s.slice(0,J);h(!0),k(!1);const W=be.map(({type:S,content:K})=>{const ue=S==="request"?"user":"assistant",{clean:R,attachments:Ae}=yo(K);if(Ae.length===0)return{role:ue,content:R};const Pe=[];R.trim()&&Pe.push({type:"text",text:R});for(const we of Ae)we.mime&&we.mime.startsWith("image/")?Pe.push({type:"image_url",image_url:{url:we.url}}):Pe.push({type:"file",text:`[File attached: ${we.name}]
375
+ File URL: ${we.url}
376
+ File type: ${we.mime||"unknown"}`});return{role:ue,content:Pe}}),de=new AbortController;M.current=de;let ge=!1;const Fe=setTimeout(()=>{M.current&&(ge=!0,M.current.abort())},12e4);try{const S={"Content-Type":"application/json"};if(n&&($!=null&&$.getToken))try{const R=await $.getToken({template:"template"});if(R&&(S.Authorization=`Bearer ${R}`),Y!=null&&Y.setActive&&a)try{await Y.setActive({organization:a})}catch{}}catch{}const K=await fetch("/chat/completions",{method:"POST",headers:S,body:JSON.stringify({messages:W,stream:!0}),signal:de.signal});if(clearTimeout(Fe),!K.ok){let R="server",Ae=`Server returned ${K.status}`;if(K.status===429){R="rate_limit";const Pe=K.headers.get("Retry-After");Ae=Pe?`Too many requests. Please try again in ${Pe} seconds.`:"Too many requests. Please wait a moment and try again."}else K.status>=500?Ae="Server error. Please try again later.":(K.status===401||K.status===403)&&(Ae="Authentication error. Please refresh and try again.");throw{type:R,status:K.status,message:Ae}}await om(K,R=>{const Ae=cm(R);l(Pe=>{const we=[...Pe];return we[J].content=Ae,we})},{signal:de.signal}),h(!1),d(!0)}catch(S){clearTimeout(Fe);let K={type:"server",message:"An unexpected error occurred",status:null};if(S.name==="AbortError")if(ge)K={type:"timeout",message:"Request timed out. The server took too long to respond."};else{console.log("Regeneration stopped by user"),l(ue=>{const R=[...ue];return R[J].content+=`
377
+
378
+ *[Generation stopped]*`,R}),h(!1),d(!0);return}else S instanceof TypeError&&S.message.includes("fetch")?K={type:"network",message:"Network error. Please check your connection and try again."}:S.type&&(K=S);console.error("Regeneration error:",S),l(ue=>{const R=[...ue];return R[J].error=K,R}),h(!1),d(!0)}},[s,n,a,$==null?void 0:$.getToken,Y==null?void 0:Y.setActive]),ee=Be.useCallback(async J=>{const ve=J-1;if(ve<0)return;if(N(J),l(be=>{var de;const W=[...be];return((de=W[J])==null?void 0:de.type)==="response"&&(W[J]={type:"response",content:""}),W}),s[ve].type==="request"){const be=s.slice(0,J);h(!0),k(!1);const W=be.map(({type:S,content:K})=>{const ue=S==="request"?"user":"assistant",{clean:R,attachments:Ae}=yo(K);if(Ae.length===0)return{role:ue,content:R};const Pe=[];R.trim()&&Pe.push({type:"text",text:R});for(const we of Ae)we.mime&&we.mime.startsWith("image/")?Pe.push({type:"image_url",image_url:{url:we.url}}):Pe.push({type:"file",text:`[File attached: ${we.name}]
379
+ File URL: ${we.url}
380
+ File type: ${we.mime||"unknown"}`});return{role:ue,content:Pe}}),de=new AbortController;M.current=de;let ge=!1;const Fe=setTimeout(()=>{M.current&&(ge=!0,M.current.abort())},12e4);try{const S={"Content-Type":"application/json"};if(n&&($!=null&&$.getToken))try{const R=await $.getToken({template:"template"});if(R&&(S.Authorization=`Bearer ${R}`),Y!=null&&Y.setActive&&a)try{await Y.setActive({organization:a})}catch{}}catch{}const K=await fetch("/chat/completions",{method:"POST",headers:S,body:JSON.stringify({messages:W,stream:!0}),signal:de.signal});if(clearTimeout(Fe),!K.ok){let R="server",Ae=`Server returned ${K.status}`;if(K.status===429){R="rate_limit";const Pe=K.headers.get("Retry-After");Ae=Pe?`Too many requests. Please try again in ${Pe} seconds.`:"Too many requests. Please wait a moment and try again."}else K.status>=500?Ae="Server error. Please try again later.":(K.status===401||K.status===403)&&(Ae="Authentication error. Please refresh and try again.");throw{type:R,status:K.status,message:Ae}}await om(K,R=>{const Ae=cm(R);l(Pe=>{const we=[...Pe];return we[J].content=Ae,we})},{signal:de.signal}),h(!1),N(null),d(!0)}catch(S){clearTimeout(Fe);let K={type:"server",message:"An unexpected error occurred",status:null};if(S.name==="AbortError")if(ge)K={type:"timeout",message:"Request timed out. The server took too long to respond."};else{console.log("Retry stopped by user"),l(ue=>{const R=[...ue];return R[J].content+=`
381
+
382
+ *[Generation stopped]*`,R}),h(!1),N(null),d(!0);return}else S instanceof TypeError&&S.message.includes("fetch")?K={type:"network",message:"Network error. Please check your connection and try again."}:S.type&&(K=S);console.error("Retry error:",S),l(ue=>{const R=[...ue];return R[J].error=K,R}),h(!1),N(null),d(!0)}}},[s,n,a,$==null?void 0:$.getToken,Y==null?void 0:Y.setActive]),q=s.length===0,ce=q&&!T;return Z.jsxs("div",{className:"mx-auto max-w-3xl min-h-screen px-4 pb-[200px] md:pb-[180px]",children:[p&&Z.jsx(wB,{fileName:p.fileName,progress:p.progress}),Z.jsx("div",{className:"prose m-2 mx-auto max-w-3xl p-2 prose-pre:p-0",children:Z.jsx(dm,{markdown:e,onSend:L})}),!q&&Z.jsx(Z.Fragment,{children:Z.jsxs("div",{className:`transition-opacity duration-500 ${T?"opacity-100":"opacity-0"}`,children:[Z.jsx(NB,{messages:s,onSend:L,onRegenerate:X,onRetry:ee,retryingIndex:I,isGenerating:f}),Z.jsx("div",{ref:z})]})}),q&&!T&&t&&t.trim()!==""&&Z.jsx("div",{className:"mx-auto max-w-3xl prose prose-sm prose-pre:p-0",children:Z.jsx(dm,{markdown:t,onSend:L})}),Z.jsx(kB,{onSend:L,isLoading:f,heroActive:ce,onStop:re})]})},_6=({meta:e})=>{const t=!!e.prod,n=!!e.auth,a=String(e.header??""),s=String(e.intro??""),l=t?e.pk_live:e.pk_test,o=e.org||void 0,d=typeof window<"u"?`${window.location.origin}`:"/",f=t?{isSatellite:!0,domain:"cycls.ai",signInUrl:"https://accounts.cycls.com/sign-in",fallbackRedirectUrl:d,forceRedirectUrl:d}:{fallbackRedirectUrl:d,forceRedirectUrl:d};return n?Z.jsxs(w7,{publishableKey:l,...f,children:[Z.jsxs(_L,{children:[Z.jsx("div",{className:"fixed right-2 top-2 z-50",children:Z.jsx(sB,{})}),Z.jsx(T6,{HEADER:a,INTRO:s,AUTH:n,ORG:o})]}),Z.jsx(SL,{children:Z.jsx(xL,{redirectUrl:d})})]}):Z.jsx(T6,{HEADER:a,INTRO:s,AUTH:n,ORG:o})},MB=document.getElementById("root"),DB=Lv.createRoot(MB);DB.render(Z.jsx(RB,{}));