PageSourceSearch

https://montaperto-4vushnkq.manus.space/assets/index-CN4cwvGX.js

js montaperto-4vushnkq.manus.space collected 2026-10-03 05:03:27 UTC 1,445,126 bytes, 836 lines download raw bytes

vendor: 8,302 bytes, lines 1-18
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/angular-html-CU67Zn6k.js","assets/html-GMplVEZG.js","assets/javascript-wDzz0qaB.js","assets/css-DPfMkruS.js","assets/angular-ts-BwZT4LLn.js","assets/scss-OYdSNvt2.js","assets/apl-dKokRX4l.js","assets/xml-sdJ4AIDG.js","assets/java-CylS5w8V.js","assets/json-Cp-IABpG.js","assets/astro-CbQHKStN.js","assets/typescript-BPQ3VLAy.js","assets/postcss-CXtECtnM.js","assets/tsx-COt5Ahok.js","assets/blade-DVc8C-J4.js","assets/html-derivative-BFtXZ54Q.js","assets/sql-BLtJtn59.js","assets/bsl-BO_Y6i37.js","assets/sdbl-DVxCFoDh.js","assets/cairo-KRGpt6FW.js","assets/python-B6aJPvgy.js","assets/cobol-nwyudZeR.js","assets/coffee-Ch7k5sss.js","assets/cpp-CofmeUqb.js","assets/regexp-CDVJQ6XC.js","assets/glsl-DplSGwfg.js","assets/c-BIGW1oBm.js","assets/crystal-tKQVLTB8.js","assets/shellscript-Yzrsuije.js","assets/edge-BkV0erSs.js","assets/elixir-CDX3lj18.js","assets/elm-DbKCFpqz.js","assets/erb-BOJIQeun.js","assets/ruby-BvKwtOVI.js","assets/haml-B8DHNrY2.js","assets/graphql-ChdNCCLP.js","assets/jsx-g9-lgVsj.js","assets/lua-BbnMAYS6.js","assets/yaml-Buea-lGh.js","assets/erlang-DsQrWhSR.js","assets/markdown-Cvjx9yec.js","assets/fortran-fixed-form-BZjJHVRy.js","assets/fortran-free-form-D22FLkUw.js","assets/fsharp-CXgrBDvD.js","assets/gdresource-B7Tvp0Sc.js","assets/gdshader-DkwncUOv.js","assets/gdscript-DTMYz4Jt.js","assets/git-commit-F4YmCXRG.js","assets/diff-D97Zzqfu.js","assets/git-rebase-r7XF79zn.js","assets/glimmer-js-Rg0-pVw9.js","assets/glimmer-ts-U6CK756n.js","assets/hack-CaT9iCJl.js","assets/handlebars-BL8al0AC.js","assets/http-jrhK8wxY.js","assets/hurl-irOxFIW8.js","assets/csv-fuZLfV_i.js","assets/hxml-Bvhsp5Yf.js","assets/haxe-CzTSHFRz.js","assets/jinja-4LBKfQ-Z.js","assets/jison-wvAkD_A8.js","assets/julia-C8NyazO9.js","assets/r-DiinP2Uv.js","assets/latex-BUKiar2Z.js","assets/tex-Cppo0RY3.js","assets/liquid-DYVedYrR.js","assets/marko-CPi9NSCl.js","assets/less-B1dDrJ26.js","assets/mdc-DUICxH0z.js","assets/nginx-DknmC5AR.js","assets/nim-CVrawwO9.js","assets/perl-C0TMdlhV.js","assets/php-CDn_0X-4.js","assets/pug-CGlum2m_.js","assets/qml-3beO22l8.js","assets/razor-WgofotgN.js","assets/csharp-CX12Zw3r.js","assets/rst-B0xPkSld.js","assets/cmake-D1j8_8rp.js","assets/sas-cz2c8ADy.js","assets/shaderlab-Dg9Lc6iA.js","assets/hlsl-D3lLCCz7.js","assets/shellsession-BADoaaVG.js","assets/soy-Brmx7dQM.js","assets/sparql-rVzFXLq3.js","assets/turtle-BsS91CYL.js","assets/stata-BH5u7GGu.js","assets/svelte-3Dk4HxPD.js","assets/templ-W15q3VgB.js","assets/go-Dn2_MT6a.js","assets/ts-tags-zn1MmPIZ.js","assets/twig-CO9l9SDP.js","assets/vue-CCoi5OLL.js","assets/vue-html-DAAvJJDi.js","assets/vue-vine-_Ih-lPRR.js","assets/stylus-BEDo0Tqx.js","assets/xsl-CtQFsRM5.js"])))=>i.map(i=>d[i]);
2function NO(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const a in r)if(a!=="default"&&!(a in e)){const s=Object.getOwnPropertyDescriptor(r,a);s&&Object.defineProperty(e,a,s.get?s:{enumerable:!0,get:()=>r[a]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))r(a);new MutationObserver(a=>{for(const s of a)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(a){const s={};return a.integrity&&(s.integrity=a.integrity),a.referrerPolicy&&(s.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?s.credentials="include":a.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(a){if(a.ep)return;a.ep=!0;const s=n(a);fetch(a.href,s)}})();function Mh(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var V1={exports:{}},bc={};/**
3 * @license React
4 * react-jsx-runtime.production.js
5 *
6 * Copyright (c) Meta Platforms, Inc. and affiliates.
7 *
8 * This source code is licensed under the MIT license found in the
9 * LICENSE file in the root directory of this source tree.
10 */var Ox;function RO(){if(Ox)return bc;Ox=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,a,s){var o=null;if(s!==void 0&&(o=""+s),a.key!==void 0&&(o=""+a.key),"key"in a){s={};for(var u in a)u!=="key"&&(s[u]=a[u])}else s=a;return a=s.ref,{$$typeof:e,type:r,key:o,ref:a!==void 0?a:null,props:s}}return bc.Fragment=t,bc.jsx=n,bc.jsxs=n,bc}var Dx;function OO(){return Dx||(Dx=1,V1.exports=RO()),V1.exports}var x=OO(),G1={exports:{}},Je={};/**
11 * @license React
12 * react.production.js
13 *
14 * Copyright (c) Meta Platforms, Inc. and affiliates.
15 *
16 * This source code is licensed under the MIT license found in the
17 * LICENSE file in the root directory of this source tree.
18 */var Ix;function DO(){if(Ix)return Je;Ix=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.consumer"),o=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),m=Symbol.for("react.activity"),b=Symbol.iterator;function y($){return $===null||typeof $!="object"?null:($=b&&$[b]||$["@@iterator"],typeof $=="function"?$:null)}var _={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},w=Object.assign,k={};function A($,ce,I){this.props=$,this.context=ce,this.refs=k,this.updater=I||_}A.prototype.isReactComponent={},A.prototype.setState=function($,ce){if(typeof $!="object"&&typeof $!="function"&&$!=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,$,ce,"setState")},A.prototype.forceUpdate=function($){this.updater.enqueueForceUpdate(this,$,"forceUpdate")};function R(){}R.prototype=A.prototype;function D($,ce,I){this.props=$,this.context=ce,this.refs=k,this.updater=I||_}var F=D.prototype=new R;F.constructor=D,w(F,A.prototype),F.isPureReactComponent=!0;var H=Array.isArray;function P(){}var z={H:null,A:null,T:null,S:null},K=Object.prototype.hasOwnProperty;function ee($,ce,I){var he=I.ref;return{$$typeof:e,type:$,key:ce,ref:he!==void 0?he:null,props:I}}function Y($,ce){return ee($.type,ce,$.props)}function se($){return typeof $=="object"&&$!==null&&$.$$typeof===e}function re($){var ce={"=":"=0",":":"=2"};return"$"+$.replace(/[=:]/g,function(I){return ce[I]})}var pe=/\/+/g;function ue($,ce){return typeof $=="object"&&$!==null&&$.key!=null?re(""+$.key):ce.toString(36)}function be($){switch($.status){case"fulfilled":return $.value;case"rejected":throw $.reason;default:switch(typeof $.status=="string"?$.then(P,P):($.status="pending",$.then(function(ce){$.status==="pending"&&($.status="fulfilled",$.value=ce)},function(ce){$.status==="pending"&&($.status="rejected",$.reason=ce)})),$.status){case"fulfilled":return $.value;case"rejected":throw $.reason}}throw $}function G($,ce,I,he,_e){var De=typeof $;(De==="undefined"||De==="boolean")&&($=null);var Me=!1;if($===null)Me=!0;else switch(De){case"bigint":case"string":case"number":Me=!0;break;case"object":switch($.$$typeof){case e:case t:Me=!0;break;case p:return Me=$._init,G(Me($._payload),ce,I,he,_e)}}if(Me)return _e=_e($),Me=he===""?"."+ue($,0):he,H(_e)?(I="",Me!=null&&(I=Me.replace(pe,"$&/")+"/"),G(_e,ce,I,"",function(Ct){return Ct})):_e!=null&&(se(_e)&&(_e=Y(_e,I+(_e.key==null||$&&$.key===_e.key?"":(""+_e.key).replace(pe,"$&/")+"/")+Me)),ce.push(_e)),1;Me=0;var Ue=he===""?".":he+":";if(H($))for(var Ke=0;Ke<$.length;Ke++)he=$[Ke],De=Ue+ue(he,Ke),Me+=G(he,ce,I,De,_e);else if(Ke=y($),typeof Ke=="function")for($=Ke.call($),Ke=0;!(he=$.next()).done;)he=he.value,De=Ue+ue(he,Ke++),Me+=G(he,ce,I,De,_e);else if(De==="object"){if(typeof $.then=="function")return G(be($),ce,I,he,_e);throw ce=String($),Error("Objects are not valid as a React child (found: "+(ce==="[object Object]"?"object with keys {"+Object.keys($).join(", ")+"}":ce)+"). If you meant to render a collection of children, use an array instead.")}return Me}
vendor: 4,424 bytes, line 18
18function ae($,ce,I){if($==null)return $;var he=[],_e=0;return G($,he,"","",function(De){return ce.call(I,De,_e++)}),he}function te($){if($._status===-1){var ce=$._result;ce=ce(),ce.then(function(I){($._status===0||$._status===-1)&&($._status=1,$._result=I)},function(I){($._status===0||$._status===-1)&&($._status=2,$._result=I)}),$._status===-1&&($._status=0,$._result=ce)}if($._status===1)return $._result.default;throw $._result}var Oe=typeof reportError=="function"?reportError:function($){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var ce=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof $=="object"&&$!==null&&typeof $.message=="string"?String($.message):String($),error:$});if(!window.dispatchEvent(ce))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",$);return}console.error($)},U={map:ae,forEach:function($,ce,I){ae($,function(){ce.apply(this,arguments)},I)},count:function($){var ce=0;return ae($,function(){ce++}),ce},toArray:function($){return ae($,function(ce){return ce})||[]},only:function($){if(!se($))throw Error("React.Children.only expected to receive a single React element child.");return $}};return Je.Activity=m,Je.Children=U,Je.Component=A,Je.Fragment=n,Je.Profiler=a,Je.PureComponent=D,Je.StrictMode=r,Je.Suspense=c,Je.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=z,Je.__COMPILER_RUNTIME={__proto__:null,c:function($){return z.H.useMemoCache($)}},Je.cache=function($){return function(){return $.apply(null,arguments)}},Je.cacheSignal=function(){return null},Je.cloneElement=function($,ce,I){if($==null)throw Error("The argument must be a React element, but you passed "+$+".");var he=w({},$.props),_e=$.key;if(ce!=null)for(De in ce.key!==void 0&&(_e=""+ce.key),ce)!K.call(ce,De)||De==="key"||De==="__self"||De==="__source"||De==="ref"&&ce.ref===void 0||(he[De]=ce[De]);var De=arguments.length-2;if(De===1)he.children=I;else if(1<De){for(var Me=Array(De),Ue=0;Ue<De;Ue++)Me[Ue]=arguments[Ue+2];he.children=Me}return ee($.type,_e,he)},Je.createContext=function($){return $={$$typeof:o,_currentValue:$,_currentValue2:$,_threadCount:0,Provider:null,Consumer:null},$.Provider=$,$.Consumer={$$typeof:s,_context:$},$},Je.createElement=function($,ce,I){var he,_e={},De=null;if(ce!=null)for(he in ce.key!==void 0&&(De=""+ce.key),ce)K.call(ce,he)&&he!=="key"&&he!=="__self"&&he!=="__source"&&(_e[he]=ce[he]);var Me=arguments.length-2;if(Me===1)_e.children=I;else if(1<Me){for(var Ue=Array(Me),Ke=0;Ke<Me;Ke++)Ue[Ke]=arguments[Ke+2];_e.children=Ue}if($&&$.defaultProps)for(he in Me=$.defaultProps,Me)_e[he]===void 0&&(_e[he]=Me[he]);return ee($,De,_e)},Je.createRef=function(){return{current:null}},Je.forwardRef=function($){return{$$typeof:u,render:$}},Je.isValidElement=se,Je.lazy=function($){return{$$typeof:p,_payload:{_status:-1,_result:$},_init:te}},Je.memo=function($,ce){return{$$typeof:f,type:$,compare:ce===void 0?null:ce}},Je.startTransition=function($){var ce=z.T,I={};z.T=I;try{var he=$(),_e=z.S;_e!==null&&_e(I,he),typeof he=="object"&&he!==null&&typeof he.then=="function"&&he.then(P,Oe)}catch(De){Oe(De)}finally{ce!==null&&I.types!==null&&(ce.types=I.types),z.T=ce}},Je.unstable_useCacheRefresh=function(){return z.H.useCacheRefresh()},Je.use=function($){return z.H.use($)},Je.useActionState=function($,ce,I){return z.H.useActionState($,ce,I)},Je.useCallback=function($,ce){return z.H.useCallback($,ce)},Je.useContext=function($){return z.H.useContext($)},Je.useDebugValue=function(){},Je.useDeferredValue=function($,ce){return z.H.useDeferredValue($,ce)},Je.useEffect=function($,ce){return z.H.useEffect($,ce)},Je.useEffectEvent=function($){return z.H.useEffectEvent($)},Je.useId=function(){return z.H.useId()},Je.useImperativeHandle=function($,ce,I){return z.H.useImperativeHandle($,ce,I)},Je.useInsertionEffect=function($,ce){return z.H.useInsertionEffect($,ce)},Je.useLayoutEffect=function($,ce){return z.H.useLayoutEffect($,ce)},Je.useMemo=function($,ce){return z.H.useMemo($,ce)},Je.useOptimistic=function($,ce){return z.H.useOptimistic($,ce)},Je.useReducer=function($,ce,I){return z.H.useReducer($,ce,I)},Je.useRef=function($){return z.H.useRef($)},Je.useState=function($){return z.H.useState($)},Je.useSyncExternalStore=function($,ce,I){return z.H.useSyncExternalStore($,ce,I)},Je.useTransition=function(){return z.H.useTransition()},Je.version="19.2.1",Je}var Lx;
vendor: 15,044 bytes, line 18
18function Ph(){return Lx||(Lx=1,G1.exports=DO()),G1.exports}var N=Ph();const we=Mh(N),Bh=NO({__proto__:null,default:we},[N]),Y7=N.createContext(void 0),v0=e=>{const t=N.useContext(Y7);if(e)return e;if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},IO=({client:e,children:t})=>(N.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),x.jsx(Y7.Provider,{value:e,children:t})),LO={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)};var MO=class{#t=LO;#e=!1;setTimeoutProvider(e){this.#t=e}setTimeout(e,t){return this.#t.setTimeout(e,t)}clearTimeout(e){this.#t.clearTimeout(e)}setInterval(e,t){return this.#t.setInterval(e,t)}clearInterval(e){this.#t.clearInterval(e)}};const Ao=new MO;function PO(e){setTimeout(e,0)}const BO=typeof window>"u"||"Deno"in globalThis;function Pn(){}function zO(e,t){return typeof e=="function"?e(t):e}function Q7(e){return typeof e=="number"&&e>=0&&e!==1/0}function W7(e,t){return Math.max(e+(t||0)-Date.now(),0)}function nn(e,t){return typeof e=="function"?e(t):e}function Mx(e,t){const{type:n="all",exact:r,fetchStatus:a,predicate:s,queryKey:o,stale:u}=e;if(o){if(r){if(t.queryHash!==Lb(o,t.options))return!1}else if(!nu(t.queryKey,o))return!1}if(n!=="all"){const c=t.isActive();if(n==="active"&&!c||n==="inactive"&&c)return!1}return!(typeof u=="boolean"&&t.isStale()!==u||a&&a!==t.state.fetchStatus||s&&!s(t))}function Px(e,t){const{exact:n,status:r,predicate:a,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;if(n){if(Bs(t.options.mutationKey)!==Bs(s))return!1}else if(!nu(t.options.mutationKey,s))return!1}return!(r&&t.state.status!==r||a&&!a(t))}function Lb(e,t){return(t?.queryKeyHashFn||Bs)(e)}function Bs(e){return JSON.stringify(e,(t,n)=>h2(n)?Object.keys(n).sort().reduce((r,a)=>(r[a]=n[a],r),{}):n)}function nu(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(Array.isArray(e)&&Array.isArray(t)){for(let r=0;r<t.length;r++)if(!nu(e[r],t[r]))return!1;return!0}const n=Object.keys(t);for(const r of n)if(!nu(e[r],t[r]))return!1;return!0}return!1}const HO=Object.prototype.hasOwnProperty;function Mb(e,t,n=0){if(e===t)return e;if(n>500)return t;const r=Bx(e)&&Bx(t);if(!r&&!(h2(e)&&h2(t)))return t;const a=(r?e:Object.keys(e)).length,s=r?t:Object.keys(t),o=s.length,u=r?new Array(o):{};let c=0;for(let f=0;f<o;f++){const p=r?f:s[f],m=e[p],b=t[p];if(m===b){u[p]=m,(r?f<a:HO.call(e,p))&&c++;continue}if(m===null||b===null||typeof m!="object"||typeof b!="object"){u[p]=b;continue}const y=Mb(m,b,n+1);u[p]=y,y===m&&c++}return a===o&&c===a?e:u}function Mc(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function Bx(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function h2(e){if(!zx(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!zx(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function zx(e){return Object.prototype.toString.call(e)==="[object Object]"}function jO(e){return new Promise(t=>{Ao.setTimeout(t,e)})}function m2(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Mb(e,t):t}function FO(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function UO(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}const Fr=Symbol();function X7(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:!e.queryFn||e.queryFn===Fr?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}function Pb(e,t){return typeof e=="function"?e(...t):!!e}function qO(e,t,n){let r=!1,a;return Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(a??=t(),r||(r=!0,a.aborted?n():a.addEventListener("abort",n,{once:!0})),a)}),e}let $O=()=>BO;const Bb=()=>$O();var Bo=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},VO=class extends Bo{#t;#e;#n;constructor(){super(),this.#n=e=>{if(typeof window<"u"&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#e||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(e){this.#n=e,this.#e?.(),this.#e=e(t=>{typeof t=="boolean"?this.setFocused(t):this.onFocus()})}setFocused(e){this.#t!==e&&(this.#t=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return typeof this.#t=="boolean"?this.#t:globalThis.document?.visibilityState!=="hidden"}};const zb=new VO,GO=PO;function YO(){let e=[],t=0,n=u=>{u()},r=u=>{u()},a=GO;const s=u=>{t?e.push(u):a(()=>{n(u)})},o=()=>{const u=e;e=[],u.length&&a(()=>{r(()=>{u.forEach(c=>{n(c)})})})};return{batch:u=>{let c;t++;try{c=u()}finally{t--,t||o()}return c},batchCalls:u=>(...c)=>{s(()=>{u(...c)})},schedule:s,setNotifyFunction:u=>{n=u},setBatchNotifyFunction:u=>{r=u},setScheduler:u=>{a=u}}}const rn=YO();var QO=class extends Bo{#t=!0;#e;#n;constructor(){super(),this.#n=e=>{if(typeof window<"u"&&window.addEventListener){const t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#e||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#e?.(),this.#e=void 0)}setEventListener(e){this.#n=e,this.#e?.(),this.#e=e(this.setOnline.bind(this))}setOnline(e){this.#t!==e&&(this.#t=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#t}};const Kf=new QO;function WO(e){return Math.min(1e3*2**e,3e4)}function K7(e){return(e??"online")==="online"?Kf.isOnline():!0}var p2=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function Z7(e){let t=!1,n=0,r,a="pending",s,o;const u=new Promise((R,D)=>{s=R,o=D});u.catch(Pn);const c=()=>a!=="pending",f=R=>{if(!c()){const D=new p2(R);w(D),e.onCancel?.(D)}},p=()=>{t=!0},m=()=>{t=!1},b=()=>zb.isFocused()&&(e.networkMode==="always"||Kf.isOnline())&&e.canRun(),y=()=>K7(e.networkMode)&&e.canRun(),_=R=>{c()||(r?.(),a="resolved",s(R))},w=R=>{c()||(r?.(),a="rejected",o(R))},k=()=>new Promise(R=>{r=D=>{(c()||b())&&R(D)},e.onPause?.()}).then(()=>{r=void 0,c()||e.onContinue?.()}),A=()=>{if(c())return;let R;const D=n===0?e.initialPromise:void 0;try{R=D??e.fn()}catch(F){R=Promise.reject(F)}Promise.resolve(R).then(_).catch(F=>{if(c())return;const H=e.retry??(Bb()?0:3),P=e.retryDelay??WO,z=typeof P=="function"?P(n,F):P,K=H===!0||typeof H=="number"&&n<H||typeof H=="function"&&H(n,F);if(t||!K){w(F);return}n++,e.onFail?.(n,F),jO(z).then(()=>b()?void 0:k()).then(()=>{t?w(F):A()})})};return{promise:u,status:()=>a,cancel:f,continue:()=>(r?.(),u),cancelRetry:p,continueRetry:m,canStart:y,start:()=>(y()?A():k().then(A),u)}}var J7=class{#t;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Q7(this.gcTime)&&(this.#t=Ao.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Bb()?1/0:3e5))}clearGcTimeout(){this.#t!==void 0&&(Ao.clearTimeout(this.#t),this.#t=void 0)}};function XO(e){return{onFetch:(t,n)=>{const r=t.options,a=t.fetchOptions?.meta?.fetchMore?.direction,s=t.state.data?.pages||[],o=t.state.data?.pageParams||[];let u={pages:[],pageParams:[]},c=0;const f=async()=>{let p=!1;const m=_=>{qO(_,()=>t.signal,()=>p=!0)},b=X7(t.options,t.fetchOptions),y=async(_,w,k)=>{if(p)return Promise.reject(t.signal.reason);if(w==null&&_.pages.length)return Promise.resolve(_);const R=(()=>{const P={client:t.client,queryKey:t.queryKey,pageParam:w,direction:k?"backward":"forward",meta:t.options.meta};return m(P),P})(),D=await b(R),{maxPages:F}=t.options,H=k?UO:FO;return{pages:H(_.pages,D,F),pageParams:H(_.pageParams,w,F)}};if(a&&s.length){const _=a==="backward",w=_?e_:g2,k={pages:s,pageParams:o};u=await y(k,w(r,k),_)}else{const _=e??s.length;do{const w=c===0?o[0]??r.initialPageParam:g2(r,u);if(c>0&&w==null)break;u=await y(u,w),c++}while(c<_)}return u};t.options.persister?t.fetchFn=()=>t.options.persister?.(f,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=f}}}function g2(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function e_(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}function KO(e,t){return t?g2(e,t)!=null:!1}function ZO(e,t){return!t||!e.getPreviousPageParam?!1:e_(e,t)!=null}var JO=class extends J7{#t;#e;#n;#r;#a;#i;#s;#l;constructor(e){super(),this.#l=!1,this.#s=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#a=e.client,this.#r=this.#a.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#e=jx(this.options),this.state=e.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get queryType(){return this.#t}get promise(){return this.#i?.promise}setOptions(e){if(this.options={...this.#s,...e},e?._type&&(this.#t=e._type),this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const t=jx(this.options);t.data!==void 0&&(this.setState(Hx(t.data,t.dataUpdatedAt)),this.#e=t)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#r.remove(this)}setData(e,t){const n=m2(this.state.data,e,this.options);return this.#o({data:n,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e){this.#o({type:"setState",state:e})}cancel(e){const t=this.#i?.promise;return this.#i?.cancel(e),t?t.then(Pn).catch(Pn):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#e}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>nn(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Fr||!this.isFetched()}isFetched(){return this.state.dataUpdateCount+this.state.errorUpdateCount>0}isStatic(){return this.getObserversCount()>0?this.observers.some(e=>nn(e.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(e=0){return this.state.data===void 0?!0:e==="static"?!1:this.state.isInvalidated?!0:!W7(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(e=>e.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#i?.continue()}onOnline(){this.observers.find(e=>e.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#i?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#r.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){const t=this.observers.indexOf(e);t!==-1&&(this.observers.splice(t,1),this.observers.length||(this.#i&&(this.#l||this.state.fetchStatus==="paused"&&this.state.status==="pending"?this.#i.cancel({revert:!0}):this.#i.cancelRetry()),this.scheduleGc()),this.#r.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#o({type:"invalidate"})}async fetch(e,t){if(this.state.fetchStatus!=="idle"&&this.#i?.status()!=="rejected"){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#i)return this.#i.continueRetry(),this.#i.promise}if(e&&this.setOptions(e),!this.options.queryFn){const c=this.observers.find(f=>f.options.queryFn);c&&this.setOptions(c.options)}const n=new AbortController,r=c=>{Object.defineProperty(c,"signal",{enumerable:!0,get:()=>(this.#l=!0,n.signal)})},a=()=>{const c=X7(this.options,t),p=(()=>{const m={client:this.#a,queryKey:this.queryKey,meta:this.meta};return r(m),m})();return this.#l=!1,this.options.persister?this.options.persister(c,p,this):c(p)},o=(()=>{const c={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#a,state:this.state,fetchFn:a};return r(c),c})();(this.#t==="infinite"?XO(this.options.pages):this.options.behavior)?.onFetch(o,this),this.#n=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==o.fetchOptions?.meta)&&this.#o({type:"fetch",meta:o.fetchOptions?.meta});const u=this.#i=Z7({initialPromise:t?.initialPromise,fn:o.fetchFn,onCancel:c=>{c instanceof p2&&c.revert&&this.setState({...this.#n,fetchStatus:"idle"}),n.abort()},onFail:(c,f)=>{this.#o({type:"failed",failureCount:c,error:f})},onPause:()=>{this.#o({type:"pause"})},onContinue:()=>{this.#o({type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0});try{const c=await u.start();if(c===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(c),this.#r.config.onSuccess?.(c,this),this.#r.config.onSettled?.(c,this.state.error,this),c}catch(c){if(c instanceof p2){if(c.silent)return this.#i.promise;if(c.revert){if(this.state.data===void 0)throw c;return this.state.data}}throw this.#o({type:"error",error:c}),this.#r.config.onError?.(c,this),this.#r.config.onSettled?.(this.state.data,c,this),c}finally{this.#i===u&&(this.#i=void 0),this.scheduleGc()}}#o(e){const t=n=>{switch(e.type){case"failed":return{...n,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...n,fetchStatus:"paused"};case"continue":return{...n,fetchStatus:"fetching"};case"fetch":return{...n,...t_(n.data,this.options),fetchMeta:e.meta??null};case"success":const r={...n,...Hx(e.data,e.dataUpdatedAt),dataUpdateCount:n.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#n=e.manual?r:void 0,r;case"error":const a=e.error;return{...n,error:a,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:a,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...n,isInvalidated:!0};case"setState":return{...n,...e.state}}};this.state=t(this.state),rn.batch(()=>{this.observers.slice().forEach(n=>{n.onQueryUpdate()}),this.#r.notify({query:this,type:"updated",action:e})})}};function t_(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:K7(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function Hx(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function jx(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdate
18Count:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var x0=class extends Bo{#t;#e=void 0;#n=void 0;#r=void 0;#a;#i;#s;#l;#o;#h;#u;#c;#d;#m=new Set;constructor(e,t){super(),this.options=t,this.#t=e,this.#s=null,this.bindMethods(),this.setOptions(t)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#e.addObserver(this),Fx(this.#e,this.options)?this.#f():this.updateResult(),this.#v())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return b2(this.#e,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return b2(this.#e,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#x(),this.#E(),this.#e.removeObserver(this)}setOptions(e){const t=this.options,n=this.#e;if(this.options=this.#t.defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof nn(this.options.enabled,this.#e)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#_(),this.#e.setOptions(this.options),t._defaulted&&!Mc(this.options,t)&&this.#t.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#e,observer:this});const r=this.hasListeners();r&&Ux(this.#e,n,this.options,t)&&this.#f(),this.updateResult(),r&&(this.#e!==n||nn(this.options.enabled,this.#e)!==nn(t.enabled,this.#e)||nn(this.options.staleTime,this.#e)!==nn(t.staleTime,this.#e))&&this.#g();const a=this.#b();r&&(this.#e!==n||nn(this.options.enabled,this.#e)!==nn(t.enabled,this.#e)||a!==this.#d)&&this.#y(a)}getOptimisticResult(e){const t=this.#t.getQueryCache().build(this.#t,e),n=this.createResult(t,e);return Mc(this.getCurrentResult(),n)||(this.#r=n,this.#i=this.options,this.#a=this.#e.state),n}getCurrentResult(){return this.#r}trackResult(e,t){return new Proxy(e,{get:(n,r)=>(this.trackProp(r),t?.(r),Reflect.get(n,r))})}trackProp(e){this.#m.add(e)}getCurrentQuery(){return this.#e}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const t=this.#t.defaultQueryOptions(e),n=this.#t.getQueryCache().build(this.#t,t);let r=()=>{},a;const s=new Promise(o=>{a=o,r=this.#t.getQueryCache().subscribe(u=>{u.type==="updated"&&u.query.queryHash===n.queryHash&&n.state.data!==void 0&&(r(),o(this.createResult(n,t)))})});return Promise.race([n.fetch().then(()=>{const o=this.createResult(n,t);return a?.(o),o}).finally(()=>{r()}),s])}fetch(e){return this.#f({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#r))}#f(e){this.#_();let t=this.#e.fetch(this.options,e);return e?.throwOnError||(t=t.catch(Pn)),t}#p(e){return!Bb()&&nn(this.options.enabled,this.#e)!==!1&&Q7(e)}#g(){this.#x();const e=nn(this.options.staleTime,this.#e);if(this.#r.isStale||!this.#p(e))return;const t=W7(this.#r.dataUpdatedAt,e)+1;this.#u=Ao.setTimeout(()=>{this.#r.isStale||this.updateResult()},t)}#b(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#e):this.options.refetchInterval)??!1}#y(e){this.#E(),this.#d=e,!(this.#d===0||!this.#p(this.#d))&&(this.#c=Ao.setInterval(()=>{(this.options.refetchIntervalInBackground||zb.isFocused())&&this.#f()},this.#d))}#v(){this.#g(),this.#y(this.#b())}#x(){this.#u!==void 0&&(Ao.clearTimeout(this.#u),this.#u=void 0)}#E(){this.#c!==void 0&&(Ao.clearInterval(this.#c),this.#c=void 0)}createResult(e,t){const n=this.#e,r=this.options,a=this.#r,s=this.#a,o=this.#i,u=e!==n?e.state:this.#n,{state:c}=e;let f={...c},p=!1,m;if(t._optimisticResults){const H=this.hasListeners(),P=!H&&Fx(e,t),z=H&&Ux(e,n,t,r);(P||z)&&(f={...f,...t_(c.data,e.options)}),t._optimisticResults==="isRestoring"&&(f.fetchStatus="idle")}let{error:b,errorUpdatedAt:y,status:_}=f;m=f.data;let w=!1;if(t.placeholderData!==void 0&&m===void 0&&_==="pending"){let H;a?.isPlaceholderData&&t.placeholderData===o?.placeholderData?(H=a.data,w=!0):H=typeof t.placeholderData=="function"?t.placeholderData(this.#h?.state.data,this.#h):t.placeholderData,H!==void 0&&(_="success",m=m2(a?.data,H,t),p=!0)}
18if(t.select&&m!==void 0&&!w)if(a&&m===s?.data&&t.select===this.#l)m=this.#o;else try{this.#l=t.select,m=t.select(m),m=m2(a?.data,m,t),this.#o=m,this.#s=null}catch(H){this.#s=H}else m===void 0&&(this.#s=null);this.#s&&(b=this.#s,m=this.#o,y=Date.now(),_="error",p=!1);const k=f.fetchStatus==="fetching",A=_==="pending",R=_==="error",D=A&&k,F=m!==void 0;return{status:_,fetchStatus:f.fetchStatus,isPending:A,isSuccess:_==="success",isError:R,isInitialLoading:D,isLoading:D,data:m,dataUpdatedAt:f.dataUpdatedAt,error:b,errorUpdatedAt:y,failureCount:f.fetchFailureCount,failureReason:f.fetchFailureReason,errorUpdateCount:f.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:f.dataUpdateCount>u.dataUpdateCount||f.errorUpdateCount>u.errorUpdateCount,isFetching:k,isRefetching:k&&!A,isLoadingError:R&&!F,isPaused:f.fetchStatus==="paused",isPlaceholderData:p,isRefetchError:R&&F,isStale:Hb(e,t),refetch:this.refetch,isEnabled:nn(t.enabled,e)!==!1}}updateResult(){const e=this.#r,t=this.createResult(this.#e,this.options);if(this.#a=this.#e.state,this.#i=this.options,this.#a.data!==void 0&&(this.#h=this.#e),Mc(t,e))return;this.#r=t;const r=(()=>{if(!e)return!0;const{notifyOnChangeProps:a}=this.options,s=typeof a=="function"?a():a;if(s==="all"||!s&&!this.#m.size)return!0;const o=new Set(s??this.#m);return this.options.throwOnError&&o.add("error"),Object.keys(this.#r).some(u=>{const c=u;return this.#r[c]!==e[c]&&o.has(c)})})();rn.batch(()=>{r&&this.listeners.forEach(a=>{a(this.#r)}),this.#t.getQueryCache().notify({query:this.#e,type:"observerResultsUpdated"})})}#_(){const e=this.#t.getQueryCache().build(this.#t,this.options);if(e===this.#e)return;const t=this.#e;this.#e=e,this.#n=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#v()}};function eD(e,t){return nn(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&nn(t.retryOnMount,e)===!1)}function Fx(e,t){return eD(e,t)||e.state.data!==void 0&&b2(e,t,t.refetchOnMount)}function b2(e,t,n){if(nn(t.enabled,e)!==!1&&nn(t.staleTime,e)!=="static"){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&Hb(e,t)}return!1}function Ux(e,t,n,r){return(e!==t||nn(r.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&Hb(e,n)}function Hb(e,t){return nn(t.enabled,e)!==!1&&e.isStaleByTime(nn(t.staleTime,e))}var n_=class extends x0{constructor(e,t){super(e,t)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e){e._type="infinite",super.setOptions(e)}getOptimisticResult(e){return e._type="infinite",super.getOptimisticResult(e)}fetchNextPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"backward"}}})}createResult(e,t){const{state:n}=e,r=super.createResult(e,t),{isFetching:a,isRefetching:s,isError:o,isRefetchError:u}=r,c=n.fetchMeta?.fetchMore?.direction,f=o&&c==="forward",p=a&&c==="forward",m=o&&c==="backward",b=a&&c==="backward";return{...r,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:KO(t,n.data),hasPreviousPage:ZO(t,n.data),isFetchNextPageError:f,isFetchingNextPage:p,isFetchPreviousPageError:m,isFetchingPreviousPage:b,isRefetchError:u&&!f&&!m,isRefetching:s&&!p&&!b}}},tD=class extends J7{#t;#e;#n;#r;constructor(e){super(),this.#t=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#e=[],this.state=e.state||r_(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#e.includes(e)||(this.#e.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#e=this.#e.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#e.length||(this.state.status==="pending"?this.scheduleGc():this.#n.remove(this))}continue(){return this.#r?.continue()??(this.state.status==="pending"?this.execute(this.state.variables):Promise.resolve())}async execute(e){const t=()=>{this.#a({type:"continue"})},n={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey},r=this.#r=Z7({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(new Error("No mutationFn found")),onFail:(o,u)=>{this.#a({type:"failed",failureCount:o,error:u})},onPause:()=>{this.#a({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)}),a=this.state.status==="pending",s=!r.canStart();try{if(a)t();else{this.#a({type:"pending",variables:e,isPaused:s}),this.#n.config.onMutate&&await this.#n.config.onMutate(e,this,n);const u=await this.options.onMutate?.(e,n);u!==this.state.context&&this.#a({type:"pending",context:u,variables:e,isPaused:s})}const o=await r.start();return await this.#n.config.onSuccess?.(o,e,this.state.context,this,n),await this.options.onSuccess?.(o,e,this.state.context,n),await this.#n.config.onSettled?.(o,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(o,null,e,this.state.context,n),this.#a({type:"success",data:o}),o}catch(o){try{await this.#n.config.onError?.(o,e,this.state.context,this,n)}catch(u){Promise.reject(u)}try{await this.options.onError?.(o,e,this.state.context,n)}catch(u){Promise.reject(u)}try{await this.#n.config.onSettled?.(void 0,o,this.state.variables,this.state.context,this,n)}catch(u){Promise.reject(u)}try{await this.options.onSettled?.(void 0,o,e,this.state.context,n)}catch(u){Promise.reject(u)}throw this.#a({type:"error",error:o}),o}finally{this.#r===r&&(this.#r=void 0),this.#n.runNext(this)}}#a(e){const t=n=>{switch(e.type){case"failed":return{...n,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...n,isPaused:!0};case"continue":return{...n,isPaused:!1};
vendor: 2,046 bytes, line 18
18case"pending":return{...n,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...n,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...n,data:void 0,error:e.error,failureCount:n.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=t(this.state),rn.batch(()=>{this.#e.forEach(n=>{n.onMutationUpdate(e)}),this.#n.notify({mutation:this,type:"updated",action:e})})}};function r_(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var nD=class extends Bo{#t;#e;#n;constructor(e={}){super(),this.config=e,this.#t=new Set,this.#e=new Map,this.#n=0}build(e,t,n){const r=new tD({client:e,mutationCache:this,mutationId:++this.#n,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#t.add(e);const t=Jd(e);if(typeof t=="string"){const n=this.#e.get(t);n?n.push(e):this.#e.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#t.delete(e)){const t=Jd(e);if(typeof t=="string"){const n=this.#e.get(t);if(n)if(n.length>1){const r=n.indexOf(e);r!==-1&&n.splice(r,1)}else n[0]===e&&this.#e.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){const t=Jd(e);if(typeof t=="string"){const n=this.#e.get(t)?.find(r=>r.state.status==="pending");return!n||n===e}else return!0}runNext(e){const t=Jd(e);return typeof t=="string"?this.#e.get(t)?.find(n=>n!==e&&n.state.isPaused)?.continue()??Promise.resolve():Promise.resolve()}clear(){rn.batch(()=>{this.#t.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#t.clear(),this.#e.clear()})}getAll(){return Array.from(this.#t)}find(e){const t={exact:!0,...e};return this.getAll().find(n=>Px(t,n))}findAll(e={}){return this.getAll().filter(t=>Px(e,t))}notify(e){rn.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){const e=this.getAll().filter(t=>
18t.state.isPaused);return rn.batch(()=>Promise.all(e.map(t=>t.continue().catch(Pn))))}};function Jd(e){return e.options.scope?.id}var rD=class extends Bo{#t;#e=void 0;#n;#r;constructor(t,n){super(),this.#t=t,this.setOptions(n),this.bindMethods(),this.#a()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){const n=this.options;this.options=this.#t.defaultMutationOptions(t),Mc(this.options,n)||this.#t.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#n,observer:this}),n?.mutationKey&&this.options.mutationKey&&Bs(n.mutationKey)!==Bs(this.options.mutationKey)?this.reset():this.#n?.state.status==="pending"&&this.#n.setOptions(this.options)}onSubscribe(){this.listeners.size===1&&this.#n&&(this.#n.addObserver(this),this.#a())}onUnsubscribe(){this.hasListeners()||this.#n?.removeObserver(this)}onMutationUpdate(t){this.#a(),this.#i(t)}getCurrentResult(){return this.#e}reset(){this.#n?.removeObserver(this),this.#n=void 0,this.#a(),this.#i()}mutate(t,n){return this.#r=n,this.#n?.removeObserver(this),this.#n=this.#t.getMutationCache().build(this.#t,this.options),this.#n.addObserver(this),this.#n.execute(t)}#a(){const t=this.#n?.state??r_();this.#e={...t,isPending:t.status==="pending",isSuccess:t.status==="success",isError:t.status==="error",isIdle:t.status==="idle",mutate:this.mutate,reset:this.reset}}#i(t){rn.batch(()=>{if(this.#r&&this.hasListeners()){const n=this.#e.variables,r=this.#e.context,a={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};if(t?.type==="success"){try{this.#r.onSuccess?.(t.data,n,r,a)}catch(s){Promise.reject(s)}
18try{this.#r.onSettled?.(t.data,null,n,r,a)}catch(s){Promise.reject(s)}}else if(t?.type==="error"){try{this.#r.onError?.(t.error,n,r,a)}catch(s){Promise.reject(s)}try{this.#r.onSettled?.(void 0,t.error,n,r,a)}catch(s){Promise.reject(s)}}}this.listeners.forEach(n=>{n(this.#e)})})}};function qx(e,t){const n=new Set(t);return e.filter(r=>!n.has(r))}var aD=class extends Bo{#t;#e;#n;#r;#a;#i;#s;#l;#o;#h=[];constructor(e,t,n){super(),this.#t=e,this.#r=n,this.#n=[],this.#a=[],this.#e=[],this.setQueries(t)}onSubscribe(){this.listeners.size===1&&this.#a.forEach(e=>{e.subscribe(t=>{this.#f(e,t)})})}onUnsubscribe(){this.listeners.size||this.destroy()}destroy(){this.listeners=new Set,this.#a.forEach(e=>{e.destroy()})}setQueries(e,t){this.#n=e,this.#r=t,rn.batch(()=>{const n=this.#a,r=this.#m(this.#n);r.forEach(p=>p.observer.setOptions(p.defaultedQueryOptions));const a=r.map(p=>p.observer),s=a.map(p=>p.getCurrentResult()),o=n.length!==a.length,u=a.some((p,m)=>p!==n[m]),c=o||u,f=c?!0:s.some((p,m)=>{const b=this.#e[m];return!b||!Mc(p,b)});!c&&!f||(c&&(this.#h=r,this.#a=a),this.#e=s,this.hasListeners()&&(c&&(qx(n,a).forEach(p=>{p.destroy()}),qx(a,n).forEach(p=>{p.subscribe(m=>{this.#f(p,m)})})),this.#p()))})}getCurrentResult(){return this.#e}getQueries(){return this.#a.map(e=>e.getCurrentQuery())}getObservers(){return this.#a}getOptimisticResult(e,t){const n=this.#m(e),r=n.map(s=>s.observer.getOptimisticResult(s.defaultedQueryOptions)),a=n.map(s=>s.defaultedQueryOptions.queryHash);return[r,s=>this.#c(s??r,t,a),()=>this.#u(r,n)]}#u(e,t){const n=new Set;return t.map((r,a)=>{const s=e[a];return r.defaultedQueryOptions.notifyOnChangeProps?s:r.observer.trackResult(s,o=>
18{n.has(o)||(n.add(o),t.forEach(u=>{u.observer.trackProp(o)}))})})}#c(e,t,n){if(t){const r=this.#o,a=n!==void 0&&r!==void 0&&(r.length!==n.length||n.some((s,o)=>s!==r[o]));return(this.#e!==this.#l||a||t!==this.#s)&&(this.#s=t,this.#l=this.#e,n!==void 0&&(this.#o=n),this.#i=Mb(this.#i,t(e))),this.#i}return e}#d(){return!this.#r?.combine||this.#a.some((e,t)=>e.options.suspense&&this.#e[t]?.data===void 0)}#m(e){const t=new Map;this.#a.forEach(r=>{const a=r.options.queryHash;if(!a)return;const s=t.get(a);s?s.push(r):t.set(a,[r])});const n=[];return e.forEach(r=>{const a=this.#t.defaultQueryOptions(r),s=t.get(a.queryHash)?.shift()??new x0(this.#t,a);n.push({defaultedQueryOptions:a,observer:s})}),n}#f(e,t){const n=this.#a.indexOf(e);n!==-1&&(this.#e=this.#e.slice(),this.#e[n]=t,this.#p())}#p(){if(this.hasListeners()){const e=this.#d(),t=this.#i,n=e?t:this.#c(this.#u(this.#e,this.#h),this.#r?.combine);(e||t!==n)&&rn.batch(()=>{this.listeners.forEach(r=>{r(this.#e)})})}}},iD=class extends Bo{#t;constructor(e={}){super(),this.config=e,this.#t=new Map}build(e,t,n){const r=t.queryKey,a=t.queryHash??Lb(r,t);let s=this.get(a);return s||(s=new JO({client:e,queryKey:r,queryHash:a,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(s)),s}add(e){this.#t.has(e.queryHash)||(this.#t.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=this.#t.get(e.queryHash);t&&(e.destroy(),t===e&&this.#t.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){rn.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#t.get(e)}getAll(){return[...this.#t.values()]}find(e){const t={exact:!0,...e};return this.getAll().find(n=>Mx(t,n))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter(n=>Mx(e,n)):t}notify(e){rn.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){rn.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){rn.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},sD=class{#t;#e;#n;#r;#a;#i;#s;#l;constructor(e={}){this.#t=e.queryCache||new iD,this.#e=e.mutationCache||new nD,this.#n=e.defaultOptions||{},this.#r=new Map,this.#a=new Map,this.#i=0}mount(){this.#i++,this.#i===1&&(this.#s=zb.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#t.onFocus())}),this.#l=Kf.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#t.onOnline())}))}unmount(){this.#i--,this.#i===0&&(this.#s?.(),this.#s=void 0,this.#l?.(),this.#l=void 0)}isFetching(e){return this.#t.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#e.findAll({...e,status:"pending"}).length}getQueryData(e){const t=this.defaultQueryOptions({queryKey:e});return this.#t.get(t.queryHash)?.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=this.#t.build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(nn(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#t.findAll(e).map(({queryKey:t,state:n})=>[t,n.data])}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),a=this.#t.get(r.queryHash)?.state.data,s=zO(t,a);if(s!==void 0)return this.#t.build(this,r).setData(s,{...n,manual:!0})}setQueriesData(e,t,n){return rn.batch(()=>this.#t.findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){const t=this.defaultQueryOptions({queryKey:e});return this.#t.get(t.queryHash)?.state}removeQueries(e){const t=this.#t;rn.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=this.#t;return rn.batch(()=>{const r=n.findAll(e),a=new Set(r);return r.forEach(s=>{s.reset()}),this.refetchQueries({type:"active",predicate:s=>a.has(s)},t)})}cancelQueries(e,t={}){const n={revert:!0,...t},r=rn.batch(()=>this.#t.findAll(e).map(a=>a.cancel(n)));return Promise.all(r).then(Pn).catch(Pn)}invalidateQueries(e,t={}){return rn.batch(()=>(this.#t.findAll(e).forEach(n=>{n.invalidate()}),e?.refetchType==="none"?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=rn.batch(()=>this.#t.findAll(e).filter(a=>!a.isDisabled()&&!a.isStatic()).map(a=>{let s=a.fetch(void 0,n);return n.throwOnError||(s=s.catch(Pn)),a.state.fetchStatus==="paused"?Promise.resolve():s}));return Promise.all(r).then(Pn)}async query(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=this.#t.build(this,t),r=n.isStaleByTime(nn(t.staleTime,n))?await n.fetch(t):n.state.data,a=t.select;return a?a(r):r}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=this.#t.build(this,t);return n.isStaleByTime(nn(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Pn).catch(Pn)}infiniteQuery(e){return e._type="infinite",this.query(e)}
18fetchInfiniteQuery(e){return e._type="infinite",this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Pn).catch(Pn)}ensureInfiniteQueryData(e){return e._type="infinite",this.ensureQueryData(e)}resumePausedMutations(){return Kf.isOnline()?this.#e.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#t}getMutationCache(){return this.#e}getDefaultOptions(){return this.#n}setDefaultOptions(e){this.#n=e}setQueryDefaults(e,t){this.#r.set(Bs(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...this.#r.values()],n={};return t.forEach(r=>{nu(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){this.#a.set(Bs(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...this.#a.values()],n={};return t.forEach(r=>{nu(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...this.#n.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Lb(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===Fr&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#n.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#t.clear(),this.#e.clear()}};const a_=N.createContext(!1),i_=()=>N.useContext(a_);a_.Provider;function oD(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}const lD=N.createContext(oD()),s_=()=>N.useContext(lD),o_=(e,t,n)=>{const r=n?.state.error&&typeof e.throwOnError=="function"?Pb(e.throwOnError,[n.state.error,n]):e.throwOnError;(e.suspense||r)&&(t.isReset()||(e.retryOnMount=!1))},l_=e=>{N.useEffect(()=>{e.clearReset()},[e])},u_=({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:a})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(a&&e.data===void 0||Pb(n,[e.error,r])),jb=(e,t)=>t.state.data===void 0,c_=e=>{if(e.suspense){const n=a=>a==="static"?a:Math.max(a??1e3,1e3),r=e.staleTime;e.staleTime=typeof r=="function"?(...a)=>n(r(...a)):n(r),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3))}},y2=(e,t)=>e?.suspense&&t.isPending,d_=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function f_({queries:e,...t},n){const r=v0(n),a=i_(),s=s_(),o=t.subscribed!==!1,u=N.useMemo(()=>e.map(w=>{const k=r.defaultQueryOptions(w);return k._optimisticResults=a?"isRestoring":o?"optimistic":void 0,k}),[e,r,a,o]);u.forEach(w=>{c_(w);const k=r.getQueryCache().get(w.queryHash);o_(w,s,k)}),l_(s);const[c]=N.useState(()=>new aD(r,u,t)),[f,p,m]=c.getOptimisticResult(u,t.combine),b=!a&&o;N.useSyncExternalStore(N.useCallback(w=>b?c.subscribe(rn.batchCalls(w)):Pn,[c,b]),()=>c.getCurrentResult(),()=>c.getCurrentResult()),N.useEffect(()=>{c.setQueries(u,t)},[u,t,c]);const y=f.some((w,k)=>y2(u[k],w))?f.flatMap((w,k)=>{const A=u[k];if(A&&y2(A,w)){const R=new x0(r,A);return d_(A,R,s)}return[]}):[];if(y.length>0)throw Promise.all(y);const _=f.find((w,k)=>{const A=u[k];return A&&u_({result:w,errorResetBoundary:s,throwOnError:A.throwOnError,query:r.getQueryCache().get(A.queryHash),suspense:A.suspense})});if(_)throw _.error;return p(m())}function zh(e,t,n){const r=i_(),a=s_(),s=v0(n),o=s.defaultQueryOptions(e),u=s.getQueryCache().get(o.queryHash),c=e.subscribed!==!1;o._optimisticResults=r?"isRestoring":c?"optimistic":void 0,c_(o),o_(o,a,u),l_(a);const[f]=N.useState(()=>new t(s,o)),p=f.getOptimisticResult(o),m=!r&&c;if(N.useSyncExternalStore(N.useCallback(b=>{const y=m?f.subscribe(rn.batchCalls(b)):Pn;return f.updateResult(),y},[f,m]),()=>f.getCurrentResult(),()=>f.getCurrentResult()),N.useEffect(()=>{f.setOptions(o)},[o,f]),y2(o,p))throw d_(o,f,a);if(u_({result:p,errorResetBoundary:a,throwOnError:o.throwOnError,query:u,suspense:o.suspense}))throw p.error;return o.notifyOnChangeProps?p:f.trackResult(p)}function uD(e,t){return zh(e,x0,t)}function cD(e,t){return zh({...e,enabled:!0,suspense:!0,throwOnError:jb,placeholderData:void 0},x0,t)}function dD(e,t){return zh({...e,enabled:!0,suspense:!0,throwOnError:jb,placeholderData:void 0},n_,t)}function fD(e,t){return f_({...e,queries:e.queries.map(n=>({...n,suspense:!0,throwOnError:jb,enabled:!0,placeholderData:void 0}))},t)}function hD(e,t){const n=v0(t);n.getQueryState(e.queryKey)||n.query(e).catch(Pn)}function mD(e,t){const n=v0(t);n.getQueryState(e.queryKey)||n.infiniteQuery(e).catch(Pn)}function pD(e,t){const n=v0(t),[r]=N.useState(()=>new rD(n,e));N.useEffect(()=>{r.setOptions(e)},[r,e]);const a=N.useSyncExternalStore(N.useCallback(o=>r.subscribe(rn.batchCalls(o)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),s=N.useCallback((...o)=>{r.mutate(o[0],o[1]).catch(Pn)},[r]);if(a.error&&Pb(r.options.throwOnError,[a.error]))throw a.error;return{...a,mutate:s,mutateAsync:a.mutate}}function gD(e,t){return zh(e,n_,t)}function Ro(e){return!!e&&!Array.isArray(e)&&typeof e=="object"}function bD(){return Object.create(null)}const yD=typeof Symbol=="function"&&!!Symbol.asyncIterator;function h_(e){return yD&&Ro(e)&&Symbol.asyncIterator in e}var vD=Object.create,m_=Object.defineProperty,xD=Object.getOwnPropertyDescriptor,p_=Object.getOwnPropertyNames,ED=Object.getPrototypeOf,_D=Object.prototype.hasOwnProperty,E0=(e,t)=>function(){return t||(0,e[p_(e)[0]])((t={exports:{}}).exports,t),t.exports},TD=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(var a=p_(t),s=0,o=a.length,u;s<o;s++)u=a[s],!_D.call(e,u)&&u!==n&&m_(e,u,{get:(c=>t[c]).bind(null,u),enumerable:!(r=xD(t,u))||r.enumerable});return e},Hh=(e,t,n)=>(n=e!=null?vD(ED(e)):{},TD(m_(n,"default",{value:e,enumerable:!0}),e));const g_=()=>{}
18,$x=e=>{Object.freeze&&Object.freeze(e)};function b_(e,t,n){var r;const a=t.join(".");return(r=n[a])!==null&&r!==void 0||(n[a]=new Proxy(g_,{get(s,o){if(!(typeof o!="string"||o==="then"))return b_(e,[...t,o],n)},apply(s,o,u){const c=t[t.length-1];if(c==="valueOf"||c==="toString"||c==="toJSON")return`tRPC.proxy(${t.slice(0,-1).join(".")})`;let f={args:u,path:t};return c==="call"?f={args:u.length>=2?[u[1]]:[],path:t.slice(0,-1)}:c==="apply"&&(f={args:u.length>=2?u[1]:[],path:t.slice(0,-1)}),$x(f.args),$x(f.path),e(f)}})),n[a]}const jh=e=>b_(e,[],bD()),Fb=e=>new Proxy(g_,{get(t,n){if(n!=="then")return e(n)}});var y_=E0({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/typeof.js"(e,t){function n(r){"@babel/helpers - typeof";return t.exports=n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},t.exports.__esModule=!0,t.exports.default=t.exports,n(r)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),wD=E0({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(e,t){var n=y_().default;function r(a,s){if(n(a)!="object"||!a)return a;var o=a[Symbol.toPrimitive];if(o!==void 0){var u=o.call(a,s||"default");if(n(u)!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(a)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),SD=E0({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(e,t){var n=y_().default,r=wD();function a(s){var o=r(s,"string");return n(o)=="symbol"?o:o+""}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports}}),v_=E0({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js"(e,t){var n=SD();function r(a,s,o){return(s=n(s))in a?Object.defineProperty(a,s,{value:o,enumerable:!0,configurable:!0,writable:!0}):a[s]=o,a}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),Ub=E0({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(e,t){var n=v_();function r(s,o){var u=Object.keys(s);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(s);o&&(c=c.filter(function(f){return Object.getOwnPropertyDescriptor(s,f).enumerable})),u.push.apply(u,c)}return u}function a(s){for(var o=1;o<arguments.length;o++){var u=arguments[o]!=null?arguments[o]:{};o%2?r(Object(u),!0).forEach(function(c){n(s,c,u[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(u)):r(Object(u)).forEach(function(c){Object.defineProperty(s,c,Object.getOwnPropertyDescriptor(u,c))})}return s}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports}});Hh(Ub());Hh(v_());var ef=Hh(Ub());function AD(e,t){if("error"in e){const r=t.deserialize(e.error);return{ok:!1,error:(0,ef.default)((0,ef.default)({},e),{},{error:r})}}return{ok:!0,result:(0,ef.default)((0,ef.default)({},e.result),(!e.result.type||e.result.type==="data")&&{type:"data",data:t.deserialize(e.result.data)})}}var Y1=class extends Error{constructor(){super("Unable to transform response from server")}};function CD(e,t){let n;try{n=AD(e,t)}catch{throw new Y1}if(!n.ok&&(!Ro(n.error.error)||typeof n.error.error.code!="number"))throw new Y1;if(n.ok&&!Ro(n.result))throw new Y1;return n}Hh(Ub());function Fh(e){const t={subscribe(n){let r=null,a=!1,s=!1,o=!1;function u(){if(r===null){o=!0;return}s||(s=!0,typeof r=="function"?r():r&&r.unsubscribe())}return r=e({next(c){var f;a||(f=n.next)===null||f===void 0||f.call(n,c)},error(c){var f;a||(a=!0,(f=n.error)===null||f===void 0||f.call(n,c),u())},complete(){var c;a||(a=!0,(c=n.complete)===null||c===void 0||c.call(n),u())}}),o&&u(),{unsubscribe:u}},pipe(...n){return n.reduce(kD,t)}};return t}function kD(e,t){return t(e)}function ND(e){const t=new AbortController;return new Promise((r,a)=>{let s=!1;function o(){s||(s=!0,u.unsubscribe())}t.signal.addEventListener("abort",()=>{a(t.signal.reason)});const u=e.subscribe({next(c){s=!0,r(c),o()},error(c){a(c)},complete(){t.abort(),o()}})})}var RD=Object.create,x_=Object.defineProperty,OD=Object.getOwnPropertyDescriptor,E_=Object.getOwnPropertyNames,DD=Object.getPrototypeOf,ID=Object.prototype.hasOwnProperty,$s=(e,t)=>function(){return t||(0,e[E_(e)[0]])((t={exports:{}}).exports,t),t.exports},LD=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(var a=E_(t),s=0,o=a.length,u;s<o;s++)u=a[s],!ID.call(e,u)&&u!==n&&x_(e,u,{get:(c=>t[c]).bind(null,u),enumerable:!(r=OD(t,u))||r.enumerable});return e},zo=(e,t,n)=>(n=e!=null?RD(DD(e)):{},LD(t||!e||!e.__esModule?x_(n,"default",{value:e,enumerable:!0}):n,e)),MD=$s({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectWithoutPropertiesLoose.js"(e,t){function n(r,a){if(r==null)return{};var s={};for(var o in r)if({}.hasOwnProperty.call(r,o)){if(a.includes(o))continue;s[o]=r[o]}return s}
18t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),PD=$s({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectWithoutProperties.js"(e,t){var n=MD();function r(a,s){if(a==null)return{};var o,u,c=n(a,s);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(a);for(u=0;u<f.length;u++)o=f[u],s.includes(o)||{}.propertyIsEnumerable.call(a,o)&&(c[o]=a[o])}return c}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),__=$s({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/typeof.js"(e,t){function n(r){"@babel/helpers - typeof";return t.exports=n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},t.exports.__esModule=!0,t.exports.default=t.exports,n(r)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),BD=$s({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(e,t){var n=__().default;function r(a,s){if(n(a)!="object"||!a)return a;var o=a[Symbol.toPrimitive];if(o!==void 0){var u=o.call(a,s||"default");if(n(u)!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(a)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),zD=$s({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(e,t){var n=__().default,r=BD();function a(s){var o=r(s,"string");return n(o)=="symbol"?o:o+""}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports}}),HD=$s({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js"(e,t){var n=zD();function r(a,s,o){return(s=n(s))in a?Object.defineProperty(a,s,{value:o,enumerable:!0,configurable:!0,writable:!0}):a[s]=o,a}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),_0=$s({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(e,t){var n=HD();function r(s,o){var u=Object.keys(s);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(s);o&&(c=c.filter(function(f){return Object.getOwnPropertyDescriptor(s,f).enumerable})),u.push.apply(u,c)}return u}function a(s){for(var o=1;o<arguments.length;o++){var u=arguments[o]!=null?arguments[o]:{};o%2?r(Object(u),!0).forEach(function(c){n(s,c,u[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(u)):r(Object(u)).forEach(function(c){Object.defineProperty(s,c,Object.getOwnPropertyDescriptor(u,c))})}return s}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports}}),jD=zo(PD(),1),Vx=zo(_0(),1);const FD=["cursor","direction"];function Ya(e,t,n){const r=e.flatMap(a=>a.split("."));if(!t&&(!n||n==="any"))return r.length?[r]:[];if(n==="infinite"&&Ro(t)&&("direction"in t||"cursor"in t)){const{cursor:a,direction:s}=t,o=(0,jD.default)(t,FD);return[r,{input:o,type:"infinite"}]}return[r,(0,Vx.default)((0,Vx.default)({},typeof t<"u"&&t!==Fr&&{input:t}),n&&n!=="any"&&{type:n})]}function Bf(e){return Ya(e,void 0,"any")}var UD=Object.create,T_=Object.defineProperty,qD=Object.getOwnPropertyDescriptor,w_=Object.getOwnPropertyNames,$D=Object.getPrototypeOf,VD=Object.prototype.hasOwnProperty,ii=(e,t)=>function(){return t||(0,e[w_(e)[0]])((t={exports:{}}).exports,t),t.exports},GD=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(var a=w_(t),s=0,o=a.length,u;s<o;s++)u=a[s],!VD.call(e,u)&&u!==n&&T_(e,u,{get:(c=>t[c]).bind(null,u),enumerable:!(r=qD(t,u))||r.enumerable});return e},pn=(e,t,n)=>(n=e!=null?UD($D(e)):{},GD(t||!e||!e.__esModule?T_(n,"default",{value:e,enumerable:!0}):n,e)),S_=ii({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/typeof.js"(e,t){function n(r){"@babel/helpers - typeof";return t.exports=n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a}
18,t.exports.__esModule=!0,t.exports.default=t.exports,n(r)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),YD=ii({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(e,t){var n=S_().default;function r(a,s){if(n(a)!="object"||!a)return a;var o=a[Symbol.toPrimitive];if(o!==void 0){var u=o.call(a,s||"default");if(n(u)!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(s==="string"?String:Number)(a)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),QD=ii({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(e,t){var n=S_().default,r=YD();function a(s){var o=r(s,"string");return n(o)=="symbol"?o:o+""}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports}}),Ho=ii({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js"(e,t){var n=QD();function r(a,s,o){return(s=n(s))in a?Object.defineProperty(a,s,{value:o,enumerable:!0,configurable:!0,writable:!0}):a[s]=o,a}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),ka=ii({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(e,t){var n=Ho();function r(s,o){var u=Object.keys(s);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(s);o&&(c=c.filter(function(f){return Object.getOwnPropertyDescriptor(s,f).enumerable})),u.push.apply(u,c)}return u}function a(s){for(var o=1;o<arguments.length;o++){var u=arguments[o]!=null?arguments[o]:{};o%2?r(Object(u),!0).forEach(function(c){n(s,c,u[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(u)):r(Object(u)).forEach(function(c){Object.defineProperty(s,c,Object.getOwnPropertyDescriptor(u,c))})}return s}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports}});function WD(e){return t=>{let n=0,r=null;const a=[];function s(){r||(r=t.subscribe({next(u){for(const f of a){var c;(c=f.next)===null||c===void 0||c.call(f,u)}},error(u){for(const f of a){var c;(c=f.error)===null||c===void 0||c.call(f,u)}},complete(){for(const c of a){var u;(u=c.complete)===null||u===void 0||u.call(c)}}}))}function o(){if(n===0&&r){const u=r;r=null,u.unsubscribe()}}return Fh(u=>(n++,a.push(u),s(),{unsubscribe(){n--,o();const c=a.findIndex(f=>f===u);c>-1&&a.splice(c,1)}}))}}function XD(e){let t=e;const n=[],r=o=>{t!==void 0&&o.next(t),n.push(o)},a=o=>{n.splice(n.indexOf(o),1)},s=Fh(o=>(r(o),()=>{a(o)}));return s.next=o=>{if(t!==o){t=o;for(const u of n)u.next(o)}},s.get=()=>t,s}function KD(e){return Fh(t=>{function n(a=0,s=e.op){const o=e.links[a];if(!o)throw new Error("No more links to execute - did you forget to add an ending link?");return o({op:s,next(c){return n(a+1,c)}})}return n().subscribe(t)})}var tf=pn(Ho(),1),Il=pn(ka(),1);function ZD(e){return e instanceof Jc}function JD(e){return Ro(e)&&Ro(e.error)&&typeof e.error.code=="number"&&typeof e.error.message=="string"}function eI(e,t){return typeof e=="string"?e:Ro(e)&&typeof e.message=="string"?e.message:t}var Jc=class zf extends Error{constructor(t,n){var r,a;const s=n?.cause;super(t,{cause:s}),(0,tf.default)(this,"cause",void 0),(0,tf.default)(this,"shape",void 0),(0,tf.default)(this,"data",void 0),(0,tf.default)(this,"meta",void 0),this.meta=n?.meta,this.cause=s,this.shape=n==null||(r=n.result)===null||r===void 0?void 0:r.error,this.data=n==null||(a=n.result)===null||a===void 0?void 0:a.error.data,this.name="TRPCClientError",Object.setPrototypeOf(this,zf.prototype)}static from(t,n={}){const r=t;return ZD(r)?(n.meta&&(r.meta=(0,Il.default)((0,Il.default)({},r.meta),n.meta)),r):JD(r)?new zf(r.error.message,(0,Il.default)((0,Il.default)({},n),{},{result:r,cause:n.cause})):new zf(eI(r,"Unknown error"),(0,Il.default)((0,Il.default)({},n),{},{cause:r}))}};function tI(e){const t=e;return t?"input"in t?t:{input:t,output:t}:{input:{serialize:n=>n,deserialize:n=>n},output:{serialize:n=>n,deserialize:n=>n}}}const Gx=e=>typeof e=="function";function nI(e){if(e)return e;if(typeof window<"u"&&Gx(window.fetch))return window.fetch;if(typeof globalThis<"u"&&Gx(globalThis.fetch))return globalThis.fetch;throw new Error("No fetch implementation found")}var Pc=pn(ka());function rI(e){return{url:e.url.toString(),fetch:e.fetch,transformer:tI(e.transformer),methodOverride:e.methodOverride}}function aI(e){const t={};for(let n=0;n<e.length;n++){const r=e[n];t[n]=r}return t}const iI={query:"GET",mutation:"POST",subscription:"PATCH"};function A_(e){return"input"in e?e.transformer.input.serialize(e.input):aI(e.inputs.map(t=>e.transformer.input.serialize(t)))}const C_=e=>{const t=e.url.split("?");let r=t[0].replace(/\/$/,"")+"/"+e.path;const a=[];if(t[1]&&a.push(t[1]),"inputs"in e&&a.push("batch=1"),e.type==="query"||e.type==="subscription"){const s=A_(e);s!==void 0&&e.methodOverride!=="POST"&&a.push(`input=${encodeURIComponent(JSON.stringify(s))}`)}return a.length&&(r+="?"+a.join("&")),r},sI=e=>{if(e.type==="query"&&e.methodOverride!=="POST")return;const t=A_(e);return t!==void 0?JSON.stringify(t):void 0},oI=e=>dI((0,Pc.default)((0,Pc.default)({},e),{},{contentTypeHeader:"application/json",getUrl:C_,getBody:sI}));
18var lI=class extends Error{constructor(){const e="AbortError";super(e),this.name=e,this.message=e}};const uI=e=>{var t;if(e?.aborted)throw(t=e.throwIfAborted)===null||t===void 0||t.call(e),typeof DOMException<"u"?new DOMException("AbortError","AbortError"):new lI};async function cI(e){var t,n;uI(e.signal);const r=e.getUrl(e),a=e.getBody(e),s=(t=e.methodOverride)!==null&&t!==void 0?t:iI[e.type],o=await(async()=>{const c=await e.headers();return Symbol.iterator in c?Object.fromEntries(c):c})(),u=(0,Pc.default)((0,Pc.default)((0,Pc.default)({},e.contentTypeHeader&&s!=="GET"?{"content-type":e.contentTypeHeader}:{}),e.trpcAcceptHeader?{[(n=e.trpcAcceptHeaderKey)!==null&&n!==void 0?n:"trpc-accept"]:e.trpcAcceptHeader}:void 0),o);return nI(e.fetch)(r,{method:s,signal:e.signal,body:a,headers:u})}async function dI(e){const t={},n=await cI(e);t.response=n;const r=await n.json();return t.responseJSON=r,{json:r,meta:t}}pn(ka(),1);const Yx=()=>{throw new Error("Something went wrong. Please submit an issue at https://github.com/trpc/trpc/issues/new")};function Qx(e){let t=null,n=null;const r=()=>{clearTimeout(n),n=null,t=null};function a(u){const c=[[]];let f=0;for(;;){const b=u[f];if(!b)break;const y=c[c.length-1];if(b.aborted){var p;(p=b.reject)===null||p===void 0||p.call(b,new Error("Aborted")),f++;continue}if(e.validate(y.concat(b).map(w=>w.key))){y.push(b),f++;continue}if(y.length===0){var m;(m=b.reject)===null||m===void 0||m.call(b,new Error("Input is too big for a single dispatch")),f++;continue}c.push([])}return c}function s(){const u=a(t);r();for(const c of u){if(!c.length)continue;const f={items:c};for(const m of c)m.batch=f;e.fetch(f.items.map(m=>m.key)).then(async m=>{await Promise.all(m.map(async(y,_)=>{const w=f.items[_];try{var k;const R=await Promise.resolve(y);(k=w.resolve)===null||k===void 0||k.call(w,R)}catch(R){var A;(A=w.reject)===null||A===void 0||A.call(w,R)}w.batch=null,w.reject=null,w.resolve=null}));for(const y of f.items){var b;(b=y.reject)===null||b===void 0||b.call(y,new Error("Missing result")),y.batch=null}}).catch(m=>{for(const y of f.items){var b;(b=y.reject)===null||b===void 0||b.call(y,m),y.batch=null}})}}function o(u){var c;const f={aborted:!1,key:u,batch:null,resolve:Yx,reject:Yx},p=new Promise((m,b)=>{var y;f.reject=b,f.resolve=m,(y=t)!==null&&y!==void 0||(t=[]),t.push(f)});return(c=n)!==null&&c!==void 0||(n=setTimeout(s)),p}return{load:o}}function fI(...e){const t=new AbortController,n=e.length;let r=0;const a=()=>{++r===n&&t.abort()};for(const s of e)s?.aborted?a():s?.addEventListener("abort",a,{once:!0});return t.signal}var nf=pn(ka(),1);function hI(e){var t,n;const r=rI(e),a=(t=e.maxURLLength)!==null&&t!==void 0?t:1/0,s=(n=e.maxItems)!==null&&n!==void 0?n:1/0;return()=>{const o=p=>({validate(m){if(a===1/0&&s===1/0)return!0;if(m.length>s)return!1;const b=m.map(w=>w.path).join(","),y=m.map(w=>w.input);return C_((0,nf.default)((0,nf.default)({},r),{},{type:p,path:b,inputs:y,signal:null})).length<=a},async fetch(m){const b=m.map(R=>R.path).join(","),y=m.map(R=>R.input),_=fI(...m.map(R=>R.signal)),w=await oI((0,nf.default)((0,nf.default)({},r),{},{path:b,inputs:y,type:p,headers(){return e.headers?typeof e.headers=="function"?e.headers({opList:m}):e.headers:{}},signal:_}));return(Array.isArray(w.json)?w.json:m.map(()=>w.json)).map(R=>({meta:w.meta,json:R}))}}),u=Qx(o("query")),c=Qx(o("mutation")),f={query:u,mutation:c};return({op:p})=>Fh(m=>{/* istanbul ignore if -- @preserve */if(p.type==="subscription")throw new Error("Subscriptions are unsupported by `httpLink` - use `httpSubscriptionLink` or `wsLink`");const y=f[p.type].load(p);let _;return y.then(w=>{_=w;const k=CD(w.json,r.transformer.output);if(!k.ok){m.error(Jc.from(k.error,{meta:w.meta}));return}m.next({context:w.meta,result:k.result}),m.complete()}).catch(w=>{m.error(Jc.from(w,{meta:_?.meta}))}),()=>{}})}}pn(ka(),1);const k_=(e,...t)=>typeof e=="function"?e(...t):e;pn(Ho(),1);function mI(){let e,t;return{promise:new Promise((r,a)=>{e=r,t=a}),resolve:e,reject:t}}async function pI(e){const t=await k_(e.url);if(!e.connectionParams)return t;const r=`${t.includes("?")?"&":"?"}connectionParams=1`;return t+r}async function gI(e,t){const n={method:"connectionParams",data:await k_(e)};return t.encode(n)}pn(Ho(),1);var As=pn(Ho(),1);function bI(e){const{promise:t,resolve:n,reject:r}=mI();return e.addEventListener("open",()=>{e.removeEventListener("error",r),n()}),e.addEventListener("error",r),t}function yI(e,{intervalMs:t,pongTimeoutMs:n}){let r,a;function s(){r=setTimeout(()=>{e.send("PING"),a=setTimeout(()=>{e.close()},n)},t)}function o(){clearTimeout(r),s()}function u(){clearTimeout(a),o()}e.addEventListener("open",s),e.addEventListener("message",({data:c})=>{clearTimeout(r),s(),c==="PONG"&&u()}),e.addEventListener("close",()=>{clearTimeout(r),clearTimeout(a)})}var vI=class v2{constructor(t){var n;if((0,As.default)(this,"id",++v2.connectCount),(0,As.default)(this,"WebSocketPonyfill",void 0),(0,As.default)(this,"urlOptions",void 0),(0,As.default)(this,"keepAliveOpts",void 0),(0,As.default)(this,"encoder",void 0),(0,As.default)(this,"wsObservable",XD(null)),(0,As.default)(this,"openPromise",null),this.WebSocketPonyfill=(n=t.WebSocketPonyfill)!==null&&n!==void 0?n:WebSocket,!this.WebSocketPonyfill)throw new Error("No WebSocket implementation found - you probably don't want to use this on the server, but if you do you need to pass a `WebSocket`-ponyfill");this.urlOptions=t.urlOptions,this.keepAliveOpts=t.keepAlive,this.encoder=t.encoder}get ws(){return this.wsObservable.get()}set ws(t){this.wsObservable.next(t)}isOpen(){return!!this.ws&&this.ws.readyState===this.WebSocketPonyfill.OPEN&&!this.openPromise}isClosed(){return!!this.ws&&(this.ws.readyState===this.WebSocketPonyfill.CLOSING||this.ws.readyState===this.WebSocketPonyfill.CLOSED)}async open(){var t=this;if(t.openPromise)return t.openPromise;t.id=++v2.connectCount;const n=pI(t.urlOptions).then(r=>new t.WebSocketPonyfill(r));t.openPromise=n.then(async r=>{t.ws=r,r.binaryType="arraybuffer",r.addEventListener("message",function({data:a}){a==="PING"&&this.send("PONG")}),t.keepAliveOpts.enabled&&yI(r,t.keepAliveOpts),r.addEventListener("close",()=>{t.ws===r&&(t.ws=null)}),await bI(r),t.urlOptions.connectionParams&&r.send(await gI(t.urlOptions.connectionParams,t.encoder))});try{await t.openPromise}finally{t.openPromise=null}}async close(){var t=this;try{await t.openPromise}finally{var n;(n=t.ws)===null||n===void 0||n.close()}}};(0,As.default)(vI,"connectCount",0);pn(Ho(),1);pn(ka(),1);var Q1=pn(Ho(),1),Wx=pn(ka(),1),Uh=class{constructor(e){(0,Q1.default)(this,"links",void 0),(0,Q1.default)(this,"runtime",void 0),(0,Q1.default)(this,"requestId",void 0),this.requestId=0,this.runtime={},this.links=e.links.map(t=>t(this.runtime))}$request(e){var t;return KD({links:this.links,op:(0,Wx.default)((0,Wx.default)({},e),{},{context:(t=e.context)!==null&&t!==void 0?t:{},id:++this.requestId})}).pipe(WD())}async requestAsPromise(e){var t=this;try{const n=t.$request(e);return(await ND(n)).result.data}catch(n){throw Jc.from(n)}}query(e,t,n){return this.requestAsPromise({type:"query",path:e,input:t,context:n?.context,signal:n?.signal})}mutation(e,t,n){return this.requestAsPromise({type:"mutation",path:e,input:t,context:n?.context,signal:n?.signal})}subscription(e,t,n){return this.$request({type:"subscription",path:e,input:t,context:n.context,signal:n.signal}).subscribe({next(a){switch(a.result.type){case"state":{var s;(s=n.onConnectionStateChange)===null||s===void 0||s.call(n,a.result);break}case"started":{var o;(o=n.onStarted)===null||o===void 0||o.call(n,{context:a.context});break}case"stopped":{var u;(u=n.onStopped)===null||u===void 0||u.call(n);break}case"data":case void 0:{var c;
18(c=n.onData)===null||c===void 0||c.call(n,a.result.data);break}}},error(a){var s;(s=n.onError)===null||s===void 0||s.call(n,a)},complete(){var a;(a=n.onComplete)===null||a===void 0||a.call(n)}})}};const N_=Symbol.for("trpc_untypedClient"),xI={query:"query",mutate:"mutation",subscribe:"subscription"},EI=e=>xI[e];function R_(e){const t=jh(({path:n,args:r})=>{const a=[...n],s=EI(a.pop()),o=a.join(".");return e[s](o,...r)});return Fb(n=>n===N_?e:t[n])}function _I(e){const t=new Uh(e);return R_(t)}function qb(e){return e[N_]}pn(ka(),1);pn(ka(),1);var TI=ii({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/asyncIterator.js"(e,t){function n(a){var s,o,u,c=2;for(typeof Symbol<"u"&&(o=Symbol.asyncIterator,u=Symbol.iterator);c--;){if(o&&(s=a[o])!=null)return s.call(a);if(u&&(s=a[u])!=null)return new r(s.call(a));o="@@asyncIterator",u="@@iterator"}throw new TypeError("Object is not async iterable")}function r(a){function s(o){if(Object(o)!==o)return Promise.reject(new TypeError(o+" is not an object."));var u=o.done;return Promise.resolve(o.value).then(function(c){return{value:c,done:u}})}return r=function(u){this.s=u,this.n=u.next},r.prototype={s:null,n:null,next:function(){return s(this.n.apply(this.s,arguments))},return:function(u){var c=this.s.return;return c===void 0?Promise.resolve({value:u,done:!0}):s(c.apply(this.s,arguments))},throw:function(u){var c=this.s.return;return c===void 0?Promise.reject(u):s(c.apply(this.s,arguments))}},new r(a)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}});pn(TI(),1);pn(ka(),1);var wI=ii({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/usingCtx.js"(e,t){function n(){var r=typeof SuppressedError=="function"?SuppressedError:function(u,c){var f=Error();return f.name="SuppressedError",f.error=u,f.suppressed=c,f},a={},s=[];function o(u,c){if(c!=null){if(Object(c)!==c)throw new TypeError("using declarations can only be used with objects, functions, null, or undefined.");if(u)var f=c[Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose")];if(f===void 0&&(f=c[Symbol.dispose||Symbol.for("Symbol.dispose")],u))var p=f;if(typeof f!="function")throw new TypeError("Object is not disposable.");p&&(f=function(){try{p.call(c)}catch(b){return Promise.reject(b)}}),s.push({v:c,d:f,a:u})}else u&&s.push({d:c,a:u});return c}return{e:a,u:o.bind(null,!1),a:o.bind(null,!0),d:function(){var c,f=this.e,p=0;function m(){for(;c=s.pop();)try{if(!c.a&&p===1)return p=0,s.push(c),Promise.resolve().then(m);if(c.d){var y=c.d.call(c.v);if(c.a)return p|=2,Promise.resolve(y).then(m,b)}else p|=1}catch(_){return b(_)}if(p===1)return f!==a?Promise.reject(f):Promise.resolve();if(f!==a)throw f}function b(y){return f=f!==a?new r(y,f):y,m()}return m()}}}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),O_=ii({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/OverloadYield.js"(e,t){function n(r,a){this.v=r,this.k=a}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),SI=ii({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/awaitAsyncGenerator.js"(e,t){var n=O_();function r(a){return new n(a,0)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),AI=ii({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/wrapAsyncGenerator.js"(e,t){var n=O_();function r(s){return function(){return new a(s.apply(this,arguments))}}function a(s){var o,u;function c(p,m){try{var b=s[p](m),y=b.value,_=y instanceof n;Promise.resolve(_?y.v:y).then(function(w){if(_){var k=p==="return"?"return":"next";if(!y.k||w.done)return c(k,w);w=s[k](w).value}f(b.done?"return":"normal",w)},function(w){c("throw",w)})}catch(w){f("throw",w)}}function f(p,m){switch(p){case"return":o.resolve({value:m,done:!0});break;case"throw":o.reject(m);break;default:o.resolve({value:m,done:!1})}(o=o.next)?c(o.key,o.arg):u=null}this._invoke=function(p,m){return new Promise(function(b,y){var _={key:p,arg:m,resolve:b,reject:y,next:null};u?u=u.next=_:(o=u=_,c(p,m))})},typeof s.return!="function"&&(this.return=void 0)}a.prototype[typeof Symbol=="function"&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},a.prototype.next=function(s){return this._invoke("next",s)},a.prototype.throw=function(s){return this._invoke("throw",s)},a.prototype.return=function(s){return this._invoke("return",s)}
18,t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}});pn(wI(),1);pn(SI(),1);pn(AI(),1);pn(ka(),1);function CI(e){return jh(({path:t,args:n})=>{var r;const a=[...t],s=a.pop();if(s==="useMutation")return e[s](a,...n);if(s==="_def")return{path:a};const[o,...u]=n,c=(r=u[0])!==null&&r!==void 0?r:{};return e[s](a,o,c)})}var W1;const kI=["client","ssrContext","ssrState","abortOnUnmount"],NI=(W1=N.createContext)===null||W1===void 0?void 0:W1.call(Bh,null),RI=e=>{switch(e){case"queryOptions":case"fetch":case"ensureData":case"prefetch":case"getData":case"setData":case"setQueriesData":return"query";case"infiniteQueryOptions":case"fetchInfinite":case"prefetchInfinite":case"getInfiniteData":case"setInfiniteData":return"infinite";case"setMutationDefaults":case"getMutationDefaults":case"isMutating":case"cancel":case"invalidate":case"refetch":case"reset":return"any"}};function OI(e){return jh(t=>{const n=[...t.path],r=n.pop(),a=[...t.args],s=a.shift(),o=RI(r),u=Ya(n,s,o);return{infiniteQueryOptions:()=>e.infiniteQueryOptions(n,u,a[0]),queryOptions:()=>e.queryOptions(n,u,...a),fetch:()=>e.fetchQuery(u,...a),fetchInfinite:()=>e.fetchInfiniteQuery(u,a[0]),prefetch:()=>e.prefetchQuery(u,...a),prefetchInfinite:()=>e.prefetchInfiniteQuery(u,a[0]),ensureData:()=>e.ensureQueryData(u,...a),invalidate:()=>e.invalidateQueries(u,...a),reset:()=>e.resetQueries(u,...a),refetch:()=>e.refetchQueries(u,...a),cancel:()=>e.cancelQuery(u,...a),setData:()=>{e.setQueryData(u,a[0],a[1])},setQueriesData:()=>e.setQueriesData(u,a[0],a[1],a[2]),setInfiniteData:()=>{e.setInfiniteQueryData(u,a[0],a[1])},getData:()=>e.getQueryData(u),getInfiniteData:()=>e.getInfiniteQueryData(u),setMutationDefaults:()=>e.setMutationDefaults(Bf(n),s),getMutationDefaults:()=>e.getMutationDefaults(Bf(n)),isMutating:()=>e.isMutating({mutationKey:Bf(n)})}[r]()})}function DI(e){const t=R_(e.client),n=OI(e);return Fb(r=>{const a=r;return a==="client"?t:kI.includes(a)?e[a]:n[r]})}var II=zo(_0(),1);function Xx(e){const t=e instanceof Uh?e:qb(e);return jh(n=>{const r=n.path,a=r.join("."),[s,o]=n.args;return(0,II.default)({queryKey:Ya(r,s,"query"),queryFn:()=>t.query(a,s,o?.trpc)},o)})}var X1=zo(_0(),1);function or(e,t,n){var r;const a=e[0];let s=(r=e[1])===null||r===void 0?void 0:r.input;if(n){var o;s=(0,X1.default)((0,X1.default)((0,X1.default)({},(o=s)!==null&&o!==void 0?o:{}),n.pageParam?{cursor:n.pageParam}:{}),{},{direction:n.direction})}return[a.join("."),s,t?.trpc]}var LI=$s({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/asyncIterator.js"(e,t){function n(a){var s,o,u,c=2;for(typeof Symbol<"u"&&(o=Symbol.asyncIterator,u=Symbol.iterator);c--;){if(o&&(s=a[o])!=null)return s.call(a);if(u&&(s=a[u])!=null)return new r(s.call(a));o="@@asyncIterator",u="@@iterator"}throw new TypeError("Object is not async iterable")}function r(a){function s(o){if(Object(o)!==o)return Promise.reject(new TypeError(o+" is not an object."));var u=o.done;return Promise.resolve(o.value).then(function(c){return{value:c,done:u}})}return r=function(u){this.s=u,this.n=u.next},r.prototype={s:null,n:null,next:function(){return s(this.n.apply(this.s,arguments))},return:function(u){var c=this.s.return;return c===void 0?Promise.resolve({value:u,done:!0}):s(c.apply(this.s,arguments))},throw:function(u){var c=this.s.return;return c===void 0?Promise.reject(u):s(c.apply(this.s,arguments))}},new r(a)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),MI=zo(LI(),1);function x2(e){return{path:e.path.join(".")}}function yc(e){const t=x2(e);return N.useMemo(()=>t,[t])}async function D_(e,t,n){const a=t.getQueryCache().build(t,{queryKey:n});a.setState({data:[],status:"success"});const s=[];var o=!1,u=!1,c;try{for(var f=(0,MI.default)(e),p;o=!(p=await f.next()).done;o=!1){const m=p.value;s.push(m),a.setState({data:[...s]})}}catch(m){u=!0,c=m}finally{try{o&&f.return!=null&&await f.return()}finally{if(u)throw c}}return s}var Et=zo(_0(),1);function PI(e){const{client:t,queryClient:n}=e,r=t instanceof Uh?t:qb(t);return{infiniteQueryOptions:(a,s,o)=>{var u,c;const f=((u=s[1])===null||u===void 0?void 0:u.input)===Fr,p=async m=>{var b;const y=(0,Et.default)((0,Et.default)({},o),{},{trpc:(0,Et.default)((0,Et.default)({},o?.trpc),!(o==null||(b=o.trpc)===null||b===void 0)&&b.abortOnUnmount?{signal:m.signal}:{signal:null})});return await r.query(...or(s,y,{direction:m.direction,pageParam:m.pageParam}))};return Object.assign((0,Et.default)((0,Et.default)({},o),{},{initialData:o?.initialData,queryKey:s,queryFn:f?Fr:p,initialPageParam:(c=o?.initialCursor)!==null&&c!==void 0?c:null}),{trpc:x2({path:a})})},queryOptions:(a,s,o)=>{var u;const c=((u=s[1])===null||u===void 0?void 0:u.input)===Fr,f=async p=>{var m;const b=(0,Et.default)((0,Et.default)({},o),{},{trpc:(0,Et.default)((0,Et.default)({},o?.trpc),!(o==null||(m=o.trpc)===null||m===void 0)&&m.abortOnUnmount?{signal:p.signal}:{signal:null})}),y=await r.query(...or(s,b));return h_(y)?D_(y,n,s):y};return Object.assign((0,Et.default)((0,Et.default)({},o),{},{initialData:o?.initialData,queryKey:s,queryFn:c?Fr:f}),{trpc:x2({path:a})})},fetchQuery:(a,s)=>n.fetchQuery((0,Et.default)((0,Et.default)({},s),{},{queryKey:a,queryFn:()=>r.query(...or(a,s))})),fetchInfiniteQuery:(a,s)=>{var o;return n.fetchInfiniteQuery((0,Et.default)((0,Et.default)({},s),{},{queryKey:a,queryFn:({pageParam:u,direction:c})=>r.query(...or(a,s,{pageParam:u,direction:c})),initialPageParam:(o=s?.initialCursor)!==null&&o!==void 0?o:null}))},prefetchQuery:(a,s)=>n.prefetchQuery((0,Et.default)((0,Et.default)({},s),{},{queryKey:a,queryFn:()=>r.query(...or(a,s))})),prefetchInfiniteQuery:(a,s)=>{var o;return n.prefetchInfiniteQuery((0,Et.default)((0,Et.default)({},s),{},{queryKey:a,queryFn:({pageParam:u,direction:c})=>r.query(...or(a,s,{pageParam:u,direction:c})),initialPageParam:(o=s?.initialCursor)!==null&&o!==void 0?o:null}))},ensureQueryData:(a,s)=>n.ensureQueryData((0,Et.default)((0,Et.default)({},s),{},{queryKey:a,queryFn:()=>r.query(...or(a,s))})),invalidateQueries:(a,s,o)=>n.invalidateQueries((0,Et.default)((0,Et.default)({},s),{},{queryKey:a}),o),resetQueries:(a,s,o)=>n.resetQueries((0,Et.default)((0,Et.default)({},s),{},{queryKey:a}),o),refetchQueries:(a,s,o)=>n.refetchQueries((0,Et.default)((0,Et.default)({},s),{},{queryKey:a}),o),cancelQuery:(a,s)=>n.cancelQueries({queryKey:a},s),setQueryData:(a,s,o)=>n.setQueryData(a,s,o),setQueriesData:(a,s,o,u)=>n.setQueriesData((0,Et.default)((0,Et.default)({},s),{},{queryKey:a}),o,u),getQueryData:a=>n.getQueryData(a),setInfiniteQueryData:(a,s,o)=>n.setQueryData(a,s,o),getInfiniteQueryData:a=>n.getQueryData(a),setMutationDefaults:(a,s)=>{const o=a[0],u=c=>
18r.mutation(...or([o,{input:c}],e));return n.setMutationDefaults(a,typeof s=="function"?s({canonicalMutationFn:u}):s)},getMutationDefaults:a=>n.getMutationDefaults(a),isMutating:a=>n.isMutating((0,Et.default)((0,Et.default)({},a),{},{exact:!0}))}}var Be=zo(_0());const Kx=(e,t)=>new Proxy(e,{get(r,a){return t(a),r[a]}});function BI(e){var t,n;const r=(t=void 0)!==null&&t!==void 0?t:H=>H.originalFn(),a=(n=void 0)!==null&&n!==void 0?n:NI,s=_I,o=H=>{var P;const{abortOnUnmount:z=!1,queryClient:K,ssrContext:ee}=H,[Y,se]=N.useState((P=H.ssrState)!==null&&P!==void 0?P:!1),re=H.client instanceof Uh?H.client:qb(H.client),pe=N.useMemo(()=>PI({client:re,queryClient:K}),[re,K]),ue=N.useMemo(()=>(0,Be.default)({abortOnUnmount:z,queryClient:K,client:re,ssrContext:ee??null,ssrState:Y},pe),[z,re,pe,K,ee,Y]);return N.useEffect(()=>{se(be=>be?"mounted":!1)},[]),x.jsx(a.Provider,{value:ue,children:H.children})};function u(){const H=N.useContext(a);if(!H)throw new Error("Unable to find tRPC Context. Did you forget to wrap your App inside `withTRPC` HoC?");return H}function c(H,P){var z;const{queryClient:K,ssrState:ee}=u();return ee&&ee!=="mounted"&&((z=K.getQueryCache().find({queryKey:H}))===null||z===void 0?void 0:z.state.status)==="error"?(0,Be.default)({retryOnMount:!1},P):P}function f(H,P,z){var K,ee,Y,se,re;const pe=u(),{abortOnUnmount:ue,client:be,ssrState:G,queryClient:ae,prefetchQuery:te}=pe,Oe=Ya(H,P,"query"),U=ae.getQueryDefaults(Oe),$=P===Fr;typeof window>"u"&&G==="prepass"&&(z==null||(K=z.trpc)===null||K===void 0?void 0:K.ssr)!==!1&&((ee=z?.enabled)!==null&&ee!==void 0?ee:U?.enabled)!==!1&&!$&&!ae.getQueryCache().find({queryKey:Oe})&&te(Oe,z);const ce=c(Oe,(0,Be.default)((0,Be.default)({},U),z)),I=(Y=(se=z==null||(re=z.trpc)===null||re===void 0?void 0:re.abortOnUnmount)!==null&&se!==void 0?se:void 0)!==null&&Y!==void 0?Y:ue,he=uD((0,Be.default)((0,Be.default)({},ce),{},{queryKey:Oe,queryFn:$?P:async _e=>{const De=(0,Be.default)((0,Be.default)({},ce),{},{trpc:(0,Be.default)((0,Be.default)({},ce?.trpc),I?{signal:_e.signal}:{signal:null})}),Me=await be.query(...or(Oe,De));return h_(Me)?D_(Me,ae,Oe):Me}}),ae);return he.trpc=yc({path:H}),he}function p(H,P,z){var K,ee,Y;const se=u(),re=Ya(H,P,"query"),pe=P===Fr,ue=(K=(ee=z==null||(Y=z.trpc)===null||Y===void 0?void 0:Y.abortOnUnmount)!==null&&ee!==void 0?ee:void 0)!==null&&K!==void 0?K:se.abortOnUnmount;hD((0,Be.default)((0,Be.default)({},z),{},{queryKey:re,queryFn:pe?P:be=>{const G={trpc:(0,Be.default)((0,Be.default)({},z?.trpc),ue?{signal:be.signal}:{})};return se.client.query(...or(re,G))}}))}function m(H,P,z){var K,ee,Y;const se=u(),re=Ya(H,P,"query"),pe=(K=(ee=z==null||(Y=z.trpc)===null||Y===void 0?void 0:Y.abortOnUnmount)!==null&&ee!==void 0?ee:void 0)!==null&&K!==void 0?K:se.abortOnUnmount,ue=cD((0,Be.default)((0,Be.default)({},z),{},{queryKey:re,queryFn:be=>{const G=(0,Be.default)((0,Be.default)({},z),{},{trpc:(0,Be.default)((0,Be.default)({},z?.trpc),pe?{signal:be.signal}:{signal:null})});return se.client.query(...or(re,G))}}),se.queryClient);return ue.trpc=yc({path:H}),[ue.data,ue]}function b(H,P){const{client:z,queryClient:K}=u(),ee=Bf(H),Y=K.defaultMutationOptions(K.getMutationDefaults(ee)),se=pD((0,Be.default)((0,Be.default)({},P),{},{mutationKey:ee,mutationFn:re=>z.mutation(...or([H,{input:re}],P)),onSuccess(...re){var pe,ue;return r({originalFn:()=>{var G,ae,te;return(G=P==null||(ae=P.onSuccess)===null||ae===void 0?void 0:ae.call(P,...re))!==null&&G!==void 0?G:Y==null||(te=Y.onSuccess)===null||te===void 0?void 0:te.call(Y,...re)},queryClient:K,meta:(pe=(ue=P?.meta)!==null&&ue!==void 0?ue:Y?.meta)!==null&&pe!==void 0?pe:{}})}}),K);return se.trpc=yc({path:H}),se}const y={data:void 0,error:null,status:"idle"},_={data:void 0,error:null,status:"connecting"};/* istanbul ignore next -- @preserve */function w(H,P,z){var K;const ee=(K=z?.enabled)!==null&&K!==void 0?K:P!==Fr,Y=Bs(Ya(H,P,"any")),{client:se}=u(),re=N.useRef(z);N.useEffect(()=>{re.current=z});const[pe]=N.useState(new Set([])),ue=N.useCallback($=>{pe.add($)},[pe]),be=N.useRef(null),G=N.useCallback($=>{const ce=te.current,I=te.current=$(ce);let he=!1;for(const _e of pe)if(ce[_e]!==I[_e]){he=!0;break}he&&U(Kx(I,ue))},[ue,pe]),ae=N.useCallback(()=>{var $;if(($=be.current)===null||$===void 0||$.unsubscribe(),!ee){G(()=>(0,Be.default)((0,Be.default)({},y),{},{reset:ae}));return}G(()=>(0,Be.default)((0,Be.default)({},_),{},{reset:ae}));const ce=se.subscription(H.join("."),P??void 0,{onStarted:()=>{var I,he;(I=(he=re.current).onStarted)===null||I===void 0||I.call(he),G(_e=>(0,Be.default)((0,Be.default)({},_e),{},{status:"pending",error:null}))},onData:I=>{var he,_e;(he=(_e=re.current).onData)===null||he===void 0||he.call(_e,I),G(De=>(0,Be.default)((0,Be.default)({},De),{},{status:"pending",data:I,error:null}))},onError:I=>{var he,_e;(he=(_e=re.current).onError)===null||he===void 0||he.call(_e,I),G(De=>(0,Be.default)((0,Be.default)({},De),{},{status:"error",error:I}))},onConnectionStateChange:I=>{G(he=>{switch(I.state){case"idle":return(0,Be.default)((0,Be.default)({},he),{},{status:I.state,error:null,data:void 0});case"connecting":return(0,Be.default)((0,Be.default)({},he),{},{error:I.error,status:I.state});
18case"pending":return he}})},onComplete:()=>{var I,he;(I=(he=re.current).onComplete)===null||I===void 0||I.call(he),G(_e=>(0,Be.default)((0,Be.default)({},_e),{},{status:"idle",error:null,data:void 0}))}});be.current=ce},[se,Y,ee,G]);N.useEffect(()=>(ae(),()=>{var $;($=be.current)===null||$===void 0||$.unsubscribe()}),[ae]);const te=N.useRef(ee?(0,Be.default)((0,Be.default)({},_),{},{reset:ae}):(0,Be.default)((0,Be.default)({},y),{},{reset:ae})),[Oe,U]=N.useState(Kx(te.current,ue));return Oe}function k(H,P,z){var K,ee,Y,se,re;const{client:pe,ssrState:ue,prefetchInfiniteQuery:be,queryClient:G,abortOnUnmount:ae}=u(),te=Ya(H,P,"infinite"),Oe=G.getQueryDefaults(te),U=P===Fr;typeof window>"u"&&ue==="prepass"&&(z==null||(K=z.trpc)===null||K===void 0?void 0:K.ssr)!==!1&&((ee=z?.enabled)!==null&&ee!==void 0?ee:Oe?.enabled)!==!1&&!U&&!G.getQueryCache().find({queryKey:te})&&be(te,(0,Be.default)((0,Be.default)({},Oe),z));const $=c(te,(0,Be.default)((0,Be.default)({},Oe),z)),ce=(Y=z==null||(se=z.trpc)===null||se===void 0?void 0:se.abortOnUnmount)!==null&&Y!==void 0?Y:ae,I=gD((0,Be.default)((0,Be.default)({},$),{},{initialPageParam:(re=z.initialCursor)!==null&&re!==void 0?re:null,persister:z.persister,queryKey:te,queryFn:U?P:he=>{var _e;const De=(0,Be.default)((0,Be.default)({},$),{},{trpc:(0,Be.default)((0,Be.default)({},$?.trpc),ce?{signal:he.signal}:{signal:null})});return pe.query(...or(te,De,{pageParam:(_e=he.pageParam)!==null&&_e!==void 0?_e:z.initialCursor,direction:he.direction}))}}),G);return I.trpc=yc({path:H}),I}function A(H,P,z){var K,ee,Y;const se=u(),re=Ya(H,P,"infinite"),pe=se.queryClient.getQueryDefaults(re),ue=P===Fr,be=c(re,(0,Be.default)((0,Be.default)({},pe),z)),G=(K=z==null||(ee=z.trpc)===null||ee===void 0?void 0:ee.abortOnUnmount)!==null&&K!==void 0?K:se.abortOnUnmount;mD((0,Be.default)((0,Be.default)({},z),{},{initialPageParam:(Y=z.initialCursor)!==null&&Y!==void 0?Y:null,queryKey:re,queryFn:ue?P:ae=>{var te;const Oe=(0,Be.default)((0,Be.default)({},be),{},{trpc:(0,Be.default)((0,Be.default)({},be?.trpc),G?{signal:ae.signal}:{})});return se.client.query(...or(re,Oe,{pageParam:(te=ae.pageParam)!==null&&te!==void 0?te:z.initialCursor,direction:ae.direction}))}}))}function R(H,P,z){var K,ee,Y;const se=u(),re=Ya(H,P,"infinite"),pe=se.queryClient.getQueryDefaults(re),ue=c(re,(0,Be.default)((0,Be.default)({},pe),z)),be=(K=z==null||(ee=z.trpc)===null||ee===void 0?void 0:ee.abortOnUnmount)!==null&&K!==void 0?K:se.abortOnUnmount,G=dD((0,Be.default)((0,Be.default)({},z),{},{initialPageParam:(Y=z.initialCursor)!==null&&Y!==void 0?Y:null,queryKey:re,queryFn:ae=>{var te;const Oe=(0,Be.default)((0,Be.default)({},ue),{},{trpc:(0,Be.default)((0,Be.default)({},ue?.trpc),be?{signal:ae.signal}:{})});return se.client.query(...or(re,Oe,{pageParam:(te=ae.pageParam)!==null&&te!==void 0?te:z.initialCursor,direction:ae.direction}))}}),se.queryClient);return G.trpc=yc({path:H}),[G.data,G]}return{Provider:o,createClient:s,useContext:u,useUtils:u,useQuery:f,usePrefetchQuery:p,useSuspenseQuery:m,useQueries:(H,P)=>{const{ssrState:z,queryClient:K,prefetchQuery:ee,client:Y}=u(),se=Xx(Y),re=H(se);if(typeof window>"u"&&z==="prepass")for(const ue of re){var pe;const be=ue;((pe=be.trpc)===null||pe===void 0?void 0:pe.ssr)!==!1&&!K.getQueryCache().find({queryKey:be.queryKey})&&ee(be.queryKey,be)}return f_({queries:re.map(ue=>(0,Be.default)((0,Be.default)({},ue),{},{queryKey:ue.queryKey})),combine:P?.combine},K)},useSuspenseQueries:H=>{const{queryClient:P,client:z}=u(),K=Xx(z),ee=H(K),Y=fD({queries:ee.map(se=>(0,Be.default)((0,Be.default)({},se),{},{queryFn:se.queryFn,queryKey:se.queryKey}))},P);return[Y.map(se=>se.data),Y]},useMutation:b,useSubscription:w,useInfiniteQuery:k,usePrefetchInfiniteQuery:A,useSuspenseInfiniteQuery:R}}function zI(e){const t=CI(e);return Fb(n=>n==="useContext"||n==="useUtils"?()=>{const r=e.useUtils();return N.useMemo(()=>DI(r),[r])}:e.hasOwnProperty(n)?e[n]:t[n])}function HI(e){const t=BI();return zI(t)}const e0=HI(),jI="app_session_id",FI="Please login (10001)",UI="__Host-oauth_state",qI=e=>btoa(JSON.stringify(e));var K1={exports:{}},vc={},Z1={exports:{}},J1={};/**
19 * @license React
20 * scheduler.production.js
21 *
22 * Copyright (c) Meta Platforms, Inc. and affiliates.
23 *
24 * This source code is licensed under the MIT license found in the
25 * LICENSE file in the root directory of this source tree.
26 */var Zx;function $I(){return Zx||(Zx=1,(function(e){function t(G,ae){var te=G.length;G.push(ae);e:for(;0<te;){var Oe=te-1>>>1,U=G[Oe];if(0<a(U,ae))G[Oe]=ae,G[te]=U,te=Oe;else break e}}function n(G){return G.length===0?null:G[0]}function r(G){if(G.length===0)return null;var ae=G[0],te=G.pop();if(te!==ae){G[0]=te;e:for(var Oe=0,U=G.length,$=U>>>1;Oe<$;){var ce=2*(Oe+1)-1,I=G[ce],he=ce+1,_e=G[he];if(0>a(I,te))he<U&&0>a(_e,I)?(G[Oe]=_e,G[he]=te,Oe=he):(G[Oe]=I,G[ce]=te,Oe=ce);else if(he<U&&0>a(_e,te))G[Oe]=_e,G[he]=te,Oe=he;else break e}}return ae}function a(G,ae){var te=G.sortIndex-ae.sortIndex;return te!==0?te:G.id-ae.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var o=Date,u=o.now();e.unstable_now=function(){return o.now()-u}}var c=[],f=[],p=1,m=null,b=3,y=!1,_=!1,w=!1,k=!1,A=typeof setTimeout=="function"?setTimeout:null,R=typeof clearTimeout=="function"?clearTimeout:null,D=typeof setImmediate<"u"?setImmediate:null;function F(G){for(var ae=n(f);ae!==null;){if(ae.callback===null)r(f);else if(ae.startTime<=G)r(f),ae.sortIndex=ae.expirationTime,t(c,ae);else break;ae=n(f)}}function H(G){if(w=!1,F(G),!_)if(n(c)!==null)_=!0,P||(P=!0,re());else{var ae=n(f);ae!==null&&be(H,ae.startTime-G)}}var P=!1,z=-1,K=5,ee=-1;function Y(){return k?!0:!(e.unstable_now()-ee<K)}function se(){if(k=!1,P){var G=e.unstable_now();ee=G;var ae=!0;try{e:{_=!1,w&&(w=!1,R(z),z=-1),y=!0;var te=b;try{t:{for(F(G),m=n(c);m!==null&&!(m.expirationTime>G&&Y());){var Oe=m.callback;if(typeof Oe=="function"){m.callback=null,b=m.priorityLevel;var U=Oe(m.expirationTime<=G);if(G=e.unstable_now(),typeof U=="function"){m.callback=U,F(G),ae=!0;break t}m===n(c)&&r(c),F(G)}else r(c);m=n(c)}if(m!==null)ae=!0;else{var $=n(f);$!==null&&be(H,$.startTime-G),ae=!1}}break e}finally{m=null,b=te,y=!1}ae=void 0}}finally{ae?re():P=!1}}}var re;if(typeof D=="function")re=function(){D(se)};else if(typeof MessageChannel<"u"){var pe=new MessageChannel,ue=pe.port2;pe.port1.onmessage=se,re=function(){ue.postMessage(null)}}else re=function(){A(se,0)};function be(G,ae){z=A(function(){G(e.unstable_now())},ae)}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(G){G.callback=null},e.unstable_forceFrameRate=function(G){0>G||125<G?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):K=0<G?Math.floor(1e3/G):5},e.unstable_getCurrentPriorityLevel=function(){return b},e.unstable_next=function(G){switch(b){case 1:case 2:case 3:var ae=3;break;default:ae=b}var te=b;b=ae;try{return G()}finally{b=te}},e.unstable_requestPaint=function(){k=!0},e.unstable_runWithPriority=function(G,ae){switch(G){case 1:case 2:case 3:case 4:case 5:break;default:G=3}var te=b;b=G;try{return ae()}finally{b=te}},e.unstable_scheduleCallback=function(G,ae,te){var Oe=e.unstable_now();switch(typeof te=="object"&&te!==null?(te=te.delay,te=typeof te=="number"&&0<te?Oe+te:Oe):te=Oe,G){case 1:var U=-1;break;case 2:U=250;break;case 5:U=1073741823;break;case 4:U=1e4;break;default:U=5e3}return U=te+U,G={id:p++,callback:ae,priorityLevel:G,startTime:te,expirationTime:U,sortIndex:-1},te>Oe?(G.sortIndex=te,t(f,G),n(c)===null&&G===n(f)&&(w?(R(z),z=-1):w=!0,be(H,te-Oe))):(G.sortIndex=U,t(c,G),_||y||(_=!0,P||(P=!0,re()))),G},e.unstable_shouldYield=Y,e.unstable_wrapCallback=function(G){var ae=b;return function(){var te=b;b=ae;try{return G.apply(this,arguments)}finally{b=te}}}}
vendor: 5,153 bytes, lines 26-42
26)(J1)),J1}var Jx;function VI(){return Jx||(Jx=1,Z1.exports=$I()),Z1.exports}var eg={exports:{}},Zn={};/**
27 * @license React
28 * react-dom.production.js
29 *
30 * Copyright (c) Meta Platforms, Inc. and affiliates.
31 *
32 * This source code is licensed under the MIT license found in the
33 * LICENSE file in the root directory of this source tree.
34 */var e5;function GI(){if(e5)return Zn;e5=1;var e=Ph();function t(c){var f="https://react.dev/errors/"+c;if(1<arguments.length){f+="?args[]="+encodeURIComponent(arguments[1]);for(var p=2;p<arguments.length;p++)f+="&args[]="+encodeURIComponent(arguments[p])}return"Minified React error #"+c+"; visit "+f+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var r={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},a=Symbol.for("react.portal");function s(c,f,p){var m=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:a,key:m==null?null:""+m,children:c,containerInfo:f,implementation:p}}var o=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function u(c,f){if(c==="font")return"";if(typeof f=="string")return f==="use-credentials"?f:""}return Zn.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,Zn.createPortal=function(c,f){var p=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!f||f.nodeType!==1&&f.nodeType!==9&&f.nodeType!==11)throw Error(t(299));return s(c,f,null,p)},Zn.flushSync=function(c){var f=o.T,p=r.p;try{if(o.T=null,r.p=2,c)return c()}finally{o.T=f,r.p=p,r.d.f()}},Zn.preconnect=function(c,f){typeof c=="string"&&(f?(f=f.crossOrigin,f=typeof f=="string"?f==="use-credentials"?f:"":void 0):f=null,r.d.C(c,f))},Zn.prefetchDNS=function(c){typeof c=="string"&&r.d.D(c)},Zn.preinit=function(c,f){if(typeof c=="string"&&f&&typeof f.as=="string"){var p=f.as,m=u(p,f.crossOrigin),b=typeof f.integrity=="string"?f.integrity:void 0,y=typeof f.fetchPriority=="string"?f.fetchPriority:void 0;p==="style"?r.d.S(c,typeof f.precedence=="string"?f.precedence:void 0,{crossOrigin:m,integrity:b,fetchPriority:y}):p==="script"&&r.d.X(c,{crossOrigin:m,integrity:b,fetchPriority:y,nonce:typeof f.nonce=="string"?f.nonce:void 0})}},Zn.preinitModule=function(c,f){if(typeof c=="string")if(typeof f=="object"&&f!==null){if(f.as==null||f.as==="script"){var p=u(f.as,f.crossOrigin);r.d.M(c,{crossOrigin:p,integrity:typeof f.integrity=="string"?f.integrity:void 0,nonce:typeof f.nonce=="string"?f.nonce:void 0})}}else f==null&&r.d.M(c)},Zn.preload=function(c,f){if(typeof c=="string"&&typeof f=="object"&&f!==null&&typeof f.as=="string"){var p=f.as,m=u(p,f.crossOrigin);r.d.L(c,p,{crossOrigin:m,integrity:typeof f.integrity=="string"?f.integrity:void 0,nonce:typeof f.nonce=="string"?f.nonce:void 0,type:typeof f.type=="string"?f.type:void 0,fetchPriority:typeof f.fetchPriority=="string"?f.fetchPriority:void 0,referrerPolicy:typeof f.referrerPolicy=="string"?f.referrerPolicy:void 0,imageSrcSet:typeof f.imageSrcSet=="string"?f.imageSrcSet:void 0,imageSizes:typeof f.imageSizes=="string"?f.imageSizes:void 0,media:typeof f.media=="string"?f.media:void 0})}},Zn.preloadModule=function(c,f){if(typeof c=="string")if(f){var p=u(f.as,f.crossOrigin);r.d.m(c,{as:typeof f.as=="string"&&f.as!=="script"?f.as:void 0,crossOrigin:p,integrity:typeof f.integrity=="string"?f.integrity:void 0})}else r.d.m(c)},Zn.requestFormReset=function(c){r.d.r(c)},Zn.unstable_batchedUpdates=function(c,f){return c(f)},Zn.useFormState=function(c,f,p){return o.H.useFormState(c,f,p)},Zn.useFormStatus=function(){return o.H.useHostTransitionStatus()},Zn.version="19.2.1",Zn}var t5;function I_(){if(t5)return eg.exports;t5=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(),eg.exports=GI(),eg.exports}/**
35 * @license React
36 * react-dom-client.production.js
37 *
38 * Copyright (c) Meta Platforms, Inc. and affiliates.
39 *
40 * This source code is licensed under the MIT license found in the
41 * LICENSE file in the root directory of this source tree.
42 */var n5;function YI(){if(n5)return vc;n5=1;var e=VI(),t=Ph(),n=I_();function r(i){var l="https://react.dev/errors/"+i;if(1<arguments.length){l+="?args[]="+encodeURIComponent(arguments[1]);for(var d=2;d<arguments.length;d++)l+="&args[]="+encodeURIComponent(arguments[d])}return"Minified React error #"+i+"; visit "+l+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(i){return!(!i||i.nodeType!==1&&i.nodeType!==9&&i.nodeType!==11)}function s(i){var l=i,d=i;if(i.alternate)for(;l.return;)l=l.return;else{i=l;do l=i,(l.flags&4098)!==0&&(d=l.return),i=l.return;while(i)}return l.tag===3?d:null}function o(i){if(i.tag===13){var l=i.memoizedState;if(l===null&&(i=i.alternate,i!==null&&(l=i.memoizedState)),l!==null)return l.dehydrated}return null}function u(i){if(i.tag===31){var l=i.memoizedState;if(l===null&&(i=i.alternate,i!==null&&(l=i.memoizedState)),l!==null)return l.dehydrated}return null}
vendor: 10,520 bytes, lines 42-49
42function c(i){if(s(i)!==i)throw Error(r(188))}function f(i){var l=i.alternate;if(!l){if(l=s(i),l===null)throw Error(r(188));return l!==i?null:i}for(var d=i,h=l;;){var g=d.return;if(g===null)break;var v=g.alternate;if(v===null){if(h=g.return,h!==null){d=h;continue}break}if(g.child===v.child){for(v=g.child;v;){if(v===d)return c(g),i;if(v===h)return c(g),l;v=v.sibling}throw Error(r(188))}if(d.return!==h.return)d=g,h=v;else{for(var C=!1,L=g.child;L;){if(L===d){C=!0,d=g,h=v;break}if(L===h){C=!0,h=g,d=v;break}L=L.sibling}if(!C){for(L=v.child;L;){if(L===d){C=!0,d=v,h=g;break}if(L===h){C=!0,h=v,d=g;break}L=L.sibling}if(!C)throw Error(r(189))}}if(d.alternate!==h)throw Error(r(190))}if(d.tag!==3)throw Error(r(188));return d.stateNode.current===d?i:l}function p(i){var l=i.tag;if(l===5||l===26||l===27||l===6)return i;for(i=i.child;i!==null;){if(l=p(i),l!==null)return l;i=i.sibling}return null}var m=Object.assign,b=Symbol.for("react.element"),y=Symbol.for("react.transitional.element"),_=Symbol.for("react.portal"),w=Symbol.for("react.fragment"),k=Symbol.for("react.strict_mode"),A=Symbol.for("react.profiler"),R=Symbol.for("react.consumer"),D=Symbol.for("react.context"),F=Symbol.for("react.forward_ref"),H=Symbol.for("react.suspense"),P=Symbol.for("react.suspense_list"),z=Symbol.for("react.memo"),K=Symbol.for("react.lazy"),ee=Symbol.for("react.activity"),Y=Symbol.for("react.memo_cache_sentinel"),se=Symbol.iterator;function re(i){return i===null||typeof i!="object"?null:(i=se&&i[se]||i["@@iterator"],typeof i=="function"?i:null)}var pe=Symbol.for("react.client.reference");function ue(i){if(i==null)return null;if(typeof i=="function")return i.$$typeof===pe?null:i.displayName||i.name||null;if(typeof i=="string")return i;switch(i){case w:return"Fragment";case A:return"Profiler";case k:return"StrictMode";case H:return"Suspense";case P:return"SuspenseList";case ee:return"Activity"}if(typeof i=="object")switch(i.$$typeof){case _:return"Portal";case D:return i.displayName||"Context";case R:return(i._context.displayName||"Context")+".Consumer";case F:var l=i.render;return i=i.displayName,i||(i=l.displayName||l.name||"",i=i!==""?"ForwardRef("+i+")":"ForwardRef"),i;case z:return l=i.displayName||null,l!==null?l:ue(i.type)||"Memo";case K:l=i._payload,i=i._init;try{return ue(i(l))}catch{}}return null}var be=Array.isArray,G=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ae=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,te={pending:!1,data:null,method:null,action:null},Oe=[],U=-1;function $(i){return{current:i}}function ce(i){0>U||(i.current=Oe[U],Oe[U]=null,U--)}function I(i,l){U++,Oe[U]=i.current,i.current=l}var he=$(null),_e=$(null),De=$(null),Me=$(null);function Ue(i,l){switch(I(De,l),I(_e,i),I(he,null),l.nodeType){case 9:case 11:i=(i=l.documentElement)&&(i=i.namespaceURI)?ex(i):0;break;default:if(i=l.tagName,l=l.namespaceURI)l=ex(l),i=tx(l,i);else switch(i){case"svg":i=1;break;case"math":i=2;break;default:i=0}}ce(he),I(he,i)}function Ke(){ce(he),ce(_e),ce(De)}function Ct(i){i.memoizedState!==null&&I(Me,i);var l=he.current,d=tx(l,i.type);l!==d&&(I(_e,i),I(he,d))}function Zt(i){_e.current===i&&(ce(he),ce(_e)),Me.current===i&&(ce(Me),hc._currentValue=te)}var sn,Rr;function Hn(i){if(sn===void 0)try{throw Error()}catch(d){var l=d.stack.trim().match(/\n( *(at )?)/);sn=l&&l[1]||"",Rr=-1<d.stack.indexOf(`
43    at`)?" (<anonymous>)":-1<d.stack.indexOf("@")?"@unknown:0:0":""}return`
44`+sn+i+Rr}var ba=!1;function Qr(i,l){if(!i||ba)return"";ba=!0;var d=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var h={DetermineComponentFrameRoot:function(){try{if(l){var Ee=function(){throw Error()};if(Object.defineProperty(Ee.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Ee,[])}catch(me){var fe=me}Reflect.construct(i,[],Ee)}else{try{Ee.call()}catch(me){fe=me}i.call(Ee.prototype)}}else{try{throw Error()}catch(me){fe=me}(Ee=i())&&typeof Ee.catch=="function"&&Ee.catch(function(){})}}catch(me){if(me&&fe&&typeof me.stack=="string")return[me.stack,fe.stack]}return[null,null]}};h.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var g=Object.getOwnPropertyDescriptor(h.DetermineComponentFrameRoot,"name");g&&g.configurable&&Object.defineProperty(h.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var v=h.DetermineComponentFrameRoot(),C=v[0],L=v[1];if(C&&L){var X=C.split(`
45`),de=L.split(`
46`);for(g=h=0;h<X.length&&!X[h].includes("DetermineComponentFrameRoot");)h++;for(;g<de.length&&!de[g].includes("DetermineComponentFrameRoot");)g++;if(h===X.length||g===de.length)for(h=X.length-1,g=de.length-1;1<=h&&0<=g&&X[h]!==de[g];)g--;for(;1<=h&&0<=g;h--,g--)if(X[h]!==de[g]){if(h!==1||g!==1)do if(h--,g--,0>g||X[h]!==de[g]){var ye=`
47`+X[h].replace(" at new "," at ");return i.displayName&&ye.includes("<anonymous>")&&(ye=ye.replace("<anonymous>",i.displayName)),ye}while(1<=h&&0<=g);break}}}finally{ba=!1,Error.prepareStackTrace=d}return(d=i?i.displayName||i.name:"")?Hn(d):""}function fr(i,l){switch(i.tag){case 26:case 27:case 5:return Hn(i.type);case 16:return Hn("Lazy");case 13:return i.child!==l&&l!==null?Hn("Suspense Fallback"):Hn("Suspense");case 19:return Hn("SuspenseList");case 0:case 15:return Qr(i.type,!1);case 11:return Qr(i.type.render,!1);case 1:return Qr(i.type,!0);case 31:return Hn("Activity");default:return""}}function Wr(i){try{var l="",d=null;do l+=fr(i,d),d=i,i=i.return;while(i);return l}catch(h){return`
48Error generating stack: `+h.message+`
49`+h.stack}}var on=Object.prototype.hasOwnProperty,Xi=e.unstable_scheduleCallback,Ws=e.unstable_cancelCallback,jn=e.unstable_shouldYield,Ia=e.unstable_requestPaint,Fn=e.unstable_now,Cu=e.unstable_getCurrentPriorityLevel,ve=e.unstable_ImmediatePriority,Ie=e.unstable_UserBlockingPriority,Qe=e.unstable_NormalPriority,rt=e.unstable_LowPriority,ct=e.unstable_IdlePriority,Wn=e.log,Xn=e.unstable_setDisableYieldValue,Un=null,ln=null;function qn(i){if(typeof Wn=="function"&&Xn(i),ln&&typeof ln.setStrictMode=="function")try{ln.setStrictMode(Un,i)}catch{}}var At=Math.clz32?Math.clz32:Ma,La=Math.log,ar=Math.LN2;function Ma(i){return i>>>=0,i===0?32:31-(La(i)/ar|0)|0}var Go=256,Yo=262144,Xs=4194304;function Pa(i){var l=i&42;if(l!==0)return l;switch(i&-i){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:return i&261888;case 262144:case 524288:case 1048576:case 2097152:return i&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return i&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return i}}function Ze(i,l,d){var h=i.pendingLanes;if(h===0)return 0;var g=0,v=i.suspendedLanes,C=i.pingedLanes;i=i.warmLanes;var L=h&134217727;return L!==0?(h=L&~v,h!==0?g=Pa(h):(C&=L,C!==0?g=Pa(C):d||(d=L&~i,d!==0&&(g=Pa(d))))):(L=h&~v,L!==0?g=Pa(L):C!==0?g=Pa(C):d||(d=h&~i,d!==0&&(g=Pa(d)))),g===0?0:l!==0&&l!==g&&(l&v)===0&&(v=g&-g,d=l&-l,v>=d||v===32&&(d&4194048)!==0)?l:g}function $t(i,l){return(i.pendingLanes&~(i.suspendedLanes&~i.pingedLanes)&l)===0}function On(i,l){switch(i){case 1:case 2:case 4:case 8:case 64:return l+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 l+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 Kn(){var i=Xs;return Xs<<=1,(Xs&62914560)===0&&(Xs=4194304),i}function Ki(i){for(var l=[],d=0;31>d;d++)l.push(i);return l}function Qt(i,l){i.pendingLanes|=l,l!==268435456&&(i.suspendedLanes=0,i.pingedLanes=0,i.warmLanes=0)}function hr(i,l,d,h,g,v){var C=i.pendingLanes;i.pendingLanes=d,i.suspendedLanes=0,i.pingedLanes=0,i.warmLanes=0,i.expiredLanes&=d,i.entangledLanes&=d,i.errorRecoveryDisabledLanes&=d,i.shellSuspendCounter=0;var L=i.entanglements,X=i.expirationTimes,de=i.hiddenUpdates;for(d=C&~d;0<d;){var ye=31-At(d),Ee=1<<ye;L[ye]=0,X[ye]=-1;var fe=de[ye];if(fe!==null)for(de[ye]=null,ye=0;ye<fe.length;ye++){var me=fe[ye];me!==null&&(me.lane&=-536870913)}d&=~Ee}h!==0&&Ks(i,h,0),v!==0&&g===0&&i.tag!==0&&(i.suspendedLanes|=v&~(C&~l))}function Ks(i,l,d){i.pendingLanes|=l,i.suspendedLanes&=~l;var h=31-At(l);i.entangledLanes|=l,i.entanglements[h]=i.entanglements[h]|1073741824|d&261930}function mr(i,l){var d=i.entangledLanes|=l;for(i=i.entanglements;d;){var h=31-At(d),g=1<<h;g&l|i[h]&l&&(i[h]|=l),d&=~g}}function pr(i,l){var d=l&-l;return d=(d&42)!==0?1:Qo(d),(d&(i.suspendedLanes|l))!==0?0:d}function Qo(i){switch(i){case 2:i=1;break;case 8:i=4;break;case 32:i=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:i=128;break;case 268435456:i=134217728;break;default:i=0}return i}function ya(i){return i&=-i,2<i?8<i?(i&134217727)!==0?32:268435456:8:2}function Mm(){var i=ae.p;return i!==0?i:(i=window.event,i===void 0?32:wx(i.type))}function jy(i,l){var d=ae.p;try{return ae.p=i,l()}finally{ae.p=d}}var Zi=Math.random().toString(36).slice(2),$n="__reactFiber$"+Zi,gr="__reactProps$"+Zi,Wo="__reactContainer$"+Zi,Pm="__reactEvents$"+Zi,yN="__reactListeners$"+Zi,vN="__reactHandles$"+Zi,Fy="__reactResources$"+Zi,ku="__reactMarker$"+Zi;function Bm(i){delete i[$n],delete i[gr],delete i[Pm],delete i[yN],delete i[vN]}function Xo(i){var l=i[$n];if(l)return l;for(var d=i.parentNode;d;){if(l=d[Wo]||d[$n]){if(d=l.alternate,l.child!==null||d!==null&&d.child!==null)for(i=lx(i);i!==null;){if(d=i[$n])return d;i=lx(i)}return l}i=d,d=i.parentNode}return null}function Ko(i){if(i=i[$n]||i[Wo]){var l=i.tag;if(l===5||l===6||l===13||l===31||l===26||l===27||l===3)return i}return null}function Nu(i){var l=i.tag;if(l===5||l===26||l===27||l===6)return i.stateNode;throw Error(r(33))}function Zo(i){var l=i[Fy];return l||(l=i[Fy]={hoistableStyles:new Map,hoistableScripts:new Map}),l}function Dn(i){i[ku]=!0}var Uy=new Set,qy={};function Zs(i,l){Jo(i,l),Jo(i+"Capture",l)}function Jo(i,l){for(qy[i]=l,i=0;i<l.length;i++)Uy.add(l[i])}var xN=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u
vendor: 6,765 bytes, line 49
49037D\\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]*$"),$y={},Vy={};function EN(i){return on.call(Vy,i)?!0:on.call($y,i)?!1:xN.test(i)?Vy[i]=!0:($y[i]=!0,!1)}function F0(i,l,d){if(EN(l))if(d===null)i.removeAttribute(l);else{switch(typeof d){case"undefined":case"function":case"symbol":i.removeAttribute(l);return;case"boolean":var h=l.toLowerCase().slice(0,5);if(h!=="data-"&&h!=="aria-"){i.removeAttribute(l);return}}i.setAttribute(l,""+d)}}function U0(i,l,d){if(d===null)i.removeAttribute(l);else{switch(typeof d){case"undefined":case"function":case"symbol":case"boolean":i.removeAttribute(l);return}i.setAttribute(l,""+d)}}function hi(i,l,d,h){if(h===null)i.removeAttribute(d);else{switch(typeof h){case"undefined":case"function":case"symbol":case"boolean":i.removeAttribute(d);return}i.setAttributeNS(l,d,""+h)}}function Xr(i){switch(typeof i){case"bigint":case"boolean":case"number":case"string":case"undefined":return i;case"object":return i;default:return""}}function Gy(i){var l=i.type;return(i=i.nodeName)&&i.toLowerCase()==="input"&&(l==="checkbox"||l==="radio")}function _N(i,l,d){var h=Object.getOwnPropertyDescriptor(i.constructor.prototype,l);if(!i.hasOwnProperty(l)&&typeof h<"u"&&typeof h.get=="function"&&typeof h.set=="function"){var g=h.get,v=h.set;return Object.defineProperty(i,l,{configurable:!0,get:function(){return g.call(this)},set:function(C){d=""+C,v.call(this,C)}}),Object.defineProperty(i,l,{enumerable:h.enumerable}),{getValue:function(){return d},setValue:function(C){d=""+C},stopTracking:function(){i._valueTracker=null,delete i[l]}}}}function zm(i){if(!i._valueTracker){var l=Gy(i)?"checked":"value";i._valueTracker=_N(i,l,""+i[l])}}function Yy(i){if(!i)return!1;var l=i._valueTracker;if(!l)return!0;var d=l.getValue(),h="";return i&&(h=Gy(i)?i.checked?"true":"false":i.value),i=h,i!==d?(l.setValue(i),!0):!1}function q0(i){if(i=i||(typeof document<"u"?document:void 0),typeof i>"u")return null;try{return i.activeElement||i.body}catch{return i.body}}var TN=/[\n"\\]/g;function Kr(i){return i.replace(TN,function(l){return"\\"+l.charCodeAt(0).toString(16)+" "})}function Hm(i,l,d,h,g,v,C,L){i.name="",C!=null&&typeof C!="function"&&typeof C!="symbol"&&typeof C!="boolean"?i.type=C:i.removeAttribute("type"),l!=null?C==="number"?(l===0&&i.value===""||i.value!=l)&&(i.value=""+Xr(l)):i.value!==""+Xr(l)&&(i.value=""+Xr(l)):C!=="submit"&&C!=="reset"||i.removeAttribute("value"),l!=null?jm(i,C,Xr(l)):d!=null?jm(i,C,Xr(d)):h!=null&&i.removeAttribute("value"),g==null&&v!=null&&(i.defaultChecked=!!v),g!=null&&(i.checked=g&&typeof g!="function"&&typeof g!="symbol"),L!=null&&typeof L!="function"&&typeof L!="symbol"&&typeof L!="boolean"?i.name=""+Xr(L):i.removeAttribute("name")}function Qy(i,l,d,h,g,v,C,L){if(v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"&&(i.type=v),l!=null||d!=null){if(!(v!=="submit"&&v!=="reset"||l!=null)){zm(i);return}d=d!=null?""+Xr(d):"",l=l!=null?""+Xr(l):d,L||l===i.value||(i.value=l),i.defaultValue=l}h=h??g,h=typeof h!="function"&&typeof h!="symbol"&&!!h,i.checked=L?i.checked:!!h,i.defaultChecked=!!h,C!=null&&typeof C!="function"&&typeof C!="symbol"&&typeof C!="boolean"&&(i.name=C),zm(i)}function jm(i,l,d){l==="number"&&q0(i.ownerDocument)===i||i.defaultValue===""+d||(i.defaultValue=""+d)}function el(i,l,d,h){if(i=i.options,l){l={};for(var g=0;g<d.length;g++)l["$"+d[g]]=!0;for(d=0;d<i.length;d++)g=l.hasOwnProperty("$"+i[d].value),i[d].selected!==g&&(i[d].selected=g),g&&h&&(i[d].defaultSelected=!0)}else{for(d=""+Xr(d),l=null,g=0;g<i.length;g++){if(i[g].value===d){i[g].selected=!0,h&&(i[g].defaultSelected=!0);return}l!==null||i[g].disabled||(l=i[g])}l!==null&&(l.selected=!0)}}function Wy(i,l,d){if(l!=null&&(l=""+Xr(l),l!==i.value&&(i.value=l),d==null)){i.defaultValue!==l&&(i.defaultValue=l);return}i.defaultValue=d!=null?""+Xr(d):""}function Xy(i,l,d,h){if(l==null){if(h!=null){if(d!=null)throw Error(r(92));if(be(h)){if(1<h.length)throw Error(r(93));h=h[0]}d=h}d==null&&(d=""),l=d}d=Xr(l),i.defaultValue=d,h=i.textContent,h===d&&h!==""&&h!==null&&(i.value=h),zm(i)}function tl(i,l){if(l){var d=i.firstChild;if(d&&d===i.lastChild&&d.nodeType===3){d.nodeValue=l;return}}i.textContent=l}var wN=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 Ky(i,l,d){var h=l.indexOf("--")===0;d==null||typeof d=="boolean"||d===""?h?i.setProperty(l,""):l==="float"?i.cssFloat="":i[l]="":h?i.setProperty(l,d):typeof d!="number"||d===0||wN.has(l)?l==="float"?i.cssFloat=d:i[l]=(""+d).trim():i[l]=d+"px"}function Zy(i,l,d){if(l!=null&&typeof l!="object")throw Error(r(62));if(i=i.style,d!=null){for(var h in d)!d.hasOwnProperty(h)||l!=null&&l.hasOwnProperty(h)||(h.indexOf("--")===0?i.setProperty(h,""):h==="float"?i.cssFloat="":i[h]="");for(var g in l)h=l[g],l.hasOwnProperty(g)&&d[g]!==h&&Ky(i,g,h)}else for(var v in l)l.hasOwnProperty(v)&&Ky(i,v,l[v])}function Fm(i){if(i.indexOf("-")===-1)return!1;switch(i){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 SN=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"],["colorRen
49dering","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"]]),AN=/^[\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 $0(i){return AN.test(""+i)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":i}function mi(){}var Um=null;function qm(i){return i=i.target||i.srcElement||window,i.correspondingUseElement&&(i=i.correspondingUseElement),i.nodeType===3?i.parentNode:i}var nl=null,rl=null;function Jy(i){var l=Ko(i);if(l&&(i=l.stateNode)){var d=i[gr]||null;e:switch(i=l.stateNode,l.type){case"input":if(Hm(i,d.value,d.defaultValue,d.defaultValue,d.checked,d.defaultChecked,d.type,d.name),l=d.name,d.type==="radio"&&l!=null){for(d=i;d.parentNode;)d=d.parentNode;for(d=d.querySelectorAll('input[name="'+Kr(""+l)+'"][type="radio"]'),l=0;l<d.length;l++){var h=d[l];if(h!==i&&h.form===i.form){var g=h[gr]||null;if(!g)throw Error(r(90));Hm(h,g.value,g.defaultValue,g.defaultValue,g.checked,g.defaultChecked,g.type,g.name)}}for(l=0;l<d.length;l++)h=d[l],h.form===i.form&&Yy(h)}break e;case"textarea":Wy(i,d.value,d.defaultValue);break e;case"select":l=d.value,l!=null&&el(i,!!d.multiple,l,!1)}}}var $m=!1;function e3(i,l,d){if($m)return i(l,d);$m=!0;try{var h=i(l);return h}finally{if($m=!1,(nl!==null||rl!==null)&&(Od(),nl&&(l=nl,i=rl,rl=nl=null,Jy(l),i)))for(l=0;l<i.length;l++)Jy(i[l])}}function Ru(i,l){var d=i.stateNode;if(d===null)return null;var h=d[gr]||null;if(h===null)return null;d=h[l];e:switch(l){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(h=!h.disabled)||(i=i.type,h=!(i==="button"||i==="input"||i==="select"||i==="textarea")),i=!h;break e;default:i=!1}if(i)return null;if(d&&typeof d!="function")throw Error(r(231,l,typeof d));return d}var pi=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Vm=!1;if(pi)try{var Ou={};Object.defineProperty(Ou,"passive",{get:function(){Vm=!0}}),window.addEventListener("test",Ou,Ou),window.removeEventListener("test",Ou,Ou)}catch{Vm=!1}var Ji=null,Gm=null,V0=null;function t3(){if(V0)return V0;var i,l=Gm,d=l.length,h,g="value"in Ji?Ji.value:Ji.textContent,v=g.length;for(i=0;i<d&&l[i]===g[i];i++);var C=d-i;for(h=1;h<=C&&l[d-h]===g[v-h];h++);return V0=g.slice(i,1<h?1-h:void 0)}function G0(i){var l=i.keyCode;return"charCode"in i?(i=i.charCode,i===0&&l===13&&(i=13)):i=l,i===10&&(i=13),32<=i||i===13?i:0}function Y0(){return!0}function n3(){return!1}function br(i){function l(d,h,g,v,C){this._reactName=d,this._targetInst=g,this.type=h,this.nativeEvent=v,this.target=C,this.currentTarget=null;for(var L in i)i.hasOwnProperty(L)&&(d=i[L],this[L]=d?d(v):v[L]);return this.isDefaultPrevented=(v.defaultPrevented!=null?v.defaultPrevented:v.returnValue===!1)?Y0:n3,this.isPropagationStopped=n3,this}return m(l.prototype,{preventDefault:function(){this.defaultPrevented=!0;var d=this.nativeEvent;d&&(d.preventDefault?d.preventDefault():typeof d.returnValue!="unknown"&&(d.returnValue=!1),this.isDefaultPrevented=Y0)},stopPropagation:function(){var d=this.nativeEvent;d&&(d.stopPropagation?d.stopPropagation():typeof d.cancelBubble!="unknown"&&(d.cancelBubble=!0),this.isPropagationStopped=Y0)},persist:function(){},isPersistent:Y0}),l}var Js={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(i){return i.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Q0=br(Js),Du=m({},Js,{view:0,detail:0}),CN=br(Du),Ym,Qm,Iu,W0=m({},Du,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Xm,button:0,buttons:0,relatedTarget:function(i){return i.relatedTarget===void 0?i.fromElement===i.srcElement?i.toElement:i.fromElement:i.relatedTarget},movementX:function(i){return"movementX"in i?i.movementX:(i!==Iu&&(Iu&&i.type==="mousemove"?(Ym=i.screenX-Iu.screenX,Qm=i.screenY-Iu.screenY):Qm=Ym=0,Iu=i),Ym)},movementY:function(i){return"movementY"in i?i.movementY:Qm}}),r3=br(W0),kN=m({},W0,{dataTransfer:0}),NN=br(kN),RN=m({},Du,{relatedTarget:0}),Wm=br(RN),ON=m({},Js,{animationName:0,elapsedTime:0,pseudoElement:0}),DN=br(ON),IN=m({},Js,{clipboardData:function(i){return"clipboardData"in i?i.clipboardData:window.clipboardData}}),LN=br(IN),MN=m({},Js,{data:0}),a3=br(MN),PN={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},BN={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"},zN={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function HN(i){var l=this.nativeEvent;return l.getModifierState?l.getModifierState(i):(i=zN[i])?!!l[i]:!1}function Xm(){return HN}var jN=m({},Du,{key:function(i){if(i.key){var l=PN[i.key]||i.key;if(l!=="Unidentified")return l}
vendor: 5,186 bytes, line 49
49return i.type==="keypress"?(i=G0(i),i===13?"Enter":String.fromCharCode(i)):i.type==="keydown"||i.type==="keyup"?BN[i.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Xm,charCode:function(i){return i.type==="keypress"?G0(i):0},keyCode:function(i){return i.type==="keydown"||i.type==="keyup"?i.keyCode:0},which:function(i){return i.type==="keypress"?G0(i):i.type==="keydown"||i.type==="keyup"?i.keyCode:0}}),FN=br(jN),UN=m({},W0,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),i3=br(UN),qN=m({},Du,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Xm}),$N=br(qN),VN=m({},Js,{propertyName:0,elapsedTime:0,pseudoElement:0}),GN=br(VN),YN=m({},W0,{deltaX:function(i){return"deltaX"in i?i.deltaX:"wheelDeltaX"in i?-i.wheelDeltaX:0},deltaY:function(i){return"deltaY"in i?i.deltaY:"wheelDeltaY"in i?-i.wheelDeltaY:"wheelDelta"in i?-i.wheelDelta:0},deltaZ:0,deltaMode:0}),QN=br(YN),WN=m({},Js,{newState:0,oldState:0}),XN=br(WN),KN=[9,13,27,32],Km=pi&&"CompositionEvent"in window,Lu=null;pi&&"documentMode"in document&&(Lu=document.documentMode);var ZN=pi&&"TextEvent"in window&&!Lu,s3=pi&&(!Km||Lu&&8<Lu&&11>=Lu),o3=" ",l3=!1;function u3(i,l){switch(i){case"keyup":return KN.indexOf(l.keyCode)!==-1;case"keydown":return l.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function c3(i){return i=i.detail,typeof i=="object"&&"data"in i?i.data:null}var al=!1;function JN(i,l){switch(i){case"compositionend":return c3(l);case"keypress":return l.which!==32?null:(l3=!0,o3);case"textInput":return i=l.data,i===o3&&l3?null:i;default:return null}}function eR(i,l){if(al)return i==="compositionend"||!Km&&u3(i,l)?(i=t3(),V0=Gm=Ji=null,al=!1,i):null;switch(i){case"paste":return null;case"keypress":if(!(l.ctrlKey||l.altKey||l.metaKey)||l.ctrlKey&&l.altKey){if(l.char&&1<l.char.length)return l.char;if(l.which)return String.fromCharCode(l.which)}return null;case"compositionend":return s3&&l.locale!=="ko"?null:l.data;default:return null}}var tR={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 d3(i){var l=i&&i.nodeName&&i.nodeName.toLowerCase();return l==="input"?!!tR[i.type]:l==="textarea"}function f3(i,l,d,h){nl?rl?rl.push(h):rl=[h]:nl=h,l=zd(l,"onChange"),0<l.length&&(d=new Q0("onChange","change",null,d,h),i.push({event:d,listeners:l}))}var Mu=null,Pu=null;function nR(i){Q6(i,0)}function X0(i){var l=Nu(i);if(Yy(l))return i}function h3(i,l){if(i==="change")return l}var m3=!1;if(pi){var Zm;if(pi){var Jm="oninput"in document;if(!Jm){var p3=document.createElement("div");p3.setAttribute("oninput","return;"),Jm=typeof p3.oninput=="function"}Zm=Jm}else Zm=!1;m3=Zm&&(!document.documentMode||9<document.documentMode)}function g3(){Mu&&(Mu.detachEvent("onpropertychange",b3),Pu=Mu=null)}function b3(i){if(i.propertyName==="value"&&X0(Pu)){var l=[];f3(l,Pu,i,qm(i)),e3(nR,l)}}function rR(i,l,d){i==="focusin"?(g3(),Mu=l,Pu=d,Mu.attachEvent("onpropertychange",b3)):i==="focusout"&&g3()}function aR(i){if(i==="selectionchange"||i==="keyup"||i==="keydown")return X0(Pu)}function iR(i,l){if(i==="click")return X0(l)}function sR(i,l){if(i==="input"||i==="change")return X0(l)}function oR(i,l){return i===l&&(i!==0||1/i===1/l)||i!==i&&l!==l}var Or=typeof Object.is=="function"?Object.is:oR;function Bu(i,l){if(Or(i,l))return!0;if(typeof i!="object"||i===null||typeof l!="object"||l===null)return!1;var d=Object.keys(i),h=Object.keys(l);if(d.length!==h.length)return!1;for(h=0;h<d.length;h++){var g=d[h];if(!on.call(l,g)||!Or(i[g],l[g]))return!1}return!0}function y3(i){for(;i&&i.firstChild;)i=i.firstChild;return i}function v3(i,l){var d=y3(i);i=0;for(var h;d;){if(d.nodeType===3){if(h=i+d.textContent.length,i<=l&&h>=l)return{node:d,offset:l-i};i=h}e:{for(;d;){if(d.nextSibling){d=d.nextSibling;break e}d=d.parentNode}d=void 0}d=y3(d)}}function x3(i,l){return i&&l?i===l?!0:i&&i.nodeType===3?!1:l&&l.nodeType===3?x3(i,l.parentNode):"contains"in i?i.contains(l):i.compareDocumentPosition?!!(i.compareDocumentPosition(l)&16):!1:!1}function E3(i){i=i!=null&&i.ownerDocument!=null&&i.ownerDocument.defaultView!=null?i.ownerDocument.defaultView:window;for(var l=q0(i.document);l instanceof i.HTMLIFrameElement;){try{var d=typeof l.contentWindow.location.href=="string"}catch{d=!1}if(d)i=l.contentWindow;else break;l=q0(i.document)}return l}function ep(i){var l=i&&i.nodeName&&i.nodeName.toLowerCase();return l&&(l==="input"&&(i.type==="text"||i.type==="search"||i.type==="tel"||i.type==="url"||i.type==="password")||l==="textarea"||i.contentEditable==="true")}var lR=pi&&"documentMode"in document&&11>=document.documentMode,il=null,tp=null,zu=null,np=!1;function _3(i,l,d){var h=d.window===d?d.document:d.nodeType===9?d:d.ownerDocument;np||il==null||il!==q0(h)||(h=il,"selectionStart"in h&&ep(h)?h={start:h.selectionStart,end:h.selectionEnd}:(h=(h.ownerDocument&&h.ownerDocument.defaultView||window).getSelection(),h={anchorNode:h.anchorNode,anchorOffset:h.anchorOffset,focu
vendor: 22,663 bytes, line 49
49sNode:h.focusNode,focusOffset:h.focusOffset}),zu&&Bu(zu,h)||(zu=h,h=zd(tp,"onSelect"),0<h.length&&(l=new Q0("onSelect","select",null,l,d),i.push({event:l,listeners:h}),l.target=il)))}function eo(i,l){var d={};return d[i.toLowerCase()]=l.toLowerCase(),d["Webkit"+i]="webkit"+l,d["Moz"+i]="moz"+l,d}var sl={animationend:eo("Animation","AnimationEnd"),animationiteration:eo("Animation","AnimationIteration"),animationstart:eo("Animation","AnimationStart"),transitionrun:eo("Transition","TransitionRun"),transitionstart:eo("Transition","TransitionStart"),transitioncancel:eo("Transition","TransitionCancel"),transitionend:eo("Transition","TransitionEnd")},rp={},T3={};pi&&(T3=document.createElement("div").style,"AnimationEvent"in window||(delete sl.animationend.animation,delete sl.animationiteration.animation,delete sl.animationstart.animation),"TransitionEvent"in window||delete sl.transitionend.transition);function to(i){if(rp[i])return rp[i];if(!sl[i])return i;var l=sl[i],d;for(d in l)if(l.hasOwnProperty(d)&&d in T3)return rp[i]=l[d];return i}var w3=to("animationend"),S3=to("animationiteration"),A3=to("animationstart"),uR=to("transitionrun"),cR=to("transitionstart"),dR=to("transitioncancel"),C3=to("transitionend"),k3=new Map,ap="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(" ");ap.push("scrollEnd");function va(i,l){k3.set(i,l),Zs(l,[i])}var K0=typeof reportError=="function"?reportError:function(i){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var l=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof i=="object"&&i!==null&&typeof i.message=="string"?String(i.message):String(i),error:i});if(!window.dispatchEvent(l))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",i);return}console.error(i)},Zr=[],ol=0,ip=0;function Z0(){for(var i=ol,l=ip=ol=0;l<i;){var d=Zr[l];Zr[l++]=null;var h=Zr[l];Zr[l++]=null;var g=Zr[l];Zr[l++]=null;var v=Zr[l];if(Zr[l++]=null,h!==null&&g!==null){var C=h.pending;C===null?g.next=g:(g.next=C.next,C.next=g),h.pending=g}v!==0&&N3(d,g,v)}}function J0(i,l,d,h){Zr[ol++]=i,Zr[ol++]=l,Zr[ol++]=d,Zr[ol++]=h,ip|=h,i.lanes|=h,i=i.alternate,i!==null&&(i.lanes|=h)}function sp(i,l,d,h){return J0(i,l,d,h),ed(i)}function no(i,l){return J0(i,null,null,l),ed(i)}function N3(i,l,d){i.lanes|=d;var h=i.alternate;h!==null&&(h.lanes|=d);for(var g=!1,v=i.return;v!==null;)v.childLanes|=d,h=v.alternate,h!==null&&(h.childLanes|=d),v.tag===22&&(i=v.stateNode,i===null||i._visibility&1||(g=!0)),i=v,v=v.return;return i.tag===3?(v=i.stateNode,g&&l!==null&&(g=31-At(d),i=v.hiddenUpdates,h=i[g],h===null?i[g]=[l]:h.push(l),l.lane=d|536870912),v):null}function ed(i){if(50<sc)throw sc=0,p1=null,Error(r(185));for(var l=i.return;l!==null;)i=l,l=i.return;return i.tag===3?i.stateNode:null}var ll={};function fR(i,l,d,h){this.tag=i,this.key=d,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=l,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=h,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Dr(i,l,d,h){return new fR(i,l,d,h)}function op(i){return i=i.prototype,!(!i||!i.isReactComponent)}function gi(i,l){var d=i.alternate;return d===null?(d=Dr(i.tag,l,i.key,i.mode),d.elementType=i.elementType,d.type=i.type,d.stateNode=i.stateNode,d.alternate=i,i.alternate=d):(d.pendingProps=l,d.type=i.type,d.flags=0,d.subtreeFlags=0,d.deletions=null),d.flags=i.flags&65011712,d.childLanes=i.childLanes,d.lanes=i.lanes,d.child=i.child,d.memoizedProps=i.memoizedProps,d.memoizedState=i.memoizedState,d.updateQueue=i.updateQueue,l=i.dependencies,d.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext},d.sibling=i.sibling,d.index=i.index,d.ref=i.ref,d.refCleanup=i.refCleanup,d}function R3(i,l){i.flags&=65011714;var d=i.alternate;return d===null?(i.childLanes=0,i.lanes=l,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=d.childLanes,i.lanes=d.lanes,i.child=d.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=d.memoizedProps,i.memoizedState=d.memoizedState,i.updateQueue=d.updateQueue,i.type=d.type,l=d.dependencies,i.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext}),i}function td(i,l,d,h,g,v){var C=0;if(h=i,typeof i=="function")op(i)&&(C=1);else if(typeof i=="string")C=bO(i,d,he.current)?26:i==="html"||i==="head"||i==="body"?27:5;else e:switch(i){case ee:return i=Dr(31,d,l,g),i.elementType=ee,i.lanes=v,i;case w:return ro(d.children,g,v,l);case k:C=8,g|=24;break;case A:return i=Dr(12,d,l,g|2),i.elementType=A,i.lanes=v,i;case H:return i=Dr(13,d,l,g),i.elementType=H,i.lanes=v,i;case P:return i=Dr(19,d,l,g),i.elementType=P,i.lanes=v,i;default:if(typeof i=="object"&&i!==null)switch(i.$$typeof){case D:C=10;break e;case R:C=9;break e;case F:C=11;break e;case z:C=14;break e;case K:C=16,h=null;break e}C=29,d=Error(r(130,i===null?"null":typeof i,"")),h=null}return l=Dr(C,d,l,g),l.elementType=i,l.type=h,l.lanes=v,l}function ro(i,l,d,h){return i=Dr(7,i,h,l),i.lanes=d,i}function lp(i,l,d){return i=Dr(6,i,null,l),i.lanes=d,i}function O3(i){var l=Dr(18,null,null,0);return l.stateNode=i,l}function up(i,l,d){return l=Dr(4,i.children!==null?i.children:[],i.key,l),l.lanes=d,l.stateNode={containerInfo:i.containerInfo,pendingChildren:null,implementation:i.implementation},l}var D3=new WeakMap;function Jr(i,l){if(typeof i=="object"&&i!==null){var d=D3.get(i);return d!==void 0?d:(l={value:i,source:l,stack:Wr(l)},D3.set(i,l),l)}return{value:i,source:l,stack:Wr(l)}}var ul=[],cl=0,nd=null,Hu=0,ea=[],ta=0,es=null,Ba=1,za="";function bi(i,l){ul[cl++]=Hu,ul[cl++]=nd,nd=i,Hu=l}function I3(i,l,d){ea[ta++]=Ba,ea[ta++]=za,ea[ta++]=es,es=i;var h=Ba;i=za;var g=32-At(h)-1;h&=~(1<<g),d+=1;var v=32-At(l)+g;if(30<v){var C=g-g%5;v=(h&(1<<C)-1).toString(32),h>>=C,g-=C,Ba=1<<32-At(l)+g|d<<g|h,za=v+i}else Ba=1<<v|d<<g|h,za=i}function cp(i){i.return!==null&&(bi(i,1),I3(i,1,0))}function dp(i){for(;i===nd;)nd=ul[--cl],ul[cl]=null,Hu=ul[--cl],ul[cl]=null;for(;i===es;)es=ea[--ta],ea[ta]=null,za=ea[--ta],ea[ta]=null,Ba=ea[--ta],ea[ta]=null}function L3(i,l){ea[ta++]=Ba,ea[ta++]=za,ea[ta++]=es,Ba=l.id,za=l.overflow,es=i}var Vn=null,Ft=null,bt=!1,ts=null,na=!1,fp=Error(r(519));function ns(i){var l=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw ju(Jr(l,i)),fp}function M3(i){var l=i.stateNode,d=i.type,h=i.memoizedProps;switch(l[$n]=i,l[gr]=h,d){case"dialog":ft("cancel",l),ft("close",l);break;case"iframe":case"object":case"embed":ft("load",l);break;case"video":case"audio":for(d=0;d<lc.length;d++)ft(lc[d],l);break;case"source":ft("error",l);break;case"img":case"image":case"link":ft("error",l),ft("load",l);break;case"details":ft("toggle",l);break;case"input":ft("invalid",l),Qy(l,h.value,h.defaultValue,h.checked,h.defaultChecked,h.type,h.name,!0);break;case"select":ft("invalid",l);break;case"textarea":ft("invalid",l),Xy(l,h.value,h.defaultValue,h.children)}d=h.children,typeof d!="string"&&typeof d!="number"&&typeof d!="bigint"||l.textContent===""+d||h.suppressHydrationWarning===!0||Z6(l.textContent,d)?(h.popover!=null&&(ft("beforetoggle",l),ft("toggle",l)),h.onScroll!=null&&ft("scroll",l),h.onScrollEnd!=null&&ft("scrollend",l),h.onClick!=null&&(l.onclick=mi),l=!0):l=!1,l||ns(i,!0)}function P3(i){for(Vn=i.return;Vn;)switch(Vn.tag){case 5:case 31:case 13:na=!1;return;case 27:case 3:na=!0;return;default:Vn=Vn.return}}function dl(i){if(i!==Vn)return!1;if(!bt)return P3(i),bt=!0,!1;var l=i.tag,d;if((d=l!==3&&l!==27)&&((d=l===5)&&(d=i.type,d=!(d!=="form"&&d!=="button")||R1(i.type,i.memoizedProps)),d=!d),d&&Ft&&ns(i),P3(i),l===13){if(i=i.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(r(317));Ft=ox(i)}else if(l===31){if(i=i.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(r(317));Ft=ox(i)}else l===27?(l=Ft,gs(i.type)?(i=M1,M1=null,Ft=i):Ft=l):Ft=Vn?aa(i.stateNode.nextSibling):null;return!0}function ao(){Ft=Vn=null,bt=!1}function hp(){var i=ts;return i!==null&&(Er===null?Er=i:Er.push.apply(Er,i),ts=null),i}function ju(i){ts===null?ts=[i]:ts.push(i)}var mp=$(null),io=null,yi=null;function rs(i,l,d){I(mp,l._currentValue),l._currentValue=d}function vi(i){i._currentValue=mp.current,ce(mp)}function pp(i,l,d){for(;i!==null;){var h=i.alternate;if((i.childLanes&l)!==l?(i.childLanes|=l,h!==null&&(h.childLanes|=l)):h!==null&&(h.childLanes&l)!==l&&(h.childLanes|=l),i===d)break;i=i.return}}function gp(i,l,d,h){var g=i.child;for(g!==null&&(g.return=i);g!==null;){var v=g.dependencies;if(v!==null){var C=g.child;v=v.firstContext;e:for(;v!==null;){var L=v;v=g;for(var X=0;X<l.length;X++)if(L.context===l[X]){v.lanes|=d,L=v.alternate,L!==null&&(L.lanes|=d),pp(v.return,d,i),h||(C=null);break e}v=L.next}}else if(g.tag===18){if(C=g.return,C===null)throw Error(r(341));C.lanes|=d,v=C.alternate,v!==null&&(v.lanes|=d),pp(C,d,i),C=null}else C=g.child;if(C!==null)C.return=g;else for(C=g;C!==null;){if(C===i){C=null;break}if(g=C.sibling,g!==null){g.return=C.return,C=g;break}C=C.return}g=C}}function fl(i,l,d,h){i=null;for(var g=l,v=!1;g!==null;){if(!v){if((g.flags&524288)!==0)v=!0;else if((g.flags&262144)!==0)break}if(g.tag===10){var C=g.alternate;if(C===null)throw Error(r(387));if(C=C.memoizedProps,C!==null){var L=g.type;Or(g.pendingProps.value,C.value)||(i!==null?i.push(L):i=[L])}}else if(g===Me.current){if(C=g.alternate,C===null)throw Error(r(387));C.memoizedState.memoizedState!==g.memoizedState.memoizedState&&(i!==null?i.push(hc):i=[hc])}g=g.return}i!==null&&gp(l,i,d,h),l.flags|=262144}function rd(i){for(i=i.firstContext;i!==null;){if(!Or(i.context._currentValue,i.memoizedValue))return!0;i=i.next}return!1}function so(i){io=i,yi=null,i=i.dependencies,i!==null&&(i.firstContext=null)}function Gn(i){return B3(io,i)}function ad(i,l){return io===null&&so(i),B3(i,l)}function B3(i,l){var d=l._currentValue;if(l={context:l,memoizedValue:d,next:null},yi===null){if(i===null)throw Error(r(308));yi=l,i.dependencies={lanes:0,firstContext:l},i.flags|=524288}else yi=yi.next=l;return d}var hR=typeof AbortController<"u"?AbortController:function(){var i=[],l=this.signal={aborted:!1,addEventListener:function(d,h){i.push(h)}};this.abort=function(){l.aborted=!0,i.forEach(function(d){return d()})}},mR=e.unstable_scheduleCallback,pR=e.unstable_NormalPriority,gn={$$typeof:D,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function bp(){return{controller:new hR,data:new Map,refCount:0}}function Fu(i){i.refCount--,i.refCount===0&&mR(pR,function(){i.controller.abort()})}var Uu=null,yp=0,hl=0,ml=null;function gR(i,l){if(Uu===null){var d=Uu=[];yp=0,hl=E1(),ml={status:"pending",value:void 0,then:function(h){d.push(h)}}}return yp++,l.then(z3,z3),l}function z3(){if(--yp===0&&Uu!==null){ml!==null&&(ml.status="fulfilled");var i=Uu;Uu=null,hl=0,ml=null;for(var l=0;l<i.length;l++)(0,i[l])()}}function bR(i,l){var d=[],h={status:"pending",value:null,reason:null,then:function(g){d.push(g)}};return i.then(function(){h.status="fulfilled",h.value=l;for(var g=0;g<d.length;g++)(0,d[g])(l)},function(g){for(h.status="rejected",h.reason=g,g=0;g<d.length;g++)(0,d[g])(void 0)}),h}var H3=G.S;G.S=function(i,l){_6=Fn(),typeof l=="object"&&l!==null&&typeof l.then=="function"&&gR(i,l),H3!==null&&H3(i,l)};var oo=$(null);function vp(){var i=oo.current;return i!==null?i:Lt.pooledCache}function id(i,l){l===null?I(oo,oo.current):I(oo,l.pool)}function j3(){var i=vp();return i===null?null:{parent:gn._currentValue,pool:i}}var pl=Error(r(460)),xp=Error(r(474)),sd=Error(r(542)),od={then:function(){}};function F3(i){return i=i.status,i==="fulfilled"||i==="rejected"}function U3(i,l,d){switch(d=i[d],d===void 0?i.push(l):d!==l&&(l.then(mi,mi),l=d),l.status){case"fulfilled":return l.value;case"rejected":throw i=l.reason,$3(i),i;default:if(typeof l.status=="string")l.then(mi,mi);else{if(i=Lt,i!==null&&100<i.shellSuspendCounter)throw Error(r(482));i=l,i.status="pending",i.then(function(h){if(l.status==="pending"){var g=l;g.status="fulfilled",g.value=h}},function(h){if(l.status==="pending"){var g=l;g.status="rejected",g.reason=h}})}switch(l.status){case"fulfilled":return l.value;case"rejected":throw i=l.reason,$3(i),i}throw uo=l,pl}}function lo(i){try{var l=i._init;return l(i._payload)}catch(d){throw d!==null&&typeof d=="object"&&typeof d.then=="function"?(uo=d,pl):d}}var uo=null;function q3(){if(uo===null)throw Error(r(459));var i=uo;return uo=null,i}function $3(i){if(i===pl||i===sd)throw Error(r(483))}var gl=null,qu=0;function ld(i){var l=qu;return qu+=1,gl===null&&(gl=[]),U3(gl,i,l)}function $u(i,l){l=l.props.ref,i.ref=l!==void 0?l:null}function ud(i,l){throw l.$$typeof===b?Error(r(525)):(i=Object.prototype.toString.call(l),Error(r(31,i==="[object Object]"?"object with keys {"+Object.keys(l).join(", ")+"}":i)))}function V3(i){function l(ne,Z){if(i){var oe=ne.deletions;oe===null?(ne.deletions=[Z],ne.flags|=16):oe.push(Z)}}function d(ne,Z){if(!i)return null;for(;Z!==null;)l(ne,Z),Z=Z.sibling;return null}function h(ne){for(var Z=new Map;ne!==null;)ne.key!==null?Z.set(ne.key,ne):Z.set(ne.index,ne),ne=ne.sibling;return Z}function g(ne,Z){return ne=gi(ne,Z),ne.index=0,ne.sibling=null,ne}function v(ne,Z,oe){return ne.index=oe,i?(oe=ne.alternate,oe!==null?(oe=oe.index,oe<Z?(ne.flags|=67108866,Z):oe):(ne.flags|=67108866,Z)):(ne.flags|=1048576,Z)}function C(ne){return i&&ne.alternate===null&&(ne.flags|=67108866),ne}function L(ne,Z,oe,xe){return Z===null||Z.tag!==6?(Z=lp(oe,ne.mode,xe),Z.return=ne,Z):(Z=g(Z,oe),Z.return=ne,Z)}function X(ne,Z,oe,xe){var Ve=oe.type;return Ve===w?ye(ne,Z,oe.props.children,xe,oe.key):Z!==null&&(Z.elementType===Ve||typeof Ve=="object"&&Ve!==null&&Ve.$$typeof===K&&lo(Ve)===Z.type)?(Z=g(Z,oe.props),$u(Z,oe),Z.return=ne,Z):(Z=td(oe.type,oe.key,oe.props,null,ne.mode,xe),$u(Z,oe),Z.return=ne,Z)}function de(ne,Z,oe,xe){return Z===null||Z.tag!==4||Z.stateNode.containerInfo!==oe.containerInfo||Z.stateNode.implementation!==oe.implementation?(Z=up(oe,ne.mode,xe),Z.return=ne,Z):(Z=g(Z,oe.children||[]),Z.return=ne,Z)}function ye(ne,Z,oe,xe,Ve){return Z===null||Z.tag!==7?(Z=ro(oe,ne.mode,xe,Ve),Z.return=ne,Z):(Z=g(Z,oe),Z.return=ne,Z)}function Ee(ne,Z,oe){if(typeof Z=="string"&&Z!==""||typeof Z=="number"||typeof Z=="bigint")return Z=lp(""+Z,ne.mode,oe),Z.return=ne,Z;if(typeof Z=="object"&&Z!==null){switch(Z.$$typeof){case y:return oe=td(Z.type,Z.key,Z.props,null,ne.mode,oe),$u(oe,Z),oe.return=ne,oe;case _:return Z=up(Z,ne.mode,oe),Z.return=ne,Z;case K:return Z=lo(Z),Ee(ne,Z,oe)}if(be(Z)||re(Z))return Z=ro(Z,ne.mode,oe,null),Z.return=ne,Z;if(typeof Z.then=="function")return Ee(ne,ld(Z),oe);if(Z.$$typeof===D)return Ee(ne,ad(ne,Z),oe);ud(ne,Z)}return null}function fe(ne,Z,oe,xe){var Ve=Z!==null?Z.key:null;if(typeof oe=="string"&&oe!==""||typeof oe=="number"||typeof oe=="bigint")return Ve!==null?null:L(ne,Z,""+oe,xe);if(typeof oe=="object"&&oe!==null){switch(oe.$$typeof){case y:return oe.key===Ve?X(ne,Z,oe,xe):null;case _:return oe.key===Ve?de(ne,Z,oe,xe):null;case K:return oe=lo(oe),fe(ne,Z,oe,xe)}if(be(oe)||re(oe))return Ve!==null?null:ye(ne,Z,oe,xe,null);if(typeof oe.then=="function")return fe(ne,Z,ld(oe),xe);if(oe.$$typeof===D)return fe(ne,Z,ad(ne,oe),xe);ud(ne,oe)}return null}function me(ne,Z,oe,xe,Ve){if(typeof xe=="string"&&xe!==""||typeof xe=="number"||typeof xe=="bigint")return ne=ne.get(oe)||null,L(Z,ne,""+xe,Ve);if(typeof xe=="object"&&xe!==null){switch(xe.$$typeof){case y:return ne=ne.get(xe.key===null?oe:xe.key)||null,X(Z,ne,xe,Ve);case _:return ne=ne.get(xe.key===null?oe:xe.key)||null,de(Z,ne,xe,Ve);case K:return xe=lo(xe),me(ne,Z,oe,xe,Ve)}if(be(xe)||re(xe))return ne=ne.get(oe)||null,ye(Z,ne,xe,Ve,null);if(typeof xe.then=="function")return me(ne,Z,oe,ld(xe),Ve);if(xe.$$typeof===D)return me(ne,Z,oe,ad(Z,xe),Ve);ud(Z,xe)}return null}function He(ne,Z,oe,xe){for(var Ve=null,vt=null,qe=Z,at=Z=0,pt=null;qe!==null&&at<oe.length;at++){qe.index>at?(pt=qe,qe=null):pt=qe.sibling;var xt=fe(ne,qe,oe[at],xe);if(xt===null){qe===null&&(qe=pt);break}i&&qe&&xt.alternate===null&&l(ne,qe),Z=v(xt,Z,at),vt===null?Ve=xt:vt.sibling=xt,vt=xt,qe=pt}if(at===oe.length)return d(ne,qe),bt&&bi(ne,at),Ve;if(qe===null){for(;at<oe.length;at++)qe=Ee(ne,oe[at],xe),qe!==null&&(Z=v(qe,Z,at),vt===null?Ve=qe:vt.sibling=qe,vt=qe);return bt&&bi(ne,at),Ve}for(qe=h(qe);at<oe.length;at++)pt=me(qe,ne,at,oe[at],xe),pt!==null&&(i&&pt.alternate!==null&&qe.delete(pt.key===null?at:pt.key),Z=v(pt,Z,at),vt===null?Ve=pt:vt.sibling=pt,vt=pt);return i&&qe.forEach(function(Es){return l(ne,Es)}),bt&&bi(ne,at),Ve}function We(ne,Z,oe,xe){if(oe==null)throw Error(r(151));for(var Ve=null,vt=null,qe=Z,at=Z=0,pt=null,xt=oe.next();qe!==null&&!xt.done;at++,xt=oe.next()){qe.index>at?(pt=qe,qe=null):pt=qe.sibling;var Es=fe(ne,qe,xt.value,xe);if(Es===null){qe===null&&(qe=pt);break}i&&qe&&Es.alternate===null&&l(ne,qe),Z=v(Es,Z,at),vt===null?Ve=Es:vt.sibling=Es,vt=Es,qe=pt}if(xt.done)return d(ne,qe),bt&&bi(ne,at),Ve;if(qe===null){for(;!xt.done;at++,xt=oe.next())xt=Ee(ne,xt.value,xe),xt!==null&&(Z=v(xt,Z,at),vt===null?Ve=xt:vt.sibling=xt,vt=xt);return bt&&bi(ne,at),Ve}for(qe=h(qe);!xt.done;at++,xt=oe.next())xt=me(qe,ne,at,xt.value,xe),xt!==null&&(i&&xt.alternate!==null&&qe.delete(xt.key===null?at:xt.key),Z=v(xt,Z,at),vt===null?Ve=xt:vt.sibling=xt,vt=xt);return i&&qe.forEach(function(kO){return l(ne,kO)}),bt&&bi(ne,at),Ve}function Dt(ne,Z,oe,xe){if(typeof oe=="object"&&oe!==null&&oe.type===w&&oe.key===null&&(oe=oe.props.children),typeof oe=="object"&&oe!==null){switch(oe.$$typeof){case y:e:{for(var Ve=oe.key;Z!==null;){if(Z.key===Ve){if(Ve=oe.type,Ve===w){if(Z.tag===7){d(ne,Z.sibling),xe=g(Z,oe.props.children),xe.return=ne,ne=xe;break e}}else if(Z.elementType===Ve||typeof Ve=="object"&&Ve!==null&&Ve.$$typeof===K&&lo(Ve)===Z.type){d(ne,Z.sibling),xe=g(Z,oe.props),$u(xe,oe),xe.return=ne,ne=xe;break e}d(ne,Z);break}else l(ne,Z);Z=Z.sibling}oe.type===w?(xe=ro(oe.props.children,ne.mode,xe,oe.key),xe.return=ne,ne=xe):(xe=td(oe.type,oe.key,oe.props,null,ne.mode,xe),$u(xe,oe),xe.return=ne,ne=xe)}return C(ne);case _:e:{for(Ve=oe.key;Z!==null;){if(Z.key===Ve)if(Z.tag===4&&Z.stateNode.containerInfo===oe.containerInfo&&Z.stateNode.implementation===oe.implementation){d(ne,Z.sibling),xe=g(Z,oe.children||[]),xe.return=ne,ne=xe;break e}else{d(ne,Z);break}else l(ne,Z);Z=Z.sibling}xe=up(oe,ne.mode,xe),xe.return=ne,ne=xe}return C(ne);case K:return oe=lo(oe),Dt(ne,Z,oe,xe)}if(be(oe))return He(ne,Z,oe,xe);if(re(oe)){if(Ve=re(oe),typeof Ve!="function")throw Error(r(150));return oe=Ve.call(oe),We(ne,Z,oe,xe)}if(typeof oe.then=="function")return Dt(ne,Z,ld(oe),xe);if(oe.$$typeof===D)return Dt(ne,Z,ad(ne,oe),xe);ud(ne,oe)}return typeof oe=="string"&&oe!==""||typeof oe=="number"||typeof oe=="bigint"?(oe=""+oe,Z!==null&&Z.tag===6?(d(ne,Z.sibling),xe=g(Z,oe),xe.return=ne,ne=xe):(d(ne,Z),xe=lp(oe,ne.mode,xe),xe.return=ne,ne=xe),C(ne)):d(ne,Z)}return function(ne,Z,oe,xe){try{qu=0;var Ve=Dt(ne,Z,oe,xe);return gl=null,Ve}catch(qe){if(qe===pl||qe===sd)throw qe;var vt=Dr(29,qe,null,ne.mode);return vt.lanes=xe,vt.return=ne,vt}finally{}}}var co=V3(!0),G3=V3(!1),as=!1;function Ep(i){i.updateQueue={baseState:i.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function _p(i,l){i=i.updateQueue,l.updateQueue===i&&(l.updateQueue={baseState:i.baseState,firstBaseUpdate:i.firstBaseUpdate,lastBaseUpdate:i.lastBaseUpdate,shared:i.shared,callbacks:null})}function is(i){return{lane:i,tag:0,payload:null,callback:null,next:null}}function ss(i,l,d){var h=i.updateQueue;if(h===null)return null;if(h=h.shared,(St&2)!==0){var g=h.pending;return g===null?l.next=l:(l.next=g.next,g.next=l),h.pending=l,l=ed(i),N3(i,null,d),l}return J0(i,h,l,d),ed(i)}function Vu(i,l,d){if(l=l.updateQueue,l!==null&&(l=l.shared,(d&4194048)!==0)){var h=l.lanes;h&=i.pendingLanes,d|=h,l.lanes=d,mr(i,d)}}function Tp(i,l){var d=i.updateQueue,h=i.alternate;if(h!==null&&(h=h.updateQueue,d===h)){var g=null,v=null;if(d=d.firstBaseUpdate,d!==null){do{var C={lane:d.lane,tag:d.tag,payload:d.payload,callback:null,next:null};v===null?g=v=C:v=v.next=C,d=d.next}while(d!==null);v===null?g=v=l:v=v.next=l}else g=v=l;d={baseState:h.baseState,firstBaseUpdate:g,lastBaseUpdate:v,shared:h.shared,callbacks:h.callbacks},i.updateQueue=d;return}i=d.lastBaseUpdate,i===null?d.firstBaseUpdate=l:i.next=l,d.lastBaseUpdate=l}var wp=!1;function Gu(){if(wp){var i=ml;if(i!==null)throw i}}function Yu(i,l,d,h){wp=!1;var g=i.updateQueue;as=!1;var v=g.firstBaseUpdate,C=g.lastBaseUpdate,L=g.shared.pending;if(L!==null){g.shared.pending=null;var X=L,de=X.next;X.next=null,C===null?v=de:C.next=de,C=X;var ye=i.alternate;ye!==null&&(ye=ye.updateQueue,L=ye.lastBaseUpdate,L!==C&&(L===null?ye.firstBaseUpdate=de:L.next=de,ye.lastBaseUpdate=X))}if(v!==null){var Ee=g.baseState;C=0,ye=de=X=null,L=v;do{var fe=L.lane&-536870913,me=fe!==L.lane;if(me?(mt&fe)===fe:(h&fe)===fe){fe!==0&&fe===hl&&(wp=!0),ye!==null&&(ye=ye.next={lane:0,tag:L.tag,payload:L.payload,callback:null,next:null});e:{var He=i,We=L;fe=l;var Dt=d;switch(We.tag){case 1:if(He=We.payload,typeof He=="function"){Ee=He.call(Dt,Ee,fe);break e}Ee=He;break e;case 3:He.flags=He.flags&-65537|128;case 0:if(He=We.payload,fe=typeof He=="function"?He.call(Dt,Ee,fe):He,fe==null)break e;Ee=m({},Ee,fe);break e;case 2:as=!0}}fe=L.callback,fe!==null&&(i.flags|=64,me&&(i.flags|=8192),me=g.callbacks,me===null?g.callbacks=[fe]:me.push(fe))}else me={lane:fe,tag:L.tag,payload:L.payload,callback:L.callback,next:null},ye===null?(de=ye=me,X=Ee):ye=ye.next=me,C|=fe;if(L=L.next,L===null){if(L=g.shared.pending,L===null)break;me=L,L=me.next,me.next=null,g.lastBaseUpdate=me,g.shared.pending=null}}while(!0);ye===null&&(X=Ee),g.baseState=X,g.firstBaseUpdate=de,g.lastBaseUpdate=ye,v===null&&(g.shared.lanes=0),ds|=C,i.lanes=C,i.memoizedState=Ee}}function Y3(i,l){if(typeof i!="function")throw Error(r(191,i));i.call(l)}function Q3(i,l){var d=i.callbacks;
vendor: 4,089 bytes, line 49
49if(d!==null)for(i.callbacks=null,i=0;i<d.length;i++)Y3(d[i],l)}var bl=$(null),cd=$(0);function W3(i,l){i=ki,I(cd,i),I(bl,l),ki=i|l.baseLanes}function Sp(){I(cd,ki),I(bl,bl.current)}function Ap(){ki=cd.current,ce(bl),ce(cd)}var Ir=$(null),ra=null;function os(i){var l=i.alternate;I(un,un.current&1),I(Ir,i),ra===null&&(l===null||bl.current!==null||l.memoizedState!==null)&&(ra=i)}function Cp(i){I(un,un.current),I(Ir,i),ra===null&&(ra=i)}function X3(i){i.tag===22?(I(un,un.current),I(Ir,i),ra===null&&(ra=i)):ls()}function ls(){I(un,un.current),I(Ir,Ir.current)}function Lr(i){ce(Ir),ra===i&&(ra=null),ce(un)}var un=$(0);function dd(i){for(var l=i;l!==null;){if(l.tag===13){var d=l.memoizedState;if(d!==null&&(d=d.dehydrated,d===null||I1(d)||L1(d)))return l}else if(l.tag===19&&(l.memoizedProps.revealOrder==="forwards"||l.memoizedProps.revealOrder==="backwards"||l.memoizedProps.revealOrder==="unstable_legacy-backwards"||l.memoizedProps.revealOrder==="together")){if((l.flags&128)!==0)return l}else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===i)break;for(;l.sibling===null;){if(l.return===null||l.return===i)return null;l=l.return}l.sibling.return=l.return,l=l.sibling}return null}var xi=0,tt=null,Rt=null,bn=null,fd=!1,yl=!1,fo=!1,hd=0,Qu=0,vl=null,yR=0;function Jt(){throw Error(r(321))}function kp(i,l){if(l===null)return!1;for(var d=0;d<l.length&&d<i.length;d++)if(!Or(i[d],l[d]))return!1;return!0}function Np(i,l,d,h,g,v){return xi=v,tt=l,l.memoizedState=null,l.updateQueue=null,l.lanes=0,G.H=i===null||i.memoizedState===null?Iv:$p,fo=!1,v=d(h,g),fo=!1,yl&&(v=Z3(l,d,h,g)),K3(i),v}function K3(i){G.H=Ku;var l=Rt!==null&&Rt.next!==null;if(xi=0,bn=Rt=tt=null,fd=!1,Qu=0,vl=null,l)throw Error(r(300));i===null||yn||(i=i.dependencies,i!==null&&rd(i)&&(yn=!0))}function Z3(i,l,d,h){tt=i;var g=0;do{if(yl&&(vl=null),Qu=0,yl=!1,25<=g)throw Error(r(301));if(g+=1,bn=Rt=null,i.updateQueue!=null){var v=i.updateQueue;v.lastEffect=null,v.events=null,v.stores=null,v.memoCache!=null&&(v.memoCache.index=0)}G.H=Lv,v=l(d,h)}while(yl);return v}function vR(){var i=G.H,l=i.useState()[0];return l=typeof l.then=="function"?Wu(l):l,i=i.useState()[0],(Rt!==null?Rt.memoizedState:null)!==i&&(tt.flags|=1024),l}function Rp(){var i=hd!==0;return hd=0,i}function Op(i,l,d){l.updateQueue=i.updateQueue,l.flags&=-2053,i.lanes&=~d}function Dp(i){if(fd){for(i=i.memoizedState;i!==null;){var l=i.queue;l!==null&&(l.pending=null),i=i.next}fd=!1}xi=0,bn=Rt=tt=null,yl=!1,Qu=hd=0,vl=null}function ir(){var i={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return bn===null?tt.memoizedState=bn=i:bn=bn.next=i,bn}function cn(){if(Rt===null){var i=tt.alternate;i=i!==null?i.memoizedState:null}else i=Rt.next;var l=bn===null?tt.memoizedState:bn.next;if(l!==null)bn=l,Rt=i;else{if(i===null)throw tt.alternate===null?Error(r(467)):Error(r(310));Rt=i,i={memoizedState:Rt.memoizedState,baseState:Rt.baseState,baseQueue:Rt.baseQueue,queue:Rt.queue,next:null},bn===null?tt.memoizedState=bn=i:bn=bn.next=i}return bn}function md(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Wu(i){var l=Qu;return Qu+=1,vl===null&&(vl=[]),i=U3(vl,i,l),l=tt,(bn===null?l.memoizedState:bn.next)===null&&(l=l.alternate,G.H=l===null||l.memoizedState===null?Iv:$p),i}function pd(i){if(i!==null&&typeof i=="object"){if(typeof i.then=="function")return Wu(i);if(i.$$typeof===D)return Gn(i)}throw Error(r(438,String(i)))}function Ip(i){var l=null,d=tt.updateQueue;if(d!==null&&(l=d.memoCache),l==null){var h=tt.alternate;h!==null&&(h=h.updateQueue,h!==null&&(h=h.memoCache,h!=null&&(l={data:h.data.map(function(g){return g.slice()}),index:0})))}if(l==null&&(l={data:[],index:0}),d===null&&(d=md(),tt.updateQueue=d),d.memoCache=l,d=l.data[l.index],d===void 0)for(d=l.data[l.index]=Array(i),h=0;h<i;h++)d[h]=Y;return l.index++,d}function Ei(i,l){return typeof l=="function"?l(i):l}function gd(i){var l=cn();return Lp(l,Rt,i)}function Lp(i,l,d){var h=i.queue;if(h===null)throw Error(r(311));h.lastRenderedReducer=d;var g=i.baseQueue,v=h.pending;if(v!==null){if(g!==null){var C=g.next;
vendor: 18,068 bytes, line 49
49g.next=v.next,v.next=C}l.baseQueue=g=v,h.pending=null}if(v=i.baseState,g===null)i.memoizedState=v;else{l=g.next;var L=C=null,X=null,de=l,ye=!1;do{var Ee=de.lane&-536870913;if(Ee!==de.lane?(mt&Ee)===Ee:(xi&Ee)===Ee){var fe=de.revertLane;if(fe===0)X!==null&&(X=X.next={lane:0,revertLane:0,gesture:null,action:de.action,hasEagerState:de.hasEagerState,eagerState:de.eagerState,next:null}),Ee===hl&&(ye=!0);else if((xi&fe)===fe){de=de.next,fe===hl&&(ye=!0);continue}else Ee={lane:0,revertLane:de.revertLane,gesture:null,action:de.action,hasEagerState:de.hasEagerState,eagerState:de.eagerState,next:null},X===null?(L=X=Ee,C=v):X=X.next=Ee,tt.lanes|=fe,ds|=fe;Ee=de.action,fo&&d(v,Ee),v=de.hasEagerState?de.eagerState:d(v,Ee)}else fe={lane:Ee,revertLane:de.revertLane,gesture:de.gesture,action:de.action,hasEagerState:de.hasEagerState,eagerState:de.eagerState,next:null},X===null?(L=X=fe,C=v):X=X.next=fe,tt.lanes|=Ee,ds|=Ee;de=de.next}while(de!==null&&de!==l);if(X===null?C=v:X.next=L,!Or(v,i.memoizedState)&&(yn=!0,ye&&(d=ml,d!==null)))throw d;i.memoizedState=v,i.baseState=C,i.baseQueue=X,h.lastRenderedState=v}return g===null&&(h.lanes=0),[i.memoizedState,h.dispatch]}function Mp(i){var l=cn(),d=l.queue;if(d===null)throw Error(r(311));d.lastRenderedReducer=i;var h=d.dispatch,g=d.pending,v=l.memoizedState;if(g!==null){d.pending=null;var C=g=g.next;do v=i(v,C.action),C=C.next;while(C!==g);Or(v,l.memoizedState)||(yn=!0),l.memoizedState=v,l.baseQueue===null&&(l.baseState=v),d.lastRenderedState=v}return[v,h]}function J3(i,l,d){var h=tt,g=cn(),v=bt;if(v){if(d===void 0)throw Error(r(407));d=d()}else d=l();var C=!Or((Rt||g).memoizedState,d);if(C&&(g.memoizedState=d,yn=!0),g=g.queue,zp(nv.bind(null,h,g,i),[i]),g.getSnapshot!==l||C||bn!==null&&bn.memoizedState.tag&1){if(h.flags|=2048,xl(9,{destroy:void 0},tv.bind(null,h,g,d,l),null),Lt===null)throw Error(r(349));v||(xi&127)!==0||ev(h,l,d)}return d}function ev(i,l,d){i.flags|=16384,i={getSnapshot:l,value:d},l=tt.updateQueue,l===null?(l=md(),tt.updateQueue=l,l.stores=[i]):(d=l.stores,d===null?l.stores=[i]:d.push(i))}function tv(i,l,d,h){l.value=d,l.getSnapshot=h,rv(l)&&av(i)}function nv(i,l,d){return d(function(){rv(l)&&av(i)})}function rv(i){var l=i.getSnapshot;i=i.value;try{var d=l();return!Or(i,d)}catch{return!0}}function av(i){var l=no(i,2);l!==null&&_r(l,i,2)}function Pp(i){var l=ir();if(typeof i=="function"){var d=i;if(i=d(),fo){qn(!0);try{d()}finally{qn(!1)}}}return l.memoizedState=l.baseState=i,l.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ei,lastRenderedState:i},l}function iv(i,l,d,h){return i.baseState=d,Lp(i,Rt,typeof h=="function"?h:Ei)}function xR(i,l,d,h,g){if(vd(i))throw Error(r(485));if(i=l.action,i!==null){var v={payload:g,action:i,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(C){v.listeners.push(C)}};G.T!==null?d(!0):v.isTransition=!1,h(v),d=l.pending,d===null?(v.next=l.pending=v,sv(l,v)):(v.next=d.next,l.pending=d.next=v)}}function sv(i,l){var d=l.action,h=l.payload,g=i.state;if(l.isTransition){var v=G.T,C={};G.T=C;try{var L=d(g,h),X=G.S;X!==null&&X(C,L),ov(i,l,L)}catch(de){Bp(i,l,de)}finally{v!==null&&C.types!==null&&(v.types=C.types),G.T=v}}else try{v=d(g,h),ov(i,l,v)}catch(de){Bp(i,l,de)}}function ov(i,l,d){d!==null&&typeof d=="object"&&typeof d.then=="function"?d.then(function(h){lv(i,l,h)},function(h){return Bp(i,l,h)}):lv(i,l,d)}function lv(i,l,d){l.status="fulfilled",l.value=d,uv(l),i.state=d,l=i.pending,l!==null&&(d=l.next,d===l?i.pending=null:(d=d.next,l.next=d,sv(i,d)))}function Bp(i,l,d){var h=i.pending;if(i.pending=null,h!==null){h=h.next;do l.status="rejected",l.reason=d,uv(l),l=l.next;while(l!==h)}i.action=null}function uv(i){i=i.listeners;for(var l=0;l<i.length;l++)(0,i[l])()}function cv(i,l){return l}function dv(i,l){if(bt){var d=Lt.formState;if(d!==null){e:{var h=tt;if(bt){if(Ft){t:{for(var g=Ft,v=na;g.nodeType!==8;){if(!v){g=null;break t}if(g=aa(g.nextSibling),g===null){g=null;break t}}v=g.data,g=v==="F!"||v==="F"?g:null}if(g){Ft=aa(g.nextSibling),h=g.data==="F!";break e}}ns(h)}h=!1}h&&(l=d[0])}}return d=ir(),d.memoizedState=d.baseState=l,h={pending:null,lanes:0,dispatch:null,lastRenderedReducer:cv,lastRenderedState:l},d.queue=h,d=Rv.bind(null,tt,h),h.dispatch=d,h=Pp(!1),v=qp.bind(null,tt,!1,h.queue),h=ir(),g={state:l,dispatch:null,action:i,pending:null},h.queue=g,d=xR.bind(null,tt,g,v,d),g.dispatch=d,h.memoizedState=i,[l,d,!1]}function fv(i){var l=cn();return hv(l,Rt,i)}function hv(i,l,d){if(l=Lp(i,l,cv)[0],i=gd(Ei)[0],typeof l=="object"&&l!==null&&typeof l.then=="function")try{var h=Wu(l)}catch(C){throw C===pl?sd:C}else h=l;l=cn();var g=l.queue,v=g.dispatch;return d!==l.memoizedState&&(tt.flags|=2048,xl(9,{destroy:void 0},ER.bind(null,g,d),null)),[h,v,i]}function ER(i,l){i.action=l}function mv(i){var l=cn(),d=Rt;if(d!==null)return hv(l,d,i);cn(),l=l.memoizedState,d=cn();var h=d.queue.dispatch;return d.memoizedState=i,[l,h,!1]}function xl(i,l,d,h){return i={tag:i,create:d,deps:h,inst:l,next:null},l=tt.updateQueue,l===null&&(l=md(),tt.updateQueue=l),d=l.lastEffect,d===null?l.lastEffect=i.next=i:(h=d.next,d.next=i,i.next=h,l.lastEffect=i),i}function pv(){return cn().memoizedState}function bd(i,l,d,h){var g=ir();tt.flags|=i,g.memoizedState=xl(1|l,{destroy:void 0},d,h===void 0?null:h)}function yd(i,l,d,h){var g=cn();h=h===void 0?null:h;var v=g.memoizedState.inst;Rt!==null&&h!==null&&kp(h,Rt.memoizedState.deps)?g.memoizedState=xl(l,v,d,h):(tt.flags|=i,g.memoizedState=xl(1|l,v,d,h))}function gv(i,l){bd(8390656,8,i,l)}function zp(i,l){yd(2048,8,i,l)}function _R(i){tt.flags|=4;var l=tt.updateQueue;if(l===null)l=md(),tt.updateQueue=l,l.events=[i];else{var d=l.events;d===null?l.events=[i]:d.push(i)}}function bv(i){var l=cn().memoizedState;return _R({ref:l,nextImpl:i}),function(){if((St&2)!==0)throw Error(r(440));return l.impl.apply(void 0,arguments)}}function yv(i,l){return yd(4,2,i,l)}function vv(i,l){return yd(4,4,i,l)}function xv(i,l){if(typeof l=="function"){i=i();var d=l(i);return function(){typeof d=="function"?d():l(null)}}if(l!=null)return i=i(),l.current=i,function(){l.current=null}}function Ev(i,l,d){d=d!=null?d.concat([i]):null,yd(4,4,xv.bind(null,l,i),d)}function Hp(){}function _v(i,l){var d=cn();l=l===void 0?null:l;var h=d.memoizedState;return l!==null&&kp(l,h[1])?h[0]:(d.memoizedState=[i,l],i)}function Tv(i,l){var d=cn();l=l===void 0?null:l;var h=d.memoizedState;if(l!==null&&kp(l,h[1]))return h[0];if(h=i(),fo){qn(!0);try{i()}finally{qn(!1)}}return d.memoizedState=[h,l],h}function jp(i,l,d){return d===void 0||(xi&1073741824)!==0&&(mt&261930)===0?i.memoizedState=l:(i.memoizedState=d,i=w6(),tt.lanes|=i,ds|=i,d)}function wv(i,l,d,h){return Or(d,l)?d:bl.current!==null?(i=jp(i,d,h),Or(i,l)||(yn=!0),i):(xi&42)===0||(xi&1073741824)!==0&&(mt&261930)===0?(yn=!0,i.memoizedState=d):(i=w6(),tt.lanes|=i,ds|=i,l)}function Sv(i,l,d,h,g){var v=ae.p;ae.p=v!==0&&8>v?v:8;var C=G.T,L={};G.T=L,qp(i,!1,l,d);try{var X=g(),de=G.S;if(de!==null&&de(L,X),X!==null&&typeof X=="object"&&typeof X.then=="function"){var ye=bR(X,h);Xu(i,l,ye,Br(i))}else Xu(i,l,h,Br(i))}catch(Ee){Xu(i,l,{then:function(){},status:"rejected",reason:Ee},Br())}finally{ae.p=v,C!==null&&L.types!==null&&(C.types=L.types),G.T=C}}function TR(){}function Fp(i,l,d,h){if(i.tag!==5)throw Error(r(476));var g=Av(i).queue;Sv(i,g,l,te,d===null?TR:function(){return Cv(i),d(h)})}function Av(i){var l=i.memoizedState;if(l!==null)return l;l={memoizedState:te,baseState:te,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ei,lastRenderedState:te},next:null};var d={};return l.next={memoizedState:d,baseState:d,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ei,lastRenderedState:d},next:null},i.memoizedState=l,i=i.alternate,i!==null&&(i.memoizedState=l),l}function Cv(i){var l=Av(i);l.next===null&&(l=i.alternate.memoizedState),Xu(i,l.next.queue,{},Br())}function Up(){return Gn(hc)}function kv(){return cn().memoizedState}function Nv(){return cn().memoizedState}function wR(i){for(var l=i.return;l!==null;){switch(l.tag){case 24:case 3:var d=Br();i=is(d);var h=ss(l,i,d);h!==null&&(_r(h,l,d),Vu(h,l,d)),l={cache:bp()},i.payload=l;return}l=l.return}}function SR(i,l,d){var h=Br();d={lane:h,revertLane:0,gesture:null,action:d,hasEagerState:!1,eagerState:null,next:null},vd(i)?Ov(l,d):(d=sp(i,l,d,h),d!==null&&(_r(d,i,h),Dv(d,l,h)))}function Rv(i,l,d){var h=Br();Xu(i,l,d,h)}function Xu(i,l,d,h){var g={lane:h,revertLane:0,gesture:null,action:d,hasEagerState:!1,eagerState:null,next:null};if(vd(i))Ov(l,g);else{var v=i.alternate;if(i.lanes===0&&(v===null||v.lanes===0)&&(v=l.lastRenderedReducer,v!==null))try{var C=l.lastRenderedState,L=v(C,d);if(g.hasEagerState=!0,g.eagerState=L,Or(L,C))return J0(i,l,g,0),Lt===null&&Z0(),!1}catch{}finally{}if(d=sp(i,l,g,h),d!==null)return _r(d,i,h),Dv(d,l,h),!0}return!1}function qp(i,l,d,h){if(h={lane:2,revertLane:E1(),gesture:null,action:h,hasEagerState:!1,eagerState:null,next:null},vd(i)){if(l)throw Error(r(479))}else l=sp(i,d,h,2),l!==null&&_r(l,i,2)}function vd(i){var l=i.alternate;return i===tt||l!==null&&l===tt}function Ov(i,l){yl=fd=!0;var d=i.pending;d===null?l.next=l:(l.next=d.next,d.next=l),i.pending=l}function Dv(i,l,d){if((d&4194048)!==0){var h=l.lanes;h&=i.pendingLanes,d|=h,l.lanes=d,mr(i,d)}}var Ku={readContext:Gn,use:pd,useCallback:Jt,useContext:Jt,useEffect:Jt,useImperativeHandle:Jt,useLayoutEffect:Jt,useInsertionEffect:Jt,useMemo:Jt,useReducer:Jt,useRef:Jt,useState:Jt,useDebugValue:Jt,useDeferredValue:Jt,useTransition:Jt,useSyncExternalStore:Jt,useId:Jt,useHostTransitionStatus:Jt,useFormState:Jt,useActionState:Jt,useOptimistic:Jt,useMemoCache:Jt,useCacheRefresh:Jt};Ku.useEffectEvent=Jt;var Iv={readContext:Gn,use:pd,useCallback:function(i,l){return ir().memoizedState=[i,l===void 0?null:l],i},useContext:Gn,useEffect:gv,useImperativeHandle:function(i,l,d){d=d!=null?d.concat([i]):null,bd(4194308,4,xv.bind(null,l,i),d)},useLayoutEffect:function(i,l){return bd(4194308,4,i,l)},useInsertionEffect:function(i,l){bd(4,2,i,l)},useMemo:function(i,l){var d=ir();l=l===void 0?null:l;var h=i();if(fo){qn(!0);try{i()}finally{qn(!1)}}return d.memoizedState=[h,l],h},useReducer:function(i,l,d){var h=ir();if(d!==void 0){var g=d(l);if(fo){qn(!0);try{d(l)}finally{qn(!1)}}}else g=l;return h.memoizedState=h.baseState=g,i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:i,lastRenderedState:g},h.queue=i,i=i.dispatch=SR.bind(null,tt,i),[h.memoizedState,i]},useRef:function(i){var l=ir();return i={current:i},l.memoizedState=i},useState:function(i){i=Pp(i);var l=i.queue,d=Rv.bind(null,tt,l);return l.dispatch=d,[i.memoizedState,d]},useDebugValue:Hp,useDeferredValue:function(i,l){var d=ir();return jp(d,i,l)},useTransition:function(){var i=Pp(!1);return i=Sv.bind(null,tt,i.queue,!0,!1),ir().memoizedState=i,[!1,i]},useSyncExternalStore:function(i,l,d){var h=tt,g=ir();if(bt){if(d===void 0)throw Error(r(407));d=d()}else{if(d=l(),Lt===null)throw Error(r(349));(mt&127)!==0||ev(h,l,d)}g.memoizedState=d;var v={value:d,getSnapshot:l};return g.queue=v,gv(nv.bind(null,h,v,i),[i]),h.flags|=2048,xl(9,{destroy:void 0},tv.bind(null,h,v,d,l),null),d},useId:function(){var i=ir(),l=Lt.identifierPrefix;if(bt){var d=za,h=Ba;d=(h&~(1<<32-At(h)-1)).toString(32)+d,l="_"+l+"R_"+d,d=hd++,0<d&&(l+="H"+d.toString(32)),l+="_"}else d=yR++,l="_"+l+"r_"+d.toString(32)+"_";return i.memoizedState=l},useHostTransitionStatus:Up,useFormState:dv,useActionState:dv,useOptimistic:function(i){var l=ir();l.memoizedState=l.baseState=i;var d={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return l.queue=d,l=qp.bind(null,tt,!0,d),d.dispatch=l,[i,l]},useMemoCache:Ip,useCacheRefresh:function(){return ir().memoizedState=wR.bind(null,tt)},useEffectEvent:function(i){var l=ir(),d={impl:i};return l.memoizedState=d,function(){if((St&2)!==0)throw Error(r(440));return d.impl.apply(void 0,arguments)}}},$p={readContext:Gn,use:pd,useCallback:_v,useContext:Gn,useEffect:zp,useImperativeHandle:Ev,useInsertionEffect:yv,useLayoutEffect:vv,useMemo:Tv,useReducer:gd,useRef:pv,useState:function(){return gd(Ei)},useDebugValue:Hp,useDeferredValue:function(i,l){var d=cn();return wv(d,Rt.memoizedState,i,l)},useTransition:function(){var i=gd(Ei)[0],l=cn().memoizedState;return[typeof i=="boolean"?i:Wu(i),l]},useSyncExternalStore:J3,useId:kv,useHostTransitionStatus:Up,useFormState:fv,useActionState:fv,useOptimistic:function(i,l){var d=cn();return iv(d,Rt,i,l)},useMemoCache:Ip,useCacheRefresh:Nv};$p.useEffectEvent=bv;var Lv={readContext:Gn,use:pd,useCallback:_v,useContext:Gn,useEffect:zp,useImperativeHandle:Ev,useInsertionEffect:yv,useLayoutEffect:vv,useMemo:Tv,useReducer:Mp,useRef:pv,useState:function(){return Mp(Ei)},useDebugValue:Hp,useDeferredValue:function(i,l){var d=cn();return Rt===null?jp(d,i,l):wv(d,Rt.memoizedState,i,l)},useTransition:function(){var i=Mp(Ei)[0],l=cn().memoizedState;return[typeof i=="boolean"?i:Wu(i),l]},useSyncExternalStore:J3,useId:kv,useHostTransitionStatus:Up,useFormState:mv,useActionState:mv,useOptimistic:function(i,l){var d=cn();return Rt!==null?iv(d,Rt,i,l):(d.baseState=i,[i,d.queue.dispatch])},useMemoCache:Ip,useCacheRefresh:Nv};Lv.useEffectEvent=bv;function Vp(i,l,d,h){l=i.memoizedState,d=d(h,l),d=d==null?l:m({},l,d),i.memoizedState=d,i.lanes===0&&(i.updateQueue.baseState=d)}var Gp={enqueueSetState:function(i,l,d){i=i._reactInternals;var h=Br(),g=is(h);g.payload=l,d!=null&&(g.callback=d),l=ss(i,g,h),l!==null&&(_r(l,i,h),Vu(l,i,h))},enqueueReplaceState:function(i,l,d){i=i._reactInternals;var h=Br(),g=is(h);g.tag=1,g.payload=l,d!=null&&(g.callback=d),l=ss(i,g,h),l!==null&&(_r(l,i,h),Vu(l,i,h))},enqueueForceUpdate:function(i,l){i=i._reactInternals;var d=Br(),h=is(d);h.tag=2,l!=null&&(h.callback=l),l=ss(i,h,d),l!==null&&(_r(l,i,d),Vu(l,i,d))}};function Mv(i,l,d,h,g,v,C){return i=i.stateNode,typeof i.shouldComponentUpdate=="function"?i.shouldComponentUpdate(h,v,C):l.prototype&&l.prototype.isPureReactComponent?!Bu(d,h)||!Bu(g,v):!0}function Pv(i,l,d,h){i=l.state,typeof l.componentWillReceiveProps=="function"&&l.componentWillReceiveProps(d,h),typeof l.UNSAFE_componentWillReceiveProps=="function"&&l.UNSAFE_componentWillReceiveProps(d,h),l.state!==i&&Gp.enqueueReplaceState(l,l.state,null)}function ho(i,l){var d=l;if("ref"in l){d={};for(var h in l)h!=="ref"&&(d[h]=l[h])}if(i=i.defaultProps){d===l&&(d=m({},d));for(var g in i)d[g]===void 0&&(d[g]=i[g])}return d}function Bv(i){K0(i)}function zv(i){console.error(i)}function Hv(i){K0(i)}function xd(i,l){try{var d=i.onUncaughtError;d(l.value,{componentStack:l.stack})}catch(h){setTimeout(function(){throw h})}}function jv(i,l,d){try{var h=i.onCaughtError;h(d.value,{componentStack:d.stack,errorBoundary:l.tag===1?l.stateNode:null})}catch(g){setTimeout(function(){throw g})}}function Yp(i,l,d){return d=is(d),d.tag=3,d.payload={element:null},d.callback=function(){xd(i,l)},d}function Fv(i){return i=is(i),i.tag=3,i}function Uv(i,l,d,h){var g=d.type.getDerivedStateFromError;if(typeof g=="function"){var v=h.value;i.payload=function(){return g(v)},i.callback=function(){jv(l,d,h)}}var C=d.stateNode;C!==null&&typeof C.componentDidCatch=="function"&&(i.callback=function(){jv(l,d,h),typeof g!="function"&&(fs===null?fs=new Set([this]):fs.add(this));var L=h.stack;this.componentDidCatch(h.value,{componentStack:L!==null?L:""})})}function AR(i,l,d,h,g){if(d.flags|=32768,h!==null&&typeof h=="object"&&typeof h.then=="function"){if(l=d.alternate,l!==null&&fl(l,d,g,!0),d=Ir.current,d!==null){switch(d.tag){case 31:case 13:return ra===null?Dd():d.alternate===null&&en===0&&(en=3),d.flags&=-257,d.flags|=65536,d.lanes=g,h===od?d.flags|=16384:(l=d.updateQueue,l===null?d.updateQueue=new Set([h]):l.add(h),y1(i,h,g)),!1;case 22:return d.flags|=65536,h===od?d.flags|=16384:(l=d.updateQueue,l===null?(l={transitions:null,markerInstances:null,retryQueue:new Set([h])},d.updateQueue=l):(d=l.retryQueue,d===null?l.retryQueue=new Set([h]):d.add(h)),y1(i,h,g)),!1}throw Error(r(435,d.tag))}return y1(i,h,g),Dd(),!1}if(bt)return l=Ir.current,l!==null?((l.flags&65536)===0&&(l.flags|=256),l.flags|=65536,l.lanes=g,h!==fp&&(i=Error(r(422),{cause:h}),ju(Jr(i,d)))):(h!==fp&&(l=Error(r(423),{cause:h}),ju(Jr(l,d))),i=i.current.alternate,i.flags|=65536,g&=-g,i.lanes|=g,h=Jr(h,d),g=Yp(i.stateNode,h,g),Tp(i,g),en!==4&&(en=2)),!1;var v=Error(r(520),{cause:h});if(v=Jr(v,d),ic===null?ic=[v]:ic.push(v),en!==4&&(en=2),l===null)return!0;h=Jr(h,d),d=l;do{switch(d.tag){case 3:return d.flags|=65536,i=g&-g,d.lanes|=i,i=Yp(d.stateNode,h,i),Tp(d,i),!1;case 1:if(l=d.type,v=d.stateNode,(d.flags&128)===0&&(typeof l.getDerivedStateFromError=="function"||v!==null&&typeof v.componentDidCatch=="function"&&(fs===null||!fs.has(v))))return d.flags|=65536,g&=-g,d.lanes|=g,g=Fv(g),Uv(g,i,d,h),Tp(d,g),!1}d=d.return}while(d!==null);return!1}var Qp=Error(r(461)),yn=!1;function Yn(i,l,d,h){l.child=i===null?G3(l,null,d,h):co(l,i.child,d,h)}function qv(i,l,d,h,g){d=d.render;var v=l.ref;if("ref"in h){var C={};for(var L in h)L!=="ref"&&(C[L]=h[L])}else C=h;return so(l),h=Np(i,l,d,C,v,g),L=Rp(),i!==null&&!yn?(Op(i,l,g),_i(i,l,g)):(bt&&L&&cp(l),l.flags|=1,Yn(i,l,h,g),l.child)}function $v(i,l,d,h,g){if(i===null){var v=d.type;return typeof v=="function"&&!op(v)&&v.defaultProps===void 0&&d.compare===null?(l.tag=15,l.type=v,Vv(i,l,v,h,g)):(i=td(d.type,null,h,l,l.mode,g),i.ref=l.ref,i.return=l,l.child=i)}if(v=i.child,!n1(i,g)){var C=v.memoizedProps;if(d=d.compare,d=d!==null?d:Bu,d(C,h)&&i.ref===l.ref)return _i(i,l,g)}return l.flags|=1,i=gi(v,h),i.ref=l.ref,i.return=l,l.child=i}function Vv(i,l,d,h,g){if(i!==null){var v=i.memoizedProps;if(Bu(v,h)&&i.ref===l.ref)if(yn=!1,l.pendingProps=h=v,n1(i,g))(i.flags&131072)!==0&&(yn=!0);else return l.lanes=i.lanes,_i(i,l,g)}return Wp(i,l,d,h,g)}function Gv(i,l,d,h){var g=h.children,v=i!==null?i.memoizedState:null;if(i===null&&l.stateNode===null&&(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),h.mode==="hidden"){if((l.flags&128)!==0){if(v=v!==null?v.baseLanes|d:d,i!==null){for(h=l.child=i.child,g=0;h!==null;
vendor: 9,821 bytes, line 49
49)g=g|h.lanes|h.childLanes,h=h.sibling;h=g&~v}else h=0,l.child=null;return Yv(i,l,v,d,h)}if((d&536870912)!==0)l.memoizedState={baseLanes:0,cachePool:null},i!==null&&id(l,v!==null?v.cachePool:null),v!==null?W3(l,v):Sp(),X3(l);else return h=l.lanes=536870912,Yv(i,l,v!==null?v.baseLanes|d:d,d,h)}else v!==null?(id(l,v.cachePool),W3(l,v),ls(),l.memoizedState=null):(i!==null&&id(l,null),Sp(),ls());return Yn(i,l,g,d),l.child}function Zu(i,l){return i!==null&&i.tag===22||l.stateNode!==null||(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.sibling}function Yv(i,l,d,h,g){var v=vp();return v=v===null?null:{parent:gn._currentValue,pool:v},l.memoizedState={baseLanes:d,cachePool:v},i!==null&&id(l,null),Sp(),X3(l),i!==null&&fl(i,l,h,!0),l.childLanes=g,null}function Ed(i,l){return l=Td({mode:l.mode,children:l.children},i.mode),l.ref=i.ref,i.child=l,l.return=i,l}function Qv(i,l,d){return co(l,i.child,null,d),i=Ed(l,l.pendingProps),i.flags|=2,Lr(l),l.memoizedState=null,i}function CR(i,l,d){var h=l.pendingProps,g=(l.flags&128)!==0;if(l.flags&=-129,i===null){if(bt){if(h.mode==="hidden")return i=Ed(l,h),l.lanes=536870912,Zu(null,i);if(Cp(l),(i=Ft)?(i=sx(i,na),i=i!==null&&i.data==="&"?i:null,i!==null&&(l.memoizedState={dehydrated:i,treeContext:es!==null?{id:Ba,overflow:za}:null,retryLane:536870912,hydrationErrors:null},d=O3(i),d.return=l,l.child=d,Vn=l,Ft=null)):i=null,i===null)throw ns(l);return l.lanes=536870912,null}return Ed(l,h)}var v=i.memoizedState;if(v!==null){var C=v.dehydrated;if(Cp(l),g)if(l.flags&256)l.flags&=-257,l=Qv(i,l,d);else if(l.memoizedState!==null)l.child=i.child,l.flags|=128,l=null;else throw Error(r(558));else if(yn||fl(i,l,d,!1),g=(d&i.childLanes)!==0,yn||g){if(h=Lt,h!==null&&(C=pr(h,d),C!==0&&C!==v.retryLane))throw v.retryLane=C,no(i,C),_r(h,i,C),Qp;Dd(),l=Qv(i,l,d)}else i=v.treeContext,Ft=aa(C.nextSibling),Vn=l,bt=!0,ts=null,na=!1,i!==null&&L3(l,i),l=Ed(l,h),l.flags|=4096;return l}return i=gi(i.child,{mode:h.mode,children:h.children}),i.ref=l.ref,l.child=i,i.return=l,i}function _d(i,l){var d=l.ref;if(d===null)i!==null&&i.ref!==null&&(l.flags|=4194816);else{if(typeof d!="function"&&typeof d!="object")throw Error(r(284));(i===null||i.ref!==d)&&(l.flags|=4194816)}}function Wp(i,l,d,h,g){return so(l),d=Np(i,l,d,h,void 0,g),h=Rp(),i!==null&&!yn?(Op(i,l,g),_i(i,l,g)):(bt&&h&&cp(l),l.flags|=1,Yn(i,l,d,g),l.child)}function Wv(i,l,d,h,g,v){return so(l),l.updateQueue=null,d=Z3(l,h,d,g),K3(i),h=Rp(),i!==null&&!yn?(Op(i,l,v),_i(i,l,v)):(bt&&h&&cp(l),l.flags|=1,Yn(i,l,d,v),l.child)}function Xv(i,l,d,h,g){if(so(l),l.stateNode===null){var v=ll,C=d.contextType;typeof C=="object"&&C!==null&&(v=Gn(C)),v=new d(h,v),l.memoizedState=v.state!==null&&v.state!==void 0?v.state:null,v.updater=Gp,l.stateNode=v,v._reactInternals=l,v=l.stateNode,v.props=h,v.state=l.memoizedState,v.refs={},Ep(l),C=d.contextType,v.context=typeof C=="object"&&C!==null?Gn(C):ll,v.state=l.memoizedState,C=d.getDerivedStateFromProps,typeof C=="function"&&(Vp(l,d,C,h),v.state=l.memoizedState),typeof d.getDerivedStateFromProps=="function"||typeof v.getSnapshotBeforeUpdate=="function"||typeof v.UNSAFE_componentWillMount!="function"&&typeof v.componentWillMount!="function"||(C=v.state,typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount(),C!==v.state&&Gp.enqueueReplaceState(v,v.state,null),Yu(l,h,v,g),Gu(),v.state=l.memoizedState),typeof v.componentDidMount=="function"&&(l.flags|=4194308),h=!0}else if(i===null){v=l.stateNode;var L=l.memoizedProps,X=ho(d,L);v.props=X;var de=v.context,ye=d.contextType;C=ll,typeof ye=="object"&&ye!==null&&(C=Gn(ye));var Ee=d.getDerivedStateFromProps;ye=typeof Ee=="function"||typeof v.getSnapshotBeforeUpdate=="function",L=l.pendingProps!==L,ye||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(L||de!==C)&&Pv(l,v,h,C),as=!1;var fe=l.memoizedState;v.state=fe,Yu(l,h,v,g),Gu(),de=l.memoizedState,L||fe!==de||as?(typeof Ee=="function"&&(Vp(l,d,Ee,h),de=l.memoizedState),(X=as||Mv(l,d,X,h,fe,de,C))?(ye||typeof v.UNSAFE_componentWillMount!="function"&&typeof v.componentWillMount!="function"||(typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount()),typeof v.componentDidMount=="function"&&(l.flags|=4194308)):(typeof v.componentDidMount=="function"&&(l.flags|=4194308),l.memoizedProps=h,l.memoizedState=de),v.props=h,v.state=de,v.context=C,h=X):(typeof v.componentDidMount=="function"&&(l.flags|=4194308),h=!1)}else{v=l.stateNode,_p(i,l),C=l.memoizedProps,ye=ho(d,C),v.props=ye,Ee=l.pendingProps,fe=v.context,de=d.contextType,X=ll,typeof de=="object"&&de!==null&&(X=Gn(de)),L=d.getDerivedStateFromProps,(de=typeof L=="function"||typeof v.getSnapshotBeforeUpdate=="function")||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(C!==Ee||fe!==X)&&Pv(l,v,h,X),as=!1,fe=l.memoizedState,v.state=fe,Yu(l,h,v,g),Gu();var me=l.memoizedState;C!==Ee||fe!==me||as||i!==null&&i.dependencies!==null&&rd(i.dependencies)?(typeof L=="function"&&(Vp(l,d,L,h),me=l.memoizedState),(ye=as||Mv(l,d,ye,h,fe,me,X)||i!==null&&i.dependencies!==null&&rd(i.dependencies))?(de||typeof v.UNSAFE_componentWillUpdate!="function"&&typeof v.componentWillUpdate!="function"||(typeof v.componentWillUpdate=="function"&&v.componentWillUpdate(h,me,X),typeof v.UNSAFE_componentWillUpdate=="function"&&v.UNSAFE_componentWillUpdate(h,me,X)),typeof v.componentDidUpdate=="function"&&(l.flags|=4),typeof v.getSnapshotBeforeUpdate=="function"&&(l.flags|=1024)):(typeof v.componentDidUpdate!="function"||C===i.memoizedProps&&fe===i.memoizedState||(l.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||C===i.memoizedProps&&fe===i.memoizedState||(l.flags|=1024),l.memoizedProps=h,l.memoizedState=me),v.props=h,v.state=me,v.context=X,h=ye):(typeof v.componentDidUpdate!="function"||C===i.memoizedProps&&fe===i.memoizedState||(l.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||C===i.memoizedProps&&fe===i.memoizedState||(l.flags|=1024),h=!1)}return v=h,_d(i,l),h=(l.flags&128)!==0,v||h?(v=l.stateNode,d=h&&typeof d.getDerivedStateFromError!="function"?null:v.render(),l.flags|=1,i!==null&&h?(l.child=co(l,i.child,null,g),l.child=co(l,null,d,g)):Yn(i,l,d,g),l.memoizedState=v.state,i=l.child):i=_i(i,l,g),i}function Kv(i,l,d,h){return ao(),l.flags|=256,Yn(i,l,d,h),l.child}var Xp={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Kp(i){return{baseLanes:i,cachePool:j3()}}function Zp(i,l,d){return i=i!==null?i.childLanes&~d:0,l&&(i|=Pr),i}function Zv(i,l,d){var h=l.pendingProps,g=!1,v=(l.flags&128)!==0,C;if((C=v)||(C=i!==null&&i.memoizedState===null?!1:(un.current&2)!==0),C&&(g=!0,l.flags&=-129),C=(l.flags&32)!==0,l.flags&=-33,i===null){if(bt){if(g?os(l):ls(),(i=Ft)?(i=sx(i,na),i=i!==null&&i.data!=="&"?i:null,i!==null&&(l.memoizedState={dehydrated:i,treeContext:es!==null?{id:Ba,overflow:za}:null,retryLane:536870912,hydrationErrors:null},d=O3(i),d.return=l,l.child=d,Vn=l,Ft=null)):i=null,i===null)throw ns(l);return L1(i)?l.lanes=32:l.lanes=536870912,null}var L=h.children;return h=h.fallback,g?(ls(),g=l.mode,L=Td({mode:"hidden",children:L},g),h=ro(h,g,d,null),L.return=l,h.return=l,L.sibling=h,l.child=L,h=l.child,h.memoizedState=Kp(d),h.childLanes=Zp(i,C,d),l.memoizedState=Xp,Zu(null,h)):(os(l),Jp(l,L))}var X=i.memoizedState;if(X!==null&&(L=X.dehydrated,L!==null)){if(v)l.flags&256?(os(l),l.flags&=-257,l=e1(i,l,d)):l.memoizedState!==null?(ls(),l.child=i.child,l.flags|=128,l=null):(ls(),L=h.fallback,g=l.mode,h=Td({mode:"visible",children:h.children},g),L=ro(L,g,d,null),L.flags|=2,h.return=l,L.return=l,h.sibling=L,l.child=h,co(l,i.child,null,d),h=l.child,h.memoizedState=Kp(d),h.childLanes=Zp(i,C,d),l.memoizedState=Xp,l=Zu(null,h));else if(os(l),L1(L)){if(C=L.nextSibling&&L.nextSibling.dataset,C)var de=C.dgst;C=de,h=Error(r(419)),h.stack="",h.digest=C,ju({value:h,source:null,stack:null}),l=e1(i,l,d)}else if(yn||fl(i,l,d,!1),C=(d&i.childLanes)!==0,yn||C){if(C=Lt,C!==null&&(h=pr(C,d),h!==0&&h!==X.retryLane))throw X.retryLane=h,no(i,h),_r(C,i,h),Qp;I1(L)||Dd(),l=e1(i,l,d)}else I1(L)?(l.flags|=192,l.child=i.child,l=null):(i=X.treeContext,Ft=aa(L.nextSibling),Vn=l,bt=!0,ts=null,na=!1,i!==null&&L3(l,i),l=Jp(l,h.children),l.flags|=4096);return l}return g?(ls(),L=h.fallback,g=l.mode,X=i.child,de=X.sibling,h=gi(X,{mode:"hidden",children:h.children}),h.subtreeFlags=X.subtreeFlags&65011712,de!==null?L=gi(de,L):(L=ro(L,g,d,null),L.flags|=2),L.return=l,h.return=l,h.sibling=L,l.child=h,Zu(null,h),h=l.child,L=i.child.memoizedState,L===null?L=Kp(d):(g=L.cachePool,g!==null?(X=gn._currentValue,g=g.parent!==X?{parent:X,pool:X}:g):g=j3(),L={baseLanes:L.baseLanes|d,cachePool:g}),h.memoizedState=L,h.childLanes=Zp(i,C,d),l.memoizedState=Xp,Zu(i.child,h)):(os(l),d=i.child,i=d.sibling,d=gi(d,{mode:"visible",children:h.children}),d.return=l,d.sibling=null,i!==null&&(C=l.deletions,C===null?(l.deletions=[i],l.flags|=16):C.push(i)),l.child=d,l.memoizedState=null,d)}function Jp(i,l){return l=Td({mode:"visible",children:l},i.mode),l.return=i,i.child=l}function Td(i,l){return i=Dr(22,i,null,l),i.lanes=0,i}function e1(i,l,d){return co(l,i.child,null,d),i=Jp(l,l.pendingProps.children),i.flags|=2,l.memoizedState=null,i}function Jv(i,l,d){i.lanes|=l;var h=i.alternate;h!==null&&(h.lanes|=l),pp(i.return,l,d)}function t1(i,l,d,h,g,v){var C=i.memoizedState;C===null?i.memoizedState={isBackwards:l,rendering:null,renderingStartTime:0,last:h,tail:d,tailMode:g,treeForkCount:v}:(C.isBackwards=l,C.rendering=null,C.renderingStartTime=0,C.last=h,C.tail=d,C.tailMode=g,C.treeForkCount=v)}function e6(i,l,d){var h=l.pendingProps,g=h.revealOrder,v=h.tail;h=h.children;
vendor: 5,251 bytes, line 49
49var C=un.current,L=(C&2)!==0;if(L?(C=C&1|2,l.flags|=128):C&=1,I(un,C),Yn(i,l,h,d),h=bt?Hu:0,!L&&i!==null&&(i.flags&128)!==0)e:for(i=l.child;i!==null;){if(i.tag===13)i.memoizedState!==null&&Jv(i,d,l);else if(i.tag===19)Jv(i,d,l);else if(i.child!==null){i.child.return=i,i=i.child;continue}if(i===l)break e;for(;i.sibling===null;){if(i.return===null||i.return===l)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}switch(g){case"forwards":for(d=l.child,g=null;d!==null;)i=d.alternate,i!==null&&dd(i)===null&&(g=d),d=d.sibling;d=g,d===null?(g=l.child,l.child=null):(g=d.sibling,d.sibling=null),t1(l,!1,g,d,v,h);break;case"backwards":case"unstable_legacy-backwards":for(d=null,g=l.child,l.child=null;g!==null;){if(i=g.alternate,i!==null&&dd(i)===null){l.child=g;break}i=g.sibling,g.sibling=d,d=g,g=i}t1(l,!0,d,null,v,h);break;case"together":t1(l,!1,null,null,void 0,h);break;default:l.memoizedState=null}return l.child}function _i(i,l,d){if(i!==null&&(l.dependencies=i.dependencies),ds|=l.lanes,(d&l.childLanes)===0)if(i!==null){if(fl(i,l,d,!1),(d&l.childLanes)===0)return null}else return null;if(i!==null&&l.child!==i.child)throw Error(r(153));if(l.child!==null){for(i=l.child,d=gi(i,i.pendingProps),l.child=d,d.return=l;i.sibling!==null;)i=i.sibling,d=d.sibling=gi(i,i.pendingProps),d.return=l;d.sibling=null}return l.child}function n1(i,l){return(i.lanes&l)!==0?!0:(i=i.dependencies,!!(i!==null&&rd(i)))}function kR(i,l,d){switch(l.tag){case 3:Ue(l,l.stateNode.containerInfo),rs(l,gn,i.memoizedState.cache),ao();break;case 27:case 5:Ct(l);break;case 4:Ue(l,l.stateNode.containerInfo);break;case 10:rs(l,l.type,l.memoizedProps.value);break;case 31:if(l.memoizedState!==null)return l.flags|=128,Cp(l),null;break;case 13:var h=l.memoizedState;if(h!==null)return h.dehydrated!==null?(os(l),l.flags|=128,null):(d&l.child.childLanes)!==0?Zv(i,l,d):(os(l),i=_i(i,l,d),i!==null?i.sibling:null);os(l);break;case 19:var g=(i.flags&128)!==0;if(h=(d&l.childLanes)!==0,h||(fl(i,l,d,!1),h=(d&l.childLanes)!==0),g){if(h)return e6(i,l,d);l.flags|=128}if(g=l.memoizedState,g!==null&&(g.rendering=null,g.tail=null,g.lastEffect=null),I(un,un.current),h)break;return null;case 22:return l.lanes=0,Gv(i,l,d,l.pendingProps);case 24:rs(l,gn,i.memoizedState.cache)}return _i(i,l,d)}function t6(i,l,d){if(i!==null)if(i.memoizedProps!==l.pendingProps)yn=!0;else{if(!n1(i,d)&&(l.flags&128)===0)return yn=!1,kR(i,l,d);yn=(i.flags&131072)!==0}else yn=!1,bt&&(l.flags&1048576)!==0&&I3(l,Hu,l.index);switch(l.lanes=0,l.tag){case 16:e:{var h=l.pendingProps;if(i=lo(l.elementType),l.type=i,typeof i=="function")op(i)?(h=ho(i,h),l.tag=1,l=Xv(null,l,i,h,d)):(l.tag=0,l=Wp(null,l,i,h,d));else{if(i!=null){var g=i.$$typeof;if(g===F){l.tag=11,l=qv(null,l,i,h,d);break e}else if(g===z){l.tag=14,l=$v(null,l,i,h,d);break e}}throw l=ue(i)||i,Error(r(306,l,""))}}return l;case 0:return Wp(i,l,l.type,l.pendingProps,d);case 1:return h=l.type,g=ho(h,l.pendingProps),Xv(i,l,h,g,d);case 3:e:{if(Ue(l,l.stateNode.containerInfo),i===null)throw Error(r(387));h=l.pendingProps;var v=l.memoizedState;g=v.element,_p(i,l),Yu(l,h,null,d);var C=l.memoizedState;if(h=C.cache,rs(l,gn,h),h!==v.cache&&gp(l,[gn],d,!0),Gu(),h=C.element,v.isDehydrated)if(v={element:h,isDehydrated:!1,cache:C.cache},l.updateQueue.baseState=v,l.memoizedState=v,l.flags&256){l=Kv(i,l,h,d);break e}else if(h!==g){g=Jr(Error(r(424)),l),ju(g),l=Kv(i,l,h,d);break e}else{switch(i=l.stateNode.containerInfo,i.nodeType){case 9:i=i.body;break;default:i=i.nodeName==="HTML"?i.ownerDocument.body:i}for(Ft=aa(i.firstChild),Vn=l,bt=!0,ts=null,na=!0,d=G3(l,null,h,d),l.child=d;d;)d.flags=d.flags&-3|4096,d=d.sibling}else{if(ao(),h===g){l=_i(i,l,d);break e}Yn(i,l,h,d)}l=l.child}return l;case 26:return _d(i,l),i===null?(d=fx(l.type,null,l.pendingProps,null))?l.memoizedState=d:bt||(d=l.type,i=l.pendingProps,h=Hd(De.current).createElement(d),h[$n]=l,h[gr]=i,Qn(h,d,i),Dn(h),l.stateNode=h):l.memoizedState=fx(l.type,i.memoizedProps,l.pendingProps,i.memoizedState),null;case 27:return Ct(l),i===null&&bt&&(h=l.stateNode=ux(l.type,l.pendingProps,De.current),Vn=l,na=!0,g=Ft,gs(l.type)?(M1=g,Ft=aa(h.firstChild)):Ft=g),Yn(i,l,l.pendingProps.children,d),_d(i,l),i===null&&(l.flags|=4194304),l.child;case 5:return i===null&&bt&&((g=h=Ft)&&(h=aO(h,l.type,l.pendingProps,na),h!==null?(l.stateNode=h,Vn=l,Ft=aa(h.firstChild),na=!1,g=!0):g=!1),g||ns(l)),Ct(l),g=l.type,v=l.pendingProps,C=i!==null?i.memoizedProps:null,h=v.children,R1(g,v)?h=null:C!==null&&R1(g,C)&&(l.flags|=32),l.memoizedState!==null&&(g=Np(i,l,vR,null,null,d),hc._currentValue=g),_d(i,l),Yn(i,l,h,d),l.child;case 6:return i===null&&bt&&((i=d=Ft)&&(d=iO(d,l.pendingProps,na),d!==null?(l.stateNode=d,Vn=l,Ft=null,i=!0):i=!1),i||ns(l)),null;case 13:return Zv(i,l,d);case 4:return Ue(l,l.stateNode.containerInfo),h=l.pendingProps,i===null?l.child=co(l,null,h,d):Yn(i,l,h,d),l.child;case 11:return qv(i,l,l.type,l.pendingProps,d);case 7:return Yn(i,l,l.pendingProps,d),l.child;case 8:return Yn(i,l,l.pendingProps.children,d),l.child;case 12:return Yn(i,l,l.pendingProps.children,d),l.child;case 10:return h=l.pendingProps,rs(l,l.type,h.value),Yn(i,l,h.children,d),l.child;case 9:return g=l.type._context,h=l.pendingProps.children,so(l),g=Gn(g),h=h(g),l.flags|=1,Yn(i,l,h,d),l.child;
vendor: 8,492 bytes, line 49
49case 14:return $v(i,l,l.type,l.pendingProps,d);case 15:return Vv(i,l,l.type,l.pendingProps,d);case 19:return e6(i,l,d);case 31:return CR(i,l,d);case 22:return Gv(i,l,d,l.pendingProps);case 24:return so(l),h=Gn(gn),i===null?(g=vp(),g===null&&(g=Lt,v=bp(),g.pooledCache=v,v.refCount++,v!==null&&(g.pooledCacheLanes|=d),g=v),l.memoizedState={parent:h,cache:g},Ep(l),rs(l,gn,g)):((i.lanes&d)!==0&&(_p(i,l),Yu(l,null,null,d),Gu()),g=i.memoizedState,v=l.memoizedState,g.parent!==h?(g={parent:h,cache:h},l.memoizedState=g,l.lanes===0&&(l.memoizedState=l.updateQueue.baseState=g),rs(l,gn,h)):(h=v.cache,rs(l,gn,h),h!==g.cache&&gp(l,[gn],d,!0))),Yn(i,l,l.pendingProps.children,d),l.child;case 29:throw l.pendingProps}throw Error(r(156,l.tag))}function Ti(i){i.flags|=4}function r1(i,l,d,h,g){if((l=(i.mode&32)!==0)&&(l=!1),l){if(i.flags|=16777216,(g&335544128)===g)if(i.stateNode.complete)i.flags|=8192;else if(k6())i.flags|=8192;else throw uo=od,xp}else i.flags&=-16777217}function n6(i,l){if(l.type!=="stylesheet"||(l.state.loading&4)!==0)i.flags&=-16777217;else if(i.flags|=16777216,!bx(l))if(k6())i.flags|=8192;else throw uo=od,xp}function wd(i,l){l!==null&&(i.flags|=4),i.flags&16384&&(l=i.tag!==22?Kn():536870912,i.lanes|=l,wl|=l)}function Ju(i,l){if(!bt)switch(i.tailMode){case"hidden":l=i.tail;for(var d=null;l!==null;)l.alternate!==null&&(d=l),l=l.sibling;d===null?i.tail=null:d.sibling=null;break;case"collapsed":d=i.tail;for(var h=null;d!==null;)d.alternate!==null&&(h=d),d=d.sibling;h===null?l||i.tail===null?i.tail=null:i.tail.sibling=null:h.sibling=null}}function Ut(i){var l=i.alternate!==null&&i.alternate.child===i.child,d=0,h=0;if(l)for(var g=i.child;g!==null;)d|=g.lanes|g.childLanes,h|=g.subtreeFlags&65011712,h|=g.flags&65011712,g.return=i,g=g.sibling;else for(g=i.child;g!==null;)d|=g.lanes|g.childLanes,h|=g.subtreeFlags,h|=g.flags,g.return=i,g=g.sibling;return i.subtreeFlags|=h,i.childLanes=d,l}function NR(i,l,d){var h=l.pendingProps;switch(dp(l),l.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ut(l),null;case 1:return Ut(l),null;case 3:return d=l.stateNode,h=null,i!==null&&(h=i.memoizedState.cache),l.memoizedState.cache!==h&&(l.flags|=2048),vi(gn),Ke(),d.pendingContext&&(d.context=d.pendingContext,d.pendingContext=null),(i===null||i.child===null)&&(dl(l)?Ti(l):i===null||i.memoizedState.isDehydrated&&(l.flags&256)===0||(l.flags|=1024,hp())),Ut(l),null;case 26:var g=l.type,v=l.memoizedState;return i===null?(Ti(l),v!==null?(Ut(l),n6(l,v)):(Ut(l),r1(l,g,null,h,d))):v?v!==i.memoizedState?(Ti(l),Ut(l),n6(l,v)):(Ut(l),l.flags&=-16777217):(i=i.memoizedProps,i!==h&&Ti(l),Ut(l),r1(l,g,i,h,d)),null;case 27:if(Zt(l),d=De.current,g=l.type,i!==null&&l.stateNode!=null)i.memoizedProps!==h&&Ti(l);else{if(!h){if(l.stateNode===null)throw Error(r(166));return Ut(l),null}i=he.current,dl(l)?M3(l):(i=ux(g,h,d),l.stateNode=i,Ti(l))}return Ut(l),null;case 5:if(Zt(l),g=l.type,i!==null&&l.stateNode!=null)i.memoizedProps!==h&&Ti(l);else{if(!h){if(l.stateNode===null)throw Error(r(166));return Ut(l),null}if(v=he.current,dl(l))M3(l);else{var C=Hd(De.current);switch(v){case 1:v=C.createElementNS("http://www.w3.org/2000/svg",g);break;case 2:v=C.createElementNS("http://www.w3.org/1998/Math/MathML",g);break;default:switch(g){case"svg":v=C.createElementNS("http://www.w3.org/2000/svg",g);break;case"math":v=C.createElementNS("http://www.w3.org/1998/Math/MathML",g);break;case"script":v=C.createElement("div"),v.innerHTML="<script><\/script>",v=v.removeChild(v.firstChild);break;case"select":v=typeof h.is=="string"?C.createElement("select",{is:h.is}):C.createElement("select"),h.multiple?v.multiple=!0:h.size&&(v.size=h.size);break;default:v=typeof h.is=="string"?C.createElement(g,{is:h.is}):C.createElement(g)}}v[$n]=l,v[gr]=h;e:for(C=l.child;C!==null;){if(C.tag===5||C.tag===6)v.appendChild(C.stateNode);else if(C.tag!==4&&C.tag!==27&&C.child!==null){C.child.return=C,C=C.child;continue}if(C===l)break e;for(;C.sibling===null;){if(C.return===null||C.return===l)break e;C=C.return}C.sibling.return=C.return,C=C.sibling}l.stateNode=v;e:switch(Qn(v,g,h),g){case"button":case"input":case"select":case"textarea":h=!!h.autoFocus;break e;case"img":h=!0;break e;default:h=!1}h&&Ti(l)}}return Ut(l),r1(l,l.type,i===null?null:i.memoizedProps,l.pendingProps,d),null;case 6:if(i&&l.stateNode!=null)i.memoizedProps!==h&&Ti(l);else{if(typeof h!="string"&&l.stateNode===null)throw Error(r(166));if(i=De.current,dl(l)){if(i=l.stateNode,d=l.memoizedProps,h=null,g=Vn,g!==null)switch(g.tag){case 27:case 5:h=g.memoizedProps}i[$n]=l,i=!!(i.nodeValue===d||h!==null&&h.suppressHydrationWarning===!0||Z6(i.nodeValue,d)),i||ns(l,!0)}else i=Hd(i).createTextNode(h),i[$n]=l,l.stateNode=i}return Ut(l),null;case 31:if(d=l.memoizedState,i===null||i.memoizedState!==null){if(h=dl(l),d!==null){if(i===null){if(!h)throw Error(r(318));if(i=l.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(r(557));i[$n]=l}else ao(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;Ut(l),i=!1}else d=hp(),i!==null&&i.memoizedState!==null&&(i.memoizedState.hydrationErrors=d),i=!0;if(!i)return l.flags&256?(Lr(l),l):(Lr(l),null);if((l.flags&128)!==0)throw Error(r(558))}return Ut(l),null;case 13:if(h=l.memoizedState,i===null||i.memoizedState!==null&&i.memoizedState.dehydrated!==null){if(g=dl(l),h!==null&&h.dehydrated!==null){if(i===null){if(!g)throw Error(r(318));if(g=l.memoizedState,g=g!==null?g.dehydrated:null,!g)throw Error(r(317));g[$n]=l}else ao(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;Ut(l),g=!1}else g=hp(),i!==null&&i.memoizedState!==null&&(i.memoizedState.hydrationErrors=g),g=!0;if(!g)return l.flags&256?(Lr(l),l):(Lr(l),null)}return Lr(l),(l.flags&128)!==0?(l.lanes=d,l):(d=h!==null,i=i!==null&&i.memoizedState!==null,d&&(h=l.child,g=null,h.alternate!==null&&h.alternate.memoizedState!==null&&h.alternate.memoizedState.cachePool!==null&&(g=h.alternate.memoizedState.cachePool.pool),v=null,h.memoizedState!==null&&h.memoizedState.cachePool!==null&&(v=h.memoizedState.cachePool.pool),v!==g&&(h.flags|=2048)),d!==i&&d&&(l.child.flags|=8192),wd(l,l.updateQueue),Ut(l),null);case 4:return Ke(),i===null&&S1(l.stateNode.containerInfo),Ut(l),null;case 10:return vi(l.type),Ut(l),null;case 19:if(ce(un),h=l.memoizedState,h===null)return Ut(l),null;if(g=(l.flags&128)!==0,v=h.rendering,v===null)if(g)Ju(h,!1);else{if(en!==0||i!==null&&(i.flags&128)!==0)for(i=l.child;i!==null;){if(v=dd(i),v!==null){for(l.flags|=128,Ju(h,!1),i=v.updateQueue,l.updateQueue=i,wd(l,i),l.subtreeFlags=0,i=d,d=l.child;d!==null;)R3(d,i),d=d.sibling;return I(un,un.current&1|2),bt&&bi(l,h.treeForkCount),l.child}i=i.sibling}h.tail!==null&&Fn()>Nd&&(l.flags|=128,g=!0,Ju(h,!1),l.lanes=4194304)}else{if(!g)if(i=dd(v),i!==null){if(l.flags|=128,g=!0,i=i.updateQueue,l.updateQueue=i,wd(l,i),Ju(h,!0),h.tail===null&&h.tailMode==="hidden"&&!v.alternate&&!bt)return Ut(l),null}else 2*Fn()-h.renderingStartTime>Nd&&d!==536870912&&(l.flags|=128,g=!0,Ju(h,!1),l.lanes=4194304);h.isBackwards?(v.sibling=l.child,l.child=v):(i=h.last,i!==null?i.sibling=v:l.child=v,h.last=v)}return h.tail!==null?(i=h.tail,h.rendering=i,h.tail=i.sibling,h.renderingStartTime=Fn(),i.sibling=null,d=un.current,I(un,g?d&1|2:d&1),bt&&bi(l,h.treeForkCount),i):(Ut(l),null);case 22:case 23:return Lr(l),Ap(),h=l.memoizedState!==null,i!==null?i.memoizedState!==null!==h&&(l.flags|=8192):h&&(l.flags|=8192),h?(d&536870912)!==0&&(l.flags&128)===0&&(Ut(l),l.subtreeFlags&6&&(l.flags|=8192)):Ut(l),d=l.updateQueue,d!==null&&wd(l,d.retryQueue),d=null,i!==null&&i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(d=i.memoizedState.cachePool.pool),h=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(h=l.memoizedState.cachePool.pool),h!==d&&(l.flags|=2048),i!==null&&ce(oo),null;case 24:return d=null,i!==null&&(d=i.memoizedState.cache),l.memoizedState.cache!==d&&(l.flags|=2048),vi(gn),Ut(l),null;case 25:return null;case 30:return null}throw Error(r(156,l.tag))}function RR(i,l){switch(dp(l),l.tag){case 1:return i=l.flags,i&65536?(l.flags=i&-65537|128,l):null;case 3:return vi(gn),Ke(),i=l.flags,(i&65536)!==0&&(i&128)===0?(l.flags=i&-65537|128,l):null;case 26:case 27:case 5:return Zt(l),null;case 31:if(l.memoizedState!==null){if(Lr(l),l.alternate===null)throw Error(r(340));ao()}return i=l.flags,i&65536?(l.flags=i&-65537|128,l):null;case 13:if(Lr(l),i=l.memoizedState,i!==null&&i.dehydrated!==null){if(l.alternate===null)throw Error(r(340));ao()}return i=l.flags,i&65536?(l.flags=i&-65537|128,l):null;
vendor: 19,572 bytes, line 49
49case 19:return ce(un),null;case 4:return Ke(),null;case 10:return vi(l.type),null;case 22:case 23:return Lr(l),Ap(),i!==null&&ce(oo),i=l.flags,i&65536?(l.flags=i&-65537|128,l):null;case 24:return vi(gn),null;case 25:return null;default:return null}}function r6(i,l){switch(dp(l),l.tag){case 3:vi(gn),Ke();break;case 26:case 27:case 5:Zt(l);break;case 4:Ke();break;case 31:l.memoizedState!==null&&Lr(l);break;case 13:Lr(l);break;case 19:ce(un);break;case 10:vi(l.type);break;case 22:case 23:Lr(l),Ap(),i!==null&&ce(oo);break;case 24:vi(gn)}}function ec(i,l){try{var d=l.updateQueue,h=d!==null?d.lastEffect:null;if(h!==null){var g=h.next;d=g;do{if((d.tag&i)===i){h=void 0;var v=d.create,C=d.inst;h=v(),C.destroy=h}d=d.next}while(d!==g)}}catch(L){Nt(l,l.return,L)}}function us(i,l,d){try{var h=l.updateQueue,g=h!==null?h.lastEffect:null;if(g!==null){var v=g.next;h=v;do{if((h.tag&i)===i){var C=h.inst,L=C.destroy;if(L!==void 0){C.destroy=void 0,g=l;var X=d,de=L;try{de()}catch(ye){Nt(g,X,ye)}}}h=h.next}while(h!==v)}}catch(ye){Nt(l,l.return,ye)}}function a6(i){var l=i.updateQueue;if(l!==null){var d=i.stateNode;try{Q3(l,d)}catch(h){Nt(i,i.return,h)}}}function i6(i,l,d){d.props=ho(i.type,i.memoizedProps),d.state=i.memoizedState;try{d.componentWillUnmount()}catch(h){Nt(i,l,h)}}function tc(i,l){try{var d=i.ref;if(d!==null){switch(i.tag){case 26:case 27:case 5:var h=i.stateNode;break;case 30:h=i.stateNode;break;default:h=i.stateNode}typeof d=="function"?i.refCleanup=d(h):d.current=h}}catch(g){Nt(i,l,g)}}function Ha(i,l){var d=i.ref,h=i.refCleanup;if(d!==null)if(typeof h=="function")try{h()}catch(g){Nt(i,l,g)}finally{i.refCleanup=null,i=i.alternate,i!=null&&(i.refCleanup=null)}else if(typeof d=="function")try{d(null)}catch(g){Nt(i,l,g)}else d.current=null}function s6(i){var l=i.type,d=i.memoizedProps,h=i.stateNode;try{e:switch(l){case"button":case"input":case"select":case"textarea":d.autoFocus&&h.focus();break e;case"img":d.src?h.src=d.src:d.srcSet&&(h.srcset=d.srcSet)}}catch(g){Nt(i,i.return,g)}}function a1(i,l,d){try{var h=i.stateNode;ZR(h,i.type,d,l),h[gr]=l}catch(g){Nt(i,i.return,g)}}function o6(i){return i.tag===5||i.tag===3||i.tag===26||i.tag===27&&gs(i.type)||i.tag===4}function i1(i){e:for(;;){for(;i.sibling===null;){if(i.return===null||o6(i.return))return null;i=i.return}for(i.sibling.return=i.return,i=i.sibling;i.tag!==5&&i.tag!==6&&i.tag!==18;){if(i.tag===27&&gs(i.type)||i.flags&2||i.child===null||i.tag===4)continue e;i.child.return=i,i=i.child}if(!(i.flags&2))return i.stateNode}}function s1(i,l,d){var h=i.tag;if(h===5||h===6)i=i.stateNode,l?(d.nodeType===9?d.body:d.nodeName==="HTML"?d.ownerDocument.body:d).insertBefore(i,l):(l=d.nodeType===9?d.body:d.nodeName==="HTML"?d.ownerDocument.body:d,l.appendChild(i),d=d._reactRootContainer,d!=null||l.onclick!==null||(l.onclick=mi));else if(h!==4&&(h===27&&gs(i.type)&&(d=i.stateNode,l=null),i=i.child,i!==null))for(s1(i,l,d),i=i.sibling;i!==null;)s1(i,l,d),i=i.sibling}function Sd(i,l,d){var h=i.tag;if(h===5||h===6)i=i.stateNode,l?d.insertBefore(i,l):d.appendChild(i);else if(h!==4&&(h===27&&gs(i.type)&&(d=i.stateNode),i=i.child,i!==null))for(Sd(i,l,d),i=i.sibling;i!==null;)Sd(i,l,d),i=i.sibling}function l6(i){var l=i.stateNode,d=i.memoizedProps;try{for(var h=i.type,g=l.attributes;g.length;)l.removeAttributeNode(g[0]);Qn(l,h,d),l[$n]=i,l[gr]=d}catch(v){Nt(i,i.return,v)}}var wi=!1,vn=!1,o1=!1,u6=typeof WeakSet=="function"?WeakSet:Set,In=null;function OR(i,l){if(i=i.containerInfo,k1=Gd,i=E3(i),ep(i)){if("selectionStart"in i)var d={start:i.selectionStart,end:i.selectionEnd};else e:{d=(d=i.ownerDocument)&&d.defaultView||window;var h=d.getSelection&&d.getSelection();if(h&&h.rangeCount!==0){d=h.anchorNode;var g=h.anchorOffset,v=h.focusNode;h=h.focusOffset;try{d.nodeType,v.nodeType}catch{d=null;break e}var C=0,L=-1,X=-1,de=0,ye=0,Ee=i,fe=null;t:for(;;){for(var me;Ee!==d||g!==0&&Ee.nodeType!==3||(L=C+g),Ee!==v||h!==0&&Ee.nodeType!==3||(X=C+h),Ee.nodeType===3&&(C+=Ee.nodeValue.length),(me=Ee.firstChild)!==null;)fe=Ee,Ee=me;for(;;){if(Ee===i)break t;if(fe===d&&++de===g&&(L=C),fe===v&&++ye===h&&(X=C),(me=Ee.nextSibling)!==null)break;Ee=fe,fe=Ee.parentNode}Ee=me}d=L===-1||X===-1?null:{start:L,end:X}}else d=null}d=d||{start:0,end:0}}else d=null;for(N1={focusedElem:i,selectionRange:d},Gd=!1,In=l;In!==null;)if(l=In,i=l.child,(l.subtreeFlags&1028)!==0&&i!==null)i.return=l,In=i;else for(;In!==null;){switch(l=In,v=l.alternate,i=l.flags,l.tag){case 0:if((i&4)!==0&&(i=l.updateQueue,i=i!==null?i.events:null,i!==null))for(d=0;d<i.length;d++)g=i[d],g.ref.impl=g.nextImpl;break;case 11:case 15:break;case 1:if((i&1024)!==0&&v!==null){i=void 0,d=l,g=v.memoizedProps,v=v.memoizedState,h=d.stateNode;try{var He=ho(d.type,g);i=h.getSnapshotBeforeUpdate(He,v),h.__reactInternalSnapshotBeforeUpdate=i}catch(We){Nt(d,d.return,We)}}break;case 3:if((i&1024)!==0){if(i=l.stateNode.containerInfo,d=i.nodeType,d===9)D1(i);else if(d===1)switch(i.nodeName){case"HEAD":case"HTML":case"BODY":D1(i);break;default:i.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((i&1024)!==0)throw Error(r(163))}if(i=l.sibling,i!==null){i.return=l.return,In=i;break}In=l.return}}function c6(i,l,d){var h=d.flags;switch(d.tag){case 0:case 11:case 15:Ai(i,d),h&4&&ec(5,d);break;case 1:if(Ai(i,d),h&4)if(i=d.stateNode,l===null)try{i.componentDidMount()}catch(C){Nt(d,d.return,C)}else{var g=ho(d.type,l.memoizedProps);l=l.memoizedState;try{i.componentDidUpdate(g,l,i.__reactInternalSnapshotBeforeUpdate)}catch(C){Nt(d,d.return,C)}}h&64&&a6(d),h&512&&tc(d,d.return);break;case 3:if(Ai(i,d),h&64&&(i=d.updateQueue,i!==null)){if(l=null,d.child!==null)switch(d.child.tag){case 27:case 5:l=d.child.stateNode;break;case 1:l=d.child.stateNode}try{Q3(i,l)}catch(C){Nt(d,d.return,C)}}break;case 27:l===null&&h&4&&l6(d);case 26:case 5:Ai(i,d),l===null&&h&4&&s6(d),h&512&&tc(d,d.return);break;case 12:Ai(i,d);break;case 31:Ai(i,d),h&4&&h6(i,d);break;case 13:Ai(i,d),h&4&&m6(i,d),h&64&&(i=d.memoizedState,i!==null&&(i=i.dehydrated,i!==null&&(d=jR.bind(null,d),sO(i,d))));break;case 22:if(h=d.memoizedState!==null||wi,!h){l=l!==null&&l.memoizedState!==null||vn,g=wi;var v=vn;wi=h,(vn=l)&&!v?Ci(i,d,(d.subtreeFlags&8772)!==0):Ai(i,d),wi=g,vn=v}break;case 30:break;default:Ai(i,d)}}function d6(i){var l=i.alternate;l!==null&&(i.alternate=null,d6(l)),i.child=null,i.deletions=null,i.sibling=null,i.tag===5&&(l=i.stateNode,l!==null&&Bm(l)),i.stateNode=null,i.return=null,i.dependencies=null,i.memoizedProps=null,i.memoizedState=null,i.pendingProps=null,i.stateNode=null,i.updateQueue=null}var Vt=null,yr=!1;function Si(i,l,d){for(d=d.child;d!==null;)f6(i,l,d),d=d.sibling}function f6(i,l,d){if(ln&&typeof ln.onCommitFiberUnmount=="function")try{ln.onCommitFiberUnmount(Un,d)}catch{}switch(d.tag){case 26:vn||Ha(d,l),Si(i,l,d),d.memoizedState?d.memoizedState.count--:d.stateNode&&(d=d.stateNode,d.parentNode.removeChild(d));break;case 27:vn||Ha(d,l);var h=Vt,g=yr;gs(d.type)&&(Vt=d.stateNode,yr=!1),Si(i,l,d),cc(d.stateNode),Vt=h,yr=g;break;case 5:vn||Ha(d,l);case 6:if(h=Vt,g=yr,Vt=null,Si(i,l,d),Vt=h,yr=g,Vt!==null)if(yr)try{(Vt.nodeType===9?Vt.body:Vt.nodeName==="HTML"?Vt.ownerDocument.body:Vt).removeChild(d.stateNode)}catch(v){Nt(d,l,v)}else try{Vt.removeChild(d.stateNode)}catch(v){Nt(d,l,v)}break;case 18:Vt!==null&&(yr?(i=Vt,ax(i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i,d.stateNode),Dl(i)):ax(Vt,d.stateNode));break;case 4:h=Vt,g=yr,Vt=d.stateNode.containerInfo,yr=!0,Si(i,l,d),Vt=h,yr=g;break;case 0:case 11:case 14:case 15:us(2,d,l),vn||us(4,d,l),Si(i,l,d);break;case 1:vn||(Ha(d,l),h=d.stateNode,typeof h.componentWillUnmount=="function"&&i6(d,l,h)),Si(i,l,d);break;case 21:Si(i,l,d);break;case 22:vn=(h=vn)||d.memoizedState!==null,Si(i,l,d),vn=h;break;default:Si(i,l,d)}}function h6(i,l){if(l.memoizedState===null&&(i=l.alternate,i!==null&&(i=i.memoizedState,i!==null))){i=i.dehydrated;try{Dl(i)}catch(d){Nt(l,l.return,d)}}}function m6(i,l){if(l.memoizedState===null&&(i=l.alternate,i!==null&&(i=i.memoizedState,i!==null&&(i=i.dehydrated,i!==null))))try{Dl(i)}catch(d){Nt(l,l.return,d)}}function DR(i){switch(i.tag){case 31:case 13:case 19:var l=i.stateNode;return l===null&&(l=i.stateNode=new u6),l;case 22:return i=i.stateNode,l=i._retryCache,l===null&&(l=i._retryCache=new u6),l;default:throw Error(r(435,i.tag))}}function Ad(i,l){var d=DR(i);l.forEach(function(h){if(!d.has(h)){d.add(h);var g=FR.bind(null,i,h);h.then(g,g)}})}function vr(i,l){var d=l.deletions;if(d!==null)for(var h=0;h<d.length;h++){var g=d[h],v=i,C=l,L=C;e:for(;L!==null;){switch(L.tag){case 27:if(gs(L.type)){Vt=L.stateNode,yr=!1;break e}break;case 5:Vt=L.stateNode,yr=!1;break e;case 3:case 4:Vt=L.stateNode.containerInfo,yr=!0;break e}L=L.return}if(Vt===null)throw Error(r(160));f6(v,C,g),Vt=null,yr=!1,v=g.alternate,v!==null&&(v.return=null),g.return=null}if(l.subtreeFlags&13886)for(l=l.child;l!==null;)p6(l,i),l=l.sibling}var xa=null;function p6(i,l){var d=i.alternate,h=i.flags;switch(i.tag){case 0:case 11:case 14:case 15:vr(l,i),xr(i),h&4&&(us(3,i,i.return),ec(3,i),us(5,i,i.return));break;case 1:vr(l,i),xr(i),h&512&&(vn||d===null||Ha(d,d.return)),h&64&&wi&&(i=i.updateQueue,i!==null&&(h=i.callbacks,h!==null&&(d=i.shared.hiddenCallbacks,i.shared.hiddenCallbacks=d===null?h:d.concat(h))));break;case 26:var g=xa;if(vr(l,i),xr(i),h&512&&(vn||d===null||Ha(d,d.return)),h&4){var v=d!==null?d.memoizedState:null;if(h=i.memoizedState,d===null)if(h===null)if(i.stateNode===null){e:{h=i.type,d=i.memoizedProps,g=g.ownerDocument||g;t:switch(h){case"title":v=g.getElementsByTagName("title")[0],(!v||v[ku]||v[$n]||v.namespaceURI==="http://www.w3.org/2000/svg"||v.hasAttribute("itemprop"))&&(v=g.createElement(h),g.head.insertBefore(v,g.querySelector("head > title"))),Qn(v,h,d),v[$n]=i,Dn(v),h=v;break e;case"link":var C=px("link","href",g).get(h+(d.href||""));if(C){for(var L=0;L<C.length;L++)if(v=C[L],v.getAttribute("href")===(d.href==null||d.href===""?null:d.href)&&v.getAttribute("rel")===(d.rel==null?null:d.rel)&&v.getAttribute("title")===(d.title==null?null:d.title)&&v.getAttribute("crossorigin")===(d.crossOrigin==null?null:d.crossOrigin)){C.splice(L,1);break t}}v=g.createElement(h),Qn(v,h,d),g.head.appendChild(v);break;case"meta":if(C=px("meta","content",g).get(h+(d.content||""))){for(L=0;L<C.length;L++)if(v=C[L],v.getAttribute("content")===(d.content==null?null:""+d.content)&&v.getAttribute("name")===(d.name==null?null:d.name)&&v.getAttribute("property")===(d.property==null?null:d.property)&&v.getAttribute("http-equiv")===(d.httpEquiv==null?null:d.httpEquiv)&&v.getAttribute("charset")===(d.charSet==null?null:d.charSet)){C.splice(L,1);break t}}v=g.createElement(h),Qn(v,h,d),g.head.appendChild(v);break;default:throw Error(r(468,h))}v[$n]=i,Dn(v),h=v}i.stateNode=h}else gx(g,i.type,i.stateNode);else i.stateNode=mx(g,h,i.memoizedProps);else v!==h?(v===null?d.stateNode!==null&&(d=d.stateNode,d.parentNode.removeChild(d)):v.count--,h===null?gx(g,i.type,i.stateNode):mx(g,h,i.memoizedProps)):h===null&&i.stateNode!==null&&a1(i,i.memoizedProps,d.memoizedProps)}break;case 27:vr(l,i),xr(i),h&512&&(vn||d===null||Ha(d,d.return)),d!==null&&h&4&&a1(i,i.memoizedProps,d.memoizedProps);break;case 5:if(vr(l,i),xr(i),h&512&&(vn||d===null||Ha(d,d.return)),i.flags&32){g=i.stateNode;try{tl(g,"")}catch(He){Nt(i,i.return,He)}}h&4&&i.stateNode!=null&&(g=i.memoizedProps,a1(i,g,d!==null?d.memoizedProps:g)),h&1024&&(o1=!0);break;case 6:if(vr(l,i),xr(i),h&4){if(i.stateNode===null)throw Error(r(162));h=i.memoizedProps,d=i.stateNode;try{d.nodeValue=h}catch(He){Nt(i,i.return,He)}}break;case 3:if(Ud=null,g=xa,xa=jd(l.containerInfo),vr(l,i),xa=g,xr(i),h&4&&d!==null&&d.memoizedState.isDehydrated)try{Dl(l.containerInfo)}catch(He){Nt(i,i.return,He)}o1&&(o1=!1,g6(i));break;case 4:h=xa,xa=jd(i.stateNode.containerInfo),vr(l,i),xr(i),xa=h;break;case 12:vr(l,i),xr(i);break;case 31:vr(l,i),xr(i),h&4&&(h=i.updateQueue,h!==null&&(i.updateQueue=null,Ad(i,h)));break;case 13:vr(l,i),xr(i),i.child.flags&8192&&i.memoizedState!==null!=(d!==null&&d.memoizedState!==null)&&(kd=Fn()),h&4&&(h=i.updateQueue,h!==null&&(i.updateQueue=null,Ad(i,h)));break;case 22:g=i.memoizedState!==null;var X=d!==null&&d.memoizedState!==null,de=wi,ye=vn;if(wi=de||g,vn=ye||X,vr(l,i),vn=ye,wi=de,xr(i),h&8192)e:for(l=i.stateNode,l._visibility=g?l._visibility&-2:l._visibility|1,g&&(d===null||X||wi||vn||mo(i)),d=null,l=i;;){if(l.tag===5||l.tag===26){if(d===null){X=d=l;try{if(v=X.stateNode,g)C=v.style,typeof C.setProperty=="function"?C.setProperty("display","none","important"):C.display="none";else{L=X.stateNode;var Ee=X.memoizedProps.style,fe=Ee!=null&&Ee.hasOwnProperty("display")?Ee.display:null;L.style.display=fe==null||typeof fe=="boolean"?"":(""+fe).trim()}}catch(He){Nt(X,X.return,He)}}}else if(l.tag===6){if(d===null){X=l;try{X.stateNode.nodeValue=g?"":X.memoizedProps}catch(He){Nt(X,X.return,He)}}}else if(l.tag===18){if(d===null){X=l;try{var me=X.stateNode;g?ix(me,!0):ix(X.stateNode,!1)}catch(He){Nt(X,X.return,He)}}}else if((l.tag!==22&&l.tag!==23||l.memoizedState===null||l===i)&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===i)break e;for(;l.sibling===null;){if(l.return===null||l.return===i)break e;d===l&&(d=null),l=l.return}d===l&&(d=null),l.sibling.return=l.return,l=l.sibling}h&4&&(h=i.updateQueue,h!==null&&(d=h.retryQueue,d!==null&&(h.retryQueue=null,Ad(i,d))));break;case 19:vr(l,i),xr(i),h&4&&(h=i.updateQueue,h!==null&&(i.updateQueue=null,Ad(i,h)));break;case 30:break;case 21:break;default:vr(l,i),xr(i)}}function xr(i){var l=i.flags;if(l&2){try{for(var d,h=i.return;h!==null;){if(o6(h)){d=h;break}h=h.return}if(d==null)throw Error(r(160));switch(d.tag){case 27:var g=d.stateNode,v=i1(i);Sd(i,v,g);break;case 5:var C=d.stateNode;d.flags&32&&(tl(C,""),d.flags&=-33);var L=i1(i);Sd(i,L,C);break;case 3:case 4:var X=d.stateNode.containerInfo,de=i1(i);s1(i,de,X);break;default:throw Error(r(161))}}catch(ye){Nt(i,i.return,ye)}i.flags&=-3}l&4096&&(i.flags&=-4097)}function g6(i){if(i.subtreeFlags&1024)for(i=i.child;i!==null;){var l=i;g6(l),l.tag===5&&l.flags&1024&&l.stateNode.reset(),i=i.sibling}}function Ai(i,l){if(l.subtreeFlags&8772)for(l=l.child;l!==null;)c6(i,l.alternate,l),l=l.sibling}function mo(i){for(i=i.child;i!==null;){var l=i;switch(l.tag){case 0:case 11:case 14:case 15:us(4,l,l.return),mo(l);break;case 1:Ha(l,l.return);var d=l.stateNode;typeof d.componentWillUnmount=="function"&&i6(l,l.return,d),mo(l);break;case 27:cc(l.stateNode);case 26:case 5:Ha(l,l.return),mo(l);break;case 22:l.memoizedState===null&&mo(l);break;case 30:mo(l);break;default:mo(l)}i=i.sibling}}function Ci(i,l,d){for(d=d&&(l.subtreeFlags&8772)!==0,l=l.child;l!==null;){var h=l.alternate,g=i,v=l,C=v.flags;switch(v.tag){case 0:case 11:case 15:Ci(g,v,d),ec(4,v);break;case 1:if(Ci(g,v,d),h=v,g=h.stateNode,typeof g.componentDidMount=="function")try{g.componentDidMount()}catch(de){Nt(h,h.return,de)}if(h=v,g=h.updateQueue,g!==null){var L=h.stateNode;try{var X=g.shared.hiddenCallbacks;if(X!==null)for(g.shared.hiddenCallbacks=null,g=0;g<X.length;g++)Y3(X[g],L)}catch(de){Nt(h,h.return,de)}}d&&C&64&&a6(v),tc(v,v.return);break;case 27:l6(v);case 26:case 5:Ci(g,v,d),d&&h===null&&C&4&&s6(v),tc(v,v.return);break;case 12:Ci(g,v,d);break;case 31:Ci(g,v,d),d&&C&4&&h6(g,v);break;case 13:Ci(g,v,d),d&&C&4&&m6(g,v);break;case 22:v.memoizedState===null&&Ci(g,v,d),tc(v,v.return);break;case 30:break;default:Ci(g,v,d)}l=l.sibling}}function l1(i,l){var d=null;i!==null&&i.memoizedState!==null&&i.memoizedState.cachePool!==null&&(d=i.memoizedState.cachePool.pool),i=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(i=l.memoizedState.cachePool.pool),i!==d&&(i!=null&&i.refCount++,d!=null&&Fu(d))}function u1(i,l){i=null,l.alternate!==null&&(i=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==i&&(l.refCount++,i!=null&&Fu(i))}function Ea(i,l,d,h){if(l.subtreeFlags&10256)for(l=l.child;l!==null;)b6(i,l,d,h),l=l.sibling}function b6(i,l,d,h){var g=l.flags;switch(l.tag){case 0:case 11:case 15:Ea(i,l,d,h),g&2048&&ec(9,l);break;case 1:Ea(i,l,d,h);break;case 3:Ea(i,l,d,h),g&2048&&(i=null,l.alternate!==null&&(i=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==i&&(l.refCount++,i!=null&&Fu(i)));break;case 12:if(g&2048){Ea(i,l,d,h),i=l.stateNode;try{var v=l.memoizedProps,C=v.id,L=v.onPostCommit;typeof L=="function"&&L(C,l.alternate===null?"mount":"update",i.passiveEffectDuration,-0)}catch(X){Nt(l,l.return,X)}}else Ea(i,l,d,h);break;case 31:Ea(i,l,d,h);break;case 13:Ea(i,l,d,h);break;case 23:break;case 22:v=l.stateNode,C=l.alternate,l.memoizedState!==null?v._visibility&2?Ea(i,l,d,h):nc(i,l):v._visibility&2?Ea(i,l,d,h):(v._visibility|=2,El(i,l,d,h,(l.subtreeFlags&10256)!==0||!1)),g&2048&&l1(C,l);break;case 24:Ea(i,l,d,h),g&2048&&u1(l.alternate,l);break;default:Ea(i,l,d,h)}}function El(i,l,d,h,g){for(g=g&&((l.subtreeFlags&10256)!==0||!1),l=l.child;l!==null;){var v=i,C=l,L=d,X=h,de=C.flags;switch(C.tag){case 0:case 11:case 15:El(v,C,L,X,g),ec(8,C);break;case 23:break;case 22:var ye=C.stateNode;C.memoizedState!==null?ye._visibility&2?El(v,C,L,X,g):nc(v,C):(ye._visibility|=2,El(v,C,L,X,g)),g&&de&2048&&l1(C.alternate,C);break;case 24:El(v,C,L,X,g),g&&de&2048&&u1(C.alternate,C);break;default:El(v,C,L,X,g)}l=l.sibling}}function nc(i,l){if(l.subtreeFlags&10256)for(l=l.child;l!==null;){var d=i,h=l,g=h.flags;switch(h.tag){case 22:nc(d,h),g&2048&&l1(h.alternate,h);break;case 24:nc(d,h),g&2048&&u1(h.alternate,h);break;default:nc(d,h)}l=l.sibling}}var rc=8192;function _l(i,l,d){if(i.subtreeFlags&rc)for(i=i.child;i!==null;)y6(i,l,d),i=i.sibling}function y6(i,l,d){switch(i.tag){case 26:_l(i,l,d),i.flags&rc&&i.memoizedState!==null&&yO(d,xa,i.memoizedState,i.memoizedProps);break;case 5:_l(i,l,d);break;case 3:case 4:var h=xa;xa=jd(i.stateNode.containerInfo),_l(i,l,d),xa=h;break;case 22:i.memoizedState===null&&(h=i.alternate,h!==null&&h.memoizedState!==null?(h=rc,rc=16777216,_l(i,l,d),rc=h):_l(i,l,d));break;default:_l(i,l,d)}}function v6(i){var l=i.alternate;if(l!==null&&(i=l.child,i!==null)){l.child=null;do l=i.sibling,i.sibling=null,i=l;while(i!==null)}}function ac(i){var l=i.deletions;if((i.flags&16)!==0){if(l!==null)for(var d=0;d<l.length;d++){var h=l[d];In=h,E6(h,i)}v6(i)}if(i.subtreeFlags&10256)for(i=i.child;i!==null;)x6(i),i=i.sibling}function x6(i){switch(i.tag){case 0:case 11:case 15:ac(i),i.flags&2048&&us(9,i,i.return);break;case 3:ac(i);break;case 12:ac(i);break;case 22:var l=i.stateNode;i.memoizedState!==null&&l._visibility&2&&(i.return===null||i.return.tag!==13)?(l._visibility&=-3,Cd(i)):ac(i);break;default:ac(i)}}function Cd(i){var l=i.deletions;if((i.flags&16)!==0){if(l!==null)for(var d=0;d<l.length;d++){var h=l[d];In=h,E6(h,i)}v6(i)}for(i=i.child;i!==null;){switch(l=i,l.tag){case 0:case 11:case 15:us(8,l,l.return),Cd(l);break;case 22:d=l.stateNode,d._visibility&2&&(d._visibility&=-3,Cd(l));break;default:Cd(l)}i=i.sibling}}function E6(i,l){for(;In!==null;){var d=In;switch(d.tag){case 0:case 11:case 15:us(8,d,l);break;case 23:case 22:if(d.memoizedState!==null&&d.memoizedState.cachePool!==null){var h=d.memoizedState.cachePool.pool;h!=null&&h.refCount++}break;case 24:Fu(d.memoizedState.cache)}if(h=d.child,h!==null)h.return=d,In=h;else e:for(d=i;In!==null;){h=In;var g=h.sibling,v=h.return;if(d6(h),h===d){In=null;break e}if(g!==null){g.return=v,In=g;break e}In=v}}}var IR={getCacheForType:function(i){var l=Gn(gn),d=l.data.get(i);return d===void 0&&(d=i(),l.data.set(i,d)),d},cacheSignal:function(){return Gn(gn).controller.signal}},LR=typeof WeakMap=="function"?WeakMap:Map,St=0,Lt=null,dt=null,mt=0,kt=0,Mr=null,cs=!1,Tl=!1,
vendor: 17,062 bytes, line 49
49c1=!1,ki=0,en=0,ds=0,po=0,d1=0,Pr=0,wl=0,ic=null,Er=null,f1=!1,kd=0,_6=0,Nd=1/0,Rd=null,fs=null,Sn=0,hs=null,Sl=null,Ni=0,h1=0,m1=null,T6=null,sc=0,p1=null;function Br(){return(St&2)!==0&&mt!==0?mt&-mt:G.T!==null?E1():Mm()}function w6(){if(Pr===0)if((mt&536870912)===0||bt){var i=Yo;Yo<<=1,(Yo&3932160)===0&&(Yo=262144),Pr=i}else Pr=536870912;return i=Ir.current,i!==null&&(i.flags|=32),Pr}function _r(i,l,d){(i===Lt&&(kt===2||kt===9)||i.cancelPendingCommit!==null)&&(Al(i,0),ms(i,mt,Pr,!1)),Qt(i,d),((St&2)===0||i!==Lt)&&(i===Lt&&((St&2)===0&&(po|=d),en===4&&ms(i,mt,Pr,!1)),ja(i))}function S6(i,l,d){if((St&6)!==0)throw Error(r(327));var h=!d&&(l&127)===0&&(l&i.expiredLanes)===0||$t(i,l),g=h?BR(i,l):b1(i,l,!0),v=h;do{if(g===0){Tl&&!h&&ms(i,l,0,!1);break}else{if(d=i.current.alternate,v&&!MR(d)){g=b1(i,l,!1),v=!1;continue}if(g===2){if(v=l,i.errorRecoveryDisabledLanes&v)var C=0;else C=i.pendingLanes&-536870913,C=C!==0?C:C&536870912?536870912:0;if(C!==0){l=C;e:{var L=i;g=ic;var X=L.current.memoizedState.isDehydrated;if(X&&(Al(L,C).flags|=256),C=b1(L,C,!1),C!==2){if(c1&&!X){L.errorRecoveryDisabledLanes|=v,po|=v,g=4;break e}v=Er,Er=g,v!==null&&(Er===null?Er=v:Er.push.apply(Er,v))}g=C}if(v=!1,g!==2)continue}}if(g===1){Al(i,0),ms(i,l,0,!0);break}e:{switch(h=i,v=g,v){case 0:case 1:throw Error(r(345));case 4:if((l&4194048)!==l)break;case 6:ms(h,l,Pr,!cs);break e;case 2:Er=null;break;case 3:case 5:break;default:throw Error(r(329))}if((l&62914560)===l&&(g=kd+300-Fn(),10<g)){if(ms(h,l,Pr,!cs),Ze(h,0,!0)!==0)break e;Ni=l,h.timeoutHandle=nx(A6.bind(null,h,d,Er,Rd,f1,l,Pr,po,wl,cs,v,"Throttled",-0,0),g);break e}A6(h,d,Er,Rd,f1,l,Pr,po,wl,cs,v,null,-0,0)}}break}while(!0);ja(i)}function A6(i,l,d,h,g,v,C,L,X,de,ye,Ee,fe,me){if(i.timeoutHandle=-1,Ee=l.subtreeFlags,Ee&8192||(Ee&16785408)===16785408){Ee={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:mi},y6(l,v,Ee);var He=(v&62914560)===v?kd-Fn():(v&4194048)===v?_6-Fn():0;if(He=vO(Ee,He),He!==null){Ni=v,i.cancelPendingCommit=He(L6.bind(null,i,l,v,d,h,g,C,L,X,ye,Ee,null,fe,me)),ms(i,v,C,!de);return}}L6(i,l,v,d,h,g,C,L,X)}function MR(i){for(var l=i;;){var d=l.tag;if((d===0||d===11||d===15)&&l.flags&16384&&(d=l.updateQueue,d!==null&&(d=d.stores,d!==null)))for(var h=0;h<d.length;h++){var g=d[h],v=g.getSnapshot;g=g.value;try{if(!Or(v(),g))return!1}catch{return!1}}if(d=l.child,l.subtreeFlags&16384&&d!==null)d.return=l,l=d;else{if(l===i)break;for(;l.sibling===null;){if(l.return===null||l.return===i)return!0;l=l.return}l.sibling.return=l.return,l=l.sibling}}return!0}function ms(i,l,d,h){l&=~d1,l&=~po,i.suspendedLanes|=l,i.pingedLanes&=~l,h&&(i.warmLanes|=l),h=i.expirationTimes;for(var g=l;0<g;){var v=31-At(g),C=1<<v;h[v]=-1,g&=~C}d!==0&&Ks(i,d,l)}function Od(){return(St&6)===0?(oc(0),!1):!0}function g1(){if(dt!==null){if(kt===0)var i=dt.return;else i=dt,yi=io=null,Dp(i),gl=null,qu=0,i=dt;for(;i!==null;)r6(i.alternate,i),i=i.return;dt=null}}function Al(i,l){var d=i.timeoutHandle;d!==-1&&(i.timeoutHandle=-1,tO(d)),d=i.cancelPendingCommit,d!==null&&(i.cancelPendingCommit=null,d()),Ni=0,g1(),Lt=i,dt=d=gi(i.current,null),mt=l,kt=0,Mr=null,cs=!1,Tl=$t(i,l),c1=!1,wl=Pr=d1=po=ds=en=0,Er=ic=null,f1=!1,(l&8)!==0&&(l|=l&32);var h=i.entangledLanes;if(h!==0)for(i=i.entanglements,h&=l;0<h;){var g=31-At(h),v=1<<g;l|=i[g],h&=~v}return ki=l,Z0(),d}function C6(i,l){tt=null,G.H=Ku,l===pl||l===sd?(l=q3(),kt=3):l===xp?(l=q3(),kt=4):kt=l===Qp?8:l!==null&&typeof l=="object"&&typeof l.then=="function"?6:1,Mr=l,dt===null&&(en=1,xd(i,Jr(l,i.current)))}function k6(){var i=Ir.current;return i===null?!0:(mt&4194048)===mt?ra===null:(mt&62914560)===mt||(mt&536870912)!==0?i===ra:!1}function N6(){var i=G.H;return G.H=Ku,i===null?Ku:i}function R6(){var i=G.A;return G.A=IR,i}function Dd(){en=4,cs||(mt&4194048)!==mt&&Ir.current!==null||(Tl=!0),(ds&134217727)===0&&(po&134217727)===0||Lt===null||ms(Lt,mt,Pr,!1)}function b1(i,l,d){var h=St;St|=2;var g=N6(),v=R6();(Lt!==i||mt!==l)&&(Rd=null,Al(i,l)),l=!1;var C=en;e:do try{if(kt!==0&&dt!==null){var L=dt,X=Mr;switch(kt){case 8:g1(),C=6;break e;case 3:case 2:case 9:case 6:Ir.current===null&&(l=!0);var de=kt;if(kt=0,Mr=null,Cl(i,L,X,de),d&&Tl){C=0;break e}break;default:de=kt,kt=0,Mr=null,Cl(i,L,X,de)}}PR(),C=en;break}catch(ye){C6(i,ye)}while(!0);return l&&i.shellSuspendCounter++,yi=io=null,St=h,G.H=g,G.A=v,dt===null&&(Lt=null,mt=0,Z0()),C}function PR(){for(;dt!==null;)O6(dt)}function BR(i,l){var d=St;St|=2;var h=N6(),g=R6();Lt!==i||mt!==l?(Rd=null,Nd=Fn()+500,Al(i,l)):Tl=$t(i,l);e:do try{if(kt!==0&&dt!==null){l=dt;var v=Mr;t:switch(kt){case 1:kt=0,Mr=null,Cl(i,l,v,1);break;case 2:case 9:if(F3(v)){kt=0,Mr=null,D6(l);break}l=function(){kt!==2&&kt!==9||Lt!==i||(kt=7),ja(i)},v.then(l,l);break e;case 3:kt=7;break e;case 4:kt=5;break e;case 7:F3(v)?(kt=0,Mr=null,D6(l)):(kt=0,Mr=null,Cl(i,l,v,7));break;case 5:var C=null;switch(dt.tag){case 26:C=dt.memoizedState;case 5:case 27:var L=dt;if(C?bx(C):L.stateNode.complete){kt=0,Mr=null;var X=L.sibling;if(X!==null)dt=X;else{var de=L.return;de!==null?(dt=de,Id(de)):dt=null}break t}}kt=0,Mr=null,Cl(i,l,v,5);break;case 6:kt=0,Mr=null,Cl(i,l,v,6);break;case 8:g1(),en=6;break e;default:throw Error(r(462))}}zR();break}catch(ye){C6(i,ye)}while(!0);return yi=io=null,G.H=h,G.A=g,St=d,dt!==null?0:(Lt=null,mt=0,Z0(),en)}function zR(){for(;dt!==null&&!jn();)O6(dt)}function O6(i){var l=t6(i.alternate,i,ki);i.memoizedProps=i.pendingProps,l===null?Id(i):dt=l}function D6(i){var l=i,d=l.alternate;switch(l.tag){case 15:case 0:l=Wv(d,l,l.pendingProps,l.type,void 0,mt);break;case 11:l=Wv(d,l,l.pendingProps,l.type.render,l.ref,mt);break;case 5:Dp(l);default:r6(d,l),l=dt=R3(l,ki),l=t6(d,l,ki)}i.memoizedProps=i.pendingProps,l===null?Id(i):dt=l}function Cl(i,l,d,h){yi=io=null,Dp(l),gl=null,qu=0;var g=l.return;try{if(AR(i,g,l,d,mt)){en=1,xd(i,Jr(d,i.current)),dt=null;return}}catch(v){if(g!==null)throw dt=g,v;en=1,xd(i,Jr(d,i.current)),dt=null;return}l.flags&32768?(bt||h===1?i=!0:Tl||(mt&536870912)!==0?i=!1:(cs=i=!0,(h===2||h===9||h===3||h===6)&&(h=Ir.current,h!==null&&h.tag===13&&(h.flags|=16384))),I6(l,i)):Id(l)}function Id(i){var l=i;do{if((l.flags&32768)!==0){I6(l,cs);return}i=l.return;var d=NR(l.alternate,l,ki);if(d!==null){dt=d;return}if(l=l.sibling,l!==null){dt=l;return}dt=l=i}while(l!==null);en===0&&(en=5)}function I6(i,l){do{var d=RR(i.alternate,i);if(d!==null){d.flags&=32767,dt=d;return}if(d=i.return,d!==null&&(d.flags|=32768,d.subtreeFlags=0,d.deletions=null),!l&&(i=i.sibling,i!==null)){dt=i;return}dt=i=d}while(i!==null);en=6,dt=null}function L6(i,l,d,h,g,v,C,L,X){i.cancelPendingCommit=null;do Ld();while(Sn!==0);if((St&6)!==0)throw Error(r(327));if(l!==null){if(l===i.current)throw Error(r(177));if(v=l.lanes|l.childLanes,v|=ip,hr(i,d,v,C,L,X),i===Lt&&(dt=Lt=null,mt=0),Sl=l,hs=i,Ni=d,h1=v,m1=g,T6=h,(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?(i.callbackNode=null,i.callbackPriority=0,UR(Qe,function(){return H6(),null})):(i.callbackNode=null,i.callbackPriority=0),h=(l.flags&13878)!==0,(l.subtreeFlags&13878)!==0||h){h=G.T,G.T=null,g=ae.p,ae.p=2,C=St,St|=4;try{OR(i,l,d)}finally{St=C,ae.p=g,G.T=h}}Sn=1,M6(),P6(),B6()}}function M6(){if(Sn===1){Sn=0;var i=hs,l=Sl,d=(l.flags&13878)!==0;if((l.subtreeFlags&13878)!==0||d){d=G.T,G.T=null;var h=ae.p;ae.p=2;var g=St;St|=4;try{p6(l,i);var v=N1,C=E3(i.containerInfo),L=v.focusedElem,X=v.selectionRange;if(C!==L&&L&&L.ownerDocument&&x3(L.ownerDocument.documentElement,L)){if(X!==null&&ep(L)){var de=X.start,ye=X.end;if(ye===void 0&&(ye=de),"selectionStart"in L)L.selectionStart=de,L.selectionEnd=Math.min(ye,L.value.length);else{var Ee=L.ownerDocument||document,fe=Ee&&Ee.defaultView||window;if(fe.getSelection){var me=fe.getSelection(),He=L.textContent.length,We=Math.min(X.start,He),Dt=X.end===void 0?We:Math.min(X.end,He);!me.extend&&We>Dt&&(C=Dt,Dt=We,We=C);var ne=v3(L,We),Z=v3(L,Dt);if(ne&&Z&&(me.rangeCount!==1||me.anchorNode!==ne.node||me.anchorOffset!==ne.offset||me.focusNode!==Z.node||me.focusOffset!==Z.offset)){var oe=Ee.createRange();oe.setStart(ne.node,ne.offset),me.removeAllRanges(),We>Dt?(me.addRange(oe),me.extend(Z.node,Z.offset)):(oe.setEnd(Z.node,Z.offset),me.addRange(oe))}}}}for(Ee=[],me=L;me=me.parentNode;)me.nodeType===1&&Ee.push({element:me,left:me.scrollLeft,top:me.scrollTop});for(typeof L.focus=="function"&&L.focus(),L=0;L<Ee.length;L++){var xe=Ee[L];xe.element.scrollLeft=xe.left,xe.element.scrollTop=xe.top}}Gd=!!k1,N1=k1=null}finally{St=g,ae.p=h,G.T=d}}i.current=l,Sn=2}}function P6(){if(Sn===2){Sn=0;var i=hs,l=Sl,d=(l.flags&8772)!==0;if((l.subtreeFlags&8772)!==0||d){d=G.T,G.T=null;var h=ae.p;ae.p=2;var g=St;St|=4;try{c6(i,l.alternate,l)}finally{St=g,ae.p=h,G.T=d}}Sn=3}}function B6(){if(Sn===4||Sn===3){Sn=0,Ia();var i=hs,l=Sl,d=Ni,h=T6;(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?Sn=5:(Sn=0,Sl=hs=null,z6(i,i.pendingLanes));var g=i.pendingLanes;if(g===0&&(fs=null),ya(d),l=l.stateNode,ln&&typeof ln.onCommitFiberRoot=="function")try{ln.onCommitFiberRoot(Un,l,void 0,(l.current.flags&128)===128)}catch{}if(h!==null){l=G.T,g=ae.p,ae.p=2,G.T=null;try{for(var v=i.onRecoverableError,C=0;C<h.length;C++){var L=h[C];v(L.value,{componentStack:L.stack})}}finally{G.T=l,ae.p=g}}(Ni&3)!==0&&Ld(),ja(i),g=i.pendingLanes,(d&261930)!==0&&(g&42)!==0?i===p1?sc++:(sc=0,p1=i):sc=0,oc(0)}}function z6(i,l){(i.pooledCacheLanes&=l)===0&&(l=i.pooledCache,l!=null&&(i.pooledCache=null,Fu(l)))}function Ld(){return M6(),P6(),B6(),H6()}function H6(){if(Sn!==5)return!1;var i=hs,l=h1;h1=0;var d=ya(Ni),h=G.T,g=ae.p;try{ae.p=32>d?32:d,G.T=null,d=m1,m1=null;var v=hs,C=Ni;if(Sn=0,Sl=hs=null,Ni=0,(St&6)!==0)throw Error(r(331));var L=St;if(St|=4,x6(v.current),b6(v,v.current,C,d),St=L,oc(0,!1),ln&&typeof ln.onPostCommitFiberRoot=="function")try{ln.onPostCommitFiberRoot(Un,v)}catch{}return!0}finally{ae.p=g,G.T=h,z6(i,l)}}function j6(i,l,d){l=Jr(d,l),l=Yp(i.stateNode,l,2),i=ss(i,l,2),i!==null&&(Qt(i,2),ja(i))}function Nt(i,l,d){if(i.tag===3)j6(i,i,d);else for(;l!==null;){if(l.tag===3){j6(l,i,d);break}else if(l.tag===1){var h=l.stateNode;if(typeof l.type.getDerivedStateFromError=="function"||typeof h.componentDidCatch=="function"&&(fs===null||!fs.has(h))){i=Jr(d,i),d=Fv(2),h=ss(l,d,2),h!==null&&(Uv(d,h,l,i),Qt(h,2),ja(h));break}}l=l.return}}function y1(i,l,d){var h=i.pingCache;if(h===null){h=i.pingCache=new LR;var g=new Set;h.set(l,g)}else g=h.get(l),g===void 0&&(g=new Set,h.set(l,g));g.has(d)||(c1=!0,g.add(d),i=HR.bind(null,i,l,d),l.then(i,i))}function HR(i,l,d){var h=i.pingCache;h!==null&&h.delete(l),i.pingedLanes|=i.suspendedLanes&d,i.warmLanes&=~d,Lt===i&&(mt&d)===d&&(en===4||en===3&&(mt&62914560)===mt&&300>Fn()-kd?(St&2)===0&&Al(i,0):d1|=d,wl===mt&&(wl=0)),ja(i)}function F6(i,l){l===0&&(l=Kn()),i=no(i,l),i!==null&&(Qt(i,l),ja(i))}function jR(i){var l=i.memoizedState,d=0;l!==null&&(d=l.retryLane),F6(i,d)}function FR(i,l){var d=0;switch(i.tag){case 31:case 13:var h=i.stateNode,g=i.memoizedState;g!==null&&(d=g.retryLane);break;case 19:h=i.stateNode;break;case 22:h=i.stateNode._retryCache;break;default:throw Error(r(314))}h!==null&&h.delete(l),F6(i,d)}function UR(i,l){return Xi(i,l)}var Md=null,kl=null,v1=!1,Pd=!1,x1=!1,ps=0;function ja(i){i!==kl&&i.next===null&&(kl===null?Md=kl=i:kl=kl.next=i),Pd=!0,v1||(v1=!0,$R())}function oc(i,l){if(!x1&&Pd){x1=!0;do for(var d=!1,h=Md;h!==null;){if(i!==0){var g=h.pendingLanes;if(g===0)var v=0;else{var C=h.suspendedLanes,L=h.pingedLanes;v=(1<<31-At(42|i)+1)-1,v&=g&~(C&~L),v=v&201326741?v&201326741|1:v?v|2:0}v!==0&&(d=!0,V6(h,v))}else v=mt,v=Ze(h,h===Lt?v:0,h.cancelPendingCommit!==null||h.timeoutHandle!==-1),(v&3)===0||$t(h,v)||(d=!0,V6(h,v));h=h.next}while(d);x1=!1}}function qR(){U6()}function U6(){Pd=v1=!1;var i=0;ps!==0&&eO()&&(i=ps);for(var l=Fn(),d=null,h=Md;h!==null;){var g=h.next,v=q6(h,l);v===0?(h.next=null,d===null?Md=g:d.next=g,g===null&&(kl=d)):(d=h,(i!==0||(v&3)!==0)&&(Pd=!0)),h=g}Sn!==0&&Sn!==5||oc(i),ps!==0&&(ps=0)}function q6(i,l){for(var d=i.suspendedLanes,h=i.pingedLanes,g=i.expirationTimes,v=i.pendingLanes&-62914561;0<v;){var C=31-At(v),L=1<<C,X=g[C];X===-1?((L&d)===0||(L&h)!==0)&&(g[C]=On(L,l)):X<=l&&(i.expiredLanes|=L),v&=~L}if(l=Lt,d=mt,d=Ze(i,i===l?d:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),h=i.callbackNode,d===0||i===l&&(kt===2||kt===9)||i.cancelPendingCommit!==null)return h!==null&&h!==null&&Ws(h),i.callbackNode=null,i.callbackPriority=0;if((d&3)===0||$t(i,d)){if(l=d&-d,l===i.callbackPriority)return l;switch(h!==null&&Ws(h),ya(d)){case 2:case 8:d=Ie;break;case 32:d=Qe;break;case 268435456:d=ct;break;default:d=Qe}return h=$6.bind(null,i),d=Xi(d,h),i.callbackPriority=l,i.callbackNode=d,l}return h!==null&&h!==null&&Ws(h),i.callbackPriority=2,i.callbackNode=null,2}function $6(i,l){if(Sn!==0&&Sn!==5)return i.callbackNode=null,i.callbackPriority=0,null;var d=i.callbackNode;if(Ld()&&i.callbackNode!==d)return null;var h=mt;return h=Ze(i,i===Lt?h:0,i.cancelPendingCommit!==null||i.timeoutHandle!==-1),h===0?null:(S6(i,h,l),q6(i,Fn()),i.callbackNode!=null&&i.callbackNode===d?$6.bind(null,i):null)}function V6(i,l){if(Ld())return null;S6(i,l,!0)}function $R(){nO(function(){(St&6)!==0?Xi(ve,qR):U6()})}function E1(){if(ps===0){var i=hl;i===0&&(i=Go,Go<<=1,(Go&261888)===0&&(Go=256)),ps=i}return ps}function G6(i){return i==null||typeof i=="symbol"||typeof i=="boolean"?null:typeof i=="function"?i:$0(""+i)}function Y6(i,l){var d=l.ownerDocument.createElement("input");return d.name=l.name,d.value=l.value,i.id&&d.setAttribute("form",i.id),l.parentNode.insertBefore(d,l),i=new FormData(i),d.parentNode.removeChild(d),i}function VR(i,l,d,h,g){if(l==="submit"&&d&&d.stateNode===g){var v=G6((g[gr]||null).action),C=h.submitter;C&&(l=(l=C[gr]||null)?G6(l.formAction):C.getAttribute("formAction"),l!==null&&(v=l,C=null));var L=new Q0("action","action",null,h,g);i.push({event:L,listeners:[{instance:null,listener:function(){if(h.defaultPrevented){if(ps!==0){var X=C?Y6(g,C):new FormData(g);Fp(d,{pending:!0,data:X,method:g.method,action:v},null,X)}}else typeof v=="function"&&(L.preventDefault(),X=C?Y6(g,C):new FormData(g),Fp(d,{pending:!0,data:X,method:g.method,action:v},v,X))},currentTarget:g}]})}}for(var _1=0;_1<ap.length;_1++){var T1=ap[_1],GR=T1.toLowerCase(),YR=T1[0].toUpperCase()+T1.slice(1);va(GR,"on"+YR)}va(w3,"onAnimationEnd"),va(S3,"onAnimationIteration"),va(A3,"onAnimationStart"),va("dblclick","onDoubleClick"),va("focusin","onFocus"),va("focusout","onBlur"),va(uR,"onTransitionRun"),va(cR,"onTransitionStart"),va(dR,"onTransitionCancel"),va(C3,"onTransitionEnd"),Jo("onMouseEnter",["mouseout","mouseover"]),Jo("onMouseLeave",["mouseout","mouseover"]),Jo("onPointerEnter",["pointerout","pointerover"]),Jo("onPointerLeave",["pointerout","pointerover"]),Zs("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Zs("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Zs("onBeforeInput",["compositionend","keypress","textInput","paste"]),Zs("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Zs("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Zs("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var lc="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(" "),QR=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(lc));function Q6(i,l){l=(l&4)!==0;for(var d=0;d<i.length;d++){var h=i[d],g=h.event;h=h.listeners;e:{var v=void 0;if(l)for(var C=h.length-1;0<=C;C--){var L=h[C],X=L.instance,de=L.currentTarget;if(L=L.listener,X!==v&&g.isPropagationStopped())break e;v=L,g.currentTarget=de;try{v(g)}catch(ye){K0(ye)}g.currentTarget=null,v=X}else for(C=0;C<h.length;C++){if(L=h[C],X=L.instance,de=L.currentTarget,L=L.listener,X!==v&&g.isPropagationStopped())break e;v=L,g.currentTarget=de;try{v(g)}catch(ye){K0(ye)}g.currentTarget=null,v=X}}}}function ft(i,l){var d=l[Pm];d===void 0&&(d=l[Pm]=new Set);var h=i+"__bubble";d.has(h)||(W6(l,i,2,!1),d.add(h))}function w1(i,l,d){var h=0;l&&(h|=4),W6(d,i,h,l)}var Bd="_reactListening"+Math.random().toString(36).slice(2);function S1(i){if(!i[Bd]){i[Bd]=!0,Uy.forEach(function(d){d!=="selectionchange"&&(QR.has(d)||w1(d,!1,i),w1(d,!0,i))});var l=i.nodeType===9?i:i.ownerDocument;l===null||l[Bd]||(l[Bd]=!0,w1("selectionchange",!1,l))}}function W6(i,l,d,h){switch(wx(l)){case 2:var g=_O;break;case 8:g=TO;break;default:g=j1}d=g.bind(null,l,d,i),g=void 0,!Vm||l!=="touchstart"&&l!=="touchmove"&&l!=="wheel"||(g=!0),h?g!==void 0?i.addEventListener(l,d,{capture:!0,passive:g}):i.addEventListener(l,d,!0):g!==void 0?i.addEventListener(l,d,{passive:g}):i.addEventListener(l,d,!1)}function A1(i,l,d,h,g){var v=h;if((l&1)===0&&(l&2)===0&&h!==null)e:for(;;){if(h===null)return;var C=h.tag;if(C===3||C===4){var L=h.stateNode.containerInfo;if(L===g)break;
vendor: 1,419 bytes, line 49
49if(C===4)for(C=h.return;C!==null;){var X=C.tag;if((X===3||X===4)&&C.stateNode.containerInfo===g)return;C=C.return}for(;L!==null;){if(C=Xo(L),C===null)return;if(X=C.tag,X===5||X===6||X===26||X===27){h=v=C;continue e}L=L.parentNode}}h=h.return}e3(function(){var de=v,ye=qm(d),Ee=[];e:{var fe=k3.get(i);if(fe!==void 0){var me=Q0,He=i;switch(i){case"keypress":if(G0(d)===0)break e;case"keydown":case"keyup":me=FN;break;case"focusin":He="focus",me=Wm;break;case"focusout":He="blur",me=Wm;break;case"beforeblur":case"afterblur":me=Wm;break;case"click":if(d.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":me=r3;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":me=NN;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":me=$N;break;case w3:case S3:case A3:me=DN;break;case C3:me=GN;break;case"scroll":case"scrollend":me=CN;break;case"wheel":me=QN;break;case"copy":case"cut":case"paste":me=LN;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":me=i3;break;case"toggle":case"beforetoggle":me=XN}var We=(l&4)!==0,Dt=!We&&(i==="scroll"||i==="scrollend"),ne=We?fe!==null?fe+"Capture":null:fe;We=[];for(var Z=de,oe;Z!==null;){var xe=Z;
vendor: 6,580 bytes, lines 49-50
49if(oe=xe.stateNode,xe=xe.tag,xe!==5&&xe!==26&&xe!==27||oe===null||ne===null||(xe=Ru(Z,ne),xe!=null&&We.push(uc(Z,xe,oe))),Dt)break;Z=Z.return}0<We.length&&(fe=new me(fe,He,null,d,ye),Ee.push({event:fe,listeners:We}))}}if((l&7)===0){e:{if(fe=i==="mouseover"||i==="pointerover",me=i==="mouseout"||i==="pointerout",fe&&d!==Um&&(He=d.relatedTarget||d.fromElement)&&(Xo(He)||He[Wo]))break e;if((me||fe)&&(fe=ye.window===ye?ye:(fe=ye.ownerDocument)?fe.defaultView||fe.parentWindow:window,me?(He=d.relatedTarget||d.toElement,me=de,He=He?Xo(He):null,He!==null&&(Dt=s(He),We=He.tag,He!==Dt||We!==5&&We!==27&&We!==6)&&(He=null)):(me=null,He=de),me!==He)){if(We=r3,xe="onMouseLeave",ne="onMouseEnter",Z="mouse",(i==="pointerout"||i==="pointerover")&&(We=i3,xe="onPointerLeave",ne="onPointerEnter",Z="pointer"),Dt=me==null?fe:Nu(me),oe=He==null?fe:Nu(He),fe=new We(xe,Z+"leave",me,d,ye),fe.target=Dt,fe.relatedTarget=oe,xe=null,Xo(ye)===de&&(We=new We(ne,Z+"enter",He,d,ye),We.target=oe,We.relatedTarget=Dt,xe=We),Dt=xe,me&&He)t:{for(We=WR,ne=me,Z=He,oe=0,xe=ne;xe;xe=We(xe))oe++;xe=0;for(var Ve=Z;Ve;Ve=We(Ve))xe++;for(;0<oe-xe;)ne=We(ne),oe--;for(;0<xe-oe;)Z=We(Z),xe--;for(;oe--;){if(ne===Z||Z!==null&&ne===Z.alternate){We=ne;break t}ne=We(ne),Z=We(Z)}We=null}else We=null;me!==null&&X6(Ee,fe,me,We,!1),He!==null&&Dt!==null&&X6(Ee,Dt,He,We,!0)}}e:{if(fe=de?Nu(de):window,me=fe.nodeName&&fe.nodeName.toLowerCase(),me==="select"||me==="input"&&fe.type==="file")var vt=h3;else if(d3(fe))if(m3)vt=sR;else{vt=aR;var qe=rR}else me=fe.nodeName,!me||me.toLowerCase()!=="input"||fe.type!=="checkbox"&&fe.type!=="radio"?de&&Fm(de.elementType)&&(vt=h3):vt=iR;if(vt&&(vt=vt(i,de))){f3(Ee,vt,d,ye);break e}qe&&qe(i,fe,de),i==="focusout"&&de&&fe.type==="number"&&de.memoizedProps.value!=null&&jm(fe,"number",fe.value)}switch(qe=de?Nu(de):window,i){case"focusin":(d3(qe)||qe.contentEditable==="true")&&(il=qe,tp=de,zu=null);break;case"focusout":zu=tp=il=null;break;case"mousedown":np=!0;break;case"contextmenu":case"mouseup":case"dragend":np=!1,_3(Ee,d,ye);break;case"selectionchange":if(lR)break;case"keydown":case"keyup":_3(Ee,d,ye)}var at;if(Km)e:{switch(i){case"compositionstart":var pt="onCompositionStart";break e;case"compositionend":pt="onCompositionEnd";break e;case"compositionupdate":pt="onCompositionUpdate";break e}pt=void 0}else al?u3(i,d)&&(pt="onCompositionEnd"):i==="keydown"&&d.keyCode===229&&(pt="onCompositionStart");pt&&(s3&&d.locale!=="ko"&&(al||pt!=="onCompositionStart"?pt==="onCompositionEnd"&&al&&(at=t3()):(Ji=ye,Gm="value"in Ji?Ji.value:Ji.textContent,al=!0)),qe=zd(de,pt),0<qe.length&&(pt=new a3(pt,i,null,d,ye),Ee.push({event:pt,listeners:qe}),at?pt.data=at:(at=c3(d),at!==null&&(pt.data=at)))),(at=ZN?JN(i,d):eR(i,d))&&(pt=zd(de,"onBeforeInput"),0<pt.length&&(qe=new a3("onBeforeInput","beforeinput",null,d,ye),Ee.push({event:qe,listeners:pt}),qe.data=at)),VR(Ee,i,de,d,ye)}Q6(Ee,l)})}function uc(i,l,d){return{instance:i,listener:l,currentTarget:d}}function zd(i,l){for(var d=l+"Capture",h=[];i!==null;){var g=i,v=g.stateNode;if(g=g.tag,g!==5&&g!==26&&g!==27||v===null||(g=Ru(i,d),g!=null&&h.unshift(uc(i,g,v)),g=Ru(i,l),g!=null&&h.push(uc(i,g,v))),i.tag===3)return h;i=i.return}return[]}function WR(i){if(i===null)return null;do i=i.return;while(i&&i.tag!==5&&i.tag!==27);return i||null}function X6(i,l,d,h,g){for(var v=l._reactName,C=[];d!==null&&d!==h;){var L=d,X=L.alternate,de=L.stateNode;if(L=L.tag,X!==null&&X===h)break;L!==5&&L!==26&&L!==27||de===null||(X=de,g?(de=Ru(d,v),de!=null&&C.unshift(uc(d,de,X))):g||(de=Ru(d,v),de!=null&&C.push(uc(d,de,X)))),d=d.return}C.length!==0&&i.push({event:l,listeners:C})}var XR=/\r\n?/g,KR=/\u0000|\uFFFD/g;function K6(i){return(typeof i=="string"?i:""+i).replace(XR,`
50`).replace(KR,"")}function Z6(i,l){return l=K6(l),K6(i)===l}function Ot(i,l,d,h,g,v){switch(d){case"children":typeof h=="string"?l==="body"||l==="textarea"&&h===""||tl(i,h):(typeof h=="number"||typeof h=="bigint")&&l!=="body"&&tl(i,""+h);break;case"className":U0(i,"class",h);break;case"tabIndex":U0(i,"tabindex",h);break;case"dir":case"role":case"viewBox":case"width":case"height":U0(i,d,h);break;case"style":Zy(i,h,v);break;case"data":if(l!=="object"){U0(i,"data",h);break}case"src":case"href":if(h===""&&(l!=="a"||d!=="href")){i.removeAttribute(d);break}if(h==null||typeof h=="function"||typeof h=="symbol"||typeof h=="boolean"){i.removeAttribute(d);break}h=$0(""+h),i.setAttribute(d,h);break;case"action":case"formAction":if(typeof h=="function"){i.setAttribute(d,"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 v=="function"&&(d==="formAction"?(l!=="input"&&Ot(i,l,"name",g.name,g,null),Ot(i,l,"formEncType",g.formEncType,g,null),Ot(i,l,"formMethod",g.formMethod,g,null),Ot(i,l,"formTarget",g.formTarget,g,null)):(Ot(i,l,"encType",g.encType,g,null),Ot(i,l,"method",g.method,g,null),Ot(i,l,"target",g.target,g,null)));if(h==null||typeof h=="symbol"||typeof h=="boolean"){i.removeAttribute(d);break}h=$0(""+h),i.setAttribute(d,h);break;case"onClick":h!=null&&(i.onclick=mi);break;case"onScroll":h!=null&&ft("scroll",i);break;case"onScrollEnd":h!=null&&ft("scrollend",i);break;case"dangerouslySetInnerHTML":if(h!=null){if(typeof h!="object"||!("__html"in h))throw Error(r(61));if(d=h.__html,d!=null){if(g.children!=null)throw Error(r(60));i.innerHTML=d}}break;case"multiple":i.multiple=h&&typeof h!="function"&&typeof h!="symbol";break;case"muted":i.muted=h&&typeof h!="function"&&typeof h!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(h==null||typeof h=="function"||typeof h=="boolean"||typeof h=="symbol"){i.removeAttribute("xlink:href");break}d=$0(""+h),i.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",d);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":h!=null&&typeof h!="function"&&typeof h!="symbol"?i.setAttribute(d,""+h):i.removeAttribute(d);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"playsInl
50ine":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":h&&typeof h!="function"&&typeof h!="symbol"?i.setAttribute(d,""):i.removeAttribute(d);break;case"capture":case"download":h===!0?i.setAttribute(d,""):h!==!1&&h!=null&&typeof h!="function"&&typeof h!="symbol"?i.setAttribute(d,h):i.removeAttribute(d);break;case"cols":case"rows":case"size":case"span":h!=null&&typeof h!="function"&&typeof h!="symbol"&&!isNaN(h)&&1<=h?i.setAttribute(d,h):i.removeAttribute(d);break;case"rowSpan":case"start":h==null||typeof h=="function"||typeof h=="symbol"||isNaN(h)?i.removeAttribute(d):i.setAttribute(d,h);break;case"popover":ft("beforetoggle",i),ft("toggle",i),F0(i,"popover",h);break;case"xlinkActuate":hi(i,"http://www.w3.org/1999/xlink","xlink:actuate",h);break;case"xlinkArcrole":hi(i,"http://www.w3.org/1999/xlink","xlink:arcrole",h);break;case"xlinkRole":hi(i,"http://www.w3.org/1999/xlink","xlink:role",h);break;case"xlinkShow":hi(i,"http://www.w3.org/1999/xlink","xlink:show",h);break;case"xlinkTitle":hi(i,"http://www.w3.org/1999/xlink","xlink:title",h);break;case"xlinkType":hi(i,"http://www.w3.org/1999/xlink","xlink:type",h);break;case"xmlBase":hi(i,"http://www.w3.org/XML/1998/namespace","xml:base",h);break;case"xmlLang":hi(i,"http://www.w3.org/XML/1998/namespace","xml:lang",h);break;case"xmlSpace":hi(i,"http://www.w3.org/XML/1998/namespace","xml:space",h);break;case"is":F0(i,"is",h);break;case"innerText":case"textContent":break;default:(!(2<d.length)||d[0]!=="o"&&d[0]!=="O"||d[1]!=="n"&&d[1]!=="N")&&(d=SN.get(d)||d,F0(i,d,h))}}function C1(i,l,d,h,g,v){switch(d){case"style":Zy(i,h,v);break;case"dangerouslySetInnerHTML":if(h!=null){if(typeof h!="object"||!("__html"in h))throw Error(r(61));if(d=h.__html,d!=null){if(g.children!=null)throw Error(r(60));i.innerHTML=d}}break;case"children":typeof h=="string"?tl(i,h):(typeof h=="number"||typeof h=="bigint")&&tl(i,""+h);break;case"onScroll":h!=null&&ft("scroll",i);break;case"onScrollEnd":h!=null&&ft("scrollend",i);break;case"onClick":h!=null&&(i.onclick=mi);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!qy.hasOwnProperty(d))e:{if(d[0]==="o"&&d[1]==="n"&&(g=d.endsWith("Capture"),l=d.slice(2,g?d.length-7:void 0),v=i[gr]||null,v=v!=null?v[d]:null,typeof v=="function"&&i.removeEventListener(l,v,g),typeof h=="function")){typeof v!="function"&&v!==null&&(d in i?i[d]=null:i.hasAttribute(d)&&i.removeAttribute(d)),i.addEventListener(l,h,g);break e}d in i?i[d]=h:h===!0?i.setAttribute(d,""):F0(i,d,h)}}}function Qn(i,l,d){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ft("error",i),ft("load",i);var h=!1,g=!1,v;for(v in d)if(d.hasOwnProperty(v)){var C=d[v];if(C!=null)switch(v){case"src":h=!0;break;case"srcSet":g=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,l));default:Ot(i,l,v,C,d,null)}}g&&Ot(i,l,"srcSet",d.srcSet,d,null),h&&Ot(i,l,"src",d.src,d,null);return;case"input":ft("invalid",i);var L=v=C=g=null,X=null,de=null;for(h in d)if(d.hasOwnProperty(h)){var ye=d[h];if(ye!=null)switch(h){case"name":g=ye;break;case"type":C=ye;break;case"checked":X=ye;break;case"defaultChecked":de=ye;break;case"value":v=ye;break;case"defaultValue":L=ye;break;case"children":case"dangerouslySetInnerHTML":if(ye!=null)throw Error(r(137,l));break;default:Ot(i,l,h,ye,d,null)}}Qy(i,v,L,X,de,C,g,!1);return;case"select":ft("invalid",i),h=C=v=null;for(g in d)if(d.hasOwnProperty(g)&&(L=d[g],L!=null))switch(g){case"value":v=L;break;case"defaultValue":C=L;break;case"multiple":h=L;default:Ot(i,l,g,L,d,null)}l=v,d=C,i.multiple=!!h,l!=null?el(i,!!h,l,!1):d!=null&&el(i,!!h,d,!0);return;case"textarea":ft("invalid",i),v=g=h=null;for(C in d)if(d.hasOwnProperty(C)&&(L=d[C],L!=null))switch(C){case"value":h=L;break;case"defaultValue":g=L;break;case"children":v=L;break;case"dangerouslySetInnerHTML":if(L!=null)throw Error(r(91));break;default:Ot(i,l,C,L,d,null)}Xy(i,h,g,v);return;case"option":for(X in d)if(d.hasOwnProperty(X)&&(h=d[X],h!=null))switch(X){case"selected":i.selected=h&&typeof h!="function"&&typeof h!="symbol";break;default:Ot(i,l,X,h,d,null)}return;case"dialog":ft("beforetoggle",i),ft("toggle",i),ft("cancel",i),ft("close",i);break;case"iframe":case"object":ft("load",i);break;case"video":case"audio":for(h=0;h<lc.length;h++)ft(lc[h],i);break;case"image":ft("error",i),ft("load",i);break;case"details":ft("toggle",i);break;case"embed":case"source":case"link":ft("error",i),ft("load",i);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(de in d)if(d.hasOwnProperty(de)&&(h=d[de],h!=null))switch(de){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,l));default:Ot(i,l,de,h,d,null)}return;default:if(Fm(l)){for(ye in d)d.hasOwnProperty(ye)&&(h=d[ye],h!==void 0&&C1(i,l,ye,h,d,void 0));return}}for(L in d)d.hasOwnProperty(L)&&(h=d[L],h!=null&&Ot(i,l,L,h,d,null))}function ZR(i,l,d,h){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var g=null,v=null,C=null,L=null,X=null,de=null,ye=null;for(me in d){var Ee=d[me];if(d.hasOwnProperty(me)&&Ee!=null)switch(me){case"checked":break;case"value":break;case"defaultValue":X=Ee;
vendor: 7,714 bytes, line 50
50default:h.hasOwnProperty(me)||Ot(i,l,me,null,h,Ee)}}for(var fe in h){var me=h[fe];if(Ee=d[fe],h.hasOwnProperty(fe)&&(me!=null||Ee!=null))switch(fe){case"type":v=me;break;case"name":g=me;break;case"checked":de=me;break;case"defaultChecked":ye=me;break;case"value":C=me;break;case"defaultValue":L=me;break;case"children":case"dangerouslySetInnerHTML":if(me!=null)throw Error(r(137,l));break;default:me!==Ee&&Ot(i,l,fe,me,h,Ee)}}Hm(i,C,L,X,de,ye,v,g);return;case"select":me=C=L=fe=null;for(v in d)if(X=d[v],d.hasOwnProperty(v)&&X!=null)switch(v){case"value":break;case"multiple":me=X;default:h.hasOwnProperty(v)||Ot(i,l,v,null,h,X)}for(g in h)if(v=h[g],X=d[g],h.hasOwnProperty(g)&&(v!=null||X!=null))switch(g){case"value":fe=v;break;case"defaultValue":L=v;break;case"multiple":C=v;default:v!==X&&Ot(i,l,g,v,h,X)}l=L,d=C,h=me,fe!=null?el(i,!!d,fe,!1):!!h!=!!d&&(l!=null?el(i,!!d,l,!0):el(i,!!d,d?[]:"",!1));return;case"textarea":me=fe=null;for(L in d)if(g=d[L],d.hasOwnProperty(L)&&g!=null&&!h.hasOwnProperty(L))switch(L){case"value":break;case"children":break;default:Ot(i,l,L,null,h,g)}for(C in h)if(g=h[C],v=d[C],h.hasOwnProperty(C)&&(g!=null||v!=null))switch(C){case"value":fe=g;break;case"defaultValue":me=g;break;case"children":break;case"dangerouslySetInnerHTML":if(g!=null)throw Error(r(91));break;default:g!==v&&Ot(i,l,C,g,h,v)}Wy(i,fe,me);return;case"option":for(var He in d)if(fe=d[He],d.hasOwnProperty(He)&&fe!=null&&!h.hasOwnProperty(He))switch(He){case"selected":i.selected=!1;break;default:Ot(i,l,He,null,h,fe)}for(X in h)if(fe=h[X],me=d[X],h.hasOwnProperty(X)&&fe!==me&&(fe!=null||me!=null))switch(X){case"selected":i.selected=fe&&typeof fe!="function"&&typeof fe!="symbol";break;default:Ot(i,l,X,fe,h,me)}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 We in d)fe=d[We],d.hasOwnProperty(We)&&fe!=null&&!h.hasOwnProperty(We)&&Ot(i,l,We,null,h,fe);for(de in h)if(fe=h[de],me=d[de],h.hasOwnProperty(de)&&fe!==me&&(fe!=null||me!=null))switch(de){case"children":case"dangerouslySetInnerHTML":if(fe!=null)throw Error(r(137,l));break;default:Ot(i,l,de,fe,h,me)}return;default:if(Fm(l)){for(var Dt in d)fe=d[Dt],d.hasOwnProperty(Dt)&&fe!==void 0&&!h.hasOwnProperty(Dt)&&C1(i,l,Dt,void 0,h,fe);for(ye in h)fe=h[ye],me=d[ye],!h.hasOwnProperty(ye)||fe===me||fe===void 0&&me===void 0||C1(i,l,ye,fe,h,me);return}}for(var ne in d)fe=d[ne],d.hasOwnProperty(ne)&&fe!=null&&!h.hasOwnProperty(ne)&&Ot(i,l,ne,null,h,fe);for(Ee in h)fe=h[Ee],me=d[Ee],!h.hasOwnProperty(Ee)||fe===me||fe==null&&me==null||Ot(i,l,Ee,fe,h,me)}function J6(i){switch(i){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function JR(){if(typeof performance.getEntriesByType=="function"){for(var i=0,l=0,d=performance.getEntriesByType("resource"),h=0;h<d.length;h++){var g=d[h],v=g.transferSize,C=g.initiatorType,L=g.duration;if(v&&L&&J6(C)){for(C=0,L=g.responseEnd,h+=1;h<d.length;h++){var X=d[h],de=X.startTime;if(de>L)break;var ye=X.transferSize,Ee=X.initiatorType;ye&&J6(Ee)&&(X=X.responseEnd,C+=ye*(X<L?1:(L-de)/(X-de)))}if(--h,l+=8*(v+C)/(g.duration/1e3),i++,10<i)break}}if(0<i)return l/i/1e6}return navigator.connection&&(i=navigator.connection.downlink,typeof i=="number")?i:5}var k1=null,N1=null;function Hd(i){return i.nodeType===9?i:i.ownerDocument}function ex(i){switch(i){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function tx(i,l){if(i===0)switch(l){case"svg":return 1;case"math":return 2;default:return 0}return i===1&&l==="foreignObject"?0:i}function R1(i,l){return i==="textarea"||i==="noscript"||typeof l.children=="string"||typeof l.children=="number"||typeof l.children=="bigint"||typeof l.dangerouslySetInnerHTML=="object"&&l.dangerouslySetInnerHTML!==null&&l.dangerouslySetInnerHTML.__html!=null}var O1=null;function eO(){var i=window.event;return i&&i.type==="popstate"?i===O1?!1:(O1=i,!0):(O1=null,!1)}var nx=typeof setTimeout=="function"?setTimeout:void 0,tO=typeof clearTimeout=="function"?clearTimeout:void 0,rx=typeof Promise=="function"?Promise:void 0,nO=typeof queueMicrotask=="function"?queueMicrotask:typeof rx<"u"?function(i){return rx.resolve(null).then(i).catch(rO)}:nx;function rO(i){setTimeout(function(){throw i})}function gs(i){return i==="head"}function ax(i,l){var d=l,h=0;do{var g=d.nextSibling;if(i.removeChild(d),g&&g.nodeType===8)if(d=g.data,d==="/$"||d==="/&"){if(h===0){i.removeChild(g),Dl(l);return}h--}else if(d==="$"||d==="$?"||d==="$~"||d==="$!"||d==="&")h++;else if(d==="html")cc(i.ownerDocument.documentElement);else if(d==="head"){d=i.ownerDocument.head,cc(d);for(var v=d.firstChild;v;){var C=v.nextSibling,L=v.nodeName;v[ku]||L==="SCRIPT"||L==="STYLE"||L==="LINK"&&v.rel.toLowerCase()==="stylesheet"||d.removeChild(v),v=C}}else d==="body"&&cc(i.ownerDocument.body);d=g}while(d);Dl(l)}function ix(i,l){var d=i;i=0;do{var h=d.nextSibling;if(d.nodeType===1?l?(d._stashedDisplay=d.style.display,d.style.display="none"):(d.style.display=d._stashedDisplay||"",d.getAttribute("style")===""&&d.removeAttribute("style")):d.nodeType===3&&(l?(d._stashedText=d.nodeValue,d.nodeValue=""):d.nodeValue=d._stashedText||""),h&&h.nodeType===8)if(d=h.data,d==="/$"){if(i===0)break;i--}else d!=="$"&&d!=="$?"&&d!=="$~"&&d!=="$!"||i++;d=h}while(d)}function D1(i){var l=i.firstChild;for(l&&l.nodeType===10&&(l=l.nextSibling);l;){var d=l;switch(l=l.nextSibling,d.nodeName){case"HTML":case"HEAD":case"BODY":D1(d),Bm(d);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(d.rel.toLowerCase()==="stylesheet")continue}i.removeChild(d)}}function aO(i,l,d,h){for(;i.nodeType===1;){var g=d;if(i.nodeName.toLowerCase()!==l.toLowerCase()){if(!h&&(i.nodeName!=="INPUT"||i.type!=="hidden"))break}else if(h){if(!i[ku])switch(l){case"meta":if(!i.hasAttribute("itemprop"))break;return i;case"link":if(v=i.getAttribute("rel"),v==="stylesheet"&&i.hasAttribute("data-precedence"))break;if(v!==g.rel||i.getAttribute("href")!==(g.href==null||g.href===""?null:g.href)||i.getAttribute("crossorigin")!==(g.crossOrigin==null?null:g.crossOrigin)||i.getAttribute("title")!==(g.title==null?null:g.title))break;return i;case"style":if(i.hasAttribute("data-precedence"))break;return i;case"script":if(v=i.getAttribute("src"),(v!==(g.src==null?null:g.src)||i.getAttribute("type")!==(g.type==null?null:g.type)||i.getAttribute("crossorigin")!==(g.crossOrigin==null?null:g.crossOrigin))&&v&&i.hasAttribute("async")&&!i.hasAttribute("itemprop"))break;return i;default:return i}}else if(l==="input"&&i.type==="hidden"){var v=g.name==null?null:""+g.name;if(g.type==="hidden"&&i.getAttribute("name")===v)return i}else return i;if(i=aa(i.nextSibling),i===null)break}return null}function iO(i,l,d){if(l==="")return null;for(;i.nodeType!==3;)if((i.nodeType!==1||i.nodeName!=="INPUT"||i.type!=="hidden")&&!d||(i=aa(i.nextSibling),i===null))return null;return i}function sx(i,l){for(;i.nodeType!==8;)if((i.nodeType!==1||i.nodeName!=="INPUT"||i.type!=="hidden")&&!l||(i=aa(i.nextSibling),i===null))return null;return i}function I1(i){return i.data==="$?"||i.data==="$~"}function L1(i){return i.data==="$!"||i.data==="$?"&&i.ownerDocument.readyState!=="loading"}function sO(i,l){var d=i.ownerDocument;if(i.data==="$~")i._reactRetry=l;else if(i.data!=="$?"||d.readyState!=="loading")l();else{var h=function(){l(),d.removeEventListener("DOMContentLoaded",h)};d.addEventListener("DOMContentLoaded",h),i._reactRetry=h}}function aa(i){for(;i!=null;i=i.nextSibling){var l=i.nodeType;if(l===1||l===3)break;if(l===8){if(l=i.data,l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"||l==="F!"||l==="F")break;
vendor: 1,999 bytes, line 50
50if(l==="/$"||l==="/&")return null}}return i}var M1=null;function ox(i){i=i.nextSibling;for(var l=0;i;){if(i.nodeType===8){var d=i.data;if(d==="/$"||d==="/&"){if(l===0)return aa(i.nextSibling);l--}else d!=="$"&&d!=="$!"&&d!=="$?"&&d!=="$~"&&d!=="&"||l++}i=i.nextSibling}return null}function lx(i){i=i.previousSibling;for(var l=0;i;){if(i.nodeType===8){var d=i.data;if(d==="$"||d==="$!"||d==="$?"||d==="$~"||d==="&"){if(l===0)return i;l--}else d!=="/$"&&d!=="/&"||l++}i=i.previousSibling}return null}function ux(i,l,d){switch(l=Hd(d),i){case"html":if(i=l.documentElement,!i)throw Error(r(452));return i;case"head":if(i=l.head,!i)throw Error(r(453));return i;case"body":if(i=l.body,!i)throw Error(r(454));return i;default:throw Error(r(451))}}function cc(i){for(var l=i.attributes;l.length;)i.removeAttributeNode(l[0]);Bm(i)}var ia=new Map,cx=new Set;function jd(i){return typeof i.getRootNode=="function"?i.getRootNode():i.nodeType===9?i:i.ownerDocument}var Ri=ae.d;ae.d={f:oO,r:lO,D:uO,C:cO,L:dO,m:fO,X:mO,S:hO,M:pO};function oO(){var i=Ri.f(),l=Od();return i||l}function lO(i){var l=Ko(i);l!==null&&l.tag===5&&l.type==="form"?Cv(l):Ri.r(i)}var Nl=typeof document>"u"?null:document;function dx(i,l,d){var h=Nl;if(h&&typeof l=="string"&&l){var g=Kr(l);g='link[rel="'+i+'"][href="'+g+'"]',typeof d=="string"&&(g+='[crossorigin="'+d+'"]'),cx.has(g)||(cx.add(g),i={rel:i,crossOrigin:d,href:l},h.querySelector(g)===null&&(l=h.createElement("link"),Qn(l,"link",i),Dn(l),h.head.appendChild(l)))}}function uO(i){Ri.D(i),dx("dns-prefetch",i,null)}function cO(i,l){Ri.C(i,l),dx("preconnect",i,l)}function dO(i,l,d){Ri.L(i,l,d);var h=Nl;if(h&&i&&l){var g='link[rel="preload"][as="'+Kr(l)+'"]';l==="image"&&d&&d.imageSrcSet?(g+='[imagesrcset="'+Kr(d.imageSrcSet)+'"]',typeof d.imageSizes=="string"&&(g+='[imagesizes="'+Kr(d.imageSizes)+'"]')):g+='[href="'+Kr(i)+'"]';var v=g;switch(l){case"style":v=Rl(i);break;case"script":v=Ol(i)}ia.has(v)||(i=m({rel:"preload",href:l==="image"&&d&&d.imageSrcSet?void 0:i,as:l}
vendor: 10,152 bytes, line 50
50,d),ia.set(v,i),h.querySelector(g)!==null||l==="style"&&h.querySelector(dc(v))||l==="script"&&h.querySelector(fc(v))||(l=h.createElement("link"),Qn(l,"link",i),Dn(l),h.head.appendChild(l)))}}function fO(i,l){Ri.m(i,l);var d=Nl;if(d&&i){var h=l&&typeof l.as=="string"?l.as:"script",g='link[rel="modulepreload"][as="'+Kr(h)+'"][href="'+Kr(i)+'"]',v=g;switch(h){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":v=Ol(i)}if(!ia.has(v)&&(i=m({rel:"modulepreload",href:i},l),ia.set(v,i),d.querySelector(g)===null)){switch(h){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(d.querySelector(fc(v)))return}h=d.createElement("link"),Qn(h,"link",i),Dn(h),d.head.appendChild(h)}}}function hO(i,l,d){Ri.S(i,l,d);var h=Nl;if(h&&i){var g=Zo(h).hoistableStyles,v=Rl(i);l=l||"default";var C=g.get(v);if(!C){var L={loading:0,preload:null};if(C=h.querySelector(dc(v)))L.loading=5;else{i=m({rel:"stylesheet",href:i,"data-precedence":l},d),(d=ia.get(v))&&P1(i,d);var X=C=h.createElement("link");Dn(X),Qn(X,"link",i),X._p=new Promise(function(de,ye){X.onload=de,X.onerror=ye}),X.addEventListener("load",function(){L.loading|=1}),X.addEventListener("error",function(){L.loading|=2}),L.loading|=4,Fd(C,l,h)}C={type:"stylesheet",instance:C,count:1,state:L},g.set(v,C)}}}function mO(i,l){Ri.X(i,l);var d=Nl;if(d&&i){var h=Zo(d).hoistableScripts,g=Ol(i),v=h.get(g);v||(v=d.querySelector(fc(g)),v||(i=m({src:i,async:!0},l),(l=ia.get(g))&&B1(i,l),v=d.createElement("script"),Dn(v),Qn(v,"link",i),d.head.appendChild(v)),v={type:"script",instance:v,count:1,state:null},h.set(g,v))}}function pO(i,l){Ri.M(i,l);var d=Nl;if(d&&i){var h=Zo(d).hoistableScripts,g=Ol(i),v=h.get(g);v||(v=d.querySelector(fc(g)),v||(i=m({src:i,async:!0,type:"module"},l),(l=ia.get(g))&&B1(i,l),v=d.createElement("script"),Dn(v),Qn(v,"link",i),d.head.appendChild(v)),v={type:"script",instance:v,count:1,state:null},h.set(g,v))}}function fx(i,l,d,h){var g=(g=De.current)?jd(g):null;if(!g)throw Error(r(446));switch(i){case"meta":case"title":return null;case"style":return typeof d.precedence=="string"&&typeof d.href=="string"?(l=Rl(d.href),d=Zo(g).hoistableStyles,h=d.get(l),h||(h={type:"style",instance:null,count:0,state:null},d.set(l,h)),h):{type:"void",instance:null,count:0,state:null};case"link":if(d.rel==="stylesheet"&&typeof d.href=="string"&&typeof d.precedence=="string"){i=Rl(d.href);var v=Zo(g).hoistableStyles,C=v.get(i);if(C||(g=g.ownerDocument||g,C={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},v.set(i,C),(v=g.querySelector(dc(i)))&&!v._p&&(C.instance=v,C.state.loading=5),ia.has(i)||(d={rel:"preload",as:"style",href:d.href,crossOrigin:d.crossOrigin,integrity:d.integrity,media:d.media,hrefLang:d.hrefLang,referrerPolicy:d.referrerPolicy},ia.set(i,d),v||gO(g,i,d,C.state))),l&&h===null)throw Error(r(528,""));return C}if(l&&h!==null)throw Error(r(529,""));return null;case"script":return l=d.async,d=d.src,typeof d=="string"&&l&&typeof l!="function"&&typeof l!="symbol"?(l=Ol(d),d=Zo(g).hoistableScripts,h=d.get(l),h||(h={type:"script",instance:null,count:0,state:null},d.set(l,h)),h):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,i))}}function Rl(i){return'href="'+Kr(i)+'"'}function dc(i){return'link[rel="stylesheet"]['+i+"]"}function hx(i){return m({},i,{"data-precedence":i.precedence,precedence:null})}function gO(i,l,d,h){i.querySelector('link[rel="preload"][as="style"]['+l+"]")?h.loading=1:(l=i.createElement("link"),h.preload=l,l.addEventListener("load",function(){return h.loading|=1}),l.addEventListener("error",function(){return h.loading|=2}),Qn(l,"link",d),Dn(l),i.head.appendChild(l))}function Ol(i){return'[src="'+Kr(i)+'"]'}function fc(i){return"script[async]"+i}function mx(i,l,d){if(l.count++,l.instance===null)switch(l.type){case"style":var h=i.querySelector('style[data-href~="'+Kr(d.href)+'"]');if(h)return l.instance=h,Dn(h),h;var g=m({},d,{"data-href":d.href,"data-precedence":d.precedence,href:null,precedence:null});return h=(i.ownerDocument||i).createElement("style"),Dn(h),Qn(h,"style",g),Fd(h,d.precedence,i),l.instance=h;case"stylesheet":g=Rl(d.href);var v=i.querySelector(dc(g));if(v)return l.state.loading|=4,l.instance=v,Dn(v),v;h=hx(d),(g=ia.get(g))&&P1(h,g),v=(i.ownerDocument||i).createElement("link"),Dn(v);var C=v;return C._p=new Promise(function(L,X){C.onload=L,C.onerror=X}),Qn(v,"link",h),l.state.loading|=4,Fd(v,d.precedence,i),l.instance=v;case"script":return v=Ol(d.src),(g=i.querySelector(fc(v)))?(l.instance=g,Dn(g),g):(h=d,(g=ia.get(v))&&(h=m({},d),B1(h,g)),i=i.ownerDocument||i,g=i.createElement("script"),Dn(g),Qn(g,"link",h),i.head.appendChild(g),l.instance=g);case"void":return null;default:throw Error(r(443,l.type))}else l.type==="stylesheet"&&(l.state.loading&4)===0&&(h=l.instance,l.state.loading|=4,Fd(h,d.precedence,i));return l.instance}function Fd(i,l,d){for(var h=d.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),g=h.length?h[h.length-1]:null,v=g,C=0;C<h.length;C++){var L=h[C];if(L.dataset.precedence===l)v=L;else if(v!==g)break}v?v.parentNode.insertBefore(i,v.nextSibling):(l=d.nodeType===9?d.head:d,l.insertBefore(i,l.firstChild))}function P1(i,l){i.crossOrigin==null&&(i.crossOrigin=l.crossOrigin),i.referrerPolicy==null&&(i.referrerPolicy=l.referrerPolicy),i.title==null&&(i.title=l.title)}function B1(i,l){i.crossOrigin==null&&(i.crossOrigin=l.crossOrigin),i.referrerPolicy==null&&(i.referrerPolicy=l.referrerPolicy),i.integrity==null&&(i.integrity=l.integrity)}var Ud=null;function px(i,l,d){if(Ud===null){var h=new Map,g=Ud=new Map;g.set(d,h)}else g=Ud,h=g.get(d),h||(h=new Map,g.set(d,h));if(h.has(i))return h;for(h.set(i,null),d=d.getElementsByTagName(i),g=0;g<d.length;g++){var v=d[g];if(!(v[ku]||v[$n]||i==="link"&&v.getAttribute("rel")==="stylesheet")&&v.namespaceURI!=="http://www.w3.org/2000/svg"){var C=v.getAttribute(l)||"";C=i+C;var L=h.get(C);L?L.push(v):h.set(C,[v])}}return h}function gx(i,l,d){i=i.ownerDocument||i,i.head.insertBefore(d,l==="title"?i.querySelector("head > title"):null)}function bO(i,l,d){if(d===1||l.itemProp!=null)return!1;switch(i){case"meta":case"title":return!0;case"style":if(typeof l.precedence!="string"||typeof l.href!="string"||l.href==="")break;return!0;case"link":if(typeof l.rel!="string"||typeof l.href!="string"||l.href===""||l.onLoad||l.onError)break;switch(l.rel){case"stylesheet":return i=l.disabled,typeof l.precedence=="string"&&i==null;default:return!0}case"script":if(l.async&&typeof l.async!="function"&&typeof l.async!="symbol"&&!l.onLoad&&!l.onError&&l.src&&typeof l.src=="string")return!0}return!1}function bx(i){return!(i.type==="stylesheet"&&(i.state.loading&3)===0)}function yO(i,l,d,h){if(d.type==="stylesheet"&&(typeof h.media!="string"||matchMedia(h.media).matches!==!1)&&(d.state.loading&4)===0){if(d.instance===null){var g=Rl(h.href),v=l.querySelector(dc(g));if(v){l=v._p,l!==null&&typeof l=="object"&&typeof l.then=="function"&&(i.count++,i=qd.bind(i),l.then(i,i)),d.state.loading|=4,d.instance=v,Dn(v);return}v=l.ownerDocument||l,h=hx(h),(g=ia.get(g))&&P1(h,g),v=v.createElement("link"),Dn(v);var C=v;C._p=new Promise(function(L,X){C.onload=L,C.onerror=X}),Qn(v,"link",h),d.instance=v}i.stylesheets===null&&(i.stylesheets=new Map),i.stylesheets.set(d,l),(l=d.state.preload)&&(d.state.loading&3)===0&&(i.count++,d=qd.bind(i),l.addEventListener("load",d),l.addEventListener("error",d))}}var z1=0;function vO(i,l){return i.stylesheets&&i.count===0&&Vd(i,i.stylesheets),0<i.count||0<i.imgCount?function(d){var h=setTimeout(function(){if(i.stylesheets&&Vd(i,i.stylesheets),i.unsuspend){var v=i.unsuspend;i.unsuspend=null,v()}},6e4+l);0<i.imgBytes&&z1===0&&(z1=62500*JR());var g=setTimeout(function(){if(i.waitingForImages=!1,i.count===0&&(i.stylesheets&&Vd(i,i.stylesheets),i.unsuspend)){var v=i.unsuspend;i.unsuspend=null,v()}},(i.imgBytes>z1?50:800)+l);return i.unsuspend=d,function(){i.unsuspend=null,clearTimeout(h),clearTimeout(g)}}:null}function qd(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Vd(this,this.stylesheets);else if(this.unsuspend){var i=this.unsuspend;this.unsuspend=null,i()}}}var $d=null;function Vd(i,l){i.stylesheets=null,i.unsuspend!==null&&(i.count++,$d=new Map,l.forEach(xO,i),$d=null,qd.call(i))}function xO(i,l){if(!(l.state.loading&4)){var d=$d.get(i);if(d)var h=d.get(null);else{d=new Map,$d.set(i,d);for(var g=i.querySelectorAll("link[data-precedence],style[data-precedence]"),v=0;v<g.length;v++){var C=g[v];(C.nodeName==="LINK"||C.getAttribute("media")!=="not all")&&(d.set(C.dataset.precedence,C),h=C)}h&&d.set(null,h)}g=l.instance,C=g.getAttribute("data-precedence"),v=d.get(C)||h,v===h&&d.set(null,g),d.set(C,g),this.count++,h=qd.bind(this),g.addEventListener("load",h),g.addEventListener("error",h),v?v.parentNode.insertBefore(g,v.nextSibling):(i=i.nodeType===9?i.head:i,i.insertBefore(g,i.firstChild)),l.state.loading|=4}}var hc={$$typeof:D,Provider:null,Consumer:null,_currentValue:te,_currentValue2:te,_threadCount:0};function EO(i,l,d,h,g,v,C,L,X){this.tag=1,this.containerInfo=i,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=Ki(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ki(0),this.hiddenUpdates=Ki(null),this.identifierPrefix=h,this.onUncaughtError=g,this.onCaughtError=v,this.onRecoverableError=C,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=X,this.incompleteTransitions=new Map}function yx(i,l,d,h,g,v,C,L,X,de,ye,Ee){return i=new EO(i,l,d,C,X,de,ye,Ee,L),l=1,v===!0&&(l|=24),v=Dr(3,null,null,l),i.current=v,v.stateNode=i,l=bp(),l.refCount++,i.pooledCache=l,l.refCount++,v.memoizedState={element:h,isDehydrated:d,cache:l},Ep(v),i}function vx(i){return i?(i=ll,i):ll}function xx(i,l,d,h,g,v){g=vx(g),h.context===null?h.context=g:h.pe
vendor: 7,648 bytes, line 50
50ndingContext=g,h=is(l),h.payload={element:d},v=v===void 0?null:v,v!==null&&(h.callback=v),d=ss(i,h,l),d!==null&&(_r(d,i,l),Vu(d,i,l))}function Ex(i,l){if(i=i.memoizedState,i!==null&&i.dehydrated!==null){var d=i.retryLane;i.retryLane=d!==0&&d<l?d:l}}function H1(i,l){Ex(i,l),(i=i.alternate)&&Ex(i,l)}function _x(i){if(i.tag===13||i.tag===31){var l=no(i,67108864);l!==null&&_r(l,i,67108864),H1(i,67108864)}}function Tx(i){if(i.tag===13||i.tag===31){var l=Br();l=Qo(l);var d=no(i,l);d!==null&&_r(d,i,l),H1(i,l)}}var Gd=!0;function _O(i,l,d,h){var g=G.T;G.T=null;var v=ae.p;try{ae.p=2,j1(i,l,d,h)}finally{ae.p=v,G.T=g}}function TO(i,l,d,h){var g=G.T;G.T=null;var v=ae.p;try{ae.p=8,j1(i,l,d,h)}finally{ae.p=v,G.T=g}}function j1(i,l,d,h){if(Gd){var g=F1(h);if(g===null)A1(i,l,h,Yd,d),Sx(i,h);else if(SO(g,i,l,d,h))h.stopPropagation();else if(Sx(i,h),l&4&&-1<wO.indexOf(i)){for(;g!==null;){var v=Ko(g);if(v!==null)switch(v.tag){case 3:if(v=v.stateNode,v.current.memoizedState.isDehydrated){var C=Pa(v.pendingLanes);if(C!==0){var L=v;for(L.pendingLanes|=2,L.entangledLanes|=2;C;){var X=1<<31-At(C);L.entanglements[1]|=X,C&=~X}ja(v),(St&6)===0&&(Nd=Fn()+500,oc(0))}}break;case 31:case 13:L=no(v,2),L!==null&&_r(L,v,2),Od(),H1(v,2)}if(v=F1(h),v===null&&A1(i,l,h,Yd,d),v===g)break;g=v}g!==null&&h.stopPropagation()}else A1(i,l,h,null,d)}}function F1(i){return i=qm(i),U1(i)}var Yd=null;function U1(i){if(Yd=null,i=Xo(i),i!==null){var l=s(i);if(l===null)i=null;else{var d=l.tag;if(d===13){if(i=o(l),i!==null)return i;i=null}else if(d===31){if(i=u(l),i!==null)return i;i=null}else if(d===3){if(l.stateNode.current.memoizedState.isDehydrated)return l.tag===3?l.stateNode.containerInfo:null;i=null}else l!==i&&(i=null)}}return Yd=i,null}function wx(i){switch(i){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(Cu()){case ve:return 2;case Ie:return 8;case Qe:case rt:return 32;case ct:return 268435456;default:return 32}default:return 32}}var q1=!1,bs=null,ys=null,vs=null,mc=new Map,pc=new Map,xs=[],wO="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 Sx(i,l){switch(i){case"focusin":case"focusout":bs=null;break;case"dragenter":case"dragleave":ys=null;break;case"mouseover":case"mouseout":vs=null;break;case"pointerover":case"pointerout":mc.delete(l.pointerId);break;case"gotpointercapture":case"lostpointercapture":pc.delete(l.pointerId)}}function gc(i,l,d,h,g,v){return i===null||i.nativeEvent!==v?(i={blockedOn:l,domEventName:d,eventSystemFlags:h,nativeEvent:v,targetContainers:[g]},l!==null&&(l=Ko(l),l!==null&&_x(l)),i):(i.eventSystemFlags|=h,l=i.targetContainers,g!==null&&l.indexOf(g)===-1&&l.push(g),i)}function SO(i,l,d,h,g){switch(l){case"focusin":return bs=gc(bs,i,l,d,h,g),!0;case"dragenter":return ys=gc(ys,i,l,d,h,g),!0;case"mouseover":return vs=gc(vs,i,l,d,h,g),!0;case"pointerover":var v=g.pointerId;return mc.set(v,gc(mc.get(v)||null,i,l,d,h,g)),!0;case"gotpointercapture":return v=g.pointerId,pc.set(v,gc(pc.get(v)||null,i,l,d,h,g)),!0}return!1}function Ax(i){var l=Xo(i.target);if(l!==null){var d=s(l);if(d!==null){if(l=d.tag,l===13){if(l=o(d),l!==null){i.blockedOn=l,jy(i.priority,function(){Tx(d)});return}}else if(l===31){if(l=u(d),l!==null){i.blockedOn=l,jy(i.priority,function(){Tx(d)});return}}else if(l===3&&d.stateNode.current.memoizedState.isDehydrated){i.blockedOn=d.tag===3?d.stateNode.containerInfo:null;return}}}i.blockedOn=null}function Qd(i){if(i.blockedOn!==null)return!1;for(var l=i.targetContainers;0<l.length;){var d=F1(i.nativeEvent);if(d===null){d=i.nativeEvent;var h=new d.constructor(d.type,d);Um=h,d.target.dispatchEvent(h),Um=null}else return l=Ko(d),l!==null&&_x(l),i.blockedOn=d,!1;l.shift()}return!0}function Cx(i,l,d){Qd(i)&&d.delete(l)}function AO(){q1=!1,bs!==null&&Qd(bs)&&(bs=null),ys!==null&&Qd(ys)&&(ys=null),vs!==null&&Qd(vs)&&(vs=null),mc.forEach(Cx),pc.forEach(Cx)}function Wd(i,l){i.blockedOn===l&&(i.blockedOn=null,q1||(q1=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,AO)))}var Xd=null;function kx(i){Xd!==i&&(Xd=i,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){Xd===i&&(Xd=null);for(var l=0;l<i.length;l+=3){var d=i[l],h=i[l+1],g=i[l+2];if(typeof h!="function"){if(U1(h||d)===null)continue;break}var v=Ko(d);v!==null&&(i.splice(l,3),l-=3,Fp(v,{pending:!0,data:g,method:d.method,action:h},h,g))}}))}function Dl(i){function l(X){return Wd(X,i)}bs!==null&&Wd(bs,i),ys!==null&&Wd(ys,i),vs!==null&&Wd(vs,i),mc.forEach(l),pc.forEach(l);for(var d=0;d<xs.length;d++){var h=xs[d];h.blockedOn===i&&(h.blockedOn=null)}for(;0<xs.length&&(d=xs[0],d.blockedOn===null);)Ax(d),d.blockedOn===null&&xs.shift();if(d=(i.ownerDocument||i).$$reactFormReplay,d!=null)for(h=0;h<d.length;h+=3){var g=d[h],v=d[h+1],C=g[gr]||null;if(typeof v=="function")C||kx(d);else if(C){var L=null;if(v&&v.hasAttribute("formAction")){if(g=v,C=v[gr]||null)L=C.formAction;else if(U1(g)!==null)continue}else L=C.action;typeof L=="function"?d[h+1]=L:(d.splice(h,3),h-=3),kx(d)}}}function Nx(){function i(v){v.canIntercept&&v.info==="react-transition"&&v.intercept({handler:function(){return new Promise(function(C){return g=C})},focusReset:"manual",scroll:"manual"})}function l(){g!==null&&(g(),g=null),h||setTimeout(d,20)}function d(){if(!h&&!navigation.transition){var v=navigation.currentEntry;v&&v.url!=null&&navigation.navigate(v.url,{state:v.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var h=!1,g=null;return navigation.addEventListener("navigate",i),navigation.addEventListener("navigatesuccess",l),navigation.addEventListener("navigateerror",l),setTimeout(d,100),function(){h=!0,navigation.removeEventListener("navigate",i),navigation.removeEventListener("navigatesuccess",l),navigation.removeEventListener("navigateerror",l),g!==null&&(g(),g=null)}}}function $1(i){this._internalRoot=i}Kd.prototype.render=$1.prototype.render=function(i){var l=this._internalRoot;if(l===null)throw Error(r(409));var d=l.current,h=Br();xx(d,h,i,l,null,null)},Kd.prototype.unmount=$1.prototype.unmount=function(){var i=this._internalRoot;if(i!==null){this._internalRoot=null;var l=i.containerInfo;xx(i.current,2,null,i,null,null),Od(),l[Wo]=null}};function Kd(i){this._internalRoot=i}Kd.prototype.unstable_scheduleHydration=function(i){if(i){var l=Mm();i={blockedOn:null,target:i,priority:l};for(var d=0;d<xs.length&&l!==0&&l<xs[d].priority;d++);xs.splice(d,0,i),d===0&&Ax(i)}};
50var Rx=t.version;if(Rx!=="19.2.1")throw Error(r(527,Rx,"19.2.1"));ae.findDOMNode=function(i){var l=i._reactInternals;if(l===void 0)throw typeof i.render=="function"?Error(r(188)):(i=Object.keys(i).join(","),Error(r(268,i)));return i=f(l),i=i!==null?p(i):null,i=i===null?null:i.stateNode,i};var CO={bundleType:0,version:"19.2.1",rendererPackageName:"react-dom",currentDispatcherRef:G,reconcilerVersion:"19.2.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Zd=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Zd.isDisabled&&Zd.supportsFiber)try{Un=Zd.inject(CO),ln=Zd}catch{}}return vc.createRoot=function(i,l){if(!a(i))throw Error(r(299));var d=!1,h="",g=Bv,v=zv,C=Hv;return l!=null&&(l.unstable_strictMode===!0&&(d=!0),l.identifierPrefix!==void 0&&(h=l.identifierPrefix),l.onUncaughtError!==void 0&&(g=l.onUncaughtError),l.onCaughtError!==void 0&&(v=l.onCaughtError),l.onRecoverableError!==void 0&&(C=l.onRecoverableError)),l=yx(i,1,!1,null,null,d,h,null,g,v,C,Nx),i[Wo]=l.current,S1(i),new $1(l)},vc.hydrateRoot=function(i,l,d){if(!a(i))throw Error(r(299));var h=!1,g="",v=Bv,C=zv,L=Hv,X=null;return d!=null&&(d.unstable_strictMode===!0&&(h=!0),d.identifierPrefix!==void 0&&(g=d.identifierPrefix),d.onUncaughtError!==void 0&&(v=d.onUncaughtError),d.onCaughtError!==void 0&&(C=d.onCaughtError),d.onRecoverableError!==void 0&&(L=d.onRecoverableError),d.formState!==void 0&&(X=d.formState)),l=yx(i,1,!0,l,d??null,h,g,X,v,C,L,Nx),l.context=vx(null),d=l.current,h=Br(),h=Qo(h),g=is(h),g.callback=null,ss(d,g,h),d=h,l.current.lanes=d,Qt(l,d),ja(l),i[Wo]=l.current,S1(i),new Kd(l)},vc.version="19.2.1",vc}var r5;function QI(){if(r5)return K1.exports;r5=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(),K1.exports=YI(),K1.exports}var WI=QI(),XI=(function(){function e(){this.keyToValue=new Map,this.valueToKey=new Map}return e.prototype.set=function(t,n){this.keyToValue.set(t,n),this.valueToKey.set(n,t)},e.prototype.getByKey=function(t){return this.keyToValue.get(t)},e.prototype.getByValue=function(t){return this.valueToKey.get(t)},e.prototype.clear=function(){this.keyToValue.clear(),this.valueToKey.clear()},e})(),L_=(function(){function e(t){this.generateIdentifier=t,this.kv=new XI}return e.prototype.register=function(t,n){this.kv.getByValue(t)||(n||(n=this.generateIdentifier(t)),this.kv.set(n,t))},e.prototype.clear=function(){this.kv.clear()},e.prototype.getIdentifier=function(t){return this.kv.getByValue(t)},e.prototype.getValue=function(t){return this.kv.getByKey(t)},e})(),KI=(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,a){r.__proto__=a}||function(r,a){for(var s in a)Object.prototype.hasOwnProperty.call(a,s)&&(r[s]=a[s])},e(t,n)};return function(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}})(),ZI=(function(e){KI(t,e);function t(){var n=e.call(this,function(r){return r.name})||this;return n.classToAllowedProps=new Map,n}return t.prototype.register=function(n,r){typeof r=="object"?(r.allowProps&&this.classToAllowedProps.set(n,r.allowProps),e.prototype.register.call(this,n,r.identifier)):e.prototype.register.call(this,n,r)},t.prototype.getAllowedProps=function(n){return this.classToAllowedProps.get(n)},t})(L_),JI=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),a,s=[],o;try{for(;(t===void 0||t-- >0)&&!(a=r.next()).done;)s.push(a.value)}catch(u){o={error:u}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return s};function eL(e){if("values"in Object)return Object.values(e);var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(e[n]);return t}function tL(e,t){var n=eL(e);if("find"in n)return n.find(t);for(var r=n,a=0;a<r.length;a++){var s=r[a];if(t(s))return s}}function ru(e,t){Object.entries(e).forEach(function(n){var r=JI(n,2),a=r[0],s=r[1];return t(s,a)})}function Hf(e,t){return e.indexOf(t)!==-1}function a5(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(t(r))return r}}var nL=(function(){function e(){this.transfomers={}}return e.prototype.register=function(t){this.transfomers[t.name]=t},e.prototype.findApplicable=function(t){return tL(this.transfomers,function(n){return n.isApplicable(t)})},e.prototype.findByName=function(t){return this.transfomers[t]},e})(),rL=function(e){return Object.prototype.toString.call(e).slice(8,-1)},M_=function(e){return typeof e>"u"},aL=function(e){return e===null},t0=function(e){return typeof e!="object"||e===null||e===Object.prototype?!1:Object.getPrototypeOf(e)===null?!0:Object.getPrototypeOf(e)===Object.prototype},E2=function(e){return t0(e)&&Object.keys(e).length===0},zs=function(e){return Array.isArray(e)},iL=function(e){return typeof e=="string"},sL=function(e){return typeof e=="number"&&!isNaN(e)},oL=function(e){return typeof e=="boolean"},lL=function(e){return e instanceof RegExp},n0=function(e){return e instanceof Map},r0=function(e){return e instanceof Set},P_=function(e){return rL(e)==="Symbol"},uL=function(e){return e instanceof Date&&!isNaN(e.valueOf())},cL=function(e){return e instanceof Error},i5=function(e){return typeof e=="number"&&isNaN(e)},dL=function(e){return oL(e)||aL(e)||M_(e)||sL(e)||iL(e)||P_(e)},fL=function(e){return typeof e=="bigint"},hL=function(e){return e===1/0||e===-1/0},mL=function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)},pL=function(e){return e instanceof URL},B_=function(e){return e.replace(/\./g,"\\.")},tg=function(e){return e.map(String).map(B_).join(".")},Bc=function(e){for(var t=[],n="",r=0;r<e.length;r++){var a=e.charAt(r),s=a==="\\"&&e.charAt(r+1)===".";if(s){n+=".",r++;continue}var o=a===".";if(o){t.push(n),n="";continue}n+=a}var u=n;return t.push(u),t},_2=function(){return _2=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},_2.apply(this,arguments)},T2=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),a,s=[],o;try{for(;(t===void 0||t-- >0)&&!(a=r.next()).done;)s.push(a.value)}catch(u){o={error:u}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return s},w2=function(e,t){for(var n=0,r=t.length,a=e.length;n<r;n++,a++)e[a]=t[n];return e};function Fa(e,t,n,r){return{isApplicable:e,annotation:t,transform:n,untransform:r}}var z_=[Fa(M_,"undefined",function(){return null},function(){}),Fa(fL,"bigint",function(e){return e.toString()},function(e){return typeof BigInt<"u"?BigInt(e):(console.error("Please add a BigInt polyfill."),e)}),Fa(uL,"Date",function(e){return e.toISOString()},function(e){return new Date(e)}),Fa(cL,"Error",function(e,t){var n={name:e.name,message:e.message};return t.allowedErrorProps.forEach(function(r){n[r]=e[r]}),n},function(e,t){var n=new Error(e.message);return n.name=e.name,n.stack=e.stack,t.allowedErrorProps.forEach(function(r){n[r]=e[r]}),n}),Fa(lL,"regexp",function(e){return""+e},function(e){var t=e.slice(1,e.lastIndexOf("/")),n=e.slice(e.lastIndexOf("/")+1);return new RegExp(t,n)}
50),Fa(r0,"set",function(e){return w2([],T2(e.values()))},function(e){return new Set(e)}),Fa(n0,"map",function(e){return w2([],T2(e.entries()))},function(e){return new Map(e)}),Fa(function(e){return i5(e)||hL(e)},"number",function(e){return i5(e)?"NaN":e>0?"Infinity":"-Infinity"},Number),Fa(function(e){return e===0&&1/e===-1/0},"number",function(){return"-0"},Number),Fa(pL,"URL",function(e){return e.toString()},function(e){return new URL(e)})];function qh(e,t,n,r){return{isApplicable:e,annotation:t,transform:n,untransform:r}}var H_=qh(function(e,t){if(P_(e)){var n=!!t.symbolRegistry.getIdentifier(e);return n}return!1},function(e,t){var n=t.symbolRegistry.getIdentifier(e);return["symbol",n]},function(e){return e.description},function(e,t,n){var r=n.symbolRegistry.getValue(t[1]);if(!r)throw new Error("Trying to deserialize unknown symbol");return r}),gL=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce(function(e,t){return e[t.name]=t,e},{}),j_=qh(mL,function(e){return["typed-array",e.constructor.name]},function(e){return w2([],T2(e))},function(e,t){var n=gL[t[1]];if(!n)throw new Error("Trying to deserialize unknown typed array");return new n(e)});function F_(e,t){if(e?.constructor){var n=!!t.classRegistry.getIdentifier(e.constructor);return n}return!1}var U_=qh(F_,function(e,t){var n=t.classRegistry.getIdentifier(e.constructor);return["class",n]},function(e,t){var n=t.classRegistry.getAllowedProps(e.constructor);if(!n)return _2({},e);var r={};return n.forEach(function(a){r[a]=e[a]}),r},function(e,t,n){var r=n.classRegistry.getValue(t[1]);if(!r)throw new Error("Trying to deserialize unknown class - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564");return Object.assign(Object.create(r.prototype),e)}),q_=qh(function(e,t){return!!t.customTransformerRegistry.findApplicable(e)},function(e,t){var n=t.customTransformerRegistry.findApplicable(e);return["custom",n.name]},function(e,t){var n=t.customTransformerRegistry.findApplicable(e);return n.serialize(e)},function(e,t,n){var r=n.customTransformerRegistry.findByName(t[1]);if(!r)throw new Error("Trying to deserialize unknown custom value");return r.deserialize(e)}),bL=[U_,H_,q_,j_],s5=function(e,t){var n=a5(bL,function(a){return a.isApplicable(e,t)});if(n)return{value:n.transform(e,t),type:n.annotation(e,t)};var r=a5(z_,function(a){return a.isApplicable(e,t)});if(r)return{value:r.transform(e,t),type:r.annotation}},$_={};z_.forEach(function(e){$_[e.annotation]=e});var yL=function(e,t,n){if(zs(t))switch(t[0]){case"symbol":return H_.untransform(e,t,n);case"class":return U_.untransform(e,t,n);case"custom":return q_.untransform(e,t,n);case"typed-array":return j_.untransform(e,t,n);default:throw new Error("Unknown transformation: "+t)}else{var r=$_[t];if(!r)throw new Error("Unknown transformation: "+t);return r.untransform(e,n)}},Gl=function(e,t){for(var n=e.keys();t>0;)n.next(),t--;return n.next().value};function V_(e){if(Hf(e,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(Hf(e,"prototype"))throw new Error("prototype is not allowed as a property");if(Hf(e,"constructor"))throw new Error("constructor is not allowed as a property")}var vL=function(e,t){V_(t);for(var n=0;n<t.length;n++){var r=t[n];if(r0(e))e=Gl(e,+r);else if(n0(e)){var a=+r,s=+t[++n]==0?"key":"value",o=Gl(e,a);switch(s){case"key":e=o;break;case"value":e=e.get(o);break}}else e=e[r]}return e},S2=function(e,t,n){if(V_(t),t.length===0)return n(e);for(var r=e,a=0;a<t.length-1;a++){var s=t[a];if(zs(r)){var o=+s;r=r[o]}else if(t0(r))r=r[s];else if(r0(r)){var u=+s;r=Gl(r,u)}else if(n0(r)){var c=a===t.length-2;if(c)break;var u=+s,f=+t[++a]==0?"key":"value",p=Gl(r,u);switch(f){case"key":r=p;break;case"value":r=r.get(p);break}}}var m=t[t.length-1];if(zs(r)?r[+m]=n(r[+m]):t0(r)&&(r[m]=n(r[m])),r0(r)){var b=Gl(r,+m),y=n(b);b!==y&&(r.delete(b),r.add(y))}if(n0(r)){var u=+t[t.length-2],_=Gl(r,u),f=+m==0?"key":"value";switch(f){case"key":{var w=n(_);r.set(w,r.get(_)),w!==_&&r.delete(_);break}case"value":{r.set(_,n(r.get(_)));break}}}return e},Pi=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),a,s=[],o;try{for(;(t===void 0||t-- >0)&&!(a=r.next()).done;)s.push(a.value)}catch(u){o={error:u}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return s},Ds=function(e,t){for(var n=0,r=t.length,a=e.length;n<r;n++,a++)e[a]=t[n];return e};function A2(e,t,n){if(n===void 0&&(n=[]),!!e){if(!zs(e)){ru(e,function(o,u){return A2(o,t,Ds(Ds([],Pi(n)),Pi(Bc(u))))});return}var r=Pi(e,2),a=r[0],s=r[1];s&&ru(s,function(o,u){A2(o,t,Ds(Ds([],Pi(n)),Pi(Bc(u))))}),t(a,n)}}function xL(e,t,n){return A2(t,function(r,a){e=S2(e,a,function(s){return yL(s,r,n)})}),e}function EL(e,t){function n(o,u){var c=vL(e,Bc(u));
50o.map(Bc).forEach(function(f){e=S2(e,f,function(){return c})})}if(zs(t)){var r=Pi(t,2),a=r[0],s=r[1];a.forEach(function(o){e=S2(e,Bc(o),function(){return e})}),s&&ru(s,n)}else ru(t,n);return e}var _L=function(e,t){return t0(e)||zs(e)||n0(e)||r0(e)||F_(e,t)};function TL(e,t,n){var r=n.get(e);r?r.push(t):n.set(e,[t])}function wL(e,t){var n={},r=void 0;return e.forEach(function(a){if(!(a.length<=1)){t||(a=a.map(function(c){return c.map(String)}).sort(function(c,f){return c.length-f.length}));var s=Pi(a),o=s[0],u=s.slice(1);o.length===0?r=u.map(tg):n[tg(o)]=u.map(tg)}}),r?E2(n)?[r]:[r,n]:E2(n)?void 0:n}var G_=function(e,t,n,r,a,s,o){var u;a===void 0&&(a=[]),s===void 0&&(s=[]),o===void 0&&(o=new Map);var c=dL(e);if(!c){TL(e,a,t);var f=o.get(e);if(f)return r?{transformedValue:null}:f}if(!_L(e,n)){var p=s5(e,n),m=p?{transformedValue:p.value,annotations:[p.type]}:{transformedValue:e};return c||o.set(e,m),m}if(Hf(s,e))return{transformedValue:null};var b=s5(e,n),y=(u=b?.value)!==null&&u!==void 0?u:e,_=zs(y)?[]:{},w={};ru(y,function(A,R){var D=G_(A,t,n,r,Ds(Ds([],Pi(a)),[R]),Ds(Ds([],Pi(s)),[e]),o);_[R]=D.transformedValue,zs(D.annotations)?w[R]=D.annotations:t0(D.annotations)&&ru(D.annotations,function(F,H){w[B_(R)+"."+H]=F})});var k=E2(w)?{transformedValue:_,annotations:b?[b.type]:void 0}:{transformedValue:_,annotations:b?[b.type,w]:w};return c||o.set(e,k),k};function Y_(e){return Object.prototype.toString.call(e).slice(8,-1)}function o5(e){return Y_(e)==="Array"}function SL(e){if(Y_(e)!=="Object")return!1;const t=Object.getPrototypeOf(e);return!!t&&t.constructor===Object&&t===Object.prototype}function AL(e,t,n,r,a){const s={}.propertyIsEnumerable.call(r,t)?"enumerable":"nonenumerable";s==="enumerable"&&(e[t]=n),a&&s==="nonenumerable"&&Object.defineProperty(e,t,{value:n,enumerable:!1,writable:!0,configurable:!0})}function C2(e,t={}){if(o5(e))return e.map(a=>C2(a,t));if(!SL(e))return e;const n=Object.getOwnPropertyNames(e),r=Object.getOwnPropertySymbols(e);return[...n,...r].reduce((a,s)=>{if(o5(t.props)&&!t.props.includes(s))return a;const o=e[s],u=C2(o,t);return AL(a,s,u,e,t.nonenumerable),a},{})}var wo=function(){return wo=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},wo.apply(this,arguments)},CL=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),a,s=[],o;try{for(;(t===void 0||t-- >0)&&!(a=r.next()).done;)s.push(a.value)}catch(u){o={error:u}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return s},kL=function(e,t){for(var n=0,r=t.length,a=e.length;n<r;n++,a++)e[a]=t[n];return e},Yi=(function(){function e(t){var n=t===void 0?{}:t,r=n.dedupe,a=r===void 0?!1:r;this.classRegistry=new ZI,this.symbolRegistry=new L_(function(s){var o;return(o=s.description)!==null&&o!==void 0?o:""}),this.customTransformerRegistry=new nL,this.allowedErrorProps=[],this.dedupe=a}return e.prototype.serialize=function(t){var n=new Map,r=G_(t,n,this,this.dedupe),a={json:r.transformedValue};r.annotations&&(a.meta=wo(wo({},a.meta),{values:r.annotations}));var s=wL(n,this.dedupe);return s&&(a.meta=wo(wo({},a.meta),{referentialEqualities:s})),a},e.prototype.deserialize=function(t){var n=t.json,r=t.meta,a=C2(n);return r?.values&&(a=xL(a,r.values,this)),r?.referentialEqualities&&(a=EL(a,r.referentialEqualities)),a},e.prototype.stringify=function(t){return JSON.stringify(this.serialize(t))},e.prototype.parse=function(t){return this.deserialize(JSON.parse(t))},e.prototype.registerClass=function(t,n){this.classRegistry.register(t,n)},e.prototype.registerSymbol=function(t,n){this.symbolRegistry.register(t,n)},e.prototype.registerCustom=function(t,n){this.customTransformerRegistry.register(wo({name:n},t))},e.prototype.allowErrorProps=function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];(t=this.allowedErrorProps).push.apply(t,kL([],CL(n)))},e.defaultInstance=new e,e.serialize=e.defaultInstance.serialize.bind(e.defaultInstance),e.deserialize=e.defaultInstance.deserialize.bind(e.defaultInstance),e.stringify=e.defaultInstance.stringify.bind(e.defaultInstance),e.parse=e.defaultInstance.parse.bind(e.defaultInstance),e.registerClass=e.defaultInstance.registerClass.bind(e.defaultInstance),e.registerSymbol=e.defaultInstance.registerSymbol.bind(e.defaultInstance),e.registerCustom=e.defaultInstance.registerCustom.bind(e.defaultInstance),e.allowErrorProps=e.defaultInstance.allowErrorProps.bind(e.defaultInstance),e})();Yi.serialize;Yi.deserialize;Yi.stringify;Yi.parse;Yi.registerClass;Yi.registerCustom;Yi.registerSymbol;Yi.allowErrorProps;var NL=(e,t,n,r,a,s,o,u)=>{let c=document.documentElement,f=["light","dark"];
vendor: 7,464 bytes, line 50
50function p(y){(Array.isArray(e)?e:[e]).forEach(_=>{let w=_==="class",k=w&&s?a.map(A=>s[A]||A):a;w?(c.classList.remove(...k),c.classList.add(s&&s[y]?s[y]:y)):c.setAttribute(_,y)}),m(y)}function m(y){u&&f.includes(y)&&(c.style.colorScheme=y)}function b(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(r)p(r);else try{let y=localStorage.getItem(t)||n,_=o&&y==="system"?b():y;p(_)}catch{}},RL=N.createContext(void 0),OL={setTheme:e=>{},themes:[]},DL=()=>{var e;return(e=N.useContext(RL))!=null?e:OL};N.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:a,defaultTheme:s,value:o,themes:u,nonce:c,scriptProps:f})=>{let p=JSON.stringify([n,t,s,e,u,o,r,a]).slice(1,-1);return N.createElement("script",{...f,suppressHydrationWarning:!0,nonce:typeof window>"u"?c:"",dangerouslySetInnerHTML:{__html:`(${NL.toString()})(${p})`}})});var $b=I_();const Q_=Mh($b);function IL(e){if(typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}const LL=e=>{switch(e){case"success":return BL;case"info":return HL;case"warning":return zL;case"error":return jL;default:return null}},ML=Array(12).fill(0),PL=({visible:e,className:t})=>we.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},we.createElement("div",{className:"sonner-spinner"},ML.map((n,r)=>we.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),BL=we.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},we.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),zL=we.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},we.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),HL=we.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},we.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),jL=we.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},we.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),FL=we.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},we.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),we.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),UL=()=>{const[e,t]=we.useState(document.hidden);return we.useEffect(()=>{const n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e};let k2=1;class qL{constructor(){this.subscribe=t=>(this.subscribers.push(t),()=>{const n=this.subscribers.indexOf(t);this.subscribers.splice(n,1)}),this.publish=t=>{this.subscribers.forEach(n=>n(t))},this.addToast=t=>{this.publish(t),this.toasts=[...this.toasts,t]},this.create=t=>{var n;const{message:r,...a}=t,s=typeof t?.id=="number"||((n=t.id)==null?void 0:n.length)>0?t.id:k2++,o=this.toasts.find(c=>c.id===s),u=t.dismissible===void 0?!0:t.dismissible;return this.dismissedToasts.has(s)&&this.dismissedToasts.delete(s),o?this.toasts=this.toasts.map(c=>c.id===s?(this.publish({...c,...t,id:s,title:r}),{...c,...t,id:s,dismissible:u,title:r}):c):this.addToast({title:r,...a,dismissible:u,id:s}),s},this.dismiss=t=>(t?(this.dismissedToasts.add(t),requestAnimationFrame(()=>this.subscribers.forEach(n=>n({id:t,dismiss:!0})))):this.toasts.forEach(n=>{this.subscribers.forEach(r=>r({id:n.id,dismiss:!0}))}),t),this.message=(t,n)=>this.create({...n,message:t}),this.error=(t,n)=>this.create({...n,message:t,type:"error"}),this.success=(t,n)=>this.create({...n,type:"success",message:t}),this.info=(t,n)=>this.create({...n,type:"info",message:t}),this.warning=(t,n)=>this.create({...n,type:"warning",message:t}),this.loading=(t,n)=>this.create({...n,type:"loading",message:t}),this.promise=(t,n)=>{if(!n)return;let r;n.loading!==void 0&&(r=this.create({...n,promise:t,type:"loading",message:n.loading,description:typeof n.description!="function"?n.description:void 0}));const a=Promise.resolve(t instanceof Function?t():t);let s=r!==void 0,o;const u=a.then(async f=>{if(o=["resolve",f],we.isValidElement(f))s=!1,this.create({id:r,type:"default",message:f});else if(VL(f)&&!f.ok){s=!1;const m=typeof n.error=="function"?await n.error(`HTTP error! status: ${f.status}`):n.error,b=typeof n.description=="function"?await n.description(`HTTP error! status: ${f.status}`):n.description,_=typeof m=="object"&&!we.isValidElement(m)?m:{message:m};this.create({id:r,type:"error",description:b,..._})}else if(f instanceof Error){s=!1;const m=typeof n.error=="function"?await n.error(f):n.error,b=typeof n.description=="function"?await n.description(f):n.description,_=typeof m=="object"&&!we.isValidElement(m)?m:{message:m};this.create({id:r,type:"error",description:b,..._})}else if(n.success!==void 0){s=!1;const m=typeof n.success=="function"?await n.success(f):n.success,b=typeof n.description=="function"?await n.description(f):n.description,_=typeof m=="object"&&!we.isValidElement(m)?m:{message:m};this.create({id:r,type:"success",description:b,..._})}}).catch(async f=>{if(o=["reject",f],n.error!==void 0){s=!1;const p=typeof n.error=="function"?await n.error(f):n.error,m=typeof n.description=="function"?await n.description(f):n.description,y=typeof p=="object"&&!we.isValidElement(p)?p:{message:p};this.create({id:r,type:"error",description:m,...y})}}).finally(()=>{s&&(this.dismiss(r),r=void 0),n.finally==null||n.finally.call(n)}),c=()=>new Promise((f,p)=>u.then(()=>o[0]==="reject"?p(o[1]):f(o[1])).catch(p));return typeof r!="string"&&typeof r!="number"?{unwrap:c}:Object.assign(r,{unwrap:c})},this.custom=(t,n)=>{const r=n?.id||k2++;return this.create({jsx:t(r),id:r,...n}),r},this.getActiveToasts=()=>this.toasts.filter(t=>!this.dismissedToasts.has(t.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const Ar=new qL,$L=(e,t)=>{const n=t?.id||k2++;return Ar.addToast({title:e,...t,id:n}),n},VL=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",GL=$L,YL=()=>Ar.toasts,QL=()=>Ar.getActiveToasts(),zc=Object.assign(GL,{success:Ar.success,info:Ar.info,warning:Ar.warning,error:Ar.error,custom:Ar.custom,message:Ar.message,promise:Ar.promise,dismiss:Ar.dismiss,loading:Ar.loading},{getHistory:YL,getToasts:QL});IL
vendor: 14,873 bytes, line 50
50("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");function 
vendor: 2,051 bytes, line 50
50rf(e){return e.label!==void 0}const WL=3,XL="24px",KL="16px",l5=4e3,ZL=356,JL=14,eM=45,tM=200;function Ua(...e){return e.filter(Boolean).join(" ")}function nM(e){const[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}const rM=e=>{var t,n,r,a,s,o,u,c,f;const{invert:p,toast:m,unstyled:b,interacting:y,setHeights:_,visibleToasts:w,heights:k,index:A,toasts:R,expanded:D,removeToast:F,defaultRichColors:H,closeButton:P,style:z,cancelButtonStyle:K,actionButtonStyle:ee,className:Y="",descriptionClassName:se="",duration:re,position:pe,gap:ue,expandByDefault:be,classNames:G,icons:ae,closeButtonAriaLabel:te="Close toast"}=e,[Oe,U]=we.useState(null),[$,ce]=we.useState(null),[I,he]=we.useState(!1),[_e,De]=we.useState(!1),[Me,Ue]=we.useState(!1),[Ke,Ct]=we.useState(!1),[Zt,sn]=we.useState(!1),[Rr,Hn]=we.useState(0),[ba,Qr]=we.useState(0),fr=we.useRef(m.duration||re||l5),Wr=we.useRef(null),on=we.useRef(null),Xi=A===0,Ws=A+1<=w,jn=m.type,Ia=m.dismissible!==!1,Fn=m.className||"",Cu=m.descriptionClassName||"",ve=we.useMemo(()=>k.findIndex(Ze=>Ze.toastId===m.id)||0,[k,m.id]),Ie=we.useMemo(()=>{var Ze;return(Ze=m.closeButton)!=null?Ze:P},[m.closeButton,P]),Qe=we.useMemo(()=>m.duration||re||l5,[m.duration,re]),rt=we.useRef(0),ct=we.useRef(0),Wn=we.useRef(0),Xn=we.useRef(null),[Un,ln]=pe.split("-"),qn=we.useMemo(()=>k.reduce((Ze,$t,On)=>On>=ve?Ze:Ze+$t.height,0),[k,ve]),At=UL(),La=m.invert||p,ar=jn==="loading";ct.current=we.useMemo(()=>ve*ue+qn,[ve,qn]),we.useEffect(()=>{fr.current=Qe},[Qe]),we.useEffect(()=>{he(!0)},[]),we.useEffect(()=>{const Ze=on.current;if(Ze){const $t=Ze.getBoundingClientRect().height;return Qr($t),_(On=>[{toastId:m.id,height:$t,position:m.position},...On]),()=>_(On=>On.filter(Kn=>Kn.toastId!==m.id))}},[_,m.id]),we.useLayoutEffect(()=>{if(!I)return;const Ze=on.current,$t=Ze.style.height;Ze.style.height="auto";const On=Ze.getBoundingClientRect().height;Ze.style.height=$t,Qr(On),_(Kn=>Kn.find(Qt=>Qt.toastId===m.id)?Kn.map(Qt=>Qt.toastId===m.id?{...Qt,height:On}:Qt):[{toastId:m.id,height:On,position:m.position}
vendor: 13,500 bytes, line 50
50,...Kn])},[I,m.title,m.description,_,m.id,m.jsx,m.action,m.cancel]);const Ma=we.useCallback(()=>{De(!0),Hn(ct.current),_(Ze=>Ze.filter($t=>$t.toastId!==m.id)),setTimeout(()=>{F(m)},tM)},[m,F,_,ct]);we.useEffect(()=>{if(m.promise&&jn==="loading"||m.duration===1/0||m.type==="loading")return;let Ze;return D||y||At?(()=>{if(Wn.current<rt.current){const Kn=new Date().getTime()-rt.current;fr.current=fr.current-Kn}Wn.current=new Date().getTime()})():(()=>{fr.current!==1/0&&(rt.current=new Date().getTime(),Ze=setTimeout(()=>{m.onAutoClose==null||m.onAutoClose.call(m,m),Ma()},fr.current))})(),()=>clearTimeout(Ze)},[D,y,m,jn,At,Ma]),we.useEffect(()=>{m.delete&&(Ma(),m.onDismiss==null||m.onDismiss.call(m,m))},[Ma,m.delete]);function Go(){var Ze;if(ae?.loading){var $t;return we.createElement("div",{className:Ua(G?.loader,m==null||($t=m.classNames)==null?void 0:$t.loader,"sonner-loader"),"data-visible":jn==="loading"},ae.loading)}return we.createElement(PL,{className:Ua(G?.loader,m==null||(Ze=m.classNames)==null?void 0:Ze.loader),visible:jn==="loading"})}const Yo=m.icon||ae?.[jn]||LL(jn);var Xs,Pa;return we.createElement("li",{tabIndex:0,ref:on,className:Ua(Y,Fn,G?.toast,m==null||(t=m.classNames)==null?void 0:t.toast,G?.default,G?.[jn],m==null||(n=m.classNames)==null?void 0:n[jn]),"data-sonner-toast":"","data-rich-colors":(Xs=m.richColors)!=null?Xs:H,"data-styled":!(m.jsx||m.unstyled||b),"data-mounted":I,"data-promise":!!m.promise,"data-swiped":Zt,"data-removed":_e,"data-visible":Ws,"data-y-position":Un,"data-x-position":ln,"data-index":A,"data-front":Xi,"data-swiping":Me,"data-dismissible":Ia,"data-type":jn,"data-invert":La,"data-swipe-out":Ke,"data-swipe-direction":$,"data-expanded":!!(D||be&&I),"data-testid":m.testId,style:{"--index":A,"--toasts-before":A,"--z-index":R.length-A,"--offset":`${_e?Rr:ct.current}px`,"--initial-height":be?"auto":`${ba}px`,...z,...m.style},onDragEnd:()=>{Ue(!1),U(null),Xn.current=null},onPointerDown:Ze=>{Ze.button!==2&&(ar||!Ia||(Wr.current=new Date,Hn(ct.current),Ze.target.setPointerCapture(Ze.pointerId),Ze.target.tagName!=="BUTTON"&&(Ue(!0),Xn.current={x:Ze.clientX,y:Ze.clientY})))},onPointerUp:()=>{var Ze,$t,On;if(Ke||!Ia)return;Xn.current=null;const Kn=Number(((Ze=on.current)==null?void 0:Ze.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Ki=Number((($t=on.current)==null?void 0:$t.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Qt=new Date().getTime()-((On=Wr.current)==null?void 0:On.getTime()),hr=Oe==="x"?Kn:Ki,Ks=Math.abs(hr)/Qt;if(Math.abs(hr)>=eM||Ks>.11){Hn(ct.current),m.onDismiss==null||m.onDismiss.call(m,m),ce(Oe==="x"?Kn>0?"right":"left":Ki>0?"down":"up"),Ma(),Ct(!0);return}else{var mr,pr;(mr=on.current)==null||mr.style.setProperty("--swipe-amount-x","0px"),(pr=on.current)==null||pr.style.setProperty("--swipe-amount-y","0px")}sn(!1),Ue(!1),U(null)},onPointerMove:Ze=>{var $t,On,Kn;if(!Xn.current||!Ia||(($t=window.getSelection())==null?void 0:$t.toString().length)>0)return;const Qt=Ze.clientY-Xn.current.y,hr=Ze.clientX-Xn.current.x;var Ks;const mr=(Ks=e.swipeDirections)!=null?Ks:nM(pe);!Oe&&(Math.abs(hr)>1||Math.abs(Qt)>1)&&U(Math.abs(hr)>Math.abs(Qt)?"x":"y");let pr={x:0,y:0};const Qo=ya=>1/(1.5+Math.abs(ya)/20);if(Oe==="y"){if(mr.includes("top")||mr.includes("bottom"))if(mr.includes("top")&&Qt<0||mr.includes("bottom")&&Qt>0)pr.y=Qt;else{const ya=Qt*Qo(Qt);pr.y=Math.abs(ya)<Math.abs(Qt)?ya:Qt}}else if(Oe==="x"&&(mr.includes("left")||mr.includes("right")))if(mr.includes("left")&&hr<0||mr.includes("right")&&hr>0)pr.x=hr;else{const ya=hr*Qo(hr);pr.x=Math.abs(ya)<Math.abs(hr)?ya:hr}(Math.abs(pr.x)>0||Math.abs(pr.y)>0)&&sn(!0),(On=on.current)==null||On.style.setProperty("--swipe-amount-x",`${pr.x}px`),(Kn=on.current)==null||Kn.style.setProperty("--swipe-amount-y",`${pr.y}px`)}},Ie&&!m.jsx&&jn!=="loading"?we.createElement("button",{"aria-label":te,"data-disabled":ar,"data-close-button":!0,onClick:ar||!Ia?()=>{}:()=>{Ma(),m.onDismiss==null||m.onDismiss.call(m,m)},className:Ua(G?.closeButton,m==null||(r=m.classNames)==null?void 0:r.closeButton)},(Pa=ae?.close)!=null?Pa:FL):null,(jn||m.icon||m.promise)&&m.icon!==null&&(ae?.[jn]!==null||m.icon)?we.createElement("div",{"data-icon":"",className:Ua(G?.icon,m==null||(a=m.classNames)==null?void 0:a.icon)},m.promise||m.type==="loading"&&!m.icon?m.icon||Go():null,m.type!=="loading"?Yo:null):null,we.createElement("div",{"data-content":"",className:Ua(G?.content,m==null||(s=m.classNames)==null?void 0:s.content)},we.createElement("div",{"data-title":"",className:Ua(G?.title,m==null||(o=m.classNames)==null?void 0:o.title)},m.jsx?m.jsx:typeof m.title=="function"?m.title():m.title),m.description?we.createElement("div",{"data-description":"",className:Ua(se,Cu,G?.description,m==null||(u=m.classNames)==null?void 0:u.description)},typeof m.description=="function"?m.description():m.description):null),we.isValidElement(m.cancel)?m.cancel:m.cancel&&rf(m.cancel)?we.createElement("button",{"data-button":!0,"data-cancel":!0,style:m.cancelButtonStyle||K,onClick:Ze=>{rf(m.cancel)&&Ia&&(m.cancel.onClick==null||m.cancel.onClick.call(m.cancel,Ze),Ma())},className:Ua(G?.cancelButton,m==null||(c=m.classNames)==null?void 0:c.cancelButton)},m.cancel.label):null,we.isValidElement(m.action)?m.action:m.action&&rf(m.action)?we.createElement("button",{"data-button":!0,"data-action":!0,style:m.actionButtonStyle||ee,onClick:Ze=>{rf(m.action)&&(m.action.onClick==null||m.action.onClick.call(m.action,Ze),!Ze.defaultPrevented&&Ma())},className:Ua(G?.actionButton,m==null||(f=m.classNames)==null?void 0:f.actionButton)},m.action.label):null)};function u5(){if(typeof window>"u"||typeof document>"u")return"ltr";const e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function aM(e,t){const n={};return[e,t].forEach((r,a)=>{const s=a===1,o=s?"--mobile-offset":"--offset",u=s?KL:XL;function c(f){["top","right","bottom","left"].forEach(p=>{n[`${o}-${p}`]=typeof f=="number"?`${f}px`:f})}typeof r=="number"||typeof r=="string"?c(r):typeof r=="object"?["top","right","bottom","left"].forEach(f=>{r[f]===void 0?n[`${o}-${f}`]=u:n[`${o}-${f}`]=typeof r[f]=="number"?`${r[f]}px`:r[f]}):c(u)}),n}const iM=we.forwardRef(function(t,n){const{id:r,invert:a,position:s="bottom-right",hotkey:o=["altKey","KeyT"],expand:u,closeButton:c,className:f,offset:p,mobileOffset:m,theme:b="light",richColors:y,duration:_,style:w,visibleToasts:k=WL,toastOptions:A,dir:R=u5(),gap:D=JL,icons:F,containerAriaLabel:H="Notifications"}=t,[P,z]=we.useState([]),K=we.useMemo(()=>r?P.filter(I=>I.toasterId===r):P.filter(I=>!I.toasterId),[P,r]),ee=we.useMemo(()=>Array.from(new Set([s].concat(K.filter(I=>I.position).map(I=>I.position)))),[K,s]),[Y,se]=we.useState([]),[re,pe]=we.useState(!1),[ue,be]=we.useState(!1),[G,ae]=we.useState(b!=="system"?b:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),te=we.useRef(null),Oe=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),U=we.useRef(null),$=we.useRef(!1),ce=we.useCallback(I=>{z(he=>{var _e;return(_e=he.find(De=>De.id===I.id))!=null&&_e.delete||Ar.dismiss(I.id),he.filter(({id:De})=>De!==I.id)})},[]);return we.useEffect(()=>Ar.subscribe(I=>{if(I.dismiss){requestAnimationFrame(()=>{z(he=>he.map(_e=>_e.id===I.id?{..._e,delete:!0}:_e))});return}setTimeout(()=>{Q_.flushSync(()=>{z(he=>{const _e=he.findIndex(De=>De.id===I.id);return _e!==-1?[...he.slice(0,_e),{...he[_e],...I},...he.slice(_e+1)]:[I,...he]})})})}),[P]),we.useEffect(()=>{if(b!=="system"){ae(b);return}if(b==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?ae("dark"):ae("light")),typeof window>"u")return;const I=window.matchMedia("(prefers-color-scheme: dark)");try{I.addEventListener("change",({matches:he})=>{ae(he?"dark":"light")})}catch{I.addListener(({matches:_e})=>{try{ae(_e?"dark":"light")}catch(De){console.error(De)}})}},[b]),we.useEffect(()=>{P.length<=1&&pe(!1)},[P]),we.useEffect(()=>{const I=he=>{var _e;if(o.every(Ue=>he[Ue]||he.code===Ue)){var Me;pe(!0),(Me=te.current)==null||Me.focus()}he.code==="Escape"&&(document.activeElement===te.current||(_e=te.current)!=null&&_e.contains(document.activeElement))&&pe(!1)};return document.addEventListener("keydown",I),()=>document.removeEventListener("keydown",I)},[o]),we.useEffect(()=>{if(te.current)return()=>{U.current&&(U.current.focus({preventScroll:!0}),U.current=null,$.current=!1)}},[te.current]),we.createElement("section",{ref:n,"aria-label":`${H} ${Oe}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},ee.map((I,he)=>{var _e;const[De,Me]=I.split("-");return K.length?we.createElement("ol",{key:I,dir:R==="auto"?u5():R,tabIndex:-1,ref:te,className:f,"data-sonner-toaster":!0,"data-sonner-theme":G,"data-y-position":De,"data-x-position":Me,style:{"--front-toast-height":`${((_e=Y[0])==null?void 0:_e.height)||0}px`,"--width":`${ZL}px`,"--gap":`${D}px`,...w,...aM(p,m)},onBlur:Ue=>{$.current&&!Ue.currentTarget.contains(Ue.relatedTarget)&&($.current=!1,U.current&&(U.current.focus({preventScroll:!0}),U.current=null))},onFocus:Ue=>{Ue.target instanceof HTMLElement&&Ue.target.dataset.dismissible==="false"||$.current||($.current=!0,U.current=Ue.relatedTarget)},onMouseEnter:()=>pe(!0),onMouseMove:()=>pe(!0),onMouseLeave:()=>{ue||pe(!1)},onDragEnd:()=>pe(!1),onPointerDown:Ue=>{Ue.target instanceof HTMLElement&&Ue.target.dataset.dismissible==="false"||be(!0)},onPointerUp:()=>be(!1)},K.filter(Ue=>!Ue.position&&he===0||Ue.position===I).map((Ue,Ke)=>{var Ct,Zt;return we.createElement(rM,{key:Ue.id,icons:F,index:Ke,toast:Ue,defaultRichColors:y,duration:(Ct=A?.duration)!=null?Ct:_,className:A?.className,descriptionClassName:A?.descriptionClassName,invert:a,visibleToasts:k,closeButton:(Zt=A?.closeButton)!=null?Zt:c,interacting:ue,position:I,style:A?.style,unstyled:A?.unstyled,classNames:A?.classNames,cancelButtonStyle:A?.cancelButtonStyle,actionButtonStyle:A?.actionButtonStyle,closeButtonAriaLabel:A?.closeButtonAriaLabel,removeToast:ce,toasts:K.filter(sn=>sn.position==Ue.position),heights:Y.filter(sn=>sn.position==Ue.position),setHeights:se,expandByDefault:u,gap:D,expanded:re,swipeDirections:t.swipeDirections})})):null}))}),sM=({...e})=>{const{theme:t="system"}=DL();return x.jsx(iM,{"data-loc":"client/src/components/ui/sonner.tsx:8",theme:t,className:"toaster group",style:{"--normal-bg":"var(--popover)","--normal-text":"var(--popover-foreground)","--normal-border":"var(--border)"},...e})};function qt(e,t,{checkForDefaultPrevented:n=!0}={}){return function(a){if(e?.(a),n===!1||!a.defaultPrevented)return t?.(a)}}function c5(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function W_(...e){return t=>{let n=!1;const r=e.map(a=>{const s=c5(a,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let a=0;a<r.length;a++){const s=r[a];typeof s=="function"?s():c5(e[a],null)}}}}function Kt(...e){return N.useCallback(W_(...e),e)}function oM(e,t){const n=N.createContext(t),r=s=>{const{children:o,...u}=s,c=N.useMemo(()=>u,Object.values(u));return x.jsx(n.Provider,{value:c,children:o})};r.displayName=e+"Provider";function a(s){const o=N.useContext(n);if(o)return o;if(t!==void 0)return t;throw new Error(`\`${s}\` must be used within \`${e}\``)}return[r,a]}function Vs(e,t=[]){let n=[];function r(s,o){const u=N.createContext(o),c=n.length;n=[...n,o];const f=m=>{const{scope:b,children:y,..._}=m,w=b?.[e]?.[c]||u,k=N.useMemo(()=>_,Object.values(_));return x.jsx(w.Provider,{value:k,children:y})};f.displayName=s+"Provider";function p(m,b){const y=b?.[e]?.[c]||u,_=N.useContext(y);if(_)return _;if(o!==void 0)return o;throw new Error(`\`${m}\` must be used within \`${s}\``)}return[f,p]}const a=()=>{const s=n.map(o=>N.createContext(o));return function(u){const c=u?.[e]||s;return N.useMemo(()=>({[`__scope${e}`]:{...u,[e]:c}}),[u,c])}};return a.scopeName=e,[r,lM(a,...t)]}function lM(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return function(s){const o=r.reduce((u,{useScope:c,scopeName:f})=>{const m=c(s)[`__scope${f}`];return{...u,...m}},{});return N.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}function a0(e){const t=cM(e),n=N.forwardRef((r,a)=>{const{children:s,...o}=r,u=N.Children.toArray(s),c=u.find(fM);if(c){const f=c.props.children,p=u.map(m=>m===c?N.Children.count(f)>1?N.Children.only(null):N.isValidElement(f)?f.props.children:null:m);return x.jsx(t,{...o,ref:a,children:N.isValidElement(f)?N.cloneElement(f,void 0,p):null})}return x.jsx(t,{...o,ref:a,children:s})});return n.displayName=`${e}.Slot`,n}var uM=a0("Slot");function cM(e){const t=N.forwardRef((n,r)=>{const{children:a,...s}=n;if(N.isValidElement(a)){const o=mM(a),u=hM(s,a.props);return a.type!==N.Fragment&&(u.ref=r?W_(r,o):o),N.cloneElement(a,u)}return N.Children.count(a)>1?N.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var X_=Symbol("radix.slottable");function dM(e){const t=({children:n})=>x.jsx(x.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=X_,t}function fM(e){return N.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===X_}function hM(e,t){const n={...t};for(const r in t){const a=e[r],s=t[r];/^on[A-Z]/.test(r)?a&&s?n[r]=(...u)=>{const c=s(...u);return a(...u),c}:a&&(n[r]=a):r==="style"?n[r]={...a,...s}
vendor: 4,729 bytes, line 50
50:r==="className"&&(n[r]=[a,s].filter(Boolean).join(" "))}return{...e,...n}}function mM(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var pM=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Bt=pM.reduce((e,t)=>{const n=a0(`Primitive.${t}`),r=N.forwardRef((a,s)=>{const{asChild:o,...u}=a,c=o?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),x.jsx(c,{...u,ref:s})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function gM(e,t){e&&$b.flushSync(()=>e.dispatchEvent(t))}function Ur(e){const t=N.useRef(e);return N.useEffect(()=>{t.current=e}),N.useMemo(()=>(...n)=>t.current?.(...n),[])}function bM(e,t=globalThis?.document){const n=Ur(e);N.useEffect(()=>{const r=a=>{a.key==="Escape"&&n(a)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var yM="DismissableLayer",N2="dismissableLayer.update",vM="dismissableLayer.pointerDownOutside",xM="dismissableLayer.focusOutside",d5,K_=N.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Vb=N.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:a,onFocusOutside:s,onInteractOutside:o,onDismiss:u,...c}=e,f=N.useContext(K_),[p,m]=N.useState(null),b=p?.ownerDocument??globalThis?.document,[,y]=N.useState({}),_=Kt(t,z=>m(z)),w=Array.from(f.layers),[k]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),A=w.indexOf(k),R=p?w.indexOf(p):-1,D=f.layersWithOutsidePointerEventsDisabled.size>0,F=R>=A,H=TM(z=>{const K=z.target,ee=[...f.branches].some(Y=>Y.contains(K));!F||ee||(a?.(z),o?.(z),z.defaultPrevented||u?.())},b),P=wM(z=>{const K=z.target;[...f.branches].some(Y=>Y.contains(K))||(s?.(z),o?.(z),z.defaultPrevented||u?.())},b);return bM(z=>{R===f.layers.size-1&&(r?.(z),!z.defaultPrevented&&u&&(z.preventDefault(),u()))},b),N.useEffect(()=>{if(p)return n&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(d5=b.body.style.pointerEvents,b.body.style.pointerEvents="none"),f.layersWithOutsidePointerEventsDisabled.add(p)),f.layers.add(p),f5(),()=>{n&&f.layersWithOutsidePointerEventsDisabled.size===1&&(b.body.style.pointerEvents=d5)}},[p,b,n,f]),N.useEffect(()=>()=>{p&&(f.layers.delete(p),f.layersWithOutsidePointerEventsDisabled.delete(p),f5())},[p,f]),N.useEffect(()=>{const z=()=>y({});return document.addEventListener(N2,z),()=>document.removeEventListener(N2,z)},[]),x.jsx(Bt.div,{...c,ref:_,style:{pointerEvents:D?F?"auto":"none":void 0,...e.style},onFocusCapture:qt(e.onFocusCapture,P.onFocusCapture),onBlurCapture:qt(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:qt(e.onPointerDownCapture,H.onPointerDownCapture)})});Vb.displayName=yM;var EM="DismissableLayerBranch",_M=N.forwardRef((e,t)=>{const n=N.useContext(K_),r=N.useRef(null),a=Kt(t,r);return N.useEffect(()=>{const s=r.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),x.jsx(Bt.div,{...e,ref:a})});_M.displayName=EM;function TM(e,t=globalThis?.document){const n=Ur(e),r=N.useRef(!1),a=N.useRef(()=>{});return N.useEffect(()=>{const s=u=>{if(u.target&&!r.current){let c=function(){Z_(vM,n,f,{discrete:!0})};const f={originalEvent:u};u.pointerType==="touch"?(t.removeEventListener("click",a.current),a.current=c,t.addEventListener("click",a.current,{once:!0})):c()}else t.removeEventListener("click",a.current);r.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",s),t.removeEventListener("click",a.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function wM(e,t=globalThis?.document){const n=Ur(e),r=N.useRef(!1);return N.useEffect(()=>{const a=s=>{s.target&&!r.current&&Z_(xM,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",a),()=>t.removeEventListener("focusin",a)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function f5(){const e=new CustomEvent(N2);document.dispatchEvent(e)}function Z_(e,t,n,{discrete:r}){const a=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&a.addEventListener(e,t,{once:!0}),r?gM(a,s):a.dispatchEvent(s)}var ri=globalThis?.document?N.useLayoutEffect:()=>{},SM=Bh[" useId ".trim().toString()]||(()=>{}),AM=0;function Hc(e){const[t,n]=N.useState(SM());return ri(()=>{n(r=>r??String(AM++))},[e]),t?`radix-${t}`:""}const CM=["top","right","bottom","left"],Hs=Math.min,jr=Math.max,Zf=Math.round,af=Math.floor,ni=e=>({x:e,y:e}
vendor: 14,547 bytes, line 50
50),kM={left:"right",right:"left",bottom:"top",top:"bottom"},NM={start:"end",end:"start"};function R2(e,t,n){return jr(e,Hs(t,n))}function Ui(e,t){return typeof e=="function"?e(t):e}function qi(e){return e.split("-")[0]}function fu(e){return e.split("-")[1]}function Gb(e){return e==="x"?"y":"x"}function Yb(e){return e==="y"?"height":"width"}const RM=new Set(["top","bottom"]);function Za(e){return RM.has(qi(e))?"y":"x"}function Qb(e){return Gb(Za(e))}function OM(e,t,n){n===void 0&&(n=!1);const r=fu(e),a=Qb(e),s=Yb(a);let o=a==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(o=Jf(o)),[o,Jf(o)]}function DM(e){const t=Jf(e);return[O2(e),t,O2(t)]}function O2(e){return e.replace(/start|end/g,t=>NM[t])}const h5=["left","right"],m5=["right","left"],IM=["top","bottom"],LM=["bottom","top"];function MM(e,t,n){switch(e){case"top":case"bottom":return n?t?m5:h5:t?h5:m5;case"left":case"right":return t?IM:LM;default:return[]}}function PM(e,t,n,r){const a=fu(e);let s=MM(qi(e),n==="start",r);return a&&(s=s.map(o=>o+"-"+a),t&&(s=s.concat(s.map(O2)))),s}function Jf(e){return e.replace(/left|right|bottom|top/g,t=>kM[t])}function BM(e){return{top:0,right:0,bottom:0,left:0,...e}}function J_(e){return typeof e!="number"?BM(e):{top:e,right:e,bottom:e,left:e}}function eh(e){const{x:t,y:n,width:r,height:a}=e;return{width:r,height:a,top:n,left:t,right:t+r,bottom:n+a,x:t,y:n}}function p5(e,t,n){let{reference:r,floating:a}=e;const s=Za(t),o=Qb(t),u=Yb(o),c=qi(t),f=s==="y",p=r.x+r.width/2-a.width/2,m=r.y+r.height/2-a.height/2,b=r[u]/2-a[u]/2;let y;switch(c){case"top":y={x:p,y:r.y-a.height};break;case"bottom":y={x:p,y:r.y+r.height};break;case"right":y={x:r.x+r.width,y:m};break;case"left":y={x:r.x-a.width,y:m};break;default:y={x:r.x,y:r.y}}switch(fu(t)){case"start":y[o]-=b*(n&&f?-1:1);break;case"end":y[o]+=b*(n&&f?-1:1);break}return y}const zM=async(e,t,n)=>{const{placement:r="bottom",strategy:a="absolute",middleware:s=[],platform:o}=n,u=s.filter(Boolean),c=await(o.isRTL==null?void 0:o.isRTL(t));let f=await o.getElementRects({reference:e,floating:t,strategy:a}),{x:p,y:m}=p5(f,r,c),b=r,y={},_=0;for(let w=0;w<u.length;w++){const{name:k,fn:A}=u[w],{x:R,y:D,data:F,reset:H}=await A({x:p,y:m,initialPlacement:r,placement:b,strategy:a,middlewareData:y,rects:f,platform:o,elements:{reference:e,floating:t}});p=R??p,m=D??m,y={...y,[k]:{...y[k],...F}},H&&_<=50&&(_++,typeof H=="object"&&(H.placement&&(b=H.placement),H.rects&&(f=H.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:a}):H.rects),{x:p,y:m}=p5(f,b,c)),w=-1)}return{x:p,y:m,placement:b,strategy:a,middlewareData:y}};async function i0(e,t){var n;t===void 0&&(t={});const{x:r,y:a,platform:s,rects:o,elements:u,strategy:c}=e,{boundary:f="clippingAncestors",rootBoundary:p="viewport",elementContext:m="floating",altBoundary:b=!1,padding:y=0}=Ui(t,e),_=J_(y),k=u[b?m==="floating"?"reference":"floating":m],A=eh(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(k)))==null||n?k:k.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(u.floating)),boundary:f,rootBoundary:p,strategy:c})),R=m==="floating"?{x:r,y:a,width:o.floating.width,height:o.floating.height}:o.reference,D=await(s.getOffsetParent==null?void 0:s.getOffsetParent(u.floating)),F=await(s.isElement==null?void 0:s.isElement(D))?await(s.getScale==null?void 0:s.getScale(D))||{x:1,y:1}:{x:1,y:1},H=eh(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:u,rect:R,offsetParent:D,strategy:c}):R);return{top:(A.top-H.top+_.top)/F.y,bottom:(H.bottom-A.bottom+_.bottom)/F.y,left:(A.left-H.left+_.left)/F.x,right:(H.right-A.right+_.right)/F.x}}const HM=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:a,rects:s,platform:o,elements:u,middlewareData:c}=t,{element:f,padding:p=0}=Ui(e,t)||{};if(f==null)return{};const m=J_(p),b={x:n,y:r},y=Qb(a),_=Yb(y),w=await o.getDimensions(f),k=y==="y",A=k?"top":"left",R=k?"bottom":"right",D=k?"clientHeight":"clientWidth",F=s.reference[_]+s.reference[y]-b[y]-s.floating[_],H=b[y]-s.reference[y],P=await(o.getOffsetParent==null?void 0:o.getOffsetParent(f));let z=P?P[D]:0;(!z||!await(o.isElement==null?void 0:o.isElement(P)))&&(z=u.floating[D]||s.floating[_]);const K=F/2-H/2,ee=z/2-w[_]/2-1,Y=Hs(m[A],ee),se=Hs(m[R],ee),re=Y,pe=z-w[_]-se,ue=z/2-w[_]/2+K,be=R2(re,ue,pe),G=!c.arrow&&fu(a)!=null&&ue!==be&&s.reference[_]/2-(ue<re?Y:se)-w[_]/2<0,ae=G?ue<re?ue-re:ue-pe:0;return{[y]:b[y]+ae,data:{[y]:be,centerOffset:ue-be-ae,...G&&{alignmentOffset:ae}},reset:G}}}),jM=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:a,middlewareData:s,rects:o,initialPlacement:u,platform:c,elements:f}=t,{mainAxis:p=!0,crossAxis:m=!0,fallbackPlacements:b,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:_="none",flipAlignment:w=!0,...k}=Ui(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const A=qi(a),R=Za(u),D=qi(u)===u,F=await(c.isRTL==null?void 0:c.isRTL(f.floating)),H=b||(D||!w?[Jf(u)]:DM(u)),P=_!=="none";!b&&P&&H.push(...PM(u,w,_,F));const z=[u,...H],K=await i0(t,k),ee=[];let Y=((r=s.flip)==null?void 0:r.overflows)||[];if(p&&ee.push(K[A]),m){const ue=OM(a,o,F);ee.push(K[ue[0]],K[ue[1]])}if(Y=[...Y,{placement:a,overflows:ee}],!ee.every(ue=>ue<=0)){var se,re;const ue=(((se=s.flip)==null?void 0:se.index)||0)+1,be=z[ue];if(be&&(!(m==="alignment"?R!==Za(be):!1)||Y.every(te=>Za(te.placement)===R?te.overflows[0]>0:!0)))return{data:{index:ue,overflows:Y},reset:{placement:be}};let G=(re=Y.filter(ae=>ae.overflows[0]<=0).sort((ae,te)=>ae.overflows[1]-te.overflows[1])[0])==null?void 0:re.placement;if(!G)switch(y){case"bestFit":{var pe;const ae=(pe=Y.filter(te=>{if(P){const Oe=Za(te.placement);return Oe===R||Oe==="y"}return!0}).map(te=>[te.placement,te.overflows.filter(Oe=>Oe>0).reduce((Oe,U)=>Oe+U,0)]).sort((te,Oe)=>te[1]-Oe[1])[0])==null?void 0:pe[0];ae&&(G=ae);break}case"initialPlacement":G=u;break}if(a!==G)return{reset:{placement:G}}}return{}}}};function g5(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function b5(e){return CM.some(t=>e[t]>=0)}const FM=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...a}=Ui(e,t);switch(r){case"referenceHidden":{const s=await i0(t,{...a,elementContext:"reference"}),o=g5(s,n.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:b5(o)}}}case"escaped":{const s=await i0(t,{...a,altBoundary:!0}),o=g5(s,n.floating);return{data:{escapedOffsets:o,escaped:b5(o)}}}default:return{}}}}},eT=new Set(["left","top"]);async function UM(e,t){const{placement:n,platform:r,elements:a}=e,s=await(r.isRTL==null?void 0:r.isRTL(a.floating)),o=qi(n),u=fu(n),c=Za(n)==="y",f=eT.has(o)?-1:1,p=s&&c?-1:1,m=Ui(t,e);let{mainAxis:b,crossAxis:y,alignmentAxis:_}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return u&&typeof _=="number"&&(y=u==="end"?_*-1:_),c?{x:y*p,y:b*f}:{x:b*f,y:y*p}}const qM=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:a,y:s,placement:o,middlewareData:u}=t,c=await UM(t,e);return o===((n=u.offset)==null?void 0:n.placement)&&(r=u.arrow)!=null&&r.alignmentOffset?{}:{x:a+c.x,y:s+c.y,data:{...c,placement:o}}}}},$M=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:a}=t,{mainAxis:s=!0,crossAxis:o=!1,limiter:u={fn:k=>{let{x:A,y:R}=k;return{x:A,y:R}}},...c}=Ui(e,t),f={x:n,y:r},p=await i0(t,c),m=Za(qi(a)),b=Gb(m);let y=f[b],_=f[m];if(s){const k=b==="y"?"top":"left",A=b==="y"?"bottom":"right",R=y+p[k],D=y-p[A];y=R2(R,y,D)}if(o){const k=m==="y"?"top":"left",A=m==="y"?"bottom":"right",R=_+p[k],D=_-p[A];_=R2(R,_,D)}const w=u.fn({...t,[b]:y,[m]:_});return{...w,data:{x:w.x-n,y:w.y-r,enabled:{[b]:s,[m]:o}}}}}},VM=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:a,rects:s,middlewareData:o}=t,{offset:u=0,mainAxis:c=!0,crossAxis:f=!0}=Ui(e,t),p={x:n,y:r},m=Za(a),b=Gb(m);let y=p[b],_=p[m];const w=Ui(u,t),k=typeof w=="number"?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(c){const D=b==="y"?"height":"width",F=s.reference[b]-s.floating[D]+k.mainAxis,H=s.reference[b]+s.reference[D]-k.mainAxis;y<F?y=F:y>H&&(y=H)}if(f){var A,R;const D=b==="y"?"width":"height",F=eT.has(qi(a)),H=s.reference[m]-s.floating[D]+(F&&((A=o.offset)==null?void 0:A[m])||0)+(F?0:k.crossAxis),P=s.reference[m]+s.reference[D]+(F?0:((R=o.offset)==null?void 0:R[m])||0)-(F?k.crossAxis:0);_<H?_=H:_>P&&(_=P)}return{[b]:y,[m]:_}}}},GM=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:a,rects:s,platform:o,elements:u}=t,{apply:c=()=>{},...f}=Ui(e,t),p=await i0(t,f),m=qi(a),b=fu(a),y=Za(a)==="y",{width:_,height:w}=s.floating;let k,A;m==="top"||m==="bottom"?(k=m,A=b===(await(o.isRTL==null?void 0:o.isRTL(u.floating))?"start":"end")?"left":"right"):(A=m,k=b==="end"?"top":"bottom");const R=w-p.top-p.bottom,D=_-p.left-p.right,F=Hs(w-p[k],R),H=Hs(_-p[A],D),P=!t.middlewareData.shift;let z=F,K=H;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(K=D),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(z=R),P&&!b){const Y=jr(p.left,0),se=jr(p.right,0),re=jr(p.top,0),pe=jr(p.bottom,0);y?K=_-2*(Y!==0||se!==0?Y+se:jr(p.left,p.right)):z=w-2*(re!==0||pe!==0?re+pe:jr(p.top,p.bottom))}await c({...t,availableWidth:K,availableHeight:z});const ee=await o.getDimensions(u.floating);return _!==ee.width||w!==ee.height?{reset:{rects:!0}}:{}}}};function $h(){return typeof window<"u"}function hu(e){return tT(e)?(e.nodeName||"").toLowerCase():"#document"}function $r(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function si(e){var t;return(t=(tT(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function tT(e){return $h()?e instanceof Node||e instanceof $r(e).Node:!1}function Aa(e){return $h()?e instanceof Element||e instanceof $r(e).Element:!1}function ai(e){return $h()?e instanceof HTMLElement||e instanceof $r(e).HTMLElement:!1}function y5(e){return!$h()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof $r(e).ShadowRoot}const YM=new Set(["inline","contents"]);function T0(e){const{overflow:t,overflowX:n,overflowY:r,display:a}=Ca(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!YM.has(a)}const QM=new Set(["table","td","th"]);function WM(e){return QM.has(hu(e))}const XM=[":popover-open",":modal"];function Vh(e){return XM.some(t=>{try{return e.matches(t)}catch{return!1}})}const KM=["transform","translate","scale","rotate","perspective"],ZM=["transform","translate","scale","rotate","perspective","filter"],JM=["paint","layout","strict","content"];function Wb(e){const t=Xb(),n=Aa(e)?Ca(e):e;return KM.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||ZM.some(r=>(n.willChange||"").includes(r))||JM.some(r=>(n.contain||"").includes(r))}function eP(e){let t=js(e);for(;ai(t)&&!au(t);){if(Wb(t))return t;if(Vh(t))return null;t=js(t)}return null}function Xb(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const tP=new Set(["html","body","#document"]);function au(e){return tP.has(hu(e))}function Ca(e){return $r(e).getComputedStyle(e)}function Gh(e){return Aa(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function js(e){if(hu(e)==="html")return e;const t=e.assignedSlot||e.parentNode||y5(e)&&e.host||si(e);return y5(t)?t.host:t}function nT(e){const t=js(e);return au(t)?e.ownerDocument?e.ownerDocument.body:e.body:ai(t)&&T0(t)?t:nT(t)}function s0(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const a=nT(e),s=a===((r=e.ownerDocument)==null?void 0:r.body),o=$r(a);if(s){const u=D2(o);return t.concat(o,o.visualViewport||[],T0(a)?a:[],u&&n?s0(u):[])}return t.concat(a,s0(a,[],n))}function D2(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function rT(e){const t=Ca(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const a=ai(e),s=a?e.offsetWidth:n,o=a?e.offsetHeight:r,u=Zf(n)!==s||Zf(r)!==o;return u&&(n=s,r=o),{width:n,height:r,$:u}}function Kb(e){return Aa(e)?e:e.contextElement}function Wl(e){const t=Kb(e);if(!ai(t))return ni(1);const n=t.getBoundingClientRect(),{width:r,height:a,$:s}=rT(t);let o=(s?Zf(n.width):n.width)/r,u=(s?Zf(n.height):n.height)/a;return(!o||!Number.isFinite(o))&&(o=1),(!u||!Number.isFinite(u))&&(u=1),{x:o,y:u}}const nP=ni(0);function aT(e){const t=$r(e);return!Xb()||!t.visualViewport?nP:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function rP(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==$r(e)?!1:t}function Oo(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const a=e.getBoundingClientRect(),s=Kb(e);let o=ni(1);t&&(r?Aa(r)&&(o=Wl(r)):o=Wl(e));const u=rP(s,n,r)?aT(s):ni(0);let c=(a.left+u.x)/o.x,f=(a.top+u.y)/o.y,p=a.width/o.x,m=a.height/o.y;if(s){const b=$r(s),y=r&&Aa(r)?$r(r):r;let _=b,w=D2(_);for(;w&&r&&y!==_;){const k=Wl(w),A=w.getBoundingClientRect(),R=Ca(w),D=A.left+(w.clientLeft+parseFloat(R.paddingLeft))*k.x,F=A.top+(w.clientTop+parseFloat(R.paddingTop))*k.y;c*=k.x,f*=k.y,p*=k.x,m*=k.y,c+=D,f+=F,_=$r(w),w=D2(_)}}return eh({width:p,height:m,x:c,y:f})}function Yh(e,t){const n=Gh(e).scrollLeft;return t?t.left+n:Oo(si(e)).left+n}function iT(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-Yh(e,n),a=n.top+t.scrollTop;return{x:r,y:a}}function aP(e){let{elements:t,rect:n,offsetParent:r,strategy:a}=e;const s=a==="fixed",o=si(r),u=t?Vh(t.floating):!1;if(r===o||u&&s)return n;let c={scrollLeft:0,scrollTop:0},f=ni(1);const p=ni(0),m=ai(r);if((m||!m&&!s)&&((hu(r)!=="body"||T0(o))&&(c=Gh(r)),ai(r))){const y=Oo(r);f=Wl(r),p.x=y.x+r.clientLeft,p.y=y.y+r.clientTop}const b=o&&!m&&!s?iT(o,c):ni(0);return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-c.scrollLeft*f.x+p.x+b.x,y:n.y*f.y-c.scrollTop*f.y+p.y+b.y}}function iP(e){return Array.from(e.getClientRects())}function sP(e){const t=si(e),n=Gh(e),r=e.ownerDocument.body,a=jr(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=jr(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let o=-n.scrollLeft+Yh(e);const u=-n.scrollTop;return Ca(r).direction==="rtl"&&(o+=jr(t.clientWidth,r.clientWidth)-a),{width:a,height:s,x:o,y:u}}const v5=25;
vendor: 4,821 bytes, line 50
50function oP(e,t){const n=$r(e),r=si(e),a=n.visualViewport;let s=r.clientWidth,o=r.clientHeight,u=0,c=0;if(a){s=a.width,o=a.height;const p=Xb();(!p||p&&t==="fixed")&&(u=a.offsetLeft,c=a.offsetTop)}const f=Yh(r);if(f<=0){const p=r.ownerDocument,m=p.body,b=getComputedStyle(m),y=p.compatMode==="CSS1Compat"&&parseFloat(b.marginLeft)+parseFloat(b.marginRight)||0,_=Math.abs(r.clientWidth-m.clientWidth-y);_<=v5&&(s-=_)}else f<=v5&&(s+=f);return{width:s,height:o,x:u,y:c}}const lP=new Set(["absolute","fixed"]);function uP(e,t){const n=Oo(e,!0,t==="fixed"),r=n.top+e.clientTop,a=n.left+e.clientLeft,s=ai(e)?Wl(e):ni(1),o=e.clientWidth*s.x,u=e.clientHeight*s.y,c=a*s.x,f=r*s.y;return{width:o,height:u,x:c,y:f}}function x5(e,t,n){let r;if(t==="viewport")r=oP(e,n);else if(t==="document")r=sP(si(e));else if(Aa(t))r=uP(t,n);else{const a=aT(e);r={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return eh(r)}function sT(e,t){const n=js(e);return n===t||!Aa(n)||au(n)?!1:Ca(n).position==="fixed"||sT(n,t)}function cP(e,t){const n=t.get(e);if(n)return n;let r=s0(e,[],!1).filter(u=>Aa(u)&&hu(u)!=="body"),a=null;const s=Ca(e).position==="fixed";let o=s?js(e):e;for(;Aa(o)&&!au(o);){const u=Ca(o),c=Wb(o);!c&&u.position==="fixed"&&(a=null),(s?!c&&!a:!c&&u.position==="static"&&!!a&&lP.has(a.position)||T0(o)&&!c&&sT(e,o))?r=r.filter(p=>p!==o):a=u,o=js(o)}return t.set(e,r),r}function dP(e){let{element:t,boundary:n,rootBoundary:r,strategy:a}=e;const o=[...n==="clippingAncestors"?Vh(t)?[]:cP(t,this._c):[].concat(n),r],u=o[0],c=o.reduce((f,p)=>{const m=x5(t,p,a);return f.top=jr(m.top,f.top),f.right=Hs(m.right,f.right),f.bottom=Hs(m.bottom,f.bottom),f.left=jr(m.left,f.left),f},x5(t,u,a));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function fP(e){const{width:t,height:n}=rT(e);return{width:t,height:n}}function hP(e,t,n){const r=ai(t),a=si(t),s=n==="fixed",o=Oo(e,!0,s,t);let u={scrollLeft:0,scrollTop:0};const c=ni(0);function f(){c.x=Yh(a)}if(r||!r&&!s)if((hu(t)!=="body"||T0(a))&&(u=Gh(t)),r){const y=Oo(t,!0,s,t);c.x=y.x+t.clientLeft,c.y=y.y+t.clientTop}else a&&f();s&&!r&&a&&f();const p=a&&!r&&!s?iT(a,u):ni(0),m=o.left+u.scrollLeft-c.x-p.x,b=o.top+u.scrollTop-c.y-p.y;return{x:m,y:b,width:o.width,height:o.height}}function ng(e){return Ca(e).position==="static"}function E5(e,t){if(!ai(e)||Ca(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return si(e)===n&&(n=n.ownerDocument.body),n}function oT(e,t){const n=$r(e);if(Vh(e))return n;if(!ai(e)){let a=js(e);for(;a&&!au(a);){if(Aa(a)&&!ng(a))return a;a=js(a)}return n}let r=E5(e,t);for(;r&&WM(r)&&ng(r);)r=E5(r,t);return r&&au(r)&&ng(r)&&!Wb(r)?n:r||eP(e)||n}const mP=async function(e){const t=this.getOffsetParent||oT,n=this.getDimensions,r=await n(e.floating);return{reference:hP(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function pP(e){return Ca(e).direction==="rtl"}const gP={convertOffsetParentRelativeRectToViewportRelativeRect:aP,getDocumentElement:si,getClippingRect:dP,getOffsetParent:oT,getElementRects:mP,getClientRects:iP,getDimensions:fP,getScale:Wl,isElement:Aa,isRTL:pP};function lT(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function bP(e,t){let n=null,r;const a=si(e);function s(){var u;clearTimeout(r),(u=n)==null||u.disconnect(),n=null}function o(u,c){u===void 0&&(u=!1),c===void 0&&(c=1),s();const f=e.getBoundingClientRect(),{left:p,top:m,width:b,height:y}=f;if(u||t(),!b||!y)return;const _=af(m),w=af(a.clientWidth-(p+b)),k=af(a.clientHeight-(m+y)),A=af(p),D={rootMargin:-_+"px "+-w+"px "+-k+"px "+-A+"px",threshold:jr(0,Hs(1,c))||1};let F=!0;function H(P){const z=P[0].intersectionRatio;if(z!==c){if(!F)return o();z?o(!1,z):r=setTimeout(()=>{o(!1,1e-7)},1e3)}z===1&&!lT(f,e.getBoundingClientRect())&&o(),F=!1}try{n=new IntersectionObserver(H,{...D,root:a.ownerDocument})}catch{n=new IntersectionObserver(H,D)}n.observe(e)}return o(!0),s}function yP(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:a=!0,ancestorResize:s=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:u=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,f=Kb(e),p=a||s?[...f?s0(f):[],...s0(t)]:[];p.forEach(A=>{a&&A.addEventListener("scroll",n,{passive:!0}),s&&A.addEventListener("resize",n)});const m=f&&u?bP(f,n):null;let b=-1,y=null;o&&(y=new ResizeObserver(A=>{let[R]=A;R&&R.target===f&&y&&(y.unobserve(t),cancelAnimationFrame(b),b=requestAnimationFrame(()=>{var D;(D=y)==null||D.observe(t)})),n()}),f&&!c&&y.observe(f),y.observe(t));let _,w=c?Oo(e):null;c&&k();function k(){const A=Oo(e);w&&!lT(w,A)&&n(),w=A,_=requestAnimationFrame(k)}return n(),()=>{var A;p.forEach(R=>{a&&R.removeEventListener("scroll",n),s&&R.removeEventListener("resize",n)}),m?.(),(A=y)==null||A.disconnect(),y=null,c&&cancelAnimationFrame(_)}}
vendor: 2,953 bytes, line 50
50const vP=qM,xP=$M,EP=jM,_P=GM,TP=FM,_5=HM,wP=VM,SP=(e,t,n)=>{const r=new Map,a={platform:gP,...n},s={...a.platform,_c:r};return zM(e,t,{...a,platform:s})};var AP=typeof document<"u",CP=function(){},jf=AP?N.useLayoutEffect:CP;function th(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,a;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!th(e[r],t[r]))return!1;return!0}if(a=Object.keys(e),n=a.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,a[r]))return!1;for(r=n;r--!==0;){const s=a[r];if(!(s==="_owner"&&e.$$typeof)&&!th(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function uT(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function T5(e,t){const n=uT(e);return Math.round(t*n)/n}function rg(e){const t=N.useRef(e);return jf(()=>{t.current=e}),t}function kP(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:a,elements:{reference:s,floating:o}={},transform:u=!0,whileElementsMounted:c,open:f}=e,[p,m]=N.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[b,y]=N.useState(r);th(b,r)||y(r);const[_,w]=N.useState(null),[k,A]=N.useState(null),R=N.useCallback(te=>{te!==P.current&&(P.current=te,w(te))},[]),D=N.useCallback(te=>{te!==z.current&&(z.current=te,A(te))},[]),F=s||_,H=o||k,P=N.useRef(null),z=N.useRef(null),K=N.useRef(p),ee=c!=null,Y=rg(c),se=rg(a),re=rg(f),pe=N.useCallback(()=>{if(!P.current||!z.current)return;const te={placement:t,strategy:n,middleware:b};se.current&&(te.platform=se.current),SP(P.current,z.current,te).then(Oe=>{const U={...Oe,isPositioned:re.current!==!1};ue.current&&!th(K.current,U)&&(K.current=U,$b.flushSync(()=>{m(U)}))})},[b,t,n,se,re]);jf(()=>{f===!1&&K.current.isPositioned&&(K.current.isPositioned=!1,m(te=>({...te,isPositioned:!1})))},[f]);const ue=N.useRef(!1);jf(()=>(ue.current=!0,()=>{ue.current=!1}),[]),jf(()=>{if(F&&(P.current=F),H&&(z.current=H),F&&H){if(Y.current)return Y.current(F,H,pe);pe()}},[F,H,pe,Y,ee]);const be=N.useMemo(()=>({reference:P,floating:z,setReference:R,setFloating:D}),[R,D]),G=N.useMemo(()=>({reference:F,floating:H}),[F,H]),ae=N.useMemo(()=>{const te={position:n,left:0,top:0};if(!G.floating)return te;const Oe=T5(G.floating,p.x),U=T5(G.floating,p.y);return u?{...te,transform:"translate("+Oe+"px, "+U+"px)",...uT(G.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:Oe,top:U}},[n,u,G.floating,p.x,p.y]);return N.useMemo(()=>({...p,update:pe,refs:be,elements:G,floatingStyles:ae}),[p,pe,be,G,ae])}const NP=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:a}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?_5({element:r.current,padding:a}).fn(n):{}:r?_5({element:r,padding:a}).fn(n):{}}}},RP=(e,t)=>
vendor: 9,023 bytes, line 50
50({...vP(e),options:[e,t]}),OP=(e,t)=>({...xP(e),options:[e,t]}),DP=(e,t)=>({...wP(e),options:[e,t]}),IP=(e,t)=>({...EP(e),options:[e,t]}),LP=(e,t)=>({..._P(e),options:[e,t]}),MP=(e,t)=>({...TP(e),options:[e,t]}),PP=(e,t)=>({...NP(e),options:[e,t]});var BP="Arrow",cT=N.forwardRef((e,t)=>{const{children:n,width:r=10,height:a=5,...s}=e;return x.jsx(Bt.svg,{...s,ref:t,width:r,height:a,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:x.jsx("polygon",{points:"0,0 30,0 15,10"})})});cT.displayName=BP;var zP=cT;function dT(e){const[t,n]=N.useState(void 0);return ri(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(a=>{if(!Array.isArray(a)||!a.length)return;const s=a[0];let o,u;if("borderBoxSize"in s){const c=s.borderBoxSize,f=Array.isArray(c)?c[0]:c;o=f.inlineSize,u=f.blockSize}else o=e.offsetWidth,u=e.offsetHeight;n({width:o,height:u})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var fT="Popper",[hT,mT]=Vs(fT),[fse,pT]=hT(fT),gT="PopperAnchor",bT=N.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...a}=e,s=pT(gT,n),o=N.useRef(null),u=Kt(t,o),c=N.useRef(null);return N.useEffect(()=>{const f=c.current;c.current=r?.current||o.current,f!==c.current&&s.onAnchorChange(c.current)}),r?null:x.jsx(Bt.div,{...a,ref:u})});bT.displayName=gT;var Zb="PopperContent",[HP,jP]=hT(Zb),yT=N.forwardRef((e,t)=>{const{__scopePopper:n,side:r="bottom",sideOffset:a=0,align:s="center",alignOffset:o=0,arrowPadding:u=0,avoidCollisions:c=!0,collisionBoundary:f=[],collisionPadding:p=0,sticky:m="partial",hideWhenDetached:b=!1,updatePositionStrategy:y="optimized",onPlaced:_,...w}=e,k=pT(Zb,n),[A,R]=N.useState(null),D=Kt(t,Me=>R(Me)),[F,H]=N.useState(null),P=dT(F),z=P?.width??0,K=P?.height??0,ee=r+(s!=="center"?"-"+s:""),Y=typeof p=="number"?p:{top:0,right:0,bottom:0,left:0,...p},se=Array.isArray(f)?f:[f],re=se.length>0,pe={padding:Y,boundary:se.filter(UP),altBoundary:re},{refs:ue,floatingStyles:be,placement:G,isPositioned:ae,middlewareData:te}=kP({strategy:"fixed",placement:ee,whileElementsMounted:(...Me)=>yP(...Me,{animationFrame:y==="always"}),elements:{reference:k.anchor},middleware:[RP({mainAxis:a+K,alignmentAxis:o}),c&&OP({mainAxis:!0,crossAxis:!1,limiter:m==="partial"?DP():void 0,...pe}),c&&IP({...pe}),LP({...pe,apply:({elements:Me,rects:Ue,availableWidth:Ke,availableHeight:Ct})=>{const{width:Zt,height:sn}=Ue.reference,Rr=Me.floating.style;Rr.setProperty("--radix-popper-available-width",`${Ke}px`),Rr.setProperty("--radix-popper-available-height",`${Ct}px`),Rr.setProperty("--radix-popper-anchor-width",`${Zt}px`),Rr.setProperty("--radix-popper-anchor-height",`${sn}px`)}}),F&&PP({element:F,padding:u}),qP({arrowWidth:z,arrowHeight:K}),b&&MP({strategy:"referenceHidden",...pe})]}),[Oe,U]=ET(G),$=Ur(_);ri(()=>{ae&&$?.()},[ae,$]);const ce=te.arrow?.x,I=te.arrow?.y,he=te.arrow?.centerOffset!==0,[_e,De]=N.useState();return ri(()=>{A&&De(window.getComputedStyle(A).zIndex)},[A]),x.jsx("div",{ref:ue.setFloating,"data-radix-popper-content-wrapper":"",style:{...be,transform:ae?be.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:_e,"--radix-popper-transform-origin":[te.transformOrigin?.x,te.transformOrigin?.y].join(" "),...te.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:x.jsx(HP,{scope:n,placedSide:Oe,onArrowChange:H,arrowX:ce,arrowY:I,shouldHideArrow:he,children:x.jsx(Bt.div,{"data-side":Oe,"data-align":U,...w,ref:D,style:{...w.style,animation:ae?void 0:"none"}})})})});yT.displayName=Zb;var vT="PopperArrow",FP={top:"bottom",right:"left",bottom:"top",left:"right"},xT=N.forwardRef(function(t,n){const{__scopePopper:r,...a}=t,s=jP(vT,r),o=FP[s.placedSide];return x.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:x.jsx(zP,{...a,ref:n,style:{...a.style,display:"block"}})})});xT.displayName=vT;function UP(e){return e!==null}var qP=e=>({name:"transformOrigin",options:e,fn(t){const{placement:n,rects:r,middlewareData:a}=t,o=a.arrow?.centerOffset!==0,u=o?0:e.arrowWidth,c=o?0:e.arrowHeight,[f,p]=ET(n),m={start:"0%",center:"50%",end:"100%"}[p],b=(a.arrow?.x??0)+u/2,y=(a.arrow?.y??0)+c/2;let _="",w="";return f==="bottom"?(_=o?m:`${b}px`,w=`${-c}px`):f==="top"?(_=o?m:`${b}px`,w=`${r.floating.height+c}px`):f==="right"?(_=`${-c}px`,w=o?m:`${y}px`):f==="left"&&(_=`${r.floating.width+c}px`,w=o?m:`${y}px`),{data:{x:_,y:w}}}});function ET(e){const[t,n="center"]=e.split("-");return[t,n]}var $P=bT,VP=yT,GP=xT,YP="Portal",_T=N.forwardRef((e,t)=>{const{container:n,...r}=e,[a,s]=N.useState(!1);ri(()=>s(!0),[]);const o=n||a&&globalThis?.document?.body;return o?Q_.createPortal(x.jsx(Bt.div,{...r,ref:t}),o):null});_T.displayName=YP;function QP(e,t){return N.useReducer((n,r)=>t[n][r]??n,e)}var Na=e=>{const{present:t,children:n}=e,r=WP(t),a=typeof n=="function"?n({present:r.isPresent}):N.Children.only(n),s=Kt(r.ref,XP(a));return typeof n=="function"||r.isPresent?N.cloneElement(a,{ref:s}):null};Na.displayName="Presence";function WP(e){const[t,n]=N.useState(),r=N.useRef(null),a=N.useRef(e),s=N.useRef("none"),o=e?"mounted":"unmounted",[u,c]=QP(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return N.useEffect(()=>{const f=sf(r.current);s.current=u==="mounted"?f:"none"},[u]),ri(()=>{const f=r.current,p=a.current;if(p!==e){const b=s.current,y=sf(f);e?c("MOUNT"):y==="none"||f?.display==="none"?c("UNMOUNT"):c(p&&b!==y?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,c]),ri(()=>{if(t){let f;const p=t.ownerDocument.defaultView??window,m=y=>{const w=sf(r.current).includes(CSS.escape(y.animationName));if(y.target===t&&w&&(c("ANIMATION_END"),!a.current)){const k=t.style.animationFillMode;t.style.animationFillMode="forwards",f=p.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=k)})}},b=y=>{y.target===t&&(s.current=sf(r.current))};return t.addEventListener("animationstart",b),t.addEventListener("animationcancel",m),t.addEventListener("animationend",m),()=>{p.clearTimeout(f),t.removeEventListener("animationstart",b),t.removeEventListener("animationcancel",m),t.removeEventListener("animationend",m)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:N.useCallback(f=>{r.current=f?getComputedStyle(f):null,n(f)},[])}}function sf(e){return e?.animationName||"none"}function XP(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var KP=Bh[" useInsertionEffect ".trim().toString()]||ri;function w0({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[a,s,o]=ZP({defaultProp:t,onChange:n}),u=e!==void 0,c=u?e:a;{const p=N.useRef(e!==void 0);N.useEffect(()=>{const m=p.current;m!==u&&console.warn(`${r} is changing from ${m?"controlled":"uncontrolled"} to ${u?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),p.current=u},[u,r])}const f=N.useCallback(p=>{if(u){const m=JP(p)?p(e):p;m!==e&&o.current?.(m)}else s(p)},[u,e,s,o]);return[c,f]}function ZP({defaultProp:e,onChange:t}){const[n,r]=N.useState(e),a=N.useRef(n),s=N.useRef(t);return KP(()=>{s.current=t},[t]),N.useEffect(()=>{a.current!==n&&(s.current?.(n),a.current=n)},[n,a]),[n,r,s]}function JP(e){return typeof e=="function"}var eB=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),tB="VisuallyHidden",TT=N.forwardRef((e,t)=>x.jsx(Bt.span,{...e,ref:t,style:{...eB,...e.style}}));TT.displayName=tB;var nB=TT,[Qh]=Vs("Tooltip",[mT]),Jb=mT(),wT="TooltipProvider",rB=700,w5="tooltip.open",[aB,ST]=Qh(wT),AT=e=>{const{__scopeTooltip:t,delayDuration:n=rB,skipDelayDuration:r=300,disableHoverableContent:a=!1,children:s}=e,o=N.useRef(!0),u=N.useRef(!1),c=N.useRef(0);return N.useEffect(()=>{const f=c.current;return()=>window.clearTimeout(f)},[]),x.jsx(aB,{scope:t,isOpenDelayedRef:o,delayDuration:n,onOpen:N.useCallback(()=>{window.clearTimeout(c.current),o.current=!1},[]),onClose:N.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>o.current=!0,r)},[r]),isPointerInTransitRef:u,onPointerInTransitChange:N.useCallback(f=>{u.current=f},[]),disableHoverableContent:a,children:s})};AT.displayName=wT;var CT="Tooltip",[hse,Wh]=Qh(CT),I2="TooltipTrigger",iB=N.forwardRef((e,t)=>
vendor: 12,915 bytes, line 50
50{const{__scopeTooltip:n,...r}=e,a=Wh(I2,n),s=ST(I2,n),o=Jb(n),u=N.useRef(null),c=Kt(t,u,a.onTriggerChange),f=N.useRef(!1),p=N.useRef(!1),m=N.useCallback(()=>f.current=!1,[]);return N.useEffect(()=>()=>document.removeEventListener("pointerup",m),[m]),x.jsx($P,{asChild:!0,...o,children:x.jsx(Bt.button,{"aria-describedby":a.open?a.contentId:void 0,"data-state":a.stateAttribute,...r,ref:c,onPointerMove:qt(e.onPointerMove,b=>{b.pointerType!=="touch"&&!p.current&&!s.isPointerInTransitRef.current&&(a.onTriggerEnter(),p.current=!0)}),onPointerLeave:qt(e.onPointerLeave,()=>{a.onTriggerLeave(),p.current=!1}),onPointerDown:qt(e.onPointerDown,()=>{a.open&&a.onClose(),f.current=!0,document.addEventListener("pointerup",m,{once:!0})}),onFocus:qt(e.onFocus,()=>{f.current||a.onOpen()}),onBlur:qt(e.onBlur,a.onClose),onClick:qt(e.onClick,a.onClose)})})});iB.displayName=I2;var sB="TooltipPortal",[mse,oB]=Qh(sB,{forceMount:void 0}),iu="TooltipContent",lB=N.forwardRef((e,t)=>{const n=oB(iu,e.__scopeTooltip),{forceMount:r=n.forceMount,side:a="top",...s}=e,o=Wh(iu,e.__scopeTooltip);return x.jsx(Na,{present:r||o.open,children:o.disableHoverableContent?x.jsx(kT,{side:a,...s,ref:t}):x.jsx(uB,{side:a,...s,ref:t})})}),uB=N.forwardRef((e,t)=>{const n=Wh(iu,e.__scopeTooltip),r=ST(iu,e.__scopeTooltip),a=N.useRef(null),s=Kt(t,a),[o,u]=N.useState(null),{trigger:c,onClose:f}=n,p=a.current,{onPointerInTransitChange:m}=r,b=N.useCallback(()=>{u(null),m(!1)},[m]),y=N.useCallback((_,w)=>{const k=_.currentTarget,A={x:_.clientX,y:_.clientY},R=mB(A,k.getBoundingClientRect()),D=pB(A,R),F=gB(w.getBoundingClientRect()),H=yB([...D,...F]);u(H),m(!0)},[m]);return N.useEffect(()=>()=>b(),[b]),N.useEffect(()=>{if(c&&p){const _=k=>y(k,p),w=k=>y(k,c);return c.addEventListener("pointerleave",_),p.addEventListener("pointerleave",w),()=>{c.removeEventListener("pointerleave",_),p.removeEventListener("pointerleave",w)}}},[c,p,y,b]),N.useEffect(()=>{if(o){const _=w=>{const k=w.target,A={x:w.clientX,y:w.clientY},R=c?.contains(k)||p?.contains(k),D=!bB(A,o);R?b():D&&(b(),f())};return document.addEventListener("pointermove",_),()=>document.removeEventListener("pointermove",_)}},[c,p,o,f,b]),x.jsx(kT,{...e,ref:s})}),[cB,dB]=Qh(CT,{isInside:!1}),fB=dM("TooltipContent"),kT=N.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":a,onEscapeKeyDown:s,onPointerDownOutside:o,...u}=e,c=Wh(iu,n),f=Jb(n),{onClose:p}=c;return N.useEffect(()=>(document.addEventListener(w5,p),()=>document.removeEventListener(w5,p)),[p]),N.useEffect(()=>{if(c.trigger){const m=b=>{b.target?.contains(c.trigger)&&p()};return window.addEventListener("scroll",m,{capture:!0}),()=>window.removeEventListener("scroll",m,{capture:!0})}},[c.trigger,p]),x.jsx(Vb,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:o,onFocusOutside:m=>m.preventDefault(),onDismiss:p,children:x.jsxs(VP,{"data-state":c.stateAttribute,...f,...u,ref:t,style:{...u.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[x.jsx(fB,{children:r}),x.jsx(cB,{scope:n,isInside:!0,children:x.jsx(nB,{id:c.contentId,role:"tooltip",children:a||r})})]})})});lB.displayName=iu;var NT="TooltipArrow",hB=N.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,a=Jb(n);return dB(NT,n).isInside?null:x.jsx(GP,{...a,...r,ref:t})});hB.displayName=NT;function mB(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),a=Math.abs(t.right-e.x),s=Math.abs(t.left-e.x);switch(Math.min(n,r,a,s)){case s:return"left";case a:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function pB(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function gB(e){const{top:t,right:n,bottom:r,left:a}=e;return[{x:a,y:t},{x:n,y:t},{x:n,y:r},{x:a,y:r}]}function bB(e,t){const{x:n,y:r}=e;let a=!1;for(let s=0,o=t.length-1;s<t.length;o=s++){const u=t[s],c=t[o],f=u.x,p=u.y,m=c.x,b=c.y;p>r!=b>r&&n<(m-f)*(r-p)/(b-p)+f&&(a=!a)}return a}function yB(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),vB(t)}function vB(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const a=e[r];for(;t.length>=2;){const s=t[t.length-1],o=t[t.length-2];if((s.x-o.x)*(a.y-o.y)>=(s.y-o.y)*(a.x-o.x))t.pop();else break}t.push(a)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const a=e[r];for(;n.length>=2;){const s=n[n.length-1],o=n[n.length-2];if((s.x-o.x)*(a.y-o.y)>=(s.y-o.y)*(a.x-o.x))n.pop();else break}n.push(a)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var xB=AT;function RT(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(n=RT(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function e4(){for(var e,t,n=0,r="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=RT(e))&&(r&&(r+=" "),r+=t);return r}const t4="-",EB=e=>{const t=TB(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:o=>{const u=o.split(t4);return u[0]===""&&u.length!==1&&u.shift(),OT(u,t)||_B(o)},getConflictingClassGroupIds:(o,u)=>{const c=n[o]||[];return u&&r[o]?[...c,...r[o]]:c}}},OT=(e,t)=>{if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),a=r?OT(e.slice(1),r):void 0;if(a)return a;if(t.validators.length===0)return;const s=e.join(t4);return t.validators.find(({validator:o})=>o(s))?.classGroupId},S5=/^\[(.+)\]$/,_B=e=>{if(S5.test(e)){const t=S5.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},TB=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const a in n)L2(n[a],r,a,t);return r},L2=(e,t,n,r)=>{e.forEach(a=>{if(typeof a=="string"){const s=a===""?t:A5(t,a);s.classGroupId=n;return}if(typeof a=="function"){if(wB(a)){L2(a(r),t,n,r);return}t.validators.push({validator:a,classGroupId:n});return}Object.entries(a).forEach(([s,o])=>{L2(o,A5(t,s),n,r)})})},A5=(e,t)=>{let n=e;return t.split(t4).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},wB=e=>e.isThemeGetter,SB=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const a=(s,o)=>{n.set(s,o),t++,t>e&&(t=0,r=n,n=new Map)};return{get(s){let o=n.get(s);if(o!==void 0)return o;if((o=r.get(s))!==void 0)return a(s,o),o},set(s,o){n.has(s)?n.set(s,o):a(s,o)}}},M2="!",P2=":",AB=P2.length,CB=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=a=>{const s=[];let o=0,u=0,c=0,f;for(let _=0;_<a.length;_++){let w=a[_];if(o===0&&u===0){if(w===P2){s.push(a.slice(c,_)),c=_+AB;continue}if(w==="/"){f=_;continue}}w==="["?o++:w==="]"?o--:w==="("?u++:w===")"&&u--}const p=s.length===0?a:a.substring(c),m=kB(p),b=m!==p,y=f&&f>c?f-c:void 0;return{modifiers:s,hasImportantModifier:b,baseClassName:m,maybePostfixModifierPosition:y}};if(t){const a=t+P2,s=r;r=o=>o.startsWith(a)?s(o.substring(a.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:o,maybePostfixModifierPosition:void 0}}if(n){const a=r;r=s=>n({className:s,parseClassName:a})}return r},kB=e=>e.endsWith(M2)?e.substring(0,e.length-1):e.startsWith(M2)?e.substring(1):e,NB=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(r=>[r,!0]));return r=>{if(r.length<=1)return r;const a=[];let s=[];return r.forEach(o=>{o[0]==="["||t[o]?(a.push(...s.sort(),o),s=[]):s.push(o)}),a.push(...s.sort()),a}},RB=e=>({cache:SB(e.cacheSize),parseClassName:CB(e),sortModifiers:NB(e),...EB(e)}),OB=/\s+/,DB=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:a,sortModifiers:s}=t,o=[],u=e.trim().split(OB);let c="";for(let f=u.length-1;f>=0;f-=1){const p=u[f],{isExternal:m,modifiers:b,hasImportantModifier:y,baseClassName:_,maybePostfixModifierPosition:w}=n(p);if(m){c=p+(c.length>0?" "+c:c);continue}let k=!!w,A=r(k?_.substring(0,w):_);if(!A){if(!k){c=p+(c.length>0?" "+c:c);continue}if(A=r(_),!A){c=p+(c.length>0?" "+c:c);continue}k=!1}const R=s(b).join(":"),D=y?R+M2:R,F=D+A;if(o.includes(F))continue;o.push(F);const H=a(A,k);for(let P=0;P<H.length;++P){const z=H[P];o.push(D+z)}c=p+(c.length>0?" "+c:c)}return c};function IB(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=DT(t))&&(r&&(r+=" "),r+=n);return r}const DT=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=DT(e[r]))&&(n&&(n+=" "),n+=t);return n};function LB(e,...t){let n,r,a,s=o;function o(c){const f=t.reduce((p,m)=>m(p),e());return n=RB(f),r=n.cache.get,a=n.cache.set,s=u,u(c)}function u(c){const f=r(c);if(f)return f;const p=DB(c,n);return a(c,p),p}return function(){return s(IB.apply(null,arguments))}}const An=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},IT=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,LT=/^\((?:(\w[\w-]*):)?(.+)\)$/i,MB=/^\d+\/\d+$/,PB=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,BB=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,zB=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,HB=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,jB=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Ll=e=>MB.test(e),ot=e=>!!e&&!Number.isNaN(Number(e)),_s=e=>!!e&&Number.isInteger(Number(e)),ag=e=>e.endsWith("%")&&ot(e.slice(0,-1)),Oi=e=>PB.test(e),FB=()=>!0,UB=e=>BB.test(e)&&!zB.test(e),MT=()=>!1,qB=e=>HB.test(e),$B=e=>jB.test(e),VB=e=>!je(e)&&!Fe(e),GB=e=>mu(e,zT,MT),je=e=>IT.test(e),go=e=>mu(e,HT,UB),ig=e=>mu(e,KB,ot),C5=e=>mu(e,PT,MT),YB=e=>mu(e,BT,$B),of=e=>mu(e,jT,qB),Fe=e=>LT.test(e),xc=e=>pu(e,HT),QB=e=>pu(e,ZB),k5=e=>pu(e,PT),WB=e=>pu(e,zT),XB=e=>pu(e,BT),lf=e=>pu(e,jT,!0),mu=(e,t,n)=>{const r=IT.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},pu=(e,t,n=!1)=>{const r=LT.exec(e);return r?r[1]?t(r[1]):n:!1},PT=e=>e==="position"||e==="percentage",BT=e=>e==="image"||e==="url",zT=e=>e==="length"||e==="size"||e==="bg-size",HT=e=>e==="length",KB=e=>e==="number",ZB=e=>e==="family-name",jT=e=>e==="shadow",JB=()=>{const e=An("color"),t=An("font"),n=An("text"),r=An("font-weight"),a=An("tracking"),s=An("leading"),o=An("breakpoint"),u=An("container"),c=An("spacing"),f=An("radius"),p=An("shadow"),m=An("inset-shadow"),b=An("text-shadow"),y=An("drop-shadow"),_=An("blur"),w=An("perspective"),k=An("aspect"),A=An("ease"),R=An("animate"),D=()=>["auto","avoid","all","avoid-page","page","left","right","column"],F=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],H=()=>[...F(),Fe,je],P=()=>["auto","hidden","clip","visible","scroll"],z=()=>["auto","contain","none"],K=()=>[Fe,je,c],ee=()=>[Ll,"full","auto",...K()],Y=()=>[_s,"none","subgrid",Fe,je],se=()=>["auto",{span:["full",_s,Fe,je]},_s,Fe,je],re=()=>[_s,"auto",Fe,je],pe=()=>["auto","min","max","fr",Fe,je],ue=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],be=()=>["start","end","center","stretch","center-safe","end-safe"],G=()=>["auto",...K()],ae=()=>[Ll,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...K()],te=()=>[e,Fe,je],Oe=()=>[...F(),k5,C5,{position:[Fe,je]}],U=()=>["no-repeat",{repeat:["","x","y","space","round"]}],$=()=>["auto","cover","contain",WB,GB,{size:[Fe,je]}],ce=()=>[ag,xc,go],I=()=>["","none","full",f,Fe,je],he=()=>["",ot,xc,go],_e=()=>["solid","dashed","dotted","double"],De=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Me=()=>[ot,ag,k5,C5],Ue=()=>["","none",_,Fe,je],Ke=()=>["none",ot,Fe,je],Ct=()=>["none",ot,Fe,je],Zt=()=>[ot,Fe,je],sn=()=>[Ll,"full",...K()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Oi],breakpoint:[Oi],color:[FB],container:[Oi],"drop-shadow":[Oi],ease:["in","out","in-out"],font:[VB],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Oi],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Oi],shadow:[Oi],spacing:["px",ot],text:[Oi],"text-shadow":[Oi],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Ll,je,Fe,k]}
vendor: 5,657 bytes, line 50
50],container:["container"],columns:[{columns:[ot,je,Fe,u]}],"break-after":[{"break-after":D()}],"break-before":[{"break-before":D()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:H()}],overflow:[{overflow:P()}],"overflow-x":[{"overflow-x":P()}],"overflow-y":[{"overflow-y":P()}],overscroll:[{overscroll:z()}],"overscroll-x":[{"overscroll-x":z()}],"overscroll-y":[{"overscroll-y":z()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:ee()}],"inset-x":[{"inset-x":ee()}],"inset-y":[{"inset-y":ee()}],start:[{start:ee()}],end:[{end:ee()}],top:[{top:ee()}],right:[{right:ee()}],bottom:[{bottom:ee()}],left:[{left:ee()}],visibility:["visible","invisible","collapse"],z:[{z:[_s,"auto",Fe,je]}],basis:[{basis:[Ll,"full","auto",u,...K()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[ot,Ll,"auto","initial","none",je]}],grow:[{grow:["",ot,Fe,je]}],shrink:[{shrink:["",ot,Fe,je]}],order:[{order:[_s,"first","last","none",Fe,je]}],"grid-cols":[{"grid-cols":Y()}],"col-start-end":[{col:se()}],"col-start":[{"col-start":re()}],"col-end":[{"col-end":re()}],"grid-rows":[{"grid-rows":Y()}],"row-start-end":[{row:se()}],"row-start":[{"row-start":re()}],"row-end":[{"row-end":re()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":pe()}],"auto-rows":[{"auto-rows":pe()}],gap:[{gap:K()}],"gap-x":[{"gap-x":K()}],"gap-y":[{"gap-y":K()}],"justify-content":[{justify:[...ue(),"normal"]}],"justify-items":[{"justify-items":[...be(),"normal"]}],"justify-self":[{"justify-self":["auto",...be()]}],"align-content":[{content:["normal",...ue()]}],"align-items":[{items:[...be(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...be(),{baseline:["","last"]}]}],"place-content":[{"place-content":ue()}],"place-items":[{"place-items":[...be(),"baseline"]}],"place-self":[{"place-self":["auto",...be()]}],p:[{p:K()}],px:[{px:K()}],py:[{py:K()}],ps:[{ps:K()}],pe:[{pe:K()}],pt:[{pt:K()}],pr:[{pr:K()}],pb:[{pb:K()}],pl:[{pl:K()}],m:[{m:G()}],mx:[{mx:G()}],my:[{my:G()}],ms:[{ms:G()}],me:[{me:G()}],mt:[{mt:G()}],mr:[{mr:G()}],mb:[{mb:G()}],ml:[{ml:G()}],"space-x":[{"space-x":K()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":K()}],"space-y-reverse":["space-y-reverse"],size:[{size:ae()}],w:[{w:[u,"screen",...ae()]}],"min-w":[{"min-w":[u,"screen","none",...ae()]}],"max-w":[{"max-w":[u,"screen","none","prose",{screen:[o]},...ae()]}],h:[{h:["screen","lh",...ae()]}],"min-h":[{"min-h":["screen","lh","none",...ae()]}],"max-h":[{"max-h":["screen","lh",...ae()]}],"font-size":[{text:["base",n,xc,go]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,Fe,ig]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",ag,je]}],"font-family":[{font:[QB,je,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[a,Fe,je]}],"line-clamp":[{"line-clamp":[ot,"none",Fe,ig]}],leading:[{leading:[s,...K()]}],"list-image":[{"list-image":["none",Fe,je]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Fe,je]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:te()}],"text-color":[{text:te()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[..._e(),"wavy"]}],"text-decoration-thickness":[{decoration:[ot,"from-font","auto",Fe,go]}],"text-decoration-color":[{decoration:te()}],"underline-offset":[{"underline-offset":[ot,"auto",Fe,je]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:K()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Fe,je]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Fe,je]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:Oe()}],"bg-repeat":[{bg:U()}],"bg-size":[{bg:$()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},_s,Fe,je],radial:["",Fe,je],conic:[_s,Fe,je]},XB,YB]}],"bg-color":[{bg:te()}],"gradient-from-pos":[{from:ce()}
50],"gradient-via-pos":[{via:ce()}],"gradient-to-pos":[{to:ce()}],"gradient-from":[{from:te()}],"gradient-via":[{via:te()}],"gradient-to":[{to:te()}],rounded:[{rounded:I()}],"rounded-s":[{"rounded-s":I()}],"rounded-e":[{"rounded-e":I()}],"rounded-t":[{"rounded-t":I()}],"rounded-r":[{"rounded-r":I()}],"rounded-b":[{"rounded-b":I()}],"rounded-l":[{"rounded-l":I()}],"rounded-ss":[{"rounded-ss":I()}],"rounded-se":[{"rounded-se":I()}],"rounded-ee":[{"rounded-ee":I()}],"rounded-es":[{"rounded-es":I()}],"rounded-tl":[{"rounded-tl":I()}],"rounded-tr":[{"rounded-tr":I()}],"rounded-br":[{"rounded-br":I()}],"rounded-bl":[{"rounded-bl":I()}],"border-w":[{border:he()}],"border-w-x":[{"border-x":he()}],"border-w-y":[{"border-y":he()}],"border-w-s":[{"border-s":he()}],"border-w-e":[{"border-e":he()}],"border-w-t":[{"border-t":he()}],"border-w-r":[{"border-r":he()}],"border-w-b":[{"border-b":he()}],"border-w-l":[{"border-l":he()}],"divide-x":[{"divide-x":he()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":he()}
vendor: 6,227 bytes, line 50
50],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[..._e(),"hidden","none"]}],"divide-style":[{divide:[..._e(),"hidden","none"]}],"border-color":[{border:te()}],"border-color-x":[{"border-x":te()}],"border-color-y":[{"border-y":te()}],"border-color-s":[{"border-s":te()}],"border-color-e":[{"border-e":te()}],"border-color-t":[{"border-t":te()}],"border-color-r":[{"border-r":te()}],"border-color-b":[{"border-b":te()}],"border-color-l":[{"border-l":te()}],"divide-color":[{divide:te()}],"outline-style":[{outline:[..._e(),"none","hidden"]}],"outline-offset":[{"outline-offset":[ot,Fe,je]}],"outline-w":[{outline:["",ot,xc,go]}],"outline-color":[{outline:te()}],shadow:[{shadow:["","none",p,lf,of]}],"shadow-color":[{shadow:te()}],"inset-shadow":[{"inset-shadow":["none",m,lf,of]}],"inset-shadow-color":[{"inset-shadow":te()}],"ring-w":[{ring:he()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:te()}],"ring-offset-w":[{"ring-offset":[ot,go]}],"ring-offset-color":[{"ring-offset":te()}],"inset-ring-w":[{"inset-ring":he()}],"inset-ring-color":[{"inset-ring":te()}],"text-shadow":[{"text-shadow":["none",b,lf,of]}],"text-shadow-color":[{"text-shadow":te()}],opacity:[{opacity:[ot,Fe,je]}],"mix-blend":[{"mix-blend":[...De(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":De()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[ot]}],"mask-image-linear-from-pos":[{"mask-linear-from":Me()}],"mask-image-linear-to-pos":[{"mask-linear-to":Me()}],"mask-image-linear-from-color":[{"mask-linear-from":te()}],"mask-image-linear-to-color":[{"mask-linear-to":te()}],"mask-image-t-from-pos":[{"mask-t-from":Me()}],"mask-image-t-to-pos":[{"mask-t-to":Me()}],"mask-image-t-from-color":[{"mask-t-from":te()}],"mask-image-t-to-color":[{"mask-t-to":te()}],"mask-image-r-from-pos":[{"mask-r-from":Me()}],"mask-image-r-to-pos":[{"mask-r-to":Me()}],"mask-image-r-from-color":[{"mask-r-from":te()}],"mask-image-r-to-color":[{"mask-r-to":te()}],"mask-image-b-from-pos":[{"mask-b-from":Me()}],"mask-image-b-to-pos":[{"mask-b-to":Me()}],"mask-image-b-from-color":[{"mask-b-from":te()}],"mask-image-b-to-color":[{"mask-b-to":te()}],"mask-image-l-from-pos":[{"mask-l-from":Me()}],"mask-image-l-to-pos":[{"mask-l-to":Me()}],"mask-image-l-from-color":[{"mask-l-from":te()}],"mask-image-l-to-color":[{"mask-l-to":te()}],"mask-image-x-from-pos":[{"mask-x-from":Me()}],"mask-image-x-to-pos":[{"mask-x-to":Me()}],"mask-image-x-from-color":[{"mask-x-from":te()}],"mask-image-x-to-color":[{"mask-x-to":te()}],"mask-image-y-from-pos":[{"mask-y-from":Me()}],"mask-image-y-to-pos":[{"mask-y-to":Me()}],"mask-image-y-from-color":[{"mask-y-from":te()}],"mask-image-y-to-color":[{"mask-y-to":te()}],"mask-image-radial":[{"mask-radial":[Fe,je]}],"mask-image-radial-from-pos":[{"mask-radial-from":Me()}],"mask-image-radial-to-pos":[{"mask-radial-to":Me()}],"mask-image-radial-from-color":[{"mask-radial-from":te()}],"mask-image-radial-to-color":[{"mask-radial-to":te()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":F()}],"mask-image-conic-pos":[{"mask-conic":[ot]}],"mask-image-conic-from-pos":[{"mask-conic-from":Me()}],"mask-image-conic-to-pos":[{"mask-conic-to":Me()}],"mask-image-conic-from-color":[{"mask-conic-from":te()}],"mask-image-conic-to-color":[{"mask-conic-to":te()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:Oe()}],"mask-repeat":[{mask:U()}],"mask-size":[{mask:$()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Fe,je]}],filter:[{filter:["","none",Fe,je]}],blur:[{blur:Ue()}],brightness:[{brightness:[ot,Fe,je]}],contrast:[{contrast:[ot,Fe,je]}],"drop-shadow":[{"drop-shadow":["","none",y,lf,of]}],"drop-shadow-color":[{"drop-shadow":te()}],grayscale:[{grayscale:["",ot,Fe,je]}],"hue-rotate":[{"hue-rotate":[ot,Fe,je]}],invert:[{invert:["",ot,Fe,je]}],saturate:[{saturate:[ot,Fe,je]}],sepia:[{sepia:["",ot,Fe,je]}],"backdrop-filter":[{"backdrop-filter":["","none",Fe,je]}],"backdrop-blur":[{"backdrop-blur":Ue()}],"backdrop-brightness":[{"backdrop-brightness":[ot,Fe,je]}],"backdrop-contrast":[{"backdrop-contrast":[ot,Fe,je]}],"backdrop-grayscale":[{"backdrop-grayscale":["",ot,Fe,je]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ot,Fe,je]}],"backdrop-invert":[{"backdrop-invert":["",ot,Fe,je]}],"backdrop-opacity":[{"backdrop-opacity":[ot,Fe,je]}],"backdrop-saturate":[{"backdrop-saturate":[ot,Fe,je]}],"backdrop-sepia":[{"backdrop-sepia":["",ot,Fe,je]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":K()}],"border-spacing-x":[{"border-spacing-x":K()}],"border-spacing-y":[{"border-spacing-y":K()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Fe,je]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[ot,"initial",Fe,je]}],ease:[{ease:["linear","initial",A,Fe,je]}],delay:[{delay:[ot,Fe,je]}],animate:[{animate:["none",R,Fe,je]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[w,Fe,je]}],"perspective-origin":[{"perspective-origin":H()}],rotate:[{rotate:Ke()}],"rotate-x":[{"rotate-x":Ke()}],"rotate-y":[{"rotate-y":Ke()}],"rotate-z":[{"rotate-z":Ke()}],scale:[{scale:Ct()}],"scale-x":[{"scale-x":Ct()}],"scale-y":[{"scale-y":Ct()}],"scale-z":[{"scale-z":Ct()}],"scale-3d":["scale-3d"],skew:[{skew:Zt()}],"skew-x":[{"skew-x":Zt()}],"skew-y":[{"skew-y":Zt()}],transform:[{transform:[Fe,je,"","none","gpu","cpu"]}],"transform-origin":[{origin:H()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:sn()}],"translate-x":[{"translate-x":sn()}],"translate-y":[{"translate-y":sn()}],"translate-z":[{"translate-z":sn()}],"translate-none":["translate-none"],accent:[{accent:te()}],appearance:[{appearance:["none","auto"]}
vendor: 4,907 bytes, line 50
50],"caret-color":[{caret:te()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Fe,je]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":K()}],"scroll-mx":[{"scroll-mx":K()}],"scroll-my":[{"scroll-my":K()}],"scroll-ms":[{"scroll-ms":K()}],"scroll-me":[{"scroll-me":K()}],"scroll-mt":[{"scroll-mt":K()}],"scroll-mr":[{"scroll-mr":K()}],"scroll-mb":[{"scroll-mb":K()}],"scroll-ml":[{"scroll-ml":K()}],"scroll-p":[{"scroll-p":K()}],"scroll-px":[{"scroll-px":K()}],"scroll-py":[{"scroll-py":K()}],"scroll-ps":[{"scroll-ps":K()}],"scroll-pe":[{"scroll-pe":K()}],"scroll-pt":[{"scroll-pt":K()}],"scroll-pr":[{"scroll-pr":K()}],"scroll-pb":[{"scroll-pb":K()}],"scroll-pl":[{"scroll-pl":K()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Fe,je]}],fill:[{fill:["none",...te()]}],"stroke-w":[{stroke:[ot,xc,go,ig]}],stroke:[{stroke:["none",...te()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},FT=LB(JB);function Tn(...e){return FT(e4(e))}function ez({delayDuration:e=0,...t}){return x.jsx(xB,{"data-loc":"client/src/components/ui/tooltip.tsx:11","data-slot":"tooltip-provider",delayDuration:e,...t})}const N5=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,R5=e4,tz=(e,t)=>n=>{var r;if(t?.variants==null)return R5(e,n?.class,n?.className);const{variants:a,defaultVariants:s}=t,o=Object.keys(a).map(f=>{const p=n?.[f],m=s?.[f];if(p===null)return null;
vendor: 14,731 bytes, lines 50-225
50const b=N5(p)||N5(m);return a[f][b]}),u=n&&Object.entries(n).reduce((f,p)=>{let[m,b]=p;return b===void 0||(f[m]=b),f},{}),c=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((f,p)=>{let{class:m,className:b,...y}=p;return Object.entries(y).every(_=>{let[w,k]=_;return Array.isArray(k)?k.includes({...s,...u}[w]):{...s,...u}[w]===k})?[...f,m,b]:f},[]);return R5(e,o,c,n?.class,n?.className)},nz=tz("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-transparent shadow-xs hover:bg-accent dark:bg-transparent dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9","icon-sm":"size-8","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}});function o0({className:e,variant:t,size:n,asChild:r=!1,...a}){const s=r?uM:"button";return x.jsx(s,{"data-loc":"client/src/components/ui/button.tsx:52","data-slot":"button",className:Tn(nz({variant:t,size:n,className:e})),...a})}function rz({className:e,...t}){return x.jsx("div",{"data-loc":"client/src/components/ui/card.tsx:7","data-slot":"card",className:Tn("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",e),...t})}function az({className:e,...t}){return x.jsx("div",{"data-loc":"client/src/components/ui/card.tsx:66","data-slot":"card-content",className:Tn("px-6",e),...t})}/**
51 * @license lucide-react v0.453.0 - ISC
52 *
53 * This source code is licensed under the ISC license.
54 * See the LICENSE file in the root directory of this source tree.
55 */const iz=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),UT=(...e)=>e.filter((t,n,r)=>!!t&&r.indexOf(t)===n).join(" ");/**
56 * @license lucide-react v0.453.0 - ISC
57 *
58 * This source code is licensed under the ISC license.
59 * See the LICENSE file in the root directory of this source tree.
60 */var sz={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
61 * @license lucide-react v0.453.0 - ISC
62 *
63 * This source code is licensed under the ISC license.
64 * See the LICENSE file in the root directory of this source tree.
65 */const oz=N.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:a="",children:s,iconNode:o,...u},c)=>N.createElement("svg",{ref:c,...sz,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:UT("lucide",a),...u},[...o.map(([f,p])=>N.createElement(f,p)),...Array.isArray(s)?s:[s]]));/**
66 * @license lucide-react v0.453.0 - ISC
67 *
68 * This source code is licensed under the ISC license.
69 * See the LICENSE file in the root directory of this source tree.
70 */const wt=(e,t)=>{const n=N.forwardRef(({className:r,...a},s)=>N.createElement(oz,{ref:s,iconNode:t,className:UT(`lucide-${iz(e)}`,r),...a}));return n.displayName=`${e}`,n};/**
71 * @license lucide-react v0.453.0 - ISC
72 *
73 * This source code is licensed under the ISC license.
74 * See the LICENSE file in the root directory of this source tree.
75 */const lz=wt("ArrowDownRight",[["path",{d:"m7 7 10 10",key:"1fmybs"}],["path",{d:"M17 7v10H7",key:"6fjiku"}]]);/**
76 * @license lucide-react v0.453.0 - ISC
77 *
78 * This source code is licensed under the ISC license.
79 * See the LICENSE file in the root directory of this source tree.
80 */const fn=wt("ArrowUpRight",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]);/**
81 * @license lucide-react v0.453.0 - ISC
82 *
83 * This source code is licensed under the ISC license.
84 * See the LICENSE file in the root directory of this source tree.
85 */const qT=wt("BadgeCheck",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
86 * @license lucide-react v0.453.0 - ISC
87 *
88 * This source code is licensed under the ISC license.
89 * See the LICENSE file in the root directory of this source tree.
90 */const uz=wt("Bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]);/**
91 * @license lucide-react v0.453.0 - ISC
92 *
93 * This source code is licensed under the ISC license.
94 * See the LICENSE file in the root directory of this source tree.
95 */const cz=wt("CalendarDays",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]]);/**
96 * @license lucide-react v0.453.0 - ISC
97 *
98 * This source code is licensed under the ISC license.
99 * See the LICENSE file in the root directory of this source tree.
100 */const dz=wt("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
101 * @license lucide-react v0.453.0 - ISC
102 *
103 * This source code is licensed under the ISC license.
104 * See the LICENSE file in the root directory of this source tree.
105 */const fz=wt("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
106 * @license lucide-react v0.453.0 - ISC
107 *
108 * This source code is licensed under the ISC license.
109 * See the LICENSE file in the root directory of this source tree.
110 */const hz=wt("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
111 * @license lucide-react v0.453.0 - ISC
112 *
113 * This source code is licensed under the ISC license.
114 * See the LICENSE file in the root directory of this source tree.
115 */const mz=wt("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/**
116 * @license lucide-react v0.453.0 - ISC
117 *
118 * This source code is licensed under the ISC license.
119 * See the LICENSE file in the root directory of this source tree.
120 */const $T=wt("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
121 * @license lucide-react v0.453.0 - ISC
122 *
123 * This source code is licensed under the ISC license.
124 * See the LICENSE file in the root directory of this source tree.
125 */const pz=wt("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);/**
126 * @license lucide-react v0.453.0 - ISC
127 *
128 * This source code is licensed under the ISC license.
129 * See the LICENSE file in the root directory of this source tree.
130 */const VT=wt("Facebook",[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]]);/**
131 * @license lucide-react v0.453.0 - ISC
132 *
133 * This source code is licensed under the ISC license.
134 * See the LICENSE file in the root directory of this source tree.
135 */const gz=wt("House",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"1d0kgt"}]]);/**
136 * @license lucide-react v0.453.0 - ISC
137 *
138 * This source code is licensed under the ISC license.
139 * See the LICENSE file in the root directory of this source tree.
140 */const bz=wt("Instagram",[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]]);/**
141 * @license lucide-react v0.453.0 - ISC
142 *
143 * This source code is licensed under the ISC license.
144 * See the LICENSE file in the root directory of this source tree.
145 */const B2=wt("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
146 * @license lucide-react v0.453.0 - ISC
147 *
148 * This source code is licensed under the ISC license.
149 * See the LICENSE file in the root directory of this source tree.
150 */const GT=wt("LockKeyhole",[["circle",{cx:"12",cy:"16",r:"1",key:"1au0dj"}],["rect",{x:"3",y:"10",width:"18",height:"12",rx:"2",key:"6s8ecr"}],["path",{d:"M7 10V7a5 5 0 0 1 10 0v3",key:"1pqi11"}]]);/**
151 * @license lucide-react v0.453.0 - ISC
152 *
153 * This source code is licensed under the ISC license.
154 * See the LICENSE file in the root directory of this source tree.
155 */const yz=wt("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/**
156 * @license lucide-react v0.453.0 - ISC
157 *
158 * This source code is licensed under the ISC license.
159 * See the LICENSE file in the root directory of this source tree.
160 */const O5=wt("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);/**
161 * @license lucide-react v0.453.0 - ISC
162 *
163 * This source code is licensed under the ISC license.
164 * See the LICENSE file in the root directory of this source tree.
165 */const vz=wt("MapPinned",[["path",{d:"M18 8c0 3.613-3.869 7.429-5.393 8.795a1 1 0 0 1-1.214 0C9.87 15.429 6 11.613 6 8a6 6 0 0 1 12 0",key:"11u0oz"}],["circle",{cx:"12",cy:"8",r:"2",key:"1822b1"}],["path",{d:"M8.714 14h-3.71a1 1 0 0 0-.948.683l-2.004 6A1 1 0 0 0 3 22h18a1 1 0 0 0 .948-1.316l-2-6a1 1 0 0 0-.949-.684h-3.712",key:"q8zwxj"}]]);/**
166 * @license lucide-react v0.453.0 - ISC
167 *
168 * This source code is licensed under the ISC license.
169 * See the LICENSE file in the root directory of this source tree.
170 */const xz=wt("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/**
171 * @license lucide-react v0.453.0 - ISC
172 *
173 * This source code is licensed under the ISC license.
174 * See the LICENSE file in the root directory of this source tree.
175 */const Xh=wt("MessageCircle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);/**
176 * @license lucide-react v0.453.0 - ISC
177 *
178 * This source code is licensed under the ISC license.
179 * See the LICENSE file in the root directory of this source tree.
180 */const Ez=wt("Navigation",[["polygon",{points:"3 11 22 2 13 21 11 13 3 11",key:"1ltx0t"}]]);/**
181 * @license lucide-react v0.453.0 - ISC
182 *
183 * This source code is licensed under the ISC license.
184 * See the LICENSE file in the root directory of this source tree.
185 */const _z=wt("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);/**
186 * @license lucide-react v0.453.0 - ISC
187 *
188 * This source code is licensed under the ISC license.
189 * See the LICENSE file in the root directory of this source tree.
190 */const Tz=wt("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);/**
191 * @license lucide-react v0.453.0 - ISC
192 *
193 * This source code is licensed under the ISC license.
194 * See the LICENSE file in the root directory of this source tree.
195 */const wz=wt("RotateCcw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);/**
196 * @license lucide-react v0.453.0 - ISC
197 *
198 * This source code is licensed under the ISC license.
199 * See the LICENSE file in the root directory of this source tree.
200 */const Sz=wt("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);/**
201 * @license lucide-react v0.453.0 - ISC
202 *
203 * This source code is licensed under the ISC license.
204 * See the LICENSE file in the root directory of this source tree.
205 */const Ff=wt("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);/**
206 * @license lucide-react v0.453.0 - ISC
207 *
208 * This source code is licensed under the ISC license.
209 * See the LICENSE file in the root directory of this source tree.
210 */const Az=wt("Star",[["polygon",{points:"12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2",key:"8f66p6"}]]);/**
211 * @license lucide-react v0.453.0 - ISC
212 *
213 * This source code is licensed under the ISC license.
214 * See the LICENSE file in the root directory of this source tree.
215 */const Cz=wt("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
216 * @license lucide-react v0.453.0 - ISC
217 *
218 * This source code is licensed under the ISC license.
219 * See the LICENSE file in the root directory of this source tree.
220 */const kz=wt("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);/**
221 * @license lucide-react v0.453.0 - ISC
222 *
223 * This source code is licensed under the ISC license.
224 * See the LICENSE file in the root directory of this source tree.
225 */const Nz=wt("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
225],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/**
226 * @license lucide-react v0.453.0 - ISC
227 *
228 * This source code is licensed under the ISC license.
229 * See the LICENSE file in the root directory of this source tree.
230 */const YT=wt("Youtube",[["path",{d:"M2.5 17a24.12 24.12 0 0 1 0-10 2 2 0 0 1 1.4-1.4 49.56 49.56 0 0 1 16.2 0A2 2 0 0 1 21.5 7a24.12 24.12 0 0 1 0 10 2 2 0 0 1-1.4 1.4 49.55 49.55 0 0 1-16.2 0A2 2 0 0 1 2.5 17",key:"1q2vi4"}],["path",{d:"m10 15 5-3-5-3z",key:"1jp15x"}]]);function Rz(e,t){if(e instanceof RegExp)return{keys:!1,pattern:e};var n,r,a,s,o=[],u="",c=e.split("/");for(c[0]||c.shift();a=c.shift();)n=a[0],n==="*"?(o.push(n),u+=a[1]==="?"?"(?:/(.*))?":"/(.*)"):n===":"?(r=a.indexOf("?",1),s=a.indexOf(".",1),o.push(a.substring(1,~r?r:~s?s:a.length)),u+=~r&&!~s?"(?:/([^/]+?))?":"/([^/]+?)",~s&&(u+=(~r?"?":"")+"\\"+a.substring(s))):u+="/"+a;return{keys:o,pattern:new RegExp("^"+u+(t?"(?=$|/)":"/?$"),"i")}}var sg={exports:{}},og={};/**
231 * @license React
232 * use-sync-external-store-shim.production.js
233 *
234 * Copyright (c) Meta Platforms, Inc. and affiliates.
235 *
236 * This source code is licensed under the MIT license found in the
237 * LICENSE file in the root directory of this source tree.
238 */var D5;function Oz(){if(D5)return og;D5=1;var e=Ph();function t(m,b){return m===b&&(m!==0||1/m===1/b)||m!==m&&b!==b}var n=typeof Object.is=="function"?Object.is:t,r=e.useState,a=e.useEffect,s=e.useLayoutEffect,o=e.useDebugValue;function u(m,b){var y=b(),_=r({inst:{value:y,getSnapshot:b}}),w=_[0].inst,k=_[1];return s(function(){w.value=y,w.getSnapshot=b,c(w)&&k({inst:w})},[m,y,b]),a(function(){return c(w)&&k({inst:w}),m(function(){c(w)&&k({inst:w})})},[m]),o(y),y}function c(m){var b=m.getSnapshot;m=m.value;try{var y=b();return!n(m,y)}catch{return!0}}function f(m,b){return b()}var p=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?f:u;return og.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:p,og}var I5;function Dz(){return I5||(I5=1,sg.exports=Oz()),sg.exports}var Iz=Dz();const Lz=Bh.useInsertionEffect,Mz=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Pz=Mz?N.useLayoutEffect:N.useEffect,Bz=Lz||Pz,QT=e=>{const t=N.useRef([e,(...n)=>t[0](...n)]).current;return Bz(()=>{t[0]=e}),t[1]},zz="popstate",n4="pushState",r4="replaceState",Hz="hashchange",L5=[zz,n4,r4,Hz],jz=e=>{for(const t of L5)addEventListener(t,e);return()=>{for(const t of L5)removeEventListener(t,e)}},WT=(e,t)=>Iz.useSyncExternalStore(jz,e,t),Fz=()=>location.search,Uz=({ssrSearch:e=""}={})=>WT(Fz,()=>e),M5=()=>location.pathname,qz=({ssrPath:e}={})=>WT(M5,e?()=>e:M5),$z=(e,{replace:t=!1,state:n=null}={})=>history[t?r4:n4](n,"",e),Vz=(e={})=>[qz(e),$z],P5=Symbol.for("wouter_v3");if(typeof history<"u"&&typeof window[P5]>"u"){for(const e of[n4,r4]){const t=history[e];history[e]=function(){const n=t.apply(this,arguments),r=new Event(e);return r.arguments=arguments,dispatchEvent(r),n}}Object.defineProperty(window,P5,{value:!0})}const Gz=(e,t)=>t.toLowerCase().indexOf(e.toLowerCase())?"~"+t:t.slice(e.length)||"/",XT=(e="")=>e==="/"?"":e,Yz=(e,t)=>e[0]==="~"?e.slice(1):XT(t)+e,Qz=(e="",t)=>Gz(B5(XT(e)),B5(t)),B5=e=>{try{return decodeURI(e)}catch{return e}},KT={hook:Vz,searchHook:Uz,parser:Rz,base:"",ssrPath:void 0,ssrSearch:void 0,ssrContext:void 0,hrefs:e=>e},ZT=N.createContext(KT),S0=()=>N.useContext(ZT),JT={},ew=N.createContext(JT),Wz=()=>N.useContext(ew),Kh=e=>{const[t,n]=e.hook(e);return[Qz(e.base,t),QT((r,a)=>n(Yz(r,e.base),a))]},Xz=()=>Kh(S0()),tw=(e,t,n,r)=>{const{pattern:a,keys:s}=t instanceof RegExp?{keys:!1,pattern:t}:e(t||"*",r),o=a.exec(n)||[],[u,...c]=o;return u!==void 0?[!0,(()=>{const f=s!==!1?Object.fromEntries(s.map((m,b)=>[m,c[b]])):o.groups;let p={...c};return f&&Object.assign(p,f),p})(),...r?[u]:[]]:[!1,null]},Kz=({children:e,...t})=>{const n=S0(),r=t.hook?KT:n;let a=r;const[s,o]=t.ssrPath?.split("?")??[];o&&(t.ssrSearch=o,t.ssrPath=s),t.hrefs=t.hrefs??t.hook?.hrefs;let u=N.useRef({}),c=u.current,f=c;for(let p in r){const m=p==="base"?r[p]+(t[p]||""):t[p]||r[p];c===f&&m!==f[p]&&(u.current=f={...f}),f[p]=m,(m!==r[p]||m!==a[p])&&(a=f)}return N.createElement(ZT.Provider,{value:a,children:e})},z5=({children:e,component:t},n)=>t?N.createElement(t,{params:n}):typeof e=="function"?e(n):e,Zz=e=>{let t=N.useRef(JT);const n=t.current;return t.current=Object.keys(e).length!==Object.keys(n).length||Object.entries(e).some(([r,a])=>a!==n[r])?e:n},lg=({path:e,nest:t,match:n,...r})=>{const a=S0(),[s]=Kh(a),[o,u,c]=n??tw(a.parser,e,s,t),f=Zz({...Wz(),...u});if(!o)return null;const p=c?N.createElement(Kz,{base:c},z5(r,f)):z5(r,f);return N.createElement(ew.Provider,{value:f,children:p})};N.forwardRef((e,t)=>
238{const n=S0(),[r,a]=Kh(n),{to:s="",href:o=s,onClick:u,asChild:c,children:f,className:p,replace:m,state:b,...y}=e,_=QT(k=>{k.ctrlKey||k.metaKey||k.altKey||k.shiftKey||k.button!==0||(u?.(k),k.defaultPrevented||(k.preventDefault(),a(o,e)))}),w=n.hrefs(o[0]==="~"?o.slice(1):n.base+o,n);return c&&N.isValidElement(f)?N.cloneElement(f,{onClick:_,href:w}):N.createElement("a",{...y,onClick:_,href:w,className:p?.call?p(r===o):p,children:f,ref:t})});const z2=e=>Array.isArray(e)?e.flatMap(t=>z2(t&&t.type===N.Fragment?t.props.children:t)):[e],Jz=({children:e,location:t})=>{const n=S0(),[r]=Kh(n);typeof window<"u"&&(window.__WOUTER_ROUTES__||(window.__WOUTER_ROUTES__=[]),z2(e).forEach(s=>{if(N.isValidElement(s)&&s.props.path){const o=s.props.path;window.__WOUTER_ROUTES__.includes(o)||window.__WOUTER_ROUTES__.push(o)}}));for(const a of z2(e)){let s=0;if(N.isValidElement(a)&&(s=tw(n.parser,a.props.path,t||r,a.props.nest))[0])return N.cloneElement(a,{match:s})}return null};function H5(){const[,e]=Xz(),t=()=>{e("/")};return x.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:14",className:"min-h-screen w-full flex items-center justify-center bg-gradient-to-br from-slate-50 to-slate-100",children:x.jsx(rz,{"data-loc":"client/src/pages/NotFound.tsx:15",className:"w-full max-w-lg mx-4 shadow-lg border-0 bg-white/80 backdrop-blur-sm",children:x.jsxs(az,{"data-loc":"client/src/pages/NotFound.tsx:16",className:"pt-8 pb-8 text-center",children:[x.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:17",className:"flex justify-center mb-6",children:x.jsxs("div",{"data-loc":"client/src/pages/NotFound.tsx:18",className:"relative",children:[x.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:19",className:"absolute inset-0 bg-red-100 rounded-full animate-pulse"}),x.jsx(mz,{"data-loc":"client/src/pages/NotFound.tsx:20",className:"relative h-16 w-16 text-red-500"})]})}),x.jsx("h1",{"data-loc":"client/src/pages/NotFound.tsx:24",className:"text-4xl font-bold text-slate-900 mb-2",children:"404"}),x.jsx("h2",{"data-loc":"client/src/pages/NotFound.tsx:26",className:"text-xl font-semibold text-slate-700 mb-4",children:"Page Not Found"}),x.jsxs("p",{"data-loc":"client/src/pages/NotFound.tsx:30",className:"text-slate-600 mb-8 leading-relaxed",children:["Sorry, the page you are looking for doesn't exist.",x.jsx("br",{"data-loc":"client/src/pages/NotFound.tsx:32"}),"It may have been moved or deleted."]}),x.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:36",id:"not-found-button-group",className:"flex flex-col sm:flex-row gap-3 justify-center",children:x.jsxs(o0,{"data-loc":"client/src/pages/NotFound.tsx:40",onClick:t,className:"bg-blue-600 hover:bg-blue-700 text-white px-6 py-2.5 rounded-lg transition-all duration-200 shadow-md hover:shadow-lg",children:[x.jsx(gz,{"data-loc":"client/src/pages/NotFound.tsx:44",className:"w-4 h-4 mr-2"}),"Go Home"]})})]})})})}const eH="https://wa.me/5493804505395?text=Hola%2C%20quisiera%20coordinar%20una%20consulta%20con%20el%20Estudio%20Jur%C3%ADdico%20Dr.%20Montaperto.";function tH(){return x.jsxs("a",{"data-loc":"client/src/components/GlobalWhatsApp.tsx:11",className:"whatsapp-fab",href:eH,target:"_blank",rel:"noreferrer","aria-label":"Enviar una consulta directa por WhatsApp",children:[x.jsx(Xh,{"data-loc":"client/src/components/GlobalWhatsApp.tsx:18","aria-hidden":"true",size:21,strokeWidth:1.8}),x.jsx("span",{"data-loc":"client/src/components/GlobalWhatsApp.tsx:19",children:"WhatsApp"})]})}class nH extends N.Component{constructor(t){super(t),this.state={hasError:!1,error:null}}static getDerivedStateFromError(t){return{hasError:!0,error:t}}render(){return this.state.hasError?x.jsx("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:27",className:"flex items-center justify-center min-h-screen p-8 bg-background",children:x.jsxs("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:28",className:"flex flex-col items-center w-full max-w-2xl p-8",children:[x.jsx(Cz,{"data-loc":"client/src/components/ErrorBoundary.tsx:29",size:48,className:"text-destructive mb-6 flex-shrink-0"}),x.jsx("h2",{"data-loc":"client/src/components/ErrorBoundary.tsx:34",className:"text-xl mb-4",children:"An unexpected error occurred."}),x.jsx("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:36",className:"p-4 w-full rounded bg-muted overflow-auto mb-6",children:x.jsx("pre",{"data-loc":"client/src/components/ErrorBoundary.tsx:37",className:"text-sm text-muted-foreground whitespace-break-spaces",children:this.state.error?.stack})}),x.jsxs("button",{"data-loc":"client/src/components/ErrorBoundary.tsx:42",onClick:()=>window.location.reload(),className:Tn("flex items-center gap-2 px-4 py-2 rounded-lg","bg-primary text-primary-foreground","hover:opacity-90 cursor-pointer"),children:[x.jsx(wz,{"data-loc":"client/src/components/ErrorBoundary.tsx:50",size:16}),"Reload Page"]})]})}):this.props.children}}const rH=N.createContext(void 0);function aH({children:e,defaultTheme:t="light",switchable:n=!1}){const[r,a]=N.useState(()=>n&&localStorage.getItem("theme")||t);N.useEffect(()=>{const o=document.documentElement;
vendor: 4,739 bytes, line 238
238r==="dark"?o.classList.add("dark"):o.classList.remove("dark"),n&&localStorage.setItem("theme",r)},[r,n]);const s=n?()=>{a(o=>o==="light"?"dark":"light")}:void 0;return x.jsx(rH.Provider,{"data-loc":"client/src/contexts/ThemeContext.tsx:52",value:{theme:r,toggleTheme:s,switchable:n},children:e})}function iH(e){const t=N.useRef({value:e,previous:e});return N.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var Zh="Checkbox",[sH]=Vs(Zh),[oH,a4]=sH(Zh);function lH(e){const{__scopeCheckbox:t,checked:n,children:r,defaultChecked:a,disabled:s,form:o,name:u,onCheckedChange:c,required:f,value:p="on",internal_do_not_use_render:m}=e,[b,y]=w0({prop:n,defaultProp:a??!1,onChange:c,caller:Zh}),[_,w]=N.useState(null),[k,A]=N.useState(null),R=N.useRef(!1),D=_?!!o||!!_.closest("form"):!0,F={checked:b,disabled:s,setChecked:y,control:_,setControl:w,name:u,form:o,value:p,hasConsumerStoppedPropagationRef:R,required:f,defaultChecked:Ms(a)?!1:a,isFormControl:D,bubbleInput:k,setBubbleInput:A};return x.jsx(oH,{scope:t,...F,children:uH(m)?m(F):r})}var nw="CheckboxTrigger",rw=N.forwardRef(({__scopeCheckbox:e,onKeyDown:t,onClick:n,...r},a)=>{const{control:s,value:o,disabled:u,checked:c,required:f,setControl:p,setChecked:m,hasConsumerStoppedPropagationRef:b,isFormControl:y,bubbleInput:_}=a4(nw,e),w=Kt(a,p),k=N.useRef(c);return N.useEffect(()=>{const A=s?.form;if(A){const R=()=>m(k.current);return A.addEventListener("reset",R),()=>A.removeEventListener("reset",R)}},[s,m]),x.jsx(Bt.button,{type:"button",role:"checkbox","aria-checked":Ms(c)?"mixed":c,"aria-required":f,"data-state":uw(c),"data-disabled":u?"":void 0,disabled:u,value:o,...r,ref:w,onKeyDown:qt(t,A=>{A.key==="Enter"&&A.preventDefault()}),onClick:qt(n,A=>{m(R=>Ms(R)?!0:!R),_&&y&&(b.current=A.isPropagationStopped(),b.current||A.stopPropagation())})})});rw.displayName=nw;var aw=N.forwardRef((e,t)=>{const{__scopeCheckbox:n,name:r,checked:a,defaultChecked:s,required:o,disabled:u,value:c,onCheckedChange:f,form:p,...m}=e;return x.jsx(lH,{__scopeCheckbox:n,checked:a,defaultChecked:s,disabled:u,required:o,onCheckedChange:f,name:r,form:p,value:c,internal_do_not_use_render:({isFormControl:b})=>x.jsxs(x.Fragment,{children:[x.jsx(rw,{...m,ref:t,__scopeCheckbox:n}),b&&x.jsx(lw,{__scopeCheckbox:n})]})})});aw.displayName=Zh;var iw="CheckboxIndicator",sw=N.forwardRef((e,t)=>{const{__scopeCheckbox:n,forceMount:r,...a}=e,s=a4(iw,n);return x.jsx(Na,{present:r||Ms(s.checked)||s.checked===!0,children:x.jsx(Bt.span,{"data-state":uw(s.checked),"data-disabled":s.disabled?"":void 0,...a,ref:t,style:{pointerEvents:"none",...e.style}})})});sw.displayName=iw;var ow="CheckboxBubbleInput",lw=N.forwardRef(({__scopeCheckbox:e,...t},n)=>{const{control:r,hasConsumerStoppedPropagationRef:a,checked:s,defaultChecked:o,required:u,disabled:c,name:f,value:p,form:m,bubbleInput:b,setBubbleInput:y}=a4(ow,e),_=Kt(n,y),w=iH(s),k=dT(r);N.useEffect(()=>{const R=b;if(!R)return;const D=window.HTMLInputElement.prototype,H=Object.getOwnPropertyDescriptor(D,"checked").set,P=!a.current;if(w!==s&&H){const z=new Event("click",{bubbles:P});R.indeterminate=Ms(s),H.call(R,Ms(s)?!1:s),R.dispatchEvent(z)}},[b,w,s,a]);const A=N.useRef(Ms(s)?!1:s);return x.jsx(Bt.input,{type:"checkbox","aria-hidden":!0,defaultChecked:o??A.current,required:u,disabled:c,name:f,value:p,form:m,...t,tabIndex:-1,ref:_,style:{...t.style,...k,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});lw.displayName=ow;function uH(e){return typeof e=="function"}function Ms(e){return e==="indeterminate"}function uw(e){return Ms(e)?"indeterminate":e?"checked":"unchecked"}function cw({className:e,...t}){return x.jsx(aw,{"data-loc":"client/src/components/ui/checkbox.tsx:12","data-slot":"checkbox",className:Tn("peer border-input dark:bg-input/30 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:data-[state=checked]:bg-primary data-[state=checked]:border-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive size-4 shrink-0 rounded-[4px] border shadow-xs transition-shadow outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",e),...t,children:x.jsx(sw,{"data-loc":"client/src/components/ui/checkbox.tsx:20","data-slot":"checkbox-indicator",className:"flex items-center justify-center text-current transition-none",children:x.jsx(dz,{"data-loc":"client/src/components/ui/checkbox.tsx:24",className:"size-3.5"})})})}var ug="focusScope.autoFocusOnMount",cg="focusScope.autoFocusOnUnmount",j5={bubbles:!1,cancelable:!0},cH="FocusScope",dw=N.forwardRef((e,t)=>
vendor: 4,124 bytes, line 238
238{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:a,onUnmountAutoFocus:s,...o}=e,[u,c]=N.useState(null),f=Ur(a),p=Ur(s),m=N.useRef(null),b=Kt(t,w=>c(w)),y=N.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;N.useEffect(()=>{if(r){let w=function(D){if(y.paused||!u)return;const F=D.target;u.contains(F)?m.current=F:Cs(m.current,{select:!0})},k=function(D){if(y.paused||!u)return;const F=D.relatedTarget;F!==null&&(u.contains(F)||Cs(m.current,{select:!0}))},A=function(D){if(document.activeElement===document.body)for(const H of D)H.removedNodes.length>0&&Cs(u)};document.addEventListener("focusin",w),document.addEventListener("focusout",k);const R=new MutationObserver(A);return u&&R.observe(u,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",w),document.removeEventListener("focusout",k),R.disconnect()}}},[r,u,y.paused]),N.useEffect(()=>{if(u){U5.add(y);const w=document.activeElement;if(!u.contains(w)){const A=new CustomEvent(ug,j5);u.addEventListener(ug,f),u.dispatchEvent(A),A.defaultPrevented||(dH(gH(fw(u)),{select:!0}),document.activeElement===w&&Cs(u))}return()=>{u.removeEventListener(ug,f),setTimeout(()=>{const A=new CustomEvent(cg,j5);u.addEventListener(cg,p),u.dispatchEvent(A),A.defaultPrevented||Cs(w??document.body,{select:!0}),u.removeEventListener(cg,p),U5.remove(y)},0)}}},[u,f,p,y]);const _=N.useCallback(w=>{if(!n&&!r||y.paused)return;const k=w.key==="Tab"&&!w.altKey&&!w.ctrlKey&&!w.metaKey,A=document.activeElement;if(k&&A){const R=w.currentTarget,[D,F]=fH(R);D&&F?!w.shiftKey&&A===F?(w.preventDefault(),n&&Cs(D,{select:!0})):w.shiftKey&&A===D&&(w.preventDefault(),n&&Cs(F,{select:!0})):A===R&&w.preventDefault()}},[n,r,y.paused]);return x.jsx(Bt.div,{tabIndex:-1,...o,ref:b,onKeyDown:_})});dw.displayName=cH;function dH(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Cs(r,{select:t}),document.activeElement!==n)return}function fH(e){const t=fw(e),n=F5(t,e),r=F5(t.reverse(),e);return[n,r]}function fw(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const a=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||a?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function F5(e,t){for(const n of e)if(!hH(n,{upTo:t}))return n}function hH(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function mH(e){return e instanceof HTMLInputElement&&"select"in e}function Cs(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&mH(e)&&t&&e.select()}}var U5=pH();function pH(){let e=[];return{add(t){const n=e[0];t!==n&&n?.pause(),e=q5(e,t),e.unshift(t)},remove(t){e=q5(e,t),e[0]?.resume()}}}function q5(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function gH(e){return e.filter(t=>t.tagName!=="A")}var dg=0;function bH(){N.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??$5()),document.body.insertAdjacentElement("beforeend",e[1]??$5()),dg++,()=>{dg===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),dg--}},[])}function $5(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var Xa=function(){return Xa=Object.assign||function(t){for(var n,r=1,a=arguments.length;r<a;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},Xa.apply(this,arguments)};function hw(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n}
vendor: 5,048 bytes, lines 238-253
238function yH(e,t,n){if(n||arguments.length===2)for(var r=0,a=t.length,s;r<a;r++)(s||!(r in t))&&(s||(s=Array.prototype.slice.call(t,0,r)),s[r]=t[r]);return e.concat(s||Array.prototype.slice.call(t))}var Uf="right-scroll-bar-position",qf="width-before-scroll-bar",vH="with-scroll-bars-hidden",xH="--removed-body-scroll-bar-size";function fg(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function EH(e,t){var n=N.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var a=n.value;a!==r&&(n.value=r,n.callback(r,a))}}}})[0];return n.callback=t,n.facade}var _H=typeof window<"u"?N.useLayoutEffect:N.useEffect,V5=new WeakMap;function TH(e,t){var n=EH(null,function(r){return e.forEach(function(a){return fg(a,r)})});return _H(function(){var r=V5.get(n);if(r){var a=new Set(r),s=new Set(e),o=n.current;a.forEach(function(u){s.has(u)||fg(u,null)}),s.forEach(function(u){a.has(u)||fg(u,o)})}V5.set(n,e)},[e]),n}function wH(e){return e}function SH(e,t){t===void 0&&(t=wH);var n=[],r=!1,a={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(s){var o=t(s,r);return n.push(o),function(){n=n.filter(function(u){return u!==o})}},assignSyncMedium:function(s){for(r=!0;n.length;){var o=n;n=[],o.forEach(s)}n={push:function(u){return s(u)},filter:function(){return n}}},assignMedium:function(s){r=!0;var o=[];if(n.length){var u=n;n=[],u.forEach(s),o=n}var c=function(){var p=o;o=[],p.forEach(s)},f=function(){return Promise.resolve().then(c)};f(),n={push:function(p){o.push(p),f()},filter:function(p){return o=o.filter(p),n}}}};return a}function AH(e){e===void 0&&(e={});var t=SH(null);return t.options=Xa({async:!0,ssr:!1},e),t}var mw=function(e){var t=e.sideCar,n=hw(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return N.createElement(r,Xa({},n))};mw.isSideCarExport=!0;function CH(e,t){return e.useMedium(t),mw}var pw=AH(),hg=function(){},Jh=N.forwardRef(function(e,t){var n=N.useRef(null),r=N.useState({onScrollCapture:hg,onWheelCapture:hg,onTouchMoveCapture:hg}),a=r[0],s=r[1],o=e.forwardProps,u=e.children,c=e.className,f=e.removeScrollBar,p=e.enabled,m=e.shards,b=e.sideCar,y=e.noRelative,_=e.noIsolation,w=e.inert,k=e.allowPinchZoom,A=e.as,R=A===void 0?"div":A,D=e.gapMode,F=hw(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),H=b,P=TH([n,t]),z=Xa(Xa({},F),a);return N.createElement(N.Fragment,null,p&&N.createElement(H,{sideCar:pw,removeScrollBar:f,shards:m,noRelative:y,noIsolation:_,inert:w,setCallbacks:s,allowPinchZoom:!!k,lockRef:n,gapMode:D}),o?N.cloneElement(N.Children.only(u),Xa(Xa({},z),{ref:P})):N.createElement(R,Xa({},z,{className:c,ref:P}),u))});Jh.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Jh.classNames={fullWidth:qf,zeroRight:Uf};var kH=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function NH(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=kH();return t&&e.setAttribute("nonce",t),e}function RH(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function OH(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var DH=function(){var e=0,t=null;return{add:function(n){e==0&&(t=NH())&&(RH(t,n),OH(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},IH=function(){var e=DH();return function(t,n){N.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},gw=function(){var e=IH(),t=function(n){var r=n.styles,a=n.dynamic;return e(r,a),null};return t},LH={left:0,top:0,right:0,gap:0},mg=function(e){return parseInt(e||"",10)||0},MH=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],a=t[e==="padding"?"paddingRight":"marginRight"];return[mg(n),mg(r),mg(a)]},PH=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return LH;var t=MH(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},BH=gw(),Xl="data-scroll-locked",zH=function(e,t,n,r){var a=e.left,s=e.top,o=e.right,u=e.gap;return n===void 0&&(n="margin"),`
239  .`.concat(vH,` {
240   overflow: hidden `).concat(r,`;
241   padding-right: `).concat(u,"px ").concat(r,`;
242  }
243  body[`).concat(Xl,`] {
244    overflow: hidden `).concat(r,`;
245    overscroll-behavior: contain;
246    `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
247    padding-left: `.concat(a,`px;
248    padding-top: `).concat(s,`px;
249    padding-right: `).concat(o,`px;
250    margin-left:0;
251    margin-top:0;
252    margin-right: `).concat(u,"px ").concat(r,`;
253    `),n==="padding"&&"padding-right: ".concat(u,"px ").concat(r,";
253")].filter(Boolean).join(""),`
254  }
255  
256  .`).concat(Uf,` {
257    right: `).concat(u,"px ").concat(r,`;
258  }
259  
260  .`).concat(qf,` {
261    margin-right: `).concat(u,"px ").concat(r,`;
262  }
263  
264  .`).concat(Uf," .").concat(Uf,` {
265    right: 0 `).concat(r,`;
266  }
267  
268  .`).concat(qf," .").concat(qf,` {
269    margin-right: 0 `).concat(r,`;
270  }
271  
272  body[`).concat(Xl,`] {
273    `).concat(xH,": ").concat(u,`px;
274  }
275`)},G5=function(){var e=parseInt(document.body.getAttribute(Xl)||"0",10);return isFinite(e)?e:0},HH=function(){N.useEffect(function(){return document.body.setAttribute(Xl,(G5()+1).toString()),function(){var e=G5()-1;e<=0?document.body.removeAttribute(Xl):document.body.setAttribute(Xl,e.toString())}},[])},jH=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,a=r===void 0?"margin":r;HH();var s=N.useMemo(function(){return PH(a)},[a]);return N.createElement(BH,{styles:zH(s,!t,a,n?"":"!important")})},H2=!1;if(typeof window<"u")try{var uf=Object.defineProperty({},"passive",{get:function(){return H2=!0,!0}});window.addEventListener("test",uf,uf),window.removeEventListener("test",uf,uf)}catch{H2=!1}var Ml=H2?{passive:!1}:!1,FH=function(e){return e.tagName==="TEXTAREA"},bw=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!FH(e)&&n[t]==="visible")},UH=function(e){return bw(e,"overflowY")},qH=function(e){return bw(e,"overflowX")},Y5=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var a=yw(e,r);if(a){var s=vw(e,r),o=s[1],u=s[2];if(o>u)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},$H=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},VH=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},yw=function(e,t){return e==="v"?UH(t):qH(t)},vw=function(e,t){return e==="v"?$H(t):VH(t)},GH=function(e,t){return e==="h"&&t==="rtl"?-1:1},YH=function(e,t,n,r,a){var s=GH(e,window.getComputedStyle(t).direction),o=s*r,u=n.target,c=t.contains(u),f=!1,p=o>0,m=0,b=0;do{if(!u)break;var y=vw(e,u),_=y[0],w=y[1],k=y[2],A=w-k-s*_;(_||A)&&yw(e,u)&&(m+=A,b+=_);var R=u.parentNode;u=R&&R.nodeType===Node.DOCUMENT_FRAGMENT_NODE?R.host:R}while(!c&&u!==document.body||c&&(t.contains(u)||t===u));return(p&&Math.abs(m)<1||!p&&Math.abs(b)<1)&&(f=!0),f},cf=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Q5=function(e){return[e.deltaX,e.deltaY]},W5=function(e){return e&&"current"in e?e.current:e},QH=function(e,t){return e[0]===t[0]&&e[1]===t[1]},WH=function(e){return`
276  .block-interactivity-`.concat(e,` {pointer-events: none;}
277  .allow-interactivity-`).concat(e,` {pointer-events: all;}
278`)},XH=0,Pl=[];function KH(e){var t=N.useRef([]),n=N.useRef([0,0]),r=N.useRef(),a=N.useState(XH++)[0],s=N.useState(gw)[0],o=N.useRef(e);N.useEffect(function(){o.current=e},[e]),N.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var w=yH([e.lockRef.current],(e.shards||[]).map(W5),!0).filter(Boolean);return w.forEach(function(k){return k.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),w.forEach(function(k){return k.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var u=N.useCallback(function(w,k){if("touches"in w&&w.touches.length===2||w.type==="wheel"&&w.ctrlKey)return!o.current.allowPinchZoom;var A=cf(w),R=n.current,D="deltaX"in w?w.deltaX:R[0]-A[0],F="deltaY"in w?w.deltaY:R[1]-A[1],H,P=w.target,z=Math.abs(D)>Math.abs(F)?"h":"v";if("touches"in w&&z==="h"&&P.type==="range")return!1;var K=Y5(z,P);if(!K)return!0;if(K?H=z:(H=z==="v"?"h":"v",K=Y5(z,P)),!K)return!1;if(!r.current&&"changedTouches"in w&&(D||F)&&(r.current=H),!H)return!0;var ee=r.current||H;return YH(ee,k,w,ee==="h"?D:F)},[]),c=N.useCallback(function(w){var k=w;if(!(!Pl.length||Pl[Pl.length-1]!==s)){var A="deltaY"in k?Q5(k):cf(k),R=t.current.filter(function(H){return H.name===k.type&&(H.target===k.target||k.target===H.shadowParent)&&QH(H.delta,A)})[0];if(R&&R.should){k.cancelable&&k.preventDefault();return}
vendor: 4,338 bytes, line 278
278if(!R){var D=(o.current.shards||[]).map(W5).filter(Boolean).filter(function(H){return H.contains(k.target)}),F=D.length>0?u(k,D[0]):!o.current.noIsolation;F&&k.cancelable&&k.preventDefault()}}},[]),f=N.useCallback(function(w,k,A,R){var D={name:w,delta:k,target:A,should:R,shadowParent:ZH(A)};t.current.push(D),setTimeout(function(){t.current=t.current.filter(function(F){return F!==D})},1)},[]),p=N.useCallback(function(w){n.current=cf(w),r.current=void 0},[]),m=N.useCallback(function(w){f(w.type,Q5(w),w.target,u(w,e.lockRef.current))},[]),b=N.useCallback(function(w){f(w.type,cf(w),w.target,u(w,e.lockRef.current))},[]);N.useEffect(function(){return Pl.push(s),e.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:b}),document.addEventListener("wheel",c,Ml),document.addEventListener("touchmove",c,Ml),document.addEventListener("touchstart",p,Ml),function(){Pl=Pl.filter(function(w){return w!==s}),document.removeEventListener("wheel",c,Ml),document.removeEventListener("touchmove",c,Ml),document.removeEventListener("touchstart",p,Ml)}},[]);var y=e.removeScrollBar,_=e.inert;return N.createElement(N.Fragment,null,_?N.createElement(s,{styles:WH(a)}):null,y?N.createElement(jH,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function ZH(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const JH=CH(pw,KH);var xw=N.forwardRef(function(e,t){return N.createElement(Jh,Xa({},e,{ref:t,sideCar:JH}))});xw.classNames=Jh.classNames;var ej=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Bl=new WeakMap,df=new WeakMap,ff={},pg=0,Ew=function(e){return e&&(e.host||Ew(e.parentNode))},tj=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=Ew(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},nj=function(e,t,n,r){var a=tj(t,Array.isArray(e)?e:[e]);ff[n]||(ff[n]=new WeakMap);var s=ff[n],o=[],u=new Set,c=new Set(a),f=function(m){!m||u.has(m)||(u.add(m),f(m.parentNode))};a.forEach(f);var p=function(m){!m||c.has(m)||Array.prototype.forEach.call(m.children,function(b){if(u.has(b))p(b);else try{var y=b.getAttribute(r),_=y!==null&&y!=="false",w=(Bl.get(b)||0)+1,k=(s.get(b)||0)+1;Bl.set(b,w),s.set(b,k),o.push(b),w===1&&_&&df.set(b,!0),k===1&&b.setAttribute(n,"true"),_||b.setAttribute(r,"true")}catch(A){console.error("aria-hidden: cannot operate on ",b,A)}})};return p(t),u.clear(),pg++,function(){o.forEach(function(m){var b=Bl.get(m)-1,y=s.get(m)-1;Bl.set(m,b),s.set(m,y),b||(df.has(m)||m.removeAttribute(r),df.delete(m)),y||m.removeAttribute(n)}),pg--,pg||(Bl=new WeakMap,Bl=new WeakMap,df=new WeakMap,ff={})}},rj=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),a=ej(e);return a?(r.push.apply(r,Array.from(a.querySelectorAll("[aria-live], script"))),nj(r,a,n,"aria-hidden")):function(){return null}},em="Dialog",[_w]=Vs(em),[aj,Ra]=_w(em),Tw=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:a,onOpenChange:s,modal:o=!0}=e,u=N.useRef(null),c=N.useRef(null),[f,p]=w0({prop:r,defaultProp:a??!1,onChange:s,caller:em});return x.jsx(aj,{scope:t,triggerRef:u,contentRef:c,contentId:Hc(),titleId:Hc(),descriptionId:Hc(),open:f,onOpenChange:p,onOpenToggle:N.useCallback(()=>p(m=>!m),[p]),modal:o,children:n})};Tw.displayName=em;var ww="DialogTrigger",Sw=N.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,a=Ra(ww,n),s=Kt(t,a.triggerRef);return x.jsx(Bt.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":o4(a.open),...r,ref:s,onClick:qt(e.onClick,a.onOpenToggle)})});Sw.displayName=ww;var i4="DialogPortal",[ij,Aw]=_w(i4,{forceMount:void 0}),Cw=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:a}=e,s=Ra(i4,t);return x.jsx(ij,{scope:t,forceMount:n,children:N.Children.map(r,o=>x.jsx(Na,{present:n||s.open,children:x.jsx(_T,{asChild:!0,container:a,children:o})}))})};Cw.displayName=i4;var nh="DialogOverlay",kw=N.forwardRef((e,t)=>{const n=Aw(nh,e.__scopeDialog),{forceMount:r=n.forceMount,...a}=e,s=Ra(nh,e.__scopeDialog);return s.modal?x.jsx(Na,{present:r||s.open,children:x.jsx(oj,{...a,ref:t})}):null});kw.displayName=nh;var sj=a0("DialogOverlay.RemoveScroll"),oj=N.forwardRef((e,t)=>
278{const{__scopeDialog:n,...r}=e,a=Ra(nh,n);return x.jsx(xw,{as:sj,allowPinchZoom:!0,shards:[a.contentRef],children:x.jsx(Bt.div,{"data-state":o4(a.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),Do="DialogContent",Nw=N.forwardRef((e,t)=>{const n=Aw(Do,e.__scopeDialog),{forceMount:r=n.forceMount,...a}=e,s=Ra(Do,e.__scopeDialog);return x.jsx(Na,{present:r||s.open,children:s.modal?x.jsx(lj,{...a,ref:t}):x.jsx(uj,{...a,ref:t})})});Nw.displayName=Do;var lj=N.forwardRef((e,t)=>{const n=Ra(Do,e.__scopeDialog),r=N.useRef(null),a=Kt(t,n.contentRef,r);return N.useEffect(()=>{const s=r.current;if(s)return rj(s)},[]),x.jsx(Rw,{...e,ref:a,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:qt(e.onCloseAutoFocus,s=>{s.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:qt(e.onPointerDownOutside,s=>{const o=s.detail.originalEvent,u=o.button===0&&o.ctrlKey===!0;(o.button===2||u)&&s.preventDefault()}),onFocusOutside:qt(e.onFocusOutside,s=>s.preventDefault())})}),uj=N.forwardRef((e,t)=>{const n=Ra(Do,e.__scopeDialog),r=N.useRef(!1),a=N.useRef(!1);return x.jsx(Rw,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s=>{e.onCloseAutoFocus?.(s),s.defaultPrevented||(r.current||n.triggerRef.current?.focus(),s.preventDefault()),r.current=!1,a.current=!1},onInteractOutside:s=>{e.onInteractOutside?.(s),s.defaultPrevented||(r.current=!0,s.detail.originalEvent.type==="pointerdown"&&(a.current=!0));const o=s.target;n.triggerRef.current?.contains(o)&&s.preventDefault(),s.detail.originalEvent.type==="focusin"&&a.current&&s.preventDefault()}})}),Rw=N.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:a,onCloseAutoFocus:s,...o}=e,u=Ra(Do,n),c=N.useRef(null),f=Kt(t,c);return bH(),x.jsxs(x.Fragment,{children:[x.jsx(dw,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:a,onUnmountAutoFocus:s,children:x.jsx(Vb,{role:"dialog",id:u.contentId,"aria-describedby":u.descriptionId,"aria-labelledby":u.titleId,"data-state":o4(u.open),...o,ref:f,onDismiss:()=>u.onOpenChange(!1)})}),x.jsxs(x.Fragment,{children:[x.jsx(cj,{titleId:u.titleId}),x.jsx(fj,{contentRef:c,descriptionId:u.descriptionId})]})]})}),s4="DialogTitle",Ow=N.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,a=Ra(s4,n);return x.jsx(Bt.h2,{id:a.titleId,...r,ref:t})});Ow.displayName=s4;var Dw="DialogDescription",Iw=N.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,a=Ra(Dw,n);return x.jsx(Bt.p,{id:a.descriptionId,...r,ref:t})});Iw.displayName=Dw;var Lw="DialogClose",Mw=N.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,a=Ra(Lw,n);return x.jsx(Bt.button,{type:"button",...r,ref:t,onClick:qt(e.onClick,()=>a.onOpenChange(!1))})});Mw.displayName=Lw;function o4(e){return e?"open":"closed"}var Pw="DialogTitleWarning",[pse,Bw]=oM(Pw,{contentName:Do,titleName:s4,docsSlug:"dialog"}),cj=({titleId:e})=>{const t=Bw(Pw),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
279
280If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
281
282For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return N.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},dj="DialogDescriptionWarning",fj=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Bw(dj).contentName}}.`;return N.useEffect(()=>{const a=e.current?.getAttribute("aria-describedby");t&&a&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},hj=Tw,mj=Sw,pj=Cw,gj=kw,bj=Nw,yj=Ow,vj=Iw,xj=Mw;const zw=N.createContext({isComposing:()=>!1,setComposing:()=>{},justEndedComposing:()=>!1,markCompositionEnd:()=>{}}),l4=()=>N.useContext(zw);function Ej({...e}){const t=N.useRef(!1),n=N.useRef(!1),r=N.useRef(null),a=N.useMemo(()=>({isComposing:()=>t.current,setComposing:s=>{t.current=s},justEndedComposing:()=>n.current,markCompositionEnd:()=>{n.current=!0,r.current&&clearTimeout(r.current),r.current=setTimeout(()=>{n.current=!1},150)}}),[]);return x.jsx(zw.Provider,{"data-loc":"client/src/components/ui/dialog.tsx:50",value:a,children:x.jsx(hj,{"data-loc":"client/src/components/ui/dialog.tsx:51","data-slot":"dialog",...e})})}function _j({...e}){return x.jsx(mj,{"data-loc":"client/src/components/ui/dialog.tsx:59","data-slot":"dialog-trigger",...e})}function Tj({...e}){return x.jsx(pj,{"data-loc":"client/src/components/ui/dialog.tsx:65","data-slot":"dialog-portal",...e})}function Hw({className:e,...t}){return x.jsx(gj,{"data-loc":"client/src/components/ui/dialog.tsx:79","data-slot":"dialog-overlay",className:Tn("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",e),...t})}Hw.displayName="DialogOverlay";function wj({className:e,children:t,showCloseButton:n=!0,onEscapeKeyDown:r,...a}){const{isComposing:s}=l4(),o=N.useCallback(u=>{if(u.isComposing||s()){u.preventDefault();return}r?.(u)},[s,r]);return x.jsxs(Tj,{"data-loc":"client/src/components/ui/dialog.tsx:122","data-slot":"dialog-portal",children:[x.jsx(Hw,{"data-loc":"client/src/components/ui/dialog.tsx:123"}),x.jsxs(bj,{"data-loc":"client/src/components/ui/dialog.tsx:124","data-slot":"dialog-content",className:Tn("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 roun
282ded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",e),onEscapeKeyDown:o,...a,children:[t,n&&x.jsxs(xj,{"data-loc":"client/src/components/ui/dialog.tsx:135","data-slot":"dialog-close",className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[x.jsx(Nz,{"data-loc":"client/src/components/ui/dialog.tsx:139"}),x.jsx("span",{"data-loc":"client/src/components/ui/dialog.tsx:140",className:"sr-only",children:"Close"})]})]})]})}function Sj({className:e,...t}){return x.jsx("div",{"data-loc":"client/src/components/ui/dialog.tsx:150","data-slot":"dialog-header",className:Tn("flex flex-col gap-2 text-center sm:text-left",e),...t})}function Aj({className:e,...t}){return x.jsx(yj,{"data-loc":"client/src/components/ui/dialog.tsx:176","data-slot":"dialog-title",className:Tn("text-lg leading-none font-semibold",e),...t})}function Cj({className:e,...t}){return x.jsx(vj,{"data-loc":"client/src/components/ui/dialog.tsx:189","data-slot":"dialog-description",className:Tn("text-muted-foreground text-sm",e),...t})}function hf(e){const t=N.useRef(e);t.current=e;const n=N.useRef(null);return n.current||(n.current=function(...r){return t.current.apply(this,r)}),n.current}function jw(e={}){const{onKeyDown:t,onCompositionStart:n,onCompositionEnd:r}=e,a=N.useRef(!1),s=N.useRef(null),o=N.useRef(null),u=hf(m=>{s.current&&(clearTimeout(s.current),s.current=null),o.current&&(clearTimeout(o.current),o.current=null),a.current=!0,n?.(m)}),c=hf(m=>{s.current=setTimeout(()=>{o.current=setTimeout(()=>{a.current=!1})}),r?.(m)}),f=hf(m=>{if(a.current&&(m.key==="Escape"||m.key==="Enter"&&!m.shiftKey)){m.stopPropagation();return}t?.(m)}),p=hf(()=>a.current);return{onCompositionStart:u,onCompositionEnd:c,onKeyDown:f,isComposing:p}}function Ka({className:e,type:t,onKeyDown:n,onCompositionStart:r,onCompositionEnd:a,...s}){const o=l4(),{onCompositionStart:u,onCompositionEnd:c,onKeyDown:f}=jw({onKeyDown:p=>{const m=p.nativeEvent.isComposing||o.justEndedComposing();p.key==="Enter"&&m||n?.(p)},onCompositionStart:p=>{o.setComposing(!0),r?.(p)},onCompositionEnd:p=>{o.markCompositionEnd(),setTimeout(()=>{o.setComposing(!1)},100),a?.(p)}});return x.jsx("input",{"data-loc":"client/src/components/ui/input.tsx:53",type:t,"data-slot":"input",className:Tn("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",e),onCompositionStart:u,onCompositionEnd:c,onKeyDown:f,...s})}function u4({className:e,onKeyDown:t,onCompositionStart:n,onCompositionEnd:r,...a}){const s=l4(),{onCompositionStart:o,onCompositionEnd:u,onKeyDown:c}=jw({onKeyDown:f=>{const p=f.nativeEvent.isComposing||s.justEndedComposing();f.key==="Enter"&&!f.shiftKey&&p||t?.(f)},onCompositionStart:f=>{s.setComposing(!0),n?.(f)},onCompositionEnd:f=>{s.markCompositionEnd(),setTimeout(()=>{s.setComposing(!1)},100),r?.(f)}});return x.jsx("textarea",{"data-loc":"client/src/components/ui/textarea.tsx:53","data-slot":"textarea",className:Tn("border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),onCompositionStart:o,onCompositionEnd:u,onKeyDown:c,...a})}
282const X5={name:"",email:"",phone:"",subject:"",preferredContact:"whatsapp",message:"",acceptedPrivacy:!1,website:""};function kj(){const[e,t]=N.useState(X5),[n,r]=N.useState(!1),[a,s]=N.useState(null),o=e0.consultation.submit.useMutation({onSuccess:()=>{r(!0),t(X5),s(null),zc.success("Su consulta fue enviada",{description:"El estudio recibirá su solicitud por el canal institucional correspondiente."})},onError:f=>{const p=f.message||"No fue posible enviar la consulta. Inténtelo nuevamente o contacte al estudio por WhatsApp.";s(p),zc.error("No se pudo enviar la consulta",{description:p})}}),u=f=>p=>{t(m=>({...m,[f]:p.target.value}))},c=f=>{f.preventDefault(),s(null),r(!1),o.mutate(e)};return x.jsxs("form",{"data-loc":"client/src/components/ConsultationForm.tsx:72",className:`consultation-form ${o.isPending?"consultation-form--submitting":""}`,onSubmit:c,noValidate:!0,"aria-busy":o.isPending,children:[x.jsxs("div",{"data-loc":"client/src/components/ConsultationForm.tsx:78",className:"consultation-form-heading",children:[x.jsxs("div",{"data-loc":"client/src/components/ConsultationForm.tsx:79",children:[x.jsx("p",{"data-loc":"client/src/components/ConsultationForm.tsx:80",className:"form-overline",children:"Ingreso de consulta"}),x.jsx("h3",{"data-loc":"client/src/components/ConsultationForm.tsx:81",children:"Cuéntenos brevemente en qué podemos orientarlo."})]}),x.jsxs("div",{"data-loc":"client/src/components/ConsultationForm.tsx:83",className:"form-security-note",children:[x.jsx(GT,{"data-loc":"client/src/components/ConsultationForm.tsx:84","aria-hidden":"true",size:16,strokeWidth:1.65}),x.jsx("span",{"data-loc":"client/src/components/ConsultationForm.tsx:85",children:"No adjunte documentación, claves ni evidencia por este formulario."})]})]}),x.jsxs("div",{"data-loc":"client/src/components/ConsultationForm.tsx:89",className:"form-grid",children:[x.jsxs("label",{"data-loc":"client/src/components/ConsultationForm.tsx:90",className:"form-field",children:[x.jsx("span",{"data-loc":"client/src/components/ConsultationForm.tsx:91",children:"Nombre y apellido"}),x.jsx(Ka,{"data-loc":"client/src/components/ConsultationForm.tsx:92",className:"contact-input",value:e.name,onChange:u("name"),autoComplete:"name",placeholder:"Su nombre completo",required:!0})]}),x.jsxs("label",{"data-loc":"client/src/components/ConsultationForm.tsx:94",className:"form-field",children:[x.jsx("span",{"data-loc":"client/src/components/ConsultationForm.tsx:95",children:"Correo electrónico"}),x.jsx(Ka,{"data-loc":"client/src/components/ConsultationForm.tsx:96",className:"contact-input",type:"email",value:e.email,onChange:u("email"),autoComplete:"email",placeholder:"[email protected]",required:!0})]}),x.jsxs("label",{"data-loc":"client/src/components/ConsultationForm.tsx:98",className:"form-field",children:[x.jsx("span",{"data-loc":"client/src/components/ConsultationForm.tsx:99",children:"Teléfono o WhatsApp"}),x.jsx(Ka,{"data-loc":"client/src/components/ConsultationForm.tsx:100",className:"contact-input",type:"tel",value:e.phone,onChange:u("phone"),autoComplete:"tel",placeholder:"+54 9 ...",required:!0})]}),x.jsxs("label",{"data-loc":"client/src/components/ConsultationForm.tsx:102",className:"form-field",children:[x.jsx("span",{"data-loc":"client/src/components/ConsultationForm.tsx:103",children:"Asunto de la consulta"}),x.jsx(Ka,{"data-loc":"client/src/components/ConsultationForm.tsx:104",className:"contact-input",value:e.subject,onChange:u("subject"),placeholder:"Por ejemplo: consulta laboral",required:!0})]})]}),x.jsxs("fieldset",{"data-loc":"client/src/components/ConsultationForm.tsx:108",className:"form-contact-preference",children:[x.jsx("legend",{"data-loc":"client/src/components/ConsultationForm.tsx:109",children:"Canal preferido para la respuesta"}),x.jsx("div",{"data-loc":"client/src/components/ConsultationForm.tsx:110",className:"preference-options",children:[["whatsapp","WhatsApp"],["phone","Teléfono"],["email","Correo electrónico"]].map(([f,p])=>x.jsxs("label",{"data-loc":"client/src/components/ConsultationForm.tsx:116",className:"preference-option",children:[x.jsx("input",{"data-loc":"client/src/components/ConsultationForm.tsx:117",type:"radio",name:"preferredContact",value:f,checked:e.preferredContact===f,onChange:()=>t(m=>({...m,preferredContact:f}))}),x.jsx("span",{"data-loc":"client/src/components/ConsultationForm.tsx:124",children:p})]},f))})]}),x.jsxs("label",{"data-loc":"client/src/components/ConsultationForm.tsx:130",className:"form-field form-field--wide",children:[x.jsx("span",{"data-loc":"client/src/components/ConsultationForm.tsx:131",children:"Descripción inicial"}),x.jsx(u4,{"data-loc":"client/src/components/ConsultationForm.tsx:132",className:"contact-input contact-textarea",value:e.message,onChange:u("message"),placeholder:"Describa el tema de su consulta de forma general. Evite incorporar documentación o datos de terceros en esta instancia.",rows:6,required:!0}),x.jsx("small",{"data-loc":"client/src/components/ConsultationForm.tsx:133",children:"Esta primera descripción permite identificar el tema y co
282ordinar el canal profesional adecuado."})]}),x.jsx(Ka,{"data-loc":"client/src/components/ConsultationForm.tsx:136",className:"form-honeypot",value:e.website,onChange:u("website"),tabIndex:-1,autoComplete:"off","aria-hidden":"true"}),x.jsxs("div",{"data-loc":"client/src/components/ConsultationForm.tsx:138",className:"form-consent",children:[x.jsx(cw,{"data-loc":"client/src/components/ConsultationForm.tsx:139",id:"privacy-consent",checked:e.acceptedPrivacy,onCheckedChange:f=>t(p=>({...p,acceptedPrivacy:f===!0})),"aria-describedby":"privacy-description"}),x.jsx("label",{"data-loc":"client/src/components/ConsultationForm.tsx:145",htmlFor:"privacy-consent",id:"privacy-description",children:"Comprendo que este formulario es un canal inicial de contacto, autorizo el tratamiento de mis datos para responder la consulta y evitaré incluir información confidencial o documentación probatoria."})]}),a&&x.jsx("p",{"data-loc":"client/src/components/ConsultationForm.tsx:150",className:"form-error",role:"alert",children:a}),n&&x.jsxs("p",{"data-loc":"client/src/components/ConsultationForm.tsx:152",className:"form-success",role:"status",children:[x.jsx($T,{"data-loc":"client/src/components/ConsultationForm.tsx:152","aria-hidden":"true",size:17})," Consulta registrada. El estudio se comunicará por el canal indicado."]}),x.jsxs(o0,{"data-loc":"client/src/components/ConsultationForm.tsx:155",className:`form-submit ${o.isPending?"form-submit--pending":""}`,type:"submit",disabled:o.isPending,children:[o.isPending?x.jsx(B2,{"data-loc":"client/src/components/ConsultationForm.tsx:160",className:"animate-spin","aria-hidden":"true",size:18}):"Enviar consulta",!o.isPending&&x.jsx(fn,{"data-loc":"client/src/components/ConsultationForm.tsx:161","aria-hidden":"true",size:18,strokeWidth:1.7})]})]})}var Nj=N.createContext(void 0);function Fw(e){const t=N.useContext(Nj);return e||t||"ltr"}function Rj(e,[t,n]){return Math.min(n,Math.max(t,e))}function Oj(e,t){return N.useReducer((n,r)=>t[n][r]??n,e)}var c4="ScrollArea",[Uw]=Vs(c4),[Dj,pa]=Uw(c4),qw=N.forwardRef((e,t)=>{const{__scopeScrollArea:n,type:r="hover",dir:a,scrollHideDelay:s=600,...o}=e,[u,c]=N.useState(null),[f,p]=N.useState(null),[m,b]=N.useState(null),[y,_]=N.useState(null),[w,k]=N.useState(null),[A,R]=N.useState(0),[D,F]=N.useState(0),[H,P]=N.useState(!1),[z,K]=N.useState(!1),ee=Kt(t,se=>c(se)),Y=Fw(a);return x.jsx(Dj,{scope:n,type:r,dir:Y,scrollHideDelay:s,scrollArea:u,viewport:f,onViewportChange:p,content:m,onContentChange:b,scrollbarX:y,onScrollbarXChange:_,scrollbarXEnabled:H,onScrollbarXEnabledChange:P,scrollbarY:w,onScrollbarYChange:k,scrollbarYEnabled:z,onScrollbarYEnabledChange:K,onCornerWidthChange:R,onCornerHeightChange:F,children:x.jsx(Bt.div,{dir:Y,...o,ref:ee,style:{position:"relative","--radix-scroll-area-corner-width":A+"px","--radix-scroll-area-corner-height":D+"px",...e.style}})})});qw.displayName=c4;var $w="ScrollAreaViewport",Vw=N.forwardRef((e,t)=>{const{__scopeScrollArea:n,children:r,nonce:a,...s}=e,o=pa($w,n),u=N.useRef(null),c=Kt(t,u,o.onViewportChange);return x.jsxs(x.Fragment,{children:[x.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:a}),x.jsx(Bt.div,{"data-radix-scroll-area-viewport":"",...s,ref:c,style:{overflowX:o.scrollbarXEnabled?"scroll":"hidden",overflowY:o.scrollbarYEnabled?"scroll":"hidden",...e.style},children:x.jsx("div",{ref:o.onContentChange,style:{minWidth:"100%",display:"table"},children:r})})]})});Vw.displayName=$w;var oi="ScrollAreaScrollbar",Gw=N.forwardRef((e,t)=>{const{forceMount:n,...r}=e,a=pa(oi,e.__scopeScrollArea),{onScrollbarXEnabledChange:s,onScrollbarYEnabledChange:o}=a,u=e.orientation==="horizontal";return N.useEffect(()=>(u?s(!0):o(!0),()=>{u?s(!1):o(!1)}),[u,s,o]),a.type==="hover"?x.jsx(Ij,{...r,ref:t,forceMount:n}):a.type==="scroll"?x.jsx(Lj,{...r,ref:t,forceMount:n}):a.type==="auto"?x.jsx(Yw,{...r,ref:t,forceMount:n}):a.type==="always"?x.jsx(d4,{...r,ref:t}):null});Gw.displayName=oi;var Ij=N.forwardRef((e,t)=>
vendor: 10,410 bytes, line 282
282{const{forceMount:n,...r}=e,a=pa(oi,e.__scopeScrollArea),[s,o]=N.useState(!1);return N.useEffect(()=>{const u=a.scrollArea;let c=0;if(u){const f=()=>{window.clearTimeout(c),o(!0)},p=()=>{c=window.setTimeout(()=>o(!1),a.scrollHideDelay)};return u.addEventListener("pointerenter",f),u.addEventListener("pointerleave",p),()=>{window.clearTimeout(c),u.removeEventListener("pointerenter",f),u.removeEventListener("pointerleave",p)}}},[a.scrollArea,a.scrollHideDelay]),x.jsx(Na,{present:n||s,children:x.jsx(Yw,{"data-state":s?"visible":"hidden",...r,ref:t})})}),Lj=N.forwardRef((e,t)=>{const{forceMount:n,...r}=e,a=pa(oi,e.__scopeScrollArea),s=e.orientation==="horizontal",o=nm(()=>c("SCROLL_END"),100),[u,c]=Oj("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return N.useEffect(()=>{if(u==="idle"){const f=window.setTimeout(()=>c("HIDE"),a.scrollHideDelay);return()=>window.clearTimeout(f)}},[u,a.scrollHideDelay,c]),N.useEffect(()=>{const f=a.viewport,p=s?"scrollLeft":"scrollTop";if(f){let m=f[p];const b=()=>{const y=f[p];m!==y&&(c("SCROLL"),o()),m=y};return f.addEventListener("scroll",b),()=>f.removeEventListener("scroll",b)}},[a.viewport,s,c,o]),x.jsx(Na,{present:n||u!=="hidden",children:x.jsx(d4,{"data-state":u==="hidden"?"hidden":"visible",...r,ref:t,onPointerEnter:qt(e.onPointerEnter,()=>c("POINTER_ENTER")),onPointerLeave:qt(e.onPointerLeave,()=>c("POINTER_LEAVE"))})})}),Yw=N.forwardRef((e,t)=>{const n=pa(oi,e.__scopeScrollArea),{forceMount:r,...a}=e,[s,o]=N.useState(!1),u=e.orientation==="horizontal",c=nm(()=>{if(n.viewport){const f=n.viewport.offsetWidth<n.viewport.scrollWidth,p=n.viewport.offsetHeight<n.viewport.scrollHeight;o(u?f:p)}},10);return su(n.viewport,c),su(n.content,c),x.jsx(Na,{present:r||s,children:x.jsx(d4,{"data-state":s?"visible":"hidden",...a,ref:t})})}),d4=N.forwardRef((e,t)=>{const{orientation:n="vertical",...r}=e,a=pa(oi,e.__scopeScrollArea),s=N.useRef(null),o=N.useRef(0),[u,c]=N.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),f=Zw(u.viewport,u.content),p={...r,sizes:u,onSizesChange:c,hasThumb:f>0&&f<1,onThumbChange:b=>s.current=b,onThumbPointerUp:()=>o.current=0,onThumbPointerDown:b=>o.current=b};function m(b,y){return jj(b,o.current,u,y)}return n==="horizontal"?x.jsx(Mj,{...p,ref:t,onThumbPositionChange:()=>{if(a.viewport&&s.current){const b=a.viewport.scrollLeft,y=K5(b,u,a.dir);s.current.style.transform=`translate3d(${y}px, 0, 0)`}},onWheelScroll:b=>{a.viewport&&(a.viewport.scrollLeft=b)},onDragScroll:b=>{a.viewport&&(a.viewport.scrollLeft=m(b,a.dir))}}):n==="vertical"?x.jsx(Pj,{...p,ref:t,onThumbPositionChange:()=>{if(a.viewport&&s.current){const b=a.viewport.scrollTop,y=K5(b,u);s.current.style.transform=`translate3d(0, ${y}px, 0)`}},onWheelScroll:b=>{a.viewport&&(a.viewport.scrollTop=b)},onDragScroll:b=>{a.viewport&&(a.viewport.scrollTop=m(b))}}):null}),Mj=N.forwardRef((e,t)=>{const{sizes:n,onSizesChange:r,...a}=e,s=pa(oi,e.__scopeScrollArea),[o,u]=N.useState(),c=N.useRef(null),f=Kt(t,c,s.onScrollbarXChange);return N.useEffect(()=>{c.current&&u(getComputedStyle(c.current))},[c]),x.jsx(Ww,{"data-orientation":"horizontal",...a,ref:f,sizes:n,style:{bottom:0,left:s.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:s.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":tm(n)+"px",...e.style},onThumbPointerDown:p=>e.onThumbPointerDown(p.x),onDragScroll:p=>e.onDragScroll(p.x),onWheelScroll:(p,m)=>{if(s.viewport){const b=s.viewport.scrollLeft+p.deltaX;e.onWheelScroll(b),e9(b,m)&&p.preventDefault()}},onResize:()=>{c.current&&s.viewport&&o&&r({content:s.viewport.scrollWidth,viewport:s.viewport.offsetWidth,scrollbar:{size:c.current.clientWidth,paddingStart:ah(o.paddingLeft),paddingEnd:ah(o.paddingRight)}})}})}),Pj=N.forwardRef((e,t)=>{const{sizes:n,onSizesChange:r,...a}=e,s=pa(oi,e.__scopeScrollArea),[o,u]=N.useState(),c=N.useRef(null),f=Kt(t,c,s.onScrollbarYChange);return N.useEffect(()=>{c.current&&u(getComputedStyle(c.current))},[c]),x.jsx(Ww,{"data-orientation":"vertical",...a,ref:f,sizes:n,style:{top:0,right:s.dir==="ltr"?0:void 0,left:s.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":tm(n)+"px",...e.style},onThumbPointerDown:p=>e.onThumbPointerDown(p.y),onDragScroll:p=>e.onDragScroll(p.y),onWheelScroll:(p,m)=>{if(s.viewport){const b=s.viewport.scrollTop+p.deltaY;e.onWheelScroll(b),e9(b,m)&&p.preventDefault()}},onResize:()=>{c.current&&s.viewport&&o&&r({content:s.viewport.scrollHeight,viewport:s.viewport.offsetHeight,scrollbar:{size:c.current.clientHeight,paddingStart:ah(o.paddingTop),paddingEnd:ah(o.paddingBottom)}})}})}),[Bj,Qw]=Uw(oi),Ww=N.forwardRef((e,t)=>{const{__scopeScrollArea:n,sizes:r,hasThumb:a,onThumbChange:s,onThumbPointerUp:o,onThumbPointerDown:u,onThumbPositionChange:c,onDragScroll:f,onWheelScroll:p,onResize:m,...b}=e,y=pa(oi,n),[_,w]=N.useState(null),k=Kt(t,ee=>w(ee)),A=N.useRef(null),R=N.useRef(""),D=y.viewport,F=r.content-r.viewport,H=Ur(p),P=Ur(c),z=nm(m,10);function K(ee){if(A.current){const Y=ee.clientX-A.current.left,se=ee.clientY-A.current.top;f({x:Y,y:se})}}return N.useEffect(()=>{const ee=Y=>{const se=Y.target;_?.contains(se)&&H(Y,F)};return document.addEventListener("wheel",ee,{passive:!1}),()=>document.removeEventListener("wheel",ee,{passive:!1})},[D,_,F,H]),N.useEffect(P,[r,P]),su(_,z),su(y.content,z),x.jsx(Bj,{scope:n,scrollbar:_,hasThumb:a,onThumbChange:Ur(s),onThumbPointerUp:Ur(o),onThumbPositionChange:P,onThumbPointerDown:Ur(u),children:x.jsx(Bt.div,{...b,ref:k,style:{position:"absolute",...b.style},onPointerDown:qt(e.onPointerDown,ee=>{ee.button===0&&(ee.target.setPointerCapture(ee.pointerId),A.current=_.getBoundingClientRect(),R.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",y.viewport&&(y.viewport.style.scrollBehavior="auto"),K(ee))}),onPointerMove:qt(e.onPointerMove,K),onPointerUp:qt(e.onPointerUp,ee=>{const Y=ee.target;Y.hasPointerCapture(ee.pointerId)&&Y.releasePointerCapture(ee.pointerId),document.body.style.webkitUserSelect=R.current,y.viewport&&(y.viewport.style.scrollBehavior=""),A.current=null})})})}),rh="ScrollAreaThumb",Xw=N.forwardRef((e,t)=>{const{forceMount:n,...r}=e,a=Qw(rh,e.__scopeScrollArea);return x.jsx(Na,{present:n||a.hasThumb,children:x.jsx(zj,{ref:t,...r})})}),zj=N.forwardRef((e,t)=>{const{__scopeScrollArea:n,style:r,...a}=e,s=pa(rh,n),o=Qw(rh,n),{onThumbPositionChange:u}=o,c=Kt(t,m=>o.onThumbChange(m)),f=N.useRef(void 0),p=nm(()=>{f.current&&(f.current(),f.current=void 0)},100);return N.useEffect(()=>{const m=s.viewport;if(m){const b=()=>{if(p(),!f.current){const y=Fj(m,u);f.current=y,u()}};return u(),m.addEventListener("scroll",b),()=>m.removeEventListener("scroll",b)}},[s.viewport,p,u]),x.jsx(Bt.div,{"data-state":o.hasThumb?"visible":"hidden",...a,ref:c,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...r},onPointerDownCapture:qt(e.onPointerDownCapture,m=>{const y=m.target.getBoundingClientRect(),_=m.clientX-y.left,w=m.clientY-y.top;o.onThumbPointerDown({x:_,y:w})}),onPointerUp:qt(e.onPointerUp,o.onThumbPointerUp)})});Xw.displayName=rh;var f4="ScrollAreaCorner",Kw=N.forwardRef((e,t)=>{const n=pa(f4,e.__scopeScrollArea),r=!!(n.scrollbarX&&n.scrollbarY);return n.type!=="scroll"&&r?x.jsx(Hj,{...e,ref:t}):null});Kw.displayName=f4;var Hj=N.forwardRef((e,t)=>{const{__scopeScrollArea:n,...r}=e,a=pa(f4,n),[s,o]=N.useState(0),[u,c]=N.useState(0),f=!!(s&&u);return su(a.scrollbarX,()=>{const p=a.scrollbarX?.offsetHeight||0;a.onCornerHeightChange(p),c(p)}),su(a.scrollbarY,()=>{const p=a.scrollbarY?.offsetWidth||0;a.onCornerWidthChange(p),o(p)}),f?x.jsx(Bt.div,{...r,ref:t,style:{width:s,height:u,position:"absolute",right:a.dir==="ltr"?0:void 0,left:a.dir==="rtl"?0:void 0,bottom:0,...e.style}}):null});function ah(e){return e?parseInt(e,10):0}function Zw(e,t){const n=e/t;return isNaN(n)?0:n}function tm(e){const t=Zw(e.viewport,e.content),n=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,r=(e.scrollbar.size-n)*t;return Math.max(r,18)}function jj(e,t,n,r="ltr"){const a=tm(n),s=a/2,o=t||s,u=a-o,c=n.scrollbar.paddingStart+o,f=n.scrollbar.size-n.scrollbar.paddingEnd-u,p=n.content-n.viewport,m=r==="ltr"?[0,p]:[p*-1,0];return Jw([c,f],m)(e)}function K5(e,t,n="ltr"){const r=tm(t),a=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,s=t.scrollbar.size-a,o=t.content-t.viewport,u=s-r,c=n==="ltr"?[0,o]:[o*-1,0],f=Rj(e,c);return Jw([0,o],[0,u])(f)}function Jw(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}function e9(e,t){return e>0&&e<t}var Fj=(e,t=()=>{})=>{let n={left:e.scrollLeft,top:e.scrollTop},r=0;return(function a(){const s={left:e.scrollLeft,top:e.scrollTop},o=n.left!==s.left,u=n.top!==s.top;(o||u)&&t(),n=s,r=window.requestAnimationFrame(a)})(),()=>window.cancelAnimationFrame(r)};function nm(e,t){const n=Ur(e),r=N.useRef(0);return N.useEffect(()=>()=>window.clearTimeout(r.current),[]),N.useCallback(()=>{window.clearTimeout(r.current),r.current=window.setTimeout(n,t)},[n,t])}function su(e,t){const n=Ur(t);ri(()=>{let r=0;if(e){const a=new ResizeObserver(()=>{cancelAnimationFrame(r),r=window.requestAnimationFrame(n)});return a.observe(e),()=>{window.cancelAnimationFrame(r),a.unobserve(e)}}},[e,n])}var Uj=qw,qj=Vw,$j=Kw;function Vj({className:e,children:t,...n}){return x.jsxs(Uj,{"data-loc":"client/src/components/ui/scroll-area.tsx:12","data-slot":"scroll-area",className:Tn("relative",e),...n,children:[x.jsx(qj,{"data-loc":"client/src/components/ui/scroll-area.tsx:17","data-slot":"scroll-area-viewport",className:"focus-visible:ring-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1",children:t}),x.jsx(Gj,{"data-loc":"client/src/components/ui/scroll-area.tsx:23"}),x.jsx($j,{"data-loc":"client/src/components/ui/scroll-area.tsx:24"})]})}function Gj({className:e,orientation:t="vertical",...n}){return x.jsx(Gw,{"data-loc":"client/src/components/ui/scroll-area.tsx:35","data-slot":"scroll-area-scrollbar",orientation:t,className:Tn("flex touch-none p-px transition-colors select-none",t==="vertical"&&"h-full w-2.5 border-l border-l-transparent",t
vendor: 4,618 bytes, line 282
282==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent",e),...n,children:x.jsx(Xw,{"data-loc":"client/src/components/ui/scroll-area.tsx:48","data-slot":"scroll-area-thumb",className:"bg-border relative flex-1 rounded-full"})})}const Yj="modulepreload",Qj=function(e){return"/"+e},Z5={},j=function(t,n,r){let a=Promise.resolve();if(n&&n.length>0){let c=function(f){return Promise.all(f.map(p=>Promise.resolve(p).then(m=>({status:"fulfilled",value:m}),m=>({status:"rejected",reason:m}))))};document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),u=o?.nonce||o?.getAttribute("nonce");a=c(n.map(f=>{if(f=Qj(f),f in Z5)return;Z5[f]=!0;const p=f.endsWith(".css"),m=p?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${f}"]${m}`))return;const b=document.createElement("link");if(b.rel=p?"stylesheet":Yj,p||(b.as="script"),b.crossOrigin="",b.href=f,u&&b.setAttribute("nonce",u),document.head.appendChild(b),p)return new Promise((y,_)=>{b.addEventListener("load",y),b.addEventListener("error",()=>_(new Error(`Unable to preload CSS for ${f}`)))})}))}function s(o){const u=new Event("vite:preloadError",{cancelable:!0});if(u.payload=o,window.dispatchEvent(u),!u.defaultPrevented)throw o}return a.then(o=>{for(const u of o||[])u.status==="rejected"&&s(u.reason);return t().catch(s)})};function J5(e){const t=[],n=String(e||"");let r=n.indexOf(","),a=0,s=!1;for(;!s;){r===-1&&(r=n.length,s=!0);const o=n.slice(a,r).trim();(o||!s)&&t.push(o),a=r+1,r=n.indexOf(",",a)}return t}function h4(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const Wj=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Xj=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Kj={};function eE(e,t){return(Kj.jsx?Xj:Wj).test(e)}const Zj=/[ \t\n\f\r]/g;function rm(e){return typeof e=="object"?e.type==="text"?tE(e.value):!1:tE(e)}function tE(e){return e.replace(Zj,"")===""}let A0=class{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}};A0.prototype.normal={};A0.prototype.property={};A0.prototype.space=void 0;function t9(e,t){const n={},r={};for(const a of e)Object.assign(n,a.property),Object.assign(r,a.normal);return new A0(n,r,t)}function l0(e){return e.toLowerCase()}let kr=class{constructor(t,n){this.attribute=n,this.property=t}};kr.prototype.attribute="";kr.prototype.booleanish=!1;kr.prototype.boolean=!1;kr.prototype.commaOrSpaceSeparated=!1;kr.prototype.commaSeparated=!1;kr.prototype.defined=!1;kr.prototype.mustUseProperty=!1;kr.prototype.number=!1;kr.prototype.overloadedBoolean=!1;kr.prototype.property="";kr.prototype.spaceSeparated=!1;kr.prototype.space=void 0;let Jj=0;const it=jo(),xn=jo(),j2=jo(),Ne=jo(),zt=jo(),Kl=jo(),zr=jo();function jo(){return 2**++Jj}const F2=Object.freeze(Object.defineProperty({__proto__:null,boolean:it,booleanish:xn,commaOrSpaceSeparated:zr,commaSeparated:Kl,number:Ne,overloadedBoolean:j2,spaceSeparated:zt},Symbol.toStringTag,{value:"Module"})),gg=Object.keys(F2);let m4=class extends kr{constructor(t,n,r,a){let s=-1;if(super(t,n),nE(this,"space",a),typeof r=="number")for(;++s<gg.length;){const o=gg[s];nE(this,gg[s],(r&F2[o])===F2[o])}}};m4.prototype.defined=!0;function nE(e,t,n){n&&(e[t]=n)}function gu(e){const t={},n={};for(const[r,a]of Object.entries(e.properties)){const s=new m4(r,e.transform(e.attributes||{},r),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(s.mustUseProperty=!0),t[r]=s,n[l0(r)]=r,n[l0(s.attribute)]=r}return new A0(t,n,e.space)}const n9=gu({properties:{ariaActiveDescendant:null,ariaAtomic:xn,ariaAutoComplete:null,ariaBusy:xn,ariaChecked:xn,ariaColCount:Ne,ariaColIndex:Ne,ariaColSpan:Ne,ariaControls:zt,ariaCurrent:null,ariaDescribedBy:zt,ariaDetails:null,ariaDisabled:xn,ariaDropEffect:zt,ariaErrorMessage:null,ariaExpanded:xn,ariaFlowTo:zt,ariaGrabbed:xn,ariaHasPopup:null,ariaHidden:xn,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:zt,ariaLevel:Ne,ariaLive:null,ariaModal:xn,ariaMultiLine:xn,ariaMultiSelectable:xn,ariaOrientation:null,ariaOwns:zt,ariaPlaceholder:null,ariaPosInSet:Ne,ariaPressed:xn,ariaReadOnly:xn,ariaRelevant:null,ariaRequired:xn,ariaRoleDescription:zt,ariaRowCount:Ne,ariaRowIndex:Ne,ariaRowSpan:Ne,ariaSelected:xn,ariaSetSize:Ne,ariaSort:null,ariaValueMax:Ne,ariaValueMin:Ne,ariaValueNow:Ne,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function r9(e,t){return t in e?e[t]:t}function a9(e,t){return r9(e,t.toLowerCase())}const eF=gu({attributes:{acceptcharset:"accept-charset",classname:"
282class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Kl,acceptCharset:zt,accessKey:zt,action:null,allow:null,allowFullScreen:it,allowPaymentRequest:it,allowUserMedia:it,alt:null,as:null,async:it,autoCapitalize:null,autoComplete:zt,autoFocus:it,autoPlay:it,blocking:zt,capture:null,charSet:null,checked:it,cite:null,className:zt,cols:Ne,colSpan:null,content:null,contentEditable:xn,controls:it,controlsList:zt,coords:Ne|Kl,crossOrigin:null,data:null,dateTime:null,decoding:null,default:it,defer:it,dir:null,dirName:null,disabled:it,download:j2,draggable:xn,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:it,formTarget:null,headers:zt,height:Ne,hidden:j2,high:Ne,href:null,hrefLang:null,htmlFor:zt,httpEquiv:zt,id:null,imageSizes:null,imageSrcSet:null,inert:it,inputMode:null,integrity:null,is:null,isMap:it,itemId:null,itemProp:zt,itemRef:zt,itemScope:it,itemType:zt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:it,low:Ne,manifest:null,max:null,maxLength:Ne,media:null,method:null,min:null,minLength:Ne,multiple:it,muted:it,name:null,nonce:null,noModule:it,noValidate:it,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:it,optimum:Ne,pattern:null,ping:zt,placeholder:null,playsInline:it,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:it,referrerPolicy:null,rel:zt,required:it,reversed:it,rows:Ne,rowSpan:Ne,sandbox:zt,scope:null,scoped:it,seamless:it,selected:it,shadowRootClonable:it,shadowRootDelegatesFocus:it,shadowRootMode:null,shape:null,size:Ne,sizes:null,slot:null,span:Ne,spellCheck:xn,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Ne,step:null,style:null,tabIndex:Ne,target:null,title:null,translate:null,type:null,typeMustMatch:it,useMap:null,value:xn,width:Ne,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:zt,axis:null,background:null,bgColor:null,border:Ne,borderColor:null,bottomMargin:Ne,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:it,declare:it,event:null,face:null,frame:null,frameBorder:null,hSpace:Ne,leftMargin:Ne,link:null,longDesc:null,lowSrc:null,marginHeight:Ne,marginWidth:Ne,noResize:it,noHref:it,noShade:it,noWrap:it,object:null,profile:null,prompt:null,rev:null,rightMargin:Ne,rules:null,scheme:null,scrolling:xn,standby:null,summary:null,text:null,topMargin:Ne,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Ne,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:it,disableRemotePlayback:it,prefix:null,property:null,results:Ne,security:null,unselectable:null},space:"html",transform:a9}),tF=gu({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",colorRen
282dering:"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:zr,accentHeight:Ne,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Ne,amplitude:Ne,arabicForm:null,ascent:Ne,attributeName:null,attributeType:null,azimuth:Ne,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Ne,by:null,calcMode:null,capHeight:Ne,className:zt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRen
282dering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Ne,diffuseConstant:Ne,direction:null,display:null,dur:null,divisor:Ne,dominantBaseline:null,download:it,dx:null,dy:null,edgeMode:null,editable:null,elevation:Ne,enableBackground:null,end:null,event:null,exponent:Ne,externalResourcesRequired:null,fill:null,fillOpacity:Ne,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Kl,g2:Kl,glyphName:Kl,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Ne,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Ne,horizOriginX:Ne,horizOriginY:Ne,id:null,ideographic:Ne,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Ne,k:Ne,k1:Ne,k2:Ne,k3:Ne,k4:Ne,kernelMatrix:zr,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Ne,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Ne,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Ne,overlineThickness:Ne,paintOrder:null,panose1:null,path:null,pathLength:Ne,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:zt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Ne,pointsAtY:Ne,pointsAtZ:Ne,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:zr,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:zr,rev:zr,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:zr,requiredFeatures:zr,requiredFonts:zr,requiredFormats:zr,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:Ne,specularExponent:Ne,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Ne,strikethroughThickness:Ne,string:null,stroke:null,strokeDashArray:zr,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Ne,strokeOpacity:Ne,strokeWidth:null,style:null,surfaceScale:Ne,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:zr,tabIndex:Ne,tableValues:null,target:null,targetX:Ne,targetY:Ne,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:zr,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Ne,underlineThickness:Ne,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Ne,values:null,vAlphabetic:Ne,vMathematical:Ne,vectorEffect:null,vHanging:Ne,vIdeographic:Ne,version:null,vertAdvY:Ne,vertOriginX:Ne,vertOriginY:Ne,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Ne,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:r9}),i9=gu({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}
vendor: 4,325 bytes, lines 282-283
282,space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),s9=gu({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:a9}),o9=gu({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),nF={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"},rF=/[A-Z]/g,rE=/-[a-z]/g,aF=/^data[-\w.:]+$/i;function am(e,t){const n=l0(t);let r=t,a=kr;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&aF.test(t)){if(t.charAt(4)==="-"){const s=t.slice(5).replace(rE,sF);r="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=t.slice(4);if(!rE.test(s)){let o=s.replace(rF,iF);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}a=m4}return new a(r,t)}function iF(e){return"-"+e.toLowerCase()}function sF(e){return e.charAt(1).toUpperCase()}const C0=t9([n9,eF,i9,s9,o9],"html"),Gs=t9([n9,tF,i9,s9,o9],"svg");function aE(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function p4(e){return e.join(" ").trim()}var zl={},bg,iE;function oF(){if(iE)return bg;iE=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,a=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,o=/^[;\s]*/,u=/^\s+|\s+$/g,c=`
283`,f="/",p="*",m="",b="comment",y="declaration";bg=function(w,k){if(typeof w!="string")throw new TypeError("First argument must be a string");if(!w)return[];k=k||{};var A=1,R=1;function D(pe){var ue=pe.match(t);ue&&(A+=ue.length);var be=pe.lastIndexOf(c);R=~be?pe.length-be:R+pe.length}function F(){var pe={line:A,column:R};return function(ue){return ue.position=new H(pe),K(),ue}}function H(pe){this.start=pe,this.end={line:A,column:R},this.source=k.source}H.prototype.content=w;function P(pe){var ue=new Error(k.source+":"+A+":"+R+": "+pe);if(ue.reason=pe,ue.filename=k.source,ue.line=A,ue.column=R,ue.source=w,!k.silent)throw ue}function z(pe){var ue=pe.exec(w);if(ue){var be=ue[0];return D(be),w=w.slice(be.length),ue}}function K(){z(n)}function ee(pe){var ue;for(pe=pe||[];ue=Y();)ue!==!1&&pe.push(ue);return pe}function Y(){var pe=F();if(!(f!=w.charAt(0)||p!=w.charAt(1))){for(var ue=2;m!=w.charAt(ue)&&(p!=w.charAt(ue)||f!=w.charAt(ue+1));)++ue;if(ue+=2,m===w.charAt(ue-1))return P("End of comment missing");var be=w.slice(2,ue-2);return R+=2,D(be),w=w.slice(ue),R+=2,pe({type:b,comment:be})}}function se(){var pe=F(),ue=z(r);if(ue){if(Y(),!z(a))return P("property missing ':'");var be=z(s),G=pe({type:y,property:_(ue[0].replace(e,m)),value:be?_(be[0].replace(e,m)):m});return z(o),G}}function re(){var pe=[];ee(pe);for(var ue;ue=se();)ue!==!1&&(pe.push(ue),ee(pe));return pe}return K(),re()};function _(w){return w?w.replace(u,m):m}return bg}var sE;function lF(){if(sE)return zl;sE=1;var e=zl&&zl.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(zl,"__esModule",{value:!0}),zl.default=n;const t=e(oF());function n(r,a){let s=null;if(!r||typeof r!="string")return s;const o=(0,t.default)(r),u=typeof a=="function";return o.forEach(c=>{if(c.type!=="declaration")return;const{property:f,value:p}=c;u?a(f,p,c):p&&(s=s||{},s[f]=p)}),s}return zl}var Ec={},oE;function uF(){if(oE)return Ec;oE=1,Object.defineProperty(Ec,"__esModule",{value:!0}),Ec.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,n=/^[^-]+$/,r=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,s=function(f){return!f||n.test(f)||e.test(f)},o=function(f,p){return p.toUpperCase()},u=function(f,p){return"".concat(p,"-")},c=function(f,p){return p===void 0&&(p={}),s(f)?f:(f=f.toLowerCase(),p.reactCompat?f=f.replace(a,u):f=f.replace(r,u),f.replace(t,o))};return Ec.camelCase=c,Ec}var _c,lE;function cF(){if(lE)return _c;lE=1;var e=_c&&_c.__importDefault||function(a){return a&&a.__esModule?a:{default:a}},t=e(lF()),n=uF();function r(a,s){var o={};return!a||typeof a!="string"||(0,t.default)(a,function(u,c){u&&c&&(o[(0,n.camel
vendor: 2,654 bytes, line 283
283Case)(u,s)]=c)}),o}return r.default=r,_c=r,_c}var dF=cF();const fF=Mh(dF),im=l9("end"),li=l9("start");function l9(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function hF(e){const t=li(e),n=im(e);if(t&&n)return{start:t,end:n}}function jc(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?uE(e.position):"start"in e||"end"in e?uE(e):"line"in e||"column"in e?U2(e):""}function U2(e){return cE(e&&e.line)+":"+cE(e&&e.column)}function uE(e){return U2(e&&e.start)+"-"+U2(e&&e.end)}function cE(e){return e&&typeof e=="number"?e:1}class nr extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let a="",s={},o=!1;if(n&&("line"in n&&"column"in n?s={place:n}:"start"in n&&"end"in n?s={place:n}:"type"in n?s={ancestors:[n],place:n.position}:s={...n}),typeof t=="string"?a=t:!s.cause&&t&&(o=!0,a=t.message,s.cause=t),!s.ruleId&&!s.source&&typeof r=="string"){const c=r.indexOf(":");c===-1?s.ruleId=r:(s.source=r.slice(0,c),s.ruleId=r.slice(c+1))}if(!s.place&&s.ancestors&&s.ancestors){const c=s.ancestors[s.ancestors.length-1];c&&(s.place=c.position)}const u=s.place&&"start"in s.place?s.place.start:s.place;this.ancestors=s.ancestors||void 0,this.cause=s.cause||void 0,this.column=u?u.column:void 0,this.fatal=void 0,this.file="",this.message=a,this.line=u?u.line:void 0,this.name=jc(s.place)||"1:1",this.place=s.place||void 0,this.reason=this.message,this.ruleId=s.ruleId||void 0,this.source=s.source||void 0,this.stack=o&&s.cause&&typeof s.cause.stack=="string"?s.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}nr.prototype.file="";nr.prototype.name="";nr.prototype.reason="";nr.prototype.message="";nr.prototype.stack="";nr.prototype.column=void 0;nr.prototype.line=void 0;nr.prototype.ancestors=void 0;nr.prototype.cause=void 0;nr.prototype.fatal=void 0;nr.prototype.place=void 0;nr.prototype.ruleId=void 0;nr.prototype.source=void 0;const g4={}.hasOwnProperty,mF=new Map,pF=/[A-Z]/g,gF=new Set(["table","tbody","thead","tfoot","tr"]),bF=new Set(["td","th"]),u9="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function yF(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=AF(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");
vendor: 6,302 bytes, line 283
283if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=SF(n,t.jsx,t.jsxs)}const a={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,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"?Gs:C0,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},s=c9(a,e,void 0);return s&&typeof s!="string"?s:a.create(e,a.Fragment,{children:s||void 0},void 0)}function c9(e,t,n){if(t.type==="element")return vF(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return xF(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return _F(e,t,n);if(t.type==="mdxjsEsm")return EF(e,t);if(t.type==="root")return TF(e,t,n);if(t.type==="text")return wF(e,t)}function vF(e,t,n){const r=e.schema;let a=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(a=Gs,e.schema=a),e.ancestors.push(t);const s=f9(e,t.tagName,!1),o=CF(e,t);let u=y4(e,t);return gF.has(t.tagName)&&(u=u.filter(function(c){return typeof c=="string"?!rm(c):!0})),d9(e,o,s,t),b4(o,u),e.ancestors.pop(),e.schema=r,e.create(t,s,o,n)}function xF(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}u0(e,t.position)}function EF(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);u0(e,t.position)}function _F(e,t,n){const r=e.schema;let a=r;t.name==="svg"&&r.space==="html"&&(a=Gs,e.schema=a),e.ancestors.push(t);const s=t.name===null?e.Fragment:f9(e,t.name,!0),o=kF(e,t),u=y4(e,t);return d9(e,o,s,t),b4(o,u),e.ancestors.pop(),e.schema=r,e.create(t,s,o,n)}function TF(e,t,n){const r={};return b4(r,y4(e,t)),e.create(t,e.Fragment,r,n)}function wF(e,t){return t.value}function d9(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function b4(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function SF(e,t,n){return r;function r(a,s,o,u){const f=Array.isArray(o.children)?n:t;return u?f(s,o,u):f(s,o)}}function AF(e,t){return n;function n(r,a,s,o){const u=Array.isArray(s.children),c=li(r);return t(a,s,o,u,{columnNumber:c?c.column-1:void 0,fileName:e,lineNumber:c?c.line:void 0},void 0)}}function CF(e,t){const n={};let r,a;for(a in t.properties)if(a!=="children"&&g4.call(t.properties,a)){const s=NF(e,a,t.properties[a]);if(s){const[o,u]=s;e.tableCellAlignToStyle&&o==="align"&&typeof u=="string"&&bF.has(t.tagName)?r=u:n[o]=u}}if(r){const s=n.style||(n.style={});s[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function kF(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const s=r.data.estree.body[0];s.type;const o=s.expression;o.type;const u=o.properties[0];u.type,Object.assign(n,e.evaluater.evaluateExpression(u.argument))}else u0(e,t.position);else{const a=r.name;let s;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const u=r.value.data.estree.body[0];u.type,s=e.evaluater.evaluateExpression(u.expression)}else u0(e,t.position);else s=r.value===null?!0:r.value;n[a]=s}return n}function y4(e,t){const n=[];let r=-1;const a=e.passKeys?new Map:mF;for(;++r<t.children.length;){const s=t.children[r];let o;if(e.passKeys){const c=s.type==="element"?s.tagName:s.type==="mdxJsxFlowElement"||s.type==="mdxJsxTextElement"?s.name:void 0;if(c){const f=a.get(c)||0;o=c+"-"+f,a.set(c,f+1)}}const u=c9(e,s,o);u!==void 0&&n.push(u)}return n}function NF(e,t,n){const r=am(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?h4(n):p4(n)),r.property==="style"){let a=typeof n=="object"?n:RF(e,String(n));return e.stylePropertyNameCase==="css"&&(a=OF(a)),["style",a]}return[e.elementAttributeNameCase==="react"&&r.space?nF[r.property]||r.property:r.attribute,n]}}function RF(e,t){try{return fF(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const r=n,a=new nr("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw a.file=e.filePath||void 0,a.url=u9+"#cannot-parse-style-attribute",a}}function f9(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const a=t.split(".");let s=-1,o;for(;++s<a.length;){const u=eE(a[s])?{type:"Identifier",name:a[s]}:{type:"Literal",value:a[s]};o=o?{type:"MemberExpression",object:o,property:u,computed:!!(s&&u.type==="Literal"),optional:!1}:u}r=o}else r=eE(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const a=r.value;return g4.call(e.components,a)?e.components[a]:a}if(e.evaluater)return e.evaluater.evaluateExpression(r);u0(e)}function u0(e,t){const n=new nr("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=u9+"#cannot-handle-mdx-estrees-without-createevaluater",n}function OF(e){const t={};let n;for(n in e)g4.call(e,n)&&(t[DF(n)]=e[n]);return t}function DF(e){let t=e.replace(pF,IF);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function IF(e){return"-"+e.toLowerCase()}const yg={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"]},LF={};function v4(e,t){const n=LF,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,a=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return h9(e,r,a)}function h9(e,t,n){if(MF(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 dE(e.children,t,n)}return Array.isArray(e)?dE(e,t,n):""}function dE(e,t,n){const r=[];let a=-1;for(;++a<e.length;)r[a]=h9(e[a],t,n);return r.join("")}function MF(e){return!!(e&&typeof e=="object")}const fE=document.createElement("i");function x4(e){const t="&"+e+";";fE.innerHTML=t;const n=fE.textContent;
vendor: 12,153 bytes, line 283
283return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function Vr(e,t,n,r){const a=e.length;let s=0,o;if(t<0?t=-t>a?0:a+t:t=t>a?a:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);s<r.length;)o=r.slice(s,s+1e4),o.unshift(t,0),e.splice(...o),s+=1e4,t+=1e4}function oa(e,t){return e.length>0?(Vr(e,e.length,0,t),e):t}const hE={}.hasOwnProperty;function m9(e){const t={};let n=-1;for(;++n<e.length;)PF(t,e[n]);return t}function PF(e,t){let n;for(n in t){const a=(hE.call(e,n)?e[n]:void 0)||(e[n]={}),s=t[n];let o;if(s)for(o in s){hE.call(a,o)||(a[o]=[]);const u=s[o];BF(a[o],Array.isArray(u)?u:u?[u]:[])}}}function BF(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);Vr(e,0,0,r)}function p9(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 Sa(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const lr=Ys(/[A-Za-z]/),tr=Ys(/[\dA-Za-z]/),zF=Ys(/[#-'*+\--9=?A-Z^-~]/);function ih(e){return e!==null&&(e<32||e===127)}const q2=Ys(/\d/),HF=Ys(/[\dA-Fa-f]/),jF=Ys(/[!-/:-@[-`{-~]/);function $e(e){return e!==null&&e<-2}function Mt(e){return e!==null&&(e<0||e===32)}function ht(e){return e===-2||e===-1||e===32}const sm=Ys(new RegExp("\\p{P}|\\p{S}","u")),Io=Ys(/\s/);function Ys(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function bu(e){const t=[];let n=-1,r=0,a=0;for(;++n<e.length;){const s=e.charCodeAt(n);let o="";if(s===37&&tr(e.charCodeAt(n+1))&&tr(e.charCodeAt(n+2)))a=2;else if(s<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(s))||(o=String.fromCharCode(s));else if(s>55295&&s<57344){const u=e.charCodeAt(n+1);s<56320&&u>56319&&u<57344?(o=String.fromCharCode(s,u),a=1):o="�"}else o=String.fromCharCode(s);o&&(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+a+1,o=""),a&&(n+=a,a=0)}return t.join("")+e.slice(r)}function ut(e,t,n,r){const a=r?r-1:Number.POSITIVE_INFINITY;let s=0;return o;function o(c){return ht(c)?(e.enter(n),u(c)):t(c)}function u(c){return ht(c)&&s++<a?(e.consume(c),u):(e.exit(n),t(c))}}const FF={tokenize:UF};function UF(e){const t=e.attempt(this.parser.constructs.contentInitial,r,a);let n;return t;function r(u){if(u===null){e.consume(u);return}return e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),ut(e,t,"linePrefix")}function a(u){return e.enter("paragraph"),s(u)}function s(u){const c=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=c),n=c,o(u)}function o(u){if(u===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(u);return}return $e(u)?(e.consume(u),e.exit("chunkText"),s):(e.consume(u),o)}}const qF={tokenize:$F},mE={tokenize:VF};function $F(e){const t=this,n=[];let r=0,a,s,o;return u;function u(D){if(r<n.length){const F=n[r];return t.containerState=F[1],e.attempt(F[0].continuation,c,f)(D)}return f(D)}function c(D){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,a&&R();const F=t.events.length;let H=F,P;for(;H--;)if(t.events[H][0]==="exit"&&t.events[H][1].type==="chunkFlow"){P=t.events[H][1].end;break}A(r);let z=F;for(;z<t.events.length;)t.events[z][1].end={...P},z++;return Vr(t.events,H+1,0,t.events.slice(F)),t.events.length=z,f(D)}return u(D)}function f(D){if(r===n.length){if(!a)return b(D);if(a.currentConstruct&&a.currentConstruct.concrete)return _(D);t.interrupt=!!(a.currentConstruct&&!a._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(mE,p,m)(D)}function p(D){return a&&R(),A(r),b(D)}function m(D){return t.parser.lazy[t.now().line]=r!==n.length,o=t.now().offset,_(D)}function b(D){return t.containerState={},e.attempt(mE,y,_)(D)}function y(D){return r++,n.push([t.currentConstruct,t.containerState]),b(D)}function _(D){if(D===null){a&&R(),A(0),e.consume(D);return}return a=a||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:a,contentType:"flow",previous:s}),w(D)}function w(D){if(D===null){k(e.exit("chunkFlow"),!0),A(0),e.consume(D);return}return $e(D)?(e.consume(D),k(e.exit("chunkFlow")),r=0,t.interrupt=void 0,u):(e.consume(D),w)}function k(D,F){const H=t.sliceStream(D);if(F&&H.push(null),D.previous=s,s&&(s.next=D),s=D,a.defineSkip(D.start),a.write(H),t.parser.lazy[D.start.line]){let P=a.events.length;for(;P--;)if(a.events[P][1].start.offset<o&&(!a.events[P][1].end||a.events[P][1].end.offset>o))return;const z=t.events.length;let K=z,ee,Y;for(;K--;)if(t.events[K][0]==="exit"&&t.events[K][1].type==="chunkFlow"){if(ee){Y=t.events[K][1].end;break}ee=!0}for(A(r),P=z;P<t.events.length;)t.events[P][1].end={...Y},P++;Vr(t.events,K+1,0,t.events.slice(z)),t.events.length=P}}function A(D){let F=n.length;for(;F-- >D;){const H=n[F];t.containerState=H[1],H[0].exit.call(t,e)}n.length=D}function R(){a.write([null]),s=void 0,a=void 0,t.containerState._closeFlow=void 0}}function VF(e,t,n){return ut(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function ou(e){if(e===null||Mt(e)||Io(e))return 1;if(sm(e))return 2}function om(e,t,n){const r=[];let a=-1;for(;++a<e.length;){const s=e[a].resolveAll;s&&!r.includes(s)&&(t=s(t,n),r.push(s))}return t}const $2={name:"attention",resolveAll:GF,tokenize:YF};function GF(e,t){let n=-1,r,a,s,o,u,c,f,p;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;c=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const m={...e[r][1].end},b={...e[n][1].start};pE(m,-c),pE(b,c),o={type:c>1?"strongSequence":"emphasisSequence",start:m,end:{...e[r][1].end}},u={type:c>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:b},s={type:c>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},a={type:c>1?"strong":"emphasis",start:{...o.start},end:{...u.end}},e[r][1].end={...o.start},e[n][1].start={...u.end},f=[],e[r][1].end.offset-e[r][1].start.offset&&(f=oa(f,[["enter",e[r][1],t],["exit",e[r][1],t]])),f=oa(f,[["enter",a,t],["enter",o,t],["exit",o,t],["enter",s,t]]),f=oa(f,om(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),f=oa(f,[["exit",s,t],["enter",u,t],["exit",u,t],["exit",a,t]]),e[n][1].end.offset-e[n][1].start.offset?(p=2,f=oa(f,[["enter",e[n][1],t],["exit",e[n][1],t]])):p=0,Vr(e,r-1,n-r+3,f),n=r+f.length-p-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function YF(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,a=ou(r);let s;return o;function o(c){return s=c,e.enter("attentionSequence"),u(c)}function u(c){if(c===s)return e.consume(c),u;const f=e.exit("attentionSequence"),p=ou(c),m=!p||p===2&&a||n.includes(c),b=!a||a===2&&p||n.includes(r);return f._open=!!(s===42?m:m&&(a||!b)),f._close=!!(s===42?b:b&&(p||!m)),t(c)}}function pE(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const QF={name:"autolink",tokenize:WF};function WF(e,t,n){let r=0;return a;function a(y){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(y),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),s}function s(y){return lr(y)?(e.consume(y),o):y===64?n(y):f(y)}function o(y){return y===43||y===45||y===46||tr(y)?(r=1,u(y)):f(y)}function u(y){return y===58?(e.consume(y),r=0,c):(y===43||y===45||y===46||tr(y))&&r++<32?(e.consume(y),u):(r=0,f(y))}function c(y){return y===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(y),e.exit("autolinkMarker"),e.exit("autolink"),t):y===null||y===32||y===60||ih(y)?n(y):(e.consume(y),c)}function f(y){return y===64?(e.consume(y),p):zF(y)?(e.consume(y),f):n(y)}function p(y){return tr(y)?m(y):n(y)}function m(y){return y===46?(e.consume(y),r=0,p):y===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(y),e.exit("autolinkMarker"),e.exit("autolink"),t):b(y)}function b(y){if((y===45||tr(y))&&r++<63){const _=y===45?b:m;return e.consume(y),_}return n(y)}}const k0={partial:!0,tokenize:XF};function XF(e,t,n){return r;function r(s){return ht(s)?ut(e,a,"linePrefix")(s):a(s)}function a(s){return s===null||$e(s)?t(s):n(s)}}const g9={continuation:{tokenize:ZF},exit:JF,name:"blockQuote",tokenize:KF};function KF(e,t,n){const r=this;return a;function a(o){if(o===62){const u=r.containerState;return u.open||(e.enter("blockQuote",{_container:!0}),u.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(o),e.exit("blockQuoteMarker"),s}return n(o)}function s(o){return ht(o)?(e.enter("blockQuotePrefixWhitespace"),e.consume(o),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(o))}}function ZF(e,t,n){const r=this;return a;function a(o){return ht(o)?ut(e,s,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o):s(o)}function s(o){return e.attempt(g9,t,n)(o)}}function JF(e){e.exit("blockQuote")}const b9={name:"characterEscape",tokenize:eU};function eU(e,t,n){return r;function r(s){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(s),e.exit("escapeMarker"),a}function a(s){return jF(s)?(e.enter("characterEscapeValue"),e.consume(s),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(s)}}const y9={name:"characterReference",tokenize:tU};function tU(e,t,n){const r=this;let a=0,s,o;return u;function u(m){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(m),e.exit("characterReferenceMarker"),c}function c(m){return m===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(m),e.exit("characterReferenceMarkerNumeric"),f):(e.enter("characterReferenceValue"),s=31,o=tr,p(m))}function f(m){return m===88||m===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(m),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),s=6,o=HF,p):(e.enter("characterReferenceValue"),s=7,o=q2,p(m))}function p(m){if(m===59&&a){const b=e.exit("characterReferenceValue");return o===tr&&!x4(r.sliceSerialize(b))?n(m):(e.enter("characterReferenceMarker"),e.consume(m),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return o(m)&&a++<s?(e.consume(m),p):n(m)}}const gE={partial:!0,tokenize:rU},bE={concrete:!0,name:"codeFenced",tokenize:nU};function nU(e,t,n){const r=this,a={partial:!0,tokenize:H};let s=0,o=0,u;return c;function c(P){return f(P)}function f(P){const z=r.events[r.events.length-1];return s=z&&z[1].type==="linePrefix"?z[2].sliceSerialize(z[1],!0).length:0,u=P,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),p(P)}function p(P){return P===u?(o++,e.consume(P),p):o<3?n(P):(e.exit("codeFencedFenceSequence"),ht(P)?ut(e,m,"whitespace")(P):m(P))}function m(P){return P===null||$e(P)?(e.exit("codeFencedFence"),r.interrupt?t(P):e.check(gE,w,F)(P)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),b(P))}function b(P){return P===null||$e(P)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),m(P)):ht(P)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),ut(e,y,"whitespace")(P)):P===96&&P===u?n(P):(e.consume(P),b)}function y(P){return P===null||$e(P)?m(P):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),_(P))}function _(P){return P===null||$e(P)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),m(P)):P===96&&P===u?n(P):(e.consume(P),_)}function w(P){return e.attempt(a,F,k)(P)}function k(P){return e.enter("lineEnding"),e.consume(P),e.exit("lineEnding"),A}function A(P){return s>0&&ht(P)?ut(e,R,"linePrefix",s+1)(P):R(P)}function R(P){return P===null||$e(P)?e.check(gE,w,F)(P):(e.enter("codeFlowValue"),D(P))}function D(P){return P===null||$e(P)?(e.exit("codeFlowValue"),R(P)):(e.consume(P),D)}function F(P){return e.exit("codeFenced"),t(P)}
vendor: 5,945 bytes, line 283
283function H(P,z,K){let ee=0;return Y;function Y(be){return P.enter("lineEnding"),P.consume(be),P.exit("lineEnding"),se}function se(be){return P.enter("codeFencedFence"),ht(be)?ut(P,re,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(be):re(be)}function re(be){return be===u?(P.enter("codeFencedFenceSequence"),pe(be)):K(be)}function pe(be){return be===u?(ee++,P.consume(be),pe):ee>=o?(P.exit("codeFencedFenceSequence"),ht(be)?ut(P,ue,"whitespace")(be):ue(be)):K(be)}function ue(be){return be===null||$e(be)?(P.exit("codeFencedFence"),z(be)):K(be)}}}function rU(e,t,n){const r=this;return a;function a(o){return o===null?n(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),s)}function s(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}const vg={name:"codeIndented",tokenize:iU},aU={partial:!0,tokenize:sU};function iU(e,t,n){const r=this;return a;function a(f){return e.enter("codeIndented"),ut(e,s,"linePrefix",5)(f)}function s(f){const p=r.events[r.events.length-1];return p&&p[1].type==="linePrefix"&&p[2].sliceSerialize(p[1],!0).length>=4?o(f):n(f)}function o(f){return f===null?c(f):$e(f)?e.attempt(aU,o,c)(f):(e.enter("codeFlowValue"),u(f))}function u(f){return f===null||$e(f)?(e.exit("codeFlowValue"),o(f)):(e.consume(f),u)}function c(f){return e.exit("codeIndented"),t(f)}}function sU(e,t,n){const r=this;return a;function a(o){return r.parser.lazy[r.now().line]?n(o):$e(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),a):ut(e,s,"linePrefix",5)(o)}function s(o){const u=r.events[r.events.length-1];return u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?t(o):$e(o)?a(o):n(o)}}const oU={name:"codeText",previous:uU,resolve:lU,tokenize:cU};function lU(e){let t=e.length-4,n=3,r,a;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)a===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(a=r):(r===t||e[r][1].type==="lineEnding")&&(e[a][1].type="codeTextData",r!==a+2&&(e[a][1].end=e[r-1][1].end,e.splice(a+2,r-a-2),t-=r-a-2,r=a+2),a=void 0);return e}function uU(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function cU(e,t,n){let r=0,a,s;return o;function o(m){return e.enter("codeText"),e.enter("codeTextSequence"),u(m)}function u(m){return m===96?(e.consume(m),r++,u):(e.exit("codeTextSequence"),c(m))}function c(m){return m===null?n(m):m===32?(e.enter("space"),e.consume(m),e.exit("space"),c):m===96?(s=e.enter("codeTextSequence"),a=0,p(m)):$e(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),c):(e.enter("codeTextData"),f(m))}function f(m){return m===null||m===32||m===96||$e(m)?(e.exit("codeTextData"),c(m)):(e.consume(m),f)}function p(m){return m===96?(e.consume(m),a++,p):a===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(m)):(s.type="codeTextData",f(m))}}class dU{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 r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const a=n||0;this.setCursor(Math.trunc(t));const s=this.right.splice(this.right.length-a,Number.POSITIVE_INFINITY);return r&&Tc(this.left,r),s.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),Tc(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Tc(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);Tc(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Tc(this.left,n.reverse())}}}function Tc(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 v9(e){const t={};let n=-1,r,a,s,o,u,c,f;const p=new dU(e);for(;++n<p.length;){for(;n in t;)n=t[n];if(r=p.get(n),n&&r[1].type==="chunkFlow"&&p.get(n-1)[1].type==="listItemPrefix"&&(c=r[1]._tokenizer.events,s=0,s<c.length&&c[s][1].type==="lineEndingBlank"&&(s+=2),s<c.length&&c[s][1].type==="content"))for(;++s<c.length&&c[s][1].type!=="content";)c[s][1].type==="chunkText"&&(c[s][1]._isInFirstContentOfListItem=!0,s++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,fU(p,n)),n=t[n],f=!0);else if(r[1]._container){for(s=n,a=void 0;s--;)if(o=p.get(s),o[1].type==="lineEnding"||o[1].type==="lineEndingBlank")o[0]==="enter"&&(a&&(p.get(a)[1].type="lineEndingBlank"),o[1].type="lineEnding",a=s);else if(!(o[1].type==="linePrefix"||o[1].type==="listItemIndent"))break;a&&(r[1].end={...p.get(a)[1].start},u=p.slice(a,n),u.unshift(r),p.splice(a,n-a+1,u))}}return Vr(e,0,Number.POSITIVE_INFINITY,p.slice(0)),!f}function fU(e,t){const n=e.get(t)[1],r=e.get(t)[2];let a=t-1;const s=[];let o=n._tokenizer;o||(o=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(o._contentTypeTextTrailing=!0));const u=o.events,c=[],f={};let p,m,b=-1,y=n,_=0,w=0;const k=[w];for(;y;){for(;e.get(++a)[1]!==y;);s.push(a),y._tokenizer||(p=r.sliceStream(y),y.next||p.push(null),m&&o.defineSki
vendor: 19,336 bytes, line 283
283p(y.start),y._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(p),y._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),m=y,y=y.next}for(y=n;++b<u.length;)u[b][0]==="exit"&&u[b-1][0]==="enter"&&u[b][1].type===u[b-1][1].type&&u[b][1].start.line!==u[b][1].end.line&&(w=b+1,k.push(w),y._tokenizer=void 0,y.previous=void 0,y=y.next);for(o.events=[],y?(y._tokenizer=void 0,y.previous=void 0):k.pop(),b=k.length;b--;){const A=u.slice(k[b],k[b+1]),R=s.pop();c.push([R,R+A.length-1]),e.splice(R,2,A)}for(c.reverse(),b=-1;++b<c.length;)f[_+c[b][0]]=_+c[b][1],_+=c[b][1]-c[b][0]-1;return f}const hU={resolve:pU,tokenize:gU},mU={partial:!0,tokenize:bU};function pU(e){return v9(e),e}function gU(e,t){let n;return r;function r(u){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),a(u)}function a(u){return u===null?s(u):$e(u)?e.check(mU,o,s)(u):(e.consume(u),a)}function s(u){return e.exit("chunkContent"),e.exit("content"),t(u)}function o(u){return e.consume(u),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,a}}function bU(e,t,n){const r=this;return a;function a(o){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),ut(e,s,"linePrefix")}function s(o){if(o===null||$e(o))return n(o);const u=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}}function x9(e,t,n,r,a,s,o,u,c){const f=c||Number.POSITIVE_INFINITY;let p=0;return m;function m(A){return A===60?(e.enter(r),e.enter(a),e.enter(s),e.consume(A),e.exit(s),b):A===null||A===32||A===41||ih(A)?n(A):(e.enter(r),e.enter(o),e.enter(u),e.enter("chunkString",{contentType:"string"}),w(A))}function b(A){return A===62?(e.enter(s),e.consume(A),e.exit(s),e.exit(a),e.exit(r),t):(e.enter(u),e.enter("chunkString",{contentType:"string"}),y(A))}function y(A){return A===62?(e.exit("chunkString"),e.exit(u),b(A)):A===null||A===60||$e(A)?n(A):(e.consume(A),A===92?_:y)}function _(A){return A===60||A===62||A===92?(e.consume(A),y):y(A)}function w(A){return!p&&(A===null||A===41||Mt(A))?(e.exit("chunkString"),e.exit(u),e.exit(o),e.exit(r),t(A)):p<f&&A===40?(e.consume(A),p++,w):A===41?(e.consume(A),p--,w):A===null||A===32||A===40||ih(A)?n(A):(e.consume(A),A===92?k:w)}function k(A){return A===40||A===41||A===92?(e.consume(A),w):w(A)}}function E9(e,t,n,r,a,s){const o=this;let u=0,c;return f;function f(y){return e.enter(r),e.enter(a),e.consume(y),e.exit(a),e.enter(s),p}function p(y){return u>999||y===null||y===91||y===93&&!c||y===94&&!u&&"_hiddenFootnoteSupport"in o.parser.constructs?n(y):y===93?(e.exit(s),e.enter(a),e.consume(y),e.exit(a),e.exit(r),t):$e(y)?(e.enter("lineEnding"),e.consume(y),e.exit("lineEnding"),p):(e.enter("chunkString",{contentType:"string"}),m(y))}function m(y){return y===null||y===91||y===93||$e(y)||u++>999?(e.exit("chunkString"),p(y)):(e.consume(y),c||(c=!ht(y)),y===92?b:m)}function b(y){return y===91||y===92||y===93?(e.consume(y),u++,m):m(y)}}function _9(e,t,n,r,a,s){let o;return u;function u(b){return b===34||b===39||b===40?(e.enter(r),e.enter(a),e.consume(b),e.exit(a),o=b===40?41:b,c):n(b)}function c(b){return b===o?(e.enter(a),e.consume(b),e.exit(a),e.exit(r),t):(e.enter(s),f(b))}function f(b){return b===o?(e.exit(s),c(o)):b===null?n(b):$e(b)?(e.enter("lineEnding"),e.consume(b),e.exit("lineEnding"),ut(e,f,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),p(b))}function p(b){return b===o||b===null||$e(b)?(e.exit("chunkString"),f(b)):(e.consume(b),b===92?m:p)}function m(b){return b===o||b===92?(e.consume(b),p):p(b)}}function Fc(e,t){let n;return r;function r(a){return $e(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),n=!0,r):ht(a)?ut(e,r,n?"linePrefix":"lineSuffix")(a):t(a)}}const yU={name:"definition",tokenize:xU},vU={partial:!0,tokenize:EU};function xU(e,t,n){const r=this;let a;return s;function s(y){return e.enter("definition"),o(y)}function o(y){return E9.call(r,e,u,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(y)}function u(y){return a=Sa(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),y===58?(e.enter("definitionMarker"),e.consume(y),e.exit("definitionMarker"),c):n(y)}function c(y){return Mt(y)?Fc(e,f)(y):f(y)}function f(y){return x9(e,p,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(y)}function p(y){return e.attempt(vU,m,m)(y)}function m(y){return ht(y)?ut(e,b,"whitespace")(y):b(y)}function b(y){return y===null||$e(y)?(e.exit("definition"),r.parser.defined.push(a),t(y)):n(y)}}function EU(e,t,n){return r;function r(u){return Mt(u)?Fc(e,a)(u):n(u)}function a(u){return _9(e,s,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(u)}function s(u){return ht(u)?ut(e,o,"whitespace")(u):o(u)}function o(u){return u===null||$e(u)?t(u):n(u)}}const _U={name:"hardBreakEscape",tokenize:TU};function TU(e,t,n){return r;function r(s){return e.enter("hardBreakEscape"),e.consume(s),a}function a(s){return $e(s)?(e.exit("hardBreakEscape"),t(s)):n(s)}}const wU={name:"headingAtx",resolve:SU,tokenize:AU};function SU(e,t){let n=e.length-2,r=3,a,s;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(a={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},s={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},Vr(e,r,n-r+1,[["enter",a,t],["enter",s,t],["exit",s,t],["exit",a,t]])),e}function AU(e,t,n){let r=0;return a;function a(p){return e.enter("atxHeading"),s(p)}function s(p){return e.enter("atxHeadingSequence"),o(p)}function o(p){return p===35&&r++<6?(e.consume(p),o):p===null||Mt(p)?(e.exit("atxHeadingSequence"),u(p)):n(p)}function u(p){return p===35?(e.enter("atxHeadingSequence"),c(p)):p===null||$e(p)?(e.exit("atxHeading"),t(p)):ht(p)?ut(e,u,"whitespace")(p):(e.enter("atxHeadingText"),f(p))}function c(p){return p===35?(e.consume(p),c):(e.exit("atxHeadingSequence"),u(p))}function f(p){return p===null||p===35||Mt(p)?(e.exit("atxHeadingText"),u(p)):(e.consume(p),f)}}const CU=["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"],yE=["pre","script","style","textarea"],kU={concrete:!0,name:"htmlFlow",resolveTo:OU,tokenize:DU},NU={partial:!0,tokenize:LU},RU={partial:!0,tokenize:IU};function OU(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 DU(e,t,n){const r=this;let a,s,o,u,c;return f;function f(I){return p(I)}function p(I){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(I),m}function m(I){return I===33?(e.consume(I),b):I===47?(e.consume(I),s=!0,w):I===63?(e.consume(I),a=3,r.interrupt?t:U):lr(I)?(e.consume(I),o=String.fromCharCode(I),k):n(I)}function b(I){return I===45?(e.consume(I),a=2,y):I===91?(e.consume(I),a=5,u=0,_):lr(I)?(e.consume(I),a=4,r.interrupt?t:U):n(I)}function y(I){return I===45?(e.consume(I),r.interrupt?t:U):n(I)}function _(I){const he="CDATA[";return I===he.charCodeAt(u++)?(e.consume(I),u===he.length?r.interrupt?t:re:_):n(I)}function w(I){return lr(I)?(e.consume(I),o=String.fromCharCode(I),k):n(I)}function k(I){if(I===null||I===47||I===62||Mt(I)){const he=I===47,_e=o.toLowerCase();return!he&&!s&&yE.includes(_e)?(a=1,r.interrupt?t(I):re(I)):CU.includes(o.toLowerCase())?(a=6,he?(e.consume(I),A):r.interrupt?t(I):re(I)):(a=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(I):s?R(I):D(I))}return I===45||tr(I)?(e.consume(I),o+=String.fromCharCode(I),k):n(I)}function A(I){return I===62?(e.consume(I),r.interrupt?t:re):n(I)}function R(I){return ht(I)?(e.consume(I),R):Y(I)}function D(I){return I===47?(e.consume(I),Y):I===58||I===95||lr(I)?(e.consume(I),F):ht(I)?(e.consume(I),D):Y(I)}function F(I){return I===45||I===46||I===58||I===95||tr(I)?(e.consume(I),F):H(I)}function H(I){return I===61?(e.consume(I),P):ht(I)?(e.consume(I),H):D(I)}function P(I){return I===null||I===60||I===61||I===62||I===96?n(I):I===34||I===39?(e.consume(I),c=I,z):ht(I)?(e.consume(I),P):K(I)}function z(I){return I===c?(e.consume(I),c=null,ee):I===null||$e(I)?n(I):(e.consume(I),z)}function K(I){return I===null||I===34||I===39||I===47||I===60||I===61||I===62||I===96||Mt(I)?H(I):(e.consume(I),K)}function ee(I){return I===47||I===62||ht(I)?D(I):n(I)}function Y(I){return I===62?(e.consume(I),se):n(I)}function se(I){return I===null||$e(I)?re(I):ht(I)?(e.consume(I),se):n(I)}function re(I){return I===45&&a===2?(e.consume(I),G):I===60&&a===1?(e.consume(I),ae):I===62&&a===4?(e.consume(I),$):I===63&&a===3?(e.consume(I),U):I===93&&a===5?(e.consume(I),Oe):$e(I)&&(a===6||a===7)?(e.exit("htmlFlowData"),e.check(NU,ce,pe)(I)):I===null||$e(I)?(e.exit("htmlFlowData"),pe(I)):(e.consume(I),re)}function pe(I){return e.check(RU,ue,ce)(I)}function ue(I){return e.enter("lineEnding"),e.consume(I),e.exit("lineEnding"),be}function be(I){return I===null||$e(I)?pe(I):(e.enter("htmlFlowData"),re(I))}function G(I){return I===45?(e.consume(I),U):re(I)}function ae(I){return I===47?(e.consume(I),o="",te):re(I)}function te(I){if(I===62){const he=o.toLowerCase();return yE.includes(he)?(e.consume(I),$):re(I)}return lr(I)&&o.length<8?(e.consume(I),o+=String.fromCharCode(I),te):re(I)}function Oe(I){return I===93?(e.consume(I),U):re(I)}function U(I){return I===62?(e.consume(I),$):I===45&&a===2?(e.consume(I),U):re(I)}function $(I){return I===null||$e(I)?(e.exit("htmlFlowData"),ce(I)):(e.consume(I),$)}function ce(I){return e.exit("htmlFlow"),t(I)}}function IU(e,t,n){const r=this;return a;function a(o){return $e(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),s):n(o)}function s(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}function LU(e,t,n){return r;function r(a){return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),e.attempt(k0,t,n)}}const MU={name:"htmlText",tokenize:PU};function PU(e,t,n){const r=this;let a,s,o;return u;function u(U){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(U),c}function c(U){return U===33?(e.consume(U),f):U===47?(e.consume(U),H):U===63?(e.consume(U),D):lr(U)?(e.consume(U),K):n(U)}function f(U){return U===45?(e.consume(U),p):U===91?(e.consume(U),s=0,_):lr(U)?(e.consume(U),R):n(U)}function p(U){return U===45?(e.consume(U),y):n(U)}function m(U){return U===null?n(U):U===45?(e.consume(U),b):$e(U)?(o=m,ae(U)):(e.consume(U),m)}function b(U){return U===45?(e.consume(U),y):m(U)}function y(U){return U===62?G(U):U===45?b(U):m(U)}function _(U){const $="CDATA[";return U===$.charCodeAt(s++)?(e.consume(U),s===$.length?w:_):n(U)}function w(U){return U===null?n(U):U===93?(e.consume(U),k):$e(U)?(o=w,ae(U)):(e.consume(U),w)}function k(U){return U===93?(e.consume(U),A):w(U)}function A(U){return U===62?G(U):U===93?(e.consume(U),A):w(U)}function R(U){return U===null||U===62?G(U):$e(U)?(o=R,ae(U)):(e.consume(U),R)}function D(U){return U===null?n(U):U===63?(e.consume(U),F):$e(U)?(o=D,ae(U)):(e.consume(U),D)}function F(U){return U===62?G(U):D(U)}function H(U){return lr(U)?(e.consume(U),P):n(U)}function P(U){return U===45||tr(U)?(e.consume(U),P):z(U)}function z(U){return $e(U)?(o=z,ae(U)):ht(U)?(e.consume(U),z):G(U)}function K(U){return U===45||tr(U)?(e.consume(U),K):U===47||U===62||Mt(U)?ee(U):n(U)}function ee(U){return U===47?(e.consume(U),G):U===58||U===95||lr(U)?(e.consume(U),Y):$e(U)?(o=ee,ae(U)):ht(U)?(e.consume(U),ee):G(U)}function Y(U){return U===45||U===46||U===58||U===95||tr(U)?(e.consume(U),Y):se(U)}function se(U){return U===61?(e.consume(U),re):$e(U)?(o=se,ae(U)):ht(U)?(e.consume(U),se):ee(U)}function re(U){return U===null||U===60||U===61||U===62||U===96?n(U):U===34||U===39?(e.consume(U),a=U,pe):$e(U)?(o=re,ae(U)):ht(U)?(e.consume(U),re):(e.consume(U),ue)}function pe(U){return U===a?(e.consume(U),a=void 0,be):U===null?n(U):$e(U)?(o=pe,ae(U)):(e.consume(U),pe)}function ue(U){return U===null||U===34||U===39||U===60||U===61||U===96?n(U):U===47||U===62||Mt(U)?ee(U):(e.consume(U),ue)}function be(U){return U===47||U===62||Mt(U)?ee(U):n(U)}function G(U){return U===62?(e.consume(U),e.exit("htmlTextData"),e.exit("htmlText"),t):n(U)}function ae(U){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(U),e.exit("lineEnding"),te}function te(U){return ht(U)?ut(e,Oe,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(U):Oe(U)}function Oe(U){return e.enter("htmlTextData"),o(U)}}const E4={name:"labelEnd",resolveAll:jU,resolveTo:FU,tokenize:UU},BU={tokenize:qU},zU={tokenize:$U},HU={tokenize:VU};function jU(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const a=r.type==="labelImage"?4:2;r.type="data",t+=a}}return e.length!==n.length&&Vr(e,0,e.length,n),e}function FU(e,t){let n=e.length,r=0,a,s,o,u;for(;n--;)if(a=e[n][1],s){if(a.type==="link"||a.type==="labelLink"&&a._inactive)break;e[n][0]==="enter"&&a.type==="labelLink"&&(a._inactive=!0)}else if(o){if(e[n][0]==="enter"&&(a.type==="labelImage"||a.type==="labelLink")&&!a._balanced&&(s=n,a.type!=="labelLink")){r=2;break}}else a.type==="labelEnd"&&(o=n);const c={type:e[s][1].type==="labelLink"?"link":"image",start:{...e[s][1].start},end:{...e[e.length-1][1].end}},f={type:"label",start:{...e[s][1].start},end:{...e[o][1].end}},p={type:"labelText",start:{...e[s+r+2][1].end},end:{...e[o-2][1].start}};return u=[["enter",c,t],["enter",f,t]],u=oa(u,e.slice(s+1,s+r+3)),u=oa(u,[["enter",p,t]]),u=oa(u,om(t.parser.constructs.insideSpan.null,e.slice(s+r+4,o-3),t)),u=oa(u,[["exit",p,t],e[o-2],e[o-1],["exit",f,t]]),u=oa(u,e.slice(o+1)),u=oa(u,[["exit",c,t]]),Vr(e,s,e.length,u),e}function UU(e,t,n){const r=this;let a=r.events.length,s,o;for(;a--;)if((r.events[a][1].type==="labelImage"||r.events[a][1].type==="labelLink")&&!r.events[a][1]._balanced){s=r.events[a][1];break}return u;function u(b){return s?s._inactive?m(b):(o=r.parser.defined.includes(Sa(r.sliceSerialize({start:s.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(b),e.exit("labelMarker"),e.exit("labelEnd"),c):n(b)}function c(b){return b===40?e.attempt(BU,p,o?p:m)(b):b===91?e.attempt(zU,p,o?f:m)(b):o?p(b):m(b)}function f(b){return e.attempt(HU,p,m)(b)}function p(b){return t(b)}function m(b){return s._balanced=!0,n(b)}}function qU(e,t,n){return r;function r(m){return e.enter("resource"),e.enter("resourceMarker"),e.consume(m),e.exit("resourceMarker"),a}function a(m){return Mt(m)?Fc(e,s)(m):s(m)}function s(m){return m===41?p(m):x9(e,o,u,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(m)}function o(m){return Mt(m)?Fc(e,c)(m):p(m)}function u(m){return n(m)}function c(m){return m===34||m===39||m===40?_9(e,f,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(m):p(m)}function f(m){return Mt(m)?Fc(e,p)(m):p(m)}function p(m){return m===41?(e.enter("resourceMarker"),e.consume(m),e.exit("resourceMarker"),e.exit("resource"),t):n(m)}}function $U(e,t,n){const r=this;return a;function a(u){return E9.call(r,e,s,o,"reference","referenceMarker","referenceString")(u)}function s(u){return r.parser.defined.includes(Sa(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(u):n(u)}function o(u){return n(u)}}function VU(e,t,n){return r;function r(s){return e.enter("reference"),e.enter("referenceMarker"),e.consume(s),e.exit("referenceMarker"),a}function a(s){return s===93?(e.enter("referenceMarker"),e.consume(s),e.exit("referenceMarker"),e.exit("reference"),t):n(s)}}const GU={name:"labelStartImage",resolveAll:E4.resolveAll,tokenize:YU};function YU(e,t,n){const r=this;return a;function a(u){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(u),e.exit("labelImageMarker"),s}function s(u){return u===91?(e.enter("labelMarker"),e.consume(u),e.exit("labelMarker"),e.exit("labelImage"),o):n(u)}function o(u){return u===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(u):t(u)}}const QU={name:"labelStartLink",resolveAll:E4.resolveAll,tokenize:WU};function WU(e,t,n){const r=this;return a;function a(o){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelLink"),s}function s(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(o):t(o)}}const xg={name:"lineEnding",tokenize:XU};function XU(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),ut(e,t,"linePrefix")}}const $f={name:"thematicBreak",tokenize:KU};function KU(e,t,n){let r=0,a;return s;function s(f){return e.enter("thematicBreak"),o(f)}function o(f){return a=f,u(f)}function u(f){return f===a?(e.enter("thematicBreakSequence"),c(f)):r>=3&&(f===null||$e(f))?(e.exit("thematicBreak"),t(f)):n(f)}function c(f){return f===a?(e.consume(f),r++,c):(e.exit("thematicBreakSequence"),ht(f)?ut(e,u,"whitespace")(f):u(f))}}const wr={continuation:{tokenize:tq},exit:rq,name:"list",tokenize:eq},ZU={partial:!0,tokenize:aq},JU={partial:!0,tokenize:nq};function eq(e,t,n){const r=this,a=r.events[r.events.length-1];let s=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0,o=0;return u;function u(y){const _=r.containerState.type||(y===42||y===43||y===45?"listUnordered":"listOrdered");if(_==="listUnordered"?!r.containerState.marker||y===r.containerState.marker:q2(y)){if(r.containerState.type||(r.containerState.type=_,e.enter(_,{_container:!0})),_==="listUnordered")return e.enter("listItemPrefix"),y===42||y===45?e.check($f,n,f)(y):f(y);if(!r.interrupt||y===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),c(y)}return n(y)}function c(y){return q2(y)&&++o<10?(e.consume(y),c):(!r.interrupt||o<2)&&(r.containerState.marker?y===r.containerState.marker:y===41||y===46)?(e.exit("listItemValue"),f(y)):n(y)}function f(y){return e.enter("listItemMarker"),e.consume(y),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||y,e.check(k0,r.interrupt?n:p,e.attempt(ZU,b,m))}function p(y){return r.containerState.initialBlankLine=!0,s++,b(y)}function m(y){return ht(y)?(e.enter("listItemPrefixWhitespace"),e.consume(y),e.exit("listItemPrefixWhitespace"),b):n(y)}function b(y){return r.containerState.size=s+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(y)}}function tq(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(k0,a,s);function a(u){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,ut(e,t,"listItemIndent",r.containerState.size+1)(u)}function s(u){return r.containerState.furtherBlankLines||!ht(u)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine
vendor: 4,660 bytes, line 283
283=void 0,o(u)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(JU,t,o)(u))}function o(u){return r.containerState._closeFlow=!0,r.interrupt=void 0,ut(e,e.attempt(wr,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(u)}}function nq(e,t,n){const r=this;return ut(e,a,"listItemIndent",r.containerState.size+1);function a(s){const o=r.events[r.events.length-1];return o&&o[1].type==="listItemIndent"&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(s):n(s)}}function rq(e){e.exit(this.containerState.type)}function aq(e,t,n){const r=this;return ut(e,a,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function a(s){const o=r.events[r.events.length-1];return!ht(s)&&o&&o[1].type==="listItemPrefixWhitespace"?t(s):n(s)}}const vE={name:"setextUnderline",resolveTo:iq,tokenize:sq};function iq(e,t){let n=e.length,r,a,s;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(a=n)}else e[n][1].type==="content"&&e.splice(n,1),!s&&e[n][1].type==="definition"&&(s=n);const o={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[a][1].type="setextHeadingText",s?(e.splice(a,0,["enter",o,t]),e.splice(s+1,0,["exit",e[r][1],t]),e[r][1].end={...e[s][1].end}):e[r][1]=o,e.push(["exit",o,t]),e}function sq(e,t,n){const r=this;let a;return s;function s(f){let p=r.events.length,m;for(;p--;)if(r.events[p][1].type!=="lineEnding"&&r.events[p][1].type!=="linePrefix"&&r.events[p][1].type!=="content"){m=r.events[p][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||m)?(e.enter("setextHeadingLine"),a=f,o(f)):n(f)}function o(f){return e.enter("setextHeadingLineSequence"),u(f)}function u(f){return f===a?(e.consume(f),u):(e.exit("setextHeadingLineSequence"),ht(f)?ut(e,c,"lineSuffix")(f):c(f))}function c(f){return f===null||$e(f)?(e.exit("setextHeadingLine"),t(f)):n(f)}}const oq={tokenize:lq};function lq(e){const t=this,n=e.attempt(k0,r,e.attempt(this.parser.constructs.flowInitial,a,ut(e,e.attempt(this.parser.constructs.flow,a,e.attempt(hU,a)),"linePrefix")));return n;function r(s){if(s===null){e.consume(s);return}return e.enter("lineEndingBlank"),e.consume(s),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function a(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const uq={resolveAll:w9()},cq=T9("string"),dq=T9("text");function T9(e){return{resolveAll:w9(e==="text"?fq:void 0),tokenize:t};function t(n){const r=this,a=this.parser.constructs[e],s=n.attempt(a,o,u);return o;function o(p){return f(p)?s(p):u(p)}function u(p){if(p===null){n.consume(p);return}return n.enter("data"),n.consume(p),c}function c(p){return f(p)?(n.exit("data"),s(p)):(n.consume(p),c)}function f(p){if(p===null)return!0;const m=a[p];let b=-1;if(m)for(;++b<m.length;){const y=m[b];if(!y.previous||y.previous.call(r,r.previous))return!0}return!1}}}function w9(e){return t;function t(n,r){let a=-1,s;for(;++a<=n.length;)s===void 0?n[a]&&n[a][1].type==="data"&&(s=a,a++):(!n[a]||n[a][1].type!=="data")&&(a!==s+2&&(n[s][1].end=n[a-1][1].end,n.splice(s+2,a-s-2),a=s+2),s=void 0);return e?e(n,r):n}}function fq(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 r=e[n-1][1],a=t.sliceStream(r);let s=a.length,o=-1,u=0,c;for(;s--;){const f=a[s];if(typeof f=="string"){for(o=f.length;f.charCodeAt(o-1)===32;)u++,o--;if(o)break;o=-1}else if(f===-2)c=!0,u++;else if(f!==-1){s++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(u=0),u){const f={type:n===e.length||c||u<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:s?o:r.start._bufferIndex+o,_index:r.start._index+s,line:r.end.line,column:r.end.column-u,offset:r.end.offset-u},end:{...r.end}};r.end={...f.start},r.start.offset===r.end.offset?Object.assign(r,f):(e.splice(n,0,["enter",f,t],["exit",f,t]),n+=2)}n++}return e}const hq={42:wr,43:wr,45:wr,48:wr,49:wr,50:wr,51:wr,52:wr,53:wr,54:wr,55:wr,56:wr,57:wr,62:g9},mq={91:yU},pq={[-2]:vg,[-1]:vg,32:vg},gq={35:wU,42:$f,45:[vE,$f],60:kU,61:vE,95:$f,96:bE,126:bE},bq={38:y9,92:b9},yq={[-5]:xg,[-4]:xg,[-3]:xg,33:GU,38:y9,42:$2,60:[QF,MU],91:QU,92:[_U,b9],93:E4,95:$2,96:oU},vq={null:[$2,uq]},xq={null:[42,95]},Eq={null:[]},_q=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:xq,contentInitial:mq,disable:Eq,document:hq,flow:gq,flowInitial:pq,insideSpan:vq,string:bq,text:yq},Symbol.toStringTag,{value:"Module"}));function Tq(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,c
vendor: 21,847 bytes, lines 283-289
283olumn:n&&n.column||1,offset:n&&n.offset||0};const a={},s=[];let o=[],u=[];const c={attempt:z(H),check:z(P),consume:R,enter:D,exit:F,interrupt:z(P,{interrupt:!0})},f={code:null,containerState:{},defineSkip:w,events:[],now:_,parser:e,previous:null,sliceSerialize:b,sliceStream:y,write:m};let p=t.tokenize.call(f,c);return t.resolveAll&&s.push(t),f;function m(se){return o=oa(o,se),k(),o[o.length-1]!==null?[]:(K(t,0),f.events=om(s,f.events,f),f.events)}function b(se,re){return Sq(y(se),re)}function y(se){return wq(o,se)}function _(){const{_bufferIndex:se,_index:re,line:pe,column:ue,offset:be}=r;return{_bufferIndex:se,_index:re,line:pe,column:ue,offset:be}}function w(se){a[se.line]=se.column,Y()}function k(){let se;for(;r._index<o.length;){const re=o[r._index];if(typeof re=="string")for(se=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===se&&r._bufferIndex<re.length;)A(re.charCodeAt(r._bufferIndex));else A(re)}}function A(se){p=p(se)}function R(se){$e(se)?(r.line++,r.column=1,r.offset+=se===-3?2:1,Y()):se!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),f.previous=se}function D(se,re){const pe=re||{};return pe.type=se,pe.start=_(),f.events.push(["enter",pe,f]),u.push(pe),pe}function F(se){const re=u.pop();return re.end=_(),f.events.push(["exit",re,f]),re}function H(se,re){K(se,re.from)}function P(se,re){re.restore()}function z(se,re){return pe;function pe(ue,be,G){let ae,te,Oe,U;return Array.isArray(ue)?ce(ue):"tokenize"in ue?ce([ue]):$(ue);function $(De){return Me;function Me(Ue){const Ke=Ue!==null&&De[Ue],Ct=Ue!==null&&De.null,Zt=[...Array.isArray(Ke)?Ke:Ke?[Ke]:[],...Array.isArray(Ct)?Ct:Ct?[Ct]:[]];return ce(Zt)(Ue)}}function ce(De){return ae=De,te=0,De.length===0?G:I(De[te])}function I(De){return Me;function Me(Ue){return U=ee(),Oe=De,De.partial||(f.currentConstruct=De),De.name&&f.parser.constructs.disable.null.includes(De.name)?_e():De.tokenize.call(re?Object.assign(Object.create(f),re):f,c,he,_e)(Ue)}}function he(De){return se(Oe,U),be}function _e(De){return U.restore(),++te<ae.length?I(ae[te]):G}}}function K(se,re){se.resolveAll&&!s.includes(se)&&s.push(se),se.resolve&&Vr(f.events,re,f.events.length-re,se.resolve(f.events.slice(re),f)),se.resolveTo&&(f.events=se.resolveTo(f.events,f))}function ee(){const se=_(),re=f.previous,pe=f.currentConstruct,ue=f.events.length,be=Array.from(u);return{from:ue,restore:G};function G(){r=se,f.previous=re,f.currentConstruct=pe,f.events.length=ue,u=be,Y()}}function Y(){r.line in a&&r.column<2&&(r.column=a[r.line],r.offset+=a[r.line]-1)}}function wq(e,t){const n=t.start._index,r=t.start._bufferIndex,a=t.end._index,s=t.end._bufferIndex;let o;if(n===a)o=[e[n].slice(r,s)];else{if(o=e.slice(n,a),r>-1){const u=o[0];typeof u=="string"?o[0]=u.slice(r):o.shift()}s>0&&o.push(e[a].slice(0,s))}return o}function Sq(e,t){let n=-1;const r=[];let a;for(;++n<e.length;){const s=e[n];let o;if(typeof s=="string")o=s;else switch(s){case-5:{o="\r";break}case-4:{o=`
284`;break}case-3:{o=`\r
285`;break}case-2:{o=t?" ":"	";break}case-1:{if(!t&&a)continue;o=" ";break}default:o=String.fromCharCode(s)}a=s===-2,r.push(o)}return r.join("")}function Aq(e){const r={constructs:m9([_q,...(e||{}).extensions||[]]),content:a(FF),defined:[],document:a(qF),flow:a(oq),lazy:{},string:a(cq),text:a(dq)};return r;function a(s){return o;function o(u){return Tq(r,s,u)}}}function Cq(e){for(;!v9(e););return e}const xE=/[\0\t\n\r]/g;function kq(){let e=1,t="",n=!0,r;return a;function a(s,o,u){const c=[];let f,p,m,b,y;for(s=t+(typeof s=="string"?s.toString():new TextDecoder(o||void 0).decode(s)),m=0,t="",n&&(s.charCodeAt(0)===65279&&m++,n=void 0);m<s.length;){if(xE.lastIndex=m,f=xE.exec(s),b=f&&f.index!==void 0?f.index:s.length,y=s.charCodeAt(b),!f){t=s.slice(m);break}if(y===10&&m===b&&r)c.push(-3),r=void 0;else switch(r&&(c.push(-5),r=void 0),m<b&&(c.push(s.slice(m,b)),e+=b-m),y){case 0:{c.push(65533),e++;break}case 9:{for(p=Math.ceil(e/4)*4,c.push(-2);e++<p;)c.push(-1);break}case 10:{c.push(-4),e=1;break}default:r=!0,e=1}m=b+1}return u&&(r&&c.push(-5),t&&c.push(t),c.push(null)),c}}const Nq=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Rq(e){return e.replace(Nq,Oq)}function Oq(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const a=n.charCodeAt(1),s=a===120||a===88;return p9(n.slice(s?2:1),s?16:10)}return x4(n)||e}const S9={}.hasOwnProperty;function Dq(e,t,n){return typeof t!="string"&&(n=t,t=void 0),Iq(n)(Cq(Aq(n).document().write(kq()(e,t,!0))))}function Iq(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(on),autolinkProtocol:ee,autolinkEmail:ee,atxHeading:s(ba),blockQuote:s(Ct),characterEscape:ee,characterReference:ee,codeFenced:s(Zt),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:s(Zt,o),codeText:s(sn,o),codeTextData:ee,data:ee,codeFlowValue:ee,definition:s(Rr),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:s(Hn),hardBreakEscape:s(Qr),hardBreakTrailing:s(Qr),htmlFlow:s(fr,o),htmlFlowData:ee,htmlText:s(fr,o),htmlTextData:ee,image:s(Wr),label:o,link:s(on),listItem:s(Ws),listItemValue:b,listOrdered:s(Xi,m),listUnordered:s(Xi),paragraph:s(jn),reference:I,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:s(ba),strong:s(Ia),thematicBreak:s(Cu)},exit:{atxHeading:c(),atxHeadingSequence:H,autolink:c(),autolinkEmail:Ke,autolinkProtocol:Ue,blockQuote:c(),characterEscapeValue:Y,characterReferenceMarkerHexadecimal:_e,characterReferenceMarkerNumeric:_e,characterReferenceValue:De,characterReference:Me,codeFenced:c(k),codeFencedFence:w,codeFencedFenceInfo:y,codeFencedFenceMeta:_,codeFlowValue:Y,codeIndented:c(A),codeText:c(be),codeTextData:Y,data:Y,definition:c(),definitionDestinationString:F,definitionLabelString:R,definitionTitleString:D,emphasis:c(),hardBreakEscape:c(re),hardBreakTrailing:c(re),htmlFlow:c(pe),htmlFlowData:Y,htmlText:c(ue),htmlTextData:Y,image:c(ae),label:Oe,labelText:te,lineEnding:se,link:c(G),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:he,resourceDestinationString:U,resourceTitleString:$,resource:ce,setextHeading:c(K),setextHeadingLineSequence:z,setextHeadingText:P,strong:c(),thematicBreak:c()}};A9(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(ve){let Ie={type:"root",children:[]};const Qe={stack:[Ie],tokenStack:[],config:t,enter:u,exit:f,buffer:o,resume:p,data:n},rt=[];let ct=-1;for(;++ct<ve.length;)if(ve[ct][1].type==="listOrdered"||ve[ct][1].type==="listUnordered")if(ve[ct][0]==="enter")rt.push(ct);else{const Wn=rt.pop();ct=a(ve,Wn,ct)}for(ct=-1;++ct<ve.length;){const Wn=t[ve[ct][0]];S9.call(Wn,ve[ct][1].type)&&Wn[ve[ct][1].type].call(Object.assign({sliceSerialize:ve[ct][2].sliceSerialize},Qe),ve[ct][1])}if(Qe.tokenStack.length>0){const Wn=Qe.tokenStack[Qe.tokenStack.length-1];(Wn[1]||EE).call(Qe,void 0,Wn[0])}for(Ie.position={start:Ts(ve.length>0?ve[0][1].start:{line:1,column:1,offset:0}),end:Ts(ve.length>0?ve[ve.length-2][1].end:{line:1,column:1,offset:0})},ct=-1;++ct<t.transforms.length;)Ie=t.transforms[ct](Ie)||Ie;return Ie}function a(ve,Ie,Qe){let rt=Ie-1,ct=-1,Wn=!1,Xn,Un,ln,qn;for(;++rt<=Qe;){const At=ve[rt];switch(At[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{At[0]==="enter"?ct++:ct--,qn=void 0;break}case"lineEndingBlank":{At[0]==="enter"&&(Xn&&!qn&&!ct&&!ln&&(ln=rt),qn=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:qn=void 0}if(!ct&&At[0]==="enter"&&At[1].type==="listItemPrefix"||ct===-1&&At[0]==="exit"&&(At[1].type==="listUnordered"||At[1].type==="listOrdered")){if(Xn){let La=rt;for(Un=void 0;La--;){const ar=ve[La];if(ar[1].type==="lineEnding"||ar[1].type==="lineEndingBlank"){if(ar[0]==="exit")continue;Un&&(ve[Un][1].type="lineEndingBlank",Wn=!0),ar[1].type="lineEnding",Un=La}else if(!(ar[1].type==="linePrefix"||ar[1].type==="blockQuotePrefix"||ar[1].type==="blockQuotePrefixWhitespace"||ar[1].type==="blockQuoteMarker"||ar[1].type==="listItemIndent"))break}ln&&(!Un||ln<Un)&&(Xn._spread=!0),Xn.end=Object.assign({},Un?ve[Un][1].start:At[1].end),ve.splice(Un||rt,0,["exit",Xn,At[2]]),rt++,Qe++}if(At[1].type==="listItemPrefix"){const La={type:"listItem",_spread:!1,start:Object.assign({},At[1].start),end:void 0};Xn=La,ve.splice(rt,0,["enter",La,At[2]]),rt++,Qe++,ln=void 0,qn=!0}}}return ve[Ie][1]._spread=Wn,Qe}function s(ve,Ie){return Qe;function Qe(rt){u.call(this,ve(rt),rt),Ie&&Ie.call(this,rt)}}function o(){this.stack.push({type:"fragment",children:[]})}function u(ve,Ie,Qe){this.stack[this.stack.length-1].children.push(ve),this.stack.push(ve),this.tokenStack.push([Ie,Qe||void 0]),ve.position={start:Ts(Ie.start),end:void 0}}function c(ve){return Ie;function Ie(Qe){ve&&ve.call(this,Qe),f.call(this,Qe)}}function f(ve,Ie){const Qe=this.stack.pop(),rt=this.tokenStack.pop();if(rt)rt[0].type!==ve.type&&(Ie?Ie.call(this,ve,rt[0]):(rt[1]||EE).call(this,ve,rt[0]));else throw new Error("Cannot close `"+ve.type+"` ("+jc({start:ve.start,end:ve.end})+"): it’s not open");Qe.position.end=Ts(ve.end)}function p(){return v4(this.stack.pop())}function m(){this.data.expectingFirstListItemValue=!0}function b(ve){if(this.data.expectingFirstListItemValue){const Ie=this.stack[this.stack.length-2];Ie.start=Number.parseInt(this.sliceSerialize(ve),10),this.data.expectingFirstListItemValue=void 0}}function y(){const ve=this.resume(),Ie=this.stack[this.stack.length-1];Ie.lang=ve}function _(){const ve=this.resume(),Ie=this.stack[this.stack.length-1];Ie.meta=ve}function w(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function k(){const ve=this.resume(),Ie=this.stack[this.stack.length-1];Ie.value=ve.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function A(){const ve=this.resume(),Ie=this.stack[this.stack.length-1];Ie.value=ve.replace(/(\r?\n|\r)$/g,"")}function R(ve){const Ie=this.resume(),Qe=this.stack[this.stack.length-1];Qe.label=Ie,Qe.identifier=Sa(this.sliceSerialize(ve)).toLowerCase()}function D(){const ve=this.resume(),Ie=this.stack[this.stack.length-1];Ie.title=ve}function F(){const ve=this.resume(),Ie=this.stack[this.stack.length-1];Ie.url=ve}function H(ve){const Ie=this.stack[this.stack.length-1];if(!Ie.depth){const Qe=this.sliceSerialize(ve).length;Ie.depth=Qe}}function P(){this.data.setextHeadingSlurpLineEnding=!0}function z(ve){const Ie=this.stack[this.stack.length-1];Ie.depth=this.sliceSerialize(ve).codePointAt(0)===61?1:2}function K(){this.data.setextHeadingSlurpLineEnding=void 0}function ee(ve){const Qe=this.stack[this.stack.length-1].children;let rt=Qe[Qe.length-1];(!rt||rt.type!=="text")&&(rt=Fn(),rt.position={start:Ts(ve.start),end:void 0},Qe.push(rt)),this.stack.push(rt)}function Y(ve){const Ie=this.stack.pop();Ie.value+=this.sliceSerialize(ve),Ie.position.end=Ts(ve.end)}function se(ve){const Ie=this.stack[this.stack.length-1];if(this.data.atHardBreak){const Qe=Ie.children[Ie.children.length-1];Qe.position.end=Ts(ve.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(Ie.type)&&(ee.call(this,ve),Y.call(this,ve))}function re(){this.data.atHardBreak=!0}function pe(){const ve=this.resume(),Ie=this.stack[this.stack.length-1];Ie.value=ve}function ue(){const ve=this.resume(),Ie=this.stack[this.stack.length-1];Ie.value=ve}function be(){const ve=this.resume(),Ie=this.stack[this.stack.length-1];Ie.value=ve}function G(){const ve=this.stack[this.stack.length-1];if(this.data.inReference){const Ie=this.data.referenceType||"shortcut";ve.type+="Reference",ve.referenceType=Ie,delete ve.url,delete ve.title}else delete ve.identifier,delete ve.label;this.data.referenceType=void 0}function ae(){const ve=this.stack[this.stack.length-1];if(this.data.inReference){const Ie=this.data.referenceType||"shortcut";ve.type+="Reference",ve.referenceType=Ie,delete ve.url,delete ve.title}else delete ve.identifier,delete ve.label;this.data.referenceType=void 0}function te(ve){const Ie=this.sliceSerialize(ve),Qe=this.stack[this.stack.length-2];Qe.label=Rq(Ie),Qe.identifier=Sa(Ie).toLowerCase()}function Oe(){const ve=this.stack[this.stack.length-1],Ie=this.resume(),Qe=this.stack[this.stack.length-1];if(this.data.inReference=!0,Qe.type==="link"){const rt=ve.children;Qe.children=rt}else Qe.alt=Ie}function U(){const ve=this.resume(),Ie=this.stack[this.stack.length-1];Ie.url=ve}function $(){const ve=this.resume(),Ie=this.stack[this.stack.length-1];Ie.title=ve}function ce(){this.data.inReference=void 0}function I(){this.data.referenceType="collapsed"}function he(ve){const Ie=this.resume(),Qe=this.stack[this.stack.length-1];Qe.label=Ie,Qe.identifier=Sa(this.sliceSerialize(ve)).toLowerCase(),this.data.referenceType="full"}function _e(ve){this.data.characterReferenceType=ve.type}function De(ve){const Ie=this.sliceSerialize(ve),Qe=this.data.characterReferenceType;let rt;Qe?(rt=p9(Ie,Qe==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):rt=x4(Ie);const ct=this.stack[this.stack.length-1];ct.value+=rt}function Me(ve){const Ie=this.stack.pop();Ie.position.end=Ts(ve.end)}function Ue(ve){Y.call(this,ve);const Ie=this.stack[this.stack.length-1];Ie.url=this.sliceSerialize(ve)}function Ke(ve){Y.call(this,ve);const Ie=this.stack[this.stack.length-1];Ie.url="mailto:"+this.sliceSerialize(ve)}function Ct(){return{type:"blockquote",children:[]}}function Zt(){return{type:"code",lang:null,meta:null,value:""}}function sn(){return{type:"inlineCode",value:""}}function Rr(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Hn(){return{type:"emphasis",children:[]}}function ba(){return{type:"heading",depth:0,children:[]}}function Qr(){return{type:"break"}}function fr(){return{type:"html",value:""}}function Wr(){return{type:"image",title:null,url:"",alt:null}}function on(){return{type:"link",title:null,url:"",children:[]}}function Xi(ve){return{type:"list",ordered:ve.type==="listOrdered",start:null,spread:ve._spread,children:[]}}function Ws(ve){return{type:"listItem",spread:ve._spread,checked:null,children:[]}}function jn(){return{type:"paragraph",children:[]}}function Ia(){return{type:"strong",children:[]}}function Fn(){return{type:"text",value:""}}function Cu(){return{type:"thematicBreak"}}}function Ts(e){return{line:e.line,column:e.column,offset:e.offset}}function A9(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?A9(e,r):Lq(e,r)}}function Lq(e,t){let n;for(n in t)if(S9.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function EE(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+jc({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+jc({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+jc({start:t.start,end:t.end})+") is still open")}function Mq(e){const t=this;t.parser=n;function n(r){return Dq(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function Pq(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 Bq(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
286`}]}function zq(e,t){const n=t.value?t.value+`
287`:"",r={};t.lang&&(r.className=["language-"+t.lang]);let a={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a=e.applyData(t,a),a={type:"element",tagName:"pre",properties:{},children:[a]},e.patch(t,a),a}function Hq(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function jq(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Fq(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),a=bu(r.toLowerCase()),s=e.footnoteOrder.indexOf(r);let o,u=e.footnoteCounts.get(r);u===void 0?(u=0,e.footnoteOrder.push(r),o=e.footnoteOrder.length):o=s+1,u+=1,e.footnoteCounts.set(r,u);const c={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+a,id:n+"fnref-"+a+(u>1?"-"+u:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(t,c);const f={type:"element",tagName:"sup",properties:{},children:[c]};return e.patch(t,f),e.applyData(t,f)}function Uq(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 qq(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function C9(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const a=e.all(t),s=a[0];s&&s.type==="text"?s.value="["+s.value:a.unshift({type:"text",value:"["});const o=a[a.length-1];return o&&o.type==="text"?o.value+=r:a.push({type:"text",value:r}),a}function $q(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return C9(e,t);const a={src:bu(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(a.title=r.title);const s={type:"element",tagName:"img",properties:a,children:[]};return e.patch(t,s),e.applyData(t,s)}function Vq(e,t){const n={src:bu(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 r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function Gq(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function Yq(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return C9(e,t);const a={href:bu(r.url||"")};r.title!==null&&r.title!==void 0&&(a.title=r.title);const s={type:"element",tagName:"a",properties:a,children:e.all(t)};return e.patch(t,s),e.applyData(t,s)}function Qq(e,t){const n={href:bu(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Wq(e,t,n){const r=e.all(t),a=n?Xq(n):k9(t),s={},o=[];if(typeof t.checked=="boolean"){const p=r[0];let m;p&&p.type==="element"&&p.tagName==="p"?m=p:(m={type:"element",tagName:"p",properties:{},children:[]},r.unshift(m)),m.children.length>0&&m.children.unshift({type:"text",value:" "}),m.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),s.className=["task-list-item"]}let u=-1;for(;++u<r.length;){const p=r[u];(a||u!==0||p.type!=="element"||p.tagName!=="p")&&o.push({type:"text",value:`
288`}),p.type==="element"&&p.tagName==="p"&&!a?o.push(...p.children):o.push(p)}const c=r[r.length-1];c&&(a||c.type!=="element"||c.tagName!=="p")&&o.push({type:"text",value:`
289`});const f={type:"element",tagName:"li",properties:s,children:o};return e.patch(t,f),e.applyData(t,f)}function Xq(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=k9(n[r])}return t}function k9(e){const t=e.spread;return t??e.children.length>1}function Kq(e,t){const n={},r=e.all(t);let a=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++a<r.length;){const o=r[a];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 s={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,s),e.applyData(t,s)}function Zq(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Jq(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function e$(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function t$(e,t){const n=e.all(t),r=n.shift(),a=[];if(r){const o={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],o),a.push(o)}if(n.length>0){const o={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},u=li(t.children[1]),c=im(t.children[t.children.length-1]);u&&c&&(o.position={start:u,end:c}),a.push(o)}const s={type:"element",tagName:"table",properties:{},children:e.wrap(a,!0)};return e.patch(t,s),e.applyData(t,s)}function n$(e,t,n){const r=n?n.children:void 0,s=(r?r.indexOf(t):1)===0?"th":"td",o=n&&n.type==="table"?n.align:void 0,u=o?o.length:t.children.length;let c=-1;const f=[];for(;++c<u;){const m=t.children[c],b={},y=o?o[c]:void 0;y&&(b.align=y);let _={type:"element",tagName:s,properties:b,children:[]};m&&(_.children=e.all(m),e.patch(m,_),_=e.applyData(m,_)),f.push(_)}const p={type:"element",tagName:"tr",properties:{},children:e.wrap(f,!0)};return e.patch(t,p),e.applyData(t,p)}function r$(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const _E=9,TE=32;function a$(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),a=0;const s=[];for(;r;)s.push(wE(t.slice(a,r.index),a>0,!0),r[0]),a=r.index+r[0].length,r=n.exec(t);return s.push(wE(t.slice(a),a>0,!1)),s.join("")}function wE(e,t,n){let r=0,a=e.length;if(t){let s=e.codePointAt(r);for(;
vendor: 4,328 bytes, line 289
289s===_E||s===TE;)r++,s=e.codePointAt(r)}if(n){let s=e.codePointAt(a-1);for(;s===_E||s===TE;)a--,s=e.codePointAt(a-1)}return a>r?e.slice(r,a):""}function i$(e,t){const n={type:"text",value:a$(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function s$(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const o$={blockquote:Pq,break:Bq,code:zq,delete:Hq,emphasis:jq,footnoteReference:Fq,heading:Uq,html:qq,imageReference:$q,image:Vq,inlineCode:Gq,linkReference:Yq,link:Qq,listItem:Wq,list:Kq,paragraph:Zq,root:Jq,strong:e$,table:t$,tableCell:r$,tableRow:n$,text:i$,thematicBreak:s$,toml:mf,yaml:mf,definition:mf,footnoteDefinition:mf};function mf(){}const N9=-1,lm=0,Uc=1,sh=2,_4=3,T4=4,w4=5,S4=6,R9=7,O9=8,SE=typeof self=="object"?self:globalThis,l$=(e,t)=>{const n=(a,s)=>(e.set(s,a),a),r=a=>{if(e.has(a))return e.get(a);const[s,o]=t[a];switch(s){case lm:case N9:return n(o,a);case Uc:{const u=n([],a);for(const c of o)u.push(r(c));return u}case sh:{const u=n({},a);for(const[c,f]of o)u[r(c)]=r(f);return u}case _4:return n(new Date(o),a);case T4:{const{source:u,flags:c}=o;return n(new RegExp(u,c),a)}case w4:{const u=n(new Map,a);for(const[c,f]of o)u.set(r(c),r(f));return u}case S4:{const u=n(new Set,a);for(const c of o)u.add(r(c));return u}case R9:{const{name:u,message:c}=o;return n(new SE[u](c),a)}case O9:return n(BigInt(o),a);case"BigInt":return n(Object(BigInt(o)),a);case"ArrayBuffer":return n(new Uint8Array(o).buffer,o);case"DataView":{const{buffer:u}=new Uint8Array(o);return n(new DataView(u),o)}}return n(new SE[s](o),a)};return r},AE=e=>l$(new Map,e)(0),Hl="",{toString:u$}={},{keys:c$}=Object,wc=e=>{const t=typeof e;if(t!=="object"||!e)return[lm,t];const n=u$.call(e).slice(8,-1);switch(n){case"Array":return[Uc,Hl];case"Object":return[sh,Hl];case"Date":return[_4,Hl];case"RegExp":return[T4,Hl];case"Map":return[w4,Hl];case"Set":return[S4,Hl];case"DataView":return[Uc,n]}return n.includes("Array")?[Uc,n]:n.includes("Error")?[R9,n]:[sh,n]},pf=([e,t])=>e===lm&&(t==="function"||t==="symbol"),d$=(e,t,n,r)=>{const a=(o,u)=>{const c=r.push(o)-1;return n.set(u,c),c},s=o=>{if(n.has(o))return n.get(o);let[u,c]=wc(o);switch(u){case lm:{let p=o;switch(c){case"bigint":u=O9,p=o.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+c);p=null;break;case"undefined":return a([N9],o)}return a([u,p],o)}case Uc:{if(c){let b=o;return c==="DataView"?b=new Uint8Array(o.buffer):c==="ArrayBuffer"&&(b=new Uint8Array(o)),a([c,[...b]],o)}const p=[],m=a([u,p],o);for(const b of o)p.push(s(b));return m}case sh:{if(c)switch(c){case"BigInt":return a([c,o.toString()],o);case"Boolean":case"Number":case"String":return a([c,o.valueOf()],o)}if(t&&"toJSON"in o)return s(o.toJSON());const p=[],m=a([u,p],o);for(const b of c$(o))(e||!pf(wc(o[b])))&&p.push([s(b),s(o[b])]);return m}case _4:return a([u,o.toISOString()],o);case T4:{const{source:p,flags:m}=o;return a([u,{source:p,flags:m}],o)}case w4:{const p=[],m=a([u,p],o);for(const[b,y]of o)(e||!(pf(wc(b))||pf(wc(y))))&&p.push([s(b),s(y)]);return m}case S4:{const p=[],m=a([u,p],o);for(const b of o)(e||!pf(wc(b)))&&p.push(s(b));return m}}const{message:f}=o;return a([u,{name:c,message:f}],o)};return s},CE=(e,{json:t,lossy:n}={})=>{const r=[];return d$(!(t||n),!!t,new Map,r)(e),r},lu=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?AE(CE(e,t)):structuredClone(e):(e,t)=>AE(CE(e,t));function f$(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 h$(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function m$(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||f$,r=e.options.footnoteBackLabel||h$,a=e.options.footnoteLabel||"Footnotes",s=e.options.footnoteLabelTagName||"h2",o=e.options.footnoteLabelProperties||{className:["sr-only"]},u=[];let c=-1;for(;++c<e.footnoteOrder.length;){const f=e.footnoteById.get(e.footnoteOrder[c]);if(!f)continue;const p=e.all(f),m=String(f.identifier).toUpperCase(),b=bu(m.toLowerCase());let y=0;const _=[],w=e.footnoteCounts.get(m);for(;w!==void 0&&++y<=w;){_.length>0&&_.push({type:"text",value:" "});let R=typeof n=="string"?n:n(c,y);
vendor: 5,826 bytes, lines 289-295
289typeof R=="string"&&(R={type:"text",value:R}),_.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+b+(y>1?"-"+y:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(c,y),className:["data-footnote-backref"]},children:Array.isArray(R)?R:[R]})}const k=p[p.length-1];if(k&&k.type==="element"&&k.tagName==="p"){const R=k.children[k.children.length-1];R&&R.type==="text"?R.value+=" ":k.children.push({type:"text",value:" "}),k.children.push(..._)}else p.push(..._);const A={type:"element",tagName:"li",properties:{id:t+"fn-"+b},children:e.wrap(p,!0)};e.patch(f,A),u.push(A)}if(u.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:s,properties:{...lu(o),id:"footnote-label"},children:[{type:"text",value:a}]},{type:"text",value:`
290`},{type:"element",tagName:"ol",properties:{},children:e.wrap(u,!0)},{type:"text",value:`
291`}]}}const N0=(function(e){if(e==null)return y$;if(typeof e=="function")return um(e);if(typeof e=="object")return Array.isArray(e)?p$(e):g$(e);if(typeof e=="string")return b$(e);throw new Error("Expected function, string, or object as test")});function p$(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=N0(e[n]);return um(r);function r(...a){let s=-1;for(;++s<t.length;)if(t[s].apply(this,a))return!0;return!1}}function g$(e){const t=e;return um(n);function n(r){const a=r;let s;for(s in e)if(a[s]!==t[s])return!1;return!0}}function b$(e){return um(t);function t(n){return n&&n.type===e}}function um(e){return t;function t(n,r,a){return!!(v$(n)&&e.call(this,n,typeof r=="number"?r:void 0,a||void 0))}}function y$(){return!0}function v$(e){return e!==null&&typeof e=="object"&&"type"in e}const D9=[],Rc=!0,V2=!1,oh="skip";function A4(e,t,n,r){let a;typeof t=="function"&&typeof n!="function"?(r=n,n=t):a=t;const s=N0(a),o=r?-1:1;u(e,void 0,[])();function u(c,f,p){const m=c&&typeof c=="object"?c:{};if(typeof m.type=="string"){const y=typeof m.tagName=="string"?m.tagName:typeof m.name=="string"?m.name:void 0;Object.defineProperty(b,"name",{value:"node ("+(c.type+(y?"<"+y+">":""))+")"})}return b;function b(){let y=D9,_,w,k;if((!t||s(c,f,p[p.length-1]||void 0))&&(y=x$(n(c,p)),y[0]===V2))return y;if("children"in c&&c.children){const A=c;if(A.children&&y[0]!==oh)for(w=(r?A.children.length:-1)+o,k=p.concat(A);w>-1&&w<A.children.length;){const R=A.children[w];if(_=u(R,w,k)(),_[0]===V2)return _;w=typeof _[1]=="number"?_[1]:w+o}}return y}}}function x$(e){return Array.isArray(e)?e:typeof e=="number"?[Rc,e]:e==null?D9:[e]}function Lo(e,t,n,r){let a,s,o;typeof t=="function"&&typeof n!="function"?(s=void 0,o=t,a=n):(s=t,o=n,a=r),A4(e,s,u,a);function u(c,f){const p=f[f.length-1],m=p?p.children.indexOf(c):void 0;return o(c,m,p)}}const G2={}.hasOwnProperty,E$={};function _$(e,t){const n=t||E$,r=new Map,a=new Map,s=new Map,o={...o$,...n.handlers},u={all:f,applyData:w$,definitionById:r,footnoteById:a,footnoteCounts:s,footnoteOrder:[],handlers:o,one:c,options:n,patch:T$,wrap:A$};return Lo(e,function(p){if(p.type==="definition"||p.type==="footnoteDefinition"){const m=p.type==="definition"?r:a,b=String(p.identifier).toUpperCase();m.has(b)||m.set(b,p)}}),u;function c(p,m){const b=p.type,y=u.handlers[b];if(G2.call(u.handlers,b)&&y)return y(u,p,m);if(u.options.passThrough&&u.options.passThrough.includes(b)){if("children"in p){const{children:w,...k}=p,A=lu(k);return A.children=u.all(p),A}return lu(p)}return(u.options.unknownHandler||S$)(u,p,m)}function f(p){const m=[];if("children"in p){const b=p.children;let y=-1;for(;++y<b.length;){const _=u.one(b[y],p);if(_){if(y&&b[y-1].type==="break"&&(!Array.isArray(_)&&_.type==="text"&&(_.value=kE(_.value)),!Array.isArray(_)&&_.type==="element")){const w=_.children[0];w&&w.type==="text"&&(w.value=kE(w.value))}Array.isArray(_)?m.push(..._):m.push(_)}}}return m}}function T$(e,t){e.position&&(t.position=hF(e))}function w$(e,t){let n=t;if(e&&e.data){const r=e.data.hName,a=e.data.hChildren,s=e.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{const o="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:o}}n.type==="element"&&s&&Object.assign(n.properties,lu(s)),"children"in n&&n.children&&a!==null&&a!==void 0&&(n.children=a)}return n}function S$(e,t){const n=t.data||{},r="value"in t&&!(G2.call(n,"hProperties")||G2.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function A$(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:`
292`});++r<e.length;)r&&n.push({type:"text",value:`
293`}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:`
294`}),n}function kE(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function NE(e,t){const n=_$(e,t),r=n.one(e,void 0),a=m$(n),s=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return a&&s.children.push({type:"text",value:`
295`},a),s}function C$(e,t){return e&&"run"in e?async function(n,r){const a=NE(n,{file:r,...t});await e.run(a,r)}:function(n,r){return NE(n,{file:r,...e||t})}}function RE(e){if(e)throw e}var Eg,OE;function k$(){if(OE)return Eg;OE=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,a=function(f){return typeof Array.isArray=="function"?Array.isArray(f):t.call(f)==="[object Array]"},s=function(f){if(!f||t.call(f)!=="[object Object]")return!1;var p=e.call(f,"constructor"),m=f.constructor&&f.constructor.prototype&&e.call(f.constructor.prototype,"isPrototypeOf");if(f.constructor&&!p&&!m)return!1;var b;for(b in f);return typeof b>"u"||e.call(f,b)},o=function(f,p){n&&p.name==="__proto__"?n(f,p.name,{enumerable:!0,configurable:!0,value:p.newValue,writable:!0}):f[p.name]=p.newValue}
vendor: 5,086 bytes, line 295
295,u=function(f,p){if(p==="__proto__")if(e.call(f,p)){if(r)return r(f,p).value}else return;return f[p]};return Eg=function c(){var f,p,m,b,y,_,w=arguments[0],k=1,A=arguments.length,R=!1;for(typeof w=="boolean"&&(R=w,w=arguments[1]||{},k=2),(w==null||typeof w!="object"&&typeof w!="function")&&(w={});k<A;++k)if(f=arguments[k],f!=null)for(p in f)m=u(w,p),b=u(f,p),w!==b&&(R&&b&&(s(b)||(y=a(b)))?(y?(y=!1,_=m&&a(m)?m:[]):_=m&&s(m)?m:{},o(w,{name:p,newValue:c(R,_,b)})):typeof b<"u"&&o(w,{name:p,newValue:b}));return w},Eg}var N$=k$();const _g=Mh(N$);function Y2(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 R$(){const e=[],t={run:n,use:r};return t;function n(...a){let s=-1;const o=a.pop();if(typeof o!="function")throw new TypeError("Expected function as last argument, not "+o);u(null,...a);function u(c,...f){const p=e[++s];let m=-1;if(c){o(c);return}for(;++m<a.length;)(f[m]===null||f[m]===void 0)&&(f[m]=a[m]);a=f,p?O$(p,u)(...f):o(null,...f)}}function r(a){if(typeof a!="function")throw new TypeError("Expected `middelware` to be a function, not "+a);return e.push(a),t}}function O$(e,t){let n;return r;function r(...o){const u=e.length>o.length;let c;u&&o.push(a);try{c=e.apply(this,o)}catch(f){const p=f;if(u&&n)throw p;return a(p)}u||(c&&c.then&&typeof c.then=="function"?c.then(s,a):c instanceof Error?a(c):s(c))}function a(o,...u){n||(n=!0,t(o,...u))}function s(o){a(null,o)}}const Ga={basename:D$,dirname:I$,extname:L$,join:M$,sep:"/"};function D$(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');R0(e);let n=0,r=-1,a=e.length,s;if(t===void 0||t.length===0||t.length>e.length){for(;a--;)if(e.codePointAt(a)===47){if(s){n=a+1;break}}else r<0&&(s=!0,r=a+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let o=-1,u=t.length-1;for(;a--;)if(e.codePointAt(a)===47){if(s){n=a+1;break}}else o<0&&(s=!0,o=a+1),u>-1&&(e.codePointAt(a)===t.codePointAt(u--)?u<0&&(r=a):(u=-1,r=o));return n===r?r=o:r<0&&(r=e.length),e.slice(n,r)}function I$(e){if(R0(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function L$(e){R0(e);let t=e.length,n=-1,r=0,a=-1,s=0,o;for(;t--;){const u=e.codePointAt(t);if(u===47){if(o){r=t+1;break}continue}n<0&&(o=!0,n=t+1),u===46?a<0?a=t:s!==1&&(s=1):a>-1&&(s=-1)}return a<0||n<0||s===0||s===1&&a===n-1&&a===r+1?"":e.slice(a,n)}function M$(...e){let t=-1,n;for(;++t<e.length;)R0(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":P$(n)}function P$(e){R0(e);const t=e.codePointAt(0)===47;let n=B$(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function B$(e,t){let n="",r=0,a=-1,s=0,o=-1,u,c;for(;++o<=e.length;){if(o<e.length)u=e.codePointAt(o);else{if(u===47)break;u=47}if(u===47){if(!(a===o-1||s===1))if(a!==o-1&&s===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(c=n.lastIndexOf("/"),c!==n.length-1){c<0?(n="",r=0):(n=n.slice(0,c),r=n.length-1-n.lastIndexOf("/")),a=o,s=0;continue}}else if(n.length>0){n="",r=0,a=o,s=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(a+1,o):n=e.slice(a+1,o),r=o-a-1;a=o,s=0}else u===46&&s>-1?s++:s=-1}return n}function R0(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const z$={cwd:H$};function H$(){return"/"}function Q2(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function j$(e){if(typeof e=="string")e=new URL(e);else if(!Q2(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 F$(e)}function F$(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(n+2);if(r===70||r===102){const a=new TypeError("File URL path must not include encoded / characters");throw a.code="ERR_INVALID_FILE_URL_PATH",a}}return decodeURIComponent(t)}const Tg=["history","path","basename","stem","extname","dirname"];class I9{constructor(t){let n;t?Q2(t)?n={path:t}:typeof t=="string"||U$(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":z$.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<Tg.length;){const s=Tg[r];s in n&&n[s]!==void 0&&n[s]!==null&&(this[s]=s==="history"?[...n[s]]:n[s])}let a;for(a in n)Tg.includes(a)||(this[a]=n[a])}get basename(){return typeof this.path=="string"?Ga.basename(this.path):void 0}
vendor: 9,429 bytes, line 295
295set basename(t){Sg(t,"basename"),wg(t,"basename"),this.path=Ga.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Ga.dirname(this.path):void 0}set dirname(t){DE(this.basename,"dirname"),this.path=Ga.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Ga.extname(this.path):void 0}set extname(t){if(wg(t,"extname"),DE(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=Ga.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){Q2(t)&&(t=j$(t)),Sg(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Ga.basename(this.path,this.extname):void 0}set stem(t){Sg(t,"stem"),wg(t,"stem"),this.path=Ga.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const a=this.message(t,n,r);throw a.fatal=!0,a}info(t,n,r){const a=this.message(t,n,r);return a.fatal=void 0,a}message(t,n,r){const a=new nr(t,n,r);return this.path&&(a.name=this.path+":"+a.name,a.file=this.path),a.fatal=!1,this.messages.push(a),a}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function wg(e,t){if(e&&e.includes(Ga.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Ga.sep+"`")}function Sg(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function DE(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function U$(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const q$=(function(e){const r=this.constructor.prototype,a=r[e],s=function(){return a.apply(s,arguments)};return Object.setPrototypeOf(s,r),s}),$$={}.hasOwnProperty;class C4 extends q${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=R$()}copy(){const t=new C4;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(_g(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(kg("data",this.frozen),this.namespace[t]=n,this):$$.call(this.namespace,t)&&this.namespace[t]||void 0:t?(kg("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,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const a=n.call(t,...r);typeof a=="function"&&this.transformers.use(a)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=gf(t),r=this.parser||this.Parser;return Ag("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),Ag("process",this.parser||this.Parser),Cg("process",this.compiler||this.Compiler),n?a(void 0,n):new Promise(a);function a(s,o){const u=gf(t),c=r.parse(u);r.run(c,u,function(p,m,b){if(p||!m||!b)return f(p);const y=m,_=r.stringify(y,b);Y$(_)?b.value=_:b.result=_,f(p,b)});function f(p,m){p||!m?o(p):s?s(m):n(void 0,m)}}}processSync(t){let n=!1,r;return this.freeze(),Ag("processSync",this.parser||this.Parser),Cg("processSync",this.compiler||this.Compiler),this.process(t,a),LE("processSync","process",n),r;function a(s,o){n=!0,RE(s),r=o}}run(t,n,r){IE(t),this.freeze();const a=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?s(void 0,r):new Promise(s);function s(o,u){const c=gf(n);a.run(t,c,f);function f(p,m,b){const y=m||t;p?u(p):o?o(y):r(void 0,y,b)}}}runSync(t,n){let r=!1,a;return this.run(t,n,s),LE("runSync","run",r),a;function s(o,u){RE(o),a=u,r=!0}}stringify(t,n){this.freeze();const r=gf(n),a=this.compiler||this.Compiler;return Cg("stringify",a),IE(t),a(t,r)}use(t,...n){const r=this.attachers,a=this.namespace;if(kg("use",this.frozen),t!=null)if(typeof t=="function")c(t,n);else if(typeof t=="object")Array.isArray(t)?u(t):o(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function s(f){if(typeof f=="function")c(f,[]);else if(typeof f=="object")if(Array.isArray(f)){const[p,...m]=f;c(p,m)}else o(f);else throw new TypeError("Expected usable value, not `"+f+"`")}function o(f){if(!("plugins"in f)&&!("settings"in f))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");u(f.plugins),f.settings&&(a.settings=_g(!0,a.settings,f.settings))}function u(f){let p=-1;if(f!=null)if(Array.isArray(f))for(;++p<f.length;){const m=f[p];s(m)}else throw new TypeError("Expected a list of plugins, not `"+f+"`")}function c(f,p){let m=-1,b=-1;for(;++m<r.length;)if(r[m][0]===f){b=m;break}if(b===-1)r.push([f,...p]);else if(p.length>0){let[y,..._]=p;const w=r[b][1];Y2(w)&&Y2(y)&&(y=_g(!0,w,y)),r[b]=[f,y,..._]}}}}const V$=new C4().freeze();function Ag(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Cg(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function kg(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 IE(e){if(!Y2(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function LE(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function gf(e){return G$(e)?e:new I9(e)}function G$(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function Y$(e){return typeof e=="string"||Q$(e)}function Q$(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const W$="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",ME=[],PE={allowDangerousHtml:!0},X$=/^(https?|ircs?|mailto|xmpp)$/i,K$=[{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 Z$(e){const t=J$(e),n=eV(e);return tV(t.runSync(t.parse(n),n),e)}function J$(e){const t=e.rehypePlugins||ME,n=e.remarkPlugins||ME,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...PE}:PE;return V$().use(Mq).use(n).use(C$,r).use(t)}function eV(e){const t=e.children||"",n=new I9;return typeof t=="string"&&(n.value=t),n}function tV(e,t){const n=t.allowedElements,r=t.allowElement,a=t.components,s=t.disallowedElements,o=t.skipHtml,u=t.unwrapDisallowed,c=t.urlTransform||nV;for(const p of K$)Object.hasOwn(t,p.from)&&(""+p.from+(p.to?"use `"+p.to+"` instead":"remove it")+W$+p.id,void 0);return Lo(e,f),yF(e,{Fragment:x.Fragment,components:a,ignoreInvalidStyle:!0,jsx:x.jsx,jsxs:x.jsxs,passKeys:!0,passNode:!0});function f(p,m,b){if(p.type==="raw"&&b&&typeof m=="number")return o?b.children.splice(m,1):b.children[m]={type:"text",value:p.value},m;if(p.type==="element"){let y;for(y in yg)if(Object.hasOwn(yg,y)&&Object.hasOwn(p.properties,y)){const _=p.properties[y],w=yg[y];(w===null||w.includes(p.tagName))&&(p.properties[y]=c(String(_||""),y,p))}}if(p.type==="element"){let y=n?!n.includes(p.tagName):s?s.includes(p.tagName):!1;if(!y&&r&&typeof m=="number"&&(y=!r(p,m,b)),y&&b&&typeof m=="number")return u&&p.children?b.children.splice(m,1,...p.children):b.children.splice(m,1),m}}}function nV(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),a=e.indexOf("/");return t===-1||a!==-1&&t>a||n!==-1&&t>n||r!==-1&&t>r||X$.test(e.slice(0,t))?e:""}const BE=/[#.]/g;function rV(e,t){const n=e||"",r={};let a=0,s,o;for(;a<n.length;){BE.lastIndex=a;const u=BE.exec(n),c=n.slice(a,u?u.index:n.length);c&&(s?s==="#"?r.id=c:Array.isArray(r.className)?r.className.push(c):r.className=[c]:o=c,a+=c.length),u&&(s=u[0],a++)}return{type:"element",tagName:o||t||"div",properties:r,children:[]}}function L9(e,t,n){const r=n?oV(n):void 0;function a(s,o,...u){let c;if(s==null){c={type:"root",children:[]};const f=o;u.unshift(f)}else{c=rV(s,t);const f=c.tagName.toLowerCase(),p=r?r.get(f):void 0;if(c.tagName=p||f,aV(o))u.unshift(o);else for(const[m,b]of Object.entries(o))iV(e,c.properties,m,b)}for(const f of u)W2(c.children,f);return c.type==="element"&&c.tagName==="template"&&(c.content={type:"root",children:c.children},c.children=[]),c}return a}function aV(e){if(e===null||typeof e!="object"||Array.isArray(e))return!0;
vendor: 11,929 bytes, lines 295-297
295if(typeof e.type!="string")return!1;const t=e,n=Object.keys(e);for(const r of n){const a=t[r];if(a&&typeof a=="object"){if(!Array.isArray(a))return!0;const s=a;for(const o of s)if(typeof o!="number"&&typeof o!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function iV(e,t,n,r){const a=am(e,n);let s;if(r!=null){if(typeof r=="number"){if(Number.isNaN(r))return;s=r}else typeof r=="boolean"?s=r:typeof r=="string"?a.spaceSeparated?s=aE(r):a.commaSeparated?s=J5(r):a.commaOrSpaceSeparated?s=aE(J5(r).join(" ")):s=zE(a,a.property,r):Array.isArray(r)?s=[...r]:s=a.property==="style"?sV(r):String(r);if(Array.isArray(s)){const o=[];for(const u of s)o.push(zE(a,a.property,u));s=o}a.property==="className"&&Array.isArray(t.className)&&(s=t.className.concat(s)),t[a.property]=s}}function W2(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)W2(e,n);else if(typeof t=="object"&&"type"in t)t.type==="root"?W2(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function zE(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||l0(n)===l0(t)))return!0}return n}function sV(e){const t=[];for(const[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}function oV(e){const t=new Map;for(const n of e)t.set(n.toLowerCase(),n);return t}const lV=["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"],M9=L9(C0,"div"),P9=L9(Gs,"g",lV),Ja={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/"};function uV(e,t){return B9(e,{})||{type:"root",children:[]}}function B9(e,t){const n=cV(e,t);return n&&t.afterTransform&&t.afterTransform(e,n),n}function cV(e,t){switch(e.nodeType){case 1:return mV(e,t);case 3:return fV(e);case 8:return hV(e);case 9:return HE(e,t);case 10:return dV();case 11:return HE(e,t);default:return}}function HE(e,t){return{type:"root",children:z9(e,t)}}function dV(){return{type:"doctype"}}function fV(e){return{type:"text",value:e.nodeValue||""}}function hV(e){return{type:"comment",value:e.nodeValue||""}}function mV(e,t){const n=e.namespaceURI,r=n===Ja.svg?P9:M9,a=n===Ja.html?e.tagName.toLowerCase():e.tagName,s=n===Ja.html&&a==="template"?e.content:e,o=e.getAttributeNames(),u={};let c=-1;for(;++c<o.length;)u[o[c]]=e.getAttribute(o[c])||"";return r(a,u,z9(s,t))}function z9(e,t){const n=e.childNodes,r=[];let a=-1;for(;++a<n.length;){const s=B9(n[a],t);s!==void 0&&r.push(s)}return r}new DOMParser;function pV(e,t){const n=gV(e);return uV(n)}function gV(e){const t=document.createElement("template");return t.innerHTML=e,t.content}const jE=(function(e,t,n){const r=N0(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(r(e.children[t],t,e))return e.children[t]}),Fo=(function(e){if(e==null)return vV;if(typeof e=="string")return yV(e);if(typeof e=="object")return bV(e);if(typeof e=="function")return k4(e);throw new Error("Expected function, string, or array as `test`")});function bV(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Fo(e[n]);return k4(r);function r(...a){let s=-1;for(;++s<t.length;)if(t[s].apply(this,a))return!0;return!1}}function yV(e){return k4(t);function t(n){return n.tagName===e}}function k4(e){return t;function t(n,r,a){return!!(xV(n)&&e.call(this,n,typeof r=="number"?r:void 0,a||void 0))}}function vV(e){return!!(e&&typeof e=="object"&&"type"in e&&e.type==="element"&&"tagName"in e&&typeof e.tagName=="string")}function xV(e){return e!==null&&typeof e=="object"&&"type"in e&&"tagName"in e}const FE=/\n/g,UE=/[\t ]+/g,X2=Fo("br"),qE=Fo(kV),EV=Fo("p"),$E=Fo("tr"),_V=Fo(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",CV,NV]),H9=Fo(["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 TV(e,t){const n=t||{},r="children"in e?e.children:[],a=H9(e),s=U9(e,{whitespace:n.whitespace||"normal"}),o=[];(e.type==="text"||e.type==="comment")&&o.push(...F9(e,{breakBefore:!0,breakAfter:!0}));let u=-1;for(;++u<r.length;)o.push(...j9(r[u],e,{whitespace:s,breakBefore:u?void 0:a,breakAfter:u<r.length-1?X2(r[u+1]):a}));const c=[];let f;for(u=-1;++u<o.length;){const p=o[u];typeof p=="number"?f!==void 0&&p>f&&(f=p):p&&(f!==void 0&&f>-1&&c.push(`
296`.repeat(f)||" "),f=-1,c.push(p))}return c.join("")}function j9(e,t,n){return e.type==="element"?wV(e,t,n):e.type==="text"?n.whitespace==="normal"?F9(e,n):SV(e):[]}function wV(e,t,n){const r=U9(e,n),a=e.children||[];let s=-1,o=[];if(_V(e))return o;let u,c;for(X2(e)||$E(e)&&jE(t,e,$E)?c=`
297`:EV(e)?(u=2,c=2):H9(e)&&(u=1,c=1);++s<a.length;)o=o.concat(j9(a[s],e,{whitespace:r,breakBefore:s?void 0:u,breakAfter:s<a.length-1?X2(a[s+1]):c}));return qE(e)&&jE(t,e,qE)&&o.push("	"),u&&o.unshift(u),c&&o.push(c),o}function F9(e,t){const n=String(e.value),r=[],a=[];let s=0;for(;s<=n.length;){FE.lastIndex=s;const c=FE.exec(n),f=c&&"index"in c?c.index:n.length;r.push(AV(n.slice(s,f).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),s===0?t.breakBefore:!0,f===n.length?t.breakAfter:!0)),s=f+1}let o=-1,u;for(;++o<r.length;)r[o].charCodeAt(r[o].length-1)===8203||o<r.length-1&&r[o+1].charCodeAt(0)===8203?(a.push(r[o]),u=void 0):r[o]?(typeof u=="number"&&a.push(u),a.push(r[o]),u=0):(o===0||o===r.length-1)&&a.push(0);return a}function SV(e){return[String(e.value)]}function AV(e,t,n){const r=[];let a=0,s;for(;a<e.length;){UE.lastIndex=a;const o=UE.exec(e);s=o?o.index:e.length,!a&&!s&&o&&!t&&r.push(""),a!==s&&r.push(e.slice(a,s)),a=o?s+o[0].length:s}return a!==s&&!n&&r.push(""),r.join(" ")}function U9(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 CV(e){return!!(e.properties||{}).hidden}function kV(e){return e.tagName==="td"||e.tagName==="th"}function NV(e){return e.tagName==="dialog"&&!(e.properties||{}).open}class Cr{constructor(t,n,r){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=t,this.start=n,this.end=r}static range(t,n){return n?!t||!t.loc||!n.loc||t.loc.lexer!==n.loc.lexer?null:new Cr(t.loc.lexer,t.loc.start,n.loc.end):t&&t.loc}}class Gr{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 Gr(n,Cr.range(this,t))}}class ke{constructor(t,n){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var r="KaTeX parse error: "+t,a,s,o=n&&n.loc;if(o&&o.start<=o.end){var u=o.lexer.input;a=o.start,s=o.end,a===u.length?r+=" at end of input: ":r+=" at position "+(a+1)+": ";var c=u.slice(a,s).replace(/[^]/g,"$&̲"),f;a>15?f="…"+u.slice(a-15,a):f=u.slice(0,a);var p;s+15<u.length?p=u.slice(s,s+15)+"…":p=u.slice(s),r+=f+c+p}var m=new Error(r);return m.name="ParseError",m.__proto__=ke.prototype,m.position=a,a!=null&&s!=null&&(m.length=s-a),m.rawMessage=t,m}}ke.prototype.__proto__=Error.prototype;var RV=function(t,n){return t===void 0?n:t},OV=/([A-Z])/g,DV=function(t){return t.replace(OV,"-$1").toLowerCase()},IV={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},LV=/[&><"']/g;function MV(e){return String(e).replace(LV,t=>IV[t])}var q9=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},PV=function(t){var n=q9(t);return n.type==="mathord"||n.type==="textord"||n.type==="atom"},BV=function(t){if(!t)throw new Error("Expected non-null, but got "+String(t));return t},zV=function(t){var n=/^[\x00-\x20]*([^\\/#?]*?)(:|&#0*58|&#x0*3a|&colon)/i.exec(t);return n?n[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(n[1])?null:n[1].toLowerCase():"_relative"},_t={deflt:RV,escape:MV,hyphenate:DV,getBaseElem:q9,isCharacterBox:PV,protocolFromUrl:zV},qc={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 HV(e){if(e.default)return e.default;var t=e.type,n=Array.isArray(t)?t[0]:t;
vendor: 2,959 bytes, line 297
297if(typeof n!="string")return n.enum[0];switch(n){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class N4{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 qc)if(qc.hasOwnProperty(n)){var r=qc[n];this[n]=t[n]!==void 0?r.processor?r.processor(t[n]):t[n]:HV(r)}}reportNonstrict(t,n,r){var a=this.strict;if(typeof a=="function"&&(a=a(t,n,r)),!(!a||a==="ignore")){if(a===!0||a==="error")throw new ke("LaTeX-incompatible input and strict mode is set to 'error': "+(n+" ["+t+"]"),r);a==="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 '"+a+"': "+n+" ["+t+"]"))}}useStrictBehavior(t,n,r){var a=this.strict;if(typeof a=="function")try{a=a(t,n,r)}catch{a="error"}return!a||a==="ignore"?!1:a===!0||a==="error"?!0:a==="warn"?(typeof console<"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 '"+a+"': "+n+" ["+t+"]")),!1)}isTrusted(t){if(t.url&&!t.protocol){var n=_t.protocolFromUrl(t.url);if(n==null)return!1;t.protocol=n}var r=typeof this.trust=="function"?this.trust(t):this.trust;return!!r}}class ws{constructor(t,n,r){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=t,this.size=n,this.cramped=r}sup(){return Qa[jV[this.id]]}sub(){return Qa[FV[this.id]]}fracNum(){return Qa[UV[this.id]]}fracDen(){return Qa[qV[this.id]]}cramp(){return Qa[$V[this.id]]}text(){return Qa[VV[this.id]]}isTight(){return this.size>=2}}var R4=0,lh=1,Zl=2,Hi=3,c0=4,da=5,uu=6,ur=7,Qa=[new ws(R4,0,!1),new ws(lh,0,!0),new ws(Zl,1,!1),new ws(Hi,1,!0),new ws(c0,2,!1),new ws(da,2,!0),new ws(uu,3,!1),new ws(ur,3,!0)],jV=[c0,da,c0,da,uu,ur,uu,ur],FV=[da,da,da,da,ur,ur,ur,ur],UV=[Zl,Hi,c0,da,uu,ur,uu,ur],qV=[Hi,Hi,da,da,ur,ur,ur,ur],$V=[lh,lh,Hi,Hi,da,da,ur,ur],VV=[R4,lh,Zl,Hi,Zl,Hi,Zl,Hi],Ye={DISPLAY:Qa[R4],TEXT:Qa[Zl],SCRIPT:Qa[c0],SCRIPTSCRIPT:Qa[uu]},K2=[{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 GV(e){for(var t=0;t<K2.length;t++)for(var n=K2[t],r=0;r<n.blocks.length;r++){var a=n.blocks[r];if(e>=a[0]&&e<=a[1])return n.name}return null}var Vf=[];K2.forEach(e=>e.blocks.forEach(t=>Vf.push(...t)));function $9(e){for(var t=0;t<Vf.length;t+=2)if(e>
vendor: 4,299 bytes, lines 297-348
297=Vf[t]&&e<=Vf[t+1])return!0;return!1}var jl=80,YV=function(t,n){return"M95,"+(622+t+n)+`
298c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
299c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
300c44.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
301s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
302c69,-144,104.5,-217.7,106.5,-221
303l`+t/2.075+" -"+t+`
304c5.3,-9.3,12,-14,20,-14
305H400000v`+(40+t)+`H845.2724
306s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
307c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
308M`+(834+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},QV=function(t,n){return"M263,"+(601+t+n)+`c0.7,0,18,39.7,52,119
309c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
310c340,-704.7,510.7,-1060.3,512,-1067
311l`+t/2.084+" -"+t+`
312c4.7,-7.3,11,-11,19,-11
313H40000v`+(40+t)+`H1012.3
314s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
315c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
316s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
317c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
318M`+(1001+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},WV=function(t,n){return"M983 "+(10+t+n)+`
319l`+t/3.13+" -"+t+`
320c4,-6.7,10,-10,18,-10 H400000v`+(40+t)+`
321H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7
322s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744
323c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
324c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
325c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
326c53.7,-170.3,84.5,-266.8,92.5,-289.5z
327M`+(1001+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},XV=function(t,n){return"M424,"+(2398+t+n)+`
328c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
329c0,-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
330s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
331s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
332l`+t/4.223+" -"+t+`c4,-6.7,10,-10,18,-10 H400000
333v`+(40+t)+`H1014.6
334s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
335c-2,6,-10,9,-24,9
336c-8,0,-12,-0.7,-12,-2z M`+(1001+t)+" "+n+`
337h400000v`+(40+t)+"h-400000z"},KV=function(t,n){return"M473,"+(2713+t+n)+`
338c339.3,-1799.3,509.3,-2700,510,-2702 l`+t/5.298+" -"+t+`
339c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+t)+`H1017.7
340s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
341c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200
342c0,-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
343s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
344606zM`+(1001+t)+" "+n+"h400000v"+(40+t)+"H1017.7z"},ZV=function(t){var n=t/2;return"M400000 "+t+" H0 L"+n+" 0 l65 45 L145 "+(t-80)+" H400000z"},JV=function(t,n,r){var a=r-54-n-t;return"M702 "+(t+n)+"H400000"+(40+t)+`
345H742v`+a+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1
346h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
347c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
348219 661 l218 661zM702 `+n+"H400000v"+(40+t)+"H742z"},eG=function(t,n,r){n=1e3*n;var a="";switch(t){case"sqrtMain":a=YV(n,jl);break;case"sqrtSize1":a=QV(n,jl);break;case"sqrtSize2":a=WV(n,jl);break;case"sqrtSize3":a=XV(n,jl);break;case"sqrtSize4":a=KV(n,jl);break;case"sqrtTall":a=JV(n,jl,r)}return a},tG=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""}},VE
vendor: 15,381 bytes, lines 348-523
348={doubleleftarrow:`M262 157
349l10-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
350 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
351 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
352c2 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
353 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
354-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
355-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
356m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
357-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
358 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
359-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
360-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
361-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
362c-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
363-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
364 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
365-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
366c-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
367 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
368 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
369 l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
370-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
371 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
372 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
373 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
374-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
375H435C64 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
376 435 0h399565z`,leftgroupunder:`M400000 262
377H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
378 435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
379-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
380-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
381-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
382 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
383-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
384-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
385m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
386 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
387 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
388-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
389 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
390-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
391v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
392-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
393-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
394 71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
395M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
396M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
397-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
398c28.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
399 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
400M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
401c-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
402-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
403 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
404 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
405c100.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
406 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
407 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
408-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
409-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
410m368.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
41160.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
412-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
413m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
414c0 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
415-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
416m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
41785.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
418-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
419m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
420c0 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
421-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
422 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
423 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
424-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
425-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
426 151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
427-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
428s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
429c124.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
430 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
431-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
432 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
433 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
434-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
435-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
436 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
437-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
438 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
439m0 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
440 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
441-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
442-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
443 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
444 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
445-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
446m0-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
447 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
448-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
449 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
450M399960 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
451 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
452-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
453-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
454 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
455-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
456-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
457-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
458 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
459c-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
460 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
461 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
462-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
463 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
464-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
465 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
466 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
467-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
468-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
469 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
470c1 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
471 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
472-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
473 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
474 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
475 -338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
476-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
477 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
478 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
479 -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
4803.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
48110.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
482-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
483-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
484H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
485c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
486c-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
487-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
488-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
489-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,
490-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,
491-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,
492-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,
493-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
494c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
495c-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
496s-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
497121.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
498s2.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
499c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
500M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
501-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
50213.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
503-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
504-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
505-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
506151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
507c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
508c2,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
509c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
510c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
511M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
512c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
513-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
514c-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
515M0 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
516c1.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,
5171c0,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,
518-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
519M93 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
520c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
521-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
522c-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
523M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},
vendor: 3,200 bytes, lines 523-551
523nG=function(t,n){switch(t){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+n+` v1759 h347 v-84
524H403z 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
525M347 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
526c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15
527c-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
528c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15
529c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+n+` v585 h43z
530M367 15 v585 v`+n+` v585 c2.667,10,9.667,15,21,15
531c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15
532c-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
533MM319 602 V0 H403 V602 v`+n+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+n+` v1799 H0 v-84 H319z
534MM319 602 V0 H403 V602 v`+n+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+n+` v602 h84z
535M403 1759 V0 H319 V1759 v`+n+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+n+` v602 h84z
536M347 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
537c-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,
538-36,557 l0,`+(n+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,
539949.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
540c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,
541-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189
542l0,-`+(n+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,
543-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,
54463,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5
545c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(n+9)+`
546c-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
547c-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
548c0,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
549c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
550l0,-`+(n+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
551-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 O0{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 this.classes.includes(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 ei
vendor: 57,629 bytes, line 551
551={"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]}},
vendor: 2,744 bytes, line 551
551bf={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]},GE={Å:"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 V9(e,t){ei[e]=t}function O4(e,t,n){if(!ei[t])throw new Error("Font metrics not found for font: "+t+".");var r=e.charCodeAt(0),a=ei[t][r];if(!a&&e[0]in GE&&(r=GE[e[0]].charCodeAt(0),a=ei[t][r]),!a&&n==="text"&&$9(r)&&(a=ei[t][77]),a)return{depth:a[0],height:a[1],italic:a[2],skew:a[3],width:a[4]}}var Ng={};function rG(e){var t;if(e>=5?t=0:e>=3?t=1:t=2,!Ng[t]){var n=Ng[t]={cssEmPerMu:bf.quad[t]/18};for(var r in bf)bf.hasOwnProperty(r)&&(n[r]=bf[r][t])}return Ng[t]}var aG=[[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]],YE=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],QE=function(t,n){return n.size<2?t:aG[t-1][n.size-1]};class Mi{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||Mi.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=YE[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,ph
vendor: 8,346 bytes, line 551
551antom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);return new Mi(n)}havingStyle(t){return this.style===t?this:this.extend({style:t,size:QE(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:YE[t-1]})}havingBaseStyle(t){t=t||this.style.text();var n=QE(Mi.BASESIZE,t);return this.size===n&&this.textSize===Mi.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!==Mi.BASESIZE?["sizing","reset-size"+this.size,"size"+Mi.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=rG(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}Mi.BASESIZE=6;var Z2={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},iG={ex:!0,em:!0,mu:!0},G9=function(t){return typeof t!="string"&&(t=t.unit),t in Z2||t in iG||t==="ex"},Xt=function(t,n){var r;if(t.unit in Z2)r=Z2[t.unit]/n.fontMetrics().ptPerEm/n.sizeMultiplier;else if(t.unit==="mu")r=n.fontMetrics().cssEmPerMu;else{var a;if(n.style.isTight()?a=n.havingStyle(n.style.text()):a=n,t.unit==="ex")r=a.fontMetrics().xHeight;else if(t.unit==="em")r=a.fontMetrics().quad;else throw new ke("Invalid unit: '"+t.unit+"'");a!==n&&(r*=a.sizeMultiplier/n.sizeMultiplier)}return Math.min(t.number*r,n.maxSize)},Le=function(t){return+t.toFixed(4)+"em"},Fs=function(t){return t.filter(n=>n).join(" ")},Y9=function(t,n,r){if(this.classes=t||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=r||{},n){n.style.isTight()&&this.classes.push("mtight");var a=n.getColor();a&&(this.style.color=a)}},Q9=function(t){var n=document.createElement(t);n.className=Fs(this.classes);for(var r in this.style)this.style.hasOwnProperty(r)&&(n.style[r]=this.style[r]);for(var a in this.attributes)this.attributes.hasOwnProperty(a)&&n.setAttribute(a,this.attributes[a]);for(var s=0;s<this.children.length;s++)n.appendChild(this.children[s].toNode());return n},sG=/[\s"'>/=\x00-\x1f]/,W9=function(t){var n="<"+t;this.classes.length&&(n+=' class="'+_t.escape(Fs(this.classes))+'"');var r="";for(var a in this.style)this.style.hasOwnProperty(a)&&(r+=_t.hyphenate(a)+":"+this.style[a]+";");r&&(n+=' style="'+_t.escape(r)+'"');for(var s in this.attributes)if(this.attributes.hasOwnProperty(s)){if(sG.test(s))throw new ke("Invalid attribute name '"+s+"'");n+=" "+s+'="'+_t.escape(this.attributes[s])+'"'}n+=">";for(var o=0;o<this.children.length;o++)n+=this.children[o].toMarkup();return n+="</"+t+">",n};class D0{constructor(t,n,r,a){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,Y9.call(this,t,r,a),this.children=n||[]}setAttribute(t,n){this.attributes[t]=n}hasClass(t){return this.classes.includes(t)}toNode(){return Q9.call(this,"span")}toMarkup(){return W9.call(this,"span")}}class D4{constructor(t,n,r,a){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,Y9.call(this,n,a),this.children=r||[],this.setAttribute("href",t)}setAttribute(t,n){this.attributes[t]=n}hasClass(t){return this.classes.includes(t)}toNode(){return Q9.call(this,"a")}toMarkup(){return W9.call(this,"a")}}class oG{constructor(t,n,r){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=n,this.src=t,this.classes=["mord"],this.style=r}hasClass(t){return this.classes.includes(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="'+_t.escape(this.src)+'"'+(' alt="'+_t.escape(this.alt)+'"'),n="";for(var r in this.style)this.style.hasOwnProperty(r)&&(n+=_t.hyphenate(r)+":"+this.style[r]+";");return n&&(t+=' style="'+_t.escape(n)+'"'),t+="'/>",t}}var lG={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class ha{constructor(t,n,r,a,s,o,u,c){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=r||0,this.italic=a||0,this.skew=s||0,this.width=o||0,this.classes=u||[],this.style=c||{},this.maxFontSize=0;var f=GV(this.text.charCodeAt(0));f&&this.classes.push(f+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=lG[this.text])}hasClass(t){return this.classes.includes(t)}toNode(){var t=document.createTextNode(this.text),n=null;this.italic>0&&(n=document.createElement("span"),n.style.marginRight=Le(this.italic)),this.classes.length>0&&(n=n||document.createElement("span"),n.className=Fs(this.classes));for(var r in this.style)this.style.hasOwnProperty(r)&&(n=n||document.createElement("span"),n.style[r]=this.style[r]);return n?(n.appendChild(t),n):t}toMarkup(){var t=!1,n="<span";this.classes.length&&(t=!0,n+=' class="',n+=_t.escape(Fs(this.classes)),n+='"');var r="";this.italic>0&&(r+="margin-right:"+this.italic+"em;");for(var a in this.style)this.style.hasOwnProperty(a)&&(r+=_t.hyphenate(a)+":"+this.style[a]+";");r&&(t=!0,n+=' style="'+_t.escape(r)+'"');var s=_t.escape(this.text);return t?(n+=">",n+=s,n+="</span>",n):s}}class $i{constructor(t,n){this.children=void 0,this.attributes=void 0,this.children=t||[],this.attributes=n||{}}toNode(){var t="http://www.w3.org/2000/svg",n=document.createElementNS(t,"svg");for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&n.setAttribute(r,this.attributes[r]);for(var a=0;a<this.children.length;a++)n.appendChild(this.children[a].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+'="'+_t.escape(this.attributes[n])+'"');t+=">";for(var r=0;r<this.children.length;r++)t+=this.children[r].toMarkup();return t+="</svg>",t}}class Us{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",VE[this.pathName]),n}toMarkup(){return this.alternate?'<path d="'+_t.escape(this.alternate)+'"/>':'<path d="'+_t.escape(VE[this.pathName])+'"/>'}}class J2{constructor(t){this.attributes=void 0,this.attributes=t||{}}toNode(){var t="http://www.w3.org/2000/svg",n=document.createElementNS(t,"line");for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&n.setAttribute(r,this.attributes[r]);return n}toMarkup(){var t="<line";for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&(t+=" "+n+'="'+_t.escape(this.attributes[n])+'"');return t+="/>",t}}function WE(e){if(e instanceof ha)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}function uG(e){if(e instanceof D0)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}var cG={bin:1,close:1,inner:1,open:1,punct:1,rel:1},dG={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},jt={math:{},text:{}};function T(e,t,n,r,a,s){jt[e][a]={font:t,group:n,replace:r},s&&r&&(jt[e][r]=jt[e][a])}var S="math",Te="text",O="main",V="ams",Yt="accent-token",ze="bin",dr="close",yu="inner",Ge="mathord",wn="op-token",Yr
551="open",cm="punct",Q="rel",Qi="spacing",J="textord";T(S,O,Q,"≡","\\equiv",!0);T(S,O,Q,"≺","\\prec",!0);T(S,O,Q,"≻","\\succ",!0);T(S,O,Q,"∼","\\sim",!0);T(S,O,Q,"⊥","\\perp");T(S,O,Q,"⪯","\\preceq",!0);T(S,O,Q,"⪰","\\succeq",!0);T(S,O,Q,"≃","\\simeq",!0);T(S,O,Q,"∣","\\mid",!0);T(S,O,Q,"≪","\\ll",!0);T(S,O,Q,"≫","\\gg",!0);T(S,O,Q,"≍","\\asymp",!0);T(S,O,Q,"∥","\\parallel");T(S,O,Q,"⋈","\\bowtie",!0);T(S,O,Q,"⌣","\\smile",!0);T(S,O,Q,"⊑","\\sqsubseteq",!0);T(S,O,Q,"⊒","\\sqsupseteq",!0);T(S,O,Q,"≐","\\doteq",!0);T(S,O,Q,"⌢","\\frown",!0);T(S,O,Q,"∋","\\ni",!0);T(S,O,Q,"∝","\\propto",!0);T(S,O,Q,"⊢","\\vdash",!0);T(S,O,Q,"⊣","\\dashv",!0);T(S,O,Q,"∋","\\owns");T(S,O,cm,".","\\ldotp");T(S,O,cm,"⋅","\\cdotp");T(S,O,J,"#","\\#");T(Te,O,J,"#","\\#");T(S,O,J,"&","\\&");T(Te,O,J,"&","\\&");T(S,O,J,"ℵ","\\aleph",!0);T(S,O,J,"∀","\\forall",!0);T(S,O,J,"ℏ","\\hbar",!0);T(S,O,J,"∃","\\exists",!0);T(S,O,J,"∇","\\nabla",!0);T(S,O,J,"♭","\\flat",!0);T(S,O,J,"ℓ","\\ell",!0);T(S,O,J,"♮","\\natural",!0);T(S,O,J,"♣","\\clubsuit",!0);T(S,O,J,"℘","\\wp",!0);T(S,O,J,"♯","\\sharp",!0);T(S,O,J,"♢","\\diamondsuit",!0);T(S,O,J,"ℜ","\\Re",!0);T(S,O,J,"♡","\\heartsuit",!0);T(S,O,J,"ℑ","\\Im",!0);T(S,O,J,"♠","\\spadesuit",!0);T(S,O,J,"§","\\S",!0);T(Te,O,J,"§","\\S");T(S,O,J,"¶","\\P",!0);T(Te,O,J,"¶","\\P");T(S,O,J,"†","\\dag");T(Te,O,J,"†","\\dag");T(Te,O,J,"†","\\textdagger");T(S,O,J,"‡","\\ddag");T(Te,O,J,"‡","\\ddag");T(Te,O,J,"‡","\\textdaggerdbl");T(S,O,dr,"⎱","\\rmoustache",!0);T(S,O,Yr,"⎰","\\lmoustache",!0);T(S,O,dr,"⟯","\\rgroup",!0);T(S,O,Yr,"⟮","\\lgroup",!0);T(S,O,ze,"∓","\\mp",!0);T(S,O,ze,"⊖","\\ominus",!0);T(S,O,ze,"⊎","\\uplus",!0);T(S,O,ze,"⊓","\\sqcap",!0);T(S,O,ze,"∗","\\ast");T(S,O,ze,"⊔","\\sqcup",!0);T(S,O,ze,"◯","\\bigcirc",!0);T(S,O,ze,"∙","\\bullet",!0);T(S,O,ze,"‡","\\ddagger");T(S,O,ze,"≀","\\wr",!0);T(S,O,ze,"⨿","\\amalg");T(S,O,ze,"&","\\And");T(S,O,Q,"⟵","\\longleftarrow",!0);T(S,O,Q,"⇐","\\Leftarrow",!0);T(S,O,Q,"⟸","\\Longleftarrow",!0);T(S,O,Q,"⟶","\\longrightarrow",!0);T(S,O,Q,"⇒","\\Rightarrow",!0);T(S,O,Q,"⟹","\\Longrightarrow",!0);T(S,O,Q,"↔","\\leftrightarrow",!0);T(S,O,Q,"⟷","\\longleftrightarrow",!0);T(S,O,Q,"⇔","\\Leftrightarrow",!0);T(S,O,Q,"⟺","\\Longleftrightarrow",!0);T(S,O,Q,"↦","\\mapsto",!0);T(S,O,Q,"⟼","\\longmapsto",!0);T(S,O,Q,"↗","\\nearrow",!0);T(S,O,Q,"↩","\\hookleftarrow",!0);T(S,O,Q,"↪","\\hookrightarrow",!0);T(S,O,Q,"↘","\\searrow",!0);T(S,O,Q,"↼","\\leftharpoonup",!0);T(S,O,Q,"⇀","\\rightharpoonup",!0);T(S,O,Q,"↙","\\swarrow",!0);T(S,O,Q,"↽","\\leftharpoondown",!0);T(S,O,Q,"⇁","\\rightharpoondown",!0);T(S,O,Q,"↖","\\nwarrow",!0);T(S,O,Q,"⇌","\\rightleftharpoons",!0);T(S,V,Q,"≮","\\nless",!0);T(S,V,Q,"","\\@nleqslant");T(S,V,Q,"","\\@nleqq");T(S,V,Q,"⪇","\\lneq",!0);T(S,V,Q,"≨","\\lneqq",!0);T(S,V,Q,"","\\@lvertneqq");T(S,V,Q,"⋦","\\lnsim",!0);T(S,V,Q,"⪉","\\lnapprox",!0);T(S,V,Q,"⊀","\\nprec",!0);T(S,V,Q,"⋠","\\npreceq",!0);T(S,V,Q,"⋨","\\precnsim",!0);T(S,V,Q,"⪹","\\precnapprox",!0);T(S,V,Q,"≁","\\nsim",!0);T(S,V,Q,"","\\@nshortmid");T(S,V,Q,"∤","\\nmid",!0);T(S,V,Q,"⊬","\\nvdash",!0);T(S,V,Q,"⊭","\\nvDash",!0);T(S,V,Q,"⋪","\\ntriangleleft");T(S,V,Q,"⋬","\\ntrianglelefteq",!0);T(S,V,Q,"⊊","\\subsetneq",!0);T(S,V,Q,"","\\@varsubsetneq");T(S,V,Q,"⫋","\\subsetneqq",!0);T(S,V,Q,"","\\@varsubsetneqq");T(S,V,Q,"≯","\\ngtr",!0);T(S,V,Q,"","\\@ngeqslant");T(S,V,Q,"","\\@ngeqq");T(S,V,Q,"⪈","\\gneq",!0);T(S,V,Q,"≩","\\gneqq",!0);T(S,V,Q,"","\\@gvertneqq");T(S,V,Q,"⋧","\\gnsim",!0);T(S,V,Q,"⪊","\\gnapprox",!0);T(S,V,Q,"⊁","\\nsucc",!0);T(S,V,Q,"⋡","\\nsucceq",!0);T(S,V,Q,"⋩","\\succnsim",!0);T(S,V,Q,"⪺","\\succnapprox",!0);T(S,V,Q,"≆","\\ncong",!0);T(S,V,Q,"","\\@nshortparallel");T(S,V,Q,"∦","\\nparallel",!0);T(S,V,Q,"⊯","\\nVDash",!0);T(S,V,Q,"⋫","\\ntriangleright");T(S,V,Q,"⋭","\\ntrianglerighteq",!0);T(S,V,Q,"","\\@nsupseteqq");T(S,V,Q,"⊋","\\supsetneq",!0);T(S,V,Q,"","\\@varsupsetneq");T(S,V,Q,"⫌","\\supsetneqq",!0);T(S,V,Q,"","\\@varsupsetneqq");T(S,V,Q,"⊮","\\nVdash",!0);T(S,V,Q,"⪵","\\precneqq",!0);T(S,V,Q,"⪶","\\succneqq",!0);
551T(S,V,Q,"","\\@nsubseteqq");T(S,V,ze,"⊴","\\unlhd");T(S,V,ze,"⊵","\\unrhd");T(S,V,Q,"↚","\\nleftarrow",!0);T(S,V,Q,"↛","\\nrightarrow",!0);T(S,V,Q,"⇍","\\nLeftarrow",!0);T(S,V,Q,"⇏","\\nRightarrow",!0);T(S,V,Q,"↮","\\nleftrightarrow",!0);T(S,V,Q,"⇎","\\nLeftrightarrow",!0);T(S,V,Q,"△","\\vartriangle");T(S,V,J,"ℏ","\\hslash");T(S,V,J,"▽","\\triangledown");T(S,V,J,"◊","\\lozenge");T(S,V,J,"Ⓢ","\\circledS");T(S,V,J,"®","\\circledR");T(Te,V,J,"®","\\circledR");T(S,V,J,"∡","\\measuredangle",!0);T(S,V,J,"∄","\\nexists");T(S,V,J,"℧","\\mho");T(S,V,J,"Ⅎ","\\Finv",!0);T(S,V,J,"⅁","\\Game",!0);T(S,V,J,"‵","\\backprime");T(S,V,J,"▲","\\blacktriangle");T(S,V,J,"▼","\\blacktriangledown");T(S,V,J,"■","\\blacksquare");T(S,V,J,"⧫","\\blacklozenge");T(S,V,J,"★","\\bigstar");T(S,V,J,"∢","\\sphericalangle",!0);T(S,V,J,"∁","\\complement",!0);T(S,V,J,"ð","\\eth",!0);T(Te,O,J,"ð","ð");T(S,V,J,"╱","\\diagup");T(S,V,J,"╲","\\diagdown");T(S,V,J,"□","\\square");T(S,V,J,"□","\\Box");T(S,V,J,"◊","\\Diamond");T(S,V,J,"¥","\\yen",!0);T(Te,V,J,"¥","\\yen",!0);T(S,V,J,"✓","\\checkmark",!0);T(Te,V,J,"✓","\\checkmark");T(S,V,J,"ℶ","\\beth",!0);T(S,V,J,"ℸ","\\daleth",!0);T(S,V,J,"ℷ","\\gimel",!0);T(S,V,J,"ϝ","\\digamma",!0);T(S,V,J,"ϰ","\\varkappa");T(S,V,Yr,"┌","\\@ulcorner",!0);T(S,V,dr,"┐","\\@urcorner",!0);T(S,V,Yr,"└","\\@llcorner",!0);T(S,V,dr,"┘","\\@lrcorner",!0);T(S,V,Q,"≦","\\leqq",!0);T(S,V,Q,"⩽","\\leqslant",!0);T(S,V,Q,"⪕","\\eqslantless",!0);T(S,V,Q,"≲","\\lesssim",!0);T(S,V,Q,"⪅","\\lessapprox",!0);T(S,V,Q,"≊","\\approxeq",!0);T(S,V,ze,"⋖","\\lessdot");T(S,V,Q,"⋘","\\lll",!0);T(S,V,Q,"≶","\\lessgtr",!0);T(S,V,Q,"⋚","\\lesseqgtr",!0);T(S,V,Q,"⪋","\\lesseqqgtr",!0);T(S,V,Q,"≑","\\doteqdot");T(S,V,Q,"≓","\\risingdotseq",!0);T(S,V,Q,"≒","\\fallingdotseq",!0);T(S,V,Q,"∽","\\backsim",!0);T(S,V,Q,"⋍","\\backsimeq",!0);T(S,V,Q,"⫅","\\subseteqq",!0);T(S,V,Q,"⋐","\\Subset",!0);T(S,V,Q,"⊏","\\sqsubset",!0);T(S,V,Q,"≼","\\preccurlyeq",!0);T(S,V,Q,"⋞","\\curlyeqprec",!0);T(S,V,Q,"≾","\\precsim",!0);T(S,V,Q,"⪷","\\precapprox",!0);T(S,V,Q,"⊲","\\vartriangleleft");T(S,V,Q,"⊴","\\trianglelefteq");T(S,V,Q,"⊨","\\vDash",!0);T(S,V,Q,"⊪","\\Vvdash",!0);T(S,V,Q,"⌣","\\smallsmile");T(S,V,Q,"⌢","\\smallfrown");T(S,V,Q,"≏","\\bumpeq",!0);T(S,V,Q,"≎","\\Bumpeq",!0);T(S,V,Q,"≧","\\geqq",!0);T(S,V,Q,"⩾","\\geqslant",!0);T(S,V,Q,"⪖","\\eqslantgtr",!0);T(S,V,Q,"≳","\\gtrsim",!0);T(S,V,Q,"⪆","\\gtrapprox",!0);T(S,V,ze,"⋗","\\gtrdot");T(S,V,Q,"⋙","\\ggg",!0);T(S,V,Q,"≷","\\gtrless",!0);T(S,V,Q,"⋛","\\gtreqless",!0);T(S,V,Q,"⪌","\\gtreqqless",!0);T(S,V,Q,"≖","\\eqcirc",!0);T(S,V,Q,"≗","\\circeq",!0);T(S,V,Q,"≜","\\triangleq",!0);T(S,V,Q,"∼","\\thicksim");T(S,V,Q,"≈","\\thickapprox");T(S,V,Q,"⫆","\\supseteqq",!0);T(S,V,Q,"⋑","\\Supset",!0);T(S,V,Q,"⊐","\\sqsupset",!0);T(S,V,Q,"≽","\\succcurlyeq",!0);T(S,V,Q,"⋟","\\curlyeqsucc",!0);T(S,V,Q,"≿","\\succsim",!0);T(S,V,Q,"⪸","\\succapprox",!0);T(S,V,Q,"⊳","\\vartriangleright");T(S,V,Q,"⊵","\\trianglerighteq");T(S,V,Q,"⊩","\\Vdash",!0);T(S,V,Q,"∣","\\shortmid");T(S,V,Q,"∥","\\shortparallel");T(S,V,Q,"≬","\\between",!0);T(S,V,Q,"⋔","\\pitchfork",!0);T(S,V,Q,"∝","\\varpropto");T(S,V,Q,"◀","\\blacktriangleleft");T(S,V,Q,"∴","\\therefore",!0);T(S,V,Q,"∍","\\backepsilon");T(S,V,Q,"▶","\\blacktriangleright");T(S,V,Q,"∵","\\because",!0);T(S,V,Q,"⋘","\\llless");T(S,V,Q,"⋙","\\gggtr");T(S,V,ze,"⊲","\\lhd");T(S,V,ze,"⊳","\\rhd");T(S,V,Q,"≂","\\eqsim",!0);T(S,O,Q,"⋈","\\Join");T(S,V,Q,"≑","\\Doteq",!0);T(S,V,ze,"∔","\\dotplus",!0);T(S,V,ze,"∖","\\smallsetminus");T(S,V,ze,"⋒","\\Cap",!0);T(S,V,ze,"⋓","\\Cup",!0);T(S,V,ze,"⩞","\\doublebarwedge",!0);T(S,V,ze,"⊟","\\boxminus",!0);T(S,V,ze,"⊞","\\boxplus",!0);T(S,V,ze,"⋇","\\divideontimes",!0);T(S,V,ze,"⋉","\\ltimes",!0);T(S,V,ze,"⋊","\\rtimes",!0);T(S,V,ze,"⋋","\\leftthreetimes",!0);T(S,V,ze,"⋌","\\rightthreetimes",!0);T(S,V,ze,"⋏","\\curlywedge",!0);T(S,V,ze,"⋎","\\curlyvee",!0);T(S,V,ze,"⊝","\\circleddash",!0);T(S,V,ze,"⊛","\\circledast",!0);T(S,V,ze,"⋅","\\centerdot");T(S,V,ze,"⊺","\\intercal",!0);T(S,V,ze,"⋒","\\doublecap");T(S,V,ze,"⋓","\\doublecup");T(S,V,ze,"⊠","\\boxtimes",!0);T(S,V,Q,"⇢","\\dashrightarrow",!0);T(S,V,Q,"⇠","\\dashleftarrow",!0);T(S,V,Q,"⇇","\\leftleftarrows",!0);T(S,V,Q,"⇆","\\leftrightarrows",!0);T(S,V,Q,"⇚","\\Lleftarrow",!0);T(S,V,Q,"↞","\\twoheadleftarrow",!0);T(S,V,Q,"↢","\\leftarrowtail",!0);T(S,V,Q,"↫","\\looparrowleft",!0);T(S,V,Q,"⇋","\\leftrightharpoons",!0);T(S,V,Q,"↶","\\curvearrowleft",!0);T(S,V,Q,"↺","\\circlearrowleft",!0);T(S,V,Q,"↰","\\Lsh",!0);T(S,V,Q,"⇈","\\upuparrows",!0);T(S,V,Q,"↿","\\upharpoonleft",!0);T(S,V,Q,"⇃","\\downharpoonleft",!0);T(S,O,Q,"⊶","\\origof",!0);T(S,O,Q,"⊷","\\imageof",!0);T(S,V,Q,"⊸","\\multimap",!0);T(S,V,Q,"↭","\\leftrightsquigarrow",!0);T(S,V,Q,"⇉","\\rightrightarrows",!0);T(S,V,Q,"⇄","\\rightleftarrows",!0);T(S,V,Q,"↠","\\twoheadrightarrow",!0);T(S,V,Q,"↣","\\rightarrowtail",!0);T(S,V,Q,"↬","\\looparrowright",!0);T(S,V,Q,"↷","\\curvearrowright",!0);T(S,V,Q,"↻","\\circlearrowright",!0);T(S,V,Q,"↱","\\Rsh",!0);T(S,V,Q,"⇊","\\downdownarrows",!0);T(S,V,Q,"↾","\\upharpoonright",!0);T(S,V,Q,"⇂","\\downharpoonright",!0);T(S,V,Q,"⇝","\\rightsquigarrow",!0);T(S,V,Q,"⇝","\\leadsto");T(S,V,Q,"⇛","\\Rrightarrow",!0);T(S,V,Q,"↾","\\restriction");T(S,O,J,"‘","`");T(S,O,J,"$","\\$");T(Te,O,J,"$","\\$");T(Te,O,J,"$","\\textdollar");T(S,O,J,"%","\\%");T(Te,O,J,"%","\\%");T(S,O,J,"_","\\_");T(Te,O,J,"_","\\_");T(Te,O,J,"_","\\textunderscore");T(S,O,J,"∠","\\angle",!0);T(S,O,J,"∞","\\infty",!0);T(S,O,J,"′","\\prime");T(S,O,J,"△","\\triangle");T(S,O,J,"Γ","\\Gamma",!0);T(S,O,J,"Δ","\\Delta",!0);T(S,O,J,"Θ","\\Theta",!0);T(S,O,J,"Λ","\\Lambda",!0);T(S,O,J,"Ξ","\\Xi",!0);T(S,O,J,"Π","\\Pi",!0);T(S,O,J,"Σ","\\Sigma",!0);T(S,O,J,"Υ","\\Upsilon",!0);T(S,O,J,"Φ","\\Phi",!0);T(S,O,J,"Ψ","\\Psi",!0);T(S,O,J,"Ω","\\Omega",!0);T(S,O,J,"A","Α");T(S,O,J,"B","Β");T(S,O,J,"E","Ε");T(S,O,J,"Z","Ζ");T(S,O,J,"H","Η");T(S,O,J,"I","Ι");T(S,O,J,"K","Κ");T(S,O,J,"M","Μ");T(S,O,J,"N","Ν");T(S,O,J,"O","Ο");T(S,O,J,"P","Ρ");T(S,O,J,"T","Τ");T(S,O,J,"X","Χ");T(S,O,J,"¬","\\neg",!0);T(S,O,J,"¬","\\lnot");T(S,O,J,"⊤","\\top");T(S,O,J,"⊥","\\bot");T(S,O,J,"∅","\\emptyset");T(S,V,J,"∅","\\varnothing");T(S,O,Ge,"α","\\alpha",!0);T(S,O,Ge,"β","\\beta",!0);T(S,O,Ge,"γ","\\gamma",!0);T(S,O,Ge,"δ","\\delta",!0);T(S,O,Ge,"ϵ","\\epsilon",!0);T(S,O,Ge,"ζ","\\zeta",!0);T(S,O,Ge,"η","\\eta",!0);T(S,O,Ge,"θ","\\theta",!0);T(S,O,Ge,"ι","\\iota",!0);T(S,O,Ge,"κ","\\kappa",!0);T(S,O,Ge,"λ","\\lambda",!0);T(S,O,Ge,"μ","\\mu",!0);T(S,O,Ge,"ν","\\nu",!0);T(S,O,Ge,"ξ","\\xi",!0);T(S,O,Ge,"ο","\\omicron",!0);T(S,O,Ge,"π","\\pi",!0);T(S,O,Ge,"ρ","\\rho",!0);T(S,O,Ge,"σ","\\sigma",!0);T(S,O,Ge,"τ","\\tau",!0);T(S,O,Ge,"υ","\\upsilon",!0);T(S,O,Ge,"ϕ","\\phi",!0);T(S,O,Ge,"χ","\\chi",!0);T(S,O,Ge,"ψ","\\psi",!0);T(S,O,Ge,"ω","\\omega",!0);T(S,O,Ge,"ε","\\varepsilon",!0);T(S,O,Ge,"ϑ","\\vartheta",!0);T(S,O,Ge,"ϖ","\\varpi",!0);T(S,O,Ge,"ϱ","\\varrho",!0);T(S,O,Ge,"ς","\\varsigma",!0);T(S,O,Ge,"φ","\\varphi",!0);T(S,O,ze,"∗","*",!0);T(S,O,ze,"+","+");T(S,O,ze,"−","-",!0);T(S,O,ze,"⋅","\\cdot",!0);T(S,O,ze,"∘","\\circ",!0);T(S,O,ze,"÷","\\div",!0);T(S,O,ze,"±","\\pm",!0);T(S,O,ze,"×","\\times",!0);T(S,O,ze,"∩","\\cap",!0);T(S,O,ze,"∪","\\cup",!0);T(S,O,ze,"∖","\\setminus",!0);T(S,O,ze,"∧","\\land");T(S,O,ze,"∨","\\lor");T(S,O,ze,"∧","\\wedge",!0);T(S,O,ze,"∨","\\vee",!0);T(S,O,J,"√","\\surd");T(S,O,Yr,"⟨","\\langle",!0);T(S,O,Yr,"∣","\\lvert");T(S,O,Yr,"∥","\\lVert");T(S,O,dr,"?","?");T(S,O,dr,"!","!");T(S,O,dr,"⟩","\\rangle",!0);T(S,O,dr,"∣","\\rvert");T(S,O,dr,"∥","\\rVert");T(S,O,Q,"=","=");T(S,O,Q,":",":");T(S,O,Q,"≈","\\approx",!0);T(S,O,Q,"≅","\\cong",!0);T(S,O,Q,"≥","\\ge");T(S,O,Q,"≥","\\geq",!0);T(S,O,Q,"←","\\gets");T(S,O,Q,">","\\gt",!0);T(S,O,Q,"∈","\\in",!0);T(S,O,Q,"","\\@not");T(S,O,Q,"⊂","\\subset",!0);T(S,O,Q,"⊃","\\supset",!0);T(S,O,Q,"⊆","\\subseteq",!0);T(S,O,Q,"⊇","\\supseteq",!0);T(S,V,Q,"⊈","\\nsubseteq",!0);T(S,V,Q,"⊉","\\nsupseteq",!0);T(S,O,Q,"⊨","\\models");T(S,O,Q,"←","\\leftarrow",!0);T(S,O,Q,"≤","\\le");T(S,O,Q,"≤","\\leq",!0);T(S,O,Q,"<","\\lt",!0);T(S,O,Q,"→","\\rightarrow",!0);T(S,O,Q,"→","\\to");T(S,V,Q,"≱","\\ngeq",!0);T(S,V,Q,"≰","\\nleq",!0);T(S,O,Qi," ","\\ ");T(S,O,Qi," ","\\space");T(S,O,Qi," ","\\nobreakspace");T(Te,O,Qi," ","\\ ");T(Te,O,Qi," "," ");T(Te,O,Qi," ","\\space");T(Te,O,Qi," ","\\nobreakspace");T(S,O,Qi,null,"\\nobreak");T(S,O,Qi,null,"\\allowbreak");T(S,O,cm,",",",");T(S,O,cm,";",";");T(S,V,ze,"⊼","\\barwedge",!0);T(S,V,ze,"⊻","\\veebar",!0);T(S,O,ze,"⊙","\\odot",!0);T(S,O,ze,"⊕","\\oplus",!0);T(S,O,ze,"⊗","\\otimes",!0);T(S,O,J,"∂","\\partial",!0);T(S,O,ze,"⊘","\\oslash",!0);T(S,V,ze,"⊚","\\circledcirc",!0);T(S,V,ze,"⊡","\\boxdot",!0);
vendor: 4,907 bytes, line 551
551T(S,O,ze,"△","\\bigtriangleup");T(S,O,ze,"▽","\\bigtriangledown");T(S,O,ze,"†","\\dagger");T(S,O,ze,"⋄","\\diamond");T(S,O,ze,"⋆","\\star");T(S,O,ze,"◃","\\triangleleft");T(S,O,ze,"▹","\\triangleright");T(S,O,Yr,"{","\\{");T(Te,O,J,"{","\\{");T(Te,O,J,"{","\\textbraceleft");T(S,O,dr,"}","\\}");T(Te,O,J,"}","\\}");T(Te,O,J,"}","\\textbraceright");T(S,O,Yr,"{","\\lbrace");T(S,O,dr,"}","\\rbrace");T(S,O,Yr,"[","\\lbrack",!0);T(Te,O,J,"[","\\lbrack",!0);T(S,O,dr,"]","\\rbrack",!0);T(Te,O,J,"]","\\rbrack",!0);T(S,O,Yr,"(","\\lparen",!0);T(S,O,dr,")","\\rparen",!0);T(Te,O,J,"<","\\textless",!0);T(Te,O,J,">","\\textgreater",!0);T(S,O,Yr,"⌊","\\lfloor",!0);T(S,O,dr,"⌋","\\rfloor",!0);T(S,O,Yr,"⌈","\\lceil",!0);T(S,O,dr,"⌉","\\rceil",!0);T(S,O,J,"\\","\\backslash");T(S,O,J,"∣","|");T(S,O,J,"∣","\\vert");T(Te,O,J,"|","\\textbar",!0);T(S,O,J,"∥","\\|");T(S,O,J,"∥","\\Vert");T(Te,O,J,"∥","\\textbardbl");T(Te,O,J,"~","\\textasciitilde");T(Te,O,J,"\\","\\textbackslash");T(Te,O,J,"^","\\textasciicircum");T(S,O,Q,"↑","\\uparrow",!0);T(S,O,Q,"⇑","\\Uparrow",!0);T(S,O,Q,"↓","\\downarrow",!0);T(S,O,Q,"⇓","\\Downarrow",!0);T(S,O,Q,"↕","\\updownarrow",!0);T(S,O,Q,"⇕","\\Updownarrow",!0);T(S,O,wn,"∐","\\coprod");T(S,O,wn,"⋁","\\bigvee");T(S,O,wn,"⋀","\\bigwedge");T(S,O,wn,"⨄","\\biguplus");T(S,O,wn,"⋂","\\bigcap");T(S,O,wn,"⋃","\\bigcup");T(S,O,wn,"∫","\\int");T(S,O,wn,"∫","\\intop");T(S,O,wn,"∬","\\iint");T(S,O,wn,"∭","\\iiint");T(S,O,wn,"∏","\\prod");T(S,O,wn,"∑","\\sum");T(S,O,wn,"⨂","\\bigotimes");T(S,O,wn,"⨁","\\bigoplus");T(S,O,wn,"⨀","\\bigodot");T(S,O,wn,"∮","\\oint");T(S,O,wn,"∯","\\oiint");T(S,O,wn,"∰","\\oiiint");T(S,O,wn,"⨆","\\bigsqcup");T(S,O,wn,"∫","\\smallint");T(Te,O,yu,"…","\\textellipsis");T(S,O,yu,"…","\\mathellipsis");T(Te,O,yu,"…","\\ldots",!0);T(S,O,yu,"…","\\ldots",!0);T(S,O,yu,"⋯","\\@cdots",!0);T(S,O,yu,"⋱","\\ddots",!0);T(S,O,J,"⋮","\\varvdots");T(Te,O,J,"⋮","\\varvdots");T(S,O,Yt,"ˊ","\\acute");T(S,O,Yt,"ˋ","\\grave");T(S,O,Yt,"¨","\\ddot");T(S,O,Yt,"~","\\tilde");T(S,O,Yt,"ˉ","\\bar");T(S,O,Yt,"˘","\\breve");T(S,O,Yt,"ˇ","\\check");T(S,O,Yt,"^","\\hat");T(S,O,Yt,"⃗","\\vec");T(S,O,Yt,"˙","\\dot");T(S,O,Yt,"˚","\\mathring");T(S,O,Ge,"","\\@imath");T(S,O,Ge,"","\\@jmath");T(S,O,J,"ı","ı");T(S,O,J,"ȷ","ȷ");T(Te,O,J,"ı","\\i",!0);T(Te,O,J,"ȷ","\\j",!0);T(Te,O,J,"ß","\\ss",!0);T(Te,O,J,"æ","\\ae",!0);T(Te,O,J,"œ","\\oe",!0);T(Te,O,J,"ø","\\o",!0);T(Te,O,J,"Æ","\\AE",!0);T(Te,O,J,"Œ","\\OE",!0);T(Te,O,J,"Ø","\\O",!0);T(Te,O,Yt,"ˊ","\\'");T(Te,O,Yt,"ˋ","\\`");T(Te,O,Yt,"ˆ","\\^");T(Te,O,Yt,"˜","\\~");T(Te,O,Yt,"ˉ","\\=");T(Te,O,Yt,"˘","\\u");T(Te,O,Yt,"˙","\\.");T(Te,O,Yt,"¸","\\c");T(Te,O,Yt,"˚","\\r");T(Te,O,Yt,"ˇ","\\v");T(Te,O,Yt,"¨",'\\"');T(Te,O,Yt,"˝","\\H");T(Te,O,Yt,"◯","\\textcircled");var X9={"--":!0,"---":!0,"``":!0,"''":!0};T(Te,O,J,"–","--",!0);T(Te,O,J,"–","\\textendash");T(Te,O,J,"—","---",!0);T(Te,O,J,"—","\\textemdash");T(Te,O,J,"‘","`",!0);T(Te,O,J,"‘","\\textquoteleft");T(Te,O,J,"’","'",!0);T(Te,O,J,"’","\\textquoteright");T(Te,O,J,"“","``",!0);T(Te,O,J,"“","\\textquotedblleft");T(Te,O,J,"”","''",!0);T(Te,O,J,"”","\\textquotedblright");T(S,O,J,"°","\\degree",!0);T(Te,O,J,"°","\\degree");T(Te,O,J,"°","\\textdegree",!0);T(S,O,J,"£","\\pounds");T(S,O,J,"£","\\mathsterling",!0);T(Te,O,J,"£","\\pounds");T(Te,O,J,"£","\\textsterling",!0);T(S,V,J,"✠","\\maltese");T(Te,V,J,"✠","\\maltese");var XE='0123456789/@."';for(var Rg=0;Rg<XE.length;Rg++){var KE=XE.charAt(Rg);T(S,O,J,KE,KE)}var ZE='0123456789!@*()-=+";:?/.,';for(var Og=0;Og<ZE.length;Og++){var JE=ZE.charAt(Og);T(Te,O,J,JE,JE)}var uh="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(var Dg=0;Dg<uh.length;Dg++){var yf=uh.charAt(Dg);T(S,O,Ge,yf,yf),T(Te,O,J,yf,yf)}T(S,V,J,"C","ℂ");T(Te,V,J,"C","ℂ");T(S,V,J,"H","ℍ");T(Te,V,J,"H","ℍ");T(S,V,J,"N","ℕ");T(Te,V,J,"N","ℕ");T(S,V,J,"P","ℙ");T(Te,V,J,"P","ℙ");T(S,V,J,"Q","ℚ");T(Te,V,J,"Q","ℚ");T(S,V,J,"R","ℝ");T(Te,V,J,"R","ℝ");T(S,V,J,"Z","ℤ");T(Te,V,J,"Z","ℤ");T(S,O,Ge,"h","ℎ");T(Te,O,Ge,"h","ℎ");var Xe="";for(var sr=0;sr<uh.length;sr++){var tn=uh.charAt(sr);Xe=String.fromCharCode(55349,56320+sr),T(S,O,Ge,tn,Xe),T(Te,O,J,tn,Xe),Xe=String.fromCharCode(55349,56372+sr),T(S,O,Ge,tn,Xe),T(Te,O,J,tn,Xe),Xe=String.fromCharCode(55349,56424+sr),T(S,O,Ge,tn,Xe),T(Te,O,J,tn,Xe),Xe=String.fromCharCode(55349,56580+sr),T(S,O,Ge,tn,Xe),T(Te,O,J,tn,Xe),Xe=String.fromCharCode(55349,56684+sr),T(S,O,Ge,tn,Xe),T(Te,O,J,tn,Xe),Xe=String.fromCharCode(55349,56736+sr),T(S,O,Ge,tn,Xe),T(Te,O,J,tn,Xe),Xe=String.fromCharCode(55349,56788+sr),T(S,O,Ge,tn,Xe),T(Te,O,J,tn,Xe),Xe=String.fromCharCode(55349,56840+sr),T(S,O,Ge,tn,Xe),T(Te,O,J,tn,Xe),Xe=String.fromCharCode(55349,56944+sr),T(S,O,Ge,tn,Xe),T(Te,O,J,tn,Xe),sr<26&&
vendor: 4,081 bytes, line 551
551(Xe=String.fromCharCode(55349,56632+sr),T(S,O,Ge,tn,Xe),T(Te,O,J,tn,Xe),Xe=String.fromCharCode(55349,56476+sr),T(S,O,Ge,tn,Xe),T(Te,O,J,tn,Xe))}Xe="𝕜";T(S,O,Ge,"k",Xe);T(Te,O,J,"k",Xe);for(var bo=0;bo<10;bo++){var Ss=bo.toString();Xe=String.fromCharCode(55349,57294+bo),T(S,O,Ge,Ss,Xe),T(Te,O,J,Ss,Xe),Xe=String.fromCharCode(55349,57314+bo),T(S,O,Ge,Ss,Xe),T(Te,O,J,Ss,Xe),Xe=String.fromCharCode(55349,57324+bo),T(S,O,Ge,Ss,Xe),T(Te,O,J,Ss,Xe),Xe=String.fromCharCode(55349,57334+bo),T(S,O,Ge,Ss,Xe),T(Te,O,J,Ss,Xe)}var eb="ÐÞþ";for(var Ig=0;Ig<eb.length;Ig++){var vf=eb.charAt(Ig);T(S,O,Ge,vf,vf),T(Te,O,J,vf,vf)}var xf=[["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"]],e8=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],fG=function(t,n){var r=t.charCodeAt(0),a=t.charCodeAt(1),s=(r-55296)*1024+(a-56320)+65536,o=n==="math"?0:1;if(119808<=s&&s<120484){var u=Math.floor((s-119808)/26);return[xf[u][2],xf[u][o]]}else if(120782<=s&&s<=120831){var c=Math.floor((s-120782)/10);return[e8[c][2],e8[c][o]]}else{if(s===120485||s===120486)return[xf[0][2],xf[0][o]];if(120486<s&&s<120782)return["",""];throw new ke("Unsupported character: "+t)}},dm=function(t,n,r){return jt[r][t]&&jt[r][t].replace&&(t=jt[r][t].replace),{value:t,metrics:O4(t,n,r)}},_a=function(t,n,r,a,s){var o=dm(t,n,r),u=o.metrics;t=o.value;var c;if(u){var f=u.italic;(r==="text"||a&&a.font==="mathit")&&(f=0),c=new ha(t,u.height,u.depth,f,u.skew,u.width,s)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+t+"' in style '"+n+"' and mode '"+r+"'")),c=new ha(t,0,0,0,0,0,s);if(a){c.maxFontSize=a.sizeMultiplier,a.style.isTight()&&c.classes.push("mtight");var p=a.getColor();p&&(c.style.color=p)}return c},hG=function(t,n,r,a){return a===void 0&&(a=[]),r.font==="boldsymbol"&&dm(t,"Main-Bold",n).metrics?_a(t,"Main-Bold",n,r,a.concat(["mathbf"])):t==="\\"||jt[n][t].font==="main"?_a(t,"Main-Regular",n,r,a):_a(t,"AMS-Regular",n,r,a.concat(["amsrm"]))},mG=function(t,n,r,a,s){return s!=="textord"&&dm(t,"Math-BoldItalic",n).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},pG=function(t,n,r){var a=t.mode,s=t.text,o=["mord"],u=a==="math"||a==="text"&&n.font,c=u?n.font:n.fontFamily,f="",p="";if(s.charCodeAt(0)===55349&&([f,p]=fG(s,a)),f.length>0)return _a(s,f,a,n,o.concat(p));if(c){var m,b;if(c==="boldsymbol"){var y=mG(s,a,n,o,r);m=y.fontName,b=[y.fontClass]}else u?(m=J9[c].fontName,b=[c]):(m=Ef(c,n.fontWeight,n.fontShape),b=[c,n.fontWeight,n.fontShape]);if(dm(s,m,a).metrics)return _a(s,m,a,n,o.concat(b));if(X9.hasOwnProperty(s)&&m.slice(0,10)==="Typewriter"){for(var _=[],w=0;w<s.length;w++)_.push(_a(s[w],m,a,n,o.concat(b)));return Z9(_)}}if(r==="mathord")return _a(s,"Math-Italic",a,n,o.concat(["mathnormal"]));if(r==="textord"){var k=jt[a][s]&&jt[a][s].font;if(k==="ams"){var A=Ef("amsrm",n.fontWeight,n.fontShape);return _a(s,A,a,n,o.concat("amsrm",n.fontWeight,n.fontShape))}else if(k==="main"||!k){var R=Ef("textrm",n.fontWeight,n.fontShape);return _a(s,R,a,n,o.concat(n.fontWeight,n.fontShape))}else{var D=Ef(k,n.fontWeight,n.fontShape);
vendor: 4,535 bytes, line 551
551return _a(s,D,a,n,o.concat(D,n.fontWeight,n.fontShape))}}else throw new Error("unexpected type: "+r+" in makeOrd")},gG=(e,t)=>{if(Fs(e.classes)!==Fs(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(e.classes.length===1){var n=e.classes[0];if(n==="mbin"||n==="mord")return!1}for(var r in e.style)if(e.style.hasOwnProperty(r)&&e.style[r]!==t.style[r])return!1;for(var a in t.style)if(t.style.hasOwnProperty(a)&&e.style[a]!==t.style[a])return!1;return!0},bG=e=>{for(var t=0;t<e.length-1;t++){var n=e[t],r=e[t+1];n instanceof ha&&r instanceof ha&&gG(n,r)&&(n.text+=r.text,n.height=Math.max(n.height,r.height),n.depth=Math.max(n.depth,r.depth),n.italic=r.italic,e.splice(t+1,1),t--)}return e},I4=function(t){for(var n=0,r=0,a=0,s=0;s<t.children.length;s++){var o=t.children[s];o.height>n&&(n=o.height),o.depth>r&&(r=o.depth),o.maxFontSize>a&&(a=o.maxFontSize)}t.height=n,t.depth=r,t.maxFontSize=a},Sr=function(t,n,r,a){var s=new D0(t,n,r,a);return I4(s),s},K9=(e,t,n,r)=>new D0(e,t,n,r),yG=function(t,n,r){var a=Sr([t],[],n);return a.height=Math.max(r||n.fontMetrics().defaultRuleThickness,n.minRuleThickness),a.style.borderBottomWidth=Le(a.height),a.maxFontSize=1,a},vG=function(t,n,r,a){var s=new D4(t,n,r,a);return I4(s),s},Z9=function(t){var n=new O0(t);return I4(n),n},xG=function(t,n){return t instanceof O0?Sr([],[t],n):t},EG=function(t){if(t.positionType==="individualShift"){for(var n=t.children,r=[n[0]],a=-n[0].shift-n[0].elem.depth,s=a,o=1;o<n.length;o++){var u=-n[o].shift-s-n[o].elem.depth,c=u-(n[o-1].elem.height+n[o-1].elem.depth);s=s+u,r.push({type:"kern",size:c}),r.push(n[o])}return{children:r,depth:a}}var f;if(t.positionType==="top"){for(var p=t.positionData,m=0;m<t.children.length;m++){var b=t.children[m];p-=b.type==="kern"?b.size:b.elem.height+b.elem.depth}f=p}else if(t.positionType==="bottom")f=-t.positionData;else{var y=t.children[0];if(y.type!=="elem")throw new Error('First child must have type "elem".');if(t.positionType==="shift")f=-y.elem.depth-t.positionData;else if(t.positionType==="firstBaseline")f=-y.elem.depth;else throw new Error("Invalid positionType "+t.positionType+".")}return{children:t.children,depth:f}},_G=function(t,n){for(var{children:r,depth:a}=EG(t),s=0,o=0;o<r.length;o++){var u=r[o];if(u.type==="elem"){var c=u.elem;s=Math.max(s,c.maxFontSize,c.height)}}s+=2;var f=Sr(["pstrut"],[]);f.style.height=Le(s);for(var p=[],m=a,b=a,y=a,_=0;_<r.length;_++){var w=r[_];if(w.type==="kern")y+=w.size;else{var k=w.elem,A=w.wrapperClasses||[],R=w.wrapperStyle||{},D=Sr(A,[f,k],void 0,R);D.style.top=Le(-s-y-k.depth),w.marginLeft&&(D.style.marginLeft=w.marginLeft),w.marginRight&&(D.style.marginRight=w.marginRight),p.push(D),y+=k.height+k.depth}m=Math.min(m,y),b=Math.max(b,y)}var F=Sr(["vlist"],p);F.style.height=Le(b);var H;if(m<0){var P=Sr([],[]),z=Sr(["vlist"],[P]);z.style.height=Le(-m);var K=Sr(["vlist-s"],[new ha("​")]);H=[Sr(["vlist-r"],[F,K]),Sr(["vlist-r"],[z])]}else H=[Sr(["vlist-r"],[F])];var ee=Sr(["vlist-t"],H);return H.length===2&&ee.classes.push("vlist-t2"),ee.height=b,ee.depth=-m,ee},TG=(e,t)=>{var n=Sr(["mspace"],[],t),r=Xt(e,t);return n.style.marginRight=Le(r),n},Ef=function(t,n,r){var a="";switch(t){case"amsrm":a="AMS";break;case"textrm":a="Main";break;case"textsf":a="SansSerif";break;case"texttt":a="Typewriter";break;default:a=t}var s;return n==="textbf"&&r==="textit"?s="BoldItalic":n==="textbf"?s="Bold":n==="textit"?s="Italic":s="Regular",a+"-"+s},J9={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"}},eS={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},wG=function(t,n){var[r,a,s]=eS[t],o=new Us(r),u=new $i([o],{width:Le(a),height:Le(s),style:"width:"+Le(a),viewBox:"0 0 "+1e3*a+" "+1e3*s,preserveAspectRatio:"xMinYMin"}),c=K9(["overlay"],[u],n);return c.height=s,c.style.height=Le(s),c.style.width=Le(a),c}
vendor: 14,703 bytes, line 551
551,le={fontMap:J9,makeSymbol:_a,mathsym:hG,makeSpan:Sr,makeSvgSpan:K9,makeLineSpan:yG,makeAnchor:vG,makeFragment:Z9,wrapFragment:xG,makeVList:_G,makeOrd:pG,makeGlue:TG,staticSvg:wG,svgData:eS,tryCombineChars:bG},Wt={number:3,unit:"mu"},yo={number:4,unit:"mu"},Di={number:5,unit:"mu"},SG={mord:{mop:Wt,mbin:yo,mrel:Di,minner:Wt},mop:{mord:Wt,mop:Wt,mrel:Di,minner:Wt},mbin:{mord:yo,mop:yo,mopen:yo,minner:yo},mrel:{mord:Di,mop:Di,mopen:Di,minner:Di},mopen:{},mclose:{mop:Wt,mbin:yo,mrel:Di,minner:Wt},mpunct:{mord:Wt,mop:Wt,mrel:Di,mopen:Wt,mclose:Wt,mpunct:Wt,minner:Wt},minner:{mord:Wt,mop:Wt,mbin:yo,mrel:Di,mopen:Wt,mpunct:Wt,minner:Wt}},AG={mord:{mop:Wt},mop:{mord:Wt,mop:Wt},mbin:{},mrel:{},mopen:{},mclose:{mop:Wt},mpunct:{},minner:{mop:Wt}},tS={},ch={},dh={};function Pe(e){for(var{type:t,names:n,props:r,handler:a,htmlBuilder:s,mathmlBuilder:o}=e,u={type:t,numArgs:r.numArgs,argTypes:r.argTypes,allowedInArgument:!!r.allowedInArgument,allowedInText:!!r.allowedInText,allowedInMath:r.allowedInMath===void 0?!0:r.allowedInMath,numOptionalArgs:r.numOptionalArgs||0,infix:!!r.infix,primitive:!!r.primitive,handler:a},c=0;c<n.length;++c)tS[n[c]]=u;t&&(s&&(ch[t]=s),o&&(dh[t]=o))}function Uo(e){var{type:t,htmlBuilder:n,mathmlBuilder:r}=e;Pe({type:t,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:n,mathmlBuilder:r})}var fh=function(t){return t.type==="ordgroup"&&t.body.length===1?t.body[0]:t},mn=function(t){return t.type==="ordgroup"?t.body:[t]},Vi=le.makeSpan,CG=["leftmost","mbin","mopen","mrel","mop","mpunct"],kG=["rightmost","mrel","mclose","mpunct"],NG={display:Ye.DISPLAY,text:Ye.TEXT,script:Ye.SCRIPT,scriptscript:Ye.SCRIPTSCRIPT},RG={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Nn=function(t,n,r,a){a===void 0&&(a=[null,null]);for(var s=[],o=0;o<t.length;o++){var u=yt(t[o],n);if(u instanceof O0){var c=u.children;s.push(...c)}else s.push(u)}if(le.tryCombineChars(s),!r)return s;var f=n;if(t.length===1){var p=t[0];p.type==="sizing"?f=n.havingSize(p.size):p.type==="styling"&&(f=n.havingStyle(NG[p.style]))}var m=Vi([a[0]||"leftmost"],[],n),b=Vi([a[1]||"rightmost"],[],n),y=r==="root";return t8(s,(_,w)=>{var k=w.classes[0],A=_.classes[0];k==="mbin"&&kG.includes(A)?w.classes[0]="mord":A==="mbin"&&CG.includes(k)&&(_.classes[0]="mord")},{node:m},b,y),t8(s,(_,w)=>{var k=tb(w),A=tb(_),R=k&&A?_.hasClass("mtight")?AG[k][A]:SG[k][A]:null;if(R)return le.makeGlue(R,f)},{node:m},b,y),s},t8=function e(t,n,r,a,s){a&&t.push(a);for(var o=0;o<t.length;o++){var u=t[o],c=nS(u);if(c){e(c.children,n,r,null,s);continue}var f=!u.hasClass("mspace");if(f){var p=n(u,r.node);p&&(r.insertAfter?r.insertAfter(p):(t.unshift(p),o++))}f?r.node=u:s&&u.hasClass("newline")&&(r.node=Vi(["leftmost"])),r.insertAfter=(m=>b=>{t.splice(m+1,0,b),o++})(o)}a&&t.pop()},nS=function(t){return t instanceof O0||t instanceof D4||t instanceof D0&&t.hasClass("enclosing")?t:null},OG=function e(t,n){var r=nS(t);if(r){var a=r.children;if(a.length){if(n==="right")return e(a[a.length-1],"right");if(n==="left")return e(a[0],"left")}}return t},tb=function(t,n){return t?(n&&(t=OG(t,n)),RG[t.classes[0]]||null):null},d0=function(t,n){var r=["nulldelimiter"].concat(t.baseSizingClasses());return Vi(n.concat(r))},yt=function(t,n,r){if(!t)return Vi();if(ch[t.type]){var a=ch[t.type](t,n);if(r&&n.size!==r.size){a=Vi(n.sizingClasses(r),[a],n);var s=n.sizeMultiplier/r.sizeMultiplier;a.height*=s,a.depth*=s}return a}else throw new ke("Got group of unknown type: '"+t.type+"'")};function _f(e,t){var n=Vi(["base"],e,t),r=Vi(["strut"]);return r.style.height=Le(n.height+n.depth),n.depth&&(r.style.verticalAlign=Le(-n.depth)),n.children.unshift(r),n}function nb(e,t){var n=null;e.length===1&&e[0].type==="tag"&&(n=e[0].tag,e=e[0].body);var r=Nn(e,t,"root"),a;r.length===2&&r[1].hasClass("tag")&&(a=r.pop());for(var s=[],o=[],u=0;u<r.length;u++)if(o.push(r[u]),r[u].hasClass("mbin")||r[u].hasClass("mrel")||r[u].hasClass("allowbreak")){for(var c=!1;u<r.length-1&&r[u+1].hasClass("mspace")&&!r[u+1].hasClass("newline");)u++,o.push(r[u]),r[u].hasClass("nobreak")&&(c=!0);c||(s.push(_f(o,t)),o=[])}else r[u].hasClass("newline")&&(o.pop(),o.length>0&&(s.push(_f(o,t)),o=[]),s.push(r[u]));o.length>0&&s.push(_f(o,t));var f;n?(f=_f(Nn(n,t,!0)),f.classes=["tag"],s.push(f)):a&&s.push(a);var p=Vi(["katex-html"],s);if(p.setAttribute("aria-hidden","true"),f){var m=f.children[0];m.style.height=Le(p.height+p.depth),p.depth&&(m.style.verticalAlign=Le(-p.depth))}return p}function rS(e){return new O0(e)}class qr{constructor(t,n,r){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=t,this.attributes={},this.children=n||[],this.classes=r||[]}setAttribute(t,n){this.attributes[t]=n}getAttribute(t){return this.attributes[t]}toNode(){var t=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&t.setAttribute(n,this.attributes[n]);this.classes.length>0&&(t.className=Fs(this.classes));for(var r=0;r<this.children.length;r++)if(this.children[r]instanceof ti&&this.children[r+1]instanceof ti){for(var a=this.children[r].toText()+this.children[++r].toText();this.children[r+1]instanceof ti;)a+=this.children[++r].toText();t.appendChild(new ti(a).toNode())}else t.appendChild(this.children[r].toNode());return t}toMarkup(){var t="<"+this.type;for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&(t+=" "+n+'="',t+=_t.escape(this.attributes[n]),t+='"');this.classes.length>0&&(t+=' class ="'+_t.escape(Fs(this.classes))+'"'),t+=">";for(var r=0;r<this.children.length;r++)t+=this.children[r].toMarkup();return t+="</"+this.type+">",t}toText(){return this.children.map(t=>t.toText()).join("")}}class ti{constructor(t){this.text=void 0,this.text=t}toNode(){return document.createTextNode(this.text)}toMarkup(){return _t.escape(this.toText())}toText(){return this.text}}class DG{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",Le(this.width)),t}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+Le(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var Ce={MathNode:qr,TextNode:ti,SpaceNode:DG,newDocumentFragment:rS},ma=function(t,n,r){return jt[n][t]&&jt[n][t].replace&&t.charCodeAt(0)!==55349&&!(X9.hasOwnProperty(t)&&r&&(r.fontFamily&&r.fontFamily.slice(4,6)==="tt"||r.font&&r.font.slice(4,6)==="tt"))&&(t=jt[n][t].replace),new Ce.TextNode(t)},L4=function(t){return t.length===1?t[0]:new Ce.MathNode("mrow",t)},M4=function(t,n){if(n.fontFamily==="texttt")return"monospace";if(n.fontFamily==="textsf")return n.fontShape==="textit"&&n.fontWeight==="textbf"?"sans-serif-bold-italic":n.fontShape==="textit"?"sans-serif-italic":n.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(n.fontShape==="textit"&&n.fontWeight==="textbf")return"bold-italic";if(n.fontShape==="textit")return"italic";if(n.fontWeight==="textbf")return"bold";var r=n.font;if(!r||r==="mathnormal")return null;var a=t.mode;if(r==="mathit")return"italic";if(r==="boldsymbol")return t.type==="textord"?"bold":"bold-italic";if(r==="mathbf")return"bold";if(r==="mathbb")return"double-struck";if(r==="mathsfit")return"sans-serif-italic";if(r==="mathfrak")return"fraktur";if(r==="mathscr"||r==="mathcal")return"script";if(r==="mathsf")return"sans-serif";if(r==="mathtt")return"monospace";var s=t.text;if(["\\imath","\\jmath"].includes(s))return null;jt[a][s]&&jt[a][s].replace&&(s=jt[a][s].replace);var o=le.fontMap[r].fontName;return O4(s,o,a)?le.fontMap[r].variant:null};function Lg(e){if(!e)return!1;if(e.type==="mi"&&e.children.length===1){var t=e.children[0];return t instanceof ti&&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 ti&&n.text===","}else return!1}var Nr=function(t,n,r){if(t.length===1){var a=Pt(t[0],n);return r&&a instanceof qr&&a.type==="mo"&&(a.setAttribute("lspace","0em"),a.setAttribute("rspace","0em")),[a]}for(var s=[],o,u=0;u<t.length;u++){var c=Pt(t[u],n);if(c instanceof qr&&o instanceof qr){if(c.type==="mtext"&&o.type==="mtext"&&c.getAttribute("mathvariant")===o.getAttribute("mathvariant")){o.children.push(...c.children);continue}else if(c.type==="mn"&&o.type==="mn"){o.children.push(...c.children);continue}else if(Lg(c)&&o.type==="mn"){o.children.push(...c.children);continue}else if(c.type==="mn"&&Lg(o))c.children=[...o.children,...c.children],s.pop();else if((c.type==="msup"||c.type==="msub")&&c.children.length>=1&&(o.type==="mn"||Lg(o))){var f=c.children[0];f instanceof qr&&f.type==="mn"&&(f.children=[...o.children,...f.children],s.pop())}else if(o.type==="mi"&&o.children.length===1){var p=o.children[0];if(p instanceof ti&&p.text==="̸"&&(c.type==="mo"||c.type==="mi"||c.type==="mn")){var m=c.children[0];m instanceof ti&&m.text.length>0&&(m.text=m.text.slice(0,1)+"̸"+m.text.slice(1),s.pop())}}}s.push(c),o=c}return s},qs=function(t,n,r){return L4(Nr(t,n,r))},Pt=function(t,n){if(!t)return new Ce.MathNode("mrow");if(dh[t.type]){var r=dh[t.type](t,n);return r}else throw new ke("Got group of unknown type: '"+t.type+"'")};function n8(e,t,n,r,a){var s=Nr(e,n),o;s.length===1&&s[0]instanceof qr&&["mrow","mtable"].includes(s[0].type)?o=s[0]:o=new Ce.MathNode("mrow",s);var u=new Ce.MathNode("annotation",[new Ce.TextNode(t)]);u.setAttribute("encoding","application/x-tex");var c=new Ce.MathNode("semantics",[o,u]),f=new Ce.MathNode("math",[c]);f.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),r&&f.setAttribute("display","block");var p=a?"katex":"katex-mathml";return le.makeSpan([p],[f])}var aS=function(t){return new Mi({style:t.displayMode?Ye.DISPLAY:Ye.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},iS=function(t,n){if(n.displayMode){var r=["katex-display"];n.leqno&&r.push("leqno"),n.fleqn&&r.push("fleqn"),t=le.makeSpan(r,[t])}return t},IG=function(t,n,r){var a=aS(r),s;if(r.output==="mathml")return n8(t,n,a,r.displayMode,!0);if(r.output==="html"){var o=nb(t,a);s=le.makeSpan(["katex"],[o])}else{var u=n8(t,n,a,r.displayMode,!1),c=nb(t,a);s=le.makeSpan(["katex"],[u,c])}return iS(s,r)},LG=function(t,n,r){var a=aS(r),s=nb(t,a),o=le.makeSpan(["katex"],[s]);return iS(o,r)},MG={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":"="},PG=function(t){var n=new Ce.MathNode("mo",[new Ce.TextNode(MG[t.replace(/^\\/,"")])]);return n.setAttribute("stretchy","true"),n},BG={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]},zG=function(t){return t.type==="ordgroup"?t.body.length:1},HG=function(t,n){function r(){var u=4e5,c=t.label.slice(1);if(["widehat","widecheck","widetilde","utilde"].includes(c)){var f=t,p=zG(f.base),m,b,y;if(p>5)c==="widehat"||c==="widecheck"?(m=420,u=2364,y=.42,b=c+"4"):(m=312,u=2340,y=.34,b="tilde4");else{var _=[1,1,2,2,3,3][p];c==="widehat"||c==="widecheck"?(u=[0,1062,2364,2364,2364][_],m=[0,239,300,360,420][_],y=[0,.24,.3,.3,.36,.42][_],b=c+_):(u=[0,600,
vendor: 16,532 bytes, lines 551-552
5511033,2339,2340][_],m=[0,260,286,306,312][_],y=[0,.26,.286,.3,.306,.34][_],b="tilde"+_)}var w=new Us(b),k=new $i([w],{width:"100%",height:Le(y),viewBox:"0 0 "+u+" "+m,preserveAspectRatio:"none"});return{span:le.makeSvgSpan([],[k],n),minWidth:0,height:y}}else{var A=[],R=BG[c],[D,F,H]=R,P=H/1e3,z=D.length,K,ee;if(z===1){var Y=R[3];K=["hide-tail"],ee=[Y]}else if(z===2)K=["halfarrow-left","halfarrow-right"],ee=["xMinYMin","xMaxYMin"];else if(z===3)K=["brace-left","brace-center","brace-right"],ee=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
552                    `+z+" children.");for(var se=0;se<z;se++){var re=new Us(D[se]),pe=new $i([re],{width:"400em",height:Le(P),viewBox:"0 0 "+u+" "+H,preserveAspectRatio:ee[se]+" slice"}),ue=le.makeSvgSpan([K[se]],[pe],n);if(z===1)return{span:ue,minWidth:F,height:P};ue.style.height=Le(P),A.push(ue)}return{span:le.makeSpan(["stretchy"],A,n),minWidth:F,height:P}}}var{span:a,minWidth:s,height:o}=r();return a.height=o,a.style.height=Le(o),s>0&&(a.style.minWidth=Le(s)),a},jG=function(t,n,r,a,s){var o,u=t.height+t.depth+r+a;if(/fbox|color|angl/.test(n)){if(o=le.makeSpan(["stretchy",n],[],s),n==="fbox"){var c=s.color&&s.getColor();c&&(o.style.borderColor=c)}}else{var f=[];/^[bx]cancel$/.test(n)&&f.push(new J2({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(n)&&f.push(new J2({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var p=new $i(f,{width:"100%",height:Le(u)});o=le.makeSvgSpan([],[p],s)}return o.height=u,o.style.height=Le(u),o},Gi={encloseSpan:jG,mathMLnode:PG,svgSpan:HG};function st(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 P4(e){var t=fm(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 fm(e){return e&&(e.type==="atom"||dG.hasOwnProperty(e.type))?e:null}var B4=(e,t)=>{var n,r,a;e&&e.type==="supsub"?(r=st(e.base,"accent"),n=r.base,e.base=n,a=uG(yt(e,t)),e.base=r):(r=st(e,"accent"),n=r.base);var s=yt(n,t.havingCrampedStyle()),o=r.isShifty&&_t.isCharacterBox(n),u=0;if(o){var c=_t.getBaseElem(n),f=yt(c,t.havingCrampedStyle());u=WE(f).skew}var p=r.label==="\\c",m=p?s.height+s.depth:Math.min(s.height,t.fontMetrics().xHeight),b;if(r.isStretchy)b=Gi.svgSpan(r,t),b=le.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"elem",elem:b,wrapperClasses:["svg-align"],wrapperStyle:u>0?{width:"calc(100% - "+Le(2*u)+")",marginLeft:Le(2*u)}:void 0}]},t);else{var y,_;r.label==="\\vec"?(y=le.staticSvg("vec",t),_=le.svgData.vec[1]):(y=le.makeOrd({mode:r.mode,text:r.label},t,"textord"),y=WE(y),y.italic=0,_=y.width,p&&(m+=y.depth)),b=le.makeSpan(["accent-body"],[y]);var w=r.label==="\\textcircled";w&&(b.classes.push("accent-full"),m=s.height);var k=u;w||(k-=_/2),b.style.left=Le(k),r.label==="\\textcircled"&&(b.style.top=".2em"),b=le.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:-m},{type:"elem",elem:b}]},t)}var A=le.makeSpan(["mord","accent"],[b],t);return a?(a.children[0]=A,a.height=Math.max(A.height,a.height),a.classes[0]="mord",a):A},sS=(e,t)=>{var n=e.isStretchy?Gi.mathMLnode(e.label):new Ce.MathNode("mo",[ma(e.label,e.mode)]),r=new Ce.MathNode("mover",[Pt(e.base,t),n]);return r.setAttribute("accent","true"),r},FG=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));Pe({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=fh(t[0]),r=!FG.test(e.funcName),a=!r||e.funcName==="\\widehat"||e.funcName==="\\widetilde"||e.funcName==="\\widecheck";return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:r,isShifty:a,base:n}},htmlBuilder:B4,mathmlBuilder:sS});Pe({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,t)=>{var n=t[0],r=e.parser.mode;return r==="math"&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),r="text"),{type:"accent",mode:r,label:e.funcName,isStretchy:!1,isShifty:!0,base:n}},htmlBuilder:B4,mathmlBuilder:sS});Pe({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:n,funcName:r}=e,a=t[0];return{type:"accentUnder",mode:n.mode,label:r,base:a}},htmlBuilder:(e,t)=>{var n=yt(e.base,t),r=Gi.svgSpan(e,t),a=e.label==="\\utilde"?.12:0,s=le.makeVList({positionType:"top",positionData:n.height,children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:a},{type:"elem",elem:n}]},t);return le.makeSpan(["mord","accentunder"],[s],t)},mathmlBuilder:(e,t)=>{var n=Gi.mathMLnode(e.label),r=new Ce.MathNode("munder",[Pt(e.base,t),n]);return r.setAttribute("accentunder","true"),r}});var Tf=e=>{var t=new Ce.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};Pe({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){var{parser:r,funcName:a}=e;return{type:"xArrow",mode:r.mode,label:a,body:t[0],below:n[0]}},htmlBuilder(e,t){var n=t.style,r=t.havingStyle(n.sup()),a=le.wrapFragment(yt(e.body,r,t),t),s=e.label.slice(0,2)==="\\x"?"x":"cd";a.classes.push(s+"-arrow-pad");var o;e.below&&(r=t.havingStyle(n.sub()),o=le.wrapFragment(yt(e.below,r,t),t),o.classes.push(s+"-arrow-pad"));var u=Gi.svgSpan(e,t),c=-t.fontMetrics().axisHeight+.5*u.height,f=-t.fontMetrics().axisHeight-.5*u.height-.111;(a.depth>.25||e.label==="\\xleftequilibrium")&&(f-=a.depth);var p;if(o){var m=-t.fontMetrics().axisHeight+o.height+.5*u.height+.111;p=le.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:f},{type:"elem",elem:u,shift:c},{type:"elem",elem:o,shift:m}]},t)}else p=le.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:f},{type:"elem",elem:u,shift:c}]},t);return p.children[0].children[0].children[1].classes.push("svg-align"),le.makeSpan(["mrel","x-arrow"],[p],t)},mathmlBuilder(e,t){var n=Gi.mathMLnode(e.label);n.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var r;if(e.body){var a=Tf(Pt(e.body,t));if(e.below){var s=Tf(Pt(e.below,t));r=new Ce.MathNode("munderover",[n,s,a])}else r=new Ce.MathNode("mover",[n,a])}else if(e.below){var o=Tf(Pt(e.below,t));r=new Ce.MathNode("munder",[n,o])}else r=Tf(),r=new Ce.MathNode("mover",[n,r]);return r}});var UG=le.makeSpan;function oS(e,t){var n=Nn(e.body,t,!0);return UG([e.mclass],n,t)}function lS(e,t){var n,r=Nr(e.body,t);return e.mclass==="minner"?n=new Ce.MathNode("mpadded",r):e.mclass==="mord"?e.isCharacterBox?(n=r[0],n.type="mi"):n=new Ce.MathNode("mi",r):(e.isCharacterBox?(n=r[0],n.type="mo"):n=new Ce.MathNode("mo",r),e.mclass==="mbin"?(n.attributes.lspace="0.22em",n.attributes.rspace="0.22em"):e.mclass==="mpunct"?(n.attributes.lspace="0em",n.attributes.rspace="0.17em"):e.mclass==="mopen"||e.mclass==="mclose"?(n.attributes.lspace="0em",n.attributes.rspace="0em"):e.mclass==="minner"&&(n.attributes.lspace="0.0556em",n.attributes.width="+0.1111em")),n}Pe({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:n,funcName:r}=e,a=t[0];return{type:"mclass",mode:n.mode,mclass:"m"+r.slice(5),body:mn(a),isCharacterBox:_t.isCharacterBox(a)}},htmlBuilder:oS,mathmlBuilder:lS});var hm=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"};Pe({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:n}=e;return{type:"mclass",mode:n.mode,mclass:hm(t[0]),body:mn(t[1]),isCharacterBox:_t.isCharacterBox(t[1])}}});Pe({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var{parser:n,funcName:r}=e,a=t[1],s=t[0],o;r!=="\\stackrel"?o=hm(a):o="mrel";var u={type:"op",mode:a.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:r!=="\\stackrel",body:mn(a)},c={type:"supsub",mode:s.mode,base:u,sup:r==="\\underset"?null:s,sub:r==="\\underset"?s:null};return{type:"mclass",mode:n.mode,mclass:o,body:[c],isCharacterBox:_t.isCharacterBox(c)}},htmlBuilder:oS,mathmlBuilder:lS});Pe({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:"pmb",mode:n.mode,mclass:hm(t[0]),body:mn(t[0])}},htmlBuilder(e,t){var n=Nn(e.body,t,!0),r=le.makeSpan([e.mclass],n,t);return r.style.textShadow="0.02em 0.01em 0.04px",r},mathmlBuilder(e,t){var n=Nr(e.body,t),r=new Ce.MathNode("mstyle",n);return r.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),r}});var qG={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},r8=()=>({type:"styling",body:[],mode:"math",style:"display"}),a8=e=>e.type==="textord"&&e.text==="@",$G=(e,t)=>(e.type==="mathord"||e.type==="atom")&&e.text===t;function VG(e,t,n){var r=qG[e];switch(r){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return n.callFunction(r,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":{var a=n.callFunction("\\\\cdleft",[t[0]],[]),s={type:"atom",text:r,mode:"math",family:"rel"},o=n.callFunction("\\Big",[s],[]),u=n.callFunction("\\\\cdright",[t[1]],[]),c={type:"ordgroup",mode:"math",body:[a,o,u]};return n.callFunction("\\\\cdparent",[c],[])}case"\\\\cdlongequal":return n.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var f={type:"textord",text:"\\Vert",mode:"math"};return n.callFunction("\\Big",[f],[])}default:return{type:"textord",text:" ",mode:"math"}}}function GG(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var n=e.fetch().text;if(n==="&"||n==="\\\\")e.consume();else if(n==="\\end"){t[t.length-1].length===0&&t.pop();break}else throw new ke("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var r=[],a=[r],s=0;s<t.length;s++){for(var o=t[s],u=r8(),c=0;c<o.length;c++)if(!a8(o[c]))u.body.push(o[c]);else{r.push(u),c+=1;var f=P4(o[c]).text,p=new Array(2);if(p[0]={type:"ordgroup",mode:"math",body:[]},p[1]={type:"ordgroup",mode:"math",body:[]},!("=|.".indexOf(f)>-1))if("<>AV".indexOf(f)>-1)for(var m=0;m<2;m++){for(var b=!0,y=c+1;y<o.length;y++){if($G(o[y],f)){b=!1,c=y;break}if(a8(o[y]))throw new ke("Missing a "+f+" character to complete a CD arrow.",o[y]);p[m].body.push(o[y])}if(b)throw new ke("Missing a "+f+" character to complete a CD arrow.",o[c])}else throw new ke('Expected one of "<>AV=|." after @',o[c]);var _=VG(f,p,e),w={type:"styling",body:[_],mode:"math",style:"display"};r.push(w),u=r8()}s%2===0?r.push(u):r.shift(),r=[],a.push(r)}e.gullet.endGroup(),e.gullet.endGroup();var k=new Array(a[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:a,arraystretch:1,addJot:!0,rowGaps:[null],cols:k,colSeparationType:"CD",hLinesBeforeRow:new Array(a.length+1).fill([])}}Pe({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e;return{type:"cdlabel",mode:n.mode,side:r.slice(4),label:t[0]}},htmlBuilder(e,t){var n=t.havingStyle(t.style.sup()),r=le.wrapFragment(yt(e.label,n,t),t);return r.classes.push("cd-label-"+e.side),r.style.bottom=Le(.8-r.depth),r.height=0,r.depth=0,r},mathmlBuilder(e,t){var n=new Ce.MathNode("mrow",[Pt(e.label,t)]);return n=new Ce.MathNode("mpadded",[n]),n.setAttribute("width","0"),e.side==="left"&&n.setAttribute("lspace","-1width"),n.setAttribute("voffset","0.7em"),n=new Ce.MathNode("mstyle",[n]),n.setAttribute("displaystyle","false"),n.setAttribute("scriptlevel","1"),n}});Pe({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=le.wrapFragment(yt(e.fragment,t),t);return n.classes.push("cd-vert-arrow"),n},mathmlBuilder(e,t){return new Ce.MathNode("mrow",[Pt(e.fragment,t)])}});Pe({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:n}=e,r=st(t[0],"ordgroup"),a=r.body,s="",o=0;o<a.length;o++){var u=st(a[o],"textord");s+=u.text}var c=parseInt(s),f;if(isNaN(c))throw new ke("\\@char has non-numeric argument "+s);if(c<0||c>=1114111)throw new ke("\\@char with invalid code point "+s);return c<=65535?f=String.fromCharCode(c):(c-=65536,f=String.fromCharCode((c>>10)+55296,(c&1023)+56320)),{type:"textord",mode:n.mode,text:f}}});var uS=(e,t)=>{var n=Nn(e.body,t.withColor(e.color),!1);return le.makeFragment(n)},cS=(e,t)=>{var n=Nr(e.body,t.withColor(e.color)),r=new Ce.MathNode("mstyle",n);return r.setAttribute("mathcolor",e.color),r};Pe({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:n}=e,r=st(t[0],"color-token").color,a=t[1];return{type:"color",mode:n.mode,color:r,body:mn(a)}},htmlBuilder:uS,mathmlBuilder:cS});Pe({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:n,breakOnTokenText:r}=e,a=st(t[0],"color-token").color;n.gullet.macros.set("\\current@color",a);var s=n.parseExpression(!0,r);return{type:"color",mode:n.mode,color:a,body:s}},htmlBuilder:uS,mathmlBuilder:cS});Pe({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,n){var{parser:r}=e,a=r.gullet.future().text==="["?r.parseSizeGroup(!0):null,s=!r.settings.displayMode||!r.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:r.mode,newLine:s,size:a&&st(a,"size").value}},htmlBuilder(e,t){var n=le.makeSpan(["mspace"],[],t);return e.newLine&&(n.classes.push("newline"),e.size&&(n.style.marginTop=Le(Xt(e.size,t)))),n},mathmlBuilder(e,t){var n=new Ce.MathNode("mspace");return e.newLine&&(n.setAttribute("linebreak","newline"),e.size&&n.setAttribute("height",Le(Xt(e.size,t)))),n}});var rb={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},dS=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new ke("Expected a control sequence",e);return t},YG=e=>{var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},fS=(e,t,n,r)=>{var a=e.gullet.macros.get(n.text);a==null&&(n.noexpand=!0,a={tokens:[n],numArgs:0,unexpandable:!e.gullet.isExpandable(n.text)}),e.gullet.macros.set(t,a,r)};Pe({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t,funcName:n}=e;t.consumeSpaces();var r=t.fetch();if(rb[r.text])return(n==="\\global"||n==="\\\\globallong")&&(r.text=rb[r.text]),st(t.parseFunction(),"internal");throw new ke("Invalid token after macro prefix",r)}});Pe({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=t.gullet.popToken(),a=r.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(a))throw new ke("Expected a control sequence",r);for(var s=0,o,u=[[]];t.gullet.future().text!=="{";)if(r=t.gullet.popToken(),r.text==="#"){if(t.gullet.future().text==="{"){o=t.gullet.future(),u[s].push("{");break}if(r=t.gullet.popToken(),!/^[1-9]$/.test(r.text))throw new ke('Invalid argument number "'+r.text
vendor: 10,571 bytes, line 552
552+'"');if(parseInt(r.text)!==s+1)throw new ke('Argument number "'+r.text+'" out of order');s++,u.push([])}else{if(r.text==="EOF")throw new ke("Expected a macro definition");u[s].push(r.text)}var{tokens:c}=t.gullet.consumeArg();return o&&c.unshift(o),(n==="\\edef"||n==="\\xdef")&&(c=t.gullet.expandTokens(c),c.reverse()),t.gullet.macros.set(a,{tokens:c,numArgs:s,delimiters:u},n===rb[n]),{type:"internal",mode:t.mode}}});Pe({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=dS(t.gullet.popToken());t.gullet.consumeSpaces();var a=YG(t);return fS(t,r,a,n==="\\\\globallet"),{type:"internal",mode:t.mode}}});Pe({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=dS(t.gullet.popToken()),a=t.gullet.popToken(),s=t.gullet.popToken();return fS(t,r,s,n==="\\\\globalfuture"),t.gullet.pushToken(s),t.gullet.pushToken(a),{type:"internal",mode:t.mode}}});var Oc=function(t,n,r){var a=jt.math[t]&&jt.math[t].replace,s=O4(a||t,n,r);if(!s)throw new Error("Unsupported symbol "+t+" and font size "+n+".");return s},z4=function(t,n,r,a){var s=r.havingBaseStyle(n),o=le.makeSpan(a.concat(s.sizingClasses(r)),[t],r),u=s.sizeMultiplier/r.sizeMultiplier;return o.height*=u,o.depth*=u,o.maxFontSize=s.sizeMultiplier,o},hS=function(t,n,r){var a=n.havingBaseStyle(r),s=(1-n.sizeMultiplier/a.sizeMultiplier)*n.fontMetrics().axisHeight;t.classes.push("delimcenter"),t.style.top=Le(s),t.height-=s,t.depth+=s},QG=function(t,n,r,a,s,o){var u=le.makeSymbol(t,"Main-Regular",s,a),c=z4(u,n,a,o);return r&&hS(c,a,n),c},WG=function(t,n,r,a){return le.makeSymbol(t,"Size"+n+"-Regular",r,a)},mS=function(t,n,r,a,s,o){var u=WG(t,n,s,a),c=z4(le.makeSpan(["delimsizing","size"+n],[u],a),Ye.TEXT,a,o);return r&&hS(c,a,Ye.TEXT),c},Mg=function(t,n,r){var a;n==="Size1-Regular"?a="delim-size1":a="delim-size4";var s=le.makeSpan(["delimsizinginner",a],[le.makeSpan([],[le.makeSymbol(t,n,r)])]);return{type:"elem",elem:s}},Pg=function(t,n,r){var a=ei["Size4-Regular"][t.charCodeAt(0)]?ei["Size4-Regular"][t.charCodeAt(0)][4]:ei["Size1-Regular"][t.charCodeAt(0)][4],s=new Us("inner",tG(t,Math.round(1e3*n))),o=new $i([s],{width:Le(a),height:Le(n),style:"width:"+Le(a),viewBox:"0 0 "+1e3*a+" "+Math.round(1e3*n),preserveAspectRatio:"xMinYMin"}),u=le.makeSvgSpan([],[o],r);return u.height=n,u.style.height=Le(n),u.style.width=Le(a),{type:"elem",elem:u}},ab=.008,wf={type:"kern",size:-1*ab},XG=["|","\\lvert","\\rvert","\\vert"],KG=["\\|","\\lVert","\\rVert","\\Vert"],pS=function(t,n,r,a,s,o){var u,c,f,p,m="",b=0;u=f=p=t,c=null;var y="Size1-Regular";t==="\\uparrow"?f=p="⏐":t==="\\Uparrow"?f=p="‖":t==="\\downarrow"?u=f="⏐":t==="\\Downarrow"?u=f="‖":t==="\\updownarrow"?(u="\\uparrow",f="⏐",p="\\downarrow"):t==="\\Updownarrow"?(u="\\Uparrow",f="‖",p="\\Downarrow"):XG.includes(t)?(f="∣",m="vert",b=333):KG.includes(t)?(f="∥",m="doublevert",b=556):t==="["||t==="\\lbrack"?(u="⎡",f="⎢",p="⎣",y="Size4-Regular",m="lbrack",b=667):t==="]"||t==="\\rbrack"?(u="⎤",f="⎥",p="⎦",y="Size4-Regular",m="rbrack",b=667):t==="\\lfloor"||t==="⌊"?(f=u="⎢",p="⎣",y="Size4-Regular",m="lfloor",b=667):t==="\\lceil"||t==="⌈"?(u="⎡",f=p="⎢",y="Size4-Regular",m="lceil",b=667):t==="\\rfloor"||t==="⌋"?(f=u="⎥",p="⎦",y="Size4-Regular",m="rfloor",b=667):t==="\\rceil"||t==="⌉"?(u="⎤",f=p="⎥",y="Size4-Regular",m="rceil",b=667):t==="("||t==="\\lparen"?(u="⎛",f="⎜",p="⎝",y="Size4-Regular",m="lparen",b=875):t===")"||t==="\\rparen"?(u="⎞",f="⎟",p="⎠",y="Size4-Regular",m="rparen",b=875):t==="\\{"||t==="\\lbrace"?(u="⎧",c="⎨",p="⎩",f="⎪",y="Size4-Regular"):t==="\\}"||t==="\\rbrace"?(u="⎫",c="⎬",p="⎭",f="⎪",y="Size4-Regular"):t==="\\lgroup"||t==="⟮"?(u="⎧",p="⎩",f="⎪",y="Size4-Regular"):t==="\\rgroup"||t==="⟯"?(u="⎫",p="⎭",f="⎪",y="Size4-Regular"):t==="\\lmoustache"||t==="⎰"?(u="⎧",p="⎭",f="⎪",y="Size4-Regular"):(t==="\\rmoustache"||t==="⎱")&&(u="⎫",p="⎩",f="⎪",y="Size4-Regular");var _=Oc(u,y,s),w=_.height+_.depth,k=Oc(f,y,s),A=k.height+k.depth,R=Oc(p,y,s),D=R.height+R.depth,F=0,H=1;if(c!==null){var P=Oc(c,y,s);F=P.height+P.depth,H=2}var z=w+D+F,K=Math.max(0,Math.ceil((n-z)/(H*A))),ee=z+K*H*A,Y=a.fontMetrics().axisHeight;r&&(Y*=a.sizeMultiplier);var se=ee/2-Y,re=[];if(m.length>0){var pe=ee-w-D,ue=Math.round(ee*1e3),be=nG(m,Math.round(pe*1e3)),G=new Us(m,be),ae=(b/1e3).toFixed(3)+"em",te=(ue/1e3).toFixed(3)+"em",Oe=new $i([G],{width:ae,height:te,viewBox:"0 0 "+b+" "+ue}),U=le.makeSvgSpan([],[Oe],a);U.height=ue/1e3,U.style.width=ae,U.style.height=te,re.push({type:"elem",elem:U})}else{if(re.push(Mg(p,y,s)),re.push(wf),c===null){var $=ee-w-D+2*ab;re.push(Pg(f,$,a))}else{var ce=(ee-w-D-F)/2+2*ab;re.push(Pg(f,ce,a)),re.push(wf),re.push(Mg(c,y,s)),re.push(wf),re.push(Pg(f,ce,a))}re.push(wf),re.push(Mg(u,y,s))}var I=a.havingBaseStyle(Ye.TEXT),he=le.makeVList({positionType:"bottom",positionData:se,children:re},I);return z4(le.makeSpan(["delimsizing","mult"],[he],I),Ye.TEXT,a,o)},Bg=80,zg=.08,Hg=function(t,n,r,a,s){var o=eG(t,a,r),u=new Us(t,o),c=new $i([u],{width:"400em",height:Le(n),viewBox:"0 0 400000 "+r,preserveAspectRatio:"xMinYMin slice"});return le.makeSvgSpan(["hide-tail"],[c],s)},ZG=function(t,n){var r=n.havingBaseSizing(),a=vS("\\surd",t*r.sizeMultiplier,yS,r),s=r.sizeMultiplier,o=Math.max(0,n.minRuleThickness-n.fontMetrics().sqrtRuleThickness),u,c=0,f=0,p=0,m;return a.type==="small"?(p=1e3+1e3*o+Bg,t<1?s=1:t<1.4&&(s=.7),c=(1+o+zg)/s,f=(1+o)/s,u=Hg("sqrtMain",c,p,o,n),u.style.minWidth="0.853em",m=.833/s):a.type==="large"?(p=(1e3+Bg)*$c[a.size],f=($c[a.size]+o)/s,c=($c[a.size]+o+zg)/s,u=Hg("sqrtSize"+a.size,c,p,o,n),u.style.minWidth="1.02em",m=1/s):(c=t+o+zg,f=t+o,p=Math.floor(1e3*t+o)+Bg,u=Hg("sqrtTall",c,p,o,n),u.style.minWidth="0.742em",m=1.056),u.height=f,u.style.height=Le(c),{span:u,advanceWidth:m,ruleWidth:(n.fontMetrics().sqrtRuleThickness+o)*s}},gS=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],JG=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],bS=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],$c=[0,1.2,1.8,2.4,3],eY=function(t,n,r,a,s){if(t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle"),gS.includes(t)||bS.includes(t))return mS(t,n,!1,r,a,s);if(JG.includes(t))return pS(t,$c[n],!1,r,a,s);throw new ke("Illegal delimiter: '"+t+"'")},tY=[{type:"small",style:Ye.SCRIPTSCRIPT},{type:"small",style:Ye.SCRIPT},{type:"small",style:Ye.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],nY=[{type:"small",style:Ye.SCRIPTSCRIPT},{type:"small",style:Ye.SCRIPT},{type:"small",style:Ye.TEXT},{type:"stack"}],yS=[{type:"small",style:Ye.SCRIPTSCRIPT},{type:"small",style:Ye.SCRIPT},{type:"small",style:Ye.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],rY=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.")},vS=function(t,n,r,a){for(var s=Math.min(2,3-a.style.size),o=s;o<r.length&&r[o].type!=="stack";o++){var u=Oc(t,rY(r[o]),"math"),c=u.height+u.depth;if(r[o].type==="small"){var f=a.havingBaseStyle(r[o].style);c*=f.sizeMultiplier}if(c>n)return r[o]}return r[r.length-1]},xS=function(t,n,r,a,s,o){t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle");var u;bS.includes(t)?u=tY:gS.includes(t)?u=yS:u=nY;var c=vS(t,n,u,a);return c.type==="small"?QG(t,c.style,r,a,s,o):c.type==="large"?mS(t,c.size,r,a,s,o):pS(t,n,r,a,s,o)},aY=function(t,n,r,a,s,o){var u=a.fontMetrics().axisHeight*a.sizeMultiplier,c=901,f=5/a.fontMetrics().ptPerEm,p=Math.max(n-u,r+u),m=Math.max(p/500*c,2*p-f);return xS(t,m,!0,a,s,o)},ji={sqrtImage:ZG,sizedDelim:eY,sizeToMaxHeight:$c,customSizedDelim:xS,leftRightDelim:aY},i8={"\\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}},iY=["(","\\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 mm(e,t){var n=fm(e);if(n&&iY.includes(n.text))return n;throw n?new ke("Invalid delimiter '"+n.text+"' after '"+t.funcName+"'",e):new ke("Invalid delimiter type '"+e.type+"'",e)}Pe({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=mm(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:i8[e.funcName].size,mclass:i8[e.funcName].mclass,delim:n.text}},htmlBuilder:(e,t)=>e.delim==="."?le.makeSpan([e.mclass]):ji.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!=="."&&t.push(ma(e.delim,e.mode));var n=new Ce.MathNode("mo",t);e.mclass==="mopen"||e.mclass==="mclose"?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n.setAttribute("stretchy","true");var r=Le(ji.sizeToMaxHeight[e.size]);return n.setAttribute("minsize",r),n.setAttribute("maxsize",r),n}});function s8(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Pe({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=e.parser.gullet.macros.get("\\current@color");
vendor: 12,942 bytes, line 552
552if(n&&typeof n!="string")throw new ke("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:mm(t[0],e).text,color:n}}});Pe({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=mm(t[0],e),r=e.parser;++r.leftrightDepth;var a=r.parseExpression(!1);--r.leftrightDepth,r.expect("\\right",!1);var s=st(r.parseFunction(),"leftright-right");return{type:"leftright",mode:r.mode,body:a,left:n.text,right:s.delim,rightColor:s.color}},htmlBuilder:(e,t)=>{s8(e);for(var n=Nn(e.body,t,!0,["mopen","mclose"]),r=0,a=0,s=!1,o=0;o<n.length;o++)n[o].isMiddle?s=!0:(r=Math.max(n[o].height,r),a=Math.max(n[o].depth,a));r*=t.sizeMultiplier,a*=t.sizeMultiplier;var u;if(e.left==="."?u=d0(t,["mopen"]):u=ji.leftRightDelim(e.left,r,a,t,e.mode,["mopen"]),n.unshift(u),s)for(var c=1;c<n.length;c++){var f=n[c],p=f.isMiddle;p&&(n[c]=ji.leftRightDelim(p.delim,r,a,p.options,e.mode,[]))}var m;if(e.right===".")m=d0(t,["mclose"]);else{var b=e.rightColor?t.withColor(e.rightColor):t;m=ji.leftRightDelim(e.right,r,a,b,e.mode,["mclose"])}return n.push(m),le.makeSpan(["minner"],n,t)},mathmlBuilder:(e,t)=>{s8(e);var n=Nr(e.body,t);if(e.left!=="."){var r=new Ce.MathNode("mo",[ma(e.left,e.mode)]);r.setAttribute("fence","true"),n.unshift(r)}if(e.right!=="."){var a=new Ce.MathNode("mo",[ma(e.right,e.mode)]);a.setAttribute("fence","true"),e.rightColor&&a.setAttribute("mathcolor",e.rightColor),n.push(a)}return L4(n)}});Pe({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=mm(t[0],e);if(!e.parser.leftrightDepth)throw new ke("\\middle without preceding \\left",n);return{type:"middle",mode:e.parser.mode,delim:n.text}},htmlBuilder:(e,t)=>{var n;if(e.delim===".")n=d0(t,[]);else{n=ji.sizedDelim(e.delim,1,t,e.mode,[]);var r={delim:e.delim,options:t};n.isMiddle=r}return n},mathmlBuilder:(e,t)=>{var n=e.delim==="\\vert"||e.delim==="|"?ma("|","text"):ma(e.delim,e.mode),r=new Ce.MathNode("mo",[n]);return r.setAttribute("fence","true"),r.setAttribute("lspace","0.05em"),r.setAttribute("rspace","0.05em"),r}});var H4=(e,t)=>{var n=le.wrapFragment(yt(e.body,t),t),r=e.label.slice(1),a=t.sizeMultiplier,s,o=0,u=_t.isCharacterBox(e.body);if(r==="sout")s=le.makeSpan(["stretchy","sout"]),s.height=t.fontMetrics().defaultRuleThickness/a,o=-.5*t.fontMetrics().xHeight;else if(r==="phase"){var c=Xt({number:.6,unit:"pt"},t),f=Xt({number:.35,unit:"ex"},t),p=t.havingBaseSizing();a=a/p.sizeMultiplier;var m=n.height+n.depth+c+f;n.style.paddingLeft=Le(m/2+c);var b=Math.floor(1e3*m*a),y=ZV(b),_=new $i([new Us("phase",y)],{width:"400em",height:Le(b/1e3),viewBox:"0 0 400000 "+b,preserveAspectRatio:"xMinYMin slice"});s=le.makeSvgSpan(["hide-tail"],[_],t),s.style.height=Le(m),o=n.depth+c+f}else{/cancel/.test(r)?u||n.classes.push("cancel-pad"):r==="angl"?n.classes.push("anglpad"):n.classes.push("boxpad");var w=0,k=0,A=0;/box/.test(r)?(A=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),w=t.fontMetrics().fboxsep+(r==="colorbox"?0:A),k=w):r==="angl"?(A=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),w=4*A,k=Math.max(0,.25-n.depth)):(w=u?.2:0,k=w),s=Gi.encloseSpan(n,r,w,k,t),/fbox|boxed|fcolorbox/.test(r)?(s.style.borderStyle="solid",s.style.borderWidth=Le(A)):r==="angl"&&A!==.049&&(s.style.borderTopWidth=Le(A),s.style.borderRightWidth=Le(A)),o=n.depth+k,e.backgroundColor&&(s.style.backgroundColor=e.backgroundColor,e.borderColor&&(s.style.borderColor=e.borderColor))}var R;if(e.backgroundColor)R=le.makeVList({positionType:"individualShift",children:[{type:"elem",elem:s,shift:o},{type:"elem",elem:n,shift:0}]},t);else{var D=/cancel|phase/.test(r)?["svg-align"]:[];R=le.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:0},{type:"elem",elem:s,shift:o,wrapperClasses:D}]},t)}return/cancel/.test(r)&&(R.height=n.height,R.depth=n.depth),/cancel/.test(r)&&!u?le.makeSpan(["mord","cancel-lap"],[R],t):le.makeSpan(["mord"],[R],t)},j4=(e,t)=>{var n=0,r=new Ce.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Pt(e.body,t)]);switch(e.label){case"\\cancel":r.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":r.setAttribute("notation","downdiagonalstrike");break;case"\\phase":r.setAttribute("notation","phasorangle");break;case"\\sout":r.setAttribute("notation","horizontalstrike");break;case"\\fbox":r.setAttribute("notation","box");break;case"\\angl":r.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(n=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,r.setAttribute("width","+"+2*n+"pt"),r.setAttribute("height","+"+2*n+"pt"),r.setAttribute("lspace",n+"pt"),r.setAttribute("voffset",n+"pt"),e.label==="\\fcolorbox"){var a=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);r.setAttribute("style","border: "+a+"em solid "+String(e.borderColor))}break;case"\\xcancel":r.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&r.setAttribute("mathbackground",e.backgroundColor),r};Pe({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,n){var{parser:r,funcName:a}=e,s=st(t[0],"color-token").color,o=t[1];return{type:"enclose",mode:r.mode,label:a,backgroundColor:s,body:o}},htmlBuilder:H4,mathmlBuilder:j4});Pe({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,n){var{parser:r,funcName:a}=e,s=st(t[0],"color-token").color,o=st(t[1],"color-token").color,u=t[2];return{type:"enclose",mode:r.mode,label:a,backgroundColor:o,borderColor:s,body:u}},htmlBuilder:H4,mathmlBuilder:j4});Pe({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]}}});Pe({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e,a=t[0];return{type:"enclose",mode:n.mode,label:r,body:a}},htmlBuilder:H4,mathmlBuilder:j4});Pe({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 ES={};function ui(e){for(var{type:t,names:n,props:r,handler:a,htmlBuilder:s,mathmlBuilder:o}=e,u={type:t,numArgs:r.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:a},c=0;c<n.length;++c)ES[n[c]]=u;s&&(ch[t]=s),o&&(dh[t]=o)}var _S={};function M(e,t){_S[e]=t}function o8(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 pm=e=>{var t=e.parser.settings;if(!t.displayMode)throw new ke("{"+e.envName+"} can be used only in display mode.")};function F4(e){if(e.indexOf("ed")===-1)return e.indexOf("*")===-1}function Qs(e,t,n){var{hskipBeforeAndAfter:r,addJot:a,cols:s,arraystretch:o,colSeparationType:u,autoTag:c,singleRow:f,emptySingleRow:p,maxNumCols:m,leqno:b}=t;if(e.gullet.beginGroup(),f||e.gullet.macros.set("\\cr","\\\\\\relax"),!o){var y=e.gullet.expandMacroAsText("\\arraystretch");if(y==null)o=1;else if(o=parseFloat(y),!o||o<0)throw new ke("Invalid \\arraystretch: "+y)}e.gullet.beginGroup();var _=[],w=[_],k=[],A=[],R=c!=null?[]:void 0;function D(){c&&e.gullet.macros.set("\\@eqnsw","1",!0)}function F(){R&&(e.gullet.macros.get("\\df@tag")?(R.push(e.subparse([new Gr("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):R.push(!!c&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(D(),A.push(o8(e));;){var H=e.parseExpression(!1,f?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),H={type:"ordgroup",mode:e.mode,body:H},n&&(H={type:"styling",mode:e.mode,style:n,body:[H]}),_.push(H);var P=e.fetch().text;if(P==="&"){if(m&&_.length===m){if(f||u)throw new ke("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(P==="\\end"){F(),_.length===1&&H.type==="styling"&&H.body[0].body.length===0&&(w.length>1||!p)&&w.pop(),A.length<w.length+1&&A.push([]);break}else if(P==="\\\\"){e.consume();var z=void 0;e.gullet.future().text!==" "&&(z=e.parseSizeGroup(!0)),k.push(z?z.value:null),F(),A.push(o8(e)),_=[],w.push(_),D()}else throw new ke("Expected & or \\\\ or \\cr or \\end",e.nextToken)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:a,arraystretch:o,body:w,cols:s,rowGaps:k,hskipBeforeAndAfter:r,hLinesBeforeRow:A,colSeparationType:u,tags:R,leqno:b}}function U4(e){return e.slice(0,1)==="d"?"display":"text"}var ci=function(t,n){var r,a,s=t.body.length,o=t.hLinesBeforeRow,u=0,c=new Array(s),f=[],p=Math.max(n.fontMetrics().arrayRuleWidth,n.minRuleThickness),m=1/n.fontMetrics().ptPerEm,b=5*m;if(t.colSeparationType&&t.colSeparationType==="small"){var y=n.havingStyle(Ye.SCRIPT).sizeMultiplier;b=.2778*(y/n.sizeMultiplier)}var _=t.colSeparationType==="CD"?Xt({number:3,unit:"ex"},n):12*m,w=3*m,k=t.arraystretch*_,A=.7*k,R=.3*k,D=0;function F(Wr){for(var on=0;on<Wr.length;++on)on>0&&(D+=.25),f.push({pos:D,isDashed:Wr[on]})}for(F(o[0]),r=0;r<t.body.length;++r){var H=t.body[r],P=A,z=R;u<H.length&&(u=H.length);var K=new Array(H.length);for(a=0;a<H.length;++a){var ee=yt(H[a],n);z<ee.depth&&(z=ee.depth),P<ee.height&&(P=ee.height),K[a]=ee}var Y=t.rowGaps[r],se=0;Y&&(se=Xt(Y,n),se>0&&(se+=R,z<se&&(z=se),se=0)),t.addJot&&(z+=w),K.height=P,K.depth=z,D+=P,K.pos=D,D+=z+se,c[r]=K,F(o[r+1])}var re=D/2+n.fontMetrics().axisHeight,pe=t.cols||[],ue=[],be,G,ae=[];if(t.tags&&t.tags.some(Wr=>Wr))for(r=0;r<s;++r){var te=c[r],Oe=te.pos-re,U=t.tags[r],$=void 0;U===!0?$=le.makeSpan(["eqn-num"],[],n):U===!1?$=le.makeSpan([],[],n):$=le.makeSpan([],Nn(U,n,!0),n),$.depth=te.depth,$.height=te.height,ae.push({type:"elem",elem:$,shift:Oe})}for(a=0,G=0;a<u||G<pe.length;++a,++G){for(var ce=pe[G]||{},I=!0;ce.type==="separator";){if(I||(be=le.makeSpan(["arraycolsep"],[]),be.style.width=Le(n.fontMetrics().doubleRuleSep),ue.push(be)),ce.separator==="|"||ce.separator===":"){var he=ce.separator==="|"?"solid":"dashed",_e=le.makeSpan(["vertical-separator"],[],n);_e.style.height=Le(D),_e.style.borderRightWidth=Le(p),_e.style.borderRightStyle=he,_e.style.margin="0 "+Le(-p/2);var De=D-re;De&&(_e.style.verticalAlign=Le(-De)),ue.push(_e)}else throw new ke("Invalid separator type: "+ce.separator);G++,ce=pe[G]||{},I=!1}if(!(a>=u)){var Me=void 0;(a>0||t.hskipBeforeAndAfter)&&(Me=_t.deflt(ce.pregap,b),Me!==0&&(be=le.makeSpan(["arraycolsep"],[]),be.style.width=Le(Me),ue.push(be)));var Ue=[];for(r=0;r<s;++r){var Ke=c[r],Ct=Ke[a];if(Ct){var Zt=Ke.pos-re;Ct.depth=Ke.depth,Ct.height=Ke.height,Ue.push({type:"elem",elem:Ct,shift:Zt})}}Ue=le.makeVList({positionType:"individualShift",children:Ue},n),Ue=le.makeSpan(["col-align-"+(ce.align||"c")],[Ue]),ue.push(Ue),(a<u-1||t.hskipBeforeAndAfter)&&(Me=_t.deflt(ce.postgap,b),Me!==0&&(be=le.makeSpan(["arraycolsep"],[]),be.style.width=Le(Me),ue.push(be)))}}if(c=le.makeSpan(["mtable"],ue),f.length>0){for(var sn=le.makeLineSpan("hline",n,p),Rr=le.makeLineSpan("hdashline",n,p),Hn=[{type:"elem",elem:c,shift:0}];f.length>0;){var ba=f.pop(),Qr=ba.pos-re;ba.isDashed?Hn.push({type:"elem",elem:Rr,shift:Qr}):Hn.push({type:"elem",elem:sn,shift:Qr})}c=le.makeVList({positionType:"individualShift",children:Hn},n)}if(ae.length===0)return le.makeSpan(["mord"],[c],n);var fr=le.makeVList({positionType:"individualShift",children:ae},n);return fr=le.makeSpan(["tag"],[fr],n),le.makeFragment([c,fr])},sY={c:"center ",l:"left ",r:"right "},di=function(t,n){for(var r=[],a=new Ce.MathNode("mtd",[],["mtr-glue"]),s=new Ce.MathNode("mtd",[],["mml-eqn-num"]),o=0;o<t.body.length;o++){for(var u=t.body[o],c=[],f=0;f<u.length;f++)c.push(new Ce.MathNode("mtd",[Pt(u[f],n)]));t.tags&&t.tags[o]&&(c.unshift(a),c.push(a),t.leqno?c.unshift(s):c.push(s)),r.push(new Ce.MathNode("mtr",c))}var p=new Ce.MathNode("mtable",r),m=t.arraystretch===.5?.1:.16+t.arraystretch-1+(t.addJot?.09:0);p.setAttribute("rowspacing",Le(m));var b="",y="";if(t.cols&&t.cols.length>0){var _=t.cols,w="",k=!1,A=0,R=_.length;_[0].type==="separator"&&(b+="top ",A=1),_[_.length-1].type==="separator"&&(b+="bottom ",R-=1);for(var D=A;D<R;D++)_[D].type==="align"?(y+=sY[_[D].align],k&&(w+="none "),k=!0):_[D].type==="separator"&&k&&(w+=_[D].separator==="|"?"solid ":"dashed ",k=!1);p.setAttribute("columnalign",y.trim()),/[sd]/.test(w)&&p.setAttribute("columnlines",w.trim())}if(t.colSeparationType==="align"){for(var F=t.cols||[],H="",P=1;P<F.length;P++)H+=P%2?"0em ":"1em ";p.setAttribute("columnspacing",H.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");
vendor: 5,715 bytes, line 552
552var z="",K=t.hLinesBeforeRow;b+=K[0].length>0?"left ":"",b+=K[K.length-1].length>0?"right ":"";for(var ee=1;ee<K.length-1;ee++)z+=K[ee].length===0?"none ":K[ee][0]?"dashed ":"solid ";return/[sd]/.test(z)&&p.setAttribute("rowlines",z.trim()),b!==""&&(p=new Ce.MathNode("menclose",[p]),p.setAttribute("notation",b.trim())),t.arraystretch&&t.arraystretch<1&&(p=new Ce.MathNode("mstyle",[p]),p.setAttribute("scriptlevel","1")),p},TS=function(t,n){t.envName.indexOf("ed")===-1&&pm(t);var r=[],a=t.envName.indexOf("at")>-1?"alignat":"align",s=t.envName==="split",o=Qs(t.parser,{cols:r,addJot:!0,autoTag:s?void 0:F4(t.envName),emptySingleRow:!0,colSeparationType:a,maxNumCols:s?2:void 0,leqno:t.parser.settings.leqno},"display"),u,c=0,f={type:"ordgroup",mode:t.mode,body:[]};if(n[0]&&n[0].type==="ordgroup"){for(var p="",m=0;m<n[0].body.length;m++){var b=st(n[0].body[m],"textord");p+=b.text}u=Number(p),c=u*2}var y=!c;o.body.forEach(function(A){for(var R=1;R<A.length;R+=2){var D=st(A[R],"styling"),F=st(D.body[0],"ordgroup");F.body.unshift(f)}if(y)c<A.length&&(c=A.length);else{var H=A.length/2;if(u<H)throw new ke("Too many math in a row: "+("expected "+u+", but got "+H),A[0])}});for(var _=0;_<c;++_){var w="r",k=0;_%2===1?w="l":_>0&&y&&(k=1),r[_]={type:"align",align:w,pregap:k,postgap:0}}return o.colSeparationType=y?"align":"alignat",o};ui({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var n=fm(t[0]),r=n?[t[0]]:st(t[0],"ordgroup").body,a=r.map(function(o){var u=P4(o),c=u.text;if("lcr".indexOf(c)!==-1)return{type:"align",align:c};if(c==="|")return{type:"separator",separator:"|"};if(c===":")return{type:"separator",separator:":"};throw new ke("Unknown column alignment: "+c,o)}),s={cols:a,hskipBeforeAndAfter:!0,maxNumCols:a.length};return Qs(e.parser,s,U4(e.envName))},htmlBuilder:ci,mathmlBuilder:di});ui({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],n="c",r={hskipBeforeAndAfter:!1,cols:[{type:"align",align:n}]};if(e.envName.charAt(e.envName.length-1)==="*"){var a=e.parser;if(a.consumeSpaces(),a.fetch().text==="["){if(a.consume(),a.consumeSpaces(),n=a.fetch().text,"lcr".indexOf(n)===-1)throw new ke("Expected l or c or r",a.nextToken);a.consume(),a.consumeSpaces(),a.expect("]"),a.consume(),r.cols=[{type:"align",align:n}]}}var s=Qs(e.parser,r,U4(e.envName)),o=Math.max(0,...s.body.map(u=>u.length));return s.cols=new Array(o).fill({type:"align",align:n}),t?{type:"leftright",mode:e.mode,body:[s],left:t[0],right:t[1],rightColor:void 0}:s},htmlBuilder:ci,mathmlBuilder:di});ui({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t={arraystretch:.5},n=Qs(e.parser,t,"script");return n.colSeparationType="small",n},htmlBuilder:ci,mathmlBuilder:di});ui({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var n=fm(t[0]),r=n?[t[0]]:st(t[0],"ordgroup").body,a=r.map(function(o){var u=P4(o),c=u.text;if("lc".indexOf(c)!==-1)return{type:"align",align:c};throw new ke("Unknown column alignment: "+c,o)});if(a.length>1)throw new ke("{subarray} can contain only one column");var s={cols:a,hskipBeforeAndAfter:!1,arraystretch:.5};if(s=Qs(e.parser,s,"script"),s.body.length>0&&s.body[0].length>1)throw new ke("{subarray} can contain only one column");return s},htmlBuilder:ci,mathmlBuilder:di});ui({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=Qs(e.parser,t,U4(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:ci,mathmlBuilder:di});ui({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:TS,htmlBuilder:ci,mathmlBuilder:di});ui({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){["gather","gather*"].includes(e.envName)&&pm(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:F4(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return Qs(e.parser,t,"display")},htmlBuilder:ci,mathmlBuilder:di});ui({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:TS,htmlBuilder:ci,mathmlBuilder:di});ui({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){pm(e);var t={autoTag:F4(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return Qs(e.parser,t,"display")},htmlBuilder:ci,mathmlBuilder:di});ui({type:"array",names:["CD"],props:{numArgs:0},handler(e){return pm(e),GG(e.parser)},htmlBuilder:ci,mathmlBuilder:di});M("\\nonumber","\\gdef\\@eqnsw{0}");M("\\notag","\\nonumber");Pe({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new ke(e.funcName+" valid only within array environment")}});var l8=ES;Pe({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){var{parser:n,funcName:r}=e,a=t[0];if(a.type!=="ordgroup")throw new ke("Invalid environment name",a);for(var s="",o=0;o<a.body.length;++o)s+=st(a.body[o],"textord").text;if(r==="\\begin"){if(!l8.hasOwnProperty(s))throw new ke("No such environment: "+s,a);var u=l8[s],{args:c,optArgs:f}=n.parseArguments("\\begin{"+s+"}",u),p={mode:n.mode,envName:s,parser:n},m=u.handler(p,c,f);n.expect("\\end",!1);var b=n.nextToken,y=st(n.parseFunction(),"environment");
vendor: 15,076 bytes, line 552
552if(y.name!==s)throw new ke("Mismatch: \\begin{"+s+"} matched by \\end{"+y.name+"}",b);return m}return{type:"environment",mode:n.mode,name:s,nameGroup:a}}});var wS=(e,t)=>{var n=e.font,r=t.withFont(n);return yt(e.body,r)},SS=(e,t)=>{var n=e.font,r=t.withFont(n);return Pt(e.body,r)},u8={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Pe({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{var{parser:n,funcName:r}=e,a=fh(t[0]),s=r;return s in u8&&(s=u8[s]),{type:"font",mode:n.mode,font:s.slice(1),body:a}},htmlBuilder:wS,mathmlBuilder:SS});Pe({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:n}=e,r=t[0],a=_t.isCharacterBox(r);return{type:"mclass",mode:n.mode,mclass:hm(r),body:[{type:"font",mode:n.mode,font:"boldsymbol",body:r}],isCharacterBox:a}}});Pe({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:n,funcName:r,breakOnTokenText:a}=e,{mode:s}=n,o=n.parseExpression(!0,a),u="math"+r.slice(1);return{type:"font",mode:s,font:u,body:{type:"ordgroup",mode:n.mode,body:o}}},htmlBuilder:wS,mathmlBuilder:SS});var AS=(e,t)=>{var n=t;return e==="display"?n=n.id>=Ye.SCRIPT.id?n.text():Ye.DISPLAY:e==="text"&&n.size===Ye.DISPLAY.size?n=Ye.TEXT:e==="script"?n=Ye.SCRIPT:e==="scriptscript"&&(n=Ye.SCRIPTSCRIPT),n},q4=(e,t)=>{var n=AS(e.size,t.style),r=n.fracNum(),a=n.fracDen(),s;s=t.havingStyle(r);var o=yt(e.numer,s,t);if(e.continued){var u=8.5/t.fontMetrics().ptPerEm,c=3.5/t.fontMetrics().ptPerEm;o.height=o.height<u?u:o.height,o.depth=o.depth<c?c:o.depth}s=t.havingStyle(a);var f=yt(e.denom,s,t),p,m,b;e.hasBarLine?(e.barSize?(m=Xt(e.barSize,t),p=le.makeLineSpan("frac-line",t,m)):p=le.makeLineSpan("frac-line",t),m=p.height,b=p.height):(p=null,m=0,b=t.fontMetrics().defaultRuleThickness);var y,_,w;n.size===Ye.DISPLAY.size||e.size==="display"?(y=t.fontMetrics().num1,m>0?_=3*b:_=7*b,w=t.fontMetrics().denom1):(m>0?(y=t.fontMetrics().num2,_=b):(y=t.fontMetrics().num3,_=3*b),w=t.fontMetrics().denom2);var k;if(p){var R=t.fontMetrics().axisHeight;y-o.depth-(R+.5*m)<_&&(y+=_-(y-o.depth-(R+.5*m))),R-.5*m-(f.height-w)<_&&(w+=_-(R-.5*m-(f.height-w)));var D=-(R-.5*m);k=le.makeVList({positionType:"individualShift",children:[{type:"elem",elem:f,shift:w},{type:"elem",elem:p,shift:D},{type:"elem",elem:o,shift:-y}]},t)}else{var A=y-o.depth-(f.height-w);A<_&&(y+=.5*(_-A),w+=.5*(_-A)),k=le.makeVList({positionType:"individualShift",children:[{type:"elem",elem:f,shift:w},{type:"elem",elem:o,shift:-y}]},t)}s=t.havingStyle(n),k.height*=s.sizeMultiplier/t.sizeMultiplier,k.depth*=s.sizeMultiplier/t.sizeMultiplier;var F;n.size===Ye.DISPLAY.size?F=t.fontMetrics().delim1:n.size===Ye.SCRIPTSCRIPT.size?F=t.havingStyle(Ye.SCRIPT).fontMetrics().delim2:F=t.fontMetrics().delim2;var H,P;return e.leftDelim==null?H=d0(t,["mopen"]):H=ji.customSizedDelim(e.leftDelim,F,!0,t.havingStyle(n),e.mode,["mopen"]),e.continued?P=le.makeSpan([]):e.rightDelim==null?P=d0(t,["mclose"]):P=ji.customSizedDelim(e.rightDelim,F,!0,t.havingStyle(n),e.mode,["mclose"]),le.makeSpan(["mord"].concat(s.sizingClasses(t)),[H,le.makeSpan(["mfrac"],[k]),P],t)},$4=(e,t)=>{var n=new Ce.MathNode("mfrac",[Pt(e.numer,t),Pt(e.denom,t)]);if(!e.hasBarLine)n.setAttribute("linethickness","0px");else if(e.barSize){var r=Xt(e.barSize,t);n.setAttribute("linethickness",Le(r))}var a=AS(e.size,t.style);if(a.size!==t.style.size){n=new Ce.MathNode("mstyle",[n]);var s=a.size===Ye.DISPLAY.size?"true":"false";n.setAttribute("displaystyle",s),n.setAttribute("scriptlevel","0")}if(e.leftDelim!=null||e.rightDelim!=null){var o=[];if(e.leftDelim!=null){var u=new Ce.MathNode("mo",[new Ce.TextNode(e.leftDelim.replace("\\",""))]);u.setAttribute("fence","true"),o.push(u)}if(o.push(n),e.rightDelim!=null){var c=new Ce.MathNode("mo",[new Ce.TextNode(e.rightDelim.replace("\\",""))]);c.setAttribute("fence","true"),o.push(c)}return L4(o)}return n};Pe({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var{parser:n,funcName:r}=e,a=t[0],s=t[1],o,u=null,c=null,f="auto";switch(r){case"\\dfrac":case"\\frac":case"\\tfrac":o=!0;break;case"\\\\atopfrac":o=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":o=!1,u="(",c=")";break;case"\\\\bracefrac":o=!1,u="\\{",c="\\}";break;case"\\\\brackfrac":o=!1,u="[",c="]";break;default:throw new Error("Unrecognized genfrac command")}switch(r){case"\\dfrac":case"\\dbinom":f="display";break;case"\\tfrac":case"\\tbinom":f="text";break}return{type:"genfrac",mode:n.mode,continued:!1,numer:a,denom:s,hasBarLine:o,leftDelim:u,rightDelim:c,size:f,barSize:null}},htmlBuilder:q4,mathmlBuilder:$4});Pe({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{var{parser:n,funcName:r}=e,a=t[0],s=t[1];return{type:"genfrac",mode:n.mode,continued:!0,numer:a,denom:s,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}});Pe({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var{parser:t,funcName:n,token:r}=e,a;switch(n){case"\\over":a="\\frac";break;case"\\choose":a="\\binom";break;case"\\atop":a="\\\\atopfrac";break;case"\\brace":a="\\\\bracefrac";break;case"\\brack":a="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:t.mode,replaceWith:a,token:r}}});var c8=["display","text","script","scriptscript"],d8=function(t){var n=null;return t.length>0&&(n=t,n=n==="."?null:n),n};Pe({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var{parser:n}=e,r=t[4],a=t[5],s=fh(t[0]),o=s.type==="atom"&&s.family==="open"?d8(s.text):null,u=fh(t[1]),c=u.type==="atom"&&u.family==="close"?d8(u.text):null,f=st(t[2],"size"),p,m=null;f.isBlank?p=!0:(m=f.value,p=m.number>0);var b="auto",y=t[3];if(y.type==="ordgroup"){if(y.body.length>0){var _=st(y.body[0],"textord");b=c8[Number(_.text)]}}else y=st(y,"textord"),b=c8[Number(y.text)];return{type:"genfrac",mode:n.mode,numer:r,denom:a,continued:!1,hasBarLine:p,barSize:m,leftDelim:o,rightDelim:c,size:b}},htmlBuilder:q4,mathmlBuilder:$4});Pe({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:n,funcName:r,token:a}=e;return{type:"infix",mode:n.mode,replaceWith:"\\\\abovefrac",size:st(t[0],"size").value,token:a}}});Pe({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:n,funcName:r}=e,a=t[0],s=BV(st(t[1],"infix").size),o=t[2],u=s.number>0;return{type:"genfrac",mode:n.mode,numer:a,denom:o,continued:!1,hasBarLine:u,barSize:s,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:q4,mathmlBuilder:$4});var CS=(e,t)=>{var n=t.style,r,a;e.type==="supsub"?(r=e.sup?yt(e.sup,t.havingStyle(n.sup()),t):yt(e.sub,t.havingStyle(n.sub()),t),a=st(e.base,"horizBrace")):a=st(e,"horizBrace");var s=yt(a.base,t.havingBaseStyle(Ye.DISPLAY)),o=Gi.svgSpan(a,t),u;if(a.isOver?(u=le.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:o}]},t),u.children[0].children[0].children[1].classes.push("svg-align")):(u=le.makeVList({positionType:"bottom",positionData:s.depth+.1+o.height,children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:s}]},t),u.children[0].children[0].children[0].classes.push("svg-align")),r){var c=le.makeSpan(["mord",a.isOver?"mover":"munder"],[u],t);a.isOver?u=le.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:c},{type:"kern",size:.2},{type:"elem",elem:r}]},t):u=le.makeVList({positionType:"bottom",positionData:c.depth+.2+r.height+r.depth,children:[{type:"elem",elem:r},{type:"kern",size:.2},{type:"elem",elem:c}]},t)}return le.makeSpan(["mord",a.isOver?"mover":"munder"],[u],t)},oY=(e,t)=>{var n=Gi.mathMLnode(e.label);return new Ce.MathNode(e.isOver?"mover":"munder",[Pt(e.base,t),n])};Pe({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e;return{type:"horizBrace",mode:n.mode,label:r,isOver:/^\\over/.test(r),base:t[0]}},htmlBuilder:CS,mathmlBuilder:oY});Pe({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[1],a=st(t[0],"url").url;return n.settings.isTrusted({command:"\\href",url:a})?{type:"href",mode:n.mode,href:a,body:mn(r)}:n.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var n=Nn(e.body,t,!1);return le.makeAnchor(e.href,[],n,t)},mathmlBuilder:(e,t)=>{var n=qs(e.body,t);return n instanceof qr||(n=new qr("mrow",[n])),n.setAttribute("href",e.href),n}});Pe({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=st(t[0],"url").url;if(!n.settings.isTrusted({command:"\\url",url:r}))return n.formatUnsupportedCmd("\\url");for(var a=[],s=0;s<r.length;s++){var o=r[s];o==="~"&&(o="\\textasciitilde"),a.push({type:"textord",mode:"text",text:o})}var u={type:"text",mode:n.mode,font:"\\texttt",body:a};return{type:"href",mode:n.mode,href:r,body:mn(u)}}});Pe({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:mn(t[0])}},htmlBuilder(e,t){var n=Nn(e.body,t,!1);return le.makeFragment(n)},mathmlBuilder(e,t){return new Ce.MathNode("mrow",Nr(e.body,t))}});Pe({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{var{parser:n,funcName:r,token:a}=e,s=st(t[0],"raw").string,o=t[1];n.settings.strict&&n.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var u,c={};switch(r){case"\\htmlClass":c.class=s,u={command:"\\htmlClass",class:s};break;case"\\htmlId":c.id=s,u={command:"\\htmlId",id:s};break;case"\\htmlStyle":c.style=s,u={command:"\\htmlStyle",style:s};break;case"\\htmlData":{for(var f=s.split(","),p=0;p<f.length;p++){var m=f[p].split("=");if(m.length!==2)throw new ke("Error parsing key-value for \\htmlData");c["data-"+m[0].trim()]=m[1].trim()}u={command:"\\htmlData",attributes:c};break}default:throw new Error("Unrecognized html command")}return n.settings.isTrusted(u)?{type:"html",mode:n.mode,attributes:c,body:mn(o)}:n.formatUnsupportedCmd(r)},htmlBuilder:(e,t)=>{var n=Nn(e.body,t,!1),r=["enclosing"];e.attributes.class&&r.push(...e.attributes.class.trim().split(/\s+/));var a=le.makeSpan(r,n,t);for(var s in e.attributes)s!=="class"&&e.attributes.hasOwnProperty(s)&&a.setAttribute(s,e.attributes[s]);return a},mathmlBuilder:(e,t)=>qs(e.body,t)});Pe({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e;return{type:"htmlmathml",mode:n.mode,html:mn(t[0]),mathml:mn(t[1])}},htmlBuilder:(e,t)=>{var n=Nn(e.html,t,!1);return le.makeFragment(n)},mathmlBuilder:(e,t)=>qs(e.mathml,t)});var jg=function(t){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(t))return{number:+t,unit:"bp"};var n=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t);if(!n)throw new ke("Invalid size: '"+t+"' in \\includegraphics");var r={number:+(n[1]+n[2]),unit:n[3]};if(!G9(r))throw new ke("Invalid unit: '"+r.unit+"' in \\includegraphics.");return r};Pe({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,n)=>{var{parser:r}=e,a={number:0,unit:"em"},s={number:.9,unit:"em"},o={number:0,unit:"em"},u="";if(n[0])for(var c=st(n[0],"raw").string,f=c.split(","),p=0;p<f.length;p++){var m=f[p].split("=");if(m.length===2){var b=m[1].trim();switch(m[0].trim()){case"alt":u=b;break;case"width":a=jg(b);break;case"height":s=jg(b);break;case"totalheight":o=jg(b);break;default:throw new ke("Invalid key: '"+m[0]+"' in \\includegraphics.")}}}var y=st(t[0],"url").url;return u===""&&(u=y,u=u.replace(/^.*[\\/]/,""),u=u.substring(0,u.lastIndexOf("."))),r.settings.isTrusted({command:"\\includegraphics",url:y})?{type:"includegraphics",mode:r.mode,alt:u,width:a,height:s,totalheight:o,src:y}:r.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{var n=Xt(e.height,t),r=0;e.totalheight.number>0&&(r=Xt(e.totalheight,t)-n);var a=0;e.width.number>0&&(a=Xt(e.width,t));var s={height:Le(n+r)};a>0&&(s.width=Le(a)),r>0&&(s.verticalAlign=Le(-r));var o=new oG(e.src,e.alt,s);return o.height=n,o.depth=r,o},mathmlBuilder:(e,t)=>{var n=new Ce.MathNode("mglyph",[]);n.setAttribute("alt",e.alt);var r=Xt(e.height,t),a=0;if(e.totalheight.number>0&&(a=Xt(e.totalheight,t)-r,n.setAttribute("valign",Le(-a))),n.setAttribute("height",Le(r+a)),e.width.number>0){var s=Xt(e.width,t);n.setAttribute("width",Le(s))}return n.setAttribute("src",e.src),n}});Pe({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){var{parser:n,funcName:r}=e,a=st(t[0],"size");if(n.settings.strict){var s=r[1]==="m",o=a.value.unit==="mu";s?(o||n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" supports only mu units, "+("not "+a.value.unit+" units")),n.mode!=="math"&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" works only in math mode")):o&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" doesn't support mu units")}return{type:"kern",mode:n.mode,dimension:a.value}},htmlBuilder(e,t){return le.makeGlue(e.dimension,t)},mathmlBuilder(e,t){var n=Xt(e.dimension,t);return new Ce.SpaceNode(n)}});Pe({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n,funcName:r}=e,a=t[0];return{type:"lap",mode:n.mode,alignment:r.slice(5),body:a}},htmlBuilder:(e,t)=>{var n;e.alignment==="clap"?(n=le.makeSpan([],[yt(e.body,t)]),n=le.makeSpan(["inner"],[n],t)):n=le.makeSpan(["inner"],[yt(e.body,t)]);var r=le.makeSpan(["fix"],[]),a=le.makeSpan([e.alignment],[n,r],t),s=le.makeSpan(["strut"]);return s.style.height=Le(a.height+a.depth),a.depth&&(s.style.verticalAlign=Le(-a.depth)),a.children.unshift(s),a=le.makeSpan(["thinbox"],[a],t),le.makeSpan(["mord","vbox"],[a],t)},mathmlBuilder:(e,t)=>{var n=new Ce.MathNode("mpadded",[Pt(e.body,t)]);if(e.alignment!=="rlap"){var r=e.alignment==="llap"?"-1":"-0.5";n.setAttribute("lspace",r+"width")}return n.setAttribute("width","0px"),n}});Pe({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:n,parser:r}=e,a=r.mode;r.switchMode("math");var s=n==="\\("?"\\)":"$",o=r.parseExpression(!1,s);return r.expect(s),r.switchMode(a),{type:"styling",mode:r.mode,style:"text",body:o}}});Pe({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new ke("Mismatched "+e.funcName)}});var f8=(e,t)=>
vendor: 7,501 bytes, line 552
552{switch(t.style.size){case Ye.DISPLAY.size:return e.display;case Ye.TEXT.size:return e.text;case Ye.SCRIPT.size:return e.script;case Ye.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};Pe({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:n}=e;return{type:"mathchoice",mode:n.mode,display:mn(t[0]),text:mn(t[1]),script:mn(t[2]),scriptscript:mn(t[3])}},htmlBuilder:(e,t)=>{var n=f8(e,t),r=Nn(n,t,!1);return le.makeFragment(r)},mathmlBuilder:(e,t)=>{var n=f8(e,t);return qs(n,t)}});var kS=(e,t,n,r,a,s,o)=>{e=le.makeSpan([],[e]);var u=n&&_t.isCharacterBox(n),c,f;if(t){var p=yt(t,r.havingStyle(a.sup()),r);f={elem:p,kern:Math.max(r.fontMetrics().bigOpSpacing1,r.fontMetrics().bigOpSpacing3-p.depth)}}if(n){var m=yt(n,r.havingStyle(a.sub()),r);c={elem:m,kern:Math.max(r.fontMetrics().bigOpSpacing2,r.fontMetrics().bigOpSpacing4-m.height)}}var b;if(f&&c){var y=r.fontMetrics().bigOpSpacing5+c.elem.height+c.elem.depth+c.kern+e.depth+o;b=le.makeVList({positionType:"bottom",positionData:y,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:c.elem,marginLeft:Le(-s)},{type:"kern",size:c.kern},{type:"elem",elem:e},{type:"kern",size:f.kern},{type:"elem",elem:f.elem,marginLeft:Le(s)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else if(c){var _=e.height-o;b=le.makeVList({positionType:"top",positionData:_,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:c.elem,marginLeft:Le(-s)},{type:"kern",size:c.kern},{type:"elem",elem:e}]},r)}else if(f){var w=e.depth+o;b=le.makeVList({positionType:"bottom",positionData:w,children:[{type:"elem",elem:e},{type:"kern",size:f.kern},{type:"elem",elem:f.elem,marginLeft:Le(s)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else return e;var k=[b];if(c&&s!==0&&!u){var A=le.makeSpan(["mspace"],[],r);A.style.marginRight=Le(s),k.unshift(A)}return le.makeSpan(["mop","op-limits"],k,r)},NS=["\\smallint"],vu=(e,t)=>{var n,r,a=!1,s;e.type==="supsub"?(n=e.sup,r=e.sub,s=st(e.base,"op"),a=!0):s=st(e,"op");var o=t.style,u=!1;o.size===Ye.DISPLAY.size&&s.symbol&&!NS.includes(s.name)&&(u=!0);var c;if(s.symbol){var f=u?"Size2-Regular":"Size1-Regular",p="";if((s.name==="\\oiint"||s.name==="\\oiiint")&&(p=s.name.slice(1),s.name=p==="oiint"?"\\iint":"\\iiint"),c=le.makeSymbol(s.name,f,"math",t,["mop","op-symbol",u?"large-op":"small-op"]),p.length>0){var m=c.italic,b=le.staticSvg(p+"Size"+(u?"2":"1"),t);c=le.makeVList({positionType:"individualShift",children:[{type:"elem",elem:c,shift:0},{type:"elem",elem:b,shift:u?.08:0}]},t),s.name="\\"+p,c.classes.unshift("mop"),c.italic=m}}else if(s.body){var y=Nn(s.body,t,!0);y.length===1&&y[0]instanceof ha?(c=y[0],c.classes[0]="mop"):c=le.makeSpan(["mop"],y,t)}else{for(var _=[],w=1;w<s.name.length;w++)_.push(le.mathsym(s.name[w],s.mode,t));c=le.makeSpan(["mop"],_,t)}var k=0,A=0;return(c instanceof ha||s.name==="\\oiint"||s.name==="\\oiiint")&&!s.suppressBaseShift&&(k=(c.height-c.depth)/2-t.fontMetrics().axisHeight,A=c.italic),a?kS(c,n,r,t,o,A,k):(k&&(c.style.position="relative",c.style.top=Le(k)),c)},I0=(e,t)=>{var n;if(e.symbol)n=new qr("mo",[ma(e.name,e.mode)]),NS.includes(e.name)&&n.setAttribute("largeop","false");else if(e.body)n=new qr("mo",Nr(e.body,t));else{n=new qr("mi",[new ti(e.name.slice(1))]);var r=new qr("mo",[ma("⁡","text")]);e.parentIsSupSub?n=new qr("mrow",[n,r]):n=rS([n,r])}return n},lY={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};Pe({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:r}=e,a=r;return a.length===1&&(a=lY[a]),{type:"op",mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:a}},htmlBuilder:vu,mathmlBuilder:I0});Pe({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"op",mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:mn(r)}},htmlBuilder:vu,mathmlBuilder:I0});var uY={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};Pe({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:vu,mathmlBuilder:I0});Pe({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:vu,mathmlBuilder:I0});Pe({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(e){var{parser:t,funcName:n}=e,r=n;return r.length===1&&(r=uY[r]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:vu,mathmlBuilder:I0});var RS=(e,t)=>{var n,r,a=!1,s;e.type==="supsub"?(n=e.sup,r=e.sub,s=st(e.base,"operatorname"),a=!0):s=st(e,"operatorname");var o;if(s.body.length>0){for(var u=s.body.map(m=>{var b=m.text;return typeof b=="string"?{type:"textord",mode:m.mode,text:b}:m}),c=Nn(u,t.withFont("mathrm"),!0),f=0;f<c.length;f++){var p=c[f];p instanceof ha&&(p.text=p.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}o=le.makeSpan(["mop"],c,t)}else o=le.makeSpan(["mop"],[],t);return a?kS(o,n,r,t,t.style,0,0):o},cY=(e,t)=>{for(var n=Nr(e.body,t.withFont("mathrm")),r=!0,a=0;a<n.length;a++){var s=n[a];if(!(s instanceof Ce.SpaceNode))if(s instanceof Ce.MathNode)switch(s.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var o=s.children[0];s.children.length===1&&o instanceof Ce.TextNode?o.text=o.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):r=!1;break}default:r=!1}else r=!1}if(r){var u=n.map(p=>p.toText()).join("");n=[new Ce.TextNode(u)]}var c=new Ce.MathNode("mi",n);c.setAttribute("mathvariant","normal");var f=new Ce.MathNode("mo",[ma("⁡","text")]);return e.parentIsSupSub?new Ce.MathNode("mrow",[c,f]):Ce.newDocumentFragment([c,f])};Pe({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{var{parser:n,funcName:r}=e,a=t[0];return{type:"operatorname",mode:n.mode,body:mn(a),alwaysHandleSupSub:r==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:RS,mathmlBuilder:cY});M("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");Uo({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?le.makeFragment(Nn(e.body,t,!1)):le.makeSpan(["mord"],Nn(e.body,t,!0),t)},mathmlBuilder(e,t){return qs(e.body,t,!0)}});Pe({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){var{parser:n}=e,r=t[0];return{type:"overline",mode:n.mode,body:r}},htmlBuilder(e,t){var n=yt(e.body,t.havingCrampedStyle()),r=le.makeLineSpan("overline-line",t),a=t.fontMetrics().defaultRuleThickness,s=le.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n},{type:"kern",size:3*a}
vendor: 10,385 bytes, line 552
552,{type:"elem",elem:r},{type:"kern",size:a}]},t);return le.makeSpan(["mord","overline"],[s],t)},mathmlBuilder(e,t){var n=new Ce.MathNode("mo",[new Ce.TextNode("‾")]);n.setAttribute("stretchy","true");var r=new Ce.MathNode("mover",[Pt(e.body,t),n]);return r.setAttribute("accent","true"),r}});Pe({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"phantom",mode:n.mode,body:mn(r)}},htmlBuilder:(e,t)=>{var n=Nn(e.body,t.withPhantom(),!1);return le.makeFragment(n)},mathmlBuilder:(e,t)=>{var n=Nr(e.body,t);return new Ce.MathNode("mphantom",n)}});Pe({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"hphantom",mode:n.mode,body:r}},htmlBuilder:(e,t)=>{var n=le.makeSpan([],[yt(e.body,t.withPhantom())]);if(n.height=0,n.depth=0,n.children)for(var r=0;r<n.children.length;r++)n.children[r].height=0,n.children[r].depth=0;return n=le.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},t),le.makeSpan(["mord"],[n],t)},mathmlBuilder:(e,t)=>{var n=Nr(mn(e.body),t),r=new Ce.MathNode("mphantom",n),a=new Ce.MathNode("mpadded",[r]);return a.setAttribute("height","0px"),a.setAttribute("depth","0px"),a}});Pe({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:"vphantom",mode:n.mode,body:r}},htmlBuilder:(e,t)=>{var n=le.makeSpan(["inner"],[yt(e.body,t.withPhantom())]),r=le.makeSpan(["fix"],[]);return le.makeSpan(["mord","rlap"],[n,r],t)},mathmlBuilder:(e,t)=>{var n=Nr(mn(e.body),t),r=new Ce.MathNode("mphantom",n),a=new Ce.MathNode("mpadded",[r]);return a.setAttribute("width","0px"),a}});Pe({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:n}=e,r=st(t[0],"size").value,a=t[1];return{type:"raisebox",mode:n.mode,dy:r,body:a}},htmlBuilder(e,t){var n=yt(e.body,t),r=Xt(e.dy,t);return le.makeVList({positionType:"shift",positionData:-r,children:[{type:"elem",elem:n}]},t)},mathmlBuilder(e,t){var n=new Ce.MathNode("mpadded",[Pt(e.body,t)]),r=e.dy.number+e.dy.unit;return n.setAttribute("voffset",r),n}});Pe({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}});Pe({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(e,t,n){var{parser:r}=e,a=n[0],s=st(t[0],"size"),o=st(t[1],"size");return{type:"rule",mode:r.mode,shift:a&&st(a,"size").value,width:s.value,height:o.value}},htmlBuilder(e,t){var n=le.makeSpan(["mord","rule"],[],t),r=Xt(e.width,t),a=Xt(e.height,t),s=e.shift?Xt(e.shift,t):0;return n.style.borderRightWidth=Le(r),n.style.borderTopWidth=Le(a),n.style.bottom=Le(s),n.width=r,n.height=a+s,n.depth=-s,n.maxFontSize=a*1.125*t.sizeMultiplier,n},mathmlBuilder(e,t){var n=Xt(e.width,t),r=Xt(e.height,t),a=e.shift?Xt(e.shift,t):0,s=t.color&&t.getColor()||"black",o=new Ce.MathNode("mspace");o.setAttribute("mathbackground",s),o.setAttribute("width",Le(n)),o.setAttribute("height",Le(r));var u=new Ce.MathNode("mpadded",[o]);return a>=0?u.setAttribute("height",Le(a)):(u.setAttribute("height",Le(a)),u.setAttribute("depth",Le(-a))),u.setAttribute("voffset",Le(a)),u}});function OS(e,t,n){for(var r=Nn(e,t,!1),a=t.sizeMultiplier/n.sizeMultiplier,s=0;s<r.length;s++){var o=r[s].classes.indexOf("sizing");o<0?Array.prototype.push.apply(r[s].classes,t.sizingClasses(n)):r[s].classes[o+1]==="reset-size"+t.size&&(r[s].classes[o+1]="reset-size"+n.size),r[s].height*=a,r[s].depth*=a}return le.makeFragment(r)}var h8=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],dY=(e,t)=>{var n=t.havingSize(e.size);return OS(e.body,n,t)};Pe({type:"sizing",names:h8,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:n,funcName:r,parser:a}=e,s=a.parseExpression(!1,n);return{type:"sizing",mode:a.mode,size:h8.indexOf(r)+1,body:s}},htmlBuilder:dY,mathmlBuilder:(e,t)=>{var n=t.havingSize(e.size),r=Nr(e.body,n),a=new Ce.MathNode("mstyle",r);return a.setAttribute("mathsize",Le(n.sizeMultiplier)),a}});Pe({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,n)=>{var{parser:r}=e,a=!1,s=!1,o=n[0]&&st(n[0],"ordgroup");if(o)for(var u="",c=0;c<o.body.length;++c){var f=o.body[c];if(u=f.text,u==="t")a=!0;else if(u==="b")s=!0;else{a=!1,s=!1;break}}else a=!0,s=!0;var p=t[0];return{type:"smash",mode:r.mode,body:p,smashHeight:a,smashDepth:s}},htmlBuilder:(e,t)=>{var n=le.makeSpan([],[yt(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return n;if(e.smashHeight&&(n.height=0,n.children))for(var r=0;r<n.children.length;r++)n.children[r].height=0;if(e.smashDepth&&(n.depth=0,n.children))for(var a=0;a<n.children.length;a++)n.children[a].depth=0;var s=le.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},t);return le.makeSpan(["mord"],[s],t)},mathmlBuilder:(e,t)=>{var n=new Ce.MathNode("mpadded",[Pt(e.body,t)]);return e.smashHeight&&n.setAttribute("height","0px"),e.smashDepth&&n.setAttribute("depth","0px"),n}});Pe({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){var{parser:r}=e,a=n[0],s=t[0];return{type:"sqrt",mode:r.mode,body:s,index:a}},htmlBuilder(e,t){var n=yt(e.body,t.havingCrampedStyle());n.height===0&&(n.height=t.fontMetrics().xHeight),n=le.wrapFragment(n,t);var r=t.fontMetrics(),a=r.defaultRuleThickness,s=a;t.style.id<Ye.TEXT.id&&(s=t.fontMetrics().xHeight);var o=a+s/4,u=n.height+n.depth+o+a,{span:c,ruleWidth:f,advanceWidth:p}=ji.sqrtImage(u,t),m=c.height-f;m>n.height+n.depth+o&&(o=(o+m-n.height-n.depth)/2);var b=c.height-n.height-o-f;n.style.paddingLeft=Le(p);var y=le.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+b)},{type:"elem",elem:c},{type:"kern",size:f}]},t);if(e.index){var _=t.havingStyle(Ye.SCRIPTSCRIPT),w=yt(e.index,_,t),k=.6*(y.height-y.depth),A=le.makeVList({positionType:"shift",positionData:-k,children:[{type:"elem",elem:w}]},t),R=le.makeSpan(["root"],[A]);return le.makeSpan(["mord","sqrt"],[R,y],t)}else return le.makeSpan(["mord","sqrt"],[y],t)},mathmlBuilder(e,t){var{body:n,index:r}=e;return r?new Ce.MathNode("mroot",[Pt(n,t),Pt(r,t)]):new Ce.MathNode("msqrt",[Pt(n,t)])}});var m8={display:Ye.DISPLAY,text:Ye.TEXT,script:Ye.SCRIPT,scriptscript:Ye.SCRIPTSCRIPT};Pe({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:n,funcName:r,parser:a}=e,s=a.parseExpression(!0,n),o=r.slice(1,r.length-5);return{type:"styling",mode:a.mode,style:o,body:s}},htmlBuilder(e,t){var n=m8[e.style],r=t.havingStyle(n).withFont("");return OS(e.body,r,t)},mathmlBuilder(e,t){var n=m8[e.style],r=t.havingStyle(n),a=Nr(e.body,r),s=new Ce.MathNode("mstyle",a),o={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},u=o[e.style];return s.setAttribute("scriptlevel",u[0]),s.setAttribute("displaystyle",u[1]),s}});var fY=function(t,n){var r=t.base;if(r)if(r.type==="op"){var a=r.limits&&(n.style.size===Ye.DISPLAY.size||r.alwaysHandleSupSub);return a?vu:null}else if(r.type==="operatorname"){var s=r.alwaysHandleSupSub&&(n.style.size===Ye.DISPLAY.size||r.limits);return s?RS:null}else{if(r.type==="accent")return _t.isCharacterBox(r.base)?B4:null;if(r.type==="horizBrace"){var o=!t.sub;return o===r.isOver?CS:null}else return null}else return null};Uo({type:"supsub",htmlBuilder(e,t){var n=fY(e,t);if(n)return n(e,t);var{base:r,sup:a,sub:s}=e,o=yt(r,t),u,c,f=t.fontMetrics(),p=0,m=0,b=r&&_t.isCharacterBox(r);if(a){var y=t.havingStyle(t.style.sup());u=yt(a,y,t),b||(p=o.height-y.fontMetrics().supDrop*y.sizeMultiplier/t.sizeMultiplier)}if(s){var _=t.havingStyle(t.style.sub());c=yt(s,_,t),b||(m=o.depth+_.fontMetrics().subDrop*_.sizeMultiplier/t.sizeMultiplier)}var w;t.style===Ye.DISPLAY?w=f.sup1:t.style.cramped?w=f.sup3:w=f.sup2;var k=t.sizeMultiplier,A=Le(.5/f.ptPerEm/k),R=null;if(c){var D=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(o instanceof ha||D)&&(R=Le(-o.italic))}var F;if(u&&c){p=Math.max(p,w,u.depth+.25*f.xHeight),m=Math.max(m,f.sub2);var H=f.defaultRuleThickness,P=4*H;if(p-u.depth-(c.height-m)<P){m=P-(p-u.depth)+c.height;var z=.8*f.xHeight-(p-u.depth);z>0&&(p+=z,m-=z)}var K=[{type:"elem",elem:c,shift:m,marginRight:A,marginLeft:R},{type:"elem",elem:u,shift:-p,marginRight:A}];F=le.makeVList({positionType:"individualShift",children:K},t)}else if(c){m=Math.max(m,f.sub1,c.height-.8*f.xHeight);var ee=[{type:"elem",elem:c,marginLeft:R,marginRight:A}];F=le.makeVList({positionType:"shift",positionData:m,children:ee},t)}else if(u)p=Math.max(p,w,u.depth+.25*f.xHeight),F=le.makeVList({positionType:"shift",positionData:-p,children:[{type:"elem",elem:u,marginRight:A}]},t);else throw new Error("supsub must have either sup or sub.");var Y=tb(o,"right")||"mord";return le.makeSpan([Y],[o,le.makeSpan(["msupsub"],[F])],t)},mathmlBuilder(e,t){var n=!1,r,a;e.base&&e.base.type==="horizBrace"&&(a=!!e.sup,a===e.base.isOver&&(n=!0,r=e.base.isOver)),e.base&&(e.base.type==="op"||e.base.type==="operatorname")&&(e.base.parentIsSupSub=!0);var s=[Pt(e.base,t)];e.sub&&s.push(Pt(e.sub,t)),e.sup&&s.push(Pt(e.sup,t));var o;if(n)o=r?"mover":"munder";else if(e.sub)if(e.sup){var f=e.base;f&&f.type==="op"&&f.limits&&t.style===Ye.DISPLAY||f&&f.type==="operatorname"&&f.alwaysHandleSupSub&&(t.style===Ye.DISPLAY||f.limits)?o="munderover":o="msubsup"}else{var c=e.base;c&&c.type==="op"&&c.limits&&(t.style===Ye.DISPLAY||c.alwaysHandleSupSub)||c&&c.type==="operatorname"&&c.alwaysHandleSupSub&&(c.limits||t.style===Ye.DISPLAY)?o="munder":o="msub"}else{var u=e.base;u&&u.type==="op"&&u.limits&&(t.style===Ye.DISPLAY||u.alwaysHandleSupSub)||u&&u.type==="operatorname"&&u.alwaysHandleSupSub&&(u.limits||t.style===Ye.DISPLAY)?o="mover":o="msup"}return new Ce.MathNode(o,s)}});Uo({type:"atom",htmlBuilder(e,t){return le.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var n=new Ce.MathNode("mo",[ma(e.text,e.mode)]);if(e.family==="bin"){var r=M4(e,t);r==="bold-italic"&&n.setAttribute("mathvariant",r)}
vendor: 4,644 bytes, lines 552-554
552else e.family==="punct"?n.setAttribute("separator","true"):(e.family==="open"||e.family==="close")&&n.setAttribute("stretchy","false");return n}});var DS={mi:"italic",mn:"normal",mtext:"normal"};Uo({type:"mathord",htmlBuilder(e,t){return le.makeOrd(e,t,"mathord")},mathmlBuilder(e,t){var n=new Ce.MathNode("mi",[ma(e.text,e.mode,t)]),r=M4(e,t)||"italic";return r!==DS[n.type]&&n.setAttribute("mathvariant",r),n}});Uo({type:"textord",htmlBuilder(e,t){return le.makeOrd(e,t,"textord")},mathmlBuilder(e,t){var n=ma(e.text,e.mode,t),r=M4(e,t)||"normal",a;return e.mode==="text"?a=new Ce.MathNode("mtext",[n]):/[0-9]/.test(e.text)?a=new Ce.MathNode("mn",[n]):e.text==="\\prime"?a=new Ce.MathNode("mo",[n]):a=new Ce.MathNode("mi",[n]),r!==DS[a.type]&&a.setAttribute("mathvariant",r),a}});var Fg={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Ug={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Uo({type:"spacing",htmlBuilder(e,t){if(Ug.hasOwnProperty(e.text)){var n=Ug[e.text].className||"";if(e.mode==="text"){var r=le.makeOrd(e,t,"textord");return r.classes.push(n),r}else return le.makeSpan(["mspace",n],[le.mathsym(e.text,e.mode,t)],t)}else{if(Fg.hasOwnProperty(e.text))return le.makeSpan(["mspace",Fg[e.text]],[],t);throw new ke('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var n;if(Ug.hasOwnProperty(e.text))n=new Ce.MathNode("mtext",[new Ce.TextNode(" ")]);else{if(Fg.hasOwnProperty(e.text))return new Ce.MathNode("mspace");throw new ke('Unknown type of space "'+e.text+'"')}return n}});var p8=()=>{var e=new Ce.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};Uo({type:"tag",mathmlBuilder(e,t){var n=new Ce.MathNode("mtable",[new Ce.MathNode("mtr",[p8(),new Ce.MathNode("mtd",[qs(e.body,t)]),p8(),new Ce.MathNode("mtd",[qs(e.tag,t)])])]);return n.setAttribute("width","100%"),n}});var g8={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},b8={"\\textbf":"textbf","\\textmd":"textmd"},hY={"\\textit":"textit","\\textup":"textup"},y8=(e,t)=>{var n=e.font;if(n){if(g8[n])return t.withTextFontFamily(g8[n]);if(b8[n])return t.withTextFontWeight(b8[n]);if(n==="\\emph")return t.fontShape==="textit"?t.withTextFontShape("textup"):t.withTextFontShape("textit")}else return t;return t.withTextFontShape(hY[n])};Pe({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:n,funcName:r}=e,a=t[0];return{type:"text",mode:n.mode,body:mn(a),font:r}},htmlBuilder(e,t){var n=y8(e,t),r=Nn(e.body,n,!0);return le.makeSpan(["mord","text"],r,n)},mathmlBuilder(e,t){var n=y8(e,t);return qs(e.body,n)}});Pe({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=yt(e.body,t),r=le.makeLineSpan("underline-line",t),a=t.fontMetrics().defaultRuleThickness,s=le.makeVList({positionType:"top",positionData:n.height,children:[{type:"kern",size:a},{type:"elem",elem:r},{type:"kern",size:3*a},{type:"elem",elem:n}]},t);return le.makeSpan(["mord","underline"],[s],t)},mathmlBuilder(e,t){var n=new Ce.MathNode("mo",[new Ce.TextNode("‾")]);n.setAttribute("stretchy","true");var r=new Ce.MathNode("munder",[Pt(e.body,t),n]);return r.setAttribute("accentunder","true"),r}});Pe({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=yt(e.body,t),r=t.fontMetrics().axisHeight,a=.5*(n.height-r-(n.depth+r));return le.makeVList({positionType:"shift",positionData:a,children:[{type:"elem",elem:n}]},t)},mathmlBuilder(e,t){return new Ce.MathNode("mpadded",[Pt(e.body,t)],["vcenter"])}});Pe({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,n){throw new ke("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var n=v8(e),r=[],a=t.havingStyle(t.style.text()),s=0;s<n.length;s++){var o=n[s];o==="~"&&(o="\\textasciitilde"),r.push(le.makeSymbol(o,"Typewriter-Regular",e.mode,a,["mord","texttt"]))}return le.makeSpan(["mord","text"].concat(a.sizingClasses(t)),le.tryCombineChars(r),a)},mathmlBuilder(e,t){var n=new Ce.TextNode(v8(e)),r=new Ce.MathNode("mtext",[n]);return r.setAttribute("mathvariant","monospace"),r}});var v8=e=>e.body.replace(/ /g,e.star?"␣":" "),Is=tS,IS=`[ \r
553	]`,mY="\\\\[a-zA-Z@]+",pY="\\\\[^\uD800-\uDFFF]",gY="("+mY+")"+IS+"*",bY=`\\\\(
554|[ \r	]+
555?)[ \r	]*`,ib="[̀-ͯ]",yY=new RegExp(ib+"+$"),vY="("+IS+"+)|"+(bY+"|")+"([!-\\[\\]-‧‪-퟿豈-￿]"+(ib+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(ib+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+gY)+("|"+pY+")");class x8{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(vY,"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 Gr("EOF",new Cr(this,n,n));var r=this.tokenRegex.exec(t);if(r===null||r.index!==n)throw new ke("Unexpected character: '"+t[n]+"'",new Gr(t[n],new Cr(this,n,n+1)));var a=r[6]||r[3]||(r[2]?"\\ ":" ");if(this.catcodes[a]===14){var s=t.indexOf(`
556`,this.tokenRegex.lastIndex);return s===-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=s+1,this.lex()}return new Gr(a,new Cr(this,n,this.tokenRegex.lastIndex))}}class xY{constructor(t,n){t===void 0&&(t={}),n===void 0&&(n={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=n,this.builtins=t,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new ke("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var t=this.undefStack.pop();for(var n in t)t.hasOwnProperty(n)&&(t[n]==null?delete this.current[n]:this.current[n]=t[n])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(t){return this.current.hasOwnProperty(t)||this.builtins.hasOwnProperty(t)}get(t){return this.current.hasOwnProperty(t)?this.current[t]:this.builtins[t]}set(t,n,r){if(r===void 0&&(r=!1),r){for(var a=0;a<this.undefStack.length;a++)delete this.undefStack[a][t];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][t]=n)}else{var s=this.undefStack[this.undefStack.length-1];s&&!s.hasOwnProperty(t)&&(s[t]=this.current[t])}n==null?delete this.current[t]:this.current[t]=n}}var EY=_S;M("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}});M("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}});M("\\@firstoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}});M("\\@secondoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}});M("\\@ifnextchar",function(e){var t=e.consumeArgs(3);e.consumeSpaces();var n=e.future();return t[0].length===1&&t[0][0].text===n.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}});M("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");M("\\TextOrMath",function(e){var t=e.consumeArgs(2);return e.mode==="text"?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var E8={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};M("\\char",function(e){var t=e.popToken(),n,r="";if(t.text==="'")n=8,t=e.popToken();else if(t.text==='"')n=16,t=e.popToken();else if(t.text==="`")if(t=e.popToken(),t.text[0]==="\\")r=t.text.charCodeAt(1);else{if(t.text==="EOF")throw new ke("\\char` missing argument");r=t.text.charCodeAt(0)}else n=10;if(n){if(r=E8[t.text],r==null||r>=n)throw new ke("Invalid base-"+n+" digit "+t.text);for(var a;(a=E8[e.future().text])!=null&&a<n;)r*=n,r+=a,e.popToken()}return"\\@char{"+r+"}"});var V4=(e,t,n,r)=>{var a=e.consumeArg().tokens;if(a.length!==1)throw new ke("\\newcommand's first argument must be a macro name");var s=a[0].text,o=e.isDefined(s);if(o&&!t)throw new ke("\\newcommand{"+s+"} attempting to redefine "+(s+"; use \\renewcommand"));if(!o&&!n)throw new ke("\\renewcommand{"+s+"} when command "+s+" does not yet exist; use \\newcommand");var u=0;if(a=e.consumeArg().tokens,a.length===1&&a[0].text==="["){for(var c="",f=e.expandNextToken();f.text!=="]"&&f.text!=="EOF";)c+=f.text,f=e.expandNextToken();if(!c.match(/^\s*[0-9]+\s*$/))throw new ke("Invalid number of arguments: "+c);u=parseInt(c),a=e.consumeArg().tokens}return o&&r||e.macros.set(s,{tokens:a,numArgs:u}),""};M("\\newcommand",e=>V4(e,!1,!0,!1));M("\\renewcommand",e=>V4(e,!0,!1,!1));M("\\providecommand",e=>V4(e,!0,!0,!0));M("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(n=>n.text).join("")),""});M("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(n=>n.text).join("")),""});M("\\show",e=>{var t=e.popToken(),n=t.text;return console.log(t,e.macros.get(n),Is[n],jt.math[n],jt.text[n]),""});M("\\bgroup","{");M("\\egroup","}");
556M("~","\\nobreakspace");M("\\lq","`");M("\\rq","'");M("\\aa","\\r a");M("\\AA","\\r A");M("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}");M("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");M("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}");M("ℬ","\\mathscr{B}");M("ℰ","\\mathscr{E}");M("ℱ","\\mathscr{F}");M("ℋ","\\mathscr{H}");M("ℐ","\\mathscr{I}");M("ℒ","\\mathscr{L}");M("ℳ","\\mathscr{M}");M("ℛ","\\mathscr{R}");M("ℭ","\\mathfrak{C}");M("ℌ","\\mathfrak{H}");M("ℨ","\\mathfrak{Z}");M("\\Bbbk","\\Bbb{k}");M("·","\\cdotp");M("\\llap","\\mathllap{\\textrm{#1}}");M("\\rlap","\\mathrlap{\\textrm{#1}}");M("\\clap","\\mathclap{\\textrm{#1}}");M("\\mathstrut","\\vphantom{(}");M("\\underbar","\\underline{\\text{#1}}");M("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');M("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}");M("\\ne","\\neq");M("≠","\\neq");M("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}");M("∉","\\notin");M("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}");M("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}");M("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}");M("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}");M("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}");M("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}");M("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}");M("⟂","\\perp");M("‼","\\mathclose{!\\mkern-0.8mu!}");M("∌","\\notni");M("⌜","\\ulcorner");M("⌝","\\urcorner");M("⌞","\\llcorner");M("⌟","\\lrcorner");M("©","\\copyright");M("®","\\textregistered");M("️","\\textregistered");
vendor: 4,526 bytes, line 556
556M("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');M("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');M("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');M("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');M("\\vdots","{\\varvdots\\rule{0pt}{15pt}}");M("⋮","\\vdots");M("\\varGamma","\\mathit{\\Gamma}");M("\\varDelta","\\mathit{\\Delta}");M("\\varTheta","\\mathit{\\Theta}");M("\\varLambda","\\mathit{\\Lambda}");M("\\varXi","\\mathit{\\Xi}");M("\\varPi","\\mathit{\\Pi}");M("\\varSigma","\\mathit{\\Sigma}");M("\\varUpsilon","\\mathit{\\Upsilon}");M("\\varPhi","\\mathit{\\Phi}");M("\\varPsi","\\mathit{\\Psi}");M("\\varOmega","\\mathit{\\Omega}");M("\\substack","\\begin{subarray}{c}#1\\end{subarray}");M("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");M("\\boxed","\\fbox{$\\displaystyle{#1}$}");M("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");M("\\implies","\\DOTSB\\;\\Longrightarrow\\;");M("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");M("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}");M("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var _8={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};M("\\dots",function(e){var t="\\dotso",n=e.expandAfterFuture().text;return n in _8?t=_8[n]:(n.slice(0,4)==="\\not"||n in jt.math&&["bin","rel"].includes(jt.math[n].group))&&(t="\\dotsb"),t});var G4={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};M("\\dotso",function(e){var t=e.future().text;return t in G4?"\\ldots\\,":"\\ldots"});M("\\dotsc",function(e){var t=e.future().text;return t in G4&&t!==","?"\\ldots\\,":"\\ldots"});M("\\cdots",function(e){var t=e.future().text;return t in G4?"\\@cdots\\,":"\\@cdots"});M("\\dotsb","\\cdots");M("\\dotsm","\\cdots");M("\\dotsi","\\!\\cdots");M("\\dotsx","\\ldots\\,");M("\\DOTSI","\\relax");M("\\DOTSB","\\relax");M("\\DOTSX","\\relax");M("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");M("\\,","\\tmspace+{3mu}{.1667em}");M("\\thinspace","\\,");M("\\>","\\mskip{4mu}");M("\\:","\\tmspace+{4mu}{.2222em}");M("\\medspace","\\:");M("\\;","\\tmspace+{5mu}{.2777em}");M("\\thickspace","\\;");M("\\!","\\tmspace-{3mu}{.1667em}");M("\\negthinspace","\\!");M("\\negmedspace","\\tmspace-{4mu}{.2222em}");M("\\negthickspace","\\tmspace-{5mu}{.277em}");M("\\enspace","\\kern.5em ");M("\\enskip","\\hskip.5em\\relax");M("\\quad","\\hskip1em\\relax");M("\\qquad","\\hskip2em\\relax");M("\\tag","\\@ifstar\\tag@literal\\tag@paren");M("\\tag@paren","\\tag@literal{({#1})}");M("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new ke("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});M("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");M("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");M("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");M("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");M("\\newline","\\\\\\relax");M("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var LS=Le(ei["Main-Regular"][84][1]-.7*ei["Main-Regular"][65][1]);M("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+LS+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");
556M("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+LS+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");M("\\hspace","\\@ifstar\\@hspacer\\@hspace");M("\\@hspace","\\hskip #1\\relax");M("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");M("\\ordinarycolon",":");M("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");M("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');M("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');M("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');M("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');M("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');M("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');M("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');M("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');M("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');M("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');M("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');M("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');M("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');M("∷","\\dblcolon");M("∹","\\eqcolon");M("≔","\\coloneqq");M("≕","\\eqqcolon");M("⩴","\\Coloneqq");M("\\ratio","\\vcentcolon");M("\\coloncolon","\\dblcolon");M("\\colonequals","\\coloneqq");M("\\coloncolonequals","\\Coloneqq");M("\\equalscolon","\\eqqcolon");M("\\equalscoloncolon","\\Eqqcolon");M("\\colonminus","\\coloneq");M("\\coloncolonminus","\\Coloneq");M("\\minuscolon","\\eqcolon");M("\\minuscoloncolon","\\Eqcolon");M("\\coloncolonapprox","\\Colonapprox");M("\\coloncolonsim","\\Colonsim");M("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");M("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");M("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");M("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");M("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}");M("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");M("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");M("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");M("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");M("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");M("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");M("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");M("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");M("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}");M("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}");M("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}");M("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}");M("\\nleqq","\\html@mathml{\\@nleqq}{≰}");M("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}");M("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}");M("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}");M("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}");M("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}");M("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}");M("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}");M("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}");M("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}");M("\\imath","\\html@mathml{\\@imath}{ı}");M("\\jmath","\\html@mathml{\\@jmath}{ȷ}");M("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}");M("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}");M("⟦","\\llbracket");M("⟧","\\rrbracket");M("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}
556{\\mathopen{\\char`⦃}}");M("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}");M("⦃","\\lBrace");M("⦄","\\rBrace");M("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}");M("⦵","\\minuso");M("\\darr","\\downarrow");M("\\dArr","\\Downarrow");M("\\Darr","\\Downarrow");M("\\lang","\\langle");M("\\rang","\\rangle");M("\\uarr","\\uparrow");M("\\uArr","\\Uparrow");M("\\Uarr","\\Uparrow");M("\\N","\\mathbb{N}");M("\\R","\\mathbb{R}");M("\\Z","\\mathbb{Z}");M("\\alef","\\aleph");M("\\alefsym","\\aleph");M("\\Alpha","\\mathrm{A}");M("\\Beta","\\mathrm{B}");M("\\bull","\\bullet");M("\\Chi","\\mathrm{X}");M("\\clubs","\\clubsuit");M("\\cnums","\\mathbb{C}");M("\\Complex","\\mathbb{C}");M("\\Dagger","\\ddagger");M("\\diamonds","\\diamondsuit");M("\\empty","\\emptyset");M("\\Epsilon","\\mathrm{E}");M("\\Eta","\\mathrm{H}");M("\\exist","\\exists");M("\\harr","\\leftrightarrow");M("\\hArr","\\Leftrightarrow");M("\\Harr","\\Leftrightarrow");M("\\hearts","\\heartsuit");M("\\image","\\Im");M("\\infin","\\infty");M("\\Iota","\\mathrm{I}");M("\\isin","\\in");M("\\Kappa","\\mathrm{K}");M("\\larr","\\leftarrow");M("\\lArr","\\Leftarrow");M("\\Larr","\\Leftarrow");M("\\lrarr","\\leftrightarrow");M("\\lrArr","\\Leftrightarrow");M("\\Lrarr","\\Leftrightarrow");M("\\Mu","\\mathrm{M}");M("\\natnums","\\mathbb{N}");M("\\Nu","\\mathrm{N}");M("\\Omicron","\\mathrm{O}");M("\\plusmn","\\pm");M("\\rarr","\\rightarrow");M("\\rArr","\\Rightarrow");M("\\Rarr","\\Rightarrow");M("\\real","\\Re");M("\\reals","\\mathbb{R}");M("\\Reals","\\mathbb{R}");M("\\Rho","\\mathrm{P}");M("\\sdot","\\cdot");M("\\sect","\\S");M("\\spades","\\spadesuit");M("\\sub","\\subset");M("\\sube","\\subseteq");M("\\supe","\\supseteq");M("\\Tau","\\mathrm{T}");M("\\thetasym","\\vartheta");M("\\weierp","\\wp");M("\\Zeta","\\mathrm{Z}");M("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");M("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");M("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");M("\\bra","\\mathinner{\\langle{#1}|}");M("\\ket","\\mathinner{|{#1}\\rangle}");M("\\braket","\\mathinner{\\langle{#1}\\rangle}");M("\\Bra","\\left\\langle#1\\right|");M("\\Ket","\\left|#1\\right\\rangle");var MS=e=>t=>{var n=t.consumeArg().tokens,r=t.consumeArg().tokens,a=t.consumeArg().tokens,s=t.consumeArg().tokens,o=t.macros.get("|"),u=t.macros.get("\\|");t.macros.beginGroup();var c=m=>b=>{e&&(b.macros.set("|",o),a.length&&b.macros.set("\\|",u));var y=m;if(!m&&a.length){var _=b.future();_.text==="|"&&(b.popToken(),y=!0)}return{tokens:y?a:r,numArgs:0}};t.macros.set("|",c(!1)),a.length&&t.macros.set("\\|",c(!0));var f=t.consumeArg().tokens,p=t.expandTokens([...s,...f,...n]);return t.macros.endGroup(),{tokens:p.reverse(),numArgs:0}};M("\\bra@ket",MS(!1));M("\\bra@set",MS(!0));M("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");M("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");M("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");M("\\angln","{\\angl n}");M("\\blue","\\textcolor{##6495ed}{#1}");M("\\orange","\\textcolor{##ffa500}{#1}");M("\\pink","\\textcolor{##ff00af}{#1}");M("\\red","\\textcolor{##df0030}{#1}");M("\\green","\\textcolor{##28ae7b}{#1}");M("\\gray","\\textcolor{gray}{#1}");M("\\purple","\\textcolor{##9d38bd}{#1}");M("\\blueA","\\textcolor{##ccfaff}{#1}");M("\\blueB","\\textcolor{##80f6ff}{#1}");M("\\blueC","\\textcolor{##63d9ea}{#1}");M("\\blueD","\\textcolor{##11accd}{#1}");M("\\blueE","\\textcolor{##0c7f99}{#1}");M("\\tealA","\\textcolor{##94fff5}{#1}");M("\\tealB","\\textcolor{##26edd5}{#1}");M("\\tealC","\\textcolor{##01d1c1}{#1}");M("\\tealD","\\textcolor{##01a995}{#1}");M("\\tealE","\\textcolor{##208170}{#1}");M("\\greenA","\\textcolor{##b6ffb0}{#1}");M("\\greenB","\\textcolor{##8af281}{#1}");M("\\greenC","\\textcolor{##74cf70}{#1}");M("\\greenD","\\textcolor{##1fab54}{#1}");M("\\greenE","\\textcolor{##0d923f}{#1}");M("\\goldA","\\textcolor{##ffd0a9}{#1}");M("\\goldB","\\textcolor{##ffbb71}{#1}");M("\\goldC","\\textcolor{##ff9c39}{#1}");M("\\goldD","\\textcolor{##e07d10}{#1}");M("\\goldE","\\textcolor{##a75a05}{#1}");M("\\redA","\\textcolor{##fca9a9}{#1}");M("\\redB","\\textcolor{##ff8482}{#1}");M("\\redC","\\textcolor{##f9685d}{#1}");M("\\redD","\\textcolor{##e84d39}{#1}");
vendor: 4,555 bytes, line 556
556M("\\redE","\\textcolor{##bc2612}{#1}");M("\\maroonA","\\textcolor{##ffbde0}{#1}");M("\\maroonB","\\textcolor{##ff92c6}{#1}");M("\\maroonC","\\textcolor{##ed5fa6}{#1}");M("\\maroonD","\\textcolor{##ca337c}{#1}");M("\\maroonE","\\textcolor{##9e034e}{#1}");M("\\purpleA","\\textcolor{##ddd7ff}{#1}");M("\\purpleB","\\textcolor{##c6b9fc}{#1}");M("\\purpleC","\\textcolor{##aa87ff}{#1}");M("\\purpleD","\\textcolor{##7854ab}{#1}");M("\\purpleE","\\textcolor{##543b78}{#1}");M("\\mintA","\\textcolor{##f5f9e8}{#1}");M("\\mintB","\\textcolor{##edf2df}{#1}");M("\\mintC","\\textcolor{##e0e5cc}{#1}");M("\\grayA","\\textcolor{##f6f7f7}{#1}");M("\\grayB","\\textcolor{##f0f1f2}{#1}");M("\\grayC","\\textcolor{##e3e5e6}{#1}");M("\\grayD","\\textcolor{##d6d8da}{#1}");M("\\grayE","\\textcolor{##babec2}{#1}");M("\\grayF","\\textcolor{##888d93}{#1}");M("\\grayG","\\textcolor{##626569}{#1}");M("\\grayH","\\textcolor{##3b3e40}{#1}");M("\\grayI","\\textcolor{##21242c}{#1}");M("\\kaBlue","\\textcolor{##314453}{#1}");M("\\kaGreen","\\textcolor{##71B307}{#1}");var PS={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class _Y{constructor(t,n,r){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=n,this.expansionCount=0,this.feed(t),this.macros=new xY(EY,n.macros),this.mode=r,this.stack=[]}feed(t){this.lexer=new x8(t,this.settings)}switchMode(t){this.mode=t}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(t){this.stack.push(t)}pushTokens(t){this.stack.push(...t)}scanArgument(t){var n,r,a;if(t){if(this.consumeSpaces(),this.future().text!=="[")return null;n=this.popToken(),{tokens:a,end:r}=this.consumeArg(["]"])}else({tokens:a,start:n,end:r}=this.consumeArg());return this.pushToken(new Gr("EOF",r.loc)),this.pushTokens(a),new Gr("",Cr.range(n,r))}consumeSpaces(){for(;;){var t=this.future();if(t.text===" ")this.stack.pop();else break}}consumeArg(t){var n=[],r=t&&t.length>0;r||this.consumeSpaces();var a=this.future(),s,o=0,u=0;do{if(s=this.popToken(),n.push(s),s.text==="{")++o;else if(s.text==="}"){if(--o,o===-1)throw new ke("Extra }",s)}else if(s.text==="EOF")throw new ke("Unexpected end of input in a macro argument, expected '"+(t&&r?t[u]:"}")+"'",s);if(t&&r)if((o===0||o===1&&t[u]==="{")&&s.text===t[u]){if(++u,u===t.length){n.splice(-u,u);break}}else u=0}while(o!==0||r);return a.text==="{"&&n[n.length-1].text==="}"&&(n.pop(),n.shift()),n.reverse(),{tokens:n,start:a,end:s}}consumeArgs(t,n){if(n){if(n.length!==t+1)throw new ke("The length of delimiters doesn't match the number of args!");for(var r=n[0],a=0;a<r.length;a++){var s=this.popToken();if(r[a]!==s.text)throw new ke("Use of the macro doesn't match its definition",s)}}for(var o=[],u=0;u<t;u++)o.push(this.consumeArg(n&&n[u+1]).tokens);return o}countExpansion(t){if(this.expansionCount+=t,this.expansionCount>this.settings.maxExpand)throw new ke("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(t){var n=this.popToken(),r=n.text,a=n.noexpand?null:this._getExpansion(r);if(a==null||t&&a.unexpandable){if(t&&a==null&&r[0]==="\\"&&!this.isDefined(r))throw new ke("Undefined control sequence: "+r);return this.pushToken(n),!1}this.countExpansion(1);var s=a.tokens,o=this.consumeArgs(a.numArgs,a.delimiters);if(a.numArgs){s=s.slice();for(var u=s.length-1;u>=0;--u){var c=s[u];if(c.text==="#"){if(u===0)throw new ke("Incomplete placeholder at end of macro body",c);if(c=s[--u],c.text==="#")s.splice(u+1,1);else if(/^[1-9]$/.test(c.text))s.splice(u,2,...o[+c.text-1]);else throw new ke("Not a valid argument number",c)}}}return this.pushTokens(s),s.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 Gr(t)]):void 0}expandTokens(t){var n=[],r=this.stack.length;for(this.pushTokens(t);this.stack.length>r;)if(this.expandOnce(!0)===!1){var a=this.stack.pop();a.treatAsRelax&&(a.noexpand=!1,a.treatAsRelax=!1),n.push(a)}return this.countExpansion(n.length),n}expandMacroAsText(t){var n=this.expandMacro(t);return n&&n.map(r=>r.text).join("")}_getExpansion(t){var n=this.macros.get(t);if(n==null)return n;if(t.length===1){var r=this.lexer.catcodes[t];
vendor: 5,115 bytes, line 556
556if(r!=null&&r!==13)return}var a=typeof n=="function"?n(this):n;if(typeof a=="string"){var s=0;if(a.indexOf("#")!==-1)for(var o=a.replace(/##/g,"");o.indexOf("#"+(s+1))!==-1;)++s;for(var u=new x8(a,this.settings),c=[],f=u.lex();f.text!=="EOF";)c.push(f),f=u.lex();c.reverse();var p={tokens:c,numArgs:s};return p}return a}isDefined(t){return this.macros.has(t)||Is.hasOwnProperty(t)||jt.math.hasOwnProperty(t)||jt.text.hasOwnProperty(t)||PS.hasOwnProperty(t)}isExpandable(t){var n=this.macros.get(t);return n!=null?typeof n=="string"||typeof n=="function"||!n.unexpandable:Is.hasOwnProperty(t)&&!Is[t].primitive}}var T8=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,Sf=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","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),qg={"́":{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"}},w8={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ
vendor: 16,763 bytes, lines 556-558
556:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};let BS=class zS{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 _Y(t,n,this.mode),this.settings=n,this.leftrightDepth=0}expect(t,n){if(n===void 0&&(n=!0),this.fetch().text!==t)throw new ke("Expected '"+t+"', got '"+this.fetch().text+"'",this.fetch());n&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(t){this.mode=t,this.gullet.switchMode(t)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var t=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),t}finally{this.gullet.endGroups()}}subparse(t){var n=this.nextToken;this.consume(),this.gullet.pushToken(new Gr("}")),this.gullet.pushTokens(t);var r=this.parseExpression(!1);return this.expect("}"),this.nextToken=n,r}parseExpression(t,n){for(var r=[];;){this.mode==="math"&&this.consumeSpaces();var a=this.fetch();if(zS.endOfExpression.indexOf(a.text)!==-1||n&&a.text===n||t&&Is[a.text]&&Is[a.text].infix)break;var s=this.parseAtom(n);if(s){if(s.type==="internal")continue}else break;r.push(s)}return this.mode==="text"&&this.formLigatures(r),this.handleInfixNodes(r)}handleInfixNodes(t){for(var n=-1,r,a=0;a<t.length;a++)if(t[a].type==="infix"){if(n!==-1)throw new ke("only one infix operator per group",t[a].token);n=a,r=t[a].replaceWith}if(n!==-1&&r){var s,o,u=t.slice(0,n),c=t.slice(n+1);u.length===1&&u[0].type==="ordgroup"?s=u[0]:s={type:"ordgroup",mode:this.mode,body:u},c.length===1&&c[0].type==="ordgroup"?o=c[0]:o={type:"ordgroup",mode:this.mode,body:c};var f;return r==="\\\\abovefrac"?f=this.callFunction(r,[s,t[n],o],[]):f=this.callFunction(r,[s,o],[]),[f]}else return t}handleSupSubscript(t){var n=this.fetch(),r=n.text;this.consume(),this.consumeSpaces();var a;do{var s;a=this.parseGroup(t)}while(((s=a)==null?void 0:s.type)==="internal");if(!a)throw new ke("Expected group after '"+r+"'",n);return a}formatUnsupportedCmd(t){for(var n=[],r=0;r<t.length;r++)n.push({type:"textord",mode:"text",text:t[r]});var a={type:"text",mode:this.mode,body:n},s={type:"color",mode:this.mode,color:this.settings.errorColor,body:[a]};return s}parseAtom(t){var n=this.parseGroup("atom",t);if(n?.type==="internal"||this.mode==="text")return n;for(var r,a;;){this.consumeSpaces();var s=this.fetch();if(s.text==="\\limits"||s.text==="\\nolimits"){if(n&&n.type==="op"){var o=s.text==="\\limits";n.limits=o,n.alwaysHandleSupSub=!0}else if(n&&n.type==="operatorname")n.alwaysHandleSupSub&&(n.limits=s.text==="\\limits");else throw new ke("Limit controls must follow a math operator",s);this.consume()}else if(s.text==="^"){if(r)throw new ke("Double superscript",s);r=this.handleSupSubscript("superscript")}else if(s.text==="_"){if(a)throw new ke("Double subscript",s);a=this.handleSupSubscript("subscript")}else if(s.text==="'"){if(r)throw new ke("Double superscript",s);var u={type:"textord",mode:this.mode,text:"\\prime"},c=[u];for(this.consume();this.fetch().text==="'";)c.push(u),this.consume();this.fetch().text==="^"&&c.push(this.handleSupSubscript("superscript")),r={type:"ordgroup",mode:this.mode,body:c}}else if(Sf[s.text]){var f=T8.test(s.text),p=[];for(p.push(new Gr(Sf[s.text])),this.consume();;){var m=this.fetch().text;if(!Sf[m]||T8.test(m)!==f)break;p.unshift(new Gr(Sf[m])),this.consume()}var b=this.subparse(p);f?a={type:"ordgroup",mode:"math",body:b}:r={type:"ordgroup",mode:"math",body:b}}else break}return r||a?{type:"supsub",mode:this.mode,base:n,sup:r,sub:a}:n}parseFunction(t,n){var r=this.fetch(),a=r.text,s=Is[a];if(!s)return null;if(this.consume(),n&&n!=="atom"&&!s.allowedInArgument)throw new ke("Got function '"+a+"' with no arguments"+(n?" as "+n:""),r);if(this.mode==="text"&&!s.allowedInText)throw new ke("Can't use function '"+a+"' in text mode",r);if(this.mode==="math"&&s.allowedInMath===!1)throw new ke("Can't use function '"+a+"' in math mode",r);var{args:o,optArgs:u}=this.parseArguments(a,s);return this.callFunction(a,o,u,r,t)}callFunction(t,n,r,a,s){var o={funcName:t,parser:this,token:a,breakOnTokenText:s},u=Is[t];if(u&&u.handler)return u.handler(o,n,r);throw new ke("No function handler for "+t)}parseArguments(t,n){var r=n.numArgs+n.numOptionalArgs;if(r===0)return{args:[],optArgs:[]};for(var a=[],s=[],o=0;o<r;o++){var u=n.argTypes&&n.argTypes[o],c=o<n.numOptionalArgs;(n.primitive&&u==null||n.type==="sqrt"&&o===1&&s[0]==null)&&(u="primitive");var f=this.parseGroupOfType("argument to '"+t+"'",u,c);if(c)s.push(f);else if(f!=null)a.push(f);else throw new ke("Null argument, please report this as a bug")}return{args:a,optArgs:s}}parseGroupOfType(t,n,r){switch(n){case"color":return this.parseColorGroup(r);case"size":return this.parseSizeGroup(r);case"url":return this.parseUrlGroup(r);case"math":case"text":return this.parseArgumentGroup(r,n);case"hbox":{var a=this.parseArgumentGroup(r,"text");return a!=null?{type:"styling",mode:a.mode,body:[a],style:"text"}:null}case"raw":{var s=this.parseStringGroup("raw",r);return s!=null?{type:"raw",mode:"text",string:s.text}:null}case"primitive":{if(r)throw new ke("A primitive argument cannot be optional");var o=this.parseGroup(t);if(o==null)throw new ke("Expected group as "+t,this.fetch());return o}case"original":case null:case void 0:return this.parseArgumentGroup(r);default:throw new ke("Unknown group type as "+t,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(t,n){var r=this.gullet.scanArgument(n);if(r==null)return null;for(var a="",s;(s=this.fetch()).text!=="EOF";)a+=s.text,this.consume();return this.consume(),r.text=a,r}parseRegexGroup(t,n){for(var r=this.fetch(),a=r,s="",o;(o=this.fetch()).text!=="EOF"&&t.test(s+o.text);)a=o,s+=a.text,this.consume();if(s==="")throw new ke("Invalid "+n+": '"+r.text+"'",r);return r.range(a,s)}parseColorGroup(t){var n=this.parseStringGroup("color",t);if(n==null)return null;var r=/^(#[a-f0-9]{3,4}|#[a-f0-9]{6}|#[a-f0-9]{8}|[a-f0-9]{6}|[a-z]+)$/i.exec(n.text);if(!r)throw new ke("Invalid color: '"+n.text+"'",n);var a=r[0];return/^[0-9a-f]{6}$/i.test(a)&&(a="#"+a),{type:"color-token",mode:this.mode,color:a}}parseSizeGroup(t){var n,r=!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",r=!0);var a=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(n.text);if(!a)throw new ke("Invalid size: '"+n.text+"'",n);var s={number:+(a[1]+a[2]),unit:a[3]};if(!G9(s))throw new ke("Invalid unit: '"+s.unit+"'",n);return{type:"size",mode:this.mode,value:s,isBlank:r}}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 r=n.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:r}}parseArgumentGroup(t,n){var r=this.gullet.scanArgument(t);if(r==null)return null;var a=this.mode;n&&this.switchMode(n),this.gullet.beginGroup();var s=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var o={type:"ordgroup",mode:this.mode,loc:r.loc,body:s};return n&&this.switchMode(a),o}parseGroup(t,n){var r=this.fetch(),a=r.text,s;if(a==="{"||a==="\\begingroup"){this.consume();var o=a==="{"?"}":"\\endgroup";this.gullet.beginGroup();var u=this.parseExpression(!1,o),c=this.fetch();this.expect(o),this.gullet.endGroup(),s={type:"ordgroup",mode:this.mode,loc:Cr.range(r,c),body:u,semisimple:a==="\\begingroup"||void 0}}else if(s=this.parseFunction(n,t)||this.parseSymbol(),s==null&&a[0]==="\\"&&!PS.hasOwnProperty(a)){if(this.settings.throwOnError)throw new ke("Undefined control sequence: "+a,r);s=this.formatUnsupportedCmd(a),this.consume()}return s}formLigatures(t){for(var n=t.length-1,r=0;r<n;++r){var a=t[r],s=a.text;s==="-"&&t[r+1].text==="-"&&(r+1<n&&t[r+2].text==="-"?(t.splice(r,3,{type:"textord",mode:"text",loc:Cr.range(a,t[r+2]),text:"---"}),n-=2):(t.splice(r,2,{type:"textord",mode:"text",loc:Cr.range(a,t[r+1]),text:"--"}),n-=1)),(s==="'"||s==="`")&&t[r+1].text===s&&(t.splice(r,2,{type:"textord",mode:"text",loc:Cr.range(a,t[r+1]),text:s+s}),n-=1)}}parseSymbol(){var t=this.fetch(),n=t.text;if(/^\\verb[^a-zA-Z]/.test(n)){this.consume();var r=n.slice(5),a=r.charAt(0)==="*";if(a&&(r=r.slice(1)),r.length<2||r.charAt(0)!==r.slice(-1))throw new ke(`\\verb assertion failed --
557                    please report what input caused this bug`);return r=r.slice(1,-1),{type:"verb",mode:"text",body:r,star:a}}w8.hasOwnProperty(n[0])&&!jt[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=w8[n[0]]+n.slice(1));var s=yY.exec(n);s&&(n=n.substring(0,s.index),n==="i"?n="ı":n==="j"&&(n="ȷ"));var o;if(jt[this.mode][n]){this.settings.strict&&this.mode==="math"&&eb.indexOf(n)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+n[0]+'" used in math mode',t);var u=jt[this.mode][n].group,c=Cr.range(t),f;if(cG.hasOwnProperty(u)){var p=u;f={type:"atom",mode:this.mode,family:p,loc:c,text:n}}else f={type:u,mode:this.mode,loc:c,text:n};o=f}else if(n.charCodeAt(0)>=128)this.settings.strict&&($9(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:Cr.range(t),text:n};else return null;if(this.consume(),s)for(var m=0;m<s[0].length;m++){var b=s[0][m];if(!qg[b])throw new ke("Unknown accent ' "+b+"'",t);var y=qg[b][this.mode]||qg[b].text;if(!y)throw new ke("Accent "+b+" unsupported in "+this.mode+" mode",t);o={type:"accent",mode:this.mode,loc:Cr.range(t),label:y,isStretchy:!1,isShifty:!0,base:o}}return o}};BS.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var Y4=function(t,n){if(!(typeof t=="string"||t instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var r=new BS(t,n);delete r.gullet.macros.current["\\df@tag"];var a=r.parse();if(delete r.gullet.macros.current["\\current@color"],delete r.gullet.macros.current["\\color"],r.gullet.macros.get("\\df@tag")){if(!n.displayMode)throw new ke("\\tag works only in display equations");a=[{type:"tag",mode:"text",body:a,tag:r.subparse([new Gr("\\df@tag")])}]}return a},Q4=function(t,n,r){n.textContent="";var a=gm(t,r).toNode();n.appendChild(a)};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."),Q4=function(){throw new ke("KaTeX doesn't work in quirks mode.")});var HS=function(t,n){var r=gm(t,n).toMarkup();return r},jS=function(t,n){var r=new N4(n);return Y4(t,r)},FS=function(t,n,r){if(r.throwOnError||!(t instanceof ke))throw t;var a=le.makeSpan(["katex-error"],[new ha(n)]);return a.setAttribute("title",t.toString()),a.setAttribute("style","color:"+r.errorColor),a},gm=function(t,n){var r=new N4(n);try{var a=Y4(t,r);return IG(a,t,r)}catch(s){return FS(s,t,r)}},US=function(t,n){var r=new N4(n);try{var a=Y4(t,r);return LG(a,t,r)}catch(s){return FS(s,t,r)}},qS="0.16.25",$S={Span:D0,Anchor:D4,SymbolNode:ha,SvgNode:$i,PathNode:Us,LineNode:J2},sb={version:qS,render:Q4,renderToString:HS,ParseError:ke,SETTINGS_SCHEMA:qc,__parse:jS,__renderToDomTree:gm,__renderToHTMLTree:US,__setFontMetrics:V9,__defineSymbol:T,__defineFunction:Pe,__defineMacro:M,__domTree:$S};const vse=Object.freeze(Object.defineProperty({__proto__:null,ParseError:ke,SETTINGS_SCHEMA:qc,__defineFunction:Pe,__defineMacro:M,__defineSymbol:T,__domTree:$S,__parse:jS,__renderToDomTree:gm,__renderToHTMLTree:US,__setFontMetrics:V9,default:sb,get render(){return Q4},renderToString:HS,version:qS},Symbol.toStringTag,{value:"Module"})),TY={},wY=[];function SY(e){const t=e||TY;return function(n,r){A4(n,"element",function(a,s){const o=Array.isArray(a.properties.className)?a.properties.className:wY,u=o.includes("language-math"),c=o.includes("math-display"),f=o.includes("math-inline");let p=c;if(!u&&!c&&!f)return;let m=s[s.length-1],b=a;if(a.tagName==="code"&&u&&m&&m.type==="element"&&m.tagName==="pre"&&(b=m,m=s[s.length-2],p=!0),!m)return;const y=TV(b,{whitespace:"pre"});let _;try{_=sb.renderToString(y,{...t,displayMode:p,throwOnError:!0})}catch(k){const A=k,R=A.name.toLowerCase();r.message("Could not render math with KaTeX",{ancestors:[...s,a],cause:A,place:a.position,ruleId:R,source:"rehype-katex"});try{_=sb.renderToString(y,{...t,displayMode:p,strict:"ignore",throwOnError:!1})}catch{_=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(t.errorColor||"#cc0000"),title:String(k)},children:[{type:"text",value:y}]}]}}typeof _=="string"&&(_=pV(_).children);const w=m.children.indexOf(b);return m.children.splice(w,1,..._),oh})}}function AY(e){const t=String(e),n=[];return{toOffset:a,toPoint:r};function r(s){if(typeof s=="number"&&s>-1&&s<=t.length){let o=0;for(;;){let u=n[o];if(u===void 0){const c=S8(t,n[o-1]);u=c===-1?t.length+1:c+1,n[o]=u}if(u>s)return{line:o+1,column:s-(o>0?n[o-1]:0)+1,offset:s};o++}}}function a(s){if(s&&typeof s.line=="number"&&typeof s.column=="number"&&!Number.isNaN(s.line)&&!Number.isNaN(s.column)){for(;n.length<s.line;){const u=n[n.length-1],c=S8(t,u),f=c===-1?t.length+1:c+1;if(u===f)break;n.push(f)}const o=(s.line>1?n[s.line-2]:0)+s.column-1;if(o<n[s.line-1])return o}}}function S8(e,t){const n=e.indexOf("\r",t),r=e.indexOf(`
558`,t);return r===-1?n:n===-1||n+1===r?r:n<r?n:r}const VS={}.hasOwnProperty,CY=Object.prototype;function kY(e,t){const n=t||{};return W4({file:n.file||void 0,location:!1,schema:n.space==="svg"?Gs:C0,verbose:n.verbose||!1},e)}function W4(e,t){let n;switch(t.nodeName){case"#comment":{const r=t;return n={type:"comment",value:r.data},Gf(e,r,n),n}case"#document":case"#document-fragment":{const r=t,a="mode"in r?r.mode==="quirks"||r.mode==="limited-quirks":!1;if(n={type:"root",children:GS(e,t.childNodes),data:{quirksMode:a}},e.file&&e.location){const s=String(e.file),o=AY(s),u=o.toPoint(0),c=o.toPoint(s.length);n.position={start:u,end:c}}return n}case"#documentType":{const r=t;return n={type:"doctype"},Gf(e,r,n),n}case"#text":{const r=t;return n={type:"text",value:r.value},Gf(e,r,n),n}default:return n=NY(e,t),n}}function GS(e,t){let n=-1;const r=[];for(;++n<t.length;){const a=W4(e,t[n]);r.push(a)}return r}function NY(e,t){const n=e.schema;e.schema=t.namespaceURI===Ja.svg?Gs:C0;let r=-1;const a={};for(;++r<t.attrs.length;){const u=t.attrs[r],c=(u.prefix?u.prefix+":":"")+u.name;VS.call(CY,c)||(a[c]=u.value)}const o=(e.schema.space==="svg"?P9:M9)(t.tagName,a,GS(e,t.childNodes));if(Gf(e,t,o),o.tagName==="template"){const u=t,c=u.sourceCodeLocation,f=c&&c.startTag&&Yl(c.startTag),p=c&&c.endTag&&Yl(c.endTag),m=W4(e,u.content);f&&p&&e.file&&(m.position={start:f.end,end:p.start}),o.content=m}return e.schema=n,o}function Gf(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const r=RY(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function RY(e,t,n){const r=Yl(n);if(t.type==="element"){const a=t.children[t.children.length-1];if(r&&!n.endTag&&a&&a.position&&a.position.end&&(r.end=Object.assign({},a.position.end)),e.verbose){const s={};let o;if(n.attrs)for(o in n.attrs)VS.call(n.attrs,o)&&(s[am(e.schema,o).property]=Yl(n.attrs[o]));n.startTag;const u=Yl(n.startTag),c=n.endTag?Yl(n.endTag):void 0,f={opening:u};c&&(f.closing=c),f.properties=s,t.data={position:f}}}return r}function Yl(e){const t=A8({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=A8({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function A8(e){return e.line&&e.column?e:void 0}class L0{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}L0.prototype.property={};L0.prototype.normal={};L0.prototype.space=null;function YS(e,t){const n={},r={};let a=-1;for(;++a<e.length;
vendor: 4,191 bytes, line 558
558)Object.assign(n,e[a].property),Object.assign(r,e[a].normal);return new L0(n,r,t)}function ob(e){return e.toLowerCase()}class ga{constructor(t,n){this.property=t,this.attribute=n}}ga.prototype.space=null;ga.prototype.boolean=!1;ga.prototype.booleanish=!1;ga.prototype.overloadedBoolean=!1;ga.prototype.number=!1;ga.prototype.commaSeparated=!1;ga.prototype.spaceSeparated=!1;ga.prototype.commaOrSpaceSeparated=!1;ga.prototype.mustUseProperty=!1;ga.prototype.defined=!1;let OY=0;const nt=qo(),En=qo(),QS=qo(),Re=qo(),Ht=qo(),Jl=qo(),Hr=qo();function qo(){return 2**++OY}const lb=Object.freeze(Object.defineProperty({__proto__:null,boolean:nt,booleanish:En,commaOrSpaceSeparated:Hr,commaSeparated:Jl,number:Re,overloadedBoolean:QS,spaceSeparated:Ht},Symbol.toStringTag,{value:"Module"})),$g=Object.keys(lb);class X4 extends ga{constructor(t,n,r,a){let s=-1;if(super(t,n),C8(this,"space",a),typeof r=="number")for(;++s<$g.length;){const o=$g[s];C8(this,$g[s],(r&lb[o])===lb[o])}}}X4.prototype.defined=!0;function C8(e,t,n){n&&(e[t]=n)}const DY={}.hasOwnProperty;function xu(e){const t={},n={};let r;for(r in e.properties)if(DY.call(e.properties,r)){const a=e.properties[r],s=new X4(r,e.transform(e.attributes||{},r),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(s.mustUseProperty=!0),t[r]=s,n[ob(r)]=r,n[ob(s.attribute)]=r}return new L0(t,n,e.space)}const WS=xu({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}}),XS=xu({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function KS(e,t){return t in e?e[t]:t}function ZS(e,t){return KS(e,t.toLowerCase())}const JS=xu({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:ZS,properties:{xmlns:null,xmlnsXLink:null}}),eA=xu({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:En,ariaAutoComplete:null,ariaBusy:En,ariaChecked:En,ariaColCount:Re,ariaColIndex:Re,ariaColSpan:Re,ariaControls:Ht,ariaCurrent:null,ariaDescribedBy:Ht,ariaDetails:null,ariaDisabled:En,ariaDropEffect:Ht,ariaErrorMessage:null,ariaExpanded:En,ariaFlowTo:Ht,ariaGrabbed:En,ariaHasPopup:null,ariaHidden:En,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Ht,ariaLevel:Re,ariaLive:null,ariaModal:En,ariaMultiLine:En,ariaMultiSelectable:En,ariaOrientation:null,ariaOwns:Ht,ariaPlaceholder:null,ariaPosInSet:Re,ariaPressed:En,ariaReadOnly:En,ariaRelevant:null,ariaRequired:En,ariaRoleDescription:Ht,ariaRowCount:Re,ariaRowIndex:Re,ariaRowSpan:Re,ariaSelected:En,ariaSetSize:Re,ariaSort:null,ariaValueMax:Re,ariaValueMin:Re,ariaValueNow:Re,ariaValueText:null,role:null}}),IY=xu({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:ZS,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Jl,acceptCharset:Ht,accessKey:Ht,action:null,allow:null,allowFullScreen:nt,allowPaymentRequest:nt,allowUserMedia:nt,alt:null,as:null,async:nt,autoCapitalize:null,autoComplete:Ht,autoFocus:nt,autoPlay:nt,blocking:Ht,capture:null,charSet:null,checked:nt,cite:null,className:Ht,cols:Re,colSpan:null,content:null,contentEditable:En,controls:nt,controlsList:Ht,coords:Re|Jl,crossOrigin:null,data:null,dateTime:null,decoding:null,default:nt,defer:nt,dir:null,dirName:null,disabled:nt,download:QS,draggable:En,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:nt,formTarget:null,headers:Ht,height:Re,hidden:nt,high:Re,href:null,hrefLang:null,htmlFor:Ht,httpEquiv:Ht,id:null,imageSizes:null,imageSrcSet:null,inert:nt,inputMode:null,integrity:null,is:null,isMap:nt,itemId:null,itemProp:Ht,itemRef:Ht,itemScope:nt,itemType:Ht,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:nt,low:Re,manifest:null,max:null,maxLength:Re,media:null,method:null,min:null,minLength:Re,multiple:nt,muted:nt,name:null,nonce:null,noModule:nt,noValidate:nt,onAbort:null,onAfterPrint:null,onAuxCl
558ick: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:nt,optimum:Re,pattern:null,ping:Ht,placeholder:null,playsInline:nt,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:nt,referrerPolicy:null,rel:Ht,required:nt,reversed:nt,rows:Re,rowSpan:Re,sandbox:Ht,scope:null,scoped:nt,seamless:nt,selected:nt,shadowRootClonable:nt,shadowRootDelegatesFocus:nt,shadowRootMode:null,shape:null,size:Re,sizes:null,slot:null,span:Re,spellCheck:En,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Re,step:null,style:null,tabIndex:Re,target:null,title:null,translate:null,type:null,typeMustMatch:nt,useMap:null,value:En,width:Re,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Ht,axis:null,background:null,bgColor:null,border:Re,borderColor:null,bottomMargin:Re,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:nt,declare:nt,event:null,face:null,frame:null,frameBorder:null,hSpace:Re,leftMargin:Re,link:null,longDesc:null,lowSrc:null,marginHeight:Re,marginWidth:Re,noResize:nt,noHref:nt,noShade:nt,noWrap:nt,object:null,profile:null,prompt:null,rev:null,rightMargin:Re,rules:null,scheme:null,scrolling:En,standby:null,summary:null,text:null,topMargin:Re,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Re,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:nt,disableRemotePlayback:nt,prefix:null,property:null,results:Re,security:null,unselectable:null}}),LY=xu({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
558-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:KS,properties:{about:Hr,accentHeight:Re,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Re,amplitude:Re,arabicForm:null,ascent:Re,attributeName:null,attributeType:null,azimuth:Re,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Re,by:null,calcMode:null,capHeight:Re,className:Ht,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Re,diffuseConstant:Re,direction:null,display:null,dur:null,divisor:Re,dominantBaseline:null,download:nt,dx:null,dy:null,edgeMode:null,editable:null,elevation:Re,enableBackgroun
vendor: 5,416 bytes, line 558
558d:null,end:null,event:null,exponent:Re,externalResourcesRequired:null,fill:null,fillOpacity:Re,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Jl,g2:Jl,glyphName:Jl,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Re,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Re,horizOriginX:Re,horizOriginY:Re,id:null,ideographic:Re,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Re,k:Re,k1:Re,k2:Re,k3:Re,k4:Re,kernelMatrix:Hr,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Re,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Re,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Re,overlineThickness:Re,paintOrder:null,panose1:null,path:null,pathLength:Re,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Ht,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Re,pointsAtY:Re,pointsAtZ:Re,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Hr,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Hr,rev:Hr,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Hr,requiredFeatures:Hr,requiredFonts:Hr,requiredFormats:Hr,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:Re,specularExponent:Re,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Re,strikethroughThickness:Re,string:null,stroke:null,strokeDashArray:Hr,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Re,strokeOpacity:Re,strokeWidth:null,style:null,surfaceScale:Re,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Hr,tabIndex:Re,tableValues:null,target:null,targetX:Re,targetY:Re,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Hr,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Re,underlineThickness:Re,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Re,values:null,vAlphabetic:Re,vMathematical:Re,vectorEffect:null,vHanging:Re,vIdeographic:Re,version:null,vertAdvY:Re,vertOriginX:Re,vertOriginY:Re,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Re,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),MY=/^data[-\w.:]+$/i,k8=/-[a-z]/g,PY=/[A-Z]/g;function BY(e,t){const n=ob(t);let r=t,a=ga;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&MY.test(t)){if(t.charAt(4)==="-"){const s=t.slice(5).replace(k8,HY);r="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=t.slice(4);if(!k8.test(s)){let o=s.replace(PY,zY);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}a=X4}return new a(r,t)}function zY(e){return"-"+e.toLowerCase()}function HY(e){return e.charAt(1).toUpperCase()}const jY=YS([XS,WS,JS,eA,IY],"html"),tA=YS([XS,WS,JS,eA,LY],"svg"),N8={}.hasOwnProperty;function K4(e,t){const n=t||{};
vendor: 4,594 bytes, line 558
558function r(a,...s){let o=r.invalid;const u=r.handlers;if(a&&N8.call(a,e)){const c=String(a[e]);o=N8.call(u,c)?u[c]:r.unknown}if(o)return o.call(this,a,...s)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}const FY={},UY={}.hasOwnProperty,nA=K4("type",{handlers:{root:$Y,element:WY,text:YY,comment:QY,doctype:GY}});function qY(e,t){const r=(t||FY).space;return nA(e,r==="svg"?tA:jY)}function $Y(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=Z4(e.children,n,t),Eu(e,n),n}function VY(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=Z4(e.children,n,t),Eu(e,n),n}function GY(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return Eu(e,t),t}function YY(e){const t={nodeName:"#text",value:e.value,parentNode:null};return Eu(e,t),t}function QY(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return Eu(e,t),t}function WY(e,t){const n=t;let r=n;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(r=tA);const a=[];let s;if(e.properties){for(s in e.properties)if(s!=="children"&&UY.call(e.properties,s)){const c=XY(r,s,e.properties[s]);c&&a.push(c)}}const o=r.space,u={nodeName:e.tagName,tagName:e.tagName,attrs:a,namespaceURI:Ja[o],childNodes:[],parentNode:null};return u.childNodes=Z4(e.children,u,r),Eu(e,u),e.tagName==="template"&&e.content&&(u.content=VY(e.content,r)),u}function XY(e,t,n){const r=BY(e,t);if(n===!1||n===null||n===void 0||typeof n=="number"&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?h4(n):p4(n));const a={name:r.attribute,value:n===!0?"":String(n)};if(r.space&&r.space!=="html"&&r.space!=="svg"){const s=a.name.indexOf(":");s<0?a.prefix="":(a.name=a.name.slice(s+1),a.prefix=r.attribute.slice(0,s)),a.namespace=Ja[r.space]}return a}function Z4(e,t,n){let r=-1;const a=[];if(e)for(;++r<e.length;){const s=nA(e[r],n);s.parentNode=t,a.push(s)}return a}function Eu(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 rA=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],KY=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]),Gt="�";var B;(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"})(B||(B={}));const Tr={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function aA(e){return e>=55296&&e<=57343}function ZY(e){return e>=56320&&e<=57343}function JY(e,t){return(e-55296)*1024+9216+t}function iA(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function sA(e){return e>=64976&&e<=65007||KY.has(e)}var ge;(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.invali
vendor: 6,673 bytes, line 558
558dFirstCharacterOfTagName="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"})(ge||(ge={}));const eQ=65536;class tQ{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=eQ,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:r,col:a,offset:s}=this,o=a+n,u=s+n;return{code:t,startLine:r,endLine:r,startCol:o,endCol:o,startOffset:u,endOffset:u}}_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(ZY(n))return this.pos++,this._addGap(),JY(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,B.EOF;return this._err(ge.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 r=0;r<t.length;r++)if((this.html.charCodeAt(this.pos+r)|32)!==t.charCodeAt(r))return!1;return!0}peek(t){const n=this.pos+t;if(n>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,B.EOF;const r=this.html.charCodeAt(n);return r===B.CARRIAGE_RETURN?B.LINE_FEED:r}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,B.EOF;let t=this.html.charCodeAt(this.pos);return t===B.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,B.LINE_FEED):t===B.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,aA(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===B.LINE_FEED||t===B.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){iA(t)?this._err(ge.controlCharacterInInputStream):sA(t)&&this._err(ge.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var lt;(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"})(lt||(lt={}));function oA(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 nQ=new Uint16Array('
vendor: 16,129 bytes, line 558
558ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms�„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;æ«§ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapÓºÓ¾cr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpÔ¦Ôªon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋ĀipÕªÕ¯sts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0Ö£mallSquare;旼erySmallSquare;斪Ͱֺ\0Ö¿\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0Ú²f;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgÜ´Ü·r;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyÞ±Þµrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āeyß¶ß»dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;æ««y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;æ©°cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;æ§«riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0á ±;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0á«¢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;æ©­nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0á­µr;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;oá³§á³°ntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;æ§¶rok;䄑Ādrá¶°á¶´ot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;æ§£us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0á¾½g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;
vendor: 4,294 bytes, line 558
558䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;
vendor: 6,210 bytes, line 558
558astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌
558'.split("").map(e=>e.charCodeAt(0))),rQ=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 aQ(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=rQ.get(e))!==null&&t!==void 0?t:e}var Bn;(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"})(Bn||(Bn={}));const iQ=32;var Ls;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(Ls||(Ls={}));function ub(e){return e>=Bn.ZERO&&e<=Bn.NINE}function sQ(e){return e>=Bn.UPPER_A&&e<=Bn.UPPER_F||e>=Bn.LOWER_A&&e<=Bn.LOWER_F}function oQ(e){return e>=Bn.UPPER_A&&e<=Bn.UPPER_Z||e>=Bn.LOWER_A&&e<=Bn.LOWER_Z||ub(e)}function lQ(e){return e===Bn.EQUALS||oQ(e)}var Ln;(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"})(Ln||(Ln={}));var Bi;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Bi||(Bi={}));class uQ{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=Ln.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Bi.Strict}startEntity(t){this.decodeMode=t,this.state=Ln.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case Ln.EntityStart:return t.charCodeAt(n)===Bn.NUM?(this.state=Ln.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=Ln.NamedEntity,this.stateNamedEntity(t,n));case Ln.NumericStart:return this.stateNumericStart(t,n);case Ln.NumericDecimal:return this.stateNumericDecimal(t,n);case Ln.NumericHex:return this.stateNumericHex(t,n);case Ln.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|iQ)===Bn.LOWER_X?(this.state=Ln.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=Ln.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,r,a){if(n!==r){const s=r-n;this.result=this.result*Math.pow(a,s)+Number.parseInt(t.substr(n,s),a),this.consumed+=s}}stateNumericHex(t,n){const r=n;for(;n<t.length;){const a=t.charCodeAt(n);if(ub(a)||sQ(a))n+=1;else return this.addToNumericResult(t,r,n,16),this.emitNumericEntity(a,3)}return this.addToNumericResult(t,r,n,16),-1}stateNumericDecimal(t,n){const r=n;for(;n<t.length;){const a=t.charCodeAt(n);if(ub(a))n+=1;else return this.addToNumericResult(t,r,n,10),this.emitNumericEntity(a,2)}return this.addToNumericResult(t,r,n,10),-1}emitNumericEntity(t,n){var r;if(this.consumed<=n)return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===Bn.SEMI)this.consumed+=1;else if(this.decodeMode===Bi.Strict)return 0;return this.emitCodePoint(aQ(this.result),this.consumed),this.errors&&(t!==Bn.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){const{decodeTree:r}=this;let a=r[this.treeIndex],s=(a&Ls.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const o=t.charCodeAt(n);if(this.treeIndex=cQ(r,a,this.treeIndex+Math.max(1,s),o),this.treeIndex<0)return this.result===0||this.decodeMode===Bi.Attribute&&(s===0||lQ(o))?0:this.emitNotTerminatedNamedEntity();if(a=r[this.treeIndex],s=(a&Ls.VALUE_LENGTH)>>14,s!==0){if(o===Bn.SEMI)return this.emitNamedEntityData(this.treeIndex,s,this.consumed+this.excess);this.decodeMode!==Bi.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:r}=this,a=(r[n]&Ls.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,a,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,r){const{decodeTree:a}=this;return this.emitCodePoint(n===1?a[t]&~Ls.VALUE_LENGTH:a[t+1],r),n===3&&this.emitCodePoint(a[t+2],r),r}end(){var t;switch(this.state){case Ln.NamedEntity:return this.result!==0&&(this.decodeMode!==Bi.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Ln.NumericDecimal:return this.emitNumericEntity(0,2);case Ln.NumericHex:return this.emitNumericEntity(0,3);case Ln.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Ln.EntityStart:return 0}}}function cQ(e,t,n,r){const a=(t&Ls.BRANCH_LENGTH)>>7,s=t&Ls.JUMP_TABLE;if(a===0)return s!==0&&r===s?n:-1;if(s){const c=r-s;return c<0||c>=a?-1:e[n+c]-1}let o=n,u=o+a-1;for(;o<=u;){const c=o+u>>>1,f=e[c];if(f<r)o=c+1;else if(f>r)u=c-1;else return e[c+a]}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 No;(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"})(No||(No={}));var la;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(la||(la={}));var ie;(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="str
558ike",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"})(ie||(ie={}));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 dQ=new Map([[ie.A,E.A],[ie.ADDRESS,E.ADDRESS],[ie.ANNOTATION_XML,E.ANNOTATION_XML],[ie.APPLET,E.APPLET],[ie.AREA,E.AREA],[ie.ARTICLE,E.ARTICLE],[ie.ASIDE,E.ASIDE],[ie.B,E.B],[ie.BASE,E.BASE],[ie.BASEFONT,E.BASEFONT],[ie.BGSOUND,E.BGSOUND],[ie.BIG,E.BIG],[ie.BLOCKQUOTE,E.BLOCKQUOTE],[ie.BODY,E.BODY],[ie.BR,E.BR],[ie.BUTTON,E.BUTTON],[ie.CAPTION,E.CAPTION],[ie.CENTER,E.CENTER],[ie.CODE,E.CODE],[ie.COL,E.COL],[ie.COLGROUP,E.COLGROUP],[ie.DD,E.DD],[ie.DESC,E.DESC],[ie.DETAILS,E.DETAILS],[ie.DIALOG,E.DIALOG],[ie.DIR,E.DIR],[ie.DIV,E.DIV],[ie.DL,E.DL],[ie.DT,E.DT],[ie.EM,E.EM],[ie.EMBED,E.EMBED],[ie.FIELDSET,E.FIELDSET],[ie.FIGCAPTION,E.FIGCAPTION],[ie.FIGURE,E.FIGURE],[ie.FONT,E.FONT],[ie.FOOTER,E.FOOTER],[ie.FOREIGN_OBJECT,E.FOREIGN_OBJECT],[ie.FORM,E.FORM],[ie.FRAME,E.FRAME],[ie.FRAMESET,E.FRAMESET],[ie.H1,E.H1],[ie.H2,E.H2],[ie.H3,E.H3],[ie.H4,E.H4],[ie.H5,E.H5],[ie.H6,E.H6],[ie.HEAD,E.HEAD],[ie.HEADER,E.HEADER],[ie.HGROUP,E.HGROUP],[ie.HR,E.HR],[ie.HTML,E.HTML],[ie.I,E.I],[ie.IMG,E.IMG],[ie.IMAGE,E.IMAGE],[ie.INPUT,E.INPUT],[ie.IFRAME,E.IFRAME],[ie.KEYGEN,E.KEYGEN],[ie.LABEL,E.LABEL],[ie.LI,E.LI],[ie.LINK,E.LINK],[ie.LISTING,E.LISTING],[ie.MAIN,E.MAIN],[ie.MALIGNMARK,E.MALIGNMARK],[ie.MARQUEE,E.MARQUEE],[ie.MATH,E.MATH],[ie.MENU,E.MENU],[ie.META,E.META],[ie.MGLYPH,E.MGLYPH],[ie.MI,E.MI],[ie.MO,E.MO],[ie.MN,E.MN],[ie.MS,E.MS],[ie.MTEXT,E.MTEXT],[ie.NAV,E.NAV],[ie.NOBR,E.NOBR],[ie.NOFRAMES,E.NOFRAMES],[ie.NOEMBED,E.NOEMBED],[ie.NOSCRIPT,E.NOSCRIPT],[ie.OBJECT,E.OBJECT],[ie.OL,E.OL],[ie.OPTGROUP,E.OPTGROUP],[ie.OPTION,E.OPTION],[ie.P,E.P],[ie.PARAM,E.PARAM],[ie.PLAINTEXT,E.PLAINTEXT],[ie.PRE,E.PRE],[ie.RB,E.RB],[ie.RP,E.RP],[ie.RT,E.RT],[ie.RTC,E.RTC],[ie.RUBY,E.RUBY],[ie.S,E.S],[ie.SCRIPT,E.SCRIPT],[ie.SEARCH,E.SEARCH],[ie.SECTION,E.SECTION],[ie.SELECT,E.SELECT],[ie.SOURCE,E.SOURCE],[ie.SMALL,E.SMALL],[ie.SPAN,E.SPAN],[ie.STRIKE,E.STRIKE],[ie.STRONG,E.STRONG],[ie.STYLE,E.STYLE],[ie.SUB,E.SUB],[ie.SUMMARY,E.SUMMARY],[ie.SUP,E.SUP],[ie.TABLE,E.TABLE],[ie.TBODY,E.TBODY],[ie.TEMPLATE,E.TEMPLATE],[ie.TEXTAREA,E.TEXTAREA],[ie.TFOOT,E.TFOOT],[ie.TD,E.TD],[ie.TH,E.TH],[ie.THEAD,E.THEAD],[ie.TITLE,E.TITLE],[ie.TR,E.TR],[ie.TRACK,E.TRACK],[ie.TT,E.TT],[ie.U,E.U],[ie.UL,E.UL],[ie.SVG,E.SVG],[ie.VAR,E.VAR],[ie.WBR,E.WBR],[ie.XMP,E.XMP]]);function _u(e){var t;return(t=dQ.get(e))!==null&&t!==void 0?t:E.UNKNOWN}const Ae=E,fQ={[Se.HTML]:new Set([Ae.ADDRESS,Ae.APPLET,Ae.AREA,Ae.ARTICLE,Ae.ASIDE,Ae.BASE,Ae.BASEFONT,Ae.BGSOUND,Ae.BLOCKQUOTE,Ae.BODY,Ae.BR,Ae.BUTTON,Ae.CAPTION,Ae.CENTER,Ae.COL,Ae.COLGROUP,Ae.DD,Ae.DETAILS,Ae.DIR,Ae.DIV,Ae.DL,Ae.DT,Ae.EMBED,Ae.FIELDSET,Ae.FIGCAPTION,Ae.FIGURE,Ae.FOOTER,Ae.FORM,Ae.FRAME,Ae.FRAMESET,Ae.H1,Ae.H2,Ae.H3,Ae.H4,Ae.H5,Ae.H6,Ae.HEAD,Ae.HEADER,Ae.HGROUP,Ae.HR,Ae.HTML,Ae.IFRAME,Ae.IMG,Ae.INPUT,Ae.LI,Ae.LINK,Ae.LISTING,Ae.MAIN,Ae.MARQUEE,Ae.MENU,Ae.META,Ae.NAV,Ae.NOEMBED,Ae.NOFRAMES,Ae.NOSCRIPT,Ae.OBJECT,Ae.OL,Ae.P,Ae.PARAM,Ae.PLAINTEXT,Ae.PRE,Ae.SCRIPT,Ae.SECTION,Ae.SELECT,Ae.SOURCE,Ae.STYLE,Ae.SUMMARY,Ae.TABLE,Ae.TBODY,Ae.TD,Ae.TEMPLATE,Ae.TEXTAREA,Ae.TFOOT,Ae.TH,Ae.THEAD,Ae.TITLE,Ae.TR,Ae.TRACK,Ae.UL,Ae.WBR,Ae.XMP]),[Se.MATHML]:new Set([Ae.MI,Ae.MO,Ae.MN,Ae.MS,Ae.MTEXT,Ae.ANNOTATION_XML]),[Se.SVG]:new Set([Ae.TITLE,Ae.FOREIGN_OBJECT,Ae.DESC]),[Se.XLINK]:new Set,[Se.XML]:new Set,[Se.XMLNS]:new Set},cb=new Set([Ae.H1,Ae.H2,Ae.H3,Ae.H4,Ae.H5,Ae.H6]);ie.STYLE,ie.SCRIPT,ie.XMP,ie.IFRAME,ie.NOEMBED,ie.NOFRAMES,ie.PLAINTEXT;var q;(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"})(q||(q={}));const hn={DATA:q.DATA,RCDATA:q.RCDATA,RAWTEXT:q.RAWTEXT,SCRIPT_DATA:q.SCRIPT_DATA,PLAINTEXT:q.PLAINTEXT,CDATA_SECTION:q.CDATA_SECTION};function hQ(e){return e>=B.DIGIT_0&&e<=B.DIGIT_9}function Dc(e){return e>=B.LATIN_CAPITAL_A&&e<=B.LATIN_CAPITAL_Z}function mQ(e){return e>=B.LATIN_SMALL_A&&e<=B.LATIN_SMALL_Z}function ks(e){return mQ(e)||Dc(e)}function R8(e){return ks(e)||hQ(e)}function Af(e){return e+32}function lA(e){return e===B.SPACE||e===B.LINE_FEED||e===B.TABULATION||e===B.FORM_FEED}function O8(e){return lA(e)||e===B.SOLIDUS||e===B.GREATER_THAN_SIGN}function pQ(e){return e===B.NULL?ge.nullCharacterReference:e>1114111?ge.characterReferenceOutsideUnicodeRange:aA(e)?ge.surrogateCharacterReference:sA(e)?ge.noncharacterCharacterReference:iA(e)||e===B.CARRIAGE_RETURN?ge.controlCharacterReference:null}class gQ{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=q.DATA,this.returnState=q.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new tQ(n),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new uQ(nQ,(r,a)=>{this.preprocessor.pos=this.entityStartPos+a-1,this._flushCodePointConsumedAsCharacterReference(r)},n.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(ge.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:r=>{this._err(ge.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+r)}
vendor: 7,293 bytes, line 558
558,validateNumericCharacterReference:r=>{const a=pQ(r);a&&this._err(a,1)}}:void 0)}_err(t,n=0){var r,a;(a=(r=this.handler).onParseError)===null||a===void 0||a.call(r,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?.())}write(t,n,r){this.active=!0,this.preprocessor.write(t,n),this._runParsingLoop(),this.paused||r?.()}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:lt.START_TAG,tagName:"",tagID:E.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:lt.END_TAG,tagName:"",tagID:E.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:lt.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:lt.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 r=this.currentToken;if(oA(r,this.currentAttr.name)===null){if(r.attrs.push(this.currentAttr),r.location&&this.currentLocation){const a=(t=(n=r.location).attrs)!==null&&t!==void 0?t:n.attrs=Object.create(null);a[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(ge.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=_u(t.tagName),t.type===lt.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(ge.endTagWithAttributes),t.selfClosing&&this._err(ge.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 lt.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case lt.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case lt.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:lt.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=lA(t)?lt.WHITESPACE_CHARACTER:t===B.NULL?lt.NULL_CHARACTER:lt.CHARACTER;this._appendCharToCurrentCharacterToken(n,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(lt.CHARACTER,t)}_startCharacterReference(){this.returnState=this.state,this.state=q.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?Bi.Attribute:Bi.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===q.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===q.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===q.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case q.DATA:{this._stateData(t);break}case q.RCDATA:{this._stateRcdata(t);break}case q.RAWTEXT:{this._stateRawtext(t);break}case q.SCRIPT_DATA:{this._stateScriptData(t);break}case q.PLAINTEXT:{this._statePlaintext(t);break}case q.TAG_OPEN:{this._stateTagOpen(t);break}case q.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case q.TAG_NAME:{this._stateTagName(t);break}case q.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case q.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case q.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case q.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case q.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case q.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case q.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case q.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case q.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case q.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case q.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case q.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case q.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case q.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case q.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case q.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case q.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case q.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscape
vendor: 5,361 bytes, line 558
558Start(t);break}case q.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case q.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case q.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case q.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case q.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case q.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case q.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case q.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case q.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case q.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case q.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case q.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case q.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case q.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case q.BOGUS_COMMENT:{this._stateBogusComment(t);break}case q.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case q.COMMENT_START:{this._stateCommentStart(t);break}case q.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case q.COMMENT:{this._stateComment(t);break}case q.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case q.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case q.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case q.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case q.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case q.COMMENT_END:{this._stateCommentEnd(t);break}case q.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case q.DOCTYPE:{this._stateDoctype(t);break}case q.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case q.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case q.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case q.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case q.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case q.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case q.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case q.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case q.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case q.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case q.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case q.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case q.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case q.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case q.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case q.CDATA_SECTION:{this._stateCdataSection(t);break}case q.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case q.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case q.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case q.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case B.LESS_THAN_SIGN:{this.state=q.TAG_OPEN;break}case B.AMPERSAND:{this._startCharacterReference();break}case B.NULL:{this._err(ge.unexpectedNullCharacter),this._emitCodePoint(t);break}case B.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case B.AMPERSAND:{this._startCharacterReference();break}case B.LESS_THAN_SIGN:{this.state=q.RCDATA_LESS_THAN_SIGN;break}case B.NULL:{this._err(ge.unexpectedNullCharacter),this._emitChars(Gt);break}case B.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case B.LESS_THAN_SIGN:{this.state=q.RAWTEXT_LESS_THAN_SIGN;break}case B.NULL:{this._err(ge.unexpectedNullCharacter),this._emitChars(Gt);break}case B.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case B.LESS_THAN_SIGN:{this.state=q.SCRIPT_DATA_LESS_THAN_SIGN;break}case B.NULL:{this._err(ge.unexpectedNullCharacter),this._emitChars(Gt);break}case B.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case B.NULL:{this._err(ge.unexpectedNullCharacter),this._emitChars(Gt);break}case B.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(ks(t))this._createStartTagToken(),this.state=q.TAG_NAME,this._stateTagName(t);else switch(t){case B.EXCLAMATION_MARK:{this.state=q.MARKUP_DECLARATION_OPEN;break}case B.SOLIDUS:{this.state=q.END_TAG_OPEN;break}case B.QUESTION_MARK:{this._err(ge.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=q.BOGUS_COMMENT,this._stateBogusComment(t);break}case B.EOF:{this._err(ge.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}
vendor: 98,751 bytes, line 558
558default:this._err(ge.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=q.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(ks(t))this._createEndTagToken(),this.state=q.TAG_NAME,this._stateTagName(t);else switch(t){case B.GREATER_THAN_SIGN:{this._err(ge.missingEndTagName),this.state=q.DATA;break}case B.EOF:{this._err(ge.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(ge.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=q.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const n=this.currentToken;switch(t){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this.state=q.BEFORE_ATTRIBUTE_NAME;break}case B.SOLIDUS:{this.state=q.SELF_CLOSING_START_TAG;break}case B.GREATER_THAN_SIGN:{this.state=q.DATA,this.emitCurrentTagToken();break}case B.NULL:{this._err(ge.unexpectedNullCharacter),n.tagName+=Gt;break}case B.EOF:{this._err(ge.eofInTag),this._emitEOFToken();break}default:n.tagName+=String.fromCodePoint(Dc(t)?Af(t):t)}}_stateRcdataLessThanSign(t){t===B.SOLIDUS?this.state=q.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=q.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){ks(t)?(this.state=q.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=q.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 B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=q.BEFORE_ATTRIBUTE_NAME,!1;case B.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=q.SELF_CLOSING_START_TAG,!1;case B.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=q.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=q.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===B.SOLIDUS?this.state=q.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=q.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){ks(t)?(this.state=q.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=q.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=q.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case B.SOLIDUS:{this.state=q.SCRIPT_DATA_END_TAG_OPEN;break}case B.EXCLAMATION_MARK:{this.state=q.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=q.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){ks(t)?(this.state=q.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=q.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=q.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===B.HYPHEN_MINUS?(this.state=q.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=q.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===B.HYPHEN_MINUS?(this.state=q.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=q.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case B.HYPHEN_MINUS:{this.state=q.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case B.LESS_THAN_SIGN:{this.state=q.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case B.NULL:{this._err(ge.unexpectedNullCharacter),this._emitChars(Gt);break}case B.EOF:{this._err(ge.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case B.HYPHEN_MINUS:{this.state=q.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case B.LESS_THAN_SIGN:{this.state=q.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case B.NULL:{this._err(ge.unexpectedNullCharacter),this.state=q.SCRIPT_DATA_ESCAPED,this._emitChars(Gt);break}case B.EOF:{this._err(ge.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=q.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case B.HYPHEN_MINUS:{this._emitChars("-");break}case B.LESS_THAN_SIGN:{this.state=q.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case B.GREATER_THAN_SIGN:{this.state=q.SCRIPT_DATA,this._emitChars(">");break}case B.NULL:{this._err(ge.unexpectedNullCharacter),this.state=q.SCRIPT_DATA_ESCAPED,this._emitChars(Gt);break}case B.EOF:{this._err(ge.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=q.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===B.SOLIDUS?this.state=q.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:ks(t)?(this._emitChars("<"),this.state=q.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=q.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){ks(t)?(this.state=q.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=q.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=q.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(Tr.SCRIPT,!1)&&O8(this.preprocessor.peek(Tr.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<Tr.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=q.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case B.HYPHEN_MINUS:{this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case B.LESS_THAN_SIGN:{this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case B.NULL:{this._err(ge.unexpectedNullCharacter),this._emitChars(Gt);break}case B.EOF:{this._err(ge.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case B.HYPHEN_MINUS:{this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case B.LESS_THAN_SIGN:{this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case B.NULL:{this._err(ge.unexpectedNullCharacter),this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Gt);break}case B.EOF:{this._err(ge.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case B.HYPHEN_MINUS:{this._emitChars("-");break}case B.LESS_THAN_SIGN:{this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case B.GREATER_THAN_SIGN:{this.state=q.SCRIPT_DATA,this._emitChars(">");break}case B.NULL:{this._err(ge.unexpectedNullCharacter),this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Gt);break}case B.EOF:{this._err(ge.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===B.SOLIDUS?(this.state=q.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(Tr.SCRIPT,!1)&&O8(this.preprocessor.peek(Tr.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<Tr.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=q.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.SOLIDUS:case B.GREATER_THAN_SIGN:case B.EOF:{this.state=q.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case B.EQUALS_SIGN:{this._err(ge.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=q.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=q.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:case B.SOLIDUS:case B.GREATER_THAN_SIGN:case B.EOF:{this._leaveAttrName(),this.state=q.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case B.EQUALS_SIGN:{this._leaveAttrName(),this.state=q.BEFORE_ATTRIBUTE_VALUE;break}case B.QUOTATION_MARK:case B.APOSTROPHE:case B.LESS_THAN_SIGN:{this._err(ge.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case B.NULL:{this._err(ge.unexpectedNullCharacter),this.currentAttr.name+=Gt;break}default:this.currentAttr.name+=String.fromCodePoint(Dc(t)?Af(t):t)}}_stateAfterAttributeName(t){switch(t){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.SOLIDUS:{this.state=q.SELF_CLOSING_START_TAG;break}case B.EQUALS_SIGN:{this.state=q.BEFORE_ATTRIBUTE_VALUE;break}case B.GREATER_THAN_SIGN:{this.state=q.DATA,this.emitCurrentTagToken();break}case B.EOF:{this._err(ge.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=q.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.QUOTATION_MARK:{this.state=q.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case B.APOSTROPHE:{this.state=q.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case B.GREATER_THAN_SIGN:{this._err(ge.missingAttributeValue),this.state=q.DATA,this.emitCurrentTagToken();break}default:this.state=q.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case B.QUOTATION_MARK:{this.state=q.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case B.AMPERSAND:{this._startCharacterReference();break}case B.NULL:{this._err(ge.unexpectedNullCharacter),this.currentAttr.value+=Gt;break}case B.EOF:{this._err(ge.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case B.APOSTROPHE:{this.state=q.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case B.AMPERSAND:{this._startCharacterReference();break}case B.NULL:{this._err(ge.unexpectedNullCharacter),this.currentAttr.value+=Gt;break}case B.EOF:{this._err(ge.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this._leaveAttrValue(),this.state=q.BEFORE_ATTRIBUTE_NAME;break}case B.AMPERSAND:{this._startCharacterReference();break}case B.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=q.DATA,this.emitCurrentTagToken();break}case B.NULL:{this._err(ge.unexpectedNullCharacter),this.currentAttr.value+=Gt;break}case B.QUOTATION_MARK:case B.APOSTROPHE:case B.LESS_THAN_SIGN:case B.EQUALS_SIGN:case B.GRAVE_ACCENT:{this._err(ge.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case B.EOF:{this._err(ge.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this._leaveAttrValue(),this.state=q.BEFORE_ATTRIBUTE_NAME;break}case B.SOLIDUS:{this._leaveAttrValue(),this.state=q.SELF_CLOSING_START_TAG;break}case B.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=q.DATA,this.emitCurrentTagToken();break}case B.EOF:{this._err(ge.eofInTag),this._emitEOFToken();break}default:this._err(ge.missingWhitespaceBetweenAttributes),this.state=q.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case B.GREATER_THAN_SIGN:{const n=this.currentToken;n.selfClosing=!0,this.state=q.DATA,this.emitCurrentTagToken();break}case B.EOF:{this._err(ge.eofInTag),this._emitEOFToken();break}default:this._err(ge.unexpectedSolidusInTag),this.state=q.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const n=this.currentToken;switch(t){case B.GREATER_THAN_SIGN:{this.state=q.DATA,this.emitCurrentComment(n);break}case B.EOF:{this.emitCurrentComment(n),this._emitEOFToken();break}case B.NULL:{this._err(ge.unexpectedNullCharacter),n.data+=Gt;break}default:n.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(Tr.DASH_DASH,!0)?(this._createCommentToken(Tr.DASH_DASH.length+1),this.state=q.COMMENT_START):this._consumeSequenceIfMatch(Tr.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(Tr.DOCTYPE.length+1),this.state=q.DOCTYPE):this._consumeSequenceIfMatch(Tr.CDATA_START,!0)?this.inForeignNode?this.state=q.CDATA_SECTION:(this._err(ge.cdataInHtmlContent),this._createCommentToken(Tr.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=q.BOGUS_COMMENT):this._ensureHibernation()||(this._err(ge.incorrectlyOpenedComment),this._createCommentToken(2),this.state=q.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case B.HYPHEN_MINUS:{this.state=q.COMMENT_START_DASH;break}case B.GREATER_THAN_SIGN:{this._err(ge.abruptClosingOfEmptyComment),this.state=q.DATA;const n=this.currentToken;this.emitCurrentComment(n);break}default:this.state=q.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const n=this.currentToken;switch(t){case B.HYPHEN_MINUS:{this.state=q.COMMENT_END;break}case B.GREATER_THAN_SIGN:{this._err(ge.abruptClosingOfEmptyComment),this.state=q.DATA,this.emitCurrentComment(n);break}case B.EOF:{this._err(ge.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=q.COMMENT,this._stateComment(t)}}_stateComment(t){const n=this.currentToken;switch(t){case B.HYPHEN_MINUS:{this.state=q.COMMENT_END_DASH;break}case B.LESS_THAN_SIGN:{n.data+="<",this.state=q.COMMENT_LESS_THAN_SIGN;break}case B.NULL:{this._err(ge.unexpectedNullCharacter),n.data+=Gt;break}case B.EOF:{this._err(ge.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const n=this.currentToken;switch(t){case B.EXCLAMATION_MARK:{n.data+="!",this.state=q.COMMENT_LESS_THAN_SIGN_BANG;break}case B.LESS_THAN_SIGN:{n.data+="<";break}default:this.state=q.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===B.HYPHEN_MINUS?this.state=q.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=q.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===B.HYPHEN_MINUS?this.state=q.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=q.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==B.GREATER_THAN_SIGN&&t!==B.EOF&&this._err(ge.nestedComment),this.state=q.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const n=this.currentToken;switch(t){case B.HYPHEN_MINUS:{this.state=q.COMMENT_END;break}case B.EOF:{this._err(ge.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="-",this.state=q.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const n=this.currentToken;switch(t){case B.GREATER_THAN_SIGN:{this.state=q.DATA,this.emitCurrentComment(n);break}case B.EXCLAMATION_MARK:{this.state=q.COMMENT_END_BANG;break}case B.HYPHEN_MINUS:{n.data+="-";break}case B.EOF:{this._err(ge.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--",this.state=q.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const n=this.currentToken;switch(t){case B.HYPHEN_MINUS:{n.data+="--!",this.state=q.COMMENT_END_DASH;break}case B.GREATER_THAN_SIGN:{this._err(ge.incorrectlyClosedComment),this.state=q.DATA,this.emitCurrentComment(n);break}case B.EOF:{this._err(ge.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--!",this.state=q.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this.state=q.BEFORE_DOCTYPE_NAME;break}case B.GREATER_THAN_SIGN:{this.state=q.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case B.EOF:{this._err(ge.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(ge.missingWhitespaceBeforeDoctypeName),this.state=q.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(Dc(t))this._createDoctypeToken(String.fromCharCode(Af(t))),this.state=q.DOCTYPE_NAME;else switch(t){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.NULL:{this._err(ge.unexpectedNullCharacter),this._createDoctypeToken(Gt),this.state=q.DOCTYPE_NAME;break}case B.GREATER_THAN_SIGN:{this._err(ge.missingDoctypeName),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=q.DATA;break}case B.EOF:{this._err(ge.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=q.DOCTYPE_NAME}}_stateDoctypeName(t){const n=this.currentToken;switch(t){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this.state=q.AFTER_DOCTYPE_NAME;break}case B.GREATER_THAN_SIGN:{this.state=q.DATA,this.emitCurrentDoctype(n);break}case B.NULL:{this._err(ge.unexpectedNullCharacter),n.name+=Gt;break}case B.EOF:{this._err(ge.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.name+=String.fromCodePoint(Dc(t)?Af(t):t)}}_stateAfterDoctypeName(t){const n=this.currentToken;switch(t){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.GREATER_THAN_SIGN:{this.state=q.DATA,this.emitCurrentDoctype(n);break}case B.EOF:{this._err(ge.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(Tr.PUBLIC,!1)?this.state=q.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(Tr.SYSTEM,!1)?this.state=q.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(ge.invalidCharacterSequenceAfterDoctypeName),n.forceQuirks=!0,this.state=q.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const n=this.currentToken;switch(t){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this.state=q.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case B.QUOTATION_MARK:{this._err(ge.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=q.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case B.APOSTROPHE:{this._err(ge.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=q.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case B.GREATER_THAN_SIGN:{this._err(ge.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=q.DATA,this.emitCurrentDoctype(n);break}case B.EOF:{this._err(ge.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(ge.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=q.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.QUOTATION_MARK:{n.publicId="",this.state=q.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case B.APOSTROPHE:{n.publicId="",this.state=q.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case B.GREATER_THAN_SIGN:{this._err(ge.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=q.DATA,this.emitCurrentDoctype(n);break}case B.EOF:{this._err(ge.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(ge.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=q.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case B.QUOTATION_MARK:{this.state=q.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case B.NULL:{this._err(ge.unexpectedNullCharacter),n.publicId+=Gt;break}case B.GREATER_THAN_SIGN:{this._err(ge.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=q.DATA;break}case B.EOF:{this._err(ge.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 B.APOSTROPHE:{this.state=q.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case B.NULL:{this._err(ge.unexpectedNullCharacter),n.publicId+=Gt;break}case B.GREATER_THAN_SIGN:{this._err(ge.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=q.DATA;break}case B.EOF:{this._err(ge.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 B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this.state=q.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case B.GREATER_THAN_SIGN:{this.state=q.DATA,this.emitCurrentDoctype(n);break}case B.QUOTATION_MARK:{this._err(ge.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=q.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case B.APOSTROPHE:{this._err(ge.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=q.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case B.EOF:{this._err(ge.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(ge.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=q.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const n=this.currentToken;switch(t){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=q.DATA;break}case B.QUOTATION_MARK:{n.systemId="",this.state=q.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case B.APOSTROPHE:{n.systemId="",this.state=q.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case B.EOF:{this._err(ge.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(ge.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=q.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const n=this.currentToken;switch(t){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:{this.state=q.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case B.QUOTATION_MARK:{this._err(ge.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=q.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case B.APOSTROPHE:{this._err(ge.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=q.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case B.GREATER_THAN_SIGN:{this._err(ge.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=q.DATA,this.emitCurrentDoctype(n);break}case B.EOF:{this._err(ge.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(ge.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=q.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.QUOTATION_MARK:{n.systemId="",this.state=q.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case B.APOSTROPHE:{n.systemId="",this.state=q.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case B.GREATER_THAN_SIGN:{this._err(ge.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=q.DATA,this.emitCurrentDoctype(n);break}case B.EOF:{this._err(ge.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(ge.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=q.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case B.QUOTATION_MARK:{this.state=q.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case B.NULL:{this._err(ge.unexpectedNullCharacter),n.systemId+=Gt;break}case B.GREATER_THAN_SIGN:{this._err(ge.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=q.DATA;break}case B.EOF:{this._err(ge.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 B.APOSTROPHE:{this.state=q.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case B.NULL:{this._err(ge.unexpectedNullCharacter),n.systemId+=Gt;break}case B.GREATER_THAN_SIGN:{this._err(ge.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=q.DATA;break}case B.EOF:{this._err(ge.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 B.SPACE:case B.LINE_FEED:case B.TABULATION:case B.FORM_FEED:break;case B.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=q.DATA;break}case B.EOF:{this._err(ge.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(ge.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=q.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const n=this.currentToken;switch(t){case B.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=q.DATA;break}case B.NULL:{this._err(ge.unexpectedNullCharacter);break}case B.EOF:{this.emitCurrentDoctype(n),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case B.RIGHT_SQUARE_BRACKET:{this.state=q.CDATA_SECTION_BRACKET;break}case B.EOF:{this._err(ge.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===B.RIGHT_SQUARE_BRACKET?this.state=q.CDATA_SECTION_END:(this._emitChars("]"),this.state=q.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case B.GREATER_THAN_SIGN:{this.state=q.DATA;break}case B.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=q.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(B.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&R8(this.preprocessor.peek(1))?q.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){R8(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===B.SEMICOLON&&this._err(ge.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}}const uA=new Set([E.DD,E.DT,E.LI,E.OPTGROUP,E.OPTION,E.P,E.RB,E.RP,E.RT,E.RTC]),D8=new Set([...uA,E.CAPTION,E.COLGROUP,E.TBODY,E.TD,E.TFOOT,E.TH,E.THEAD,E.TR]),hh=new Set([E.APPLET,E.CAPTION,E.HTML,E.MARQUEE,E.OBJECT,E.TABLE,E.TD,E.TEMPLATE,E.TH]),bQ=new Set([...hh,E.OL,E.UL]),yQ=new Set([...hh,E.BUTTON]),I8=new Set([E.ANNOTATION_XML,E.MI,E.MN,E.MO,E.MS,E.MTEXT]),L8=new Set([E.DESC,E.FOREIGN_OBJECT,E.TITLE]),vQ=new Set([E.TR,E.TEMPLATE,E.HTML]),xQ=new Set([E.TBODY,E.TFOOT,E.THEAD,E.TEMPLATE,E.HTML]),EQ=new Set([E.TABLE,E.TEMPLATE,E.HTML]),_Q=new Set([E.TD,E.TH]);class TQ{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,n,r){this.treeAdapter=n,this.handler=r,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 r=this._indexOf(t);this.items[r]=n,r===this.stackTop&&(this.current=n)}insertAfter(t,n,r){const a=this._indexOf(t)+1;this.items.splice(a,0,n),this.tagIDs.splice(a,0,r),this.stackTop++,a===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,a===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 r=this._indexOfTagNames(t,n);this.shortenToLength(Math.max(r,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(cb,Se.HTML)}popUntilTableCellPopped(){this.popUntilPopped(_Q,Se.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(t,n){for(let r=this.stackTop;r>=0;r--)if(t.has(this.tagIDs[r])&&this.treeAdapter.getNamespaceURI(this.items[r])===n)return r;return-1}clearBackTo(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(r+1)}clearBackToTableContext(){this.clearBackTo(EQ,Se.HTML)}clearBackToTableBodyContext(){this.clearBackTo(xQ,Se.HTML)}clearBackToTableRowContext(){this.clearBackTo(vQ,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 r=this.stackTop;r>=0;r--){const a=this.tagIDs[r];switch(this.treeAdapter.getNamespaceURI(this.items[r])){case Se.HTML:{if(a===t)return!0;if(n.has(a))return!1;break}case Se.SVG:{if(L8.has(a))return!1;break}case Se.MATHML:{if(I8.has(a))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,hh)}hasInListItemScope(t){return this.hasInDynamicScope(t,bQ)}hasInButtonScope(t){return this.hasInDynamicScope(t,yQ)}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(cb.has(n))return!0;if(hh.has(n))return!1;break}case Se.SVG:{if(L8.has(n))return!1;break}case Se.MATHML:{if(I8.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&&uA.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&D8.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==void 0&&this.currentTagId!==t&&D8.has(this.currentTagId);)this.pop()}}const Vg=3;var Wa;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(Wa||(Wa={}));const M8={type:Wa.Marker};class wQ{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,n){const r=[],a=n.length,s=this.treeAdapter.getTagName(t),o=this.treeAdapter.getNamespaceURI(t);for(let u=0;u<this.entries.length;u++){const c=this.entries[u];if(c.type===Wa.Marker)break;const{element:f}=c;if(this.treeAdapter.getTagName(f)===s&&this.treeAdapter.getNamespaceURI(f)===o){const p=this.treeAdapter.getAttrList(f);p.length===a&&r.push({idx:u,attrs:p})}}return r}_ensureNoahArkCondition(t){if(this.entries.length<Vg)return;const n=this.treeAdapter.getAttrList(t),r=this._getNoahArkConditionCandidates(t,n);if(r.length<Vg)return;const a=new Map(n.map(o=>[o.name,o.value]));let s=0;for(let o=0;o<r.length;o++){const u=r[o];u.attrs.every(c=>a.get(c.name)===c.value)&&(s+=1,s>=Vg&&this.entries.splice(u.idx,1))}}insertMarker(){this.entries.unshift(M8)}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.unshift({type:Wa.Element,element:t,token:n})}insertElementAfterBookmark(t,n){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:Wa.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(M8);t===-1?this.entries.length=0:this.entries.splice(0,t+1)}getElementEntryInScopeWithTagName(t){const n=this.entries.find(r=>r.type===Wa.Marker||this.treeAdapter.getTagName(r.element)===t);return n&&n.type===Wa.Element?n:null}getElementEntry(t){return this.entries.find(n=>n.type===Wa.Element&&n.element===t)}}const Ns={createDocument(){return{nodeName:"#document",mode:la.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 r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,n,r){const a=e.childNodes.find(s=>s.nodeName==="#documentType");if(a)a.name=t,a.publicId=n,a.systemId=r;else{const s={nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null};Ns.appendChild(e,s)}},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(Ns.isTextNode(n)){n.value+=t;return}}Ns.appendChild(e,Ns.createTextNode(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&Ns.isTextNode(r)?r.value+=t:Ns.insertBefore(e,Ns.createTextNode(t),n)},adoptAttributes(e,t){const n=new Set(e.attrs.map(r=>r.name));for(let r=0;r<t.length;r++)n.has(t[r].name)||e.attrs.push(t[r])},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}}},cA="html",SQ="about:legacy-compat",AQ="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",dA=["+//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//"],CQ=[...dA,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],kQ=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),fA=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],NQ=[...fA,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function P8(e,t){return t.some(n=>e.startsWith(n))}function RQ(e){return e.name===cA&&e.publicId===null&&(e.systemId===null||e.systemId===SQ)}function OQ(e){if(e.name!==cA)return la.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===AQ)return la.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),kQ.has(n))return la.QUIRKS;let r=t===null?CQ:dA;if(P8(n,r))return la.QUIRKS;if(r=t===null?fA:NQ,P8(n,r))return la.LIMITED_QUIRKS}return la.NO_QUIRKS}const B8={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},DQ="definitionurl",IQ="definitionURL",LQ=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])),MQ=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}]]),PQ=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])),BQ=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 zQ(e){const t=e.tagID;return t===E.FONT&&e.attrs.some(({name:r})=>r===No.COLOR||r===No.SIZE||r===No.FACE)||BQ.has(t)}function hA(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===DQ){e.attrs[t].name=IQ;break}}function mA(e){for(let t=0;t<e.attrs.length;t++){const n=LQ.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function J4(e){for(let t=0;t<e.attrs.length;t++){const n=MQ.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 HQ(e){const t=PQ.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=_u(e.tagName))}function jQ(e,t){return t===Se.MATHML&&(e===E.MI||e===E.MO||e===E.MN||e===E.MS||e===E.MTEXT)}function FQ(e,t,n){if(t===Se.MATHML&&e===E.ANNOTATION_XML){for(let r=0;r<n.length;r++)if(n[r].name===No.ENCODING){const a=n[r].value.toLowerCase();return a===B8.TEXT_HTML||a===B8.APPLICATION_XML}}return t===Se.SVG&&(e===E.FOREIGN_OBJECT||e===E.DESC||e===E.TITLE)}function UQ(e,t,n,r){return(!r||r===Se.HTML)&&FQ(e,t,n)||(!r||r===Se.MATHML)&&jQ(e,t)}const qQ="hidden",$Q=8,VQ=3;var W;(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"})(W||(W={}));const GQ={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},pA=new Set([E.TABLE,E.TBODY,E.TFOOT,E.THEAD,E.TR]),z8={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Ns,onParseError:null};class H8{constructor(t,n,r=null,a=null){this.fragmentContext=r,this.scriptHandler=a,this.currentToken=null,this.stopped=!1,this.insertionMode=W.INITIAL,this.originalInsertionMode=W.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={...z8,...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 gQ(this.options,this),this.activeFormattingElements=new wQ(this.treeAdapter),this.fragmentContextID=r?_u(this.treeAdapter.getTagName(r)):E.UNKNOWN,this._setContextModes(r??this.document,this.fragmentContextID),this.openElements=new TQ(this.document,this.treeAdapter,this)}static parse(t,n){const r=new this(n);return r.tokenizer.write(t,!0),r.document}static getFragmentParser(t,n){const r={...z8,...n};t??(t=r.treeAdapter.createElement(ie.TEMPLATE,Se.HTML,[]));const a=r.treeAdapter.createElement("documentmock",Se.HTML,[]),s=new this(r,a,t);return s.fragmentContextID===E.TEMPLATE&&s.tmplInsertionModeStack.unshift(W.IN_TEMPLATE),s._initTokenizerForFragmentParsing(),s._insertFakeRootElement(),s._resetInsertionMode(),s._findFormInFragmentContext(),s}getFragment(){const t=this.treeAdapter.getFirstChild(this.document),n=this.treeAdapter.createDocumentFragment();return this._adoptNodes(t,n),n}_err(t,n,r){var a;if(!this.onParseError)return;const s=(a=t.location)!==null&&a!==void 0?a:GQ,o={code:n,startLine:s.startLine,startCol:s.startCol,startOffset:s.startOffset,endLine:r?s.startLine:s.endLine,endCol:r?s.startCol:s.endCol,endOffset:r?s.startOffset:s.endOffset};this.onParseError(o)}onItemPush(t,n,r){var a,s;(s=(a=this.treeAdapter).onItemPush)===null||s===void 0||s.call(a,t),r&&this.openElements.stackTop>0&&this._setContextModes(t,n)}onItemPop(t,n){var r,a;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(a=(r=this.treeAdapter).onItemPop)===null||a===void 0||a.call(r,t,this.openElements.current),n){let s,o;this.openElements.stackTop===0&&this.fragmentContext?(s=this.fragmentContext,o=this.fragmentContextID):{current:s,currentTagId:o}=this.openElements,this._setContextModes(s,o)}}_setContextModes(t,n){const r=t===this.document||t&&this.treeAdapter.getNamespaceURI(t)===Se.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&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=W.TEXT}switchToPlaintextParsing(){this.insertionMode=W.TEXT,this.originalInsertionMode=W.IN_BODY,this.tokenizer.state=hn.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)===ie.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=hn.RCDATA;break}case E.STYLE:case E.XMP:case E.IFRAME:case E.NOEMBED:case E.NOFRAMES:case E.NOSCRIPT:{this.tokenizer.state=hn.RAWTEXT;break}case E.SCRIPT:{this.tokenizer.state=hn.SCRIPT_DATA;break}case E.PLAINTEXT:{this.tokenizer.state=hn.PLAINTEXT;break}}}_setDocumentType(t){const n=t.name||"",r=t.publicId||"",a=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,n,r,a),t.location){const o=this.treeAdapter.getChildNodes(this.document).find(u=>this.treeAdapter.isDocumentTypeNode(u));o&&this.treeAdapter.setNodeSourceCodeLocation(o,t.location)}}_attachElementToTree(t,n){if(this.options.sourceCodeLocationInfo){const r=n&&{...n,startTag:n};this.treeAdapter.setNodeSourceCodeLocation(t,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const r=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(r??this.document,t)}}_appendElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location)}_insertElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location),this.openElements.push(r,t.tagID)}_insertFakeElement(t,n){const r=this.treeAdapter.createElement(t,Se.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,n)}_insertTemplate(t){const n=this.treeAdapter.createElement(t.tagName,Se.HTML,t.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(n,r),this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(ie.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 r=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(n,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,t.location)}_insertCharacters(t){let n,r;if(this._shouldFosterParentOnInsertion()?({parent:n,beforeElement:r}=this._findFosterParentingLocation(),r?this.treeAdapter.insertTextBefore(n,t.chars,r):this.treeAdapter.insertText(n,t.chars)):(n=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(n,t.chars)),!t.location)return;const a=this.treeAdapter.getChildNodes(n),s=r?a.lastIndexOf(r):a.length,o=a[s-1];if(this.treeAdapter.getNodeSourceCodeLocation(o)){const{endLine:c,endCol:f,endOffset:p}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(o,{endLine:c,endCol:f,endOffset:p})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(o,t.location)}_adoptNodes(t,n){for(let r=this.treeAdapter.getFirstChild(t);r;r=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(n,r)}_setEndLocation(t,n){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&n.location){const r=n.location,a=this.treeAdapter.getTagName(t),s=n.type===lt.END_TAG&&a===n.tagName?{endTag:{...r},endLine:r.endLine,endCol:r.endCol,endOffset:r.endOffset}:{endLine:r.startLine,endCol:r.startCol,endOffset:r.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,s)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let n,r;return this.openElements.stackTop===0&&this.fragmentContext?(n=this.fragmentContext,r=this.fragmentContextID):{current:n,currentTagId:r}=this.openElements,t.tagID===E.SVG&&this.treeAdapter.getTagName(n)===ie.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===Se.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===E.MGLYPH||t.tagID===E.MALIGNMARK)&&r!==void 0&&!this._isIntegrationPoint(r,n,Se.HTML)}_processToken(t){switch(t.type){case lt.CHARACTER:{this.onCharacter(t);break}case lt.NULL_CHARACTER:{this.onNullCharacter(t);break}case lt.COMMENT:{this.onComment(t);break}case lt.DOCTYPE:{this.onDoctype(t);break}case lt.START_TAG:{this._processStartTag(t);break}case lt.END_TAG:{this.onEndTag(t);break}case lt.EOF:{this.onEof(t);break}case lt.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,n,r){const a=this.treeAdapter.getNamespaceURI(n),s=this.treeAdapter.getAttrList(n);return UQ(t,a,s,r)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const n=this.activeFormattingElements.entries.findIndex(a=>a.type===Wa.Marker||this.openElements.contains(a.element)),r=n===-1?t-1:n-1;for(let a=r;a>=0;a--){const s=this.activeFormattingElements.entries[a];this._insertElement(s.token,this.treeAdapter.getNamespaceURI(s.element)),s.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=W.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=W.IN_ROW;return}case E.TBODY:case E.THEAD:case E.TFOOT:{this.insertionMode=W.IN_TABLE_BODY;return}case E.CAPTION:{this.insertionMode=W.IN_CAPTION;return}case E.COLGROUP:{this.insertionMode=W.IN_COLUMN_GROUP;return}case E.TABLE:{this.insertionMode=W.IN_TABLE;return}case E.BODY:{this.insertionMode=W.IN_BODY;return}case E.FRAMESET:{this.insertionMode=W.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?W.AFTER_HEAD:W.BEFORE_HEAD;return}case E.TD:case E.TH:{if(t>0){this.insertionMode=W.IN_CELL;return}break}case E.HEAD:{if(t>0){this.insertionMode=W.IN_HEAD;return}break}}this.insertionMode=W.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let n=t-1;n>0;n--){const r=this.openElements.tagIDs[n];if(r===E.TEMPLATE)break;if(r===E.TABLE){this.insertionMode=W.IN_SELECT_IN_TABLE;return}}this.insertionMode=W.IN_SELECT}_isElementCausesFosterParenting(t){return pA.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 r=this.treeAdapter.getParentNode(n);return r?{parent:r,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 r=this.treeAdapter.getNamespaceURI(t);return fQ[r].has(n)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){_X(this,t);return}switch(this.insertionMode){case W.INITIAL:{Sc(this,t);break}case W.BEFORE_HTML:{Vc(this,t);break}case W.BEFORE_HEAD:{Gc(this,t);break}case W.IN_HEAD:{Yc(this,t);break}case W.IN_HEAD_NO_SCRIPT:{Qc(this,t);break}case W.AFTER_HEAD:{Wc(this,t);break}case W.IN_BODY:case W.IN_CAPTION:case W.IN_CELL:case W.IN_TEMPLATE:{bA(this,t);break}case W.TEXT:case W.IN_SELECT:case W.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case W.IN_TABLE:case W.IN_TABLE_BODY:case W.IN_ROW:{Gg(this,t);break}case W.IN_TABLE_TEXT:{TA(this,t);break}case W.IN_COLUMN_GROUP:{mh(this,t);break}case W.AFTER_BODY:{ph(this,t);break}case W.AFTER_AFTER_BODY:{Yf(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){EX(this,t);return}switch(this.insertionMode){case W.INITIAL:{Sc(this,t);break}case W.BEFORE_HTML:{Vc(this,t);break}case W.BEFORE_HEAD:{Gc(this,t);break}case W.IN_HEAD:{Yc(this,t);break}case W.IN_HEAD_NO_SCRIPT:{Qc(this,t);break}case W.AFTER_HEAD:{Wc(this,t);break}case W.TEXT:{this._insertCharacters(t);break}case W.IN_TABLE:case W.IN_TABLE_BODY:case W.IN_ROW:{Gg(this,t);break}case W.IN_COLUMN_GROUP:{mh(this,t);break}case W.AFTER_BODY:{ph(this,t);break}case W.AFTER_AFTER_BODY:{Yf(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){db(this,t);return}switch(this.insertionMode){case W.INITIAL:case W.BEFORE_HTML:case W.BEFORE_HEAD:case W.IN_HEAD:case W.IN_HEAD_NO_SCRIPT:case W.AFTER_HEAD:case W.IN_BODY:case W.IN_TABLE:case W.IN_CAPTION:case W.IN_COLUMN_GROUP:case W.IN_TABLE_BODY:case W.IN_ROW:case W.IN_CELL:case W.IN_SELECT:case W.IN_SELECT_IN_TABLE:case W.IN_TEMPLATE:case W.IN_FRAMESET:case W.AFTER_FRAMESET:{db(this,t);break}case W.IN_TABLE_TEXT:{Ac(this,t);break}case W.AFTER_BODY:{JQ(this,t);break}case W.AFTER_AFTER_BODY:case W.AFTER_AFTER_FRAMESET:{eW(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case W.INITIAL:{tW(this,t);break}case W.BEFORE_HEAD:case W.IN_HEAD:case W.IN_HEAD_NO_SCRIPT:case W.AFTER_HEAD:{this._err(t,ge.misplacedDoctype);break}case W.IN_TABLE_TEXT:{Ac(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,ge.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?TX(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case W.INITIAL:{Sc(this,t);break}case W.BEFORE_HTML:{nW(this,t);break}case W.BEFORE_HEAD:{aW(this,t);break}case W.IN_HEAD:{Oa(this,t);break}case W.IN_HEAD_NO_SCRIPT:{oW(this,t);break}case W.AFTER_HEAD:{uW(this,t);break}case W.IN_BODY:{rr(this,t);break}case W.IN_TABLE:{cu(this,t);break}case W.IN_TABLE_TEXT:{Ac(this,t);break}case W.IN_CAPTION:{iX(this,t);break}case W.IN_COLUMN_GROUP:{ny(this,t);break}case W.IN_TABLE_BODY:{vm(this,t);break}case W.IN_ROW:{xm(this,t);break}case W.IN_CELL:{lX(this,t);break}case W.IN_SELECT:{AA(this,t);break}case W.IN_SELECT_IN_TABLE:{cX(this,t);break}case W.IN_TEMPLATE:{fX(this,t);break}case W.AFTER_BODY:{mX(this,t);break}case W.IN_FRAMESET:{pX(this,t);break}case W.AFTER_FRAMESET:{bX(this,t);break}case W.AFTER_AFTER_BODY:{vX(this,t);break}case W.AFTER_AFTER_FRAMESET:{xX(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?wX(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case W.INITIAL:{Sc(this,t);break}case W.BEFORE_HTML:{rW(this,t);break}case W.BEFORE_HEAD:{iW(this,t);break}case W.IN_HEAD:{sW(this,t);break}case W.IN_HEAD_NO_SCRIPT:{lW(this,t);break}case W.AFTER_HEAD:{cW(this,t);break}case W.IN_BODY:{ym(this,t);break}case W.TEXT:{WW(this,t);break}case W.IN_TABLE:{f0(this,t);break}case W.IN_TABLE_TEXT:{Ac(this,t);break}case W.IN_CAPTION:{sX(this,t);break}case W.IN_COLUMN_GROUP:{oX(this,t);break}case W.IN_TABLE_BODY:{fb(this,t);break}case W.IN_ROW:{SA(this,t);break}case W.IN_CELL:{uX(this,t);break}case W.IN_SELECT:{CA(this,t);break}case W.IN_SELECT_IN_TABLE:{dX(this,t);break}case W.IN_TEMPLATE:{hX(this,t);break}case W.AFTER_BODY:{NA(this,t);break}case W.IN_FRAMESET:{gX(this,t);break}case W.AFTER_FRAMESET:{yX(this,t);break}case W.AFTER_AFTER_BODY:{Yf(this,t);break}}}onEof(t){switch(this.insertionMode){case W.INITIAL:{Sc(this,t);break}case W.BEFORE_HTML:{Vc(this,t);break}case W.BEFORE_HEAD:{Gc(this,t);break}case W.IN_HEAD:{Yc(this,t);break}case W.IN_HEAD_NO_SCRIPT:{Qc(this,t);break}case W.AFTER_HEAD:{Wc(this,t);break}case W.IN_BODY:case W.IN_TABLE:case W.IN_CAPTION:case W.IN_COLUMN_GROUP:case W.IN_TABLE_BODY:case W.IN_ROW:case W.IN_CELL:case W.IN_SELECT:case W.IN_SELECT_IN_TABLE:{EA(this,t);break}case W.TEXT:{XW(this,t);break}case W.IN_TABLE_TEXT:{Ac(this,t);break}case W.IN_TEMPLATE:{kA(this,t);break}case W.AFTER_BODY:case W.IN_FRAMESET:case W.AFTER_FRAMESET:case W.AFTER_AFTER_BODY:case W.AFTER_AFTER_FRAMESET:{ty(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===B.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 W.IN_HEAD:case W.IN_HEAD_NO_SCRIPT:case W.AFTER_HEAD:case W.TEXT:case W.IN_COLUMN_GROUP:case W.IN_SELECT:case W.IN_SELECT_IN_TABLE:case W.IN_FRAMESET:case W.AFTER_FRAMESET:{this._insertCharacters(t);break}case W.IN_BODY:case W.IN_CAPTION:case W.IN_CELL:case W.IN_TEMPLATE:case W.AFTER_BODY:case W.AFTER_AFTER_BODY:case W.AFTER_AFTER_FRAMESET:{gA(this,t);break}case W.IN_TABLE:case W.IN_TABLE_BODY:case W.IN_ROW:{Gg(this,t);break}case W.IN_TABLE_TEXT:{_A(this,t);break}}}}function YQ(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):xA(e,t),n}function QQ(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){const a=e.openElements.items[r];if(a===t.element)break;e._isSpecialElement(a,e.openElements.tagIDs[r])&&(n=a)}return n||(e.openElements.shortenToLength(Math.max(r,0)),e.activeFormattingElements.removeEntry(t)),n}function WQ(e,t,n){let r=t,a=e.openElements.getCommonAncestor(t);for(let s=0,o=a;o!==n;s++,o=a){a=e.openElements.getCommonAncestor(o);const u=e.activeFormattingElements.getElementEntry(o),c=u&&s>=VQ;!u||c?(c&&e.activeFormattingElements.removeEntry(u),e.openElements.remove(o)):(o=XQ(e,u),r===t&&(e.activeFormattingElements.bookmark=u),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}function XQ(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function KQ(e,t,n){const r=e.treeAdapter.getTagName(t),a=_u(r);if(e._isElementCausesFosterParenting(a))e._fosterParentElement(n);else{const s=e.treeAdapter.getNamespaceURI(t);a===E.TEMPLATE&&s===Se.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function ZQ(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),{token:a}=n,s=e.treeAdapter.createElement(a.tagName,r,a.attrs);e._adoptNodes(t,s),e.treeAdapter.appendChild(t,s),e.activeFormattingElements.insertElementAfterBookmark(s,a),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,s,a.tagID)}function ey(e,t){for(let n=0;n<$Q;n++){const r=YQ(e,t);if(!r)break;const a=QQ(e,r);if(!a)break;e.activeFormattingElements.bookmark=r;const s=WQ(e,a,r.element),o=e.openElements.getCommonAncestor(r.element);e.treeAdapter.detachNode(s),o&&KQ(e,o,s),ZQ(e,a,r)}}function db(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function JQ(e,t){e._appendCommentNode(t,e.openElements.items[0])}function eW(e,t){e._appendCommentNode(t,e.document)}function ty(e,t){if(e.stopped=!0,t.location){const n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const r=e.openElements.items[0],a=e.treeAdapter.getNodeSourceCodeLocation(r);if(a&&!a.endTag&&(e._setEndLocation(r,t),e.openElements.stackTop>=1)){const s=e.openElements.items[1],o=e.treeAdapter.getNodeSourceCodeLocation(s);o&&!o.endTag&&e._setEndLocation(s,t)}}}}function tW(e,t){e._setDocumentType(t);const n=t.forceQuirks?la.QUIRKS:OQ(t);RQ(t)||e._err(t,ge.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=W.BEFORE_HTML}function Sc(e,t){e._err(t,ge.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,la.QUIRKS),e.insertionMode=W.BEFORE_HTML,e._processToken(t)}function nW(e,t){t.tagID===E.HTML?(e._insertElement(t,Se.HTML),e.insertionMode=W.BEFORE_HEAD):Vc(e,t)}function rW(e,t){const n=t.tagID;(n===E.HTML||n===E.HEAD||n===E.BODY||n===E.BR)&&Vc(e,t)}function Vc(e,t){e._insertFakeRootElement(),e.insertionMode=W.BEFORE_HEAD,e._processToken(t)}function aW(e,t){switch(t.tagID){case E.HTML:{rr(e,t);break}case E.HEAD:{e._insertElement(t,Se.HTML),e.headElement=e.openElements.current,e.insertionMode=W.IN_HEAD;break}default:Gc(e,t)}}function iW(e,t){const n=t.tagID;n===E.HEAD||n===E.BODY||n===E.HTML||n===E.BR?Gc(e,t):e._err(t,ge.endTagWithoutMatchingOpenElement)}function Gc(e,t){e._insertFakeElement(ie.HEAD,E.HEAD),e.headElement=e.openElements.current,e.insertionMode=W.IN_HEAD,e._processToken(t)}function Oa(e,t){switch(t.tagID){case E.HTML:{rr(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,hn.RCDATA);break}case E.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,hn.RAWTEXT):(e._insertElement(t,Se.HTML),e.insertionMode=W.IN_HEAD_NO_SCRIPT);break}case E.NOFRAMES:case E.STYLE:{e._switchToTextParsing(t,hn.RAWTEXT);break}case E.SCRIPT:{e._switchToTextParsing(t,hn.SCRIPT_DATA);break}case E.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=W.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(W.IN_TEMPLATE);break}case E.HEAD:{e._err(t,ge.misplacedStartTagForHeadElement);break}default:Yc(e,t)}}function sW(e,t){switch(t.tagID){case E.HEAD:{e.openElements.pop(),e.insertionMode=W.AFTER_HEAD;break}case E.BODY:case E.BR:case E.HTML:{Yc(e,t);break}case E.TEMPLATE:{$o(e,t);break}default:e._err(t,ge.endTagWithoutMatchingOpenElement)}}function $o(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==E.TEMPLATE&&e._err(t,ge.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(E.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,ge.endTagWithoutMatchingOpenElement)}function Yc(e,t){e.openElements.pop(),e.insertionMode=W.AFTER_HEAD,e._processToken(t)}function oW(e,t){switch(t.tagID){case E.HTML:{rr(e,t);break}case E.BASEFONT:case E.BGSOUND:case E.HEAD:case E.LINK:case E.META:case E.NOFRAMES:case E.STYLE:{Oa(e,t);break}case E.NOSCRIPT:{e._err(t,ge.nestedNoscriptInHead);break}default:Qc(e,t)}}function lW(e,t){switch(t.tagID){case E.NOSCRIPT:{e.openElements.pop(),e.insertionMode=W.IN_HEAD;break}case E.BR:{Qc(e,t);break}default:e._err(t,ge.endTagWithoutMatchingOpenElement)}}function Qc(e,t){const n=t.type===lt.EOF?ge.openElementsLeftAfterEof:ge.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=W.IN_HEAD,e._processToken(t)}function uW(e,t){switch(t.tagID){case E.HTML:{rr(e,t);break}case E.BODY:{e._insertElement(t,Se.HTML),e.framesetOk=!1,e.insertionMode=W.IN_BODY;break}case E.FRAMESET:{e._insertElement(t,Se.HTML),e.insertionMode=W.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,ge.abandonedHeadElementChild),e.openElements.push(e.headElement,E.HEAD),Oa(e,t),e.openElements.remove(e.headElement);break}case E.HEAD:{e._err(t,ge.misplacedStartTagForHeadElement);break}default:Wc(e,t)}}function cW(e,t){switch(t.tagID){case E.BODY:case E.HTML:case E.BR:{Wc(e,t);break}case E.TEMPLATE:{$o(e,t);break}default:e._err(t,ge.endTagWithoutMatchingOpenElement)}}function Wc(e,t){e._insertFakeElement(ie.BODY,E.BODY),e.insertionMode=W.IN_BODY,bm(e,t)}function bm(e,t){switch(t.type){case lt.CHARACTER:{bA(e,t);break}case lt.WHITESPACE_CHARACTER:{gA(e,t);break}case lt.COMMENT:{db(e,t);break}case lt.START_TAG:{rr(e,t);break}case lt.END_TAG:{ym(e,t);break}case lt.EOF:{EA(e,t);break}}}function gA(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function bA(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function dW(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function fW(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function hW(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,Se.HTML),e.insertionMode=W.IN_FRAMESET)}function mW(e,t){e.openElements.hasInButtonScope(E.P)&&e._closePElement(),e._insertElement(t,Se.HTML)}function pW(e,t){e.openElements.hasInButtonScope(E.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&cb.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,Se.HTML)}function gW(e,t){e.openElements.hasInButtonScope(E.P)&&e._closePElement(),e._insertElement(t,Se.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function bW(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 yW(e,t){e.framesetOk=!1;const n=t.tagID;for(let r=e.openElements.stackTop;r>=0;r--){const a=e.openElements.tagIDs[r];if(n===E.LI&&a===E.LI||(n===E.DD||n===E.DT)&&(a===E.DD||a===E.DT)){e.openElements.generateImpliedEndTagsWithExclusion(a),e.openElements.popUntilTagNamePopped(a);break}if(a!==E.ADDRESS&&a!==E.DIV&&a!==E.P&&e._isSpecialElement(e.openElements.items[r],a))break}e.openElements.hasInButtonScope(E.P)&&e._closePElement(),e._insertElement(t,Se.HTML)}function vW(e,t){e.openElements.hasInButtonScope(E.P)&&e._closePElement(),e._insertElement(t,Se.HTML),e.tokenizer.state=hn.PLAINTEXT}function xW(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 EW(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(ie.A);n&&(ey(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 _W(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Se.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function TW(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(E.NOBR)&&(ey(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,Se.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function wW(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Se.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function SW(e,t){e.treeAdapter.getDocumentMode(e.document)!==la.QUIRKS&&e.openElements.hasInButtonScope(E.P)&&e._closePElement(),e._insertElement(t,Se.HTML),e.framesetOk=!1,e.insertionMode=W.IN_TABLE}function yA(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,Se.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function vA(e){const t=oA(e,No.TYPE);return t!=null&&t.toLowerCase()===qQ}function AW(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,Se.HTML),vA(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function CW(e,t){e._appendElement(t,Se.HTML),t.ackSelfClosing=!0}function kW(e,t){e.openElements.hasInButtonScope(E.P)&&e._closePElement(),e._appendElement(t,Se.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function NW(e,t){t.tagName=ie.IMG,t.tagID=E.IMG,yA(e,t)}function RW(e,t){e._insertElement(t,Se.HTML),e.skipNextNewLine=!0,e.tokenizer.state=hn.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=W.TEXT}function OW(e,t){e.openElements.hasInButtonScope(E.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,hn.RAWTEXT)}function DW(e,t){e.framesetOk=!1,e._switchToTextParsing(t,hn.RAWTEXT)}function j8(e,t){e._switchToTextParsing(t,hn.RAWTEXT)}function IW(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Se.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===W.IN_TABLE||e.insertionMode===W.IN_CAPTION||e.insertionMode===W.IN_TABLE_BODY||e.insertionMode===W.IN_ROW||e.insertionMode===W.IN_CELL?W.IN_SELECT_IN_TABLE:W.IN_SELECT}function LW(e,t){e.openElements.currentTagId===E.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,Se.HTML)}function MW(e,t){e.openElements.hasInScope(E.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,Se.HTML)}function PW(e,t){e.openElements.hasInScope(E.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(E.RTC),e._insertElement(t,Se.HTML)}function BW(e,t){e._reconstructActiveFormattingElements(),hA(t),J4(t),t.selfClosing?e._appendElement(t,Se.MATHML):e._insertElement(t,Se.MATHML),t.ackSelfClosing=!0}function zW(e,t){e._reconstructActiveFormattingElements(),mA(t),J4(t),t.selfClosing?e._appendElement(t,Se.SVG):e._insertElement(t,Se.SVG),t.ackSelfClosing=!0}function F8(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Se.HTML)}function rr(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:{_W(e,t);break}case E.A:{EW(e,t);break}case E.H1:case E.H2:case E.H3:case E.H4:case E.H5:case E.H6:{pW(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:{mW(e,t);break}case E.LI:case E.DD:case E.DT:{yW(e,t);break}case E.BR:case E.IMG:case E.WBR:case E.AREA:case E.EMBED:case E.KEYGEN:{yA(e,t);break}case E.HR:{kW(e,t);break}case E.RB:case E.RTC:{MW(e,t);break}case E.RT:case E.RP:{PW(e,t);break}case E.PRE:case E.LISTING:{gW(e,t);break}case E.XMP:{OW(e,t);break}case E.SVG:{zW(e,t);break}case E.HTML:{dW(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:{Oa(e,t);break}case E.BODY:{fW(e,t);break}case E.FORM:{bW(e,t);break}case E.NOBR:{TW(e,t);break}case E.MATH:{BW(e,t);break}case E.TABLE:{SW(e,t);break}case E.INPUT:{AW(e,t);break}case E.PARAM:case E.TRACK:case E.SOURCE:{CW(e,t);break}case E.IMAGE:{NW(e,t);break}case E.BUTTON:{xW(e,t);break}case E.APPLET:case E.OBJECT:case E.MARQUEE:{wW(e,t);break}case E.IFRAME:{DW(e,t);break}case E.SELECT:{IW(e,t);break}case E.OPTION:case E.OPTGROUP:{LW(e,t);break}case E.NOEMBED:case E.NOFRAMES:{j8(e,t);break}case E.FRAMESET:{hW(e,t);break}case E.TEXTAREA:{RW(e,t);break}case E.NOSCRIPT:{e.options.scriptingEnabled?j8(e,t):F8(e,t);break}case E.PLAINTEXT:{vW(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:F8(e,t)}}function HW(e,t){if(e.openElements.hasInScope(E.BODY)&&(e.insertionMode=W.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function jW(e,t){e.openElements.hasInScope(E.BODY)&&(e.insertionMode=W.AFTER_BODY,NA(e,t))}function FW(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function UW(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 qW(e){e.openElements.hasInButtonScope(E.P)||e._insertFakeElement(ie.P,E.P),e._closePElement()}function $W(e){e.openElements.hasInListItemScope(E.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(E.LI),e.openElements.popUntilTagNamePopped(E.LI))}function VW(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function GW(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function YW(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function QW(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(ie.BR,E.BR),e.openElements.pop(),e.framesetOk=!1}function xA(e,t){const n=t.tagName,r=t.tagID;for(let a=e.openElements.stackTop;a>0;a--){const s=e.openElements.items[a],o=e.openElements.tagIDs[a];if(r===o&&(r!==E.UNKNOWN||e.treeAdapter.getTagName(s)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=a&&e.openElements.shortenToLength(a);break}if(e._isSpecialElement(s,o))break}}function ym(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:{ey(e,t);break}case E.P:{qW(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:{FW(e,t);break}case E.LI:{$W(e);break}case E.DD:case E.DT:{VW(e,t);break}case E.H1:case E.H2:case E.H3:case E.H4:case E.H5:case E.H6:{GW(e);break}case E.BR:{QW(e);break}case E.BODY:{HW(e,t);break}case E.HTML:{jW(e,t);break}case E.FORM:{UW(e);break}case E.APPLET:case E.OBJECT:case E.MARQUEE:{YW(e,t);break}case E.TEMPLATE:{$o(e,t);break}default:xA(e,t)}}function EA(e,t){e.tmplInsertionModeStack.length>0?kA(e,t):ty(e,t)}function WW(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 XW(e,t){e._err(t,ge.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function Gg(e,t){if(e.openElements.currentTagId!==void 0&&pA.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=W.IN_TABLE_TEXT,t.type){case lt.CHARACTER:{TA(e,t);break}case lt.WHITESPACE_CHARACTER:{_A(e,t);break}}else M0(e,t)}function KW(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,Se.HTML),e.insertionMode=W.IN_CAPTION}function ZW(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,Se.HTML),e.insertionMode=W.IN_COLUMN_GROUP}function JW(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(ie.COLGROUP,E.COLGROUP),e.insertionMode=W.IN_COLUMN_GROUP,ny(e,t)}function eX(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,Se.HTML),e.insertionMode=W.IN_TABLE_BODY}function tX(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(ie.TBODY,E.TBODY),e.insertionMode=W.IN_TABLE_BODY,vm(e,t)}function nX(e,t){e.openElements.hasInTableScope(E.TABLE)&&(e.openElements.popUntilTagNamePopped(E.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function rX(e,t){vA(t)?e._appendElement(t,Se.HTML):M0(e,t),t.ackSelfClosing=!0}function aX(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,Se.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function cu(e,t){switch(t.tagID){case E.TD:case E.TH:case E.TR:{tX(e,t);break}case E.STYLE:case E.SCRIPT:case E.TEMPLATE:{Oa(e,t);break}case E.COL:{JW(e,t);break}case E.FORM:{aX(e,t);break}case E.TABLE:{nX(e,t);break}case E.TBODY:case E.TFOOT:case E.THEAD:{eX(e,t);break}case E.INPUT:{rX(e,t);break}case E.CAPTION:{KW(e,t);break}case E.COLGROUP:{ZW(e,t);break}default:M0(e,t)}}function f0(e,t){switch(t.tagID){case E.TABLE:{e.openElements.hasInTableScope(E.TABLE)&&(e.openElements.popUntilTagNamePopped(E.TABLE),e._resetInsertionMode());break}case E.TEMPLATE:{$o(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:M0(e,t)}}function M0(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,bm(e,t),e.fosterParentingEnabled=n}function _A(e,t){e.pendingCharacterTokens.push(t)}function TA(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function Ac(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)M0(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const wA=new Set([E.CAPTION,E.COL,E.COLGROUP,E.TBODY,E.TD,E.TFOOT,E.TH,E.THEAD,E.TR]);function iX(e,t){const n=t.tagID;wA.has(n)?e.openElements.hasInTableScope(E.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(E.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=W.IN_TABLE,cu(e,t)):rr(e,t)}function sX(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=W.IN_TABLE,n===E.TABLE&&f0(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:ym(e,t)}}function ny(e,t){switch(t.tagID){case E.HTML:{rr(e,t);break}case E.COL:{e._appendElement(t,Se.HTML),t.ackSelfClosing=!0;break}case E.TEMPLATE:{Oa(e,t);break}default:mh(e,t)}}function oX(e,t){switch(t.tagID){case E.COLGROUP:{e.openElements.currentTagId===E.COLGROUP&&(e.openElements.pop(),e.insertionMode=W.IN_TABLE);break}case E.TEMPLATE:{$o(e,t);break}case E.COL:break;default:mh(e,t)}}function mh(e,t){e.openElements.currentTagId===E.COLGROUP&&(e.openElements.pop(),e.insertionMode=W.IN_TABLE,e._processToken(t))}function vm(e,t){switch(t.tagID){case E.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,Se.HTML),e.insertionMode=W.IN_ROW;break}case E.TH:case E.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(ie.TR,E.TR),e.insertionMode=W.IN_ROW,xm(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=W.IN_TABLE,cu(e,t));break}default:cu(e,t)}}function fb(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=W.IN_TABLE);break}case E.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=W.IN_TABLE,f0(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:f0(e,t)}}function xm(e,t){switch(t.tagID){case E.TH:case E.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,Se.HTML),e.insertionMode=W.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=W.IN_TABLE_BODY,vm(e,t));break}default:cu(e,t)}}function SA(e,t){switch(t.tagID){case E.TR:{e.openElements.hasInTableScope(E.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=W.IN_TABLE_BODY);break}case E.TABLE:{e.openElements.hasInTableScope(E.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=W.IN_TABLE_BODY,fb(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=W.IN_TABLE_BODY,fb(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:f0(e,t)}}function lX(e,t){const n=t.tagID;wA.has(n)?(e.openElements.hasInTableScope(E.TD)||e.openElements.hasInTableScope(E.TH))&&(e._closeTableCell(),xm(e,t)):rr(e,t)}function uX(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=W.IN_ROW);break}case E.TABLE:case E.TBODY:case E.TFOOT:case E.THEAD:case E.TR:{e.openElements.hasInTableScope(n)&&(e._closeTableCell(),SA(e,t));break}case E.BODY:case E.CAPTION:case E.COL:case E.COLGROUP:case E.HTML:break;default:ym(e,t)}}function AA(e,t){switch(t.tagID){case E.HTML:{rr(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:{Oa(e,t);break}}}function CA(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:{$o(e,t);break}}}function cX(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)):AA(e,t)}function dX(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)):CA(e,t)}function fX(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:{Oa(e,t);break}case E.CAPTION:case E.COLGROUP:case E.TBODY:case E.TFOOT:case E.THEAD:{e.tmplInsertionModeStack[0]=W.IN_TABLE,e.insertionMode=W.IN_TABLE,cu(e,t);break}case E.COL:{e.tmplInsertionModeStack[0]=W.IN_COLUMN_GROUP,e.insertionMode=W.IN_COLUMN_GROUP,ny(e,t);break}case E.TR:{e.tmplInsertionModeStack[0]=W.IN_TABLE_BODY,e.insertionMode=W.IN_TABLE_BODY,vm(e,t);break}case E.TD:case E.TH:{e.tmplInsertionModeStack[0]=W.IN_ROW,e.insertionMode=W.IN_ROW,xm(e,t);break}default:e.tmplInsertionModeStack[0]=W.IN_BODY,e.insertionMode=W.IN_BODY,rr(e,t)}}function hX(e,t){t.tagID===E.TEMPLATE&&$o(e,t)}function kA(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(E.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):ty(e,t)}function mX(e,t){t.tagID===E.HTML?rr(e,t):ph(e,t)}function NA(e,t){var n;if(t.tagID===E.HTML){if(e.fragmentContext||(e.insertionMode=W.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===E.HTML){e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1];r&&!(!((n=e.treeAdapter.getNodeSourceCodeLocation(r))===null||n===void 0)&&n.endTag)&&e._setEndLocation(r,t)}}else ph(e,t)}function ph(e,t){e.insertionMode=W.IN_BODY,bm(e,t)}function pX(e,t){switch(t.tagID){case E.HTML:{rr(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:{Oa(e,t);break}}}function gX(e,t){t.tagID===E.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==E.FRAMESET&&(e.insertionMode=W.AFTER_FRAMESET))}function bX(e,t){switch(t.tagID){case E.HTML:{rr(e,t);break}case E.NOFRAMES:{Oa(e,t);break}}}function yX(e,t){t.tagID===E.HTML&&(e.insertionMode=W.AFTER_AFTER_FRAMESET)}function vX(e,t){t.tagID===E.HTML?rr(e,t):Yf(e,t)}function Yf(e,t){e.insertionMode=W.IN_BODY,bm(e,t)}function xX(e,t){switch(t.tagID){case E.HTML:{rr(e,t);break}case E.NOFRAMES:{Oa(e,t);break}}}function EX(e,t){t.chars=Gt,e._insertCharacters(t)}function _X(e,t){e._insertCharacters(t),e.framesetOk=!1}function RA(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 TX(e,t){if(zQ(t))RA(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===Se.MATHML?hA(t):r===Se.SVG&&(HQ(t),mA(t)),J4(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function wX(e,t){if(t.tagID===E.P||t.tagID===E.BR){RA(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===Se.HTML){e._endTagOutsideForeignContent(t);break}const a=e.treeAdapter.getTagName(r);if(a.toLowerCase()===t.tagName){t.tagName=a,e.openElements.shortenToLength(n);break}}}ie.AREA,ie.BASE,ie.BASEFONT,ie.BGSOUND,ie.BR,ie.COL,ie.EMBED,ie.FRAME,ie.HR,ie.IMG,ie.INPUT,ie.KEYGEN,ie.LINK,ie.META,ie.PARAM,ie.SOURCE,ie.TRACK,ie.WBR;const SX=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,AX=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),U8={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function OA(e,t){const n=PX(e),r=K4("type",{handlers:{root:CX,element:kX,text:NX,comment:IA,doctype:RX,raw:DX},unknown:IX}),a={parser:n?new H8(U8):H8.getFragmentParser(void 0,U8),handle(u){r(u,a)},stitches:!1,options:t||{}};r(e,a),Tu(a,li());const s=n?a.parser.document:a.parser.getFragment(),o=kY(s,{file:a.options.file});return a.stitches&&Lo(o,"comment",function(u,c,f){const p=u;if(p.value.stitch&&f&&c!==void 0){const m=f.children;return m[c]=p.value.stitch,c}}),o.type==="root"&&o.children.length===1&&o.children[0].type===e.type?o.children[0]:o}function DA(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function CX(e,t){DA(e.children,t)}function kX(e,t){LX(e,t),DA(e.children,t),MX(e,t)}function NX(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const n={type:lt.CHARACTER,chars:e.value,location:P0(e)};Tu(t,li(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function RX(e,t){const n={type:lt.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:P0(e)};Tu(t,li(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function OX(e,t){t.stitches=!0;const n=BX(e);if("children"in e&&"children"in n){const r=OA({type:"root",children:e.children},t.options);n.children=r.children}IA({type:"comment",value:{stitch:n}},t)}function IA(e,t){const n=e.value,r={type:lt.COMMENT,data:n,location:P0(e)};Tu(t,li(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function DX(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,LA(t,li(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(SX,"&lt;$1$2"):e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;const n=t.parser.tokenizer._consume();t.parser.tokenizer._callState(n)}}function IX(e,t){const n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))OX(n,t);else{let r="";throw AX.has(n.type)&&(r=". 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"+r)}}function Tu(e,t){LA(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=hn.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 LA(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 LX(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===hn.PLAINTEXT)return;Tu(t,li(e));const r=t.parser.openElements.current;let a="namespaceURI"in r?r.namespaceURI:Ja.html;a===Ja.html&&n==="svg"&&(a=Ja.svg);const s=qY({...e,children:[]},{space:a===Ja.svg?"svg":"html"}),o={type:lt.START_TAG,tagName:n,tagID:_u(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in s?s.attrs:[],location:P0(e)};t.parser.currentToken=o,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function MX(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&rA.includes(n)||t.parser.tokenizer.state===hn.PLAINTEXT)return;Tu(t,im(e));const r={type:lt.END_TAG,tagName:n,tagID:_u(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:P0(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===hn.RCDATA||t.parser.tokenizer.state===hn.RAWTEXT||t.parser.tokenizer.state===hn.SCRIPT_DATA)&&(t.parser.tokenizer.state=hn.DATA)}function PX(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function P0(e){const t=li(e)||{line:void 0,column:void 0,offset:void 0},n=im(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 BX(e){return"children"in e?lu({...e,children:[]}):lu(e)}function zX(e){return function(t,n){return OA(t,{...e,file:n})}}function gh(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,a=n.indexOf(t);for(;a!==-1;)r++,a=n.indexOf(t,a+t.length);return r}function HX(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function jX(e,t,n){const a=N0((n||{}).ignore||[]),s=FX(t);let o=-1;for(;++o<s.length;)A4(e,"text",u);function u(f,p){let m=-1,b;for(;++m<p.length;){const y=p[m],_=b?b.children:void 0;if(a(y,_?_.indexOf(y):void 0,b))return;b=y}if(b)return c(f,p)}function c(f,p){const m=p[p.length-1],b=s[o][0],y=s[o][1];let _=0;const k=m.children.indexOf(f);let A=!1,R=[];b.lastIndex=0;let D=b.exec(f.value);for(;D;){const F=D.index,H={index:D.index,input:D.input,stack:[...p,f]};let P=y(...D,H);if(typeof P=="string"&&(P=P.length>0?{type:"text",value:P}:void 0),P===!1?b.lastIndex=F+1:(_!==F&&R.push({type:"text",value:f.value.slice(_,F)}),Array.isArray(P)?R.push(...P):P&&R.push(P),_=F+D[0].length,A=!0),!b.global)break;D=b.exec(f.value)}return A?(_<f.value.length&&R.push({type:"text",value:f.value.slice(_)}),m.children.splice(k,1,...R)):R=[f],k+R.length}}function FX(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 r=-1;for(;++r<n.length;){const a=n[r];t.push([UX(a[0]),qX(a[1])])}return t}function UX(e){return typeof e=="string"?new RegExp(HX(e),"g"):e}function qX(e){return typeof e=="function"?e:function(){return e}}const Yg="phrasing",Qg=["autolink","link","image","label"];function $X(){return{transforms:[KX],enter:{literalAutolink:GX,literalAutolinkEmail:Wg,literalAutolinkHttp:Wg,literalAutolinkWww:Wg},exit:{literalAutolink:XX,literalAutolinkEmail:WX,literalAutolinkHttp:YX,literalAutolinkWww:QX}}}function VX(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Yg,notInConstruct:Qg},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Yg,notInConstruct:Qg},{character:":",before:"[ps]",after:"\\/",inConstruct:Yg,notInConstruct:Qg}]}}function GX(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function Wg(e){this.config.enter.autolinkProtocol.call(this,e)}function YX(e){this.config.exit.autolinkProtocol.call(this,e)}function QX(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 WX(e){this.config.exit.autolinkEmail.call(this,e)}function XX(e){this.exit(e)}function KX(e){jX(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,ZX],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S}
558)([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),JX]],{ignore:["link","linkReference"]})}function ZX(e,t,n,r,a){let s="";if(!MA(a)||(/^w/i.test(t)&&(n=t+n,t="",s="http://"),!eK(n)))return!1;const o=tK(n+r);if(!o[0])return!1;const u={type:"link",title:null,url:s+t+o[0],children:[{type:"text",value:t+o[0]}]};return o[1]?[u,{type:"text",value:o[1]}]:u}function JX(e,t,n,r){return!MA(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function eK(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 tK(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const a=gh(e,"(");let s=gh(e,")");for(;r!==-1&&a>s;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),s++;return[e,n]}function MA(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||Io(n)||sm(n))&&(!t||n!==47)}PA.peek=cK;function nK(){this.buffer()}function rK(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function aK(){this.buffer()}function iK(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function sK(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Sa(this.sliceSerialize(e)).toLowerCase(),n.label=t}function oK(e){this.exit(e)}function lK(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Sa(this.sliceSerialize(e)).toLowerCase(),n.label=t}function uK(e){this.exit(e)}function cK(){return"["}function PA(e,t,n,r){const a=n.createTracker(r);let s=a.move("[^");const o=n.enter("footnoteReference"),u=n.enter("reference");return s+=a.move(n.safe(n.associationId(e),{after:"]",before:s})),u(),o(),s+=a.move("]"),s}function dK(){return{enter:{gfmFootnoteCallString:nK,gfmFootnoteCall:rK,gfmFootnoteDefinitionLabelString:aK,gfmFootnoteDefinition:iK},exit:{gfmFootnoteCallString:sK,gfmFootnoteCall:oK,gfmFootnoteDefinitionLabelString:lK,gfmFootnoteDefinition:uK}}}function fK(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:PA},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function n(r,a,s,o){const u=s.createTracker(o);let c=u.move("[^");const f=s.enter("footnoteDefinition"),p=s.enter("label");return c+=u.move(s.safe(s.associationId(r),{before:c,after:"]"})),p(),c+=u.move("]:"),r.children&&r.children.length>0&&(u.shift(4),c+=u.move((t?`
559`:" ")+s.indentLines(s.containerFlow(r,u.current()),t?BA:hK))),f(),c}}function hK(e,t,n){return t===0?e:BA(e,t,n)}function BA(e,t,n){return(n?"":"    ")+e}const mK=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];zA.peek=vK;function pK(){return{canContainEols:["delete"],enter:{strikethrough:bK},exit:{strikethrough:yK}}}function gK(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:mK}],handlers:{delete:zA}}}function bK(e){this.enter({type:"delete",children:[]},e)}function yK(e){this.exit(e)}function zA(e,t,n,r){const a=n.createTracker(r),s=n.enter("strikethrough");let o=a.move("~~");return o+=n.containerPhrasing(e,{...a.current(),before:o,after:"~"}),o+=a.move("~~"),s(),o}function vK(){return"~"}function xK(e){return e.length}function EK(e,t){const n=t||{},r=(n.align||[]).concat(),a=n.stringLength||xK,s=[],o=[],u=[],c=[];let f=0,p=-1;for(;++p<e.length;){const w=[],k=[];let A=-1;for(e[p].length>f&&(f=e[p].length);++A<e[p].length;){const R=_K(e[p][A]);if(n.alignDelimiters!==!1){const D=a(R);k[A]=D,(c[A]===void 0||D>c[A])&&(c[A]=D)}w.push(R)}o[p]=w,u[p]=k}let m=-1;if(typeof r=="object"&&"length"in r)for(;++m<f;)s[m]=q8(r[m]);else{const w=q8(r);for(;++m<f;)s[m]=w}m=-1;const b=[],y=[];for(;++m<f;){const w=s[m];let k="",A="";w===99?(k=":",A=":"):w===108?k=":":w===114&&(A=":");let R=n.alignDelimiters===!1?1:Math.max(1,c[m]-k.length-A.length);const D=k+"-".repeat(R)+A;n.alignDelimiters!==!1&&(R=k.length+R+A.length,R>c[m]&&(c[m]=R),y[m]=R),b[m]=D}o.splice(1,0,b),u.splice(1,0,y),p=-1;const _=[];for(;++p<o.length;){const w=o[p],k=u[p];m=-1;const A=[];for(;++m<f;){const R=w[m]||"";let D="",F="";
vendor: 10,362 bytes, lines 559-571
559if(n.alignDelimiters!==!1){const H=c[m]-(k[m]||0),P=s[m];P===114?D=" ".repeat(H):P===99?H%2?(D=" ".repeat(H/2+.5),F=" ".repeat(H/2-.5)):(D=" ".repeat(H/2),F=D):F=" ".repeat(H)}n.delimiterStart!==!1&&!m&&A.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&R==="")&&(n.delimiterStart!==!1||m)&&A.push(" "),n.alignDelimiters!==!1&&A.push(D),A.push(R),n.alignDelimiters!==!1&&A.push(F),n.padding!==!1&&A.push(" "),(n.delimiterEnd!==!1||m!==f-1)&&A.push("|")}_.push(n.delimiterEnd===!1?A.join("").replace(/ +$/,""):A.join(""))}return _.join(`
560`)}function _K(e){return e==null?"":String(e)}function q8(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}function TK(e,t,n,r){const a=n.enter("blockquote"),s=n.createTracker(r);s.move("> "),s.shift(2);const o=n.indentLines(n.containerFlow(e,s.current()),wK);return a(),o}function wK(e,t,n){return">"+(n?"":" ")+e}function SK(e,t){return $8(e,t.inConstruct,!0)&&!$8(e,t.notInConstruct,!1)}function $8(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function V8(e,t,n,r){let a=-1;for(;++a<n.unsafe.length;)if(n.unsafe[a].character===`
561`&&SK(n.stack,n.unsafe[a]))return/[ \t]/.test(r.before)?"":" ";return`\\
562`}function HA(e,t){const n=String(e);let r=n.indexOf(t),a=r,s=0,o=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;r!==-1;)r===a?++s>o&&(o=s):s=1,a=r+t.length,r=n.indexOf(t,a);return o}function AK(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 CK(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 kK(e,t,n,r){const a=CK(n),s=e.value||"",o=a==="`"?"GraveAccent":"Tilde";if(AK(e,n)){const m=n.enter("codeIndented"),b=n.indentLines(s,NK);return m(),b}const u=n.createTracker(r),c=a.repeat(Math.max(HA(s,a)+1,3)),f=n.enter("codeFenced");let p=u.move(c);if(e.lang){const m=n.enter(`codeFencedLang${o}`);p+=u.move(n.safe(e.lang,{before:p,after:" ",encode:["`"],...u.current()})),m()}if(e.lang&&e.meta){const m=n.enter(`codeFencedMeta${o}`);p+=u.move(" "),p+=u.move(n.safe(e.meta,{before:p,after:`
563`,encode:["`"],...u.current()})),m()}return p+=u.move(`
564`),s&&(p+=u.move(s+`
565`)),p+=u.move(c),f(),p}function NK(e,t,n){return(n?"":"    ")+e}function ry(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 RK(e,t,n,r){const a=ry(n),s=a==='"'?"Quote":"Apostrophe",o=n.enter("definition");let u=n.enter("label");const c=n.createTracker(r);let f=c.move("[");return f+=c.move(n.safe(n.associationId(e),{before:f,after:"]",...c.current()})),f+=c.move("]: "),u(),!e.url||/[\0- \u007F]/.test(e.url)?(u=n.enter("destinationLiteral"),f+=c.move("<"),f+=c.move(n.safe(e.url,{before:f,after:">",...c.current()})),f+=c.move(">")):(u=n.enter("destinationRaw"),f+=c.move(n.safe(e.url,{before:f,after:e.title?" ":`
566`,...c.current()}))),u(),e.title&&(u=n.enter(`title${s}`),f+=c.move(" "+a),f+=c.move(n.safe(e.title,{before:f,after:a,...c.current()})),f+=c.move(a),u()),o(),f}function OK(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 h0(e){return"&#x"+e.toString(16).toUpperCase()+";"}function bh(e,t,n){const r=ou(e),a=ou(t);return r===void 0?a===void 0?n==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:a===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:r===1?a===void 0?{inside:!1,outside:!1}:a===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:a===void 0?{inside:!1,outside:!1}:a===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}jA.peek=DK;function jA(e,t,n,r){const a=OK(n),s=n.enter("emphasis"),o=n.createTracker(r),u=o.move(a);let c=o.move(n.containerPhrasing(e,{after:a,before:u,...o.current()}));const f=c.charCodeAt(0),p=bh(r.before.charCodeAt(r.before.length-1),f,a);p.inside&&(c=h0(f)+c.slice(1));const m=c.charCodeAt(c.length-1),b=bh(r.after.charCodeAt(0),m,a);b.inside&&(c=c.slice(0,-1)+h0(m));const y=o.move(a);return s(),n.attentionEncodeSurroundingInfo={after:b.outside,before:p.outside},u+c+y}function DK(e,t,n){return n.options.emphasis||"*"}function IK(e,t){let n=!1;return Lo(e,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return n=!0,V2}),!!((!e.depth||e.depth<3)&&v4(e)&&(t.options.setext||n))}function LK(e,t,n,r){const a=Math.max(Math.min(6,e.depth||1),1),s=n.createTracker(r);if(IK(e,n)){const p=n.enter("headingSetext"),m=n.enter("phrasing"),b=n.containerPhrasing(e,{...s.current(),before:`
567`,after:`
568`});return m(),p(),b+`
569`+(a===1?"=":"-").repeat(b.length-(Math.max(b.lastIndexOf("\r"),b.lastIndexOf(`
570`))+1))}const o="#".repeat(a),u=n.enter("headingAtx"),c=n.enter("phrasing");s.move(o+" ");let f=n.containerPhrasing(e,{before:"# ",after:`
571`,...s.current()});return/^[\t ]/.test(f)&&(f=h0(f.charCodeAt(0))+f.slice(1)),f=f?o+" "+f:o,n.options.closeAtx&&(f+=" "+o),c(),u(),f}FA.peek=MK;function FA(e){return e.value||""}function MK(){return"<"}UA.peek=PK;function UA(e,t,n,r){const a=ry(n),s=a==='"'?"Quote":"Apostrophe",o=n.enter("image");let u=n.enter("label");const c=n.createTracker(r);let f=c.move("![");return f+=c.move(n.safe(e.alt,{before:f,after:"]",...c.current()})),f+=c.move("]("),u(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(u=n.enter("destinationLiteral"),f+=c.move("<"),f+=c.move(n.safe(e.url,{before:f,after:">",...c.current()})),f+=c.move(">")):(u=n.enter("destinationRaw"),f+=c.move(n.safe(e.url,{before:f,after:e.title?" ":")",...c.current()}))),u(),e.title&&(u=n.enter(`title${s}`),f+=c.move(" "+a),f+=c.move(n.safe(e.title,{before:f,after:a,...c.current()})),f+=c.move(a),u()),f+=c.move(")"),o(),f}function PK(){return"!"}qA.peek=BK;function qA(e,t,n,r){const a=e.referenceType,s=n.enter("imageReference");let o=n.enter("label");const u=n.createTracker(r);let c=u.move("![");const f=n.safe(e.alt,{before:c,after:"]",...u.current()});c+=u.move(f+"]["),o();const p=n.stack;n.stack=[],o=n.enter("reference");const m=n.safe(n.associationId(e),{before:c,after:"]",...u.current()});return o(),n.stack=p,s(),a==="full"||!f||f!==m?c+=u.move(m+"]"):a==="shortcut"?c=c.slice(0,-1):c+=u.move("]"),c}function BK(){return"!"}$A.peek=zK;function $A(e,t,n){let r=e.value||"",a="`",s=-1;for(;new RegExp("(^|[^`])"+a+"([^`]|$)").test(r);)a+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++s<n.unsafe.length;){const o=n.unsafe[s],u=n.compilePattern(o);let c;if(o.atBreak)for(;c=u.exec(r);){let f=c.index;r.charCodeAt(f)===10&&r.charCodeAt(f-1)===13&&f--,r=r.slice(0,f)+" "+r.slice(c.index+1)}}return a+r+a}function zK(){return"`"}function VA(e,t){const n=v4(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))}GA.peek=HK;function GA(e,t,n,r){const a=ry(n),s=a==='"'?"Quote":"Apostrophe",o=n.createTracker(r);let u,c;if(VA(e,n)){const p=n.stack;n.stack=[],u=n.enter("autolink");let m=o.move("<");return m+=o.move(n.containerPhrasing(e,{before:m,after:">",...o.current()})),m+=o.move(">"),u(),n.stack=p,m}u=n.enter("link"),c=n.enter("label");let f=o.move("[");return f+=o.move(n.containerPhrasing(e,{before:f,after:"](",...o.current()})),f+=o.move("]("),c(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(c=n.enter("destinationLiteral"),f+=o.move("<"),f+=o.move(n.safe(e.url,{before:f,after:">",...o.current()})),f+=o.move(">")):(c=n.enter("destinationRaw"),f+=o.move(n.safe(e.url,{before:f,after:e.title?" ":")",...o.current()}))),c(),e.title&&(c=n.enter(`title${s}`),f+=o.move(" "+a),f+=o.move(n.safe(e.title,{before:f,after:a,...o.current()})),f+=o.move(a),c()),f+=o.move(")"),u(),f}function HK(e,t,n){return VA(e,n)?"<":"["}YA.peek=jK;function YA(e,t,n,r){const a=e.referenceType,s=n.enter("linkReference");let o=n.enter("label");const u=n.createTracker(r);let c=u.move("[");const f=n.containerPhrasing(e,{before:c,after:"]",...u.current()});c+=u.move(f+"]["),o();const p=n.stack;n.stack=[],o=n.enter("reference");const m=n.safe(n.associationId(e),{before:c,after:"]",...u.current()});return o(),n.stack=p,s(),a==="full"||!f||f!==m?c+=u.move(m+"]"):a==="shortcut"?c=c.slice(0,-1):c+=u.move("]"),c}function jK(){return"["}function ay(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 FK(e){const t=ay(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 UK(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 QA(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 qK(e,t,n,r){const a=n.enter("list"),s=n.bulletCurrent;let o=e.ordered?UK(n):ay(n);const u=e.ordered?o==="."?")":".":FK(n);let c=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&&(c=!0),QA(n)===o&&p){let m=-1;for(;++m<e.children.length;){const b=e.children[m];if(b&&b.type==="listItem"&&b.children&&b.children[0]&&b.children[0].type==="thematicBreak"){c=!0;break}}}}c&&(o=u),n.bulletCurrent=o;const f=n.containerFlow(e,r);return n.bulletLastUsed=o,n.bulletCurrent=s,a(),f}function $K(e){const t=e.options.listItemIndent||"one";
vendor: 5,906 bytes, lines 571-573
571if(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 VK(e,t,n,r){const a=$K(n);let s=n.bulletCurrent||ay(n);t&&t.type==="list"&&t.ordered&&(s=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+s);let o=s.length+1;(a==="tab"||a==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(o=Math.ceil(o/4)*4);const u=n.createTracker(r);u.move(s+" ".repeat(o-s.length)),u.shift(o);const c=n.enter("listItem"),f=n.indentLines(n.containerFlow(e,u.current()),p);return c(),f;function p(m,b,y){return b?(y?"":" ".repeat(o))+m:(y?s:s+" ".repeat(o-s.length))+m}}function GK(e,t,n,r){const a=n.enter("paragraph"),s=n.enter("phrasing"),o=n.containerPhrasing(e,r);return s(),a(),o}const YK=N0(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function QK(e,t,n,r){return(e.children.some(function(o){return YK(o)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function WK(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}WA.peek=XK;function WA(e,t,n,r){const a=WK(n),s=n.enter("strong"),o=n.createTracker(r),u=o.move(a+a);let c=o.move(n.containerPhrasing(e,{after:a,before:u,...o.current()}));const f=c.charCodeAt(0),p=bh(r.before.charCodeAt(r.before.length-1),f,a);p.inside&&(c=h0(f)+c.slice(1));const m=c.charCodeAt(c.length-1),b=bh(r.after.charCodeAt(0),m,a);b.inside&&(c=c.slice(0,-1)+h0(m));const y=o.move(a+a);return s(),n.attentionEncodeSurroundingInfo={after:b.outside,before:p.outside},u+c+y}function XK(e,t,n){return n.options.strong||"*"}function KK(e,t,n,r){return n.safe(e.value,r)}function ZK(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 JK(e,t,n){const r=(QA(n)+(n.options.ruleSpaces?" ":"")).repeat(ZK(n));return n.options.ruleSpaces?r.slice(0,-1):r}const XA={blockquote:TK,break:V8,code:kK,definition:RK,emphasis:jA,hardBreak:V8,heading:LK,html:FA,image:UA,imageReference:qA,inlineCode:$A,link:GA,linkReference:YA,list:qK,listItem:VK,paragraph:GK,root:QK,strong:WA,text:KK,thematicBreak:JK};function eZ(){return{enter:{table:tZ,tableData:G8,tableHeader:G8,tableRow:rZ},exit:{codeText:aZ,table:nZ,tableData:Xg,tableHeader:Xg,tableRow:Xg}}}function tZ(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 nZ(e){this.exit(e),this.data.inTable=void 0}function rZ(e){this.enter({type:"tableRow",children:[]},e)}function Xg(e){this.exit(e)}function G8(e){this.enter({type:"tableCell",children:[]},e)}function aZ(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,iZ));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function iZ(e,t){return t==="|"?t:e}function sZ(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,a=t.stringLength,s=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
572`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[	 :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:b,table:o,tableCell:c,tableRow:u}};function o(y,_,w,k){return f(p(y,w,k),y.align)}function u(y,_,w,k){const A=m(y,w,k),R=f([A]);return R.slice(0,R.indexOf(`
573`))}function c(y,_,w,k){const A=w.enter("tableCell"),R=w.enter("phrasing"),D=w.containerPhrasing(y,{...k,before:s,after:s});return R(),A(),D}function f(y,_){return EK(y,{align:_,alignDelimiters:r,padding:n,stringLength:a})}function p(y,_,w){const k=y.children;let A=-1;const R=[],D=_.enter("table");for(;++A<k.length;)R[A]=m(k[A],_,w);return D(),R}function m(y,_,w){const k=y.children;let A=-1;const R=[],D=_.enter("tableRow");for(;++A<k.length;)R[A]=c(k[A],y,_,w);return D(),R}function b(y,_,w){let k=XA.inlineCode(y,_,w);return w.stack.includes("tableCell")&&(k=k.replace(/\|/g,"\\$&")),k}}function oZ(){return{exit:{taskListCheckValueChecked:Y8,taskListCheckValueUnchecked:Y8,paragraph:uZ}}}function lZ(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:cZ}}}function Y8(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function uZ(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 r=n.children[0];if(r&&r.type==="text"){const a=t.children;let s=-1,o;for(;++s<a.length;){const u=a[s];if(u.type==="paragraph"){o=u;break}}o===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset=="number"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function cZ(e,t,n,r){const a=e.children[0],s=typeof e.checked=="boolean"&&a&&a.type==="paragraph",o="["+(e.checked?"x":" ")+"] ",u=n.createTracker(r);s&&u.move(o);let c=XA.listItem(e,t,n,{...r,...u.current()});return s&&(c=c.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,f)),c;function f(p){return p+o}}function dZ(){return[$X(),dK(),pK(),eZ(),oZ()]}function fZ(e){return{extensions:[VX(),fK(e),gK(),sZ(e),lZ()]}}const hZ={tokenize:vZ,partial:!0},KA={tokenize:xZ,partial:!0},ZA={tokenize:EZ,partial:!0},JA={tokenize:_Z,partial:!0},mZ={tokenize:TZ,partial:!0},eC={name:"wwwAutolink",tokenize:bZ,previous:nC},tC={name:"protocolAutolink",tokenize:yZ,previous:rC},Wi={name:"emailAutolink",tokenize:gZ,previous:aC},fi={};function pZ(){return{text:fi}}let vo=48;
vendor: 5,130 bytes, line 573
573for(;vo<123;)fi[vo]=Wi,vo++,vo===58?vo=65:vo===91&&(vo=97);fi[43]=Wi;fi[45]=Wi;fi[46]=Wi;fi[95]=Wi;fi[72]=[Wi,tC];fi[104]=[Wi,tC];fi[87]=[Wi,eC];fi[119]=[Wi,eC];function gZ(e,t,n){const r=this;let a,s;return o;function o(m){return!hb(m)||!aC.call(r,r.previous)||iy(r.events)?n(m):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),u(m))}function u(m){return hb(m)?(e.consume(m),u):m===64?(e.consume(m),c):n(m)}function c(m){return m===46?e.check(mZ,p,f)(m):m===45||m===95||tr(m)?(s=!0,e.consume(m),c):p(m)}function f(m){return e.consume(m),a=!0,c}function p(m){return s&&a&&lr(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(m)):n(m)}}function bZ(e,t,n){const r=this;return a;function a(o){return o!==87&&o!==119||!nC.call(r,r.previous)||iy(r.events)?n(o):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(hZ,e.attempt(KA,e.attempt(ZA,s),n),n)(o))}function s(o){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(o)}}function yZ(e,t,n){const r=this;let a="",s=!1;return o;function o(m){return(m===72||m===104)&&rC.call(r,r.previous)&&!iy(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),a+=String.fromCodePoint(m),e.consume(m),u):n(m)}function u(m){if(lr(m)&&a.length<5)return a+=String.fromCodePoint(m),e.consume(m),u;if(m===58){const b=a.toLowerCase();if(b==="http"||b==="https")return e.consume(m),c}return n(m)}function c(m){return m===47?(e.consume(m),s?f:(s=!0,c)):n(m)}function f(m){return m===null||ih(m)||Mt(m)||Io(m)||sm(m)?n(m):e.attempt(KA,e.attempt(ZA,p),n)(m)}function p(m){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(m)}}function vZ(e,t,n){let r=0;return a;function a(o){return(o===87||o===119)&&r<3?(r++,e.consume(o),a):o===46&&r===3?(e.consume(o),s):n(o)}function s(o){return o===null?n(o):t(o)}}function xZ(e,t,n){let r,a,s;return o;function o(f){return f===46||f===95?e.check(JA,c,u)(f):f===null||Mt(f)||Io(f)||f!==45&&sm(f)?c(f):(s=!0,e.consume(f),o)}function u(f){return f===95?r=!0:(a=r,r=void 0),e.consume(f),o}function c(f){return a||r||!s?n(f):t(f)}}function EZ(e,t){let n=0,r=0;return a;function a(o){return o===40?(n++,e.consume(o),a):o===41&&r<n?s(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(JA,t,s)(o):o===null||Mt(o)||Io(o)?t(o):(e.consume(o),a)}function s(o){return o===41&&r++,e.consume(o),a}}function _Z(e,t,n){return r;function r(u){return u===33||u===34||u===39||u===41||u===42||u===44||u===46||u===58||u===59||u===63||u===95||u===126?(e.consume(u),r):u===38?(e.consume(u),s):u===93?(e.consume(u),a):u===60||u===null||Mt(u)||Io(u)?t(u):n(u)}function a(u){return u===null||u===40||u===91||Mt(u)||Io(u)?t(u):r(u)}function s(u){return lr(u)?o(u):n(u)}function o(u){return u===59?(e.consume(u),r):lr(u)?(e.consume(u),o):n(u)}}function TZ(e,t,n){return r;function r(s){return e.consume(s),a}function a(s){return tr(s)?n(s):t(s)}}function nC(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Mt(e)}function rC(e){return!lr(e)}function aC(e){return!(e===47||hb(e))}function hb(e){return e===43||e===45||e===46||e===95||tr(e)}function iy(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type==="labelLink"||r.type==="labelImage")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const wZ={tokenize:DZ,partial:!0};function SZ(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:NZ,continuation:{tokenize:RZ},exit:OZ}},text:{91:{name:"gfmFootnoteCall",tokenize:kZ},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:AZ,resolveTo:CZ}}}}function AZ(e,t,n){const r=this;let a=r.events.length;const s=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o;for(;a--;){const c=r.events[a][1];if(c.type==="labelImage"){o=c;break}if(c.type==="gfmFootnoteCall"||c.type==="labelLink"||c.type==="label"||c.type==="image"||c.type==="link")break}return u;function u(c){if(!o||!o._balanced)return n(c);const f=Sa(r.sliceSerialize({start:o.end,end:r.now()}));return f.codePointAt(0)!==94||!s.includes(f.slice(1))?n(c):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(c),e.exit("gfmFootnoteCallLabelMarker"),t(c))}}function CZ(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 r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;const s={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},s.start),end:Object.assign({},s.end)},u=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",a,t],["exit",a,t],["enter",s,t],["enter",o,t],["exit",o,t],["exit",s,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...u),e}
vendor: 4,231 bytes, line 573
573function kZ(e,t,n){const r=this,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s=0,o;return u;function u(m){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(m),e.exit("gfmFootnoteCallLabelMarker"),c}function c(m){return m!==94?n(m):(e.enter("gfmFootnoteCallMarker"),e.consume(m),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",f)}function f(m){if(s>999||m===93&&!o||m===null||m===91||Mt(m))return n(m);if(m===93){e.exit("chunkString");const b=e.exit("gfmFootnoteCallString");return a.includes(Sa(r.sliceSerialize(b)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(m),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(m)}return Mt(m)||(o=!0),s++,e.consume(m),m===92?p:f}function p(m){return m===91||m===92||m===93?(e.consume(m),s++,f):f(m)}}function NZ(e,t,n){const r=this,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let s,o=0,u;return c;function c(_){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(_),e.exit("gfmFootnoteDefinitionLabelMarker"),f}function f(_){return _===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(_),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",p):n(_)}function p(_){if(o>999||_===93&&!u||_===null||_===91||Mt(_))return n(_);if(_===93){e.exit("chunkString");const w=e.exit("gfmFootnoteDefinitionLabelString");return s=Sa(r.sliceSerialize(w)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(_),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),b}return Mt(_)||(u=!0),o++,e.consume(_),_===92?m:p}function m(_){return _===91||_===92||_===93?(e.consume(_),o++,p):p(_)}function b(_){return _===58?(e.enter("definitionMarker"),e.consume(_),e.exit("definitionMarker"),a.includes(s)||a.push(s),ut(e,y,"gfmFootnoteDefinitionWhitespace")):n(_)}function y(_){return t(_)}}function RZ(e,t,n){return e.check(k0,t,e.attempt(wZ,t,n))}function OZ(e){e.exit("gfmFootnoteDefinition")}function DZ(e,t,n){const r=this;return ut(e,a,"gfmFootnoteDefinitionIndent",5);function a(s){const o=r.events[r.events.length-1];return o&&o[1].type==="gfmFootnoteDefinitionIndent"&&o[2].sliceSerialize(o[1],!0).length===4?t(s):n(s)}}function IZ(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:s,resolveAll:a};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function a(o,u){let c=-1;for(;++c<o.length;)if(o[c][0]==="enter"&&o[c][1].type==="strikethroughSequenceTemporary"&&o[c][1]._close){let f=c;for(;f--;)if(o[f][0]==="exit"&&o[f][1].type==="strikethroughSequenceTemporary"&&o[f][1]._open&&o[c][1].end.offset-o[c][1].start.offset===o[f][1].end.offset-o[f][1].start.offset){o[c][1].type="strikethroughSequence",o[f][1].type="strikethroughSequence";const p={type:"strikethrough",start:Object.assign({},o[f][1].start),end:Object.assign({},o[c][1].end)},m={type:"strikethroughText",start:Object.assign({},o[f][1].end),end:Object.assign({},o[c][1].start)},b=[["enter",p,u],["enter",o[f][1],u],["exit",o[f][1],u],["enter",m,u]],y=u.parser.constructs.insideSpan.null;y&&Vr(b,b.length,0,om(y,o.slice(f+1,c),u)),Vr(b,b.length,0,[["exit",m,u],["enter",o[c][1],u],["exit",o[c][1],u],["exit",p,u]]),Vr(o,f-1,c-f+3,b),c=f+b.length-2;break}}for(c=-1;++c<o.length;)o[c][1].type==="strikethroughSequenceTemporary"&&(o[c][1].type="data");return o}function s(o,u,c){const f=this.previous,p=this.events;let m=0;return b;function b(_){return f===126&&p[p.length-1][1].type!=="characterEscape"?c(_):(o.enter("strikethroughSequenceTemporary"),y(_))}function y(_){const w=ou(f);if(_===126)return m>1?c(_):(o.consume(_),m++,y);if(m<2&&!n)return c(_);const k=o.exit("strikethroughSequenceTemporary"),A=ou(_);return k._open=!A||A===2&&!!w,k._close=!w||w===2&&!!A,u(_)}}}class LZ{constructor(){this.map=[]}add(t,n,r){MZ(this,t,n,r)}consume(t){if(this.map.sort(function(s,o){return s[0]-o[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];
vendor: 4,320 bytes, line 573
573r.push(t.slice()),t.length=0;let a=r.pop();for(;a;){for(const s of a)t.push(s);a=r.pop()}this.map.length=0}}function MZ(e,t,n,r){let a=0;if(!(n===0&&r.length===0)){for(;a<e.map.length;){if(e.map[a][0]===t){e.map[a][1]+=n,e.map[a][2].push(...r);return}a+=1}e.map.push([t,n,r])}}function PZ(e,t){let n=!1;const r=[];for(;t<e.length;){const a=e[t];if(n){if(a[0]==="enter")a[1].type==="tableContent"&&r.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(a[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const s=r.length-1;r[s]=r[s]==="left"?"center":"right"}}else if(a[1].type==="tableDelimiterRow")break}else a[0]==="enter"&&a[1].type==="tableDelimiterRow"&&(n=!0);t+=1}return r}function BZ(){return{flow:{null:{name:"table",tokenize:zZ,resolveAll:HZ}}}}function zZ(e,t,n){const r=this;let a=0,s=0,o;return u;function u(Y){let se=r.events.length-1;for(;se>-1;){const ue=r.events[se][1].type;if(ue==="lineEnding"||ue==="linePrefix")se--;else break}const re=se>-1?r.events[se][1].type:null,pe=re==="tableHead"||re==="tableRow"?P:c;return pe===P&&r.parser.lazy[r.now().line]?n(Y):pe(Y)}function c(Y){return e.enter("tableHead"),e.enter("tableRow"),f(Y)}function f(Y){return Y===124||(o=!0,s+=1),p(Y)}function p(Y){return Y===null?n(Y):$e(Y)?s>1?(s=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(Y),e.exit("lineEnding"),y):n(Y):ht(Y)?ut(e,p,"whitespace")(Y):(s+=1,o&&(o=!1,a+=1),Y===124?(e.enter("tableCellDivider"),e.consume(Y),e.exit("tableCellDivider"),o=!0,p):(e.enter("data"),m(Y)))}function m(Y){return Y===null||Y===124||Mt(Y)?(e.exit("data"),p(Y)):(e.consume(Y),Y===92?b:m)}function b(Y){return Y===92||Y===124?(e.consume(Y),m):m(Y)}function y(Y){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(Y):(e.enter("tableDelimiterRow"),o=!1,ht(Y)?ut(e,_,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Y):_(Y))}function _(Y){return Y===45||Y===58?k(Y):Y===124?(o=!0,e.enter("tableCellDivider"),e.consume(Y),e.exit("tableCellDivider"),w):H(Y)}function w(Y){return ht(Y)?ut(e,k,"whitespace")(Y):k(Y)}function k(Y){return Y===58?(s+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(Y),e.exit("tableDelimiterMarker"),A):Y===45?(s+=1,A(Y)):Y===null||$e(Y)?F(Y):H(Y)}function A(Y){return Y===45?(e.enter("tableDelimiterFiller"),R(Y)):H(Y)}function R(Y){return Y===45?(e.consume(Y),R):Y===58?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(Y),e.exit("tableDelimiterMarker"),D):(e.exit("tableDelimiterFiller"),D(Y))}function D(Y){return ht(Y)?ut(e,F,"whitespace")(Y):F(Y)}function F(Y){return Y===124?_(Y):Y===null||$e(Y)?!o||a!==s?H(Y):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(Y)):H(Y)}function H(Y){return n(Y)}function P(Y){return e.enter("tableRow"),z(Y)}function z(Y){return Y===124?(e.enter("tableCellDivider"),e.consume(Y),e.exit("tableCellDivider"),z):Y===null||$e(Y)?(e.exit("tableRow"),t(Y)):ht(Y)?ut(e,z,"whitespace")(Y):(e.enter("data"),K(Y))}function K(Y){return Y===null||Y===124||Mt(Y)?(e.exit("data"),z(Y)):(e.consume(Y),Y===92?ee:K)}function ee(Y){return Y===92||Y===124?(e.consume(Y),K):K(Y)}}function HZ(e,t){let n=-1,r=!0,a=0,s=[0,0,0,0],o=[0,0,0,0],u=!1,c=0,f,p,m;const b=new LZ;for(;++n<e.length;){const y=e[n],_=y[1];y[0]==="enter"?_.type==="tableHead"?(u=!1,c!==0&&(Q8(b,t,c,f,p),p=void 0,c=0),f={type:"table",start:Object.assign({},_.start),end:Object.assign({},_.end)},b.add(n,0,[["enter",f,t]])):_.type==="tableRow"||_.type==="tableDelimiterRow"?(r=!0,m=void 0,s=[0,0,0,0],o=[0,n+1,0,0],u&&(u=!1,p={type:"tableBody",start:Object.assign({},_.start),end:Object.assign({},_.end)},b.add(n,0,[["enter",p,t]])),a=_.type==="tableDelimiterRow"?2:p?3:1):a&&(_.type==="data"||_.type==="tableDelimiterMarker"||_.type==="tableDelimiterFiller")?(r=!1,o[2]===0&&(s[1]!==0&&(o[0]=o[1],m=Cf(b,t,s,a,void 0,m),s=[0,0,0,0]),o[2]=n)):_.type==="tableCellDivider"&&(r?r=!1:(s[1]!==0&&(o[0]=o[1],m=Cf(b,t,s,a,void 0,m)),s=o,o=[s[1],n,0,0])):_.type==="tableHead"?(u=!0,c=n):_.type==="tableRow"||_.type==="tableDelimiterRow"?(c=n,s[1]!==0?(o[0]=o[1],m=Cf(b,t,s,a,n,m)):o[1]!==0&&(m=Cf(b,t,o,a,n,m)),a=0):a&&(_.type==="data"||_.type==="tableDelimiterMarker"||_.type==="tableDelimiterFiller")&&(o[3]=n)}for(c!==0&&Q8(b,t,c,f,p),b.consume(t.events),n=-1;++n<t.events.length;){const y=t.events[n];
vendor: 1,838 bytes, line 573
573y[0]==="enter"&&y[1].type==="table"&&(y[1]._align=PZ(t.events,n))}return e}function Cf(e,t,n,r,a,s){const o=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",u="tableContent";n[0]!==0&&(s.end=Object.assign({},ql(t.events,n[0])),e.add(n[0],0,[["exit",s,t]]));const c=ql(t.events,n[1]);if(s={type:o,start:Object.assign({},c),end:Object.assign({},c)},e.add(n[1],0,[["enter",s,t]]),n[2]!==0){const f=ql(t.events,n[2]),p=ql(t.events,n[3]),m={type:u,start:Object.assign({},f),end:Object.assign({},p)};if(e.add(n[2],0,[["enter",m,t]]),r!==2){const b=t.events[n[2]],y=t.events[n[3]];if(b[1].end=Object.assign({},y[1].end),b[1].type="chunkText",b[1].contentType="text",n[3]>n[2]+1){const _=n[2]+1,w=n[3]-n[2]-1;e.add(_,w,[])}}e.add(n[3]+1,0,[["exit",m,t]])}return a!==void 0&&(s.end=Object.assign({},ql(t.events,a)),e.add(a,0,[["exit",s,t]]),s=void 0),s}function Q8(e,t,n,r,a){const s=[],o=ql(t.events,n);a&&(a.end=Object.assign({},o),s.push(["exit",a,t])),r.end=Object.assign({},o),s.push(["exit",r,t]),e.add(n+1,0,s)}function ql(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const jZ={name:"tasklistCheck",tokenize:UZ};function FZ(){return{text:{91:jZ}}}function UZ(e,t,n){const r=this;return a;function a(c){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(c):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(c),e.exit("taskListCheckMarker"),s)}function s(c){return Mt(c)?(e.enter("taskListCheckValueUnchecked"),e.consume(c),e.exit("taskListCheckValueUnchecked"),o):c===88||c===120?(e.enter("taskListCheckValueChecked"),e.consume(c),e.exit("taskListCheckValueChecked"),o):n(c)}function o(c){return c===93?(e.enter("taskListCheckMarker"),e.consume(c),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),u):n(c)}function u(c){return $e(c)?t(c):ht(c)?e.check({tokenize:qZ},t,n)(c):n(c)}}
vendor: 8,845 bytes, lines 573-582
573function qZ(e,t,n){return ut(e,r,"whitespace");function r(a){return a===null?n(a):t(a)}}function $Z(e){return m9([pZ(),SZ(),IZ(e),BZ(),FZ()])}const VZ={};function GZ(e){const t=this,n=e||VZ,r=t.data(),a=r.micromarkExtensions||(r.micromarkExtensions=[]),s=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),o=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);a.push($Z(n)),s.push(dZ()),o.push(fZ(n))}function YZ(){return{enter:{mathFlow:e,mathFlowFenceMeta:t,mathText:s},exit:{mathFlow:a,mathFlowFence:r,mathFlowFenceMeta:n,mathFlowValue:u,mathText:o,mathTextData:u}};function e(c){const f={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[f]}},c)}function t(){this.buffer()}function n(){const c=this.resume(),f=this.stack[this.stack.length-1];f.type,f.meta=c}function r(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function a(c){const f=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),p=this.stack[this.stack.length-1];p.type,this.exit(c),p.value=f;const m=p.data.hChildren[0];m.type,m.tagName,m.children.push({type:"text",value:f}),this.data.mathFlowInside=void 0}function s(c){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},c),this.buffer()}function o(c){const f=this.resume(),p=this.stack[this.stack.length-1];p.type,this.exit(c),p.value=f,p.data.hChildren.push({type:"text",value:f})}function u(c){this.config.enter.data.call(this,c),this.config.exit.data.call(this,c)}}function QZ(e){let t=(e||{}).singleDollarTextMath;return t==null&&(t=!0),r.peek=a,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
574`,inConstruct:"mathFlowMeta"},{character:"$",after:t?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:n,inlineMath:r}};function n(s,o,u,c){const f=s.value||"",p=u.createTracker(c),m="$".repeat(Math.max(HA(f,"$")+1,2)),b=u.enter("mathFlow");let y=p.move(m);if(s.meta){const _=u.enter("mathFlowMeta");y+=p.move(u.safe(s.meta,{after:`
575`,before:y,encode:["$"],...p.current()})),_()}return y+=p.move(`
576`),f&&(y+=p.move(f+`
577`)),y+=p.move(m),b(),y}function r(s,o,u){let c=s.value||"",f=1;for(t||f++;new RegExp("(^|[^$])"+"\\$".repeat(f)+"([^$]|$)").test(c);)f++;const p="$".repeat(f);/[^ \r\n]/.test(c)&&(/^[ \r\n]/.test(c)&&/[ \r\n]$/.test(c)||/^\$|\$$/.test(c))&&(c=" "+c+" ");let m=-1;for(;++m<u.unsafe.length;){const b=u.unsafe[m];if(!b.atBreak)continue;const y=u.compilePattern(b);let _;for(;_=y.exec(c);){let w=_.index;c.codePointAt(w)===10&&c.codePointAt(w-1)===13&&w--,c=c.slice(0,w)+" "+c.slice(_.index+1)}}return p+c+p}function a(){return"$"}}const WZ={tokenize:XZ,concrete:!0,name:"mathFlow"},W8={tokenize:KZ,partial:!0};function XZ(e,t,n){const r=this,a=r.events[r.events.length-1],s=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0;let o=0;return u;function u(R){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),c(R)}function c(R){return R===36?(e.consume(R),o++,c):o<2?n(R):(e.exit("mathFlowFenceSequence"),ut(e,f,"whitespace")(R))}function f(R){return R===null||$e(R)?m(R):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),p(R))}function p(R){return R===null||$e(R)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),m(R)):R===36?n(R):(e.consume(R),p)}function m(R){return e.exit("mathFlowFence"),r.interrupt?t(R):e.attempt(W8,b,k)(R)}function b(R){return e.attempt({tokenize:A,partial:!0},k,y)(R)}function y(R){return(s?ut(e,_,"linePrefix",s+1):_)(R)}function _(R){return R===null?k(R):$e(R)?e.attempt(W8,b,k)(R):(e.enter("mathFlowValue"),w(R))}function w(R){return R===null||$e(R)?(e.exit("mathFlowValue"),_(R)):(e.consume(R),w)}function k(R){return e.exit("mathFlow"),t(R)}function A(R,D,F){let H=0;return ut(R,P,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function P(ee){return R.enter("mathFlowFence"),R.enter("mathFlowFenceSequence"),z(ee)}function z(ee){return ee===36?(H++,R.consume(ee),z):H<o?F(ee):(R.exit("mathFlowFenceSequence"),ut(R,K,"whitespace")(ee))}function K(ee){return ee===null||$e(ee)?(R.exit("mathFlowFence"),D(ee)):F(ee)}}}function KZ(e,t,n){const r=this;return a;function a(o){return o===null?t(o):(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),s)}function s(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}function ZZ(e){let n=(e||{}).singleDollarTextMath;return n==null&&(n=!0),{tokenize:r,resolve:JZ,previous:eJ,name:"mathText"};function r(a,s,o){let u=0,c,f;return p;function p(w){return a.enter("mathText"),a.enter("mathTextSequence"),m(w)}function m(w){return w===36?(a.consume(w),u++,m):u<2&&!n?o(w):(a.exit("mathTextSequence"),b(w))}function b(w){return w===null?o(w):w===36?(f=a.enter("mathTextSequence"),c=0,_(w)):w===32?(a.enter("space"),a.consume(w),a.exit("space"),b):$e(w)?(a.enter("lineEnding"),a.consume(w),a.exit("lineEnding"),b):(a.enter("mathTextData"),y(w))}function y(w){return w===null||w===32||w===36||$e(w)?(a.exit("mathTextData"),b(w)):(a.consume(w),y)}function _(w){return w===36?(a.consume(w),c++,_):c===u?(a.exit("mathTextSequence"),a.exit("mathText"),s(w)):(f.type="mathTextData",y(w))}}}function JZ(e){let t=e.length-4,n=3,r,a;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="mathTextData"){e[t][1].type="mathTextPadding",e[n][1].type="mathTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)a===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(a=r):(r===t||e[r][1].type==="lineEnding")&&(e[a][1].type="mathTextData",r!==a+2&&(e[a][1].end=e[r-1][1].end,e.splice(a+2,r-a-2),t-=r-a-2,r=a+2),a=void 0);return e}function eJ(e){return e!==36||this.events[this.events.length-1][1].type==="characterEscape"}function tJ(e){return{flow:{36:WZ},text:{36:ZZ(e)}}}const nJ={};function rJ(e){const t=this,n=e||nJ,r=t.data(),a=r.micromarkExtensions||(r.micromarkExtensions=[]),s=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),o=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);a.push(tJ(n)),s.push(YZ()),o.push(QZ(n))}function aJ({defaultOrigin:e="",allowedLinkPrefixes:t=[],allowedImagePrefixes:n=[],allowDataImages:r=!1,blockedImageClass:a="inline-block bg-gray-200 dark:bg-gray-700 text-gray-600 dark:text-gray-400 px-3 py-1 rounded text-sm",blockedLinkClass:s="text-gray-500"}){const o=t.length&&!t.every(c=>c==="*"),u=n.length&&!n.every(c=>c==="*");if(!e&&(o||u))throw new Error("defaultOrigin is required when allowedLinkPrefixes or allowedImagePrefixes are provided");return c=>{const f=oJ(e,t,n,r,a,s);Lo(c,f)}}function X8(e,t){if(typeof e!="string")return null;try{return new URL(e)}catch{if(t)try{return new URL(e,t)}catch{return null}return null}}function iJ(e){return typeof e!="string"?!1:e.startsWith("/")}const sJ=new Set(["https:","http:","irc:","ircs:","mailto:","xmpp:"]);function K8(e,t,n,r=!1,a=!1){if(!e)return null;if(typeof e=="string"&&e.startsWith("#")&&!a)try{if(new URL(e,"http://example.com").hash===e)return e}catch{}if(typeof e=="string"&&e.startsWith("data:"))return a&&r&&e.startsWith("data:image/")?e:null;const s=X8(e,n);if(!s||!sJ.has(s.protocol))return null;if(s.protocol==="mailto:")return s.href;const o=iJ(e);return s&&t.some(u=>{const c=X8(u,n);return!c||c.origin!==s.origin?!1:s.href.startsWith(c.href)})?o?s.pathname+s.search+s.hash:s.href:t.includes("*")?s.protocol!=="https:"&&s.protocol!=="http:"?null:o?s.pathname+s.search+s.hash:s.href:null}const Kg=Symbol("node-seen"),oJ=(e,t,n,r,a,s)=>{const o=(u,c,f)=>{if(u.type!=="element"||u[Kg])return Rc;if(u.tagName==="a"){const p=K8(u.properties.href,t,e,!1,!1);return p===null?(u[Kg]=!0,Lo(u,o),f&&typeof c=="number"&&(f.children[c]={type:"element",tagName:"span",properties:{title:"Blocked URL: "+String(u.properties.href),class:s},children:[...u.children,{type:"text",value:" [blocked]"}]}),oh):(u.properties.href=p,u.properties.target="_blank",u.properties.rel="noopener noreferrer",Rc)}if(u.tagName==="img"){const p=K8(u.properties.src,n,e,r,!0);return p===null?(u[Kg]=!0,Lo(u,o),f&&typeof c=="number"&&(f.children[c]={type:"element",tagName:"span",properties:{class:a},children:[{type:"text",value:"[Image blocked: "+String(u.properties.alt||"No description")+"]"}]}),oh):(u.properties.src=p,Rc)}return Rc};return o};/**
578 * @license lucide-react v0.542.0 - ISC
579 *
580 * This source code is licensed under the ISC license.
581 * See the LICENSE file in the root directory of this source tree.
582 */const lJ=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),uJ=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,r)=>r?r.toUpperCase():n.toLowerCase()),Z8=e=>{const t=uJ(e);return t.charAt(0).toUpperCase()+t.slice(1)},iC=(...e)=>
vendor: 4,782 bytes, lines 582-612
582e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim(),cJ=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};/**
583 * @license lucide-react v0.542.0 - ISC
584 *
585 * This source code is licensed under the ISC license.
586 * See the LICENSE file in the root directory of this source tree.
587 */var dJ={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
588 * @license lucide-react v0.542.0 - ISC
589 *
590 * This source code is licensed under the ISC license.
591 * See the LICENSE file in the root directory of this source tree.
592 */const fJ=N.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:a="",children:s,iconNode:o,...u},c)=>N.createElement("svg",{ref:c,...dJ,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:iC("lucide",a),...!s&&!cJ(u)&&{"aria-hidden":"true"},...u},[...o.map(([f,p])=>N.createElement(f,p)),...Array.isArray(s)?s:[s]]));/**
593 * @license lucide-react v0.542.0 - ISC
594 *
595 * This source code is licensed under the ISC license.
596 * See the LICENSE file in the root directory of this source tree.
597 */const sy=(e,t)=>{const n=N.forwardRef(({className:r,...a},s)=>N.createElement(fJ,{ref:s,iconNode:t,className:iC(`lucide-${lJ(Z8(e))}`,`lucide-${e}`,r),...a}));return n.displayName=Z8(e),n};/**
598 * @license lucide-react v0.542.0 - ISC
599 *
600 * This source code is licensed under the ISC license.
601 * See the LICENSE file in the root directory of this source tree.
602 */const hJ=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],sC=sy("check",hJ);/**
603 * @license lucide-react v0.542.0 - ISC
604 *
605 * This source code is licensed under the ISC license.
606 * See the LICENSE file in the root directory of this source tree.
607 */const mJ=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],oC=sy("copy",mJ);/**
608 * @license lucide-react v0.542.0 - ISC
609 *
610 * This source code is licensed under the ISC license.
611 * See the LICENSE file in the root directory of this source tree.
612 */const pJ=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],oy=sy("download",pJ);let _n=class extends Error{constructor(t){super(t),this.name="ShikiError"}};function gJ(e){return ly(e)}function ly(e){return Array.isArray(e)?bJ(e):e instanceof RegExp?e:typeof e=="object"?yJ(e):e}function bJ(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=ly(e[n]);return t}function yJ(e){let t={};for(let n in e)t[n]=ly(e[n]);return t}function lC(e,...t){return t.forEach(n=>{for(let r in n)e[r]=n[r]}),e}function uC(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?uC(e.substring(0,e.length-1)):e.substr(~t+1)}var Zg=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,kf=class{static hasCaptures(e){return e===null?!1:(Zg.lastIndex=0,Zg.test(e))}static replaceCaptures(e,t,n){return e.replace(Zg,(r,a,s,o)=>{let u=n[parseInt(a||s,10)];if(u){let c=t.substring(u.start,u.end);for(;c[0]===".";)c=c.substring(1);switch(o){case"downcase":return c.toLowerCase();case"upcase":return c.toUpperCase();default:return c}}else return r})}};function cC(e,t){return e<t?-1:e>t?1:0}function dC(e,t){if(e===null&&t===null)return 0;if(!e)return-1;if(!t)return 1;let n=e.length,r=t.length;if(n===r){for(let a=0;a<n;a++){let s=cC(e[a],t[a]);if(s!==0)return s}return 0}return n-r}function J8(e){return!!(/^#[0-9a-f]{6}$/i.test(e)||/^#[0-9a-f]{8}$/i.test(e)||/^#[0-9a-f]{3}$/i.test(e)||/^#[0-9a-f]{4}$/i.test(e))}function fC(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var hC=class{constructor(e){this.fn=e}cache=new Map;get(e){if(this.cache.has(e))return this.cache.get(e);const t=this.fn(e);return this.cache.set(e,t),t}},yh=class{constructor(e,t,n){this._colorMap=e,this._defaults=t,this._root=n}static createFromRawTheme(e,t){return this.createFromParsedTheme(EJ(e),t)}static createFromParsedTheme(e,t){return TJ(e,t)}_cachedMatchRoot=new hC(e=>this._root.match(e));getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(e){if(e===null)return this._defaults;const t=e.scopeName,r=this._cachedMatchRoot.get(t).find(a=>vJ(e.parent,a.parentScopes));return r?new mC(r.fontStyle,r.foreground,r.background):null}},Jg=class Qf{constructor(t,n){this.parent=t,this.scopeName=n}static push(t,n){for(const r of n)t=new Qf(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new Qf(n,t[r]);return n}push(t){return new Qf(this,t)}getSegments(){let t=this;const n=[];for(;t;)n.push(t.scopeName),t=t.parent;return n.reverse(),n}
vendor: 41,837 bytes, lines 612-614
612toString(){return this.getSegments().join(" ")}extends(t){return this===t?!0:this.parent===null?!1:this.parent.extends(t)}getExtensionIfDefined(t){const n=[];let r=this;for(;r&&r!==t;)n.push(r.scopeName),r=r.parent;return r===t?n.reverse():void 0}};function vJ(e,t){if(t.length===0)return!0;for(let n=0;n<t.length;n++){let r=t[n],a=!1;if(r===">"){if(n===t.length-1)return!1;r=t[++n],a=!0}for(;e&&!xJ(e.scopeName,r);){if(a)return!1;e=e.parent}if(!e)return!1;e=e.parent}return!0}function xJ(e,t){return t===e||e.startsWith(t)&&e[t.length]==="."}var mC=class{constructor(e,t,n){this.fontStyle=e,this.foregroundId=t,this.backgroundId=n}};function EJ(e){if(!e)return[];if(!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,n=[],r=0;for(let a=0,s=t.length;a<s;a++){let o=t[a];if(!o.settings)continue;let u;if(typeof o.scope=="string"){let m=o.scope;m=m.replace(/^[,]+/,""),m=m.replace(/[,]+$/,""),u=m.split(",")}else Array.isArray(o.scope)?u=o.scope:u=[""];let c=-1;if(typeof o.settings.fontStyle=="string"){c=0;let m=o.settings.fontStyle.split(" ");for(let b=0,y=m.length;b<y;b++)switch(m[b]){case"italic":c=c|1;break;case"bold":c=c|2;break;case"underline":c=c|4;break;case"strikethrough":c=c|8;break}}let f=null;typeof o.settings.foreground=="string"&&J8(o.settings.foreground)&&(f=o.settings.foreground);let p=null;typeof o.settings.background=="string"&&J8(o.settings.background)&&(p=o.settings.background);for(let m=0,b=u.length;m<b;m++){let _=u[m].trim().split(" "),w=_[_.length-1],k=null;_.length>1&&(k=_.slice(0,_.length-1),k.reverse()),n[r++]=new _J(w,k,a,c,f,p)}}return n}var _J=class{constructor(e,t,n,r,a,s){this.scope=e,this.parentScopes=t,this.index=n,this.fontStyle=r,this.foreground=a,this.background=s}},er=(e=>(e[e.NotSet=-1]="NotSet",e[e.None=0]="None",e[e.Italic=1]="Italic",e[e.Bold=2]="Bold",e[e.Underline=4]="Underline",e[e.Strikethrough=8]="Strikethrough",e))(er||{});function TJ(e,t){e.sort((c,f)=>{let p=cC(c.scope,f.scope);return p!==0||(p=dC(c.parentScopes,f.parentScopes),p!==0)?p:c.index-f.index});let n=0,r="#000000",a="#ffffff";for(;e.length>=1&&e[0].scope==="";){let c=e.shift();c.fontStyle!==-1&&(n=c.fontStyle),c.foreground!==null&&(r=c.foreground),c.background!==null&&(a=c.background)}let s=new wJ(t),o=new mC(n,s.getId(r),s.getId(a)),u=new AJ(new mb(0,null,-1,0,0),[]);for(let c=0,f=e.length;c<f;c++){let p=e[c];u.insert(0,p.scope,p.parentScopes,p.fontStyle,s.getId(p.foreground),s.getId(p.background))}return new yh(s,o,u)}var wJ=class{_isFrozen;_lastColorId;_id2color;_color2id;constructor(e){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(e)){this._isFrozen=!0;for(let t=0,n=e.length;t<n;t++)this._color2id[e[t]]=t,this._id2color[t]=e[t]}else this._isFrozen=!1}getId(e){if(e===null)return 0;e=e.toUpperCase();let t=this._color2id[e];if(t)return t;if(this._isFrozen)throw new Error(`Missing color in color map - ${e}`);return t=++this._lastColorId,this._color2id[e]=t,this._id2color[t]=e,t}getColorMap(){return this._id2color.slice(0)}},SJ=Object.freeze([]),mb=class pC{scopeDepth;parentScopes;fontStyle;foreground;background;constructor(t,n,r,a,s){this.scopeDepth=t,this.parentScopes=n||SJ,this.fontStyle=r,this.foreground=a,this.background=s}clone(){return new pC(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(t){let n=[];for(let r=0,a=t.length;r<a;r++)n[r]=t[r].clone();return n}acceptOverwrite(t,n,r,a){this.scopeDepth>t?console.log("how did this happen?"):this.scopeDepth=t,n!==-1&&(this.fontStyle=n),r!==0&&(this.foreground=r),a!==0&&(this.background=a)}},AJ=class pb{constructor(t,n=[],r={}){this._mainRule=t,this._children=r,this._rulesWithParentScopes=n}_rulesWithParentScopes;static _cmpBySpecificity(t,n){if(t.scopeDepth!==n.scopeDepth)return n.scopeDepth-t.scopeDepth;let r=0,a=0;for(;t.parentScopes[r]===">"&&r++,n.parentScopes[a]===">"&&a++,!(r>=t.parentScopes.length||a>=n.parentScopes.length);){const s=n.parentScopes[a].length-t.parentScopes[r].length;if(s!==0)return s;r++,a++}return n.parentScopes.length-t.parentScopes.length}match(t){if(t!==""){let r=t.indexOf("."),a,s;if(r===-1?(a=t,s=""):(a=t.substring(0,r),s=t.substring(r+1)),this._children.hasOwnProperty(a))return this._children[a].match(s)}const n=this._rulesWithParentScopes.concat(this._mainRule);return n.sort(pb._cmpBySpecificity),n}insert(t,n,r,a,s,o){if(n===""){this._doInsertHere(t,r,a,s,o);return}let u=n.indexOf("."),c,f;u===-1?(c=n,f=""):(c=n.substring(0,u),f=n.substring(u+1));let p;this._children.hasOwnProperty(c)?p=this._children[c]:(p=new pb(this._mainRule.clone(),mb.cloneArr(this._rulesWithParentScopes)),this._children[c]=p),p.insert(t+1,f,r,a,s,o)}_doInsertHere(t,n,r,a,s){if(n===null){this._mainRule.acceptOverwrite(t,r,a,s);return}for(let o=0,u=this._rulesWithParentScopes.length;o<u;o++){let c=this._rulesWithParentScopes[o];if(dC(c.parentScopes,n)===0){c.acceptOverwrite(t,r,a,s);return}}r===-1&&(r=this._mainRule.fontStyle),a===0&&(a=this._mainRule.foreground),s===0&&(s=this._mainRule.background),this._rulesWithParentScopes.push(new mb(t,n,r,a,s))}},du=class sa{static toBinaryStr(t){return t.toString(2).padStart(32,"0")}static print(t){const n=sa.getLanguageId(t),r=sa.getTokenType(t),a=sa.getFontStyle(t),s=sa.getForeground(t),o=sa.getBackground(t);console.log({languageId:n,tokenType:r,fontStyle:a,foreground:s,background:o})}static getLanguageId(t){return(t&255)>>>0}static getTokenType(t){return(t&768)>>>8}static containsBalancedBrackets(t){return(t&1024)!==0}static getFontStyle(t){return(t&30720)>>>11}static getForeground(t){return(t&16744448)>>>15}static getBackground(t){return(t&4278190080)>>>24}static set(t,n,r,a,s,o,u){let c=sa.getLanguageId(t),f=sa.getTokenType(t),p=sa.containsBalancedBrackets(t)?1:0,m=sa.getFontStyle(t),b=sa.getForeground(t),y=sa.getBackground(t);return n!==0&&(c=n),r!==8&&(f=r),a!==null&&(p=a?1:0),s!==-1&&(m=s),o!==0&&(b=o),u!==0&&(y=u),(c<<0|f<<8|p<<10|m<<11|b<<15|y<<24)>>>0}};function vh(e,t){const n=[],r=CJ(e);let a=r.next();for(;a!==null;){let c=0;if(a.length===2&&a.charAt(1)===":"){switch(a.charAt(0)){case"R":c=1;break;case"L":c=-1;break;default:console.log(`Unknown priority ${a} in scope selector`)}a=r.next()}let f=o();if(n.push({matcher:f,priority:c}),a!==",")break;a=r.next()}return n;function s(){if(a==="-"){a=r.next();const c=s();return f=>!!c&&!c(f)}if(a==="("){a=r.next();const c=u();return a===")"&&(a=r.next()),c}if(e7(a)){const c=[];do c.push(a),a=r.next();while(e7(a));return f=>t(c,f)}return null}function o(){const c=[];let f=s();for(;f;)c.push(f),f=s();return p=>c.every(m=>m(p))}function u(){const c=[];let f=o();for(;f&&(c.push(f),a==="|"||a===",");){do a=r.next();while(a==="|"||a===",");f=o()}return p=>c.some(m=>m(p))}}function e7(e){return!!e&&!!e.match(/[\w\.:]+/)}function CJ(e){let t=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,n=t.exec(e);return{next:()=>{if(!n)return null;const r=n[0];return n=t.exec(e),r}}}function gC(e){typeof e.dispose=="function"&&e.dispose()}var m0=class{constructor(e){this.scopeName=e}toKey(){return this.scopeName}},kJ=class{constructor(e,t){this.scopeName=e,this.ruleName=t}toKey(){return`${this.scopeName}#${this.ruleName}`}},NJ=class{_references=[];_seenReferenceKeys=new Set;get references(){return this._references}visitedRule=new Set;add(e){const t=e.toKey();this._seenReferenceKeys.has(t)||(this._seenReferenceKeys.add(t),this._references.push(e))}},RJ=class{constructor(e,t){this.repo=e,this.initialScopeName=t,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new m0(this.initialScopeName)]}seenFullScopeRequests=new Set;seenPartialScopeRequests=new Set;Q;processQueue(){const e=this.Q;this.Q=[];const t=new NJ;for(const n of e)OJ(n,this.initialScopeName,this.repo,t);for(const n of t.references)if(n instanceof m0){if(this.seenFullScopeRequests.has(n.scopeName))continue;this.seenFullScopeRequests.add(n.scopeName),this.Q.push(n)}else{if(this.seenFullScopeRequests.has(n.scopeName)||this.seenPartialScopeRequests.has(n.toKey()))continue;this.seenPartialScopeRequests.add(n.toKey()),this.Q.push(n)}}};function OJ(e,t,n,r){const a=n.lookup(e.scopeName);if(!a){if(e.scopeName===t)throw new Error(`No grammar provided for <${t}>`);return}const s=n.lookup(t);e instanceof m0?Wf({baseGrammar:s,selfGrammar:a},r):gb(e.ruleName,{baseGrammar:s,selfGrammar:a,repository:a.repository},r);const o=n.injections(e.scopeName);if(o)for(const u of o)r.add(new m0(u))}function gb(e,t,n){if(t.repository&&t.repository[e]){const r=t.repository[e];xh([r],t,n)}}function Wf(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&xh(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&xh(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function xh(e,t,n){for(const r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const a=r.repository?lC({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&xh(r.patterns,{...t,repository:a},n);const s=r.include;if(!s)continue;const o=bC(s);switch(o.kind){case 0:Wf({...t,selfGrammar:t.baseGrammar},n);break;case 1:Wf(t,n);break;case 2:gb(o.ruleName,{...t,repository:a},n);break;case 3:case 4:const u=o.scopeName===t.selfGrammar.scopeName?t.selfGrammar:o.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(u){const c={baseGrammar:t.baseGrammar,selfGrammar:u,repository:a};o.kind===4?gb(o.ruleName,c,n):Wf(c,n)}else o.kind===4?n.add(new kJ(o.scopeName,o.ruleName)):n.add(new m0(o.scopeName));break}}}var DJ=class{kind=0},IJ=class{kind=1},LJ=class{constructor(e){this.ruleName=e}kind=2},MJ=class{constructor(e){this.scopeName=e}kind=3},PJ=class{constructor(e,t){this.scopeName=e,this.ruleName=t}kind=4};function bC(e){if(e==="$base")return new DJ;if(e==="$self")return new IJ;const t=e.indexOf("#");if(t===-1)return new MJ(e);if(t===0)return new LJ(e.substring(1));{const n=e.substring(0,t),r=e.substring(t+1);return new PJ(n,r)}}var BJ=/\\(\d+)/,t7=/\\(\d+)/g,zJ=-1,yC=-2;var B0=class{$location;id;_nameIsCapturing;_name;_contentNameIsCapturing;_contentName;constructor(e,t,n,r){this.$location=e,this.id=t,this._name=n||null,this._nameIsCapturing=kf.hasCaptures(this._name),this._contentName=r||null,this._contentNameIsCapturing=kf.hasCaptures(this._contentName)}get debugName(){const e=this.$location?`${uC(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${e}`}getName(e,t){return!this._nameIsCapturing||this._name===null||e===null||t===null?this._name:kf.replaceCaptures(this._name,e,t)}getContentName(e,t){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:kf.replaceCaptures(this._contentName,e,t)}},HJ=class extends B0{retokenizeCapturedWithRuleId;constructor(e,t,n,r,a){super(e,t,n,r),this.retokenizeCapturedWithRuleId=a}dispose(){}collectPatterns(e,t){throw new Error("Not supported!")}compile(e,t){throw new Error("Not supported!")}compileAG(e,t,n,r){throw new Error("Not supported!")}},jJ=class extends B0{_match;captures;_cachedCompiledPatterns;constructor(e,t,n,r,a){super(e,t,n,null),this._match=new p0(r,this.id),this.captures=a,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(e,t){t.push(this._match)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new g0,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},n7=class extends B0{hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(e,t,n,r,a){super(e,t,n,r),this.patterns=a.patterns,this.hasMissingPatterns=a.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(e,t){for(const n of this.patterns)e.getRule(n).collectPatterns(e,t)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new g0,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},bb=class extends B0{_begin;beginCaptures;_end;endHasBackReferences;endCaptures;applyEndPatternLast;hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(e,t,n,r,a,s,o,u,c,f){super(e,t,n,r),this._begin=new p0(a,this.id),this.beginCaptures=s,this._end=new p0(o||"ï¿¿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=u,this.applyEndPatternLast=c||!1,this.patterns=f.patterns,this.hasMissingPatterns=f.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(e,t){return this._end.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e,t).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e,t).compileAG(e,n,r)}_getCachedCompiledPatterns(e,t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new g0;for(const n of this.patterns)e.getRule(n).collectPatterns(e,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,t):this._cachedCompiledPatterns.setSource(0,t)),this._cachedCompiledPatterns}},Eh=class extends B0{_begin;beginCaptures;whileCaptures;_while;whileHasBackReferences;hasMissingPatterns;patterns;_cachedCompiledPatterns;_cachedCompiledWhilePatterns;constructor(e,t,n,r,a,s,o,u,c){super(e,t,n,r),this._begin=new p0(a,this.id),this.beginCaptures=s,this.whileCaptures=u,this._while=new p0(o,yC),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=c.patterns,this.hasMissingPatterns=c.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(e,t){return this._while.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new g0;for(const t of this.patterns)e.getRule(t).collectPatterns(e,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(e,t){return this._getCachedCompiledWhilePatterns(e,t).compile(e)}compileWhileAG(e,t,n,r){return this._getCachedCompiledWhilePatterns(e,t).compileAG(e,n,r)}_getCachedCompiledWhilePatterns(e,t){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new g0,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,t||"ï¿¿"),this._cachedCompiledWhilePatterns}},vC=class Jn{static createCaptureRule(t,n,r,a,s){return t.registerRule(o=>new HJ(n,o,r,a,s))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(a=>{if(t.id=a,t.match)return new jJ(t.$vscodeTextmateLocation,t.id,t.name,t.match,Jn._compileCaptures(t.captures,n,r));if(typeof t.begin>"u"){t.repository&&(r=lC({},r,t.repository));let s=t.patterns;return typeof s>"u"&&t.include&&(s=[{include:t.include}]),new n7(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,Jn._compilePatterns(s,n,r))}return t.while?new Eh(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,Jn._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,Jn._compileCaptures(t.whileCaptures||t.captures,n,r),Jn._compilePatterns(t.patterns,n,r)):new bb(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,Jn._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,Jn._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,Jn._compilePatterns(t.patterns,n,r))}),t.id}static _compileCaptures(t,n,r){let a=[];if(t){let s=0;for(const o in t){if(o==="$vscodeTextmateLocation")continue;const u=parseInt(o,10);u>s&&(s=u)}for(let o=0;o<=s;o++)a[o]=null;for(const o in t){if(o==="$vscodeTextmateLocation")continue;const u=parseInt(o,10);let c=0;t[o].patterns&&(c=Jn.getCompiledRuleId(t[o],n,r)),a[u]=Jn.createCaptureRule(n,t[o].$vscodeTextmateLocation,t[o].name,t[o].contentName,c)}}return a}static _compilePatterns(t,n,r){let a=[];if(t)for(let s=0,o=t.length;s<o;s++){const u=t[s];let c=-1;if(u.include){const f=bC(u.include);switch(f.kind){case 0:case 1:c=Jn.getCompiledRuleId(r[u.include],n,r);break;case 2:let p=r[f.ruleName];p&&(c=Jn.getCompiledRuleId(p,n,r));break;case 3:case 4:const m=f.scopeName,b=f.kind===4?f.ruleName:null,y=n.getExternalGrammar(m,r);if(y)if(b){let _=y.repository[b];_&&(c=Jn.getCompiledRuleId(_,n,y.repository))}else c=Jn.getCompiledRuleId(y.repository.$self,n,y.repository);break}}else c=Jn.getCompiledRuleId(u,n,r);if(c!==-1){const f=n.getRule(c);let p=!1;if((f instanceof n7||f instanceof bb||f instanceof Eh)&&f.hasMissingPatterns&&f.patterns.length===0&&(p=!0),p)continue;a.push(c)}}return{patterns:a,hasMissingPatterns:(t?t.length:0)!==a.length}}},p0=class xC{source;ruleId;hasAnchor;hasBackReferences;_anchorCache;constructor(t,n){if(t&&typeof t=="string"){const r=t.length;let a=0,s=[],o=!1;for(let u=0;u<r;u++)if(t.charAt(u)==="\\"&&u+1<r){const f=t.charAt(u+1);f==="z"?(s.push(t.substring(a,u)),s.push("$(?!\\n)(?<!\\n)"),a=u+2):(f==="A"||f==="G")&&(o=!0),u++}this.hasAnchor=o,a===0?this.source=t:(s.push(t.substring(a,r)),this.source=s.join(""))}else this.hasAnchor=!1,this.source=t;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=n,typeof this.source=="string"?this.hasBackReferences=BJ.test(this.source):this.hasBackReferences=!1}clone(){return new xC(this.source,this.ruleId)}setSource(t){this.source!==t&&(this.source=t,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(t,n){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let r=n.map(a=>t.substring(a.start,a.end));return t7.lastIndex=0,this.source.replace(t7,(a,s)=>fC(r[parseInt(s,10)]||""))}_buildAnchorCache(){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let t=[],n=[],r=[],a=[],s,o,u,c;for(s=0,o=this.source.length;s<o;s++)u=this.source.charAt(s),t[s]=u,n[s]=u,r[s]=u,a[s]=u,u==="\\"&&s+1<o&&(c=this.source.charAt(s+1),c==="A"?(t[s+1]="ï¿¿",n[s+1]="ï¿¿",r[s+1]="A",a[s+1]="A"):c==="G"?(t[s+1]="ï¿¿",n[s+1]="G",r[s+1]="ï¿¿",a[s+1]="G"):(t[s+1]=c,n[s+1]=c,r[s+1]=c,a[s+1]=c),s++);return{A0_G0:t.join(""),A0_G1:n.join(""),A1_G0:r.join(""),A1_G1:a.join("")}}resolveAnchors(t,n){return!this.hasAnchor||!this._anchorCache||typeof this.source!="string"?this.source:t?n?this._anchorCache.A1_G1:this._anchorCache.A1_G0:n?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},g0=class{_items;_hasAnchors;_cached;_anchorCache;constructor(){this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(e){this._items.push(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}unshift(e){this._items.unshift(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}length(){return this._items.length}setSource(e,t){this._items[e].source!==t&&(this._disposeCaches(),this._items[e].setSource(t))}compile(e){if(!this._cached){let t=this._items.map(n=>n.source);this._cached=new r7(e,t,this._items.map(n=>n.ruleId))}return this._cached}compileAG(e,t,n){return this._hasAnchors?t?n?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G0):n?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G0):this.compile(e)}_resolveAnchors(e,t,n){let r=this._items.map(a=>a.resolveAnchors(t,n));return new r7(e,r,this._items.map(a=>a.ruleId))}},r7=class{constructor(e,t,n){this.regExps=t,this.rules=n,this.scanner=e.createOnigScanner(t)}scanner;dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const e=[];for(let t=0,n=this.rules.length;t<n;t++)e.push("   - "+this.rules[t]+": "+this.regExps[t]);return e.join(`
613`)}findNextMatchSync(e,t,n){const r=this.scanner.findNextMatchSync(e,t,n);return r?{ruleId:this.rules[r.index],captureIndices:r.captureIndices}:null}},e2=class{constructor(e,t){this.languageId=e,this.tokenType=t}},FJ=class yb{_defaultAttributes;_embeddedLanguagesMatcher;constructor(t,n){this._defaultAttributes=new e2(t,8),this._embeddedLanguagesMatcher=new UJ(Object.entries(n||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return t===null?yb._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}static _NULL_SCOPE_METADATA=new e2(0,0);_getBasicScopeAttributes=new hC(t=>{const n=this._scopeToLanguage(t),r=this._toStandardTokenType(t);return new e2(n,r)});_scopeToLanguage(t){return this._embeddedLanguagesMatcher.match(t)||0}_toStandardTokenType(t){const n=t.match(yb.STANDARD_TOKEN_TYPE_REGEXP);if(!n)return 8;switch(n[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}static STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/},UJ=class{values;scopesRegExp;constructor(e){if(e.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(e);const t=e.map(([n,r])=>fC(n));t.sort(),t.reverse(),this.scopesRegExp=new RegExp(`^((${t.join(")|(")}))($|\\.)`,"")}}match(e){if(!this.scopesRegExp)return;const t=e.match(this.scopesRegExp);if(t)return this.values.get(t[1])}},a7=class{constructor(e,t){this.stack=e,this.stoppedEarly=t}};function EC(e,t,n,r,a,s,o,u){const c=t.content.length;let f=!1,p=-1;if(o){const y=qJ(e,t,n,r,a,s);a=y.stack,r=y.linePos,n=y.isFirstLine,p=y.anchorPosition}const m=Date.now();for(;!f;){if(u!==0&&Date.now()-m>u)return new a7(a,!0);b()}return new a7(a,!1);function b(){const y=$J(e,t,n,r,a,p);if(!y){s.produce(a,c),f=!0;return}const _=y.captureIndices,w=y.matchedRuleId,k=_&&_.length>0?_[0].end>r:!1;if(w===zJ){const A=a.getRule(e);s.produce(a,_[0].start),a=a.withContentNameScopesList(a.nameScopesList),Ic(e,t,n,a,s,A.endCaptures,_),s.produce(a,_[0].end);const R=a;if(a=a.parent,p=R.getAnchorPos(),!k&&R.getEnterPos()===r){a=R,s.produce(a,c),f=!0;return}}else{const A=e.getRule(w);s.produce(a,_[0].start);const R=a,D=A.getName(t.content,_),F=a.contentNameScopesList.pushAttributed(D,e);if(a=a.push(w,r,p,_[0].end===c,null,F,F),A instanceof bb){const H=A;Ic(e,t,n,a,s,H.beginCaptures,_),s.produce(a,_[0].end),p=_[0].end;const P=H.getContentName(t.content,_),z=F.pushAttributed(P,e);if(a=a.withContentNameScopesList(z),H.endHasBackReferences&&(a=a.withEndRule(H.getEndWithResolvedBackReferences(t.content,_))),!k&&R.hasSameRuleAs(a)){a=a.pop(),s.produce(a,c),f=!0;return}}else if(A instanceof Eh){const H=A;Ic(e,t,n,a,s,H.beginCaptures,_),s.produce(a,_[0].end),p=_[0].end;const P=H.getContentName(t.content,_),z=F.pushAttributed(P,e);if(a=a.withContentNameScopesList(z),H.whileHasBackReferences&&(a=a.withEndRule(H.getWhileWithResolvedBackReferences(t.content,_))),!k&&R.hasSameRuleAs(a)){a=a.pop(),s.produce(a,c),f=!0;return}}else if(Ic(e,t,n,a,s,A.captures,_),s.produce(a,_[0].end),a=a.pop(),!k){a=a.safePop(),s.produce(a,c),f=!0;return}}_[0].end>r&&(r=_[0].end,n=!1)}}function qJ(e,t,n,r,a,s){let o=a.beginRuleCapturedEOL?0:-1;const u=[];for(let c=a;c;c=c.pop()){const f=c.getRule(e);f instanceof Eh&&u.push({rule:f,stack:c})}for(let c=u.pop();c;c=u.pop()){const{ruleScanner:f,findOptions:p}=YJ(c.rule,e,c.stack.endRule,n,r===o),m=f.findNextMatchSync(t,r,p);if(m){if(m.ruleId!==yC){a=c.stack.pop();break}m.captureIndices&&m.captureIndices.length&&(s.produce(c.stack,m.captureIndices[0].start),Ic(e,t,n,c.stack,s,c.rule.whileCaptures,m.captureIndices),s.produce(c.stack,m.captureIndices[0].end),o=m.captureIndices[0].end,m.captureIndices[0].end>r&&(r=m.captureIndices[0].end,n=!1))}else{a=c.stack.pop();break}}return{stack:a,linePos:r,anchorPosition:o,isFirstLine:n}}function $J(e,t,n,r,a,s){const o=VJ(e,t,n,r,a,s),u=e.getInjections();if(u.length===0)return o;const c=GJ(u,e,t,n,r,a,s);if(!c)return o;if(!o)return c;const f=o.captureIndices[0].start,p=c.captureIndices[0].start;return p<f||c.priorityMatch&&p===f?c:o}function VJ(e,t,n,r,a,s){const o=a.getRule(e),{ruleScanner:u,findOptions:c}=_C(o,e,a.endRule,n,r===s),f=u.findNextMatchSync(t,r,c);return f?{captureIndices:f.captureIndices,matchedRuleId:f.ruleId}:null}function GJ(e,t,n,r,a,s,o){let u=Number.MAX_VALUE,c=null,f,p=0;const m=s.contentNameScopesList.getScopeNames();for(let b=0,y=e.length;b<y;b++){const _=e[b];if(!_.matcher(m))continue;const w=t.getRule(_.ruleId),{ruleScanner:k,findOptions:A}=_C(w,t,null,r,a===o),R=k.findNextMatchSync(n,a,A);if(!R)continue;const D=R.captureIndices[0].start;if(!(D>=u)&&(u=D,c=R.captureIndices,f=R.ruleId,p=_.priority,u===a))break}return c?{priorityMatch:p===-1,captureIndices:c,matchedRuleId:f}:null}function _C(e,t,n,r,a){return{ruleScanner:e.compileAG(t,n,r,a),findOptions:0}}function YJ(e,t,n,r,a){return{ruleScanner:e.compileWhileAG(t,n,r,a),findOptions:0}}function Ic(e,t,n,r,a,s,o){if(s.length===0)return;const u=t.content,c=Math.min(s.length,o.length),f=[],p=o[0].end;for(let m=0;m<c;m++){const b=s[m];if(b===null)continue;const y=o[m];if(y.length===0)continue;if(y.start>p)break;for(;f.length>0&&f[f.length-1].endPos<=y.start;)a.produceFromScopes(f[f.length-1].scopes,f[f.length-1].endPos),f.pop();if(f.length>0?a.produceFromScopes(f[f.length-1].scopes,y.start):a.produce(r,y.start),b.retokenizeCapturedWithRuleId){const w=b.getName(u,o),k=r.contentNameScopesList.pushAttributed(w,e),A=b.getContentName(u,o),R=k.pushAttributed(A,e),D=r.push(b.retokenizeCapturedWithRuleId,y.start,-1,!1,null,k,R),F=e.createOnigString(u.substring(0,y.end));EC(e,F,n&&y.start===0,y.start,D,a,!1,0),gC(F);continue}const _=b.getName(u,o);if(_!==null){const k=(f.length>0?f[f.length-1].scopes:r.contentNameScopesList).pushAttributed(_,e);f.push(new QJ(k,y.end))}}for(;f.length>0;)a.produceFromScopes(f[f.length-1].scopes,f[f.length-1].endPos),f.pop()}var QJ=class{scopes;endPos;constructor(e,t){this.scopes=e,this.endPos=t}};function WJ(e,t,n,r,a,s,o,u){return new KJ(e,t,n,r,a,s,o,u)}function i7(e,t,n,r,a){const s=vh(t,_h),o=vC.getCompiledRuleId(n,r,a.repository);for(const u of s)e.push({debugSelector:t,matcher:u.matcher,ruleId:o,grammar:a,priority:u.priority})}function _h(e,t){if(t.length<e.length)return!1;let n=0;return e.every(r=>{for(let a=n;a<t.length;a++)if(XJ(t[a],r))return n=a+1,!0;return!1})}function XJ(e,t){if(!e)return!1;if(e===t)return!0;const n=t.length;return e.length>n&&e.substr(0,n)===t&&e[n]==="."}var KJ=class{constructor(e,t,n,r,a,s,o,u){if(this._rootScopeName=e,this.balancedBracketSelectors=s,this._onigLib=u,this._basicScopeAttributesProvider=new FJ(n,r),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=o,this._grammar=s7(t,null),this._injections=null,this._tokenTypeMatchers=[],a)for(const c of Object.keys(a)){const f=vh(c,_h);for(const p of f)this._tokenTypeMatchers.push({matcher:p.matcher,type:a[c]})}}_rootId;_lastRuleId;_ruleId2desc;_includedGrammars;_grammarRepository;_grammar;_injections;_basicScopeAttributesProvider;_tokenTypeMatchers;get themeProvider(){return this._grammarRepository}dispose(){for(const e of this._ruleId2desc)e&&e.dispose()}createOnigScanner(e){return this._onigLib.createOnigScanner(e)}createOnigString(e){return this._onigLib.createOnigString(e)}getMetadataForScope(e){return this._basicScopeAttributesProvider.getBasicScopeAttributes(e)}_collectInjections(){const e={lookup:a=>a===this._rootScopeName?this._grammar:this.getExternalGrammar(a),injections:a=>this._grammarRepository.injections(a)},t=[],n=this._rootScopeName,r=e.lookup(n);if(r){const a=r.injections;if(a)for(let o in a)i7(t,o,a[o],this,r);const s=this._grammarRepository.injections(n);s&&s.forEach(o=>{const u=this.getExternalGrammar(o);if(u){const c=u.injectionSelector;c&&i7(t,c,u,this,u)}})}return t.sort((a,s)=>a.priority-s.priority),t}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(e){const t=++this._lastRuleId,n=e(t);return this._ruleId2desc[t]=n,n}getRule(e){return this._ruleId2desc[e]}getExternalGrammar(e,t){if(this._includedGrammars[e])return this._includedGrammars[e];if(this._grammarRepository){const n=this._grammarRepository.lookup(e);if(n)return this._includedGrammars[e]=s7(n,t&&t.$base),this._includedGrammars[e]}}tokenizeLine(e,t,n=0){const r=this._tokenize(e,t,!1,n);return{tokens:r.lineTokens.getResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}tokenizeLine2(e,t,n=0){const r=this._tokenize(e,t,!0,n);return{tokens:r.lineTokens.getBinaryResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}_tokenize(e,t,n,r){this._rootId===-1&&(this._rootId=vC.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let a;if(!t||t===vb.NULL){a=!0;const f=this._basicScopeAttributesProvider.getDefaultAttributes(),p=this.themeProvider.getDefaults(),m=du.set(0,f.languageId,f.tokenType,null,p.fontStyle,p.foregroundId,p.backgroundId),b=this.getRule(this._rootId).getName(null,null);let y;b?y=Xc.createRootAndLookUpScopeName(b,m,this):y=Xc.createRoot("unknown",m),t=new vb(null,this._rootId,-1,-1,!1,null,y,y)}else a=!1,t.reset();e=e+`
614`;const s=this.createOnigString(e),o=s.content.length,u=new JJ(n,e,this._tokenTypeMatchers,this.balancedBracketSelectors),c=EC(this,s,a,0,t,u,!0,r);return gC(s),{lineLength:o,lineTokens:u,ruleStack:c.stack,stoppedEarly:c.stoppedEarly}}};function s7(e,t){return e=gJ(e),e.repository=e.repository||{},e.repository.$self={$vscodeTextmateLocation:e.$vscodeTextmateLocation,patterns:e.patterns,name:e.scopeName},e.repository.$base=t||e.repository.$self,e}var Xc=class qa{constructor(t,n,r){this.parent=t,this.scopePath=n,this.tokenAttributes=r}static fromExtension(t,n){let r=t,a=t?.scopePath??null;for(const s of n)a=Jg.push(a,s.scopeNames),r=new qa(r,a,s.encodedTokenAttributes);return r}static createRoot(t,n){return new qa(null,new Jg(null,t),n)}static createRootAndLookUpScopeName(t,n,r){const a=r.getMetadataForScope(t),s=new Jg(null,t),o=r.themeProvider.themeMatch(s),u=qa.mergeAttributes(n,a,o);return new qa(null,s,u)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(t){return qa.equals(this,t)}static equals(t,n){do{if(t===n||!t&&!n)return!0;if(!t||!n||t.scopeName!==n.scopeName||t.tokenAttributes!==n.tokenAttributes)return!1;t=t.parent,n=n.parent}while(!0)}static mergeAttributes(t,n,r){let a=-1,s=0,o=0;return r!==null&&(a=r.fontStyle,s=r.foregroundId,o=r.backgroundId),du.set(t,n.languageId,n.tokenType,null,a,s,o)}pushAttributed(t,n){if(t===null)return this;if(t.indexOf(" ")===-1)return qa._pushAttributed(this,t,n);const r=t.split(/ /g);let a=this;for(const s of r)a=qa._pushAttributed(a,s,n);return a}static _pushAttributed(t,n,r){const a=r.getMetadataForScope(n),s=t.scopePath.push(n),o=r.themeProvider.themeMatch(s),u=qa.mergeAttributes(t.tokenAttributes,a,o);return new qa(t,s,u)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(t){const n=[];let r=this;for(;r&&r!==t;)n.push({encodedTokenAttributes:r.tokenAttributes,scopeNames:r.scopePath.getExtensionIfDefined(r.parent?.scopePath??null)}),r=r.parent;return r===t?n.reverse():void 0}},vb=class _o{constructor(t,n,r,a,s,o,u,c){this.parent=t,this.ruleId=n,this.beginRuleCapturedEOL=s,this.endRule=o,this.nameScopesList=u,this.contentNameScopesList=c,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=r,this._anchorPos=a}_stackElementBrand=void 0;static NULL=new _o(null,0,0,0,!1,null,null,null);_enterPos;_anchorPos;depth;equals(t){return t===null?!1:_o._equals(this,t)}static _equals(t,n){return t===n?!0:this._structuralEquals(t,n)?Xc.equals(t.contentNameScopesList,n.contentNameScopesList):!1}static _structuralEquals(t,n){do{if(t===n||!t&&!n)return!0;if(!t||!n||t.depth!==n.depth||t.ruleId!==n.ruleId||t.endRule!==n.endRule)return!1;t=t.parent,n=n.parent}while(!0)}clone(){return this}static _reset(t){for(;t;)t._enterPos=-1,t._anchorPos=-1,t=t.parent}reset(){_o._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,n,r,a,s,o,u){return new _o(this,t,n,r,a,s,o,u)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(t){return t.getRule(this.ruleId)}toString(){const t=[];return this._writeString(t,0),"["+t.join(",")+"]"}_writeString(t,n){return this.parent&&(n=this.parent._writeString(t,n)),t[n++]=`(${this.ruleId}, ${this.nameScopesList?.toString()}, ${this.contentNameScopesList?.toString()})`,n}withContentNameScopesList(t){return this.contentNameScopesList===t?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,t)}withEndRule(t){return this.endRule===t?this:new _o(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,t,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(t){let n=this;for(;n&&n._enterPos===t._enterPos;){if(n.ruleId===t.ruleId)return!0;n=n.parent}return!1}toStateStackFrame(){return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:this.nameScopesList?.getExtensionIfDefined(this.parent?.nameScopesList??null)??[],contentNameScopesList:this.contentNameScopesList?.getExtensionIfDefined(this.nameScopesList)??[]}}static pushFrame(t,n){const r=Xc.fromExtension(t?.nameScopesList??null,n.nameScopesList);return new _o(t,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,Xc.fromExtension(r,n.contentNameScopesList))}},ZJ=class{balancedBracketScopes;unbalancedBracketScopes;allowAny=!1;constructor(e,t){this.balancedBracketScopes=e.flatMap(n=>n==="*"?(this.allowAny=!0,[]):vh(n,_h).map(r=>r.matcher)),this.unbalancedBracketScopes=t.flatMap(n=>vh(n,_h).map(r=>r.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(e){for(const t of this.unbalancedBracketScopes)if(t(e))return!1;for(const t of this.balancedBracketScopes)if(t(e))return!0;return this.allowAny}},JJ=class{constructor(e,t,n,r){this.balancedBracketSelectors=r,this._emitBinaryTokens=e,this._tokenTypeOverrides=n,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}_emitBinaryTokens;_lineText;_tokens;_binaryTokens;_lastTokenEndIndex;_tokenTypeOverrides;produce(e,t){this.produceFromScopes(e.contentNameScopesList,t)}produceFromScopes(e,t){if(this._lastTokenEndIndex>=t)return;if(this._emitBinaryTokens){let r=e?.tokenAttributes??0,a=!1;if(this.balancedBracketSelectors?.matchesAlways&&(a=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const s=e?.getScopeNames()??[];for(const o of this._tokenTypeOverrides)o.matcher(s)&&(r=du.set(r,0,o.type,null,-1,0,0));this.balancedBracketSelectors&&(a=this.balancedBracketSelectors.match(s))}if(a&&(r=du.set(r,0,8,a,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===r){this._lastTokenEndIndex=t;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(r),this._lastTokenEndIndex=t;return}const n=e?.getScopeNames()??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:t,scopes:n}),this._lastTokenEndIndex=t}getResult(e,t){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===t-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(e,t){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===t-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._binaryTokens[this._binaryTokens.length-2]=0);const n=new Uint32Array(this._binaryTokens.length);for(let r=0,a=this._binaryTokens.length;r<a;r++)n[r]=this._binaryTokens[r];return n}},eee=class{constructor(e,t){this._onigLib=t,this._theme=e}_grammars=new Map;_rawGrammars=new Map;_injectionGrammars=new Map;_theme;dispose(){for(const e of this._grammars.values())e.dispose()}setTheme(e){this._theme=e}getColorMap(){return this._theme.getColorMap()}addGrammar(e,t){this._rawGrammars.set(e.scopeName,e),t&&this._injectionGrammars.set(e.scopeName,t)}lookup(e){return this._rawGrammars.get(e)}injections(e){return this._injectionGrammars.get(e)}getDefaults(){return this._theme.getDefaults()}themeMatch(e){return this._theme.match(e)}grammarForScopeName(e,t,n,r,a){if(!this._grammars.has(e)){let s=this._rawGrammars.get(e);if(!s)return null;this._grammars.set(e,WJ(e,s,t,n,r,a,this,this._onigLib))}return this._grammars.get(e)}},tee=class{_options;_syncRegistry;_ensureGrammarCache;constructor(t){this._options=t,this._syncRegistry=new eee(yh.createFromRawTheme(t.theme,t.colorMap),t.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(t,n){this._syncRegistry.setTheme(yh.createFromRawTheme(t,n))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(t,n,r){return this.loadGrammarWithConfiguration(t,n,{embeddedLanguages:r})}loadGrammarWithConfiguration(t,n,r){return this._loadGrammar(t,n,r.embeddedLanguages,r.tokenTypes,new ZJ(r.balancedBracketSelectors||[],r.unbalancedBracketSelectors||[]))}loadGrammar(t){return this._loadGrammar(t,0,null,null,null)}_loadGrammar(t,n,r,a,s){const o=new RJ(this._syncRegistry,t);for(;o.Q.length>0;)o.Q.map(u=>this._loadSingleGrammar(u.scopeName)),o.processQueue();return this._grammarForScopeName(t,n,r,a,s)}_loadSingleGrammar(t){this._ensureGrammarCache.has(t)||(this._doLoadSingleGrammar(t),this._ensureGrammarCache.set(t,!0))}_doLoadSingleGrammar(t){const n=this._options.loadGrammar(t);if(n){const r=typeof this._options.getInjections=="function"?this._options.getInjections(t):void 0;this._syncRegistry.addGrammar(n,r)}}addGrammar(t,n=[],r=0,a=null){return this._syncRegistry.addGrammar(t,n),this._grammarForScopeName(t.scopeName,r,a)}_grammarForScopeName(t,n=0,r=null,a=null,s=null){return this._syncRegistry.grammarForScopeName(t,n,r,a,s)}},xb=vb.NULL;const nee=/["&'<>`]/g,ree=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,aee=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,iee=/[|\\{}()[\]^$+*?.]/g,o7=new WeakMap;function see(e,t){if(e=e.replace(t.subset?oee(t.subset):nee,r),t.subset||t.escapeOnly)return e;return e.replace(ree,n).replace(aee,r);function n(a,s,o){return t.format((a.charCodeAt(0)-55296)*1024+a.charCodeAt(1)-56320+65536,o.charCodeAt(s+2),t)}function r(a,s,o){return t.format(a.charCodeAt(0),o.charCodeAt(s+1),t)}}function oee(e){let t=o7.get(e);return t||(t=lee(e),o7.set(e,t)),t}function lee(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(iee,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}const uee=/[\dA-Fa-f]/;function cee(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!uee.test(String.fromCharCode(t))?r:r+";"}const dee=/\d/;function fee(e,t,n){const r="&#"+String(e);return n&&t&&!dee.test(String.fromCharCode(t))?r:r+";"}const hee=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslas
614h","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],t2={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub
vendor: 58,423 bytes, lines 614-623
614:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},mee=["cent","copy","divide","gt","lt","not","para","times"],TC={}.hasOwnProperty,Eb={};let Nf;for(Nf in t2)TC.call(t2,Nf)&&(Eb[t2[Nf]]=Nf);const pee=/[^\dA-Za-z]/;function gee(e,t,n,r){const a=String.fromCharCode(e);if(TC.call(Eb,a)){const s=Eb[a],o="&"+s;return n&&hee.includes(s)&&!mee.includes(s)&&(!r||t&&t!==61&&pee.test(String.fromCharCode(t)))?o:o+";"}return""}function bee(e,t,n){let r=cee(e,t,n.omitOptionalSemicolons),a;if((n.useNamedReferences||n.useShortestReferences)&&(a=gee(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!a)&&n.useShortestReferences){const s=fee(e,t,n.omitOptionalSemicolons);s.length<r.length&&(r=s)}return a&&(!n.useShortestReferences||a.length<r.length)?a:r}function eu(e,t){return see(e,Object.assign({format:bee},t))}const yee=/^>|^->|<!--|-->|--!>|<!-$/g,vee=[">"],xee=["<",">"];function Eee(e,t,n,r){return r.settings.bogusComments?"<?"+eu(e.value,Object.assign({},r.settings.characterReferences,{subset:vee}))+">":"<!--"+e.value.replace(yee,a)+"-->";function a(s){return eu(s,Object.assign({},r.settings.characterReferences,{subset:xee}))}}function _ee(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}const Rn=SC(1),wC=SC(-1),Tee=[];function SC(e){return t;function t(n,r,a){const s=n?n.children:Tee;let o=(r||0)+e,u=s[o];if(!a)for(;u&&rm(u);)o+=e,u=s[o];return u}}const wee={}.hasOwnProperty;function AC(e){return t;function t(n,r,a){return wee.call(e,n.tagName)&&e[n.tagName](n,r,a)}}const uy=AC({body:Aee,caption:n2,colgroup:n2,dd:Ree,dt:Nee,head:n2,html:See,li:kee,optgroup:Oee,option:Dee,p:Cee,rp:l7,rt:l7,tbody:Lee,td:u7,tfoot:Mee,th:u7,thead:Iee,tr:Pee});function n2(e,t,n){const r=Rn(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&rm(r.value.charAt(0)))}function See(e,t,n){const r=Rn(n,t);return!r||r.type!=="comment"}function Aee(e,t,n){const r=Rn(n,t);return!r||r.type!=="comment"}function Cee(e,t,n){const r=Rn(n,t);return r?r.type==="element"&&(r.tagName==="address"||r.tagName==="article"||r.tagName==="aside"||r.tagName==="blockquote"||r.tagName==="details"||r.tagName==="div"||r.tagName==="dl"||r.tagName==="fieldset"||r.tagName==="figcaption"||r.tagName==="figure"||r.tagName==="footer"||r.tagName==="form"||r.tagName==="h1"||r.tagName==="h2"||r.tagName==="h3"||r.tagName==="h4"||r.tagName==="h5"||r.tagName==="h6"||r.tagName==="header"||r.tagName==="hgroup"||r.tagName==="hr"||r.tagName==="main"||r.tagName==="menu"||r.tagName==="nav"||r.tagName==="ol"||r.tagName==="p"||r.tagName==="pre"||r.tagName==="section"||r.tagName==="table"||r.tagName==="ul"):!n||!(n.type==="element"&&(n.tagName==="a"||n.tagName==="audio"||n.tagName==="del"||n.tagName==="ins"||n.tagName==="map"||n.tagName==="noscript"||n.tagName==="video"))}function kee(e,t,n){const r=Rn(n,t);return!r||r.type==="element"&&r.tagName==="li"}function Nee(e,t,n){const r=Rn(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function Ree(e,t,n){const r=Rn(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function l7(e,t,n){const r=Rn(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function Oee(e,t,n){const r=Rn(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function Dee(e,t,n){const r=Rn(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function Iee(e,t,n){const r=Rn(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function Lee(e,t,n){const r=Rn(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function Mee(e,t,n){return!Rn(n,t)}function Pee(e,t,n){const r=Rn(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function u7(e,t,n){const r=Rn(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const Bee=AC({body:jee,colgroup:Fee,head:Hee,html:zee,tbody:Uee});function zee(e){const t=Rn(e,-1);return!t||t.type!=="comment"}function Hee(e){const t=new Set;for(const r of e.children)if(r.type==="element"&&(r.tagName==="base"||r.tagName==="title")){if(t.has(r.tagName))return!1;t.add(r.tagName)}const n=e.children[0];return!n||n.type==="element"}function jee(e){const t=Rn(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&rm(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function Fee(e,t,n){const r=wC(n,t),a=Rn(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&uy(r,n.children.indexOf(r),n)?!1:!!(a&&a.type==="element"&&a.tagName==="col")}function Uee(e,t,n){const r=wC(n,t),a=Rn(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&uy(r,n.children.indexOf(r),n)?!1:!!(a&&a.type==="element"&&a.tagName==="tr")}const Rf={name:[[`	
615\f\r &/=>`.split(""),`	
616\f\r "&'/=>\``.split("")],[`\0	
617\f\r "&'/<=>`.split(""),`\0	
618\f\r "&'/<=>\``.split("")]],unquoted:[[`	
619\f\r &>`.split(""),`\0	
620\f\r "&'<=>\``.split("")],[`\0	
621\f\r "&'<=>\``.split(""),`\0	
622\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function qee(e,t,n,r){const a=r.schema,s=a.space==="svg"?!1:r.settings.omitOptionalTags;let o=a.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const u=[];let c;a.space==="html"&&e.tagName==="svg"&&(r.schema=Gs);const f=$ee(r,e.properties),p=r.all(a.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=a,p&&(o=!1),(f||!s||!Bee(e,t,n))&&(u.push("<",e.tagName,f?" "+f:""),o&&(a.space==="svg"||r.settings.closeSelfClosing)&&(c=f.charAt(f.length-1),(!r.settings.tightSelfClosing||c==="/"||c&&c!=='"'&&c!=="'")&&u.push(" "),u.push("/")),u.push(">")),u.push(p),!o&&(!s||!uy(e,t,n))&&u.push("</"+e.tagName+">"),u.join("")}function $ee(e,t){const n=[];let r=-1,a;if(t){for(a in t)if(t[a]!==null&&t[a]!==void 0){const s=Vee(e,a,t[a]);s&&n.push(s)}}for(;++r<n.length;){const s=e.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&s!=='"'&&s!=="'"&&(n[r]+=" ")}return n.join("")}function Vee(e,t,n){const r=am(e.schema,t),a=e.settings.allowParseErrors&&e.schema.space==="html"?0:1,s=e.settings.allowDangerousCharacters?0:1;let o=e.quote,u;if(r.overloadedBoolean&&(n===r.attribute||n==="")?n=!0:(r.boolean||r.overloadedBoolean)&&(typeof n!="string"||n===r.attribute||n==="")&&(n=!!n),n==null||n===!1||typeof n=="number"&&Number.isNaN(n))return"";const c=eu(r.attribute,Object.assign({},e.settings.characterReferences,{subset:Rf.name[a][s]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?h4:p4)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?c:(e.settings.preferUnquoted&&(u=eu(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:Rf.unquoted[a][s]}))),u!==n&&(e.settings.quoteSmart&&gh(n,o)>gh(n,e.alternative)&&(o=e.alternative),u=o+eu(n,Object.assign({},e.settings.characterReferences,{subset:(o==="'"?Rf.single:Rf.double)[a][s],attribute:!0}))+o),c+(u&&"="+u))}const Gee=["<","&"];function CC(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:eu(e.value,Object.assign({},r.settings.characterReferences,{subset:Gee}))}function Yee(e,t,n,r){return r.settings.allowDangerousHtml?e.value:CC(e,t,n,r)}function Qee(e,t,n,r){return r.all(e)}const Wee=K4("type",{invalid:Xee,unknown:Kee,handlers:{comment:Eee,doctype:_ee,element:qee,raw:Yee,root:Qee,text:CC}});function Xee(e){throw new Error("Expected node, not `"+e+"`")}function Kee(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const Zee={},Jee={},ete=[];function tte(e,t){const n=t||Zee,r=n.quote||'"',a=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:nte,all:rte,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||rA,characterReferences:n.characterReferences||Jee,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?Gs:C0,quote:r,alternative:a}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function nte(e,t,n){return Wee(e,t,n,this)}function rte(e){const t=[],n=e&&e.children||ete;let r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}function Th(e,t){const n=typeof e=="string"?{}:{...e.colorReplacements},r=typeof e=="string"?e:e.name;for(const[a,s]of Object.entries(t?.colorReplacements||{}))typeof s=="string"?n[a]=s:a===r&&Object.assign(n,s);return n}function Ps(e,t){return e&&(t?.[e?.toLowerCase()]||e)}function ate(e){return Array.isArray(e)?e:[e]}async function kC(e){return Promise.resolve(typeof e=="function"?e():e).then(t=>t.default||t)}function cy(e){return!e||["plaintext","txt","text","plain"].includes(e)}function NC(e){return e==="ansi"||cy(e)}function dy(e){return e==="none"}function RC(e){return dy(e)}function OC(e,t){if(!t)return e;e.properties||={},e.properties.class||=[],typeof e.properties.class=="string"&&(e.properties.class=e.properties.class.split(/\s+/g)),Array.isArray(e.properties.class)||(e.properties.class=[]);const n=Array.isArray(t)?t:t.split(/\s+/g);for(const r of n)r&&!e.properties.class.includes(r)&&e.properties.class.push(r);return e}function Em(e,t=!1){const n=e.split(/(\r?\n)/g);let r=0;const a=[];for(let s=0;s<n.length;s+=2){const o=t?n[s]+(n[s+1]||""):n[s];a.push([o,r]),r+=n[s].length,r+=n[s+1]?.length||0}return a}function ite(e){const t=Em(e,!0).map(([a])=>a);function n(a){if(a===e.length)return{line:t.length-1,character:t[t.length-1].length};let s=a,o=0;for(const u of t){if(s<u.length)break;s-=u.length,o++}return{line:o,character:s}}function r(a,s){let o=0;for(let u=0;u<a;u++)o+=t[u].length;return o+=s,o}return{lines:t,indexToPos:n,posToIndex:r}}const fy="light-dark()",ste=["color","background-color"];function ote(e,t){let n=0;const r=[];for(const a of t)a>n&&r.push({...e,content:e.content.slice(n,a),offset:e.offset+n}),n=a;return n<e.content.length&&r.push({...e,content:e.content.slice(n),offset:e.offset+n}),r}function lte(e,t){const n=Array.from(t instanceof Set?t:new Set(t)).sort((r,a)=>r-a);return n.length?e.map(r=>r.flatMap(a=>{const s=n.filter(o=>a.offset<o&&o<a.offset+a.content.length).map(o=>o-a.offset).sort((o,u)=>o-u);return s.length?ote(a,s):a})):e}function ute(e,t,n,r,a="css-vars"){const s={content:e.content,explanation:e.explanation,offset:e.offset},o=t.map(p=>wh(e.variants[p])),u=new Set(o.flatMap(p=>Object.keys(p))),c={},f=(p,m)=>{const b=m==="color"?"":m==="background-color"?"-bg":`-${m}`;return n+t[p]+(m==="color"?"":b)};return o.forEach((p,m)=>{for(const b of u){const y=p[b]||"inherit";if(m===0&&r&&ste.includes(b))if(r===fy&&o.length>1){const _=t.findIndex(R=>R==="light"),w=t.findIndex(R=>R==="dark");if(_===-1||w===-1)throw new _n('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');const k=o[_][b]||"inherit",A=o[w][b]||"inherit";c[b]=`light-dark(${k}, ${A})`,a==="css-vars"&&(c[f(m,b)]=y)}else c[b]=y;else a==="css-vars"&&(c[f(m,b)]=y)}}),s.htmlStyle=c,s}function wh(e){const t={};if(e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle){e.fontStyle&er.Italic&&(t["font-style"]="italic"),e.fontStyle&er.Bold&&(t["font-weight"]="bold");const n=[];e.fontStyle&er.Underline&&n.push("underline"),e.fontStyle&er.Strikethrough&&n.push("line-through"),n.length&&(t["text-decoration"]=n.join(" "))}return t}function _b(e){return typeof e=="string"?e:Object.entries(e).map(([t,n])=>`${t}:${n}`).join(";")}const DC=new WeakMap;function _m(e,t){DC.set(e,t)}function b0(e){return DC.get(e)}class wu{_stacks={};lang;get themes(){return Object.keys(this._stacks)}get theme(){return this.themes[0]}get _stack(){return this._stacks[this.theme]}static initial(t,n){return new wu(Object.fromEntries(ate(n).map(r=>[r,xb])),t)}constructor(...t){if(t.length===2){const[n,r]=t;this.lang=r,this._stacks=n}else{const[n,r,a]=t;this.lang=r,this._stacks={[a]:n}}}getInternalStack(t=this.theme){return this._stacks[t]}getScopes(t=this.theme){return cte(this._stacks[t])}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.getScopes()}}}function cte(e){const t=[],n=new Set;function r(a){if(n.has(a))return;n.add(a);const s=a?.nameScopesList?.scopeName;s&&t.push(s),a.parent&&r(a.parent)}return r(e),t}function dte(e,t){if(!(e instanceof wu))throw new _n("Invalid grammar state");return e.getInternalStack(t)}function fte(){const e=new WeakMap;function t(n){if(!e.has(n.meta)){let r=function(o){if(typeof o=="number"){if(o<0||o>n.source.length)throw new _n(`Invalid decoration offset: ${o}. Code length: ${n.source.length}`);return{...a.indexToPos(o),offset:o}}else{const u=a.lines[o.line];if(u===void 0)throw new _n(`Invalid decoration position ${JSON.stringify(o)}. Lines length: ${a.lines.length}`);let c=o.character;if(c<0&&(c=u.length+c),c<0||c>u.length)throw new _n(`Invalid decoration position ${JSON.stringify(o)}. Line ${o.line} length: ${u.length}`);return{...o,character:c,offset:a.posToIndex(o.line,c)}}};const a=ite(n.source),s=(n.options.decorations||[]).map(o=>({...o,start:r(o.start),end:r(o.end)}));hte(s),e.set(n.meta,{decorations:s,converter:a,source:n.source})}return e.get(n.meta)}return{name:"shiki:decorations",tokens(n){if(!this.options.decorations?.length)return;const a=t(this).decorations.flatMap(o=>[o.start.offset,o.end.offset]);return lte(n,a)},code(n){if(!this.options.decorations?.length)return;const r=t(this),a=Array.from(n.children).filter(p=>p.type==="element"&&p.tagName==="span");if(a.length!==r.converter.lines.length)throw new _n(`Number of lines in code element (${a.length}) does not match the number of lines in the source (${r.converter.lines.length}). Failed to apply decorations.`);function s(p,m,b,y){const _=a[p];let w="",k=-1,A=-1;if(m===0&&(k=0),b===0&&(A=0),b===Number.POSITIVE_INFINITY&&(A=_.children.length),k===-1||A===-1)for(let D=0;D<_.children.length;D++)w+=IC(_.children[D]),k===-1&&w.length===m&&(k=D+1),A===-1&&w.length===b&&(A=D+1);if(k===-1)throw new _n(`Failed to find start index for decoration ${JSON.stringify(y.start)}`);if(A===-1)throw new _n(`Failed to find end index for decoration ${JSON.stringify(y.end)}`);const R=_.children.slice(k,A);if(!y.alwaysWrap&&R.length===_.children.length)u(_,y,"line");else if(!y.alwaysWrap&&R.length===1&&R[0].type==="element")u(R[0],y,"token");else{const D={type:"element",tagName:"span",properties:{},children:R};u(D,y,"wrapper"),_.children.splice(k,R.length,D)}}function o(p,m){a[p]=u(a[p],m,"line")}function u(p,m,b){const y=m.properties||{},_=m.transform||(w=>w);return p.tagName=m.tagName||"span",p.properties={...p.properties,...y,class:p.properties.class},m.properties?.class&&OC(p,m.properties.class),p=_(p,b)||p,p}const c=[],f=r.decorations.sort((p,m)=>m.start.offset-p.start.offset||p.end.offset-m.end.offset);for(const p of f){const{start:m,end:b}=p;if(m.line===b.line)s(m.line,m.character,b.character,p);else if(m.line<b.line){s(m.line,m.character,Number.POSITIVE_INFINITY,p);for(let y=m.line+1;y<b.line;y++)c.unshift(()=>o(y,p));s(b.line,0,b.character,p)}}c.forEach(p=>p())}}}function hte(e){for(let t=0;t<e.length;t++){const n=e[t];if(n.start.offset>n.end.offset)throw new _n(`Invalid decoration range: ${JSON.stringify(n.start)} - ${JSON.stringify(n.end)}`);for(let r=t+1;r<e.length;r++){const a=e[r],s=n.start.offset<=a.start.offset&&a.start.offset<n.end.offset,o=n.start.offset<a.end.offset&&a.end.offset<=n.end.offset,u=a.start.offset<=n.start.offset&&n.start.offset<a.end.offset,c=a.start.offset<n.end.offset&&n.end.offset<=a.end.offset;if(s||o||u||c){if(s&&o||u&&c||u&&n.start.offset===n.end.offset||o&&a.start.offset===a.end.offset)continue;throw new _n(`Decorations ${JSON.stringify(n.start)} and ${JSON.stringify(a.start)} intersect.`)}}}}function IC(e){return e.type==="text"?e.value:e.type==="element"?e.children.map(IC).join(""):""}const mte=[fte()];function Sh(e){const t=pte(e.transformers||[]);return[...t.pre,...t.normal,...t.post,...mte]}function pte(e){const t=[],n=[],r=[];for(const a of e)switch(a.enforce){case"pre":t.push(a);break;case"post":n.push(a);break;default:r.push(a)}return{pre:t,post:n,normal:r}}var Co=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],r2={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",8:"hidden",9:"strikethrough"};function gte(e,t){const n=e.indexOf("\x1B",t);if(n!==-1&&e[n+1]==="["){const r=e.indexOf("m",n);if(r!==-1)return{sequence:e.substring(n+2,r).split(";"),startPosition:n,position:r+1}}return{position:e.length}}function c7(e){const t=e.shift();if(t==="2"){const n=e.splice(0,3).map(r=>Number.parseInt(r));return n.length!==3||n.some(r=>Number.isNaN(r))?void 0:{type:"rgb",rgb:n}}else if(t==="5"){const n=e.shift();if(n)return{type:"table",index:Number(n)}}}function bte(e){const t=[];for(;e.length>0;){const n=e.shift();if(!n)continue;const r=Number.parseInt(n);if(!Number.isNaN(r))if(r===0)t.push({type:"resetAll"});else if(r<=9)r2[r]&&t.push({type:"setDecoration",value:r2[r]});else if(r<=29){const a=r2[r-20];a&&(t.push({type:"resetDecoration",value:a}),a==="dim"&&t.push({type:"resetDecoration",value:"bold"}))}else if(r<=37)t.push({type:"setForegroundColor",value:{type:"named",name:Co[r-30]}});else if(r===38){const a=c7(e);a&&t.push({type:"setForegroundColor",value:a})}else if(r===39)t.push({type:"resetForegroundColor"});else if(r<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:Co[r-40]}});else if(r===48){const a=c7(e);a&&t.push({type:"setBackgroundColor",value:a})}else r===49?t.push({type:"resetBackgroundColor"}):r===53?t.push({type:"setDecoration",value:"overline"}):r===55?t.push({type:"resetDecoration",value:"overline"}):r>=90&&r<=97?t.push({type:"setForegroundColor",value:{type:"named",name:Co[r-90+8]}}):r>=100&&r<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:Co[r-100+8]}})}return t}function yte(){let e=null,t=null,n=new Set;return{parse(r){const a=[];let s=0;do{const o=gte(r,s),u=o.sequence?r.substring(s,o.startPosition):r.substring(s);if(u.length>0&&a.push({value:u,foreground:e,background:t,decorations:new Set(n)}),o.sequence){const c=bte(o.sequence);for(const f of c)f.type==="resetAll"?(e=null,t=null,n.clear()):f.type==="resetForegroundColor"?e=null:f.type==="resetBackgroundColor"?t=null:f.type==="resetDecoration"&&n.delete(f.value);for(const f of c)f.type==="setForegroundColor"?e=f.value:f.type==="setBackgroundColor"?t=f.value:f.type==="setDecoration"&&n.add(f.value)}s=o.position}while(s<r.length);return a}}}var vte={black:"#000000",red:"#bb0000",green:"#00bb00",yellow:"#bbbb00",blue:"#0000bb",magenta:"#ff00ff",cyan:"#00bbbb",white:"#eeeeee",brightBlack:"#555555",brightRed:"#ff5555",brightGreen:"#00ff00",brightYellow:"#ffff55",brightBlue:"#5555ff",brightMagenta:"#ff55ff",brightCyan:"#55ffff",brightWhite:"#ffffff"};function xte(e=vte){function t(u){return e[u]}function n(u){return`#${u.map(c=>Math.max(0,Math.min(c,255)).toString(16).padStart(2,"0")).join("")}`}let r;function a(){if(r)return r;r=[];for(let f=0;f<Co.length;f++)r.push(t(Co[f]));let u=[0,95,135,175,215,255];for(let f=0;f<6;f++)for(let p=0;p<6;p++)for(let m=0;m<6;m++)r.push(n([u[f],u[p],u[m]]));let c=8;for(let f=0;f<24;f++,c+=10)r.push(n([c,c,c]));return r}function s(u){return a()[u]}function o(u){switch(u.type){case"named":return t(u.name);case"rgb":return n(u.rgb);case"table":return s(u.index)}}return{value:o}}function Ete(e,t,n){const r=Th(e,n),a=Em(t),s=xte(Object.fromEntries(Co.map(u=>[u,e.colors?.[`terminal.ansi${u[0].toUpperCase()}${u.substring(1)}`]]))),o=yte();return a.map(u=>o.parse(u[0]).map(c=>{let f,p;c.decorations.has("reverse")?(f=c.background?s.value(c.background):e.bg,p=c.foreground?s.value(c.foreground):e.fg):(f=c.foreground?s.value(c.foreground):e.fg,p=c.background?s.value(c.background):void 0),f=Ps(f,r),p=Ps(p,r),c.decorations.has("dim")&&(f=_te(f));let m=er.None;return c.decorations.has("bold")&&(m|=er.Bold),c.decorations.has("italic")&&(m|=er.Italic),c.decorations.has("underline")&&(m|=er.Underline),c.decorations.has("strikethrough")&&(m|=er.Strikethrough),{content:c.value,offset:u[1],color:f,bgColor:p,fontStyle:m}}))}function _te(e){const t=e.match(/#([0-9a-f]{3})([0-9a-f]{3})?([0-9a-f]{2})?/);if(t)if(t[3]){const r=Math.round(Number.parseInt(t[3],16)/2).toString(16).padStart(2,"0");return`#${t[1]}${t[2]}${r}`}else return t[2]?`#${t[1]}${t[2]}80`:`#${Array.from(t[1]).map(r=>`${r}${r}`).join("")}80`;const n=e.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);return n?`var(${n[1]}-dim)`:e}function hy(e,t,n={}){const{lang:r="text",theme:a=e.getLoadedThemes()[0]}=n;if(cy(r)||dy(a))return Em(t).map(c=>[{content:c[0],offset:c[1]}]);const{theme:s,colorMap:o}=e.setTheme(a);if(r==="ansi")return Ete(s,t,n);const u=e.getLanguage(r);if(n.grammarState){if(n.grammarState.lang!==u.name)throw new _n(`Grammar state language "${n.grammarState.lang}" does not match highlight language "${u.name}"`);if(!n.grammarState.themes.includes(s.name))throw new _n(`Grammar state themes "${n.grammarState.themes}" do not contain highlight theme "${s.name}"`)}return wte(t,u,s,o,n)}function Tte(...e){if(e.length===2)return b0(e[1]);const[t,n,r={}]=e,{lang:a="text",theme:s=t.getLoadedThemes()[0]}=r;if(cy(a)||dy(s))throw new _n("Plain language does not have grammar state");if(a==="ansi")throw new _n("ANSI language does not have grammar state");const{theme:o,colorMap:u}=t.setTheme(s),c=t.getLanguage(a);return new wu(Ah(n,c,o,u,r).stateStack,c.name,o.name)}function wte(e,t,n,r,a){const s=Ah(e,t,n,r,a),o=new wu(Ah(e,t,n,r,a).stateStack,t.name,n.name);return _m(s.tokens,o),s.tokens}function Ah(e,t,n,r,a){const s=Th(n,a),{tokenizeMaxLineLength:o=0,tokenizeTimeLimit:u=500}=a,c=Em(e);let f=a.grammarState?dte(a.grammarState,n.name)??xb:a.grammarContextCode!=null?Ah(a.grammarContextCode,t,n,r,{...a,grammarState:void 0,grammarContextCode:void 0}).stateStack:xb,p=[];const m=[];for(let b=0,y=c.length;b<y;b++){const[_,w]=c[b];if(_===""){p=[],m.push([]);continue}if(o>0&&_.length>=o){p=[],m.push([{content:_,offset:w,color:"",fontStyle:0}]);continue}let k,A,R;a.includeExplanation&&(k=t.tokenizeLine(_,f,u),A=k.tokens,R=0);const D=t.tokenizeLine2(_,f,u),F=D.tokens.length/2;for(let H=0;H<F;H++){const P=D.tokens[2*H],z=H+1<F?D.tokens[2*H+2]:_.length;if(P===z)continue;const K=D.tokens[2*H+1],ee=Ps(r[du.getForeground(K)],s),Y=du.getFontStyle(K),se={content:_.substring(P,z),offset:w+P,color:ee,fontStyle:Y};if(a.includeExplanation){const re=[];if(a.includeExplanation!=="scopeName")for(const ue of n.settings){let be;switch(typeof ue.scope){case"string":be=ue.scope.split(/,/).map(G=>G.trim());break;case"object":be=ue.scope;break;default:continue}re.push({settings:ue,selectors:be.map(G=>G.split(/ /))})}se.explanation=[];let pe=0;for(;P+pe<z;){const ue=A[R],be=_.substring(ue.startIndex,ue.endIndex);pe+=be.length,se.explanation.push({content:be,scopes:a.includeExplanation==="scopeName"?Ste(ue.scopes):Ate(re,ue.scopes)}),R+=1}}p.push(se)}m.push(p),p=[],f=D.ruleStack}return{tokens:m,stateStack:f}}function Ste(e){return e.map(t=>({scopeName:t}))}function Ate(e,t){const n=[];for(let r=0,a=t.length;r<a;r++){const s=t[r];n[r]={scopeName:s,themeMatches:kte(e,s,t.slice(0,r))}}return n}function d7(e,t){return e===t||t.substring(0,e.length)===e&&t[e.length]==="."}function Cte(e,t,n){if(!d7(e[e.length-1],t))return!1;let r=e.length-2,a=n.length-1;for(;r>=0&&a>=0;)d7(e[r],n[a])&&(r-=1),a-=1;return r===-1}function kte(e,t,n){const r=[];for(const{selectors:a,settings:s}of e)for(const o of a)if(Cte(o,t,n)){r.push(s);break}return r}function LC(e,t,n){const r=Object.entries(n.themes).filter(c=>c[1]).map(c=>({color:c[0],theme:c[1]})),a=r.map(c=>{const f=hy(e,t,{...n,theme:c.theme}),p=b0(f),m=typeof c.theme=="string"?c.theme:c.theme.name;return{tokens:f,state:p,theme:m}}),s=Nte(...a.map(c=>c.tokens)),o=s[0].map((c,f)=>c.map((p,m)=>{const b={content:p.content,variants:{},offset:p.offset};return"includeExplanation"in n&&n.includeExplanation&&(b.explanation=p.explanation),s.forEach((y,_)=>{const{content:w,explanation:k,offset:A,...R}=y[f][m];b.variants[r[_].color]=R}),b})),u=a[0].state?new wu(Object.fromEntries(a.map(c=>[c.theme,c.state?.getInternalStack(c.theme)])),a[0].state.lang):void 0;return u&&_m(o,u),o}function Nte(...e){const t=e.map(()=>[]),n=e.length;for(let r=0;r<e[0].length;r++){const a=e.map(c=>c[r]),s=t.map(()=>[]);t.forEach((c,f)=>c.push(s[f]));const o=a.map(()=>0),u=a.map(c=>c[0]);for(;u.every(c=>c);){const c=Math.min(...u.map(f=>f.content.length));for(let f=0;f<n;f++){const p=u[f];p.content.length===c?(s[f].push(p),o[f]+=1,u[f]=a[f][o[f]]):(s[f].push({...p,content:p.content.slice(0,c)}),u[f]={...p,content:p.content.slice(c),offset:p.offset+c})}}}return t}function Ch(e,t,n){let r,a,s,o,u,c;if("themes"in n){const{defaultColor:f="light",cssVariablePrefix:p="--shiki-",colorsRendering:m="css-vars"}=n,b=Object.entries(n.themes).filter(A=>A[1]).map(A=>({color:A[0],theme:A[1]})).sort((A,R)=>A.color===f?-1:R.color===f?1:0);if(b.length===0)throw new _n("`themes` option must not be empty");const y=LC(e,t,n);if(c=b0(y),f&&fy!==f&&!b.find(A=>A.color===f))throw new _n(`\`themes\` option must contain the defaultColor key \`${f}\``);const _=b.map(A=>e.getTheme(A.theme)),w=b.map(A=>A.color);s=y.map(A=>A.map(R=>ute(R,w,p,f,m))),c&&_m(s,c);const k=b.map(A=>Th(A.theme,n));a=f7(b,_,k,p,f,"fg",m),r=f7(b,_,k,p,f,"bg",m),o=`shiki-themes ${_.map(A=>A.name).join(" ")}`,u=f?void 0:[a,r].join(";")}else if("theme"in n){const f=Th(n.theme,n);s=hy(e,t,n);const p=e.getTheme(n.theme);r=Ps(p.bg,f),a=Ps(p.fg,f),o=p.name,c=b0(s)}else throw new _n("Invalid options, either `theme` or `themes` must be provided");return{tokens:s,fg:a,bg:r,themeName:o,rootStyle:u,grammarState:c}}function f7(e,t,n,r,a,s,o){return e.map((u,c)=>{const f=Ps(t[c][s],n[c])||"inherit",p=`${r+u.color}${s==="bg"?"-bg":""}:${f}`;if(c===0&&a){if(a===fy&&e.length>1){const m=e.findIndex(w=>w.color==="light"),b=e.findIndex(w=>w.color==="dark");if(m===-1||b===-1)throw new _n('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');const y=Ps(t[m][s],n[m])||"inherit",_=Ps(t[b][s],n[b])||"inherit";return`light-dark(${y}, ${_});${p}`}return f}return o==="css-vars"?p:null}).filter(u=>!!u).join(";")}function kh(e,t,n,r={meta:{},options:n,codeToHast:(a,s)=>kh(e,a,s),codeToTokens:(a,s)=>Ch(e,a,s)}){let a=t;for(const _ of Sh(n))a=_.preprocess?.call(r,a,n)||a;let{tokens:s,fg:o,bg:u,themeName:c,rootStyle:f,grammarState:p}=Ch(e,a,n);const{mergeWhitespaces:m=!0,mergeSameStyleTokens:b=!1}=n;m===!0?s=Ote(s):m==="never"&&(s=Dte(s)),b&&(s=Ite(s));const y={...r,get source(){return a}};for(const _ of Sh(n))s=_.tokens?.call(y,s)||s;return Rte(s,{...n,fg:o,bg:u,themeName:c,rootStyle:f},y,p)}function Rte(e,t,n,r=b0(e)){const a=Sh(t),s=[],o={type:"root",children:[]},{structure:u="classic",tabindex:c="0"}=t;let f={type:"element",tagName:"pre",properties:{class:`shiki ${t.themeName||""}`,style:t.rootStyle||`background-color:${t.bg};color:${t.fg}`,...c!==!1&&c!=null?{tabindex:c.toString()}:{},...Object.fromEntries(Array.from(Object.entries(t.meta||{})).filter(([_])=>!_.startsWith("_")))},children:[]},p={type:"element",tagName:"code",properties:{},children:s};const m=[],b={...n,structure:u,addClassToHast:OC,get source(){return n.source},get tokens(){return e},get options(){return t},get root(){return o},get pre(){return f},get code(){return p},get lines(){return m}};if(e.forEach((_,w)=>{w&&(u==="inline"?o.children.push({type:"element",tagName:"br",properties:{},children:[]}):u==="classic"&&s.push({type:"text",value:`
623`}));let k={type:"element",tagName:"span",properties:{class:"line"},children:[]},A=0;for(const R of _){let D={type:"element",tagName:"span",properties:{...R.htmlAttrs},children:[{type:"text",value:R.content}]};const F=_b(R.htmlStyle||wh(R));F&&(D.properties.style=F);for(const H of a)D=H?.span?.call(b,D,w+1,A,k,R)||D;u==="inline"?o.children.push(D):u==="classic"&&k.children.push(D),A+=R.content.length}if(u==="classic"){for(const R of a)k=R?.line?.call(b,k,w+1)||k;m.push(k),s.push(k)}}),u==="classic"){for(const _ of a)p=_?.code?.call(b,p)||p;f.children.push(p);for(const _ of a)f=_?.pre?.call(b,f)||f;o.children.push(f)}let y=o;for(const _ of a)y=_?.root?.call(b,y)||y;return r&&_m(y,r),y}function Ote(e){return e.map(t=>{const n=[];let r="",a=0;return t.forEach((s,o)=>{const c=!(s.fontStyle&&(s.fontStyle&er.Underline||s.fontStyle&er.Strikethrough));c&&s.content.match(/^\s+$/)&&t[o+1]?(a||(a=s.offset),r+=s.content):r?(c?n.push({...s,offset:a,content:r+s.content}):n.push({content:r,offset:a},s),a=0,r=""):n.push(s)}),n})}function Dte(e){return e.map(t=>t.flatMap(n=>{if(n.content.match(/^\s+$/))return n;const r=n.content.match(/^(\s*)(.*?)(\s*)$/);if(!r)return n;const[,a,s,o]=r;if(!a&&!o)return n;const u=[{...n,offset:n.offset+a.length,content:s}];return a&&u.unshift({content:a,offset:n.offset}),o&&u.push({content:o,offset:n.offset+a.length+s.length}),u}))}function Ite(e){return e.map(t=>{const n=[];for(const r of t){if(n.length===0){n.push({...r});continue}const a=n[n.length-1],s=_b(a.htmlStyle||wh(a)),o=_b(r.htmlStyle||wh(r)),u=a.fontStyle&&(a.fontStyle&er.Underline||a.fontStyle&er.Strikethrough),c=r.fontStyle&&(r.fontStyle&er.Underline||r.fontStyle&er.Strikethrough);!u&&!c&&s===o?a.content+=r.content:n.push({...r})}return n})}const Lte=tte;function Mte(e,t,n){const r={meta:{},options:n,codeToHast:(s,o)=>kh(e,s,o),codeToTokens:(s,o)=>Ch(e,s,o)};let a=Lte(kh(e,t,n,r));for(const s of Sh(n))a=s.postprocess?.call(r,a,n)||a;return a}const h7={light:"#333333",dark:"#bbbbbb"},m7={light:"#fffffe",dark:"#1e1e1e"},p7="__shiki_resolved";function my(e){if(e?.[p7])return e;const t={...e};t.tokenColors&&!t.settings&&(t.settings=t.tokenColors,delete t.tokenColors),t.type||="dark",t.colorReplacements={...t.colorReplacements},t.settings||=[];let{bg:n,fg:r}=t;if(!n||!r){const u=t.settings?t.settings.find(c=>!c.name&&!c.scope):void 0;u?.settings?.foreground&&(r=u.settings.foreground),u?.settings?.background&&(n=u.settings.background),!r&&t?.colors?.["editor.foreground"]&&(r=t.colors["editor.foreground"]),!n&&t?.colors?.["editor.background"]&&(n=t.colors["editor.background"]),r||(r=t.type==="light"?h7.light:h7.dark),n||(n=t.type==="light"?m7.light:m7.dark),t.fg=r,t.bg=n}t.settings[0]&&t.settings[0].settings&&!t.settings[0].scope||t.settings.unshift({settings:{foreground:t.fg,background:t.bg}});let a=0;const s=new Map;function o(u){if(s.has(u))return s.get(u);a+=1;const c=`#${a.toString(16).padStart(8,"0").toLowerCase()}`;return t.colorReplacements?.[`#${c}`]?o(u):(s.set(u,c),c)}t.settings=t.settings.map(u=>{const c=u.settings?.foreground&&!u.settings.foreground.startsWith("#"),f=u.settings?.background&&!u.settings.background.startsWith("#");if(!c&&!f)return u;const p={...u,settings:{...u.settings}};if(c){const m=o(u.settings.foreground);t.colorReplacements[m]=u.settings.foreground,p.settings.foreground=m}if(f){const m=o(u.settings.background);t.colorReplacements[m]=u.settings.background,p.settings.background=m}return p});for(const u of Object.keys(t.colors||{}))if((u==="editor.foreground"||u==="editor.background"||u.startsWith("terminal.ansi"))&&!t.colors[u]?.startsWith("#")){const c=o(t.colors[u]);t.colorReplacements[c]=t.colors[u],t.colors[u]=c}return Object.defineProperty(t,p7,{enumerable:!1,writable:!1,value:!0}),t}async function MC(e){return Array.from(new Set((await Promise.all(e.filter(t=>!NC(t)).map(async t=>await kC(t).then(n=>Array.isArray(n)?n:[n])))).flat()))}async function PC(e){return(await Promise.all(e.map(async n=>RC(n)?null:my(await kC(n))))).filter(n=>!!n)}let Pte=3;function Bte(e,t=3){t>Pte||console.trace(`[SHIKI DEPRECATE]: ${e}`)}let Ql=class extends Error{constructor(t){super(t),this.name="ShikiError"}};class zte extends tee{constructor(t,n,r,a={}){super(t),this._resolver=t,this._themes=n,this._langs=r,this._alias=a,this._themes.map(s=>this.loadTheme(s)),this.loadLanguages(this._langs)}_resolvedThemes=new Map;_resolvedGrammars=new Map;_langMap=new Map;_langGraph=new Map;_textmateThemeCache=new WeakMap;_loadedThemesCache=null;_loadedLanguagesCache=null;getTheme(t){return typeof t=="string"?this._resolvedThemes.get(t):this.loadTheme(t)}loadTheme(t){const n=my(t);return n.name&&(this._resolvedThemes.set(n.name,n),this._loadedThemesCache=null),n}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=[...this._resolvedThemes.keys()]),this._loadedThemesCache}setTheme(t){let n=this._textmateThemeCache.get(t);n||(n=yh.createFromRawTheme(t),this._textmateThemeCache.set(t,n)),this._syncRegistry.setTheme(n)}getGrammar(t){if(this._alias[t]){const n=new Set([t]);for(;this._alias[t];){if(t=this._alias[t],n.has(t))throw new Ql(`Circular alias \`${Array.from(n).join(" -> ")} -> ${t}\``);n.add(t)}}return this._resolvedGrammars.get(t)}loadLanguage(t){if(this.getGrammar(t.name))return;const n=new Set([...this._langMap.values()].filter(s=>s.embeddedLangsLazy?.includes(t.name)));this._resolver.addLanguage(t);const r={balancedBracketSelectors:t.balancedBracketSelectors||["*"],unbalancedBracketSelectors:t.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(t.scopeName,t);const a=this.loadGrammarWithConfiguration(t.scopeName,1,r);if(a.name=t.name,this._resolvedGrammars.set(t.name,a),t.aliases&&t.aliases.forEach(s=>{this._alias[s]=t.name}),this._loadedLanguagesCache=null,n.size)for(const s of n)this._resolvedGrammars.delete(s.name),this._loadedLanguagesCache=null,this._syncRegistry?._injectionGrammars?.delete(s.scopeName),this._syncRegistry?._grammars?.delete(s.scopeName),this.loadLanguage(this._langMap.get(s.name))}dispose(){super.dispose(),this._resolvedThemes.clear(),this._resolvedGrammars.clear(),this._langMap.clear(),this._langGraph.clear(),this._loadedThemesCache=null}loadLanguages(t){for(const a of t)this.resolveEmbeddedLanguages(a);const n=Array.from(this._langGraph.entries()),r=n.filter(([a,s])=>!s);if(r.length){const a=n.filter(([s,o])=>o&&o.embeddedLangs?.some(u=>r.map(([c])=>c).includes(u))).filter(s=>!r.includes(s));throw new Ql(`Missing languages ${r.map(([s])=>`\`${s}\``).join(", ")}, required by ${a.map(([s])=>`\`${s}\``).join(", ")}`)}for(const[a,s]of n)this._resolver.addLanguage(s);for(const[a,s]of n)this.loadLanguage(s)}getLoadedLanguages(){return this._loadedLanguagesCache||(this._loadedLanguagesCache=[...new Set([...this._resolvedGrammars.keys(),...Object.keys(this._alias)])]),this._loadedLanguagesCache}resolveEmbeddedLanguages(t){if(this._langMap.set(t.name,t),this._langGraph.set(t.name,t),t.embeddedLangs)for(const n of t.embeddedLangs)this._langGraph.set(n,this._langMap.get(n))}}class Hte{_langs=new Map;_scopeToLang=new Map;_injections=new Map;_onigLib;constructor(t,n){this._onigLib={createOnigScanner:r=>t.createScanner(r),createOnigString:r=>t.createString(r)},n.forEach(r=>this.addLanguage(r))}get onigLib(){return this._onigLib}getLangRegistration(t){return this._langs.get(t)}loadGrammar(t){return this._scopeToLang.get(t)}addLanguage(t){this._langs.set(t.name,t),t.aliases&&t.aliases.forEach(n=>{this._langs.set(n,t)}),this._scopeToLang.set(t.scopeName,t),t.injectTo&&t.injectTo.forEach(n=>{this._injections.get(n)||this._injections.set(n,[]),this._injections.get(n).push(t.scopeName)})}getInjections(t){const n=t.split(".");let r=[];for(let a=1;a<=n.length;a++){const s=n.slice(0,a).join(".");r=[...r,...this._injections.get(s)||[]]}return r}}let Cc=0;function jte(e){Cc+=1,e.warnings!==!1&&Cc>=10&&Cc%10===0&&console.warn(`[Shiki] ${Cc} instances have been created. Shiki is supposed to be used as a singleton, consider refactoring your code to cache your highlighter instance; Or call \`highlighter.dispose()\` to release unused instances.`);let t=!1;if(!e.engine)throw new Ql("`engine` option is required for synchronous mode");const n=(e.langs||[]).flat(1),r=(e.themes||[]).flat(1).map(my),a=new Hte(e.engine,n),s=new zte(a,r,n,e.langAlias);let o;function u(R){k();const D=s.getGrammar(typeof R=="string"?R:R.name);if(!D)throw new Ql(`Language \`${R}\` not found, you may need to load it first`);return D}function c(R){if(R==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};k();const D=s.getTheme(R);if(!D)throw new Ql(`Theme \`${R}\` not found, you may need to load it first`);return D}function f(R){k();const D=c(R);o!==R&&(s.setTheme(D),o=R);const F=s.getColorMap();return{theme:D,colorMap:F}}function p(){return k(),s.getLoadedThemes()}function m(){return k(),s.getLoadedLanguages()}function b(...R){k(),s.loadLanguages(R.flat(1))}async function y(...R){return b(await MC(R))}function _(...R){k();for(const D of R.flat(1))s.loadTheme(D)}async function w(...R){return k(),_(await PC(R))}function k(){if(t)throw new Ql("Shiki instance has been disposed")}function A(){t||(t=!0,s.dispose(),Cc-=1)}return{setTheme:f,getTheme:c,getLanguage:u,getLoadedThemes:p,getLoadedLanguages:m,loadLanguage:y,loadLanguageSync:b,loadTheme:w,loadThemeSync:_,dispose:A,[Symbol.dispose]:A}}async function Fte(e){e.engine||Bte("`engine` option is required. Use `createOnigurumaEngine` or `createJavaScriptRegexEngine` to create an engine.");const[t,n,r]=await Promise.all([PC(e.themes||[]),MC(e.langs||[]),e.engine]);return jte({...e,themes:t,langs:n,engine:r})}async function Ute(e){const t=await Fte(e);return{getLastGrammarState:(...n)=>Tte(t,...n),codeToTokensBase:(n,r)=>hy(t,n,r),codeToTokensWithThemes:(n,r)=>LC(t,n,r),codeToTokens:(n,r)=>Ch(t,n,r),codeToHast:(n,r)=>kh(t,n,r),codeToHtml:(n,r)=>Mte(t,n,r),getBundledLanguages:()=>({}),getBundledThemes:()=>({}),...t,getInternalContext:()=>t}}function qte(e){const t=e.langs,n=e.themes,r=e.engine;async function a(s){function o(m){if(typeof m=="string"){if(NC(m))return[];m=s.langAlias?.[m]||m;const b=t[m];if(!b)throw new _n(`Language \`${m}\` is not included in this bundle. You may want to load it from external source.`);return b}return m}function u(m){if(RC(m))return"none";if(typeof m=="string"){const b=n[m];if(!b)throw new _n(`Theme \`${m}\` is not included in this bundle. You may want to load it from external source.`);return b}return m}const c=(s.themes??[]).map(m=>u(m)),f=(s.langs??[]).map(m=>o(m)),p=await Ute({engine:s.engine??r(),...s,themes:c,langs:f});return{...p,loadLanguage(...m){return p.loadLanguage(...m.map(o))},loadTheme(...m){return p.loadTheme(...m.map(u))},getBundledLanguages(){return t},getBundledThemes(){return n}}}return a}const BC=[{id:"abap",name:"ABAP",import:(()=>j(()=>import("./abap-BdImnpbu.js"),[]))},{id:"actionscript-3",name:"ActionScript",import:(()=>j(()=>import("./actionscript-3-CfeIJUat.js"),[]))},{id:"ada",name:"Ada",import:(()=>j(()=>import("./ada-bCR0ucgS.js"),[]))},{id:"angular-html",name:"Angular HTML",import:(()=>j(()=>import("./angular-html-CU67Zn6k.js").then(e=>e.f),__vite__mapDeps([0,1,2,3])))},{id:"angular-ts",name:"Angular TypeScript",import:(()=>j(()=>import("./angular-ts-BwZT4LLn.js"),__vite__mapDeps([4,0,1,2,3,5])))},{id:"apache",name:"Apache Conf",import:(()=>j(()=>import("./apache-Pmp26Uib.js"),[]))},{id:"apex",name:"Apex",import:(()=>j(()=>import("./apex-C7Pw0Ztw.js"),[]))},{id:"apl",name:"APL",import:(()=>j(()=>import("./apl-dKokRX4l.js"),__vite__mapDeps([6,1,2,3,7,8,9])))},{id:"applescript",name:"AppleScript",import:(()=>j(()=>import("./applescript-Co6uUVPk.js"),[]))},{id:"ara",name:"Ara",import:(()=>j(()=>import("./ara-BRHolxvo.js"),[]))},{id:"asciidoc",name:"AsciiDoc",aliases:["adoc"],import:(()=>j(()=>import("./asciidoc-Dv7Oe6Be.js"),[]))},{id:"asm",name:"Assembly",import:(()=>j(()=>import("./asm-D_Q5rh1f.js"),[]))},{id:"astro",name:"Astro",import:(()=>j(()=>import("./astro-CbQHKStN.js"),__vite__mapDeps([10,9,2,11,3,12,13])))},{id:"awk",name:"AWK",import:(()=>j(()=>import("./awk-DMzUqQB5.js"),[]))},{id:"ballerina",name:"Ballerina",import:(()=>j(()=>import("./ballerina-BFfxhgS-.js"),[]))},{id:"bat",name:"Batch File",aliases:["batch"],import:(()=>j(()=>import("./bat-BkioyH1T.js"),[]))},{id:"beancount",name:"Beancount",import:(()=>j(()=>import("./beancount-k_qm7-4y.js"),[]))},{id:"berry",name:"Berry",aliases:["be"],import:(()=>j(()=>import("./berry-D08WgyRC.js"),[]))},{id:"bibtex",name:"BibTeX",import:(()=>j(()=>import("./bibtex-CHM0blh-.js"),[]))},{id:"bicep",name:"Bicep",import:(()=>j(()=>import("./bicep-6nHXG8SA.js"),[]))},{id:"blade",name:"Blade",import:(()=>j(()=>import("./blade-DVc8C-J4.js"),__vite__mapDeps([14,15,1,2,3,7,8,16,9])))},{id:"bsl",name:"1C (Enterprise)",aliases:["1c"],import:(()=>j(()=>import("./bsl-BO_Y6i37.js"),__vite__mapDeps([17,18])))},{id:"c",name:"C",import:(()=>j(()=>import("./c-BIGW1oBm.js"),[]))},{id:"cadence",name:"Cadence",aliases:["cdc"],import:(()=>j(()=>import("./cadence-Bv_4Rxtq.js"),[]))},{id:"cairo",name:"Cairo",import:(()=>j(()=>import("./cairo-KRGpt6FW.js"),__vite__mapDeps([19,20])))},{id:"clarity",name:"Clarity",import:(()=>j(()=>import("./clarity-D53aC0YG.js"),[]))},{id:"clojure",name:"Clojure",aliases:["clj"],import:(()=>j(()=>import("./clojure-P80f7IUj.js"),[]))},{id:"cmake",name:"CMake",import:(()=>j(()=>import("./cmake-D1j8_8rp.js"),[]))},{id:"cobol",name:"COBOL",import:(()=>j(()=>import("./cobol-nwyudZeR.js"),__vite__mapDeps([21,1,2,3,8])))},{id:"codeowners",name:"CODEOWNERS",import:(()=>j(()=>import("./codeowners-Bp6g37R7.js"),[]))},{id:"codeql",name:"CodeQL",aliases:["ql"],import:(()=>j(()=>import("./codeql-DsOJ9woJ.js"),[]))},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:(()=>j(()=>import("./coffee-Ch7k5sss.js"),__vite__mapDeps([22,2])))},{id:"common-lisp",name:"Common Lisp",aliases:["lisp"],import:(()=>j(()=>import("./common-lisp-Cg-RD9OK.js"),[]))},{id:"coq",name:"Coq",import:(()=>j(()=>import("./coq-DkFqJrB1.js"),[]))},{id:"cpp",name:"C++",aliases:["c++"],import:(()=>j(()=>import("./cpp-CofmeUqb.js"),__vite__mapDeps([23,24,25,26,16])))},{id:"crystal",name:"Crystal",import:(()=>j(()=>import("./crystal-tKQVLTB8.js"),__vite__mapDeps([27,1,2,3,16,26,28])))},{id:"csharp",name:"C#",aliases:["c#","cs"],import:(()=>j(()=>import("./csharp-CX12Zw3r.js"),[]))},{id:"css",name:"CSS",import:(()=>j(()=>import("./css-DPfMkruS.js"),[]))},{id:"csv",name:"CSV",import:(()=>j(()=>import("./csv-fuZLfV_i.js"),[]))},{id:"cue",name:"CUE",import:(()=>j(()=>import("./cue-D82EKSYY.js"),[]))},{id:"cypher",name:"Cypher",aliases:["cql"],import:(()=>j(()=>import("./cypher-COkxafJQ.js"),[]))},{id:"d",name:"D",import:(()=>j(()=>import("./d-85-TOEBH.js"),[]))},{id:"dart",name:"Dart",import:(()=>j(()=>import("./dart-CF10PKvl.js"),[]))},{id:"dax",name:"DAX",import:(()=>j(()=>import("./dax-CEL-wOlO.js"),[]))},{id:"desktop",name:"Desktop",import:(()=>j(()=>import("./desktop-BmXAJ9_W.js"),[]))},{id:"diff",name:"Diff",import:(()=>j(()=>import("./diff-D97Zzqfu.js"),[]))},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:(()=>j(()=>import("./docker-BcOcwvcX.js"),[]))},{id:"dotenv",name:"dotEnv",import:(()=>j(()=>import("./dotenv-Da5cRb03.js"),[]))},{id:"dream-maker",name:"Dream Maker",import:(()=>j(()=>import("./dream-maker-BtqSS_iP.js"),[]))},{id:"edge",name:"Edge",import:(()=>j(()=>import("./edge-BkV0erSs.js"),__vite__mapDeps([29,11,1,2,3,15])))},{id:"elixir",name:"Elixir",import:(()=>j(()=>import("./elixir-CDX3lj18.js"),__vite__mapDeps([30,1,2,3])))},{id:"elm",name:"Elm",import:(()=>j(()=>import("./elm-DbKCFpqz.js"),__vite__mapDeps([31,25,26])))},{id:"emacs-lisp",name:"Emacs Lisp",aliases:["elisp"],import:(()=>j(()=>import("./emacs-lisp-C9XAeP06.js"),[]))},{id:"erb",name:"ERB",import:(()=>j(()=>import("./erb-BOJIQeun.js"),__vite__mapDeps([32,1,2,3,33,34,7,8,16,35,11,36,13,23,24,25,26,28,37,38])))},{id:"erlang",name:"Erlang",aliases:["erl"],import:(()=>j(()=>import("./erlang-DsQrWhSR.js"),__vite__mapDeps([39,40])))},{id:"fennel",name:"Fennel",import:(()=>j(()=>import("./fennel-BYunw83y.js"),[]))},{id:"fish",name:"Fish",import:(()=>j(()=>import("./fish-BvzEVeQv.js"),[]))},{id:"fluent",name:"Fluent",aliases:["ftl"],import:(()=>j(()=>import("./fluent-C4IJs8-o.js"),[]))},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:(()=>j(()=>import("./fortran-fixed-form-BZjJHVRy.js"),__vite__mapDeps([41,42])))},{id:"fortran-free-form",name:"Fortran (Free Form)",aliases:["f90","f95","f03","f08","f18"],import:(()=>j(()=>import("./fortran-free-form-D22FLkUw.js"),[]))},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:(()=>j(()=>import("./fsharp-CXgrBDvD.js"),__vite__mapDeps([43,40])))},{id:"gdresource",name:"GDResource",import:(()=>j(()=>import("./gdresource-B7Tvp0Sc.js"),__vite__mapDeps([44,45,46])))},{id:"gdscript",name:"GDScript",import:(()=>j(()=>import("./gdscript-DTMYz4Jt.js"),[]))},{id:"gdshader",name:"GDShader",import:(()=>j(()=>import("./gdshader-DkwncUOv.js"),[]))},{id:"genie",name:"Genie",import:(()=>j(()=>import("./genie-D0YGMca9.js"),[]))},{id:"gherkin",name:"Gherkin",import:(()=>j(()=>import("./gherkin-DyxjwDmM.js"),[]))},{id:"git-commit",name:"Git Commit Message",import:(()=>j(()=>import("./git-commit-F4YmCXRG.js"),__vite__mapDeps([47,48])))},{id:"git-rebase",name:"Git Rebase Message",import:(()=>j(()=>import("./git-rebase-r7XF79zn.js"),__vite__mapDeps([49,28])))},{id:"gleam",name:"Gleam",import:(()=>j(()=>import("./gleam-BspZqrRM.js"),[]))},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:(()=>j(()=>import("./glimmer-js-Rg0-pVw9.js"),__vite__mapDeps([50,2,11,3,1])))},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:(()=>j(()=>import("./glimmer-ts-U6CK756n.js"),__vite__mapDeps([51,11,3,2,1])))},{id:"glsl",name:"GLSL",import:(()=>j(()=>import("./glsl-DplSGwfg.js"),__vite__mapDeps([25,26])))},{id:"gnuplot",name:"Gnuplot",import:(()=>j(()=>import("./gnuplot-DdkO51Og.js"),[]))},{id:"go",name:"Go",import:(()=>j(()=>import("./go-Dn2_MT6a.js"),[]))},{id:"graphql",name:"GraphQL",aliases:["gql"],import:(()=>j(()=>import("./graphql-ChdNCCLP.js"),__vite__mapDeps([35,2,11,36,13])))},{id:"groovy",name:"Groovy",import:(()=>j(()=>import("./groovy-gcz8RCvz.js"),[]))},{id:"hack",name:"Hack",import:(()=>j(()=>import("./hack-CaT9iCJl.js"),__vite__mapDeps([52,1,2,3,16])))},{id:"haml",name:"Ruby Haml",import:(()=>j(()=>import("./haml-B8DHNrY2.js"),__vite__mapDeps([34,2,3])))},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:(()=>j(()=>import("./handlebars-BL8al0AC.js"),__vite__mapDeps([53,1,2,3,38])))},{id:"haskell",name:"Haskell",aliases:["hs"],import:(()=>j(()=>import("./haskell-Df6bDoY_.js"),[]))},{id:"haxe",name:"Haxe",import:(()=>j(()=>import("./haxe-CzTSHFRz.js"),[]))},{id:"hcl",name:"HashiCorp HCL",import:(()=>j(()=>import("./hcl-BWvSN4gD.js"),[]))},{id:"hjson",name:"Hjson",import:(()=>j(()=>import("./hjson-D5-asLiD.js"),[]))},{id:"hlsl",name:"HLSL",import:(()=>j(()=>import("./hlsl-D3lLCCz7.js"),[]))},{id:"html",name:"HTML",import:(()=>j(()=>import("./html-GMplVEZG.js"),__vite__mapDeps([1,2,3])))},{id:"html-derivative",name:"HTML (Derivative)",import:(()=>j(()=>import("./html-derivative-BFtXZ54Q.js"),__vite__mapDeps([15,1,2,3])))},{id:"http",name:"HTTP",import:(()=>j(()=>import("./http-jrhK8wxY.js"),__vite__mapDeps([54,28,9,7,8,35,2,11,36,13])))},{id:"hurl",name:"Hurl",import:(()=>j(()=>import("./hurl-irOxFIW8.js"),__vite__mapDeps([55,35,2,11,36,13,7,8,56])))},{id:"hxml",name:"HXML",import:(()=>j(()=>import("./hxml-Bvhsp5Yf.js"),__vite__mapDeps([57,58])))},{id:"hy",name:"Hy",import:(()=>j(()=>import("./hy-DFXneXwc.js"),[]))},{id:"imba",name:"Imba",import:(()=>j(()=>import("./imba-DGztddWO.js"),[]))},{id:"ini",name:"INI",aliases:["properties"],import:(()=>j(()=>import("./ini-BEwlwnbL.js"),[]))},{id:"java",name:"Java",import:(()=>j(()=>import("./java-CylS5w8V.js"),[]))},{id:"javascript",name:"JavaScript",aliases:["js","cjs","mjs"],import:(()=>j(()=>import("./javascript-wDzz0qaB.js"),[]))},{id:"jinja",name:"Jinja",import:(()=>j(()=>import("./jinja-4LBKfQ-Z.js"),__vite__mapDeps([59,1,2,3])))},{id:"jison",name:"Jison",import:(()=>j(()=>import("./jison-wvAkD_A8.js"),__vite__mapDeps([60,2])))},{id:"json",name:"JSON",import:(()=>j(()=>import("./json-Cp-IABpG.js"),[]))},{id:"json5",name:"JSON5",import:(()=>j(()=>import("./json5-C9tS-k6U.js"),[]))},{id:"jsonc",name:"JSON with Comments",import:(()=>j(()=>import("./jsonc-Des-eS-w.js"),[]))},{id:"jsonl",name:"JSON Lines",import:(()=>j(()=>import("./jsonl-DcaNXYhu.js"),[]))},{id:"jsonnet",name:"Jsonnet",import:(()=>j(()=>import("./jsonnet-DFQXde-d.js"),[]))},{id:"jssm",name:"JSSM",aliases:["fsl"],import:(()=>j(()=>import("./jssm-C2t-YnRu.js"),[]))},{id:"jsx",name:"JSX",import:(()=>j(()=>import("./jsx-g9-lgVsj.js"),[]))},{id:"julia",name:"Julia",aliases:["jl"],import:(()=>j(()=>import("./julia-C8NyazO9.js"),__vite__mapDeps([61,23,24,25,26,16,20,2,62])))},{id:"kdl",name:"KDL",import:(()=>j(()=>import("./kdl-DV7GczEv.js"),[]))},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:(()=>j(()=>import("./kotlin-BdnUsdx6.js"),[]))},{id:"kusto",name:"Kusto",aliases:["kql"],import:(()=>j(()=>import("./kusto-BvAqAH-y.js"),[]))},{id:"latex",name:"LaTeX",import:(()=>j(()=>import("./latex-BUKiar2Z.js"),__vite__mapDeps([63,64,62])))},{id:"lean",name:"Lean 4",aliases:["lean4"],import:(()=>j(()=>import("./lean-DP1Csr6i.js"),[]))},{id:"less",name:"Less",import:(()=>j(()=>import("./less-B1dDrJ26.js"),[]))},{id:"liquid",name:"Liquid",import:(()=>j(()=>import("./liquid-DYVedYrR.js"),__vite__mapDeps([65,1,2,3,9])))},{id:"llvm",name:"LLVM IR",import:(()=>j(()=>import("./llvm-BtvRca6l.js"),[]))},{id:"log",name:"Log file",import:(()=>j(()=>import("./log-2UxHyX5q.js"),[]))},{id:"logo",name:"Logo",import:(()=>j(()=>import("./logo-BtOb2qkB.js"),[]))},{id:"lua",name:"Lua",import:(()=>j(()=>import("./lua-BbnMAYS6.js"),__vite__mapDeps([37,26])))},{id:"luau",name:"Luau",import:(()=>j(()=>import("./luau-CXu1NL6O.js"),[]))},{id:"make",name:"Makefile",aliases:["makefile"],import:(()=>j(()=>import("./make-CHLpvVh8.js"),[]))},{id:"markdown",name:"Markdown",aliases:["md"],import:(()=>j(()=>import("./markdown-Cvjx9yec.js"),[]))},{id:"marko",name:"Marko",import:(()=>j(()=>import("./marko-CPi9NSCl.js"),__vite__mapDeps([66,3,67,5,11])))},{id:"matlab",name:"MATLAB",import:(()=>j(()=>import("./matlab-D7o27uSR.js"),[]))},{id:"mdc",name:"MDC",import:(()=>j(()=>import("./mdc-DUICxH0z.js"),__vite__mapDeps([68,40,38,15,1,2,3])))},{id:"mdx",name:"MDX",import:(()=>j(()=>import("./mdx-Cmh6b_Ma.js"),[]))},{id:"mermaid",name:"Mermaid",aliases:["mmd"],import:(()=>j(()=>import("./mermaid-DKYwYmdq.js"),[]))},{id:"mipsasm",name:"MIPS Assembly",aliases:["mips"],import:(()=>j(()=>import("./mipsasm-CKIfxQSi.js"),[]))},{id:"mojo",name:"Mojo",import:(()=>j(()=>import("./mojo-1DNp92w6.js"),[]))},{id:"move",name:"Move",import:(()=>j(()=>import("./move-Bu9oaDYs.js"),[]))},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:(()=>j(()=>import("./narrat-DRg8JJMk.js"),[]))},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:(()=>j(()=>import("./nextflow-CUEJCptM.js"),[]))},{id:"nginx",name:"Nginx",import:(()=>j(()=>import("./nginx-DknmC5AR.js"),__vite__mapDeps([69,37,26])))},{id:"nim",name:"Nim",import:(()=>j(()=>import("./nim-CVrawwO9.js"),__vite__mapDeps([70,26,1,2,3,7,8,25,40])))},{id:"nix",name:"Nix",import:(()=>j(()=>import("./nix-BbRYJGeE.js"),[]))},{id:"nushell",name:"nushell",aliases:["nu"],import:(()=>j(()=>import("./nushell-C-sUppwS.js"),[]))},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:(()=>j(()=>import("./objective-c-DXmwc3jG.js"),[]))},{id:"objective-cpp",name:"Objective-C++",import:(()=>j(()=>import("./objective-cpp-CLxacb5B.js"),[]))},{id:"ocaml",name:"OCaml",import:(()=>j(()=>import("./ocaml-C0hk2d4L.js"),[]))},{id:"pascal",name:"Pascal",import:(()=>j(()=>import("./pascal-D93ZcfNL.js"),[]))},{id:"perl",name:"Perl",import:(()=>j(()=>import("./perl-C0TMdlhV.js"),__vite__mapDeps([71,1,2,3,7,8,16])))},{id:"php",name:"PHP",import:(()=>j(()=>import("./php-CDn_0X-4.js"),__vite__mapDeps([72,1,2,3,7,8,16,9])))},{id:"pkl",name:"Pkl",import:(()=>j(()=>import("./pkl-u5AG7uiY.js"),[]))},{id:"plsql",name:"PL/SQL",import:(()=>j(()=>import("./plsql-ChMvpjG-.js"),[]))},{id:"po",name:"Gettext PO",aliases:["pot","potx"],import:(()=>j(()=>import("./po-BTJTHyun.js"),[]))},{id:"polar",name:"Polar",import:(()=>j(()=>import("./polar-C0HS_06l.js"),[]))},{id:"postcss",name:"PostCSS",import:(()=>j(()=>import("./postcss-CXtECtnM.js"),[]))},{id:"powerquery",name:"PowerQuery",import:(()=>j(()=>import("./powerquery-CEu0bR-o.js"),[]))},{id:"powershell",name:"PowerShell",aliases:["ps","ps1"],import:(()=>j(()=>import("./powershell-Dpen1YoG.js"),[]))},{id:"prisma",name:"Prisma",import:(()=>j(()=>import("./prisma-Dd19v3D-.js"),[]))},{id:"prolog",name:"Prolog",import:(()=>j(()=>import("./prolog-CbFg5uaA.js"),[]))},{id:"proto",name:"Protocol Buffer 3",aliases:["protobuf"],import:(()=>j(()=>import("./proto-DyJlTyXw.js"),[]))},{id:"pug",name:"Pug",aliases:["jade"],import:(()=>j(()=>import("./pug-CGlum2m_.js"),__vite__mapDeps([73,2,3,1])))},{id:"puppet",name:"Puppet",import:(()=>j(()=>import("./puppet-BMWR74SV.js"),[]))},{id:"purescript",name:"PureScript",import:(()=>j(()=>import("./purescript-CklMAg4u.js"),[]))},{id:"python",name:"Python",aliases:["py"],import:(()=>j(()=>import("./python-B6aJPvgy.js"),[]))},{id:"qml",name:"QML",import:(()=>j(()=>import("./qml-3beO22l8.js"),__vite__mapDeps([74,2])))},{id:"qmldir",name:"QML Directory",import:(()=>j(()=>import("./qmldir-C8lEn-DE.js"),[]))},{id:"qss",name:"Qt Style Sheets",import:(()=>j(()=>import("./qss-IeuSbFQv.js"),[]))},{id:"r",name:"R",import:(()=>j(()=>import("./r-DiinP2Uv.js"),[]))},{id:"racket",name:"Racket",import:(()=>j(()=>import("./racket-BqYA7rlc.js"),[]))},{id:"raku",name:"Raku",aliases:["perl6"],import:(()=>j(()=>import("./raku-DXvB9xmW.js"),[]))},{id:"razor",name:"ASP.NET Razor",import:(()=>j(()=>import("./razor-WgofotgN.js"),__vite__mapDeps([75,1,2,3,76])))},{id:"reg",name:"Windows Registry Script",import:(()=>j(()=>import("./reg-C-SQnVFl.js"),[]))},{id:"regexp",name:"RegExp",aliases:["regex"],import:(()=>j(()=>import("./regexp-CDVJQ6XC.js"),[]))},{id:"rel",name:"Rel",import:(()=>j(()=>import("./rel-C3B-1QV4.js"),[]))},{id:"riscv",name:"RISC-V",import:(()=>j(()=>import("./riscv-BM1_JUlF.js"),[]))},{id:"rosmsg",name:"ROS Interface",import:(()=>j(()=>import("./rosmsg-BJDFO7_C.js"),[]))},{id:"rst",name:"reStructuredText",import:(()=>j(()=>import("./rst-B0xPkSld.js"),__vite__mapDeps([77,15,1,2,3,23,24,25,26,16,20,28,38,78,33,34,7,8,35,11,36,13,37])))},{id:"ruby",name:"Ruby",aliases:["rb"],import:(()=>j(()=>import("./ruby-BvKwtOVI.js"),__vite__mapDeps([33,1,2,3,34,7,8,16,35,11,36,13,23,24,25,26,28,37,38])))},{id:"rust",name:"Rust",aliases:["rs"],import:(()=>j(()=>import("./rust-B1yitclQ.js"),[]))},{id:"sas",name:"SAS",import:(()=>j(()=>import("./sas-cz2c8ADy.js"),__vite__mapDeps([79,16])))},{id:"sass",name:"Sass",import:(()=>j(()=>import("./sass-Cj5Yp3dK.js"),[]))},{id:"scala",name:"Scala",import:(()=>j(()=>import("./scala-C151Ov-r.js"),[]))},{id:"scheme",name:"Scheme",import:(()=>j(()=>import("./scheme-C98Dy4si.js"),[]))},{id:"scss",name:"SCSS",import:(()=>j(()=>import("./scss-OYdSNvt2.js"),__vite__mapDeps([5,3])))},{id:"sdbl",name:"1C (Query)",aliases:["1c-query"],import:(()=>j(()=>import("./sdbl-DVxCFoDh.js"),[]))},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:(()=>j(()=>import("./shaderlab-Dg9Lc6iA.js"),__vite__mapDeps([80,81])))},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:(()=>j(()=>import("./shellscript-Yzrsuije.js"),[]))},{id:"shellsession",name:"Shell Session",aliases:["console"],import:(()=>j(()=>import("./shellsession-BADoaaVG.js"),__vite__mapDeps([82,28])))},{id:"smalltalk",name:"Smalltalk",import:(()=>j(()=>import("./smalltalk-BERRCDM3.js"),[]))},{id:"solidity",name:"Solidity",import:(()=>j(()=>import("./solidity-BbcW6ACK.js"),[]))},{id:"soy",name:"Closure Templates",aliases:["closure-templates"],import:(()=>j(()=>import("./soy-Brmx7dQM.js"),__vite__mapDeps([83,1,2,3])))},{id:"sparql",name:"SPARQL",import:(()=>j(()=>import("./sparql-rVzFXLq3.js"),__vite__mapDeps([84,85])))},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:(()=>j(()=>import("./splunk-BtCnVYZw.js"),[]))},{id:"sql",name:"SQL",import:(()=>j(()=>import("./sql-BLtJtn59.js"),[]))},{id:"ssh-config",name:"SSH Config",import:(()=>j(()=>import("./ssh-config-_ykCGR6B.js"),[]))},{id:"stata",name:"Stata",import:(()=>j(()=>import("./stata-BH5u7GGu.js"),__vite__mapDeps([86,16])))},{id:"stylus",name:"Stylus",aliases:["styl"],import:(()=>j(()=>import("./stylus-BEDo0Tqx.js"),[]))},{id:"svelte",name:"Svelte",import:(()=>j(()=>import("./svelte-3Dk4HxPD.js"),__vite__mapDeps([87,2,11,3,12])))},{id:"swift",name:"Swift",import:(()=>j(()=>import("./swift-Dg5xB15N.js"),[]))},{id:"system-verilog",name:"SystemVerilog",import:(()=>j(()=>import("./system-verilog-CnnmHF94.js"),[]))},{id:"systemd",name:"Systemd Units",import:(()=>j(()=>import("./systemd-4A_iFExJ.js"),[]))},{id:"talonscript",name:"TalonScript",aliases:["talon"],import:(()=>j(()=>import("./talonscript-CkByrt1z.js"),[]))},{id:"tasl",name:"Tasl",import:(()=>j(()=>import("./tasl-QIJgUcNo.js"),[]))},{id:"tcl",name:"Tcl",import:(()=>j(()=>import("./tcl-dwOrl1Do.js"),[]))},{id:"templ",name:"Templ",import:(()=>j(()=>import("./templ-W15q3VgB.js"),__vite__mapDeps([88,89,2,3])))},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:(()=>j(()=>import("./terraform-BETggiCN.js"),[]))}
623,{id:"tex",name:"TeX",import:(()=>j(()=>import("./tex-Cppo0RY3.js"),__vite__mapDeps([64,62])))},{id:"toml",name:"TOML",import:(()=>j(()=>import("./toml-vGWfd6FD.js"),[]))},{id:"ts-tags",name:"TypeScript with Tags",aliases:["lit"],import:(()=>j(()=>import("./ts-tags-zn1MmPIZ.js"),__vite__mapDeps([90,11,3,2,25,26,1,16,7,8])))},{id:"tsv",name:"TSV",import:(()=>j(()=>import("./tsv-B_m7g4N7.js"),[]))},{id:"tsx",name:"TSX",import:(()=>j(()=>import("./tsx-COt5Ahok.js"),[]))},{id:"turtle",name:"Turtle",import:(()=>j(()=>import("./turtle-BsS91CYL.js"),[]))},{id:"twig",name:"Twig",import:(()=>j(()=>import("./twig-CO9l9SDP.js"),__vite__mapDeps([91,3,2,5,72,1,7,8,16,9,20,33,34,35,11,36,13,23,24,25,26,28,37,38])))},{id:"typescript",name:"TypeScript",aliases:["ts","cts","mts"],import:(()=>j(()=>import("./typescript-BPQ3VLAy.js"),[]))},{id:"typespec",name:"TypeSpec",aliases:["tsp"],import:(()=>j(()=>import("./typespec-Df68jz8_.js"),[]))},{id:"typst",name:"Typst",aliases:["typ"],import:(()=>j(()=>import("./typst-DHCkPAjA.js"),[]))}
vendor: 5,484 bytes, line 623
623,{id:"v",name:"V",import:(()=>j(()=>import("./v-BcVCzyr7.js"),[]))},{id:"vala",name:"Vala",import:(()=>j(()=>import("./vala-CsfeWuGM.js"),[]))},{id:"vb",name:"Visual Basic",aliases:["cmd"],import:(()=>j(()=>import("./vb-D17OF-Vu.js"),[]))},{id:"verilog",name:"Verilog",import:(()=>j(()=>import("./verilog-BQ8w6xss.js"),[]))},{id:"vhdl",name:"VHDL",import:(()=>j(()=>import("./vhdl-CeAyd5Ju.js"),[]))},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:(()=>j(()=>import("./viml-CJc9bBzg.js"),[]))},{id:"vue",name:"Vue",import:(()=>j(()=>import("./vue-CCoi5OLL.js"),__vite__mapDeps([92,3,2,11,9,15,1])))},{id:"vue-html",name:"Vue HTML",import:(()=>j(()=>import("./vue-html-DAAvJJDi.js"),__vite__mapDeps([93,92,3,2,11,9,15,1])))},{id:"vue-vine",name:"Vue Vine",import:(()=>j(()=>import("./vue-vine-_Ih-lPRR.js"),__vite__mapDeps([94,3,5,67,95,12,92,2,11,9,15,1])))},{id:"vyper",name:"Vyper",aliases:["vy"],import:(()=>j(()=>import("./vyper-CDx5xZoG.js"),[]))},{id:"wasm",name:"WebAssembly",import:(()=>j(()=>import("./wasm-MzD3tlZU.js"),[]))},{id:"wenyan",name:"Wenyan",aliases:["文言"],import:(()=>j(()=>import("./wenyan-BV7otONQ.js"),[]))},{id:"wgsl",name:"WGSL",import:(()=>j(()=>import("./wgsl-Dx-B1_4e.js"),[]))},{id:"wikitext",name:"Wikitext",aliases:["mediawiki","wiki"],import:(()=>j(()=>import("./wikitext-BhOHFoWU.js"),[]))},{id:"wit",name:"WebAssembly Interface Types",import:(()=>j(()=>import("./wit-5i3qLPDT.js"),[]))},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:(()=>j(()=>import("./wolfram-lXgVvXCa.js"),[]))},{id:"xml",name:"XML",import:(()=>j(()=>import("./xml-sdJ4AIDG.js"),__vite__mapDeps([7,8])))},{id:"xsl",name:"XSL",import:(()=>j(()=>import("./xsl-CtQFsRM5.js"),__vite__mapDeps([96,7,8])))},{id:"yaml",name:"YAML",aliases:["yml"],import:(()=>j(()=>import("./yaml-Buea-lGh.js"),[]))},{id:"zenscript",name:"ZenScript",import:(()=>j(()=>import("./zenscript-DVFEvuxE.js"),[]))},{id:"zig",name:"Zig",import:(()=>j(()=>import("./zig-VOosw3JB.js"),[]))}],$te=Object.fromEntries(BC.map(e=>[e.id,e.import])),Vte=Object.fromEntries(BC.flatMap(e=>e.aliases?.map(t=>[t,e.import])||[])),zC={...$te,...Vte},Gte=[{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:(()=>j(()=>import("./andromeeda-C-Jbm3Hp.js"),[]))},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:(()=>j(()=>import("./aurora-x-D-2ljcwZ.js"),[]))},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:(()=>j(()=>import("./ayu-dark-Cv9koXgw.js"),[]))},{id:"catppuccin-frappe",displayName:"Catppuccin Frappé",type:"dark",import:(()=>j(()=>import("./catppuccin-frappe-DFWUc33u.js"),[]))},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:(()=>j(()=>import("./catppuccin-latte-C9dUb6Cb.js"),[]))},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:(()=>j(()=>import("./catppuccin-macchiato-DQyhUUbL.js"),[]))},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:(()=>j(()=>import("./catppuccin-mocha-D87Tk5Gz.js"),[]))},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:(()=>j(()=>import("./dark-plus-eOWES_5F.js"),[]))},{id:"dracula",displayName:"Dracula Theme",type:"dark",import:(()=>j(()=>import("./dracula-BzJJZx-M.js"),[]))},{id:"dracula-soft",displayName:"Dracula Theme Soft",type:"dark",import:(()=>j(()=>import("./dracula-soft-BXkSAIEj.js"),[]))},{id:"everforest-dark",displayName:"Everforest Dark",type:"dark",import:(()=>j(()=>import("./everforest-dark-BgDCqdQA.js"),[]))},{id:"everforest-light",displayName:"Everforest Light",type:"light",import:(()=>j(()=>import("./everforest-light-C8M2exoo.js"),[]))},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:(()=>j(()=>import("./github-dark-DHJKELXO.js"),[]))},{id:"github-dark-default",displayName:"GitHub Dark Default",type:"dark",import:(()=>j(()=>import("./github-dark-default-Cuk6v7N8.js"),[]))},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:(()=>j(()=>import("./github-dark-dimmed-DH5Ifo-i.js"),[]))},{id:"github-dark-high-contrast",displayName:"GitHub Dark High Contrast",type:"dark",import:(()=>j(()=>import("./github-dark-high-contrast-E3gJ1_iC.js"),[]))},{id:"github-light",displayName:"GitHub Light",type:"light",import:(()=>j(()=>import("./github-light-DAi9KRSo.js"),[]))},{id:"github-light-default",displayName:"GitHub Light Default",type:"light",import:(()=>j(()=>import("./github-light-default-D7oLnXFd.js"),[]))},{id:"github-light-high-contrast",displayName:"GitHub Light High Contrast",type:"light",import:(()=>j(()=>import("./github-light-high-contrast-BfjtVDDH.js"),[]))},{id:"gruvbox-dark-hard",displayName:"Gruvbox Dark Hard",type:"dark",import:(()=>j(()=>import("./gruvbox-dark-hard-CFHQjOhq.js"),[]))},{id:"gruvbox-dark-medium",displayName:"Gruvbox Dark Medium",type:"dark",import:(()=>j(()=>import("./gruvbox-dark-medium-GsRaNv29.js"),[]))},{id:"gruvbox-dark-soft",displayName:"Gruvbox Dark Soft",type:"dark",import:(()=>j(()=>import("./gruvbox-dark-soft-CVdnzihN.js"),[]))},{id:"gruvbox-light-hard",displayName:"Gruvbox Light Hard",type:"light",import:(()=>j(()=>import("./gruvbox-light-hard-CH1njM8p.js"),[]))},{id:"gruvbox-light-medium",displayName:"Gruvbox Light Medium",type:"light",import:(()=>j(()=>import("./gruvbox-light-medium-DRw_LuNl.js"),[]))},{id:"gruvbox-light-soft",displayName:"Gruvbox Light Soft",type:"light",import:(()=>j(()=>import("./gruvbox-light-soft-hJgmCMqR.js"),[]))},{id:"houston",displayName:"Houston",type:"dark",import:(()=>j(()=>
623import("./houston-DnULxvSX.js"),[]))},{id:"kanagawa-dragon",displayName:"Kanagawa Dragon",type:"dark",import:(()=>j(()=>import("./kanagawa-dragon-CkXjmgJE.js"),[]))},{id:"kanagawa-lotus",displayName:"Kanagawa Lotus",type:"light",import:(()=>j(()=>import("./kanagawa-lotus-CfQXZHmo.js"),[]))},{id:"kanagawa-wave",displayName:"Kanagawa Wave",type:"dark",import:(()=>j(()=>import("./kanagawa-wave-DWedfzmr.js"),[]))},{id:"laserwave",displayName:"LaserWave",type:"dark",import:(()=>j(()=>import("./laserwave-DUszq2jm.js"),[]))},{id:"light-plus",displayName:"Light Plus",type:"light",import:(()=>j(()=>import("./light-plus-B7mTdjB0.js"),[]))},{id:"material-theme",displayName:"Material Theme",type:"dark",import:(()=>j(()=>import("./material-theme-D5KoaKCx.js"),[]))},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:(()=>j(()=>import("./material-theme-darker-BfHTSMKl.js"),[]))},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:(()=>j(()=>import("./material-theme-lighter-B0m2ddpp.js"),[]))},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:(()=>j(()=>import("./material-theme-ocean-CyktbL80.js"),[]))},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:(()=>j(()=>import("./material-theme-palenight-Csfq5Kiy.js"),[]))},{id:"min-dark",displayName:"Min Dark",type:"dark",import:(()=>j(()=>import("./min-dark-CafNBF8u.js"),[]))},{id:"min-light",displayName:"Min Light",type:"light",import:(()=>j(()=>import("./min-light-CTRr51gU.js"),[]))},{id:"monokai",displayName:"Monokai",type:"dark",import:(()=>j(()=>import("./monokai-D4h5O-jR.js"),[]))},{id:"night-owl",displayName:"Night Owl",type:"dark",import:(()=>j(()=>import("./night-owl-C39BiMTA.js"),[]))},{id:"nord",displayName:"Nord",type:"dark",import:(()=>j(()=>import("./nord-Ddv68eIx.js"),[]))},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:(()=>j(()=>import("./one-dark-pro-DVMEJ2y_.js"),[]))},{id:"one-light",displayName:"One Light",type:"light",import:(()=>j(()=>import("./one-light-PoHY5YXO.js"),[]))},{id:"plastic",displayName:"Plastic",type:"dark",import:(()=>j(()=>import("./plastic-3e1v2bzS.js"),[]))},{id:"poimandres",displayName:"Poimandres",type:"dark",import:(()=>j(()=>import("./poimandres-CS3Unz2-.js"),[]))},{id:"red",displayName:"Red",type:"dark",import:(()=>j(()=>import("./red-bN70gL4F.js"),[]))},{id:"rose-pine",displayName:"Rosé Pine",type:"dark",import:(()=>j(()=>import("./rose-pine-BHrmToEH.js"),[]))},{id:"rose-pine-dawn",displayName:"Rosé Pine Dawn",type:"light",import:(()=>j(()=>import("./rose-pine-dawn-CnK8MTSM.js"),[]))},{id:"rose-pine-moon",displayName:"Rosé Pine Moon",type:"dark",import:(()=>j(()=>import("./rose-pine-moon-NleAzG8P.js"),[]))},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:(()=>j(()=>import("./slack-dark-BthQWCQV.js"),[]))},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:(()=>j(()=>import("./slack-ochin-DqwNpetd.js"),[]))},{id:"snazzy-light",displayName:"Snazzy Light",type:"light",import:(()=>j(()=>import("./snazzy-light-Bw305WKR.js"),[]))},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:(()=>j(()=>import("./solarized-dark-DXbdFlpD.js"),[]))},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:(()=>j(()=>import("./solarized-light-L9t79GZl.js"),[]))},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:(()=>j(()=>import("./synthwave-84-CbfX1IO0.js"),[]))},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:(()=>j(()=>import("./tokyo-night-hegEt444.js"),[]))},{id:"vesper",displayName:"Vesper",type:"dark",import:(()=>j(()=>import("./vesper-DU1UobuO.js"),[]))},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:(()=>j(()=>import("./vitesse-black-Bkuqu6BP.js"),[]))},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:(()=>j(()=>import("./vitesse-dark-D0r3Knsf.js"),[]))},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:(()=>j(()=>import("./vitesse-light-CVO1_9PV.js"),[]))}],Yte=Object.fromEntries(Gte.map(e=>[e.id,e.import]));
vendor: 20,506 bytes, lines 623-655
623class py extends Error{constructor(t){super(t),this.name="ShikiError"}}function Qte(){return 2147483648}function Wte(){return typeof performance<"u"?performance.now():Date.now()}const Xte=(e,t)=>e+(t-e%t)%t;async function Kte(e){let t,n;const r={};function a(y){n=y,r.HEAPU8=new Uint8Array(y),r.HEAPU32=new Uint32Array(y)}function s(y,_,w){r.HEAPU8.copyWithin(y,_,_+w)}function o(y){try{return t.grow(y-n.byteLength+65535>>>16),a(t.buffer),1}catch{}}function u(y){const _=r.HEAPU8.length;y=y>>>0;const w=Qte();if(y>w)return!1;for(let k=1;k<=4;k*=2){let A=_*(1+.2/k);A=Math.min(A,y+100663296);const R=Math.min(w,Xte(Math.max(y,A),65536));if(o(R))return!0}return!1}const c=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function f(y,_,w=1024){const k=_+w;let A=_;for(;y[A]&&!(A>=k);)++A;if(A-_>16&&y.buffer&&c)return c.decode(y.subarray(_,A));let R="";for(;_<A;){let D=y[_++];if(!(D&128)){R+=String.fromCharCode(D);continue}const F=y[_++]&63;if((D&224)===192){R+=String.fromCharCode((D&31)<<6|F);continue}const H=y[_++]&63;if((D&240)===224?D=(D&15)<<12|F<<6|H:D=(D&7)<<18|F<<12|H<<6|y[_++]&63,D<65536)R+=String.fromCharCode(D);else{const P=D-65536;R+=String.fromCharCode(55296|P>>10,56320|P&1023)}}return R}function p(y,_){return y?f(r.HEAPU8,y,_):""}const m={emscripten_get_now:Wte,emscripten_memcpy_big:s,emscripten_resize_heap:u,fd_write:()=>0};async function b(){const _=await e({env:m,wasi_snapshot_preview1:m});t=_.memory,a(t.buffer),Object.assign(r,_),r.UTF8ToString=p}return await b(),r}var Zte=Object.defineProperty,Jte=(e,t,n)=>t in e?Zte(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Cn=(e,t,n)=>Jte(e,typeof t!="symbol"?t+"":t,n);let Mn=null;function ene(e){throw new py(e.UTF8ToString(e.getLastOnigError()))}class Tm{constructor(t){Cn(this,"utf16Length"),Cn(this,"utf8Length"),Cn(this,"utf16Value"),Cn(this,"utf8Value"),Cn(this,"utf16OffsetToUtf8"),Cn(this,"utf8OffsetToUtf16");const n=t.length,r=Tm._utf8ByteLength(t),a=r!==n,s=a?new Uint32Array(n+1):null;a&&(s[n]=r);const o=a?new Uint32Array(r+1):null;a&&(o[r]=n);const u=new Uint8Array(r);let c=0;for(let f=0;f<n;f++){const p=t.charCodeAt(f);let m=p,b=!1;if(p>=55296&&p<=56319&&f+1<n){const y=t.charCodeAt(f+1);y>=56320&&y<=57343&&(m=(p-55296<<10)+65536|y-56320,b=!0)}a&&(s[f]=c,b&&(s[f+1]=c),m<=127?o[c+0]=f:m<=2047?(o[c+0]=f,o[c+1]=f):m<=65535?(o[c+0]=f,o[c+1]=f,o[c+2]=f):(o[c+0]=f,o[c+1]=f,o[c+2]=f,o[c+3]=f)),m<=127?u[c++]=m:m<=2047?(u[c++]=192|(m&1984)>>>6,u[c++]=128|(m&63)>>>0):m<=65535?(u[c++]=224|(m&61440)>>>12,u[c++]=128|(m&4032)>>>6,u[c++]=128|(m&63)>>>0):(u[c++]=240|(m&1835008)>>>18,u[c++]=128|(m&258048)>>>12,u[c++]=128|(m&4032)>>>6,u[c++]=128|(m&63)>>>0),b&&f++}this.utf16Length=n,this.utf8Length=r,this.utf16Value=t,this.utf8Value=u,this.utf16OffsetToUtf8=s,this.utf8OffsetToUtf16=o}static _utf8ByteLength(t){let n=0;for(let r=0,a=t.length;r<a;r++){const s=t.charCodeAt(r);let o=s,u=!1;if(s>=55296&&s<=56319&&r+1<a){const c=t.charCodeAt(r+1);c>=56320&&c<=57343&&(o=(s-55296<<10)+65536|c-56320,u=!0)}o<=127?n+=1:o<=2047?n+=2:o<=65535?n+=3:n+=4,u&&r++}return n}createString(t){const n=t.omalloc(this.utf8Length);return t.HEAPU8.set(this.utf8Value,n),n}}const wm=class $a{constructor(t){if(Cn(this,"id",++$a.LAST_ID),Cn(this,"_onigBinding"),Cn(this,"content"),Cn(this,"utf16Length"),Cn(this,"utf8Length"),Cn(this,"utf16OffsetToUtf8"),Cn(this,"utf8OffsetToUtf16"),Cn(this,"ptr"),!Mn)throw new py("Must invoke loadWasm first.");this._onigBinding=Mn,this.content=t;const n=new Tm(t);this.utf16Length=n.utf16Length,this.utf8Length=n.utf8Length,this.utf16OffsetToUtf8=n.utf16OffsetToUtf8,this.utf8OffsetToUtf16=n.utf8OffsetToUtf16,this.utf8Length<1e4&&!$a._sharedPtrInUse?($a._sharedPtr||($a._sharedPtr=Mn.omalloc(1e4)),$a._sharedPtrInUse=!0,Mn.HEAPU8.set(n.utf8Value,$a._sharedPtr),this.ptr=$a._sharedPtr):this.ptr=n.createString(Mn)}convertUtf8OffsetToUtf16(t){return this.utf8OffsetToUtf16?t<0?0:t>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[t]:t}convertUtf16OffsetToUtf8(t){return this.utf16OffsetToUtf8?t<0?0:t>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[t]:t}dispose(){this.ptr===$a._sharedPtr?$a._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};Cn(wm,"LAST_ID",0);Cn(wm,"_sharedPtr",0);Cn(wm,"_sharedPtrInUse",!1);let HC=wm;class tne{constructor(t){if(Cn(this,"_onigBinding"),Cn(this,"_ptr"),!Mn)throw new py("Must invoke loadWasm first.");const n=[],r=[];for(let u=0,c=t.length;u<c;u++){const f=new Tm(t[u]);n[u]=f.createString(Mn),r[u]=f.utf8Length}const a=Mn.omalloc(4*t.length);Mn.HEAPU32.set(n,a/4);const s=Mn.omalloc(4*t.length);Mn.HEAPU32.set(r,s/4);const o=Mn.createOnigScanner(a,s,t.length);for(let u=0,c=t.length;u<c;u++)Mn.ofree(n[u]);Mn.ofree(s),Mn.ofree(a),o===0&&ene(Mn),this._onigBinding=Mn,this._ptr=o}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(t,n,r){let a=0;if(typeof r=="number"&&(a=r),typeof t=="string"){t=new HC(t);const s=this._findNextMatchSync(t,n,!1,a);return t.dispose(),s}return this._findNextMatchSync(t,n,!1,a)}_findNextMatchSync(t,n,r,a){const s=this._onigBinding,o=s.findNextOnigScannerMatch(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(n),a);if(o===0)return null;const u=s.HEAPU32;let c=o/4;const f=u[c++],p=u[c++],m=[];for(let b=0;b<p;b++){const y=t.convertUtf8OffsetToUtf16(u[c++]),_=t.convertUtf8OffsetToUtf16(u[c++]);m[b]={start:y,end:_,length:_-y}}return{index:f,captureIndices:m}}}function nne(e){return typeof e.instantiator=="function"}function rne(e){return typeof e.default=="function"}function ane(e){return typeof e.data<"u"}function ine(e){return typeof Response<"u"&&e instanceof Response}function sne(e){return typeof ArrayBuffer<"u"&&(e instanceof ArrayBuffer||ArrayBuffer.isView(e))||typeof Buffer<"u"&&Buffer.isBuffer?.(e)||typeof SharedArrayBuffer<"u"&&e instanceof SharedArrayBuffer||typeof Uint32Array<"u"&&e instanceof Uint32Array}let Of;function one(e){if(Of)return Of;async function t(){Mn=await Kte(async n=>{let r=e;return r=await r,typeof r=="function"&&(r=await r(n)),typeof r=="function"&&(r=await r(n)),nne(r)?r=await r.instantiator(n):rne(r)?r=await r.default(n):(ane(r)&&(r=r.data),ine(r)?typeof WebAssembly.instantiateStreaming=="function"?r=await lne(r)(n):r=await une(r)(n):sne(r)?r=await a2(r)(n):r instanceof WebAssembly.Module?r=await a2(r)(n):"default"in r&&r.default instanceof WebAssembly.Module&&(r=await a2(r.default)(n))),"instance"in r&&(r=r.instance),"exports"in r&&(r=r.exports),r})}return Of=t(),Of}function a2(e){return t=>WebAssembly.instantiate(e,t)}function lne(e){return t=>WebAssembly.instantiateStreaming(e,t)}function une(e){return async t=>{const n=await e.arrayBuffer();return WebAssembly.instantiate(n,t)}}async function cne(e){return e&&await one(e),{createScanner(t){return new tne(t.map(n=>typeof n=="string"?n:n.source))},createString(t){return new HC(t)}}}const g7=qte({langs:zC,themes:Yte,engine:()=>cne(j(()=>import("./wasm-CG6Dc4jp.js"),[]))});function Su(e){if([...e].length!==1)throw new Error(`Expected "${e}" to be a single code point`);return e.codePointAt(0)}function dne(e,t,n){return e.has(t)||e.set(t,n),e.get(t)}const gy=new Set(["alnum","alpha","ascii","blank","cntrl","digit","graph","lower","print","punct","space","upper","word","xdigit"]),zn=String.raw;function Au(e,t){if(e==null)throw new Error(t??"Value expected");return e}const jC=zn`\[\^?`,FC=`c.? | C(?:-.?)?|${zn`[pP]\{(?:\^?[-\x20_]*[A-Za-z][-\x20\w]*\})?`}|${zn`x[89A-Fa-f]\p{AHex}(?:\\x[89A-Fa-f]\p{AHex})*`}|${zn`u(?:\p{AHex}{4})? | x\{[^\}]*\}? | x\p{AHex}{0,2}`}|${zn`o\{[^\}]*\}?`}|${zn`\d{1,3}`}`,by=/[?*+][?+]?|\{(?:\d+(?:,\d*)?|,\d+)\}\??/,Df=new RegExp(zn`
624  \\ (?:
625    ${FC}
626    | [gk]<[^>]*>?
627    | [gk]'[^']*'?
628    | .
629  )
630  | \( (?:
631    \? (?:
632      [:=!>({]
633      | <[=!]
634      | <[^>]*>
635      | '[^']*'
636      | ~\|?
637      | #(?:[^)\\]|\\.?)*
638      | [^:)]*[:)]
639    )?
640    | \*[^\)]*\)?
641  )?
642  | (?:${by.source})+
643  | ${jC}
644  | .
645`.replace(/\s+/g,""),"gsu"),i2=new RegExp(zn`
646  \\ (?:
647    ${FC}
648    | .
649  )
650  | \[:(?:\^?\p{Alpha}+|\^):\]
651  | ${jC}
652  | &&
653  | .
654`.replace(/\s+/g,""),"gsu");function fne(e,t={}){const n={flags:"",...t,rules:{captureGroup:!1,singleline:!1,...t.rules}};if(typeof e!="string")throw new Error("String expected as pattern");const r=One(n.flags),a=[r.extended],s={captureGroup:n.rules.captureGroup,getCurrentModX(){return a.at(-1)},numOpenGroups:0,popModX(){a.pop()},pushModX(m){a.push(m)},replaceCurrentModX(m){a[a.length-1]=m},singleline:n.rules.singleline};let o=[],u;for(Df.lastIndex=0;u=Df.exec(e);){const m=hne(s,e,u[0],Df.lastIndex);m.tokens?o.push(...m.tokens):m.token&&o.push(m.token),m.lastIndex!==void 0&&(Df.lastIndex=m.lastIndex)}const c=[];let f=0;o.filter(m=>m.type==="GroupOpen").forEach(m=>{m.kind==="capturing"?m.number=++f:m.raw==="("&&c.push(m)}),f||c.forEach((m,b)=>{m.kind="capturing",m.number=b+1});const p=f||c.length;return{tokens:o.map(m=>m.type==="EscapedNumber"?Ine(m,p):m).flat(),flags:r}}function hne(e,t,n,r){const[a,s]=n;if(n==="["||n==="[^"){const o=mne(t,n,r);return{tokens:o.tokens,lastIndex:o.lastIndex}}if(a==="\\"){if("AbBGyYzZ".includes(s))return{token:b7(n,n)};if(/^\\g[<']/.test(n)){if(!/^\\g(?:<[^>]+>|'[^']+')$/.test(n))throw new Error(`Invalid group name "${n}"`);return{token:wne(n)}}if(/^\\k[<']/.test(n)){if(!/^\\k(?:<[^>]+>|'[^']+')$/.test(n))throw new Error(`Invalid group name "${n}"`);return{token:qC(n)}}if(s==="K")return{token:$C("keep",n)};if(s==="N"||s==="R")return{token:ko("newline",n,{negate:s==="N"})};if(s==="O")return{token:ko("any",n)};if(s==="X")return{token:ko("text_segment",n)};const o=UC(n,{inCharClass:!1});return Array.isArray(o)?{tokens:o}:{token:o}}if(a==="("){if(s==="*")return{token:kne(n)};if(n==="(?{")throw new Error(`Unsupported callout "${n}"`);if(n.startsWith("(?#")){if(t[r]!==")")throw new Error('Unclosed comment group "(?#"');return{lastIndex:r+1}}if(/^\(\?[-imx]+[:)]$/.test(n))return{token:Cne(n,e)};if(e.pushModX(e.getCurrentModX()),e.numOpenGroups++,n==="("&&!e.captureGroup||n==="(?:")return{token:$l("group",n)};if(n==="(?>")return{token:$l("atomic",n)};if(n==="(?="||n==="(?!"||n==="(?<="||n==="(?<!")return{token:$l(n[2]==="<"?"lookbehind":"lookahead",n,{negate:n.endsWith("!")})};if(n==="("&&e.captureGroup||n.startsWith("(?<")&&n.endsWith(">")||n.startsWith("(?'")&&n.endsWith("'"))return{token:$l("capturing",n,{...n!=="("&&{name:n.slice(3,-1)}})};if(n.startsWith("(?~")){if(n==="(?~|")throw new Error(`Unsupported absence function kind "${n}"`);return{token:$l("absence_repeater",n)}}throw n==="(?("?new Error(`Unsupported conditional "${n}"`):new Error(`Invalid or unsupported group option "${n}"`)}if(n===")"){if(e.popModX(),e.numOpenGroups--,e.numOpenGroups<0)throw new Error('Unmatched ")"');return{token:Ene(n)}}if(e.getCurrentModX()){if(n==="#"){const o=t.indexOf(`
655`,r);return{lastIndex:o===-1?t.length:o}}if(/^\s$/.test(n)){const o=/\s+/y;return o.lastIndex=r,{lastIndex:o.exec(t)?o.lastIndex:r}}}if(n===".")return{token:ko("dot",n)};if(n==="^"||n==="$"){const o=e.singleline?{"^":zn`\A`,$:zn`\Z`}[n]:n;return{token:b7(o,n)}}return n==="|"?{token:gne(n)}:by.test(n)?{tokens:Lne(n)}:{token:zi(Su(n),n)}}function mne(e,t,n){const r=[y7(t[1]==="^",t)];let a=1,s;for(i2.lastIndex=n;s=i2.exec(e);){const o=s[0];if(o[0]==="["&&o[1]!==":")a++,r.push(y7(o[1]==="^",o));else if(o==="]"){if(r.at(-1).type==="CharacterClassOpen")r.push(zi(93,o));else if(a--,r.push(bne(o)),!a)break}else{const u=pne(o);Array.isArray(u)?r.push(...u):r.push(u)}}return{tokens:r,lastIndex:i2.lastIndex||e.length}}function pne(e){if(e[0]==="\\")return UC(e,{inCharClass:!0});if(e[0]==="["){const t=/\[:(?<negate>\^?)(?<name>[a-z]+):\]/.exec(e);if(!t||!gy.has(t.groups.name))throw new Error(`Invalid POSIX class "${e}"`);return ko("posix",e,{value:t.groups.name,negate:!!t.groups.negate})}return e==="-"?yne(e):e==="&&"?vne(e):zi(Su(e),e)}function UC(e,{inCharClass:t}){const n=e[1];if(n==="c"||n==="C")return Ane(e);if("dDhHsSwW".includes(n))return Nne(e);if(e.startsWith(zn`\o{`))throw new Error(`Incomplete, invalid, or unsupported octal code point "${e}"`);if(/^\\[pP]\{/.test(e)){if(e.length===3)throw new Error(`Incomplete or invalid Unicode property "${e}"`);return Rne(e)}if(new RegExp("^\\\\x[89A-Fa-f]\\p{AHex}","u").test(e))try{const r=e.split(/\\x/).slice(1).map(o=>parseInt(o,16)),a=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}).decode(new Uint8Array(r)),s=new TextEncoder;return[...a].map(o=>{const u=[...s.encode(o)].map(c=>`\\x${c.toString(16)}`).join("");return zi(Su(o),u)})}catch{throw new Error(`Multibyte code "${e}" incomplete or invalid in Oniguruma`)}if(n==="u"||n==="x")return zi(Dne(e),e);if(v7.has(n))return zi(v7.get(n),e);if(/\d/.test(n))return xne(t,e);if(e==="\\")throw new Error(zn`Incomplete escape "\"`);if(n==="M")throw new Error(`Unsupported meta "${e}"`);if([...e].length===2)return zi(e.codePointAt(1),e);throw new Error(`Unexpected escape "${e}"`)}function gne(e){return{type:"Alternator",raw:e}}function b7(e,t){return{type:"Assertion",kind:e,raw:t}}function qC(e){return{type:"Backreference",raw:e}}function zi(e,t){return{type:"Character",value:e,raw:t}}function bne(e){return{type:"CharacterClassClose",raw:e}}function yne(e){return{type:"CharacterClassHyphen",raw:e}}function vne(e){return{type:"CharacterClassIntersector",raw:e}}function y7(e,t){return{type:"CharacterClassOpen",negate:e,raw:t}}function ko(e,t,n={}){return{type:"CharacterSet",kind:e,...n,raw:t}}function $C(e,t,n={}){return e==="keep"?{type:"Directive",kind:e,raw:t}:{type:"Directive",kind:e,flags:Au(n.flags),raw:t}}function xne(e,t){return{type:"EscapedNumber",inCharClass:e,raw:t}}function Ene(e){return{type:"GroupClose",raw:e}}function $l(e,t,n={}){return{type:"GroupOpen",kind:e,...n,raw:t}}function _ne(e,t,n,r){return{type:"NamedCallout",kind:e,tag:t,arguments:n,raw:r}}function Tne(e,t,n,r){return{type:"Quantifier",kind:e,min:t,max:n,raw:r}}function wne(e){return{type:"Subroutine",raw:e}}const Sne=new Set(["COUNT","CMP","ERROR","FAIL","MAX","MISMATCH","SKIP","TOTAL_COUNT"]),v7=new Map([["a",7],["b",8],["e",27],["f",12],["n",10],["r",13],["t",9],["v",11]]);function Ane(e){const t=e[1]==="c"?e[2]:e[3];if(!t||!/[A-Za-z]/.test(t))throw new Error(`Unsupported control character "${e}"`);return zi(Su(t.toUpperCase())-64,e)}function Cne(e,t){let{on:n,off:r}=/^\(\?(?<on>[imx]*)(?:-(?<off>[-imx]*))?/.exec(e).groups;r??="";const a=(t.getCurrentModX()||n.includes("x"))&&!r.includes("x"),s=E7(n),o=E7(r),u={};if(s&&(u.enable=s),o&&(u.disable=o),e.endsWith(")"))return t.replaceCurrentModX(a),$C("flags",e,{flags:u});if(e.endsWith(":"))return t.pushModX(a),t.numOpenGroups++,$l("group",e,{...(s||o)&&{flags:u}});throw new Error(`Unexpected flag modifier "${e}"`)}function kne(e){const t=/\(\*(?<name>[A-Za-z_]\w*)?(?:\[(?<tag>(?:[A-Za-z_]\w*)?)\])?(?:\{(?<args>[^}]*)\})?\)/.exec(e);if(!t)throw new Error(`Incomplete or invalid named callout "${e}"`);const{name:n,tag:r,args:a}=t.groups;if(!n)throw new Error(`Invalid named callout "${e}"`);if(r==="")throw new Error(`Named callout tag with empty value not allowed "${e}"`);const s=a?a.split(",").filter(p=>p!=="").map(p=>/^[+-]?\d+$/.test(p)?+p:p):[],[o,u,c]=s,f=Sne.has(n)?n.toLowerCase():"custom";switch(f){case"fail":case"mismatch":case"skip":if(s.length>0)throw new Error(`Named callout arguments not allowed "${s}"`);break;case"error":if(s.length>1)throw new Error(`Named callout allows only one argument "${s}"`);if(typeof o=="string")throw new Error(`Named callout argument must be a number "${o}"`);break;case"max":if(!s.length||s.length>2)throw new Error(`Named callout must have one or two arguments "${s}"`);if(typeof o=="string"&&!/^[A-Za-z_]\w*$/.test(o))throw new Error(`Named callout argument one must be a tag or number "${o}"`);if(s.length===2&&(typeof u=="number"||!/^[<>X]$/.test(u)))throw new Error(`Named callout optional argument two must be '<', '>', or 'X' "${u}"`);break;case"count":case"total_count":if(s.length>1)throw new Error(`Named callout allows only one argument "${s}"`);if(s.length===1&&(typeof o=="number"||!/^[<>X]$/.test(o)))throw new Error(`Named callout optional argument must be '<', '>', or 'X' "${o}"`);break;case"cmp":if(s.length!==3)throw new Error(`Named callout must have three arguments "${s}"`);if(typeof o=="string"&&!/^[A-Za-z_]\w*$/.test(o))throw new Error(`Named callout argument one must be a tag or number "${o}"`);if(typeof u=="number"||!/^(?:[<>!=]=|[<>])$/.test(u))throw new Error(`Named callout argument two must be '==', '!=', '>', '<', '>=', or '<=' "${u}"`);if(typeof c=="string"&&!/^[A-Za-z_]\w*$/.test(c))throw new Error(`Named callout argument three must be a tag or number "${c}"`);break;case"custom":throw new Error(`Undefined callout name "${n}"`);default:throw new Error(`Unexpected named callout kind "${f}"`)}return _ne(f,r??null,a?.split(",")??null,e)}function x7(e){let t=null,n,r;if(e[0]==="{"){const{minStr:a,maxStr:s}=/^\{(?<minStr>\d*)(?:,(?<maxStr>\d*))?/.exec(e).groups,o=1e5;if(+a>o||s&&+s>o)throw new Error("Quantifier value unsupported in Oniguruma");if(n=+a,r=s===void 0?+a:s===""?1/0:+s,n>r&&(t="possessive",[n,r]=[r,n]),e.endsWith("?")){if(t==="possessive")throw new Error('Unsupported possessive interval quantifier chain with "?"');t="lazy"}else t||(t="greedy")}else n=e[0]==="+"?1:0,r=e[0]==="?"?1:1/0,t=e[1]==="+"?"possessive":e[1]==="?"?"lazy":"greedy";return Tne(t,n,r,e)}function Nne(e){const t=e[1].toLowerCase();return ko({d:"digit",h:"hex",s:"space",w:"word"}[t],e,{negate:e[1]!==t})}function Rne(e){const{p:t,neg:n,value:r}=/^\\(?<p>[pP])\{(?<neg>\^?)(?<value>[^}]+)/.exec(e).groups;return ko("property",e,{value:r,negate:t==="P"&&!n||t==="p"&&!!n})}function E7(e){const t={};return e.includes("i")&&(t.ignoreCase=!0),e.includes("m")&&(t.dotAll=!0),e.includes("x")&&(t.extended=!0),Object.keys(t).length?t:null}function One(e){const t={ignoreCase:!1,dotAll:!1,extended:!1,digitIsAscii:!1,posixIsAscii:!1,spaceIsAscii:!1,wordIsAscii:!1,textSegmentMode:null};for(let n=0;n<e.length;n++){const r=e[n];if(!"imxDPSWy".includes(r))throw new Error(`Invalid flag "${r}"`);if(r==="y"){if(!/^y{[gw]}/.test(e.slice(n)))throw new Error('Invalid or unspecified flag "y" mode');t.textSegmentMode=e[n+2]==="g"?"grapheme":"word",n+=3;continue}t[{i:"ignoreCase",m:"dotAll",x:"extended",D:"digitIsAscii",P:"posixIsAscii",S:"spaceIsAscii",W:"wordIsAscii"}[r]]=!0}return t}function Dne(e){if(new RegExp("^(?:\\\\u(?!\\p{AHex}{4})|\\\\x(?!\\p{AHex}{1,2}|\\{\\p{AHex}{1,8}\\}))","u").test(e))throw new Error(`Incomplete or invalid escape "${e}"`);const t=e[2]==="{"?new RegExp("^\\\\x\\{\\s*(?<hex>\\p{AHex}+)","u").exec(e).groups.hex:e.slice(2);return parseInt(t,16)}function Ine(e,t){const{raw:n,inCharClass:r}=e,a=n.slice(1);if(!r&&(a!=="0"&&a.length===1||a[0]!=="0"&&+a<=t))return[qC(n)];const s=[],o=a.match(/^[0-7]+|\d/g);for(let u=0;u<o.length;u++){const c=o[u];let f;if(u===0&&c!=="8"&&c!=="9"){if(f=parseInt(c,8),f>127)throw new Error(zn`Octal encoded byte above 177 unsupported "${n}"`)}else f=Su(c);s.push(zi(f,(u===0?"\\":"")+c))}return s}function Lne(e){const t=[],n=new RegExp(by,"gy");let r;for(;r=n.exec(e);){const a=r[0];if(a[0]==="{"){const s=/^\{(?<min>\d+),(?<max>\d+)\}\??$/.exec(a);if(s){const{min:o,max:u}=s.groups;if(+o>+u&&a.endsWith("?")){n.lastIndex--,t.push(x7(a.slice(0,-1)));continue}}}t.push(x7(a))}return t}function VC(e,t){if(!Array.isArray(e.body))throw new Error("Expected node with body array");if(e.body.length!==1)return!1;const n=e.body[0];return!t||Object.keys(t).every(r=>t[r]===n[r])}function Mne(e){return Pne.has(e.type)}const Pne=new Set(["AbsenceFunction","Backreference","CapturingGroup","Character","CharacterClass","CharacterSet","Group","Quantifier","Subroutine"]);function GC(e,t={}){const n={flags:"",normalizeUnknownPropertyNames:!1,skipBackrefValidation:!1,skipLookbehindValidation:!1,skipPropertyNameValidation:!1,unicodePropertyMap:null,...t,rules:{captureGroup:!1,singleline:!1,...t.rules}},r=fne(e,{flags:n.flags,rules:{captureGroup:n.rules.captureGroup,singleline:n.rules.singleline}}),a=(b,y)=>{const _=r.tokens[s.nextIndex];switch(s.parent=b,s.nextIndex++,_.type){case"Alternator":return Mo();case"Assertion":return Bne(_);case"Backreference":return zne(_,s);case"Character":return Sm(_.value,{useLastValid:!!y.isCheckingRangeEnd});case"CharacterClassHyphen":return Hne(_,s,y);case"CharacterClassOpen":return jne(_,s,y);case"CharacterSet":return Fne(_,s);case"Directive":return Yne(_.kind,{flags:_.flags});case"GroupOpen":return Une(_,s,y);case"NamedCallout":return Wne(_.kind,_.tag,_.arguments);case"Quantifier":return qne(_,s);
vendor: 7,384 bytes, line 655
655case"Subroutine":return $ne(_,s);default:throw new Error(`Unexpected token type "${_.type}"`)}},s={capturingGroups:[],hasNumberedRef:!1,namedGroupsByName:new Map,nextIndex:0,normalizeUnknownPropertyNames:n.normalizeUnknownPropertyNames,parent:null,skipBackrefValidation:n.skipBackrefValidation,skipLookbehindValidation:n.skipLookbehindValidation,skipPropertyNameValidation:n.skipPropertyNameValidation,subroutines:[],tokens:r.tokens,unicodePropertyMap:n.unicodePropertyMap,walk:a},o=Kne(Qne(r.flags));let u=o.body[0];for(;s.nextIndex<r.tokens.length;){const b=a(u,{});b.type==="Alternative"?(o.body.push(b),u=b):u.body.push(b)}const{capturingGroups:c,hasNumberedRef:f,namedGroupsByName:p,subroutines:m}=s;if(f&&p.size&&!n.rules.captureGroup)throw new Error("Numbered backref/subroutine not allowed when using named capture");for(const{ref:b}of m)if(typeof b=="number"){if(b>c.length)throw new Error("Subroutine uses a group number that's not defined");b&&(c[b-1].isSubroutined=!0)}else if(p.has(b)){if(p.get(b).length>1)throw new Error(zn`Subroutine uses a duplicate group name "\g<${b}>"`);p.get(b)[0].isSubroutined=!0}else throw new Error(zn`Subroutine uses a group name that's not defined "\g<${b}>"`);return o}function Bne({kind:e}){return Tb(Au({"^":"line_start",$:"line_end","\\A":"string_start","\\b":"word_boundary","\\B":"word_boundary","\\G":"search_start","\\y":"text_segment_boundary","\\Y":"text_segment_boundary","\\z":"string_end","\\Z":"string_end_newline"}[e],`Unexpected assertion kind "${e}"`),{negate:e===zn`\B`||e===zn`\Y`})}function zne({raw:e},t){const n=/^\\k[<']/.test(e),r=n?e.slice(3,-1):e.slice(1),a=(s,o=!1)=>{const u=t.capturingGroups.length;let c=!1;if(s>u)if(t.skipBackrefValidation)c=!0;else throw new Error(`Not enough capturing groups defined to the left "${e}"`);return t.hasNumberedRef=!0,wb(o?u+1-s:s,{orphan:c})};if(n){const s=/^(?<sign>-?)0*(?<num>[1-9]\d*)$/.exec(r);if(s)return a(+s.groups.num,!!s.groups.sign);if(/[-+]/.test(r))throw new Error(`Invalid backref name "${e}"`);if(!t.namedGroupsByName.has(r))throw new Error(`Group name not defined to the left "${e}"`);return wb(r)}return a(+r)}function Hne(e,t,n){const{tokens:r,walk:a}=t,s=t.parent,o=s.body.at(-1),u=r[t.nextIndex];if(!n.isCheckingRangeEnd&&o&&o.type!=="CharacterClass"&&o.type!=="CharacterClassRange"&&u&&u.type!=="CharacterClassOpen"&&u.type!=="CharacterClassClose"&&u.type!=="CharacterClassIntersector"){const c=a(s,{...n,isCheckingRangeEnd:!0});if(o.type==="Character"&&c.type==="Character")return s.body.pop(),Gne(o,c);throw new Error("Invalid character class range")}return Sm(Su("-"))}function jne({negate:e},t,n){const{tokens:r,walk:a}=t,s=r[t.nextIndex],o=[Xf()];let u=w7(s);for(;u.type!=="CharacterClassClose";){if(u.type==="CharacterClassIntersector")o.push(Xf()),t.nextIndex++;else{const f=o.at(-1);f.body.push(a(f,n))}u=w7(r[t.nextIndex],s)}const c=Xf({negate:e});return o.length===1?c.body=o[0].body:(c.kind="intersection",c.body=o.map(f=>f.body.length===1?f.body[0]:f)),t.nextIndex++,c}function Fne({kind:e,negate:t,value:n},r){const{normalizeUnknownPropertyNames:a,skipPropertyNameValidation:s,unicodePropertyMap:o}=r;if(e==="property"){const u=Am(n);if(gy.has(u)&&!o?.has(u))e="posix",n=u;else return Vl(n,{negate:t,normalizeUnknownPropertyNames:a,skipPropertyNameValidation:s,unicodePropertyMap:o})}return e==="posix"?Xne(n,{negate:t}):Sb(e,{negate:t})}function Une(e,t,n){const{tokens:r,capturingGroups:a,namedGroupsByName:s,skipLookbehindValidation:o,walk:u}=t,c=Zne(e),f=c.type==="AbsenceFunction",p=T7(c),m=p&&c.negate;if(c.type==="CapturingGroup"&&(a.push(c),c.name&&dne(s,c.name,[]).push(c)),f&&n.isInAbsenceFunction)throw new Error("Nested absence function not supported by Oniguruma");let b=S7(r[t.nextIndex]);for(;b.type!=="GroupClose";){if(b.type==="Alternator")c.body.push(Mo()),t.nextIndex++;else{const y=c.body.at(-1),_=u(y,{...n,isInAbsenceFunction:n.isInAbsenceFunction||f,isInLookbehind:n.isInLookbehind||p,isInNegLookbehind:n.isInNegLookbehind||m});if(y.body.push(_),(p||n.isInLookbehind)&&!o){const w="Lookbehind includes a pattern not allowed by Oniguruma";if(m||n.isInNegLookbehind){if(_7(_)||_.type==="CapturingGroup")throw new Error(w)}else if(_7(_)||T7(_)&&_.negate)throw new Error(w)}}b=S7(r[t.nextIndex])}return t.nextIndex++,c}function qne({kind:e,min:t,max:n},r){const a=r.parent,s=a.body.at(-1);if(!s||!Mne(s))throw new Error("Quantifier requires a repeatable token");const o=QC(e,t,n,s);return a.body.pop(),o}function $ne({raw:e},t){const{capturingGroups:n,subroutines:r}=t;let a=e.slice(3,-1);const s=/^(?<sign>[-+]?)0*(?<num>[1-9]\d*)$/.exec(a);if(s){const u=+s.groups.num,c=n.length;if(t.hasNumberedRef=!0,a={"":u,"+":c+u,"-":c+1-u}[s.groups.sign],a<1)throw new Error("Invalid subroutine number")}else a==="0"&&(a=0);const o=WC(a);return r.push(o),o}function Vne(e,t){return{type:"AbsenceFunction",kind:e,body:z0(t?.body)}}function Mo(e){return{type:"Alternative",body:XC(e?.body)}}function Tb(e,t){const n={type:"Assertion",kind:e};return(e==="word_boundary"||e==="text_segment_boundary")&&(n.negate=!!t?.negate),n}function wb(e,t){const n=!!t?.orphan;return{type:"Backreference",ref:e,...n&&{orphan:n}}}function YC(e,t){const n={name:void 0,isSubroutined:!1,...t};if(n.name!==void 0&&!Jne(n.name))throw new Error(`Group name "${n.name}" invalid in Oniguruma`);return{type:"CapturingGroup",number:e,...n.name&&{name:n.name},...n.isSubroutined&&{isSubroutined:n.isSubroutined},body:z0(t?.body)}}function Sm(e,t){const n={useLastValid:!1,...t};if(e>1114111){const r=e.toString(16);if(n.useLastValid)e=1114111;else throw e>1310719?new Error(`Invalid code point out of range "\\x{${r}}"`):new Error(`Invalid code point out of range in JS "\\x{${r}}"`)}return{type:"Character",value:e}}function Xf(e){const t={kind:"union",negate:!1,...e};return{type:"CharacterClass",kind:t.kind,negate:t.negate,body:XC(e?.body)}}function Gne(e,t){if(t.value<e.value)throw new Error("Character class range out of order");return{type:"CharacterClassRange",min:e,max:t}}function Sb(e,t){const n=!!t?.negate,r={type:"CharacterSet",kind:e};return(e==="digit"||e==="hex"||e==="newline"||e==="space"||e==="word")&&(r.negate=n),(e==="text_segment"||e==="newline"&&!n)&&(r.variableLength=!0),r}function Yne(e,t={}){if(e==="keep")return{type:"Directive",kind:e};if(e==="flags")return{type:"Directive",kind:e,flags:Au(t.flags)};throw new Error(`Unexpected directive kind "${e}"`)}function Qne(e){return{type:"Flags",...e}}function wa(e){const t=e?.atomic,n=e?.flags;if(t&&n)throw new Error("Atomic group cannot have flags");return{type:"Group",...t&&{atomic:t},...n&&{flags:n},body:z0(e?.body)}}function So(e){const t={behind:!1,negate:!1,...e};return{type:"LookaroundAssertion",kind:t.behind?"lookbehind":"lookahead",negate:t.negate,body:z0(e?.body)}}function Wne(e,t,n){return{type:"NamedCallout",kind:e,tag:t,arguments:n}}function Xne(e,t){const n=!!t?.negate;if(!gy.has(e))throw new Error(`Invalid POSIX class "${e}"`);return{type:"CharacterSet",kind:"posix",value:e,negate:n}}function QC(e,t,n,r){if(t>n)throw new Error("Invalid reversed quantifier range");return{type:"Quantifier",kind:e,min:t,max:n,body:r}}function Kne(e,t){return{type:"Regex",body:z0(t?.body),flags:e}}function WC(e){return{type:"Subroutine",ref:e}}function Vl(e,t){const n={negate:!1,normalizeUnknownPropertyNames:!1,skipPropertyNameValidation:!1,unicodePropertyMap:null,...t};
vendor: 13,163 bytes, lines 655-752
655let r=n.unicodePropertyMap?.get(Am(e));if(!r){if(n.normalizeUnknownPropertyNames)r=ere(e);else if(n.unicodePropertyMap&&!n.skipPropertyNameValidation)throw new Error(zn`Invalid Unicode property "\p{${e}}"`)}return{type:"CharacterSet",kind:"property",value:r??e,negate:n.negate}}function Zne({flags:e,kind:t,name:n,negate:r,number:a}){switch(t){case"absence_repeater":return Vne("repeater");case"atomic":return wa({atomic:!0});case"capturing":return YC(a,{name:n});case"group":return wa({flags:e});case"lookahead":case"lookbehind":return So({behind:t==="lookbehind",negate:r});default:throw new Error(`Unexpected group kind "${t}"`)}}function z0(e){if(e===void 0)e=[Mo()];else if(!Array.isArray(e)||!e.length||!e.every(t=>t.type==="Alternative"))throw new Error("Invalid body; expected array of one or more Alternative nodes");return e}function XC(e){if(e===void 0)e=[];else if(!Array.isArray(e)||!e.every(t=>!!t.type))throw new Error("Invalid body; expected array of nodes");return e}function _7(e){return e.type==="LookaroundAssertion"&&e.kind==="lookahead"}function T7(e){return e.type==="LookaroundAssertion"&&e.kind==="lookbehind"}function Jne(e){return/^[\p{Alpha}\p{Pc}][^)]*$/u.test(e)}function ere(e){return e.trim().replace(/[- _]+/g,"_").replace(/[A-Z][a-z]+(?=[A-Z])/g,"$&_").replace(/[A-Za-z]+/g,t=>t[0].toUpperCase()+t.slice(1).toLowerCase())}function Am(e){return e.replace(/[- _]+/g,"").toLowerCase()}function w7(e,t){return Au(e,`${t?.type==="Character"&&t.value===93?"Empty":"Unclosed"} character class`)}function S7(e){return Au(e,"Unclosed group")}function Kc(e,t,n=null){function r(s,o){for(let u=0;u<s.length;u++){const c=a(s[u],o,u,s);u=Math.max(-1,u+c)}}function a(s,o=null,u=null,c=null){let f=0,p=!1;const m={node:s,parent:o,key:u,container:c,root:e,remove(){If(c).splice(Math.max(0,Fl(u)+f),1),f--,p=!0},removeAllNextSiblings(){return If(c).splice(Fl(u)+1)},removeAllPrevSiblings(){const A=Fl(u)+f;return f-=A,If(c).splice(0,Math.max(0,A))},replaceWith(A,R={}){const D=!!R.traverse;c?c[Math.max(0,Fl(u)+f)]=A:Au(o,"Can't replace root node")[u]=A,D&&a(A,o,u,c),p=!0},replaceWithMultiple(A,R={}){const D=!!R.traverse;if(If(c).splice(Math.max(0,Fl(u)+f),1,...A),f+=A.length-1,D){let F=0;for(let H=0;H<A.length;H++)F+=a(A[H],o,Fl(u)+H+F,c)}p=!0},skip(){p=!0}},{type:b}=s,y=t["*"],_=t[b],w=typeof y=="function"?y:y?.enter,k=typeof _=="function"?_:_?.enter;if(w?.(m,n),k?.(m,n),!p)switch(b){case"AbsenceFunction":case"CapturingGroup":case"Group":r(s.body,s);break;case"Alternative":case"CharacterClass":r(s.body,s);break;case"Assertion":case"Backreference":case"Character":case"CharacterSet":case"Directive":case"Flags":case"NamedCallout":case"Subroutine":break;case"CharacterClassRange":a(s.min,s,"min"),a(s.max,s,"max");break;case"LookaroundAssertion":r(s.body,s);break;case"Quantifier":a(s.body,s,"body");break;case"Regex":r(s.body,s),a(s.flags,s,"flags");break;default:throw new Error(`Unexpected node type "${b}"`)}return _?.exit?.(m,n),y?.exit?.(m,n),f}return a(e),e}function If(e){if(!Array.isArray(e))throw new Error("Container expected");return e}function Fl(e){if(typeof e!="number")throw new Error("Numeric key expected");return e}const tre=String.raw`\(\?(?:[:=!>A-Za-z\-]|<[=!]|\(DEFINE\))`;function nre(e,t){for(let n=0;n<e.length;n++)e[n]>=t&&e[n]++}function rre(e,t,n,r){return e.slice(0,t)+r+e.slice(t+n.length)}const fa=Object.freeze({DEFAULT:"DEFAULT",CHAR_CLASS:"CHAR_CLASS"});function yy(e,t,n,r){const a=new RegExp(String.raw`${t}|(?<$skip>\[\^?|\\?.)`,"gsu"),s=[!1];let o=0,u="";for(const c of e.matchAll(a)){const{0:f,groups:{$skip:p}}=c;if(!p&&(!r||r===fa.DEFAULT==!o)){n instanceof Function?u+=n(c,{context:o?fa.CHAR_CLASS:fa.DEFAULT,negated:s[s.length-1]}):u+=n;continue}f[0]==="["?(o++,s.push(f[1]==="^")):f==="]"&&o&&(o--,s.pop()),u+=f}return u}function KC(e,t,n,r){yy(e,t,n,r)}function are(e,t,n=0,r){if(!new RegExp(t,"su").test(e))return null;const a=new RegExp(`${t}|(?<$skip>\\\\?.)`,"gsu");a.lastIndex=n;let s=0,o;for(;o=a.exec(e);){const{0:u,groups:{$skip:c}}=o;if(!c&&(!r||r===fa.DEFAULT==!s))return o;u==="["?s++:u==="]"&&s&&s--,a.lastIndex==o.index&&a.lastIndex++}return null}function Lf(e,t,n){return!!are(e,t,0,n)}function ire(e,t){const n=/\\?./gsu;n.lastIndex=t;let r=e.length,a=0,s=1,o;for(;o=n.exec(e);){const[u]=o;if(u==="[")a++;else if(a)u==="]"&&a--;else if(u==="(")s++;else if(u===")"&&(s--,!s)){r=o.index;break}}return e.slice(t,r)}const A7=new RegExp(String.raw`(?<noncapturingStart>${tre})|(?<capturingStart>\((?:\?<[^>]+>)?)|\\?.`,"gsu");function sre(e,t){const n=t?.hiddenCaptures??[];let r=t?.captureTransfers??new Map;if(!/\(\?>/.test(e))return{pattern:e,captureTransfers:r,hiddenCaptures:n};const a="(?>",s="(?:(?=(",o=[0],u=[];let c=0,f=0,p=NaN,m;do{m=!1;let b=0,y=0,_=!1,w;for(A7.lastIndex=Number.isNaN(p)?0:p+s.length;w=A7.exec(e);){const{0:k,index:A,groups:{capturingStart:R,noncapturingStart:D}}=w;if(k==="[")b++;else if(b)k==="]"&&b--;else if(k===a&&!_)p=A,_=!0;else if(_&&D)y++;else if(R)_?y++:(c++,o.push(c+f));else if(k===")"&&_){if(!y){f++;const F=c+f;if(e=`${e.slice(0,p)}${s}${e.slice(p+a.length,A)}))<$$${F}>)${e.slice(A+1)}`,m=!0,u.push(F),nre(n,F),r.size){const H=new Map;r.forEach((P,z)=>{H.set(z>=F?z+1:z,P.map(K=>K>=F?K+1:K))}),r=H}break}y--}}}while(m);return n.push(...u),e=yy(e,String.raw`\\(?<backrefNum>[1-9]\d*)|<\$\$(?<wrappedBackrefNum>\d+)>`,({0:b,groups:{backrefNum:y,wrappedBackrefNum:_}})=>{if(y){const w=+y;if(w>o.length-1)throw new Error(`Backref "${b}" greater than number of captures`);return`\\${o[w]}`}return`\\${_}`},fa.DEFAULT),{pattern:e,captureTransfers:r,hiddenCaptures:n}}const ZC=String.raw`(?:[?*+]|\{\d+(?:,\d*)?\})`,s2=new RegExp(String.raw`
656\\(?: \d+
657  | c[A-Za-z]
658  | [gk]<[^>]+>
659  | [pPu]\{[^\}]+\}
660  | u[A-Fa-f\d]{4}
661  | x[A-Fa-f\d]{2}
662  )
663| \((?: \? (?: [:=!>]
664  | <(?:[=!]|[^>]+>)
665  | [A-Za-z\-]+:
666  | \(DEFINE\)
667  ))?
668| (?<qBase>${ZC})(?<qMod>[?+]?)(?<invalidQ>[?*+\{]?)
669| \\?.
670`.replace(/\s+/g,""),"gsu");function ore(e){if(!new RegExp(`${ZC}\\+`).test(e))return{pattern:e};const t=[];let n=null,r=null,a="",s=0,o;for(s2.lastIndex=0;o=s2.exec(e);){const{0:u,index:c,groups:{qBase:f,qMod:p,invalidQ:m}}=o;if(u==="[")s||(r=c),s++;else if(u==="]")s?s--:r=null;else if(!s)if(p==="+"&&a&&!a.startsWith("(")){if(m)throw new Error(`Invalid quantifier "${u}"`);let b=-1;if(/^\{\d+\}$/.test(f))e=rre(e,c+f.length,p,"");else{if(a===")"||a==="]"){const y=a===")"?n:r;if(y===null)throw new Error(`Invalid unmatched "${a}"`);e=`${e.slice(0,y)}(?>${e.slice(y,c)}${f})${e.slice(c+u.length)}`}else e=`${e.slice(0,c-a.length)}(?>${a}${f})${e.slice(c+u.length)}`;b+=4}s2.lastIndex+=b}else u[0]==="("?t.push(c):u===")"&&(n=t.length?t.pop():null);a=u}return{pattern:e}}const ca=String.raw,lre=ca`\\g<(?<gRNameOrNum>[^>&]+)&R=(?<gRDepth>[^>]+)>`,Ab=ca`\(\?R=(?<rDepth>[^\)]+)\)|${lre}`,Cm=ca`\(\?<(?![=!])(?<captureName>[^>]+)>`,JC=ca`${Cm}|(?<unnamed>\()(?!\?)`,xo=new RegExp(ca`${Cm}|${Ab}|\(\?|\\?.`,"gsu"),o2="Cannot use multiple overlapping recursions";function ure(e,t){const{hiddenCaptures:n,mode:r}={hiddenCaptures:[],mode:"plugin",...t};let a=t?.captureTransfers??new Map;if(!new RegExp(Ab,"su").test(e))return{pattern:e,captureTransfers:a,hiddenCaptures:n};if(r==="plugin"&&Lf(e,ca`\(\?\(DEFINE\)`,fa.DEFAULT))throw new Error("DEFINE groups cannot be used with recursion");const s=[],o=Lf(e,ca`\\[1-9]`,fa.DEFAULT),u=new Map,c=[];let f=!1,p=0,m=0,b;for(xo.lastIndex=0;b=xo.exec(e);){const{0:y,groups:{captureName:_,rDepth:w,gRNameOrNum:k,gRDepth:A}}=b;if(y==="[")p++;else if(p)y==="]"&&p--;else if(w){if(C7(w),f)throw new Error(o2);if(o)throw new Error(`${r==="external"?"Backrefs":"Numbered backrefs"} cannot be used with global recursion`);const R=e.slice(0,b.index),D=e.slice(xo.lastIndex);if(Lf(D,Ab,fa.DEFAULT))throw new Error(o2);const F=+w-1;e=k7(R,D,F,!1,n,s,m),a=R7(a,R,F,s.length,0,m);break}else if(k){C7(A);let R=!1;for(const re of c)if(re.name===k||re.num===+k){if(R=!0,re.hasRecursedWithin)throw new Error(o2);break}if(!R)throw new Error(ca`Recursive \g cannot be used outside the referenced group "${r==="external"?k:ca`\g<${k}&R=${A}>`}"`);const D=u.get(k),F=ire(e,D);if(o&&Lf(F,ca`${Cm}|\((?!\?)`,fa.DEFAULT))throw new Error(`${r==="external"?"Backrefs":"Numbered backrefs"} cannot be used with recursion of capturing groups`);const H=e.slice(D,b.index),P=F.slice(H.length+y.length),z=s.length,K=+A-1,ee=k7(H,P,K,!0,n,s,m);a=R7(a,H,K,s.length-z,z,m);const Y=e.slice(0,D),se=e.slice(D+F.length);e=`${Y}${ee}${se}`,xo.lastIndex+=ee.length-y.length-H.length-P.length,c.forEach(re=>re.hasRecursedWithin=!0),f=!0}else if(_)m++,u.set(String(m),xo.lastIndex),u.set(_,xo.lastIndex),c.push({num:m,name:_});else if(y[0]==="("){const R=y==="(";R&&(m++,u.set(String(m),xo.lastIndex)),c.push(R?{num:m}:{})}else y===")"&&c.pop()}return n.push(...s),{pattern:e,captureTransfers:a,hiddenCaptures:n}}function C7(e){const t=`Max depth must be integer between 2 and 100; used ${e}`;if(!/^[1-9]\d*$/.test(e))throw new Error(t);if(e=+e,e<2||e>100)throw new Error(t)}function k7(e,t,n,r,a,s,o){const u=new Set;r&&KC(e+t,Cm,({groups:{captureName:f}})=>{u.add(f)},fa.DEFAULT);const c=[n,r?u:null,a,s,o];return`${e}${N7(`(?:${e}`,"forward",...c)}(?:)${N7(`${t})`,"backward",...c)}${t}`}function N7(e,t,n,r,a,s,o){const c=p=>t==="forward"?p+2:n-p+2-1;let f="";for(let p=0;p<n;p++){const m=c(p);f+=yy(e,ca`${JC}|\\k<(?<backref>[^>]+)>`,({0:b,groups:{captureName:y,unnamed:_,backref:w}})=>{if(w&&r&&!r.has(w))return b;const k=`_$${m}`;if(_||y){const A=o+s.length+1;return s.push(A),cre(a,A),_?b:`(?<${y}${k}>`}return ca`\k<${w}${k}>`},fa.DEFAULT)}return f}function cre(e,t){for(let n=0;n<e.length;n++)e[n]>=t&&e[n]++}function R7(e,t,n,r,a,s){if(e.size&&r){let o=0;KC(t,JC,()=>o++,fa.DEFAULT);const u=s-o+a,c=new Map;return e.forEach((f,p)=>{const m=(r-o*n)/n,b=o*n,y=p>u+o?p+r:p,_=[];for(const w of f)if(w<=u)_.push(w);else if(w>u+o+m)_.push(w+r);else if(w<=u+o)for(let k=0;k<=n;k++)_.push(w+o*k);else for(let k=0;k<=n;k++)_.push(w+b+m*k);c.set(y,_)}),c}return e}var kn=String.fromCodePoint,et=String.raw,Fi={flagGroups:(()=>{try{new RegExp("(?i:)")}catch{return!1}return!0})(),unicodeSets:(()=>{try{new RegExp("","v")}catch{return!1}return!0})()};Fi.bugFlagVLiteralHyphenIsRange=Fi.unicodeSets?(()=>{try{new RegExp(et`[\d\-a]`,"v")}catch{return!0}return!1})():!1;Fi.bugNestedClassIgnoresNegation=Fi.unicodeSets&&new RegExp("[[^a]]","v").test("a");function Nh(e,{enable:t,disable:n}){return{dotAll:!n?.dotAll&&!!(t?.dotAll||e.dotAll),ignoreCase:!n?.ignoreCase&&!!(t?.ignoreCase||e.ignoreCase)}}function y0(e,t,n){return e.has(t)||e.set(t,n),e.get(t)}function Cb(e,t){return O7[e]>=O7[t]}function dre(e,t){if(e==null)throw new Error(t??"Value expected");return e}var O7={ES2025:2025,ES2024:2024,ES2018:2018},fre={auto:"auto",ES2025:"ES2025",ES2024:"ES2024",ES2018:"ES2018"};function ek(e={}){if({}.toString.call(e)!=="[object Object]")throw new Error("Unexpected options");if(e.target!==void 0&&!fre[e.target])throw new Error(`Unexpected target "${e.target}"`);const t={accuracy:"default",avoidSubclass:!1,flags:"",global:!1,hasIndices:!1,lazyCompileLength:1/0,target:"auto",verbose:!1,...e,rules:{allowOrphanBackrefs:!1,asciiWordBoundaries:!1,captureGroup:!1,recursionLimit:20,singleline:!1,...e.rules}};return t.target==="auto"&&(t.target=Fi.flagGroups?"ES2025":Fi.unicodeSets?"ES2024":"ES2018"),t}var hre="[	-\r ]",mre=new Set([kn(304),kn(305)]),Ii=et`[\p{L}\p{M}\p{N}\p{Pc}]`;function tk(e){if(mre.has(e))return[e];const t=new Set,n=e.toLowerCase(),r=n.toUpperCase(),a=bre.get(n),s=pre.get(n),o=gre.get(n);return[...r].length===1&&t.add(r),o&&t.add(o),a&&t.add(a),t.add(n),s&&t.add(s),[...t]}var vy=new Map(`C Other
671Cc Control cntrl
672Cf Format
673Cn Unassigned
674Co Private_Use
675Cs Surrogate
676L Letter
677LC Cased_Letter
678Ll Lowercase_Letter
679Lm Modifier_Letter
680Lo Other_Letter
681Lt Titlecase_Letter
682Lu Uppercase_Letter
683M Mark Combining_Mark
684Mc Spacing_Mark
685Me Enclosing_Mark
686Mn Nonspacing_Mark
687N Number
688Nd Decimal_Number digit
689Nl Letter_Number
690No Other_Number
691P Punctuation punct
692Pc Connector_Punctuation
693Pd Dash_Punctuation
694Pe Close_Punctuation
695Pf Final_Punctuation
696Pi Initial_Punctuation
697Po Other_Punctuation
698Ps Open_Punctuation
699S Symbol
700Sc Currency_Symbol
701Sk Modifier_Symbol
702Sm Math_Symbol
703So Other_Symbol
704Z Separator
705Zl Line_Separator
706Zp Paragraph_Separator
707Zs Space_Separator
708ASCII
709ASCII_Hex_Digit AHex
710Alphabetic Alpha
711Any
712Assigned
713Bidi_Control Bidi_C
714Bidi_Mirrored Bidi_M
715Case_Ignorable CI
716Cased
717Changes_When_Casefolded CWCF
718Changes_When_Casemapped CWCM
719Changes_When_Lowercased CWL
720Changes_When_NFKC_Casefolded CWKCF
721Changes_When_Titlecased CWT
722Changes_When_Uppercased CWU
723Dash
724Default_Ignorable_Code_Point DI
725Deprecated Dep
726Diacritic Dia
727Emoji
728Emoji_Component EComp
729Emoji_Modifier EMod
730Emoji_Modifier_Base EBase
731Emoji_Presentation EPres
732Extended_Pictographic ExtPict
733Extender Ext
734Grapheme_Base Gr_Base
735Grapheme_Extend Gr_Ext
736Hex_Digit Hex
737IDS_Binary_Operator IDSB
738IDS_Trinary_Operator IDST
739ID_Continue IDC
740ID_Start IDS
741Ideographic Ideo
742Join_Control Join_C
743Logical_Order_Exception LOE
744Lowercase Lower
745Math
746Noncharacter_Code_Point NChar
747Pattern_Syntax Pat_Syn
748Pattern_White_Space Pat_WS
749Quotation_Mark QMark
750Radical
751Regional_Indicator RI
752Sentence_Terminal STerm
753Soft_Dotted SD
754Terminal_Punctuation Term
755Unified_Ideograph UIdeo
756Uppercase Upper
757Variation_Selector VS
758White_Space space
759XID_Continue XIDC
760XID_Start XIDS`.split(/\s/).map(e=>[Am(e),e])),pre=new Map([["s",kn(383)],[kn(383),"s"]]),gre=new Map([[kn(223),kn(7838)],[kn(107),kn(8490)],[kn(229),kn(8491)],[kn(969),kn(8486)]]),bre=new Map([Rs(453),Rs(456),Rs(459),Rs(498),...l2(8072,8079),...l2(8088,8095),...l2(8104,8111),Rs(8124),Rs(8140),Rs(8188)]),yre=new Map([["alnum",et`[\p{Alpha}\p{Nd}]`],["alpha",et`\p{Alpha}`],["ascii",et`\p{ASCII}`],["blank",et`[\p{Zs}\t]`],["cntrl",et`\p{Cc}`],["digit",et`\p{Nd}`],["graph",et`[\P{space}&&\P{Cc}&&\P{Cn}&&\P{Cs}]`],["lower",et`\p{Lower}`],["print",et`[[\P{space}&&\P{Cc}&&\P{Cn}&&\P{Cs}]\p{Zs}]`],["punct",et`[\p{P}\p{S}]`],["space",et`\p{space}`],["upper",et`\p{Upper}`],["word",et`[\p{Alpha}\p{M}\p{Nd}\p{Pc}]`],["xdigit",et`\p{AHex}`]]);function vre(e,t){const n=[];for(let r=e;r<=t;r++)n.push(r);return n}function Rs(e){const t=kn(e);return[t.toLowerCase(),t]}function l2(e,t){return vre(e,t).map(n=>Rs(n))}var nk=new Set(["Lower","Lowercase","Upper","Uppercase","Ll","Lowercase_Letter","Lt","Titlecase_Letter","Lu","Uppercase_Letter"]);function xre(e,t){const n={accuracy:"default",asciiWordBoundaries:!1,avoidSubclass:!1,bestEffortTarget:"ES2025",...t};rk(e);const r={accuracy:n.accuracy,asciiWordBoundaries:n.asciiWordBoundaries,avoidSubclass:n.avoidSubclass,flagDirectivesByAlt:new Map,jsGroupNameMap:new Map,minTargetEs2024:Cb(n.bestEffortTarget,"ES2024"),passedLookbehind:!1,strategy:null,subroutineRefMap:new Map,supportedGNodes:new Set,digitIsAscii:e.flags.digitIsAscii,spaceIsAscii:e.flags.spaceIsAscii,wordIsAscii:e.flags.wordIsAscii};Kc(e,Ere,r);const a={dotAll:e.flags.dotAll,ignoreCase:e.flags.ignoreCase},s={currentFlags:a,prevFlags:null,globalFlags:a,groupOriginByCopy:new Map,groupsByName:new Map,multiplexCapturesToLeftByRef:new Map,openRefs:new Map,reffedNodesByReferencer:new Map,subroutineRefMap:r.subroutineRefMap};Kc(e,_re,s);const o={groupsByName:s.groupsByName,highestOrphanBackref:0,numCapturesToLeft:0,reffedNodesByReferencer:s.reffedNodesByReferencer};return Kc(e,Tre,o),e._originMap=s.groupOriginByCopy,e._strategy=r.strategy,e}var Ere={AbsenceFunction({node:e,parent:t,replaceWith:n}){const{body:r,kind:a}=e;if(a==="repeater"){const s=wa();s.body[0].body.push(So({negate:!0,body:r}),Vl("Any"));const o=wa();o.body[0].body.push(QC("greedy",0,1/0,s)),n(dn(o,t),{traverse:!0})}else throw new Error('Unsupported absence function "(?~|"')},Alternative:{enter({node:e,parent:t,key:n},{flagDirectivesByAlt:r}){const a=e.body.filter(s=>s.kind==="flags");for(let s=n+1;s<t.body.length;s++){const o=t.body[s];
vendor: 23,377 bytes, lines 760-763
760y0(r,o,[]).push(...a)}},exit({node:e},{flagDirectivesByAlt:t}){if(t.get(e)?.length){const n=ik(t.get(e));if(n){const r=wa({flags:n});r.body[0].body=e.body,e.body=[dn(r,e)]}}}},Assertion({node:e,parent:t,key:n,container:r,root:a,remove:s,replaceWith:o},u){const{kind:c,negate:f}=e,{asciiWordBoundaries:p,avoidSubclass:m,supportedGNodes:b,wordIsAscii:y}=u;if(c==="text_segment_boundary")throw new Error(`Unsupported text segment boundary "\\${f?"Y":"y"}"`);if(c==="line_end")o(dn(So({body:[Mo({body:[Tb("string_end")]}),Mo({body:[Sm(10)]})]}),t));else if(c==="line_start")o(dn(Li(et`(?<=\A|\n(?!\z))`,{skipLookbehindValidation:!0}),t));else if(c==="search_start")if(b.has(e))a.flags.sticky=!0,s();else{const _=r[n-1];if(_&&Nre(_))o(dn(So({negate:!0}),t));else{if(m)throw new Error(et`Uses "\G" in a way that requires a subclass`);o(Os(Tb("string_start"),t)),u.strategy="clip_search"}}else if(!(c==="string_end"||c==="string_start"))if(c==="string_end_newline")o(dn(Li(et`(?=\n?\z)`),t));else if(c==="word_boundary"){if(!y&&!p){const _=`(?:(?<=${Ii})(?!${Ii})|(?<!${Ii})(?=${Ii}))`,w=`(?:(?<=${Ii})(?=${Ii})|(?<!${Ii})(?!${Ii}))`;o(dn(Li(f?w:_),t))}}else throw new Error(`Unexpected assertion kind "${c}"`)},Backreference({node:e},{jsGroupNameMap:t}){let{ref:n}=e;typeof n=="string"&&!c2(n)&&(n=u2(n,t),e.ref=n)},CapturingGroup({node:e},{jsGroupNameMap:t,subroutineRefMap:n}){let{name:r}=e;r&&!c2(r)&&(r=u2(r,t),e.name=r),n.set(e.number,e),r&&n.set(r,e)},CharacterClassRange({node:e,parent:t,replaceWith:n}){if(t.kind==="intersection"){const r=Xf({body:[e]});n(dn(r,t),{traverse:!0})}},CharacterSet({node:e,parent:t,replaceWith:n},{accuracy:r,minTargetEs2024:a,digitIsAscii:s,spaceIsAscii:o,wordIsAscii:u}){const{kind:c,negate:f,value:p}=e;if(s&&(c==="digit"||p==="digit")){n(Os(Sb("digit",{negate:f}),t));return}if(o&&(c==="space"||p==="space")){n(dn(d2(Li(hre),f),t));return}if(u&&(c==="word"||p==="word")){n(Os(Sb("word",{negate:f}),t));return}if(c==="any")n(Os(Vl("Any"),t));else if(c==="digit")n(Os(Vl("Nd",{negate:f}),t));else if(c!=="dot")if(c==="text_segment"){if(r==="strict")throw new Error(et`Use of "\X" requires non-strict accuracy`);const m="\\p{Emoji}(?:\\p{EMod}|\\uFE0F\\u20E3?|[\\x{E0020}-\\x{E007E}]+\\x{E007F})?",b=et`\p{RI}{2}|${m}(?:\u200D${m})*`;n(dn(Li(et`(?>\r\n|${a?et`\p{RGI_Emoji}`:b}|\P{M}\p{M}*)`,{skipPropertyNameValidation:!0}),t))}else if(c==="hex")n(Os(Vl("AHex",{negate:f}),t));else if(c==="newline")n(dn(Li(f?`[^
761]`:`(?>\r
762?|[
763\v\f…\u2028\u2029])`),t));else if(c==="posix")if(!a&&(p==="graph"||p==="print")){if(r==="strict")throw new Error(`POSIX class "${p}" requires min target ES2024 or non-strict accuracy`);let m={graph:"!-~",print:" -~"}[p];f&&(m=`\0-${kn(m.codePointAt(0)-1)}${kn(m.codePointAt(2)+1)}-􏿿`),n(dn(Li(`[${m}]`),t))}else n(dn(d2(Li(yre.get(p)),f),t));else if(c==="property")vy.has(Am(p))||(e.key="sc");else if(c==="space")n(Os(Vl("space",{negate:f}),t));else if(c==="word")n(dn(d2(Li(Ii),f),t));else throw new Error(`Unexpected character set kind "${c}"`)},Directive({node:e,parent:t,root:n,remove:r,replaceWith:a,removeAllPrevSiblings:s,removeAllNextSiblings:o}){const{kind:u,flags:c}=e;if(u==="flags")if(!c.enable&&!c.disable)r();else{const f=wa({flags:c});f.body[0].body=o(),a(dn(f,t),{traverse:!0})}else if(u==="keep"){const f=n.body[0],m=n.body.length===1&&VC(f,{type:"Group"})&&f.body[0].body.length===1?f.body[0]:n;if(t.parent!==m||m.body.length>1)throw new Error(et`Uses "\K" in a way that's unsupported`);const b=So({behind:!0});b.body[0].body=s(),a(dn(b,t))}else throw new Error(`Unexpected directive kind "${u}"`)},Flags({node:e,parent:t}){if(e.posixIsAscii)throw new Error('Unsupported flag "P"');if(e.textSegmentMode==="word")throw new Error('Unsupported flag "y{w}"');["digitIsAscii","extended","posixIsAscii","spaceIsAscii","wordIsAscii","textSegmentMode"].forEach(n=>delete e[n]),Object.assign(e,{global:!1,hasIndices:!1,multiline:!1,sticky:e.sticky??!1}),t.options={disable:{x:!0,n:!0},force:{v:!0}}},Group({node:e}){if(!e.flags)return;const{enable:t,disable:n}=e.flags;t?.extended&&delete t.extended,n?.extended&&delete n.extended,t?.dotAll&&n?.dotAll&&delete t.dotAll,t?.ignoreCase&&n?.ignoreCase&&delete t.ignoreCase,t&&!Object.keys(t).length&&delete e.flags.enable,n&&!Object.keys(n).length&&delete e.flags.disable,!e.flags.enable&&!e.flags.disable&&delete e.flags},LookaroundAssertion({node:e},t){const{kind:n}=e;n==="lookbehind"&&(t.passedLookbehind=!0)},NamedCallout({node:e,parent:t,replaceWith:n}){const{kind:r}=e;if(r==="fail")n(dn(So({negate:!0}),t));else throw new Error(`Unsupported named callout "(*${r.toUpperCase()}"`)},Quantifier({node:e}){if(e.body.type==="Quantifier"){const t=wa();t.body[0].body.push(e.body),e.body=dn(t,e)}},Regex:{enter({node:e},{supportedGNodes:t}){const n=[];let r=!1,a=!1;for(const s of e.body)if(s.body.length===1&&s.body[0].kind==="search_start")s.body.pop();else{const o=ok(s.body);o?(r=!0,Array.isArray(o)?n.push(...o):n.push(o)):a=!0}r&&!a&&n.forEach(s=>t.add(s))},exit(e,{accuracy:t,passedLookbehind:n,strategy:r}){if(t==="strict"&&n&&r)throw new Error(et`Uses "\G" in a way that requires non-strict accuracy`)}},Subroutine({node:e},{jsGroupNameMap:t}){let{ref:n}=e;typeof n=="string"&&!c2(n)&&(n=u2(n,t),e.ref=n)}},_re={Backreference({node:e},{multiplexCapturesToLeftByRef:t,reffedNodesByReferencer:n}){const{orphan:r,ref:a}=e;r||n.set(e,[...t.get(a).map(({node:s})=>s)])},CapturingGroup:{enter({node:e,parent:t,replaceWith:n,skip:r},{groupOriginByCopy:a,groupsByName:s,multiplexCapturesToLeftByRef:o,openRefs:u,reffedNodesByReferencer:c}){const f=a.get(e);if(f&&u.has(e.number)){const m=Os(D7(e.number),t);c.set(m,u.get(e.number)),n(m);return}u.set(e.number,e),o.set(e.number,[]),e.name&&y0(o,e.name,[]);const p=o.get(e.name??e.number);for(let m=0;m<p.length;m++){const b=p[m];if(f===b.node||f&&f===b.origin||e===b.origin){p.splice(m,1);break}}if(o.get(e.number).push({node:e,origin:f}),e.name&&o.get(e.name).push({node:e,origin:f}),e.name){const m=y0(s,e.name,new Map);let b=!1;if(f)b=!0;else for(const y of m.values())if(!y.hasDuplicateNameToRemove){b=!0;break}s.get(e.name).set(e,{node:e,hasDuplicateNameToRemove:b})}},exit({node:e},{openRefs:t}){t.delete(e.number)}},Group:{enter({node:e},t){t.prevFlags=t.currentFlags,e.flags&&(t.currentFlags=Nh(t.currentFlags,e.flags))},exit(e,t){t.currentFlags=t.prevFlags}},Subroutine({node:e,parent:t,replaceWith:n},r){const{isRecursive:a,ref:s}=e;if(a){let p=t;for(;(p=p.parent)&&!(p.type==="CapturingGroup"&&(p.name===s||p.number===s)););r.reffedNodesByReferencer.set(e,p);return}const o=r.subroutineRefMap.get(s),u=s===0,c=u?D7(0):ak(o,r.groupOriginByCopy,null);let f=c;if(!u){const p=ik(Are(o,b=>b.type==="Group"&&!!b.flags)),m=p?Nh(r.globalFlags,p):r.globalFlags;wre(m,r.currentFlags)||(f=wa({flags:Cre(m)}),f.body[0].body.push(c))}n(dn(f,t),{traverse:!u})}},Tre={Backreference({node:e,parent:t,replaceWith:n},r){if(e.orphan){r.highestOrphanBackref=Math.max(r.highestOrphanBackref,e.ref);return}const s=r.reffedNodesByReferencer.get(e).filter(o=>Sre(o,e));if(!s.length)n(dn(So({negate:!0}),t));else if(s.length>1){const o=wa({atomic:!0,body:s.reverse().map(u=>Mo({body:[wb(u.number)]}))});n(dn(o,t))}else e.ref=s[0].number},CapturingGroup({node:e},t){e.number=++t.numCapturesToLeft,e.name&&t.groupsByName.get(e.name).get(e).hasDuplicateNameToRemove&&delete e.name},Regex:{exit({node:e},t){const n=Math.max(t.highestOrphanBackref-t.numCapturesToLeft,0);for(let r=0;r<n;r++){const a=YC();e.body.at(-1).body.push(a)}}},Subroutine({node:e},t){!e.isRecursive||e.ref===0||(e.ref=t.reffedNodesByReferencer.get(e).number)}};function rk(e){Kc(e,{"*"({node:t,parent:n}){t.parent=n}})}function wre(e,t){return e.dotAll===t.dotAll&&e.ignoreCase===t.ignoreCase}function Sre(e,t){let n=t;do{if(n.type==="Regex")return!1;if(n.type==="Alternative")continue;if(n===e)return!1;const r=sk(n.parent);for(const a of r){if(a===n)break;if(a===e||lk(a,e))return!0}}while(n=n.parent);throw new Error("Unexpected path")}function ak(e,t,n,r){const a=Array.isArray(e)?[]:{};for(const[s,o]of Object.entries(e))s==="parent"?a.parent=Array.isArray(n)?r:n:o&&typeof o=="object"?a[s]=ak(o,t,a,n):(s==="type"&&o==="CapturingGroup"&&t.set(a,t.get(e)??e),a[s]=o);return a}function D7(e){const t=WC(e);return t.isRecursive=!0,t}function Are(e,t){const n=[];for(;e=e.parent;)(!t||t(e))&&n.push(e);return n}function u2(e,t){if(t.has(e))return t.get(e);const n=`$${t.size}_${e.replace(/^[^$_\p{IDS}]|[^$\u200C\u200D\p{IDC}]/ug,"_")}`;return t.set(e,n),n}function ik(e){const t=["dotAll","ignoreCase"],n={enable:{},disable:{}};return e.forEach(({flags:r})=>{t.forEach(a=>{r.enable?.[a]&&(delete n.disable[a],n.enable[a]=!0),r.disable?.[a]&&(n.disable[a]=!0)})}),Object.keys(n.enable).length||delete n.enable,Object.keys(n.disable).length||delete n.disable,n.enable||n.disable?n:null}function Cre({dotAll:e,ignoreCase:t}){const n={};return(e||t)&&(n.enable={},e&&(n.enable.dotAll=!0),t&&(n.enable.ignoreCase=!0)),(!e||!t)&&(n.disable={},!e&&(n.disable.dotAll=!0),!t&&(n.disable.ignoreCase=!0)),n}function sk(e){if(!e)throw new Error("Node expected");const{body:t}=e;return Array.isArray(t)?t:t?[t]:null}function ok(e){const t=e.find(n=>n.kind==="search_start"||Rre(n,{negate:!1})||!kre(n));if(!t)return null;if(t.kind==="search_start")return t;if(t.type==="LookaroundAssertion")return t.body[0].body[0];if(t.type==="CapturingGroup"||t.type==="Group"){const n=[];for(const r of t.body){const a=ok(r.body);if(!a)return null;Array.isArray(a)?n.push(...a):n.push(a)}return n}return null}function lk(e,t){const n=sk(e)??[];for(const r of n)if(r===t||lk(r,t))return!0;return!1}function kre({type:e}){return e==="Assertion"||e==="Directive"||e==="LookaroundAssertion"}function Nre(e){const t=["Character","CharacterClass","CharacterSet"];return t.includes(e.type)||e.type==="Quantifier"&&e.min&&t.includes(e.body.type)}function Rre(e,t){const n={negate:null,...t};return e.type==="LookaroundAssertion"&&(n.negate===null||e.negate===n.negate)&&e.body.length===1&&VC(e.body[0],{type:"Assertion",kind:"search_start"})}function c2(e){return/^[$_\p{IDS}][$\u200C\u200D\p{IDC}]*$/u.test(e)}function Li(e,t){const r=GC(e,{...t,unicodePropertyMap:vy}).body;return r.length>1||r[0].body.length>1?wa({body:r}):r[0].body[0]}function d2(e,t){return e.negate=t,e}function Os(e,t){return e.parent=t,e}function dn(e,t){return rk(e),e.parent=t,e}function Ore(e,t){const n=ek(t),r=Cb(n.target,"ES2024"),a=Cb(n.target,"ES2025"),s=n.rules.recursionLimit;if(!Number.isInteger(s)||s<2||s>20)throw new Error("Invalid recursionLimit; use 2-20");let o=null,u=null;if(!a){const y=[e.flags.ignoreCase];Kc(e,Dre,{getCurrentModI:()=>y.at(-1),popModI(){y.pop()},pushModI(_){y.push(_)},setHasCasedChar(){y.at(-1)?o=!0:u=!0}})}const c={dotAll:e.flags.dotAll,ignoreCase:!!((e.flags.ignoreCase||o)&&!u)};let f=e;const p={accuracy:n.accuracy,appliedGlobalFlags:c,captureMap:new Map,currentFlags:{dotAll:e.flags.dotAll,ignoreCase:e.flags.ignoreCase},inCharClass:!1,lastNode:f,originMap:e._originMap,recursionLimit:s,useAppliedIgnoreCase:!!(!a&&o&&u),useFlagMods:a,useFlagV:r,verbose:n.verbose};function m(y){return p.lastNode=f,f=y,dre(Ire[y.type],`Unexpected node type "${y.type}"`)(y,p,m)}const b={pattern:e.body.map(m).join("|"),flags:m(e.flags),options:{...e.options}};return r||(delete b.options.force.v,b.options.disable.v=!0,b.options.unicodeSetsPlugin=null),b._captureTransfers=new Map,b._hiddenCaptures=[],p.captureMap.forEach((y,_)=>{y.hidden&&b._hiddenCaptures.push(_),y.transferTo&&y0(b._captureTransfers,y.transferTo,[]).push(_)}),b}var Dre={"*":{enter({node:e},t){if(L7(e)){const n=t.getCurrentModI();t.pushModI(e.flags?Nh({ignoreCase:n},e.flags).ignoreCase:n)}},exit({node:e},t){L7(e)&&t.popModI()}},Backreference(e,t){t.setHasCasedChar()},Character({node:e},t){xy(kn(e.value))&&t.setHasCasedChar()},CharacterClassRange({node:e,skip:t},n){t(),uk(e,{firstOnly:!0}).length&&n.setHasCasedChar()},CharacterSet({node:e},t){e.kind==="property"&&nk.has(e.value)&&t.setHasCasedChar()}},Ire={Alternative({body:e},t,n){return e.map(n).join("")},Assertion({kind:e,negate:t}){if(e==="string_end")return"$";if(e==="string_start")return"^";if(e==="word_boundary")return t?et`\B`:et`\b`;throw new Error(`Unexpected assertion kind "${e}"`)},Backreference({ref:e},t){if(typeof e!="number")throw new Error("Unexpected named backref in transformed AST");if(!t.useFlagMods&&t.accuracy==="strict"&&t.currentFlags.ignoreCase&&!t.captureMap.get(e).ignoreCase)throw new Error("Use of case-insensitive backref to case-sensitive group requires target ES2025 or non-strict accuracy");return"\\"+e},CapturingGroup(e,t,n){const{body:r,name:a,number:s}=e,o={ignoreCase:t.currentFlags.ignoreCase},u=t.originMap.get(e);return u&&(o.hidden=!0,s>u.number&&(o.transferTo=u.number)),t.captureMap.set(s,o),`(${a?`?<${a}>`:""}${r.map(n).join("|")})`},Character({value:e},t){const n=kn(e),r=Ul(e,{escDigit:t.lastNode.type==="Backreference",inCharClass:t.inCharClass,useFlagV:t.useFlagV});if(r!==n)return r;if(t.useAppliedIgnoreCase&&t.currentFlags.ignoreCase&&xy(n)){const a=tk(n);return t.inCharClass?a.join(""):a.length>1?`[${a.join("")}]`:a[0]}return n},CharacterClass(e,t,n){const{kind:r,negate:a,parent:s}=e;let{body:o}=e;if(r==="intersection"&&!t.useFlagV)throw new Error("Use of class intersection requires min target ES2024");Fi.bugFlagVLiteralHyphenIsRange&&t.useFlagV&&o.some(M7)&&(o=[Sm(45),...o.filter(f=>!M7(f))]);const u=()=>`[${a?"^":""}${o.map(n).join(r==="intersection"?"&&":"")}]`;if(!t.inCharClass){if((!t.useFlagV||Fi.bugNestedClassIgnoresNegation)&&!a){const p=o.filter(m=>m.type==="CharacterClass"&&m.kind==="union"&&m.negate);if(p.length){const m=wa(),b=m.body[0];return m.parent=s,b.parent=m,o=o.filter(y=>!p.includes(y)),e.body=o,o.length?(e.parent=b,b.body.push(e)):m.body.pop(),p.forEach(y=>{const _=Mo({body:[y]});y.parent=_,_.parent=m,m.body.push(_)}),n(m)}}t.inCharClass=!0;const f=u();return t.inCharClass=!1,f}const c=o[0];if(r==="union"&&!a&&c&&((!t.useFlagV||!t.verbose)&&s.kind==="union"&&!(Fi.bugFlagVLiteralHyphenIsRange&&t.useFlagV)||!t.verbose&&s.kind==="intersection"&&o.length===1&&c.type!=="CharacterClassRange"))return o.map(n).join("");if(!t.useFlagV&&s.type==="CharacterClass")throw new Error("Use of nested character class requires min target ES2024");return u()},CharacterClassRange(e,t){const n=e.min.value,r=e.max.value,a={escDigit:!1,inCharClass:!0,useFlagV:t.useFlagV},s=Ul(n,a),o=Ul(r,a),u=new Set;if(t.useAppliedIgnoreCase&&t.currentFlags.ignoreCase){const c=uk(e);zre(c).forEach(p=>{u.add(Array.isArray(p)?`${Ul(p[0],a)}-${Ul(p[1],a)}`:Ul(p,a))})}return`${s}-${o}${[...u].join("")}`},CharacterSet({kind:e,negate:t,value:n,key:r},a){if(e==="dot")return a.currentFlags.dotAll?a.appliedGlobalFlags.dotAll||a.useFlagMods?".":"[^]":et`[^\n]`;if(e==="digit")return t?et`\D`:et`\d`;if(e==="property"){if(a.useAppliedIgnoreCase&&a.currentFlags.ignoreCase&&nk.has(n))throw new Error(`Unicode property "${n}" can't be case-insensitive when other chars have specific case`);return`${t?et`\P`:et`\p`}{${r?`${r}=`:""}${n}}`}if(e==="word")return t?et`\W`:et`\w`;throw new Error(`Unexpected character set kind "${e}"`)},Flags(e,t){return(t.appliedGlobalFlags.ignoreCase?"i":"")+(e.dotAll?"s":"")+(e.sticky?"y":"")},Group({atomic:e,body:t,flags:n,parent:r},a,s){const o=a.currentFlags;n&&(a.currentFlags=Nh(o,n));const u=t.map(s).join("|"),c=!a.verbose&&t.length===1&&r.type!=="Quantifier"&&!e&&(!a.useFlagMods||!n)?u:`(?${Hre(e,n,a.useFlagMods)}${u})`;return a.currentFlags=o,c},LookaroundAssertion({body:e,kind:t,negate:n},r,a){return`(?${`${t==="lookahead"?"":"<"}${n?"!":"="}`}${e.map(a).join("|")})`},Quantifier(e,t,n){return n(e.body)+jre(e)},Subroutine({isRecursive:e,ref:t},n){if(!e)throw new Error("Unexpected non-recursive subroutine in transformed AST");const r=n.recursionLimit;return t===0?`(?R=${r})`:et`\g<${t}&R=${r}>`}},Lre=new Set(["$","(",")","*","+",".","?","[","\\","]","^","{","|","}"]),Mre=new Set(["-","\\","]","^","["]),Pre=new Set(["(",")","-","/","[","\\","]","^","{","|","}","!","#","$","%","&","*","+",",",".",":",";","<","=",">","?","@","`","~"]),I7=new Map([[9,et`\t`],[10,et`\n`],[11,et`\v`],[12,et`\f`],[13,et`\r`],[8232,et`\u2028`],[8233,et`\u2029`],[65279,et`\uFEFF`]]),Bre=new RegExp("^\\p{Cased}$","u");function xy(e){return Bre.test(e)}function uk(e,t){const n=!!t?.firstOnly,r=e.min.value,a=e.max.value,s=[];if(r<65&&(a===65535||a>=131071)||r===65536&&a>=131071)return s;for(let o=r;o<=a;o++){const u=kn(o);if(!xy(u))continue;const c=tk(u).filter(f=>{const p=f.codePointAt(0);return p<r||p>a});if(c.length&&(s.push(...c),n))break}return s}function Ul(e,{escDigit:t,inCharClass:n,useFlagV:r}){if(I7.has(e))return I7.get(e);if(e<32||e>126&&e<160||e>262143||t&&Fre(e))return e>255?`\\u{${e.toString(16).toUpperCase()}}`:`\\x${e.toString(16).toUpperCase().padStart(2,"0")}`;const a=n?r?Pre:Mre:Lre,s=kn(e);return(a.has(s)?"\\":"")+s}function zre(e){const t=e.map(a=>a.codePointAt(0)).sort((a,s)=>a-s),n=[];let r=null;for(let a=0;a<t.length;a++)t[a+1]===t[a]+1?r??=t[a]:r===null?n.push(t[a]):(n.push([r,t[a]]),r=null);return n}function Hre(e,t,n){if(e)return">";let r="";if(t&&n){const{enable:a,disable:s}=t;r=(a?.ignoreCase?"i":"")+(a?.dotAll?"s":"")+(s?"-":"")+(s?.ignoreCase?"i":"")+(s?.dotAll?"s":"")}return`${r}:`}function jre({kind:e,max:t,min:n}){let r;return!n&&t===1?r="?":!n&&t===1/0?r="*":n===1&&t===1/0?r="+":n===t?r=`{${n}}`:r=`{${n},${t===1/0?"":t}}`,r+{greedy:"",lazy:"?",possessive:"+"}[e]}function L7({type:e}){return e==="CapturingGroup"||e==="Group"||e==="LookaroundAssertion"}function Fre(e){return e>47&&e<58}function M7({type:e,value:t}){return e==="Character"&&t===45}var Ure=class kb extends RegExp{#t=new Map;#e=null;#n;#r=null;#a=null;rawOptions={};get source(){return this.#n||"(?:)"}constructor(t,n,r){const a=!!r?.lazyCompile;if(t instanceof RegExp){if(r)throw new Error("Cannot provide options when copying a regexp");const s=t;super(s,n),this.#n=s.source,s instanceof kb&&(this.#t=s.#t,this.#r=s.#r,this.#a=s.#a,this.rawOptions=s.rawOptions)}else{const s={hiddenCaptures:[],strategy:null,transfers:[],...r};super(a?"":t,n),this.#n=t,this.#t=$re(s.hiddenCaptures,s.transfers),this.#a=s.strategy,this.rawOptions=r??{}}a||(this.#e=this)}exec(t){if(!this.#e){const{lazyCompile:a,...s}=this.rawOptions;this.#e=new kb(this.#n,this.flags,s)}const n=this.global||this.sticky,r=this.lastIndex;if(this.#a==="clip_search"&&n&&r){this.lastIndex=0;const a=this.#i(t.slice(r));return a&&(qre(a,r,t,this.hasIndices),this.lastIndex+=r),a}return this.#i(t)}#i(t){this.#e.lastIndex=this.lastIndex;const n=super.exec.call(this.#e,t);if(this.lastIndex=this.#e.lastIndex,!n||!this.#t.size)return n;const r=[...n];n.length=1;let a;this.hasIndices&&(a=[...n.indices],n.indices.length=1);const s=[0];for(let o=1;o<r.length;o++){const{hidden:u,transferTo:c}=this.#t.get(o)??{};if(u?s.push(null):(s.push(n.length),n.push(r[o]),this.hasIndices&&n.indices.push(a[o])),c&&r[o]!==void 0){const f=s[c];if(!f)throw new Error(`Invalid capture transfer to "${f}"`);if(n[f]=r[o],this.hasIndices&&(n.indices[f]=a[o]),n.groups){this.#r||(this.#r=Vre(this.source));const p=this.#r.get(c);p&&(n.groups[p]=r[o],this.hasIndices&&(n.indices.groups[p]=a[o]))}}}return n}};function qre(e,t,n,r){if(e.index+=t,e.input=n,r){const a=e.indices;for(let o=0;o<a.length;o++){const u=a[o];u&&(a[o]=[u[0]+t,u[1]+t])}const s=a.groups;s&&Object.keys(s).forEach(o=>{const u=s[o];u&&(s[o]=[u[0]+t,u[1]+t])})}}function $re(e,t){const n=new Map;for(const r of e)n.set(r,{hidden:!0});for(const[r,a]of t)for(const s of a)y0(n,s,{}).transferTo=r;return n}function Vre(e){const t=/(?<capture>\((?:\?<(?![=!])(?<name>[^>]+)>|(?!\?)))|\\?./gsu,n=new Map;let r=0,a=0,s;for(;s=t.exec(e);){const{0:o,groups:{capture:u,name:c}}=s;o==="["?r++:r?o==="]"&&r--:u&&(a++,c&&n.set(a,c))}return n}function Gre(e,t){const n=Yre(e,t);return n.options?new Ure(n.pattern,n.flags,n.options):new RegExp(n.pattern,n.flags)}function Yre(e,t){const n=ek(t),r=GC(e,{flags:n.flags,normalizeUnknownPropertyNames:!0,rules:{captureGroup:n.rules.captureGroup,singleline:n.rules.singleline},skipBackrefValidation:n.rules.allowOrphanBackrefs,unicodePropertyMap:vy}),a=xre(r,{accuracy:n.accuracy,asciiWordBoundaries:n.rules.asciiWordBoundaries,avoidSubclass:n.avoidSubclass,bestEffortTarget:n.target}),s=Ore(a,n),o=ure(s.pattern,{captureTransfers:s._captureTransfers,hiddenCaptures:s._hiddenCaptures,mode:"external"}),u=ore(o.pattern),c=sre(u.pattern,{captureTransfers:o.captureTransfers,hiddenCaptures:o.hiddenCaptures}),f={pattern:c.pattern,flags:`${n.hasIndices?"d":""}${n.global?"g":""}${s.flags}${s.options.disable.v?"u":"v"}`};if(n.avoidSubclass){if(n.lazyCompileLength!==1/0)throw new Error("Lazy compilation requires subclass")}else{const p=c.hiddenCaptures.sort((_,w)=>_-w),m=Array.from(c.captureTransfers),b=a._strategy,y=f.pattern.length>=n.lazyCompileLength;(p.length||m.length||b||y)&&(f.options={...p.length&&{hiddenCaptures:p},...m.length&&{transfers:m},...b&&{strategy:b},...y&&{lazyCompile:y}})}return f}const P7=4294967295;class Qre{constructor(t,n={}){this.patterns=t,this.options=n;const{forgiving:r=!1,cache:a,regexConstructor:s}=n;if(!s)throw new Error("Option `regexConstructor` is not provided");this.regexps=t.map(o=>{if(typeof o!="string")return o;const u=a?.get(o);if(u){if(u instanceof RegExp)return u;if(r)return null;throw u}try{const c=s(o);return a?.set(o,c),c}catch(c){if(a?.set(o,c),r)return null;throw c}})}regexps;findNextMatchSync(t,n,r){const a=typeof t=="string"?t:t.content,s=[];function o(u,c,f=0){return{index:u,captureIndices:c.indices.map(p=>p==null?{start:P7,end:P7,length:0}:{start:p[0]+f,end:p[1]+f,length:p[1]-p[0]})}}for(let u=0;u<this.regexps.length;u++){const c=this.regexps[u];if(c)try{c.lastIndex=n;const f=c.exec(a);if(!f)continue;if(f.index===n)return o(u,f,0);s.push([u,f,0])}catch(f){if(this.options.forgiving)continue;throw f}}if(s.length){const u=Math.min(...s.map(c=>c[1].index));for(const[c,f,p]of s)if(f.index===u)return o(c,f,p)}return null}}function Wre(e,t){return Gre(e,{global:!0,hasIndices:!0,lazyCompileLength:3e3,rules:{allowOrphanBackrefs:!0,asciiWordBoundaries:!0,captureGroup:!0,recursionLimit:5,singleline:!0},...t})}function Xre(e={}){const t=Object.assign({target:"auto",cache:new Map},e);return t.regexConstructor||=n=>Wre(n,{target:t.target}),{createScanner(n){return new Qre(n,t)},createString(n){return{content:n}}}}function Ey(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var Vo=Ey();function ck(e){Vo=e}var Zc={exec:()=>null};function Tt(e,t=""){let n=typeof e=="string"?e:e.source,r={replace:(a,s)=>{let o=typeof s=="string"?s:s.source;return o=o.replace(cr.caret,"$1"),n=n.replace(a,o),r},getRegex:()=>new RegExp(n,t)};return r}var cr={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine
vendor: 6,585 bytes, lines 763-764
763:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>new RegExp(`^( {0,3}${e})((?:[	 ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ 	][^\\n]*)?(?:\\n|$))`),hrRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}#`),htmlBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}<(?:[a-z].*>|!--)`,"i")},Kre=/^(?:[ \t]*(?:\n|$))+/,Zre=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Jre=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,H0=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,eae=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,_y=/(?:[*+-]|\d{1,9}[.)])/,dk=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,fk=Tt(dk).replace(/bull/g,_y).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),tae=Tt(dk).replace(/bull/g,_y).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),Ty=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,nae=/^[^\n]+/,wy=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,rae=Tt(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",wy).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),aae=Tt(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,_y).getRegex(),km="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|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",Sy=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,iae=Tt("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ 	]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ 	]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ 	]*)+\\n|$))","i").replace("comment",Sy).replace("tag",km).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),hk=Tt(Ty).replace("hr",H0).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",km).getRegex(),sae=Tt(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",hk).getRegex(),Ay={blockquote:sae,code:Zre,def:rae,fences:Jre,heading:eae,hr:H0,html:iae,lheading:fk,list:aae,newline:Kre,paragraph:hk,table:Zc,text:nae},B7=Tt("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",H0).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3}	)[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",km).getRegex(),oae={...Ay,lheading:tae,table:B7,paragraph:Tt(Ty).replace("hr",H0).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",B7).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",km).getRegex()},lae={...Ay,html:Tt(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",Sy).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:Zc,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Tt(Ty).replace("hr",H0).replace("heading",` *#{1,6} *[^
764]`).replace("lheading",fk).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},uae=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,cae=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,mk=/^( {2,}|\\)\n(?!\s*$)/,dae=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,Nm=/[\p{P}\p{S}]/u,Cy=/[\s\p{P}\p{S}]/u,pk=/[^\s\p{P}\p{S}]/u,fae=Tt(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,Cy).getRegex(),gk=/(?!~)[\p{P}\p{S}]/u,hae=/(?!~)[\s\p{P}\p{S}]/u,mae=/(?:[^\s\p{P}\p{S}
764]|~)/u,pae=Tt(/link|code|html/,"g").replace("link",new RegExp("\\[(?:[^\\[\\]`]|(?<!`)(?<a>`+)[^`]+\\k<a>(?!`))*?\\]\\((?:\\\\[\\s\\S]|[^\\\\\\(\\)]|\\((?:\\\\[\\s\\S]|[^\\\\\\(\\)])*\\))*\\)")).replace("code",new RegExp("(?<!`)(?<b>`+)[^`]+\\k<b>(?!`)")).replace("html",/<(?! )[^<>]*?>/).getRegex(),bk=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,gae=Tt(bk,"u").replace(/punct/g,Nm).getRegex(),bae=Tt(bk,"u").replace(/punct/g,gk).getRegex(),yk="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",yae=Tt(yk,"gu").replace(/notPunctSpace/g,pk).replace(/punctSpace/g,Cy).replace(/punct/g,Nm).getRegex(),vae=Tt(yk,"gu").replace(/notPunctSpace/g,mae).replace(/punctSpace/g,hae).replace(/punct/g,gk).getRegex(),xae=Tt("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,pk).replace(/punctSpace/g,Cy).replace(/punct/g,Nm).getRegex(),Eae=Tt(/\\(punct)/,"gu").replace(/punct/g,Nm).getRegex(),_ae=Tt(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),Tae=Tt(Sy).replace("(?:-->|$)","-->").getRegex(),wae=Tt("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",Tae).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Rh=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/,Sae=Tt(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",Rh).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),vk=Tt(/^!?\[(label)\]\[(ref)\]/).replace("label",Rh).replace("ref",wy).getRegex(),xk=Tt(/^!?\[(ref)\](?:\[\])?/).replace("ref",wy).getRegex(),Aae=Tt("reflink|nolink(?!\\()","g").replace("reflink",vk).replace("nolink",xk).getRegex(),z7=/[h
vendor: 4,911 bytes, lines 764-779
764H][tT][tT][pP][sS]?|[fF][tT][pP]/,ky={_backpedal:Zc,anyPunctuation:Eae,autolink:_ae,blockSkip:pae,br:mk,code:cae,del:Zc,emStrongLDelim:gae,emStrongRDelimAst:yae,emStrongRDelimUnd:xae,escape:uae,link:Sae,nolink:xk,punctuation:fae,reflink:vk,reflinkSearch:Aae,tag:wae,text:dae,url:Zc},Cae={...ky,link:Tt(/^!?\[(label)\]\((.*?)\)/).replace("label",Rh).getRegex(),reflink:Tt(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Rh).getRegex()},Nb={...ky,emStrongRDelimAst:vae,emStrongLDelim:bae,url:Tt(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",z7).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:Tt(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",z7).getRegex()},kae={...Nb,br:Tt(mk).replace("{2,}","*").getRegex(),text:Tt(Nb.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},Mf={normal:Ay,gfm:oae,pedantic:lae},kc={normal:ky,gfm:Nb,breaks:kae,pedantic:Cae},Nae={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},H7=e=>Nae[e];function Va(e,t){if(t){if(cr.escapeTest.test(e))return e.replace(cr.escapeReplace,H7)}else if(cr.escapeTestNoEncode.test(e))return e.replace(cr.escapeReplaceNoEncode,H7);return e}function j7(e){try{e=encodeURI(e).replace(cr.percentDecode,"%")}catch{return null}return e}function F7(e,t){let n=e.replace(cr.findPipe,(s,o,u)=>{let c=!1,f=o;for(;--f>=0&&u[f]==="\\";)c=!c;return c?"|":" |"}),r=n.split(cr.splitPipe),a=0;if(r[0].trim()||r.shift(),r.length>0&&!r.at(-1)?.trim()&&r.pop(),t)if(r.length>t)r.splice(t);else for(;r.length<t;)r.push("");for(;a<r.length;a++)r[a]=r[a].trim().replace(cr.slashPipe,"|");return r}function Nc(e,t,n){let r=e.length;if(r===0)return"";let a=0;for(;a<r&&e.charAt(r-a-1)===t;)a++;return e.slice(0,r-a)}function Rae(e,t){if(e.indexOf(t[1])===-1)return-1;let n=0;for(let r=0;r<e.length;r++)if(e[r]==="\\")r++;else if(e[r]===t[0])n++;else if(e[r]===t[1]&&(n--,n<0))return r;return n>0?-2:-1}function U7(e,t,n,r,a){let s=t.href,o=t.title||null,u=e[1].replace(a.other.outputLinkReplace,"$1");r.state.inLink=!0;let c={type:e[0].charAt(0)==="!"?"image":"link",raw:n,href:s,title:o,text:u,tokens:r.inlineTokens(u)};return r.state.inLink=!1,c}function Oae(e,t,n){let r=e.match(n.other.indentCodeCompensation);if(r===null)return t;let a=r[1];return t.split(`
765`).map(s=>{let o=s.match(n.other.beginningSpace);if(o===null)return s;let[u]=o;return u.length>=a.length?s.slice(a.length):s}).join(`
766`)}var Oh=class{options;rules;lexer;constructor(e){this.options=e||Vo}space(e){let t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let n=t[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?n:Nc(n,`
767`)}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let n=t[0],r=Oae(n,t[3]||"",this.rules);return{type:"code",raw:n,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:r}}}heading(e){let t=this.rules.block.heading.exec(e);if(t){let n=t[2].trim();if(this.rules.other.endingHash.test(n)){let r=Nc(n,"#");(this.options.pedantic||!r||this.rules.other.endingSpaceChar.test(r))&&(n=r.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:n,tokens:this.lexer.inline(n)}}}hr(e){let t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:Nc(t[0],`
768`)}}blockquote(e){let t=this.rules.block.blockquote.exec(e);if(t){let n=Nc(t[0],`
769`).split(`
770`),r="",a="",s=[];for(;n.length>0;){let o=!1,u=[],c;for(c=0;c<n.length;c++)if(this.rules.other.blockquoteStart.test(n[c]))u.push(n[c]),o=!0;else if(!o)u.push(n[c]);else break;n=n.slice(c);let f=u.join(`
771`),p=f.replace(this.rules.other.blockquoteSetextReplace,`
772    $1`).replace(this.rules.other.blockquoteSetextReplace2,"");r=r?`${r}
773${f}`:f,a=a?`${a}
774${p}`:p;let m=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(p,s,!0),this.lexer.state.top=m,n.length===0)break;let b=s.at(-1);if(b?.type==="code")break;if(b?.type==="blockquote"){let y=b,_=y.raw+`
775`+n.join(`
776`),w=this.blockquote(_);s[s.length-1]=w,r=r.substring(0,r.length-y.raw.length)+w.raw,a=a.substring(0,a.length-y.text.length)+w.text;break}else if(b?.type==="list"){let y=b,_=y.raw+`
777`+n.join(`
778`),w=this.list(_);s[s.length-1]=w,r=r.substring(0,r.length-b.raw.length)+w.raw,a=a.substring(0,a.length-y.raw.length)+w.raw,n=_.substring(s.at(-1).raw.length).split(`
779`);continue}}return{type:"blockquote",raw:r,tokens:s,text:a}}}list(e){let t=this.rules.block.list.exec(e);
vendor: 4,776 bytes, lines 779-788
779if(t){let n=t[1].trim(),r=n.length>1,a={type:"list",raw:"",ordered:r,start:r?+n.slice(0,-1):"",loose:!1,items:[]};n=r?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=r?n:"[*+-]");let s=this.rules.other.listItemRegex(n),o=!1;for(;e;){let c=!1,f="",p="";if(!(t=s.exec(e))||this.rules.block.hr.test(e))break;f=t[0],e=e.substring(f.length);let m=t[2].split(`
780`,1)[0].replace(this.rules.other.listReplaceTabs,A=>" ".repeat(3*A.length)),b=e.split(`
781`,1)[0],y=!m.trim(),_=0;if(this.options.pedantic?(_=2,p=m.trimStart()):y?_=t[1].length+1:(_=t[2].search(this.rules.other.nonSpaceChar),_=_>4?1:_,p=m.slice(_),_+=t[1].length),y&&this.rules.other.blankLine.test(b)&&(f+=b+`
782`,e=e.substring(b.length+1),c=!0),!c){let A=this.rules.other.nextBulletRegex(_),R=this.rules.other.hrRegex(_),D=this.rules.other.fencesBeginRegex(_),F=this.rules.other.headingBeginRegex(_),H=this.rules.other.htmlBeginRegex(_);for(;e;){let P=e.split(`
783`,1)[0],z;if(b=P,this.options.pedantic?(b=b.replace(this.rules.other.listReplaceNesting,"  "),z=b):z=b.replace(this.rules.other.tabCharGlobal,"    "),D.test(b)||F.test(b)||H.test(b)||A.test(b)||R.test(b))break;if(z.search(this.rules.other.nonSpaceChar)>=_||!b.trim())p+=`
784`+z.slice(_);else{if(y||m.replace(this.rules.other.tabCharGlobal,"    ").search(this.rules.other.nonSpaceChar)>=4||D.test(m)||F.test(m)||R.test(m))break;p+=`
785`+b}!y&&!b.trim()&&(y=!0),f+=P+`
786`,e=e.substring(P.length+1),m=z.slice(_)}}a.loose||(o?a.loose=!0:this.rules.other.doubleBlankLine.test(f)&&(o=!0));let w=null,k;this.options.gfm&&(w=this.rules.other.listIsTask.exec(p),w&&(k=w[0]!=="[ ] ",p=p.replace(this.rules.other.listReplaceTask,""))),a.items.push({type:"list_item",raw:f,task:!!w,checked:k,loose:!1,text:p,tokens:[]}),a.raw+=f}let u=a.items.at(-1);if(u)u.raw=u.raw.trimEnd(),u.text=u.text.trimEnd();else return;a.raw=a.raw.trimEnd();for(let c=0;c<a.items.length;c++)if(this.lexer.state.top=!1,a.items[c].tokens=this.lexer.blockTokens(a.items[c].text,[]),!a.loose){let f=a.items[c].tokens.filter(m=>m.type==="space"),p=f.length>0&&f.some(m=>this.rules.other.anyLine.test(m.raw));a.loose=p}if(a.loose)for(let c=0;c<a.items.length;c++)a.items[c].loose=!0;return a}}html(e){let t=this.rules.block.html.exec(e);if(t)return{type:"html",block:!0,raw:t[0],pre:t[1]==="pre"||t[1]==="script"||t[1]==="style",text:t[0]}}def(e){let t=this.rules.block.def.exec(e);if(t){let n=t[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),r=t[2]?t[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",a=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:n,raw:t[0],href:r,title:a}}}table(e){let t=this.rules.block.table.exec(e);if(!t||!this.rules.other.tableDelimiter.test(t[2]))return;let n=F7(t[1]),r=t[2].replace(this.rules.other.tableAlignChars,"").split("|"),a=t[3]?.trim()?t[3].replace(this.rules.other.tableRowBlankLine,"").split(`
787`):[],s={type:"table",raw:t[0],header:[],align:[],rows:[]};if(n.length===r.length){for(let o of r)this.rules.other.tableAlignRight.test(o)?s.align.push("right"):this.rules.other.tableAlignCenter.test(o)?s.align.push("center"):this.rules.other.tableAlignLeft.test(o)?s.align.push("left"):s.align.push(null);for(let o=0;o<n.length;o++)s.header.push({text:n[o],tokens:this.lexer.inline(n[o]),header:!0,align:s.align[o]});for(let o of a)s.rows.push(F7(o,s.header.length).map((u,c)=>({text:u,tokens:this.lexer.inline(u),header:!1,align:s.align[c]})));return s}}lheading(e){let t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:t[2].charAt(0)==="="?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){let t=this.rules.block.paragraph.exec(e);if(t){let n=t[1].charAt(t[1].length-1)===`
788`?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:n,tokens:this.lexer.inline(n)}}}text(e){let t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){let t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:t[1]}}tag(e){let t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&this.rules.other.startATag.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){let t=this.rules.inline.link.exec(e);if(t){let n=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(n)){if
vendor: 3,820 bytes, lines 788-789
788(!this.rules.other.endAngleBracket.test(n))return;let s=Nc(n.slice(0,-1),"\\");if((n.length-s.length)%2===0)return}else{let s=Rae(t[2],"()");if(s===-2)return;if(s>-1){let o=(t[0].indexOf("!")===0?5:4)+t[1].length+s;t[2]=t[2].substring(0,s),t[0]=t[0].substring(0,o).trim(),t[3]=""}}let r=t[2],a="";if(this.options.pedantic){let s=this.rules.other.pedanticHrefTitle.exec(r);s&&(r=s[1],a=s[3])}else a=t[3]?t[3].slice(1,-1):"";return r=r.trim(),this.rules.other.startAngleBracket.test(r)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(n)?r=r.slice(1):r=r.slice(1,-1)),U7(t,{href:r&&r.replace(this.rules.inline.anyPunctuation,"$1"),title:a&&a.replace(this.rules.inline.anyPunctuation,"$1")},t[0],this.lexer,this.rules)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let r=(n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal," "),a=t[r.toLowerCase()];if(!a){let s=n[0].charAt(0);return{type:"text",raw:s,text:s}}return U7(n,a,n[0],this.lexer,this.rules)}}emStrong(e,t,n=""){let r=this.rules.inline.emStrongLDelim.exec(e);if(!(!r||r[3]&&n.match(this.rules.other.unicodeAlphaNumeric))&&(!(r[1]||r[2])||!n||this.rules.inline.punctuation.exec(n))){let a=[...r[0]].length-1,s,o,u=a,c=0,f=r[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(f.lastIndex=0,t=t.slice(-1*e.length+a);(r=f.exec(t))!=null;){if(s=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!s)continue;if(o=[...s].length,r[3]||r[4]){u+=o;continue}else if((r[5]||r[6])&&a%3&&!((a+o)%3)){c+=o;continue}if(u-=o,u>0)continue;o=Math.min(o,o+u+c);let p=[...r[0]][0].length,m=e.slice(0,a+r.index+p+o);if(Math.min(a,o)%2){let y=m.slice(1,-1);return{type:"em",raw:m,text:y,tokens:this.lexer.inlineTokens(y)}}let b=m.slice(2,-2);return{type:"strong",raw:m,text:b,tokens:this.lexer.inlineTokens(b)}}}}codespan(e){let t=this.rules.inline.code.exec(e);if(t){let n=t[2].replace(this.rules.other.newLineCharGlobal," "),r=this.rules.other.nonSpaceChar.test(n),a=this.rules.other.startingSpaceChar.test(n)&&this.rules.other.endingSpaceChar.test(n);return r&&a&&(n=n.substring(1,n.length-1)),{type:"codespan",raw:t[0],text:n}}}br(e){let t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){let t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e){let t=this.rules.inline.autolink.exec(e);if(t){let n,r;return t[2]==="@"?(n=t[1],r="mailto:"+n):(n=t[1],r=n),{type:"link",raw:t[0],text:n,href:r,tokens:[{type:"text",raw:n,text:n}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let n,r;if(t[2]==="@")n=t[0],r="mailto:"+n;else{let a;do a=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??"";while(a!==t[0]);n=t[0],t[1]==="www."?r="http://"+t[0]:r=t[0]}return{type:"link",raw:t[0],text:n,href:r,tokens:[{type:"text",raw:n,text:n}]}}}inlineText(e){let t=this.rules.inline.text.exec(e);if(t){let n=this.lexer.state.inRawBlock;return{type:"text",raw:t[0],text:t[0],escaped:n}}}},ua=class Rb{tokens;options;state;tokenizer;inlineQueue;constructor(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||Vo,this.options.tokenizer=this.options.tokenizer||new Oh,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let n={other:cr,block:Mf.normal,inline:kc.normal};this.options.pedantic?(n.block=Mf.pedantic,n.inline=kc.pedantic):this.options.gfm&&(n.block=Mf.gfm,this.options.breaks?n.inline=kc.breaks:n.inline=kc.gfm),this.tokenizer.rules=n}static get rules(){return{block:Mf,inline:kc}}static lex(t,n){return new Rb(n).lex(t)}static lexInline(t,n){return new Rb(n).inlineTokens(t)}lex(t){t=t.replace(cr.carriageReturn,`
789`),this.blockTokens(t,this.tokens);for(let n=0;
vendor: 11,918 bytes, lines 789-821
789n<this.inlineQueue.length;n++){let r=this.inlineQueue[n];this.inlineTokens(r.src,r.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(t,n=[],r=!1){for(this.options.pedantic&&(t=t.replace(cr.tabCharGlobal,"    ").replace(cr.spaceLine,""));t;){let a;if(this.options.extensions?.block?.some(o=>(a=o.call({lexer:this},t,n))?(t=t.substring(a.raw.length),n.push(a),!0):!1))continue;if(a=this.tokenizer.space(t)){t=t.substring(a.raw.length);let o=n.at(-1);a.raw.length===1&&o!==void 0?o.raw+=`
790`:n.push(a);continue}if(a=this.tokenizer.code(t)){t=t.substring(a.raw.length);let o=n.at(-1);o?.type==="paragraph"||o?.type==="text"?(o.raw+=(o.raw.endsWith(`
791`)?"":`
792`)+a.raw,o.text+=`
793`+a.text,this.inlineQueue.at(-1).src=o.text):n.push(a);continue}if(a=this.tokenizer.fences(t)){t=t.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.heading(t)){t=t.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.hr(t)){t=t.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.blockquote(t)){t=t.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.list(t)){t=t.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.html(t)){t=t.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.def(t)){t=t.substring(a.raw.length);let o=n.at(-1);o?.type==="paragraph"||o?.type==="text"?(o.raw+=(o.raw.endsWith(`
794`)?"":`
795`)+a.raw,o.text+=`
796`+a.raw,this.inlineQueue.at(-1).src=o.text):this.tokens.links[a.tag]||(this.tokens.links[a.tag]={href:a.href,title:a.title},n.push(a));continue}if(a=this.tokenizer.table(t)){t=t.substring(a.raw.length),n.push(a);continue}if(a=this.tokenizer.lheading(t)){t=t.substring(a.raw.length),n.push(a);continue}let s=t;if(this.options.extensions?.startBlock){let o=1/0,u=t.slice(1),c;this.options.extensions.startBlock.forEach(f=>{c=f.call({lexer:this},u),typeof c=="number"&&c>=0&&(o=Math.min(o,c))}),o<1/0&&o>=0&&(s=t.substring(0,o+1))}if(this.state.top&&(a=this.tokenizer.paragraph(s))){let o=n.at(-1);r&&o?.type==="paragraph"?(o.raw+=(o.raw.endsWith(`
797`)?"":`
798`)+a.raw,o.text+=`
799`+a.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=o.text):n.push(a),r=s.length!==t.length,t=t.substring(a.raw.length);continue}if(a=this.tokenizer.text(t)){t=t.substring(a.raw.length);let o=n.at(-1);o?.type==="text"?(o.raw+=(o.raw.endsWith(`
800`)?"":`
801`)+a.raw,o.text+=`
802`+a.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=o.text):n.push(a);continue}if(t){let o="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(o);break}else throw new Error(o)}}return this.state.top=!0,n}inline(t,n=[]){return this.inlineQueue.push({src:t,tokens:n}),n}inlineTokens(t,n=[]){let r=t,a=null;if(this.tokens.links){let u=Object.keys(this.tokens.links);if(u.length>0)for(;(a=this.tokenizer.rules.inline.reflinkSearch.exec(r))!=null;)u.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(r=r.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+r.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(a=this.tokenizer.rules.inline.anyPunctuation.exec(r))!=null;)r=r.slice(0,a.index)+"++"+r.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;(a=this.tokenizer.rules.inline.blockSkip.exec(r))!=null;)r=r.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+r.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);r=this.options.hooks?.emStrongMask?.call({lexer:this},r)??r;let s=!1,o="";for(;t;){s||(o=""),s=!1;let u;if(this.options.extensions?.inline?.some(f=>(u=f.call({lexer:this},t,n))?(t=t.substring(u.raw.length),n.push(u),!0):!1))continue;if(u=this.tokenizer.escape(t)){t=t.substring(u.raw.length),n.push(u);continue}if(u=this.tokenizer.tag(t)){t=t.substring(u.raw.length),n.push(u);continue}if(u=this.tokenizer.link(t)){t=t.substring(u.raw.length),n.push(u);continue}if(u=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(u.raw.length);let f=n.at(-1);u.type==="text"&&f?.type==="text"?(f.raw+=u.raw,f.text+=u.text):n.push(u);continue}if(u=this.tokenizer.emStrong(t,r,o)){t=t.substring(u.raw.length),n.push(u);continue}if(u=this.tokenizer.codespan(t)){t=t.substring(u.raw.length),n.push(u);continue}if(u=this.tokenizer.br(t)){t=t.substring(u.raw.length),n.push(u);continue}if(u=this.tokenizer.del(t)){t=t.substring(u.raw.length),n.push(u);continue}if(u=this.tokenizer.autolink(t)){t=t.substring(u.raw.length),n.push(u);continue}if(!this.state.inLink&&(u=this.tokenizer.url(t))){t=t.substring(u.raw.length),n.push(u);continue}let c=t;if(this.options.extensions?.startInline){let f=1/0,p=t.slice(1),m;this.options.extensions.startInline.forEach(b=>{m=b.call({lexer:this},p),typeof m=="number"&&m>=0&&(f=Math.min(f,m))}),f<1/0&&f>=0&&(c=t.substring(0,f+1))}if(u=this.tokenizer.inlineText(c)){t=t.substring(u.raw.length),u.raw.slice(-1)!=="_"&&(o=u.raw.slice(-1)),s=!0;let f=n.at(-1);f?.type==="text"?(f.raw+=u.raw,f.text+=u.text):n.push(u);continue}if(t){let f="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(f);break}else throw new Error(f)}}return n}},Dh=class{options;parser;constructor(t){this.options=t||Vo}space(t){return""}code({text:t,lang:n,escaped:r}){let a=(n||"").match(cr.notSpaceStart)?.[0],s=t.replace(cr.endingNewline,"")+`
803`;return a?'<pre><code class="language-'+Va(a)+'">'+(r?s:Va(s,!0))+`</code></pre>
804`:"<pre><code>"+(r?s:Va(s,!0))+`</code></pre>
805`}blockquote({tokens:t}){return`<blockquote>
806${this.parser.parse(t)}</blockquote>
807`}html({text:t}){return t}def(t){return""}heading({tokens:t,depth:n}){return`<h${n}>${this.parser.parseInline(t)}</h${n}>
808`}hr(t){return`<hr>
809`}list(t){let n=t.ordered,r=t.start,a="";for(let u=0;u<t.items.length;u++){let c=t.items[u];a+=this.listitem(c)}let s=n?"ol":"ul",o=n&&r!==1?' start="'+r+'"':"";return"<"+s+o+`>
810`+a+"</"+s+`>
811`}listitem(t){let n="";if(t.task){let r=this.checkbox({checked:!!t.checked});t.loose?t.tokens[0]?.type==="paragraph"?(t.tokens[0].text=r+" "+t.tokens[0].text,t.tokens[0].tokens&&t.tokens[0].tokens.length>0&&t.tokens[0].tokens[0].type==="text"&&(t.tokens[0].tokens[0].text=r+" "+Va(t.tokens[0].tokens[0].text),t.tokens[0].tokens[0].escaped=!0)):t.tokens.unshift({type:"text",raw:r+" ",text:r+" ",escaped:!0}):n+=r+" "}return n+=this.parser.parse(t.tokens,!!t.loose),`<li>${n}</li>
812`}checkbox({checked:t}){return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:t}){return`<p>${this.parser.parseInline(t)}</p>
813`}table(t){let n="",r="";for(let s=0;s<t.header.length;s++)r+=this.tablecell(t.header[s]);n+=this.tablerow({text:r});let a="";for(let s=0;s<t.rows.length;s++){let o=t.rows[s];r="";for(let u=0;u<o.length;u++)r+=this.tablecell(o[u]);a+=this.tablerow({text:r})}return a&&(a=`<tbody>${a}</tbody>`),`<table>
814<thead>
815`+n+`</thead>
816`+a+`</table>
817`}tablerow({text:t}){return`<tr>
818${t}</tr>
819`}tablecell(t){let n=this.parser.parseInline(t.tokens),r=t.header?"th":"td";return(t.align?`<${r} align="${t.align}">`:`<${r}>`)+n+`</${r}>
820`}strong({tokens:t}){return`<strong>${this.parser.parseInline(t)}</strong>`}em({tokens:t}){return`<em>${this.parser.parseInline(t)}</em>`}codespan({text:t}){return`<code>${Va(t,!0)}</code>`}br(t){return"<br>"}del({tokens:t}){return`<del>${this.parser.parseInline(t)}</del>`}link({href:t,title:n,tokens:r}){let a=this.parser.parseInline(r),s=j7(t);if(s===null)return a;t=s;let o='<a href="'+t+'"';return n&&(o+=' title="'+Va(n)+'"'),o+=">"+a+"</a>",o}image({href:t,title:n,text:r,tokens:a}){a&&(r=this.parser.parseInline(a,this.parser.textRenderer));let s=j7(t);if(s===null)return Va(r);t=s;let o=`<img src="${t}" alt="${r}"`;return n&&(o+=` title="${Va(n)}"`),o+=">",o}text(t){return"tokens"in t&&t.tokens?this.parser.parseInline(t.tokens):"escaped"in t&&t.escaped?t.text:Va(t.text)}},Ny=class{strong({text:e}){return e}em({text:e}){return e}codespan({text:e}){return e}del({text:e}){return e}html({text:e}){return e}text({text:e}){return e}link({text:e}){return""+e}image({text:e}){return""+e}br(){return""}},Ta=class Ob{options;renderer;textRenderer;constructor(t){this.options=t||Vo,this.options.renderer=this.options.renderer||new Dh,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new Ny}static parse(t,n){return new Ob(n).parse(t)}static parseInline(t,n){return new Ob(n).parseInline(t)}parse(t,n=!0){let r="";for(let a=0;a<t.length;a++){let s=t[a];if(this.options.extensions?.renderers?.[s.type]){let u=s,c=this.options.extensions.renderers[u.type].call({parser:this},u);if(c!==!1||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(u.type)){r+=c||"";continue}}let o=s;switch(o.type){case"space":{r+=this.renderer.space(o);continue}case"hr":{r+=this.renderer.hr(o);continue}case"heading":{r+=this.renderer.heading(o);continue}case"code":{r+=this.renderer.code(o);continue}case"table":{r+=this.renderer.table(o);continue}case"blockquote":{r+=this.renderer.blockquote(o);continue}case"list":{r+=this.renderer.list(o);continue}case"html":{r+=this.renderer.html(o);continue}case"def":{r+=this.renderer.def(o);continue}case"paragraph":{r+=this.renderer.paragraph(o);continue}case"text":{let u=o,c=this.renderer.text(u);for(;a+1<t.length&&t[a+1].type==="text";)u=t[++a],c+=`
821`+this.renderer.text(u);n?r+=this.renderer.paragraph({type:"paragraph",raw:c,text:c,tokens:[{type:"text",raw:c,text:c,escaped:!0}]}):r+=c;continue}default:{let u='Token with "'+o.type+'" type was not found.';if(this.options.silent)return console.error(u),"";throw new Error(u)}}}return r}parseInline(t,n=this.renderer){let r="";for(let a=0;a<t.length;a++){let s=t[a];if(this.options.extensions?.renderers?.[s.type]){let u=this.options.extensions.renderers[s.type].call({parser:this},s);if(u!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(s.type)){r+=u||"";continue}}let o=s;switch(o.type){case"escape":{r+=n.text(o);break}case"html":{r+=n.html(o);break}case"link":{r+=n.link(o);break}case"image":{r+=n.image(o);break}case"strong":{r+=n.strong(o);break}case"em":{r+=n.em(o);break}case"codespan":{r+=n.codespan(o);break}case"br":{r+=n.br(o);break}case"del":{r+=n.del(o);break}case"text":{r+=n.text(o);break}default:{let u='Token with "'+o.type+'" type was not found.';if(this.options.silent)return console.error(u),"";throw new Error(u)}}}return r}},Lc=class{options;block;constructor(e){this.options=e||Vo}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens","emStrongMask"]);static passThroughHooksRespectAsync=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}emStrongMask(e){return e}provideLexer(){return this.block?ua.lex:ua.lexInline}provideParser(){return this.block?Ta.parse:Ta.parseInline}},Dae=class{defaults=Ey();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=Ta;Renderer=Dh;TextRenderer=Ny;Lexer=ua;Tokenizer=Oh;Hooks=Lc;constructor(...e){this.use(...e)}walkTokens(e,t){let n=[];for(let r of e)switch(n=n.concat(t.call(this,r)),r.type){case"table":{let a=r;for(let s of a.header)n=n.concat(this.walkTokens(s.tokens,t));for(let s of a.rows)for(let o of s)n=n.concat(this.walkTokens(o.tokens,t));break}case"list":{let a=r;n=n.concat(this.walkTokens(a.items,t));break}default:{let a=r;this.defaults.extensions?.childTokens?.[a.type]?this.defaults.extensions.childTokens[a.type].forEach(s=>{let o=a[s].flat(1/0);n=n.concat(this.walkTokens(o,t))}):a.tokens&&(n=n.concat(this.walkTokens(a.tokens,t)))}}return n}use(...e){let t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(n=>{let r={...n};if(r.async=this.defaults.async||r.async||!1,n.extensions&&(n.extensions.forEach(a=>{if(!a.name)throw new Error("extension name required");if("renderer"in a){let s=t.renderers[a.name];s?t.renderers[a.name]=function(...o){let u=a.renderer.apply(this,o);return u===!1&&(u=s.apply(this,o)),u}:t.renderers[a.name]=a.renderer}
821if("tokenizer"in a){if(!a.level||a.level!=="block"&&a.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let s=t[a.level];s?s.unshift(a.tokenizer):t[a.level]=[a.tokenizer],a.start&&(a.level==="block"?t.startBlock?t.startBlock.push(a.start):t.startBlock=[a.start]:a.level==="inline"&&(t.startInline?t.startInline.push(a.start):t.startInline=[a.start]))}"childTokens"in a&&a.childTokens&&(t.childTokens[a.name]=a.childTokens)}),r.extensions=t),n.renderer){let a=this.defaults.renderer||new Dh(this.defaults);for(let s in n.renderer){if(!(s in a))throw new Error(`renderer '${s}' does not exist`);if(["options","parser"].includes(s))continue;let o=s,u=n.renderer[o],c=a[o];a[o]=(...f)=>{let p=u.apply(a,f);return p===!1&&(p=c.apply(a,f)),p||""}}r.renderer=a}if(n.tokenizer){let a=this.defaults.tokenizer||new Oh(this.defaults);for(let s in n.tokenizer){if(!(s in a))throw new Error(`tokenizer '${s}' does not exist`);if(["options","rules","lexer"].includes(s))continue;let o=s,u=n.tokenizer[o],c=a[o];a[o]=(...f)=>{let p=u.apply(a,f);return p===!1&&(p=c.apply(a,f)),p}}r.tokenizer=a}if(n.hooks){let a=this.defaults.hooks||new Lc;for(let s in n.hooks){if(!(s in a))throw new Error(`hook '${s}' does not exist`);if(["options","block"].includes(s))continue;let o=s,u=n.hooks[o],c=a[o];Lc.passThroughHooks.has(s)?a[o]=f=>{if(this.defaults.async&&Lc.passThroughHooksRespectAsync.has(s))return(async()=>{let m=await u.call(a,f);return c.call(a,m)})();let p=u.call(a,f);return c.call(a,p)}:a[o]=(...f)=>{if(this.defaults.async)return(async()=>{let m=await u.apply(a,f);return m===!1&&(m=await c.apply(a,f)),m})();let p=u.apply(a,f);return p===!1&&(p=c.apply(a,f)),p}}r.hooks=a}if(n.walkTokens){let a=this.defaults.walkTokens,s=n.walkTokens;r.walkTokens=function(o){let u=[];return u.push(s.call(this,o)),a&&(u=u.concat(a.call(this,o))),u}}this.defaults={...this.defaults,...r}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return ua.lex(e,t??this.defaults)}parser(e,t){return Ta.parse(e,t??this.defaults)}parseMarkdown(e){return(t,n)=>{let r={...n},a={...this.defaults,...r},s=this.onError(!!a.silent,!!a.async);if(this.defaults.async===!0&&r.async===!1)return s(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof t>"u"||t===null)return s(new Error("marked(): input parameter is undefined or null"));if(typeof t!="string")return s(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));if(a.hooks&&(a.hooks.options=a,a.hooks.block=e),a.async)return(async()=>{let o=a.hooks?await a.hooks.preprocess(t):t,u=await(a.hooks?await a.hooks.provideLexer():e?ua.lex:ua.lexInline)(o,a),c=a.hooks?await a.hooks.processAllTokens(u):u;a.walkTokens&&await Promise.all(this.walkTokens(c,a.walkTokens));let f=await(a.hooks?await a.hooks.provideParser():e?Ta.parse:Ta.parseInline)(c,a);return a.hooks?await a.hooks.postprocess(f):f})().catch(s);try{a.hooks&&(t=a.hooks.preprocess(t));let o=(a.hooks?a.hooks.provideLexer():e?ua.lex:ua.lexInline)(t,a);a.hooks&&(o=a.hooks.processAllTokens(o)),a.walkTokens&&this.walkTokens(o,a.walkTokens);let u=(a.hooks?a.hooks.provideParser():e?Ta.parse:Ta.parseInline)(o,a);return a.hooks&&(u=a.hooks.postprocess(u)),u}catch(o){return s(o)}}}onError(e,t){return n=>{if(n.message+=`
822Please report this to https://github.com/markedjs/marked.`,e){let r="<p>An error occurred:</p><pre>"+Va(n.message+"",!0)+"</pre>";return t?Promise.resolve(r):r}if(t)return Promise.reject(n);throw n}}},Po=new Dae;function It(e,t){return Po.parse(e,t)}It.options=It.setOptions=function(e){return Po.setOptions(e),It.defaults=Po.defaults,ck(It.defaults),It};It.getDefaults=Ey;It.defaults=Vo;It.use=function(...e){return Po.use(...e),It.defaults=Po.defaults,ck(It.defaults),It};It.walkTokens=function(e,t){return Po.walkTokens(e,t)};It.parseInline=Po.parseInline;It.Parser=Ta;It.parser=Ta.parse;It.Renderer=Dh;It.TextRenderer=Ny;It.Lexer=ua;It.lexer=ua.lex;It.Tokenizer=Oh;It.Hooks=Lc;It.parse=It;It.options;It.setOptions;It.use;It.walkTokens;It.parseInline;Ta.parse;ua.lex;var gt=(...e)=>FT(e4(e)),Ry=(e,t,n)=>{let r=typeof t=="string"?new Blob([t],{type:n}):t,a=URL.createObjectURL(r),s=document.createElement("a");s.href=a,s.download=e,document.body.appendChild(s),s.click(),document.body.removeChild(s),URL.revokeObjectURL(a)},Iae=/<pre(\s|>)/,Oy=N.createContext({code:""}),Lae=class{constructor(){this.lightHighlighter=null,this.darkHighlighter=null,this.lightTheme=null,this.darkTheme=null,this.loadedLanguages=new Set,this.initializationPromise=null}isLanguageSupported(e){return Object.hasOwn(zC,e)}getFallbackLanguage(){return"text"}async ensureHighlightersInitialized(e,t){var n,r;let[a,s]=e,o=Xre({forgiving:!0}),u=!this.lightHighlighter||this.lightTheme!==a,c=!this.darkHighlighter||this.darkTheme!==s;(u||c)&&this.loadedLanguages.clear();let f=this.isLanguageSupported(t),p=!this.loadedLanguages.has(t)&&f;if(u?(this.lightHighlighter=await g7({themes:[a],langs:f?[t]:[],engine:o}),this.lightTheme=a,f&&this.loadedLanguages.add(t)):p&&await((n=this.lightHighlighter)==null?void 0:n.loadLanguage(t)),c){let m=p?[...this.loadedLanguages].concat(f?[t]:[]):Array.from(this.loadedLanguages);this.darkHighlighter=await g7({themes:[s],langs:m.length>0?m:f?[t]:[],engine:o}),this.darkTheme=s}else p&&await((r=this.darkHighlighter)==null?void 0:r.loadLanguage(t));p&&this.loadedLanguages.add(t)}async highlightCode(e,t,n,r){var a,s;this.initializationPromise&&await this.initializationPromise,this.initializationPromise=this.ensureHighlightersInitialized(n,t),await this.initializationPromise,this.initializationPromise=null;let[o,u]=n,c=this.isLanguageSupported(t)?t:this.getFallbackLanguage(),f=(a=this.lightHighlighter)==null?void 0:a.codeToHtml(e,{lang:c,theme:o}),p=(s=this.darkHighlighter)==null?void 0:s.codeToHtml(e,{lang:c,theme:u}),m=b=>r?b.replace(Iae,`<pre class="${r}"$1`):b;return[m(f),m(p)]}},Mae=new Lae,Pae=({code:e,language:t,className:n,children:r,preClassName:a,...s})=>{let[o,u]=N.useState(""),[c,f]=N.useState(""),p=N.useRef(!1),[m,b]=N.useContext(Wk);return N.useEffect(()=>(p.current=!0,Mae.highlightCode(e,t,[m,b],a).then(([y,_])=>{p.current&&(u(y),f(_))}),()=>{p.current=!1}),[e,t,m,b,a]),x.jsx(Oy.Provider,{value:{code:e},children:x.jsxs("div",{className:"my-4 w-full overflow-hidden rounded-xl border","data-code-block-container":!0,"data-language":t,children:[x.jsxs("div",{className:"flex items-center justify-between bg-muted/80 p-3 text-muted-foreground text-xs","data-code-block-header":!0,"data-language":t,children:[x.jsx("span",{className:"ml-1 font-mono lowercase",children:t}),x.jsx("div",{className:"flex items-center gap-2",children:r})]}),x.jsx("div",{className:"w-full",children:x.jsxs("div",{className:"min-w-full",children:[x.jsx("div",{className:gt("overflow-x-auto dark:hidden",n),dangerouslySetInnerHTML:{__html:o},"data-code-block":!0,"data-language":t,...s}),x.jsx("div",{className:gt("hidden overflow-x-auto dark:block",n),dangerouslySetInnerHTML:{__html:c},"data-code-block":!0,"data-language":t,...s})]})})]})})},q7={"1c":"1c","1c-query":"1cq",abap:"abap","actionscript-3":"as",ada:"ada",adoc:"adoc","angular-html":"html","angular-ts":"ts",apache:"conf",apex:"cls",apl:"apl",applescript:"applescript",ara:"ara",asciidoc:"adoc",asm:"asm",astro:"astro",awk:"awk",ballerina:"bal",bash:"sh",bat:"bat",batch:"bat",be:"be",beancount:"beancount",berry:"berry",bibtex:"bib",bicep:"bicep",blade:"blade.php",bsl:"bsl",c:"c","c#":"cs","c++":"cpp",cadence:"cdc",cairo:"cairo",cdc:"cdc",clarity:"clar",clj:"clj",clojure:"clj","closure-templates":"soy",cmake:"cmake",cmd:"cmd",cobol:"cob",codeowners:"CODEOWNERS",codeql:"ql",coffee:"coffee",coffeescript:"coffee","common-lisp":"lisp",console:"sh",coq:"v",cpp:"cpp",cql:"cql",crystal:"cr",cs:"cs",csharp:"cs",css:"css",csv:"csv",cue:"cue",cypher:"cql",d:"d",dart:"dart",da
822x:"dax",desktop:"desktop",diff:"diff",docker:"dockerfile",dockerfile:"dockerfile",dotenv:"env","dream-maker":"dm",edge:"edge",elisp:"el",elixir:"ex",elm:"elm","emacs-lisp":"el",erb:"erb",erl:"erl",erlang:"erl",f:"f","f#":"fs",f03:"f03",f08:"f08",f18:"f18",f77:"f77",f90:"f90",f95:"f95",fennel:"fnl",fish:"fish",fluent:"ftl",for:"for","fortran-fixed-form":"f","fortran-free-form":"f90",fs:"fs",fsharp:"fs",fsl:"fsl",ftl:"ftl",gdresource:"tres",gdscript:"gd",gdshader:"gdshader",genie:"gs",gherkin:"feature","git-commit":"gitcommit","git-rebase":"gitrebase",gjs:"js",gleam:"gleam","glimmer-js":"js","glimmer-ts":"ts",glsl:"glsl",gnuplot:"plt",go:"go",gql:"gql",graphql:"graphql",groovy:"groovy",gts:"gts",hack:"hack",haml:"haml",handlebars:"hbs",haskell:"hs",haxe:"hx",hbs:"hbs",hcl:"hcl",hjson:"hjson",hlsl:"hlsl",hs:"hs",html:"html","html-derivative":"html",http:"http",hxml:"hxml",hy:"hy",imba:"imba",ini:"ini",jade:"jade",java:"java",javascript:"js",jinja:"jinja",jison:"jison",jl:"jl",js:"js",json:"json",json5:"json5",jsonc:"jsonc",jsonl:"jsonl",jsonnet:"jsonnet",jssm:"jssm",jsx:"jsx",julia:"jl",kotlin:"kt",kql:"kql",kt:"kt",kts:"kts",kusto:"kql",latex:"tex",lean:"lean",lean4:"lean",less:"less",liquid:"liquid",lisp:"lisp",lit:"lit",llvm:"ll",log:"log",logo:"logo",lua:"lua",luau:"luau",make:"mak",makefile:"mak",markdown:"md",marko:"marko",matlab:"m",md:"md",mdc:"mdc",mdx:"mdx",mediawiki:"wiki",mermaid:"mmd",mips:"s",mipsasm:"s",mmd:"mmd",mojo:"mojo",move:"move",nar:"nar",narrat:"narrat",nextflow:"nf",nf:"nf",nginx:"conf",nim:"nim",nix:"nix",nu:"nu",nushell:"nu",objc:"m","objective-c":"m","objective-cpp":"mm",ocaml:"ml",pascal:"pas",perl:"pl",perl6:"p6",php:"php",plsql:"pls",po:"po",polar:"polar",postcss:"pcss",pot:"pot",potx:"potx",powerquery:"pq",powershell:"ps1",prisma:"prisma",prolog:"pl",properties:"properties",proto:"proto",protobuf:"proto",ps:"ps",ps1:"ps1",pug:"pug",puppet:"pp",purescript:"purs",py:"py",python:"py",ql:"ql",qml:"qml",qmldir:"qmldir",qss:"qss",r:"r",racket:"rkt",raku:"raku",razor:"cshtml",rb:"rb",reg:"reg",regex:"regex",regexp:"regexp",rel:"rel",riscv:"s",rs:"rs",rst:"rst",ruby:"rb",rust:"rs",sas:"sas",sass:"sass",scala:"scala",scheme:"scm",scss:"scss",sdbl:"sdbl",sh:"sh",shader:"shader",shaderlab:"shader",shell:"sh",shellscript:"sh",shellsession:"sh",smalltalk:"st",solidity:"sol",soy:"soy",sparql:"rq",spl:"spl",splunk:"spl",sql:"sql","ssh-config":"config",stata:"do",styl:"styl",stylus:"styl",svelte:"svelte",swift:"swift","system-verilog":"sv",systemd:"service",talon:"talon",talonscript:"talon",tasl:"tasl",tcl:"tcl",templ:"templ",terraform:"tf",tex:"tex",tf:"tf",tfvars:"tfvars",toml:"toml",ts:"ts","ts-tags":"ts",tsp:"tsp",tsv:"tsv",tsx:"tsx",turtle:"ttl",twig:"twig",typ:"typ",typescript:"ts",typespec:"tsp",typst:"typ",v:"v",vala:"vala",vb:"vb",verilog:"v",vhdl:"vhdl",vim:"vim",viml:"vim",vimscript:"vim",vue:"vue","vue-html":"html","vue-vine":"vine",vy:"vy",vyper:"vy",wasm:"wasm",wenyan:"wy",wgsl:"wgsl",wiki:"wiki",wikitext:"wiki",wit:"wit",wl:"wl",wolfram:"wl",xml:"xml",xsl:"xsl",yaml:"yaml",yml:"yml",zenscript:"zs",zig:"zig",zsh:"zsh",文言:"wy"},$7=({onDownload:e,onError:t,language:n,children:r,className:a,code:s,...o})=>{let{code:u}=N.useContext(Oy),{isAnimating:c}=N.useContext(j0),f=s??u,p=`file.${n&&n in q7?q7[n]:"txt"}`,m="text/plain",b=()=>{try{Ry(p,f,m),e?.()}catch(y){t?.(y)}};return x.jsx("button",{className:gt("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",a),disabled:c,onClick:b,title:"Download file",type:"button",...o,children:r??x.jsx(oy,{size:14})})},V7=({onCopy:e,onError:t,timeout:n=2e3,children:r,className:a,code:s,...o})=>{let[u,c]=N.useState(!1),f=N.useRef(0),{code:p}=N.useContext(Oy),{isAnimating:m}=N.useContext(j0),b=s??p,y=async()=>{var w;if(typeof window>"u"||!((w=navigator?.clipboard)!=null&&w.writeText)){t?.(new Error("Clipboard API not available"));return}try{u||(await navigator.clipboard.writeText(b),c(!0),e?.(),f.current=window.setTimeout(()=>c(!1),n))}catch(k){t?.(k)}};N.useEffect(()=>()=>{window.clearTimeout(f.current)},[]);let _=u?sC:oC;return x.jsx("button",{className:gt("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",a),disabled:m,onClick:y,type:"button",...o,children:r??x.jsx(_,{size:14})})},Bae=({node:e,className:t,src:n,alt:r,...a})=>{let s=async()=>{var o;if(n)try{let u=await(await fetch(n)).blob(),c=new URL(n,window.location.origin).pathname.split("/").pop()||"",f=c.includes(".")&&((o=c.split(".").pop())==null?void 0:o.length)<=4,p="";if(f)p=c;else{let m=u.type,b="png";
822m.includes("jpeg")||m.includes("jpg")?b="jpg":m.includes("png")?b="png":m.includes("svg")?b="svg":m.includes("gif")?b="gif":m.includes("webp")&&(b="webp"),p=`${(r||c||"image").replace(/\.[^/.]+$/,"")}.${b}`}Ry(p,u,u.type)}catch(u){console.error("Failed to download image:",u)}};return n?x.jsxs("div",{className:"group relative my-4 inline-block","data-streamdown":"image-wrapper",children:[x.jsx("img",{alt:r,className:gt("max-w-full rounded-lg",t),"data-streamdown":"image",src:n,...a}),x.jsx("div",{className:"pointer-events-none absolute inset-0 hidden rounded-lg bg-black/10 group-hover:block"}),x.jsx("button",{className:gt("absolute right-2 bottom-2 flex h-8 w-8 cursor-pointer items-center justify-center rounded-md border border-border bg-background/90 shadow-sm backdrop-blur-sm transition-all duration-200 hover:bg-background","opacity-0 group-hover:opacity-100"),onClick:s,title:"Download image",type:"button",children:x.jsx(oy,{size:14})})]}):null},zae=async e=>{let t={startOnLoad:!1,theme:"default",securityLevel:"strict",fontFamily:"monospace",suppressErrorRendering:!0,...e},n=(await j(async()=>{const{default:r}=await import("./mermaid.core-BPGCfmqH.js").then(a=>a.bC);return{default:r}},[])).default;return n.initialize(t),n},Hae=({chart:e,className:t,config:n})=>{let[r,a]=N.useState(null),[s,o]=N.useState(!0),[u,c]=N.useState(""),[f,p]=N.useState("");if(N.useEffect(()=>{(async()=>{try{a(null),o(!0);let b=await zae(n),y=e.split("").reduce((k,A)=>(k<<5)-k+A.charCodeAt(0)|0,0),_=`mermaid-${Math.abs(y)}-${Date.now()}-${Math.random().toString(36).substring(2,9)}`,{svg:w}=await b.render(_,e);c(w),p(w)}catch(b){if(!(f||u)){let y=b instanceof Error?b.message:"Failed to render Mermaid chart";a(y)}}finally{o(!1)}})()},[e,n]),s&&!u&&!f)return x.jsx("div",{className:gt("my-4 flex justify-center p-4",t),children:x.jsxs("div",{className:"flex items-center space-x-2 text-muted-foreground",children:[x.jsx("div",{className:"h-4 w-4 animate-spin rounded-full border-current border-b-2"}),x.jsx("span",{className:"text-sm",children:"Loading diagram..."})]})});if(r&&!u&&!f)return x.jsxs("div",{className:gt("rounded-lg border border-red-200 bg-red-50 p-4",t),children:[x.jsxs("p",{className:"font-mono text-red-700 text-sm",children:["Mermaid Error: ",r]}),x.jsxs("details",{className:"mt-2",children:[x.jsx("summary",{className:"cursor-pointer text-red-600 text-xs",children:"Show Code"}),x.jsx("pre",{className:"mt-2 overflow-x-auto rounded bg-red-100 p-2 text-red-800 text-xs",children:e})]})]});let m=u||f;return x.jsx("div",{"aria-label":"Mermaid chart",className:gt("my-4 flex justify-center",t),dangerouslySetInnerHTML:{__html:m},role:"img"})};function Ek(e){var t,n;let r=[],a=[],s=e.querySelectorAll("thead th");for(let u of s)r.push(((t=u.textContent)==null?void 0:t.trim())||"");let o=e.querySelectorAll("tbody tr");for(let u of o){let c=[],f=u.querySelectorAll("td");for(let p of f)c.push(((n=p.textContent)==null?void 0:n.trim())||"");a.push(c)}return{headers:r,rows:a}}function _k(e){let{headers:t,rows:n}=e,r=s=>s.includes(",")||s.includes('"')||s.includes(`
823`)?`"${s.replace(/"/g,'""')}"`:s,a=[];t.length>0&&a.push(t.map(r).join(","));for(let s of n)a.push(s.map(r).join(","));return a.join(`
824`)}function Tk(e){let{headers:t,rows:n}=e;if(t.length===0)return"";let r=[],a=t.map(s=>s.replace(/\|/g,"\\|"));r.push(`| ${a.join(" | ")} |`),r.push(`| ${t.map(()=>"---").join(" | ")} |`);for(let s of n){let o=[...s];for(;o.length<t.length;)o.push("");let u=o.map(c=>c.replace(/\|/g,"\\|"));r.push(`| ${u.join(" | ")} |`)}return r.join(`
825`)}var jae=({children:e,className:t,onCopy:n,onError:r,timeout:a=2e3,format:s="markdown"})=>{let[o,u]=N.useState(!1),c=N.useRef(0),{isAnimating:f}=N.useContext(j0),p=async b=>{var y;if(typeof window>"u"||!((y=navigator?.clipboard)!=null&&y.write)){r?.(new Error("Clipboard API not available"));return}try{if(!o){let _=b.currentTarget.closest('[data-streamdown="table-wrapper"]'),w=_?.querySelector("table");if(!w){r?.(new Error("Table not found"));return}let k=Ek(w),A=new ClipboardItem({"text/plain":s==="markdown"?Tk(k):_k(k),"text/html":new Blob([w.outerHTML],{type:"text/html"})});await navigator.clipboard.write([A]),u(!0),n?.(),c.current=window.setTimeout(()=>u(!1),a)}}catch(_){r?.(_)}};N.useEffect(()=>()=>{window.clearTimeout(c.current)},[]);let m=o?sC:oC;return x.jsx("button",{className:gt("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",t),disabled:f,onClick:p,title:`Copy table as ${s}`,type:"button",children:e??x.jsx(m,{size:14})})},Fae=({children:e,className:t,onDownload:n,onError:r})=>{let[a,s]=N.useState(!1),o=N.useRef(null),{isAnimating:u}=N.useContext(j0),c=f=>{var p;try{let m=(p=o.current)==null?void 0:p.closest('[data-streamdown="table-wrapper"]'),b=m?.querySelector("table");if(!b){r?.(new Error("Table not found"));return}let y=Ek(b),_=f==="csv"?_k(y):Tk(y);Ry(`table.${f==="csv"?"csv":"md"}`,_,f==="csv"?"text/csv":"text/markdown"),s(!1),n?.(f)}catch(m){r?.(m)}};return N.useEffect(()=>{let f=p=>{o.current&&!o.current.contains(p.target)&&s(!1)};return document.addEventListener("mousedown",f),()=>{document.removeEventListener("mousedown",f)}},[]),x.jsxs("div",{className:"relative",ref:o,children:[x.jsx("button",{className:gt("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",t),disabled:u,onClick:()=>s(!a),title:"Download table",type:"button",children:e??x.jsx(oy,{size:14})}),a&&x.jsxs("div",{className:"absolute top-full right-0 z-10 mt-1 min-w-[120px] rounded-md border border-border bg-background shadow-lg",children:[x.jsx("button",{className:"w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40",onClick:()=>c("csv"),type:"button",children:"CSV"}),x.jsx("button",{className:"w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40",onClick:()=>c("markdown"),type:"button",children:"Markdown"})]})]})},Uae=/language-([^\s]+)/;function Rm(e,t){if(!(e!=null&&e.position||t!=null&&t.position))return!0;
825if(!(e!=null&&e.position&&t!=null&&t.position))return!1;let n=e.position.start,r=t.position.start,a=e.position.end,s=t.position.end;return n?.line===r?.line&&n?.column===r?.column&&a?.line===s?.line&&a?.column===s?.column}function an(e,t){return e.className===t.className&&Rm(e.node,t.node)}var Db=(e,t)=>typeof e=="boolean"?e:e[t]!==!1,Dy=N.memo(({children:e,className:t,node:n,...r})=>x.jsx("ol",{className:gt("ml-4 list-outside list-decimal whitespace-normal",t),"data-streamdown":"ordered-list",...r,children:e}),(e,t)=>an(e,t));Dy.displayName="MarkdownOl";var wk=N.memo(({children:e,className:t,node:n,...r})=>x.jsx("li",{className:gt("py-1",t),"data-streamdown":"list-item",...r,children:e}),(e,t)=>e.className===t.className&&Rm(e.node,t.node));wk.displayName="MarkdownLi";var Sk=N.memo(({children:e,className:t,node:n,...r})=>x.jsx("ul",{className:gt("ml-4 list-outside list-disc whitespace-normal",t),"data-streamdown":"unordered-list",...r,children:e}),(e,t)=>an(e,t));Sk.displayName="MarkdownUl";var Ak=N.memo(({className:e,node:t,...n})=>x.jsx("hr",{className:gt("my-6 border-border",e),"data-streamdown":"horizontal-rule",...n}),(e,t)=>an(e,t));Ak.displayName="MarkdownHr";var Ck=N.memo(({children:e,className:t,node:n,...r})=>x.jsx("span",{className:gt("font-semibold",t),"data-streamdown":"strong",...r,children:e}),(e,t)=>an(e,t));Ck.displayName="MarkdownStrong";var kk=N.memo(({children:e,className:t,href:n,node:r,...a})=>{let s=n==="streamdown:incomplete-link";return x.jsx("a",{className:gt("wrap-anywhere font-medium text-primary underline",t),"data-incomplete":s,"data-streamdown":"link",href:n,rel:"noreferrer",target:"_blank",...a,children:e})},(e,t)=>an(e,t)&&e.href===t.href);kk.displayName="MarkdownA";var Nk=N.memo(({children:e,className:t,node:n,...r})=>x.jsx("h1",{className:gt("mt-6 mb-2 font-semibold text-3xl",t),"data-streamdown":"heading-1",...r,children:e}),(e,t)=>an(e,t));Nk.displayName="MarkdownH1";var Rk=N.memo(({children:e,className:t,node:n,...r})=>x.jsx("h2",{className:gt("mt-6 mb-2 font-semibold text-2xl",t),"data-streamdown":"heading-2",...r,children:e}),(e,t)=>an(e,t));Rk.displayName="MarkdownH2";var Ok=N.memo(({children:e,className:t,node:n,...r})=>x.jsx("h3",{className:gt("mt-6 mb-2 font-semibold text-xl",t),"data-streamdown":"heading-3",...r,children:e}),(e,t)=>an(e,t));Ok.displayName="MarkdownH3";var Dk=N.memo(({children:e,className:t,node:n,...r})=>x.jsx("h4",{className:gt("mt-6 mb-2 font-semibold text-lg",t),"data-streamdown":"heading-4",...r,children:e}),(e,t)=>an(e,t));Dk.displayName="MarkdownH4";var Ik=N.memo(({children:e,className:t,node:n,...r})=>x.jsx("h5",{className:gt("mt-6 mb-2 font-semibold text-base",t),"data-streamdown":"heading-5",...r,children:e}),(e,t)=>an(e,t));Ik.displayName="MarkdownH5";var Lk=N.memo(({children:e,className:t,node:n,...r})=>x.jsx("h6",{className:gt("mt-6 mb-2 font-semibold text-sm",t),"data-streamdown":"heading-6",...r,children:e}),(e,t)=>an(e,t));Lk.displayName="MarkdownH6";var Mk=N.memo(({children:e,className:t,node:n,...r})=>{let a=N.useContext(Iy),s=Db(a,"table");return x.jsxs("div",{className:"my-4 flex flex-col space-y-2","data-streamdown":"table-wrapper",children:[s&&x.jsxs("div",{className:"flex items-center justify-end gap-1",children:[x.jsx(jae,{}),x.jsx(Fae,{})]}),x.jsx("div",{className:"overflow-x-auto",children:x.jsx("table",{className:gt("w-full border-collapse border border-border",t),"data-streamdown":"table",...r,children:e})})]})},(e,t)=>an(e,t));Mk.displayName="MarkdownTable";var Pk=N.memo(({children:e,className:t,node:n,...r})=>x.jsx("thead",{className:gt("bg-muted/80",t),"data-streamdown":"table-header",...r,children:e}),(e,t)=>an(e,t));Pk.displayName="MarkdownThead";var Bk=N.memo(({children:e,className:t,node:n,...r})=>x.jsx("tbody",{className:gt("divide-y divide-border bg-muted/40",t),"data-streamdown":"table-body",...r,children:e}),(e,t)=>an(e,t));Bk.displayName="MarkdownTbody";var zk=N.memo(({children:e,className:t,node:n,...r})=>x.jsx("tr",{className:gt("border-border border-b",t),"data-streamdown":"table-row",...r,children:e}),(e,t)=>an(e,t));zk.displayName="MarkdownTr";var Hk=N.memo(({children:e,className:t,node:n,...r})=>x.jsx("th",{className:gt("whitespace-nowrap px-4 py-2 text-left font-semibold text-sm",t),"data-streamdown":"table-header-cell",...r,children:e}),(e,t)=>an(e,t));Hk.displayName="MarkdownTh";var jk=N.memo(({children:e,className:t,node:n,...r})=>x.jsx("td",{className:gt("px-4 py-2 text-sm",t),"data-streamdown":"table-cell",...r,children:e}),(e,t)=>an(e,t));jk.displayName="MarkdownTd";var Fk=N.memo(({children:e,className:t,node:n,...r})=>
825x.jsx("blockquote",{className:gt("my-4 border-muted-foreground/30 border-l-4 pl-4 text-muted-foreground italic",t),"data-streamdown":"blockquote",...r,children:e}),(e,t)=>an(e,t));Fk.displayName="MarkdownBlockquote";var Uk=N.memo(({children:e,className:t,node:n,...r})=>x.jsx("sup",{className:gt("text-sm",t),"data-streamdown":"superscript",...r,children:e}),(e,t)=>an(e,t));Uk.displayName="MarkdownSup";var qk=N.memo(({children:e,className:t,node:n,...r})=>x.jsx("sub",{className:gt("text-sm",t),"data-streamdown":"subscript",...r,children:e}),(e,t)=>an(e,t));qk.displayName="MarkdownSub";var $k=N.memo(({children:e,className:t,node:n,...r})=>{if("data-footnotes"in r){let a=o=>{var u,c;if(!N.isValidElement(o))return!1;let f=Array.isArray(o.props.children)?o.props.children:[o.props.children],p=!1,m=!1;for(let b of f)if(b){if(typeof b=="string")b.trim()!==""&&(p=!0);else if(N.isValidElement(b))if(((u=b.props)==null?void 0:u["data-footnote-backref"])!==void 0)m=!0;else{let y=Array.isArray(b.props.children)?b.props.children:[b.props.children];for(let _ of y){if(typeof _=="string"&&_.trim()!==""){p=!0;break}if(N.isValidElement(_)&&((c=_.props)==null?void 0:c["data-footnote-backref"])===void 0){p=!0;break}}}}return m&&!p},s=Array.isArray(e)?e.map(o=>{if(!N.isValidElement(o))return o;if(o.type===Dy){let u=(Array.isArray(o.props.children)?o.props.children:[o.props.children]).filter(c=>!a(c));return u.length===0?null:{...o,props:{...o.props,children:u}}}return o}):e;return(Array.isArray(s)?s.some(o=>o!==null):s!==null)?x.jsx("section",{className:t,...r,children:s}):null}return x.jsx("section",{className:t,...r,children:e})},(e,t)=>an(e,t));$k.displayName="MarkdownSection";var qae=({node:e,className:t,children:n,...r})=>{var a,s,o;let u=((a=e?.position)==null?void 0:a.start.line)===((s=e?.position)==null?void 0:s.end.line),c=N.useContext(Xk),f=N.useContext(Iy);if(u)return x.jsx("code",{className:gt("rounded bg-muted px-1.5 py-0.5 font-mono text-sm",t),"data-streamdown":"inline-code",...r,children:n});let p=t?.match(Uae),m=(o=p?.at(1))!=null?o:"",b="";if(N.isValidElement(n)&&n.props&&typeof n.props=="object"&&"children"in n.props&&typeof n.props.children=="string"?b=n.props.children:typeof n=="string"&&(b=n),m==="mermaid"){let _=Db(f,"mermaid");return x.jsxs("div",{className:gt("group relative my-4 h-auto rounded-xl border p-4",t),"data-streamdown":"mermaid-block",children:[_&&x.jsxs("div",{className:"flex items-center justify-end gap-2",children:[x.jsx($7,{code:b,language:m}),x.jsx(V7,{code:b})]}),x.jsx(Hae,{chart:b,config:c})]})}let y=Db(f,"code");return x.jsx(Pae,{className:gt("overflow-x-auto border-t",t),code:b,"data-language":m,"data-streamdown":"code-block",language:m,preClassName:"overflow-x-auto font-mono text-xs p-4 bg-muted/40",children:y&&x.jsxs(x.Fragment,{children:[x.jsx($7,{code:b,language:m}),x.jsx(V7,{})]})})},Vk=N.memo(qae,(e,t)=>e.className===t.className&&Rm(e.node,t.node));Vk.displayName="MarkdownCode";var Gk=N.memo(Bae,(e,t)=>e.className===t.className&&Rm(e.node,t.node));Gk.displayName="MarkdownImg";var Yk=N.memo(({children:e,className:t,node:n,...r})=>{var a;let s=(Array.isArray(e)?e:[e]).filter(o=>o!=null&&o!=="");return s.length===1&&N.isValidElement(s[0])&&((a=s[0].props.node)==null?void 0:a.tagName)==="img"?x.jsx(x.Fragment,{children:e}):x.jsx("p",{className:t,...r,children:e})},(e,t)=>an(e,t));Yk.displayName="MarkdownParagraph";var $ae={ol:Dy,li:wk,ul:Sk,hr:Ak,strong:Ck,a:kk,h1:Nk,h2:Rk,h3:Ok,h4:Dk,h5:Ik,h6:Lk,table:Mk,thead:Pk,tbody:Bk,tr:zk,th:Hk,td:jk,blockquote:Fk,code:Vk,img:Gk,pre:({children:e})=>e,sup:Uk,sub:qk,p:Yk,section:$k},Vae=e=>{let t=/\[\^[^\]\s]{1,200}\](?!:)/.test(e),n=/\[\^[^\]\s]{1,200}\]:/.test(e);if(t||n)return[e];let r=ua.lex(e,{gfm:!0}),a=[],s=[];for(let o=0;o<r.length;o++){let u=r[o],c=u.raw;if(s.length>0){if(a[a.length-1]+=c,u.type==="html"){let f=c.match(/<\/(\w+)>/);if(f){let p=f[1];s[s.length-1]===p&&s.pop()}}continue}if(u.type==="html"&&u.block){let f=c.match(/<(\w+)[\s>]/);if(f){let p=f[1];c.includes(`</${p}>`)||s.push(p)}}if(c.trim()==="$$"&&a.length>0){let f=a.at(-1);if(!f){a.push(c);continue}let p=f.trimStart().startsWith("$$"),m=(f.match(/\$\$/g)||[]).length;
825if(p&&m%2===1){a[a.length-1]=f+c;continue}}if(a.length>0&&c.trimEnd().endsWith("$$")){let f=a.at(-1);if(!f){a.push(c);continue}let p=f.trimStart().startsWith("$$"),m=(f.match(/\$\$/g)||[]).length,b=(c.match(/\$\$/g)||[]).length;if(p&&m%2===1&&!c.trimStart().startsWith("$$")&&b===1){a[a.length-1]=f+c;continue}}a.push(c)}return a},Gae=/(!?\[)([^\]]*?)$/,Yae=/(\*\*)([^*]*?)$/,Qae=/(__)([^_]*?)$/,Wae=/(\*\*\*)([^*]*?)$/,Xae=/(\*)([^*]*?)$/,Kae=/(_)([^_]*?)$/,Zae=/(`)([^`]*?)$/,Jae=/(~~)([^~]*?)$/,Om=e=>{let t=(e.match(/```/g)||[]).length;return t>0&&t%2===0&&e.includes(`
826`)},eie=e=>{let t=/(!?)\[([^\]]+)\]\(([^)]+)$/,n=e.match(t);if(n){let a=n[1]==="!",s=n[2],o=n[3],u=e.lastIndexOf(`${a?"!":""}[${s}](${o}`),c=e.substring(0,u);return a?c:`${c}[${s}](streamdown:incomplete-link)`}let r=e.match(Gae);if(r){if(r[1].startsWith("!")){let a=e.lastIndexOf(r[1]);return e.substring(0,a)}return`${e}](streamdown:incomplete-link)`}return e},tie=e=>{if(Om(e))return e;let t=e.match(Yae);if(t){let n=t[2];if(!n||/^[\s_~*`]*$/.test(n))return e;let r=e.lastIndexOf(t[1]),a=e.substring(0,r).lastIndexOf(`
827`),s=a===-1?0:a+1,o=e.substring(s,r);if(/^[\s]*[-*+][\s]+$/.test(o)&&n.includes(`
828`))return e;if((e.match(/\*\*/g)||[]).length%2===1)return`${e}**`}return e},nie=e=>{let t=e.match(Qae);if(t){let n=t[2];if(!n||/^[\s_~*`]*$/.test(n))return e;let r=e.lastIndexOf(t[1]),a=e.substring(0,r).lastIndexOf(`
829`),s=a===-1?0:a+1,o=e.substring(s,r);if(/^[\s]*[-*+][\s]+$/.test(o)&&n.includes(`
830`))return e;if((e.match(/__/g)||[]).length%2===1)return`${e}__`}return e},rie=e=>e.split("").reduce((t,n,r)=>{if(n==="*"){let a=e[r-1],s=e[r+1];if(a==="\\")return t;let o=r;for(let u=r-1;u>=0;u--){if(e[u]===`
831`){o=u+1;break}if(u===0){o=0;break}}if(e.substring(o,r).trim()===""&&(s===" "||s==="	"))return t;if(a!=="*"&&s!=="*")return t+1}return t},0),aie=e=>{if(Om(e))return e;if(e.match(Xae)){let t=-1;for(let r=0;r<e.length;r++)if(e[r]==="*"&&e[r-1]!=="*"&&e[r+1]!=="*"){t=r;break}if(t===-1)return e;let n=e.substring(t+1);if(!n||/^[\s_~*`]*$/.test(n))return e;if(rie(e)%2===1)return`${e}*`}return e},Qk=(e,t)=>{let n=!1,r=!1;for(let a=0;a<e.length&&a<t;a++){if(e[a]==="\\"&&e[a+1]==="$"){a++;continue}e[a]==="$"&&(e[a+1]==="$"?(r=!r,a++,n=!1):r||(n=!n))}return n||r},iie=e=>e.split("").reduce((t,n,r)=>{if(n==="_"){let a=e[r-1],s=e[r+1];if(a==="\\"||Qk(e,r)||a&&s&&/[\p{L}\p{N}_]/u.test(a)&&/[\p{L}\p{N}_]/u.test(s))return t;if(a!=="_"&&s!=="_")return t+1}return t},0),sie=e=>{if(Om(e))return e;if(e.match(Kae)){let t=-1;for(let r=0;r<e.length;r++)if(e[r]==="_"&&e[r-1]!=="_"&&e[r+1]!=="_"&&e[r-1]!=="\\"&&!Qk(e,r)){let a=r>0?e[r-1]:"",s=r<e.length-1?e[r+1]:"";if(a&&s&&/[\p{L}\p{N}_]/u.test(a)&&/[\p{L}\p{N}_]/u.test(s))continue;t=r;break}if(t===-1)return e;let n=e.substring(t+1);if(!n||/^[\s_~*`]*$/.test(n))return e;if(iie(e)%2===1){let r=e.match(/\n+$/);return r?`${e.slice(0,-r[0].length)}_${r[0]}`:`${e}_`}}return e},oie=(e,t)=>{let n=e.substring(t,t+3)==="```",r=t>0&&e.substring(t-1,t+2)==="```",a=t>1&&e.substring(t-2,t+1)==="```";return n||r||a},lie=e=>{let t=0;for(let n=0;n<e.length;n++)e[n]==="`"&&!oie(e,n)&&t++;return t},uie=e=>{if(e.match(/^```[^`\n]*```?$/)&&!e.includes(`
832`))return e.endsWith("``")&&!e.endsWith("```")?`${e}\``:e;let t=(e.match(/```/g)||[]).length,n=t%2===1;if(t>0&&t%2===0&&e.includes(`
833`)||(e.endsWith("```\n")||e.endsWith("```"))&&t%2===0)return e;let r=e.match(Zae);if(r&&!n){let a=r[2];if(!a||/^[\s_~*`]*$/.test(a))return e;if(lie(e)%2===1)return`${e}\``}return e},cie=e=>{let t=e.match(Jae);if(t){let n=t[2];if(!n||/^[\s_~*`]*$/.test(n))return e;if((e.match(/~~/g)||[]).length%2===1)return`${e}~~`}return e},die=e=>{if((e.match(/\$\$/g)||[]).length%2===0)return e;let t=e.indexOf("$$");return t!==-1&&e.indexOf(`
834`,t)!==-1&&!e.endsWith(`
835`)?`${e}
836$$`:`${e}$$`},fie=e=>{let t=0,n=e.match(/\*+/g)||[];for(let r of n){let a=r.length;a>=3&&(t+=Math.floor(a/3))}return t},hie=e=>{if(Om(e)||/^\*{4,}$/.test(e))return e;let t=e.match(Wae);if(t){let n=t[2];if(!n||/^[\s_~*`]*$/.test(n))return e;if(fie(e)%2===1)return`${e}***`}return e},mie=e=>{if(!e||typeof e!="string")return e;let t=e,n=eie(t);return n.endsWith("](streamdown:incomplete-link)")?n:(t=n,t=hie(t),t=tie(t),t=nie(t),t=aie(t),t=sie(t),t=uie(t),t=cie(t),t=die(t),t)},pie={harden:[aJ,{allowedImagePrefixes:["*"],allowedLinkPrefixes:["*"],defaultOrigin:void 0,allowDataImages:!0}],raw:zX,katex:[SY,{errorColor:"var(--color-muted-foreground)"}]},gie={gfm:[GZ,{}],math:[rJ,{singleDollarTextMath:!1}]},Wk=N.createContext(["github-light","github-dark"]),Xk=N.createContext(void 0),Iy=N.createContext(!0),j0=N.createContext({isAnimating:!1}),Kk=N.memo(({content:e,shouldParseIncompleteMarkdown:t,...n})=>{let r=N.useMemo(()=>typeof e=="string"&&t?mie(e.trim()):e,[e,t]);return x.jsx(Z$,{...n,children:r})},(e,t)=>e.content===t.content);Kk.displayName="Block";var Zk=N.memo(({children:e,parseIncompleteMarkdown:t=!0,components:n,rehypePlugins:r=Object.values(pie),remarkPlugins:a=Object.values(gie),className:s,shikiTheme:o=["github-light","github-dark"],mermaidConfig:u,controls:c=!0,isAnimating:f=!1,...p})=>{let m=N.useId(),b=N.useMemo(()=>Vae(typeof e=="string"?e:""),[e]);return x.jsx(Wk.Provider,{value:o,children:x.jsx(Xk.Provider,{value:u,children:x.jsx(Iy.Provider,{value:c,children:x.jsx(j0.Provider,{value:{isAnimating:f},children:x.jsx("div",{className:gt("space-y-4",s),children:b.map((y,_)=>x.jsx(Kk,{components:{...$ae,...n},content:y,rehypePlugins:r,remarkPlugins:a,shouldParseIncompleteMarkdown:t,...p},`${m}-block-${_}`))})})})})})},(e,t)=>e.children===t.children&&e.shikiTheme===t.shikiTheme&&e.isAnimating===t.isAnimating);Zk.displayName="Streamdown";function bie({messages:e,onSendMessage:t,isLoading:n=!1,placeholder:r="Type your message...",className:a,height:s="600px",emptyStateMessage:o="Start a conversation with AI",suggestedPrompts:u}){const[c,f]=N.useState(""),p=N.useRef(null),m=N.useRef(null),b=N.useRef(null),y=N.useRef(null),_=e.filter(F=>F.role!=="system"),[w,k]=N.useState(0);N.useEffect(()=>{if(m.current&&b.current){const F=m.current.offsetHeight,H=b.current.offsetHeight,K=F-H-32-56;k(Math.max(0,K))}},[]);const A=()=>{const F=p.current?.querySelector("[data-radix-scroll-area-viewport]");F&&requestAnimationFrame(()=>{F.scrollTo({top:F.scrollHeight,behavior:"smooth"})})},R=F=>{F.preventDefault();const H=c.trim();!H||n||(t(H),f(""),A(),y.current?.focus())},D=F=>{F.key==="Enter"&&!F.shiftKey&&(F.preventDefault(),R(F))};return x.jsxs("div",{"data-loc":"client/src/components/AIChatBox.tsx:191",ref:m,className:Tn("flex flex-col bg-card text-card-foreground rounded-lg border shadow-sm",a),style:{height:s},children:[x.jsx("div",{"data-loc":"client/src/components/AIChatBox.tsx:200",ref:p,className:"flex-1 overflow-hidden",children:_.length===0?x.jsx("div",{"data-loc":"client/src/components/AIChatBox.tsx:202",className:"flex h-full flex-col p-4",children:x.jsxs("div",{"data-loc":"client/src/components/AIChatBox.tsx:203",className:"flex flex-1 flex-col items-center justify-center gap-6 text-muted-foreground",children:[x.jsxs("div",{"data-loc":"client/src/components/AIChatBox.tsx:204",className:"flex flex-col items-center gap-3",children:[x.jsx(Ff,{"data-loc":"client/src/components/AIChatBox.tsx:205",className:"size-12 opacity-20"}),x.jsx("p",{"data-loc":"client/src/components/AIChatBox.tsx:206",className:"text-sm",children:o})]}),u&&u.length>0&&x.jsx("div",{"data-loc":"client/src/components/AIChatBox.tsx:210",className:"flex max-w-2xl flex-wrap justify-center gap-2",children:u.map((F,H)=>x.jsx("button",{"data-loc":"client/src/components/AIChatBox.tsx:212",onClick:()=>t(F),disabled:n,className:"rounded-lg border border-border bg-card px-4 py-2 text-sm transition-colors hover:bg-accent disabled:cursor-not-allowed disabled:opacity-50",children:F},H))})]})}):x.jsx(Vj,{"data-loc":"client/src/components/AIChatBox.tsx:226",className:"h-full",children:x.jsxs("div",{"data-loc":"client/src/components/AIChatBox.tsx:227",className:"flex flex-col space-y-4 p-4",children:[_.map((F,H)=>{const z=H===_.length-1&&!n&&w>0;return x.jsxs("div",{"data-loc":"client/src/components/AIChatBox.tsx:235",className:Tn("flex gap-3",F.role==="user"?"justify-end items-start":"justify-start items-start"),style:z?{minHeight:`${w}px`}:void 0,children:[F.role==="assistant"&&x.jsx("div",{"data-loc":"client/src/components/AIChatBox.tsx:250",className:"size-8 shrink-0 mt-1 rounded-full bg-primary/10 flex items-center justify-center",children:x.jsx(Ff,{"data-loc":"client/src/components/AIChatBox.tsx:251",className:"size-4 text-primary"})}),x.jsx("div",{"data-loc":"client/src/components/AIChatBox.tsx:255",className:Tn("max-w-[80%] rounded-lg px-4 py-2.5",F.role==="user"?"bg-primary text-primary-foreground":"bg-muted text-foreground"),children:F.role==="assistant"?x.jsx("div",{"data-loc":"client/src/components/AIChatBox.tsx:264",className:"prose prose-sm dark:prose-invert max-w-none",children:x.jsx(Zk,{"data-loc":"client/src/components/AIChatBox.tsx:265",children:F.content})}):x.jsx("p",{"data-loc":"client/src/components/AIChatBox.tsx:268",className:"whitespace-pre-wrap text-sm",children:F.content})}),F.role==="user"&&x.jsx("div",{"data-loc":"client/src/components/AIChatBox.tsx:275",className:"size-8 shrink-0 mt-1 rounded-full bg-secondary flex items-center justify-center",children:x.jsx(kz,{"data-loc":"client/src/components/AIChatBox.tsx:276",className:"size-4 text-secondary-foreground"})})]},H)}),n&&x.jsxs("div",{"data-loc":"client/src/components/AIChatBox.tsx:284",className:"flex items-start gap-3",style:w>0?{minHeight:`${w}px`}:void 0,children:[x.jsx("div",{"data-loc":"client/src/components/AIChatBox.tsx:292",className:"size-8 shrink-0 mt-1 rounded-full bg-primary/10 flex items-center justify-center",children:x.jsx(Ff,{"data-loc":"client/src/components/AIChatBox.tsx:293",className:"size-4 text-primary"})}),x.jsx("div",{"data-loc":"client/src/components/AIChatBox.tsx:295",className:"rounded-lg bg-muted px-4 py-2.5",children:x.jsx(B2,{"data-loc":"client/src/components/AIChatBox.tsx:296",className:"size-4 animate-spin text-muted-foreground"})})]})]})})}),x.jsxs("form",{"data-loc":"client/src/components/AIChatBox.tsx:306",ref:b,onSubmit:R,className:"flex gap-2 p-4 border-t bg-background/50 items-end",children:[x.jsx(u4,{"data-loc":"client/src/components/AIChatBox.tsx:311",ref:y,value:c,onChange:F=>f(F.target.value),onKeyDown:D,placeholder:r,"aria-label":"Escriba su consulta general",className:"flex-1 max-h-32 resize-none min-h-9",rows:1}),x.jsx(o0,{"data-loc":"client/src/components/AIChatBox.tsx:321",type:"submit",size:"icon",disabled:!c.trim()||n,className:"shrink-0 h-[38px] w-[38px]","aria-label":"Enviar mensaje al asistente",children:n?x.jsx(B2,{"data-loc":"client/src/components/AIChatBox.tsx:329",className:"size-4 animate-spin"}):x.jsx(Sz,{"data-loc":"client/src/components/AIChatBox.tsx:331",className:"size-4"})})]})]})}const yie="https://wa.me/5493804505395?text=Hola%2C%20quisiera%20coordinar%20una%20consulta%20con%20el%20Estudio%20Jur%C3%ADdico%20Montaperto.",G7={name:"",email:"",ph
836one:"",area:"general",preferredDate:"",preferredTime:"evening",notes:"",acceptedPrivacy:!1,website:""};function vie(){const e=typeof window<"u"?window.location.hash:"",[t,n]=N.useState(()=>e==="#asistente"||e==="#entrevista"),[r,a]=N.useState([]),[s,o]=N.useState("continue"),[u,c]=N.useState(()=>e==="#entrevista"),[f,p]=N.useState(G7),[m,b]=N.useState(!1),y=N.useMemo(()=>new Date().toISOString().slice(0,10),[]);N.useEffect(()=>(document.body.classList.toggle("legal-assistant-open",t),()=>document.body.classList.remove("legal-assistant-open")),[t]);const _=e0.assistant.chat.useMutation({onSuccess:D=>{a(F=>[...F,{role:"assistant",content:D.reply}]),o(D.suggestedAction),D.suggestedAction==="interview"&&c(!0)},onError:D=>{a(F=>[...F,{role:"assistant",content:D.message||"No pude responder en este momento. Puede continuar por WhatsApp o mediante el formulario de consulta."}])}}),w=e0.assistant.requestInterview.useMutation({onSuccess:()=>{b(!0),p(G7),zc.success("Solicitud de entrevista registrada",{description:"La fecha queda sujeta a confirmación del estudio."})},onError:D=>zc.error("No fue posible registrar la solicitud",{description:D.message})}),k=D=>{const F=[...r,{role:"user",content:D}];a(F),o("continue"),_.mutate({messages:F.slice(-8)})},A=D=>F=>p(H=>({...H,[D]:F.target.value})),R=D=>{if(D.preventDefault(),b(!1),!f.acceptedPrivacy){zc.error("Debe aceptar el tratamiento de datos para solicitar la entrevista.");return}w.mutate({...f,acceptedPrivacy:!0})};return x.jsxs(Ej,{"data-loc":"client/src/components/LegalAssistant.tsx:102",open:t,onOpenChange:n,children:[x.jsx(_j,{"data-loc":"client/src/components/LegalAssistant.tsx:103",asChild:!0,children:x.jsxs("button",{"data-loc":"client/src/components/LegalAssistant.tsx:104",className:"legal-assistant-launcher",type:"button","aria-label":"Abrir asistente jurídico inteligente",children:[x.jsx("span",{"data-loc":"client/src/components/LegalAssistant.tsx:105",className:"legal-assistant-launcher__icon",children:x.jsx(Ff,{"data-loc":"client/src/components/LegalAssistant.tsx:105","aria-hidden":"true",size:19})}),x.jsxs("span",{"data-loc":"client/src/components/LegalAssistant.tsx:106",children:[x.jsx("small",{"data-loc":"client/src/components/LegalAssistant.tsx:106",children:"Orientación inicial"}),x.jsx("strong",{"data-loc":"client/src/components/LegalAssistant.tsx:106",children:"Asistente inteligente"})]})]})}),x.jsxs(wj,{"data-loc":"client/src/components/LegalAssistant.tsx:110",className:"legal-assistant-dialog",children:[x.jsxs(Sj,{"data-loc":"client/src/components/LegalAssistant.tsx:111",className:"legal-assistant-header",children:[x.jsxs("div",{"data-loc":"client/src/components/LegalAssistant.tsx:112",className:"legal-assistant-kicker",children:[x.jsx(uz,{"data-loc":"client/src/components/LegalAssistant.tsx:112","aria-hidden":"true",size:18})," Mesa de ingreso digital · GPT-5 mini"]}),x.jsx(Aj,{"data-loc":"client/src/components/LegalAssistant.tsx:113",children:"Ordene su consulta antes de hablar con el estudio."}),x.jsx(Cj,{"data-loc":"client/src/components/LegalAssistant.tsx:114",children:"Orientación general asistida por IA. No brinda asesoramiento jurídico, no reemplaza la intervención profesional y no confirma turnos automáticamente."})]}),x.jsxs("div",{"data-loc":"client/src/components/LegalAssistant.tsx:119",className:"legal-assistant-privacy",children:[x.jsx(GT,{"data-loc":"client/src/components/LegalAssistant.tsx:120","aria-hidden":"true",size:16}),"No incluya documentos, datos de menores, contraseñas, números de expediente ni información sensible de terceros."]}),x.jsxs("div",{"data-loc":"client/src/components/LegalAssistant.tsx:124",className:"legal-assistant-layout",children:[x.jsxs("div",{"data-loc":"client/src/components/LegalAssistant.tsx:125",className:"legal-assistant-chat",children:[x.jsx(bie,{"data-loc":"client/src/components/LegalAssistant.tsx:126",messages:r,onSendMessage:k,isLoading:_.isPending,height:"440px",placeholder:"Describa el tema de forma general…",emptyStateMessage:"Seleccione una orientación o escriba una consulta general.",suggestedPrompts:["Necesito orientación sobre un asunto penal","Tengo una consulta laboral","Quiero solicitar una entrevista"]}),x.jsxs("div",{"data-loc":"client/src/components/LegalAssistant.tsx:140",className:"legal-assistant-actions","aria-label":"Canales disponibles",children:[x.jsxs(o0,{"data-loc":"client/src/components/LegalAssistant.tsx:141",type:"button",variant:"outline",onClick:()=>c(D=>!D),children:[x.jsx(cz,{"data-loc":"client/src/components/LegalAssistant.tsx:142","aria-hidden":"true",size:16})," Solicitar entrevista"]}),x.jsxs("a",{"data-loc":"client/src/components/LegalAssistant.tsx:144",className:"legal-assistant-action-link",href:yie,target:"_blank",rel:"noreferrer",children:[x.jsx(Xh,{"data-loc":"client/src/components/LegalAssistant.tsx:145","aria-hidden":"true",size:16})," Continuar por WhatsApp"]}),x.jsxs("a",{"data-loc":"client/src/components/LegalAssistant.tsx:147",className:"legal-assistant-action-link",href:"#contacto",onClick:()=>n(!1),children:["Ir al formulario ",x.jsx(fn,{"data-loc":"client/src/components/LegalAssistant.tsx:148","aria-hidden":"true",size:15})]})]}),s!=="continue"&&x.jsxs("p",{"data-loc":"client/src/components/LegalAssistant.tsx:153",className:"legal-assistant-recommendation",role:"status",children:["Próximo paso sugerido: ",s==="interview"?"solicitar una entrevista":s==="whatsapp"?"contactar por WhatsApp":"completar el formulario","."]})]}),u&&x.jsxs("form",{"data-loc":"client/src/components/LegalAssistant.tsx:160",className:"assistant-interview-form",onSubmit:R,"aria-busy":w.isPending,children:[x.jsxs("div",{"data-loc":"client/src/components/LegalAssistant.tsx:161",children:[x.jsx("p",{"data-loc":"client/src/components/LegalAssistant.tsx:162",className:"form-overline",children:"Solicitud de entrevista"}),x.jsx("h3",{"data-loc":"client/src/components/LegalAssistant.tsx:163",children:"Indique una fecha preferida."}),x.jsx("p",{"data-loc":"client/src/components/LegalAssistant.tsx:164",children:"El envío no confirma el turno. El estudio se comunicará para acordar disponibilidad."})]}),x.jsxs("label",{"data-loc":"client/src/components/LegalAssistant.tsx:167",children:[x.jsx("span",{"data-loc":"client/src/components/LegalAssistant.tsx:167",children:"Nombre y apellido"}),x.jsx(Ka,{"data-loc":"client/src/components/LegalAssistant.tsx:167",value:f.name,onChange:A("name"),autoComplete:"name",required:!0})]}),x.jsxs("label",{"data-loc":"client/src/components/LegalAssistant.tsx:168",children:[x.jsx("span",{"data-loc":"client/src/components/LegalAssistant.tsx:168",children:"Correo electrónico"}),x.jsx(Ka,{"data-loc":"client/src/components/LegalAssistant.tsx:168",type:"email",value:f.email,onChange:A("email"),autoComplete:"email",required:!0})]}),x.jsxs("label",{"data-loc":"client/src/components/LegalAssistant.tsx:169",children:[x.jsx("span",{"data-loc":"client/src/components/LegalAssistant.tsx:169",children:"Teléfono o WhatsApp"}),x.jsx(Ka,{"data-loc":"client/src/components/LegalAssistant.tsx:169",type:"tel",value:f.phone,onChange:A("phone"),autoComplete:"tel",required:!0})]}),x.jsxs("label",{"data-loc":"client/src/components/LegalAssistant.tsx:170",children:[x.jsx("span",{"data-loc":"client/src/components/LegalAssistant.tsx:170",children:"Área general"}),x.jsxs("select",{"data-loc":"client/src/components/LegalAssistant.tsx:171",value:f.area,onChange:A("area"),required:!0,children:[x.jsx("option",{"data-loc":"client/src/components/LegalAssistant.tsx:172",value:"general",children:"Orientación general"}),x.jsx("option",{"data-loc":"client/src/components/LegalAssistant.tsx:173",value:"penal",children:"Penal"}),x.jsx("option",{"data-loc":"client/src/components/LegalAssistant.tsx:174",value:"laboral",children:"Laboral"}),x.jsx("option",{"data-loc":"client/src/components/LegalAssistant.tsx:175",value:"civil",children:"Civil"}),x.jsx("option",{"data-loc":"client/src/components/LegalAssistant.tsx:176",value:"nuevas_tecnologias",children:"Nuevas tecnologías"})]})]}),x.jsxs("div",{"data-loc":"client/src/components/LegalAssistant.tsx:179",className:"assistant-interview-row",children:[x.jsxs("label",{"data-loc":"client/src/components/LegalAssistant.tsx:180",children:[x.jsx("span",{"data-loc":"client/src/components/LegalAssistant.tsx:180",children:"Fecha preferida"}),x.jsx(Ka,{"data-loc":"client/src/components/LegalAssistant.tsx:180",type:"date",min:y,value:f.preferredDate,onChange:A("preferredDate"),required:!0})]}),x.jsxs("label",{"data-loc":"client/src/components/LegalAssistant.tsx:181",children:[x.jsx("span",{"data-loc":"client/src/components/LegalAssistant.tsx:181",children:"Franja horaria"}),x.jsxs("select",{"data-loc":"client/src/components/LegalAssistant.tsx:182",value:f.preferredTime,onChange:A("preferredTime"),required:!0,children:[x.jsx("option",{"data-loc":"client/src/components/LegalAssistant.tsx:183",value:"morning",children:"Mañana"}),x.jsx("option",{"data-loc":"client/src/components/LegalAssistant.tsx:184",value:"afternoon",children:"Tarde"}),x.jsx("option",{"data-loc":"client/src/components/LegalAssistant.tsx:185",value:"evening",children:"Noche"})]})]})]}),x.jsxs("label",{"data-loc":"client/src/components/LegalAssistant.tsx:189",children:[x.jsx("span",{"data-loc":"client/src/components/LegalAssistant.tsx:189",children:"Tema general"}),x.jsx(u4,{"data-loc":"client/src/components/LegalAssistant.tsx:189",rows:4,value:f.notes,onChange:A("notes"),placeholder:"Evite incorporar documentación o datos de terceros.",required:!0})]}),x.jsx(Ka,{"data-loc":"client/src/components/LegalAssistant.tsx:190",className:"form-honeypot",value:f.website,onChange:A("website"),tabIndex:-1,autoComplete:"off","aria-hidden":"true"}),x.jsxs("div",{"data-loc":"client/src/components/LegalAssistant.tsx:192",className:"assistant-interview-consent",children:[x.jsx(cw,{"data-loc":"client/src/components/LegalAssistant.tsx:193",id:"assistant-privacy",checked:f.acceptedPrivacy,onCheckedChange:D=>p(F=>({...F,acceptedPrivacy:D===!0}))}),x.jsx("label",{"data-loc":"client/src/components/LegalAssistant.tsx:198",htmlFor:"assistant-privacy",children:"Autorizo el tratamiento de estos datos para coordinar la entrevista y comprendo que la fecha requiere confirmación."})]}),m&&x.jsxs("p",{"data-loc":"client/src/components/LegalAssistant.tsx:201",className:"form-success",role:"status",children:[x.jsx($T,{"data-loc":"client/src/components/LegalAssistant.tsx:201","aria-hidden":"true",size:16})," Solicitud registrada. El estudio confirmará la disponibilidad."]}),x.jsx(o0,{"data-loc":"client/src/components/LegalAssistant.tsx:202",type:"submit",disabled:w.isPending,children:w.isPending?"Registrando…":"Solicitar entrevista"})]})]})]})]})}function xie(e){const t=e+"CollectionProvider",[n,r]=Vs(t),[a,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),o=w=>{const{scope:k,children:A}=w,R=we.useRef(null),D=we.useRef(new Map).current;return x.jsx(a,{scope:k,itemMap:D,collectionRef:R,children:A})};o.displayName=t;const u=e+"CollectionSlot",c=a0(u),f=we.forwardRef((w,k)=>{const{scope:A,children:R}=w,D=s(u,A),F=Kt(k,D.collectionRef);return x.jsx(c,{ref:F,children:R})});f.displayName=u;const p=e+"CollectionItemSlot",m="data-radix-collection-item",b=a0(p),y=we.forwardRef((w,k)=>{const{scope:A,children:R,...D}=w,F=we.useRef(null),H=Kt(k,F),P=s(p,A);return we.useEffect(()=>(P.itemMap.set(F,{ref:F,...D}),()=>void P.itemMap.delete(F))),x.jsx(b,{[m]:"",ref:H,children:R})});y.displayName=p;function _(w){const k=s(e+"CollectionConsumer",w);return we.useCallback(()=>{const R=k.collectionRef.current;if(!R)return[];const D=Array.from(R.querySelectorAll(`[${m}]`));return Array.from(k.itemMap.values()).sort((P,z)=>D.indexOf(P.ref.current)-D.indexOf(z.ref.current))},[k.collectionRef,k.itemMap])}return[{Provider:o,Slot:f,ItemSlot:y},_,r]}var Dm="Collapsible",[Eie,Jk]=Vs(Dm),[_ie,Ly]=Eie(Dm),eN=N.forwardRef((e,t)=>
vendor: 4,143 bytes, line 836
836{const{__scopeCollapsible:n,open:r,defaultOpen:a,disabled:s,onOpenChange:o,...u}=e,[c,f]=w0({prop:r,defaultProp:a??!1,onChange:o,caller:Dm});return x.jsx(_ie,{scope:n,disabled:s,contentId:Hc(),open:c,onOpenToggle:N.useCallback(()=>f(p=>!p),[f]),children:x.jsx(Bt.div,{"data-state":Py(c),"data-disabled":s?"":void 0,...u,ref:t})})});eN.displayName=Dm;var tN="CollapsibleTrigger",nN=N.forwardRef((e,t)=>{const{__scopeCollapsible:n,...r}=e,a=Ly(tN,n);return x.jsx(Bt.button,{type:"button","aria-controls":a.contentId,"aria-expanded":a.open||!1,"data-state":Py(a.open),"data-disabled":a.disabled?"":void 0,disabled:a.disabled,...r,ref:t,onClick:qt(e.onClick,a.onOpenToggle)})});nN.displayName=tN;var My="CollapsibleContent",rN=N.forwardRef((e,t)=>{const{forceMount:n,...r}=e,a=Ly(My,e.__scopeCollapsible);return x.jsx(Na,{present:n||a.open,children:({present:s})=>x.jsx(Tie,{...r,ref:t,present:s})})});rN.displayName=My;var Tie=N.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:r,children:a,...s}=e,o=Ly(My,n),[u,c]=N.useState(r),f=N.useRef(null),p=Kt(t,f),m=N.useRef(0),b=m.current,y=N.useRef(0),_=y.current,w=o.open||u,k=N.useRef(w),A=N.useRef(void 0);return N.useEffect(()=>{const R=requestAnimationFrame(()=>k.current=!1);return()=>cancelAnimationFrame(R)},[]),ri(()=>{const R=f.current;if(R){A.current=A.current||{transitionDuration:R.style.transitionDuration,animationName:R.style.animationName},R.style.transitionDuration="0s",R.style.animationName="none";const D=R.getBoundingClientRect();m.current=D.height,y.current=D.width,k.current||(R.style.transitionDuration=A.current.transitionDuration,R.style.animationName=A.current.animationName),c(r)}},[o.open,r]),x.jsx(Bt.div,{"data-state":Py(o.open),"data-disabled":o.disabled?"":void 0,id:o.contentId,hidden:!w,...s,ref:p,style:{"--radix-collapsible-content-height":b?`${b}px`:void 0,"--radix-collapsible-content-width":_?`${_}px`:void 0,...e.style},children:w&&a})});function Py(e){return e?"open":"closed"}var wie=eN,Sie=nN,Aie=rN,Da="Accordion",Cie=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[By,kie,Nie]=xie(Da),[Im]=Vs(Da,[Nie,Jk]),zy=Jk(),aN=we.forwardRef((e,t)=>{const{type:n,...r}=e,a=r,s=r;return x.jsx(By.Provider,{scope:e.__scopeAccordion,children:n==="multiple"?x.jsx(Iie,{...s,ref:t}):x.jsx(Die,{...a,ref:t})})});aN.displayName=Da;var[iN,Rie]=Im(Da),[sN,Oie]=Im(Da,{collapsible:!1}),Die=we.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:a=()=>{},collapsible:s=!1,...o}=e,[u,c]=w0({prop:n,defaultProp:r??"",onChange:a,caller:Da});return x.jsx(iN,{scope:e.__scopeAccordion,value:we.useMemo(()=>u?[u]:[],[u]),onItemOpen:c,onItemClose:we.useCallback(()=>s&&c(""),[s,c]),children:x.jsx(sN,{scope:e.__scopeAccordion,collapsible:s,children:x.jsx(oN,{...o,ref:t})})})}),Iie=we.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:a=()=>{},...s}=e,[o,u]=w0({prop:n,defaultProp:r??[],onChange:a,caller:Da}),c=we.useCallback(p=>u((m=[])=>[...m,p]),[u]),f=we.useCallback(p=>u((m=[])=>m.filter(b=>b!==p)),[u]);return x.jsx(iN,{scope:e.__scopeAccordion,value:o,onItemOpen:c,onItemClose:f,children:x.jsx(sN,{scope:e.__scopeAccordion,collapsible:!0,children:x.jsx(oN,{...s,ref:t})})})}),[Lie,Lm]=Im(Da),oN=we.forwardRef((e,t)=>{const{__scopeAccordion:n,disabled:r,dir:a,orientation:s="vertical",...o}=e,u=we.useRef(null),c=Kt(u,t),f=kie(n),m=Fw(a)==="ltr",b=qt(e.onKeyDown,y=>{if(!Cie.includes(y.key))return;const _=y.target,w=f().filter(K=>!K.ref.current?.disabled),k=w.findIndex(K=>K.ref.current===_),A=w.length;if(k===-1)return;y.preventDefault();let R=k;const D=0,F=A-1,H=()=>{R=k+1,R>F&&(R=D)},P=()=>{R=k-1,R<D&&(R=F)};switch(y.key){case"Home":R=D;break;case"End":R=F;break;case"ArrowRight":s==="horizontal"&&(m?H():P());break;case"ArrowDown":s==="vertical"&&H();break;case"ArrowLeft":s==="horizontal"&&(m?P():H());break;case"ArrowUp":s==="vertical"&&P();break}const z=R%A;w[z].ref.current?.focus()});return x.jsx(Lie,{scope:n,disabled:r,direction:a,orientation:s,children:x.jsx(By.Slot,{scope:n,children:x.jsx(Bt.div,{...o,"data-orientation":s,ref:c,onKeyDown:r?void 0:b})})})}),Ih="AccordionItem",[Mie,Hy]=Im(Ih),lN=we.forwardRef((e,t)=>
836{const{__scopeAccordion:n,value:r,...a}=e,s=Lm(Ih,n),o=Rie(Ih,n),u=zy(n),c=Hc(),f=r&&o.value.includes(r)||!1,p=s.disabled||e.disabled;return x.jsx(Mie,{scope:n,open:f,disabled:p,triggerId:c,children:x.jsx(wie,{"data-orientation":s.orientation,"data-state":mN(f),...u,...a,ref:t,disabled:p,open:f,onOpenChange:m=>{m?o.onItemOpen(r):o.onItemClose(r)}})})});lN.displayName=Ih;var uN="AccordionHeader",cN=we.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,a=Lm(Da,n),s=Hy(uN,n);return x.jsx(Bt.h3,{"data-orientation":a.orientation,"data-state":mN(s.open),"data-disabled":s.disabled?"":void 0,...r,ref:t})});cN.displayName=uN;var Ib="AccordionTrigger",dN=we.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,a=Lm(Da,n),s=Hy(Ib,n),o=Oie(Ib,n),u=zy(n);return x.jsx(By.ItemSlot,{scope:n,children:x.jsx(Sie,{"aria-disabled":s.open&&!o.collapsible||void 0,"data-orientation":a.orientation,id:s.triggerId,...u,...r,ref:t})})});dN.displayName=Ib;var fN="AccordionContent",hN=we.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,a=Lm(Da,n),s=Hy(fN,n),o=zy(n);return x.jsx(Aie,{role:"region","aria-labelledby":s.triggerId,"data-orientation":a.orientation,...o,...r,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});hN.displayName=fN;function mN(e){return e?"open":"closed"}var Pie=aN,Bie=lN,zie=cN,Hie=dN,jie=hN;function Fie({...e}){return x.jsx(Pie,{"data-loc":"client/src/components/ui/accordion.tsx:10","data-slot":"accordion",...e})}function Uie({className:e,...t}){return x.jsx(Bie,{"data-loc":"client/src/components/ui/accordion.tsx:18","data-slot":"accordion-item",className:Tn("border-b last:border-b-0",e),...t})}function qie({className:e,children:t,...n}){return x.jsx(zie,{"data-loc":"client/src/components/ui/accordion.tsx:32",className:"flex",children:x.jsxs(Hie,{"data-loc":"client/src/components/ui/accordion.tsx:33","data-slot":"accordion-trigger",className:Tn("focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180",e),...n,children:[t,x.jsx(fz,{"data-loc":"client/src/components/ui/accordion.tsx:42",className:"text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200"})]})})}function $ie({className:e,children:t,...n}){return x.jsx(jie,{"data-loc":"client/src/components/ui/accordion.tsx:54","data-slot":"accordion-content",className:"data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm",...n,children:x.jsx("div",{"data-loc":"client/src/components/ui/accordion.tsx:59",className:Tn("pt-0 pb-4",e),children:t})})}const Vie=[{id:"primera-consulta",question:"¿Qué información conviene incluir en una primera consulta?",answer:"Resulta suficiente una explicación general del asunto, un medio de contacto y el canal preferido para recibir respuesta. El estudio analizará el modo apropiado de continuar y, de corresponder, coordinará una consulta profesional con la reserva necesaria."},{id:"areas-practica",question:"¿En qué materias interviene el estudio?",answer:"La práctica se orienta al derecho penal, laboral y civil, con una aproximación basada en la lectura técnica de los antecedentes, la evaluación de las alternativas disponibles y la estrategia procesal adecuada a cada caso."},{id:"documentacion",question:"¿Puedo enviar documentación o pruebas mediante el formulario?",answer:"No. El formulario es exclusivamente un canal de contacto inicial y no admite adjuntos. Para preservar la información y definir qué antecedentes son relevantes, el estudio indicará posteriormente el canal profesional adecuado para su remisión."},{id:"respuesta",question:"¿Por qué medio recibo respuesta a mi consulta?",answer:"Al enviar el formulario puede elegir WhatsApp, teléfono o correo electrónico como canal preferido. La respuesta se coordinará según la naturaleza del asunto, la disponibilidad y la información necesaria para encuadrar una primera entrevista."},{id:"presencial",question:"¿Es posible coordinar atención presencial?",answer:"Sí. La atención presencial se coordina previamente. El sitio incluye acceso a la ubicación del estudio en La Rioja para facilitar el recorrido y la organización de la consulta."}];function Gie(){return x.jsxs("section",{"data-loc":"client/src/components/FrequentlyAskedQuestions.tsx:48",id:"preguntas",className:"faq-section","aria-labelledby":"faq-title",children:[x.jsxs("div",{"data-loc":"client/src/components/FrequentlyAskedQuestions.tsx:49",className:"section-rail",children:[x.jsx("span",{"data-loc":"client/src/components/FrequentlyAskedQuestions.tsx:50",className:"section-number",children:"07"}),x.jsx("span",{"data-loc":"client/src/components/FrequentlyAskedQuestions.tsx:51",className:"section-label",children:"Preguntas frecuentes"})]}),x.jsxs("div",{"data-loc":"client/src/components/FrequentlyAskedQuestions.tsx:53",className:"faq-main",children:[x.jsxs("div",{"data-loc":"client/src/components/FrequentlyAskedQuestions.tsx:54",className:"faq-intro",children:[x.jsxs("div",{"data-loc":"client/src/components/FrequentlyAskedQuestions.tsx:55",children:[x.jsx("p",{"data-loc":"client/src/components/FrequentlyAskedQuestions.tsx:56",className:"overline",children:"Orientación inicial"}),x.jsx("h2",{"data-loc":"client/src/components/FrequentlyAskedQuestions.tsx:57",id:"faq-title",children:"Antes de la consulta, algunas respuestas útiles."})]}),x.jsx("p",{"data-loc":"client/src/components/FrequentlyAskedQuestions.tsx:59",children:"Esta información es institucional y está destinada a ordenar el primer contacto. No reemplaza la evaluación profesional de un caso concreto."})]}),x.jsx(Fie,{"data-loc":"client/src/components/FrequentlyAskedQuestions.tsx:64",type:"single",collapsible:!0,className:"faq-accordion",children:Vie.map((e,t)=>x.jsxs(Uie,{"data-loc":"client/src/components/FrequentlyAskedQuestions.tsx:66",value:e.id,className:"faq-item",children:[x.jsxs(qie,{"data-loc":"client/src/components/FrequentlyAskedQuestions.tsx:67",className:"faq-trigger",children:[x.jsx("span",{"data-loc":"client/src/components/FrequentlyAskedQuestions.tsx:68",className:"faq-index",children:String(t+1).padStart(2,"0")}),x.jsx("span",{"data-loc":"client/src/components/FrequentlyAskedQuestions.tsx:69",children:e.question})]}),x.jsx($ie,{"data-loc":"client/src/components/FrequentlyAskedQuestions.tsx:71",className:"faq-answer",children:x.jsx("p",{"data-loc":"client/src/components/FrequentlyAskedQuestions.tsx:72",children:e.answer})})]},e.id))}),x.jsxs("a",{"data-loc":"client/src/components/FrequentlyAskedQuestions.tsx:78",className:"faq-contact-link",href:"#contacto",children:["¿Su situación requiere una consulta? ",x.jsx("span",{"data-loc":"client/src/components/FrequentlyAskedQuestions.tsx:79",children:"Enviar una consulta inicial"}),x.jsx(fn,{"data-loc":"client/src/components/FrequentlyAskedQuestions.tsx:80","aria-hidden":"true",size:17,strokeWidth:1.7})]})]})]})}const pN="Av. Rivadavia 1197, La Rioja, Argentina",Yie=`Estudio Jurídico Montaperto, ${pN}`,gN=encodeURIComponent(Yie),f2=`https://www.google.com/maps/search/?api=1&query=${gN}`,Qie=`https://maps.google.com/maps?q=${gN}&t=&z=17&ie=UTF8&iwloc=&output=embed`;function Wie(){return x.jsxs("section",{"data-loc":"client/src/components/GoogleBusinessLocation.tsx:15",className:"google-business-panel","aria-labelledby":"google-business-title",children:[x.jsxs("div",{"data-loc":"client/src/components/GoogleBusinessLocation.tsx:16",className:"google-business-heading",children:[x.jsxs("div",{"data-loc":"client/src/components/GoogleBusinessLocation.tsx:17",children:[x.jsx("p",{"data-loc":"client/src/components/GoogleBusinessLocation.tsx:18",className:"form-overline",children:"Ubicación y referencias"}),x.jsx("h3",{"data-loc":"client/src/components/GoogleBusinessLocation.tsx:19",id:"google-business-title",children:"Encuentre el estudio y consulte sus referencias públicas."})]}),x.jsx(vz,{"data-loc":"client/src/components/GoogleBusinessLocation.tsx:21","aria-hidden":"true",size:24,strokeWidth:1.55})]}),x.jsx("div",{"data-loc":"client/src/components/GoogleBusinessLocation.tsx:24",className:"google-map-frame",children:x.jsx("iframe",{"data-loc":"client/src/components/GoogleBusinessLocation.tsx:25",className:"google-map",src:Qie,title:"Mapa de ubicación del Estudio Jurídico Dr. Montaperto",loading:"lazy",referrerPolicy:"no-referrer-when-downgrade"})}),x.jsxs("div",{"data-loc":"client/src/components/GoogleBusinessLocation.tsx:34",className:"google-business-footer",children:[x.jsxs("div",{"data-loc":"client/src/components/GoogleBusinessLocation.tsx:35",children:[x.jsx("span",{"data-loc":"client/src/components/GoogleBusinessLocation.tsx:36",className:"google-business-label",children:"Google Maps"}),x.jsxs("p",{"data-loc":"client/src/components/GoogleBusinessLocation.tsx:37",className:"google-business-status",children:["Ubicación institucional: ",pN,". Las calificaciones y reseñas, si se encuentran disponibles en Google, deben consultarse directamente en su fuente pública para conservar su contexto y vigencia."]})]}),x.jsxs("div",{"data-loc":"client/src/components/GoogleBusinessLocation.tsx:41",className:"google-business-actions",children:[x.jsxs("a",{"data-loc":"client/src/components/GoogleBusinessLocation.tsx:42",href:f2,target:"_blank",rel:"noreferrer",children:[x.jsx(Ez,{"data-loc":"client/src/components/GoogleBusinessLocation.tsx:43","aria-hidden":"true",size:16,strokeWidth:1.65})," Cómo llegar"]}),x.jsxs("a",{"data-loc":"client/src/components/GoogleBusinessLocation.tsx:45",href:f2,target:"_blank",rel:"noreferrer",children:[x.jsx(Az,{"data-loc":"client/src/components/GoogleBusinessLocation.tsx:46","aria-hidden":"true",size:16,strokeWidth:1.65})," Consultar reseñas"]}),x.jsxs("a",{"data-loc":"client/src/components/GoogleBusinessLocation.tsx:48",href:f2,target:"_blank",rel:"noreferrer","aria-label":"Abrir la ubicación en Google Maps",children:[x.jsx(pz,{"data-loc":"client/src/components/GoogleBusinessLocation.tsx:49","aria-hidden":"true",size:16,strokeWidth:1.65})," Abrir ficha"]})]})]})]})}const Pf=[{code:"G.04",label:"Fotografía institucional",title:"Recepción y biblioteca",image:"/manus-storage/montaperto-recepcion-certificados_bff06d6d.webp",alt:"Recepción del estudio con biblioteca jurídica y diplomas expuestos",href:"/manus-storage/montaperto-recepcion-certificados_bff06d6d.webp",category:"photos"},{code:"G.05",label:"Fotografía institucional",title:"Sala de espera",image:"/manus-storage/montaperto-sala-espera_1ebcebed.webp",alt:"Sala de espera del Estudio Jurídico Montaperto",href:"/manus-storage/montaperto-sala-espera_1ebcebed.webp",category:"photos"},{code:"G.06",label:"Fotografía institucional",title:"Biblioteca y diploma profesional",image:"/manus-storage/biblioteca-diploma-editorial_b0a0b5ef.png",alt:"Biblioteca jurídica del estudio con diploma profesional expuesto",href:"/manus-storage/biblioteca-diploma-editorial_b0a0b5ef.png",category:"photos"},{code:"G.09",label:"Fotografía institucional",title:"Despacho de trabajo",image:"/manus-storage/despacho-institucional-editorial_29ef576c.png",alt:"Dr. José Luis Montaperto trabajando en su despacho jurídico",href:"/manus-storage/despacho-institucional-editorial_29ef576c.png",category:"photos"},{code:"G.10",label:"Fotografía institucional",title:"Archivo litigante",image:"/manus-storage/despacho-panorama-editorial_a2255ddb.png",alt:"
836Vista panorámica del despacho jurídico y su biblioteca profesional",href:"/manus-storage/despacho-panorama-editorial_a2255ddb.png",category:"photos"},{code:"G.07",label:"Fotografía institucional",title:"Colección jurídica",image:"/manus-storage/montaperto-biblioteca-derecho_ebd6b935.webp",alt:"Colección de libros jurídicos de la biblioteca del estudio",href:"/manus-storage/montaperto-biblioteca-derecho_ebd6b935.webp",category:"photos"},{code:"G.08",label:"Fotografía institucional",title:"Archivo y formación",image:"/manus-storage/montaperto-biblioteca-diploma-detalle_689c668e.webp",alt:"Detalle de biblioteca jurídica y diploma expuesto en el estudio",href:"/manus-storage/montaperto-biblioteca-diploma-detalle_689c668e.webp",category:"photos"},{code:"C.01",label:"Certificado verificado",title:"GenAI for Legal Ethics and Practicality",href:"https://www.coursera.org/account/accomplishments/verify/8YJX5A72LWKK",category:"certificates",issuer:"Coursera",completed:"Agosto de 2026"},{code:"C.02",label:"Certificado verificado",title:"Artificial Intelligence and legal issues",href:"https://www.coursera.org/account/accomplishments/verify/GFAKHO02SVVN",category:"certificates",issuer:"Politecnico di Milano",completed:"Agosto de 2026"},{code:"C.03",label:"Certificado verificado",title:"AI & Law",href:"https://www.coursera.org/account/accomplishments/verify/QCE8HBUJ3FLV",category:"certificates",issuer:"Lund University",completed:"Agosto de 2026"},{code:"C.04",label:"Constancia académica",title:"Especialización en Magistratura",href:"/manus-storage/constancia-especializacion-magistratura-unr_be9f9e23.png",image:"/manus-storage/constancia-especializacion-magistratura-unr_be9f9e23.png",alt:"Constancia de cursado de la Especialización en Magistratura de la Universidad Nacional de Rosario",category:"certificates",issuer:"Universidad Nacional de Rosario",completed:"Promoción 2005/2006 · cursado acreditado"},{code:"C.05",label:"Constancia académica",title:"Maestría en Derecho Privado",href:"/manus-storage/constancia-maestria-derecho-privado-unr-correcta_f7f53720.png",image:"/manus-storage/constancia-maestria-derecho-privado-unr-correcta_f7f53720.png",alt:"Constancia de cursado de la Maestría en Derecho Privado de la Universidad Nacional de Rosario",category:"certificates",issuer:"Universidad Nacional de Rosario",completed:"Promoción 2003/2004 · cursado acreditado"},{code:"C.06",label:"Distinción profesional",title:"Premios Maxwell 2010 del Bicentenario",href:"/manus-storage/certificado-maxwell-2010_c31ed2e2.png",image:"/manus-storage/certificado-maxwell-2010_c31ed2e2.png",alt:"Reconocimiento Premios Maxwell 2010 del Bicentenario otorgado al Dr. José Luis Montaperto",category:"certificates",issuer:"La Rioja",completed:"Abril de 2010 · reconocimiento documentado"},{code:"C.07",label:"Programa institucional",title:"AI, Justice and the Rule of Law",href:"https://www.unesco.org/en/artificial-intelligence/rule-law",category:"certificates",issuer:"Saïd Business School · University of Oxford · UNESCO",completed:"Programa internacional · enlace institucional"}],Xie=[{id:"all",label:"Todo el archivo"},{id:"photos",label:"Fotos del estudio"},{id:"certificates",label:"Certificados"}],Kie={photos:{title:"Fotografías profesionales en preparación",body:"Esta sección se habilitará exclusivamente con retratos, instalaciones o imágenes del estudio cuya publicación haya sido expresamente autorizada."},certificates:{title:"Certificados en actualización",body:"Las constancias de formación se incorporan únicamente mediante enlaces de verificación y con datos de emisión identificables."}};function Zie(){const[e,t]=N.useState({}),[n,r]=N.useState("photos"),a=n==="all"?Pf:Pf.filter(o=>o.category===n),s=n==="all"?null:Kie[n];return x.jsxs("section",{"data-loc":"client/src/components/InstitutionalGallery.tsx:183",id:"galeria",className:"gallery-section","aria-labelledby":"galeria-title",children:[x.jsxs("div",{"data-loc":"client/src/components/InstitutionalGallery.tsx:184",className:"section-rail section-rail--dark",children:[x.jsx("span",{"data-loc":"client/src/components/InstitutionalGallery.tsx:185",className:"section-number",children:"05"}),x.jsx("span",{"data-loc":"client/src/components/InstitutionalGallery.tsx:186",className:"section-label",children:"Entorno profesional"})]}),x.jsxs("div",{"data-loc":"client/src/components/InstitutionalGallery.tsx:188",className:"gallery-main",children:[x.jsxs("div",{"data-loc":"client/src/components/InstitutionalGallery.tsx:189",className:"gallery-intro",children:[x.jsxs("div",{"data-loc":"client/src/components/InstitutionalGallery.tsx:190",children:[x.jsx("p",{"data-loc":"client/src/components/InstitutionalGallery.tsx:191",className:"overline overline--light",children:"Selección de registros"}),x.jsx("h2",{"data-loc":"client/src/components/InstitutionalGallery.tsx:192",id:"galeria-title",children:"Una práctica preparada para los desafíos actuales."})]}),x.jsx("p",{"data-loc":"client/src/components/InstitutionalGallery.tsx:194",children:"Fotografías auténticas del estudio y formación verificada. Los certificados digitales enlazan a su constancia pública y cada fotografía se presenta como registro del entorno profesional."}),x.jsxs("article",{"data-loc":"client/src/components/InstitutionalGallery.tsx:197",className:"gallery-feature-video","aria-label":"Mensaje institucional del estudio",children:[x.jsxs("div",{"data-loc":"client/src/components/InstitutionalGallery.tsx:198",className:"multimedia-frame",children:[x.jsx("iframe",{"data-loc":"client/src/components/InstitutionalGallery.tsx:199",src:"https://www.youtube-nocookie.com/embed/QK104LGrbT8?rel=0&modestbranding=1",title:"Mensaje institucional con voz",loading:"lazy",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0}),x.jsx("span",{"data-loc":"client/src/components/InstitutionalGallery.tsx:206",className:"multimedia-code",children:"V.01"})]}),x.jsx("p",{"data-loc":"client/src/components/InstitutionalGallery.tsx:208",children:"Mensaje institucional · video con voz"})]})]}),x.jsx("div",{"data-loc":"client/src/components/InstitutionalGallery.tsx:212",className:"gallery-filter-bar",role:"tablist","aria-label":"Filtrar archivo institucional",children:Xie.map(o=>x.jsxs("button",{"data-loc":"client/src/components/InstitutionalGallery.tsx:214",type:"button",className:`gallery-filter ${n===o.id?"gallery-filter--active":""}`,role:"tab","aria-selected":n===o.id,"aria-controls":"gallery-results",id:`gallery-filter-${o.id}`,onClick:()=>r(o.id),children:[o.label,x.jsx("span",{"data-loc":"client/src/components/InstitutionalGallery.tsx:225",children:o.id==="all"?Pf.length:Pf.filter(u=>u.category===o.id).length})]},o.id))}),a.length>0?x.jsx("div",{"data-loc":"client/src/components/InstitutionalGallery.tsx:231",className:"gallery-grid",id:"gallery-results",role:"tabpanel","aria-labelledby":`gallery-filter-${n}`,children:a.map((o,u)=>{const c=o.category==="certificates";return x.jsxs("a",{"data-loc":"client/src/components/InstitutionalGallery.tsx:235",className:`gallery-item ${!c&&e[o.code]?"gallery-item--loaded":""} ${c?"gallery-item--certificate":""}`,href:o.href,target:"_blank",rel:"noreferrer","aria-busy":!c&&!e[o.code],style:{"--gallery-delay":`${u*80}ms`},children:[x.jsxs("div",{"data-loc":"client/src/components/InstitutionalGallery.tsx:244",className:"gallery-image-wrap",children:[c&&!o.image?x.jsxs("div",{"data-loc":"client/src/components/InstitutionalGallery.tsx:246",className:"gallery-certificate-sheet","aria-hidden":"true",children:[x.jsx("span",{"data-loc":"client/src/components/InstitutionalGallery.tsx:247",children:"Curso certificado"}),x.jsxs("strong",{"data-loc":"client/src/components/InstitutionalGallery.tsx:248",children:["FORMACIÓN",x.jsx("br",{"data-loc":"client/src/components/InstitutionalGallery.tsx:248"}),"VERIFICADA"]}),x.jsx("em",{"data-loc":"client/src/components/InstitutionalGallery.tsx:249",children:o.issuer})]}):x.jsx("img",{"data-loc":"client/src/components/InstitutionalGallery.tsx:252",className:e[o.co
836de]?"gallery-image--loaded":"",src:o.image,alt:o.alt,onLoad:()=>t(f=>({...f,[o.code]:!0}))}),c&&x.jsx("span",{"data-loc":"client/src/components/InstitutionalGallery.tsx:259",className:"gallery-certificate-badge",children:x.jsx(qT,{"data-loc":"client/src/components/InstitutionalGallery.tsx:259","aria-hidden":"true",size:17,strokeWidth:1.6})}),x.jsx("span",{"data-loc":"client/src/components/InstitutionalGallery.tsx:260",className:"gallery-code",children:o.code})]}),x.jsxs("div",{"data-loc":"client/src/components/InstitutionalGallery.tsx:262",className:"gallery-caption",children:[x.jsx("small",{"data-loc":"client/src/components/InstitutionalGallery.tsx:263",children:o.label}),x.jsx("h3",{"data-loc":"client/src/components/InstitutionalGallery.tsx:264",children:o.title}),c&&x.jsxs("p",{"data-loc":"client/src/components/InstitutionalGallery.tsx:265",children:[o.issuer," · ",o.completed]}),x.jsx(fn,{"data-loc":"client/src/components/InstitutionalGallery.tsx:266","aria-hidden":"true",size:18,strokeWidth:1.6})]})]},o.code)})}):x.jsxs("div",{"data-loc":"client/src/components/InstitutionalGallery.tsx:273",className:"gallery-empty",id:"gallery-results",role:"tabpanel","aria-labelledby":`gallery-filter-${n}`,children:[x.jsx("span",{"data-loc":"client/src/components/InstitutionalGallery.tsx:274",className:"gallery-empty-code",children:"ARCHIVO / PENDIENTE"}),x.jsx("h3",{"data-loc":"client/src/components/InstitutionalGallery.tsx:275",children:s?.title}),x.jsx("p",{"data-loc":"client/src/components/InstitutionalGallery.tsx:276",children:s?.body})]}),x.jsxs("div",{"data-loc":"client/src/components/InstitutionalGallery.tsx:280",className:"technology-note",children:[x.jsx("div",{"data-loc":"client/src/components/InstitutionalGallery.tsx:281",className:"technology-mark","aria-hidden":"true",children:"NT"}),x.jsxs("div",{"data-loc":"client/src/components/InstitutionalGallery.tsx:282",children:[x.jsx("p",{"data-loc":"client/src/components/InstitutionalGallery.tsx:283",className:"overline overline--light",children:"Especialización"}),x.jsx("h3",{"data-loc":"client/src/components/InstitutionalGallery.tsx:284",children:"Nuevas tecnologías aplicadas al derecho."})]}),x.jsx("p",{"data-loc":"client/src/components/InstitutionalGallery.tsx:286",children:"El estudio incorpora una mirada especializada sobre inteligencia artificial, innovación jurídica y transformación digital, con criterio técnico, responsabilidad profesional y atención a la protección de la información."}),x.jsxs("a",{"data-loc":"client/src/components/InstitutionalGallery.tsx:289",href:"https://www.youtube.com/@joseluismontaperto4700",target:"_blank",rel:"noreferrer",className:"technology-link",children:[x.jsx(YT,{"data-loc":"client/src/components/InstitutionalGallery.tsx:290","aria-hidden":"true",size:18,strokeWidth:1.65})," Canal audiovisual ",x.jsx(fn,{"data-loc":"client/src/components/InstitutionalGallery.tsx:290","aria-hidden":"true",size:16,strokeWidth:1.65})]})]})]})]})}function Jie({onNavigate:e,whatsappHref:t}){return x.jsxs("nav",{"data-loc":"client/src/components/MobileConsultNavigation.tsx:14",className:"mobile-nav","aria-label":"Navegación móvil",children:[x.jsx("a",{"data-loc":"client/src/components/MobileConsultNavigation.tsx:15",href:"#estudio",onClick:e,children:"Estudio"}),x.jsx("a",{"data-loc":"client/src/components/MobileConsultNavigation.tsx:16",href:"#practica",onClick:e,children:"Áreas de práctica"}),x.jsx("a",{"data-loc":"client/src/components/MobileConsultNavigation.tsx:17",href:"#metodo",onClick:e,children:"Forma de trabajo"}),x.jsx("a",{"data-loc":"client/src/components/MobileConsultNavigation.tsx:18",href:"#galeria",onClick:e,children:"Entorno profesional"}),x.jsx("a",{"data-loc":"client/src/components/MobileConsultNavigation.tsx:19",href:"#recorrido",onClick:e,children:"Recorrido virtual"}),x.jsx("a",{"data-loc":"client/src/components/MobileConsultNavigation.tsx:20",href:"#actualidad",onClick:e,children:"Actualidad"}),x.jsx("a",{"data-loc":"client/src/components/MobileConsultNavigation.tsx:21",href:"#opiniones",onClick:e,children:"Opiniones"}),x.jsx("a",{"data-loc":"client/src/components/MobileConsultNavigation.tsx:22",href:"#preguntas",onClick:e,children:"Preguntas frecuentes"}),x.jsx("a",{"data-loc":"client/src/components/MobileConsultNavigation.tsx:23",href:"#contacto",onClick:e,children:"Formulario de consulta"}),x.jsxs("a",{"data-loc":"client/src/components/MobileConsultNavigation.tsx:24",className:"mobile-nav-whatsapp",href:t,target:"_blank",rel:"noreferrer",onClick:e,children:[x.jsx(Xh,{"data-loc":"client/src/components/MobileConsultNavigation.tsx:25","aria-hidden":"true",size:17,strokeWidth:1.7})," Consulta por WhatsApp ",x.jsx(fn,{"data-loc":"client/src/components/MobileConsultNavigation.tsx:25","aria-hidden":"true",size:15,strokeWidth:1.7})]})]})}const ese=[{code:"V.02",title:"Registro audiovisual del estudio",description:"Una pieza del canal institucional acerca el enfoque profesional del estudio en un registro independiente.",videoId:"2aZfEGhVtDU",source:"YouTube · Presentación del Estudio Jurídico Dr. Montaperto & Asociados"}];function tse({whatsappHref:e}){return x.jsxs("section",{"data-loc":"client/src/components/MultimediaTour.tsx:23",id:"recorrido",className:"multimedia-section","aria-labelledby":"recorrido-title",children:[x.jsxs("div",{"data-loc":"client/src/components/MultimediaTour.tsx:24",className:"section-rail section-rail--dark",children:[x.jsx("span",{"data-loc":"client/src/components/MultimediaTour.tsx:25",className:"section-number",children:"06"}),x.jsx("span",{"data-loc":"client/src/components/MultimediaTour.tsx:26",className:"section-label",children:"Recorrido virtual"})]}),x.jsxs("div",{"data-loc":"client/src/components/MultimediaTour.tsx:29",className:"multimedia-main",children:[x.jsxs("div",{"data-loc":"client/src/components/MultimediaTour.tsx:30",className:"multimedia-intro",children:[x.jsxs("div",{"data-loc":"client/src/components/MultimediaTour.tsx:31",children:[x.jsx("p",{"data-loc":"client/src/components/MultimediaTour.tsx:32",className:"overline overline--light",children:"Registro audiovisual"}),x.jsx("h2",{"data-loc":"client/src/components/MultimediaTour.tsx:33",id:"recorrido-title",children:"El estudio, más cerca."})]}),x.jsx("p",{"data-loc":"client/src/components/MultimediaTour.tsx:35",children:"Un registro audiovisual institucional para conocer el entorno profesional y acceder a las publicaciones institucionales desde su fuente original."}),x.jsxs("div",{"data-loc":"client/src/components/MultimediaTour.tsx:38",className:"experience-record","aria-label":"25 años de experiencia",children:[x.jsx("strong",{"data-loc":"client/src/components/MultimediaTour.tsx:39",children:"25"}),x.jsxs("span",{"data-loc":"client/src/components/MultimediaTour.tsx:40",children:["años de",x.jsx("br",{"data-loc":"client/src/components/MultimediaTour.tsx:40"}),"experiencia"]})]})]}),x.jsx("div",{"data-loc":"client/src/components/MultimediaTour.tsx:44",className:"multimedia-grid",children:ese.map((t,n)=>x.jsxs("article",{"data-loc":"client/src/components/MultimediaTour.tsx:4
8366",className:`multimedia-record multimedia-record--${n+1}`,children:[x.jsxs("div",{"data-loc":"client/src/components/MultimediaTour.tsx:47",className:"multimedia-frame",children:[x.jsx("iframe",{"data-loc":"client/src/components/MultimediaTour.tsx:48",src:`https://www.youtube-nocookie.com/embed/${t.videoId}?rel=0&modestbranding=1`,title:t.title,loading:"lazy",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0}),x.jsx("span",{"data-loc":"client/src/components/MultimediaTour.tsx:55",className:"multimedia-play","aria-hidden":"true",children:x.jsx(Tz,{"data-loc":"client/src/components/MultimediaTour.tsx:55",size:15,fill:"currentColor"})}),x.jsx("span",{"data-loc":"client/src/components/MultimediaTour.tsx:56",className:"multimedia-code",children:t.code})]}),x.jsxs("div",{"data-loc":"client/src/components/MultimediaTour.tsx:58",className:"multimedia-caption",children:[x.jsx("p",{"data-loc":"client/src/components/MultimediaTour.tsx:59",children:t.source}),x.jsx("h3",{"data-loc":"client/src/components/MultimediaTour.tsx:60",children:t.title}),x.jsx("span",{"data-loc":"client/src/components/MultimediaTour.tsx:61",children:t.description})]})]},t.code))}),x.jsxs("div",{"data-loc":"client/src/components/MultimediaTour.tsx:67",className:"multimedia-actions",children:[x.jsxs("a",{"data-loc":"client/src/components/MultimediaTour.tsx:68",href:"https://www.youtube.com/@joseluismontaperto4700",target:"_blank",rel:"noreferrer",className:"multimedia-channel-link multimedia-action-link multimedia-action-link--channel",children:[x.jsx(YT,{"data-loc":"client/src/components/MultimediaTour.tsx:74","aria-hidden":"true",size:18,strokeWidth:1.6}),"Explorar el canal institucional",x.jsx(fn,{"data-loc":"client/src/components/MultimediaTour.tsx:76","aria-hidden":"true",size:16,strokeWidth:1.6})]}),x.jsxs("a",{"data-loc":"client/src/components/MultimediaTour.tsx:78",href:e,target:"_blank",rel:"noreferrer",className:"multimedia-consult-link multimedia-action-link multimedia-action-link--consult",children:["Coordinar una consulta por WhatsApp",x.jsx(fn,{"data-loc":"client/src/components/MultimediaTour.tsx:85","aria-hidden":"true",size:16,strokeWidth:1.6})]})]})]})]})}function nse({sourceUrl:e}){return x.jsxs("section",{"data-loc":"client/src/components/PublicReviews.tsx:13",id:"opiniones",className:"reviews-section","aria-labelledby":"opiniones-title",children:[x.jsxs("div",{"data-loc":"client/src/components/PublicReviews.tsx:14",className:"section-rail section-rail--dark",children:[x.jsx("span",{"data-loc":"client/src/components/PublicReviews.tsx:15",className:"section-number",children:"06"}),x.jsx("span",{"data-loc":"client/src/components/PublicReviews.tsx:16",className:"section-label",children:"Confianza pública"})]}),x.jsxs("div",{"data-loc":"client/src/components/PublicReviews.tsx:18",className:"reviews-main",children:[x.jsxs("div",{"data-loc":"client/src/components/PublicReviews.tsx:19",className:"reviews-intro",children:[x.jsxs("div",{"data-loc":"client/src/components/PublicReviews.tsx:20",children:[x.jsx("p",{"data-loc":"client/src/components/PublicReviews.tsx:21",className:"overline overline--light",children:"Referencia de terceros"}),x.jsx("h2",{"data-loc":"client/src/components/PublicReviews.tsx:22",id:"opiniones-title",children:"La confianza también puede verificarse."})]}),x.jsx("p",{"data-loc":"client/src/components/PublicReviews.tsx:24",children:"La página institucional del estudio en Facebook concentra recomendaciones públicas. Para conservar su contexto, las opiniones se consultan directamente en la fuente original."})]}),x.jsxs("div",{"data-loc":"client/src/components/PublicReviews.tsx:29",className:"reviews-evidence","aria-label":"Métrica de recomendaciones públicas",children:[x.jsxs("div",{"data-loc":"client/src/components/PublicReviews.tsx:30",className:"review-metric",children:[x.jsx("strong",{"data-loc":"client/src/components/PublicReviews.tsx:31",children:"100%"}),x.jsx("span",{"data-loc":"client/src/components/PublicReviews.tsx:32",children:"recomienda"})]}),x.jsxs("div",{"data-loc":"client/src/components/PublicReviews.tsx:34",className:"review-metric",children:[x.jsx("strong",{"data-loc":"client/src/components/PublicReviews.tsx:35",children:"10"}),x.jsx("span",{"data-loc":"client/src/components/PublicReviews.tsx:36",children:"reseñas públicas"})]}),x.jsxs("div",{"data-loc":"client/src/components/PublicReviews.tsx:38",className:"review-source",children:[x.jsx("div",{"data-loc":"client/src/components/PublicReviews.tsx:39",className:"review-source-mark","aria-hidden":"true",children:x.jsx(qT,{"data-loc":"client/src/components/PublicReviews.tsx:39",size:21,strokeWidth:1.6})}),x.jsxs("div",{"data-loc":"client/src/components/PublicReviews.tsx:40",children:[x.jsx("p",{"data-loc":"client/src/components/PublicReviews.tsx:41",children:"Fuente institucional"}),x.jsxs("strong",{"data-loc":"client/src/components/PublicReviews.tsx:42",children:[x.jsx(VT,{"data-loc":"client/src/components/PublicReviews.tsx:42","aria-hidden":"true",size:16,strokeWidth:1.65})," Facebook · Estudio Jurídico Montaperto"]}),x.jsx("small",{"data-loc":"client/src/components/PublicReviews.tsx:43",children:"Indicador agregado visible en la página pública al momento de su verificación."})]})]})]}),x.jsxs("a",{"data-loc":"client/src/components/PublicReviews.tsx:48",className:"reviews-link",href:e,target:"_blank",rel:"noreferrer",children:["Consultar recomendaciones en la fuente oficial ",x.jsx(fn,{"data-loc":"client/src/components/PublicReviews.tsx:49","aria-hidden":"true",size:18,strokeWidth:1.65})]})]})]})}const tu={mark:"/manus-storage/montaperto-monogram_c718b93e.png",hero:"/manus-storage/montaperto-retrato-despac
836ho_bdebec17.webp",penal:"/manus-storage/montaperto-practice-penal_df3f9f29.jpg",laboral:"/manus-storage/montaperto-practice-laboral_a6583f0c.jpg",civil:"/manus-storage/montaperto-practice-civil_90d60920.jpg"},Eo={phoneDisplay:"+54 9 380 450-5395",phoneHref:"tel:+5493804505395",email:"[email protected]",emailHref:"mailto:[email protected]",whatsappHref:"https://wa.me/5493804505395?text=Hola%2C%20quisiera%20coordinar%20una%20consulta%20con%20el%20Estudio%20Jur%C3%ADdico%20Dr.%20Montaperto."},To={instagram:"https://www.instagram.com/estudiojuridicomontaperto/",facebook:"https://www.facebook.com/estudiojuridicomontaperto/",reviews:"https://www.facebook.com/estudiojuridicomontaperto/reviews",maps:"https://www.google.com/maps/search/?api=1&query=Av.%20Rivadavia%201197%2C%20La%20Rioja%2C%20Argentina"},rse=[{code:"IG · 01",network:"Instagram",title:"Un nuevo paso, el mismo compromiso de siempre.",body:"Actualidad institucional del estudio y la inauguración de un espacio de atención jurídica en La Rioja.",href:"https://www.instagram.com/reel/DYe4VTpAkGj/"},{code:"IG · 02",network:"Instagram",title:"Revista de análisis jurídico.",body:"Una línea de publicaciones orientada a compartir análisis y actualidad jurídica desde el estudio.",href:"https://www.instagram.com/p/DX0Q1__CVZG/"},{code:"FB · 01",network:"Facebook",title:"Actividad y comunicaciones institucionales.",body:"Novedades, información de atención y contenido jurídico publicado en la página oficial del estudio.",href:To.facebook}],ase=[{code:"A.01",title:"Derecho Penal",shortTitle:"Penal",description:"Defensa técnica, asistencia y estrategia procesal en cada etapa en que el caso exige una intervención rigurosa y oportuna.",image:tu.penal},{code:"A.02",title:"Derecho Laboral",shortTitle:"Laboral",description:"Patrocinio y asesoramiento en conflictos surgidos de relaciones de trabajo, con lectura precisa de los hechos y de la prueba disponible.",image:tu.laboral},{code:"A.03",title:"Derecho Civil",shortTitle:"Civil",description:"Intervención en controversias civiles y patrimoniales que requieren orden, previsión procesal y una estrategia fundada.",image:tu.civil}],ise=[{number:"01",notation:"ACTA · INGRESO",title:"Escuchar y ordenar",body:"Toda consulta comienza por delimitar los hechos relevantes, identificar documentación disponible y fijar un marco de confidencialidad profesional."},{number:"02",notation:"NOTA · ESTRATEGIA",title:"Definir estrategia",body:"El análisis jurídico se traduce en alternativas procesales claras, con información suficiente para que cada decisión sea comprendida."},{number:"03",notation:"ESTADO · SEGUIMIENTO",title:"Actuar con método",body:"La intervención se sostiene con seguimiento, preparación de la prueba y una comunicación responsable sobre el curso del asunto."}];function sse(){const[e,t]=N.useState(!1),[n,r]=N.useState(!1);N.useEffect(()=>{const s=()=>t(window.scrollY>32);return s(),window.addEventListener("scroll",s,{passive:!0}),()=>window.removeEventListener("scroll",s)},[]);const a=()=>r(!1);return x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:138",className:"site-shell overflow-x-clip bg-paper text-ink",children:[x.jsxs("header",{"data-loc":"client/src/pages/Home.tsx:139",className:`site-header ${e?"site-header--scrolled":""}`,children:[x.jsxs("a",{"data-loc":"client/src/pages/Home.tsx:140",className:"brand-lockup",href:"#inicio","aria-label":"Estudio Jurídico Dr. Montaperto, inicio",children:[x.jsx("img",{"data-loc":"client/src/pages/Home.tsx:141",className:"brand-mark",src:tu.mark,alt:""}),x.jsxs("span",{"data-loc":"client/src/pages/Home.tsx:142",className:"brand-name",children:[x.jsx("strong",{"data-loc":"client/src/pages/Home.tsx:143",children:"Estudio Jurídico"}),x.jsx("span",{"data-loc":"client/src/pages/Home.tsx:144",children:"Dr. Montaperto"}),x.jsx("em",{"data-loc":"client/src/pages/Home.tsx:145",children:"MONTAPERTO & ASOCIADOS"})]})]}),x.jsxs("nav",{"data-loc":"client/src/pages/Home.tsx:149",className:"desktop-nav","aria-label":"Navegación principal",children:[x.jsx("a",{"data-loc":"client/src/pages/Home.tsx:150",href:"#estudio",children:"Estudio"}),x.jsx("a",{"data-loc":"client/src/pages/Home.tsx:151",href:"#practica",children:"Práctica"}),x.jsx("a",{"data-loc":"client/src/pages/Home.tsx:152",href:"#metodo",children:"Método"}),x.jsx("a",{"data-loc":"client/src/pages/Home.tsx:153",href:"#galer
836ia",children:"Entorno"}),x.jsx("a",{"data-loc":"client/src/pages/Home.tsx:154",href:"#recorrido",children:"Recorrido"}),x.jsx("a",{"data-loc":"client/src/pages/Home.tsx:155",href:"#actualidad",children:"Actualidad"}),x.jsx("a",{"data-loc":"client/src/pages/Home.tsx:156",href:"#opiniones",children:"Opiniones"}),x.jsx("a",{"data-loc":"client/src/pages/Home.tsx:157",href:"#preguntas",children:"Preguntas"}),x.jsx("a",{"data-loc":"client/src/pages/Home.tsx:158",href:"#contacto",children:"Contacto"})]}),x.jsxs("a",{"data-loc":"client/src/pages/Home.tsx:161",className:"header-cta",href:"#contacto",children:["Coordinar consulta ",x.jsx(fn,{"data-loc":"client/src/pages/Home.tsx:162","aria-hidden":"true",size:15,strokeWidth:1.8})]}),x.jsx("button",{"data-loc":"client/src/pages/Home.tsx:165",className:"menu-trigger",type:"button",onClick:()=>r(s=>!s),"aria-label":"Abrir navegación","aria-expanded":n,children:x.jsx(xz,{"data-loc":"client/src/pages/Home.tsx:172","aria-hidden":"true",size:22,strokeWidth:1.7})})]}),n&&x.jsx(Jie,{"data-loc":"client/src/pages/Home.tsx:177",onNavigate:a,whatsappHref:Eo.whatsappHref}),x.jsxs("main",{"data-loc":"client/src/pages/Home.tsx:180",children:[x.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:181",id:"inicio",className:"hero-section","aria-labelledby":"hero-title",children:[x.jsx("img",{"data-loc":"client/src/pages/Home.tsx:182",className:"hero-image",src:tu.hero,alt:"Dr. José Luis Montaperto en su despacho profesional"}),x.jsx("div",{"data-loc":"client/src/pages/Home.tsx:183",className:"hero-overlay","aria-hidden":"true"}),x.jsx("div",{"data-loc":"client/src/pages/Home.tsx:184",className:"hero-grain","aria-hidden":"true"}),x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:185",className:"hero-layout",children:[x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:186",className:"hero-index",children:[x.jsx("span",{"data-loc":"client/src/pages/Home.tsx:187",className:"eyebrow eyebrow--light",children:"01 / Presentación"}),x.jsx("span",{"data-loc":"client/src/pages/Home.tsx:188",className:"vertical-rule","aria-hidden":"true"}),x.jsx("span",{"data-loc":"client/src/pages/Home.tsx:189",className:"hero-location",children:"La Rioja · Argentina"})]}),x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:191",className:"hero-copy reveal-up",children:[x.jsx("p",{"data-loc":"client/src/pages/Home.tsx:192",className:"hero-kicker",children:"Litigación y asesoramiento jurídico"}),x.jsxs("h1",{"data-loc":"client/src/pages/Home.tsx:193",id:"hero-title",children:["Su caso exige método.",x.jsx("br",{"data-loc":"client/src/pages/Home.tsx:193"}),"Su defensa, estrategia."]}),x.jsx("p",{"data-loc":"client/src/pages/Home.tsx:194",className:"hero-lede",children:"Abordaje técnico y comunicación clara para asuntos penales, laborales y civiles."}),x.jsxs("p",{"data-loc":"client/src/pages/Home.tsx:197",className:"hero-experience",children:[x.jsx("span",{"data-loc":"client/src/pages/Home.tsx:197",children:"25"})," años de experiencia profesional"]}),x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:198",className:"hero-actions",children:[x.jsxs("a",{"data-loc":"client/src/pages/Home.tsx:199",className:"button button--burgundy",href:"#contacto",children:["Coordinar consulta ",x.jsx(lz,{"data-loc":"client/src/pages/Home.tsx:200","aria-hidden":"true",size:18,strokeWidth:1.7})]}),x.jsxs("a",{"data-loc":"client/src/pages/Home.tsx:202",className:"text-link text-link--light",href:"#practica",children:["Ver áreas de práctica ",x.jsx(hz,{"data-loc":"client/src/pages/Home.tsx:203","aria-hidden":"true",size:18,strokeWidth:1.7})]})]})]}),x.jsx("div",{"data-loc":"client/src/pages/Home.tsx:207",className:"hero-folio","aria-hidden":"true",children:"EJ · 2026"})]})]}),x.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:211",id:"estudio",className:"content-section intro-section","aria-labelledby":"estudio-title",children:[x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:212",className:"section-rail",children:[x.jsx("span",{"data-loc":"client/src/pages/Home.tsx:213",className:"section-number",children:"02"}),x.jsx("span",{"data-loc":"client/src/pages/Home.tsx:214",className:"section-label",children:"El estudio"})]}),x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:216",className:"intro-content",children:[x.jsx("p",{"data-loc":"client/src/pages/Home.tsx:217",className:"overline",children:"Criterio jurídico con foco procesal"}),x.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:218",id:"estudio-title",children:"La técnica jurídica debe poder explicarse con claridad."}),x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:219",className:"intro-columns",children:[x.jsx("p",{"data-loc":"client/src/pages/Home.tsx:220",children:"El Estudio Jurídico Dr. Montaperto desarrolla una práctica orientada a la litigación y al asesoramiento en la Provincia de La Rioja. La intervención profesional parte de una lectura minuciosa del conflicto, de sus antecedentes y de la prueba disponible."}),x.jsx("p",{"data-loc":"client/src/pages/Home.tsx:223",children:"El objetivo no es simplificar artificialmente un caso complejo, sino brindar un marco de trabajo ordenado: qué se discute, qué alternativas existen y qué decisiones requieren atención inmediata."})]}),x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:227",className:"credentials-line",children:[x.jsx("span",{"data-loc":"client/src/pages/Home.tsx:228",children:"Abogado litigante"}),x.jsx("i",{"data-loc":"client/src/pages/Home.tsx:229","aria-hidden":"true"}),x.jsx("span",{"data-loc":"client/src/pages/Home.tsx:230",children:"Especialización en penal, laboral y civil"}),x.jsx("i",{"data-loc":"client/src/pages/Home.tsx:231","aria-hidden":"true"}),x.jsx("span",{"data-loc":"client/src/pages/Home.tsx:232",children:"25 años de experiencia profesional"}),x.jsx("i",{"data-loc":"client/src/pages/Home.tsx:233","aria-hidden":"true"}),x.jsx("span",{"data-loc":"client/src/pages/Home.tsx:234",children:"La Rioja, Argentina"})]})]})]}),x.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:239",id:"practica",className:"practice-section","aria-labelledby":"practica-title",children:[x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:240",className:"practice-heading-wrap",children:[x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:241",className:"section-rail section-rail--dark",children:[x.jsx("span",{"data-loc":"client/src/pages/Home.tsx:242",className:"section-number",children:"03"}),x.jsx("span",{"data-loc":"client/src/pages/Home.tsx:243",className:"section-label",children:"Áreas de práctica"})]}),x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:245",className:"practice-heading",children:[x.jsx("p",{"data-loc":"client/src/pages/Home.tsx:246",className:"overline overline--light",children:"Intervención fundada"}),x.jsxs("h2",{"data-loc":"client/src/pages/Home.tsx:247",id:"practica-title",children:["Cada materia exige",x.jsx("br",{"data-loc":"client/src/pages/Home.tsx:247"}),"una estrategia propia."]})]})]}),x.jsx("div",{"data-loc":"client/src/pages/Home.tsx:251",className:"practice-list",children:ase.map(s=>x.jsxs("article",{"data-loc":"client/src/pages/Home.tsx:253",className:"practice-item",children:[x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:254",className:"practice-key",children:[x.jsx("span",{"data-loc":"client/src/pages/Home.tsx:255",className:"practice-code",children:s.code}),x.jsx("span",{"data-loc":"client/src/pages/Home.tsx:256",className:"practice-key-label",children:"Materia"})]}),x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:258",className:"practice-copy",children:[x.jsx("p",{"data-loc":"client/src/pages/Home.tsx:259",className:"practice-type",children:"Índice de intervención"}),x.jsxs("h3",{"data-loc":"client/src/pages/Home.tsx:260",children:[x.jsx("span",{"data-loc":"client/src/pages/Home.tsx:260",children:s.shortTitle}),s.title]}),x.jsx("p",{"data-loc":"client/src/pages/Home.tsx:261",children:s.description}),x.jsxs("a",{"data-loc":"client/src/pages/Home.tsx:262",href:"#contacto",className:"inline-action",children:["Solicitar una primera orientación ",x.jsx(fn,{"data-loc":"client/src/pages/Home.tsx:263","aria-hidden":"true",size:15,strokeWidth:1.7})]})]}),x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:266",className:"practice-art",children:[x.jsx("img",{"data-loc":"client/src/pages/Home.tsx:267",src:s.image,alt:""}),x.jsx("div",{"data-loc":"client/src/pages/Home.tsx:268",className:"practice-art-shade","aria-hidden":"true"}),x.jsxs("span",{"data-loc":"client/src/pages/Home.tsx:269",children:["Ref. ",s.code]})]})]},s.code))})]}),x.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:276",id:"metodo",className:"method-section","aria-labelledby":"metodo-title",children:[x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:277",className:"method-intro",children:[x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:278",className:"section-rail",children:[x.jsx("span",{"data-loc":"client/src/pages/Home.tsx:279",className:"section-number",children:"04"}),x.jsx("span",{"data-loc":"client/src/pages/Home.tsx:280",className:"section-label",children:"Forma de trabajo"})]}),x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:282",children:[x.jsx("p",{"data-loc":"client/src/pages/Home.tsx:283",className:"overline",children:"Del primer intercambio a la actuación"}),x.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:284",id:"metodo-title",children:"Una intervención jurídica no se improvisa."})]})]}),x.jsx("div",{"data-loc":"client/src/pages/Home.tsx:288",className:"method-grid",children:ise.map(s=>x.jsxs("article",{"data-loc":"client/src/pages/Home.tsx:290",className:"method-card",children:[x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:291",className:"method-card-top",children:[x.jsx("span",{"data-loc":"client/src/pages/Home.tsx:292",children:s.number}),x.jsx("span",{"data-loc":"client/src/pages/Home.tsx:293",children:s.notation})]}),x.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:295",children:s.title}),x.jsx("p",{"data-loc":"client/src/pages/Home.tsx:296",children:s.body})]},s.number))})]}),x.jsx(Zie,{"data-loc":"client/src/pages/Home.tsx:302"}),x.jsx(tse,{"data-loc":"client/src/pages/Home.tsx:304",whatsappHref:Eo.whatsappHref}),x.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:306",id:"actualidad",className:"social-section","aria-labelledby":"actualidad-title",children:[x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:307",className:"section-rail",children:[x.jsx("span",{"data-loc":"client/src/pages/Home.tsx:308",className:"section-number",children:"07"}),x.jsx("span",{"data-loc":"client/src/pages/Home.tsx:309",className:"section-label",children:"Actualidad"})]}),x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:311",className:"social-main",children:[x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:312",className:"social-intro",children:[x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:313",children:[x.jsx("p",{"data-loc":"client/src/pages/Home.tsx:314",className:"overline",children:"Bitácora institucional"}),x.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:315",id:"actualidad-title",children:"El criterio también se comparte."}),x.jsx("p",{"data-loc":"client/src/pages/Home.tsx:316",children:"Bienvenidos al Estudio Jurídico Montaperto & Asociados. Somos abogados especializados en materias penales, laborales y civiles, con presencia institucional en La Rioja. Cada referencia abre la publicación original."})]}),x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:320",className:"social-directory","aria-label":"Canales oficiales del estudio",children:[x.jsxs("a",{"data-loc":"client/src/pages/Home.tsx:321",href:To.instagram,target:"_blank",rel:"noreferrer",className:"social-directory-link",children:[x.jsx(bz,{"data-loc":"client/src/pages/Home.tsx:322","aria-hidden":"true",size:19,strokeWidth:1.65}),x.jsxs("span",{"data-loc":"client/src/pages/Home.tsx:323",children:[x.jsx("small",{"data-loc":"client/src/pages/Home.tsx:323",children:"Instagram"}),x.jsx("strong",{"data-loc":"client/src/pages/Home.tsx:323",children:"@estudiojuridicomontaperto"}),x.jsx("em",{"data-loc":"client/src/pages/Home.tsx:323",children:"5,7 mil seguidores · 70 seguidos"})]}),x.jsx(fn,{"data-loc":"client/src/pages/Home.tsx:324","aria-hidden":"true",size:16,strokeWidth:1.65})]}),x.jsxs("a",{"data-loc":"client/src/pages/Home.tsx:326",href:To.facebook,target:"_blank",rel:"noreferrer",className:"social-directory-link",children:[x.jsx(VT,{"data-loc":"client/src/pages/Home.tsx:327","aria-hidden":"true",size:19,strokeWidth:1.65}),x.jsxs("span",{"data-loc":"client/src/pages/Home.tsx:328",children:[x.jsx("small",{"data-loc":"client/src/pages/Home.tsx:328",children:"Facebook"}),x.jsx("strong",{"data-loc":"client/src/pages/Home.tsx:328",children:"Estudio Jurídico Montaperto & Asociados"}),x.jsx("em",{"data-loc":"client/src/pages/Home.tsx:328",children:"Recomendado por el 100% · 10 opiniones"})]}),x.jsx(fn,{"data-loc":"client/src/pages/Home.tsx:329","aria-hidden":"true",size:16,strokeWidth:1.65})]})]})]}),x.jsx("div",{"data-loc":"client/src/pages/Home.tsx:334",className:"updates-list","aria-label":"Publicaciones destacadas de redes sociales",children:rse.map(s=>x.jsxs("a",{"data-loc":"client/src/pages/Home.tsx:336",href:s.href,target:"_blank",rel:"noreferrer",className:"update-entry",children:[x.jsx("span",{"data-loc":"client/src/pages/Home.tsx:337",className:"update-code",children:s.code}),x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:338",children:[x.jsx("p",{"data-loc":"client/src/pages/Home.tsx:339",className:"update-network",children:s.network}),x.jsx("h3",{"data-loc":"client/src/pages/Home.tsx:340",children:s.title}),x.jsx("p",{"data-loc":"client/src/pages/Home.tsx:341",children:s.body})]}),x.jsx(fn,{"data-loc":"client/src/pages/Home.tsx:343","aria-hidden":"true",size:20,strokeWidth:1.5})]},s.code))})]})]}),x.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:350",className:"statement-section","aria-label":"Principio de actuación profesional",children:[x.jsx("div",{"data-loc":"client/src/pages/Home.tsx:351",className:"statement-rule","aria-hidden":"true"}),x.jsx("p",{"data-loc":"client/src/pages/Home.tsx:352",className:"statement-label",children:"Principio de trabajo"}),x.jsx("blockquote",{"data-loc":"client/src/pages/Home.tsx:353",children:"“La estrategia jurídica comienza antes de la presentación: en la lectura cuida
836dosa de los hechos, los documentos y el riesgo procesal.”"}),x.jsx("span",{"data-loc":"client/src/pages/Home.tsx:356",className:"statement-signature",children:"Estudio Jurídico Dr. Montaperto"})]}),x.jsx(nse,{"data-loc":"client/src/pages/Home.tsx:359",sourceUrl:To.reviews}),x.jsx(Gie,{"data-loc":"client/src/pages/Home.tsx:361"}),x.jsxs("section",{"data-loc":"client/src/pages/Home.tsx:363",id:"contacto",className:"contact-section","aria-labelledby":"contacto-title",children:[x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:364",className:"contact-meta",children:[x.jsx("span",{"data-loc":"client/src/pages/Home.tsx:365",className:"section-number",children:"09"}),x.jsx("p",{"data-loc":"client/src/pages/Home.tsx:366",children:"Solicitud de consulta"})]}),x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:368",className:"contact-main",children:[x.jsx("p",{"data-loc":"client/src/pages/Home.tsx:369",className:"overline overline--light",children:"Primera consulta"}),x.jsx("h2",{"data-loc":"client/src/pages/Home.tsx:370",id:"contacto-title",children:"Un primer intercambio puede ordenar el próximo paso."}),x.jsx("p",{"data-loc":"client/src/pages/Home.tsx:371",children:"La atención se coordina previamente. El primer contacto permite ubicar el asunto, definir documentación relevante y establecer el canal adecuado para una consulta profesional con reserva."})]}),x.jsxs("aside",{"data-loc":"client/src/pages/Home.tsx:375",className:"contact-channels","aria-label":"Canales directos de consulta",children:[x.jsxs("a",{"data-loc":"client/src/pages/Home.tsx:376",className:"contact-channel",href:Eo.phoneHref,children:[x.jsx("span",{"data-loc":"client/src/pages/Home.tsx:377",className:"channel-icon",children:x.jsx(_z,{"data-loc":"client/src/pages/Home.tsx:377","aria-hidden":"true",size:18,strokeWidth:1.65})}),x.jsxs("span",{"data-loc":"client/src/pages/Home.tsx:378",className:"channel-copy",children:[x.jsx("small",{"data-loc":"client/src/pages/Home.tsx:379",children:"Teléfono"}),x.jsx("strong",{"data-loc":"client/src/pages/Home.tsx:380",children:Eo.phoneDisplay})]}),x.jsx(fn,{"data-loc":"client/src/pages/Home.tsx:382","aria-hidden":"true",size:16,strokeWidth:1.6})]}),x.jsxs("a",{"data-loc":"client/src/pages/Home.tsx:384",className:"contact-channel",href:Eo.emailHref,children:[x.jsx("span",{"data-loc":"client/src/pages/Home.tsx:385",className:"channel-icon",children:x.jsx(yz,{"data-loc":"client/src/pages/Home.tsx:385","aria-hidden":"true",size:18,strokeWidth:1.65})}),x.jsxs("span",{"data-loc":"client/src/pages/Home.tsx:386",className:"channel-copy",children:[x.jsx("small",{"data-loc":"client/src/pages/Home.tsx:387",children:"Correo electrónico"}),x.jsx("strong",{"data-loc":"client/src/pages/Home.tsx:388",children:Eo.email})]}),x.jsx(fn,{"data-loc":"client/src/pages/Home.tsx:390","aria-hidden":"true",size:16,strokeWidth:1.6})]}),x.jsxs("a",{"data-loc":"client/src/pages/Home.tsx:392",className:"contact-channel",href:Eo.whatsappHref,target:"_blank",rel:"noreferrer",children:[x.jsx("span",{"data-loc":"client/src/pages/Home.tsx:393",className:"channel-icon",children:x.jsx(Xh,{"data-loc":"client/src/pages/Home.tsx:393","aria-hidden":"true",size:18,strokeWidth:1.65})}),x.jsxs("span",{"data-loc":"client/src/pages/Home.tsx:394",className:"channel-copy",children:[x.jsx("small",{"data-loc":"client/src/pages/Home.tsx:395",children:"Mensaje directo"}),x.jsx("strong",{"data-loc":"client/src/pages/Home.tsx:396",children:"WhatsApp"})]}),x.jsx(fn,{"data-loc":"client/src/pages/Home.tsx:398","aria-hidden":"true",size:16,strokeWidth:1.6})]}),x.jsxs("a",{"data-loc":"client/src/pages/Home.tsx:400",className:"contact-channel contact-channel--visit",href:To.maps,target:"_blank",rel:"noreferrer",children:[x.jsx("span",{"data-loc":"client/src/pages/Home.tsx:401",className:"channel-icon",children:x.jsx(O5,{"data-loc":"client/src/pages/Home.tsx:401","aria-hidden":"true",size:18,strokeWidth:1.65})}),x.jsxs("span",{"data-loc":"client/src/pages/Home.tsx:402",className:"channel-copy",children:[x.jsx("small",{"data-loc":"client/src/pages/Home.tsx:403",children:"Atención presencial"}),x.jsx("strong",{"data-loc":"client/src/pages/Home.tsx:404",children:"Av. Rivadavia 1197 · La Rioja"}),x.jsxs("em",{"data-loc":"client/src/pages/Home.tsx:405",children:[x.jsx(O5,{"data-loc":"client/src/pages/Home.tsx:405","aria-hidden":"true",size:13,strokeWidth:1.65})," Ver ubicación y cómo llegar"]})]}),x.jsx(fn,{"data-loc":"client/src/pages/Home.tsx:407","aria-hidden":"true",size:16,strokeWidth:1.6})]})]}),x.jsx("div",{"data-loc":"client/src/pages/Home.tsx:410",className:"contact-map-wrap",children:x.jsx(Wie,{"data-loc":"client/src/pages/Home.tsx:411"})}),x.jsx("div",{"data-loc":"client/src/pages/Home.tsx:413",className:"contact-form-wrap",children:x.jsx(kj,{"data-loc":"client/src/pages/Home.tsx:414"})})]})]}),x.jsx(vie,{"data-loc":"client/src/pages/Home.tsx:419"}),x.jsxs("footer",{"data-loc":"client/src/pages/Home.tsx:421",className:"site-footer",children:[x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:422",className:"footer-brand",children:[x.jsx("img",{"data-loc":"client/src/pages/Home.tsx:423",className:"footer-mark",src:tu.mark,alt:""}),x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:424",children:[x.jsx("strong",{"data-loc":"client/src/pages/Home.tsx:425",children:"Estudio Jurídico Dr. Montaperto"}),x.jsx("span",{"data-loc":"client/src/pages/Home.tsx:426",children:"MONTAPERTO & ASOCIADOS · La Rioja, Argentina"})]})]}),x.jsx("p",{"data-loc":"client/src/pages/Home.tsx:429",className:"footer-disclaimer",children:"La información de este sitio es institucional y no constituye asesoramiento jurídico ni garantía de resultado."}),x.jsxs("div",{"data-loc":"client/src/pages/Home.tsx:432",className:"footer-end",children:[x.jsxs("a",{"data-loc":"client/src/pages/Home.tsx:433",href:To.instagram,target:"_blank",rel:"noreferrer",children:["Instagram ",x.jsx(fn,{"data-loc":"client/src/pages/Home.tsx:433","aria-hidden":"true",size:14,strokeWidth:1.6})]}),x.jsxs("a",{"data-loc":"client/src/pages/Home.tsx:434",href:To.facebook,target:"_blank",rel:"noreferrer",children:["Facebook ",x.jsx(fn,{"data-loc":"client/src/pages/Home.tsx:434","aria-hidden":"true",size:14,strokeWidth:1.6})]}),x.jsxs("span",{"data-loc":"client/src/pages/Home.tsx:435",children:["© ",new Date().getFullYear()]}),x.jsxs("a",{"data-loc":"client/src/pages/Home.tsx:436",href:"#inicio",children:["Volver al inicio ",x.jsx(fn,{"data-loc":"client/src/pages/Home.tsx:436","aria-hidden":"true",size:14,strokeWidth:1.6})]})]})]})]})}function ose(){return x.jsxs(Jz,{"data-loc":"client/src/App.tsx:17",children:[x.jsx(lg,{"data-loc":"client/src/App.tsx:18",path:"/",component:sse}),x.jsx(lg,{"data-loc":"client/src/App.tsx:19",path:"/404",component:H5}),x.jsx(lg,{"data-loc":"client/src/App.tsx:20",component:H5})]})}function lse(){return x.jsx(nH,{"data-loc":"client/src/App.tsx:27",children:x.jsx(aH,{"data-loc":"client/src/App.tsx:28",defaultTheme:"light",children:x.jsxs(ez,{"data-loc":"client/src/App.tsx:29",children:[x.jsx(sM,{"data-loc":"client/src/App.tsx:30"}),x.jsx(ose,{"data-loc":"client/src/App.tsx:31"}),x.jsx(tH,{"data-loc":"client/src/App.tsx:32"})]})})})}const use=()=>{const e="https://manus.im",t="4VUShnKQYzuqUh7XSnLffQ",n=`${window.location.origin}/api/oauth/callback`,r=crypto.randomUUID();document.cookie=`${UI}=${r}; Path=/; Max-Age=600; SameSite=None; Secure`;const a=qI({redirectUri:n,nonce:r}),s=new URL(`${e}/app-auth`);s.searchParams.set("appId",t),s.searchParams.set("redirectUri",n),s.searchParams.set("state",a),s.searchParams.set("type","signIn"),window.location.href=s.toString()},Lh=new sD,bN=e=>{!(e instanceof Jc)||typeof window>"u"||!(e.message===FI)||use()};Lh.getQueryCache().subscribe(e=>{if(e.type==="updated"&&e.action.type==="error"){const t=e.query.state.error;bN(t),console.error("[API Query Error]",t)}});Lh.getMutationCache().subscribe(e=>{if(e.type==="updated"&&e.action.type==="error"){const t=e.mutation.state.error;bN(t),console.error("[API Mutation Error]",t)}});const cse=e0.createClient({links:[hI({url:"/api/trpc",transformer:Yi,headers(){try{const e=sessionStorage.getItem("manus-cookie");if(e){const t=`${jI}=`,r=e.split(";").find(a=>a.trim().startsWith(t))?.trim().slice(t.length);if(r)return{Authorization:`Bearer ${r}`}}}catch{}return{}},fetch(e,t){return globalThis.fetch(e,{...t??{},credentials:"include"})}})]});WI.createRoot(document.getElementById("root")).render(x.jsx(e0.Provider,{"data-loc":"client/src/main.tsx:76",client:cse,queryClient:Lh,children:x.jsx(IO,{"data-loc":"client/src/main.tsx:77",client:Lh,children:x.jsx(lse,{"data-loc":"client/src/main.tsx:78"})})}));export{j as _,vse as a,Mh as g,It as k};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.