cycls 0.0.2.39__py3-none-any.whl → 0.0.2.40__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.
- cycls/sdk.py +1 -2
- cycls/theme/assets/index-CtrsaaFE.js +378 -0
- cycls/theme/index.html +1 -1
- cycls/web.py +22 -9
- {cycls-0.0.2.39.dist-info → cycls-0.0.2.40.dist-info}/METADATA +1 -1
- cycls-0.0.2.40.dist-info/RECORD +9 -0
- cycls/theme/assets/index-D0-uI8sw.js +0 -364
- cycls-0.0.2.39.dist-info/RECORD +0 -9
- {cycls-0.0.2.39.dist-info → cycls-0.0.2.40.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,378 @@
|
|
|
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 u of s)if(u.type==="childList")for(const o of u.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&a(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const u={};return s.integrity&&(u.integrity=s.integrity),s.referrerPolicy&&(u.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?u.credentials="include":s.crossOrigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function a(s){if(s.ep)return;s.ep=!0;const u=n(s);fetch(s.href,u)}})();function Fc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var fh={exports:{}},Yu={};/**
|
|
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 S4;function pv(){if(S4)return Yu;S4=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(a,s,u){var o=null;if(u!==void 0&&(o=""+u),s.key!==void 0&&(o=""+s.key),"key"in s){u={};for(var d in s)d!=="key"&&(u[d]=s[d])}else u=s;return s=u.ref,{$$typeof:e,type:a,key:o,ref:s!==void 0?s:null,props:u}}return Yu.Fragment=t,Yu.jsx=n,Yu.jsxs=n,Yu}var x4;function gv(){return x4||(x4=1,fh.exports=pv()),fh.exports}var W=gv(),hh={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 A4;function bv(){if(A4)return dt;A4=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"),u=Symbol.for("react.consumer"),o=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),b=Symbol.iterator;function T(x){return x===null||typeof x!="object"?null:(x=b&&x[b]||x["@@iterator"],typeof x=="function"?x:null)}var v={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},A=Object.assign,N={};function I(x,ae,pe){this.props=x,this.context=ae,this.refs=N,this.updater=pe||v}I.prototype.isReactComponent={},I.prototype.setState=function(x,ae){if(typeof x!="object"&&typeof x!="function"&&x!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,x,ae,"setState")},I.prototype.forceUpdate=function(x){this.updater.enqueueForceUpdate(this,x,"forceUpdate")};function C(){}C.prototype=I.prototype;function R(x,ae,pe){this.props=x,this.context=ae,this.refs=N,this.updater=pe||v}var P=R.prototype=new C;P.constructor=R,A(P,I.prototype),P.isPureReactComponent=!0;var X=Array.isArray,q={H:null,A:null,T:null,S:null,V:null},L=Object.prototype.hasOwnProperty;function ne(x,ae,pe,M,Ie,Ve){return pe=Ve.ref,{$$typeof:e,type:x,key:ae,ref:pe!==void 0?pe:null,props:Ve}}function te(x,ae){return ne(x.type,ae,void 0,void 0,void 0,x.props)}function fe(x){return typeof x=="object"&&x!==null&&x.$$typeof===e}function G(x){var ae={"=":"=0",":":"=2"};return"$"+x.replace(/[=:]/g,function(pe){return ae[pe]})}var se=/\/+/g;function de(x,ae){return typeof x=="object"&&x!==null&&x.key!=null?G(""+x.key):ae.toString(36)}function ye(){}function ue(x){switch(x.status){case"fulfilled":return x.value;case"rejected":throw x.reason;default:switch(typeof x.status=="string"?x.then(ye,ye):(x.status="pending",x.then(function(ae){x.status==="pending"&&(x.status="fulfilled",x.value=ae)},function(ae){x.status==="pending"&&(x.status="rejected",x.reason=ae)})),x.status){case"fulfilled":return x.value;case"rejected":throw x.reason}}throw x}function oe(x,ae,pe,M,Ie){var Ve=typeof x;(Ve==="undefined"||Ve==="boolean")&&(x=null);var Ue=!1;if(x===null)Ue=!0;else switch(Ve){case"bigint":case"string":case"number":Ue=!0;break;case"object":switch(x.$$typeof){case e:case t:Ue=!0;break;case p:return Ue=x._init,oe(Ue(x._payload),ae,pe,M,Ie)}}if(Ue)return Ie=Ie(x),Ue=M===""?"."+de(x,0):M,X(Ie)?(pe="",Ue!=null&&(pe=Ue.replace(se,"$&/")+"/"),oe(Ie,ae,pe,"",function(Wt){return Wt})):Ie!=null&&(fe(Ie)&&(Ie=te(Ie,pe+(Ie.key==null||x&&x.key===Ie.key?"":(""+Ie.key).replace(se,"$&/")+"/")+Ue)),ae.push(Ie)),1;Ue=0;var wt=M===""?".":M+":";if(X(x))for(var st=0;st<x.length;st++)M=x[st],Ve=wt+de(M,st),Ue+=oe(M,ae,pe,Ve,Ie);else if(st=T(x),typeof st=="function")for(x=st.call(x),st=0;!(M=x.next()).done;)M=M.value,Ve=wt+de(M,st++),Ue+=oe(M,ae,pe,Ve,Ie);else if(Ve==="object"){if(typeof x.then=="function")return oe(ue(x),ae,pe,M,Ie);throw ae=String(x),Error("Objects are not valid as a React child (found: "+(ae==="[object Object]"?"object with keys {"+Object.keys(x).join(", ")+"}":ae)+"). If you meant to render a collection of children, use an array instead.")}return Ue}function K(x,ae,pe){if(x==null)return x;var M=[],Ie=0;return oe(x,M,"","",function(Ve){return ae.call(pe,Ve,Ie++)}),M}function le(x){if(x._status===-1){var ae=x._result;ae=ae(),ae.then(function(pe){(x._status===0||x._status===-1)&&(x._status=1,x._result=pe)},function(pe){(x._status===0||x._status===-1)&&(x._status=2,x._result=pe)}),x._status===-1&&(x._status=0,x._result=ae)}if(x._status===1)return x._result.default;throw x._result}var me=typeof reportError=="function"?reportError:function(x){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var ae=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof x=="object"&&x!==null&&typeof x.message=="string"?String(x.message):String(x),error:x});if(!window.dispatchEvent(ae))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",x);return}console.error(x)};function Pe(){}return dt.Children={map:K,forEach:function(x,ae,pe){K(x,function(){ae.apply(this,arguments)},pe)},count:function(x){var ae=0;return K(x,function(){ae++}),ae},toArray:function(x){return K(x,function(ae){return ae})||[]},only:function(x){if(!fe(x))throw Error("React.Children.only expected to receive a single React element child.");return x}},dt.Component=I,dt.Fragment=n,dt.Profiler=s,dt.PureComponent=R,dt.StrictMode=a,dt.Suspense=f,dt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=q,dt.__COMPILER_RUNTIME={__proto__:null,c:function(x){return q.H.useMemoCache(x)}},dt.cache=function(x){return function(){return x.apply(null,arguments)}},dt.cloneElement=function(x,ae,pe){if(x==null)throw Error("The argument must be a React element, but you passed "+x+".");var M=A({},x.props),Ie=x.key,Ve=void 0;if(ae!=null)for(Ue in ae.ref!==void 0&&(Ve=void 0),ae.key!==void 0&&(Ie=""+ae.key),ae)!L.call(ae,Ue)||Ue==="key"||Ue==="__self"||Ue==="__source"||Ue==="ref"&&ae.ref===void 0||(M[Ue]=ae[Ue]);var Ue=arguments.length-2;if(Ue===1)M.children=pe;else if(1<Ue){for(var wt=Array(Ue),st=0;st<Ue;st++)wt[st]=arguments[st+2];M.children=wt}return ne(x.type,Ie,void 0,void 0,Ve,M)},dt.createContext=function(x){return x={$$typeof:o,_currentValue:x,_currentValue2:x,_threadCount:0,Provider:null,Consumer:null},x.Provider=x,x.Consumer={$$typeof:u,_context:x},x},dt.createElement=function(x,ae,pe){var M,Ie={},Ve=null;if(ae!=null)for(M in ae.key!==void 0&&(Ve=""+ae.key),ae)L.call(ae,M)&&M!=="key"&&M!=="__self"&&M!=="__source"&&(Ie[M]=ae[M]);var Ue=arguments.length-2;if(Ue===1)Ie.children=pe;else if(1<Ue){for(var wt=Array(Ue),st=0;st<Ue;st++)wt[st]=arguments[st+2];Ie.children=wt}if(x&&x.defaultProps)for(M in Ue=x.defaultProps,Ue)Ie[M]===void 0&&(Ie[M]=Ue[M]);return ne(x,Ve,void 0,void 0,null,Ie)},dt.createRef=function(){return{current:null}},dt.forwardRef=function(x){return{$$typeof:d,render:x}},dt.isValidElement=fe,dt.lazy=function(x){return{$$typeof:p,_payload:{_status:-1,_result:x},_init:le}},dt.memo=function(x,ae){return{$$typeof:h,type:x,compare:ae===void 0?null:ae}},dt.startTransition=function(x){var ae=q.T,pe={};q.T=pe;try{var M=x(),Ie=q.S;Ie!==null&&Ie(pe,M),typeof M=="object"&&M!==null&&typeof M.then=="function"&&M.then(Pe,me)}catch(Ve){me(Ve)}finally{q.T=ae}},dt.unstable_useCacheRefresh=function(){return q.H.useCacheRefresh()},dt.use=function(x){return q.H.use(x)},dt.useActionState=function(x,ae,pe){return q.H.useActionState(x,ae,pe)},dt.useCallback=function(x,ae){return q.H.useCallback(x,ae)},dt.useContext=function(x){return q.H.useContext(x)},dt.useDebugValue=function(){},dt.useDeferredValue=function(x,ae){return q.H.useDeferredValue(x,ae)},dt.useEffect=function(x,ae,pe){var M=q.H;if(typeof pe=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return M.useEffect(x,ae)},dt.useId=function(){return q.H.useId()},dt.useImperativeHandle=function(x,ae,pe){return q.H.useImperativeHandle(x,ae,pe)},dt.useInsertionEffect=function(x,ae){return q.H.useInsertionEffect(x,ae)},dt.useLayoutEffect=function(x,ae){return q.H.useLayoutEffect(x,ae)},dt.useMemo=function(x,ae){return q.H.useMemo(x,ae)},dt.useOptimistic=function(x,ae){return q.H.useOptimistic(x,ae)},dt.useReducer=function(x,ae,pe){return q.H.useReducer(x,ae,pe)},dt.useRef=function(x){return q.H.useRef(x)},dt.useState=function(x){return q.H.useState(x)},dt.useSyncExternalStore=function(x,ae,pe){return q.H.useSyncExternalStore(x,ae,pe)},dt.useTransition=function(){return q.H.useTransition()},dt.version="19.1.0",dt}var w4;function Hc(){return w4||(w4=1,hh.exports=bv()),hh.exports}var Le=Hc();const we=Fc(Le);var mh={exports:{}},Gu={},ph={exports:{}},gh={};/**
|
|
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 N4;function Ev(){return N4||(N4=1,function(e){function t(K,le){var me=K.length;K.push(le);e:for(;0<me;){var Pe=me-1>>>1,x=K[Pe];if(0<s(x,le))K[Pe]=le,K[me]=x,me=Pe;else break e}}function n(K){return K.length===0?null:K[0]}function a(K){if(K.length===0)return null;var le=K[0],me=K.pop();if(me!==le){K[0]=me;e:for(var Pe=0,x=K.length,ae=x>>>1;Pe<ae;){var pe=2*(Pe+1)-1,M=K[pe],Ie=pe+1,Ve=K[Ie];if(0>s(M,me))Ie<x&&0>s(Ve,M)?(K[Pe]=Ve,K[Ie]=me,Pe=Ie):(K[Pe]=M,K[pe]=me,Pe=pe);else if(Ie<x&&0>s(Ve,me))K[Pe]=Ve,K[Ie]=me,Pe=Ie;else break e}}return le}function s(K,le){var me=K.sortIndex-le.sortIndex;return me!==0?me:K.id-le.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var u=performance;e.unstable_now=function(){return u.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,N=!1,I=!1,C=typeof setTimeout=="function"?setTimeout:null,R=typeof clearTimeout=="function"?clearTimeout:null,P=typeof setImmediate<"u"?setImmediate:null;function X(K){for(var le=n(h);le!==null;){if(le.callback===null)a(h);else if(le.startTime<=K)a(h),le.sortIndex=le.expirationTime,t(f,le);else break;le=n(h)}}function q(K){if(N=!1,X(K),!A)if(n(f)!==null)A=!0,L||(L=!0,de());else{var le=n(h);le!==null&&oe(q,le.startTime-K)}}var L=!1,ne=-1,te=5,fe=-1;function G(){return I?!0:!(e.unstable_now()-fe<te)}function se(){if(I=!1,L){var K=e.unstable_now();fe=K;var le=!0;try{e:{A=!1,N&&(N=!1,R(ne),ne=-1),v=!0;var me=T;try{t:{for(X(K),b=n(f);b!==null&&!(b.expirationTime>K&&G());){var Pe=b.callback;if(typeof Pe=="function"){b.callback=null,T=b.priorityLevel;var x=Pe(b.expirationTime<=K);if(K=e.unstable_now(),typeof x=="function"){b.callback=x,X(K),le=!0;break t}b===n(f)&&a(f),X(K)}else a(f);b=n(f)}if(b!==null)le=!0;else{var ae=n(h);ae!==null&&oe(q,ae.startTime-K),le=!1}}break e}finally{b=null,T=me,v=!1}le=void 0}}finally{le?de():L=!1}}}var de;if(typeof P=="function")de=function(){P(se)};else if(typeof MessageChannel<"u"){var ye=new MessageChannel,ue=ye.port2;ye.port1.onmessage=se,de=function(){ue.postMessage(null)}}else de=function(){C(se,0)};function oe(K,le){ne=C(function(){K(e.unstable_now())},le)}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(K){K.callback=null},e.unstable_forceFrameRate=function(K){0>K||125<K?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):te=0<K?Math.floor(1e3/K):5},e.unstable_getCurrentPriorityLevel=function(){return T},e.unstable_next=function(K){switch(T){case 1:case 2:case 3:var le=3;break;default:le=T}var me=T;T=le;try{return K()}finally{T=me}},e.unstable_requestPaint=function(){I=!0},e.unstable_runWithPriority=function(K,le){switch(K){case 1:case 2:case 3:case 4:case 5:break;default:K=3}var me=T;T=K;try{return le()}finally{T=me}},e.unstable_scheduleCallback=function(K,le,me){var Pe=e.unstable_now();switch(typeof me=="object"&&me!==null?(me=me.delay,me=typeof me=="number"&&0<me?Pe+me:Pe):me=Pe,K){case 1:var x=-1;break;case 2:x=250;break;case 5:x=1073741823;break;case 4:x=1e4;break;default:x=5e3}return x=me+x,K={id:p++,callback:le,priorityLevel:K,startTime:me,expirationTime:x,sortIndex:-1},me>Pe?(K.sortIndex=me,t(h,K),n(f)===null&&K===n(h)&&(N?(R(ne),ne=-1):N=!0,oe(q,me-Pe))):(K.sortIndex=x,t(f,K),A||v||(A=!0,L||(L=!0,de()))),K},e.unstable_shouldYield=G,e.unstable_wrapCallback=function(K){var le=T;return function(){var me=T;T=le;try{return K.apply(this,arguments)}finally{T=me}}}}(gh)),gh}var k4;function yv(){return k4||(k4=1,ph.exports=Ev()),ph.exports}var bh={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 C4;function vv(){if(C4)return $n;C4=1;var e=Hc();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 u(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 u(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 O4;function h6(){if(O4)return bh.exports;O4=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(),bh.exports=vv(),bh.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 R4;function Tv(){if(R4)return Gu;R4=1;var e=yv(),t=Hc(),n=h6();function a(r){var i="https://react.dev/errors/"+r;if(1<arguments.length){i+="?args[]="+encodeURIComponent(arguments[1]);for(var l=2;l<arguments.length;l++)i+="&args[]="+encodeURIComponent(arguments[l])}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 u(r){var i=r,l=r;if(r.alternate)for(;i.return;)i=i.return;else{r=i;do i=r,(i.flags&4098)!==0&&(l=i.return),r=i.return;while(r)}return i.tag===3?l: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(u(r)!==r)throw Error(a(188))}function f(r){var i=r.alternate;if(!i){if(i=u(r),i===null)throw Error(a(188));return i!==r?null:r}for(var l=r,c=i;;){var m=l.return;if(m===null)break;var g=m.alternate;if(g===null){if(c=m.return,c!==null){l=c;continue}break}if(m.child===g.child){for(g=m.child;g;){if(g===l)return d(m),r;if(g===c)return d(m),i;g=g.sibling}throw Error(a(188))}if(l.return!==c.return)l=m,c=g;else{for(var S=!1,k=m.child;k;){if(k===l){S=!0,l=m,c=g;break}if(k===c){S=!0,c=m,l=g;break}k=k.sibling}if(!S){for(k=g.child;k;){if(k===l){S=!0,l=g,c=m;break}if(k===c){S=!0,c=g,l=m;break}k=k.sibling}if(!S)throw Error(a(189))}}if(l.alternate!==c)throw Error(a(190))}if(l.tag!==3)throw Error(a(188));return l.stateNode.current===l?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"),N=Symbol.for("react.strict_mode"),I=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),R=Symbol.for("react.consumer"),P=Symbol.for("react.context"),X=Symbol.for("react.forward_ref"),q=Symbol.for("react.suspense"),L=Symbol.for("react.suspense_list"),ne=Symbol.for("react.memo"),te=Symbol.for("react.lazy"),fe=Symbol.for("react.activity"),G=Symbol.for("react.memo_cache_sentinel"),se=Symbol.iterator;function de(r){return r===null||typeof r!="object"?null:(r=se&&r[se]||r["@@iterator"],typeof r=="function"?r:null)}var ye=Symbol.for("react.client.reference");function ue(r){if(r==null)return null;if(typeof r=="function")return r.$$typeof===ye?null:r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case A:return"Fragment";case I:return"Profiler";case N:return"StrictMode";case q:return"Suspense";case L:return"SuspenseList";case fe:return"Activity"}if(typeof r=="object")switch(r.$$typeof){case v:return"Portal";case P:return(r.displayName||"Context")+".Provider";case R:return(r._context.displayName||"Context")+".Consumer";case X:var i=r.render;return r=r.displayName,r||(r=i.displayName||i.name||"",r=r!==""?"ForwardRef("+r+")":"ForwardRef"),r;case ne:return i=r.displayName||null,i!==null?i:ue(r.type)||"Memo";case te:i=r._payload,r=r._init;try{return ue(r(i))}catch{}}return null}var oe=Array.isArray,K=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,le=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,me={pending:!1,data:null,method:null,action:null},Pe=[],x=-1;function ae(r){return{current:r}}function pe(r){0>x||(r.current=Pe[x],Pe[x]=null,x--)}function M(r,i){x++,Pe[x]=r.current,r.current=i}var Ie=ae(null),Ve=ae(null),Ue=ae(null),wt=ae(null);function st(r,i){switch(M(Ue,i),M(Ve,r),M(Ie,null),i.nodeType){case 9:case 11:r=(r=i.documentElement)&&(r=r.namespaceURI)?Q2(r):0;break;default:if(r=i.tagName,i=i.namespaceURI)i=Q2(i),r=Z2(i,r);else switch(r){case"svg":r=1;break;case"math":r=2;break;default:r=0}}pe(Ie),M(Ie,r)}function Wt(){pe(Ie),pe(Ve),pe(Ue)}function Pt(r){r.memoizedState!==null&&M(wt,r);var i=Ie.current,l=Z2(i,r.type);i!==l&&(M(Ve,r),M(Ie,l))}function In(r){Ve.current===r&&(pe(Ie),pe(Ve)),wt.current===r&&(pe(wt),Uu._currentValue=me)}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,kt=e.unstable_ImmediatePriority,Zt=e.unstable_UserBlockingPriority,Ln=e.unstable_NormalPriority,ci=e.unstable_LowPriority,pa=e.unstable_IdlePriority,cr=e.log,Cn=e.unstable_setDisableYieldValue,ce=null,_e=null;function $e(r){if(typeof cr=="function"&&Cn(r),_e&&typeof _e.setStrictMode=="function")try{_e.setStrictMode(ce,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,l){var c=r.pendingLanes;if(c===0)return 0;var m=0,g=r.suspendedLanes,S=r.pingedLanes;r=r.warmLanes;var k=c&134217727;return k!==0?(c=k&~g,c!==0?m=Jn(c):(S&=k,S!==0?m=Jn(S):l||(l=k&~r,l!==0&&(m=Jn(l))))):(k=c&~g,k!==0?m=Jn(k):S!==0?m=Jn(S):l||(l=c&~r,l!==0&&(m=Jn(l)))),m===0?0:i!==0&&i!==m&&(i&g)===0&&(g=m&-m,l=i&-i,g>=l||g===32&&(l&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 Gl(){var r=jn;return jn<<=1,(jn&4194048)===0&&(jn=256),r}function jl(){var r=Sr;return Sr<<=1,(Sr&62914560)===0&&(Sr=4194304),r}function Vl(r){for(var i=[],l=0;31>l;l++)i.push(r);return i}function di(r,i){r.pendingLanes|=i,i!==268435456&&(r.suspendedLanes=0,r.pingedLanes=0,r.warmLanes=0)}function fi(r,i,l,c,m,g){var S=r.pendingLanes;r.pendingLanes=l,r.suspendedLanes=0,r.pingedLanes=0,r.warmLanes=0,r.expiredLanes&=l,r.entangledLanes&=l,r.errorRecoveryDisabledLanes&=l,r.shellSuspendCounter=0;var k=r.entanglements,H=r.expirationTimes,J=r.hiddenUpdates;for(l=S&~l;0<l;){var ge=31-Qe(l),ve=1<<ge;k[ge]=0,H[ge]=-1;var re=J[ge];if(re!==null)for(J[ge]=null,ge=0;ge<re.length;ge++){var ie=re[ge];ie!==null&&(ie.lane&=-536870913)}l&=~ve}c!==0&&Y(r,c,0),g!==0&&m===0&&r.tag!==0&&(r.suspendedLanes|=g&~(S&~i))}function Y(r,i,l){r.pendingLanes|=i,r.suspendedLanes&=~i;var c=31-Qe(i);r.entangledLanes|=i,r.entanglements[c]=r.entanglements[c]|1073741824|l&4194090}function be(r,i){var l=r.entangledLanes|=i;for(r=r.entanglements;l;){var c=31-Qe(l),m=1<<c;m&i|r[c]&i&&(r[c]|=i),l&=~m}}function De(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=le.p;return r!==0?r:(r=window.event,r===void 0?32:b4(r.type))}function sn(r,i){var l=le.p;try{return le.p=r,i()}finally{le.p=l}}var Fe=Math.random().toString(36).slice(2),Me="__reactFiber$"+Fe,Ge="__reactProps$"+Fe,Qt="__reactContainer$"+Fe,en="__reactEvents$"+Fe,ts="__reactListeners$"+Fe,Kl="__reactHandles$"+Fe,Bs="__reactResources$"+Fe,ns="__reactMarker$"+Fe;function rs(r){delete r[Me],delete r[Ge],delete r[en],delete r[ts],delete r[Kl]}function hi(r){var i=r[Me];if(i)return i;for(var l=r.parentNode;l;){if(i=l[Qt]||l[Me]){if(l=i.alternate,i.child!==null||l!==null&&l.child!==null)for(r=n4(r);r!==null;){if(l=r[Me])return l;r=n4(r)}return i}r=l,l=r.parentNode}return null}function mi(r){if(r=r[Me]||r[Qt]){var i=r.tag;if(i===5||i===6||i===13||i===26||i===27||i===3)return r}return null}function as(r){var i=r.tag;if(i===5||i===26||i===27||i===6)return r.stateNode;throw Error(a(33))}function Ia(r){var i=r[Bs];return i||(i=r[Bs]={hoistableStyles:new Map,hoistableScripts:new Map}),i}function ln(r){r[ns]=!0}var Lo=new Set,Bo={};function La(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]*$"),$l={},Uo={};function fd(r){return zr.call(Uo,r)?!0:zr.call($l,r)?!1:Po.test(r)?Uo[r]=!0:($l[r]=!0,!1)}function Ps(r,i,l){if(fd(i))if(l===null)r.removeAttribute(i);else{switch(typeof l){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,""+l)}}function Ba(r,i,l){if(l===null)r.removeAttribute(i);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":r.removeAttribute(i);return}r.setAttribute(i,""+l)}}function ia(r,i,l,c){if(c===null)r.removeAttribute(l);else{switch(typeof c){case"undefined":case"function":case"symbol":case"boolean":r.removeAttribute(l);return}r.setAttributeNS(i,l,""+c)}}var ke,Xe;function ot(r){if(ke===void 0)try{throw Error()}catch(l){var i=l.stack.trim().match(/\n( *(at )?)/);ke=i&&i[1]||"",Xe=-1<l.stack.indexOf(`
|
|
42
|
+
at`)?" (<anonymous>)":-1<l.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
43
|
+
`+ke+r+Xe}var Dt=!1;function un(r,i){if(!r||Dt)return"";Dt=!0;var l=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var c={DetermineComponentFrameRoot:function(){try{if(i){var ve=function(){throw Error()};if(Object.defineProperty(ve.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ve,[])}catch(ie){var re=ie}Reflect.construct(r,[],ve)}else{try{ve.call()}catch(ie){re=ie}r.call(ve.prototype)}}else{try{throw Error()}catch(ie){re=ie}(ve=r())&&typeof ve.catch=="function"&&ve.catch(function(){})}}catch(ie){if(ie&&re&&typeof ie.stack=="string")return[ie.stack,re.stack]}return[null,null]}};c.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var m=Object.getOwnPropertyDescriptor(c.DetermineComponentFrameRoot,"name");m&&m.configurable&&Object.defineProperty(c.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var g=c.DetermineComponentFrameRoot(),S=g[0],k=g[1];if(S&&k){var H=S.split(`
|
|
44
|
+
`),J=k.split(`
|
|
45
|
+
`);for(m=c=0;c<H.length&&!H[c].includes("DetermineComponentFrameRoot");)c++;for(;m<J.length&&!J[m].includes("DetermineComponentFrameRoot");)m++;if(c===H.length||m===J.length)for(c=H.length-1,m=J.length-1;1<=c&&0<=m&&H[c]!==J[m];)m--;for(;1<=c&&0<=m;c--,m--)if(H[c]!==J[m]){if(c!==1||m!==1)do if(c--,m--,0>m||H[c]!==J[m]){var ge=`
|
|
46
|
+
`+H[c].replace(" at new "," at ");return r.displayName&&ge.includes("<anonymous>")&&(ge=ge.replace("<anonymous>",r.displayName)),ge}while(1<=c&&0<=m);break}}}finally{Dt=!1,Error.prepareStackTrace=l}return(l=r?r.displayName||r.name:"")?ot(l):""}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(l){return`
|
|
47
|
+
Error generating stack: `+l.message+`
|
|
48
|
+
`+l.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",l=Object.getOwnPropertyDescriptor(r.constructor.prototype,i),c=""+r[i];if(!r.hasOwnProperty(i)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var m=l.get,g=l.set;return Object.defineProperty(r,i,{configurable:!0,get:function(){return m.call(this)},set:function(S){c=""+S,g.call(this,S)}}),Object.defineProperty(r,i,{enumerable:l.enumerable}),{getValue:function(){return c},setValue:function(S){c=""+S},stopTracking:function(){r._valueTracker=null,delete r[i]}}}}function is(r){r._valueTracker||(r._valueTracker=Fr(r))}function Xl(r){if(!r)return!1;var i=r._valueTracker;if(!i)return!0;var l=i.getValue(),c="";return r&&(c=Vn(r)?r.checked?"true":"false":r.value),r=c,r!==l?(i.setValue(r),!0):!1}function ss(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 hd=/[\n"\\]/g;function fr(r){return r.replace(hd,function(i){return"\\"+i.charCodeAt(0).toString(16)+" "})}function Wl(r,i,l,c,m,g,S,k){r.name="",S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"?r.type=S:r.removeAttribute("type"),i!=null?S==="number"?(i===0&&r.value===""||r.value!=i)&&(r.value=""+Hn(i)):r.value!==""+Hn(i)&&(r.value=""+Hn(i)):S!=="submit"&&S!=="reset"||r.removeAttribute("value"),i!=null?pi(r,S,Hn(i)):l!=null?pi(r,S,Hn(l)):c!=null&&r.removeAttribute("value"),m==null&&g!=null&&(r.defaultChecked=!!g),m!=null&&(r.checked=m&&typeof m!="function"&&typeof m!="symbol"),k!=null&&typeof k!="function"&&typeof k!="symbol"&&typeof k!="boolean"?r.name=""+Hn(k):r.removeAttribute("name")}function zo(r,i,l,c,m,g,S,k){if(g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"&&(r.type=g),i!=null||l!=null){if(!(g!=="submit"&&g!=="reset"||i!=null))return;l=l!=null?""+Hn(l):"",i=i!=null?""+Hn(i):l,k||i===r.value||(r.value=i),r.defaultValue=i}c=c??m,c=typeof c!="function"&&typeof c!="symbol"&&!!c,r.checked=k?r.checked:!!c,r.defaultChecked=!!c,S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"&&(r.name=S)}function pi(r,i,l){i==="number"&&ss(r.ownerDocument)===r||r.defaultValue===""+l||(r.defaultValue=""+l)}function Pa(r,i,l,c){if(r=r.options,i){i={};for(var m=0;m<l.length;m++)i["$"+l[m]]=!0;for(l=0;l<r.length;l++)m=i.hasOwnProperty("$"+r[l].value),r[l].selected!==m&&(r[l].selected=m),m&&c&&(r[l].defaultSelected=!0)}else{for(l=""+Hn(l),i=null,m=0;m<r.length;m++){if(r[m].value===l){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,l){if(i!=null&&(i=""+Hn(i),i!==r.value&&(r.value=i),l==null)){r.defaultValue!==i&&(r.defaultValue=i);return}r.defaultValue=l!=null?""+Hn(l):""}function Fo(r,i,l,c){if(i==null){if(c!=null){if(l!=null)throw Error(a(92));if(oe(c)){if(1<c.length)throw Error(a(93));c=c[0]}l=c}l==null&&(l=""),i=l}l=Hn(i),r.defaultValue=l,c=r.textContent,c===l&&c!==""&&c!==null&&(r.value=c)}function ga(r,i){if(i){var l=r.firstChild;if(l&&l===r.lastChild&&l.nodeType===3){l.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 Ql(r,i,l){var c=i.indexOf("--")===0;l==null||typeof l=="boolean"||l===""?c?r.setProperty(i,""):i==="float"?r.cssFloat="":r[i]="":c?r.setProperty(i,l):typeof l!="number"||l===0||ut.has(i)?i==="float"?r.cssFloat=l:r[i]=(""+l).trim():r[i]=l+"px"}function _n(r,i,l){if(i!=null&&typeof i!="object")throw Error(a(62));if(r=r.style,l!=null){for(var c in l)!l.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)&&l[m]!==c&&Ql(r,m,c)}else for(var g in i)i.hasOwnProperty(g)&&Ql(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 Us=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"]]),Ua=/^[\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 gi(r){return Ua.test(""+r)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":r}var ls=null;function Be(r){return r=r.target||r.srcElement||window,r.correspondingUseElement&&(r=r.correspondingUseElement),r.nodeType===3?r.parentNode:r}var qe=null,lt=null;function Ct(r){var i=mi(r);if(i&&(r=i.stateNode)){var l=r[Ge]||null;e:switch(r=i.stateNode,i.type){case"input":if(Wl(r,l.value,l.defaultValue,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name),i=l.name,l.type==="radio"&&i!=null){for(l=r;l.parentNode;)l=l.parentNode;for(l=l.querySelectorAll('input[name="'+fr(""+i)+'"][type="radio"]'),i=0;i<l.length;i++){var c=l[i];if(c!==r&&c.form===r.form){var m=c[Ge]||null;if(!m)throw Error(a(90));Wl(c,m.value,m.defaultValue,m.defaultValue,m.checked,m.defaultChecked,m.type,m.name)}}for(i=0;i<l.length;i++)c=l[i],c.form===r.form&&Xl(c)}break e;case"textarea":Ar(r,l.value,l.defaultValue);break e;case"select":i=l.value,i!=null&&Pa(r,!!l.multiple,i,!1)}}}var Sn=!1;function Hr(r,i,l){if(Sn)return r(i,l);Sn=!0;try{var c=r(i);return c}finally{if(Sn=!1,(qe!==null||lt!==null)&&(A0(),qe&&(i=qe,r=lt,lt=qe=null,Ct(i),r)))for(i=0;i<r.length;i++)Ct(r[i])}}function us(r,i){var l=r.stateNode;if(l===null)return null;var c=l[Ge]||null;if(c===null)return null;l=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(l&&typeof l!="function")throw Error(a(231,i,typeof l));return l}var la=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),md=!1;if(la)try{var Zl={};Object.defineProperty(Zl,"passive",{get:function(){md=!0}}),window.addEventListener("test",Zl,Zl),window.removeEventListener("test",Zl,Zl)}catch{md=!1}var bi=null,pd=null,Ho=null;function tp(){if(Ho)return Ho;var r,i=pd,l=i.length,c,m="value"in bi?bi.value:bi.textContent,g=m.length;for(r=0;r<l&&i[r]===m[r];r++);var S=l-r;for(c=1;c<=S&&i[l-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 np(){return!1}function hr(r){function i(l,c,m,g,S){this._reactName=l,this._targetInst=m,this.type=c,this.nativeEvent=g,this.target=S,this.currentTarget=null;for(var k in r)r.hasOwnProperty(k)&&(l=r[k],this[k]=l?l(g):g[k]);return this.isDefaultPrevented=(g.defaultPrevented!=null?g.defaultPrevented:g.returnValue===!1)?Yo:np,this.isPropagationStopped=np,this}return p(i.prototype,{preventDefault:function(){this.defaultPrevented=!0;var l=this.nativeEvent;l&&(l.preventDefault?l.preventDefault():typeof l.returnValue!="unknown"&&(l.returnValue=!1),this.isDefaultPrevented=Yo)},stopPropagation:function(){var l=this.nativeEvent;l&&(l.stopPropagation?l.stopPropagation():typeof l.cancelBubble!="unknown"&&(l.cancelBubble=!0),this.isPropagationStopped=Yo)},persist:function(){},isPersistent:Yo}),i}var os={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(r){return r.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Go=hr(os),Jl=p({},os,{view:0,detail:0}),py=hr(Jl),gd,bd,eu,jo=p({},Jl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:yd,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!==eu&&(eu&&r.type==="mousemove"?(gd=r.screenX-eu.screenX,bd=r.screenY-eu.screenY):bd=gd=0,eu=r),gd)},movementY:function(r){return"movementY"in r?r.movementY:bd}}),rp=hr(jo),gy=p({},jo,{dataTransfer:0}),by=hr(gy),Ey=p({},Jl,{relatedTarget:0}),Ed=hr(Ey),yy=p({},os,{animationName:0,elapsedTime:0,pseudoElement:0}),vy=hr(yy),Ty=p({},os,{clipboardData:function(r){return"clipboardData"in r?r.clipboardData:window.clipboardData}}),_y=hr(Ty),Sy=p({},os,{data:0}),ap=hr(Sy),xy={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Ay={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"},wy={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Ny(r){var i=this.nativeEvent;return i.getModifierState?i.getModifierState(r):(r=wy[r])?!!i[r]:!1}function yd(){return Ny}var ky=p({},Jl,{key:function(r){if(r.key){var i=xy[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"?Ay[r.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:yd,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}}),Cy=hr(ky),Oy=p({},jo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ip=hr(Oy),Ry=p({},Jl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:yd}),My=hr(Ry),Dy=p({},os,{propertyName:0,elapsedTime:0,pseudoElement:0}),Iy=hr(Dy),Ly=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}),By=hr(Ly),Py=p({},os,{newState:0,oldState:0}),Uy=hr(Py),zy=[9,13,27,32],vd=la&&"CompositionEvent"in window,tu=null;la&&"documentMode"in document&&(tu=document.documentMode);var Fy=la&&"TextEvent"in window&&!tu,sp=la&&(!vd||tu&&8<tu&&11>=tu),lp=" ",up=!1;function op(r,i){switch(r){case"keyup":return zy.indexOf(i.keyCode)!==-1;case"keydown":return i.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function cp(r){return r=r.detail,typeof r=="object"&&"data"in r?r.data:null}var zs=!1;function Hy(r,i){switch(r){case"compositionend":return cp(i);case"keypress":return i.which!==32?null:(up=!0,lp);case"textInput":return r=i.data,r===lp&&up?null:r;default:return null}}function qy(r,i){if(zs)return r==="compositionend"||!vd&&op(r,i)?(r=tp(),Ho=pd=bi=null,zs=!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 sp&&i.locale!=="ko"?null:i.data;default:return null}}var Yy={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 dp(r){var i=r&&r.nodeName&&r.nodeName.toLowerCase();return i==="input"?!!Yy[r.type]:i==="textarea"}function fp(r,i,l,c){qe?lt?lt.push(c):lt=[c]:qe=c,i=R0(i,"onChange"),0<i.length&&(l=new Go("onChange","change",null,l,c),r.push({event:l,listeners:i}))}var nu=null,ru=null;function Gy(r){V2(r,0)}function Vo(r){var i=as(r);if(Xl(i))return r}function hp(r,i){if(r==="change")return i}var mp=!1;if(la){var Td;if(la){var _d="oninput"in document;if(!_d){var pp=document.createElement("div");pp.setAttribute("oninput","return;"),_d=typeof pp.oninput=="function"}Td=_d}else Td=!1;mp=Td&&(!document.documentMode||9<document.documentMode)}function gp(){nu&&(nu.detachEvent("onpropertychange",bp),ru=nu=null)}function bp(r){if(r.propertyName==="value"&&Vo(ru)){var i=[];fp(i,ru,r,Be(r)),Hr(Gy,i)}}function jy(r,i,l){r==="focusin"?(gp(),nu=i,ru=l,nu.attachEvent("onpropertychange",bp)):r==="focusout"&&gp()}function Vy(r){if(r==="selectionchange"||r==="keyup"||r==="keydown")return Vo(ru)}function Ky(r,i){if(r==="click")return Vo(i)}function $y(r,i){if(r==="input"||r==="change")return Vo(i)}function Xy(r,i){return r===i&&(r!==0||1/r===1/i)||r!==r&&i!==i}var wr=typeof Object.is=="function"?Object.is:Xy;function au(r,i){if(wr(r,i))return!0;if(typeof r!="object"||r===null||typeof i!="object"||i===null)return!1;var l=Object.keys(r),c=Object.keys(i);if(l.length!==c.length)return!1;for(c=0;c<l.length;c++){var m=l[c];if(!zr.call(i,m)||!wr(r[m],i[m]))return!1}return!0}function Ep(r){for(;r&&r.firstChild;)r=r.firstChild;return r}function yp(r,i){var l=Ep(r);r=0;for(var c;l;){if(l.nodeType===3){if(c=r+l.textContent.length,r<=i&&c>=i)return{node:l,offset:i-r};r=c}e:{for(;l;){if(l.nextSibling){l=l.nextSibling;break e}l=l.parentNode}l=void 0}l=Ep(l)}}function vp(r,i){return r&&i?r===i?!0:r&&r.nodeType===3?!1:i&&i.nodeType===3?vp(r,i.parentNode):"contains"in r?r.contains(i):r.compareDocumentPosition?!!(r.compareDocumentPosition(i)&16):!1:!1}function Tp(r){r=r!=null&&r.ownerDocument!=null&&r.ownerDocument.defaultView!=null?r.ownerDocument.defaultView:window;for(var i=ss(r.document);i instanceof r.HTMLIFrameElement;){try{var l=typeof i.contentWindow.location.href=="string"}catch{l=!1}if(l)r=i.contentWindow;else break;i=ss(r.document)}return i}function Sd(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 Wy=la&&"documentMode"in document&&11>=document.documentMode,Fs=null,xd=null,iu=null,Ad=!1;function _p(r,i,l){var c=l.window===l?l.document:l.nodeType===9?l:l.ownerDocument;Ad||Fs==null||Fs!==ss(c)||(c=Fs,"selectionStart"in c&&Sd(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}),iu&&au(iu,c)||(iu=c,c=R0(xd,"onSelect"),0<c.length&&(i=new Go("onSelect","select",null,i,l),r.push({event:i,listeners:c}),i.target=Fs)))}function cs(r,i){var l={};return l[r.toLowerCase()]=i.toLowerCase(),l["Webkit"+r]="webkit"+i,l["Moz"+r]="moz"+i,l}var Hs={animationend:cs("Animation","AnimationEnd"),animationiteration:cs("Animation","AnimationIteration"),animationstart:cs("Animation","AnimationStart"),transitionrun:cs("Transition","TransitionRun"),transitionstart:cs("Transition","TransitionStart"),transitioncancel:cs("Transition","TransitionCancel"),transitionend:cs("Transition","TransitionEnd")},wd={},Sp={};la&&(Sp=document.createElement("div").style,"AnimationEvent"in window||(delete Hs.animationend.animation,delete Hs.animationiteration.animation,delete Hs.animationstart.animation),"TransitionEvent"in window||delete Hs.transitionend.transition);function ds(r){if(wd[r])return wd[r];if(!Hs[r])return r;var i=Hs[r],l;for(l in i)if(i.hasOwnProperty(l)&&l in Sp)return wd[r]=i[l];return r}var xp=ds("animationend"),Ap=ds("animationiteration"),wp=ds("animationstart"),Qy=ds("transitionrun"),Zy=ds("transitionstart"),Jy=ds("transitioncancel"),Np=ds("transitionend"),kp=new Map,Nd="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(" ");Nd.push("scrollEnd");function ua(r,i){kp.set(r,i),La(i,[r])}var Cp=new WeakMap;function qr(r,i){if(typeof r=="object"&&r!==null){var l=Cp.get(r);return l!==void 0?l:(i={value:r,source:i,stack:sa(i)},Cp.set(r,i),i)}return{value:r,source:i,stack:sa(i)}}var Yr=[],qs=0,kd=0;function Ko(){for(var r=qs,i=kd=qs=0;i<r;){var l=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 S=c.pending;S===null?m.next=m:(m.next=S.next,S.next=m),c.pending=m}g!==0&&Op(l,m,g)}}function $o(r,i,l,c){Yr[qs++]=r,Yr[qs++]=i,Yr[qs++]=l,Yr[qs++]=c,kd|=c,r.lanes|=c,r=r.alternate,r!==null&&(r.lanes|=c)}function Cd(r,i,l,c){return $o(r,i,l,c),Xo(r)}function Ys(r,i){return $o(r,null,null,i),Xo(r)}function Op(r,i,l){r.lanes|=l;var c=r.alternate;c!==null&&(c.lanes|=l);for(var m=!1,g=r.return;g!==null;)g.childLanes|=l,c=g.alternate,c!==null&&(c.childLanes|=l),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(l),r=g.hiddenUpdates,c=r[m],c===null?r[m]=[i]:c.push(i),i.lane=l|536870912),g):null}function Xo(r){if(50<Ou)throw Ou=0,Bf=null,Error(a(185));for(var i=r.return;i!==null;)r=i,i=r.return;return r.tag===3?r.stateNode:null}var Gs={};function e8(r,i,l,c){this.tag=r,this.key=l,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=i,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=c,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Nr(r,i,l,c){return new e8(r,i,l,c)}function Od(r){return r=r.prototype,!(!r||!r.isReactComponent)}function za(r,i){var l=r.alternate;return l===null?(l=Nr(r.tag,i,r.key,r.mode),l.elementType=r.elementType,l.type=r.type,l.stateNode=r.stateNode,l.alternate=r,r.alternate=l):(l.pendingProps=i,l.type=r.type,l.flags=0,l.subtreeFlags=0,l.deletions=null),l.flags=r.flags&65011712,l.childLanes=r.childLanes,l.lanes=r.lanes,l.child=r.child,l.memoizedProps=r.memoizedProps,l.memoizedState=r.memoizedState,l.updateQueue=r.updateQueue,i=r.dependencies,l.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext},l.sibling=r.sibling,l.index=r.index,l.ref=r.ref,l.refCleanup=r.refCleanup,l}function Rp(r,i){r.flags&=65011714;var l=r.alternate;return l===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=l.childLanes,r.lanes=l.lanes,r.child=l.child,r.subtreeFlags=0,r.deletions=null,r.memoizedProps=l.memoizedProps,r.memoizedState=l.memoizedState,r.updateQueue=l.updateQueue,r.type=l.type,i=l.dependencies,r.dependencies=i===null?null:{lanes:i.lanes,firstContext:i.firstContext}),r}function Wo(r,i,l,c,m,g){var S=0;if(c=r,typeof r=="function")Od(r)&&(S=1);else if(typeof r=="string")S=nv(r,l,Ie.current)?26:r==="html"||r==="head"||r==="body"?27:5;else e:switch(r){case fe:return r=Nr(31,l,i,m),r.elementType=fe,r.lanes=g,r;case A:return fs(l.children,m,g,i);case N:S=8,m|=24;break;case I:return r=Nr(12,l,i,m|2),r.elementType=I,r.lanes=g,r;case q:return r=Nr(13,l,i,m),r.elementType=q,r.lanes=g,r;case L:return r=Nr(19,l,i,m),r.elementType=L,r.lanes=g,r;default:if(typeof r=="object"&&r!==null)switch(r.$$typeof){case C:case P:S=10;break e;case R:S=9;break e;case X:S=11;break e;case ne:S=14;break e;case te:S=16,c=null;break e}S=29,l=Error(a(130,r===null?"null":typeof r,"")),c=null}return i=Nr(S,l,i,m),i.elementType=r,i.type=c,i.lanes=g,i}function fs(r,i,l,c){return r=Nr(7,r,c,i),r.lanes=l,r}function Rd(r,i,l){return r=Nr(6,r,null,i),r.lanes=l,r}function Md(r,i,l){return i=Nr(4,r.children!==null?r.children:[],r.key,i),i.lanes=l,i.stateNode={containerInfo:r.containerInfo,pendingChildren:null,implementation:r.implementation},i}var js=[],Vs=0,Qo=null,Zo=0,Gr=[],jr=0,hs=null,Fa=1,Ha="";function ms(r,i){js[Vs++]=Zo,js[Vs++]=Qo,Qo=r,Zo=i}function Mp(r,i,l){Gr[jr++]=Fa,Gr[jr++]=Ha,Gr[jr++]=hs,hs=r;var c=Fa;r=Ha;var m=32-Qe(c)-1;c&=~(1<<m),l+=1;var g=32-Qe(i)+m;if(30<g){var S=m-m%5;g=(c&(1<<S)-1).toString(32),c>>=S,m-=S,Fa=1<<32-Qe(i)+m|l<<m|c,Ha=g+r}else Fa=1<<g|l<<m|c,Ha=r}function Dd(r){r.return!==null&&(ms(r,1),Mp(r,1,0))}function Id(r){for(;r===Qo;)Qo=js[--Vs],js[Vs]=null,Zo=js[--Vs],js[Vs]=null;for(;r===hs;)hs=Gr[--jr],Gr[jr]=null,Ha=Gr[--jr],Gr[jr]=null,Fa=Gr[--jr],Gr[jr]=null}var nr=null,hn=null,Mt=!1,ps=null,ba=!1,Ld=Error(a(519));function gs(r){var i=Error(a(418,""));throw uu(qr(i,r)),Ld}function Dp(r){var i=r.stateNode,l=r.type,c=r.memoizedProps;switch(i[Me]=r,i[Ge]=c,l){case"dialog":_t("cancel",i),_t("close",i);break;case"iframe":case"object":case"embed":_t("load",i);break;case"video":case"audio":for(l=0;l<Mu.length;l++)_t(Mu[l],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),is(i);break;case"select":_t("invalid",i);break;case"textarea":_t("invalid",i),Fo(i,c.value,c.defaultValue,c.children),is(i)}l=c.children,typeof l!="string"&&typeof l!="number"&&typeof l!="bigint"||i.textContent===""+l||c.suppressHydrationWarning===!0||W2(i.textContent,l)?(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=M0),i=!0):i=!1,i||gs(r)}function Ip(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 su(r){if(r!==nr)return!1;if(!Mt)return Ip(r),Mt=!0,!1;var i=r.tag,l;if((l=i!==3&&i!==27)&&((l=i===5)&&(l=r.type,l=!(l!=="form"&&l!=="button")||Zf(r.type,r.memoizedProps)),l=!l),l&&hn&&gs(r),Ip(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(l=r.data,l==="/$"){if(i===0){hn=ca(r.nextSibling);break e}i--}else l!=="$"&&l!=="$!"&&l!=="$?"||i++;r=r.nextSibling}hn=null}}else i===27?(i=hn,Di(r.type)?(r=nh,nh=null,hn=r):hn=i):hn=nr?ca(r.stateNode.nextSibling):null;return!0}function lu(){hn=nr=null,Mt=!1}function Lp(){var r=ps;return r!==null&&(gr===null?gr=r:gr.push.apply(gr,r),ps=null),r}function uu(r){ps===null?ps=[r]:ps.push(r)}var Bd=ae(null),bs=null,qa=null;function Ei(r,i,l){M(Bd,i._currentValue),i._currentValue=l}function Ya(r){r._currentValue=Bd.current,pe(Bd)}function Pd(r,i,l){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===l)break;r=r.return}}function Ud(r,i,l,c){var m=r.child;for(m!==null&&(m.return=r);m!==null;){var g=m.dependencies;if(g!==null){var S=m.child;g=g.firstContext;e:for(;g!==null;){var k=g;g=m;for(var H=0;H<i.length;H++)if(k.context===i[H]){g.lanes|=l,k=g.alternate,k!==null&&(k.lanes|=l),Pd(g.return,l,r),c||(S=null);break e}g=k.next}}else if(m.tag===18){if(S=m.return,S===null)throw Error(a(341));S.lanes|=l,g=S.alternate,g!==null&&(g.lanes|=l),Pd(S,l,r),S=null}else S=m.child;if(S!==null)S.return=m;else for(S=m;S!==null;){if(S===r){S=null;break}if(m=S.sibling,m!==null){m.return=S.return,S=m;break}S=S.return}m=S}}function ou(r,i,l,c){r=null;for(var m=i,g=!1;m!==null;){if(!g){if((m.flags&524288)!==0)g=!0;else if((m.flags&262144)!==0)break}if(m.tag===10){var S=m.alternate;if(S===null)throw Error(a(387));if(S=S.memoizedProps,S!==null){var k=m.type;wr(m.pendingProps.value,S.value)||(r!==null?r.push(k):r=[k])}}else if(m===wt.current){if(S=m.alternate,S===null)throw Error(a(387));S.memoizedState.memoizedState!==m.memoizedState.memoizedState&&(r!==null?r.push(Uu):r=[Uu])}m=m.return}r!==null&&Ud(i,r,l,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 Es(r){bs=r,qa=null,r=r.dependencies,r!==null&&(r.firstContext=null)}function Kn(r){return Bp(bs,r)}function e0(r,i){return bs===null&&Es(r),Bp(r,i)}function Bp(r,i){var l=i._currentValue;if(i={context:i,memoizedValue:l,next:null},qa===null){if(r===null)throw Error(a(308));qa=i,r.dependencies={lanes:0,firstContext:i},r.flags|=524288}else qa=qa.next=i;return l}var t8=typeof AbortController<"u"?AbortController:function(){var r=[],i=this.signal={aborted:!1,addEventListener:function(l,c){r.push(c)}};this.abort=function(){i.aborted=!0,r.forEach(function(l){return l()})}},n8=e.unstable_scheduleCallback,r8=e.unstable_NormalPriority,On={$$typeof:P,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function zd(){return{controller:new t8,data:new Map,refCount:0}}function cu(r){r.refCount--,r.refCount===0&&n8(r8,function(){r.controller.abort()})}var du=null,Fd=0,Ks=0,$s=null;function a8(r,i){if(du===null){var l=du=[];Fd=0,Ks=Yf(),$s={status:"pending",value:void 0,then:function(c){l.push(c)}}}return Fd++,i.then(Pp,Pp),i}function Pp(){if(--Fd===0&&du!==null){$s!==null&&($s.status="fulfilled");var r=du;du=null,Ks=0,$s=null;for(var i=0;i<r.length;i++)(0,r[i])()}}function i8(r,i){var l=[],c={status:"pending",value:null,reason:null,then:function(m){l.push(m)}};return r.then(function(){c.status="fulfilled",c.value=i;for(var m=0;m<l.length;m++)(0,l[m])(i)},function(m){for(c.status="rejected",c.reason=m,m=0;m<l.length;m++)(0,l[m])(void 0)}),c}var Up=K.S;K.S=function(r,i){typeof i=="object"&&i!==null&&typeof i.then=="function"&&a8(r,i),Up!==null&&Up(r,i)};var ys=ae(null);function Hd(){var r=ys.current;return r!==null?r:Vt.pooledCache}function t0(r,i){i===null?M(ys,ys.current):M(ys,i.pool)}function zp(){var r=Hd();return r===null?null:{parent:On._currentValue,pool:r}}var fu=Error(a(460)),Fp=Error(a(474)),n0=Error(a(542)),qd={then:function(){}};function Hp(r){return r=r.status,r==="fulfilled"||r==="rejected"}function r0(){}function qp(r,i,l){switch(l=r[l],l===void 0?r.push(i):l!==i&&(i.then(r0,r0),i=l),i.status){case"fulfilled":return i.value;case"rejected":throw r=i.reason,Gp(r),r;default:if(typeof i.status=="string")i.then(r0,r0);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,Gp(r),r}throw hu=i,fu}}var hu=null;function Yp(){if(hu===null)throw Error(a(459));var r=hu;return hu=null,r}function Gp(r){if(r===fu||r===n0)throw Error(a(483))}var yi=!1;function Yd(r){r.updateQueue={baseState:r.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Gd(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 vi(r){return{lane:r,tag:0,payload:null,callback:null,next:null}}function Ti(r,i,l){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),Op(r,null,l),i}return $o(r,c,i,l),Xo(r)}function mu(r,i,l){if(i=i.updateQueue,i!==null&&(i=i.shared,(l&4194048)!==0)){var c=i.lanes;c&=r.pendingLanes,l|=c,i.lanes=l,be(r,l)}}function jd(r,i){var l=r.updateQueue,c=r.alternate;if(c!==null&&(c=c.updateQueue,l===c)){var m=null,g=null;if(l=l.firstBaseUpdate,l!==null){do{var S={lane:l.lane,tag:l.tag,payload:l.payload,callback:null,next:null};g===null?m=g=S:g=g.next=S,l=l.next}while(l!==null);g===null?m=g=i:g=g.next=i}else m=g=i;l={baseState:c.baseState,firstBaseUpdate:m,lastBaseUpdate:g,shared:c.shared,callbacks:c.callbacks},r.updateQueue=l;return}r=l.lastBaseUpdate,r===null?l.firstBaseUpdate=i:r.next=i,l.lastBaseUpdate=i}var Vd=!1;function pu(){if(Vd){var r=$s;if(r!==null)throw r}}function gu(r,i,l,c){Vd=!1;var m=r.updateQueue;yi=!1;var g=m.firstBaseUpdate,S=m.lastBaseUpdate,k=m.shared.pending;if(k!==null){m.shared.pending=null;var H=k,J=H.next;H.next=null,S===null?g=J:S.next=J,S=H;var ge=r.alternate;ge!==null&&(ge=ge.updateQueue,k=ge.lastBaseUpdate,k!==S&&(k===null?ge.firstBaseUpdate=J:k.next=J,ge.lastBaseUpdate=H))}if(g!==null){var ve=m.baseState;S=0,ge=J=H=null,k=g;do{var re=k.lane&-536870913,ie=re!==k.lane;if(ie?(At&re)===re:(c&re)===re){re!==0&&re===Ks&&(Vd=!0),ge!==null&&(ge=ge.next={lane:0,tag:k.tag,payload:k.payload,callback:null,next:null});e:{var at=r,tt=k;re=i;var Ht=l;switch(tt.tag){case 1:if(at=tt.payload,typeof at=="function"){ve=at.call(Ht,ve,re);break e}ve=at;break e;case 3:at.flags=at.flags&-65537|128;case 0:if(at=tt.payload,re=typeof at=="function"?at.call(Ht,ve,re):at,re==null)break e;ve=p({},ve,re);break e;case 2:yi=!0}}re=k.callback,re!==null&&(r.flags|=64,ie&&(r.flags|=8192),ie=m.callbacks,ie===null?m.callbacks=[re]:ie.push(re))}else ie={lane:re,tag:k.tag,payload:k.payload,callback:k.callback,next:null},ge===null?(J=ge=ie,H=ve):ge=ge.next=ie,S|=re;if(k=k.next,k===null){if(k=m.shared.pending,k===null)break;ie=k,k=ie.next,ie.next=null,m.lastBaseUpdate=ie,m.shared.pending=null}}while(!0);ge===null&&(H=ve),m.baseState=H,m.firstBaseUpdate=J,m.lastBaseUpdate=ge,g===null&&(m.shared.lanes=0),Ci|=S,r.lanes=S,r.memoizedState=ve}}function jp(r,i){if(typeof r!="function")throw Error(a(191,r));r.call(i)}function Vp(r,i){var l=r.callbacks;if(l!==null)for(r.callbacks=null,r=0;r<l.length;r++)jp(l[r],i)}var Xs=ae(null),a0=ae(0);function Kp(r,i){r=Wa,M(a0,r),M(Xs,i),Wa=r|i.baseLanes}function Kd(){M(a0,Wa),M(Xs,Xs.current)}function $d(){Wa=a0.current,pe(Xs),pe(a0)}var _i=0,gt=null,zt=null,xn=null,i0=!1,Ws=!1,vs=!1,s0=0,bu=0,Qs=null,s8=0;function bn(){throw Error(a(321))}function Xd(r,i){if(i===null)return!1;for(var l=0;l<i.length&&l<r.length;l++)if(!wr(r[l],i[l]))return!1;return!0}function Wd(r,i,l,c,m,g){return _i=g,gt=i,i.memoizedState=null,i.updateQueue=null,i.lanes=0,K.H=r===null||r.memoizedState===null?Og:Rg,vs=!1,g=l(c,m),vs=!1,Ws&&(g=Xp(i,l,c,m)),$p(r),g}function $p(r){K.H=f0;var i=zt!==null&&zt.next!==null;if(_i=0,xn=zt=gt=null,i0=!1,bu=0,Qs=null,i)throw Error(a(300));r===null||Bn||(r=r.dependencies,r!==null&&Jo(r)&&(Bn=!0))}function Xp(r,i,l,c){gt=r;var m=0;do{if(Ws&&(Qs=null),bu=0,Ws=!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)}K.H=h8,g=i(l,c)}while(Ws);return g}function l8(){var r=K.H,i=r.useState()[0];return i=typeof i.then=="function"?Eu(i):i,r=r.useState()[0],(zt!==null?zt.memoizedState:null)!==r&&(gt.flags|=1024),i}function Qd(){var r=s0!==0;return s0=0,r}function Zd(r,i,l){i.updateQueue=r.updateQueue,i.flags&=-2053,r.lanes&=~l}function Jd(r){if(i0){for(r=r.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}i0=!1}_i=0,xn=zt=gt=null,Ws=!1,bu=s0=0,Qs=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 ef(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Eu(r){var i=bu;return bu+=1,Qs===null&&(Qs=[]),r=qp(Qs,r,i),i=gt,(xn===null?i.memoizedState:xn.next)===null&&(i=i.alternate,K.H=i===null||i.memoizedState===null?Og:Rg),r}function l0(r){if(r!==null&&typeof r=="object"){if(typeof r.then=="function")return Eu(r);if(r.$$typeof===P)return Kn(r)}throw Error(a(438,String(r)))}function tf(r){var i=null,l=gt.updateQueue;if(l!==null&&(i=l.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}),l===null&&(l=ef(),gt.updateQueue=l),l.memoCache=i,l=i.data[i.index],l===void 0)for(l=i.data[i.index]=Array(r),c=0;c<r;c++)l[c]=G;return i.index++,l}function Ga(r,i){return typeof i=="function"?i(r):i}function u0(r){var i=An();return nf(i,zt,r)}function nf(r,i,l){var c=r.queue;if(c===null)throw Error(a(311));c.lastRenderedReducer=l;var m=r.baseQueue,g=c.pending;if(g!==null){if(m!==null){var S=m.next;m.next=g.next,g.next=S}i.baseQueue=m=g,c.pending=null}if(g=r.baseState,m===null)r.memoizedState=g;else{i=m.next;var k=S=null,H=null,J=i,ge=!1;do{var ve=J.lane&-536870913;if(ve!==J.lane?(At&ve)===ve:(_i&ve)===ve){var re=J.revertLane;if(re===0)H!==null&&(H=H.next={lane:0,revertLane:0,action:J.action,hasEagerState:J.hasEagerState,eagerState:J.eagerState,next:null}),ve===Ks&&(ge=!0);else if((_i&re)===re){J=J.next,re===Ks&&(ge=!0);continue}else ve={lane:0,revertLane:J.revertLane,action:J.action,hasEagerState:J.hasEagerState,eagerState:J.eagerState,next:null},H===null?(k=H=ve,S=g):H=H.next=ve,gt.lanes|=re,Ci|=re;ve=J.action,vs&&l(g,ve),g=J.hasEagerState?J.eagerState:l(g,ve)}else re={lane:ve,revertLane:J.revertLane,action:J.action,hasEagerState:J.hasEagerState,eagerState:J.eagerState,next:null},H===null?(k=H=re,S=g):H=H.next=re,gt.lanes|=ve,Ci|=ve;J=J.next}while(J!==null&&J!==i);if(H===null?S=g:H.next=k,!wr(g,r.memoizedState)&&(Bn=!0,ge&&(l=$s,l!==null)))throw l;r.memoizedState=g,r.baseState=S,r.baseQueue=H,c.lastRenderedState=g}return m===null&&(c.lanes=0),[r.memoizedState,c.dispatch]}function rf(r){var i=An(),l=i.queue;if(l===null)throw Error(a(311));l.lastRenderedReducer=r;var c=l.dispatch,m=l.pending,g=i.memoizedState;if(m!==null){l.pending=null;var S=m=m.next;do g=r(g,S.action),S=S.next;while(S!==m);wr(g,i.memoizedState)||(Bn=!0),i.memoizedState=g,i.baseQueue===null&&(i.baseState=g),l.lastRenderedState=g}return[g,c]}function Wp(r,i,l){var c=gt,m=An(),g=Mt;if(g){if(l===void 0)throw Error(a(407));l=l()}else l=i();var S=!wr((zt||m).memoizedState,l);S&&(m.memoizedState=l,Bn=!0),m=m.queue;var k=Jp.bind(null,c,m,r);if(yu(2048,8,k,[r]),m.getSnapshot!==i||S||xn!==null&&xn.memoizedState.tag&1){if(c.flags|=2048,Zs(9,o0(),Zp.bind(null,c,m,l,i),null),Vt===null)throw Error(a(349));g||(_i&124)!==0||Qp(c,i,l)}return l}function Qp(r,i,l){r.flags|=16384,r={getSnapshot:i,value:l},i=gt.updateQueue,i===null?(i=ef(),gt.updateQueue=i,i.stores=[r]):(l=i.stores,l===null?i.stores=[r]:l.push(r))}function Zp(r,i,l,c){i.value=l,i.getSnapshot=c,eg(i)&&tg(r)}function Jp(r,i,l){return l(function(){eg(i)&&tg(r)})}function eg(r){var i=r.getSnapshot;r=r.value;try{var l=i();return!wr(r,l)}catch{return!0}}function tg(r){var i=Ys(r,2);i!==null&&Mr(i,r,2)}function af(r){var i=mr();if(typeof r=="function"){var l=r;if(r=l(),vs){$e(!0);try{l()}finally{$e(!1)}}}return i.memoizedState=i.baseState=r,i.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ga,lastRenderedState:r},i}function ng(r,i,l,c){return r.baseState=l,nf(r,zt,typeof c=="function"?c:Ga)}function u8(r,i,l,c,m){if(d0(r))throw Error(a(485));if(r=i.action,r!==null){var g={payload:m,action:r,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(S){g.listeners.push(S)}};K.T!==null?l(!0):g.isTransition=!1,c(g),l=i.pending,l===null?(g.next=i.pending=g,rg(i,g)):(g.next=l.next,i.pending=l.next=g)}}function rg(r,i){var l=i.action,c=i.payload,m=r.state;if(i.isTransition){var g=K.T,S={};K.T=S;try{var k=l(m,c),H=K.S;H!==null&&H(S,k),ag(r,i,k)}catch(J){sf(r,i,J)}finally{K.T=g}}else try{g=l(m,c),ag(r,i,g)}catch(J){sf(r,i,J)}}function ag(r,i,l){l!==null&&typeof l=="object"&&typeof l.then=="function"?l.then(function(c){ig(r,i,c)},function(c){return sf(r,i,c)}):ig(r,i,l)}function ig(r,i,l){i.status="fulfilled",i.value=l,sg(i),r.state=l,i=r.pending,i!==null&&(l=i.next,l===i?r.pending=null:(l=l.next,i.next=l,rg(r,l)))}function sf(r,i,l){var c=r.pending;if(r.pending=null,c!==null){c=c.next;do i.status="rejected",i.reason=l,sg(i),i=i.next;while(i!==c)}r.action=null}function sg(r){r=r.listeners;for(var i=0;i<r.length;i++)(0,r[i])()}function lg(r,i){return i}function ug(r,i){if(Mt){var l=Vt.formState;if(l!==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}}gs(c)}c=!1}c&&(i=l[0])}}return l=mr(),l.memoizedState=l.baseState=i,c={pending:null,lanes:0,dispatch:null,lastRenderedReducer:lg,lastRenderedState:i},l.queue=c,l=Ng.bind(null,gt,c),c.dispatch=l,c=af(!1),g=df.bind(null,gt,!1,c.queue),c=mr(),m={state:i,dispatch:null,action:r,pending:null},c.queue=m,l=u8.bind(null,gt,m,g,l),m.dispatch=l,c.memoizedState=r,[i,l,!1]}function og(r){var i=An();return cg(i,zt,r)}function cg(r,i,l){if(i=nf(r,i,lg)[0],r=u0(Ga)[0],typeof i=="object"&&i!==null&&typeof i.then=="function")try{var c=Eu(i)}catch(S){throw S===fu?n0:S}else c=i;i=An();var m=i.queue,g=m.dispatch;return l!==i.memoizedState&&(gt.flags|=2048,Zs(9,o0(),o8.bind(null,m,l),null)),[c,g,r]}function o8(r,i){r.action=i}function dg(r){var i=An(),l=zt;if(l!==null)return cg(i,l,r);An(),i=i.memoizedState,l=An();var c=l.queue.dispatch;return l.memoizedState=r,[i,c,!1]}function Zs(r,i,l,c){return r={tag:r,create:l,deps:c,inst:i,next:null},i=gt.updateQueue,i===null&&(i=ef(),gt.updateQueue=i),l=i.lastEffect,l===null?i.lastEffect=r.next=r:(c=l.next,l.next=r,r.next=c,i.lastEffect=r),r}function o0(){return{destroy:void 0,resource:void 0}}function fg(){return An().memoizedState}function c0(r,i,l,c){var m=mr();c=c===void 0?null:c,gt.flags|=r,m.memoizedState=Zs(1|i,o0(),l,c)}function yu(r,i,l,c){var m=An();c=c===void 0?null:c;var g=m.memoizedState.inst;zt!==null&&c!==null&&Xd(c,zt.memoizedState.deps)?m.memoizedState=Zs(i,g,l,c):(gt.flags|=r,m.memoizedState=Zs(1|i,g,l,c))}function hg(r,i){c0(8390656,8,r,i)}function mg(r,i){yu(2048,8,r,i)}function pg(r,i){return yu(4,2,r,i)}function gg(r,i){return yu(4,4,r,i)}function bg(r,i){if(typeof i=="function"){r=r();var l=i(r);return function(){typeof l=="function"?l():i(null)}}if(i!=null)return r=r(),i.current=r,function(){i.current=null}}function Eg(r,i,l){l=l!=null?l.concat([r]):null,yu(4,4,bg.bind(null,i,r),l)}function lf(){}function yg(r,i){var l=An();i=i===void 0?null:i;var c=l.memoizedState;return i!==null&&Xd(i,c[1])?c[0]:(l.memoizedState=[r,i],r)}function vg(r,i){var l=An();i=i===void 0?null:i;var c=l.memoizedState;if(i!==null&&Xd(i,c[1]))return c[0];if(c=r(),vs){$e(!0);try{r()}finally{$e(!1)}}return l.memoizedState=[c,i],c}function uf(r,i,l){return l===void 0||(_i&1073741824)!==0?r.memoizedState=i:(r.memoizedState=l,r=S2(),gt.lanes|=r,Ci|=r,l)}function Tg(r,i,l,c){return wr(l,i)?l:Xs.current!==null?(r=uf(r,l,c),wr(r,i)||(Bn=!0),r):(_i&42)===0?(Bn=!0,r.memoizedState=l):(r=S2(),gt.lanes|=r,Ci|=r,i)}function _g(r,i,l,c,m){var g=le.p;le.p=g!==0&&8>g?g:8;var S=K.T,k={};K.T=k,df(r,!1,i,l);try{var H=m(),J=K.S;if(J!==null&&J(k,H),H!==null&&typeof H=="object"&&typeof H.then=="function"){var ge=i8(H,c);vu(r,i,ge,Rr(r))}else vu(r,i,c,Rr(r))}catch(ve){vu(r,i,{then:function(){},status:"rejected",reason:ve},Rr())}finally{le.p=g,K.T=S}}function c8(){}function of(r,i,l,c){if(r.tag!==5)throw Error(a(476));var m=Sg(r).queue;_g(r,m,i,me,l===null?c8:function(){return xg(r),l(c)})}function Sg(r){var i=r.memoizedState;if(i!==null)return i;i={memoizedState:me,baseState:me,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ga,lastRenderedState:me},next:null};var l={};return i.next={memoizedState:l,baseState:l,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ga,lastRenderedState:l},next:null},r.memoizedState=i,r=r.alternate,r!==null&&(r.memoizedState=i),i}function xg(r){var i=Sg(r).next.queue;vu(r,i,{},Rr())}function cf(){return Kn(Uu)}function Ag(){return An().memoizedState}function wg(){return An().memoizedState}function d8(r){for(var i=r.return;i!==null;){switch(i.tag){case 24:case 3:var l=Rr();r=vi(l);var c=Ti(i,r,l);c!==null&&(Mr(c,i,l),mu(c,i,l)),i={cache:zd()},r.payload=i;return}i=i.return}}function f8(r,i,l){var c=Rr();l={lane:c,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null},d0(r)?kg(i,l):(l=Cd(r,i,l,c),l!==null&&(Mr(l,r,c),Cg(l,i,c)))}function Ng(r,i,l){var c=Rr();vu(r,i,l,c)}function vu(r,i,l,c){var m={lane:c,revertLane:0,action:l,hasEagerState:!1,eagerState:null,next:null};if(d0(r))kg(i,m);else{var g=r.alternate;if(r.lanes===0&&(g===null||g.lanes===0)&&(g=i.lastRenderedReducer,g!==null))try{var S=i.lastRenderedState,k=g(S,l);if(m.hasEagerState=!0,m.eagerState=k,wr(k,S))return $o(r,i,m,0),Vt===null&&Ko(),!1}catch{}finally{}if(l=Cd(r,i,m,c),l!==null)return Mr(l,r,c),Cg(l,i,c),!0}return!1}function df(r,i,l,c){if(c={lane:2,revertLane:Yf(),action:c,hasEagerState:!1,eagerState:null,next:null},d0(r)){if(i)throw Error(a(479))}else i=Cd(r,l,c,2),i!==null&&Mr(i,r,2)}function d0(r){var i=r.alternate;return r===gt||i!==null&&i===gt}function kg(r,i){Ws=i0=!0;var l=r.pending;l===null?i.next=i:(i.next=l.next,l.next=i),r.pending=i}function Cg(r,i,l){if((l&4194048)!==0){var c=i.lanes;c&=r.pendingLanes,l|=c,i.lanes=l,be(r,l)}}var f0={readContext:Kn,use:l0,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},Og={readContext:Kn,use:l0,useCallback:function(r,i){return mr().memoizedState=[r,i===void 0?null:i],r},useContext:Kn,useEffect:hg,useImperativeHandle:function(r,i,l){l=l!=null?l.concat([r]):null,c0(4194308,4,bg.bind(null,i,r),l)},useLayoutEffect:function(r,i){return c0(4194308,4,r,i)},useInsertionEffect:function(r,i){c0(4,2,r,i)},useMemo:function(r,i){var l=mr();i=i===void 0?null:i;var c=r();if(vs){$e(!0);try{r()}finally{$e(!1)}}return l.memoizedState=[c,i],c},useReducer:function(r,i,l){var c=mr();if(l!==void 0){var m=l(i);if(vs){$e(!0);try{l(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=f8.bind(null,gt,r),[c.memoizedState,r]},useRef:function(r){var i=mr();return r={current:r},i.memoizedState=r},useState:function(r){r=af(r);var i=r.queue,l=Ng.bind(null,gt,i);return i.dispatch=l,[r.memoizedState,l]},useDebugValue:lf,useDeferredValue:function(r,i){var l=mr();return uf(l,r,i)},useTransition:function(){var r=af(!1);return r=_g.bind(null,gt,r.queue,!0,!1),mr().memoizedState=r,[!1,r]},useSyncExternalStore:function(r,i,l){var c=gt,m=mr();if(Mt){if(l===void 0)throw Error(a(407));l=l()}else{if(l=i(),Vt===null)throw Error(a(349));(At&124)!==0||Qp(c,i,l)}m.memoizedState=l;var g={value:l,getSnapshot:i};return m.queue=g,hg(Jp.bind(null,c,g,r),[r]),c.flags|=2048,Zs(9,o0(),Zp.bind(null,c,g,l,i),null),l},useId:function(){var r=mr(),i=Vt.identifierPrefix;if(Mt){var l=Ha,c=Fa;l=(c&~(1<<32-Qe(c)-1)).toString(32)+l,i="«"+i+"R"+l,l=s0++,0<l&&(i+="H"+l.toString(32)),i+="»"}else l=s8++,i="«"+i+"r"+l.toString(32)+"»";return r.memoizedState=i},useHostTransitionStatus:cf,useFormState:ug,useActionState:ug,useOptimistic:function(r){var i=mr();i.memoizedState=i.baseState=r;var l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return i.queue=l,i=df.bind(null,gt,!0,l),l.dispatch=i,[r,i]},useMemoCache:tf,useCacheRefresh:function(){return mr().memoizedState=d8.bind(null,gt)}},Rg={readContext:Kn,use:l0,useCallback:yg,useContext:Kn,useEffect:mg,useImperativeHandle:Eg,useInsertionEffect:pg,useLayoutEffect:gg,useMemo:vg,useReducer:u0,useRef:fg,useState:function(){return u0(Ga)},useDebugValue:lf,useDeferredValue:function(r,i){var l=An();return Tg(l,zt.memoizedState,r,i)},useTransition:function(){var r=u0(Ga)[0],i=An().memoizedState;return[typeof r=="boolean"?r:Eu(r),i]},useSyncExternalStore:Wp,useId:Ag,useHostTransitionStatus:cf,useFormState:og,useActionState:og,useOptimistic:function(r,i){var l=An();return ng(l,zt,r,i)},useMemoCache:tf,useCacheRefresh:wg},h8={readContext:Kn,use:l0,useCallback:yg,useContext:Kn,useEffect:mg,useImperativeHandle:Eg,useInsertionEffect:pg,useLayoutEffect:gg,useMemo:vg,useReducer:rf,useRef:fg,useState:function(){return rf(Ga)},useDebugValue:lf,useDeferredValue:function(r,i){var l=An();return zt===null?uf(l,r,i):Tg(l,zt.memoizedState,r,i)},useTransition:function(){var r=rf(Ga)[0],i=An().memoizedState;return[typeof r=="boolean"?r:Eu(r),i]},useSyncExternalStore:Wp,useId:Ag,useHostTransitionStatus:cf,useFormState:dg,useActionState:dg,useOptimistic:function(r,i){var l=An();return zt!==null?ng(l,zt,r,i):(l.baseState=r,[r,l.queue.dispatch])},useMemoCache:tf,useCacheRefresh:wg},Js=null,Tu=0;function h0(r){var i=Tu;return Tu+=1,Js===null&&(Js=[]),qp(Js,r,i)}function _u(r,i){i=i.props.ref,r.ref=i!==void 0?i:null}function m0(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 Mg(r){var i=r._init;return i(r._payload)}function Dg(r){function i($,j){if(r){var Q=$.deletions;Q===null?($.deletions=[j],$.flags|=16):Q.push(j)}}function l($,j){if(!r)return null;for(;j!==null;)i($,j),j=j.sibling;return null}function c($){for(var j=new Map;$!==null;)$.key!==null?j.set($.key,$):j.set($.index,$),$=$.sibling;return j}function m($,j){return $=za($,j),$.index=0,$.sibling=null,$}function g($,j,Q){return $.index=Q,r?(Q=$.alternate,Q!==null?(Q=Q.index,Q<j?($.flags|=67108866,j):Q):($.flags|=67108866,j)):($.flags|=1048576,j)}function S($){return r&&$.alternate===null&&($.flags|=67108866),$}function k($,j,Q,Ee){return j===null||j.tag!==6?(j=Rd(Q,$.mode,Ee),j.return=$,j):(j=m(j,Q),j.return=$,j)}function H($,j,Q,Ee){var Ye=Q.type;return Ye===A?ge($,j,Q.props.children,Ee,Q.key):j!==null&&(j.elementType===Ye||typeof Ye=="object"&&Ye!==null&&Ye.$$typeof===te&&Mg(Ye)===j.type)?(j=m(j,Q.props),_u(j,Q),j.return=$,j):(j=Wo(Q.type,Q.key,Q.props,null,$.mode,Ee),_u(j,Q),j.return=$,j)}function J($,j,Q,Ee){return j===null||j.tag!==4||j.stateNode.containerInfo!==Q.containerInfo||j.stateNode.implementation!==Q.implementation?(j=Md(Q,$.mode,Ee),j.return=$,j):(j=m(j,Q.children||[]),j.return=$,j)}function ge($,j,Q,Ee,Ye){return j===null||j.tag!==7?(j=fs(Q,$.mode,Ee,Ye),j.return=$,j):(j=m(j,Q),j.return=$,j)}function ve($,j,Q){if(typeof j=="string"&&j!==""||typeof j=="number"||typeof j=="bigint")return j=Rd(""+j,$.mode,Q),j.return=$,j;if(typeof j=="object"&&j!==null){switch(j.$$typeof){case T:return Q=Wo(j.type,j.key,j.props,null,$.mode,Q),_u(Q,j),Q.return=$,Q;case v:return j=Md(j,$.mode,Q),j.return=$,j;case te:var Ee=j._init;return j=Ee(j._payload),ve($,j,Q)}if(oe(j)||de(j))return j=fs(j,$.mode,Q,null),j.return=$,j;if(typeof j.then=="function")return ve($,h0(j),Q);if(j.$$typeof===P)return ve($,e0($,j),Q);m0($,j)}return null}function re($,j,Q,Ee){var Ye=j!==null?j.key:null;if(typeof Q=="string"&&Q!==""||typeof Q=="number"||typeof Q=="bigint")return Ye!==null?null:k($,j,""+Q,Ee);if(typeof Q=="object"&&Q!==null){switch(Q.$$typeof){case T:return Q.key===Ye?H($,j,Q,Ee):null;case v:return Q.key===Ye?J($,j,Q,Ee):null;case te:return Ye=Q._init,Q=Ye(Q._payload),re($,j,Q,Ee)}if(oe(Q)||de(Q))return Ye!==null?null:ge($,j,Q,Ee,null);if(typeof Q.then=="function")return re($,j,h0(Q),Ee);if(Q.$$typeof===P)return re($,j,e0($,Q),Ee);m0($,Q)}return null}function ie($,j,Q,Ee,Ye){if(typeof Ee=="string"&&Ee!==""||typeof Ee=="number"||typeof Ee=="bigint")return $=$.get(Q)||null,k(j,$,""+Ee,Ye);if(typeof Ee=="object"&&Ee!==null){switch(Ee.$$typeof){case T:return $=$.get(Ee.key===null?Q:Ee.key)||null,H(j,$,Ee,Ye);case v:return $=$.get(Ee.key===null?Q:Ee.key)||null,J(j,$,Ee,Ye);case te:var bt=Ee._init;return Ee=bt(Ee._payload),ie($,j,Q,Ee,Ye)}if(oe(Ee)||de(Ee))return $=$.get(Q)||null,ge(j,$,Ee,Ye,null);if(typeof Ee.then=="function")return ie($,j,Q,h0(Ee),Ye);if(Ee.$$typeof===P)return ie($,j,Q,e0(j,Ee),Ye);m0(j,Ee)}return null}function at($,j,Q,Ee){for(var Ye=null,bt=null,We=j,nt=j=0,Un=null;We!==null&&nt<Q.length;nt++){We.index>nt?(Un=We,We=null):Un=We.sibling;var Ot=re($,We,Q[nt],Ee);if(Ot===null){We===null&&(We=Un);break}r&&We&&Ot.alternate===null&&i($,We),j=g(Ot,j,nt),bt===null?Ye=Ot:bt.sibling=Ot,bt=Ot,We=Un}if(nt===Q.length)return l($,We),Mt&&ms($,nt),Ye;if(We===null){for(;nt<Q.length;nt++)We=ve($,Q[nt],Ee),We!==null&&(j=g(We,j,nt),bt===null?Ye=We:bt.sibling=We,bt=We);return Mt&&ms($,nt),Ye}for(We=c(We);nt<Q.length;nt++)Un=ie(We,$,nt,Q[nt],Ee),Un!==null&&(r&&Un.alternate!==null&&We.delete(Un.key===null?nt:Un.key),j=g(Un,j,nt),bt===null?Ye=Un:bt.sibling=Un,bt=Un);return r&&We.forEach(function(Ui){return i($,Ui)}),Mt&&ms($,nt),Ye}function tt($,j,Q,Ee){if(Q==null)throw Error(a(151));for(var Ye=null,bt=null,We=j,nt=j=0,Un=null,Ot=Q.next();We!==null&&!Ot.done;nt++,Ot=Q.next()){We.index>nt?(Un=We,We=null):Un=We.sibling;var Ui=re($,We,Ot.value,Ee);if(Ui===null){We===null&&(We=Un);break}r&&We&&Ui.alternate===null&&i($,We),j=g(Ui,j,nt),bt===null?Ye=Ui:bt.sibling=Ui,bt=Ui,We=Un}if(Ot.done)return l($,We),Mt&&ms($,nt),Ye;if(We===null){for(;!Ot.done;nt++,Ot=Q.next())Ot=ve($,Ot.value,Ee),Ot!==null&&(j=g(Ot,j,nt),bt===null?Ye=Ot:bt.sibling=Ot,bt=Ot);return Mt&&ms($,nt),Ye}for(We=c(We);!Ot.done;nt++,Ot=Q.next())Ot=ie(We,$,nt,Ot.value,Ee),Ot!==null&&(r&&Ot.alternate!==null&&We.delete(Ot.key===null?nt:Ot.key),j=g(Ot,j,nt),bt===null?Ye=Ot:bt.sibling=Ot,bt=Ot);return r&&We.forEach(function(mv){return i($,mv)}),Mt&&ms($,nt),Ye}function Ht($,j,Q,Ee){if(typeof Q=="object"&&Q!==null&&Q.type===A&&Q.key===null&&(Q=Q.props.children),typeof Q=="object"&&Q!==null){switch(Q.$$typeof){case T:e:{for(var Ye=Q.key;j!==null;){if(j.key===Ye){if(Ye=Q.type,Ye===A){if(j.tag===7){l($,j.sibling),Ee=m(j,Q.props.children),Ee.return=$,$=Ee;break e}}else if(j.elementType===Ye||typeof Ye=="object"&&Ye!==null&&Ye.$$typeof===te&&Mg(Ye)===j.type){l($,j.sibling),Ee=m(j,Q.props),_u(Ee,Q),Ee.return=$,$=Ee;break e}l($,j);break}else i($,j);j=j.sibling}Q.type===A?(Ee=fs(Q.props.children,$.mode,Ee,Q.key),Ee.return=$,$=Ee):(Ee=Wo(Q.type,Q.key,Q.props,null,$.mode,Ee),_u(Ee,Q),Ee.return=$,$=Ee)}return S($);case v:e:{for(Ye=Q.key;j!==null;){if(j.key===Ye)if(j.tag===4&&j.stateNode.containerInfo===Q.containerInfo&&j.stateNode.implementation===Q.implementation){l($,j.sibling),Ee=m(j,Q.children||[]),Ee.return=$,$=Ee;break e}else{l($,j);break}else i($,j);j=j.sibling}Ee=Md(Q,$.mode,Ee),Ee.return=$,$=Ee}return S($);case te:return Ye=Q._init,Q=Ye(Q._payload),Ht($,j,Q,Ee)}if(oe(Q))return at($,j,Q,Ee);if(de(Q)){if(Ye=de(Q),typeof Ye!="function")throw Error(a(150));return Q=Ye.call(Q),tt($,j,Q,Ee)}if(typeof Q.then=="function")return Ht($,j,h0(Q),Ee);if(Q.$$typeof===P)return Ht($,j,e0($,Q),Ee);m0($,Q)}return typeof Q=="string"&&Q!==""||typeof Q=="number"||typeof Q=="bigint"?(Q=""+Q,j!==null&&j.tag===6?(l($,j.sibling),Ee=m(j,Q),Ee.return=$,$=Ee):(l($,j),Ee=Rd(Q,$.mode,Ee),Ee.return=$,$=Ee),S($)):l($,j)}return function($,j,Q,Ee){try{Tu=0;var Ye=Ht($,j,Q,Ee);return Js=null,Ye}catch(We){if(We===fu||We===n0)throw We;var bt=Nr(29,We,null,$.mode);return bt.lanes=Ee,bt.return=$,bt}finally{}}}var el=Dg(!0),Ig=Dg(!1),Vr=ae(null),Ea=null;function Si(r){var i=r.alternate;M(Rn,Rn.current&1),M(Vr,r),Ea===null&&(i===null||Xs.current!==null||i.memoizedState!==null)&&(Ea=r)}function Lg(r){if(r.tag===22){if(M(Rn,Rn.current),M(Vr,r),Ea===null){var i=r.alternate;i!==null&&i.memoizedState!==null&&(Ea=r)}}else xi()}function xi(){M(Rn,Rn.current),M(Vr,Vr.current)}function ja(r){pe(Vr),Ea===r&&(Ea=null),pe(Rn)}var Rn=ae(0);function p0(r){for(var i=r;i!==null;){if(i.tag===13){var l=i.memoizedState;if(l!==null&&(l=l.dehydrated,l===null||l.data==="$?"||th(l)))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 ff(r,i,l,c){i=r.memoizedState,l=l(c,i),l=l==null?i:p({},i,l),r.memoizedState=l,r.lanes===0&&(r.updateQueue.baseState=l)}var hf={enqueueSetState:function(r,i,l){r=r._reactInternals;var c=Rr(),m=vi(c);m.payload=i,l!=null&&(m.callback=l),i=Ti(r,m,c),i!==null&&(Mr(i,r,c),mu(i,r,c))},enqueueReplaceState:function(r,i,l){r=r._reactInternals;var c=Rr(),m=vi(c);m.tag=1,m.payload=i,l!=null&&(m.callback=l),i=Ti(r,m,c),i!==null&&(Mr(i,r,c),mu(i,r,c))},enqueueForceUpdate:function(r,i){r=r._reactInternals;var l=Rr(),c=vi(l);c.tag=2,i!=null&&(c.callback=i),i=Ti(r,c,l),i!==null&&(Mr(i,r,l),mu(i,r,l))}};function Bg(r,i,l,c,m,g,S){return r=r.stateNode,typeof r.shouldComponentUpdate=="function"?r.shouldComponentUpdate(c,g,S):i.prototype&&i.prototype.isPureReactComponent?!au(l,c)||!au(m,g):!0}function Pg(r,i,l,c){r=i.state,typeof i.componentWillReceiveProps=="function"&&i.componentWillReceiveProps(l,c),typeof i.UNSAFE_componentWillReceiveProps=="function"&&i.UNSAFE_componentWillReceiveProps(l,c),i.state!==r&&hf.enqueueReplaceState(i,i.state,null)}function Ts(r,i){var l=i;if("ref"in i){l={};for(var c in i)c!=="ref"&&(l[c]=i[c])}if(r=r.defaultProps){l===i&&(l=p({},l));for(var m in r)l[m]===void 0&&(l[m]=r[m])}return l}var g0=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 Ug(r){g0(r)}function zg(r){console.error(r)}function Fg(r){g0(r)}function b0(r,i){try{var l=r.onUncaughtError;l(i.value,{componentStack:i.stack})}catch(c){setTimeout(function(){throw c})}}function Hg(r,i,l){try{var c=r.onCaughtError;c(l.value,{componentStack:l.stack,errorBoundary:i.tag===1?i.stateNode:null})}catch(m){setTimeout(function(){throw m})}}function mf(r,i,l){return l=vi(l),l.tag=3,l.payload={element:null},l.callback=function(){b0(r,i)},l}function qg(r){return r=vi(r),r.tag=3,r}function Yg(r,i,l,c){var m=l.type.getDerivedStateFromError;if(typeof m=="function"){var g=c.value;r.payload=function(){return m(g)},r.callback=function(){Hg(i,l,c)}}var S=l.stateNode;S!==null&&typeof S.componentDidCatch=="function"&&(r.callback=function(){Hg(i,l,c),typeof m!="function"&&(Oi===null?Oi=new Set([this]):Oi.add(this));var k=c.stack;this.componentDidCatch(c.value,{componentStack:k!==null?k:""})})}function m8(r,i,l,c,m){if(l.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){if(i=l.alternate,i!==null&&ou(i,l,m,!0),l=Vr.current,l!==null){switch(l.tag){case 13:return Ea===null?Uf():l.alternate===null&&mn===0&&(mn=3),l.flags&=-257,l.flags|=65536,l.lanes=m,c===qd?l.flags|=16384:(i=l.updateQueue,i===null?l.updateQueue=new Set([c]):i.add(c),Ff(r,c,m)),!1;case 22:return l.flags|=65536,c===qd?l.flags|=16384:(i=l.updateQueue,i===null?(i={transitions:null,markerInstances:null,retryQueue:new Set([c])},l.updateQueue=i):(l=i.retryQueue,l===null?i.retryQueue=new Set([c]):l.add(c)),Ff(r,c,m)),!1}throw Error(a(435,l.tag))}return Ff(r,c,m),Uf(),!1}if(Mt)return i=Vr.current,i!==null?((i.flags&65536)===0&&(i.flags|=256),i.flags|=65536,i.lanes=m,c!==Ld&&(r=Error(a(422),{cause:c}),uu(qr(r,l)))):(c!==Ld&&(i=Error(a(423),{cause:c}),uu(qr(i,l))),r=r.current.alternate,r.flags|=65536,m&=-m,r.lanes|=m,c=qr(c,l),m=mf(r.stateNode,c,m),jd(r,m),mn!==4&&(mn=2)),!1;var g=Error(a(520),{cause:c});if(g=qr(g,l),Cu===null?Cu=[g]:Cu.push(g),mn!==4&&(mn=2),i===null)return!0;c=qr(c,l),l=i;do{switch(l.tag){case 3:return l.flags|=65536,r=m&-m,l.lanes|=r,r=mf(l.stateNode,c,r),jd(l,r),!1;case 1:if(i=l.type,g=l.stateNode,(l.flags&128)===0&&(typeof i.getDerivedStateFromError=="function"||g!==null&&typeof g.componentDidCatch=="function"&&(Oi===null||!Oi.has(g))))return l.flags|=65536,m&=-m,l.lanes|=m,m=qg(m),Yg(m,r,l,c),jd(l,m),!1}l=l.return}while(l!==null);return!1}var Gg=Error(a(461)),Bn=!1;function qn(r,i,l,c){i.child=r===null?Ig(i,null,l,c):el(i,r.child,l,c)}function jg(r,i,l,c,m){l=l.render;var g=i.ref;if("ref"in c){var S={};for(var k in c)k!=="ref"&&(S[k]=c[k])}else S=c;return Es(i),c=Wd(r,i,l,S,g,m),k=Qd(),r!==null&&!Bn?(Zd(r,i,m),Va(r,i,m)):(Mt&&k&&Dd(i),i.flags|=1,qn(r,i,c,m),i.child)}function Vg(r,i,l,c,m){if(r===null){var g=l.type;return typeof g=="function"&&!Od(g)&&g.defaultProps===void 0&&l.compare===null?(i.tag=15,i.type=g,Kg(r,i,g,c,m)):(r=Wo(l.type,null,c,i,i.mode,m),r.ref=i.ref,r.return=i,i.child=r)}if(g=r.child,!_f(r,m)){var S=g.memoizedProps;if(l=l.compare,l=l!==null?l:au,l(S,c)&&r.ref===i.ref)return Va(r,i,m)}return i.flags|=1,r=za(g,c),r.ref=i.ref,r.return=i,i.child=r}function Kg(r,i,l,c,m){if(r!==null){var g=r.memoizedProps;if(au(g,c)&&r.ref===i.ref)if(Bn=!1,i.pendingProps=c=g,_f(r,m))(r.flags&131072)!==0&&(Bn=!0);else return i.lanes=r.lanes,Va(r,i,m)}return pf(r,i,l,c,m)}function $g(r,i,l){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|l:l,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 Xg(r,i,c,l)}if((l&536870912)!==0)i.memoizedState={baseLanes:0,cachePool:null},r!==null&&t0(i,g!==null?g.cachePool:null),g!==null?Kp(i,g):Kd(),Lg(i);else return i.lanes=i.childLanes=536870912,Xg(r,i,g!==null?g.baseLanes|l:l,l)}else g!==null?(t0(i,g.cachePool),Kp(i,g),xi(),i.memoizedState=null):(r!==null&&t0(i,null),Kd(),xi());return qn(r,i,m,l),i.child}function Xg(r,i,l,c){var m=Hd();return m=m===null?null:{parent:On._currentValue,pool:m},i.memoizedState={baseLanes:l,cachePool:m},r!==null&&t0(i,null),Kd(),Lg(i),r!==null&&ou(r,i,c,!0),null}function E0(r,i){var l=i.ref;if(l===null)r!==null&&r.ref!==null&&(i.flags|=4194816);else{if(typeof l!="function"&&typeof l!="object")throw Error(a(284));(r===null||r.ref!==l)&&(i.flags|=4194816)}}function pf(r,i,l,c,m){return Es(i),l=Wd(r,i,l,c,void 0,m),c=Qd(),r!==null&&!Bn?(Zd(r,i,m),Va(r,i,m)):(Mt&&c&&Dd(i),i.flags|=1,qn(r,i,l,m),i.child)}function Wg(r,i,l,c,m,g){return Es(i),i.updateQueue=null,l=Xp(i,c,l,m),$p(r),c=Qd(),r!==null&&!Bn?(Zd(r,i,g),Va(r,i,g)):(Mt&&c&&Dd(i),i.flags|=1,qn(r,i,l,g),i.child)}function Qg(r,i,l,c,m){if(Es(i),i.stateNode===null){var g=Gs,S=l.contextType;typeof S=="object"&&S!==null&&(g=Kn(S)),g=new l(c,g),i.memoizedState=g.state!==null&&g.state!==void 0?g.state:null,g.updater=hf,i.stateNode=g,g._reactInternals=i,g=i.stateNode,g.props=c,g.state=i.memoizedState,g.refs={},Yd(i),S=l.contextType,g.context=typeof S=="object"&&S!==null?Kn(S):Gs,g.state=i.memoizedState,S=l.getDerivedStateFromProps,typeof S=="function"&&(ff(i,l,S,c),g.state=i.memoizedState),typeof l.getDerivedStateFromProps=="function"||typeof g.getSnapshotBeforeUpdate=="function"||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(S=g.state,typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount(),S!==g.state&&hf.enqueueReplaceState(g,g.state,null),gu(i,c,g,m),pu(),g.state=i.memoizedState),typeof g.componentDidMount=="function"&&(i.flags|=4194308),c=!0}else if(r===null){g=i.stateNode;var k=i.memoizedProps,H=Ts(l,k);g.props=H;var J=g.context,ge=l.contextType;S=Gs,typeof ge=="object"&&ge!==null&&(S=Kn(ge));var ve=l.getDerivedStateFromProps;ge=typeof ve=="function"||typeof g.getSnapshotBeforeUpdate=="function",k=i.pendingProps!==k,ge||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(k||J!==S)&&Pg(i,g,c,S),yi=!1;var re=i.memoizedState;g.state=re,gu(i,c,g,m),pu(),J=i.memoizedState,k||re!==J||yi?(typeof ve=="function"&&(ff(i,l,ve,c),J=i.memoizedState),(H=yi||Bg(i,l,H,c,re,J,S))?(ge||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount()),typeof g.componentDidMount=="function"&&(i.flags|=4194308)):(typeof g.componentDidMount=="function"&&(i.flags|=4194308),i.memoizedProps=c,i.memoizedState=J),g.props=c,g.state=J,g.context=S,c=H):(typeof g.componentDidMount=="function"&&(i.flags|=4194308),c=!1)}else{g=i.stateNode,Gd(r,i),S=i.memoizedProps,ge=Ts(l,S),g.props=ge,ve=i.pendingProps,re=g.context,J=l.contextType,H=Gs,typeof J=="object"&&J!==null&&(H=Kn(J)),k=l.getDerivedStateFromProps,(J=typeof k=="function"||typeof g.getSnapshotBeforeUpdate=="function")||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(S!==ve||re!==H)&&Pg(i,g,c,H),yi=!1,re=i.memoizedState,g.state=re,gu(i,c,g,m),pu();var ie=i.memoizedState;S!==ve||re!==ie||yi||r!==null&&r.dependencies!==null&&Jo(r.dependencies)?(typeof k=="function"&&(ff(i,l,k,c),ie=i.memoizedState),(ge=yi||Bg(i,l,ge,c,re,ie,H)||r!==null&&r.dependencies!==null&&Jo(r.dependencies))?(J||typeof g.UNSAFE_componentWillUpdate!="function"&&typeof g.componentWillUpdate!="function"||(typeof g.componentWillUpdate=="function"&&g.componentWillUpdate(c,ie,H),typeof g.UNSAFE_componentWillUpdate=="function"&&g.UNSAFE_componentWillUpdate(c,ie,H)),typeof g.componentDidUpdate=="function"&&(i.flags|=4),typeof g.getSnapshotBeforeUpdate=="function"&&(i.flags|=1024)):(typeof g.componentDidUpdate!="function"||S===r.memoizedProps&&re===r.memoizedState||(i.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||S===r.memoizedProps&&re===r.memoizedState||(i.flags|=1024),i.memoizedProps=c,i.memoizedState=ie),g.props=c,g.state=ie,g.context=H,c=ge):(typeof g.componentDidUpdate!="function"||S===r.memoizedProps&&re===r.memoizedState||(i.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||S===r.memoizedProps&&re===r.memoizedState||(i.flags|=1024),c=!1)}return g=c,E0(r,i),c=(i.flags&128)!==0,g||c?(g=i.stateNode,l=c&&typeof l.getDerivedStateFromError!="function"?null:g.render(),i.flags|=1,r!==null&&c?(i.child=el(i,r.child,null,m),i.child=el(i,null,l,m)):qn(r,i,l,m),i.memoizedState=g.state,r=i.child):r=Va(r,i,m),r}function Zg(r,i,l,c){return lu(),i.flags|=256,qn(r,i,l,c),i.child}var gf={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function bf(r){return{baseLanes:r,cachePool:zp()}}function Ef(r,i,l){return r=r!==null?r.childLanes&~l:0,i&&(r|=Kr),r}function Jg(r,i,l){var c=i.pendingProps,m=!1,g=(i.flags&128)!==0,S;if((S=g)||(S=r!==null&&r.memoizedState===null?!1:(Rn.current&2)!==0),S&&(m=!0,i.flags&=-129),S=(i.flags&32)!==0,i.flags&=-33,r===null){if(Mt){if(m?Si(i):xi(),Mt){var k=hn,H;if(H=k){e:{for(H=k,k=ba;H.nodeType!==8;){if(!k){k=null;break e}if(H=ca(H.nextSibling),H===null){k=null;break e}}k=H}k!==null?(i.memoizedState={dehydrated:k,treeContext:hs!==null?{id:Fa,overflow:Ha}:null,retryLane:536870912,hydrationErrors:null},H=Nr(18,null,null,0),H.stateNode=k,H.return=i,i.child=H,nr=i,hn=null,H=!0):H=!1}H||gs(i)}if(k=i.memoizedState,k!==null&&(k=k.dehydrated,k!==null))return th(k)?i.lanes=32:i.lanes=536870912,null;ja(i)}return k=c.children,c=c.fallback,m?(xi(),m=i.mode,k=y0({mode:"hidden",children:k},m),c=fs(c,m,l,null),k.return=i,c.return=i,k.sibling=c,i.child=k,m=i.child,m.memoizedState=bf(l),m.childLanes=Ef(r,S,l),i.memoizedState=gf,c):(Si(i),yf(i,k))}if(H=r.memoizedState,H!==null&&(k=H.dehydrated,k!==null)){if(g)i.flags&256?(Si(i),i.flags&=-257,i=vf(r,i,l)):i.memoizedState!==null?(xi(),i.child=r.child,i.flags|=128,i=null):(xi(),m=c.fallback,k=i.mode,c=y0({mode:"visible",children:c.children},k),m=fs(m,k,l,null),m.flags|=2,c.return=i,m.return=i,c.sibling=m,i.child=c,el(i,r.child,null,l),c=i.child,c.memoizedState=bf(l),c.childLanes=Ef(r,S,l),i.memoizedState=gf,i=m);else if(Si(i),th(k)){if(S=k.nextSibling&&k.nextSibling.dataset,S)var J=S.dgst;S=J,c=Error(a(419)),c.stack="",c.digest=S,uu({value:c,source:null,stack:null}),i=vf(r,i,l)}else if(Bn||ou(r,i,l,!1),S=(l&r.childLanes)!==0,Bn||S){if(S=Vt,S!==null&&(c=l&-l,c=(c&42)!==0?1:De(c),c=(c&(S.suspendedLanes|l))!==0?0:c,c!==0&&c!==H.retryLane))throw H.retryLane=c,Ys(r,c),Mr(S,r,c),Gg;k.data==="$?"||Uf(),i=vf(r,i,l)}else k.data==="$?"?(i.flags|=192,i.child=r.child,i=null):(r=H.treeContext,hn=ca(k.nextSibling),nr=i,Mt=!0,ps=null,ba=!1,r!==null&&(Gr[jr++]=Fa,Gr[jr++]=Ha,Gr[jr++]=hs,Fa=r.id,Ha=r.overflow,hs=i),i=yf(i,c.children),i.flags|=4096);return i}return m?(xi(),m=c.fallback,k=i.mode,H=r.child,J=H.sibling,c=za(H,{mode:"hidden",children:c.children}),c.subtreeFlags=H.subtreeFlags&65011712,J!==null?m=za(J,m):(m=fs(m,k,l,null),m.flags|=2),m.return=i,c.return=i,c.sibling=m,i.child=c,c=m,m=i.child,k=r.child.memoizedState,k===null?k=bf(l):(H=k.cachePool,H!==null?(J=On._currentValue,H=H.parent!==J?{parent:J,pool:J}:H):H=zp(),k={baseLanes:k.baseLanes|l,cachePool:H}),m.memoizedState=k,m.childLanes=Ef(r,S,l),i.memoizedState=gf,c):(Si(i),l=r.child,r=l.sibling,l=za(l,{mode:"visible",children:c.children}),l.return=i,l.sibling=null,r!==null&&(S=i.deletions,S===null?(i.deletions=[r],i.flags|=16):S.push(r)),i.child=l,i.memoizedState=null,l)}function yf(r,i){return i=y0({mode:"visible",children:i},r.mode),i.return=r,r.child=i}function y0(r,i){return r=Nr(22,r,null,i),r.lanes=0,r.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},r}function vf(r,i,l){return el(i,r.child,null,l),r=yf(i,i.pendingProps.children),r.flags|=2,i.memoizedState=null,r}function e2(r,i,l){r.lanes|=i;var c=r.alternate;c!==null&&(c.lanes|=i),Pd(r.return,i,l)}function Tf(r,i,l,c,m){var g=r.memoizedState;g===null?r.memoizedState={isBackwards:i,rendering:null,renderingStartTime:0,last:c,tail:l,tailMode:m}:(g.isBackwards=i,g.rendering=null,g.renderingStartTime=0,g.last=c,g.tail=l,g.tailMode=m)}function t2(r,i,l){var c=i.pendingProps,m=c.revealOrder,g=c.tail;if(qn(r,i,c.children,l),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&&e2(r,l,i);else if(r.tag===19)e2(r,l,i);else if(r.child!==null){r.child.return=r,r=r.child;continue}if(r===i)break e;for(;r.sibling===null;){if(r.return===null||r.return===i)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}c&=1}switch(M(Rn,c),m){case"forwards":for(l=i.child,m=null;l!==null;)r=l.alternate,r!==null&&p0(r)===null&&(m=l),l=l.sibling;l=m,l===null?(m=i.child,i.child=null):(m=l.sibling,l.sibling=null),Tf(i,!1,m,l,g);break;case"backwards":for(l=null,m=i.child,i.child=null;m!==null;){if(r=m.alternate,r!==null&&p0(r)===null){i.child=m;break}r=m.sibling,m.sibling=l,l=m,m=r}Tf(i,!0,l,null,g);break;case"together":Tf(i,!1,null,null,void 0);break;default:i.memoizedState=null}return i.child}function Va(r,i,l){if(r!==null&&(i.dependencies=r.dependencies),Ci|=i.lanes,(l&i.childLanes)===0)if(r!==null){if(ou(r,i,l,!1),(l&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,l=za(r,r.pendingProps),i.child=l,l.return=i;r.sibling!==null;)r=r.sibling,l=l.sibling=za(r,r.pendingProps),l.return=i;l.sibling=null}return i.child}function _f(r,i){return(r.lanes&i)!==0?!0:(r=r.dependencies,!!(r!==null&&Jo(r)))}function p8(r,i,l){switch(i.tag){case 3:st(i,i.stateNode.containerInfo),Ei(i,On,r.memoizedState.cache),lu();break;case 27:case 5:Pt(i);break;case 4:st(i,i.stateNode.containerInfo);break;case 10:Ei(i,i.type,i.memoizedProps.value);break;case 13:var c=i.memoizedState;if(c!==null)return c.dehydrated!==null?(Si(i),i.flags|=128,null):(l&i.child.childLanes)!==0?Jg(r,i,l):(Si(i),r=Va(r,i,l),r!==null?r.sibling:null);Si(i);break;case 19:var m=(r.flags&128)!==0;if(c=(l&i.childLanes)!==0,c||(ou(r,i,l,!1),c=(l&i.childLanes)!==0),m){if(c)return t2(r,i,l);i.flags|=128}if(m=i.memoizedState,m!==null&&(m.rendering=null,m.tail=null,m.lastEffect=null),M(Rn,Rn.current),c)break;return null;case 22:case 23:return i.lanes=0,$g(r,i,l);case 24:Ei(i,On,r.memoizedState.cache)}return Va(r,i,l)}function n2(r,i,l){if(r!==null)if(r.memoizedProps!==i.pendingProps)Bn=!0;else{if(!_f(r,l)&&(i.flags&128)===0)return Bn=!1,p8(r,i,l);Bn=(r.flags&131072)!==0}else Bn=!1,Mt&&(i.flags&1048576)!==0&&Mp(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")Od(c)?(r=Ts(c,r),i.tag=1,i=Qg(null,i,c,r,l)):(i.tag=0,i=pf(null,i,c,r,l));else{if(c!=null){if(m=c.$$typeof,m===X){i.tag=11,i=jg(null,i,c,r,l);break e}else if(m===ne){i.tag=14,i=Vg(null,i,c,r,l);break e}}throw i=ue(c)||c,Error(a(306,i,""))}}return i;case 0:return pf(r,i,i.type,i.pendingProps,l);case 1:return c=i.type,m=Ts(c,i.pendingProps),Qg(r,i,c,m,l);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,Gd(r,i),gu(i,c,null,l);var S=i.memoizedState;if(c=S.cache,Ei(i,On,c),c!==g.cache&&Ud(i,[On],l,!0),pu(),c=S.element,g.isDehydrated)if(g={element:c,isDehydrated:!1,cache:S.cache},i.updateQueue.baseState=g,i.memoizedState=g,i.flags&256){i=Zg(r,i,c,l);break e}else if(c!==m){m=qr(Error(a(424)),i),uu(m),i=Zg(r,i,c,l);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,ps=null,ba=!0,l=Ig(i,null,c,l),i.child=l;l;)l.flags=l.flags&-3|4096,l=l.sibling}else{if(lu(),c===m){i=Va(r,i,l);break e}qn(r,i,c,l)}i=i.child}return i;case 26:return E0(r,i),r===null?(l=s4(i.type,null,i.pendingProps,null))?i.memoizedState=l:Mt||(l=i.type,r=i.pendingProps,c=D0(Ue.current).createElement(l),c[Me]=i,c[Ge]=r,Gn(c,l,r),ln(c),i.stateNode=c):i.memoizedState=s4(i.type,r.memoizedProps,i.pendingProps,r.memoizedState),null;case 27:return Pt(i),r===null&&Mt&&(c=i.stateNode=r4(i.type,i.pendingProps,Ue.current),nr=i,ba=!0,m=hn,Di(i.type)?(nh=m,hn=ca(c.firstChild)):hn=m),qn(r,i,i.pendingProps.children,l),E0(r,i),r===null&&(i.flags|=4194304),i.child;case 5:return r===null&&Mt&&((m=c=hn)&&(c=Y8(c,i.type,i.pendingProps,ba),c!==null?(i.stateNode=c,nr=i,hn=ca(c.firstChild),ba=!1,m=!0):m=!1),m||gs(i)),Pt(i),m=i.type,g=i.pendingProps,S=r!==null?r.memoizedProps:null,c=g.children,Zf(m,g)?c=null:S!==null&&Zf(m,S)&&(i.flags|=32),i.memoizedState!==null&&(m=Wd(r,i,l8,null,null,l),Uu._currentValue=m),E0(r,i),qn(r,i,c,l),i.child;case 6:return r===null&&Mt&&((r=l=hn)&&(l=G8(l,i.pendingProps,ba),l!==null?(i.stateNode=l,nr=i,hn=null,r=!0):r=!1),r||gs(i)),null;case 13:return Jg(r,i,l);case 4:return st(i,i.stateNode.containerInfo),c=i.pendingProps,r===null?i.child=el(i,null,c,l):qn(r,i,c,l),i.child;case 11:return jg(r,i,i.type,i.pendingProps,l);case 7:return qn(r,i,i.pendingProps,l),i.child;case 8:return qn(r,i,i.pendingProps.children,l),i.child;case 12:return qn(r,i,i.pendingProps.children,l),i.child;case 10:return c=i.pendingProps,Ei(i,i.type,c.value),qn(r,i,c.children,l),i.child;case 9:return m=i.type._context,c=i.pendingProps.children,Es(i),m=Kn(m),c=c(m),i.flags|=1,qn(r,i,c,l),i.child;case 14:return Vg(r,i,i.type,i.pendingProps,l);case 15:return Kg(r,i,i.type,i.pendingProps,l);case 19:return t2(r,i,l);case 31:return c=i.pendingProps,l=i.mode,c={mode:c.mode,children:c.children},r===null?(l=y0(c,l),l.ref=i.ref,i.child=l,l.return=i,i=l):(l=za(r.child,c),l.ref=i.ref,i.child=l,l.return=i,i=l),i;case 22:return $g(r,i,l);case 24:return Es(i),c=Kn(On),r===null?(m=Hd(),m===null&&(m=Vt,g=zd(),m.pooledCache=g,g.refCount++,g!==null&&(m.pooledCacheLanes|=l),m=g),i.memoizedState={parent:c,cache:m},Yd(i),Ei(i,On,m)):((r.lanes&l)!==0&&(Gd(r,i),gu(i,null,null,l),pu()),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),Ei(i,On,c)):(c=g.cache,Ei(i,On,c),c!==m.cache&&Ud(i,[On],l,!0))),qn(r,i,i.pendingProps.children,l),i.child;case 29:throw i.pendingProps}throw Error(a(156,i.tag))}function Ka(r){r.flags|=4}function r2(r,i){if(i.type!=="stylesheet"||(i.state.loading&4)!==0)r.flags&=-16777217;else if(r.flags|=16777216,!d4(i)){if(i=Vr.current,i!==null&&((At&4194048)===At?Ea!==null:(At&62914560)!==At&&(At&536870912)===0||i!==Ea))throw hu=qd,Fp;r.flags|=8192}}function v0(r,i){i!==null&&(r.flags|=4),r.flags&16384&&(i=r.tag!==22?jl():536870912,r.lanes|=i,al|=i)}function Su(r,i){if(!Mt)switch(r.tailMode){case"hidden":i=r.tail;for(var l=null;i!==null;)i.alternate!==null&&(l=i),i=i.sibling;l===null?r.tail=null:l.sibling=null;break;case"collapsed":l=r.tail;for(var c=null;l!==null;)l.alternate!==null&&(c=l),l=l.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,l=0,c=0;if(i)for(var m=r.child;m!==null;)l|=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;)l|=m.lanes|m.childLanes,c|=m.subtreeFlags,c|=m.flags,m.return=r,m=m.sibling;return r.subtreeFlags|=c,r.childLanes=l,i}function g8(r,i,l){var c=i.pendingProps;switch(Id(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 l=i.stateNode,c=null,r!==null&&(c=r.memoizedState.cache),i.memoizedState.cache!==c&&(i.flags|=2048),Ya(On),Wt(),l.pendingContext&&(l.context=l.pendingContext,l.pendingContext=null),(r===null||r.child===null)&&(su(i)?Ka(i):r===null||r.memoizedState.isDehydrated&&(i.flags&256)===0||(i.flags|=1024,Lp())),on(i),null;case 26:return l=i.memoizedState,r===null?(Ka(i),l!==null?(on(i),r2(i,l)):(on(i),i.flags&=-16777217)):l?l!==r.memoizedState?(Ka(i),on(i),r2(i,l)):(on(i),i.flags&=-16777217):(r.memoizedProps!==c&&Ka(i),on(i),i.flags&=-16777217),null;case 27:In(i),l=Ue.current;var m=i.type;if(r!==null&&i.stateNode!=null)r.memoizedProps!==c&&Ka(i);else{if(!c){if(i.stateNode===null)throw Error(a(166));return on(i),null}r=Ie.current,su(i)?Dp(i):(r=r4(m,c,l),i.stateNode=r,Ka(i))}return on(i),null;case 5:if(In(i),l=i.type,r!==null&&i.stateNode!=null)r.memoizedProps!==c&&Ka(i);else{if(!c){if(i.stateNode===null)throw Error(a(166));return on(i),null}if(r=Ie.current,su(i))Dp(i);else{switch(m=D0(Ue.current),r){case 1:r=m.createElementNS("http://www.w3.org/2000/svg",l);break;case 2:r=m.createElementNS("http://www.w3.org/1998/Math/MathML",l);break;default:switch(l){case"svg":r=m.createElementNS("http://www.w3.org/2000/svg",l);break;case"math":r=m.createElementNS("http://www.w3.org/1998/Math/MathML",l);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(l,{is:c.is}):m.createElement(l)}}r[Me]=i,r[Ge]=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,l,c),l){case"button":case"input":case"select":case"textarea":r=!!c.autoFocus;break e;case"img":r=!0;break e;default:r=!1}r&&Ka(i)}}return on(i),i.flags&=-16777217,null;case 6:if(r&&i.stateNode!=null)r.memoizedProps!==c&&Ka(i);else{if(typeof c!="string"&&i.stateNode===null)throw Error(a(166));if(r=Ue.current,su(i)){if(r=i.stateNode,l=i.memoizedProps,c=null,m=nr,m!==null)switch(m.tag){case 27:case 5:c=m.memoizedProps}r[Me]=i,r=!!(r.nodeValue===l||c!==null&&c.suppressHydrationWarning===!0||W2(r.nodeValue,l)),r||gs(i)}else r=D0(r).createTextNode(c),r[Me]=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=su(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[Me]=i}else lu(),(i.flags&128)===0&&(i.memoizedState=null),i.flags|=4;on(i),m=!1}else m=Lp(),r!==null&&r.memoizedState!==null&&(r.memoizedState.hydrationErrors=m),m=!0;if(!m)return i.flags&256?(ja(i),i):(ja(i),null)}if(ja(i),(i.flags&128)!==0)return i.lanes=l,i;if(l=c!==null,r=r!==null&&r.memoizedState!==null,l){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 l!==r&&l&&(i.child.flags|=8192),v0(i,i.updateQueue),on(i),null;case 4:return Wt(),r===null&&Kf(i.stateNode.containerInfo),on(i),null;case 10:return Ya(i.type),on(i),null;case 19:if(pe(Rn),m=i.memoizedState,m===null)return on(i),null;if(c=(i.flags&128)!==0,g=m.rendering,g===null)if(c)Su(m,!1);else{if(mn!==0||r!==null&&(r.flags&128)!==0)for(r=i.child;r!==null;){if(g=p0(r),g!==null){for(i.flags|=128,Su(m,!1),r=g.updateQueue,i.updateQueue=r,v0(i,r),i.subtreeFlags=0,r=l,l=i.child;l!==null;)Rp(l,r),l=l.sibling;return M(Rn,Rn.current&1|2),i.child}r=r.sibling}m.tail!==null&&xt()>S0&&(i.flags|=128,c=!0,Su(m,!1),i.lanes=4194304)}else{if(!c)if(r=p0(g),r!==null){if(i.flags|=128,c=!0,r=r.updateQueue,i.updateQueue=r,v0(i,r),Su(m,!0),m.tail===null&&m.tailMode==="hidden"&&!g.alternate&&!Mt)return on(i),null}else 2*xt()-m.renderingStartTime>S0&&l!==536870912&&(i.flags|=128,c=!0,Su(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,M(Rn,c?r&1|2:r&1),i):(on(i),null);case 22:case 23:return ja(i),$d(),c=i.memoizedState!==null,r!==null?r.memoizedState!==null!==c&&(i.flags|=8192):c&&(i.flags|=8192),c?(l&536870912)!==0&&(i.flags&128)===0&&(on(i),i.subtreeFlags&6&&(i.flags|=8192)):on(i),l=i.updateQueue,l!==null&&v0(i,l.retryQueue),l=null,r!==null&&r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(l=r.memoizedState.cachePool.pool),c=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(c=i.memoizedState.cachePool.pool),c!==l&&(i.flags|=2048),r!==null&&pe(ys),null;case 24:return l=null,r!==null&&(l=r.memoizedState.cache),i.memoizedState.cache!==l&&(i.flags|=2048),Ya(On),on(i),null;case 25:return null;case 30:return null}throw Error(a(156,i.tag))}function b8(r,i){switch(Id(i),i.tag){case 1:return r=i.flags,r&65536?(i.flags=r&-65537|128,i):null;case 3:return Ya(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(ja(i),r=i.memoizedState,r!==null&&r.dehydrated!==null){if(i.alternate===null)throw Error(a(340));lu()}return r=i.flags,r&65536?(i.flags=r&-65537|128,i):null;case 19:return pe(Rn),null;case 4:return Wt(),null;case 10:return Ya(i.type),null;case 22:case 23:return ja(i),$d(),r!==null&&pe(ys),r=i.flags,r&65536?(i.flags=r&-65537|128,i):null;case 24:return Ya(On),null;case 25:return null;default:return null}}function a2(r,i){switch(Id(i),i.tag){case 3:Ya(On),Wt();break;case 26:case 27:case 5:In(i);break;case 4:Wt();break;case 13:ja(i);break;case 19:pe(Rn);break;case 10:Ya(i.type);break;case 22:case 23:ja(i),$d(),r!==null&&pe(ys);break;case 24:Ya(On)}}function xu(r,i){try{var l=i.updateQueue,c=l!==null?l.lastEffect:null;if(c!==null){var m=c.next;l=m;do{if((l.tag&r)===r){c=void 0;var g=l.create,S=l.inst;c=g(),S.destroy=c}l=l.next}while(l!==m)}}catch(k){Yt(i,i.return,k)}}function Ai(r,i,l){try{var c=i.updateQueue,m=c!==null?c.lastEffect:null;if(m!==null){var g=m.next;c=g;do{if((c.tag&r)===r){var S=c.inst,k=S.destroy;if(k!==void 0){S.destroy=void 0,m=i;var H=l,J=k;try{J()}catch(ge){Yt(m,H,ge)}}}c=c.next}while(c!==g)}}catch(ge){Yt(i,i.return,ge)}}function i2(r){var i=r.updateQueue;if(i!==null){var l=r.stateNode;try{Vp(i,l)}catch(c){Yt(r,r.return,c)}}}function s2(r,i,l){l.props=Ts(r.type,r.memoizedProps),l.state=r.memoizedState;try{l.componentWillUnmount()}catch(c){Yt(r,i,c)}}function Au(r,i){try{var l=r.ref;if(l!==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 l=="function"?r.refCleanup=l(c):l.current=c}}catch(m){Yt(r,i,m)}}function ya(r,i){var l=r.ref,c=r.refCleanup;if(l!==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 l=="function")try{l(null)}catch(m){Yt(r,i,m)}else l.current=null}function l2(r){var i=r.type,l=r.memoizedProps,c=r.stateNode;try{e:switch(i){case"button":case"input":case"select":case"textarea":l.autoFocus&&c.focus();break e;case"img":l.src?c.src=l.src:l.srcSet&&(c.srcset=l.srcSet)}}catch(m){Yt(r,r.return,m)}}function Sf(r,i,l){try{var c=r.stateNode;U8(c,r.type,l,i),c[Ge]=i}catch(m){Yt(r,r.return,m)}}function u2(r){return r.tag===5||r.tag===3||r.tag===26||r.tag===27&&Di(r.type)||r.tag===4}function xf(r){e:for(;;){for(;r.sibling===null;){if(r.return===null||u2(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&&Di(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 Af(r,i,l){var c=r.tag;if(c===5||c===6)r=r.stateNode,i?(l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l).insertBefore(r,i):(i=l.nodeType===9?l.body:l.nodeName==="HTML"?l.ownerDocument.body:l,i.appendChild(r),l=l._reactRootContainer,l!=null||i.onclick!==null||(i.onclick=M0));else if(c!==4&&(c===27&&Di(r.type)&&(l=r.stateNode,i=null),r=r.child,r!==null))for(Af(r,i,l),r=r.sibling;r!==null;)Af(r,i,l),r=r.sibling}function T0(r,i,l){var c=r.tag;if(c===5||c===6)r=r.stateNode,i?l.insertBefore(r,i):l.appendChild(r);else if(c!==4&&(c===27&&Di(r.type)&&(l=r.stateNode),r=r.child,r!==null))for(T0(r,i,l),r=r.sibling;r!==null;)T0(r,i,l),r=r.sibling}function o2(r){var i=r.stateNode,l=r.memoizedProps;try{for(var c=r.type,m=i.attributes;m.length;)i.removeAttributeNode(m[0]);Gn(i,c,l),i[Me]=r,i[Ge]=l}catch(g){Yt(r,r.return,g)}}var $a=!1,En=!1,wf=!1,c2=typeof WeakSet=="function"?WeakSet:Set,Pn=null;function E8(r,i){if(r=r.containerInfo,Wf=z0,r=Tp(r),Sd(r)){if("selectionStart"in r)var l={start:r.selectionStart,end:r.selectionEnd};else e:{l=(l=r.ownerDocument)&&l.defaultView||window;var c=l.getSelection&&l.getSelection();if(c&&c.rangeCount!==0){l=c.anchorNode;var m=c.anchorOffset,g=c.focusNode;c=c.focusOffset;try{l.nodeType,g.nodeType}catch{l=null;break e}var S=0,k=-1,H=-1,J=0,ge=0,ve=r,re=null;t:for(;;){for(var ie;ve!==l||m!==0&&ve.nodeType!==3||(k=S+m),ve!==g||c!==0&&ve.nodeType!==3||(H=S+c),ve.nodeType===3&&(S+=ve.nodeValue.length),(ie=ve.firstChild)!==null;)re=ve,ve=ie;for(;;){if(ve===r)break t;if(re===l&&++J===m&&(k=S),re===g&&++ge===c&&(H=S),(ie=ve.nextSibling)!==null)break;ve=re,re=ve.parentNode}ve=ie}l=k===-1||H===-1?null:{start:k,end:H}}else l=null}l=l||{start:0,end:0}}else l=null;for(Qf={focusedElem:r,selectionRange:l},z0=!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,l=i,m=g.memoizedProps,g=g.memoizedState,c=l.stateNode;try{var at=Ts(l.type,m,l.elementType===l.type);r=c.getSnapshotBeforeUpdate(at,g),c.__reactInternalSnapshotBeforeUpdate=r}catch(tt){Yt(l,l.return,tt)}}break;case 3:if((r&1024)!==0){if(r=i.stateNode.containerInfo,l=r.nodeType,l===9)eh(r);else if(l===1)switch(r.nodeName){case"HEAD":case"HTML":case"BODY":eh(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 d2(r,i,l){var c=l.flags;switch(l.tag){case 0:case 11:case 15:wi(r,l),c&4&&xu(5,l);break;case 1:if(wi(r,l),c&4)if(r=l.stateNode,i===null)try{r.componentDidMount()}catch(S){Yt(l,l.return,S)}else{var m=Ts(l.type,i.memoizedProps);i=i.memoizedState;try{r.componentDidUpdate(m,i,r.__reactInternalSnapshotBeforeUpdate)}catch(S){Yt(l,l.return,S)}}c&64&&i2(l),c&512&&Au(l,l.return);break;case 3:if(wi(r,l),c&64&&(r=l.updateQueue,r!==null)){if(i=null,l.child!==null)switch(l.child.tag){case 27:case 5:i=l.child.stateNode;break;case 1:i=l.child.stateNode}try{Vp(r,i)}catch(S){Yt(l,l.return,S)}}break;case 27:i===null&&c&4&&o2(l);case 26:case 5:wi(r,l),i===null&&c&4&&l2(l),c&512&&Au(l,l.return);break;case 12:wi(r,l);break;case 13:wi(r,l),c&4&&m2(r,l),c&64&&(r=l.memoizedState,r!==null&&(r=r.dehydrated,r!==null&&(l=N8.bind(null,l),j8(r,l))));break;case 22:if(c=l.memoizedState!==null||$a,!c){i=i!==null&&i.memoizedState!==null||En,m=$a;var g=En;$a=c,(En=i)&&!g?Ni(r,l,(l.subtreeFlags&8772)!==0):wi(r,l),$a=m,En=g}break;case 30:break;default:wi(r,l)}}function f2(r){var i=r.alternate;i!==null&&(r.alternate=null,f2(i)),r.child=null,r.deletions=null,r.sibling=null,r.tag===5&&(i=r.stateNode,i!==null&&rs(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 Xa(r,i,l){for(l=l.child;l!==null;)h2(r,i,l),l=l.sibling}function h2(r,i,l){if(_e&&typeof _e.onCommitFiberUnmount=="function")try{_e.onCommitFiberUnmount(ce,l)}catch{}switch(l.tag){case 26:En||ya(l,i),Xa(r,i,l),l.memoizedState?l.memoizedState.count--:l.stateNode&&(l=l.stateNode,l.parentNode.removeChild(l));break;case 27:En||ya(l,i);var c=tn,m=pr;Di(l.type)&&(tn=l.stateNode,pr=!1),Xa(r,i,l),Iu(l.stateNode),tn=c,pr=m;break;case 5:En||ya(l,i);case 6:if(c=tn,m=pr,tn=null,Xa(r,i,l),tn=c,pr=m,tn!==null)if(pr)try{(tn.nodeType===9?tn.body:tn.nodeName==="HTML"?tn.ownerDocument.body:tn).removeChild(l.stateNode)}catch(g){Yt(l,i,g)}else try{tn.removeChild(l.stateNode)}catch(g){Yt(l,i,g)}break;case 18:tn!==null&&(pr?(r=tn,t4(r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r,l.stateNode),qu(r)):t4(tn,l.stateNode));break;case 4:c=tn,m=pr,tn=l.stateNode.containerInfo,pr=!0,Xa(r,i,l),tn=c,pr=m;break;case 0:case 11:case 14:case 15:En||Ai(2,l,i),En||Ai(4,l,i),Xa(r,i,l);break;case 1:En||(ya(l,i),c=l.stateNode,typeof c.componentWillUnmount=="function"&&s2(l,i,c)),Xa(r,i,l);break;case 21:Xa(r,i,l);break;case 22:En=(c=En)||l.memoizedState!==null,Xa(r,i,l),En=c;break;default:Xa(r,i,l)}}function m2(r,i){if(i.memoizedState===null&&(r=i.alternate,r!==null&&(r=r.memoizedState,r!==null&&(r=r.dehydrated,r!==null))))try{qu(r)}catch(l){Yt(i,i.return,l)}}function y8(r){switch(r.tag){case 13:case 19:var i=r.stateNode;return i===null&&(i=r.stateNode=new c2),i;case 22:return r=r.stateNode,i=r._retryCache,i===null&&(i=r._retryCache=new c2),i;default:throw Error(a(435,r.tag))}}function Nf(r,i){var l=y8(r);i.forEach(function(c){var m=k8.bind(null,r,c);l.has(c)||(l.add(c),c.then(m,m))})}function kr(r,i){var l=i.deletions;if(l!==null)for(var c=0;c<l.length;c++){var m=l[c],g=r,S=i,k=S;e:for(;k!==null;){switch(k.tag){case 27:if(Di(k.type)){tn=k.stateNode,pr=!1;break e}break;case 5:tn=k.stateNode,pr=!1;break e;case 3:case 4:tn=k.stateNode.containerInfo,pr=!0;break e}k=k.return}if(tn===null)throw Error(a(160));h2(g,S,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;)p2(i,r),i=i.sibling}var oa=null;function p2(r,i){var l=r.alternate,c=r.flags;switch(r.tag){case 0:case 11:case 14:case 15:kr(i,r),Cr(r),c&4&&(Ai(3,r,r.return),xu(3,r),Ai(5,r,r.return));break;case 1:kr(i,r),Cr(r),c&512&&(En||l===null||ya(l,l.return)),c&64&&$a&&(r=r.updateQueue,r!==null&&(c=r.callbacks,c!==null&&(l=r.shared.hiddenCallbacks,r.shared.hiddenCallbacks=l===null?c:l.concat(c))));break;case 26:var m=oa;if(kr(i,r),Cr(r),c&512&&(En||l===null||ya(l,l.return)),c&4){var g=l!==null?l.memoizedState:null;if(c=r.memoizedState,l===null)if(c===null)if(r.stateNode===null){e:{c=r.type,l=r.memoizedProps,m=m.ownerDocument||m;t:switch(c){case"title":g=m.getElementsByTagName("title")[0],(!g||g[ns]||g[Me]||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,l),g[Me]=r,ln(g),c=g;break e;case"link":var S=o4("link","href",m).get(c+(l.href||""));if(S){for(var k=0;k<S.length;k++)if(g=S[k],g.getAttribute("href")===(l.href==null||l.href===""?null:l.href)&&g.getAttribute("rel")===(l.rel==null?null:l.rel)&&g.getAttribute("title")===(l.title==null?null:l.title)&&g.getAttribute("crossorigin")===(l.crossOrigin==null?null:l.crossOrigin)){S.splice(k,1);break t}}g=m.createElement(c),Gn(g,c,l),m.head.appendChild(g);break;case"meta":if(S=o4("meta","content",m).get(c+(l.content||""))){for(k=0;k<S.length;k++)if(g=S[k],g.getAttribute("content")===(l.content==null?null:""+l.content)&&g.getAttribute("name")===(l.name==null?null:l.name)&&g.getAttribute("property")===(l.property==null?null:l.property)&&g.getAttribute("http-equiv")===(l.httpEquiv==null?null:l.httpEquiv)&&g.getAttribute("charset")===(l.charSet==null?null:l.charSet)){S.splice(k,1);break t}}g=m.createElement(c),Gn(g,c,l),m.head.appendChild(g);break;default:throw Error(a(468,c))}g[Me]=r,ln(g),c=g}r.stateNode=c}else c4(m,r.type,r.stateNode);else r.stateNode=u4(m,c,r.memoizedProps);else g!==c?(g===null?l.stateNode!==null&&(l=l.stateNode,l.parentNode.removeChild(l)):g.count--,c===null?c4(m,r.type,r.stateNode):u4(m,c,r.memoizedProps)):c===null&&r.stateNode!==null&&Sf(r,r.memoizedProps,l.memoizedProps)}break;case 27:kr(i,r),Cr(r),c&512&&(En||l===null||ya(l,l.return)),l!==null&&c&4&&Sf(r,r.memoizedProps,l.memoizedProps);break;case 5:if(kr(i,r),Cr(r),c&512&&(En||l===null||ya(l,l.return)),r.flags&32){m=r.stateNode;try{ga(m,"")}catch(ie){Yt(r,r.return,ie)}}c&4&&r.stateNode!=null&&(m=r.memoizedProps,Sf(r,m,l!==null?l.memoizedProps:m)),c&1024&&(wf=!0);break;case 6:if(kr(i,r),Cr(r),c&4){if(r.stateNode===null)throw Error(a(162));c=r.memoizedProps,l=r.stateNode;try{l.nodeValue=c}catch(ie){Yt(r,r.return,ie)}}break;case 3:if(B0=null,m=oa,oa=I0(i.containerInfo),kr(i,r),oa=m,Cr(r),c&4&&l!==null&&l.memoizedState.isDehydrated)try{qu(i.containerInfo)}catch(ie){Yt(r,r.return,ie)}wf&&(wf=!1,g2(r));break;case 4:c=oa,oa=I0(r.stateNode.containerInfo),kr(i,r),Cr(r),oa=c;break;case 12:kr(i,r),Cr(r);break;case 13:kr(i,r),Cr(r),r.child.flags&8192&&r.memoizedState!==null!=(l!==null&&l.memoizedState!==null)&&(Df=xt()),c&4&&(c=r.updateQueue,c!==null&&(r.updateQueue=null,Nf(r,c)));break;case 22:m=r.memoizedState!==null;var H=l!==null&&l.memoizedState!==null,J=$a,ge=En;if($a=J||m,En=ge||H,kr(i,r),En=ge,$a=J,Cr(r),c&8192)e:for(i=r.stateNode,i._visibility=m?i._visibility&-2:i._visibility|1,m&&(l===null||H||$a||En||_s(r)),l=null,i=r;;){if(i.tag===5||i.tag===26){if(l===null){H=l=i;try{if(g=H.stateNode,m)S=g.style,typeof S.setProperty=="function"?S.setProperty("display","none","important"):S.display="none";else{k=H.stateNode;var ve=H.memoizedProps.style,re=ve!=null&&ve.hasOwnProperty("display")?ve.display:null;k.style.display=re==null||typeof re=="boolean"?"":(""+re).trim()}}catch(ie){Yt(H,H.return,ie)}}}else if(i.tag===6){if(l===null){H=i;try{H.stateNode.nodeValue=m?"":H.memoizedProps}catch(ie){Yt(H,H.return,ie)}}}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;l===i&&(l=null),i=i.return}l===i&&(l=null),i.sibling.return=i.return,i=i.sibling}c&4&&(c=r.updateQueue,c!==null&&(l=c.retryQueue,l!==null&&(c.retryQueue=null,Nf(r,l))));break;case 19:kr(i,r),Cr(r),c&4&&(c=r.updateQueue,c!==null&&(r.updateQueue=null,Nf(r,c)));break;case 30:break;case 21:break;default:kr(i,r),Cr(r)}}function Cr(r){var i=r.flags;if(i&2){try{for(var l,c=r.return;c!==null;){if(u2(c)){l=c;break}c=c.return}if(l==null)throw Error(a(160));switch(l.tag){case 27:var m=l.stateNode,g=xf(r);T0(r,g,m);break;case 5:var S=l.stateNode;l.flags&32&&(ga(S,""),l.flags&=-33);var k=xf(r);T0(r,k,S);break;case 3:case 4:var H=l.stateNode.containerInfo,J=xf(r);Af(r,J,H);break;default:throw Error(a(161))}}catch(ge){Yt(r,r.return,ge)}r.flags&=-3}i&4096&&(r.flags&=-4097)}function g2(r){if(r.subtreeFlags&1024)for(r=r.child;r!==null;){var i=r;g2(i),i.tag===5&&i.flags&1024&&i.stateNode.reset(),r=r.sibling}}function wi(r,i){if(i.subtreeFlags&8772)for(i=i.child;i!==null;)d2(r,i.alternate,i),i=i.sibling}function _s(r){for(r=r.child;r!==null;){var i=r;switch(i.tag){case 0:case 11:case 14:case 15:Ai(4,i,i.return),_s(i);break;case 1:ya(i,i.return);var l=i.stateNode;typeof l.componentWillUnmount=="function"&&s2(i,i.return,l),_s(i);break;case 27:Iu(i.stateNode);case 26:case 5:ya(i,i.return),_s(i);break;case 22:i.memoizedState===null&&_s(i);break;case 30:_s(i);break;default:_s(i)}r=r.sibling}}function Ni(r,i,l){for(l=l&&(i.subtreeFlags&8772)!==0,i=i.child;i!==null;){var c=i.alternate,m=r,g=i,S=g.flags;switch(g.tag){case 0:case 11:case 15:Ni(m,g,l),xu(4,g);break;case 1:if(Ni(m,g,l),c=g,m=c.stateNode,typeof m.componentDidMount=="function")try{m.componentDidMount()}catch(J){Yt(c,c.return,J)}if(c=g,m=c.updateQueue,m!==null){var k=c.stateNode;try{var H=m.shared.hiddenCallbacks;if(H!==null)for(m.shared.hiddenCallbacks=null,m=0;m<H.length;m++)jp(H[m],k)}catch(J){Yt(c,c.return,J)}}l&&S&64&&i2(g),Au(g,g.return);break;case 27:o2(g);case 26:case 5:Ni(m,g,l),l&&c===null&&S&4&&l2(g),Au(g,g.return);break;case 12:Ni(m,g,l);break;case 13:Ni(m,g,l),l&&S&4&&m2(m,g);break;case 22:g.memoizedState===null&&Ni(m,g,l),Au(g,g.return);break;case 30:break;default:Ni(m,g,l)}i=i.sibling}}function kf(r,i){var l=null;r!==null&&r.memoizedState!==null&&r.memoizedState.cachePool!==null&&(l=r.memoizedState.cachePool.pool),r=null,i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(r=i.memoizedState.cachePool.pool),r!==l&&(r!=null&&r.refCount++,l!=null&&cu(l))}function Cf(r,i){r=null,i.alternate!==null&&(r=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==r&&(i.refCount++,r!=null&&cu(r))}function va(r,i,l,c){if(i.subtreeFlags&10256)for(i=i.child;i!==null;)b2(r,i,l,c),i=i.sibling}function b2(r,i,l,c){var m=i.flags;switch(i.tag){case 0:case 11:case 15:va(r,i,l,c),m&2048&&xu(9,i);break;case 1:va(r,i,l,c);break;case 3:va(r,i,l,c),m&2048&&(r=null,i.alternate!==null&&(r=i.alternate.memoizedState.cache),i=i.memoizedState.cache,i!==r&&(i.refCount++,r!=null&&cu(r)));break;case 12:if(m&2048){va(r,i,l,c),r=i.stateNode;try{var g=i.memoizedProps,S=g.id,k=g.onPostCommit;typeof k=="function"&&k(S,i.alternate===null?"mount":"update",r.passiveEffectDuration,-0)}catch(H){Yt(i,i.return,H)}}else va(r,i,l,c);break;case 13:va(r,i,l,c);break;case 23:break;case 22:g=i.stateNode,S=i.alternate,i.memoizedState!==null?g._visibility&2?va(r,i,l,c):wu(r,i):g._visibility&2?va(r,i,l,c):(g._visibility|=2,tl(r,i,l,c,(i.subtreeFlags&10256)!==0)),m&2048&&kf(S,i);break;case 24:va(r,i,l,c),m&2048&&Cf(i.alternate,i);break;default:va(r,i,l,c)}}function tl(r,i,l,c,m){for(m=m&&(i.subtreeFlags&10256)!==0,i=i.child;i!==null;){var g=r,S=i,k=l,H=c,J=S.flags;switch(S.tag){case 0:case 11:case 15:tl(g,S,k,H,m),xu(8,S);break;case 23:break;case 22:var ge=S.stateNode;S.memoizedState!==null?ge._visibility&2?tl(g,S,k,H,m):wu(g,S):(ge._visibility|=2,tl(g,S,k,H,m)),m&&J&2048&&kf(S.alternate,S);break;case 24:tl(g,S,k,H,m),m&&J&2048&&Cf(S.alternate,S);break;default:tl(g,S,k,H,m)}i=i.sibling}}function wu(r,i){if(i.subtreeFlags&10256)for(i=i.child;i!==null;){var l=r,c=i,m=c.flags;switch(c.tag){case 22:wu(l,c),m&2048&&kf(c.alternate,c);break;case 24:wu(l,c),m&2048&&Cf(c.alternate,c);break;default:wu(l,c)}i=i.sibling}}var Nu=8192;function nl(r){if(r.subtreeFlags&Nu)for(r=r.child;r!==null;)E2(r),r=r.sibling}function E2(r){switch(r.tag){case 26:nl(r),r.flags&Nu&&r.memoizedState!==null&&av(oa,r.memoizedState,r.memoizedProps);break;case 5:nl(r);break;case 3:case 4:var i=oa;oa=I0(r.stateNode.containerInfo),nl(r),oa=i;break;case 22:r.memoizedState===null&&(i=r.alternate,i!==null&&i.memoizedState!==null?(i=Nu,Nu=16777216,nl(r),Nu=i):nl(r));break;default:nl(r)}}function y2(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 l=0;l<i.length;l++){var c=i[l];Pn=c,T2(c,r)}y2(r)}if(r.subtreeFlags&10256)for(r=r.child;r!==null;)v2(r),r=r.sibling}function v2(r){switch(r.tag){case 0:case 11:case 15:ku(r),r.flags&2048&&Ai(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,_0(r)):ku(r);break;default:ku(r)}}function _0(r){var i=r.deletions;if((r.flags&16)!==0){if(i!==null)for(var l=0;l<i.length;l++){var c=i[l];Pn=c,T2(c,r)}y2(r)}for(r=r.child;r!==null;){switch(i=r,i.tag){case 0:case 11:case 15:Ai(8,i,i.return),_0(i);break;case 22:l=i.stateNode,l._visibility&2&&(l._visibility&=-3,_0(i));break;default:_0(i)}r=r.sibling}}function T2(r,i){for(;Pn!==null;){var l=Pn;switch(l.tag){case 0:case 11:case 15:Ai(8,l,i);break;case 23:case 22:if(l.memoizedState!==null&&l.memoizedState.cachePool!==null){var c=l.memoizedState.cachePool.pool;c!=null&&c.refCount++}break;case 24:cu(l.memoizedState.cache)}if(c=l.child,c!==null)c.return=l,Pn=c;else e:for(l=r;Pn!==null;){c=Pn;var m=c.sibling,g=c.return;if(f2(c),c===l){Pn=null;break e}if(m!==null){m.return=g,Pn=m;break e}Pn=g}}}var v8={getCacheForType:function(r){var i=Kn(On),l=i.data.get(r);return l===void 0&&(l=r(),i.data.set(r,l)),l}},T8=typeof WeakMap=="function"?WeakMap:Map,Lt=0,Vt=null,Tt=null,At=0,Bt=0,Or=null,ki=!1,rl=!1,Of=!1,Wa=0,mn=0,Ci=0,Ss=0,Rf=0,Kr=0,al=0,Cu=null,gr=null,Mf=!1,Df=0,S0=1/0,x0=null,Oi=null,Yn=0,Ri=null,il=null,sl=0,If=0,Lf=null,_2=null,Ou=0,Bf=null;function Rr(){if((Lt&2)!==0&&At!==0)return At&-At;if(K.T!==null){var r=Ks;return r!==0?r:Yf()}return Jt()}function S2(){Kr===0&&(Kr=(At&536870912)===0||Mt?Gl():536870912);var r=Vr.current;return r!==null&&(r.flags|=32),Kr}function Mr(r,i,l){(r===Vt&&(Bt===2||Bt===9)||r.cancelPendingCommit!==null)&&(ll(r,0),Mi(r,At,Kr,!1)),di(r,l),((Lt&2)===0||r!==Vt)&&(r===Vt&&((Lt&2)===0&&(Ss|=l),mn===4&&Mi(r,At,Kr,!1)),Ta(r))}function x2(r,i,l){if((Lt&6)!==0)throw Error(a(327));var c=!l&&(i&124)===0&&(i&r.expiredLanes)===0||dr(r,i),m=c?x8(r,i):zf(r,i,!0),g=c;do{if(m===0){rl&&!c&&Mi(r,i,0,!1);break}else{if(l=r.current.alternate,g&&!_8(l)){m=zf(r,i,!1),g=!1;continue}if(m===2){if(g=i,r.errorRecoveryDisabledLanes&g)var S=0;else S=r.pendingLanes&-536870913,S=S!==0?S:S&536870912?536870912:0;if(S!==0){i=S;e:{var k=r;m=Cu;var H=k.current.memoizedState.isDehydrated;if(H&&(ll(k,S).flags|=256),S=zf(k,S,!1),S!==2){if(Of&&!H){k.errorRecoveryDisabledLanes|=g,Ss|=g,m=4;break e}g=gr,gr=m,g!==null&&(gr===null?gr=g:gr.push.apply(gr,g))}m=S}if(g=!1,m!==2)continue}}if(m===1){ll(r,0),Mi(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:Mi(c,i,Kr,!ki);break e;case 2:gr=null;break;case 3:case 5:break;default:throw Error(a(329))}if((i&62914560)===i&&(m=Df+300-xt(),10<m)){if(Mi(c,i,Kr,!ki),Tn(c,0,!0)!==0)break e;c.timeoutHandle=J2(A2.bind(null,c,l,gr,x0,Mf,i,Kr,Ss,al,ki,g,2,-0,0),m);break e}A2(c,l,gr,x0,Mf,i,Kr,Ss,al,ki,g,0,-0,0)}}break}while(!0);Ta(r)}function A2(r,i,l,c,m,g,S,k,H,J,ge,ve,re,ie){if(r.timeoutHandle=-1,ve=i.subtreeFlags,(ve&8192||(ve&16785408)===16785408)&&(Pu={stylesheets:null,count:0,unsuspend:rv},E2(i),ve=iv(),ve!==null)){r.cancelPendingCommit=ve(M2.bind(null,r,i,g,l,c,m,S,k,H,ge,1,re,ie)),Mi(r,g,S,!J);return}M2(r,i,g,l,c,m,S,k,H)}function _8(r){for(var i=r;;){var l=i.tag;if((l===0||l===11||l===15)&&i.flags&16384&&(l=i.updateQueue,l!==null&&(l=l.stores,l!==null)))for(var c=0;c<l.length;c++){var m=l[c],g=m.getSnapshot;m=m.value;try{if(!wr(g(),m))return!1}catch{return!1}}if(l=i.child,i.subtreeFlags&16384&&l!==null)l.return=i,i=l;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 Mi(r,i,l,c){i&=~Rf,i&=~Ss,r.suspendedLanes|=i,r.pingedLanes&=~i,c&&(r.warmLanes|=i),c=r.expirationTimes;for(var m=i;0<m;){var g=31-Qe(m),S=1<<g;c[g]=-1,m&=~S}l!==0&&Y(r,l,i)}function A0(){return(Lt&6)===0?(Ru(0),!1):!0}function Pf(){if(Tt!==null){if(Bt===0)var r=Tt.return;else r=Tt,qa=bs=null,Jd(r),Js=null,Tu=0,r=Tt;for(;r!==null;)a2(r.alternate,r),r=r.return;Tt=null}}function ll(r,i){var l=r.timeoutHandle;l!==-1&&(r.timeoutHandle=-1,F8(l)),l=r.cancelPendingCommit,l!==null&&(r.cancelPendingCommit=null,l()),Pf(),Vt=r,Tt=l=za(r.current,null),At=i,Bt=0,Or=null,ki=!1,rl=dr(r,i),Of=!1,al=Kr=Rf=Ss=Ci=mn=0,gr=Cu=null,Mf=!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 Wa=i,Ko(),l}function w2(r,i){gt=null,K.H=f0,i===fu||i===n0?(i=Yp(),Bt=3):i===Fp?(i=Yp(),Bt=4):Bt=i===Gg?8:i!==null&&typeof i=="object"&&typeof i.then=="function"?6:1,Or=i,Tt===null&&(mn=1,b0(r,qr(i,r.current)))}function N2(){var r=K.H;return K.H=f0,r===null?f0:r}function k2(){var r=K.A;return K.A=v8,r}function Uf(){mn=4,ki||(At&4194048)!==At&&Vr.current!==null||(rl=!0),(Ci&134217727)===0&&(Ss&134217727)===0||Vt===null||Mi(Vt,At,Kr,!1)}function zf(r,i,l){var c=Lt;Lt|=2;var m=N2(),g=k2();(Vt!==r||At!==i)&&(x0=null,ll(r,i)),i=!1;var S=mn;e:do try{if(Bt!==0&&Tt!==null){var k=Tt,H=Or;switch(Bt){case 8:Pf(),S=6;break e;case 3:case 2:case 9:case 6:Vr.current===null&&(i=!0);var J=Bt;if(Bt=0,Or=null,ul(r,k,H,J),l&&rl){S=0;break e}break;default:J=Bt,Bt=0,Or=null,ul(r,k,H,J)}}S8(),S=mn;break}catch(ge){w2(r,ge)}while(!0);return i&&r.shellSuspendCounter++,qa=bs=null,Lt=c,K.H=m,K.A=g,Tt===null&&(Vt=null,At=0,Ko()),S}function S8(){for(;Tt!==null;)C2(Tt)}function x8(r,i){var l=Lt;Lt|=2;var c=N2(),m=k2();Vt!==r||At!==i?(x0=null,S0=xt()+500,ll(r,i)):rl=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,ul(r,i,g,1);break;case 2:case 9:if(Hp(g)){Bt=0,Or=null,O2(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:Hp(g)?(Bt=0,Or=null,O2(i)):(Bt=0,Or=null,ul(r,i,g,7));break;case 5:var S=null;switch(Tt.tag){case 26:S=Tt.memoizedState;case 5:case 27:var k=Tt;if(!S||d4(S)){Bt=0,Or=null;var H=k.sibling;if(H!==null)Tt=H;else{var J=k.return;J!==null?(Tt=J,w0(J)):Tt=null}break t}}Bt=0,Or=null,ul(r,i,g,5);break;case 6:Bt=0,Or=null,ul(r,i,g,6);break;case 8:Pf(),mn=6;break e;default:throw Error(a(462))}}A8();break}catch(ge){w2(r,ge)}while(!0);return qa=bs=null,K.H=c,K.A=m,Lt=l,Tt!==null?0:(Vt=null,At=0,Ko(),mn)}function A8(){for(;Tt!==null&&!Ut();)C2(Tt)}function C2(r){var i=n2(r.alternate,r,Wa);r.memoizedProps=r.pendingProps,i===null?w0(r):Tt=i}function O2(r){var i=r,l=i.alternate;switch(i.tag){case 15:case 0:i=Wg(l,i,i.pendingProps,i.type,void 0,At);break;case 11:i=Wg(l,i,i.pendingProps,i.type.render,i.ref,At);break;case 5:Jd(i);default:a2(l,i),i=Tt=Rp(i,Wa),i=n2(l,i,Wa)}r.memoizedProps=r.pendingProps,i===null?w0(r):Tt=i}function ul(r,i,l,c){qa=bs=null,Jd(i),Js=null,Tu=0;var m=i.return;try{if(m8(r,m,i,l,At)){mn=1,b0(r,qr(l,r.current)),Tt=null;return}}catch(g){if(m!==null)throw Tt=m,g;mn=1,b0(r,qr(l,r.current)),Tt=null;return}i.flags&32768?(Mt||c===1?r=!0:rl||(At&536870912)!==0?r=!1:(ki=r=!0,(c===2||c===9||c===3||c===6)&&(c=Vr.current,c!==null&&c.tag===13&&(c.flags|=16384))),R2(i,r)):w0(i)}function w0(r){var i=r;do{if((i.flags&32768)!==0){R2(i,ki);return}r=i.return;var l=g8(i.alternate,i,Wa);if(l!==null){Tt=l;return}if(i=i.sibling,i!==null){Tt=i;return}Tt=i=r}while(i!==null);mn===0&&(mn=5)}function R2(r,i){do{var l=b8(r.alternate,r);if(l!==null){l.flags&=32767,Tt=l;return}if(l=r.return,l!==null&&(l.flags|=32768,l.subtreeFlags=0,l.deletions=null),!i&&(r=r.sibling,r!==null)){Tt=r;return}Tt=r=l}while(r!==null);mn=6,Tt=null}function M2(r,i,l,c,m,g,S,k,H){r.cancelPendingCommit=null;do N0();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|=kd,fi(r,l,g,S,k,H),r===Vt&&(Tt=Vt=null,At=0),il=i,Ri=r,sl=l,If=g,Lf=m,_2=c,(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0?(r.callbackNode=null,r.callbackPriority=0,C8(Ln,function(){return P2(),null})):(r.callbackNode=null,r.callbackPriority=0),c=(i.flags&13878)!==0,(i.subtreeFlags&13878)!==0||c){c=K.T,K.T=null,m=le.p,le.p=2,S=Lt,Lt|=4;try{E8(r,i,l)}finally{Lt=S,le.p=m,K.T=c}}Yn=1,D2(),I2(),L2()}}function D2(){if(Yn===1){Yn=0;var r=Ri,i=il,l=(i.flags&13878)!==0;if((i.subtreeFlags&13878)!==0||l){l=K.T,K.T=null;var c=le.p;le.p=2;var m=Lt;Lt|=4;try{p2(i,r);var g=Qf,S=Tp(r.containerInfo),k=g.focusedElem,H=g.selectionRange;if(S!==k&&k&&k.ownerDocument&&vp(k.ownerDocument.documentElement,k)){if(H!==null&&Sd(k)){var J=H.start,ge=H.end;if(ge===void 0&&(ge=J),"selectionStart"in k)k.selectionStart=J,k.selectionEnd=Math.min(ge,k.value.length);else{var ve=k.ownerDocument||document,re=ve&&ve.defaultView||window;if(re.getSelection){var ie=re.getSelection(),at=k.textContent.length,tt=Math.min(H.start,at),Ht=H.end===void 0?tt:Math.min(H.end,at);!ie.extend&&tt>Ht&&(S=Ht,Ht=tt,tt=S);var $=yp(k,tt),j=yp(k,Ht);if($&&j&&(ie.rangeCount!==1||ie.anchorNode!==$.node||ie.anchorOffset!==$.offset||ie.focusNode!==j.node||ie.focusOffset!==j.offset)){var Q=ve.createRange();Q.setStart($.node,$.offset),ie.removeAllRanges(),tt>Ht?(ie.addRange(Q),ie.extend(j.node,j.offset)):(Q.setEnd(j.node,j.offset),ie.addRange(Q))}}}}for(ve=[],ie=k;ie=ie.parentNode;)ie.nodeType===1&&ve.push({element:ie,left:ie.scrollLeft,top:ie.scrollTop});for(typeof k.focus=="function"&&k.focus(),k=0;k<ve.length;k++){var Ee=ve[k];Ee.element.scrollLeft=Ee.left,Ee.element.scrollTop=Ee.top}}z0=!!Wf,Qf=Wf=null}finally{Lt=m,le.p=c,K.T=l}}r.current=i,Yn=2}}function I2(){if(Yn===2){Yn=0;var r=Ri,i=il,l=(i.flags&8772)!==0;if((i.subtreeFlags&8772)!==0||l){l=K.T,K.T=null;var c=le.p;le.p=2;var m=Lt;Lt|=4;try{d2(r,i.alternate,i)}finally{Lt=m,le.p=c,K.T=l}}Yn=3}}function L2(){if(Yn===4||Yn===3){Yn=0,Ke();var r=Ri,i=il,l=sl,c=_2;(i.subtreeFlags&10256)!==0||(i.flags&10256)!==0?Yn=5:(Yn=0,il=Ri=null,B2(r,r.pendingLanes));var m=r.pendingLanes;if(m===0&&(Oi=null),rt(l),i=i.stateNode,_e&&typeof _e.onCommitFiberRoot=="function")try{_e.onCommitFiberRoot(ce,i,void 0,(i.current.flags&128)===128)}catch{}if(c!==null){i=K.T,m=le.p,le.p=2,K.T=null;try{for(var g=r.onRecoverableError,S=0;S<c.length;S++){var k=c[S];g(k.value,{componentStack:k.stack})}}finally{K.T=i,le.p=m}}(sl&3)!==0&&N0(),Ta(r),m=r.pendingLanes,(l&4194090)!==0&&(m&42)!==0?r===Bf?Ou++:(Ou=0,Bf=r):Ou=0,Ru(0)}}function B2(r,i){(r.pooledCacheLanes&=i)===0&&(i=r.pooledCache,i!=null&&(r.pooledCache=null,cu(i)))}function N0(r){return D2(),I2(),L2(),P2()}function P2(){if(Yn!==5)return!1;var r=Ri,i=If;If=0;var l=rt(sl),c=K.T,m=le.p;try{le.p=32>l?32:l,K.T=null,l=Lf,Lf=null;var g=Ri,S=sl;if(Yn=0,il=Ri=null,sl=0,(Lt&6)!==0)throw Error(a(331));var k=Lt;if(Lt|=4,v2(g.current),b2(g,g.current,S,l),Lt=k,Ru(0,!1),_e&&typeof _e.onPostCommitFiberRoot=="function")try{_e.onPostCommitFiberRoot(ce,g)}catch{}return!0}finally{le.p=m,K.T=c,B2(r,i)}}function U2(r,i,l){i=qr(l,i),i=mf(r.stateNode,i,2),r=Ti(r,i,2),r!==null&&(di(r,2),Ta(r))}function Yt(r,i,l){if(r.tag===3)U2(r,r,l);else for(;i!==null;){if(i.tag===3){U2(i,r,l);break}else if(i.tag===1){var c=i.stateNode;if(typeof i.type.getDerivedStateFromError=="function"||typeof c.componentDidCatch=="function"&&(Oi===null||!Oi.has(c))){r=qr(l,r),l=qg(2),c=Ti(i,l,2),c!==null&&(Yg(l,c,i,r),di(c,2),Ta(c));break}}i=i.return}}function Ff(r,i,l){var c=r.pingCache;if(c===null){c=r.pingCache=new T8;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(l)||(Of=!0,m.add(l),r=w8.bind(null,r,i,l),i.then(r,r))}function w8(r,i,l){var c=r.pingCache;c!==null&&c.delete(i),r.pingedLanes|=r.suspendedLanes&l,r.warmLanes&=~l,Vt===r&&(At&l)===l&&(mn===4||mn===3&&(At&62914560)===At&&300>xt()-Df?(Lt&2)===0&&ll(r,0):Rf|=l,al===At&&(al=0)),Ta(r)}function z2(r,i){i===0&&(i=jl()),r=Ys(r,i),r!==null&&(di(r,i),Ta(r))}function N8(r){var i=r.memoizedState,l=0;i!==null&&(l=i.retryLane),z2(r,l)}function k8(r,i){var l=0;switch(r.tag){case 13:var c=r.stateNode,m=r.memoizedState;m!==null&&(l=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),z2(r,l)}function C8(r,i){return vt(r,i)}var k0=null,ol=null,Hf=!1,C0=!1,qf=!1,xs=0;function Ta(r){r!==ol&&r.next===null&&(ol===null?k0=ol=r:ol=ol.next=r),C0=!0,Hf||(Hf=!0,R8())}function Ru(r,i){if(!qf&&C0){qf=!0;do for(var l=!1,c=k0;c!==null;){if(r!==0){var m=c.pendingLanes;if(m===0)var g=0;else{var S=c.suspendedLanes,k=c.pingedLanes;g=(1<<31-Qe(42|r)+1)-1,g&=m&~(S&~k),g=g&201326741?g&201326741|1:g?g|2:0}g!==0&&(l=!0,Y2(c,g))}else g=At,g=Tn(c,c===Vt?g:0,c.cancelPendingCommit!==null||c.timeoutHandle!==-1),(g&3)===0||dr(c,g)||(l=!0,Y2(c,g));c=c.next}while(l);qf=!1}}function O8(){F2()}function F2(){C0=Hf=!1;var r=0;xs!==0&&(z8()&&(r=xs),xs=0);for(var i=xt(),l=null,c=k0;c!==null;){var m=c.next,g=H2(c,i);g===0?(c.next=null,l===null?k0=m:l.next=m,m===null&&(ol=l)):(l=c,(r!==0||(g&3)!==0)&&(C0=!0)),c=m}Ru(r)}function H2(r,i){for(var l=r.suspendedLanes,c=r.pingedLanes,m=r.expirationTimes,g=r.pendingLanes&-62914561;0<g;){var S=31-Qe(g),k=1<<S,H=m[S];H===-1?((k&l)===0||(k&c)!==0)&&(m[S]=er(k,i)):H<=i&&(r.expiredLanes|=k),g&=~k}if(i=Vt,l=At,l=Tn(r,r===i?l:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),c=r.callbackNode,l===0||r===i&&(Bt===2||Bt===9)||r.cancelPendingCommit!==null)return c!==null&&c!==null&&mt(c),r.callbackNode=null,r.callbackPriority=0;if((l&3)===0||dr(r,l)){if(i=l&-l,i===r.callbackPriority)return i;switch(c!==null&&mt(c),rt(l)){case 2:case 8:l=Zt;break;case 32:l=Ln;break;case 268435456:l=pa;break;default:l=Ln}return c=q2.bind(null,r),l=vt(l,c),r.callbackPriority=i,r.callbackNode=l,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 l=r.callbackNode;if(N0()&&r.callbackNode!==l)return null;var c=At;return c=Tn(r,r===Vt?c:0,r.cancelPendingCommit!==null||r.timeoutHandle!==-1),c===0?null:(x2(r,c,i),H2(r,xt()),r.callbackNode!=null&&r.callbackNode===l?q2.bind(null,r):null)}function Y2(r,i){if(N0())return null;x2(r,i,!0)}function R8(){H8(function(){(Lt&6)!==0?vt(kt,O8):F2()})}function Yf(){return xs===0&&(xs=Gl()),xs}function G2(r){return r==null||typeof r=="symbol"||typeof r=="boolean"?null:typeof r=="function"?r:gi(""+r)}function j2(r,i){var l=i.ownerDocument.createElement("input");return l.name=i.name,l.value=i.value,r.id&&l.setAttribute("form",r.id),i.parentNode.insertBefore(l,i),r=new FormData(r),l.parentNode.removeChild(l),r}function M8(r,i,l,c,m){if(i==="submit"&&l&&l.stateNode===m){var g=G2((m[Ge]||null).action),S=c.submitter;S&&(i=(i=S[Ge]||null)?G2(i.formAction):S.getAttribute("formAction"),i!==null&&(g=i,S=null));var k=new Go("action","action",null,c,m);r.push({event:k,listeners:[{instance:null,listener:function(){if(c.defaultPrevented){if(xs!==0){var H=S?j2(m,S):new FormData(m);of(l,{pending:!0,data:H,method:m.method,action:g},null,H)}}else typeof g=="function"&&(k.preventDefault(),H=S?j2(m,S):new FormData(m),of(l,{pending:!0,data:H,method:m.method,action:g},g,H))},currentTarget:m}]})}}for(var Gf=0;Gf<Nd.length;Gf++){var jf=Nd[Gf],D8=jf.toLowerCase(),I8=jf[0].toUpperCase()+jf.slice(1);ua(D8,"on"+I8)}ua(xp,"onAnimationEnd"),ua(Ap,"onAnimationIteration"),ua(wp,"onAnimationStart"),ua("dblclick","onDoubleClick"),ua("focusin","onFocus"),ua("focusout","onBlur"),ua(Qy,"onTransitionRun"),ua(Zy,"onTransitionStart"),ua(Jy,"onTransitionCancel"),ua(Np,"onTransitionEnd"),tr("onMouseEnter",["mouseout","mouseover"]),tr("onMouseLeave",["mouseout","mouseover"]),tr("onPointerEnter",["pointerout","pointerover"]),tr("onPointerLeave",["pointerout","pointerover"]),La("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),La("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),La("onBeforeInput",["compositionend","keypress","textInput","paste"]),La("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),La("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),La("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Mu="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(" "),L8=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Mu));function V2(r,i){i=(i&4)!==0;for(var l=0;l<r.length;l++){var c=r[l],m=c.event;c=c.listeners;e:{var g=void 0;if(i)for(var S=c.length-1;0<=S;S--){var k=c[S],H=k.instance,J=k.currentTarget;if(k=k.listener,H!==g&&m.isPropagationStopped())break e;g=k,m.currentTarget=J;try{g(m)}catch(ge){g0(ge)}m.currentTarget=null,g=H}else for(S=0;S<c.length;S++){if(k=c[S],H=k.instance,J=k.currentTarget,k=k.listener,H!==g&&m.isPropagationStopped())break e;g=k,m.currentTarget=J;try{g(m)}catch(ge){g0(ge)}m.currentTarget=null,g=H}}}}function _t(r,i){var l=i[en];l===void 0&&(l=i[en]=new Set);var c=r+"__bubble";l.has(c)||(K2(i,r,2,!1),l.add(c))}function Vf(r,i,l){var c=0;i&&(c|=4),K2(l,r,c,i)}var O0="_reactListening"+Math.random().toString(36).slice(2);function Kf(r){if(!r[O0]){r[O0]=!0,Lo.forEach(function(l){l!=="selectionchange"&&(L8.has(l)||Vf(l,!1,r),Vf(l,!0,r))});var i=r.nodeType===9?r:r.ownerDocument;i===null||i[O0]||(i[O0]=!0,Vf("selectionchange",!1,i))}}function K2(r,i,l,c){switch(b4(i)){case 2:var m=uv;break;case 8:m=ov;break;default:m=lh}l=m.bind(null,i,l,r),m=void 0,!md||i!=="touchstart"&&i!=="touchmove"&&i!=="wheel"||(m=!0),c?m!==void 0?r.addEventListener(i,l,{capture:!0,passive:m}):r.addEventListener(i,l,!0):m!==void 0?r.addEventListener(i,l,{passive:m}):r.addEventListener(i,l,!1)}function $f(r,i,l,c,m){var g=c;if((i&1)===0&&(i&2)===0&&c!==null)e:for(;;){if(c===null)return;var S=c.tag;if(S===3||S===4){var k=c.stateNode.containerInfo;if(k===m)break;if(S===4)for(S=c.return;S!==null;){var H=S.tag;if((H===3||H===4)&&S.stateNode.containerInfo===m)return;S=S.return}for(;k!==null;){if(S=hi(k),S===null)return;if(H=S.tag,H===5||H===6||H===26||H===27){c=g=S;continue e}k=k.parentNode}}c=c.return}Hr(function(){var J=g,ge=Be(l),ve=[];e:{var re=kp.get(r);if(re!==void 0){var ie=Go,at=r;switch(r){case"keypress":if(qo(l)===0)break e;case"keydown":case"keyup":ie=Cy;break;case"focusin":at="focus",ie=Ed;break;case"focusout":at="blur",ie=Ed;break;case"beforeblur":case"afterblur":ie=Ed;break;case"click":if(l.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ie=rp;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ie=by;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ie=My;break;case xp:case Ap:case wp:ie=vy;break;case Np:ie=Iy;break;case"scroll":case"scrollend":ie=py;break;case"wheel":ie=By;break;case"copy":case"cut":case"paste":ie=_y;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ie=ip;break;case"toggle":case"beforetoggle":ie=Uy}var tt=(i&4)!==0,Ht=!tt&&(r==="scroll"||r==="scrollend"),$=tt?re!==null?re+"Capture":null:re;tt=[];for(var j=J,Q;j!==null;){var Ee=j;if(Q=Ee.stateNode,Ee=Ee.tag,Ee!==5&&Ee!==26&&Ee!==27||Q===null||$===null||(Ee=us(j,$),Ee!=null&&tt.push(Du(j,Ee,Q))),Ht)break;j=j.return}0<tt.length&&(re=new ie(re,at,null,l,ge),ve.push({event:re,listeners:tt}))}}if((i&7)===0){e:{if(re=r==="mouseover"||r==="pointerover",ie=r==="mouseout"||r==="pointerout",re&&l!==ls&&(at=l.relatedTarget||l.fromElement)&&(hi(at)||at[Qt]))break e;if((ie||re)&&(re=ge.window===ge?ge:(re=ge.ownerDocument)?re.defaultView||re.parentWindow:window,ie?(at=l.relatedTarget||l.toElement,ie=J,at=at?hi(at):null,at!==null&&(Ht=u(at),tt=at.tag,at!==Ht||tt!==5&&tt!==27&&tt!==6)&&(at=null)):(ie=null,at=J),ie!==at)){if(tt=rp,Ee="onMouseLeave",$="onMouseEnter",j="mouse",(r==="pointerout"||r==="pointerover")&&(tt=ip,Ee="onPointerLeave",$="onPointerEnter",j="pointer"),Ht=ie==null?re:as(ie),Q=at==null?re:as(at),re=new tt(Ee,j+"leave",ie,l,ge),re.target=Ht,re.relatedTarget=Q,Ee=null,hi(ge)===J&&(tt=new tt($,j+"enter",at,l,ge),tt.target=Q,tt.relatedTarget=Ht,Ee=tt),Ht=Ee,ie&&at)t:{for(tt=ie,$=at,j=0,Q=tt;Q;Q=cl(Q))j++;for(Q=0,Ee=$;Ee;Ee=cl(Ee))Q++;for(;0<j-Q;)tt=cl(tt),j--;for(;0<Q-j;)$=cl($),Q--;for(;j--;){if(tt===$||$!==null&&tt===$.alternate)break t;tt=cl(tt),$=cl($)}tt=null}else tt=null;ie!==null&&$2(ve,re,ie,tt,!1),at!==null&&Ht!==null&&$2(ve,Ht,at,tt,!0)}}e:{if(re=J?as(J):window,ie=re.nodeName&&re.nodeName.toLowerCase(),ie==="select"||ie==="input"&&re.type==="file")var Ye=hp;else if(dp(re))if(mp)Ye=$y;else{Ye=Vy;var bt=jy}else ie=re.nodeName,!ie||ie.toLowerCase()!=="input"||re.type!=="checkbox"&&re.type!=="radio"?J&&It(J.elementType)&&(Ye=hp):Ye=Ky;if(Ye&&(Ye=Ye(r,J))){fp(ve,Ye,l,ge);break e}bt&&bt(r,re,J),r==="focusout"&&J&&re.type==="number"&&J.memoizedProps.value!=null&&pi(re,"number",re.value)}switch(bt=J?as(J):window,r){case"focusin":(dp(bt)||bt.contentEditable==="true")&&(Fs=bt,xd=J,iu=null);break;case"focusout":iu=xd=Fs=null;break;case"mousedown":Ad=!0;break;case"contextmenu":case"mouseup":case"dragend":Ad=!1,_p(ve,l,ge);break;case"selectionchange":if(Wy)break;case"keydown":case"keyup":_p(ve,l,ge)}var We;if(vd)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 zs?op(r,l)&&(nt="onCompositionEnd"):r==="keydown"&&l.keyCode===229&&(nt="onCompositionStart");nt&&(sp&&l.locale!=="ko"&&(zs||nt!=="onCompositionStart"?nt==="onCompositionEnd"&&zs&&(We=tp()):(bi=ge,pd="value"in bi?bi.value:bi.textContent,zs=!0)),bt=R0(J,nt),0<bt.length&&(nt=new ap(nt,r,null,l,ge),ve.push({event:nt,listeners:bt}),We?nt.data=We:(We=cp(l),We!==null&&(nt.data=We)))),(We=Fy?Hy(r,l):qy(r,l))&&(nt=R0(J,"onBeforeInput"),0<nt.length&&(bt=new ap("onBeforeInput","beforeinput",null,l,ge),ve.push({event:bt,listeners:nt}),bt.data=We)),M8(ve,r,J,l,ge)}V2(ve,i)})}function Du(r,i,l){return{instance:r,listener:i,currentTarget:l}}function R0(r,i){for(var l=i+"Capture",c=[];r!==null;){var m=r,g=m.stateNode;if(m=m.tag,m!==5&&m!==26&&m!==27||g===null||(m=us(r,l),m!=null&&c.unshift(Du(r,m,g)),m=us(r,i),m!=null&&c.push(Du(r,m,g))),r.tag===3)return c;r=r.return}return[]}function cl(r){if(r===null)return null;do r=r.return;while(r&&r.tag!==5&&r.tag!==27);return r||null}function $2(r,i,l,c,m){for(var g=i._reactName,S=[];l!==null&&l!==c;){var k=l,H=k.alternate,J=k.stateNode;if(k=k.tag,H!==null&&H===c)break;k!==5&&k!==26&&k!==27||J===null||(H=J,m?(J=us(l,g),J!=null&&S.unshift(Du(l,J,H))):m||(J=us(l,g),J!=null&&S.push(Du(l,J,H)))),l=l.return}S.length!==0&&r.push({event:i,listeners:S})}var B8=/\r\n?/g,P8=/\u0000|\uFFFD/g;function X2(r){return(typeof r=="string"?r:""+r).replace(B8,`
|
|
49
|
+
`).replace(P8,"")}function W2(r,i){return i=X2(i),X2(r)===i}function M0(){}function Ft(r,i,l,c,m,g){switch(l){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":Ba(r,"class",c);break;case"tabIndex":Ba(r,"tabindex",c);break;case"dir":case"role":case"viewBox":case"width":case"height":Ba(r,l,c);break;case"style":_n(r,c,g);break;case"data":if(i!=="object"){Ba(r,"data",c);break}case"src":case"href":if(c===""&&(i!=="a"||l!=="href")){r.removeAttribute(l);break}if(c==null||typeof c=="function"||typeof c=="symbol"||typeof c=="boolean"){r.removeAttribute(l);break}c=gi(""+c),r.setAttribute(l,c);break;case"action":case"formAction":if(typeof c=="function"){r.setAttribute(l,"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"&&(l==="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(l);break}c=gi(""+c),r.setAttribute(l,c);break;case"onClick":c!=null&&(r.onclick=M0);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(l=c.__html,l!=null){if(m.children!=null)throw Error(a(60));r.innerHTML=l}}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}l=gi(""+c),r.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l);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(l,""+c):r.removeAttribute(l);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(l,""):r.removeAttribute(l);break;case"capture":case"download":c===!0?r.setAttribute(l,""):c!==!1&&c!=null&&typeof c!="function"&&typeof c!="symbol"?r.setAttribute(l,c):r.removeAttribute(l);break;case"cols":case"rows":case"size":case"span":c!=null&&typeof c!="function"&&typeof c!="symbol"&&!isNaN(c)&&1<=c?r.setAttribute(l,c):r.removeAttribute(l);break;case"rowSpan":case"start":c==null||typeof c=="function"||typeof c=="symbol"||isNaN(c)?r.removeAttribute(l):r.setAttribute(l,c);break;case"popover":_t("beforetoggle",r),_t("toggle",r),Ps(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":Ps(r,"is",c);break;case"innerText":case"textContent":break;default:(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N")&&(l=Us.get(l)||l,Ps(r,l,c))}}function Xf(r,i,l,c,m,g){switch(l){case"style":_n(r,c,g);break;case"dangerouslySetInnerHTML":if(c!=null){if(typeof c!="object"||!("__html"in c))throw Error(a(61));if(l=c.__html,l!=null){if(m.children!=null)throw Error(a(60));r.innerHTML=l}}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=M0);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Bo.hasOwnProperty(l))e:{if(l[0]==="o"&&l[1]==="n"&&(m=l.endsWith("Capture"),i=l.slice(2,m?l.length-7:void 0),g=r[Ge]||null,g=g!=null?g[l]:null,typeof g=="function"&&r.removeEventListener(i,g,m),typeof c=="function")){typeof g!="function"&&g!==null&&(l in r?r[l]=null:r.hasAttribute(l)&&r.removeAttribute(l)),r.addEventListener(i,c,m);break e}l in r?r[l]=c:c===!0?r.setAttribute(l,""):Ps(r,l,c)}}}function Gn(r,i,l){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 l)if(l.hasOwnProperty(g)){var S=l[g];if(S!=null)switch(g){case"src":c=!0;break;case"srcSet":m=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(a(137,i));default:Ft(r,i,g,S,l,null)}}m&&Ft(r,i,"srcSet",l.srcSet,l,null),c&&Ft(r,i,"src",l.src,l,null);return;case"input":_t("invalid",r);var k=g=S=m=null,H=null,J=null;for(c in l)if(l.hasOwnProperty(c)){var ge=l[c];if(ge!=null)switch(c){case"name":m=ge;break;case"type":S=ge;break;case"checked":H=ge;break;case"defaultChecked":J=ge;break;case"value":g=ge;break;case"defaultValue":k=ge;break;case"children":case"dangerouslySetInnerHTML":if(ge!=null)throw Error(a(137,i));break;default:Ft(r,i,c,ge,l,null)}}zo(r,g,k,H,J,S,m,!1),is(r);return;case"select":_t("invalid",r),c=S=g=null;for(m in l)if(l.hasOwnProperty(m)&&(k=l[m],k!=null))switch(m){case"value":g=k;break;case"defaultValue":S=k;break;case"multiple":c=k;default:Ft(r,i,m,k,l,null)}i=g,l=S,r.multiple=!!c,i!=null?Pa(r,!!c,i,!1):l!=null&&Pa(r,!!c,l,!0);return;case"textarea":_t("invalid",r),g=m=c=null;for(S in l)if(l.hasOwnProperty(S)&&(k=l[S],k!=null))switch(S){case"value":c=k;break;case"defaultValue":m=k;break;case"children":g=k;break;case"dangerouslySetInnerHTML":if(k!=null)throw Error(a(91));break;default:Ft(r,i,S,k,l,null)}Fo(r,c,m,g),is(r);return;case"option":for(H in l)if(l.hasOwnProperty(H)&&(c=l[H],c!=null))switch(H){case"selected":r.selected=c&&typeof c!="function"&&typeof c!="symbol";break;default:Ft(r,i,H,c,l,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<Mu.length;c++)_t(Mu[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(J in l)if(l.hasOwnProperty(J)&&(c=l[J],c!=null))switch(J){case"children":case"dangerouslySetInnerHTML":throw Error(a(137,i));default:Ft(r,i,J,c,l,null)}return;default:if(It(i)){for(ge in l)l.hasOwnProperty(ge)&&(c=l[ge],c!==void 0&&Xf(r,i,ge,c,l,void 0));return}}for(k in l)l.hasOwnProperty(k)&&(c=l[k],c!=null&&Ft(r,i,k,c,l,null))}function U8(r,i,l,c){switch(i){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var m=null,g=null,S=null,k=null,H=null,J=null,ge=null;for(ie in l){var ve=l[ie];if(l.hasOwnProperty(ie)&&ve!=null)switch(ie){case"checked":break;case"value":break;case"defaultValue":H=ve;default:c.hasOwnProperty(ie)||Ft(r,i,ie,null,c,ve)}}for(var re in c){var ie=c[re];if(ve=l[re],c.hasOwnProperty(re)&&(ie!=null||ve!=null))switch(re){case"type":g=ie;break;case"name":m=ie;break;case"checked":J=ie;break;case"defaultChecked":ge=ie;break;case"value":S=ie;break;case"defaultValue":k=ie;break;case"children":case"dangerouslySetInnerHTML":if(ie!=null)throw Error(a(137,i));break;default:ie!==ve&&Ft(r,i,re,ie,c,ve)}}Wl(r,S,k,H,J,ge,g,m);return;case"select":ie=S=k=re=null;for(g in l)if(H=l[g],l.hasOwnProperty(g)&&H!=null)switch(g){case"value":break;case"multiple":ie=H;default:c.hasOwnProperty(g)||Ft(r,i,g,null,c,H)}for(m in c)if(g=c[m],H=l[m],c.hasOwnProperty(m)&&(g!=null||H!=null))switch(m){case"value":re=g;break;case"defaultValue":k=g;break;case"multiple":S=g;default:g!==H&&Ft(r,i,m,g,c,H)}i=k,l=S,c=ie,re!=null?Pa(r,!!l,re,!1):!!c!=!!l&&(i!=null?Pa(r,!!l,i,!0):Pa(r,!!l,l?[]:"",!1));return;case"textarea":ie=re=null;for(k in l)if(m=l[k],l.hasOwnProperty(k)&&m!=null&&!c.hasOwnProperty(k))switch(k){case"value":break;case"children":break;default:Ft(r,i,k,null,c,m)}for(S in c)if(m=c[S],g=l[S],c.hasOwnProperty(S)&&(m!=null||g!=null))switch(S){case"value":re=m;break;case"defaultValue":ie=m;break;case"children":break;case"dangerouslySetInnerHTML":if(m!=null)throw Error(a(91));break;default:m!==g&&Ft(r,i,S,m,c,g)}Ar(r,re,ie);return;case"option":for(var at in l)if(re=l[at],l.hasOwnProperty(at)&&re!=null&&!c.hasOwnProperty(at))switch(at){case"selected":r.selected=!1;break;default:Ft(r,i,at,null,c,re)}for(H in c)if(re=c[H],ie=l[H],c.hasOwnProperty(H)&&re!==ie&&(re!=null||ie!=null))switch(H){case"selected":r.selected=re&&typeof re!="function"&&typeof re!="symbol";break;default:Ft(r,i,H,re,c,ie)}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 l)re=l[tt],l.hasOwnProperty(tt)&&re!=null&&!c.hasOwnProperty(tt)&&Ft(r,i,tt,null,c,re);for(J in c)if(re=c[J],ie=l[J],c.hasOwnProperty(J)&&re!==ie&&(re!=null||ie!=null))switch(J){case"children":case"dangerouslySetInnerHTML":if(re!=null)throw Error(a(137,i));break;default:Ft(r,i,J,re,c,ie)}return;default:if(It(i)){for(var Ht in l)re=l[Ht],l.hasOwnProperty(Ht)&&re!==void 0&&!c.hasOwnProperty(Ht)&&Xf(r,i,Ht,void 0,c,re);for(ge in c)re=c[ge],ie=l[ge],!c.hasOwnProperty(ge)||re===ie||re===void 0&&ie===void 0||Xf(r,i,ge,re,c,ie);return}}for(var $ in l)re=l[$],l.hasOwnProperty($)&&re!=null&&!c.hasOwnProperty($)&&Ft(r,i,$,null,c,re);for(ve in c)re=c[ve],ie=l[ve],!c.hasOwnProperty(ve)||re===ie||re==null&&ie==null||Ft(r,i,ve,re,c,ie)}var Wf=null,Qf=null;function D0(r){return r.nodeType===9?r:r.ownerDocument}function Q2(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 Z2(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 Zf(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 Jf=null;function z8(){var r=window.event;return r&&r.type==="popstate"?r===Jf?!1:(Jf=r,!0):(Jf=null,!1)}var J2=typeof setTimeout=="function"?setTimeout:void 0,F8=typeof clearTimeout=="function"?clearTimeout:void 0,e4=typeof Promise=="function"?Promise:void 0,H8=typeof queueMicrotask=="function"?queueMicrotask:typeof e4<"u"?function(r){return e4.resolve(null).then(r).catch(q8)}:J2;function q8(r){setTimeout(function(){throw r})}function Di(r){return r==="head"}function t4(r,i){var l=i,c=0,m=0;do{var g=l.nextSibling;if(r.removeChild(l),g&&g.nodeType===8)if(l=g.data,l==="/$"){if(0<c&&8>c){l=c;var S=r.ownerDocument;if(l&1&&Iu(S.documentElement),l&2&&Iu(S.body),l&4)for(l=S.head,Iu(l),S=l.firstChild;S;){var k=S.nextSibling,H=S.nodeName;S[ns]||H==="SCRIPT"||H==="STYLE"||H==="LINK"&&S.rel.toLowerCase()==="stylesheet"||l.removeChild(S),S=k}}if(m===0){r.removeChild(g),qu(i);return}m--}else l==="$"||l==="$?"||l==="$!"?m++:c=l.charCodeAt(0)-48;else c=0;l=g}while(l);qu(i)}function eh(r){var i=r.firstChild;for(i&&i.nodeType===10&&(i=i.nextSibling);i;){var l=i;switch(i=i.nextSibling,l.nodeName){case"HTML":case"HEAD":case"BODY":eh(l),rs(l);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(l.rel.toLowerCase()==="stylesheet")continue}r.removeChild(l)}}function Y8(r,i,l,c){for(;r.nodeType===1;){var m=l;if(r.nodeName.toLowerCase()!==i.toLowerCase()){if(!c&&(r.nodeName!=="INPUT"||r.type!=="hidden"))break}else if(c){if(!r[ns])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 G8(r,i,l){if(i==="")return null;for(;r.nodeType!==3;)if((r.nodeType!==1||r.nodeName!=="INPUT"||r.type!=="hidden")&&!l||(r=ca(r.nextSibling),r===null))return null;return r}function th(r){return r.data==="$!"||r.data==="$?"&&r.ownerDocument.readyState==="complete"}function j8(r,i){var l=r.ownerDocument;if(r.data!=="$?"||l.readyState==="complete")i();else{var c=function(){i(),l.removeEventListener("DOMContentLoaded",c)};l.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 nh=null;function n4(r){r=r.previousSibling;for(var i=0;r;){if(r.nodeType===8){var l=r.data;if(l==="$"||l==="$!"||l==="$?"){if(i===0)return r;i--}else l==="/$"&&i++}r=r.previousSibling}return null}function r4(r,i,l){switch(i=D0(l),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 Iu(r){for(var i=r.attributes;i.length;)r.removeAttributeNode(i[0]);rs(r)}var $r=new Map,a4=new Set;function I0(r){return typeof r.getRootNode=="function"?r.getRootNode():r.nodeType===9?r:r.ownerDocument}var Qa=le.d;le.d={f:V8,r:K8,D:$8,C:X8,L:W8,m:Q8,X:J8,S:Z8,M:ev};function V8(){var r=Qa.f(),i=A0();return r||i}function K8(r){var i=mi(r);i!==null&&i.tag===5&&i.type==="form"?xg(i):Qa.r(r)}var dl=typeof document>"u"?null:document;function i4(r,i,l){var c=dl;if(c&&typeof i=="string"&&i){var m=fr(i);m='link[rel="'+r+'"][href="'+m+'"]',typeof l=="string"&&(m+='[crossorigin="'+l+'"]'),a4.has(m)||(a4.add(m),r={rel:r,crossOrigin:l,href:i},c.querySelector(m)===null&&(i=c.createElement("link"),Gn(i,"link",r),ln(i),c.head.appendChild(i)))}}function $8(r){Qa.D(r),i4("dns-prefetch",r,null)}function X8(r,i){Qa.C(r,i),i4("preconnect",r,i)}function W8(r,i,l){Qa.L(r,i,l);var c=dl;if(c&&r&&i){var m='link[rel="preload"][as="'+fr(i)+'"]';i==="image"&&l&&l.imageSrcSet?(m+='[imagesrcset="'+fr(l.imageSrcSet)+'"]',typeof l.imageSizes=="string"&&(m+='[imagesizes="'+fr(l.imageSizes)+'"]')):m+='[href="'+fr(r)+'"]';var g=m;switch(i){case"style":g=fl(r);break;case"script":g=hl(r)}$r.has(g)||(r=p({rel:"preload",href:i==="image"&&l&&l.imageSrcSet?void 0:r,as:i},l),$r.set(g,r),c.querySelector(m)!==null||i==="style"&&c.querySelector(Lu(g))||i==="script"&&c.querySelector(Bu(g))||(i=c.createElement("link"),Gn(i,"link",r),ln(i),c.head.appendChild(i)))}}function Q8(r,i){Qa.m(r,i);var l=dl;if(l&&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=hl(r)}if(!$r.has(g)&&(r=p({rel:"modulepreload",href:r},i),$r.set(g,r),l.querySelector(m)===null)){switch(c){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(l.querySelector(Bu(g)))return}c=l.createElement("link"),Gn(c,"link",r),ln(c),l.head.appendChild(c)}}}function Z8(r,i,l){Qa.S(r,i,l);var c=dl;if(c&&r){var m=Ia(c).hoistableStyles,g=fl(r);i=i||"default";var S=m.get(g);if(!S){var k={loading:0,preload:null};if(S=c.querySelector(Lu(g)))k.loading=5;else{r=p({rel:"stylesheet",href:r,"data-precedence":i},l),(l=$r.get(g))&&rh(r,l);var H=S=c.createElement("link");ln(H),Gn(H,"link",r),H._p=new Promise(function(J,ge){H.onload=J,H.onerror=ge}),H.addEventListener("load",function(){k.loading|=1}),H.addEventListener("error",function(){k.loading|=2}),k.loading|=4,L0(S,i,c)}S={type:"stylesheet",instance:S,count:1,state:k},m.set(g,S)}}}function J8(r,i){Qa.X(r,i);var l=dl;if(l&&r){var c=Ia(l).hoistableScripts,m=hl(r),g=c.get(m);g||(g=l.querySelector(Bu(m)),g||(r=p({src:r,async:!0},i),(i=$r.get(m))&&ah(r,i),g=l.createElement("script"),ln(g),Gn(g,"link",r),l.head.appendChild(g)),g={type:"script",instance:g,count:1,state:null},c.set(m,g))}}function ev(r,i){Qa.M(r,i);var l=dl;if(l&&r){var c=Ia(l).hoistableScripts,m=hl(r),g=c.get(m);g||(g=l.querySelector(Bu(m)),g||(r=p({src:r,async:!0,type:"module"},i),(i=$r.get(m))&&ah(r,i),g=l.createElement("script"),ln(g),Gn(g,"link",r),l.head.appendChild(g)),g={type:"script",instance:g,count:1,state:null},c.set(m,g))}}function s4(r,i,l,c){var m=(m=Ue.current)?I0(m):null;if(!m)throw Error(a(446));switch(r){case"meta":case"title":return null;case"style":return typeof l.precedence=="string"&&typeof l.href=="string"?(i=fl(l.href),l=Ia(m).hoistableStyles,c=l.get(i),c||(c={type:"style",instance:null,count:0,state:null},l.set(i,c)),c):{type:"void",instance:null,count:0,state:null};case"link":if(l.rel==="stylesheet"&&typeof l.href=="string"&&typeof l.precedence=="string"){r=fl(l.href);var g=Ia(m).hoistableStyles,S=g.get(r);if(S||(m=m.ownerDocument||m,S={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},g.set(r,S),(g=m.querySelector(Lu(r)))&&!g._p&&(S.instance=g,S.state.loading=5),$r.has(r)||(l={rel:"preload",as:"style",href:l.href,crossOrigin:l.crossOrigin,integrity:l.integrity,media:l.media,hrefLang:l.hrefLang,referrerPolicy:l.referrerPolicy},$r.set(r,l),g||tv(m,r,l,S.state))),i&&c===null)throw Error(a(528,""));return S}if(i&&c!==null)throw Error(a(529,""));return null;case"script":return i=l.async,l=l.src,typeof l=="string"&&i&&typeof i!="function"&&typeof i!="symbol"?(i=hl(l),l=Ia(m).hoistableScripts,c=l.get(i),c||(c={type:"script",instance:null,count:0,state:null},l.set(i,c)),c):{type:"void",instance:null,count:0,state:null};default:throw Error(a(444,r))}}function fl(r){return'href="'+fr(r)+'"'}function Lu(r){return'link[rel="stylesheet"]['+r+"]"}function l4(r){return p({},r,{"data-precedence":r.precedence,precedence:null})}function tv(r,i,l,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",l),ln(i),r.head.appendChild(i))}function hl(r){return'[src="'+fr(r)+'"]'}function Bu(r){return"script[async]"+r}function u4(r,i,l){if(i.count++,i.instance===null)switch(i.type){case"style":var c=r.querySelector('style[data-href~="'+fr(l.href)+'"]');if(c)return i.instance=c,ln(c),c;var m=p({},l,{"data-href":l.href,"data-precedence":l.precedence,href:null,precedence:null});return c=(r.ownerDocument||r).createElement("style"),ln(c),Gn(c,"style",m),L0(c,l.precedence,r),i.instance=c;case"stylesheet":m=fl(l.href);var g=r.querySelector(Lu(m));if(g)return i.state.loading|=4,i.instance=g,ln(g),g;c=l4(l),(m=$r.get(m))&&rh(c,m),g=(r.ownerDocument||r).createElement("link"),ln(g);var S=g;return S._p=new Promise(function(k,H){S.onload=k,S.onerror=H}),Gn(g,"link",c),i.state.loading|=4,L0(g,l.precedence,r),i.instance=g;case"script":return g=hl(l.src),(m=r.querySelector(Bu(g)))?(i.instance=m,ln(m),m):(c=l,(m=$r.get(g))&&(c=p({},l),ah(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,L0(c,l.precedence,r));return i.instance}function L0(r,i,l){for(var c=l.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),m=c.length?c[c.length-1]:null,g=m,S=0;S<c.length;S++){var k=c[S];if(k.dataset.precedence===i)g=k;else if(g!==m)break}g?g.parentNode.insertBefore(r,g.nextSibling):(i=l.nodeType===9?l.head:l,i.insertBefore(r,i.firstChild))}function rh(r,i){r.crossOrigin==null&&(r.crossOrigin=i.crossOrigin),r.referrerPolicy==null&&(r.referrerPolicy=i.referrerPolicy),r.title==null&&(r.title=i.title)}function ah(r,i){r.crossOrigin==null&&(r.crossOrigin=i.crossOrigin),r.referrerPolicy==null&&(r.referrerPolicy=i.referrerPolicy),r.integrity==null&&(r.integrity=i.integrity)}var B0=null;function o4(r,i,l){if(B0===null){var c=new Map,m=B0=new Map;m.set(l,c)}else m=B0,c=m.get(l),c||(c=new Map,m.set(l,c));if(c.has(r))return c;for(c.set(r,null),l=l.getElementsByTagName(r),m=0;m<l.length;m++){var g=l[m];if(!(g[ns]||g[Me]||r==="link"&&g.getAttribute("rel")==="stylesheet")&&g.namespaceURI!=="http://www.w3.org/2000/svg"){var S=g.getAttribute(i)||"";S=r+S;var k=c.get(S);k?k.push(g):c.set(S,[g])}}return c}function c4(r,i,l){r=r.ownerDocument||r,r.head.insertBefore(l,i==="title"?r.querySelector("head > title"):null)}function nv(r,i,l){if(l===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 d4(r){return!(r.type==="stylesheet"&&(r.state.loading&3)===0)}var Pu=null;function rv(){}function av(r,i,l){if(Pu===null)throw Error(a(475));var c=Pu;if(i.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(i.state.loading&4)===0){if(i.instance===null){var m=fl(l.href),g=r.querySelector(Lu(m));if(g){r=g._p,r!==null&&typeof r=="object"&&typeof r.then=="function"&&(c.count++,c=P0.bind(c),r.then(c,c)),i.state.loading|=4,i.instance=g,ln(g);return}g=r.ownerDocument||r,l=l4(l),(m=$r.get(m))&&rh(l,m),g=g.createElement("link"),ln(g);var S=g;S._p=new Promise(function(k,H){S.onload=k,S.onerror=H}),Gn(g,"link",l),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=P0.bind(c),r.addEventListener("load",i),r.addEventListener("error",i))}}function iv(){if(Pu===null)throw Error(a(475));var r=Pu;return r.stylesheets&&r.count===0&&ih(r,r.stylesheets),0<r.count?function(i){var l=setTimeout(function(){if(r.stylesheets&&ih(r,r.stylesheets),r.unsuspend){var c=r.unsuspend;r.unsuspend=null,c()}},6e4);return r.unsuspend=i,function(){r.unsuspend=null,clearTimeout(l)}}:null}function P0(){if(this.count--,this.count===0){if(this.stylesheets)ih(this,this.stylesheets);else if(this.unsuspend){var r=this.unsuspend;this.unsuspend=null,r()}}}var U0=null;function ih(r,i){r.stylesheets=null,r.unsuspend!==null&&(r.count++,U0=new Map,i.forEach(sv,r),U0=null,P0.call(r))}function sv(r,i){if(!(i.state.loading&4)){var l=U0.get(r);if(l)var c=l.get(null);else{l=new Map,U0.set(r,l);for(var m=r.querySelectorAll("link[data-precedence],style[data-precedence]"),g=0;g<m.length;g++){var S=m[g];(S.nodeName==="LINK"||S.getAttribute("media")!=="not all")&&(l.set(S.dataset.precedence,S),c=S)}c&&l.set(null,c)}m=i.instance,S=m.getAttribute("data-precedence"),g=l.get(S)||c,g===c&&l.set(null,m),l.set(S,m),this.count++,c=P0.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 Uu={$$typeof:P,Provider:null,Consumer:null,_currentValue:me,_currentValue2:me,_threadCount:0};function lv(r,i,l,c,m,g,S,k){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=Vl(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Vl(0),this.hiddenUpdates=Vl(null),this.identifierPrefix=c,this.onUncaughtError=m,this.onCaughtError=g,this.onRecoverableError=S,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=k,this.incompleteTransitions=new Map}function f4(r,i,l,c,m,g,S,k,H,J,ge,ve){return r=new lv(r,i,l,S,k,H,J,ve),i=1,g===!0&&(i|=24),g=Nr(3,null,null,i),r.current=g,g.stateNode=r,i=zd(),i.refCount++,r.pooledCache=i,i.refCount++,g.memoizedState={element:c,isDehydrated:l,cache:i},Yd(g),r}function h4(r){return r?(r=Gs,r):Gs}function m4(r,i,l,c,m,g){m=h4(m),c.context===null?c.context=m:c.pendingContext=m,c=vi(i),c.payload={element:l},g=g===void 0?null:g,g!==null&&(c.callback=g),l=Ti(r,c,i),l!==null&&(Mr(l,r,i),mu(l,r,i))}function p4(r,i){if(r=r.memoizedState,r!==null&&r.dehydrated!==null){var l=r.retryLane;r.retryLane=l!==0&&l<i?l:i}}function sh(r,i){p4(r,i),(r=r.alternate)&&p4(r,i)}function g4(r){if(r.tag===13){var i=Ys(r,67108864);i!==null&&Mr(i,r,67108864),sh(r,67108864)}}var z0=!0;function uv(r,i,l,c){var m=K.T;K.T=null;var g=le.p;try{le.p=2,lh(r,i,l,c)}finally{le.p=g,K.T=m}}function ov(r,i,l,c){var m=K.T;K.T=null;var g=le.p;try{le.p=8,lh(r,i,l,c)}finally{le.p=g,K.T=m}}function lh(r,i,l,c){if(z0){var m=uh(c);if(m===null)$f(r,i,c,F0,l),E4(r,c);else if(dv(m,r,i,l,c))c.stopPropagation();else if(E4(r,c),i&4&&-1<cv.indexOf(r)){for(;m!==null;){var g=mi(m);if(g!==null)switch(g.tag){case 3:if(g=g.stateNode,g.current.memoizedState.isDehydrated){var S=Jn(g.pendingLanes);if(S!==0){var k=g;for(k.pendingLanes|=2,k.entangledLanes|=2;S;){var H=1<<31-Qe(S);k.entanglements[1]|=H,S&=~H}Ta(g),(Lt&6)===0&&(S0=xt()+500,Ru(0))}}break;case 13:k=Ys(g,2),k!==null&&Mr(k,g,2),A0(),sh(g,2)}if(g=uh(c),g===null&&$f(r,i,c,F0,l),g===m)break;m=g}m!==null&&c.stopPropagation()}else $f(r,i,c,null,l)}}function uh(r){return r=Be(r),oh(r)}var F0=null;function oh(r){if(F0=null,r=hi(r),r!==null){var i=u(r);if(i===null)r=null;else{var l=i.tag;if(l===13){if(r=o(i),r!==null)return r;r=null}else if(l===3){if(i.stateNode.current.memoizedState.isDehydrated)return i.tag===3?i.stateNode.containerInfo:null;r=null}else i!==r&&(r=null)}}return F0=r,null}function b4(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 kt:return 2;case Zt:return 8;case Ln:case ci:return 32;case pa:return 268435456;default:return 32}default:return 32}}var ch=!1,Ii=null,Li=null,Bi=null,zu=new Map,Fu=new Map,Pi=[],cv="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 E4(r,i){switch(r){case"focusin":case"focusout":Ii=null;break;case"dragenter":case"dragleave":Li=null;break;case"mouseover":case"mouseout":Bi=null;break;case"pointerover":case"pointerout":zu.delete(i.pointerId);break;case"gotpointercapture":case"lostpointercapture":Fu.delete(i.pointerId)}}function Hu(r,i,l,c,m,g){return r===null||r.nativeEvent!==g?(r={blockedOn:i,domEventName:l,eventSystemFlags:c,nativeEvent:g,targetContainers:[m]},i!==null&&(i=mi(i),i!==null&&g4(i)),r):(r.eventSystemFlags|=c,i=r.targetContainers,m!==null&&i.indexOf(m)===-1&&i.push(m),r)}function dv(r,i,l,c,m){switch(i){case"focusin":return Ii=Hu(Ii,r,i,l,c,m),!0;case"dragenter":return Li=Hu(Li,r,i,l,c,m),!0;case"mouseover":return Bi=Hu(Bi,r,i,l,c,m),!0;case"pointerover":var g=m.pointerId;return zu.set(g,Hu(zu.get(g)||null,r,i,l,c,m)),!0;case"gotpointercapture":return g=m.pointerId,Fu.set(g,Hu(Fu.get(g)||null,r,i,l,c,m)),!0}return!1}function y4(r){var i=hi(r.target);if(i!==null){var l=u(i);if(l!==null){if(i=l.tag,i===13){if(i=o(l),i!==null){r.blockedOn=i,sn(r.priority,function(){if(l.tag===13){var c=Rr();c=De(c);var m=Ys(l,c);m!==null&&Mr(m,l,c),sh(l,c)}});return}}else if(i===3&&l.stateNode.current.memoizedState.isDehydrated){r.blockedOn=l.tag===3?l.stateNode.containerInfo:null;return}}}r.blockedOn=null}function H0(r){if(r.blockedOn!==null)return!1;for(var i=r.targetContainers;0<i.length;){var l=uh(r.nativeEvent);if(l===null){l=r.nativeEvent;var c=new l.constructor(l.type,l);ls=c,l.target.dispatchEvent(c),ls=null}else return i=mi(l),i!==null&&g4(i),r.blockedOn=l,!1;i.shift()}return!0}function v4(r,i,l){H0(r)&&l.delete(i)}function fv(){ch=!1,Ii!==null&&H0(Ii)&&(Ii=null),Li!==null&&H0(Li)&&(Li=null),Bi!==null&&H0(Bi)&&(Bi=null),zu.forEach(v4),Fu.forEach(v4)}function q0(r,i){r.blockedOn===i&&(r.blockedOn=null,ch||(ch=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,fv)))}var Y0=null;function T4(r){Y0!==r&&(Y0=r,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){Y0===r&&(Y0=null);for(var i=0;i<r.length;i+=3){var l=r[i],c=r[i+1],m=r[i+2];if(typeof c!="function"){if(oh(c||l)===null)continue;break}var g=mi(l);g!==null&&(r.splice(i,3),i-=3,of(g,{pending:!0,data:m,method:l.method,action:c},c,m))}}))}function qu(r){function i(H){return q0(H,r)}Ii!==null&&q0(Ii,r),Li!==null&&q0(Li,r),Bi!==null&&q0(Bi,r),zu.forEach(i),Fu.forEach(i);for(var l=0;l<Pi.length;l++){var c=Pi[l];c.blockedOn===r&&(c.blockedOn=null)}for(;0<Pi.length&&(l=Pi[0],l.blockedOn===null);)y4(l),l.blockedOn===null&&Pi.shift();if(l=(r.ownerDocument||r).$$reactFormReplay,l!=null)for(c=0;c<l.length;c+=3){var m=l[c],g=l[c+1],S=m[Ge]||null;if(typeof g=="function")S||T4(l);else if(S){var k=null;if(g&&g.hasAttribute("formAction")){if(m=g,S=g[Ge]||null)k=S.formAction;else if(oh(m)!==null)continue}else k=S.action;typeof k=="function"?l[c+1]=k:(l.splice(c,3),c-=3),T4(l)}}}function dh(r){this._internalRoot=r}G0.prototype.render=dh.prototype.render=function(r){var i=this._internalRoot;if(i===null)throw Error(a(409));var l=i.current,c=Rr();m4(l,c,r,i,null,null)},G0.prototype.unmount=dh.prototype.unmount=function(){var r=this._internalRoot;if(r!==null){this._internalRoot=null;var i=r.containerInfo;m4(r.current,2,null,r,null,null),A0(),i[Qt]=null}};function G0(r){this._internalRoot=r}G0.prototype.unstable_scheduleHydration=function(r){if(r){var i=Jt();r={blockedOn:null,target:r,priority:i};for(var l=0;l<Pi.length&&i!==0&&i<Pi[l].priority;l++);Pi.splice(l,0,r),l===0&&y4(r)}};var _4=t.version;if(_4!=="19.1.0")throw Error(a(527,_4,"19.1.0"));le.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 hv={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:K,reconcilerVersion:"19.1.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var j0=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!j0.isDisabled&&j0.supportsFiber)try{ce=j0.inject(hv),_e=j0}catch{}}return Gu.createRoot=function(r,i){if(!s(r))throw Error(a(299));var l=!1,c="",m=Ug,g=zg,S=Fg,k=null;return i!=null&&(i.unstable_strictMode===!0&&(l=!0),i.identifierPrefix!==void 0&&(c=i.identifierPrefix),i.onUncaughtError!==void 0&&(m=i.onUncaughtError),i.onCaughtError!==void 0&&(g=i.onCaughtError),i.onRecoverableError!==void 0&&(S=i.onRecoverableError),i.unstable_transitionCallbacks!==void 0&&(k=i.unstable_transitionCallbacks)),i=f4(r,1,!1,null,null,l,c,m,g,S,k,null),r[Qt]=i.current,Kf(r),new dh(i)},Gu.hydrateRoot=function(r,i,l){if(!s(r))throw Error(a(299));var c=!1,m="",g=Ug,S=zg,k=Fg,H=null,J=null;return l!=null&&(l.unstable_strictMode===!0&&(c=!0),l.identifierPrefix!==void 0&&(m=l.identifierPrefix),l.onUncaughtError!==void 0&&(g=l.onUncaughtError),l.onCaughtError!==void 0&&(S=l.onCaughtError),l.onRecoverableError!==void 0&&(k=l.onRecoverableError),l.unstable_transitionCallbacks!==void 0&&(H=l.unstable_transitionCallbacks),l.formState!==void 0&&(J=l.formState)),i=f4(r,1,!0,i,l??null,c,m,g,S,k,H,J),i.context=h4(null),l=i.current,c=Rr(),c=De(c),m=vi(c),m.callback=null,Ti(l,m,c),l=c,i.current.lanes=l,di(i,l),Ta(i),r[Qt]=i.current,Kf(r),new G0(i)},Gu.version="19.1.0",Gu}var M4;function _v(){if(M4)return mh.exports;M4=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(),mh.exports=Tv(),mh.exports}var Sv=_v();function D4(e){const t=[],n=String(e||"");let a=n.indexOf(","),s=0,u=!1;for(;!u;){a===-1&&(a=n.length,u=!0);const o=n.slice(s,a).trim();(o||!u)&&t.push(o),s=a+1,a=n.indexOf(",",s)}return t}function m6(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const xv=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Av=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,wv={};function I4(e,t){return(wv.jsx?Av:xv).test(e)}const Nv=/[ \t\n\f\r]/g;function kv(e){return typeof e=="object"?e.type==="text"?L4(e.value):!1:L4(e)}function L4(e){return e.replace(Nv,"")===""}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 p6(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 ho(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 Cv=0;const ft=Rs(),wn=Rs(),E1=Rs(),Ce=Rs(),Kt=Rs(),xl=Rs(),Dr=Rs();function Rs(){return 2**++Cv}const y1=Object.freeze(Object.defineProperty({__proto__:null,boolean:ft,booleanish:wn,commaOrSpaceSeparated:Dr,commaSeparated:xl,number:Ce,overloadedBoolean:E1,spaceSeparated:Kt},Symbol.toStringTag,{value:"Module"})),Eh=Object.keys(y1);let im=class extends vr{constructor(t,n,a,s){let u=-1;if(super(t,n),B4(this,"space",s),typeof a=="number")for(;++u<Eh.length;){const o=Eh[u];B4(this,Eh[u],(a&y1[o])===y1[o])}}};im.prototype.defined=!0;function B4(e,t,n){n&&(e[t]=n)}function Il(e){const t={},n={};for(const[a,s]of Object.entries(e.properties)){const u=new im(a,e.transform(e.attributes||{},a),s,e.space);e.mustUseProperty&&e.mustUseProperty.includes(a)&&(u.mustUseProperty=!0),t[a]=u,n[ho(a)]=a,n[ho(u.attribute)]=a}return new vo(t,n,e.space)}const g6=Il({properties:{ariaActiveDescendant:null,ariaAtomic:wn,ariaAutoComplete:null,ariaBusy:wn,ariaChecked:wn,ariaColCount:Ce,ariaColIndex:Ce,ariaColSpan:Ce,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:Ce,ariaLive:null,ariaModal:wn,ariaMultiLine:wn,ariaMultiSelectable:wn,ariaOrientation:null,ariaOwns:Kt,ariaPlaceholder:null,ariaPosInSet:Ce,ariaPressed:wn,ariaReadOnly:wn,ariaRelevant:null,ariaRequired:wn,ariaRoleDescription:Kt,ariaRowCount:Ce,ariaRowIndex:Ce,ariaRowSpan:Ce,ariaSelected:wn,ariaSetSize:Ce,ariaSort:null,ariaValueMax:Ce,ariaValueMin:Ce,ariaValueNow:Ce,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function b6(e,t){return t in e?e[t]:t}function E6(e,t){return b6(e,t.toLowerCase())}const Ov=Il({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:xl,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:Ce,colSpan:null,content:null,contentEditable:wn,controls:ft,controlsList:Kt,coords:Ce|xl,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ft,defer:ft,dir:null,dirName:null,disabled:ft,download:E1,draggable:wn,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ft,formTarget:null,headers:Kt,height:Ce,hidden:E1,high:Ce,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:Ce,manifest:null,max:null,maxLength:Ce,media:null,method:null,min:null,minLength:Ce,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:Ce,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:Ce,rowSpan:Ce,sandbox:Kt,scope:null,scoped:ft,seamless:ft,selected:ft,shadowRootClonable:ft,shadowRootDelegatesFocus:ft,shadowRootMode:null,shape:null,size:Ce,sizes:null,slot:null,span:Ce,spellCheck:wn,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Ce,step:null,style:null,tabIndex:Ce,target:null,title:null,translate:null,type:null,typeMustMatch:ft,useMap:null,value:wn,width:Ce,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Kt,axis:null,background:null,bgColor:null,border:Ce,borderColor:null,bottomMargin:Ce,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:Ce,leftMargin:Ce,link:null,longDesc:null,lowSrc:null,marginHeight:Ce,marginWidth:Ce,noResize:ft,noHref:ft,noShade:ft,noWrap:ft,object:null,profile:null,prompt:null,rev:null,rightMargin:Ce,rules:null,scheme:null,scrolling:wn,standby:null,summary:null,text:null,topMargin:Ce,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Ce,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ft,disableRemotePlayback:ft,prefix:null,property:null,results:Ce,security:null,unselectable:null},space:"html",transform:E6}),Rv=Il({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:Ce,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Ce,amplitude:Ce,arabicForm:null,ascent:Ce,attributeName:null,attributeType:null,azimuth:Ce,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Ce,by:null,calcMode:null,capHeight:Ce,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:Ce,diffuseConstant:Ce,direction:null,display:null,dur:null,divisor:Ce,dominantBaseline:null,download:ft,dx:null,dy:null,edgeMode:null,editable:null,elevation:Ce,enableBackground:null,end:null,event:null,exponent:Ce,externalResourcesRequired:null,fill:null,fillOpacity:Ce,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:xl,g2:xl,glyphName:xl,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Ce,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Ce,horizOriginX:Ce,horizOriginY:Ce,id:null,ideographic:Ce,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Ce,k:Ce,k1:Ce,k2:Ce,k3:Ce,k4:Ce,kernelMatrix:Dr,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Ce,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:Ce,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:Ce,overlineThickness:Ce,paintOrder:null,panose1:null,path:null,pathLength:Ce,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Kt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Ce,pointsAtY:Ce,pointsAtZ:Ce,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:Ce,specularExponent:Ce,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Ce,strikethroughThickness:Ce,string:null,stroke:null,strokeDashArray:Dr,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Ce,strokeOpacity:Ce,strokeWidth:null,style:null,surfaceScale:Ce,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Dr,tabIndex:Ce,tableValues:null,target:null,targetX:Ce,targetY:Ce,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:Ce,underlineThickness:Ce,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Ce,values:null,vAlphabetic:Ce,vMathematical:Ce,vectorEffect:null,vHanging:Ce,vIdeographic:Ce,version:null,vertAdvY:Ce,vertOriginX:Ce,vertOriginY:Ce,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Ce,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:b6}),y6=Il({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()}}),v6=Il({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:E6}),T6=Il({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),Mv={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"},Dv=/[A-Z]/g,P4=/-[a-z]/g,Iv=/^data[-\w.:]+$/i;function sm(e,t){const n=ho(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"&&Iv.test(t)){if(t.charAt(4)==="-"){const u=t.slice(5).replace(P4,Bv);a="data"+u.charAt(0).toUpperCase()+u.slice(1)}else{const u=t.slice(4);if(!P4.test(u)){let o=u.replace(Dv,Lv);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}s=im}return new s(a,t)}function Lv(e){return"-"+e.toLowerCase()}function Bv(e){return e.charAt(1).toUpperCase()}const qc=p6([g6,Ov,y6,v6,T6],"html"),Ll=p6([g6,Rv,y6,v6,T6],"svg");function U4(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function _6(e){return e.join(" ").trim()}var ml={},yh,z4;function Pv(){if(z4)return yh;z4=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,a=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,s=/^:\s*/,u=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,o=/^[;\s]*/,d=/^\s+|\s+$/g,f=`
|
|
50
|
+
`,h="/",p="*",b="",T="comment",v="declaration";yh=function(N,I){if(typeof N!="string")throw new TypeError("First argument must be a string");if(!N)return[];I=I||{};var C=1,R=1;function P(ye){var ue=ye.match(t);ue&&(C+=ue.length);var oe=ye.lastIndexOf(f);R=~oe?ye.length-oe:R+ye.length}function X(){var ye={line:C,column:R};return function(ue){return ue.position=new q(ye),te(),ue}}function q(ye){this.start=ye,this.end={line:C,column:R},this.source=I.source}q.prototype.content=N;function L(ye){var ue=new Error(I.source+":"+C+":"+R+": "+ye);if(ue.reason=ye,ue.filename=I.source,ue.line=C,ue.column=R,ue.source=N,!I.silent)throw ue}function ne(ye){var ue=ye.exec(N);if(ue){var oe=ue[0];return P(oe),N=N.slice(oe.length),ue}}function te(){ne(n)}function fe(ye){var ue;for(ye=ye||[];ue=G();)ue!==!1&&ye.push(ue);return ye}function G(){var ye=X();if(!(h!=N.charAt(0)||p!=N.charAt(1))){for(var ue=2;b!=N.charAt(ue)&&(p!=N.charAt(ue)||h!=N.charAt(ue+1));)++ue;if(ue+=2,b===N.charAt(ue-1))return L("End of comment missing");var oe=N.slice(2,ue-2);return R+=2,P(oe),N=N.slice(ue),R+=2,ye({type:T,comment:oe})}}function se(){var ye=X(),ue=ne(a);if(ue){if(G(),!ne(s))return L("property missing ':'");var oe=ne(u),K=ye({type:v,property:A(ue[0].replace(e,b)),value:oe?A(oe[0].replace(e,b)):b});return ne(o),K}}function de(){var ye=[];fe(ye);for(var ue;ue=se();)ue!==!1&&(ye.push(ue),fe(ye));return ye}return te(),de()};function A(N){return N?N.replace(d,b):b}return yh}var F4;function Uv(){if(F4)return ml;F4=1;var e=ml&&ml.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(ml,"__esModule",{value:!0}),ml.default=n;var t=e(Pv());function n(a,s){var u=null;if(!a||typeof a!="string")return u;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&&(u=u||{},u[h]=p)}}),u}return ml}var ju={},H4;function zv(){if(H4)return ju;H4=1,Object.defineProperty(ju,"__esModule",{value:!0}),ju.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,n=/^[^-]+$/,a=/^-(webkit|moz|ms|o|khtml)-/,s=/^-(ms)-/,u=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={}),u(h)?h:(h=h.toLowerCase(),p.reactCompat?h=h.replace(s,d):h=h.replace(a,d),h.replace(t,o))};return ju.camelCase=f,ju}var Vu,q4;function Fv(){if(q4)return Vu;q4=1;var e=Vu&&Vu.__importDefault||function(s){return s&&s.__esModule?s:{default:s}},t=e(Uv()),n=zv();function a(s,u){var o={};return!s||typeof s!="string"||(0,t.default)(s,function(d,f){d&&f&&(o[(0,n.camelCase)(d,u)]=f)}),o}return a.default=a,Vu=a,Vu}var Hv=Fv();const qv=Fc(Hv),Yc=S6("end"),Ca=S6("start");function S6(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 Yv(e){const t=Ca(e),n=Yc(e);if(t&&n)return{start:t,end:n}}function eo(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Y4(e.position):"start"in e||"end"in e?Y4(e):"line"in e||"column"in e?v1(e):""}function v1(e){return G4(e&&e.line)+":"+G4(e&&e.column)}function Y4(e){return v1(e&&e.start)+"-"+v1(e&&e.end)}function G4(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="",u={},o=!1;if(n&&("line"in n&&"column"in n?u={place:n}:"start"in n&&"end"in n?u={place:n}:"type"in n?u={ancestors:[n],place:n.position}:u={...n}),typeof t=="string"?s=t:!u.cause&&t&&(o=!0,s=t.message,u.cause=t),!u.ruleId&&!u.source&&typeof a=="string"){const f=a.indexOf(":");f===-1?u.ruleId=a:(u.source=a.slice(0,f),u.ruleId=a.slice(f+1))}if(!u.place&&u.ancestors&&u.ancestors){const f=u.ancestors[u.ancestors.length-1];f&&(u.place=f.position)}const d=u.place&&"start"in u.place?u.place.start:u.place;this.ancestors=u.ancestors||void 0,this.cause=u.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=eo(u.place)||"1:1",this.place=u.place||void 0,this.reason=this.message,this.ruleId=u.ruleId||void 0,this.source=u.source||void 0,this.stack=o&&u.cause&&typeof u.cause.stack=="string"?u.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 lm={}.hasOwnProperty,Gv=new Map,jv=/[A-Z]/g,Vv=new Set(["table","tbody","thead","tfoot","tr"]),Kv=new Set(["td","th"]),x6="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function $v(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=nT(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=tT(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"?Ll:qc,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},u=A6(s,e,void 0);return u&&typeof u!="string"?u:s.create(e,s.Fragment,{children:u||void 0},void 0)}function A6(e,t,n){if(t.type==="element")return Xv(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return Wv(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return Zv(e,t,n);if(t.type==="mdxjsEsm")return Qv(e,t);if(t.type==="root")return Jv(e,t,n);if(t.type==="text")return eT(e,t)}function Xv(e,t,n){const a=e.schema;let s=a;t.tagName.toLowerCase()==="svg"&&a.space==="html"&&(s=Ll,e.schema=s),e.ancestors.push(t);const u=N6(e,t.tagName,!1),o=rT(e,t);let d=om(e,t);return Vv.has(t.tagName)&&(d=d.filter(function(f){return typeof f=="string"?!kv(f):!0})),w6(e,o,u,t),um(o,d),e.ancestors.pop(),e.schema=a,e.create(t,u,o,n)}function Wv(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)}mo(e,t.position)}function Qv(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);mo(e,t.position)}function Zv(e,t,n){const a=e.schema;let s=a;t.name==="svg"&&a.space==="html"&&(s=Ll,e.schema=s),e.ancestors.push(t);const u=t.name===null?e.Fragment:N6(e,t.name,!0),o=aT(e,t),d=om(e,t);return w6(e,o,u,t),um(o,d),e.ancestors.pop(),e.schema=a,e.create(t,u,o,n)}function Jv(e,t,n){const a={};return um(a,om(e,t)),e.create(t,e.Fragment,a,n)}function eT(e,t){return t.value}function w6(e,t,n,a){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=a)}function um(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function tT(e,t,n){return a;function a(s,u,o,d){const h=Array.isArray(o.children)?n:t;return d?h(u,o,d):h(u,o)}}function nT(e,t){return n;function n(a,s,u,o){const d=Array.isArray(u.children),f=Ca(a);return t(s,u,o,d,{columnNumber:f?f.column-1:void 0,fileName:e,lineNumber:f?f.line:void 0},void 0)}}function rT(e,t){const n={};let a,s;for(s in t.properties)if(s!=="children"&&lm.call(t.properties,s)){const u=iT(e,s,t.properties[s]);if(u){const[o,d]=u;e.tableCellAlignToStyle&&o==="align"&&typeof d=="string"&&Kv.has(t.tagName)?a=d:n[o]=d}}if(a){const u=n.style||(n.style={});u[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=a}return n}function aT(e,t){const n={};for(const a of t.attributes)if(a.type==="mdxJsxExpressionAttribute")if(a.data&&a.data.estree&&e.evaluater){const u=a.data.estree.body[0];u.type;const o=u.expression;o.type;const d=o.properties[0];d.type,Object.assign(n,e.evaluater.evaluateExpression(d.argument))}else mo(e,t.position);else{const s=a.name;let u;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,u=e.evaluater.evaluateExpression(d.expression)}else mo(e,t.position);else u=a.value===null?!0:a.value;n[s]=u}return n}function om(e,t){const n=[];let a=-1;const s=e.passKeys?new Map:Gv;for(;++a<t.children.length;){const u=t.children[a];let o;if(e.passKeys){const f=u.type==="element"?u.tagName:u.type==="mdxJsxFlowElement"||u.type==="mdxJsxTextElement"?u.name:void 0;if(f){const h=s.get(f)||0;o=f+"-"+h,s.set(f,h+1)}}const d=A6(e,u,o);d!==void 0&&n.push(d)}return n}function iT(e,t,n){const a=sm(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=a.commaSeparated?m6(n):_6(n)),a.property==="style"){let s=typeof n=="object"?n:sT(e,String(n));return e.stylePropertyNameCase==="css"&&(s=lT(s)),["style",s]}return[e.elementAttributeNameCase==="react"&&a.space?Mv[a.property]||a.property:a.attribute,n]}}function sT(e,t){try{return qv(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=x6+"#cannot-parse-style-attribute",s}}function N6(e,t,n){let a;if(!n)a={type:"Literal",value:t};else if(t.includes(".")){const s=t.split(".");let u=-1,o;for(;++u<s.length;){const d=I4(s[u])?{type:"Identifier",name:s[u]}:{type:"Literal",value:s[u]};o=o?{type:"MemberExpression",object:o,property:d,computed:!!(u&&d.type==="Literal"),optional:!1}:d}a=o}else a=I4(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(a.type==="Literal"){const s=a.value;return lm.call(e.components,s)?e.components[s]:s}if(e.evaluater)return e.evaluater.evaluateExpression(a);mo(e)}function mo(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=x6+"#cannot-handle-mdx-estrees-without-createevaluater",n}function lT(e){const t={};let n;for(n in e)lm.call(e,n)&&(t[uT(n)]=e[n]);return t}function uT(e){let t=e.replace(jv,oT);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function oT(e){return"-"+e.toLowerCase()}const vh={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"]},cT={};function cm(e,t){const n=cT,a=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,s=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return k6(e,a,s)}function k6(e,t,n){if(dT(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 j4(e.children,t,n)}return Array.isArray(e)?j4(e,t,n):""}function j4(e,t,n){const a=[];let s=-1;for(;++s<e.length;)a[s]=k6(e[s],t,n);return a.join("")}function dT(e){return!!(e&&typeof e=="object")}const V4=document.createElement("i");function dm(e){const t="&"+e+";";V4.innerHTML=t;const n=V4.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 u=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);u<a.length;)o=a.slice(u,u+1e4),o.unshift(t,0),e.splice(...o),u+=1e4,t+=1e4}function Xr(e,t){return e.length>0?(Pr(e,e.length,0,t),e):t}const K4={}.hasOwnProperty;function C6(e){const t={};let n=-1;for(;++n<e.length;)fT(t,e[n]);return t}function fT(e,t){let n;for(n in t){const s=(K4.call(e,n)?e[n]:void 0)||(e[n]={}),u=t[n];let o;if(u)for(o in u){K4.call(s,o)||(s[o]=[]);const d=u[o];hT(s[o],Array.isArray(d)?d:d?[d]:[])}}}function hT(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 O6(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=Ji(/[A-Za-z]/),Xn=Ji(/[\dA-Za-z]/),mT=Ji(/[#-'*+\--9=?A-Z^-~]/);function xc(e){return e!==null&&(e<32||e===127)}const T1=Ji(/\d/),pT=Ji(/[\dA-Fa-f]/),gT=Ji(/[!-/:-@[-`{-~]/);function je(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 Gc=Ji(new RegExp("\\p{P}|\\p{S}","u")),Os=Ji(/\s/);function Ji(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function Bl(e){const t=[];let n=-1,a=0,s=0;for(;++n<e.length;){const u=e.charCodeAt(n);let o="";if(u===37&&Xn(e.charCodeAt(n+1))&&Xn(e.charCodeAt(n+2)))s=2;else if(u<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(u))||(o=String.fromCharCode(u));else if(u>55295&&u<57344){const d=e.charCodeAt(n+1);u<56320&&d>56319&&d<57344?(o=String.fromCharCode(u,d),s=1):o="�"}else o=String.fromCharCode(u);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 u=0;return o;function o(f){return St(f)?(e.enter(n),d(f)):t(f)}function d(f){return St(f)&&u++<s?(e.consume(f),d):(e.exit(n),t(f))}}const bT={tokenize:ET};function ET(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"),u(d)}function u(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 je(d)?(e.consume(d),e.exit("chunkText"),u):(e.consume(d),o)}}const yT={tokenize:vT},$4={tokenize:TT};function vT(e){const t=this,n=[];let a=0,s,u,o;return d;function d(P){if(a<n.length){const X=n[a];return t.containerState=X[1],e.attempt(X[0].continuation,f,h)(P)}return h(P)}function f(P){if(a++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,s&&R();const X=t.events.length;let q=X,L;for(;q--;)if(t.events[q][0]==="exit"&&t.events[q][1].type==="chunkFlow"){L=t.events[q][1].end;break}C(a);let ne=X;for(;ne<t.events.length;)t.events[ne][1].end={...L},ne++;return Pr(t.events,q+1,0,t.events.slice(X)),t.events.length=ne,h(P)}return d(P)}function h(P){if(a===n.length){if(!s)return T(P);if(s.currentConstruct&&s.currentConstruct.concrete)return A(P);t.interrupt=!!(s.currentConstruct&&!s._gfmTableDynamicInterruptHack)}return t.containerState={},e.check($4,p,b)(P)}function p(P){return s&&R(),C(a),T(P)}function b(P){return t.parser.lazy[t.now().line]=a!==n.length,o=t.now().offset,A(P)}function T(P){return t.containerState={},e.attempt($4,v,A)(P)}function v(P){return a++,n.push([t.currentConstruct,t.containerState]),T(P)}function A(P){if(P===null){s&&R(),C(0),e.consume(P);return}return s=s||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:s,contentType:"flow",previous:u}),N(P)}function N(P){if(P===null){I(e.exit("chunkFlow"),!0),C(0),e.consume(P);return}return je(P)?(e.consume(P),I(e.exit("chunkFlow")),a=0,t.interrupt=void 0,d):(e.consume(P),N)}function I(P,X){const q=t.sliceStream(P);if(X&&q.push(null),P.previous=u,u&&(u.next=P),u=P,s.defineSkip(P.start),s.write(q),t.parser.lazy[P.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 ne=t.events.length;let te=ne,fe,G;for(;te--;)if(t.events[te][0]==="exit"&&t.events[te][1].type==="chunkFlow"){if(fe){G=t.events[te][1].end;break}fe=!0}for(C(a),L=ne;L<t.events.length;)t.events[L][1].end={...G},L++;Pr(t.events,te+1,0,t.events.slice(ne)),t.events.length=L}}function C(P){let X=n.length;for(;X-- >P;){const q=n[X];t.containerState=q[1],q[0].exit.call(t,e)}n.length=P}function R(){s.write([null]),u=void 0,s=void 0,t.containerState._closeFlow=void 0}}function TT(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 Cl(e){if(e===null||Gt(e)||Os(e))return 1;if(Gc(e))return 2}function jc(e,t,n){const a=[];let s=-1;for(;++s<e.length;){const u=e[s].resolveAll;u&&!a.includes(u)&&(t=u(t,n),a.push(u))}return t}const _1={name:"attention",resolveAll:_T,tokenize:ST};function _T(e,t){let n=-1,a,s,u,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};X4(b,-f),X4(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},u={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",u,t]]),h=Xr(h,jc(t.parser.constructs.insideSpan.null,e.slice(a+1,n),t)),h=Xr(h,[["exit",u,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 ST(e,t){const n=this.parser.constructs.attentionMarkers.null,a=this.previous,s=Cl(a);let u;return o;function o(f){return u=f,e.enter("attentionSequence"),d(f)}function d(f){if(f===u)return e.consume(f),d;const h=e.exit("attentionSequence"),p=Cl(f),b=!p||p===2&&s||n.includes(f),T=!s||s===2&&p||n.includes(a);return h._open=!!(u===42?b:b&&(s||!T)),h._close=!!(u===42?T:T&&(p||!b)),t(f)}}function X4(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const xT={name:"autolink",tokenize:AT};function AT(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"),u}function u(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||xc(v)?n(v):(e.consume(v),f)}function h(v){return v===64?(e.consume(v),p):mT(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:wT};function wT(e,t,n){return a;function a(u){return St(u)?yt(e,s,"linePrefix")(u):s(u)}function s(u){return u===null||je(u)?t(u):n(u)}}const R6={continuation:{tokenize:kT},exit:CT,name:"blockQuote",tokenize:NT};function NT(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"),u}return n(o)}function u(o){return St(o)?(e.enter("blockQuotePrefixWhitespace"),e.consume(o),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(o))}}function kT(e,t,n){const a=this;return s;function s(o){return St(o)?yt(e,u,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o):u(o)}function u(o){return e.attempt(R6,t,n)(o)}}function CT(e){e.exit("blockQuote")}const M6={name:"characterEscape",tokenize:OT};function OT(e,t,n){return a;function a(u){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(u),e.exit("escapeMarker"),s}function s(u){return gT(u)?(e.enter("characterEscapeValue"),e.consume(u),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(u)}}const D6={name:"characterReference",tokenize:RT};function RT(e,t,n){const a=this;let s=0,u,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"),u=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"),u=6,o=pT,p):(e.enter("characterReferenceValue"),u=7,o=T1,p(b))}function p(b){if(b===59&&s){const T=e.exit("characterReferenceValue");return o===Xn&&!dm(a.sliceSerialize(T))?n(b):(e.enter("characterReferenceMarker"),e.consume(b),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return o(b)&&s++<u?(e.consume(b),p):n(b)}}const W4={partial:!0,tokenize:DT},Q4={concrete:!0,name:"codeFenced",tokenize:MT};function MT(e,t,n){const a=this,s={partial:!0,tokenize:q};let u=0,o=0,d;return f;function f(L){return h(L)}function h(L){const ne=a.events[a.events.length-1];return u=ne&&ne[1].type==="linePrefix"?ne[2].sliceSerialize(ne[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||je(L)?(e.exit("codeFencedFence"),a.interrupt?t(L):e.check(W4,N,X)(L)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),T(L))}function T(L){return L===null||je(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||je(L)?b(L):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),A(L))}function A(L){return L===null||je(L)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),b(L)):L===96&&L===d?n(L):(e.consume(L),A)}function N(L){return e.attempt(s,X,I)(L)}function I(L){return e.enter("lineEnding"),e.consume(L),e.exit("lineEnding"),C}function C(L){return u>0&&St(L)?yt(e,R,"linePrefix",u+1)(L):R(L)}function R(L){return L===null||je(L)?e.check(W4,N,X)(L):(e.enter("codeFlowValue"),P(L))}function P(L){return L===null||je(L)?(e.exit("codeFlowValue"),R(L)):(e.consume(L),P)}function X(L){return e.exit("codeFenced"),t(L)}function q(L,ne,te){let fe=0;return G;function G(oe){return L.enter("lineEnding"),L.consume(oe),L.exit("lineEnding"),se}function se(oe){return L.enter("codeFencedFence"),St(oe)?yt(L,de,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(oe):de(oe)}function de(oe){return oe===d?(L.enter("codeFencedFenceSequence"),ye(oe)):te(oe)}function ye(oe){return oe===d?(fe++,L.consume(oe),ye):fe>=o?(L.exit("codeFencedFenceSequence"),St(oe)?yt(L,ue,"whitespace")(oe):ue(oe)):te(oe)}function ue(oe){return oe===null||je(oe)?(L.exit("codeFencedFence"),ne(oe)):te(oe)}}}function DT(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"),u)}function u(o){return a.parser.lazy[a.now().line]?n(o):t(o)}}const Th={name:"codeIndented",tokenize:LT},IT={partial:!0,tokenize:BT};function LT(e,t,n){const a=this;return s;function s(h){return e.enter("codeIndented"),yt(e,u,"linePrefix",5)(h)}function u(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):je(h)?e.attempt(IT,o,f)(h):(e.enter("codeFlowValue"),d(h))}function d(h){return h===null||je(h)?(e.exit("codeFlowValue"),o(h)):(e.consume(h),d)}function f(h){return e.exit("codeIndented"),t(h)}}function BT(e,t,n){const a=this;return s;function s(o){return a.parser.lazy[a.now().line]?n(o):je(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),s):yt(e,u,"linePrefix",5)(o)}function u(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):je(o)?s(o):n(o)}}const PT={name:"codeText",previous:zT,resolve:UT,tokenize:FT};function UT(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 zT(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function FT(e,t,n){let a=0,s,u;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?(u=e.enter("codeTextSequence"),s=0,p(b)):je(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||je(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)):(u.type="codeTextData",h(b))}}class HT{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 u=this.right.splice(this.right.length-s,Number.POSITIVE_INFINITY);return a&&Ku(this.left,a),u.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),Ku(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Ku(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);Ku(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Ku(this.left,n.reverse())}}}function Ku(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 I6(e){const t={};let n=-1,a,s,u,o,d,f,h;const p=new HT(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,u=0,u<f.length&&f[u][1].type==="lineEndingBlank"&&(u+=2),u<f.length&&f[u][1].type==="content"))for(;++u<f.length&&f[u][1].type!=="content";)f[u][1].type==="chunkText"&&(f[u][1]._isInFirstContentOfListItem=!0,u++);if(a[0]==="enter")a[1].contentType&&(Object.assign(t,qT(p,n)),n=t[n],h=!0);else if(a[1]._container){for(u=n,s=void 0;u--;)if(o=p.get(u),o[1].type==="lineEnding"||o[1].type==="lineEndingBlank")o[0]==="enter"&&(s&&(p.get(s)[1].type="lineEndingBlank"),o[1].type="lineEnding",s=u);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 qT(e,t){const n=e.get(t)[1],a=e.get(t)[2];let s=t-1;const u=[];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,N=0;const I=[N];for(;v;){for(;e.get(++s)[1]!==v;);u.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&&(N=T+1,I.push(N),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 C=d.slice(I[T],I[T+1]),R=u.pop();f.push([R,R+C.length-1]),e.splice(R,2,C)}for(f.reverse(),T=-1;++T<f.length;)h[A+f[T][0]]=A+f[T][1],A+=f[T][1]-f[T][0]-1;return h}const YT={resolve:jT,tokenize:VT},GT={partial:!0,tokenize:KT};function jT(e){return I6(e),e}function VT(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?u(d):je(d)?e.check(GT,o,u)(d):(e.consume(d),s)}function u(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 KT(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,u,"linePrefix")}function u(o){if(o===null||je(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 L6(e,t,n,a,s,u,o,d,f){const h=f||Number.POSITIVE_INFINITY;let p=0;return b;function b(C){return C===60?(e.enter(a),e.enter(s),e.enter(u),e.consume(C),e.exit(u),T):C===null||C===32||C===41||xc(C)?n(C):(e.enter(a),e.enter(o),e.enter(d),e.enter("chunkString",{contentType:"string"}),N(C))}function T(C){return C===62?(e.enter(u),e.consume(C),e.exit(u),e.exit(s),e.exit(a),t):(e.enter(d),e.enter("chunkString",{contentType:"string"}),v(C))}function v(C){return C===62?(e.exit("chunkString"),e.exit(d),T(C)):C===null||C===60||je(C)?n(C):(e.consume(C),C===92?A:v)}function A(C){return C===60||C===62||C===92?(e.consume(C),v):v(C)}function N(C){return!p&&(C===null||C===41||Gt(C))?(e.exit("chunkString"),e.exit(d),e.exit(o),e.exit(a),t(C)):p<h&&C===40?(e.consume(C),p++,N):C===41?(e.consume(C),p--,N):C===null||C===32||C===40||xc(C)?n(C):(e.consume(C),C===92?I:N)}function I(C){return C===40||C===41||C===92?(e.consume(C),N):N(C)}}function B6(e,t,n,a,s,u){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(u),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(u),e.enter(s),e.consume(v),e.exit(s),e.exit(a),t):je(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||je(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 P6(e,t,n,a,s,u){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(u),h(T))}function h(T){return T===o?(e.exit(u),f(o)):T===null?n(T):je(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||je(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 to(e,t){let n;return a;function a(s){return je(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 $T={name:"definition",tokenize:WT},XT={partial:!0,tokenize:QT};function WT(e,t,n){const a=this;let s;return u;function u(v){return e.enter("definition"),o(v)}function o(v){return B6.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)?to(e,h)(v):h(v)}function h(v){return L6(e,p,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(v)}function p(v){return e.attempt(XT,b,b)(v)}function b(v){return St(v)?yt(e,T,"whitespace")(v):T(v)}function T(v){return v===null||je(v)?(e.exit("definition"),a.parser.defined.push(s),t(v)):n(v)}}function QT(e,t,n){return a;function a(d){return Gt(d)?to(e,s)(d):n(d)}function s(d){return P6(e,u,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(d)}function u(d){return St(d)?yt(e,o,"whitespace")(d):o(d)}function o(d){return d===null||je(d)?t(d):n(d)}}const ZT={name:"hardBreakEscape",tokenize:JT};function JT(e,t,n){return a;function a(u){return e.enter("hardBreakEscape"),e.consume(u),s}function s(u){return je(u)?(e.exit("hardBreakEscape"),t(u)):n(u)}}const e9={name:"headingAtx",resolve:t9,tokenize:n9};function t9(e,t){let n=e.length-2,a=3,s,u;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},u={type:"chunkText",start:e[a][1].start,end:e[n][1].end,contentType:"text"},Pr(e,a,n-a+1,[["enter",s,t],["enter",u,t],["exit",u,t],["exit",s,t]])),e}function n9(e,t,n){let a=0;return s;function s(p){return e.enter("atxHeading"),u(p)}function u(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||je(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 r9=["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"],Z4=["pre","script","style","textarea"],a9={concrete:!0,name:"htmlFlow",resolveTo:l9,tokenize:u9},i9={partial:!0,tokenize:c9},s9={partial:!0,tokenize:o9};function l9(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 u9(e,t,n){const a=this;let s,u,o,d,f;return h;function h(M){return p(M)}function p(M){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(M),b}function b(M){return M===33?(e.consume(M),T):M===47?(e.consume(M),u=!0,N):M===63?(e.consume(M),s=3,a.interrupt?t:x):sr(M)?(e.consume(M),o=String.fromCharCode(M),I):n(M)}function T(M){return M===45?(e.consume(M),s=2,v):M===91?(e.consume(M),s=5,d=0,A):sr(M)?(e.consume(M),s=4,a.interrupt?t:x):n(M)}function v(M){return M===45?(e.consume(M),a.interrupt?t:x):n(M)}function A(M){const Ie="CDATA[";return M===Ie.charCodeAt(d++)?(e.consume(M),d===Ie.length?a.interrupt?t:de:A):n(M)}function N(M){return sr(M)?(e.consume(M),o=String.fromCharCode(M),I):n(M)}function I(M){if(M===null||M===47||M===62||Gt(M)){const Ie=M===47,Ve=o.toLowerCase();return!Ie&&!u&&Z4.includes(Ve)?(s=1,a.interrupt?t(M):de(M)):r9.includes(o.toLowerCase())?(s=6,Ie?(e.consume(M),C):a.interrupt?t(M):de(M)):(s=7,a.interrupt&&!a.parser.lazy[a.now().line]?n(M):u?R(M):P(M))}return M===45||Xn(M)?(e.consume(M),o+=String.fromCharCode(M),I):n(M)}function C(M){return M===62?(e.consume(M),a.interrupt?t:de):n(M)}function R(M){return St(M)?(e.consume(M),R):G(M)}function P(M){return M===47?(e.consume(M),G):M===58||M===95||sr(M)?(e.consume(M),X):St(M)?(e.consume(M),P):G(M)}function X(M){return M===45||M===46||M===58||M===95||Xn(M)?(e.consume(M),X):q(M)}function q(M){return M===61?(e.consume(M),L):St(M)?(e.consume(M),q):P(M)}function L(M){return M===null||M===60||M===61||M===62||M===96?n(M):M===34||M===39?(e.consume(M),f=M,ne):St(M)?(e.consume(M),L):te(M)}function ne(M){return M===f?(e.consume(M),f=null,fe):M===null||je(M)?n(M):(e.consume(M),ne)}function te(M){return M===null||M===34||M===39||M===47||M===60||M===61||M===62||M===96||Gt(M)?q(M):(e.consume(M),te)}function fe(M){return M===47||M===62||St(M)?P(M):n(M)}function G(M){return M===62?(e.consume(M),se):n(M)}function se(M){return M===null||je(M)?de(M):St(M)?(e.consume(M),se):n(M)}function de(M){return M===45&&s===2?(e.consume(M),K):M===60&&s===1?(e.consume(M),le):M===62&&s===4?(e.consume(M),ae):M===63&&s===3?(e.consume(M),x):M===93&&s===5?(e.consume(M),Pe):je(M)&&(s===6||s===7)?(e.exit("htmlFlowData"),e.check(i9,pe,ye)(M)):M===null||je(M)?(e.exit("htmlFlowData"),ye(M)):(e.consume(M),de)}function ye(M){return e.check(s9,ue,pe)(M)}function ue(M){return e.enter("lineEnding"),e.consume(M),e.exit("lineEnding"),oe}function oe(M){return M===null||je(M)?ye(M):(e.enter("htmlFlowData"),de(M))}function K(M){return M===45?(e.consume(M),x):de(M)}function le(M){return M===47?(e.consume(M),o="",me):de(M)}function me(M){if(M===62){const Ie=o.toLowerCase();return Z4.includes(Ie)?(e.consume(M),ae):de(M)}return sr(M)&&o.length<8?(e.consume(M),o+=String.fromCharCode(M),me):de(M)}function Pe(M){return M===93?(e.consume(M),x):de(M)}function x(M){return M===62?(e.consume(M),ae):M===45&&s===2?(e.consume(M),x):de(M)}function ae(M){return M===null||je(M)?(e.exit("htmlFlowData"),pe(M)):(e.consume(M),ae)}function pe(M){return e.exit("htmlFlow"),t(M)}}function o9(e,t,n){const a=this;return s;function s(o){return je(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),u):n(o)}function u(o){return a.parser.lazy[a.now().line]?n(o):t(o)}}function c9(e,t,n){return a;function a(s){return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),e.attempt(To,t,n)}}const d9={name:"htmlText",tokenize:f9};function f9(e,t,n){const a=this;let s,u,o;return d;function d(x){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(x),f}function f(x){return x===33?(e.consume(x),h):x===47?(e.consume(x),q):x===63?(e.consume(x),P):sr(x)?(e.consume(x),te):n(x)}function h(x){return x===45?(e.consume(x),p):x===91?(e.consume(x),u=0,A):sr(x)?(e.consume(x),R):n(x)}function p(x){return x===45?(e.consume(x),v):n(x)}function b(x){return x===null?n(x):x===45?(e.consume(x),T):je(x)?(o=b,le(x)):(e.consume(x),b)}function T(x){return x===45?(e.consume(x),v):b(x)}function v(x){return x===62?K(x):x===45?T(x):b(x)}function A(x){const ae="CDATA[";return x===ae.charCodeAt(u++)?(e.consume(x),u===ae.length?N:A):n(x)}function N(x){return x===null?n(x):x===93?(e.consume(x),I):je(x)?(o=N,le(x)):(e.consume(x),N)}function I(x){return x===93?(e.consume(x),C):N(x)}function C(x){return x===62?K(x):x===93?(e.consume(x),C):N(x)}function R(x){return x===null||x===62?K(x):je(x)?(o=R,le(x)):(e.consume(x),R)}function P(x){return x===null?n(x):x===63?(e.consume(x),X):je(x)?(o=P,le(x)):(e.consume(x),P)}function X(x){return x===62?K(x):P(x)}function q(x){return sr(x)?(e.consume(x),L):n(x)}function L(x){return x===45||Xn(x)?(e.consume(x),L):ne(x)}function ne(x){return je(x)?(o=ne,le(x)):St(x)?(e.consume(x),ne):K(x)}function te(x){return x===45||Xn(x)?(e.consume(x),te):x===47||x===62||Gt(x)?fe(x):n(x)}function fe(x){return x===47?(e.consume(x),K):x===58||x===95||sr(x)?(e.consume(x),G):je(x)?(o=fe,le(x)):St(x)?(e.consume(x),fe):K(x)}function G(x){return x===45||x===46||x===58||x===95||Xn(x)?(e.consume(x),G):se(x)}function se(x){return x===61?(e.consume(x),de):je(x)?(o=se,le(x)):St(x)?(e.consume(x),se):fe(x)}function de(x){return x===null||x===60||x===61||x===62||x===96?n(x):x===34||x===39?(e.consume(x),s=x,ye):je(x)?(o=de,le(x)):St(x)?(e.consume(x),de):(e.consume(x),ue)}function ye(x){return x===s?(e.consume(x),s=void 0,oe):x===null?n(x):je(x)?(o=ye,le(x)):(e.consume(x),ye)}function ue(x){return x===null||x===34||x===39||x===60||x===61||x===96?n(x):x===47||x===62||Gt(x)?fe(x):(e.consume(x),ue)}function oe(x){return x===47||x===62||Gt(x)?fe(x):n(x)}function K(x){return x===62?(e.consume(x),e.exit("htmlTextData"),e.exit("htmlText"),t):n(x)}function le(x){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(x),e.exit("lineEnding"),me}function me(x){return St(x)?yt(e,Pe,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(x):Pe(x)}function Pe(x){return e.enter("htmlTextData"),o(x)}}const fm={name:"labelEnd",resolveAll:g9,resolveTo:b9,tokenize:E9},h9={tokenize:y9},m9={tokenize:v9},p9={tokenize:T9};function g9(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 b9(e,t){let n=e.length,a=0,s,u,o,d;for(;n--;)if(s=e[n][1],u){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&&(u=n,s.type!=="labelLink")){a=2;break}}else s.type==="labelEnd"&&(o=n);const f={type:e[u][1].type==="labelLink"?"link":"image",start:{...e[u][1].start},end:{...e[e.length-1][1].end}},h={type:"label",start:{...e[u][1].start},end:{...e[o][1].end}},p={type:"labelText",start:{...e[u+a+2][1].end},end:{...e[o-2][1].start}};return d=[["enter",f,t],["enter",h,t]],d=Xr(d,e.slice(u+1,u+a+3)),d=Xr(d,[["enter",p,t]]),d=Xr(d,jc(t.parser.constructs.insideSpan.null,e.slice(u+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,u,e.length,d),e}function E9(e,t,n){const a=this;let s=a.events.length,u,o;for(;s--;)if((a.events[s][1].type==="labelImage"||a.events[s][1].type==="labelLink")&&!a.events[s][1]._balanced){u=a.events[s][1];break}return d;function d(T){return u?u._inactive?b(T):(o=a.parser.defined.includes(ha(a.sliceSerialize({start:u.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(h9,p,o?p:b)(T):T===91?e.attempt(m9,p,o?h:b)(T):o?p(T):b(T)}function h(T){return e.attempt(p9,p,b)(T)}function p(T){return t(T)}function b(T){return u._balanced=!0,n(T)}}function y9(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)?to(e,u)(b):u(b)}function u(b){return b===41?p(b):L6(e,o,d,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(b)}function o(b){return Gt(b)?to(e,f)(b):p(b)}function d(b){return n(b)}function f(b){return b===34||b===39||b===40?P6(e,h,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(b):p(b)}function h(b){return Gt(b)?to(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 v9(e,t,n){const a=this;return s;function s(d){return B6.call(a,e,u,o,"reference","referenceMarker","referenceString")(d)}function u(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 T9(e,t,n){return a;function a(u){return e.enter("reference"),e.enter("referenceMarker"),e.consume(u),e.exit("referenceMarker"),s}function s(u){return u===93?(e.enter("referenceMarker"),e.consume(u),e.exit("referenceMarker"),e.exit("reference"),t):n(u)}}const _9={name:"labelStartImage",resolveAll:fm.resolveAll,tokenize:S9};function S9(e,t,n){const a=this;return s;function s(d){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(d),e.exit("labelImageMarker"),u}function u(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 x9={name:"labelStartLink",resolveAll:fm.resolveAll,tokenize:A9};function A9(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"),u}function u(o){return o===94&&"_hiddenFootnoteSupport"in a.parser.constructs?n(o):t(o)}}const _h={name:"lineEnding",tokenize:w9};function w9(e,t){return n;function n(a){return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),yt(e,t,"linePrefix")}}const bc={name:"thematicBreak",tokenize:N9};function N9(e,t,n){let a=0,s;return u;function u(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||je(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:R9},exit:D9,name:"list",tokenize:O9},k9={partial:!0,tokenize:I9},C9={partial:!0,tokenize:M9};function O9(e,t,n){const a=this,s=a.events[a.events.length-1];let u=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:T1(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(bc,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 T1(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(k9,T,b))}function p(v){return a.containerState.initialBlankLine=!0,u++,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=u+a.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(v)}}function R9(e,t,n){const a=this;return a.containerState._closeFlow=void 0,e.check(To,s,u);function s(d){return a.containerState.furtherBlankLines=a.containerState.furtherBlankLines||a.containerState.initialBlankLine,yt(e,t,"listItemIndent",a.containerState.size+1)(d)}function u(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(C9,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 M9(e,t,n){const a=this;return yt(e,s,"listItemIndent",a.containerState.size+1);function s(u){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(u):n(u)}}function D9(e){e.exit(this.containerState.type)}function I9(e,t,n){const a=this;return yt(e,s,"listItemPrefixWhitespace",a.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function s(u){const o=a.events[a.events.length-1];return!St(u)&&o&&o[1].type==="listItemPrefixWhitespace"?t(u):n(u)}}const J4={name:"setextUnderline",resolveTo:L9,tokenize:B9};function L9(e,t){let n=e.length,a,s,u;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),!u&&e[n][1].type==="definition"&&(u=n);const o={type:"setextHeading",start:{...e[a][1].start},end:{...e[e.length-1][1].end}};return e[s][1].type="setextHeadingText",u?(e.splice(s,0,["enter",o,t]),e.splice(u+1,0,["exit",e[a][1],t]),e[a][1].end={...e[u][1].end}):e[a][1]=o,e.push(["exit",o,t]),e}function B9(e,t,n){const a=this;let s;return u;function u(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||je(h)?(e.exit("setextHeadingLine"),t(h)):n(h)}}const P9={tokenize:U9};function U9(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(YT,s)),"linePrefix")));return n;function a(u){if(u===null){e.consume(u);return}return e.enter("lineEndingBlank"),e.consume(u),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function s(u){if(u===null){e.consume(u);return}return e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const z9={resolveAll:z6()},F9=U6("string"),H9=U6("text");function U6(e){return{resolveAll:z6(e==="text"?q9:void 0),tokenize:t};function t(n){const a=this,s=this.parser.constructs[e],u=n.attempt(s,o,d);return o;function o(p){return h(p)?u(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"),u(p)):(n.consume(p),f)}function h(p){if(p===null)return!0;const b=s[p];let T=-1;if(b)for(;++T<b.length;){const v=b[T];if(!v.previous||v.previous.call(a,a.previous))return!0}return!1}}}function z6(e){return t;function t(n,a){let s=-1,u;for(;++s<=n.length;)u===void 0?n[s]&&n[s][1].type==="data"&&(u=s,s++):(!n[s]||n[s][1].type!=="data")&&(s!==u+2&&(n[u][1].end=n[s-1][1].end,n.splice(u+2,s-u-2),s=u+2),u=void 0);return e?e(n,a):n}}function q9(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 u=s.length,o=-1,d=0,f;for(;u--;){const h=s[u];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){u++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(d=0),d){const h={type:n===e.length||f||d<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:u?o:a.start._bufferIndex+o,_index:a.start._index+u,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 Y9={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:R6},G9={91:$T},j9={[-2]:Th,[-1]:Th,32:Th},V9={35:e9,42:bc,45:[J4,bc],60:a9,61:J4,95:bc,96:Q4,126:Q4},K9={38:D6,92:M6},$9={[-5]:_h,[-4]:_h,[-3]:_h,33:_9,38:D6,42:_1,60:[xT,d9],91:x9,92:[ZT,M6],93:fm,95:_1,96:PT},X9={null:[_1,z9]},W9={null:[42,95]},Q9={null:[]},Z9=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:W9,contentInitial:G9,disable:Q9,document:Y9,flow:V9,flowInitial:j9,insideSpan:X9,string:K9,text:$9},Symbol.toStringTag,{value:"Module"}));function J9(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={},u=[];let o=[],d=[];const f={attempt:ne(q),check:ne(L),consume:R,enter:P,exit:X,interrupt:ne(L,{interrupt:!0})},h={code:null,containerState:{},defineSkip:N,events:[],now:A,parser:e,previous:null,sliceSerialize:T,sliceStream:v,write:b};let p=t.tokenize.call(h,f);return t.resolveAll&&u.push(t),h;function b(se){return o=Xr(o,se),I(),o[o.length-1]!==null?[]:(te(t,0),h.events=jc(u,h.events,h),h.events)}function T(se,de){return t_(v(se),de)}function v(se){return e_(o,se)}function A(){const{_bufferIndex:se,_index:de,line:ye,column:ue,offset:oe}=a;return{_bufferIndex:se,_index:de,line:ye,column:ue,offset:oe}}function N(se){s[se.line]=se.column,G()}function I(){let se;for(;a._index<o.length;){const de=o[a._index];if(typeof de=="string")for(se=a._index,a._bufferIndex<0&&(a._bufferIndex=0);a._index===se&&a._bufferIndex<de.length;)C(de.charCodeAt(a._bufferIndex));else C(de)}}function C(se){p=p(se)}function R(se){je(se)?(a.line++,a.column=1,a.offset+=se===-3?2:1,G()):se!==-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=se}function P(se,de){const ye=de||{};return ye.type=se,ye.start=A(),h.events.push(["enter",ye,h]),d.push(ye),ye}function X(se){const de=d.pop();return de.end=A(),h.events.push(["exit",de,h]),de}function q(se,de){te(se,de.from)}function L(se,de){de.restore()}function ne(se,de){return ye;function ye(ue,oe,K){let le,me,Pe,x;return Array.isArray(ue)?pe(ue):"tokenize"in ue?pe([ue]):ae(ue);function ae(Ue){return wt;function wt(st){const Wt=st!==null&&Ue[st],Pt=st!==null&&Ue.null,In=[...Array.isArray(Wt)?Wt:Wt?[Wt]:[],...Array.isArray(Pt)?Pt:Pt?[Pt]:[]];return pe(In)(st)}}function pe(Ue){return le=Ue,me=0,Ue.length===0?K:M(Ue[me])}function M(Ue){return wt;function wt(st){return x=fe(),Pe=Ue,Ue.partial||(h.currentConstruct=Ue),Ue.name&&h.parser.constructs.disable.null.includes(Ue.name)?Ve():Ue.tokenize.call(de?Object.assign(Object.create(h),de):h,f,Ie,Ve)(st)}}function Ie(Ue){return se(Pe,x),oe}function Ve(Ue){return x.restore(),++me<le.length?M(le[me]):K}}}function te(se,de){se.resolveAll&&!u.includes(se)&&u.push(se),se.resolve&&Pr(h.events,de,h.events.length-de,se.resolve(h.events.slice(de),h)),se.resolveTo&&(h.events=se.resolveTo(h.events,h))}function fe(){const se=A(),de=h.previous,ye=h.currentConstruct,ue=h.events.length,oe=Array.from(d);return{from:ue,restore:K};function K(){a=se,h.previous=de,h.currentConstruct=ye,h.events.length=ue,d=oe,G()}}function G(){a.line in s&&a.column<2&&(a.column=s[a.line],a.offset+=s[a.line]-1)}}function e_(e,t){const n=t.start._index,a=t.start._bufferIndex,s=t.end._index,u=t.end._bufferIndex;let o;if(n===s)o=[e[n].slice(a,u)];else{if(o=e.slice(n,s),a>-1){const d=o[0];typeof d=="string"?o[0]=d.slice(a):o.shift()}u>0&&o.push(e[s].slice(0,u))}return o}function t_(e,t){let n=-1;const a=[];let s;for(;++n<e.length;){const u=e[n];let o;if(typeof u=="string")o=u;else switch(u){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(u)}s=u===-2,a.push(o)}return a.join("")}function n_(e){const a={constructs:C6([Z9,...(e||{}).extensions||[]]),content:s(bT),defined:[],document:s(yT),flow:s(P9),lazy:{},string:s(F9),text:s(H9)};return a;function s(u){return o;function o(d){return J9(a,u,d)}}}function r_(e){for(;!I6(e););return e}const eb=/[\0\t\n\r]/g;function a_(){let e=1,t="",n=!0,a;return s;function s(u,o,d){const f=[];let h,p,b,T,v;for(u=t+(typeof u=="string"?u.toString():new TextDecoder(o||void 0).decode(u)),b=0,t="",n&&(u.charCodeAt(0)===65279&&b++,n=void 0);b<u.length;){if(eb.lastIndex=b,h=eb.exec(u),T=h&&h.index!==void 0?h.index:u.length,v=u.charCodeAt(T),!h){t=u.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(u.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 i_=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function s_(e){return e.replace(i_,l_)}function l_(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const s=n.charCodeAt(1),u=s===120||s===88;return O6(n.slice(u?2:1),u?16:10)}return dm(n)||e}const F6={}.hasOwnProperty;function u_(e,t,n){return typeof t!="string"&&(n=t,t=void 0),o_(n)(r_(n_(n).document().write(a_()(e,t,!0))))}function o_(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:u(kt),autolinkProtocol:fe,autolinkEmail:fe,atxHeading:u(Ut),blockQuote:u(Pt),characterEscape:fe,characterReference:fe,codeFenced:u(In),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:u(In,o),codeText:u(zr,o),codeTextData:fe,data:fe,codeFlowValue:fe,definition:u(vt),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:u(mt),hardBreakEscape:u(Ke),hardBreakTrailing:u(Ke),htmlFlow:u(xt,o),htmlFlowData:fe,htmlText:u(xt,o),htmlTextData:fe,image:u(an),label:o,link:u(kt),listItem:u(Ln),listItemValue:T,listOrdered:u(Zt,b),listUnordered:u(Zt),paragraph:u(ci),reference:M,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:u(Ut),strong:u(pa),thematicBreak:u(Cn)},exit:{atxHeading:f(),atxHeadingSequence:q,autolink:f(),autolinkEmail:Wt,autolinkProtocol:st,blockQuote:f(),characterEscapeValue:G,characterReferenceMarkerHexadecimal:Ve,characterReferenceMarkerNumeric:Ve,characterReferenceValue:Ue,characterReference:wt,codeFenced:f(I),codeFencedFence:N,codeFencedFenceInfo:v,codeFencedFenceMeta:A,codeFlowValue:G,codeIndented:f(C),codeText:f(oe),codeTextData:G,data:G,definition:f(),definitionDestinationString:X,definitionLabelString:R,definitionTitleString:P,emphasis:f(),hardBreakEscape:f(de),hardBreakTrailing:f(de),htmlFlow:f(ye),htmlFlowData:G,htmlText:f(ue),htmlTextData:G,image:f(le),label:Pe,labelText:me,lineEnding:se,link:f(K),listItem:f(),listOrdered:f(),listUnordered:f(),paragraph:f(),referenceString:Ie,resourceDestinationString:x,resourceTitleString:ae,resource:pe,setextHeading:f(te),setextHeadingLineSequence:ne,setextHeadingText:L,strong:f(),thematicBreak:f()}};H6(t,(e||{}).mdastExtensions||[]);const n={};return a;function a(ce){let _e={type:"root",children:[]};const $e={stack:[_e],tokenStack:[],config:t,enter:d,exit:h,buffer:o,resume:p,data:n},Qe=[];let Rt=-1;for(;++Rt<ce.length;)if(ce[Rt][1].type==="listOrdered"||ce[Rt][1].type==="listUnordered")if(ce[Rt][0]==="enter")Qe.push(Rt);else{const Zn=Qe.pop();Rt=s(ce,Zn,Rt)}for(Rt=-1;++Rt<ce.length;){const Zn=t[ce[Rt][0]];F6.call(Zn,ce[Rt][1].type)&&Zn[ce[Rt][1].type].call(Object.assign({sliceSerialize:ce[Rt][2].sliceSerialize},$e),ce[Rt][1])}if($e.tokenStack.length>0){const Zn=$e.tokenStack[$e.tokenStack.length-1];(Zn[1]||tb).call($e,void 0,Zn[0])}for(_e.position={start:zi(ce.length>0?ce[0][1].start:{line:1,column:1,offset:0}),end:zi(ce.length>0?ce[ce.length-2][1].end:{line:1,column:1,offset:0})},Rt=-1;++Rt<t.transforms.length;)_e=t.transforms[Rt](_e)||_e;return _e}function s(ce,_e,$e){let Qe=_e-1,Rt=-1,Zn=!1,aa,jn,Sr,Jn;for(;++Qe<=$e;){const Tn=ce[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=ce[dr];if(er[1].type==="lineEnding"||er[1].type==="lineEndingBlank"){if(er[0]==="exit")continue;jn&&(ce[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?ce[jn][1].start:Tn[1].end),ce.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,ce.splice(Qe,0,["enter",dr,Tn[2]]),Qe++,$e++,Sr=void 0,Jn=!0}}}return ce[_e][1]._spread=Zn,$e}function u(ce,_e){return $e;function $e(Qe){d.call(this,ce(Qe),Qe),_e&&_e.call(this,Qe)}}function o(){this.stack.push({type:"fragment",children:[]})}function d(ce,_e,$e){this.stack[this.stack.length-1].children.push(ce),this.stack.push(ce),this.tokenStack.push([_e,$e||void 0]),ce.position={start:zi(_e.start),end:void 0}}function f(ce){return _e;function _e($e){ce&&ce.call(this,$e),h.call(this,$e)}}function h(ce,_e){const $e=this.stack.pop(),Qe=this.tokenStack.pop();if(Qe)Qe[0].type!==ce.type&&(_e?_e.call(this,ce,Qe[0]):(Qe[1]||tb).call(this,ce,Qe[0]));else throw new Error("Cannot close `"+ce.type+"` ("+eo({start:ce.start,end:ce.end})+"): it’s not open");$e.position.end=zi(ce.end)}function p(){return cm(this.stack.pop())}function b(){this.data.expectingFirstListItemValue=!0}function T(ce){if(this.data.expectingFirstListItemValue){const _e=this.stack[this.stack.length-2];_e.start=Number.parseInt(this.sliceSerialize(ce),10),this.data.expectingFirstListItemValue=void 0}}function v(){const ce=this.resume(),_e=this.stack[this.stack.length-1];_e.lang=ce}function A(){const ce=this.resume(),_e=this.stack[this.stack.length-1];_e.meta=ce}function N(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function I(){const ce=this.resume(),_e=this.stack[this.stack.length-1];_e.value=ce.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function C(){const ce=this.resume(),_e=this.stack[this.stack.length-1];_e.value=ce.replace(/(\r?\n|\r)$/g,"")}function R(ce){const _e=this.resume(),$e=this.stack[this.stack.length-1];$e.label=_e,$e.identifier=ha(this.sliceSerialize(ce)).toLowerCase()}function P(){const ce=this.resume(),_e=this.stack[this.stack.length-1];_e.title=ce}function X(){const ce=this.resume(),_e=this.stack[this.stack.length-1];_e.url=ce}function q(ce){const _e=this.stack[this.stack.length-1];if(!_e.depth){const $e=this.sliceSerialize(ce).length;_e.depth=$e}}function L(){this.data.setextHeadingSlurpLineEnding=!0}function ne(ce){const _e=this.stack[this.stack.length-1];_e.depth=this.sliceSerialize(ce).codePointAt(0)===61?1:2}function te(){this.data.setextHeadingSlurpLineEnding=void 0}function fe(ce){const $e=this.stack[this.stack.length-1].children;let Qe=$e[$e.length-1];(!Qe||Qe.type!=="text")&&(Qe=cr(),Qe.position={start:zi(ce.start),end:void 0},$e.push(Qe)),this.stack.push(Qe)}function G(ce){const _e=this.stack.pop();_e.value+=this.sliceSerialize(ce),_e.position.end=zi(ce.end)}function se(ce){const _e=this.stack[this.stack.length-1];if(this.data.atHardBreak){const $e=_e.children[_e.children.length-1];$e.position.end=zi(ce.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(_e.type)&&(fe.call(this,ce),G.call(this,ce))}function de(){this.data.atHardBreak=!0}function ye(){const ce=this.resume(),_e=this.stack[this.stack.length-1];_e.value=ce}function ue(){const ce=this.resume(),_e=this.stack[this.stack.length-1];_e.value=ce}function oe(){const ce=this.resume(),_e=this.stack[this.stack.length-1];_e.value=ce}function K(){const ce=this.stack[this.stack.length-1];if(this.data.inReference){const _e=this.data.referenceType||"shortcut";ce.type+="Reference",ce.referenceType=_e,delete ce.url,delete ce.title}else delete ce.identifier,delete ce.label;this.data.referenceType=void 0}function le(){const ce=this.stack[this.stack.length-1];if(this.data.inReference){const _e=this.data.referenceType||"shortcut";ce.type+="Reference",ce.referenceType=_e,delete ce.url,delete ce.title}else delete ce.identifier,delete ce.label;this.data.referenceType=void 0}function me(ce){const _e=this.sliceSerialize(ce),$e=this.stack[this.stack.length-2];$e.label=s_(_e),$e.identifier=ha(_e).toLowerCase()}function Pe(){const ce=this.stack[this.stack.length-1],_e=this.resume(),$e=this.stack[this.stack.length-1];if(this.data.inReference=!0,$e.type==="link"){const Qe=ce.children;$e.children=Qe}else $e.alt=_e}function x(){const ce=this.resume(),_e=this.stack[this.stack.length-1];_e.url=ce}function ae(){const ce=this.resume(),_e=this.stack[this.stack.length-1];_e.title=ce}function pe(){this.data.inReference=void 0}function M(){this.data.referenceType="collapsed"}function Ie(ce){const _e=this.resume(),$e=this.stack[this.stack.length-1];$e.label=_e,$e.identifier=ha(this.sliceSerialize(ce)).toLowerCase(),this.data.referenceType="full"}function Ve(ce){this.data.characterReferenceType=ce.type}function Ue(ce){const _e=this.sliceSerialize(ce),$e=this.data.characterReferenceType;let Qe;$e?(Qe=O6(_e,$e==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Qe=dm(_e);const Rt=this.stack[this.stack.length-1];Rt.value+=Qe}function wt(ce){const _e=this.stack.pop();_e.position.end=zi(ce.end)}function st(ce){G.call(this,ce);const _e=this.stack[this.stack.length-1];_e.url=this.sliceSerialize(ce)}function Wt(ce){G.call(this,ce);const _e=this.stack[this.stack.length-1];_e.url="mailto:"+this.sliceSerialize(ce)}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 kt(){return{type:"link",title:null,url:"",children:[]}}function Zt(ce){return{type:"list",ordered:ce.type==="listOrdered",start:null,spread:ce._spread,children:[]}}function Ln(ce){return{type:"listItem",spread:ce._spread,checked:null,children:[]}}function ci(){return{type:"paragraph",children:[]}}function pa(){return{type:"strong",children:[]}}function cr(){return{type:"text",value:""}}function Cn(){return{type:"thematicBreak"}}}function zi(e){return{line:e.line,column:e.column,offset:e.offset}}function H6(e,t){let n=-1;for(;++n<t.length;){const a=t[n];Array.isArray(a)?H6(e,a):c_(e,a)}}function c_(e,t){let n;for(n in t)if(F6.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 tb(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+eo({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+eo({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+eo({start:t.start,end:t.end})+") is still open")}function d_(e){const t=this;t.parser=n;function n(a){return u_(a,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function f_(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 h_(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
|
|
53
|
+
`}]}function m_(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 p_(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function g_(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function b_(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",a=String(t.identifier).toUpperCase(),s=Bl(a.toLowerCase()),u=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=u+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 E_(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 y_(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function q6(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),u=s[0];u&&u.type==="text"?u.value="["+u.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 v_(e,t){const n=String(t.identifier).toUpperCase(),a=e.definitionById.get(n);if(!a)return q6(e,t);const s={src:Bl(a.url||""),alt:t.alt};a.title!==null&&a.title!==void 0&&(s.title=a.title);const u={type:"element",tagName:"img",properties:s,children:[]};return e.patch(t,u),e.applyData(t,u)}function T_(e,t){const n={src:Bl(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 __(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 S_(e,t){const n=String(t.identifier).toUpperCase(),a=e.definitionById.get(n);if(!a)return q6(e,t);const s={href:Bl(a.url||"")};a.title!==null&&a.title!==void 0&&(s.title=a.title);const u={type:"element",tagName:"a",properties:s,children:e.all(t)};return e.patch(t,u),e.applyData(t,u)}function x_(e,t){const n={href:Bl(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 A_(e,t,n){const a=e.all(t),s=n?w_(n):Y6(t),u={},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:[]}),u.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:u,children:o};return e.patch(t,h),e.applyData(t,h)}function w_(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=Y6(n[a])}return t}function Y6(e){const t=e.spread;return t??e.children.length>1}function N_(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 u={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(a,!0)};return e.patch(t,u),e.applyData(t,u)}function k_(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function C_(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function O_(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function R_(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=Ca(t.children[1]),f=Yc(t.children[t.children.length-1]);d&&f&&(o.position={start:d,end:f}),s.push(o)}const u={type:"element",tagName:"table",properties:{},children:e.wrap(s,!0)};return e.patch(t,u),e.applyData(t,u)}function M_(e,t,n){const a=n?n.children:void 0,u=(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:u,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 D_(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const nb=9,rb=32;function I_(e){const t=String(e),n=/\r?\n|\r/g;let a=n.exec(t),s=0;const u=[];for(;a;)u.push(ab(t.slice(s,a.index),s>0,!0),a[0]),s=a.index+a[0].length,a=n.exec(t);return u.push(ab(t.slice(s),s>0,!1)),u.join("")}function ab(e,t,n){let a=0,s=e.length;if(t){let u=e.codePointAt(a);for(;u===nb||u===rb;)a++,u=e.codePointAt(a)}if(n){let u=e.codePointAt(s-1);for(;u===nb||u===rb;)s--,u=e.codePointAt(s-1)}return s>a?e.slice(a,s):""}function L_(e,t){const n={type:"text",value:I_(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function B_(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const P_={blockquote:f_,break:h_,code:m_,delete:p_,emphasis:g_,footnoteReference:b_,heading:E_,html:y_,imageReference:v_,image:T_,inlineCode:__,linkReference:S_,link:x_,listItem:A_,list:N_,paragraph:k_,root:C_,strong:O_,table:R_,tableCell:D_,tableRow:M_,text:L_,thematicBreak:B_,toml:V0,yaml:V0,definition:V0,footnoteDefinition:V0};function V0(){}const G6=-1,Vc=0,no=1,Ac=2,hm=3,mm=4,pm=5,gm=6,j6=7,V6=8,ib=typeof self=="object"?self:globalThis,U_=(e,t)=>{const n=(s,u)=>(e.set(u,s),s),a=s=>{if(e.has(s))return e.get(s);const[u,o]=t[s];switch(u){case Vc:case G6:return n(o,s);case no:{const d=n([],s);for(const f of o)d.push(a(f));return d}case Ac:{const d=n({},s);for(const[f,h]of o)d[a(f)]=a(h);return d}case hm:return n(new Date(o),s);case mm:{const{source:d,flags:f}=o;return n(new RegExp(d,f),s)}case pm:{const d=n(new Map,s);for(const[f,h]of o)d.set(a(f),a(h));return d}case gm:{const d=n(new Set,s);for(const f of o)d.add(a(f));return d}case j6:{const{name:d,message:f}=o;return n(new ib[d](f),s)}case V6: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 ib[u](o),s)};return a},sb=e=>U_(new Map,e)(0),pl="",{toString:z_}={},{keys:F_}=Object,$u=e=>{const t=typeof e;if(t!=="object"||!e)return[Vc,t];const n=z_.call(e).slice(8,-1);switch(n){case"Array":return[no,pl];case"Object":return[Ac,pl];case"Date":return[hm,pl];case"RegExp":return[mm,pl];case"Map":return[pm,pl];case"Set":return[gm,pl];case"DataView":return[no,n]}return n.includes("Array")?[no,n]:n.includes("Error")?[j6,n]:[Ac,n]},K0=([e,t])=>e===Vc&&(t==="function"||t==="symbol"),H_=(e,t,n,a)=>{const s=(o,d)=>{const f=a.push(o)-1;return n.set(d,f),f},u=o=>{if(n.has(o))return n.get(o);let[d,f]=$u(o);switch(d){case Vc:{let p=o;switch(f){case"bigint":d=V6,p=o.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+f);p=null;break;case"undefined":return s([G6],o)}return s([d,p],o)}case no:{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(u(T));return b}case Ac:{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 u(o.toJSON());const p=[],b=s([d,p],o);for(const T of F_(o))(e||!K0($u(o[T])))&&p.push([u(T),u(o[T])]);return b}case hm:return s([d,o.toISOString()],o);case mm:{const{source:p,flags:b}=o;return s([d,{source:p,flags:b}],o)}case pm:{const p=[],b=s([d,p],o);for(const[T,v]of o)(e||!(K0($u(T))||K0($u(v))))&&p.push([u(T),u(v)]);return b}case gm:{const p=[],b=s([d,p],o);for(const T of o)(e||!K0($u(T)))&&p.push(u(T));return b}}const{message:h}=o;return s([d,{name:f,message:h}],o)};return u},lb=(e,{json:t,lossy:n}={})=>{const a=[];return H_(!(t||n),!!t,new Map,a)(e),a},Ol=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?sb(lb(e,t)):structuredClone(e):(e,t)=>sb(lb(e,t));function q_(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 Y_(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function G_(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||q_,a=e.options.footnoteBackLabel||Y_,s=e.options.footnoteLabel||"Footnotes",u=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=Bl(b.toLowerCase());let v=0;const A=[],N=e.footnoteCounts.get(b);for(;N!==void 0&&++v<=N;){A.length>0&&A.push({type:"text",value:" "});let R=typeof n=="string"?n:n(f,v);typeof R=="string"&&(R={type:"text",value:R}),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(R)?R:[R]})}const I=p[p.length-1];if(I&&I.type==="element"&&I.tagName==="p"){const R=I.children[I.children.length-1];R&&R.type==="text"?R.value+=" ":I.children.push({type:"text",value:" "}),I.children.push(...A)}else p.push(...A);const C={type:"element",tagName:"li",properties:{id:t+"fn-"+T},children:e.wrap(p,!0)};e.patch(h,C),d.push(C)}if(d.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:u,properties:{...Ol(o),id:"footnote-label"},children:[{type:"text",value:s}]},{type:"text",value:`
|
|
57
|
+
`},{type:"element",tagName:"ol",properties:{},children:e.wrap(d,!0)},{type:"text",value:`
|
|
58
|
+
`}]}}const _o=function(e){if(e==null)return $_;if(typeof e=="function")return Kc(e);if(typeof e=="object")return Array.isArray(e)?j_(e):V_(e);if(typeof e=="string")return K_(e);throw new Error("Expected function, string, or object as test")};function j_(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=_o(e[n]);return Kc(a);function a(...s){let u=-1;for(;++u<t.length;)if(t[u].apply(this,s))return!0;return!1}}function V_(e){const t=e;return Kc(n);function n(a){const s=a;let u;for(u in e)if(s[u]!==t[u])return!1;return!0}}function K_(e){return Kc(t);function t(n){return n&&n.type===e}}function Kc(e){return t;function t(n,a,s){return!!(X_(n)&&e.call(this,n,typeof a=="number"?a:void 0,s||void 0))}}function $_(){return!0}function X_(e){return e!==null&&typeof e=="object"&&"type"in e}const K6=[],W_=!0,S1=!1,$6="skip";function bm(e,t,n,a){let s;typeof t=="function"&&typeof n!="function"?(a=n,n=t):s=t;const u=_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=K6,A,N,I;if((!t||u(f,h,p[p.length-1]||void 0))&&(v=Q_(n(f,p)),v[0]===S1))return v;if("children"in f&&f.children){const C=f;if(C.children&&v[0]!==$6)for(N=(a?C.children.length:-1)+o,I=p.concat(C);N>-1&&N<C.children.length;){const R=C.children[N];if(A=d(R,N,I)(),A[0]===S1)return A;N=typeof A[1]=="number"?A[1]:N+o}}return v}}}function Q_(e){return Array.isArray(e)?e:typeof e=="number"?[W_,e]:e==null?K6:[e]}function So(e,t,n,a){let s,u,o;typeof t=="function"&&typeof n!="function"?(u=void 0,o=t,s=n):(u=t,o=n,s=a),bm(e,u,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 x1={}.hasOwnProperty,Z_={};function J_(e,t){const n=t||Z_,a=new Map,s=new Map,u=new Map,o={...P_,...n.handlers},d={all:h,applyData:tS,definitionById:a,footnoteById:s,footnoteCounts:u,footnoteOrder:[],handlers:o,one:f,options:n,patch:eS,wrap:rS};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(x1.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:N,...I}=p,C=Ol(I);return C.children=d.all(p),C}return Ol(p)}return(d.options.unknownHandler||nS)(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=ub(A.value)),!Array.isArray(A)&&A.type==="element")){const N=A.children[0];N&&N.type==="text"&&(N.value=ub(N.value))}Array.isArray(A)?b.push(...A):b.push(A)}}}return b}}function eS(e,t){e.position&&(t.position=Yv(e))}function tS(e,t){let n=t;if(e&&e.data){const a=e.data.hName,s=e.data.hChildren,u=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"&&u&&Object.assign(n.properties,Ol(u)),"children"in n&&n.children&&s!==null&&s!==void 0&&(n.children=s)}return n}function nS(e,t){const n=t.data||{},a="value"in t&&!(x1.call(n,"hProperties")||x1.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 rS(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 ub(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function ob(e,t){const n=J_(e,t),a=n.one(e,void 0),s=G_(n),u=Array.isArray(a)?{type:"root",children:a}:a||{type:"root",children:[]};return s&&u.children.push({type:"text",value:`
|
|
62
|
+
`},s),u}function aS(e,t){return e&&"run"in e?async function(n,a){const s=ob(n,{file:a,...t});await e.run(s,a)}:function(n,a){return ob(n,{file:a,...e||t})}}function cb(e){if(e)throw e}var Sh,db;function iS(){if(db)return Sh;db=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]"},u=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 Sh=function f(){var h,p,b,T,v,A,N=arguments[0],I=1,C=arguments.length,R=!1;for(typeof N=="boolean"&&(R=N,N=arguments[1]||{},I=2),(N==null||typeof N!="object"&&typeof N!="function")&&(N={});I<C;++I)if(h=arguments[I],h!=null)for(p in h)b=d(N,p),T=d(h,p),N!==T&&(R&&T&&(u(T)||(v=s(T)))?(v?(v=!1,A=b&&s(b)?b:[]):A=b&&u(b)?b:{},o(N,{name:p,newValue:f(R,A,T)})):typeof T<"u"&&o(N,{name:p,newValue:T}));return N},Sh}var sS=iS();const xh=Fc(sS);function A1(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 lS(){const e=[],t={run:n,use:a};return t;function n(...s){let u=-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[++u];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?uS(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 uS(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(u,s):f instanceof Error?s(f):u(f))}function s(o,...d){n||(n=!0,t(o,...d))}function u(o){s(null,o)}}const Sa={basename:oS,dirname:cS,extname:dS,join:fS,sep:"/"};function oS(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,u;if(t===void 0||t.length===0||t.length>e.length){for(;s--;)if(e.codePointAt(s)===47){if(u){n=s+1;break}}else a<0&&(u=!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(u){n=s+1;break}}else o<0&&(u=!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 cS(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 dS(e){xo(e);let t=e.length,n=-1,a=0,s=-1,u=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:u!==1&&(u=1):s>-1&&(u=-1)}return s<0||n<0||u===0||u===1&&s===n-1&&s===a+1?"":e.slice(s,n)}function fS(...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?".":hS(n)}function hS(e){xo(e);const t=e.codePointAt(0)===47;let n=mS(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function mS(e,t){let n="",a=0,s=-1,u=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||u===1))if(s!==o-1&&u===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,u=0;continue}}else if(n.length>0){n="",a=0,s=o,u=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,u=0}else d===46&&u>-1?u++:u=-1}return n}function xo(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const pS={cwd:gS};function gS(){return"/"}function w1(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function bS(e){if(typeof e=="string")e=new URL(e);else if(!w1(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 ES(e)}function ES(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 Ah=["history","path","basename","stem","extname","dirname"];class X6{constructor(t){let n;t?w1(t)?n={path:t}:typeof t=="string"||yS(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":pS.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let a=-1;for(;++a<Ah.length;){const u=Ah[a];u in n&&n[u]!==void 0&&n[u]!==null&&(this[u]=u==="history"?[...n[u]]:n[u])}let s;for(s in n)Ah.includes(s)||(this[s]=n[s])}get basename(){return typeof this.path=="string"?Sa.basename(this.path):void 0}set basename(t){Nh(t,"basename"),wh(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){fb(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(wh(t,"extname"),fb(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){w1(t)&&(t=bS(t)),Nh(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){Nh(t,"stem"),wh(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 wh(e,t){if(e&&e.includes(Sa.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Sa.sep+"`")}function Nh(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function fb(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function yS(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const vS=function(e){const a=this.constructor.prototype,s=a[e],u=function(){return s.apply(u,arguments)};return Object.setPrototypeOf(u,a),u},TS={}.hasOwnProperty;class Em extends vS{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=lS()}copy(){const t=new Em;let n=-1;for(;++n<this.attachers.length;){const a=this.attachers[n];t.use(...a)}return t.data(xh(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(Oh("data",this.frozen),this.namespace[t]=n,this):TS.call(this.namespace,t)&&this.namespace[t]||void 0:t?(Oh("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=$0(t),a=this.parser||this.Parser;return kh("parse",a),a(String(n),n)}process(t,n){const a=this;return this.freeze(),kh("process",this.parser||this.Parser),Ch("process",this.compiler||this.Compiler),n?s(void 0,n):new Promise(s);function s(u,o){const d=$0(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);xS(A)?T.value=A:T.result=A,h(p,T)});function h(p,b){p||!b?o(p):u?u(b):n(void 0,b)}}}processSync(t){let n=!1,a;return this.freeze(),kh("processSync",this.parser||this.Parser),Ch("processSync",this.compiler||this.Compiler),this.process(t,s),mb("processSync","process",n),a;function s(u,o){n=!0,cb(u),a=o}}run(t,n,a){hb(t),this.freeze();const s=this.transformers;return!a&&typeof n=="function"&&(a=n,n=void 0),a?u(void 0,a):new Promise(u);function u(o,d){const f=$0(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,u),mb("runSync","run",a),s;function u(o,d){cb(o),s=d,a=!0}}stringify(t,n){this.freeze();const a=$0(n),s=this.compiler||this.Compiler;return Ch("stringify",s),hb(t),s(t,a)}use(t,...n){const a=this.attachers,s=this.namespace;if(Oh("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 u(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=xh(!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];u(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 N=a[T][1];A1(N)&&A1(v)&&(v=xh(!0,N,v)),a[T]=[h,v,...A]}}}}const _S=new Em().freeze();function kh(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Ch(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Oh(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 hb(e){if(!A1(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function mb(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function $0(e){return SS(e)?e:new X6(e)}function SS(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function xS(e){return typeof e=="string"||AS(e)}function AS(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const wS="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",pb=[],gb={allowDangerousHtml:!0},NS=/^(https?|ircs?|mailto|xmpp)$/i,kS=[{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 CS(e){const t=OS(e),n=RS(e);return MS(t.runSync(t.parse(n),n),e)}function OS(e){const t=e.rehypePlugins||pb,n=e.remarkPlugins||pb,a=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...gb}:gb;return _S().use(d_).use(n).use(aS,a).use(t)}function RS(e){const t=e.children||"",n=new X6;return typeof t=="string"&&(n.value=t),n}function MS(e,t){const n=t.allowedElements,a=t.allowElement,s=t.components,u=t.disallowedElements,o=t.skipHtml,d=t.unwrapDisallowed,f=t.urlTransform||DS;for(const p of kS)Object.hasOwn(t,p.from)&&(""+p.from+(p.to?"use `"+p.to+"` instead":"remove it")+wS+p.id,void 0);return So(e,h),$v(e,{Fragment:W.Fragment,components:s,ignoreInvalidStyle:!0,jsx:W.jsx,jsxs:W.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 vh)if(Object.hasOwn(vh,v)&&Object.hasOwn(p.properties,v)){const A=p.properties[v],N=vh[v];(N===null||N.includes(p.tagName))&&(p.properties[v]=f(String(A||""),v,p))}}if(p.type==="element"){let v=n?!n.includes(p.tagName):u?u.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 DS(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||NS.test(e.slice(0,t))?e:""}function bb(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 IS(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function LS(e,t,n){const s=_o((n||{}).ignore||[]),u=BS(t);let o=-1;for(;++o<u.length;)bm(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=u[o][0],v=u[o][1];let A=0;const I=b.children.indexOf(h);let C=!1,R=[];T.lastIndex=0;let P=T.exec(h.value);for(;P;){const X=P.index,q={index:P.index,input:P.input,stack:[...p,h]};let L=v(...P,q);if(typeof L=="string"&&(L=L.length>0?{type:"text",value:L}:void 0),L===!1?T.lastIndex=X+1:(A!==X&&R.push({type:"text",value:h.value.slice(A,X)}),Array.isArray(L)?R.push(...L):L&&R.push(L),A=X+P[0].length,C=!0),!T.global)break;P=T.exec(h.value)}return C?(A<h.value.length&&R.push({type:"text",value:h.value.slice(A)}),b.children.splice(I,1,...R)):R=[h],I+R.length}}function BS(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([PS(s[0]),US(s[1])])}return t}function PS(e){return typeof e=="string"?new RegExp(IS(e),"g"):e}function US(e){return typeof e=="function"?e:function(){return e}}const Rh="phrasing",Mh=["autolink","link","image","label"];function zS(){return{transforms:[VS],enter:{literalAutolink:HS,literalAutolinkEmail:Dh,literalAutolinkHttp:Dh,literalAutolinkWww:Dh},exit:{literalAutolink:jS,literalAutolinkEmail:GS,literalAutolinkHttp:qS,literalAutolinkWww:YS}}}function FS(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Rh,notInConstruct:Mh},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Rh,notInConstruct:Mh},{character:":",before:"[ps]",after:"\\/",inConstruct:Rh,notInConstruct:Mh}]}}function HS(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function Dh(e){this.config.enter.autolinkProtocol.call(this,e)}function qS(e){this.config.exit.autolinkProtocol.call(this,e)}function YS(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 GS(e){this.config.exit.autolinkEmail.call(this,e)}function jS(e){this.exit(e)}function VS(e){LS(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,KS],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),$S]],{ignore:["link","linkReference"]})}function KS(e,t,n,a,s){let u="";if(!W6(s)||(/^w/i.test(t)&&(n=t+n,t="",u="http://"),!XS(n)))return!1;const o=WS(n+a);if(!o[0])return!1;const d={type:"link",title:null,url:u+t+o[0],children:[{type:"text",value:t+o[0]}]};return o[1]?[d,{type:"text",value:o[1]}]:d}function $S(e,t,n,a){return!W6(a,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function XS(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 WS(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=bb(e,"(");let u=bb(e,")");for(;a!==-1&&s>u;)e+=n.slice(0,a+1),n=n.slice(a+1),a=n.indexOf(")"),u++;return[e,n]}function W6(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||Os(n)||Gc(n))&&(!t||n!==47)}Q6.peek=ix;function QS(){this.buffer()}function ZS(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function JS(){this.buffer()}function ex(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function tx(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 nx(e){this.exit(e)}function rx(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 ax(e){this.exit(e)}function ix(){return"["}function Q6(e,t,n,a){const s=n.createTracker(a);let u=s.move("[^");const o=n.enter("footnoteReference"),d=n.enter("reference");return u+=s.move(n.safe(n.associationId(e),{after:"]",before:u})),d(),o(),u+=s.move("]"),u}function sx(){return{enter:{gfmFootnoteCallString:QS,gfmFootnoteCall:ZS,gfmFootnoteDefinitionLabelString:JS,gfmFootnoteDefinition:ex},exit:{gfmFootnoteCallString:tx,gfmFootnoteCall:nx,gfmFootnoteDefinitionLabelString:rx,gfmFootnoteDefinition:ax}}}function lx(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:Q6},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function n(a,s,u,o){const d=u.createTracker(o);let f=d.move("[^");const h=u.enter("footnoteDefinition"),p=u.enter("label");return f+=d.move(u.safe(u.associationId(a),{before:f,after:"]"})),p(),f+=d.move("]:"),a.children&&a.children.length>0&&(d.shift(4),f+=d.move((t?`
|
|
63
|
+
`:" ")+u.indentLines(u.containerFlow(a,d.current()),t?Z6:ux))),h(),f}}function ux(e,t,n){return t===0?e:Z6(e,t,n)}function Z6(e,t,n){return(n?"":" ")+e}const ox=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];J6.peek=mx;function cx(){return{canContainEols:["delete"],enter:{strikethrough:fx},exit:{strikethrough:hx}}}function dx(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:ox}],handlers:{delete:J6}}}function fx(e){this.enter({type:"delete",children:[]},e)}function hx(e){this.exit(e)}function J6(e,t,n,a){const s=n.createTracker(a),u=n.enter("strikethrough");let o=s.move("~~");return o+=n.containerPhrasing(e,{...s.current(),before:o,after:"~"}),o+=s.move("~~"),u(),o}function mx(){return"~"}function px(e){return e.length}function gx(e,t){const n=t||{},a=(n.align||[]).concat(),s=n.stringLength||px,u=[],o=[],d=[],f=[];let h=0,p=-1;for(;++p<e.length;){const N=[],I=[];let C=-1;for(e[p].length>h&&(h=e[p].length);++C<e[p].length;){const R=bx(e[p][C]);if(n.alignDelimiters!==!1){const P=s(R);I[C]=P,(f[C]===void 0||P>f[C])&&(f[C]=P)}N.push(R)}o[p]=N,d[p]=I}let b=-1;if(typeof a=="object"&&"length"in a)for(;++b<h;)u[b]=Eb(a[b]);else{const N=Eb(a);for(;++b<h;)u[b]=N}b=-1;const T=[],v=[];for(;++b<h;){const N=u[b];let I="",C="";N===99?(I=":",C=":"):N===108?I=":":N===114&&(C=":");let R=n.alignDelimiters===!1?1:Math.max(1,f[b]-I.length-C.length);const P=I+"-".repeat(R)+C;n.alignDelimiters!==!1&&(R=I.length+R+C.length,R>f[b]&&(f[b]=R),v[b]=R),T[b]=P}o.splice(1,0,T),d.splice(1,0,v),p=-1;const A=[];for(;++p<o.length;){const N=o[p],I=d[p];b=-1;const C=[];for(;++b<h;){const R=N[b]||"";let P="",X="";if(n.alignDelimiters!==!1){const q=f[b]-(I[b]||0),L=u[b];L===114?P=" ".repeat(q):L===99?q%2?(P=" ".repeat(q/2+.5),X=" ".repeat(q/2-.5)):(P=" ".repeat(q/2),X=P):X=" ".repeat(q)}n.delimiterStart!==!1&&!b&&C.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&R==="")&&(n.delimiterStart!==!1||b)&&C.push(" "),n.alignDelimiters!==!1&&C.push(P),C.push(R),n.alignDelimiters!==!1&&C.push(X),n.padding!==!1&&C.push(" "),(n.delimiterEnd!==!1||b!==h-1)&&C.push("|")}A.push(n.delimiterEnd===!1?C.join("").replace(/ +$/,""):C.join(""))}return A.join(`
|
|
64
|
+
`)}function bx(e){return e==null?"":String(e)}function Eb(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 yb={}.hasOwnProperty;function eE(e,t){const n=t||{};function a(s,...u){let o=a.invalid;const d=a.handlers;if(s&&yb.call(s,e)){const f=String(s[e]);o=yb.call(d,f)?d[f]:a.unknown}if(o)return o.call(this,s,...u)}return a.handlers=n.handlers||{},a.invalid=n.invalid,a.unknown=n.unknown,a}function Ex(e,t,n,a){const s=n.enter("blockquote"),u=n.createTracker(a);u.move("> "),u.shift(2);const o=n.indentLines(n.containerFlow(e,u.current()),yx);return s(),o}function yx(e,t,n){return">"+(n?"":" ")+e}function vx(e,t){return vb(e,t.inConstruct,!0)&&!vb(e,t.notInConstruct,!1)}function vb(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 Tb(e,t,n,a){let s=-1;for(;++s<n.unsafe.length;)if(n.unsafe[s].character===`
|
|
65
|
+
`&&vx(n.stack,n.unsafe[s]))return/[ \t]/.test(a.before)?"":" ";return`\\
|
|
66
|
+
`}function tE(e,t){const n=String(e);let a=n.indexOf(t),s=a,u=0,o=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;a!==-1;)a===s?++u>o&&(o=u):u=1,s=a+t.length,a=n.indexOf(t,s);return o}function Tx(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 _x(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 Sx(e,t,n,a){const s=_x(n),u=e.value||"",o=s==="`"?"GraveAccent":"Tilde";if(Tx(e,n)){const b=n.enter("codeIndented"),T=n.indentLines(u,xx);return b(),T}const d=n.createTracker(a),f=s.repeat(Math.max(tE(u,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
|
+
`),u&&(p+=d.move(u+`
|
|
69
|
+
`)),p+=d.move(f),h(),p}function xx(e,t,n){return(n?"":" ")+e}function ym(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 Ax(e,t,n,a){const s=ym(n),u=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${u}`),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 wx(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 po(e){return"&#x"+e.toString(16).toUpperCase()+";"}function wc(e,t,n){const a=Cl(e),s=Cl(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}}nE.peek=Nx;function nE(e,t,n,a){const s=wx(n),u=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=wc(a.before.charCodeAt(a.before.length-1),h,s);p.inside&&(f=po(h)+f.slice(1));const b=f.charCodeAt(f.length-1),T=wc(a.after.charCodeAt(0),b,s);T.inside&&(f=f.slice(0,-1)+po(b));const v=o.move(s);return u(),n.attentionEncodeSurroundingInfo={after:T.outside,before:p.outside},d+f+v}function Nx(e,t,n){return n.options.emphasis||"*"}function kx(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,S1}),!!((!e.depth||e.depth<3)&&cm(e)&&(t.options.setext||n))}function Cx(e,t,n,a){const s=Math.max(Math.min(6,e.depth||1),1),u=n.createTracker(a);if(kx(e,n)){const p=n.enter("headingSetext"),b=n.enter("phrasing"),T=n.containerPhrasing(e,{...u.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");u.move(o+" ");let h=n.containerPhrasing(e,{before:"# ",after:`
|
|
75
|
+
`,...u.current()});return/^[\t ]/.test(h)&&(h=po(h.charCodeAt(0))+h.slice(1)),h=h?o+" "+h:o,n.options.closeAtx&&(h+=" "+o),f(),d(),h}rE.peek=Ox;function rE(e){return e.value||""}function Ox(){return"<"}aE.peek=Rx;function aE(e,t,n,a){const s=ym(n),u=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${u}`),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 Rx(){return"!"}iE.peek=Mx;function iE(e,t,n,a){const s=e.referenceType,u=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,u(),s==="full"||!h||h!==b?f+=d.move(b+"]"):s==="shortcut"?f=f.slice(0,-1):f+=d.move("]"),f}function Mx(){return"!"}sE.peek=Dx;function sE(e,t,n){let a=e.value||"",s="`",u=-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+" ");++u<n.unsafe.length;){const o=n.unsafe[u],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 Dx(){return"`"}function lE(e,t){const n=cm(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))}uE.peek=Ix;function uE(e,t,n,a){const s=ym(n),u=s==='"'?"Quote":"Apostrophe",o=n.createTracker(a);let d,f;if(lE(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${u}`),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 Ix(e,t,n){return lE(e,n)?"<":"["}oE.peek=Lx;function oE(e,t,n,a){const s=e.referenceType,u=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,u(),s==="full"||!h||h!==b?f+=d.move(b+"]"):s==="shortcut"?f=f.slice(0,-1):f+=d.move("]"),f}function Lx(){return"["}function vm(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 Bx(e){const t=vm(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 Px(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 cE(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 Ux(e,t,n,a){const s=n.enter("list"),u=n.bulletCurrent;let o=e.ordered?Px(n):vm(n);const d=e.ordered?o==="."?")":".":Bx(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),cE(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=u,s(),h}function zx(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 Fx(e,t,n,a){const s=zx(n);let u=n.bulletCurrent||vm(n);t&&t.type==="list"&&t.ordered&&(u=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+u);let o=u.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(u+" ".repeat(o-u.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?u:u+" ".repeat(o-u.length))+b}}function Hx(e,t,n,a){const s=n.enter("paragraph"),u=n.enter("phrasing"),o=n.containerPhrasing(e,a);return u(),s(),o}const qx=_o(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function Yx(e,t,n,a){return(e.children.some(function(o){return qx(o)})?n.containerPhrasing:n.containerFlow).call(n,e,a)}function Gx(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}dE.peek=jx;function dE(e,t,n,a){const s=Gx(n),u=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=wc(a.before.charCodeAt(a.before.length-1),h,s);p.inside&&(f=po(h)+f.slice(1));const b=f.charCodeAt(f.length-1),T=wc(a.after.charCodeAt(0),b,s);T.inside&&(f=f.slice(0,-1)+po(b));const v=o.move(s+s);return u(),n.attentionEncodeSurroundingInfo={after:T.outside,before:p.outside},d+f+v}function jx(e,t,n){return n.options.strong||"*"}function Vx(e,t,n,a){return n.safe(e.value,a)}function Kx(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 $x(e,t,n){const a=(cE(n)+(n.options.ruleSpaces?" ":"")).repeat(Kx(n));return n.options.ruleSpaces?a.slice(0,-1):a}const fE={blockquote:Ex,break:Tb,code:Sx,definition:Ax,emphasis:nE,hardBreak:Tb,heading:Cx,html:rE,image:aE,imageReference:iE,inlineCode:sE,link:uE,linkReference:oE,list:Ux,listItem:Fx,paragraph:Hx,root:Yx,strong:dE,text:Vx,thematicBreak:$x};function Xx(){return{enter:{table:Wx,tableData:_b,tableHeader:_b,tableRow:Zx},exit:{codeText:Jx,table:Qx,tableData:Ih,tableHeader:Ih,tableRow:Ih}}}function Wx(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 Qx(e){this.exit(e),this.data.inTable=void 0}function Zx(e){this.enter({type:"tableRow",children:[]},e)}function Ih(e){this.exit(e)}function _b(e){this.enter({type:"tableCell",children:[]},e)}function Jx(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,eA));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function eA(e,t){return t==="|"?t:e}function tA(e){const t=e||{},n=t.tableCellPadding,a=t.tablePipeAlign,s=t.stringLength,u=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,N,I){return h(p(v,N,I),v.align)}function d(v,A,N,I){const C=b(v,N,I),R=h([C]);return R.slice(0,R.indexOf(`
|
|
77
|
+
`))}function f(v,A,N,I){const C=N.enter("tableCell"),R=N.enter("phrasing"),P=N.containerPhrasing(v,{...I,before:u,after:u});return R(),C(),P}function h(v,A){return gx(v,{align:A,alignDelimiters:a,padding:n,stringLength:s})}function p(v,A,N){const I=v.children;let C=-1;const R=[],P=A.enter("table");for(;++C<I.length;)R[C]=b(I[C],A,N);return P(),R}function b(v,A,N){const I=v.children;let C=-1;const R=[],P=A.enter("tableRow");for(;++C<I.length;)R[C]=f(I[C],v,A,N);return P(),R}function T(v,A,N){let I=fE.inlineCode(v,A,N);return N.stack.includes("tableCell")&&(I=I.replace(/\|/g,"\\$&")),I}}function nA(){return{exit:{taskListCheckValueChecked:Sb,taskListCheckValueUnchecked:Sb,paragraph:aA}}}function rA(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:iA}}}function Sb(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function aA(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 u=-1,o;for(;++u<s.length;){const d=s[u];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 iA(e,t,n,a){const s=e.children[0],u=typeof e.checked=="boolean"&&s&&s.type==="paragraph",o="["+(e.checked?"x":" ")+"] ",d=n.createTracker(a);u&&d.move(o);let f=fE.listItem(e,t,n,{...a,...d.current()});return u&&(f=f.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,h)),f;function h(p){return p+o}}function sA(){return[zS(),sx(),cx(),Xx(),nA()]}function lA(e){return{extensions:[FS(),lx(e),dx(),tA(e),rA()]}}const uA={tokenize:mA,partial:!0},hE={tokenize:pA,partial:!0},mE={tokenize:gA,partial:!0},pE={tokenize:bA,partial:!0},oA={tokenize:EA,partial:!0},gE={name:"wwwAutolink",tokenize:fA,previous:EE},bE={name:"protocolAutolink",tokenize:hA,previous:yE},ui={name:"emailAutolink",tokenize:dA,previous:vE},Oa={};function cA(){return{text:Oa}}let As=48;for(;As<123;)Oa[As]=ui,As++,As===58?As=65:As===91&&(As=97);Oa[43]=ui;Oa[45]=ui;Oa[46]=ui;Oa[95]=ui;Oa[72]=[ui,bE];Oa[104]=[ui,bE];Oa[87]=[ui,gE];Oa[119]=[ui,gE];function dA(e,t,n){const a=this;let s,u;return o;function o(b){return!N1(b)||!vE.call(a,a.previous)||Tm(a.events)?n(b):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),d(b))}function d(b){return N1(b)?(e.consume(b),d):b===64?(e.consume(b),f):n(b)}function f(b){return b===46?e.check(oA,p,h)(b):b===45||b===95||Xn(b)?(u=!0,e.consume(b),f):p(b)}function h(b){return e.consume(b),s=!0,f}function p(b){return u&&s&&sr(a.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(b)):n(b)}}function fA(e,t,n){const a=this;return s;function s(o){return o!==87&&o!==119||!EE.call(a,a.previous)||Tm(a.events)?n(o):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(uA,e.attempt(hE,e.attempt(mE,u),n),n)(o))}function u(o){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(o)}}function hA(e,t,n){const a=this;let s="",u=!1;return o;function o(b){return(b===72||b===104)&&yE.call(a,a.previous)&&!Tm(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),u?h:(u=!0,f)):n(b)}function h(b){return b===null||xc(b)||Gt(b)||Os(b)||Gc(b)?n(b):e.attempt(hE,e.attempt(mE,p),n)(b)}function p(b){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(b)}}function mA(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),u):n(o)}function u(o){return o===null?n(o):t(o)}}function pA(e,t,n){let a,s,u;return o;function o(h){return h===46||h===95?e.check(pE,f,d)(h):h===null||Gt(h)||Os(h)||h!==45&&Gc(h)?f(h):(u=!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||!u?n(h):t(h)}}function gA(e,t){let n=0,a=0;return s;function s(o){return o===40?(n++,e.consume(o),s):o===41&&a<n?u(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(pE,t,u)(o):o===null||Gt(o)||Os(o)?t(o):(e.consume(o),s)}function u(o){return o===41&&a++,e.consume(o),s}}function bA(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),u):d===93?(e.consume(d),s):d===60||d===null||Gt(d)||Os(d)?t(d):n(d)}function s(d){return d===null||d===40||d===91||Gt(d)||Os(d)?t(d):a(d)}function u(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 EA(e,t,n){return a;function a(u){return e.consume(u),s}function s(u){return Xn(u)?n(u):t(u)}}function EE(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Gt(e)}function yE(e){return!sr(e)}function vE(e){return!(e===47||N1(e))}function N1(e){return e===43||e===45||e===46||e===95||Xn(e)}function Tm(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 yA={tokenize:NA,partial:!0};function vA(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:xA,continuation:{tokenize:AA},exit:wA}},text:{91:{name:"gfmFootnoteCall",tokenize:SA},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:TA,resolveTo:_A}}}}function TA(e,t,n){const a=this;let s=a.events.length;const u=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||!u.includes(h.slice(1))?n(f):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),t(f))}}function _A(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 u={type:"gfmFootnoteCallString",start:Object.assign({},s.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},u.start),end:Object.assign({},u.end)},d=[e[n+1],e[n+2],["enter",a,t],e[n+3],e[n+4],["enter",s,t],["exit",s,t],["enter",u,t],["enter",o,t],["exit",o,t],["exit",u,t],e[e.length-2],e[e.length-1],["exit",a,t]];return e.splice(n,e.length-n+1,...d),e}function SA(e,t,n){const a=this,s=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);let u=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(u>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),u++,e.consume(b),b===92?p:h}function p(b){return b===91||b===92||b===93?(e.consume(b),u++,h):h(b)}}function xA(e,t,n){const a=this,s=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]);let u,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 N=e.exit("gfmFootnoteDefinitionLabelString");return u=ha(a.sliceSerialize(N)),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(u)||s.push(u),yt(e,v,"gfmFootnoteDefinitionWhitespace")):n(A)}function v(A){return t(A)}}function AA(e,t,n){return e.check(To,t,e.attempt(yA,t,n))}function wA(e){e.exit("gfmFootnoteDefinition")}function NA(e,t,n){const a=this;return yt(e,s,"gfmFootnoteDefinitionIndent",5);function s(u){const o=a.events[a.events.length-1];return o&&o[1].type==="gfmFootnoteDefinitionIndent"&&o[2].sliceSerialize(o[1],!0).length===4?t(u):n(u)}}function kA(e){let n=(e||{}).singleTilde;const a={name:"strikethrough",tokenize:u,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,jc(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 u(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 N=Cl(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"),C=Cl(A);return I._open=!C||C===2&&!!N,I._close=!N||N===2&&!!C,d(A)}}}class CA{constructor(){this.map=[]}add(t,n,a){OA(this,t,n,a)}consume(t){if(this.map.sort(function(u,o){return u[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 u of s)t.push(u);s=a.pop()}this.map.length=0}}function OA(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 RA(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 u=a.length-1;a[u]=a[u]==="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 MA(){return{flow:{null:{name:"table",tokenize:DA,resolveAll:IA}}}}function DA(e,t,n){const a=this;let s=0,u=0,o;return d;function d(G){let se=a.events.length-1;for(;se>-1;){const ue=a.events[se][1].type;if(ue==="lineEnding"||ue==="linePrefix")se--;else break}const de=se>-1?a.events[se][1].type:null,ye=de==="tableHead"||de==="tableRow"?L:f;return ye===L&&a.parser.lazy[a.now().line]?n(G):ye(G)}function f(G){return e.enter("tableHead"),e.enter("tableRow"),h(G)}function h(G){return G===124||(o=!0,u+=1),p(G)}function p(G){return G===null?n(G):je(G)?u>1?(u=0,a.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(G),e.exit("lineEnding"),v):n(G):St(G)?yt(e,p,"whitespace")(G):(u+=1,o&&(o=!1,s+=1),G===124?(e.enter("tableCellDivider"),e.consume(G),e.exit("tableCellDivider"),o=!0,p):(e.enter("data"),b(G)))}function b(G){return G===null||G===124||Gt(G)?(e.exit("data"),p(G)):(e.consume(G),G===92?T:b)}function T(G){return G===92||G===124?(e.consume(G),b):b(G)}function v(G){return a.interrupt=!1,a.parser.lazy[a.now().line]?n(G):(e.enter("tableDelimiterRow"),o=!1,St(G)?yt(e,A,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(G):A(G))}function A(G){return G===45||G===58?I(G):G===124?(o=!0,e.enter("tableCellDivider"),e.consume(G),e.exit("tableCellDivider"),N):q(G)}function N(G){return St(G)?yt(e,I,"whitespace")(G):I(G)}function I(G){return G===58?(u+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(G),e.exit("tableDelimiterMarker"),C):G===45?(u+=1,C(G)):G===null||je(G)?X(G):q(G)}function C(G){return G===45?(e.enter("tableDelimiterFiller"),R(G)):q(G)}function R(G){return G===45?(e.consume(G),R):G===58?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(G),e.exit("tableDelimiterMarker"),P):(e.exit("tableDelimiterFiller"),P(G))}function P(G){return St(G)?yt(e,X,"whitespace")(G):X(G)}function X(G){return G===124?A(G):G===null||je(G)?!o||s!==u?q(G):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(G)):q(G)}function q(G){return n(G)}function L(G){return e.enter("tableRow"),ne(G)}function ne(G){return G===124?(e.enter("tableCellDivider"),e.consume(G),e.exit("tableCellDivider"),ne):G===null||je(G)?(e.exit("tableRow"),t(G)):St(G)?yt(e,ne,"whitespace")(G):(e.enter("data"),te(G))}function te(G){return G===null||G===124||Gt(G)?(e.exit("data"),ne(G)):(e.consume(G),G===92?fe:te)}function fe(G){return G===92||G===124?(e.consume(G),te):te(G)}}function IA(e,t){let n=-1,a=!0,s=0,u=[0,0,0,0],o=[0,0,0,0],d=!1,f=0,h,p,b;const T=new CA;for(;++n<e.length;){const v=e[n],A=v[1];v[0]==="enter"?A.type==="tableHead"?(d=!1,f!==0&&(xb(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,u=[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&&(u[1]!==0&&(o[0]=o[1],b=X0(T,t,u,s,void 0,b),u=[0,0,0,0]),o[2]=n)):A.type==="tableCellDivider"&&(a?a=!1:(u[1]!==0&&(o[0]=o[1],b=X0(T,t,u,s,void 0,b)),u=o,o=[u[1],n,0,0])):A.type==="tableHead"?(d=!0,f=n):A.type==="tableRow"||A.type==="tableDelimiterRow"?(f=n,u[1]!==0?(o[0]=o[1],b=X0(T,t,u,s,n,b)):o[1]!==0&&(b=X0(T,t,o,s,n,b)),s=0):s&&(A.type==="data"||A.type==="tableDelimiterMarker"||A.type==="tableDelimiterFiller")&&(o[3]=n)}for(f!==0&&xb(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=RA(t.events,n))}return e}function X0(e,t,n,a,s,u){const o=a===1?"tableHeader":a===2?"tableDelimiter":"tableData",d="tableContent";n[0]!==0&&(u.end=Object.assign({},El(t.events,n[0])),e.add(n[0],0,[["exit",u,t]]));const f=El(t.events,n[1]);if(u={type:o,start:Object.assign({},f),end:Object.assign({},f)},e.add(n[1],0,[["enter",u,t]]),n[2]!==0){const h=El(t.events,n[2]),p=El(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,N=n[3]-n[2]-1;e.add(A,N,[])}}e.add(n[3]+1,0,[["exit",b,t]])}return s!==void 0&&(u.end=Object.assign({},El(t.events,s)),e.add(s,0,[["exit",u,t]]),u=void 0),u}function xb(e,t,n,a,s){const u=[],o=El(t.events,n);s&&(s.end=Object.assign({},o),u.push(["exit",s,t])),a.end=Object.assign({},o),u.push(["exit",a,t]),e.add(n+1,0,u)}function El(e,t){const n=e[t],a=n[0]==="enter"?"start":"end";return n[1][a]}const LA={name:"tasklistCheck",tokenize:PA};function BA(){return{text:{91:LA}}}function PA(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"),u)}function u(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 je(f)?t(f):St(f)?e.check({tokenize:UA},t,n)(f):n(f)}}function UA(e,t,n){return yt(e,a,"whitespace");function a(s){return s===null?n(s):t(s)}}function zA(e){return C6([cA(),vA(),kA(e),MA(),BA()])}const FA={};function HA(e){const t=this,n=e||FA,a=t.data(),s=a.micromarkExtensions||(a.micromarkExtensions=[]),u=a.fromMarkdownExtensions||(a.fromMarkdownExtensions=[]),o=a.toMarkdownExtensions||(a.toMarkdownExtensions=[]);s.push(zA(n)),u.push(sA()),o.push(lA(n))}const Ab=/[#.]/g;function qA(e,t){const n=e||"",a={};let s=0,u,o;for(;s<n.length;){Ab.lastIndex=s;const d=Ab.exec(n),f=n.slice(s,d?d.index:n.length);f&&(u?u==="#"?a.id=f:Array.isArray(a.className)?a.className.push(f):a.className=[f]:o=f,s+=f.length),d&&(u=d[0],s++)}return{type:"element",tagName:o||t||"div",properties:a,children:[]}}function TE(e,t,n){const a=n?VA(n):void 0;function s(u,o,...d){let f;if(u==null){f={type:"root",children:[]};const h=o;d.unshift(h)}else{f=qA(u,t);const h=f.tagName.toLowerCase(),p=a?a.get(h):void 0;if(f.tagName=p||h,YA(o))d.unshift(o);else for(const[b,T]of Object.entries(o))GA(e,f.properties,b,T)}for(const h of d)k1(f.children,h);return f.type==="element"&&f.tagName==="template"&&(f.content={type:"root",children:f.children},f.children=[]),f}return s}function YA(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 u=s;for(const o of u)if(typeof o!="number"&&typeof o!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function GA(e,t,n,a){const s=sm(e,n);let u;if(a!=null){if(typeof a=="number"){if(Number.isNaN(a))return;u=a}else typeof a=="boolean"?u=a:typeof a=="string"?s.spaceSeparated?u=U4(a):s.commaSeparated?u=D4(a):s.commaOrSpaceSeparated?u=U4(D4(a).join(" ")):u=wb(s,s.property,a):Array.isArray(a)?u=[...a]:u=s.property==="style"?jA(a):String(a);if(Array.isArray(u)){const o=[];for(const d of u)o.push(wb(s,s.property,d));u=o}s.property==="className"&&Array.isArray(t.className)&&(u=t.className.concat(u)),t[s.property]=u}}function k1(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)k1(e,n);else if(typeof t=="object"&&"type"in t)t.type==="root"?k1(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function wb(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||ho(n)===ho(t)))return!0}return n}function jA(e){const t=[];for(const[n,a]of Object.entries(e))t.push([n,a].join(": "));return t.join("; ")}function VA(e){const t=new Map;for(const n of e)t.set(n.toLowerCase(),n);return t}const KA=["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"],_E=TE(qc,"div"),SE=TE(Ll,"g",KA);function $A(e){const t=String(e),n=[];return{toOffset:s,toPoint:a};function a(u){if(typeof u=="number"&&u>-1&&u<=t.length){let o=0;for(;;){let d=n[o];if(d===void 0){const f=Nb(t,n[o-1]);d=f===-1?t.length+1:f+1,n[o]=d}if(d>u)return{line:o+1,column:u-(o>0?n[o-1]:0)+1,offset:u};o++}}}function s(u){if(u&&typeof u.line=="number"&&typeof u.column=="number"&&!Number.isNaN(u.line)&&!Number.isNaN(u.column)){for(;n.length<u.line;){const d=n[n.length-1],f=Nb(t,d),h=f===-1?t.length+1:f+1;if(d===h)break;n.push(h)}const o=(u.line>1?n[u.line-2]:0)+u.column-1;if(o<n[u.line-1])return o}}}function Nb(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/"},xE={}.hasOwnProperty,XA=Object.prototype;function WA(e,t){const n=t||{};return _m({file:n.file||void 0,location:!1,schema:n.space==="svg"?Ll:qc,verbose:n.verbose||!1},e)}function _m(e,t){let n;switch(t.nodeName){case"#comment":{const a=t;return n={type:"comment",value:a.data},Ec(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:AE(e,t.childNodes),data:{quirksMode:s}},e.file&&e.location){const u=String(e.file),o=$A(u),d=o.toPoint(0),f=o.toPoint(u.length);n.position={start:d,end:f}}return n}case"#documentType":{const a=t;return n={type:"doctype"},Ec(e,a,n),n}case"#text":{const a=t;return n={type:"text",value:a.value},Ec(e,a,n),n}default:return n=QA(e,t),n}}function AE(e,t){let n=-1;const a=[];for(;++n<t.length;){const s=_m(e,t[n]);a.push(s)}return a}function QA(e,t){const n=e.schema;e.schema=t.namespaceURI===wa.svg?Ll:qc;let a=-1;const s={};for(;++a<t.attrs.length;){const d=t.attrs[a],f=(d.prefix?d.prefix+":":"")+d.name;xE.call(XA,f)||(s[f]=d.value)}const o=(e.schema.space==="svg"?SE:_E)(t.tagName,s,AE(e,t.childNodes));if(Ec(e,t,o),o.tagName==="template"){const d=t,f=d.sourceCodeLocation,h=f&&f.startTag&&Sl(f.startTag),p=f&&f.endTag&&Sl(f.endTag),b=_m(e,d.content);h&&p&&e.file&&(b.position={start:h.end,end:p.start}),o.content=b}return e.schema=n,o}function Ec(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const a=ZA(e,n,t.sourceCodeLocation);a&&(e.location=!0,n.position=a)}}function ZA(e,t,n){const a=Sl(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 u={};let o;if(n.attrs)for(o in n.attrs)xE.call(n.attrs,o)&&(u[sm(e.schema,o).property]=Sl(n.attrs[o]));n.startTag;const d=Sl(n.startTag),f=n.endTag?Sl(n.endTag):void 0,h={opening:d};f&&(h.closing=f),h.properties=u,t.data={position:h}}}return a}function Sl(e){const t=kb({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=kb({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function kb(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 wE(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 C1(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 JA=0;const ct=Ms(),Nn=Ms(),NE=Ms(),Oe=Ms(),$t=Ms(),Al=Ms(),Ir=Ms();function Ms(){return 2**++JA}const O1=Object.freeze(Object.defineProperty({__proto__:null,boolean:ct,booleanish:Nn,commaOrSpaceSeparated:Ir,commaSeparated:Al,number:Oe,overloadedBoolean:NE,spaceSeparated:$t},Symbol.toStringTag,{value:"Module"})),Lh=Object.keys(O1);class Sm extends na{constructor(t,n,a,s){let u=-1;if(super(t,n),Cb(this,"space",s),typeof a=="number")for(;++u<Lh.length;){const o=Lh[u];Cb(this,Lh[u],(a&O1[o])===O1[o])}}}Sm.prototype.defined=!0;function Cb(e,t,n){n&&(e[t]=n)}const ew={}.hasOwnProperty;function Pl(e){const t={},n={};let a;for(a in e.properties)if(ew.call(e.properties,a)){const s=e.properties[a],u=new Sm(a,e.transform(e.attributes||{},a),s,e.space);e.mustUseProperty&&e.mustUseProperty.includes(a)&&(u.mustUseProperty=!0),t[a]=u,n[C1(a)]=a,n[C1(u.attribute)]=a}return new Ao(t,n,e.space)}const kE=Pl({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}}),CE=Pl({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function OE(e,t){return t in e?e[t]:t}function RE(e,t){return OE(e,t.toLowerCase())}const ME=Pl({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:RE,properties:{xmlns:null,xmlnsXLink:null}}),DE=Pl({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:Nn,ariaAutoComplete:null,ariaBusy:Nn,ariaChecked:Nn,ariaColCount:Oe,ariaColIndex:Oe,ariaColSpan:Oe,ariaControls:$t,ariaCurrent:null,ariaDescribedBy:$t,ariaDetails:null,ariaDisabled:Nn,ariaDropEffect:$t,ariaErrorMessage:null,ariaExpanded:Nn,ariaFlowTo:$t,ariaGrabbed:Nn,ariaHasPopup:null,ariaHidden:Nn,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:$t,ariaLevel:Oe,ariaLive:null,ariaModal:Nn,ariaMultiLine:Nn,ariaMultiSelectable:Nn,ariaOrientation:null,ariaOwns:$t,ariaPlaceholder:null,ariaPosInSet:Oe,ariaPressed:Nn,ariaReadOnly:Nn,ariaRelevant:null,ariaRequired:Nn,ariaRoleDescription:$t,ariaRowCount:Oe,ariaRowIndex:Oe,ariaRowSpan:Oe,ariaSelected:Nn,ariaSetSize:Oe,ariaSort:null,ariaValueMax:Oe,ariaValueMin:Oe,ariaValueNow:Oe,ariaValueText:null,role:null}}),tw=Pl({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:RE,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Al,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:Oe,colSpan:null,content:null,contentEditable:Nn,controls:ct,controlsList:$t,coords:Oe|Al,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ct,defer:ct,dir:null,dirName:null,disabled:ct,download:NE,draggable:Nn,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ct,formTarget:null,headers:$t,height:Oe,hidden:ct,high:Oe,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:Oe,manifest:null,max:null,maxLength:Oe,media:null,method:null,min:null,minLength:Oe,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:Oe,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:Oe,rowSpan:Oe,sandbox:$t,scope:null,scoped:ct,seamless:ct,selected:ct,shadowRootClonable:ct,shadowRootDelegatesFocus:ct,shadowRootMode:null,shape:null,size:Oe,sizes:null,slot:null,span:Oe,spellCheck:Nn,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Oe,step:null,style:null,tabIndex:Oe,target:null,title:null,translate:null,type:null,typeMustMatch:ct,useMap:null,value:Nn,width:Oe,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:$t,axis:null,background:null,bgColor:null,border:Oe,borderColor:null,bottomMargin:Oe,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ct,declare:ct,event:null,face:null,frame:null,frameBorder:null,hSpace:Oe,leftMargin:Oe,link:null,longDesc:null,lowSrc:null,marginHeight:Oe,marginWidth:Oe,noResize:ct,noHref:ct,noShade:ct,noWrap:ct,object:null,profile:null,prompt:null,rev:null,rightMargin:Oe,rules:null,scheme:null,scrolling:Nn,standby:null,summary:null,text:null,topMargin:Oe,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Oe,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ct,disableRemotePlayback:ct,prefix:null,property:null,results:Oe,security:null,unselectable:null}}),nw=Pl({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:OE,properties:{about:Ir,accentHeight:Oe,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Oe,amplitude:Oe,arabicForm:null,ascent:Oe,attributeName:null,attributeType:null,azimuth:Oe,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Oe,by:null,calcMode:null,capHeight:Oe,className:$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:Oe,diffuseConstant:Oe,direction:null,display:null,dur:null,divisor:Oe,dominantBaseline:null,download:ct,dx:null,dy:null,edgeMode:null,editable:null,elevation:Oe,enableBackground:null,end:null,event:null,exponent:Oe,externalResourcesRequired:null,fill:null,fillOpacity:Oe,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Al,g2:Al,glyphName:Al,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Oe,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Oe,horizOriginX:Oe,horizOriginY:Oe,id:null,ideographic:Oe,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Oe,k:Oe,k1:Oe,k2:Oe,k3:Oe,k4:Oe,kernelMatrix:Ir,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Oe,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Oe,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Oe,overlineThickness:Oe,paintOrder:null,panose1:null,path:null,pathLength:Oe,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:$t,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Oe,pointsAtY:Oe,pointsAtZ:Oe,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:Oe,specularExponent:Oe,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Oe,strikethroughThickness:Oe,string:null,stroke:null,strokeDashArray:Ir,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Oe,strokeOpacity:Oe,strokeWidth:null,style:null,surfaceScale:Oe,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Ir,tabIndex:Oe,tableValues:null,target:null,targetX:Oe,targetY:Oe,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Ir,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Oe,underlineThickness:Oe,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Oe,values:null,vAlphabetic:Oe,vMathematical:Oe,vectorEffect:null,vHanging:Oe,vIdeographic:Oe,version:null,vertAdvY:Oe,vertOriginX:Oe,vertOriginY:Oe,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Oe,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),rw=/^data[-\w.:]+$/i,Ob=/-[a-z]/g,aw=/[A-Z]/g;function iw(e,t){const n=C1(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"&&rw.test(t)){if(t.charAt(4)==="-"){const u=t.slice(5).replace(Ob,lw);a="data"+u.charAt(0).toUpperCase()+u.slice(1)}else{const u=t.slice(4);if(!Ob.test(u)){let o=u.replace(aw,sw);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}s=Sm}return new s(a,t)}function sw(e){return"-"+e.toLowerCase()}function lw(e){return e.charAt(1).toUpperCase()}const uw=wE([CE,kE,ME,DE,tw],"html"),IE=wE([CE,kE,ME,DE,nw],"svg"),ow={},cw={}.hasOwnProperty,LE=eE("type",{handlers:{root:fw,element:bw,text:pw,comment:gw,doctype:mw}});function dw(e,t){const a=(t||ow).space;return LE(e,a==="svg"?IE:uw)}function fw(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=xm(e.children,n,t),Ul(e,n),n}function hw(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=xm(e.children,n,t),Ul(e,n),n}function mw(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return Ul(e,t),t}function pw(e){const t={nodeName:"#text",value:e.value,parentNode:null};return Ul(e,t),t}function gw(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return Ul(e,t),t}function bw(e,t){const n=t;let a=n;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(a=IE);const s=[];let u;if(e.properties){for(u in e.properties)if(u!=="children"&&cw.call(e.properties,u)){const f=Ew(a,u,e.properties[u]);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=xm(e.children,d,a),Ul(e,d),e.tagName==="template"&&e.content&&(d.content=hw(e.content,a)),d}function Ew(e,t,n){const a=iw(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?m6(n):_6(n));const s={name:a.attribute,value:n===!0?"":String(n)};if(a.space&&a.space!=="html"&&a.space!=="svg"){const u=s.name.indexOf(":");u<0?s.prefix="":(s.name=s.name.slice(u+1),s.prefix=a.attribute.slice(0,u)),s.namespace=wa[a.space]}return s}function xm(e,t,n){let a=-1;const s=[];if(e)for(;++a<e.length;){const u=LE(e[a],n);u.parentNode=t,s.push(u)}return s}function Ul(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 yw=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],vw=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 BE(e){return e>=55296&&e<=57343}function Tw(e){return e>=56320&&e<=57343}function _w(e,t){return(e-55296)*1024+9216+t}function PE(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function UE(e){return e>=64976&&e<=65007||vw.has(e)}var he;(function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(he||(he={}));const Sw=65536;class xw{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=Sw,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:u}=this,o=s+n,d=u+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(Tw(n))return this.pos++,this._addGap(),_w(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,D.EOF;return this._err(he.surrogateInInputStream),t}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(t,n){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=n}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,n){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(n)return this.html.startsWith(t,this.pos);for(let a=0;a<t.length;a++)if((this.html.charCodeAt(this.pos+a)|32)!==t.charCodeAt(a))return!1;return!0}peek(t){const n=this.pos+t;if(n>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,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,BE(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){PE(t)?this._err(he.controlCharacterInInputStream):UE(t)&&this._err(he.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var 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 zE(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}const Aw=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୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢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;怳Ādpuct;戏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ǣጓ\0y;䐎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Ā;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀ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Ā;elƀ;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\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»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ↄⅪ←ٖ↛ǰ↉\0proø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;䅓Ācrir;榿;쀀𝔬ͯ\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\0m;櫳;櫽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))),ww=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 Nw(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=ww.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 kw=32;var Ki;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(Ki||(Ki={}));function R1(e){return e>=Fn.ZERO&&e<=Fn.NINE}function Cw(e){return e>=Fn.UPPER_A&&e<=Fn.UPPER_F||e>=Fn.LOWER_A&&e<=Fn.LOWER_F}function Ow(e){return e>=Fn.UPPER_A&&e<=Fn.UPPER_Z||e>=Fn.LOWER_A&&e<=Fn.LOWER_Z||R1(e)}function Rw(e){return e===Fn.EQUALS||Ow(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 ti;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(ti||(ti={}));class Mw{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=ti.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)|kw)===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 u=a-n;this.result=this.result*Math.pow(s,u)+Number.parseInt(t.substr(n,u),s),this.consumed+=u}}stateNumericHex(t,n){const a=n;for(;n<t.length;){const s=t.charCodeAt(n);if(R1(s)||Cw(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(R1(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===ti.Strict)return 0;return this.emitCodePoint(Nw(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],u=(s&Ki.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const o=t.charCodeAt(n);if(this.treeIndex=Dw(a,s,this.treeIndex+Math.max(1,u),o),this.treeIndex<0)return this.result===0||this.decodeMode===ti.Attribute&&(u===0||Rw(o))?0:this.emitNotTerminatedNamedEntity();if(s=a[this.treeIndex],u=(s&Ki.VALUE_LENGTH)>>14,u!==0){if(o===Fn.SEMI)return this.emitNamedEntityData(this.treeIndex,u,this.consumed+this.excess);this.decodeMode!==ti.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]&Ki.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]&~Ki.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!==ti.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 Dw(e,t,n,a){const s=(t&Ki.BRANCH_LENGTH)>>7,u=t&Ki.JUMP_TABLE;if(s===0)return u!==0&&a===u?n:-1;if(u){const f=a-u;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 Se;(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/"})(Se||(Se={}));var Cs;(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"})(Cs||(Cs={}));var Wr;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(Wr||(Wr={}));var Z;(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"})(Z||(Z={}));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 Iw=new Map([[Z.A,E.A],[Z.ADDRESS,E.ADDRESS],[Z.ANNOTATION_XML,E.ANNOTATION_XML],[Z.APPLET,E.APPLET],[Z.AREA,E.AREA],[Z.ARTICLE,E.ARTICLE],[Z.ASIDE,E.ASIDE],[Z.B,E.B],[Z.BASE,E.BASE],[Z.BASEFONT,E.BASEFONT],[Z.BGSOUND,E.BGSOUND],[Z.BIG,E.BIG],[Z.BLOCKQUOTE,E.BLOCKQUOTE],[Z.BODY,E.BODY],[Z.BR,E.BR],[Z.BUTTON,E.BUTTON],[Z.CAPTION,E.CAPTION],[Z.CENTER,E.CENTER],[Z.CODE,E.CODE],[Z.COL,E.COL],[Z.COLGROUP,E.COLGROUP],[Z.DD,E.DD],[Z.DESC,E.DESC],[Z.DETAILS,E.DETAILS],[Z.DIALOG,E.DIALOG],[Z.DIR,E.DIR],[Z.DIV,E.DIV],[Z.DL,E.DL],[Z.DT,E.DT],[Z.EM,E.EM],[Z.EMBED,E.EMBED],[Z.FIELDSET,E.FIELDSET],[Z.FIGCAPTION,E.FIGCAPTION],[Z.FIGURE,E.FIGURE],[Z.FONT,E.FONT],[Z.FOOTER,E.FOOTER],[Z.FOREIGN_OBJECT,E.FOREIGN_OBJECT],[Z.FORM,E.FORM],[Z.FRAME,E.FRAME],[Z.FRAMESET,E.FRAMESET],[Z.H1,E.H1],[Z.H2,E.H2],[Z.H3,E.H3],[Z.H4,E.H4],[Z.H5,E.H5],[Z.H6,E.H6],[Z.HEAD,E.HEAD],[Z.HEADER,E.HEADER],[Z.HGROUP,E.HGROUP],[Z.HR,E.HR],[Z.HTML,E.HTML],[Z.I,E.I],[Z.IMG,E.IMG],[Z.IMAGE,E.IMAGE],[Z.INPUT,E.INPUT],[Z.IFRAME,E.IFRAME],[Z.KEYGEN,E.KEYGEN],[Z.LABEL,E.LABEL],[Z.LI,E.LI],[Z.LINK,E.LINK],[Z.LISTING,E.LISTING],[Z.MAIN,E.MAIN],[Z.MALIGNMARK,E.MALIGNMARK],[Z.MARQUEE,E.MARQUEE],[Z.MATH,E.MATH],[Z.MENU,E.MENU],[Z.META,E.META],[Z.MGLYPH,E.MGLYPH],[Z.MI,E.MI],[Z.MO,E.MO],[Z.MN,E.MN],[Z.MS,E.MS],[Z.MTEXT,E.MTEXT],[Z.NAV,E.NAV],[Z.NOBR,E.NOBR],[Z.NOFRAMES,E.NOFRAMES],[Z.NOEMBED,E.NOEMBED],[Z.NOSCRIPT,E.NOSCRIPT],[Z.OBJECT,E.OBJECT],[Z.OL,E.OL],[Z.OPTGROUP,E.OPTGROUP],[Z.OPTION,E.OPTION],[Z.P,E.P],[Z.PARAM,E.PARAM],[Z.PLAINTEXT,E.PLAINTEXT],[Z.PRE,E.PRE],[Z.RB,E.RB],[Z.RP,E.RP],[Z.RT,E.RT],[Z.RTC,E.RTC],[Z.RUBY,E.RUBY],[Z.S,E.S],[Z.SCRIPT,E.SCRIPT],[Z.SEARCH,E.SEARCH],[Z.SECTION,E.SECTION],[Z.SELECT,E.SELECT],[Z.SOURCE,E.SOURCE],[Z.SMALL,E.SMALL],[Z.SPAN,E.SPAN],[Z.STRIKE,E.STRIKE],[Z.STRONG,E.STRONG],[Z.STYLE,E.STYLE],[Z.SUB,E.SUB],[Z.SUMMARY,E.SUMMARY],[Z.SUP,E.SUP],[Z.TABLE,E.TABLE],[Z.TBODY,E.TBODY],[Z.TEMPLATE,E.TEMPLATE],[Z.TEXTAREA,E.TEXTAREA],[Z.TFOOT,E.TFOOT],[Z.TD,E.TD],[Z.TH,E.TH],[Z.THEAD,E.THEAD],[Z.TITLE,E.TITLE],[Z.TR,E.TR],[Z.TRACK,E.TRACK],[Z.TT,E.TT],[Z.U,E.U],[Z.UL,E.UL],[Z.SVG,E.SVG],[Z.VAR,E.VAR],[Z.WBR,E.WBR],[Z.XMP,E.XMP]]);function zl(e){var t;return(t=Iw.get(e))!==null&&t!==void 0?t:E.UNKNOWN}const xe=E,Lw={[Se.HTML]:new Set([xe.ADDRESS,xe.APPLET,xe.AREA,xe.ARTICLE,xe.ASIDE,xe.BASE,xe.BASEFONT,xe.BGSOUND,xe.BLOCKQUOTE,xe.BODY,xe.BR,xe.BUTTON,xe.CAPTION,xe.CENTER,xe.COL,xe.COLGROUP,xe.DD,xe.DETAILS,xe.DIR,xe.DIV,xe.DL,xe.DT,xe.EMBED,xe.FIELDSET,xe.FIGCAPTION,xe.FIGURE,xe.FOOTER,xe.FORM,xe.FRAME,xe.FRAMESET,xe.H1,xe.H2,xe.H3,xe.H4,xe.H5,xe.H6,xe.HEAD,xe.HEADER,xe.HGROUP,xe.HR,xe.HTML,xe.IFRAME,xe.IMG,xe.INPUT,xe.LI,xe.LINK,xe.LISTING,xe.MAIN,xe.MARQUEE,xe.MENU,xe.META,xe.NAV,xe.NOEMBED,xe.NOFRAMES,xe.NOSCRIPT,xe.OBJECT,xe.OL,xe.P,xe.PARAM,xe.PLAINTEXT,xe.PRE,xe.SCRIPT,xe.SECTION,xe.SELECT,xe.SOURCE,xe.STYLE,xe.SUMMARY,xe.TABLE,xe.TBODY,xe.TD,xe.TEMPLATE,xe.TEXTAREA,xe.TFOOT,xe.TH,xe.THEAD,xe.TITLE,xe.TR,xe.TRACK,xe.UL,xe.WBR,xe.XMP]),[Se.MATHML]:new Set([xe.MI,xe.MO,xe.MN,xe.MS,xe.MTEXT,xe.ANNOTATION_XML]),[Se.SVG]:new Set([xe.TITLE,xe.FOREIGN_OBJECT,xe.DESC]),[Se.XLINK]:new Set,[Se.XML]:new Set,[Se.XMLNS]:new Set},M1=new Set([xe.H1,xe.H2,xe.H3,xe.H4,xe.H5,xe.H6]);Z.STYLE,Z.SCRIPT,Z.XMP,Z.IFRAME,Z.NOEMBED,Z.NOFRAMES,Z.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 Bw(e){return e>=D.DIGIT_0&&e<=D.DIGIT_9}function Zu(e){return e>=D.LATIN_CAPITAL_A&&e<=D.LATIN_CAPITAL_Z}function Pw(e){return e>=D.LATIN_SMALL_A&&e<=D.LATIN_SMALL_Z}function qi(e){return Pw(e)||Zu(e)}function Rb(e){return qi(e)||Bw(e)}function W0(e){return e+32}function FE(e){return e===D.SPACE||e===D.LINE_FEED||e===D.TABULATION||e===D.FORM_FEED}function Mb(e){return FE(e)||e===D.SOLIDUS||e===D.GREATER_THAN_SIGN}function Uw(e){return e===D.NULL?he.nullCharacterReference:e>1114111?he.characterReferenceOutsideUnicodeRange:BE(e)?he.surrogateCharacterReference:UE(e)?he.noncharacterCharacterReference:PE(e)||e===D.CARRIAGE_RETURN?he.controlCharacterReference:null}class zw{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 xw(n),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new Mw(Aw,(a,s)=>{this.preprocessor.pos=this.entityStartPos+s-1,this._flushCodePointConsumedAsCharacterReference(a)},n.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(he.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:a=>{this._err(he.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+a)},validateNumericCharacterReference:a=>{const s=Uw(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(zE(a,this.currentAttr.name)===null){if(a.attrs.push(this.currentAttr),a.location&&this.currentLocation){const s=(t=(n=a.location).attrs)!==null&&t!==void 0?t:n.attrs=Object.create(null);s[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(he.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(t){this._emitCurrentCharacterToken(t.location),this.currentToken=null,t.location&&(t.location.endLine=this.preprocessor.line,t.location.endCol=this.preprocessor.col+1,t.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const t=this.currentToken;this.prepareToken(t),t.tagID=zl(t.tagName),t.type===Et.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(he.endTagWithAttributes),t.selfClosing&&this._err(he.endTagWithTrailingSolidus),this.handler.onEndTag(t)),this.preprocessor.dropParsedChunk()}emitCurrentComment(t){this.prepareToken(t),this.handler.onComment(t),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(t){this.prepareToken(t),this.handler.onDoctype(t),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(t){if(this.currentCharacterToken){switch(t&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=t.startLine,this.currentCharacterToken.location.endCol=t.startCol,this.currentCharacterToken.location.endOffset=t.startOffset),this.currentCharacterToken.type){case 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=FE(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()?ti.Attribute:ti.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(he.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(he.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(he.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(he.unexpectedNullCharacter),this._emitChars(nn);break}case D.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case D.NULL:{this._err(he.unexpectedNullCharacter),this._emitChars(nn);break}case D.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(qi(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(he.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=B.BOGUS_COMMENT,this._stateBogusComment(t);break}case D.EOF:{this._err(he.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(he.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=B.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(qi(t))this._createEndTagToken(),this.state=B.TAG_NAME,this._stateTagName(t);else switch(t){case D.GREATER_THAN_SIGN:{this._err(he.missingEndTagName),this.state=B.DATA;break}case D.EOF:{this._err(he.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(he.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(he.unexpectedNullCharacter),n.tagName+=nn;break}case D.EOF:{this._err(he.eofInTag),this._emitEOFToken();break}default:n.tagName+=String.fromCodePoint(Zu(t)?W0(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){qi(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){qi(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){qi(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(he.unexpectedNullCharacter),this._emitChars(nn);break}case D.EOF:{this._err(he.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(he.unexpectedNullCharacter),this.state=B.SCRIPT_DATA_ESCAPED,this._emitChars(nn);break}case D.EOF:{this._err(he.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(he.unexpectedNullCharacter),this.state=B.SCRIPT_DATA_ESCAPED,this._emitChars(nn);break}case D.EOF:{this._err(he.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:qi(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){qi(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)&&Mb(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(he.unexpectedNullCharacter),this._emitChars(nn);break}case D.EOF:{this._err(he.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(he.unexpectedNullCharacter),this.state=B.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(nn);break}case D.EOF:{this._err(he.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(he.unexpectedNullCharacter),this.state=B.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(nn);break}case D.EOF:{this._err(he.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)&&Mb(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(he.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(he.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case D.NULL:{this._err(he.unexpectedNullCharacter),this.currentAttr.name+=nn;break}default:this.currentAttr.name+=String.fromCodePoint(Zu(t)?W0(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(he.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(he.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(he.unexpectedNullCharacter),this.currentAttr.value+=nn;break}case D.EOF:{this._err(he.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(he.unexpectedNullCharacter),this.currentAttr.value+=nn;break}case D.EOF:{this._err(he.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(he.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(he.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case D.EOF:{this._err(he.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(he.eofInTag),this._emitEOFToken();break}default:this._err(he.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(he.eofInTag),this._emitEOFToken();break}default:this._err(he.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(he.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(he.cdataInHtmlContent),this._createCommentToken(br.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=B.BOGUS_COMMENT):this._ensureHibernation()||(this._err(he.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(he.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(he.abruptClosingOfEmptyComment),this.state=B.DATA,this.emitCurrentComment(n);break}case D.EOF:{this._err(he.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(he.unexpectedNullCharacter),n.data+=nn;break}case D.EOF:{this._err(he.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const n=this.currentToken;switch(t){case 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(he.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(he.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(he.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(he.incorrectlyClosedComment),this.state=B.DATA,this.emitCurrentComment(n);break}case D.EOF:{this._err(he.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(he.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(he.missingWhitespaceBeforeDoctypeName),this.state=B.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(Zu(t))this._createDoctypeToken(String.fromCharCode(W0(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(he.unexpectedNullCharacter),this._createDoctypeToken(nn),this.state=B.DOCTYPE_NAME;break}case D.GREATER_THAN_SIGN:{this._err(he.missingDoctypeName),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=B.DATA;break}case D.EOF:{this._err(he.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(t)),this.state=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(he.unexpectedNullCharacter),n.name+=nn;break}case D.EOF:{this._err(he.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.name+=String.fromCodePoint(Zu(t)?W0(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(he.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(he.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(he.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=B.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case D.APOSTROPHE:{this._err(he.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=B.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case D.GREATER_THAN_SIGN:{this._err(he.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=B.DATA,this.emitCurrentDoctype(n);break}case D.EOF:{this._err(he.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(he.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(he.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=B.DATA,this.emitCurrentDoctype(n);break}case D.EOF:{this._err(he.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(he.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(he.unexpectedNullCharacter),n.publicId+=nn;break}case D.GREATER_THAN_SIGN:{this._err(he.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=B.DATA;break}case D.EOF:{this._err(he.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateDoctypePublicIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case D.APOSTROPHE:{this.state=B.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case D.NULL:{this._err(he.unexpectedNullCharacter),n.publicId+=nn;break}case D.GREATER_THAN_SIGN:{this._err(he.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=B.DATA;break}case D.EOF:{this._err(he.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateAfterDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case 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(he.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=B.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case D.APOSTROPHE:{this._err(he.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=B.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case D.EOF:{this._err(he.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(he.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(he.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(he.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(he.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=B.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case D.APOSTROPHE:{this._err(he.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=B.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case D.GREATER_THAN_SIGN:{this._err(he.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=B.DATA,this.emitCurrentDoctype(n);break}case D.EOF:{this._err(he.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(he.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(he.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=B.DATA,this.emitCurrentDoctype(n);break}case D.EOF:{this._err(he.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(he.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(he.unexpectedNullCharacter),n.systemId+=nn;break}case D.GREATER_THAN_SIGN:{this._err(he.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=B.DATA;break}case D.EOF:{this._err(he.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateDoctypeSystemIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case D.APOSTROPHE:{this.state=B.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case D.NULL:{this._err(he.unexpectedNullCharacter),n.systemId+=nn;break}case D.GREATER_THAN_SIGN:{this._err(he.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=B.DATA;break}case D.EOF:{this._err(he.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateAfterDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case 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(he.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(he.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(he.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(he.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()&&Rb(this.preprocessor.peek(1))?B.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){Rb(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===D.SEMICOLON&&this._err(he.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}}const HE=new Set([E.DD,E.DT,E.LI,E.OPTGROUP,E.OPTION,E.P,E.RB,E.RP,E.RT,E.RTC]),Db=new Set([...HE,E.CAPTION,E.COLGROUP,E.TBODY,E.TD,E.TFOOT,E.TH,E.THEAD,E.TR]),Nc=new Set([E.APPLET,E.CAPTION,E.HTML,E.MARQUEE,E.OBJECT,E.TABLE,E.TD,E.TEMPLATE,E.TH]),Fw=new Set([...Nc,E.OL,E.UL]),Hw=new Set([...Nc,E.BUTTON]),Ib=new Set([E.ANNOTATION_XML,E.MI,E.MN,E.MO,E.MS,E.MTEXT]),Lb=new Set([E.DESC,E.FOREIGN_OBJECT,E.TITLE]),qw=new Set([E.TR,E.TEMPLATE,E.HTML]),Yw=new Set([E.TBODY,E.TFOOT,E.THEAD,E.TEMPLATE,E.HTML]),Gw=new Set([E.TABLE,E.TEMPLATE,E.HTML]),jw=new Set([E.TD,E.TH]);class Vw{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)===Se.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])!==Se.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(M1,Se.HTML)}popUntilTableCellPopped(){this.popUntilPopped(jw,Se.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(Gw,Se.HTML)}clearBackToTableBodyContext(){this.clearBackTo(Yw,Se.HTML)}clearBackToTableRowContext(){this.clearBackTo(qw,Se.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 Se.HTML:{if(s===t)return!0;if(n.has(s))return!1;break}case Se.SVG:{if(Lb.has(s))return!1;break}case Se.MATHML:{if(Ib.has(s))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,Nc)}hasInListItemScope(t){return this.hasInDynamicScope(t,Fw)}hasInButtonScope(t){return this.hasInDynamicScope(t,Hw)}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];switch(this.treeAdapter.getNamespaceURI(this.items[t])){case Se.HTML:{if(M1.has(n))return!0;if(Nc.has(n))return!1;break}case Se.SVG:{if(Lb.has(n))return!1;break}case Se.MATHML:{if(Ib.has(n))return!1;break}}}return!0}hasInTableScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===Se.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])===Se.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])===Se.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&&HE.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&Db.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==void 0&&this.currentTagId!==t&&Db.has(this.currentTagId);)this.pop()}}const Bh=3;var xa;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(xa||(xa={}));const Bb={type:xa.Marker};class Kw{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,n){const a=[],s=n.length,u=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)===u&&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<Bh)return;const n=this.treeAdapter.getAttrList(t),a=this._getNoahArkConditionCandidates(t,n);if(a.length<Bh)return;const s=new Map(n.map(o=>[o.name,o.value]));let u=0;for(let o=0;o<a.length;o++){const d=a[o];d.attrs.every(f=>s.get(f.name)===f.value)&&(u+=1,u>=Bh&&this.entries.splice(d.idx,1))}}insertMarker(){this.entries.unshift(Bb)}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(Bb);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 Yi={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(u=>u.nodeName==="#documentType");if(s)s.name=t,s.publicId=n,s.systemId=a;else{const u={nodeName:"#documentType",name:t,publicId:n,systemId:a,parentNode:null};Yi.appendChild(e,u)}},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(Yi.isTextNode(n)){n.value+=t;return}}Yi.appendChild(e,Yi.createTextNode(t))},insertTextBefore(e,t,n){const a=e.childNodes[e.childNodes.indexOf(n)-1];a&&Yi.isTextNode(a)?a.value+=t:Yi.insertBefore(e,Yi.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}}},qE="html",$w="about:legacy-compat",Xw="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",YE=["+//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//"],Ww=[...YE,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],Qw=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),GE=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],Zw=[...GE,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function Pb(e,t){return t.some(n=>e.startsWith(n))}function Jw(e){return e.name===qE&&e.publicId===null&&(e.systemId===null||e.systemId===$w)}function eN(e){if(e.name!==qE)return Wr.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===Xw)return Wr.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),Qw.has(n))return Wr.QUIRKS;let a=t===null?Ww:YE;if(Pb(n,a))return Wr.QUIRKS;if(a=t===null?GE:Zw,Pb(n,a))return Wr.LIMITED_QUIRKS}return Wr.NO_QUIRKS}const Ub={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},tN="definitionurl",nN="definitionURL",rN=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])),aN=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:Se.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:Se.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:Se.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:Se.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:Se.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:Se.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:Se.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:Se.XML}],["xml:space",{prefix:"xml",name:"space",namespace:Se.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:Se.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:Se.XMLNS}]]),iN=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])),sN=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 lN(e){const t=e.tagID;return t===E.FONT&&e.attrs.some(({name:a})=>a===Cs.COLOR||a===Cs.SIZE||a===Cs.FACE)||sN.has(t)}function jE(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===tN){e.attrs[t].name=nN;break}}function VE(e){for(let t=0;t<e.attrs.length;t++){const n=rN.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function Am(e){for(let t=0;t<e.attrs.length;t++){const n=aN.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 uN(e){const t=iN.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=zl(e.tagName))}function oN(e,t){return t===Se.MATHML&&(e===E.MI||e===E.MO||e===E.MN||e===E.MS||e===E.MTEXT)}function cN(e,t,n){if(t===Se.MATHML&&e===E.ANNOTATION_XML){for(let a=0;a<n.length;a++)if(n[a].name===Cs.ENCODING){const s=n[a].value.toLowerCase();return s===Ub.TEXT_HTML||s===Ub.APPLICATION_XML}}return t===Se.SVG&&(e===E.FOREIGN_OBJECT||e===E.DESC||e===E.TITLE)}function dN(e,t,n,a){return(!a||a===Se.HTML)&&cN(e,t,n)||(!a||a===Se.MATHML)&&oN(e,t)}const fN="hidden",hN=8,mN=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 pN={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},KE=new Set([E.TABLE,E.TBODY,E.TFOOT,E.THEAD,E.TR]),zb={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Yi,onParseError:null};let Fb=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={...zb,...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 zw(this.options,this),this.activeFormattingElements=new Kw(this.treeAdapter),this.fragmentContextID=a?zl(this.treeAdapter.getTagName(a)):E.UNKNOWN,this._setContextModes(a??this.document,this.fragmentContextID),this.openElements=new Vw(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={...zb,...n};t??(t=a.treeAdapter.createElement(Z.TEMPLATE,Se.HTML,[]));const s=a.treeAdapter.createElement("documentmock",Se.HTML,[]),u=new this(a,s,t);return u.fragmentContextID===E.TEMPLATE&&u.tmplInsertionModeStack.unshift(F.IN_TEMPLATE),u._initTokenizerForFragmentParsing(),u._insertFakeRootElement(),u._resetInsertionMode(),u._findFormInFragmentContext(),u}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 u=(s=t.location)!==null&&s!==void 0?s:pN,o={code:n,startLine:u.startLine,startCol:u.startCol,startOffset:u.startOffset,endLine:a?u.startLine:u.endLine,endCol:a?u.startCol:u.endCol,endOffset:a?u.startOffset:u.endOffset};this.onParseError(o)}onItemPush(t,n,a){var s,u;(u=(s=this.treeAdapter).onItemPush)===null||u===void 0||u.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 u,o;this.openElements.stackTop===0&&this.fragmentContext?(u=this.fragmentContext,o=this.fragmentContextID):{current:u,currentTagId:o}=this.openElements,this._setContextModes(u,o)}}_setContextModes(t,n){const a=t===this.document||t&&this.treeAdapter.getNamespaceURI(t)===Se.HTML;this.currentNotInHTML=!a,this.tokenizer.inForeignNode=!a&&t!==void 0&&n!==void 0&&!this._isIntegrationPoint(n,t)}_switchToTextParsing(t,n){this._insertElement(t,Se.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)===Z.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==Se.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,Se.HTML,[]);this._attachElementToTree(a,null),this.openElements.push(a,n)}_insertTemplate(t){const n=this.treeAdapter.createElement(t.tagName,Se.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(Z.HTML,Se.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),u=a?s.lastIndexOf(a):s.length,o=s[u-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),u=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,u)}}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)===Z.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===Se.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===E.MGLYPH||t.tagID===E.MALIGNMARK)&&a!==void 0&&!this._isIntegrationPoint(a,n,Se.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),u=this.treeAdapter.getAttrList(n);return dN(t,s,u,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 u=this.activeFormattingElements.entries[s];this._insertElement(u.token,this.treeAdapter.getNamespaceURI(u.element)),u.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 KE.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)===Se.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 Lw[a].has(n)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){jk(this,t);return}switch(this.insertionMode){case F.INITIAL:{Xu(this,t);break}case F.BEFORE_HTML:{ro(this,t);break}case F.BEFORE_HEAD:{ao(this,t);break}case F.IN_HEAD:{io(this,t);break}case F.IN_HEAD_NO_SCRIPT:{so(this,t);break}case F.AFTER_HEAD:{lo(this,t);break}case F.IN_BODY:case F.IN_CAPTION:case F.IN_CELL:case F.IN_TEMPLATE:{XE(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:{Ph(this,t);break}case F.IN_TABLE_TEXT:{t5(this,t);break}case F.IN_COLUMN_GROUP:{kc(this,t);break}case F.AFTER_BODY:{Cc(this,t);break}case F.AFTER_AFTER_BODY:{yc(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Gk(this,t);return}switch(this.insertionMode){case F.INITIAL:{Xu(this,t);break}case F.BEFORE_HTML:{ro(this,t);break}case F.BEFORE_HEAD:{ao(this,t);break}case F.IN_HEAD:{io(this,t);break}case F.IN_HEAD_NO_SCRIPT:{so(this,t);break}case F.AFTER_HEAD:{lo(this,t);break}case F.TEXT:{this._insertCharacters(t);break}case F.IN_TABLE:case F.IN_TABLE_BODY:case F.IN_ROW:{Ph(this,t);break}case F.IN_COLUMN_GROUP:{kc(this,t);break}case F.AFTER_BODY:{Cc(this,t);break}case F.AFTER_AFTER_BODY:{yc(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){D1(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:{D1(this,t);break}case F.IN_TABLE_TEXT:{Wu(this,t);break}case F.AFTER_BODY:{_N(this,t);break}case F.AFTER_AFTER_BODY:case F.AFTER_AFTER_FRAMESET:{SN(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case F.INITIAL:{xN(this,t);break}case F.BEFORE_HEAD:case F.IN_HEAD:case F.IN_HEAD_NO_SCRIPT:case F.AFTER_HEAD:{this._err(t,he.misplacedDoctype);break}case F.IN_TABLE_TEXT:{Wu(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,he.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?Vk(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case F.INITIAL:{Xu(this,t);break}case F.BEFORE_HTML:{AN(this,t);break}case F.BEFORE_HEAD:{NN(this,t);break}case F.IN_HEAD:{ma(this,t);break}case F.IN_HEAD_NO_SCRIPT:{ON(this,t);break}case F.AFTER_HEAD:{MN(this,t);break}case F.IN_BODY:{Qn(this,t);break}case F.IN_TABLE:{Rl(this,t);break}case F.IN_TABLE_TEXT:{Wu(this,t);break}case F.IN_CAPTION:{kk(this,t);break}case F.IN_COLUMN_GROUP:{km(this,t);break}case F.IN_TABLE_BODY:{Wc(this,t);break}case F.IN_ROW:{Qc(this,t);break}case F.IN_CELL:{Rk(this,t);break}case F.IN_SELECT:{a5(this,t);break}case F.IN_SELECT_IN_TABLE:{Dk(this,t);break}case F.IN_TEMPLATE:{Lk(this,t);break}case F.AFTER_BODY:{Pk(this,t);break}case F.IN_FRAMESET:{Uk(this,t);break}case F.AFTER_FRAMESET:{Fk(this,t);break}case F.AFTER_AFTER_BODY:{qk(this,t);break}case F.AFTER_AFTER_FRAMESET:{Yk(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?Kk(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case F.INITIAL:{Xu(this,t);break}case F.BEFORE_HTML:{wN(this,t);break}case F.BEFORE_HEAD:{kN(this,t);break}case F.IN_HEAD:{CN(this,t);break}case F.IN_HEAD_NO_SCRIPT:{RN(this,t);break}case F.AFTER_HEAD:{DN(this,t);break}case F.IN_BODY:{Xc(this,t);break}case F.TEXT:{Ek(this,t);break}case F.IN_TABLE:{go(this,t);break}case F.IN_TABLE_TEXT:{Wu(this,t);break}case F.IN_CAPTION:{Ck(this,t);break}case F.IN_COLUMN_GROUP:{Ok(this,t);break}case F.IN_TABLE_BODY:{I1(this,t);break}case F.IN_ROW:{r5(this,t);break}case F.IN_CELL:{Mk(this,t);break}case F.IN_SELECT:{i5(this,t);break}case F.IN_SELECT_IN_TABLE:{Ik(this,t);break}case F.IN_TEMPLATE:{Bk(this,t);break}case F.AFTER_BODY:{l5(this,t);break}case F.IN_FRAMESET:{zk(this,t);break}case F.AFTER_FRAMESET:{Hk(this,t);break}case F.AFTER_AFTER_BODY:{yc(this,t);break}}}onEof(t){switch(this.insertionMode){case F.INITIAL:{Xu(this,t);break}case F.BEFORE_HTML:{ro(this,t);break}case F.BEFORE_HEAD:{ao(this,t);break}case F.IN_HEAD:{io(this,t);break}case F.IN_HEAD_NO_SCRIPT:{so(this,t);break}case F.AFTER_HEAD:{lo(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:{JE(this,t);break}case F.TEXT:{yk(this,t);break}case F.IN_TABLE_TEXT:{Wu(this,t);break}case F.IN_TEMPLATE:{s5(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:{Nm(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:{$E(this,t);break}case F.IN_TABLE:case F.IN_TABLE_BODY:case F.IN_ROW:{Ph(this,t);break}case F.IN_TABLE_TEXT:{e5(this,t);break}}}};function gN(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):ZE(e,t),n}function bN(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 EN(e,t,n){let a=t,s=e.openElements.getCommonAncestor(t);for(let u=0,o=s;o!==n;u++,o=s){s=e.openElements.getCommonAncestor(o);const d=e.activeFormattingElements.getElementEntry(o),f=d&&u>=mN;!d||f?(f&&e.activeFormattingElements.removeEntry(d),e.openElements.remove(o)):(o=yN(e,d),a===t&&(e.activeFormattingElements.bookmark=d),e.treeAdapter.detachNode(a),e.treeAdapter.appendChild(o,a),a=o)}return a}function yN(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 vN(e,t,n){const a=e.treeAdapter.getTagName(t),s=zl(a);if(e._isElementCausesFosterParenting(s))e._fosterParentElement(n);else{const u=e.treeAdapter.getNamespaceURI(t);s===E.TEMPLATE&&u===Se.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function TN(e,t,n){const a=e.treeAdapter.getNamespaceURI(n.element),{token:s}=n,u=e.treeAdapter.createElement(s.tagName,a,s.attrs);e._adoptNodes(t,u),e.treeAdapter.appendChild(t,u),e.activeFormattingElements.insertElementAfterBookmark(u,s),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,u,s.tagID)}function wm(e,t){for(let n=0;n<hN;n++){const a=gN(e,t);if(!a)break;const s=bN(e,a);if(!s)break;e.activeFormattingElements.bookmark=a;const u=EN(e,s,a.element),o=e.openElements.getCommonAncestor(a.element);e.treeAdapter.detachNode(u),o&&vN(e,o,u),TN(e,s,a)}}function D1(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function _N(e,t){e._appendCommentNode(t,e.openElements.items[0])}function SN(e,t){e._appendCommentNode(t,e.document)}function Nm(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 u=e.openElements.items[1],o=e.treeAdapter.getNodeSourceCodeLocation(u);o&&!o.endTag&&e._setEndLocation(u,t)}}}}function xN(e,t){e._setDocumentType(t);const n=t.forceQuirks?Wr.QUIRKS:eN(t);Jw(t)||e._err(t,he.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=F.BEFORE_HTML}function Xu(e,t){e._err(t,he.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,Wr.QUIRKS),e.insertionMode=F.BEFORE_HTML,e._processToken(t)}function AN(e,t){t.tagID===E.HTML?(e._insertElement(t,Se.HTML),e.insertionMode=F.BEFORE_HEAD):ro(e,t)}function wN(e,t){const n=t.tagID;(n===E.HTML||n===E.HEAD||n===E.BODY||n===E.BR)&&ro(e,t)}function ro(e,t){e._insertFakeRootElement(),e.insertionMode=F.BEFORE_HEAD,e._processToken(t)}function NN(e,t){switch(t.tagID){case E.HTML:{Qn(e,t);break}case E.HEAD:{e._insertElement(t,Se.HTML),e.headElement=e.openElements.current,e.insertionMode=F.IN_HEAD;break}default:ao(e,t)}}function kN(e,t){const n=t.tagID;n===E.HEAD||n===E.BODY||n===E.HTML||n===E.BR?ao(e,t):e._err(t,he.endTagWithoutMatchingOpenElement)}function ao(e,t){e._insertFakeElement(Z.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,Se.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,Se.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,he.misplacedStartTagForHeadElement);break}default:io(e,t)}}function CN(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:{io(e,t);break}case E.TEMPLATE:{Ds(e,t);break}default:e._err(t,he.endTagWithoutMatchingOpenElement)}}function Ds(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==E.TEMPLATE&&e._err(t,he.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(E.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,he.endTagWithoutMatchingOpenElement)}function io(e,t){e.openElements.pop(),e.insertionMode=F.AFTER_HEAD,e._processToken(t)}function ON(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,he.nestedNoscriptInHead);break}default:so(e,t)}}function RN(e,t){switch(t.tagID){case E.NOSCRIPT:{e.openElements.pop(),e.insertionMode=F.IN_HEAD;break}case E.BR:{so(e,t);break}default:e._err(t,he.endTagWithoutMatchingOpenElement)}}function so(e,t){const n=t.type===Et.EOF?he.openElementsLeftAfterEof:he.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=F.IN_HEAD,e._processToken(t)}function MN(e,t){switch(t.tagID){case E.HTML:{Qn(e,t);break}case E.BODY:{e._insertElement(t,Se.HTML),e.framesetOk=!1,e.insertionMode=F.IN_BODY;break}case E.FRAMESET:{e._insertElement(t,Se.HTML),e.insertionMode=F.IN_FRAMESET;break}case E.BASE:case E.BASEFONT:case E.BGSOUND:case E.LINK:case E.META:case E.NOFRAMES:case E.SCRIPT:case E.STYLE:case E.TEMPLATE:case E.TITLE:{e._err(t,he.abandonedHeadElementChild),e.openElements.push(e.headElement,E.HEAD),ma(e,t),e.openElements.remove(e.headElement);break}case E.HEAD:{e._err(t,he.misplacedStartTagForHeadElement);break}default:lo(e,t)}}function DN(e,t){switch(t.tagID){case E.BODY:case E.HTML:case E.BR:{lo(e,t);break}case E.TEMPLATE:{Ds(e,t);break}default:e._err(t,he.endTagWithoutMatchingOpenElement)}}function lo(e,t){e._insertFakeElement(Z.BODY,E.BODY),e.insertionMode=F.IN_BODY,$c(e,t)}function $c(e,t){switch(t.type){case Et.CHARACTER:{XE(e,t);break}case Et.WHITESPACE_CHARACTER:{$E(e,t);break}case Et.COMMENT:{D1(e,t);break}case Et.START_TAG:{Qn(e,t);break}case Et.END_TAG:{Xc(e,t);break}case Et.EOF:{JE(e,t);break}}}function $E(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function XE(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function IN(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function LN(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function BN(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,Se.HTML),e.insertionMode=F.IN_FRAMESET)}function PN(e,t){e.openElements.hasInButtonScope(E.P)&&e._closePElement(),e._insertElement(t,Se.HTML)}function UN(e,t){e.openElements.hasInButtonScope(E.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&M1.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,Se.HTML)}function zN(e,t){e.openElements.hasInButtonScope(E.P)&&e._closePElement(),e._insertElement(t,Se.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function FN(e,t){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(E.P)&&e._closePElement(),e._insertElement(t,Se.HTML),n||(e.formElement=e.openElements.current))}function HN(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,Se.HTML)}function qN(e,t){e.openElements.hasInButtonScope(E.P)&&e._closePElement(),e._insertElement(t,Se.HTML),e.tokenizer.state=yn.PLAINTEXT}function YN(e,t){e.openElements.hasInScope(E.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(E.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,Se.HTML),e.framesetOk=!1}function GN(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(Z.A);n&&(wm(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,Se.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function jN(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Se.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function VN(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(E.NOBR)&&(wm(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,Se.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function KN(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Se.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function $N(e,t){e.treeAdapter.getDocumentMode(e.document)!==Wr.QUIRKS&&e.openElements.hasInButtonScope(E.P)&&e._closePElement(),e._insertElement(t,Se.HTML),e.framesetOk=!1,e.insertionMode=F.IN_TABLE}function WE(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,Se.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function QE(e){const t=zE(e,Cs.TYPE);return t!=null&&t.toLowerCase()===fN}function XN(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,Se.HTML),QE(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function WN(e,t){e._appendElement(t,Se.HTML),t.ackSelfClosing=!0}function QN(e,t){e.openElements.hasInButtonScope(E.P)&&e._closePElement(),e._appendElement(t,Se.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function ZN(e,t){t.tagName=Z.IMG,t.tagID=E.IMG,WE(e,t)}function JN(e,t){e._insertElement(t,Se.HTML),e.skipNextNewLine=!0,e.tokenizer.state=yn.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=F.TEXT}function ek(e,t){e.openElements.hasInButtonScope(E.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,yn.RAWTEXT)}function tk(e,t){e.framesetOk=!1,e._switchToTextParsing(t,yn.RAWTEXT)}function Hb(e,t){e._switchToTextParsing(t,yn.RAWTEXT)}function nk(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Se.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 rk(e,t){e.openElements.currentTagId===E.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,Se.HTML)}function ak(e,t){e.openElements.hasInScope(E.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,Se.HTML)}function ik(e,t){e.openElements.hasInScope(E.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(E.RTC),e._insertElement(t,Se.HTML)}function sk(e,t){e._reconstructActiveFormattingElements(),jE(t),Am(t),t.selfClosing?e._appendElement(t,Se.MATHML):e._insertElement(t,Se.MATHML),t.ackSelfClosing=!0}function lk(e,t){e._reconstructActiveFormattingElements(),VE(t),Am(t),t.selfClosing?e._appendElement(t,Se.SVG):e._insertElement(t,Se.SVG),t.ackSelfClosing=!0}function qb(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Se.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:{jN(e,t);break}case E.A:{GN(e,t);break}case E.H1:case E.H2:case E.H3:case E.H4:case E.H5:case E.H6:{UN(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:{PN(e,t);break}case E.LI:case E.DD:case E.DT:{HN(e,t);break}case E.BR:case E.IMG:case E.WBR:case E.AREA:case E.EMBED:case E.KEYGEN:{WE(e,t);break}case E.HR:{QN(e,t);break}case E.RB:case E.RTC:{ak(e,t);break}case E.RT:case E.RP:{ik(e,t);break}case E.PRE:case E.LISTING:{zN(e,t);break}case E.XMP:{ek(e,t);break}case E.SVG:{lk(e,t);break}case E.HTML:{IN(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:{LN(e,t);break}case E.FORM:{FN(e,t);break}case E.NOBR:{VN(e,t);break}case E.MATH:{sk(e,t);break}case E.TABLE:{$N(e,t);break}case E.INPUT:{XN(e,t);break}case E.PARAM:case E.TRACK:case E.SOURCE:{WN(e,t);break}case E.IMAGE:{ZN(e,t);break}case E.BUTTON:{YN(e,t);break}case E.APPLET:case E.OBJECT:case E.MARQUEE:{KN(e,t);break}case E.IFRAME:{tk(e,t);break}case E.SELECT:{nk(e,t);break}case E.OPTION:case E.OPTGROUP:{rk(e,t);break}case E.NOEMBED:case E.NOFRAMES:{Hb(e,t);break}case E.FRAMESET:{BN(e,t);break}case E.TEXTAREA:{JN(e,t);break}case E.NOSCRIPT:{e.options.scriptingEnabled?Hb(e,t):qb(e,t);break}case E.PLAINTEXT:{qN(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 uk(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 ok(e,t){e.openElements.hasInScope(E.BODY)&&(e.insertionMode=F.AFTER_BODY,l5(e,t))}function ck(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function dk(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 fk(e){e.openElements.hasInButtonScope(E.P)||e._insertFakeElement(Z.P,E.P),e._closePElement()}function hk(e){e.openElements.hasInListItemScope(E.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(E.LI),e.openElements.popUntilTagNamePopped(E.LI))}function mk(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function pk(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function gk(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function bk(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(Z.BR,E.BR),e.openElements.pop(),e.framesetOk=!1}function ZE(e,t){const n=t.tagName,a=t.tagID;for(let s=e.openElements.stackTop;s>0;s--){const u=e.openElements.items[s],o=e.openElements.tagIDs[s];if(a===o&&(a!==E.UNKNOWN||e.treeAdapter.getTagName(u)===n)){e.openElements.generateImpliedEndTagsWithExclusion(a),e.openElements.stackTop>=s&&e.openElements.shortenToLength(s);break}if(e._isSpecialElement(u,o))break}}function Xc(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:{wm(e,t);break}case E.P:{fk(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:{ck(e,t);break}case E.LI:{hk(e);break}case E.DD:case E.DT:{mk(e,t);break}case E.H1:case E.H2:case E.H3:case E.H4:case E.H5:case E.H6:{pk(e);break}case E.BR:{bk(e);break}case E.BODY:{uk(e,t);break}case E.HTML:{ok(e,t);break}case E.FORM:{dk(e);break}case E.APPLET:case E.OBJECT:case E.MARQUEE:{gk(e,t);break}case E.TEMPLATE:{Ds(e,t);break}default:ZE(e,t)}}function JE(e,t){e.tmplInsertionModeStack.length>0?s5(e,t):Nm(e,t)}function Ek(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 yk(e,t){e._err(t,he.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function Ph(e,t){if(e.openElements.currentTagId!==void 0&&KE.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:{t5(e,t);break}case Et.WHITESPACE_CHARACTER:{e5(e,t);break}}else wo(e,t)}function vk(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,Se.HTML),e.insertionMode=F.IN_CAPTION}function Tk(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,Se.HTML),e.insertionMode=F.IN_COLUMN_GROUP}function _k(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(Z.COLGROUP,E.COLGROUP),e.insertionMode=F.IN_COLUMN_GROUP,km(e,t)}function Sk(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,Se.HTML),e.insertionMode=F.IN_TABLE_BODY}function xk(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(Z.TBODY,E.TBODY),e.insertionMode=F.IN_TABLE_BODY,Wc(e,t)}function Ak(e,t){e.openElements.hasInTableScope(E.TABLE)&&(e.openElements.popUntilTagNamePopped(E.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function wk(e,t){QE(t)?e._appendElement(t,Se.HTML):wo(e,t),t.ackSelfClosing=!0}function Nk(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,Se.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function Rl(e,t){switch(t.tagID){case E.TD:case E.TH:case E.TR:{xk(e,t);break}case E.STYLE:case E.SCRIPT:case E.TEMPLATE:{ma(e,t);break}case E.COL:{_k(e,t);break}case E.FORM:{Nk(e,t);break}case E.TABLE:{Ak(e,t);break}case E.TBODY:case E.TFOOT:case E.THEAD:{Sk(e,t);break}case E.INPUT:{wk(e,t);break}case E.CAPTION:{vk(e,t);break}case E.COLGROUP:{Tk(e,t);break}default:wo(e,t)}}function go(e,t){switch(t.tagID){case E.TABLE:{e.openElements.hasInTableScope(E.TABLE)&&(e.openElements.popUntilTagNamePopped(E.TABLE),e._resetInsertionMode());break}case E.TEMPLATE:{Ds(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,$c(e,t),e.fosterParentingEnabled=n}function e5(e,t){e.pendingCharacterTokens.push(t)}function t5(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function Wu(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 n5=new Set([E.CAPTION,E.COL,E.COLGROUP,E.TBODY,E.TD,E.TFOOT,E.TH,E.THEAD,E.TR]);function kk(e,t){const n=t.tagID;n5.has(n)?e.openElements.hasInTableScope(E.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(E.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=F.IN_TABLE,Rl(e,t)):Qn(e,t)}function Ck(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&&go(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:Xc(e,t)}}function km(e,t){switch(t.tagID){case E.HTML:{Qn(e,t);break}case E.COL:{e._appendElement(t,Se.HTML),t.ackSelfClosing=!0;break}case E.TEMPLATE:{ma(e,t);break}default:kc(e,t)}}function Ok(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:{Ds(e,t);break}case E.COL:break;default:kc(e,t)}}function kc(e,t){e.openElements.currentTagId===E.COLGROUP&&(e.openElements.pop(),e.insertionMode=F.IN_TABLE,e._processToken(t))}function Wc(e,t){switch(t.tagID){case E.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,Se.HTML),e.insertionMode=F.IN_ROW;break}case E.TH:case E.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(Z.TR,E.TR),e.insertionMode=F.IN_ROW,Qc(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,Rl(e,t));break}default:Rl(e,t)}}function I1(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,go(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:go(e,t)}}function Qc(e,t){switch(t.tagID){case E.TH:case E.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,Se.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,Wc(e,t));break}default:Rl(e,t)}}function r5(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,I1(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,I1(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:go(e,t)}}function Rk(e,t){const n=t.tagID;n5.has(n)?(e.openElements.hasInTableScope(E.TD)||e.openElements.hasInTableScope(E.TH))&&(e._closeTableCell(),Qc(e,t)):Qn(e,t)}function Mk(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(),r5(e,t));break}case E.BODY:case E.CAPTION:case E.COL:case E.COLGROUP:case E.HTML:break;default:Xc(e,t)}}function a5(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,Se.HTML);break}case E.OPTGROUP:{e.openElements.currentTagId===E.OPTION&&e.openElements.pop(),e.openElements.currentTagId===E.OPTGROUP&&e.openElements.pop(),e._insertElement(t,Se.HTML);break}case E.HR:{e.openElements.currentTagId===E.OPTION&&e.openElements.pop(),e.openElements.currentTagId===E.OPTGROUP&&e.openElements.pop(),e._appendElement(t,Se.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 i5(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:{Ds(e,t);break}}}function Dk(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)):a5(e,t)}function Ik(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)):i5(e,t)}function Lk(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,Rl(e,t);break}case E.COL:{e.tmplInsertionModeStack[0]=F.IN_COLUMN_GROUP,e.insertionMode=F.IN_COLUMN_GROUP,km(e,t);break}case E.TR:{e.tmplInsertionModeStack[0]=F.IN_TABLE_BODY,e.insertionMode=F.IN_TABLE_BODY,Wc(e,t);break}case E.TD:case E.TH:{e.tmplInsertionModeStack[0]=F.IN_ROW,e.insertionMode=F.IN_ROW,Qc(e,t);break}default:e.tmplInsertionModeStack[0]=F.IN_BODY,e.insertionMode=F.IN_BODY,Qn(e,t)}}function Bk(e,t){t.tagID===E.TEMPLATE&&Ds(e,t)}function s5(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(E.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):Nm(e,t)}function Pk(e,t){t.tagID===E.HTML?Qn(e,t):Cc(e,t)}function l5(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 Cc(e,t)}function Cc(e,t){e.insertionMode=F.IN_BODY,$c(e,t)}function Uk(e,t){switch(t.tagID){case E.HTML:{Qn(e,t);break}case E.FRAMESET:{e._insertElement(t,Se.HTML);break}case E.FRAME:{e._appendElement(t,Se.HTML),t.ackSelfClosing=!0;break}case E.NOFRAMES:{ma(e,t);break}}}function zk(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 Fk(e,t){switch(t.tagID){case E.HTML:{Qn(e,t);break}case E.NOFRAMES:{ma(e,t);break}}}function Hk(e,t){t.tagID===E.HTML&&(e.insertionMode=F.AFTER_AFTER_FRAMESET)}function qk(e,t){t.tagID===E.HTML?Qn(e,t):yc(e,t)}function yc(e,t){e.insertionMode=F.IN_BODY,$c(e,t)}function Yk(e,t){switch(t.tagID){case E.HTML:{Qn(e,t);break}case E.NOFRAMES:{ma(e,t);break}}}function Gk(e,t){t.chars=nn,e._insertCharacters(t)}function jk(e,t){e._insertCharacters(t),e.framesetOk=!1}function u5(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==Se.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function Vk(e,t){if(lN(t))u5(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),a=e.treeAdapter.getNamespaceURI(n);a===Se.MATHML?jE(t):a===Se.SVG&&(uN(t),VE(t)),Am(t),t.selfClosing?e._appendElement(t,a):e._insertElement(t,a),t.ackSelfClosing=!0}}function Kk(e,t){if(t.tagID===E.P||t.tagID===E.BR){u5(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)===Se.HTML){e._endTagOutsideForeignContent(t);break}const s=e.treeAdapter.getTagName(a);if(s.toLowerCase()===t.tagName){t.tagName=s,e.openElements.shortenToLength(n);break}}}Z.AREA,Z.BASE,Z.BASEFONT,Z.BGSOUND,Z.BR,Z.COL,Z.EMBED,Z.FRAME,Z.HR,Z.IMG,Z.INPUT,Z.KEYGEN,Z.LINK,Z.META,Z.PARAM,Z.SOURCE,Z.TRACK,Z.WBR;const $k=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,Xk=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),Yb={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function o5(e,t){const n=iC(e),a=eE("type",{handlers:{root:Wk,element:Qk,text:Zk,comment:d5,doctype:Jk,raw:tC},unknown:nC}),s={parser:n?new Fb(Yb):Fb.getFragmentParser(void 0,Yb),handle(d){a(d,s)},stitches:!1,options:t||{}};a(e,s),Fl(s,Ca());const u=n?s.parser.document:s.parser.getFragment(),o=WA(u,{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 c5(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function Wk(e,t){c5(e.children,t)}function Qk(e,t){rC(e,t),c5(e.children,t),aC(e,t)}function Zk(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const n={type:Et.CHARACTER,chars:e.value,location:No(e)};Fl(t,Ca(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function Jk(e,t){const n={type:Et.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:No(e)};Fl(t,Ca(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function eC(e,t){t.stitches=!0;const n=sC(e);if("children"in e&&"children"in n){const a=o5({type:"root",children:e.children},t.options);n.children=a.children}d5({type:"comment",value:{stitch:n}},t)}function d5(e,t){const n=e.value,a={type:Et.COMMENT,data:n,location:No(e)};Fl(t,Ca(e)),t.parser.currentToken=a,t.parser._processToken(t.parser.currentToken)}function tC(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,f5(t,Ca(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace($k,"<$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 nC(e,t){const n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))eC(n,t);else{let a="";throw Xk.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 Fl(e,t){f5(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 f5(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 rC(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===yn.PLAINTEXT)return;Fl(t,Ca(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 u=dw({...e,children:[]},{space:s===wa.svg?"svg":"html"}),o={type:Et.START_TAG,tagName:n,tagID:zl(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in u?u.attrs:[],location:No(e)};t.parser.currentToken=o,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function aC(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&yw.includes(n)||t.parser.tokenizer.state===yn.PLAINTEXT)return;Fl(t,Yc(e));const a={type:Et.END_TAG,tagName:n,tagID:zl(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:No(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 iC(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function No(e){const t=Ca(e)||{line:void 0,column:void 0,offset:void 0},n=Yc(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 sC(e){return"children"in e?Ol({...e,children:[]}):Ol(e)}function lC(e){return function(t,n){return o5(t,{...e,file:n})}}const Gb=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]},Is=function(e){if(e==null)return cC;if(typeof e=="string")return oC(e);if(typeof e=="object")return uC(e);if(typeof e=="function")return Cm(e);throw new Error("Expected function, string, or array as `test`")};function uC(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Is(e[n]);return Cm(a);function a(...s){let u=-1;for(;++u<t.length;)if(t[u].apply(this,s))return!0;return!1}}function oC(e){return Cm(t);function t(n){return n.tagName===e}}function Cm(e){return t;function t(n,a,s){return!!(dC(n)&&e.call(this,n,typeof a=="number"?a:void 0,s||void 0))}}function cC(e){return!!(e&&typeof e=="object"&&"type"in e&&e.type==="element"&&"tagName"in e&&typeof e.tagName=="string")}function dC(e){return e!==null&&typeof e=="object"&&"type"in e&&"tagName"in e}const jb=/\n/g,Vb=/[\t ]+/g,L1=Is("br"),Kb=Is(EC),fC=Is("p"),$b=Is("tr"),hC=Is(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",bC,yC]),h5=Is(["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 m5(e,t){const n=t||{},a="children"in e?e.children:[],s=h5(e),u=b5(e,{whitespace:n.whitespace||"normal"}),o=[];(e.type==="text"||e.type==="comment")&&o.push(...g5(e,{breakBefore:!0,breakAfter:!0}));let d=-1;for(;++d<a.length;)o.push(...p5(a[d],e,{whitespace:u,breakBefore:d?void 0:s,breakAfter:d<a.length-1?L1(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 p5(e,t,n){return e.type==="element"?mC(e,t,n):e.type==="text"?n.whitespace==="normal"?g5(e,n):pC(e):[]}function mC(e,t,n){const a=b5(e,n),s=e.children||[];let u=-1,o=[];if(hC(e))return o;let d,f;for(L1(e)||$b(e)&&Gb(t,e,$b)?f=`
|
|
80
|
+
`:fC(e)?(d=2,f=2):h5(e)&&(d=1,f=1);++u<s.length;)o=o.concat(p5(s[u],e,{whitespace:a,breakBefore:u?void 0:d,breakAfter:u<s.length-1?L1(s[u+1]):f}));return Kb(e)&&Gb(t,e,Kb)&&o.push(" "),d&&o.unshift(d),f&&o.push(f),o}function g5(e,t){const n=String(e.value),a=[],s=[];let u=0;for(;u<=n.length;){jb.lastIndex=u;const f=jb.exec(n),h=f&&"index"in f?f.index:n.length;a.push(gC(n.slice(u,h).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),u===0?t.breakBefore:!0,h===n.length?t.breakAfter:!0)),u=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 pC(e){return[String(e.value)]}function gC(e,t,n){const a=[];let s=0,u;for(;s<e.length;){Vb.lastIndex=s;const o=Vb.exec(e);u=o?o.index:e.length,!s&&!u&&o&&!t&&a.push(""),s!==u&&a.push(e.slice(s,u)),s=o?u+o[0].length:u}return s!==u&&!n&&a.push(""),a.join(" ")}function b5(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 bC(e){return!!(e.properties||{}).hidden}function EC(e){return e.tagName==="td"||e.tagName==="th"}function yC(e){return e.tagName==="dialog"&&!(e.properties||{}).open}function vC(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"],N=["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"],C=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],X={type:N,keyword:A,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:I},q={className:"function.dispatch",relevance:0,keywords:{_hint:C},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},L=[q,b,d,n,e.C_BLOCK_COMMENT_MODE,p,h],ne={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:X,contains:L.concat([{begin:/\(/,end:/\)/,keywords:X,contains:L.concat(["self"]),relevance:0}]),relevance:0},te={className:"function",begin:"("+o+"[\\*&\\s]+)+"+v,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:X,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:a,keywords:X,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:X,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,h,p,d,{begin:/\(/,end:/\)/,keywords:X,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:X,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(ne,te,q,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:X,contains:["self",d]},{begin:e.IDENT_RE+"::",keywords:X},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function TC(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=vC(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 _C(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]},u=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},N=["if","then","else","elif","fi","time","for","while","until","in","do","done","case","esac","coproc","function","select"],I=["true","false"],C={match:/(\/[a-z._-]+)+/},R=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],P=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","sudo","type","typeset","ulimit","unalias"],X=["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"],q=["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:N,literal:I,built_in:[...R,...P,"set","shopt",...X,...q]},contains:[v,e.SHEBANG(),A,b,u,o,C,d,f,h,p,n]}}function SC(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"},C=[b,d,n,e.C_BLOCK_COMMENT_MODE,p,h],R={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:I,contains:C.concat([{begin:/\(/,end:/\)/,keywords:I,contains:C.concat(["self"]),relevance:0}]),relevance:0},P={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(R,P,C,[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 xC(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"],N=["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"],C=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],X={type:N,keyword:A,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:I},q={className:"function.dispatch",relevance:0,keywords:{_hint:C},begin:t.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\s*\(/))},L=[q,b,d,n,e.C_BLOCK_COMMENT_MODE,p,h],ne={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:X,contains:L.concat([{begin:/\(/,end:/\)/,keywords:X,contains:L.concat(["self"]),relevance:0}]),relevance:0},te={className:"function",begin:"("+o+"[\\*&\\s]+)+"+v,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:X,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:a,keywords:X,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:X,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,h,p,d,{begin:/\(/,end:/\)/,keywords:X,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:X,illegal:"</",classNameAliases:{"function.dispatch":"built_in"},contains:[].concat(ne,te,q,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:X,contains:["self",d]},{begin:e.IDENT_RE+"::",keywords:X},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function AC(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"],u=["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(u),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]},N={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},T]},I=e.inherit(N,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},v]});T.contains=[N,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 C={variants:[h,N,A,p,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},R={begin:"<",end:">",contains:[{beginKeywords:"in out"},d]},P=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",X={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:o,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"<!--|-->"},{begin:"</?",end:">"}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},C,f,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},d,R,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,R,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:"("+P+"\\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,R],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,relevance:0,contains:[C,f,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},X]}}const wC=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_-]*/}}),NC=["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"],kC=["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"],CC=[...NC,...kC],OC=["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(),RC=["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(),MC=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),DC=["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 IC(e){const t=e.regex,n=wC(e),a={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},s="and or not only",u=/@-?\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:":("+RC.join("|")+")"},{begin:":(:)?("+MC.join("|")+")"}]},n.CSS_VARIABLE,{className:"attribute",begin:"\\b("+DC.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:u},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:s,attribute:OC.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...d,n.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+CC.join("|")+")\\b"}]}}function LC(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 BC(e){const u={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:u,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:u,illegal:/["']/}]}]}}function PC(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 UC(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:/\$\{(.*?)\}/}]},u={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,u,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,u,s,o,n]}}]}}var yl="[0-9](_*[0-9])*",Q0=`\\.(${yl})`,Z0="[0-9a-fA-F](_*[0-9a-fA-F])*",Xb={className:"number",variants:[{begin:`(\\b(${yl})((${Q0})|\\.)?|(${Q0}))[eE][+-]?(${yl})[fFdD]?\\b`},{begin:`\\b(${yl})((${Q0})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${Q0})[fFdD]?\\b`},{begin:`\\b(${yl})[fFdD]\\b`},{begin:`\\b0[xX]((${Z0})\\.?|(${Z0})?\\.(${Z0}))[pP][+-]?(${yl})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${Z0})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function E5(e,t,n){return n===-1?"":e.replace(t,a=>E5(e,t,n-1))}function zC(e){const t=e.regex,n="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",a=n+E5("(?:<"+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,Xb,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},Xb,h]}}const Wb="[A-Za-z$_][0-9A-Za-z$_]*",FC=["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"],HC=["true","false","null","undefined","NaN","Infinity"],y5=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],v5=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],T5=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],qC=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],YC=[].concat(T5,y5,v5);function GC(e){const t=e.regex,n=(me,{after:Pe})=>{const x="</"+me[0].slice(1);return me.input.indexOf(x,Pe)!==-1},a=Wb,s={begin:"<>",end:"</>"},u=/<[A-Za-z0-9\\._:-]+\s*\/>/,o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(me,Pe)=>{const x=me[0].length+me.index,ae=me.input[x];if(ae==="<"||ae===","){Pe.ignoreMatch();return}ae===">"&&(n(me,{after:x})||Pe.ignoreMatch());let pe;const M=me.input.substring(x);if(pe=M.match(/^\s*=/)){Pe.ignoreMatch();return}if((pe=M.match(/^\s+extends\s+/))&&pe.index===0){Pe.ignoreMatch();return}}},d={$pattern:Wb,keyword:FC,literal:HC,built_in:YC,"variable.language":qC},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"}},N={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,T],subLanguage:"graphql"}},I={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,T]},R={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]},P=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,v,A,N,I,{match:/\$\d+/},b];T.contains=P.concat({begin:/\{/,end:/\}/,keywords:d,contains:["self"].concat(P)});const X=[].concat(R,T.contains),q=X.concat([{begin:/(\s*)\(/,end:/\)/,keywords:d,contains:["self"].concat(X)}]),L={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:d,contains:q},ne={variants:[{match:[/class/,/\s+/,a,/\s+/,/extends/,/\s+/,t.concat(a,"(",t.concat(/\./,a),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,a],scope:{1:"keyword",3:"title.class"}}]},te={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...y5,...v5]}},fe={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},G={variants:[{match:[/function/,/\s+/,a,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[L],illegal:/%/},se={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function de(me){return t.concat("(?!",me.join("|"),")")}const ye={match:t.concat(/\b/,de([...T5,"super","import"].map(me=>`${me}\\s*\\(`)),a,t.lookahead(/\s*\(/)),className:"title.function",relevance:0},ue={begin:t.concat(/\./,t.lookahead(t.concat(a,/(?![0-9A-Za-z$_(])/))),end:a,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},oe={match:[/get|set/,/\s+/,a,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},L]},K="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",le={match:[/const|var|let/,/\s+/,a,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(K)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[L]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:d,exports:{PARAMS_CONTAINS:q,CLASS_REFERENCE:te},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),fe,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,v,A,N,I,R,{match:/\$\d+/},b,te,{scope:"attr",match:a+t.lookahead(":"),relevance:0},le,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[R,e.REGEXP_MODE,{className:"function",begin:K,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:q}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:s.begin,end:s.end},{match:u},{begin:o.begin,"on:begin":o.isTrulyOpeningTag,end:o.end}],subLanguage:"xml",contains:[{begin:o.begin,end:o.end,skip:!0,contains:["self"]}]}]},G,{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},ue,{match:"\\$"+a,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[L]},ye,se,ne,oe,{match:/\$[(.]/}]}}function jC(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 vl="[0-9](_*[0-9])*",J0=`\\.(${vl})`,ec="[0-9a-fA-F](_*[0-9a-fA-F])*",VC={className:"number",variants:[{begin:`(\\b(${vl})((${J0})|\\.)?|(${J0}))[eE][+-]?(${vl})[fFdD]?\\b`},{begin:`\\b(${vl})((${J0})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${J0})[fFdD]?\\b`},{begin:`\\b(${vl})[fFdD]\\b`},{begin:`\\b0[xX]((${ec})\\.?|(${ec})?\\.(${ec}))[pP][+-]?(${vl})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${ec})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function KC(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]},u={className:"variable",begin:"\\$"+e.UNDERSCORE_IDENT_RE},o={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[u,s]},{begin:"'",end:"'",illegal:/\n/,contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[e.BACKSLASH_ESCAPE,u,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=VC,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 $C=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_-]*/}}),XC=["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"],WC=["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"],QC=[...XC,...WC],ZC=["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(),_5=["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(),S5=["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(),eO=_5.concat(S5).sort().reverse();function tO(e){const t=$C(e),n=eO,a="and or not only",s="[\\w-]+",u="("+s+"|@\\{"+s+"\\})",o=[],d=[],f=function(P){return{className:"string",begin:"~?"+P+".*?"+P}},h=function(P,X,q){return{className:P,begin:X,relevance:q}},p={$pattern:/[a-z-]+/,keyword:a,attribute:ZC.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:u+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+JC.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:d}}]},N={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}},C={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:u,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("+QC.join("|")+")\\b",className:"selector-tag"},t.CSS_NUMBER_MODE,h("selector-tag",u,0),h("selector-id","#"+u),h("selector-class","\\."+u,0),h("selector-tag","&",0),t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+_5.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+S5.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:T},{begin:"!important"},t.FUNCTION_DISPATCH]},R={begin:s+`:(:)?(${n.join("|")})`,returnBegin:!0,contains:[C]};return o.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,N,I,R,A,C,v,t.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:o}}function nO(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 rO(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*(?=[:+?]?=)"},u={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,u,o]}}function aO(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}]},u={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},o={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},d=/[A-Za-z][A-Za-z0-9+.-]*/,f={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:t.concat(/\[.+?\]\(/,d,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},h={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},p={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},b=e.inherit(h,{contains:[]}),T=e.inherit(p,{contains:[]});h.contains.push(T),p.contains.push(b);let v=[n,f];return[h,p,b,T].forEach(C=>{C.contains=C.contains.concat(v)}),v=v.concat(h,p),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:v},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:v}]}]},n,u,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 iO(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 sO(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(" ")},u={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,u,f],b=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],T=(N,I,C="\\1")=>{const R=C==="\\1"?C:t.concat(C,I);return t.concat(t.concat("(?:",N,")"),I,/(?:\\.|[^\\\/])*?/,R,/(?:\\.|[^\\\/])*?/,C,a)},v=(N,I,C)=>t.concat(t.concat("(?:",N,")"),I,/(?:\\.|[^\\\/])*?/,C,a),A=[f,e.HASH_COMMENT_MODE,e.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),o,{className:"string",contains:p,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},h,{begin:"(\\/\\/|"+e.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:T("s|tr|y",t.either(...b,{capture:!0}))},{begin:T("s|tr|y","\\(","\\)")},{begin:T("s|tr|y","\\[","\\]")},{begin:T("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:v("(?:m|qr)?",/\//,/\//)},{begin:v("m|qr",t.either(...b,{capture:!0}),/\1/)},{begin:v("m|qr",/\(/,/\)/)},{begin:v("m|qr",/\[/,/\]/)},{begin:v("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub method",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,d]},{className:"class",beginKeywords:"class",end:"[;{]",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,d,h]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return u.contains=A,o.contains=A,{name:"Perl",aliases:["pl","pm"],keywords:s,contains:A}}function lO(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),u=t.concat(/[A-Z]+/,n),o={scope:"variable",match:"\\$+"+a},d={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},f={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},h=e.inherit(e.APOS_STRING_MODE,{illegal:null}),p=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(f)}),b={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:e.QUOTE_STRING_MODE.contains.concat(f),"on:begin":(ue,oe)=>{oe.data._beginMatch=ue[1]||ue[2]},"on:end":(ue,oe)=>{oe.data._beginMatch!==ue[1]&&oe.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]},N={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"],C=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],R=["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"],X={keyword:C,literal:(ue=>{const oe=[];return ue.forEach(K=>{oe.push(K),K.toLowerCase()===K?oe.push(K.toUpperCase()):oe.push(K.toLowerCase())}),oe})(I),built_in:R},q=ue=>ue.map(oe=>oe.replace(/\|\d+$/,"")),L={variants:[{match:[/new/,t.concat(v,"+"),t.concat("(?!",q(R).join("\\b|"),"\\b)"),s],scope:{1:"keyword",4:"title.class"}}]},ne=t.concat(a,"\\b(?!\\()"),te={variants:[{match:[t.concat(/::/,t.lookahead(/(?!class\b)/)),ne],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[s,t.concat(/::/,t.lookahead(/(?!class\b)/)),ne],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"}}]},fe={scope:"attr",match:t.concat(a,t.lookahead(":"),t.lookahead(/(?!::)/))},G={relevance:0,begin:/\(/,end:/\)/,keywords:X,contains:[fe,o,te,e.C_BLOCK_COMMENT_MODE,A,N,L]},se={relevance:0,match:[/\b/,t.concat("(?!fn\\b|function\\b|",q(C).join("\\b|"),"|",q(R).join("\\b|"),"\\b)"),a,t.concat(v,"*"),t.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[G]};G.contains.push(se);const de=[fe,te,e.C_BLOCK_COMMENT_MODE,A,N,L],ye={begin:t.concat(/#\[\s*\\?/,t.either(s,u)),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:I,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:I,keyword:["new","array"]},contains:["self",...de]},...de,{scope:"meta",variants:[{match:s},{match:u}]}]};return{case_insensitive:!1,keywords:X,contains:[ye,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,se,te,{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:X,contains:["self",ye,o,te,e.C_BLOCK_COMMENT_MODE,A,N]}]},{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,N]}}function uO(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 oO(e){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}function cO(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("|")}`,N={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}]},C={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:d,contains:["self",f,N,b,e.HASH_COMMENT_MODE]}]};return h.contains=[b,N,f],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:d,illegal:/(<\/|\?)|=>/,contains:[f,N,{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:[C]},{variants:[{match:[/\bclass/,/\s+/,n,/\s*/,/\(\s*/,n,/\s*\)/]},{match:[/\bclass/,/\s+/,n]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[N,C,b]}]}}function dO(e){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}function fO(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=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,u=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:[u,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:u},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}function hO(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"}]},N={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:[N]},{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,N.contains=L;const G=[{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(G).concat(h).concat(L)}}function mO(e){const t=e.regex,n=/(r#)?/,a=t.concat(n,e.UNDERSCORE_IDENT_RE),s=t.concat(n,e.IDENT_RE),u={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:"->"},u]}}const pO=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_-]*/}}),gO=["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"],bO=["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"],EO=[...gO,...bO],yO=["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(),vO=["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(),TO=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"].sort().reverse(),_O=["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 SO(e){const t=pO(e),n=TO,a=vO,s="@[a-z-]+",u="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("+EO.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("+_O.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:u,attribute:yO.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 xO(e){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}function AO(e){const t=e.regex,n=e.COMMENT("--","$"),a={scope:"string",variants:[{begin:/'/,end:/'/,contains:[{match:/''/}]}]},s={begin:/"/,end:/"/,contains:[{match:/""/}]},u=["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(q=>!p.includes(q)),N={scope:"variable",match:/@[a-z0-9][a-z0-9_]*/},I={scope:"operator",match:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},C={match:t.concat(/\b/,t.either(...v),/\s*\(/),relevance:0,keywords:{built_in:v}};function R(q){return t.concat(/\b/,t.either(...q.map(L=>L.replace(/\s+/,"\\s+"))),/\b/)}const P={scope:"keyword",match:R(T),relevance:0};function X(q,{exceptions:L,when:ne}={}){const te=ne;return L=L||[],q.map(fe=>fe.match(/\|\d+$/)||L.includes(fe)?fe:te(fe)?`${fe}|0`:fe)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:X(A,{when:q=>q.length<3}),literal:u,type:d,built_in:b},contains:[{scope:"type",match:R(o)},P,C,N,a,s,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,I]}}function x5(e){return e?typeof e=="string"?e:e.source:null}function Qu(e){return qt("(?=",e,")")}function qt(...e){return e.map(n=>x5(n)).join("")}function wO(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"("+(wO(e).capture?"":"?:")+e.map(a=>x5(a)).join("|")+")"}const Om=e=>qt(/\b/,e,/\w$/.test(e)?/\b/:/\B/),NO=["Protocol","Type"].map(Om),Qb=["init","self"].map(Om),kO=["Any","Self"],Uh=["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"],Zb=["false","nil","true"],CO=["assignment","associativity","higherThan","left","lowerThan","none","right"],OO=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],Jb=["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"],A5=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]/),w5=ar(A5,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),zh=qt(A5,w5,"*"),N5=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]/),Oc=ar(N5,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),_a=qt(N5,Oc,"*"),tc=qt(/[A-Z]/,Oc,"*"),RO=["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"],MO=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function DO(e){const t={match:/\s+/,relevance:0},n=e.COMMENT("/\\*","\\*/",{contains:["self"]}),a=[e.C_LINE_COMMENT_MODE,n],s={match:[/\./,ar(...NO,...Qb)],className:{2:"keyword"}},u={match:qt(/\./,ar(...Uh)),relevance:0},o=Uh.filter(Ke=>typeof Ke=="string").concat(["_|0"]),d=Uh.filter(Ke=>typeof Ke!="string").concat(kO).map(Om),f={variants:[{className:"keyword",match:ar(...d,...Qb)}]},h={$pattern:ar(/\b\w+/,/#\w+/),keyword:o.concat(OO),literal:Zb},p=[s,u,f],b={match:qt(/\./,ar(...Jb)),relevance:0},T={className:"built_in",match:qt(/\b/,ar(...Jb),/(?=\()/)},v=[b,T],A={match:/->/,relevance:0},N={className:"operator",relevance:0,variants:[{match:zh},{match:`\\.(\\.|${w5})+`}]},I=[A,N],C="([0-9]_*)+",R="([0-9a-fA-F]_*)+",P={className:"number",relevance:0,variants:[{match:`\\b(${C})(\\.(${C}))?([eE][+-]?(${C}))?\\b`},{match:`\\b0x(${R})(\\.(${R}))?([pP][+-]?(${C}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},X=(Ke="")=>({className:"subst",variants:[{match:qt(/\\/,Ke,/[0\\tnr"']/)},{match:qt(/\\/,Ke,/u\{[0-9a-fA-F]{1,8}\}/)}]}),q=(Ke="")=>({className:"subst",match:qt(/\\/,Ke,/[\t ]*(?:[\r\n]|\r\n)/)}),L=(Ke="")=>({className:"subst",label:"interpol",begin:qt(/\\/,Ke,/\(/),end:/\)/}),ne=(Ke="")=>({begin:qt(Ke,/"""/),end:qt(/"""/,Ke),contains:[X(Ke),q(Ke),L(Ke)]}),te=(Ke="")=>({begin:qt(Ke,/"/),end:qt(/"/,Ke),contains:[X(Ke),L(Ke)]}),fe={className:"string",variants:[ne(),ne("#"),ne("##"),ne("###"),te(),te("#"),te("##"),te("###")]},G=[e.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[e.BACKSLASH_ESCAPE]}],se={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:G},de=Ke=>{const xt=qt(Ke,/\//),an=qt(/\//,Ke);return{begin:xt,end:an,contains:[...G,{scope:"comment",begin:`#(?!.*${an})`,end:/$/}]}},ye={scope:"regexp",variants:[de("###"),de("##"),de("#"),se]},ue={match:qt(/`/,_a,/`/)},oe={className:"variable",match:/\$\d+/},K={className:"variable",match:`\\$${Oc}+`},le=[ue,oe,K],me={match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:MO,contains:[...I,P,fe]}]}},Pe={scope:"keyword",match:qt(/@/,ar(...RO),Qu(ar(/\(/,/\s+/)))},x={scope:"meta",match:qt(/@/,_a)},ae=[me,Pe,x],pe={match:Qu(/\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)/,Oc,"+")},{className:"type",match:tc,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:qt(/\s+&\s+/,Qu(tc)),relevance:0}]},M={begin:/</,end:/>/,keywords:h,contains:[...a,...p,...ae,A,pe]};pe.contains.push(M);const Ie={match:qt(_a,/\s*:/),keywords:"_|0",relevance:0},Ve={begin:/\(/,end:/\)/,relevance:0,keywords:h,contains:["self",Ie,...a,ye,...p,...v,...I,P,fe,...le,...ae,pe]},Ue={begin:/</,end:/>/,keywords:"repeat each",contains:[...a,pe]},wt={begin:ar(Qu(qt(_a,/\s*:/)),Qu(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,P,fe,...ae,pe,Ve],endsParent:!0,illegal:/["']/},Wt={match:[/(func|macro)/,/\s+/,ar(ue.match,_a,zh)],className:{1:"keyword",3:"title.function"},contains:[Ue,st,t],illegal:[/\[/,/%/]},Pt={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[Ue,st,t],illegal:/\[|%/},In={match:[/operator/,/\s+/,zh],className:{1:"keyword",3:"title"}},zr={begin:[/precedencegroup/,/\s+/,tc],className:{1:"keyword",3:"title"},contains:[pe],keywords:[...CO,...Zb],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:[Ue,...p,{begin:/:/,end:/\{/,keywords:h,contains:[{scope:"title.class.inherited",match:tc},...p],relevance:0}]};for(const Ke of fe.variants){const xt=Ke.contains.find(kt=>kt.label==="interpol");xt.keywords=h;const an=[...p,...v,...I,P,fe,...le];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},ye,...p,...v,...I,P,fe,...le,...ae,pe,Ve]}}const Rc="[A-Za-z$_][0-9A-Za-z$_]*",k5=["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"],C5=["true","false","null","undefined","NaN","Infinity"],O5=["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"],R5=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],M5=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],D5=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],I5=[].concat(M5,O5,R5);function IO(e){const t=e.regex,n=(me,{after:Pe})=>{const x="</"+me[0].slice(1);return me.input.indexOf(x,Pe)!==-1},a=Rc,s={begin:"<>",end:"</>"},u=/<[A-Za-z0-9\\._:-]+\s*\/>/,o={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(me,Pe)=>{const x=me[0].length+me.index,ae=me.input[x];if(ae==="<"||ae===","){Pe.ignoreMatch();return}ae===">"&&(n(me,{after:x})||Pe.ignoreMatch());let pe;const M=me.input.substring(x);if(pe=M.match(/^\s*=/)){Pe.ignoreMatch();return}if((pe=M.match(/^\s+extends\s+/))&&pe.index===0){Pe.ignoreMatch();return}}},d={$pattern:Rc,keyword:k5,literal:C5,built_in:I5,"variable.language":D5},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"}},N={begin:".?gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,T],subLanguage:"graphql"}},I={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,T]},R={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]},P=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,v,A,N,I,{match:/\$\d+/},b];T.contains=P.concat({begin:/\{/,end:/\}/,keywords:d,contains:["self"].concat(P)});const X=[].concat(R,T.contains),q=X.concat([{begin:/(\s*)\(/,end:/\)/,keywords:d,contains:["self"].concat(X)}]),L={className:"params",begin:/(\s*)\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:d,contains:q},ne={variants:[{match:[/class/,/\s+/,a,/\s+/,/extends/,/\s+/,t.concat(a,"(",t.concat(/\./,a),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,a],scope:{1:"keyword",3:"title.class"}}]},te={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...O5,...R5]}},fe={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},G={variants:[{match:[/function/,/\s+/,a,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[L],illegal:/%/},se={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function de(me){return t.concat("(?!",me.join("|"),")")}const ye={match:t.concat(/\b/,de([...M5,"super","import"].map(me=>`${me}\\s*\\(`)),a,t.lookahead(/\s*\(/)),className:"title.function",relevance:0},ue={begin:t.concat(/\./,t.lookahead(t.concat(a,/(?![0-9A-Za-z$_(])/))),end:a,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},oe={match:[/get|set/,/\s+/,a,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},L]},K="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",le={match:[/const|var|let/,/\s+/,a,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(K)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[L]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:d,exports:{PARAMS_CONTAINS:q,CLASS_REFERENCE:te},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),fe,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,v,A,N,I,R,{match:/\$\d+/},b,te,{scope:"attr",match:a+t.lookahead(":"),relevance:0},le,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[R,e.REGEXP_MODE,{className:"function",begin:K,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:q}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:s.begin,end:s.end},{match:u},{begin:o.begin,"on:begin":o.isTrulyOpeningTag,end:o.end}],subLanguage:"xml",contains:[{begin:o.begin,end:o.end,skip:!0,contains:["self"]}]}]},G,{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},ue,{match:"\\$"+a,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[L]},ye,se,ne,oe,{match:/\$[(.]/}]}}function LO(e){const t=e.regex,n=IO(e),a=Rc,s=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],u={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:Rc,keyword:k5.concat(f),literal:C5,built_in:I5.concat(s),"variable.language":D5},p={className:"meta",begin:"@"+a},b=(N,I,C)=>{const R=N.contains.findIndex(P=>P.label===I);if(R===-1)throw new Error("can not find mode to replace");N.contains.splice(R,1,C)};Object.assign(n.keywords,h),n.exports.PARAMS_CONTAINS.push(p);const T=n.contains.find(N=>N.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,u,o,v]),b(n,"shebang",e.SHEBANG()),b(n,"use_strict",d);const A=n.contains.find(N=>N.label==="func.def");return A.relevance=0,Object.assign(n,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),n}function BO(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}/,u=/\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(u,s),/ *#/)},{begin:t.concat(/# */,d,/ *#/)},{begin:t.concat(/# */,o,/ *#/)},{begin:t.concat(/# */,t.either(u,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 PO(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"}},u={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"}},u,o,s,e.QUOTE_STRING_MODE,f,h,d]}}function UO(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]+;/},u={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},o=e.inherit(u,{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:[u,f,d,o,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[u,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 zO(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:/\}/}]},u={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},N={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,N,u,o],C=[...I];return C.pop(),C.push(d),v.contains=C,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:I}}const FO={arduino:TC,bash:_C,c:SC,cpp:xC,csharp:AC,css:IC,diff:LC,go:BC,graphql:PC,ini:UC,java:zC,javascript:GC,json:jC,kotlin:KC,less:tO,lua:nO,makefile:rO,markdown:aO,objectivec:iO,perl:sO,php:lO,"php-template":uO,plaintext:oO,python:cO,"python-repl":dO,r:fO,ruby:hO,rust:mO,scss:SO,shell:xO,sql:AO,swift:DO,typescript:LO,vbnet:BO,wasm:PO,xml:UO,yaml:zO};var Fh,e3;function HO(){if(e3)return Fh;e3=1;function e(Y){return Y instanceof Map?Y.clear=Y.delete=Y.set=function(){throw new Error("map is read-only")}:Y instanceof Set&&(Y.add=Y.clear=Y.delete=function(){throw new Error("set is read-only")}),Object.freeze(Y),Object.getOwnPropertyNames(Y).forEach(be=>{const De=Y[be],rt=typeof De;(rt==="object"||rt==="function")&&!Object.isFrozen(De)&&e(De)}),Y}class t{constructor(be){be.data===void 0&&(be.data={}),this.data=be.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function n(Y){return Y.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function a(Y,...be){const De=Object.create(null);for(const rt in Y)De[rt]=Y[rt];return be.forEach(function(rt){for(const Jt in rt)De[Jt]=rt[Jt]}),De}const s="</span>",u=Y=>!!Y.scope,o=(Y,{prefix:be})=>{if(Y.startsWith("language:"))return Y.replace("language:","language-");if(Y.includes(".")){const De=Y.split(".");return[`${be}${De.shift()}`,...De.map((rt,Jt)=>`${rt}${"_".repeat(Jt+1)}`)].join(" ")}return`${be}${Y}`};class d{constructor(be,De){this.buffer="",this.classPrefix=De.classPrefix,be.walk(this)}addText(be){this.buffer+=n(be)}openNode(be){if(!u(be))return;const De=o(be.scope,{prefix:this.classPrefix});this.span(De)}closeNode(be){u(be)&&(this.buffer+=s)}value(){return this.buffer}span(be){this.buffer+=`<span class="${be}">`}}const f=(Y={})=>{const be={children:[]};return Object.assign(be,Y),be};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(be){this.top.children.push(be)}openNode(be){const De=f({scope:be});this.add(De),this.stack.push(De)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(be){return this.constructor._walk(be,this.rootNode)}static _walk(be,De){return typeof De=="string"?be.addText(De):De.children&&(be.openNode(De),De.children.forEach(rt=>this._walk(be,rt)),be.closeNode(De)),be}static _collapse(be){typeof be!="string"&&be.children&&(be.children.every(De=>typeof De=="string")?be.children=[be.children.join("")]:be.children.forEach(De=>{h._collapse(De)}))}}class p extends h{constructor(be){super(),this.options=be}addText(be){be!==""&&this.add(be)}startScope(be){this.openNode(be)}endScope(){this.closeNode()}__addSublanguage(be,De){const rt=be.root;De&&(rt.scope=`language:${De}`),this.add(rt)}toHTML(){return new d(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function b(Y){return Y?typeof Y=="string"?Y:Y.source:null}function T(Y){return N("(?=",Y,")")}function v(Y){return N("(?:",Y,")*")}function A(Y){return N("(?:",Y,")?")}function N(...Y){return Y.map(De=>b(De)).join("")}function I(Y){const be=Y[Y.length-1];return typeof be=="object"&&be.constructor===Object?(Y.splice(Y.length-1,1),be):{}}function C(...Y){return"("+(I(Y).capture?"":"?:")+Y.map(rt=>b(rt)).join("|")+")"}function R(Y){return new RegExp(Y.toString()+"|").exec("").length-1}function P(Y,be){const De=Y&&Y.exec(be);return De&&De.index===0}const X=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function q(Y,{joinWith:be}){let De=0;return Y.map(rt=>{De+=1;const Jt=De;let sn=b(rt),Fe="";for(;sn.length>0;){const Me=X.exec(sn);if(!Me){Fe+=sn;break}Fe+=sn.substring(0,Me.index),sn=sn.substring(Me.index+Me[0].length),Me[0][0]==="\\"&&Me[1]?Fe+="\\"+String(Number(Me[1])+Jt):(Fe+=Me[0],Me[0]==="("&&De++)}return Fe}).map(rt=>`(${rt})`).join(be)}const L=/\b\B/,ne="[a-zA-Z]\\w*",te="[a-zA-Z_]\\w*",fe="\\b\\d+(\\.\\d+)?",G="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",se="\\b(0b[01]+)",de="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",ye=(Y={})=>{const be=/^#![ ]*\//;return Y.binary&&(Y.begin=N(be,/.*\b/,Y.binary,/\b.*/)),a({scope:"meta",begin:be,end:/$/,relevance:0,"on:begin":(De,rt)=>{De.index!==0&&rt.ignoreMatch()}},Y)},ue={begin:"\\\\[\\s\\S]",relevance:0},oe={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[ue]},K={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[ue]},le={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/},me=function(Y,be,De={}){const rt=a({scope:"comment",begin:Y,end:be,contains:[]},De);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=C("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return rt.contains.push({begin:N(/[ ]+/,"(",Jt,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),rt},Pe=me("//","$"),x=me("/\\*","\\*/"),ae=me("#","$"),pe={scope:"number",begin:fe,relevance:0},M={scope:"number",begin:G,relevance:0},Ie={scope:"number",begin:se,relevance:0},Ve={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[ue,{begin:/\[/,end:/\]/,relevance:0,contains:[ue]}]},Ue={scope:"title",begin:ne,relevance:0},wt={scope:"title",begin:te,relevance:0},st={begin:"\\.\\s*"+te,relevance:0};var Pt=Object.freeze({__proto__:null,APOS_STRING_MODE:oe,BACKSLASH_ESCAPE:ue,BINARY_NUMBER_MODE:Ie,BINARY_NUMBER_RE:se,COMMENT:me,C_BLOCK_COMMENT_MODE:x,C_LINE_COMMENT_MODE:Pe,C_NUMBER_MODE:M,C_NUMBER_RE:G,END_SAME_AS_BEGIN:function(Y){return Object.assign(Y,{"on:begin":(be,De)=>{De.data._beginMatch=be[1]},"on:end":(be,De)=>{De.data._beginMatch!==be[1]&&De.ignoreMatch()}})},HASH_COMMENT_MODE:ae,IDENT_RE:ne,MATCH_NOTHING_RE:L,METHOD_GUARD:st,NUMBER_MODE:pe,NUMBER_RE:fe,PHRASAL_WORDS_MODE:le,QUOTE_STRING_MODE:K,REGEXP_MODE:Ve,RE_STARTERS_RE:de,SHEBANG:ye,TITLE_MODE:Ue,UNDERSCORE_IDENT_RE:te,UNDERSCORE_TITLE_MODE:wt});function In(Y,be){Y.input[Y.index-1]==="."&&be.ignoreMatch()}function zr(Y,be){Y.className!==void 0&&(Y.scope=Y.className,delete Y.className)}function vt(Y,be){be&&Y.beginKeywords&&(Y.begin="\\b("+Y.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",Y.__beforeBegin=In,Y.keywords=Y.keywords||Y.beginKeywords,delete Y.beginKeywords,Y.relevance===void 0&&(Y.relevance=0))}function mt(Y,be){Array.isArray(Y.illegal)&&(Y.illegal=C(...Y.illegal))}function Ut(Y,be){if(Y.match){if(Y.begin||Y.end)throw new Error("begin & end are not supported with match");Y.begin=Y.match,delete Y.match}}function Ke(Y,be){Y.relevance===void 0&&(Y.relevance=1)}const xt=(Y,be)=>{if(!Y.beforeMatch)return;if(Y.starts)throw new Error("beforeMatch cannot be used with starts");const De=Object.assign({},Y);Object.keys(Y).forEach(rt=>{delete Y[rt]}),Y.keywords=De.keywords,Y.begin=N(De.beforeMatch,T(De.begin)),Y.starts={relevance:0,contains:[Object.assign(De,{endsParent:!0})]},Y.relevance=0,delete De.beforeMatch},an=["of","and","for","in","not","or","if","then","parent","list","value"],kt="keyword";function Zt(Y,be,De=kt){const rt=Object.create(null);return typeof Y=="string"?Jt(De,Y.split(" ")):Array.isArray(Y)?Jt(De,Y):Object.keys(Y).forEach(function(sn){Object.assign(rt,Zt(Y[sn],be,sn))}),rt;function Jt(sn,Fe){be&&(Fe=Fe.map(Me=>Me.toLowerCase())),Fe.forEach(function(Me){const Ge=Me.split("|");rt[Ge[0]]=[sn,Ln(Ge[0],Ge[1])]})}}function Ln(Y,be){return be?Number(be):ci(Y)?0:1}function ci(Y){return an.includes(Y.toLowerCase())}const pa={},cr=Y=>{console.error(Y)},Cn=(Y,...be)=>{console.log(`WARN: ${Y}`,...be)},ce=(Y,be)=>{pa[`${Y}/${be}`]||(console.log(`Deprecated as of ${Y}. ${be}`),pa[`${Y}/${be}`]=!0)},_e=new Error;function $e(Y,be,{key:De}){let rt=0;const Jt=Y[De],sn={},Fe={};for(let Me=1;Me<=be.length;Me++)Fe[Me+rt]=Jt[Me],sn[Me+rt]=!0,rt+=R(be[Me-1]);Y[De]=Fe,Y[De]._emit=sn,Y[De]._multi=!0}function Qe(Y){if(Array.isArray(Y.begin)){if(Y.skip||Y.excludeBegin||Y.returnBegin)throw cr("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),_e;if(typeof Y.beginScope!="object"||Y.beginScope===null)throw cr("beginScope must be object"),_e;$e(Y,Y.begin,{key:"beginScope"}),Y.begin=q(Y.begin,{joinWith:""})}}function Rt(Y){if(Array.isArray(Y.end)){if(Y.skip||Y.excludeEnd||Y.returnEnd)throw cr("skip, excludeEnd, returnEnd not compatible with endScope: {}"),_e;if(typeof Y.endScope!="object"||Y.endScope===null)throw cr("endScope must be object"),_e;$e(Y,Y.end,{key:"endScope"}),Y.end=q(Y.end,{joinWith:""})}}function Zn(Y){Y.scope&&typeof Y.scope=="object"&&Y.scope!==null&&(Y.beginScope=Y.scope,delete Y.scope)}function aa(Y){Zn(Y),typeof Y.beginScope=="string"&&(Y.beginScope={_wrap:Y.beginScope}),typeof Y.endScope=="string"&&(Y.endScope={_wrap:Y.endScope}),Qe(Y),Rt(Y)}function jn(Y){function be(Fe,Me){return new RegExp(b(Fe),"m"+(Y.case_insensitive?"i":"")+(Y.unicodeRegex?"u":"")+(Me?"g":""))}class De{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(Me,Ge){Ge.position=this.position++,this.matchIndexes[this.matchAt]=Ge,this.regexes.push([Ge,Me]),this.matchAt+=R(Me)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const Me=this.regexes.map(Ge=>Ge[1]);this.matcherRe=be(q(Me,{joinWith:"|"}),!0),this.lastIndex=0}exec(Me){this.matcherRe.lastIndex=this.lastIndex;const Ge=this.matcherRe.exec(Me);if(!Ge)return null;const Qt=Ge.findIndex((ts,Kl)=>Kl>0&&ts!==void 0),en=this.matchIndexes[Qt];return Ge.splice(0,Qt),Object.assign(Ge,en)}}class rt{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(Me){if(this.multiRegexes[Me])return this.multiRegexes[Me];const Ge=new De;return this.rules.slice(Me).forEach(([Qt,en])=>Ge.addRule(Qt,en)),Ge.compile(),this.multiRegexes[Me]=Ge,Ge}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(Me,Ge){this.rules.push([Me,Ge]),Ge.type==="begin"&&this.count++}exec(Me){const Ge=this.getMatcher(this.regexIndex);Ge.lastIndex=this.lastIndex;let Qt=Ge.exec(Me);if(this.resumingScanAtSamePosition()&&!(Qt&&Qt.index===this.lastIndex)){const en=this.getMatcher(0);en.lastIndex=this.lastIndex+1,Qt=en.exec(Me)}return Qt&&(this.regexIndex+=Qt.position+1,this.regexIndex===this.count&&this.considerAll()),Qt}}function Jt(Fe){const Me=new rt;return Fe.contains.forEach(Ge=>Me.addRule(Ge.begin,{rule:Ge,type:"begin"})),Fe.terminatorEnd&&Me.addRule(Fe.terminatorEnd,{type:"end"}),Fe.illegal&&Me.addRule(Fe.illegal,{type:"illegal"}),Me}function sn(Fe,Me){const Ge=Fe;if(Fe.isCompiled)return Ge;[zr,Ut,aa,xt].forEach(en=>en(Fe,Me)),Y.compilerExtensions.forEach(en=>en(Fe,Me)),Fe.__beforeBegin=null,[vt,mt,Ke].forEach(en=>en(Fe,Me)),Fe.isCompiled=!0;let Qt=null;return typeof Fe.keywords=="object"&&Fe.keywords.$pattern&&(Fe.keywords=Object.assign({},Fe.keywords),Qt=Fe.keywords.$pattern,delete Fe.keywords.$pattern),Qt=Qt||/\w+/,Fe.keywords&&(Fe.keywords=Zt(Fe.keywords,Y.case_insensitive)),Ge.keywordPatternRe=be(Qt,!0),Me&&(Fe.begin||(Fe.begin=/\B|\b/),Ge.beginRe=be(Ge.begin),!Fe.end&&!Fe.endsWithParent&&(Fe.end=/\B|\b/),Fe.end&&(Ge.endRe=be(Ge.end)),Ge.terminatorEnd=b(Ge.end)||"",Fe.endsWithParent&&Me.terminatorEnd&&(Ge.terminatorEnd+=(Fe.end?"|":"")+Me.terminatorEnd)),Fe.illegal&&(Ge.illegalRe=be(Fe.illegal)),Fe.contains||(Fe.contains=[]),Fe.contains=[].concat(...Fe.contains.map(function(en){return Jn(en==="self"?Fe:en)})),Fe.contains.forEach(function(en){sn(en,Ge)}),Fe.starts&&sn(Fe.starts,Me),Ge.matcher=Jt(Ge),Ge}if(Y.compilerExtensions||(Y.compilerExtensions=[]),Y.contains&&Y.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return Y.classNameAliases=a(Y.classNameAliases||{}),sn(Y)}function Sr(Y){return Y?Y.endsWithParent||Sr(Y.starts):!1}function Jn(Y){return Y.variants&&!Y.cachedVariants&&(Y.cachedVariants=Y.variants.map(function(be){return a(Y,{variants:null},be)})),Y.cachedVariants?Y.cachedVariants:Sr(Y)?a(Y,{starts:Y.starts?a(Y.starts):null}):Object.isFrozen(Y)?a(Y):Y}var Tn="11.11.1";class dr extends Error{constructor(be,De){super(be),this.name="HTMLInjectionError",this.html=De}}const er=n,Gl=a,jl=Symbol("nomatch"),Vl=7,di=function(Y){const be=Object.create(null),De=Object.create(null),rt=[];let Jt=!0;const sn="Could not find the language '{}', did you forget to load/include a language module?",Fe={disableAutodetect:!0,name:"Plain text",contains:[]};let Me={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:p};function Ge(ke){return Me.noHighlightRe.test(ke)}function Qt(ke){let Xe=ke.className+" ";Xe+=ke.parentNode?ke.parentNode.className:"";const ot=Me.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.",ke)),Dt?ot[1]:"no-highlight"}return Xe.split(/\s+/).find(Dt=>Ge(Dt)||tr(Dt))}function en(ke,Xe,ot){let Dt="",un="";typeof Xe=="object"?(Dt=ke,ot=Xe.ignoreIllegals,un=Xe.language):(ce("10.7.0","highlight(lang, code, ...args) has been deprecated."),ce("10.7.0",`Please use highlight(code, options) instead.
|
|
83
|
+
https://github.com/highlightjs/highlight.js/issues/2277`),un=ke,Dt=Xe),ot===void 0&&(ot=!0);const xr={code:Dt,language:un};Ba("before:highlight",xr);const sa=xr.result?xr.result:ts(xr.language,xr.code,ot);return sa.code=xr.code,Ba("after:highlight",sa),sa}function ts(ke,Xe,ot,Dt){const un=Object.create(null);function xr(Be,qe){return Be.keywords[qe]}function sa(){if(!ut.keywords){_n.addText(It);return}let Be=0;ut.keywordPatternRe.lastIndex=0;let qe=ut.keywordPatternRe.exec(It),lt="";for(;qe;){lt+=It.substring(Be,qe.index);const Ct=Ar.case_insensitive?qe[0].toLowerCase():qe[0],Sn=xr(ut,Ct);if(Sn){const[Hr,us]=Sn;if(_n.addText(lt),lt="",un[Ct]=(un[Ct]||0)+1,un[Ct]<=Vl&&(Us+=us),Hr.startsWith("_"))lt+=qe[0];else{const la=Ar.classNameAliases[Hr]||Hr;Fr(qe[0],la)}}else lt+=qe[0];Be=ut.keywordPatternRe.lastIndex,qe=ut.keywordPatternRe.exec(It)}lt+=It.substring(Be),_n.addText(lt)}function Hn(){if(It==="")return;let Be=null;if(typeof ut.subLanguage=="string"){if(!be[ut.subLanguage]){_n.addText(It);return}Be=ts(ut.subLanguage,It,!0,Ql[ut.subLanguage]),Ql[ut.subLanguage]=Be._top}else Be=Bs(It,ut.subLanguage.length?ut.subLanguage:null);ut.relevance>0&&(Us+=Be.relevance),_n.__addSublanguage(Be._emitter,Be.language)}function Vn(){ut.subLanguage!=null?Hn():sa(),It=""}function Fr(Be,qe){Be!==""&&(_n.startScope(qe),_n.addText(Be),_n.endScope())}function is(Be,qe){let lt=1;const Ct=qe.length-1;for(;lt<=Ct;){if(!Be._emit[lt]){lt++;continue}const Sn=Ar.classNameAliases[Be[lt]]||Be[lt],Hr=qe[lt];Sn?Fr(Hr,Sn):(It=Hr,sa(),It=""),lt++}}function Xl(Be,qe){return Be.scope&&typeof Be.scope=="string"&&_n.openNode(Ar.classNameAliases[Be.scope]||Be.scope),Be.beginScope&&(Be.beginScope._wrap?(Fr(It,Ar.classNameAliases[Be.beginScope._wrap]||Be.beginScope._wrap),It=""):Be.beginScope._multi&&(is(Be.beginScope,qe),It="")),ut=Object.create(Be,{parent:{value:ut}}),ut}function ss(Be,qe,lt){let Ct=P(Be.endRe,lt);if(Ct){if(Be["on:end"]){const Sn=new t(Be);Be["on:end"](qe,Sn),Sn.isMatchIgnored&&(Ct=!1)}if(Ct){for(;Be.endsParent&&Be.parent;)Be=Be.parent;return Be}}if(Be.endsWithParent)return ss(Be.parent,qe,lt)}function hd(Be){return ut.matcher.regexIndex===0?(It+=Be[0],1):(ls=!0,0)}function fr(Be){const qe=Be[0],lt=Be.rule,Ct=new t(lt),Sn=[lt.__beforeBegin,lt["on:begin"]];for(const Hr of Sn)if(Hr&&(Hr(Be,Ct),Ct.isMatchIgnored))return hd(qe);return lt.skip?It+=qe:(lt.excludeBegin&&(It+=qe),Vn(),!lt.returnBegin&&!lt.excludeBegin&&(It=qe)),Xl(lt,Be),lt.returnBegin?0:qe.length}function Wl(Be){const qe=Be[0],lt=Xe.substring(Be.index),Ct=ss(ut,Be,lt);if(!Ct)return jl;const Sn=ut;ut.endScope&&ut.endScope._wrap?(Vn(),Fr(qe,ut.endScope._wrap)):ut.endScope&&ut.endScope._multi?(Vn(),is(ut.endScope,Be)):Sn.skip?It+=qe:(Sn.returnEnd||Sn.excludeEnd||(It+=qe),Vn(),Sn.excludeEnd&&(It=qe));do ut.scope&&_n.closeNode(),!ut.skip&&!ut.subLanguage&&(Us+=ut.relevance),ut=ut.parent;while(ut!==Ct.parent);return Ct.starts&&Xl(Ct.starts,Be),Sn.returnEnd?0:qe.length}function zo(){const Be=[];for(let qe=ut;qe!==Ar;qe=qe.parent)qe.scope&&Be.unshift(qe.scope);Be.forEach(qe=>_n.openNode(qe))}let pi={};function Pa(Be,qe){const lt=qe&&qe[0];if(It+=Be,lt==null)return Vn(),0;if(pi.type==="begin"&&qe.type==="end"&&pi.index===qe.index&<===""){if(It+=Xe.slice(qe.index,qe.index+1),!Jt){const Ct=new Error(`0 width match regex (${ke})`);throw Ct.languageName=ke,Ct.badRule=pi.rule,Ct}return 1}if(pi=qe,qe.type==="begin")return fr(qe);if(qe.type==="illegal"&&!ot){const Ct=new Error('Illegal lexeme "'+lt+'" for mode "'+(ut.scope||"<unnamed>")+'"');throw Ct.mode=ut,Ct}else if(qe.type==="end"){const Ct=Wl(qe);if(Ct!==jl)return Ct}if(qe.type==="illegal"&<==="")return It+=`
|
|
84
|
+
`,1;if(gi>1e5&&gi>qe.index*3)throw new Error("potential infinite loop, way more iterations than matches");return It+=lt,lt.length}const Ar=tr(ke);if(!Ar)throw cr(sn.replace("{}",ke)),new Error('Unknown language: "'+ke+'"');const Fo=jn(Ar);let ga="",ut=Dt||Fo;const Ql={},_n=new Me.__emitter(Me);zo();let It="",Us=0,Ua=0,gi=0,ls=!1;try{if(Ar.__emitTokens)Ar.__emitTokens(Xe,_n);else{for(ut.matcher.considerAll();;){gi++,ls?ls=!1:ut.matcher.considerAll(),ut.matcher.lastIndex=Ua;const Be=ut.matcher.exec(Xe);if(!Be)break;const qe=Xe.substring(Ua,Be.index),lt=Pa(qe,Be);Ua=Be.index+lt}Pa(Xe.substring(Ua))}return _n.finalize(),ga=_n.toHTML(),{language:ke,value:ga,relevance:Us,illegal:!1,_emitter:_n,_top:ut}}catch(Be){if(Be.message&&Be.message.includes("Illegal"))return{language:ke,value:er(Xe),illegal:!0,relevance:0,_illegalBy:{message:Be.message,index:Ua,context:Xe.slice(Ua-100,Ua+100),mode:Be.mode,resultSoFar:ga},_emitter:_n};if(Jt)return{language:ke,value:er(Xe),illegal:!1,relevance:0,errorRaised:Be,_emitter:_n,_top:ut};throw Be}}function Kl(ke){const Xe={value:er(ke),illegal:!1,relevance:0,_top:Fe,_emitter:new Me.__emitter(Me)};return Xe._emitter.addText(ke),Xe}function Bs(ke,Xe){Xe=Xe||Me.languages||Object.keys(be);const ot=Kl(ke),Dt=Xe.filter(tr).filter($l).map(Vn=>ts(Vn,ke,!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 ns(ke,Xe,ot){const Dt=Xe&&De[Xe]||ot;ke.classList.add("hljs"),ke.classList.add(`language-${Dt}`)}function rs(ke){let Xe=null;const ot=Qt(ke);if(Ge(ot))return;if(Ba("before:highlightElement",{el:ke,language:ot}),ke.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",ke);return}if(ke.children.length>0&&(Me.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(ke)),Me.throwUnescapedHTML))throw new dr("One of your code blocks includes unescaped HTML.",ke.innerHTML);Xe=ke;const Dt=Xe.textContent,un=ot?en(Dt,{language:ot,ignoreIllegals:!0}):Bs(Dt);ke.innerHTML=un.value,ke.dataset.highlighted="yes",ns(ke,ot,un.language),ke.result={language:un.language,re:un.relevance,relevance:un.relevance},un.secondBest&&(ke.secondBest={language:un.secondBest.language,relevance:un.secondBest.relevance}),Ba("after:highlightElement",{el:ke,result:un,text:Dt})}function hi(ke){Me=Gl(Me,ke)}const mi=()=>{ln(),ce("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function as(){ln(),ce("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let Ia=!1;function ln(){function ke(){ln()}if(document.readyState==="loading"){Ia||window.addEventListener("DOMContentLoaded",ke,!1),Ia=!0;return}document.querySelectorAll(Me.cssSelector).forEach(rs)}function Lo(ke,Xe){let ot=null;try{ot=Xe(Y)}catch(Dt){if(cr("Language definition for '{}' could not be registered.".replace("{}",ke)),Jt)cr(Dt);else throw Dt;ot=Fe}ot.name||(ot.name=ke),be[ke]=ot,ot.rawDefinition=Xe.bind(null,Y),ot.aliases&&Po(ot.aliases,{languageName:ke})}function Bo(ke){delete be[ke];for(const Xe of Object.keys(De))De[Xe]===ke&&delete De[Xe]}function La(){return Object.keys(be)}function tr(ke){return ke=(ke||"").toLowerCase(),be[ke]||be[De[ke]]}function Po(ke,{languageName:Xe}){typeof ke=="string"&&(ke=[ke]),ke.forEach(ot=>{De[ot.toLowerCase()]=Xe})}function $l(ke){const Xe=tr(ke);return Xe&&!Xe.disableAutodetect}function Uo(ke){ke["before:highlightBlock"]&&!ke["before:highlightElement"]&&(ke["before:highlightElement"]=Xe=>{ke["before:highlightBlock"](Object.assign({block:Xe.el},Xe))}),ke["after:highlightBlock"]&&!ke["after:highlightElement"]&&(ke["after:highlightElement"]=Xe=>{ke["after:highlightBlock"](Object.assign({block:Xe.el},Xe))})}function fd(ke){Uo(ke),rt.push(ke)}function Ps(ke){const Xe=rt.indexOf(ke);Xe!==-1&&rt.splice(Xe,1)}function Ba(ke,Xe){const ot=ke;rt.forEach(function(Dt){Dt[ot]&&Dt[ot](Xe)})}function ia(ke){return ce("10.7.0","highlightBlock will be removed entirely in v12.0"),ce("10.7.0","Please use highlightElement now."),rs(ke)}Object.assign(Y,{highlight:en,highlightAuto:Bs,highlightAll:ln,highlightElement:rs,highlightBlock:ia,configure:hi,initHighlighting:mi,initHighlightingOnLoad:as,registerLanguage:Lo,unregisterLanguage:Bo,listLanguages:La,getLanguage:tr,registerAliases:Po,autoDetection:$l,inherit:Gl,addPlugin:fd,removePlugin:Ps}),Y.debugMode=function(){Jt=!1},Y.safeMode=function(){Jt=!0},Y.versionString=Tn,Y.regex={concat:N,lookahead:T,either:C,optional:A,anyNumberOfTimes:v};for(const ke in Pt)typeof Pt[ke]=="object"&&e(Pt[ke]);return Object.assign(Y,Pt),Y},fi=di({});return fi.newInstance=()=>di({}),Fh=fi,fi.HighlightJS=fi,fi.default=fi,Fh}var qO=HO();const YO=Fc(qO),t3={},GO="hljs-";function jO(e){const t=YO.newInstance();return e&&u(e),{highlight:n,highlightAuto:a,listLanguages:s,register:u,registerAlias:o,registered:d};function n(f,h,p){const b=p||t3,T=typeof b.prefix=="string"?b.prefix:GO;if(!t.getLanguage(f))throw new Error("Unknown language: `"+f+"` is not registered");t.configure({__emitter:VO,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,N=A.data;return N.language=v.language,N.relevance=v.relevance,A}function a(f,h){const b=(h||t3).subset||s();let T=-1,v=0,A;for(;++T<b.length;){const N=b[T];if(!t.getLanguage(N))continue;const I=n(N,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 u(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 VO{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],u={type:"element",tagName:"span",properties:{className:a},children:[]};s.children.push(u),this.stack.push(u)}closeNode(){this.stack.pop()}finalize(){}toHTML(){return""}}const KO={};function $O(e){const t=e||KO,n=t.aliases,a=t.detect||!1,s=t.languages||FO,u=t.plainText,o=t.prefix,d=t.subset;let f="hljs";const h=jO(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 N=XO(T);if(N===!1||!N&&!a||N&&u&&u.includes(N))return;Array.isArray(T.properties.className)||(T.properties.className=[]),T.properties.className.includes(f)||T.properties.className.unshift(f);const I=m5(T,{whitespace:"pre"});let C;try{C=N?h.highlight(N,I,{prefix:o}):h.highlightAuto(I,{prefix:o,subset:d})}catch(R){const P=R;if(N&&/Unknown language/.test(P.message)){b.message("Cannot highlight as `"+N+"`, it’s not registered",{ancestors:[A,T],cause:P,place:T.position,ruleId:"missing-language",source:"rehype-highlight"});return}throw P}!N&&C.data&&C.data.language&&T.properties.className.push("language-"+C.data.language),C.children.length>0&&(T.children=C.children)})}}function XO(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 WO(e,t){return L5(e,{})||{type:"root",children:[]}}function L5(e,t){const n=QO(e,t);return n&&t.afterTransform&&t.afterTransform(e,n),n}function QO(e,t){switch(e.nodeType){case 1:return tR(e,t);case 3:return JO(e);case 8:return eR(e);case 9:return n3(e,t);case 10:return ZO();case 11:return n3(e,t);default:return}}function n3(e,t){return{type:"root",children:B5(e,t)}}function ZO(){return{type:"doctype"}}function JO(e){return{type:"text",value:e.nodeValue||""}}function eR(e){return{type:"comment",value:e.nodeValue||""}}function tR(e,t){const n=e.namespaceURI,a=n===wa.svg?SE:_E,s=n===wa.html?e.tagName.toLowerCase():e.tagName,u=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,B5(u,t))}function B5(e,t){const n=e.childNodes,a=[];let s=-1;for(;++s<n.length;){const u=L5(n[s],t);u!==void 0&&a.push(u)}return a}new DOMParser;function nR(e,t){const n=rR(e);return WO(n)}function rR(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 Ne{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,u,o=n&&n.loc;if(o&&o.start<=o.end){var d=o.lexer.input;s=o.start,u=o.end,s===d.length?a+=" at end of input: ":a+=" at position "+(s+1)+": ";var f=d.slice(s,u).replace(/[^]/g,"$&̲"),h;s>15?h="…"+d.slice(s-15,s):h=d.slice(0,s);var p;u+15<d.length?p=d.slice(u,u+15)+"…":p=d.slice(u),a+=h+f+p}var b=new Error(a);return b.name="ParseError",b.__proto__=Ne.prototype,b.position=s,s!=null&&u!=null&&(b.length=u-s),b.rawMessage=t,b}}Ne.prototype.__proto__=Error.prototype;var aR=function(t,n){return t.indexOf(n)!==-1},iR=function(t,n){return t===void 0?n:t},sR=/([A-Z])/g,lR=function(t){return t.replace(sR,"-$1").toLowerCase()},uR={"&":"&",">":">","<":"<",'"':""","'":"'"},oR=/[&><"']/g;function cR(e){return String(e).replace(oR,t=>uR[t])}var P5=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},dR=function(t){var n=P5(t);return n.type==="mathord"||n.type==="textord"||n.type==="atom"},fR=function(t){if(!t)throw new Error("Expected non-null, but got "+String(t));return t},hR=function(t){var n=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(t);return n?n[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(n[1])?null:n[1].toLowerCase():"_relative"},Ze={contains:aR,deflt:iR,escape:cR,hyphenate:lR,getBaseElem:P5,isCharacterBox:dR,protocolFromUrl:hR},vc={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 mR(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 Rm{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 vc)if(vc.hasOwnProperty(n)){var a=vc[n];this[n]=t[n]!==void 0?a.processor?a.processor(t[n]):t[n]:mR(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 Ne("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 Fi{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[pR[this.id]]}sub(){return Aa[gR[this.id]]}fracNum(){return Aa[bR[this.id]]}fracDen(){return Aa[ER[this.id]]}cramp(){return Aa[yR[this.id]]}text(){return Aa[vR[this.id]]}isTight(){return this.size>=2}}var Mm=0,Mc=1,wl=2,ni=3,bo=4,Zr=5,Ml=6,ur=7,Aa=[new Fi(Mm,0,!1),new Fi(Mc,0,!0),new Fi(wl,1,!1),new Fi(ni,1,!0),new Fi(bo,2,!1),new Fi(Zr,2,!0),new Fi(Ml,3,!1),new Fi(ur,3,!0)],pR=[bo,Zr,bo,Zr,Ml,ur,Ml,ur],gR=[Zr,Zr,Zr,Zr,ur,ur,ur,ur],bR=[wl,ni,bo,Zr,Ml,ur,Ml,ur],ER=[ni,ni,Zr,Zr,ur,ur,ur,ur],yR=[Mc,Mc,ni,ni,Zr,Zr,ur,ur],vR=[Mm,Mc,wl,ni,wl,ni,wl,ni],et={DISPLAY:Aa[Mm],TEXT:Aa[wl],SCRIPT:Aa[bo],SCRIPTSCRIPT:Aa[Ml]},B1=[{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 TR(e){for(var t=0;t<B1.length;t++)for(var n=B1[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 Tc=[];B1.forEach(e=>e.blocks.forEach(t=>Tc.push(...t)));function U5(e){for(var t=0;t<Tc.length;t+=2)if(e>=Tc[t]&&e<=Tc[t+1])return!0;return!1}var gl=80,_R=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"},SR=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"},xR=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"},AR=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"},wR=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"},NR=function(t){var n=t/2;return"M400000 "+t+" H0 L"+n+" 0 l65 45 L145 "+(t-80)+" H400000z"},kR=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"},CR=function(t,n,a){n=1e3*n;var s="";switch(t){case"sqrtMain":s=_R(n,gl);break;case"sqrtSize1":s=SR(n,gl);break;case"sqrtSize2":s=xR(n,gl);break;case"sqrtSize3":s=AR(n,gl);break;case"sqrtSize4":s=wR(n,gl);break;case"sqrtTall":s=kR(n,gl,a)}return s},OR=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""}},r3={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`},RR=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 ko{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 Na={"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]}},nc={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]},a3={Å:"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 MR(e,t){Na[e]=t}function Dm(e,t,n){if(!Na[t])throw new Error("Font metrics not found for font: "+t+".");var a=e.charCodeAt(0),s=Na[t][a];if(!s&&e[0]in a3&&(a=a3[e[0]].charCodeAt(0),s=Na[t][a]),!s&&n==="text"&&U5(a)&&(s=Na[t][77]),s)return{depth:s[0],height:s[1],italic:s[2],skew:s[3],width:s[4]}}var Hh={};function DR(e){var t;if(e>=5?t=0:e>=3?t=1:t=2,!Hh[t]){var n=Hh[t]={cssEmPerMu:nc.quad[t]/18};for(var a in nc)nc.hasOwnProperty(a)&&(n[a]=nc[a][t])}return Hh[t]}var IR=[[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]],i3=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],s3=function(t,n){return n.size<2?t:IR[t-1][n.size-1]};class ei{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||ei.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=i3[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 ei(n)}havingStyle(t){return this.style===t?this:this.extend({style:t,size:s3(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:i3[t-1]})}havingBaseStyle(t){t=t||this.style.text();var n=s3(ei.BASESIZE,t);return this.size===n&&this.textSize===ei.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!==ei.BASESIZE?["sizing","reset-size"+this.size,"size"+ei.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=DR(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}ei.BASESIZE=6;var P1={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},LR={ex:!0,em:!0,mu:!0},z5=function(t){return typeof t!="string"&&(t=t.unit),t in P1||t in LR||t==="ex"},fn=function(t,n){var a;if(t.unit in P1)a=P1[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 Ne("Invalid unit: '"+t.unit+"'");s!==n&&(a*=s.sizeMultiplier/n.sizeMultiplier)}return Math.min(t.number*a,n.maxSize)},Re=function(t){return+t.toFixed(4)+"em"},Wi=function(t){return t.filter(n=>n).join(" ")},F5=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)}},H5=function(t){var n=document.createElement(t);n.className=Wi(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 u=0;u<this.children.length;u++)n.appendChild(this.children[u].toNode());return n},BR=/[\s"'>/=\x00-\x1f]/,q5=function(t){var n="<"+t;this.classes.length&&(n+=' class="'+Ze.escape(Wi(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 u in this.attributes)if(this.attributes.hasOwnProperty(u)){if(BR.test(u))throw new Ne("Invalid attribute name '"+u+"'");n+=" "+u+'="'+Ze.escape(this.attributes[u])+'"'}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,F5.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 H5.call(this,"span")}toMarkup(){return q5.call(this,"span")}}class Im{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,F5.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 H5.call(this,"a")}toMarkup(){return q5.call(this,"a")}}class PR{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 UR={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class ea{constructor(t,n,a,s,u,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=u||0,this.width=o||0,this.classes=d||[],this.style=f||{},this.maxFontSize=0;var h=TR(this.text.charCodeAt(0));h&&this.classes.push(h+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=UR[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=Re(this.italic)),this.classes.length>0&&(n=n||document.createElement("span"),n.className=Wi(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(Wi(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 u=Ze.escape(this.text);return t?(n+=">",n+=u,n+="</span>",n):u}}class ai{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 Qi{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",r3[this.pathName]),n}toMarkup(){return this.alternate?'<path d="'+Ze.escape(this.alternate)+'"/>':'<path d="'+Ze.escape(r3[this.pathName])+'"/>'}}class U1{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 l3(e){if(e instanceof ea)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}function zR(e){if(e instanceof Co)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}var FR={bin:1,close:1,inner:1,open:1,punct:1,rel:1},HR={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Xt={math:{},text:{}};function y(e,t,n,a,s,u){Xt[e][s]={font:t,group:n,replace:a},u&&a&&(Xt[e][a]=Xt[e][s])}var _="math",Te="text",w="main",U="ams",rn="accent-token",He="bin",or="close",Hl="inner",Je="mathord",kn="op-token",Ur="open",Zc="punct",z="rel",oi="spacing",V="textord";y(_,w,z,"≡","\\equiv",!0);y(_,w,z,"≺","\\prec",!0);y(_,w,z,"≻","\\succ",!0);y(_,w,z,"∼","\\sim",!0);y(_,w,z,"⊥","\\perp");y(_,w,z,"⪯","\\preceq",!0);y(_,w,z,"⪰","\\succeq",!0);y(_,w,z,"≃","\\simeq",!0);y(_,w,z,"∣","\\mid",!0);y(_,w,z,"≪","\\ll",!0);y(_,w,z,"≫","\\gg",!0);y(_,w,z,"≍","\\asymp",!0);y(_,w,z,"∥","\\parallel");y(_,w,z,"⋈","\\bowtie",!0);y(_,w,z,"⌣","\\smile",!0);y(_,w,z,"⊑","\\sqsubseteq",!0);y(_,w,z,"⊒","\\sqsupseteq",!0);y(_,w,z,"≐","\\doteq",!0);y(_,w,z,"⌢","\\frown",!0);y(_,w,z,"∋","\\ni",!0);y(_,w,z,"∝","\\propto",!0);y(_,w,z,"⊢","\\vdash",!0);y(_,w,z,"⊣","\\dashv",!0);y(_,w,z,"∋","\\owns");y(_,w,Zc,".","\\ldotp");y(_,w,Zc,"⋅","\\cdotp");y(_,w,V,"#","\\#");y(Te,w,V,"#","\\#");y(_,w,V,"&","\\&");y(Te,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(Te,w,V,"§","\\S");y(_,w,V,"¶","\\P",!0);y(Te,w,V,"¶","\\P");y(_,w,V,"†","\\dag");y(Te,w,V,"†","\\dag");y(Te,w,V,"†","\\textdagger");y(_,w,V,"‡","\\ddag");y(Te,w,V,"‡","\\ddag");y(Te,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,He,"∓","\\mp",!0);y(_,w,He,"⊖","\\ominus",!0);y(_,w,He,"⊎","\\uplus",!0);y(_,w,He,"⊓","\\sqcap",!0);y(_,w,He,"∗","\\ast");y(_,w,He,"⊔","\\sqcup",!0);y(_,w,He,"◯","\\bigcirc",!0);y(_,w,He,"∙","\\bullet",!0);y(_,w,He,"‡","\\ddagger");y(_,w,He,"≀","\\wr",!0);y(_,w,He,"⨿","\\amalg");y(_,w,He,"&","\\And");y(_,w,z,"⟵","\\longleftarrow",!0);y(_,w,z,"⇐","\\Leftarrow",!0);y(_,w,z,"⟸","\\Longleftarrow",!0);y(_,w,z,"⟶","\\longrightarrow",!0);y(_,w,z,"⇒","\\Rightarrow",!0);y(_,w,z,"⟹","\\Longrightarrow",!0);y(_,w,z,"↔","\\leftrightarrow",!0);y(_,w,z,"⟷","\\longleftrightarrow",!0);y(_,w,z,"⇔","\\Leftrightarrow",!0);y(_,w,z,"⟺","\\Longleftrightarrow",!0);y(_,w,z,"↦","\\mapsto",!0);y(_,w,z,"⟼","\\longmapsto",!0);y(_,w,z,"↗","\\nearrow",!0);y(_,w,z,"↩","\\hookleftarrow",!0);y(_,w,z,"↪","\\hookrightarrow",!0);y(_,w,z,"↘","\\searrow",!0);y(_,w,z,"↼","\\leftharpoonup",!0);y(_,w,z,"⇀","\\rightharpoonup",!0);y(_,w,z,"↙","\\swarrow",!0);y(_,w,z,"↽","\\leftharpoondown",!0);y(_,w,z,"⇁","\\rightharpoondown",!0);y(_,w,z,"↖","\\nwarrow",!0);y(_,w,z,"⇌","\\rightleftharpoons",!0);y(_,U,z,"≮","\\nless",!0);y(_,U,z,"","\\@nleqslant");y(_,U,z,"","\\@nleqq");y(_,U,z,"⪇","\\lneq",!0);y(_,U,z,"≨","\\lneqq",!0);y(_,U,z,"","\\@lvertneqq");y(_,U,z,"⋦","\\lnsim",!0);y(_,U,z,"⪉","\\lnapprox",!0);y(_,U,z,"⊀","\\nprec",!0);y(_,U,z,"⋠","\\npreceq",!0);y(_,U,z,"⋨","\\precnsim",!0);y(_,U,z,"⪹","\\precnapprox",!0);y(_,U,z,"≁","\\nsim",!0);y(_,U,z,"","\\@nshortmid");y(_,U,z,"∤","\\nmid",!0);y(_,U,z,"⊬","\\nvdash",!0);y(_,U,z,"⊭","\\nvDash",!0);y(_,U,z,"⋪","\\ntriangleleft");y(_,U,z,"⋬","\\ntrianglelefteq",!0);y(_,U,z,"⊊","\\subsetneq",!0);y(_,U,z,"","\\@varsubsetneq");y(_,U,z,"⫋","\\subsetneqq",!0);y(_,U,z,"","\\@varsubsetneqq");y(_,U,z,"≯","\\ngtr",!0);y(_,U,z,"","\\@ngeqslant");y(_,U,z,"","\\@ngeqq");y(_,U,z,"⪈","\\gneq",!0);y(_,U,z,"≩","\\gneqq",!0);y(_,U,z,"","\\@gvertneqq");y(_,U,z,"⋧","\\gnsim",!0);y(_,U,z,"⪊","\\gnapprox",!0);y(_,U,z,"⊁","\\nsucc",!0);y(_,U,z,"⋡","\\nsucceq",!0);y(_,U,z,"⋩","\\succnsim",!0);y(_,U,z,"⪺","\\succnapprox",!0);y(_,U,z,"≆","\\ncong",!0);y(_,U,z,"","\\@nshortparallel");y(_,U,z,"∦","\\nparallel",!0);y(_,U,z,"⊯","\\nVDash",!0);y(_,U,z,"⋫","\\ntriangleright");y(_,U,z,"⋭","\\ntrianglerighteq",!0);y(_,U,z,"","\\@nsupseteqq");y(_,U,z,"⊋","\\supsetneq",!0);y(_,U,z,"","\\@varsupsetneq");y(_,U,z,"⫌","\\supsetneqq",!0);y(_,U,z,"","\\@varsupsetneqq");y(_,U,z,"⊮","\\nVdash",!0);y(_,U,z,"⪵","\\precneqq",!0);y(_,U,z,"⪶","\\succneqq",!0);y(_,U,z,"","\\@nsubseteqq");y(_,U,He,"⊴","\\unlhd");y(_,U,He,"⊵","\\unrhd");y(_,U,z,"↚","\\nleftarrow",!0);y(_,U,z,"↛","\\nrightarrow",!0);y(_,U,z,"⇍","\\nLeftarrow",!0);y(_,U,z,"⇏","\\nRightarrow",!0);y(_,U,z,"↮","\\nleftrightarrow",!0);y(_,U,z,"⇎","\\nLeftrightarrow",!0);y(_,U,z,"△","\\vartriangle");y(_,U,V,"ℏ","\\hslash");y(_,U,V,"▽","\\triangledown");y(_,U,V,"◊","\\lozenge");y(_,U,V,"Ⓢ","\\circledS");y(_,U,V,"®","\\circledR");y(Te,U,V,"®","\\circledR");y(_,U,V,"∡","\\measuredangle",!0);y(_,U,V,"∄","\\nexists");y(_,U,V,"℧","\\mho");y(_,U,V,"Ⅎ","\\Finv",!0);y(_,U,V,"⅁","\\Game",!0);y(_,U,V,"‵","\\backprime");y(_,U,V,"▲","\\blacktriangle");y(_,U,V,"▼","\\blacktriangledown");y(_,U,V,"■","\\blacksquare");y(_,U,V,"⧫","\\blacklozenge");y(_,U,V,"★","\\bigstar");y(_,U,V,"∢","\\sphericalangle",!0);y(_,U,V,"∁","\\complement",!0);y(_,U,V,"ð","\\eth",!0);y(Te,w,V,"ð","ð");y(_,U,V,"╱","\\diagup");y(_,U,V,"╲","\\diagdown");y(_,U,V,"□","\\square");y(_,U,V,"□","\\Box");y(_,U,V,"◊","\\Diamond");y(_,U,V,"¥","\\yen",!0);y(Te,U,V,"¥","\\yen",!0);y(_,U,V,"✓","\\checkmark",!0);y(Te,U,V,"✓","\\checkmark");y(_,U,V,"ℶ","\\beth",!0);y(_,U,V,"ℸ","\\daleth",!0);y(_,U,V,"ℷ","\\gimel",!0);y(_,U,V,"ϝ","\\digamma",!0);y(_,U,V,"ϰ","\\varkappa");y(_,U,Ur,"┌","\\@ulcorner",!0);y(_,U,or,"┐","\\@urcorner",!0);y(_,U,Ur,"└","\\@llcorner",!0);y(_,U,or,"┘","\\@lrcorner",!0);y(_,U,z,"≦","\\leqq",!0);y(_,U,z,"⩽","\\leqslant",!0);y(_,U,z,"⪕","\\eqslantless",!0);y(_,U,z,"≲","\\lesssim",!0);y(_,U,z,"⪅","\\lessapprox",!0);y(_,U,z,"≊","\\approxeq",!0);y(_,U,He,"⋖","\\lessdot");y(_,U,z,"⋘","\\lll",!0);y(_,U,z,"≶","\\lessgtr",!0);y(_,U,z,"⋚","\\lesseqgtr",!0);y(_,U,z,"⪋","\\lesseqqgtr",!0);y(_,U,z,"≑","\\doteqdot");y(_,U,z,"≓","\\risingdotseq",!0);y(_,U,z,"≒","\\fallingdotseq",!0);y(_,U,z,"∽","\\backsim",!0);y(_,U,z,"⋍","\\backsimeq",!0);y(_,U,z,"⫅","\\subseteqq",!0);y(_,U,z,"⋐","\\Subset",!0);y(_,U,z,"⊏","\\sqsubset",!0);y(_,U,z,"≼","\\preccurlyeq",!0);y(_,U,z,"⋞","\\curlyeqprec",!0);y(_,U,z,"≾","\\precsim",!0);y(_,U,z,"⪷","\\precapprox",!0);y(_,U,z,"⊲","\\vartriangleleft");y(_,U,z,"⊴","\\trianglelefteq");y(_,U,z,"⊨","\\vDash",!0);y(_,U,z,"⊪","\\Vvdash",!0);y(_,U,z,"⌣","\\smallsmile");y(_,U,z,"⌢","\\smallfrown");y(_,U,z,"≏","\\bumpeq",!0);y(_,U,z,"≎","\\Bumpeq",!0);y(_,U,z,"≧","\\geqq",!0);y(_,U,z,"⩾","\\geqslant",!0);y(_,U,z,"⪖","\\eqslantgtr",!0);y(_,U,z,"≳","\\gtrsim",!0);y(_,U,z,"⪆","\\gtrapprox",!0);y(_,U,He,"⋗","\\gtrdot");y(_,U,z,"⋙","\\ggg",!0);y(_,U,z,"≷","\\gtrless",!0);y(_,U,z,"⋛","\\gtreqless",!0);y(_,U,z,"⪌","\\gtreqqless",!0);y(_,U,z,"≖","\\eqcirc",!0);y(_,U,z,"≗","\\circeq",!0);y(_,U,z,"≜","\\triangleq",!0);y(_,U,z,"∼","\\thicksim");y(_,U,z,"≈","\\thickapprox");y(_,U,z,"⫆","\\supseteqq",!0);y(_,U,z,"⋑","\\Supset",!0);y(_,U,z,"⊐","\\sqsupset",!0);y(_,U,z,"≽","\\succcurlyeq",!0);y(_,U,z,"⋟","\\curlyeqsucc",!0);y(_,U,z,"≿","\\succsim",!0);y(_,U,z,"⪸","\\succapprox",!0);y(_,U,z,"⊳","\\vartriangleright");y(_,U,z,"⊵","\\trianglerighteq");y(_,U,z,"⊩","\\Vdash",!0);y(_,U,z,"∣","\\shortmid");y(_,U,z,"∥","\\shortparallel");y(_,U,z,"≬","\\between",!0);y(_,U,z,"⋔","\\pitchfork",!0);y(_,U,z,"∝","\\varpropto");y(_,U,z,"◀","\\blacktriangleleft");y(_,U,z,"∴","\\therefore",!0);y(_,U,z,"∍","\\backepsilon");y(_,U,z,"▶","\\blacktriangleright");y(_,U,z,"∵","\\because",!0);y(_,U,z,"⋘","\\llless");y(_,U,z,"⋙","\\gggtr");y(_,U,He,"⊲","\\lhd");y(_,U,He,"⊳","\\rhd");y(_,U,z,"≂","\\eqsim",!0);y(_,w,z,"⋈","\\Join");y(_,U,z,"≑","\\Doteq",!0);y(_,U,He,"∔","\\dotplus",!0);y(_,U,He,"∖","\\smallsetminus");y(_,U,He,"⋒","\\Cap",!0);y(_,U,He,"⋓","\\Cup",!0);y(_,U,He,"⩞","\\doublebarwedge",!0);y(_,U,He,"⊟","\\boxminus",!0);y(_,U,He,"⊞","\\boxplus",!0);y(_,U,He,"⋇","\\divideontimes",!0);y(_,U,He,"⋉","\\ltimes",!0);y(_,U,He,"⋊","\\rtimes",!0);y(_,U,He,"⋋","\\leftthreetimes",!0);y(_,U,He,"⋌","\\rightthreetimes",!0);y(_,U,He,"⋏","\\curlywedge",!0);y(_,U,He,"⋎","\\curlyvee",!0);y(_,U,He,"⊝","\\circleddash",!0);y(_,U,He,"⊛","\\circledast",!0);y(_,U,He,"⋅","\\centerdot");y(_,U,He,"⊺","\\intercal",!0);y(_,U,He,"⋒","\\doublecap");y(_,U,He,"⋓","\\doublecup");y(_,U,He,"⊠","\\boxtimes",!0);y(_,U,z,"⇢","\\dashrightarrow",!0);y(_,U,z,"⇠","\\dashleftarrow",!0);y(_,U,z,"⇇","\\leftleftarrows",!0);y(_,U,z,"⇆","\\leftrightarrows",!0);y(_,U,z,"⇚","\\Lleftarrow",!0);y(_,U,z,"↞","\\twoheadleftarrow",!0);y(_,U,z,"↢","\\leftarrowtail",!0);y(_,U,z,"↫","\\looparrowleft",!0);y(_,U,z,"⇋","\\leftrightharpoons",!0);y(_,U,z,"↶","\\curvearrowleft",!0);y(_,U,z,"↺","\\circlearrowleft",!0);y(_,U,z,"↰","\\Lsh",!0);y(_,U,z,"⇈","\\upuparrows",!0);y(_,U,z,"↿","\\upharpoonleft",!0);y(_,U,z,"⇃","\\downharpoonleft",!0);y(_,w,z,"⊶","\\origof",!0);y(_,w,z,"⊷","\\imageof",!0);y(_,U,z,"⊸","\\multimap",!0);y(_,U,z,"↭","\\leftrightsquigarrow",!0);y(_,U,z,"⇉","\\rightrightarrows",!0);y(_,U,z,"⇄","\\rightleftarrows",!0);y(_,U,z,"↠","\\twoheadrightarrow",!0);y(_,U,z,"↣","\\rightarrowtail",!0);y(_,U,z,"↬","\\looparrowright",!0);y(_,U,z,"↷","\\curvearrowright",!0);y(_,U,z,"↻","\\circlearrowright",!0);y(_,U,z,"↱","\\Rsh",!0);y(_,U,z,"⇊","\\downdownarrows",!0);y(_,U,z,"↾","\\upharpoonright",!0);y(_,U,z,"⇂","\\downharpoonright",!0);y(_,U,z,"⇝","\\rightsquigarrow",!0);y(_,U,z,"⇝","\\leadsto");y(_,U,z,"⇛","\\Rrightarrow",!0);y(_,U,z,"↾","\\restriction");y(_,w,V,"‘","`");y(_,w,V,"$","\\$");y(Te,w,V,"$","\\$");y(Te,w,V,"$","\\textdollar");y(_,w,V,"%","\\%");y(Te,w,V,"%","\\%");y(_,w,V,"_","\\_");y(Te,w,V,"_","\\_");y(Te,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(_,U,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,He,"∗","*",!0);y(_,w,He,"+","+");y(_,w,He,"−","-",!0);y(_,w,He,"⋅","\\cdot",!0);y(_,w,He,"∘","\\circ",!0);y(_,w,He,"÷","\\div",!0);y(_,w,He,"±","\\pm",!0);y(_,w,He,"×","\\times",!0);y(_,w,He,"∩","\\cap",!0);y(_,w,He,"∪","\\cup",!0);y(_,w,He,"∖","\\setminus",!0);y(_,w,He,"∧","\\land");y(_,w,He,"∨","\\lor");y(_,w,He,"∧","\\wedge",!0);y(_,w,He,"∨","\\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,z,"=","=");y(_,w,z,":",":");y(_,w,z,"≈","\\approx",!0);y(_,w,z,"≅","\\cong",!0);y(_,w,z,"≥","\\ge");y(_,w,z,"≥","\\geq",!0);y(_,w,z,"←","\\gets");y(_,w,z,">","\\gt",!0);y(_,w,z,"∈","\\in",!0);y(_,w,z,"","\\@not");y(_,w,z,"⊂","\\subset",!0);y(_,w,z,"⊃","\\supset",!0);y(_,w,z,"⊆","\\subseteq",!0);y(_,w,z,"⊇","\\supseteq",!0);y(_,U,z,"⊈","\\nsubseteq",!0);y(_,U,z,"⊉","\\nsupseteq",!0);y(_,w,z,"⊨","\\models");y(_,w,z,"←","\\leftarrow",!0);y(_,w,z,"≤","\\le");y(_,w,z,"≤","\\leq",!0);y(_,w,z,"<","\\lt",!0);y(_,w,z,"→","\\rightarrow",!0);y(_,w,z,"→","\\to");y(_,U,z,"≱","\\ngeq",!0);y(_,U,z,"≰","\\nleq",!0);y(_,w,oi," ","\\ ");y(_,w,oi," ","\\space");y(_,w,oi," ","\\nobreakspace");y(Te,w,oi," ","\\ ");y(Te,w,oi," "," ");y(Te,w,oi," ","\\space");y(Te,w,oi," ","\\nobreakspace");y(_,w,oi,null,"\\nobreak");y(_,w,oi,null,"\\allowbreak");y(_,w,Zc,",",",");y(_,w,Zc,";",";");y(_,U,He,"⊼","\\barwedge",!0);y(_,U,He,"⊻","\\veebar",!0);y(_,w,He,"⊙","\\odot",!0);y(_,w,He,"⊕","\\oplus",!0);y(_,w,He,"⊗","\\otimes",!0);y(_,w,V,"∂","\\partial",!0);y(_,w,He,"⊘","\\oslash",!0);y(_,U,He,"⊚","\\circledcirc",!0);y(_,U,He,"⊡","\\boxdot",!0);y(_,w,He,"△","\\bigtriangleup");y(_,w,He,"▽","\\bigtriangledown");y(_,w,He,"†","\\dagger");y(_,w,He,"⋄","\\diamond");y(_,w,He,"⋆","\\star");y(_,w,He,"◃","\\triangleleft");y(_,w,He,"▹","\\triangleright");y(_,w,Ur,"{","\\{");y(Te,w,V,"{","\\{");y(Te,w,V,"{","\\textbraceleft");y(_,w,or,"}","\\}");y(Te,w,V,"}","\\}");y(Te,w,V,"}","\\textbraceright");y(_,w,Ur,"{","\\lbrace");y(_,w,or,"}","\\rbrace");y(_,w,Ur,"[","\\lbrack",!0);y(Te,w,V,"[","\\lbrack",!0);y(_,w,or,"]","\\rbrack",!0);y(Te,w,V,"]","\\rbrack",!0);y(_,w,Ur,"(","\\lparen",!0);y(_,w,or,")","\\rparen",!0);y(Te,w,V,"<","\\textless",!0);y(Te,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(Te,w,V,"|","\\textbar",!0);y(_,w,V,"∥","\\|");y(_,w,V,"∥","\\Vert");y(Te,w,V,"∥","\\textbardbl");y(Te,w,V,"~","\\textasciitilde");y(Te,w,V,"\\","\\textbackslash");y(Te,w,V,"^","\\textasciicircum");y(_,w,z,"↑","\\uparrow",!0);y(_,w,z,"⇑","\\Uparrow",!0);y(_,w,z,"↓","\\downarrow",!0);y(_,w,z,"⇓","\\Downarrow",!0);y(_,w,z,"↕","\\updownarrow",!0);y(_,w,z,"⇕","\\Updownarrow",!0);y(_,w,kn,"∐","\\coprod");y(_,w,kn,"⋁","\\bigvee");y(_,w,kn,"⋀","\\bigwedge");y(_,w,kn,"⨄","\\biguplus");y(_,w,kn,"⋂","\\bigcap");y(_,w,kn,"⋃","\\bigcup");y(_,w,kn,"∫","\\int");y(_,w,kn,"∫","\\intop");y(_,w,kn,"∬","\\iint");y(_,w,kn,"∭","\\iiint");y(_,w,kn,"∏","\\prod");y(_,w,kn,"∑","\\sum");y(_,w,kn,"⨂","\\bigotimes");y(_,w,kn,"⨁","\\bigoplus");y(_,w,kn,"⨀","\\bigodot");y(_,w,kn,"∮","\\oint");y(_,w,kn,"∯","\\oiint");y(_,w,kn,"∰","\\oiiint");y(_,w,kn,"⨆","\\bigsqcup");y(_,w,kn,"∫","\\smallint");y(Te,w,Hl,"…","\\textellipsis");y(_,w,Hl,"…","\\mathellipsis");y(Te,w,Hl,"…","\\ldots",!0);y(_,w,Hl,"…","\\ldots",!0);y(_,w,Hl,"⋯","\\@cdots",!0);y(_,w,Hl,"⋱","\\ddots",!0);y(_,w,V,"⋮","\\varvdots");y(Te,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(Te,w,V,"ı","\\i",!0);y(Te,w,V,"ȷ","\\j",!0);y(Te,w,V,"ß","\\ss",!0);y(Te,w,V,"æ","\\ae",!0);y(Te,w,V,"œ","\\oe",!0);y(Te,w,V,"ø","\\o",!0);y(Te,w,V,"Æ","\\AE",!0);y(Te,w,V,"Œ","\\OE",!0);y(Te,w,V,"Ø","\\O",!0);y(Te,w,rn,"ˊ","\\'");y(Te,w,rn,"ˋ","\\`");y(Te,w,rn,"ˆ","\\^");y(Te,w,rn,"˜","\\~");y(Te,w,rn,"ˉ","\\=");y(Te,w,rn,"˘","\\u");y(Te,w,rn,"˙","\\.");y(Te,w,rn,"¸","\\c");y(Te,w,rn,"˚","\\r");y(Te,w,rn,"ˇ","\\v");y(Te,w,rn,"¨",'\\"');y(Te,w,rn,"˝","\\H");y(Te,w,rn,"◯","\\textcircled");var Y5={"--":!0,"---":!0,"``":!0,"''":!0};y(Te,w,V,"–","--",!0);y(Te,w,V,"–","\\textendash");y(Te,w,V,"—","---",!0);y(Te,w,V,"—","\\textemdash");y(Te,w,V,"‘","`",!0);y(Te,w,V,"‘","\\textquoteleft");y(Te,w,V,"’","'",!0);y(Te,w,V,"’","\\textquoteright");y(Te,w,V,"“","``",!0);y(Te,w,V,"“","\\textquotedblleft");y(Te,w,V,"”","''",!0);y(Te,w,V,"”","\\textquotedblright");y(_,w,V,"°","\\degree",!0);y(Te,w,V,"°","\\degree");y(Te,w,V,"°","\\textdegree",!0);y(_,w,V,"£","\\pounds");y(_,w,V,"£","\\mathsterling",!0);y(Te,w,V,"£","\\pounds");y(Te,w,V,"£","\\textsterling",!0);y(_,U,V,"✠","\\maltese");y(Te,U,V,"✠","\\maltese");var u3='0123456789/@."';for(var qh=0;qh<u3.length;qh++){var o3=u3.charAt(qh);y(_,w,V,o3,o3)}var c3='0123456789!@*()-=+";:?/.,';for(var Yh=0;Yh<c3.length;Yh++){var d3=c3.charAt(Yh);y(Te,w,V,d3,d3)}var Dc="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(var Gh=0;Gh<Dc.length;Gh++){var rc=Dc.charAt(Gh);y(_,w,Je,rc,rc),y(Te,w,V,rc,rc)}y(_,U,V,"C","ℂ");y(Te,U,V,"C","ℂ");y(_,U,V,"H","ℍ");y(Te,U,V,"H","ℍ");y(_,U,V,"N","ℕ");y(Te,U,V,"N","ℕ");y(_,U,V,"P","ℙ");y(Te,U,V,"P","ℙ");y(_,U,V,"Q","ℚ");y(Te,U,V,"Q","ℚ");y(_,U,V,"R","ℝ");y(Te,U,V,"R","ℝ");y(_,U,V,"Z","ℤ");y(Te,U,V,"Z","ℤ");y(_,w,Je,"h","ℎ");y(Te,w,Je,"h","ℎ");var it="";for(var rr=0;rr<Dc.length;rr++){var pn=Dc.charAt(rr);it=String.fromCharCode(55349,56320+rr),y(_,w,Je,pn,it),y(Te,w,V,pn,it),it=String.fromCharCode(55349,56372+rr),y(_,w,Je,pn,it),y(Te,w,V,pn,it),it=String.fromCharCode(55349,56424+rr),y(_,w,Je,pn,it),y(Te,w,V,pn,it),it=String.fromCharCode(55349,56580+rr),y(_,w,Je,pn,it),y(Te,w,V,pn,it),it=String.fromCharCode(55349,56684+rr),y(_,w,Je,pn,it),y(Te,w,V,pn,it),it=String.fromCharCode(55349,56736+rr),y(_,w,Je,pn,it),y(Te,w,V,pn,it),it=String.fromCharCode(55349,56788+rr),y(_,w,Je,pn,it),y(Te,w,V,pn,it),it=String.fromCharCode(55349,56840+rr),y(_,w,Je,pn,it),y(Te,w,V,pn,it),it=String.fromCharCode(55349,56944+rr),y(_,w,Je,pn,it),y(Te,w,V,pn,it),rr<26&&(it=String.fromCharCode(55349,56632+rr),y(_,w,Je,pn,it),y(Te,w,V,pn,it),it=String.fromCharCode(55349,56476+rr),y(_,w,Je,pn,it),y(Te,w,V,pn,it))}it="𝕜";y(_,w,Je,"k",it);y(Te,w,V,"k",it);for(var ws=0;ws<10;ws++){var Hi=ws.toString();it=String.fromCharCode(55349,57294+ws),y(_,w,Je,Hi,it),y(Te,w,V,Hi,it),it=String.fromCharCode(55349,57314+ws),y(_,w,Je,Hi,it),y(Te,w,V,Hi,it),it=String.fromCharCode(55349,57324+ws),y(_,w,Je,Hi,it),y(Te,w,V,Hi,it),it=String.fromCharCode(55349,57334+ws),y(_,w,Je,Hi,it),y(Te,w,V,Hi,it)}var z1="ÐÞþ";for(var jh=0;jh<z1.length;jh++){var ac=z1.charAt(jh);y(_,w,Je,ac,ac),y(Te,w,V,ac,ac)}var ic=[["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"]],f3=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],qR=function(t,n){var a=t.charCodeAt(0),s=t.charCodeAt(1),u=(a-55296)*1024+(s-56320)+65536,o=n==="math"?0:1;if(119808<=u&&u<120484){var d=Math.floor((u-119808)/26);return[ic[d][2],ic[d][o]]}else if(120782<=u&&u<=120831){var f=Math.floor((u-120782)/10);return[f3[f][2],f3[f][o]]}else{if(u===120485||u===120486)return[ic[0][2],ic[0][o]];if(120486<u&&u<120782)return["",""];throw new Ne("Unsupported character: "+t)}},Jc=function(t,n,a){return Xt[a][t]&&Xt[a][t].replace&&(t=Xt[a][t].replace),{value:t,metrics:Dm(t,n,a)}},da=function(t,n,a,s,u){var o=Jc(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,u)}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,u);if(s){f.maxFontSize=s.sizeMultiplier,s.style.isTight()&&f.classes.push("mtight");var p=s.getColor();p&&(f.style.color=p)}return f},YR=function(t,n,a,s){return s===void 0&&(s=[]),a.font==="boldsymbol"&&Jc(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"]))},GR=function(t,n,a,s,u){return u!=="textord"&&Jc(t,"Math-BoldItalic",n).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},jR=function(t,n,a){var s=t.mode,u=t.text,o=["mord"],d=s==="math"||s==="text"&&n.font,f=d?n.font:n.fontFamily,h="",p="";if(u.charCodeAt(0)===55349&&([h,p]=qR(u,s)),h.length>0)return da(u,h,s,n,o.concat(p));if(f){var b,T;if(f==="boldsymbol"){var v=GR(u,s,n,o,a);b=v.fontName,T=[v.fontClass]}else d?(b=V5[f].fontName,T=[f]):(b=sc(f,n.fontWeight,n.fontShape),T=[f,n.fontWeight,n.fontShape]);if(Jc(u,b,s).metrics)return da(u,b,s,n,o.concat(T));if(Y5.hasOwnProperty(u)&&b.slice(0,10)==="Typewriter"){for(var A=[],N=0;N<u.length;N++)A.push(da(u[N],b,s,n,o.concat(T)));return j5(A)}}if(a==="mathord")return da(u,"Math-Italic",s,n,o.concat(["mathnormal"]));if(a==="textord"){var I=Xt[s][u]&&Xt[s][u].font;if(I==="ams"){var C=sc("amsrm",n.fontWeight,n.fontShape);return da(u,C,s,n,o.concat("amsrm",n.fontWeight,n.fontShape))}else if(I==="main"||!I){var R=sc("textrm",n.fontWeight,n.fontShape);return da(u,R,s,n,o.concat(n.fontWeight,n.fontShape))}else{var P=sc(I,n.fontWeight,n.fontShape);return da(u,P,s,n,o.concat(P,n.fontWeight,n.fontShape))}}else throw new Error("unexpected type: "+a+" in makeOrd")},VR=(e,t)=>{if(Wi(e.classes)!==Wi(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},KR=e=>{for(var t=0;t<e.length-1;t++){var n=e[t],a=e[t+1];n instanceof ea&&a instanceof ea&&VR(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},Lm=function(t){for(var n=0,a=0,s=0,u=0;u<t.children.length;u++){var o=t.children[u];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 u=new Co(t,n,a,s);return Lm(u),u},G5=(e,t,n,a)=>new Co(e,t,n,a),$R=function(t,n,a){var s=yr([t],[],n);return s.height=Math.max(a||n.fontMetrics().defaultRuleThickness,n.minRuleThickness),s.style.borderBottomWidth=Re(s.height),s.maxFontSize=1,s},XR=function(t,n,a,s){var u=new Im(t,n,a,s);return Lm(u),u},j5=function(t){var n=new ko(t);return Lm(n),n},WR=function(t,n){return t instanceof ko?yr([],[t],n):t},QR=function(t){if(t.positionType==="individualShift"){for(var n=t.children,a=[n[0]],s=-n[0].shift-n[0].elem.depth,u=s,o=1;o<n.length;o++){var d=-n[o].shift-u-n[o].elem.depth,f=d-(n[o-1].elem.height+n[o-1].elem.depth);u=u+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}},ZR=function(t,n){for(var{children:a,depth:s}=QR(t),u=0,o=0;o<a.length;o++){var d=a[o];if(d.type==="elem"){var f=d.elem;u=Math.max(u,f.maxFontSize,f.height)}}u+=2;var h=yr(["pstrut"],[]);h.style.height=Re(u);for(var p=[],b=s,T=s,v=s,A=0;A<a.length;A++){var N=a[A];if(N.type==="kern")v+=N.size;else{var I=N.elem,C=N.wrapperClasses||[],R=N.wrapperStyle||{},P=yr(C,[h,I],void 0,R);P.style.top=Re(-u-v-I.depth),N.marginLeft&&(P.style.marginLeft=N.marginLeft),N.marginRight&&(P.style.marginRight=N.marginRight),p.push(P),v+=I.height+I.depth}b=Math.min(b,v),T=Math.max(T,v)}var X=yr(["vlist"],p);X.style.height=Re(T);var q;if(b<0){var L=yr([],[]),ne=yr(["vlist"],[L]);ne.style.height=Re(-b);var te=yr(["vlist-s"],[new ea("")]);q=[yr(["vlist-r"],[X,te]),yr(["vlist-r"],[ne])]}else q=[yr(["vlist-r"],[X])];var fe=yr(["vlist-t"],q);return q.length===2&&fe.classes.push("vlist-t2"),fe.height=T,fe.depth=-b,fe},JR=(e,t)=>{var n=yr(["mspace"],[],t),a=fn(e,t);return n.style.marginRight=Re(a),n},sc=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 u;return n==="textbf"&&a==="textit"?u="BoldItalic":n==="textbf"?u="Bold":n==="textit"?u="Italic":u="Regular",s+"-"+u},V5={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"}},K5={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},eM=function(t,n){var[a,s,u]=K5[t],o=new Qi(a),d=new ai([o],{width:Re(s),height:Re(u),style:"width:"+Re(s),viewBox:"0 0 "+1e3*s+" "+1e3*u,preserveAspectRatio:"xMinYMin"}),f=G5(["overlay"],[d],n);return f.height=u,f.style.height=Re(u),f.style.width=Re(s),f},ee={fontMap:V5,makeSymbol:da,mathsym:YR,makeSpan:yr,makeSvgSpan:G5,makeLineSpan:$R,makeAnchor:XR,makeFragment:j5,wrapFragment:WR,makeVList:ZR,makeOrd:jR,makeGlue:JR,staticSvg:eM,svgData:K5,tryCombineChars:KR},dn={number:3,unit:"mu"},Ns={number:4,unit:"mu"},Za={number:5,unit:"mu"},tM={mord:{mop:dn,mbin:Ns,mrel:Za,minner:dn},mop:{mord:dn,mop:dn,mrel:Za,minner:dn},mbin:{mord:Ns,mop:Ns,mopen:Ns,minner:Ns},mrel:{mord:Za,mop:Za,mopen:Za,minner:Za},mopen:{},mclose:{mop:dn,mbin:Ns,mrel:Za,minner:dn},mpunct:{mord:dn,mop:dn,mrel:Za,mopen:dn,mclose:dn,mpunct:dn,minner:dn},minner:{mord:dn,mop:dn,mbin:Ns,mrel:Za,mopen:dn,mpunct:dn,minner:dn}},nM={mord:{mop:dn},mop:{mord:dn,mop:dn},mbin:{},mrel:{},mopen:{},mclose:{mop:dn},mpunct:{},minner:{mop:dn}},$5={},Ic={},Lc={};function ze(e){for(var{type:t,names:n,props:a,handler:s,htmlBuilder:u,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)$5[n[f]]=d;t&&(u&&(Ic[t]=u),o&&(Lc[t]=o))}function Ls(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 Bc=function(t){return t.type==="ordgroup"&&t.body.length===1?t.body[0]:t},vn=function(t){return t.type==="ordgroup"?t.body:[t]},ii=ee.makeSpan,rM=["leftmost","mbin","mopen","mrel","mop","mpunct"],aM=["rightmost","mrel","mclose","mpunct"],iM={display:et.DISPLAY,text:et.TEXT,script:et.SCRIPT,scriptscript:et.SCRIPTSCRIPT},sM={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 u=[],o=0;o<t.length;o++){var d=Nt(t[o],n);if(d instanceof ko){var f=d.children;u.push(...f)}else u.push(d)}if(ee.tryCombineChars(u),!a)return u;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(iM[p.style]))}var b=ii([s[0]||"leftmost"],[],n),T=ii([s[1]||"rightmost"],[],n),v=a==="root";return h3(u,(A,N)=>{var I=N.classes[0],C=A.classes[0];I==="mbin"&&Ze.contains(aM,C)?N.classes[0]="mord":C==="mbin"&&Ze.contains(rM,I)&&(A.classes[0]="mord")},{node:b},T,v),h3(u,(A,N)=>{var I=F1(N),C=F1(A),R=I&&C?A.hasClass("mtight")?nM[I][C]:tM[I][C]:null;if(R)return ee.makeGlue(R,h)},{node:b},T,v),u},h3=function e(t,n,a,s,u){s&&t.push(s);for(var o=0;o<t.length;o++){var d=t[o],f=X5(d);if(f){e(f.children,n,a,null,u);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:u&&d.hasClass("newline")&&(a.node=ii(["leftmost"])),a.insertAfter=(b=>T=>{t.splice(b+1,0,T),o++})(o)}s&&t.pop()},X5=function(t){return t instanceof ko||t instanceof Im||t instanceof Co&&t.hasClass("enclosing")?t:null},lM=function e(t,n){var a=X5(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},F1=function(t,n){return t?(n&&(t=lM(t,n)),sM[t.classes[0]]||null):null},Eo=function(t,n){var a=["nulldelimiter"].concat(t.baseSizingClasses());return ii(n.concat(a))},Nt=function(t,n,a){if(!t)return ii();if(Ic[t.type]){var s=Ic[t.type](t,n);if(a&&n.size!==a.size){s=ii(n.sizingClasses(a),[s],n);var u=n.sizeMultiplier/a.sizeMultiplier;s.height*=u,s.depth*=u}return s}else throw new Ne("Got group of unknown type: '"+t.type+"'")};function lc(e,t){var n=ii(["base"],e,t),a=ii(["strut"]);return a.style.height=Re(n.height+n.depth),n.depth&&(a.style.verticalAlign=Re(-n.depth)),n.children.unshift(a),n}function H1(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 u=[],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||(u.push(lc(o,t)),o=[])}else a[d].hasClass("newline")&&(o.pop(),o.length>0&&(u.push(lc(o,t)),o=[]),u.push(a[d]));o.length>0&&u.push(lc(o,t));var h;n?(h=lc(Dn(n,t,!0)),h.classes=["tag"],u.push(h)):s&&u.push(s);var p=ii(["katex-html"],u);if(p.setAttribute("aria-hidden","true"),h){var b=h.children[0];b.style.height=Re(p.height+p.depth),p.depth&&(b.style.verticalAlign=Re(-p.depth))}return p}function W5(e){return new ko(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=Wi(this.classes));for(var a=0;a<this.children.length;a++)if(this.children[a]instanceof ka&&this.children[a+1]instanceof ka){for(var s=this.children[a].toText()+this.children[++a].toText();this.children[a+1]instanceof ka;)s+=this.children[++a].toText();t.appendChild(new ka(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(Wi(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 ka{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 uM{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",Re(this.width)),t}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+Re(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var Ae={MathNode:Br,TextNode:ka,SpaceNode:uM,newDocumentFragment:W5},ta=function(t,n,a){return Xt[n][t]&&Xt[n][t].replace&&t.charCodeAt(0)!==55349&&!(Y5.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 Ae.TextNode(t)},Bm=function(t){return t.length===1?t[0]:new Ae.MathNode("mrow",t)},Pm=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 u=t.text;if(Ze.contains(["\\imath","\\jmath"],u))return null;Xt[s][u]&&Xt[s][u].replace&&(u=Xt[s][u].replace);var o=ee.fontMap[a].fontName;return Dm(u,o,s)?ee.fontMap[a].variant:null};function Vh(e){if(!e)return!1;if(e.type==="mi"&&e.children.length===1){var t=e.children[0];return t instanceof ka&&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 ka&&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 u=[],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(Vh(f)&&o.type==="mn"){o.children.push(...f.children);continue}else if(f.type==="mn"&&Vh(o))f.children=[...o.children,...f.children],u.pop();else if((f.type==="msup"||f.type==="msub")&&f.children.length>=1&&(o.type==="mn"||Vh(o))){var h=f.children[0];h instanceof Br&&h.type==="mn"&&(h.children=[...o.children,...h.children],u.pop())}else if(o.type==="mi"&&o.children.length===1){var p=o.children[0];if(p instanceof ka&&p.text==="̸"&&(f.type==="mo"||f.type==="mi"||f.type==="mn")){var b=f.children[0];b instanceof ka&&b.text.length>0&&(b.text=b.text.slice(0,1)+"̸"+b.text.slice(1),u.pop())}}}u.push(f),o=f}return u},Zi=function(t,n,a){return Bm(Tr(t,n,a))},jt=function(t,n){if(!t)return new Ae.MathNode("mrow");if(Lc[t.type]){var a=Lc[t.type](t,n);return a}else throw new Ne("Got group of unknown type: '"+t.type+"'")};function m3(e,t,n,a,s){var u=Tr(e,n),o;u.length===1&&u[0]instanceof Br&&Ze.contains(["mrow","mtable"],u[0].type)?o=u[0]:o=new Ae.MathNode("mrow",u);var d=new Ae.MathNode("annotation",[new Ae.TextNode(t)]);d.setAttribute("encoding","application/x-tex");var f=new Ae.MathNode("semantics",[o,d]),h=new Ae.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 ee.makeSpan([p],[h])}var Q5=function(t){return new ei({style:t.displayMode?et.DISPLAY:et.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},Z5=function(t,n){if(n.displayMode){var a=["katex-display"];n.leqno&&a.push("leqno"),n.fleqn&&a.push("fleqn"),t=ee.makeSpan(a,[t])}return t},oM=function(t,n,a){var s=Q5(a),u;if(a.output==="mathml")return m3(t,n,s,a.displayMode,!0);if(a.output==="html"){var o=H1(t,s);u=ee.makeSpan(["katex"],[o])}else{var d=m3(t,n,s,a.displayMode,!1),f=H1(t,s);u=ee.makeSpan(["katex"],[d,f])}return Z5(u,a)},cM=function(t,n,a){var s=Q5(a),u=H1(t,s),o=ee.makeSpan(["katex"],[u]);return Z5(o,a)},dM={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":"="},fM=function(t){var n=new Ae.MathNode("mo",[new Ae.TextNode(dM[t.replace(/^\\/,"")])]);return n.setAttribute("stretchy","true"),n},hM={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]},mM=function(t){return t.type==="ordgroup"?t.body.length:1},pM=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=mM(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 N=new Qi(T),I=new ai([N],{width:"100%",height:Re(v),viewBox:"0 0 "+d+" "+b,preserveAspectRatio:"none"});return{span:ee.makeSvgSpan([],[I],n),minWidth:0,height:v}}else{var C=[],R=hM[f],[P,X,q]=R,L=q/1e3,ne=P.length,te,fe;if(ne===1){var G=R[3];te=["hide-tail"],fe=[G]}else if(ne===2)te=["halfarrow-left","halfarrow-right"],fe=["xMinYMin","xMaxYMin"];else if(ne===3)te=["brace-left","brace-center","brace-right"],fe=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
|
|
339
|
+
`+ne+" children.");for(var se=0;se<ne;se++){var de=new Qi(P[se]),ye=new ai([de],{width:"400em",height:Re(L),viewBox:"0 0 "+d+" "+q,preserveAspectRatio:fe[se]+" slice"}),ue=ee.makeSvgSpan([te[se]],[ye],n);if(ne===1)return{span:ue,minWidth:X,height:L};ue.style.height=Re(L),C.push(ue)}return{span:ee.makeSpan(["stretchy"],C,n),minWidth:X,height:L}}}var{span:s,minWidth:u,height:o}=a();return s.height=o,s.style.height=Re(o),u>0&&(s.style.minWidth=Re(u)),s},gM=function(t,n,a,s,u){var o,d=t.height+t.depth+a+s;if(/fbox|color|angl/.test(n)){if(o=ee.makeSpan(["stretchy",n],[],u),n==="fbox"){var f=u.color&&u.getColor();f&&(o.style.borderColor=f)}}else{var h=[];/^[bx]cancel$/.test(n)&&h.push(new U1({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(n)&&h.push(new U1({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var p=new ai(h,{width:"100%",height:Re(d)});o=ee.makeSvgSpan([],[p],u)}return o.height=d,o.style.height=Re(d),o},si={encloseSpan:gM,mathMLnode:fM,svgSpan:pM};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 Um(e){var t=ed(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 ed(e){return e&&(e.type==="atom"||HR.hasOwnProperty(e.type))?e:null}var zm=(e,t)=>{var n,a,s;e&&e.type==="supsub"?(a=ht(e.base,"accent"),n=a.base,e.base=n,s=zR(Nt(e,t)),e.base=a):(a=ht(e,"accent"),n=a.base);var u=Nt(n,t.havingCrampedStyle()),o=a.isShifty&&Ze.isCharacterBox(n),d=0;if(o){var f=Ze.getBaseElem(n),h=Nt(f,t.havingCrampedStyle());d=l3(h).skew}var p=a.label==="\\c",b=p?u.height+u.depth:Math.min(u.height,t.fontMetrics().xHeight),T;if(a.isStretchy)T=si.svgSpan(a,t),T=ee.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:u},{type:"elem",elem:T,wrapperClasses:["svg-align"],wrapperStyle:d>0?{width:"calc(100% - "+Re(2*d)+")",marginLeft:Re(2*d)}:void 0}]},t);else{var v,A;a.label==="\\vec"?(v=ee.staticSvg("vec",t),A=ee.svgData.vec[1]):(v=ee.makeOrd({mode:a.mode,text:a.label},t,"textord"),v=l3(v),v.italic=0,A=v.width,p&&(b+=v.depth)),T=ee.makeSpan(["accent-body"],[v]);var N=a.label==="\\textcircled";N&&(T.classes.push("accent-full"),b=u.height);var I=d;N||(I-=A/2),T.style.left=Re(I),a.label==="\\textcircled"&&(T.style.top=".2em"),T=ee.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:u},{type:"kern",size:-b},{type:"elem",elem:T}]},t)}var C=ee.makeSpan(["mord","accent"],[T],t);return s?(s.children[0]=C,s.height=Math.max(C.height,s.height),s.classes[0]="mord",s):C},J5=(e,t)=>{var n=e.isStretchy?si.mathMLnode(e.label):new Ae.MathNode("mo",[ta(e.label,e.mode)]),a=new Ae.MathNode("mover",[jt(e.base,t),n]);return a.setAttribute("accent","true"),a},bM=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=Bc(t[0]),a=!bM.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:zm,mathmlBuilder:J5});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:zm,mathmlBuilder:J5});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=Nt(e.base,t),a=si.svgSpan(e,t),s=e.label==="\\utilde"?.12:0,u=ee.makeVList({positionType:"top",positionData:n.height,children:[{type:"elem",elem:a,wrapperClasses:["svg-align"]},{type:"kern",size:s},{type:"elem",elem:n}]},t);return ee.makeSpan(["mord","accentunder"],[u],t)},mathmlBuilder:(e,t)=>{var n=si.mathMLnode(e.label),a=new Ae.MathNode("munder",[jt(e.base,t),n]);return a.setAttribute("accentunder","true"),a}});var uc=e=>{var t=new Ae.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=ee.wrapFragment(Nt(e.body,a,t),t),u=e.label.slice(0,2)==="\\x"?"x":"cd";s.classes.push(u+"-arrow-pad");var o;e.below&&(a=t.havingStyle(n.sub()),o=ee.wrapFragment(Nt(e.below,a,t),t),o.classes.push(u+"-arrow-pad"));var d=si.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=ee.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=ee.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"),ee.makeSpan(["mrel","x-arrow"],[p],t)},mathmlBuilder(e,t){var n=si.mathMLnode(e.label);n.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var a;if(e.body){var s=uc(jt(e.body,t));if(e.below){var u=uc(jt(e.below,t));a=new Ae.MathNode("munderover",[n,u,s])}else a=new Ae.MathNode("mover",[n,s])}else if(e.below){var o=uc(jt(e.below,t));a=new Ae.MathNode("munder",[n,o])}else a=uc(),a=new Ae.MathNode("mover",[n,a]);return a}});var EM=ee.makeSpan;function e7(e,t){var n=Dn(e.body,t,!0);return EM([e.mclass],n,t)}function t7(e,t){var n,a=Tr(e.body,t);return e.mclass==="minner"?n=new Ae.MathNode("mpadded",a):e.mclass==="mord"?e.isCharacterBox?(n=a[0],n.type="mi"):n=new Ae.MathNode("mi",a):(e.isCharacterBox?(n=a[0],n.type="mo"):n=new Ae.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:e7,mathmlBuilder:t7});var td=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:td(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],u=t[0],o;a!=="\\stackrel"?o=td(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:u.mode,base:d,sup:a==="\\underset"?null:u,sub:a==="\\underset"?u:null};return{type:"mclass",mode:n.mode,mclass:o,body:[f],isCharacterBox:Ze.isCharacterBox(f)}},htmlBuilder:e7,mathmlBuilder:t7});ze({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:"pmb",mode:n.mode,mclass:td(t[0]),body:vn(t[0])}},htmlBuilder(e,t){var n=Dn(e.body,t,!0),a=ee.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 Ae.MathNode("mstyle",n);return a.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),a}});var yM={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},p3=()=>({type:"styling",body:[],mode:"math",style:"display"}),g3=e=>e.type==="textord"&&e.text==="@",vM=(e,t)=>(e.type==="mathord"||e.type==="atom")&&e.text===t;function TM(e,t,n){var a=yM[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]],[]),u={type:"atom",text:a,mode:"math",family:"rel"},o=n.callFunction("\\Big",[u],[]),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 _M(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 Ne("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var a=[],s=[a],u=0;u<t.length;u++){for(var o=t[u],d=p3(),f=0;f<o.length;f++)if(!g3(o[f]))d.body.push(o[f]);else{a.push(d),f+=1;var h=Um(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(vM(o[v],h)){T=!1,f=v;break}if(g3(o[v]))throw new Ne("Missing a "+h+" character to complete a CD arrow.",o[v]);p[b].body.push(o[v])}if(T)throw new Ne("Missing a "+h+" character to complete a CD arrow.",o[f])}else throw new Ne('Expected one of "<>AV=|." after @',o[f]);var A=TM(h,p,e),N={type:"styling",body:[A],mode:"math",style:"display"};a.push(N),d=p3()}u%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=ee.wrapFragment(Nt(e.label,n,t),t);return a.classes.push("cd-label-"+e.side),a.style.bottom=Re(.8-a.depth),a.height=0,a.depth=0,a},mathmlBuilder(e,t){var n=new Ae.MathNode("mrow",[jt(e.label,t)]);return n=new Ae.MathNode("mpadded",[n]),n.setAttribute("width","0"),e.side==="left"&&n.setAttribute("lspace","-1width"),n.setAttribute("voffset","0.7em"),n=new Ae.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=ee.wrapFragment(Nt(e.fragment,t),t);return n.classes.push("cd-vert-arrow"),n},mathmlBuilder(e,t){return new Ae.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,u="",o=0;o<s.length;o++){var d=ht(s[o],"textord");u+=d.text}var f=parseInt(u),h;if(isNaN(f))throw new Ne("\\@char has non-numeric argument "+u);if(f<0||f>=1114111)throw new Ne("\\@char with invalid code point "+u);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 n7=(e,t)=>{var n=Dn(e.body,t.withColor(e.color),!1);return ee.makeFragment(n)},r7=(e,t)=>{var n=Tr(e.body,t.withColor(e.color)),a=new Ae.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:n7,mathmlBuilder:r7});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 u=n.parseExpression(!0,a);return{type:"color",mode:n.mode,color:s,body:u}},htmlBuilder:n7,mathmlBuilder:r7});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,u=!a.settings.displayMode||!a.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:a.mode,newLine:u,size:s&&ht(s,"size").value}},htmlBuilder(e,t){var n=ee.makeSpan(["mspace"],[],t);return e.newLine&&(n.classes.push("newline"),e.size&&(n.style.marginTop=Re(fn(e.size,t)))),n},mathmlBuilder(e,t){var n=new Ae.MathNode("mspace");return e.newLine&&(n.setAttribute("linebreak","newline"),e.size&&n.setAttribute("height",Re(fn(e.size,t)))),n}});var q1={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},a7=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new Ne("Expected a control sequence",e);return t},SM=e=>{var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},i7=(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(q1[a.text])return(n==="\\global"||n==="\\\\globallong")&&(a.text=q1[a.text]),ht(t.parseFunction(),"internal");throw new Ne("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 Ne("Expected a control sequence",a);for(var u=0,o,d=[[]];t.gullet.future().text!=="{";)if(a=t.gullet.popToken(),a.text==="#"){if(t.gullet.future().text==="{"){o=t.gullet.future(),d[u].push("{");break}if(a=t.gullet.popToken(),!/^[1-9]$/.test(a.text))throw new Ne('Invalid argument number "'+a.text+'"');if(parseInt(a.text)!==u+1)throw new Ne('Argument number "'+a.text+'" out of order');u++,d.push([])}else{if(a.text==="EOF")throw new Ne("Expected a macro definition");d[u].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:u,delimiters:d},n===q1[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=a7(t.gullet.popToken());t.gullet.consumeSpaces();var s=SM(t);return i7(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=a7(t.gullet.popToken()),s=t.gullet.popToken(),u=t.gullet.popToken();return i7(t,a,u,n==="\\\\globalfuture"),t.gullet.pushToken(u),t.gullet.pushToken(s),{type:"internal",mode:t.mode}}});var Ju=function(t,n,a){var s=Xt.math[t]&&Xt.math[t].replace,u=Dm(s||t,n,a);if(!u)throw new Error("Unsupported symbol "+t+" and font size "+n+".");return u},Fm=function(t,n,a,s){var u=a.havingBaseStyle(n),o=ee.makeSpan(s.concat(u.sizingClasses(a)),[t],a),d=u.sizeMultiplier/a.sizeMultiplier;return o.height*=d,o.depth*=d,o.maxFontSize=u.sizeMultiplier,o},s7=function(t,n,a){var s=n.havingBaseStyle(a),u=(1-n.sizeMultiplier/s.sizeMultiplier)*n.fontMetrics().axisHeight;t.classes.push("delimcenter"),t.style.top=Re(u),t.height-=u,t.depth+=u},xM=function(t,n,a,s,u,o){var d=ee.makeSymbol(t,"Main-Regular",u,s),f=Fm(d,n,s,o);return a&&s7(f,s,n),f},AM=function(t,n,a,s){return ee.makeSymbol(t,"Size"+n+"-Regular",a,s)},l7=function(t,n,a,s,u,o){var d=AM(t,n,u,s),f=Fm(ee.makeSpan(["delimsizing","size"+n],[d],s),et.TEXT,s,o);return a&&s7(f,s,et.TEXT),f},Kh=function(t,n,a){var s;n==="Size1-Regular"?s="delim-size1":s="delim-size4";var u=ee.makeSpan(["delimsizinginner",s],[ee.makeSpan([],[ee.makeSymbol(t,n,a)])]);return{type:"elem",elem:u}},$h=function(t,n,a){var s=Na["Size4-Regular"][t.charCodeAt(0)]?Na["Size4-Regular"][t.charCodeAt(0)][4]:Na["Size1-Regular"][t.charCodeAt(0)][4],u=new Qi("inner",OR(t,Math.round(1e3*n))),o=new ai([u],{width:Re(s),height:Re(n),style:"width:"+Re(s),viewBox:"0 0 "+1e3*s+" "+Math.round(1e3*n),preserveAspectRatio:"xMinYMin"}),d=ee.makeSvgSpan([],[o],a);return d.height=n,d.style.height=Re(n),d.style.width=Re(s),{type:"elem",elem:d}},Y1=.008,oc={type:"kern",size:-1*Y1},wM=["|","\\lvert","\\rvert","\\vert"],NM=["\\|","\\lVert","\\rVert","\\Vert"],u7=function(t,n,a,s,u,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(wM,t)?(h="∣",b="vert",T=333):Ze.contains(NM,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=Ju(d,v,u),N=A.height+A.depth,I=Ju(h,v,u),C=I.height+I.depth,R=Ju(p,v,u),P=R.height+R.depth,X=0,q=1;if(f!==null){var L=Ju(f,v,u);X=L.height+L.depth,q=2}var ne=N+P+X,te=Math.max(0,Math.ceil((n-ne)/(q*C))),fe=ne+te*q*C,G=s.fontMetrics().axisHeight;a&&(G*=s.sizeMultiplier);var se=fe/2-G,de=[];if(b.length>0){var ye=fe-N-P,ue=Math.round(fe*1e3),oe=RR(b,Math.round(ye*1e3)),K=new Qi(b,oe),le=(T/1e3).toFixed(3)+"em",me=(ue/1e3).toFixed(3)+"em",Pe=new ai([K],{width:le,height:me,viewBox:"0 0 "+T+" "+ue}),x=ee.makeSvgSpan([],[Pe],s);x.height=ue/1e3,x.style.width=le,x.style.height=me,de.push({type:"elem",elem:x})}else{if(de.push(Kh(p,v,u)),de.push(oc),f===null){var ae=fe-N-P+2*Y1;de.push($h(h,ae,s))}else{var pe=(fe-N-P-X)/2+2*Y1;de.push($h(h,pe,s)),de.push(oc),de.push(Kh(f,v,u)),de.push(oc),de.push($h(h,pe,s))}de.push(oc),de.push(Kh(d,v,u))}var M=s.havingBaseStyle(et.TEXT),Ie=ee.makeVList({positionType:"bottom",positionData:se,children:de},M);return Fm(ee.makeSpan(["delimsizing","mult"],[Ie],M),et.TEXT,s,o)},Xh=80,Wh=.08,Qh=function(t,n,a,s,u){var o=CR(t,s,a),d=new Qi(t,o),f=new ai([d],{width:"400em",height:Re(n),viewBox:"0 0 400000 "+a,preserveAspectRatio:"xMinYMin slice"});return ee.makeSvgSpan(["hide-tail"],[f],u)},kM=function(t,n){var a=n.havingBaseSizing(),s=f7("\\surd",t*a.sizeMultiplier,d7,a),u=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+Xh,t<1?u=1:t<1.4&&(u=.7),f=(1+o+Wh)/u,h=(1+o)/u,d=Qh("sqrtMain",f,p,o,n),d.style.minWidth="0.853em",b=.833/u):s.type==="large"?(p=(1e3+Xh)*uo[s.size],h=(uo[s.size]+o)/u,f=(uo[s.size]+o+Wh)/u,d=Qh("sqrtSize"+s.size,f,p,o,n),d.style.minWidth="1.02em",b=1/u):(f=t+o+Wh,h=t+o,p=Math.floor(1e3*t+o)+Xh,d=Qh("sqrtTall",f,p,o,n),d.style.minWidth="0.742em",b=1.056),d.height=h,d.style.height=Re(f),{span:d,advanceWidth:b,ruleWidth:(n.fontMetrics().sqrtRuleThickness+o)*u}},o7=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],CM=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],c7=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],uo=[0,1.2,1.8,2.4,3],OM=function(t,n,a,s,u){if(t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle"),Ze.contains(o7,t)||Ze.contains(c7,t))return l7(t,n,!1,a,s,u);if(Ze.contains(CM,t))return u7(t,uo[n],!1,a,s,u);throw new Ne("Illegal delimiter: '"+t+"'")},RM=[{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}],MM=[{type:"small",style:et.SCRIPTSCRIPT},{type:"small",style:et.SCRIPT},{type:"small",style:et.TEXT},{type:"stack"}],d7=[{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"}],DM=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.")},f7=function(t,n,a,s){for(var u=Math.min(2,3-s.style.size),o=u;o<a.length&&a[o].type!=="stack";o++){var d=Ju(t,DM(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]},h7=function(t,n,a,s,u,o){t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle");var d;Ze.contains(c7,t)?d=RM:Ze.contains(o7,t)?d=d7:d=MM;var f=f7(t,n,d,s);return f.type==="small"?xM(t,f.style,a,s,u,o):f.type==="large"?l7(t,f.size,a,s,u,o):u7(t,n,a,s,u,o)},IM=function(t,n,a,s,u,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 h7(t,b,!0,s,u,o)},ri={sqrtImage:kM,sizedDelim:OM,sizeToMaxHeight:uo,customSizedDelim:h7,leftRightDelim:IM},b3={"\\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}},LM=["(","\\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 nd(e,t){var n=ed(e);if(n&&Ze.contains(LM,n.text))return n;throw n?new Ne("Invalid delimiter '"+n.text+"' after '"+t.funcName+"'",e):new Ne("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=nd(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:b3[e.funcName].size,mclass:b3[e.funcName].mclass,delim:n.text}},htmlBuilder:(e,t)=>e.delim==="."?ee.makeSpan([e.mclass]):ri.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 Ae.MathNode("mo",t);e.mclass==="mopen"||e.mclass==="mclose"?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n.setAttribute("stretchy","true");var a=Re(ri.sizeToMaxHeight[e.size]);return n.setAttribute("minsize",a),n.setAttribute("maxsize",a),n}});function E3(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 Ne("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:nd(t[0],e).text,color:n}}});ze({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=nd(t[0],e),a=e.parser;++a.leftrightDepth;var s=a.parseExpression(!1);--a.leftrightDepth,a.expect("\\right",!1);var u=ht(a.parseFunction(),"leftright-right");return{type:"leftright",mode:a.mode,body:s,left:n.text,right:u.delim,rightColor:u.color}},htmlBuilder:(e,t)=>{E3(e);for(var n=Dn(e.body,t,!0,["mopen","mclose"]),a=0,s=0,u=!1,o=0;o<n.length;o++)n[o].isMiddle?u=!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=Eo(t,["mopen"]):d=ri.leftRightDelim(e.left,a,s,t,e.mode,["mopen"]),n.unshift(d),u)for(var f=1;f<n.length;f++){var h=n[f],p=h.isMiddle;p&&(n[f]=ri.leftRightDelim(p.delim,a,s,p.options,e.mode,[]))}var b;if(e.right===".")b=Eo(t,["mclose"]);else{var T=e.rightColor?t.withColor(e.rightColor):t;b=ri.leftRightDelim(e.right,a,s,T,e.mode,["mclose"])}return n.push(b),ee.makeSpan(["minner"],n,t)},mathmlBuilder:(e,t)=>{E3(e);var n=Tr(e.body,t);if(e.left!=="."){var a=new Ae.MathNode("mo",[ta(e.left,e.mode)]);a.setAttribute("fence","true"),n.unshift(a)}if(e.right!=="."){var s=new Ae.MathNode("mo",[ta(e.right,e.mode)]);s.setAttribute("fence","true"),e.rightColor&&s.setAttribute("mathcolor",e.rightColor),n.push(s)}return Bm(n)}});ze({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=nd(t[0],e);if(!e.parser.leftrightDepth)throw new Ne("\\middle without preceding \\left",n);return{type:"middle",mode:e.parser.mode,delim:n.text}},htmlBuilder:(e,t)=>{var n;if(e.delim===".")n=Eo(t,[]);else{n=ri.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 Ae.MathNode("mo",[n]);return a.setAttribute("fence","true"),a.setAttribute("lspace","0.05em"),a.setAttribute("rspace","0.05em"),a}});var Hm=(e,t)=>{var n=ee.wrapFragment(Nt(e.body,t),t),a=e.label.slice(1),s=t.sizeMultiplier,u,o=0,d=Ze.isCharacterBox(e.body);if(a==="sout")u=ee.makeSpan(["stretchy","sout"]),u.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=Re(b/2+f);var T=Math.floor(1e3*b*s),v=NR(T),A=new ai([new Qi("phase",v)],{width:"400em",height:Re(T/1e3),viewBox:"0 0 400000 "+T,preserveAspectRatio:"xMinYMin slice"});u=ee.makeSvgSpan(["hide-tail"],[A],t),u.style.height=Re(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 N=0,I=0,C=0;/box/.test(a)?(C=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),N=t.fontMetrics().fboxsep+(a==="colorbox"?0:C),I=N):a==="angl"?(C=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),N=4*C,I=Math.max(0,.25-n.depth)):(N=d?.2:0,I=N),u=si.encloseSpan(n,a,N,I,t),/fbox|boxed|fcolorbox/.test(a)?(u.style.borderStyle="solid",u.style.borderWidth=Re(C)):a==="angl"&&C!==.049&&(u.style.borderTopWidth=Re(C),u.style.borderRightWidth=Re(C)),o=n.depth+I,e.backgroundColor&&(u.style.backgroundColor=e.backgroundColor,e.borderColor&&(u.style.borderColor=e.borderColor))}var R;if(e.backgroundColor)R=ee.makeVList({positionType:"individualShift",children:[{type:"elem",elem:u,shift:o},{type:"elem",elem:n,shift:0}]},t);else{var P=/cancel|phase/.test(a)?["svg-align"]:[];R=ee.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:0},{type:"elem",elem:u,shift:o,wrapperClasses:P}]},t)}return/cancel/.test(a)&&(R.height=n.height,R.depth=n.depth),/cancel/.test(a)&&!d?ee.makeSpan(["mord","cancel-lap"],[R],t):ee.makeSpan(["mord"],[R],t)},qm=(e,t)=>{var n=0,a=new Ae.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,u=ht(t[0],"color-token").color,o=t[1];return{type:"enclose",mode:a.mode,label:s,backgroundColor:u,body:o}},htmlBuilder:Hm,mathmlBuilder:qm});ze({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,n){var{parser:a,funcName:s}=e,u=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:u,body:d}},htmlBuilder:Hm,mathmlBuilder:qm});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:Hm,mathmlBuilder:qm});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 m7={};function Ra(e){for(var{type:t,names:n,props:a,handler:s,htmlBuilder:u,mathmlBuilder:o}=e,d={type:t,numArgs:a.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:s},f=0;f<n.length;++f)m7[n[f]]=d;u&&(Ic[t]=u),o&&(Lc[t]=o)}var p7={};function O(e,t){p7[e]=t}function y3(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 rd=e=>{var t=e.parser.settings;if(!t.displayMode)throw new Ne("{"+e.envName+"} can be used only in display mode.")};function Ym(e){if(e.indexOf("ed")===-1)return e.indexOf("*")===-1}function es(e,t,n){var{hskipBeforeAndAfter:a,addJot:s,cols:u,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 Ne("Invalid \\arraystretch: "+v)}e.gullet.beginGroup();var A=[],N=[A],I=[],C=[],R=f!=null?[]:void 0;function P(){f&&e.gullet.macros.set("\\@eqnsw","1",!0)}function X(){R&&(e.gullet.macros.get("\\df@tag")?(R.push(e.subparse([new Jr("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):R.push(!!f&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(P(),C.push(y3(e));;){var q=e.parseExpression(!1,h?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),q={type:"ordgroup",mode:e.mode,body:q},n&&(q={type:"styling",mode:e.mode,style:n,body:[q]}),A.push(q);var L=e.fetch().text;if(L==="&"){if(b&&A.length===b){if(h||d)throw new Ne("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"){X(),A.length===1&&q.type==="styling"&&q.body[0].body.length===0&&(N.length>1||!p)&&N.pop(),C.length<N.length+1&&C.push([]);break}else if(L==="\\\\"){e.consume();var ne=void 0;e.gullet.future().text!==" "&&(ne=e.parseSizeGroup(!0)),I.push(ne?ne.value:null),X(),C.push(y3(e)),A=[],N.push(A),P()}else throw new Ne("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:N,cols:u,rowGaps:I,hskipBeforeAndAfter:a,hLinesBeforeRow:C,colSeparationType:d,tags:R,leqno:T}}function Gm(e){return e.slice(0,1)==="d"?"display":"text"}var Ma=function(t,n){var a,s,u=t.body.length,o=t.hLinesBeforeRow,d=0,f=new Array(u),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,N=3*b,I=t.arraystretch*A,C=.7*I,R=.3*I,P=0;function X(an){for(var kt=0;kt<an.length;++kt)kt>0&&(P+=.25),h.push({pos:P,isDashed:an[kt]})}for(X(o[0]),a=0;a<t.body.length;++a){var q=t.body[a],L=C,ne=R;d<q.length&&(d=q.length);var te=new Array(q.length);for(s=0;s<q.length;++s){var fe=Nt(q[s],n);ne<fe.depth&&(ne=fe.depth),L<fe.height&&(L=fe.height),te[s]=fe}var G=t.rowGaps[a],se=0;G&&(se=fn(G,n),se>0&&(se+=R,ne<se&&(ne=se),se=0)),t.addJot&&(ne+=N),te.height=L,te.depth=ne,P+=L,te.pos=P,P+=ne+se,f[a]=te,X(o[a+1])}var de=P/2+n.fontMetrics().axisHeight,ye=t.cols||[],ue=[],oe,K,le=[];if(t.tags&&t.tags.some(an=>an))for(a=0;a<u;++a){var me=f[a],Pe=me.pos-de,x=t.tags[a],ae=void 0;x===!0?ae=ee.makeSpan(["eqn-num"],[],n):x===!1?ae=ee.makeSpan([],[],n):ae=ee.makeSpan([],Dn(x,n,!0),n),ae.depth=me.depth,ae.height=me.height,le.push({type:"elem",elem:ae,shift:Pe})}for(s=0,K=0;s<d||K<ye.length;++s,++K){for(var pe=ye[K]||{},M=!0;pe.type==="separator";){if(M||(oe=ee.makeSpan(["arraycolsep"],[]),oe.style.width=Re(n.fontMetrics().doubleRuleSep),ue.push(oe)),pe.separator==="|"||pe.separator===":"){var Ie=pe.separator==="|"?"solid":"dashed",Ve=ee.makeSpan(["vertical-separator"],[],n);Ve.style.height=Re(P),Ve.style.borderRightWidth=Re(p),Ve.style.borderRightStyle=Ie,Ve.style.margin="0 "+Re(-p/2);var Ue=P-de;Ue&&(Ve.style.verticalAlign=Re(-Ue)),ue.push(Ve)}else throw new Ne("Invalid separator type: "+pe.separator);K++,pe=ye[K]||{},M=!1}if(!(s>=d)){var wt=void 0;(s>0||t.hskipBeforeAndAfter)&&(wt=Ze.deflt(pe.pregap,T),wt!==0&&(oe=ee.makeSpan(["arraycolsep"],[]),oe.style.width=Re(wt),ue.push(oe)));var st=[];for(a=0;a<u;++a){var Wt=f[a],Pt=Wt[s];if(Pt){var In=Wt.pos-de;Pt.depth=Wt.depth,Pt.height=Wt.height,st.push({type:"elem",elem:Pt,shift:In})}}st=ee.makeVList({positionType:"individualShift",children:st},n),st=ee.makeSpan(["col-align-"+(pe.align||"c")],[st]),ue.push(st),(s<d-1||t.hskipBeforeAndAfter)&&(wt=Ze.deflt(pe.postgap,T),wt!==0&&(oe=ee.makeSpan(["arraycolsep"],[]),oe.style.width=Re(wt),ue.push(oe)))}}if(f=ee.makeSpan(["mtable"],ue),h.length>0){for(var zr=ee.makeLineSpan("hline",n,p),vt=ee.makeLineSpan("hdashline",n,p),mt=[{type:"elem",elem:f,shift:0}];h.length>0;){var Ut=h.pop(),Ke=Ut.pos-de;Ut.isDashed?mt.push({type:"elem",elem:vt,shift:Ke}):mt.push({type:"elem",elem:zr,shift:Ke})}f=ee.makeVList({positionType:"individualShift",children:mt},n)}if(le.length===0)return ee.makeSpan(["mord"],[f],n);var xt=ee.makeVList({positionType:"individualShift",children:le},n);return xt=ee.makeSpan(["tag"],[xt],n),ee.makeFragment([f,xt])},BM={c:"center ",l:"left ",r:"right "},Da=function(t,n){for(var a=[],s=new Ae.MathNode("mtd",[],["mtr-glue"]),u=new Ae.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 Ae.MathNode("mtd",[jt(d[h],n)]));t.tags&&t.tags[o]&&(f.unshift(s),f.push(s),t.leqno?f.unshift(u):f.push(u)),a.push(new Ae.MathNode("mtr",f))}var p=new Ae.MathNode("mtable",a),b=t.arraystretch===.5?.1:.16+t.arraystretch-1+(t.addJot?.09:0);p.setAttribute("rowspacing",Re(b));var T="",v="";if(t.cols&&t.cols.length>0){var A=t.cols,N="",I=!1,C=0,R=A.length;A[0].type==="separator"&&(T+="top ",C=1),A[A.length-1].type==="separator"&&(T+="bottom ",R-=1);for(var P=C;P<R;P++)A[P].type==="align"?(v+=BM[A[P].align],I&&(N+="none "),I=!0):A[P].type==="separator"&&I&&(N+=A[P].separator==="|"?"solid ":"dashed ",I=!1);p.setAttribute("columnalign",v.trim()),/[sd]/.test(N)&&p.setAttribute("columnlines",N.trim())}if(t.colSeparationType==="align"){for(var X=t.cols||[],q="",L=1;L<X.length;L++)q+=L%2?"0em ":"1em ";p.setAttribute("columnspacing",q.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 ne="",te=t.hLinesBeforeRow;T+=te[0].length>0?"left ":"",T+=te[te.length-1].length>0?"right ":"";for(var fe=1;fe<te.length-1;fe++)ne+=te[fe].length===0?"none ":te[fe][0]?"dashed ":"solid ";return/[sd]/.test(ne)&&p.setAttribute("rowlines",ne.trim()),T!==""&&(p=new Ae.MathNode("menclose",[p]),p.setAttribute("notation",T.trim())),t.arraystretch&&t.arraystretch<1&&(p=new Ae.MathNode("mstyle",[p]),p.setAttribute("scriptlevel","1")),p},g7=function(t,n){t.envName.indexOf("ed")===-1&&rd(t);var a=[],s=t.envName.indexOf("at")>-1?"alignat":"align",u=t.envName==="split",o=es(t.parser,{cols:a,addJot:!0,autoTag:u?void 0:Ym(t.envName),emptySingleRow:!0,colSeparationType:s,maxNumCols:u?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(C){for(var R=1;R<C.length;R+=2){var P=ht(C[R],"styling"),X=ht(P.body[0],"ordgroup");X.body.unshift(h)}if(v)f<C.length&&(f=C.length);else{var q=C.length/2;if(d<q)throw new Ne("Too many math in a row: "+("expected "+d+", but got "+q),C[0])}});for(var A=0;A<f;++A){var N="r",I=0;A%2===1?N="l":A>0&&v&&(I=1),a[A]={type:"align",align:N,pregap:I,postgap:0}}return o.colSeparationType=v?"align":"alignat",o};Ra({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var n=ed(t[0]),a=n?[t[0]]:ht(t[0],"ordgroup").body,s=a.map(function(o){var d=Um(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 Ne("Unknown column alignment: "+f,o)}),u={cols:s,hskipBeforeAndAfter:!0,maxNumCols:s.length};return es(e.parser,u,Gm(e.envName))},htmlBuilder:Ma,mathmlBuilder:Da});Ra({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 Ne("Expected l or c or r",s.nextToken);s.consume(),s.consumeSpaces(),s.expect("]"),s.consume(),a.cols=[{type:"align",align:n}]}}var u=es(e.parser,a,Gm(e.envName)),o=Math.max(0,...u.body.map(d=>d.length));return u.cols=new Array(o).fill({type:"align",align:n}),t?{type:"leftright",mode:e.mode,body:[u],left:t[0],right:t[1],rightColor:void 0}:u},htmlBuilder:Ma,mathmlBuilder:Da});Ra({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t={arraystretch:.5},n=es(e.parser,t,"script");return n.colSeparationType="small",n},htmlBuilder:Ma,mathmlBuilder:Da});Ra({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var n=ed(t[0]),a=n?[t[0]]:ht(t[0],"ordgroup").body,s=a.map(function(o){var d=Um(o),f=d.text;if("lc".indexOf(f)!==-1)return{type:"align",align:f};throw new Ne("Unknown column alignment: "+f,o)});if(s.length>1)throw new Ne("{subarray} can contain only one column");var u={cols:s,hskipBeforeAndAfter:!1,arraystretch:.5};if(u=es(e.parser,u,"script"),u.body.length>0&&u.body[0].length>1)throw new Ne("{subarray} can contain only one column");return u},htmlBuilder:Ma,mathmlBuilder:Da});Ra({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=es(e.parser,t,Gm(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:Ma,mathmlBuilder:Da});Ra({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:g7,htmlBuilder:Ma,mathmlBuilder:Da});Ra({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){Ze.contains(["gather","gather*"],e.envName)&&rd(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Ym(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return es(e.parser,t,"display")},htmlBuilder:Ma,mathmlBuilder:Da});Ra({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:g7,htmlBuilder:Ma,mathmlBuilder:Da});Ra({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){rd(e);var t={autoTag:Ym(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return es(e.parser,t,"display")},htmlBuilder:Ma,mathmlBuilder:Da});Ra({type:"array",names:["CD"],props:{numArgs:0},handler(e){return rd(e),_M(e.parser)},htmlBuilder:Ma,mathmlBuilder:Da});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 Ne(e.funcName+" valid only within array environment")}});var v3=m7;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 Ne("Invalid environment name",s);for(var u="",o=0;o<s.body.length;++o)u+=ht(s.body[o],"textord").text;if(a==="\\begin"){if(!v3.hasOwnProperty(u))throw new Ne("No such environment: "+u,s);var d=v3[u],{args:f,optArgs:h}=n.parseArguments("\\begin{"+u+"}",d),p={mode:n.mode,envName:u,parser:n},b=d.handler(p,f,h);n.expect("\\end",!1);var T=n.nextToken,v=ht(n.parseFunction(),"environment");if(v.name!==u)throw new Ne("Mismatch: \\begin{"+u+"} matched by \\end{"+v.name+"}",T);return b}return{type:"environment",mode:n.mode,name:u,nameGroup:s}}});var b7=(e,t)=>{var n=e.font,a=t.withFont(n);return Nt(e.body,a)},E7=(e,t)=>{var n=e.font,a=t.withFont(n);return jt(e.body,a)},T3={"\\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=Bc(t[0]),u=a;return u in T3&&(u=T3[u]),{type:"font",mode:n.mode,font:u.slice(1),body:s}},htmlBuilder:b7,mathmlBuilder:E7});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:td(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:u}=n,o=n.parseExpression(!0,s),d="math"+a.slice(1);return{type:"font",mode:u,font:d,body:{type:"ordgroup",mode:n.mode,body:o}}},htmlBuilder:b7,mathmlBuilder:E7});var y7=(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},jm=(e,t)=>{var n=y7(e.size,t.style),a=n.fracNum(),s=n.fracDen(),u;u=t.havingStyle(a);var o=Nt(e.numer,u,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}u=t.havingStyle(s);var h=Nt(e.denom,u,t),p,b,T;e.hasBarLine?(e.barSize?(b=fn(e.barSize,t),p=ee.makeLineSpan("frac-line",t,b)):p=ee.makeLineSpan("frac-line",t),b=p.height,T=p.height):(p=null,b=0,T=t.fontMetrics().defaultRuleThickness);var v,A,N;n.size===et.DISPLAY.size||e.size==="display"?(v=t.fontMetrics().num1,b>0?A=3*T:A=7*T,N=t.fontMetrics().denom1):(b>0?(v=t.fontMetrics().num2,A=T):(v=t.fontMetrics().num3,A=3*T),N=t.fontMetrics().denom2);var I;if(p){var R=t.fontMetrics().axisHeight;v-o.depth-(R+.5*b)<A&&(v+=A-(v-o.depth-(R+.5*b))),R-.5*b-(h.height-N)<A&&(N+=A-(R-.5*b-(h.height-N)));var P=-(R-.5*b);I=ee.makeVList({positionType:"individualShift",children:[{type:"elem",elem:h,shift:N},{type:"elem",elem:p,shift:P},{type:"elem",elem:o,shift:-v}]},t)}else{var C=v-o.depth-(h.height-N);C<A&&(v+=.5*(A-C),N+=.5*(A-C)),I=ee.makeVList({positionType:"individualShift",children:[{type:"elem",elem:h,shift:N},{type:"elem",elem:o,shift:-v}]},t)}u=t.havingStyle(n),I.height*=u.sizeMultiplier/t.sizeMultiplier,I.depth*=u.sizeMultiplier/t.sizeMultiplier;var X;n.size===et.DISPLAY.size?X=t.fontMetrics().delim1:n.size===et.SCRIPTSCRIPT.size?X=t.havingStyle(et.SCRIPT).fontMetrics().delim2:X=t.fontMetrics().delim2;var q,L;return e.leftDelim==null?q=Eo(t,["mopen"]):q=ri.customSizedDelim(e.leftDelim,X,!0,t.havingStyle(n),e.mode,["mopen"]),e.continued?L=ee.makeSpan([]):e.rightDelim==null?L=Eo(t,["mclose"]):L=ri.customSizedDelim(e.rightDelim,X,!0,t.havingStyle(n),e.mode,["mclose"]),ee.makeSpan(["mord"].concat(u.sizingClasses(t)),[q,ee.makeSpan(["mfrac"],[I]),L],t)},Vm=(e,t)=>{var n=new Ae.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",Re(a))}var s=y7(e.size,t.style);if(s.size!==t.style.size){n=new Ae.MathNode("mstyle",[n]);var u=s.size===et.DISPLAY.size?"true":"false";n.setAttribute("displaystyle",u),n.setAttribute("scriptlevel","0")}if(e.leftDelim!=null||e.rightDelim!=null){var o=[];if(e.leftDelim!=null){var d=new Ae.MathNode("mo",[new Ae.TextNode(e.leftDelim.replace("\\",""))]);d.setAttribute("fence","true"),o.push(d)}if(o.push(n),e.rightDelim!=null){var f=new Ae.MathNode("mo",[new Ae.TextNode(e.rightDelim.replace("\\",""))]);f.setAttribute("fence","true"),o.push(f)}return Bm(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],u=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:u,hasBarLine:o,leftDelim:d,rightDelim:f,size:h,barSize:null}},htmlBuilder:jm,mathmlBuilder:Vm});ze({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{var{parser:n,funcName:a}=e,s=t[0],u=t[1];return{type:"genfrac",mode:n.mode,continued:!0,numer:s,denom:u,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 _3=["display","text","script","scriptscript"],S3=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],u=Bc(t[0]),o=u.type==="atom"&&u.family==="open"?S3(u.text):null,d=Bc(t[1]),f=d.type==="atom"&&d.family==="close"?S3(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=_3[Number(A.text)]}}else v=ht(v,"textord"),T=_3[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:jm,mathmlBuilder:Vm});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],u=fR(ht(t[1],"infix").size),o=t[2],d=u.number>0;return{type:"genfrac",mode:n.mode,numer:s,denom:o,continued:!1,hasBarLine:d,barSize:u,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:jm,mathmlBuilder:Vm});var v7=(e,t)=>{var n=t.style,a,s;e.type==="supsub"?(a=e.sup?Nt(e.sup,t.havingStyle(n.sup()),t):Nt(e.sub,t.havingStyle(n.sub()),t),s=ht(e.base,"horizBrace")):s=ht(e,"horizBrace");var u=Nt(s.base,t.havingBaseStyle(et.DISPLAY)),o=si.svgSpan(s,t),d;if(s.isOver?(d=ee.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:u},{type:"kern",size:.1},{type:"elem",elem:o}]},t),d.children[0].children[0].children[1].classes.push("svg-align")):(d=ee.makeVList({positionType:"bottom",positionData:u.depth+.1+o.height,children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:u}]},t),d.children[0].children[0].children[0].classes.push("svg-align")),a){var f=ee.makeSpan(["mord",s.isOver?"mover":"munder"],[d],t);s.isOver?d=ee.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:f},{type:"kern",size:.2},{type:"elem",elem:a}]},t):d=ee.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 ee.makeSpan(["mord",s.isOver?"mover":"munder"],[d],t)},PM=(e,t)=>{var n=si.mathMLnode(e.label);return new Ae.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:v7,mathmlBuilder:PM});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 ee.makeAnchor(e.href,[],n,t)},mathmlBuilder:(e,t)=>{var n=Zi(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=[],u=0;u<a.length;u++){var o=a[u];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 ee.makeFragment(n)},mathmlBuilder(e,t){return new Ae.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,u=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=u,d={command:"\\htmlClass",class:u};break;case"\\htmlId":f.id=u,d={command:"\\htmlId",id:u};break;case"\\htmlStyle":f.style=u,d={command:"\\htmlStyle",style:u};break;case"\\htmlData":{for(var h=u.split(","),p=0;p<h.length;p++){var b=h[p].split("=");if(b.length!==2)throw new Ne("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=ee.makeSpan(a,n,t);for(var u in e.attributes)u!=="class"&&e.attributes.hasOwnProperty(u)&&s.setAttribute(u,e.attributes[u]);return s},mathmlBuilder:(e,t)=>Zi(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 ee.makeFragment(n)},mathmlBuilder:(e,t)=>Zi(e.mathml,t)});var Zh=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 Ne("Invalid size: '"+t+"' in \\includegraphics");var a={number:+(n[1]+n[2]),unit:n[3]};if(!z5(a))throw new Ne("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"},u={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=Zh(T);break;case"height":u=Zh(T);break;case"totalheight":o=Zh(T);break;default:throw new Ne("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:u,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 u={height:Re(n+a)};s>0&&(u.width=Re(s)),a>0&&(u.verticalAlign=Re(-a));var o=new PR(e.src,e.alt,u);return o.height=n,o.depth=a,o},mathmlBuilder:(e,t)=>{var n=new Ae.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",Re(-s))),n.setAttribute("height",Re(a+s)),e.width.number>0){var u=fn(e.width,t);n.setAttribute("width",Re(u))}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 u=a[1]==="m",o=s.value.unit==="mu";u?(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 ee.makeGlue(e.dimension,t)},mathmlBuilder(e,t){var n=fn(e.dimension,t);return new Ae.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=ee.makeSpan([],[Nt(e.body,t)]),n=ee.makeSpan(["inner"],[n],t)):n=ee.makeSpan(["inner"],[Nt(e.body,t)]);var a=ee.makeSpan(["fix"],[]),s=ee.makeSpan([e.alignment],[n,a],t),u=ee.makeSpan(["strut"]);return u.style.height=Re(s.height+s.depth),s.depth&&(u.style.verticalAlign=Re(-s.depth)),s.children.unshift(u),s=ee.makeSpan(["thinbox"],[s],t),ee.makeSpan(["mord","vbox"],[s],t)},mathmlBuilder:(e,t)=>{var n=new Ae.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 u=n==="\\("?"\\)":"$",o=a.parseExpression(!1,u);return a.expect(u),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 Ne("Mismatched "+e.funcName)}});var x3=(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=x3(e,t),a=Dn(n,t,!1);return ee.makeFragment(a)},mathmlBuilder:(e,t)=>{var n=x3(e,t);return Zi(n,t)}});var T7=(e,t,n,a,s,u,o)=>{e=ee.makeSpan([],[e]);var d=n&&Ze.isCharacterBox(n),f,h;if(t){var p=Nt(t,a.havingStyle(s.sup()),a);h={elem:p,kern:Math.max(a.fontMetrics().bigOpSpacing1,a.fontMetrics().bigOpSpacing3-p.depth)}}if(n){var b=Nt(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=ee.makeVList({positionType:"bottom",positionData:v,children:[{type:"kern",size:a.fontMetrics().bigOpSpacing5},{type:"elem",elem:f.elem,marginLeft:Re(-u)},{type:"kern",size:f.kern},{type:"elem",elem:e},{type:"kern",size:h.kern},{type:"elem",elem:h.elem,marginLeft:Re(u)},{type:"kern",size:a.fontMetrics().bigOpSpacing5}]},a)}else if(f){var A=e.height-o;T=ee.makeVList({positionType:"top",positionData:A,children:[{type:"kern",size:a.fontMetrics().bigOpSpacing5},{type:"elem",elem:f.elem,marginLeft:Re(-u)},{type:"kern",size:f.kern},{type:"elem",elem:e}]},a)}else if(h){var N=e.depth+o;T=ee.makeVList({positionType:"bottom",positionData:N,children:[{type:"elem",elem:e},{type:"kern",size:h.kern},{type:"elem",elem:h.elem,marginLeft:Re(u)},{type:"kern",size:a.fontMetrics().bigOpSpacing5}]},a)}else return e;var I=[T];if(f&&u!==0&&!d){var C=ee.makeSpan(["mspace"],[],a);C.style.marginRight=Re(u),I.unshift(C)}return ee.makeSpan(["mop","op-limits"],I,a)},_7=["\\smallint"],ql=(e,t)=>{var n,a,s=!1,u;e.type==="supsub"?(n=e.sup,a=e.sub,u=ht(e.base,"op"),s=!0):u=ht(e,"op");var o=t.style,d=!1;o.size===et.DISPLAY.size&&u.symbol&&!Ze.contains(_7,u.name)&&(d=!0);var f;if(u.symbol){var h=d?"Size2-Regular":"Size1-Regular",p="";if((u.name==="\\oiint"||u.name==="\\oiiint")&&(p=u.name.slice(1),u.name=p==="oiint"?"\\iint":"\\iiint"),f=ee.makeSymbol(u.name,h,"math",t,["mop","op-symbol",d?"large-op":"small-op"]),p.length>0){var b=f.italic,T=ee.staticSvg(p+"Size"+(d?"2":"1"),t);f=ee.makeVList({positionType:"individualShift",children:[{type:"elem",elem:f,shift:0},{type:"elem",elem:T,shift:d?.08:0}]},t),u.name="\\"+p,f.classes.unshift("mop"),f.italic=b}}else if(u.body){var v=Dn(u.body,t,!0);v.length===1&&v[0]instanceof ea?(f=v[0],f.classes[0]="mop"):f=ee.makeSpan(["mop"],v,t)}else{for(var A=[],N=1;N<u.name.length;N++)A.push(ee.mathsym(u.name[N],u.mode,t));f=ee.makeSpan(["mop"],A,t)}var I=0,C=0;return(f instanceof ea||u.name==="\\oiint"||u.name==="\\oiiint")&&!u.suppressBaseShift&&(I=(f.height-f.depth)/2-t.fontMetrics().axisHeight,C=f.italic),s?T7(f,n,a,t,o,C,I):(I&&(f.style.position="relative",f.style.top=Re(I)),f)},Oo=(e,t)=>{var n;if(e.symbol)n=new Br("mo",[ta(e.name,e.mode)]),Ze.contains(_7,e.name)&&n.setAttribute("largeop","false");else if(e.body)n=new Br("mo",Tr(e.body,t));else{n=new Br("mi",[new ka(e.name.slice(1))]);var a=new Br("mo",[ta("","text")]);e.parentIsSupSub?n=new Br("mrow",[n,a]):n=W5([n,a])}return n},UM={"∏":"\\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=UM[s]),{type:"op",mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:s}},htmlBuilder:ql,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:ql,mathmlBuilder:Oo});var zM={"∫":"\\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:ql,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:ql,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=zM[a]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:a}},htmlBuilder:ql,mathmlBuilder:Oo});var S7=(e,t)=>{var n,a,s=!1,u;e.type==="supsub"?(n=e.sup,a=e.sub,u=ht(e.base,"operatorname"),s=!0):u=ht(e,"operatorname");var o;if(u.body.length>0){for(var d=u.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=ee.makeSpan(["mop"],f,t)}else o=ee.makeSpan(["mop"],[],t);return s?T7(o,n,a,t,t.style,0,0):o},FM=(e,t)=>{for(var n=Tr(e.body,t.withFont("mathrm")),a=!0,s=0;s<n.length;s++){var u=n[s];if(!(u instanceof Ae.SpaceNode))if(u instanceof Ae.MathNode)switch(u.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var o=u.children[0];u.children.length===1&&o instanceof Ae.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 Ae.TextNode(d)]}var f=new Ae.MathNode("mi",n);f.setAttribute("mathvariant","normal");var h=new Ae.MathNode("mo",[ta("","text")]);return e.parentIsSupSub?new Ae.MathNode("mrow",[f,h]):Ae.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:S7,mathmlBuilder:FM});O("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");Ls({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?ee.makeFragment(Dn(e.body,t,!1)):ee.makeSpan(["mord"],Dn(e.body,t,!0),t)},mathmlBuilder(e,t){return Zi(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=Nt(e.body,t.havingCrampedStyle()),a=ee.makeLineSpan("overline-line",t),s=t.fontMetrics().defaultRuleThickness,u=ee.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n},{type:"kern",size:3*s},{type:"elem",elem:a},{type:"kern",size:s}]},t);return ee.makeSpan(["mord","overline"],[u],t)},mathmlBuilder(e,t){var n=new Ae.MathNode("mo",[new Ae.TextNode("‾")]);n.setAttribute("stretchy","true");var a=new Ae.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 ee.makeFragment(n)},mathmlBuilder:(e,t)=>{var n=Tr(e.body,t);return new Ae.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=ee.makeSpan([],[Nt(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=ee.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},t),ee.makeSpan(["mord"],[n],t)},mathmlBuilder:(e,t)=>{var n=Tr(vn(e.body),t),a=new Ae.MathNode("mphantom",n),s=new Ae.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=ee.makeSpan(["inner"],[Nt(e.body,t.withPhantom())]),a=ee.makeSpan(["fix"],[]);return ee.makeSpan(["mord","rlap"],[n,a],t)},mathmlBuilder:(e,t)=>{var n=Tr(vn(e.body),t),a=new Ae.MathNode("mphantom",n),s=new Ae.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=Nt(e.body,t),a=fn(e.dy,t);return ee.makeVList({positionType:"shift",positionData:-a,children:[{type:"elem",elem:n}]},t)},mathmlBuilder(e,t){var n=new Ae.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],u=ht(t[0],"size"),o=ht(t[1],"size");return{type:"rule",mode:a.mode,shift:s&&ht(s,"size").value,width:u.value,height:o.value}},htmlBuilder(e,t){var n=ee.makeSpan(["mord","rule"],[],t),a=fn(e.width,t),s=fn(e.height,t),u=e.shift?fn(e.shift,t):0;return n.style.borderRightWidth=Re(a),n.style.borderTopWidth=Re(s),n.style.bottom=Re(u),n.width=a,n.height=s+u,n.depth=-u,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,u=t.color&&t.getColor()||"black",o=new Ae.MathNode("mspace");o.setAttribute("mathbackground",u),o.setAttribute("width",Re(n)),o.setAttribute("height",Re(a));var d=new Ae.MathNode("mpadded",[o]);return s>=0?d.setAttribute("height",Re(s)):(d.setAttribute("height",Re(s)),d.setAttribute("depth",Re(-s))),d.setAttribute("voffset",Re(s)),d}});function x7(e,t,n){for(var a=Dn(e,t,!1),s=t.sizeMultiplier/n.sizeMultiplier,u=0;u<a.length;u++){var o=a[u].classes.indexOf("sizing");o<0?Array.prototype.push.apply(a[u].classes,t.sizingClasses(n)):a[u].classes[o+1]==="reset-size"+t.size&&(a[u].classes[o+1]="reset-size"+n.size),a[u].height*=s,a[u].depth*=s}return ee.makeFragment(a)}var A3=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],HM=(e,t)=>{var n=t.havingSize(e.size);return x7(e.body,n,t)};ze({type:"sizing",names:A3,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:n,funcName:a,parser:s}=e,u=s.parseExpression(!1,n);return{type:"sizing",mode:s.mode,size:A3.indexOf(a)+1,body:u}},htmlBuilder:HM,mathmlBuilder:(e,t)=>{var n=t.havingSize(e.size),a=Tr(e.body,n),s=new Ae.MathNode("mstyle",a);return s.setAttribute("mathsize",Re(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,u=!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")u=!0;else{s=!1,u=!1;break}}else s=!0,u=!0;var p=t[0];return{type:"smash",mode:a.mode,body:p,smashHeight:s,smashDepth:u}},htmlBuilder:(e,t)=>{var n=ee.makeSpan([],[Nt(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 u=ee.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},t);return ee.makeSpan(["mord"],[u],t)},mathmlBuilder:(e,t)=>{var n=new Ae.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],u=t[0];return{type:"sqrt",mode:a.mode,body:u,index:s}},htmlBuilder(e,t){var n=Nt(e.body,t.havingCrampedStyle());n.height===0&&(n.height=t.fontMetrics().xHeight),n=ee.wrapFragment(n,t);var a=t.fontMetrics(),s=a.defaultRuleThickness,u=s;t.style.id<et.TEXT.id&&(u=t.fontMetrics().xHeight);var o=s+u/4,d=n.height+n.depth+o+s,{span:f,ruleWidth:h,advanceWidth:p}=ri.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=Re(p);var v=ee.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),N=Nt(e.index,A,t),I=.6*(v.height-v.depth),C=ee.makeVList({positionType:"shift",positionData:-I,children:[{type:"elem",elem:N}]},t),R=ee.makeSpan(["root"],[C]);return ee.makeSpan(["mord","sqrt"],[R,v],t)}else return ee.makeSpan(["mord","sqrt"],[v],t)},mathmlBuilder(e,t){var{body:n,index:a}=e;return a?new Ae.MathNode("mroot",[jt(n,t),jt(a,t)]):new Ae.MathNode("msqrt",[jt(n,t)])}});var w3={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,u=s.parseExpression(!0,n),o=a.slice(1,a.length-5);return{type:"styling",mode:s.mode,style:o,body:u}},htmlBuilder(e,t){var n=w3[e.style],a=t.havingStyle(n).withFont("");return x7(e.body,a,t)},mathmlBuilder(e,t){var n=w3[e.style],a=t.havingStyle(n),s=Tr(e.body,a),u=new Ae.MathNode("mstyle",s),o={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},d=o[e.style];return u.setAttribute("scriptlevel",d[0]),u.setAttribute("displaystyle",d[1]),u}});var qM=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?ql:null}else if(a.type==="operatorname"){var u=a.alwaysHandleSupSub&&(n.style.size===et.DISPLAY.size||a.limits);return u?S7:null}else{if(a.type==="accent")return Ze.isCharacterBox(a.base)?zm:null;if(a.type==="horizBrace"){var o=!t.sub;return o===a.isOver?v7:null}else return null}else return null};Ls({type:"supsub",htmlBuilder(e,t){var n=qM(e,t);if(n)return n(e,t);var{base:a,sup:s,sub:u}=e,o=Nt(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=Nt(s,v,t),T||(p=o.height-v.fontMetrics().supDrop*v.sizeMultiplier/t.sizeMultiplier)}if(u){var A=t.havingStyle(t.style.sub());f=Nt(u,A,t),T||(b=o.depth+A.fontMetrics().subDrop*A.sizeMultiplier/t.sizeMultiplier)}var N;t.style===et.DISPLAY?N=h.sup1:t.style.cramped?N=h.sup3:N=h.sup2;var I=t.sizeMultiplier,C=Re(.5/h.ptPerEm/I),R=null;if(f){var P=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(o instanceof ea||P)&&(R=Re(-o.italic))}var X;if(d&&f){p=Math.max(p,N,d.depth+.25*h.xHeight),b=Math.max(b,h.sub2);var q=h.defaultRuleThickness,L=4*q;if(p-d.depth-(f.height-b)<L){b=L-(p-d.depth)+f.height;var ne=.8*h.xHeight-(p-d.depth);ne>0&&(p+=ne,b-=ne)}var te=[{type:"elem",elem:f,shift:b,marginRight:C,marginLeft:R},{type:"elem",elem:d,shift:-p,marginRight:C}];X=ee.makeVList({positionType:"individualShift",children:te},t)}else if(f){b=Math.max(b,h.sub1,f.height-.8*h.xHeight);var fe=[{type:"elem",elem:f,marginLeft:R,marginRight:C}];X=ee.makeVList({positionType:"shift",positionData:b,children:fe},t)}else if(d)p=Math.max(p,N,d.depth+.25*h.xHeight),X=ee.makeVList({positionType:"shift",positionData:-p,children:[{type:"elem",elem:d,marginRight:C}]},t);else throw new Error("supsub must have either sup or sub.");var G=F1(o,"right")||"mord";return ee.makeSpan([G],[o,ee.makeSpan(["msupsub"],[X])],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 u=[jt(e.base,t)];e.sub&&u.push(jt(e.sub,t)),e.sup&&u.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 Ae.MathNode(o,u)}});Ls({type:"atom",htmlBuilder(e,t){return ee.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var n=new Ae.MathNode("mo",[ta(e.text,e.mode)]);if(e.family==="bin"){var a=Pm(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 A7={mi:"italic",mn:"normal",mtext:"normal"};Ls({type:"mathord",htmlBuilder(e,t){return ee.makeOrd(e,t,"mathord")},mathmlBuilder(e,t){var n=new Ae.MathNode("mi",[ta(e.text,e.mode,t)]),a=Pm(e,t)||"italic";return a!==A7[n.type]&&n.setAttribute("mathvariant",a),n}});Ls({type:"textord",htmlBuilder(e,t){return ee.makeOrd(e,t,"textord")},mathmlBuilder(e,t){var n=ta(e.text,e.mode,t),a=Pm(e,t)||"normal",s;return e.mode==="text"?s=new Ae.MathNode("mtext",[n]):/[0-9]/.test(e.text)?s=new Ae.MathNode("mn",[n]):e.text==="\\prime"?s=new Ae.MathNode("mo",[n]):s=new Ae.MathNode("mi",[n]),a!==A7[s.type]&&s.setAttribute("mathvariant",a),s}});var Jh={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},e1={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Ls({type:"spacing",htmlBuilder(e,t){if(e1.hasOwnProperty(e.text)){var n=e1[e.text].className||"";if(e.mode==="text"){var a=ee.makeOrd(e,t,"textord");return a.classes.push(n),a}else return ee.makeSpan(["mspace",n],[ee.mathsym(e.text,e.mode,t)],t)}else{if(Jh.hasOwnProperty(e.text))return ee.makeSpan(["mspace",Jh[e.text]],[],t);throw new Ne('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var n;if(e1.hasOwnProperty(e.text))n=new Ae.MathNode("mtext",[new Ae.TextNode(" ")]);else{if(Jh.hasOwnProperty(e.text))return new Ae.MathNode("mspace");throw new Ne('Unknown type of space "'+e.text+'"')}return n}});var N3=()=>{var e=new Ae.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};Ls({type:"tag",mathmlBuilder(e,t){var n=new Ae.MathNode("mtable",[new Ae.MathNode("mtr",[N3(),new Ae.MathNode("mtd",[Zi(e.body,t)]),N3(),new Ae.MathNode("mtd",[Zi(e.tag,t)])])]);return n.setAttribute("width","100%"),n}});var k3={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},C3={"\\textbf":"textbf","\\textmd":"textmd"},YM={"\\textit":"textit","\\textup":"textup"},O3=(e,t)=>{var n=e.font;if(n){if(k3[n])return t.withTextFontFamily(k3[n]);if(C3[n])return t.withTextFontWeight(C3[n]);if(n==="\\emph")return t.fontShape==="textit"?t.withTextFontShape("textup"):t.withTextFontShape("textit")}else return t;return t.withTextFontShape(YM[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=O3(e,t),a=Dn(e.body,n,!0);return ee.makeSpan(["mord","text"],a,n)},mathmlBuilder(e,t){var n=O3(e,t);return Zi(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=Nt(e.body,t),a=ee.makeLineSpan("underline-line",t),s=t.fontMetrics().defaultRuleThickness,u=ee.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 ee.makeSpan(["mord","underline"],[u],t)},mathmlBuilder(e,t){var n=new Ae.MathNode("mo",[new Ae.TextNode("‾")]);n.setAttribute("stretchy","true");var a=new Ae.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=Nt(e.body,t),a=t.fontMetrics().axisHeight,s=.5*(n.height-a-(n.depth+a));return ee.makeVList({positionType:"shift",positionData:s,children:[{type:"elem",elem:n}]},t)},mathmlBuilder(e,t){return new Ae.MathNode("mpadded",[jt(e.body,t)],["vcenter"])}});ze({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,n){throw new Ne("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var n=R3(e),a=[],s=t.havingStyle(t.style.text()),u=0;u<n.length;u++){var o=n[u];o==="~"&&(o="\\textasciitilde"),a.push(ee.makeSymbol(o,"Typewriter-Regular",e.mode,s,["mord","texttt"]))}return ee.makeSpan(["mord","text"].concat(s.sizingClasses(t)),ee.tryCombineChars(a),s)},mathmlBuilder(e,t){var n=new Ae.TextNode(R3(e)),a=new Ae.MathNode("mtext",[n]);return a.setAttribute("mathvariant","monospace"),a}});var R3=e=>e.body.replace(/ /g,e.star?"␣":" "),$i=$5,w7=`[ \r
|
|
340
|
+
]`,GM="\\\\[a-zA-Z@]+",jM="\\\\[^\uD800-\uDFFF]",VM="("+GM+")"+w7+"*",KM=`\\\\(
|
|
341
|
+
|[ \r ]+
|
|
342
|
+
?)[ \r ]*`,G1="[̀-ͯ]",$M=new RegExp(G1+"+$"),XM="("+w7+"+)|"+(KM+"|")+"([!-\\[\\]-‧-豈-]"+(G1+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(G1+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+VM)+("|"+jM+")");class M3{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(XM,"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 Ne("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 u=t.indexOf(`
|
|
343
|
+
`,this.tokenRegex.lastIndex);return u===-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=u+1,this.lex()}return new Jr(s,new Lr(this,n,this.tokenRegex.lastIndex))}}class WM{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 Ne("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 u=this.undefStack[this.undefStack.length-1];u&&!u.hasOwnProperty(t)&&(u[t]=this.current[t])}n==null?delete this.current[t]:this.current[t]=n}}var QM=p7;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 D3={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 Ne("\\char` missing argument");a=t.text.charCodeAt(0)}else n=10;if(n){if(a=D3[t.text],a==null||a>=n)throw new Ne("Invalid base-"+n+" digit "+t.text);for(var s;(s=D3[e.future().text])!=null&&s<n;)a*=n,a+=s,e.popToken()}return"\\@char{"+a+"}"});var Km=(e,t,n,a)=>{var s=e.consumeArg().tokens;if(s.length!==1)throw new Ne("\\newcommand's first argument must be a macro name");var u=s[0].text,o=e.isDefined(u);if(o&&!t)throw new Ne("\\newcommand{"+u+"} attempting to redefine "+(u+"; use \\renewcommand"));if(!o&&!n)throw new Ne("\\renewcommand{"+u+"} when command "+u+" 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 Ne("Invalid number of arguments: "+f);d=parseInt(f),s=e.consumeArg().tokens}return o&&a||e.macros.set(u,{tokens:s,numArgs:d}),""};O("\\newcommand",e=>Km(e,!1,!0,!1));O("\\renewcommand",e=>Km(e,!0,!1,!1));O("\\providecommand",e=>Km(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),$i[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 I3={",":"\\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 I3?t=I3[n]:(n.slice(0,4)==="\\not"||n in Xt.math&&Ze.contains(["bin","rel"],Xt.math[n].group))&&(t="\\dotsb"),t});var $m={")":!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 $m?"\\ldots\\,":"\\ldots"});O("\\dotsc",function(e){var t=e.future().text;return t in $m&&t!==","?"\\ldots\\,":"\\ldots"});O("\\cdots",function(e){var t=e.future().text;return t in $m?"\\@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 Ne("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 N7=Re(Na["Main-Regular"][84][1]-.7*Na["Main-Regular"][65][1]);O("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+N7+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");O("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+N7+"}{\\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 k7=e=>t=>{var n=t.consumeArg().tokens,a=t.consumeArg().tokens,s=t.consumeArg().tokens,u=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([...u,...h,...n]);return t.macros.endGroup(),{tokens:p.reverse(),numArgs:0}};O("\\bra@ket",k7(!1));O("\\bra@set",k7(!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 C7={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class ZM{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 WM(QM,n.macros),this.mode=a,this.stack=[]}feed(t){this.lexer=new M3(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(),u,o=0,d=0;do{if(u=this.popToken(),n.push(u),u.text==="{")++o;else if(u.text==="}"){if(--o,o===-1)throw new Ne("Extra }",u)}else if(u.text==="EOF")throw new Ne("Unexpected end of input in a macro argument, expected '"+(t&&a?t[d]:"}")+"'",u);if(t&&a)if((o===0||o===1&&t[d]==="{")&&u.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:u}}consumeArgs(t,n){if(n){if(n.length!==t+1)throw new Ne("The length of delimiters doesn't match the number of args!");for(var a=n[0],s=0;s<a.length;s++){var u=this.popToken();if(a[s]!==u.text)throw new Ne("Use of the macro doesn't match its definition",u)}}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 Ne("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 Ne("Undefined control sequence: "+a);return this.pushToken(n),!1}this.countExpansion(1);var u=s.tokens,o=this.consumeArgs(s.numArgs,s.delimiters);if(s.numArgs){u=u.slice();for(var d=u.length-1;d>=0;--d){var f=u[d];if(f.text==="#"){if(d===0)throw new Ne("Incomplete placeholder at end of macro body",f);if(f=u[--d],f.text==="#")u.splice(d+1,1);else if(/^[1-9]$/.test(f.text))u.splice(d,2,...o[+f.text-1]);else throw new Ne("Not a valid argument number",f)}}}return this.pushTokens(u),u.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 u=0;if(s.indexOf("#")!==-1)for(var o=s.replace(/##/g,"");o.indexOf("#"+(u+1))!==-1;)++u;for(var d=new M3(s,this.settings),f=[],h=d.lex();h.text!=="EOF";)f.push(h),h=d.lex();f.reverse();var p={tokens:f,numArgs:u};return p}return s}isDefined(t){return this.macros.has(t)||$i.hasOwnProperty(t)||Xt.math.hasOwnProperty(t)||Xt.text.hasOwnProperty(t)||C7.hasOwnProperty(t)}isExpandable(t){var n=this.macros.get(t);return n!=null?typeof n=="string"||typeof n=="function"||!n.unexpandable:$i.hasOwnProperty(t)&&!$i[t].primitive}}var L3=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,cc=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","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),t1={"́":{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"}},B3={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class ad{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 ZM(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 Ne("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(ad.endOfExpression.indexOf(s.text)!==-1||n&&s.text===n||t&&$i[s.text]&&$i[s.text].infix)break;var u=this.parseAtom(n);if(u){if(u.type==="internal")continue}else break;a.push(u)}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 Ne("only one infix operator per group",t[s].token);n=s,a=t[s].replaceWith}if(n!==-1&&a){var u,o,d=t.slice(0,n),f=t.slice(n+1);d.length===1&&d[0].type==="ordgroup"?u=d[0]:u={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,[u,t[n],o],[]):h=this.callFunction(a,[u,o],[]),[h]}else return t}handleSupSubscript(t){var n=this.fetch(),a=n.text;this.consume(),this.consumeSpaces();var s;do{var u;s=this.parseGroup(t)}while(((u=s)==null?void 0:u.type)==="internal");if(!s)throw new Ne("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},u={type:"color",mode:this.mode,color:this.settings.errorColor,body:[s]};return u}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 u=this.fetch();if(u.text==="\\limits"||u.text==="\\nolimits"){if(n&&n.type==="op"){var o=u.text==="\\limits";n.limits=o,n.alwaysHandleSupSub=!0}else if(n&&n.type==="operatorname")n.alwaysHandleSupSub&&(n.limits=u.text==="\\limits");else throw new Ne("Limit controls must follow a math operator",u);this.consume()}else if(u.text==="^"){if(a)throw new Ne("Double superscript",u);a=this.handleSupSubscript("superscript")}else if(u.text==="_"){if(s)throw new Ne("Double subscript",u);s=this.handleSupSubscript("subscript")}else if(u.text==="'"){if(a)throw new Ne("Double superscript",u);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(cc[u.text]){var h=L3.test(u.text),p=[];for(p.push(new Jr(cc[u.text])),this.consume();;){var b=this.fetch().text;if(!cc[b]||L3.test(b)!==h)break;p.unshift(new Jr(cc[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,u=$i[s];if(!u)return null;if(this.consume(),n&&n!=="atom"&&!u.allowedInArgument)throw new Ne("Got function '"+s+"' with no arguments"+(n?" as "+n:""),a);if(this.mode==="text"&&!u.allowedInText)throw new Ne("Can't use function '"+s+"' in text mode",a);if(this.mode==="math"&&u.allowedInMath===!1)throw new Ne("Can't use function '"+s+"' in math mode",a);var{args:o,optArgs:d}=this.parseArguments(s,u);return this.callFunction(s,o,d,a,t)}callFunction(t,n,a,s,u){var o={funcName:t,parser:this,token:s,breakOnTokenText:u},d=$i[t];if(d&&d.handler)return d.handler(o,n,a);throw new Ne("No function handler for "+t)}parseArguments(t,n){var a=n.numArgs+n.numOptionalArgs;if(a===0)return{args:[],optArgs:[]};for(var s=[],u=[],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&&u[0]==null)&&(d="primitive");var h=this.parseGroupOfType("argument to '"+t+"'",d,f);if(f)u.push(h);else if(h!=null)s.push(h);else throw new Ne("Null argument, please report this as a bug")}return{args:s,optArgs:u}}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 u=this.parseStringGroup("raw",a);return u!=null?{type:"raw",mode:"text",string:u.text}:null}case"primitive":{if(a)throw new Ne("A primitive argument cannot be optional");var o=this.parseGroup(t);if(o==null)throw new Ne("Expected group as "+t,this.fetch());return o}case"original":case null:case void 0:return this.parseArgumentGroup(a);default:throw new Ne("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="",u;(u=this.fetch()).text!=="EOF";)s+=u.text,this.consume();return this.consume(),a.text=s,a}parseRegexGroup(t,n){for(var a=this.fetch(),s=a,u="",o;(o=this.fetch()).text!=="EOF"&&t.test(u+o.text);)s=o,u+=s.text,this.consume();if(u==="")throw new Ne("Invalid "+n+": '"+a.text+"'",a);return a.range(s,u)}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 Ne("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 Ne("Invalid size: '"+n.text+"'",n);var u={number:+(s[1]+s[2]),unit:s[3]};if(!z5(u))throw new Ne("Invalid unit: '"+u.unit+"'",n);return{type:"size",mode:this.mode,value:u,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 u=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var o={type:"ordgroup",mode:this.mode,loc:a.loc,body:u};return n&&this.switchMode(s),o}parseGroup(t,n){var a=this.fetch(),s=a.text,u;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(),u={type:"ordgroup",mode:this.mode,loc:Lr.range(a,f),body:d,semisimple:s==="\\begingroup"||void 0}}else if(u=this.parseFunction(n,t)||this.parseSymbol(),u==null&&s[0]==="\\"&&!C7.hasOwnProperty(s)){if(this.settings.throwOnError)throw new Ne("Undefined control sequence: "+s,a);u=this.formatUnsupportedCmd(s),this.consume()}return u}formLigatures(t){for(var n=t.length-1,a=0;a<n;++a){var s=t[a],u=s.text;u==="-"&&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)),(u==="'"||u==="`")&&t[a+1].text===u&&(t.splice(a,2,{type:"textord",mode:"text",loc:Lr.range(s,t[a+1]),text:u+u}),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 Ne(`\\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}}B3.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=B3[n[0]]+n.slice(1));var u=$M.exec(n);u&&(n=n.substring(0,u.index),n==="i"?n="ı":n==="j"&&(n="ȷ"));var o;if(Xt[this.mode][n]){this.settings.strict&&this.mode==="math"&&z1.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(FR.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&&(U5(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(),u)for(var b=0;b<u[0].length;b++){var T=u[0][b];if(!t1[T])throw new Ne("Unknown accent ' "+T+"'",t);var v=t1[T][this.mode]||t1[T].text;if(!v)throw new Ne("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}}ad.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var Xm=function(t,n){if(!(typeof t=="string"||t instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var a=new ad(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 Ne("\\tag works only in display equations");s=[{type:"tag",mode:"text",body:s,tag:a.subparse([new Jr("\\df@tag")])}]}return s},O7=function(t,n,a){n.textContent="";var s=Wm(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."),O7=function(){throw new Ne("KaTeX doesn't work in quirks mode.")});var JM=function(t,n){var a=Wm(t,n).toMarkup();return a},eD=function(t,n){var a=new Rm(n);return Xm(t,a)},R7=function(t,n,a){if(a.throwOnError||!(t instanceof Ne))throw t;var s=ee.makeSpan(["katex-error"],[new ea(n)]);return s.setAttribute("title",t.toString()),s.setAttribute("style","color:"+a.errorColor),s},Wm=function(t,n){var a=new Rm(n);try{var s=Xm(t,a);return oM(s,t,a)}catch(u){return R7(u,t,a)}},tD=function(t,n){var a=new Rm(n);try{var s=Xm(t,a);return cM(s,t,a)}catch(u){return R7(u,t,a)}},nD="0.16.22",rD={Span:Co,Anchor:Im,SymbolNode:ea,SvgNode:ai,PathNode:Qi,LineNode:U1},P3={version:nD,render:O7,renderToString:JM,ParseError:Ne,SETTINGS_SCHEMA:vc,__parse:eD,__renderToDomTree:Wm,__renderToHTMLTree:tD,__setFontMetrics:MR,__defineSymbol:y,__defineFunction:ze,__defineMacro:O,__domTree:rD};const aD={},iD=[];function sD(e){const t=e||aD;return function(n,a){bm(n,"element",function(s,u){const o=Array.isArray(s.properties.className)?s.properties.className:iD,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=u[u.length-1],T=s;if(s.tagName==="code"&&d&&b&&b.type==="element"&&b.tagName==="pre"&&(T=b,b=u[u.length-2],p=!0),!b)return;const v=m5(T,{whitespace:"pre"});let A;try{A=P3.renderToString(v,{...t,displayMode:p,throwOnError:!0})}catch(I){const C=I,R=C.name.toLowerCase();a.message("Could not render math with KaTeX",{ancestors:[...u,s],cause:C,place:s.position,ruleId:R,source:"rehype-katex"});try{A=P3.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=nR(A).children);const N=b.children.indexOf(T);return b.children.splice(N,1,...A),$6})}}function lD(){return{enter:{mathFlow:e,mathFlowFenceMeta:t,mathText:u},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 u(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 uD(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(u,o,d,f){const h=u.value||"",p=d.createTracker(f),b="$".repeat(Math.max(tE(h,"$")+1,2)),T=d.enter("mathFlow");let v=p.move(b);if(u.meta){const A=d.enter("mathFlowMeta");v+=p.move(d.safe(u.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(u,o,d){let f=u.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 N=A.index;f.codePointAt(N)===10&&f.codePointAt(N-1)===13&&N--,f=f.slice(0,N)+" "+f.slice(A.index+1)}}return p+f+p}function s(){return"$"}}const oD={tokenize:cD,concrete:!0,name:"mathFlow"},U3={tokenize:dD,partial:!0};function cD(e,t,n){const a=this,s=a.events[a.events.length-1],u=s&&s[1].type==="linePrefix"?s[2].sliceSerialize(s[1],!0).length:0;let o=0;return d;function d(R){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),f(R)}function f(R){return R===36?(e.consume(R),o++,f):o<2?n(R):(e.exit("mathFlowFenceSequence"),yt(e,h,"whitespace")(R))}function h(R){return R===null||je(R)?b(R):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),p(R))}function p(R){return R===null||je(R)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),b(R)):R===36?n(R):(e.consume(R),p)}function b(R){return e.exit("mathFlowFence"),a.interrupt?t(R):e.attempt(U3,T,I)(R)}function T(R){return e.attempt({tokenize:C,partial:!0},I,v)(R)}function v(R){return(u?yt(e,A,"linePrefix",u+1):A)(R)}function A(R){return R===null?I(R):je(R)?e.attempt(U3,T,I)(R):(e.enter("mathFlowValue"),N(R))}function N(R){return R===null||je(R)?(e.exit("mathFlowValue"),A(R)):(e.consume(R),N)}function I(R){return e.exit("mathFlow"),t(R)}function C(R,P,X){let q=0;return yt(R,L,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function L(fe){return R.enter("mathFlowFence"),R.enter("mathFlowFenceSequence"),ne(fe)}function ne(fe){return fe===36?(q++,R.consume(fe),ne):q<o?X(fe):(R.exit("mathFlowFenceSequence"),yt(R,te,"whitespace")(fe))}function te(fe){return fe===null||je(fe)?(R.exit("mathFlowFence"),P(fe)):X(fe)}}}function dD(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"),u)}function u(o){return a.parser.lazy[a.now().line]?n(o):t(o)}}function fD(e){let n=(e||{}).singleDollarTextMath;return n==null&&(n=!0),{tokenize:a,resolve:hD,previous:mD,name:"mathText"};function a(s,u,o){let d=0,f,h;return p;function p(N){return s.enter("mathText"),s.enter("mathTextSequence"),b(N)}function b(N){return N===36?(s.consume(N),d++,b):d<2&&!n?o(N):(s.exit("mathTextSequence"),T(N))}function T(N){return N===null?o(N):N===36?(h=s.enter("mathTextSequence"),f=0,A(N)):N===32?(s.enter("space"),s.consume(N),s.exit("space"),T):je(N)?(s.enter("lineEnding"),s.consume(N),s.exit("lineEnding"),T):(s.enter("mathTextData"),v(N))}function v(N){return N===null||N===32||N===36||je(N)?(s.exit("mathTextData"),T(N)):(s.consume(N),v)}function A(N){return N===36?(s.consume(N),f++,A):f===d?(s.exit("mathTextSequence"),s.exit("mathText"),u(N)):(h.type="mathTextData",v(N))}}}function hD(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 mD(e){return e!==36||this.events[this.events.length-1][1].type==="characterEscape"}function pD(e){return{flow:{36:oD},text:{36:fD(e)}}}const gD={};function bD(e){const t=this,n=e||gD,a=t.data(),s=a.micromarkExtensions||(a.micromarkExtensions=[]),u=a.fromMarkdownExtensions||(a.fromMarkdownExtensions=[]),o=a.toMarkdownExtensions||(a.toMarkdownExtensions=[]);s.push(pD(n)),u.push(lD()),o.push(uD(n))}var ED=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 M7({packageName:e,customMessages:t}){let n=e;const a={...ED,...t};function s(u,o){if(!o)return`${n}: ${u}`;let d=u;const f=u.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:u}){return typeof u=="string"&&(n=u),this},setMessages({customMessages:u}){return Object.assign(a,u||{}),this},throwInvalidPublishableKeyError(u){throw new Error(s(a.InvalidPublishableKeyErrorMessage,u))},throwInvalidProxyUrl(u){throw new Error(s(a.InvalidProxyUrlErrorMessage,u))},throwMissingPublishableKeyError(){throw new Error(s(a.MissingPublishableKeyErrorMessage))},throwMissingSecretKeyError(){throw new Error(s(a.MissingSecretKeyErrorMessage))},throwMissingClerkProviderError(u){throw new Error(s(a.MissingClerkProvider,u))},throw(u){throw new Error(s(u))}}}var D7=Object.defineProperty,yD=Object.getOwnPropertyDescriptor,vD=Object.getOwnPropertyNames,TD=Object.prototype.hasOwnProperty,_D=(e,t)=>{for(var n in t)D7(e,n,{get:t[n],enumerable:!0})},SD=(e,t,n,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of vD(t))!TD.call(e,s)&&s!==n&&D7(e,s,{get:()=>t[s],enumerable:!(a=yD(t,s))||a.enumerable});return e},xD=(e,t,n)=>(SD(e,t,"default"),n),I7=e=>typeof atob<"u"&&typeof atob=="function"?atob(e):typeof global<"u"&&global.Buffer?new global.Buffer(e,"base64").toString():e,AD=[".lcl.dev",".stg.dev",".lclstage.dev",".stgstage.dev",".dev.lclclerk.com",".stg.lclclerk.com",".accounts.lclclerk.com","accountsstage.dev","accounts.dev"],L7="pk_live_",wD="pk_test_";function z3(e,t={}){if(e=e||"",!e||!F3(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&&!F3(e))throw new Error("Publishable key not valid.");return null}const n=e.startsWith(L7)?"production":"development";let a=I7(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 F3(e=""){try{const t=e.startsWith(L7)||e.startsWith(wD),n=I7(e.split("_")[2]||"").endsWith("$");return t&&n}catch{return!1}}function ND(){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=AD.some(s=>n.endsWith(s)),e.set(n,a)),a}}}var n1={exports:{}},r1={};/**
|
|
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 H3;function kD(){if(H3)return r1;H3=1;var e=Hc();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,u=e.useLayoutEffect,o=e.useDebugValue;function d(b,T){var v=T(),A=a({inst:{value:v,getSnapshot:T}}),N=A[0].inst,I=A[1];return u(function(){N.value=v,N.getSnapshot=T,f(N)&&I({inst:N})},[b,v,T]),s(function(){return f(N)&&I({inst:N}),b(function(){f(N)&&I({inst:N})})},[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 r1.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:p,r1}var q3;function CD(){return q3||(q3=1,n1.exports=kD()),n1.exports}var B7=CD();const P7=0,U7=1,z7=2,Y3=3;var G3=Object.prototype.hasOwnProperty;function j1(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--&&j1(e[a],t[a]););return a===-1}if(!n||typeof e=="object"){a=0;for(n in e)if(G3.call(e,n)&&++a&&!G3.call(t,n)||!(n in t)||!j1(e[n],t[n]))return!1;return Object.keys(t).length===a}}return e!==e&&t!==t}const fa=new WeakMap,Xi=()=>{},Mn=Xi(),Pc=Object,pt=e=>e===Mn,Qr=e=>typeof e=="function",li=(e,t)=>({...e,...t}),F7=e=>Qr(e.then),a1={},dc={},Qm="undefined",Ro=typeof window!=Qm,V1=typeof document!=Qm,OD=Ro&&"Deno"in window,RD=()=>Ro&&typeof window.requestAnimationFrame!=Qm,ji=(e,t)=>{const n=fa.get(e);return[()=>!pt(t)&&e.get(t)||a1,a=>{if(!pt(t)){const s=e.get(t);t in dc||(dc[t]=s),n[5](t,li(s,a),s||a1)}},n[6],()=>!pt(t)&&t in dc?dc[t]:!pt(t)&&e.get(t)||a1]};let K1=!0;const MD=()=>K1,[$1,X1]=Ro&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[Xi,Xi],DD=()=>{const e=V1&&document.visibilityState;return pt(e)||e!=="hidden"},ID=e=>(V1&&document.addEventListener("visibilitychange",e),$1("focus",e),()=>{V1&&document.removeEventListener("visibilitychange",e),X1("focus",e)}),LD=e=>{const t=()=>{K1=!0,e()},n=()=>{K1=!1};return $1("online",t),$1("offline",n),()=>{X1("online",t),X1("offline",n)}},BD={isOnline:MD,isVisible:DD},PD={initFocus:ID,initReconnect:LD},j3=!we.useId,yo=!Ro||OD,UD=e=>RD()?window.requestAnimationFrame(e):setTimeout(e,1),oo=yo?Le.useEffect:Le.useLayoutEffect,i1=typeof navigator<"u"&&navigator.connection,V3=!yo&&i1&&(["slow-2g","2g"].includes(i1.effectiveType)||i1.saveData),fc=new WeakMap,s1=(e,t)=>Pc.prototype.toString.call(e)===`[object ${t}]`;let zD=0;const W1=e=>{const t=typeof e,n=s1(e,"Date"),a=s1(e,"RegExp"),s=s1(e,"Object");let u,o;if(Pc(e)===e&&!n&&!a){if(u=fc.get(e),u)return u;if(u=++zD+"~",fc.set(e,u),Array.isArray(e)){for(u="@",o=0;o<e.length;o++)u+=W1(e[o])+",";fc.set(e,u)}if(s){u="#";const d=Pc.keys(e).sort();for(;!pt(o=d.pop());)pt(e[o])||(u+=o+":"+W1(e[o])+",");fc.set(e,u)}}else u=n?e.toJSON():t=="symbol"?e.toString():t=="string"?JSON.stringify(e):""+e;return u},Dl=e=>{if(Qr(e))try{e=e()}catch{e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?W1(e):"",[e,t]};let FD=0;const Q1=()=>++FD;async function H7(...e){const[t,n,a,s]=e,u=li({populateCache:!0,throwOnError:!0},typeof s=="boolean"?{revalidate:s}:s||{});let o=u.populateCache;const d=u.rollbackOnError;let f=u.optimisticData;const h=T=>typeof d=="function"?d(T):d!==!1,p=u.throwOnError;if(Qr(n)){const T=n,v=[],A=t.keys();for(const N of A)!/^\$(inf|sub)\$/.test(N)&&T(t.get(N)._k)&&v.push(N);return Promise.all(v.map(b))}return b(n);async function b(T){const[v]=Dl(T);if(!v)return;const[A,N]=ji(t,v),[I,C,R,P]=fa.get(t),X=()=>{const ye=I[v];return(Qr(u.revalidate)?u.revalidate(A().data,T):u.revalidate!==!1)&&(delete R[v],delete P[v],ye&&ye[0])?ye[0](z7).then(()=>A().data):A().data};if(e.length<3)return X();let q=a,L;const ne=Q1();C[v]=[ne,0];const te=!pt(f),fe=A(),G=fe.data,se=fe._c,de=pt(se)?G:se;if(te&&(f=Qr(f)?f(de,G):f,N({data:f,_c:de})),Qr(q))try{q=q(de)}catch(ye){L=ye}if(q&&F7(q))if(q=await q.catch(ye=>{L=ye}),ne!==C[v][0]){if(L)throw L;return q}else L&&te&&h(L)&&(o=!0,N({data:de,_c:Mn}));if(o&&!L)if(Qr(o)){const ye=o(q,de);N({data:ye,error:Mn,_c:Mn})}else N({data:q,error:Mn,_c:Mn});if(C[v][1]=Q1(),Promise.resolve(X()).then(()=>{N({_c:Mn})}),L){if(p)throw L;return}return q}}const K3=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},q7=(e,t)=>{if(!fa.has(e)){const n=li(PD,t),a=Object.create(null),s=H7.bind(Mn,e);let u=Xi;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]),!yo)){const p=n.initFocus(setTimeout.bind(Mn,K3.bind(Mn,a,P7))),b=n.initReconnect(setTimeout.bind(Mn,K3.bind(Mn,a,U7)));u=()=>{p&&p(),b&&b(),fa.delete(e)}}};return h(),[e,s,h,u]}return[e,fa.get(e)[4]]},HD=(e,t,n,a,s)=>{const u=n.errorRetryCount,o=s.retryCount,d=~~((Math.random()+.5)*(1<<(o<8?o:8)))*n.errorRetryInterval;!pt(u)&&o>u||setTimeout(a,d,s)},qD=j1,[Mo,Y7]=q7(new Map),G7=li({onLoadingSlow:Xi,onSuccess:Xi,onError:Xi,onErrorRetry:HD,onDiscarded:Xi,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:V3?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:V3?5e3:3e3,compare:qD,isPaused:()=>!1,cache:Mo,mutate:Y7,fallback:{}},BD),j7=(e,t)=>{const n=li(e,t);if(t){const{use:a,fallback:s}=e,{use:u,fallback:o}=t;a&&u&&(n.use=a.concat(u)),s&&o&&(n.fallback=li(s,o))}return n},Z1=Le.createContext({}),YD=e=>{const{value:t}=e,n=Le.useContext(Z1),a=Qr(t),s=Le.useMemo(()=>a?t(n):t,[a,n,t]),u=Le.useMemo(()=>a?s:j7(n,s),[a,n,s]),o=s&&s.provider,d=Le.useRef(Mn);o&&!d.current&&(d.current=q7(o(u.cache||Mo),s));const f=d.current;return f&&(u.cache=f[0],u.mutate=f[1]),oo(()=>{if(f)return f[2]&&f[2](),f[3]},[]),Le.createElement(Z1.Provider,li(e,{value:u}))},V7="$inf$",K7=Ro&&window.__SWR_DEVTOOLS_USE__,GD=K7?window.__SWR_DEVTOOLS_USE__:[],jD=()=>{K7&&(window.__SWR_DEVTOOLS_REACT__=we)},$7=e=>Qr(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}],X7=()=>li(G7,Le.useContext(Z1)),VD=(e,t)=>{const[n,a]=Dl(e),[,,,s]=fa.get(Mo);if(s[n])return s[n];const u=t(a);return s[n]=u,u},KD=e=>(t,n,a)=>e(t,n&&((...u)=>{const[o]=Dl(t),[,,,d]=fa.get(Mo);if(o.startsWith(V7))return n(...u);const f=d[o];return pt(f)?n(...u):(delete d[o],f)}),a),$D=GD.concat(KD),XD=e=>function(...n){const a=X7(),[s,u,o]=$7(n),d=j7(a,o);let f=e;const{use:h}=d,p=(h||[]).concat($D);for(let b=p.length;b--;)f=p[b](f);return f(s,u||d.fetcher||null,d)},WD=(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())}},QD=(e,t)=>(...n)=>{const[a,s,u]=$7(n),o=(u.use||[]).concat(t);return e(a,s,{...u,use:o})};jD();const ZD=()=>{},JD=ZD(),J1=Object,$3=e=>e===JD,eI=e=>typeof e=="function",hc=new WeakMap,l1=(e,t)=>J1.prototype.toString.call(e)===`[object ${t}]`;let tI=0;const em=e=>{const t=typeof e,n=l1(e,"Date"),a=l1(e,"RegExp"),s=l1(e,"Object");let u,o;if(J1(e)===e&&!n&&!a){if(u=hc.get(e),u)return u;if(u=++tI+"~",hc.set(e,u),Array.isArray(e)){for(u="@",o=0;o<e.length;o++)u+=em(e[o])+",";hc.set(e,u)}if(s){u="#";const d=J1.keys(e).sort();for(;!$3(o=d.pop());)$3(e[o])||(u+=o+":"+em(e[o])+",");hc.set(e,u)}}else u=n?e.toJSON():t=="symbol"?e.toString():t=="string"?JSON.stringify(e):""+e;return u},nI=e=>{if(eI(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]},rI=e=>nI(e)[0],u1=we.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}}),o1={dedupe:!0},aI=(e,t,n)=>{const{cache:a,compare:s,suspense:u,fallbackData:o,revalidateOnMount:d,revalidateIfStale:f,refreshInterval:h,refreshWhenHidden:p,refreshWhenOffline:b,keepPreviousData:T}=n,[v,A,N,I]=fa.get(a),[C,R]=Dl(e),P=Le.useRef(!1),X=Le.useRef(!1),q=Le.useRef(C),L=Le.useRef(t),ne=Le.useRef(n),te=()=>ne.current,fe=()=>te().isVisible()&&te().isOnline(),[G,se,de,ye]=ji(a,C),ue=Le.useRef({}).current,oe=pt(o)?pt(n.fallback)?Mn:n.fallback[C]:o,K=(vt,mt)=>{for(const Ut in ue){const Ke=Ut;if(Ke==="data"){if(!s(vt[Ke],mt[Ke])&&(!pt(vt[Ke])||!s(Ve,mt[Ke])))return!1}else if(mt[Ke]!==vt[Ke])return!1}return!0},le=Le.useMemo(()=>{const vt=!C||!t?!1:pt(d)?te().isPaused()||u?!1:f!==!1:d,mt=Zt=>{const Ln=li(Zt);return delete Ln._k,vt?{isValidating:!0,isLoading:!0,...Ln}:Ln},Ut=G(),Ke=ye(),xt=mt(Ut),an=Ut===Ke?xt:mt(Ke);let kt=xt;return[()=>{const Zt=mt(G());return K(Zt,kt)?(kt.data=Zt.data,kt.isLoading=Zt.isLoading,kt.isValidating=Zt.isValidating,kt.error=Zt.error,kt):(kt=Zt,Zt)},()=>an]},[a,C]),me=B7.useSyncExternalStore(Le.useCallback(vt=>de(C,(mt,Ut)=>{K(Ut,mt)||vt()}),[a,C]),le[0],le[1]),Pe=!P.current,x=v[C]&&v[C].length>0,ae=me.data,pe=pt(ae)?oe&&F7(oe)?u1(oe):oe:ae,M=me.error,Ie=Le.useRef(pe),Ve=T?pt(ae)?pt(Ie.current)?pe:Ie.current:ae:pe,Ue=x&&!pt(M)?!1:Pe&&!pt(d)?d:te().isPaused()?!1:u?pt(pe)?!1:f:pt(pe)||f,wt=!!(C&&t&&Pe&&Ue),st=pt(me.isValidating)?wt:me.isValidating,Wt=pt(me.isLoading)?wt:me.isLoading,Pt=Le.useCallback(async vt=>{const mt=L.current;if(!C||!mt||X.current||te().isPaused())return!1;let Ut,Ke,xt=!0;const an=vt||{},kt=!N[C]||!an.dedupe,Zt=()=>j3?!X.current&&C===q.current&&P.current:C===q.current,Ln={isValidating:!1,isLoading:!1},ci=()=>{se(Ln)},pa=()=>{const Cn=N[C];Cn&&Cn[1]===Ke&&delete N[C]},cr={isValidating:!0};pt(G().data)&&(cr.isLoading=!0);try{if(kt&&(se(cr),n.loadingTimeout&&pt(G().data)&&setTimeout(()=>{xt&&Zt()&&te().onLoadingSlow(C,n)},n.loadingTimeout),N[C]=[mt(R),Q1()]),[Ut,Ke]=N[C],Ut=await Ut,kt&&setTimeout(pa,n.dedupingInterval),!N[C]||N[C][1]!==Ke)return kt&&Zt()&&te().onDiscarded(C),!1;Ln.error=Mn;const Cn=A[C];if(!pt(Cn)&&(Ke<=Cn[0]||Ke<=Cn[1]||Cn[1]===0))return ci(),kt&&Zt()&&te().onDiscarded(C),!1;const ce=G().data;Ln.data=s(ce,Ut)?ce:Ut,kt&&Zt()&&te().onSuccess(Ut,C,n)}catch(Cn){pa();const ce=te(),{shouldRetryOnError:_e}=ce;ce.isPaused()||(Ln.error=Cn,kt&&Zt()&&(ce.onError(Cn,C,ce),(_e===!0||Qr(_e)&&_e(Cn))&&(!te().revalidateOnFocus||!te().revalidateOnReconnect||fe())&&ce.onErrorRetry(Cn,C,ce,$e=>{const Qe=v[C];Qe&&Qe[0]&&Qe[0](Y3,$e)},{retryCount:(an.retryCount||0)+1,dedupe:!0})))}return xt=!1,ci(),!0},[C,a]),In=Le.useCallback((...vt)=>H7(a,q.current,...vt),[]);if(oo(()=>{L.current=t,ne.current=n,pt(ae)||(Ie.current=ae)}),oo(()=>{if(!C)return;const vt=Pt.bind(Mn,o1);let mt=0;te().revalidateOnFocus&&(mt=Date.now()+te().focusThrottleInterval);const Ke=WD(C,v,(xt,an={})=>{if(xt==P7){const kt=Date.now();te().revalidateOnFocus&&kt>mt&&fe()&&(mt=kt+te().focusThrottleInterval,vt())}else if(xt==U7)te().revalidateOnReconnect&&fe()&&vt();else{if(xt==z7)return Pt();if(xt==Y3)return Pt(an)}});return X.current=!1,q.current=C,P.current=!0,se({_k:R}),Ue&&(pt(pe)||yo?vt():UD(vt)),()=>{X.current=!0,Ke()}},[C]),oo(()=>{let vt;function mt(){const Ke=Qr(h)?h(G().data):h;Ke&&vt!==-1&&(vt=setTimeout(Ut,Ke))}function Ut(){!G().error&&(p||te().isVisible())&&(b||te().isOnline())?Pt(o1).then(mt):mt()}return mt(),()=>{vt&&(clearTimeout(vt),vt=-1)}},[h,p,b,C]),Le.useDebugValue(Ve),u&&pt(pe)&&C){if(!j3&&yo)throw new Error("Fallback data is required when using Suspense in SSR.");L.current=t,ne.current=n,X.current=!1;const vt=I[C];if(!pt(vt)){const mt=In(vt);u1(mt)}if(pt(M)){const mt=Pt(o1);pt(Ve)||(mt.status="fulfilled",mt.value=!0),u1(mt)}else throw M}return{mutate:In,get data(){return ue.data=!0,Ve},get error(){return ue.error=!0,M},get isValidating(){return ue.isValidating=!0,st},get isLoading(){return ue.isLoading=!0,Wt}}},iI=Pc.defineProperty(YD,"defaultValue",{value:G7}),Zm=XD(aI),sI=Object.freeze(Object.defineProperty({__proto__:null,SWRConfig:iI,default:Zm,mutate:Y7,preload:VD,unstable_serialize:rI,useSWRConfig:X7},Symbol.toStringTag,{value:"Module"})),lI=()=>{},uI=lI(),tm=Object,X3=e=>e===uI,oI=e=>typeof e=="function",mc=new WeakMap,c1=(e,t)=>tm.prototype.toString.call(e)===`[object ${t}]`;let cI=0;const nm=e=>{const t=typeof e,n=c1(e,"Date"),a=c1(e,"RegExp"),s=c1(e,"Object");let u,o;if(tm(e)===e&&!n&&!a){if(u=mc.get(e),u)return u;if(u=++cI+"~",mc.set(e,u),Array.isArray(e)){for(u="@",o=0;o<e.length;o++)u+=nm(e[o])+",";mc.set(e,u)}if(s){u="#";const d=tm.keys(e).sort();for(;!X3(o=d.pop());)X3(e[o])||(u+=o+":"+nm(e[o])+",");mc.set(e,u)}}else u=n?e.toJSON():t=="symbol"?e.toString():t=="string"?JSON.stringify(e):""+e;return u},dI=e=>{if(oI(e))try{e=e()}catch{e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?nm(e):"",[e,t]},fI=e=>dI(e?e(0,null):null)[0],d1=Promise.resolve(),hI=e=>(t,n,a)=>{const s=Le.useRef(!1),{cache:u,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=fI(t),v&&(v=V7+v)}catch{}const[A,N,I]=ji(u,v),C=Le.useCallback(()=>pt(A()._l)?o:A()._l,[u,v,o]);B7.useSyncExternalStore(Le.useCallback(te=>v?I(v,()=>{te()}):()=>{},[u,v]),C,C);const R=Le.useCallback(()=>{const te=A()._l;return pt(te)?o:te},[v,o]),P=Le.useRef(R());oo(()=>{if(!s.current){s.current=!0;return}v&&N({_l:f?P.current:R()})},[v,u]);const X=p&&!s.current,q=e(v,async te=>{const fe=A()._i,G=A()._r;N({_r:Mn});const se=[],de=R(),[ye]=ji(u,te),ue=ye().data,oe=[];let K=null;for(let le=0;le<de;++le){const[me,Pe]=Dl(t(le,b?null:K));if(!me)break;const[x,ae]=ji(u,me);let pe=x().data;const M=d||fe||pt(pe)||h&&!le&&!pt(ue)||X||ue&&!pt(ue[le])&&!a.compare(ue[le],pe);if(n&&(typeof G=="function"?G(pe,Pe):M)){const Ie=async()=>{if(!(me in T))pe=await n(Pe);else{const Ue=T[me];delete T[me],pe=await Ue}ae({data:pe,_k:Pe}),se[le]=pe};b?oe.push(Ie):await Ie()}else se[le]=pe;b||(K=pe)}return b&&await Promise.all(oe.map(le=>le())),N({_i:Mn}),se},a),L=Le.useCallback(function(te,fe){const G=typeof fe=="boolean"?{revalidate:fe}:fe||{},se=G.revalidate!==!1;return v?(se&&(pt(te)?N({_i:!0,_r:G.revalidate}):N({_i:!1,_r:G.revalidate})),arguments.length?q.mutate(te,{...G,revalidate:se}):q.mutate()):d1},[v,u]),ne=Le.useCallback(te=>{if(!v)return d1;const[,fe]=ji(u,v);let G;if(Qr(te)?G=te(R()):typeof te=="number"&&(G=te),typeof G!="number")return d1;fe({_l:G}),P.current=G;const se=[],[de]=ji(u,v);let ye=null;for(let ue=0;ue<G;++ue){const[oe]=Dl(t(ue,ye)),[K]=ji(u,oe),le=oe?K().data:Mn;if(pt(le))return L(de().data);se.push(le),ye=le}return L(se)},[v,u,L,R]);return{size:R(),setSize:ne,mutate:L,get data(){return q.data},get error(){return q.error},get isValidating(){return q.isValidating},get isLoading(){return q.isLoading}}},mI=QD(Zm,hI);var W3=Object.prototype.hasOwnProperty;function Q3(e,t,n){for(n of e.keys())if(co(n,t))return n}function co(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--&&co(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=Q3(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=Q3(t,s),!s)||!co(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(W3.call(e,n)&&++a&&!W3.call(t,n)||!(n in t)||!co(e[n],t[n]))return!1;return Object.keys(t).length===a}}return e!==e&&t!==t}function pI(e,t){if(!e)throw typeof t=="string"?new Error(t):new Error(`${t.displayName} not found`)}var Yl=(e,t)=>{const{assertCtxFn:n=pI}={},a=we.createContext(void 0);return a.displayName=e,[a,()=>{const o=we.useContext(a);return n(o,`${e} not found`),o.value},()=>{const o=we.useContext(a);return o?o.value:{}}]},W7={};_D(W7,{useSWR:()=>Zm,useSWRInfinite:()=>mI});xD(W7,sI);var[gI,bI]=Yl("ClerkInstanceContext");Yl("UserContext");Yl("ClientContext");Yl("SessionContext");we.createContext({});Yl("OrganizationContext");function EI(e){if(!we.useContext(gI)){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"?we.useLayoutEffect:we.useEffect;var Z3=co,yI=()=>{try{return!1}catch{}return!1},vI=()=>{try{return!1}catch{}return!1},TI=()=>{try{return!0}catch{}return!1},J3=new Set,Jm=(e,t,n)=>{const a=vI()||TI(),s=e;J3.has(s)||a||(J3.add(s),console.warn(`Clerk - DEPRECATION WARNING: "${e}" is deprecated and will be removed in the next major release.
|
|
363
|
+
${t}`))},Nl=M7({packageName:"@clerk/clerk-react"});function _I(e){Nl.setMessages(e).setPackageName(e)}Yl("AuthContext");var SI=bI,xI=e=>`You've passed multiple children components to <${e}/>. You can only pass a single child component or text.`,f1="Unsupported usage of isSatellite, domain or proxyUrl. The usage of isSatellite, domain or proxyUrl as function is not supported in non-browser environments.",AI="<UserProfile.Page /> component needs to be a direct child of `<UserProfile />` or `<UserButton />`.",wI="<UserProfile.Link /> component needs to be a direct child of `<UserProfile />` or `<UserButton />`.",NI="<OrganizationProfile.Page /> component needs to be a direct child of `<OrganizationProfile />` or `<OrganizationSwitcher />`.",kI="<OrganizationProfile.Link /> component needs to be a direct child of `<OrganizationProfile />` or `<OrganizationSwitcher />`.",CI=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.`,OI=e=>`Missing props. <${e}.Page /> component requires the following props: url, label, labelIcon, alongside with children to be rendered inside the page.`,RI=e=>`Missing props. <${e}.Link /> component requires the following props: url, label and labelIcon.`,MI="<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.",DI="<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.",II="<UserButton.MenuItems /> component needs to be a direct child of `<UserButton />`.",LI="<UserButton.Action /> component needs to be a direct child of `<UserButton.MenuItems />`.",BI="<UserButton.Link /> component needs to be a direct child of `<UserButton.MenuItems />`.",PI="Missing props. <UserButton.Link /> component requires the following props: href, label and labelIcon.",UI="Missing props. <UserButton.Action /> component requires the following props: label.",zI=e=>{EI(()=>{Nl.throwMissingClerkProviderError({source:e})})},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,u=o=>{zI(a||"withClerk");const d=SI();return!d.loaded&&!(s!=null&&s.renderWhileLoading)?null:we.createElement(e,{...o,component:a,clerk:d})};return u.displayName=`withClerk(${a})`,u};gn(({clerk:e,...t})=>{const{client:n,session:a}=e,s=n.signedInSessions?n.signedInSessions.length>0:n.activeSessions&&n.activeSessions.length>0;return we.useEffect(()=>{a===null&&s?e.redirectToAfterSignOut():e.redirectToSignIn(t)},[]),null},"RedirectToSignIn");gn(({clerk:e,...t})=>(we.useEffect(()=>{e.redirectToSignUp(t)},[]),null),"RedirectToSignUp");gn(({clerk:e})=>(we.useEffect(()=>{Jm("RedirectToUserProfile","Use the `redirectToUserProfile()` method instead."),e.redirectToUserProfile()},[]),null),"RedirectToUserProfile");gn(({clerk:e})=>(we.useEffect(()=>{Jm("RedirectToOrganizationProfile","Use the `redirectToOrganizationProfile()` method instead."),e.redirectToOrganizationProfile()},[]),null),"RedirectToOrganizationProfile");gn(({clerk:e})=>(we.useEffect(()=>{Jm("RedirectToCreateOrganization","Use the `redirectToCreateOrganization()` method instead."),e.redirectToCreateOrganization()},[]),null),"RedirectToCreateOrganization");gn(({clerk:e,...t})=>(we.useEffect(()=>{e.handleRedirectCallback(t)},[]),null),"AuthenticateWithRedirectCallback");var Q7=e=>{throw TypeError(e)},ep=(e,t,n)=>t.has(e)||Q7("Cannot "+n),cn=(e,t,n)=>(ep(e,t,"read from private field"),n?n.call(e):t.get(e)),ks=(e,t,n)=>t.has(e)?Q7("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),bl=(e,t,n,a)=>(ep(e,t,"write to private field"),t.set(e,n),n),e6=(e,t,n)=>(ep(e,t,"access private method"),n),FI=(e,t="5.69.0")=>{if(e)return e;const n=HI(t);return n?n==="snapshot"?"5.69.0":n:qI(t)},HI=e=>{var t;return(t=e.trim().replace(/^v/,"").match(/-(.+?)(\.|$)/))==null?void 0:t[1]},qI=e=>e.trim().replace(/^v/,"").split(".")[0];function YI(e){return e?GI(e)||Z7(e):!0}function GI(e){return/^http(s)?:\/\//.test(e||"")}function Z7(e){return e.startsWith("/")}function jI(e){return e?Z7(e)?new URL(e,window.location.origin).toString():e:""}function VI(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 KI={initialDelay:125,maxDelayBetweenRetries:0,factor:2,shouldRetry:(e,t)=>t<5,retryImmediately:!1,jitter:!0},$I=100,J7=async e=>new Promise(t=>setTimeout(t,e)),ey=(e,t)=>t?e*(1+Math.random()):e,XI=e=>{let t=0;const n=()=>{const a=e.initialDelay,s=e.factor;let u=a*Math.pow(s,t);return u=ey(u,e.jitter),Math.min(e.maxDelayBetweenRetries||u,u)};return async()=>{await J7(n()),t++}},WI=async(e,t={})=>{let n=0;const{shouldRetry:a,initialDelay:s,maxDelayBetweenRetries:u,factor:o,retryImmediately:d,jitter:f}={...KI,...t},h=XI({initialDelay:s,maxDelayBetweenRetries:u,factor:o,jitter:f});for(;;)try{return await e()}catch(p){if(n++,!a(p,n))throw p;d&&n===1?await J7(ey($I,f)):await h()}},QI="loadScript cannot be called when document does not exist",ZI="loadScript cannot be called without a src";async function JI(e="",t){const{async:n,defer:a,beforeLoad:s,crossOrigin:u,nonce:o}=t||{};return WI(()=>new Promise((f,h)=>{e||h(new Error(ZI)),(!document||!document.body)&&h(QI);const p=document.createElement("script");u&&p.setAttribute("crossorigin",u),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 t6="Clerk: Failed to load Clerk",{isDevOrStagingUrl:eL}=ND(),ty=M7({packageName:"@clerk/shared"});function tL(e){ty.setPackageName({packageName:e})}var nL=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(t6)})});if(!(e!=null&&e.publishableKey)){ty.throwMissingPublishableKeyError();return}return JI(rL(e),{async:!0,crossOrigin:"anonymous",nonce:e.nonce,beforeLoad:iL(e)}).catch(()=>{throw new Error(t6)})},rL=e=>{var p,b;const{clerkJSUrl:t,clerkJSVariant:n,clerkJSVersion:a,proxyUrl:s,domain:u,publishableKey:o}=e;if(t)return t;let d="";s&&YI(s)?d=jI(s).replace(/http(s)?:\/\//,""):u&&!eL(((p=z3(o))==null?void 0:p.frontendApi)||"")?d=VI(u):d=((b=z3(o))==null?void 0:b.frontendApi)||"";const f=n?`${n.replace(/\.+$/,"")}.`:"",h=FI(a);return`https://${d}/npm/@clerk/clerk-js@${h}/dist/clerk.${f}browser.js`},aL=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},iL=e=>t=>{const n=aL(e);for(const a in n)t.setAttribute(a,n[a])},lr=e=>{yI()&&console.error(`Clerk: ${e}`)};function h1(e,t,n){if(typeof e=="function")return e(t);if(typeof e<"u")return e;if(typeof n<"u")return n}var sL=h6(),n6=(e,...t)=>{const n={...e};for(const a of t)delete n[a];return n};function r6(){return typeof window<"u"}var a6=(e,t,n,a,s)=>{const{notify:u}=s||{};let o=e.get(n);o||(o=[],e.set(n,o)),o.push(a),u&&t.has(n)&&a(t.get(n))},i6=(e,t,n)=>(e.get(t)||[]).map(a=>a(n)),s6=(e,t,n)=>{const a=e.get(t);a&&(n?a.splice(a.indexOf(n)>>>0,1):e.set(t,[]))},lL=()=>{const e=new Map,t=new Map,n=new Map;return{on:(...s)=>a6(e,t,...s),prioritizedOn:(...s)=>a6(n,t,...s),emit:(s,u)=>{t.set(s,u),i6(n,s,u),i6(e,s,u)},off:(...s)=>s6(e,...s),prioritizedOff:(...s)=>s6(n,...s),internal:{retrieveListeners:s=>e.get(s)||[]}}},pc={Status:"status"},uL=()=>lL();typeof window<"u"&&!window.global&&(window.global=typeof global>"u"?window:global);var id=e=>t=>{try{return we.Children.only(e)}catch{return Nl.throw(xI(t))}},sd=(e,t)=>(e||(e=t),typeof e=="string"&&(e=we.createElement("button",null,e)),e),ld=e=>(...t)=>{if(e&&typeof e=="function")return e(...t)};function oL(e){return typeof e=="function"}var fo=e=>{const t=Array(e.length).fill(null),[n,a]=Le.useState(t);return e.map((s,u)=>({id:s.id,mount:o=>a(d=>d.map((f,h)=>h===u?o:f)),unmount:()=>a(o=>o.map((d,f)=>f===u?null:d)),portal:()=>we.createElement(we.Fragment,null,n[u]?sL.createPortal(s.component,n[u]):null)}))},ir=(e,t)=>!!e&&we.isValidElement(e)&&(e==null?void 0:e.type)===t,ny=(e,t)=>iy({children:e,reorderItemsLabels:["account","security"],LinkComponent:Io,PageComponent:Do,MenuItemsComponent:od,componentName:"UserProfile"},t),ry=(e,t)=>iy({children:e,reorderItemsLabels:["general","members"],LinkComponent:dd,PageComponent:cd,componentName:"OrganizationProfile"},t),ay=e=>{const t=[],n=[dd,cd,od,Do,Io];return we.Children.forEach(e,a=>{n.some(s=>ir(a,s))||t.push(a)}),t},iy=(e,t)=>{const{children:n,LinkComponent:a,PageComponent:s,MenuItemsComponent:u,reorderItemsLabels:o,componentName:d}=e,{allowForAnyChildren:f=!1}=t||{},h=[];we.Children.forEach(n,R=>{if(!ir(R,s)&&!ir(R,a)&&!ir(R,u)){R&&!f&&lr(CI(d));return}const{props:P}=R,{children:X,label:q,url:L,labelIcon:ne}=P;if(ir(R,s))if(l6(P,o))h.push({label:q});else if(m1(P))h.push({label:q,labelIcon:ne,children:X,url:L});else{lr(OI(d));return}if(ir(R,a))if(p1(P))h.push({label:q,labelIcon:ne,url:L});else{lr(RI(d));return}});const p=[],b=[],T=[];h.forEach((R,P)=>{if(m1(R)){p.push({component:R.children,id:P}),b.push({component:R.labelIcon,id:P});return}p1(R)&&T.push({component:R.labelIcon,id:P})});const v=fo(p),A=fo(b),N=fo(T),I=[],C=[];return h.forEach((R,P)=>{if(l6(R,o)){I.push({label:R.label});return}if(m1(R)){const{portal:X,mount:q,unmount:L}=v.find(G=>G.id===P),{portal:ne,mount:te,unmount:fe}=A.find(G=>G.id===P);I.push({label:R.label,url:R.url,mount:q,unmount:L,mountIcon:te,unmountIcon:fe}),C.push(X),C.push(ne);return}if(p1(R)){const{portal:X,mount:q,unmount:L}=N.find(ne=>ne.id===P);I.push({label:R.label,url:R.url,mountIcon:q,unmountIcon:L}),C.push(X);return}}),{customPages:I,customPagesPortals:C}},l6=(e,t)=>{const{children:n,label:a,url:s,labelIcon:u}=e;return!n&&!s&&!u&&t.some(o=>o===a)},m1=e=>{const{children:t,label:n,url:a,labelIcon:s}=e;return!!t&&!!a&&!!s&&!!n},p1=e=>{const{children:t,label:n,url:a,labelIcon:s}=e;return!t&&!!a&&!!s&&!!n},cL=e=>dL({children:e,reorderItemsLabels:["manageAccount","signOut"],MenuItemsComponent:od,MenuActionComponent:ly,MenuLinkComponent:uy,UserProfileLinkComponent:Io,UserProfilePageComponent:Do}),dL=({children:e,MenuItemsComponent:t,MenuActionComponent:n,MenuLinkComponent:a,UserProfileLinkComponent:s,UserProfilePageComponent:u,reorderItemsLabels:o})=>{const d=[],f=[],h=[];we.Children.forEach(e,A=>{if(!ir(A,t)&&!ir(A,s)&&!ir(A,u)){A&&lr(MI);return}if(ir(A,s)||ir(A,u))return;const{props:N}=A;we.Children.forEach(N.children,I=>{if(!ir(I,n)&&!ir(I,a)){I&&lr(DI);return}const{props:C}=I,{label:R,labelIcon:P,href:X,onClick:q,open:L}=C;if(ir(I,n))if(u6(C,o))d.push({label:R});else if(g1(C)){const ne={label:R,labelIcon:P};if(q!==void 0)d.push({...ne,onClick:q});else if(L!==void 0)d.push({...ne,open:L.startsWith("/")?L:`/${L}`});else{lr("Custom menu item must have either onClick or open property");return}}else{lr(UI);return}if(ir(I,a))if(b1(C))d.push({label:R,labelIcon:P,href:X});else{lr(PI);return}})});const p=[],b=[];d.forEach((A,N)=>{g1(A)&&p.push({component:A.labelIcon,id:N}),b1(A)&&b.push({component:A.labelIcon,id:N})});const T=fo(p),v=fo(b);return d.forEach((A,N)=>{if(u6(A,o)&&f.push({label:A.label}),g1(A)){const{portal:I,mount:C,unmount:R}=T.find(X=>X.id===N),P={label:A.label,mountIcon:C,unmountIcon:R};"onClick"in A?P.onClick=A.onClick:"open"in A&&(P.open=A.open),f.push(P),h.push(I)}if(b1(A)){const{portal:I,mount:C,unmount:R}=v.find(P=>P.id===N);f.push({label:A.label,href:A.href,mountIcon:C,unmountIcon:R}),h.push(I)}}),{customMenuItems:f,customMenuItemsPortals:h}},u6=(e,t)=>{const{children:n,label:a,onClick:s,labelIcon:u}=e;return!n&&!s&&!u&&t.some(o=>o===a)},g1=e=>{const{label:t,labelIcon:n,onClick:a,open:s}=e;return!!n&&!!t&&(typeof a=="function"||typeof s=="string")},b1=e=>{const{label:t,href:n,labelIcon:a}=e;return!!n&&!!a&&!!t};function fL(e){const{root:t=document==null?void 0:document.body,selector:n,timeout:a=0}=e;return new Promise((s,u)=>{if(!t){u(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(),u(new Error("Timeout waiting for element children"))},a)})}function ra(e){const t=Le.useRef(),[n,a]=Le.useState("rendering");return Le.useEffect(()=>{if(!e)throw new Error("Clerk: no component name provided, unable to detect mount.");typeof window<"u"&&!t.current&&(t.current=fL({selector:`[data-clerk-component="${e}"]`}).then(()=>{a("rendered")}).catch(()=>{a("error")}))},[e]),n}var gc=e=>"mount"in e,o6=e=>"open"in e,c6=e=>e==null?void 0:e.map(({mountIcon:t,unmountIcon:n,...a})=>a),_r=class extends we.PureComponent{constructor(){super(...arguments),this.rootRef=we.createRef()}componentDidUpdate(e){var t,n,a,s;if(!gc(e)||!gc(this.props))return;const u=n6(e.props,"customPages","customMenuItems","children"),o=n6(this.props.props,"customPages","customMenuItems","children"),d=((t=u.customPages)==null?void 0:t.length)!==((n=o.customPages)==null?void 0:n.length),f=((a=u.customMenuItems)==null?void 0:a.length)!==((s=o.customMenuItems)==null?void 0:s.length),h=c6(e.props.customMenuItems),p=c6(this.props.props.customMenuItems);(!Z3(u,o)||!Z3(h,p)||d||f)&&this.rootRef.current&&this.props.updateProps({node:this.rootRef.current,props:this.props.props})}componentDidMount(){this.rootRef.current&&(gc(this.props)&&this.props.mount(this.rootRef.current,this.props.props),o6(this.props)&&this.props.open(this.props.props))}componentWillUnmount(){this.rootRef.current&&(gc(this.props)&&this.props.unmount(this.rootRef.current),o6(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 we.createElement(we.Fragment,null,!e&&we.createElement("div",{...t}),this.props.children)}},ud=e=>{var t,n;return we.createElement(we.Fragment,null,(t=e==null?void 0:e.customPagesPortals)==null?void 0:t.map((a,s)=>Le.createElement(a,{key:s})),(n=e==null?void 0:e.customMenuItemsPortals)==null?void 0:n.map((a,s)=>Le.createElement(a,{key:s})))};gn(({clerk:e,component:t,fallback:n,...a})=>{const u=ra(t)==="rendering"||!e.loaded,o={...u&&n&&{style:{display:"none"}}};return we.createElement(we.Fragment,null,u&&n,e.loaded&&we.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 u=ra(t)==="rendering"||!e.loaded,o={...u&&n&&{style:{display:"none"}}};return we.createElement(we.Fragment,null,u&&n,e.loaded&&we.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(AI),we.createElement(we.Fragment,null,e)}function Io({children:e}){return lr(wI),we.createElement(we.Fragment,null,e)}var hL=gn(({clerk:e,component:t,fallback:n,...a})=>{const u=ra(t)==="rendering"||!e.loaded,o={...u&&n&&{style:{display:"none"}}},{customPages:d,customPagesPortals:f}=ny(a.children);return we.createElement(we.Fragment,null,u&&n,we.createElement(_r,{component:t,mount:e.mountUserProfile,unmount:e.unmountUserProfile,updateProps:e.__unstable__updateProps,props:{...a,customPages:d},rootProps:o},we.createElement(ud,{customPagesPortals:f})))},{component:"UserProfile",renderWhileLoading:!0});Object.assign(hL,{Page:Do,Link:Io});var sy=Le.createContext({mount:()=>{},unmount:()=>{},updateProps:()=>{}}),mL=gn(({clerk:e,component:t,fallback:n,...a})=>{const u=ra(t)==="rendering"||!e.loaded,o={...u&&n&&{style:{display:"none"}}},{customPages:d,customPagesPortals:f}=ny(a.children,{allowForAnyChildren:!!a.__experimental_asProvider}),h=Object.assign(a.userProfileProps||{},{customPages:d}),{customMenuItems:p,customMenuItemsPortals:b}=cL(a.children),T=ay(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 we.createElement(sy.Provider,{value:v},u&&n,e.loaded&&we.createElement(_r,{component:t,...v,hideRootHtmlElement:!!a.__experimental_asProvider,rootProps:o},a.__experimental_asProvider?T:null,we.createElement(ud,{...A})))},{component:"UserButton",renderWhileLoading:!0});function od({children:e}){return lr(II),we.createElement(we.Fragment,null,e)}function ly({children:e}){return lr(LI),we.createElement(we.Fragment,null,e)}function uy({children:e}){return lr(BI),we.createElement(we.Fragment,null,e)}function pL(e){const t=Le.useContext(sy),n={...t,props:{...t.props,...e}};return we.createElement(_r,{...n})}Object.assign(mL,{UserProfilePage:Do,UserProfileLink:Io,MenuItems:od,Action:ly,Link:uy,__experimental_Outlet:pL});function cd({children:e}){return lr(NI),we.createElement(we.Fragment,null,e)}function dd({children:e}){return lr(kI),we.createElement(we.Fragment,null,e)}var gL=gn(({clerk:e,component:t,fallback:n,...a})=>{const u=ra(t)==="rendering"||!e.loaded,o={...u&&n&&{style:{display:"none"}}},{customPages:d,customPagesPortals:f}=ry(a.children);return we.createElement(we.Fragment,null,u&&n,e.loaded&&we.createElement(_r,{component:t,mount:e.mountOrganizationProfile,unmount:e.unmountOrganizationProfile,updateProps:e.__unstable__updateProps,props:{...a,customPages:d},rootProps:o},we.createElement(ud,{customPagesPortals:f})))},{component:"OrganizationProfile",renderWhileLoading:!0});Object.assign(gL,{Page:cd,Link:dd});gn(({clerk:e,component:t,fallback:n,...a})=>{const u=ra(t)==="rendering"||!e.loaded,o={...u&&n&&{style:{display:"none"}}};return we.createElement(we.Fragment,null,u&&n,e.loaded&&we.createElement(_r,{component:t,mount:e.mountCreateOrganization,unmount:e.unmountCreateOrganization,updateProps:e.__unstable__updateProps,props:a,rootProps:o}))},{component:"CreateOrganization",renderWhileLoading:!0});var oy=Le.createContext({mount:()=>{},unmount:()=>{},updateProps:()=>{}}),bL=gn(({clerk:e,component:t,fallback:n,...a})=>{const u=ra(t)==="rendering"||!e.loaded,o={...u&&n&&{style:{display:"none"}}},{customPages:d,customPagesPortals:f}=ry(a.children,{allowForAnyChildren:!!a.__experimental_asProvider}),h=Object.assign(a.organizationProfileProps||{},{customPages:d}),p=ay(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(),we.createElement(oy.Provider,{value:b},we.createElement(we.Fragment,null,u&&n,e.loaded&&we.createElement(_r,{...b,hideRootHtmlElement:!!a.__experimental_asProvider},a.__experimental_asProvider?p:null,we.createElement(ud,{customPagesPortals:f}))))},{component:"OrganizationSwitcher",renderWhileLoading:!0});function EL(e){const t=Le.useContext(oy),n={...t,props:{...t.props,...e}};return we.createElement(_r,{...n})}Object.assign(bL,{OrganizationProfilePage:cd,OrganizationProfileLink:dd,__experimental_Outlet:EL});gn(({clerk:e,component:t,fallback:n,...a})=>{const u=ra(t)==="rendering"||!e.loaded,o={...u&&n&&{style:{display:"none"}}};return we.createElement(we.Fragment,null,u&&n,e.loaded&&we.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 u=ra(t)==="rendering"||!e.loaded,o={...u&&n&&{style:{display:"none"}}};return we.createElement(we.Fragment,null,u&&n,e.loaded&&we.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 u=ra(t)==="rendering"||!e.loaded,o={...u&&n&&{style:{display:"none"}}};return we.createElement(we.Fragment,null,u&&n,e.loaded&&we.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 u=ra(t)==="rendering"||!e.loaded,o={...u&&n&&{style:{display:"none"}}};return we.createElement(we.Fragment,null,u&&n,e.loaded&&we.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 u=ra(t)==="rendering"||!e.loaded,o={...u&&n&&{style:{display:"none"}}};return we.createElement(we.Fragment,null,u&&n,e.loaded&&we.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:u,signUpForceRedirectUrl:o,mode:d,initialValues:f,withSignUp:h,oauthFlow:p,...b}=n;t=sd(t,"Sign in");const T=id(t)("SignInButton"),v=()=>{const I={forceRedirectUrl:s,fallbackRedirectUrl:u,signUpFallbackRedirectUrl:a,signUpForceRedirectUrl:o,initialValues:f,withSignUp:h,oauthFlow:p};return d==="modal"?e.openSignIn({...I,appearance:n.appearance}):e.redirectToSignIn({...I,signInFallbackRedirectUrl:u,signInForceRedirectUrl:s})},N={...b,onClick:async I=>(T&&typeof T=="object"&&"props"in T&&await ld(T.props.onClick)(I),v())};return we.cloneElement(T,N)},{component:"SignInButton",renderWhileLoading:!0});gn(({clerk:e,children:t,...n})=>{const{fallbackRedirectUrl:a,forceRedirectUrl:s,signInFallbackRedirectUrl:u,signInForceRedirectUrl:o,mode:d,unsafeMetadata:f,initialValues:h,oauthFlow:p,...b}=n;t=sd(t,"Sign up");const T=id(t)("SignUpButton"),v=()=>{const I={fallbackRedirectUrl:a,forceRedirectUrl:s,signInFallbackRedirectUrl:u,signInForceRedirectUrl:o,unsafeMetadata:f,initialValues:h,oauthFlow:p};return d==="modal"?e.openSignUp({...I,appearance:n.appearance}):e.redirectToSignUp({...I,signUpFallbackRedirectUrl:a,signUpForceRedirectUrl:s})},N={...b,onClick:async I=>(T&&typeof T=="object"&&"props"in T&&await ld(T.props.onClick)(I),v())};return we.cloneElement(T,N)},{component:"SignUpButton",renderWhileLoading:!0});gn(({clerk:e,children:t,...n})=>{const{redirectUrl:a="/",signOutOptions:s,...u}=n;t=sd(t,"Sign out");const o=id(t)("SignOutButton"),d=()=>e.signOut({redirectUrl:a,...s}),h={...u,onClick:async p=>(await ld(o.props.onClick)(p),d())};return we.cloneElement(o,h)},{component:"SignOutButton",renderWhileLoading:!0});gn(({clerk:e,children:t,...n})=>{const{redirectUrl:a,...s}=n;t=sd(t,"Sign in with Metamask");const u=id(t)("SignInWithMetamaskButton"),o=async()=>{async function h(){await e.authenticateWithMetamask({redirectUrl:a||void 0})}h()},f={...s,onClick:async h=>(await ld(u.props.onClick)(h),o())};return we.cloneElement(u,f)},{component:"SignInWithMetamask",renderWhileLoading:!0});typeof globalThis.__BUILD_DISABLE_RHC__>"u"&&(globalThis.__BUILD_DISABLE_RHC__=!1);var yL={name:"@clerk/clerk-react",version:"5.32.0",environment:"production"},_c,Tl,_l,Gi,Ja,Vi,Sc,rm,vL=class cy{constructor(t){ks(this,Sc),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=[],ks(this,_c,"loading"),ks(this,Tl),ks(this,_l),ks(this,Gi),ks(this,Ja,uL()),this.buildSignInUrl=s=>{const u=()=>{var o;return((o=this.clerkjs)==null?void 0:o.buildSignInUrl(s))||""};if(this.clerkjs&&this.loaded)return u();this.premountMethodCalls.set("buildSignInUrl",u)},this.buildSignUpUrl=s=>{const u=()=>{var o;return((o=this.clerkjs)==null?void 0:o.buildSignUpUrl(s))||""};if(this.clerkjs&&this.loaded)return u();this.premountMethodCalls.set("buildSignUpUrl",u)},this.buildAfterSignInUrl=(...s)=>{const u=()=>{var o;return((o=this.clerkjs)==null?void 0:o.buildAfterSignInUrl(...s))||""};if(this.clerkjs&&this.loaded)return u();this.premountMethodCalls.set("buildAfterSignInUrl",u)},this.buildAfterSignUpUrl=(...s)=>{const u=()=>{var o;return((o=this.clerkjs)==null?void 0:o.buildAfterSignUpUrl(...s))||""};if(this.clerkjs&&this.loaded)return u();this.premountMethodCalls.set("buildAfterSignUpUrl",u)},this.buildAfterSignOutUrl=()=>{const s=()=>{var u;return((u=this.clerkjs)==null?void 0:u.buildAfterSignOutUrl())||""};if(this.clerkjs&&this.loaded)return s();this.premountMethodCalls.set("buildAfterSignOutUrl",s)},this.buildNewSubscriptionRedirectUrl=()=>{const s=()=>{var u;return((u=this.clerkjs)==null?void 0:u.buildNewSubscriptionRedirectUrl())||""};if(this.clerkjs&&this.loaded)return s();this.premountMethodCalls.set("buildNewSubscriptionRedirectUrl",s)},this.buildAfterMultiSessionSingleSignOutUrl=()=>{const s=()=>{var u;return((u=this.clerkjs)==null?void 0:u.buildAfterMultiSessionSingleSignOutUrl())||""};if(this.clerkjs&&this.loaded)return s();this.premountMethodCalls.set("buildAfterMultiSessionSingleSignOutUrl",s)},this.buildUserProfileUrl=()=>{const s=()=>{var u;return((u=this.clerkjs)==null?void 0:u.buildUserProfileUrl())||""};if(this.clerkjs&&this.loaded)return s();this.premountMethodCalls.set("buildUserProfileUrl",s)},this.buildCreateOrganizationUrl=()=>{const s=()=>{var u;return((u=this.clerkjs)==null?void 0:u.buildCreateOrganizationUrl())||""};if(this.clerkjs&&this.loaded)return s();this.premountMethodCalls.set("buildCreateOrganizationUrl",s)},this.buildOrganizationProfileUrl=()=>{const s=()=>{var u;return((u=this.clerkjs)==null?void 0:u.buildOrganizationProfileUrl())||""};if(this.clerkjs&&this.loaded)return s();this.premountMethodCalls.set("buildOrganizationProfileUrl",s)},this.buildWaitlistUrl=()=>{const s=()=>{var u;return((u=this.clerkjs)==null?void 0:u.buildWaitlistUrl())||""};if(this.clerkjs&&this.loaded)return s();this.premountMethodCalls.set("buildWaitlistUrl",s)},this.buildUrlWithAuth=s=>{const u=()=>{var o;return((o=this.clerkjs)==null?void 0:o.buildUrlWithAuth(s))||""};if(this.clerkjs&&this.loaded)return u();this.premountMethodCalls.set("buildUrlWithAuth",u)},this.handleUnauthenticated=async()=>{const s=()=>{var u;return(u=this.clerkjs)==null?void 0:u.handleUnauthenticated()};this.clerkjs&&this.loaded?s():this.premountMethodCalls.set("handleUnauthenticated",s)},this.on=(...s)=>{var u;if((u=this.clerkjs)!=null&&u.on)return this.clerkjs.on(...s);cn(this,Ja).on(...s)},this.off=(...s)=>{var u;if((u=this.clerkjs)!=null&&u.off)return this.clerkjs.off(...s);cn(this,Ja).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 u;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)}),(u=cn(this,Ja).internal.retrieveListeners("status"))==null||u.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,Ja).emit(pc.Status,"ready"),this.emitLoaded(),this.clerkjs},this.__unstable__updateProps=async s=>{const u=await e6(this,Sc,rm).call(this);if(u&&"__unstable__updateProps"in u)return u.__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,u)=>{this.clerkjs&&this.loaded?this.clerkjs.mountSignIn(s,u):this.premountSignInNodes.set(s,u)},this.unmountSignIn=s=>{this.clerkjs&&this.loaded?this.clerkjs.unmountSignIn(s):this.premountSignInNodes.delete(s)},this.mountSignUp=(s,u)=>{this.clerkjs&&this.loaded?this.clerkjs.mountSignUp(s,u):this.premountSignUpNodes.set(s,u)},this.unmountSignUp=s=>{this.clerkjs&&this.loaded?this.clerkjs.unmountSignUp(s):this.premountSignUpNodes.delete(s)},this.mountUserProfile=(s,u)=>{this.clerkjs&&this.loaded?this.clerkjs.mountUserProfile(s,u):this.premountUserProfileNodes.set(s,u)},this.unmountUserProfile=s=>{this.clerkjs&&this.loaded?this.clerkjs.unmountUserProfile(s):this.premountUserProfileNodes.delete(s)},this.mountOrganizationProfile=(s,u)=>{this.clerkjs&&this.loaded?this.clerkjs.mountOrganizationProfile(s,u):this.premountOrganizationProfileNodes.set(s,u)},this.unmountOrganizationProfile=s=>{this.clerkjs&&this.loaded?this.clerkjs.unmountOrganizationProfile(s):this.premountOrganizationProfileNodes.delete(s)},this.mountCreateOrganization=(s,u)=>{this.clerkjs&&this.loaded?this.clerkjs.mountCreateOrganization(s,u):this.premountCreateOrganizationNodes.set(s,u)},this.unmountCreateOrganization=s=>{this.clerkjs&&this.loaded?this.clerkjs.unmountCreateOrganization(s):this.premountCreateOrganizationNodes.delete(s)},this.mountOrganizationSwitcher=(s,u)=>{this.clerkjs&&this.loaded?this.clerkjs.mountOrganizationSwitcher(s,u):this.premountOrganizationSwitcherNodes.set(s,u)},this.unmountOrganizationSwitcher=s=>{this.clerkjs&&this.loaded?this.clerkjs.unmountOrganizationSwitcher(s):this.premountOrganizationSwitcherNodes.delete(s)},this.__experimental_prefetchOrganizationSwitcher=()=>{const s=()=>{var u;return(u=this.clerkjs)==null?void 0:u.__experimental_prefetchOrganizationSwitcher()};this.clerkjs&&this.loaded?s():this.premountMethodCalls.set("__experimental_prefetchOrganizationSwitcher",s)},this.mountOrganizationList=(s,u)=>{this.clerkjs&&this.loaded?this.clerkjs.mountOrganizationList(s,u):this.premountOrganizationListNodes.set(s,u)},this.unmountOrganizationList=s=>{this.clerkjs&&this.loaded?this.clerkjs.unmountOrganizationList(s):this.premountOrganizationListNodes.delete(s)},this.mountUserButton=(s,u)=>{this.clerkjs&&this.loaded?this.clerkjs.mountUserButton(s,u):this.premountUserButtonNodes.set(s,u)},this.unmountUserButton=s=>{this.clerkjs&&this.loaded?this.clerkjs.unmountUserButton(s):this.premountUserButtonNodes.delete(s)},this.mountWaitlist=(s,u)=>{this.clerkjs&&this.loaded?this.clerkjs.mountWaitlist(s,u):this.premountWaitlistNodes.set(s,u)},this.unmountWaitlist=s=>{this.clerkjs&&this.loaded?this.clerkjs.unmountWaitlist(s):this.premountWaitlistNodes.delete(s)},this.mountPricingTable=(s,u)=>{this.clerkjs&&this.loaded?this.clerkjs.mountPricingTable(s,u):this.premountPricingTableNodes.set(s,u)},this.unmountPricingTable=s=>{this.clerkjs&&this.loaded?this.clerkjs.unmountPricingTable(s):this.premountPricingTableNodes.delete(s)},this.mountApiKeys=(s,u)=>{this.clerkjs&&this.loaded?this.clerkjs.mountApiKeys(s,u):this.premountApiKeysNodes.set(s,u)},this.unmountApiKeys=s=>{this.clerkjs&&this.loaded?this.clerkjs.unmountApiKeys(s):this.premountApiKeysNodes.delete(s)},this.__internal_mountOAuthConsent=(s,u)=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_mountOAuthConsent(s,u):this.premountOAuthConsentNodes.set(s,u)},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 u=()=>{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:u,nativeUnsubscribe:void 0}),u}},this.navigate=s=>{const u=()=>{var o;return(o=this.clerkjs)==null?void 0:o.navigate(s)};this.clerkjs&&this.loaded?u():this.premountMethodCalls.set("navigate",u)},this.redirectWithAuth=async(...s)=>{const u=()=>{var o;return(o=this.clerkjs)==null?void 0:o.redirectWithAuth(...s)};if(this.clerkjs&&this.loaded)return u();this.premountMethodCalls.set("redirectWithAuth",u)},this.redirectToSignIn=async s=>{const u=()=>{var o;return(o=this.clerkjs)==null?void 0:o.redirectToSignIn(s)};if(this.clerkjs&&this.loaded)return u();this.premountMethodCalls.set("redirectToSignIn",u)},this.redirectToSignUp=async s=>{const u=()=>{var o;return(o=this.clerkjs)==null?void 0:o.redirectToSignUp(s)};if(this.clerkjs&&this.loaded)return u();this.premountMethodCalls.set("redirectToSignUp",u)},this.redirectToUserProfile=async()=>{const s=()=>{var u;return(u=this.clerkjs)==null?void 0:u.redirectToUserProfile()};if(this.clerkjs&&this.loaded)return s();this.premountMethodCalls.set("redirectToUserProfile",s)},this.redirectToAfterSignUp=()=>{const s=()=>{var u;return(u=this.clerkjs)==null?void 0:u.redirectToAfterSignUp()};if(this.clerkjs&&this.loaded)return s();this.premountMethodCalls.set("redirectToAfterSignUp",s)},this.redirectToAfterSignIn=()=>{const s=()=>{var u;return(u=this.clerkjs)==null?void 0:u.redirectToAfterSignIn()};this.clerkjs&&this.loaded?s():this.premountMethodCalls.set("redirectToAfterSignIn",s)},this.redirectToAfterSignOut=()=>{const s=()=>{var u;return(u=this.clerkjs)==null?void 0:u.redirectToAfterSignOut()};this.clerkjs&&this.loaded?s():this.premountMethodCalls.set("redirectToAfterSignOut",s)},this.redirectToOrganizationProfile=async()=>{const s=()=>{var u;return(u=this.clerkjs)==null?void 0:u.redirectToOrganizationProfile()};if(this.clerkjs&&this.loaded)return s();this.premountMethodCalls.set("redirectToOrganizationProfile",s)},this.redirectToCreateOrganization=async()=>{const s=()=>{var u;return(u=this.clerkjs)==null?void 0:u.redirectToCreateOrganization()};if(this.clerkjs&&this.loaded)return s();this.premountMethodCalls.set("redirectToCreateOrganization",s)},this.redirectToWaitlist=async()=>{const s=()=>{var u;return(u=this.clerkjs)==null?void 0:u.redirectToWaitlist()};if(this.clerkjs&&this.loaded)return s();this.premountMethodCalls.set("redirectToWaitlist",s)},this.handleRedirectCallback=async s=>{var u;const o=()=>{var d;return(d=this.clerkjs)==null?void 0:d.handleRedirectCallback(s)};this.clerkjs&&this.loaded?(u=o())==null||u.catch(()=>{}):this.premountMethodCalls.set("handleRedirectCallback",o)},this.handleGoogleOneTapCallback=async(s,u)=>{var o;const d=()=>{var f;return(f=this.clerkjs)==null?void 0:f.handleGoogleOneTapCallback(s,u)};this.clerkjs&&this.loaded?(o=d())==null||o.catch(()=>{}):this.premountMethodCalls.set("handleGoogleOneTapCallback",d)},this.handleEmailLinkVerification=async s=>{const u=()=>{var o;return(o=this.clerkjs)==null?void 0:o.handleEmailLinkVerification(s)};if(this.clerkjs&&this.loaded)return u();this.premountMethodCalls.set("handleEmailLinkVerification",u)},this.authenticateWithMetamask=async s=>{const u=()=>{var o;return(o=this.clerkjs)==null?void 0:o.authenticateWithMetamask(s)};if(this.clerkjs&&this.loaded)return u();this.premountMethodCalls.set("authenticateWithMetamask",u)},this.authenticateWithCoinbaseWallet=async s=>{const u=()=>{var o;return(o=this.clerkjs)==null?void 0:o.authenticateWithCoinbaseWallet(s)};if(this.clerkjs&&this.loaded)return u();this.premountMethodCalls.set("authenticateWithCoinbaseWallet",u)},this.authenticateWithOKXWallet=async s=>{const u=()=>{var o;return(o=this.clerkjs)==null?void 0:o.authenticateWithOKXWallet(s)};if(this.clerkjs&&this.loaded)return u();this.premountMethodCalls.set("authenticateWithOKXWallet",u)},this.authenticateWithWeb3=async s=>{const u=()=>{var o;return(o=this.clerkjs)==null?void 0:o.authenticateWithWeb3(s)};if(this.clerkjs&&this.loaded)return u();this.premountMethodCalls.set("authenticateWithWeb3",u)},this.authenticateWithGoogleOneTap=async s=>(await e6(this,Sc,rm).call(this)).authenticateWithGoogleOneTap(s),this.createOrganization=async s=>{const u=()=>{var o;return(o=this.clerkjs)==null?void 0:o.createOrganization(s)};if(this.clerkjs&&this.loaded)return u();this.premountMethodCalls.set("createOrganization",u)},this.getOrganization=async s=>{const u=()=>{var o;return(o=this.clerkjs)==null?void 0:o.getOrganization(s)};if(this.clerkjs&&this.loaded)return u();this.premountMethodCalls.set("getOrganization",u)},this.joinWaitlist=async s=>{const u=()=>{var o;return(o=this.clerkjs)==null?void 0:o.joinWaitlist(s)};if(this.clerkjs&&this.loaded)return u();this.premountMethodCalls.set("joinWaitlist",u)},this.signOut=async(...s)=>{const u=()=>{var o;return(o=this.clerkjs)==null?void 0:o.signOut(...s)};if(this.clerkjs&&this.loaded)return u();this.premountMethodCalls.set("signOut",u)};const{Clerk:n=null,publishableKey:a}=t||{};bl(this,Gi,a),bl(this,_l,t==null?void 0:t.proxyUrl),bl(this,Tl,t==null?void 0:t.domain),this.options=t,this.Clerk=n,this.mode=r6()?"browser":"server",this.options.sdkMetadata||(this.options.sdkMetadata=yL),cn(this,Ja).emit(pc.Status,"loading"),cn(this,Ja).prioritizedOn(pc.Status,s=>bl(this,_c,s)),cn(this,Gi)&&this.loadClerkJS()}get publishableKey(){return cn(this,Gi)}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,_c)}static getOrCreateInstance(t){return(!r6()||!cn(this,Vi)||t.Clerk&&cn(this,Vi).Clerk!==t.Clerk||cn(this,Vi).publishableKey!==t.publishableKey)&&bl(this,Vi,new cy(t)),cn(this,Vi)}static clearInstance(){bl(this,Vi,null)}get domain(){return typeof window<"u"&&window.location?h1(cn(this,Tl),new URL(window.location.href),""):typeof cn(this,Tl)=="function"?Nl.throw(f1):cn(this,Tl)||""}get proxyUrl(){return typeof window<"u"&&window.location?h1(cn(this,_l),new URL(window.location.href),""):typeof cn(this,_l)=="function"?Nl.throw(f1):cn(this,_l)||""}__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?h1(this.options.isSatellite,new URL(window.location.href),!1):typeof this.options.isSatellite=="function"?Nl.throw(f1):!1}async loadClerkJS(){var t;if(!(this.mode!=="browser"||this.loaded)){typeof window<"u"&&(window.__clerk_publishable_key=cn(this,Gi),window.__clerk_proxy_url=this.proxyUrl,window.__clerk_domain=this.domain);try{if(this.Clerk){let n;oL(this.Clerk)?(n=new this.Clerk(cn(this,Gi),{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 nL({...this.options,publishableKey:cn(this,Gi),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,Ja).emit(pc.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}};_c=new WeakMap;Tl=new WeakMap;_l=new WeakMap;Gi=new WeakMap;Ja=new WeakMap;Vi=new WeakMap;Sc=new WeakSet;rm=function(){return new Promise(e=>{this.addOnLoaded(()=>e(this.clerkjs))})};ks(vL,Vi);_I({packageName:"@clerk/clerk-react"});tL("@clerk/clerk-react");var d6,f6;(f6=(d6=import.meta)==null?void 0:d6.env)!=null&&f6.PROD;const dy=!1,TL="",Uc=10*1024*1024,am=new Set(["image/jpeg","image/png","image/webp","application/pdf","text/plain","text/markdown","text/csv"]);function kl(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 _L(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 SL(e,t="anon",n="anon"){if(e.size>Uc)throw new Error("File too large (max 10MB)");if(!am.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 zc=e=>e<1024?`${e}B`:e<1024*1024?`${(e/1024).toFixed(2)}kB`:`${(e/(1024*1024)).toFixed(2)}MB`,xL=e=>{if(e.size>Uc)return{valid:!1,error:`File "${e.name}" is too large (${zc(e.size)}). Maximum size is ${zc(Uc)}.`};if(!am.has(e.type)){const t=Array.from(am).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 fy(e,t,{signal:n}={}){var p,b,T,v,A,N;const a=e.body.getReader(),s=new TextDecoder,u=e.headers.get("content-type")||"",o=u.includes("text/event-stream")||u.includes("stream");let d="",f="",h=null;for(;;){if(n!=null&&n.aborted)throw new DOMException("Aborted","AbortError");const{value:I,done:C}=await a.read();if(C)break;if(I){const R=s.decode(I,{stream:!0});if(d+=R,h===null&&d.length>0&&(h=d.trimStart().startsWith("data: ")),o||h){let P;for(;(P=d.indexOf(`
|
|
364
|
+
`))!==-1;){const X=d.slice(0,P).trim();if(d=d.slice(P+1),!!X&&X.startsWith("data: ")){const q=X.slice(6);if(q==="[DONE]")return t(f),f;try{const L=JSON.parse(q),ne=((T=(b=(p=L==null?void 0:L.choices)==null?void 0:p[0])==null?void 0:b.delta)==null?void 0:T.content)||"";ne&&(f+=ne,t(f))}catch(L){console.error("Failed to parse SSE data:",L,q)}}}}else f+=R,t(f),d=""}}if((o||h)&&d.trim()){const I=d.trim();if(I.startsWith("data: ")){const C=I.slice(6);if(C!=="[DONE]")try{const R=JSON.parse(C),P=((N=(A=(v=R==null?void 0:R.choices)==null?void 0:v[0])==null?void 0:A.delta)==null?void 0:N.content)||"";P&&(f+=P)}catch(R){console.error("Failed to parse final SSE data:",R,C)}}}return t(f),f}function hy(e){return e.replace(/<think>[\s\S]*?<\/think>/g,"")}const AL=({children:e,className:t,node:n,inline:a,...s})=>{const[u,o]=Le.useState(!1),d=Le.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
|
+
`)?W.jsx("code",{className:t,...s,children:e}):W.jsxs("div",{className:"relative group",children:[W.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:u?W.jsxs(W.Fragment,{children:[W.jsx("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:W.jsx("polyline",{points:"20 6 9 17 4 12"})}),W.jsx("span",{children:"Copied!"})]}):W.jsx(W.Fragment,{children:W.jsxs("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[W.jsx("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),W.jsx("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})]})})}),W.jsx("code",{ref:d,className:t,...s,children:e})]})},wL=({children:e})=>W.jsx("div",{className:"not-prose",children:e}),NL=({href:e,onSend:t,...n})=>{const a=Le.useCallback(s=>{t(decodeURIComponent(e.slice(23))),s.preventDefault()},[e,t]);return e.startsWith("https://cycls.com/send/")?W.jsx("a",{...n,className:n.className||"underline decoration-gray-500/40 decoration-2 hover:decoration-gray-500/60",href:"#",onClick:a}):W.jsx("a",{...n,href:e,target:"_blank",rel:"noreferrer"})},my=we.memo(({markdown:e,onSend:t})=>{const n=Le.useMemo(()=>({raw:wL,a:a=>W.jsx(NL,{...a,onSend:t}),code:AL}),[t]);return W.jsx("div",{dir:"auto",children:W.jsx(CS,{components:n,remarkPlugins:[HA,bD],rehypePlugins:[lC,sD,[$O,{ignoreMissing:!0,detect:!0}]],children:e})})}),kL=({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 W.jsx("div",{className:"rounded-lg border border-red-200 bg-red-50 p-4 my-2",children:W.jsxs("div",{className:"flex items-start gap-3",children:[W.jsx("div",{className:"flex-shrink-0 mt-0.5",children:W.jsxs("svg",{className:"h-5 w-5 text-red-600",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[W.jsx("circle",{cx:"12",cy:"12",r:"10"}),W.jsx("line",{x1:"12",y1:"8",x2:"12",y2:"12"}),W.jsx("line",{x1:"12",y1:"16",x2:"12.01",y2:"16"})]})}),W.jsxs("div",{className:"flex-1 min-w-0",children:[W.jsx("p",{className:"text-sm font-medium text-red-900",children:"Error"}),W.jsx("p",{className:"text-sm text-red-700 mt-1",children:a(e)}),t&&e.type!=="abort"&&W.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?W.jsxs(W.Fragment,{children:[W.jsxs("svg",{className:"animate-spin h-4 w-4",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[W.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),W.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"})]}),W.jsx("span",{children:"Retrying..."})]}):W.jsxs(W.Fragment,{children:[W.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[W.jsx("polyline",{points:"23 4 23 10 17 10"}),W.jsx("polyline",{points:"1 20 1 14 7 14"}),W.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"})]}),W.jsx("span",{children:"Retry"})]})})]})]})})},CL=({message:e,onCopy:t,onRegenerate:n,isLastAssistant:a})=>{const[s,u]=Le.useState(!1),o=async()=>{try{const{clean:d}=kl(e.content);await navigator.clipboard.writeText(d),u(!0),setTimeout(()=>u(!1),2e3)}catch(d){console.error("Failed to copy:",d)}};return W.jsxs("div",{className:"flex items-center gap-1 opacity-0 group-hover:opacity-100 transition-opacity duration-200",children:[W.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?W.jsxs(W.Fragment,{children:[W.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:W.jsx("polyline",{points:"20 6 9 17 4 12"})}),W.jsx("span",{children:"Copied!"})]}):W.jsxs(W.Fragment,{children:[W.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[W.jsx("rect",{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}),W.jsx("path",{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"})]}),W.jsx("span",{children:"Copy"})]})}),a&&W.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:[W.jsxs("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[W.jsx("polyline",{points:"23 4 23 10 17 10"}),W.jsx("polyline",{points:"1 20 1 14 7 14"}),W.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"})]}),W.jsx("span",{children:"Regenerate"})]})]})},OL=({error:e,onDismiss:t})=>(Le.useEffect(()=>{const n=setTimeout(t,5e3);return()=>clearTimeout(n)},[t]),W.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:W.jsxs("div",{className:"flex items-start gap-3",children:[W.jsx("div",{className:"flex-shrink-0 mt-0.5",children:W.jsxs("svg",{className:"h-5 w-5 text-red-600",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:[W.jsx("circle",{cx:"12",cy:"12",r:"10"}),W.jsx("line",{x1:"12",y1:"8",x2:"12",y2:"12"}),W.jsx("line",{x1:"12",y1:"16",x2:"12.01",y2:"16"})]})}),W.jsxs("div",{className:"flex-1 min-w-0",children:[W.jsx("p",{className:"text-sm font-medium text-red-900",children:"Upload Error"}),W.jsx("p",{className:"text-sm text-red-700 mt-1",children:e})]}),W.jsx("button",{onClick:t,className:"flex-shrink-0 text-red-400 hover:text-red-600 transition-colors","aria-label":"Dismiss",children:W.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"currentColor",children:W.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"})})})]})})),RL=({file:e,onRemove:t})=>{const[n,a]=Le.useState(null),s=e.type.startsWith("image/");return Le.useEffect(()=>{if(!s)return;const u=new FileReader;u.onloadend=()=>a(String(u.result)),u.readAsDataURL(e)},[e,s]),W.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:[W.jsx("div",{className:"w-10 h-10 rounded-md overflow-hidden bg-gray-100 flex items-center justify-center",children:s&&n?W.jsx("img",{src:n,alt:e.name,className:"w-full h-full object-cover"}):W.jsx("span",{className:"text-xs",children:"📄"})}),W.jsxs("div",{className:"min-w-0 leading-tight",children:[W.jsx("div",{className:"text-xs font-medium text-gray-900 truncate max-w-[100px]",children:e.name}),W.jsx("div",{className:"text-xs text-left text-gray-500",children:zc(e.size)})]}),W.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:W.jsx("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",children:W.jsx("path",{d:"M9 3L3 9M3 3L9 9",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})})]})},ML=({attachments:e=[]})=>e.length?W.jsx("div",{className:"mt-3 flex flex-wrap gap-2",children:e.map((t,n)=>{const a=_L(t.mime);if(a==="image")return W.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:W.jsx("img",{src:t.url,alt:"",loading:"lazy",className:"mb-1 w-40 rounded-md"})},n);const s={pdf:"📄",csv:"📊",md:"📝",txt:"📝"}[a]||"📎";return W.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:[W.jsx("span",{className:"text-xl",children:s}),W.jsx("span",{className:"text-xs text-gray-600 uppercase font-semibold tracking-wide",children:a||"file"})]},n)})}):null,DL=({fileName:e,progress:t})=>W.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:W.jsxs("div",{className:"flex items-center gap-3",children:[W.jsx("div",{className:"flex-shrink-0",children:W.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:[W.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),W.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"})]})}),W.jsxs("div",{className:"flex-1 min-w-0",children:[W.jsx("p",{className:"text-sm font-medium text-gray-900 truncate",children:e}),W.jsx("div",{className:"mt-1 w-full bg-gray-200 rounded-full h-1.5",children:W.jsx("div",{className:"bg-gray-900 h-1.5 rounded-full transition-all duration-300",style:{width:`${t}%`}})})]})]})}),IL=({onSend:e,heroActive:t=!1,isLoading:n=!1,onStop:a})=>{const[s,u]=Le.useState(""),[o,d]=Le.useState([]),[f,h]=Le.useState(!1),[p,b]=Le.useState(!1),[T,v]=Le.useState(null),[A,N]=Le.useState(!1),I=Le.useRef(null),C=Le.useRef(null),R=Le.useRef(0);Le.useEffect(()=>{const se=()=>h(window.innerWidth<=768);return se(),window.addEventListener("resize",se),()=>window.removeEventListener("resize",se)},[]),Le.useEffect(()=>{const se=requestAnimationFrame(()=>b(!0));return()=>cancelAnimationFrame(se)},[]);const P=Le.useCallback(se=>{const de=[];for(const ye of se){const ue=xL(ye);if(ue.valid)de.push(ye);else{v(ue.error);break}}de.length>0&&d(ye=>[...ye,...de])},[]);Le.useEffect(()=>{const se=oe=>{oe.preventDefault(),oe.stopPropagation(),R.current++,oe.dataTransfer.types.includes("Files")&&N(!0)},de=oe=>{oe.preventDefault(),oe.stopPropagation(),R.current--,R.current===0&&N(!1)},ye=oe=>{oe.preventDefault(),oe.stopPropagation()},ue=oe=>{oe.preventDefault(),oe.stopPropagation(),N(!1),R.current=0;const K=Array.from(oe.dataTransfer.files||[]);K.length>0&&P(K)};return document.addEventListener("dragenter",se),document.addEventListener("dragleave",de),document.addEventListener("dragover",ye),document.addEventListener("drop",ue),()=>{document.removeEventListener("dragenter",se),document.removeEventListener("dragleave",de),document.removeEventListener("dragover",ye),document.removeEventListener("drop",ue)}},[P]),Le.useEffect(()=>{const se=de=>{var K;if(!(document.activeElement===C.current))return;const oe=Array.from(((K=de.clipboardData)==null?void 0:K.items)||[]).filter(le=>le.type.startsWith("image/"));if(oe.length>0){de.preventDefault();const le=oe.map(me=>me.getAsFile()).filter(me=>me!==null);le.length>0&&P(le)}};return document.addEventListener("paste",se),()=>document.removeEventListener("paste",se)},[P]);const X=()=>{var se;return(se=I.current)==null?void 0:se.click()},q=se=>{const de=Array.from(se.target.files||[]);P(de),se.target.value=""},L=se=>d(de=>de.filter((ye,ue)=>ue!==se)),ne=async()=>{n||(e({text:s,files:o}),u(""),d([]))},te=se=>{se.key==="Enter"&&!se.shiftKey&&!f&&!n&&(se.preventDefault(),ne())},G=["fixed inset-x-2 md:inset-x-0 mx-auto max-w-3xl z-40",p?"transition-transform transition-opacity duration-700 ease-[cubic-bezier(0.22,1,0.36,1)] will-change-transform":"","bottom-[max(0.75rem,env(safe-area-inset-bottom))] md:bottom-[max(1rem,env(safe-area-inset-bottom))]",t?"translate-y-[-40vh] opacity-100":"translate-y-0 opacity-100"].join(" ");return W.jsxs(W.Fragment,{children:[T&&W.jsx(OL,{error:T,onDismiss:()=>v(null)}),A&&W.jsx("div",{className:"fixed inset-0 z-50 bg-gray-900/50 backdrop-blur-sm flex items-center justify-center pointer-events-none",children:W.jsx("div",{className:"bg-white rounded-2xl shadow-2xl p-8 max-w-md mx-4 border-2 border-dashed border-gray-900",children:W.jsxs("div",{className:"text-center",children:[W.jsx("div",{className:"mx-auto w-16 h-16 bg-gray-100 rounded-full flex items-center justify-center mb-4",children:W.jsx("svg",{className:"w-8 h-8 text-gray-900",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:W.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"})})}),W.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-2",children:"Drop files to upload"}),W.jsx("p",{className:"text-sm text-gray-600",children:"Images, PDFs, and text files supported"}),W.jsxs("p",{className:"text-xs text-gray-500 mt-2",children:["Max ",zc(Uc)," per file"]})]})})}),W.jsx("div",{className:G,children:W.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&&W.jsx("div",{className:"px-3 pt-3",children:W.jsx("div",{className:"flex flex-wrap gap-2",children:o.map((se,de)=>W.jsx(RL,{file:se,onRemove:()=>L(de)},de))})}),W.jsxs("div",{className:"px-3 pb-3 pt-2",children:[W.jsx("textarea",{ref:C,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:se=>u(se.target.value),onKeyDown:te,value:s,disabled:n}),W.jsxs("div",{className:"flex items-center gap-2",children:[W.jsx("button",{onClick:X,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:W.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:W.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"})})}),W.jsx("input",{ref:I,type:"file",multiple:!0,className:"hidden",onChange:q,accept:".jpg,.jpeg,.png,.webp,.pdf,.txt,.md,.csv"}),W.jsx("div",{className:"flex-1"}),n&&W.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:W.jsx("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"currentColor",children:W.jsx("rect",{x:"6",y:"6",width:"12",height:"12",rx:"2"})})}),!n&&W.jsx("button",{onClick:ne,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:W.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:W.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"})})})]})]})]})})]})},LL=we.memo(({messages:e,onSend:t,onRegenerate:n,isGenerating:a,onRetry:s,retryingIndex:u})=>{const o=Le.useMemo(()=>e.map((d,f)=>{if(d.type==="request"){const{clean:p,attachments:b}=kl(d.content),T=/[\u0591-\u07FF\uFB1D-\uFDFD\uFE70-\uFEFC]/.test(p);return W.jsx("div",{className:`flex mb-4 ${T?"justify-start":"justify-end"}`,children:W.jsxs("div",{className:"max-w-[85%] md:max-w-[75%]",children:[b.length>0&&W.jsx("div",{className:"mb-1",children:W.jsx(ML,{attachments:b})}),p&&W.jsx("div",{className:"bg-gray-100 text-black px-4 py-2 rounded-3xl shadow-sm",children:W.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 W.jsx("div",{className:"flex mb-4 justify-start group",children:W.jsx("div",{className:"max-w-[85%] md:max-w-[100%]",children:d.error?W.jsx(kL,{error:d.error,onRetry:()=>s(f),isRetrying:u===f}):W.jsxs(W.Fragment,{children:[W.jsxs("div",{className:"prose prose-sm max-w-none",children:[W.jsx(my,{markdown:d.content,onSend:t}),d.content===""&&W.jsx("div",{className:"h-4 w-32 bg-gray-200 rounded animate-pulse"})]}),d.content&&d.content!==""&&W.jsx(CL,{message:d,onRegenerate:()=>n(f),isLastAssistant:h})]})})},f)}),[e,t,n,a,s,u]);return W.jsx("div",{className:"space-y-1",children:o})}),BL=(e,t,n,a,s,u,o,d=()=>{})=>async f=>{const h=typeof f=="object"&&f!==null,p=h?f.text||"":String(f||""),b=h?f.files||[]:[];if(!p.trim()&&b.length===0){n(!0);return}if(p===":clear"&&b.length===0){t([]),window.scrollTo(0,0);return}e.length===0&&d(),a(!0),o(!1);let T=[];for(let R=0;R<b.length;R++){const P=b[R];try{s({fileName:P.name,progress:0});const X=await SL(P);s({fileName:P.name,progress:100}),T.push(X),setTimeout(()=>s(null),500)}catch(X){console.error("Upload error:",X),s(null),a(!1),t(q=>[...q,{type:"request",content:p},{type:"response",content:"",error:{type:"server",message:`Failed to upload ${P.name}: ${X.message}`,status:null}}]);return}}let v=p;if(T.length>0){const R=`<!--cycls:attachments
|
|
367
|
+
${JSON.stringify(T)}
|
|
368
|
+
cycls:attachments-->`;v=`${p}
|
|
369
|
+
|
|
370
|
+
${R}`}t(R=>[...R,{type:"request",content:v},{type:"response",content:""}]);const N=[...e,{type:"request",content:v}].map(({type:R,content:P})=>{const X=R==="request"?"user":"assistant",{clean:q,attachments:L}=kl(P);if(L.length===0)return{role:X,content:P};const ne=[];q.trim()&&ne.push({type:"text",text:q});for(const te of L)te.mime&&te.mime.startsWith("image/")?ne.push({type:"image_url",image_url:{url:te.url}}):ne.push({type:"file",text:`[File attached: ${te.name}]
|
|
371
|
+
File URL: ${te.url}
|
|
372
|
+
File type: ${te.mime||"unknown"}`});return{role:X,content:ne}});u.current=new AbortController;let I=!1;const C=setTimeout(()=>{u.current&&(I=!0,u.current.abort())},12e4);try{const P=await fetch("/chat/completions",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({messages:N,stream:!0}),signal:u.current.signal});if(clearTimeout(C),!P.ok){let q="server",L=`Server returned ${P.status}`;if(P.status===429){q="rate_limit";const ne=P.headers.get("Retry-After");L=ne?`Too many requests. Please try again in ${ne} seconds.`:"Too many requests. Please wait a moment and try again."}else P.status>=500?L="Server error. Please try again later.":(P.status===401||P.status===403)&&(L="Authentication error. Please refresh and try again.");throw{type:q,status:P.status,message:L}}await fy(P,q=>{const L=hy(q);t(ne=>{const te=[...ne];return te[te.length-1].content=L,te})},{signal:u.current.signal}),a(!1),n(!0)}catch(R){clearTimeout(C);let P={type:"server",message:"An unexpected error occurred",status:null};if(R.name==="AbortError")if(I)P={type:"timeout",message:"Request timed out. The server took too long to respond."};else{console.log("Generation stopped by user"),t(X=>{var L;const q=[...X];return((L=q[q.length-1])==null?void 0:L.type)==="response"&&(q[q.length-1].content+=`
|
|
373
|
+
|
|
374
|
+
*[Generation stopped]*`),q}),a(!1),n(!0);return}else R instanceof TypeError&&R.message.includes("fetch")?P={type:"network",message:"Network error. Please check your connection and try again."}:R.type&&(P=R);console.error("Request error:",R),t(X=>{var L;const q=[...X];return((L=q[q.length-1])==null?void 0:L.type)==="response"&&(q[q.length-1].error=P),q}),a(!1),n(!0)}},PL=()=>{const[e,t]=Le.useState([]),[n,a]=Le.useState(!1),[s,u]=Le.useState(!1),[o,d]=Le.useState(null),[f,h]=Le.useState(!1),[p,b]=Le.useState(!1),[T,v]=Le.useState(null),A=Le.useRef(null),N=Le.useRef(null);Le.useEffect(()=>{const L=()=>{const ne=window.scrollY||document.documentElement.scrollTop,te=document.documentElement.scrollHeight,fe=window.innerHeight,G=te-ne-fe<100;b(!G)};return window.addEventListener("scroll",L),()=>window.removeEventListener("scroll",L)},[]),Le.useEffect(()=>{!p&&N.current&&N.current.scrollIntoView({behavior:"smooth"})},[e,p]),Le.useEffect(()=>{if(n){const L=document.querySelector("textarea");L==null||L.focus(),a(!1)}},[n]);const I=Le.useCallback(BL(e,t,a,u,d,A,b,()=>h(!0)),[e]),C=Le.useCallback(()=>{A.current&&(A.current.abort(),A.current=null)},[]),R=Le.useCallback(L=>{const ne=L-1;if(ne<0)return;t(fe=>fe.slice(0,L));const te=e[ne];if(te.type==="request"){const{clean:fe,attachments:G}=kl(te.content);I({text:fe,files:[]})}},[e,I]),P=Le.useCallback(async L=>{const ne=L-1;if(ne<0)return;v(L),t(fe=>{var se;const G=[...fe];return((se=G[L])==null?void 0:se.type)==="response"&&(G[L]={type:"response",content:""}),G});const te=e[ne];if(te.type==="request"){const{clean:fe}=kl(te.content),G=e.slice(0,L);u(!0),b(!1);const se=G.map(({type:ue,content:oe})=>{const K=ue==="request"?"user":"assistant",{clean:le,attachments:me}=kl(oe);if(me.length===0)return{role:K,content:oe};const Pe=[];le.trim()&&Pe.push({type:"text",text:le});for(const x of me)x.mime&&x.mime.startsWith("image/")?Pe.push({type:"image_url",image_url:{url:x.url}}):Pe.push({type:"file",text:`[File attached: ${x.name}]
|
|
375
|
+
File URL: ${x.url}
|
|
376
|
+
File type: ${x.mime||"unknown"}`});return{role:K,content:Pe}});A.current=new AbortController;let de=!1;const ye=setTimeout(()=>{A.current&&(de=!0,A.current.abort())},12e4);try{const oe=await fetch("/chat/completions",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({messages:se,stream:!0}),signal:A.current.signal});if(clearTimeout(ye),!oe.ok){let le="server",me=`Server returned ${oe.status}`;if(oe.status===429){le="rate_limit";const Pe=oe.headers.get("Retry-After");me=Pe?`Too many requests. Please try again in ${Pe} seconds.`:"Too many requests. Please wait a moment and try again."}else oe.status>=500?me="Server error. Please try again later.":(oe.status===401||oe.status===403)&&(me="Authentication error. Please refresh and try again.");throw{type:le,status:oe.status,message:me}}await fy(oe,le=>{const me=hy(le);t(Pe=>{const x=[...Pe];return x[L].content=me,x})},{signal:A.current.signal}),u(!1),v(null),a(!0)}catch(ue){clearTimeout(ye);let oe={type:"server",message:"An unexpected error occurred",status:null};if(ue.name==="AbortError")if(de)oe={type:"timeout",message:"Request timed out. The server took too long to respond."};else{console.log("Retry stopped by user"),t(K=>{const le=[...K];return le[L].content+=`
|
|
377
|
+
|
|
378
|
+
*[Generation stopped]*`,le}),u(!1),v(null),a(!0);return}else ue instanceof TypeError&&ue.message.includes("fetch")?oe={type:"network",message:"Network error. Please check your connection and try again."}:ue.type&&(oe=ue);console.error("Retry error:",ue),t(K=>{const le=[...K];return le[L].error=oe,le}),u(!1),v(null),a(!0)}}},[e]),X=e.length===0,q=X&&!f;return W.jsxs("div",{className:"mx-auto max-w-3xl min-h-screen px-4 pb-[200px] md:pb-[180px]",children:[o&&W.jsx(DL,{fileName:o.fileName,progress:o.progress}),X&&W.jsx("div",{className:`grid place-items-center min-h-[75vh] text-center transition-all duration-700 ease-[cubic-bezier(0.22,1,0.36,1)] ${q?"opacity-100 translate-y-0":"opacity-0 -translate-y-2 pointer-events-none"}`,children:W.jsx("div",{children:W.jsx("h1",{className:"text-[28px] md:text-[32px] font-medium tracking-tight text-gray-900",children:"What's on your mind?"})})}),!X&&W.jsxs(W.Fragment,{children:[W.jsx("div",{className:"prose m-2 mx-auto max-w-3xl p-2 prose-pre:p-0",children:W.jsx(my,{markdown:TL,onSend:I})}),W.jsxs("div",{className:`transition-opacity duration-500 ${f?"opacity-100":"opacity-0"}`,children:[W.jsx(LL,{messages:e,onSend:I,onRegenerate:R,onRetry:P,retryingIndex:T,isGenerating:s}),W.jsx("div",{ref:N})]})]}),W.jsx(IL,{onSend:I,isLoading:s,heroActive:q,onStop:C})]})},UL=document.getElementById("root"),zL=Sv.createRoot(UL);zL.render(W.jsx(PL,{}));
|