PageSourceSearch

https://darvismedia-hook-generator.manus.space/assets/index-BhsCAmKE.js

js darvismedia-hook-generator.manus.space collected 2026-10-03 05:01:15 UTC 1,532,786 bytes, 866 lines download raw bytes

vendor: 31,423 bytes, lines 1-10
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 vO(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 i=Object.getOwnPropertyDescriptor(r,a);i&&Object.defineProperty(e,a,i.get?i:{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 i of a)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(a){const i={};return a.integrity&&(i.integrity=a.integrity),a.referrerPolicy&&(i.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?i.credentials="include":a.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(a){if(a.ep)return;a.ep=!0;const i=n(a);fetch(a.href,i)}})();function Of(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var P1={exports:{}},pc={};/**
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 b5;function EO(){if(b5)return pc;b5=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,a,i){var o=null;if(i!==void 0&&(o=""+i),a.key!==void 0&&(o=""+a.key),"key"in a){i={};for(var u in a)u!=="key"&&(i[u]=a[u])}else i=a;return a=i.ref,{$$typeof:e,type:r,key:o,ref:a!==void 0?a:null,props:i}}return pc.Fragment=t,pc.jsx=n,pc.jsxs=n,pc}var x5;function wO(){return x5||(x5=1,P1.exports=EO()),P1.exports}var p=wO(),Hl=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(){}},TO=class extends Hl{#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"}},T2=new TO,_O={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},kO=class{#t=_O;#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)}},Al=new kO;function SO(e){setTimeout(e,0)}var AO=typeof window>"u"||"Deno"in globalThis;function Zn(){}function NO(e,t){return typeof e=="function"?e(t):e}function Kg(e){return typeof e=="number"&&e>=0&&e!==1/0}function IE(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Pi(e,t){return typeof e=="function"?e(t):e}function zr(e,t){return typeof e=="function"?e(t):e}function y5(e,t){const{type:n="all",exact:r,fetchStatus:a,predicate:i,queryKey:o,stale:u}=e;if(o){if(r){if(t.queryHash!==_2(o,t.options))return!1}else if(!Kc(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||i&&!i(t))}function v5(e,t){const{exact:n,status:r,predicate:a,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(Hi(t.options.mutationKey)!==Hi(i))return!1}else if(!Kc(t.options.mutationKey,i))return!1}return!(r&&t.state.status!==r||a&&!a(t))}function _2(e,t){return(t?.queryKeyHashFn||Hi)(e)}function Hi(e){return JSON.stringify(e,(t,n)=>Xg(n)?Object.keys(n).sort().reduce((r,a)=>(r[a]=n[a],r),{}):n)}function Kc(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>Kc(e[n],t[n])):!1}var CO=Object.prototype.hasOwnProperty;function k2(e,t,n=0){if(e===t)return e;if(n>500)return t;const r=E5(e)&&E5(t);if(!r&&!(Xg(e)&&Xg(t)))return t;const i=(r?e:Object.keys(e)).length,o=r?t:Object.keys(t),u=o.length,c=r?new Array(u):{};let h=0;for(let g=0;g<u;g++){const m=r?g:o[g],x=e[m],y=t[m];if(x===y){c[m]=x,(r?g<i:CO.call(e,m))&&h++;continue}if(x===null||y===null||typeof x!="object"||typeof y!="object"){c[m]=y;continue}const E=k2(x,y,n+1);c[m]=E,E===x&&h++}return i===u&&h===i?e:c}function Xc(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 E5(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Xg(e){if(!w5(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!w5(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function w5(e){return Object.prototype.toString.call(e)==="[object Object]"}function OO(e){return new Promise(t=>{Al.setTimeout(t,e)})}function Zg(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?k2(e,t):t}function RO(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function DO(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Fr=Symbol();function ME(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 S2(e,t){return typeof e=="function"?e(...t):!!e}function LO(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}var Zc=(()=>{let e=()=>AO;return{isServer(){return e()},setIsServer(t){e=t}}})();function Jg(){let e,t;const n=new Promise((a,i)=>{e=a,t=i});n.status="pending",n.catch(()=>{});function r(a){Object.assign(n,a),delete n.resolve,delete n.reject}return n.resolve=a=>{r({status:"fulfilled",value:a}),e(a)},n.reject=a=>{r({status:"rejected",reason:a}),t(a)},n}var IO=SO;function MO(){let e=[],t=0,n=u=>{u()},r=u=>{u()},a=IO;const i=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)=>{i(()=>{u(...c)})},schedule:i,setNotifyFunction:u=>{n=u},setBatchNotifyFunction:u=>{r=u},setScheduler:u=>{a=u}}}var rn=MO(),PO=class extends Hl{#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(n=>{n(e)}))}isOnline(){return this.#t}},$h=new PO;function jO(e){return Math.min(1e3*2**e,3e4)}function PE(e){return(e??"online")==="online"?$h.isOnline():!0}var eb=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function jE(e){let t=!1,n=0,r;const a=Jg(),i=()=>a.status!=="pending",o=_=>{if(!i()){const N=new eb(_);x(N),e.onCancel?.(N)}},u=()=>{t=!0},c=()=>{t=!1},h=()=>T2.isFocused()&&(e.networkMode==="always"||$h.isOnline())&&e.canRun(),g=()=>PE(e.networkMode)&&e.canRun(),m=_=>{i()||(r?.(),a.resolve(_))},x=_=>{i()||(r?.(),a.reject(_))},y=()=>new Promise(_=>{r=N=>{(i()||h())&&_(N)},e.onPause?.()}).then(()=>{r=void 0,i()||e.onContinue?.()}),E=()=>{if(i())return;let _;const N=n===0?e.initialPromise:void 0;try{_=N??e.fn()}catch(A){_=Promise.reject(A)}Promise.resolve(_).then(m).catch(A=>{if(i())return;const C=e.retry??(Zc.isServer()?0:3),M=e.retryDelay??jO,X=typeof M=="function"?M(n,A):M,G=C===!0||typeof C=="number"&&n<C||typeof C=="function"&&C(n,A);if(t||!G){x(A);return}n++,e.onFail?.(n,A),OO(X).then(()=>h()?void 0:y()).then(()=>{t?x(A):E()})})};return{promise:a,status:()=>a.status,cancel:o,continue:()=>(r?.(),a),cancelRetry:u,continueRetry:c,canStart:g,start:()=>(g()?E():y().then(E),a)}}var HE=class{#t;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Kg(this.gcTime)&&(this.#t=Al.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Zc.isServer()?1/0:300*1e3))}clearGcTimeout(){this.#t!==void 0&&(Al.clearTimeout(this.#t),this.#t=void 0)}},HO=class extends HE{#t;#e;#n;#a;#r;#s;#i;constructor(e){super(),this.#i=!1,this.#s=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#a=e.client,this.#n=this.#a.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#t=_5(this.options),this.state=e.state??this.#t,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#r?.promise}setOptions(e){if(this.options={...this.#s,...e},this.updateGcTime(this.options.gcTime),this.state&&this.state.data===void 0){const t=_5(this.options);t.data!==void 0&&(this.setState(T5(t.data,t.dataUpdatedAt)),this.#t=t)}}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#n.remove(this)}setData(e,t){const n=Zg(this.state.data,e,this.options);return this.#o({data:n,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e,t){this.#o({type:"setState",state:e,setStateOptions:t})}cancel(e){const t=this.#r?.promise;return this.#r?.cancel(e),t?t.then(Zn).catch(Zn):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}get resetState(){return this.#t}reset(){this.destroy(),this.setState(this.resetState)}isActive(){return this.observers.some(e=>zr(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=>Pi(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:!IE(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(t=>t.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#r?.continue()}onOnline(){this.observers.find(t=>t.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#r?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#n.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#r&&(this.#i||this.#l()?this.#r.cancel({revert:!0}):this.#r.cancelRetry()),this.scheduleGc()),this.#n.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}#l(){return this.state.fetchStatus==="paused"&&this.state.status==="pending"}invalidate(){this.state.isInvalidated||this.#o({type:"invalidate"})}async fetch(e,t){if(this.state.fetchStatus!=="idle"&&this.#r?.status()!=="rejected"){if(this.state.data!==void 0&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#r)return this.#r.continueRetry(),this.#r.promise}if(e&&this.setOptions(e),!this.options.queryFn){const u=this.observers.find(c=>c.options.queryFn);u&&this.setOptions(u.options)}const n=new AbortController,r=u=>{Object.defineProperty(u,"signal",{enumerable:!0,get:()=>(this.#i=!0,n.signal)})},a=()=>{const u=ME(this.options,t),h=(()=>{const g={client:this.#a,queryKey:this.queryKey,meta:this.meta};return r(g),g})();return this.#i=!1,this.options.persister?this.options.persister(u,h,this):u(h)},o=(()=>{const u={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#a,state:this.state,fetchFn:a};return r(u),u})();this.options.behavior?.onFetch(o,this),this.#e=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==o.fetchOptions?.meta)&&this.#o({type:"fetch",meta:o.fetchOptions?.meta}),this.#r=jE({initialPromise:t?.initialPromise,fn:o.fetchFn,onCancel:u=>{u instanceof eb&&u.revert&&this.setState({...this.#e,fetchStatus:"idle"}),n.abort()},onFail:(u,c)=>{this.#o({type:"failed",failureCount:u,error:c})},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 u=await this.#r.start();if(u===void 0)throw new Error(`${this.queryHash} data is undefined`);return this.setData(u),this.#n.config.onSuccess?.(u,this),this.#n.config.onSettled?.(u,this.state.error,this),u}catch(u){if(u instanceof eb){if(u.silent)return this.#r.promise;if(u.revert){if(this.state.data===void 0)throw u;return this.state.data}}throw this.#o({type:"error",error:u}),this.#n.config.onError?.(u,this),this.#n.config.onSettled?.(this.state.data,u,this),u}finally{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,...BE(n.data,this.options),fetchMeta:e.meta??null};case"success":const r={...n,...T5(e.data,e.dataUpdatedAt),dataUpdateCount:n.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#e=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.forEach(n=>{n.onQueryUpdate()}),this.#n.notify({query:this,type:"updated",action:e})})}};function BE(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:PE(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function T5(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function _5(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,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var g0=class extends Hl{constructor(e,t){super(),this.options=t,this.#t=e,this.#l=null,this.#i=Jg(),this.bindMethods(),this.setOptions(t)}#t;#e=void 0;#n=void 0;#a=void 0;#r;#s;#i;#l;#o;#h;#f;#c;#d;#u;#m=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#e.addObserver(this),k5(this.#e,this.options)?this.#p():this.updateResult(),this.#y())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return tb(this.#e,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return tb(this.#e,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#v(),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 zr(this.options.enabled,this.#e)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#w(),this.#e.setOptions(this.options),t._defaulted&&!Xc(this.options,t)&&this.#t.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#e,observer:this});const r=this.hasListeners();r&&S5(this.#e,n,this.options,t)&&this.#p(),this.updateResult(),r&&(this.#e!==n||zr(this.options.enabled,this.#e)!==zr(t.enabled,this.#e)||Pi(this.options.staleTime,this.#e)!==Pi(t.staleTime,this.#e))&&this.#g();const a=this.#b();r&&(this.#e!==n||zr(this.options.enabled,this.#e)!==zr(t.enabled,this.#e)||a!==this.#u)&&this.#x(a)}getOptimisticResult(e){const t=this.#t.getQueryCache().build(this.#t,e),n=this.createResult(t,e);return zO(this,n)&&(this.#a=n,this.#s=this.options,this.#r=this.#e.state),n}getCurrentResult(){return this.#a}trackResult(e,t){return new Proxy(e,{get:(n,r)=>(this.trackProp(r),t?.(r),r==="promise"&&(this.trackProp("data"),!this.options.experimental_prefetchInRender&&this.#i.status==="pending"&&this.#i.reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),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);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return this.#p({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#a))}#p(e){this.#w();let t=this.#e.fetch(this.options,e);return e?.throwOnError||(t=t.catch(Zn)),t}#g(){this.#v();const e=Pi(this.options.staleTime,this.#e);if(Zc.isServer()||this.#a.isStale||!Kg(e))return;const n=IE(this.#a.dataUpdatedAt,e)+1;this.#c=Al.setTimeout(()=>{this.#a.isStale||this.updateResult()},n)}#b(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#e):this.options.refetchInterval)??!1}#x(e){this.#E(),this.#u=e,!(Zc.isServer()||zr(this.options.enabled,this.#e)===!1||!Kg(this.#u)||this.#u===0)&&(this.#d=Al.setInterval(()=>{(this.options.refetchIntervalInBackground||T2.isFocused())&&this.#p()},this.#u))}#y(){this.#g(),this.#x(this.#b())}#v(){this.#c!==void 0&&(Al.clearTimeout(this.#c),this.#c=void 0)}#E(){this.#d!==void 0&&(Al.clearInterval(this.#d),this.#d=void 0)}createResult(e,t){const n=this.#e,r=this.options,a=this.#a,i=this.#r,o=this.#s,c=e!==n?e.state:this.#n,{state:h}=e;let g={...h},m=!1,x;if(t._optimisticResults){const Z=this.hasListeners(),V=!Z&&k5(e,t),U=Z&&S5(e,n,t,r);(V||U)&&(g={...g,...BE(h.data,e.options)}),t._optimisticResults==="isRestoring"&&(g.fetchStatus="idle")}let{error:y,errorUpdatedAt:E,status:_}=g;x=g.data;let N=!1;if(t.placeholderData!==void 0&&x===void 0&&_==="pending"){let Z;a?.isPlaceholderData&&t.placeholderData===o?.placeholderData?(Z=a.data,N=!0):Z=typeof t.placeholderData=="function"?t.placeholderData(this.#f?.state.data,this.#f):t.placeholderData,Z!==void 0&&(_="success",x=Zg(a?.data,Z,t),m=!0)}if(t.select&&x!==void 0&&!N)if(a&&x===i?.data&&t.select===this.#o)x=this.#h;else try{this.#o=t.select,x=t.select(x),x=Zg(a?.data,x,t),this.#h=x,this.#l=null}catch(Z){this.#l=Z}this.#l&&(y=this.#l,x=this.#h,E=Date.now(),_="error");const A=g.fetchStatus==="fetching",C=_==="pending",M=_==="error",X=C&&A,G=x!==void 0,B={status:_,fetchStatus:g.fetchStatus,isPending:C,isSuccess:_==="success",isError:M,isInitialLoading:X,isLoading:X,data:x,dataUpdatedAt:g.dataUpdatedAt,error:y,errorUpdatedAt:E,failureCount:g.fetchFailureCount,failureReason:g.fetchFailureReason,errorUpdateCount:g.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:g.dataUpdateCount>c.dataUpdateCount||g.errorUpdateCount>c.errorUpdateCount,isFetching:A,isRefetching:A&&!C,isLoadingError:M&&!G,isPaused:g.fetchStatus==="paused",isPlaceholderData:m,isRefetchError:M&&G,isStale:A2(e,t),refetch:this.refetch,promise:this.#i,isEnabled:zr(t.enabled,e)!==!1};if(this.options.experimental_prefetchInRender){const Z=B.data!==void 0,V=B.status==="error"&&!Z,U=he=>{V?he.reject(B.error):Z&&he.resolve(B.data)},ae=()=>{const he=this.#i=B.promise=Jg();U(he)},te=this.#i;switch(te.status){case"pending":e.queryHash===n.queryHash&&U(te);break;case"fulfilled":(V||B.data!==te.value)&&ae();break;case"rejected":(!V||B.error!==te.reason)&&ae();break}}return B}updateResult(){const e=this.#a,t=this.createResult(this.#e,this.options);if(this.#r=this.#e.state,this.#s=this.options,this.#r.data!==void 0&&(this.#f=this.#e),Xc(t,e))return;this.#a=t;const n=()=>{if(!e)return!0;const{notifyOnChangeProps:r}=this.options,a=typeof r=="function"?r():r;if(a==="all"||!a&&!this.#m.size)return!0;const i=new Set(a??this.#m);return this.options.throwOnError&&i.add("error"),Object.keys(this.#a).some(o=>{const u=o;return this.#a[u]!==e[u]&&i.has(u)})};this.#T({listeners:n()})}#w(){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.#y()}#T(e){rn.batch(()=>{e.listeners&&this.listeners.forEach(t=>{t(this.#a)}),this.#t.getQueryCache().notify({query:this.#e,type:"observerResultsUpdated"})})}};function BO(e,t){return zr(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&zr(t.retryOnMount,e)===!1)}function k5(e,t){return BO(e,t)||e.state.data!==void 0&&tb(e,t,t.refetchOnMount)}function tb(e,t,n){if(zr(t.enabled,e)!==!1&&Pi(t.staleTime,e)!=="static"){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&A2(e,t)}return!1}function S5(e,t,n,r){return(e!==t||zr(r.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&A2(e,n)}function A2(e,t){return zr(t.enabled,e)!==!1&&e.isStaleByTime(Pi(t.staleTime,e))}function zO(e,t){return!Xc(e.getCurrentResult(),t)}function Vh(e){return{onFetch:(t,n)=>{const r=t.options,a=t.fetchOptions?.meta?.fetchMore?.direction,i=t.state.data?.pages||[],o=t.state.data?.pageParams||[];let u={pages:[],pageParams:[]},c=0;const h=async()=>{let g=!1;const m=E=>{LO(E,()=>t.signal,()=>g=!0)},x=ME(t.options,t.fetchOptions),y=async(E,_,N)=>{if(g)return Promise.reject();if(_==null&&E.pages.length)return Promise.resolve(E);const C=(()=>{const P={client:t.client,queryKey:t.queryKey,pageParam:_,direction:N?"backward":"forward",meta:t.options.meta};return m(P),P})(),M=await x(C),{maxPages:X}=t.options,G=N?DO:RO;return{pages:G(E.pages,M,X),pageParams:G(E.pageParams,_,X)}};if(a&&i.length){const E=a==="backward",_=E?zE:nb,N={pages:i,pageParams:o},A=_(r,N);u=await y(N,A,E)}else{const E=e??i.length;do{const _=c===0?o[0]??r.initialPageParam:nb(r,u);if(c>0&&_==null)break;u=await y(u,_),c++}while(c<E)}return u};t.options.persister?t.fetchFn=()=>t.options.persister?.(h,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=h}}}function nb(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 zE(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}function UO(e,t){return t?nb(e,t)!=null:!1}function FO(e,t){return!t||!e.getPreviousPageParam?!1:zE(e,t)!=null}var UE=class extends g0{constructor(e,t){super(e,t)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e){super.setOptions({...e,behavior:Vh()})}getOptimisticResult(e){return e.behavior=Vh(),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:i,isError:o,isRefetchError:u}=r,c=n.fetchMeta?.fetchMore?.direction,h=o&&c==="forward",g=a&&c==="forward",m=o&&c==="backward",x=a&&c==="backward";return{...r,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:UO(t,n.data),hasPreviousPage:FO(t,n.data),isFetchNextPageError:h,isFetchingNextPage:g,isFetchPreviousPageError:m,isFetchingPreviousPage:x,isRefetchError:u&&!h&&!m,isRefetching:i&&!g&&!x}}},qO=class extends HE{#t;#e;#n;#a;constructor(e){super(),this.#t=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#e=[],this.state=e.state||FE(),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.#a?.continue()??this.execute(this.state.variables)}async execute(e){const t=()=>{this.#r({type:"continue"})},n={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#a=jE({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(new Error("No mutationFn found")),onFail:(i,o)=>{this.#r({type:"failed",failureCount:i,error:o})},onPause:()=>{this.#r({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});const r=this.state.status==="pending",a=!this.#a.canStart();try{if(r)t();else{this.#r({type:"pending",variables:e,isPaused:a}),this.#n.config.onMutate&&await this.#n.config.onMutate(e,this,n);const o=await this.options.onMutate?.(e,n);o!==this.state.context&&this.#r({type:"pending",context:o,variables:e,isPaused:a})}const i=await this.#a.start();return await this.#n.config.onSuccess?.(i,e,this.state.context,this,n),await this.options.onSuccess?.(i,e,this.state.context,n),await this.#n.config.onSettled?.(i,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(i,null,e,this.state.context,n),this.#r({type:"success",data:i}),i}catch(i){try{await this.#n.config.onError?.(i,e,this.state.context,this,n)}catch(o){Promise.reject(o)}try{await this.options.onError?.(i,e,this.state.context,n)}catch(o){Promise.reject(o)}try{await this.#n.config.onSettled?.(void 0,i,this.state.variables,this.state.context,this,n)}catch(o){Promise.reject(o)}try{await this.options.onSettled?.(void 0,i,e,this.state.context,n)}catch(o){Promise.reject(o)}throw this.#r({type:"error",error:i}),i}finally{this.#n.runNext(this)}}#r(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};case"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 FE(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var GO=class extends Hl{constructor(e={}){super(),this.config=e,this.#t=new Set,this.#e=new Map,this.#n=0}#t;#e;#n;build(e,t,n){const r=new qO({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=Kd(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=Kd(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=Kd(e);if(typeof t=="string"){const r=this.#e.get(t)?.find(a=>a.state.status==="pending");return!r||r===e}else return!0}runNext(e){const t=Kd(e);return typeof t=="string"?this.#e.get(t)?.find(r=>
10r!==e&&r.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=>v5(t,n))}findAll(e={}){return this.getAll().filter(t=>v5(e,t))}notify(e){rn.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){const e=this.getAll().filter(t=>t.state.isPaused);return rn.batch(()=>Promise.all(e.map(t=>t.continue().catch(Zn))))}};function Kd(e){return e.options.scope?.id}var $O=class extends Hl{#t;#e=void 0;#n;#a;constructor(t,n){super(),this.#t=t,this.setOptions(n),this.bindMethods(),this.#r()}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),Xc(this.options,n)||this.#t.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#n,observer:this}),n?.mutationKey&&this.options.mutationKey&&Hi(n.mutationKey)!==Hi(this.options.mutationKey)?this.reset():this.#n?.state.status==="pending"&&this.#n.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#n?.removeObserver(this)}onMutationUpdate(t){this.#r(),this.#s(t)}getCurrentResult(){return this.#e}reset(){this.#n?.removeObserver(this),this.#n=void 0,this.#r(),this.#s()}mutate(t,n){return this.#a=n,this.#n?.removeObserver(this),this.#n=this.#t.getMutationCache().build(this.#t,this.options),this.#n.addObserver(this),this.#n.execute(t)}#r(){const t=this.#n?.state??FE();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}}#s(t){rn.batch(()=>{if(this.#a&&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.#a.onSuccess?.(t.data,n,r,a)}catch(i){Promise.reject(i)}
10try{this.#a.onSettled?.(t.data,null,n,r,a)}catch(i){Promise.reject(i)}}else if(t?.type==="error"){try{this.#a.onError?.(t.error,n,r,a)}catch(i){Promise.reject(i)}try{this.#a.onSettled?.(void 0,t.error,n,r,a)}catch(i){Promise.reject(i)}}}this.listeners.forEach(n=>{n(this.#e)})})}};function A5(e,t){const n=new Set(t);return e.filter(r=>!n.has(r))}function VO(e,t,n){const r=e.slice(0);return r[t]=n,r}var YO=class extends Hl{#t;#e;#n;#a;#r;#s;#i;#l;#o;#h=[];constructor(e,t,n){super(),this.#t=e,this.#a=n,this.#n=[],this.#r=[],this.#e=[],this.setQueries(t)}onSubscribe(){this.listeners.size===1&&this.#r.forEach(e=>{e.subscribe(t=>{this.#u(e,t)})})}onUnsubscribe(){this.listeners.size||this.destroy()}destroy(){this.listeners=new Set,this.#r.forEach(e=>{e.destroy()})}setQueries(e,t){this.#n=e,this.#a=t,rn.batch(()=>{const n=this.#r,r=this.#d(this.#n);r.forEach(g=>g.observer.setOptions(g.defaultedQueryOptions));const a=r.map(g=>g.observer),i=a.map(g=>g.getCurrentResult()),o=n.length!==a.length,u=a.some((g,m)=>g!==n[m]),c=o||u,h=c?!0:i.some((g,m)=>{const x=this.#e[m];return!x||!Xc(g,x)});!c&&!h||(c&&(this.#h=r,this.#r=a),this.#e=i,this.hasListeners()&&(c&&(A5(n,a).forEach(g=>{g.destroy()}),A5(a,n).forEach(g=>{g.subscribe(m=>{this.#u(g,m)})})),this.#m()))})}getCurrentResult(){return this.#e}getQueries(){return this.#r.map(e=>e.getCurrentQuery())}getObservers(){return this.#r}getOptimisticResult(e,t){const n=this.#d(e),r=n.map(i=>i.observer.getOptimisticResult(i.defaultedQueryOptions)),a=n.map(i=>i.defaultedQueryOptions.queryHash);return[r,i=>this.#c(i??r,t,a),()=>this.#f(r,n)]}#f(e,t){return t.map((n,r)=>{const a=e[r];return n.defaultedQueryOptions.notifyOnChangeProps?a:n.observer.trackResult(a,i=>{t.forEach(o=>{o.observer.trackProp(i)})})})}#c(e,t,n){if(t){const r=this.#o,a=n!==void 0&&r!==void 0&&(r.length!==n.length||n.some((i,o)=>i!==r[o]));return(!this.#s||this.#e!==this.#l||a||t!==this.#i)&&(this.#i=t,this.#l=this.#e,n!==void 0&&(this.#o=n),this.#s=k2(this.#s,t(e))),this.#s}return e}#d(e){const t=new Map;this.#r.forEach(r=>{const a=r.options.queryHash;if(!a)return;const i=t.get(a);i?i.push(r):t.set(a,[r])});const n=[];return e.forEach(r=>{const a=this.#t.defaultQueryOptions(r),o=t.get(a.queryHash)?.shift()??new g0(this.#t,a);n.push({defaultedQueryOptions:a,observer:o})}),n}#u(e,t){const n=this.#r.indexOf(e);n!==-1&&(this.#e=VO(this.#e,n,t),this.#m())}#m(){if(this.hasListeners()){const e=this.#s,t=this.#f(this.#e,this.#h),n=this.#c(t,this.#a?.combine);e!==n&&rn.batch(()=>{this.listeners.forEach(r=>{r(this.#e)})})}}},QO=class extends Hl{constructor(e={}){super(),this.config=e,this.#t=new Map}#t;build(e,t,n){const r=t.queryKey,a=t.queryHash??_2(r,t);let i=this.get(a);return i||(i=new HO({client:e,queryKey:r,queryHash:a,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(i)),i}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=>y5(t,n))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter(n=>y5(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()})})}},WO=class{#t;#e;#n;#a;#r;#s;#i;#l;constructor(e={}){this.#t=e.queryCache||new QO,this.#e=e.mutationCache||new GO,this.#n=e.defaultOptions||{},this.#a=new Map,this.#r=new Map,this.#s=0}mount(){this.#s++,this.#s===1&&(this.#i=T2.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#t.onFocus())}),this.#l=$h.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#t.onOnline())}))}unmount(){this.#s--,this.#s===0&&(this.#i?.(),this.#i=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(Pi(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#t.findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),i=this.#t.get(r.queryHash)?.state.data,o=NO(t,i);if(o!==void 0)return this.#t.build(this,r).setData(o,{...n,manual:!0})}
vendor: 8,242 bytes, lines 10-18
10setQueriesData(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(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},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(Zn).catch(Zn)}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 i=a.fetch(void 0,n);return n.throwOnError||(i=i.catch(Zn)),a.state.fetchStatus==="paused"?Promise.resolve():i}));return Promise.all(r).then(Zn)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=this.#t.build(this,t);return n.isStaleByTime(Pi(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Zn).catch(Zn)}fetchInfiniteQuery(e){return e.behavior=Vh(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Zn).catch(Zn)}ensureInfiniteQueryData(e){return e.behavior=Vh(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return $h.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.#a.set(Hi(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...this.#a.values()],n={};return t.forEach(r=>{Kc(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){this.#r.set(Hi(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...this.#r.values()],n={};return t.forEach(r=>{Kc(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=_2(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()}},j1={exports:{}},nt={};/**
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 N5;function KO(){if(N5)return nt;N5=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"),i=Symbol.for("react.consumer"),o=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),m=Symbol.for("react.activity"),x=Symbol.iterator;function y(F){return F===null||typeof F!="object"?null:(F=x&&F[x]||F["@@iterator"],typeof F=="function"?F:null)}var E={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_=Object.assign,N={};function A(F,ie,D){this.props=F,this.context=ie,this.refs=N,this.updater=D||E}A.prototype.isReactComponent={},A.prototype.setState=function(F,ie){if(typeof F!="object"&&typeof F!="function"&&F!=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,F,ie,"setState")},A.prototype.forceUpdate=function(F){this.updater.enqueueForceUpdate(this,F,"forceUpdate")};function C(){}C.prototype=A.prototype;function M(F,ie,D){this.props=F,this.context=ie,this.refs=N,this.updater=D||E}var X=M.prototype=new C;X.constructor=M,_(X,A.prototype),X.isPureReactComponent=!0;var G=Array.isArray;function P(){}var B={H:null,A:null,T:null,S:null},Z=Object.prototype.hasOwnProperty;function V(F,ie,D){var ge=D.ref;return{$$typeof:e,type:F,key:ie,ref:ge!==void 0?ge:null,props:D}}function U(F,ie){return V(F.type,ie,F.props)}function ae(F){return typeof F=="object"&&F!==null&&F.$$typeof===e}function te(F){var ie={"=":"=0",":":"=2"};return"$"+F.replace(/[=:]/g,function(D){return ie[D]})}var he=/\/+/g;function le(F,ie){return typeof F=="object"&&F!==null&&F.key!=null?te(""+F.key):ie.toString(36)}function me(F){switch(F.status){case"fulfilled":return F.value;case"rejected":throw F.reason;default:switch(typeof F.status=="string"?F.then(P,P):(F.status="pending",F.then(function(ie){F.status==="pending"&&(F.status="fulfilled",F.value=ie)},function(ie){F.status==="pending"&&(F.status="rejected",F.reason=ie)})),F.status){case"fulfilled":return F.value;case"rejected":throw F.reason}}throw F}function $(F,ie,D,ge,Te){var De=typeof F;(De==="undefined"||De==="boolean")&&(F=null);var Me=!1;if(F===null)Me=!0;else switch(De){case"bigint":case"string":case"number":Me=!0;break;case"object":switch(F.$$typeof){case e:case t:Me=!0;break;case g:return Me=F._init,$(Me(F._payload),ie,D,ge,Te)}}if(Me)return Te=Te(F),Me=ge===""?"."+le(F,0):ge,G(Te)?(D="",Me!=null&&(D=Me.replace(he,"$&/")+"/"),$(Te,ie,D,"",function(He){return He})):Te!=null&&(ae(Te)&&(Te=U(Te,D+(Te.key==null||F&&F.key===Te.key?"":(""+Te.key).replace(he,"$&/")+"/")+Me)),ie.push(Te)),1;Me=0;var ze=ge===""?".":ge+":";if(G(F))for(var Xe=0;Xe<F.length;Xe++)ge=F[Xe],De=ze+le(ge,Xe),Me+=$(ge,ie,D,De,Te);else if(Xe=y(F),typeof Xe=="function")for(F=Xe.call(F),Xe=0;!(ge=F.next()).done;)ge=ge.value,De=ze+le(ge,Xe++),Me+=$(ge,ie,D,De,Te);else if(De==="object"){if(typeof F.then=="function")return $(me(F),ie,D,ge,Te);throw ie=String(F),Error("Objects are not valid as a React child (found: "+(ie==="[object Object]"?"object with keys {"+Object.keys(F).join(", ")+"}":ie)+"). If you meant to render a collection of children, use an array instead.")}return Me}function re(F,ie,D){if(F==null)return F;var ge=[],Te=0;return $(F,ge,"","",function(De){return ie.call(D,De,Te++)}),ge}function ne(F){if(F._status===-1){var ie=F._result;ie=ie(),ie.then(function(D){(F._status===0||F._status===-1)&&(F._status=1,F._result=D)},function(D){(F._status===0||F._status===-1)&&(F._status=2,F._result=D)}),F._status===-1&&(F._status=0,F._result=ie)}if(F._status===1)return F._result.default;throw F._result}var oe=typeof reportError=="function"?reportError:function(F){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var ie=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof F=="object"&&F!==null&&typeof F.message=="string"?String(F.message):String(F),error:F});if(!window.dispatchEvent(ie))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",F);return}console.error(F)},j={map:re,forEach:function(F,ie,D){re(F,function(){ie.apply(this,arguments)},D)},count:function(F){var ie=0;return re(F,function(){ie++}),ie},toArray:function(F){return re(F,function(ie){return ie})||[]},only:function(F){if(!ae(F))throw Error("React.Children.only expected to receive a single React element child.");return F}};return nt.Activity=m,nt.Children=j,nt.Component=A,nt.Fragment=n,nt.Profiler=a,nt.PureComponent=M,nt.StrictMode=r,nt.Suspense=c,nt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=B,nt.__COMPILER_RUNTIME={__proto__:null,c:function(F){return B.H.useMemoCache(F)}},nt.cache=function(F){return function(){return F.apply(null,arguments)}},nt.cacheSignal=function(){return null},nt.cloneElement=function(F,ie,D){if(F==null)throw Error("The argument must be a React element, but you passed "+F+".");var ge=_({},F.props),Te=F.key;
18if(ie!=null)for(De in ie.key!==void 0&&(Te=""+ie.key),ie)!Z.call(ie,De)||De==="key"||De==="__self"||De==="__source"||De==="ref"&&ie.ref===void 0||(ge[De]=ie[De]);var De=arguments.length-2;if(De===1)ge.children=D;else if(1<De){for(var Me=Array(De),ze=0;ze<De;ze++)Me[ze]=arguments[ze+2];ge.children=Me}return V(F.type,Te,ge)},nt.createContext=function(F){return F={$$typeof:o,_currentValue:F,_currentValue2:F,_threadCount:0,Provider:null,Consumer:null},F.Provider=F,F.Consumer={$$typeof:i,_context:F},F},nt.createElement=function(F,ie,D){var ge,Te={},De=null;if(ie!=null)for(ge in ie.key!==void 0&&(De=""+ie.key),ie)Z.call(ie,ge)&&ge!=="key"&&ge!=="__self"&&ge!=="__source"&&(Te[ge]=ie[ge]);var Me=arguments.length-2;if(Me===1)Te.children=D;else if(1<Me){for(var ze=Array(Me),Xe=0;Xe<Me;Xe++)ze[Xe]=arguments[Xe+2];Te.children=ze}if(F&&F.defaultProps)for(ge in Me=F.defaultProps,Me)Te[ge]===void 0&&(Te[ge]=Me[ge]);return V(F,De,Te)},nt.createRef=function(){return{current:null}},nt.forwardRef=function(F){return{$$typeof:u,render:F}},nt.isValidElement=ae,nt.lazy=function(F){return{$$typeof:g,_payload:{_status:-1,_result:F},_init:ne}},nt.memo=function(F,ie){return{$$typeof:h,type:F,compare:ie===void 0?null:ie}},nt.startTransition=function(F){var ie=B.T,D={};B.T=D;try{var ge=F(),Te=B.S;Te!==null&&Te(D,ge),typeof ge=="object"&&ge!==null&&typeof ge.then=="function"&&ge.then(P,oe)}catch(De){oe(De)}finally{ie!==null&&D.types!==null&&(ie.types=D.types),B.T=ie}},nt.unstable_useCacheRefresh=function(){return B.H.useCacheRefresh()},nt.use=function(F){return B.H.use(F)},nt.useActionState=function(F,ie,D){return B.H.useActionState(F,ie,D)},nt.useCallback=function(F,ie){return B.H.useCallback(F,ie)},nt.useContext=function(F){return B.H.useContext(F)},nt.useDebugValue=function(){},nt.useDeferredValue=function(F,ie){return B.H.useDeferredValue(F,ie)},nt.useEffect=function(F,ie){return B.H.useEffect(F,ie)},nt.useEffectEvent=function(F){return B.H.useEffectEvent(F)},nt.useId=function(){return B.H.useId()},nt.useImperativeHandle=function(F,ie,D){return B.H.useImperativeHandle(F,ie,D)},nt.useInsertionEffect=function(F,ie){return B.H.useInsertionEffect(F,ie)},nt.useLayoutEffect=function(F,ie){return B.H.useLayoutEffect(F,ie)},nt.useMemo=function(F,ie){return B.H.useMemo(F,ie)},nt.useOptimistic=function(F,ie){return B.H.useOptimistic(F,ie)},nt.useReducer=function(F,ie,D){return B.H.useReducer(F,ie,D)},nt.useRef=function(F){return B.H.useRef(F)},nt.useState=function(F){return B.H.useState(F)},nt.useSyncExternalStore=function(F,ie,D){return B.H.useSyncExternalStore(F,ie,D)},nt.useTransition=function(){return B.H.useTransition()},nt.version="19.2.1",nt}var C5;function Rf(){return C5||(C5=1,j1.exports=KO()),j1.exports}var R=Rf();const ke=Of(R),Df=vO({__proto__:null,default:ke},[R]);var qE=R.createContext(void 0),b0=e=>{const t=R.useContext(qE);if(e)return e;if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},XO=({client:e,children:t})=>(R.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),p.jsx(qE.Provider,{value:e,children:t})),GE=R.createContext(!1),$E=()=>R.useContext(GE);GE.Provider;function ZO(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var JO=R.createContext(ZO()),VE=()=>R.useContext(JO),YE=(e,t,n)=>{const r=n?.state.error&&typeof e.throwOnError=="function"?S2(e.throwOnError,[n.state.error,n]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||r)&&(t.isReset()||(e.retryOnMount=!1))},QE=e=>{R.useEffect(()=>{e.clearReset()},[e])},WE=({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:a})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(a&&e.data===void 0||S2(n,[e.error,r])),N2=(e,t)=>t.state.data===void 0,KE=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))}},eR=(e,t)=>e.isLoading&&e.isFetching&&!t,rb=(e,t)=>e?.suspense&&t.isPending,ab=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function XE({queries:e,...t},n){const r=b0(n),a=$E(),i=VE(),o=R.useMemo(()=>e.map(_=>{const N=r.defaultQueryOptions(_);return N._optimisticResults=a?"isRestoring":"optimistic",N}),[e,r,a]);o.forEach(_=>{KE(_);const N=r.getQueryCache().get(_.queryHash);YE(_,i,N)}),QE(i);const[u]=R.useState(()=>new YO(r,o,t)),[c,h,g]=u.getOptimisticResult(o,t.combine),m=!a&&t.subscribed!==!1;R.useSyncExternalStore(R.useCallback(_=>m?u.subscribe(rn.batchCalls(_)):Zn,[u,m]),()=>u.getCurrentResult(),()=>u.getCurrentResult()),R.useEffect(()=>{u.setQueries(o,t)},[o,t,u]);const y=c.some((_,N)=>rb(o[N],_))?c.flatMap((_,N)=>{const A=o[N];if(A&&rb(A,_)){const C=new g0(r,A);return ab(A,C,i)}return[]}):[];if(y.length>0)throw Promise.all(y);const E=c.find((_,N)=>{const A=o[N];return A&&WE({result:_,errorResetBoundary:i,throwOnError:A.throwOnError,query:r.getQueryCache().get(A.queryHash),suspense:A.suspense})});if(E?.error)throw E.error;return h(g())}function Lf(e,t,n){const r=$E(),a=VE(),i=b0(n),o=i.defaultQueryOptions(e);i.getDefaultOptions().queries?._experimental_beforeQuery?.(o);const u=i.getQueryCache().get(o.queryHash);o._optimisticResults=r?"isRestoring":"optimistic",KE(o),YE(o,a,u),QE(a);const c=!i.getQueryCache().get(o.queryHash),[h]=R.useState(()=>new t(i,o)),g=h.getOptimisticResult(o),m=!r&&e.subscribed!==!1;if(R.useSyncExternalStore(R.useCallback(x=>{const y=m?h.subscribe(rn.batchCalls(x)):Zn;return h.updateResult(),y},[h,m]),()=>h.getCurrentResult(),()=>h.getCurrentResult()),R.useEffect(()=>{h.setOptions(o)},[o,h]),rb(o,g))throw ab(o,h,a);if(WE({result:g,errorResetBoundary:a,throwOnError:o.throwOnError,query:u,suspense:o.suspense}))throw g.error;return i.getDefaultOptions().queries?._experimental_afterQuery?.(o,g),o.experimental_prefetchInRender&&!Zc.isServer()&&eR(g,r)&&(c?ab(o,h,a):u?.promise)?.catch(Zn).finally(()=>{h.updateResult()}),o.notifyOnChangeProps?g:h.trackResult(g)}function tR(e,t){return Lf(e,g0,t)}function nR(e,t){return Lf({...e,enabled:!0,suspense:!0,throwOnError:N2,placeholderData:void 0},g0,t)}function rR(e,t){return Lf({...e,enabled:!0,suspense:!0,throwOnError:N2},UE,t)}function aR(e,t){return XE({...e,queries:e.queries.map(n=>({...n,suspense:!0,throwOnError:N2,enabled:!0,placeholderData:void 0}))},t)}function sR(e,t){const n=b0(t);n.getQueryState(e.queryKey)||n.prefetchQuery(e)}function iR(e,t){const n=b0(t);n.getQueryState(e.queryKey)||n.prefetchInfiniteQuery(e)}function lR(e,t){const n=b0(t),[r]=R.useState(()=>new $O(n,e));R.useEffect(()=>{r.setOptions(e)},[r,e]);const a=R.useSyncExternalStore(R.useCallback(o=>r.subscribe(rn.batchCalls(o)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),i=R.useCallback((o,u)=>
18{r.mutate(o,u).catch(Zn)},[r]);if(a.error&&S2(r.options.throwOnError,[a.error]))throw a.error;return{...a,mutate:i,mutateAsync:a.mutate}}function oR(e,t){return Lf(e,UE,t)}function Rl(e){return!!e&&!Array.isArray(e)&&typeof e=="object"}function uR(){return Object.create(null)}const cR=typeof Symbol=="function"&&!!Symbol.asyncIterator;function ZE(e){return cR&&Rl(e)&&Symbol.asyncIterator in e}var dR=Object.create,JE=Object.defineProperty,hR=Object.getOwnPropertyDescriptor,ew=Object.getOwnPropertyNames,fR=Object.getPrototypeOf,mR=Object.prototype.hasOwnProperty,x0=(e,t)=>function(){return t||(0,e[ew(e)[0]])((t={exports:{}}).exports,t),t.exports},pR=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(var a=ew(t),i=0,o=a.length,u;i<o;i++)u=a[i],!mR.call(e,u)&&u!==n&&JE(e,u,{get:(c=>t[c]).bind(null,u),enumerable:!(r=hR(t,u))||r.enumerable});return e},If=(e,t,n)=>(n=e!=null?dR(fR(e)):{},pR(JE(n,"default",{value:e,enumerable:!0}),e));const tw=()=>{},O5=e=>{Object.freeze&&Object.freeze(e)};function nw(e,t,n){var r;const a=t.join(".");return(r=n[a])!==null&&r!==void 0||(n[a]=new Proxy(tw,{get(i,o){if(!(typeof o!="string"||o==="then"))return nw(e,[...t,o],n)},apply(i,o,u){const c=t[t.length-1];let h={args:u,path:t};return c==="call"?h={args:u.length>=2?[u[1]]:[],path:t.slice(0,-1)}:c==="apply"&&(h={args:u.length>=2?u[1]:[],path:t.slice(0,-1)}),O5(h.args),O5(h.path),e(h)}})),n[a]}const Mf=e=>nw(e,[],uR()),C2=e=>new Proxy(tw,{get(t,n){if(n!=="then")return e(n)}});var rw=x0({"../../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}}),gR=x0({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(e,t){var n=rw().default;function r(a,i){if(n(a)!="object"||!a)return a;var o=a[Symbol.toPrimitive];if(o!==void 0){var u=o.call(a,i||"default");if(n(u)!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(i==="string"?String:Number)(a)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),bR=x0({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(e,t){var n=rw().default,r=gR();function a(i){var o=r(i,"string");return n(o)=="symbol"?o:o+""}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports}}),aw=x0({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js"(e,t){var n=bR();function r(a,i,o){return(i=n(i))in a?Object.defineProperty(a,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):a[i]=o,a}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),O2=x0({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(e,t){var n=aw();function r(i,o){var u=Object.keys(i);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(i);o&&(c=c.filter(function(h){return Object.getOwnPropertyDescriptor(i,h).enumerable})),u.push.apply(u,c)}return u}function a(i){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(i,c,u[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(u)):r(Object(u)).forEach(function(c){Object.defineProperty(i,c,Object.getOwnPropertyDescriptor(u,c))})}return i}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports}});If(O2());If(aw());var Xd=If(O2());function xR(e,t){if("error"in e){const r=t.deserialize(e.error);return{ok:!1,error:(0,Xd.default)((0,Xd.default)({},e),{},{error:r})}}return{ok:!0,result:(0,Xd.default)((0,Xd.default)({},e.result),(!e.result.type||e.result.type==="data")&&{type:"data",data:t.deserialize(e.result.data)})}}
18var H1=class extends Error{constructor(){super("Unable to transform response from server")}};function yR(e,t){let n;try{n=xR(e,t)}catch{throw new H1}if(!n.ok&&(!Rl(n.error.error)||typeof n.error.error.code!="number"))throw new H1;if(n.ok&&!Rl(n.result))throw new H1;return n}If(O2());function Pf(e){const t={subscribe(n){let r=null,a=!1,i=!1,o=!1;function u(){if(r===null){o=!0;return}i||(i=!0,typeof r=="function"?r():r&&r.unsubscribe())}return r=e({next(c){var h;a||(h=n.next)===null||h===void 0||h.call(n,c)},error(c){var h;a||(a=!0,(h=n.error)===null||h===void 0||h.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(vR,t)}};return t}function vR(e,t){return t(e)}function ER(e){const t=new AbortController;return new Promise((r,a)=>{let i=!1;function o(){i||(i=!0,u.unsubscribe())}t.signal.addEventListener("abort",()=>{a(t.signal.reason)});const u=e.subscribe({next(c){i=!0,r(c),o()},error(c){a(c)},complete(){t.abort(),o()}})})}var wR=Object.create,sw=Object.defineProperty,TR=Object.getOwnPropertyDescriptor,iw=Object.getOwnPropertyNames,_R=Object.getPrototypeOf,kR=Object.prototype.hasOwnProperty,Yi=(e,t)=>function(){return t||(0,e[iw(e)[0]])((t={exports:{}}).exports,t),t.exports},SR=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(var a=iw(t),i=0,o=a.length,u;i<o;i++)u=a[i],!kR.call(e,u)&&u!==n&&sw(e,u,{get:(c=>t[c]).bind(null,u),enumerable:!(r=TR(t,u))||r.enumerable});return e},Bl=(e,t,n)=>(n=e!=null?wR(_R(e)):{},SR(t||!e||!e.__esModule?sw(n,"default",{value:e,enumerable:!0}):n,e)),AR=Yi({"../../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 i={};for(var o in r)if({}.hasOwnProperty.call(r,o)){if(a.includes(o))continue;i[o]=r[o]}return i}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),NR=Yi({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectWithoutProperties.js"(e,t){var n=AR();function r(a,i){if(a==null)return{};var o,u,c=n(a,i);if(Object.getOwnPropertySymbols){var h=Object.getOwnPropertySymbols(a);for(u=0;u<h.length;u++)o=h[u],i.includes(o)||{}.propertyIsEnumerable.call(a,o)&&(c[o]=a[o])}return c}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),lw=Yi({"../../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}}),CR=Yi({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(e,t){var n=lw().default;function r(a,i){if(n(a)!="object"||!a)return a;var o=a[Symbol.toPrimitive];if(o!==void 0){var u=o.call(a,i||"default");if(n(u)!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(i==="string"?String:Number)(a)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),OR=Yi({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(e,t){var n=lw().default,r=CR();function a(i){var o=r(i,"string");return n(o)=="symbol"?o:o+""}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports}}),RR=Yi({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js"(e,t){var n=OR();function r(a,i,o){return(i=n(i))in a?Object.defineProperty(a,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):a[i]=o,a}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),y0=Yi({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(e,t){var n=RR();function r(i,o){var u=Object.keys(i);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(i);o&&(c=c.filter(function(h){return Object.getOwnPropertyDescriptor(i,h).enumerable})),u.push.apply(u,c)}return u}function a(i){for(var o=1;o<arguments.length;o++){var u=arguments[o]!=null?arguments[o]:{};
18o%2?r(Object(u),!0).forEach(function(c){n(i,c,u[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(u)):r(Object(u)).forEach(function(c){Object.defineProperty(i,c,Object.getOwnPropertyDescriptor(u,c))})}return i}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports}}),DR=Bl(NR(),1),R5=Bl(y0(),1);const LR=["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"&&Rl(t)&&("direction"in t||"cursor"in t)){const{cursor:a,direction:i}=t,o=(0,DR.default)(t,LR);return[r,{input:o,type:"infinite"}]}return[r,(0,R5.default)((0,R5.default)({},typeof t<"u"&&t!==Fr&&{input:t}),n&&n!=="any"&&{type:n})]}function Ch(e){return Ya(e,void 0,"any")}var IR=Object.create,ow=Object.defineProperty,MR=Object.getOwnPropertyDescriptor,uw=Object.getOwnPropertyNames,PR=Object.getPrototypeOf,jR=Object.prototype.hasOwnProperty,ss=(e,t)=>function(){return t||(0,e[uw(e)[0]])((t={exports:{}}).exports,t),t.exports},HR=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(var a=uw(t),i=0,o=a.length,u;i<o;i++)u=a[i],!jR.call(e,u)&&u!==n&&ow(e,u,{get:(c=>t[c]).bind(null,u),enumerable:!(r=MR(t,u))||r.enumerable});return e},mn=(e,t,n)=>(n=e!=null?IR(PR(e)):{},HR(t||!e||!e.__esModule?ow(n,"default",{value:e,enumerable:!0}):n,e)),cw=ss({"../../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}}),BR=ss({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(e,t){var n=cw().default;function r(a,i){if(n(a)!="object"||!a)return a;var o=a[Symbol.toPrimitive];if(o!==void 0){var u=o.call(a,i||"default");if(n(u)!="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(i==="string"?String:Number)(a)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),zR=ss({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(e,t){var n=cw().default,r=BR();function a(i){var o=r(i,"string");return n(o)=="symbol"?o:o+""}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports}}),zl=ss({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js"(e,t){var n=zR();function r(a,i,o){return(i=n(i))in a?Object.defineProperty(a,i,{value:o,enumerable:!0,configurable:!0,writable:!0}):a[i]=o,a}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),Oa=ss({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(e,t){var n=zl();function r(i,o){var u=Object.keys(i);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(i);o&&(c=c.filter(function(h){return Object.getOwnPropertyDescriptor(i,h).enumerable})),u.push.apply(u,c)}return u}function a(i){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(i,c,u[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(u)):r(Object(u)).forEach(function(c){Object.defineProperty(i,c,Object.getOwnPropertyDescriptor(u,c))})}return i}t.exports=a,t.exports.__esModule=!0,t.exports.default=t.exports}});function UR(e){return t=>{let n=0,r=null;const a=[];function i(){r||(r=t.subscribe({next(u){for(const h of a){var c;(c=h.next)===null||c===void 0||c.call(h,u)}},error(u){for(const h of a){var c;(c=h.error)===null||c===void 0||c.call(h,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 Pf(u=>(n++,a.push(u),i(),{unsubscribe(){n--,o();const c=a.findIndex(h=>h===u);c>-1&&a.splice(c,1)}}))}}function FR(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)},i=Pf(o=>(r(o),()=>{a(o)}));return i.next=o=>{if(t!==o){t=o;for(const u of n)u.next(o)}},i.get=()=>t,i}function qR(e){return Pf(t=>{function n(a=0,i=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:i,next(c){return n(a+1,c)}})}return n().subscribe(t)})}var Zd=mn(zl(),1),Mo=mn(Oa(),1);function GR(e){return e instanceof eu}function $R(e){return Rl(e)&&Rl(e.error)&&typeof e.error.code=="number"&&typeof e.error.message=="string"}
18function VR(e,t){return typeof e=="string"?e:Rl(e)&&typeof e.message=="string"?e.message:t}var eu=class Oh extends Error{constructor(t,n){var r,a;const i=n?.cause;super(t,{cause:i}),(0,Zd.default)(this,"cause",void 0),(0,Zd.default)(this,"shape",void 0),(0,Zd.default)(this,"data",void 0),(0,Zd.default)(this,"meta",void 0),this.meta=n?.meta,this.cause=i,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,Oh.prototype)}static from(t,n={}){const r=t;return GR(r)?(n.meta&&(r.meta=(0,Mo.default)((0,Mo.default)({},r.meta),n.meta)),r):$R(r)?new Oh(r.error.message,(0,Mo.default)((0,Mo.default)({},n),{},{result:r,cause:n.cause})):new Oh(VR(r,"Unknown error"),(0,Mo.default)((0,Mo.default)({},n),{},{cause:r}))}};function YR(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 D5=e=>typeof e=="function";function QR(e){if(e)return e;if(typeof window<"u"&&D5(window.fetch))return window.fetch;if(typeof globalThis<"u"&&D5(globalThis.fetch))return globalThis.fetch;throw new Error("No fetch implementation found")}var Lc=mn(Oa());function WR(e){return{url:e.url.toString(),fetch:e.fetch,transformer:YR(e.transformer),methodOverride:e.methodOverride}}function KR(e){const t={};for(let n=0;n<e.length;n++){const r=e[n];t[n]=r}return t}const XR={query:"GET",mutation:"POST",subscription:"PATCH"};function dw(e){return"input"in e?e.transformer.input.serialize(e.input):KR(e.inputs.map(t=>e.transformer.input.serialize(t)))}const hw=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 i=dw(e);i!==void 0&&e.methodOverride!=="POST"&&a.push(`input=${encodeURIComponent(JSON.stringify(i))}`)}return a.length&&(r+="?"+a.join("&")),r},ZR=e=>{if(e.type==="query"&&e.methodOverride!=="POST")return;const t=dw(e);return t!==void 0?JSON.stringify(t):void 0},JR=e=>rD((0,Lc.default)((0,Lc.default)({},e),{},{contentTypeHeader:"application/json",getUrl:hw,getBody:ZR}));var eD=class extends Error{constructor(){const e="AbortError";super(e),this.name=e,this.message=e}};const tD=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 eD};async function nD(e){var t,n;tD(e.signal);const r=e.getUrl(e),a=e.getBody(e),i=(t=e.methodOverride)!==null&&t!==void 0?t:XR[e.type],o=await(async()=>{const c=await e.headers();return Symbol.iterator in c?Object.fromEntries(c):c})(),u=(0,Lc.default)((0,Lc.default)((0,Lc.default)({},e.contentTypeHeader&&i!=="GET"?{"content-type":e.contentTypeHeader}:{}),e.trpcAcceptHeader?{[(n=e.trpcAcceptHeaderKey)!==null&&n!==void 0?n:"trpc-accept"]:e.trpcAcceptHeader}:void 0),o);return QR(e.fetch)(r,{method:i,signal:e.signal,body:a,headers:u})}async function rD(e){const t={},n=await nD(e);t.response=n;const r=await n.json();return t.responseJSON=r,{json:r,meta:t}}mn(Oa(),1);const L5=()=>{throw new Error("Something went wrong. Please submit an issue at https://github.com/trpc/trpc/issues/new")};function I5(e){let t=null,n=null;const r=()=>{clearTimeout(n),n=null,t=null};function a(u){const c=[[]];let h=0;for(;;){const x=u[h];if(!x)break;const y=c[c.length-1];if(x.aborted){var g;(g=x.reject)===null||g===void 0||g.call(x,new Error("Aborted")),h++;continue}if(e.validate(y.concat(x).map(_=>_.key))){y.push(x),h++;continue}if(y.length===0){var m;(m=x.reject)===null||m===void 0||m.call(x,new Error("Input is too big for a single dispatch")),h++;continue}c.push([])}return c}function i(){const u=a(t);r();for(const c of u){if(!c.length)continue;const h={items:c};for(const m of c)m.batch=h;e.fetch(h.items.map(m=>m.key)).then(async m=>{await Promise.all(m.map(async(y,E)=>{const _=h.items[E];try{var N;const C=await Promise.resolve(y);(N=_.resolve)===null||N===void 0||N.call(_,C)}catch(C){var A;(A=_.reject)===null||A===void 0||A.call(_,C)}_.batch=null,_.reject=null,_.resolve=null}));for(const y of h.items){var x;(x=y.reject)===null||x===void 0||x.call(y,new Error("Missing result")),y.batch=null}}).catch(m=>{for(const y of h.items){var x;(x=y.reject)===null||x===void 0||x.call(y,m),y.batch=null}})}}function o(u){var c;const h={aborted:!1,key:u,batch:null,resolve:L5,reject:L5},g=new Promise((m,x)=>{var y;h.reject=x,h.resolve=m,(y=t)!==null&&y!==void 0||(t=[]),t.push(h)});return(c=n)!==null&&c!==void 0||(n=setTimeout(i)),g}return{load:o}}function aD(...e){const t=new AbortController,n=e.length;let r=0;const a=()=>{++r===n&&t.abort()};for(const i of e)i?.aborted?a():i?.addEventListener("abort",a,{once:!0});return t.signal}var Jd=mn(Oa(),1);function sD(e){var t,n;const r=WR(e),a=(t=e.maxURLLength)!==null&&t!==void 0?t:1/0,i=(n=e.maxItems)!==null&&n!==void 0?n:1/0;return()=>{const o=g=>({validate(m){if(a===1/0&&i===1/0)return!0;
18if(m.length>i)return!1;const x=m.map(_=>_.path).join(","),y=m.map(_=>_.input);return hw((0,Jd.default)((0,Jd.default)({},r),{},{type:g,path:x,inputs:y,signal:null})).length<=a},async fetch(m){const x=m.map(C=>C.path).join(","),y=m.map(C=>C.input),E=aD(...m.map(C=>C.signal)),_=await JR((0,Jd.default)((0,Jd.default)({},r),{},{path:x,inputs:y,type:g,headers(){return e.headers?typeof e.headers=="function"?e.headers({opList:m}):e.headers:{}},signal:E}));return(Array.isArray(_.json)?_.json:m.map(()=>_.json)).map(C=>({meta:_.meta,json:C}))}}),u=I5(o("query")),c=I5(o("mutation")),h={query:u,mutation:c};return({op:g})=>Pf(m=>{/* istanbul ignore if -- @preserve */if(g.type==="subscription")throw new Error("Subscriptions are unsupported by `httpLink` - use `httpSubscriptionLink` or `wsLink`");const y=h[g.type].load(g);let E;return y.then(_=>{E=_;const N=yR(_.json,r.transformer.output);if(!N.ok){m.error(eu.from(N.error,{meta:_.meta}));return}m.next({context:_.meta,result:N.result}),m.complete()}).catch(_=>{m.error(eu.from(_,{meta:E?.meta}))}),()=>{}})}}mn(Oa(),1);const fw=(e,...t)=>typeof e=="function"?e(...t):e;mn(zl(),1);function iD(){let e,t;return{promise:new Promise((r,a)=>{e=r,t=a}),resolve:e,reject:t}}async function lD(e){const t=await fw(e.url);if(!e.connectionParams)return t;const r=`${t.includes("?")?"&":"?"}connectionParams=1`;return t+r}async function oD(e,t){const n={method:"connectionParams",data:await fw(e)};return t.encode(n)}mn(zl(),1);var Ni=mn(zl(),1);function uD(e){const{promise:t,resolve:n,reject:r}=iD();return e.addEventListener("open",()=>{e.removeEventListener("error",r),n()}),e.addEventListener("error",r),t}function cD(e,{intervalMs:t,pongTimeoutMs:n}){let r,a;function i(){r=setTimeout(()=>{e.send("PING"),a=setTimeout(()=>{e.close()},n)},t)}function o(){clearTimeout(r),i()}function u(){clearTimeout(a),o()}e.addEventListener("open",i),e.addEventListener("message",({data:c})=>{clearTimeout(r),i(),c==="PONG"&&u()}),e.addEventListener("close",()=>{clearTimeout(r),clearTimeout(a)})}var dD=class sb{constructor(t){var n;if((0,Ni.default)(this,"id",++sb.connectCount),(0,Ni.default)(this,"WebSocketPonyfill",void 0),(0,Ni.default)(this,"urlOptions",void 0),(0,Ni.default)(this,"keepAliveOpts",void 0),(0,Ni.default)(this,"encoder",void 0),(0,Ni.default)(this,"wsObservable",FR(null)),(0,Ni.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=++sb.connectCount;const n=lD(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&&cD(r,t.keepAliveOpts),r.addEventListener("close",()=>{t.ws===r&&(t.ws=null)}),await uD(r),t.urlOptions.connectionParams&&r.send(await oD(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,Ni.default)(dD,"connectCount",0);mn(zl(),1);mn(Oa(),1);var B1=mn(zl(),1),M5=mn(Oa(),1),jf=class{constructor(e){(0,B1.default)(this,"links",void 0),(0,B1.default)(this,"runtime",void 0),(0,B1.default)(this,"requestId",void 0),this.requestId=0,this.runtime={},this.links=e.links.map(t=>t(this.runtime))}$request(e){var t;return qR({links:this.links,op:(0,M5.default)((0,M5.default)({},e),{},{context:(t=e.context)!==null&&t!==void 0?t:{},id:++this.requestId})}).pipe(UR())}async requestAsPromise(e){var t=this;try{const n=t.$request(e);return(await ER(n)).result.data}catch(n){throw eu.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 i;(i=n.onConnectionStateChange)===null||i===void 0||i.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 i;(i=n.onError)===null||i===void 0||i.call(n,a)},complete(){var a;(a=n.onComplete)===null||a===void 0||a.call(n)}})}};const mw=Symbol.for("trpc_untypedClient"),hD={query:"query",mutate:"mutation",subscribe:"subscription"},fD=e=>hD[e];function pw(e){const t=Mf(({path:n,args:r})=>{const a=[...n],i=fD(a.pop()),o=a.join(".");return e[i](o,...r)});return C2(n=>n===mw?e:t[n])}function mD(e){const t=new jf(e);return pw(t)}function R2(e){return e[mw]}mn(Oa(),1);mn(Oa(),1);var pD=ss({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/asyncIterator.js"(e,t){function n(a){var i,o,u,c=2;for(typeof Symbol<"u"&&(o=Symbol.asyncIterator,u=Symbol.iterator);c--;){if(o&&(i=a[o])!=null)return i.call(a);if(u&&(i=a[u])!=null)return new r(i.call(a));o="@@asyncIterator",u="@@iterator"}throw new TypeError("Object is not async iterable")}function r(a){function i(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 i(this.n.apply(this.s,arguments))},return:function(u){var c=this.s.return;return c===void 0?Promise.resolve({value:u,done:!0}):i(c.apply(this.s,arguments))},throw:function(u){var c=this.s.return;return c===void 0?Promise.reject(u):i(c.apply(this.s,arguments))}},new r(a)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}});mn(pD(),1);mn(Oa(),1);var gD=ss({"../../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 h=Error();return h.name="SuppressedError",h.error=u,h.suppressed=c,h},a={},i=[];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 h=c[Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose")];if(h===void 0&&(h=c[Symbol.dispose||Symbol.for("Symbol.dispose")],u))var g=h;if(typeof h!="function")throw new TypeError("Object is not disposable.");g&&(h=function(){try{g.call(c)}catch(x){return Promise.reject(x)}}),i.push({v:c,d:h,a:u})}else u&&i.push({d:c,a:u});return c}return{e:a,u:o.bind(null,!1),a:o.bind(null,!0),d:function(){var c,h=this.e,g=0;function m(){for(;c=i.pop();)try{if(!c.a&&g===1)return g=0,i.push(c),Promise.resolve().then(m);if(c.d){var y=c.d.call(c.v);if(c.a)return g|=2,Promise.resolve(y).then(m,x)}else g|=1}catch(E){return x(E)}if(g===1)return h!==a?Promise.reject(h):Promise.resolve();if(h!==a)throw h}function x(y){return h=h!==a?new r(y,h):y,m()}return m()}}}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),gw=ss({"../../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}}),bD=ss({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/awaitAsyncGenerator.js"(e,t){var n=gw();function r(a){return new n(a,0)}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}}),xD=ss({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/wrapAsyncGenerator.js"(e,t){var n=gw();function r(i){return function(){return new a(i.apply(this,arguments))}}function a(i){var o,u;function c(g,m){try{var x=i[g](m),y=x.value,E=y instanceof n;Promise.resolve(E?y.v:y).then(function(_){if(E){var N=g==="return"?"return":"next";if(!y.k||_.done)return c(N,_);_=i[N](_).value}h(x.done?"return":"normal",_)},function(_){c("throw",_)})}catch(_){h("throw",_)}}function h(g,m){switch(g){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(g,m){return new Promise(function(x,y){var E={key:g,arg:m,resolve:x,reject:y,next:null};u?u=u.next=E:(o=u=E,c(g,m))})},typeof i.return!="function"&&(this.return=void 0)}a.prototype[typeof Symbol=="function"&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},a.prototype.next=function(i){return this._invoke("next",i)},a.prototype.throw=function(i){return this._invoke("throw",i)},a.prototype.return=function(i){return this._invoke("return",i)}
18,t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports}});mn(gD(),1);mn(bD(),1);mn(xD(),1);mn(Oa(),1);function yD(e){return Mf(({path:t,args:n})=>{var r;const a=[...t],i=a.pop();if(i==="useMutation")return e[i](a,...n);if(i==="_def")return{path:a};const[o,...u]=n,c=(r=u[0])!==null&&r!==void 0?r:{};return e[i](a,o,c)})}var z1;const vD=["client","ssrContext","ssrState","abortOnUnmount"],ED=(z1=R.createContext)===null||z1===void 0?void 0:z1.call(Df,null),wD=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 TD(e){return Mf(t=>{const n=[...t.path],r=n.pop(),a=[...t.args],i=a.shift(),o=wD(r),u=Ya(n,i,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(Ch(n),i),getMutationDefaults:()=>e.getMutationDefaults(Ch(n)),isMutating:()=>e.isMutating({mutationKey:Ch(n)})}[r]()})}function _D(e){const t=pw(e.client),n=TD(e);return C2(r=>{const a=r;return a==="client"?t:vD.includes(a)?e[a]:n[r]})}var kD=Bl(y0(),1);function P5(e){const t=e instanceof jf?e:R2(e);return Mf(n=>{const r=n.path,a=r.join("."),[i,o]=n.args;return(0,kD.default)({queryKey:Ya(r,i,"query"),queryFn:()=>t.query(a,i,o?.trpc)},o)})}var U1=Bl(y0(),1);function ir(e,t,n){var r;const a=e[0];let i=(r=e[1])===null||r===void 0?void 0:r.input;if(n){var o;i=(0,U1.default)((0,U1.default)((0,U1.default)({},(o=i)!==null&&o!==void 0?o:{}),n.pageParam?{cursor:n.pageParam}:{}),{},{direction:n.direction})}return[a.join("."),i,t?.trpc]}var SD=Yi({"../../node_modules/.pnpm/@[email protected]/node_modules/@oxc-project/runtime/src/helpers/asyncIterator.js"(e,t){function n(a){var i,o,u,c=2;for(typeof Symbol<"u"&&(o=Symbol.asyncIterator,u=Symbol.iterator);c--;){if(o&&(i=a[o])!=null)return i.call(a);if(u&&(i=a[u])!=null)return new r(i.call(a));o="@@asyncIterator",u="@@iterator"}throw new TypeError("Object is not async iterable")}function r(a){function i(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 i(this.n.apply(this.s,arguments))},return:function(u){var c=this.s.return;return c===void 0?Promise.resolve({value:u,done:!0}):i(c.apply(this.s,arguments))},throw:function(u){var c=this.s.return;return c===void 0?Promise.reject(u):i(c.apply(this.s,arguments))}},new r(a)}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}}),AD=Bl(SD(),1);function ib(e){return{path:e.path.join(".")}}function gc(e){const t=ib(e);return R.useMemo(()=>t,[t])}async function bw(e,t,n){const a=t.getQueryCache().build(t,{queryKey:n});a.setState({data:[],status:"success"});const i=[];var o=!1,u=!1,c;try{for(var h=(0,AD.default)(e),g;o=!(g=await h.next()).done;o=!1){const m=g.value;i.push(m),a.setState({data:[...i]})}}catch(m){u=!0,c=m}finally{try{o&&h.return!=null&&await h.return()}finally{if(u)throw c}}return i}var kt=Bl(y0(),1);function ND(e){const{client:t,queryClient:n}=e,r=t instanceof jf?t:R2(t);return{infiniteQueryOptions:(a,i,o)=>{var u,c;const h=((u=i[1])===null||u===void 0?void 0:u.input)===Fr,g=async m=>{var x;const y=(0,kt.default)((0,kt.default)({},o),{},{trpc:(0,kt.default)((0,kt.default)({},o?.trpc),!(o==null||(x=o.trpc)===null||x===void 0)&&x.abortOnUnmount?{signal:m.signal}:{signal:null})});return await r.query(...ir(i,y,{direction:m.direction,pageParam:m.pageParam}))};return Object.assign((0,kt.default)((0,kt.default)({},o),{},{initialData:o?.initialData,queryKey:i,queryFn:h?Fr:g,initialPageParam:(c=o?.initialCursor)!==null&&c!==void 0?c:null}),{trpc:ib({path:a})})},queryOptions:(a,i,o)=>{var u;const c=((u=i[1])===null||u===void 0?void 0:u.input)===Fr,h=async g=>{var m;const x=(0,kt.default)((0,kt.default)({},o),{},{trpc:(0,kt.default)((0,kt.default)({},o?.trpc),!(o==null||(m=o.trpc)===null||m===void 0)&&m.abortOnUnmount?{signal:g.signal}:{signal:null})}),y=await r.query(...ir(i,x));return ZE(y)?bw(y,n,i):y};return Object.assign((0,kt.default)((0,kt.default)({},o),{},{initialData:o?.initialData,queryKey:i,queryFn:c?Fr:h}),{trpc:ib({path:a})})},fetchQuery:(a,i)=>n.fetchQuery((0,kt.default)((0,kt.default)({},i),{},{queryKey:a,queryFn:()=>r.query(...ir(a,i))})),fetchInfiniteQuery:(a,i)=>{var o;return n.fetchInfiniteQuery((0,kt.default)((0,kt.default)({},i),{},{queryKey:a,queryFn:({pageParam:u,direction:c})=>r.query(...ir(a,i,{pageParam:u,direction:c})),initialPageParam:(o=i?.initialCursor)!==null&&o!==void 0?o:null}))},prefetchQuery:(a,i)=>n.prefetchQuery((0,kt.default)((0,kt.default)({},i),{},{queryKey:a,queryFn:()=>r.query(...ir(a,i))})),prefetchInfiniteQuery:(a,i)=>{var o;return n.prefetchInfiniteQuery((0,kt.default)((0,kt.default)({},i),{},{queryKey:a,queryFn:({pageParam:u,direction:c})=>r.query(...ir(a,i,{pageParam:u,direction:c})),initialPageParam:(o=i?.initialCursor)!==null&&o!==void 0?o:null}))},ensureQueryData:(a,i)=>n.ensureQueryData((0,kt.default)((0,kt.default)({},i),{},{queryKey:a,queryFn:()=>r.query(...ir(a,i))})),invalidateQueries:(a,i,o)=>n.invalidateQueries((0,kt.default)((0,kt.default)({},i),{},{queryKey:a}),o),resetQueries:(a,i,o)=>n.resetQueries((0,kt.default)((0,kt.default)({},i),{},{queryKey:a}),o),refetchQueries:(a,i,o)=>n.refetchQueries((0,kt.default)((0,kt.default)({},i),{},{queryKey:a}),o),cancelQuery:(a,i)=>n.cancelQueries({queryKey:a},i),setQueryData:(a,i,o)=>n.setQueryData(a,i,o),setQueriesData:(a,i,o,u)=>n.setQueriesData((0,kt.default)((0,kt.default)({},i),{},{queryKey:a}),o,u),getQueryData:a=>n.getQueryData(a),setInfiniteQueryData:(a,i,o)=>n.setQueryData(a,i,o),getInfiniteQueryData:a=>n.getQueryData(a),setMutationDefaults:(a,i)=>{const o=a[0],u=c=>r.mutation(...ir([o,{input:c}],e));return n.setMutationDefaults(a,typeof i=="function"?i({canonicalMutationFn:u}):i)},getMutationDefaults:a=>n.getMutationDefaults(a),isMutating:a=>n.isMutating((0,kt.default)((0,kt.default)({},a),{},{exact:!0}))}}var je=Bl(y0());const j5=(e,t)=>new Proxy(e,{get(r,a){return t(a),r[a]}});function CD(e){var t,n;const r=(t=void 0)!==null&&t!==void 0?t:G=>G.originalFn(),a=(n=void 0)!==null&&n!==void 0?n:ED,i=mD,o=G=>{var P;const{abortOnUnmount:B=!1,queryClient:Z,ssrContext:V}=G,[U,ae]=R.useState((P=G.ssrState)!==null&&P!==void 0?P:!1),te=G.client instanceof jf?G.client:R2(G.client),he=R.useMemo(()=>ND({client:te,queryClient:Z}),[te,Z]),le=R.useMemo(()=>(0,je.default)({abortOnUnmount:B,queryClient:Z,client:te,ssrContext:V??null,ssrState:U},he),[B,te,he,Z,V,U]);return R.useEffect(()=>{ae(me=>me?"mounted":!1)},[]),p.jsx(a.Provider,{value:le,children:G.children})};function u(){const G=R.useContext(a);if(!G)throw new Error("Unable to find tRPC Context. Did you forget to wrap your Ap
18p inside `withTRPC` HoC?");return G}function c(G,P){var B;const{queryClient:Z,ssrState:V}=u();return V&&V!=="mounted"&&((B=Z.getQueryCache().find({queryKey:G}))===null||B===void 0?void 0:B.state.status)==="error"?(0,je.default)({retryOnMount:!1},P):P}function h(G,P,B){var Z,V,U,ae,te;const he=u(),{abortOnUnmount:le,client:me,ssrState:$,queryClient:re,prefetchQuery:ne}=he,oe=Ya(G,P,"query"),j=re.getQueryDefaults(oe),F=P===Fr;typeof window>"u"&&$==="prepass"&&(B==null||(Z=B.trpc)===null||Z===void 0?void 0:Z.ssr)!==!1&&((V=B?.enabled)!==null&&V!==void 0?V:j?.enabled)!==!1&&!F&&!re.getQueryCache().find({queryKey:oe})&&ne(oe,B);const ie=c(oe,(0,je.default)((0,je.default)({},j),B)),D=(U=(ae=B==null||(te=B.trpc)===null||te===void 0?void 0:te.abortOnUnmount)!==null&&ae!==void 0?ae:void 0)!==null&&U!==void 0?U:le,ge=tR((0,je.default)((0,je.default)({},ie),{},{queryKey:oe,queryFn:F?P:async Te=>{const De=(0,je.default)((0,je.default)({},ie),{},{trpc:(0,je.default)((0,je.default)({},ie?.trpc),D?{signal:Te.signal}:{signal:null})}),Me=await me.query(...ir(oe,De));return ZE(Me)?bw(Me,re,oe):Me}}),re);return ge.trpc=gc({path:G}),ge}function g(G,P,B){var Z,V,U;const ae=u(),te=Ya(G,P,"query"),he=P===Fr,le=(Z=(V=B==null||(U=B.trpc)===null||U===void 0?void 0:U.abortOnUnmount)!==null&&V!==void 0?V:void 0)!==null&&Z!==void 0?Z:ae.abortOnUnmount;sR((0,je.default)((0,je.default)({},B),{},{queryKey:te,queryFn:he?P:me=>{const $={trpc:(0,je.default)((0,je.default)({},B?.trpc),le?{signal:me.signal}:{})};return ae.client.query(...ir(te,$))}}))}function m(G,P,B){var Z,V,U;const ae=u(),te=Ya(G,P,"query"),he=(Z=(V=B==null||(U=B.trpc)===null||U===void 0?void 0:U.abortOnUnmount)!==null&&V!==void 0?V:void 0)!==null&&Z!==void 0?Z:ae.abortOnUnmount,le=nR((0,je.default)((0,je.default)({},B),{},{queryKey:te,queryFn:me=>{const $=(0,je.default)((0,je.default)({},B),{},{trpc:(0,je.default)((0,je.default)({},B?.trpc),he?{signal:me.signal}:{signal:null})});return ae.client.query(...ir(te,$))}}),ae.queryClient);return le.trpc=gc({path:G}),[le.data,le]}function x(G,P){const{client:B,queryClient:Z}=u(),V=Ch(G),U=Z.defaultMutationOptions(Z.getMutationDefaults(V)),ae=lR((0,je.default)((0,je.default)({},P),{},{mutationKey:V,mutationFn:te=>B.mutation(...ir([G,{input:te}],P)),onSuccess(...te){var he,le;return r({originalFn:()=>{var $,re,ne;return($=P==null||(re=P.onSuccess)===null||re===void 0?void 0:re.call(P,...te))!==null&&$!==void 0?$:U==null||(ne=U.onSuccess)===null||ne===void 0?void 0:ne.call(U,...te)},queryClient:Z,meta:(he=(le=P?.meta)!==null&&le!==void 0?le:U?.meta)!==null&&he!==void 0?he:{}})}}),Z);return ae.trpc=gc({path:G}),ae}const y={data:void 0,error:null,status:"idle"},E={data:void 0,error:null,status:"connecting"};/* istanbul ignore next -- @preserve */function _(G,P,B){var Z;const V=(Z=B?.enabled)!==null&&Z!==void 0?Z:P!==Fr,U=Hi(Ya(G,P,"any")),{client:ae}=u(),te=R.useRef(B);R.useEffect(()=>{te.current=B});const[he]=R.useState(new Set([])),le=R.useCallback(F=>{he.add(F)},[he]),me=R.useRef(null),$=R.useCallback(F=>{const ie=ne.current,D=ne.current=F(ie);let ge=!1;for(const Te of he)if(ie[Te]!==D[Te]){ge=!0;break}ge&&j(j5(D,le))},[le,he]),re=R.useCallback(()=>{var F;if((F=me.current)===null||F===void 0||F.unsubscribe(),!V){$(()=>(0,je.default)((0,je.default)({},y),{},{reset:re}));return}$(()=>(0,je.default)((0,je.default)({},E),{},{reset:re}));const ie=ae.subscription(G.join("."),P??void 0,{onStarted:()=>{var D,ge;(D=(ge=te.current).onStarted)===null||D===void 0||D.call(ge),$(Te=>(0,je.default)((0,je.default)({},Te),{},{status:"pending",error:null}))},onData:D=>{var ge,Te;(ge=(Te=te.current).onData)===null||ge===void 0||ge.call(Te,D),$(De=>(0,je.default)((0,je.default)({},De),{},{status:"pending",data:D,error:null}))},onError:D=>{var ge,Te;(ge=(Te=te.current).onError)===null||ge===void 0||ge.call(Te,D),$(De=>(0,je.default)((0,je.default)({},De),{},{status:"error",error:D}))},onConnectionStateChange:D=>{$(ge=>{switch(D.state){case"idle":return(0,je.default)((0,je.default)({},ge),{},{status:D.state,error:null,data:void 0});case"connecting":return(0,je.default)((0,je.default)({},ge),{},{error:D.error,status:D.state});
18case"pending":return ge}})},onComplete:()=>{var D,ge;(D=(ge=te.current).onComplete)===null||D===void 0||D.call(ge),$(Te=>(0,je.default)((0,je.default)({},Te),{},{status:"idle",error:null,data:void 0}))}});me.current=ie},[ae,U,V,$]);R.useEffect(()=>(re(),()=>{var F;(F=me.current)===null||F===void 0||F.unsubscribe()}),[re]);const ne=R.useRef(V?(0,je.default)((0,je.default)({},E),{},{reset:re}):(0,je.default)((0,je.default)({},y),{},{reset:re})),[oe,j]=R.useState(j5(ne.current,le));return oe}function N(G,P,B){var Z,V,U,ae,te;const{client:he,ssrState:le,prefetchInfiniteQuery:me,queryClient:$,abortOnUnmount:re}=u(),ne=Ya(G,P,"infinite"),oe=$.getQueryDefaults(ne),j=P===Fr;typeof window>"u"&&le==="prepass"&&(B==null||(Z=B.trpc)===null||Z===void 0?void 0:Z.ssr)!==!1&&((V=B?.enabled)!==null&&V!==void 0?V:oe?.enabled)!==!1&&!j&&!$.getQueryCache().find({queryKey:ne})&&me(ne,(0,je.default)((0,je.default)({},oe),B));const F=c(ne,(0,je.default)((0,je.default)({},oe),B)),ie=(U=B==null||(ae=B.trpc)===null||ae===void 0?void 0:ae.abortOnUnmount)!==null&&U!==void 0?U:re,D=oR((0,je.default)((0,je.default)({},F),{},{initialPageParam:(te=B.initialCursor)!==null&&te!==void 0?te:null,persister:B.persister,queryKey:ne,queryFn:j?P:ge=>{var Te;const De=(0,je.default)((0,je.default)({},F),{},{trpc:(0,je.default)((0,je.default)({},F?.trpc),ie?{signal:ge.signal}:{signal:null})});return he.query(...ir(ne,De,{pageParam:(Te=ge.pageParam)!==null&&Te!==void 0?Te:B.initialCursor,direction:ge.direction}))}}),$);return D.trpc=gc({path:G}),D}function A(G,P,B){var Z,V,U;const ae=u(),te=Ya(G,P,"infinite"),he=ae.queryClient.getQueryDefaults(te),le=P===Fr,me=c(te,(0,je.default)((0,je.default)({},he),B)),$=(Z=B==null||(V=B.trpc)===null||V===void 0?void 0:V.abortOnUnmount)!==null&&Z!==void 0?Z:ae.abortOnUnmount;iR((0,je.default)((0,je.default)({},B),{},{initialPageParam:(U=B.initialCursor)!==null&&U!==void 0?U:null,queryKey:te,queryFn:le?P:re=>{var ne;const oe=(0,je.default)((0,je.default)({},me),{},{trpc:(0,je.default)((0,je.default)({},me?.trpc),$?{signal:re.signal}:{})});return ae.client.query(...ir(te,oe,{pageParam:(ne=re.pageParam)!==null&&ne!==void 0?ne:B.initialCursor,direction:re.direction}))}}))}function C(G,P,B){var Z,V,U;const ae=u(),te=Ya(G,P,"infinite"),he=ae.queryClient.getQueryDefaults(te),le=c(te,(0,je.default)((0,je.default)({},he),B)),me=(Z=B==null||(V=B.trpc)===null||V===void 0?void 0:V.abortOnUnmount)!==null&&Z!==void 0?Z:ae.abortOnUnmount,$=rR((0,je.default)((0,je.default)({},B),{},{initialPageParam:(U=B.initialCursor)!==null&&U!==void 0?U:null,queryKey:te,queryFn:re=>{var ne;const oe=(0,je.default)((0,je.default)({},le),{},{trpc:(0,je.default)((0,je.default)({},le?.trpc),me?{signal:re.signal}:{})});return ae.client.query(...ir(te,oe,{pageParam:(ne=re.pageParam)!==null&&ne!==void 0?ne:B.initialCursor,direction:re.direction}))}}),ae.queryClient);return $.trpc=gc({path:G}),[$.data,$]}return{Provider:o,createClient:i,useContext:u,useUtils:u,useQuery:h,usePrefetchQuery:g,useSuspenseQuery:m,useQueries:(G,P)=>{const{ssrState:B,queryClient:Z,prefetchQuery:V,client:U}=u(),ae=P5(U),te=G(ae);if(typeof window>"u"&&B==="prepass")for(const le of te){var he;const me=le;((he=me.trpc)===null||he===void 0?void 0:he.ssr)!==!1&&!Z.getQueryCache().find({queryKey:me.queryKey})&&V(me.queryKey,me)}return XE({queries:te.map(le=>(0,je.default)((0,je.default)({},le),{},{queryKey:le.queryKey})),combine:P?.combine},Z)},useSuspenseQueries:G=>{const{queryClient:P,client:B}=u(),Z=P5(B),V=G(Z),U=aR({queries:V.map(ae=>(0,je.default)((0,je.default)({},ae),{},{queryFn:ae.queryFn,queryKey:ae.queryKey}))},P);return[U.map(ae=>ae.data),U]},useMutation:x,useSubscription:_,useInfiniteQuery:N,usePrefetchInfiniteQuery:A,useSuspenseInfiniteQuery:C}}function OD(e){const t=yD(e);return C2(n=>n==="useContext"||n==="useUtils"?()=>{const r=e.useUtils();return R.useMemo(()=>_D(r),[r])}:e.hasOwnProperty(n)?e[n]:t[n])}function RD(e){const t=CD();return OD(t)}const ct=RD(),DD="Please login (10001)";var F1={exports:{}},bc={},q1={exports:{}},G1={};/**
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 H5;function LD(){return H5||(H5=1,(function(e){function t($,re){var ne=$.length;$.push(re);e:for(;0<ne;){var oe=ne-1>>>1,j=$[oe];if(0<a(j,re))$[oe]=re,$[ne]=j,ne=oe;else break e}}function n($){return $.length===0?null:$[0]}function r($){if($.length===0)return null;var re=$[0],ne=$.pop();if(ne!==re){$[0]=ne;e:for(var oe=0,j=$.length,F=j>>>1;oe<F;){var ie=2*(oe+1)-1,D=$[ie],ge=ie+1,Te=$[ge];
vendor: 10,875 bytes, lines 26-42
26if(0>a(D,ne))ge<j&&0>a(Te,D)?($[oe]=Te,$[ge]=ne,oe=ge):($[oe]=D,$[ie]=ne,oe=ie);else if(ge<j&&0>a(Te,ne))$[oe]=Te,$[ge]=ne,oe=ge;else break e}}return re}function a($,re){var ne=$.sortIndex-re.sortIndex;return ne!==0?ne:$.id-re.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var o=Date,u=o.now();e.unstable_now=function(){return o.now()-u}}var c=[],h=[],g=1,m=null,x=3,y=!1,E=!1,_=!1,N=!1,A=typeof setTimeout=="function"?setTimeout:null,C=typeof clearTimeout=="function"?clearTimeout:null,M=typeof setImmediate<"u"?setImmediate:null;function X($){for(var re=n(h);re!==null;){if(re.callback===null)r(h);else if(re.startTime<=$)r(h),re.sortIndex=re.expirationTime,t(c,re);else break;re=n(h)}}function G($){if(_=!1,X($),!E)if(n(c)!==null)E=!0,P||(P=!0,te());else{var re=n(h);re!==null&&me(G,re.startTime-$)}}var P=!1,B=-1,Z=5,V=-1;function U(){return N?!0:!(e.unstable_now()-V<Z)}function ae(){if(N=!1,P){var $=e.unstable_now();V=$;var re=!0;try{e:{E=!1,_&&(_=!1,C(B),B=-1),y=!0;var ne=x;try{t:{for(X($),m=n(c);m!==null&&!(m.expirationTime>$&&U());){var oe=m.callback;if(typeof oe=="function"){m.callback=null,x=m.priorityLevel;var j=oe(m.expirationTime<=$);if($=e.unstable_now(),typeof j=="function"){m.callback=j,X($),re=!0;break t}m===n(c)&&r(c),X($)}else r(c);m=n(c)}if(m!==null)re=!0;else{var F=n(h);F!==null&&me(G,F.startTime-$),re=!1}}break e}finally{m=null,x=ne,y=!1}re=void 0}}finally{re?te():P=!1}}}var te;if(typeof M=="function")te=function(){M(ae)};else if(typeof MessageChannel<"u"){var he=new MessageChannel,le=he.port2;he.port1.onmessage=ae,te=function(){le.postMessage(null)}}else te=function(){A(ae,0)};function me($,re){B=A(function(){$(e.unstable_now())},re)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function($){$.callback=null},e.unstable_forceFrameRate=function($){0>$||125<$?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Z=0<$?Math.floor(1e3/$):5},e.unstable_getCurrentPriorityLevel=function(){return x},e.unstable_next=function($){switch(x){case 1:case 2:case 3:var re=3;break;default:re=x}var ne=x;x=re;try{return $()}finally{x=ne}},e.unstable_requestPaint=function(){N=!0},e.unstable_runWithPriority=function($,re){switch($){case 1:case 2:case 3:case 4:case 5:break;default:$=3}var ne=x;x=$;try{return re()}finally{x=ne}},e.unstable_scheduleCallback=function($,re,ne){var oe=e.unstable_now();switch(typeof ne=="object"&&ne!==null?(ne=ne.delay,ne=typeof ne=="number"&&0<ne?oe+ne:oe):ne=oe,$){case 1:var j=-1;break;case 2:j=250;break;case 5:j=1073741823;break;case 4:j=1e4;break;default:j=5e3}return j=ne+j,$={id:g++,callback:re,priorityLevel:$,startTime:ne,expirationTime:j,sortIndex:-1},ne>oe?($.sortIndex=ne,t(h,$),n(c)===null&&$===n(h)&&(_?(C(B),B=-1):_=!0,me(G,ne-oe))):($.sortIndex=j,t(c,$),E||y||(E=!0,P||(P=!0,te()))),$},e.unstable_shouldYield=U,e.unstable_wrapCallback=function($){var re=x;return function(){var ne=x;x=re;try{return $.apply(this,arguments)}finally{x=ne}}}})(G1)),G1}var B5;function ID(){return B5||(B5=1,q1.exports=LD()),q1.exports}var $1={exports:{}},Kn={};/**
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 z5;function MD(){if(z5)return Kn;z5=1;var e=Rf();function t(c){var h="https://react.dev/errors/"+c;if(1<arguments.length){h+="?args[]="+encodeURIComponent(arguments[1]);for(var g=2;g<arguments.length;g++)h+="&args[]="+encodeURIComponent(arguments[g])}return"Minified React error #"+c+"; visit "+h+" 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 i(c,h,g){var m=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:a,key:m==null?null:""+m,children:c,containerInfo:h,implementation:g}}var o=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function u(c,h){if(c==="font")return"";if(typeof h=="string")return h==="use-credentials"?h:""}return Kn.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,Kn.createPortal=function(c,h){var g=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!h||h.nodeType!==1&&h.nodeType!==9&&h.nodeType!==11)throw Error(t(299));return i(c,h,null,g)},Kn.flushSync=function(c){var h=o.T,g=r.p;try{if(o.T=null,r.p=2,c)return c()}finally{o.T=h,r.p=g,r.d.f()}},Kn.preconnect=function(c,h){typeof c=="string"&&(h?(h=h.crossOrigin,h=typeof h=="string"?h==="use-credentials"?h:"":void 0):h=null,r.d.C(c,h))},Kn.prefetchDNS=function(c){typeof c=="string"&&r.d.D(c)},Kn.preinit=function(c,h){if(typeof c=="string"&&h&&typeof h.as=="string"){var g=h.as,m=u(g,h.crossOrigin),x=typeof h.integrity=="string"?h.integrity:void 0,y=typeof h.fetchPriority=="string"?h.fetchPriority:void 0;g==="style"?r.d.S(c,typeof h.precedence=="string"?h.precedence:void 0,{crossOrigin:m,integrity:x,fetchPriority:y}):g==="script"&&r.d.X(c,{crossOrigin:m,integrity:x,fetchPriority:y,nonce:typeof h.nonce=="string"?h.nonce:void 0})}},Kn.preinitModule=function(c,h){if(typeof c=="string")if(typeof h=="object"&&h!==null){if(h.as==null||h.as==="script"){var g=u(h.as,h.crossOrigin);r.d.M(c,{crossOrigin:g,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0})}}else h==null&&r.d.M(c)},Kn.preload=function(c,h){if(typeof c=="string"&&typeof h=="object"&&h!==null&&typeof h.as=="string"){var g=h.as,m=u(g,h.crossOrigin);r.d.L(c,g,{crossOrigin:m,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0,type:typeof h.type=="string"?h.type:void 0,fetchPriority:typeof h.fetchPriority=="string"?h.fetchPriority:void 0,referrerPolicy:typeof h.referrerPolicy=="string"?h.referrerPolicy:void 0,imageSrcSet:typeof h.imageSrcSet=="string"?h.imageSrcSet:void 0,imageSizes:typeof h.imageSizes=="string"?h.imageSizes:void 0,media:typeof h.media=="string"?h.media:void 0})}},Kn.preloadModule=function(c,h){if(typeof c=="string")if(h){var g=u(h.as,h.crossOrigin);r.d.m(c,{as:typeof h.as=="string"&&h.as!=="script"?h.as:void 0,crossOrigin:g,integrity:typeof h.integrity=="string"?h.integrity:void 0})}else r.d.m(c)},Kn.requestFormReset=function(c){r.d.r(c)},Kn.unstable_batchedUpdates=function(c,h){return c(h)},Kn.useFormState=function(c,h,g){return o.H.useFormState(c,h,g)},Kn.useFormStatus=function(){return o.H.useHostTransitionStatus()},Kn.version="19.2.1",Kn}var U5;function xw(){if(U5)return $1.exports;U5=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(),$1.exports=MD(),$1.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 F5;function PD(){if(F5)return bc;F5=1;var e=ID(),t=Rf(),n=xw();function r(s){var l="https://react.dev/errors/"+s;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 #"+s+"; visit "+l+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function a(s){return!(!s||s.nodeType!==1&&s.nodeType!==9&&s.nodeType!==11)}function i(s){var l=s,d=s;if(s.alternate)for(;l.return;)l=l.return;else{s=l;do l=s,(l.flags&4098)!==0&&(d=l.return),s=l.return;while(s)}return l.tag===3?d:null}function o(s){if(s.tag===13){var l=s.memoizedState;if(l===null&&(s=s.alternate,s!==null&&(l=s.memoizedState)),l!==null)return l.dehydrated}return null}function u(s){if(s.tag===31){var l=s.memoizedState;if(l===null&&(s=s.alternate,s!==null&&(l=s.memoizedState)),l!==null)return l.dehydrated}return null}function c(s){if(i(s)!==s)throw Error(r(188))}function h(s){var l=s.alternate;if(!l){if(l=i(s),l===null)throw Error(r(188));return l!==s?null:s}for(var d=s,f=l;;){var b=d.return;if(b===null)break;var v=b.alternate;if(v===null){if(f=b.return,f!==null){d=f;continue}break}if(b.child===v.child){for(v=b.child;v;){if(v===d)return c(b),s;if(v===f)return c(b),l;v=v.sibling}throw Error(r(188))}if(d.return!==f.return)d=b,f=v;else{for(var S=!1,L=b.child;L;){if(L===d){S=!0,d=b,f=v;break}if(L===f){S=!0,f=b,d=v;break}L=L.sibling}if(!S){for(L=v.child;L;){if(L===d){S=!0,d=v,f=b;break}if(L===f){S=!0,f=v,d=b;break}L=L.sibling}if(!S)throw Error(r(189))}}if(d.alternate!==f)throw Error(r(190))}if(d.tag!==3)throw Error(r(188));return d.stateNode.current===d?s:l}function g(s){var l=s.tag;if(l===5||l===26||l===27||l===6)return s;for(s=s.child;s!==null;){if(l=g(s),l!==null)return l;s=s.sibling}return null}var m=Object.assign,x=Symbol.for("react.element"),y=Symbol.for("react.transitional.element"),E=Symbol.for("react.portal"),_=Symbol.for("react.fragment"),N=Symbol.for("react.strict_mode"),A=Symbol.for("react.profiler"),C=Symbol.for("react.consumer"),M=Symbol.for("react.context"),X=Symbol.for("react.forward_ref"),G=Symbol.for("react.suspense"),P=Symbol.for("react.suspense_list"),B=Symbol.for("react.memo"),Z=Symbol.for("react.lazy"),V=Symbol.for("react.activity"),U=Symbol.for("react.memo_cache_sentinel"),ae=Symbol.iterator;function te(s){return s===null||typeof s!="object"?null:(s=ae&&s[ae]||s["@@iterator"],typeof s=="function"?s:null)}var he=Symbol.for("react.client.reference");function le(s){if(s==null)return null;if(typeof s=="function")return s.$$typeof===he?null:s.displayName||s.name||null;if(typeof s=="string")return s;switch(s){case _:return"Fragment";case A:return"Profiler";case N:return"StrictMode";case G:return"Suspense";case P:return"SuspenseList";case V:return"Activity"}if(typeof s=="object")switch(s.$$typeof){case E:return"Portal";case M:return s.displayName||"Context";case C:return(s._context.displayName||"Context")+".Consumer";case X:var l=s.render;return s=s.displayName,s||(s=l.displayName||l.name||"",s=s!==""?"ForwardRef("+s+")":"ForwardRef"),s;case B:return l=s.displayName||null,l!==null?l:le(s.type)||"Memo";case Z:l=s._payload,s=s._init;try{return le(s(l))}catch{}}return null}var me=Array.isArray,$=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,re=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ne={pen
vendor: 4,246 bytes, lines 42-49
42ding:!1,data:null,method:null,action:null},oe=[],j=-1;function F(s){return{current:s}}function ie(s){0>j||(s.current=oe[j],oe[j]=null,j--)}function D(s,l){j++,oe[j]=s.current,s.current=l}var ge=F(null),Te=F(null),De=F(null),Me=F(null);function ze(s,l){switch(D(De,l),D(Te,s),D(ge,null),l.nodeType){case 9:case 11:s=(s=l.documentElement)&&(s=s.namespaceURI)?zv(s):0;break;default:if(s=l.tagName,l=l.namespaceURI)l=zv(l),s=Uv(l,s);else switch(s){case"svg":s=1;break;case"math":s=2;break;default:s=0}}ie(ge),D(ge,s)}function Xe(){ie(ge),ie(Te),ie(De)}function He(s){s.memoizedState!==null&&D(Me,s);var l=ge.current,d=Uv(l,s.type);l!==d&&(D(Te,s),D(ge,d))}function Dt(s){Te.current===s&&(ie(ge),ie(Te)),Me.current===s&&(ie(Me),dc._currentValue=ne)}var sn,Or;function Pn(s){if(sn===void 0)try{throw Error()}catch(d){var l=d.stack.trim().match(/\n( *(at )?)/);sn=l&&l[1]||"",Or=-1<d.stack.indexOf(`
43    at`)?" (<anonymous>)":-1<d.stack.indexOf("@")?"@unknown:0:0":""}return`
44`+sn+s+Or}var ba=!1;function Qr(s,l){if(!s||ba)return"";ba=!0;var d=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var f={DetermineComponentFrameRoot:function(){try{if(l){var we=function(){throw Error()};if(Object.defineProperty(we.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(we,[])}catch(be){var pe=be}Reflect.construct(s,[],we)}else{try{we.call()}catch(be){pe=be}s.call(we.prototype)}}else{try{throw Error()}catch(be){pe=be}(we=s())&&typeof we.catch=="function"&&we.catch(function(){})}}catch(be){if(be&&pe&&typeof be.stack=="string")return[be.stack,pe.stack]}return[null,null]}};f.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var b=Object.getOwnPropertyDescriptor(f.DetermineComponentFrameRoot,"name");b&&b.configurable&&Object.defineProperty(f.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var v=f.DetermineComponentFrameRoot(),S=v[0],L=v[1];if(S&&L){var K=S.split(`
45`),fe=L.split(`
46`);for(b=f=0;f<K.length&&!K[f].includes("DetermineComponentFrameRoot");)f++;for(;b<fe.length&&!fe[b].includes("DetermineComponentFrameRoot");)b++;if(f===K.length||b===fe.length)for(f=K.length-1,b=fe.length-1;1<=f&&0<=b&&K[f]!==fe[b];)b--;for(;1<=f&&0<=b;f--,b--)if(K[f]!==fe[b]){if(f!==1||b!==1)do if(f--,b--,0>b||K[f]!==fe[b]){var ye=`
47`+K[f].replace(" at new "," at ");return s.displayName&&ye.includes("<anonymous>")&&(ye=ye.replace("<anonymous>",s.displayName)),ye}while(1<=f&&0<=b);break}}}finally{ba=!1,Error.prepareStackTrace=d}return(d=s?s.displayName||s.name:"")?Pn(d):""}function dr(s,l){switch(s.tag){case 26:case 27:case 5:return Pn(s.type);case 16:return Pn("Lazy");case 13:return s.child!==l&&l!==null?Pn("Suspense Fallback"):Pn("Suspense");case 19:return Pn("SuspenseList");case 0:case 15:return Qr(s.type,!1);case 11:return Qr(s.type.render,!1);case 1:return Qr(s.type,!0);case 31:return Pn("Activity");default:return""}}function Wr(s){try{var l="",d=null;do l+=dr(s,d),d=s,s=s.return;while(s);return l}catch(f){return`
48Error generating stack: `+f.message+`
49`+f.stack}}var ln=Object.prototype.hasOwnProperty,Zs=e.unstable_scheduleCallback,Ji=e.unstable_cancelCallback,jn=e.unstable_shouldYield,La=e.unstable_requestPaint,Hn=e.unstable_now,ku=e.unstable_getCurrentPriorityLevel,ve=e.unstable_ImmediatePriority,Le=e.unstable_UserBlockingPriority,We=e.unstable_NormalPriority,it=e.unstable_LowPriority,mt=e.unstable_IdlePriority,Yn=e.log,Qn=e.unstable_setDisableYieldValue,Bn=null,on=null;function zn(s){if(typeof Yn=="function"&&Qn(s),on&&typeof on.setStrictMode=="function")try{on.setStrictMode(Bn,s)}catch{}}var Ct=Math.clz32?Math.clz32:Ma,Ia=Math.log,rr=Math.LN2;function Ma(s){return s>>>=0,s===0?32:31-(Ia(s)/rr|0)|0}var Yl=256,Ql=262144,el=4194304;function Pa(s){var l=s&42;if(l!==0)return l;switch(s&-s){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 s&261888;case 262144:case 524288:case 1048576:case 2097152:return s&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return s&62914560;case 67108864:return 67108864;
vendor: 6,175 bytes, line 49
49case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return s}}function Je(s,l,d){var f=s.pendingLanes;if(f===0)return 0;var b=0,v=s.suspendedLanes,S=s.pingedLanes;s=s.warmLanes;var L=f&134217727;return L!==0?(f=L&~v,f!==0?b=Pa(f):(S&=L,S!==0?b=Pa(S):d||(d=L&~s,d!==0&&(b=Pa(d))))):(L=f&~v,L!==0?b=Pa(L):S!==0?b=Pa(S):d||(d=f&~s,d!==0&&(b=Pa(d)))),b===0?0:l!==0&&l!==b&&(l&v)===0&&(v=b&-b,d=l&-l,v>=d||v===32&&(d&4194048)!==0)?l:b}function $t(s,l){return(s.pendingLanes&~(s.suspendedLanes&~s.pingedLanes)&l)===0}function Cn(s,l){switch(s){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 Wn(){var s=el;return el<<=1,(el&62914560)===0&&(el=4194304),s}function Js(s){for(var l=[],d=0;31>d;d++)l.push(s);return l}function Wt(s,l){s.pendingLanes|=l,l!==268435456&&(s.suspendedLanes=0,s.pingedLanes=0,s.warmLanes=0)}function hr(s,l,d,f,b,v){var S=s.pendingLanes;s.pendingLanes=d,s.suspendedLanes=0,s.pingedLanes=0,s.warmLanes=0,s.expiredLanes&=d,s.entangledLanes&=d,s.errorRecoveryDisabledLanes&=d,s.shellSuspendCounter=0;var L=s.entanglements,K=s.expirationTimes,fe=s.hiddenUpdates;for(d=S&~d;0<d;){var ye=31-Ct(d),we=1<<ye;L[ye]=0,K[ye]=-1;var pe=fe[ye];if(pe!==null)for(fe[ye]=null,ye=0;ye<pe.length;ye++){var be=pe[ye];be!==null&&(be.lane&=-536870913)}d&=~we}f!==0&&tl(s,f,0),v!==0&&b===0&&s.tag!==0&&(s.suspendedLanes|=v&~(S&~l))}function tl(s,l,d){s.pendingLanes|=l,s.suspendedLanes&=~l;var f=31-Ct(l);s.entangledLanes|=l,s.entanglements[f]=s.entanglements[f]|1073741824|d&261930}function fr(s,l){var d=s.entangledLanes|=l;for(s=s.entanglements;d;){var f=31-Ct(d),b=1<<f;b&l|s[f]&l&&(s[f]|=l),d&=~b}}function mr(s,l){var d=l&-l;return d=(d&42)!==0?1:Wl(d),(d&(s.suspendedLanes|l))!==0?0:d}function Wl(s){switch(s){case 2:s=1;break;case 8:s=4;break;case 32:s=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:s=128;break;case 268435456:s=134217728;break;default:s=0}return s}function xa(s){return s&=-s,2<s?8<s?(s&134217727)!==0?32:268435456:8:2}function Sm(){var s=re.p;return s!==0?s:(s=window.event,s===void 0?32:c5(s.type))}function S4(s,l){var d=re.p;try{return re.p=s,l()}finally{re.p=d}}var ei=Math.random().toString(36).slice(2),Un="__reactFiber$"+ei,pr="__reactProps$"+ei,Kl="__reactContainer$"+ei,Am="__reactEvents$"+ei,uN="__reactListeners$"+ei,cN="__reactHandles$"+ei,A4="__reactResources$"+ei,Su="__reactMarker$"+ei;function Nm(s){delete s[Un],delete s[pr],delete s[Am],delete s[uN],delete s[cN]}function Xl(s){var l=s[Un];if(l)return l;for(var d=s.parentNode;d;){if(l=d[Kl]||d[Un]){if(d=l.alternate,l.child!==null||d!==null&&d.child!==null)for(s=Qv(s);s!==null;){if(d=s[Un])return d;s=Qv(s)}return l}s=d,d=s.parentNode}return null}function Zl(s){if(s=s[Un]||s[Kl]){var l=s.tag;if(l===5||l===6||l===13||l===31||l===26||l===27||l===3)return s}return null}function Au(s){var l=s.tag;if(l===5||l===26||l===27||l===6)return s.stateNode;throw Error(r(33))}function Jl(s){var l=s[A4];return l||(l=s[A4]={hoistableStyles:new Map,hoistableScripts:new Map}),l}function On(s){s[Su]=!0}var N4=new Set,C4={};function nl(s,l){eo(s,l),eo(s+"Capture",l)}function eo(s,l){for(C4[s]=l,s=0;s<l.length;s++)N4.add(l[s])}var dN=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),O4={},R4={};function hN(s){return ln.call(R4,s)?!0:ln.call(O4,s)?!1:dN.test(s)?R4[s]=!0:(O4[s]=!0,!1)}function H0(s,l,d){if(hN(l))if(d===null)s.removeAttribute(l);else{switch(typeof d){case"undefined":case"function":case"symbol":s.removeAttribute(l);return;case"boolean":var f=l.toLowerCase().slice(0,5);if(f!=="data-"&&f!=="aria-"){s.removeAttribute(l);return}}s.setAttribute(l,""+d)}}function B0(s,l,d){if(d===null)s.removeAttribute(l);else{switch(typeof d){case"undefined":case"function":case"symbol":case"boolean":s.removeAttribute(l);return}s.setAttribute(l,""+d)}}function hs(s,l,d,f){if(f===null)s.removeAttribute(d);else{switch(typeof f){case"undefined":case"function":case"symbol":case"boolean":s.removeAttribute(d);return}s.setAttributeNS(l,d,""+f)}}function Kr(s){switch(typeof s){case"bigint":case"boolean":case"number":case"string":case"undefined":return s;case"object":return s;default:return""}}function D4(s){var l=s.type;return(s=s.nodeName)&&s.toLowerCase()==="input"&&(l==="checkbox"||l==="radio")}function fN(s,l,d){var f=Object.getOwnPropertyDescriptor(s.constructor.prototype,l);if(!s.hasOwnProperty(l)&&typeof f<"u"&&typeof f.get=="function"&&typeof f.set=="function"){var b=f.get,v=f.set;return Object.defineProperty(s,l,{configurable:!0,get:function(){return b.call(this)},set:function(S){d=""+S,v.call(this,S)}}),Object.defineProperty(s,l,{enumerable:f.enumerable}),{getValue:function(){return d},setValue:function(S){d=""+S},stopTracking:function(){s._valueTracker=null,delete s[l]}}}}function Cm(s){if(!s._valueTracker){var l=D4(s)?"checked":"value";s._valueTracker=fN(s,l,""+s[l])}}function L4(s){if(!s)return!1;var l=s._valueTracker;if(!l)return!0;var d=l.getValue(),f="";return s&&(f=D4(s)?s.checked?"true":"false":s.value),s=f,s!==d?(l.setValue(s),!0):!1}function z0(s){if(s=s||(typeof document<"u"?document:void 0),typeof s>"u")return null;try{return s.activeElement||s.body}catch{return s.body}}var mN=/[\n"\\]/g;function Xr(s){return s.replace(mN,function(l){return"\\"+l.charCodeAt(0).toString(16)+" "})}
vendor: 4,391 bytes, line 49
49function Om(s,l,d,f,b,v,S,L){s.name="",S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"?s.type=S:s.removeAttribute("type"),l!=null?S==="number"?(l===0&&s.value===""||s.value!=l)&&(s.value=""+Kr(l)):s.value!==""+Kr(l)&&(s.value=""+Kr(l)):S!=="submit"&&S!=="reset"||s.removeAttribute("value"),l!=null?Rm(s,S,Kr(l)):d!=null?Rm(s,S,Kr(d)):f!=null&&s.removeAttribute("value"),b==null&&v!=null&&(s.defaultChecked=!!v),b!=null&&(s.checked=b&&typeof b!="function"&&typeof b!="symbol"),L!=null&&typeof L!="function"&&typeof L!="symbol"&&typeof L!="boolean"?s.name=""+Kr(L):s.removeAttribute("name")}function I4(s,l,d,f,b,v,S,L){if(v!=null&&typeof v!="function"&&typeof v!="symbol"&&typeof v!="boolean"&&(s.type=v),l!=null||d!=null){if(!(v!=="submit"&&v!=="reset"||l!=null)){Cm(s);return}d=d!=null?""+Kr(d):"",l=l!=null?""+Kr(l):d,L||l===s.value||(s.value=l),s.defaultValue=l}f=f??b,f=typeof f!="function"&&typeof f!="symbol"&&!!f,s.checked=L?s.checked:!!f,s.defaultChecked=!!f,S!=null&&typeof S!="function"&&typeof S!="symbol"&&typeof S!="boolean"&&(s.name=S),Cm(s)}function Rm(s,l,d){l==="number"&&z0(s.ownerDocument)===s||s.defaultValue===""+d||(s.defaultValue=""+d)}function to(s,l,d,f){if(s=s.options,l){l={};for(var b=0;b<d.length;b++)l["$"+d[b]]=!0;for(d=0;d<s.length;d++)b=l.hasOwnProperty("$"+s[d].value),s[d].selected!==b&&(s[d].selected=b),b&&f&&(s[d].defaultSelected=!0)}else{for(d=""+Kr(d),l=null,b=0;b<s.length;b++){if(s[b].value===d){s[b].selected=!0,f&&(s[b].defaultSelected=!0);return}l!==null||s[b].disabled||(l=s[b])}l!==null&&(l.selected=!0)}}function M4(s,l,d){if(l!=null&&(l=""+Kr(l),l!==s.value&&(s.value=l),d==null)){s.defaultValue!==l&&(s.defaultValue=l);return}s.defaultValue=d!=null?""+Kr(d):""}function P4(s,l,d,f){if(l==null){if(f!=null){if(d!=null)throw Error(r(92));if(me(f)){if(1<f.length)throw Error(r(93));f=f[0]}d=f}d==null&&(d=""),l=d}d=Kr(l),s.defaultValue=d,f=s.textContent,f===d&&f!==""&&f!==null&&(s.value=f),Cm(s)}function no(s,l){if(l){var d=s.firstChild;if(d&&d===s.lastChild&&d.nodeType===3){d.nodeValue=l;return}}s.textContent=l}var pN=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 j4(s,l,d){var f=l.indexOf("--")===0;d==null||typeof d=="boolean"||d===""?f?s.setProperty(l,""):l==="float"?s.cssFloat="":s[l]="":f?s.setProperty(l,d):typeof d!="number"||d===0||pN.has(l)?l==="float"?s.cssFloat=d:s[l]=(""+d).trim():s[l]=d+"px"}function H4(s,l,d){if(l!=null&&typeof l!="object")throw Error(r(62));if(s=s.style,d!=null){for(var f in d)!d.hasOwnProperty(f)||l!=null&&l.hasOwnProperty(f)||(f.indexOf("--")===0?s.setProperty(f,""):f==="float"?s.cssFloat="":s[f]="");for(var b in l)f=l[b],l.hasOwnProperty(b)&&d[b]!==f&&j4(s,b,f)}else for(var v in l)l.hasOwnProperty(v)&&j4(s,v,l[v])}function Dm(s){if(s.indexOf("-")===-1)return!1;switch(s){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 gN=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"]]),bN=/^[\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 U0(s){return bN.test(""+s)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":s}function fs(){}var Lm=null;function Im(s){return s=s.target||s.srcElement||window,s.correspondingUseElement&&(s=s.correspondingUseElement),s.nodeType===3?s.parentNode:s}var ro=null,ao=null;function B4(s){var l=Zl(s);if(l&&(s=l.stateNode)){var d=s[pr]||null;e:switch(s=l.stateNode,l.type){case"input":if(Om(s,d.value,d.defaultValue,d.defaultValue,d.checked,d.defaultChecked,d.type,d.name),l=d.name,d.type==="radio"&&l!=null){for(d=s;d.parentNode;)d=d.parentNode;for(d=d.querySelectorAll('input[name="'+Xr(""+l)+'"][type="radio"]'),l=0;l<d.length;l++){var f=d[l];if(f!==s&&f.form===s.form){var b=f[pr]||null;if(!b)throw Error(r(90));Om(f,b.value,b.defaultValue,b.defaultValue,b.checked,b.defaultChecked,b.type,b.name)}}for(l=0;l<d.length;l++)f=d[l],f.form===s.form&&L4(f)}break e;case"textarea":M4(s,d.value,d.defaultValue);break e;case"select":l=d.value,l!=null&&to(s,!!d.multiple,l,!1)}}}var Mm=!1;function z4(s,l,d){if(Mm)return s(l,d);Mm=!0;try{var f=s(l);return f}finally{if(Mm=!1,(ro!==null||ao!==null)&&(Nd(),ro&&(l=ro,s=ao,ao=ro=null,B4(l),s)))for(l=0;l<s.length;l++)B4(s[l])}}function Nu(s,l){var d=s.stateNode;if(d===null)return null;var f=d[pr]||null;if(f===null)return null;d=f[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":(f=!f.disabled)||(s=s.type,f=!(s==="button"||s==="input"||s==="select"||s==="textarea")),s=!f;break e;default:s=!1}if(s)return null;if(d&&typeof d!="function")throw Error(r(231,l,typeof d));return d}var ms=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Pm=!1;if(ms)try{var Cu={};Object.defineProperty(Cu,"passive",{get:function(){Pm=!0}}),window.addEventListener("test",Cu,Cu),window.removeEventListener("test",Cu,Cu)}catch{Pm=!1}var ti=null,jm=null,F0=null;function U4(){if(F0)return F0;var s,l=jm,d=l.length,f,b="value"in ti?ti.value:ti.textContent,v=b.length;for(s=0;s<d&&l[s]===b[s];s++);var S=d-s;for(f=1;f<=S&&l[d-f]===b[v-f];f++);return F0=b.slice(s,1<f?1-f:void 0)}function q0(s){var l=s.keyCode;return"charCode"in s?(s=s.charCode,s===0&&l===13&&(s=13)):s=l,s===10&&(s=13),32<=s||s===13?s:0}function G0(){return!0}
vendor: 2,788 bytes, line 49
49function F4(){return!1}function gr(s){function l(d,f,b,v,S){this._reactName=d,this._targetInst=b,this.type=f,this.nativeEvent=v,this.target=S,this.currentTarget=null;for(var L in s)s.hasOwnProperty(L)&&(d=s[L],this[L]=d?d(v):v[L]);return this.isDefaultPrevented=(v.defaultPrevented!=null?v.defaultPrevented:v.returnValue===!1)?G0:F4,this.isPropagationStopped=F4,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=G0)},stopPropagation:function(){var d=this.nativeEvent;d&&(d.stopPropagation?d.stopPropagation():typeof d.cancelBubble!="unknown"&&(d.cancelBubble=!0),this.isPropagationStopped=G0)},persist:function(){},isPersistent:G0}),l}var rl={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(s){return s.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},$0=gr(rl),Ou=m({},rl,{view:0,detail:0}),xN=gr(Ou),Hm,Bm,Ru,V0=m({},Ou,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Um,button:0,buttons:0,relatedTarget:function(s){return s.relatedTarget===void 0?s.fromElement===s.srcElement?s.toElement:s.fromElement:s.relatedTarget},movementX:function(s){return"movementX"in s?s.movementX:(s!==Ru&&(Ru&&s.type==="mousemove"?(Hm=s.screenX-Ru.screenX,Bm=s.screenY-Ru.screenY):Bm=Hm=0,Ru=s),Hm)},movementY:function(s){return"movementY"in s?s.movementY:Bm}}),q4=gr(V0),yN=m({},V0,{dataTransfer:0}),vN=gr(yN),EN=m({},Ou,{relatedTarget:0}),zm=gr(EN),wN=m({},rl,{animationName:0,elapsedTime:0,pseudoElement:0}),TN=gr(wN),_N=m({},rl,{clipboardData:function(s){return"clipboardData"in s?s.clipboardData:window.clipboardData}}),kN=gr(_N),SN=m({},rl,{data:0}),G4=gr(SN),AN={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},NN={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"},CN={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ON(s){var l=this.nativeEvent;return l.getModifierState?l.getModifierState(s):(s=CN[s])?!!l[s]:!1}function Um(){return ON}var RN=m({},Ou,{key:function(s){if(s.key){var l=AN[s.key]||s.key;if(l!=="Unidentified")return l}return s.type==="keypress"?(s=q0(s),s===13?"Enter":String.fromCharCode(s)):s.type==="
49keydown"||s.type==="keyup"?NN[s.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Um,charCode:function(s){return s.type==="keypress"?q0(s):0},keyCode:function(s){return s.type==="keydown"||s.type==="keyup"?s.keyCode:0},which:function(s){return s.type==="keypress"?q0(s):s.type==="keydown"||s.type==="keyup"?s.keyCode:0}}),DN=gr(RN),LN=m({},V0,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),$4=gr(LN),IN=m({},Ou,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Um}),MN=gr(IN),PN=m({},rl,{propertyName:0,elapsedTime:0,pseudoElement:0}),jN=gr(PN),HN=m({},V0,{deltaX:function(s){return"deltaX"in s?s.deltaX:"wheelDeltaX"in s?-s.wheelDeltaX:0},deltaY:function(s){return"deltaY"in s?s.deltaY:"wheelDeltaY"in s?-s.wheelDeltaY:"wheelDelta"in s?-s.wheelDelta:0},deltaZ:0,deltaMode:0}),BN=gr(HN),zN=m({},rl,{newState:0,oldState:0}),UN=gr(zN),FN=[9,13,27,32],Fm=ms&&"CompositionEvent"in window,Du=null;ms&&"documentMode"in document&&(Du=document.documentMode);var qN=ms&&"TextEvent"in window&&!Du,V4=ms&&(!Fm||Du&&8<Du&&11>=Du),Y4=" ",Q4=!1;function W4(s,l){switch(s){case"keyup":return FN.indexOf(l.keyCode)!==-1;case"keydown":return l.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function K4(s){return s=s.detail,typeof s=="object"&&"data"in s?s.data:null}var so=!1;function GN(s,l){switch(s){case"compositionend":return K4(l);case"keypress":return l.which!==32?null:(Q4=!0,Y4);case"textInput":return s=l.data,s===Y4&&Q4?null:s;default:return null}}function $N(s,l){if(so)return s==="compositionend"||!Fm&&W4(s,l)?(s=U4(),F0=jm=ti=null,so=!1,s):null;switch(s){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 V4&&l.locale!=="ko"?null:l.data;default:return null}}var VN={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 X4(s){var l=s&&s.nodeName&&s.nodeName.toLowerCase();return l==="input"?!!VN[s.type]:l==="textarea"}function Z4(s,l,d,f){ro?ao?ao.push(f):ao=[f]:ro=f,l=Md(l,"onChange"),0<l.length&&(d=new $0("onChange","change",null,d,f),s.push({event:d,listeners:l}))}var Lu=null,Iu=null;function YN(s){Iv(s,0)}function Y0(s){var l=Au(s);if(L4(l))return s}function J4(s,l){if(s==="change")return l}var ey=!1;if(ms){var qm;if(ms){var Gm="oninput"in document;if(!Gm){var ty=document.createElement("div");ty.setAttribute("oninput","return;"),Gm=typeof ty.oninput=="function"}qm=Gm}else qm=!1;ey=qm&&(!document.documentMode||9<document.documentMode)}function ny(){Lu&&(Lu.detachEvent("onpropertychange",ry),Iu=Lu=null)}function ry(s){if(s.propertyName==="value"&&Y0(Iu)){var l=[];Z4(l,Iu,s,Im(s)),z4(YN,l)}}function QN(s,l,d){s==="focusin"?(ny(),Lu=l,Iu=d,Lu.attachEvent("onpropertychange",ry)):s==="focusout"&&ny()}function WN(s){if(s==="selectionchange"||s==="keyup"||s==="keydown")return Y0(Iu)}function KN(s,l){if(s==="click")return Y0(l)}function XN(s,l){if(s==="input"||s==="change")return Y0(l)}function ZN(s,l){return s===l&&(s!==0||1/s===1/l)||s!==s&&l!==l}var Rr=typeof Object.is=="function"?Object.is:ZN;function Mu(s,l){if(Rr(s,l))return!0;if(typeof s!="object"||s===null||typeof l!="object"||l===null)return!1;var d=Object.keys(s),f=Object.keys(l);if(d.length!==f.length)return!1;for(f=0;f<d.length;f++){var b=d[f];if(!ln.call(l,b)||!Rr(s[b],l[b]))return!1}return!0}function ay(s){for(;s&&s.firstChild;)s=s.firstChild;return s}function sy(s,l){var d=ay(s);s=0;for(var f;d;){if(d.nodeType===3){if(f=s+d.textContent.length,s<=l&&f>=l)return{node:d,offset:l-s};s=f}e:{for(;d;){if(d.nextSibling){d=d.nextSibling;break e}d=d.parentNode}d=void 0}d=ay(d)}}function iy(s,l){return s&&l?s===l?!0:s&&s.nodeType===3?!1:l&&l.nodeType===3?iy(s,l.parentNode):"contains"in s?s.contains(l):s.compareDocumentPosition?!!(s.compareDocumentPosition(l)&16):!1:!1}function ly(s){s=s!=null&&s.ownerDocument!=null&&s.ownerDocument.defaultView!=null?s.ownerDocument.defaultView:window;for(var l=z0(s.document);l instanceof s.HTMLIFrameElement;){try{var d=typeof l.contentWindow.location.href=="string"}catch{d=!1}if(d)s=l.contentWindow;else break;l=z0(s.document)}return l}function $m(s){var l=s&&s.nodeName&&s.nodeName.toLowerCase();return l&&(l==="input"&&(s.type==="text"||s.type==="search"||s.type==="tel"||s.type==="url"||s.type==="password")||l==="textarea"||s.contentEditable==="true")}var JN=ms&&"documentMode"in document&&11>=document.documentMode,io=null,Vm=null,Pu=null,Ym=!1;function oy(s,l,d){var f=d.window===d?d.document:d.nodeType===9?d:d.ownerDocument;Ym||io==null||io!==z0(f)||(f=io,"selectionStart"in f&&$m(f)?f={start:f.selectionStart,end:f.selectionEnd}:(f=(f.ownerDocument&&f.ownerDocument.defaultView||window).getSelection(),f={anchorNode:f.anchorNode,anchorOffset:f.anchorOffset,focu
vendor: 21,538 bytes, line 49
49sNode:f.focusNode,focusOffset:f.focusOffset}),Pu&&Mu(Pu,f)||(Pu=f,f=Md(Vm,"onSelect"),0<f.length&&(l=new $0("onSelect","select",null,l,d),s.push({event:l,listeners:f}),l.target=io)))}function al(s,l){var d={};return d[s.toLowerCase()]=l.toLowerCase(),d["Webkit"+s]="webkit"+l,d["Moz"+s]="moz"+l,d}var lo={animationend:al("Animation","AnimationEnd"),animationiteration:al("Animation","AnimationIteration"),animationstart:al("Animation","AnimationStart"),transitionrun:al("Transition","TransitionRun"),transitionstart:al("Transition","TransitionStart"),transitioncancel:al("Transition","TransitionCancel"),transitionend:al("Transition","TransitionEnd")},Qm={},uy={};ms&&(uy=document.createElement("div").style,"AnimationEvent"in window||(delete lo.animationend.animation,delete lo.animationiteration.animation,delete lo.animationstart.animation),"TransitionEvent"in window||delete lo.transitionend.transition);function sl(s){if(Qm[s])return Qm[s];if(!lo[s])return s;var l=lo[s],d;for(d in l)if(l.hasOwnProperty(d)&&d in uy)return Qm[s]=l[d];return s}var cy=sl("animationend"),dy=sl("animationiteration"),hy=sl("animationstart"),eC=sl("transitionrun"),tC=sl("transitionstart"),nC=sl("transitioncancel"),fy=sl("transitionend"),my=new Map,Wm="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(" ");Wm.push("scrollEnd");function ya(s,l){my.set(s,l),nl(l,[s])}var Q0=typeof reportError=="function"?reportError:function(s){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var l=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof s=="object"&&s!==null&&typeof s.message=="string"?String(s.message):String(s),error:s});if(!window.dispatchEvent(l))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",s);return}console.error(s)},Zr=[],oo=0,Km=0;function W0(){for(var s=oo,l=Km=oo=0;l<s;){var d=Zr[l];Zr[l++]=null;var f=Zr[l];Zr[l++]=null;var b=Zr[l];Zr[l++]=null;var v=Zr[l];if(Zr[l++]=null,f!==null&&b!==null){var S=f.pending;S===null?b.next=b:(b.next=S.next,S.next=b),f.pending=b}v!==0&&py(d,b,v)}}function K0(s,l,d,f){Zr[oo++]=s,Zr[oo++]=l,Zr[oo++]=d,Zr[oo++]=f,Km|=f,s.lanes|=f,s=s.alternate,s!==null&&(s.lanes|=f)}function Xm(s,l,d,f){return K0(s,l,d,f),X0(s)}function il(s,l){return K0(s,null,null,l),X0(s)}function py(s,l,d){s.lanes|=d;var f=s.alternate;f!==null&&(f.lanes|=d);for(var b=!1,v=s.return;v!==null;)v.childLanes|=d,f=v.alternate,f!==null&&(f.childLanes|=d),v.tag===22&&(s=v.stateNode,s===null||s._visibility&1||(b=!0)),s=v,v=v.return;return s.tag===3?(v=s.stateNode,b&&l!==null&&(b=31-Ct(d),s=v.hiddenUpdates,f=s[b],f===null?s[b]=[l]:f.push(l),l.lane=d|536870912),v):null}function X0(s){if(50<ac)throw ac=0,i1=null,Error(r(185));for(var l=s.return;l!==null;)s=l,l=s.return;return s.tag===3?s.stateNode:null}var uo={};function rC(s,l,d,f){this.tag=s,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=f,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Dr(s,l,d,f){return new rC(s,l,d,f)}function Zm(s){return s=s.prototype,!(!s||!s.isReactComponent)}function ps(s,l){var d=s.alternate;return d===null?(d=Dr(s.tag,l,s.key,s.mode),d.elementType=s.elementType,d.type=s.type,d.stateNode=s.stateNode,d.alternate=s,s.alternate=d):(d.pendingProps=l,d.type=s.type,d.flags=0,d.subtreeFlags=0,d.deletions=null),d.flags=s.flags&65011712,d.childLanes=s.childLanes,d.lanes=s.lanes,d.child=s.child,d.memoizedProps=s.memoizedProps,d.memoizedState=s.memoizedState,d.updateQueue=s.updateQueue,l=s.dependencies,d.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext},d.sibling=s.sibling,d.index=s.index,d.ref=s.ref,d.refCleanup=s.refCleanup,d}function gy(s,l){s.flags&=65011714;var d=s.alternate;return d===null?(s.childLanes=0,s.lanes=l,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=d.childLanes,s.lanes=d.lanes,s.child=d.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=d.memoizedProps,s.memoizedState=d.memoizedState,s.updateQueue=d.updateQueue,s.type=d.type,l=d.dependencies,s.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext}),s}function Z0(s,l,d,f,b,v){var S=0;if(f=s,typeof s=="function")Zm(s)&&(S=1);else if(typeof s=="string")S=oO(s,d,ge.current)?26:s==="html"||s==="head"||s==="body"?27:5;else e:switch(s){case V:return s=Dr(31,d,l,b),s.elementType=V,s.lanes=v,s;case _:return ll(d.children,b,v,l);case N:S=8,b|=24;break;case A:return s=Dr(12,d,l,b|2),s.elementType=A,s.lanes=v,s;case G:return s=Dr(13,d,l,b),s.elementType=G,s.lanes=v,s;case P:return s=Dr(19,d,l,b),s.elementType=P,s.lanes=v,s;default:if(typeof s=="object"&&s!==null)switch(s.$$typeof){case M:S=10;break e;case C:S=9;break e;case X:S=11;break e;case B:S=14;break e;case Z:S=16,f=null;break e}S=29,d=Error(r(130,s===null?"null":typeof s,"")),f=null}return l=Dr(S,d,l,b),l.elementType=s,l.type=f,l.lanes=v,l}function ll(s,l,d,f){return s=Dr(7,s,f,l),s.lanes=d,s}function Jm(s,l,d){return s=Dr(6,s,null,l),s.lanes=d,s}function by(s){var l=Dr(18,null,null,0);return l.stateNode=s,l}function ep(s,l,d){return l=Dr(4,s.children!==null?s.children:[],s.key,l),l.lanes=d,l.stateNode={containerInfo:s.containerInfo,pendingChildren:null,implementation:s.implementation},l}var xy=new WeakMap;function Jr(s,l){if(typeof s=="object"&&s!==null){var d=xy.get(s);return d!==void 0?d:(l={value:s,source:l,stack:Wr(l)},xy.set(s,l),l)}return{value:s,source:l,stack:Wr(l)}}var co=[],ho=0,J0=null,ju=0,ea=[],ta=0,ni=null,ja=1,Ha="";function gs(s,l){co[ho++]=ju,co[ho++]=J0,J0=s,ju=l}function yy(s,l,d){ea[ta++]=ja,ea[ta++]=Ha,ea[ta++]=ni,ni=s;var f=ja;s=Ha;var b=32-Ct(f)-1;f&=~(1<<b),d+=1;var v=32-Ct(l)+b;if(30<v){var S=b-b%5;v=(f&(1<<S)-1).toString(32),f>>=S,b-=S,ja=1<<32-Ct(l)+b|d<<b|f,Ha=v+s}else ja=1<<v|d<<b|f,Ha=s}function tp(s){s.return!==null&&(gs(s,1),yy(s,1,0))}function np(s){for(;s===J0;)J0=co[--ho],co[ho]=null,ju=co[--ho],co[ho]=null;for(;s===ni;)ni=ea[--ta],ea[ta]=null,Ha=ea[--ta],ea[ta]=null,ja=ea[--ta],ea[ta]=null}function vy(s,l){ea[ta++]=ja,ea[ta++]=Ha,ea[ta++]=ni,ja=l.id,Ha=l.overflow,ni=s}var Fn=null,qt=null,Et=!1,ri=null,na=!1,rp=Error(r(519));function ai(s){var l=Error(r(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Hu(Jr(l,s)),rp}function Ey(s){var l=s.stateNode,d=s.type,f=s.memoizedProps;switch(l[Un]=s,l[pr]=f,d){case"dialog":gt("cancel",l),gt("close",l);break;case"iframe":case"object":case"embed":gt("load",l);break;case"video":case"audio":for(d=0;d<ic.length;d++)gt(ic[d],l);break;case"source":gt("error",l);break;case"img":case"image":case"link":gt("error",l),gt("load",l);break;case"details":gt("toggle",l);break;case"input":gt("invalid",l),I4(l,f.value,f.defaultValue,f.checked,f.defaultChecked,f.type,f.name,!0);break;case"select":gt("invalid",l);break;case"textarea":gt("invalid",l),P4(l,f.value,f.defaultValue,f.children)}d=f.children,typeof d!="string"&&typeof d!="number"&&typeof d!="bigint"||l.textContent===""+d||f.suppressHydrationWarning===!0||Hv(l.textContent,d)?(f.popover!=null&&(gt("beforetoggle",l),gt("toggle",l)),f.onScroll!=null&&gt("scroll",l),f.onScrollEnd!=null&&gt("scrollend",l),f.onClick!=null&&(l.onclick=fs),l=!0):l=!1,l||ai(s,!0)}function wy(s){for(Fn=s.return;Fn;)switch(Fn.tag){case 5:case 31:case 13:na=!1;return;case 27:case 3:na=!0;return;default:Fn=Fn.return}}function fo(s){if(s!==Fn)return!1;if(!Et)return wy(s),Et=!0,!1;var l=s.tag,d;if((d=l!==3&&l!==27)&&((d=l===5)&&(d=s.type,d=!(d!=="form"&&d!=="button")||E1(s.type,s.memoizedProps)),d=!d),d&&qt&&ai(s),wy(s),l===13){if(s=s.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(r(317));qt=Yv(s)}else if(l===31){if(s=s.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(r(317));qt=Yv(s)}else l===27?(l=qt,xi(s.type)?(s=S1,S1=null,qt=s):qt=l):qt=Fn?aa(s.stateNode.nextSibling):null;return!0}function ol(){qt=Fn=null,Et=!1}function ap(){var s=ri;return s!==null&&(vr===null?vr=s:vr.push.apply(vr,s),ri=null),s}function Hu(s){ri===null?ri=[s]:ri.push(s)}var sp=F(null),ul=null,bs=null;function si(s,l,d){D(sp,l._currentValue),l._currentValue=d}function xs(s){s._currentValue=sp.current,ie(sp)}function ip(s,l,d){for(;s!==null;){var f=s.alternate;if((s.childLanes&l)!==l?(s.childLanes|=l,f!==null&&(f.childLanes|=l)):f!==null&&(f.childLanes&l)!==l&&(f.childLanes|=l),s===d)break;s=s.return}}function lp(s,l,d,f){var b=s.child;for(b!==null&&(b.return=s);b!==null;){var v=b.dependencies;if(v!==null){var S=b.child;v=v.firstContext;e:for(;v!==null;){var L=v;v=b;for(var K=0;K<l.length;K++)if(L.context===l[K]){v.lanes|=d,L=v.alternate,L!==null&&(L.lanes|=d),ip(v.return,d,s),f||(S=null);break e}v=L.next}}else if(b.tag===18){if(S=b.return,S===null)throw Error(r(341));S.lanes|=d,v=S.alternate,v!==null&&(v.lanes|=d),ip(S,d,s),S=null}else S=b.child;if(S!==null)S.return=b;else for(S=b;S!==null;){if(S===s){S=null;break}if(b=S.sibling,b!==null){b.return=S.return,S=b;break}S=S.return}b=S}}function mo(s,l,d,f){s=null;for(var b=l,v=!1;b!==null;){if(!v){if((b.flags&524288)!==0)v=!0;else if((b.flags&262144)!==0)break}if(b.tag===10){var S=b.alternate;if(S===null)throw Error(r(387));if(S=S.memoizedProps,S!==null){var L=b.type;Rr(b.pendingProps.value,S.value)||(s!==null?s.push(L):s=[L])}}else if(b===Me.current){if(S=b.alternate,S===null)throw Error(r(387));S.memoizedState.memoizedState!==b.memoizedState.memoizedState&&(s!==null?s.push(dc):s=[dc])}b=b.return}s!==null&&lp(l,s,d,f),l.flags|=262144}function ed(s){for(s=s.firstContext;s!==null;){if(!Rr(s.context._currentValue,s.memoizedValue))return!0;s=s.next}return!1}function cl(s){ul=s,bs=null,s=s.dependencies,s!==null&&(s.firstContext=null)}function qn(s){return Ty(ul,s)}function td(s,l){return ul===null&&cl(s),Ty(s,l)}function Ty(s,l){var d=l._currentValue;if(l={context:l,memoizedValue:d,next:null},bs===null){if(s===null)throw Error(r(308));bs=l,s.dependencies={lanes:0,firstContext:l},s.flags|=524288}else bs=bs.next=l;return d}var aC=typeof AbortController<"u"?AbortController:function(){var s=[],l=this.signal={aborted:!1,addEventListener:function(d,f){s.push(f)}};this.abort=function(){l.aborted=!0,s.forEach(function(d){return d()})}},sC=e.unstable_scheduleCallback,iC=e.unstable_NormalPriority,pn={$$typeof:M,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function op(){return{controller:new aC,data:new Map,refCount:0}}function Bu(s){s.refCount--,s.refCount===0&&sC(iC,function(){s.controller.abort()})}var zu=null,up=0,po=0,go=null;function lC(s,l){if(zu===null){var d=zu=[];up=0,po=h1(),go={status:"pending",value:void 0,then:function(f){d.push(f)}}}return up++,l.then(_y,_y),l}function _y(){if(--up===0&&zu!==null){go!==null&&(go.status="fulfilled");var s=zu;zu=null,po=0,go=null;for(var l=0;l<s.length;l++)(0,s[l])()}}function oC(s,l){var d=[],f={status:"pending",value:null,reason:null,then:function(b){d.push(b)}};return s.then(function(){f.status="fulfilled",f.value=l;for(var b=0;b<d.length;b++)(0,d[b])(l)},function(b){for(f.status="rejected",f.reason=b,b=0;b<d.length;b++)(0,d[b])(void 0)}),f}var ky=$.S;$.S=function(s,l){ov=Hn(),typeof l=="object"&&l!==null&&typeof l.then=="function"&&lC(s,l),ky!==null&&ky(s,l)};var dl=F(null);function cp(){var s=dl.current;return s!==null?s:jt.pooledCache}function nd(s,l){l===null?D(dl,dl.current):D(dl,l.pool)}function Sy(){var s=cp();return s===null?null:{parent:pn._currentValue,pool:s}}var bo=Error(r(460)),dp=Error(r(474)),rd=Error(r(542)),ad={then:function(){}};function Ay(s){return s=s.status,s==="fulfilled"||s==="rejected"}function Ny(s,l,d){switch(d=s[d],d===void 0?s.push(l):d!==l&&(l.then(fs,fs),l=d),l.status){case"fulfilled":return l.value;case"rejected":throw s=l.reason,Oy(s),s;default:if(typeof l.status=="string")l.then(fs,fs);else{if(s=jt,s!==null&&100<s.shellSuspendCounter)throw Error(r(482));s=l,s.status="pending",s.then(function(f){if(l.status==="pending"){var b=l;b.status="fulfilled",b.value=f}},function(f){if(l.status==="pending"){var b=l;b.status="rejected",b.reason=f}})}switch(l.status){case"fulfilled":return l.value;case"rejected":throw s=l.reason,Oy(s),s}throw fl=l,bo}}function hl(s){try{var l=s._init;return l(s._payload)}catch(d){throw d!==null&&typeof d=="object"&&typeof d.then=="function"?(fl=d,bo):d}}var fl=null;function Cy(){if(fl===null)throw Error(r(459));var s=fl;return fl=null,s}function Oy(s){if(s===bo||s===rd)throw Error(r(483))}var xo=null,Uu=0;function sd(s){var l=Uu;return Uu+=1,xo===null&&(xo=[]),Ny(xo,s,l)}function Fu(s,l){l=l.props.ref,s.ref=l!==void 0?l:null}function id(s,l){throw l.$$typeof===x?Error(r(525)):(s=Object.prototype.toString.call(l),Error(r(31,s==="[object Object]"?"object with keys {"+Object.keys(l).join(", ")+"}":s)))}function Ry(s){function l(se,J){if(s){var ce=se.deletions;ce===null?(se.deletions=[J],se.flags|=16):ce.push(J)}}function d(se,J){if(!s)return null;for(;J!==null;)l(se,J),J=J.sibling;return null}function f(se){for(var J=new Map;se!==null;)se.key!==null?J.set(se.key,se):J.set(se.index,se),se=se.sibling;return J}function b(se,J){return se=ps(se,J),se.index=0,se.sibling=null,se}function v(se,J,ce){return se.index=ce,s?(ce=se.alternate,ce!==null?(ce=ce.index,ce<J?(se.flags|=67108866,J):ce):(se.flags|=67108866,J)):(se.flags|=1048576,J)}function S(se){return s&&se.alternate===null&&(se.flags|=67108866),se}function L(se,J,ce,Ee){return J===null||J.tag!==6?(J=Jm(ce,se.mode,Ee),J.return=se,J):(J=b(J,ce),J.return=se,J)}function K(se,J,ce,Ee){var Ve=ce.type;return Ve===_?ye(se,J,ce.props.children,Ee,ce.key):J!==null&&(J.elementType===Ve||typeof Ve=="object"&&Ve!==null&&Ve.$$typeof===Z&&hl(Ve)===J.type)?(J=b(J,ce.props),Fu(J,ce),J.return=se,J):(J=Z0(ce.type,ce.key,ce.props,null,se.mode,Ee),Fu(J,ce),J.return=se,J)}function fe(se,J,ce,Ee){return J===null||J.tag!==4||J.stateNode.containerInfo!==ce.containerInfo||J.stateNode.implementation!==ce.implementation?(J=ep(ce,se.mode,Ee),J.return=se,J):(J=b(J,ce.children||[]),J.return=se,J)}function ye(se,J,ce,Ee,Ve){return J===null||J.tag!==7?(J=ll(ce,se.mode,Ee,Ve),J.return=se,J):(J=b(J,ce),J.return=se,J)}function we(se,J,ce){if(typeof J=="string"&&J!==""||typeof J=="number"||typeof J=="bigint")return J=Jm(""+J,se.mode,ce),J.return=se,J;if(typeof J=="object"&&J!==null){switch(J.$$typeof){case y:return ce=Z0(J.type,J.key,J.props,null,se.mode,ce),Fu(ce,J),ce.return=se,ce;case E:return J=ep(J,se.mode,ce),J.return=se,J;case Z:return J=hl(J),we(se,J,ce)}if(me(J)||te(J))return J=ll(J,se.mode,ce,null),J.return=se,J;if(typeof J.then=="function")return we(se,sd(J),ce);if(J.$$typeof===M)return we(se,td(se,J),ce);id(se,J)}return null}function pe(se,J,ce,Ee){var Ve=J!==null?J.key:null;if(typeof ce=="string"&&ce!==""||typeof ce=="number"||typeof ce=="bigint")return Ve!==null?null:L(se,J,""+ce,Ee);if(typeof ce=="object"&&ce!==null){switch(ce.$$typeof){case y:return ce.key===Ve?K(se,J,ce,Ee):null;case E:return ce.key===Ve?fe(se,J,ce,Ee):null;case Z:return ce=hl(ce),pe(se,J,ce,Ee)}if(me(ce)||te(ce))return Ve!==null?null:ye(se,J,ce,Ee,null);if(typeof ce.then=="function")return pe(se,J,sd(ce),Ee);if(ce.$$typeof===M)return pe(se,J,td(se,ce),Ee);id(se,ce)}return null}function be(se,J,ce,Ee,Ve){if(typeof Ee=="string"&&Ee!==""||typeof Ee=="number"||typeof Ee=="bigint")return se=se.get(ce)||null,L(J,se,""+Ee,Ve);if(typeof Ee=="object"&&Ee!==null){switch(Ee.$$typeof){case y:return se=se.get(Ee.key===null?ce:Ee.key)||null,K(J,se,Ee,Ve);case E:return se=se.get(Ee.key===null?ce:Ee.key)||null,fe(J,se,Ee,Ve);case Z:return Ee=hl(Ee),be(se,J,ce,Ee,Ve)}if(me(Ee)||te(Ee))return se=se.get(ce)||null,ye(J,se,Ee,Ve,null);if(typeof Ee.then=="function")return be(se,J,ce,sd(Ee),Ve);if(Ee.$$typeof===M)return be(se,J,ce,td(J,Ee),Ve);id(J,Ee)}return null}function Ue(se,J,ce,Ee){for(var Ve=null,Tt=null,Ge=J,lt=J=0,yt=null;Ge!==null&&lt<ce.length;lt++){Ge.index>lt?(yt=Ge,Ge=null):yt=Ge.sibling;var _t=pe(se,Ge,ce[lt],Ee);if(_t===null){Ge===null&&(Ge=yt);break}s&&Ge&&_t.alternate===null&&l(se,Ge),J=v(_t,J,lt),Tt===null?Ve=_t:Tt.sibling=_t,Tt=_t,Ge=yt}if(lt===ce.length)return d(se,Ge),Et&&gs(se,lt),Ve;if(Ge===null){for(;lt<ce.length;lt++)Ge=we(se,ce[lt],Ee),Ge!==null&&(J=v(Ge,J,lt),Tt===null?Ve=Ge:Tt.sibling=Ge,Tt=Ge);return Et&&gs(se,lt),Ve}for(Ge=f(Ge);lt<ce.length;lt++)yt=be(Ge,se,lt,ce[lt],Ee),yt!==null&&(s&&yt.alternate!==null&&Ge.delete(yt.key===null?lt:yt.key),J=v(yt,J,lt),Tt===null?Ve=yt:Tt.sibling=yt,Tt=yt);return s&&Ge.forEach(function(Ti){return l(se,Ti)}),Et&&gs(se,lt),Ve}function Ke(se,J,ce,Ee){if(ce==null)throw Error(r(151));for(var Ve=null,Tt=null,Ge=J,lt=J=0,yt=null,_t=ce.next();Ge!==null&&!_t.done;lt++,_t=ce.next()){Ge.index>lt?(yt=Ge,Ge=null):yt=Ge.sibling;var Ti=pe(se,Ge,_t.value,Ee);if(Ti===null){Ge===null&&(Ge=yt);break}s&&Ge&&Ti.alternate===null&&l(se,Ge),J=v(Ti,J,lt),Tt===null?Ve=Ti:Tt.sibling=Ti,Tt=Ti,Ge=yt}if(_t.done)return d(se,Ge),Et&&gs(se,lt),Ve;if(Ge===null){for(;!_t.done;lt++,_t=ce.next())_t=we(se,_t.value,Ee),_t!==null&&(J=v(_t,J,lt),Tt===null?Ve=_t:Tt.sibling=_t,Tt=_t);return Et&&gs(se,lt),Ve}for(Ge=f(Ge);!_t.done;lt++,_t=ce.next())_t=be(Ge,se,lt,_t.value,Ee),_t!==null&&(s&&_t.alternate!==null&&Ge.delete(_t.key===null?lt:_t.key),J=v(_t,J,lt),Tt===null?Ve=_t:Tt.sibling=_t,Tt=_t);return s&&Ge.forEach(function(yO){return l(se,yO)}),Et&&gs(se,lt),Ve}function Mt(se,J,ce,Ee){if(typeof ce=="object"&&ce!==null&&ce.type===_&&ce.key===null&&(ce=ce.props.children),typeof ce=="object"&&ce!==null){switch(ce.$$typeof){case y:e:{for(var Ve=ce.key;J!==null;){if(J.key===Ve){if(Ve=ce.type,Ve===_){if(J.tag===7){d(se,J.sibling),Ee=b(J,ce.props.children),Ee.return=se,se=Ee;break e}}else if(J.elementType===Ve||typeof Ve=="object"&&Ve!==null&&Ve.$$typeof===Z&&hl(Ve)===J.type){d(se,J.sibling),Ee=b(J,ce.props),Fu(Ee,ce),Ee.return=se,se=Ee;break e}d(se,J);break}else l(se,J);J=J.sibling}ce.type===_?(Ee=ll(ce.props.children,se.mode,Ee,ce.key),Ee.return=se,se=Ee):(Ee=Z0(ce.type,ce.key,ce.props,null,se.mode,Ee),Fu(Ee,ce),Ee.return=se,se=Ee)}return S(se);case E:e:{for(Ve=ce.key;J!==null;){if(J.key===Ve)if(J.tag===4&&J.stateNode.containerInfo===ce.containerInfo&&J.stateNode.implementation===ce.implementation){d(se,J.sibling),Ee=b(J,ce.children||[]),Ee.return=se,se=Ee;break e}else{d(se,J);break}else l(se,J);J=J.sibling}Ee=ep(ce,se.mode,Ee),Ee.return=se,se=Ee}return S(se);case Z:return ce=hl(ce),Mt(se,J,ce,Ee)}if(me(ce))return Ue(se,J,ce,Ee);if(te(ce)){if(Ve=te(ce),typeof Ve!="function")throw Error(r(150));return ce=Ve.call(ce),Ke(se,J,ce,Ee)}if(typeof ce.then=="function")return Mt(se,J,sd(ce),Ee);if(ce.$$typeof===M)return Mt(se,J,td(se,ce),Ee);id(se,ce)}return typeof ce=="string"&&ce!==""||typeof ce=="number"||typeof ce=="bigint"?(ce=""+ce,J!==null&&J.tag===6?(d(se,J.sibling),Ee=b(J,ce),Ee.return=se,se=Ee):(d(se,J),Ee=Jm(ce,se.mode,Ee),Ee.return=se,se=Ee),S(se)):d(se,J)}return function(se,J,ce,Ee){try{Uu=0;var Ve=Mt(se,J,ce,Ee);return xo=null,Ve}catch(Ge){if(Ge===bo||Ge===rd)throw Ge;var Tt=Dr(29,Ge,null,se.mode);return Tt.lanes=Ee,Tt.return=se,Tt}finally{}}}var ml=Ry(!0),Dy=Ry(!1),ii=!1;function hp(s){s.updateQueue={baseState:s.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function fp(s,l){s=s.updateQueue,l.updateQueue===s&&(l.updateQueue={baseState:s.baseState,firstBaseUpdate:s.firstBaseUpdate,lastBaseUpdate:s.lastBaseUpdate,shared:s.shared,callbacks:null})}function li(s){return{lane:s,tag:0,payload:null,callback:null,next:null}}function oi(s,l,d){var f=s.updateQueue;if(f===null)return null;if(f=f.shared,(Nt&2)!==0){var b=f.pending;return b===null?l.next=l:(l.next=b.next,b.next=l),f.pending=l,l=X0(s),py(s,null,d),l}return K0(s,f,l,d),X0(s)}function qu(s,l,d){if(l=l.updateQueue,l!==null&&(l=l.shared,(d&4194048)!==0)){var f=l.lanes;f&=s.pendingLanes,d|=f,l.lanes=d,fr(s,d)}}function mp(s,l){var d=s.updateQueue,f=s.alternate;if(f!==null&&(f=f.updateQueue,d===f)){var b=null,v=null;if(d=d.firstBaseUpdate,d!==null){do{var S={lane:d.lane,tag:d.tag,payload:d.payload,callback:null,next:null};v===null?b=v=S:v=v.next=S,d=d.next}while(d!==null);v===null?b=v=l:v=v.next=l}else b=v=l;d={baseState:f.baseState,firstBaseUpdate:b,lastBaseUpdate:v,shared:f.shared,callbacks:f.callbacks},s.updateQueue=d;return}s=d.lastBaseUpdate,s===null?d.firstBaseUpdate=l:s.next=l,d.lastBaseUpdate=l}var pp=!1;function Gu(){if(pp){var s=go;if(s!==null)throw s}}function $u(s,l,d,f){pp=!1;var b=s.updateQueue;ii=!1;var v=b.firstBaseUpdate,S=b.lastBaseUpdate,L=b.shared.pending;if(L!==null){b.shared.pending=null;var K=L,fe=K.next;K.next=null,S===null?v=fe:S.next=fe,S=K;var ye=s.alternate;ye!==null&&(ye=ye.updateQueue,L=ye.lastBaseUpdate,L!==S&&(L===null?ye.firstBaseUpdate=fe:L.next=fe,ye.lastBaseUpdate=K))}if(v!==null){var we=b.baseState;
vendor: 5,212 bytes, line 49
49S=0,ye=fe=K=null,L=v;do{var pe=L.lane&-536870913,be=pe!==L.lane;if(be?(xt&pe)===pe:(f&pe)===pe){pe!==0&&pe===po&&(pp=!0),ye!==null&&(ye=ye.next={lane:0,tag:L.tag,payload:L.payload,callback:null,next:null});e:{var Ue=s,Ke=L;pe=l;var Mt=d;switch(Ke.tag){case 1:if(Ue=Ke.payload,typeof Ue=="function"){we=Ue.call(Mt,we,pe);break e}we=Ue;break e;case 3:Ue.flags=Ue.flags&-65537|128;case 0:if(Ue=Ke.payload,pe=typeof Ue=="function"?Ue.call(Mt,we,pe):Ue,pe==null)break e;we=m({},we,pe);break e;case 2:ii=!0}}pe=L.callback,pe!==null&&(s.flags|=64,be&&(s.flags|=8192),be=b.callbacks,be===null?b.callbacks=[pe]:be.push(pe))}else be={lane:pe,tag:L.tag,payload:L.payload,callback:L.callback,next:null},ye===null?(fe=ye=be,K=we):ye=ye.next=be,S|=pe;if(L=L.next,L===null){if(L=b.shared.pending,L===null)break;be=L,L=be.next,be.next=null,b.lastBaseUpdate=be,b.shared.pending=null}}while(!0);ye===null&&(K=we),b.baseState=K,b.firstBaseUpdate=fe,b.lastBaseUpdate=ye,v===null&&(b.shared.lanes=0),fi|=S,s.lanes=S,s.memoizedState=we}}function Ly(s,l){if(typeof s!="function")throw Error(r(191,s));s.call(l)}function Iy(s,l){var d=s.callbacks;if(d!==null)for(s.callbacks=null,s=0;s<d.length;s++)Ly(d[s],l)}var yo=F(null),ld=F(0);function My(s,l){s=As,D(ld,s),D(yo,l),As=s|l.baseLanes}function gp(){D(ld,As),D(yo,yo.current)}function bp(){As=ld.current,ie(yo),ie(ld)}var Lr=F(null),ra=null;function ui(s){var l=s.alternate;D(un,un.current&1),D(Lr,s),ra===null&&(l===null||yo.current!==null||l.memoizedState!==null)&&(ra=s)}function xp(s){D(un,un.current),D(Lr,s),ra===null&&(ra=s)}function Py(s){s.tag===22?(D(un,un.current),D(Lr,s),ra===null&&(ra=s)):ci()}function ci(){D(un,un.current),D(Lr,Lr.current)}function Ir(s){ie(Lr),ra===s&&(ra=null),ie(un)}var un=F(0);function od(s){for(var l=s;l!==null;){if(l.tag===13){var d=l.memoizedState;if(d!==null&&(d=d.dehydrated,d===null||_1(d)||k1(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===s)break;for(;l.sibling===null;){if(l.return===null||l.return===s)return null;l=l.return}l.sibling.return=l.return,l=l.sibling}return null}var ys=0,at=null,Lt=null,gn=null,ud=!1,vo=!1,pl=!1,cd=0,Vu=0,Eo=null,uC=0;function Jt(){throw Error(r(321))}function yp(s,l){if(l===null)return!1;for(var d=0;d<l.length&&d<s.length;d++)if(!Rr(s[d],l[d]))return!1;return!0}function vp(s,l,d,f,b,v){return ys=v,at=l,l.memoizedState=null,l.updateQueue=null,l.lanes=0,$.H=s===null||s.memoizedState===null?y3:Mp,pl=!1,v=d(f,b),pl=!1,vo&&(v=Hy(l,d,f,b)),jy(s),v}function jy(s){$.H=Wu;var l=Lt!==null&&Lt.next!==null;if(ys=0,gn=Lt=at=null,ud=!1,Vu=0,Eo=null,l)throw Error(r(300));s===null||bn||(s=s.dependencies,s!==null&&ed(s)&&(bn=!0))}function Hy(s,l,d,f){at=s;var b=0;do{if(vo&&(Eo=null),Vu=0,vo=!1,25<=b)throw Error(r(301));if(b+=1,gn=Lt=null,s.updateQueue!=null){var v=s.updateQueue;v.lastEffect=null,v.events=null,v.stores=null,v.memoCache!=null&&(v.memoCache.index=0)}$.H=v3,v=l(d,f)}while(vo);return v}function cC(){var s=$.H,l=s.useState()[0];return l=typeof l.then=="function"?Yu(l):l,s=s.useState()[0],(Lt!==null?Lt.memoizedState:null)!==s&&(at.flags|=1024),l}function Ep(){var s=cd!==0;return cd=0,s}function wp(s,l,d){l.updateQueue=s.updateQueue,l.flags&=-2053,s.lanes&=~d}function Tp(s){if(ud){for(s=s.memoizedState;s!==null;){var l=s.queue;l!==null&&(l.pending=null),s=s.next}ud=!1}ys=0,gn=Lt=at=null,vo=!1,Vu=cd=0,Eo=null}function ar(){var s={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return gn===null?at.memoizedState=gn=s:gn=gn.next=s,gn}function cn(){if(Lt===null){var s=at.alternate;s=s!==null?s.memoizedState:null}else s=Lt.next;var l=gn===null?at.memoizedState:gn.next;if(l!==null)gn=l,Lt=s;else{if(s===null)throw at.alternate===null?Error(r(467)):Error(r(310));Lt=s,s={memoizedState:Lt.memoizedState,baseState:Lt.baseState,baseQueue:Lt.baseQueue,queue:Lt.queue,next:null},gn===null?at.memoizedState=gn=s:gn=gn.next=s}return gn}function dd(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Yu(s){var l=Vu;return Vu+=1,Eo===null&&(Eo=[]),s=Ny(Eo,s,l),l=at,(gn===null?l.memoizedState:gn.next)===null&&(l=l.alternate,$.H=l===null||l.memoizedState===null?y3:Mp),s}function hd(s){if(s!==null&&typeof s=="object"){if(typeof s.then=="function")return Yu(s);if(s.$$typeof===M)return qn(s)}throw Error(r(438,String(s)))}function _p(s){var l=null,d=at.updateQueue;if(d!==null&&(l=d.memoCache),l==null){var f=at.alternate;f!==null&&(f=f.updateQueue,f!==null&&(f=f.memoCache,f!=null&&(l={data:f.data.map(function(b){return b.slice()}),index:0})))}if(l==null&&(l={data:[],index:0}),d===null&&(d=dd(),at.updateQueue=d),d.memoCache=l,d=l.data[l.index],d===void 0)for(d=l.data[l.index]=Array(s),f=0;f<s;f++)d[f]=U;return l.index++,d}function vs(s,l){return typeof l=="function"?l(s):l}function fd(s){var l=cn();return kp(l,Lt,s)}function kp(s,l,d){var f=s.queue;if(f===null)throw Error(r(311));f.lastRenderedReducer=d;var b=s.baseQueue,v=f.pending;if(v!==null){if(b!==null){var S=b.next;
vendor: 10,463 bytes, line 49
49b.next=v.next,v.next=S}l.baseQueue=b=v,f.pending=null}if(v=s.baseState,b===null)s.memoizedState=v;else{l=b.next;var L=S=null,K=null,fe=l,ye=!1;do{var we=fe.lane&-536870913;if(we!==fe.lane?(xt&we)===we:(ys&we)===we){var pe=fe.revertLane;if(pe===0)K!==null&&(K=K.next={lane:0,revertLane:0,gesture:null,action:fe.action,hasEagerState:fe.hasEagerState,eagerState:fe.eagerState,next:null}),we===po&&(ye=!0);else if((ys&pe)===pe){fe=fe.next,pe===po&&(ye=!0);continue}else we={lane:0,revertLane:fe.revertLane,gesture:null,action:fe.action,hasEagerState:fe.hasEagerState,eagerState:fe.eagerState,next:null},K===null?(L=K=we,S=v):K=K.next=we,at.lanes|=pe,fi|=pe;we=fe.action,pl&&d(v,we),v=fe.hasEagerState?fe.eagerState:d(v,we)}else pe={lane:we,revertLane:fe.revertLane,gesture:fe.gesture,action:fe.action,hasEagerState:fe.hasEagerState,eagerState:fe.eagerState,next:null},K===null?(L=K=pe,S=v):K=K.next=pe,at.lanes|=we,fi|=we;fe=fe.next}while(fe!==null&&fe!==l);if(K===null?S=v:K.next=L,!Rr(v,s.memoizedState)&&(bn=!0,ye&&(d=go,d!==null)))throw d;s.memoizedState=v,s.baseState=S,s.baseQueue=K,f.lastRenderedState=v}return b===null&&(f.lanes=0),[s.memoizedState,f.dispatch]}function Sp(s){var l=cn(),d=l.queue;if(d===null)throw Error(r(311));d.lastRenderedReducer=s;var f=d.dispatch,b=d.pending,v=l.memoizedState;if(b!==null){d.pending=null;var S=b=b.next;do v=s(v,S.action),S=S.next;while(S!==b);Rr(v,l.memoizedState)||(bn=!0),l.memoizedState=v,l.baseQueue===null&&(l.baseState=v),d.lastRenderedState=v}return[v,f]}function By(s,l,d){var f=at,b=cn(),v=Et;if(v){if(d===void 0)throw Error(r(407));d=d()}else d=l();var S=!Rr((Lt||b).memoizedState,d);if(S&&(b.memoizedState=d,bn=!0),b=b.queue,Cp(Fy.bind(null,f,b,s),[s]),b.getSnapshot!==l||S||gn!==null&&gn.memoizedState.tag&1){if(f.flags|=2048,wo(9,{destroy:void 0},Uy.bind(null,f,b,d,l),null),jt===null)throw Error(r(349));v||(ys&127)!==0||zy(f,l,d)}return d}function zy(s,l,d){s.flags|=16384,s={getSnapshot:l,value:d},l=at.updateQueue,l===null?(l=dd(),at.updateQueue=l,l.stores=[s]):(d=l.stores,d===null?l.stores=[s]:d.push(s))}function Uy(s,l,d,f){l.value=d,l.getSnapshot=f,qy(l)&&Gy(s)}function Fy(s,l,d){return d(function(){qy(l)&&Gy(s)})}function qy(s){var l=s.getSnapshot;s=s.value;try{var d=l();return!Rr(s,d)}catch{return!0}}function Gy(s){var l=il(s,2);l!==null&&Er(l,s,2)}function Ap(s){var l=ar();if(typeof s=="function"){var d=s;if(s=d(),pl){zn(!0);try{d()}finally{zn(!1)}}}return l.memoizedState=l.baseState=s,l.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:vs,lastRenderedState:s},l}function $y(s,l,d,f){return s.baseState=d,kp(s,Lt,typeof f=="function"?f:vs)}function dC(s,l,d,f,b){if(gd(s))throw Error(r(485));if(s=l.action,s!==null){var v={payload:b,action:s,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(S){v.listeners.push(S)}};$.T!==null?d(!0):v.isTransition=!1,f(v),d=l.pending,d===null?(v.next=l.pending=v,Vy(l,v)):(v.next=d.next,l.pending=d.next=v)}}function Vy(s,l){var d=l.action,f=l.payload,b=s.state;if(l.isTransition){var v=$.T,S={};$.T=S;try{var L=d(b,f),K=$.S;K!==null&&K(S,L),Yy(s,l,L)}catch(fe){Np(s,l,fe)}finally{v!==null&&S.types!==null&&(v.types=S.types),$.T=v}}else try{v=d(b,f),Yy(s,l,v)}catch(fe){Np(s,l,fe)}}function Yy(s,l,d){d!==null&&typeof d=="object"&&typeof d.then=="function"?d.then(function(f){Qy(s,l,f)},function(f){return Np(s,l,f)}):Qy(s,l,d)}function Qy(s,l,d){l.status="fulfilled",l.value=d,Wy(l),s.state=d,l=s.pending,l!==null&&(d=l.next,d===l?s.pending=null:(d=d.next,l.next=d,Vy(s,d)))}function Np(s,l,d){var f=s.pending;if(s.pending=null,f!==null){f=f.next;do l.status="rejected",l.reason=d,Wy(l),l=l.next;while(l!==f)}s.action=null}function Wy(s){s=s.listeners;for(var l=0;l<s.length;l++)(0,s[l])()}function Ky(s,l){return l}function Xy(s,l){if(Et){var d=jt.formState;if(d!==null){e:{var f=at;if(Et){if(qt){t:{for(var b=qt,v=na;b.nodeType!==8;){if(!v){b=null;break t}if(b=aa(b.nextSibling),b===null){b=null;break t}}v=b.data,b=v==="F!"||v==="F"?b:null}if(b){qt=aa(b.nextSibling),f=b.data==="F!";break e}}ai(f)}f=!1}f&&(l=d[0])}}return d=ar(),d.memoizedState=d.baseState=l,f={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ky,lastRenderedState:l},d.queue=f,d=g3.bind(null,at,f),f.dispatch=d,f=Ap(!1),v=Ip.bind(null,at,!1,f.queue),f=ar(),b={state:l,dispatch:null,action:s,pending:null},f.queue=b,d=dC.bind(null,at,b,v,d),b.dispatch=d,f.memoizedState=s,[l,d,!1]}function Zy(s){var l=cn();return Jy(l,Lt,s)}function Jy(s,l,d){if(l=kp(s,l,Ky)[0],s=fd(vs)[0],typeof l=="object"&&l!==null&&typeof l.then=="function")try{var f=Yu(l)}catch(S){throw S===bo?rd:S}else f=l;l=cn();var b=l.queue,v=b.dispatch;return d!==l.memoizedState&&(at.flags|=2048,wo(9,{destroy:void 0},hC.bind(null,b,d),null)),[f,v,s]}function hC(s,l){s.action=l}function e3(s){var l=cn(),d=Lt;if(d!==null)return Jy(l,d,s);cn(),l=l.memoizedState,d=cn();var f=d.queue.dispatch;return d.memoizedState=s,[l,f,!1]}function wo(s,l,d,f){return s={tag:s,create:d,deps:f,inst:l,next:null},l=at.updateQueue,l===null&&(l=dd(),at.updateQueue=l),d=l.lastEffect,d===null?l.lastEffect=s.next=s:(f=d.next,d.next=s,s.next=f,l.lastEffect=s),s}function t3(){return cn().memoizedState}function md(s,l,d,f){var b=ar();at.flags|=s,b.memoizedState=wo(1|l,{destroy:void 0},d,f===void 0?null:f)}function pd(s,l,d,f){var b=cn();f=f===void 0?null:f;var v=b.memoizedState.inst;Lt!==null&&f!==null&&yp(f,Lt.memoizedState.deps)?b.memoizedState=wo(l,v,d,f):(at.flags|=s,b.memoizedState=wo(1|l,v,d,f))}function n3(s,l){md(8390656,8,s,l)}function Cp(s,l){pd(2048,8,s,l)}function fC(s){at.flags|=4;var l=at.updateQueue;if(l===null)l=dd(),at.updateQueue=l,l.events=[s];else{var d=l.events;d===null?l.events=[s]:d.push(s)}}function r3(s){var l=cn().memoizedState;return fC({ref:l,nextImpl:s}),function(){if((Nt&2)!==0)throw Error(r(440));return l.impl.apply(void 0,arguments)}}function a3(s,l){return pd(4,2,s,l)}function s3(s,l){return pd(4,4,s,l)}function i3(s,l){if(typeof l=="function"){s=s();var d=l(s);return function(){typeof d=="function"?d():l(null)}}if(l!=null)return s=s(),l.current=s,function(){l.current=null}}function l3(s,l,d){d=d!=null?d.concat([s]):null,pd(4,4,i3.bind(null,l,s),d)}function Op(){}function o3(s,l){var d=cn();l=l===void 0?null:l;var f=d.memoizedState;return l!==null&&yp(l,f[1])?f[0]:(d.memoizedState=[s,l],s)}function u3(s,l){var d=cn();l=l===void 0?null:l;var f=d.memoizedState;if(l!==null&&yp(l,f[1]))return f[0];if(f=s(),pl){zn(!0);try{s()}finally{zn(!1)}}return d.memoizedState=[f,l],f}function Rp(s,l,d){return d===void 0||(ys&1073741824)!==0&&(xt&261930)===0?s.memoizedState=l:(s.memoizedState=d,s=cv(),at.lanes|=s,fi|=s,d)}function c3(s,l,d,f){return Rr(d,l)?d:yo.current!==null?(s=Rp(s,d,f),Rr(s,l)||(bn=!0),s):(ys&42)===0||(ys&1073741824)!==0&&(xt&261930)===0?(bn=!0,s.memoizedState=d):(s=cv(),at.lanes|=s,fi|=s,l)}function d3(s,l,d,f,b){var v=re.p;re.p=v!==0&&8>v?v:8;var S=$.T,L={};$.T=L,Ip(s,!1,l,d);try{var K=b(),fe=$.S;if(fe!==null&&fe(L,K),K!==null&&typeof K=="object"&&typeof K.then=="function"){var ye=oC(K,f);Qu(s,l,ye,jr(s))}else Qu(s,l,f,jr(s))}catch(we){Qu(s,l,{then:function(){},status:"rejected",reason:we},jr())}finally{re.p=v,S!==null&&L.types!==null&&(S.types=L.types),$.T=S}}function mC(){}function Dp(s,l,d,f){if(s.tag!==5)throw Error(r(476));var b=h3(s).queue;d3(s,b,l,ne,d===null?mC:function(){return f3(s),d(f)})}function h3(s){var l=s.memoizedState;if(l!==null)return l;l={memoizedState:ne,baseState:ne,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:vs,lastRenderedState:ne},next:null};var d={};return l.next={memoizedState:d,baseState:d,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:vs,lastRenderedState:d},next:null},s.memoizedState=l,s=s.alternate,s!==null&&(s.memoizedState=l),l}function f3(s){var l=h3(s);l.next===null&&(l=s.alternate.memoizedState),Qu(s,l.next.queue,{},jr())}function Lp(){return qn(dc)}function m3(){return cn().memoizedState}function p3(){return cn().memoizedState}function pC(s){for(var l=s.return;l!==null;){switch(l.tag){case 24:case 3:var d=jr();s=li(d);var f=oi(l,s,d);f!==null&&(Er(f,l,d),qu(f,l,d)),l={cache:op()},s.payload=l;return}l=l.return}}function gC(s,l,d){var f=jr();d={lane:f,revertLane:0,gesture:null,action:d,hasEagerState:!1,eagerState:null,next:null},gd(s)?b3(l,d):(d=Xm(s,l,d,f),d!==null&&(Er(d,s,f),x3(d,l,f)))}function g3(s,l,d){var f=jr();Qu(s,l,d,f)}function Qu(s,l,d,f){var b={lane:f,revertLane:0,gesture:null,action:d,hasEagerState:!1,eagerState:null,next:null};if(gd(s))b3(l,b);else{var v=s.alternate;if(s.lanes===0&&(v===null||v.lanes===0)&&(v=l.lastRenderedReducer,v!==null))try{var S=l.lastRenderedState,L=v(S,d);if(b.hasEagerState=!0,b.eagerState=L,Rr(L,S))return K0(s,l,b,0),jt===null&&W0(),!1}catch{}finally{}if(d=Xm(s,l,b,f),d!==null)return Er(d,s,f),x3(d,l,f),!0}return!1}function Ip(s,l,d,f){if(f={lane:2,revertLane:h1(),gesture:null,action:f,hasEagerState:!1,eagerState:null,next:null},gd(s)){if(l)throw Error(r(479))}else l=Xm(s,d,f,2),l!==null&&Er(l,s,2)}function gd(s){var l=s.alternate;return s===at||l!==null&&l===at}function b3(s,l){vo=ud=!0;var d=s.pending;d===null?l.next=l:(l.next=d.next,d.next=l),s.pending=l}function x3(s,l,d){if((d&4194048)!==0){var f=l.lanes;f&=s.pendingLanes,d|=f,l.lanes=d,fr(s,d)}}var Wu={readContext:qn,use:hd,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};Wu.useEffectEvent=Jt;var y3={readContext:qn,use:hd,useCallback:function(s,l){return ar().memoizedState=[s,l===void 0?null:l],s},useContext:qn,useEffect:n3,useImperativeHandle:function(s,l,d){d=d!=null?d.concat([s]):null,md(4194308,4,i3.bind(null,l,s),d)},useLayoutEffect:function(s,l){return md(4194308,4,s,l)},useInsertionEffect:function(s,l){md(4,2,s,l)},useMemo:function(s,l){var d=ar();l=l===void 0?null:l;var f=s();if(pl){zn(!0);try{s()}finally{zn(!1)}}return d.memoizedState=[f,l],f},useReducer:function(s,l,d){var f=ar();if(d!==void 0){var b=d(l);if(pl){zn(!0);try{d(l)}finally{zn(!1)}}}else b=l;return f.memoizedState=f.baseState=b,s={pending:null,lanes:0,dispatch:null,lastRenderedReducer:s,lastRenderedState:b},f.queue=s,s=s.dispatch=gC.bind(null,at,s),[f.memoizedState,s]}
vendor: 18,348 bytes, line 49
49,useRef:function(s){var l=ar();return s={current:s},l.memoizedState=s},useState:function(s){s=Ap(s);var l=s.queue,d=g3.bind(null,at,l);return l.dispatch=d,[s.memoizedState,d]},useDebugValue:Op,useDeferredValue:function(s,l){var d=ar();return Rp(d,s,l)},useTransition:function(){var s=Ap(!1);return s=d3.bind(null,at,s.queue,!0,!1),ar().memoizedState=s,[!1,s]},useSyncExternalStore:function(s,l,d){var f=at,b=ar();if(Et){if(d===void 0)throw Error(r(407));d=d()}else{if(d=l(),jt===null)throw Error(r(349));(xt&127)!==0||zy(f,l,d)}b.memoizedState=d;var v={value:d,getSnapshot:l};return b.queue=v,n3(Fy.bind(null,f,v,s),[s]),f.flags|=2048,wo(9,{destroy:void 0},Uy.bind(null,f,v,d,l),null),d},useId:function(){var s=ar(),l=jt.identifierPrefix;if(Et){var d=Ha,f=ja;d=(f&~(1<<32-Ct(f)-1)).toString(32)+d,l="_"+l+"R_"+d,d=cd++,0<d&&(l+="H"+d.toString(32)),l+="_"}else d=uC++,l="_"+l+"r_"+d.toString(32)+"_";return s.memoizedState=l},useHostTransitionStatus:Lp,useFormState:Xy,useActionState:Xy,useOptimistic:function(s){var l=ar();l.memoizedState=l.baseState=s;var d={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return l.queue=d,l=Ip.bind(null,at,!0,d),d.dispatch=l,[s,l]},useMemoCache:_p,useCacheRefresh:function(){return ar().memoizedState=pC.bind(null,at)},useEffectEvent:function(s){var l=ar(),d={impl:s};return l.memoizedState=d,function(){if((Nt&2)!==0)throw Error(r(440));return d.impl.apply(void 0,arguments)}}},Mp={readContext:qn,use:hd,useCallback:o3,useContext:qn,useEffect:Cp,useImperativeHandle:l3,useInsertionEffect:a3,useLayoutEffect:s3,useMemo:u3,useReducer:fd,useRef:t3,useState:function(){return fd(vs)},useDebugValue:Op,useDeferredValue:function(s,l){var d=cn();return c3(d,Lt.memoizedState,s,l)},useTransition:function(){var s=fd(vs)[0],l=cn().memoizedState;return[typeof s=="boolean"?s:Yu(s),l]},useSyncExternalStore:By,useId:m3,useHostTransitionStatus:Lp,useFormState:Zy,useActionState:Zy,useOptimistic:function(s,l){var d=cn();return $y(d,Lt,s,l)},useMemoCache:_p,useCacheRefresh:p3};Mp.useEffectEvent=r3;var v3={readContext:qn,use:hd,useCallback:o3,useContext:qn,useEffect:Cp,useImperativeHandle:l3,useInsertionEffect:a3,useLayoutEffect:s3,useMemo:u3,useReducer:Sp,useRef:t3,useState:function(){return Sp(vs)},useDebugValue:Op,useDeferredValue:function(s,l){var d=cn();return Lt===null?Rp(d,s,l):c3(d,Lt.memoizedState,s,l)},useTransition:function(){var s=Sp(vs)[0],l=cn().memoizedState;return[typeof s=="boolean"?s:Yu(s),l]},useSyncExternalStore:By,useId:m3,useHostTransitionStatus:Lp,useFormState:e3,useActionState:e3,useOptimistic:function(s,l){var d=cn();return Lt!==null?$y(d,Lt,s,l):(d.baseState=s,[s,d.queue.dispatch])},useMemoCache:_p,useCacheRefresh:p3};v3.useEffectEvent=r3;function Pp(s,l,d,f){l=s.memoizedState,d=d(f,l),d=d==null?l:m({},l,d),s.memoizedState=d,s.lanes===0&&(s.updateQueue.baseState=d)}var jp={enqueueSetState:function(s,l,d){s=s._reactInternals;var f=jr(),b=li(f);b.payload=l,d!=null&&(b.callback=d),l=oi(s,b,f),l!==null&&(Er(l,s,f),qu(l,s,f))},enqueueReplaceState:function(s,l,d){s=s._reactInternals;var f=jr(),b=li(f);b.tag=1,b.payload=l,d!=null&&(b.callback=d),l=oi(s,b,f),l!==null&&(Er(l,s,f),qu(l,s,f))},enqueueForceUpdate:function(s,l){s=s._reactInternals;var d=jr(),f=li(d);f.tag=2,l!=null&&(f.callback=l),l=oi(s,f,d),l!==null&&(Er(l,s,d),qu(l,s,d))}};function E3(s,l,d,f,b,v,S){return s=s.stateNode,typeof s.shouldComponentUpdate=="function"?s.shouldComponentUpdate(f,v,S):l.prototype&&l.prototype.isPureReactComponent?!Mu(d,f)||!Mu(b,v):!0}function w3(s,l,d,f){s=l.state,typeof l.componentWillReceiveProps=="function"&&l.componentWillReceiveProps(d,f),typeof l.UNSAFE_componentWillReceiveProps=="function"&&l.UNSAFE_componentWillReceiveProps(d,f),l.state!==s&&jp.enqueueReplaceState(l,l.state,null)}function gl(s,l){var d=l;if("ref"in l){d={};for(var f in l)f!=="ref"&&(d[f]=l[f])}if(s=s.defaultProps){d===l&&(d=m({},d));for(var b in s)d[b]===void 0&&(d[b]=s[b])}return d}function T3(s){Q0(s)}function _3(s){console.error(s)}function k3(s){Q0(s)}function bd(s,l){try{var d=s.onUncaughtError;d(l.value,{componentStack:l.stack})}catch(f){setTimeout(function(){throw f})}}function S3(s,l,d){try{var f=s.onCaughtError;f(d.value,{componentStack:d.stack,errorBoundary:l.tag===1?l.stateNode:null})}catch(b){setTimeout(function(){throw b})}}function Hp(s,l,d){return d=li(d),d.tag=3,d.payload={element:null},d.callback=function(){bd(s,l)},d}function A3(s){return s=li(s),s.tag=3,s}function N3(s,l,d,f){var b=d.type.getDerivedStateFromError;if(typeof b=="function"){var v=f.value;s.payload=function(){return b(v)},s.callback=function(){S3(l,d,f)}}var S=d.stateNode;S!==null&&typeof S.componentDidCatch=="function"&&(s.callback=function(){S3(l,d,f),typeof b!="function"&&(mi===null?mi=new Set([this]):mi.add(this));var L=f.stack;this.componentDidCatch(f.value,{componentStack:L!==null?L:""})})}function bC(s,l,d,f,b){if(d.flags|=32768,f!==null&&typeof f=="object"&&typeof f.then=="function"){if(l=d.alternate,l!==null&&mo(l,d,b,!0),d=Lr.current,d!==null){switch(d.tag){case 31:case 13:return ra===null?Cd():d.alternate===null&&en===0&&(en=3),d.flags&=-257,d.flags|=65536,d.lanes=b,f===ad?d.flags|=16384:(l=d.updateQueue,l===null?d.updateQueue=new Set([f]):l.add(f),u1(s,f,b)),!1;case 22:return d.flags|=65536,f===ad?d.flags|=16384:(l=d.updateQueue,l===null?(l={transitions:null,markerInstances:null,retryQueue:new Set([f])},d.updateQueue=l):(d=l.retryQueue,d===null?l.retryQueue=new Set([f]):d.add(f)),u1(s,f,b)),!1}throw Error(r(435,d.tag))}return u1(s,f,b),Cd(),!1}if(Et)return l=Lr.current,l!==null?((l.flags&65536)===0&&(l.flags|=256),l.flags|=65536,l.lanes=b,f!==rp&&(s=Error(r(422),{cause:f}),Hu(Jr(s,d)))):(f!==rp&&(l=Error(r(423),{cause:f}),Hu(Jr(l,d))),s=s.current.alternate,s.flags|=65536,b&=-b,s.lanes|=b,f=Jr(f,d),b=Hp(s.stateNode,f,b),mp(s,b),en!==4&&(en=2)),!1;var v=Error(r(520),{cause:f});if(v=Jr(v,d),rc===null?rc=[v]:rc.push(v),en!==4&&(en=2),l===null)return!0;f=Jr(f,d),d=l;do{switch(d.tag){case 3:return d.flags|=65536,s=b&-b,d.lanes|=s,s=Hp(d.stateNode,f,s),mp(d,s),!1;case 1:if(l=d.type,v=d.stateNode,(d.flags&128)===0&&(typeof l.getDerivedStateFromError=="function"||v!==null&&typeof v.componentDidCatch=="function"&&(mi===null||!mi.has(v))))return d.flags|=65536,b&=-b,d.lanes|=b,b=A3(b),N3(b,s,d,f),mp(d,b),!1}d=d.return}while(d!==null);return!1}var Bp=Error(r(461)),bn=!1;function Gn(s,l,d,f){l.child=s===null?Dy(l,null,d,f):ml(l,s.child,d,f)}function C3(s,l,d,f,b){d=d.render;var v=l.ref;if("ref"in f){var S={};for(var L in f)L!=="ref"&&(S[L]=f[L])}else S=f;return cl(l),f=vp(s,l,d,S,v,b),L=Ep(),s!==null&&!bn?(wp(s,l,b),Es(s,l,b)):(Et&&L&&tp(l),l.flags|=1,Gn(s,l,f,b),l.child)}function O3(s,l,d,f,b){if(s===null){var v=d.type;return typeof v=="function"&&!Zm(v)&&v.defaultProps===void 0&&d.compare===null?(l.tag=15,l.type=v,R3(s,l,v,f,b)):(s=Z0(d.type,null,f,l,l.mode,b),s.ref=l.ref,s.return=l,l.child=s)}if(v=s.child,!Yp(s,b)){var S=v.memoizedProps;if(d=d.compare,d=d!==null?d:Mu,d(S,f)&&s.ref===l.ref)return Es(s,l,b)}return l.flags|=1,s=ps(v,f),s.ref=l.ref,s.return=l,l.child=s}function R3(s,l,d,f,b){if(s!==null){var v=s.memoizedProps;if(Mu(v,f)&&s.ref===l.ref)if(bn=!1,l.pendingProps=f=v,Yp(s,b))(s.flags&131072)!==0&&(bn=!0);else return l.lanes=s.lanes,Es(s,l,b)}return zp(s,l,d,f,b)}function D3(s,l,d,f){var b=f.children,v=s!==null?s.memoizedState:null;if(s===null&&l.stateNode===null&&(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),f.mode==="hidden"){if((l.flags&128)!==0){if(v=v!==null?v.baseLanes|d:d,s!==null){for(f=l.child=s.child,b=0;f!==null;)b=b|f.lanes|f.childLanes,f=f.sibling;f=b&~v}else f=0,l.child=null;return L3(s,l,v,d,f)}if((d&536870912)!==0)l.memoizedState={baseLanes:0,cachePool:null},s!==null&&nd(l,v!==null?v.cachePool:null),v!==null?My(l,v):gp(),Py(l);else return f=l.lanes=536870912,L3(s,l,v!==null?v.baseLanes|d:d,d,f)}else v!==null?(nd(l,v.cachePool),My(l,v),ci(),l.memoizedState=null):(s!==null&&nd(l,null),gp(),ci());return Gn(s,l,b,d),l.child}function Ku(s,l){return s!==null&&s.tag===22||l.stateNode!==null||(l.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.sibling}function L3(s,l,d,f,b){var v=cp();return v=v===null?null:{parent:pn._currentValue,pool:v},l.memoizedState={baseLanes:d,cachePool:v},s!==null&&nd(l,null),gp(),Py(l),s!==null&&mo(s,l,f,!0),l.childLanes=b,null}function xd(s,l){return l=vd({mode:l.mode,children:l.children},s.mode),l.ref=s.ref,s.child=l,l.return=s,l}function I3(s,l,d){return ml(l,s.child,null,d),s=xd(l,l.pendingProps),s.flags|=2,Ir(l),l.memoizedState=null,s}function xC(s,l,d){var f=l.pendingProps,b=(l.flags&128)!==0;if(l.flags&=-129,s===null){if(Et){if(f.mode==="hidden")return s=xd(l,f),l.lanes=536870912,Ku(null,s);if(xp(l),(s=qt)?(s=Vv(s,na),s=s!==null&&s.data==="&"?s:null,s!==null&&(l.memoizedState={dehydrated:s,treeContext:ni!==null?{id:ja,overflow:Ha}:null,retryLane:536870912,hydrationErrors:null},d=by(s),d.return=l,l.child=d,Fn=l,qt=null)):s=null,s===null)throw ai(l);return l.lanes=536870912,null}return xd(l,f)}var v=s.memoizedState;if(v!==null){var S=v.dehydrated;if(xp(l),b)if(l.flags&256)l.flags&=-257,l=I3(s,l,d);else if(l.memoizedState!==null)l.child=s.child,l.flags|=128,l=null;else throw Error(r(558));else if(bn||mo(s,l,d,!1),b=(d&s.childLanes)!==0,bn||b){if(f=jt,f!==null&&(S=mr(f,d),S!==0&&S!==v.retryLane))throw v.retryLane=S,il(s,S),Er(f,s,S),Bp;Cd(),l=I3(s,l,d)}else s=v.treeContext,qt=aa(S.nextSibling),Fn=l,Et=!0,ri=null,na=!1,s!==null&&vy(l,s),l=xd(l,f),l.flags|=4096;return l}return s=ps(s.child,{mode:f.mode,children:f.children}),s.ref=l.ref,l.child=s,s.return=l,s}function yd(s,l){var d=l.ref;if(d===null)s!==null&&s.ref!==null&&(l.flags|=4194816);else{if(typeof d!="function"&&typeof d!="object")throw Error(r(284));(s===null||s.ref!==d)&&(l.flags|=4194816)}}function zp(s,l,d,f,b){return cl(l),d=vp(s,l,d,f,void 0,b),f=Ep(),s!==null&&!bn?(wp(s,l,b),Es(s,l,b)):(Et&&f&&tp(l),l.flags|=1,Gn(s,l,d,b),l.child)}function M3(s,l,d,f,b,v){return cl(l),l.updateQueue=null,d=Hy(l,f,d,b),jy(s),f=Ep(),s!==null&&!bn?(wp(s,l,v),Es(s,l,v)):(Et&&f&&tp(l),l.flags|=1,Gn(s,l,d,v),l.child)}function P3(s,l,d,f,b){if(cl(l),l.stateNode===null){var v=uo,S=d.contextType;typeof S=="object"&&S!==null&&(v=qn(S)),v=new d(f,v),l.memoizedState=v.state!==null&&v.state!==void 0?v.state:null,v.updater=jp,l.stateNode=v,v._reactInternals=l,v=l.stateNode,v.props=f,v.state=l.memoizedState,v.refs={},hp(l),S=d.contextType,v.context=typeof S=="object"&&S!==null?qn(S):uo,v.state=l.memoizedState,S=d.getDerivedStateFromProps,typeof S=="function"&&(Pp(l,d,S,f),v.state=l.memoizedState),typeof d.getDerivedStateFromProps=="function"||typeof v.getSnapshotBeforeUpdate=="function"||typeof v.UNSAFE_componentWillMount!="function"&&typeof v.componentWillMount!="function"||(S=v.state,typeof v.componentWillMount=="function"&&v.componentWillMount(),typeof v.UNSAFE_componentWillMount=="function"&&v.UNSAFE_componentWillMount(),S!==v.state&&jp.enqueueReplaceState(v,v.state,null),$u(l,f,v,b),Gu(),v.state=l.memoizedState),typeof v.componentDidMount=="function"&&(l.flags|=4194308),f=!0}else if(s===null){v=l.stateNode;var L=l.memoizedProps,K=gl(d,L);v.props=K;var fe=v.context,ye=d.contextType;S=uo,typeof ye=="object"&&ye!==null&&(S=qn(ye));var we=d.getDerivedStateFromProps;ye=typeof we=="function"||typeof v.getSnapshotBeforeUpdate=="function",L=l.pendingProps!==L,ye||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(L||fe!==S)&&w3(l,v,f,S),ii=!1;var pe=l.memoizedState;v.state=pe,$u(l,f,v,b),Gu(),fe=l.memoizedState,L||pe!==fe||ii?(typeof we=="function"&&(Pp(l,d,we,f),fe=l.memoizedState),(K=ii||E3(l,d,K,f,pe,fe,S))?(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=f,l.memoizedState=fe),v.props=f,v.state=fe,v.context=S,f=K):(typeof v.componentDidMount=="function"&&(l.flags|=4194308),f=!1)}else{v=l.stateNode,fp(s,l),S=l.memoizedProps,ye=gl(d,S),v.props=ye,we=l.pendingProps,pe=v.context,fe=d.contextType,K=uo,typeof fe=="object"&&fe!==null&&(K=qn(fe)),L=d.getDerivedStateFromProps,(fe=typeof L=="function"||typeof v.getSnapshotBeforeUpdate=="function")||typeof v.UNSAFE_componentWillReceiveProps!="function"&&typeof v.componentWillReceiveProps!="function"||(S!==we||pe!==K)&&w3(l,v,f,K),ii=!1,pe=l.memoizedState,v.state=pe,$u(l,f,v,b),Gu();var be=l.memoizedState;S!==we||pe!==be||ii||s!==null&&s.dependencies!==null&&ed(s.dependencies)?(typeof L=="function"&&(Pp(l,d,L,f),be=l.memoizedState),(ye=ii||E3(l,d,ye,f,pe,be,K)||s!==null&&s.dependencies!==null&&ed(s.dependencies))?(fe||typeof v.UNSAFE_componentWillUpdate!="function"&&typeof v.componentWillUpdate!="function"||(typeof v.componentWillUpdate=="function"&&v.componentWillUpdate(f,be,K),typeof v.UNSAFE_componentWillUpdate=="function"&&v.UNSAFE_componentWillUpdate(f,be,K)),typeof v.componentDidUpdate=="function"&&(l.flags|=4),typeof v.getSnapshotBeforeUpdate=="function"&&(l.flags|=1024)):(typeof v.componentDidUpdate!="function"||S===s.memoizedProps&&pe===s.memoizedState||(l.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||S===s.memoizedProps&&pe===s.memoizedState||(l.flags|=1024),l.memoizedProps=f,l.memoizedState=be),v.props=f,v.state=be,v.context=K,f=ye):(typeof v.componentDidUpdate!="function"||S===s.memoizedProps&&pe===s.memoizedState||(l.flags|=4),typeof v.getSnapshotBeforeUpdate!="function"||S===s.memoizedProps&&pe===s.memoizedState||(l.flags|=1024),f=!1)}return v=f,yd(s,l),f=(l.flags&128)!==0,v||f?(v=l.stateNode,d=f&&typeof d.getDerivedStateFromError!="function"?null:v.render(),l.flags|=1,s!==null&&f?(l.child=ml(l,s.child,null,b),l.child=ml(l,null,d,b)):Gn(s,l,d,b),l.memoizedState=v.state,s=l.child):s=Es(s,l,b),s}function j3(s,l,d,f){return ol(),l.flags|=256,Gn(s,l,d,f),l.child}var Up={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Fp(s){return{baseLanes:s,cachePool:Sy()}}function qp(s,l,d){return s=s!==null?s.childLanes&~d:0,l&&(s|=Pr),s}function H3(s,l,d){var f=l.pendingProps,b=!1,v=(l.flags&128)!==0,S;if((S=v)||(S=s!==null&&s.memoizedState===null?!1:(un.current&2)!==0),S&&(b=!0,l.flags&=-129),S=(l.flags&32)!==0,l.flags&=-33,s===null){if(Et){if(b?ui(l):ci(),(s=qt)?(s=Vv(s,na),s=s!==null&&s.data!=="&"?s:null,s!==null&&(l.memoizedState={dehydrated:s,treeContext:ni!==null?{id:ja,overflow:Ha}:null,retryLane:536870912,hydrationErrors:null},d=by(s),d.return=l,l.child=d,Fn=l,qt=null)):s=null,s===null)throw ai(l);return k1(s)?l.lanes=32:l.lanes=536870912,null}var L=f.children;return f=f.fallback,b?(ci(),b=l.mode,L=vd({mode:"hidden",children:L},b),f=ll(f,b,d,null),L.return=l,f.return=l,L.sibling=f,l.child=L,f=l.child,f.memoizedState=Fp(d),f.childLanes=qp(s,S,d),l.memoizedState=Up,Ku(null,f)):(ui(l),Gp(l,L))}var K=s.memoizedState;if(K!==null&&(L=K.dehydrated,L!==null)){if(v)l.flags&256?(ui(l),l.flags&=-257,l=$p(s,l,d)):l.memoizedState!==null?(ci(),l.child=s.child,l.flags|=128,l=null):(ci(),L=f.fallback,b=l.mode,f=vd({mode:"visible",children:f.children},b),L=ll(L,b,d,null),L.flags|=2,f.return=l,L.return=l,f.sibling=L,l.child=f,ml(l,s.child,null,d),f=l.child,f.memoizedState=Fp(d),f.childLanes=qp(s,S,d),l.memoizedState=Up,l=Ku(null,f));else if(ui(l),k1(L)){if(S=L.nextSibling&&L.nextSibling.dataset,S)var fe=S.dgst;S=fe,f=Error(r(419)),f.stack="",f.digest=S,Hu({value:f,source:null,stack:null}),l=$p(s,l,d)}else if(bn||mo(s,l,d,!1),S=(d&s.childLanes)!==0,bn||S){if(S=jt,S!==null&&(f=mr(S,d),f!==0&&f!==K.retryLane))throw K.retryLane=f,il(s,f),Er(S,s,f),Bp;_1(L)||Cd(),l=$p(s,l,d)}else _1(L)?(l.flags|=192,l.child=s.child,l=null):(s=K.treeContext,qt=aa(L.nextSibling),Fn=l,Et=!0,ri=null,na=!1,s!==null&&vy(l,s),l=Gp(l,f.children),l.flags|=4096);return l}return b?(ci(),L=f.fallback,b=l.mode,K=s.child,fe=K.sibling,f=ps(K,{mode:"hidden",children:f.children}),f.subtreeFlags=K.subtreeFlags&65011712,fe!==null?L=ps(fe,L):(L=ll(L,b,d,null),L.flags|=2),L.return=l,f.return=l,f.sibling=L,l.child=f,Ku(null,f),f=l.child,L=s.child.memoizedState,L===null?L=Fp(d):(b=L.cachePool,b!==null?(K=pn._currentValue,b=b.parent!==K?{parent:K,pool:K}:b):b=Sy(),L={baseLanes:L.baseLanes|d,cachePool:b}),f.memoizedState=L,f.childLanes=qp(s,S,d),l.memoizedState=Up,Ku(s.child,f)):(ui(l),d=s.child,s=d.sibling,d=ps(d,{mode:"visible",children:f.children}),d.return=l,d.sibling=null,s!==null&&(S=l.deletions,S===null?(l.deletions=[s],l.flags|=16):S.push(s)),l.child=d,l.memoizedState=null,d)}function Gp(s,l){return l=vd({mode:"visible",children:l},s.mode),l.return=s,s.child=l}function vd(s,l){return s=Dr(22,s,null,l),s.lanes=0,s}function $p(s,l,d){return ml(l,s.child,null,d),s=Gp(l,l.pendingProps.children),s.flags|=2,l.memoizedState=null,s}function B3(s,l,d){s.lanes|=l;var f=s.alternate;f!==null&&(f.lanes|=l),ip(s.return,l,d)}function Vp(s,l,d,f,b,v){var S=s.memoizedState;S===null?s.memoizedState={isBackwards:l,rendering:null,renderingStartTime:0,last:f,tail:d,tailMode:b,treeForkCount:v}:(S.isBackwards=l,S.rendering=null,S.renderingStartTime=0,S.last=f,S.tail=d,S.tailMode=b,S.treeForkCount=v)}function z3(s,l,d){var f=l.pendingProps,b=f.revealOrder,v=f.tail;f=f.children;var S=un.current,L=(S&2)!==0;if(L?(S=S&1|2,l.flags|=128):S&=1,D(un,S),Gn(s,l,f,d),f=Et?ju:0,!L&&s!==null&&(s.flags&128)!==0)e:for(s=l.child;s!==null;){if(s.tag===13)s.memoizedState!==null&&B3(s,d,l);else if(s.tag===19)B3(s,d,l);else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===l)break e;for(;s.sibling===null;){if(s.return===null||s.return===l)break e;s=s.return}s.sibling.return=s.return,s=s.sibling}switch(b){case"forwards":for(d=l.child,b=null;d!==null;)s=d.alternate,s!==null&&od(s)===null&&(b=d),d=d.sibling;d=b,d===null?(b=l.child,l.child=null):(b=d.sibling,d.sibling=null),Vp(l,!1,b,d,v,f);break;case"backwards":case"unstable_legacy-backwards":for(d=null,b=l.child,l.child=null;b!==null;){if(s=b.alternate,s!==null&&od(s)===null){l.child=b;break}s=b.sibling,b.sibling=d,d=b,b=s}Vp(l,!0,d,null,v,f);break;case"together":Vp(l,!1,null,null,void 0,f);break;default:l.memoizedState=null}return l.child}
vendor: 6,085 bytes, line 49
49function Es(s,l,d){if(s!==null&&(l.dependencies=s.dependencies),fi|=l.lanes,(d&l.childLanes)===0)if(s!==null){if(mo(s,l,d,!1),(d&l.childLanes)===0)return null}else return null;if(s!==null&&l.child!==s.child)throw Error(r(153));if(l.child!==null){for(s=l.child,d=ps(s,s.pendingProps),l.child=d,d.return=l;s.sibling!==null;)s=s.sibling,d=d.sibling=ps(s,s.pendingProps),d.return=l;d.sibling=null}return l.child}function Yp(s,l){return(s.lanes&l)!==0?!0:(s=s.dependencies,!!(s!==null&&ed(s)))}function yC(s,l,d){switch(l.tag){case 3:ze(l,l.stateNode.containerInfo),si(l,pn,s.memoizedState.cache),ol();break;case 27:case 5:He(l);break;case 4:ze(l,l.stateNode.containerInfo);break;case 10:si(l,l.type,l.memoizedProps.value);break;case 31:if(l.memoizedState!==null)return l.flags|=128,xp(l),null;break;case 13:var f=l.memoizedState;if(f!==null)return f.dehydrated!==null?(ui(l),l.flags|=128,null):(d&l.child.childLanes)!==0?H3(s,l,d):(ui(l),s=Es(s,l,d),s!==null?s.sibling:null);ui(l);break;case 19:var b=(s.flags&128)!==0;if(f=(d&l.childLanes)!==0,f||(mo(s,l,d,!1),f=(d&l.childLanes)!==0),b){if(f)return z3(s,l,d);l.flags|=128}if(b=l.memoizedState,b!==null&&(b.rendering=null,b.tail=null,b.lastEffect=null),D(un,un.current),f)break;return null;case 22:return l.lanes=0,D3(s,l,d,l.pendingProps);case 24:si(l,pn,s.memoizedState.cache)}return Es(s,l,d)}function U3(s,l,d){if(s!==null)if(s.memoizedProps!==l.pendingProps)bn=!0;else{if(!Yp(s,d)&&(l.flags&128)===0)return bn=!1,yC(s,l,d);bn=(s.flags&131072)!==0}else bn=!1,Et&&(l.flags&1048576)!==0&&yy(l,ju,l.index);switch(l.lanes=0,l.tag){case 16:e:{var f=l.pendingProps;if(s=hl(l.elementType),l.type=s,typeof s=="function")Zm(s)?(f=gl(s,f),l.tag=1,l=P3(null,l,s,f,d)):(l.tag=0,l=zp(null,l,s,f,d));else{if(s!=null){var b=s.$$typeof;if(b===X){l.tag=11,l=C3(null,l,s,f,d);break e}else if(b===B){l.tag=14,l=O3(null,l,s,f,d);break e}}throw l=le(s)||s,Error(r(306,l,""))}}return l;case 0:return zp(s,l,l.type,l.pendingProps,d);case 1:return f=l.type,b=gl(f,l.pendingProps),P3(s,l,f,b,d);case 3:e:{if(ze(l,l.stateNode.containerInfo),s===null)throw Error(r(387));f=l.pendingProps;var v=l.memoizedState;b=v.element,fp(s,l),$u(l,f,null,d);var S=l.memoizedState;if(f=S.cache,si(l,pn,f),f!==v.cache&&lp(l,[pn],d,!0),Gu(),f=S.element,v.isDehydrated)if(v={element:f,isDehydrated:!1,cache:S.cache},l.updateQueue.baseState=v,l.memoizedState=v,l.flags&256){l=j3(s,l,f,d);break e}else if(f!==b){b=Jr(Error(r(424)),l),Hu(b),l=j3(s,l,f,d);break e}else{switch(s=l.stateNode.containerInfo,s.nodeType){case 9:s=s.body;break;default:s=s.nodeName==="HTML"?s.ownerDocument.body:s}for(qt=aa(s.firstChild),Fn=l,Et=!0,ri=null,na=!0,d=Dy(l,null,f,d),l.child=d;d;)d.flags=d.flags&-3|4096,d=d.sibling}else{if(ol(),f===b){l=Es(s,l,d);break e}Gn(s,l,f,d)}l=l.child}return l;case 26:return yd(s,l),s===null?(d=Zv(l.type,null,l.pendingProps,null))?l.memoizedState=d:Et||(d=l.type,s=l.pendingProps,f=Pd(De.current).createElement(d),f[Un]=l,f[pr]=s,$n(f,d,s),On(f),l.stateNode=f):l.memoizedState=Zv(l.type,s.memoizedProps,l.pendingProps,s.memoizedState),null;case 27:return He(l),s===null&&Et&&(f=l.stateNode=Wv(l.type,l.pendingProps,De.current),Fn=l,na=!0,b=qt,xi(l.type)?(S1=b,qt=aa(f.firstChild)):qt=b),Gn(s,l,l.pendingProps.children,d),yd(s,l),s===null&&(l.flags|=4194304),l.child;case 5:return s===null&&Et&&((b=f=qt)&&(f=WC(f,l.type,l.pendingProps,na),f!==null?(l.stateNode=f,Fn=l,qt=aa(f.firstChild),na=!1,b=!0):b=!1),b||ai(l)),He(l),b=l.type,v=l.pendingProps,S=s!==null?s.memoizedProps:null,f=v.children,E1(b,v)?f=null:S!==null&&E1(b,S)&&(l.flags|=32),l.memoizedState!==null&&(b=vp(s,l,cC,null,null,d),dc._currentValue=b),yd(s,l),Gn(s,l,f,d),l.child;case 6:return s===null&&Et&&((s=d=qt)&&(d=KC(d,l.pendingProps,na),d!==null?(l.stateNode=d,Fn=l,qt=null,s=!0):s=!1),s||ai(l)),null;case 13:return H3(s,l,d);case 4:return ze(l,l.stateNode.containerInfo),f=l.pendingProps,s===null?l.child=ml(l,null,f,d):Gn(s,l,f,d),l.child;case 11:return C3(s,l,l.type,l.pendingProps,d);case 7:return Gn(s,l,l.pendingProps,d),l.child;case 8:return Gn(s,l,l.pendingProps.children,d),l.child;case 12:return Gn(s,l,l.pendingProps.children,d),l.child;case 10:return f=l.pendingProps,si(l,l.type,f.value),Gn(s,l,f.children,d),l.child;case 9:return b=l.type._context,f=l.pendingProps.children,cl(l),b=qn(b),f=f(b),l.flags|=1,Gn(s,l,f,d),l.child;case 14:return O3(s,l,l.type,l.pendingProps,d);case 15:return R3(s,l,l.type,l.pendingProps,d);case 19:return z3(s,l,d);case 31:return xC(s,l,d);case 22:return D3(s,l,d,l.pendingProps);case 24:return cl(l),f=qn(pn),s===null?(b=cp(),b===null&&(b=jt,v=op(),b.pooledCache=v,v.refCount++,v!==null&&(b.pooledCacheLanes|=d),b=v),l.memoizedState={parent:f,cache:b},hp(l),si(l,pn,b)):((s.lanes&d)!==0&&(fp(s,l),$u(l,null,null,d),Gu()),b=s.memoizedState,v=l.memoizedState,b.parent!==f?(b={parent:f,cache:f},l.memoizedState=b,l.lanes===0&&(l.memoizedState=l.updateQueue.baseState=b),si(l,pn,f)):(f=v.cache,si(l,pn,f),f!==b.cache&&lp(l,[pn],d,!0))),Gn(s,l,l.pendingProps.children,d),l.child;case 29:throw l.pendingProps}throw Error(r(156,l.tag))}function ws(s){s.flags|=4}function Qp(s,l,d,f,b){if((l=(s.mode&32)!==0)&&(l=!1),l){if(s.flags|=16777216,(b&335544128)===b)if(s.stateNode.complete)s.flags|=8192;else if(mv())s.flags|=8192;else throw fl=ad,dp}else s.flags&=-16777217}function F3(s,l){if(l.type!=="stylesheet"||(l.state.loading&4)!==0)s.flags&=-16777217;else if(s.flags|=16777216,!r5(l))if(mv())s.flags|=8192;else throw fl=ad,dp}function Ed(s,l){l!==null&&(s.flags|=4),s.flags&16384&&(l=s.tag!==22?Wn():536870912,s.lanes|=l,So|=l)}function Xu(s,l){if(!Et)switch(s.tailMode){case"hidden":l=s.tail;for(var d=null;l!==null;)l.alternate!==null&&(d=l),l=l.sibling;d===null?s.tail=null:d.sibling=null;break;case"collapsed":d=s.tail;for(var f=null;d!==null;)d.alternate!==null&&(f=d),d=d.sibling;f===null?l||s.tail===null?s.tail=null:s.tail.sibling=null:f.sibling=null}}function Gt(s){var l=s.alternate!==null&&s.alternate.child===s.child,d=0,f=0;if(l)for(var b=s.child;b!==null;)d|=b.lanes|b.childLanes,f|=b.subtreeFlags&65011712,f|=b.flags&65011712,b.return=s,b=b.
vendor: 3,620 bytes, line 49
49sibling;else for(b=s.child;b!==null;)d|=b.lanes|b.childLanes,f|=b.subtreeFlags,f|=b.flags,b.return=s,b=b.sibling;return s.subtreeFlags|=f,s.childLanes=d,l}function vC(s,l,d){var f=l.pendingProps;switch(np(l),l.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Gt(l),null;case 1:return Gt(l),null;case 3:return d=l.stateNode,f=null,s!==null&&(f=s.memoizedState.cache),l.memoizedState.cache!==f&&(l.flags|=2048),xs(pn),Xe(),d.pendingContext&&(d.context=d.pendingContext,d.pendingContext=null),(s===null||s.child===null)&&(fo(l)?ws(l):s===null||s.memoizedState.isDehydrated&&(l.flags&256)===0||(l.flags|=1024,ap())),Gt(l),null;case 26:var b=l.type,v=l.memoizedState;return s===null?(ws(l),v!==null?(Gt(l),F3(l,v)):(Gt(l),Qp(l,b,null,f,d))):v?v!==s.memoizedState?(ws(l),Gt(l),F3(l,v)):(Gt(l),l.flags&=-16777217):(s=s.memoizedProps,s!==f&&ws(l),Gt(l),Qp(l,b,s,f,d)),null;case 27:if(Dt(l),d=De.current,b=l.type,s!==null&&l.stateNode!=null)s.memoizedProps!==f&&ws(l);else{if(!f){if(l.stateNode===null)throw Error(r(166));return Gt(l),null}s=ge.current,fo(l)?Ey(l):(s=Wv(b,f,d),l.stateNode=s,ws(l))}return Gt(l),null;case 5:if(Dt(l),b=l.type,s!==null&&l.stateNode!=null)s.memoizedProps!==f&&ws(l);else{if(!f){if(l.stateNode===null)throw Error(r(166));return Gt(l),null}if(v=ge.current,fo(l))Ey(l);else{var S=Pd(De.current);switch(v){case 1:v=S.createElementNS("http://www.w3.org/2000/svg",b);break;case 2:v=S.createElementNS("http://www.w3.org/1998/Math/MathML",b);break;default:switch(b){case"svg":v=S.createElementNS("http://www.w3.org/2000/svg",b);break;case"math":v=S.createElementNS("http://www.w3.org/1998/Math/MathML",b);break;case"script":v=S.createElement("div"),v.innerHTML="<script><\/script>",v=v.removeChild(v.firstChild);break;case"select":v=typeof f.is=="string"?S.createElement("select",{is:f.is}):S.createElement("select"),f.multiple?v.multiple=!0:f.size&&(v.size=f.size);break;default:v=typeof f.is=="string"?S.createElement(b,{is:f.is}):S.createElement(b)}}v[Un]=l,v[pr]=f;e:for(S=l.child;S!==null;){if(S.tag===5||S.tag===6)v.appendChild(S.stateNode);else if(S.tag!==4&&S.tag!==27&&S.child!==null){S.child.return=S,S=S.child;continue}if(S===l)break e;for(;S.sibling===null;){if(S.return===null||S.return===l)break e;S=S.return}S.sibling.return=S.return,S=S.sibling}l.stateNode=v;e:switch($n(v,b,f),b){case"button":case"input":case"select":case"textarea":f=!!f.autoFocus;break e;case"img":f=!0;break e;default:f=!1}f&&ws(l)}}return Gt(l),Qp(l,l.type,s===null?null:s.memoizedProps,l.pendingProps,d),null;case 6:if(s&&l.stateNode!=null)s.memoizedProps!==f&&ws(l);else{if(typeof f!="string"&&l.stateNode===null)throw Error(r(166));if(s=De.current,fo(l)){if(s=l.stateNode,d=l.memoizedProps,f=null,b=Fn,b!==null)switch(b.tag){case 27:case 5:f=b.memoizedProps}s[Un]=l,s=!!(s.nodeValue===d||f!==null&&f.suppressHydrationWarning===!0||Hv(s.nodeValue,d)),s||ai(l,!0)}else s=Pd(s).createTextNode(f),s[Un]=l,l.stateNode=s}return Gt(l),null;case 31:if(d=l.memoizedState,s===null||s.memoizedState!==null){if(f=fo(l),d!==null){if(s===null){if(!f)throw Error(r(318));if(s=l.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(r(557));s[Un]=l}else ol(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;Gt(l),s=!1}else d=ap(),s!==null&&s.memoizedState!==null&&(s.memoizedState.hydrationErrors=d),s=!0;if(!s)return l.flags&256?(Ir(l),l):(Ir(l),null);if((l.flags&128)!==0)throw Error(r(558))}return Gt(l),null;case 13:if(f=l.memoizedState,s===null||s.memoizedState!==null&&s.memoizedState.dehydrated!==null){if(b=fo(l),f!==null&&f.dehydrated!==null){if(s===null){if(!b)throw Error(r(318));
vendor: 22,911 bytes, line 49
49if(b=l.memoizedState,b=b!==null?b.dehydrated:null,!b)throw Error(r(317));b[Un]=l}else ol(),(l.flags&128)===0&&(l.memoizedState=null),l.flags|=4;Gt(l),b=!1}else b=ap(),s!==null&&s.memoizedState!==null&&(s.memoizedState.hydrationErrors=b),b=!0;if(!b)return l.flags&256?(Ir(l),l):(Ir(l),null)}return Ir(l),(l.flags&128)!==0?(l.lanes=d,l):(d=f!==null,s=s!==null&&s.memoizedState!==null,d&&(f=l.child,b=null,f.alternate!==null&&f.alternate.memoizedState!==null&&f.alternate.memoizedState.cachePool!==null&&(b=f.alternate.memoizedState.cachePool.pool),v=null,f.memoizedState!==null&&f.memoizedState.cachePool!==null&&(v=f.memoizedState.cachePool.pool),v!==b&&(f.flags|=2048)),d!==s&&d&&(l.child.flags|=8192),Ed(l,l.updateQueue),Gt(l),null);case 4:return Xe(),s===null&&g1(l.stateNode.containerInfo),Gt(l),null;case 10:return xs(l.type),Gt(l),null;case 19:if(ie(un),f=l.memoizedState,f===null)return Gt(l),null;if(b=(l.flags&128)!==0,v=f.rendering,v===null)if(b)Xu(f,!1);else{if(en!==0||s!==null&&(s.flags&128)!==0)for(s=l.child;s!==null;){if(v=od(s),v!==null){for(l.flags|=128,Xu(f,!1),s=v.updateQueue,l.updateQueue=s,Ed(l,s),l.subtreeFlags=0,s=d,d=l.child;d!==null;)gy(d,s),d=d.sibling;return D(un,un.current&1|2),Et&&gs(l,f.treeForkCount),l.child}s=s.sibling}f.tail!==null&&Hn()>Sd&&(l.flags|=128,b=!0,Xu(f,!1),l.lanes=4194304)}else{if(!b)if(s=od(v),s!==null){if(l.flags|=128,b=!0,s=s.updateQueue,l.updateQueue=s,Ed(l,s),Xu(f,!0),f.tail===null&&f.tailMode==="hidden"&&!v.alternate&&!Et)return Gt(l),null}else 2*Hn()-f.renderingStartTime>Sd&&d!==536870912&&(l.flags|=128,b=!0,Xu(f,!1),l.lanes=4194304);f.isBackwards?(v.sibling=l.child,l.child=v):(s=f.last,s!==null?s.sibling=v:l.child=v,f.last=v)}return f.tail!==null?(s=f.tail,f.rendering=s,f.tail=s.sibling,f.renderingStartTime=Hn(),s.sibling=null,d=un.current,D(un,b?d&1|2:d&1),Et&&gs(l,f.treeForkCount),s):(Gt(l),null);case 22:case 23:return Ir(l),bp(),f=l.memoizedState!==null,s!==null?s.memoizedState!==null!==f&&(l.flags|=8192):f&&(l.flags|=8192),f?(d&536870912)!==0&&(l.flags&128)===0&&(Gt(l),l.subtreeFlags&6&&(l.flags|=8192)):Gt(l),d=l.updateQueue,d!==null&&Ed(l,d.retryQueue),d=null,s!==null&&s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(d=s.memoizedState.cachePool.pool),f=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(f=l.memoizedState.cachePool.pool),f!==d&&(l.flags|=2048),s!==null&&ie(dl),null;case 24:return d=null,s!==null&&(d=s.memoizedState.cache),l.memoizedState.cache!==d&&(l.flags|=2048),xs(pn),Gt(l),null;case 25:return null;case 30:return null}throw Error(r(156,l.tag))}function EC(s,l){switch(np(l),l.tag){case 1:return s=l.flags,s&65536?(l.flags=s&-65537|128,l):null;case 3:return xs(pn),Xe(),s=l.flags,(s&65536)!==0&&(s&128)===0?(l.flags=s&-65537|128,l):null;case 26:case 27:case 5:return Dt(l),null;case 31:if(l.memoizedState!==null){if(Ir(l),l.alternate===null)throw Error(r(340));ol()}return s=l.flags,s&65536?(l.flags=s&-65537|128,l):null;case 13:if(Ir(l),s=l.memoizedState,s!==null&&s.dehydrated!==null){if(l.alternate===null)throw Error(r(340));ol()}return s=l.flags,s&65536?(l.flags=s&-65537|128,l):null;case 19:return ie(un),null;case 4:return Xe(),null;case 10:return xs(l.type),null;case 22:case 23:return Ir(l),bp(),s!==null&&ie(dl),s=l.flags,s&65536?(l.flags=s&-65537|128,l):null;case 24:return xs(pn),null;case 25:return null;default:return null}}function q3(s,l){switch(np(l),l.tag){case 3:xs(pn),Xe();break;case 26:case 27:case 5:Dt(l);break;case 4:Xe();break;case 31:l.memoizedState!==null&&Ir(l);break;case 13:Ir(l);break;case 19:ie(un);break;case 10:xs(l.type);break;case 22:case 23:Ir(l),bp(),s!==null&&ie(dl);break;case 24:xs(pn)}}function Zu(s,l){try{var d=l.updateQueue,f=d!==null?d.lastEffect:null;if(f!==null){var b=f.next;d=b;do{if((d.tag&s)===s){f=void 0;var v=d.create,S=d.inst;f=v(),S.destroy=f}d=d.next}while(d!==b)}}catch(L){Rt(l,l.return,L)}}function di(s,l,d){try{var f=l.updateQueue,b=f!==null?f.lastEffect:null;if(b!==null){var v=b.next;f=v;do{if((f.tag&s)===s){var S=f.inst,L=S.destroy;if(L!==void 0){S.destroy=void 0,b=l;var K=d,fe=L;try{fe()}catch(ye){Rt(b,K,ye)}}}f=f.next}while(f!==v)}}catch(ye){Rt(l,l.return,ye)}}function G3(s){var l=s.updateQueue;if(l!==null){var d=s.stateNode;try{Iy(l,d)}catch(f){Rt(s,s.return,f)}}}function $3(s,l,d){d.props=gl(s.type,s.memoizedProps),d.state=s.memoizedState;try{d.componentWillUnmount()}catch(f){Rt(s,l,f)}}function Ju(s,l){try{var d=s.ref;if(d!==null){switch(s.tag){case 26:case 27:case 5:var f=s.stateNode;break;case 30:f=s.stateNode;break;default:f=s.stateNode}typeof d=="function"?s.refCleanup=d(f):d.current=f}}catch(b){Rt(s,l,b)}}function Ba(s,l){var d=s.ref,f=s.refCleanup;if(d!==null)if(typeof f=="function")try{f()}catch(b){Rt(s,l,b)}finally{s.refCleanup=null,s=s.alternate,s!=null&&(s.refCleanup=null)}else if(typeof d=="function")try{d(null)}catch(b){Rt(s,l,b)}else d.current=null}function V3(s){var l=s.type,d=s.memoizedProps,f=s.stateNode;try{e:switch(l){case"button":case"input":case"select":case"textarea":d.autoFocus&&f.focus();break e;case"img":d.src?f.src=d.src:d.srcSet&&(f.srcset=d.srcSet)}}catch(b){Rt(s,s.return,b)}}function Wp(s,l,d){try{var f=s.stateNode;qC(f,s.type,d,l),f[pr]=l}catch(b){Rt(s,s.return,b)}}function Y3(s){return s.tag===5||s.tag===3||s.tag===26||s.tag===27&&xi(s.type)||s.tag===4}function Kp(s){e:for(;;){for(;s.sibling===null;){if(s.return===null||Y3(s.return))return null;s=s.return}for(s.sibling.return=s.return,s=s.sibling;s.tag!==5&&s.tag!==6&&s.tag!==18;){if(s.tag===27&&xi(s.type)||s.flags&2||s.child===null||s.tag===4)continue e;s.child.return=s,s=s.child}if(!(s.flags&2))return s.stateNode}}function Xp(s,l,d){var f=s.tag;if(f===5||f===6)s=s.stateNode,l?(d.nodeType===9?d.body:d.nodeName==="HTML"?d.ownerDocument.body:d).insertBefore(s,l):(l=d.nodeType===9?d.body:d.nodeName==="HTML"?d.ownerDocument.body:d,l.appendChild(s),d=d._reactRootContainer,d!=null||l.onclick!==null||(l.onclick=fs));else if(f!==4&&(f===27&&xi(s.type)&&(d=s.stateNode,l=null),s=s.child,s!==null))for(Xp(s,l,d),s=s.sibling;s!==null;)Xp(s,l,d),s=s.sibling}function wd(s,l,d){var f=s.tag;if(f===5||f===6)s=s.stateNode,l?d.insertBefore(s,l):d.appendChild(s);else if(f!==4&&(f===27&&xi(s.type)&&(d=s.stateNode),s=s.child,s!==null))for(wd(s,l,d),s=s.sibling;s!==null;)wd(s,l,d),s=s.sibling}function Q3(s){var l=s.stateNode,d=s.memoizedProps;try{for(var f=s.type,b=l.attributes;b.length;)l.removeAttributeNode(b[0]);$n(l,f,d),l[Un]=s,l[pr]=d}catch(v){Rt(s,s.return,v)}}var Ts=!1,xn=!1,Zp=!1,W3=typeof WeakSet=="function"?WeakSet:Set,Rn=null;function wC(s,l){if(s=s.containerInfo,y1=qd,s=ly(s),$m(s)){if("selectionStart"in s)var d={start:s.selectionStart,end:s.selectionEnd};else e:{d=(d=s.ownerDocument)&&d.defaultView||window;var f=d.getSelection&&d.getSelection();if(f&&f.rangeCount!==0){d=f.anchorNode;var b=f.anchorOffset,v=f.focusNode;f=f.focusOffset;try{d.nodeType,v.nodeType}catch{d=null;break e}var S=0,L=-1,K=-1,fe=0,ye=0,we=s,pe=null;t:for(;;){for(var be;we!==d||b!==0&&we.nodeType!==3||(L=S+b),we!==v||f!==0&&we.nodeType!==3||(K=S+f),we.nodeType===3&&(S+=we.nodeValue.length),(be=we.firstChild)!==null;)pe=we,we=be;for(;;){if(we===s)break t;if(pe===d&&++fe===b&&(L=S),pe===v&&++ye===f&&(K=S),(be=we.nextSibling)!==null)break;we=pe,pe=we.parentNode}we=be}d=L===-1||K===-1?null:{start:L,end:K}}else d=null}d=d||{start:0,end:0}}else d=null;for(v1={focusedElem:s,selectionRange:d},qd=!1,Rn=l;Rn!==null;)if(l=Rn,s=l.child,(l.subtreeFlags&1028)!==0&&s!==null)s.return=l,Rn=s;else for(;Rn!==null;){switch(l=Rn,v=l.alternate,s=l.flags,l.tag){case 0:if((s&4)!==0&&(s=l.updateQueue,s=s!==null?s.events:null,s!==null))for(d=0;d<s.length;d++)b=s[d],b.ref.impl=b.nextImpl;break;case 11:case 15:break;case 1:if((s&1024)!==0&&v!==null){s=void 0,d=l,b=v.memoizedProps,v=v.memoizedState,f=d.stateNode;try{var Ue=gl(d.type,b);s=f.getSnapshotBeforeUpdate(Ue,v),f.__reactInternalSnapshotBeforeUpdate=s}catch(Ke){Rt(d,d.return,Ke)}}break;case 3:if((s&1024)!==0){if(s=l.stateNode.containerInfo,d=s.nodeType,d===9)T1(s);else if(d===1)switch(s.nodeName){case"HEAD":case"HTML":case"BODY":T1(s);break;default:s.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((s&1024)!==0)throw Error(r(163))}if(s=l.sibling,s!==null){s.return=l.return,Rn=s;break}Rn=l.return}}function K3(s,l,d){var f=d.flags;switch(d.tag){case 0:case 11:case 15:ks(s,d),f&4&&Zu(5,d);break;case 1:if(ks(s,d),f&4)if(s=d.stateNode,l===null)try{s.componentDidMount()}catch(S){Rt(d,d.return,S)}else{var b=gl(d.type,l.memoizedProps);l=l.memoizedState;try{s.componentDidUpdate(b,l,s.__reactInternalSnapshotBeforeUpdate)}catch(S){Rt(d,d.return,S)}}f&64&&G3(d),f&512&&Ju(d,d.return);break;case 3:if(ks(s,d),f&64&&(s=d.updateQueue,s!==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{Iy(s,l)}catch(S){Rt(d,d.return,S)}}break;case 27:l===null&&f&4&&Q3(d);case 26:case 5:ks(s,d),l===null&&f&4&&V3(d),f&512&&Ju(d,d.return);break;case 12:ks(s,d);break;case 31:ks(s,d),f&4&&J3(s,d);break;case 13:ks(s,d),f&4&&ev(s,d),f&64&&(s=d.memoizedState,s!==null&&(s=s.dehydrated,s!==null&&(d=RC.bind(null,d),XC(s,d))));break;case 22:if(f=d.memoizedState!==null||Ts,!f){l=l!==null&&l.memoizedState!==null||xn,b=Ts;var v=xn;Ts=f,(xn=l)&&!v?Ss(s,d,(d.subtreeFlags&8772)!==0):ks(s,d),Ts=b,xn=v}break;case 30:break;default:ks(s,d)}}function X3(s){var l=s.alternate;l!==null&&(s.alternate=null,X3(l)),s.child=null,s.deletions=null,s.sibling=null,s.tag===5&&(l=s.stateNode,l!==null&&Nm(l)),s.stateNode=null,s.return=null,s.dependencies=null,s.memoizedProps=null,s.memoizedState=null,s.pendingProps=null,s.stateNode=null,s.updateQueue=null}var Vt=null,br=!1;function _s(s,l,d){for(d=d.child;d!==null;)Z3(s,l,d),d=d.sibling}function Z3(s,l,d){if(on&&typeof on.onCommitFiberUnmount=="function")try{on.onCommitFiberUnmount(Bn,d)}catch{}switch(d.tag){case 26:xn||Ba(d,l),_s(s,l,d),d.memoizedState?d.memoizedState.count--:d.stateNode&&(d=d.stateNode,d.parentNode.removeChild(d));break;case 27:xn||Ba(d,l);var f=Vt,b=br;xi(d.type)&&(Vt=d.stateNode,br=!1),_s(s,l,d),oc(d.stateNode),Vt=f,br=b;break;case 5:xn||Ba(d,l);case 6:if(f=Vt,b=br,Vt=null,_s(s,l,d),Vt=f,br=b,Vt!==null)if(br)try{(Vt.nodeType===9?Vt.body:Vt.nodeName==="HTML"?Vt.ownerDocument.body:Vt).removeChild(d.stateNode)}catch(v){Rt(d,l,v)}else try{Vt.removeChild(d.stateNode)}catch(v){Rt(d,l,v)}break;case 18:Vt!==null&&(br?(s=Vt,Gv(s.nodeType===9?s.body:s.nodeName==="HTML"?s.ownerDocument.body:s,d.stateNode),Io(s)):Gv(Vt,d.stateNode));break;case 4:f=Vt,b=br,Vt=d.stateNode.containerInfo,br=!0,_s(s,l,d),Vt=f,br=b;break;case 0:case 11:case 14:case 15:di(2,d,l),xn||di(4,d,l),_s(s,l,d);break;case 1:xn||(Ba(d,l),f=d.stateNode,typeof f.componentWillUnmount=="function"&&$3(d,l,f)),_s(s,l,d);break;case 21:_s(s,l,d);break;case 22:xn=(f=xn)||d.memoizedState!==null,_s(s,l,d),xn=f;break;default:_s(s,l,d)}}function J3(s,l){if(l.memoizedState===null&&(s=l.alternate,s!==null&&(s=s.memoizedState,s!==null))){s=s.dehydrated;try{Io(s)}catch(d){Rt(l,l.return,d)}}}function ev(s,l){if(l.memoizedState===null&&(s=l.alternate,s!==null&&(s=s.memoizedState,s!==null&&(s=s.dehydrated,s!==null))))try{Io(s)}catch(d){Rt(l,l.return,d)}}function TC(s){switch(s.tag){case 31:case 13:case 19:var l=s.stateNode;return l===null&&(l=s.stateNode=new W3),l;case 22:return s=s.stateNode,l=s._retryCache,l===null&&(l=s._retryCache=new W3),l;default:throw Error(r(435,s.tag))}}function Td(s,l){var d=TC(s);l.forEach(function(f){if(!d.has(f)){d.add(f);var b=DC.bind(null,s,f);f.then(b,b)}})}function xr(s,l){var d=l.deletions;if(d!==null)for(var f=0;f<d.length;f++){var b=d[f],v=s,S=l,L=S;e:for(;L!==null;){switch(L.tag){case 27:if(xi(L.type)){Vt=L.stateNode,br=!1;break e}break;case 5:Vt=L.stateNode,br=!1;break e;case 3:case 4:Vt=L.stateNode.containerInfo,br=!0;break e}L=L.return}if(Vt===null)throw Error(r(160));Z3(v,S,b),Vt=null,br=!1,v=b.alternate,v!==null&&(v.return=null),b.return=null}if(l.subtreeFlags&13886)for(l=l.child;l!==null;)tv(l,s),l=l.sibling}var va=null;function tv(s,l){var d=s.alternate,f=s.flags;switch(s.tag){case 0:case 11:case 14:case 15:xr(l,s),yr(s),f&4&&(di(3,s,s.return),Zu(3,s),di(5,s,s.return));break;case 1:xr(l,s),yr(s),f&512&&(xn||d===null||Ba(d,d.return)),f&64&&Ts&&(s=s.updateQueue,s!==null&&(f=s.callbacks,f!==null&&(d=s.shared.hiddenCallbacks,s.shared.hiddenCallbacks=d===null?f:d.concat(f))));break;case 26:var b=va;if(xr(l,s),yr(s),f&512&&(xn||d===null||Ba(d,d.return)),f&4){var v=d!==null?d.memoizedState:null;if(f=s.memoizedState,d===null)if(f===null)if(s.stateNode===null){e:{f=s.type,d=s.memoizedProps,b=b.ownerDocument||b;t:switch(f){case"title":v=b.getElementsByTagName("title")[0],(!v||v[Su]||v[Un]||v.namespaceURI==="http://www.w3.org/2000/svg"||v.hasAttribute("itemprop"))&&(v=b.createElement(f),b.head.insertBefore(v,b.querySelector("head > title"))),$n(v,f,d),v[Un]=s,On(v),f=v;break e;case"link":var S=t5("link","href",b).get(f+(d.href||""));if(S){for(var L=0;L<S.length;L++)if(v=S[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)){S.splice(L,1);break t}}v=b.createElement(f),$n(v,f,d),b.head.appendChild(v);break;case"meta":if(S=t5("meta","content",b).get(f+(d.content||""))){for(L=0;L<S.length;L++)if(v=S[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)){S.splice(L,1);break t}}v=b.createElement(f),$n(v,f,d),b.head.appendChild(v);break;default:throw Error(r(468,f))}v[Un]=s,On(v),f=v}s.stateNode=f}else n5(b,s.type,s.stateNode);else s.stateNode=e5(b,f,s.memoizedProps);else v!==f?(v===null?d.stateNode!==null&&(d=d.stateNode,d.parentNode.removeChild(d)):v.count--,f===null?n5(b,s.type,s.stateNode):e5(b,f,s.memoizedProps)):f===null&&s.stateNode!==null&&Wp(s,s.memoizedProps,d.memoizedProps)}break;case 27:xr(l,s),yr(s),f&512&&(xn||d===null||Ba(d,d.return)),d!==null&&f&4&&Wp(s,s.memoizedProps,d.memoizedProps);break;case 5:if(xr(l,s),yr(s),f&512&&(xn||d===null||Ba(d,d.return)),s.flags&32){b=s.stateNode;try{no(b,"")}catch(Ue){Rt(s,s.return,Ue)}}f&4&&s.stateNode!=null&&(b=s.memoizedProps,Wp(s,b,d!==null?d.memoizedProps:b)),f&1024&&(Zp=!0);break;case 6:if(xr(l,s),yr(s),f&4){if(s.stateNode===null)throw Error(r(162));f=s.memoizedProps,d=s.stateNode;try{d.nodeValue=f}catch(Ue){Rt(s,s.return,Ue)}}break;case 3:if(Bd=null,b=va,va=jd(l.containerInfo),xr(l,s),va=b,yr(s),f&4&&d!==null&&d.memoizedState.isDehydrated)try{Io(l.containerInfo)}catch(Ue){Rt(s,s.return,Ue)}Zp&&(Zp=!1,nv(s));break;case 4:f=va,va=jd(s.stateNode.containerInfo),xr(l,s),yr(s),va=f;break;case 12:xr(l,s),yr(s);break;case 31:xr(l,s),yr(s),f&4&&(f=s.updateQueue,f!==null&&(s.updateQueue=null,Td(s,f)));break;case 13:xr(l,s),yr(s),s.child.flags&8192&&s.memoizedState!==null!=(d!==null&&d.memoizedState!==null)&&(kd=Hn()),f&4&&(f=s.updateQueue,f!==null&&(s.updateQueue=null,Td(s,f)));break;case 22:b=s.memoizedState!==null;var K=d!==null&&d.memoizedState!==null,fe=Ts,ye=xn;if(Ts=fe||b,xn=ye||K,xr(l,s),xn=ye,Ts=fe,yr(s),f&8192)e:for(l=s.stateNode,l._visibility=b?l._visibility&-2:l._visibility|1,b&&(d===null||K||Ts||xn||bl(s)),d=null,l=s;;){if(l.tag===5||l.tag===26){if(d===null){K=d=l;try{if(v=K.stateNode,b)S=v.style,typeof S.setProperty=="function"?S.setProperty("display","none","important"):S.display="none";else{L=K.stateNode;var we=K.memoizedProps.style,pe=we!=null&&we.hasOwnProperty("display")?we.display:null;L.style.display=pe==null||typeof pe=="boolean"?"":(""+pe).trim()}}catch(Ue){Rt(K,K.return,Ue)}}}else if(l.tag===6){if(d===null){K=l;try{K.stateNode.nodeValue=b?"":K.memoizedProps}catch(Ue){Rt(K,K.return,Ue)}}}else if(l.tag===18){if(d===null){K=l;try{var be=K.stateNode;b?$v(be,!0):$v(K.stateNode,!1)}catch(Ue){Rt(K,K.return,Ue)}}}else if((l.tag!==22&&l.tag!==23||l.memoizedState===null||l===s)&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===s)break e;for(;l.sibling===null;){if(l.return===null||l.return===s)break e;d===l&&(d=null),l=l.return}d===l&&(d=null),l.sibling.return=l.return,l=l.sibling}f&4&&(f=s.updateQueue,f!==null&&(d=f.retryQueue,d!==null&&(f.retryQueue=null,Td(s,d))));break;case 19:xr(l,s),yr(s),f&4&&(f=s.updateQueue,f!==null&&(s.updateQueue=null,Td(s,f)));break;case 30:break;case 21:break;default:xr(l,s),yr(s)}}function yr(s){var l=s.flags;if(l&2){try{for(var d,f=s.return;f!==null;){if(Y3(f)){d=f;break}f=f.return}if(d==null)throw Error(r(160));switch(d.tag){case 27:var b=d.stateNode,v=Kp(s);wd(s,v,b);break;case 5:var S=d.stateNode;d.flags&32&&(no(S,""),d.flags&=-33);var L=Kp(s);wd(s,L,S);break;case 3:case 4:var K=d.stateNode.containerInfo,fe=Kp(s);Xp(s,fe,K);break;default:throw Error(r(161))}}catch(ye){Rt(s,s.return,ye)}s.flags&=-3}l&4096&&(s.flags&=-4097)}function nv(s){if(s.subtreeFlags&1024)for(s=s.child;s!==null;){var l=s;nv(l),l.tag===5&&l.flags&1024&&l.stateNode.reset(),s=s.sibling}}function ks(s,l){if(l.subtreeFlags&8772)for(l=l.child;l!==null;)K3(s,l.alternate,l),l=l.sibling}function bl(s){for(s=s.child;s!==null;){var l=s;switch(l.tag){case 0:case 11:case 14:case 15:di(4,l,l.return),bl(l);break;case 1:Ba(l,l.return);var d=l.stateNode;typeof d.componentWillUnmount=="function"&&$3(l,l.return,d),bl(l);break;case 27:oc(l.stateNode);case 26:case 5:Ba(l,l.return),bl(l);break;case 22:l.memoizedState===null&&bl(l);break;case 30:bl(l);break;default:bl(l)}s=s.sibling}}function Ss(s,l,d){for(d=d&&(l.subtreeFlags&8772)!==0,l=l.child;l!==null;){var f=l.alternate,b=s,v=l,S=v.flags;switch(v.tag){case 0:case 11:case 15:Ss(b,v,d),Zu(4,v);break;case 1:if(Ss(b,v,d),f=v,b=f.stateNode,typeof b.componentDidMount=="function")try{b.componentDidMount()}catch(fe){Rt(f,f.return,fe)}if(f=v,b=f.updateQueue,b!==null){var L=f.stateNode;try{var K=b.shared.hiddenCallbacks;if(K!==null)for(b.shared.hiddenCallbacks=null,b=0;b<K.length;b++)Ly(K[b],L)}catch(fe){Rt(f,f.return,fe)}}d&&S&64&&G3(v),Ju(v,v.return);break;case 27:Q3(v);case 26:case 5:Ss(b,v,d),d&&f===null&&S&4&&V3(v),Ju(v,v.return);break;case 12:Ss(b,v,d);break;case 31:Ss(b,v,d),d&&S&4&&J3(b,v);break;case 13:Ss(b,v,d),d&&S&4&&ev(b,v);break;case 22:v.memoizedState===null&&Ss(b,v,d),Ju(v,v.return);break;case 30:break;default:Ss(b,v,d)}l=l.sibling}}function Jp(s,l){var d=null;s!==null&&s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(d=s.memoizedState.cachePool.pool),s=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(s=l.memoizedState.cachePool.pool),s!==d&&(s!=null&&s.refCount++,d!=null&&Bu(d))}function e1(s,l){s=null,l.alternate!==null&&(s=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==s&&(l.refCount++,s!=null&&Bu(s))}function Ea(s,l,d,f){if(l.subtreeFlags&10256)for(l=l.child;l!==null;)rv(s,l,d,f),l=l.sibling}function rv(s,l,d,f){var b=l.flags;switch(l.tag){case 0:case 11:case 15:Ea(s,l,d,f),b&2048&&Zu(9,l);break;case 1:Ea(s,l,d,f);break;case 3:Ea(s,l,d,f),b&2048&&(s=null,l.alternate!==null&&(s=l.alternate.memoizedState.cache),l=l.memoizedState.cache,l!==s&&(l.refCount++,s!=null&&Bu(s)));break;case 12:if(b&2048){Ea(s,l,d,f),s=l.stateNode;try{var v=l.memoizedProps,S=v.id,L=v.onPostCommit;typeof L=="function"&&L(S,l.alternate===null?"mount":"update",s.passiveEffectDuration,-0)}catch(K){Rt(l,l.return,K)}}else Ea(s,l,d,f);break;case 31:Ea(s,l,d,f);break;case 13:Ea(s,l,d,f);break;case 23:break;case 22:v=l.stateNode,S=l.alternate,l.memoizedState!==null?v._visibility&2?Ea(s,l,d,f):ec(s,l):v._visibility&2?Ea(s,l,d,f):(v._visibility|=2,To(s,l,d,f,(l.subtreeFlags&10256)!==0||!1)),b&2048&&Jp(S,l);break;case 24:Ea(s,l,d,f),b&2048&&e1(l.alternate,l);break;default:Ea(s,l,d,f)}}function To(s,l,d,f,b){for(b=b&&((l.subtreeFlags&10256)!==0||!1),l=l.child;l!==null;){var v=s,S=l,L=d,K=f,fe=S.flags;switch(S.tag){case 0:case 11:case 15:To(v,S,L,K,b),Zu(8,S);break;case 23:break;case 22:var ye=S.stateNode;S.memoizedState!==null?ye._visibility&2?To(v,S,L,K,b):ec(v,S):(ye._visibility|=2,To(v,S,L,K,b)),b&&fe&2048&&Jp(S.alternate,S);break;case 24:To(v,S,L,K,b),b&&fe&2048&&e1(S.alternate,S);break;default:To(v,S,L,K,b)}l=l.sibling}}function ec(s,l){if(l.subtreeFlags&10256)for(l=l.child;l!==null;){var d=s,f=l,b=f.flags;switch(f.tag){case 22:ec(d,f),b&2048&&Jp(f.alternate,f);break;case 24:ec(d,f),b&2048&&e1(f.alternate,f);break;default:ec(d,f)}l=l.sibling}}var tc=8192;function _o(s,l,d){if(s.subtreeFlags&tc)for(s=s.child;s!==null;)av(s,l,d),s=s.sibling}function av(s,l,d){switch(s.tag){case 26:_o(s,l,d),s.flags&tc&&s.memoizedState!==null&&uO(d,va,s.memoizedState,s.memoizedProps);break;case 5:_o(s,l,d);break;case 3:case 4:var f=va;va=jd(s.stateNode.containerInfo),_o(s,l,d),va=f;break;case 22:s.memoizedState===null&&(f=s.alternate,f!==null&&f.memoizedState!==null?(f=tc,tc=16777216,_o(s,l,d),tc=f):_o(s,l,d));break;default:_o(s,l,d)}}function sv(s){var l=s.alternate;if(l!==null&&(s=l.child,s!==null)){l.child=null;do l=s.sibling,s.sibling=null,s=l;while(s!==null)}}function nc(s){var l=s.deletions;if((s.flags&16)!==0){if(l!==null)for(var d=0;d<l.length;d++){var f=l[d];Rn=f,lv(f,s)}sv(s)}if(s.subtreeFlags&10256)for(s=s.child;s!==null;)iv(s),s=s.sibling}function iv(s){switch(s.tag){case 0:case 11:case 15:nc(s),s.flags&2048&&di(9,s,s.return);break;case 3:nc(s);break;case 12:nc(s);break;case 22:var l=s.stateNode;s.memoizedState!==null&&l._visibility&2&&(s.return===null||s.return.tag!==13)?(l._visibility&=-3,_d(s)):nc(s);break;default:nc(s)}}function _d(s){var l=s.deletions;if((s.flags&16)!==0){if(l!==null)for(var d=0;d<l.length;d++){var f=l[d];Rn=f,lv(f,s)}sv(s)}for(s=s.child;s!==null;){switch(l=s,l.tag){case 0:case 11:case 15:di(8,l,l.return),_d(l);break;case 22:d=l.stateNode,d._visibility&2&&(d._visibility&=-3,_d(l));break;default:_d(l)}s=s.sibling}}function lv(s,l){for(;Rn!==null;){var d=Rn;switch(d.tag){case 0:case 11:case 15:di(8,d,l);break;case 23:case 22:if(d.memoizedState!==null&&d.memoizedState.cachePool!==null){var f=d.memoizedState.cachePool.pool;f!=null&&f.refCount++}break;case 24:Bu(d.memoizedState.cache)}if(f=d.child,f!==null)f.return=d,Rn=f;else e:for(d=s;Rn!==null;){f=Rn;var b=f.sibling,v=f.return;if(X3(f),f===d){Rn=null;break e}if(b!==null){b.return=v,Rn=b;break e}Rn=v}}}var _C={getCacheForType:function(s){var l=qn(pn),d=l.data.get(s);return d===void 0&&(d=s(),l.data.set(s,d)),d},cacheSignal:function(){return qn(pn).controller.signal}},kC=typeof WeakMap=="function"?WeakMap:Map,Nt=0,jt=null,pt=null,xt=0,Ot=0,Mr=null,hi=!1,ko=!1,t1=!1,As=0,en=0,fi=0,xl=0,n1=0,Pr=0,So=0,rc=null,vr=null,r1=!1,kd=0,ov=0,Sd=1/0,Ad=null,mi=null,Tn=0,pi=null,Ao=null,Ns=0,a1=0,s1=null,uv=null,ac=0,i1=null;function jr(){return(Nt&2)!==0&&xt!==0?xt&-xt:$.T!==null?h1():Sm()}
vendor: 15,694 bytes, line 49
49function cv(){if(Pr===0)if((xt&536870912)===0||Et){var s=Ql;Ql<<=1,(Ql&3932160)===0&&(Ql=262144),Pr=s}else Pr=536870912;return s=Lr.current,s!==null&&(s.flags|=32),Pr}function Er(s,l,d){(s===jt&&(Ot===2||Ot===9)||s.cancelPendingCommit!==null)&&(No(s,0),gi(s,xt,Pr,!1)),Wt(s,d),((Nt&2)===0||s!==jt)&&(s===jt&&((Nt&2)===0&&(xl|=d),en===4&&gi(s,xt,Pr,!1)),za(s))}function dv(s,l,d){if((Nt&6)!==0)throw Error(r(327));var f=!d&&(l&127)===0&&(l&s.expiredLanes)===0||$t(s,l),b=f?NC(s,l):o1(s,l,!0),v=f;do{if(b===0){ko&&!f&&gi(s,l,0,!1);break}else{if(d=s.current.alternate,v&&!SC(d)){b=o1(s,l,!1),v=!1;continue}if(b===2){if(v=l,s.errorRecoveryDisabledLanes&v)var S=0;else S=s.pendingLanes&-536870913,S=S!==0?S:S&536870912?536870912:0;if(S!==0){l=S;e:{var L=s;b=rc;var K=L.current.memoizedState.isDehydrated;if(K&&(No(L,S).flags|=256),S=o1(L,S,!1),S!==2){if(t1&&!K){L.errorRecoveryDisabledLanes|=v,xl|=v,b=4;break e}v=vr,vr=b,v!==null&&(vr===null?vr=v:vr.push.apply(vr,v))}b=S}if(v=!1,b!==2)continue}}if(b===1){No(s,0),gi(s,l,0,!0);break}e:{switch(f=s,v=b,v){case 0:case 1:throw Error(r(345));case 4:if((l&4194048)!==l)break;case 6:gi(f,l,Pr,!hi);break e;case 2:vr=null;break;case 3:case 5:break;default:throw Error(r(329))}if((l&62914560)===l&&(b=kd+300-Hn(),10<b)){if(gi(f,l,Pr,!hi),Je(f,0,!0)!==0)break e;Ns=l,f.timeoutHandle=Fv(hv.bind(null,f,d,vr,Ad,r1,l,Pr,xl,So,hi,v,"Throttled",-0,0),b);break e}hv(f,d,vr,Ad,r1,l,Pr,xl,So,hi,v,null,-0,0)}}break}while(!0);za(s)}function hv(s,l,d,f,b,v,S,L,K,fe,ye,we,pe,be){if(s.timeoutHandle=-1,we=l.subtreeFlags,we&8192||(we&16785408)===16785408){we={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:fs},av(l,v,we);var Ue=(v&62914560)===v?kd-Hn():(v&4194048)===v?ov-Hn():0;if(Ue=cO(we,Ue),Ue!==null){Ns=v,s.cancelPendingCommit=Ue(vv.bind(null,s,l,v,d,f,b,S,L,K,ye,we,null,pe,be)),gi(s,v,S,!fe);return}}vv(s,l,v,d,f,b,S,L,K)}function SC(s){for(var l=s;;){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 f=0;f<d.length;f++){var b=d[f],v=b.getSnapshot;b=b.value;try{if(!Rr(v(),b))return!1}catch{return!1}}if(d=l.child,l.subtreeFlags&16384&&d!==null)d.return=l,l=d;else{if(l===s)break;for(;l.sibling===null;){if(l.return===null||l.return===s)return!0;l=l.return}l.sibling.return=l.return,l=l.sibling}}return!0}function gi(s,l,d,f){l&=~n1,l&=~xl,s.suspendedLanes|=l,s.pingedLanes&=~l,f&&(s.warmLanes|=l),f=s.expirationTimes;for(var b=l;0<b;){var v=31-Ct(b),S=1<<v;f[v]=-1,b&=~S}d!==0&&tl(s,d,l)}function Nd(){return(Nt&6)===0?(sc(0),!1):!0}function l1(){if(pt!==null){if(Ot===0)var s=pt.return;else s=pt,bs=ul=null,Tp(s),xo=null,Uu=0,s=pt;for(;s!==null;)q3(s.alternate,s),s=s.return;pt=null}}function No(s,l){var d=s.timeoutHandle;d!==-1&&(s.timeoutHandle=-1,VC(d)),d=s.cancelPendingCommit,d!==null&&(s.cancelPendingCommit=null,d()),Ns=0,l1(),jt=s,pt=d=ps(s.current,null),xt=l,Ot=0,Mr=null,hi=!1,ko=$t(s,l),t1=!1,So=Pr=n1=xl=fi=en=0,vr=rc=null,r1=!1,(l&8)!==0&&(l|=l&32);var f=s.entangledLanes;if(f!==0)for(s=s.entanglements,f&=l;0<f;){var b=31-Ct(f),v=1<<b;l|=s[b],f&=~v}return As=l,W0(),d}function fv(s,l){at=null,$.H=Wu,l===bo||l===rd?(l=Cy(),Ot=3):l===dp?(l=Cy(),Ot=4):Ot=l===Bp?8:l!==null&&typeof l=="object"&&typeof l.then=="function"?6:1,Mr=l,pt===null&&(en=1,bd(s,Jr(l,s.current)))}function mv(){var s=Lr.current;return s===null?!0:(xt&4194048)===xt?ra===null:(xt&62914560)===xt||(xt&536870912)!==0?s===ra:!1}function pv(){var s=$.H;return $.H=Wu,s===null?Wu:s}function gv(){var s=$.A;return $.A=_C,s}function Cd(){en=4,hi||(xt&4194048)!==xt&&Lr.current!==null||(ko=!0),(fi&134217727)===0&&(xl&134217727)===0||jt===null||gi(jt,xt,Pr,!1)}function o1(s,l,d){var f=Nt;Nt|=2;var b=pv(),v=gv();(jt!==s||xt!==l)&&(Ad=null,No(s,l)),l=!1;var S=en;e:do try{if(Ot!==0&&pt!==null){var L=pt,K=Mr;switch(Ot){case 8:l1(),S=6;break e;case 3:case 2:case 9:case 6:Lr.current===null&&(l=!0);var fe=Ot;if(Ot=0,Mr=null,Co(s,L,K,fe),d&&ko){S=0;break e}break;default:fe=Ot,Ot=0,Mr=null,Co(s,L,K,fe)}}AC(),S=en;break}catch(ye){fv(s,ye)}while(!0);return l&&s.shellSuspendCounter++,bs=ul=null,Nt=f,$.H=b,$.A=v,pt===null&&(jt=null,xt=0,W0()),S}function AC(){for(;pt!==null;)bv(pt)}function NC(s,l){var d=Nt;Nt|=2;var f=pv(),b=gv();jt!==s||xt!==l?(Ad=null,Sd=Hn()+500,No(s,l)):ko=$t(s,l);e:do try{if(Ot!==0&&pt!==null){l=pt;var v=Mr;t:switch(Ot){case 1:Ot=0,Mr=null,Co(s,l,v,1);break;case 2:case 9:if(Ay(v)){Ot=0,Mr=null,xv(l);break}l=function(){Ot!==2&&Ot!==9||jt!==s||(Ot=7),za(s)},v.then(l,l);break e;case 3:Ot=7;break e;case 4:Ot=5;break e;case 7:Ay(v)?(Ot=0,Mr=null,xv(l)):(Ot=0,Mr=null,Co(s,l,v,7));break;case 5:var S=null;switch(pt.tag){case 26:S=pt.memoizedState;case 5:case 27:var L=pt;if(S?r5(S):L.stateNode.complete){Ot=0,Mr=null;var K=L.sibling;if(K!==null)pt=K;else{var fe=L.return;fe!==null?(pt=fe,Od(fe)):pt=null}break t}}Ot=0,Mr=null,Co(s,l,v,5);break;case 6:Ot=0,Mr=null,Co(s,l,v,6);break;case 8:l1(),en=6;break e;default:throw Error(r(462))}}CC();break}catch(ye){fv(s,ye)}while(!0);return bs=ul=null,$.H=f,$.A=b,Nt=d,pt!==null?0:(jt=null,xt=0,W0(),en)}function CC(){for(;pt!==null&&!jn();)bv(pt)}function bv(s){var l=U3(s.alternate,s,As);s.memoizedProps=s.pendingProps,l===null?Od(s):pt=l}function xv(s){var l=s,d=l.alternate;switch(l.tag){case 15:case 0:l=M3(d,l,l.pendingProps,l.type,void 0,xt);break;case 11:l=M3(d,l,l.pendingProps,l.type.render,l.ref,xt);break;case 5:Tp(l);default:q3(d,l),l=pt=gy(l,As),l=U3(d,l,As)}s.memoizedProps=s.pendingProps,l===null?Od(s):pt=l}function Co(s,l,d,f){bs=ul=null,Tp(l),xo=null,Uu=0;var b=l.return;try{if(bC(s,b,l,d,xt)){en=1,bd(s,Jr(d,s.current)),pt=null;return}}catch(v){if(b!==null)throw pt=b,v;en=1,bd(s,Jr(d,s.current)),pt=null;return}l.flags&32768?(Et||f===1?s=!0:ko||(xt&536870912)!==0?s=!1:(hi=s=!0,(f===2||f===9||f===3||f===6)&&(f=Lr.current,f!==null&&f.tag===13&&(f.flags|=16384))),yv(l,s)):Od(l)}function Od(s){var l=s;do{if((l.flags&32768)!==0){yv(l,hi);return}s=l.return;var d=vC(l.alternate,l,As);if(d!==null){pt=d;return}if(l=l.sibling,l!==null){pt=l;return}pt=l=s}while(l!==null);en===0&&(en=5)}function yv(s,l){do{var d=EC(s.alternate,s);if(d!==null){d.flags&=32767,pt=d;return}if(d=s.return,d!==null&&(d.flags|=32768,d.subtreeFlags=0,d.deletions=null),!l&&(s=s.sibling,s!==null)){pt=s;return}pt=s=d}while(s!==null);en=6,pt=null}function vv(s,l,d,f,b,v,S,L,K){s.cancelPendingCommit=null;do Rd();while(Tn!==0);if((Nt&6)!==0)throw Error(r(327));if(l!==null){if(l===s.current)throw Error(r(177));if(v=l.lanes|l.childLanes,v|=Km,hr(s,d,v,S,L,K),s===jt&&(pt=jt=null,xt=0),Ao=l,pi=s,Ns=d,a1=v,s1=b,uv=f,(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?(s.callbackNode=null,s.callbackPriority=0,LC(We,function(){return kv(),null})):(s.callbackNode=null,s.callbackPriority=0),f=(l.flags&13878)!==0,(l.subtreeFlags&13878)!==0||f){f=$.T,$.T=null,b=re.p,re.p=2,S=Nt,Nt|=4;try{wC(s,l,d)}finally{Nt=S,re.p=b,$.T=f}}Tn=1,Ev(),wv(),Tv()}}function Ev(){if(Tn===1){Tn=0;var s=pi,l=Ao,d=(l.flags&13878)!==0;if((l.subtreeFlags&13878)!==0||d){d=$.T,$.T=null;var f=re.p;re.p=2;var b=Nt;Nt|=4;try{tv(l,s);var v=v1,S=ly(s.containerInfo),L=v.focusedElem,K=v.selectionRange;if(S!==L&&L&&L.ownerDocument&&iy(L.ownerDocument.documentElement,L)){if(K!==null&&$m(L)){var fe=K.start,ye=K.end;if(ye===void 0&&(ye=fe),"selectionStart"in L)L.selectionStart=fe,L.selectionEnd=Math.min(ye,L.value.length);else{var we=L.ownerDocument||document,pe=we&&we.defaultView||window;if(pe.getSelection){var be=pe.getSelection(),Ue=L.textContent.length,Ke=Math.min(K.start,Ue),Mt=K.end===void 0?Ke:Math.min(K.end,Ue);!be.extend&&Ke>Mt&&(S=Mt,Mt=Ke,Ke=S);var se=sy(L,Ke),J=sy(L,Mt);if(se&&J&&(be.rangeCount!==1||be.anchorNode!==se.node||be.anchorOffset!==se.offset||be.focusNode!==J.node||be.focusOffset!==J.offset)){var ce=we.createRange();ce.setStart(se.node,se.offset),be.removeAllRanges(),Ke>Mt?(be.addRange(ce),be.extend(J.node,J.offset)):(ce.setEnd(J.node,J.offset),be.addRange(ce))}}}}for(we=[],be=L;be=be.parentNode;)be.nodeType===1&&we.push({element:be,left:be.scrollLeft,top:be.scrollTop});for(typeof L.focus=="function"&&L.focus(),L=0;L<we.length;L++){var Ee=we[L];Ee.element.scrollLeft=Ee.left,Ee.element.scrollTop=Ee.top}}qd=!!y1,v1=y1=null}finally{Nt=b,re.p=f,$.T=d}}s.current=l,Tn=2}}function wv(){if(Tn===2){Tn=0;var s=pi,l=Ao,d=(l.flags&8772)!==0;if((l.subtreeFlags&8772)!==0||d){d=$.T,$.T=null;var f=re.p;re.p=2;var b=Nt;Nt|=4;try{K3(s,l.alternate,l)}finally{Nt=b,re.p=f,$.T=d}}Tn=3}}function Tv(){if(Tn===4||Tn===3){Tn=0,La();var s=pi,l=Ao,d=Ns,f=uv;(l.subtreeFlags&10256)!==0||(l.flags&10256)!==0?Tn=5:(Tn=0,Ao=pi=null,_v(s,s.pendingLanes));var b=s.pendingLanes;if(b===0&&(mi=null),xa(d),l=l.stateNode,on&&typeof on.onCommitFiberRoot=="function")try{on.onCommitFiberRoot(Bn,l,void 0,(l.current.flags&128)===128)}catch{}if(f!==null){l=$.T,b=re.p,re.p=2,$.T=null;try{for(var v=s.onRecoverableError,S=0;S<f.length;S++){var L=f[S];v(L.value,{componentStack:L.stack})}}finally{$.T=l,re.p=b}}(Ns&3)!==0&&Rd(),za(s),b=s.pendingLanes,(d&261930)!==0&&(b&42)!==0?s===i1?ac++:(ac=0,i1=s):ac=0,sc(0)}}function _v(s,l){(s.pooledCacheLanes&=l)===0&&(l=s.pooledCache,l!=null&&(s.pooledCache=null,Bu(l)))}function Rd(){return Ev(),wv(),Tv(),kv()}function kv(){if(Tn!==5)return!1;var s=pi,l=a1;a1=0;var d=xa(Ns),f=$.T,b=re.p;try{re.p=32>d?32:d,$.T=null,d=s1,s1=null;var v=pi,S=Ns;if(Tn=0,Ao=pi=null,Ns=0,(Nt&6)!==0)throw Error(r(331));var L=Nt;if(Nt|=4,iv(v.current),rv(v,v.current,S,d),Nt=L,sc(0,!1),on&&typeof on.onPostCommitFiberRoot=="function")try{on.onPostCommitFiberRoot(Bn,v)}catch{}return!0}finally{re.p=b,$.T=f,_v(s,l)}}function Sv(s,l,d){l=Jr(d,l),l=Hp(s.stateNode,l,2),s=oi(s,l,2),s!==null&&(Wt(s,2),za(s))}function Rt(s,l,d){if(s.tag===3)Sv(s,s,d);else for(;l!==null;){if(l.tag===3){Sv(l,s,d);break}else if(l.tag===1){var f=l.stateNode;if(typeof l.type.getDerivedStateFromError=="function"||typeof f.componentDidCatch=="function"&&(mi===null||!mi.has(f))){s=Jr(d,s),d=A3(2),f=oi(l,d,2),f!==null&&(N3(d,f,l,s),Wt(f,2),za(f));break}}l=l.return}}function u1(s,l,d){var f=s.pingCache;if(f===null){f=s.pingCache=new kC;var b=new Set;f.set(l,b)}else b=f.get(l),b===void 0&&(b=new Set,f.set(l,b));b.has(d)||(t1=!0,b.add(d),s=OC.bind(null,s,l,d),l.then(s,s))}function OC(s,l,d){var f=s.pingCache;f!==null&&f.delete(l),s.pingedLanes|=s.suspendedLanes&d,s.warmLanes&=~d,jt===s&&(xt&d)===d&&(en===4||en===3&&(xt&62914560)===xt&&300>Hn()-kd?(Nt&2)===0&&No(s,0):n1|=d,So===xt&&(So=0)),za(s)}function Av(s,l){l===0&&(l=Wn()),s=il(s,l),s!==null&&(Wt(s,l),za(s))}function RC(s){var l=s.memoizedState,d=0;l!==null&&(d=l.retryLane),Av(s,d)}function DC(s,l){var d=0;switch(s.tag){case 31:case 13:var f=s.stateNode,b=s.memoizedState;b!==null&&(d=b.retryLane);break;case 19:f=s.stateNode;break;case 22:f=s.stateNode._retryCache;break;default:throw Error(r(314))}f!==null&&f.delete(l),Av(s,d)}function LC(s,l){return Zs(s,l)}var Dd=null,Oo=null,c1=!1,Ld=!1,d1=!1,bi=0;function za(s){s!==Oo&&s.next===null&&(Oo===null?Dd=Oo=s:Oo=Oo.next=s),Ld=!0,c1||(c1=!0,MC())}function sc(s,l){if(!d1&&Ld){d1=!0;do for(var d=!1,f=Dd;f!==null;){if(s!==0){var b=f.pendingLanes;if(b===0)var v=0;else{var S=f.suspendedLanes,L=f.pingedLanes;v=(1<<31-Ct(42|s)+1)-1,v&=b&~(S&~L),v=v&201326741?v&201326741|1:v?v|2:0}v!==0&&(d=!0,Rv(f,v))}else v=xt,v=Je(f,f===jt?v:0,f.cancelPendingCommit!==null||f.timeoutHandle!==-1),(v&3)===0||$t(f,v)||(d=!0,Rv(f,v));f=f.next}while(d);d1=!1}}function IC(){Nv()}function Nv(){Ld=c1=!1;var s=0;bi!==0&&$C()&&(s=bi);for(var l=Hn(),d=null,f=Dd;f!==null;){var b=f.next,v=Cv(f,l);v===0?(f.next=null,d===null?Dd=b:d.next=b,b===null&&(Oo=d)):(d=f,(s!==0||(v&3)!==0)&&(Ld=!0)),f=b}Tn!==0&&Tn!==5||sc(s),bi!==0&&(bi=0)}function Cv(s,l){for(var d=s.suspendedLanes,f=s.pingedLanes,b=s.expirationTimes,v=s.pendingLanes&-62914561;0<v;){var S=31-Ct(v),L=1<<S,K=b[S];K===-1?((L&d)===0||(L&f)!==0)&&(b[S]=Cn(L,l)):K<=l&&(s.expiredLanes|=L),v&=~L}if(l=jt,d=xt,d=Je(s,s===l?d:0,s.cancelPendingCommit!==null||s.timeoutHandle!==-1),f=s.callbackNode,d===0||s===l&&(Ot===2||Ot===9)||s.cancelPendingCommit!==null)return f!==null&&f!==null&&Ji(f),s.callbackNode=null,s.callbackPriority=0;if((d&3)===0||$t(s,d)){if(l=d&-d,l===s.callbackPriority)return l;switch(f!==null&&Ji(f),xa(d)){case 2:case 8:d=Le;break;case 32:d=We;break;case 268435456:d=mt;break;default:d=We}return f=Ov.bind(null,s),d=Zs(d,f),s.callbackPriority=l,s.callbackNode=d,l}return f!==null&&f!==null&&Ji(f),s.callbackPriority=2,s.callbackNode=null,2}function Ov(s,l){if(Tn!==0&&Tn!==5)return s.callbackNode=null,s.callbackPriority=0,null;var d=s.callbackNode;if(Rd()&&s.callbackNode!==d)return null;var f=xt;return f=Je(s,s===jt?f:0,s.cancelPendingCommit!==null||s.timeoutHandle!==-1),f===0?null:(dv(s,f,l),Cv(s,Hn()),s.callbackNode!=null&&s.callbackNode===d?Ov.bind(null,s):null)}function Rv(s,l){if(Rd())return null;dv(s,l,!0)}function MC(){YC(function(){(Nt&6)!==0?Zs(ve,IC):Nv()})}function h1(){if(bi===0){var s=po;s===0&&(s=Yl,Yl<<=1,(Yl&261888)===0&&(Yl=256)),bi=s}return bi}function Dv(s){return s==null||typeof s=="symbol"||typeof s=="boolean"?null:typeof s=="function"?s:U0(""+s)}function Lv(s,l){var d=l.ownerDocument.createElement("input");return d.name=l.name,d.value=l.value,s.id&&d.setAttribute("form",s.id),l.parentNode.insertBefore(d,l),s=new FormData(s),d.parentNode.removeChild(d),s}function PC(s,l,d,f,b){if(l==="submit"&&d&&d.stateNode===b){var v=Dv((b[pr]||null).action),S=f.submitter;S&&(l=(l=S[pr]||null)?Dv(l.formAction):S.getAttribute("formAction"),l!==null&&(v=l,S=null));var L=new $0("action","action",null,f,b);s.push({event:L,listeners:[{instance:null,listener:function(){if(f.defaultPrevented){if(bi!==0){var K=S?Lv(b,S):new FormData(b);Dp(d,{pending:!0,data:K,method:b.method,action:v},null,K)}}else typeof v=="function"&&(L.preventDefault(),K=S?Lv(b,S):new FormData(b),Dp(d,{pending:!0,data:K,method:b.method,action:v},v,K))},currentTarget:b}]})}}for(var f1=0;f1<Wm.length;f1++){var m1=Wm[f1],jC=m1.toLowerCase(),HC=m1[0].toUpperCase()+m1.slice(1);ya(jC,"on"+HC)}ya(cy,"onAnimationEnd"),ya(dy,"onAnimationIteration"),ya(hy,"onAnimationStart"),ya("dblclick","onDoubleClick"),ya("focusin","onFocus"),ya("focusout","onBlur"),ya(eC,"onTransitionRun"),ya(tC,"onTransitionStart"),ya(nC,"onTransitionCancel"),ya(fy,"onTransitionEnd"),eo("onMouseEnter",["mouseout","mouseover"]),eo("onMouseLeave",["mouseout","mouseover"]),eo("onPointerEnter",["pointerout","pointerover"]),eo("onPointerLeave",["pointerout","pointerover"]),nl("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),nl("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),nl("onBeforeInput",["compositionend","keypress","textInput","paste"]),nl("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),nl("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),nl("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var ic="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(" "),BC=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(ic));function Iv(s,l){l=(l&4)!==0;for(var d=0;d<s.length;d++){var f=s[d],b=f.event;f=f.listeners;e:{var v=void 0;if(l)for(var S=f.length-1;0<=S;S--){var L=f[S],K=L.instance,fe=L.currentTarget;if(L=L.listener,K!==v&&b.isPropagationStopped())break e;v=L,b.currentTarget=fe;try{v(b)}catch(ye){Q0(ye)}b.currentTarget=null,v=K}
vendor: 3,900 bytes, line 49
49else for(S=0;S<f.length;S++){if(L=f[S],K=L.instance,fe=L.currentTarget,L=L.listener,K!==v&&b.isPropagationStopped())break e;v=L,b.currentTarget=fe;try{v(b)}catch(ye){Q0(ye)}b.currentTarget=null,v=K}}}}function gt(s,l){var d=l[Am];d===void 0&&(d=l[Am]=new Set);var f=s+"__bubble";d.has(f)||(Mv(l,s,2,!1),d.add(f))}function p1(s,l,d){var f=0;l&&(f|=4),Mv(d,s,f,l)}var Id="_reactListening"+Math.random().toString(36).slice(2);function g1(s){if(!s[Id]){s[Id]=!0,N4.forEach(function(d){d!=="selectionchange"&&(BC.has(d)||p1(d,!1,s),p1(d,!0,s))});var l=s.nodeType===9?s:s.ownerDocument;l===null||l[Id]||(l[Id]=!0,p1("selectionchange",!1,l))}}function Mv(s,l,d,f){switch(c5(l)){case 2:var b=fO;break;case 8:b=mO;break;default:b=R1}d=b.bind(null,l,d,s),b=void 0,!Pm||l!=="touchstart"&&l!=="touchmove"&&l!=="wheel"||(b=!0),f?b!==void 0?s.addEventListener(l,d,{capture:!0,passive:b}):s.addEventListener(l,d,!0):b!==void 0?s.addEventListener(l,d,{passive:b}):s.addEventListener(l,d,!1)}function b1(s,l,d,f,b){var v=f;if((l&1)===0&&(l&2)===0&&f!==null)e:for(;;){if(f===null)return;var S=f.tag;if(S===3||S===4){var L=f.stateNode.containerInfo;if(L===b)break;if(S===4)for(S=f.return;S!==null;){var K=S.tag;if((K===3||K===4)&&S.stateNode.containerInfo===b)return;S=S.return}for(;L!==null;){if(S=Xl(L),S===null)return;if(K=S.tag,K===5||K===6||K===26||K===27){f=v=S;continue e}L=L.parentNode}}f=f.return}z4(function(){var fe=v,ye=Im(d),we=[];e:{var pe=my.get(s);if(pe!==void 0){var be=$0,Ue=s;switch(s){case"keypress":if(q0(d)===0)break e;case"keydown":case"keyup":be=DN;break;case"focusin":Ue="focus",be=zm;break;case"focusout":Ue="blur",be=zm;break;case"beforeblur":case"afterblur":be=zm;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":be=q4;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":be=vN;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":be=MN;break;case cy:case dy:case hy:be=TN;break;case fy:be=jN;break;case"scroll":case"scrollend":be=xN;break;case"wheel":be=BN;break;case"copy":case"cut":case"paste":be=kN;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":be=$4;break;case"toggle":case"beforetoggle":be=UN}var Ke=(l&4)!==0,Mt=!Ke&&(s==="scroll"||s==="scrollend"),se=Ke?pe!==null?pe+"Capture":null:pe;Ke=[];for(var J=fe,ce;J!==null;){var Ee=J;if(ce=Ee.stateNode,Ee=Ee.tag,Ee!==5&&Ee!==26&&Ee!==27||ce===null||se===null||(Ee=Nu(J,se),Ee!=null&&Ke.push(lc(J,Ee,ce))),Mt)break;J=J.return}0<Ke.length&&(pe=new be(pe,Ue,null,d,ye),we.push({event:pe,listeners:Ke}))}}if((l&7)===0){e:{if(pe=s==="mouseover"||s==="pointerover",be=s==="mouseout"||s==="pointerout",pe&&d!==Lm&&(Ue=d.relatedTarget||d.fromElement)&&(Xl(Ue)||Ue[Kl]))break e;if((be||pe)&&(pe=ye.window===ye?ye:(pe=ye.ownerDocument)?pe.defaultView||pe.parentWindow:window,be?(Ue=d.relatedTarget||d.toElement,be=fe,Ue=Ue?Xl(Ue):null,Ue!==null&&(Mt=i(Ue),Ke=Ue.tag,Ue!==Mt||Ke!==5&&Ke!==27&&Ke!==6)&&(Ue=null)):(be=null,Ue=fe),be!==Ue)){if(Ke=q4,Ee="onMouseLeave",se="onMouseEnter",J="mouse",(s==="pointerout"||s==="pointerover")&&(Ke=$4,Ee="onPointerLeave",se="onPointerEnter",J="pointer"),Mt=be==null?pe:Au(be),ce=Ue==null?pe:Au(Ue),pe=new Ke(Ee,J+"leave",be,d,ye),pe.target=Mt,pe.relatedTarget=ce,Ee=null,Xl(ye)===fe&&(Ke=new Ke(se,J+"enter",Ue,d,ye),Ke.target=ce,Ke.relatedTarget=Mt,Ee=Ke),Mt=Ee,be&&Ue)t:{for(Ke=zC,se=be,J=Ue,ce=0,Ee=se;Ee;Ee=Ke(Ee))ce++;Ee=0;for(var Ve=J;Ve;Ve=Ke(Ve))Ee++;for(;0<ce-Ee;)se=Ke(se),ce--;for(;0<Ee-ce;)J=Ke(J),Ee--;for(;ce--;){if(se===J||J!==null&&se===J.alternate){Ke=se;break t}se=Ke(se),J=Ke(J)}Ke=null}else Ke=null;be!==null&&Pv(we,pe,be,Ke,!1),Ue!==null&&Mt!==null&&Pv(we,Mt,Ue,Ke,!0)}}
vendor: 5,244 bytes, lines 49-50
49e:{if(pe=fe?Au(fe):window,be=pe.nodeName&&pe.nodeName.toLowerCase(),be==="select"||be==="input"&&pe.type==="file")var Tt=J4;else if(X4(pe))if(ey)Tt=XN;else{Tt=WN;var Ge=QN}else be=pe.nodeName,!be||be.toLowerCase()!=="input"||pe.type!=="checkbox"&&pe.type!=="radio"?fe&&Dm(fe.elementType)&&(Tt=J4):Tt=KN;if(Tt&&(Tt=Tt(s,fe))){Z4(we,Tt,d,ye);break e}Ge&&Ge(s,pe,fe),s==="focusout"&&fe&&pe.type==="number"&&fe.memoizedProps.value!=null&&Rm(pe,"number",pe.value)}switch(Ge=fe?Au(fe):window,s){case"focusin":(X4(Ge)||Ge.contentEditable==="true")&&(io=Ge,Vm=fe,Pu=null);break;case"focusout":Pu=Vm=io=null;break;case"mousedown":Ym=!0;break;case"contextmenu":case"mouseup":case"dragend":Ym=!1,oy(we,d,ye);break;case"selectionchange":if(JN)break;case"keydown":case"keyup":oy(we,d,ye)}var lt;if(Fm)e:{switch(s){case"compositionstart":var yt="onCompositionStart";break e;case"compositionend":yt="onCompositionEnd";break e;case"compositionupdate":yt="onCompositionUpdate";break e}yt=void 0}else so?W4(s,d)&&(yt="onCompositionEnd"):s==="keydown"&&d.keyCode===229&&(yt="onCompositionStart");yt&&(V4&&d.locale!=="ko"&&(so||yt!=="onCompositionStart"?yt==="onCompositionEnd"&&so&&(lt=U4()):(ti=ye,jm="value"in ti?ti.value:ti.textContent,so=!0)),Ge=Md(fe,yt),0<Ge.length&&(yt=new G4(yt,s,null,d,ye),we.push({event:yt,listeners:Ge}),lt?yt.data=lt:(lt=K4(d),lt!==null&&(yt.data=lt)))),(lt=qN?GN(s,d):$N(s,d))&&(yt=Md(fe,"onBeforeInput"),0<yt.length&&(Ge=new G4("onBeforeInput","beforeinput",null,d,ye),we.push({event:Ge,listeners:yt}),Ge.data=lt)),PC(we,s,fe,d,ye)}Iv(we,l)})}function lc(s,l,d){return{instance:s,listener:l,currentTarget:d}}function Md(s,l){for(var d=l+"Capture",f=[];s!==null;){var b=s,v=b.stateNode;if(b=b.tag,b!==5&&b!==26&&b!==27||v===null||(b=Nu(s,d),b!=null&&f.unshift(lc(s,b,v)),b=Nu(s,l),b!=null&&f.push(lc(s,b,v))),s.tag===3)return f;s=s.return}return[]}function zC(s){if(s===null)return null;do s=s.return;while(s&&s.tag!==5&&s.tag!==27);return s||null}function Pv(s,l,d,f,b){for(var v=l._reactName,S=[];d!==null&&d!==f;){var L=d,K=L.alternate,fe=L.stateNode;if(L=L.tag,K!==null&&K===f)break;L!==5&&L!==26&&L!==27||fe===null||(K=fe,b?(fe=Nu(d,v),fe!=null&&S.unshift(lc(d,fe,K))):b||(fe=Nu(d,v),fe!=null&&S.push(lc(d,fe,K)))),d=d.return}S.length!==0&&s.push({event:l,listeners:S})}var UC=/\r\n?/g,FC=/\u0000|\uFFFD/g;function jv(s){return(typeof s=="string"?s:""+s).replace(UC,`
50`).replace(FC,"")}function Hv(s,l){return l=jv(l),jv(s)===l}function It(s,l,d,f,b,v){switch(d){case"children":typeof f=="string"?l==="body"||l==="textarea"&&f===""||no(s,f):(typeof f=="number"||typeof f=="bigint")&&l!=="body"&&no(s,""+f);break;case"className":B0(s,"class",f);break;case"tabIndex":B0(s,"tabindex",f);break;case"dir":case"role":case"viewBox":case"width":case"height":B0(s,d,f);break;case"style":H4(s,f,v);break;case"data":if(l!=="object"){B0(s,"data",f);break}case"src":case"href":if(f===""&&(l!=="a"||d!=="href")){s.removeAttribute(d);break}if(f==null||typeof f=="function"||typeof f=="symbol"||typeof f=="boolean"){s.removeAttribute(d);break}f=U0(""+f),s.setAttribute(d,f);break;case"action":case"formAction":if(typeof f=="function"){s.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"&&It(s,l,"name",b.name,b,null),It(s,l,"formEncType",b.formEncType,b,null),It(s,l,"formMethod",b.formMethod,b,null),It(s,l,"formTarget",b.formTarget,b,null)):(It(s,l,"encType",b.encType,b,null),It(s,l,"method",b.method,b,null),It(s,l,"target",b.target,b,null)));if(f==null||typeof f=="symbol"||typeof f=="boolean"){s.removeAttribute(d);break}f=U0(""+f),s.setAttribute(d,f);break;case"onClick":f!=null&&(s.onclick=fs);break;case"onScroll":f!=null&&gt("scroll",s);break;case"onScrollEnd":f!=null&&gt("scrollend",s);break;case"dangerouslySetInnerHTML":if(f!=null){if(typeof f!="object"||!("__html"in f))throw Error(r(61));if(d=f.__html,d!=null){if(b.children!=null)throw Error(r(60));s.innerHTML=d}}break;case"multiple":s.multiple=f&&typeof f!="function"&&typeof f!="symbol";break;case"muted":s.muted=f&&typeof f!="function"&&typeof f!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(f==null||typeof f=="function"||typeof f=="boolean"||typeof f=="symbol"){s.removeAttribute("xlink:href");break}d=U0(""+f),s.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":f!=null&&typeof f!="function"&&typeof f!="symbol"?s.setAttribute(d,""+f):s.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":f&&typeof f!="function"&&typeof f!="symbol"?s.setAttribute(d,""):s.removeAttribute(d);break;case"capture":case"download":f===!0?s.setAttribute(d,""):f!==!1&&f!=null&&typeof f!="function"&&typeof f!="symbol"?s.setAttribute(d,f):s.removeAttribute(d);break;case"cols":case"rows":case"size":case"span":f!=null&&typeof f!="function"&&typeof f!="symbol"&&!isNaN(f)&&1<=f?s.setAttribute(d,f):s.removeAttribute(d);break;case"rowSpan":case"start":f==null||typeof f=="function"||typeof f=="symbol"||isNaN(f)?s.removeAttribute(d):s.setAttribute(d,f);break;case"popover":gt("beforetoggle",s),gt("toggle",s),H0(s,"popover",f);break;case"xlinkActuate":hs(s,"http://www.w3.org/1999/xlink","xlink:actuate",f);break;case"xlinkArcrole":hs(s,"http://www.w3.org/1999/xlink","xlink:arcrole",f);break;case"xlinkRole":hs(s,"http://www.w3.org/1999/xlink","xlink:role",f);break;case"xlinkShow":hs(s,"http://www.w3.org/1999/xlink","xlink:show",f);break;case"xlinkTitle":hs(s,"http://www.w3.org/1999/xlink","xlink:title",f);break;case"xlinkType":hs(s,"http://www.w3.org/1999/xlink","xlink:type",f);break;case"xmlBase":hs(s,"http://www.w3.org/XML/1998/namespace","xml:base",f);break;case"xmlLang":hs(s,"http://www.w3.org/XML/1998/namespace","xml:lang",f);break;case"xmlSpace":hs(s,"http://www.w3.org/XML/1998/namespace","xml:space",f);break;case"is":H0(s,"is",f);break;case"innerText":case"textContent":break;default:(!(2<d.length)||d[0]!=="o"&&d[0]!=="O"||d[1]!=="n"&&d[1]!=="N")&&(d=gN.get(d)||d,H0(s,d,f))}}function x1(s,l,d,f,b,v){switch(d){case"style":H4(s,f,v);break;case"dangerouslySetInnerHTML":if(f!=null){if(typeof f!="object"||!("__html"in f))throw Error(r(61));if(d=f.__html,d!=null){if(b.children!=null)throw Error(r(60));s.innerHTML=d}}break;case"children":typeof f=="string"?no(s,f):(typeof f=="number"||typeof f=="bigint")&&no(s,""+f);break;case"onScroll":f!=null&&gt("scroll",s);break;case"onScrollEnd":f!=null&&gt("scrollend",s);break;case"onClick":f!=null&&(s.onclick=fs);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!C4.hasOwnProperty(d))e:{if(d[0]==="o"&&d[1]==="n"&&(b=d.endsWith("Capture"),l=d.slice(2,b?d.length-7:void 0),v=s[pr]||null,v=v!=null?v[d]:null,typeof v=="function"&&s.removeEventListener(l,v,b),typeof f=="function")){typeof v!="function"&&v!==null&&(d in s?s[d]=null:s.hasAttribute(d)&&s.removeAttribute(d)),s.addEventListener(l,f,b);break e}d in s?s[d]=f:f===!0?s.setAttribute(d,""):H0(s,d,f)}}}function $n(s,l,d){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":gt("error",s),gt("load",s);var f=!1,b=!1,v;for(v in d)if(d.hasOwnProperty(v)){var S=d[v];if(S!=null)switch(v){case"src":f=!0;break;case"srcSet":b=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(r(137,l));default:It(s,l,v,S,d,null)}}b&&It(s,l,"srcSet",d.srcSet,d,null),f&&It(s,l,"src",d.src,d,null);return;case"input":gt("invalid",s);var L=v=S=b=null,K=null,fe=null;for(f in d)if(d.hasOwnProperty(f)){var ye=d[f];if(ye!=null)switch(f){case"name":b=ye;break;case"type":S=ye;break;case"checked":K=ye;break;case"defaultChecked":fe=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:It(s,l,f,ye,d,null)}}I4(s,v,L,K,fe,S,b,!1);return;case"select":gt("invalid",s),f=S=v=null;for(b in d)if(d.hasOwnProperty(b)&&(L=d[b],L!=null))switch(b){case"value":v=L;break;case"defaultValue":S=L;break;case"multiple":f=L;default:It(s,l,b,L,d,null)}l=v,d=S,s.multiple=!!f,l!=null?to(s,!!f,l,!1):d!=null&&to(s,!!f,d,!0);return;case"textarea":gt("invalid",s),v=b=f=null;for(S in d)if(d.hasOwnProperty(S)&&(L=d[S],L!=null))switch(S){case"value":f=L;break;case"defaultValue":b=L;break;case"children":v=L;break;case"dangerouslySetInnerHTML":if(L!=null)throw Error(r(91));break;default:It(s,l,S,L,d,null)}P4(s,f,b,v);return;case"option":for(K in d)if(d.hasOwnProperty(K)&&(f=d[K],f!=null))switch(K){case"selected":s.selected=f&&typeof f!="function"&&typeof f!="symbol";break;default:It(s,l,K,f,d,null)}return;case"dialog":gt("beforetoggle",s),gt("toggle",s),gt("cancel",s),gt("close",s
vendor: 8,752 bytes, line 50
50);break;case"iframe":case"object":gt("load",s);break;case"video":case"audio":for(f=0;f<ic.length;f++)gt(ic[f],s);break;case"image":gt("error",s),gt("load",s);break;case"details":gt("toggle",s);break;case"embed":case"source":case"link":gt("error",s),gt("load",s);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(fe in d)if(d.hasOwnProperty(fe)&&(f=d[fe],f!=null))switch(fe){case"children":case"dangerouslySetInnerHTML":throw Error(r(137,l));default:It(s,l,fe,f,d,null)}return;default:if(Dm(l)){for(ye in d)d.hasOwnProperty(ye)&&(f=d[ye],f!==void 0&&x1(s,l,ye,f,d,void 0));return}}for(L in d)d.hasOwnProperty(L)&&(f=d[L],f!=null&&It(s,l,L,f,d,null))}function qC(s,l,d,f){switch(l){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var b=null,v=null,S=null,L=null,K=null,fe=null,ye=null;for(be in d){var we=d[be];if(d.hasOwnProperty(be)&&we!=null)switch(be){case"checked":break;case"value":break;case"defaultValue":K=we;default:f.hasOwnProperty(be)||It(s,l,be,null,f,we)}}for(var pe in f){var be=f[pe];if(we=d[pe],f.hasOwnProperty(pe)&&(be!=null||we!=null))switch(pe){case"type":v=be;break;case"name":b=be;break;case"checked":fe=be;break;case"defaultChecked":ye=be;break;case"value":S=be;break;case"defaultValue":L=be;break;case"children":case"dangerouslySetInnerHTML":if(be!=null)throw Error(r(137,l));break;default:be!==we&&It(s,l,pe,be,f,we)}}Om(s,S,L,K,fe,ye,v,b);return;case"select":be=S=L=pe=null;for(v in d)if(K=d[v],d.hasOwnProperty(v)&&K!=null)switch(v){case"value":break;case"multiple":be=K;default:f.hasOwnProperty(v)||It(s,l,v,null,f,K)}for(b in f)if(v=f[b],K=d[b],f.hasOwnProperty(b)&&(v!=null||K!=null))switch(b){case"value":pe=v;break;case"defaultValue":L=v;break;case"multiple":S=v;default:v!==K&&It(s,l,b,v,f,K)}l=L,d=S,f=be,pe!=null?to(s,!!d,pe,!1):!!f!=!!d&&(l!=null?to(s,!!d,l,!0):to(s,!!d,d?[]:"",!1));return;case"textarea":be=pe=null;for(L in d)if(b=d[L],d.hasOwnProperty(L)&&b!=null&&!f.hasOwnProperty(L))switch(L){case"value":break;case"children":break;default:It(s,l,L,null,f,b)}for(S in f)if(b=f[S],v=d[S],f.hasOwnProperty(S)&&(b!=null||v!=null))switch(S){case"value":pe=b;break;case"defaultValue":be=b;break;case"children":break;case"dangerouslySetInnerHTML":if(b!=null)throw Error(r(91));break;default:b!==v&&It(s,l,S,b,f,v)}M4(s,pe,be);return;case"option":for(var Ue in d)if(pe=d[Ue],d.hasOwnProperty(Ue)&&pe!=null&&!f.hasOwnProperty(Ue))switch(Ue){case"selected":s.selected=!1;break;default:It(s,l,Ue,null,f,pe)}for(K in f)if(pe=f[K],be=d[K],f.hasOwnProperty(K)&&pe!==be&&(pe!=null||be!=null))switch(K){case"selected":s.selected=pe&&typeof pe!="function"&&typeof pe!="symbol";break;default:It(s,l,K,pe,f,be)}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 Ke in d)pe=d[Ke],d.hasOwnProperty(Ke)&&pe!=null&&!f.hasOwnProperty(Ke)&&It(s,l,Ke,null,f,pe);for(fe in f)if(pe=f[fe],be=d[fe],f.hasOwnProperty(fe)&&pe!==be&&(pe!=null||be!=null))switch(fe){case"children":case"dangerouslySetInnerHTML":if(pe!=null)throw Error(r(137,l));break;default:It(s,l,fe,pe,f,be)}return;default:if(Dm(l)){for(var Mt in d)pe=d[Mt],d.hasOwnProperty(Mt)&&pe!==void 0&&!f.hasOwnProperty(Mt)&&x1(s,l,Mt,void 0,f,pe);for(ye in f)pe=f[ye],be=d[ye],!f.hasOwnProperty(ye)||pe===be||pe===void 0&&be===void 0||x1(s,l,ye,pe,f,be);return}}for(var se in d)pe=d[se],d.hasOwnProperty(se)&&pe!=null&&!f.hasOwnProperty(se)&&It(s,l,se,null,f,pe);for(we in f)pe=f[we],be=d[we],!f.hasOwnProperty(we)||pe===be||pe==null&&be==null||It(s,l,we,pe,f,be)}function Bv(s){switch(s){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function GC(){if(typeof performance.getEntriesByType=="function"){for(var s=0,l=0,d=performance.getEntriesByType("resource"),f=0;f<d.length;f++){var b=d[f],v=b.transferSize,S=b.initiatorType,L=b.duration;if(v&&L&&Bv(S)){for(S=0,L=b.responseEnd,f+=1;f<d.length;f++){var K=d[f],fe=K.startTime;if(fe>L)break;var ye=K.transferSize,we=K.initiatorType;ye&&Bv(we)&&(K=K.responseEnd,S+=ye*(K<L?1:(L-fe)/(K-fe)))}if(--f,l+=8*(v+S)/(b.duration/1e3),s++,10<s)break}}if(0<s)return l/s/1e6}return navigator.connection&&(s=navigator.connection.downlink,typeof s=="number")?s:5}var y1=null,v1=null;function Pd(s){return s.nodeType===9?s:s.ownerDocument}function zv(s){switch(s){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Uv(s,l){if(s===0)switch(l){case"svg":return 1;case"math":return 2;default:return 0}return s===1&&l==="foreignObject"?0:s}function E1(s,l){return s==="textarea"||s==="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 w1=null;function $C(){var s=window.event;return s&&s.type==="popstate"?s===w1?!1:(w1=s,!0):(w1=null,!1)}var Fv=typeof setTimeout=="function"?setTimeout:void 0,VC=typeof clearTimeout=="function"?clearTimeout:void 0,qv=typeof Promise=="function"?Promise:void 0,YC=typeof queueMicrotask=="function"?queueMicrotask:typeof qv<"u"?function(s){return qv.resolve(null).then(s).catch(QC)}:Fv;function QC(s){setTimeout(function(){throw s})}function xi(s){return s==="head"}function Gv(s,l){var d=l,f=0;do{var b=d.nextSibling;if(s.removeChild(d),b&&b.nodeType===8)if(d=b.data,d==="/$"||d==="/&"){if(f===0){s.removeChild(b),Io(l);return}f--}else if(d==="$"||d==="$?"||d==="$~"||d==="$!"||d==="&")f++;else if(d==="html")oc(s.ownerDocument.documentElement);else if(d==="head"){d=s.ownerDocument.head,oc(d);for(var v=d.firstChild;v;){var S=v.nextSibling,L=v.nodeName;v[Su]||L==="SCRIPT"||L==="STYLE"||L==="LINK"&&v.rel.toLowerCase()==="stylesheet"||d.removeChild(v),v=S}}else d==="body"&&oc(s.ownerDocument.body);d=b}while(d);Io(l)}function $v(s,l){var d=s;s=0;do{var f=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||""),f&&f.nodeType===8)if(d=f.data,d==="/$"){if(s===0)break;s--}else d!=="$"&&d!=="$?"&&d!=="$~"&&d!=="$!"||s++;d=f}while(d)}function T1(s){var l=s.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":T1(d),Nm(d);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(d.rel.toLowerCase()==="stylesheet")continue}s.removeChild(d)}}function WC(s,l,d,f){for(;s.nodeType===1;){var b=d;if(s.nodeName.toLowerCase()!==l.toLowerCase()){if(!f&&(s.nodeName!=="INPUT"||s.type!=="hidden"))break}else if(f){if(!s[Su])switch(l){case"meta":if(!s.hasAttribute("itemprop"))break;return s;case"link":if(v=s.getAttribute("rel"),v==="stylesheet"&&s.hasAttribute("data-precedence"))break;if(v!==b.rel||s.getAttribute("href")!==(b.href==null||b.href===""?null:b.href)||s.getAttribute("crossorigin")!==(b.crossOrigin==null?null:b.crossOrigin)||s.getAttribute("title")!==(b.title==null?null:b.title))break;return s;case"style":if(s.hasAttribute("data-precedence"))break;return s;case"script":if(v=s.getAttribute("src"),(v!==(b.src==null?null:b.src)||s.getAttribute("type")!==(b.type==null?null:b.type)||s.getAttribute("crossorigin")!==(b.crossOrigin==null?null:b.crossOrigin))&&v&&s.hasAttribute("async")&&!s.hasAttribute("itemprop"))break;return s;default:return s}}else if(l==="input"&&s.type==="hidden"){var v=b.name==null?null:""+b.name;if(b.type==="hidden"&&s.getAttribute("name")===v)return s}else return s;if(s=aa(s.nextSibling),s===null)break}return null}function KC(s,l,d){if(l==="")return null;for(;s.nodeType!==3;)if((s.nodeType!==1||s.nodeName!=="INPUT"||s.type!=="hidden")&&!d||(s=aa(s.nextSibling),s===null))return null;return s}function Vv(s,l){for(;s.nodeType!==8;)if((s.nodeType!==1||s.nodeName!=="INPUT"||s.type!=="hidden")&&!l||(s=aa(s.nextSibling),s===null))return null;return s}function _1(s){return s.data==="$?"||s.data==="$~"}function k1(s){return s.data==="$!"||s.data==="$?"&&s.ownerDocument.readyState!=="loading"}function XC(s,l){var d=s.ownerDocument;if(s.data==="$~")s._reactRetry=l;else if(s.data!=="$?"||d.readyState!=="loading")l();else{var f=function(){l(),d.removeEventListener("DOMContentLoaded",f)};d.addEventListener("DOMContentLoaded",f),s._reactRetry=f}}function aa(s){for(;s!=null;s=s.nextSibling){var l=s.nodeType;if(l===1||l===3)break;if(l===8){if(l=s.data,l==="$"||l==="$!"||l==="$?"||l==="$~"||l==="&"||l==="F!"||l==="F")break;
vendor: 10,217 bytes, line 50
50if(l==="/$"||l==="/&")return null}}return s}var S1=null;function Yv(s){s=s.nextSibling;for(var l=0;s;){if(s.nodeType===8){var d=s.data;if(d==="/$"||d==="/&"){if(l===0)return aa(s.nextSibling);l--}else d!=="$"&&d!=="$!"&&d!=="$?"&&d!=="$~"&&d!=="&"||l++}s=s.nextSibling}return null}function Qv(s){s=s.previousSibling;for(var l=0;s;){if(s.nodeType===8){var d=s.data;if(d==="$"||d==="$!"||d==="$?"||d==="$~"||d==="&"){if(l===0)return s;l--}else d!=="/$"&&d!=="/&"||l++}s=s.previousSibling}return null}function Wv(s,l,d){switch(l=Pd(d),s){case"html":if(s=l.documentElement,!s)throw Error(r(452));return s;case"head":if(s=l.head,!s)throw Error(r(453));return s;case"body":if(s=l.body,!s)throw Error(r(454));return s;default:throw Error(r(451))}}function oc(s){for(var l=s.attributes;l.length;)s.removeAttributeNode(l[0]);Nm(s)}var sa=new Map,Kv=new Set;function jd(s){return typeof s.getRootNode=="function"?s.getRootNode():s.nodeType===9?s:s.ownerDocument}var Cs=re.d;re.d={f:ZC,r:JC,D:eO,C:tO,L:nO,m:rO,X:sO,S:aO,M:iO};function ZC(){var s=Cs.f(),l=Nd();return s||l}function JC(s){var l=Zl(s);l!==null&&l.tag===5&&l.type==="form"?f3(l):Cs.r(s)}var Ro=typeof document>"u"?null:document;function Xv(s,l,d){var f=Ro;if(f&&typeof l=="string"&&l){var b=Xr(l);b='link[rel="'+s+'"][href="'+b+'"]',typeof d=="string"&&(b+='[crossorigin="'+d+'"]'),Kv.has(b)||(Kv.add(b),s={rel:s,crossOrigin:d,href:l},f.querySelector(b)===null&&(l=f.createElement("link"),$n(l,"link",s),On(l),f.head.appendChild(l)))}}function eO(s){Cs.D(s),Xv("dns-prefetch",s,null)}function tO(s,l){Cs.C(s,l),Xv("preconnect",s,l)}function nO(s,l,d){Cs.L(s,l,d);var f=Ro;if(f&&s&&l){var b='link[rel="preload"][as="'+Xr(l)+'"]';l==="image"&&d&&d.imageSrcSet?(b+='[imagesrcset="'+Xr(d.imageSrcSet)+'"]',typeof d.imageSizes=="string"&&(b+='[imagesizes="'+Xr(d.imageSizes)+'"]')):b+='[href="'+Xr(s)+'"]';var v=b;switch(l){case"style":v=Do(s);break;case"script":v=Lo(s)}sa.has(v)||(s=m({rel:"preload",href:l==="image"&&d&&d.imageSrcSet?void 0:s,as:l},d),sa.set(v,s),f.querySelector(b)!==null||l==="style"&&f.querySelector(uc(v))||l==="script"&&f.querySelector(cc(v))||(l=f.createElement("link"),$n(l,"link",s),On(l),f.head.appendChild(l)))}}function rO(s,l){Cs.m(s,l);var d=Ro;if(d&&s){var f=l&&typeof l.as=="string"?l.as:"script",b='link[rel="modulepreload"][as="'+Xr(f)+'"][href="'+Xr(s)+'"]',v=b;switch(f){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":v=Lo(s)}if(!sa.has(v)&&(s=m({rel:"modulepreload",href:s},l),sa.set(v,s),d.querySelector(b)===null)){switch(f){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(d.querySelector(cc(v)))return}f=d.createElement("link"),$n(f,"link",s),On(f),d.head.appendChild(f)}}}function aO(s,l,d){Cs.S(s,l,d);var f=Ro;if(f&&s){var b=Jl(f).hoistableStyles,v=Do(s);l=l||"default";var S=b.get(v);if(!S){var L={loading:0,preload:null};if(S=f.querySelector(uc(v)))L.loading=5;else{s=m({rel:"stylesheet",href:s,"data-precedence":l},d),(d=sa.get(v))&&A1(s,d);var K=S=f.createElement("link");On(K),$n(K,"link",s),K._p=new Promise(function(fe,ye){K.onload=fe,K.onerror=ye}),K.addEventListener("load",function(){L.loading|=1}),K.addEventListener("error",function(){L.loading|=2}),L.loading|=4,Hd(S,l,f)}S={type:"stylesheet",instance:S,count:1,state:L},b.set(v,S)}}}function sO(s,l){Cs.X(s,l);var d=Ro;if(d&&s){var f=Jl(d).hoistableScripts,b=Lo(s),v=f.get(b);v||(v=d.querySelector(cc(b)),v||(s=m({src:s,async:!0},l),(l=sa.get(b))&&N1(s,l),v=d.createElement("script"),On(v),$n(v,"link",s),d.head.appendChild(v)),v={type:"script",instance:v,count:1,state:null},f.set(b,v))}}function iO(s,l){Cs.M(s,l);var d=Ro;if(d&&s){var f=Jl(d).hoistableScripts,b=Lo(s),v=f.get(b);v||(v=d.querySelector(cc(b)),v||(s=m({src:s,async:!0,type:"module"},l),(l=sa.get(b))&&N1(s,l),v=d.createElement("script"),On(v),$n(v,"link",s),d.head.appendChild(v)),v={type:"script",instance:v,count:1,state:null},f.set(b,v))}}function Zv(s,l,d,f){var b=(b=De.current)?jd(b):null;if(!b)throw Error(r(446));switch(s){case"meta":case"title":return null;case"style":return typeof d.precedence=="string"&&typeof d.href=="string"?(l=Do(d.href),d=Jl(b).hoistableStyles,f=d.get(l),f||(f={type:"style",instance:null,count:0,state:null},d.set(l,f)),f):{type:"void",instance:null,count:0,state:null};case"link":if(d.rel==="stylesheet"&&typeof d.href=="string"&&typeof d.precedence=="string"){s=Do(d.href);var v=Jl(b).hoistableStyles,S=v.get(s);if(S||(b=b.ownerDocument||b,S={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},v.set(s,S),(v=b.querySelector(uc(s)))&&!v._p&&(S.instance=v,S.state.loading=5),sa.has(s)||(d={rel:"preload",as:"style",href:d.href,crossOrigin:d.crossOrigin,integrity:d.integrity,media:d.media,hrefLang:d.hrefLang,referrerPolicy:d.referrerPolicy},sa.set(s,d),v||lO(b,s,d,S.state))),l&&f===null)throw Error(r(528,""));return S}if(l&&f!==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=Lo(d),d=Jl(b).hoistableScripts,f=d.get(l),f||(f={type:"script",instance:null,count:0,state:null},d.set(l,f)),f):{type:"void",instance:null,count:0,state:null};default:throw Error(r(444,s))}}function Do(s){return'href="'+Xr(s)+'"'}function uc(s){return'link[rel="stylesheet"]['+s+"]"}function Jv(s){return m({},s,{"data-precedence":s.precedence,precedence:null})}function lO(s,l,d,f){s.querySelector('link[rel="preload"][as="style"]['+l+"]")?f.loading=1:(l=s.createElement("link"),f.preload=l,l.addEventListener("load",function(){return f.loading|=1}),l.addEventListener("error",function(){return f.loading|=2}),$n(l,"link",d),On(l),s.head.appendChild(l))}function Lo(s){return'[src="'+Xr(s)+'"]'}function cc(s){return"script[async]"+s}function e5(s,l,d){if(l.count++,l.instance===null)switch(l.type){case"style":var f=s.querySelector('style[data-href~="'+Xr(d.href)+'"]');if(f)return l.instance=f,On(f),f;var b=m({},d,{"data-href":d.href,"data-precedence":d.precedence,href:null,precedence:null});return f=(s.ownerDocument||s).createElement("style"),On(f),$n(f,"style",b),Hd(f,d.precedence,s),l.instance=f;case"stylesheet":b=Do(d.href);var v=s.querySelector(uc(b));if(v)return l.state.loading|=4,l.instance=v,On(v),v;f=Jv(d),(b=sa.get(b))&&A1(f,b),v=(s.ownerDocument||s).createElement("link"),On(v);var S=v;return S._p=new Promise(function(L,K){S.onload=L,S.onerror=K}),$n(v,"link",f),l.state.loading|=4,Hd(v,d.precedence,s),l.instance=v;case"script":return v=Lo(d.src),(b=s.querySelector(cc(v)))?(l.instance=b,On(b),b):(f=d,(b=sa.get(v))&&(f=m({},d),N1(f,b)),s=s.ownerDocument||s,b=s.createElement("script"),On(b),$n(b,"link",f),s.head.appendChild(b),l.instance=b);case"void":return null;default:throw Error(r(443,l.type))}else l.type==="stylesheet"&&(l.state.loading&4)===0&&(f=l.instance,l.state.loading|=4,Hd(f,d.precedence,s));return l.instance}function Hd(s,l,d){for(var f=d.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),b=f.length?f[f.length-1]:null,v=b,S=0;S<f.length;S++){var L=f[S];if(L.dataset.precedence===l)v=L;else if(v!==b)break}v?v.parentNode.insertBefore(s,v.nextSibling):(l=d.nodeType===9?d.head:d,l.insertBefore(s,l.firstChild))}function A1(s,l){s.crossOrigin==null&&(s.crossOrigin=l.crossOrigin),s.referrerPolicy==null&&(s.referrerPolicy=l.referrerPolicy),s.title==null&&(s.title=l.title)}function N1(s,l){s.crossOrigin==null&&(s.crossOrigin=l.crossOrigin),s.referrerPolicy==null&&(s.referrerPolicy=l.referrerPolicy),s.integrity==null&&(s.integrity=l.integrity)}var Bd=null;function t5(s,l,d){if(Bd===null){var f=new Map,b=Bd=new Map;b.set(d,f)}else b=Bd,f=b.get(d),f||(f=new Map,b.set(d,f));if(f.has(s))return f;for(f.set(s,null),d=d.getElementsByTagName(s),b=0;b<d.length;b++){var v=d[b];if(!(v[Su]||v[Un]||s==="link"&&v.getAttribute("rel")==="stylesheet")&&v.namespaceURI!=="http://www.w3.org/2000/svg"){var S=v.getAttribute(l)||"";S=s+S;var L=f.get(S);L?L.push(v):f.set(S,[v])}}return f}function n5(s,l,d){s=s.ownerDocument||s,s.head.insertBefore(d,l==="title"?s.querySelector("head > title"):null)}function oO(s,l,d){if(d===1||l.itemProp!=null)return!1;switch(s){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 s=l.disabled,typeof l.precedence=="string"&&s==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 r5(s){return!(s.type==="stylesheet"&&(s.state.loading&3)===0)}function uO(s,l,d,f){if(d.type==="stylesheet"&&(typeof f.media!="string"||matchMedia(f.media).matches!==!1)&&(d.state.loading&4)===0){if(d.instance===null){var b=Do(f.href),v=l.querySelector(uc(b));if(v){l=v._p,l!==null&&typeof l=="object"&&typeof l.then=="function"&&(s.count++,s=zd.bind(s),l.then(s,s)),d.state.loading|=4,d.instance=v,On(v);return}v=l.ownerDocument||l,f=Jv(f),(b=sa.get(b))&&A1(f,b),v=v.createElement("link"),On(v);var S=v;S._p=new Promise(function(L,K){S.onload=L,S.onerror=K}),$n(v,"link",f),d.instance=v}s.stylesheets===null&&(s.stylesheets=new Map),s.stylesheets.set(d,l),(l=d.state.preload)&&(d.state.loading&3)===0&&(s.count++,d=zd.bind(s),l.addEventListener("load",d),l.addEventListener("error",d))}}var C1=0;function cO(s,l){return s.stylesheets&&s.count===0&&Fd(s,s.stylesheets),0<s.count||0<s.imgCount?function(d){var f=setTimeout(function(){if(s.stylesheets&&Fd(s,s.stylesheets),s.unsuspend){var v=s.unsuspend;s.unsuspend=null,v()}},6e4+l);0<s.imgBytes&&C1===0&&(C1=62500*GC());var b=setTimeout(function(){if(s.waitingForImages=!1,s.count===0&&(s.stylesheets&&Fd(s,s.stylesheets),s.unsuspend)){var v=s.unsuspend;s.unsuspend=null,v()}},(s.imgBytes>C1?50:800)+l);return s.unsuspend=d,function(){s.unsuspend=null,clearTimeout(f),clearTimeout(b)}}:null}function zd(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Fd(this,this.stylesheets);else if(this.unsuspend){var s=this.unsuspend;
vendor: 5,013 bytes, line 50
50this.unsuspend=null,s()}}}var Ud=null;function Fd(s,l){s.stylesheets=null,s.unsuspend!==null&&(s.count++,Ud=new Map,l.forEach(dO,s),Ud=null,zd.call(s))}function dO(s,l){if(!(l.state.loading&4)){var d=Ud.get(s);if(d)var f=d.get(null);else{d=new Map,Ud.set(s,d);for(var b=s.querySelectorAll("link[data-precedence],style[data-precedence]"),v=0;v<b.length;v++){var S=b[v];(S.nodeName==="LINK"||S.getAttribute("media")!=="not all")&&(d.set(S.dataset.precedence,S),f=S)}f&&d.set(null,f)}b=l.instance,S=b.getAttribute("data-precedence"),v=d.get(S)||f,v===f&&d.set(null,b),d.set(S,b),this.count++,f=zd.bind(this),b.addEventListener("load",f),b.addEventListener("error",f),v?v.parentNode.insertBefore(b,v.nextSibling):(s=s.nodeType===9?s.head:s,s.insertBefore(b,s.firstChild)),l.state.loading|=4}}var dc={$$typeof:M,Provider:null,Consumer:null,_currentValue:ne,_currentValue2:ne,_threadCount:0};function hO(s,l,d,f,b,v,S,L,K){this.tag=1,this.containerInfo=s,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=Js(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Js(0),this.hiddenUpdates=Js(null),this.identifierPrefix=f,this.onUncaughtError=b,this.onCaughtError=v,this.onRecoverableError=S,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=K,this.incompleteTransitions=new Map}function a5(s,l,d,f,b,v,S,L,K,fe,ye,we){return s=new hO(s,l,d,S,K,fe,ye,we,L),l=1,v===!0&&(l|=24),v=Dr(3,null,null,l),s.current=v,v.stateNode=s,l=op(),l.refCount++,s.pooledCache=l,l.refCount++,v.memoizedState={element:f,isDehydrated:d,cache:l},hp(v),s}function s5(s){return s?(s=uo,s):uo}function i5(s,l,d,f,b,v){b=s5(b),f.context===null?f.context=b:f.pendingContext=b,f=li(l),f.payload={element:d},v=v===void 0?null:v,v!==null&&(f.callback=v),d=oi(s,f,l),d!==null&&(Er(d,s,l),qu(d,s,l))}function l5(s,l){if(s=s.memoizedState,s!==null&&s.dehydrated!==null){var d=s.retryLane;s.retryLane=d!==0&&d<l?d:l}}function O1(s,l){l5(s,l),(s=s.alternate)&&l5(s,l)}function o5(s){if(s.tag===13||s.tag===31){var l=il(s,67108864);l!==null&&Er(l,s,67108864),O1(s,67108864)}}function u5(s){if(s.tag===13||s.tag===31){var l=jr();l=Wl(l);var d=il(s,l);d!==null&&Er(d,s,l),O1(s,l)}}var qd=!0;function fO(s,l,d,f){var b=$.T;$.T=null;var v=re.p;try{re.p=2,R1(s,l,d,f)}finally{re.p=v,$.T=b}}function mO(s,l,d,f){var b=$.T;$.T=null;var v=re.p;try{re.p=8,R1(s,l,d,f)}finally{re.p=v,$.T=b}}function R1(s,l,d,f){if(qd){var b=D1(f);if(b===null)b1(s,l,f,Gd,d),d5(s,f);else if(gO(b,s,l,d,f))f.stopPropagation();else if(d5(s,f),l&4&&-1<pO.indexOf(s)){for(;b!==null;){var v=Zl(b);if(v!==null)switch(v.tag){case 3:if(v=v.stateNode,v.current.memoizedState.isDehydrated){var S=Pa(v.pendingLanes);if(S!==0){var L=v;for(L.pendingLanes|=2,L.entangledLanes|=2;S;){var K=1<<31-Ct(S);L.entanglements[1]|=K,S&=~K}za(v),(Nt&6)===0&&(Sd=Hn()+500,sc(0))}}break;case 31:case 13:L=il(v,2),L!==null&&Er(L,v,2),Nd(),O1(v,2)}if(v=D1(f),v===null&&b1(s,l,f,Gd,d),v===b)break;b=v}b!==null&&f.stopPropagation()}else b1(s,l,f,null,d)}}function D1(s){return s=Im(s),L1(s)}var Gd=null;function L1(s){if(Gd=null,s=Xl(s),s!==null){var l=i(s);if(l===null)s=null;else{var d=l.tag;if(d===13){if(s=o(l),s!==null)return s;s=null}else if(d===31){if(s=u(l),s!==null)return s;s=null}else if(d===3){if(l.stateNode.current.memoizedState.isDehydrated)return l.tag===3?l.stateNode.containerInfo:null;s=null}else l!==s&&(s=null)}}return Gd=s,null}function c5(s){switch(s){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(ku()){case ve:return 2;case Le:return 8;case We:case it:return 32;case mt:return 268435456;default:return 32}default:return 32}}var I1=!1,yi=null,vi=null,Ei=null,hc=new Map,fc=new Map,wi=[],pO="mou
50sedown 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 d5(s,l){switch(s){case"focusin":case"focusout":yi=null;break;case"dragenter":case"dragleave":vi=null;break;case"mouseover":case"mouseout":Ei=null;break;case"pointerover":case"pointerout":hc.delete(l.pointerId);break;case"gotpointercapture":case"lostpointercapture":fc.delete(l.pointerId)}}function mc(s,l,d,f,b,v){return s===null||s.nativeEvent!==v?(s={blockedOn:l,domEventName:d,eventSystemFlags:f,nativeEvent:v,targetContainers:[b]},l!==null&&(l=Zl(l),l!==null&&o5(l)),s):(s.eventSystemFlags|=f,l=s.targetContainers,b!==null&&l.indexOf(b)===-1&&l.push(b),s)}function gO(s,l,d,f,b){switch(l){case"focusin":return yi=mc(yi,s,l,d,f,b),!0;case"dragenter":return vi=mc(vi,s,l,d,f,b),!0;case"mouseover":return Ei=mc(Ei,s,l,d,f,b),!0;case"pointerover":var v=b.pointerId;return hc.set(v,mc(hc.get(v)||null,s,l,d,f,b)),!0;case"gotpointercapture":return v=b.pointerId,fc.set(v,mc(fc.get(v)||null,s,l,d,f,b)),!0}return!1}function h5(s){var l=Xl(s.target);if(l!==null){var d=i(l);if(d!==null){if(l=d.tag,l===13){if(l=o(d),l!==null){s.blockedOn=l,S4(s.priority,function(){u5(d)});return}}else if(l===31){if(l=u(d),l!==null){s.blockedOn=l,S4(s.priority,function(){u5(d)});return}}else if(l===3&&d.stateNode.current.memoizedState.isDehydrated){s.blockedOn=d.tag===3?d.stateNode.containerInfo:null;return}}}s.blockedOn=null}function $d(s){if(s.blockedOn!==null)return!1;for(var l=s.targetContainers;0<l.length;){var d=D1(s.nativeEvent);if(d===null){d=s.nativeEvent;var f=new d.constructor(d.type,d);Lm=f,d.target.dispatchEvent(f),Lm=null}else return l=Zl(d),l!==null&&o5(l),s.blockedOn=d,!1;l.shift()}return!0}function f5(s,l,d){$d(s)&&d.delete(l)}function bO(){I1=!1,yi!==null&&$d(yi)&&(yi=null),vi!==null&&$d(vi)&&(vi=null),Ei!==null&&$d(Ei)&&(Ei=null),hc.forEach(f5),fc.forEach(f5)}function Vd(s,l){s.blockedOn===l&&(s.blockedOn=null,I1||(I1=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,bO)))}var Yd=null;function m5(s){Yd!==s&&(Yd=s,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){Yd===s&&(Yd=null);for(var l=0;l<s.length;l+=3){var d=s[l],f=s[l+1],b=s[l+2];if(typeof f!="function"){if(L1(f||d)===null)continue;break}var v=Zl(d);v!==null&&(s.splice(l,3),l-=3,Dp(v,{pending:!0,data:b,method:d.method,action:f},f,b))}}))}function Io(s){function l(K){return Vd(K,s)}yi!==null&&Vd(yi,s),vi!==null&&Vd(vi,s),Ei!==null&&Vd(Ei,s),hc.forEach(l),fc.forEach(l);for(var d=0;d<wi.length;d++){var f=wi[d];f.blockedOn===s&&(f.blockedOn=null)}for(;0<wi.length&&(d=wi[0],d.blockedOn===null);)h5(d),d.blockedOn===null&&wi.shift();if(d=(s.ownerDocument||s).$$reactFormReplay,d!=null)for(f=0;f<d.length;f+=3){var b=d[f],v=d[f+1],S=b[pr]||null;if(typeof v=="function")S||m5(d);else if(S){var L=null;if(v&&v.hasAttribute("formAction")){if(b=v,S=v[pr]||null)L=S.formAction;else if(L1(b)!==null)continue}else L=S.action;typeof L=="function"?d[f+1]=L:(d.splice(f,3),f-=3),m5(d)}}}function p5(){function s(v){v.canIntercept&&v.info==="react-transition"&&v.intercept({handler:function(){return new Promise(function(S){return b=S})},focusReset:"manual",scroll:"manual"})}function l(){b!==null&&(b(),b=null),f||setTimeout(d,20)}function d(){if(!f&&!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 f=!1,b=null;return navigation.addEventListener("navigate",s),navigation.addEventListener("navigatesuccess",l),navigation.addEventListener("navigateerror",l),setTimeout(d,100),function(){f=!0,navigation.removeEventListener("navigate",s),navigation.removeEventListener("navigatesuccess",l),navigation.removeEventListener("navigateerror",l),b!==null&&(b(),b=null)}}}function M1(s){this._internalRoot=s}Qd.prototype.render=M1.prototype.render=function(s){var l=this._internalRoot;if(l===null)throw Error(r(409));var d=l.current,f=jr();i5(d,f,s,l,null,null)},Qd.prototype.unmount=M1.prototype.unmount=function(){var s=this._internalRoot;if(s!==null){this._internalRoot=null;var l=s.containerInfo;
50i5(s.current,2,null,s,null,null),Nd(),l[Kl]=null}};function Qd(s){this._internalRoot=s}Qd.prototype.unstable_scheduleHydration=function(s){if(s){var l=Sm();s={blockedOn:null,target:s,priority:l};for(var d=0;d<wi.length&&l!==0&&l<wi[d].priority;d++);wi.splice(d,0,s),d===0&&h5(s)}};var g5=t.version;if(g5!=="19.2.1")throw Error(r(527,g5,"19.2.1"));re.findDOMNode=function(s){var l=s._reactInternals;if(l===void 0)throw typeof s.render=="function"?Error(r(188)):(s=Object.keys(s).join(","),Error(r(268,s)));return s=h(l),s=s!==null?g(s):null,s=s===null?null:s.stateNode,s};var xO={bundleType:0,version:"19.2.1",rendererPackageName:"react-dom",currentDispatcherRef:$,reconcilerVersion:"19.2.1"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Wd=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Wd.isDisabled&&Wd.supportsFiber)try{Bn=Wd.inject(xO),on=Wd}catch{}}return bc.createRoot=function(s,l){if(!a(s))throw Error(r(299));var d=!1,f="",b=T3,v=_3,S=k3;return l!=null&&(l.unstable_strictMode===!0&&(d=!0),l.identifierPrefix!==void 0&&(f=l.identifierPrefix),l.onUncaughtError!==void 0&&(b=l.onUncaughtError),l.onCaughtError!==void 0&&(v=l.onCaughtError),l.onRecoverableError!==void 0&&(S=l.onRecoverableError)),l=a5(s,1,!1,null,null,d,f,null,b,v,S,p5),s[Kl]=l.current,g1(s),new M1(l)},bc.hydrateRoot=function(s,l,d){if(!a(s))throw Error(r(299));var f=!1,b="",v=T3,S=_3,L=k3,K=null;return d!=null&&(d.unstable_strictMode===!0&&(f=!0),d.identifierPrefix!==void 0&&(b=d.identifierPrefix),d.onUncaughtError!==void 0&&(v=d.onUncaughtError),d.onCaughtError!==void 0&&(S=d.onCaughtError),d.onRecoverableError!==void 0&&(L=d.onRecoverableError),d.formState!==void 0&&(K=d.formState)),l=a5(s,1,!0,l,d??null,f,b,K,v,S,L,p5),l.context=s5(null),d=l.current,f=jr(),f=Wl(f),b=li(f),b.callback=null,oi(d,b,f),d=f,l.current.lanes=d,Wt(l,d),za(l),s[Kl]=l.current,g1(s),new Qd(l)},bc.version="19.2.1",bc}var q5;function jD(){if(q5)return F1.exports;q5=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(),F1.exports=PD(),F1.exports}var HD=jD(),BD=(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})(),yw=(function(){function e(t){this.generateIdentifier=t,this.kv=new BD}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})(),zD=(function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,a){r.__proto__=a}||function(r,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(r[i]=a[i])},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)}})(),UD=(function(e){zD(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})(yw),FD=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),a,i=[],o;try{for(;(t===void 0||t-- >0)&&!(a=r.next()).done;)i.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 i};function qD(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 GD(e,t){var n=qD(e);if("find"in n)return n.find(t);for(var r=n,a=0;a<r.length;a++){var i=r[a];if(t(i))return i}}function tu(e,t){Object.entries(e).forEach(function(n){var r=FD(n,2),a=r[0],i=r[1];return t(i,a)})}function Rh(e,t){return e.indexOf(t)!==-1}function G5(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(t(r))return r}}var $D=(function(){function e(){this.transfomers={}}return e.prototype.register=function(t){this.transfomers[t.name]=t},e.prototype.findApplicable=function(t){return GD(this.transfomers,function(n){return n.isApplicable(t)})},e.prototype.findByName=function(t){return this.transfomers[t]},e})(),VD=function(e){return Object.prototype.toString.call(e).slice(8,-1)},vw=function(e){return typeof e>"u"},YD=function(e){return e===null},Jc=function(e){return typeof e!="object"||e===null||e===Object.prototype?!1:Object.getPrototypeOf(e)===null?!0:Object.getPrototypeOf(e)===Object.prototype},lb=function(e){return Jc(e)&&Object.keys(e).length===0},Bi=function(e){return Array.isArray(e)},QD=function(e){return typeof e=="string"},WD=function(e){return typeof e=="number"&&!isNaN(e)},KD=function(e){return typeof e=="boolean"},XD=function(e){return e instanceof RegExp},e0=function(e){return e instanceof Map},t0=function(e){return e instanceof Set},Ew=function(e){return VD(e)==="Symbol"},ZD=function(e){return e instanceof Date&&!isNaN(e.valueOf())},JD=function(e){return e instanceof Error},$5=function(e){return typeof e=="number"&&isNaN(e)},eL=function(e){return KD(e)||YD(e)||vw(e)||WD(e)||QD(e)||Ew(e)},tL=function(e){return typeof e=="bigint"},nL=function(e){return e===1/0||e===-1/0},rL=function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)},aL=function(e){return e instanceof URL},ww=function(e){return e.replace(/\./g,"\\.")},V1=function(e){return e.map(String).map(ww).join(".")},Ic=function(e){for(var t=[],n="",r=0;r<e.length;r++){var a=e.charAt(r),i=a==="\\"&&e.charAt(r+1)===".";if(i){n+=".",r++;continue}var o=a===".";if(o){t.push(n),n="";continue}n+=a}var u=n;return t.push(u),t},ob=function(){return ob=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},ob.apply(this,arguments)},ub=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),a,i=[],o;try{for(;(t===void 0||t-- >0)&&!(a=r.next()).done;)i.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 i},cb=function(e,t){for(var n=0,r=t.length,a=e.length;n<r;n++,a++)e[a]=t[n];return e};function Ua(e,t,n,r){return{isApplicable:e,annotation:t,transform:n,untransform:r}}var Tw=[Ua(vw,"undefined",function(){return null},function(){}),Ua(tL,"bigint",function(e){return e.toString()},function(e){return typeof BigInt<"u"?BigInt(e):(console.error("Please add a BigInt polyfill."),e)}),Ua(ZD,"Date",function(e){return e.toISOString()},function(e){return new Date(e)}),Ua(JD,"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}),Ua(XD,"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),Ua(t0,"set",function(e){return cb([],ub(e.values()))},function(e){return new Set(e)}),Ua(e0,"map",function(e){return cb([],ub(e.entries()))},function(e){return new Map(e)}),Ua(function(e){return $5(e)||nL(e)},"number",function(e){return $5(e)?"NaN":e>0?"Infinity":"-Infinity"},Number),Ua(function(e){return e===0&&1/e===-1/0},"number",function(){return"-0"},Number),Ua(aL,"URL",function(e){return e.toString()},function(e){return new URL(e)})];function Hf(e,t,n,r){return{isApplicable:e,annotation:t,transform:n,untransform:r}}var _w=Hf(function(e,t){if(Ew(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}),sL=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce(function(e,t){return e[t.name]=t,e},{}),kw=Hf(rL,function(e){return["typed-array",e.constructor.name]},function(e){return cb([],ub(e))},function(e,t){var n=sL[t[1]];if(!n)throw new Error("Trying to deserialize unknown typed array");return new n(e)});function Sw(e,t){if(e?.constructor){var n=!!t.classRegistry.getIdentifier(e.constructor);return n}return!1}var Aw=Hf(Sw,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 ob({},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)}),Nw=Hf(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)}),iL=[Aw,_w,Nw,kw],V5=function(e,t){var n=G5(iL,function(a){return a.isApplicable(e,t)});if(n)return{value:n.transform(e,t),type:n.annotation(e,t)};var r=G5(Tw,function(a){return a.isApplicable(e,t)});if(r)return{value:r.transform(e,t),type:r.annotation}},Cw={};Tw.forEach(function(e){Cw[e.annotation]=e});var lL=function(e,t,n){if(Bi(t))switch(t[0]){case"symbol":return _w.untransform(e,t,n);case"class":return Aw.untransform(e,t,n);case"custom":return Nw.untransform(e,t,n);case"typed-array":return kw.untransform(e,t,n);default:throw new Error("Unknown transformation: "+t)}else{var r=Cw[t];if(!r)throw new Error("Unknown transformation: "+t);return r.untransform(e,n)}},$o=function(e,t){for(var n=e.keys();t>0;)n.next(),t--;return n.next().value};function Ow(e){if(Rh(e,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(Rh(e,"prototype"))throw new Error("prototype is not allowed as a property");if(Rh(e,"constructor"))throw new Error("constructor is not allowed as a property")}var oL=function(e,t){Ow(t);for(var n=0;n<t.length;n++){var r=t[n];if(t0(e))e=$o(e,+r);else if(e0(e)){var a=+r,i=+t[++n]==0?"key":"value",o=$o(e,a);switch(i){case"key":e=o;break;case"value":e=e.get(o);break}}else e=e[r]}return e},db=function(e,t,n){if(Ow(t),t.length===0)return n(e);for(var r=e,a=0;a<t.length-1;a++){var i=t[a];if(Bi(r)){var o=+i;r=r[o]}else if(Jc(r))r=r[i];else if(t0(r)){var u=+i;r=$o(r,u)}else if(e0(r)){var c=a===t.length-2;if(c)break;var u=+i,h=+t[++a]==0?"key":"value",g=$o(r,u);switch(h){case"key":r=g;break;case"value":r=r.get(g);break}}}var m=t[t.length-1];if(Bi(r)?r[+m]=n(r[+m]):Jc(r)&&(r[m]=n(r[m])),t0(r)){var x=$o(r,+m),y=n(x);x!==y&&(r.delete(x),r.add(y))}if(e0(r)){var u=+t[t.length-2],E=$o(r,u),h=+m==0?"key":"value";switch(h){case"key":{var _=n(E);r.set(_,r.get(E)),_!==E&&r.delete(E);break}case"value":{r.set(E,n(r.get(E)));break}}}return e},Ms=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),a,i=[],o;try{for(;(t===void 0||t-- >0)&&!(a=r.next()).done;)i.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 i},Li=function(e,t){for(var n=0,r=t.length,a=e.length;n<r;n++,a++)e[a]=t[n];return e};function hb(e,t,n){if(n===void 0&&(n=[]),!!e){if(!Bi(e)){tu(e,function(o,u){return hb(o,t,Li(Li([],Ms(n)),Ms(Ic(u))))});return}var r=Ms(e,2),a=r[0],i=r[1];i&&tu(i,function(o,u){hb(o,t,Li(Li([],Ms(n)),Ms(Ic(u))))}),t(a,n)}}
50function uL(e,t,n){return hb(t,function(r,a){e=db(e,a,function(i){return lL(i,r,n)})}),e}function cL(e,t){function n(o,u){var c=oL(e,Ic(u));o.map(Ic).forEach(function(h){e=db(e,h,function(){return c})})}if(Bi(t)){var r=Ms(t,2),a=r[0],i=r[1];a.forEach(function(o){e=db(e,Ic(o),function(){return e})}),i&&tu(i,n)}else tu(t,n);return e}var dL=function(e,t){return Jc(e)||Bi(e)||e0(e)||t0(e)||Sw(e,t)};function hL(e,t,n){var r=n.get(e);r?r.push(t):n.set(e,[t])}function fL(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,h){return c.length-h.length}));var i=Ms(a),o=i[0],u=i.slice(1);o.length===0?r=u.map(V1):n[V1(o)]=u.map(V1)}}),r?lb(n)?[r]:[r,n]:lb(n)?void 0:n}var Rw=function(e,t,n,r,a,i,o){var u;a===void 0&&(a=[]),i===void 0&&(i=[]),o===void 0&&(o=new Map);var c=eL(e);if(!c){hL(e,a,t);var h=o.get(e);if(h)return r?{transformedValue:null}:h}if(!dL(e,n)){var g=V5(e,n),m=g?{transformedValue:g.value,annotations:[g.type]}:{transformedValue:e};return c||o.set(e,m),m}if(Rh(i,e))return{transformedValue:null};var x=V5(e,n),y=(u=x?.value)!==null&&u!==void 0?u:e,E=Bi(y)?[]:{},_={};tu(y,function(A,C){var M=Rw(A,t,n,r,Li(Li([],Ms(a)),[C]),Li(Li([],Ms(i)),[e]),o);E[C]=M.transformedValue,Bi(M.annotations)?_[C]=M.annotations:Jc(M.annotations)&&tu(M.annotations,function(X,G){_[ww(C)+"."+G]=X})});var N=lb(_)?{transformedValue:E,annotations:x?[x.type]:void 0}:{transformedValue:E,annotations:x?[x.type,_]:_};return c||o.set(e,N),N};function Dw(e){return Object.prototype.toString.call(e).slice(8,-1)}function Y5(e){return Dw(e)==="Array"}function mL(e){if(Dw(e)!=="Object")return!1;const t=Object.getPrototypeOf(e);return!!t&&t.constructor===Object&&t===Object.prototype}function pL(e,t,n,r,a){const i={}.propertyIsEnumerable.call(r,t)?"enumerable":"nonenumerable";i==="enumerable"&&(e[t]=n),a&&i==="nonenumerable"&&Object.defineProperty(e,t,{value:n,enumerable:!1,writable:!0,configurable:!0})}function fb(e,t={}){if(Y5(e))return e.map(a=>fb(a,t));if(!mL(e))return e;const n=Object.getOwnPropertyNames(e),r=Object.getOwnPropertySymbols(e);return[...n,...r].reduce((a,i)=>{if(Y5(t.props)&&!t.props.includes(i))return a;const o=e[i],u=fb(o,t);return pL(a,i,u,e,t.nonenumerable),a},{})}var kl=function(){return kl=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},kl.apply(this,arguments)},gL=function(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),a,i=[],o;try{for(;(t===void 0||t-- >0)&&!(a=r.next()).done;)i.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 i},bL=function(e,t){for(var n=0,r=t.length,a=e.length;n<r;n++,a++)e[a]=t[n];return e},Qs=(function(){function e(t){var n=t===void 0?{}:t,r=n.dedupe,a=r===void 0?!1:r;this.classRegistry=new UD,this.symbolRegistry=new yw(function(i){var o;return(o=i.description)!==null&&o!==void 0?o:""}),this.customTransformerRegistry=new $D,this.allowedErrorProps=[],this.dedupe=a}return e.prototype.serialize=function(t){var n=new Map,r=Rw(t,n,this,this.dedupe),a={json:r.transformedValue};r.annotations&&(a.meta=kl(kl({},a.meta),{values:r.annotations}));var i=fL(n,this.dedupe);return i&&(a.meta=kl(kl({},a.meta),{referentialEqualities:i})),a},e.prototype.deserialize=function(t){var n=t.json,r=t.meta,a=fb(n);return r?.values&&(a=uL(a,r.values,this)),r?.referentialEqualities&&(a=cL(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(kl({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,bL([],gL(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})();Qs.serialize;Qs.deserialize;Qs.stringify;Qs.parse;Qs.registerClass;Qs.registerCustom;Qs.registerSymbol;Qs.allowErrorProps;var xL=(e,t,n,r,a,i,o,u)=>{let c=document.documentElement,h=["light","dark"];
vendor: 7,464 bytes, line 50
50function g(y){(Array.isArray(e)?e:[e]).forEach(E=>{let _=E==="class",N=_&&i?a.map(A=>i[A]||A):a;_?(c.classList.remove(...N),c.classList.add(i&&i[y]?i[y]:y)):c.setAttribute(E,y)}),m(y)}function m(y){u&&h.includes(y)&&(c.style.colorScheme=y)}function x(){return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}if(r)g(r);else try{let y=localStorage.getItem(t)||n,E=o&&y==="system"?x():y;g(E)}catch{}},yL=R.createContext(void 0),vL={setTheme:e=>{},themes:[]},EL=()=>{var e;return(e=R.useContext(yL))!=null?e:vL};R.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:a,defaultTheme:i,value:o,themes:u,nonce:c,scriptProps:h})=>{let g=JSON.stringify([n,t,i,e,u,o,r,a]).slice(1,-1);return R.createElement("script",{...h,suppressHydrationWarning:!0,nonce:typeof window>"u"?c:"",dangerouslySetInnerHTML:{__html:`(${xL.toString()})(${g})`}})});var D2=xw();const wL=Of(D2);function TL(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 _L=e=>{switch(e){case"success":return AL;case"info":return CL;case"warning":return NL;case"error":return OL;default:return null}},kL=Array(12).fill(0),SL=({visible:e,className:t})=>ke.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},ke.createElement("div",{className:"sonner-spinner"},kL.map((n,r)=>ke.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),AL=ke.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},ke.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"})),NL=ke.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},ke.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"})),CL=ke.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},ke.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"})),OL=ke.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},ke.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"})),RL=ke.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"},ke.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),ke.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),DL=()=>{const[e,t]=ke.useState(document.hidden);return ke.useEffect(()=>{const n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e};let mb=1;class LL{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,i=typeof t?.id=="number"||((n=t.id)==null?void 0:n.length)>0?t.id:mb++,o=this.toasts.find(c=>c.id===i),u=t.dismissible===void 0?!0:t.dismissible;return this.dismissedToasts.has(i)&&this.dismissedToasts.delete(i),o?this.toasts=this.toasts.map(c=>c.id===i?(this.publish({...c,...t,id:i,title:r}),{...c,...t,id:i,dismissible:u,title:r}):c):this.addToast({title:r,...a,dismissible:u,id:i}),i},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 i=r!==void 0,o;const u=a.then(async h=>{if(o=["resolve",h],ke.isValidElement(h))i=!1,this.create({id:r,type:"default",message:h});else if(ML(h)&&!h.ok){i=!1;const m=typeof n.error=="function"?await n.error(`HTTP error! status: ${h.status}`):n.error,x=typeof n.description=="function"?await n.description(`HTTP error! status: ${h.status}`):n.description,E=typeof m=="object"&&!ke.isValidElement(m)?m:{message:m};this.create({id:r,type:"error",description:x,...E})}else if(h instanceof Error){i=!1;const m=typeof n.error=="function"?await n.error(h):n.error,x=typeof n.description=="function"?await n.description(h):n.description,E=typeof m=="object"&&!ke.isValidElement(m)?m:{message:m};this.create({id:r,type:"error",description:x,...E})}else if(n.success!==void 0){i=!1;const m=typeof n.success=="function"?await n.success(h):n.success,x=typeof n.description=="function"?await n.description(h):n.description,E=typeof m=="object"&&!ke.isValidElement(m)?m:{message:m};this.create({id:r,type:"success",description:x,...E})}}).catch(async h=>{if(o=["reject",h],n.error!==void 0){i=!1;const g=typeof n.error=="function"?await n.error(h):n.error,m=typeof n.description=="function"?await n.description(h):n.description,y=typeof g=="object"&&!ke.isValidElement(g)?g:{message:g};this.create({id:r,type:"error",description:m,...y})}}).finally(()=>{i&&(this.dismiss(r),r=void 0),n.finally==null||n.finally.call(n)}),c=()=>new Promise((h,g)=>u.then(()=>o[0]==="reject"?g(o[1]):h(o[1])).catch(g));return typeof r!="string"&&typeof r!="number"?{unwrap:c}:Object.assign(r,{unwrap:c})},this.custom=(t,n)=>{const r=n?.id||mb++;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 kr=new LL,IL=(e,t)=>{const n=t?.id||mb++;return kr.addToast({title:e,...t,id:n}),n},ML=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",PL=IL,jL=()=>kr.toasts,HL=()=>kr.getActiveToasts(),nn=Object.assign(PL,{success:kr.success,info:kr.info,warning:kr.warning,error:kr.error,custom:kr.custom,message:kr.message,promise:kr.promise,dismiss:kr.dismiss,loading:kr.loading},{getHistory:jL,getToasts:HL});TL
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: 1,346 bytes, line 50
50eh(e){return e.label!==void 0}const BL=3,zL="24px",UL="16px",Q5=4e3,FL=356,qL=14,GL=45,$L=200;function Fa(...e){return e.filter(Boolean).join(" ")}function VL(e){const[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}const YL=e=>{var t,n,r,a,i,o,u,c,h;const{invert:g,toast:m,unstyled:x,interacting:y,setHeights:E,visibleToasts:_,heights:N,index:A,toasts:C,expanded:M,removeToast:X,defaultRichColors:G,closeButton:P,style:B,cancelButtonStyle:Z,actionButtonStyle:V,className:U="",descriptionClassName:ae="",duration:te,position:he,gap:le,expandByDefault:me,classNames:$,icons:re,closeButtonAriaLabel:ne="Close toast"}=e,[oe,j]=ke.useState(null),[F,ie]=ke.useState(null),[D,ge]=ke.useState(!1),[Te,De]=ke.useState(!1),[Me,ze]=ke.useState(!1),[Xe,He]=ke.useState(!1),[Dt,sn]=ke.useState(!1),[Or,Pn]=ke.useState(0),[ba,Qr]=ke.useState(0),dr=ke.useRef(m.duration||te||Q5),Wr=ke.useRef(null),ln=ke.useRef(null),Zs=A===0,Ji=A+1<=_,jn=m.type,La=m.dismissible!==!1,Hn=m.className||"",ku=m.descriptionClassName||"",ve=ke.useMemo(()=>N.findIndex(Je=>Je.toastId===m.id)||0,[N,m.id]),Le=ke.useMemo(()=>{var Je;return(Je=m.closeButton)!=null?Je:P},[m.closeButton,P]),We=ke.useMemo(()=>m.duration||te||Q5,[m.duration,te]),it=ke.useRef(0),mt=ke.useRef(0),Yn=ke.useRef(0),Qn=ke.useRef(null),[Bn,on]=he.split("-"),zn=ke.useMemo(()=>N.reduce((Je,$t,Cn)=>Cn>
vendor: 20,025 bytes, line 50
50=ve?Je:Je+$t.height,0),[N,ve]),Ct=DL(),Ia=m.invert||g,rr=jn==="loading";mt.current=ke.useMemo(()=>ve*le+zn,[ve,zn]),ke.useEffect(()=>{dr.current=We},[We]),ke.useEffect(()=>{ge(!0)},[]),ke.useEffect(()=>{const Je=ln.current;if(Je){const $t=Je.getBoundingClientRect().height;return Qr($t),E(Cn=>[{toastId:m.id,height:$t,position:m.position},...Cn]),()=>E(Cn=>Cn.filter(Wn=>Wn.toastId!==m.id))}},[E,m.id]),ke.useLayoutEffect(()=>{if(!D)return;const Je=ln.current,$t=Je.style.height;Je.style.height="auto";const Cn=Je.getBoundingClientRect().height;Je.style.height=$t,Qr(Cn),E(Wn=>Wn.find(Wt=>Wt.toastId===m.id)?Wn.map(Wt=>Wt.toastId===m.id?{...Wt,height:Cn}:Wt):[{toastId:m.id,height:Cn,position:m.position},...Wn])},[D,m.title,m.description,E,m.id,m.jsx,m.action,m.cancel]);const Ma=ke.useCallback(()=>{De(!0),Pn(mt.current),E(Je=>Je.filter($t=>$t.toastId!==m.id)),setTimeout(()=>{X(m)},$L)},[m,X,E,mt]);ke.useEffect(()=>{if(m.promise&&jn==="loading"||m.duration===1/0||m.type==="loading")return;let Je;return M||y||Ct?(()=>{if(Yn.current<it.current){const Wn=new Date().getTime()-it.current;dr.current=dr.current-Wn}Yn.current=new Date().getTime()})():(()=>{dr.current!==1/0&&(it.current=new Date().getTime(),Je=setTimeout(()=>{m.onAutoClose==null||m.onAutoClose.call(m,m),Ma()},dr.current))})(),()=>clearTimeout(Je)},[M,y,m,jn,Ct,Ma]),ke.useEffect(()=>{m.delete&&(Ma(),m.onDismiss==null||m.onDismiss.call(m,m))},[Ma,m.delete]);function Yl(){var Je;if(re?.loading){var $t;return ke.createElement("div",{className:Fa($?.loader,m==null||($t=m.classNames)==null?void 0:$t.loader,"sonner-loader"),"data-visible":jn==="loading"},re.loading)}return ke.createElement(SL,{className:Fa($?.loader,m==null||(Je=m.classNames)==null?void 0:Je.loader),visible:jn==="loading"})}const Ql=m.icon||re?.[jn]||_L(jn);var el,Pa;return ke.createElement("li",{tabIndex:0,ref:ln,className:Fa(U,Hn,$?.toast,m==null||(t=m.classNames)==null?void 0:t.toast,$?.default,$?.[jn],m==null||(n=m.classNames)==null?void 0:n[jn]),"data-sonner-toast":"","data-rich-colors":(el=m.richColors)!=null?el:G,"data-styled":!(m.jsx||m.unstyled||x),"data-mounted":D,"data-promise":!!m.promise,"data-swiped":Dt,"data-removed":Te,"data-visible":Ji,"data-y-position":Bn,"data-x-position":on,"data-index":A,"data-front":Zs,"data-swiping":Me,"data-dismissible":La,"data-type":jn,"data-invert":Ia,"data-swipe-out":Xe,"data-swipe-direction":F,"data-expanded":!!(M||me&&D),"data-testid":m.testId,style:{"--index":A,"--toasts-before":A,"--z-index":C.length-A,"--offset":`${Te?Or:mt.current}px`,"--initial-height":me?"auto":`${ba}px`,...B,...m.style},onDragEnd:()=>{ze(!1),j(null),Qn.current=null},onPointerDown:Je=>{Je.button!==2&&(rr||!La||(Wr.current=new Date,Pn(mt.current),Je.target.setPointerCapture(Je.pointerId),Je.target.tagName!=="BUTTON"&&(ze(!0),Qn.current={x:Je.clientX,y:Je.clientY})))},onPointerUp:()=>{var Je,$t,Cn;if(Xe||!La)return;Qn.current=null;const Wn=Number(((Je=ln.current)==null?void 0:Je.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Js=Number((($t=ln.current)==null?void 0:$t.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Wt=new Date().getTime()-((Cn=Wr.current)==null?void 0:Cn.getTime()),hr=oe==="x"?Wn:Js,tl=Math.abs(hr)/Wt;if(Math.abs(hr)>=GL||tl>.11){Pn(mt.current),m.onDismiss==null||m.onDismiss.call(m,m),ie(oe==="x"?Wn>0?"right":"left":Js>0?"down":"up"),Ma(),He(!0);return}else{var fr,mr;(fr=ln.current)==null||fr.style.setProperty("--swipe-amount-x","0px"),(mr=ln.current)==null||mr.style.setProperty("--swipe-amount-y","0px")}sn(!1),ze(!1),j(null)},onPointerMove:Je=>{var $t,Cn,Wn;if(!Qn.current||!La||(($t=window.getSelection())==null?void 0:$t.toString().length)>0)return;const Wt=Je.clientY-Qn.current.y,hr=Je.clientX-Qn.current.x;var tl;const fr=(tl=e.swipeDirections)!=null?tl:VL(he);!oe&&(Math.abs(hr)>1||Math.abs(Wt)>1)&&j(Math.abs(hr)>Math.abs(Wt)?"x":"y");let mr={x:0,y:0};const Wl=xa=>1/(1.5+Math.abs(xa)/20);if(oe==="y"){if(fr.includes("top")||fr.includes("bottom"))if(fr.includes("top")&&Wt<0||fr.includes("bottom")&&Wt>0)mr.y=Wt;else{const xa=Wt*Wl(Wt);mr.y=Math.abs(xa)<Math.abs(Wt)?xa:Wt}}else if(oe==="x"&&(fr.includes("left")||fr.includes("right")))if(fr.includes("left")&&hr<0||fr.includes("right")&&hr>0)mr.x=hr;else{const xa=hr*Wl(hr);mr.x=Math.abs(xa)<Math.abs(hr)?xa:hr}(Math.abs(mr.x)>0||Math.abs(mr.y)>0)&&sn(!0),(Cn=ln.current)==null||Cn.style.setProperty("--swipe-amount-x",`${mr.x}px`),(Wn=ln.current)==null||Wn.style.setProperty("--swipe-amount-y",`${mr.y}px`)}},Le&&!m.jsx&&jn!=="loading"?ke.createElement("button",{"aria-label":ne,"data-disabled":rr,"data-close-button":!0,onClick:rr||!La?()=>{}:()=>{Ma(),m.onDismiss==null||m.onDismiss.call(m,m)},className:Fa($?.closeButton,m==null||(r=m.classNames)==null?void 0:r.closeButton)},(Pa=re?.close)!=null?Pa:RL):null,(jn||m.icon||m.promise)&&m.icon!==null&&(re?.[jn]!==null||m.icon)?ke.createElement("div",{"data-icon":"",className:Fa($?.icon,m==null||(a=m.classNames)==null?void 0:a.icon)},m.promise||m.type==="loading"&&!m.icon?m.icon||Yl():null,m.type!=="loading"?Ql:null):null,ke.createElement("div",{"data-content":"",className:Fa($?.content,m==null||(i=m.classNames)==null?void 0:i.content)},ke.createElement("div",{"data-title":"",className:Fa($?.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?ke.createElement("div",{"data-description":"",className:Fa(ae,ku,$?.description,m==null||(u=m.classNames)==null?void 0:u.description)},typeof m.description=="function"?m.description():m.description):null),ke.isValidElement(m.cancel)?m.cancel:m.cancel&&eh(m.cancel)?ke.createElement("button",{"data-button":!0,"data-cancel":!0,style:m.cancelButtonStyle||Z,onClick:Je=>{eh(m.cancel)&&La&&(m.cancel.onClick==null||m.cancel.onClick.call(m.cancel,Je),Ma())},className:Fa($?.cancelButton,m==null||(c=m.classNames)==null?void 0:c.cancelButton)},m.cancel.label):null,ke.isValidElement(m.action)?m.action:m.action&&eh(m.action)?ke.createElement("button",{"data-button":!0,"data-action":!0,style:m.actionButtonStyle||V,onClick:Je=>{eh(m.action)&&(m.action.onClick==null||m.action.onClick.call(m.action,Je),!Je.defaultPrevented&&Ma())},className:Fa($?.actionButton,m==null||(h=m.classNames)==null?void 0:h.actionButton)},m.action.label):null)};function W5(){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 QL(e,t){const n={};return[e,t].forEach((r,a)=>{const i=a===1,o=i?"--mobile-offset":"--offset",u=i?UL:zL;function c(h){["top","right","bottom","left"].forEach(g=>{n[`${o}-${g}`]=typeof h=="number"?`${h}px`:h})}typeof r=="number"||typeof r=="string"?c(r):typeof r=="object"?["top","right","bottom","left"].forEach(h=>{r[h]===void 0?n[`${o}-${h}`]=u:n[`${o}-${h}`]=typeof r[h]=="number"?`${r[h]}px`:r[h]}):c(u)}),n}const WL=ke.forwardRef(function(t,n){const{id:r,invert:a,position:i="bottom-right",hotkey:o=["altKey","KeyT"],expand:u,closeButton:c,className:h,offset:g,mobileOffset:m,theme:x="light",richColors:y,duration:E,style:_,visibleToasts:N=BL,toastOptions:A,dir:C=W5(),gap:M=qL,icons:X,containerAriaLabel:G="Notifications"}=t,[P,B]=ke.useState([]),Z=ke.useMemo(()=>r?P.filter(D=>D.toasterId===r):P.filter(D=>!D.toasterId),[P,r]),V=ke.useMemo(()=>Array.from(new Set([i].concat(Z.filter(D=>D.position).map(D=>D.position)))),[Z,i]),[U,ae]=ke.useState([]),[te,he]=ke.useState(!1),[le,me]=ke.useState(!1),[$,re]=ke.useState(x!=="system"?x:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),ne=ke.useRef(null),oe=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),j=ke.useRef(null),F=ke.useRef(!1),ie=ke.useCallback(D=>{B(ge=>{var Te;return(Te=ge.find(De=>De.id===D.id))!=null&&Te.delete||kr.dismiss(D.id),ge.filter(({id:De})=>De!==D.id)})},[]);return ke.useEffect(()=>kr.subscribe(D=>{if(D.dismiss){requestAnimationFrame(()=>{B(ge=>ge.map(Te=>Te.id===D.id?{...Te,delete:!0}:Te))});return}setTimeout(()=>{wL.flushSync(()=>{B(ge=>{const Te=ge.findIndex(De=>De.id===D.id);return Te!==-1?[...ge.slice(0,Te),{...ge[Te],...D},...ge.slice(Te+1)]:[D,...ge]})})})}),[P]),ke.useEffect(()=>{if(x!=="system"){re(x);return}if(x==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?re("dark"):re("light")),typeof window>"u")return;const D=window.matchMedia("(prefers-color-scheme: dark)");try{D.addEventListener("change",({matches:ge})=>{re(ge?"dark":"light")})}catch{D.addListener(({matches:Te})=>{try{re(Te?"dark":"light")}catch(De){console.error(De)}})}},[x]),ke.useEffect(()=>{P.length<=1&&he(!1)},[P]),ke.useEffect(()=>{const D=ge=>{var Te;if(o.every(ze=>ge[ze]||ge.code===ze)){var Me;he(!0),(Me=ne.current)==null||Me.focus()}ge.code==="Escape"&&(document.activeElement===ne.current||(Te=ne.current)!=null&&Te.contains(document.activeElement))&&he(!1)};return document.addEventListener("keydown",D),()=>document.removeEventListener("keydown",D)},[o]),ke.useEffect(()=>{if(ne.current)return()=>{j.current&&(j.current.focus({preventScroll:!0}),j.current=null,F.current=!1)}},[ne.current]),ke.createElement("section",{ref:n,"aria-label":`${G} ${oe}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},V.map((D,ge)=>{var Te;const[De,Me]=D.split("-");return Z.length?ke.createElement("ol",{key:D,dir:C==="auto"?W5():C,tabIndex:-1,ref:ne,className:h,"data-sonner-toaster":!0,"data-sonner-theme":$,"data-y-position":De,"data-x-position":Me,style:{"--front-toast-height":`${((Te=U[0])==null?void 0:Te.height)||0}px`,"--width":`${FL}px`,"--gap":`${M}px`,..._,...QL(g,m)},onBlur:ze=>{F.current&&!ze.currentTarget.contains(ze.relatedTarget)&&(F.current=!1,j.current&&(j.current.focus({preventScroll:!0}),j.current=null))},onFocus:ze=>{ze.target instanceof HTMLElement&&ze.target.dataset.dismissible==="false"||F.current||(F.current=!0,j.current=ze.relatedTarget)},onMouseEnter:()=>he(!0),onMouseMove:()=>he(!0),onMouseLeave:()=>{le||he(!1)},onDragEnd:()=>he(!1),onPointerDown:ze=>{ze.target instanceof HTMLElement&&ze.target.dataset.dismissible==="false"||me(!0)},onPointerUp:()=>me(!1)},Z.filter(ze=>!ze.position&&ge===0||ze.position===D).map((ze,Xe)=>{var He,Dt;return ke.createElement(YL,{key:ze.id,icons:X,index:Xe,toast:ze,defaultRichColors:y,duration:(He=A?.duration)!=null?He:E,className:A?.className,descriptionClassName:A?.descriptionClassName,invert:a,visibleToasts:N,closeButton:(Dt=A?.closeButton)!=null?Dt:c,interacting:le,position:D,style:A?.style,unstyled:A?.unstyled,classNames:A?.classNames,cancelButtonStyle:A?.cancelButtonStyle,actionButtonStyle:A?.actionButtonStyle,closeButtonAriaLabel:A?.closeButtonAriaLabel,removeToast:ie,toasts:Z.filter(sn=>sn.position==ze.position),heights:U.filter(sn=>sn.position==ze.position),setHeights:ae,expandByDefault:u,gap:M,expanded:te,swipeDirections:t.swipeDirections})})):null}))}),KL=({...e})=>{const{theme:t="system"}=EL();return p.jsx(WL,{"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 Ta(e,t,{checkForDefaultPrevented:n=!0}={}){return function(a){if(e?.(a),n===!1||!a.defaultPrevented)return t?.(a)}}function K5(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Lw(...e){return t=>{let n=!1;const r=e.map(a=>{const i=K5(a,t);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let a=0;a<r.length;a++){const i=r[a];typeof i=="function"?i():K5(e[a],null)}}}}function Aa(...e){return R.useCallback(Lw(...e),e)}function v0(e,t=[]){let n=[];function r(i,o){const u=R.createContext(o),c=n.length;n=[...n,o];const h=m=>{const{scope:x,children:y,...E}=m,_=x?.[e]?.[c]||u,N=R.useMemo(()=>E,Object.values(E));return p.jsx(_.Provider,{value:N,children:y})};h.displayName=i+"Provider";function g(m,x){const y=x?.[e]?.[c]||u,E=R.useContext(y);if(E)return E;if(o!==void 0)return o;throw new Error(`\`${m}\` must be used within \`${i}\``)}return[h,g]}const a=()=>{const i=n.map(o=>R.createContext(o));return function(u){const c=u?.[e]||i;return R.useMemo(()=>({[`__scope${e}`]:{...u,[e]:c}}),[u,c])}};return a.scopeName=e,[r,XL(a,...t)]}function XL(...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(i){const o=r.reduce((u,{useScope:c,scopeName:h})=>{const m=c(i)[`__scope${h}`];return{...u,...m}},{});return R.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}function Yh(e){const t=JL(e),n=R.forwardRef((r,a)=>{const{children:i,...o}=r,u=R.Children.toArray(i),c=u.find(tI);if(c){const h=c.props.children,g=u.map(m=>m===c?R.Children.count(h)>1?R.Children.only(null):R.isValidElement(h)?h.props.children:null:m);return p.jsx(t,{...o,ref:a,children:R.isValidElement(h)?R.cloneElement(h,void 0,g):null})}return p.jsx(t,{...o,ref:a,children:i})});return n.displayName=`${e}.Slot`,n}var ZL=Yh("Slot");function JL(e){const t=R.forwardRef((n,r)=>{const{children:a,...i}=n;if(R.isValidElement(a)){const o=rI(a),u=nI(i,a.props);return a.type!==R.Fragment&&(u.ref=r?Lw(r,o):o),R.cloneElement(a,u)}return R.Children.count(a)>1?R.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Iw=Symbol("radix.slottable");function eI(e){const t=({children:n})=>p.jsx(p.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=Iw,t}function tI(e){return R.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Iw}function nI(e,t){const n={...t};for(const r in t){const a=e[r],i=t[r];/^on[A-Z]/.test(r)?a&&i?n[r]=(...u)=>{const c=i(...u);return a(...u),c}:a&&(n[r]=a):r==="style"?n[r]={...a,...i}:r==="className"&&(n[r]=[a,i].filter(Boolean).join(" "))}return{...e,...n}}function rI(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 aI=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],pa=aI.reduce((e,t)=>{const n=Yh(`Primitive.${t}`),r=R.forwardRef((a,i)=>{const{asChild:o,...u}=a,c=o?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),p.jsx(c,{...u,ref:i})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function sI(e,t){e&&D2.flushSync(()=>e.dispatchEvent(t))}function Bf(e){const t=R.useRef(e);return R.useEffect(()=>{t.current=e}),R.useMemo(()=>(...n)=>t.current?.(...n),[])}function iI(e,t=globalThis?.document){const n=Bf(e);R.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 lI="DismissableLayer",pb="dismissableLayer.update",oI="dismissableLayer.pointerDownOutside",uI="dismissableLayer.focusOutside",X5,Mw=R.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Pw=R.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:a,onFocusOutside:i,onInteractOutside:o,onDismiss:u,...c}=e,h=R.useContext(Mw),[g,m]=R.useState(null),x=g?.ownerDocument??globalThis?.document,[,y]=R.useState({}),E=Aa(t,B=>m(B)),_=Array.from(h.layers),[N]=[...h.layersWithOutsidePointerEventsDisabled].slice(-1),A=_.indexOf(N),C=g?_.indexOf(g):-1,M=h.layersWithOutsidePointerEventsDisabled.size>0,X=C>=A,G=hI(B=>{const Z=B.target,V=[...h.branches].some(U=>U.contains(Z));!X||V||(a?.(B),o?.(B),B.defaultPrevented||u?.())},x),P=fI(B=>{const Z=B.target;[...h.branches].some(U=>U.contains(Z))||(i?.(B),o?.(B),B.defaultPrevented||u?.())},x);return iI(B=>{C===h.layers.size-1&&(r?.(B),!B.defaultPrevented&&u&&(B.preventDefault(),u()))},x),R.useEffect(()=>{if(g)return n&&(h.layersWithOutsidePointerEventsDisabled.size===0&&(X5=x.body.style.pointerEvents,x.body.style.pointerEvents="none"),h.layersWithOutsidePointerEventsDisabled.add(g)),h.layers.add(g),Z5(),()=>{n&&h.layersWithOutsidePointerEventsDisabled.size===1&&(x.body.style.pointerEvents=X5)}},[g,x,n,h]),R.useEffect(()=>()=>{g&&(h.layers.delete(g),h.layersWithOutsidePointerEventsDisabled.delete(g),Z5())},[g,h]),R.useEffect(()=>{const B=()=>y({});return document.addEventListener(pb,B),()=>document.removeEventListener(pb,B)},[]),p.jsx(pa.div,{...c,ref:E,style:{pointerEvents:M?X?"auto":"none":void 0,...e.style},onFocusCapture:Ta(e.onFocusCapture,P.onFocusCapture),onBlurCapture:Ta(e.onBlurCapture,P.onBlurCapture),onPointerDownCapture:Ta(e.onPointerDownCapture,G.onPointerDownCapture)})});Pw.displayName=lI;var cI="DismissableLayerBranch",dI=R.forwardRef((e,t)=>{const n=R.useContext(Mw),r=R.useRef(null),a=Aa(t,r);return R.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),p.jsx(pa.div,{...e,ref:a})});dI.displayName=cI;function hI(e,t=globalThis?.document){const n=Bf(e),r=R.useRef(!1),a=R.useRef(()=>{});return R.useEffect(()=>{const i=u=>{if(u.target&&!r.current){let c=function(){jw(oI,n,h,{discrete:!0})};const h={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",i)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",i),t.removeEventListener("click",a.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function fI(e,t=globalThis?.document){const n=Bf(e),r=R.useRef(!1);return R.useEffect(()=>{const a=i=>{i.target&&!r.current&&jw(uI,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",a),()=>t.removeEventListener("focusin",a)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Z5(){const e=new CustomEvent(pb);document.dispatchEvent(e)}function jw(e,t,n,{discrete:r}){const a=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&a.addEventListener(e,t,{once:!0}),r?sI(a,i):a.dispatchEvent(i)}var zi=globalThis?.document?R.useLayoutEffect:()=>{},mI=Df[" useId ".trim().toString()]||(()=>{}),pI=0;function Hw(e){const[t,n]=R.useState(mI());return zi(()=>{n(r=>r??String(pI++))},[e]),t?`radix-${t}`:""}const gI=["top","right","bottom","left"],Ui=Math.min,Ur=Math.max,Qh=Math.round,th=Math.floor,rs=e=>({x:e,y:e}),bI={left:"right",right:"left",bottom:"top",top:"bottom"},xI={start:"end",end:"start"};function gb(e,t,n){return Ur(e,Ui(t,n))}function qs(e,t){return typeof e=="function"?e(t):e}function Gs(e){return e.split("-")[0]}function uu(e){return e.split("-")[1]}function L2(e){return e==="x"?"y":"x"}function I2(e){return e==="y"?"height":"width"}const yI=new Set(["top","bottom"]);function Ja(e){return yI.has(Gs(e))?"y":"x"}function M2(e){return L2(Ja(e))}function vI(e,t,n){n===void 0&&(n=!1);const r=uu(e),a=M2(e),i=I2(a);let o=a==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(o=Wh(o)),[o,Wh(o)]}function EI(e){const t=Wh(e);return[bb(e),t,bb(t)]}function bb(e){return e.replace(/start|end/g,t=>xI[t])}const J5=["left","right"],e6=["right","left"],wI=["top","bottom"],TI=["bottom","top"];function _I(e,t,n){switch(e){case"top":case"bottom":return n?t?e6:J5:t?J5:e6;case"left":case"right":return t?wI:TI;default:return[]}}function kI(e,t,n,r){const a=uu(e);let i=_I(Gs(e),n==="start",r);return a&&(i=i.map(o=>o+"-"+a),t&&(i=i.concat(i.map(bb)))),i}function Wh(e){return e.replace(/left|right|bottom|top/g,t=>bI[t])}function SI(e){return{top:0,right:0,bottom:0,left:0,...e}}function Bw(e){return typeof e!="number"?SI(e):{top:e,right:e,bottom:e,left:e}}function Kh(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}}
vendor: 17,403 bytes, line 50
50function t6(e,t,n){let{reference:r,floating:a}=e;const i=Ja(t),o=M2(t),u=I2(o),c=Gs(t),h=i==="y",g=r.x+r.width/2-a.width/2,m=r.y+r.height/2-a.height/2,x=r[u]/2-a[u]/2;let y;switch(c){case"top":y={x:g,y:r.y-a.height};break;case"bottom":y={x:g,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(uu(t)){case"start":y[o]-=x*(n&&h?-1:1);break;case"end":y[o]+=x*(n&&h?-1:1);break}return y}const AI=async(e,t,n)=>{const{placement:r="bottom",strategy:a="absolute",middleware:i=[],platform:o}=n,u=i.filter(Boolean),c=await(o.isRTL==null?void 0:o.isRTL(t));let h=await o.getElementRects({reference:e,floating:t,strategy:a}),{x:g,y:m}=t6(h,r,c),x=r,y={},E=0;for(let _=0;_<u.length;_++){const{name:N,fn:A}=u[_],{x:C,y:M,data:X,reset:G}=await A({x:g,y:m,initialPlacement:r,placement:x,strategy:a,middlewareData:y,rects:h,platform:o,elements:{reference:e,floating:t}});g=C??g,m=M??m,y={...y,[N]:{...y[N],...X}},G&&E<=50&&(E++,typeof G=="object"&&(G.placement&&(x=G.placement),G.rects&&(h=G.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:a}):G.rects),{x:g,y:m}=t6(h,x,c)),_=-1)}return{x:g,y:m,placement:x,strategy:a,middlewareData:y}};async function n0(e,t){var n;t===void 0&&(t={});const{x:r,y:a,platform:i,rects:o,elements:u,strategy:c}=e,{boundary:h="clippingAncestors",rootBoundary:g="viewport",elementContext:m="floating",altBoundary:x=!1,padding:y=0}=qs(t,e),E=Bw(y),N=u[x?m==="floating"?"reference":"floating":m],A=Kh(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(N)))==null||n?N:N.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(u.floating)),boundary:h,rootBoundary:g,strategy:c})),C=m==="floating"?{x:r,y:a,width:o.floating.width,height:o.floating.height}:o.reference,M=await(i.getOffsetParent==null?void 0:i.getOffsetParent(u.floating)),X=await(i.isElement==null?void 0:i.isElement(M))?await(i.getScale==null?void 0:i.getScale(M))||{x:1,y:1}:{x:1,y:1},G=Kh(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:u,rect:C,offsetParent:M,strategy:c}):C);return{top:(A.top-G.top+E.top)/X.y,bottom:(G.bottom-A.bottom+E.bottom)/X.y,left:(A.left-G.left+E.left)/X.x,right:(G.right-A.right+E.right)/X.x}}const NI=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:a,rects:i,platform:o,elements:u,middlewareData:c}=t,{element:h,padding:g=0}=qs(e,t)||{};if(h==null)return{};const m=Bw(g),x={x:n,y:r},y=M2(a),E=I2(y),_=await o.getDimensions(h),N=y==="y",A=N?"top":"left",C=N?"bottom":"right",M=N?"clientHeight":"clientWidth",X=i.reference[E]+i.reference[y]-x[y]-i.floating[E],G=x[y]-i.reference[y],P=await(o.getOffsetParent==null?void 0:o.getOffsetParent(h));let B=P?P[M]:0;(!B||!await(o.isElement==null?void 0:o.isElement(P)))&&(B=u.floating[M]||i.floating[E]);const Z=X/2-G/2,V=B/2-_[E]/2-1,U=Ui(m[A],V),ae=Ui(m[C],V),te=U,he=B-_[E]-ae,le=B/2-_[E]/2+Z,me=gb(te,le,he),$=!c.arrow&&uu(a)!=null&&le!==me&&i.reference[E]/2-(le<te?U:ae)-_[E]/2<0,re=$?le<te?le-te:le-he:0;return{[y]:x[y]+re,data:{[y]:me,centerOffset:le-me-re,...$&&{alignmentOffset:re}},reset:$}}}),CI=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:a,middlewareData:i,rects:o,initialPlacement:u,platform:c,elements:h}=t,{mainAxis:g=!0,crossAxis:m=!0,fallbackPlacements:x,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:E="none",flipAlignment:_=!0,...N}=qs(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const A=Gs(a),C=Ja(u),M=Gs(u)===u,X=await(c.isRTL==null?void 0:c.isRTL(h.floating)),G=x||(M||!_?[Wh(u)]:EI(u)),P=E!=="none";!x&&P&&G.push(...kI(u,_,E,X));const B=[u,...G],Z=await n0(t,N),V=[];let U=((r=i.flip)==null?void 0:r.overflows)||[];if(g&&V.push(Z[A]),m){const le=vI(a,o,X);V.push(Z[le[0]],Z[le[1]])}if(U=[...U,{placement:a,overflows:V}],!V.every(le=>le<=0)){var ae,te;const le=(((ae=i.flip)==null?void 0:ae.index)||0)+1,me=B[le];if(me&&(!(m==="alignment"?C!==Ja(me):!1)||U.every(ne=>Ja(ne.placement)===C?ne.overflows[0]>0:!0)))return{data:{index:le,overflows:U},reset:{placement:me}};let $=(te=U.filter(re=>re.overflows[0]<=0).sort((re,ne)=>re.overflows[1]-ne.overflows[1])[0])==null?void 0:te.placement;if(!$)switch(y){case"bestFit":{var he;const re=(he=U.filter(ne=>{if(P){const oe=Ja(ne.placement);return oe===C||oe==="y"}return!0}).map(ne=>[ne.placement,ne.overflows.filter(oe=>oe>0).reduce((oe,j)=>oe+j,0)]).sort((ne,oe)=>ne[1]-oe[1])[0])==null?void 0:he[0];re&&($=re);break}case"initialPlacement":$=u;break}if(a!==$)return{reset:{placement:$}}}return{}}}};function n6(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function r6(e){return gI.some(t=>e[t]>=0)}const OI=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...a}=qs(e,t);switch(r){case"referenceHidden":{const i=await n0(t,{...a,elementContext:"reference"}),o=n6(i,n.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:r6(o)}}}case"escaped":{const i=await n0(t,{...a,altBoundary:!0}),o=n6(i,n.floating);return{data:{escapedOffsets:o,escaped:r6(o)}}}default:return{}}}}},zw=new Set(["left","top"]);async function RI(e,t){const{placement:n,platform:r,elements:a}=e,i=await(r.isRTL==null?void 0:r.isRTL(a.floating)),o=Gs(n),u=uu(n),c=Ja(n)==="y",h=zw.has(o)?-1:1,g=i&&c?-1:1,m=qs(t,e);let{mainAxis:x,crossAxis:y,alignmentAxis:E}=typeof m=="number"?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:m.mainAxis||0,crossAxis:m.crossAxis||0,alignmentAxis:m.alignmentAxis};return u&&typeof E=="number"&&(y=u==="end"?E*-1:E),c?{x:y*g,y:x*h}:{x:x*h,y:y*g}}const DI=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:a,y:i,placement:o,middlewareData:u}=t,c=await RI(t,e);return o===((n=u.offset)==null?void 0:n.placement)&&(r=u.arrow)!=null&&r.alignmentOffset?{}:{x:a+c.x,y:i+c.y,data:{...c,placement:o}}}}},LI=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:a}=t,{mainAxis:i=!0,crossAxis:o=!1,limiter:u={fn:N=>{let{x:A,y:C}=N;return{x:A,y:C}}},...c}=qs(e,t),h={x:n,y:r},g=await n0(t,c),m=Ja(Gs(a)),x=L2(m);let y=h[x],E=h[m];if(i){const N=x==="y"?"top":"left",A=x==="y"?"bottom":"right",C=y+g[N],M=y-g[A];y=gb(C,y,M)}if(o){const N=m==="y"?"top":"left",A=m==="y"?"bottom":"right",C=E+g[N],M=E-g[A];E=gb(C,E,M)}const _=u.fn({...t,[x]:y,[m]:E});return{..._,data:{x:_.x-n,y:_.y-r,enabled:{[x]:i,[m]:o}}}}}},II=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:a,rects:i,middlewareData:o}=t,{offset:u=0,mainAxis:c=!0,crossAxis:h=!0}=qs(e,t),g={x:n,y:r},m=Ja(a),x=L2(m);let y=g[x],E=g[m];const _=qs(u,t),N=typeof _=="number"?{mainAxis:_,crossAxis:0}:{mainAxis:0,crossAxis:0,..._};if(c){const M=x==="y"?"height":"width",X=i.reference[x]-i.floating[M]+N.mainAxis,G=i.reference[x]+i.reference[M]-N.mainAxis;y<X?y=X:y>G&&(y=G)}if(h){var A,C;const M=x==="y"?"width":"height",X=zw.has(Gs(a)),G=i.reference[m]-i.floating[M]+(X&&((A=o.offset)==null?void 0:A[m])||0)+(X?0:N.crossAxis),P=i.reference[m]+i.reference[M]+(X?0:((C=o.offset)==null?void 0:C[m])||0)-(X?N.crossAxis:0);E<G?E=G:E>P&&(E=P)}return{[x]:y,[m]:E}}}},MI=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:a,rects:i,platform:o,elements:u}=t,{apply:c=()=>{},...h}=qs(e,t),g=await n0(t,h),m=Gs(a),x=uu(a),y=Ja(a)==="y",{width:E,height:_}=i.floating;let N,A;m==="top"||m==="bottom"?(N=m,A=x===(await(o.isRTL==null?void 0:o.isRTL(u.floating))?"start":"end")?"left":"right"):(A=m,N=x==="end"?"top":"bottom");const C=_-g.top-g.bottom,M=E-g.left-g.right,X=Ui(_-g[N],C),G=Ui(E-g[A],M),P=!t.middlewareData.shift;let B=X,Z=G;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(Z=M),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(B=C),P&&!x){const U=Ur(g.left,0),ae=Ur(g.right,0),te=Ur(g.top,0),he=Ur(g.bottom,0);y?Z=E-2*(U!==0||ae!==0?U+ae:Ur(g.left,g.right)):B=_-2*(te!==0||he!==0?te+he:Ur(g.top,g.bottom))}await c({...t,availableWidth:Z,availableHeight:B});const V=await o.getDimensions(u.floating);return E!==V.width||_!==V.height?{reset:{rects:!0}}:{}}}};function zf(){return typeof window<"u"}function cu(e){return Uw(e)?(e.nodeName||"").toLowerCase():"#document"}function Gr(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function is(e){var t;return(t=(Uw(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Uw(e){return zf()?e instanceof Node||e instanceof Gr(e).Node:!1}function Na(e){return zf()?e instanceof Element||e instanceof Gr(e).Element:!1}function as(e){return zf()?e instanceof HTMLElement||e instanceof Gr(e).HTMLElement:!1}function a6(e){return!zf()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Gr(e).ShadowRoot}const PI=new Set(["inline","contents"]);function E0(e){const{overflow:t,overflowX:n,overflowY:r,display:a}=Ca(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!PI.has(a)}const jI=new Set(["table","td","th"]);function HI(e){return jI.has(cu(e))}const BI=[":popover-open",":modal"];function Uf(e){return BI.some(t=>{try{return e.matches(t)}catch{return!1}})}const zI=["transform","translate","scale","rotate","perspective"],UI=["transform","translate","scale","rotate","perspective","filter"],FI=["paint","layout","strict","content"];function P2(e){const t=j2(),n=Na(e)?Ca(e):e;return zI.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)||UI.some(r=>(n.willChange||"").includes(r))||FI.some(r=>(n.contain||"").includes(r))}function qI(e){let t=Fi(e);for(;as(t)&&!nu(t);){if(P2(t))return t;if(Uf(t))return null;t=Fi(t)}return null}function j2(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const GI=new Set(["html","body","#document"]);function nu(e){return GI.has(cu(e))}function Ca(e){return Gr(e).getComputedStyle(e)}function Ff(e){return Na(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Fi(e){if(cu(e)==="html")return e;const t=e.assignedSlot||e.parentNode||a6(e)&&e.host||is(e);return a6(t)?t.host:t}function Fw(e){const t=Fi(e);return nu(t)?e.ownerDocument?e.ownerDocument.body:e.body:as(t)&&E0(t)?t:Fw(t)}function r0(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const a=Fw(e),i=a===((r=e.ownerDocument)==null?void 0:r.body),o=Gr(a);if(i){const u=xb(o);return t.concat(o,o.visualViewport||[],E0(a)?a:[],u&&n?r0(u):[])}return t.concat(a,r0(a,[],n))}function xb(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function qw(e){const t=Ca(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const a=as(e),i=a?e.offsetWidth:n,o=a?e.offsetHeight:r,u=Qh(n)!==i||Qh(r)!==o;return u&&(n=i,r=o),{width:n,height:r,$:u}}function H2(e){return Na(e)?e:e.contextElement}function Qo(e){const t=H2(e);if(!as(t))return rs(1);const n=t.getBoundingClientRect(),{width:r,height:a,$:i}=qw(t);let o=(i?Qh(n.width):n.width)/r,u=(i?Qh(n.height):n.height)/a;return(!o||!Number.isFinite(o))&&(o=1),(!u||!Number.isFinite(u))&&(u=1),{x:o,y:u}}const $I=rs(0);function Gw(e){const t=Gr(e);return!j2()||!t.visualViewport?$I:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function VI(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Gr(e)?!1:t}function Dl(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const a=e.getBoundingClientRect(),i=H2(e);let o=rs(1);t&&(r?Na(r)&&(o=Qo(r)):o=Qo(e));const u=VI(i,n,r)?Gw(i):rs(0);let c=(a.left+u.x)/o.x,h=(a.top+u.y)/o.y,g=a.width/o.x,m=a.height/o.y;if(i){const x=Gr(i),y=r&&Na(r)?Gr(r):r;let E=x,_=xb(E);for(;_&&r&&y!==E;){const N=Qo(_),A=_.getBoundingClientRect(),C=Ca(_),M=A.left+(_.clientLeft+parseFloat(C.paddingLeft))*N.x,X=A.top+(_.clientTop+parseFloat(C.paddingTop))*N.y;c*=N.x,h*=N.y,g*=N.x,m*=N.y,c+=M,h+=X,E=Gr(_),_=xb(E)}}return Kh({width:g,height:m,x:c,y:h})}function qf(e,t){const n=Ff(e).scrollLeft;return t?t.left+n:Dl(is(e)).left+n}function $w(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-qf(e,n),a=n.top+t.scrollTop;return{x:r,y:a}}function YI(e){let{elements:t,rect:n,offsetParent:r,strategy:a}=e;const i=a==="fixed",o=is(r),u=t?Uf(t.floating):!1;if(r===o||u&&i)return n;let c={scrollLeft:0,scrollTop:0},h=rs(1);const g=rs(0),m=as(r);if((m||!m&&!i)&&((cu(r)!=="body"||E0(o))&&(c=Ff(r)),as(r))){const y=Dl(r);h=Qo(r),g.x=y.x+r.clientLeft,g.y=y.y+r.clientTop}const x=o&&!m&&!i?$w(o,c):rs(0);return{width:n.width*h.x,height:n.height*h.y,x:n.x*h.x-c.scrollLeft*h.x+g.x+x.x,y:n.y*h.y-c.scrollTop*h.y+g.y+x.y}}function QI(e){return Array.from(e.getClientRects())}function WI(e){const t=is(e),n=Ff(e),r=e.ownerDocument.body,a=Ur(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=Ur(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let o=-n.scrollLeft+qf(e);const u=-n.scrollTop;return Ca(r).direction==="rtl"&&(o+=Ur(t.clientWidth,r.clientWidth)-a),{width:a,height:i,x:o,y:u}}const s6=25;function KI(e,t){const n=Gr(e),r=is(e),a=n.visualViewport;let i=r.clientWidth,o=r.clientHeight,u=0,c=0;if(a){i=a.width,o=a.height;const g=j2();(!g||g&&t==="fixed")&&(u=a.offsetLeft,c=a.offsetTop)}const h=qf(r);if(h<=0){const g=r.ownerDocument,m=g.body,x=getComputedStyle(m),y=g.compatMode==="CSS1Compat"&&parseFloat(x.marginLeft)+parseFloat(x.marginRight)||0,E=Math.abs(r.clientWidth-m.clientWidth-y);E<=s6&&(i-=E)}else h<=s6&&(i+=h);return{width:i,height:o,x:u,y:c}}const XI=new Set(["absolute","fixed"]);function ZI(e,t){const n=Dl(e,!0,t==="fixed"),r=n.top+e.clientTop,a=n.left+e.clientLeft,i=as(e)?Qo(e):rs(1),o=e.clientWidth*i.x,u=e.clientHeight*i.y,c=a*i.x,h=r*i.y;return{width:o,height:u,x:c,y:h}}function i6(e,t,n){let r;if(t==="viewport")r=KI(e,n);else if(t==="document")r=WI(is(e));else if(Na(t))r=ZI(t,n);else{const a=Gw(e);r={x:t.x-a.x,y:t.y-a.y,width:t.width,height:t.height}}return Kh(r)}function Vw(e,t){const n=Fi(e);return n===t||!Na(n)||nu(n)?!1:Ca(n).position==="fixed"||Vw(n,t)}function JI(e,t){const n=t.get(e);if(n)return n;let r=r0(e,[],!1).filter(u=>Na(u)&&cu(u)!=="body"),a=null;const i=Ca(e).position==="fixed";let o=i?Fi(e):e;for(;Na(o)&&!nu(o);){const u=Ca(o),c=P2(o);!c&&u.position==="fixed"&&(a=null),(i?!c&&!a:!c&&u.position==="static"&&!!a&&XI.has(a.position)||E0(o)&&!c&&Vw(e,o))?r=r.filter(g=>g!==o):a=u,o=Fi(o)}return t.set(e,r),r}function eM(e){let{element:t,boundary:n,rootBoundary:r,strategy:a}=e;const o=[...n==="clippingAncestors"?Uf(t)?[]:JI(t,this._c):[].concat(n),r],u=o[0],c=o.reduce((h,g)=>{const m=i6(t,g,a);return h.top=Ur(m.top,h.top),h.right=Ui(m.right,h.right),h.bottom=Ui(m.bottom,h.bottom),h.left=Ur(m.left,h.left),h},i6(t,u,a));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function tM(e){const{width:t,height:n}=qw(e);return{width:t,height:n}}function nM(e,t,n){const r=as(t),a=is(t),i=n==="fixed",o=Dl(e,!0,i,t);let u={scrollLeft:0,scrollTop:0};const c=rs(0);function h(){c.x=qf(a)}if(r||!r&&!i)if((cu(t)!=="body"||E0(a))&&(u=Ff(t)),r){const y=Dl(t,!0,i,t);c.x=y.x+t.clientLeft,c.y=y.y+t.clientTop}else a&&h();i&&!r&&a&&h();const g=a&&!r&&!i?$w(a,u):rs(0),m=o.left+u.scrollLeft-c.x-g.x,x=o.top+u.scrollTop-c.y-g.y;return{x:m,y:x,width:o.width,height:o.height}}function Y1(e){return Ca(e).position==="static"}function l6(e,t){if(!as(e)||Ca(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return is(e)===n&&(n=n.ownerDocument.body),n}function Yw(e,t){const n=Gr(e);if(Uf(e))return n;if(!as(e)){let a=Fi(e);for(;a&&!nu(a);){if(Na(a)&&!Y1(a))return a;a=Fi(a)}return n}let r=l6(e,t);for(;r&&HI(r)&&Y1(r);)r=l6(r,t);return r&&nu(r)&&Y1(r)&&!P2(r)?n:r||qI(e)||n}const rM=async function(e){const t=this.getOffsetParent||Yw,n=this.getDimensions,r=await n(e.floating);return{reference:nM(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function aM(e){return Ca(e).direction==="rtl"}const sM={convertOffsetParentRelativeRectToViewportRelativeRect:YI,getDocumentElement:is,getClippingRect:eM,getOffsetParent:Yw,getElementRects:rM,getClientRects:QI,getDimensions:tM,getScale:Qo,isElement:Na,isRTL:aM};function Qw(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function iM(e,t){let n=null,r;const a=is(e);function i(){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),i();const h=e.getBoundingClientRect(),{left:g,top:m,width:x,height:y}=h;if(u||t(),!x||!y)return;const E=th(m),_=th(a.clientWidth-(g+x)),N=th(a.clientHeight-(m+y)),A=th(g),M={rootMargin:-E+"px "+-_+"px "+-N+"px "+-A+"px",threshold:Ur(0,Ui(1,c))||1};let X=!0;function G(P){const B=P[0].intersectionRatio;if(B!==c){if(!X)return o();B?o(!1,B):r=setTimeout(()=>{o(!1,1e-7)},1e3)}B===1&&!Qw(h,e.getBoundingClientRect())&&o(),X=!1}try{n=new IntersectionObserver(G,{...M,root:a.ownerDocument})}catch{n=new IntersectionObserver(G,M)}n.observe(e)}return o(!0),i}function lM(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:a=!0,ancestorResize:i=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:u=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,h=H2(e),g=a||i?[...h?r0(h):[],...r0(t)]:[];g.forEach(A=>{a&&A.addEventListener("scroll",n,{passive:!0}),i&&A.addEventListener("resize",n)});
vendor: 4,544 bytes, line 50
50const m=h&&u?iM(h,n):null;let x=-1,y=null;o&&(y=new ResizeObserver(A=>{let[C]=A;C&&C.target===h&&y&&(y.unobserve(t),cancelAnimationFrame(x),x=requestAnimationFrame(()=>{var M;(M=y)==null||M.observe(t)})),n()}),h&&!c&&y.observe(h),y.observe(t));let E,_=c?Dl(e):null;c&&N();function N(){const A=Dl(e);_&&!Qw(_,A)&&n(),_=A,E=requestAnimationFrame(N)}return n(),()=>{var A;g.forEach(C=>{a&&C.removeEventListener("scroll",n),i&&C.removeEventListener("resize",n)}),m?.(),(A=y)==null||A.disconnect(),y=null,c&&cancelAnimationFrame(E)}}const oM=DI,uM=LI,cM=CI,dM=MI,hM=OI,o6=NI,fM=II,mM=(e,t,n)=>{const r=new Map,a={platform:sM,...n},i={...a.platform,_c:r};return AI(e,t,{...a,platform:i})};var pM=typeof document<"u",gM=function(){},Dh=pM?R.useLayoutEffect:gM;function Xh(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(!Xh(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 i=a[r];if(!(i==="_owner"&&e.$$typeof)&&!Xh(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function Ww(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function u6(e,t){const n=Ww(e);return Math.round(t*n)/n}function Q1(e){const t=R.useRef(e);return Dh(()=>{t.current=e}),t}function bM(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:a,elements:{reference:i,floating:o}={},transform:u=!0,whileElementsMounted:c,open:h}=e,[g,m]=R.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[x,y]=R.useState(r);Xh(x,r)||y(r);const[E,_]=R.useState(null),[N,A]=R.useState(null),C=R.useCallback(ne=>{ne!==P.current&&(P.current=ne,_(ne))},[]),M=R.useCallback(ne=>{ne!==B.current&&(B.current=ne,A(ne))},[]),X=i||E,G=o||N,P=R.useRef(null),B=R.useRef(null),Z=R.useRef(g),V=c!=null,U=Q1(c),ae=Q1(a),te=Q1(h),he=R.useCallback(()=>{if(!P.current||!B.current)return;const ne={placement:t,strategy:n,middleware:x};ae.current&&(ne.platform=ae.current),mM(P.current,B.current,ne).then(oe=>{const j={...oe,isPositioned:te.current!==!1};le.current&&!Xh(Z.current,j)&&(Z.current=j,D2.flushSync(()=>{m(j)}))})},[x,t,n,ae,te]);Dh(()=>{h===!1&&Z.current.isPositioned&&(Z.current.isPositioned=!1,m(ne=>({...ne,isPositioned:!1})))},[h]);const le=R.useRef(!1);Dh(()=>(le.current=!0,()=>{le.current=!1}),[]),Dh(()=>{if(X&&(P.current=X),G&&(B.current=G),X&&G){if(U.current)return U.current(X,G,he);he()}},[X,G,he,U,V]);const me=R.useMemo(()=>({reference:P,floating:B,setReference:C,setFloating:M}),[C,M]),$=R.useMemo(()=>({reference:X,floating:G}),[X,G]),re=R.useMemo(()=>{const ne={position:n,left:0,top:0};if(!$.floating)return ne;const oe=u6($.floating,g.x),j=u6($.floating,g.y);return u?{...ne,transform:"translate("+oe+"px, "+j+"px)",...Ww($.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:oe,top:j}},[n,u,$.floating,g.x,g.y]);return R.useMemo(()=>({...g,update:he,refs:me,elements:$,floatingStyles:re}),[g,he,me,$,re])}const xM=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?o6({element:r.current,padding:a}).fn(n):{}:r?o6({element:r,padding:a}).fn(n):{}}}},yM=(e,t)=>({...oM(e),options:[e,t]}),vM=(e,t)=>({...uM(e),options:[e,t]}),EM=(e,t)=>({...fM(e),options:[e,t]}),wM=(e,t)=>({...cM(e),options:[e,t]}),TM=(e,t)=>({...dM(e),options:[e,t]}),_M=(e,t)=>({...hM(e),options:[e,t]}),kM=(e,t)=>({...xM(e),options:[e,t]});var SM="Arrow",Kw=R.forwardRef((e,t)=>{const{children:n,width:r=10,height:a=5,...i}=e;return p.jsx(pa.svg,{...i,ref:t,width:r,height:a,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:p.jsx("polygon",{points:"0,0 30,0 15,10"})})});Kw.displayName=SM;var AM=Kw;function NM(e){const[t,n]=R.useState(void 0);return zi(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(a=>{if(!Array.isArray(a)||!a.length)return;const i=a[0];let o,u;if("borderBoxSize"in i){const c=i.borderBoxSize,h=Array.isArray(c)?c[0]:c;o=h.inlineSize,u=h.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 Xw="Popper",[Zw,Jw]=v0(Xw),[are,eT]=Zw(Xw),tT="PopperAnchor",nT=R.forwardRef((e,t)=>
vendor: 4,619 bytes, line 50
50{const{__scopePopper:n,virtualRef:r,...a}=e,i=eT(tT,n),o=R.useRef(null),u=Aa(t,o),c=R.useRef(null);return R.useEffect(()=>{const h=c.current;c.current=r?.current||o.current,h!==c.current&&i.onAnchorChange(c.current)}),r?null:p.jsx(pa.div,{...a,ref:u})});nT.displayName=tT;var B2="PopperContent",[CM,OM]=Zw(B2),rT=R.forwardRef((e,t)=>{const{__scopePopper:n,side:r="bottom",sideOffset:a=0,align:i="center",alignOffset:o=0,arrowPadding:u=0,avoidCollisions:c=!0,collisionBoundary:h=[],collisionPadding:g=0,sticky:m="partial",hideWhenDetached:x=!1,updatePositionStrategy:y="optimized",onPlaced:E,..._}=e,N=eT(B2,n),[A,C]=R.useState(null),M=Aa(t,Me=>C(Me)),[X,G]=R.useState(null),P=NM(X),B=P?.width??0,Z=P?.height??0,V=r+(i!=="center"?"-"+i:""),U=typeof g=="number"?g:{top:0,right:0,bottom:0,left:0,...g},ae=Array.isArray(h)?h:[h],te=ae.length>0,he={padding:U,boundary:ae.filter(DM),altBoundary:te},{refs:le,floatingStyles:me,placement:$,isPositioned:re,middlewareData:ne}=bM({strategy:"fixed",placement:V,whileElementsMounted:(...Me)=>lM(...Me,{animationFrame:y==="always"}),elements:{reference:N.anchor},middleware:[yM({mainAxis:a+Z,alignmentAxis:o}),c&&vM({mainAxis:!0,crossAxis:!1,limiter:m==="partial"?EM():void 0,...he}),c&&wM({...he}),TM({...he,apply:({elements:Me,rects:ze,availableWidth:Xe,availableHeight:He})=>{const{width:Dt,height:sn}=ze.reference,Or=Me.floating.style;Or.setProperty("--radix-popper-available-width",`${Xe}px`),Or.setProperty("--radix-popper-available-height",`${He}px`),Or.setProperty("--radix-popper-anchor-width",`${Dt}px`),Or.setProperty("--radix-popper-anchor-height",`${sn}px`)}}),X&&kM({element:X,padding:u}),LM({arrowWidth:B,arrowHeight:Z}),x&&_M({strategy:"referenceHidden",...he})]}),[oe,j]=iT($),F=Bf(E);zi(()=>{re&&F?.()},[re,F]);const ie=ne.arrow?.x,D=ne.arrow?.y,ge=ne.arrow?.centerOffset!==0,[Te,De]=R.useState();return zi(()=>{A&&De(window.getComputedStyle(A).zIndex)},[A]),p.jsx("div",{ref:le.setFloating,"data-radix-popper-content-wrapper":"",style:{...me,transform:re?me.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Te,"--radix-popper-transform-origin":[ne.transformOrigin?.x,ne.transformOrigin?.y].join(" "),...ne.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:p.jsx(CM,{scope:n,placedSide:oe,onArrowChange:G,arrowX:ie,arrowY:D,shouldHideArrow:ge,children:p.jsx(pa.div,{"data-side":oe,"data-align":j,..._,ref:M,style:{..._.style,animation:re?void 0:"none"}})})})});rT.displayName=B2;var aT="PopperArrow",RM={top:"bottom",right:"left",bottom:"top",left:"right"},sT=R.forwardRef(function(t,n){const{__scopePopper:r,...a}=t,i=OM(aT,r),o=RM[i.placedSide];return p.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:p.jsx(AM,{...a,ref:n,style:{...a.style,display:"block"}})})});sT.displayName=aT;function DM(e){return e!==null}var LM=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,[h,g]=iT(n),m={start:"0%",center:"50%",end:"100%"}[g],x=(a.arrow?.x??0)+u/2,y=(a.arrow?.y??0)+c/2;let E="",_="";return h==="bottom"?(E=o?m:`${x}px`,_=`${-c}px`):h==="top"?(E=o?m:`${x}px`,_=`${r.floating.height+c}px`):h==="right"?(E=`${-c}px`,_=o?m:`${y}px`):h==="left"&&(E=`${r.floating.width+c}px`,_=o?m:`${y}px`),{data:{x:E,y:_}}}});function iT(e){const[t,n="center"]=e.split("-");return[t,n]}var IM=nT,MM=rT,PM=sT;function jM(e,t){return R.useReducer((n,r)=>t[n][r]??n,e)}var z2=e=>{const{present:t,children:n}=e,r=HM(t),a=typeof n=="function"?n({present:r.isPresent}):R.Children.only(n),i=Aa(r.ref,BM(a));return typeof n=="function"||r.isPresent?R.cloneElement(a,{ref:i}):null};z2.displayName="Presence";function HM(e){const[t,n]=R.useState(),r=R.useRef(null),a=R.useRef(e),i=R.useRef("none"),o=e?"mounted":"unmounted",[u,c]=jM(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return R.useEffect(()=>{const h=nh(r.current);i.current=u==="mounted"?h:"none"},[u]),zi(()=>{const h=r.current,g=a.current;if(g!==e){const x=i.current,y=nh(h);e?c("MOUNT"):y==="none"||h?.display==="none"?c("UNMOUNT"):c(g&&x!==y?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,c]),zi(()=>
vendor: 4,348 bytes, line 50
50{if(t){let h;const g=t.ownerDocument.defaultView??window,m=y=>{const _=nh(r.current).includes(CSS.escape(y.animationName));if(y.target===t&&_&&(c("ANIMATION_END"),!a.current)){const N=t.style.animationFillMode;t.style.animationFillMode="forwards",h=g.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=N)})}},x=y=>{y.target===t&&(i.current=nh(r.current))};return t.addEventListener("animationstart",x),t.addEventListener("animationcancel",m),t.addEventListener("animationend",m),()=>{g.clearTimeout(h),t.removeEventListener("animationstart",x),t.removeEventListener("animationcancel",m),t.removeEventListener("animationend",m)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:R.useCallback(h=>{r.current=h?getComputedStyle(h):null,n(h)},[])}}function nh(e){return e?.animationName||"none"}function BM(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 zM=Df[" useInsertionEffect ".trim().toString()]||zi;function U2({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[a,i,o]=UM({defaultProp:t,onChange:n}),u=e!==void 0,c=u?e:a;{const g=R.useRef(e!==void 0);R.useEffect(()=>{const m=g.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.`),g.current=u},[u,r])}const h=R.useCallback(g=>{if(u){const m=FM(g)?g(e):g;m!==e&&o.current?.(m)}else i(g)},[u,e,i,o]);return[c,h]}function UM({defaultProp:e,onChange:t}){const[n,r]=R.useState(e),a=R.useRef(n),i=R.useRef(t);return zM(()=>{i.current=t},[t]),R.useEffect(()=>{a.current!==n&&(i.current?.(n),a.current=n)},[n,a]),[n,r,i]}function FM(e){return typeof e=="function"}var qM=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"}),GM="VisuallyHidden",lT=R.forwardRef((e,t)=>p.jsx(pa.span,{...e,ref:t,style:{...qM,...e.style}}));lT.displayName=GM;var $M=lT,[Gf]=v0("Tooltip",[Jw]),F2=Jw(),oT="TooltipProvider",VM=700,c6="tooltip.open",[YM,uT]=Gf(oT),cT=e=>{const{__scopeTooltip:t,delayDuration:n=VM,skipDelayDuration:r=300,disableHoverableContent:a=!1,children:i}=e,o=R.useRef(!0),u=R.useRef(!1),c=R.useRef(0);return R.useEffect(()=>{const h=c.current;return()=>window.clearTimeout(h)},[]),p.jsx(YM,{scope:t,isOpenDelayedRef:o,delayDuration:n,onOpen:R.useCallback(()=>{window.clearTimeout(c.current),o.current=!1},[]),onClose:R.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>o.current=!0,r)},[r]),isPointerInTransitRef:u,onPointerInTransitChange:R.useCallback(h=>{u.current=h},[]),disableHoverableContent:a,children:i})};cT.displayName=oT;var dT="Tooltip",[sre,$f]=Gf(dT),yb="TooltipTrigger",QM=R.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,a=$f(yb,n),i=uT(yb,n),o=F2(n),u=R.useRef(null),c=Aa(t,u,a.onTriggerChange),h=R.useRef(!1),g=R.useRef(!1),m=R.useCallback(()=>h.current=!1,[]);return R.useEffect(()=>()=>document.removeEventListener("pointerup",m),[m]),p.jsx(IM,{asChild:!0,...o,children:p.jsx(pa.button,{"aria-describedby":a.open?a.contentId:void 0,"data-state":a.stateAttribute,...r,ref:c,onPointerMove:Ta(e.onPointerMove,x=>{x.pointerType!=="touch"&&!g.current&&!i.isPointerInTransitRef.current&&(a.onTriggerEnter(),g.current=!0)}),onPointerLeave:Ta(e.onPointerLeave,()=>{a.onTriggerLeave(),g.current=!1}),onPointerDown:Ta(e.onPointerDown,()=>{a.open&&a.onClose(),h.current=!0,document.addEventListener("pointerup",m,{once:!0})}),onFocus:Ta(e.onFocus,()=>{h.current||a.onOpen()}),onBlur:Ta(e.onBlur,a.onClose),onClick:Ta(e.onClick,a.onClose)})})});QM.displayName=yb;var WM="TooltipPortal",[ire,KM]=Gf(WM,{forceMount:void 0}),ru="TooltipContent",XM=R.forwardRef((e,t)=>{const n=KM(ru,e.__scopeTooltip),{forceMount:r=n.forceMount,side:a="top",...i}=e,o=$f(ru,e.__scopeTooltip);return p.jsx(z2,{present:r||o.open,children:o.disableHoverableContent?p.jsx(hT,{side:a,...i,ref:t}):p.jsx(ZM,{side:a,...i,ref:t})})}),ZM=R.forwardRef((e,t)=>
vendor: 11,682 bytes, line 50
50{const n=$f(ru,e.__scopeTooltip),r=uT(ru,e.__scopeTooltip),a=R.useRef(null),i=Aa(t,a),[o,u]=R.useState(null),{trigger:c,onClose:h}=n,g=a.current,{onPointerInTransitChange:m}=r,x=R.useCallback(()=>{u(null),m(!1)},[m]),y=R.useCallback((E,_)=>{const N=E.currentTarget,A={x:E.clientX,y:E.clientY},C=rP(A,N.getBoundingClientRect()),M=aP(A,C),X=sP(_.getBoundingClientRect()),G=lP([...M,...X]);u(G),m(!0)},[m]);return R.useEffect(()=>()=>x(),[x]),R.useEffect(()=>{if(c&&g){const E=N=>y(N,g),_=N=>y(N,c);return c.addEventListener("pointerleave",E),g.addEventListener("pointerleave",_),()=>{c.removeEventListener("pointerleave",E),g.removeEventListener("pointerleave",_)}}},[c,g,y,x]),R.useEffect(()=>{if(o){const E=_=>{const N=_.target,A={x:_.clientX,y:_.clientY},C=c?.contains(N)||g?.contains(N),M=!iP(A,o);C?x():M&&(x(),h())};return document.addEventListener("pointermove",E),()=>document.removeEventListener("pointermove",E)}},[c,g,o,h,x]),p.jsx(hT,{...e,ref:i})}),[JM,eP]=Gf(dT,{isInside:!1}),tP=eI("TooltipContent"),hT=R.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":a,onEscapeKeyDown:i,onPointerDownOutside:o,...u}=e,c=$f(ru,n),h=F2(n),{onClose:g}=c;return R.useEffect(()=>(document.addEventListener(c6,g),()=>document.removeEventListener(c6,g)),[g]),R.useEffect(()=>{if(c.trigger){const m=x=>{x.target?.contains(c.trigger)&&g()};return window.addEventListener("scroll",m,{capture:!0}),()=>window.removeEventListener("scroll",m,{capture:!0})}},[c.trigger,g]),p.jsx(Pw,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:o,onFocusOutside:m=>m.preventDefault(),onDismiss:g,children:p.jsxs(MM,{"data-state":c.stateAttribute,...h,...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:[p.jsx(tP,{children:r}),p.jsx(JM,{scope:n,isInside:!0,children:p.jsx($M,{id:c.contentId,role:"tooltip",children:a||r})})]})})});XM.displayName=ru;var fT="TooltipArrow",nP=R.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,a=F2(n);return eP(fT,n).isInside?null:p.jsx(PM,{...a,...r,ref:t})});nP.displayName=fT;function rP(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),a=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,a,i)){case i:return"left";case a:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function aP(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 sP(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 iP(e,t){const{x:n,y:r}=e;let a=!1;for(let i=0,o=t.length-1;i<t.length;o=i++){const u=t[i],c=t[o],h=u.x,g=u.y,m=c.x,x=c.y;g>r!=x>r&&n<(m-h)*(r-g)/(x-g)+h&&(a=!a)}return a}function lP(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),oP(t)}function oP(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 i=t[t.length-1],o=t[t.length-2];if((i.x-o.x)*(a.y-o.y)>=(i.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 i=n[n.length-1],o=n[n.length-2];if((i.x-o.x)*(a.y-o.y)>=(i.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 uP=cT;function mT(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=mT(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function q2(){for(var e,t,n=0,r="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=mT(e))&&(r&&(r+=" "),r+=t);return r}const G2="-",cP=e=>{const t=hP(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:o=>{const u=o.split(G2);return u[0]===""&&u.length!==1&&u.shift(),pT(u,t)||dP(o)},getConflictingClassGroupIds:(o,u)=>{const c=n[o]||[];return u&&r[o]?[...c,...r[o]]:c}}},pT=(e,t)=>{if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),a=r?pT(e.slice(1),r):void 0;if(a)return a;if(t.validators.length===0)return;const i=e.join(G2);return t.validators.find(({validator:o})=>o(i))?.classGroupId},d6=/^\[(.+)\]$/,dP=e=>{if(d6.test(e)){const t=d6.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},hP=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const a in n)vb(n[a],r,a,t);return r},vb=(e,t,n,r)=>{e.forEach(a=>{if(typeof a=="string"){const i=a===""?t:h6(t,a);i.classGroupId=n;return}if(typeof a=="function"){if(fP(a)){vb(a(r),t,n,r);return}t.validators.push({validator:a,classGroupId:n});return}Object.entries(a).forEach(([i,o])=>{vb(o,h6(t,i),n,r)})})},h6=(e,t)=>{let n=e;return t.split(G2).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},fP=e=>e.isThemeGetter,mP=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const a=(i,o)=>{n.set(i,o),t++,t>e&&(t=0,r=n,n=new Map)};return{get(i){let o=n.get(i);if(o!==void 0)return o;if((o=r.get(i))!==void 0)return a(i,o),o},set(i,o){n.has(i)?n.set(i,o):a(i,o)}}},Eb="!",wb=":",pP=wb.length,gP=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=a=>{const i=[];let o=0,u=0,c=0,h;for(let E=0;E<a.length;E++){let _=a[E];if(o===0&&u===0){if(_===wb){i.push(a.slice(c,E)),c=E+pP;continue}if(_==="/"){h=E;continue}}_==="["?o++:_==="]"?o--:_==="("?u++:_===")"&&u--}const g=i.length===0?a:a.substring(c),m=bP(g),x=m!==g,y=h&&h>c?h-c:void 0;return{modifiers:i,hasImportantModifier:x,baseClassName:m,maybePostfixModifierPosition:y}};if(t){const a=t+wb,i=r;r=o=>o.startsWith(a)?i(o.substring(a.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:o,maybePostfixModifierPosition:void 0}}if(n){const a=r;r=i=>n({className:i,parseClassName:a})}return r},bP=e=>e.endsWith(Eb)?e.substring(0,e.length-1):e.startsWith(Eb)?e.substring(1):e,xP=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(r=>[r,!0]));return r=>{if(r.length<=1)return r;const a=[];let i=[];return r.forEach(o=>{o[0]==="["||t[o]?(a.push(...i.sort(),o),i=[]):i.push(o)}),a.push(...i.sort()),a}},yP=e=>({cache:mP(e.cacheSize),parseClassName:gP(e),sortModifiers:xP(e),...cP(e)}),vP=/\s+/,EP=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:a,sortModifiers:i}=t,o=[],u=e.trim().split(vP);let c="";for(let h=u.length-1;h>=0;h-=1){const g=u[h],{isExternal:m,modifiers:x,hasImportantModifier:y,baseClassName:E,maybePostfixModifierPosition:_}=n(g);if(m){c=g+(c.length>0?" "+c:c);continue}let N=!!_,A=r(N?E.substring(0,_):E);if(!A){if(!N){c=g+(c.length>0?" "+c:c);continue}if(A=r(E),!A){c=g+(c.length>0?" "+c:c);continue}N=!1}const C=i(x).join(":"),M=y?C+Eb:C,X=M+A;if(o.includes(X))continue;o.push(X);const G=a(A,N);for(let P=0;P<G.length;++P){const B=G[P];o.push(M+B)}c=g+(c.length>0?" "+c:c)}return c};function wP(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=gT(t))&&(r&&(r+=" "),r+=n);return r}const gT=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=gT(e[r]))&&(n&&(n+=" "),n+=t);return n};function TP(e,...t){let n,r,a,i=o;function o(c){const h=t.reduce((g,m)=>m(g),e());return n=yP(h),r=n.cache.get,a=n.cache.set,i=u,u(c)}function u(c){const h=r(c);if(h)return h;const g=EP(c,n);return a(c,g),g}return function(){return i(wP.apply(null,arguments))}}const _n=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},bT=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,xT=/^\((?:(\w[\w-]*):)?(.+)\)$/i,_P=/^\d+\/\d+$/,kP=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,SP=/\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$/,AP=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,NP=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,CP=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Po=e=>_P.test(e),dt=e=>!!e&&!Number.isNaN(Number(e)),_i=e=>!!e&&Number.isInteger(Number(e)),W1=e=>e.endsWith("%")&&dt(e.slice(0,-1)),Os=e=>kP.test(e),OP=()=>!0,RP=e=>SP.test(e)&&!AP.test(e),yT=()=>!1,DP=e=>NP.test(e),LP=e=>CP.test(e),IP=e=>!Fe(e)&&!qe(e),MP=e=>du(e,wT,yT),Fe=e=>bT.test(e),yl=e=>du(e,TT,RP),K1=e=>du(e,zP,dt),f6=e=>du(e,vT,yT),PP=e=>du(e,ET,LP),rh=e=>du(e,_T,DP),qe=e=>xT.test(e),xc=e=>hu(e,TT),jP=e=>hu(e,UP),m6=e=>hu(e,vT),HP=e=>hu(e,wT),BP=e=>hu(e,ET),ah=e=>hu(e,_T,!0),du=(e,t,n)=>{const r=bT.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},hu=(e,t,n=!1)=>{const r=xT.exec(e);return r?r[1]?t(r[1]):n:!1},vT=e=>e==="position"||e==="percentage",ET=e=>e==="image"||e==="url",wT=e=>e==="length"||e==="size"||e==="bg-size",TT=e=>e==="length",zP=e=>e==="number",UP=e=>e==="family-name",_T=e=>e==="shadow",FP=()=>{const e=_n("color"),t=_n("font"),n=_n("text"),r=_n("font-weight"),a=_n("tracking"),i=_n("leading"),o=_n("breakpoint"),u=_n("container"),c=_n("spacing"),h=_n("radius"),g=_n("shadow"),m=_n("inset-shadow"),x=_n("text-shadow"),y=_n("drop-shadow"),E=_n("blur"),_=_n("perspective"),N=_n("aspect"),A=_n("ease"),C=_n("animate"),M=()=>["auto","avoid","all","avoid-page","page","left","right","column"],X=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],G=()=>[...X(),qe,Fe],P=()=>["auto","hidden","clip","visible","scroll"],B=()=>["auto","contain","none"],Z=()=>[qe,Fe,c],V=()=>[Po,"full","auto",...Z()],U=()=>[_i,"none","subgrid",qe,Fe],ae=()=>["auto",{span:["full",_i,qe,Fe]},_i,qe,Fe],te=()=>[_i,"auto",qe,Fe],he=()=>["auto","min","max","fr",qe,Fe],le=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],me=()=>["start","end","center","stretch","center-safe","end-safe"],$=()=>["auto",...Z()],re=()=>[Po,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...Z()],ne=()=>[e,qe,Fe],oe=()=>[...X(),m6,f6,{position:[qe,Fe]}],j=()=>["no-repeat",{repeat:["","x","y","space","round"]}],F=()=>["auto","cover","contain",HP,MP,{size:[qe,Fe]}],ie=()=>[W1,xc,yl],D=()=>["","none","full",h,qe,Fe],ge=()=>["",dt,xc,yl],Te=()=>["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=()=>[dt,W1,m6,f6],ze=()=>["","none",E,qe,Fe],Xe=()=>["none",dt,qe,Fe],He=()=>["none",dt,qe,Fe],Dt=()=>[dt,qe,Fe],sn=()=>[Po,"full",...Z()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Os],breakpoint:[Os],color:[OP],container:[Os],"drop-shadow":[Os],ease:["in","out","in-out"],font:[IP],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Os],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Os],shadow:[Os],spacing:["px",dt],text:[Os],"text-shadow":[Os],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Po,Fe,qe,N]}
vendor: 17,357 bytes, line 50
50],container:["container"],columns:[{columns:[dt,Fe,qe,u]}],"break-after":[{"break-after":M()}],"break-before":[{"break-before":M()}],"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:G()}],overflow:[{overflow:P()}],"overflow-x":[{"overflow-x":P()}],"overflow-y":[{"overflow-y":P()}],overscroll:[{overscroll:B()}],"overscroll-x":[{"overscroll-x":B()}],"overscroll-y":[{"overscroll-y":B()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:V()}],"inset-x":[{"inset-x":V()}],"inset-y":[{"inset-y":V()}],start:[{start:V()}],end:[{end:V()}],top:[{top:V()}],right:[{right:V()}],bottom:[{bottom:V()}],left:[{left:V()}],visibility:["visible","invisible","collapse"],z:[{z:[_i,"auto",qe,Fe]}],basis:[{basis:[Po,"full","auto",u,...Z()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[dt,Po,"auto","initial","none",Fe]}],grow:[{grow:["",dt,qe,Fe]}],shrink:[{shrink:["",dt,qe,Fe]}],order:[{order:[_i,"first","last","none",qe,Fe]}],"grid-cols":[{"grid-cols":U()}],"col-start-end":[{col:ae()}],"col-start":[{"col-start":te()}],"col-end":[{"col-end":te()}],"grid-rows":[{"grid-rows":U()}],"row-start-end":[{row:ae()}],"row-start":[{"row-start":te()}],"row-end":[{"row-end":te()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":he()}],"auto-rows":[{"auto-rows":he()}],gap:[{gap:Z()}],"gap-x":[{"gap-x":Z()}],"gap-y":[{"gap-y":Z()}],"justify-content":[{justify:[...le(),"normal"]}],"justify-items":[{"justify-items":[...me(),"normal"]}],"justify-self":[{"justify-self":["auto",...me()]}],"align-content":[{content:["normal",...le()]}],"align-items":[{items:[...me(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...me(),{baseline:["","last"]}]}],"place-content":[{"place-content":le()}],"place-items":[{"place-items":[...me(),"baseline"]}],"place-self":[{"place-self":["auto",...me()]}],p:[{p:Z()}],px:[{px:Z()}],py:[{py:Z()}],ps:[{ps:Z()}],pe:[{pe:Z()}],pt:[{pt:Z()}],pr:[{pr:Z()}],pb:[{pb:Z()}],pl:[{pl:Z()}],m:[{m:$()}],mx:[{mx:$()}],my:[{my:$()}],ms:[{ms:$()}],me:[{me:$()}],mt:[{mt:$()}],mr:[{mr:$()}],mb:[{mb:$()}],ml:[{ml:$()}],"space-x":[{"space-x":Z()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":Z()}],"space-y-reverse":["space-y-reverse"],size:[{size:re()}],w:[{w:[u,"screen",...re()]}],"min-w":[{"min-w":[u,"screen","none",...re()]}],"max-w":[{"max-w":[u,"screen","none","prose",{screen:[o]},...re()]}],h:[{h:["screen","lh",...re()]}],"min-h":[{"min-h":["screen","lh","none",...re()]}],"max-h":[{"max-h":["screen","lh",...re()]}],"font-size":[{text:["base",n,xc,yl]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,qe,K1]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",W1,Fe]}],"font-family":[{font:[jP,Fe,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,qe,Fe]}],"line-clamp":[{"line-clamp":[dt,"none",qe,K1]}],leading:[{leading:[i,...Z()]}],"list-image":[{"list-image":["none",qe,Fe]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",qe,Fe]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:ne()}],"text-color":[{text:ne()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Te(),"wavy"]}],"text-decoration-thickness":[{decoration:[dt,"from-font","auto",qe,yl]}],"text-decoration-color":[{decoration:ne()}],"underline-offset":[{"underline-offset":[dt,"auto",qe,Fe]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:Z()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",qe,Fe]}],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",qe,Fe]}],"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:j()}],"bg-size":[{bg:F()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},_i,qe,Fe],radial:["",qe,Fe],conic:[_i,qe,Fe]},BP,PP]}],"bg-color":[{bg:ne()}],"gradient-from-pos":[{from:ie()}],"gradient-via-pos":[{via:ie()}],"gradient-to-pos":[{to:ie()}],"gradient-from":[{from:ne()}],"gradient-via":[{via:ne()}],"gradient-to":[{to:ne()}],rounded:[{rounded:D()}],"rounded-s":[{"rounded-s":D()}],"rounded-e":[{"rounded-e":D()}],"rounded-t":[{"rounded-t":D()}],"rounded-r":[{"rounded-r":D()}],"rounded-b":[{"rounded-b":D()}],"rounded-l":[{"rounded-l":D()}],"rounded-ss":[{"rounded-ss":D()}],"rounded-se":[{"rounded-se":D()}],"rounded-ee":[{"rounded-ee":D()}],"rounded-es":[{"rounded-es":D()}],"rounded-tl":[{"rounded-tl":D()}],"rounded-tr":[{"rounded-tr":D()}],"rounded-br":[{"rounded-br":D()}],"rounded-bl":[{"rounded-bl":D()}],"border-w":[{border:ge()}],"border-w-x":[{"border-x":ge()}],"border-w-y":[{"border-y":ge()}],"border-w-s":[{"border-s":ge()}],"border-w-e":[{"border-e":ge()}],"border-w-t":[{"border-t":ge()}],"border-w-r":[{"border-r":ge()}],"border-w-b":[{"border-b":ge()}],"border-w-l":[{"border-l":ge()}],"divide-x":[{"divide-x":ge()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ge()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Te(),"hidden","none"]}],"divide-style":[{divide:[...Te(),"hidden","none"]}],"border-color":[{border:ne()}],"border-color-x":[{"border-x":ne()}],"border-color-y":[{"border-y":ne()}],"border-color-s":[{"border-s":ne()}],"border-color-e":[{"border-e":ne()}],"border-color-t":[{"border-t":ne()}],"border-color-r":[{"border-r":ne()}],"border-color-b":[{"border-b":ne()}],"border-color-l":[{"border-l":ne()}],"divide-color":[{divide:ne()}],"outline-style":[{outline:[...Te(),"none","hidden"]}],"outline-offset":[{"outline-offset":[dt,qe,Fe]}],"outline-w":[{outline:["",dt,xc,yl]}],"outline-color":[{outline:ne()}],shadow:[{shadow:["","none",g,ah,rh]}],"shadow-color":[{shadow:ne()}],"inset-shadow":[{"inset-shadow":["none",m,ah,rh]}],"inset-shadow-color":[{"inset-shadow":ne()}],"ring-w":[{ring:ge()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:ne()}],"ring-offset-w":[{"ring-offset":[dt,yl]}],"ring-offset-color":[{"ring-offset":ne()}],"inset-ring-w":[{"inset-ring":ge()}],"inset-ring-color":[{"inset-ring":ne()}],"text-shadow":[{"text-shadow":["none",x,ah,rh]}],"text-shadow-color":[{"text-shadow":ne()}],opacity:[{opacity:[dt,qe,Fe]}],"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":[dt]}],"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":ne()}],"mask-image-linear-to-color":[{"mask-linear-to":ne()}],"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":ne()}],"mask-image-t-to-color":[{"mask-t-to":ne()}],"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":ne()}],"mask-image-r-to-color":[{"mask-r-to":ne()}],"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":ne()}],"mask-image-b-to-color":[{"mask-b-to":ne()}],"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":ne()}],"mask-image-l-to-color":[{"mask-l-to":ne()}],"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":ne()}],"mask-image-x-to-color":[{"mask-x-to":ne()}],"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":ne()}],"mask-image-y-to-color":[{"mask-y-to":ne()}],"mask-image-radial":[{"mask-radial":[qe,Fe]}],"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":ne()}],"mask-image-radial-to-color":[{"mask-radial-to":ne()}],"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":X()}],"mask-image-conic-pos":[{"mask-conic":[dt]}],"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":ne()}],"mask-image-conic-to-color":[{"mask-conic-to":ne()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:oe()}],"mask-repeat":[{mask:j()}],"mask-size":[{mask:F()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",qe,Fe]}],filter:[{filter:["","none",qe,Fe]}],blur:[{blur:ze()}],brightness:[{brightness:[dt,qe,Fe]}],contrast:[{contrast:[dt,qe,Fe]}],"drop-shadow":[{"drop-shadow":["","none",y,ah,rh]}],"drop-shadow-color":[{"drop-shadow":ne()}],grayscale:[{grayscale:["",dt,qe,Fe]}],"hue-rotate":[{"hue-rotate":[dt,qe,Fe]}],invert:[{invert:["",dt,qe,Fe]}],saturate:[{saturate:[dt,qe,Fe]}],sepia:[{sepia:["",dt,qe,Fe]}],"backdrop-filter":[{"backdrop-filter":["","none",qe,Fe]}],"backdrop-blur":[{"backdrop-blur":ze()}],"backdrop-brightness":[{"backdrop-brightness":[dt,qe,Fe]}],"backdrop-contrast":[{"backdrop-contrast":[dt,qe,Fe]}],"backdrop-grayscale":[{"backdrop-grayscale":["",dt,qe,Fe]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[dt,qe,Fe]}],"backdrop-invert":[{"backdrop-invert":["",dt,qe,Fe]}],"backdrop-opacity":[{"backdrop-opacity":[dt,qe,Fe]}],"backdrop-saturate":[{"backdrop-saturate":[dt,qe,Fe]}],"backdrop-sepia":[{"backdrop-sepia":["",dt,qe,Fe]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":Z()}],"border-spacing-x":[{"border-spacing-x":Z()}],"border-spacing-y":[{"border-spacing-y":Z()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",qe,Fe]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[dt,"initial",qe,Fe]}],ease:[{ease:["linear","initial",A,qe,Fe]}],delay:[{delay:[dt,qe,Fe]}],animate:[{animate:["none",C,qe,Fe]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[_,qe,Fe]}],"perspective-origin":[{"perspective-origin":G()}],rotate:[{rotate:Xe()}],"rotate-x":[{"rotate-x":Xe()}],"rotate-y":[{"rotate-y":Xe()}],"rotate-z":[{"rotate-z":Xe()}],scale:[{scale:He()}],"scale-x":[{"scale-x":He()}],"scale-y":[{"scale-y":He()}],"scale-z":[{"scale-z":He()}],"scale-3d":["scale-3d"],skew:[{skew:Dt()}],"skew-x":[{"skew-x":Dt()}],"skew-y":[{"skew-y":Dt()}],transform:[{transform:[qe,Fe,"","none","gpu","cpu"]}],"transform-origin":[{origin:G()}],"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:ne()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:ne()}],"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",qe,Fe]}],"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":Z()}],"scroll-mx":[{"scroll-mx":Z()}],"scroll-my":[{"scroll-my":Z()}],"scroll-ms":[{"scroll-ms":Z()}],"scroll-me":[{"scroll-me":Z()}],"scroll-mt":[{"scroll-mt":Z()}],"scroll-mr":[{"scroll-mr":Z()}],"scroll-mb":[{"scroll-mb":Z()}],"scroll-ml":[{"scroll-ml":Z()}],"scroll-p":[{"scroll-p":Z()}],"scroll-px":[{"scroll-px":Z()}],"scroll-py":[{"scroll-py":Z()}],"scroll-ps":[{"scroll-ps":Z()}],"scroll-pe":[{"scroll-pe":Z()}],"scroll-pt":[{"scroll-pt":Z()}],"scroll-pr":[{"scroll-pr":Z()}],"scroll-pb":[{"scroll-pb":Z()}],"scroll-pl":[{"scroll-pl":Z()}],"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",qe,Fe]}],fill:[{fill:["none",...ne()]}],"stroke-w":[{stroke:[dt,xc,yl,K1]}],stroke:[{stroke:["none",...ne()]}],"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"]}}
vendor: 4,521 bytes, lines 50-75
50,kT=TP(FP);function Qi(...e){return kT(q2(e))}function qP({delayDuration:e=0,...t}){return p.jsx(uP,{"data-loc":"client/src/components/ui/tooltip.tsx:11","data-slot":"tooltip-provider",delayDuration:e,...t})}const p6=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,g6=q2,GP=(e,t)=>n=>{var r;if(t?.variants==null)return g6(e,n?.class,n?.className);const{variants:a,defaultVariants:i}=t,o=Object.keys(a).map(h=>{const g=n?.[h],m=i?.[h];if(g===null)return null;const x=p6(g)||p6(m);return a[h][x]}),u=n&&Object.entries(n).reduce((h,g)=>{let[m,x]=g;return x===void 0||(h[m]=x),h},{}),c=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((h,g)=>{let{class:m,className:x,...y}=g;return Object.entries(y).every(E=>{let[_,N]=E;return Array.isArray(N)?N.includes({...i,...u}[_]):{...i,...u}[_]===N})?[...h,m,x]:h},[]);return g6(e,o,c,n?.class,n?.className)},$P=GP("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 tt({className:e,variant:t,size:n,asChild:r=!1,...a}){const i=r?ZL:"button";return p.jsx(i,{"data-loc":"client/src/components/ui/button.tsx:52","data-slot":"button",className:Qi($P({variant:t,size:n,className:e})),...a})}function VP({className:e,...t}){return p.jsx("div",{"data-loc":"client/src/components/ui/card.tsx:7","data-slot":"card",className:Qi("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",e),...t})}function YP({className:e,...t}){return p.jsx("div",{"data-loc":"client/src/components/ui/card.tsx:66","data-slot":"card-content",className:Qi("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 QP=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),ST=(...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 WP={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 KP=R.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:a="",children:i,iconNode:o,...u},c)=>R.createElement("svg",{ref:c,...WP,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:ST("lucide",a),...u},[...o.map(([h,g])=>R.createElement(h,g)),...Array.isArray(i)?i:[i]]));/**
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 et=(e,t)=>{const n=R.forwardRef(({className:r,...a},i)=>R.createElement(KP,{ref:i,iconNode:t,className:ST(`lucide-${QP(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 XP=et("Activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l
75-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]);/**
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 Lh=et("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/**
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 a0=et("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);/**
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 Ih=et("Bookmark",[["path",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z",key:"1fy3hk"}]]);/**
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 Tb=et("Building2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]]);/**
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 ZP=et("Calendar",[["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"}]]);/**
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 $2=et("ChartColumn",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]]);/**
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 JP=et("ChartNoAxesColumn",[["line",{x1:"18",x2:"18",y1:"20",y2:"10",key:"1xfpm4"}],["line",{x1:"12",x2:"12",y1:"20",y2:"4",key:"be30l9"}],["line",{x1:"6",x2:"6",y1:"20",y2:"14",key:"1r4le6"}]]);/**
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 Mh=et("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
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 fu=et("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
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 ej=et("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/**
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 V2=et("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
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 Y2=et("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/**
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 tj=et("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"}]]);/**
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 Zh=et("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
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 Q2=et("CircleHelp",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
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 nj=et("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
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 Ll=et("Copy",[["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"}]]);/**
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 b6=et("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);/**
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 AT=et("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);/**
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 rj=et("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"}]]);/**
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 x6=et("Lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]]);/**
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 Xt=et("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
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 W2=et("LogOut",[["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}],["polyline",{points:"16 17 21 12 16 7",key:"1gabdz"}],["line",{x1:"21",x2:"9",y1:"12",y2:"12",key:"1uyos4"}]]);/**
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 X1=et("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"}]]);/**
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 NT=et("MessageCircle",[["path",{d:"M7.9 20A9 9 0 1 0 4 16.1L2 22Z",key:"vv11sd"}]]);/**
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 CT=et("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]]);/**
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 Ph=et("PenLine",[["path",{d:"M12 20h9",key:"t2du7b"}],["path",{d:"M16.376 3.622a1 1 0 0 1 3.002 3.002L7.368 18.635a2 2 0 0 1-.855.506l-2.872.838a.5.5 0 0 1-.62-.62l.838-2.872a2 2 0 0 1 .506-.854z",key:"1ykcvy"}]]);/**
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 Vf=et("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);/**
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 aj=et("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"}]]);/**
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 sj=et("Save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);/**
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 _b=et("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
231 * @license lucide-react v0.453.0 - ISC
232 *
233 * This source code is licensed under the ISC license.
234 * See the LICENSE file in the root directory of this source tree.
235 */const ij=et("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"}]]);/**
236 * @license lucide-react v0.453.0 - ISC
237 *
238 * This source code is licensed under the ISC license.
239 * See the LICENSE file in the root directory of this source tree.
240 */const lj=et("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",ke
240y:"oel41y"}]]);/**
241 * @license lucide-react v0.453.0 - ISC
242 *
243 * This source code is licensed under the ISC license.
244 * See the LICENSE file in the root directory of this source tree.
245 */const qi=et("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"}]]);/**
246 * @license lucide-react v0.453.0 - ISC
247 *
248 * This source code is licensed under the ISC license.
249 * See the LICENSE file in the root directory of this source tree.
250 */const kb=et("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"}]]);/**
251 * @license lucide-react v0.453.0 - ISC
252 *
253 * This source code is licensed under the ISC license.
254 * See the LICENSE file in the root directory of this source tree.
255 */const oj=et("Tag",[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]]);/**
256 * @license lucide-react v0.453.0 - ISC
257 *
258 * This source code is licensed under the ISC license.
259 * See the LICENSE file in the root directory of this source tree.
260 */const OT=et("ThumbsDown",[["path",{d:"M17 14V2",key:"8ymqnk"}],["path",{d:"M9 18.12 10 14H4.17a2 2 0 0 1-1.92-2.56l2.33-8A2 2 0 0 1 6.5 2H20a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.76a2 2 0 0 0-1.79 1.11L12 22a3.13 3.13 0 0 1-3-3.88Z",key:"m61m77"}]]);/**
261 * @license lucide-react v0.453.0 - ISC
262 *
263 * This source code is licensed under the ISC license.
264 * See the LICENSE file in the root directory of this source tree.
265 */const RT=et("ThumbsUp",[["path",{d:"M7 10v12",key:"1qc93n"}],["path",{d:"M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z",key:"emmmcr"}]]);/**
266 * @license lucide-react v0.453.0 - ISC
267 *
268 * This source code is licensed under the ISC license.
269 * See the LICENSE file in the root directory of this source tree.
270 */const DT=et("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]);/**
271 * @license lucide-react v0.453.0 - ISC
272 *
273 * This source code is licensed under the ISC license.
274 * See the LICENSE file in the root directory of this source tree.
275 */const Sb=et("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]]);/**
276 * @license lucide-react v0.453.0 - ISC
277 *
278 * This source code is licensed under the ISC license.
279 * See the LICENSE file in the root directory of this source tree.
280 */const uj=et("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"}]]);/**
281 * @license lucide-react v0.453.0 - ISC
282 *
283 * This source code is licensed under the ISC license.
284 * See the LICENSE file in the root directory of this source tree.
285 */const K2=et("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"}]]);/**
286 * @license lucide-react v0.453.0 - ISC
287 *
288 * This source code is licensed under the ISC license.
289 * See the LICENSE file in the root directory of this source tree.
290 */const Wo=et("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/**
291 * @license lucide-react v0.453.0 - ISC
292 *
293 * This source code is licensed under the ISC license.
294 * See the LICENSE file in the root directory of this source tree.
295 */const jh=et("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
295],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/**
296 * @license lucide-react v0.453.0 - ISC
297 *
298 * This source code is licensed under the ISC license.
299 * See the LICENSE file in the root directory of this source tree.
300 */const Vn=et("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]);function cj(e,t){if(e instanceof RegExp)return{keys:!1,pattern:e};var n,r,a,i,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),i=a.indexOf(".",1),o.push(a.substring(1,~r?r:~i?i:a.length)),u+=~r&&!~i?"(?:/([^/]+?))?":"/([^/]+?)",~i&&(u+=(~r?"?":"")+"\\"+a.substring(i))):u+="/"+a;return{keys:o,pattern:new RegExp("^"+u+(t?"(?=$|/)":"/?$"),"i")}}var Z1={exports:{}},J1={};/**
301 * @license React
302 * use-sync-external-store-shim.production.js
303 *
304 * Copyright (c) Meta Platforms, Inc. and affiliates.
305 *
306 * This source code is licensed under the MIT license found in the
307 * LICENSE file in the root directory of this source tree.
308 */var y6;function dj(){if(y6)return J1;y6=1;var e=Rf();function t(m,x){return m===x&&(m!==0||1/m===1/x)||m!==m&&x!==x}var n=typeof Object.is=="function"?Object.is:t,r=e.useState,a=e.useEffect,i=e.useLayoutEffect,o=e.useDebugValue;function u(m,x){var y=x(),E=r({inst:{value:y,getSnapshot:x}}),_=E[0].inst,N=E[1];return i(function(){_.value=y,_.getSnapshot=x,c(_)&&N({inst:_})},[m,y,x]),a(function(){return c(_)&&N({inst:_}),m(function(){c(_)&&N({inst:_})})},[m]),o(y),y}function c(m){var x=m.getSnapshot;m=m.value;try{var y=x();return!n(m,y)}catch{return!0}}function h(m,x){return x()}var g=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?h:u;return J1.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:g,J1}var v6;function hj(){return v6||(v6=1,Z1.exports=dj()),Z1.exports}var fj=hj();const mj=Df.useInsertionEffect,pj=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",gj=pj?R.useLayoutEffect:R.useEffect,bj=mj||gj,LT=e=>{const t=R.useRef([e,(...n)=>t[0](...n)]).current;return bj(()=>{t[0]=e}),t[1]},xj="popstate",X2="pushState",Z2="replaceState",yj="hashchange",E6=[xj,X2,Z2,yj],vj=e=>{for(const t of E6)addEventListener(t,e);return()=>{for(const t of E6)removeEventListener(t,e)}},IT=(e,t)=>fj.useSyncExternalStore(vj,e,t),Ej=()=>location.search,wj=({ssrSearch:e=""}={})=>IT(Ej,()=>e),w6=()=>location.pathname,Tj=({ssrPath:e}={})=>IT(w6,e?()=>e:w6),_j=(e,{replace:t=!1,state:n=null}={})=>history[t?Z2:X2](n,"",e),kj=(e={})=>[Tj(e),_j],T6=Symbol.for("wouter_v3");if(typeof history<"u"&&typeof window[T6]>"u"){for(const e of[X2,Z2]){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,T6,{value:!0})}const Sj=(e,t)=>t.toLowerCase().indexOf(e.toLowerCase())?"~"+t:t.slice(e.length)||"/",MT=(e="")=>e==="/"?"":e,Aj=(e,t)=>e[0]==="~"?e.slice(1):MT(t)+e,Nj=(e="",t)=>Sj(_6(MT(e)),_6(t)),_6=e=>{try{return decodeURI(e)}catch{return e}},PT={hook:kj,searchHook:wj,parser:cj,base:"",ssrPath:void 0,ssrSearch:void 0,ssrContext:void 0,hrefs:e=>e},jT=R.createContext(PT),w0=()=>R.useContext(jT),HT={},BT=R.createContext(HT),Cj=()=>R.useContext(BT),Yf=e=>{const[t,n]=e.hook(e);return[Nj(e.base,t),LT((r,a)=>n(Aj(r,e.base),a))]},Ws=()=>Yf(w0()),zT=(e,t,n,r)=>{const{pattern:a,keys:i}=t instanceof RegExp?{keys:!1,pattern:t}:e(t||"*",r),o=a.exec(n)||[],[u,...c]=o;return u!==void 0?[!0,(()=>{const h=i!==!1?Object.fromEntries(i.map((m,x)=>[m,c[x]])):o.groups;let g={...c};return h&&Object.assign(g,h),g})(),...r?[u]:[]]:[!1,null]},Oj=({children:e,...t})=>{const n=w0(),r=t.hook?PT:n;let a=r;const[i,o]=t.ssrPath?.split("?")??[];o&&(t.ssrSearch=o,t.ssrPath=i),t.hrefs=t.hrefs??t.hook?.hrefs;let u=R.useRef({}),c=u.current,h=c;for(let g in r){const m=g==="base"?r[g]+(t[g]||""):t[g]||r[g];c===h&&m!==h[g]&&(u.current=h={...h}),h[g]=m,(m!==r[g]||m!==a[g])&&(a=h)}return R.createElement(jT.Provider,{value:a,children:e})},k6=({children:e,component:t},n)=>t?R.createElement(t,{params:n}):typeof e=="function"?e(n):e,Rj=e=>{let t=R.useRef(HT);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},Sr=({path:e,nest:t,match:n,...r})=>{const a=w0(),[i]=Yf(a),[o,u,c]=n??zT(a.parser,e,i,t),h=Rj({...Cj(),...u});if(!o)return null;const g=c?R.createElement(Oj,{base:c},k6(r,h)):k6(r,h);return R.createElement(BT.Provider,{value:h,children:g})},Mc=R.forwardRef((e,t)=>
308{const n=w0(),[r,a]=Yf(n),{to:i="",href:o=i,onClick:u,asChild:c,children:h,className:g,replace:m,state:x,...y}=e,E=LT(N=>{N.ctrlKey||N.metaKey||N.altKey||N.shiftKey||N.button!==0||(u?.(N),N.defaultPrevented||(N.preventDefault(),a(o,e)))}),_=n.hrefs(o[0]==="~"?o.slice(1):n.base+o,n);return c&&R.isValidElement(h)?R.cloneElement(h,{onClick:E,href:_}):R.createElement("a",{...y,onClick:E,href:_,className:g?.call?g(r===o):g,children:h,ref:t})}),Ab=e=>Array.isArray(e)?e.flatMap(t=>Ab(t&&t.type===R.Fragment?t.props.children:t)):[e],UT=({children:e,location:t})=>{const n=w0(),[r]=Yf(n);typeof window<"u"&&(window.__WOUTER_ROUTES__||(window.__WOUTER_ROUTES__=[]),Ab(e).forEach(i=>{if(R.isValidElement(i)&&i.props.path){const o=i.props.path;window.__WOUTER_ROUTES__.includes(o)||window.__WOUTER_ROUTES__.push(o)}}));for(const a of Ab(e)){let i=0;if(R.isValidElement(a)&&(i=zT(n.parser,a.props.path,t||r,a.props.nest))[0])return R.cloneElement(a,{match:i})}return null};function FT(){const[,e]=Ws(),t=()=>{e("/")};return p.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:p.jsx(VP,{"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:p.jsxs(YP,{"data-loc":"client/src/pages/NotFound.tsx:16",className:"pt-8 pb-8 text-center",children:[p.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:17",className:"flex justify-center mb-6",children:p.jsxs("div",{"data-loc":"client/src/pages/NotFound.tsx:18",className:"relative",children:[p.jsx("div",{"data-loc":"client/src/pages/NotFound.tsx:19",className:"absolute inset-0 bg-red-100 rounded-full animate-pulse"}),p.jsx(tj,{"data-loc":"client/src/pages/NotFound.tsx:20",className:"relative h-16 w-16 text-red-500"})]})}),p.jsx("h1",{"data-loc":"client/src/pages/NotFound.tsx:24",className:"text-4xl font-bold text-slate-900 mb-2",children:"404"}),p.jsx("h2",{"data-loc":"client/src/pages/NotFound.tsx:26",className:"text-xl font-semibold text-slate-700 mb-4",children:"Page Not Found"}),p.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.",p.jsx("br",{"data-loc":"client/src/pages/NotFound.tsx:32"}),"It may have been moved or deleted."]}),p.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:p.jsxs(tt,{"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:[p.jsx(rj,{"data-loc":"client/src/pages/NotFound.tsx:44",className:"w-4 h-4 mr-2"}),"Go Home"]})})]})})})}class Dj extends R.Component{constructor(t){super(t),this.state={hasError:!1,error:null}}static getDerivedStateFromError(t){return{hasError:!0,error:t}}render(){return this.state.hasError?p.jsx("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:27",className:"flex items-center justify-center min-h-screen p-8 bg-background",children:p.jsxs("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:28",className:"flex flex-col items-center w-full max-w-2xl p-8",children:[p.jsx(uj,{"data-loc":"client/src/components/ErrorBoundary.tsx:29",size:48,className:"text-destructive mb-6 flex-shrink-0"}),p.jsx("h2",{"data-loc":"client/src/components/ErrorBoundary.tsx:34",className:"text-xl mb-4",children:"An unexpected error occurred."}),p.jsx("div",{"data-loc":"client/src/components/ErrorBoundary.tsx:36",className:"p-4 w-full rounded bg-muted overflow-auto mb-6",children:p.jsx("pre",{"data-loc":"client/src/components/ErrorBoundary.tsx:37",className:"text-sm text-muted-foreground whitespace-break-spaces",children:this.state.error?.stack})}),p.jsxs("button",{"data-loc":"client/src/components/ErrorBoundary.tsx:42",onClick:()=>window.location.reload(),className:Qi("flex items-center gap-2 px-4 py-2 rounded-lg","bg-primary text-primary-foreground","hover:opacity-90 cursor-pointer"),children:[p.jsx(aj,{"data-loc":"client/src/components/ErrorBoundary.tsx:50",size:16}),"Reload Page"]})]})}):this.props.children}}const Lj=R.createContext(void 0);function Ij({children:e,defaultTheme:t="light",switchable:n=!1}){const[r,a]=R.useState(()=>n&&localStorage.getItem("theme")||t);R.useEffect(()=>{const o=document.documentElement;
308r==="dark"?o.classList.add("dark"):o.classList.remove("dark"),n&&localStorage.setItem("theme",r)},[r,n]);const i=n?()=>{a(o=>o==="light"?"dark":"light")}:void 0;return p.jsx(Lj.Provider,{"data-loc":"client/src/contexts/ThemeContext.tsx:52",value:{theme:r,toggleTheme:i,switchable:n},children:e})}const qT=()=>{const e="https://manus.im",t="Bcb22zGduUaUJPJZbaGAnH",n=`${window.location.origin}/api/oauth/callback`,r=btoa(n),a=new URL(`${e}/app-auth`);return a.searchParams.set("appId",t),a.searchParams.set("redirectUri",n),a.searchParams.set("state",r),a.searchParams.set("type","signIn"),a.toString()};function Wi(e){const{redirectOnUnauthenticated:t=!1,redirectPath:n=qT()}={},r=ct.useUtils(),a=ct.auth.me.useQuery(void 0,{retry:!1,refetchOnWindowFocus:!1}),i=ct.auth.logout.useMutation({onSuccess:()=>{r.auth.me.setData(void 0,null)}}),o=R.useCallback(async()=>{try{await i.mutateAsync()}catch(c){if(c instanceof eu&&c.data?.code==="UNAUTHORIZED")return;throw c}finally{r.auth.me.setData(void 0,null),await r.auth.me.invalidate()}},[i,r]),u=R.useMemo(()=>(localStorage.setItem("manus-runtime-user-info",JSON.stringify(a.data)),{user:a.data??null,loading:a.isLoading||i.isPending,error:a.error??i.error??null,isAuthenticated:!!a.data}),[a.data,a.error,a.isLoading,i.error,i.isPending]);return R.useEffect(()=>{t&&(a.isLoading||i.isPending||u.user||typeof window>"u"||window.location.pathname!==n&&(window.location.href=n))},[t,n,i.isPending,a.isLoading,u.user]),{...u,refresh:()=>a.refetch(),logout:o}}const S6={emotion:"Emotions-Hook",statement:"Statement-Hook",indirect:"Indirekter Hook"},A6={kunden:"Kunden gewinnen",mitarbeiter:"Mitarbeiter finden"};function sh({icon:e,label:t,value:n,sub:r}){return p.jsxs("div",{"data-loc":"client/src/pages/Analytics.tsx:19",className:"bg-white/5 border border-white/10 rounded-xl p-6 flex flex-col gap-2",children:[p.jsxs("div",{"data-loc":"client/src/pages/Analytics.tsx:20",className:"flex items-center gap-2 text-yellow-400 mb-1",children:[e,p.jsx("span",{"data-loc":"client/src/pages/Analytics.tsx:20",className:"text-sm font-semibold uppercase tracking-wide text-white/50",children:t})]}),p.jsx("div",{"data-loc":"client/src/pages/Analytics.tsx:21",className:"text-4xl font-bold text-white",style:{fontFamily:"'DM Sans', sans-serif"},children:n}),r&&p.jsx("div",{"data-loc":"client/src/pages/Analytics.tsx:22",className:"text-white/40 text-sm",children:r})]})}function Mj(){const{isAuthenticated:e,loading:t}=Wi(),{data:n,isLoading:r,error:a}=ct.analytics.getSummary.useQuery(void 0,{enabled:e});if(t||r)return p.jsx("div",{"data-loc":"client/src/pages/Analytics.tsx:35",className:"min-h-screen bg-[#0f172a] flex items-center justify-center",children:p.jsx("div",{"data-loc":"client/src/pages/Analytics.tsx:36",className:"text-white/60 text-lg animate-pulse",children:"Lade Analytics..."})});if(!e)return p.jsx("div",{"data-loc":"client/src/pages/Analytics.tsx:43",className:"min-h-screen bg-[#0f172a] flex items-center justify-center",children:p.jsx("div",{"data-loc":"client/src/pages/Analytics.tsx:44",className:"text-white/60 text-lg",children:"Bitte einloggen um die Analytics zu sehen."})});if(a)return p.jsx("div",{"data-loc":"client/src/pages/Analytics.tsx:51",className:"min-h-screen bg-[#0f172a] flex items-center justify-center",children:p.jsxs("div",{"data-loc":"client/src/pages/Analytics.tsx:52",className:"text-red-400 text-lg",children:["Fehler beim Laden der Analytics: ",a.message]})});const i=n?.byZiel.find(h=>h.ziel==="kunden")?.count??0,o=n?.byZiel.find(h=>h.ziel==="mitarbeiter")?.count??0,u=n?.totalGenerations??0,c=n?.totalCopies??0;return p.jsxs("div",{"data-loc":"client/src/pages/Analytics.tsx:63",className:"min-h-screen bg-[#0f172a] text-white",children:[p.jsx("div",{"data-loc":"client/src/pages/Analytics.tsx:65",className:"border-b border-white/10 bg-[#0a1020]",children:p.jsxs("div",{"data-loc":"client/src/pages/Analytics.tsx:66",className:"container py-4 flex items-center gap-4",children:[p.jsxs(Mc,{"data-loc":"client/src/pages/Analytics.tsx:67",href:"/",className:"flex items-center gap-1.5 text-white/50 hover:text-yellow-400 transition-colors text-sm font-medium shrink-0",children:[p.jsx(Lh,{"data-loc":"client/src/pages/Analytics.tsx:68",size:16}),"Zurück"]}),p.jsx("div",{"data-loc":"client/src/pages/Analytics.tsx:71",className:"w-px h-6 bg-white/10 shrink-0"}),p.jsx(JP,{"data-loc":"client/src/pages/Analytics.tsx:72",className:"text-yellow-400 shrink-0",size:22}),p.jsxs("div",{"data-loc":"client/src/pages/Analytics.tsx:73",children:[p.jsx("h1",{"data-loc":"client/src/pages/Analytics.tsx:74",className:"text-xl font-bold",style:{fontFamily:"'DM Sans', sans-serif"},children:"Analytics"}),p.jsx("p",{"data-loc":"client/src/pages/Analytics.tsx:75",className:"text-white/40 text-xs",children:"Hook-Generator Nutzungsstatistiken"})]})]})}),p.jsxs("div",{"data-loc":"client/src/pages/Analytics.tsx:80",className:"container py-12 space-y-10",children:[p.jsxs("div",{"data-loc":"client/src/pages/Analytics.tsx:83",className:"grid grid-cols-2 md:grid-cols-4 gap-4",children:[p.jsx(sh,{"data-loc":"client/src/pages/Analytics.tsx:84",icon:p.jsx(Vn,{"data-loc":"client/src/pages/Analytics.tsx:84",size:18}),label:"Generierungen gesamt",value:u}),p.jsx(sh,{"data-loc":"client/src/pages/Analytics.tsx:85",icon:p.jsx(Ll,{"data-loc":"client/src/pages/Analytics.tsx:85",size:18}),label:"Hooks kopiert",value:c,sub:u>0?`${Math.round(c/u*100)}% Kopierrate`:void 0}),p.jsx(sh,{"data-loc":"client/src/pages/Analytics.tsx:86",icon:p.jsx(Sb,{"data-loc":"client/src/pages/Analytics.tsx:86",size:18}),label:"Kunden-Hooks",value:i,sub:u>0?`${Math.round(i/u*100)}% Anteil`:void 0}),p.jsx(sh,{"data-loc":"client/src/pages/Analytics.tsx:87",icon:p.jsx(Wo,{"data-loc":"client/src/pages/Analytics.tsx:87",size:18}),label:"Mitarbeiter-Hooks",value:o,sub:u>0?`${Math.round(o/u*100)}% Anteil`:void 0})]}),p.jsxs("div",{"data-loc":"client/src/pages/Analytics.tsx:91",className:"bg-white/5 border border-white/10 rounded-xl p-6",children:[p.jsx("h2",{"data-loc":"client/src/pages/Analytics.tsx:92",className:"text-lg font-bold mb-6 text-white",style:{fontFamily:"'DM Sans', sans-serif"},children:"Generierungen nach Ziel"}),u===0?p.jsx("p",{"data-loc":"client/src/pages/Analytics.tsx:94",className:"text-white/40",children:"Noch keine Daten vorhanden."}):p.jsx("div",{"data-loc":"client/src/pages/Analytics.tsx:96",className:"space-y-4",children:n?.byZiel.map(h=>p.jsxs("div",{"data-loc":"client/src/pages/Analytics.tsx:98",children:[p.jsxs("div",{"data-loc":"client/src/pages/Analytics.tsx:99",className:"flex justify-between mb-1",children:[p.jsx("span",{"data-loc":"client/src/pages/Analytics.tsx:100",className:"text-white/80 text-sm font-medium",children:A6[h.ziel]??h.ziel}),p.jsxs("span",{"data-loc":"client/src/pages/Analytics.tsx:101",className:"text-yellow-400 font-bold text-sm",children:[h.count,"×"]})]}),p.jsx("div",{"data-loc":"client/src/pages/Analytics.tsx:103",className:"h-3 bg-white/10 rounded-full overflow-hidden",children:p.jsx("div",{"data-loc":"client/src/pages/Analytics.tsx:104",className:"h-full bg-yellow-400 rounded-full transition-all",style:{width:`${Math.round(h.count/u*100)}%`}})})]},h.ziel))})]}),p.jsxs("div",{"data-loc":"client/src/pages/Analytics.tsx:116",className:"bg-white/5 border border-white/10 rounded-xl p-6",children:[p.jsx("h2",{"data-loc":"client/src/pages/Analytics.tsx:117",className:"text-lg font-bold mb-6 text-white",style:{fontFamily:"'DM Sans', sans-serif"},children:"Meistgekopierte Hook-Typen"}),c===0?p.jsx("p",{"data-loc":"client/src/pages/Analytics.tsx:119",className:"text-white/40",children:"Noch keine Hooks kopiert."}):p.jsx("div",{"data-loc":"client/src/pages/Analytics.tsx:121",className:"space-y-4",children:n?.copiesByTyp.filter(h=>h.hookTyp).sort((h,g)=>g.count-h.count).map(h=>p.jsxs("div",{"data-loc":"client/src/pages/Analytics.tsx:126",children:[p.jsxs("div",{"data-loc":"client/src/pages/Analytics.tsx:127",className:"flex justify-between mb-1",children:[p.jsx("span",{"data-loc":"client/src/pages/Analytics.tsx:128",className:"text-white/80 text-sm font-medium",children:S6[h.hookTyp]??h.hookTyp}),p.jsxs("span",{"data-loc":"client/src/pages/Analytics.tsx:129",className:"text-yellow-400 font-bold text-sm",children:[h.count,"× kopiert"]})]}),p.jsx("div",{"data-loc":"client/src/pages/Analytics.tsx:131",className:"h-3 bg-white/10 rounded-full overflow-hidden",children:p.jsx("div",{"data-loc":"client/src/pages/Analytics.tsx:132",className:"h-full bg-yellow-400/70 rounded-full transition-all",style:{width:`${Math.round(h.count/c*100)}%`}})})]},h.hookTyp))})]}),(n?.topBranchen?.length??0)>0&&p.jsxs("div",{"data-loc":"client/src/pages/Analytics.tsx:145",className:"bg-white/5 border border-white/10 rounded-xl p-6",children:[p.jsx("h2",{"data-loc":"client/src/pages/Analytics.tsx:146",className:"text-lg font-bold mb-6 text-white",style:{fontFamily:"'DM Sans', sans-serif"},children:"Top-Branchen"}),p.jsx("div",{"data-loc":"client/src/pages/Analytics.tsx:147",className:"space-y-3",children:n?.topBranchen.map((h,g)=>p.jsxs("div",{"data-loc":"client/src/pages/Analytics.tsx:149",className:"flex items-center gap-3",children:[p.jsxs("span",{"data-loc":"client/src/pages/Analytics.tsx:150",className:"text-white/30 text-sm w-5 text-right",children:[g+1,"."]}),p.jsx("span",{"data-loc":"client/src/pages/Analytics.tsx:151",className:"text-white/80 text-sm flex-1",children:h.branche??"Unbekannt"}),p.jsxs("span",{"data-loc":"client/src/pages/Analytics.tsx:152",className:"text-yellow-400 font-bold text-sm",children:[h.count,"×"]})]},h.branche))})]}),p.jsxs("div",{"data-loc":"client/src/pages/Analytics.tsx:160",className:"bg-white/5 border border-white/10 rounded-xl p-6",children:[p.jsxs("h2",{"data-loc":"client/src/pages/Analytics.tsx:161",className:"text-lg font-bold mb-6 text-white flex items-center gap-2",style:{fontFamily:"'DM Sans', sans-serif"},children:[p.jsx(nj,{"data-loc":"client/src/pages/Analytics.tsx:162",size:18,className:"text-yellow-400"})," Letzte Aktivitäten"]}),(n?.recentEvents?.length??0)===0?p.jsx("p",{"data-loc":"client/src/pages/Analytics.tsx:165",className:"text-white/40",children:"Noch keine Aktivitäten."}):p.jsx("div",{"data-loc":"client/src/pages/Analytics.tsx:167",className:"space-y-2",children:n?.recentEvents.map(h=>p.jsxs("div",{"data-loc":"client/src/pages/Analytics.tsx:169",className:"flex items-center gap-3 py-2 border-b border-white/5 last:border-0",children:[p.jsx("span",{"data-loc":"client/src/pages/Analytics.tsx:170",className:`text-xs font-bold px-2 py-0.5 rounded ${h.eventType==="generation"?"bg-yellow-400/20 text-yellow-400":"bg-blue-400/20 text-blue-400"}`,children:h.eventType==="generation"?"Generiert":"Kopiert"}),p.jsx("span",{"data-loc":"client/src/pages/Analytics.tsx:173",className:"text-white/60 text-sm",children:A6[h.ziel]??h.ziel}),h.hookTyp&&p.jsx("span",{"data-loc":"client/src/pages/Analytics.tsx:175",className:"text-white/40 text-xs",children:S6[h.hookTyp]??h.hookTyp}),h.branche&&p.jsx("span",{"data-loc":"client/src/pages/Analytics.tsx:178",className:"text-white/30 text-xs ml-auto",children:h.branche}),p.jsx("span",{"data-loc":"client/src/pages/Analytics.tsx:180",className:"text-white/20 text-xs",children:new Date(h.createdAt).toLocaleStr
308ing("de-DE",{day:"2-digit",month:"2-digit",hour:"2-digit",minute:"2-digit"})})]},h.id))})]})]})]})}const Pj=R.createContext({isComposing:()=>!1,setComposing:()=>{},justEndedComposing:()=>!1,markCompositionEnd:()=>{}}),jj=()=>R.useContext(Pj);function ih(e){const t=R.useRef(e);t.current=e;const n=R.useRef(null);return n.current||(n.current=function(...r){return t.current.apply(this,r)}),n.current}function Hj(e={}){const{onKeyDown:t,onCompositionStart:n,onCompositionEnd:r}=e,a=R.useRef(!1),i=R.useRef(null),o=R.useRef(null),u=ih(m=>{i.current&&(clearTimeout(i.current),i.current=null),o.current&&(clearTimeout(o.current),o.current=null),a.current=!0,n?.(m)}),c=ih(m=>{i.current=setTimeout(()=>{o.current=setTimeout(()=>{a.current=!1})}),r?.(m)}),h=ih(m=>{if(a.current&&(m.key==="Escape"||m.key==="Enter"&&!m.shiftKey)){m.stopPropagation();return}t?.(m)}),g=ih(()=>a.current);return{onCompositionStart:u,onCompositionEnd:c,onKeyDown:h,isComposing:g}}function Bs({className:e,type:t,onKeyDown:n,onCompositionStart:r,onCompositionEnd:a,...i}){const o=jj(),{onCompositionStart:u,onCompositionEnd:c,onKeyDown:h}=Hj({onKeyDown:g=>{const m=g.nativeEvent.isComposing||o.justEndedComposing();g.key==="Enter"&&m||n?.(g)},onCompositionStart:g=>{o.setComposing(!0),r?.(g)},onCompositionEnd:g=>{o.markCompositionEnd(),setTimeout(()=>{o.setComposing(!1)},100),a?.(g)}});return p.jsx("input",{"data-loc":"client/src/components/ui/input.tsx:53",type:t,"data-slot":"input",className:Qi("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:h,...i})}const N6="darvismedia_last_email";function Bj(){const[e,t]=R.useState(""),[n,r]=R.useState(!1),[a,i]=R.useState(""),[o,u]=R.useState(null),[c,h]=R.useState(!1);R.useEffect(()=>{const C=localStorage.getItem(N6);C&&(u(C),t(C))},[]);const g=ct.auth.sendMagicLink.useMutation({onSuccess:()=>{localStorage.setItem(N6,e.trim()),r(!0)},onError:C=>i(C.message)}),m=C=>{if(C.preventDefault(),i(""),!e.trim()){i("Bitte E-Mail-Adresse eingeben");return}g.mutate({email:e.trim(),origin:window.location.origin})},x=()=>{o&&(i(""),t(o),g.mutate({email:o,origin:window.location.origin}))},y=new URLSearchParams(window.location.search),E=y.get("error"),_=y.get("email"),N={missing_token:"Kein Login-Token gefunden.",invalid_token:"Ungültiger Login-Link.",token_used:"Dieser Login-Link wurde bereits verwendet.",token_expired:"Der Login-Link ist abgelaufen. Bitte fordere einen neuen an.",server_error:"Ein Fehler ist aufgetreten. Bitte versuche es erneut."};R.useEffect(()=>{E&&_&&t(decodeURIComponent(_))},[E,_]);const A=()=>{if(!e.trim()){i("Bitte E-Mail-Adresse eingeben");return}i(""),g.mutate({email:e.trim(),origin:window.location.origin})};return p.jsxs("div",{"data-loc":"client/src/pages/Login.tsx:78",className:"min-h-screen bg-[#0f172a] flex flex-col items-center justify-center px-4",children:[p.jsxs("div",{"data-loc":"client/src/pages/Login.tsx:80",className:"mb-10 text-center",children:[p.jsxs("div",{"data-loc":"client/src/pages/Login.tsx:81",className:"text-3xl font-extrabold tracking-tight",children:[p.jsx("span",{"data-loc":"client/src/pages/Login.tsx:82",className:"text-yellow-400",children:"DARVIS"}),p.jsx("span",{"data-loc":"client/src/pages/Login.tsx:83",className:"text-white",children:"media"})]}),p.jsx("div",{"data-loc":"client/src/pages/Login.tsx:85",className:"text-slate-400 text-sm mt-1 font-medium",children:"Hook-Generator"})]}),p.jsx("div",{"data-loc":"client/src/pages/Login.tsx:88",className:"w-full max-w-md",children:n?p.jsxs("div",{"data-loc":"client/src/pages/Login.tsx:224",className:"bg-white/5 border border-white/10 rounded-2xl p-8 text-center",children:[p.jsx("div",{"data-loc":"client/src/pages/Login.tsx:225",className:"w-16 h-16 bg-yellow-400/10 rounded-full flex items-center justify-center mx-auto mb-4",children:p.jsx(Zh,{"data-loc":"client/src/pages/Login.tsx:226",className:"w-8 h-8 text-yellow-400"})}),p.jsx("h2",{"data-loc":"client/src/pages/Login.tsx:228",className:"text-2xl font-bold text-white mb-2",children:"Schau in dein Postfach!"}),p.jsx("p",{"data-loc":"client/src/pages/Login.tsx:229",className:"text-slate-400 text-sm mb-1",children:"Wir haben einen Login-Link an"}),p.jsx("p",{"data-loc":"client/src/pages/Login.tsx:232",className:"text-yellow-400 font-semibold mb-4",children:e}),p.jsxs("p",{"data-loc":"client/src/pages/Login.tsx:233",className:"text-slate-400 text-sm mb-6",children:["Der Link ist ",p.jsx("strong",{"data-loc":"client/src/pages/Login.tsx:234",className:"text-white",children:"15 Minuten"})," gültig. Schau auch im Spam-Ordner nach."]}),p.jsxs(tt,{"data-loc":"client/src/pages/Login.tsx:236",variant:"outline",className:"border-white/20 text-slate-300 hover:bg-white/5",onClick:()=>{r(!1),h(!1),t(o||"")},children:[p.jsx(Lh,{"data-loc":"client/src/pages/Login.tsx:241",className:"w-4 h-4 mr-2"})," Anderen Link anfordern"]})]}):p.jsxs("div",{"data-loc":"client/src/pages/Login.tsx:90",className:"bg-white/5 border border-white/10 rounded-2xl p-8",children:[p.jsx("h1",{"data-loc":"client/src/pages/Login.tsx:91",className:"text-2xl font-bold text-white mb-2",children:"Einloggen"}),(E||a)&&p.jsxs("div",{"data-loc":"client/src/pages/Login.tsx:94",className:"bg-red-500/10 border border-red-500/30 rounded-lg p-4 mb-4",children:[p.jsx("p",{"data-loc":"client/src/pages/Login.tsx:95",className:"text-red-400 text-sm mb-3",children:E?N[E]||"Unbekannter Fehler.":a}),E&&p.jsxs("div",{"data-loc":"client/src/pages/Login.tsx:99",className:"flex gap-2",children:[p.jsx(tt,{"data-loc":"client/src/pages/Login.tsx:100",size:"sm",className:"flex-1 bg-yellow-400 hover:bg-yellow-300 text-[#0f172a] font-semibold",onClick:A,disabled:g.isPending,children:g.isPending?p.jsxs(p.Fragment,{children:[p.jsx(Xt,{"data-loc":"client/src/pages/Login.tsx:107",className:"w-3 h-3 mr-1.5 animate-spin"})," Wird gesendet..."]}):p.jsxs(p.Fragment,{children:[p.jsx(X1,{"data-loc":"client/src/pages/Login.tsx:109",className:"w-3 h-3 mr-1.5"})," Neuen Link anfordern"]})}),p.jsxs(tt,{"data-loc":"client/src/pages/Login.tsx:112",size:"sm",variant:"outline",className:"flex-1 border-white/20 text-slate-300 hover:bg-white/5",onClick:()=>{window.history.replaceState({},document.title,window.location.pathname),i(""),t(""),r(!1)},children:[p.jsx(Lh,{"data-loc":"client/src/pages/Login.tsx:124",className:"w-3 h-3 mr-1.5"})," Zurück"]})]})]}),o&&!c?p.jsxs("div",{"data-loc":"client/src/pages/Login.tsx:133",className:"space-y-3",children:[p.jsx("p",{"data-loc":"client/src/pages/Login.tsx:134",className:"text-slate-400 text-sm mb-4",children:"Willkommen zurück! Sollen wir den Link an diese Adresse senden?"}),p.jsxs("div",{"data-loc":"client/src/pages/Login.tsx:139",className:"bg-white/5 border border-white/10 rounded-xl px-4 py-3 flex items-center gap-3",children:[p.jsx(X1,{"data-loc":"client/src/pages/Login.tsx:140",className:"w-4 h-4 text-yellow-400 flex-shrink-0"}),p.jsx("span",{"data-loc":"client/src/pages/Login.tsx:141",className:"text-white font-medium text-sm truncate",children:o})]}),p.jsx(tt,{"data-loc":"client/src/pages/Login.tsx:145",className:"w-full bg-yellow-400 hover:bg-yellow-300 text-[#0f172a] font-bold h-12 text-base",onClick:x,disabled:g.isPending,children:g.isPending?p.jsxs(p.Fragment,{children:[p.jsx(Xt,{"data-loc":"client/src/pages/Login.tsx:151",className:"w-4 h-4 mr-2 animate-spin"})," Wird gesendet..."]}):p.jsxs(p.Fragment,{children:[p.jsx(Vn,{"data-loc":"client/src/pages/Login.tsx:153",className:"w-4 h-4 mr-2"})," Magic-Link senden"]})}),p.jsxs("button",{"data-loc":"client/src/pages/Login.tsx:158",type:"button",onClick:()=>{h(!0),t("")},className:"w-full flex items-center justify-center gap-1.5 text-slate-500 text-sm hover:text-slate-300 transition-colors py-1",children:[p.jsx(fu,{"data-loc":"client/src/pages/Login.tsx:163",className:"w-3.5 h-3.5"}),"Andere E-Mail-Adresse verwenden"]})]}):p.jsxs(p.Fragment,{children:[p.jsx("p",{"data-loc":"client/src/pages/Login.tsx:170",className:"text-slate-400 text-sm mb-6",children:"Gib deine E-Mail-Adresse ein. Wir senden dir einen Magic-Link – kein Passwort nötig."}),p.jsxs("form",{"data-loc":"client/src/pages/Login.tsx:173",onSubmit:m,className:"space-y-4",children:[p.jsxs("div",{"data-loc":"client/src/pages/Login.tsx:174",children:[p.jsx("label",{"data-loc":"client/src/pages/Login.tsx:175",className:"block text-sm font-medium text-slate-300 mb-1.5",children:"E-Mail-Adresse"}),p.jsx(Bs,{"data-loc":"client/src/pages/Login.tsx:178",type:"email",placeholder:"[email protected]",value:e,onCh
308ange:C=>t(C.target.value),className:"bg-white/5 border-white/20 text-white placeholder:text-slate-500 focus:border-yellow-400 focus:ring-yellow-400/20",autoFocus:!0,disabled:g.isPending})]}),p.jsx(tt,{"data-loc":"client/src/pages/Login.tsx:188",type:"submit",className:"w-full bg-yellow-400 hover:bg-yellow-300 text-[#0f172a] font-bold h-11",disabled:g.isPending,children:g.isPending?p.jsxs(p.Fragment,{children:[p.jsx(Xt,{"data-loc":"client/src/pages/Login.tsx:194",className:"w-4 h-4 mr-2 animate-spin"})," Wird gesendet..."]}):p.jsxs(p.Fragment,{children:[p.jsx(X1,{"data-loc":"client/src/pages/Login.tsx:196",className:"w-4 h-4 mr-2"})," Magic-Link senden"]})})]}),o&&c&&p.jsxs("button",{"data-loc":"client/src/pages/Login.tsx:203",type:"button",onClick:()=>{h(!1),t(o)},className:"w-full flex items-center justify-center gap-1.5 text-slate-500 text-sm hover:text-slate-300 transition-colors mt-3 py-1",children:[p.jsx(Lh,{"data-loc":"client/src/pages/Login.tsx:208",className:"w-3.5 h-3.5"}),"Zurück zu ",o]})]}),p.jsxs("p",{"data-loc":"client/src/pages/Login.tsx:215",className:"text-slate-500 text-xs mt-6 text-center",children:["Mit dem Login stimmst du unserer"," ",p.jsx("a",{"data-loc":"client/src/pages/Login.tsx:217",href:"https://www.darvismedia.de/datenschutz",target:"_blank",rel:"noopener noreferrer",className:"text-slate-400 hover:text-yellow-400 underline",children:"Datenschutzerklärung"})," ","zu."]})]})})]})}const js=R.forwardRef(({value:e,onChange:t,placeholder:n,className:r="",disabled:a,minRows:i=1,maxRows:o,onKeyDown:u},c)=>{const h=R.useRef(null),g=c??h,m=R.useCallback(()=>{const x=g.current;if(x)if(x.style.height="auto",o){const E=o*22.75+20,_=Math.min(x.scrollHeight,E);x.style.height=_+"px",x.style.overflowY=x.scrollHeight>E?"auto":"hidden"}else x.style.height=x.scrollHeight+"px",x.style.overflowY="hidden"},[g,o]);return R.useEffect(()=>{m()},[e,m]),p.jsx("textarea",{"data-loc":"client/src/components/AutoResizeTextarea.tsx:45",ref:g,value:e,onChange:x=>{t(x.target.value),m()},onInput:m,onKeyDown:u,placeholder:n,disabled:a,rows:i,className:`w-full resize-none leading-relaxed ${r}`,style:{minHeight:`${i*1.625*14+20}px`}})});js.displayName="AutoResizeTextarea";function zj(e){const t=e+"CollectionProvider",[n,r]=v0(t),[a,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),o=_=>{const{scope:N,children:A}=_,C=ke.useRef(null),M=ke.useRef(new Map).current;return p.jsx(a,{scope:N,itemMap:M,collectionRef:C,children:A})};o.displayName=t;const u=e+"CollectionSlot",c=Yh(u),h=ke.forwardRef((_,N)=>{const{scope:A,children:C}=_,M=i(u,A),X=Aa(N,M.collectionRef);return p.jsx(c,{ref:X,children:C})});h.displayName=u;const g=e+"CollectionItemSlot",m="data-radix-collection-item",x=Yh(g),y=ke.forwardRef((_,N)=>{const{scope:A,children:C,...M}=_,X=ke.useRef(null),G=Aa(N,X),P=i(g,A);return ke.useEffect(()=>(P.itemMap.set(X,{ref:X,...M}),()=>void P.itemMap.delete(X))),p.jsx(x,{[m]:"",ref:G,children:C})});y.displayName=g;function E(_){const N=i(e+"CollectionConsumer",_);return ke.useCallback(()=>{const C=N.collectionRef.current;if(!C)return[];const M=Array.from(C.querySelectorAll(`[${m}]`));return Array.from(N.itemMap.values()).sort((P,B)=>M.indexOf(P.ref.current)-M.indexOf(B.ref.current))},[N.collectionRef,N.itemMap])}return[{Provider:o,Slot:h,ItemSlot:y},E,r]}var Qf="Collapsible",[Uj,GT]=v0(Qf),[Fj,J2]=Uj(Qf),$T=R.forwardRef((e,t)=>{const{__scopeCollapsible:n,open:r,defaultOpen:a,disabled:i,onOpenChange:o,...u}=e,[c,h]=U2({prop:r,defaultProp:a??!1,onChange:o,caller:Qf});return p.jsx(Fj,{scope:n,disabled:i,contentId:Hw(),open:c,onOpenToggle:R.useCallback(()=>h(g=>!g),[h]),children:p.jsx(pa.div,{"data-state":tx(c),"data-disabled":i?"":void 0,...u,ref:t})})});$T.displayName=Qf;var VT="CollapsibleTrigger",YT=R.forwardRef((e,t)=>{const{__scopeCollapsible:n,...r}=e,a=J2(VT,n);return p.jsx(pa.button,{type:"button","aria-controls":a.contentId,"aria-expanded":a.open||!1,"data-state":tx(a.open),"data-disabled":a.disabled?"":void 0,disabled:a.disabled,...r,ref:t,onClick:Ta(e.onClick,a.onOpenToggle)})});YT.displayName=VT;var ex="CollapsibleContent",QT=R.forwardRef((e,t)=>
vendor: 4,141 bytes, line 308
308{const{forceMount:n,...r}=e,a=J2(ex,e.__scopeCollapsible);return p.jsx(z2,{present:n||a.open,children:({present:i})=>p.jsx(qj,{...r,ref:t,present:i})})});QT.displayName=ex;var qj=R.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:r,children:a,...i}=e,o=J2(ex,n),[u,c]=R.useState(r),h=R.useRef(null),g=Aa(t,h),m=R.useRef(0),x=m.current,y=R.useRef(0),E=y.current,_=o.open||u,N=R.useRef(_),A=R.useRef(void 0);return R.useEffect(()=>{const C=requestAnimationFrame(()=>N.current=!1);return()=>cancelAnimationFrame(C)},[]),zi(()=>{const C=h.current;if(C){A.current=A.current||{transitionDuration:C.style.transitionDuration,animationName:C.style.animationName},C.style.transitionDuration="0s",C.style.animationName="none";const M=C.getBoundingClientRect();m.current=M.height,y.current=M.width,N.current||(C.style.transitionDuration=A.current.transitionDuration,C.style.animationName=A.current.animationName),c(r)}},[o.open,r]),p.jsx(pa.div,{"data-state":tx(o.open),"data-disabled":o.disabled?"":void 0,id:o.contentId,hidden:!_,...i,ref:g,style:{"--radix-collapsible-content-height":x?`${x}px`:void 0,"--radix-collapsible-content-width":E?`${E}px`:void 0,...e.style},children:_&&a})});function tx(e){return e?"open":"closed"}var Gj=$T,$j=YT,Vj=QT,Yj=R.createContext(void 0);function Qj(e){const t=R.useContext(Yj);return e||t||"ltr"}var Ra="Accordion",Wj=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[nx,Kj,Xj]=zj(Ra),[Wf]=v0(Ra,[Xj,GT]),rx=GT(),WT=ke.forwardRef((e,t)=>{const{type:n,...r}=e,a=r,i=r;return p.jsx(nx.Provider,{scope:e.__scopeAccordion,children:n==="multiple"?p.jsx(tH,{...i,ref:t}):p.jsx(eH,{...a,ref:t})})});WT.displayName=Ra;var[KT,Zj]=Wf(Ra),[XT,Jj]=Wf(Ra,{collapsible:!1}),eH=ke.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:a=()=>{},collapsible:i=!1,...o}=e,[u,c]=U2({prop:n,defaultProp:r??"",onChange:a,caller:Ra});return p.jsx(KT,{scope:e.__scopeAccordion,value:ke.useMemo(()=>u?[u]:[],[u]),onItemOpen:c,onItemClose:ke.useCallback(()=>i&&c(""),[i,c]),children:p.jsx(XT,{scope:e.__scopeAccordion,collapsible:i,children:p.jsx(ZT,{...o,ref:t})})})}),tH=ke.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:a=()=>{},...i}=e,[o,u]=U2({prop:n,defaultProp:r??[],onChange:a,caller:Ra}),c=ke.useCallback(g=>u((m=[])=>[...m,g]),[u]),h=ke.useCallback(g=>u((m=[])=>m.filter(x=>x!==g)),[u]);return p.jsx(KT,{scope:e.__scopeAccordion,value:o,onItemOpen:c,onItemClose:h,children:p.jsx(XT,{scope:e.__scopeAccordion,collapsible:!0,children:p.jsx(ZT,{...i,ref:t})})})}),[nH,Kf]=Wf(Ra),ZT=ke.forwardRef((e,t)=>{const{__scopeAccordion:n,disabled:r,dir:a,orientation:i="vertical",...o}=e,u=ke.useRef(null),c=Aa(u,t),h=Kj(n),m=Qj(a)==="ltr",x=Ta(e.onKeyDown,y=>{if(!Wj.includes(y.key))return;const E=y.target,_=h().filter(Z=>!Z.ref.current?.disabled),N=_.findIndex(Z=>Z.ref.current===E),A=_.length;if(N===-1)return;y.preventDefault();let C=N;const M=0,X=A-1,G=()=>{C=N+1,C>X&&(C=M)},P=()=>{C=N-1,C<M&&(C=X)};switch(y.key){case"Home":C=M;break;case"End":C=X;break;case"ArrowRight":i==="horizontal"&&(m?G():P());break;case"ArrowDown":i==="vertical"&&G();break;case"ArrowLeft":i==="horizontal"&&(m?P():G());break;case"ArrowUp":i==="vertical"&&P();break}const B=C%A;_[B].ref.current?.focus()});return p.jsx(nH,{scope:n,disabled:r,direction:a,orientation:i,children:p.jsx(nx.Slot,{scope:n,children:p.jsx(pa.div,{...o,"data-orientation":i,ref:c,onKeyDown:r?void 0:x})})})}),Jh="AccordionItem",[rH,ax]=Wf(Jh),JT=ke.forwardRef((e,t)=>{const{__scopeAccordion:n,value:r,...a}=e,i=Kf(Jh,n),o=Zj(Jh,n),u=rx(n),c=Hw(),h=r&&o.value.includes(r)||!1,g=i.disabled||e.disabled;return p.jsx(rH,{scope:n,open:h,disabled:g,triggerId:c,children:p.jsx(Gj,{"data-orientation":i.orientation,"data-state":s_(h),...u,...a,ref:t,disabled:g,open:h,onOpenChange:m=>{m?o.onItemOpen(r):o.onItemClose(r)}})})});JT.displayName=Jh;var e_="AccordionHeader",t_=ke.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,a=Kf(Ra,n),i=ax(e_,n);return p.jsx(pa.h3,{"data-orientation":a.orientation,"data-state":s_(i.open),"data-disabled":i.disabled?"":void 0,...r,ref:t})});t_.displayName=e_;var Nb="AccordionTrigger",n_=ke.forwardRef((e,t)=>
308{const{__scopeAccordion:n,...r}=e,a=Kf(Ra,n),i=ax(Nb,n),o=Jj(Nb,n),u=rx(n);return p.jsx(nx.ItemSlot,{scope:n,children:p.jsx($j,{"aria-disabled":i.open&&!o.collapsible||void 0,"data-orientation":a.orientation,id:i.triggerId,...u,...r,ref:t})})});n_.displayName=Nb;var r_="AccordionContent",a_=ke.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,a=Kf(Ra,n),i=ax(r_,n),o=rx(n);return p.jsx(Vj,{role:"region","aria-labelledby":i.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}})});a_.displayName=r_;function s_(e){return e?"open":"closed"}var aH=WT,sH=JT,iH=t_,lH=n_,oH=a_;function Cb({...e}){return p.jsx(aH,{"data-loc":"client/src/components/ui/accordion.tsx:10","data-slot":"accordion",...e})}function Qa({className:e,...t}){return p.jsx(sH,{"data-loc":"client/src/components/ui/accordion.tsx:18","data-slot":"accordion-item",className:Qi("border-b last:border-b-0",e),...t})}function Wa({className:e,children:t,...n}){return p.jsx(iH,{"data-loc":"client/src/components/ui/accordion.tsx:32",className:"flex",children:p.jsxs(lH,{"data-loc":"client/src/components/ui/accordion.tsx:33","data-slot":"accordion-trigger",className:Qi("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,p.jsx(fu,{"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 Ka({className:e,children:t,...n}){return p.jsx(oH,{"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:p.jsx("div",{"data-loc":"client/src/components/ui/accordion.tsx:59",className:Qi("pt-0 pb-4",e),children:t})})}const i_=[{value:"emotion",label:"Emotions-Hook",desc:'"Kennst du das Gefühl...?" – Holt die Zielgruppe emotional ab',color:"border-blue-500/30 bg-blue-500/5",activeColor:"border-blue-400 bg-blue-500/15",badge:"bg-blue-500/10 text-blue-400 border-blue-500/20"},{value:"statement",label:"Statement-Hook",desc:"Provokante Aussage + Begründung – Positioniert als Experte",color:"border-purple-500/30 bg-purple-500/5",activeColor:"border-purple-400 bg-purple-500/15",badge:"bg-purple-500/10 text-purple-400 border-purple-500/20"},{value:"indirect",label:"Indirekter Hook",desc:'"Wer von euch...?" – Perfekt für Recruiting',color:"border-green-500/30 bg-green-500/5",activeColor:"border-green-400 bg-green-500/15",badge:"bg-green-500/10 text-green-400 border-green-500/20"},{value:"alle",label:"Alle 3 Typen",desc:"Generiert je einen Hook pro Typ – maximale Auswahl",color:"border-yellow-500/30 bg-yellow-500/5",activeColor:"border-yellow-400 bg-yellow-500/15",badge:"bg-yellow-500/10 text-yellow-400 border-yellow-500/20"}],uH={emotion:"bg-blue-500/10 text-blue-400 border-blue-500/20",statement:"bg-purple-500/10 text-purple-400 border-purple-500/20",indirect:"bg-green-500/10 text-green-400 border-green-500/20"},cH={emotion:"Emotions-Hook",statement:"Statement-Hook",indirect:"Indirekter Hook"};function C6({kontext:e,isEditing:t,entwurf:n,isLoading:r,isSaving:a,isGenerating:i,onEdit:o,onSave:u,onAbort:c,onEntwurfChange:h,onRegenerate:g}){return p.jsxs("div",{"data-loc":"client/src/pages/HookGenerator.tsx:91",className:"space-y-2",children:[p.jsxs("div",{"data-loc":"client/src/pages/HookGenerator.tsx:92",className:"flex items-center justify-between",children:[p.jsx("span",{"data-loc":"client/src/pages/HookGenerator.tsx:93",className:"text-slate-400 text-xs",children:"Wird als Basis für die KI verwendet"}),!t&&p.jsxs("div",{"data-loc":"client/src/pages/HookGenerator.tsx:95",className:"flex items-center gap-1",children:[p.jsx("button",{"data-loc":"client/src/pages/HookGenerator.tsx:96",onClick:o,className:"p-1.5 rounded-lg text-slate-400 hover:text-white hover:bg-white/10 transition-all",title:"Bearbeiten",children:p.jsx(Ph,{"data-loc":"client/src/pages/HookGenerator.tsx:101",className:"w-3.5 h-3.5"})}),p.jsx("button",{"data-loc":"client/src/pages/HookGenerator.tsx:103",onClick:g,disabled:i,className:"p-1.5 rounded-lg text-slate-400 hover:text-yellow-400 hover:bg-yellow-400/10 transition-all",title:"Neu generieren",children:i?p.jsx(Xt,{"data-loc":"client/src/pages/HookGenerator.tsx:110",className:"w-3.5 h-3.5 animate-spin"}):p.jsx(Vf,{"data-loc":"client/src/pages/HookGenerator.tsx:111",className:"w-3.5 h-3.5"})})]})]}),t?p.jsxs("div",{"data-loc":"client/src/pages/HookGenerator.tsx:117",className:"space-y-2",children:[p.jsx(js,{"data-loc":"client/src/pages/HookGenerator.tsx:118",value:n,onChange:h,className:"bg-white/5 border-white/20 text-white placeholder:text-slate-500 text-sm",placeholder:"Beschreibe dein Unternehmen in 2-3 Sätzen..."}),p.jsxs("div",{"data-loc":"client/src/pages/HookGenerator.tsx:124",className:"flex gap-2",children:[p.jsxs(tt,{"data-loc":"client/src/pages/HookGenerator.tsx:125",size:"sm",className:"bg-yellow-400 hover:bg-yellow-300 text-[#0f172a] font-bold h-8 text-xs",onClick:u,disabled:a,children:[p.jsx(Mh,{"data-loc":"client/src/pages/HookGenerator.tsx:126",className:"w-3.5 h-3.5 mr-1"})," Speichern"]}),p.jsxs(tt,{"data-loc":"client/src/pages/HookGenerator.tsx:128",size:"sm",variant:"ghost",className:"text-slate-400 hover:text-white h-8 text-xs",onClick:c,children:[p.jsx(jh,{"data-loc":"client/src/pages/HookGenerator.tsx:129",className:"w-3.5 h-3.5 mr-1"})," Abbrechen"]})]})]}):r?p.jsxs("div",{"data-loc":"client/src/pages/HookGenerator.tsx:134",className:"flex items-center gap-2 text-slate-400 text-sm",children:[p.jsx(Xt,{"data-loc":"client/src/pages/HookGenerator.tsx:135",className:"w-4 h-4 animate-spin"})," Lade Profil..."]}):e?p.jsx("p",{"data-loc":"client/src/pages/HookGenerator.tsx:138",className:"text-slate-300 text-sm leading-relaxed bg-white/3 rounded-xl p-3 border border-white/5",children:e}):p.jsxs("div",{"data-loc":"client/src/pages/HookGenerator.tsx:140",className:"text-center py-2",children:[p.jsx("p",{"data-loc":"client/src/pages/HookGenerator.tsx:141",className:"text-slate-500 text-sm mb-2",children:"Noch keine Zusammenfassung vorhanden"}),p.jsx(tt,{"data-loc":"client/src/pages/HookGenerator.tsx:142",size:"sm",className:"bg-yellow-400/10 hover:bg-yellow-400/20 text-yellow-400 border border-yellow-400/20 h-8 text-xs",onClick:g,disabled:i,children:i?p.jsxs(p.Fragment,{children:[p.jsx(Xt,{"data-loc":"client/src/pages/HookGenerator.tsx:144",className:"w-3.5 h-3.5 mr-1 animate-spin"})," Generiere..."]}):p.jsxs(p.Fragment,{children:[p.jsx(qi,{"data-loc":"client/src/pages/HookGenerator.tsx:145",className:"w-3.5 h-3.5 mr-1"})," KI-Zusammenfassung erstellen"]})})]})]})}
308function O6({ziel:e,onChange:t}){return p.jsx("div",{"data-loc":"client/src/pages/HookGenerator.tsx:160",className:"grid grid-cols-2 gap-2",children:[{value:"kunden",icon:"🎯",label:"Kunden gewinnen"},{value:"mitarbeiter",icon:"👥",label:"Mitarbeiter finden"}].map(n=>p.jsxs("button",{"data-loc":"client/src/pages/HookGenerator.tsx:165",onClick:()=>t(n.value),className:`py-3 rounded-xl text-sm font-semibold transition-all border flex flex-col items-center gap-1.5 ${e===n.value?"bg-yellow-400/15 border-yellow-400 text-yellow-400 shadow-[0_0_12px_rgba(250,204,21,0.2)]":"bg-white/5 border-white/10 text-slate-400 hover:bg-white/10 hover:text-slate-200"}`,children:[p.jsx("span",{"data-loc":"client/src/pages/HookGenerator.tsx:174",className:`text-xl transition-all ${e===n.value?"scale-110":"opacity-60"}`,children:n.icon}),p.jsx("span",{"data-loc":"client/src/pages/HookGenerator.tsx:175",children:n.label})]},n.value))})}function R6({hookTyp:e,onChange:t}){return p.jsx("div",{"data-loc":"client/src/pages/HookGenerator.tsx:189",className:"space-y-2",children:i_.map(n=>{const r=e===n.value;return p.jsxs("button",{"data-loc":"client/src/pages/HookGenerator.tsx:193",onClick:()=>t(n.value),className:`w-full px-4 py-3 rounded-xl text-left transition-all border ${r?n.activeColor+" shadow-md":n.color+" hover:opacity-80"}`,children:[p.jsxs("div",{"data-loc":"client/src/pages/HookGenerator.tsx:200",className:"flex items-center justify-between",children:[p.jsx("span",{"data-loc":"client/src/pages/HookGenerator.tsx:201",className:`font-semibold text-sm transition-all ${r?"text-white":"text-slate-300"}`,children:n.label}),p.jsx("span",{"data-loc":"client/src/pages/HookGenerator.tsx:204",className:`text-xs px-2 py-0.5 rounded-full border transition-all ${r?n.badge+" opacity-100":"opacity-0"}`,children:"✓ aktiv"})]}),p.jsx("p",{"data-loc":"client/src/pages/HookGenerator.tsx:206",className:`text-xs mt-0.5 transition-all ${r?"text-slate-300":"text-slate-500"}`,children:n.desc})]},n.value)})})}function D6({value:e,onChange:t}){return p.jsxs("div",{"data-loc":"client/src/pages/HookGenerator.tsx:221",className:"space-y-2",children:[p.jsx("p",{"data-loc":"client/src/pages/HookGenerator.tsx:222",className:"text-slate-500 text-xs",children:"Was soll im Video passieren? Format, Szene, Inhalt..."}),p.jsx(js,{"data-loc":"client/src/pages/HookGenerator.tsx:223",placeholder:"z.B. Ich zeige eine Vorher-Nachher-Aufnahme und spreche direkt in die Kamera.",value:e,onChange:t,className:"bg-white/5 border-white/20 text-white placeholder:text-slate-500 text-sm"})]})}function L6({value:e,onChange:t,profilZielgruppe:n}){return p.jsxs("div",{"data-loc":"client/src/pages/HookGenerator.tsx:241",className:"space-y-2",children:[p.jsxs("p",{"data-loc":"client/src/pages/HookGenerator.tsx:242",className:"text-slate-500 text-xs",children:["Aktuell aus Profil: ",p.jsx("span",{"data-loc":"client/src/pages/HookGenerator.tsx:243",className:"text-slate-400",children:n||"nicht gesetzt"})]}),p.jsx(js,{"data-loc":"client/src/pages/HookGenerator.tsx:245",placeholder:"z.B. Nur Hausbesitzer in Freiburg, die renovieren wollen – keine Mieter",value:e,onChange:t,className:"bg-white/5 border-white/20 text-white placeholder:text-slate-500 text-sm"})]})}function I6({isPending:e,generierteHooks:t,analyse:n,platform:r="instagram",onNeu:a,onCopy:i,onSave:o,onFeedback:u,gespeicherteHookTexte:c=new Set,hookFeedback:h=new Map}){return p.jsxs("div",{"data-loc":"client/src/pages/HookGenerator.tsx:270",children:[e&&p.jsxs("div",{"data-loc":"client/src/pages/HookGenerator.tsx:272",className:"bg-white/5 border border-white/10 rounded-xl p-6 text-center",children:[p.jsx(Xt,{"data-loc":"client/src/pages/HookGenerator.tsx:273",className:"w-8 h-8 text-yellow-400 animate-spin mx-auto mb-2"}),p.jsx("p",{"data-loc":"client/src/pages/HookGenerator.tsx:274",className:"text-white font-semibold text-sm",children:"KI generiert deine Hooks..."}),p.jsx("p",{"data-loc":"client/src/pages/HookGenerator.tsx:275",className:"text-slate-400 text-xs mt-1",children:"Ca. 10–20 Sekunden"})]}),!e&&!t&&p.jsxs("div",{"data-loc":"client/src/pages/HookGenerator.tsx:279",className:"bg-white/5 border border-white/10 rounded-xl p-6 text-center",children:[p.jsx(Vn,{"data-loc":"client/src/pages/HookGenerator.tsx:280",className:"w-8 h-8 text-slate-600 mx-auto mb-2"}),p.jsx("p",{"data-loc":"client/src/pages/HookGenerator.tsx:281",className:"text-slate-400 text-sm",children:'Klicke auf „Hooks generieren" um zu starten'})]}),t&&!e&&p.jsxs("div",{"data-loc":"client/src/pages/HookGenerator.tsx:285",className:"space-y-3",children:[n&&p.jsxs("div",{"data-loc":"client/src/pages/HookGenerator.tsx:287",className:"bg-yellow-400/5 border border-yellow-400/20 rounded-xl p-3",children:[p.jsxs("p",{"data-loc":"client/src/pages/HookGenerator.tsx:288",className:"text-yellow-400 text-xs font-semibold mb-1 flex items-center gap-1",children:[p.jsx(qi,{"data-loc":"client/src/pages/HookGenerator.tsx:289",className:"w-3.5 h-3.5"})," KI-Verständnis"]}),p.jsx("p",{"data-loc":"client/src/pages/HookGenerator.tsx:291",className:"text-slate-300 text-sm leading-relaxed",children:n.zusammenfassung})]}),p.jsxs("div",{"data-loc":"client/src/pages/HookGenerator.tsx:294",className:"flex items-center justify-between",children:[p.jsx("span",{"data-loc":"client/src/pages/HookGenerator.tsx:295",className:"text-white font-semibold text-sm",children:"Generierte Hooks"}),p.jsxs(tt,{"data-loc":"client/src/pages/HookGenerator.tsx:296",variant:"ghost",size:"sm",className:"text-slate-400 hover:text-white h-7 text-xs",onClick:a,disabled:e,children:[p.jsx(Vf,{"data-loc":"client/src/pages/HookGenerator.tsx:297",className:"w-3.5 h-3.5 mr-1"})," Neu"]})]}),Object.entries(t).map(([g,m])=>{if(!m)return null;const x=g;return p.jsxs("div",{"data-loc":"client/src/pages/HookGenerator.tsx:304",className:"bg-white/5 border border-white/10 rounded-xl p-4",children:[p.jsx("span",{"data-loc":"client/src/pages/HookGenerator.tsx:305",className:`text-xs font-semibold px-2 py-0.5 rounded-full border ${uH[x]}`,children:cH[x]}),r==="linkedin"?p.jsx("div",{"data-loc":"client/src/pages/HookGenerator.tsx:310",className:"text-white text-sm leading-relaxed mt-3 mb-3 space-y-2",children:(typeof m=="string"?m:m?.text??"").split(`
309
310`).map((y,E)=>p.jsx("p",{"data-loc":"client/src/pages/HookGenerator.tsx:312",className:"text-white text-sm leading-relaxed",children:y},E))}):p.jsx("p",{"data-loc":"client/src/pages/HookGenerator.tsx:318",className:"text-white text-sm leading-relaxed mt-3 mb-3",children:typeof m=="string"?m:m?.text??""}),p.jsxs("div",{"data-loc":"client/src/pages/HookGenerator.tsx:320",className:"flex items-center gap-2 flex-wrap",children:[p.jsxs(tt,{"data-loc":"client/src/pages/HookGenerator.tsx:321",size:"sm",variant:"ghost",className:"text-slate-400 hover:text-white hover:bg-white/10 h-7 text-xs",onClick:()=>i(typeof m=="string"?m:m?.text??""),children:[p.jsx(Ll,{"data-loc":"client/src/pages/HookGenerator.tsx:322",className:"w-3.5 h-3.5 mr-1"})," Kopieren"]}),p.jsxs(tt,{"data-loc":"client/src/pages/HookGenerator.tsx:324",size:"sm",variant:"ghost",className:`h-7 text-xs transition-all ${c.has(typeof m=="string"?m:m?.text??"")?"text-yellow-400 bg-yellow-400/10 hover:text-yellow-300":"text-slate-400 hover:text-yellow-400 hover:bg-yellow-400/10"}`,onClick:()=>o(typeof m=="string"?m:m?.text??"",x),children:[p.jsx(Ih,{"data-loc":"client/src/pages/HookGenerator.tsx:334",className:`w-3.5 h-3.5 mr-1 ${c.has(typeof m=="string"?m:m?.text??"")?"fill-yellow-400":""}`})," Speichern"]}),p.jsxs("div",{"data-loc":"client/src/pages/HookGenerator.tsx:338",className:"flex items-center gap-1 ml-auto",children:[p.jsx("button",{"data-loc":"client/src/pages/HookGenerator.tsx:339",onClick:()=>u(typeof m=="string"?m:m?.text??"","positiv"),className:`p-1.5 rounded-lg transition-all ${h.get(typeof m=="string"?m:m?.text??"")==="positiv"?"text-green-400 bg-green-400/10":"text-slate-500 hover:text-green-400 hover:bg-green-400/10"}`,children:p.jsx(RT,{"data-loc":"client/src/pages/HookGenerator.tsx:347",className:`w-3.5 h-3.5 ${h.get(typeof m=="string"?m:m?.text??"")==="positiv"?"fill-green-400":""}`})}),p.jsx("button",{"data-loc":"client/src/pages/HookGenerator.tsx:351",onClick:()=>u(typeof m=="string"?m:m?.text??"","negativ"),className:`p-1.5 rounded-lg transition-all ${h.get(typeof m=="string"?m:m?.text??"")==="negativ"?"text-red-400 bg-red-400/10":"text-slate-500 hover:text-red-400 hover:bg-red-400/10"}`,children:p.jsx(OT,{"data-loc":"client/src/pages/HookGenerator.tsx:359",className:`w-3.5 h-3.5 ${h.get(typeof m=="string"?m:m?.text??"")==="negativ"?"fill-red-400":""}`})})]})]})]},g)})]})]})}function dH(){const{data:e,isLoading:t}=ct.profil.get.useQuery(),{data:n}
310=ct.bibliothek.getAll.useQuery(),r=ct.useUtils(),[a,i]=R.useState(""),[o,u]=R.useState(!1),[c,h]=R.useState(""),[g,m]=R.useState(!1),[x,y]=R.useState(()=>{try{return sessionStorage.getItem("hg_ziel")||"kunden"}catch{return"kunden"}}),[E,_]=R.useState(()=>{try{return sessionStorage.getItem("hg_platform")||"instagram"}catch{return"instagram"}}),[N,A]=R.useState(()=>{try{return sessionStorage.getItem("hg_hookTyp")||"alle"}catch{return"alle"}}),[C,M]=R.useState(()=>{try{return sessionStorage.getItem("hg_reelIdee")||""}catch{return""}}),[X,G]=R.useState(()=>{try{return sessionStorage.getItem("hg_linkedinIdee")||""}catch{return""}}),[P,B]=R.useState(()=>{try{return sessionStorage.getItem("hg_zielgruppe")||""}catch{return""}}),[Z,V]=R.useState(new Set),[U,ae]=R.useState(new Map),[te,he]=R.useState(()=>{try{const He=sessionStorage.getItem("hg_hooks");return He?JSON.parse(He):null}catch{return null}}),[le,me]=R.useState(()=>{try{const He=sessionStorage.getItem("hg_analyse");return He?JSON.parse(He):null}catch{return null}}),[$,re]=R.useState(()=>{try{return sessionStorage.getItem("hg_openSection")||"hooktyp"}catch{return"hooktyp"}});R.useEffect(()=>{try{sessionStorage.setItem("hg_ziel",x)}catch{}},[x]),R.useEffect(()=>{try{sessionStorage.setItem("hg_platform",E)}catch{}},[E]),R.useEffect(()=>{try{sessionStorage.setItem("hg_hookTyp",N)}catch{}},[N]),R.useEffect(()=>{try{sessionStorage.setItem("hg_reelIdee",C)}catch{}},[C]),R.useEffect(()=>{try{sessionStorage.setItem("hg_linkedinIdee",X)}catch{}},[X]),R.useEffect(()=>{try{sessionStorage.setItem("hg_zielgruppe",P)}catch{}},[P]),R.useEffect(()=>{try{sessionStorage.setItem("hg_hooks",JSON.stringify(te))}catch{}},[te]),R.useEffect(()=>{try{sessionStorage.setItem("hg_analyse",JSON.stringify(le))}catch{}},[le]),R.useEffect(()=>{try{sessionStorage.setItem("hg_openSection",$)}catch{}},[$]),R.useEffect(()=>{if(n){const He=new Set(n.map(Dt=>Dt.hookText));V(He)}},[n]),R.useEffect(()=>{if(e&&!g){if(e.kiZusammenfassung)i(e.kiZusammenfassung),m(!0);else if(e.unternehmensname||e.brancheLabel){const He=[];e.unternehmensname&&He.push(e.unternehmensname),e.brancheLabel&&He.push(`(${e.brancheLabel})`),e.dienstleistung&&He.push(`– ${e.dienstleistung}`),e.zielgruppe&&He.push(`für ${e.zielgruppe}`),i(He.join(" ")),m(!0)}e.ziel==="mitarbeiter"&&y("mitarbeiter")}},[e,g]);const ne=ct.profil.generiereZusammenfassung.useMutation({onSuccess:He=>{i(He.zusammenfassung),r.profil.get.invalidate(),nn.success("KI-Zusammenfassung aktualisiert")},onError:()=>nn.error("Fehler beim Generieren der Zusammenfassung")}),oe=ct.profil.save.useMutation({onSuccess:()=>{r.profil.get.invalidate(),nn.success("Kontext gespeichert")}}),j=ct.hooks.generiere.useMutation({onSuccess:He=>{he(He.hooks),He.analyse&&(me(He.analyse),He.analyse.zusammenfassung&&!e?.kiZusammenfassung&&oe.mutate({kiZusammenfassung:He.analyse.zusammenfassung})),r.bibliothek.getAll.invalidate(),re("ergebnis")},onError:He=>nn.error(He.message)}),F=ct.bibliothek.speichern.useMutation({onSuccess:()=>{r.bibliothek.getAll.invalidate(),nn.success("Hook gespeichert!")}}),ie=ct.bibliothek.feedback.useMutation({onSuccess:()=>nn.success("Danke für dein Feedback!")}),D=()=>{h(a),u(!0)},ge=()=>{i(c),u(!1),oe.mutate({kiZusammenfassung:c})},Te=()=>{u(!1),h("")},De=()=>{if(!a.trim()){nn.error("Bitte zuerst dein Unternehmensprofil einrichten");return}j.mutate({branche:e?.branche||"andere",brancheLabel:e?.brancheLabel||"Unternehmen",zielgruppe:P||e?.zielgruppe||"Zielgruppe",dienstleistung:a,ziel:x,platform:E,websiteUrl:e?.websiteUrl??void 0,reelIdee:C||void 0,linkedinIdee:C||void 0})},Me=He=>{navigator.clipboard.writeText(He),nn.success("Kopiert!")},ze=(He,Dt)=>{F.mutate({hookTyp:Dt,hookText:He,branche:e?.brancheLabel||e?.branche||"",ziel:x,quelle:"generator"})},Xe=(He,Dt)=>{ie.mutate({hookText:He,bewertung:Dt})};return!t&&e&&!e.unternehmensname&&!e.branche&&!a?p.jsx("div",{"data-loc":"client/src/pages/HookGenerator.tsx:554",className:"p-4 md:p-6 max-w-2xl mx-auto",children:p.jsxs("div",{"data-loc":"client/src/pages/HookGenerator.tsx:555",className:"bg-yellow-400/10 border border-yellow-400/30 rounded-2xl p-6 text-center",children:[p.jsx(K2,{"data-loc":"client/src/pages/HookGenerator.tsx:556",className:"w-10 h-10 text-yellow-400 mx-auto mb-3"}),p.jsx("h2",{"data-loc":"client/src/pages/HookGenerator.tsx:557",className:"text-white font-bold text-lg mb-2",children:"Profil noch nicht eingerichtet"}),p.jsx("p",{"data-loc":"client/src/pages/HookGenerator.tsx:558",className:"text-slate-400 text-sm mb-4",children:"Richte zuerst dein Unternehmensprofil ein, damit die KI passende Hooks erstellen kann."}),p.jsx(Mc,{"data-loc":"client/src/pages/HookGenerator.tsx:561",href:"/app/profil",children:p.jsx(tt,{"data-loc":"client/src/pages/HookGenerator.tsx:562",className:"bg-yellow-400 hover:bg-yellow-300 text-[#0f172a] font-bold",children:"Profil einrichten"})})]})}):p.jsxs("div",{"data-loc":"client/src/pages/HookGenerator.tsx:572",className:"p-4 md:p-6 max-w-4xl mx-auto",children:[p.jsxs("div",{"data-loc":"client/src/pages/HookGenerator.tsx:574",className:"mb-5",children:[p.jsxs("h1",{"data-loc":"client/src/pages/HookGenerator.tsx:575",className:"text-xl md:text-2xl font-bold text-white flex items-center gap-2",style:{fontFamily:"'DM Sans', sans-serif"},children:[p.jsx(Vn,{"data-loc":"client/src/pages/HookGenerator.tsx:576",className:"w-5 h-5 md:w-6 md:h-6 text-yellow-400"})," KI-Hook-Generator"]}),p.jsx("p",{"data-loc":"client/src/pages/HookGenerator.tsx:578",className:"text-slate-400 text-xs md:text-sm mt-1",children:E==="instagram"?"Dein Unternehmensprofil als Basis – du gibst nur noch die Reel-Idee an":E==="tiktok"?"Dein Unternehmensprofil als Basis – du gibst nur noch die TikTok Video-Idee an":E==="youtube"?"Dein Unternehmensprofil als Basis – du gibst nur noch die YouTube Video-Idee an":"Dein Unternehmensprofil als Basis – du gibst nur noch die LinkedIn-Beitragsidee an"})]}),p.jsxs("div",{"data-loc":"client/src/pages/HookGenerator.tsx:584",className:"block lg:hidden",children:[p.jsxs(Cb,{"data-loc":"client/src/pages/HookGenerator.tsx:585",type:"single",value:$,onValueChange:re,className:"space-y-2",children:[p.jsxs(Qa,{"data-loc":"client/src/pages/HookGenerator.tsx:591",value:"kontext",className:"bg-white/5 border border-white/10 rounded-2xl px-4 overflow-hidden",children:[p.jsx(Wa,{"data-loc":"client/src/pages/HookGenerator.tsx:592",className:"text-white font-semibold text-base py-3 hover:no-underline",children:p.jsxs("span",{"data-loc":"client/src/pages/HookGenerator.tsx:593",className:"flex items-center gap-2",children:[p.jsx(qi,{"data-loc":"client/src/pages/HookGenerator.tsx:594",className:"w-4 h-4 text-yellow-400"}),"Dein Unternehmen",a&&p.jsxs("span",{"data-loc":"client/src/pages/HookGenerator.tsx:596",className:"text-slate-500 text-xs font-normal truncate max-w-[120px]",children:[a.slice(0,30),"…"]})]})}),p.jsx(Ka,{"data-loc":"client/src/pages/HookGenerator.tsx:599",className:"pb-4",children:p.jsx(C6,{"data-loc":"client/src/pages/HookGenerator.tsx:600",kontext:a,isEditing:o,entwurf:c,isLoading:t,isSaving:oe.isPending,isGenerating:ne.isPending,onEdit:D,onSave:ge,onAbort:Te,onEntwurfChange:h,onRegenerate:()=>ne.mutate()})})]}),p.jsxs(Qa,{"data-loc":"client/src/pages/HookGenerator.tsx:616",value:"ziel",className:"bg-white/5 border border-white/10 rounded-2xl px-4 overflow-hidden",children:[p.jsx(Wa,{"data-loc":"client/src/pages/HookGenerator.tsx:617",className:"text-white font-semibold text-base py-3 hover:no-underline",children:p.jsxs("span",{"data-loc":"client/src/pages/HookGenerator.tsx:618",className:"flex items-center gap-2",children:["Ziel des Videos",p.jsx("span",{"data-loc":"client/src/pages/HookGenerator.tsx:620",className:"text-yellow-400 text-xs font-normal",children:x==="kunden"?"🎯 Kunden":"👥 Mitarbeiter"})]})}),p.jsx(Ka,{"data-loc":"client/src/pages/HookGenerator.tsx:625",className:"pb-4",children:p.jsx(O6,{"data-loc":"client/src/pages/HookGenerator.tsx:626",ziel:x,onChange:y})})]}),p.jsxs(Qa,{"data-loc":"client/src/pages/HookGenerator.tsx:630",value:"platform",className:"bg-white/5 border border-white/10 rounded-2xl px-4 overflow-hidden",children:[p.jsx(Wa,{"data-loc":"client/src/pages/HookGenerator.tsx:631",className:"text-white font-semibold text-base py-3 hover:no-underline",children:p.jsxs("span",{"data-loc":"client/src/pages/HookGenerator.tsx:632",className:"flex items-center gap-2",children:["Format",p.jsx("span",{"data-loc":"client/src/pages/HookGenerator.tsx:634",className:"text-yellow-400 text-xs font-normal",children:E==="instagram"?"📱 Instagram Reel":E==="tiktok"?"🎵 TikTok":E==="youtube"?"▶️ YouTube":"💼 LinkedIn Post"})]})}),p.jsx(Ka,{"data-loc":"client/src/pages/HookGenerator.tsx:639",className:"pb-4",children:p.jsxs("div",{"data-loc":"client/src/pages/HookGenerator.tsx:640",className:"grid grid-cols-2 gap-2",children:[p.jsx(tt,{"data-loc":"client/src/pages/HookGenerator.tsx:641",variant:E==="instagram"?"default":"outline",className:`${E==="instagram"?"bg-yellow-400 hover:bg-yellow-300 text-[#0f172a]":"border-white/20 text-white hover:bg-white/10"}`,onClick:()=>_("instagram"),children:"📱 Instagram"}),p.jsx(tt,{"data-loc":"client/src/pages/HookGenerator.tsx:648",variant:E==="tiktok"?"default":"outline",className:`${E==="tiktok"?"bg-yellow-400 hover:bg-yellow-300 text-[#0f172a]":"border-white/20 text-white hover:bg-white/10"}`,onClick:()=>
310_("tiktok"),children:"🎵 TikTok"}),p.jsx(tt,{"data-loc":"client/src/pages/HookGenerator.tsx:655",variant:E==="youtube"?"default":"outline",className:`${E==="youtube"?"bg-yellow-400 hover:bg-yellow-300 text-[#0f172a]":"border-white/20 text-white hover:bg-white/10"}`,onClick:()=>_("youtube"),children:"▶️ YouTube"}),p.jsx(tt,{"data-loc":"client/src/pages/HookGenerator.tsx:662",variant:E==="linkedin"?"default":"outline",className:`${E==="linkedin"?"bg-yellow-400 hover:bg-yellow-300 text-[#0f172a]":"border-white/20 text-white hover:bg-white/10"}`,onClick:()=>_("linkedin"),children:"💼 LinkedIn"})]})})]}),p.jsxs(Qa,{"data-loc":"client/src/pages/HookGenerator.tsx:673",value:"hooktyp",className:"bg-white/5 border border-white/10 rounded-2xl px-4 overflow-hidden",children:[p.jsx(Wa,{"data-loc":"client/src/pages/HookGenerator.tsx:674",className:"text-white font-semibold text-base py-3 hover:no-underline",children:p.jsxs("span",{"data-loc":"client/src/pages/HookGenerator.tsx:675",className:"flex items-center gap-2",children:["Hook-Typ",p.jsx("span",{"data-loc":"client/src/pages/HookGenerator.tsx:677",className:"text-yellow-400 text-xs font-normal",children:i_.find(He=>He.value===N)?.label})]})}),p.jsx(Ka,{"data-loc":"client/src/pages/HookGenerator.tsx:682",className:"pb-4",children:p.jsx(R6,{"data-loc":"client/src/pages/HookGenerator.tsx:683",hookTyp:N,onChange:A})})]}),p.jsxs(Qa,{"data-loc":"client/src/pages/HookGenerator.tsx:687",value:"reel",className:"bg-white/5 border border-white/10 rounded-2xl px-4 overflow-hidden",children:[p.jsx(Wa,{"data-loc":"client/src/pages/HookGenerator.tsx:688",className:"text-white font-semibold text-base py-3 hover:no-underline",children:p.jsxs("span",{"data-loc":"client/src/pages/HookGenerator.tsx:689",className:"flex items-center gap-2",children:[E==="instagram"?"Reel-Idee":E==="tiktok"?"TikTok Video-Idee":E==="youtube"?"YouTube Video-Idee":"LinkedIn-Beitragsidee",p.jsx("span",{"data-loc":"client/src/pages/HookGenerator.tsx:691",className:"text-slate-500 text-xs font-normal",children:"optional"}),C&&p.jsx("span",{"data-loc":"client/src/pages/HookGenerator.tsx:692",className:"w-2 h-2 rounded-full bg-yellow-400 ml-1"})]})}),p.jsx(Ka,{"data-loc":"client/src/pages/HookGenerator.tsx:695",className:"pb-4",children:E==="instagram"?p.jsx(D6,{"data-loc":"client/src/pages/HookGenerator.tsx:697",value:C,onChange:M}):p.jsxs("div",{"data-loc":"client/src/pages/HookGenerator.tsx:699",className:"space-y-2",children:[p.jsx("p",{"data-loc":"client/src/pages/HookGenerator.tsx:700",className:"text-slate-400 text-xs",children:'Beschreibe kurz, worum es in deinem LinkedIn-Post gehen soll. Z.B. "Tipps für besseres Zeitmanagement" oder "Unser neues Projekt"'}),p.jsx(js,{"data-loc":"client/src/pages/HookGenerator.tsx:701",value:C,onChange:He=>M(He),placeholder:"LinkedIn-Post-Idee eingeben...",className:"w-full bg-white/5 border border-white/10 rounded-lg px-3 py-2 text-white placeholder-slate-500 text-sm focus:outline-none focus:border-yellow-400/50",minRows:2,maxRows:5})]})})]}),p.jsxs(Qa,{"data-loc":"client/src/pages/HookGenerator.tsx:714",value:"zielgruppe",className:"bg-white/5 border border-white/10 rounded-2xl px-4 overflow-hidden",children:[p.jsx(Wa,{"data-loc":"client/src/pages/HookGenerator.tsx:715",className:"text-white font-semibold text-base py-3 hover:no-underline",children:p.jsxs("span",{"data-loc":"client/src/pages/HookGenerator.tsx:716",className:"flex items-center gap-2",children:["Zielgruppe präzisieren",p.jsx("span",{"data-loc":"client/src/pages/HookGenerator.tsx:718",className:"text-slate-500 text-xs font-normal",children:"optional"}),P&&p.jsx("span",{"data-loc":"client/src/pages/HookGenerator.tsx:719",className:"w-2 h-2 rounded-full bg-yellow-400 ml-1"})]})}),p.jsx(Ka,{"data-loc":"client/src/pages/HookGenerator.tsx:722",className:"pb-4",children:p.jsx(L6,{"data-loc":"client/src/pages/HookGenerator.tsx:723",value:P,onChange:B,profilZielgruppe:e?.zielgruppe??void 0})})]})]}),p.jsx(tt,{"data-loc":"client/src/pages/HookGenerator.tsx:733",className:"w-full bg-yellow-400 hover:bg-yellow-300 text-[#0f172a] font-bold h-12 text-base mt-3",onClick:De,disabled:j.isPending||!a.trim(),children:j.isPending?p.jsxs(p.Fragment,{children:[p.jsx(Xt,{"data-loc":"client/src/pages/HookGenerator.tsx:739",className:"w-5 h-5 mr-2 animate-spin"})," Hooks werden generiert..."]}):p.jsxs(p.Fragment,{children:[p.jsx(Vn,{"data-loc":"client/src/pages/HookGenerator.tsx:740",className:"w-5 h-5 mr-2"})," Hooks generieren"]})}),(te||j.isPending)&&p.jsx(Cb,{"data-loc":"client/src/pages/HookGenerator.tsx:745",type:"single",value:$,onValueChange:re,className:"mt-2",children:p.jsxs(Qa,{"data-loc":"client/src/pages/HookGenerator.tsx:751",value:"ergebnis",className:"bg-white/5 border border-yellow-400/20 rounded-2xl px-4 overflow-hidden",children:[p.jsx(Wa,{"data-loc":"client/src/pages/HookGenerator.tsx:752",className:"text-white font-semibold text-base py-3 hover:no-underline",children:p.jsxs("span",{"data-loc":"client/src/pages/HookGenerator.tsx:753",className:"flex items-center gap-2",children:[p.jsx(Vn,{"data-loc":"client/src/pages/HookGenerator.tsx:754",className:"w-4 h-4 text-yellow-400"}),"Generierte Hooks",te&&p.jsx("span",{"data-loc":"client/src/pages/HookGenerator.tsx:756",className:"w-2 h-2 rounded-full bg-yellow-400"})]})}),p.jsx(Ka,{"data-loc":"client/src/pages/HookGenerator.tsx:759",className:"pb-4",children:p.jsx(I6,{"data-loc":"client/src/pages/HookGenerator.tsx:760",isPending:j.isPending,generierteHooks:te,analyse:le,platform:E,onNeu:De,onCopy:Me,onSave:ze,onFeedback:Xe,gespeicherteHookTexte:Z,hookFeedback:U})})]})})]}),p.jsxs("div",{"data-loc":"client/src/pages/HookGenerator.tsx:779",className:"hidden lg:grid grid-cols-2 gap-6",children:[p.jsxs("div",{"data-loc":"client/src/pages/HookGenerator.tsx:781",className:"space-y-4",children:[p.jsxs("div",{"data-loc":"client/src/pages/HookGenerator.tsx:782",className:"bg-white/5 border border-white/10 rounded-2xl p-5",children:[p.jsxs("h2",{"data-loc":"client/src/pages/HookGenerator.tsx:783",className:"text-white font-semibold flex items-center gap-2 mb-3",children:[p.jsx(qi,{"data-loc":"client/src/pages/HookGenerator.tsx:784",className:"w-4 h-4 text-yellow-400"})," Dein Unternehmen"]}),p.jsx(C6,{"data-loc":"client/src/pages/HookGenerator.tsx:786",kontext:a,isEditing:o,entwurf:c,isLoading:t,isSaving:oe.isPending,isGenerating:ne.isPending,onEdit:D,onSave:ge,onAbort:Te,onEntwurfChange:h,onRegenerate:()=>ne.mutate()})]}),p.jsxs("div",{"data-loc":"client/src/pages/HookGenerator.tsx:801",className:"bg-white/5 border border-white/10 rounded-2xl p-5",children:[p.jsx("h2",{"data-loc":"client/src/pages/HookGenerator.tsx:802",className:"text-white font-semibold mb-3",children:"Ziel des Videos"}),p.jsx(O6,{"data-loc":"client/src/pages/HookGenerator.tsx:803",ziel:x,onChange:y})]}),p.jsxs("div",{"data-loc":"client/src/pages/HookGenerator.tsx:806",className:"bg-white/5 border border-white/10 rounded-2xl p-5",children:[p.jsx("h2",{"data-loc":"client/src/pages/HookGenerator.tsx:807",className:"text-white font-semibold mb-3",children:"Format"}),p.jsxs("div",{"data-loc":"client/src/pages/HookGenerator.tsx:808",className:"grid grid-cols-2 gap-2",children:[p.jsx(tt,{"data-loc":"client/src/pages/HookGenerator.tsx:809",variant:E==="instagram"?"default":"outline",className:`${E==="instagram"?"bg-yellow-400 hover:bg-yellow-300 text-[#0f172a]":"border-white/20 text-white hover:bg-white/10"}`,onClick:()=>_("instagram"),children:"📱 Instagram"}),p.jsx(tt,{"data-loc":"client/src/pages/HookGenerator.tsx:816",variant:E==="tiktok"?"default":"outline",className:`${E==="tiktok"?"bg-yellow-400 hover:bg-yellow-300 text-[#0f172a]":"border-white/20 text-white hover:bg-white/10"}`,onClick:()=>
310_("tiktok"),children:"🎵 TikTok"}),p.jsx(tt,{"data-loc":"client/src/pages/HookGenerator.tsx:823",variant:E==="youtube"?"default":"outline",className:`${E==="youtube"?"bg-yellow-400 hover:bg-yellow-300 text-[#0f172a]":"border-white/20 text-white hover:bg-white/10"}`,onClick:()=>_("youtube"),children:"▶️ YouTube"}),p.jsx(tt,{"data-loc":"client/src/pages/HookGenerator.tsx:830",variant:E==="linkedin"?"default":"outline",className:`${E==="linkedin"?"bg-yellow-400 hover:bg-yellow-300 text-[#0f172a]":"border-white/20 text-white hover:bg-white/10"}`,onClick:()=>_("linkedin"),children:"💼 LinkedIn"})]})]}),p.jsxs("div",{"data-loc":"client/src/pages/HookGenerator.tsx:840",className:"bg-white/5 border border-white/10 rounded-2xl p-5",children:[p.jsx("h2",{"data-loc":"client/src/pages/HookGenerator.tsx:841",className:"text-white font-semibold mb-3",children:"Hook-Typ"}),p.jsx(R6,{"data-loc":"client/src/pages/HookGenerator.tsx:842",hookTyp:N,onChange:A})]}),p.jsxs("div",{"data-loc":"client/src/pages/HookGenerator.tsx:845",className:"bg-white/5 border border-white/10 rounded-2xl p-5",children:[p.jsxs("h2",{"data-loc":"client/src/pages/HookGenerator.tsx:846",className:"text-white font-semibold mb-1",children:[E==="instagram"?"Reel-Idee":E==="tiktok"?"TikTok Video-Idee":E==="youtube"?"YouTube Video-Idee":"LinkedIn-Beitragsidee"," ",p.jsx("span",{"data-loc":"client/src/pages/HookGenerator.tsx:847",className:"text-slate-500 font-normal text-sm",children:"(optional)"})]}),E==="instagram"?p.jsx(D6,{"data-loc":"client/src/pages/HookGenerator.tsx:850",value:C,onChange:M}):E==="tiktok"?p.jsxs("div",{"data-loc":"client/src/pages/HookGenerator.tsx:852",className:"space-y-2",children:[p.jsx("p",{"data-loc":"client/src/pages/HookGenerator.tsx:853",className:"text-slate-400 text-xs",children:'Beschreibe kurz, worum es in deinem TikTok-Video gehen soll. Z.B. "Tipps für schnelle Haarstyling" oder "Lustige Momente aus unserem Alltag"'}),p.jsx(js,{"data-loc":"client/src/pages/HookGenerator.tsx:854",value:C,onChange:He=>M(He),placeholder:"TikTok Video-Idee eingeben...",className:"w-full bg-white/5 border border-white/10 rounded-lg px-3 py-2 text-white placeholder-slate-500 text-sm focus:outline-none focus:border-yellow-400/50",minRows:2,maxRows:5})]}):E==="youtube"?p.jsxs("div",{"data-loc":"client/src/pages/HookGenerator.tsx:864",className:"space-y-2",children:[p.jsx("p",{"data-loc":"client/src/pages/HookGenerator.tsx:865",className:"text-slate-400 text-xs",children:'Beschreibe kurz, worum es in deinem YouTube-Video gehen soll. Z.B. "Tutorial: Wie man eine Website erstellt" oder "Vlog: Ein Tag in unserem Unternehmen"'}),p.jsx(js,{"data-loc":"client/src/pages/HookGenerator.tsx:866",value:C,onChange:He=>M(He),placeholder:"YouTube Video-Idee eingeben...",className:"w-full bg-white/5 border border-white/10 rounded-lg px-3 py-2 text-white placeholder-slate-500 text-sm focus:outline-none focus:border-yellow-400/50",minRows:2,maxRows:5})]}):p.jsxs("div",{"data-loc":"client/src/pages/HookGenerator.tsx:876",className:"space-y-2",children:[p.jsx("p",{"data-loc":"client/src/pages/HookGenerator.tsx:877",className:"text-slate-400 text-xs",children:'Beschreibe kurz, worum es in deinem LinkedIn-Post gehen soll. Z.B. "Tipps für besseres Zeitmanagement" oder "Unser neues Projekt"'}),p.jsx(js,{"data-loc":"client/src/pages/HookGenerator.tsx:878",value:C,onChange:He=>M(He),placeholder:"LinkedIn-Post-Idee eingeben...",className:"w-full bg-white/5 border border-white/10 rounded-lg px-3 py-2 text-white placeholder-slate-500 text-sm focus:outline-none focus:border-yellow-400/50",minRows:2,maxRows:5})]})]}),p.jsxs("div",{"data-loc":"client/src/pages/HookGenerator.tsx:891",className:"bg-white/5 border border-white/10 rounded-2xl p-5",children:[p.jsxs("h2",{"data-loc":"client/src/pages/HookGenerator.tsx:892",className:"text-white font-semibold mb-1",children:["Zielgruppe präzisieren ",p.jsx("span",{"data-loc":"client/src/pages/HookGenerator.tsx:893",className:"text-slate-500 font-normal text-sm",children:"(optional)"})]}),p.jsx(L6,{"data-loc":"client/src/pages/HookGenerator.tsx:895",value:P,onChange:B,profilZielgruppe:e?.zielgruppe??void 0})]}),p.jsx(tt,{"data-loc":"client/src/pages/HookGenerator.tsx:902",className:"w-full bg-yellow-400 hover:bg-yellow-300 text-[#0f172a] font-bold h-12 text-base",onClick:De,disabled:j.isPending||!a.trim(),children:j.isPending?p.jsxs(p.Fragment,{children:[p.jsx(Xt,{"data-loc":"client/src/pages/HookGenerator.tsx:908",className:"w-5 h-5 mr-2 animate-spin"})," Hooks werden generiert..."]}):p.jsxs(p.Fragment,{children:[p.jsx(Vn,{"data-loc":"client/src/pages/HookGenerator.tsx:909",className:"w-5 h-5 mr-2"})," Hooks generieren"]})})]}),p.jsx("div",{"data-loc":"client/src/pages/HookGenerator.tsx:914",children:p.jsx(I6,{"data-loc":"client/src/pages/HookGenerator.tsx:915",isPending:j.isPending,generierteHooks:te,analyse:le,platform:E,onNeu:De,onCopy:Me,onSave:ze,onFeedback:Xe,gespeicherteHookTexte:Z,hookFeedback:U})})]})]})}const M6=[{id:"e1",typ:"emotion",ziel:"kunden",branche:"Malerbetrieb",text:"Kennst du das, wenn Handwerker im Haus waren und du danach drei Tage putzen musst? Bei uns sieht die Baustelle abends sauberer aus als vorher.",tipp:"Zeigt einen kurzen Clip der aufgeräumten Baustelle."},{id:"e2",typ:"emotion",ziel:"kunden",branche:"IT-Dienstleister",text:"Kennst du das Gefühl, wenn du morgens ins Büro kommst, den PC hochfährst – und der Bildschirm bleibt schwarz? Und du weißt, dass du jetzt drei Stunden in der Warteschleife hängst?",tipp:"Danach einfach erklären, wie ihr das Problem löst."},{id:"e3",typ:"emotion",ziel:"kunden",branche:"Steuerberatung",text:"Kennst du das Gefühl, wenn du im Oktober merkst, dass du wieder zu viel Steuer gezahlt hast – und es zu spät ist, noch was zu machen?",tipp:"Kurz erklären, wie ihr das verhindern würdet."},{id:"e4",typ:"emotion",ziel:"kunden",branche:"Umzugsunternehmen",text:"Kennst du das, wenn du nach dem Umzug drei Wochen brauchst, um alles zu finden – weil die Kartons einfach irgendwo hingestellt wurden?",tipp:"Zeigt, wie euer Team systematisch beschriftet."},{id:"e5",typ:"emotion",ziel:"kunden",branche:"Reinigungsservice",text:"Kennst du das Gefühl, wenn du nach einem langen Tag nach Hause kommst und das Haus genauso aussieht wie morgens – nur schlimmer?",tipp:"Vorher-Nachher-Clip. Keine Worte nötig."},{id:"e6",typ:"emotion",ziel:"kunden",branche:"Autowerkstatt",text:"Kennst du das, wenn du dein Auto in die Werkstatt bringst – und drei Tage später rufst du an, weil du noch nichts gehört hast?",tipp:"Erklärt euren transparenten Kommunikationsprozess."},{id:"e7",typ:"emotion",ziel:"kunden",branche:"Physiotherapie",text:"Kennst du das Gefühl, wenn du morgens aufstehst und der erste Schritt schon wehtut – und du weißt, heute wird ein langer Tag?",tipp:"Kurze Erklärung, wie ihr genau das Problem angeht."},{id:"e8",typ:"emotion",ziel:"kunden",branche:"Catering",text:"Kennst du das, wenn du eine Feier organisierst und das Essen zu spät kommt – und alle Gäste schon hungr
310ig am Tisch sitzen?",tipp:"Zeigt euren Ablaufplan und wie ihr Pünktlichkeit garantiert."},{id:"e9",typ:"emotion",ziel:"kunden",branche:"Eventplanung",text:"Kennst du das, wenn du monatelang für eine Veranstaltung planst – und am Tag selbst läuft trotzdem alles schief?",tipp:"Zeigt eure Checkliste und euer Krisenmanagement."},{id:"e10",typ:"emotion",ziel:"kunden",branche:"Küchenstudio",text:"Kennst du das Gefühl, wenn du eine neue Küche kaufst – und nach dem Einbau merkst, dass die Schubladen nicht richtig schließen?",tipp:"Zeigt euren Qualitätssicherungsprozess."},{id:"s1",typ:"statement",ziel:"kunden",branche:"Handwerk",text:"Wer beim Bodenbelag spart, zahlt am Ende dreimal. Dann zeigt der Mitarbeiter den kaputten Billigboden, den er gerade rausreißt.",tipp:"Kein Skript nötig. Einfach zeigen, was gerade passiert."},{id:"s2",typ:"statement",ziel:"kunden",branche:"Elektriker",text:"Die meisten Hausbrände entstehen nicht durch Blitze – sondern durch Pfusch am Bau. Dann zeigt der Elektriker, was er heute repariert hat.",tipp:"Vorher-Nachher funktioniert hier besonders gut."},{id:"s3",typ:"statement",ziel:"kunden",branche:"Immobilienmakler",text:"Die meisten Leute verkaufen ihre Wohnung 30.000 Euro unter Wert – weil sie den falschen Zeitpunkt wählen.",tipp:"Dann zeigen, wie ihr den richtigen Zeitpunkt bestimmt."},{id:"s4",typ:"statement",ziel:"kunden",branche:"Dachdecker",text:"Ein Dach, das nicht regelmäßig geprüft wird, kostet im Schnitt 8.000 Euro mehr als nötig.",tipp:"Zeigt eine Aufnahme vom Dach und erklärt, was ihr seht."},{id:"s5",typ:"statement",ziel:"kunden",branche:"Zahnarzt",text:"Wer zweimal im Jahr zur Kontrolle kommt, zahlt im Leben deutlich weniger als wer wartet, bis es wehtut.",tipp:"Kurze, freundliche Erklärung. Kein Weißkittel-Ton."},{id:"s6",typ:"statement",ziel:"kunden",branche:"Ernährungsberatung",text:"Wer nur Kalorien zählt, wird nie abnehmen. Dann kurze Erklärung, was wirklich zählt.",tipp:"Direkt in die Kamera sprechen. Selbstbewusst und klar."},{id:"s7",typ:"statement",ziel:"kunden",branche:"Logistik",text:"Ein schlecht gesichertes Paket kostet mehr als der Inhalt wert ist. Dann kurze Erklärung, wie ihr richtig sichert.",tipp:"Filmt das direkt beim Beladen. Authentischer geht's nicht."},{id:"s8",typ:"statement",ziel:"kunden",branche:"Softwareentwicklung",text:"Wer die billigste Softwarelösung kauft, kauft sie zweimal. Dann ein konkretes Beispiel aus eurem Alltag.",tipp:"Ruhig und sachlich erklären – das wirkt am glaubwürdigsten."},{id:"s9",typ:"statement",ziel:"kunden",branche:"Personalentwicklung",text:"Unternehmen, die nicht in ihre Mitarbeiter investieren, verlieren sie – und zahlen dreimal so viel für die Nachbesetzung.",tipp:"Klare Aussage, dann eure Lösung zeigen."},{id:"s10",typ:"statement",ziel:"kunden",branche:"Küchenstudio",text:"Die meisten Küchen werden falsch geplant – nicht wegen des Budgets, sondern wegen fehlender Beratung.",tipp:"Zeigt einen häufigen Planungsfehler und wie ihr ihn vermeidet."},{id:"i1",typ:"indirect",ziel:"mitarbeiter",branche:"Pflege",text:"Wer von euch hat eigentlich auch keine Lust mehr, jeden zweiten Sonntag spontan einzuspringen, weil der Dienstplan wieder zusammengebrochen ist? Dann kurz zeigen, wie der Dienstplan bei euch aussieht.",tipp:"Echte Mitarbeiterin spricht direkt in die Kamera."},{id:"i2",typ:"indirect",ziel:"mitarbeiter",branche:"Logistik",text:"Wer von euch hat Lust, jeden Tag 370 PS unterm Hintern zu fahren – und trotzdem jeden Abend pünktlich zu Hause zu sein?",tipp:"Kurzer Clip vom LKW + Feierabend-Szene."},{id:"i3",typ:"indirect",ziel:"mitarbeiter",branche:"Gastronomie",text:"Wer von euch hat genug davon, nach einem 12-Stunden-Shift noch den Aufbau für den nächsten Tag zu machen? Dann zeigen, wie das bei euch geregelt ist.",tipp:"Authentisch erzählen, nicht ablesen."},{id:"i4",typ:"indirect",ziel:"mitarbeiter",branche:"Handwerk",text:"Wer von euch hat keine Lust mehr, jeden Montag mit dem Auto durch halb Deutschland zu fahren – und freitags erst abends heimzukommen?",tipp:"Dann zeigen, wie eure regionalen Einsätze aussehen."},{id:"i5",typ:"indirect",ziel:"mitarbeiter",branche:"IT",text:"Wer von euch arbeitet noch in einem Büro ohne Homeoffice-Option – obwohl der Job das locker erlauben würde?",tipp:"Kurzer Einblick in eure flexible Arbeitsweise."},{id:"i6",typ:"indirect",ziel:"mitarbeiter",branche:"Einzelhandel",text:"Wer von euch hat keine Lust mehr auf Wochenenddienste, die nie fair verteilt werden? Dann euer Rotationssystem erklären.",tipp:"Konkret und ehrlich. Keine leeren Versprechen."},{id:"i7",typ:"indirect",ziel:"mitarbeiter",branche:"Baugewerbe",text:"Wer von euch hat genug von Baustellen, wo das Material nie rechtzeitig da ist – und ihr trotzdem schuld seid, wenn's nicht fertig wird?",tipp:"Zeigt euren Materialplanungsprozess."},{id:"i8",typ:"indirect",ziel:"mitarbeiter",branche:"Kita",text:"Wer von euch macht diesen Job wirklich gerne – aber hat keine Kraft mehr, weil die Gruppen zu groß und die Unterstützung zu klein 
310ist?",tipp:"Zeigt euren Betreuungsschlüssel und eure Teamstruktur."},{id:"i9",typ:"indirect",ziel:"mitarbeiter",branche:"Produktion",text:"Wer von euch arbeitet noch in drei Schichten – obwohl ihr eigentlich nur Frühschicht wolltet?",tipp:"Dann euer Schichtmodell kurz erklären."},{id:"i10",typ:"indirect",ziel:"mitarbeiter",branche:"Finanzberatung",text:"Wer von euch hat keine Lust mehr auf Kaltakquise und starre Verkaufsziele, die nichts mit dem Kunden zu tun haben?",tipp:"Zeigt euren beratungsorientierten Ansatz."}],l_={emotion:"Emotions-Hook",statement:"Statement-Hook",indirect:"Indirekter Hook",custom:"Eigener Hook"},o_={emotion:"bg-blue-500/10 text-blue-400 border-blue-500/20",statement:"bg-purple-500/10 text-purple-400 border-purple-500/20",indirect:"bg-green-500/10 text-green-400 border-green-500/20",custom:"bg-yellow-500/10 text-yellow-400 border-yellow-500/20"},hH={emotion:"Holt die Zielgruppe emotional ab – spricht eine bekannte Frustration an",statement:"Provokante Aussage + Begründung – positioniert als Experte",indirect:"Spricht den Pain Point des Wunsch-Mitarbeiters an – perfekt fürs Recruiting"};function fH(){const[e,t]=R.useState("meine"),[n,r]=R.useState(""),[a,i]=R.useState("alle"),[o,u]=R.useState(null),[c,h]=R.useState("emotion"),[g,m]=R.useState(null),[x,y]=R.useState(null),[E,_]=R.useState(""),N=ct.useUtils(),{data:A=[]}=ct.bibliothek.getAll.useQuery(),C=ct.bibliothek.speichern.useMutation({onSuccess:()=>{N.bibliothek.getAll.invalidate(),nn.success("Hook gespeichert!")},onError:()=>nn.error("Fehler beim Speichern")}),M=ct.bibliothek.toggleFavorit.useMutation({onMutate:async({hookId:oe,isFavorit:j})=>{await N.bibliothek.getAll.cancel();const F=N.bibliothek.getAll.getData();return N.bibliothek.getAll.setData(void 0,ie=>ie?.map(D=>D.id===oe?{...D,isFavorit:j}:D)),{prev:F}},onError:(oe,j,F)=>{N.bibliothek.getAll.setData(void 0,F?.prev)},onSettled:()=>N.bibliothek.getAll.invalidate()}),X=ct.bibliothek.feedback.useMutation({onSuccess:()=>N.bibliothek.getAll.invalidate()}),G=ct.bibliothek.notizAktualisieren.useMutation({onSuccess:()=>{N.bibliothek.getAll.invalidate(),y(null),nn.success("Notiz gespeichert")}}),P=ct.bibliothek.loeschen.useMutation({onSuccess:()=>{N.bibliothek.getAll.invalidate(),nn.success("Hook gelöscht")}}),[B,Z]=R.useState({}),V=(oe,j)=>{const ie=B[oe.id]===j?null:j;Z(D=>({...D,[oe.id]:ie})),ie&&X.mutate({hookText:oe.hookText,bewertung:ie,savedHookId:oe.id})},U=oe=>{navigator.clipboard.writeText(oe),nn.success("In Zwischenablage kopiert!")},ae=oe=>{C.mutate({hookTyp:oe.typ,hookText:oe.text,branche:oe.branche,ziel:oe.ziel,quelle:"bibliothek"})},te=new Set(A.map(oe=>oe.hookText)),he=M6.filter(oe=>{const j=n===""||oe.text.toLowerCase().includes(n.toLowerCase())||oe.branche.toLowerCase().includes(n.toLowerCase()),F=a==="alle"||oe.ziel===a;return j&&F}),le=["emotion","statement","indirect"],me=le.reduce((oe,j)=>(oe[j]=he.filter(F=>F.typ===j),oe),{}),$=A.filter(oe=>{const j=n===""||oe.hookText.toLowerCase().includes(n.toLowerCase()),F=a==="alle"||oe.ziel===a;return j&&F}),re=$.filter(oe=>oe.isFavorit),ne=$.filter(oe=>!oe.isFavorit);return p.jsxs("div",{"data-loc":"client/src/pages/HookBibliothek.tsx:169",className:"p-4 md:p-6 max-w-4xl mx-auto",children:[p.jsxs("div",{"data-loc":"client/src/pages/HookBibliothek.tsx:171",className:"mb-5",children:[p.jsxs("h1",{"data-loc":"client/src/pages/HookBibliothek.tsx:172",className:"text-xl md:text-2xl font-bold text-white flex items-center gap-2",style:{fontFamily:"'DM Sans', sans-serif"},children:[p.jsx(a0,{"data-loc":"client/src/pages/HookBibliothek.tsx:173",className:"w-5 h-5 text-yellow-400"})," Hook-Bibliothek"]}),p.jsx("p",{"data-loc":"client/src/pages/HookBibliothek.tsx:175",className:"text-slate-400 text-xs mt-0.5",children:"30 Praxisbeispiele + deine gespeicherten Hooks"})]}),p.jsx("div",{"data-loc":"client/src/pages/HookBibliothek.tsx:179",className:"flex gap-2 mb-4 bg-white/5 p-1 rounded-xl w-fit",children:[{key:"meine",label:`Meine Hooks (${A.length})`},{key:"beispiele",label:`Beispiele (${M6.length})`}].map(oe=>p.jsx("button",{"data-loc":"client/src/pages/HookBibliothek.tsx:184",onClick:()=>t(oe.key),className:`px-4 py-2 rounded-lg text-sm font-medium transition-all ${e===oe.key?"bg-yellow-400 text-[#0f172a]":"text-slate-400 hover:text-white"}`,children:oe.label},oe.key))}),p.jsxs("div",{"data-loc":"client/src/pages/HookBibliothek.tsx:199",className:"flex flex-wrap gap-2 mb-4",children:[p.jsxs("div",{"data-loc":"client/src/pages/HookBibliothek.tsx:200",className:"relative flex-1 min-w-40",children:[p.jsx(_b,{"data-loc":"client/src/pages/HookBibliothek.tsx:201",className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-slate-500"}),p.jsx(Bs,{"data-loc":"client/src/pages/HookBibliothek.tsx:202",placeholder:"Suchen...",value:n,onChange:oe=>
310r(oe.target.value),className:"pl-9 bg-white/5 border-white/20 text-white placeholder:text-slate-500 h-9"})]}),p.jsxs("select",{"data-loc":"client/src/pages/HookBibliothek.tsx:209",value:a,onChange:oe=>i(oe.target.value),className:"bg-white/5 border border-white/20 text-slate-300 rounded-lg px-3 py-1.5 text-sm",children:[p.jsx("option",{"data-loc":"client/src/pages/HookBibliothek.tsx:214",value:"alle",children:"Kunden & Mitarbeiter"}),p.jsx("option",{"data-loc":"client/src/pages/HookBibliothek.tsx:215",value:"kunden",children:"Nur Kunden"}),p.jsx("option",{"data-loc":"client/src/pages/HookBibliothek.tsx:216",value:"mitarbeiter",children:"Nur Mitarbeiter"})]})]}),e==="beispiele"&&p.jsxs("div",{"data-loc":"client/src/pages/HookBibliothek.tsx:222",className:"space-y-3",children:[he.length===0&&p.jsxs("div",{"data-loc":"client/src/pages/HookBibliothek.tsx:224",className:"text-center py-12 text-slate-500",children:[p.jsx(_b,{"data-loc":"client/src/pages/HookBibliothek.tsx:225",className:"w-8 h-8 mx-auto mb-2 opacity-50"}),p.jsx("p",{"data-loc":"client/src/pages/HookBibliothek.tsx:226",children:"Keine Beispiele gefunden"})]}),le.map(oe=>{const j=me[oe];if(j.length===0)return null;const F=c===oe;return p.jsxs("div",{"data-loc":"client/src/pages/HookBibliothek.tsx:236",className:"bg-white/5 border border-white/10 rounded-xl overflow-hidden",children:[p.jsxs("button",{"data-loc":"client/src/pages/HookBibliothek.tsx:238",className:"w-full flex items-center justify-between p-4 hover:bg-white/5 transition-all",onClick:()=>h(F?null:oe),children:[p.jsxs("div",{"data-loc":"client/src/pages/HookBibliothek.tsx:242",className:"flex items-center gap-3",children:[p.jsx("span",{"data-loc":"client/src/pages/HookBibliothek.tsx:243",className:`text-xs font-semibold px-2 py-0.5 rounded-full border ${o_[oe]}`,children:l_[oe]}),p.jsx("span",{"data-loc":"client/src/pages/HookBibliothek.tsx:246",className:"text-slate-400 text-xs hidden sm:block",children:hH[oe]}),p.jsxs("span",{"data-loc":"client/src/pages/HookBibliothek.tsx:247",className:"text-slate-500 text-xs",children:[j.length," Beispiele"]})]}),F?p.jsx(Y2,{"data-loc":"client/src/pages/HookBibliothek.tsx:250",className:"w-4 h-4 text-slate-400 flex-shrink-0"}):p.jsx(fu,{"data-loc":"client/src/pages/HookBibliothek.tsx:251",className:"w-4 h-4 text-slate-400 flex-shrink-0"})]}),F&&p.jsx("div",{"data-loc":"client/src/pages/HookBibliothek.tsx:257",className:"border-t border-white/10 divide-y divide-white/5",children:j.map(ie=>{const D=o===ie.id;return p.jsxs("div",{"data-loc":"client/src/pages/HookBibliothek.tsx:261",className:"bg-[#0f172a]/30",children:[p.jsxs("button",{"data-loc":"client/src/pages/HookBibliothek.tsx:262",className:"w-full flex items-center gap-3 px-4 py-3 hover:bg-white/5 transition-all text-left",onClick:()=>u(D?null:ie.id),children:[p.jsx(V2,{"data-loc":"client/src/pages/HookBibliothek.tsx:266",className:`w-3.5 h-3.5 text-slate-500 flex-shrink-0 transition-transform ${D?"rotate-90":""}`}),p.jsxs("div",{"data-loc":"client/src/pages/HookBibliothek.tsx:267",className:"flex-1 min-w-0",children:[p.jsx("span",{"data-loc":"client/src/pages/HookBibliothek.tsx:268",className:"text-xs text-slate-500 mr-2",children:ie.branche}),p.jsx("span",{"data-loc":"client/src/pages/HookBibliothek.tsx:269",className:"text-white text-sm line-clamp-1",children:ie.text})]})]}),D&&p.jsxs("div",{"data-loc":"client/src/pages/HookBibliothek.tsx:274",className:"px-4 pb-4 pt-1",children:[p.jsx("p",{"data-loc":"client/src/pages/HookBibliothek.tsx:275",className:"text-white text-sm leading-relaxed mb-3",children:ie.text}),p.jsxs("div",{"data-loc":"client/src/pages/HookBibliothek.tsx:276",className:"bg-yellow-400/5 border border-yellow-400/20 rounded-lg p-3 mb-3",children:[p.jsxs("div",{"data-loc":"client/src/pages/HookBibliothek.tsx:277",className:"flex items-center gap-1 text-yellow-400 text-xs font-semibold mb-1",children:[p.jsx(oj,{"data-loc":"client/src/pages/HookBibliothek.tsx:278",className:"w-3 h-3"})," Profi-Tipp"]}),p.jsx("p",{"data-loc":"client/src/pages/HookBibliothek.tsx:280",className:"text-yellow-300 text-xs",children:ie.tipp})]}),p.jsxs("div",{"data-loc":"client/src/pages/HookBibliothek.tsx:282",className:"flex gap-2",children:[p.jsxs("button",{"data-loc":"client/src/pages/HookBibliothek.tsx:283",onClick:()=>U(ie.text),className:"flex items-center gap-1.5 px-3 py-1.5 rounded-lg bg-white/5 hover:bg-white/10 text-slate-300 text-xs transition-all",children:[p.jsx(Ll,{"data-loc":"client/src/pages/HookBibliothek.tsx:287",className:"w-3.5 h-3.5"})," Kopieren"]}),te.has(ie.text)?p.jsxs("span",{"data-loc":"client/src/pages/HookBibliothek.tsx:290",className:"flex items-center gap-1.5 px-3 py-1.5 rounded-lg bg-green-400/15 text-green-400 text-xs",children:[p.jsx(Ih,{"data-loc":"client/src/pages/HookBibliothek.tsx:291",className:"w-3.5 h-3.5 fill-current"})," Gespeichert"]}):p.jsxs("button",{"data-loc":"client/src/pages/HookBibliothek.tsx:294",onClick:()=>ae(ie),className:"flex items-center gap-1.5 px-3 py-1.5 rounded-lg bg-yellow-400/10 hover:bg-yellow-400/20 text-yellow-400 text-xs transition-all",children:[p.jsx(Ih,{"data-loc":"client/src/pages/HookBibliothek.tsx:298",className:"w-3.5 h-3.5"})," Speichern"]})]})]})]},ie.id)})})]},oe)})]}),e==="meine"&&p.jsxs("div",{"data-loc":"client/src/pages/HookBibliothek.tsx:317",className:"space-y-3",children:[A.length===0&&p.jsxs("div",{"data-loc":"client/src/pages/HookBibliothek.tsx:319",className:"text-center py-12 text-slate-500",children:[p.jsx(a0,{"data-loc":"client/src/pages/HookBibliothek.tsx:320",className:"w-8 h-8 mx-auto mb-2 opacity-50"}),p.jsx("p",{"data-loc":"client/src/pages/HookBibliothek.tsx:321",className:"mb-1",children:"Noch keine Hooks gespeichert"}),p.jsx("p",{"data-loc":"client/src/pages/HookBibliothek.tsx:322",className:"text-xs",children:"Generiere Hooks mit dem KI-Generator oder speichere Beispiele aus der Bibliothek"})]}),re.length>0&&p.jsxs("div",{"data-loc":"client/src/pages/HookBibliothek.tsx:328",className:"bg-white/5 border border-white/10 rounded-xl overflow-hidden",children:[p.jsxs("div",{"data-loc":"client/src/pages/HookBibliothek.tsx:329",className:"flex items-center gap-2 px-4 py-3 border-b border-white/10",children:[p.jsx(kb,{"data-loc":"client/src/pages/HookBibliothek.tsx:330",className:"w-4 h-4 text-yellow-400 fill-yellow-400"}),p.jsxs("span",{"data-loc":"client/src/pages/HookBibliothek.tsx:331",className:"text-sm font-semibold text-yellow-400",children:["Favoriten (",re.length,")"]})]}),p.jsx("div",{"data-loc":"client/src/pages/HookBibliothek.tsx:333",className:"divide-y divide-white/5",children:re.map(oe=>p.jsx(P6,{"data-loc":"client/src/pages/HookBibliothek.tsx:335",hook:oe,isExpanded:g===oe.id,onToggle:()=>m(g===oe.id?null:oe.id),onCopy:()=>U(oe.hookText),onToggleFavorit:()=>M.mutate({hookId:oe.id,isFavorit:!oe.isFavorit}),onLoeschen:()=>P.mutate({hookId:oe.id}),onNotizEdit:()=>{y(oe.id),_(oe.notiz||"")},notizId:x,notizText:E,setNotizText:_,onNotizSave:()=>G.mutate({hookId:oe.id,notiz:E}),onNotizCancel:()=>y(null),feedbackWert:B[oe.id]??null,onFeedback:j=>V(oe,j)},oe.id))})]}),ne.length>0&&p.jsxs("div",{"data-loc":"client/src/pages/HookBibliothek.tsx:359",className:"bg-white/5 border border-white/10 rounded-xl overflow-hidden",children:[re.length>0&&p.jsxs("div",{"data-loc":"client/src/pages/HookBibliothek.tsx:361",className:"flex items-center gap-2 px-4 py-3 border-b border-white/10",children:[p.jsx(Ih,{"data-loc":"client/src/pages/HookBibliothek.tsx:362",className:"w-4 h-4 text-slate-400"}),p.jsxs("span",{"data-loc":"client/src/pages/HookBibliothek.tsx:363",className:"text-sm font-semibold text-slate-400",children:["Alle Hooks (",ne.length,")"]})]}),p.jsx("div",{"data-loc":"client/src/pages/HookBibliothek.tsx:366",className:"divide-y divide-white/5",children:ne.map(oe=>p.jsx(P6,{"data-loc":"client/src/pages/HookBibliothek.tsx:368",hook:oe,isExpanded:g===oe.id,onToggle:()=>m(g===oe.id?null:oe.id),onCopy:()=>U(oe.hookText),onToggleFavorit:()=>M.mutate({hookId:oe.id,isFavorit:!oe.isFavorit}),onLoeschen:()=>P.mutate({hookId:oe.id}),onNotizEdit:()=>{y(oe.id),_(oe.notiz||"")},notizId:x,notizText:E,setNotizText:_,onNotizSave:()=>G.mutate({hookId:oe.id,notiz:E}),onNotizCancel:()=>y(null),feedbackWert:B[oe.id]??null,onFeedback:j=>V(oe,j)},oe.id))})]})]})]})}function P6({hook:e,isExpanded:t,onToggle:n,onCopy:r,onToggleFavorit:a,onLoeschen:i,onNotizEdit:o,notizId:u,notizText:c,setNotizText:h,onNotizSave:g,onNotizCancel:m,feedbackWert:x,onFeedback:y}){return p.jsxs("div",{"data-loc":"client/src/pages/HookBibliothek.tsx:417",className:"bg-[#0f172a]/20",children:[p.jsxs("button",{"data-loc":"client/src/pages/HookBibliothek.tsx:419",className:"w-full flex items-center gap-3 px-4 py-3 hover:bg-white/5 transition-all text-left",onClick:n,children:[p.jsx(V2,{"data-loc":"client/src/pages/HookBibliothek.tsx:423",className:`w-3.5 h-3.5 text-slate-500 flex-shrink-0 transition-transform duration-200 ${t?"rotate-90":""}`}),p.jsxs("div",{"data-loc":"client/src/pages/HookBibliothek.tsx:424",className:"flex-1 min-w-0",children:[p.jsxs("div",{"data-loc":"client/src/pages/HookBibliothek.tsx:425",className:"flex items-center gap-2 mb-0.5",children:[p.jsx("span",{"data-loc":"client/src/pages/HookBibliothek.tsx:426",className:`text-xs font-semibold px-1.5 py-0.5 rounded-full border ${o_[e.hookTyp]||"bg-slate-500/10 text-slate-400 border-slate-500/20"}`,children:l_[e.hookTyp]||e.hookTyp}),e.branche&&p.jsx("span",{"data-loc":"client/src/pages/HookBibliothek.tsx:429",className:"text-xs text-slate-500",children:e.branche}),e.isFavorit&&p.jsx(kb,{"data-loc":"client/src/pages/HookBibliothek.tsx:430",className:"w-3 h-3 text-yellow-400 fill-yellow-400 flex-shrink-0"})]}),p.jsx("p",{"data-loc":"client/src/pages/HookBibliothek.tsx:432",className:"text-white text-sm line-clamp-1",children:e.hookText})]})]}),t&&p.jsxs("div",{"data-loc":"client/src/pages/HookBibliothek.tsx:438",className:"px-4 pb-4 pt-1 border-t border-white/5",children:[p.jsx("p",{"data-loc":"client/src/pages/HookBibliothek.tsx:440",className:"text-white text-sm leading-relaxed mb-4",children:e.hookText}),p.jsxs("div",{"data-loc":"client/src/pages/HookBibliothek.tsx:443",className:"flex items-center gap-1 mb-3",children:[p.jsx("button",{"data-loc":"client/src/pages/HookBibliothek.tsx:445",onClick:r,className:"p-2 rounded-lg text-slate-400 hover:text-white hover:bg-white/10 transition-all",title:"Kopieren",children:p.jsx(Ll,{"data-loc":"client/src/pages/HookBibliothek.tsx:450",className:"w-4 h-4"})}),p.jsx("button",{"data-loc":"client/src/pages/HookBibliothek.tsx:454",onClick:a,className:`p-2 rounded-lg transition-all ${e.
310isFavorit?"text-yellow-400 bg-yellow-400/15 hover:bg-yellow-400/25":"text-slate-400 hover:text-yellow-400 hover:bg-yellow-400/10"}`,title:e.isFavorit?"Aus Favoriten entfernen":"Zu Favoriten hinzufügen",children:p.jsx(kb,{"data-loc":"client/src/pages/HookBibliothek.tsx:463",className:`w-4 h-4 transition-all ${e.isFavorit?"fill-current":""}`})}),p.jsx("button",{"data-loc":"client/src/pages/HookBibliothek.tsx:467",onClick:()=>y("positiv"),className:`p-2 rounded-lg transition-all ${x==="positiv"?"text-green-400 bg-green-400/15 hover:bg-green-400/25":"text-slate-400 hover:text-green-400 hover:bg-green-400/10"}`,title:"Gut",children:p.jsx(RT,{"data-loc":"client/src/pages/HookBibliothek.tsx:476",className:`w-4 h-4 transition-all ${x==="positiv"?"fill-current":""}`})}),p.jsx("button",{"data-loc":"client/src/pages/HookBibliothek.tsx:480",onClick:()=>y("negativ"),className:`p-2 rounded-lg transition-all ${x==="negativ"?"text-red-400 bg-red-400/15 hover:bg-red-400/25":"text-slate-400 hover:text-red-400 hover:bg-red-400/10"}`,title:"Nicht gut",children:p.jsx(OT,{"data-loc":"client/src/pages/HookBibliothek.tsx:489",className:`w-4 h-4 transition-all ${x==="negativ"?"fill-current":""}`})}),p.jsx("button",{"data-loc":"client/src/pages/HookBibliothek.tsx:493",onClick:o,className:`p-2 rounded-lg transition-all ${e.notiz?"text-blue-400 bg-blue-400/15 hover:bg-blue-400/25":"text-slate-400 hover:text-blue-400 hover:bg-blue-400/10"}`,title:e.notiz?"Notiz bearbeiten":"Notiz hinzufügen",children:p.jsx(CT,{"data-loc":"client/src/pages/HookBibliothek.tsx:502",className:`w-4 h-4 transition-all ${e.notiz?"fill-current/20":""}`})}),p.jsx("button",{"data-loc":"client/src/pages/HookBibliothek.tsx:506",onClick:i,className:"p-2 rounded-lg text-slate-400 hover:text-red-400 hover:bg-red-400/10 transition-all ml-auto",title:"Löschen",children:p.jsx(DT,{"data-loc":"client/src/pages/HookBibliothek.tsx:511",className:"w-4 h-4"})})]}),e.notiz&&u!==e.id&&p.jsx("div",{"data-loc":"client/src/pages/HookBibliothek.tsx:517",className:"bg-blue-500/5 border border-blue-500/20 rounded-lg p-2 mb-2",children:p.jsx("p",{"data-loc":"client/src/pages/HookBibliothek.tsx:518",className:"text-blue-300 text-xs",children:e.notiz})}),u===e.id&&p.jsxs("div",{"data-loc":"client/src/pages/HookBibliothek.tsx:524",className:"space-y-2",children:[p.jsx(Bs,{"data-loc":"client/src/pages/HookBibliothek.tsx:525",value:c,onChange:E=>h(E.target.value),placeholder:"Notiz hinzufügen...",className:"bg-white/5 border-white/20 text-white placeholder:text-slate-500 text-sm"}),p.jsxs("div",{"data-loc":"client/src/pages/HookBibliothek.tsx:531",className:"flex gap-2",children:[p.jsx(tt,{"data-loc":"client/src/pages/HookBibliothek.tsx:532",size:"sm",className:"bg-yellow-400 hover:bg-yellow-300 text-[#0f172a] font-bold h-7 text-xs",onClick:g,children:"Speichern"}),p.jsx(tt,{"data-loc":"client/src/pages/HookBibliothek.tsx:533",size:"sm",variant:"ghost",className:"text-slate-400 h-7 text-xs",onClick:m,children:"Abbrechen"})]})]})]})]})}const mH="modulepreload",pH=function(e){return"/"+e},j6={}
vendor: 4,325 bytes, line 310
310,z=function(t,n,r){let a=Promise.resolve();if(n&&n.length>0){let c=function(h){return Promise.all(h.map(g=>Promise.resolve(g).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(h=>{if(h=pH(h),h in j6)return;j6[h]=!0;const g=h.endsWith(".css"),m=g?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${h}"]${m}`))return;const x=document.createElement("link");if(x.rel=g?"stylesheet":mH,g||(x.as="script"),x.crossOrigin="",x.href=h,u&&x.setAttribute("nonce",u),document.head.appendChild(x),g)return new Promise((y,E)=>{x.addEventListener("load",y),x.addEventListener("error",()=>E(new Error(`Unable to preload CSS for ${h}`)))})}))}function i(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"&&i(u.reason);return t().catch(i)})};function H6(e){const t=[],n=String(e||"");let r=n.indexOf(","),a=0,i=!1;for(;!i;){r===-1&&(r=n.length,i=!0);const o=n.slice(a,r).trim();(o||!i)&&t.push(o),a=r+1,r=n.indexOf(",",a)}return t}function sx(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const gH=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,bH=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,xH={};function B6(e,t){return(xH.jsx?bH:gH).test(e)}const yH=/[ \t\n\f\r]/g;function Xf(e){return typeof e=="object"?e.type==="text"?z6(e.value):!1:z6(e)}function z6(e){return e.replace(yH,"")===""}let T0=class{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}};T0.prototype.normal={};T0.prototype.property={};T0.prototype.space=void 0;function u_(e,t){const n={},r={};for(const a of e)Object.assign(n,a.property),Object.assign(r,a.normal);return new T0(n,r,t)}function s0(e){return e.toLowerCase()}let Nr=class{constructor(t,n){this.attribute=n,this.property=t}};Nr.prototype.attribute="";Nr.prototype.booleanish=!1;Nr.prototype.boolean=!1;Nr.prototype.commaOrSpaceSeparated=!1;Nr.prototype.commaSeparated=!1;Nr.prototype.defined=!1;Nr.prototype.mustUseProperty=!1;Nr.prototype.number=!1;Nr.prototype.overloadedBoolean=!1;Nr.prototype.property="";Nr.prototype.spaceSeparated=!1;Nr.prototype.space=void 0;let vH=0;const ot=Ul(),yn=Ul(),Ob=Ul(),Oe=Ul(),zt=Ul(),Ko=Ul(),Hr=Ul();function Ul(){return 2**++vH}const Rb=Object.freeze(Object.defineProperty({__proto__:null,boolean:ot,booleanish:yn,commaOrSpaceSeparated:Hr,commaSeparated:Ko,number:Oe,overloadedBoolean:Ob,spaceSeparated:zt},Symbol.toStringTag,{value:"Module"})),eg=Object.keys(Rb);let ix=class extends Nr{constructor(t,n,r,a){let i=-1;if(super(t,n),U6(this,"space",a),typeof r=="number")for(;++i<eg.length;){const o=eg[i];U6(this,eg[i],(r&Rb[o])===Rb[o])}}};ix.prototype.defined=!0;function U6(e,t,n){n&&(e[t]=n)}function mu(e){const t={},n={};for(const[r,a]of Object.entries(e.properties)){const i=new ix(r,e.transform(e.attributes||{},r),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[s0(r)]=r,n[s0(i.attribute)]=r}return new T0(t,n,e.space)}const c_=mu({properties:{ariaActiveDescendant:null,ariaAtomic:yn,ariaAutoComplete:null,ariaBusy:yn,ariaChecked:yn,ariaColCount:Oe,ariaColIndex:Oe,ariaColSpan:Oe,ariaControls:zt,ariaCurrent:null,ariaDescribedBy:zt,ariaDetails:null,ariaDisabled:yn,ariaDropEffect:zt,ariaErrorMessage:null,ariaExpanded:yn,ariaFlowTo:zt,ariaGrabbed:yn,ariaHasPopup:null,ariaHidden:yn,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:zt,ariaLevel:Oe,ariaLive:null,ariaModal:yn,ariaMultiLine:yn,ariaMultiSelectable:yn,ariaOrientation:null,ariaOwns:zt,ariaPlaceholder:null,ariaPosInSet:Oe,ariaPressed:yn,ariaReadOnly:yn,ariaRelevant:null,ariaRequired:yn,ariaRoleDescription:zt,ariaRowCount:Oe,ariaRowIndex:Oe,ariaRowSpan:Oe,ariaSelected:yn,ariaSetSize:Oe,ariaSort:null,ariaValueMax:Oe,ariaValueMin:Oe,ariaValueNow:Oe,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function d_(e,t){return t in e?e[t]:t}function h_(e,t){return d_(e,t.toLowerCase())}const EH=mu({attributes:{acceptcharset:"accept-charset",classname:"
310class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Ko,acceptCharset:zt,accessKey:zt,action:null,allow:null,allowFullScreen:ot,allowPaymentRequest:ot,allowUserMedia:ot,alt:null,as:null,async:ot,autoCapitalize:null,autoComplete:zt,autoFocus:ot,autoPlay:ot,blocking:zt,capture:null,charSet:null,checked:ot,cite:null,className:zt,cols:Oe,colSpan:null,content:null,contentEditable:yn,controls:ot,controlsList:zt,coords:Oe|Ko,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ot,defer:ot,dir:null,dirName:null,disabled:ot,download:Ob,draggable:yn,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ot,formTarget:null,headers:zt,height:Oe,hidden:Ob,high:Oe,href:null,hrefLang:null,htmlFor:zt,httpEquiv:zt,id:null,imageSizes:null,imageSrcSet:null,inert:ot,inputMode:null,integrity:null,is:null,isMap:ot,itemId:null,itemProp:zt,itemRef:zt,itemScope:ot,itemType:zt,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ot,low:Oe,manifest:null,max:null,maxLength:Oe,media:null,method:null,min:null,minLength:Oe,multiple:ot,muted:ot,name:null,nonce:null,noModule:ot,noValidate:ot,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:ot,optimum:Oe,pattern:null,ping:zt,placeholder:null,playsInline:ot,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:ot,referrerPolicy:null,rel:zt,required:ot,reversed:ot,rows:Oe,rowSpan:Oe,sandbox:zt,scope:null,scoped:ot,seamless:ot,selected:ot,shadowRootClonable:ot,shadowRootDelegatesFocus:ot,shadowRootMode:null,shape:null,size:Oe,sizes:null,slot:null,span:Oe,spellCheck:yn,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Oe,step:null,style:null,tabIndex:Oe,target:null,title:null,translate:null,type:null,typeMustMatch:ot,useMap:null,value:yn,width:Oe,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:zt,axis:null,background:null,bgColor:null,border:Oe,borderColor:null,bottomMargin:Oe,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ot,declare:ot,event:null,face:null,frame:null,frameBorder:null,hSpace:Oe,leftMargin:Oe,link:null,longDesc:null,lowSrc:null,marginHeight:Oe,marginWidth:Oe,noResize:ot,noHref:ot,noShade:ot,noWrap:ot,object:null,profile:null,prompt:null,rev:null,rightMargin:Oe,rules:null,scheme:null,scrolling:yn,standby:null,summary:null,text:null,topMargin:Oe,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Oe,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ot,disableRemotePlayback:ot,prefix:null,property:null,results:Oe,security:null,unselectable:null},space:"html",transform:h_}),wH=mu({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
310dering:"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:Hr,accentHeight:Oe,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Oe,amplitude:Oe,arabicForm:null,ascent:Oe,attributeName:null,attributeType:null,azimuth:Oe,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Oe,by:null,calcMode:null,capHeight:Oe,className:zt,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRen
310dering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Oe,diffuseConstant:Oe,direction:null,display:null,dur:null,divisor:Oe,dominantBaseline:null,download:ot,dx:null,dy:null,edgeMode:null,editable:null,elevation:Oe,enableBackground:null,end:null,event:null,exponent:Oe,externalResourcesRequired:null,fill:null,fillOpacity:Oe,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Ko,g2:Ko,glyphName:Ko,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Oe,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Oe,horizOriginX:Oe,horizOriginY:Oe,id:null,ideographic:Oe,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Oe,k:Oe,k1:Oe,k2:Oe,k3:Oe,k4:Oe,kernelMatrix:Hr,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Oe,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Oe,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Oe,overlineThickness:Oe,paintOrder:null,panose1:null,path:null,pathLength:Oe,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:zt,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Oe,pointsAtY:Oe,pointsAtZ:Oe,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:Oe,specularExponent:Oe,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Oe,strikethroughThickness:Oe,string:null,stroke:null,strokeDashArray:Hr,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Oe,strokeOpacity:Oe,strokeWidth:null,style:null,surfaceScale:Oe,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Hr,tabIndex:Oe,tableValues:null,target:null,targetX:Oe,targetY:Oe,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Hr,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Oe,underlineThickness:Oe,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Oe,values:null,vAlphabetic:Oe,vMathematical:Oe,vectorEffect:null,vHanging:Oe,vIdeographic:Oe,version:null,vertAdvY:Oe,vertOriginX:Oe,vertOriginY:Oe,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Oe,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:d_}),f_=mu({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}
vendor: 4,322 bytes, lines 310-311
310,space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),m_=mu({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:h_}),p_=mu({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),TH={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"},_H=/[A-Z]/g,F6=/-[a-z]/g,kH=/^data[-\w.:]+$/i;function Zf(e,t){const n=s0(t);let r=t,a=Nr;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&kH.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(F6,AH);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!F6.test(i)){let o=i.replace(_H,SH);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}a=ix}return new a(r,t)}function SH(e){return"-"+e.toLowerCase()}function AH(e){return e.charAt(1).toUpperCase()}const _0=u_([c_,EH,f_,m_,p_],"html"),Ki=u_([c_,wH,f_,m_,p_],"svg");function q6(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function lx(e){return e.join(" ").trim()}var jo={},tg,G6;function NH(){if(G6)return tg;G6=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,n=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,a=/^:\s*/,i=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,o=/^[;\s]*/,u=/^\s+|\s+$/g,c=`
311`,h="/",g="*",m="",x="comment",y="declaration";tg=function(_,N){if(typeof _!="string")throw new TypeError("First argument must be a string");if(!_)return[];N=N||{};var A=1,C=1;function M(he){var le=he.match(t);le&&(A+=le.length);var me=he.lastIndexOf(c);C=~me?he.length-me:C+he.length}function X(){var he={line:A,column:C};return function(le){return le.position=new G(he),Z(),le}}function G(he){this.start=he,this.end={line:A,column:C},this.source=N.source}G.prototype.content=_;function P(he){var le=new Error(N.source+":"+A+":"+C+": "+he);if(le.reason=he,le.filename=N.source,le.line=A,le.column=C,le.source=_,!N.silent)throw le}function B(he){var le=he.exec(_);if(le){var me=le[0];return M(me),_=_.slice(me.length),le}}function Z(){B(n)}function V(he){var le;for(he=he||[];le=U();)le!==!1&&he.push(le);return he}function U(){var he=X();if(!(h!=_.charAt(0)||g!=_.charAt(1))){for(var le=2;m!=_.charAt(le)&&(g!=_.charAt(le)||h!=_.charAt(le+1));)++le;if(le+=2,m===_.charAt(le-1))return P("End of comment missing");var me=_.slice(2,le-2);return C+=2,M(me),_=_.slice(le),C+=2,he({type:x,comment:me})}}function ae(){var he=X(),le=B(r);if(le){if(U(),!B(a))return P("property missing ':'");var me=B(i),$=he({type:y,property:E(le[0].replace(e,m)),value:me?E(me[0].replace(e,m)):m});return B(o),$}}function te(){var he=[];V(he);for(var le;le=ae();)le!==!1&&(he.push(le),V(he));return he}return Z(),te()};function E(_){return _?_.replace(u,m):m}return tg}var $6;function CH(){if($6)return jo;$6=1;var e=jo&&jo.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(jo,"__esModule",{value:!0}),jo.default=n;const t=e(NH());function n(r,a){let i=null;if(!r||typeof r!="string")return i;const o=(0,t.default)(r),u=typeof a=="function";return o.forEach(c=>{if(c.type!=="declaration")return;const{property:h,value:g}=c;u?a(h,g,c):g&&(i=i||{},i[h]=g)}),i}return jo}var yc={},V6;function OH(){if(V6)return yc;V6=1,Object.defineProperty(yc,"__esModule",{value:!0}),yc.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,n=/^[^-]+$/,r=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,i=function(h){return!h||n.test(h)||e.test(h)},o=function(h,g){return g.toUpperCase()},u=function(h,g){return"".concat(g,"-")},c=function(h,g){return g===void 0&&(g={}),i(h)?h:(h=h.toLowerCase(),g.reactCompat?h=h.replace(a,u):h=h.replace(r,u),h.replace(t,o))};return yc.camelCase=c,yc}var vc,Y6;function RH(){if(Y6)return vc;Y6=1;var e=vc&&vc.__importDefault||function(a){return a&&a.__esModule?a:{default:a}},t=e(CH()),n=OH();function r(a,i){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 311
311Case)(u,i)]=c)}),o}return r.default=r,vc=r,vc}var DH=RH();const LH=Of(DH),Jf=g_("end"),ls=g_("start");function g_(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 IH(e){const t=ls(e),n=Jf(e);if(t&&n)return{start:t,end:n}}function Pc(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Q6(e.position):"start"in e||"end"in e?Q6(e):"line"in e||"column"in e?Db(e):""}function Db(e){return W6(e&&e.line)+":"+W6(e&&e.column)}function Q6(e){return Db(e&&e.start)+"-"+Db(e&&e.end)}function W6(e){return e&&typeof e=="number"?e:1}class tr extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let a="",i={},o=!1;if(n&&("line"in n&&"column"in n?i={place:n}:"start"in n&&"end"in n?i={place:n}:"type"in n?i={ancestors:[n],place:n.position}:i={...n}),typeof t=="string"?a=t:!i.cause&&t&&(o=!0,a=t.message,i.cause=t),!i.ruleId&&!i.source&&typeof r=="string"){const c=r.indexOf(":");c===-1?i.ruleId=r:(i.source=r.slice(0,c),i.ruleId=r.slice(c+1))}if(!i.place&&i.ancestors&&i.ancestors){const c=i.ancestors[i.ancestors.length-1];c&&(i.place=c.position)}const u=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.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=Pc(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=o&&i.cause&&typeof i.cause.stack=="string"?i.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}tr.prototype.file="";tr.prototype.name="";tr.prototype.reason="";tr.prototype.message="";tr.prototype.stack="";tr.prototype.column=void 0;tr.prototype.line=void 0;tr.prototype.ancestors=void 0;tr.prototype.cause=void 0;tr.prototype.fatal=void 0;tr.prototype.place=void 0;tr.prototype.ruleId=void 0;tr.prototype.source=void 0;const ox={}.hasOwnProperty,MH=new Map,PH=/[A-Z]/g,jH=new Set(["table","tbody","thead","tfoot","tr"]),HH=new Set(["td","th"]),b_="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function BH(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=YH(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");
vendor: 6,302 bytes, line 311
311if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=VH(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"?Ki:_0,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},i=x_(a,e,void 0);return i&&typeof i!="string"?i:a.create(e,a.Fragment,{children:i||void 0},void 0)}function x_(e,t,n){if(t.type==="element")return zH(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return UH(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return qH(e,t,n);if(t.type==="mdxjsEsm")return FH(e,t);if(t.type==="root")return GH(e,t,n);if(t.type==="text")return $H(e,t)}function zH(e,t,n){const r=e.schema;let a=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(a=Ki,e.schema=a),e.ancestors.push(t);const i=v_(e,t.tagName,!1),o=QH(e,t);let u=cx(e,t);return jH.has(t.tagName)&&(u=u.filter(function(c){return typeof c=="string"?!Xf(c):!0})),y_(e,o,i,t),ux(o,u),e.ancestors.pop(),e.schema=r,e.create(t,i,o,n)}function UH(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)}i0(e,t.position)}function FH(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);i0(e,t.position)}function qH(e,t,n){const r=e.schema;let a=r;t.name==="svg"&&r.space==="html"&&(a=Ki,e.schema=a),e.ancestors.push(t);const i=t.name===null?e.Fragment:v_(e,t.name,!0),o=WH(e,t),u=cx(e,t);return y_(e,o,i,t),ux(o,u),e.ancestors.pop(),e.schema=r,e.create(t,i,o,n)}function GH(e,t,n){const r={};return ux(r,cx(e,t)),e.create(t,e.Fragment,r,n)}function $H(e,t){return t.value}function y_(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function ux(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function VH(e,t,n){return r;function r(a,i,o,u){const h=Array.isArray(o.children)?n:t;return u?h(i,o,u):h(i,o)}}function YH(e,t){return n;function n(r,a,i,o){const u=Array.isArray(i.children),c=ls(r);return t(a,i,o,u,{columnNumber:c?c.column-1:void 0,fileName:e,lineNumber:c?c.line:void 0},void 0)}}function QH(e,t){const n={};let r,a;for(a in t.properties)if(a!=="children"&&ox.call(t.properties,a)){const i=KH(e,a,t.properties[a]);if(i){const[o,u]=i;e.tableCellAlignToStyle&&o==="align"&&typeof u=="string"&&HH.has(t.tagName)?r=u:n[o]=u}}if(r){const i=n.style||(n.style={});i[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function WH(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const i=r.data.estree.body[0];i.type;const o=i.expression;o.type;const u=o.properties[0];u.type,Object.assign(n,e.evaluater.evaluateExpression(u.argument))}else i0(e,t.position);else{const a=r.name;let i;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,i=e.evaluater.evaluateExpression(u.expression)}else i0(e,t.position);else i=r.value===null?!0:r.value;n[a]=i}return n}function cx(e,t){const n=[];let r=-1;const a=e.passKeys?new Map:MH;for(;++r<t.children.length;){const i=t.children[r];let o;if(e.passKeys){const c=i.type==="element"?i.tagName:i.type==="mdxJsxFlowElement"||i.type==="mdxJsxTextElement"?i.name:void 0;if(c){const h=a.get(c)||0;o=c+"-"+h,a.set(c,h+1)}}const u=x_(e,i,o);u!==void 0&&n.push(u)}return n}function KH(e,t,n){const r=Zf(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?sx(n):lx(n)),r.property==="style"){let a=typeof n=="object"?n:XH(e,String(n));return e.stylePropertyNameCase==="css"&&(a=ZH(a)),["style",a]}return[e.elementAttributeNameCase==="react"&&r.space?TH[r.property]||r.property:r.attribute,n]}}function XH(e,t){try{return LH(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const r=n,a=new tr("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=b_+"#cannot-parse-style-attribute",a}}function v_(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const a=t.split(".");let i=-1,o;for(;++i<a.length;){const u=B6(a[i])?{type:"Identifier",name:a[i]}:{type:"Literal",value:a[i]};o=o?{type:"MemberExpression",object:o,property:u,computed:!!(i&&u.type==="Literal"),optional:!1}:u}r=o}else r=B6(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const a=r.value;return ox.call(e.components,a)?e.components[a]:a}if(e.evaluater)return e.evaluater.evaluateExpression(r);i0(e)}function i0(e,t){const n=new tr("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=b_+"#cannot-handle-mdx-estrees-without-createevaluater",n}function ZH(e){const t={};let n;for(n in e)ox.call(e,n)&&(t[JH(n)]=e[n]);return t}function JH(e){let t=e.replace(PH,eB);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function eB(e){return"-"+e.toLowerCase()}const ng={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"]},tB={};function dx(e,t){const n=tB,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,a=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return E_(e,r,a)}function E_(e,t,n){if(nB(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 K6(e.children,t,n)}return Array.isArray(e)?K6(e,t,n):""}function K6(e,t,n){const r=[];let a=-1;for(;++a<e.length;)r[a]=E_(e[a],t,n);return r.join("")}function nB(e){return!!(e&&typeof e=="object")}const X6=document.createElement("i");function hx(e){const t="&"+e+";";X6.innerHTML=t;const n=X6.textContent;
vendor: 12,923 bytes, line 311
311return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function $r(e,t,n,r){const a=e.length;let i=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);i<r.length;)o=r.slice(i,i+1e4),o.unshift(t,0),e.splice(...o),i+=1e4,t+=1e4}function la(e,t){return e.length>0?($r(e,e.length,0,t),e):t}const Z6={}.hasOwnProperty;function w_(e){const t={};let n=-1;for(;++n<e.length;)rB(t,e[n]);return t}function rB(e,t){let n;for(n in t){const a=(Z6.call(e,n)?e[n]:void 0)||(e[n]={}),i=t[n];let o;if(i)for(o in i){Z6.call(a,o)||(a[o]=[]);const u=i[o];aB(a[o],Array.isArray(u)?u:u?[u]:[])}}}function aB(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);$r(e,0,0,r)}function T_(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=Xi(/[A-Za-z]/),er=Xi(/[\dA-Za-z]/),sB=Xi(/[#-'*+\--9=?A-Z^-~]/);function ef(e){return e!==null&&(e<32||e===127)}const Lb=Xi(/\d/),iB=Xi(/[\dA-Fa-f]/),lB=Xi(/[!-/:-@[-`{-~]/);function $e(e){return e!==null&&e<-2}function Ht(e){return e!==null&&(e<0||e===32)}function bt(e){return e===-2||e===-1||e===32}const em=Xi(new RegExp("\\p{P}|\\p{S}","u")),Il=Xi(/\s/);function Xi(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function pu(e){const t=[];let n=-1,r=0,a=0;for(;++n<e.length;){const i=e.charCodeAt(n);let o="";if(i===37&&er(e.charCodeAt(n+1))&&er(e.charCodeAt(n+2)))a=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(o=String.fromCharCode(i));else if(i>55295&&i<57344){const u=e.charCodeAt(n+1);i<56320&&u>56319&&u<57344?(o=String.fromCharCode(i,u),a=1):o="�"}else o=String.fromCharCode(i);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 ft(e,t,n,r){const a=r?r-1:Number.POSITIVE_INFINITY;let i=0;return o;function o(c){return bt(c)?(e.enter(n),u(c)):t(c)}function u(c){return bt(c)&&i++<a?(e.consume(c),u):(e.exit(n),t(c))}}const oB={tokenize:uB};function uB(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"),ft(e,t,"linePrefix")}function a(u){return e.enter("paragraph"),i(u)}function i(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"),i):(e.consume(u),o)}}const cB={tokenize:dB},J6={tokenize:hB};function dB(e){const t=this,n=[];let r=0,a,i,o;return u;function u(M){if(r<n.length){const X=n[r];return t.containerState=X[1],e.attempt(X[0].continuation,c,h)(M)}return h(M)}function c(M){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,a&&C();const X=t.events.length;let G=X,P;for(;G--;)if(t.events[G][0]==="exit"&&t.events[G][1].type==="chunkFlow"){P=t.events[G][1].end;break}A(r);let B=X;for(;B<t.events.length;)t.events[B][1].end={...P},B++;return $r(t.events,G+1,0,t.events.slice(X)),t.events.length=B,h(M)}return u(M)}function h(M){if(r===n.length){if(!a)return x(M);if(a.currentConstruct&&a.currentConstruct.concrete)return E(M);t.interrupt=!!(a.currentConstruct&&!a._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(J6,g,m)(M)}function g(M){return a&&C(),A(r),x(M)}function m(M){return t.parser.lazy[t.now().line]=r!==n.length,o=t.now().offset,E(M)}function x(M){return t.containerState={},e.attempt(J6,y,E)(M)}function y(M){return r++,n.push([t.currentConstruct,t.containerState]),x(M)}function E(M){if(M===null){a&&C(),A(0),e.consume(M);return}return a=a||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:a,contentType:"flow",previous:i}),_(M)}function _(M){if(M===null){N(e.exit("chunkFlow"),!0),A(0),e.consume(M);return}return $e(M)?(e.consume(M),N(e.exit("chunkFlow")),r=0,t.interrupt=void 0,u):(e.consume(M),_)}function N(M,X){const G=t.sliceStream(M);if(X&&G.push(null),M.previous=i,i&&(i.next=M),i=M,a.defineSkip(M.start),a.write(G),t.parser.lazy[M.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 B=t.events.length;let Z=B,V,U;for(;Z--;)if(t.events[Z][0]==="exit"&&t.events[Z][1].type==="chunkFlow"){if(V){U=t.events[Z][1].end;break}V=!0}for(A(r),P=B;P<t.events.length;)t.events[P][1].end={...U},P++;$r(t.events,Z+1,0,t.events.slice(B)),t.events.length=P}}function A(M){let X=n.length;for(;X-- >M;){const G=n[X];t.containerState=G[1],G[0].exit.call(t,e)}n.length=M}function C(){a.write([null]),i=void 0,a=void 0,t.containerState._closeFlow=void 0}}function hB(e,t,n){return ft(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function au(e){if(e===null||Ht(e)||Il(e))return 1;if(em(e))return 2}function tm(e,t,n){const r=[];let a=-1;for(;++a<e.length;){const i=e[a].resolveAll;i&&!r.includes(i)&&(t=i(t,n),r.push(i))}return t}const Ib={name:"attention",resolveAll:fB,tokenize:mB};function fB(e,t){let n=-1,r,a,i,o,u,c,h,g;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},x={...e[n][1].start};e8(m,-c),e8(x,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:x},i={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},h=[],e[r][1].end.offset-e[r][1].start.offset&&(h=la(h,[["enter",e[r][1],t],["exit",e[r][1],t]])),h=la(h,[["enter",a,t],["enter",o,t],["exit",o,t],["enter",i,t]]),h=la(h,tm(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),h=la(h,[["exit",i,t],["enter",u,t],["exit",u,t],["exit",a,t]]),e[n][1].end.offset-e[n][1].start.offset?(g=2,h=la(h,[["enter",e[n][1],t],["exit",e[n][1],t]])):g=0,$r(e,r-1,n-r+3,h),n=r+h.length-g-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function mB(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,a=au(r);let i;return o;function o(c){return i=c,e.enter("attentionSequence"),u(c)}function u(c){if(c===i)return e.consume(c),u;const h=e.exit("attentionSequence"),g=au(c),m=!g||g===2&&a||n.includes(c),x=!a||a===2&&g||n.includes(r);return h._open=!!(i===42?m:m&&(a||!x)),h._close=!!(i===42?x:x&&(g||!m)),t(c)}}function e8(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const pB={name:"autolink",tokenize:gB};function gB(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"),i}function i(y){return lr(y)?(e.consume(y),o):y===64?n(y):h(y)}function o(y){return y===43||y===45||y===46||er(y)?(r=1,u(y)):h(y)}function u(y){return y===58?(e.consume(y),r=0,c):(y===43||y===45||y===46||er(y))&&r++<32?(e.consume(y),u):(r=0,h(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||ef(y)?n(y):(e.consume(y),c)}function h(y){return y===64?(e.consume(y),g):sB(y)?(e.consume(y),h):n(y)}function g(y){return er(y)?m(y):n(y)}function m(y){return y===46?(e.consume(y),r=0,g):y===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(y),e.exit("autolinkMarker"),e.exit("autolink"),t):x(y)}function x(y){if((y===45||er(y))&&r++<63){const E=y===45?x:m;return e.consume(y),E}return n(y)}}const k0={partial:!0,tokenize:bB};function bB(e,t,n){return r;function r(i){return bt(i)?ft(e,a,"linePrefix")(i):a(i)}function a(i){return i===null||$e(i)?t(i):n(i)}}const __={continuation:{tokenize:yB},exit:vB,name:"blockQuote",tokenize:xB};function xB(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"),i}return n(o)}function i(o){return bt(o)?(e.enter("blockQuotePrefixWhitespace"),e.consume(o),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(o))}}function yB(e,t,n){const r=this;return a;function a(o){return bt(o)?ft(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o):i(o)}function i(o){return e.attempt(__,t,n)(o)}}function vB(e){e.exit("blockQuote")}const k_={name:"characterEscape",tokenize:EB};function EB(e,t,n){return r;function r(i){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(i),e.exit("escapeMarker"),a}function a(i){return lB(i)?(e.enter("characterEscapeValue"),e.consume(i),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(i)}}const S_={name:"characterReference",tokenize:wB};function wB(e,t,n){const r=this;let a=0,i,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"),h):(e.enter("characterReferenceValue"),i=31,o=er,g(m))}function h(m){return m===88||m===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(m),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,o=iB,g):(e.enter("characterReferenceValue"),i=7,o=Lb,g(m))}function g(m){if(m===59&&a){const x=e.exit("characterReferenceValue");return o===er&&!hx(r.sliceSerialize(x))?n(m):(e.enter("characterReferenceMarker"),e.consume(m),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return o(m)&&a++<i?(e.consume(m),g):n(m)}}const t8={partial:!0,tokenize:_B},n8={concrete:!0,name:"codeFenced",tokenize:TB};function TB(e,t,n){const r=this,a={partial:!0,tokenize:G};let i=0,o=0,u;return c;function c(P){return h(P)}function h(P){const B=r.events[r.events.length-1];return i=B&&B[1].type==="linePrefix"?B[2].sliceSerialize(B[1],!0).length:0,u=P,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),g(P)}function g(P){return P===u?(o++,e.consume(P),g):o<3?n(P):(e.exit("codeFencedFenceSequence"),bt(P)?ft(e,m,"whitespace")(P):m(P))}function m(P){return P===null||$e(P)?(e.exit("codeFencedFence"),r.interrupt?t(P):e.check(t8,_,X)(P)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),x(P))}function x(P){return P===null||$e(P)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),m(P)):bt(P)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),ft(e,y,"whitespace")(P)):P===96&&P===u?n(P):(e.consume(P),x)}function y(P){return P===null||$e(P)?m(P):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),E(P))}function E(P){return P===null||$e(P)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),m(P)):P===96&&P===u?n(P):(e.consume(P),E)}function _(P){return e.attempt(a,X,N)(P)}function N(P){return e.enter("lineEnding"),e.consume(P),e.exit("lineEnding"),A}function A(P){return i>0&&bt(P)?ft(e,C,"linePrefix",i+1)(P):C(P)}function C(P){return P===null||$e(P)?e.check(t8,_,X)(P):(e.enter("codeFlowValue"),M(P))}function M(P){return P===null||$e(P)?(e.exit("codeFlowValue"),C(P)):(e.consume(P),M)}function X(P){return e.exit("codeFenced"),t(P)}function G(P,B,Z){let V=0;return U;function U(me){return P.enter("lineEnding"),P.consume(me),P.exit("lineEnding"),ae}function ae(me){return P.enter("codeFencedFence"),bt(me)?ft(P,te,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(me):te(me)}function te(me){return me===u?(P.enter("codeFencedFenceSequence"),he(me)):Z(me)}function he(me){return me===u?(V++,P.consume(me),he):V>=o?(P.exit("codeFencedFenceSequence"),bt(me)?ft(P,le,"whitespace")(me):le(me)):Z(me)}function le(me){return me===null||$e(me)?(P.exit("codeFencedFence"),B(me)):Z(me)}}}function _B(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"),i)}function i(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}
vendor: 5,169 bytes, line 311
311const rg={name:"codeIndented",tokenize:SB},kB={partial:!0,tokenize:AB};function SB(e,t,n){const r=this;return a;function a(h){return e.enter("codeIndented"),ft(e,i,"linePrefix",5)(h)}function i(h){const g=r.events[r.events.length-1];return g&&g[1].type==="linePrefix"&&g[2].sliceSerialize(g[1],!0).length>=4?o(h):n(h)}function o(h){return h===null?c(h):$e(h)?e.attempt(kB,o,c)(h):(e.enter("codeFlowValue"),u(h))}function u(h){return h===null||$e(h)?(e.exit("codeFlowValue"),o(h)):(e.consume(h),u)}function c(h){return e.exit("codeIndented"),t(h)}}function AB(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):ft(e,i,"linePrefix",5)(o)}function i(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 NB={name:"codeText",previous:OB,resolve:CB,tokenize:RB};function CB(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 OB(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function RB(e,t,n){let r=0,a,i;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?(i=e.enter("codeTextSequence"),a=0,g(m)):$e(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),c):(e.enter("codeTextData"),h(m))}function h(m){return m===null||m===32||m===96||$e(m)?(e.exit("codeTextData"),c(m)):(e.consume(m),h)}function g(m){return m===96?(e.consume(m),a++,g):a===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(m)):(i.type="codeTextData",h(m))}}class DB{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 i=this.right.splice(this.right.length-a,Number.POSITIVE_INFINITY);return r&&Ec(this.left,r),i.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),Ec(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Ec(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);Ec(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Ec(this.left,n.reverse())}}}function Ec(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 A_(e){const t={};let n=-1,r,a,i,o,u,c,h;const g=new DB(e);for(;++n<g.length;){for(;n in t;)n=t[n];if(r=g.get(n),n&&r[1].type==="chunkFlow"&&g.get(n-1)[1].type==="listItemPrefix"&&(c=r[1]._tokenizer.events,i=0,i<c.length&&c[i][1].type==="lineEndingBlank"&&(i+=2),i<c.length&&c[i][1].type==="content"))for(;++i<c.length&&c[i][1].type!=="content";)c[i][1].type==="chunkText"&&(c[i][1]._isInFirstContentOfListItem=!0,i++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,LB(g,n)),n=t[n],h=!0);else if(r[1]._container){for(i=n,a=void 0;i--;)if(o=g.get(i),o[1].type==="lineEnding"||o[1].type==="lineEndingBlank")o[0]==="enter"&&(a&&(g.get(a)[1].type="lineEndingBlank"),o[1].type="lineEnding",a=i);else if(!(o[1].type==="linePrefix"||o[1].type==="listItemIndent"))break;a&&(r[1].end={...g.get(a)[1].start},u=g.slice(a,n),u.unshift(r),g.splice(a,n-a+1,u))}}return $r(e,0,Number.POSITIVE_INFINITY,g.slice(0)),!h}function LB(e,t){const n=e.get(t)[1],r=e.get(t)[2];let a=t-1;const i=[];let o=n._tokenizer;o||(o=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(o._contentTypeTextTrailing=!0));const u=o.events,c=[],h={};let g,m,x=-1,y=n,E=0,_=0;const N=[_];for(;y;){for(;e.get(++a)[1]!==y;);i.push(a),y._tokenizer||(g=r.sliceStream(y),y.next||g.push(null),m&&o.defineSki
vendor: 18,628 bytes, line 311
311p(y.start),y._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(g),y._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),m=y,y=y.next}for(y=n;++x<u.length;)u[x][0]==="exit"&&u[x-1][0]==="enter"&&u[x][1].type===u[x-1][1].type&&u[x][1].start.line!==u[x][1].end.line&&(_=x+1,N.push(_),y._tokenizer=void 0,y.previous=void 0,y=y.next);for(o.events=[],y?(y._tokenizer=void 0,y.previous=void 0):N.pop(),x=N.length;x--;){const A=u.slice(N[x],N[x+1]),C=i.pop();c.push([C,C+A.length-1]),e.splice(C,2,A)}for(c.reverse(),x=-1;++x<c.length;)h[E+c[x][0]]=E+c[x][1],E+=c[x][1]-c[x][0]-1;return h}const IB={resolve:PB,tokenize:jB},MB={partial:!0,tokenize:HB};function PB(e){return A_(e),e}function jB(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?i(u):$e(u)?e.check(MB,o,i)(u):(e.consume(u),a)}function i(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 HB(e,t,n){const r=this;return a;function a(o){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),ft(e,i,"linePrefix")}function i(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 N_(e,t,n,r,a,i,o,u,c){const h=c||Number.POSITIVE_INFINITY;let g=0;return m;function m(A){return A===60?(e.enter(r),e.enter(a),e.enter(i),e.consume(A),e.exit(i),x):A===null||A===32||A===41||ef(A)?n(A):(e.enter(r),e.enter(o),e.enter(u),e.enter("chunkString",{contentType:"string"}),_(A))}function x(A){return A===62?(e.enter(i),e.consume(A),e.exit(i),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),x(A)):A===null||A===60||$e(A)?n(A):(e.consume(A),A===92?E:y)}function E(A){return A===60||A===62||A===92?(e.consume(A),y):y(A)}function _(A){return!g&&(A===null||A===41||Ht(A))?(e.exit("chunkString"),e.exit(u),e.exit(o),e.exit(r),t(A)):g<h&&A===40?(e.consume(A),g++,_):A===41?(e.consume(A),g--,_):A===null||A===32||A===40||ef(A)?n(A):(e.consume(A),A===92?N:_)}function N(A){return A===40||A===41||A===92?(e.consume(A),_):_(A)}}function C_(e,t,n,r,a,i){const o=this;let u=0,c;return h;function h(y){return e.enter(r),e.enter(a),e.consume(y),e.exit(a),e.enter(i),g}function g(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(i),e.enter(a),e.consume(y),e.exit(a),e.exit(r),t):$e(y)?(e.enter("lineEnding"),e.consume(y),e.exit("lineEnding"),g):(e.enter("chunkString",{contentType:"string"}),m(y))}function m(y){return y===null||y===91||y===93||$e(y)||u++>999?(e.exit("chunkString"),g(y)):(e.consume(y),c||(c=!bt(y)),y===92?x:m)}function x(y){return y===91||y===92||y===93?(e.consume(y),u++,m):m(y)}}function O_(e,t,n,r,a,i){let o;return u;function u(x){return x===34||x===39||x===40?(e.enter(r),e.enter(a),e.consume(x),e.exit(a),o=x===40?41:x,c):n(x)}function c(x){return x===o?(e.enter(a),e.consume(x),e.exit(a),e.exit(r),t):(e.enter(i),h(x))}function h(x){return x===o?(e.exit(i),c(o)):x===null?n(x):$e(x)?(e.enter("lineEnding"),e.consume(x),e.exit("lineEnding"),ft(e,h,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),g(x))}function g(x){return x===o||x===null||$e(x)?(e.exit("chunkString"),h(x)):(e.consume(x),x===92?m:g)}function m(x){return x===o||x===92?(e.consume(x),g):g(x)}}function jc(e,t){let n;return r;function r(a){return $e(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),n=!0,r):bt(a)?ft(e,r,n?"linePrefix":"lineSuffix")(a):t(a)}}const BB={name:"definition",tokenize:UB},zB={partial:!0,tokenize:FB};function UB(e,t,n){const r=this;let a;return i;function i(y){return e.enter("definition"),o(y)}function o(y){return C_.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 Ht(y)?jc(e,h)(y):h(y)}function h(y){return N_(e,g,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(y)}function g(y){return e.attempt(zB,m,m)(y)}function m(y){return bt(y)?ft(e,x,"whitespace")(y):x(y)}function x(y){return y===null||$e(y)?(e.exit("definition"),r.parser.defined.push(a),t(y)):n(y)}}function FB(e,t,n){return r;function r(u){return Ht(u)?jc(e,a)(u):n(u)}function a(u){return O_(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(u)}function i(u){return bt(u)?ft(e,o,"whitespace")(u):o(u)}function o(u){return u===null||$e(u)?t(u):n(u)}}const qB={name:"hardBreakEscape",tokenize:GB};function GB(e,t,n){return r;function r(i){return e.enter("hardBreakEscape"),e.consume(i),a}function a(i){return $e(i)?(e.exit("hardBreakEscape"),t(i)):n(i)}}const $B={name:"headingAtx",resolve:VB,tokenize:YB};function VB(e,t){let n=e.length-2,r=3,a,i;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},i={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},$r(e,r,n-r+1,[["enter",a,t],["enter",i,t],["exit",i,t],["exit",a,t]])),e}function YB(e,t,n){let r=0;return a;function a(g){return e.enter("atxHeading"),i(g)}function i(g){return e.enter("atxHeadingSequence"),o(g)}function o(g){return g===35&&r++<6?(e.consume(g),o):g===null||Ht(g)?(e.exit("atxHeadingSequence"),u(g)):n(g)}function u(g){return g===35?(e.enter("atxHeadingSequence"),c(g)):g===null||$e(g)?(e.exit("atxHeading"),t(g)):bt(g)?ft(e,u,"whitespace")(g):(e.enter("atxHeadingText"),h(g))}function c(g){return g===35?(e.consume(g),c):(e.exit("atxHeadingSequence"),u(g))}function h(g){return g===null||g===35||Ht(g)?(e.exit("atxHeadingText"),u(g)):(e.consume(g),h)}}const QB=["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"],r8=["pre","script","style","textarea"],WB={concrete:!0,name:"htmlFlow",resolveTo:ZB,tokenize:JB},KB={partial:!0,tokenize:tz},XB={partial:!0,tokenize:ez};function ZB(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 JB(e,t,n){const r=this;let a,i,o,u,c;return h;function h(D){return g(D)}function g(D){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(D),m}function m(D){return D===33?(e.consume(D),x):D===47?(e.consume(D),i=!0,_):D===63?(e.consume(D),a=3,r.interrupt?t:j):lr(D)?(e.consume(D),o=String.fromCharCode(D),N):n(D)}function x(D){return D===45?(e.consume(D),a=2,y):D===91?(e.consume(D),a=5,u=0,E):lr(D)?(e.consume(D),a=4,r.interrupt?t:j):n(D)}function y(D){return D===45?(e.consume(D),r.interrupt?t:j):n(D)}function E(D){const ge="CDATA[";return D===ge.charCodeAt(u++)?(e.consume(D),u===ge.length?r.interrupt?t:te:E):n(D)}function _(D){return lr(D)?(e.consume(D),o=String.fromCharCode(D),N):n(D)}function N(D){if(D===null||D===47||D===62||Ht(D)){const ge=D===47,Te=o.toLowerCase();return!ge&&!i&&r8.includes(Te)?(a=1,r.interrupt?t(D):te(D)):QB.includes(o.toLowerCase())?(a=6,ge?(e.consume(D),A):r.interrupt?t(D):te(D)):(a=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(D):i?C(D):M(D))}return D===45||er(D)?(e.consume(D),o+=String.fromCharCode(D),N):n(D)}function A(D){return D===62?(e.consume(D),r.interrupt?t:te):n(D)}function C(D){return bt(D)?(e.consume(D),C):U(D)}function M(D){return D===47?(e.consume(D),U):D===58||D===95||lr(D)?(e.consume(D),X):bt(D)?(e.consume(D),M):U(D)}function X(D){return D===45||D===46||D===58||D===95||er(D)?(e.consume(D),X):G(D)}function G(D){return D===61?(e.consume(D),P):bt(D)?(e.consume(D),G):M(D)}function P(D){return D===null||D===60||D===61||D===62||D===96?n(D):D===34||D===39?(e.consume(D),c=D,B):bt(D)?(e.consume(D),P):Z(D)}function B(D){return D===c?(e.consume(D),c=null,V):D===null||$e(D)?n(D):(e.consume(D),B)}function Z(D){return D===null||D===34||D===39||D===47||D===60||D===61||D===62||D===96||Ht(D)?G(D):(e.consume(D),Z)}function V(D){return D===47||D===62||bt(D)?M(D):n(D)}function U(D){return D===62?(e.consume(D),ae):n(D)}function ae(D){return D===null||$e(D)?te(D):bt(D)?(e.consume(D),ae):n(D)}function te(D){return D===45&&a===2?(e.consume(D),$):D===60&&a===1?(e.consume(D),re):D===62&&a===4?(e.consume(D),F):D===63&&a===3?(e.consume(D),j):D===93&&a===5?(e.consume(D),oe):$e(D)&&(a===6||a===7)?(e.exit("htmlFlowData"),e.check(KB,ie,he)(D)):D===null||$e(D)?(e.exit("htmlFlowData"),he(D)):(e.consume(D),te)}function he(D){return e.check(XB,le,ie)(D)}function le(D){return e.enter("lineEnding"),e.consume(D),e.exit("lineEnding"),me}function me(D){return D===null||$e(D)?he(D):(e.enter("htmlFlowData"),te(D))}function $(D){return D===45?(e.consume(D),j):te(D)}function re(D){return D===47?(e.consume(D),o="",ne):te(D)}function ne(D){if(D===62){const ge=o.toLowerCase();return r8.includes(ge)?(e.consume(D),F):te(D)}return lr(D)&&o.length<8?(e.consume(D),o+=String.fromCharCode(D),ne):te(D)}function oe(D){return D===93?(e.consume(D),j):te(D)}function j(D){return D===62?(e.consume(D),F):D===45&&a===2?(e.consume(D),j):te(D)}function F(D){return D===null||$e(D)?(e.exit("htmlFlowData"),ie(D)):(e.consume(D),F)}function ie(D){return e.exit("htmlFlow"),t(D)}}function ez(e,t,n){const r=this;return a;function a(o){return $e(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i):n(o)}function i(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}function tz(e,t,n){return r;function r(a){return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),e.attempt(k0,t,n)}}const nz={name:"htmlText",tokenize:rz};function rz(e,t,n){const r=this;let a,i,o;return u;function u(j){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(j),c}function c(j){return j===33?(e.consume(j),h):j===47?(e.consume(j),G):j===63?(e.consume(j),M):lr(j)?(e.consume(j),Z):n(j)}function h(j){return j===45?(e.consume(j),g):j===91?(e.consume(j),i=0,E):lr(j)?(e.consume(j),C):n(j)}function g(j){return j===45?(e.consume(j),y):n(j)}function m(j){return j===null?n(j):j===45?(e.consume(j),x):$e(j)?(o=m,re(j)):(e.consume(j),m)}function x(j){return j===45?(e.consume(j),y):m(j)}function y(j){return j===62?$(j):j===45?x(j):m(j)}function E(j){const F="CDATA[";return j===F.charCodeAt(i++)?(e.consume(j),i===F.length?_:E):n(j)}function _(j){return j===null?n(j):j===93?(e.consume(j),N):$e(j)?(o=_,re(j)):(e.consume(j),_)}function N(j){return j===93?(e.consume(j),A):_(j)}function A(j){return j===62?$(j):j===93?(e.consume(j),A):_(j)}function C(j){return j===null||j===62?$(j):$e(j)?(o=C,re(j)):(e.consume(j),C)}function M(j){return j===null?n(j):j===63?(e.consume(j),X):$e(j)?(o=M,re(j)):(e.consume(j),M)}function X(j){return j===62?$(j):M(j)}function G(j){return lr(j)?(e.consume(j),P):n(j)}function P(j){return j===45||er(j)?(e.consume(j),P):B(j)}function B(j){return $e(j)?(o=B,re(j)):bt(j)?(e.consume(j),B):$(j)}function Z(j){return j===45||er(j)?(e.consume(j),Z):j===47||j===62||Ht(j)?V(j):n(j)}function V(j){return j===47?(e.consume(j),$):j===58||j===95||lr(j)?(e.consume(j),U):$e(j)?(o=V,re(j)):bt(j)?(e.consume(j),V):$(j)}function U(j){return j===45||j===46||j===58||j===95||er(j)?(e.consume(j),U):ae(j)}function ae(j){return j===61?(e.consume(j),te):$e(j)?(o=ae,re(j)):bt(j)?(e.consume(j),ae):V(j)}function te(j){return j===null||j===60||j===61||j===62||j===96?n(j):j===34||j===39?(e.consume(j),a=j,he):$e(j)?(o=te,re(j)):bt(j)?(e.consume(j),te):(e.consume(j),le)}function he(j){return j===a?(e.consume(j),a=void 0,me):j===null?n(j):$e(j)?(o=he,re(j)):(e.consume(j),he)}function le(j){return j===null||j===34||j===39||j===60||j===61||j===96?n(j):j===47||j===62||Ht(j)?V(j):(e.consume(j),le)}function me(j){return j===47||j===62||Ht(j)?V(j):n(j)}function $(j){return j===62?(e.consume(j),e.exit("htmlTextData"),e.exit("htmlText"),t):n(j)}function re(j){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(j),e.exit("lineEnding"),ne}function ne(j){return bt(j)?ft(e,oe,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(j):oe(j)}function oe(j){return e.enter("htmlTextData"),o(j)}}const fx={name:"labelEnd",resolveAll:lz,resolveTo:oz,tokenize:uz},az={tokenize:cz},sz={tokenize:dz},iz={tokenize:hz};function lz(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&&$r(e,0,e.length,n),e}function oz(e,t){let n=e.length,r=0,a,i,o,u;for(;n--;)if(a=e[n][1],i){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&&(i=n,a.type!=="labelLink")){r=2;break}}else a.type==="labelEnd"&&(o=n);const c={type:e[i][1].type==="labelLink"?"link":"image",start:{...e[i][1].start},end:{...e[e.length-1][1].end}},h={type:"label",start:{...e[i][1].start},end:{...e[o][1].end}},g={type:"labelText",start:{...e[i+r+2][1].end},end:{...e[o-2][1].start}};return u=[["enter",c,t],["enter",h,t]],u=la(u,e.slice(i+1,i+r+3)),u=la(u,[["enter",g,t]]),u=la(u,tm(t.parser.constructs.insideSpan.null,e.slice(i+r+4,o-3),t)),u=la(u,[["exit",g,t],e[o-2],e[o-1],["exit",h,t]]),u=la(u,e.slice(o+1)),u=la(u,[["exit",c,t]]),$r(e,i,e.length,u),e}function uz(e,t,n){const r=this;let a=r.events.length,i,o;for(;a--;)if((r.events[a][1].type==="labelImage"||r.events[a][1].type==="labelLink")&&!r.events[a][1]._balanced){i=r.events[a][1];break}return u;function u(x){return i?i._inactive?m(x):(o=r.parser.defined.includes(Sa(r.sliceSerialize({start:i.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(x),e.exit("labelMarker"),e.exit("labelEnd"),c):n(x)}function c(x){return x===40?e.attempt(az,g,o?g:m)(x):x===91?e.attempt(sz,g,o?h:m)(x):o?g(x):m(x)}function h(x){return e.attempt(iz,g,m)(x)}function g(x){return t(x)}function m(x){return i._balanced=!0,n(x)}}function cz(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 Ht(m)?jc(e,i)(m):i(m)}function i(m){return m===41?g(m):N_(e,o,u,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(m)}function o(m){return Ht(m)?jc(e,c)(m):g(m)}function u(m){return n(m)}function c(m){return m===34||m===39||m===40?O_(e,h,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(m):g(m)}function h(m){return Ht(m)?jc(e,g)(m):g(m)}function g(m){return m===41?(e.enter("resourceMarker"),e.consume(m),e.exit("resourceMarker"),e.exit("resource"),t):n(m)}}function dz(e,t,n){const r=this;return a;function a(u){return C_.call(r,e,i,o,"reference","referenceMarker","referenceString")(u)}function i(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 hz(e,t,n){return r;function r(i){return e.enter("reference"),e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),a}function a(i){return i===93?(e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),e.exit("reference"),t):n(i)}}const fz={name:"labelStartImage",resolveAll:fx.resolveAll,tokenize:mz};function mz(e,t,n){const r=this;return a;function a(u){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(u),e.exit("labelImageMarker"),i}function i(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 pz={name:"labelStartLink",resolveAll:fx.resolveAll,tokenize:gz};function gz(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"),i}function i(o){return o===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(o):t(o)}}const ag={name:"lineEnding",tokenize:bz};function bz(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),ft(e,t,"linePrefix")}}const Hh={name:"thematicBreak",tokenize:xz};function xz(e,t,n){let r=0,a;return i;function i(h){return e.enter("thematicBreak"),o(h)}function o(h){return a=h,u(h)}function u(h){return h===a?(e.enter("thematicBreakSequence"),c(h)):r>=3&&(h===null||$e(h))?(e.exit("thematicBreak"),t(h)):n(h)}function c(h){return h===a?(e.consume(h),r++,c):(e.exit("thematicBreakSequence"),bt(h)?ft(e,u,"whitespace")(h):u(h))}}const Tr={continuation:{tokenize:wz},exit:_z,name:"list",tokenize:Ez},yz={partial:!0,tokenize:kz},vz={partial:!0,tokenize:Tz};function Ez(e,t,n){const r=this,a=r.events[r.events.length-1];let i=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0,o=0;return u;function u(y){const E=r.containerState.type||(y===42||y===43||y===45?"listUnordered":"listOrdered");if(E==="listUnordered"?!r.containerState.marker||y===r.containerState.marker:Lb(y)){if(r.containerState.type||(r.containerState.type=E,e.enter(E,{_container:!0})),E==="listUnordered")return e.enter("listItemPrefix"),y===42||y===45?e.check(Hh,n,h)(y):h(y);if(!r.interrupt||y===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),c(y)}return n(y)}function c(y){return Lb(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"),h(y)):n(y)}function h(y){return e.enter("listItemMarker"),e.consume(y),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||y,e.check(k0,r.interrupt?n:g,e.attempt(yz,x,m))}
vendor: 7,316 bytes, line 311
311function g(y){return r.containerState.initialBlankLine=!0,i++,x(y)}function m(y){return bt(y)?(e.enter("listItemPrefixWhitespace"),e.consume(y),e.exit("listItemPrefixWhitespace"),x):n(y)}function x(y){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(y)}}function wz(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(k0,a,i);function a(u){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,ft(e,t,"listItemIndent",r.containerState.size+1)(u)}function i(u){return r.containerState.furtherBlankLines||!bt(u)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(u)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(vz,t,o)(u))}function o(u){return r.containerState._closeFlow=!0,r.interrupt=void 0,ft(e,e.attempt(Tr,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(u)}}function Tz(e,t,n){const r=this;return ft(e,a,"listItemIndent",r.containerState.size+1);function a(i){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(i):n(i)}}function _z(e){e.exit(this.containerState.type)}function kz(e,t,n){const r=this;return ft(e,a,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function a(i){const o=r.events[r.events.length-1];return!bt(i)&&o&&o[1].type==="listItemPrefixWhitespace"?t(i):n(i)}}const a8={name:"setextUnderline",resolveTo:Sz,tokenize:Az};function Sz(e,t){let n=e.length,r,a,i;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),!i&&e[n][1].type==="definition"&&(i=n);const o={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[a][1].type="setextHeadingText",i?(e.splice(a,0,["enter",o,t]),e.splice(i+1,0,["exit",e[r][1],t]),e[r][1].end={...e[i][1].end}):e[r][1]=o,e.push(["exit",o,t]),e}function Az(e,t,n){const r=this;let a;return i;function i(h){let g=r.events.length,m;for(;g--;)if(r.events[g][1].type!=="lineEnding"&&r.events[g][1].type!=="linePrefix"&&r.events[g][1].type!=="content"){m=r.events[g][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||m)?(e.enter("setextHeadingLine"),a=h,o(h)):n(h)}function o(h){return e.enter("setextHeadingLineSequence"),u(h)}function u(h){return h===a?(e.consume(h),u):(e.exit("setextHeadingLineSequence"),bt(h)?ft(e,c,"lineSuffix")(h):c(h))}function c(h){return h===null||$e(h)?(e.exit("setextHeadingLine"),t(h)):n(h)}}const Nz={tokenize:Cz};function Cz(e){const t=this,n=e.attempt(k0,r,e.attempt(this.parser.constructs.flowInitial,a,ft(e,e.attempt(this.parser.constructs.flow,a,e.attempt(IB,a)),"linePrefix")));return n;function r(i){if(i===null){e.consume(i);return}return e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function a(i){if(i===null){e.consume(i);return}return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const Oz={resolveAll:D_()},Rz=R_("string"),Dz=R_("text");function R_(e){return{resolveAll:D_(e==="text"?Lz:void 0),tokenize:t};function t(n){const r=this,a=this.parser.constructs[e],i=n.attempt(a,o,u);return o;function o(g){return h(g)?i(g):u(g)}function u(g){if(g===null){n.consume(g);return}return n.enter("data"),n.consume(g),c}function c(g){return h(g)?(n.exit("data"),i(g)):(n.consume(g),c)}function h(g){if(g===null)return!0;const m=a[g];let x=-1;if(m)for(;++x<m.length;){const y=m[x];if(!y.previous||y.previous.call(r,r.previous))return!0}return!1}}}function D_(e){return t;function t(n,r){let a=-1,i;for(;++a<=n.length;)i===void 0?n[a]&&n[a][1].type==="data"&&(i=a,a++):(!n[a]||n[a][1].type!=="data")&&(a!==i+2&&(n[i][1].end=n[a-1][1].end,n.splice(i+2,a-i-2),a=i+2),i=void 0);return e?e(n,r):n}}function Lz(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 i=a.length,o=-1,u=0,c;for(;i--;){const h=a[i];if(typeof h=="string"){for(o=h.length;h.charCodeAt(o-1)===32;)u++,o--;if(o)break;o=-1}else if(h===-2)c=!0,u++;else if(h!==-1){i++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(u=0),u){const h={type:n===e.length||c||u<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:i?o:r.start._bufferIndex+o,_index:r.start._index+i,line:r.end.line,column:r.end.column-u,offset:r.end.offset-u},end:{...r.end}};r.end={...h.start},r.start.offset===r.end.offset?Object.assign(r,h):(e.splice(n,0,["enter",h,t],["exit",h,t]),n+=2)}n++}return e}const Iz={42:Tr,43:Tr,45:Tr,48:Tr,49:Tr,50:Tr,51:Tr,52:Tr,53:Tr,54:Tr,55:Tr,56:Tr,57:Tr,62:__},Mz={91:BB},Pz={[-2]:rg,[-1]:rg,32:rg},jz={35:$B,42:Hh,45:[a8,Hh],60:WB,61:a8,95:Hh,96:n8,126:n8},Hz={38:S_,92:k_},Bz={[-5]:ag,[-4]:ag,[-3]:ag,33:fz,38:S_,42:Ib,60:[pB,nz],91:pz,92:[qB,k_],93:fx,95:Ib,96:NB},zz={null:[Ib,Oz]},Uz={null:[42,95]},Fz={null:[]},qz=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:Uz,contentInitial:Mz,disable:Fz,document:Iz,flow:jz,flowInitial:Pz,insideSpan:zz,string:Hz,text:Bz},Symbol.toStringTag,{value:"Module"}));function Gz(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const a={},i=[];let o=[],u=[];const c={attempt:B(G),check:B(P),consume:C,enter:M,exit:X,interrupt:B(P,{interrupt:!0})},h={code:null,containerState:{},defineSkip:_,events:[],now:E,parser:e,previous:null,sliceSerialize:x,sliceStream:y,write:m};let g=t.tokenize.call(h,c);return t.resolveAll&&i.push(t),h;function m(ae){return o=la(o,ae),N(),o[o.length-1]!==null?[]:(Z(t,0),h.events=tm(i,h.events,h),h.events)}function x(ae,te){return Vz(y(ae),te)}function y(ae){return $z(o,ae)}function E(){const{_bufferIndex:ae,_index:te,line:he,column:le,offset:me}=r;return{_bufferIndex:ae,_index:te,line:he,column:le,offset:me}}function _(ae){a[ae.line]=ae.column,U()}function N(){let ae;for(;r._index<o.length;){const te=o[r._index];if(typeof te=="string")for(ae=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===ae&&r._bufferIndex<te.length;)A(te.charCodeAt(r._bufferIndex));else A(te)}}function A(ae){g=g(ae)}function C(ae){$e(ae)?(r.line++,r.column=1,r.offset+=ae===-3?2:1,U()):ae!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),h.previous=ae}function M(ae,te){const he=te||{};return he.type=ae,he.start=E(),h.events.push(["enter",he,h]),u.push(he),he}function X(ae){const te=u.pop();return te.end=E(),h.events.push(["exit",te,h]),te}function G(ae,te){Z(ae,te.from)}function P(ae,te){te.restore()}function B(ae,te){return he;function he(le,me,$){let re,ne,oe,j;return Array.isArray(le)?ie(le):"tokenize"in le?ie([le]):F(le);function F(De){return Me;function Me(ze){const Xe=ze!==null&&De[ze],He=ze!==null&&De.null,Dt=[...Array.isArray(Xe)?Xe:Xe?[Xe]:[],...Array.isArray(He)?He:He?[He]:[]];return ie(Dt)(ze)}}function ie(De){return re=De,ne=0,De.length===0?$:D(De[ne])}function D(De){return Me;function Me(ze){return j=V(),oe=De,De.partial||(h.currentConstruct=De),De.name&&h.parser.constructs.disable.null.includes(De.n
vendor: 18,976 bytes, lines 311-317
311ame)?Te():De.tokenize.call(te?Object.assign(Object.create(h),te):h,c,ge,Te)(ze)}}function ge(De){return ae(oe,j),me}function Te(De){return j.restore(),++ne<re.length?D(re[ne]):$}}}function Z(ae,te){ae.resolveAll&&!i.includes(ae)&&i.push(ae),ae.resolve&&$r(h.events,te,h.events.length-te,ae.resolve(h.events.slice(te),h)),ae.resolveTo&&(h.events=ae.resolveTo(h.events,h))}function V(){const ae=E(),te=h.previous,he=h.currentConstruct,le=h.events.length,me=Array.from(u);return{from:le,restore:$};function $(){r=ae,h.previous=te,h.currentConstruct=he,h.events.length=le,u=me,U()}}function U(){r.line in a&&r.column<2&&(r.column=a[r.line],r.offset+=a[r.line]-1)}}function $z(e,t){const n=t.start._index,r=t.start._bufferIndex,a=t.end._index,i=t.end._bufferIndex;let o;if(n===a)o=[e[n].slice(r,i)];else{if(o=e.slice(n,a),r>-1){const u=o[0];typeof u=="string"?o[0]=u.slice(r):o.shift()}i>0&&o.push(e[a].slice(0,i))}return o}function Vz(e,t){let n=-1;const r=[];let a;for(;++n<e.length;){const i=e[n];let o;if(typeof i=="string")o=i;else switch(i){case-5:{o="\r";break}case-4:{o=`
312`;break}case-3:{o=`\r
313`;break}case-2:{o=t?" ":"	";break}case-1:{if(!t&&a)continue;o=" ";break}default:o=String.fromCharCode(i)}a=i===-2,r.push(o)}return r.join("")}function Yz(e){const r={constructs:w_([qz,...(e||{}).extensions||[]]),content:a(oB),defined:[],document:a(cB),flow:a(Nz),lazy:{},string:a(Rz),text:a(Dz)};return r;function a(i){return o;function o(u){return Gz(r,i,u)}}}function Qz(e){for(;!A_(e););return e}const s8=/[\0\t\n\r]/g;function Wz(){let e=1,t="",n=!0,r;return a;function a(i,o,u){const c=[];let h,g,m,x,y;for(i=t+(typeof i=="string"?i.toString():new TextDecoder(o||void 0).decode(i)),m=0,t="",n&&(i.charCodeAt(0)===65279&&m++,n=void 0);m<i.length;){if(s8.lastIndex=m,h=s8.exec(i),x=h&&h.index!==void 0?h.index:i.length,y=i.charCodeAt(x),!h){t=i.slice(m);break}if(y===10&&m===x&&r)c.push(-3),r=void 0;else switch(r&&(c.push(-5),r=void 0),m<x&&(c.push(i.slice(m,x)),e+=x-m),y){case 0:{c.push(65533),e++;break}case 9:{for(g=Math.ceil(e/4)*4,c.push(-2);e++<g;)c.push(-1);break}case 10:{c.push(-4),e=1;break}default:r=!0,e=1}m=x+1}return u&&(r&&c.push(-5),t&&c.push(t),c.push(null)),c}}const Kz=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Xz(e){return e.replace(Kz,Zz)}function Zz(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const a=n.charCodeAt(1),i=a===120||a===88;return T_(n.slice(i?2:1),i?16:10)}return hx(n)||e}const L_={}.hasOwnProperty;function Jz(e,t,n){return typeof t!="string"&&(n=t,t=void 0),eU(n)(Qz(Yz(n).document().write(Wz()(e,t,!0))))}function eU(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(ln),autolinkProtocol:V,autolinkEmail:V,atxHeading:i(ba),blockQuote:i(He),characterEscape:V,characterReference:V,codeFenced:i(Dt),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:i(Dt,o),codeText:i(sn,o),codeTextData:V,data:V,codeFlowValue:V,definition:i(Or),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:i(Pn),hardBreakEscape:i(Qr),hardBreakTrailing:i(Qr),htmlFlow:i(dr,o),htmlFlowData:V,htmlText:i(dr,o),htmlTextData:V,image:i(Wr),label:o,link:i(ln),listItem:i(Ji),listItemValue:x,listOrdered:i(Zs,m),listUnordered:i(Zs),paragraph:i(jn),reference:D,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:i(ba),strong:i(La),thematicBreak:i(ku)},exit:{atxHeading:c(),atxHeadingSequence:G,autolink:c(),autolinkEmail:Xe,autolinkProtocol:ze,blockQuote:c(),characterEscapeValue:U,characterReferenceMarkerHexadecimal:Te,characterReferenceMarkerNumeric:Te,characterReferenceValue:De,characterReference:Me,codeFenced:c(N),codeFencedFence:_,codeFencedFenceInfo:y,codeFencedFenceMeta:E,codeFlowValue:U,codeIndented:c(A),codeText:c(me),codeTextData:U,data:U,definition:c(),definitionDestinationString:X,definitionLabelString:C,definitionTitleString:M,emphasis:c(),hardBreakEscape:c(te),hardBreakTrailing:c(te),htmlFlow:c(he),htmlFlowData:U,htmlText:c(le),htmlTextData:U,image:c(re),label:oe,labelText:ne,lineEnding:ae,link:c($),listItem:c(),listOrdered:c(),listUnordered:c(),paragraph:c(),referenceString:ge,resourceDestinationString:j,resourceTitleString:F,resource:ie,setextHeading:c(Z),setextHeadingLineSequence:B,setextHeadingText:P,strong:c(),thematicBreak:c()}};I_(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(ve){let Le={type:"root",children:[]};const We={stack:[Le],tokenStack:[],config:t,enter:u,exit:h,buffer:o,resume:g,data:n},it=[];let mt=-1;for(;++mt<ve.length;)if(ve[mt][1].type==="listOrdered"||ve[mt][1].type==="listUnordered")if(ve[mt][0]==="enter")it.push(mt);else{const Yn=it.pop();mt=a(ve,Yn,mt)}for(mt=-1;++mt<ve.length;){const Yn=t[ve[mt][0]];L_.call(Yn,ve[mt][1].type)&&Yn[ve[mt][1].type].call(Object.assign({sliceSerialize:ve[mt][2].sliceSerialize},We),ve[mt][1])}if(We.tokenStack.length>0){const Yn=We.tokenStack[We.tokenStack.length-1];(Yn[1]||i8).call(We,void 0,Yn[0])}for(Le.position={start:ki(ve.length>0?ve[0][1].start:{line:1,column:1,offset:0}),end:ki(ve.length>0?ve[ve.length-2][1].end:{line:1,column:1,offset:0})},mt=-1;++mt<t.transforms.length;)Le=t.transforms[mt](Le)||Le;return Le}function a(ve,Le,We){let it=Le-1,mt=-1,Yn=!1,Qn,Bn,on,zn;for(;++it<=We;){const Ct=ve[it];switch(Ct[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Ct[0]==="enter"?mt++:mt--,zn=void 0;break}case"lineEndingBlank":{Ct[0]==="enter"&&(Qn&&!zn&&!mt&&!on&&(on=it),zn=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:zn=void 0}if(!mt&&Ct[0]==="enter"&&Ct[1].type==="listItemPrefix"||mt===-1&&Ct[0]==="exit"&&(Ct[1].type==="listUnordered"||Ct[1].type==="listOrdered")){if(Qn){let Ia=it;for(Bn=void 0;Ia--;){const rr=ve[Ia];if(rr[1].type==="lineEnding"||rr[1].type==="lineEndingBlank"){if(rr[0]==="exit")continue;Bn&&(ve[Bn][1].type="lineEndingBlank",Yn=!0),rr[1].type="lineEnding",Bn=Ia}else if(!(rr[1].type==="linePrefix"||rr[1].type==="blockQuotePrefix"||rr[1].type==="blockQuotePrefixWhitespace"||rr[1].type==="blockQuoteMarker"||rr[1].type==="listItemIndent"))break}on&&(!Bn||on<Bn)&&(Qn._spread=!0),Qn.end=Object.assign({},Bn?ve[Bn][1].start:Ct[1].end),ve.splice(Bn||it,0,["exit",Qn,Ct[2]]),it++,We++}if(Ct[1].type==="listItemPrefix"){const Ia={type:"listItem",_spread:!1,start:Object.assign({},Ct[1].start),end:void 0};Qn=Ia,ve.splice(it,0,["enter",Ia,Ct[2]]),it++,We++,on=void 0,zn=!0}}}return ve[Le][1]._spread=Yn,We}function i(ve,Le){return We;function We(it){u.call(this,ve(it),it),Le&&Le.call(this,it)}}function o(){this.stack.push({type:"fragment",children:[]})}function u(ve,Le,We){this.stack[this.stack.length-1].children.push(ve),this.stack.push(ve),this.tokenStack.push([Le,We||void 0]),ve.position={start:ki(Le.start),end:void 0}}function c(ve){return Le;function Le(We){ve&&ve.call(this,We),h.call(this,We)}}function h(ve,Le){const We=this.stack.pop(),it=this.tokenStack.pop();if(it)it[0].type!==ve.type&&(Le?Le.call(this,ve,it[0]):(it[1]||i8).call(this,ve,it[0]));else throw new Error("Cannot close `"+ve.type+"` ("+Pc({start:ve.start,end:ve.end})+"): it’s not open");We.position.end=ki(ve.end)}function g(){return dx(this.stack.pop())}function m(){this.data.expectingFirstListItemValue=!0}function x(ve){if(this.data.expectingFirstListItemValue){const Le=this.stack[this.stack.length-2];Le.start=Number.parseInt(this.sliceSerialize(ve),10),this.data.expectingFirstListItemValue=void 0}}function y(){const ve=this.resume(),Le=this.stack[this.stack.length-1];Le.lang=ve}function E(){const ve=this.resume(),Le=this.stack[this.stack.length-1];Le.meta=ve}function _(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function N(){const ve=this.resume(),Le=this.stack[this.stack.length-1];Le.value=ve.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function A(){const ve=this.resume(),Le=this.stack[this.stack.length-1];Le.value=ve.replace(/(\r?\n|\r)$/g,"")}function C(ve){const Le=this.resume(),We=this.stack[this.stack.length-1];We.label=Le,We.identifier=Sa(this.sliceSerialize(ve)).toLowerCase()}function M(){const ve=this.resume(),Le=this.stack[this.stack.length-1];Le.title=ve}function X(){const ve=this.resume(),Le=this.stack[this.stack.length-1];Le.url=ve}function G(ve){const Le=this.stack[this.stack.length-1];if(!Le.depth){const We=this.sliceSerialize(ve).length;Le.depth=We}}function P(){this.data.setextHeadingSlurpLineEnding=!0}function B(ve){const Le=this.stack[this.stack.length-1];Le.depth=this.sliceSerialize(ve).codePointAt(0)===61?1:2}function Z(){this.data.setextHeadingSlurpLineEnding=void 0}function V(ve){const We=this.stack[this.stack.length-1].children;let it=We[We.length-1];(!it||it.type!=="text")&&(it=Hn(),it.position={start:ki(ve.start),end:void 0},We.push(it)),this.stack.push(it)}function U(ve){const Le=this.stack.pop();Le.value+=this.sliceSerialize(ve),Le.position.end=ki(ve.end)}function ae(ve){const Le=this.stack[this.stack.length-1];if(this.data.atHardBreak){const We=Le.children[Le.children.length-1];We.position.end=ki(ve.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(Le.type)&&(V.call(this,ve),U.call(this,ve))}function te(){this.data.atHardBreak=!0}function he(){const ve=this.resume(),Le=this.stack[this.stack.length-1];Le.value=ve}function le(){const ve=this.resume(),Le=this.stack[this.stack.length-1];Le.value=ve}function me(){const ve=this.resume(),Le=this.stack[this.stack.length-1];Le.value=ve}function $(){const ve=this.stack[this.stack.length-1];if(this.data.inReference){const Le=this.data.referenceType||"shortcut";ve.type+="Reference",ve.referenceType=Le,delete ve.url,delete ve.title}else delete ve.identifier,delete ve.label;this.data.referenceType=void 0}function re(){const ve=this.stack[this.stack.length-1];if(this.data.inReference){const Le=this.data.referenceType||"shortcut";ve.type+="Reference",ve.referenceType=Le,delete ve.url,delete ve.title}else delete ve.identifier,delete ve.label;this.data.referenceType=void 0}function ne(ve){const Le=this.sliceSerialize(ve),We=this.stack[this.stack.length-2];We.label=Xz(Le),We.identifier=Sa(Le).toLowerCase()}function oe(){const ve=this.stack[this.stack.length-1],Le=this.resume(),We=this.stack[this.stack.length-1];if(this.data.inReference=!0,We.type==="link"){const it=ve.children;We.children=it}else We.alt=Le}function j(){const ve=this.resume(),Le=this.stack[this.stack.length-1];Le.url=ve}function F(){const ve=this.resume(),Le=this.stack[this.stack.length-1];Le.title=ve}function ie(){this.data.inReference=void 0}function D(){this.data.referenceType="collapsed"}function ge(ve){const Le=this.resume(),We=this.stack[this.stack.length-1];We.label=Le,We.identifier=Sa(this.sliceSerialize(ve)).toLowerCase(),this.data.referenceType="full"}function Te(ve){this.data.characterReferenceType=ve.type}function De(ve){const Le=this.sliceSerialize(ve),We=this.data.characterReferenceType;let it;We?(it=T_(Le,We==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):it=hx(Le);const mt=this.stack[this.stack.length-1];mt.value+=it}function Me(ve){const Le=this.stack.pop();Le.position.end=ki(ve.end)}function ze(ve){U.call(this,ve);const Le=this.stack[this.stack.length-1];Le.url=this.sliceSerialize(ve)}function Xe(ve){U.call(this,ve);const Le=this.stack[this.stack.length-1];Le.url="mailto:"+this.sliceSerialize(ve)}function He(){return{type:"blockquote",children:[]}}function Dt(){return{type:"code",lang:null,meta:null,value:""}}function sn(){return{type:"inlineCode",value:""}}function Or(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Pn(){return{type:"emphasis",children:[]}}function ba(){return{type:"heading",depth:0,children:[]}}function Qr(){return{type:"break"}}function dr(){return{type:"html",value:""}}function Wr(){return{type:"image",title:null,url:"",alt:null}}function ln(){return{type:"link",title:null,url:"",children:[]}}function Zs(ve){return{type:"list",ordered:ve.type==="listOrdered",start:null,spread:ve._spread,children:[]}}function Ji(ve){return{type:"listItem",spread:ve._spread,checked:null,children:[]}}function jn(){return{type:"paragraph",children:[]}}function La(){return{type:"strong",children:[]}}function Hn(){return{type:"text",value:""}}function ku(){return{type:"thematicBreak"}}}function ki(e){return{line:e.line,column:e.column,offset:e.offset}}function I_(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?I_(e,r):tU(e,r)}}function tU(e,t){let n;for(n in t)if(L_.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 i8(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Pc({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Pc({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Pc({start:t.start,end:t.end})+") is still open")}function nU(e){const t=this;t.parser=n;function n(r){return Jz(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function rU(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 aU(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:`
314`}]}function sU(e,t){const n=t.value?t.value+`
315`:"",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 iU(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function lU(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function oU(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),a=pu(r.toLowerCase()),i=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=i+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 h={type:"element",tagName:"sup",properties:{},children:[c]};return e.patch(t,h),e.applyData(t,h)}function uU(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 cU(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function M_(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),i=a[0];i&&i.type==="text"?i.value="["+i.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 dU(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return M_(e,t);const a={src:pu(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(a.title=r.title);const i={type:"element",tagName:"img",properties:a,children:[]};return e.patch(t,i),e.applyData(t,i)}function hU(e,t){const n={src:pu(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 fU(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 mU(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return M_(e,t);const a={href:pu(r.url||"")};r.title!==null&&r.title!==void 0&&(a.title=r.title);const i={type:"element",tagName:"a",properties:a,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)}function pU(e,t){const n={href:pu(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 gU(e,t,n){const r=e.all(t),a=n?bU(n):P_(t),i={},o=[];if(typeof t.checked=="boolean"){const g=r[0];let m;g&&g.type==="element"&&g.tagName==="p"?m=g:(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:[]}),i.className=["task-list-item"]}let u=-1;for(;++u<r.length;){const g=r[u];(a||u!==0||g.type!=="element"||g.tagName!=="p")&&o.push({type:"text",value:`
316`}),g.type==="element"&&g.tagName==="p"&&!a?o.push(...g.children):o.push(g)}const c=r[r.length-1];c&&(a||c.type!=="element"||c.tagName!=="p")&&o.push({type:"text",value:`
317`});const h={type:"element",tagName:"li",properties:i,children:o};return e.patch(t,h),e.applyData(t,h)}function bU(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=P_(n[r])}return t}function P_(e){const t=e.spread;return t??e.children.length>1}function xU(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 i={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,i),e.applyData(t,i)}function yU(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function vU(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function EU(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function wU(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=ls(t.children[1]),c=Jf(t.children[t.children.length-1]);u&&c&&(o.position={start:u,end:c}),a.push(o)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(a,!0)};return e.patch(t,i),e.applyData(t,i)}
vendor: 4,581 bytes, line 317
317function TU(e,t,n){const r=n?n.children:void 0,i=(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 h=[];for(;++c<u;){const m=t.children[c],x={},y=o?o[c]:void 0;y&&(x.align=y);let E={type:"element",tagName:i,properties:x,children:[]};m&&(E.children=e.all(m),e.patch(m,E),E=e.applyData(m,E)),h.push(E)}const g={type:"element",tagName:"tr",properties:{},children:e.wrap(h,!0)};return e.patch(t,g),e.applyData(t,g)}function _U(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const l8=9,o8=32;function kU(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),a=0;const i=[];for(;r;)i.push(u8(t.slice(a,r.index),a>0,!0),r[0]),a=r.index+r[0].length,r=n.exec(t);return i.push(u8(t.slice(a),a>0,!1)),i.join("")}function u8(e,t,n){let r=0,a=e.length;if(t){let i=e.codePointAt(r);for(;i===l8||i===o8;)r++,i=e.codePointAt(r)}if(n){let i=e.codePointAt(a-1);for(;i===l8||i===o8;)a--,i=e.codePointAt(a-1)}return a>r?e.slice(r,a):""}function SU(e,t){const n={type:"text",value:kU(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function AU(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const NU={blockquote:rU,break:aU,code:sU,delete:iU,emphasis:lU,footnoteReference:oU,heading:uU,html:cU,imageReference:dU,image:hU,inlineCode:fU,linkReference:mU,link:pU,listItem:gU,list:xU,paragraph:yU,root:vU,strong:EU,table:wU,tableCell:_U,tableRow:TU,text:SU,thematicBreak:AU,toml:lh,yaml:lh,definition:lh,footnoteDefinition:lh};function lh(){}const j_=-1,nm=0,Hc=1,tf=2,mx=3,px=4,gx=5,bx=6,H_=7,B_=8,c8=typeof self=="object"?self:globalThis,CU=(e,t)=>{const n=(a,i)=>(e.set(i,a),a),r=a=>{if(e.has(a))return e.get(a);const[i,o]=t[a];switch(i){case nm:case j_:return n(o,a);case Hc:{const u=n([],a);for(const c of o)u.push(r(c));return u}case tf:{const u=n({},a);for(const[c,h]of o)u[r(c)]=r(h);return u}case mx:return n(new Date(o),a);case px:{const{source:u,flags:c}=o;return n(new RegExp(u,c),a)}case gx:{const u=n(new Map,a);for(const[c,h]of o)u.set(r(c),r(h));return u}case bx:{const u=n(new Set,a);for(const c of o)u.add(r(c));return u}case H_:{const{name:u,message:c}=o;return n(new c8[u](c),a)}case B_: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 c8[i](o),a)};return r},d8=e=>CU(new Map,e)(0),Ho="",{toString:OU}={},{keys:RU}=Object,wc=e=>{const t=typeof e;if(t!=="object"||!e)return[nm,t];const n=OU.call(e).slice(8,-1);switch(n){case"Array":return[Hc,Ho];case"Object":return[tf,Ho];case"Date":return[mx,Ho];case"RegExp":return[px,Ho];case"Map":return[gx,Ho];case"Set":return[bx,Ho];case"DataView":return[Hc,n]}return n.includes("Array")?[Hc,n]:n.includes("Error")?[H_,n]:[tf,n]},oh=([e,t])=>e===nm&&(t==="function"||t==="symbol"),DU=(e,t,n,r)=>{const a=(o,u)=>{const c=r.push(o)-1;return n.set(u,c),c},i=o=>{if(n.has(o))return n.get(o);let[u,c]=wc(o);switch(u){case nm:{let g=o;switch(c){case"bigint":u=B_,g=o.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+c);g=null;break;case"undefined":return a([j_],o)}return a([u,g],o)}case Hc:{if(c){let x=o;return c==="DataView"?x=new Uint8Array(o.buffer):c==="ArrayBuffer"&&(x=new Uint8Array(o)),a([c,[...x]],o)}const g=[],m=a([u,g],o);for(const x of o)g.push(i(x));return m}case tf:{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 i(o.toJSON());const g=[],m=a([u,g],o);for(const x of RU(o))(e||!oh(wc(o[x])))&&g.push([i(x),i(o[x])]);return m}case mx:return a([u,o.toISOString()],o);case px:{const{source:g,flags:m}=o;return a([u,{source:g,flags:m}],o)}case gx:{const g=[],m=a([u,g],o);for(const[x,y]of o)(e||!(oh(wc(x))||oh(wc(y))))&&g.push([i(x),i(y)]);return m}case bx:{const g=[],m=a([u,g],o);for(const x of o)(e||!oh(wc(x)))&&g.push(i(x));return m}}const{message:h}=o;return a([u,{name:c,message:h}],o)};return i},h8=(e,{json:t,lossy:n}={})=>{const r=[];return DU(!(t||n),!!t,new Map,r)(e),r},su=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?d8(h8(e,t)):structuredClone(e):(e,t)=>d8(h8(e,t));function LU(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 IU(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}
vendor: 4,144 bytes, lines 317-319
317function MU(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||LU,r=e.options.footnoteBackLabel||IU,a=e.options.footnoteLabel||"Footnotes",i=e.options.footnoteLabelTagName||"h2",o=e.options.footnoteLabelProperties||{className:["sr-only"]},u=[];let c=-1;for(;++c<e.footnoteOrder.length;){const h=e.footnoteById.get(e.footnoteOrder[c]);if(!h)continue;const g=e.all(h),m=String(h.identifier).toUpperCase(),x=pu(m.toLowerCase());let y=0;const E=[],_=e.footnoteCounts.get(m);for(;_!==void 0&&++y<=_;){E.length>0&&E.push({type:"text",value:" "});let C=typeof n=="string"?n:n(c,y);typeof C=="string"&&(C={type:"text",value:C}),E.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+x+(y>1?"-"+y:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(c,y),className:["data-footnote-backref"]},children:Array.isArray(C)?C:[C]})}const N=g[g.length-1];if(N&&N.type==="element"&&N.tagName==="p"){const C=N.children[N.children.length-1];C&&C.type==="text"?C.value+=" ":N.children.push({type:"text",value:" "}),N.children.push(...E)}else g.push(...E);const A={type:"element",tagName:"li",properties:{id:t+"fn-"+x},children:e.wrap(g,!0)};e.patch(h,A),u.push(A)}if(u.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...su(o),id:"footnote-label"},children:[{type:"text",value:a}]},{type:"text",value:`
318`},{type:"element",tagName:"ol",properties:{},children:e.wrap(u,!0)},{type:"text",value:`
319`}]}}const S0=(function(e){if(e==null)return BU;if(typeof e=="function")return rm(e);if(typeof e=="object")return Array.isArray(e)?PU(e):jU(e);if(typeof e=="string")return HU(e);throw new Error("Expected function, string, or object as test")});function PU(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=S0(e[n]);return rm(r);function r(...a){let i=-1;for(;++i<t.length;)if(t[i].apply(this,a))return!0;return!1}}function jU(e){const t=e;return rm(n);function n(r){const a=r;let i;for(i in e)if(a[i]!==t[i])return!1;return!0}}function HU(e){return rm(t);function t(n){return n&&n.type===e}}function rm(e){return t;function t(n,r,a){return!!(zU(n)&&e.call(this,n,typeof r=="number"?r:void 0,a||void 0))}}function BU(){return!0}function zU(e){return e!==null&&typeof e=="object"&&"type"in e}const z_=[],Nc=!0,Mb=!1,nf="skip";function xx(e,t,n,r){let a;typeof t=="function"&&typeof n!="function"?(r=n,n=t):a=t;const i=S0(a),o=r?-1:1;u(e,void 0,[])();function u(c,h,g){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(x,"name",{value:"node ("+(c.type+(y?"<"+y+">":""))+")"})}return x;function x(){let y=z_,E,_,N;if((!t||i(c,h,g[g.length-1]||void 0))&&(y=UU(n(c,g)),y[0]===Mb))return y;if("children"in c&&c.children){const A=c;if(A.children&&y[0]!==nf)for(_=(r?A.children.length:-1)+o,N=g.concat(A);_>-1&&_<A.children.length;){const C=A.children[_];if(E=u(C,_,N)(),E[0]===Mb)return E;_=typeof E[1]=="number"?E[1]:_+o}}return y}}}function UU(e){return Array.isArray(e)?e:typeof e=="number"?[Nc,e]:e==null?z_:[e]}function Ml(e,t,n,r){let a,i,o;typeof t=="function"&&typeof n!="function"?(i=void 0,o=t,a=n):(i=t,o=n,a=r),xx(e,i,u,a);function u(c,h){const g=h[h.length-1],m=g?g.children.indexOf(c):void 0;return o(c,m,g)}}const Pb={}.hasOwnProperty,FU={};function qU(e,t){const n=t||FU,r=new Map,a=new Map,i=new Map,o={...NU,...n.handlers},u={all:h,applyData:$U,definitionById:r,footnoteById:a,footnoteCounts:i,footnoteOrder:[],handlers:o,one:c,options:n,patch:GU,wrap:YU};return Ml(e,function(g){if(g.type==="definition"||g.type==="footnoteDefinition"){const m=g.type==="definition"?r:a,x=String(g.identifier).toUpperCase();m.has(x)||m.set(x,g)}}),u;function c(g,m){const x=g.type,y=u.handlers[x];if(Pb.call(u.handlers,x)&&y)return y(u,g,m);if(u.options.passThrough&&u.options.passThrough.includes(x)){if("children"in g){const{children:_,...N}=g,A=su(N);return A.children=u.all(g),A}return su(g)}return(u.options.unknownHandler||VU)(u,g,m)}function h(g){const m=[];
vendor: 4,820 bytes, lines 319-323
319if("children"in g){const x=g.children;let y=-1;for(;++y<x.length;){const E=u.one(x[y],g);if(E){if(y&&x[y-1].type==="break"&&(!Array.isArray(E)&&E.type==="text"&&(E.value=f8(E.value)),!Array.isArray(E)&&E.type==="element")){const _=E.children[0];_&&_.type==="text"&&(_.value=f8(_.value))}Array.isArray(E)?m.push(...E):m.push(E)}}}return m}}function GU(e,t){e.position&&(t.position=IH(e))}function $U(e,t){let n=t;if(e&&e.data){const r=e.data.hName,a=e.data.hChildren,i=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"&&i&&Object.assign(n.properties,su(i)),"children"in n&&n.children&&a!==null&&a!==void 0&&(n.children=a)}return n}function VU(e,t){const n=t.data||{},r="value"in t&&!(Pb.call(n,"hProperties")||Pb.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 YU(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:`
320`});++r<e.length;)r&&n.push({type:"text",value:`
321`}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:`
322`}),n}function f8(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function m8(e,t){const n=qU(e,t),r=n.one(e,void 0),a=MU(n),i=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return a&&i.children.push({type:"text",value:`
323`},a),i}function QU(e,t){return e&&"run"in e?async function(n,r){const a=m8(n,{file:r,...t});await e.run(a,r)}:function(n,r){return m8(n,{file:r,...e||t})}}function p8(e){if(e)throw e}var sg,g8;function WU(){if(g8)return sg;g8=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,a=function(h){return typeof Array.isArray=="function"?Array.isArray(h):t.call(h)==="[object Array]"},i=function(h){if(!h||t.call(h)!=="[object Object]")return!1;var g=e.call(h,"constructor"),m=h.constructor&&h.constructor.prototype&&e.call(h.constructor.prototype,"isPrototypeOf");if(h.constructor&&!g&&!m)return!1;var x;for(x in h);return typeof x>"u"||e.call(h,x)},o=function(h,g){n&&g.name==="__proto__"?n(h,g.name,{enumerable:!0,configurable:!0,value:g.newValue,writable:!0}):h[g.name]=g.newValue},u=function(h,g){if(g==="__proto__")if(e.call(h,g)){if(r)return r(h,g).value}else return;return h[g]};return sg=function c(){var h,g,m,x,y,E,_=arguments[0],N=1,A=arguments.length,C=!1;for(typeof _=="boolean"&&(C=_,_=arguments[1]||{},N=2),(_==null||typeof _!="object"&&typeof _!="function")&&(_={});N<A;++N)if(h=arguments[N],h!=null)for(g in h)m=u(_,g),x=u(h,g),_!==x&&(C&&x&&(i(x)||(y=a(x)))?(y?(y=!1,E=m&&a(m)?m:[]):E=m&&i(m)?m:{},o(_,{name:g,newValue:c(C,E,x)})):typeof x<"u"&&o(_,{name:g,newValue:x}));return _},sg}var KU=WU();const ig=Of(KU);function jb(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 XU(){const e=[],t={run:n,use:r};return t;function n(...a){let i=-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,...h){const g=e[++i];let m=-1;if(c){o(c);return}for(;++m<a.length;)(h[m]===null||h[m]===void 0)&&(h[m]=a[m]);a=h,g?ZU(g,u)(...h):o(null,...h)}}function r(a){if(typeof a!="function")throw new TypeError("Expected `middelware` to be a function, not "+a);return e.push(a),t}}function ZU(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(h){const g=h;if(u&&n)throw g;return a(g)}u||(c&&c.then&&typeof c.then=="function"?c.then(i,a):c instanceof Error?a(c):i(c))}function a(o,...u){n||(n=!0,t(o,...u))}function i(o){a(null,o)}}const Va={basename:JU,dirname:eF,extname:tF,join:nF,sep:"/"};function JU(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');A0(e);let n=0,r=-1,a=e.length,i;if(t===void 0||t.length===0||t.length>e.length){for(;a--;)if(e.codePointAt(a)===47){if(i){n=a+1;break}}else r<0&&(i=!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(i){n=a+1;break}}else o<0&&(i=!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 eF(e){if(A0(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 tF(e){A0(e);let t=e.length,n=-1,r=0,a=-1,i=0,o;for(;t--;){const u=e.codePointAt(t);if(u===47){if(o){r=t+1;break}continue}
vendor: 12,025 bytes, line 323
323n<0&&(o=!0,n=t+1),u===46?a<0?a=t:i!==1&&(i=1):a>-1&&(i=-1)}return a<0||n<0||i===0||i===1&&a===n-1&&a===r+1?"":e.slice(a,n)}function nF(...e){let t=-1,n;for(;++t<e.length;)A0(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":rF(n)}function rF(e){A0(e);const t=e.codePointAt(0)===47;let n=aF(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function aF(e,t){let n="",r=0,a=-1,i=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||i===1))if(a!==o-1&&i===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,i=0;continue}}else if(n.length>0){n="",r=0,a=o,i=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,i=0}else u===46&&i>-1?i++:i=-1}return n}function A0(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const sF={cwd:iF};function iF(){return"/"}function Hb(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function lF(e){if(typeof e=="string")e=new URL(e);else if(!Hb(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 oF(e)}function oF(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 lg=["history","path","basename","stem","extname","dirname"];class U_{constructor(t){let n;t?Hb(t)?n={path:t}:typeof t=="string"||uF(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":sF.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<lg.length;){const i=lg[r];i in n&&n[i]!==void 0&&n[i]!==null&&(this[i]=i==="history"?[...n[i]]:n[i])}let a;for(a in n)lg.includes(a)||(this[a]=n[a])}get basename(){return typeof this.path=="string"?Va.basename(this.path):void 0}set basename(t){ug(t,"basename"),og(t,"basename"),this.path=Va.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?Va.dirname(this.path):void 0}set dirname(t){b8(this.basename,"dirname"),this.path=Va.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?Va.extname(this.path):void 0}set extname(t){if(og(t,"extname"),b8(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=Va.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){Hb(t)&&(t=lF(t)),ug(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?Va.basename(this.path,this.extname):void 0}set stem(t){ug(t,"stem"),og(t,"stem"),this.path=Va.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 tr(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 og(e,t){if(e&&e.includes(Va.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+Va.sep+"`")}function ug(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function b8(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function uF(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const cF=(function(e){const r=this.constructor.prototype,a=r[e],i=function(){return a.apply(i,arguments)};return Object.setPrototypeOf(i,r),i}),dF={}.hasOwnProperty;class yx extends cF{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=XU()}copy(){const t=new yx;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(ig(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(hg("data",this.frozen),this.namespace[t]=n,this):dF.call(this.namespace,t)&&this.namespace[t]||void 0:t?(hg("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=uh(t),r=this.parser||this.Parser;return cg("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),cg("process",this.parser||this.Parser),dg("process",this.compiler||this.Compiler),n?a(void 0,n):new Promise(a);function a(i,o){const u=uh(t),c=r.parse(u);r.run(c,u,function(g,m,x){if(g||!m||!x)return h(g);const y=m,E=r.stringify(y,x);mF(E)?x.value=E:x.result=E,h(g,x)});function h(g,m){g||!m?o(g):i?i(m):n(void 0,m)}}}processSync(t){let n=!1,r;return this.freeze(),cg("processSync",this.parser||this.Parser),dg("processSync",this.compiler||this.Compiler),this.process(t,a),y8("processSync","process",n),r;function a(i,o){n=!0,p8(i),r=o}}run(t,n,r){x8(t),this.freeze();const a=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?i(void 0,r):new Promise(i);function i(o,u){const c=uh(n);a.run(t,c,h);function h(g,m,x){const y=m||t;g?u(g):o?o(y):r(void 0,y,x)}}}runSync(t,n){let r=!1,a;return this.run(t,n,i),y8("runSync","run",r),a;function i(o,u){p8(o),a=u,r=!0}}stringify(t,n){this.freeze();const r=uh(n),a=this.compiler||this.Compiler;return dg("stringify",a),x8(t),a(t,r)}use(t,...n){const r=this.attachers,a=this.namespace;if(hg("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 i(h){if(typeof h=="function")c(h,[]);else if(typeof h=="object")if(Array.isArray(h)){const[g,...m]=h;c(g,m)}else o(h);else throw new TypeError("Expected usable value, not `"+h+"`")}function o(h){if(!("plugins"in h)&&!("settings"in h))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");u(h.plugins),h.settings&&(a.settings=ig(!0,a.settings,h.settings))}function u(h){let g=-1;if(h!=null)if(Array.isArray(h))for(;++g<h.length;){const m=h[g];i(m)}else throw new TypeError("Expected a list of plugins, not `"+h+"`")}function c(h,g){let m=-1,x=-1;for(;++m<r.length;)if(r[m][0]===h){x=m;break}if(x===-1)r.push([h,...g]);else if(g.length>0){let[y,...E]=g;const _=r[x][1];jb(_)&&jb(y)&&(y=ig(!0,_,y)),r[x]=[h,y,...E]}}}}const hF=new yx().freeze();function cg(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function dg(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function hg(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 x8(e){if(!jb(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function y8(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function uh(e){return fF(e)?e:new U_(e)}function fF(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function mF(e){return typeof e=="string"||pF(e)}function pF(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const gF="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",v8=[],E8={allowDangerousHtml:!0},bF=/^(https?|ircs?|mailto|xmpp)$/i,xF=[{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 yF(e){const t=vF(e),n=EF(e);return wF(t.runSync(t.parse(n),n),e)}function vF(e){const t=e.rehypePlugins||v8,n=e.remarkPlugins||v8,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...E8}:E8;return hF().use(nU).use(n).use(QU,r).use(t)}function EF(e){const t=e.children||"",n=new U_;return typeof t=="string"&&(n.value=t),n}function wF(e,t){const n=t.allowedElements,r=t.allowElement,a=t.components,i=t.disallowedElements,o=t.skipHtml,u=t.unwrapDisallowed,c=t.urlTransform||TF;for(const g of xF)Object.hasOwn(t,g.from)&&(""+g.from+(g.to?"use `"+g.to+"` instead":"remove it")+gF+g.id,void 0);return Ml(e,h),BH(e,{Fragment:p.Fragment,components:a,ignoreInvalidStyle:!0,jsx:p.jsx,jsxs:p.jsxs,passKeys:!0,passNode:!0});function h(g,m,x){if(g.type==="raw"&&x&&typeof m=="number")return o?x.children.splice(m,1):x.children[m]={type:"text",value:g.value},m;if(g.type==="element"){let y;for(y in ng)if(Object.hasOwn(ng,y)&&Object.hasOwn(g.properties,y)){const E=g.properties[y],_=ng[y];(_===null||_.includes(g.tagName))&&(g.properties[y]=c(String(E||""),y,g))}}if(g.type==="element"){let y=n?!n.includes(g.tagName):i?i.includes(g.tagName):!1;if(!y&&r&&typeof m=="number"&&(y=!r(g,m,x)),y&&x&&typeof m=="number")return u&&g.children?x.children.splice(m,1,...g.children):x.children.splice(m,1),m}}}function TF(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||bF.test(e.slice(0,t))?e:""}const w8=/[#.]/g;function _F(e,t){const n=e||"",r={};let a=0,i,o;for(;a<n.length;){w8.lastIndex=a;const u=w8.exec(n),c=n.slice(a,u?u.index:n.length);c&&(i?i==="#"?r.id=c:Array.isArray(r.className)?r.className.push(c):r.className=[c]:o=c,a+=c.length),u&&(i=u[0],a++)}return{type:"element",tagName:o||t||"div",properties:r,children:[]}}function F_(e,t,n){const r=n?NF(n):void 0;function a(i,o,...u){let c;if(i==null){c={type:"root",children:[]};const h=o;u.unshift(h)}else{c=_F(i,t);const h=c.tagName.toLowerCase(),g=r?r.get(h):void 0;if(c.tagName=g||h,kF(o))u.unshift(o);else for(const[m,x]of Object.entries(o))SF(e,c.properties,m,x)}for(const h of u)Bb(c.children,h);return c.type==="element"&&c.tagName==="template"&&(c.content={type:"root",children:c.children},c.children=[]),c}return a}function kF(e){if(e===null||typeof e!="object"||Array.isArray(e))return!0;
vendor: 11,929 bytes, lines 323-325
323if(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 i=a;for(const o of i)if(typeof o!="number"&&typeof o!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function SF(e,t,n,r){const a=Zf(e,n);let i;if(r!=null){if(typeof r=="number"){if(Number.isNaN(r))return;i=r}else typeof r=="boolean"?i=r:typeof r=="string"?a.spaceSeparated?i=q6(r):a.commaSeparated?i=H6(r):a.commaOrSpaceSeparated?i=q6(H6(r).join(" ")):i=T8(a,a.property,r):Array.isArray(r)?i=[...r]:i=a.property==="style"?AF(r):String(r);if(Array.isArray(i)){const o=[];for(const u of i)o.push(T8(a,a.property,u));i=o}a.property==="className"&&Array.isArray(t.className)&&(i=t.className.concat(i)),t[a.property]=i}}function Bb(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)Bb(e,n);else if(typeof t=="object"&&"type"in t)t.type==="root"?Bb(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function T8(e,t,n){if(typeof n=="string"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===""||s0(n)===s0(t)))return!0}return n}function AF(e){const t=[];for(const[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}function NF(e){const t=new Map;for(const n of e)t.set(n.toLowerCase(),n);return t}const CF=["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"],q_=F_(_0,"div"),G_=F_(Ki,"g",CF),es={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 OF(e,t){return $_(e,{})||{type:"root",children:[]}}function $_(e,t){const n=RF(e,t);return n&&t.afterTransform&&t.afterTransform(e,n),n}function RF(e,t){switch(e.nodeType){case 1:return MF(e,t);case 3:return LF(e);case 8:return IF(e);case 9:return _8(e,t);case 10:return DF();case 11:return _8(e,t);default:return}}function _8(e,t){return{type:"root",children:V_(e,t)}}function DF(){return{type:"doctype"}}function LF(e){return{type:"text",value:e.nodeValue||""}}function IF(e){return{type:"comment",value:e.nodeValue||""}}function MF(e,t){const n=e.namespaceURI,r=n===es.svg?G_:q_,a=n===es.html?e.tagName.toLowerCase():e.tagName,i=n===es.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,V_(i,t))}function V_(e,t){const n=e.childNodes,r=[];let a=-1;for(;++a<n.length;){const i=$_(n[a],t);i!==void 0&&r.push(i)}return r}new DOMParser;function PF(e,t){const n=jF(e);return OF(n)}function jF(e){const t=document.createElement("template");return t.innerHTML=e,t.content}const k8=(function(e,t,n){const r=S0(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]}),Fl=(function(e){if(e==null)return zF;if(typeof e=="string")return BF(e);if(typeof e=="object")return HF(e);if(typeof e=="function")return vx(e);throw new Error("Expected function, string, or array as `test`")});function HF(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Fl(e[n]);return vx(r);function r(...a){let i=-1;for(;++i<t.length;)if(t[i].apply(this,a))return!0;return!1}}function BF(e){return vx(t);function t(n){return n.tagName===e}}function vx(e){return t;function t(n,r,a){return!!(UF(n)&&e.call(this,n,typeof r=="number"?r:void 0,a||void 0))}}function zF(e){return!!(e&&typeof e=="object"&&"type"in e&&e.type==="element"&&"tagName"in e&&typeof e.tagName=="string")}function UF(e){return e!==null&&typeof e=="object"&&"type"in e&&"tagName"in e}const S8=/\n/g,A8=/[\t ]+/g,zb=Fl("br"),N8=Fl(WF),FF=Fl("p"),C8=Fl("tr"),qF=Fl(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",QF,KF]),Y_=Fl(["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 GF(e,t){const n=t||{},r="children"in e?e.children:[],a=Y_(e),i=K_(e,{whitespace:n.whitespace||"normal"}),o=[];(e.type==="text"||e.type==="comment")&&o.push(...W_(e,{breakBefore:!0,breakAfter:!0}));let u=-1;for(;++u<r.length;)o.push(...Q_(r[u],e,{whitespace:i,breakBefore:u?void 0:a,breakAfter:u<r.length-1?zb(r[u+1]):a}));const c=[];let h;for(u=-1;++u<o.length;){const g=o[u];typeof g=="number"?h!==void 0&&g>h&&(h=g):g&&(h!==void 0&&h>-1&&c.push(`
324`.repeat(h)||" "),h=-1,c.push(g))}return c.join("")}function Q_(e,t,n){return e.type==="element"?$F(e,t,n):e.type==="text"?n.whitespace==="normal"?W_(e,n):VF(e):[]}function $F(e,t,n){const r=K_(e,n),a=e.children||[];let i=-1,o=[];if(qF(e))return o;let u,c;for(zb(e)||C8(e)&&k8(t,e,C8)?c=`
325`:FF(e)?(u=2,c=2):Y_(e)&&(u=1,c=1);++i<a.length;)o=o.concat(Q_(a[i],e,{whitespace:r,breakBefore:i?void 0:u,breakAfter:i<a.length-1?zb(a[i+1]):c}));return N8(e)&&k8(t,e,N8)&&o.push("	"),u&&o.unshift(u),c&&o.push(c),o}function W_(e,t){const n=String(e.value),r=[],a=[];let i=0;for(;i<=n.length;){S8.lastIndex=i;const c=S8.exec(n),h=c&&"index"in c?c.index:n.length;r.push(YF(n.slice(i,h).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),i===0?t.breakBefore:!0,h===n.length?t.breakAfter:!0)),i=h+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 VF(e){return[String(e.value)]}function YF(e,t,n){const r=[];let a=0,i;for(;a<e.length;){A8.lastIndex=a;const o=A8.exec(e);i=o?o.index:e.length,!a&&!i&&o&&!t&&r.push(""),a!==i&&r.push(e.slice(a,i)),a=o?i+o[0].length:i}return a!==i&&!n&&r.push(""),r.join(" ")}function K_(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 QF(e){return!!(e.properties||{}).hidden}function WF(e){return e.tagName==="td"||e.tagName==="th"}function KF(e){return e.tagName==="dialog"&&!(e.properties||{}).open}class Ar{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 Ar(t.loc.lexer,t.loc.start,n.loc.end):t&&t.loc}}class Vr{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 Vr(n,Ar.range(this,t))}}class Ce{constructor(t,n){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var r="KaTeX parse error: "+t,a,i,o=n&&n.loc;if(o&&o.start<=o.end){var u=o.lexer.input;a=o.start,i=o.end,a===u.length?r+=" at end of input: ":r+=" at position "+(a+1)+": ";var c=u.slice(a,i).replace(/[^]/g,"$&̲"),h;a>15?h="…"+u.slice(a-15,a):h=u.slice(0,a);var g;i+15<u.length?g=u.slice(i,i+15)+"…":g=u.slice(i),r+=h+c+g}var m=new Error(r);return m.name="ParseError",m.__proto__=Ce.prototype,m.position=a,a!=null&&i!=null&&(m.length=i-a),m.rawMessage=t,m}}Ce.prototype.__proto__=Error.prototype;var XF=function(t,n){return t===void 0?n:t},ZF=/([A-Z])/g,JF=function(t){return t.replace(ZF,"-$1").toLowerCase()},eq={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},tq=/[&><"']/g;function nq(e){return String(e).replace(tq,t=>eq[t])}var X_=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},rq=function(t){var n=X_(t);return n.type==="mathord"||n.type==="textord"||n.type==="atom"},aq=function(t){if(!t)throw new Error("Expected non-null, but got "+String(t));return t},sq=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"},St={deflt:XF,escape:nq,hyphenate:JF,getBaseElem:X_,isCharacterBox:rq,protocolFromUrl:sq},Bc={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 iq(e){if(e.default)return e.default;var t=e.type,n=Array.isArray(t)?t[0]:t;
vendor: 4,895 bytes, lines 325-357
325if(typeof n!="string")return n.enum[0];switch(n){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class Ex{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 Bc)if(Bc.hasOwnProperty(n)){var r=Bc[n];this[n]=t[n]!==void 0?r.processor?r.processor(t[n]):t[n]:iq(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 Ce("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=St.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 Si{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 Xa[lq[this.id]]}sub(){return Xa[oq[this.id]]}fracNum(){return Xa[uq[this.id]]}fracDen(){return Xa[cq[this.id]]}cramp(){return Xa[dq[this.id]]}text(){return Xa[hq[this.id]]}isTight(){return this.size>=2}}var wx=0,rf=1,Xo=2,zs=3,l0=4,da=5,iu=6,or=7,Xa=[new Si(wx,0,!1),new Si(rf,0,!0),new Si(Xo,1,!1),new Si(zs,1,!0),new Si(l0,2,!1),new Si(da,2,!0),new Si(iu,3,!1),new Si(or,3,!0)],lq=[l0,da,l0,da,iu,or,iu,or],oq=[da,da,da,da,or,or,or,or],uq=[Xo,zs,l0,da,iu,or,iu,or],cq=[zs,zs,da,da,or,or,or,or],dq=[rf,rf,zs,zs,da,da,or,or],hq=[wx,rf,Xo,zs,Xo,zs,Xo,zs],Qe={DISPLAY:Xa[wx],TEXT:Xa[Xo],SCRIPT:Xa[l0],SCRIPTSCRIPT:Xa[iu]},Ub=[{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 fq(e){for(var t=0;t<Ub.length;t++)for(var n=Ub[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 Bh=[];Ub.forEach(e=>e.blocks.forEach(t=>Bh.push(...t)));function Z_(e){for(var t=0;t<Bh.length;t+=2)if(e>=Bh[t]&&e<=Bh[t+1])return!0;return!1}var Bo=80,mq=function(t,n){return"M95,"+(622+t+n)+`
326c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
327c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
328c44.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
329s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
330c69,-144,104.5,-217.7,106.5,-221
331l`+t/2.075+" -"+t+`
332c5.3,-9.3,12,-14,20,-14
333H400000v`+(40+t)+`H845.2724
334s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
335c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
336M`+(834+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},pq=function(t,n){return"M263,"+(601+t+n)+`c0.7,0,18,39.7,52,119
337c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
338c340,-704.7,510.7,-1060.3,512,-1067
339l`+t/2.084+" -"+t+`
340c4.7,-7.3,11,-11,19,-11
341H40000v`+(40+t)+`H1012.3
342s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
343c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
344s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
345c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
346M`+(1001+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},gq=function(t,n){return"M983 "+(10+t+n)+`
347l`+t/3.13+" -"+t+`
348c4,-6.7,10,-10,18,-10 H400000v`+(40+t)+`
349H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7
350s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744
351c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
352c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
353c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
354c53.7,-170.3,84.5,-266.8,92.5,-289.5z
355M`+(1001+t)+" "+n+"h400000v"+(40+t)+"h-400000z"},bq=function(t,n){return"M424,"+(2398+t+n)+`
356c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
357c0,-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
358s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
359s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
360l`+t/4.223+" -"+t+`c4,-6.7,10,-10,18,-10 H400000
361v`+(40+t)+`H1014.6
362s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
363c-2,6,-10,9,-24,9
364c-8,0,-12,-0.7,-12,-2z M`+(1001+t)+" "+n+`
365h400000v`+(40+t)+"h-400000z"},xq=function(t,n){return"M473,"+(2713+t+n)+`
366c339.3,-1799.3,509.3,-2700,510,-2702 l`+t/5.298+" -"+t+`
367c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+t)+`H1017.7
368s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
369c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200
370c0,-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
371s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
372606zM`+(1001+t)+" "+n+"h400000v"+(40+t)+"H1017.7z"},yq=function(t){var n=t/2;return"M400000 "+t+" H0 L"+n+" 0 l65 45 L145 "+(t-80)+" H400000z"},vq=function(t,n,r){var a=r-54-n-t;return"M702 "+(t+n)+"H400000"+(40+t)+`
373H742v`+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
374h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
375c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
376219 661 l218 661zM702 `+n+"H400000v"+(40+t)+"H742z"},Eq=function(t,n,r){n=1e3*n;var a="";switch(t){case"sqrtMain":a=mq(n,Bo);break;case"sqrtSize1":a=pq(n,Bo);break;case"sqrtSize2":a=gq(n,Bo);break;case"sqrtSize3":a=bq(n,Bo);break;case"sqrtSize4":a=xq(n,Bo);break;case"sqrtTall":a=vq(n,Bo,r)}return a},wq=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""}},O8
vendor: 15,381 bytes, lines 376-551
376={doubleleftarrow:`M262 157
377l10-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
378 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
379 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
380c2 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
381 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
382-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
383-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
384m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
385-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
386 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
387-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
388-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
389-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
390c-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
391-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
392 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
393-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
394c-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
395 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
396 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
397 l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
398-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
399 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
400 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
401 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
402-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
403H435C64 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
404 435 0h399565z`,leftgroupunder:`M400000 262
405H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
406 435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
407-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
408-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
409-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
410 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
411-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
412-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
413m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
414 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
415 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
416-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
417 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
418-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
419v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
420-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
421-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
422 71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
423M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
424M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
425-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
426c28.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
427 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
428M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
429c-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
430-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
431 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
432 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
433c100.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
434 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
435 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
436-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
437-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
438m368.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
43960.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
440-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
441m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
442c0 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
443-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
444m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
44585.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
446-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
447m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
448c0 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
449-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
450 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
451 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
452-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
453-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
454 151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
455-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
456s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
457c124.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
458 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
459-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
460 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
461 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
462-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
463-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
464 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
465-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
466 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
467m0 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
468 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
469-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
470-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
471 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
472 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
473-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
474m0-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
475 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
476-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
477 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
478M399960 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
479 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
480-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
481-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
482 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
483-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
484-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
485-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
486 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
487c-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
488 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
489 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
490-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
491 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
492-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
493 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
494 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
495-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
496-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
497 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
498c1 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
499 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
500-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
501 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
502 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
503 -338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
504-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
505 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
506 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
507 -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
5083.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
50910.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
510-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
511-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
512H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
513c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
514c-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
515-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
516-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
517-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,
518-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,
519-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,
520-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,
521-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
522c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
523c-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
524s-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
525121.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
526s2.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
527c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
528M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
529-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
53013.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
531-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
532-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
533-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
534151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
535c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
536c2,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
537c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
538c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
539M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
540c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
541-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
542c-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
543M0 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
544c1.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,
5451c0,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,
546-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
547M93 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
548c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
549-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
550c-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
551M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},
vendor: 3,200 bytes, lines 551-579
551Tq=function(t,n){switch(t){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+n+` v1759 h347 v-84
552H403z 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
553M347 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
554c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15
555c-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
556c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15
557c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+n+` v585 h43z
558M367 15 v585 v`+n+` v585 c2.667,10,9.667,15,21,15
559c10,0,16.667,-5,20,-15 v-585 v`+-n+` v-585 c-2.667,-10,-9.667,-15,-21,-15
560c-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
561MM319 602 V0 H403 V602 v`+n+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+n+` v1799 H0 v-84 H319z
562MM319 602 V0 H403 V602 v`+n+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+n+` v602 h84z
563M403 1759 V0 H319 V1759 v`+n+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+n+` v602 h84z
564M347 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
565c-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,
566-36,557 l0,`+(n+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,
567949.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
568c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,
569-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189
570l0,-`+(n+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,
571-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,
57263,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5
573c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(n+9)+`
574c-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
575c-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
576c0,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
577c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
578l0,-`+(n+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
579-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 N0{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 ts
vendor: 57,629 bytes, line 579
579={"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 579
579ch={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]},R8={Å:"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 J_(e,t){ts[e]=t}function Tx(e,t,n){if(!ts[t])throw new Error("Font metrics not found for font: "+t+".");var r=e.charCodeAt(0),a=ts[t][r];if(!a&&e[0]in R8&&(r=R8[e[0]].charCodeAt(0),a=ts[t][r]),!a&&n==="text"&&Z_(r)&&(a=ts[t][77]),a)return{depth:a[0],height:a[1],italic:a[2],skew:a[3],width:a[4]}}var fg={};function _q(e){var t;if(e>=5?t=0:e>=3?t=1:t=2,!fg[t]){var n=fg[t]={cssEmPerMu:ch.quad[t]/18};for(var r in ch)ch.hasOwnProperty(r)&&(n[r]=ch[r][t])}return fg[t]}var kq=[[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]],D8=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],L8=function(t,n){return n.size<2?t:kq[t-1][n.size-1]};class Is{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||Is.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=D8[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 579
579antom: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 Is(n)}havingStyle(t){return this.style===t?this:this.extend({style:t,size:L8(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:D8[t-1]})}havingBaseStyle(t){t=t||this.style.text();var n=L8(Is.BASESIZE,t);return this.size===n&&this.textSize===Is.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!==Is.BASESIZE?["sizing","reset-size"+this.size,"size"+Is.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=_q(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}Is.BASESIZE=6;var Fb={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},Sq={ex:!0,em:!0,mu:!0},ek=function(t){return typeof t!="string"&&(t=t.unit),t in Fb||t in Sq||t==="ex"},Zt=function(t,n){var r;if(t.unit in Fb)r=Fb[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 Ce("Invalid unit: '"+t.unit+"'");a!==n&&(r*=a.sizeMultiplier/n.sizeMultiplier)}return Math.min(t.number*r,n.maxSize)},Ie=function(t){return+t.toFixed(4)+"em"},Gi=function(t){return t.filter(n=>n).join(" ")},tk=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)}},nk=function(t){var n=document.createElement(t);n.className=Gi(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 i=0;i<this.children.length;i++)n.appendChild(this.children[i].toNode());return n},Aq=/[\s"'>/=\x00-\x1f]/,rk=function(t){var n="<"+t;this.classes.length&&(n+=' class="'+St.escape(Gi(this.classes))+'"');var r="";for(var a in this.style)this.style.hasOwnProperty(a)&&(r+=St.hyphenate(a)+":"+this.style[a]+";");r&&(n+=' style="'+St.escape(r)+'"');for(var i in this.attributes)if(this.attributes.hasOwnProperty(i)){if(Aq.test(i))throw new Ce("Invalid attribute name '"+i+"'");n+=" "+i+'="'+St.escape(this.attributes[i])+'"'}n+=">";for(var o=0;o<this.children.length;o++)n+=this.children[o].toMarkup();return n+="</"+t+">",n};class C0{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,tk.call(this,t,r,a),this.children=n||[]}setAttribute(t,n){this.attributes[t]=n}hasClass(t){return this.classes.includes(t)}toNode(){return nk.call(this,"span")}toMarkup(){return rk.call(this,"span")}}class _x{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,tk.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 nk.call(this,"a")}toMarkup(){return rk.call(this,"a")}}class Nq{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="'+St.escape(this.src)+'"'+(' alt="'+St.escape(this.alt)+'"'),n="";for(var r in this.style)this.style.hasOwnProperty(r)&&(n+=St.hyphenate(r)+":"+this.style[r]+";");return n&&(t+=' style="'+St.escape(n)+'"'),t+="'/>",t}}var Cq={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class fa{constructor(t,n,r,a,i,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=i||0,this.width=o||0,this.classes=u||[],this.style=c||{},this.maxFontSize=0;var h=fq(this.text.charCodeAt(0));h&&this.classes.push(h+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=Cq[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=Ie(this.italic)),this.classes.length>0&&(n=n||document.createElement("span"),n.className=Gi(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+=St.escape(Gi(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+=St.hyphenate(a)+":"+this.style[a]+";");r&&(t=!0,n+=' style="'+St.escape(r)+'"');var i=St.escape(this.text);return t?(n+=">",n+=i,n+="</span>",n):i}}class $s{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+'="'+St.escape(this.attributes[n])+'"');t+=">";for(var r=0;r<this.children.length;r++)t+=this.children[r].toMarkup();return t+="</svg>",t}}class $i{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",O8[this.pathName]),n}toMarkup(){return this.alternate?'<path d="'+St.escape(this.alternate)+'"/>':'<path d="'+St.escape(O8[this.pathName])+'"/>'}}class qb{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+'="'+St.escape(this.attributes[n])+'"');return t+="/>",t}}function I8(e){if(e instanceof fa)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}function Oq(e){if(e instanceof C0)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}var Rq={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Dq={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Ft={math:{},text:{}};function T(e,t,n,r,a,i){Ft[e][a]={font:t,group:n,replace:r},i&&r&&(Ft[e][r]=Ft[e][a])}var k="math",_e="text",O="main",Y="ams",Qt="accent-token",Be="bin",cr="close",gu="inner",Ye="mathord",wn="op-token",Yr
579="open",am="punct",Q="rel",Ks="spacing",ee="textord";T(k,O,Q,"≡","\\equiv",!0);T(k,O,Q,"≺","\\prec",!0);T(k,O,Q,"≻","\\succ",!0);T(k,O,Q,"∼","\\sim",!0);T(k,O,Q,"⊥","\\perp");T(k,O,Q,"⪯","\\preceq",!0);T(k,O,Q,"⪰","\\succeq",!0);T(k,O,Q,"≃","\\simeq",!0);T(k,O,Q,"∣","\\mid",!0);T(k,O,Q,"≪","\\ll",!0);T(k,O,Q,"≫","\\gg",!0);T(k,O,Q,"≍","\\asymp",!0);T(k,O,Q,"∥","\\parallel");T(k,O,Q,"⋈","\\bowtie",!0);T(k,O,Q,"⌣","\\smile",!0);T(k,O,Q,"⊑","\\sqsubseteq",!0);T(k,O,Q,"⊒","\\sqsupseteq",!0);T(k,O,Q,"≐","\\doteq",!0);T(k,O,Q,"⌢","\\frown",!0);T(k,O,Q,"∋","\\ni",!0);T(k,O,Q,"∝","\\propto",!0);T(k,O,Q,"⊢","\\vdash",!0);T(k,O,Q,"⊣","\\dashv",!0);T(k,O,Q,"∋","\\owns");T(k,O,am,".","\\ldotp");T(k,O,am,"⋅","\\cdotp");T(k,O,ee,"#","\\#");T(_e,O,ee,"#","\\#");T(k,O,ee,"&","\\&");T(_e,O,ee,"&","\\&");T(k,O,ee,"ℵ","\\aleph",!0);T(k,O,ee,"∀","\\forall",!0);T(k,O,ee,"ℏ","\\hbar",!0);T(k,O,ee,"∃","\\exists",!0);T(k,O,ee,"∇","\\nabla",!0);T(k,O,ee,"♭","\\flat",!0);T(k,O,ee,"ℓ","\\ell",!0);T(k,O,ee,"♮","\\natural",!0);T(k,O,ee,"♣","\\clubsuit",!0);T(k,O,ee,"℘","\\wp",!0);T(k,O,ee,"♯","\\sharp",!0);T(k,O,ee,"♢","\\diamondsuit",!0);T(k,O,ee,"ℜ","\\Re",!0);T(k,O,ee,"♡","\\heartsuit",!0);T(k,O,ee,"ℑ","\\Im",!0);T(k,O,ee,"♠","\\spadesuit",!0);T(k,O,ee,"§","\\S",!0);T(_e,O,ee,"§","\\S");T(k,O,ee,"¶","\\P",!0);T(_e,O,ee,"¶","\\P");T(k,O,ee,"†","\\dag");T(_e,O,ee,"†","\\dag");T(_e,O,ee,"†","\\textdagger");T(k,O,ee,"‡","\\ddag");T(_e,O,ee,"‡","\\ddag");T(_e,O,ee,"‡","\\textdaggerdbl");T(k,O,cr,"⎱","\\rmoustache",!0);T(k,O,Yr,"⎰","\\lmoustache",!0);T(k,O,cr,"⟯","\\rgroup",!0);T(k,O,Yr,"⟮","\\lgroup",!0);T(k,O,Be,"∓","\\mp",!0);T(k,O,Be,"⊖","\\ominus",!0);T(k,O,Be,"⊎","\\uplus",!0);T(k,O,Be,"⊓","\\sqcap",!0);T(k,O,Be,"∗","\\ast");T(k,O,Be,"⊔","\\sqcup",!0);T(k,O,Be,"◯","\\bigcirc",!0);T(k,O,Be,"∙","\\bullet",!0);T(k,O,Be,"‡","\\ddagger");T(k,O,Be,"≀","\\wr",!0);T(k,O,Be,"⨿","\\amalg");T(k,O,Be,"&","\\And");T(k,O,Q,"⟵","\\longleftarrow",!0);T(k,O,Q,"⇐","\\Leftarrow",!0);T(k,O,Q,"⟸","\\Longleftarrow",!0);T(k,O,Q,"⟶","\\longrightarrow",!0);T(k,O,Q,"⇒","\\Rightarrow",!0);T(k,O,Q,"⟹","\\Longrightarrow",!0);T(k,O,Q,"↔","\\leftrightarrow",!0);T(k,O,Q,"⟷","\\longleftrightarrow",!0);T(k,O,Q,"⇔","\\Leftrightarrow",!0);T(k,O,Q,"⟺","\\Longleftrightarrow",!0);T(k,O,Q,"↦","\\mapsto",!0);T(k,O,Q,"⟼","\\longmapsto",!0);T(k,O,Q,"↗","\\nearrow",!0);T(k,O,Q,"↩","\\hookleftarrow",!0);T(k,O,Q,"↪","\\hookrightarrow",!0);T(k,O,Q,"↘","\\searrow",!0);T(k,O,Q,"↼","\\leftharpoonup",!0);T(k,O,Q,"⇀","\\rightharpoonup",!0);T(k,O,Q,"↙","\\swarrow",!0);T(k,O,Q,"↽","\\leftharpoondown",!0);T(k,O,Q,"⇁","\\rightharpoondown",!0);T(k,O,Q,"↖","\\nwarrow",!0);T(k,O,Q,"⇌","\\rightleftharpoons",!0);T(k,Y,Q,"≮","\\nless",!0);T(k,Y,Q,"","\\@nleqslant");T(k,Y,Q,"","\\@nleqq");T(k,Y,Q,"⪇","\\lneq",!0);T(k,Y,Q,"≨","\\lneqq",!0);T(k,Y,Q,"","\\@lvertneqq");T(k,Y,Q,"⋦","\\lnsim",!0);T(k,Y,Q,"⪉","\\lnapprox",!0);T(k,Y,Q,"⊀","\\nprec",!0);T(k,Y,Q,"⋠","\\npreceq",!0);T(k,Y,Q,"⋨","\\precnsim",!0);T(k,Y,Q,"⪹","\\precnapprox",!0);T(k,Y,Q,"≁","\\nsim",!0);T(k,Y,Q,"","\\@nshortmid");T(k,Y,Q,"∤","\\nmid",!0);T(k,Y,Q,"⊬","\\nvdash",!0);T(k,Y,Q,"⊭","\\nvDash",!0);T(k,Y,Q,"⋪","\\ntriangleleft");T(k,Y,Q,"⋬","\\ntrianglelefteq",!0);T(k,Y,Q,"⊊","\\subsetneq",!0);T(k,Y,Q,"","\\@varsubsetneq");T(k,Y,Q,"⫋","\\subsetneqq",!0);T(k,Y,Q,"","\\@varsubsetneqq");T(k,Y,Q,"≯","\\ngtr",!0);T(k,Y,Q,"","\\@ngeqslant");T(k,Y,Q,"","\\@ngeqq");T(k,Y,Q,"⪈","\\gneq",!0);T(k,Y,Q,"≩","\\gneqq",!0);T(k,Y,Q,"","\\@gvertneqq");T(k,Y,Q,"⋧","\\gnsim",!0);T(k,Y,Q,"⪊","\\gnapprox",!0);T(k,Y,Q,"⊁","\\nsucc",!0);T(k,Y,Q,"⋡","\\nsucceq",!0);T(k,Y,Q,"⋩","\\succnsim",!0);T(k,Y,Q,"⪺","\\succnapprox",!0);T(k,Y,Q,"≆","\\ncong",!0);T(k,Y,Q,"","\\@nshortparallel");T(k,Y,Q,"∦","\\nparallel",!0);T(k,Y,Q,"⊯","\\nVDash",!0);T(k,Y,Q,"⋫","\\ntriangleright");T(k,Y,Q,"⋭","\\ntrianglerighteq",!0);T(k,Y,Q,"","\\@nsupseteqq");T(k,Y,Q,"⊋","\\supsetneq",!0);T(k,Y,Q,"","\\@varsupsetneq");T(k,Y,Q,"⫌","\\supsetneqq",!0);T(k,Y,Q,"","\\@varsupsetneqq");T(k,Y,Q,"⊮","\\nVdash",!0);T(k,Y,Q,"⪵","\\precneqq",!0);T(k,Y,Q,"⪶","\\succneqq",!0);
579T(k,Y,Q,"","\\@nsubseteqq");T(k,Y,Be,"⊴","\\unlhd");T(k,Y,Be,"⊵","\\unrhd");T(k,Y,Q,"↚","\\nleftarrow",!0);T(k,Y,Q,"↛","\\nrightarrow",!0);T(k,Y,Q,"⇍","\\nLeftarrow",!0);T(k,Y,Q,"⇏","\\nRightarrow",!0);T(k,Y,Q,"↮","\\nleftrightarrow",!0);T(k,Y,Q,"⇎","\\nLeftrightarrow",!0);T(k,Y,Q,"△","\\vartriangle");T(k,Y,ee,"ℏ","\\hslash");T(k,Y,ee,"▽","\\triangledown");T(k,Y,ee,"◊","\\lozenge");T(k,Y,ee,"Ⓢ","\\circledS");T(k,Y,ee,"®","\\circledR");T(_e,Y,ee,"®","\\circledR");T(k,Y,ee,"∡","\\measuredangle",!0);T(k,Y,ee,"∄","\\nexists");T(k,Y,ee,"℧","\\mho");T(k,Y,ee,"Ⅎ","\\Finv",!0);T(k,Y,ee,"⅁","\\Game",!0);T(k,Y,ee,"‵","\\backprime");T(k,Y,ee,"▲","\\blacktriangle");T(k,Y,ee,"▼","\\blacktriangledown");T(k,Y,ee,"■","\\blacksquare");T(k,Y,ee,"⧫","\\blacklozenge");T(k,Y,ee,"★","\\bigstar");T(k,Y,ee,"∢","\\sphericalangle",!0);T(k,Y,ee,"∁","\\complement",!0);T(k,Y,ee,"ð","\\eth",!0);T(_e,O,ee,"ð","ð");T(k,Y,ee,"╱","\\diagup");T(k,Y,ee,"╲","\\diagdown");T(k,Y,ee,"□","\\square");T(k,Y,ee,"□","\\Box");T(k,Y,ee,"◊","\\Diamond");T(k,Y,ee,"¥","\\yen",!0);T(_e,Y,ee,"¥","\\yen",!0);T(k,Y,ee,"✓","\\checkmark",!0);T(_e,Y,ee,"✓","\\checkmark");T(k,Y,ee,"ℶ","\\beth",!0);T(k,Y,ee,"ℸ","\\daleth",!0);T(k,Y,ee,"ℷ","\\gimel",!0);T(k,Y,ee,"ϝ","\\digamma",!0);T(k,Y,ee,"ϰ","\\varkappa");T(k,Y,Yr,"┌","\\@ulcorner",!0);T(k,Y,cr,"┐","\\@urcorner",!0);T(k,Y,Yr,"└","\\@llcorner",!0);T(k,Y,cr,"┘","\\@lrcorner",!0);T(k,Y,Q,"≦","\\leqq",!0);T(k,Y,Q,"⩽","\\leqslant",!0);T(k,Y,Q,"⪕","\\eqslantless",!0);T(k,Y,Q,"≲","\\lesssim",!0);T(k,Y,Q,"⪅","\\lessapprox",!0);T(k,Y,Q,"≊","\\approxeq",!0);T(k,Y,Be,"⋖","\\lessdot");T(k,Y,Q,"⋘","\\lll",!0);T(k,Y,Q,"≶","\\lessgtr",!0);T(k,Y,Q,"⋚","\\lesseqgtr",!0);T(k,Y,Q,"⪋","\\lesseqqgtr",!0);T(k,Y,Q,"≑","\\doteqdot");T(k,Y,Q,"≓","\\risingdotseq",!0);T(k,Y,Q,"≒","\\fallingdotseq",!0);T(k,Y,Q,"∽","\\backsim",!0);T(k,Y,Q,"⋍","\\backsimeq",!0);T(k,Y,Q,"⫅","\\subseteqq",!0);T(k,Y,Q,"⋐","\\Subset",!0);T(k,Y,Q,"⊏","\\sqsubset",!0);T(k,Y,Q,"≼","\\preccurlyeq",!0);T(k,Y,Q,"⋞","\\curlyeqprec",!0);T(k,Y,Q,"≾","\\precsim",!0);T(k,Y,Q,"⪷","\\precapprox",!0);T(k,Y,Q,"⊲","\\vartriangleleft");T(k,Y,Q,"⊴","\\trianglelefteq");T(k,Y,Q,"⊨","\\vDash",!0);T(k,Y,Q,"⊪","\\Vvdash",!0);T(k,Y,Q,"⌣","\\smallsmile");T(k,Y,Q,"⌢","\\smallfrown");T(k,Y,Q,"≏","\\bumpeq",!0);T(k,Y,Q,"≎","\\Bumpeq",!0);T(k,Y,Q,"≧","\\geqq",!0);T(k,Y,Q,"⩾","\\geqslant",!0);T(k,Y,Q,"⪖","\\eqslantgtr",!0);T(k,Y,Q,"≳","\\gtrsim",!0);T(k,Y,Q,"⪆","\\gtrapprox",!0);T(k,Y,Be,"⋗","\\gtrdot");T(k,Y,Q,"⋙","\\ggg",!0);T(k,Y,Q,"≷","\\gtrless",!0);T(k,Y,Q,"⋛","\\gtreqless",!0);T(k,Y,Q,"⪌","\\gtreqqless",!0);T(k,Y,Q,"≖","\\eqcirc",!0);T(k,Y,Q,"≗","\\circeq",!0);T(k,Y,Q,"≜","\\triangleq",!0);T(k,Y,Q,"∼","\\thicksim");T(k,Y,Q,"≈","\\thickapprox");T(k,Y,Q,"⫆","\\supseteqq",!0);T(k,Y,Q,"⋑","\\Supset",!0);T(k,Y,Q,"⊐","\\sqsupset",!0);T(k,Y,Q,"≽","\\succcurlyeq",!0);T(k,Y,Q,"⋟","\\curlyeqsucc",!0);T(k,Y,Q,"≿","\\succsim",!0);T(k,Y,Q,"⪸","\\succapprox",!0);T(k,Y,Q,"⊳","\\vartriangleright");T(k,Y,Q,"⊵","\\trianglerighteq");T(k,Y,Q,"⊩","\\Vdash",!0);T(k,Y,Q,"∣","\\shortmid");T(k,Y,Q,"∥","\\shortparallel");T(k,Y,Q,"≬","\\between",!0);T(k,Y,Q,"⋔","\\pitchfork",!0);T(k,Y,Q,"∝","\\varpropto");T(k,Y,Q,"◀","\\blacktriangleleft");T(k,Y,Q,"∴","\\therefore",!0);T(k,Y,Q,"∍","\\backepsilon");T(k,Y,Q,"▶","\\blacktriangleright");T(k,Y,Q,"∵","\\because",!0);T(k,Y,Q,"⋘","\\llless");T(k,Y,Q,"⋙","\\gggtr");T(k,Y,Be,"⊲","\\lhd");T(k,Y,Be,"⊳","\\rhd");T(k,Y,Q,"≂","\\eqsim",!0);T(k,O,Q,"⋈","\\Join");T(k,Y,Q,"≑","\\Doteq",!0);T(k,Y,Be,"∔","\\dotplus",!0);T(k,Y,Be,"∖","\\smallsetminus");T(k,Y,Be,"⋒","\\Cap",!0);T(k,Y,Be,"⋓","\\Cup",!0);T(k,Y,Be,"⩞","\\doublebarwedge",!0);T(k,Y,Be,"⊟","\\boxminus",!0);T(k,Y,Be,"⊞","\\boxplus",!0);T(k,Y,Be,"⋇","\\divideontimes",!0);T(k,Y,Be,"⋉","\\ltimes",!0);T(k,Y,Be,"⋊","\\rtimes",!0);T(k,Y,Be,"⋋","\\leftthreetimes",!0);T(k,Y,Be,"⋌","\\rightthreetimes",!0);T(k,Y,Be,"⋏","\\curlywedge",!0);T(k,Y,Be,"⋎","\\curlyvee",!0);T(k,Y,Be,"⊝","\\circleddash",!0);T(k,Y,Be,"⊛","\\circledast",!0);T(k,Y,Be,"⋅","\\centerdot");T(k,Y,Be,"⊺","\\intercal",!0);T(k,Y,Be,"⋒","\\doublecap");T(k,Y,Be,"⋓","\\doublecup");T(k,Y,Be,"⊠","\\boxtimes",!0);T(k,Y,Q,"⇢","\\dashrightarrow",!0);T(k,Y,Q,"⇠","\\dashleftarrow",!0);T(k,Y,Q,"⇇","\\leftleftarrows",!0);T(k,Y,Q,"⇆","\\leftrightarrows",!0);T(k,Y,Q,"⇚","\\Lleftarrow",!0);T(k,Y,Q,"↞","\\twoheadleftarrow",!0);T(k,Y,Q,"↢","\\leftarrowtail",!0);T(k,Y,Q,"↫","\\looparrowleft",!0);T(k,Y,Q,"⇋","\\leftrightharpoons",!0);T(k,Y,Q,"↶","\\curvearrowleft",!0);T(k,Y,Q,"↺","\\circlearrowleft",!0);T(k,Y,Q,"↰","\\Lsh",!0);T(k,Y,Q,"⇈","\\upuparrows",!0);T(k,Y,Q,"↿","\\upharpoonleft",!0);T(k,Y,Q,"⇃","\\downharpoonleft",!0);T(k,O,Q,"⊶","\\origof",!0);T(k,O,Q,"⊷","\\imageof",!0);T(k,Y,Q,"⊸","\\multimap",!0);T(k,Y,Q,"↭","\\leftrightsquigarrow",!0);T(k,Y,Q,"⇉","\\rightrightarrows",!0);T(k,Y,Q,"⇄","\\rightleftarrows",!0);T(k,Y,Q,"↠","\\twoheadrightarrow",!0);T(k,Y,Q,"↣","\\rightarrowtail",!0);T(k,Y,Q,"↬","\\looparrowright",!0);T(k,Y,Q,"↷","\\curvearrowright",!0);T(k,Y,Q,"↻","\\circlearrowright",!0);T(k,Y,Q,"↱","\\Rsh",!0);T(k,Y,Q,"⇊","\\downdownarrows",!0);T(k,Y,Q,"↾","\\upharpoonright",!0);T(k,Y,Q,"⇂","\\downharpoonright",!0);T(k,Y,Q,"⇝","\\rightsquigarrow",!0);T(k,Y,Q,"⇝","\\leadsto");T(k,Y,Q,"⇛","\\Rrightarrow",!0);T(k,Y,Q,"↾","\\restriction");T(k,O,ee,"‘","`");T(k,O,ee,"$","\\$");T(_e,O,ee,"$","\\$");T(_e,O,ee,"$","\\textdollar");T(k,O,ee,"%","\\%");T(_e,O,ee,"%","\\%");T(k,O,ee,"_","\\_");T(_e,O,ee,"_","\\_");T(_e,O,ee,"_","\\textunderscore");T(k,O,ee,"∠","\\angle",!0);T(k,O,ee,"∞","\\infty",!0);T(k,O,ee,"′","\\prime");T(k,O,ee,"△","\\triangle");T(k,O,ee,"Γ","\\Gamma",!0);T(k,O,ee,"Δ","\\Delta",!0);T(k,O,ee,"Θ","\\Theta",!0);T(k,O,ee,"Λ","\\Lambda",!0);T(k,O,ee,"Ξ","\\Xi",!0);T(k,O,ee,"Π","\\Pi",!0);T(k,O,ee,"Σ","\\Sigma",!0);T(k,O,ee,"Υ","\\Upsilon",!0);T(k,O,ee,"Φ","\\Phi",!0);T(k,O,ee,"Ψ","\\Psi",!0);T(k,O,ee,"Ω","\\Omega",!0);T(k,O,ee,"A","Α");T(k,O,ee,"B","Β");T(k,O,ee,"E","Ε");T(k,O,ee,"Z","Ζ");T(k,O,ee,"H","Η");T(k,O,ee,"I","Ι");T(k,O,ee,"K","Κ");T(k,O,ee,"M","Μ");T(k,O,ee,"N","Ν");T(k,O,ee,"O","Ο");T(k,O,ee,"P","Ρ");T(k,O,ee,"T","Τ");T(k,O,ee,"X","Χ");T(k,O,ee,"¬","\\neg",!0);T(k,O,ee,"¬","\\lnot");T(k,O,ee,"⊤","\\top");T(k,O,ee,"⊥","\\bot");T(k,O,ee,"∅","\\emptyset");T(k,Y,ee,"∅","\\varnothing");T(k,O,Ye,"α","\\alpha",!0);T(k,O,Ye,"β","\\beta",!0);T(k,O,Ye,"γ","\\gamma",!0);T(k,O,Ye,"δ","\\delta",!0);T(k,O,Ye,"ϵ","\\epsilon",!0);T(k,O,Ye,"ζ","\\zeta",!0);T(k,O,Ye,"η","\\eta",!0);T(k,O,Ye,"θ","\\theta",!0);T(k,O,Ye,"ι","\\iota",!0);T(k,O,Ye,"κ","\\kappa",!0);T(k,O,Ye,"λ","\\lambda",!0);T(k,O,Ye,"μ","\\mu",!0);T(k,O,Ye,"ν","\\nu",!0);T(k,O,Ye,"ξ","\\xi",!0);T(k,O,Ye,"ο","\\omicron",!0);T(k,O,Ye,"π","\\pi",!0);T(k,O,Ye,"ρ","\\rho",!0);T(k,O,Ye,"σ","\\sigma",!0);T(k,O,Ye,"τ","\\tau",!0);T(k,O,Ye,"υ","\\upsilon",!0);T(k,O,Ye,"ϕ","\\phi",!0);T(k,O,Ye,"χ","\\chi",!0);T(k,O,Ye,"ψ","\\psi",!0);T(k,O,Ye,"ω","\\omega",!0);T(k,O,Ye,"ε","\\varepsilon",!0);T(k,O,Ye,"ϑ","\\vartheta",!0);T(k,O,Ye,"ϖ","\\varpi",!0);T(k,O,Ye,"ϱ","\\varrho",!0);T(k,O,Ye,"ς","\\varsigma",!0);T(k,O,Ye,"φ","\\varphi",!0);T(k,O,Be,"∗","*",!0);T(k,O,Be,"+","+");T(k,O,Be,"−","-",!0);T(k,O,Be,"⋅","\\cdot",!0);T(k,O,Be,"∘","\\circ",!0);T(k,O,Be,"÷","\\div",!0);T(k,O,Be,"±","\\pm",!0);T(k,O,Be,"×","\\times",!0);T(k,O,Be,"∩","\\cap",!0);T(k,O,Be,"∪","\\cup",!0);T(k,O,Be,"∖","\\setminus",!0);T(k,O,Be,"∧","\\land");T(k,O,Be,"∨","\\lor");T(k,O,Be,"∧","\\wedge",!0);T(k,O,Be,"∨","\\vee",!0);T(k,O,ee,"√","\\surd");T(k,O,Yr,"⟨","\\langle",!0);T(k,O,Yr,"∣","\\lvert");T(k,O,Yr,"∥","\\lVert");T(k,O,cr,"?","?");T(k,O,cr,"!","!");T(k,O,cr,"⟩","\\rangle",!0);T(k,O,cr,"∣","\\rvert");T(k,O,cr,"∥","\\rVert");T(k,O,Q,"=","=");T(k,O,Q,":",":");T(k,O,Q,"≈","\\approx",!0);T(k,O,Q,"≅","\\cong",!0);T(k,O,Q,"≥","\\ge");T(k,O,Q,"≥","\\geq",!0);T(k,O,Q,"←","\\gets");T(k,O,Q,">","\\gt",!0);T(k,O,Q,"∈","\\in",!0);T(k,O,Q,"","\\@not");T(k,O,Q,"⊂","\\subset",!0);T(k,O,Q,"⊃","\\supset",!0);T(k,O,Q,"⊆","\\subseteq",!0);T(k,O,Q,"⊇","\\supseteq",!0);T(k,Y,Q,"⊈","\\nsubseteq",!0);T(k,Y,Q,"⊉","\\nsupseteq",!0);T(k,O,Q,"⊨","\\models");T(k,O,Q,"←","\\leftarrow",!0);T(k,O,Q,"≤","\\le");T(k,O,Q,"≤","\\leq",!0);T(k,O,Q,"<","\\lt",!0);T(k,O,Q,"→","\\rightarrow",!0);T(k,O,Q,"→","\\to");T(k,Y,Q,"≱","\\ngeq",!0);T(k,Y,Q,"≰","\\nleq",!0);T(k,O,Ks," ","\\ ");T(k,O,Ks," ","\\space");T(k,O,Ks," ","\\nobreakspace");T(_e,O,Ks," ","\\ ");T(_e,O,Ks," "," ");T(_e,O,Ks," ","\\space");T(_e,O,Ks," ","\\nobreakspace");T(k,O,Ks,null,"\\nobreak");T(k,O,Ks,null,"\\allowbreak");T(k,O,am,",",",");T(k,O,am,";",";");T(k,Y,Be,"⊼","\\barwedge",!0);T(k,Y,Be,"⊻","\\veebar",!0);T(k,O,Be,"⊙","\\odot",!0);T(k,O,Be,"⊕","\\oplus",!0);T(k,O,Be,"⊗","\\otimes",!0);T(k,O,ee,"∂","\\partial",!0);T(k,O,Be,"⊘","\\oslash",!0);T(k,Y,Be,"⊚","\\circledcirc",!0);T(k,Y,Be,"⊡","\\boxdot",!0);
vendor: 4,985 bytes, line 579
579T(k,O,Be,"△","\\bigtriangleup");T(k,O,Be,"▽","\\bigtriangledown");T(k,O,Be,"†","\\dagger");T(k,O,Be,"⋄","\\diamond");T(k,O,Be,"⋆","\\star");T(k,O,Be,"◃","\\triangleleft");T(k,O,Be,"▹","\\triangleright");T(k,O,Yr,"{","\\{");T(_e,O,ee,"{","\\{");T(_e,O,ee,"{","\\textbraceleft");T(k,O,cr,"}","\\}");T(_e,O,ee,"}","\\}");T(_e,O,ee,"}","\\textbraceright");T(k,O,Yr,"{","\\lbrace");T(k,O,cr,"}","\\rbrace");T(k,O,Yr,"[","\\lbrack",!0);T(_e,O,ee,"[","\\lbrack",!0);T(k,O,cr,"]","\\rbrack",!0);T(_e,O,ee,"]","\\rbrack",!0);T(k,O,Yr,"(","\\lparen",!0);T(k,O,cr,")","\\rparen",!0);T(_e,O,ee,"<","\\textless",!0);T(_e,O,ee,">","\\textgreater",!0);T(k,O,Yr,"⌊","\\lfloor",!0);T(k,O,cr,"⌋","\\rfloor",!0);T(k,O,Yr,"⌈","\\lceil",!0);T(k,O,cr,"⌉","\\rceil",!0);T(k,O,ee,"\\","\\backslash");T(k,O,ee,"∣","|");T(k,O,ee,"∣","\\vert");T(_e,O,ee,"|","\\textbar",!0);T(k,O,ee,"∥","\\|");T(k,O,ee,"∥","\\Vert");T(_e,O,ee,"∥","\\textbardbl");T(_e,O,ee,"~","\\textasciitilde");T(_e,O,ee,"\\","\\textbackslash");T(_e,O,ee,"^","\\textasciicircum");T(k,O,Q,"↑","\\uparrow",!0);T(k,O,Q,"⇑","\\Uparrow",!0);T(k,O,Q,"↓","\\downarrow",!0);T(k,O,Q,"⇓","\\Downarrow",!0);T(k,O,Q,"↕","\\updownarrow",!0);T(k,O,Q,"⇕","\\Updownarrow",!0);T(k,O,wn,"∐","\\coprod");T(k,O,wn,"⋁","\\bigvee");T(k,O,wn,"⋀","\\bigwedge");T(k,O,wn,"⨄","\\biguplus");T(k,O,wn,"⋂","\\bigcap");T(k,O,wn,"⋃","\\bigcup");T(k,O,wn,"∫","\\int");T(k,O,wn,"∫","\\intop");T(k,O,wn,"∬","\\iint");T(k,O,wn,"∭","\\iiint");T(k,O,wn,"∏","\\prod");T(k,O,wn,"∑","\\sum");T(k,O,wn,"⨂","\\bigotimes");T(k,O,wn,"⨁","\\bigoplus");T(k,O,wn,"⨀","\\bigodot");T(k,O,wn,"∮","\\oint");T(k,O,wn,"∯","\\oiint");T(k,O,wn,"∰","\\oiiint");T(k,O,wn,"⨆","\\bigsqcup");T(k,O,wn,"∫","\\smallint");T(_e,O,gu,"…","\\textellipsis");T(k,O,gu,"…","\\mathellipsis");T(_e,O,gu,"…","\\ldots",!0);T(k,O,gu,"…","\\ldots",!0);T(k,O,gu,"⋯","\\@cdots",!0);T(k,O,gu,"⋱","\\ddots",!0);T(k,O,ee,"⋮","\\varvdots");T(_e,O,ee,"⋮","\\varvdots");T(k,O,Qt,"ˊ","\\acute");T(k,O,Qt,"ˋ","\\grave");T(k,O,Qt,"¨","\\ddot");T(k,O,Qt,"~","\\tilde");T(k,O,Qt,"ˉ","\\bar");T(k,O,Qt,"˘","\\breve");T(k,O,Qt,"ˇ","\\check");T(k,O,Qt,"^","\\hat");T(k,O,Qt,"⃗","\\vec");T(k,O,Qt,"˙","\\dot");T(k,O,Qt,"˚","\\mathring");T(k,O,Ye,"","\\@imath");T(k,O,Ye,"","\\@jmath");T(k,O,ee,"ı","ı");T(k,O,ee,"ȷ","ȷ");T(_e,O,ee,"ı","\\i",!0);T(_e,O,ee,"ȷ","\\j",!0);T(_e,O,ee,"ß","\\ss",!0);T(_e,O,ee,"æ","\\ae",!0);T(_e,O,ee,"œ","\\oe",!0);T(_e,O,ee,"ø","\\o",!0);T(_e,O,ee,"Æ","\\AE",!0);T(_e,O,ee,"Œ","\\OE",!0);T(_e,O,ee,"Ø","\\O",!0);T(_e,O,Qt,"ˊ","\\'");T(_e,O,Qt,"ˋ","\\`");T(_e,O,Qt,"ˆ","\\^");T(_e,O,Qt,"˜","\\~");T(_e,O,Qt,"ˉ","\\=");T(_e,O,Qt,"˘","\\u");T(_e,O,Qt,"˙","\\.");T(_e,O,Qt,"¸","\\c");T(_e,O,Qt,"˚","\\r");T(_e,O,Qt,"ˇ","\\v");T(_e,O,Qt,"¨",'\\"');T(_e,O,Qt,"˝","\\H");T(_e,O,Qt,"◯","\\textcircled");var ak={"--":!0,"---":!0,"``":!0,"''":!0};T(_e,O,ee,"–","--",!0);T(_e,O,ee,"–","\\textendash");T(_e,O,ee,"—","---",!0);T(_e,O,ee,"—","\\textemdash");T(_e,O,ee,"‘","`",!0);T(_e,O,ee,"‘","\\textquoteleft");T(_e,O,ee,"’","'",!0);T(_e,O,ee,"’","\\textquoteright");T(_e,O,ee,"“","``",!0);T(_e,O,ee,"“","\\textquotedblleft");T(_e,O,ee,"”","''",!0);T(_e,O,ee,"”","\\textquotedblright");T(k,O,ee,"°","\\degree",!0);T(_e,O,ee,"°","\\degree");T(_e,O,ee,"°","\\textdegree",!0);T(k,O,ee,"£","\\pounds");T(k,O,ee,"£","\\mathsterling",!0);T(_e,O,ee,"£","\\pounds");T(_e,O,ee,"£","\\textsterling",!0);T(k,Y,ee,"✠","\\maltese");T(_e,Y,ee,"✠","\\maltese");var M8='0123456789/@."';for(var mg=0;mg<M8.length;mg++){var P8=M8.charAt(mg);T(k,O,ee,P8,P8)}var j8='0123456789!@*()-=+";:?/.,';for(var pg=0;pg<j8.length;pg++){var H8=j8.charAt(pg);T(_e,O,ee,H8,H8)}var af="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(var gg=0;gg<af.length;gg++){var dh=af.charAt(gg);T(k,O,Ye,dh,dh),T(_e,O,ee,dh,dh)}T(k,Y,ee,"C","ℂ");T(_e,Y,ee,"C","ℂ");T(k,Y,ee,"H","ℍ");T(_e,Y,ee,"H","ℍ");T(k,Y,ee,"N","ℕ");T(_e,Y,ee,"N","ℕ");T(k,Y,ee,"P","ℙ");T(_e,Y,ee,"P","ℙ");T(k,Y,ee,"Q","ℚ");T(_e,Y,ee,"Q","ℚ");T(k,Y,ee,"R","ℝ");T(_e,Y,ee,"R","ℝ");T(k,Y,ee,"Z","ℤ");T(_e,Y,ee,"Z","ℤ");T(k,O,Ye,"h","ℎ");T(_e,O,Ye,"h","ℎ");var Ze="";for(var sr=0;sr<af.length;sr++){var tn=af.charAt(sr);Ze=String.fromCharCode(55349,56320+sr),T(k,O,Ye,tn,Ze),T(_e,O,ee,tn,Ze),Ze=String.fromCharCode(55349,56372+sr),T(k,O,Ye,tn,Ze),T(_e,O,ee,tn,Ze),Ze=String.fromCharCode(55349,56424+sr),T(k,O,Ye,tn,Ze),T(_e,O,ee,tn,Ze),Ze=String.fromCharCode(55349,56580+sr),T(k,O,Ye,tn,Ze),T(_e,O,ee,tn,Ze),Ze=String.fromCharCode(55349,56684+sr),T(k,O,Ye,tn,Ze),T(_e,O,ee,tn,Ze),Ze=String.fromCharCode(55349,56736+sr),T(k,O,Ye,tn,Ze),T(_e,O,ee,tn,Ze),Ze=String.fromCharCode(55349,56788+sr),T(k,O,Ye,tn,Ze),T(_e,O,ee,tn,Ze),Ze=String.fromCharCode(55349,56840+sr),T(k,O,Ye,tn,Ze),T(_e,O,ee,tn,Ze),Ze=String.fromCharCode(55349,56944+sr),T(k,O,Ye,tn,Ze),T(_e,O,ee,tn,Ze),sr<26&&
vendor: 4,089 bytes, line 579
579(Ze=String.fromCharCode(55349,56632+sr),T(k,O,Ye,tn,Ze),T(_e,O,ee,tn,Ze),Ze=String.fromCharCode(55349,56476+sr),T(k,O,Ye,tn,Ze),T(_e,O,ee,tn,Ze))}Ze="𝕜";T(k,O,Ye,"k",Ze);T(_e,O,ee,"k",Ze);for(var vl=0;vl<10;vl++){var Ai=vl.toString();Ze=String.fromCharCode(55349,57294+vl),T(k,O,Ye,Ai,Ze),T(_e,O,ee,Ai,Ze),Ze=String.fromCharCode(55349,57314+vl),T(k,O,Ye,Ai,Ze),T(_e,O,ee,Ai,Ze),Ze=String.fromCharCode(55349,57324+vl),T(k,O,Ye,Ai,Ze),T(_e,O,ee,Ai,Ze),Ze=String.fromCharCode(55349,57334+vl),T(k,O,Ye,Ai,Ze),T(_e,O,ee,Ai,Ze)}var Gb="ÐÞþ";for(var bg=0;bg<Gb.length;bg++){var hh=Gb.charAt(bg);T(k,O,Ye,hh,hh),T(_e,O,ee,hh,hh)}var fh=[["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"]],B8=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],Lq=function(t,n){var r=t.charCodeAt(0),a=t.charCodeAt(1),i=(r-55296)*1024+(a-56320)+65536,o=n==="math"?0:1;if(119808<=i&&i<120484){var u=Math.floor((i-119808)/26);return[fh[u][2],fh[u][o]]}else if(120782<=i&&i<=120831){var c=Math.floor((i-120782)/10);return[B8[c][2],B8[c][o]]}else{if(i===120485||i===120486)return[fh[0][2],fh[0][o]];if(120486<i&&i<120782)return["",""];throw new Ce("Unsupported character: "+t)}},sm=function(t,n,r){return Ft[r][t]&&Ft[r][t].replace&&(t=Ft[r][t].replace),{value:t,metrics:Tx(t,n,r)}},wa=function(t,n,r,a,i){var o=sm(t,n,r),u=o.metrics;t=o.value;var c;if(u){var h=u.italic;(r==="text"||a&&a.font==="mathit")&&(h=0),c=new fa(t,u.height,u.depth,h,u.skew,u.width,i)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+t+"' in style '"+n+"' and mode '"+r+"'")),c=new fa(t,0,0,0,0,0,i);if(a){c.maxFontSize=a.sizeMultiplier,a.style.isTight()&&c.classes.push("mtight");var g=a.getColor();g&&(c.style.color=g)}return c},Iq=function(t,n,r,a){return a===void 0&&(a=[]),r.font==="boldsymbol"&&sm(t,"Main-Bold",n).metrics?wa(t,"Main-Bold",n,r,a.concat(["mathbf"])):t==="\\"||Ft[n][t].font==="main"?wa(t,"Main-Regular",n,r,a):wa(t,"AMS-Regular",n,r,a.concat(["amsrm"]))},Mq=function(t,n,r,a,i){return i!=="textord"&&sm(t,"Math-BoldItalic",n).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},Pq=function(t,n,r){var a=t.mode,i=t.text,o=["mord"],u=a==="math"||a==="text"&&n.font,c=u?n.font:n.fontFamily,h="",g="";if(i.charCodeAt(0)===55349&&([h,g]=Lq(i,a)),h.length>0)return wa(i,h,a,n,o.concat(g));if(c){var m,x;if(c==="boldsymbol"){var y=Mq(i,a,n,o,r);m=y.fontName,x=[y.fontClass]}else u?(m=lk[c].fontName,x=[c]):(m=mh(c,n.fontWeight,n.fontShape),x=[c,n.fontWeight,n.fontShape]);if(sm(i,m,a).metrics)return wa(i,m,a,n,o.concat(x));if(ak.hasOwnProperty(i)&&m.slice(0,10)==="Typewriter"){for(var E=[],_=0;_<i.length;_++)E.push(wa(i[_],m,a,n,o.concat(x)));return ik(E)}}if(r==="mathord")return wa(i,"Math-Italic",a,n,o.concat(["mathnormal"]));if(r==="textord"){var N=Ft[a][i]&&Ft[a][i].font;if(N==="ams"){var A=mh("amsrm",n.fontWeight,n.fontShape);return wa(i,A,a,n,o.concat("amsrm",n.fontWeight,n.fontShape))}else if(N==="main"||!N){var C=mh("textrm",n.fontWeight,n.fontShape);return wa(i,C,a,n,o.concat(n.fontWeight,n.fontShape))}else{var M=mh(N,n.fontWeight,n.fontShape);
vendor: 4,530 bytes, line 579
579return wa(i,M,a,n,o.concat(M,n.fontWeight,n.fontShape))}}else throw new Error("unexpected type: "+r+" in makeOrd")},jq=(e,t)=>{if(Gi(e.classes)!==Gi(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},Hq=e=>{for(var t=0;t<e.length-1;t++){var n=e[t],r=e[t+1];n instanceof fa&&r instanceof fa&&jq(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},kx=function(t){for(var n=0,r=0,a=0,i=0;i<t.children.length;i++){var o=t.children[i];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},_r=function(t,n,r,a){var i=new C0(t,n,r,a);return kx(i),i},sk=(e,t,n,r)=>new C0(e,t,n,r),Bq=function(t,n,r){var a=_r([t],[],n);return a.height=Math.max(r||n.fontMetrics().defaultRuleThickness,n.minRuleThickness),a.style.borderBottomWidth=Ie(a.height),a.maxFontSize=1,a},zq=function(t,n,r,a){var i=new _x(t,n,r,a);return kx(i),i},ik=function(t){var n=new N0(t);return kx(n),n},Uq=function(t,n){return t instanceof N0?_r([],[t],n):t},Fq=function(t){if(t.positionType==="individualShift"){for(var n=t.children,r=[n[0]],a=-n[0].shift-n[0].elem.depth,i=a,o=1;o<n.length;o++){var u=-n[o].shift-i-n[o].elem.depth,c=u-(n[o-1].elem.height+n[o-1].elem.depth);i=i+u,r.push({type:"kern",size:c}),r.push(n[o])}return{children:r,depth:a}}var h;if(t.positionType==="top"){for(var g=t.positionData,m=0;m<t.children.length;m++){var x=t.children[m];g-=x.type==="kern"?x.size:x.elem.height+x.elem.depth}h=g}else if(t.positionType==="bottom")h=-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")h=-y.elem.depth-t.positionData;else if(t.positionType==="firstBaseline")h=-y.elem.depth;else throw new Error("Invalid positionType "+t.positionType+".")}return{children:t.children,depth:h}},qq=function(t,n){for(var{children:r,depth:a}=Fq(t),i=0,o=0;o<r.length;o++){var u=r[o];if(u.type==="elem"){var c=u.elem;i=Math.max(i,c.maxFontSize,c.height)}}i+=2;var h=_r(["pstrut"],[]);h.style.height=Ie(i);for(var g=[],m=a,x=a,y=a,E=0;E<r.length;E++){var _=r[E];if(_.type==="kern")y+=_.size;else{var N=_.elem,A=_.wrapperClasses||[],C=_.wrapperStyle||{},M=_r(A,[h,N],void 0,C);M.style.top=Ie(-i-y-N.depth),_.marginLeft&&(M.style.marginLeft=_.marginLeft),_.marginRight&&(M.style.marginRight=_.marginRight),g.push(M),y+=N.height+N.depth}m=Math.min(m,y),x=Math.max(x,y)}var X=_r(["vlist"],g);X.style.height=Ie(x);var G;if(m<0){var P=_r([],[]),B=_r(["vlist"],[P]);B.style.height=Ie(-m);var Z=_r(["vlist-s"],[new fa("​")]);G=[_r(["vlist-r"],[X,Z]),_r(["vlist-r"],[B])]}else G=[_r(["vlist-r"],[X])];var V=_r(["vlist-t"],G);return G.length===2&&V.classes.push("vlist-t2"),V.height=x,V.depth=-m,V},Gq=(e,t)=>{var n=_r(["mspace"],[],t),r=Zt(e,t);return n.style.marginRight=Ie(r),n},mh=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 i;return n==="textbf"&&r==="textit"?i="BoldItalic":n==="textbf"?i="Bold":n==="textit"?i="Italic":i="Regular",a+"-"+i},lk={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"}},ok={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},$q=function(t,n){var[r,a,i]=ok[t],o=new $i(r),u=new $s([o],{width:Ie(a),height:Ie(i),style:"width:"+Ie(a),viewBox:"0 0 "+1e3*a+" "+1e3*i,preserveAspectRatio:"xMinYMin"}),c=sk(["overlay"],[u],n);return c.height=i,c.style.height=Ie(i),c.style.width=Ie(a),c}
vendor: 14,703 bytes, line 579
579,de={fontMap:lk,makeSymbol:wa,mathsym:Iq,makeSpan:_r,makeSvgSpan:sk,makeLineSpan:Bq,makeAnchor:zq,makeFragment:ik,wrapFragment:Uq,makeVList:qq,makeOrd:Pq,makeGlue:Gq,staticSvg:$q,svgData:ok,tryCombineChars:Hq},Kt={number:3,unit:"mu"},El={number:4,unit:"mu"},Rs={number:5,unit:"mu"},Vq={mord:{mop:Kt,mbin:El,mrel:Rs,minner:Kt},mop:{mord:Kt,mop:Kt,mrel:Rs,minner:Kt},mbin:{mord:El,mop:El,mopen:El,minner:El},mrel:{mord:Rs,mop:Rs,mopen:Rs,minner:Rs},mopen:{},mclose:{mop:Kt,mbin:El,mrel:Rs,minner:Kt},mpunct:{mord:Kt,mop:Kt,mrel:Rs,mopen:Kt,mclose:Kt,mpunct:Kt,minner:Kt},minner:{mord:Kt,mop:Kt,mbin:El,mrel:Rs,mopen:Kt,mpunct:Kt,minner:Kt}},Yq={mord:{mop:Kt},mop:{mord:Kt,mop:Kt},mbin:{},mrel:{},mopen:{},mclose:{mop:Kt},mpunct:{},minner:{mop:Kt}},uk={},sf={},lf={};function Pe(e){for(var{type:t,names:n,props:r,handler:a,htmlBuilder:i,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)uk[n[c]]=u;t&&(i&&(sf[t]=i),o&&(lf[t]=o))}function ql(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 of=function(t){return t.type==="ordgroup"&&t.body.length===1?t.body[0]:t},fn=function(t){return t.type==="ordgroup"?t.body:[t]},Vs=de.makeSpan,Qq=["leftmost","mbin","mopen","mrel","mop","mpunct"],Wq=["rightmost","mrel","mclose","mpunct"],Kq={display:Qe.DISPLAY,text:Qe.TEXT,script:Qe.SCRIPT,scriptscript:Qe.SCRIPTSCRIPT},Xq={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},An=function(t,n,r,a){a===void 0&&(a=[null,null]);for(var i=[],o=0;o<t.length;o++){var u=wt(t[o],n);if(u instanceof N0){var c=u.children;i.push(...c)}else i.push(u)}if(de.tryCombineChars(i),!r)return i;var h=n;if(t.length===1){var g=t[0];g.type==="sizing"?h=n.havingSize(g.size):g.type==="styling"&&(h=n.havingStyle(Kq[g.style]))}var m=Vs([a[0]||"leftmost"],[],n),x=Vs([a[1]||"rightmost"],[],n),y=r==="root";return z8(i,(E,_)=>{var N=_.classes[0],A=E.classes[0];N==="mbin"&&Wq.includes(A)?_.classes[0]="mord":A==="mbin"&&Qq.includes(N)&&(E.classes[0]="mord")},{node:m},x,y),z8(i,(E,_)=>{var N=$b(_),A=$b(E),C=N&&A?E.hasClass("mtight")?Yq[N][A]:Vq[N][A]:null;if(C)return de.makeGlue(C,h)},{node:m},x,y),i},z8=function e(t,n,r,a,i){a&&t.push(a);for(var o=0;o<t.length;o++){var u=t[o],c=ck(u);if(c){e(c.children,n,r,null,i);continue}var h=!u.hasClass("mspace");if(h){var g=n(u,r.node);g&&(r.insertAfter?r.insertAfter(g):(t.unshift(g),o++))}h?r.node=u:i&&u.hasClass("newline")&&(r.node=Vs(["leftmost"])),r.insertAfter=(m=>x=>{t.splice(m+1,0,x),o++})(o)}a&&t.pop()},ck=function(t){return t instanceof N0||t instanceof _x||t instanceof C0&&t.hasClass("enclosing")?t:null},Zq=function e(t,n){var r=ck(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},$b=function(t,n){return t?(n&&(t=Zq(t,n)),Xq[t.classes[0]]||null):null},o0=function(t,n){var r=["nulldelimiter"].concat(t.baseSizingClasses());return Vs(n.concat(r))},wt=function(t,n,r){if(!t)return Vs();if(sf[t.type]){var a=sf[t.type](t,n);if(r&&n.size!==r.size){a=Vs(n.sizingClasses(r),[a],n);var i=n.sizeMultiplier/r.sizeMultiplier;a.height*=i,a.depth*=i}return a}else throw new Ce("Got group of unknown type: '"+t.type+"'")};function ph(e,t){var n=Vs(["base"],e,t),r=Vs(["strut"]);return r.style.height=Ie(n.height+n.depth),n.depth&&(r.style.verticalAlign=Ie(-n.depth)),n.children.unshift(r),n}function Vb(e,t){var n=null;e.length===1&&e[0].type==="tag"&&(n=e[0].tag,e=e[0].body);var r=An(e,t,"root"),a;r.length===2&&r[1].hasClass("tag")&&(a=r.pop());for(var i=[],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||(i.push(ph(o,t)),o=[])}else r[u].hasClass("newline")&&(o.pop(),o.length>0&&(i.push(ph(o,t)),o=[]),i.push(r[u]));o.length>0&&i.push(ph(o,t));var h;n?(h=ph(An(n,t,!0)),h.classes=["tag"],i.push(h)):a&&i.push(a);var g=Vs(["katex-html"],i);if(g.setAttribute("aria-hidden","true"),h){var m=h.children[0];m.style.height=Ie(g.height+g.depth),g.depth&&(m.style.verticalAlign=Ie(-g.depth))}return g}function dk(e){return new N0(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=Gi(this.classes));for(var r=0;r<this.children.length;r++)if(this.children[r]instanceof ns&&this.children[r+1]instanceof ns){for(var a=this.children[r].toText()+this.children[++r].toText();this.children[r+1]instanceof ns;)a+=this.children[++r].toText();t.appendChild(new ns(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+=St.escape(this.attributes[n]),t+='"');this.classes.length>0&&(t+=' class ="'+St.escape(Gi(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 ns{constructor(t){this.text=void 0,this.text=t}toNode(){return document.createTextNode(this.text)}toMarkup(){return St.escape(this.toText())}toText(){return this.text}}class Jq{constructor(t){this.width=void 0,this.character=void 0,this.width=t,t>=.05555&&t<=.05556?this.character=" ":t>=.1666&&t<=.1667?this.character=" ":t>=.2222&&t<=.2223?this.character=" ":t>=.2777&&t<=.2778?this.character="  ":t>=-.05556&&t<=-.05555?this.character=" ⁣":t>=-.1667&&t<=-.1666?this.character=" ⁣":t>=-.2223&&t<=-.2222?this.character=" ⁣":t>=-.2778&&t<=-.2777?this.character=" ⁣":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var t=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return t.setAttribute("width",Ie(this.width)),t}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+Ie(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var Ne={MathNode:qr,TextNode:ns,SpaceNode:Jq,newDocumentFragment:dk},ma=function(t,n,r){return Ft[n][t]&&Ft[n][t].replace&&t.charCodeAt(0)!==55349&&!(ak.hasOwnProperty(t)&&r&&(r.fontFamily&&r.fontFamily.slice(4,6)==="tt"||r.font&&r.font.slice(4,6)==="tt"))&&(t=Ft[n][t].replace),new Ne.TextNode(t)},Sx=function(t){return t.length===1?t[0]:new Ne.MathNode("mrow",t)},Ax=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 i=t.text;if(["\\imath","\\jmath"].includes(i))return null;Ft[a][i]&&Ft[a][i].replace&&(i=Ft[a][i].replace);var o=de.fontMap[r].fontName;return Tx(i,o,a)?de.fontMap[r].variant:null};function xg(e){if(!e)return!1;if(e.type==="mi"&&e.children.length===1){var t=e.children[0];return t instanceof ns&&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 ns&&n.text===","}else return!1}var Cr=function(t,n,r){if(t.length===1){var a=Bt(t[0],n);return r&&a instanceof qr&&a.type==="mo"&&(a.setAttribute("lspace","0em"),a.setAttribute("rspace","0em")),[a]}for(var i=[],o,u=0;u<t.length;u++){var c=Bt(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(xg(c)&&o.type==="mn"){o.children.push(...c.children);continue}else if(c.type==="mn"&&xg(o))c.children=[...o.children,...c.children],i.pop();else if((c.type==="msup"||c.type==="msub")&&c.children.length>=1&&(o.type==="mn"||xg(o))){var h=c.children[0];h instanceof qr&&h.type==="mn"&&(h.children=[...o.children,...h.children],i.pop())}else if(o.type==="mi"&&o.children.length===1){var g=o.children[0];if(g instanceof ns&&g.text==="̸"&&(c.type==="mo"||c.type==="mi"||c.type==="mn")){var m=c.children[0];m instanceof ns&&m.text.length>0&&(m.text=m.text.slice(0,1)+"̸"+m.text.slice(1),i.pop())}}}i.push(c),o=c}return i},Vi=function(t,n,r){return Sx(Cr(t,n,r))},Bt=function(t,n){if(!t)return new Ne.MathNode("mrow");if(lf[t.type]){var r=lf[t.type](t,n);return r}else throw new Ce("Got group of unknown type: '"+t.type+"'")};function U8(e,t,n,r,a){var i=Cr(e,n),o;i.length===1&&i[0]instanceof qr&&["mrow","mtable"].includes(i[0].type)?o=i[0]:o=new Ne.MathNode("mrow",i);var u=new Ne.MathNode("annotation",[new Ne.TextNode(t)]);u.setAttribute("encoding","application/x-tex");var c=new Ne.MathNode("semantics",[o,u]),h=new Ne.MathNode("math",[c]);h.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),r&&h.setAttribute("display","block");var g=a?"katex":"katex-mathml";return de.makeSpan([g],[h])}var hk=function(t){return new Is({style:t.displayMode?Qe.DISPLAY:Qe.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},fk=function(t,n){if(n.displayMode){var r=["katex-display"];n.leqno&&r.push("leqno"),n.fleqn&&r.push("fleqn"),t=de.makeSpan(r,[t])}return t},eG=function(t,n,r){var a=hk(r),i;if(r.output==="mathml")return U8(t,n,a,r.displayMode,!0);if(r.output==="html"){var o=Vb(t,a);i=de.makeSpan(["katex"],[o])}else{var u=U8(t,n,a,r.displayMode,!1),c=Vb(t,a);i=de.makeSpan(["katex"],[u,c])}return fk(i,r)},tG=function(t,n,r){var a=hk(r),i=Vb(t,a),o=de.makeSpan(["katex"],[i]);return fk(o,r)},nG={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":"="},rG=function(t){var n=new Ne.MathNode("mo",[new Ne.TextNode(nG[t.replace(/^\\/,"")])]);return n.setAttribute("stretchy","true"),n},aG={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]},sG=function(t){return t.type==="ordgroup"?t.body.length:1},iG=function(t,n){function r(){var u=4e5,c=t.label.slice(1);if(["widehat","widecheck","widetilde","utilde"].includes(c)){var h=t,g=sG(h.base),m,x,y;if(g>5)c==="widehat"||c==="widecheck"?(m=420,u=2364,y=.42,x=c+"4"):(m=312,u=2340,y=.34,x="tilde4");else{var E=[1,1,2,2,3,3][g];c==="widehat"||c==="widecheck"?(u=[0,1062,2364,2364,2364][E],m=[0,239,300,360,420][E],y=[0,.24,.3,.3,.36,.42][E],x=c+E):(u=[0,600,
vendor: 16,527 bytes, lines 579-580
5791033,2339,2340][E],m=[0,260,286,306,312][E],y=[0,.26,.286,.3,.306,.34][E],x="tilde"+E)}var _=new $i(x),N=new $s([_],{width:"100%",height:Ie(y),viewBox:"0 0 "+u+" "+m,preserveAspectRatio:"none"});return{span:de.makeSvgSpan([],[N],n),minWidth:0,height:y}}else{var A=[],C=aG[c],[M,X,G]=C,P=G/1e3,B=M.length,Z,V;if(B===1){var U=C[3];Z=["hide-tail"],V=[U]}else if(B===2)Z=["halfarrow-left","halfarrow-right"],V=["xMinYMin","xMaxYMin"];else if(B===3)Z=["brace-left","brace-center","brace-right"],V=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
580                    `+B+" children.");for(var ae=0;ae<B;ae++){var te=new $i(M[ae]),he=new $s([te],{width:"400em",height:Ie(P),viewBox:"0 0 "+u+" "+G,preserveAspectRatio:V[ae]+" slice"}),le=de.makeSvgSpan([Z[ae]],[he],n);if(B===1)return{span:le,minWidth:X,height:P};le.style.height=Ie(P),A.push(le)}return{span:de.makeSpan(["stretchy"],A,n),minWidth:X,height:P}}}var{span:a,minWidth:i,height:o}=r();return a.height=o,a.style.height=Ie(o),i>0&&(a.style.minWidth=Ie(i)),a},lG=function(t,n,r,a,i){var o,u=t.height+t.depth+r+a;if(/fbox|color|angl/.test(n)){if(o=de.makeSpan(["stretchy",n],[],i),n==="fbox"){var c=i.color&&i.getColor();c&&(o.style.borderColor=c)}}else{var h=[];/^[bx]cancel$/.test(n)&&h.push(new qb({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(n)&&h.push(new qb({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var g=new $s(h,{width:"100%",height:Ie(u)});o=de.makeSvgSpan([],[g],i)}return o.height=u,o.style.height=Ie(u),o},Ys={encloseSpan:lG,mathMLnode:rG,svgSpan:iG};function ut(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 Nx(e){var t=im(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 im(e){return e&&(e.type==="atom"||Dq.hasOwnProperty(e.type))?e:null}var Cx=(e,t)=>{var n,r,a;e&&e.type==="supsub"?(r=ut(e.base,"accent"),n=r.base,e.base=n,a=Oq(wt(e,t)),e.base=r):(r=ut(e,"accent"),n=r.base);var i=wt(n,t.havingCrampedStyle()),o=r.isShifty&&St.isCharacterBox(n),u=0;if(o){var c=St.getBaseElem(n),h=wt(c,t.havingCrampedStyle());u=I8(h).skew}var g=r.label==="\\c",m=g?i.height+i.depth:Math.min(i.height,t.fontMetrics().xHeight),x;if(r.isStretchy)x=Ys.svgSpan(r,t),x=de.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"elem",elem:x,wrapperClasses:["svg-align"],wrapperStyle:u>0?{width:"calc(100% - "+Ie(2*u)+")",marginLeft:Ie(2*u)}:void 0}]},t);else{var y,E;r.label==="\\vec"?(y=de.staticSvg("vec",t),E=de.svgData.vec[1]):(y=de.makeOrd({mode:r.mode,text:r.label},t,"textord"),y=I8(y),y.italic=0,E=y.width,g&&(m+=y.depth)),x=de.makeSpan(["accent-body"],[y]);var _=r.label==="\\textcircled";_&&(x.classes.push("accent-full"),m=i.height);var N=u;_||(N-=E/2),x.style.left=Ie(N),r.label==="\\textcircled"&&(x.style.top=".2em"),x=de.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:-m},{type:"elem",elem:x}]},t)}var A=de.makeSpan(["mord","accent"],[x],t);return a?(a.children[0]=A,a.height=Math.max(A.height,a.height),a.classes[0]="mord",a):A},mk=(e,t)=>{var n=e.isStretchy?Ys.mathMLnode(e.label):new Ne.MathNode("mo",[ma(e.label,e.mode)]),r=new Ne.MathNode("mover",[Bt(e.base,t),n]);return r.setAttribute("accent","true"),r},oG=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=of(t[0]),r=!oG.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:Cx,mathmlBuilder:mk});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:Cx,mathmlBuilder:mk});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=wt(e.base,t),r=Ys.svgSpan(e,t),a=e.label==="\\utilde"?.12:0,i=de.makeVList({positionType:"top",positionData:n.height,children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:a},{type:"elem",elem:n}]},t);return de.makeSpan(["mord","accentunder"],[i],t)},mathmlBuilder:(e,t)=>{var n=Ys.mathMLnode(e.label),r=new Ne.MathNode("munder",[Bt(e.base,t),n]);return r.setAttribute("accentunder","true"),r}});var gh=e=>{var t=new Ne.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=de.wrapFragment(wt(e.body,r,t),t),i=e.label.slice(0,2)==="\\x"?"x":"cd";a.classes.push(i+"-arrow-pad");var o;e.below&&(r=t.havingStyle(n.sub()),o=de.wrapFragment(wt(e.below,r,t),t),o.classes.push(i+"-arrow-pad"));var u=Ys.svgSpan(e,t),c=-t.fontMetrics().axisHeight+.5*u.height,h=-t.fontMetrics().axisHeight-.5*u.height-.111;(a.depth>.25||e.label==="\\xleftequilibrium")&&(h-=a.depth);var g;if(o){var m=-t.fontMetrics().axisHeight+o.height+.5*u.height+.111;g=de.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:h},{type:"elem",elem:u,shift:c},{type:"elem",elem:o,shift:m}]},t)}else g=de.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:h},{type:"elem",elem:u,shift:c}]},t);return g.children[0].children[0].children[1].classes.push("svg-align"),de.makeSpan(["mrel","x-arrow"],[g],t)},mathmlBuilder(e,t){var n=Ys.mathMLnode(e.label);n.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var r;if(e.body){var a=gh(Bt(e.body,t));if(e.below){var i=gh(Bt(e.below,t));r=new Ne.MathNode("munderover",[n,i,a])}else r=new Ne.MathNode("mover",[n,a])}else if(e.below){var o=gh(Bt(e.below,t));r=new Ne.MathNode("munder",[n,o])}else r=gh(),r=new Ne.MathNode("mover",[n,r]);return r}});var uG=de.makeSpan;function pk(e,t){var n=An(e.body,t,!0);return uG([e.mclass],n,t)}function gk(e,t){var n,r=Cr(e.body,t);return e.mclass==="minner"?n=new Ne.MathNode("mpadded",r):e.mclass==="mord"?e.isCharacterBox?(n=r[0],n.type="mi"):n=new Ne.MathNode("mi",r):(e.isCharacterBox?(n=r[0],n.type="mo"):n=new Ne.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:fn(a),isCharacterBox:St.isCharacterBox(a)}},htmlBuilder:pk,mathmlBuilder:gk});var lm=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:lm(t[0]),body:fn(t[1]),isCharacterBox:St.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],i=t[0],o;r!=="\\stackrel"?o=lm(a):o="mrel";var u={type:"op",mode:a.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:r!=="\\stackrel",body:fn(a)},c={type:"supsub",mode:i.mode,base:u,sup:r==="\\underset"?null:i,sub:r==="\\underset"?i:null};return{type:"mclass",mode:n.mode,mclass:o,body:[c],isCharacterBox:St.isCharacterBox(c)}},htmlBuilder:pk,mathmlBuilder:gk});Pe({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:"pmb",mode:n.mode,mclass:lm(t[0]),body:fn(t[0])}},htmlBuilder(e,t){var n=An(e.body,t,!0),r=de.makeSpan([e.mclass],n,t);return r.style.textShadow="0.02em 0.01em 0.04px",r},mathmlBuilder(e,t){var n=Cr(e.body,t),r=new Ne.MathNode("mstyle",n);return r.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),r}});var cG={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},F8=()=>({type:"styling",body:[],mode:"math",style:"display"}),q8=e=>e.type==="textord"&&e.text==="@",dG=(e,t)=>(e.type==="mathord"||e.type==="atom")&&e.text===t;function hG(e,t,n){var r=cG[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]],[]),i={type:"atom",text:r,mode:"math",family:"rel"},o=n.callFunction("\\Big",[i],[]),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 h={type:"textord",text:"\\Vert",mode:"math"};return n.callFunction("\\Big",[h],[])}default:return{type:"textord",text:" ",mode:"math"}}}function fG(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var n=e.fetch().text;if(n==="&"||n==="\\\\")e.consume();else if(n==="\\end"){t[t.length-1].length===0&&t.pop();break}else throw new Ce("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var r=[],a=[r],i=0;i<t.length;i++){for(var o=t[i],u=F8(),c=0;c<o.length;c++)if(!q8(o[c]))u.body.push(o[c]);else{r.push(u),c+=1;var h=Nx(o[c]).text,g=new Array(2);if(g[0]={type:"ordgroup",mode:"math",body:[]},g[1]={type:"ordgroup",mode:"math",body:[]},!("=|.".indexOf(h)>-1))if("<>AV".indexOf(h)>-1)for(var m=0;m<2;m++){for(var x=!0,y=c+1;y<o.length;y++){if(dG(o[y],h)){x=!1,c=y;break}if(q8(o[y]))throw new Ce("Missing a "+h+" character to complete a CD arrow.",o[y]);g[m].body.push(o[y])}if(x)throw new Ce("Missing a "+h+" character to complete a CD arrow.",o[c])}else throw new Ce('Expected one of "<>AV=|." after @',o[c]);var E=hG(h,g,e),_={type:"styling",body:[E],mode:"math",style:"display"};r.push(_),u=F8()}i%2===0?r.push(u):r.shift(),r=[],a.push(r)}e.gullet.endGroup(),e.gullet.endGroup();var N=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:N,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=de.wrapFragment(wt(e.label,n,t),t);return r.classes.push("cd-label-"+e.side),r.style.bottom=Ie(.8-r.depth),r.height=0,r.depth=0,r},mathmlBuilder(e,t){var n=new Ne.MathNode("mrow",[Bt(e.label,t)]);return n=new Ne.MathNode("mpadded",[n]),n.setAttribute("width","0"),e.side==="left"&&n.setAttribute("lspace","-1width"),n.setAttribute("voffset","0.7em"),n=new Ne.MathNode("mstyle",[n]),n.setAttribute("displaystyle","false"),n.setAttribute("scriptlevel","1"),n}});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=de.wrapFragment(wt(e.fragment,t),t);return n.classes.push("cd-vert-arrow"),n},mathmlBuilder(e,t){return new Ne.MathNode("mrow",[Bt(e.fragment,t)])}});Pe({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:n}=e,r=ut(t[0],"ordgroup"),a=r.body,i="",o=0;o<a.length;o++){var u=ut(a[o],"textord");i+=u.text}var c=parseInt(i),h;if(isNaN(c))throw new Ce("\\@char has non-numeric argument "+i);if(c<0||c>=1114111)throw new Ce("\\@char with invalid code point "+i);return c<=65535?h=String.fromCharCode(c):(c-=65536,h=String.fromCharCode((c>>10)+55296,(c&1023)+56320)),{type:"textord",mode:n.mode,text:h}}});var bk=(e,t)=>{var n=An(e.body,t.withColor(e.color),!1);return de.makeFragment(n)},xk=(e,t)=>{var n=Cr(e.body,t.withColor(e.color)),r=new Ne.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=ut(t[0],"color-token").color,a=t[1];return{type:"color",mode:n.mode,color:r,body:fn(a)}},htmlBuilder:bk,mathmlBuilder:xk});Pe({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:n,breakOnTokenText:r}=e,a=ut(t[0],"color-token").color;n.gullet.macros.set("\\current@color",a);var i=n.parseExpression(!0,r);return{type:"color",mode:n.mode,color:a,body:i}},htmlBuilder:bk,mathmlBuilder:xk});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,i=!r.settings.displayMode||!r.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:r.mode,newLine:i,size:a&&ut(a,"size").value}},htmlBuilder(e,t){var n=de.makeSpan(["mspace"],[],t);return e.newLine&&(n.classes.push("newline"),e.size&&(n.style.marginTop=Ie(Zt(e.size,t)))),n},mathmlBuilder(e,t){var n=new Ne.MathNode("mspace");return e.newLine&&(n.setAttribute("linebreak","newline"),e.size&&n.setAttribute("height",Ie(Zt(e.size,t)))),n}});var Yb={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},yk=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new Ce("Expected a control sequence",e);return t},mG=e=>{var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},vk=(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(Yb[r.text])return(n==="\\global"||n==="\\\\globallong")&&(r.text=Yb[r.text]),ut(t.parseFunction(),"internal");throw new Ce("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 Ce("Expected a control sequence",r);for(var i=0,o,u=[[]];t.gullet.future().text!=="{";)if(r=t.gullet.popToken(),r.text==="#"){if(t.gullet.future().text==="{"){o=t.gullet.future(),u[i].push("{");break}if(r=t.gullet.popToken(),!/^[1-9]$/.test(r.text))throw new Ce('Invalid argument number "'+r.text
vendor: 10,565 bytes, line 580
580+'"');if(parseInt(r.text)!==i+1)throw new Ce('Argument number "'+r.text+'" out of order');i++,u.push([])}else{if(r.text==="EOF")throw new Ce("Expected a macro definition");u[i].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:i,delimiters:u},n===Yb[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=yk(t.gullet.popToken());t.gullet.consumeSpaces();var a=mG(t);return vk(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=yk(t.gullet.popToken()),a=t.gullet.popToken(),i=t.gullet.popToken();return vk(t,r,i,n==="\\\\globalfuture"),t.gullet.pushToken(i),t.gullet.pushToken(a),{type:"internal",mode:t.mode}}});var Cc=function(t,n,r){var a=Ft.math[t]&&Ft.math[t].replace,i=Tx(a||t,n,r);if(!i)throw new Error("Unsupported symbol "+t+" and font size "+n+".");return i},Ox=function(t,n,r,a){var i=r.havingBaseStyle(n),o=de.makeSpan(a.concat(i.sizingClasses(r)),[t],r),u=i.sizeMultiplier/r.sizeMultiplier;return o.height*=u,o.depth*=u,o.maxFontSize=i.sizeMultiplier,o},Ek=function(t,n,r){var a=n.havingBaseStyle(r),i=(1-n.sizeMultiplier/a.sizeMultiplier)*n.fontMetrics().axisHeight;t.classes.push("delimcenter"),t.style.top=Ie(i),t.height-=i,t.depth+=i},pG=function(t,n,r,a,i,o){var u=de.makeSymbol(t,"Main-Regular",i,a),c=Ox(u,n,a,o);return r&&Ek(c,a,n),c},gG=function(t,n,r,a){return de.makeSymbol(t,"Size"+n+"-Regular",r,a)},wk=function(t,n,r,a,i,o){var u=gG(t,n,i,a),c=Ox(de.makeSpan(["delimsizing","size"+n],[u],a),Qe.TEXT,a,o);return r&&Ek(c,a,Qe.TEXT),c},yg=function(t,n,r){var a;n==="Size1-Regular"?a="delim-size1":a="delim-size4";var i=de.makeSpan(["delimsizinginner",a],[de.makeSpan([],[de.makeSymbol(t,n,r)])]);return{type:"elem",elem:i}},vg=function(t,n,r){var a=ts["Size4-Regular"][t.charCodeAt(0)]?ts["Size4-Regular"][t.charCodeAt(0)][4]:ts["Size1-Regular"][t.charCodeAt(0)][4],i=new $i("inner",wq(t,Math.round(1e3*n))),o=new $s([i],{width:Ie(a),height:Ie(n),style:"width:"+Ie(a),viewBox:"0 0 "+1e3*a+" "+Math.round(1e3*n),preserveAspectRatio:"xMinYMin"}),u=de.makeSvgSpan([],[o],r);return u.height=n,u.style.height=Ie(n),u.style.width=Ie(a),{type:"elem",elem:u}},Qb=.008,bh={type:"kern",size:-1*Qb},bG=["|","\\lvert","\\rvert","\\vert"],xG=["\\|","\\lVert","\\rVert","\\Vert"],Tk=function(t,n,r,a,i,o){var u,c,h,g,m="",x=0;u=h=g=t,c=null;var y="Size1-Regular";t==="\\uparrow"?h=g="⏐":t==="\\Uparrow"?h=g="‖":t==="\\downarrow"?u=h="⏐":t==="\\Downarrow"?u=h="‖":t==="\\updownarrow"?(u="\\uparrow",h="⏐",g="\\downarrow"):t==="\\Updownarrow"?(u="\\Uparrow",h="‖",g="\\Downarrow"):bG.includes(t)?(h="∣",m="vert",x=333):xG.includes(t)?(h="∥",m="doublevert",x=556):t==="["||t==="\\lbrack"?(u="⎡",h="⎢",g="⎣",y="Size4-Regular",m="lbrack",x=667):t==="]"||t==="\\rbrack"?(u="⎤",h="⎥",g="⎦",y="Size4-Regular",m="rbrack",x=667):t==="\\lfloor"||t==="⌊"?(h=u="⎢",g="⎣",y="Size4-Regular",m="lfloor",x=667):t==="\\lceil"||t==="⌈"?(u="⎡",h=g="⎢",y="Size4-Regular",m="lceil",x=667):t==="\\rfloor"||t==="⌋"?(h=u="⎥",g="⎦",y="Size4-Regular",m="rfloor",x=667):t==="\\rceil"||t==="⌉"?(u="⎤",h=g="⎥",y="Size4-Regular",m="rceil",x=667):t==="("||t==="\\lparen"?(u="⎛",h="⎜",g="⎝",y="Size4-Regular",m="lparen",x=875):t===")"||t==="\\rparen"?(u="⎞",h="⎟",g="⎠",y="Size4-Regular",m="rparen",x=875):t==="\\{"||t==="\\lbrace"?(u="⎧",c="⎨",g="⎩",h="⎪",y="Size4-Regular"):t==="\\}"||t==="\\rbrace"?(u="⎫",c="⎬",g="⎭",h="⎪",y="Size4-Regular"):t==="\\lgroup"||t==="⟮"?(u="⎧",g="⎩",h="⎪",y="Size4-Regular"):t==="\\rgroup"||t==="⟯"?(u="⎫",g="⎭",h="⎪",y="Size4-Regular"):t==="\\lmoustache"||t==="⎰"?(u="⎧",g="⎭",h="⎪",y="Size4-Regular"):(t==="\\rmoustache"||t==="⎱")&&(u="⎫",g="⎩",h="⎪",y="Size4-Regular");var E=Cc(u,y,i),_=E.height+E.depth,N=Cc(h,y,i),A=N.height+N.depth,C=Cc(g,y,i),M=C.height+C.depth,X=0,G=1;if(c!==null){var P=Cc(c,y,i);X=P.height+P.depth,G=2}var B=_+M+X,Z=Math.max(0,Math.ceil((n-B)/(G*A))),V=B+Z*G*A,U=a.fontMetrics().axisHeight;r&&(U*=a.sizeMultiplier);var ae=V/2-U,te=[];if(m.length>0){var he=V-_-M,le=Math.round(V*1e3),me=Tq(m,Math.round(he*1e3)),$=new $i(m,me),re=(x/1e3).toFixed(3)+"em",ne=(le/1e3).toFixed(3)+"em",oe=new $s([$],{width:re,height:ne,viewBox:"0 0 "+x+" "+le}),j=de.makeSvgSpan([],[oe],a);j.height=le/1e3,j.style.width=re,j.style.height=ne,te.push({type:"elem",elem:j})}else{if(te.push(yg(g,y,i)),te.push(bh),c===null){var F=V-_-M+2*Qb;te.push(vg(h,F,a))}else{var ie=(V-_-M-X)/2+2*Qb;te.push(vg(h,ie,a)),te.push(bh),te.push(yg(c,y,i)),te.push(bh),te.push(vg(h,ie,a))}te.push(bh),te.push(yg(u,y,i))}var D=a.havingBaseStyle(Qe.TEXT),ge=de.makeVList({positionType:"bottom",positionData:ae,children:te},D);return Ox(de.makeSpan(["delimsizing","mult"],[ge],D),Qe.TEXT,a,o)},Eg=80,wg=.08,Tg=function(t,n,r,a,i){var o=Eq(t,a,r),u=new $i(t,o),c=new $s([u],{width:"400em",height:Ie(n),viewBox:"0 0 400000 "+r,preserveAspectRatio:"xMinYMin slice"});return de.makeSvgSpan(["hide-tail"],[c],i)},yG=function(t,n){var r=n.havingBaseSizing(),a=Ak("\\surd",t*r.sizeMultiplier,Sk,r),i=r.sizeMultiplier,o=Math.max(0,n.minRuleThickness-n.fontMetrics().sqrtRuleThickness),u,c=0,h=0,g=0,m;return a.type==="small"?(g=1e3+1e3*o+Eg,t<1?i=1:t<1.4&&(i=.7),c=(1+o+wg)/i,h=(1+o)/i,u=Tg("sqrtMain",c,g,o,n),u.style.minWidth="0.853em",m=.833/i):a.type==="large"?(g=(1e3+Eg)*zc[a.size],h=(zc[a.size]+o)/i,c=(zc[a.size]+o+wg)/i,u=Tg("sqrtSize"+a.size,c,g,o,n),u.style.minWidth="1.02em",m=1/i):(c=t+o+wg,h=t+o,g=Math.floor(1e3*t+o)+Eg,u=Tg("sqrtTall",c,g,o,n),u.style.minWidth="0.742em",m=1.056),u.height=h,u.style.height=Ie(c),{span:u,advanceWidth:m,ruleWidth:(n.fontMetrics().sqrtRuleThickness+o)*i}},_k=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],vG=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],kk=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],zc=[0,1.2,1.8,2.4,3],EG=function(t,n,r,a,i){if(t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle"),_k.includes(t)||kk.includes(t))return wk(t,n,!1,r,a,i);if(vG.includes(t))return Tk(t,zc[n],!1,r,a,i);throw new Ce("Illegal delimiter: '"+t+"'")},wG=[{type:"small",style:Qe.SCRIPTSCRIPT},{type:"small",style:Qe.SCRIPT},{type:"small",style:Qe.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],TG=[{type:"small",style:Qe.SCRIPTSCRIPT},{type:"small",style:Qe.SCRIPT},{type:"small",style:Qe.TEXT},{type:"stack"}],Sk=[{type:"small",style:Qe.SCRIPTSCRIPT},{type:"small",style:Qe.SCRIPT},{type:"small",style:Qe.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],_G=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.")},Ak=function(t,n,r,a){for(var i=Math.min(2,3-a.style.size),o=i;o<r.length&&r[o].type!=="stack";o++){var u=Cc(t,_G(r[o]),"math"),c=u.height+u.depth;if(r[o].type==="small"){var h=a.havingBaseStyle(r[o].style);c*=h.sizeMultiplier}if(c>n)return r[o]}return r[r.length-1]},Nk=function(t,n,r,a,i,o){t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle");var u;kk.includes(t)?u=wG:_k.includes(t)?u=Sk:u=TG;var c=Ak(t,n,u,a);return c.type==="small"?pG(t,c.style,r,a,i,o):c.type==="large"?wk(t,c.size,r,a,i,o):Tk(t,n,r,a,i,o)},kG=function(t,n,r,a,i,o){var u=a.fontMetrics().axisHeight*a.sizeMultiplier,c=901,h=5/a.fontMetrics().ptPerEm,g=Math.max(n-u,r+u),m=Math.max(g/500*c,2*g-h);return Nk(t,m,!0,a,i,o)},Us={sqrtImage:yG,sizedDelim:EG,sizeToMaxHeight:zc,customSizedDelim:Nk,leftRightDelim:kG},G8={"\\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}},SG=["(","\\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 om(e,t){var n=im(e);if(n&&SG.includes(n.text))return n;throw n?new Ce("Invalid delimiter '"+n.text+"' after '"+t.funcName+"'",e):new Ce("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=om(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:G8[e.funcName].size,mclass:G8[e.funcName].mclass,delim:n.text}},htmlBuilder:(e,t)=>e.delim==="."?de.makeSpan([e.mclass]):Us.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 Ne.MathNode("mo",t);e.mclass==="mopen"||e.mclass==="mclose"?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n.setAttribute("stretchy","true");var r=Ie(Us.sizeToMaxHeight[e.size]);return n.setAttribute("minsize",r),n.setAttribute("maxsize",r),n}});function $8(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: 14,124 bytes, line 580
580if(n&&typeof n!="string")throw new Ce("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:om(t[0],e).text,color:n}}});Pe({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=om(t[0],e),r=e.parser;++r.leftrightDepth;var a=r.parseExpression(!1);--r.leftrightDepth,r.expect("\\right",!1);var i=ut(r.parseFunction(),"leftright-right");return{type:"leftright",mode:r.mode,body:a,left:n.text,right:i.delim,rightColor:i.color}},htmlBuilder:(e,t)=>{$8(e);for(var n=An(e.body,t,!0,["mopen","mclose"]),r=0,a=0,i=!1,o=0;o<n.length;o++)n[o].isMiddle?i=!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=o0(t,["mopen"]):u=Us.leftRightDelim(e.left,r,a,t,e.mode,["mopen"]),n.unshift(u),i)for(var c=1;c<n.length;c++){var h=n[c],g=h.isMiddle;g&&(n[c]=Us.leftRightDelim(g.delim,r,a,g.options,e.mode,[]))}var m;if(e.right===".")m=o0(t,["mclose"]);else{var x=e.rightColor?t.withColor(e.rightColor):t;m=Us.leftRightDelim(e.right,r,a,x,e.mode,["mclose"])}return n.push(m),de.makeSpan(["minner"],n,t)},mathmlBuilder:(e,t)=>{$8(e);var n=Cr(e.body,t);if(e.left!=="."){var r=new Ne.MathNode("mo",[ma(e.left,e.mode)]);r.setAttribute("fence","true"),n.unshift(r)}if(e.right!=="."){var a=new Ne.MathNode("mo",[ma(e.right,e.mode)]);a.setAttribute("fence","true"),e.rightColor&&a.setAttribute("mathcolor",e.rightColor),n.push(a)}return Sx(n)}});Pe({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=om(t[0],e);if(!e.parser.leftrightDepth)throw new Ce("\\middle without preceding \\left",n);return{type:"middle",mode:e.parser.mode,delim:n.text}},htmlBuilder:(e,t)=>{var n;if(e.delim===".")n=o0(t,[]);else{n=Us.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 Ne.MathNode("mo",[n]);return r.setAttribute("fence","true"),r.setAttribute("lspace","0.05em"),r.setAttribute("rspace","0.05em"),r}});var Rx=(e,t)=>{var n=de.wrapFragment(wt(e.body,t),t),r=e.label.slice(1),a=t.sizeMultiplier,i,o=0,u=St.isCharacterBox(e.body);if(r==="sout")i=de.makeSpan(["stretchy","sout"]),i.height=t.fontMetrics().defaultRuleThickness/a,o=-.5*t.fontMetrics().xHeight;else if(r==="phase"){var c=Zt({number:.6,unit:"pt"},t),h=Zt({number:.35,unit:"ex"},t),g=t.havingBaseSizing();a=a/g.sizeMultiplier;var m=n.height+n.depth+c+h;n.style.paddingLeft=Ie(m/2+c);var x=Math.floor(1e3*m*a),y=yq(x),E=new $s([new $i("phase",y)],{width:"400em",height:Ie(x/1e3),viewBox:"0 0 400000 "+x,preserveAspectRatio:"xMinYMin slice"});i=de.makeSvgSpan(["hide-tail"],[E],t),i.style.height=Ie(m),o=n.depth+c+h}else{/cancel/.test(r)?u||n.classes.push("cancel-pad"):r==="angl"?n.classes.push("anglpad"):n.classes.push("boxpad");var _=0,N=0,A=0;/box/.test(r)?(A=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),_=t.fontMetrics().fboxsep+(r==="colorbox"?0:A),N=_):r==="angl"?(A=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),_=4*A,N=Math.max(0,.25-n.depth)):(_=u?.2:0,N=_),i=Ys.encloseSpan(n,r,_,N,t),/fbox|boxed|fcolorbox/.test(r)?(i.style.borderStyle="solid",i.style.borderWidth=Ie(A)):r==="angl"&&A!==.049&&(i.style.borderTopWidth=Ie(A),i.style.borderRightWidth=Ie(A)),o=n.depth+N,e.backgroundColor&&(i.style.backgroundColor=e.backgroundColor,e.borderColor&&(i.style.borderColor=e.borderColor))}var C;if(e.backgroundColor)C=de.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:o},{type:"elem",elem:n,shift:0}]},t);else{var M=/cancel|phase/.test(r)?["svg-align"]:[];C=de.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:0},{type:"elem",elem:i,shift:o,wrapperClasses:M}]},t)}return/cancel/.test(r)&&(C.height=n.height,C.depth=n.depth),/cancel/.test(r)&&!u?de.makeSpan(["mord","cancel-lap"],[C],t):de.makeSpan(["mord"],[C],t)},Dx=(e,t)=>{var n=0,r=new Ne.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Bt(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,i=ut(t[0],"color-token").color,o=t[1];return{type:"enclose",mode:r.mode,label:a,backgroundColor:i,body:o}},htmlBuilder:Rx,mathmlBuilder:Dx});Pe({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,n){var{parser:r,funcName:a}=e,i=ut(t[0],"color-token").color,o=ut(t[1],"color-token").color,u=t[2];return{type:"enclose",mode:r.mode,label:a,backgroundColor:o,borderColor:i,body:u}},htmlBuilder:Rx,mathmlBuilder:Dx});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:Rx,mathmlBuilder:Dx});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 Ck={};function os(e){for(var{type:t,names:n,props:r,handler:a,htmlBuilder:i,mathmlBuilder:o}=e,u={type:t,numArgs:r.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:a},c=0;c<n.length;++c)Ck[n[c]]=u;i&&(sf[t]=i),o&&(lf[t]=o)}var Ok={};function I(e,t){Ok[e]=t}function V8(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 um=e=>{var t=e.parser.settings;if(!t.displayMode)throw new Ce("{"+e.envName+"} can be used only in display mode.")};function Lx(e){if(e.indexOf("ed")===-1)return e.indexOf("*")===-1}function Zi(e,t,n){var{hskipBeforeAndAfter:r,addJot:a,cols:i,arraystretch:o,colSeparationType:u,autoTag:c,singleRow:h,emptySingleRow:g,maxNumCols:m,leqno:x}=t;if(e.gullet.beginGroup(),h||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 Ce("Invalid \\arraystretch: "+y)}e.gullet.beginGroup();var E=[],_=[E],N=[],A=[],C=c!=null?[]:void 0;function M(){c&&e.gullet.macros.set("\\@eqnsw","1",!0)}function X(){C&&(e.gullet.macros.get("\\df@tag")?(C.push(e.subparse([new Vr("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):C.push(!!c&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(M(),A.push(V8(e));;){var G=e.parseExpression(!1,h?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),G={type:"ordgroup",mode:e.mode,body:G},n&&(G={type:"styling",mode:e.mode,style:n,body:[G]}),E.push(G);var P=e.fetch().text;if(P==="&"){if(m&&E.length===m){if(h||u)throw new Ce("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(P==="\\end"){X(),E.length===1&&G.type==="styling"&&G.body[0].body.length===0&&(_.length>1||!g)&&_.pop(),A.length<_.length+1&&A.push([]);break}else if(P==="\\\\"){e.consume();var B=void 0;e.gullet.future().text!==" "&&(B=e.parseSizeGroup(!0)),N.push(B?B.value:null),X(),A.push(V8(e)),E=[],_.push(E),M()}else throw new Ce("Expected & or \\\\ or \\cr or \\end",e.nextToken)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:a,arraystretch:o,body:_,cols:i,rowGaps:N,hskipBeforeAndAfter:r,hLinesBeforeRow:A,colSeparationType:u,tags:C,leqno:x}}function Ix(e){return e.slice(0,1)==="d"?"display":"text"}var us=function(t,n){var r,a,i=t.body.length,o=t.hLinesBeforeRow,u=0,c=new Array(i),h=[],g=Math.max(n.fontMetrics().arrayRuleWidth,n.minRuleThickness),m=1/n.fontMetrics().ptPerEm,x=5*m;if(t.colSeparationType&&t.colSeparationType==="small"){var y=n.havingStyle(Qe.SCRIPT).sizeMultiplier;x=.2778*(y/n.sizeMultiplier)}var E=t.colSeparationType==="CD"?Zt({number:3,unit:"ex"},n):12*m,_=3*m,N=t.arraystretch*E,A=.7*N,C=.3*N,M=0;function X(Wr){for(var ln=0;ln<Wr.length;++ln)ln>0&&(M+=.25),h.push({pos:M,isDashed:Wr[ln]})}for(X(o[0]),r=0;r<t.body.length;++r){var G=t.body[r],P=A,B=C;u<G.length&&(u=G.length);var Z=new Array(G.length);for(a=0;a<G.length;++a){var V=wt(G[a],n);B<V.depth&&(B=V.depth),P<V.height&&(P=V.height),Z[a]=V}var U=t.rowGaps[r],ae=0;U&&(ae=Zt(U,n),ae>0&&(ae+=C,B<ae&&(B=ae),ae=0)),t.addJot&&(B+=_),Z.height=P,Z.depth=B,M+=P,Z.pos=M,M+=B+ae,c[r]=Z,X(o[r+1])}var te=M/2+n.fontMetrics().axisHeight,he=t.cols||[],le=[],me,$,re=[];if(t.tags&&t.tags.some(Wr=>Wr))for(r=0;r<i;++r){var ne=c[r],oe=ne.pos-te,j=t.tags[r],F=void 0;j===!0?F=de.makeSpan(["eqn-num"],[],n):j===!1?F=de.makeSpan([],[],n):F=de.makeSpan([],An(j,n,!0),n),F.depth=ne.depth,F.height=ne.height,re.push({type:"elem",elem:F,shift:oe})}for(a=0,$=0;a<u||$<he.length;++a,++$){for(var ie=he[$]||{},D=!0;ie.type==="separator";){if(D||(me=de.makeSpan(["arraycolsep"],[]),me.style.width=Ie(n.fontMetrics().doubleRuleSep),le.push(me)),ie.separator==="|"||ie.separator===":"){var ge=ie.separator==="|"?"solid":"dashed",Te=de.makeSpan(["vertical-separator"],[],n);Te.style.height=Ie(M),Te.style.borderRightWidth=Ie(g),Te.style.borderRightStyle=ge,Te.style.margin="0 "+Ie(-g/2);var De=M-te;De&&(Te.style.verticalAlign=Ie(-De)),le.push(Te)}else throw new Ce("Invalid separator type: "+ie.separator);$++,ie=he[$]||{},D=!1}if(!(a>=u)){var Me=void 0;(a>0||t.hskipBeforeAndAfter)&&(Me=St.deflt(ie.pregap,x),Me!==0&&(me=de.makeSpan(["arraycolsep"],[]),me.style.width=Ie(Me),le.push(me)));var ze=[];for(r=0;r<i;++r){var Xe=c[r],He=Xe[a];if(He){var Dt=Xe.pos-te;He.depth=Xe.depth,He.height=Xe.height,ze.push({type:"elem",elem:He,shift:Dt})}}ze=de.makeVList({positionType:"individualShift",children:ze},n),ze=de.makeSpan(["col-align-"+(ie.align||"c")],[ze]),le.push(ze),(a<u-1||t.hskipBeforeAndAfter)&&(Me=St.deflt(ie.postgap,x),Me!==0&&(me=de.makeSpan(["arraycolsep"],[]),me.style.width=Ie(Me),le.push(me)))}}if(c=de.makeSpan(["mtable"],le),h.length>0){for(var sn=de.makeLineSpan("hline",n,g),Or=de.makeLineSpan("hdashline",n,g),Pn=[{type:"elem",elem:c,shift:0}];h.length>0;){var ba=h.pop(),Qr=ba.pos-te;ba.isDashed?Pn.push({type:"elem",elem:Or,shift:Qr}):Pn.push({type:"elem",elem:sn,shift:Qr})}c=de.makeVList({positionType:"individualShift",children:Pn},n)}if(re.length===0)return de.makeSpan(["mord"],[c],n);var dr=de.makeVList({positionType:"individualShift",children:re},n);return dr=de.makeSpan(["tag"],[dr],n),de.makeFragment([c,dr])},AG={c:"center ",l:"left ",r:"right "},cs=function(t,n){for(var r=[],a=new Ne.MathNode("mtd",[],["mtr-glue"]),i=new Ne.MathNode("mtd",[],["mml-eqn-num"]),o=0;o<t.body.length;o++){for(var u=t.body[o],c=[],h=0;h<u.length;h++)c.push(new Ne.MathNode("mtd",[Bt(u[h],n)]));t.tags&&t.tags[o]&&(c.unshift(a),c.push(a),t.leqno?c.unshift(i):c.push(i)),r.push(new Ne.MathNode("mtr",c))}var g=new Ne.MathNode("mtable",r),m=t.arraystretch===.5?.1:.16+t.arraystretch-1+(t.addJot?.09:0);g.setAttribute("rowspacing",Ie(m));var x="",y="";if(t.cols&&t.cols.length>0){var E=t.cols,_="",N=!1,A=0,C=E.length;E[0].type==="separator"&&(x+="top ",A=1),E[E.length-1].type==="separator"&&(x+="bottom ",C-=1);for(var M=A;M<C;M++)E[M].type==="align"?(y+=AG[E[M].align],N&&(_+="none "),N=!0):E[M].type==="separator"&&N&&(_+=E[M].separator==="|"?"solid ":"dashed ",N=!1);g.setAttribute("columnalign",y.trim()),/[sd]/.test(_)&&g.setAttribute("columnlines",_.trim())}if(t.colSeparationType==="align"){for(var X=t.cols||[],G="",P=1;P<X.length;P++)G+=P%2?"0em ":"1em ";g.setAttribute("columnspacing",G.trim())}else t.colSeparationType==="alignat"||t.colSeparationType==="gather"?g.setAttribute("columnspacing","0em"):t.colSeparationType==="small"?g.setAttribute("columnspacing","0.2778em"):t.colSeparationType==="CD"?g.setAttribute("columnspacing","0.5em"):g.setAttribute("columnspacing","1em");var B="",Z=t.hLinesBeforeRow;x+=Z[0].length>0?"left ":"",x+=Z[Z.length-1].length>0?"right ":"";for(var V=1;V<Z.length-1;V++)B+=Z[V].length===0?"none ":Z[V][0]?"dashed ":"solid ";return/[sd]/.test(B)&&g.setAttribute("rowlines",B.trim()),x!==""&&(g=new Ne.MathNode("menclose",[g]),g.setAttribute("notation",x.trim())),t.arraystretch&&t.arraystretch<1&&(g=new Ne.MathNode("mstyle",[g]),g.setAttribute("scriptlevel","1")),g},Rk=function(t,n){t.envName.indexOf("ed")===-1&&um(t);var r=[],a=t.envName.indexOf("at")>-1?"alignat":"align",i=t.envName==="split",o=Zi(t.parser,{cols:r,addJot:!0,autoTag:i?void 0:Lx(t.envName),emptySingleRow:!0,colSeparationType:a,maxNumCols:i?2:void 0,leqno:t.parser.settings.leqno},"display"),u,c=0,h={type:"ordgroup",mode:t.mode,body:[]};if(n[0]&&n[0].type==="ordgroup"){for(var g="",m=0;m<n[0].body.length;m++){var x=ut(n[0].body[m],"textord");g+=x.text}u=Number(g),c=u*2}var y=!c;o.body.forEach(function(A){for(var C=1;C<A.length;C+=2){var M=ut(A[C],"styling"),X=ut(M.body[0],"ordgroup");X.body.unshift(h)}if(y)c<A.length&&(c=A.length);else{var G=A.length/2;if(u<G)throw new Ce("Too many math in a row: "+("expected "+u+", but got "+G),A[0])}});for(var E=0;E<c;
vendor: 4,522 bytes, line 580
580++E){var _="r",N=0;E%2===1?_="l":E>0&&y&&(N=1),r[E]={type:"align",align:_,pregap:N,postgap:0}}return o.colSeparationType=y?"align":"alignat",o};os({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var n=im(t[0]),r=n?[t[0]]:ut(t[0],"ordgroup").body,a=r.map(function(o){var u=Nx(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 Ce("Unknown column alignment: "+c,o)}),i={cols:a,hskipBeforeAndAfter:!0,maxNumCols:a.length};return Zi(e.parser,i,Ix(e.envName))},htmlBuilder:us,mathmlBuilder:cs});os({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 Ce("Expected l or c or r",a.nextToken);a.consume(),a.consumeSpaces(),a.expect("]"),a.consume(),r.cols=[{type:"align",align:n}]}}var i=Zi(e.parser,r,Ix(e.envName)),o=Math.max(0,...i.body.map(u=>u.length));return i.cols=new Array(o).fill({type:"align",align:n}),t?{type:"leftright",mode:e.mode,body:[i],left:t[0],right:t[1],rightColor:void 0}:i},htmlBuilder:us,mathmlBuilder:cs});os({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t={arraystretch:.5},n=Zi(e.parser,t,"script");return n.colSeparationType="small",n},htmlBuilder:us,mathmlBuilder:cs});os({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var n=im(t[0]),r=n?[t[0]]:ut(t[0],"ordgroup").body,a=r.map(function(o){var u=Nx(o),c=u.text;if("lc".indexOf(c)!==-1)return{type:"align",align:c};throw new Ce("Unknown column alignment: "+c,o)});if(a.length>1)throw new Ce("{subarray} can contain only one column");var i={cols:a,hskipBeforeAndAfter:!1,arraystretch:.5};if(i=Zi(e.parser,i,"script"),i.body.length>0&&i.body[0].length>1)throw new Ce("{subarray} can contain only one column");return i},htmlBuilder:us,mathmlBuilder:cs});os({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=Zi(e.parser,t,Ix(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:us,mathmlBuilder:cs});os({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:Rk,htmlBuilder:us,mathmlBuilder:cs});os({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){["gather","gather*"].includes(e.envName)&&um(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Lx(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return Zi(e.parser,t,"display")},htmlBuilder:us,mathmlBuilder:cs});os({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:Rk,htmlBuilder:us,mathmlBuilder:cs});os({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){um(e);var t={autoTag:Lx(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return Zi(e.parser,t,"display")},htmlBuilder:us,mathmlBuilder:cs});os({type:"array",names:["CD"],props:{numArgs:0},handler(e){return um(e),fG(e.parser)},htmlBuilder:us,mathmlBuilder:cs});I("\\nonumber","\\gdef\\@eqnsw{0}");I("\\notag","\\nonumber");Pe({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new Ce(e.funcName+" valid only within array environment")}});var Y8=Ck;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 Ce("Invalid environment name",a);for(var i="",o=0;o<a.body.length;++o)i+=ut(a.body[o],"textord").text;if(r==="\\begin"){if(!Y8.hasOwnProperty(i))throw new Ce("No such environment: "+i,a);var u=Y8[i],{args:c,optArgs:h}=n.parseArguments("\\begin{"+i+"}",u),g={mode:n.mode,envName:i,parser:n},m=u.handler(g,c,h);n.expect("\\end",!1);var x=n.nextToken,y=ut(n.parseFunction(),"environment");
vendor: 17,052 bytes, line 580
580if(y.name!==i)throw new Ce("Mismatch: \\begin{"+i+"} matched by \\end{"+y.name+"}",x);return m}return{type:"environment",mode:n.mode,name:i,nameGroup:a}}});var Dk=(e,t)=>{var n=e.font,r=t.withFont(n);return wt(e.body,r)},Lk=(e,t)=>{var n=e.font,r=t.withFont(n);return Bt(e.body,r)},Q8={"\\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=of(t[0]),i=r;return i in Q8&&(i=Q8[i]),{type:"font",mode:n.mode,font:i.slice(1),body:a}},htmlBuilder:Dk,mathmlBuilder:Lk});Pe({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:n}=e,r=t[0],a=St.isCharacterBox(r);return{type:"mclass",mode:n.mode,mclass:lm(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:i}=n,o=n.parseExpression(!0,a),u="math"+r.slice(1);return{type:"font",mode:i,font:u,body:{type:"ordgroup",mode:n.mode,body:o}}},htmlBuilder:Dk,mathmlBuilder:Lk});var Ik=(e,t)=>{var n=t;return e==="display"?n=n.id>=Qe.SCRIPT.id?n.text():Qe.DISPLAY:e==="text"&&n.size===Qe.DISPLAY.size?n=Qe.TEXT:e==="script"?n=Qe.SCRIPT:e==="scriptscript"&&(n=Qe.SCRIPTSCRIPT),n},Mx=(e,t)=>{var n=Ik(e.size,t.style),r=n.fracNum(),a=n.fracDen(),i;i=t.havingStyle(r);var o=wt(e.numer,i,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}i=t.havingStyle(a);var h=wt(e.denom,i,t),g,m,x;e.hasBarLine?(e.barSize?(m=Zt(e.barSize,t),g=de.makeLineSpan("frac-line",t,m)):g=de.makeLineSpan("frac-line",t),m=g.height,x=g.height):(g=null,m=0,x=t.fontMetrics().defaultRuleThickness);var y,E,_;n.size===Qe.DISPLAY.size||e.size==="display"?(y=t.fontMetrics().num1,m>0?E=3*x:E=7*x,_=t.fontMetrics().denom1):(m>0?(y=t.fontMetrics().num2,E=x):(y=t.fontMetrics().num3,E=3*x),_=t.fontMetrics().denom2);var N;if(g){var C=t.fontMetrics().axisHeight;y-o.depth-(C+.5*m)<E&&(y+=E-(y-o.depth-(C+.5*m))),C-.5*m-(h.height-_)<E&&(_+=E-(C-.5*m-(h.height-_)));var M=-(C-.5*m);N=de.makeVList({positionType:"individualShift",children:[{type:"elem",elem:h,shift:_},{type:"elem",elem:g,shift:M},{type:"elem",elem:o,shift:-y}]},t)}else{var A=y-o.depth-(h.height-_);A<E&&(y+=.5*(E-A),_+=.5*(E-A)),N=de.makeVList({positionType:"individualShift",children:[{type:"elem",elem:h,shift:_},{type:"elem",elem:o,shift:-y}]},t)}i=t.havingStyle(n),N.height*=i.sizeMultiplier/t.sizeMultiplier,N.depth*=i.sizeMultiplier/t.sizeMultiplier;var X;n.size===Qe.DISPLAY.size?X=t.fontMetrics().delim1:n.size===Qe.SCRIPTSCRIPT.size?X=t.havingStyle(Qe.SCRIPT).fontMetrics().delim2:X=t.fontMetrics().delim2;var G,P;return e.leftDelim==null?G=o0(t,["mopen"]):G=Us.customSizedDelim(e.leftDelim,X,!0,t.havingStyle(n),e.mode,["mopen"]),e.continued?P=de.makeSpan([]):e.rightDelim==null?P=o0(t,["mclose"]):P=Us.customSizedDelim(e.rightDelim,X,!0,t.havingStyle(n),e.mode,["mclose"]),de.makeSpan(["mord"].concat(i.sizingClasses(t)),[G,de.makeSpan(["mfrac"],[N]),P],t)},Px=(e,t)=>{var n=new Ne.MathNode("mfrac",[Bt(e.numer,t),Bt(e.denom,t)]);if(!e.hasBarLine)n.setAttribute("linethickness","0px");else if(e.barSize){var r=Zt(e.barSize,t);n.setAttribute("linethickness",Ie(r))}var a=Ik(e.size,t.style);if(a.size!==t.style.size){n=new Ne.MathNode("mstyle",[n]);var i=a.size===Qe.DISPLAY.size?"true":"false";n.setAttribute("displaystyle",i),n.setAttribute("scriptlevel","0")}if(e.leftDelim!=null||e.rightDelim!=null){var o=[];if(e.leftDelim!=null){var u=new Ne.MathNode("mo",[new Ne.TextNode(e.leftDelim.replace("\\",""))]);u.setAttribute("fence","true"),o.push(u)}if(o.push(n),e.rightDelim!=null){var c=new Ne.MathNode("mo",[new Ne.TextNode(e.rightDelim.replace("\\",""))]);c.setAttribute("fence","true"),o.push(c)}return Sx(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],i=t[1],o,u=null,c=null,h="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":h="display";break;case"\\tfrac":case"\\tbinom":h="text";break}return{type:"genfrac",mode:n.mode,continued:!1,numer:a,denom:i,hasBarLine:o,leftDelim:u,rightDelim:c,size:h,barSize:null}},htmlBuilder:Mx,mathmlBuilder:Px});Pe({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{var{parser:n,funcName:r}=e,a=t[0],i=t[1];return{type:"genfrac",mode:n.mode,continued:!0,numer:a,denom:i,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 W8=["display","text","script","scriptscript"],K8=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],i=of(t[0]),o=i.type==="atom"&&i.family==="open"?K8(i.text):null,u=of(t[1]),c=u.type==="atom"&&u.family==="close"?K8(u.text):null,h=ut(t[2],"size"),g,m=null;h.isBlank?g=!0:(m=h.value,g=m.number>0);var x="auto",y=t[3];if(y.type==="ordgroup"){if(y.body.length>0){var E=ut(y.body[0],"textord");x=W8[Number(E.text)]}}else y=ut(y,"textord"),x=W8[Number(y.text)];return{type:"genfrac",mode:n.mode,numer:r,denom:a,continued:!1,hasBarLine:g,barSize:m,leftDelim:o,rightDelim:c,size:x}},htmlBuilder:Mx,mathmlBuilder:Px});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:ut(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],i=aq(ut(t[1],"infix").size),o=t[2],u=i.number>0;return{type:"genfrac",mode:n.mode,numer:a,denom:o,continued:!1,hasBarLine:u,barSize:i,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Mx,mathmlBuilder:Px});var Mk=(e,t)=>{var n=t.style,r,a;e.type==="supsub"?(r=e.sup?wt(e.sup,t.havingStyle(n.sup()),t):wt(e.sub,t.havingStyle(n.sub()),t),a=ut(e.base,"horizBrace")):a=ut(e,"horizBrace");var i=wt(a.base,t.havingBaseStyle(Qe.DISPLAY)),o=Ys.svgSpan(a,t),u;if(a.isOver?(u=de.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:.1},{type:"elem",elem:o}]},t),u.children[0].children[0].children[1].classes.push("svg-align")):(u=de.makeVList({positionType:"bottom",positionData:i.depth+.1+o.height,children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:i}]},t),u.children[0].children[0].children[0].classes.push("svg-align")),r){var c=de.makeSpan(["mord",a.isOver?"mover":"munder"],[u],t);a.isOver?u=de.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:c},{type:"kern",size:.2},{type:"elem",elem:r}]},t):u=de.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 de.makeSpan(["mord",a.isOver?"mover":"munder"],[u],t)},NG=(e,t)=>{var n=Ys.mathMLnode(e.label);return new Ne.MathNode(e.isOver?"mover":"munder",[Bt(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:Mk,mathmlBuilder:NG});Pe({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[1],a=ut(t[0],"url").url;return n.settings.isTrusted({command:"\\href",url:a})?{type:"href",mode:n.mode,href:a,body:fn(r)}:n.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var n=An(e.body,t,!1);return de.makeAnchor(e.href,[],n,t)},mathmlBuilder:(e,t)=>{var n=Vi(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=ut(t[0],"url").url;if(!n.settings.isTrusted({command:"\\url",url:r}))return n.formatUnsupportedCmd("\\url");for(var a=[],i=0;i<r.length;i++){var o=r[i];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:fn(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:fn(t[0])}},htmlBuilder(e,t){var n=An(e.body,t,!1);return de.makeFragment(n)},mathmlBuilder(e,t){return new Ne.MathNode("mrow",Cr(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,i=ut(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=i,u={command:"\\htmlClass",class:i};break;case"\\htmlId":c.id=i,u={command:"\\htmlId",id:i};break;case"\\htmlStyle":c.style=i,u={command:"\\htmlStyle",style:i};break;case"\\htmlData":{for(var h=i.split(","),g=0;g<h.length;g++){var m=h[g].split("=");if(m.length!==2)throw new Ce("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:fn(o)}:n.formatUnsupportedCmd(r)},htmlBuilder:(e,t)=>{var n=An(e.body,t,!1),r=["enclosing"];e.attributes.class&&r.push(...e.attributes.class.trim().split(/\s+/));var a=de.makeSpan(r,n,t);for(var i in e.attributes)i!=="class"&&e.attributes.hasOwnProperty(i)&&a.setAttribute(i,e.attributes[i]);return a},mathmlBuilder:(e,t)=>Vi(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:fn(t[0]),mathml:fn(t[1])}},htmlBuilder:(e,t)=>{var n=An(e.html,t,!1);return de.makeFragment(n)},mathmlBuilder:(e,t)=>Vi(e.mathml,t)});var _g=function(t){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(t))return{number:+t,unit:"bp"};var n=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t);if(!n)throw new Ce("Invalid size: '"+t+"' in \\includegraphics");var r={number:+(n[1]+n[2]),unit:n[3]};if(!ek(r))throw new Ce("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"},i={number:.9,unit:"em"},o={number:0,unit:"em"},u="";if(n[0])for(var c=ut(n[0],"raw").string,h=c.split(","),g=0;g<h.length;g++){var m=h[g].split("=");if(m.length===2){var x=m[1].trim();switch(m[0].trim()){case"alt":u=x;break;case"width":a=_g(x);break;case"height":i=_g(x);break;case"totalheight":o=_g(x);break;default:throw new Ce("Invalid key: '"+m[0]+"' in \\includegraphics.")}}}var y=ut(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:i,totalheight:o,src:y}:r.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{var n=Zt(e.height,t),r=0;e.totalheight.number>0&&(r=Zt(e.totalheight,t)-n);var a=0;e.width.number>0&&(a=Zt(e.width,t));var i={height:Ie(n+r)};a>0&&(i.width=Ie(a)),r>0&&(i.verticalAlign=Ie(-r));var o=new Nq(e.src,e.alt,i);return o.height=n,o.depth=r,o},mathmlBuilder:(e,t)=>{var n=new Ne.MathNode("mglyph",[]);n.setAttribute("alt",e.alt);var r=Zt(e.height,t),a=0;if(e.totalheight.number>0&&(a=Zt(e.totalheight,t)-r,n.setAttribute("valign",Ie(-a))),n.setAttribute("height",Ie(r+a)),e.width.number>0){var i=Zt(e.width,t);n.setAttribute("width",Ie(i))}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=ut(t[0],"size");if(n.settings.strict){var i=r[1]==="m",o=a.value.unit==="mu";i?(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 de.makeGlue(e.dimension,t)},mathmlBuilder(e,t){var n=Zt(e.dimension,t);return new Ne.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=de.makeSpan([],[wt(e.body,t)]),n=de.makeSpan(["inner"],[n],t)):n=de.makeSpan(["inner"],[wt(e.body,t)]);var r=de.makeSpan(["fix"],[]),a=de.makeSpan([e.alignment],[n,r],t),i=de.makeSpan(["strut"]);return i.style.height=Ie(a.height+a.depth),a.depth&&(i.style.verticalAlign=Ie(-a.depth)),a.children.unshift(i),a=de.makeSpan(["thinbox"],[a],t),de.makeSpan(["mord","vbox"],[a],t)},mathmlBuilder:(e,t)=>{var n=new Ne.MathNode("mpadded",[Bt(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 i=n==="\\("?"\\)":"$",o=r.parseExpression(!1,i);return r.expect(i),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 Ce("Mismatched "+e.funcName)}});var X8=(e,t)=>{switch(t.style.size){case Qe.DISPLAY.size:return e.display;case Qe.TEXT.size:return e.text;case Qe.SCRIPT.size:return e.script;case Qe.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:fn(t[0]),text:fn(t[1]),script:fn(t[2]),scriptscript:fn(t[3])}},htmlBuilder:(e,t)=>{var n=X8(e,t),r=An(n,t,!1);return de.makeFragment(r)},mathmlBuilder:(e,t)=>{var n=X8(e,t);return Vi(n,t)}});var Pk=(e,t,n,r,a,i,o)=>{e=de.makeSpan([],[e]);var u=n&&St.isCharacterBox(n),c,h;if(t){var g=wt(t,r.havingStyle(a.sup()),r);h={elem:g,kern:Math.max(r.fontMetrics().bigOpSpacing1,r.fontMetrics().bigOpSpacing3-g.depth)}}if(n){var m=wt(n,r.havingStyle(a.sub()),r);c={elem:m,kern:Math.max(r.fontMetrics().bigOpSpacing2,r.fontMetrics().bigOpSpacing4-m.height)}}var x;if(h&&c){var y=r.fontMetrics().bigOpSpacing5+c.elem.height+c.elem.depth+c.kern+e.depth+o;x=de.makeVList({positionType:"bottom",positionData:y,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:c.elem,marginLeft:Ie(-i)},{type:"kern",size:c.kern},{type:"elem",elem:e},{type:"kern",size:h.kern},{type:"elem",elem:h.elem,marginLeft:Ie(i)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else if(c){var E=e.height-o;x=de.makeVList({positionType:"top",positionData:E,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:c.elem,marginLeft:Ie(-i)},{type:"kern",size:c.kern},{type:"elem",elem:e}]},r)}else if(h){var _=e.depth+o;x=de.makeVList({positionType:"bottom",positionData:_,children:[{type:"elem",elem:e},{type:"kern",size:h.kern},{type:"elem",elem:h.elem,marginLeft:Ie(i)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else return e;var N=[x];if(c&&i!==0&&!u){var A=de.makeSpan(["mspace"],[],r);A.style.marginRight=Ie(i),N.unshift(A)}return de.makeSpan(["mop","op-limits"],N,r)},jk=["\\smallint"],bu=(e,t)=>
vendor: 5,525 bytes, line 580
580{var n,r,a=!1,i;e.type==="supsub"?(n=e.sup,r=e.sub,i=ut(e.base,"op"),a=!0):i=ut(e,"op");var o=t.style,u=!1;o.size===Qe.DISPLAY.size&&i.symbol&&!jk.includes(i.name)&&(u=!0);var c;if(i.symbol){var h=u?"Size2-Regular":"Size1-Regular",g="";if((i.name==="\\oiint"||i.name==="\\oiiint")&&(g=i.name.slice(1),i.name=g==="oiint"?"\\iint":"\\iiint"),c=de.makeSymbol(i.name,h,"math",t,["mop","op-symbol",u?"large-op":"small-op"]),g.length>0){var m=c.italic,x=de.staticSvg(g+"Size"+(u?"2":"1"),t);c=de.makeVList({positionType:"individualShift",children:[{type:"elem",elem:c,shift:0},{type:"elem",elem:x,shift:u?.08:0}]},t),i.name="\\"+g,c.classes.unshift("mop"),c.italic=m}}else if(i.body){var y=An(i.body,t,!0);y.length===1&&y[0]instanceof fa?(c=y[0],c.classes[0]="mop"):c=de.makeSpan(["mop"],y,t)}else{for(var E=[],_=1;_<i.name.length;_++)E.push(de.mathsym(i.name[_],i.mode,t));c=de.makeSpan(["mop"],E,t)}var N=0,A=0;return(c instanceof fa||i.name==="\\oiint"||i.name==="\\oiiint")&&!i.suppressBaseShift&&(N=(c.height-c.depth)/2-t.fontMetrics().axisHeight,A=c.italic),a?Pk(c,n,r,t,o,A,N):(N&&(c.style.position="relative",c.style.top=Ie(N)),c)},O0=(e,t)=>{var n;if(e.symbol)n=new qr("mo",[ma(e.name,e.mode)]),jk.includes(e.name)&&n.setAttribute("largeop","false");else if(e.body)n=new qr("mo",Cr(e.body,t));else{n=new qr("mi",[new ns(e.name.slice(1))]);var r=new qr("mo",[ma("⁡","text")]);e.parentIsSupSub?n=new qr("mrow",[n,r]):n=dk([n,r])}return n},CG={"∏":"\\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=CG[a]),{type:"op",mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:a}},htmlBuilder:bu,mathmlBuilder:O0});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:fn(r)}},htmlBuilder:bu,mathmlBuilder:O0});var OG={"∫":"\\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:bu,mathmlBuilder:O0});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:bu,mathmlBuilder:O0});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=OG[r]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:bu,mathmlBuilder:O0});var Hk=(e,t)=>{var n,r,a=!1,i;e.type==="supsub"?(n=e.sup,r=e.sub,i=ut(e.base,"operatorname"),a=!0):i=ut(e,"operatorname");var o;if(i.body.length>0){for(var u=i.body.map(m=>{var x=m.text;return typeof x=="string"?{type:"textord",mode:m.mode,text:x}:m}),c=An(u,t.withFont("mathrm"),!0),h=0;h<c.length;h++){var g=c[h];g instanceof fa&&(g.text=g.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}o=de.makeSpan(["mop"],c,t)}else o=de.makeSpan(["mop"],[],t);return a?Pk(o,n,r,t,t.style,0,0):o},RG=(e,t)=>{for(var n=Cr(e.body,t.withFont("mathrm")),r=!0,a=0;a<n.length;a++){var i=n[a];if(!(i instanceof Ne.SpaceNode))if(i instanceof Ne.MathNode)switch(i.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var o=i.children[0];i.children.length===1&&o instanceof Ne.TextNode?o.text=o.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):r=!1;break}default:r=!1}else r=!1}if(r){var u=n.map(g=>g.toText()).join("");n=[new Ne.TextNode(u)]}var c=new Ne.MathNode("mi",n);c.setAttribute("mathvariant","normal");var h=new Ne.MathNode("mo",[ma("⁡","text")]);return e.parentIsSupSub?new Ne.MathNode("mrow",[c,h]):Ne.newDocumentFragment([c,h])};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:fn(a),alwaysHandleSupSub:r==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:Hk,mathmlBuilder:RG});I("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");ql({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?de.makeFragment(An(e.body,t,!1)):de.makeSpan(["mord"],An(e.body,t,!0),t)},mathmlBuilder(e,t){return Vi(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=wt(e.body,t.havingCrampedStyle()),r=de.makeLineSpan("overline-line",t),a=t.fontMetrics().defaultRuleThickness,i=de.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n},{type:"kern",size:3*a}
vendor: 10,383 bytes, line 580
580,{type:"elem",elem:r},{type:"kern",size:a}]},t);return de.makeSpan(["mord","overline"],[i],t)},mathmlBuilder(e,t){var n=new Ne.MathNode("mo",[new Ne.TextNode("‾")]);n.setAttribute("stretchy","true");var r=new Ne.MathNode("mover",[Bt(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:fn(r)}},htmlBuilder:(e,t)=>{var n=An(e.body,t.withPhantom(),!1);return de.makeFragment(n)},mathmlBuilder:(e,t)=>{var n=Cr(e.body,t);return new Ne.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=de.makeSpan([],[wt(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=de.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},t),de.makeSpan(["mord"],[n],t)},mathmlBuilder:(e,t)=>{var n=Cr(fn(e.body),t),r=new Ne.MathNode("mphantom",n),a=new Ne.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=de.makeSpan(["inner"],[wt(e.body,t.withPhantom())]),r=de.makeSpan(["fix"],[]);return de.makeSpan(["mord","rlap"],[n,r],t)},mathmlBuilder:(e,t)=>{var n=Cr(fn(e.body),t),r=new Ne.MathNode("mphantom",n),a=new Ne.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=ut(t[0],"size").value,a=t[1];return{type:"raisebox",mode:n.mode,dy:r,body:a}},htmlBuilder(e,t){var n=wt(e.body,t),r=Zt(e.dy,t);return de.makeVList({positionType:"shift",positionData:-r,children:[{type:"elem",elem:n}]},t)},mathmlBuilder(e,t){var n=new Ne.MathNode("mpadded",[Bt(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],i=ut(t[0],"size"),o=ut(t[1],"size");return{type:"rule",mode:r.mode,shift:a&&ut(a,"size").value,width:i.value,height:o.value}},htmlBuilder(e,t){var n=de.makeSpan(["mord","rule"],[],t),r=Zt(e.width,t),a=Zt(e.height,t),i=e.shift?Zt(e.shift,t):0;return n.style.borderRightWidth=Ie(r),n.style.borderTopWidth=Ie(a),n.style.bottom=Ie(i),n.width=r,n.height=a+i,n.depth=-i,n.maxFontSize=a*1.125*t.sizeMultiplier,n},mathmlBuilder(e,t){var n=Zt(e.width,t),r=Zt(e.height,t),a=e.shift?Zt(e.shift,t):0,i=t.color&&t.getColor()||"black",o=new Ne.MathNode("mspace");o.setAttribute("mathbackground",i),o.setAttribute("width",Ie(n)),o.setAttribute("height",Ie(r));var u=new Ne.MathNode("mpadded",[o]);return a>=0?u.setAttribute("height",Ie(a)):(u.setAttribute("height",Ie(a)),u.setAttribute("depth",Ie(-a))),u.setAttribute("voffset",Ie(a)),u}});function Bk(e,t,n){for(var r=An(e,t,!1),a=t.sizeMultiplier/n.sizeMultiplier,i=0;i<r.length;i++){var o=r[i].classes.indexOf("sizing");o<0?Array.prototype.push.apply(r[i].classes,t.sizingClasses(n)):r[i].classes[o+1]==="reset-size"+t.size&&(r[i].classes[o+1]="reset-size"+n.size),r[i].height*=a,r[i].depth*=a}return de.makeFragment(r)}var Z8=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],DG=(e,t)=>{var n=t.havingSize(e.size);return Bk(e.body,n,t)};Pe({type:"sizing",names:Z8,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:n,funcName:r,parser:a}=e,i=a.parseExpression(!1,n);return{type:"sizing",mode:a.mode,size:Z8.indexOf(r)+1,body:i}},htmlBuilder:DG,mathmlBuilder:(e,t)=>{var n=t.havingSize(e.size),r=Cr(e.body,n),a=new Ne.MathNode("mstyle",r);return a.setAttribute("mathsize",Ie(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,i=!1,o=n[0]&&ut(n[0],"ordgroup");if(o)for(var u="",c=0;c<o.body.length;++c){var h=o.body[c];if(u=h.text,u==="t")a=!0;else if(u==="b")i=!0;else{a=!1,i=!1;break}}else a=!0,i=!0;var g=t[0];return{type:"smash",mode:r.mode,body:g,smashHeight:a,smashDepth:i}},htmlBuilder:(e,t)=>{var n=de.makeSpan([],[wt(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 i=de.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},t);return de.makeSpan(["mord"],[i],t)},mathmlBuilder:(e,t)=>{var n=new Ne.MathNode("mpadded",[Bt(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],i=t[0];return{type:"sqrt",mode:r.mode,body:i,index:a}},htmlBuilder(e,t){var n=wt(e.body,t.havingCrampedStyle());n.height===0&&(n.height=t.fontMetrics().xHeight),n=de.wrapFragment(n,t);var r=t.fontMetrics(),a=r.defaultRuleThickness,i=a;t.style.id<Qe.TEXT.id&&(i=t.fontMetrics().xHeight);var o=a+i/4,u=n.height+n.depth+o+a,{span:c,ruleWidth:h,advanceWidth:g}=Us.sqrtImage(u,t),m=c.height-h;m>n.height+n.depth+o&&(o=(o+m-n.height-n.depth)/2);var x=c.height-n.height-o-h;n.style.paddingLeft=Ie(g);var y=de.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+x)},{type:"elem",elem:c},{type:"kern",size:h}]},t);if(e.index){var E=t.havingStyle(Qe.SCRIPTSCRIPT),_=wt(e.index,E,t),N=.6*(y.height-y.depth),A=de.makeVList({positionType:"shift",positionData:-N,children:[{type:"elem",elem:_}]},t),C=de.makeSpan(["root"],[A]);return de.makeSpan(["mord","sqrt"],[C,y],t)}else return de.makeSpan(["mord","sqrt"],[y],t)},mathmlBuilder(e,t){var{body:n,index:r}=e;return r?new Ne.MathNode("mroot",[Bt(n,t),Bt(r,t)]):new Ne.MathNode("msqrt",[Bt(n,t)])}});var J8={display:Qe.DISPLAY,text:Qe.TEXT,script:Qe.SCRIPT,scriptscript:Qe.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,i=a.parseExpression(!0,n),o=r.slice(1,r.length-5);return{type:"styling",mode:a.mode,style:o,body:i}},htmlBuilder(e,t){var n=J8[e.style],r=t.havingStyle(n).withFont("");return Bk(e.body,r,t)},mathmlBuilder(e,t){var n=J8[e.style],r=t.havingStyle(n),a=Cr(e.body,r),i=new Ne.MathNode("mstyle",a),o={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},u=o[e.style];return i.setAttribute("scriptlevel",u[0]),i.setAttribute("displaystyle",u[1]),i}});var LG=function(t,n){var r=t.base;if(r)if(r.type==="op"){var a=r.limits&&(n.style.size===Qe.DISPLAY.size||r.alwaysHandleSupSub);return a?bu:null}else if(r.type==="operatorname"){var i=r.alwaysHandleSupSub&&(n.style.size===Qe.DISPLAY.size||r.limits);return i?Hk:null}else{if(r.type==="accent")return St.isCharacterBox(r.base)?Cx:null;if(r.type==="horizBrace"){var o=!t.sub;return o===r.isOver?Mk:null}else return null}else return null};ql({type:"supsub",htmlBuilder(e,t){var n=LG(e,t);if(n)return n(e,t);var{base:r,sup:a,sub:i}=e,o=wt(r,t),u,c,h=t.fontMetrics(),g=0,m=0,x=r&&St.isCharacterBox(r);if(a){var y=t.havingStyle(t.style.sup());u=wt(a,y,t),x||(g=o.height-y.fontMetrics().supDrop*y.sizeMultiplier/t.sizeMultiplier)}if(i){var E=t.havingStyle(t.style.sub());c=wt(i,E,t),x||(m=o.depth+E.fontMetrics().subDrop*E.sizeMultiplier/t.sizeMultiplier)}var _;t.style===Qe.DISPLAY?_=h.sup1:t.style.cramped?_=h.sup3:_=h.sup2;var N=t.sizeMultiplier,A=Ie(.5/h.ptPerEm/N),C=null;if(c){var M=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(o instanceof fa||M)&&(C=Ie(-o.italic))}var X;if(u&&c){g=Math.max(g,_,u.depth+.25*h.xHeight),m=Math.max(m,h.sub2);var G=h.defaultRuleThickness,P=4*G;if(g-u.depth-(c.height-m)<P){m=P-(g-u.depth)+c.height;var B=.8*h.xHeight-(g-u.depth);B>0&&(g+=B,m-=B)}var Z=[{type:"elem",elem:c,shift:m,marginRight:A,marginLeft:C},{type:"elem",elem:u,shift:-g,marginRight:A}];X=de.makeVList({positionType:"individualShift",children:Z},t)}else if(c){m=Math.max(m,h.sub1,c.height-.8*h.xHeight);var V=[{type:"elem",elem:c,marginLeft:C,marginRight:A}];X=de.makeVList({positionType:"shift",positionData:m,children:V},t)}else if(u)g=Math.max(g,_,u.depth+.25*h.xHeight),X=de.makeVList({positionType:"shift",positionData:-g,children:[{type:"elem",elem:u,marginRight:A}]},t);else throw new Error("supsub must have either sup or sub.");var U=$b(o,"right")||"mord";return de.makeSpan([U],[o,de.makeSpan(["msupsub"],[X])],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 i=[Bt(e.base,t)];e.sub&&i.push(Bt(e.sub,t)),e.sup&&i.push(Bt(e.sup,t));var o;if(n)o=r?"mover":"munder";else if(e.sub)if(e.sup){var h=e.base;h&&h.type==="op"&&h.limits&&t.style===Qe.DISPLAY||h&&h.type==="operatorname"&&h.alwaysHandleSupSub&&(t.style===Qe.DISPLAY||h.limits)?o="munderover":o="msubsup"}else{var c=e.base;c&&c.type==="op"&&c.limits&&(t.style===Qe.DISPLAY||c.alwaysHandleSupSub)||c&&c.type==="operatorname"&&c.alwaysHandleSupSub&&(c.limits||t.style===Qe.DISPLAY)?o="munder":o="msub"}else{var u=e.base;u&&u.type==="op"&&u.limits&&(t.style===Qe.DISPLAY||u.alwaysHandleSupSub)||u&&u.type==="operatorname"&&u.alwaysHandleSupSub&&(u.limits||t.style===Qe.DISPLAY)?o="mover":o="msup"}return new Ne.MathNode(o,i)}});ql({type:"atom",htmlBuilder(e,t){return de.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var n=new Ne.MathNode("mo",[ma(e.text,e.mode)]);if(e.family==="bin"){var r=Ax(e,t);r==="bold-italic"&&n.setAttribute("mathvariant",r)}
vendor: 4,644 bytes, lines 580-582
580else e.family==="punct"?n.setAttribute("separator","true"):(e.family==="open"||e.family==="close")&&n.setAttribute("stretchy","false");return n}});var zk={mi:"italic",mn:"normal",mtext:"normal"};ql({type:"mathord",htmlBuilder(e,t){return de.makeOrd(e,t,"mathord")},mathmlBuilder(e,t){var n=new Ne.MathNode("mi",[ma(e.text,e.mode,t)]),r=Ax(e,t)||"italic";return r!==zk[n.type]&&n.setAttribute("mathvariant",r),n}});ql({type:"textord",htmlBuilder(e,t){return de.makeOrd(e,t,"textord")},mathmlBuilder(e,t){var n=ma(e.text,e.mode,t),r=Ax(e,t)||"normal",a;return e.mode==="text"?a=new Ne.MathNode("mtext",[n]):/[0-9]/.test(e.text)?a=new Ne.MathNode("mn",[n]):e.text==="\\prime"?a=new Ne.MathNode("mo",[n]):a=new Ne.MathNode("mi",[n]),r!==zk[a.type]&&a.setAttribute("mathvariant",r),a}});var kg={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Sg={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};ql({type:"spacing",htmlBuilder(e,t){if(Sg.hasOwnProperty(e.text)){var n=Sg[e.text].className||"";if(e.mode==="text"){var r=de.makeOrd(e,t,"textord");return r.classes.push(n),r}else return de.makeSpan(["mspace",n],[de.mathsym(e.text,e.mode,t)],t)}else{if(kg.hasOwnProperty(e.text))return de.makeSpan(["mspace",kg[e.text]],[],t);throw new Ce('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var n;if(Sg.hasOwnProperty(e.text))n=new Ne.MathNode("mtext",[new Ne.TextNode(" ")]);else{if(kg.hasOwnProperty(e.text))return new Ne.MathNode("mspace");throw new Ce('Unknown type of space "'+e.text+'"')}return n}});var e7=()=>{var e=new Ne.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};ql({type:"tag",mathmlBuilder(e,t){var n=new Ne.MathNode("mtable",[new Ne.MathNode("mtr",[e7(),new Ne.MathNode("mtd",[Vi(e.body,t)]),e7(),new Ne.MathNode("mtd",[Vi(e.tag,t)])])]);return n.setAttribute("width","100%"),n}});var t7={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},n7={"\\textbf":"textbf","\\textmd":"textmd"},IG={"\\textit":"textit","\\textup":"textup"},r7=(e,t)=>{var n=e.font;if(n){if(t7[n])return t.withTextFontFamily(t7[n]);if(n7[n])return t.withTextFontWeight(n7[n]);if(n==="\\emph")return t.fontShape==="textit"?t.withTextFontShape("textup"):t.withTextFontShape("textit")}else return t;return t.withTextFontShape(IG[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:fn(a),font:r}},htmlBuilder(e,t){var n=r7(e,t),r=An(e.body,n,!0);return de.makeSpan(["mord","text"],r,n)},mathmlBuilder(e,t){var n=r7(e,t);return Vi(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=wt(e.body,t),r=de.makeLineSpan("underline-line",t),a=t.fontMetrics().defaultRuleThickness,i=de.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 de.makeSpan(["mord","underline"],[i],t)},mathmlBuilder(e,t){var n=new Ne.MathNode("mo",[new Ne.TextNode("‾")]);n.setAttribute("stretchy","true");var r=new Ne.MathNode("munder",[Bt(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=wt(e.body,t),r=t.fontMetrics().axisHeight,a=.5*(n.height-r-(n.depth+r));return de.makeVList({positionType:"shift",positionData:a,children:[{type:"elem",elem:n}]},t)},mathmlBuilder(e,t){return new Ne.MathNode("mpadded",[Bt(e.body,t)],["vcenter"])}});Pe({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,n){throw new Ce("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var n=a7(e),r=[],a=t.havingStyle(t.style.text()),i=0;i<n.length;i++){var o=n[i];o==="~"&&(o="\\textasciitilde"),r.push(de.makeSymbol(o,"Typewriter-Regular",e.mode,a,["mord","texttt"]))}return de.makeSpan(["mord","text"].concat(a.sizingClasses(t)),de.tryCombineChars(r),a)},mathmlBuilder(e,t){var n=new Ne.TextNode(a7(e)),r=new Ne.MathNode("mtext",[n]);return r.setAttribute("mathvariant","monospace"),r}});var a7=e=>e.body.replace(/ /g,e.star?"␣":" "),Ii=uk,Uk=`[ \r
581	]`,MG="\\\\[a-zA-Z@]+",PG="\\\\[^\uD800-\uDFFF]",jG="("+MG+")"+Uk+"*",HG=`\\\\(
582|[ \r	]+
583?)[ \r	]*`,Wb="[̀-ͯ]",BG=new RegExp(Wb+"+$"),zG="("+Uk+"+)|"+(HG+"|")+"([!-\\[\\]-‧‪-퟿豈-￿]"+(Wb+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(Wb+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+jG)+("|"+PG+")");class s7{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(zG,"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 Vr("EOF",new Ar(this,n,n));var r=this.tokenRegex.exec(t);if(r===null||r.index!==n)throw new Ce("Unexpected character: '"+t[n]+"'",new Vr(t[n],new Ar(this,n,n+1)));var a=r[6]||r[3]||(r[2]?"\\ ":" ");if(this.catcodes[a]===14){var i=t.indexOf(`
584`,this.tokenRegex.lastIndex);return i===-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=i+1,this.lex()}return new Vr(a,new Ar(this,n,this.tokenRegex.lastIndex))}}class UG{constructor(t,n){t===void 0&&(t={}),n===void 0&&(n={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=n,this.builtins=t,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new Ce("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var t=this.undefStack.pop();for(var n in t)t.hasOwnProperty(n)&&(t[n]==null?delete this.current[n]:this.current[n]=t[n])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(t){return this.current.hasOwnProperty(t)||this.builtins.hasOwnProperty(t)}get(t){return this.current.hasOwnProperty(t)?this.current[t]:this.builtins[t]}set(t,n,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 i=this.undefStack[this.undefStack.length-1];i&&!i.hasOwnProperty(t)&&(i[t]=this.current[t])}n==null?delete this.current[t]:this.current[t]=n}}var FG=Ok;I("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}});I("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}});I("\\@firstoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}});I("\\@secondoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}});I("\\@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}});I("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");I("\\TextOrMath",function(e){var t=e.consumeArgs(2);return e.mode==="text"?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var i7={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};I("\\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 Ce("\\char` missing argument");r=t.text.charCodeAt(0)}else n=10;if(n){if(r=i7[t.text],r==null||r>=n)throw new Ce("Invalid base-"+n+" digit "+t.text);for(var a;(a=i7[e.future().text])!=null&&a<n;)r*=n,r+=a,e.popToken()}return"\\@char{"+r+"}"});var jx=(e,t,n,r)=>{var a=e.consumeArg().tokens;if(a.length!==1)throw new Ce("\\newcommand's first argument must be a macro name");var i=a[0].text,o=e.isDefined(i);if(o&&!t)throw new Ce("\\newcommand{"+i+"} attempting to redefine "+(i+"; use \\renewcommand"));if(!o&&!n)throw new Ce("\\renewcommand{"+i+"} when command "+i+" does not yet exist; use \\newcommand");var u=0;if(a=e.consumeArg().tokens,a.length===1&&a[0].text==="["){for(var c="",h=e.expandNextToken();h.text!=="]"&&h.text!=="EOF";)c+=h.text,h=e.expandNextToken();if(!c.match(/^\s*[0-9]+\s*$/))throw new Ce("Invalid number of arguments: "+c);u=parseInt(c),a=e.consumeArg().tokens}return o&&r||e.macros.set(i,{tokens:a,numArgs:u}),""};I("\\newcommand",e=>jx(e,!1,!0,!1));I("\\renewcommand",e=>jx(e,!0,!1,!1));I("\\providecommand",e=>jx(e,!0,!0,!0));I("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(n=>n.text).join("")),""});I("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(n=>n.text).join("")),""});I("\\show",e=>{var t=e.popToken(),n=t.text;return console.log(t,e.macros.get(n),Ii[n],Ft.math[n],Ft.text[n]),""});I("\\bgroup","{");I("\\egroup","}");
584I("~","\\nobreakspace");I("\\lq","`");I("\\rq","'");I("\\aa","\\r a");I("\\AA","\\r A");I("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}");I("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");I("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}");I("ℬ","\\mathscr{B}");I("ℰ","\\mathscr{E}");I("ℱ","\\mathscr{F}");I("ℋ","\\mathscr{H}");I("ℐ","\\mathscr{I}");I("ℒ","\\mathscr{L}");I("ℳ","\\mathscr{M}");I("ℛ","\\mathscr{R}");I("ℭ","\\mathfrak{C}");I("ℌ","\\mathfrak{H}");I("ℨ","\\mathfrak{Z}");I("\\Bbbk","\\Bbb{k}");I("·","\\cdotp");I("\\llap","\\mathllap{\\textrm{#1}}");I("\\rlap","\\mathrlap{\\textrm{#1}}");I("\\clap","\\mathclap{\\textrm{#1}}");I("\\mathstrut","\\vphantom{(}");I("\\underbar","\\underline{\\text{#1}}");I("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');I("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}");I("\\ne","\\neq");I("≠","\\neq");I("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}");I("∉","\\notin");I("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}");I("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}");I("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}");I("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}");I("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}");I("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}");I("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}");I("⟂","\\perp");I("‼","\\mathclose{!\\mkern-0.8mu!}");I("∌","\\notni");I("⌜","\\ulcorner");I("⌝","\\urcorner");I("⌞","\\llcorner");I("⌟","\\lrcorner");I("©","\\copyright");I("®","\\textregistered");I("️","\\textregistered");
vendor: 4,526 bytes, line 584
584I("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');I("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');I("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');I("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');I("\\vdots","{\\varvdots\\rule{0pt}{15pt}}");I("⋮","\\vdots");I("\\varGamma","\\mathit{\\Gamma}");I("\\varDelta","\\mathit{\\Delta}");I("\\varTheta","\\mathit{\\Theta}");I("\\varLambda","\\mathit{\\Lambda}");I("\\varXi","\\mathit{\\Xi}");I("\\varPi","\\mathit{\\Pi}");I("\\varSigma","\\mathit{\\Sigma}");I("\\varUpsilon","\\mathit{\\Upsilon}");I("\\varPhi","\\mathit{\\Phi}");I("\\varPsi","\\mathit{\\Psi}");I("\\varOmega","\\mathit{\\Omega}");I("\\substack","\\begin{subarray}{c}#1\\end{subarray}");I("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");I("\\boxed","\\fbox{$\\displaystyle{#1}$}");I("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");I("\\implies","\\DOTSB\\;\\Longrightarrow\\;");I("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");I("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}");I("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var l7={",":"\\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"};I("\\dots",function(e){var t="\\dotso",n=e.expandAfterFuture().text;return n in l7?t=l7[n]:(n.slice(0,4)==="\\not"||n in Ft.math&&["bin","rel"].includes(Ft.math[n].group))&&(t="\\dotsb"),t});var Hx={")":!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};I("\\dotso",function(e){var t=e.future().text;return t in Hx?"\\ldots\\,":"\\ldots"});I("\\dotsc",function(e){var t=e.future().text;return t in Hx&&t!==","?"\\ldots\\,":"\\ldots"});I("\\cdots",function(e){var t=e.future().text;return t in Hx?"\\@cdots\\,":"\\@cdots"});I("\\dotsb","\\cdots");I("\\dotsm","\\cdots");I("\\dotsi","\\!\\cdots");I("\\dotsx","\\ldots\\,");I("\\DOTSI","\\relax");I("\\DOTSB","\\relax");I("\\DOTSX","\\relax");I("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");I("\\,","\\tmspace+{3mu}{.1667em}");I("\\thinspace","\\,");I("\\>","\\mskip{4mu}");I("\\:","\\tmspace+{4mu}{.2222em}");I("\\medspace","\\:");I("\\;","\\tmspace+{5mu}{.2777em}");I("\\thickspace","\\;");I("\\!","\\tmspace-{3mu}{.1667em}");I("\\negthinspace","\\!");I("\\negmedspace","\\tmspace-{4mu}{.2222em}");I("\\negthickspace","\\tmspace-{5mu}{.277em}");I("\\enspace","\\kern.5em ");I("\\enskip","\\hskip.5em\\relax");I("\\quad","\\hskip1em\\relax");I("\\qquad","\\hskip2em\\relax");I("\\tag","\\@ifstar\\tag@literal\\tag@paren");I("\\tag@paren","\\tag@literal{({#1})}");I("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new Ce("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});I("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");I("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");I("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");I("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");I("\\newline","\\\\\\relax");I("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Fk=Ie(ts["Main-Regular"][84][1]-.7*ts["Main-Regular"][65][1]);I("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Fk+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");
584I("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Fk+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");I("\\hspace","\\@ifstar\\@hspacer\\@hspace");I("\\@hspace","\\hskip #1\\relax");I("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");I("\\ordinarycolon",":");I("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");I("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');I("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');I("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');I("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');I("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');I("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');I("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');I("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');I("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');I("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');I("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');I("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');I("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');I("∷","\\dblcolon");I("∹","\\eqcolon");I("≔","\\coloneqq");I("≕","\\eqqcolon");I("⩴","\\Coloneqq");I("\\ratio","\\vcentcolon");I("\\coloncolon","\\dblcolon");I("\\colonequals","\\coloneqq");I("\\coloncolonequals","\\Coloneqq");I("\\equalscolon","\\eqqcolon");I("\\equalscoloncolon","\\Eqqcolon");I("\\colonminus","\\coloneq");I("\\coloncolonminus","\\Coloneq");I("\\minuscolon","\\eqcolon");I("\\minuscoloncolon","\\Eqcolon");I("\\coloncolonapprox","\\Colonapprox");I("\\coloncolonsim","\\Colonsim");I("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");I("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");I("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");I("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");I("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}");I("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");I("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");I("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");I("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");I("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");I("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");I("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");I("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");I("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}");I("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}");I("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}");I("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}");I("\\nleqq","\\html@mathml{\\@nleqq}{≰}");I("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}");I("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}");I("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}");I("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}");I("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}");I("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}");I("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}");I("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}");I("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}");I("\\imath","\\html@mathml{\\@imath}{ı}");I("\\jmath","\\html@mathml{\\@jmath}{ȷ}");I("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}");I("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}");I("⟦","\\llbracket");I("⟧","\\rrbracket");I("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}
584{\\mathopen{\\char`⦃}}");I("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}");I("⦃","\\lBrace");I("⦄","\\rBrace");I("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}");I("⦵","\\minuso");I("\\darr","\\downarrow");I("\\dArr","\\Downarrow");I("\\Darr","\\Downarrow");I("\\lang","\\langle");I("\\rang","\\rangle");I("\\uarr","\\uparrow");I("\\uArr","\\Uparrow");I("\\Uarr","\\Uparrow");I("\\N","\\mathbb{N}");I("\\R","\\mathbb{R}");I("\\Z","\\mathbb{Z}");I("\\alef","\\aleph");I("\\alefsym","\\aleph");I("\\Alpha","\\mathrm{A}");I("\\Beta","\\mathrm{B}");I("\\bull","\\bullet");I("\\Chi","\\mathrm{X}");I("\\clubs","\\clubsuit");I("\\cnums","\\mathbb{C}");I("\\Complex","\\mathbb{C}");I("\\Dagger","\\ddagger");I("\\diamonds","\\diamondsuit");I("\\empty","\\emptyset");I("\\Epsilon","\\mathrm{E}");I("\\Eta","\\mathrm{H}");I("\\exist","\\exists");I("\\harr","\\leftrightarrow");I("\\hArr","\\Leftrightarrow");I("\\Harr","\\Leftrightarrow");I("\\hearts","\\heartsuit");I("\\image","\\Im");I("\\infin","\\infty");I("\\Iota","\\mathrm{I}");I("\\isin","\\in");I("\\Kappa","\\mathrm{K}");I("\\larr","\\leftarrow");I("\\lArr","\\Leftarrow");I("\\Larr","\\Leftarrow");I("\\lrarr","\\leftrightarrow");I("\\lrArr","\\Leftrightarrow");I("\\Lrarr","\\Leftrightarrow");I("\\Mu","\\mathrm{M}");I("\\natnums","\\mathbb{N}");I("\\Nu","\\mathrm{N}");I("\\Omicron","\\mathrm{O}");I("\\plusmn","\\pm");I("\\rarr","\\rightarrow");I("\\rArr","\\Rightarrow");I("\\Rarr","\\Rightarrow");I("\\real","\\Re");I("\\reals","\\mathbb{R}");I("\\Reals","\\mathbb{R}");I("\\Rho","\\mathrm{P}");I("\\sdot","\\cdot");I("\\sect","\\S");I("\\spades","\\spadesuit");I("\\sub","\\subset");I("\\sube","\\subseteq");I("\\supe","\\supseteq");I("\\Tau","\\mathrm{T}");I("\\thetasym","\\vartheta");I("\\weierp","\\wp");I("\\Zeta","\\mathrm{Z}");I("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");I("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");I("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");I("\\bra","\\mathinner{\\langle{#1}|}");I("\\ket","\\mathinner{|{#1}\\rangle}");I("\\braket","\\mathinner{\\langle{#1}\\rangle}");I("\\Bra","\\left\\langle#1\\right|");I("\\Ket","\\left|#1\\right\\rangle");var qk=e=>t=>{var n=t.consumeArg().tokens,r=t.consumeArg().tokens,a=t.consumeArg().tokens,i=t.consumeArg().tokens,o=t.macros.get("|"),u=t.macros.get("\\|");t.macros.beginGroup();var c=m=>x=>{e&&(x.macros.set("|",o),a.length&&x.macros.set("\\|",u));var y=m;if(!m&&a.length){var E=x.future();E.text==="|"&&(x.popToken(),y=!0)}return{tokens:y?a:r,numArgs:0}};t.macros.set("|",c(!1)),a.length&&t.macros.set("\\|",c(!0));var h=t.consumeArg().tokens,g=t.expandTokens([...i,...h,...n]);return t.macros.endGroup(),{tokens:g.reverse(),numArgs:0}};I("\\bra@ket",qk(!1));I("\\bra@set",qk(!0));I("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");I("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");I("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");I("\\angln","{\\angl n}");I("\\blue","\\textcolor{##6495ed}{#1}");I("\\orange","\\textcolor{##ffa500}{#1}");I("\\pink","\\textcolor{##ff00af}{#1}");I("\\red","\\textcolor{##df0030}{#1}");I("\\green","\\textcolor{##28ae7b}{#1}");I("\\gray","\\textcolor{gray}{#1}");I("\\purple","\\textcolor{##9d38bd}{#1}");I("\\blueA","\\textcolor{##ccfaff}{#1}");I("\\blueB","\\textcolor{##80f6ff}{#1}");I("\\blueC","\\textcolor{##63d9ea}{#1}");I("\\blueD","\\textcolor{##11accd}{#1}");I("\\blueE","\\textcolor{##0c7f99}{#1}");I("\\tealA","\\textcolor{##94fff5}{#1}");I("\\tealB","\\textcolor{##26edd5}{#1}");I("\\tealC","\\textcolor{##01d1c1}{#1}");I("\\tealD","\\textcolor{##01a995}{#1}");I("\\tealE","\\textcolor{##208170}{#1}");I("\\greenA","\\textcolor{##b6ffb0}{#1}");I("\\greenB","\\textcolor{##8af281}{#1}");I("\\greenC","\\textcolor{##74cf70}{#1}");I("\\greenD","\\textcolor{##1fab54}{#1}");I("\\greenE","\\textcolor{##0d923f}{#1}");I("\\goldA","\\textcolor{##ffd0a9}{#1}");I("\\goldB","\\textcolor{##ffbb71}{#1}");I("\\goldC","\\textcolor{##ff9c39}{#1}");I("\\goldD","\\textcolor{##e07d10}{#1}");I("\\goldE","\\textcolor{##a75a05}{#1}");I("\\redA","\\textcolor{##fca9a9}{#1}");I("\\redB","\\textcolor{##ff8482}{#1}");I("\\redC","\\textcolor{##f9685d}{#1}");I("\\redD","\\textcolor{##e84d39}{#1}");
vendor: 4,555 bytes, line 584
584I("\\redE","\\textcolor{##bc2612}{#1}");I("\\maroonA","\\textcolor{##ffbde0}{#1}");I("\\maroonB","\\textcolor{##ff92c6}{#1}");I("\\maroonC","\\textcolor{##ed5fa6}{#1}");I("\\maroonD","\\textcolor{##ca337c}{#1}");I("\\maroonE","\\textcolor{##9e034e}{#1}");I("\\purpleA","\\textcolor{##ddd7ff}{#1}");I("\\purpleB","\\textcolor{##c6b9fc}{#1}");I("\\purpleC","\\textcolor{##aa87ff}{#1}");I("\\purpleD","\\textcolor{##7854ab}{#1}");I("\\purpleE","\\textcolor{##543b78}{#1}");I("\\mintA","\\textcolor{##f5f9e8}{#1}");I("\\mintB","\\textcolor{##edf2df}{#1}");I("\\mintC","\\textcolor{##e0e5cc}{#1}");I("\\grayA","\\textcolor{##f6f7f7}{#1}");I("\\grayB","\\textcolor{##f0f1f2}{#1}");I("\\grayC","\\textcolor{##e3e5e6}{#1}");I("\\grayD","\\textcolor{##d6d8da}{#1}");I("\\grayE","\\textcolor{##babec2}{#1}");I("\\grayF","\\textcolor{##888d93}{#1}");I("\\grayG","\\textcolor{##626569}{#1}");I("\\grayH","\\textcolor{##3b3e40}{#1}");I("\\grayI","\\textcolor{##21242c}{#1}");I("\\kaBlue","\\textcolor{##314453}{#1}");I("\\kaGreen","\\textcolor{##71B307}{#1}");var Gk={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class qG{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 UG(FG,n.macros),this.mode=r,this.stack=[]}feed(t){this.lexer=new s7(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 Vr("EOF",r.loc)),this.pushTokens(a),new Vr("",Ar.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(),i,o=0,u=0;do{if(i=this.popToken(),n.push(i),i.text==="{")++o;else if(i.text==="}"){if(--o,o===-1)throw new Ce("Extra }",i)}else if(i.text==="EOF")throw new Ce("Unexpected end of input in a macro argument, expected '"+(t&&r?t[u]:"}")+"'",i);if(t&&r)if((o===0||o===1&&t[u]==="{")&&i.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:i}}consumeArgs(t,n){if(n){if(n.length!==t+1)throw new Ce("The length of delimiters doesn't match the number of args!");for(var r=n[0],a=0;a<r.length;a++){var i=this.popToken();if(r[a]!==i.text)throw new Ce("Use of the macro doesn't match its definition",i)}}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 Ce("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 Ce("Undefined control sequence: "+r);return this.pushToken(n),!1}this.countExpansion(1);var i=a.tokens,o=this.consumeArgs(a.numArgs,a.delimiters);if(a.numArgs){i=i.slice();for(var u=i.length-1;u>=0;--u){var c=i[u];if(c.text==="#"){if(u===0)throw new Ce("Incomplete placeholder at end of macro body",c);if(c=i[--u],c.text==="#")i.splice(u+1,1);else if(/^[1-9]$/.test(c.text))i.splice(u,2,...o[+c.text-1]);else throw new Ce("Not a valid argument number",c)}}}return this.pushTokens(i),i.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 Vr(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 584
584if(r!=null&&r!==13)return}var a=typeof n=="function"?n(this):n;if(typeof a=="string"){var i=0;if(a.indexOf("#")!==-1)for(var o=a.replace(/##/g,"");o.indexOf("#"+(i+1))!==-1;)++i;for(var u=new s7(a,this.settings),c=[],h=u.lex();h.text!=="EOF";)c.push(h),h=u.lex();c.reverse();var g={tokens:c,numArgs:i};return g}return a}isDefined(t){return this.macros.has(t)||Ii.hasOwnProperty(t)||Ft.math.hasOwnProperty(t)||Ft.text.hasOwnProperty(t)||Gk.hasOwnProperty(t)}isExpandable(t){var n=this.macros.get(t);return n!=null?typeof n=="string"||typeof n=="function"||!n.unexpandable:Ii.hasOwnProperty(t)&&!Ii[t].primitive}}var o7=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,xh=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","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),Ag={"́":{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"}},u7={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ
vendor: 14,520 bytes, lines 584-586
584:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};let $k=class Vk{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 qG(t,n,this.mode),this.settings=n,this.leftrightDepth=0}expect(t,n){if(n===void 0&&(n=!0),this.fetch().text!==t)throw new Ce("Expected '"+t+"', got '"+this.fetch().text+"'",this.fetch());n&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(t){this.mode=t,this.gullet.switchMode(t)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var t=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),t}finally{this.gullet.endGroups()}}subparse(t){var n=this.nextToken;this.consume(),this.gullet.pushToken(new Vr("}")),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(Vk.endOfExpression.indexOf(a.text)!==-1||n&&a.text===n||t&&Ii[a.text]&&Ii[a.text].infix)break;var i=this.parseAtom(n);if(i){if(i.type==="internal")continue}else break;r.push(i)}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 Ce("only one infix operator per group",t[a].token);n=a,r=t[a].replaceWith}if(n!==-1&&r){var i,o,u=t.slice(0,n),c=t.slice(n+1);u.length===1&&u[0].type==="ordgroup"?i=u[0]:i={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 h;return r==="\\\\abovefrac"?h=this.callFunction(r,[i,t[n],o],[]):h=this.callFunction(r,[i,o],[]),[h]}else return t}handleSupSubscript(t){var n=this.fetch(),r=n.text;this.consume(),this.consumeSpaces();var a;do{var i;a=this.parseGroup(t)}while(((i=a)==null?void 0:i.type)==="internal");if(!a)throw new Ce("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},i={type:"color",mode:this.mode,color:this.settings.errorColor,body:[a]};return i}parseAtom(t){var n=this.parseGroup("atom",t);if(n?.type==="internal"||this.mode==="text")return n;for(var r,a;;){this.consumeSpaces();var i=this.fetch();if(i.text==="\\limits"||i.text==="\\nolimits"){if(n&&n.type==="op"){var o=i.text==="\\limits";n.limits=o,n.alwaysHandleSupSub=!0}else if(n&&n.type==="operatorname")n.alwaysHandleSupSub&&(n.limits=i.text==="\\limits");else throw new Ce("Limit controls must follow a math operator",i);this.consume()}else if(i.text==="^"){if(r)throw new Ce("Double superscript",i);r=this.handleSupSubscript("superscript")}else if(i.text==="_"){if(a)throw new Ce("Double subscript",i);a=this.handleSupSubscript("subscript")}else if(i.text==="'"){if(r)throw new Ce("Double superscript",i);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(xh[i.text]){var h=o7.test(i.text),g=[];for(g.push(new Vr(xh[i.text])),this.consume();;){var m=this.fetch().text;if(!xh[m]||o7.test(m)!==h)break;g.unshift(new Vr(xh[m])),this.consume()}var x=this.subparse(g);h?a={type:"ordgroup",mode:"math",body:x}:r={type:"ordgroup",mode:"math",body:x}}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,i=Ii[a];if(!i)return null;if(this.consume(),n&&n!=="atom"&&!i.allowedInArgument)throw new Ce("Got function '"+a+"' with no arguments"+(n?" as "+n:""),r);if(this.mode==="text"&&!i.allowedInText)throw new Ce("Can't use function '"+a+"' in text mode",r);if(this.mode==="math"&&i.allowedInMath===!1)throw new Ce("Can't use function '"+a+"' in math mode",r);var{args:o,optArgs:u}=this.parseArguments(a,i);return this.callFunction(a,o,u,r,t)}callFunction(t,n,r,a,i){var o={funcName:t,parser:this,token:a,breakOnTokenText:i},u=Ii[t];if(u&&u.handler)return u.handler(o,n,r);throw new Ce("No function handler for "+t)}parseArguments(t,n){var r=n.numArgs+n.numOptionalArgs;if(r===0)return{args:[],optArgs:[]};for(var a=[],i=[],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&&i[0]==null)&&(u="primitive");var h=this.parseGroupOfType("argument to '"+t+"'",u,c);if(c)i.push(h);else if(h!=null)a.push(h);else throw new Ce("Null argument, please report this as a bug")}return{args:a,optArgs:i}}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 i=this.parseStringGroup("raw",r);return i!=null?{type:"raw",mode:"text",string:i.text}:null}case"primitive":{if(r)throw new Ce("A primitive argument cannot be optional");var o=this.parseGroup(t);if(o==null)throw new Ce("Expected group as "+t,this.fetch());return o}case"original":case null:case void 0:return this.parseArgumentGroup(r);default:throw new Ce("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="",i;(i=this.fetch()).text!=="EOF";)a+=i.text,this.consume();return this.consume(),r.text=a,r}parseRegexGroup(t,n){for(var r=this.fetch(),a=r,i="",o;(o=this.fetch()).text!=="EOF"&&t.test(i+o.text);)a=o,i+=a.text,this.consume();if(i==="")throw new Ce("Invalid "+n+": '"+r.text+"'",r);return r.range(a,i)}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 Ce("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 Ce("Invalid size: '"+n.text+"'",n);var i={number:+(a[1]+a[2]),unit:a[3]};if(!ek(i))throw new Ce("Invalid unit: '"+i.unit+"'",n);return{type:"size",mode:this.mode,value:i,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 i=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var o={type:"ordgroup",mode:this.mode,loc:r.loc,body:i};return n&&this.switchMode(a),o}parseGroup(t,n){var r=this.fetch(),a=r.text,i;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(),i={type:"ordgroup",mode:this.mode,loc:Ar.range(r,c),body:u,semisimple:a==="\\begingroup"||void 0}}else if(i=this.parseFunction(n,t)||this.parseSymbol(),i==null&&a[0]==="\\"&&!Gk.hasOwnProperty(a)){if(this.settings.throwOnError)throw new Ce("Undefined control sequence: "+a,r);i=this.formatUnsupportedCmd(a),this.consume()}return i}formLigatures(t){for(var n=t.length-1,r=0;r<n;++r){var a=t[r],i=a.text;i==="-"&&t[r+1].text==="-"&&(r+1<n&&t[r+2].text==="-"?(t.splice(r,3,{type:"textord",mode:"text",loc:Ar.range(a,t[r+2]),text:"---"}),n-=2):(t.splice(r,2,{type:"textord",mode:"text",loc:Ar.range(a,t[r+1]),text:"--"}),n-=1)),(i==="'"||i==="`")&&t[r+1].text===i&&(t.splice(r,2,{type:"textord",mode:"text",loc:Ar.range(a,t[r+1]),text:i+i}),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 Ce(`\\verb assertion failed --
585                    please report what input caused this bug`);return r=r.slice(1,-1),{type:"verb",mode:"text",body:r,star:a}}u7.hasOwnProperty(n[0])&&!Ft[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=u7[n[0]]+n.slice(1));var i=BG.exec(n);i&&(n=n.substring(0,i.index),n==="i"?n="ı":n==="j"&&(n="ȷ"));var o;if(Ft[this.mode][n]){this.settings.strict&&this.mode==="math"&&Gb.indexOf(n)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+n[0]+'" used in math mode',t);var u=Ft[this.mode][n].group,c=Ar.range(t),h;if(Rq.hasOwnProperty(u)){var g=u;h={type:"atom",mode:this.mode,family:g,loc:c,text:n}}else h={type:u,mode:this.mode,loc:c,text:n};o=h}else if(n.charCodeAt(0)>=128)this.settings.strict&&(Z_(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:Ar.range(t),text:n};else return null;if(this.consume(),i)for(var m=0;m<i[0].length;m++){var x=i[0][m];if(!Ag[x])throw new Ce("Unknown accent ' "+x+"'",t);var y=Ag[x][this.mode]||Ag[x].text;if(!y)throw new Ce("Accent "+x+" unsupported in "+this.mode+" mode",t);o={type:"accent",mode:this.mode,loc:Ar.range(t),label:y,isStretchy:!1,isShifty:!0,base:o}}return o}};$k.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var Bx=function(t,n){if(!(typeof t=="string"||t instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var r=new $k(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 Ce("\\tag works only in display equations");a=[{type:"tag",mode:"text",body:a,tag:r.subparse([new Vr("\\df@tag")])}]}return a},zx=function(t,n,r){n.textContent="";var a=cm(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."),zx=function(){throw new Ce("KaTeX doesn't work in quirks mode.")});var Yk=function(t,n){var r=cm(t,n).toMarkup();return r},Qk=function(t,n){var r=new Ex(n);return Bx(t,r)},Wk=function(t,n,r){if(r.throwOnError||!(t instanceof Ce))throw t;var a=de.makeSpan(["katex-error"],[new fa(n)]);return a.setAttribute("title",t.toString()),a.setAttribute("style","color:"+r.errorColor),a},cm=function(t,n){var r=new Ex(n);try{var a=Bx(t,r);return eG(a,t,r)}catch(i){return Wk(i,t,r)}},Kk=function(t,n){var r=new Ex(n);try{var a=Bx(t,r);return tG(a,t,r)}catch(i){return Wk(i,t,r)}},Xk="0.16.25",Zk={Span:C0,Anchor:_x,SymbolNode:fa,SvgNode:$s,PathNode:$i,LineNode:qb},Kb={version:Xk,render:zx,renderToString:Yk,ParseError:Ce,SETTINGS_SCHEMA:Bc,__parse:Qk,__renderToDomTree:cm,__renderToHTMLTree:Kk,__setFontMetrics:J_,__defineSymbol:T,__defineFunction:Pe,__defineMacro:I,__domTree:Zk};const cre=Object.freeze(Object.defineProperty({__proto__:null,ParseError:Ce,SETTINGS_SCHEMA:Bc,__defineFunction:Pe,__defineMacro:I,__defineSymbol:T,__domTree:Zk,__parse:Qk,__renderToDomTree:cm,__renderToHTMLTree:Kk,__setFontMetrics:J_,default:Kb,get render(){return zx},renderToString:Yk,version:Xk},Symbol.toStringTag,{value:"Module"})),GG={},$G=[];function VG(e){const t=e||GG;return function(n,r){xx(n,"element",function(a,i){const o=Array.isArray(a.properties.className)?a.properties.className:$G,u=o.includes("language-math"),c=o.includes("math-display"),h=o.includes("math-inline");let g=c;if(!u&&!c&&!h)return;let m=i[i.length-1],x=a;if(a.tagName==="code"&&u&&m&&m.type==="element"&&m.tagName==="pre"&&(x=m,m=i[i.length-2],g=!0),!m)return;const y=GF(x,{whitespace:"pre"});let E;try{E=Kb.renderToString(y,{...t,displayMode:g,throwOnError:!0})}catch(N){const A=N,C=A.name.toLowerCase();r.message("Could not render math with KaTeX",{ancestors:[...i,a],cause:A,place:a.position,ruleId:C,source:"rehype-katex"});try{E=Kb.renderToString(y,{...t,displayMode:g,strict:"ignore",throwOnError:!1})}catch{E=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(t.errorColor||"#cc0000"),title:String(N)},children:[{type:"text",value:y}]}]}}typeof E=="string"&&(E=PF(E).children);const _=m.children.indexOf(x);return m.children.splice(_,1,...E),nf})}}function YG(e){const t=String(e),n=[];return{toOffset:a,toPoint:r};function r(i){if(typeof i=="number"&&i>-1&&i<=t.length){let o=0;for(;;){let u=n[o];if(u===void 0){const c=c7(t,n[o-1]);u=c===-1?t.length+1:c+1,n[o]=u}if(u>i)return{line:o+1,column:i-(o>0?n[o-1]:0)+1,offset:i};o++}}}function a(i){if(i&&typeof i.line=="number"&&typeof i.column=="number"&&!Number.isNaN(i.line)&&!Number.isNaN(i.column)){for(;n.length<i.line;){const u=n[n.length-1],c=c7(t,u),h=c===-1?t.length+1:c+1;if(u===h)break;n.push(h)}const o=(i.line>1?n[i.line-2]:0)+i.column-1;if(o<n[i.line-1])return o}}}function c7(e,t){const n=e.indexOf("\r",t),r=e.indexOf(`
586`,t);return r===-1?n:n===-1||n+1===r?r:n<r?n:r}const Jk={}.hasOwnProperty,QG=Object.prototype;function WG(e,t){const n=t||{};return Ux({file:n.file||void 0,location:!1,schema:n.space==="svg"?Ki:_0,verbose
vendor: 4,382 bytes, line 586
586:n.verbose||!1},e)}function Ux(e,t){let n;switch(t.nodeName){case"#comment":{const r=t;return n={type:"comment",value:r.data},zh(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:e9(e,t.childNodes),data:{quirksMode:a}},e.file&&e.location){const i=String(e.file),o=YG(i),u=o.toPoint(0),c=o.toPoint(i.length);n.position={start:u,end:c}}return n}case"#documentType":{const r=t;return n={type:"doctype"},zh(e,r,n),n}case"#text":{const r=t;return n={type:"text",value:r.value},zh(e,r,n),n}default:return n=KG(e,t),n}}function e9(e,t){let n=-1;const r=[];for(;++n<t.length;){const a=Ux(e,t[n]);r.push(a)}return r}function KG(e,t){const n=e.schema;e.schema=t.namespaceURI===es.svg?Ki:_0;let r=-1;const a={};for(;++r<t.attrs.length;){const u=t.attrs[r],c=(u.prefix?u.prefix+":":"")+u.name;Jk.call(QG,c)||(a[c]=u.value)}const o=(e.schema.space==="svg"?G_:q_)(t.tagName,a,e9(e,t.childNodes));if(zh(e,t,o),o.tagName==="template"){const u=t,c=u.sourceCodeLocation,h=c&&c.startTag&&Vo(c.startTag),g=c&&c.endTag&&Vo(c.endTag),m=Ux(e,u.content);h&&g&&e.file&&(m.position={start:h.end,end:g.start}),o.content=m}return e.schema=n,o}function zh(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const r=XG(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function XG(e,t,n){const r=Vo(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 i={};let o;if(n.attrs)for(o in n.attrs)Jk.call(n.attrs,o)&&(i[Zf(e.schema,o).property]=Vo(n.attrs[o]));n.startTag;const u=Vo(n.startTag),c=n.endTag?Vo(n.endTag):void 0,h={opening:u};c&&(h.closing=c),h.properties=i,t.data={position:h}}}return r}function Vo(e){const t=d7({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=d7({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function d7(e){return e.line&&e.column?e:void 0}class R0{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}R0.prototype.property={};R0.prototype.normal={};R0.prototype.space=null;function t9(e,t){const n={},r={};let a=-1;for(;++a<e.length;)Object.assign(n,e[a].property),Object.assign(r,e[a].normal);return new R0(n,r,t)}function Xb(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 ZG=0;const st=Gl(),vn=Gl(),n9=Gl(),Re=Gl(),Ut=Gl(),Zo=Gl(),Br=Gl();function Gl(){return 2**++ZG}const Zb=Object.freeze(Object.defineProperty({__proto__:null,boolean:st,booleanish:vn,commaOrSpaceSeparated:Br,commaSeparated:Zo,number:Re,overloadedBoolean:n9,spaceSeparated:Ut},Symbol.toStringTag,{value:"Module"})),Ng=Object.keys(Zb);class Fx extends ga{constructor(t,n,r,a){let i=-1;if(super(t,n),h7(this,"space",a),typeof r=="number")for(;++i<Ng.length;){const o=Ng[i];h7(this,Ng[i],(r&Zb[o])===Zb[o])}}}Fx.prototype.defined=!0;function h7(e,t,n){n&&(e[t]=n)}const JG={}.hasOwnProperty;function xu(e){const t={},n={};let r;for(r in e.properties)if(JG.call(e.properties,r)){const a=e.properties[r],i=new Fx(r,e.transform(e.attributes||{},r),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[Xb(r)]=r,n[Xb(i.attribute)]=r}return new R0(t,n,e.space)}const r9=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}}),a9=xu({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function s9(e,t){return t in e?e[t]:t}function i9(e,t){return s9(e,t.toLowerCase())}const l9=xu({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:i9,properties:{xmlns:null,xmlnsXLink:null}}),o9=xu({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:vn,ariaAutoComplete:null,ariaBusy:vn,ariaChecked:vn,ariaColCount:Re,ariaColIndex:Re,ariaColSpan:Re,ariaControl
586s:Ut,ariaCurrent:null,ariaDescribedBy:Ut,ariaDetails:null,ariaDisabled:vn,ariaDropEffect:Ut,ariaErrorMessage:null,ariaExpanded:vn,ariaFlowTo:Ut,ariaGrabbed:vn,ariaHasPopup:null,ariaHidden:vn,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Ut,ariaLevel:Re,ariaLive:null,ariaModal:vn,ariaMultiLine:vn,ariaMultiSelectable:vn,ariaOrientation:null,ariaOwns:Ut,ariaPlaceholder:null,ariaPosInSet:Re,ariaPressed:vn,ariaReadOnly:vn,ariaRelevant:null,ariaRequired:vn,ariaRoleDescription:Ut,ariaRowCount:Re,ariaRowIndex:Re,ariaRowSpan:Re,ariaSelected:vn,ariaSetSize:Re,ariaSort:null,ariaValueMax:Re,ariaValueMin:Re,ariaValueNow:Re,ariaValueText:null,role:null}}),e$=xu({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:i9,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Zo,acceptCharset:Ut,accessKey:Ut,action:null,allow:null,allowFullScreen:st,allowPaymentRequest:st,allowUserMedia:st,alt:null,as:null,async:st,autoCapitalize:null,autoComplete:Ut,autoFocus:st,autoPlay:st,blocking:Ut,capture:null,charSet:null,checked:st,cite:null,className:Ut,cols:Re,colSpan:null,content:null,contentEditable:vn,controls:st,controlsList:Ut,coords:Re|Zo,crossOrigin:null,data:null,dateTime:null,decoding:null,default:st,defer:st,dir:null,dirName:null,disabled:st,download:n9,draggable:vn,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:st,formTarget:null,headers:Ut,height:Re,hidden:st,high:Re,href:null,hrefLang:null,htmlFor:Ut,httpEquiv:Ut,id:null,imageSizes:null,imageSrcSet:null,inert:st,inputMode:null,integrity:null,is:null,isMap:st,itemId:null,itemProp:Ut,itemRef:Ut,itemScope:st,itemType:Ut,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:st,low:Re,manifest:null,max:null,maxLength:Re,media:null,method:null,min:null,minLength:Re,multiple:st,muted:st,name:null,nonce:null,noModule:st,noValidate:st,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:st,optimum:Re,pattern:null,ping:Ut,placeholder:null,playsInline:st,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:st,referrerPolicy:null,rel:Ut,required:st,reversed:st,rows:Re,rowSpan:Re,sandbox:Ut,scope:null,scoped:st,seamless:st,selected:st,shadowRootClonable:st,shadowRootDelegatesFocus:st,shadowRootMode:null,shape:null,size:Re,sizes:null,slot:null,span:Re,spellCheck:vn,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:st,useMap:null,value:vn,width:Re,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Ut,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:st,declare:st,event:null,face:null,frame:null,frameBorder:null,hSpace:Re,leftMargin:Re,link:null,longDesc:null,lowSrc:null,marginHeight:Re,marginWidth:Re,noResize:st,noHref:st,noShade:st,noWrap:st,object:null,profile:null,prompt:null,rev:null,rightMargin:Re,rules:null,scheme:null,scrolling:vn,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:st,disableRemotePlayback:st,prefix:null,property:null,results:Re,security:null,unselectable:null}}),t$=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",colorRen
586dering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:s9,properties:{about:Br,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:Ut,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRen
vendor: 5,755 bytes, line 586
586dering: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:st,dx:null,dy:null,edgeMode:null,editable:null,elevation:Re,enableBackground:null,end:null,event:null,exponent:Re,externalResourcesRequired:null,fill:null,fillOpacity:Re,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Zo,g2:Zo,glyphName:Zo,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:Br,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:Ut,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Re,pointsAtY:Re,pointsAtZ:Re,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Br,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Br,rev:Br,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Br,requiredFeatures:Br,requiredFonts:Br,requiredFormats:Br,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant: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:Br,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:Br,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:Br,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}}),n$=/^data[-\w.:]+$/i,f7=/-[a-z]/g,r$=/[A-Z]/g;function a$(e,t){const n=Xb(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"&&n$.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(f7,i$);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!f7.test(i)){let o=i.replace(r$,s$);o.charAt(0)!=="-"&&(o="-"+o),t="data"+o}}a=Fx}return new a(r,t)}function s$(e){return"-"+e.toLowerCase()}function i$(e){return e.charAt(1).toUpperCase()}const l$=t9([a9,r9,l9,o9,e$],"html"),u9=t9([a9,r9,l9,o9,t$],"svg"),m7={}.hasOwnProperty;function qx(e,t){const n=t||{};
vendor: 4,594 bytes, line 586
586function r(a,...i){let o=r.invalid;const u=r.handlers;if(a&&m7.call(a,e)){const c=String(a[e]);o=m7.call(u,c)?u[c]:r.unknown}if(o)return o.call(this,a,...i)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}const o$={},u$={}.hasOwnProperty,c9=qx("type",{handlers:{root:d$,element:g$,text:m$,comment:p$,doctype:f$}});function c$(e,t){const r=(t||o$).space;return c9(e,r==="svg"?u9:l$)}function d$(e,t){const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=Gx(e.children,n,t),yu(e,n),n}function h$(e,t){const n={nodeName:"#document-fragment",childNodes:[]};return n.childNodes=Gx(e.children,n,t),yu(e,n),n}function f$(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return yu(e,t),t}function m$(e){const t={nodeName:"#text",value:e.value,parentNode:null};return yu(e,t),t}function p$(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return yu(e,t),t}function g$(e,t){const n=t;let r=n;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&n.space==="html"&&(r=u9);const a=[];let i;if(e.properties){for(i in e.properties)if(i!=="children"&&u$.call(e.properties,i)){const c=b$(r,i,e.properties[i]);c&&a.push(c)}}const o=r.space,u={nodeName:e.tagName,tagName:e.tagName,attrs:a,namespaceURI:es[o],childNodes:[],parentNode:null};return u.childNodes=Gx(e.children,u,r),yu(e,u),e.tagName==="template"&&e.content&&(u.content=h$(e.content,r)),u}function b$(e,t,n){const r=a$(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?sx(n):lx(n));const a={name:r.attribute,value:n===!0?"":String(n)};if(r.space&&r.space!=="html"&&r.space!=="svg"){const i=a.name.indexOf(":");i<0?a.prefix="":(a.name=a.name.slice(i+1),a.prefix=r.attribute.slice(0,i)),a.namespace=es[r.space]}return a}function Gx(e,t,n){let r=-1;const a=[];if(e)for(;++r<e.length;){const i=c9(e[r],n);i.parentNode=t,a.push(i)}return a}function yu(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 d9=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],x$=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]),Yt="�";var H;(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"})(H||(H={}));const wr={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function h9(e){return e>=55296&&e<=57343}function y$(e){return e>=56320&&e<=57343}function v$(e,t){return(e-55296)*1024+9216+t}function f9(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function m9(e){return e>=64976&&e<=65007||x$.has(e)}var xe;(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 586
586dFirstCharacterOfTagName="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"})(xe||(xe={}));const E$=65536;class w${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=E$,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:i}=this,o=a+n,u=i+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(y$(n))return this.pos++,this._addGap(),v$(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,H.EOF;return this._err(xe.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,H.EOF;const r=this.html.charCodeAt(n);return r===H.CARRIAGE_RETURN?H.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,H.EOF;let t=this.html.charCodeAt(this.pos);return t===H.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,H.LINE_FEED):t===H.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,h9(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===H.LINE_FEED||t===H.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){f9(t)?this._err(xe.controlCharacterInInputStream):m9(t)&&this._err(xe.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var ht;(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"})(ht||(ht={}));function p9(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 T$=new Uint16Array('
vendor: 16,129 bytes, line 586
586ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\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 586
586䐻Ȁ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 586
586astЃ⹧⹲຅脀¶;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;怌
586'.split("").map(e=>e.charCodeAt(0))),_$=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 k$(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=_$.get(e))!==null&&t!==void 0?t:e}var In;(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"})(In||(In={}));const S$=32;var Mi;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(Mi||(Mi={}));function Jb(e){return e>=In.ZERO&&e<=In.NINE}function A$(e){return e>=In.UPPER_A&&e<=In.UPPER_F||e>=In.LOWER_A&&e<=In.LOWER_F}function N$(e){return e>=In.UPPER_A&&e<=In.UPPER_Z||e>=In.LOWER_A&&e<=In.LOWER_Z||Jb(e)}function C$(e){return e===In.EQUALS||N$(e)}var Dn;(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"})(Dn||(Dn={}));var Ps;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Ps||(Ps={}));class O${constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=Dn.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Ps.Strict}startEntity(t){this.decodeMode=t,this.state=Dn.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case Dn.EntityStart:return t.charCodeAt(n)===In.NUM?(this.state=Dn.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=Dn.NamedEntity,this.stateNamedEntity(t,n));case Dn.NumericStart:return this.stateNumericStart(t,n);case Dn.NumericDecimal:return this.stateNumericDecimal(t,n);case Dn.NumericHex:return this.stateNumericHex(t,n);case Dn.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|S$)===In.LOWER_X?(this.state=Dn.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=Dn.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,r,a){if(n!==r){const i=r-n;this.result=this.result*Math.pow(a,i)+Number.parseInt(t.substr(n,i),a),this.consumed+=i}}stateNumericHex(t,n){const r=n;for(;n<t.length;){const a=t.charCodeAt(n);if(Jb(a)||A$(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(Jb(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===In.SEMI)this.consumed+=1;else if(this.decodeMode===Ps.Strict)return 0;return this.emitCodePoint(k$(this.result),this.consumed),this.errors&&(t!==In.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){const{decodeTree:r}=this;let a=r[this.treeIndex],i=(a&Mi.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const o=t.charCodeAt(n);if(this.treeIndex=R$(r,a,this.treeIndex+Math.max(1,i),o),this.treeIndex<0)return this.result===0||this.decodeMode===Ps.Attribute&&(i===0||C$(o))?0:this.emitNotTerminatedNamedEntity();if(a=r[this.treeIndex],i=(a&Mi.VALUE_LENGTH)>>14,i!==0){if(o===In.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==Ps.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]&Mi.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]&~Mi.VALUE_LENGTH:a[t+1],r),n===3&&this.emitCodePoint(a[t+2],r),r}end(){var t;switch(this.state){case Dn.NamedEntity:return this.result!==0&&(this.decodeMode!==Ps.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Dn.NumericDecimal:return this.emitNumericEntity(0,2);case Dn.NumericHex:return this.emitNumericEntity(0,3);case Dn.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Dn.EntityStart:return 0}}}function R$(e,t,n,r){const a=(t&Mi.BRANCH_LENGTH)>>7,i=t&Mi.JUMP_TABLE;if(a===0)return i!==0&&r===i?n:-1;if(i){const c=r-i;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,h=e[c];if(h<r)o=c+1;else if(h>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 Ol;(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"})(Ol||(Ol={}));var oa;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(oa||(oa={}));var ue;(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
586ike",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"})(ue||(ue={}));var w;(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"})(w||(w={}));const D$=new Map([[ue.A,w.A],[ue.ADDRESS,w.ADDRESS],[ue.ANNOTATION_XML,w.ANNOTATION_XML],[ue.APPLET,w.APPLET],[ue.AREA,w.AREA],[ue.ARTICLE,w.ARTICLE],[ue.ASIDE,w.ASIDE],[ue.B,w.B],[ue.BASE,w.BASE],[ue.BASEFONT,w.BASEFONT],[ue.BGSOUND,w.BGSOUND],[ue.BIG,w.BIG],[ue.BLOCKQUOTE,w.BLOCKQUOTE],[ue.BODY,w.BODY],[ue.BR,w.BR],[ue.BUTTON,w.BUTTON],[ue.CAPTION,w.CAPTION],[ue.CENTER,w.CENTER],[ue.CODE,w.CODE],[ue.COL,w.COL],[ue.COLGROUP,w.COLGROUP],[ue.DD,w.DD],[ue.DESC,w.DESC],[ue.DETAILS,w.DETAILS],[ue.DIALOG,w.DIALOG],[ue.DIR,w.DIR],[ue.DIV,w.DIV],[ue.DL,w.DL],[ue.DT,w.DT],[ue.EM,w.EM],[ue.EMBED,w.EMBED],[ue.FIELDSET,w.FIELDSET],[ue.FIGCAPTION,w.FIGCAPTION],[ue.FIGURE,w.FIGURE],[ue.FONT,w.FONT],[ue.FOOTER,w.FOOTER],[ue.FOREIGN_OBJECT,w.FOREIGN_OBJECT],[ue.FORM,w.FORM],[ue.FRAME,w.FRAME],[ue.FRAMESET,w.FRAMESET],[ue.H1,w.H1],[ue.H2,w.H2],[ue.H3,w.H3],[ue.H4,w.H4],[ue.H5,w.H5],[ue.H6,w.H6],[ue.HEAD,w.HEAD],[ue.HEADER,w.HEADER],[ue.HGROUP,w.HGROUP],[ue.HR,w.HR],[ue.HTML,w.HTML],[ue.I,w.I],[ue.IMG,w.IMG],[ue.IMAGE,w.IMAGE],[ue.INPUT,w.INPUT],[ue.IFRAME,w.IFRAME],[ue.KEYGEN,w.KEYGEN],[ue.LABEL,w.LABEL],[ue.LI,w.LI],[ue.LINK,w.LINK],[ue.LISTING,w.LISTING],[ue.MAIN,w.MAIN],[ue.MALIGNMARK,w.MALIGNMARK],[ue.MARQUEE,w.MARQUEE],[ue.MATH,w.MATH],[ue.MENU,w.MENU],[ue.META,w.META],[ue.MGLYPH,w.MGLYPH],[ue.MI,w.MI],[ue.MO,w.MO],[ue.MN,w.MN],[ue.MS,w.MS],[ue.MTEXT,w.MTEXT],[ue.NAV,w.NAV],[ue.NOBR,w.NOBR],[ue.NOFRAMES,w.NOFRAMES],[ue.NOEMBED,w.NOEMBED],[ue.NOSCRIPT,w.NOSCRIPT],[ue.OBJECT,w.OBJECT],[ue.OL,w.OL],[ue.OPTGROUP,
vendor: 119,129 bytes, line 586
586w.OPTGROUP],[ue.OPTION,w.OPTION],[ue.P,w.P],[ue.PARAM,w.PARAM],[ue.PLAINTEXT,w.PLAINTEXT],[ue.PRE,w.PRE],[ue.RB,w.RB],[ue.RP,w.RP],[ue.RT,w.RT],[ue.RTC,w.RTC],[ue.RUBY,w.RUBY],[ue.S,w.S],[ue.SCRIPT,w.SCRIPT],[ue.SEARCH,w.SEARCH],[ue.SECTION,w.SECTION],[ue.SELECT,w.SELECT],[ue.SOURCE,w.SOURCE],[ue.SMALL,w.SMALL],[ue.SPAN,w.SPAN],[ue.STRIKE,w.STRIKE],[ue.STRONG,w.STRONG],[ue.STYLE,w.STYLE],[ue.SUB,w.SUB],[ue.SUMMARY,w.SUMMARY],[ue.SUP,w.SUP],[ue.TABLE,w.TABLE],[ue.TBODY,w.TBODY],[ue.TEMPLATE,w.TEMPLATE],[ue.TEXTAREA,w.TEXTAREA],[ue.TFOOT,w.TFOOT],[ue.TD,w.TD],[ue.TH,w.TH],[ue.THEAD,w.THEAD],[ue.TITLE,w.TITLE],[ue.TR,w.TR],[ue.TRACK,w.TRACK],[ue.TT,w.TT],[ue.U,w.U],[ue.UL,w.UL],[ue.SVG,w.SVG],[ue.VAR,w.VAR],[ue.WBR,w.WBR],[ue.XMP,w.XMP]]);function vu(e){var t;return(t=D$.get(e))!==null&&t!==void 0?t:w.UNKNOWN}const Ae=w,L$={[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},e2=new Set([Ae.H1,Ae.H2,Ae.H3,Ae.H4,Ae.H5,Ae.H6]);ue.STYLE,ue.SCRIPT,ue.XMP,ue.IFRAME,ue.NOEMBED,ue.NOFRAMES,ue.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 I$(e){return e>=H.DIGIT_0&&e<=H.DIGIT_9}function Oc(e){return e>=H.LATIN_CAPITAL_A&&e<=H.LATIN_CAPITAL_Z}function M$(e){return e>=H.LATIN_SMALL_A&&e<=H.LATIN_SMALL_Z}function Ci(e){return M$(e)||Oc(e)}function p7(e){return Ci(e)||I$(e)}function yh(e){return e+32}function g9(e){return e===H.SPACE||e===H.LINE_FEED||e===H.TABULATION||e===H.FORM_FEED}function g7(e){return g9(e)||e===H.SOLIDUS||e===H.GREATER_THAN_SIGN}function P$(e){return e===H.NULL?xe.nullCharacterReference:e>1114111?xe.characterReferenceOutsideUnicodeRange:h9(e)?xe.surrogateCharacterReference:m9(e)?xe.noncharacterCharacterReference:f9(e)||e===H.CARRIAGE_RETURN?xe.controlCharacterReference:null}class j${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 w$(n),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new O$(T$,(r,a)=>{this.preprocessor.pos=this.entityStartPos+a-1,this._flushCodePointConsumedAsCharacterReference(r)},n.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(xe.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:r=>{this._err(xe.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+r)},validateNumericCharacterReference:r=>{const a=P$(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:ht.START_TAG,tagName:"",tagID:w.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:ht.END_TAG,tagName:"",tagID:w.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:ht.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:ht.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(p9(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(xe.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=vu(t.tagName),t.type===ht.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(xe.endTagWithAttributes),t.selfClosing&&this._err(xe.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 ht.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case ht.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case ht.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:ht.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=g9(t)?ht.WHITESPACE_CHARACTER:t===H.NULL?ht.NULL_CHARACTER:ht.CHARACTER;this._appendCharToCurrentCharacterToken(n,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(ht.CHARACTER,t)}_startCharacterReference(){this.returnState=this.state,this.state=q.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?Ps.Attribute:Ps.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._stateScriptDataDoubleEscapeStart(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 H.LESS_THAN_SIGN:{this.state=q.TAG_OPEN;break}case H.AMPERSAND:{this._startCharacterReference();break}case H.NULL:{this._err(xe.unexpectedNullCharacter),this._emitCodePoint(t);break}case H.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case H.AMPERSAND:{this._startCharacterReference();break}case H.LESS_THAN_SIGN:{this.state=q.RCDATA_LESS_THAN_SIGN;break}case H.NULL:{this._err(xe.unexpectedNullCharacter),this._emitChars(Yt);break}case H.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case H.LESS_THAN_SIGN:{this.state=q.RAWTEXT_LESS_THAN_SIGN;break}case H.NULL:{this._err(xe.unexpectedNullCharacter),this._emitChars(Yt);break}case H.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case H.LESS_THAN_SIGN:{this.state=q.SCRIPT_DATA_LESS_THAN_SIGN;break}case H.NULL:{this._err(xe.unexpectedNullCharacter),this._emitChars(Yt);break}case H.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case H.NULL:{this._err(xe.unexpectedNullCharacter),this._emitChars(Yt);break}case H.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(Ci(t))this._createStartTagToken(),this.state=q.TAG_NAME,this._stateTagName(t);else switch(t){case H.EXCLAMATION_MARK:{this.state=q.MARKUP_DECLARATION_OPEN;break}case H.SOLIDUS:{this.state=q.END_TAG_OPEN;break}case H.QUESTION_MARK:{this._err(xe.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=q.BOGUS_COMMENT,this._stateBogusComment(t);break}case H.EOF:{this._err(xe.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(xe.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=q.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(Ci(t))this._createEndTagToken(),this.state=q.TAG_NAME,this._stateTagName(t);else switch(t){case H.GREATER_THAN_SIGN:{this._err(xe.missingEndTagName),this.state=q.DATA;break}case H.EOF:{this._err(xe.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(xe.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=q.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const n=this.currentToken;switch(t){case H.SPACE:case H.LINE_FEED:case H.TABULATION:case H.FORM_FEED:{this.state=q.BEFORE_ATTRIBUTE_NAME;break}case H.SOLIDUS:{this.state=q.SELF_CLOSING_START_TAG;break}case H.GREATER_THAN_SIGN:{this.state=q.DATA,this.emitCurrentTagToken();break}case H.NULL:{this._err(xe.unexpectedNullCharacter),n.tagName+=Yt;break}case H.EOF:{this._err(xe.eofInTag),this._emitEOFToken();break}default:n.tagName+=String.fromCodePoint(Oc(t)?yh(t):t)}}_stateRcdataLessThanSign(t){t===H.SOLIDUS?this.state=q.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=q.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){Ci(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 H.SPACE:case H.LINE_FEED:case H.TABULATION:case H.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=q.BEFORE_ATTRIBUTE_NAME,!1;case H.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=q.SELF_CLOSING_START_TAG,!1;case H.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===H.SOLIDUS?this.state=q.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=q.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){Ci(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 H.SOLIDUS:{this.state=q.SCRIPT_DATA_END_TAG_OPEN;break}case H.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){Ci(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===H.HYPHEN_MINUS?(this.state=q.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=q.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===H.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 H.HYPHEN_MINUS:{this.state=q.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case H.LESS_THAN_SIGN:{this.state=q.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case H.NULL:{this._err(xe.unexpectedNullCharacter),this._emitChars(Yt);break}case H.EOF:{this._err(xe.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case H.HYPHEN_MINUS:{this.state=q.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case H.LESS_THAN_SIGN:{this.state=q.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case H.NULL:{this._err(xe.unexpectedNullCharacter),this.state=q.SCRIPT_DATA_ESCAPED,this._emitChars(Yt);break}case H.EOF:{this._err(xe.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=q.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case H.HYPHEN_MINUS:{this._emitChars("-");break}case H.LESS_THAN_SIGN:{this.state=q.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case H.GREATER_THAN_SIGN:{this.state=q.SCRIPT_DATA,this._emitChars(">");break}case H.NULL:{this._err(xe.unexpectedNullCharacter),this.state=q.SCRIPT_DATA_ESCAPED,this._emitChars(Yt);break}case H.EOF:{this._err(xe.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=q.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===H.SOLIDUS?this.state=q.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Ci(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){Ci(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(wr.SCRIPT,!1)&&g7(this.preprocessor.peek(wr.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<wr.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 H.HYPHEN_MINUS:{this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case H.LESS_THAN_SIGN:{this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case H.NULL:{this._err(xe.unexpectedNullCharacter),this._emitChars(Yt);break}case H.EOF:{this._err(xe.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case H.HYPHEN_MINUS:{this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case H.LESS_THAN_SIGN:{this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case H.NULL:{this._err(xe.unexpectedNullCharacter),this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Yt);break}case H.EOF:{this._err(xe.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case H.HYPHEN_MINUS:{this._emitChars("-");break}case H.LESS_THAN_SIGN:{this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case H.GREATER_THAN_SIGN:{this.state=q.SCRIPT_DATA,this._emitChars(">");break}case H.NULL:{this._err(xe.unexpectedNullCharacter),this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Yt);break}case H.EOF:{this._err(xe.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=q.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===H.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(wr.SCRIPT,!1)&&g7(this.preprocessor.peek(wr.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<wr.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 H.SPACE:case H.LINE_FEED:case H.TABULATION:case H.FORM_FEED:break;case H.SOLIDUS:case H.GREATER_THAN_SIGN:case H.EOF:{this.state=q.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case H.EQUALS_SIGN:{this._err(xe.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 H.SPACE:case H.LINE_FEED:case H.TABULATION:case H.FORM_FEED:case H.SOLIDUS:case H.GREATER_THAN_SIGN:case H.EOF:{this._leaveAttrName(),this.state=q.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case H.EQUALS_SIGN:{this._leaveAttrName(),this.state=q.BEFORE_ATTRIBUTE_VALUE;break}case H.QUOTATION_MARK:case H.APOSTROPHE:case H.LESS_THAN_SIGN:{this._err(xe.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case H.NULL:{this._err(xe.unexpectedNullCharacter),this.currentAttr.name+=Yt;break}default:this.currentAttr.name+=String.fromCodePoint(Oc(t)?yh(t):t)}}_stateAfterAttributeName(t){switch(t){case H.SPACE:case H.LINE_FEED:case H.TABULATION:case H.FORM_FEED:break;case H.SOLIDUS:{this.state=q.SELF_CLOSING_START_TAG;break}case H.EQUALS_SIGN:{this.state=q.BEFORE_ATTRIBUTE_VALUE;break}case H.GREATER_THAN_SIGN:{this.state=q.DATA,this.emitCurrentTagToken();break}case H.EOF:{this._err(xe.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=q.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case H.SPACE:case H.LINE_FEED:case H.TABULATION:case H.FORM_FEED:break;case H.QUOTATION_MARK:{this.state=q.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case H.APOSTROPHE:{this.state=q.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case H.GREATER_THAN_SIGN:{this._err(xe.missingAttributeValue),this.state=q.DATA,this.emitCurrentTagToken();break}default:this.state=q.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case H.QUOTATION_MARK:{this.state=q.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case H.AMPERSAND:{this._startCharacterReference();break}case H.NULL:{this._err(xe.unexpectedNullCharacter),this.currentAttr.value+=Yt;break}case H.EOF:{this._err(xe.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case H.APOSTROPHE:{this.state=q.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case H.AMPERSAND:{this._startCharacterReference();break}case H.NULL:{this._err(xe.unexpectedNullCharacter),this.currentAttr.value+=Yt;break}case H.EOF:{this._err(xe.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case H.SPACE:case H.LINE_FEED:case H.TABULATION:case H.FORM_FEED:{this._leaveAttrValue(),this.state=q.BEFORE_ATTRIBUTE_NAME;break}case H.AMPERSAND:{this._startCharacterReference();break}case H.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=q.DATA,this.emitCurrentTagToken();break}case H.NULL:{this._err(xe.unexpectedNullCharacter),this.currentAttr.value+=Yt;break}case H.QUOTATION_MARK:case H.APOSTROPHE:case H.LESS_THAN_SIGN:case H.EQUALS_SIGN:case H.GRAVE_ACCENT:{this._err(xe.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case H.EOF:{this._err(xe.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case H.SPACE:case H.LINE_FEED:case H.TABULATION:case H.FORM_FEED:{this._leaveAttrValue(),this.state=q.BEFORE_ATTRIBUTE_NAME;break}case H.SOLIDUS:{this._leaveAttrValue(),this.state=q.SELF_CLOSING_START_TAG;break}case H.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=q.DATA,this.emitCurrentTagToken();break}case H.EOF:{this._err(xe.eofInTag),this._emitEOFToken();break}default:this._err(xe.missingWhitespaceBetweenAttributes),this.state=q.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case H.GREATER_THAN_SIGN:{const n=this.currentToken;n.selfClosing=!0,this.state=q.DATA,this.emitCurrentTagToken();break}case H.EOF:{this._err(xe.eofInTag),this._emitEOFToken();break}default:this._err(xe.unexpectedSolidusInTag),this.state=q.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const n=this.currentToken;switch(t){case H.GREATER_THAN_SIGN:{this.state=q.DATA,this.emitCurrentComment(n);break}case H.EOF:{this.emitCurrentComment(n),this._emitEOFToken();break}case H.NULL:{this._err(xe.unexpectedNullCharacter),n.data+=Yt;break}default:n.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(wr.DASH_DASH,!0)?(this._createCommentToken(wr.DASH_DASH.length+1),this.state=q.COMMENT_START):this._consumeSequenceIfMatch(wr.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(wr.DOCTYPE.length+1),this.state=q.DOCTYPE):this._consumeSequenceIfMatch(wr.CDATA_START,!0)?this.inForeignNode?this.state=q.CDATA_SECTION:(this._err(xe.cdataInHtmlContent),this._createCommentToken(wr.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=q.BOGUS_COMMENT):this._ensureHibernation()||(this._err(xe.incorrectlyOpenedComment),this._createCommentToken(2),this.state=q.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case H.HYPHEN_MINUS:{this.state=q.COMMENT_START_DASH;break}case H.GREATER_THAN_SIGN:{this._err(xe.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 H.HYPHEN_MINUS:{this.state=q.COMMENT_END;break}case H.GREATER_THAN_SIGN:{this._err(xe.abruptClosingOfEmptyComment),this.state=q.DATA,this.emitCurrentComment(n);break}case H.EOF:{this._err(xe.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 H.HYPHEN_MINUS:{this.state=q.COMMENT_END_DASH;break}case H.LESS_THAN_SIGN:{n.data+="<",this.state=q.COMMENT_LESS_THAN_SIGN;break}case H.NULL:{this._err(xe.unexpectedNullCharacter),n.data+=Yt;break}case H.EOF:{this._err(xe.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const n=this.currentToken;switch(t){case H.EXCLAMATION_MARK:{n.data+="!",this.state=q.COMMENT_LESS_THAN_SIGN_BANG;break}case H.LESS_THAN_SIGN:{n.data+="<";break}default:this.state=q.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===H.HYPHEN_MINUS?this.state=q.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=q.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===H.HYPHEN_MINUS?this.state=q.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=q.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==H.GREATER_THAN_SIGN&&t!==H.EOF&&this._err(xe.nestedComment),this.state=q.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const n=this.currentToken;switch(t){case H.HYPHEN_MINUS:{this.state=q.COMMENT_END;break}case H.EOF:{this._err(xe.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 H.GREATER_THAN_SIGN:{this.state=q.DATA,this.emitCurrentComment(n);break}case H.EXCLAMATION_MARK:{this.state=q.COMMENT_END_BANG;break}case H.HYPHEN_MINUS:{n.data+="-";break}case H.EOF:{this._err(xe.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 H.HYPHEN_MINUS:{n.data+="--!",this.state=q.COMMENT_END_DASH;break}case H.GREATER_THAN_SIGN:{this._err(xe.incorrectlyClosedComment),this.state=q.DATA,this.emitCurrentComment(n);break}case H.EOF:{this._err(xe.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+="--!",this.state=q.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case H.SPACE:case H.LINE_FEED:case H.TABULATION:case H.FORM_FEED:{this.state=q.BEFORE_DOCTYPE_NAME;break}case H.GREATER_THAN_SIGN:{this.state=q.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case H.EOF:{this._err(xe.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(xe.missingWhitespaceBeforeDoctypeName),this.state=q.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(Oc(t))this._createDoctypeToken(String.fromCharCode(yh(t))),this.state=q.DOCTYPE_NAME;else switch(t){case H.SPACE:case H.LINE_FEED:case H.TABULATION:case H.FORM_FEED:break;case H.NULL:{this._err(xe.unexpectedNullCharacter),this._createDoctypeToken(Yt),this.state=q.DOCTYPE_NAME;break}case H.GREATER_THAN_SIGN:{this._err(xe.missingDoctypeName),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=q.DATA;break}case H.EOF:{this._err(xe.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 H.SPACE:case H.LINE_FEED:case H.TABULATION:case H.FORM_FEED:{this.state=q.AFTER_DOCTYPE_NAME;break}case H.GREATER_THAN_SIGN:{this.state=q.DATA,this.emitCurrentDoctype(n);break}case H.NULL:{this._err(xe.unexpectedNullCharacter),n.name+=Yt;break}case H.EOF:{this._err(xe.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.name+=String.fromCodePoint(Oc(t)?yh(t):t)}}_stateAfterDoctypeName(t){const n=this.currentToken;switch(t){case H.SPACE:case H.LINE_FEED:case H.TABULATION:case H.FORM_FEED:break;case H.GREATER_THAN_SIGN:{this.state=q.DATA,this.emitCurrentDoctype(n);break}case H.EOF:{this._err(xe.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(wr.PUBLIC,!1)?this.state=q.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(wr.SYSTEM,!1)?this.state=q.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(xe.invalidCharacterSequenceAfterDoctypeName),n.forceQuirks=!0,this.state=q.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const n=this.currentToken;switch(t){case H.SPACE:case H.LINE_FEED:case H.TABULATION:case H.FORM_FEED:{this.state=q.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case H.QUOTATION_MARK:{this._err(xe.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=q.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case H.APOSTROPHE:{this._err(xe.missingWhitespaceAfterDoctypePublicKeyword),n.publicId="",this.state=q.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case H.GREATER_THAN_SIGN:{this._err(xe.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=q.DATA,this.emitCurrentDoctype(n);break}case H.EOF:{this._err(xe.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(xe.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=q.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case H.SPACE:case H.LINE_FEED:case H.TABULATION:case H.FORM_FEED:break;case H.QUOTATION_MARK:{n.publicId="",this.state=q.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case H.APOSTROPHE:{n.publicId="",this.state=q.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case H.GREATER_THAN_SIGN:{this._err(xe.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=q.DATA,this.emitCurrentDoctype(n);break}case H.EOF:{this._err(xe.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(xe.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=q.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case H.QUOTATION_MARK:{this.state=q.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case H.NULL:{this._err(xe.unexpectedNullCharacter),n.publicId+=Yt;break}case H.GREATER_THAN_SIGN:{this._err(xe.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=q.DATA;break}case H.EOF:{this._err(xe.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 H.APOSTROPHE:{this.state=q.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case H.NULL:{this._err(xe.unexpectedNullCharacter),n.publicId+=Yt;break}case H.GREATER_THAN_SIGN:{this._err(xe.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=q.DATA;break}case H.EOF:{this._err(xe.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 H.SPACE:case H.LINE_FEED:case H.TABULATION:case H.FORM_FEED:{this.state=q.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case H.GREATER_THAN_SIGN:{this.state=q.DATA,this.emitCurrentDoctype(n);break}case H.QUOTATION_MARK:{this._err(xe.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=q.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case H.APOSTROPHE:{this._err(xe.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId="",this.state=q.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case H.EOF:{this._err(xe.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(xe.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=q.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const n=this.currentToken;switch(t){case H.SPACE:case H.LINE_FEED:case H.TABULATION:case H.FORM_FEED:break;case H.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=q.DATA;break}case H.QUOTATION_MARK:{n.systemId="",this.state=q.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case H.APOSTROPHE:{n.systemId="",this.state=q.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case H.EOF:{this._err(xe.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(xe.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=q.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const n=this.currentToken;switch(t){case H.SPACE:case H.LINE_FEED:case H.TABULATION:case H.FORM_FEED:{this.state=q.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case H.QUOTATION_MARK:{this._err(xe.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=q.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case H.APOSTROPHE:{this._err(xe.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId="",this.state=q.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case H.GREATER_THAN_SIGN:{this._err(xe.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=q.DATA,this.emitCurrentDoctype(n);break}case H.EOF:{this._err(xe.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(xe.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=q.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case H.SPACE:case H.LINE_FEED:case H.TABULATION:case H.FORM_FEED:break;case H.QUOTATION_MARK:{n.systemId="",this.state=q.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case H.APOSTROPHE:{n.systemId="",this.state=q.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case H.GREATER_THAN_SIGN:{this._err(xe.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=q.DATA,this.emitCurrentDoctype(n);break}case H.EOF:{this._err(xe.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(xe.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=q.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case H.QUOTATION_MARK:{this.state=q.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case H.NULL:{this._err(xe.unexpectedNullCharacter),n.systemId+=Yt;break}case H.GREATER_THAN_SIGN:{this._err(xe.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=q.DATA;break}case H.EOF:{this._err(xe.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 H.APOSTROPHE:{this.state=q.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case H.NULL:{this._err(xe.unexpectedNullCharacter),n.systemId+=Yt;break}case H.GREATER_THAN_SIGN:{this._err(xe.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=q.DATA;break}case H.EOF:{this._err(xe.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 H.SPACE:case H.LINE_FEED:case H.TABULATION:case H.FORM_FEED:break;case H.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=q.DATA;break}case H.EOF:{this._err(xe.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(xe.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=q.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const n=this.currentToken;switch(t){case H.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=q.DATA;break}case H.NULL:{this._err(xe.unexpectedNullCharacter);break}case H.EOF:{this.emitCurrentDoctype(n),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case H.RIGHT_SQUARE_BRACKET:{this.state=q.CDATA_SECTION_BRACKET;break}case H.EOF:{this._err(xe.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===H.RIGHT_SQUARE_BRACKET?this.state=q.CDATA_SECTION_END:(this._emitChars("]"),this.state=q.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case H.GREATER_THAN_SIGN:{this.state=q.DATA;break}case H.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(H.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&p7(this.preprocessor.peek(1))?q.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){p7(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===H.SEMICOLON&&this._err(xe.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}}const b9=new Set([w.DD,w.DT,w.LI,w.OPTGROUP,w.OPTION,w.P,w.RB,w.RP,w.RT,w.RTC]),b7=new Set([...b9,w.CAPTION,w.COLGROUP,w.TBODY,w.TD,w.TFOOT,w.TH,w.THEAD,w.TR]),uf=new Set([w.APPLET,w.CAPTION,w.HTML,w.MARQUEE,w.OBJECT,w.TABLE,w.TD,w.TEMPLATE,w.TH]),H$=new Set([...uf,w.OL,w.UL]),B$=new Set([...uf,w.BUTTON]),x7=new Set([w.ANNOTATION_XML,w.MI,w.MN,w.MO,w.MS,w.MTEXT]),y7=new Set([w.DESC,w.FOREIGN_OBJECT,w.TITLE]),z$=new Set([w.TR,w.TEMPLATE,w.HTML]),U$=new Set([w.TBODY,w.TFOOT,w.THEAD,w.TEMPLATE,w.HTML]),F$=new Set([w.TABLE,w.TEMPLATE,w.HTML]),q$=new Set([w.TD,w.TH]);class G${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=w.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===w.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(e2,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(F$,Se.HTML)}clearBackToTableBodyContext(){this.clearBackTo(U$,Se.HTML)}clearBackToTableRowContext(){this.clearBackTo(z$,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]===w.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]===w.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(y7.has(a))return!1;break}case Se.MATHML:{if(x7.has(a))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,uf)}hasInListItemScope(t){return this.hasInDynamicScope(t,H$)}hasInButtonScope(t){return this.hasInDynamicScope(t,B$)}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(e2.has(n))return!0;if(uf.has(n))return!1;break}case Se.SVG:{if(y7.has(n))return!1;break}case Se.MATHML:{if(x7.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 w.TABLE:case w.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 w.TBODY:case w.THEAD:case w.TFOOT:return!0;case w.TABLE:case w.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 w.OPTION:case w.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&b9.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&b7.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==void 0&&this.currentTagId!==t&&b7.has(this.currentTagId);)this.pop()}}const Cg=3;var Za;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(Za||(Za={}));const v7={type:Za.Marker};class $${constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,n){const r=[],a=n.length,i=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===Za.Marker)break;const{element:h}=c;if(this.treeAdapter.getTagName(h)===i&&this.treeAdapter.getNamespaceURI(h)===o){const g=this.treeAdapter.getAttrList(h);g.length===a&&r.push({idx:u,attrs:g})}}return r}_ensureNoahArkCondition(t){if(this.entries.length<Cg)return;const n=this.treeAdapter.getAttrList(t),r=this._getNoahArkConditionCandidates(t,n);if(r.length<Cg)return;const a=new Map(n.map(o=>[o.name,o.value]));let i=0;for(let o=0;o<r.length;o++){const u=r[o];u.attrs.every(c=>a.get(c.name)===c.value)&&(i+=1,i>=Cg&&this.entries.splice(u.idx,1))}}insertMarker(){this.entries.unshift(v7)}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.unshift({type:Za.Element,element:t,token:n})}insertElementAfterBookmark(t,n){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:Za.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(v7);t===-1?this.entries.length=0:this.entries.splice(0,t+1)}getElementEntryInScopeWithTagName(t){const n=this.entries.find(r=>r.type===Za.Marker||this.treeAdapter.getTagName(r.element)===t);return n&&n.type===Za.Element?n:null}getElementEntry(t){return this.entries.find(n=>n.type===Za.Element&&n.element===t)}}const Oi={createDocument(){return{nodeName:"#document",mode:oa.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(i=>i.nodeName==="#documentType");if(a)a.name=t,a.publicId=n,a.systemId=r;else{const i={nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null};Oi.appendChild(e,i)}},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(Oi.isTextNode(n)){n.value+=t;return}}Oi.appendChild(e,Oi.createTextNode(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&Oi.isTextNode(r)?r.value+=t:Oi.insertBefore(e,Oi.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}}},x9="html",V$="about:legacy-compat",Y$="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",y9=["+//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//"],Q$=[...y9,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],W$=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),v9=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],K$=[...v9,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function E7(e,t){return t.some(n=>e.startsWith(n))}function X$(e){return e.name===x9&&e.publicId===null&&(e.systemId===null||e.systemId===V$)}function Z$(e){if(e.name!==x9)return oa.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===Y$)return oa.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),W$.has(n))return oa.QUIRKS;let r=t===null?Q$:y9;if(E7(n,r))return oa.QUIRKS;if(r=t===null?v9:K$,E7(n,r))return oa.LIMITED_QUIRKS}return oa.NO_QUIRKS}const w7={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},J$="definitionurl",eV="definitionURL",tV=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])),nV=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}]]),rV=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])),aV=new Set([w.B,w.BIG,w.BLOCKQUOTE,w.BODY,w.BR,w.CENTER,w.CODE,w.DD,w.DIV,w.DL,w.DT,w.EM,w.EMBED,w.H1,w.H2,w.H3,w.H4,w.H5,w.H6,w.HEAD,w.HR,w.I,w.IMG,w.LI,w.LISTING,w.MENU,w.META,w.NOBR,w.OL,w.P,w.PRE,w.RUBY,w.S,w.SMALL,w.SPAN,w.STRONG,w.STRIKE,w.SUB,w.SUP,w.TABLE,w.TT,w.U,w.UL,w.VAR]);function sV(e){const t=e.tagID;return t===w.FONT&&e.attrs.some(({name:r})=>r===Ol.COLOR||r===Ol.SIZE||r===Ol.FACE)||aV.has(t)}function E9(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===J$){e.attrs[t].name=eV;break}}function w9(e){for(let t=0;t<e.attrs.length;t++){const n=tV.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function $x(e){for(let t=0;t<e.attrs.length;t++){const n=nV.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 iV(e){const t=rV.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=vu(e.tagName))}function lV(e,t){return t===Se.MATHML&&(e===w.MI||e===w.MO||e===w.MN||e===w.MS||e===w.MTEXT)}function oV(e,t,n){if(t===Se.MATHML&&e===w.ANNOTATION_XML){for(let r=0;r<n.length;r++)if(n[r].name===Ol.ENCODING){const a=n[r].value.toLowerCase();return a===w7.TEXT_HTML||a===w7.APPLICATION_XML}}return t===Se.SVG&&(e===w.FOREIGN_OBJECT||e===w.DESC||e===w.TITLE)}function uV(e,t,n,r){return(!r||r===Se.HTML)&&oV(e,t,n)||(!r||r===Se.MATHML)&&lV(e,t)}const cV="hidden",dV=8,hV=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 fV={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},T9=new Set([w.TABLE,w.TBODY,w.TFOOT,w.THEAD,w.TR]),T7={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Oi,onParseError:null};class _7{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={...T7,...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 j$(this.options,this),this.activeFormattingElements=new $$(this.treeAdapter),this.fragmentContextID=r?vu(this.treeAdapter.getTagName(r)):w.UNKNOWN,this._setContextModes(r??this.document,this.fragmentContextID),this.openElements=new G$(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={...T7,...n};t??(t=r.treeAdapter.createElement(ue.TEMPLATE,Se.HTML,[]));const a=r.treeAdapter.createElement("documentmock",Se.HTML,[]),i=new this(r,a,t);return i.fragmentContextID===w.TEMPLATE&&i.tmplInsertionModeStack.unshift(W.IN_TEMPLATE),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),i}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 i=(a=t.location)!==null&&a!==void 0?a:fV,o={code:n,startLine:i.startLine,startCol:i.startCol,startOffset:i.startOffset,endLine:r?i.startLine:i.endLine,endCol:r?i.startCol:i.endCol,endOffset:r?i.startOffset:i.endOffset};this.onParseError(o)}onItemPush(t,n,r){var a,i;(i=(a=this.treeAdapter).onItemPush)===null||i===void 0||i.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 i,o;this.openElements.stackTop===0&&this.fragmentContext?(i=this.fragmentContext,o=this.fragmentContextID):{current:i,currentTagId:o}=this.openElements,this._setContextModes(i,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)===ue.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 w.TITLE:case w.TEXTAREA:{this.tokenizer.state=hn.RCDATA;break}case w.STYLE:case w.XMP:case w.IFRAME:case w.NOEMBED:case w.NOFRAMES:case w.NOSCRIPT:{this.tokenizer.state=hn.RAWTEXT;break}case w.SCRIPT:{this.tokenizer.state=hn.SCRIPT_DATA;break}case w.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(ue.HTML,Se.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,w.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),i=r?a.lastIndexOf(r):a.length,o=a[i-1];if(this.treeAdapter.getNodeSourceCodeLocation(o)){const{endLine:c,endCol:h,endOffset:g}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(o,{endLine:c,endCol:h,endOffset:g})}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),i=n.type===ht.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,i)}}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===w.SVG&&this.treeAdapter.getTagName(n)===ue.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===Se.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===w.MGLYPH||t.tagID===w.MALIGNMARK)&&r!==void 0&&!this._isIntegrationPoint(r,n,Se.HTML)}_processToken(t){switch(t.type){case ht.CHARACTER:{this.onCharacter(t);break}case ht.NULL_CHARACTER:{this.onNullCharacter(t);break}case ht.COMMENT:{this.onComment(t);break}case ht.DOCTYPE:{this.onDoctype(t);break}case ht.START_TAG:{this._processStartTag(t);break}case ht.END_TAG:{this.onEndTag(t);break}case ht.EOF:{this.onEof(t);break}case ht.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,n,r){const a=this.treeAdapter.getNamespaceURI(n),i=this.treeAdapter.getAttrList(n);return uV(t,a,i,r)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const n=this.activeFormattingElements.entries.findIndex(a=>a.type===Za.Marker||this.openElements.contains(a.element)),r=n===-1?t-1:n-1;for(let a=r;a>=0;a--){const i=this.activeFormattingElements.entries[a];this._insertElement(i.token,this.treeAdapter.getNamespaceURI(i.element)),i.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=W.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(w.P),this.openElements.popUntilTagNamePopped(w.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case w.TR:{this.insertionMode=W.IN_ROW;return}case w.TBODY:case w.THEAD:case w.TFOOT:{this.insertionMode=W.IN_TABLE_BODY;return}case w.CAPTION:{this.insertionMode=W.IN_CAPTION;return}case w.COLGROUP:{this.insertionMode=W.IN_COLUMN_GROUP;return}case w.TABLE:{this.insertionMode=W.IN_TABLE;return}case w.BODY:{this.insertionMode=W.IN_BODY;return}case w.FRAMESET:{this.insertionMode=W.IN_FRAMESET;return}case w.SELECT:{this._resetInsertionModeForSelect(t);return}case w.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case w.HTML:{this.insertionMode=this.headElement?W.AFTER_HEAD:W.BEFORE_HEAD;return}case w.TD:case w.TH:{if(t>0){this.insertionMode=W.IN_CELL;return}break}case w.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===w.TEMPLATE)break;if(r===w.TABLE){this.insertionMode=W.IN_SELECT_IN_TABLE;return}}this.insertionMode=W.IN_SELECT}_isElementCausesFosterParenting(t){return T9.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 w.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(n)===Se.HTML)return{parent:this.treeAdapter.getTemplateContent(n),beforeElement:null};break}case w.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 L$[r].has(n)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){qY(this,t);return}switch(this.insertionMode){case W.INITIAL:{Tc(this,t);break}case W.BEFORE_HTML:{Uc(this,t);break}case W.BEFORE_HEAD:{Fc(this,t);break}case W.IN_HEAD:{qc(this,t);break}case W.IN_HEAD_NO_SCRIPT:{Gc(this,t);break}case W.AFTER_HEAD:{$c(this,t);break}case W.IN_BODY:case W.IN_CAPTION:case W.IN_CELL:case W.IN_TEMPLATE:{k9(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:{Og(this,t);break}case W.IN_TABLE_TEXT:{R9(this,t);break}case W.IN_COLUMN_GROUP:{cf(this,t);break}case W.AFTER_BODY:{df(this,t);break}case W.AFTER_AFTER_BODY:{Uh(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){FY(this,t);return}switch(this.insertionMode){case W.INITIAL:{Tc(this,t);break}case W.BEFORE_HTML:{Uc(this,t);break}case W.BEFORE_HEAD:{Fc(this,t);break}case W.IN_HEAD:{qc(this,t);break}case W.IN_HEAD_NO_SCRIPT:{Gc(this,t);break}case W.AFTER_HEAD:{$c(this,t);break}case W.TEXT:{this._insertCharacters(t);break}case W.IN_TABLE:case W.IN_TABLE_BODY:case W.IN_ROW:{Og(this,t);break}case W.IN_COLUMN_GROUP:{cf(this,t);break}case W.AFTER_BODY:{df(this,t);break}case W.AFTER_AFTER_BODY:{Uh(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){t2(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:{t2(this,t);break}case W.IN_TABLE_TEXT:{_c(this,t);break}case W.AFTER_BODY:{vV(this,t);break}case W.AFTER_AFTER_BODY:case W.AFTER_AFTER_FRAMESET:{EV(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case W.INITIAL:{wV(this,t);break}case W.BEFORE_HEAD:case W.IN_HEAD:case W.IN_HEAD_NO_SCRIPT:case W.AFTER_HEAD:{this._err(t,xe.misplacedDoctype);break}case W.IN_TABLE_TEXT:{_c(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,xe.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?GY(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case W.INITIAL:{Tc(this,t);break}case W.BEFORE_HTML:{TV(this,t);break}case W.BEFORE_HEAD:{kV(this,t);break}case W.IN_HEAD:{Da(this,t);break}case W.IN_HEAD_NO_SCRIPT:{NV(this,t);break}case W.AFTER_HEAD:{OV(this,t);break}case W.IN_BODY:{nr(this,t);break}case W.IN_TABLE:{lu(this,t);break}case W.IN_TABLE_TEXT:{_c(this,t);break}case W.IN_CAPTION:{SY(this,t);break}case W.IN_COLUMN_GROUP:{Qx(this,t);break}case W.IN_TABLE_BODY:{fm(this,t);break}case W.IN_ROW:{mm(this,t);break}case W.IN_CELL:{CY(this,t);break}case W.IN_SELECT:{I9(this,t);break}case W.IN_SELECT_IN_TABLE:{RY(this,t);break}case W.IN_TEMPLATE:{LY(this,t);break}case W.AFTER_BODY:{MY(this,t);break}case W.IN_FRAMESET:{PY(this,t);break}case W.AFTER_FRAMESET:{HY(this,t);break}case W.AFTER_AFTER_BODY:{zY(this,t);break}case W.AFTER_AFTER_FRAMESET:{UY(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?$Y(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case W.INITIAL:{Tc(this,t);break}case W.BEFORE_HTML:{_V(this,t);break}case W.BEFORE_HEAD:{SV(this,t);break}case W.IN_HEAD:{AV(this,t);break}case W.IN_HEAD_NO_SCRIPT:{CV(this,t);break}case W.AFTER_HEAD:{RV(this,t);break}case W.IN_BODY:{hm(this,t);break}case W.TEXT:{gY(this,t);break}case W.IN_TABLE:{u0(this,t);break}case W.IN_TABLE_TEXT:{_c(this,t);break}case W.IN_CAPTION:{AY(this,t);break}case W.IN_COLUMN_GROUP:{NY(this,t);break}case W.IN_TABLE_BODY:{n2(this,t);break}case W.IN_ROW:{L9(this,t);break}case W.IN_CELL:{OY(this,t);break}case W.IN_SELECT:{M9(this,t);break}case W.IN_SELECT_IN_TABLE:{DY(this,t);break}case W.IN_TEMPLATE:{IY(this,t);break}case W.AFTER_BODY:{j9(this,t);break}case W.IN_FRAMESET:{jY(this,t);break}case W.AFTER_FRAMESET:{BY(this,t);break}case W.AFTER_AFTER_BODY:{Uh(this,t);break}}}onEof(t){switch(this.insertionMode){case W.INITIAL:{Tc(this,t);break}case W.BEFORE_HTML:{Uc(this,t);break}case W.BEFORE_HEAD:{Fc(this,t);break}case W.IN_HEAD:{qc(this,t);break}case W.IN_HEAD_NO_SCRIPT:{Gc(this,t);break}case W.AFTER_HEAD:{$c(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:{C9(this,t);break}case W.TEXT:{bY(this,t);break}case W.IN_TABLE_TEXT:{_c(this,t);break}case W.IN_TEMPLATE:{P9(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:{Yx(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===H.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:{_9(this,t);break}case W.IN_TABLE:case W.IN_TABLE_BODY:case W.IN_ROW:{Og(this,t);break}case W.IN_TABLE_TEXT:{O9(this,t);break}}}}function mV(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):N9(e,t),n}function pV(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 gV(e,t,n){let r=t,a=e.openElements.getCommonAncestor(t);for(let i=0,o=a;o!==n;i++,o=a){a=e.openElements.getCommonAncestor(o);const u=e.activeFormattingElements.getElementEntry(o),c=u&&i>=hV;!u||c?(c&&e.activeFormattingElements.removeEntry(u),e.openElements.remove(o)):(o=bV(e,u),r===t&&(e.activeFormattingElements.bookmark=u),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(o,r),r=o)}return r}function bV(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 xV(e,t,n){const r=e.treeAdapter.getTagName(t),a=vu(r);if(e._isElementCausesFosterParenting(a))e._fosterParentElement(n);else{const i=e.treeAdapter.getNamespaceURI(t);a===w.TEMPLATE&&i===Se.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function yV(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),{token:a}=n,i=e.treeAdapter.createElement(a.tagName,r,a.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,a),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,i,a.tagID)}function Vx(e,t){for(let n=0;n<dV;n++){const r=mV(e,t);if(!r)break;const a=pV(e,r);if(!a)break;e.activeFormattingElements.bookmark=r;const i=gV(e,a,r.element),o=e.openElements.getCommonAncestor(r.element);e.treeAdapter.detachNode(i),o&&xV(e,o,i),yV(e,a,r)}}function t2(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function vV(e,t){e._appendCommentNode(t,e.openElements.items[0])}function EV(e,t){e._appendCommentNode(t,e.document)}function Yx(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 i=e.openElements.items[1],o=e.treeAdapter.getNodeSourceCodeLocation(i);o&&!o.endTag&&e._setEndLocation(i,t)}}}}function wV(e,t){e._setDocumentType(t);const n=t.forceQuirks?oa.QUIRKS:Z$(t);X$(t)||e._err(t,xe.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=W.BEFORE_HTML}function Tc(e,t){e._err(t,xe.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,oa.QUIRKS),e.insertionMode=W.BEFORE_HTML,e._processToken(t)}function TV(e,t){t.tagID===w.HTML?(e._insertElement(t,Se.HTML),e.insertionMode=W.BEFORE_HEAD):Uc(e,t)}function _V(e,t){const n=t.tagID;(n===w.HTML||n===w.HEAD||n===w.BODY||n===w.BR)&&Uc(e,t)}function Uc(e,t){e._insertFakeRootElement(),e.insertionMode=W.BEFORE_HEAD,e._processToken(t)}function kV(e,t){switch(t.tagID){case w.HTML:{nr(e,t);break}case w.HEAD:{e._insertElement(t,Se.HTML),e.headElement=e.openElements.current,e.insertionMode=W.IN_HEAD;break}default:Fc(e,t)}}function SV(e,t){const n=t.tagID;n===w.HEAD||n===w.BODY||n===w.HTML||n===w.BR?Fc(e,t):e._err(t,xe.endTagWithoutMatchingOpenElement)}function Fc(e,t){e._insertFakeElement(ue.HEAD,w.HEAD),e.headElement=e.openElements.current,e.insertionMode=W.IN_HEAD,e._processToken(t)}function Da(e,t){switch(t.tagID){case w.HTML:{nr(e,t);break}case w.BASE:case w.BASEFONT:case w.BGSOUND:case w.LINK:case w.META:{e._appendElement(t,Se.HTML),t.ackSelfClosing=!0;break}case w.TITLE:{e._switchToTextParsing(t,hn.RCDATA);break}case w.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,hn.RAWTEXT):(e._insertElement(t,Se.HTML),e.insertionMode=W.IN_HEAD_NO_SCRIPT);break}case w.NOFRAMES:case w.STYLE:{e._switchToTextParsing(t,hn.RAWTEXT);break}case w.SCRIPT:{e._switchToTextParsing(t,hn.SCRIPT_DATA);break}case w.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=W.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(W.IN_TEMPLATE);break}case w.HEAD:{e._err(t,xe.misplacedStartTagForHeadElement);break}default:qc(e,t)}}function AV(e,t){switch(t.tagID){case w.HEAD:{e.openElements.pop(),e.insertionMode=W.AFTER_HEAD;break}case w.BODY:case w.BR:case w.HTML:{qc(e,t);break}case w.TEMPLATE:{$l(e,t);break}default:e._err(t,xe.endTagWithoutMatchingOpenElement)}}function $l(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==w.TEMPLATE&&e._err(t,xe.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(w.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,xe.endTagWithoutMatchingOpenElement)}function qc(e,t){e.openElements.pop(),e.insertionMode=W.AFTER_HEAD,e._processToken(t)}function NV(e,t){switch(t.tagID){case w.HTML:{nr(e,t);break}case w.BASEFONT:case w.BGSOUND:case w.HEAD:case w.LINK:case w.META:case w.NOFRAMES:case w.STYLE:{Da(e,t);break}case w.NOSCRIPT:{e._err(t,xe.nestedNoscriptInHead);break}default:Gc(e,t)}}function CV(e,t){switch(t.tagID){case w.NOSCRIPT:{e.openElements.pop(),e.insertionMode=W.IN_HEAD;break}case w.BR:{Gc(e,t);break}default:e._err(t,xe.endTagWithoutMatchingOpenElement)}}function Gc(e,t){const n=t.type===ht.EOF?xe.openElementsLeftAfterEof:xe.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=W.IN_HEAD,e._processToken(t)}function OV(e,t){switch(t.tagID){case w.HTML:{nr(e,t);break}case w.BODY:{e._insertElement(t,Se.HTML),e.framesetOk=!1,e.insertionMode=W.IN_BODY;break}case w.FRAMESET:{e._insertElement(t,Se.HTML),e.insertionMode=W.IN_FRAMESET;break}case w.BASE:case w.BASEFONT:case w.BGSOUND:case w.LINK:case w.META:case w.NOFRAMES:case w.SCRIPT:case w.STYLE:case w.TEMPLATE:case w.TITLE:{e._err(t,xe.abandonedHeadElementChild),e.openElements.push(e.headElement,w.HEAD),Da(e,t),e.openElements.remove(e.headElement);break}case w.HEAD:{e._err(t,xe.misplacedStartTagForHeadElement);break}default:$c(e,t)}}function RV(e,t){switch(t.tagID){case w.BODY:case w.HTML:case w.BR:{$c(e,t);break}case w.TEMPLATE:{$l(e,t);break}default:e._err(t,xe.endTagWithoutMatchingOpenElement)}}function $c(e,t){e._insertFakeElement(ue.BODY,w.BODY),e.insertionMode=W.IN_BODY,dm(e,t)}function dm(e,t){switch(t.type){case ht.CHARACTER:{k9(e,t);break}case ht.WHITESPACE_CHARACTER:{_9(e,t);break}case ht.COMMENT:{t2(e,t);break}case ht.START_TAG:{nr(e,t);break}case ht.END_TAG:{hm(e,t);break}case ht.EOF:{C9(e,t);break}}}function _9(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function k9(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function DV(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function LV(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function IV(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 MV(e,t){e.openElements.hasInButtonScope(w.P)&&e._closePElement(),e._insertElement(t,Se.HTML)}function PV(e,t){e.openElements.hasInButtonScope(w.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&e2.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,Se.HTML)}function jV(e,t){e.openElements.hasInButtonScope(w.P)&&e._closePElement(),e._insertElement(t,Se.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function HV(e,t){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(w.P)&&e._closePElement(),e._insertElement(t,Se.HTML),n||(e.formElement=e.openElements.current))}function BV(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===w.LI&&a===w.LI||(n===w.DD||n===w.DT)&&(a===w.DD||a===w.DT)){e.openElements.generateImpliedEndTagsWithExclusion(a),e.openElements.popUntilTagNamePopped(a);break}if(a!==w.ADDRESS&&a!==w.DIV&&a!==w.P&&e._isSpecialElement(e.openElements.items[r],a))break}e.openElements.hasInButtonScope(w.P)&&e._closePElement(),e._insertElement(t,Se.HTML)}function zV(e,t){e.openElements.hasInButtonScope(w.P)&&e._closePElement(),e._insertElement(t,Se.HTML),e.tokenizer.state=hn.PLAINTEXT}function UV(e,t){e.openElements.hasInScope(w.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(w.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,Se.HTML),e.framesetOk=!1}function FV(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(ue.A);n&&(Vx(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 qV(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Se.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function GV(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(w.NOBR)&&(Vx(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,Se.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function $V(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Se.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function VV(e,t){e.treeAdapter.getDocumentMode(e.document)!==oa.QUIRKS&&e.openElements.hasInButtonScope(w.P)&&e._closePElement(),e._insertElement(t,Se.HTML),e.framesetOk=!1,e.insertionMode=W.IN_TABLE}function S9(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,Se.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function A9(e){const t=p9(e,Ol.TYPE);return t!=null&&t.toLowerCase()===cV}function YV(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,Se.HTML),A9(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function QV(e,t){e._appendElement(t,Se.HTML),t.ackSelfClosing=!0}function WV(e,t){e.openElements.hasInButtonScope(w.P)&&e._closePElement(),e._appendElement(t,Se.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function KV(e,t){t.tagName=ue.IMG,t.tagID=w.IMG,S9(e,t)}function XV(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 ZV(e,t){e.openElements.hasInButtonScope(w.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,hn.RAWTEXT)}function JV(e,t){e.framesetOk=!1,e._switchToTextParsing(t,hn.RAWTEXT)}function k7(e,t){e._switchToTextParsing(t,hn.RAWTEXT)}function eY(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 tY(e,t){e.openElements.currentTagId===w.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,Se.HTML)}function nY(e,t){e.openElements.hasInScope(w.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,Se.HTML)}function rY(e,t){e.openElements.hasInScope(w.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(w.RTC),e._insertElement(t,Se.HTML)}function aY(e,t){e._reconstructActiveFormattingElements(),E9(t),$x(t),t.selfClosing?e._appendElement(t,Se.MATHML):e._insertElement(t,Se.MATHML),t.ackSelfClosing=!0}function sY(e,t){e._reconstructActiveFormattingElements(),w9(t),$x(t),t.selfClosing?e._appendElement(t,Se.SVG):e._insertElement(t,Se.SVG),t.ackSelfClosing=!0}function S7(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Se.HTML)}function nr(e,t){switch(t.tagID){case w.I:case w.S:case w.B:case w.U:case w.EM:case w.TT:case w.BIG:case w.CODE:case w.FONT:case w.SMALL:case w.STRIKE:case w.STRONG:{qV(e,t);break}case w.A:{FV(e,t);break}case w.H1:case w.H2:case w.H3:case w.H4:case w.H5:case w.H6:{PV(e,t);break}case w.P:case w.DL:case w.OL:case w.UL:case w.DIV:case w.DIR:case w.NAV:case w.MAIN:case w.MENU:case w.ASIDE:case w.CENTER:case w.FIGURE:case w.FOOTER:case w.HEADER:case w.HGROUP:case w.DIALOG:case w.DETAILS:case w.ADDRESS:case w.ARTICLE:case w.SEARCH:case w.SECTION:case w.SUMMARY:case w.FIELDSET:case w.BLOCKQUOTE:case w.FIGCAPTION:{MV(e,t);break}case w.LI:case w.DD:case w.DT:{BV(e,t);break}case w.BR:case w.IMG:case w.WBR:case w.AREA:case w.EMBED:case w.KEYGEN:{S9(e,t);break}case w.HR:{WV(e,t);break}case w.RB:case w.RTC:{nY(e,t);break}case w.RT:case w.RP:{rY(e,t);break}case w.PRE:case w.LISTING:{jV(e,t);break}case w.XMP:{ZV(e,t);break}case w.SVG:{sY(e,t);break}case w.HTML:{DV(e,t);break}case w.BASE:case w.LINK:case w.META:case w.STYLE:case w.TITLE:case w.SCRIPT:case w.BGSOUND:case w.BASEFONT:case w.TEMPLATE:{Da(e,t);break}case w.BODY:{LV(e,t);break}case w.FORM:{HV(e,t);break}case w.NOBR:{GV(e,t);break}case w.MATH:{aY(e,t);break}case w.TABLE:{VV(e,t);break}case w.INPUT:{YV(e,t);break}case w.PARAM:case w.TRACK:case w.SOURCE:{QV(e,t);break}case w.IMAGE:{KV(e,t);break}case w.BUTTON:{UV(e,t);break}case w.APPLET:case w.OBJECT:case w.MARQUEE:{$V(e,t);break}case w.IFRAME:{JV(e,t);break}case w.SELECT:{eY(e,t);break}case w.OPTION:case w.OPTGROUP:{tY(e,t);break}case w.NOEMBED:case w.NOFRAMES:{k7(e,t);break}case w.FRAMESET:{IV(e,t);break}case w.TEXTAREA:{XV(e,t);break}case w.NOSCRIPT:{e.options.scriptingEnabled?k7(e,t):S7(e,t);break}case w.PLAINTEXT:{zV(e,t);break}case w.COL:case w.TH:case w.TD:case w.TR:case w.HEAD:case w.FRAME:case w.TBODY:case w.TFOOT:case w.THEAD:case w.CAPTION:case w.COLGROUP:break;default:S7(e,t)}}function iY(e,t){if(e.openElements.hasInScope(w.BODY)&&(e.insertionMode=W.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function lY(e,t){e.openElements.hasInScope(w.BODY)&&(e.insertionMode=W.AFTER_BODY,j9(e,t))}function oY(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function uY(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(w.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(w.FORM):n&&e.openElements.remove(n))}function cY(e){e.openElements.hasInButtonScope(w.P)||e._insertFakeElement(ue.P,w.P),e._closePElement()}function dY(e){e.openElements.hasInListItemScope(w.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(w.LI),e.openElements.popUntilTagNamePopped(w.LI))}function hY(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function fY(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function mY(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function pY(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(ue.BR,w.BR),e.openElements.pop(),e.framesetOk=!1}function N9(e,t){const n=t.tagName,r=t.tagID;for(let a=e.openElements.stackTop;a>0;a--){const i=e.openElements.items[a],o=e.openElements.tagIDs[a];if(r===o&&(r!==w.UNKNOWN||e.treeAdapter.getTagName(i)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=a&&e.openElements.shortenToLength(a);break}if(e._isSpecialElement(i,o))break}}function hm(e,t){switch(t.tagID){case w.A:case w.B:case w.I:case w.S:case w.U:case w.EM:case w.TT:case w.BIG:case w.CODE:case w.FONT:case w.NOBR:case w.SMALL:case w.STRIKE:case w.STRONG:{Vx(e,t);break}case w.P:{cY(e);break}case w.DL:case w.UL:case w.OL:case w.DIR:case w.DIV:case w.NAV:case w.PRE:case w.MAIN:case w.MENU:case w.ASIDE:case w.BUTTON:case w.CENTER:case w.FIGURE:case w.FOOTER:case w.HEADER:case w.HGROUP:case w.DIALOG:case w.ADDRESS:case w.ARTICLE:case w.DETAILS:case w.SEARCH:case w.SECTION:case w.SUMMARY:case w.LISTING:case w.FIELDSET:case w.BLOCKQUOTE:case w.FIGCAPTION:{oY(e,t);break}case w.LI:{dY(e);break}case w.DD:case w.DT:{hY(e,t);break}case w.H1:case w.H2:case w.H3:case w.H4:case w.H5:case w.H6:{fY(e);break}case w.BR:{pY(e);break}case w.BODY:{iY(e,t);break}case w.HTML:{lY(e,t);break}case w.FORM:{uY(e);break}case w.APPLET:case w.OBJECT:case w.MARQUEE:{mY(e,t);break}case w.TEMPLATE:{$l(e,t);break}default:N9(e,t)}}function C9(e,t){e.tmplInsertionModeStack.length>0?P9(e,t):Yx(e,t)}function gY(e,t){var n;t.tagID===w.SCRIPT&&((n=e.scriptHandler)===null||n===void 0||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function bY(e,t){e._err(t,xe.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function Og(e,t){if(e.openElements.currentTagId!==void 0&&T9.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 ht.CHARACTER:{R9(e,t);break}case ht.WHITESPACE_CHARACTER:{O9(e,t);break}}else D0(e,t)}function xY(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,Se.HTML),e.insertionMode=W.IN_CAPTION}function yY(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,Se.HTML),e.insertionMode=W.IN_COLUMN_GROUP}function vY(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(ue.COLGROUP,w.COLGROUP),e.insertionMode=W.IN_COLUMN_GROUP,Qx(e,t)}function EY(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,Se.HTML),e.insertionMode=W.IN_TABLE_BODY}function wY(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(ue.TBODY,w.TBODY),e.insertionMode=W.IN_TABLE_BODY,fm(e,t)}function TY(e,t){e.openElements.hasInTableScope(w.TABLE)&&(e.openElements.popUntilTagNamePopped(w.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function _Y(e,t){A9(t)?e._appendElement(t,Se.HTML):D0(e,t),t.ackSelfClosing=!0}function kY(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,Se.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function lu(e,t){switch(t.tagID){case w.TD:case w.TH:case w.TR:{wY(e,t);break}case w.STYLE:case w.SCRIPT:case w.TEMPLATE:{Da(e,t);break}case w.COL:{vY(e,t);break}case w.FORM:{kY(e,t);break}case w.TABLE:{TY(e,t);break}case w.TBODY:case w.TFOOT:case w.THEAD:{EY(e,t);break}case w.INPUT:{_Y(e,t);break}case w.CAPTION:{xY(e,t);break}case w.COLGROUP:{yY(e,t);break}default:D0(e,t)}}function u0(e,t){switch(t.tagID){case w.TABLE:{e.openElements.hasInTableScope(w.TABLE)&&(e.openElements.popUntilTagNamePopped(w.TABLE),e._resetInsertionMode());break}case w.TEMPLATE:{$l(e,t);break}case w.BODY:case w.CAPTION:case w.COL:case w.COLGROUP:case w.HTML:case w.TBODY:case w.TD:case w.TFOOT:case w.TH:case w.THEAD:case w.TR:break;default:D0(e,t)}}function D0(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,dm(e,t),e.fosterParentingEnabled=n}function O9(e,t){e.pendingCharacterTokens.push(t)}function R9(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function _c(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)D0(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const D9=new Set([w.CAPTION,w.COL,w.COLGROUP,w.TBODY,w.TD,w.TFOOT,w.TH,w.THEAD,w.TR]);function SY(e,t){const n=t.tagID;D9.has(n)?e.openElements.hasInTableScope(w.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(w.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=W.IN_TABLE,lu(e,t)):nr(e,t)}function AY(e,t){const n=t.tagID;switch(n){case w.CAPTION:case w.TABLE:{e.openElements.hasInTableScope(w.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(w.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=W.IN_TABLE,n===w.TABLE&&u0(e,t));break}case w.BODY:case w.COL:case w.COLGROUP:case w.HTML:case w.TBODY:case w.TD:case w.TFOOT:case w.TH:case w.THEAD:case w.TR:break;default:hm(e,t)}}function Qx(e,t){switch(t.tagID){case w.HTML:{nr(e,t);break}case w.COL:{e._appendElement(t,Se.HTML),t.ackSelfClosing=!0;break}case w.TEMPLATE:{Da(e,t);break}default:cf(e,t)}}function NY(e,t){switch(t.tagID){case w.COLGROUP:{e.openElements.currentTagId===w.COLGROUP&&(e.openElements.pop(),e.insertionMode=W.IN_TABLE);break}case w.TEMPLATE:{$l(e,t);break}case w.COL:break;default:cf(e,t)}}function cf(e,t){e.openElements.currentTagId===w.COLGROUP&&(e.openElements.pop(),e.insertionMode=W.IN_TABLE,e._processToken(t))}function fm(e,t){switch(t.tagID){case w.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,Se.HTML),e.insertionMode=W.IN_ROW;break}case w.TH:case w.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(ue.TR,w.TR),e.insertionMode=W.IN_ROW,mm(e,t);break}case w.CAPTION:case w.COL:case w.COLGROUP:case w.TBODY:case w.TFOOT:case w.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=W.IN_TABLE,lu(e,t));break}default:lu(e,t)}}function n2(e,t){const n=t.tagID;switch(t.tagID){case w.TBODY:case w.TFOOT:case w.THEAD:{e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=W.IN_TABLE);break}case w.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=W.IN_TABLE,u0(e,t));break}case w.BODY:case w.CAPTION:case w.COL:case w.COLGROUP:case w.HTML:case w.TD:case w.TH:case w.TR:break;default:u0(e,t)}}function mm(e,t){switch(t.tagID){case w.TH:case w.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,Se.HTML),e.insertionMode=W.IN_CELL,e.activeFormattingElements.insertMarker();break}case w.CAPTION:case w.COL:case w.COLGROUP:case w.TBODY:case w.TFOOT:case w.THEAD:case w.TR:{e.openElements.hasInTableScope(w.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=W.IN_TABLE_BODY,fm(e,t));break}default:lu(e,t)}}function L9(e,t){switch(t.tagID){case w.TR:{e.openElements.hasInTableScope(w.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=W.IN_TABLE_BODY);break}case w.TABLE:{e.openElements.hasInTableScope(w.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=W.IN_TABLE_BODY,n2(e,t));break}case w.TBODY:case w.TFOOT:case w.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(w.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=W.IN_TABLE_BODY,n2(e,t));break}case w.BODY:case w.CAPTION:case w.COL:case w.COLGROUP:case w.HTML:case w.TD:case w.TH:break;default:u0(e,t)}}function CY(e,t){const n=t.tagID;D9.has(n)?(e.openElements.hasInTableScope(w.TD)||e.openElements.hasInTableScope(w.TH))&&(e._closeTableCell(),mm(e,t)):nr(e,t)}function OY(e,t){const n=t.tagID;switch(n){case w.TD:case w.TH:{e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=W.IN_ROW);break}case w.TABLE:case w.TBODY:case w.TFOOT:case w.THEAD:case w.TR:{e.openElements.hasInTableScope(n)&&(e._closeTableCell(),L9(e,t));break}case w.BODY:case w.CAPTION:case w.COL:case w.COLGROUP:case w.HTML:break;default:hm(e,t)}}function I9(e,t){switch(t.tagID){case w.HTML:{nr(e,t);break}case w.OPTION:{e.openElements.currentTagId===w.OPTION&&e.openElements.pop(),e._insertElement(t,Se.HTML);break}case w.OPTGROUP:{e.openElements.currentTagId===w.OPTION&&e.openElements.pop(),e.openElements.currentTagId===w.OPTGROUP&&e.openElements.pop(),e._insertElement(t,Se.HTML);break}case w.HR:{e.openElements.currentTagId===w.OPTION&&e.openElements.pop(),e.openElements.currentTagId===w.OPTGROUP&&e.openElements.pop(),e._appendElement(t,Se.HTML),t.ackSelfClosing=!0;break}case w.INPUT:case w.KEYGEN:case w.TEXTAREA:case w.SELECT:{e.openElements.hasInSelectScope(w.SELECT)&&(e.openElements.popUntilTagNamePopped(w.SELECT),e._resetInsertionMode(),t.tagID!==w.SELECT&&e._processStartTag(t));break}case w.SCRIPT:case w.TEMPLATE:{Da(e,t);break}}}function M9(e,t){switch(t.tagID){case w.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===w.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===w.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===w.OPTGROUP&&e.openElements.pop();break}case w.OPTION:{e.openElements.currentTagId===w.OPTION&&e.openElements.pop();break}case w.SELECT:{e.openElements.hasInSelectScope(w.SELECT)&&(e.openElements.popUntilTagNamePopped(w.SELECT),e._resetInsertionMode());break}case w.TEMPLATE:{$l(e,t);break}}}function RY(e,t){const n=t.tagID;n===w.CAPTION||n===w.TABLE||n===w.TBODY||n===w.TFOOT||n===w.THEAD||n===w.TR||n===w.TD||n===w.TH?(e.openElements.popUntilTagNamePopped(w.SELECT),e._resetInsertionMode(),e._processStartTag(t)):I9(e,t)}function DY(e,t){const n=t.tagID;n===w.CAPTION||n===w.TABLE||n===w.TBODY||n===w.TFOOT||n===w.THEAD||n===w.TR||n===w.TD||n===w.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(w.SELECT),e._resetInsertionMode(),e.onEndTag(t)):M9(e,t)}function LY(e,t){switch(t.tagID){case w.BASE:case w.BASEFONT:case w.BGSOUND:case w.LINK:case w.META:case w.NOFRAMES:case w.SCRIPT:case w.STYLE:case w.TEMPLATE:case w.TITLE:{Da(e,t);break}case w.CAPTION:case w.COLGROUP:case w.TBODY:case w.TFOOT:case w.THEAD:{e.tmplInsertionModeStack[0]=W.IN_TABLE,e.insertionMode=W.IN_TABLE,lu(e,t);break}case w.COL:{e.tmplInsertionModeStack[0]=W.IN_COLUMN_GROUP,e.insertionMode=W.IN_COLUMN_GROUP,Qx(e,t);break}case w.TR:{e.tmplInsertionModeStack[0]=W.IN_TABLE_BODY,e.insertionMode=W.IN_TABLE_BODY,fm(e,t);break}case w.TD:case w.TH:{e.tmplInsertionModeStack[0]=W.IN_ROW,e.insertionMode=W.IN_ROW,mm(e,t);break}default:e.tmplInsertionModeStack[0]=W.IN_BODY,e.insertionMode=W.IN_BODY,nr(e,t)}}function IY(e,t){t.tagID===w.TEMPLATE&&$l(e,t)}function P9(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(w.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):Yx(e,t)}function MY(e,t){t.tagID===w.HTML?nr(e,t):df(e,t)}function j9(e,t){var n;if(t.tagID===w.HTML){if(e.fragmentContext||(e.insertionMode=W.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===w.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 df(e,t)}function df(e,t){e.insertionMode=W.IN_BODY,dm(e,t)}function PY(e,t){switch(t.tagID){case w.HTML:{nr(e,t);break}case w.FRAMESET:{e._insertElement(t,Se.HTML);break}case w.FRAME:{e._appendElement(t,Se.HTML),t.ackSelfClosing=!0;break}case w.NOFRAMES:{Da(e,t);break}}}function jY(e,t){t.tagID===w.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==w.FRAMESET&&(e.insertionMode=W.AFTER_FRAMESET))}function HY(e,t){switch(t.tagID){case w.HTML:{nr(e,t);break}case w.NOFRAMES:{Da(e,t);break}}}function BY(e,t){t.tagID===w.HTML&&(e.insertionMode=W.AFTER_AFTER_FRAMESET)}function zY(e,t){t.tagID===w.HTML?nr(e,t):Uh(e,t)}function Uh(e,t){e.insertionMode=W.IN_BODY,dm(e,t)}function UY(e,t){switch(t.tagID){case w.HTML:{nr(e,t);break}case w.NOFRAMES:{Da(e,t);break}}}function FY(e,t){t.chars=Yt,e._insertCharacters(t)}function qY(e,t){e._insertCharacters(t),e.framesetOk=!1}function H9(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 GY(e,t){if(sV(t))H9(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===Se.MATHML?E9(t):r===Se.SVG&&(iV(t),w9(t)),$x(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function $Y(e,t){if(t.tagID===w.P||t.tagID===w.BR){H9(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}}}ue.AREA,ue.BASE,ue.BASEFONT,ue.BGSOUND,ue.BR,ue.COL,ue.EMBED,ue.FRAME,ue.HR,ue.IMG,ue.INPUT,ue.KEYGEN,ue.LINK,ue.META,ue.PARAM,ue.SOURCE,ue.TRACK,ue.WBR;const VY=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,YY=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),A7={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function B9(e,t){const n=rQ(e),r=qx("type",{handlers:{root:QY,element:WY,text:KY,comment:U9,doctype:XY,raw:JY},unknown:eQ}),a={parser:n?new _7(A7):_7.getFragmentParser(void 0,A7),handle(u){r(u,a)},stitches:!1,options:t||{}};r(e,a),Eu(a,ls());const i=n?a.parser.document:a.parser.getFragment(),o=WG(i,{file:a.options.file});return a.stitches&&Ml(o,"comment",function(u,c,h){const g=u;if(g.value.stitch&&h&&c!==void 0){const m=h.children;return m[c]=g.value.stitch,c}}),o.type==="root"&&o.children.length===1&&o.children[0].type===e.type?o.children[0]:o}function z9(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function QY(e,t){z9(e.children,t)}function WY(e,t){tQ(e,t),z9(e.children,t),nQ(e,t)}function KY(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const n={type:ht.CHARACTER,chars:e.value,location:L0(e)};Eu(t,ls(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function XY(e,t){const n={type:ht.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:L0(e)};Eu(t,ls(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function ZY(e,t){t.stitches=!0;const n=aQ(e);if("children"in e&&"children"in n){const r=B9({type:"root",children:e.children},t.options);n.children=r.children}U9({type:"comment",value:{stitch:n}},t)}function U9(e,t){const n=e.value,r={type:ht.COMMENT,data:n,location:L0(e)};Eu(t,ls(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function JY(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,F9(t,ls(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(VY,"&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 eQ(e,t){const n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))ZY(n,t);else{let r="";throw YY.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 Eu(e,t){F9(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 F9(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 tQ(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===hn.PLAINTEXT)return;Eu(t,ls(e));const r=t.parser.openElements.current;let a="namespaceURI"in r?r.namespaceURI:es.html;a===es.html&&n==="svg"&&(a=es.svg);const i=c$({...e,children:[]},{space:a===es.svg?"svg":"html"}),o={type:ht.START_TAG,tagName:n,tagID:vu(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in i?i.attrs:[],location:L0(e)};t.parser.currentToken=o,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function nQ(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&d9.includes(n)||t.parser.tokenizer.state===hn.PLAINTEXT)return;Eu(t,Jf(e));const r={type:ht.END_TAG,tagName:n,tagID:vu(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:L0(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 rQ(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function L0(e){const t=ls(e)||{line:void 0,column:void 0,offset:void 0},n=Jf(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 aQ(e){return"children"in e?su({...e,children:[]}):su(e)}function sQ(e){return function(t,n){return B9(t,{...e,file:n})}}function hf(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 iQ(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function lQ(e,t,n){const a=S0((n||{}).ignore||[]),i=oQ(t);let o=-1;for(;++o<i.length;)xx(e,"text",u);function u(h,g){let m=-1,x;for(;++m<g.length;){const y=g[m],E=x?x.children:void 0;if(a(y,E?E.indexOf(y):void 0,x))return;x=y}if(x)return c(h,g)}function c(h,g){const m=g[g.length-1],x=i[o][0],y=i[o][1];let E=0;const N=m.children.indexOf(h);let A=!1,C=[];x.lastIndex=0;let M=x.exec(h.value);for(;M;){const X=M.index,G={index:M.index,input:M.input,stack:[...g,h]};let P=y(...M,G);if(typeof P=="string"&&(P=P.length>0?{type:"text",value:P}:void 0),P===!1?x.lastIndex=X+1:(E!==X&&C.push({type:"text",value:h.value.slice(E,X)}),Array.isArray(P)?C.push(...P):P&&C.push(P),E=X+M[0].length,A=!0),!x.global)break;M=x.exec(h.value)}return A?(E<h.value.length&&C.push({type:"text",value:h.value.slice(E)}),m.children.splice(N,1,...C)):C=[h],N+C.length}}function oQ(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([uQ(a[0]),cQ(a[1])])}return t}function uQ(e){return typeof e=="string"?new RegExp(iQ(e),"g"):e}function cQ(e){return typeof e=="function"?e:function(){return e}}const Rg="phrasing",Dg=["autolink","link","image","label"];function dQ(){return{transforms:[xQ],enter:{literalAutolink:fQ,literalAutolinkEmail:Lg,literalAutolinkHttp:Lg,literalAutolinkWww:Lg},exit:{literalAutolink:bQ,literalAutolinkEmail:gQ,literalAutolinkHttp:mQ,literalAutolinkWww:pQ}}}function hQ(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Rg,notInConstruct:Dg},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Rg,notInConstruct:Dg},{character:":",before:"[ps]",after:"\\/",inConstruct:Rg,notInConstruct:Dg}]}}function fQ(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function Lg(e){this.config.enter.autolinkProtocol.call(this,e)}function mQ(e){this.config.exit.autolinkProtocol.call(this,e)}function pQ(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 gQ(e){this.config.exit.autolinkEmail.call(this,e)}function bQ(e){this.exit(e)}function xQ(e){lQ(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,yQ],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S}
586)([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),vQ]],{ignore:["link","linkReference"]})}function yQ(e,t,n,r,a){let i="";if(!q9(a)||(/^w/i.test(t)&&(n=t+n,t="",i="http://"),!EQ(n)))return!1;const o=wQ(n+r);if(!o[0])return!1;const u={type:"link",title:null,url:i+t+o[0],children:[{type:"text",value:t+o[0]}]};return o[1]?[u,{type:"text",value:o[1]}]:u}function vQ(e,t,n,r){return!q9(r,!0)||/[-\d_]$/.test(n)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function EQ(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 wQ(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=hf(e,"(");let i=hf(e,")");for(;r!==-1&&a>i;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),i++;return[e,n]}function q9(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||Il(n)||em(n))&&(!t||n!==47)}G9.peek=RQ;function TQ(){this.buffer()}function _Q(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function kQ(){this.buffer()}function SQ(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function AQ(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 NQ(e){this.exit(e)}function CQ(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 OQ(e){this.exit(e)}function RQ(){return"["}function G9(e,t,n,r){const a=n.createTracker(r);let i=a.move("[^");const o=n.enter("footnoteReference"),u=n.enter("reference");return i+=a.move(n.safe(n.associationId(e),{after:"]",before:i})),u(),o(),i+=a.move("]"),i}function DQ(){return{enter:{gfmFootnoteCallString:TQ,gfmFootnoteCall:_Q,gfmFootnoteDefinitionLabelString:kQ,gfmFootnoteDefinition:SQ},exit:{gfmFootnoteCallString:AQ,gfmFootnoteCall:NQ,gfmFootnoteDefinitionLabelString:CQ,gfmFootnoteDefinition:OQ}}}function LQ(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:G9},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function n(r,a,i,o){const u=i.createTracker(o);let c=u.move("[^");const h=i.enter("footnoteDefinition"),g=i.enter("label");return c+=u.move(i.safe(i.associationId(r),{before:c,after:"]"})),g(),c+=u.move("]:"),r.children&&r.children.length>0&&(u.shift(4),c+=u.move((t?`
587`:" ")+i.indentLines(i.containerFlow(r,u.current()),t?$9:IQ))),h(),c}}function IQ(e,t,n){return t===0?e:$9(e,t,n)}function $9(e,t,n){return(n?"":"    ")+e}const MQ=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];V9.peek=zQ;function PQ(){return{canContainEols:["delete"],enter:{strikethrough:HQ},exit:{strikethrough:BQ}}}function jQ(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:MQ}],handlers:{delete:V9}}}function HQ(e){this.enter({type:"delete",children:[]},e)}function BQ(e){this.exit(e)}function V9(e,t,n,r){const a=n.createTracker(r),i=n.enter("strikethrough");let o=a.move("~~");return o+=n.containerPhrasing(e,{...a.current(),before:o,after:"~"}),o+=a.move("~~"),i(),o}function zQ(){return"~"}function UQ(e){return e.length}function FQ(e,t){const n=t||{},r=(n.align||[]).concat(),a=n.stringLength||UQ,i=[],o=[],u=[],c=[];let h=0,g=-1;for(;++g<e.length;){const _=[],N=[];let A=-1;for(e[g].length>h&&(h=e[g].length);++A<e[g].length;){const C=qQ(e[g][A]);if(n.alignDelimiters!==!1){const M=a(C);N[A]=M,(c[A]===void 0||M>c[A])&&(c[A]=M)}_.push(C)}o[g]=_,u[g]=N}let m=-1;if(typeof r=="object"&&"length"in r)for(;++m<h;)i[m]=N7(r[m]);else{const _=N7(r);for(;++m<h;)i[m]=_}m=-1;const x=[],y=[];for(;++m<h;){const _=i[m];let N="",A="";_===99?(N=":",A=":"):_===108?N=":":_===114&&(A=":");let C=n.alignDelimiters===!1?1:Math.max(1,c[m]-N.length-A.length);const M=N+"-".repeat(C)+A;n.alignDelimiters!==!1&&(C=N.length+C+A.length,C>c[m]&&(c[m]=C),y[m]=C),x[m]=M}o.splice(1,0,x),u.splice(1,0,y),g=-1;const E=[];for(;++g<o.length;){const _=o[g],N=u[g];m=-1;const A=[];for(;++m<h;){const C=_[m]||"";let M="",X="";if(n.alignDelimiters!==!1){const G=c[m]-(N[m]||0),P=i[m];P===114?M=" ".repeat(G):P===99?G%2?(M=" ".repeat(G/2+.5),X=" ".repeat(G/2-.5)):(M=" ".repeat(G/2),X=M):X=" ".repeat(G)}n.delimiterStart!==!1&&!m&&A.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&C==="")&&(n.delimiterStart!==!1||m)&&A.push(" "),n.alignDelimiters!==!1&&A.push(M),A.push(C),n.alignDelimiters!==!1&&A.push(X),n.padding!==!1&&A.push(" "),(n.delimiterEnd!==!1||m!==h-1)&&A.push("|")}E.push(n.delimiterEnd===!1?A.join("").replace(/ +$/,""):A.join(""))}return E.join(`
588`)}function qQ(e){return e==null?"":String(e)}function N7(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 GQ(e,t,n,r){const a=n.enter("blockquote"),i=n.createTracker(r);i.move("> "),i.shift(2);const o=n.indentLines(n.containerFlow(e,i.current()),$Q);return a(),o}function $Q(e,t,n){return">"+(n?"":" ")+e}
vendor: 9,440 bytes, lines 588-599
588function VQ(e,t){return C7(e,t.inConstruct,!0)&&!C7(e,t.notInConstruct,!1)}function C7(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 O7(e,t,n,r){let a=-1;for(;++a<n.unsafe.length;)if(n.unsafe[a].character===`
589`&&VQ(n.stack,n.unsafe[a]))return/[ \t]/.test(r.before)?"":" ";return`\\
590`}function Y9(e,t){const n=String(e);let r=n.indexOf(t),a=r,i=0,o=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;r!==-1;)r===a?++i>o&&(o=i):i=1,a=r+t.length,r=n.indexOf(t,a);return o}function YQ(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 QQ(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 WQ(e,t,n,r){const a=QQ(n),i=e.value||"",o=a==="`"?"GraveAccent":"Tilde";if(YQ(e,n)){const m=n.enter("codeIndented"),x=n.indentLines(i,KQ);return m(),x}const u=n.createTracker(r),c=a.repeat(Math.max(Y9(i,a)+1,3)),h=n.enter("codeFenced");let g=u.move(c);if(e.lang){const m=n.enter(`codeFencedLang${o}`);g+=u.move(n.safe(e.lang,{before:g,after:" ",encode:["`"],...u.current()})),m()}if(e.lang&&e.meta){const m=n.enter(`codeFencedMeta${o}`);g+=u.move(" "),g+=u.move(n.safe(e.meta,{before:g,after:`
591`,encode:["`"],...u.current()})),m()}return g+=u.move(`
592`),i&&(g+=u.move(i+`
593`)),g+=u.move(c),h(),g}function KQ(e,t,n){return(n?"":"    ")+e}function Wx(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 XQ(e,t,n,r){const a=Wx(n),i=a==='"'?"Quote":"Apostrophe",o=n.enter("definition");let u=n.enter("label");const c=n.createTracker(r);let h=c.move("[");return h+=c.move(n.safe(n.associationId(e),{before:h,after:"]",...c.current()})),h+=c.move("]: "),u(),!e.url||/[\0- \u007F]/.test(e.url)?(u=n.enter("destinationLiteral"),h+=c.move("<"),h+=c.move(n.safe(e.url,{before:h,after:">",...c.current()})),h+=c.move(">")):(u=n.enter("destinationRaw"),h+=c.move(n.safe(e.url,{before:h,after:e.title?" ":`
594`,...c.current()}))),u(),e.title&&(u=n.enter(`title${i}`),h+=c.move(" "+a),h+=c.move(n.safe(e.title,{before:h,after:a,...c.current()})),h+=c.move(a),u()),o(),h}function ZQ(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 c0(e){return"&#x"+e.toString(16).toUpperCase()+";"}function ff(e,t,n){const r=au(e),a=au(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}}Q9.peek=JQ;function Q9(e,t,n,r){const a=ZQ(n),i=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 h=c.charCodeAt(0),g=ff(r.before.charCodeAt(r.before.length-1),h,a);g.inside&&(c=c0(h)+c.slice(1));const m=c.charCodeAt(c.length-1),x=ff(r.after.charCodeAt(0),m,a);x.inside&&(c=c.slice(0,-1)+c0(m));const y=o.move(a);return i(),n.attentionEncodeSurroundingInfo={after:x.outside,before:g.outside},u+c+y}function JQ(e,t,n){return n.options.emphasis||"*"}function eW(e,t){let n=!1;return Ml(e,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return n=!0,Mb}),!!((!e.depth||e.depth<3)&&dx(e)&&(t.options.setext||n))}function tW(e,t,n,r){const a=Math.max(Math.min(6,e.depth||1),1),i=n.createTracker(r);if(eW(e,n)){const g=n.enter("headingSetext"),m=n.enter("phrasing"),x=n.containerPhrasing(e,{...i.current(),before:`
595`,after:`
596`});return m(),g(),x+`
597`+(a===1?"=":"-").repeat(x.length-(Math.max(x.lastIndexOf("\r"),x.lastIndexOf(`
598`))+1))}const o="#".repeat(a),u=n.enter("headingAtx"),c=n.enter("phrasing");i.move(o+" ");let h=n.containerPhrasing(e,{before:"# ",after:`
599`,...i.current()});return/^[\t ]/.test(h)&&(h=c0(h.charCodeAt(0))+h.slice(1)),h=h?o+" "+h:o,n.options.closeAtx&&(h+=" "+o),c(),u(),h}W9.peek=nW;function W9(e){return e.value||""}function nW(){return"<"}K9.peek=rW;function K9(e,t,n,r){const a=Wx(n),i=a==='"'?"Quote":"Apostrophe",o=n.enter("image");let u=n.enter("label");const c=n.createTracker(r);let h=c.move("![");return h+=c.move(n.safe(e.alt,{before:h,after:"]",...c.current()})),h+=c.move("]("),u(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(u=n.enter("destinationLiteral"),h+=c.move("<"),h+=c.move(n.safe(e.url,{before:h,after:">",...c.current()})),h+=c.move(">")):(u=n.enter("destinationRaw"),h+=c.move(n.safe(e.url,{before:h,after:e.title?" ":")",...c.current()}))),u(),e.title&&(u=n.enter(`title${i}`),h+=c.move(" "+a),h+=c.move(n.safe(e.title,{before:h,after:a,...c.current()})),h+=c.move(a),u()),h+=c.move(")"),o(),h}function rW(){return"!"}X9.peek=aW;function X9(e,t,n,r){const a=e.referenceType,i=n.enter("imageReference");let o=n.enter("label");const u=n.createTracker(r);let c=u.move("![");const h=n.safe(e.alt,{before:c,after:"]",...u.current()});c+=u.move(h+"]["),o();const g=n.stack;n.stack=[],o=n.enter("reference");const m=n.safe(n.associationId(e),{before:c,after:"]",...u.current()});return o(),n.stack=g,i(),a==="full"||!h||h!==m?c+=u.move(m+"]"):a==="shortcut"?c=c.slice(0,-1):c+=u.move("]"),c}function aW(){return"!"}Z9.peek=sW;function Z9(e,t,n){let r=e.value||"",a="`",i=-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+" ");++i<n.unsafe.length;){const o=n.unsafe[i],u=n.compilePattern(o);let c;if(o.atBreak)for(;c=u.exec(r);){let h=c.index;r.charCodeAt(h)===10&&r.charCodeAt(h-1)===13&&h--,r=r.slice(0,h)+" "+r.slice(c.index+1)}}return a+r+a}function sW(){return"`"}function J9(e,t){const n=dx(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))}eS.peek=iW;function eS(e,t,n,r){const a=Wx(n),i=a==='"'?"Quote":"Apostrophe",o=n.createTracker(r);let u,c;if(J9(e,n)){const g=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=g,m}u=n.enter("link"),c=n.enter("label");let h=o.move("[");return h+=o.move(n.containerPhrasing(e,{before:h,after:"](",...o.current()})),h+=o.move("]("),c(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(c=n.enter("destinationLiteral"),h+=o.move("<"),h+=o.move(n.safe(e.url,{before:h,after:">",...o.current()})),h+=o.move(">")):(c=n.enter("destinationRaw"),h+=o.move(n.safe(e.url,{before:h,after:e.title?" ":")",...o.current()}))),c(),e.title&&(c=n.enter(`title${i}`),h+=o.move(" "+a),h+=o.move(n.safe(e.title,{before:h,after:a,...o.current()})),h+=o.move(a),c()),h+=o.move(")"),u(),h}function iW(e,t,n){return J9(e,n)?"<":"["}tS.peek=lW;function tS(e,t,n,r){const a=e.referenceType,i=n.enter("linkReference");let o=n.enter("label");const u=n.createTracker(r);let c=u.move("[");const h=n.containerPhrasing(e,{before:c,after:"]",...u.current()});c+=u.move(h+"]["),o();const g=n.stack;n.stack=[],o=n.enter("reference");const m=n.safe(n.associationId(e),{before:c,after:"]",...u.current()});return o(),n.stack=g,i(),a==="full"||!h||h!==m?c+=u.move(m+"]"):a==="shortcut"?c=c.slice(0,-1):c+=u.move("]"),c}function lW(){return"["}function Kx(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 oW(e){const t=Kx(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 uW(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 nS(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 cW(e,t,n,r){const a=n.enter("list"),i=n.bulletCurrent;let o=e.ordered?uW(n):Kx(n);const u=e.ordered?o==="."?")":".":oW(n);let c=t&&n.bulletLastUsed?o===n.bulletLastUsed:!1;if(!e.ordered){const g=e.children?e.children[0]:void 0;if((o==="*"||o==="-")&&g&&(!g.children||!g.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),nS(n)===o&&g){let m=-1;for(;++m<e.children.length;){const x=e.children[m];if(x&&x.type==="listItem"&&x.children&&x.children[0]&&x.children[0].type==="thematicBreak"){c=!0;break}}}}c&&(o=u),n.bulletCurrent=o;const h=n.containerFlow(e,r);return n.bulletLastUsed=o,n.bulletCurrent=i,a(),h}function dW(e){const t=e.options.listItemIndent||"one";
vendor: 13,744 bytes, lines 599-601
599if(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 hW(e,t,n,r){const a=dW(n);let i=n.bulletCurrent||Kx(n);t&&t.type==="list"&&t.ordered&&(i=(typeof t.start=="number"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+i);let o=i.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(i+" ".repeat(o-i.length)),u.shift(o);const c=n.enter("listItem"),h=n.indentLines(n.containerFlow(e,u.current()),g);return c(),h;function g(m,x,y){return x?(y?"":" ".repeat(o))+m:(y?i:i+" ".repeat(o-i.length))+m}}function fW(e,t,n,r){const a=n.enter("paragraph"),i=n.enter("phrasing"),o=n.containerPhrasing(e,r);return i(),a(),o}const mW=S0(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function pW(e,t,n,r){return(e.children.some(function(o){return mW(o)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function gW(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}rS.peek=bW;function rS(e,t,n,r){const a=gW(n),i=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 h=c.charCodeAt(0),g=ff(r.before.charCodeAt(r.before.length-1),h,a);g.inside&&(c=c0(h)+c.slice(1));const m=c.charCodeAt(c.length-1),x=ff(r.after.charCodeAt(0),m,a);x.inside&&(c=c.slice(0,-1)+c0(m));const y=o.move(a+a);return i(),n.attentionEncodeSurroundingInfo={after:x.outside,before:g.outside},u+c+y}function bW(e,t,n){return n.options.strong||"*"}function xW(e,t,n,r){return n.safe(e.value,r)}function yW(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 vW(e,t,n){const r=(nS(n)+(n.options.ruleSpaces?" ":"")).repeat(yW(n));return n.options.ruleSpaces?r.slice(0,-1):r}const aS={blockquote:GQ,break:O7,code:WQ,definition:XQ,emphasis:Q9,hardBreak:O7,heading:tW,html:W9,image:K9,imageReference:X9,inlineCode:Z9,link:eS,linkReference:tS,list:cW,listItem:hW,paragraph:fW,root:pW,strong:rS,text:xW,thematicBreak:vW};function EW(){return{enter:{table:wW,tableData:R7,tableHeader:R7,tableRow:_W},exit:{codeText:kW,table:TW,tableData:Ig,tableHeader:Ig,tableRow:Ig}}}function wW(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 TW(e){this.exit(e),this.data.inTable=void 0}function _W(e){this.enter({type:"tableRow",children:[]},e)}function Ig(e){this.exit(e)}function R7(e){this.enter({type:"tableCell",children:[]},e)}function kW(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,SW));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function SW(e,t){return t==="|"?t:e}function AW(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,a=t.stringLength,i=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
600`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[	 :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:x,table:o,tableCell:c,tableRow:u}};function o(y,E,_,N){return h(g(y,_,N),y.align)}function u(y,E,_,N){const A=m(y,_,N),C=h([A]);return C.slice(0,C.indexOf(`
601`))}function c(y,E,_,N){const A=_.enter("tableCell"),C=_.enter("phrasing"),M=_.containerPhrasing(y,{...N,before:i,after:i});return C(),A(),M}function h(y,E){return FQ(y,{align:E,alignDelimiters:r,padding:n,stringLength:a})}function g(y,E,_){const N=y.children;let A=-1;const C=[],M=E.enter("table");for(;++A<N.length;)C[A]=m(N[A],E,_);return M(),C}function m(y,E,_){const N=y.children;let A=-1;const C=[],M=E.enter("tableRow");for(;++A<N.length;)C[A]=c(N[A],y,E,_);return M(),C}function x(y,E,_){let N=aS.inlineCode(y,E,_);return _.stack.includes("tableCell")&&(N=N.replace(/\|/g,"\\$&")),N}}function NW(){return{exit:{taskListCheckValueChecked:D7,taskListCheckValueUnchecked:D7,paragraph:OW}}}function CW(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:RW}}}function D7(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function OW(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 i=-1,o;for(;++i<a.length;){const u=a[i];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 RW(e,t,n,r){const a=e.children[0],i=typeof e.checked=="boolean"&&a&&a.type==="paragraph",o="["+(e.checked?"x":" ")+"] ",u=n.createTracker(r);i&&u.move(o);let c=aS.listItem(e,t,n,{...r,...u.current()});return i&&(c=c.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,h)),c;function h(g){return g+o}}function DW(){return[dQ(),DQ(),PQ(),EW(),NW()]}function LW(e){return{extensions:[hQ(),LQ(e),jQ(),AW(e),CW()]}}const IW={tokenize:zW,partial:!0},sS={tokenize:UW,partial:!0},iS={tokenize:FW,partial:!0},lS={tokenize:qW,partial:!0},MW={tokenize:GW,partial:!0},oS={name:"wwwAutolink",tokenize:HW,previous:cS},uS={name:"protocolAutolink",tokenize:BW,previous:dS},Xs={name:"emailAutolink",tokenize:jW,previous:hS},ds={};function PW(){return{text:ds}}let wl=48;for(;wl<123;)ds[wl]=Xs,wl++,wl===58?wl=65:wl===91&&(wl=97);ds[43]=Xs;ds[45]=Xs;ds[46]=Xs;ds[95]=Xs;ds[72]=[Xs,uS];ds[104]=[Xs,uS];ds[87]=[Xs,oS];ds[119]=[Xs,oS];function jW(e,t,n){const r=this;let a,i;return o;function o(m){return!r2(m)||!hS.call(r,r.previous)||Xx(r.events)?n(m):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),u(m))}function u(m){return r2(m)?(e.consume(m),u):m===64?(e.consume(m),c):n(m)}function c(m){return m===46?e.check(MW,g,h)(m):m===45||m===95||er(m)?(i=!0,e.consume(m),c):g(m)}function h(m){return e.consume(m),a=!0,c}function g(m){return i&&a&&lr(r.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(m)):n(m)}}function HW(e,t,n){const r=this;return a;function a(o){return o!==87&&o!==119||!cS.call(r,r.previous)||Xx(r.events)?n(o):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(IW,e.attempt(sS,e.attempt(iS,i),n),n)(o))}function i(o){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(o)}}function BW(e,t,n){const r=this;let a="",i=!1;return o;function o(m){return(m===72||m===104)&&dS.call(r,r.previous)&&!Xx(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 x=a.toLowerCase();if(x==="http"||x==="https")return e.consume(m),c}return n(m)}function c(m){return m===47?(e.consume(m),i?h:(i=!0,c)):n(m)}function h(m){return m===null||ef(m)||Ht(m)||Il(m)||em(m)?n(m):e.attempt(sS,e.attempt(iS,g),n)(m)}function g(m){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(m)}}function zW(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),i):n(o)}function i(o){return o===null?n(o):t(o)}}function UW(e,t,n){let r,a,i;return o;function o(h){return h===46||h===95?e.check(lS,c,u)(h):h===null||Ht(h)||Il(h)||h!==45&&em(h)?c(h):(i=!0,e.consume(h),o)}function u(h){return h===95?r=!0:(a=r,r=void 0),e.consume(h),o}function c(h){return a||r||!i?n(h):t(h)}}function FW(e,t){let n=0,r=0;return a;function a(o){return o===40?(n++,e.consume(o),a):o===41&&r<n?i(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(lS,t,i)(o):o===null||Ht(o)||Il(o)?t(o):(e.consume(o),a)}function i(o){return o===41&&r++,e.consume(o),a}}function qW(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),i):u===93?(e.consume(u),a):u===60||u===null||Ht(u)||Il(u)?t(u):n(u)}function a(u){return u===null||u===40||u===91||Ht(u)||Il(u)?t(u):r(u)}function i(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 GW(e,t,n){return r;function r(i){return e.consume(i),a}function a(i){return er(i)?n(i):t(i)}}function cS(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Ht(e)}function dS(e){return!lr(e)}function hS(e){return!(e===47||r2(e))}function r2(e){return e===43||e===45||e===46||e===95||er(e)}function Xx(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 $W={tokenize:JW,partial:!0};function VW(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:KW,continuation:{tokenize:XW},exit:ZW}},text:{91:{name:"gfmFootnoteCall",tokenize:WW},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:YW,resolveTo:QW}}}}function YW(e,t,n){const r=this;let a=r.events.length;const i=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 h=Sa(r.sliceSerialize({start:o.end,end:r.now()}));return h.codePointAt(0)!==94||!i.includes(h.slice(1))?n(c):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(c),e.exit("gfmFootnoteCallLabelMarker"),t(c))}}function QW(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 i={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},u=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",a,t],["exit",a,t],["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...u),e}function WW(e,t,n){const r=this,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i=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",h)}function h(m){if(i>999||m===93&&!o||m===null||m===91||Ht(m))return n(m);if(m===93){e.exit("chunkString");const x=e.exit("gfmFootnoteCallString");return a.includes(Sa(r.sliceSerialize(x)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(m),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(m)}return Ht(m)||(o=!0),i++,e.consume(m),m===92?g:h}function g(m){return m===91||m===92||m===93?(e.consume(m),i++,h):h(m)}}function KW(e,t,n){const r=this,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i,o=0,u;return c;function c(E){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(E),e.exit("gfmFootnoteDefinitionLabelMarker"),h}function h(E){return E===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(E),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",g):n(E)}function g(E){if(o>999||E===93&&!u||E===null||E===91||Ht(E))return n(E);if(E===93){e.exit("chunkString");const _=e.exit("gfmFootnoteDefinitionLabelString");return i=Sa(r.sliceSerialize(_)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(E),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),x}return Ht(E)||(u=!0),o++,e.consume(E),E===92?m:g}function m(E){return E===91||E===92||E===93?(e.consume(E),o++,g):g(E)}function x(E){return E===58?(e.enter("definitionMarker"),e.consume(E),e.exit("definitionMarker"),a.includes(i)||a.push(i),ft(e,y,"gfmFootnoteDefinitionWhitespace")):n(E)}function y(E){return t(E)}}function XW(e,t,n){return e.check(k0,t,e.attempt($W,t,n))}function ZW(e){e.exit("gfmFootnoteDefinition")}function JW(e,t,n){const r=this;return ft(e,a,"gfmFootnoteDefinitionIndent",5);function a(i){const o=r.events[r.events.length-1];return o&&o[1].type==="gfmFootnoteDefinitionIndent"&&o[2].sliceSerialize(o[1],!0).length===4?t(i):n(i)}}function eK(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:i,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 h=c;for(;h--;
vendor: 4,730 bytes, line 601
601)if(o[h][0]==="exit"&&o[h][1].type==="strikethroughSequenceTemporary"&&o[h][1]._open&&o[c][1].end.offset-o[c][1].start.offset===o[h][1].end.offset-o[h][1].start.offset){o[c][1].type="strikethroughSequence",o[h][1].type="strikethroughSequence";const g={type:"strikethrough",start:Object.assign({},o[h][1].start),end:Object.assign({},o[c][1].end)},m={type:"strikethroughText",start:Object.assign({},o[h][1].end),end:Object.assign({},o[c][1].start)},x=[["enter",g,u],["enter",o[h][1],u],["exit",o[h][1],u],["enter",m,u]],y=u.parser.constructs.insideSpan.null;y&&$r(x,x.length,0,tm(y,o.slice(h+1,c),u)),$r(x,x.length,0,[["exit",m,u],["enter",o[c][1],u],["exit",o[c][1],u],["exit",g,u]]),$r(o,h-1,c-h+3,x),c=h+x.length-2;break}}for(c=-1;++c<o.length;)o[c][1].type==="strikethroughSequenceTemporary"&&(o[c][1].type="data");return o}function i(o,u,c){const h=this.previous,g=this.events;let m=0;return x;function x(E){return h===126&&g[g.length-1][1].type!=="characterEscape"?c(E):(o.enter("strikethroughSequenceTemporary"),y(E))}function y(E){const _=au(h);if(E===126)return m>1?c(E):(o.consume(E),m++,y);if(m<2&&!n)return c(E);const N=o.exit("strikethroughSequenceTemporary"),A=au(E);return N._open=!A||A===2&&!!_,N._close=!_||_===2&&!!A,u(E)}}}class tK{constructor(){this.map=[]}add(t,n,r){nK(this,t,n,r)}consume(t){if(this.map.sort(function(i,o){return i[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];r.push(t.slice()),t.length=0;let a=r.pop();for(;a;){for(const i of a)t.push(i);a=r.pop()}this.map.length=0}}function nK(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 rK(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 i=r.length-1;r[i]=r[i]==="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 aK(){return{flow:{null:{name:"table",tokenize:sK,resolveAll:iK}}}}function sK(e,t,n){const r=this;let a=0,i=0,o;return u;function u(U){let ae=r.events.length-1;for(;ae>-1;){const le=r.events[ae][1].type;if(le==="lineEnding"||le==="linePrefix")ae--;else break}const te=ae>-1?r.events[ae][1].type:null,he=te==="tableHead"||te==="tableRow"?P:c;return he===P&&r.parser.lazy[r.now().line]?n(U):he(U)}function c(U){return e.enter("tableHead"),e.enter("tableRow"),h(U)}function h(U){return U===124||(o=!0,i+=1),g(U)}function g(U){return U===null?n(U):$e(U)?i>1?(i=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(U),e.exit("lineEnding"),y):n(U):bt(U)?ft(e,g,"whitespace")(U):(i+=1,o&&(o=!1,a+=1),U===124?(e.enter("tableCellDivider"),e.consume(U),e.exit("tableCellDivider"),o=!0,g):(e.enter("data"),m(U)))}function m(U){return U===null||U===124||Ht(U)?(e.exit("data"),g(U)):(e.consume(U),U===92?x:m)}function x(U){return U===92||U===124?(e.consume(U),m):m(U)}function y(U){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(U):(e.enter("tableDelimiterRow"),o=!1,bt(U)?ft(e,E,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(U):E(U))}function E(U){return U===45||U===58?N(U):U===124?(o=!0,e.enter("tableCellDivider"),e.consume(U),e.exit("tableCellDivider"),_):G(U)}function _(U){return bt(U)?ft(e,N,"whitespace")(U):N(U)}function N(U){return U===58?(i+=1,o=!0,e.enter("tableDelimiterMarker"),e.consume(U),e.exit("tableDelimiterMarker"),A):U===45?(i+=1,A(U)):U===null||$e(U)?X(U):G(U)}function A(U){return U===45?(e.enter("tableDelimiterFiller"),C(U)):G(U)}function C(U){return U===45?(e.consume(U),C):U===58?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(U),e.exit("tableDelimiterMarker"),M):(e.exit("tableDelimiterFiller"),M(U))}function M(U){return bt(U)?ft(e,X,"whitespace")(U):X(U)}function X(U){return U===124?E(U):U===null||$e(U)?!o||a!==i?G(U):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(U)):G(U)}function G(U){return n(U)}function P(U){return e.enter("tableRow"),B(U)}function B(U){return U===124?(e.enter("tableCellDivider"),e.consume(U),e.exit("tableCellDivider"),B):U===null||$e(U)?(e.exit("tableRow"),t(U)):bt(U)?ft(e,B,"whitespace")(U):(e.enter("data"),Z(U))}function Z(U){return U===null||U===124||Ht(U)?(e.exit("data"),B(U)):(e.consume(U),U===92?V:Z)}function V(U){return U===92||U===124?(e.consume(U),Z):Z(U)}}function iK(e,t){let n=-1,r=!0,a=0,i=[0,0,0,0],o=[0,0,0,0],u=!1,c=0,h,g,m;
vendor: 4,241 bytes, line 601
601const x=new tK;for(;++n<e.length;){const y=e[n],E=y[1];y[0]==="enter"?E.type==="tableHead"?(u=!1,c!==0&&(L7(x,t,c,h,g),g=void 0,c=0),h={type:"table",start:Object.assign({},E.start),end:Object.assign({},E.end)},x.add(n,0,[["enter",h,t]])):E.type==="tableRow"||E.type==="tableDelimiterRow"?(r=!0,m=void 0,i=[0,0,0,0],o=[0,n+1,0,0],u&&(u=!1,g={type:"tableBody",start:Object.assign({},E.start),end:Object.assign({},E.end)},x.add(n,0,[["enter",g,t]])),a=E.type==="tableDelimiterRow"?2:g?3:1):a&&(E.type==="data"||E.type==="tableDelimiterMarker"||E.type==="tableDelimiterFiller")?(r=!1,o[2]===0&&(i[1]!==0&&(o[0]=o[1],m=vh(x,t,i,a,void 0,m),i=[0,0,0,0]),o[2]=n)):E.type==="tableCellDivider"&&(r?r=!1:(i[1]!==0&&(o[0]=o[1],m=vh(x,t,i,a,void 0,m)),i=o,o=[i[1],n,0,0])):E.type==="tableHead"?(u=!0,c=n):E.type==="tableRow"||E.type==="tableDelimiterRow"?(c=n,i[1]!==0?(o[0]=o[1],m=vh(x,t,i,a,n,m)):o[1]!==0&&(m=vh(x,t,o,a,n,m)),a=0):a&&(E.type==="data"||E.type==="tableDelimiterMarker"||E.type==="tableDelimiterFiller")&&(o[3]=n)}for(c!==0&&L7(x,t,c,h,g),x.consume(t.events),n=-1;++n<t.events.length;){const y=t.events[n];y[0]==="enter"&&y[1].type==="table"&&(y[1]._align=rK(t.events,n))}return e}function vh(e,t,n,r,a,i){const o=r===1?"tableHeader":r===2?"tableDelimiter":"tableData",u="tableContent";n[0]!==0&&(i.end=Object.assign({},Fo(t.events,n[0])),e.add(n[0],0,[["exit",i,t]]));const c=Fo(t.events,n[1]);if(i={type:o,start:Object.assign({},c),end:Object.assign({},c)},e.add(n[1],0,[["enter",i,t]]),n[2]!==0){const h=Fo(t.events,n[2]),g=Fo(t.events,n[3]),m={type:u,start:Object.assign({},h),end:Object.assign({},g)};if(e.add(n[2],0,[["enter",m,t]]),r!==2){const x=t.events[n[2]],y=t.events[n[3]];if(x[1].end=Object.assign({},y[1].end),x[1].type="chunkText",x[1].contentType="text",n[3]>n[2]+1){const E=n[2]+1,_=n[3]-n[2]-1;e.add(E,_,[])}}e.add(n[3]+1,0,[["exit",m,t]])}return a!==void 0&&(i.end=Object.assign({},Fo(t.events,a)),e.add(a,0,[["exit",i,t]]),i=void 0),i}function L7(e,t,n,r,a){const i=[],o=Fo(t.events,n);a&&(a.end=Object.assign({},o),i.push(["exit",a,t])),r.end=Object.assign({},o),i.push(["exit",r,t]),e.add(n+1,0,i)}function Fo(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const lK={name:"tasklistCheck",tokenize:uK};function oK(){return{text:{91:lK}}}function uK(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"),i)}function i(c){return Ht(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):bt(c)?e.check({tokenize:cK},t,n)(c):n(c)}}function cK(e,t,n){return ft(e,r,"whitespace");function r(a){return a===null?n(a):t(a)}}function dK(e){return w_([PW(),VW(),eK(e),aK(),oK()])}const hK={};function fK(e){const t=this,n=e||hK,r=t.data(),a=r.micromarkExtensions||(r.micromarkExtensions=[]),i=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),o=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);a.push(dK(n)),i.push(DW()),o.push(LW(n))}function mK(){return{enter:{mathFlow:e,mathFlowFenceMeta:t,mathText:i},exit:{mathFlow:a,mathFlowFence:r,mathFlowFenceMeta:n,mathFlowValue:u,mathText:o,mathTextData:u}};function e(c){const h={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[h]}},c)}function t(){this.buffer()}function n(){const c=this.resume(),h=this.stack[this.stack.length-1];h.type,h.meta=c}function r(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function a(c){const h=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),g=this.stack[this.stack.length-1];g.type,this.exit(c),g.value=h;const m=g.data.hChildren[0];m.type,m.tagName,m.children.push({type:"text",value:h}),this.data.mathFlowInside=void 0}function i(c){this.enter({type:"inlineMath",value:"",data:{hName:"
601code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},c),this.buffer()}function o(c){const h=this.resume(),g=this.stack[this.stack.length-1];g.type,this.exit(c),g.value=h,g.data.hChildren.push({type:"text",value:h})}function u(c){this.config.enter.data.call(this,c),this.config.exit.data.call(this,c)}}function pK(e){let t=(e||{}).singleDollarTextMath;return t==null&&(t=!0),r.peek=a,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
602`,inConstruct:"mathFlowMeta"},{character:"$",after:t?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:n,inlineMath:r}};function n(i,o,u,c){const h=i.value||"",g=u.createTracker(c),m="$".repeat(Math.max(Y9(h,"$")+1,2)),x=u.enter("mathFlow");let y=g.move(m);if(i.meta){const E=u.enter("mathFlowMeta");y+=g.move(u.safe(i.meta,{after:`
603`,before:y,encode:["$"],...g.current()})),E()}return y+=g.move(`
604`),h&&(y+=g.move(h+`
605`)),y+=g.move(m),x(),y}function r(i,o,u){let c=i.value||"",h=1;for(t||h++;new RegExp("(^|[^$])"+"\\$".repeat(h)+"([^$]|$)").test(c);)h++;const g="$".repeat(h);/[^ \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 x=u.unsafe[m];if(!x.atBreak)continue;const y=u.compilePattern(x);let E;for(;E=y.exec(c);){let _=E.index;c.codePointAt(_)===10&&c.codePointAt(_-1)===13&&_--,c=c.slice(0,_)+" "+c.slice(E.index+1)}}return g+c+g}function a(){return"$"}}const gK={tokenize:bK,concrete:!0,name:"mathFlow"},I7={tokenize:xK,partial:!0};function bK(e,t,n){const r=this,a=r.events[r.events.length-1],i=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0;let o=0;return u;function u(C){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),c(C)}function c(C){return C===36?(e.consume(C),o++,c):o<2?n(C):(e.exit("mathFlowFenceSequence"),ft(e,h,"whitespace")(C))}function h(C){return C===null||$e(C)?m(C):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),g(C))}function g(C){return C===null||$e(C)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),m(C)):C===36?n(C):(e.consume(C),g)}function m(C){return e.exit("mathFlowFence"),r.interrupt?t(C):e.attempt(I7,x,N)(C)}function x(C){return e.attempt({tokenize:A,partial:!0},N,y)(C)}function y(C){return(i?ft(e,E,"linePrefix",i+1):E)(C)}function E(C){return C===null?N(C):$e(C)?e.attempt(I7,x,N)(C):(e.enter("mathFlowValue"),_(C))}function _(C){return C===null||$e(C)?(e.exit("mathFlowValue"),E(C)):(e.consume(C),_)}function N(C){return e.exit("mathFlow"),t(C)}function A(C,M,X){let G=0;return ft(C,P,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function P(V){return C.enter("mathFlowFence"),C.enter("mathFlowFenceSequence"),B(V)}function B(V){return V===36?(G++,C.consume(V),B):G<o?X(V):(C.exit("mathFlowFenceSequence"),ft(C,Z,"whitespace")(V))}function Z(V){return V===null||$e(V)?(C.exit("mathFlowFence"),M(V)):X(V)}}}function xK(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"),i)}function i(o){return r.parser.lazy[r.now().line]?n(o):t(o)}}function yK(e){let n=(e||{}).singleDollarTextMath;return n==null&&(n=!0),{tokenize:r,resolve:vK,previous:EK,name:"mathText"};function r(a,i,o){let u=0,c,h;return g;function g(_){return a.enter("mathText"),a.enter("mathTextSequence"),m(_)}function m(_){return _===36?(a.consume(_),u++,m):u<2&&!n?o(_):(a.exit("mathTextSequence"),x(_))}function x(_){return _===null?o(_):_===36?(h=a.enter("mathTextSequence"),c=0,E(_)):_===32?(a.enter("space"),a.consume(_),a.exit("space"),x):$e(_)?(a.enter("lineEnding"),a.consume(_),a.exit("lineEnding"),x):(a.enter("mathTextData"),y(_))}function y(_){return _===null||_===32||_===36||$e(_)?(a.exit("mathTextData"),x(_)):(a.consume(_),y)}function E(_){return _===36?(a.consume(_),c++,E):c===u?(a.exit("mathTextSequence"),a.exit("mathText"),i(_)):(h.type="mathTextData",y(_))}}}function vK(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 EK(e){return e!==36||this.events[this.events.length-1][1].type==="characterEscape"}function wK(e){return{flow:{36:gK},text:{36:yK(e)}}}const TK={};function _K(e){const t=this,n=e||TK,r=t.data(),a=r.micromarkExtensions||(r.micromarkExtensions=[]),i=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),o=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);a.push(wK(n)),i.push(mK()),o.push(pK(n))}function kK({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:i="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 h=NK(e,t,n,r,a,i);Ml(c,h)}}function M7(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 SK(e){return typeof e!="string"?!1:e.startsWith("/")}const AK=new Set(["https:","http:","irc:","ircs:","mailto:","xmpp:"]);function P7(e,t,n,r=!1,a=!1){if(!e)return null;
vendor: 4,150 bytes, lines 605-640
605if(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 i=M7(e,n);if(!i||!AK.has(i.protocol))return null;if(i.protocol==="mailto:")return i.href;const o=SK(e);return i&&t.some(u=>{const c=M7(u,n);return!c||c.origin!==i.origin?!1:i.href.startsWith(c.href)})?o?i.pathname+i.search+i.hash:i.href:t.includes("*")?i.protocol!=="https:"&&i.protocol!=="http:"?null:o?i.pathname+i.search+i.hash:i.href:null}const Mg=Symbol("node-seen"),NK=(e,t,n,r,a,i)=>{const o=(u,c,h)=>{if(u.type!=="element"||u[Mg])return Nc;if(u.tagName==="a"){const g=P7(u.properties.href,t,e,!1,!1);return g===null?(u[Mg]=!0,Ml(u,o),h&&typeof c=="number"&&(h.children[c]={type:"element",tagName:"span",properties:{title:"Blocked URL: "+String(u.properties.href),class:i},children:[...u.children,{type:"text",value:" [blocked]"}]}),nf):(u.properties.href=g,u.properties.target="_blank",u.properties.rel="noopener noreferrer",Nc)}if(u.tagName==="img"){const g=P7(u.properties.src,n,e,r,!0);return g===null?(u[Mg]=!0,Ml(u,o),h&&typeof c=="number"&&(h.children[c]={type:"element",tagName:"span",properties:{class:a},children:[{type:"text",value:"[Image blocked: "+String(u.properties.alt||"No description")+"]"}]}),nf):(u.properties.src=g,Nc)}return Nc};return o};/**
606 * @license lucide-react v0.542.0 - ISC
607 *
608 * This source code is licensed under the ISC license.
609 * See the LICENSE file in the root directory of this source tree.
610 */const CK=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),OK=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,r)=>r?r.toUpperCase():n.toLowerCase()),j7=e=>{const t=OK(e);return t.charAt(0).toUpperCase()+t.slice(1)},fS=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim(),RK=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};/**
611 * @license lucide-react v0.542.0 - ISC
612 *
613 * This source code is licensed under the ISC license.
614 * See the LICENSE file in the root directory of this source tree.
615 */var DK={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"};/**
616 * @license lucide-react v0.542.0 - ISC
617 *
618 * This source code is licensed under the ISC license.
619 * See the LICENSE file in the root directory of this source tree.
620 */const LK=R.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:a="",children:i,iconNode:o,...u},c)=>R.createElement("svg",{ref:c,...DK,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:fS("lucide",a),...!i&&!RK(u)&&{"aria-hidden":"true"},...u},[...o.map(([h,g])=>R.createElement(h,g)),...Array.isArray(i)?i:[i]]));/**
621 * @license lucide-react v0.542.0 - ISC
622 *
623 * This source code is licensed under the ISC license.
624 * See the LICENSE file in the root directory of this source tree.
625 */const Zx=(e,t)=>{const n=R.forwardRef(({className:r,...a},i)=>R.createElement(LK,{ref:i,iconNode:t,className:fS(`lucide-${CK(j7(e))}`,`lucide-${e}`,r),...a}));return n.displayName=j7(e),n};/**
626 * @license lucide-react v0.542.0 - ISC
627 *
628 * This source code is licensed under the ISC license.
629 * See the LICENSE file in the root directory of this source tree.
630 */const IK=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],mS=Zx("check",IK);/**
631 * @license lucide-react v0.542.0 - ISC
632 *
633 * This source code is licensed under the ISC license.
634 * See the LICENSE file in the root directory of this source tree.
635 */const MK=[["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"}]],pS=Zx("copy",MK);/**
636 * @license lucide-react v0.542.0 - ISC
637 *
638 * This source code is licensed under the ISC license.
639 * See the LICENSE file in the root directory of this source tree.
640 */const PK=[["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"}]],Jx=Zx("download",PK);
vendor: 44,222 bytes, lines 640-642
640let En=class extends Error{constructor(t){super(t),this.name="ShikiError"}};function jK(e){return e4(e)}function e4(e){return Array.isArray(e)?HK(e):e instanceof RegExp?e:typeof e=="object"?BK(e):e}function HK(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=e4(e[n]);return t}function BK(e){let t={};for(let n in e)t[n]=e4(e[n]);return t}function gS(e,...t){return t.forEach(n=>{for(let r in n)e[r]=n[r]}),e}function bS(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?bS(e.substring(0,e.length-1)):e.substr(~t+1)}var Pg=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,Eh=class{static hasCaptures(e){return e===null?!1:(Pg.lastIndex=0,Pg.test(e))}static replaceCaptures(e,t,n){return e.replace(Pg,(r,a,i,o)=>{let u=n[parseInt(a||i,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 xS(e,t){return e<t?-1:e>t?1:0}function yS(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 i=xS(e[a],t[a]);if(i!==0)return i}return 0}return n-r}function H7(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 vS(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var ES=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}},mf=class{constructor(e,t,n){this._colorMap=e,this._defaults=t,this._root=n}static createFromRawTheme(e,t){return this.createFromParsedTheme(FK(e),t)}static createFromParsedTheme(e,t){return GK(e,t)}_cachedMatchRoot=new ES(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=>zK(e.parent,a.parentScopes));return r?new wS(r.fontStyle,r.foreground,r.background):null}},jg=class Fh{constructor(t,n){this.parent=t,this.scopeName=n}static push(t,n){for(const r of n)t=new Fh(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new Fh(n,t[r]);return n}push(t){return new Fh(this,t)}getSegments(){let t=this;const n=[];for(;t;)n.push(t.scopeName),t=t.parent;return n.reverse(),n}toString(){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 zK(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&&!UK(e.scopeName,r);){if(a)return!1;e=e.parent}if(!e)return!1;e=e.parent}return!0}function UK(e,t){return t===e||e.startsWith(t)&&e[t.length]==="."}var wS=class{constructor(e,t,n){this.fontStyle=e,this.foregroundId=t,this.backgroundId=n}};function FK(e){if(!e)return[];if(!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,n=[],r=0;for(let a=0,i=t.length;a<i;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 x=0,y=m.length;x<y;x++)switch(m[x]){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 h=null;typeof o.settings.foreground=="string"&&H7(o.settings.foreground)&&(h=o.settings.foreground);let g=null;typeof o.settings.background=="string"&&H7(o.settings.background)&&(g=o.settings.background);for(let m=0,x=u.length;m<x;m++){let E=u[m].trim().split(" "),_=E[E.length-1],N=null;E.length>1&&(N=E.slice(0,E.length-1),N.reverse()),n[r++]=new qK(_,N,a,c,h,g)}}return n}var qK=class{constructor(e,t,n,r,a,i){this.scope=e,this.parentScopes=t,this.index=n,this.fontStyle=r,this.foreground=a,this.background=i}},Jn=(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))(Jn||{});function GK(e,t){e.sort((c,h)=>{let g=xS(c.scope,h.scope);return g!==0||(g=yS(c.parentScopes,h.parentScopes),g!==0)?g:c.index-h.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 i=new $K(t),o=new wS(n,i.getId(r),i.getId(a)),u=new YK(new a2(0,null,-1,0,0),[]);for(let c=0,h=e.length;c<h;c++){let g=e[c];u.insert(0,g.scope,g.parentScopes,g.fontStyle,i.getId(g.foreground),i.getId(g.background))}return new mf(i,o,u)}var $K=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)}},VK=Object.freeze([]),a2=class TS{scopeDepth;parentScopes;fontStyle;foreground;background;constructor(t,n,r,a,i){this.scopeDepth=t,this.parentScopes=n||VK,this.fontStyle=r,this.foreground=a,this.background=i}clone(){return new TS(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)}},YK=class s2{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 i=n.parentScopes[a].length-t.parentScopes[r].length;if(i!==0)return i;r++,a++}return n.parentScopes.length-t.parentScopes.length}match(t){if(t!==""){let r=t.indexOf("."),a,i;if(r===-1?(a=t,i=""):(a=t.substring(0,r),i=t.substring(r+1)),this._children.hasOwnProperty(a))return this._children[a].match(i)}const n=this._rulesWithParentScopes.concat(this._mainRule);return n.sort(s2._cmpBySpecificity),n}insert(t,n,r,a,i,o){if(n===""){this._doInsertHere(t,r,a,i,o);return}let u=n.indexOf("."),c,h;u===-1?(c=n,h=""):(c=n.substring(0,u),h=n.substring(u+1));let g;this._children.hasOwnProperty(c)?g=this._children[c]:(g=new s2(this._mainRule.clone(),a2.cloneArr(this._rulesWithParentScopes)),this._children[c]=g),g.insert(t+1,h,r,a,i,o)}_doInsertHere(t,n,r,a,i){if(n===null){this._mainRule.acceptOverwrite(t,r,a,i);return}for(let o=0,u=this._rulesWithParentScopes.length;o<u;o++){let c=this._rulesWithParentScopes[o];if(yS(c.parentScopes,n)===0){c.acceptOverwrite(t,r,a,i);return}}r===-1&&(r=this._mainRule.fontStyle),a===0&&(a=this._mainRule.foreground),i===0&&(i=this._mainRule.background),this._rulesWithParentScopes.push(new a2(t,n,r,a,i))}},ou=class ia{static toBinaryStr(t){return t.toString(2).padStart(32,"0")}static print(t){const n=ia.getLanguageId(t),r=ia.getTokenType(t),a=ia.getFontStyle(t),i=ia.getForeground(t),o=ia.getBackground(t);console.log({languageId:n,tokenType:r,fontStyle:a,foreground:i,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,i,o,u){let c=ia.getLanguageId(t),h=ia.getTokenType(t),g=ia.containsBalancedBrackets(t)?1:0,m=ia.getFontStyle(t),x=ia.getForeground(t),y=ia.getBackground(t);return n!==0&&(c=n),r!==8&&(h=r),a!==null&&(g=a?1:0),i!==-1&&(m=i),o!==0&&(x=o),u!==0&&(y=u),(c<<0|h<<8|g<<10|m<<11|x<<15|y<<24)>>>0}};function pf(e,t){const n=[],r=QK(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 h=o();if(n.push({matcher:h,priority:c}),a!==",")break;a=r.next()}return n;function i(){if(a==="-"){a=r.next();const c=i();return h=>!!c&&!c(h)}if(a==="("){a=r.next();const c=u();return a===")"&&(a=r.next()),c}if(B7(a)){const c=[];do c.push(a),a=r.next();while(B7(a));return h=>t(c,h)}return null}function o(){const c=[];let h=i();for(;h;)c.push(h),h=i();return g=>c.every(m=>m(g))}function u(){const c=[];let h=o();for(;h&&(c.push(h),a==="|"||a===",");){do a=r.next();while(a==="|"||a===",");h=o()}return g=>c.some(m=>m(g))}}function B7(e){return!!e&&!!e.match(/[\w\.:]+/)}function QK(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 _S(e){typeof e.dispose=="function"&&e.dispose()}var d0=class{constructor(e){this.scopeName=e}toKey(){return this.scopeName}},WK=class{constructor(e,t){this.scopeName=e,this.ruleName=t}toKey(){return`${this.scopeName}#${this.ruleName}`}},KK=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))}},XK=class{constructor(e,t){this.repo=e,this.initialScopeName=t,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new d0(this.initialScopeName)]}seenFullScopeRequests=new Set;seenPartialScopeRequests=new Set;Q;processQueue(){const e=this.Q;this.Q=[];const t=new KK;for(const n of e)ZK(n,this.initialScopeName,this.repo,t);for(const n of t.references)if(n instanceof d0){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 ZK(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 i=n.lookup(t);e instanceof d0?qh({baseGrammar:i,selfGrammar:a},r):i2(e.ruleName,{baseGrammar:i,selfGrammar:a,repository:a.repository},r);const o=n.injections(e.scopeName);if(o)for(const u of o)r.add(new d0(u))}function i2(e,t,n){if(t.repository&&t.repository[e]){const r=t.repository[e];gf([r],t,n)}}function qh(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&gf(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&gf(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function gf(e,t,n){for(const r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const a=r.repository?gS({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&gf(r.patterns,{...t,repository:a},n);const i=r.include;if(!i)continue;const o=kS(i);switch(o.kind){case 0:qh({...t,selfGrammar:t.baseGrammar},n);break;case 1:qh(t,n);break;case 2:i2(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?i2(o.ruleName,c,n):qh(c,n)}else o.kind===4?n.add(new WK(o.scopeName,o.ruleName)):n.add(new d0(o.scopeName));break}}}var JK=class{kind=0},eX=class{kind=1},tX=class{constructor(e){this.ruleName=e}kind=2},nX=class{constructor(e){this.scopeName=e}kind=3},rX=class{constructor(e,t){this.scopeName=e,this.ruleName=t}kind=4};function kS(e){if(e==="$base")return new JK;if(e==="$self")return new eX;const t=e.indexOf("#");if(t===-1)return new nX(e);if(t===0)return new tX(e.substring(1));{const n=e.substring(0,t),r=e.substring(t+1);return new rX(n,r)}}var aX=/\\(\d+)/,z7=/\\(\d+)/g,sX=-1,SS=-2;var I0=class{$location;id;_nameIsCapturing;_name;_contentNameIsCapturing;_contentName;constructor(e,t,n,r){this.$location=e,this.id=t,this._name=n||null,this._nameIsCapturing=Eh.hasCaptures(this._name),this._contentName=r||null,this._contentNameIsCapturing=Eh.hasCaptures(this._contentName)}get debugName(){const e=this.$location?`${bS(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:Eh.replaceCaptures(this._name,e,t)}getContentName(e,t){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:Eh.replaceCaptures(this._contentName,e,t)}},iX=class extends I0{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!")}},lX=class extends I0{_match;captures;_cachedCompiledPatterns;constructor(e,t,n,r,a){super(e,t,n,null),this._match=new h0(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 f0,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},U7=class extends I0{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 f0,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},l2=class extends I0{_begin;beginCaptures;_end;endHasBackReferences;endCaptures;applyEndPatternLast;hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(e,t,n,r,a,i,o,u,c,h){super(e,t,n,r),this._begin=new h0(a,this.id),this.beginCaptures=i,this._end=new h0(o||"ï¿¿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=u,this.applyEndPatternLast=c||!1,this.patterns=h.patterns,this.hasMissingPatterns=h.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 f0;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}},bf=class extends I0{_begin;beginCaptures;whileCaptures;_while;whileHasBackReferences;hasMissingPatterns;patterns;_cachedCompiledPatterns;_cachedCompiledWhilePatterns;constructor(e,t,n,r,a,i,o,u,c){super(e,t,n,r),this._begin=new h0(a,this.id),this.beginCaptures=i,this.whileCaptures=u,this._while=new h0(o,SS),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 f0;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 f0,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,t||"ï¿¿"),this._cachedCompiledWhilePatterns}},AS=class Xn{static createCaptureRule(t,n,r,a,i){return t.registerRule(o=>new iX(n,o,r,a,i))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(a=>{if(t.id=a,t.match)return new lX(t.$vscodeTextmateLocation,t.id,t.name,t.match,Xn._compileCaptures(t.captures,n,r));if(typeof t.begin>"u"){t.repository&&(r=gS({},r,t.repository));let i=t.patterns;return typeof i>"u"&&t.include&&(i=[{include:t.include}]),new U7(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,Xn._compilePatterns(i,n,r))}return t.while?new bf(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,Xn._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,Xn._compileCaptures(t.whileCaptures||t.captures,n,r),Xn._compilePatterns(t.patterns,n,r)):new l2(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,Xn._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,Xn._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,Xn._compilePatterns(t.patterns,n,r))}),t.id}static _compileCaptures(t,n,r){let a=[];if(t){let i=0;for(const o in t){if(o==="$vscodeTextmateLocation")continue;const u=parseInt(o,10);u>i&&(i=u)}for(let o=0;o<=i;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=Xn.getCompiledRuleId(t[o],n,r)),a[u]=Xn.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 i=0,o=t.length;i<o;i++){const u=t[i];let c=-1;if(u.include){const h=kS(u.include);switch(h.kind){case 0:case 1:c=Xn.getCompiledRuleId(r[u.include],n,r);break;case 2:let g=r[h.ruleName];g&&(c=Xn.getCompiledRuleId(g,n,r));break;case 3:case 4:const m=h.scopeName,x=h.kind===4?h.ruleName:null,y=n.getExternalGrammar(m,r);if(y)if(x){let E=y.repository[x];E&&(c=Xn.getCompiledRuleId(E,n,y.repository))}else c=Xn.getCompiledRuleId(y.repository.$self,n,y.repository);break}}else c=Xn.getCompiledRuleId(u,n,r);if(c!==-1){const h=n.getRule(c);let g=!1;if((h instanceof U7||h instanceof l2||h instanceof bf)&&h.hasMissingPatterns&&h.patterns.length===0&&(g=!0),g)continue;a.push(c)}}return{patterns:a,hasMissingPatterns:(t?t.length:0)!==a.length}}},h0=class NS{source;ruleId;hasAnchor;hasBackReferences;_anchorCache;constructor(t,n){if(t&&typeof t=="string"){const r=t.length;let a=0,i=[],o=!1;for(let u=0;u<r;u++)if(t.charAt(u)==="\\"&&u+1<r){const h=t.charAt(u+1);h==="z"?(i.push(t.substring(a,u)),i.push("$(?!\\n)(?<!\\n)"),a=u+2):(h==="A"||h==="G")&&(o=!0),u++}this.hasAnchor=o,a===0?this.source=t:(i.push(t.substring(a,r)),this.source=i.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=aX.test(this.source):this.hasBackReferences=!1}clone(){return new NS(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 z7.lastIndex=0,this.source.replace(z7,(a,i)=>vS(r[parseInt(i,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=[],i,o,u,c;for(i=0,o=this.source.length;i<o;i++)u=this.source.charAt(i),t[i]=u,n[i]=u,r[i]=u,a[i]=u,u==="\\"&&i+1<o&&(c=this.source.charAt(i+1),c==="A"?(t[i+1]="ï¿¿",n[i+1]="ï¿¿",r[i+1]="A",a[i+1]="A"):c==="G"?(t[i+1]="ï¿¿",n[i+1]="G",r[i+1]="ï¿¿",a[i+1]="G"):(t[i+1]=c,n[i+1]=c,r[i+1]=c,a[i+1]=c),i++);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}},f0=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 F7(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 F7(e,r,this._items.map(a=>a.ruleId))}},F7=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(`
641`)}findNextMatchSync(e,t,n){const r=this.scanner.findNextMatchSync(e,t,n);return r?{ruleId:this.rules[r.index],captureIndices:r.captureIndices}:null}},Hg=class{constructor(e,t){this.languageId=e,this.tokenType=t}},oX=class o2{_defaultAttributes;_embeddedLanguagesMatcher;constructor(t,n){this._defaultAttributes=new Hg(t,8),this._embeddedLanguagesMatcher=new uX(Object.entries(n||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return t===null?o2._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}static _NULL_SCOPE_METADATA=new Hg(0,0);_getBasicScopeAttributes=new ES(t=>{const n=this._scopeToLanguage(t),r=this._toStandardTokenType(t);return new Hg(n,r)});_scopeToLanguage(t){return this._embeddedLanguagesMatcher.match(t)||0}_toStandardTokenType(t){const n=t.match(o2.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/},uX=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])=>vS(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])}},q7=class{constructor(e,t){this.stack=e,this.stoppedEarly=t}};function CS(e,t,n,r,a,i,o,u){const c=t.content.length;let h=!1,g=-1;if(o){const y=cX(e,t,n,r,a,i);a=y.stack,r=y.linePos,n=y.isFirstLine,g=y.anchorPosition}const m=Date.now();for(;!h;){if(u!==0&&Date.now()-m>u)return new q7(a,!0);x()}return new q7(a,!1);function x(){const y=dX(e,t,n,r,a,g);if(!y){i.produce(a,c),h=!0;return}const E=y.captureIndices,_=y.matchedRuleId,N=E&&E.length>0?E[0].end>r:!1;if(_===sX){const A=a.getRule(e);i.produce(a,E[0].start),a=a.withContentNameScopesList(a.nameScopesList),Rc(e,t,n,a,i,A.endCaptures,E),i.produce(a,E[0].end);const C=a;if(a=a.parent,g=C.getAnchorPos(),!N&&C.getEnterPos()===r){a=C,i.produce(a,c),h=!0;return}}else{const A=e.getRule(_);i.produce(a,E[0].start);const C=a,M=A.getName(t.content,E),X=a.contentNameScopesList.pushAttributed(M,e);if(a=a.push(_,r,g,E[0].end===c,null,X,X),A instanceof l2){const G=A;Rc(e,t,n,a,i,G.beginCaptures,E),i.produce(a,E[0].end),g=E[0].end;const P=G.getContentName(t.content,E),B=X.pushAttributed(P,e);if(a=a.withContentNameScopesList(B),G.endHasBackReferences&&(a=a.withEndRule(G.getEndWithResolvedBackReferences(t.content,E))),!N&&C.hasSameRuleAs(a)){a=a.pop(),i.produce(a,c),h=!0;return}}else if(A instanceof bf){const G=A;Rc(e,t,n,a,i,G.beginCaptures,E),i.produce(a,E[0].end),g=E[0].end;const P=G.getContentName(t.content,E),B=X.pushAttributed(P,e);if(a=a.withContentNameScopesList(B),G.whileHasBackReferences&&(a=a.withEndRule(G.getWhileWithResolvedBackReferences(t.content,E))),!N&&C.hasSameRuleAs(a)){a=a.pop(),i.produce(a,c),h=!0;return}}else if(Rc(e,t,n,a,i,A.captures,E),i.produce(a,E[0].end),a=a.pop(),!N){a=a.safePop(),i.produce(a,c),h=!0;return}}E[0].end>r&&(r=E[0].end,n=!1)}}function cX(e,t,n,r,a,i){let o=a.beginRuleCapturedEOL?0:-1;const u=[];for(let c=a;c;c=c.pop()){const h=c.getRule(e);h instanceof bf&&u.push({rule:h,stack:c})}for(let c=u.pop();c;c=u.pop()){const{ruleScanner:h,findOptions:g}=mX(c.rule,e,c.stack.endRule,n,r===o),m=h.findNextMatchSync(t,r,g);if(m){if(m.ruleId!==SS){a=c.stack.pop();break}m.captureIndices&&m.captureIndices.length&&(i.produce(c.stack,m.captureIndices[0].start),Rc(e,t,n,c.stack,i,c.rule.whileCaptures,m.captureIndices),i.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 dX(e,t,n,r,a,i){const o=hX(e,t,n,r,a,i),u=e.getInjections();if(u.length===0)return o;const c=fX(u,e,t,n,r,a,i);if(!c)return o;if(!o)return c;const h=o.captureIndices[0].start,g=c.captureIndices[0].start;return g<h||c.priorityMatch&&g===h?c:o}function hX(e,t,n,r,a,i){const o=a.getRule(e),{ruleScanner:u,findOptions:c}=OS(o,e,a.endRule,n,r===i),h=u.findNextMatchSync(t,r,c);return h?{captureIndices:h.captureIndices,matchedRuleId:h.ruleId}:null}function fX(e,t,n,r,a,i,o){let u=Number.MAX_VALUE,c=null,h,g=0;const m=i.contentNameScopesList.getScopeNames();for(let x=0,y=e.length;x<y;x++){const E=e[x];if(!E.matcher(m))continue;const _=t.getRule(E.ruleId),{ruleScanner:N,findOptions:A}=OS(_,t,null,r,a===o),C=N.findNextMatchSync(n,a,A);if(!C)continue;const M=C.captureIndices[0].start;if(!(M>=u)&&(u=M,c=C.captureIndices,h=C.ruleId,g=E.priority,u===a))break}return c?{priorityMatch:g===-1,captureIndices:c,matchedRuleId:h}:null}function OS(e,t,n,r,a){return{ruleScanner:e.compileAG(t,n,r,a),findOptions:0}}function mX(e,t,n,r,a){return{ruleScanner:e.compileWhileAG(t,n,r,a),findOptions:0}}function Rc(e,t,n,r,a,i,o){if(i.length===0)return;const u=t.content,c=Math.min(i.length,o.length),h=[],g=o[0].end;for(let m=0;m<c;m++){const x=i[m];if(x===null)continue;const y=o[m];if(y.length===0)continue;if(y.start>g)break;for(;h.length>0&&h[h.length-1].endPos<=y.start;)a.produceFromScopes(h[h.length-1].scopes,h[h.length-1].endPos),h.pop();if(h.length>0?a.produceFromScopes(h[h.length-1].scopes,y.start):a.produce(r,y.start),x.retokenizeCapturedWithRuleId){const _=x.getName(u,o),N=r.contentNameScopesList.pushAttributed(_,e),A=x.getContentName(u,o),C=N.pushAttributed(A,e),M=r.push(x.retokenizeCapturedWithRuleId,y.start,-1,!1,null,N,C),X=e.createOnigString(u.substring(0,y.end));CS(e,X,n&&y.start===0,y.start,M,a,!1,0),_S(X);continue}const E=x.getName(u,o);if(E!==null){const N=(h.length>0?h[h.length-1].scopes:r.contentNameScopesList).pushAttributed(E,e);h.push(new pX(N,y.end))}}for(;h.length>0;)a.produceFromScopes(h[h.length-1].scopes,h[h.length-1].endPos),h.pop()}var pX=class{scopes;endPos;constructor(e,t){this.scopes=e,this.endPos=t}};function gX(e,t,n,r,a,i,o,u){return new xX(e,t,n,r,a,i,o,u)}function G7(e,t,n,r,a){const i=pf(t,xf),o=AS.getCompiledRuleId(n,r,a.repository);for(const u of i)e.push({debugSelector:t,matcher:u.matcher,ruleId:o,grammar:a,priority:u.priority})}function xf(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(bX(t[a],r))return n=a+1,!0;return!1})}function bX(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 xX=class{constructor(e,t,n,r,a,i,o,u){if(this._rootScopeName=e,this.balancedBracketSelectors=i,this._onigLib=u,this._basicScopeAttributesProvider=new oX(n,r),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=o,this._grammar=$7(t,null),this._injections=null,this._tokenTypeMatchers=[],a)for(const c of Object.keys(a)){const h=pf(c,xf);for(const g of h)this._tokenTypeMatchers.push({matcher:g.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)G7(t,o,a[o],this,r);const i=this._grammarRepository.injections(n);i&&i.forEach(o=>{const u=this.getExternalGrammar(o);if(u){const c=u.injectionSelector;c&&G7(t,c,u,this,u)}})}return t.sort((a,i)=>a.priority-i.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]=$7(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=AS.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let a;if(!t||t===u2.NULL){a=!0;const h=this._basicScopeAttributesProvider.getDefaultAttributes(),g=this.themeProvider.getDefaults(),m=ou.set(0,h.languageId,h.tokenType,null,g.fontStyle,g.foregroundId,g.backgroundId),x=this.getRule(this._rootId).getName(null,null);let y;x?y=Vc.createRootAndLookUpScopeName(x,m,this):y=Vc.createRoot("unknown",m),t=new u2(null,this._rootId,-1,-1,!1,null,y,y)}else a=!1,t.reset();e=e+`
642`;const i=this.createOnigString(e),o=i.content.length,u=new vX(n,e,this._tokenTypeMatchers,this.balancedBracketSelectors),c=CS(this,i,a,0,t,u,!0,r);return _S(i),{lineLength:o,lineTokens:u,ruleStack:c.stack,stoppedEarly:c.stoppedEarly}}};function $7(e,t){return e=jK(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 Vc=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 i of n)a=jg.push(a,i.scopeNames),r=new qa(r,a,i.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),i=new jg(null,t),o=r.themeProvider.themeMatch(i),u=qa.mergeAttributes(n,a,o);return new qa(null,i,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,i=0,o=0;return r!==null&&(a=r.fontStyle,i=r.foregroundId,o=r.backgroundId),ou.set(t,n.languageId,n.tokenType,null,a,i,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 i of r)a=qa._pushAttributed(a,i,n);return a}static _pushAttributed(t,n,r){const a=r.getMetadataForScope(n),i=t.scopePath.push(n),o=r.themeProvider.themeMatch(i),u=qa.mergeAttributes(t.tokenAttributes,a,o);return new qa(t,i,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}},u2=class _l{constructor(t,n,r,a,i,o,u,c){this.parent=t,this.ruleId=n,this.beginRuleCapturedEOL=i,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 _l(null,0,0,0,!1,null,null,null);_enterPos;_anchorPos;depth;equals(t){return t===null?!1:_l._equals(this,t)}static _equals(t,n){return t===n?!0:this._structuralEquals(t,n)?Vc.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(){_l._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,n,r,a,i,o,u){return new _l(this,t,n,r,a,i,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 _l(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=Vc.fromExtension(t?.nameScopesList??null,n.nameScopesList);return new _l(t,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,Vc.fromExtension(r,n.contentNameScopesList))}},yX=class{balancedBracketScopes;unbalancedBracketScopes;allowAny=!1;constructor(e,t){this.balancedBracketScopes=e.flatMap(n=>n==="*"?(this.allowAny=!0,[]):pf(n,xf).map(r=>r.matcher)),this.unbalancedBracketScopes=t.flatMap(n=>pf(n,xf).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}},vX=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 i=e?.getScopeNames()??[];for(const o of this._tokenTypeOverrides)o.matcher(i)&&(r=ou.set(r,0,o.type,null,-1,0,0));this.balancedBracketSelectors&&(a=this.balancedBracketSelectors.match(i))}if(a&&(r=ou.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}},EX=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 i=this._rawGrammars.get(e);if(!i)return null;this._grammars.set(e,gX(e,i,t,n,r,a,this,this._onigLib))}return this._grammars.get(e)}},wX=class{_options;_syncRegistry;_ensureGrammarCache;constructor(t){this._options=t,this._syncRegistry=new EX(mf.createFromRawTheme(t.theme,t.colorMap),t.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(t,n){this._syncRegistry.setTheme(mf.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 yX(r.balancedBracketSelectors||[],r.unbalancedBracketSelectors||[]))}loadGrammar(t){return this._loadGrammar(t,0,null,null,null)}_loadGrammar(t,n,r,a,i){const o=new XK(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,i)}_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,i=null){return this._syncRegistry.grammarForScopeName(t,n,r,a,i)}},c2=u2.NULL;const TX=/["&'<>`]/g,_X=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,kX=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,SX=/[|\\{}()[\]^$+*?.]/g,V7=new WeakMap;function AX(e,t){if(e=e.replace(t.subset?NX(t.subset):TX,r),t.subset||t.escapeOnly)return e;return e.replace(_X,n).replace(kX,r);function n(a,i,o){return t.format((a.charCodeAt(0)-55296)*1024+a.charCodeAt(1)-56320+65536,o.charCodeAt(i+2),t)}function r(a,i,o){return t.format(a.charCodeAt(0),o.charCodeAt(i+1),t)}}function NX(e){let t=V7.get(e);return t||(t=CX(e),V7.set(e,t)),t}function CX(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(SX,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}const OX=/[\dA-Fa-f]/;function RX(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!OX.test(String.fromCharCode(t))?r:r+";"}const DX=/\d/;function LX(e,t,n){const r="&#"+String(e);return n&&t&&!DX.test(String.fromCharCode(t))?r:r+";"}const IX=["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
642h","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],Bg={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,249 bytes, lines 642-651
642:"⊄",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:"€"},MX=["cent","copy","divide","gt","lt","not","para","times"],RS={}.hasOwnProperty,d2={};let wh;for(wh in Bg)RS.call(Bg,wh)&&(d2[Bg[wh]]=wh);const PX=/[^\dA-Za-z]/;function jX(e,t,n,r){const a=String.fromCharCode(e);if(RS.call(d2,a)){const i=d2[a],o="&"+i;return n&&IX.includes(i)&&!MX.includes(i)&&(!r||t&&t!==61&&PX.test(String.fromCharCode(t)))?o:o+";"}return""}function HX(e,t,n){let r=RX(e,t,n.omitOptionalSemicolons),a;if((n.useNamedReferences||n.useShortestReferences)&&(a=jX(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!a)&&n.useShortestReferences){const i=LX(e,t,n.omitOptionalSemicolons);i.length<r.length&&(r=i)}return a&&(!n.useShortestReferences||a.length<r.length)?a:r}function Jo(e,t){return AX(e,Object.assign({format:HX},t))}const BX=/^>|^->|<!--|-->|--!>|<!-$/g,zX=[">"],UX=["<",">"];function FX(e,t,n,r){return r.settings.bogusComments?"<?"+Jo(e.value,Object.assign({},r.settings.characterReferences,{subset:zX}))+">":"<!--"+e.value.replace(BX,a)+"-->";function a(i){return Jo(i,Object.assign({},r.settings.characterReferences,{subset:UX}))}}function qX(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}const Nn=LS(1),DS=LS(-1),GX=[];function LS(e){return t;function t(n,r,a){const i=n?n.children:GX;let o=(r||0)+e,u=i[o];if(!a)for(;u&&Xf(u);)o+=e,u=i[o];return u}}const $X={}.hasOwnProperty;function IS(e){return t;function t(n,r,a){return $X.call(e,n.tagName)&&e[n.tagName](n,r,a)}}const t4=IS({body:YX,caption:zg,colgroup:zg,dd:XX,dt:KX,head:zg,html:VX,li:WX,optgroup:ZX,option:JX,p:QX,rp:Y7,rt:Y7,tbody:tZ,td:Q7,tfoot:nZ,th:Q7,thead:eZ,tr:rZ});function zg(e,t,n){const r=Nn(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&Xf(r.value.charAt(0)))}function VX(e,t,n){const r=Nn(n,t);return!r||r.type!=="comment"}function YX(e,t,n){const r=Nn(n,t);return!r||r.type!=="comment"}function QX(e,t,n){const r=Nn(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 WX(e,t,n){const r=Nn(n,t);return!r||r.type==="element"&&r.tagName==="li"}function KX(e,t,n){const r=Nn(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function XX(e,t,n){const r=Nn(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function Y7(e,t,n){const r=Nn(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function ZX(e,t,n){const r=Nn(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function JX(e,t,n){const r=Nn(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function eZ(e,t,n){const r=Nn(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function tZ(e,t,n){const r=Nn(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function nZ(e,t,n){return!Nn(n,t)}function rZ(e,t,n){const r=Nn(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function Q7(e,t,n){const r=Nn(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const aZ=IS({body:lZ,colgroup:oZ,head:iZ,html:sZ,tbody:uZ});function sZ(e){const t=Nn(e,-1);return!t||t.type!=="comment"}function iZ(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 lZ(e){const t=Nn(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&Xf(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function oZ(e,t,n){const r=DS(n,t),a=Nn(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&t4(r,n.children.indexOf(r),n)?!1:!!(a&&a.type==="element"&&a.tagName==="col")}function uZ(e,t,n){const r=DS(n,t),a=Nn(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&t4(r,n.children.indexOf(r),n)?!1:!!(a&&a.type==="element"&&a.tagName==="tr")}const Th={name:[[`	
643\f\r &/=>`.split(""),`	
644\f\r "&'/=>\``.split("")],[`\0	
645\f\r "&'/<=>`.split(""),`\0	
646\f\r "&'/<=>\``.split("")]],unquoted:[[`	
647\f\r &>`.split(""),`\0	
648\f\r "&'<=>\``.split("")],[`\0	
649\f\r "&'<=>\``.split(""),`\0	
650\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function cZ(e,t,n,r){const a=r.schema,i=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=Ki);const h=dZ(r,e.properties),g=r.all(a.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=a,g&&(o=!1),(h||!i||!aZ(e,t,n))&&(u.push("<",e.tagName,h?" "+h:""),o&&(a.space==="svg"||r.settings.closeSelfClosing)&&(c=h.charAt(h.length-1),(!r.settings.tightSelfClosing||c==="/"||c&&c!=='"'&&c!=="'")&&u.push(" "),u.push("/")),u.push(">")),u.push(g),!o&&(!i||!t4(e,t,n))&&u.push("</"+e.tagName+">"),u.join("")}function dZ(e,t){const n=[];let r=-1,a;if(t){for(a in t)if(t[a]!==null&&t[a]!==void 0){const i=hZ(e,a,t[a]);i&&n.push(i)}}for(;++r<n.length;){const i=e.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&i!=='"'&&i!=="'"&&(n[r]+=" ")}return n.join("")}function hZ(e,t,n){const r=Zf(e.schema,t),a=e.settings.allowParseErrors&&e.schema.space==="html"?0:1,i=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=Jo(r.attribute,Object.assign({},e.settings.characterReferences,{subset:Th.name[a][i]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?sx:lx)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?c:(e.settings.preferUnquoted&&(u=Jo(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:Th.unquoted[a][i]}))),u!==n&&(e.settings.quoteSmart&&hf(n,o)>hf(n,e.alternative)&&(o=e.alternative),u=o+Jo(n,Object.assign({},e.settings.characterReferences,{subset:(o==="'"?Th.single:Th.double)[a][i],attribute:!0}))+o),c+(u&&"="+u))}const fZ=["<","&"];function MS(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:Jo(e.value,Object.assign({},r.settings.characterReferences,{subset:fZ}))}function mZ(e,t,n,r){return r.settings.allowDangerousHtml?e.value:MS(e,t,n,r)}function pZ(e,t,n,r){return r.all(e)}const gZ=qx("type",{invalid:bZ,unknown:xZ,handlers:{comment:FX,doctype:qX,element:cZ,raw:mZ,root:pZ,text:MS}});function bZ(e){throw new Error("Expected node, not `"+e+"`")}function xZ(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const yZ={},vZ={},EZ=[];function wZ(e,t){const n=t||yZ,r=n.quote||'"',a=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:TZ,all:_Z,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||d9,characterReferences:n.characterReferences||vZ,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?Ki:_0,quote:r,alternative:a}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function TZ(e,t,n){return gZ(e,t,n,this)}function _Z(e){const t=[],n=e&&e.children||EZ;let r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}function yf(e,t){const n=typeof e=="string"?{}:{...e.colorReplacements},r=typeof e=="string"?e:e.name;for(const[a,i]of Object.entries(t?.colorReplacements||{}))typeof i=="string"?n[a]=i:a===r&&Object.assign(n,i);return n}function ji(e,t){return e&&(t?.[e?.toLowerCase()]||e)}function kZ(e){return Array.isArray(e)?e:[e]}async function PS(e){return Promise.resolve(typeof e=="function"?e():e).then(t=>t.default||t)}function n4(e){return!e||["plaintext","txt","text","plain"].includes(e)}function jS(e){return e==="ansi"||n4(e)}function r4(e){return e==="none"}function HS(e){return r4(e)}function BS(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 pm(e,t=!1){const n=e.split(/(\r?\n)/g);let r=0;const a=[];for(let i=0;i<n.length;i+=2){const o=t?n[i]+(n[i+1]||""):n[i];a.push([o,r]),r+=n[i].length,r+=n[i+1]?.length||0}return a}function SZ(e){const t=pm(e,!0).map(([a])=>a);function n(a){if(a===e.length)return{line:t.length-1,character:t[t.length-1].length};let i=a,o=0;for(const u of t){if(i<u.length)break;i-=u.length,o++}return{line:o,character:i}}function r(a,i){let o=0;for(let u=0;u<a;u++)o+=t[u].length;return o+=i,o}return{lines:t,indexToPos:n,posToIndex:r}}const a4="light-dark()",AZ=["color","background-color"];function NZ(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 CZ(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 i=n.filter(o=>a.offset<o&&o<a.offset+a.content.length).map(o=>o-a.offset).sort((o,u)=>o-u);return i.length?NZ(a,i):a})):e}function OZ(e,t,n,r,a="css-vars"){const i={content:e.content,explanation:e.explanation,offset:e.offset},o=t.map(g=>vf(e.variants[g])),u=new Set(o.flatMap(g=>Object.keys(g))),c={},h=(g,m)=>{const x=m==="color"?"":m==="background-color"?"-bg":`-${m}`;return n+t[g]+(m==="color"?"":x)};return o.forEach((g,m)=>{for(const x of u){const y=g[x]||"inherit";if(m===0&&r&&AZ.includes(x))if(r===a4&&o.length>1){const E=t.findIndex(C=>C==="light"),_=t.findIndex(C=>C==="dark");if(E===-1||_===-1)throw new En('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');const N=o[E][x]||"inherit",A=o[_][x]||"inherit";c[x]=`light-dark(${N}, ${A})`,a==="css-vars"&&(c[h(m,x)]=y)}else c[x]=y;else a==="css-vars"&&(c[h(m,x)]=y)}}),i.htmlStyle=c,i}function vf(e){const t={};if(e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle){e.fontStyle&Jn.Italic&&(t["font-style"]="italic"),e.fontStyle&Jn.Bold&&(t["font-weight"]="bold");const n=[];e.fontStyle&Jn.Underline&&n.push("underline"),e.fontStyle&Jn.Strikethrough&&n.push("line-through"),n.length&&(t["text-decoration"]=n.join(" "))}return t}function h2(e){return typeof e=="string"?e:Object.entries(e).map(([t,n])=>`${t}:${n}`).join(";")}const zS=new WeakMap;function gm(e,t){zS.set(e,t)}function m0(e){return zS.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(kZ(n).map(r=>[r,c2])),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 RZ(this._stacks[t])}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.getScopes()}}}function RZ(e){const t=[],n=new Set;function r(a){if(n.has(a))return;n.add(a);const i=a?.nameScopesList?.scopeName;i&&t.push(i),a.parent&&r(a.parent)}return r(e),t}function DZ(e,t){if(!(e instanceof wu))throw new En("Invalid grammar state");return e.getInternalStack(t)}function LZ(){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 En(`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 En(`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 En(`Invalid decoration position ${JSON.stringify(o)}. Line ${o.line} length: ${u.length}`);return{...o,character:c,offset:a.posToIndex(o.line,c)}}};const a=SZ(n.source),i=(n.options.decorations||[]).map(o=>({...o,start:r(o.start),end:r(o.end)}));IZ(i),e.set(n.meta,{decorations:i,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 CZ(n,a)},code(n){if(!this.options.decorations?.length)return;const r=t(this),a=Array.from(n.children).filter(g=>g.type==="element"&&g.tagName==="span");if(a.length!==r.converter.lines.length)throw new En(`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 i(g,m,x,y){const E=a[g];let _="",N=-1,A=-1;if(m===0&&(N=0),x===0&&(A=0),x===Number.POSITIVE_INFINITY&&(A=E.children.length),N===-1||A===-1)for(let M=0;M<E.children.length;M++)_+=US(E.children[M]),N===-1&&_.length===m&&(N=M+1),A===-1&&_.length===x&&(A=M+1);if(N===-1)throw new En(`Failed to find start index for decoration ${JSON.stringify(y.start)}`);if(A===-1)throw new En(`Failed to find end index for decoration ${JSON.stringify(y.end)}`);const C=E.children.slice(N,A);if(!y.alwaysWrap&&C.length===E.children.length)u(E,y,"line");else if(!y.alwaysWrap&&C.length===1&&C[0].type==="element")u(C[0],y,"token");else{const M={type:"element",tagName:"span",properties:{},children:C};u(M,y,"wrapper"),E.children.splice(N,C.length,M)}}function o(g,m){a[g]=u(a[g],m,"line")}function u(g,m,x){const y=m.properties||{},E=m.transform||(_=>_);return g.tagName=m.tagName||"span",g.properties={...g.properties,...y,class:g.properties.class},m.properties?.class&&BS(g,m.properties.class),g=E(g,x)||g,g}const c=[],h=r.decorations.sort((g,m)=>m.start.offset-g.start.offset||g.end.offset-m.end.offset);for(const g of h){const{start:m,end:x}=g;if(m.line===x.line)i(m.line,m.character,x.character,g);else if(m.line<x.line){i(m.line,m.character,Number.POSITIVE_INFINITY,g);for(let y=m.line+1;y<x.line;y++)c.unshift(()=>o(y,g));i(x.line,0,x.character,g)}}c.forEach(g=>g())}}}function IZ(e){for(let t=0;t<e.length;t++){const n=e[t];if(n.start.offset>n.end.offset)throw new En(`Invalid decoration range: ${JSON.stringify(n.start)} - ${JSON.stringify(n.end)}`);for(let r=t+1;r<e.length;r++){const a=e[r],i=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(i||o||u||c){if(i&&o||u&&c||u&&n.start.offset===n.end.offset||o&&a.start.offset===a.end.offset)continue;throw new En(`Decorations ${JSON.stringify(n.start)} and ${JSON.stringify(a.start)} intersect.`)}}}}function US(e){return e.type==="text"?e.value:e.type==="element"?e.children.map(US).join(""):""}const MZ=[LZ()];function Ef(e){const t=PZ(e.transformers||[]);return[...t.pre,...t.normal,...t.post,...MZ]}function PZ(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 Nl=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],Ug={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",8:"hidden",9:"strikethrough"};function jZ(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 W7(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 HZ(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)Ug[r]&&t.push({type:"setDecoration",value:Ug[r]});else if(r<=29){const a=Ug[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:Nl[r-30]}});else if(r===38){const a=W7(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:Nl[r-40]}});else if(r===48){const a=W7(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:Nl[r-90+8]}}):r>=100&&r<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:Nl[r-100+8]}})}return t}function BZ(){let e=null,t=null,n=new Set;return{parse(r){const a=[];let i=0;do{const o=jZ(r,i),u=o.sequence?r.substring(i,o.startPosition):r.substring(i);if(u.length>0&&a.push({value:u,foreground:e,background:t,decorations:new Set(n)}),o.sequence){const c=HZ(o.sequence);for(const h of c)h.type==="resetAll"?(e=null,t=null,n.clear()):h.type==="resetForegroundColor"?e=null:h.type==="resetBackgroundColor"?t=null:h.type==="resetDecoration"&&n.delete(h.value);for(const h of c)h.type==="setForegroundColor"?e=h.value:h.type==="setBackgroundColor"?t=h.value:h.type==="setDecoration"&&n.add(h.value)}i=o.position}while(i<r.length);return a}}}var zZ={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 UZ(e=zZ){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 h=0;h<Nl.length;h++)r.push(t(Nl[h]));let u=[0,95,135,175,215,255];for(let h=0;h<6;h++)for(let g=0;g<6;g++)for(let m=0;m<6;m++)r.push(n([u[h],u[g],u[m]]));let c=8;for(let h=0;h<24;h++,c+=10)r.push(n([c,c,c]));return r}function i(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 i(u.index)}}return{value:o}}function FZ(e,t,n){const r=yf(e,n),a=pm(t),i=UZ(Object.fromEntries(Nl.map(u=>[u,e.colors?.[`terminal.ansi${u[0].toUpperCase()}${u.substring(1)}`]]))),o=BZ();return a.map(u=>o.parse(u[0]).map(c=>{let h,g;c.decorations.has("reverse")?(h=c.background?i.value(c.background):e.bg,g=c.foreground?i.value(c.foreground):e.fg):(h=c.foreground?i.value(c.foreground):e.fg,g=c.background?i.value(c.background):void 0),h=ji(h,r),g=ji(g,r),c.decorations.has("dim")&&(h=qZ(h));let m=Jn.None;return c.decorations.has("bold")&&(m|=Jn.Bold),c.decorations.has("italic")&&(m|=Jn.Italic),c.decorations.has("underline")&&(m|=Jn.Underline),c.decorations.has("strikethrough")&&(m|=Jn.Strikethrough),{content:c.value,offset:u[1],color:h,bgColor:g,fontStyle:m}}))}function qZ(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 s4(e,t,n={}){const{lang:r="text",theme:a=e.getLoadedThemes()[0]}=n;if(n4(r)||r4(a))return pm(t).map(c=>[{content:c[0],offset:c[1]}]);const{theme:i,colorMap:o}=e.setTheme(a);if(r==="ansi")return FZ(i,t,n);const u=e.getLanguage(r);if(n.grammarState){if(n.grammarState.lang!==u.name)throw new En(`Grammar state language "${n.grammarState.lang}" does not match highlight language "${u.name}"`);if(!n.grammarState.themes.includes(i.name))throw new En(`Grammar state themes "${n.grammarState.themes}" do not contain highlight theme "${i.name}"`)}return $Z(t,u,i,o,n)}function GZ(...e){if(e.length===2)return m0(e[1]);const[t,n,r={}]=e,{lang:a="text",theme:i=t.getLoadedThemes()[0]}=r;if(n4(a)||r4(i))throw new En("Plain language does not have grammar state");if(a==="ansi")throw new En("ANSI language does not have grammar state");const{theme:o,colorMap:u}=t.setTheme(i),c=t.getLanguage(a);return new wu(wf(n,c,o,u,r).stateStack,c.name,o.name)}function $Z(e,t,n,r,a){const i=wf(e,t,n,r,a),o=new wu(wf(e,t,n,r,a).stateStack,t.name,n.name);return gm(i.tokens,o),i.tokens}function wf(e,t,n,r,a){const i=yf(n,a),{tokenizeMaxLineLength:o=0,tokenizeTimeLimit:u=500}=a,c=pm(e);let h=a.grammarState?DZ(a.grammarState,n.name)??c2:a.grammarContextCode!=null?wf(a.grammarContextCode,t,n,r,{...a,grammarState:void 0,grammarContextCode:void 0}).stateStack:c2,g=[];const m=[];for(let x=0,y=c.length;x<y;x++){const[E,_]=c[x];if(E===""){g=[],m.push([]);continue}if(o>0&&E.length>=o){g=[],m.push([{content:E,offset:_,color:"",fontStyle:0}]);continue}let N,A,C;a.includeExplanation&&(N=t.tokenizeLine(E,h,u),A=N.tokens,C=0);const M=t.tokenizeLine2(E,h,u),X=M.tokens.length/2;for(let G=0;G<X;G++){const P=M.tokens[2*G],B=G+1<X?M.tokens[2*G+2]:E.length;if(P===B)continue;const Z=M.tokens[2*G+1],V=ji(r[ou.getForeground(Z)],i),U=ou.getFontStyle(Z),ae={content:E.substring(P,B),offset:_+P,color:V,fontStyle:U};if(a.includeExplanation){const te=[];if(a.includeExplanation!=="scopeName")for(const le of n.settings){let me;switch(typeof le.scope){case"string":me=le.scope.split(/,/).map($=>$.trim());break;case"object":me=le.scope;break;default:continue}te.push({settings:le,selectors:me.map($=>$.split(/ /))})}ae.explanation=[];let he=0;for(;P+he<B;){const le=A[C],me=E.substring(le.startIndex,le.endIndex);he+=me.length,ae.explanation.push({content:me,scopes:a.includeExplanation==="scopeName"?VZ(le.scopes):YZ(te,le.scopes)}),C+=1}}g.push(ae)}m.push(g),g=[],h=M.ruleStack}return{tokens:m,stateStack:h}}function VZ(e){return e.map(t=>({scopeName:t}))}function YZ(e,t){const n=[];for(let r=0,a=t.length;r<a;r++){const i=t[r];n[r]={scopeName:i,themeMatches:WZ(e,i,t.slice(0,r))}}return n}function K7(e,t){return e===t||t.substring(0,e.length)===e&&t[e.length]==="."}function QZ(e,t,n){if(!K7(e[e.length-1],t))return!1;let r=e.length-2,a=n.length-1;for(;r>=0&&a>=0;)K7(e[r],n[a])&&(r-=1),a-=1;return r===-1}function WZ(e,t,n){const r=[];for(const{selectors:a,settings:i}of e)for(const o of a)if(QZ(o,t,n)){r.push(i);break}return r}function FS(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 h=s4(e,t,{...n,theme:c.theme}),g=m0(h),m=typeof c.theme=="string"?c.theme:c.theme.name;return{tokens:h,state:g,theme:m}}),i=KZ(...a.map(c=>c.tokens)),o=i[0].map((c,h)=>c.map((g,m)=>{const x={content:g.content,variants:{},offset:g.offset};return"includeExplanation"in n&&n.includeExplanation&&(x.explanation=g.explanation),i.forEach((y,E)=>{const{content:_,explanation:N,offset:A,...C}=y[h][m];x.variants[r[E].color]=C}),x})),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&&gm(o,u),o}function KZ(...e){const t=e.map(()=>[]),n=e.length;for(let r=0;r<e[0].length;r++){const a=e.map(c=>c[r]),i=t.map(()=>[]);t.forEach((c,h)=>c.push(i[h]));const o=a.map(()=>0),u=a.map(c=>c[0]);for(;u.every(c=>c);){const c=Math.min(...u.map(h=>h.content.length));for(let h=0;h<n;h++){const g=u[h];g.content.length===c?(i[h].push(g),o[h]+=1,u[h]=a[h][o[h]]):(i[h].push({...g,content:g.content.slice(0,c)}),u[h]={...g,content:g.content.slice(c),offset:g.offset+c})}}}return t}function Tf(e,t,n){let r,a,i,o,u,c;if("themes"in n){const{defaultColor:h="light",cssVariablePrefix:g="--shiki-",colorsRendering:m="css-vars"}=n,x=Object.entries(n.themes).filter(A=>A[1]).map(A=>({color:A[0],theme:A[1]})).sort((A,C)=>A.color===h?-1:C.color===h?1:0);if(x.length===0)throw new En("`themes` option must not be empty");const y=FS(e,t,n);if(c=m0(y),h&&a4!==h&&!x.find(A=>A.color===h))throw new En(`\`themes\` option must contain the defaultColor key \`${h}\``);const E=x.map(A=>e.getTheme(A.theme)),_=x.map(A=>A.color);i=y.map(A=>A.map(C=>OZ(C,_,g,h,m))),c&&gm(i,c);const N=x.map(A=>yf(A.theme,n));a=X7(x,E,N,g,h,"fg",m),r=X7(x,E,N,g,h,"bg",m),o=`shiki-themes ${E.map(A=>A.name).join(" ")}`,u=h?void 0:[a,r].join(";")}else if("theme"in n){const h=yf(n.theme,n);i=s4(e,t,n);const g=e.getTheme(n.theme);r=ji(g.bg,h),a=ji(g.fg,h),o=g.name,c=m0(i)}else throw new En("Invalid options, either `theme` or `themes` must be provided");return{tokens:i,fg:a,bg:r,themeName:o,rootStyle:u,grammarState:c}}function X7(e,t,n,r,a,i,o){return e.map((u,c)=>{const h=ji(t[c][i],n[c])||"inherit",g=`${r+u.color}${i==="bg"?"-bg":""}:${h}`;if(c===0&&a){if(a===a4&&e.length>1){const m=e.findIndex(_=>_.color==="light"),x=e.findIndex(_=>_.color==="dark");if(m===-1||x===-1)throw new En('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');const y=ji(t[m][i],n[m])||"inherit",E=ji(t[x][i],n[x])||"inherit";return`light-dark(${y}, ${E});${g}`}return h}return o==="css-vars"?g:null}).filter(u=>!!u).join(";")}function _f(e,t,n,r={meta:{},options:n,codeToHast:(a,i)=>_f(e,a,i),codeToTokens:(a,i)=>Tf(e,a,i)}){let a=t;for(const E of Ef(n))a=E.preprocess?.call(r,a,n)||a;let{tokens:i,fg:o,bg:u,themeName:c,rootStyle:h,grammarState:g}=Tf(e,a,n);const{mergeWhitespaces:m=!0,mergeSameStyleTokens:x=!1}=n;m===!0?i=ZZ(i):m==="never"&&(i=JZ(i)),x&&(i=eJ(i));const y={...r,get source(){return a}};for(const E of Ef(n))i=E.tokens?.call(y,i)||i;return XZ(i,{...n,fg:o,bg:u,themeName:c,rootStyle:h},y,g)}function XZ(e,t,n,r=m0(e)){const a=Ef(t),i=[],o={type:"root",children:[]},{structure:u="classic",tabindex:c="0"}=t;let h={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(([E])=>!E.startsWith("_")))},children:[]},g={type:"element",tagName:"code",properties:{},children:i};const m=[],x={...n,structure:u,addClassToHast:BS,get source(){return n.source},get tokens(){return e},get options(){return t},get root(){return o},get pre(){return h},get code(){return g},get lines(){return m}};if(e.forEach((E,_)=>{_&&(u==="inline"?o.children.push({type:"element",tagName:"br",properties:{},children:[]}):u==="classic"&&i.push({type:"text",value:`
651`}));let N={type:"element",tagName:"span",properties:{class:"line"},children:[]},A=0;for(const C of E){let M={type:"element",tagName:"span",properties:{...C.htmlAttrs},children:[{type:"text",value:C.content}]};const X=h2(C.htmlStyle||vf(C));X&&(M.properties.style=X);for(const G of a)M=G?.span?.call(x,M,_+1,A,N,C)||M;u==="inline"?o.children.push(M):u==="classic"&&N.children.push(M),A+=C.content.length}if(u==="classic"){for(const C of a)N=C?.line?.call(x,N,_+1)||N;m.push(N),i.push(N)}}),u==="classic"){for(const E of a)g=E?.code?.call(x,g)||g;h.children.push(g);for(const E of a)h=E?.pre?.call(x,h)||h;o.children.push(h)}let y=o;for(const E of a)y=E?.root?.call(x,y)||y;return r&&gm(y,r),y}function ZZ(e){return e.map(t=>{const n=[];let r="",a=0;return t.forEach((i,o)=>{const c=!(i.fontStyle&&(i.fontStyle&Jn.Underline||i.fontStyle&Jn.Strikethrough));c&&i.content.match(/^\s+$/)&&t[o+1]?(a||(a=i.offset),r+=i.content):r?(c?n.push({...i,offset:a,content:r+i.content}):n.push({content:r,offset:a},i),a=0,r=""):n.push(i)}),n})}function JZ(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,i,o]=r;if(!a&&!o)return n;const u=[{...n,offset:n.offset+a.length,content:i}];return a&&u.unshift({content:a,offset:n.offset}),o&&u.push({content:o,offset:n.offset+a.length+i.length}),u}))}function eJ(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],i=h2(a.htmlStyle||vf(a)),o=h2(r.htmlStyle||vf(r)),u=a.fontStyle&&(a.fontStyle&Jn.Underline||a.fontStyle&Jn.Strikethrough),c=r.fontStyle&&(r.fontStyle&Jn.Underline||r.fontStyle&Jn.Strikethrough);!u&&!c&&i===o?a.content+=r.content:n.push({...r})}return n})}const tJ=wZ;function nJ(e,t,n){const r={meta:{},options:n,codeToHast:(i,o)=>_f(e,i,o),codeToTokens:(i,o)=>Tf(e,i,o)};let a=tJ(_f(e,t,n,r));for(const i of Ef(n))a=i.postprocess?.call(r,a,n)||a;return a}const Z7={light:"#333333",dark:"#bbbbbb"},J7={light:"#fffffe",dark:"#1e1e1e"},eE="__shiki_resolved";function i4(e){if(e?.[eE])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"?Z7.light:Z7.dark),n||(n=t.type==="light"?J7.light:J7.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 i=new Map;function o(u){if(i.has(u))return i.get(u);a+=1;const c=`#${a.toString(16).padStart(8,"0").toLowerCase()}`;return t.colorReplacements?.[`#${c}`]?o(u):(i.set(u,c),c)}t.settings=t.settings.map(u=>{const c=u.settings?.foreground&&!u.settings.foreground.startsWith("#"),h=u.settings?.background&&!u.settings.background.startsWith("#");if(!c&&!h)return u;const g={...u,settings:{...u.settings}};if(c){const m=o(u.settings.foreground);t.colorReplacements[m]=u.settings.foreground,g.settings.foreground=m}if(h){const m=o(u.settings.background);t.colorReplacements[m]=u.settings.background,g.settings.background=m}return g});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,eE,{enumerable:!1,writable:!1,value:!0}),t}async function qS(e){return Array.from(new Set((await Promise.all(e.filter(t=>!jS(t)).map(async t=>await PS(t).then(n=>Array.isArray(n)?n:[n])))).flat()))}async function GS(e){return(await Promise.all(e.map(async n=>HS(n)?null:i4(await PS(n))))).filter(n=>!!n)}let rJ=3;function aJ(e,t=3){t>rJ||console.trace(`[SHIKI DEPRECATE]: ${e}`)}let Yo=class extends Error{constructor(t){super(t),this.name="ShikiError"}};class sJ extends wX{constructor(t,n,r,a={}){super(t),this._resolver=t,this._themes=n,this._langs=r,this._alias=a,this._themes.map(i=>this.loadTheme(i)),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=i4(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=mf.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 Yo(`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(i=>i.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(i=>{this._alias[i]=t.name}),this._loadedLanguagesCache=null,n.size)for(const i of n)this._resolvedGrammars.delete(i.name),this._loadedLanguagesCache=null,this._syncRegistry?._injectionGrammars?.delete(i.scopeName),this._syncRegistry?._grammars?.delete(i.scopeName),this.loadLanguage(this._langMap.get(i.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,i])=>!i);if(r.length){const a=n.filter(([i,o])=>o&&o.embeddedLangs?.some(u=>r.map(([c])=>c).includes(u))).filter(i=>!r.includes(i));throw new Yo(`Missing languages ${r.map(([i])=>`\`${i}\``).join(", ")}, required by ${a.map(([i])=>`\`${i}\``).join(", ")}`)}for(const[a,i]of n)this._resolver.addLanguage(i);for(const[a,i]of n)this.loadLanguage(i)}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 iJ{_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 i=n.slice(0,a).join(".");r=[...r,...this._injections.get(i)||[]]}return r}}let kc=0;function lJ(e){kc+=1,e.warnings!==!1&&kc>=10&&kc%10===0&&console.warn(`[Shiki] ${kc} 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 Yo("`engine` option is required for synchronous mode");const n=(e.langs||[]).flat(1),r=(e.themes||[]).flat(1).map(i4),a=new iJ(e.engine,n),i=new sJ(a,r,n,e.langAlias);let o;function u(C){N();const M=i.getGrammar(typeof C=="string"?C:C.name);if(!M)throw new Yo(`Language \`${C}\` not found, you may need to load it first`);return M}function c(C){if(C==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};N();const M=i.getTheme(C);if(!M)throw new Yo(`Theme \`${C}\` not found, you may need to load it first`);return M}function h(C){N();const M=c(C);o!==C&&(i.setTheme(M),o=C);const X=i.getColorMap();return{theme:M,colorMap:X}}function g(){return N(),i.getLoadedThemes()}function m(){return N(),i.getLoadedLanguages()}function x(...C){N(),i.loadLanguages(C.flat(1))}async function y(...C){return x(await qS(C))}function E(...C){N();for(const M of C.flat(1))i.loadTheme(M)}async function _(...C){return N(),E(await GS(C))}function N(){if(t)throw new Yo("Shiki instance has been disposed")}function A(){t||(t=!0,i.dispose(),kc-=1)}return{setTheme:h,getTheme:c,getLanguage:u,getLoadedThemes:g,getLoadedLanguages:m,loadLanguage:y,loadLanguageSync:x,loadTheme:_,loadThemeSync:E,dispose:A,[Symbol.dispose]:A}}async function oJ(e){e.engine||aJ("`engine` option is required. Use `createOnigurumaEngine` or `createJavaScriptRegexEngine` to create an engine.");const[t,n,r]=await Promise.all([GS(e.themes||[]),qS(e.langs||[]),e.engine]);return lJ({...e,themes:t,langs:n,engine:r})}async function uJ(e){const t=await oJ(e);return{getLastGrammarState:(...n)=>GZ(t,...n),codeToTokensBase:(n,r)=>s4(t,n,r),codeToTokensWithThemes:(n,r)=>FS(t,n,r),codeToTokens:(n,r)=>Tf(t,n,r),codeToHast:(n,r)=>_f(t,n,r),codeToHtml:(n,r)=>nJ(t,n,r),getBundledLanguages:()=>({}),getBundledThemes:()=>({}),...t,getInternalContext:()=>t}}function cJ(e){const t=e.langs,n=e.themes,r=e.engine;async function a(i){function o(m){if(typeof m=="string"){if(jS(m))return[];m=i.langAlias?.[m]||m;const x=t[m];if(!x)throw new En(`Language \`${m}\` is not included in this bundle. You may want to load it from external source.`);return x}return m}function u(m){if(HS(m))return"none";if(typeof m=="string"){const x=n[m];if(!x)throw new En(`Theme \`${m}\` is not included in this bundle. You may want to load it from external source.`);return x}return m}const c=(i.themes??[]).map(m=>u(m)),h=(i.langs??[]).map(m=>o(m)),g=await uJ({engine:i.engine??r(),...i,themes:c,langs:h});return{...g,loadLanguage(...m){return g.loadLanguage(...m.map(o))},loadTheme(...m){return g.loadTheme(...m.map(u))},getBundledLanguages(){return t},getBundledThemes(){return n}}}return a}const $S=[{id:"abap",name:"ABAP",import:(()=>z(()=>import("./abap-BdImnpbu.js"),[]))},{id:"actionscript-3",name:"ActionScript",import:(()=>z(()=>import("./actionscript-3-CfeIJUat.js"),[]))},{id:"ada",name:"Ada",import:(()=>z(()=>import("./ada-bCR0ucgS.js"),[]))},{id:"angular-html",name:"Angular HTML",import:(()=>z(()=>import("./angular-html-CU67Zn6k.js").then(e=>e.f),__vite__mapDeps([0,1,2,3])))},{id:"angular-ts",name:"Angular TypeScript",import:(()=>z(()=>import("./angular-ts-BwZT4LLn.js"),__vite__mapDeps([4,0,1,2,3,5])))},{id:"apache",name:"Apache Conf",import:(()=>z(()=>import("./apache-Pmp26Uib.js"),[]))},{id:"apex",name:"Apex",import:(()=>z(()=>import("./apex-C7Pw0Ztw.js"),[]))},{id:"apl",name:"APL",import:(()=>z(()=>import("./apl-dKokRX4l.js"),__vite__mapDeps([6,1,2,3,7,8,9])))},{id:"applescript",name:"AppleScript",import:(()=>z(()=>import("./applescript-Co6uUVPk.js"),[]))},{id:"ara",name:"Ara",import:(()=>z(()=>import("./ara-BRHolxvo.js"),[]))},{id:"asciidoc",name:"AsciiDoc",aliases:["adoc"],import:(()=>z(()=>import("./asciidoc-Dv7Oe6Be.js"),[]))},{id:"asm",name:"Assembly",import:(()=>z(()=>import("./asm-D_Q5rh1f.js"),[]))},{id:"astro",name:"Astro",import:(()=>z(()=>import("./astro-CbQHKStN.js"),__vite__mapDeps([10,9,2,11,3,12,13])))},{id:"awk",name:"AWK",import:(()=>z(()=>import("./awk-DMzUqQB5.js"),[]))},{id:"ballerina",name:"Ballerina",import:(()=>z(()=>import("./ballerina-BFfxhgS-.js"),[]))},{id:"bat",name:"Batch File",aliases:["batch"],import:(()=>z(()=>import("./bat-BkioyH1T.js"),[]))},{id:"beancount",name:"Beancount",import:(()=>z(()=>import("./beancount-k_qm7-4y.js"),[]))},{id:"berry",name:"Berry",aliases:["be"],import:(()=>z(()=>import("./berry-D08WgyRC.js"),[]))},{id:"bibtex",name:"BibTeX",import:(()=>z(()=>import("./bibtex-CHM0blh-.js"),[]))},{id:"bicep",name:"Bicep",import:(()=>z(()=>import("./bicep-6nHXG8SA.js"),[]))},{id:"blade",name:"Blade",import:(()=>z(()=>import("./blade-DVc8C-J4.js"),__vite__mapDeps([14,15,1,2,3,7,8,16,9])))},{id:"bsl",name:"1C (Enterprise)",aliases:["1c"],import:(()=>z(()=>import("./bsl-BO_Y6i37.js"),__vite__mapDeps([17,18])))},{id:"c",name:"C",import:(()=>z(()=>import("./c-BIGW1oBm.js"),[]))},{id:"cadence",name:"Cadence",aliases:["cdc"],import:(()=>z(()=>import("./cadence-Bv_4Rxtq.js"),[]))},{id:"cairo",name:"Cairo",import:(()=>z(()=>import("./cairo-KRGpt6FW.js"),__vite__mapDeps([19,20])))},{id:"clarity",name:"Clarity",import:(()=>z(()=>import("./clarity-D53aC0YG.js"),[]))},{id:"clojure",name:"Clojure",aliases:["clj"],import:(()=>z(()=>import("./clojure-P80f7IUj.js"),[]))},{id:"cmake",name:"CMake",import:(()=>z(()=>import("./cmake-D1j8_8rp.js"),[]))},{id:"cobol",name:"COBOL",import:(()=>z(()=>import("./cobol-nwyudZeR.js"),__vite__mapDeps([21,1,2,3,8])))},{id:"codeowners",name:"CODEOWNERS",import:(()=>z(()=>import("./codeowners-Bp6g37R7.js"),[]))},{id:"codeql",name:"CodeQL",aliases:["ql"],import:(()=>z(()=>import("./codeql-DsOJ9woJ.js"),[]))},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:(()=>z(()=>import("./coffee-Ch7k5sss.js"),__vite__mapDeps([22,2])))},{id:"common-lisp",name:"Common Lisp",aliases:["lisp"],import:(()=>z(()=>import("./common-lisp-Cg-RD9OK.js"),[]))},{id:"coq",name:"Coq",import:(()=>z(()=>import("./coq-DkFqJrB1.js"),[]))},{id:"cpp",name:"C++",aliases:["c++"],import:(()=>z(()=>import("./cpp-CofmeUqb.js"),__vite__mapDeps([23,24,25,26,16])))},{id:"crystal",name:"Crystal",import:(()=>z(()=>import("./crystal-tKQVLTB8.js"),__vite__mapDeps([27,1,2,3,16,26,28])))},{id:"csharp",name:"C#",aliases:["c#","cs"],import:(()=>z(()=>import("./csharp-CX12Zw3r.js"),[]))},{id:"css",name:"CSS",import:(()=>z(()=>import("./css-DPfMkruS.js"),[]))},{id:"csv",name:"CSV",import:(()=>z(()=>import("./csv-fuZLfV_i.js"),[]))},{id:"cue",name:"CUE",import:(()=>z(()=>import("./cue-D82EKSYY.js"),[]))},{id:"cypher",name:"Cypher",aliases:["cql"],import:(()=>z(()=>import("./cypher-COkxafJQ.js"),[]))},{id:"d",name:"D",import:(()=>z(()=>import("./d-85-TOEBH.js"),[]))},{id:"dart",name:"Dart",import:(()=>z(()=>import("./dart-CF10PKvl.js"),[]))},{id:"dax",name:"DAX",import:(()=>z(()=>import("./dax-CEL-wOlO.js"),[]))},{id:"desktop",name:"Desktop",import:(()=>z(()=>import("./desktop-BmXAJ9_W.js"),[]))},{id:"diff",name:"Diff",import:(()=>z(()=>import("./diff-D97Zzqfu.js"),[]))},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:(()=>z(()=>import("./docker-BcOcwvcX.js"),[]))},{id:"dotenv",name:"dotEnv",import:(()=>z(()=>import("./dotenv-Da5cRb03.js"),[]))},{id:"dream-maker",name:"Dream Maker",import:(()=>z(()=>import("./dream-maker-BtqSS_iP.js"),[]))},{id:"edge",name:"Edge",import:(()=>z(()=>import("./edge-BkV0erSs.js"),__vite__mapDeps([29,11,1,2,3,15])))},{id:"elixir",name:"Elixir",import:(()=>z(()=>import("./elixir-CDX3lj18.js"),__vite__mapDeps([30,1,2,3])))},{id:"elm",name:"Elm",import:(()=>z(()=>import("./elm-DbKCFpqz.js"),__vite__mapDeps([31,25,26])))},{id:"emacs-lisp",name:"Emacs Lisp",aliases:["elisp"],import:(()=>z(()=>import("./emacs-lisp-C9XAeP06.js"),[]))},{id:"erb",name:"ERB",import:(()=>z(()=>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:(()=>z(()=>import("./erlang-DsQrWhSR.js"),__vite__mapDeps([39,40])))},{id:"fennel",name:"Fennel",import:(()=>z(()=>import("./fennel-BYunw83y.js"),[]))},{id:"fish",name:"Fish",import:(()=>z(()=>import("./fish-BvzEVeQv.js"),[]))},{id:"fluent",name:"Fluent",aliases:["ftl"],import:(()=>z(()=>import("./fluent-C4IJs8-o.js"),[]))},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:(()=>z(()=>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:(()=>z(()=>import("./fortran-free-form-D22FLkUw.js"),[]))},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:(()=>z(()=>import("./fsharp-CXgrBDvD.js"),__vite__mapDeps([43,40])))},{id:"gdresource",name:"GDResource",import:(()=>z(()=>import("./gdresource-B7Tvp0Sc.js"),__vite__mapDeps([44,45,46])))},{id:"gdscript",name:"GDScript",import:(()=>z(()=>import("./gdscript-DTMYz4Jt.js"),[]))},{id:"gdshader",name:"GDShader",import:(()=>z(()=>import("./gdshader-DkwncUOv.js"),[]))},{id:"genie",name:"Genie",import:(()=>z(()=>import("./genie-D0YGMca9.js"),[]))},{id:"gherkin",name:"Gherkin",import:(()=>z(()=>import("./gherkin-DyxjwDmM.js"),[]))},{id:"git-commit",name:"Git Commit Message",import:(()=>z(()=>import("./git-commit-F4YmCXRG.js"),__vite__mapDeps([47,48])))},{id:"git-rebase",name:"Git Rebase Message",import:(()=>z(()=>import("./git-rebase-r7XF79zn.js"),__vite__mapDeps([49,28])))},{id:"gleam",name:"Gleam",import:(()=>z(()=>import("./gleam-BspZqrRM.js"),[]))},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:(()=>z(()=>import("./glimmer-js-Rg0-pVw9.js"),__vite__mapDeps([50,2,11,3,1])))},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:(()=>z(()=>import("./glimmer-ts-U6CK756n.js"),__vite__mapDeps([51,11,3,2,1])))},{id:"glsl",name:"GLSL",import:(()=>z(()=>import("./glsl-DplSGwfg.js"),__vite__mapDeps([25,26])))},{id:"gnuplot",name:"Gnuplot",import:(()=>z(()=>import("./gnuplot-DdkO51Og.js"),[]))},{id:"go",name:"Go",import:(()=>z(()=>import("./go-Dn2_MT6a.js"),[]))},{id:"graphql",name:"GraphQL",aliases:["gql"],import:(()=>z(()=>import("./graphql-ChdNCCLP.js"),__vite__mapDeps([35,2,11,36,13])))},{id:"groovy",name:"Groovy",import:(()=>z(()=>import("./groovy-gcz8RCvz.js"),[]))},{id:"hack",name:"Hack",import:(()=>z(()=>import("./hack-CaT9iCJl.js"),__vite__mapDeps([52,1,2,3,16])))},{id:"haml",name:"Ruby Haml",import:(()=>z(()=>import("./haml-B8DHNrY2.js"),__vite__mapDeps([34,2,3])))},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:(()=>z(()=>import("./handlebars-BL8al0AC.js"),__vite__mapDeps([53,1,2,3,38])))},{id:"haskell",name:"Haskell",aliases:["hs"],import:(()=>z(()=>import("./haskell-Df6bDoY_.js"),[]))},{id:"haxe",name:"Haxe",import:(()=>z(()=>import("./haxe-CzTSHFRz.js"),[]))},{id:"hcl",name:"HashiCorp HCL",import:(()=>z(()=>import("./hcl-BWvSN4gD.js"),[]))},{id:"hjson",name:"Hjson",import:(()=>z(()=>import("./hjson-D5-asLiD.js"),[]))},{id:"hlsl",name:"HLSL",import:(()=>z(()=>import("./hlsl-D3lLCCz7.js"),[]))},{id:"html",name:"HTML",import:(()=>z(()=>import("./html-GMplVEZG.js"),__vite__mapDeps([1,2,3])))},{id:"html-derivative",name:"HTML (Derivative)",import:(()=>z(()=>import("./html-derivative-BFtXZ54Q.js"),__vite__mapDeps([15,1,2,3])))},{id:"http",name:"HTTP",import:(()=>z(()=>import("./http-jrhK8wxY.js"),__vite__mapDeps([54,28,9,7,8,35,2,11,36,13])))},{id:"hurl",name:"Hurl",import:(()=>z(()=>import("./hurl-irOxFIW8.js"),__vite__mapDeps([55,35,2,11,36,13,7,8,56])))},{id:"hxml",name:"HXML",import:(()=>z(()=>import("./hxml-Bvhsp5Yf.js"),__vite__mapDeps([57,58])))},{id:"hy",name:"Hy",import:(()=>z(()=>import("./hy-DFXneXwc.js"),[]))},{id:"imba",name:"Imba",import:(()=>z(()=>import("./imba-DGztddWO.js"),[]))},{id:"ini",name:"INI",aliases:["properties"],import:(()=>z(()=>import("./ini-BEwlwnbL.js"),[]))},{id:"java",name:"Java",import:(()=>z(()=>import("./java-CylS5w8V.js"),[]))},{id:"javascript",name:"JavaScript",aliases:["js","cjs","mjs"],import:(()=>z(()=>import("./javascript-wDzz0qaB.js"),[]))},{id:"jinja",name:"Jinja",import:(()=>z(()=>import("./jinja-4LBKfQ-Z.js"),__vite__mapDeps([59,1,2,3])))},{id:"jison",name:"Jison",import:(()=>z(()=>import("./jison-wvAkD_A8.js"),__vite__mapDeps([60,2])))},{id:"json",name:"JSON",import:(()=>z(()=>import("./json-Cp-IABpG.js"),[]))},{id:"json5",name:"JSON5",import:(()=>z(()=>import("./json5-C9tS-k6U.js"),[]))},{id:"jsonc",name:"JSON with Comments",import:(()=>z(()=>import("./jsonc-Des-eS-w.js"),[]))},{id:"jsonl",name:"JSON Lines",import:(()=>z(()=>import("./jsonl-DcaNXYhu.js"),[]))},{id:"jsonnet",name:"Jsonnet",import:(()=>z(()=>import("./jsonnet-DFQXde-d.js"),[]))},{id:"jssm",name:"JSSM",aliases:["fsl"],import:(()=>z(()=>import("./jssm-C2t-YnRu.js"),[]))},{id:"jsx",name:"JSX",import:(()=>z(()=>import("./jsx-g9-lgVsj.js"),[]))},{id:"julia",name:"Julia",aliases:["jl"],import:(()=>z(()=>import("./julia-C8NyazO9.js"),__vite__mapDeps([61,23,24,25,26,16,20,2,62])))},{id:"kdl",name:"KDL",import:(()=>z(()=>import("./kdl-DV7GczEv.js"),[]))},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:(()=>z(()=>import("./kotlin-BdnUsdx6.js"),[]))},{id:"kusto",name:"Kusto",aliases:["kql"],import:(()=>z(()=>import("./kusto-BvAqAH-y.js"),[]))},{id:"latex",name:"LaTeX",import:(()=>z(()=>import("./latex-BUKiar2Z.js"),__vite__mapDeps([63,64,62])))},{id:"lean",name:"Lean 4",aliases:["lean4"],import:(()=>z(()=>import("./lean-DP1Csr6i.js"),[]))},{id:"less",name:"Less",import:(()=>z(()=>import("./less-B1dDrJ26.js"),[]))},{id:"liquid",name:"Liquid",import:(()=>z(()=>import("./liquid-DYVedYrR.js"),__vite__mapDeps([65,1,2,3,9])))},{id:"llvm",name:"LLVM IR",import:(()=>z(()=>import("./llvm-BtvRca6l.js"),[]))},{id:"log",name:"Log file",import:(()=>z(()=>import("./log-2UxHyX5q.js"),[]))},{id:"logo",name:"Logo",import:(()=>z(()=>import("./logo-BtOb2qkB.js"),[]))},{id:"lua",name:"Lua",import:(()=>z(()=>import("./lua-BbnMAYS6.js"),__vite__mapDeps([37,26])))},{id:"luau",name:"Luau",import:(()=>z(()=>import("./luau-CXu1NL6O.js"),[]))},{id:"make",name:"Makefile",aliases:["makefile"],import:(()=>z(()=>import("./make-CHLpvVh8.js"),[]))},{id:"markdown",name:"Markdown",aliases:["md"],import:(()=>z(()=>import("./markdown-Cvjx9yec.js"),[]))},{id:"marko",name:"Marko",import:(()=>z(()=>import("./marko-CPi9NSCl.js"),__vite__mapDeps([66,3,67,5,11])))},{id:"matlab",name:"MATLAB",import:(()=>z(()=>import("./matlab-D7o27uSR.js"),[]))},{id:"mdc",name:"MDC",import:(()=>z(()=>import("./mdc-DUICxH0z.js"),__vite__mapDeps([68,40,38,15,1,2,3])))},{id:"mdx",name:"MDX",import:(()=>z(()=>import("./mdx-Cmh6b_Ma.js"),[]))},{id:"mermaid",name:"Mermaid",aliases:["mmd"],import:(()=>z(()=>import("./mermaid-DKYwYmdq.js"),[]))},{id:"mipsasm",name:"MIPS Assembly",aliases:["mips"],import:(()=>z(()=>import("./mipsasm-CKIfxQSi.js"),[]))},{id:"mojo",name:"Mojo",import:(()=>z(()=>import("./mojo-1DNp92w6.js"),[]))},{id:"move",name:"Move",import:(()=>z(()=>import("./move-Bu9oaDYs.js"),[]))},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:(()=>z(()=>import("./narrat-DRg8JJMk.js"),[]))},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:(()=>z(()=>import("./nextflow-CUEJCptM.js"),[]))},{id:"nginx",name:"Nginx",import:(()=>z(()=>import("./nginx-DknmC5AR.js"),__vite__mapDeps([69,37,26])))},{id:"nim",name:"Nim",import:(()=>z(()=>import("./nim-CVrawwO9.js"),__vite__mapDeps([70,26,1,2,3,7,8,25,40])))},{id:"nix",name:"Nix",import:(()=>z(()=>import("./nix-BbRYJGeE.js"),[]))},{id:"nushell",name:"nushell",aliases:["nu"],import:(()=>z(()=>import("./nushell-C-sUppwS.js"),[]))},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:(()=>z(()=>import("./objective-c-DXmwc3jG.js"),[]))},{id:"objective-cpp",name:"Objective-C++",import:(()=>z(()=>import("./objective-cpp-CLxacb5B.js"),[]))},{id:"ocaml",name:"OCaml",import:(()=>z(()=>import("./ocaml-C0hk2d4L.js"),[]))},{id:"pascal",name:"Pascal",import:(()=>z(()=>import("./pascal-D93ZcfNL.js"),[]))},{id:"perl",name:"Perl",import:(()=>z(()=>import("./perl-C0TMdlhV.js"),__vite__mapDeps([71,1,2,3,7,8,16])))},{id:"php",name:"PHP",import:(()=>z(()=>import("./php-CDn_0X-4.js"),__vite__mapDeps([72,1,2,3,7,8,16,9])))},{id:"pkl",name:"Pkl",import:(()=>z(()=>import("./pkl-u5AG7uiY.js"),[]))},{id:"plsql",name:"PL/SQL",import:(()=>z(()=>import("./plsql-ChMvpjG-.js"),[]))},{id:"po",name:"Gettext PO",aliases:["pot","potx"],import:(()=>z(()=>import("./po-BTJTHyun.js"),[]))},{id:"polar",name:"Polar",import:(()=>z(()=>import("./polar-C0HS_06l.js"),[]))},{id:"postcss",name:"PostCSS",import:(()=>z(()=>import("./postcss-CXtECtnM.js"),[]))},{id:"powerquery",name:"PowerQuery",import:(()=>z(()=>import("./powerquery-CEu0bR-o.js"),[]))},{id:"powershell",name:"PowerShell",aliases:["ps","ps1"],import:(()=>z(()=>import("./powershell-Dpen1YoG.js"),[]))},{id:"prisma",name:"Prisma",import:(()=>z(()=>import("./prisma-Dd19v3D-.js"),[]))},{id:"prolog",name:"Prolog",import:(()=>z(()=>import("./prolog-CbFg5uaA.js"),[]))},{id:"proto",name:"Protocol Buffer 3",aliases:["protobuf"],import:(()=>z(()=>import("./proto-DyJlTyXw.js"),[]))},{id:"pug",name:"Pug",aliases:["jade"],import:(()=>z(()=>import("./pug-CGlum2m_.js"),__vite__mapDeps([73,2,3,1])))},{id:"puppet",name:"Puppet",import:(()=>z(()=>import("./puppet-BMWR74SV.js"),[]))},{id:"purescript",name:"PureScript",import:(()=>z(()=>import("./purescript-CklMAg4u.js"),[]))},{id:"python",name:"Python",aliases:["py"],import:(()=>z(()=>import("./python-B6aJPvgy.js"),[]))},{id:"qml",name:"QML",import:(()=>z(()=>import("./qml-3beO22l8.js"),__vite__mapDeps([74,2])))},{id:"qmldir",name:"QML Directory",import:(()=>z(()=>import("./qmldir-C8lEn-DE.js"),[]))},{id:"qss",name:"Qt Style Sheets",import:(()=>z(()=>import("./qss-IeuSbFQv.js"),[]))},{id:"r",name:"R",import:(()=>z(()=>import("./r-DiinP2Uv.js"),[]))},{id:"racket",name:"Racket",import:(()=>z(()=>import("./racket-BqYA7rlc.js"),[]))},{id:"raku",name:"Raku",aliases:["perl6"],import:(()=>z(()=>import("./raku-DXvB9xmW.js"),[]))},{id:"razor",name:"ASP.NET Razor",import:(()=>z(()=>import("./razor-WgofotgN.js"),__vite__mapDeps([75,1,2,3,76])))},{id:"reg",name:"Windows Registry Script",import:(()=>z(()=>import("./reg-C-SQnVFl.js"),[]))},{id:"regexp",name:"RegExp",aliases:["regex"],import:(()=>z(()=>import("./regexp-CDVJQ6XC.js"),[]))},{id:"rel",name:"Rel",import:(()=>z(()=>import("./rel-C3B-1QV4.js"),[]))},{id:"riscv",name:"RISC-V",import:(()=>z(()=>import("./riscv-BM1_JUlF.js"),[]))},{id:"rosmsg",name:"ROS Interface",import:(()=>z(()=>import("./rosmsg-BJDFO7_C.js"),[]))},{id:"rst",name:"reStructuredText",import:(()=>z(()=>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:(()=>z(()=>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:(()=>z(()=>import("./rust-B1yitclQ.js"),[]))},{id:"sas",name:"SAS",import:(()=>z(()=>import("./sas-cz2c8ADy.js"),__vite__mapDeps([79,16])))},{id:"sass",name:"Sass",import:(()=>z(()=>import("./sass-Cj5Yp3dK.js"),[]))},{id:"scala",name:"Scala",import:(()=>z(()=>import("./scala-C151Ov-r.js"),[]))},{id:"scheme",name:"Scheme",import:(()=>z(()=>import("./scheme-C98Dy4si.js"),[]))},{id:"scss",name:"SCSS",import:(()=>z(()=>import("./scss-OYdSNvt2.js"),__vite__mapDeps([5,3])))},{id:"sdbl",name:"1C (Query)",aliases:["1c-query"],import:(()=>z(()=>import("./sdbl-DVxCFoDh.js"),[]))},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:(()=>z(()=>import("./shaderlab-Dg9Lc6iA.js"),__vite__mapDeps([80,81])))},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:(()=>z(()=>import("./shellscript-Yzrsuije.js"),[]))},{id:"shellsession",name:"Shell Session",aliases:["console"],import:(()=>z(()=>import("./shellsession-BADoaaVG.js"),__vite__mapDeps([82,28])))},{id:"smalltalk",name:"Smalltalk",import:(()=>z(()=>import("./smalltalk-BERRCDM3.js"),[]))},{id:"solidity",name:"Solidity",import:(()=>z(()=>import("./solidity-BbcW6ACK.js"),[]))},{id:"soy",name:"Closure Templates",aliases:["closure-templates"],import:(()=>z(()=>import("./soy-Brmx7dQM.js"),__vite__mapDeps([83,1,2,3])))},{id:"sparql",name:"SPARQL",import:(()=>z(()=>import("./sparql-rVzFXLq3.js"),__vite__mapDeps([84,85])))},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:(()=>z(()=>import("./splunk-BtCnVYZw.js"),[]))},{id:"sql",name:"SQL",import:(()=>z(()=>import("./sql-BLtJtn59.js"),[]))},{id:"ssh-config",name:"SSH Config",import:(()=>z(()=>import("./ssh-config-_ykCGR6B.js"),[]))},{id:"stata",name:"Stata",import:(()=>z(()=>import("./stata-BH5u7GGu.js"),__vite__mapDeps([86,16])))},{id:"stylus",name:"Stylus",aliases:["styl"],import:(()=>z(()=>import("./stylus-BEDo0Tqx.js"),[]))},{id:"svelte",name:"Svelte",import:(()=>z(()=>import("./svelte-3Dk4HxPD.js"),__vite__mapDeps([87,2,11,3,12])))},{id:"swift",name:"Swift",import:(()=>z(()=>import("./swift-Dg5xB15N.js"),[]))},{id:"system-verilog",name:"SystemVerilog",import:(()=>z(()=>import("./system-verilog-CnnmHF94.js"),[]))},{id:"systemd",name:"Systemd Units",import:(()=>z(()=>import("./systemd-4A_iFExJ.js"),[]))},{id:"talonscript",name:"TalonScript",aliases:["talon"],import:(()=>z(()=>import("./talonscript-CkByrt1z.js"),[]))},{id:"tasl",name:"Tasl",import:(()=>z(()=>import("./tasl-QIJgUcNo.js"),[]))},{id:"tcl",name:"Tcl",import:(()=>z(()=>import("./tcl-dwOrl1Do.js"),[]))},{id:"templ",name:"Templ",import:(()=>z(()=>import("./templ-W15q3VgB.js"),__vite__mapDeps([88,89,2,3])))},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:(()=>z(()=>import("./terraform-BETggiCN.js"),[]))}
651,{id:"tex",name:"TeX",import:(()=>z(()=>import("./tex-Cppo0RY3.js"),__vite__mapDeps([64,62])))},{id:"toml",name:"TOML",import:(()=>z(()=>import("./toml-vGWfd6FD.js"),[]))},{id:"ts-tags",name:"TypeScript with Tags",aliases:["lit"],import:(()=>z(()=>import("./ts-tags-zn1MmPIZ.js"),__vite__mapDeps([90,11,3,2,25,26,1,16,7,8])))},{id:"tsv",name:"TSV",import:(()=>z(()=>import("./tsv-B_m7g4N7.js"),[]))},{id:"tsx",name:"TSX",import:(()=>z(()=>import("./tsx-COt5Ahok.js"),[]))},{id:"turtle",name:"Turtle",import:(()=>z(()=>import("./turtle-BsS91CYL.js"),[]))},{id:"twig",name:"Twig",import:(()=>z(()=>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:(()=>z(()=>import("./typescript-BPQ3VLAy.js"),[]))},{id:"typespec",name:"TypeSpec",aliases:["tsp"],import:(()=>z(()=>import("./typespec-Df68jz8_.js"),[]))},{id:"typst",name:"Typst",aliases:["typ"],import:(()=>z(()=>import("./typst-DHCkPAjA.js"),[]))}
vendor: 5,479 bytes, line 651
651,{id:"v",name:"V",import:(()=>z(()=>import("./v-BcVCzyr7.js"),[]))},{id:"vala",name:"Vala",import:(()=>z(()=>import("./vala-CsfeWuGM.js"),[]))},{id:"vb",name:"Visual Basic",aliases:["cmd"],import:(()=>z(()=>import("./vb-D17OF-Vu.js"),[]))},{id:"verilog",name:"Verilog",import:(()=>z(()=>import("./verilog-BQ8w6xss.js"),[]))},{id:"vhdl",name:"VHDL",import:(()=>z(()=>import("./vhdl-CeAyd5Ju.js"),[]))},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:(()=>z(()=>import("./viml-CJc9bBzg.js"),[]))},{id:"vue",name:"Vue",import:(()=>z(()=>import("./vue-CCoi5OLL.js"),__vite__mapDeps([92,3,2,11,9,15,1])))},{id:"vue-html",name:"Vue HTML",import:(()=>z(()=>import("./vue-html-DAAvJJDi.js"),__vite__mapDeps([93,92,3,2,11,9,15,1])))},{id:"vue-vine",name:"Vue Vine",import:(()=>z(()=>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:(()=>z(()=>import("./vyper-CDx5xZoG.js"),[]))},{id:"wasm",name:"WebAssembly",import:(()=>z(()=>import("./wasm-MzD3tlZU.js"),[]))},{id:"wenyan",name:"Wenyan",aliases:["文言"],import:(()=>z(()=>import("./wenyan-BV7otONQ.js"),[]))},{id:"wgsl",name:"WGSL",import:(()=>z(()=>import("./wgsl-Dx-B1_4e.js"),[]))},{id:"wikitext",name:"Wikitext",aliases:["mediawiki","wiki"],import:(()=>z(()=>import("./wikitext-BhOHFoWU.js"),[]))},{id:"wit",name:"WebAssembly Interface Types",import:(()=>z(()=>import("./wit-5i3qLPDT.js"),[]))},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:(()=>z(()=>import("./wolfram-lXgVvXCa.js"),[]))},{id:"xml",name:"XML",import:(()=>z(()=>import("./xml-sdJ4AIDG.js"),__vite__mapDeps([7,8])))},{id:"xsl",name:"XSL",import:(()=>z(()=>import("./xsl-CtQFsRM5.js"),__vite__mapDeps([96,7,8])))},{id:"yaml",name:"YAML",aliases:["yml"],import:(()=>z(()=>import("./yaml-Buea-lGh.js"),[]))},{id:"zenscript",name:"ZenScript",import:(()=>z(()=>import("./zenscript-DVFEvuxE.js"),[]))},{id:"zig",name:"Zig",import:(()=>z(()=>import("./zig-VOosw3JB.js"),[]))}],dJ=Object.fromEntries($S.map(e=>[e.id,e.import])),hJ=Object.fromEntries($S.flatMap(e=>e.aliases?.map(t=>[t,e.import])||[])),VS={...dJ,...hJ},fJ=[{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:(()=>z(()=>import("./andromeeda-C-Jbm3Hp.js"),[]))},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:(()=>z(()=>import("./aurora-x-D-2ljcwZ.js"),[]))},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:(()=>z(()=>import("./ayu-dark-Cv9koXgw.js"),[]))},{id:"catppuccin-frappe",displayName:"Catppuccin Frappé",type:"dark",import:(()=>z(()=>import("./catppuccin-frappe-DFWUc33u.js"),[]))},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:(()=>z(()=>import("./catppuccin-latte-C9dUb6Cb.js"),[]))},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:(()=>z(()=>import("./catppuccin-macchiato-DQyhUUbL.js"),[]))},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:(()=>z(()=>import("./catppuccin-mocha-D87Tk5Gz.js"),[]))},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:(()=>z(()=>import("./dark-plus-eOWES_5F.js"),[]))},{id:"dracula",displayName:"Dracula Theme",type:"dark",import:(()=>z(()=>import("./dracula-BzJJZx-M.js"),[]))},{id:"dracula-soft",displayName:"Dracula Theme Soft",type:"dark",import:(()=>z(()=>import("./dracula-soft-BXkSAIEj.js"),[]))},{id:"everforest-dark",displayName:"Everforest Dark",type:"dark",import:(()=>z(()=>import("./everforest-dark-BgDCqdQA.js"),[]))},{id:"everforest-light",displayName:"Everforest Light",type:"light",import:(()=>z(()=>import("./everforest-light-C8M2exoo.js"),[]))},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:(()=>z(()=>import("./github-dark-DHJKELXO.js"),[]))},{id:"github-dark-default",displayName:"GitHub Dark Default",type:"dark",import:(()=>z(()=>import("./github-dark-default-Cuk6v7N8.js"),[]))},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:(()=>z(()=>import("./github-dark-dimmed-DH5Ifo-i.js"),[]))},{id:"github-dark-high-contrast",displayName:"GitHub Dark High Contrast",type:"dark",import:(()=>z(()=>import("./github-dark-high-contrast-E3gJ1_iC.js"),[]))},{id:"github-light",displayName:"GitHub Light",type:"light",import:(()=>z(()=>import("./github-light-DAi9KRSo.js"),[]))},{id:"github-light-default",displayName:"GitHub Light Default",type:"light",import:(()=>z(()=>import("./github-light-default-D7oLnXFd.js"),[]))},{id:"github-light-high-contrast",displayName:"GitHub Light High Contrast",type:"light",import:(()=>z(()=>import("./github-light-high-contrast-BfjtVDDH.js"),[]))},{id:"gruvbox-dark-hard",displayName:"Gruvbox Dark Hard",type:"dark",import:(()=>z(()=>import("./gruvbox-dark-hard-CFHQjOhq.js"),[]))},{id:"gruvbox-dark-medium",displayName:"Gruvbox Dark Medium",type:"dark",import:(()=>z(()=>import("./gruvbox-dark-medium-GsRaNv29.js"),[]))},{id:"gruvbox-dark-soft",displayName:"Gruvbox Dark Soft",type:"dark",import:(()=>z(()=>import("./gruvbox-dark-soft-CVdnzihN.js"),[]))},{id:"gruvbox-light-hard",displayName:"Gruvbox Light Hard",type:"light",import:(()=>z(()=>import("./gruvbox-light-hard-CH1njM8p.js"),[]))},{id:"gruvbox-light-medium",displayName:"Gruvbox Light Medium",type:"light",import:(()=>z(()=>import("./gruvbox-light-medium-DRw_LuNl.js"),[]))},{id:"gruvbox-light-soft",displayName:"Gruvbox Light Soft",type:"light",import:(()=>z(()=>import("./gruvbox-light-soft-hJgmCMqR.js"),[]))},{id:"houston",displayName:"Houston",type:"dark",import:(()=>z(()=>
651import("./houston-DnULxvSX.js"),[]))},{id:"kanagawa-dragon",displayName:"Kanagawa Dragon",type:"dark",import:(()=>z(()=>import("./kanagawa-dragon-CkXjmgJE.js"),[]))},{id:"kanagawa-lotus",displayName:"Kanagawa Lotus",type:"light",import:(()=>z(()=>import("./kanagawa-lotus-CfQXZHmo.js"),[]))},{id:"kanagawa-wave",displayName:"Kanagawa Wave",type:"dark",import:(()=>z(()=>import("./kanagawa-wave-DWedfzmr.js"),[]))},{id:"laserwave",displayName:"LaserWave",type:"dark",import:(()=>z(()=>import("./laserwave-DUszq2jm.js"),[]))},{id:"light-plus",displayName:"Light Plus",type:"light",import:(()=>z(()=>import("./light-plus-B7mTdjB0.js"),[]))},{id:"material-theme",displayName:"Material Theme",type:"dark",import:(()=>z(()=>import("./material-theme-D5KoaKCx.js"),[]))},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:(()=>z(()=>import("./material-theme-darker-BfHTSMKl.js"),[]))},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:(()=>z(()=>import("./material-theme-lighter-B0m2ddpp.js"),[]))},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:(()=>z(()=>import("./material-theme-ocean-CyktbL80.js"),[]))},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:(()=>z(()=>import("./material-theme-palenight-Csfq5Kiy.js"),[]))},{id:"min-dark",displayName:"Min Dark",type:"dark",import:(()=>z(()=>import("./min-dark-CafNBF8u.js"),[]))},{id:"min-light",displayName:"Min Light",type:"light",import:(()=>z(()=>import("./min-light-CTRr51gU.js"),[]))},{id:"monokai",displayName:"Monokai",type:"dark",import:(()=>z(()=>import("./monokai-D4h5O-jR.js"),[]))},{id:"night-owl",displayName:"Night Owl",type:"dark",import:(()=>z(()=>import("./night-owl-C39BiMTA.js"),[]))},{id:"nord",displayName:"Nord",type:"dark",import:(()=>z(()=>import("./nord-Ddv68eIx.js"),[]))},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:(()=>z(()=>import("./one-dark-pro-DVMEJ2y_.js"),[]))},{id:"one-light",displayName:"One Light",type:"light",import:(()=>z(()=>import("./one-light-PoHY5YXO.js"),[]))},{id:"plastic",displayName:"Plastic",type:"dark",import:(()=>z(()=>import("./plastic-3e1v2bzS.js"),[]))},{id:"poimandres",displayName:"Poimandres",type:"dark",import:(()=>z(()=>import("./poimandres-CS3Unz2-.js"),[]))},{id:"red",displayName:"Red",type:"dark",import:(()=>z(()=>import("./red-bN70gL4F.js"),[]))},{id:"rose-pine",displayName:"Rosé Pine",type:"dark",import:(()=>z(()=>import("./rose-pine-BHrmToEH.js"),[]))},{id:"rose-pine-dawn",displayName:"Rosé Pine Dawn",type:"light",import:(()=>z(()=>import("./rose-pine-dawn-CnK8MTSM.js"),[]))},{id:"rose-pine-moon",displayName:"Rosé Pine Moon",type:"dark",import:(()=>z(()=>import("./rose-pine-moon-NleAzG8P.js"),[]))},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:(()=>z(()=>import("./slack-dark-BthQWCQV.js"),[]))},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:(()=>z(()=>import("./slack-ochin-DqwNpetd.js"),[]))},{id:"snazzy-light",displayName:"Snazzy Light",type:"light",import:(()=>z(()=>import("./snazzy-light-Bw305WKR.js"),[]))},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:(()=>z(()=>import("./solarized-dark-DXbdFlpD.js"),[]))},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:(()=>z(()=>import("./solarized-light-L9t79GZl.js"),[]))},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:(()=>z(()=>import("./synthwave-84-CbfX1IO0.js"),[]))},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:(()=>z(()=>import("./tokyo-night-hegEt444.js"),[]))},{id:"vesper",displayName:"Vesper",type:"dark",import:(()=>z(()=>import("./vesper-DU1UobuO.js"),[]))},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:(()=>z(()=>import("./vitesse-black-Bkuqu6BP.js"),[]))},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:(()=>z(()=>import("./vitesse-dark-D0r3Knsf.js"),[]))},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:(()=>z(()=>import("./vitesse-light-CVO1_9PV.js"),[]))}],mJ=Object.fromEntries(fJ.map(e=>[e.id,e.import]));
vendor: 20,427 bytes, lines 651-683
651class l4 extends Error{constructor(t){super(t),this.name="ShikiError"}}function pJ(){return 2147483648}function gJ(){return typeof performance<"u"?performance.now():Date.now()}const bJ=(e,t)=>e+(t-e%t)%t;async function xJ(e){let t,n;const r={};function a(y){n=y,r.HEAPU8=new Uint8Array(y),r.HEAPU32=new Uint32Array(y)}function i(y,E,_){r.HEAPU8.copyWithin(y,E,E+_)}function o(y){try{return t.grow(y-n.byteLength+65535>>>16),a(t.buffer),1}catch{}}function u(y){const E=r.HEAPU8.length;y=y>>>0;const _=pJ();if(y>_)return!1;for(let N=1;N<=4;N*=2){let A=E*(1+.2/N);A=Math.min(A,y+100663296);const C=Math.min(_,bJ(Math.max(y,A),65536));if(o(C))return!0}return!1}const c=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function h(y,E,_=1024){const N=E+_;let A=E;for(;y[A]&&!(A>=N);)++A;if(A-E>16&&y.buffer&&c)return c.decode(y.subarray(E,A));let C="";for(;E<A;){let M=y[E++];if(!(M&128)){C+=String.fromCharCode(M);continue}const X=y[E++]&63;if((M&224)===192){C+=String.fromCharCode((M&31)<<6|X);continue}const G=y[E++]&63;if((M&240)===224?M=(M&15)<<12|X<<6|G:M=(M&7)<<18|X<<12|G<<6|y[E++]&63,M<65536)C+=String.fromCharCode(M);else{const P=M-65536;C+=String.fromCharCode(55296|P>>10,56320|P&1023)}}return C}function g(y,E){return y?h(r.HEAPU8,y,E):""}const m={emscripten_get_now:gJ,emscripten_memcpy_big:i,emscripten_resize_heap:u,fd_write:()=>0};async function x(){const E=await e({env:m,wasi_snapshot_preview1:m});t=E.memory,a(t.buffer),Object.assign(r,E),r.UTF8ToString=g}return await x(),r}var yJ=Object.defineProperty,vJ=(e,t,n)=>t in e?yJ(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,kn=(e,t,n)=>vJ(e,typeof t!="symbol"?t+"":t,n);let Ln=null;function EJ(e){throw new l4(e.UTF8ToString(e.getLastOnigError()))}class bm{constructor(t){kn(this,"utf16Length"),kn(this,"utf8Length"),kn(this,"utf16Value"),kn(this,"utf8Value"),kn(this,"utf16OffsetToUtf8"),kn(this,"utf8OffsetToUtf16");const n=t.length,r=bm._utf8ByteLength(t),a=r!==n,i=a?new Uint32Array(n+1):null;a&&(i[n]=r);const o=a?new Uint32Array(r+1):null;a&&(o[r]=n);const u=new Uint8Array(r);let c=0;for(let h=0;h<n;h++){const g=t.charCodeAt(h);let m=g,x=!1;if(g>=55296&&g<=56319&&h+1<n){const y=t.charCodeAt(h+1);y>=56320&&y<=57343&&(m=(g-55296<<10)+65536|y-56320,x=!0)}a&&(i[h]=c,x&&(i[h+1]=c),m<=127?o[c+0]=h:m<=2047?(o[c+0]=h,o[c+1]=h):m<=65535?(o[c+0]=h,o[c+1]=h,o[c+2]=h):(o[c+0]=h,o[c+1]=h,o[c+2]=h,o[c+3]=h)),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),x&&h++}this.utf16Length=n,this.utf8Length=r,this.utf16Value=t,this.utf8Value=u,this.utf16OffsetToUtf8=i,this.utf8OffsetToUtf16=o}static _utf8ByteLength(t){let n=0;for(let r=0,a=t.length;r<a;r++){const i=t.charCodeAt(r);let o=i,u=!1;if(i>=55296&&i<=56319&&r+1<a){const c=t.charCodeAt(r+1);c>=56320&&c<=57343&&(o=(i-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 xm=class Ga{constructor(t){if(kn(this,"id",++Ga.LAST_ID),kn(this,"_onigBinding"),kn(this,"content"),kn(this,"utf16Length"),kn(this,"utf8Length"),kn(this,"utf16OffsetToUtf8"),kn(this,"utf8OffsetToUtf16"),kn(this,"ptr"),!Ln)throw new l4("Must invoke loadWasm first.");this._onigBinding=Ln,this.content=t;const n=new bm(t);this.utf16Length=n.utf16Length,this.utf8Length=n.utf8Length,this.utf16OffsetToUtf8=n.utf16OffsetToUtf8,this.utf8OffsetToUtf16=n.utf8OffsetToUtf16,this.utf8Length<1e4&&!Ga._sharedPtrInUse?(Ga._sharedPtr||(Ga._sharedPtr=Ln.omalloc(1e4)),Ga._sharedPtrInUse=!0,Ln.HEAPU8.set(n.utf8Value,Ga._sharedPtr),this.ptr=Ga._sharedPtr):this.ptr=n.createString(Ln)}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===Ga._sharedPtr?Ga._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};kn(xm,"LAST_ID",0);kn(xm,"_sharedPtr",0);kn(xm,"_sharedPtrInUse",!1);let YS=xm;class wJ{constructor(t){if(kn(this,"_onigBinding"),kn(this,"_ptr"),!Ln)throw new l4("Must invoke loadWasm first.");const n=[],r=[];for(let u=0,c=t.length;u<c;u++){const h=new bm(t[u]);n[u]=h.createString(Ln),r[u]=h.utf8Length}const a=Ln.omalloc(4*t.length);Ln.HEAPU32.set(n,a/4);const i=Ln.omalloc(4*t.length);Ln.HEAPU32.set(r,i/4);const o=Ln.createOnigScanner(a,i,t.length);for(let u=0,c=t.length;u<c;u++)Ln.ofree(n[u]);Ln.ofree(i),Ln.ofree(a),o===0&&EJ(Ln),this._onigBinding=Ln,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 YS(t);const i=this._findNextMatchSync(t,n,!1,a);return t.dispose(),i}return this._findNextMatchSync(t,n,!1,a)}_findNextMatchSync(t,n,r,a){const i=this._onigBinding,o=i.findNextOnigScannerMatch(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(n),a);if(o===0)return null;const u=i.HEAPU32;let c=o/4;const h=u[c++],g=u[c++],m=[];for(let x=0;x<g;x++){const y=t.convertUtf8OffsetToUtf16(u[c++]),E=t.convertUtf8OffsetToUtf16(u[c++]);m[x]={start:y,end:E,length:E-y}}return{index:h,captureIndices:m}}}function TJ(e){return typeof e.instantiator=="function"}function _J(e){return typeof e.default=="function"}function kJ(e){return typeof e.data<"u"}function SJ(e){return typeof Response<"u"&&e instanceof Response}function AJ(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 _h;function NJ(e){if(_h)return _h;async function t(){Ln=await xJ(async n=>{let r=e;return r=await r,typeof r=="function"&&(r=await r(n)),typeof r=="function"&&(r=await r(n)),TJ(r)?r=await r.instantiator(n):_J(r)?r=await r.default(n):(kJ(r)&&(r=r.data),SJ(r)?typeof WebAssembly.instantiateStreaming=="function"?r=await CJ(r)(n):r=await OJ(r)(n):AJ(r)?r=await Fg(r)(n):r instanceof WebAssembly.Module?r=await Fg(r)(n):"default"in r&&r.default instanceof WebAssembly.Module&&(r=await Fg(r.default)(n))),"instance"in r&&(r=r.instance),"exports"in r&&(r=r.exports),r})}return _h=t(),_h}function Fg(e){return t=>WebAssembly.instantiate(e,t)}function CJ(e){return t=>WebAssembly.instantiateStreaming(e,t)}function OJ(e){return async t=>{const n=await e.arrayBuffer();return WebAssembly.instantiate(n,t)}}async function RJ(e){return e&&await NJ(e),{createScanner(t){return new wJ(t.map(n=>typeof n=="string"?n:n.source))},createString(t){return new YS(t)}}}const tE=cJ({langs:VS,themes:mJ,engine:()=>RJ(z(()=>import("./wasm-CG6Dc4jp.js"),[]))});function Tu(e){if([...e].length!==1)throw new Error(`Expected "${e}" to be a single code point`);return e.codePointAt(0)}function DJ(e,t,n){return e.has(t)||e.set(t,n),e.get(t)}const o4=new Set(["alnum","alpha","ascii","blank","cntrl","digit","graph","lower","print","punct","space","upper","word","xdigit"]),Mn=String.raw;function _u(e,t){if(e==null)throw new Error(t??"Value expected");return e}const QS=Mn`\[\^?`,WS=`c.? | C(?:-.?)?|${Mn`[pP]\{(?:\^?[-\x20_]*[A-Za-z][-\x20\w]*\})?`}|${Mn`x[89A-Fa-f]\p{AHex}(?:\\x[89A-Fa-f]\p{AHex})*`}|${Mn`u(?:\p{AHex}{4})? | x\{[^\}]*\}? | x\p{AHex}{0,2}`}|${Mn`o\{[^\}]*\}?`}|${Mn`\d{1,3}`}`,u4=/[?*+][?+]?|\{(?:\d+(?:,\d*)?|,\d+)\}\??/,kh=new RegExp(Mn`
652  \\ (?:
653    ${WS}
654    | [gk]<[^>]*>?
655    | [gk]'[^']*'?
656    | .
657  )
658  | \( (?:
659    \? (?:
660      [:=!>({]
661      | <[=!]
662      | <[^>]*>
663      | '[^']*'
664      | ~\|?
665      | #(?:[^)\\]|\\.?)*
666      | [^:)]*[:)]
667    )?
668    | \*[^\)]*\)?
669  )?
670  | (?:${u4.source})+
671  | ${QS}
672  | .
673`.replace(/\s+/g,""),"gsu"),qg=new RegExp(Mn`
674  \\ (?:
675    ${WS}
676    | .
677  )
678  | \[:(?:\^?\p{Alpha}+|\^):\]
679  | ${QS}
680  | &&
681  | .
682`.replace(/\s+/g,""),"gsu");function LJ(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=ZJ(n.flags),a=[r.extended],i={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(kh.lastIndex=0;u=kh.exec(e);){const m=IJ(i,e,u[0],kh.lastIndex);m.tokens?o.push(...m.tokens):m.token&&o.push(m.token),m.lastIndex!==void 0&&(kh.lastIndex=m.lastIndex)}const c=[];let h=0;o.filter(m=>m.type==="GroupOpen").forEach(m=>{m.kind==="capturing"?m.number=++h:m.raw==="("&&c.push(m)}),h||c.forEach((m,x)=>{m.kind="capturing",m.number=x+1});const g=h||c.length;return{tokens:o.map(m=>m.type==="EscapedNumber"?eee(m,g):m).flat(),flags:r}}function IJ(e,t,n,r){const[a,i]=n;if(n==="["||n==="[^"){const o=MJ(t,n,r);return{tokens:o.tokens,lastIndex:o.lastIndex}}if(a==="\\"){if("AbBGyYzZ".includes(i))return{token:nE(n,n)};if(/^\\g[<']/.test(n)){if(!/^\\g(?:<[^>]+>|'[^']+')$/.test(n))throw new Error(`Invalid group name "${n}"`);return{token:$J(n)}}if(/^\\k[<']/.test(n)){if(!/^\\k(?:<[^>]+>|'[^']+')$/.test(n))throw new Error(`Invalid group name "${n}"`);return{token:XS(n)}}if(i==="K")return{token:ZS("keep",n)};if(i==="N"||i==="R")return{token:Cl("newline",n,{negate:i==="N"})};if(i==="O")return{token:Cl("any",n)};if(i==="X")return{token:Cl("text_segment",n)};const o=KS(n,{inCharClass:!1});return Array.isArray(o)?{tokens:o}:{token:o}}if(a==="("){if(i==="*")return{token:WJ(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:QJ(n,e)};if(e.pushModX(e.getCurrentModX()),e.numOpenGroups++,n==="("&&!e.captureGroup||n==="(?:")return{token:qo("group",n)};if(n==="(?>")return{token:qo("atomic",n)};if(n==="(?="||n==="(?!"||n==="(?<="||n==="(?<!")return{token:qo(n[2]==="<"?"lookbehind":"lookahead",n,{negate:n.endsWith("!")})};if(n==="("&&e.captureGroup||n.startsWith("(?<")&&n.endsWith(">")||n.startsWith("(?'")&&n.endsWith("'"))return{token:qo("capturing",n,{...n!=="("&&{name:n.slice(3,-1)}})};if(n.startsWith("(?~")){if(n==="(?~|")throw new Error(`Unsupported absence function kind "${n}"`);return{token:qo("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:FJ(n)}}if(e.getCurrentModX()){if(n==="#"){const o=t.indexOf(`
683`,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:Cl("dot",n)};if(n==="^"||n==="$"){const o=e.singleline?{"^":Mn`\A`,$:Mn`\Z`}[n]:n;return{token:nE(o,n)}}return n==="|"?{token:jJ(n)}:u4.test(n)?{tokens:tee(n)}:{token:Hs(Tu(n),n)}}function MJ(e,t,n){const r=[rE(t[1]==="^",t)];let a=1,i;for(qg.lastIndex=n;i=qg.exec(e);){const o=i[0];if(o[0]==="["&&o[1]!==":")a++,r.push(rE(o[1]==="^",o));else if(o==="]"){if(r.at(-1).type==="CharacterClassOpen")r.push(Hs(93,o));else if(a--,r.push(HJ(o)),!a)break}else{const u=PJ(o);Array.isArray(u)?r.push(...u):r.push(u)}}return{tokens:r,lastIndex:qg.lastIndex||e.length}}function PJ(e){if(e[0]==="\\")return KS(e,{inCharClass:!0});if(e[0]==="["){const t=/\[:(?<negate>\^?)(?<name>[a-z]+):\]/.exec(e);if(!t||!o4.has(t.groups.name))throw new Error(`Invalid POSIX class "${e}"`);return Cl("posix",e,{value:t.groups.name,negate:!!t.groups.negate})}return e==="-"?BJ(e):e==="&&"?zJ(e):Hs(Tu(e),e)}function KS(e,{inCharClass:t}){const n=e[1];if(n==="c"||n==="C")return YJ(e);if("dDhHsSwW".includes(n))return KJ(e);if(e.startsWith(Mn`\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 XJ(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)),i=new TextEncoder;return[...a].map(o=>{const u=[...i.encode(o)].map(c=>`\\x${c.toString(16)}`).join("");return Hs(Tu(o),u)})}catch{throw new Error(`Multibyte code "${e}" incomplete or invalid in Oniguruma`)}if(n==="u"||n==="x")return Hs(JJ(e),e);if(aE.has(n))return Hs(aE.get(n),e);if(/\d/.test(n))return UJ(t,e);if(e==="\\")throw new Error(Mn`Incomplete escape "\"`);if(n==="M")throw new Error(`Unsupported meta "${e}"`);if([...e].length===2)return Hs(e.codePointAt(1),e);throw new Error(`Unexpected escape "${e}"`)}function jJ(e){return{type:"Alternator",raw:e}}function nE(e,t){return{type:"Assertion",kind:e,raw:t}}function XS(e){return{type:"Backreference",raw:e}}function Hs(e,t){return{type:"Character",value:e,raw:t}}function HJ(e){return{type:"CharacterClassClose",raw:e}}function BJ(e){return{type:"CharacterClassHyphen",raw:e}}function zJ(e){return{type:"CharacterClassIntersector",raw:e}}function rE(e,t){return{type:"CharacterClassOpen",negate:e,raw:t}}function Cl(e,t,n={}){return{type:"CharacterSet",kind:e,...n,raw:t}}function ZS(e,t,n={}){return e==="keep"?{type:"Directive",kind:e,raw:t}:{type:"Directive",kind:e,flags:_u(n.flags),raw:t}}function UJ(e,t){return{type:"EscapedNumber",inCharClass:e,raw:t}}function FJ(e){return{type:"GroupClose",raw:e}}function qo(e,t,n={}){return{type:"GroupOpen",kind:e,...n,raw:t}}function qJ(e,t,n,r){return{type:"NamedCallout",kind:e,tag:t,arguments:n,raw:r}}function GJ(e,t,n,r){return{type:"Quantifier",kind:e,min:t,max:n,raw:r}}function $J(e){return{type:"Subroutine",raw:e}}const VJ=new Set(["COUNT","CMP","ERROR","FAIL","MAX","MISMATCH","SKIP","TOTAL_COUNT"]),aE=new Map([["a",7],["b",8],["e",27],["f",12],["n",10],["r",13],["t",9],["v",11]]);function YJ(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 Hs(Tu(t.toUpperCase())-64,e)}function QJ(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"),i=iE(n),o=iE(r),u={};if(i&&(u.enable=i),o&&(u.disable=o),e.endsWith(")"))return t.replaceCurrentModX(a),ZS("flags",e,{flags:u});if(e.endsWith(":"))return t.pushModX(a),t.numOpenGroups++,qo("group",e,{...(i||o)&&{flags:u}});throw new Error(`Unexpected flag modifier "${e}"`)}function WJ(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 i=a?a.split(",").filter(g=>g!=="").map(g=>/^[+-]?\d+$/.test(g)?+g:g):[],[o,u,c]=i,h=VJ.has(n)?n.toLowerCase():"custom";switch(h){case"fail":case"mismatch":case"skip":if(i.length>0)throw new Error(`Named callout arguments not allowed "${i}"`);break;case"error":if(i.length>1)throw new Error(`Named callout allows only one argument "${i}"`);if(typeof o=="string")throw new Error(`Named callout argument must be a number "${o}"`);break;case"max":if(!i.length||i.length>2)throw new Error(`Named callout must have one or two arguments "${i}"`);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(i.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(i.length>1)throw new Error(`Named callout allows only one argument "${i}"`);if(i.length===1&&(typeof o=="number"||!/^[<>X]$/.test(o)))throw new Error(`Named callout optional argument must be '<', '>', or 'X' "${o}"`);break;case"cmp":if(i.length!==3)throw new Error(`Named callout must have three arguments "${i}"`);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 "${h}"`)}return qJ(h,r??null,a?.split(",")??null,e)}function sE(e){let t=null,n,r;if(e[0]==="{"){const{minStr:a,maxStr:i}=/^\{(?<minStr>\d*)(?:,(?<maxStr>\d*))?/.exec(e).groups,o=1e5;if(+a>o||i&&+i>o)throw new Error("Quantifier value unsupported in Oniguruma");if(n=+a,r=i===void 0?+a:i===""?1/0:+i,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 GJ(t,n,r,e)}function KJ(e){const t=e[1].toLowerCase();return Cl({d:"digit",h:"hex",s:"space",w:"word"}[t],e,{negate:e[1]!==t})}function XJ(e){const{p:t,neg:n,value:r}=/^\\(?<p>[pP])\{(?<neg>\^?)(?<value>[^}]+)/.exec(e).groups;return Cl("property",e,{value:r,negate:t==="P"&&!n||t==="p"&&!!n})}function iE(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 ZJ(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 JJ(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 eee(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[XS(n)];const i=[],o=a.match(/^[0-7]+|\d/g);for(let u=0;u<o.length;u++){const c=o[u];let h;if(u===0&&c!=="8"&&c!=="9"){if(h=parseInt(c,8),h>127)throw new Error(Mn`Octal encoded byte above 177 unsupported "${n}"`)}else h=Tu(c);i.push(Hs(h,(u===0?"\\":"")+c))}return i}function tee(e){const t=[],n=new RegExp(u4,"gy");let r;for(;r=n.exec(e);){const a=r[0];if(a[0]==="{"){const i=/^\{(?<min>\d+),(?<max>\d+)\}\??$/.exec(a);if(i){const{min:o,max:u}=i.groups;if(+o>+u&&a.endsWith("?")){n.lastIndex--,t.push(sE(a.slice(0,-1)));continue}}}t.push(sE(a))}return t}function JS(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 nee(e){return ree.has(e.type)}const ree=new Set(["AbsenceFunction","Backreference","CapturingGroup","Character","CharacterClass","CharacterSet","Group","Quantifier","Subroutine"]);function eA(e,t={}){const n={flags:"",normalizeUnknownPropertyNames:!1,skipBackrefValidation:!1,skipLookbehindValidation:!1,skipPropertyNameValidation:!1,unicodePropertyMap:null,...t,rules:{captureGroup:!1,singleline:!1,...t.rules}},r=LJ(e,{flags:n.flags,rules:{captureGroup:n.rules.captureGroup,singleline:n.rules.singleline}}),a=(x,y)=>{const E=r.tokens[i.nextIndex];switch(i.parent=x,i.nextIndex++,E.type){case"Alternator":return Pl();case"Assertion":return aee(E);case"Backreference":return see(E,i);case"Character":return ym(E.value,{useLastValid:!!y.isCheckingRangeEnd});case"CharacterClassHyphen":return iee(E,i,y);case"CharacterClassOpen":return lee(E,i,y);case"CharacterSet":return oee(E,i);case"Directive":return mee(E.kind,{flags:E.flags});case"GroupOpen":return uee(E,i,y);case"NamedCallout":return gee(E.kind,E.tag,E.arguments);case"Quantifier":return cee(E,i);
vendor: 2,018 bytes, line 683
683case"Subroutine":return dee(E,i);default:throw new Error(`Unexpected token type "${E.type}"`)}},i={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=xee(pee(r.flags));let u=o.body[0];for(;i.nextIndex<r.tokens.length;){const x=a(u,{});x.type==="Alternative"?(o.body.push(x),u=x):u.body.push(x)}const{capturingGroups:c,hasNumberedRef:h,namedGroupsByName:g,subroutines:m}=i;if(h&&g.size&&!n.rules.captureGroup)throw new Error("Numbered backref/subroutine not allowed when using named capture");for(const{ref:x}of m)if(typeof x=="number"){if(x>c.length)throw new Error("Subroutine uses a group number that's not defined");x&&(c[x-1].isSubroutined=!0)}else if(g.has(x)){if(g.get(x).length>1)throw new Error(Mn`Subroutine uses a duplicate group name "\g<${x}>"`);g.get(x)[0].isSubroutined=!0}else throw new Error(Mn`Subroutine uses a group name that's not defined "\g<${x}>"`);return o}function aee({kind:e}){return f2(_u({"^":"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===Mn`\B`||e===Mn`\Y`})}function see({raw:e},t){const n=/^\\k[<']/.test(e),r=n?e.slice(3,-1):e.slice(1),a=(i,o=!1)=>{const u=t.capturingGroups.length;let c=!1;if(i>u)if(t.skipBackrefValidation)c=!0;else throw new Error(`Not enough capturing groups defined to the left "${e}"`);return t.hasNumberedRef=!0,m2(o?u+1-i:i,{orphan:c})};if(n){const i=/^(?<sign>-?)0*(?<num>[1-9]\d*)$/.exec(r);if(i)return a(+i.groups.num,!!i.groups.sign);if(/[-+]/.test(r))throw new Error(`Invalid backref name "${e}"`);
vendor: 8,036 bytes, line 683
683if(!t.namedGroupsByName.has(r))throw new Error(`Group name not defined to the left "${e}"`);return m2(r)}return a(+r)}function iee(e,t,n){const{tokens:r,walk:a}=t,i=t.parent,o=i.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(i,{...n,isCheckingRangeEnd:!0});if(o.type==="Character"&&c.type==="Character")return i.body.pop(),fee(o,c);throw new Error("Invalid character class range")}return ym(Tu("-"))}function lee({negate:e},t,n){const{tokens:r,walk:a}=t,i=r[t.nextIndex],o=[Gh()];let u=uE(i);for(;u.type!=="CharacterClassClose";){if(u.type==="CharacterClassIntersector")o.push(Gh()),t.nextIndex++;else{const h=o.at(-1);h.body.push(a(h,n))}u=uE(r[t.nextIndex],i)}const c=Gh({negate:e});return o.length===1?c.body=o[0].body:(c.kind="intersection",c.body=o.map(h=>h.body.length===1?h.body[0]:h)),t.nextIndex++,c}function oee({kind:e,negate:t,value:n},r){const{normalizeUnknownPropertyNames:a,skipPropertyNameValidation:i,unicodePropertyMap:o}=r;if(e==="property"){const u=vm(n);if(o4.has(u)&&!o?.has(u))e="posix",n=u;else return Go(n,{negate:t,normalizeUnknownPropertyNames:a,skipPropertyNameValidation:i,unicodePropertyMap:o})}return e==="posix"?bee(n,{negate:t}):p2(e,{negate:t})}function uee(e,t,n){const{tokens:r,capturingGroups:a,namedGroupsByName:i,skipLookbehindValidation:o,walk:u}=t,c=yee(e),h=c.type==="AbsenceFunction",g=oE(c),m=g&&c.negate;if(c.type==="CapturingGroup"&&(a.push(c),c.name&&DJ(i,c.name,[]).push(c)),h&&n.isInAbsenceFunction)throw new Error("Nested absence function not supported by Oniguruma");let x=cE(r[t.nextIndex]);for(;x.type!=="GroupClose";){if(x.type==="Alternator")c.body.push(Pl()),t.nextIndex++;else{const y=c.body.at(-1),E=u(y,{...n,isInAbsenceFunction:n.isInAbsenceFunction||h,isInLookbehind:n.isInLookbehind||g,isInNegLookbehind:n.isInNegLookbehind||m});if(y.body.push(E),(g||n.isInLookbehind)&&!o){const _="Lookbehind includes a pattern not allowed by Oniguruma";if(m||n.isInNegLookbehind){if(lE(E)||E.type==="CapturingGroup")throw new Error(_)}else if(lE(E)||oE(E)&&E.negate)throw new Error(_)}}x=cE(r[t.nextIndex])}return t.nextIndex++,c}function cee({kind:e,min:t,max:n},r){const a=r.parent,i=a.body.at(-1);if(!i||!nee(i))throw new Error("Quantifier requires a repeatable token");const o=nA(e,t,n,i);return a.body.pop(),o}function dee({raw:e},t){const{capturingGroups:n,subroutines:r}=t;let a=e.slice(3,-1);const i=/^(?<sign>[-+]?)0*(?<num>[1-9]\d*)$/.exec(a);if(i){const u=+i.groups.num,c=n.length;if(t.hasNumberedRef=!0,a={"":u,"+":c+u,"-":c+1-u}[i.groups.sign],a<1)throw new Error("Invalid subroutine number")}else a==="0"&&(a=0);const o=rA(a);return r.push(o),o}function hee(e,t){return{type:"AbsenceFunction",kind:e,body:M0(t?.body)}}function Pl(e){return{type:"Alternative",body:aA(e?.body)}}function f2(e,t){const n={type:"Assertion",kind:e};return(e==="word_boundary"||e==="text_segment_boundary")&&(n.negate=!!t?.negate),n}function m2(e,t){const n=!!t?.orphan;return{type:"Backreference",ref:e,...n&&{orphan:n}}}function tA(e,t){const n={name:void 0,isSubroutined:!1,...t};if(n.name!==void 0&&!vee(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:M0(t?.body)}}function ym(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 Gh(e){const t={kind:"union",negate:!1,...e};return{type:"CharacterClass",kind:t.kind,negate:t.negate,body:aA(e?.body)}}function fee(e,t){if(t.value<e.value)throw new Error("Character class range out of order");return{type:"CharacterClassRange",min:e,max:t}}function p2(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 mee(e,t={}){if(e==="keep")return{type:"Directive",kind:e};if(e==="flags")return{type:"Directive",kind:e,flags:_u(t.flags)};throw new Error(`Unexpected directive kind "${e}"`)}function pee(e){return{type:"Flags",...e}}function ka(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:M0(e?.body)}}function Sl(e){const t={behind:!1,negate:!1,...e};return{type:"LookaroundAssertion",kind:t.behind?"lookbehind":"lookahead",negate:t.negate,body:M0(e?.body)}}function gee(e,t,n){return{type:"NamedCallout",kind:e,tag:t,arguments:n}}function bee(e,t){const n=!!t?.negate;if(!o4.has(e))throw new Error(`Invalid POSIX class "${e}"`);return{type:"CharacterSet",kind:"posix",value:e,negate:n}}function nA(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 xee(e,t){return{type:"Regex",body:M0(t?.body),flags:e}}function rA(e){return{type:"Subroutine",ref:e}}function Go(e,t){const n={negate:!1,normalizeUnknownPropertyNames:!1,skipPropertyNameValidation:!1,unicodePropertyMap:null,...t};let r=n.unicodePropertyMap?.get(vm(e));if(!r){if(n.normalizeUnknownPropertyNames)r=Eee(e);else if(n.unicodePropertyMap&&!n.skipPropertyNameValidation)throw new Error(Mn`Invalid Unicode property "\p{${e}}"`)}return{type:"CharacterSet",kind:"property",value:r??e,negate:n.negate}}function yee({flags:e,kind:t,name:n,negate:r,number:a}){switch(t){case"absence_repeater":return hee("repeater");case"atomic":return ka({atomic:!0});case"capturing":return tA(a,{name:n});case"group":return ka({flags:e});case"lookahead":case"lookbehind":return Sl({behind:t==="lookbehind",negate:r});default:throw new Error(`Unexpected group kind "${t}"`)}}function M0(e){if(e===void 0)e=[Pl()];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 aA(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 lE(e){return e.type==="LookaroundAssertion"&&e.kind==="lookahead"}function oE(e){return e.type==="LookaroundAssertion"&&e.kind==="lookbehind"}function vee(e){return/^[\p{Alpha}\p{Pc}][^)]*$/u.test(e)}function Eee(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 vm(e){return e.replace(/[- _]+/g,"").toLowerCase()}function uE(e,t){return _u(e,`${t?.type==="Character"&&t.value===93?"Empty":"Unclosed"} character class`)}function cE(e){return _u(e,"Unclosed group")}function Yc(e,t,n=null){function r(i,o){for(let u=0;u<i.length;u++){const c=a(i[u],o,u,i);u=Math.max(-1,u+c)}}function a(i,o=null,u=null,c=null){let h=0,g=!1;const m={node:i,parent:o,key:u,container:c,root:e,remove(){Sh(c).splice(Math.max(0,zo(u)+h),1),h--,g=!0},removeAllNextSiblings(){return Sh(c).splice(zo(u)+1)},removeAllPrevSiblings(){const A=zo(u)+h;return h-=A,Sh(c).splice(0,Math.max(0,A))},replaceWith(A,C={}){const M=!!C.traverse;c?c[Math.max(0,zo(u)+h)]=A:_u(o,"Can't replace root node")[u]=A,M&&a(A,o,u,c),g=!0},replaceWithMultiple(A,C={}){const M=!!C.traverse;if(Sh(c).splice(Math.max(0,zo(u)+h),1,...A),h+=A.length-1,M){let X=0;for(let G=0;G<A.length;G++)X+=a(A[G],o,zo(u)+G+X,c)}g=!0},skip(){g=!0}},{type:x}=i,y=t["*"],E=t[x],_=typeof y=="function"?y:y?.enter,N=typeof E=="function"?E:E?.enter;if(_?.(m,n),N?.(m,n),!g)switch(x){case"AbsenceFunction":case"CapturingGroup":case"Group":r(i.body,i);break;case"Alternative":case"CharacterClass":r(i.body,i);break;case"Assertion":case"Backreference":case"Character":case"CharacterSet":case"Directive":case"Flags":case"NamedCallout":case"Subrout
683ine":break;case"CharacterClassRange":a(i.min,i,"min"),a(i.max,i,"max");break;case"LookaroundAssertion":r(i.body,i);break;case"Quantifier":a(i.body,i,"body");break;case"Regex":r(i.body,i),a(i.flags,i,"flags");break;default:throw new Error(`Unexpected node type "${x}"`)}return E?.exit?.(m,n),y?.exit?.(m,n),h}return a(e),e}function Sh(e){if(!Array.isArray(e))throw new Error("Container expected");return e}function zo(e){if(typeof e!="number")throw new Error("Numeric key expected");return e}const wee=String.raw`\(\?(?:[:=!>A-Za-z\-]|<[=!]|\(DEFINE\))`;function Tee(e,t){for(let n=0;n<e.length;n++)e[n]>=t&&e[n]++}function _ee(e,t,n,r){return e.slice(0,t)+r+e.slice(t+n.length)}const ha=Object.freeze({DEFAULT:"DEFAULT",CHAR_CLASS:"CHAR_CLASS"});function c4(e,t,n,r){const a=new RegExp(String.raw`${t}|(?<$skip>\[\^?|\\?.)`,"gsu"),i=[!1];let o=0,u="";for(const c of e.matchAll(a)){const{0:h,groups:{$skip:g}}=c;if(!g&&(!r||r===ha.DEFAULT==!o)){n instanceof Function?u+=n(c,{context:o?ha.CHAR_CLASS:ha.DEFAULT,negated:i[i.length-1]}):u+=n;continue}h[0]==="["?(o++,i.push(h[1]==="^")):h==="]"&&o&&(o--,i.pop()),u+=h}return u}function sA(e,t,n,r){c4(e,t,n,r)}function kee(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 i=0,o;for(;o=a.exec(e);){const{0:u,groups:{$skip:c}}=o;if(!c&&(!r||r===ha.DEFAULT==!i))return o;u==="["?i++:u==="]"&&i&&i--,a.lastIndex==o.index&&a.lastIndex++}return null}function Ah(e,t,n){return!!kee(e,t,0,n)}function See(e,t){const n=/\\?./gsu;n.lastIndex=t;let r=e.length,a=0,i=1,o;for(;o=n.exec(e);){const[u]=o;if(u==="[")a++;else if(a)u==="]"&&a--;else if(u==="(")i++;else if(u===")"&&(i--,!i)){r=o.index;break}}return e.slice(t,r)}const dE=new RegExp(String.raw`(?<noncapturingStart>${wee})|(?<capturingStart>\((?:\?<[^>]+>)?)|\\?.`,"gsu");function Aee(e,t){const n=t?.hiddenCaptures??[];let r=t?.captureTransfers??new Map;if(!/\(\?>/.test(e))return{pattern:e,captureTransfers:r,hiddenCaptures:n};const a="(?>",i="(?:(?=(",o=[0],u=[];let c=0,h=0,g=NaN,m;do{m=!1;let x=0,y=0,E=!1,_;for(dE.lastIndex=Number.isNaN(g)?0:g+i.length;_=dE.exec(e);){const{0:N,index:A,groups:{capturingStart:C,noncapturingStart:M}}=_;if(N==="[")x++;else if(x)N==="]"&&x--;else if(N===a&&!E)g=A,E=!0;else if(E&&M)y++;else if(C)E?y++:(c++,o.push(c+h));else if(N===")"&&E){if(!y){h++;const X=c+h;if(e=`${e.slice(0,g)}${i}${e.slice(g+a.length,A)}))<$$${X}>)${e.slice(A+1)}`,m=!0,u.push(X),Tee(n,X),r.size){const G=new Map;r.forEach((P,B)=>{G.set(B>=X?B+1:B,P.map(Z=>Z>=X?Z+1:Z))}),r=G}break}y--}}}while(m);return n.push(...u),e=c4(e,String.raw`\\(?<backrefNum>[1-9]\d*)|<\$\$(?<wrappedBackrefNum>\d+)>`,({0:x,groups:{backrefNum:y,wrappedBackrefNum:E}})=>{if(y){const _=+y;if(_>o.length-1)throw new Error(`Backref "${x}" greater than number of captures`);return`\\${o[_]}`}return`\\${E}`},ha.DEFAULT),{pattern:e,captureTransfers:r,hiddenCaptures:n}}const iA=String.raw`(?:[?*+]|\{\d+(?:,\d*)?\})`,Gg=new RegExp(String.raw`
684\\(?: \d+
685  | c[A-Za-z]
686  | [gk]<[^>]+>
687  | [pPu]\{[^\}]+\}
688  | u[A-Fa-f\d]{4}
689  | x[A-Fa-f\d]{2}
690  )
691| \((?: \? (?: [:=!>]
692  | <(?:[=!]|[^>]+>)
693  | [A-Za-z\-]+:
694  | \(DEFINE\)
695  ))?
696| (?<qBase>${iA})(?<qMod>[?+]?)(?<invalidQ>[?*+\{]?)
697| \\?.
698`.replace(/\s+/g,""),"gsu");function Nee(e){if(!new RegExp(`${iA}\\+`).test(e))return{pattern:e};const t=[];let n=null,r=null,a="",i=0,o;for(Gg.lastIndex=0;o=Gg.exec(e);){const{0:u,index:c,groups:{qBase:h,qMod:g,invalidQ:m}}=o;if(u==="[")i||(r=c),i++;else if(u==="]")i?i--:r=null;else if(!i)if(g==="+"&&a&&!a.startsWith("(")){if(m)throw new Error(`Invalid quantifier "${u}"`);let x=-1;if(/^\{\d+\}$/.test(h))e=_ee(e,c+h.length,g,"");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)}${h})${e.slice(c+u.length)}`}else e=`${e.slice(0,c-a.length)}(?>${a}${h})${e.slice(c+u.length)}`;x+=4}Gg.lastIndex+=x}else u[0]==="("?t.push(c):u===")"&&(n=t.length?t.pop():null);a=u}return{pattern:e}}const ca=String.raw,Cee=ca`\\g<(?<gRNameOrNum>[^>&]+)&R=(?<gRDepth>[^>]+)>`,g2=ca`\(\?R=(?<rDepth>[^\)]+)\)|${Cee}`,Em=ca`\(\?<(?![=!])(?<captureName>[^>]+)>`,lA=ca`${Em}|(?<unnamed>\()(?!\?)`,Tl=new RegExp(ca`${Em}|${g2}|\(\?|\\?.`,"gsu"),$g="Cannot use multiple overlapping recursions";function Oee(e,t){const{hiddenCaptures:n,mode:r}={hiddenCaptures:[],mode:"plugin",...t};let a=t?.captureTransfers??new Map;if(!new RegExp(g2,"su").test(e))return{pattern:e,captureTransfers:a,hiddenCaptures:n};if(r==="plugin"&&Ah(e,ca`\(\?\(DEFINE\)`,ha.DEFAULT))throw new Error("DEFINE groups cannot be used with recursion");const i=[],o=Ah(e,ca`\\[1-9]`,ha.DEFAULT),u=new Map,c=[];let h=!1,g=0,m=0,x;for(Tl.lastIndex=0;x=Tl.exec(e);){const{0:y,groups:{captureName:E,rDepth:_,gRNameOrNum:N,gRDepth:A}}=x;if(y==="[")g++;else if(g)y==="]"&&g--;else if(_){if(hE(_),h)throw new Error($g);if(o)throw new Error(`${r==="external"?"Backrefs":"Numbered backrefs"} cannot be used with global recursion`);const C=e.slice(0,x.index),M=e.slice(Tl.lastIndex);if(Ah(M,g2,ha.DEFAULT))throw new Error($g);const X=+_-1;e=fE(C,M,X,!1,n,i,m),a=pE(a,C,X,i.length,0,m);break}else if(N){hE(A);let C=!1;for(const te of c)if(te.name===N||te.num===+N){if(C=!0,te.hasRecursedWithin)throw new Error($g);break}if(!C)throw new Error(ca`Recursive \g cannot be used outside the referenced group "${r==="external"?N:ca`\g<${N}&R=${A}>`}"`);const M=u.get(N),X=See(e,M);if(o&&Ah(X,ca`${Em}|\((?!\?)`,ha.DEFAULT))throw new Error(`${r==="external"?"Backrefs":"Numbered backrefs"} cannot be used with recursion of capturing groups`);const G=e.slice(M,x.index),P=X.slice(G.length+y.length),B=i.length,Z=+A-1,V=fE(G,P,Z,!0,n,i,m);
vendor: 4,804 bytes, lines 698-780
698a=pE(a,G,Z,i.length-B,B,m);const U=e.slice(0,M),ae=e.slice(M+X.length);e=`${U}${V}${ae}`,Tl.lastIndex+=V.length-y.length-G.length-P.length,c.forEach(te=>te.hasRecursedWithin=!0),h=!0}else if(E)m++,u.set(String(m),Tl.lastIndex),u.set(E,Tl.lastIndex),c.push({num:m,name:E});else if(y[0]==="("){const C=y==="(";C&&(m++,u.set(String(m),Tl.lastIndex)),c.push(C?{num:m}:{})}else y===")"&&c.pop()}return n.push(...i),{pattern:e,captureTransfers:a,hiddenCaptures:n}}function hE(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 fE(e,t,n,r,a,i,o){const u=new Set;r&&sA(e+t,Em,({groups:{captureName:h}})=>{u.add(h)},ha.DEFAULT);const c=[n,r?u:null,a,i,o];return`${e}${mE(`(?:${e}`,"forward",...c)}(?:)${mE(`${t})`,"backward",...c)}${t}`}function mE(e,t,n,r,a,i,o){const c=g=>t==="forward"?g+2:n-g+2-1;let h="";for(let g=0;g<n;g++){const m=c(g);h+=c4(e,ca`${lA}|\\k<(?<backref>[^>]+)>`,({0:x,groups:{captureName:y,unnamed:E,backref:_}})=>{if(_&&r&&!r.has(_))return x;const N=`_$${m}`;if(E||y){const A=o+i.length+1;return i.push(A),Ree(a,A),E?x:`(?<${y}${N}>`}return ca`\k<${_}${N}>`},ha.DEFAULT)}return h}function Ree(e,t){for(let n=0;n<e.length;n++)e[n]>=t&&e[n]++}function pE(e,t,n,r,a,i){if(e.size&&r){let o=0;sA(t,lA,()=>o++,ha.DEFAULT);const u=i-o+a,c=new Map;return e.forEach((h,g)=>{const m=(r-o*n)/n,x=o*n,y=g>u+o?g+r:g,E=[];for(const _ of h)if(_<=u)E.push(_);else if(_>u+o+m)E.push(_+r);else if(_<=u+o)for(let N=0;N<=n;N++)E.push(_+o*N);else for(let N=0;N<=n;N++)E.push(_+x+m*N);c.set(y,E)}),c}return e}var Sn=String.fromCodePoint,rt=String.raw,Fs={flagGroups:(()=>{try{new RegExp("(?i:)")}catch{return!1}return!0})(),unicodeSets:(()=>{try{new RegExp("","v")}catch{return!1}return!0})()};Fs.bugFlagVLiteralHyphenIsRange=Fs.unicodeSets?(()=>{try{new RegExp(rt`[\d\-a]`,"v")}catch{return!0}return!1})():!1;Fs.bugNestedClassIgnoresNegation=Fs.unicodeSets&&new RegExp("[[^a]]","v").test("a");function kf(e,{enable:t,disable:n}){return{dotAll:!n?.dotAll&&!!(t?.dotAll||e.dotAll),ignoreCase:!n?.ignoreCase&&!!(t?.ignoreCase||e.ignoreCase)}}function p0(e,t,n){return e.has(t)||e.set(t,n),e.get(t)}function b2(e,t){return gE[e]>=gE[t]}function Dee(e,t){if(e==null)throw new Error(t??"Value expected");return e}var gE={ES2025:2025,ES2024:2024,ES2018:2018},Lee={auto:"auto",ES2025:"ES2025",ES2024:"ES2024",ES2018:"ES2018"};function oA(e={}){if({}.toString.call(e)!=="[object Object]")throw new Error("Unexpected options");if(e.target!==void 0&&!Lee[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=Fs.flagGroups?"ES2025":Fs.unicodeSets?"ES2024":"ES2018"),t}var Iee="[	-\r ]",Mee=new Set([Sn(304),Sn(305)]),Ds=rt`[\p{L}\p{M}\p{N}\p{Pc}]`;function uA(e){if(Mee.has(e))return[e];const t=new Set,n=e.toLowerCase(),r=n.toUpperCase(),a=Hee.get(n),i=Pee.get(n),o=jee.get(n);return[...r].length===1&&t.add(r),o&&t.add(o),a&&t.add(a),t.add(n),i&&t.add(i),[...t]}var d4=new Map(`C Other
699Cc Control cntrl
700Cf Format
701Cn Unassigned
702Co Private_Use
703Cs Surrogate
704L Letter
705LC Cased_Letter
706Ll Lowercase_Letter
707Lm Modifier_Letter
708Lo Other_Letter
709Lt Titlecase_Letter
710Lu Uppercase_Letter
711M Mark Combining_Mark
712Mc Spacing_Mark
713Me Enclosing_Mark
714Mn Nonspacing_Mark
715N Number
716Nd Decimal_Number digit
717Nl Letter_Number
718No Other_Number
719P Punctuation punct
720Pc Connector_Punctuation
721Pd Dash_Punctuation
722Pe Close_Punctuation
723Pf Final_Punctuation
724Pi Initial_Punctuation
725Po Other_Punctuation
726Ps Open_Punctuation
727S Symbol
728Sc Currency_Symbol
729Sk Modifier_Symbol
730Sm Math_Symbol
731So Other_Symbol
732Z Separator
733Zl Line_Separator
734Zp Paragraph_Separator
735Zs Space_Separator
736ASCII
737ASCII_Hex_Digit AHex
738Alphabetic Alpha
739Any
740Assigned
741Bidi_Control Bidi_C
742Bidi_Mirrored Bidi_M
743Case_Ignorable CI
744Cased
745Changes_When_Casefolded CWCF
746Changes_When_Casemapped CWCM
747Changes_When_Lowercased CWL
748Changes_When_NFKC_Casefolded CWKCF
749Changes_When_Titlecased CWT
750Changes_When_Uppercased CWU
751Dash
752Default_Ignorable_Code_Point DI
753Deprecated Dep
754Diacritic Dia
755Emoji
756Emoji_Component EComp
757Emoji_Modifier EMod
758Emoji_Modifier_Base EBase
759Emoji_Presentation EPres
760Extended_Pictographic ExtPict
761Extender Ext
762Grapheme_Base Gr_Base
763Grapheme_Extend Gr_Ext
764Hex_Digit Hex
765IDS_Binary_Operator IDSB
766IDS_Trinary_Operator IDST
767ID_Continue IDC
768ID_Start IDS
769Ideographic Ideo
770Join_Control Join_C
771Logical_Order_Exception LOE
772Lowercase Lower
773Math
774Noncharacter_Code_Point NChar
775Pattern_Syntax Pat_Syn
776Pattern_White_Space Pat_WS
777Quotation_Mark QMark
778Radical
779Regional_Indicator RI
780Sentence_Terminal STerm
781Soft_Dotted SD
782Terminal_Punctuation Term
783Unified_Ideograph UIdeo
784Uppercase Upper
785Variation_Selector VS
786White_Space space
787XID_Continue XIDC
788XID_Start XIDS`.split(/\s/).map(e=>[vm(e),e])),Pee=new Map([["s",Sn(383)],[Sn(383),"s"]]),jee=new Map([[Sn(223),Sn(7838)],[Sn(107),Sn(8490)],[Sn(229),Sn(8491)],[Sn(969),Sn(8486)]]),Hee=new Map([Ri(453),Ri(456),Ri(459),Ri(498),...Vg(8072,8079),...Vg(8088,8095),...Vg(8104,8111),Ri(8124),Ri(8140),Ri(8188)]),Bee=new Map([["alnum",rt`[\p{Alpha}\p{Nd}]`],["alpha",rt`\p{Alpha}`],["ascii",rt`\p{ASCII}`],["blank",rt`[\p{Zs}\t]`],["cntrl",rt`\p{Cc}`],["digit",rt`\p{Nd}`],["graph",rt`[\P{space}&&\P{Cc}&&\P{Cn}&&\P{Cs}]`],["lower",rt`\p{Lower}`],["print",rt`[[\P{space}&&\P{Cc}&&\P{Cn}&&\P{Cs}]\p{Zs}]`],["punct",rt`[\p{P}\p{S}]`],["space",rt`\p{space}`],["upper",rt`\p{Upper}`],["word",rt`[\p{Alpha}\p{M}\p{Nd}\p{Pc}]`],["xdigit",rt`\p{AHex}`]]);function zee(e,t){const n=[];for(let r=e;r<=t;r++)n.push(r);return n}function Ri(e){const t=Sn(e);return[t.toLowerCase(),t]}function Vg(e,t){return zee(e,t).map(n=>Ri(n))}var cA=new Set(["Lower","Lowercase","Upper","Uppercase","Ll","Lowercase_Letter","Lt","Titlecase_Letter","Lu","Uppercase_Letter"]);function Uee(e,t){const n={accuracy:"default",asciiWordBoundaries:!1,avoidSubclass:!1,bestEffortTarget:"ES2025",...t};dA(e);const r={accuracy:n.accuracy,asciiWordBoundaries:n.asciiWordBoundaries,avoidSubclass:n.avoidSubclass,flagDirectivesByAlt:new Map,jsGroupNameMap:new Map,minTargetEs2024:b2(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};Yc(e,Fee,r);const a={dotAll:e.flags.dotAll,ignoreCase:e.flags.ignoreCase},i={currentFlags:a,prevFlags:null,globalFlags:a,groupOriginByCopy:new Map,groupsByName:new Map,multiplexCapturesToLeftByRef:new Map,openRefs:new Map,reffedNodesByReferencer:new Map,subroutineRefMap:r.subroutineRefMap};Yc(e,qee,i);const o={groupsByName:i.groupsByName,highestOrphanBackref:0,numCapturesToLeft:0,reffedNodesByReferencer:i.reffedNodesByReferencer};return Yc(e,Gee,o),e._originMap=i.groupOriginByCopy,e._strategy=r.strategy,e}var Fee={AbsenceFunction({node:e,parent:t,replaceWith:n}){const{body:r,kind:a}=e;if(a==="repeater"){const i=ka();i.body[0].body.push(Sl({negate:!0,body:r}),Go("Any"));const o=ka();o.body[0].body.push(nA("greedy",0,1/0,i)),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(i=>i.kind==="flags");for(let i=n+1;i<t.body.length;i++){const o=t.body[i];p0(r,o,[]).push(...a)}},exit({node:e},{flagDirectivesByAlt:t}){if(t.get(e)?.length){const n=fA(t.get(e));if(n){const r=ka({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:i,replaceWith:o},u){const{kind:c,negate:h}=e,{asciiWordBoundaries:g,avoidSubclass:m,supportedGNodes:x,wordIsAscii:y}=u;if(c==="text_segment_boundary")throw new Error(`Unsupported text segment boundary "\\${h?"Y":"y"}"`);if(c==="line_end")o(dn(Sl({body:[Pl({body:[f2("string_end")]}),Pl({body:[ym(10)]})]}),t));else if(c==="line_start")o(dn(Ls(rt`(?<=\A|\n(?!\z))`,{skipLookbehindValidation:!0}),t));else if(c==="search_start")if(x.has(e))a.flags.sticky=!0,i();else{const E=r[n-1];if(E&&Kee(E))o(dn(Sl({negate:!0}),t));else{if(m)throw new Error(rt`Uses "\G" in a way that requires a subclass`);o(Di(f2("string_start"),t)),u.strategy="clip_search"}}else if(!(c==="string_end"||c==="string_start"))if(c==="string_end_newline")o(dn(Ls(rt`(?=\n?\z)`),t));else if(c==="word_boundary"){if(!y&&!g){const E=`(?:(?<=${Ds})(?!${Ds})|(?<!${Ds})(?=${Ds}))`,_=`(?:(?<=${Ds})(?=${Ds})|(?<!${Ds})(?!${Ds}))`;o(dn(Ls(h?_:E),t))}}else throw new Error(`Unexpected assertion kind "${c}"`)},Backreference({node:e},{jsGroupNameMap:t}){let{ref:n}=e;typeof n=="string"&&!Qg(n)&&(n=Yg(n,t),e.ref=n)},CapturingGroup({node:e},{jsGroupNameMap:t,subroutineRefMap:n}){let{name:r}=e;r&&!Qg(r)&&(r=Yg(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=Gh({body:[e]});n(dn(r,t),{traverse:!0})}},CharacterSet({node:e,parent:t,replaceWith:n},{accuracy:r,minTargetEs2024:a,digitIsAscii:i,spaceIsAscii:o,wordIsAscii:u}){const{kind:c,negate:h,value:g}=e;if(i&&(c==="digit"||g==="digit")){n(Di(p2("digit",{negate:h}),t));return}if(o&&(c==="space"||g==="space")){n(dn(Wg(Ls(Iee),h),t));return}if(u&&(c==="word"||g==="word")){n(Di(p2("word",{negate:h}),t));return}if(c==="any")n(Di(Go("Any"),t));else if(c==="digit")n(Di(Go("Nd",{negate:h}),t));else if(c!=="dot")if(c==="text_segment"){if(r==="strict")throw new Error(rt`Use of "\X" requires non-strict accuracy`);const m="\\p{Emoji}(?:\\p{EMod}|\\uFE0F\\u20E3?|[\\x{E0020}-\\x{E007E}]+\\x{E007F})?",x=rt`\p{RI}{2}|${m}(?:\u200D${m})*`;n(dn(Ls(rt`(?>\r\n|${a?rt`\p{RGI_Emoji}`:x}|\P{M}\p{M}*)`,{skipPropertyNameValidation:!0}
vendor: 22,513 bytes, lines 788-791
788),t))}else if(c==="hex")n(Di(Go("AHex",{negate:h}),t));else if(c==="newline")n(dn(Ls(h?`[^
789]`:`(?>\r
790?|[
791\v\f…\u2028\u2029])`),t));else if(c==="posix")if(!a&&(g==="graph"||g==="print")){if(r==="strict")throw new Error(`POSIX class "${g}" requires min target ES2024 or non-strict accuracy`);let m={graph:"!-~",print:" -~"}[g];h&&(m=`\0-${Sn(m.codePointAt(0)-1)}${Sn(m.codePointAt(2)+1)}-􏿿`),n(dn(Ls(`[${m}]`),t))}else n(dn(Wg(Ls(Bee.get(g)),h),t));else if(c==="property")d4.has(vm(g))||(e.key="sc");else if(c==="space")n(Di(Go("space",{negate:h}),t));else if(c==="word")n(dn(Wg(Ls(Ds),h),t));else throw new Error(`Unexpected character set kind "${c}"`)},Directive({node:e,parent:t,root:n,remove:r,replaceWith:a,removeAllPrevSiblings:i,removeAllNextSiblings:o}){const{kind:u,flags:c}=e;if(u==="flags")if(!c.enable&&!c.disable)r();else{const h=ka({flags:c});h.body[0].body=o(),a(dn(h,t),{traverse:!0})}else if(u==="keep"){const h=n.body[0],m=n.body.length===1&&JS(h,{type:"Group"})&&h.body[0].body.length===1?h.body[0]:n;if(t.parent!==m||m.body.length>1)throw new Error(rt`Uses "\K" in a way that's unsupported`);const x=Sl({behind:!0});x.body[0].body=i(),a(dn(x,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(Sl({negate:!0}),t));else throw new Error(`Unsupported named callout "(*${r.toUpperCase()}"`)},Quantifier({node:e}){if(e.body.type==="Quantifier"){const t=ka();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 i of e.body)if(i.body.length===1&&i.body[0].kind==="search_start")i.body.pop();else{const o=pA(i.body);o?(r=!0,Array.isArray(o)?n.push(...o):n.push(o)):a=!0}r&&!a&&n.forEach(i=>t.add(i))},exit(e,{accuracy:t,passedLookbehind:n,strategy:r}){if(t==="strict"&&n&&r)throw new Error(rt`Uses "\G" in a way that requires non-strict accuracy`)}},Subroutine({node:e},{jsGroupNameMap:t}){let{ref:n}=e;typeof n=="string"&&!Qg(n)&&(n=Yg(n,t),e.ref=n)}},qee={Backreference({node:e},{multiplexCapturesToLeftByRef:t,reffedNodesByReferencer:n}){const{orphan:r,ref:a}=e;r||n.set(e,[...t.get(a).map(({node:i})=>i)])},CapturingGroup:{enter({node:e,parent:t,replaceWith:n,skip:r},{groupOriginByCopy:a,groupsByName:i,multiplexCapturesToLeftByRef:o,openRefs:u,reffedNodesByReferencer:c}){const h=a.get(e);if(h&&u.has(e.number)){const m=Di(bE(e.number),t);c.set(m,u.get(e.number)),n(m);return}u.set(e.number,e),o.set(e.number,[]),e.name&&p0(o,e.name,[]);const g=o.get(e.name??e.number);for(let m=0;m<g.length;m++){const x=g[m];if(h===x.node||h&&h===x.origin||e===x.origin){g.splice(m,1);break}}if(o.get(e.number).push({node:e,origin:h}),e.name&&o.get(e.name).push({node:e,origin:h}),e.name){const m=p0(i,e.name,new Map);let x=!1;if(h)x=!0;else for(const y of m.values())if(!y.hasDuplicateNameToRemove){x=!0;break}i.get(e.name).set(e,{node:e,hasDuplicateNameToRemove:x})}},exit({node:e},{openRefs:t}){t.delete(e.number)}},Group:{enter({node:e},t){t.prevFlags=t.currentFlags,e.flags&&(t.currentFlags=kf(t.currentFlags,e.flags))},exit(e,t){t.currentFlags=t.prevFlags}},Subroutine({node:e,parent:t,replaceWith:n},r){const{isRecursive:a,ref:i}=e;if(a){let g=t;for(;(g=g.parent)&&!(g.type==="CapturingGroup"&&(g.name===i||g.number===i)););r.reffedNodesByReferencer.set(e,g);return}const o=r.subroutineRefMap.get(i),u=i===0,c=u?bE(0):hA(o,r.groupOriginByCopy,null);let h=c;if(!u){const g=fA(Yee(o,x=>x.type==="Group"&&!!x.flags)),m=g?kf(r.globalFlags,g):r.globalFlags;$ee(m,r.currentFlags)||(h=ka({flags:Qee(m)}),h.body[0].body.push(c))}n(dn(h,t),{traverse:!u})}},Gee={Backreference({node:e,parent:t,replaceWith:n},r){if(e.orphan){r.highestOrphanBackref=Math.max(r.highestOrphanBackref,e.ref);return}const i=r.reffedNodesByReferencer.get(e).filter(o=>Vee(o,e));if(!i.length)n(dn(Sl({negate:!0}),t));else if(i.length>1){const o=ka({atomic:!0,body:i.reverse().map(u=>Pl({body:[m2(u.number)]}))});n(dn(o,t))}else e.ref=i[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=tA();e.body.at(-1).body.push(a)}}},Subroutine({node:e},t){!e.isRecursive||e.ref===0||(e.ref=t.reffedNodesByReferencer.get(e).number)}};function dA(e){Yc(e,{"*"({node:t,parent:n}){t.parent=n}})}function $ee(e,t){return e.dotAll===t.dotAll&&e.ignoreCase===t.ignoreCase}function Vee(e,t){let n=t;do{if(n.type==="Regex")return!1;if(n.type==="Alternative")continue;if(n===e)return!1;const r=mA(n.parent);for(const a of r){if(a===n)break;if(a===e||gA(a,e))return!0}}while(n=n.parent);throw new Error("Unexpected path")}function hA(e,t,n,r){const a=Array.isArray(e)?[]:{};for(const[i,o]of Object.entries(e))i==="parent"?a.parent=Array.isArray(n)?r:n:o&&typeof o=="object"?a[i]=hA(o,t,a,n):(i==="type"&&o==="CapturingGroup"&&t.set(a,t.get(e)??e),a[i]=o);return a}function bE(e){const t=rA(e);return t.isRecursive=!0,t}function Yee(e,t){const n=[];for(;e=e.parent;)(!t||t(e))&&n.push(e);return n}function Yg(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 fA(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 Qee({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 mA(e){if(!e)throw new Error("Node expected");const{body:t}=e;return Array.isArray(t)?t:t?[t]:null}function pA(e){const t=e.find(n=>n.kind==="search_start"||Xee(n,{negate:!1})||!Wee(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=pA(r.body);if(!a)return null;Array.isArray(a)?n.push(...a):n.push(a)}return n}return null}function gA(e,t){const n=mA(e)??[];for(const r of n)if(r===t||gA(r,t))return!0;return!1}function Wee({type:e}){return e==="Assertion"||e==="Directive"||e==="LookaroundAssertion"}function Kee(e){const t=["Character","CharacterClass","CharacterSet"];return t.includes(e.type)||e.type==="Quantifier"&&e.min&&t.includes(e.body.type)}function Xee(e,t){const n={negate:null,...t};return e.type==="LookaroundAssertion"&&(n.negate===null||e.negate===n.negate)&&e.body.length===1&&JS(e.body[0],{type:"Assertion",kind:"search_start"})}function Qg(e){return/^[$_\p{IDS}][$\u200C\u200D\p{IDC}]*$/u.test(e)}function Ls(e,t){const r=eA(e,{...t,unicodePropertyMap:d4}).body;return r.length>1||r[0].body.length>1?ka({body:r}):r[0].body[0]}function Wg(e,t){return e.negate=t,e}function Di(e,t){return e.parent=t,e}function dn(e,t){return dA(e),e.parent=t,e}function Zee(e,t){const n=oA(t),r=b2(n.target,"ES2024"),a=b2(n.target,"ES2025"),i=n.rules.recursionLimit;if(!Number.isInteger(i)||i<2||i>20)throw new Error("Invalid recursionLimit; use 2-20");let o=null,u=null;if(!a){const y=[e.flags.ignoreCase];Yc(e,Jee,{getCurrentModI:()=>y.at(-1),popModI(){y.pop()},pushModI(E){y.push(E)},setHasCasedChar(){y.at(-1)?o=!0:u=!0}})}const c={dotAll:e.flags.dotAll,ignoreCase:!!((e.flags.ignoreCase||o)&&!u)};let h=e;const g={accuracy:n.accuracy,appliedGlobalFlags:c,captureMap:new Map,currentFlags:{dotAll:e.flags.dotAll,ignoreCase:e.flags.ignoreCase},inCharClass:!1,lastNode:h,originMap:e._originMap,recursionLimit:i,useAppliedIgnoreCase:!!(!a&&o&&u),useFlagMods:a,useFlagV:r,verbose:n.verbose};function m(y){return g.lastNode=h,h=y,Dee(ete[y.type],`Unexpected node type "${y.type}"`)(y,g,m)}const x={pattern:e.body.map(m).join("|"),flags:m(e.flags),options:{...e.options}};return r||(delete x.options.force.v,x.options.disable.v=!0,x.options.unicodeSetsPlugin=null),x._captureTransfers=new Map,x._hiddenCaptures=[],g.captureMap.forEach((y,E)=>{y.hidden&&x._hiddenCaptures.push(E),y.transferTo&&p0(x._captureTransfers,y.transferTo,[]).push(E)}),x}var Jee={"*":{enter({node:e},t){if(yE(e)){const n=t.getCurrentModI();t.pushModI(e.flags?kf({ignoreCase:n},e.flags).ignoreCase:n)}},exit({node:e},t){yE(e)&&t.popModI()}},Backreference(e,t){t.setHasCasedChar()},Character({node:e},t){h4(Sn(e.value))&&t.setHasCasedChar()},CharacterClassRange({node:e,skip:t},n){t(),bA(e,{firstOnly:!0}).length&&n.setHasCasedChar()},CharacterSet({node:e},t){e.kind==="property"&&cA.has(e.value)&&t.setHasCasedChar()}},ete={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?rt`\B`:rt`\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:i}=e,o={ignoreCase:t.currentFlags.ignoreCase},u=t.originMap.get(e);return u&&(o.hidden=!0,i>u.number&&(o.transferTo=u.number)),t.captureMap.set(i,o),`(${a?`?<${a}>`:""}${r.map(n).join("|")})`},Character({value:e},t){const n=Sn(e),r=Uo(e,{escDigit:t.lastNode.type==="Backreference",inCharClass:t.inCharClass,useFlagV:t.useFlagV});if(r!==n)return r;if(t.useAppliedIgnoreCase&&t.currentFlags.ignoreCase&&h4(n)){const a=uA(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:i}=e;let{body:o}=e;if(r==="intersection"&&!t.useFlagV)throw new Error("Use of class intersection requires min target ES2024");Fs.bugFlagVLiteralHyphenIsRange&&t.useFlagV&&o.some(vE)&&(o=[ym(45),...o.filter(h=>!vE(h))]);const u=()=>`[${a?"^":""}${o.map(n).join(r==="intersection"?"&&":"")}]`;if(!t.inCharClass){if((!t.useFlagV||Fs.bugNestedClassIgnoresNegation)&&!a){const g=o.filter(m=>m.type==="CharacterClass"&&m.kind==="union"&&m.negate);if(g.length){const m=ka(),x=m.body[0];return m.parent=i,x.parent=m,o=o.filter(y=>!g.includes(y)),e.body=o,o.length?(e.parent=x,x.body.push(e)):m.body.pop(),g.forEach(y=>{const E=Pl({body:[y]});y.parent=E,E.parent=m,m.body.push(E)}),n(m)}}t.inCharClass=!0;const h=u();return t.inCharClass=!1,h}const c=o[0];if(r==="union"&&!a&&c&&((!t.useFlagV||!t.verbose)&&i.kind==="union"&&!(Fs.bugFlagVLiteralHyphenIsRange&&t.useFlagV)||!t.verbose&&i.kind==="intersection"&&o.length===1&&c.type!=="CharacterClassRange"))return o.map(n).join("");if(!t.useFlagV&&i.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},i=Uo(n,a),o=Uo(r,a),u=new Set;if(t.useAppliedIgnoreCase&&t.currentFlags.ignoreCase){const c=bA(e);ste(c).forEach(g=>{u.add(Array.isArray(g)?`${Uo(g[0],a)}-${Uo(g[1],a)}`:Uo(g,a))})}return`${i}-${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?".":"[^]":rt`[^\n]`;if(e==="digit")return t?rt`\D`:rt`\d`;if(e==="property"){if(a.useAppliedIgnoreCase&&a.currentFlags.ignoreCase&&cA.has(n))throw new Error(`Unicode property "${n}" can't be case-insensitive when other chars have specific case`);return`${t?rt`\P`:rt`\p`}{${r?`${r}=`:""}${n}}`}if(e==="word")return t?rt`\W`:rt`\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,i){const o=a.currentFlags;n&&(a.currentFlags=kf(o,n));const u=t.map(i).join("|"),c=!a.verbose&&t.length===1&&r.type!=="Quantifier"&&!e&&(!a.useFlagMods||!n)?u:`(?${ite(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)+lte(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})`:rt`\g<${t}&R=${r}>`}},tte=new Set(["$","(",")","*","+",".","?","[","\\","]","^","{","|","}"]),nte=new Set(["-","\\","]","^","["]),rte=new Set(["(",")","-","/","[","\\","]","^","{","|","}","!","#","$","%","&","*","+",",",".",":",";","<","=",">","?","@","`","~"]),xE=new Map([[9,rt`\t`],[10,rt`\n`],[11,rt`\v`],[12,rt`\f`],[13,rt`\r`],[8232,rt`\u2028`],[8233,rt`\u2029`],[65279,rt`\uFEFF`]]),ate=new RegExp("^\\p{Cased}$","u");function h4(e){return ate.test(e)}function bA(e,t){const n=!!t?.firstOnly,r=e.min.value,a=e.max.value,i=[];if(r<65&&(a===65535||a>=131071)||r===65536&&a>=131071)return i;for(let o=r;o<=a;o++){const u=Sn(o);if(!h4(u))continue;const c=uA(u).filter(h=>{const g=h.codePointAt(0);return g<r||g>a});if(c.length&&(i.push(...c),n))break}return i}function Uo(e,{escDigit:t,inCharClass:n,useFlagV:r}){if(xE.has(e))return xE.get(e);if(e<32||e>126&&e<160||e>262143||t&&ote(e))return e>255?`\\u{${e.toString(16).toUpperCase()}}`:`\\x${e.toString(16).toUpperCase().padStart(2,"0")}`;const a=n?r?rte:nte:tte,i=Sn(e);return(a.has(i)?"\\":"")+i}function ste(e){const t=e.map(a=>a.codePointAt(0)).sort((a,i)=>a-i),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 ite(e,t,n){if(e)return">";let r="";if(t&&n){const{enable:a,disable:i}=t;r=(a?.ignoreCase?"i":"")+(a?.dotAll?"s":"")+(i?"-":"")+(i?.ignoreCase?"i":"")+(i?.dotAll?"s":"")}return`${r}:`}function lte({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 yE({type:e}){return e==="CapturingGroup"||e==="Group"||e==="LookaroundAssertion"}function ote(e){return e>47&&e<58}function vE({type:e,value:t}){return e==="Character"&&t===45}var ute=class x2 extends RegExp{#t=new Map;#e=null;#n;#a=null;#r=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 i=t;super(i,n),this.#n=i.source,i instanceof x2&&(this.#t=i.#t,this.#a=i.#a,this.#r=i.#r,this.rawOptions=i.rawOptions)}else{const i={hiddenCaptures:[],strategy:null,transfers:[],...r};super(a?"":t,n),this.#n=t,this.#t=dte(i.hiddenCaptures,i.transfers),this.#r=i.strategy,this.rawOptions=r??{}}a||(this.#e=this)}exec(t){if(!this.#e){const{lazyCompile:a,...i}=this.rawOptions;this.#e=new x2(this.#n,this.flags,i)}const n=this.global||this.sticky,r=this.lastIndex;if(this.#r==="clip_search"&&n&&r){this.lastIndex=0;const a=this.#s(t.slice(r));return a&&(cte(a,r,t,this.hasIndices),this.lastIndex+=r),a}return this.#s(t)}#s(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 i=[0];for(let o=1;o<r.length;o++){const{hidden:u,transferTo:c}=this.#t.get(o)??{};if(u?i.push(null):(i.push(n.length),n.push(r[o]),this.hasIndices&&n.indices.push(a[o])),c&&r[o]!==void 0){const h=i[c];if(!h)throw new Error(`Invalid capture transfer to "${h}"`);if(n[h]=r[o],this.hasIndices&&(n.indices[h]=a[o]),n.groups){this.#a||(this.#a=hte(this.source));const g=this.#a.get(c);g&&(n.groups[g]=r[o],this.hasIndices&&(n.indices.groups[g]=a[o]))}}}return n}};function cte(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 i=a.groups;i&&Object.keys(i).forEach(o=>{const u=i[o];u&&(i[o]=[u[0]+t,u[1]+t])})}}function dte(e,t){const n=new Map;for(const r of e)n.set(r,{hidden:!0});for(const[r,a]of t)for(const i of a)p0(n,i,{}).transferTo=r;return n}function hte(e){const t=/(?<capture>\((?:\?<(?![=!])(?<name>[^>]+)>|(?!\?)))|\\?./gsu,n=new Map;let r=0,a=0,i;for(;i=t.exec(e);){const{0:o,groups:{capture:u,name:c}}=i;o==="["?r++:r?o==="]"&&r--:u&&(a++,c&&n.set(a,c))}return n}function fte(e,t){const n=mte(e,t);return n.options?new ute(n.pattern,n.flags,n.options):new RegExp(n.pattern,n.flags)}function mte(e,t){const n=oA(t),r=eA(e,{flags:n.flags,normalizeUnknownPropertyNames:!0,rules:{captureGroup:n.rules.captureGroup,singleline:n.rules.singleline},skipBackrefValidation:n.rules.allowOrphanBackrefs,unicodePropertyMap:d4}),a=Uee(r,{accuracy:n.accuracy,asciiWordBoundaries:n.rules.asciiWordBoundaries,avoidSubclass:n.avoidSubclass,bestEffortTarget:n.target}),i=Zee(a,n),o=Oee(i.pattern,{captureTransfers:i._captureTransfers,hiddenCaptures:i._hiddenCaptures,mode:"external"}),u=Nee(o.pattern),c=Aee(u.pattern,{captureTransfers:o.captureTransfers,hiddenCaptures:o.hiddenCaptures}),h={pattern:c.pattern,flags:`${n.hasIndices?"d":""}${n.global?"g":""}${i.flags}${i.options.disable.v?"u":"v"}`};if(n.avoidSubclass){if(n.lazyCompileLength!==1/0)throw new Error("Lazy compilation requires subclass")}else{const g=c.hiddenCaptures.sort((E,_)=>E-_),m=Array.from(c.captureTransfers),x=a._strategy,y=h.pattern.length>=n.lazyCompileLength;(g.length||m.length||x||y)&&(h.options={...g.length&&{hiddenCaptures:g},...m.length&&{transfers:m},...x&&{strategy:x},...y&&{lazyCompile:y}})}return h}const EE=4294967295;class pte{constructor(t,n={}){this.patterns=t,this.options=n;const{forgiving:r=!1,cache:a,regexConstructor:i}=n;if(!i)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=i(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,i=[];function o(u,c,h=0){return{index:u,captureIndices:c.indices.map(g=>g==null?{start:EE,end:EE,length:0}:{start:g[0]+h,end:g[1]+h,length:g[1]-g[0]})}}for(let u=0;u<this.regexps.length;u++){const c=this.regexps[u];if(c)try{c.lastIndex=n;const h=c.exec(a);if(!h)continue;if(h.index===n)return o(u,h,0);i.push([u,h,0])}catch(h){if(this.options.forgiving)continue;throw h}}if(i.length){const u=Math.min(...i.map(c=>c[1].index));for(const[c,h,g]of i)if(h.index===u)return o(c,h,g)}return null}}function gte(e,t){return fte(e,{global:!0,hasIndices:!0,lazyCompileLength:3e3,rules:{allowOrphanBackrefs:!0,asciiWordBoundaries:!0,captureGroup:!0,recursionLimit:5,singleline:!0},...t})}function bte(e={}){const t=Object.assign({target:"auto",cache:new Map},e);return t.regexConstructor||=n=>gte(n,{target:t.target}),{createScanner(n){return new pte(n,t)},createString(n){return{content:n}}}}function f4(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var Vl=f4();function xA(e){Vl=e}var Qc={exec:()=>null};function At(e,t=""){let n=typeof e=="string"?e:e.source,r={replace:(a,i)=>{let o=typeof i=="string"?i:i.source;return o=o.replace(ur.caret,"$1"),n=n.replace(a,o),r},getRegex:()=>new RegExp(n,t)};return r}var ur={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:/\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")},xte=/^(?:[ \t]*(?:\n|$))+/,yte=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,vte=/^ {0,3}(`{3,}
vendor: 5,094 bytes, lines 791-792
791(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,P0=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,Ete=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,m4=/(?:[*+-]|\d{1,9}[.)])/,yA=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,vA=At(yA).replace(/bull/g,m4).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(),wte=At(yA).replace(/bull/g,m4).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(),p4=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Tte=/^[^\n]+/,g4=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,_te=At(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",g4).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),kte=At(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,m4).getRegex(),wm="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",b4=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Ste=At("^ {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",b4).replace("tag",wm).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),EA=At(p4).replace("hr",P0).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",wm).getRegex(),Ate=At(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",EA).getRegex(),x4={blockquote:Ate,code:yte,def:_te,fences:vte,heading:Ete,hr:P0,html:Ste,lheading:vA,list:kte,newline:xte,paragraph:EA,table:Qc,text:Tte},wE=At("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",P0).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",wm).getRegex(),Nte={...x4,lheading:wte,table:wE,paragraph:At(p4).replace("hr",P0).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",wE).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",wm).getRegex()},Cte={...x4,html:At(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",b4).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:Qc,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:At(p4).replace("hr",P0).replace("heading",` *#{1,6} *[^
792]`).replace("lheading",vA).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},Ote=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Rte=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,wA=/^( {2,}|\\)\n(?!\s*$)/,Dte=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,Tm=/[\p{P}\p{S}]/u,y4=/[\s\p{P}\p{S}]/u,TA=/[^\s\p{P}\p{S}]/u,Lte=At(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,y4).getRegex(),_A=/(?!~)[\p{P}\p{S}]/u,Ite=/(?!~)[\s\p{P}\p{S}]/u,Mte=/(?:[^\s\p{P}\p{S}
vendor: 7,383 bytes, lines 792-807
792]|~)/u,Pte=At(/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(),kA=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,jte=At(kA,"u").replace(/punct/g,Tm).getRegex(),Hte=At(kA,"u").replace(/punct/g,_A).getRegex(),SA="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",Bte=At(SA,"gu").replace(/notPunctSpace/g,TA).replace(/punctSpace/g,y4).replace(/punct/g,Tm).getRegex(),zte=At(SA,"gu").replace(/notPunctSpace/g,Mte).replace(/punctSpace/g,Ite).replace(/punct/g,_A).getRegex(),Ute=At("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,TA).replace(/punctSpace/g,y4).replace(/punct/g,Tm).getRegex(),Fte=At(/\\(punct)/,"gu").replace(/punct/g,Tm).getRegex(),qte=At(/^<(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(),Gte=At(b4).replace("(?:-->|$)","-->").getRegex(),$te=At("^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",Gte).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Sf=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/,Vte=At(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",Sf).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),AA=At(/^!?\[(label)\]\[(ref)\]/).replace("label",Sf).replace("ref",g4).getRegex(),NA=At(/^!?\[(ref)\](?:\[\])?/).replace("ref",g4).getRegex(),Yte=At("reflink|nolink(?!\\()","g").replace("reflink",AA).replace("nolink",NA).getRegex(),TE=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,v4={_backpedal:Qc,anyPunctuation:Fte,autolink:qte,blockSkip:Pte,br:wA,code:Rte,del:Qc,emStrongLDelim:jte,emStrongRDelimAst:Bte,emStrongRDelimUnd:Ute,escape:Ote,link:Vte,nolink:NA,punctuation:Lte,reflink:AA,reflinkSearch:Yte,tag:$te,text:Dte,url:Qc},Qte={...v4,link:At(/^!?\[(label)\]\((.*?)\)/).replace("label",Sf).getRegex(),reflink:At(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Sf).getRegex()},y2={...v4,emStrongRDelimAst:zte,emStrongLDelim:Hte,url:At(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",TE).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:At(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",TE).getRegex()},Wte={...y2,br:At(wA).replace("{2,}","*").getRegex(),text:At(y2.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},Nh={normal:x4,gfm:Nte,pedantic:Cte},Sc={normal:v4,gfm:y2,breaks:Wte,pedantic:Qte},Kte={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},_E=e=>Kte[e];function $a(e,t){if(t){if(ur.escapeTest.test(e))return e.replace(ur.escapeReplace,_E)}else if(ur.escapeTestNoEncode.test(e))return e.replace(ur.escapeReplaceNoEncode,_E);return e}function kE(e){try{e=encodeURI(e).replace(ur.percentDecode,"%")}catch{return null}return e}function SE(e,t){let n=e.replace(ur.findPipe,(i,o,u)=>{let c=!1,h=o;for(;--h>=0&&u[h]==="\\";)c=!c;return c?"|":" |"}),r=n.split(ur.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(ur.slashPipe,"|");return r}function Ac(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 Xte(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 AE(e,t,n,r,a){let i=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:i,title:o,text:u,tokens:r.inlineTokens(u)};return r.state.inLink=!1,c}function Zte(e,t,n){let r=e.match(n.other.indentCodeCompensation);if(r===null)return t;let a=r[1];return t.split(`
793`).map(i=>{let o=i.match(n.other.beginningSpace);if(o===null)return i;let[u]=o;return u.length>=a.length?i.slice(a.length):i}).join(`
794`)}var Af=class{options;rules;lexer;constructor(e){this.options=e||Vl}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:Ac(n,`
795`)}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let n=t[0],r=Zte(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=Ac(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:Ac(t[0],`
796`)}}blockquote(e){let t=this.rules.block.blockquote.exec(e);if(t){let n=Ac(t[0],`
797`).split(`
798`),r="",a="",i=[];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 h=u.join(`
799`),g=h.replace(this.rules.other.blockquoteSetextReplace,`
800    $1`).replace(this.rules.other.blockquoteSetextReplace2,"");r=r?`${r}
801${h}`:h,a=a?`${a}
802${g}`:g;let m=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(g,i,!0),this.lexer.state.top=m,n.length===0)break;let x=i.at(-1);if(x?.type==="code")break;if(x?.type==="blockquote"){let y=x,E=y.raw+`
803`+n.join(`
804`),_=this.blockquote(E);i[i.length-1]=_,r=r.substring(0,r.length-y.raw.length)+_.raw,a=a.substring(0,a.length-y.text.length)+_.text;break}else if(x?.type==="list"){let y=x,E=y.raw+`
805`+n.join(`
806`),_=this.list(E);i[i.length-1]=_,r=r.substring(0,r.length-x.raw.length)+_.raw,a=a.substring(0,a.length-y.raw.length)+_.raw,n=E.substring(i.at(-1).raw.length).split(`
807`);continue}}return{type:"blockquote",raw:r,tokens:i,text:a}}}list(e){let t=this.rules.block.list.exec(e);
vendor: 4,776 bytes, lines 807-816
807if(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 i=this.rules.other.listItemRegex(n),o=!1;for(;e;){let c=!1,h="",g="";if(!(t=i.exec(e))||this.rules.block.hr.test(e))break;h=t[0],e=e.substring(h.length);let m=t[2].split(`
808`,1)[0].replace(this.rules.other.listReplaceTabs,A=>" ".repeat(3*A.length)),x=e.split(`
809`,1)[0],y=!m.trim(),E=0;if(this.options.pedantic?(E=2,g=m.trimStart()):y?E=t[1].length+1:(E=t[2].search(this.rules.other.nonSpaceChar),E=E>4?1:E,g=m.slice(E),E+=t[1].length),y&&this.rules.other.blankLine.test(x)&&(h+=x+`
810`,e=e.substring(x.length+1),c=!0),!c){let A=this.rules.other.nextBulletRegex(E),C=this.rules.other.hrRegex(E),M=this.rules.other.fencesBeginRegex(E),X=this.rules.other.headingBeginRegex(E),G=this.rules.other.htmlBeginRegex(E);for(;e;){let P=e.split(`
811`,1)[0],B;if(x=P,this.options.pedantic?(x=x.replace(this.rules.other.listReplaceNesting,"  "),B=x):B=x.replace(this.rules.other.tabCharGlobal,"    "),M.test(x)||X.test(x)||G.test(x)||A.test(x)||C.test(x))break;if(B.search(this.rules.other.nonSpaceChar)>=E||!x.trim())g+=`
812`+B.slice(E);else{if(y||m.replace(this.rules.other.tabCharGlobal,"    ").search(this.rules.other.nonSpaceChar)>=4||M.test(m)||X.test(m)||C.test(m))break;g+=`
813`+x}!y&&!x.trim()&&(y=!0),h+=P+`
814`,e=e.substring(P.length+1),m=B.slice(E)}}a.loose||(o?a.loose=!0:this.rules.other.doubleBlankLine.test(h)&&(o=!0));let _=null,N;this.options.gfm&&(_=this.rules.other.listIsTask.exec(g),_&&(N=_[0]!=="[ ] ",g=g.replace(this.rules.other.listReplaceTask,""))),a.items.push({type:"list_item",raw:h,task:!!_,checked:N,loose:!1,text:g,tokens:[]}),a.raw+=h}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 h=a.items[c].tokens.filter(m=>m.type==="space"),g=h.length>0&&h.some(m=>this.rules.other.anyLine.test(m.raw));a.loose=g}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=SE(t[1]),r=t[2].replace(this.rules.other.tableAlignChars,"").split("|"),a=t[3]?.trim()?t[3].replace(this.rules.other.tableRowBlankLine,"").split(`
815`):[],i={type:"table",raw:t[0],header:[],align:[],rows:[]};if(n.length===r.length){for(let o of r)this.rules.other.tableAlignRight.test(o)?i.align.push("right"):this.rules.other.tableAlignCenter.test(o)?i.align.push("center"):this.rules.other.tableAlignLeft.test(o)?i.align.push("left"):i.align.push(null);for(let o=0;o<n.length;o++)i.header.push({text:n[o],tokens:this.lexer.inline(n[o]),header:!0,align:i.align[o]});for(let o of a)i.rows.push(SE(o,i.header.length).map((u,c)=>({text:u,tokens:this.lexer.inline(u),header:!1,align:i.align[c]})));return i}}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)===`
816`?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 816-817
816(!this.rules.other.endAngleBracket.test(n))return;let i=Ac(n.slice(0,-1),"\\");if((n.length-i.length)%2===0)return}else{let i=Xte(t[2],"()");if(i===-2)return;if(i>-1){let o=(t[0].indexOf("!")===0?5:4)+t[1].length+i;t[2]=t[2].substring(0,i),t[0]=t[0].substring(0,o).trim(),t[3]=""}}let r=t[2],a="";if(this.options.pedantic){let i=this.rules.other.pedanticHrefTitle.exec(r);i&&(r=i[1],a=i[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)),AE(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 i=n[0].charAt(0);return{type:"text",raw:i,text:i}}return AE(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,i,o,u=a,c=0,h=r[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(h.lastIndex=0,t=t.slice(-1*e.length+a);(r=h.exec(t))!=null;){if(i=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!i)continue;if(o=[...i].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 g=[...r[0]][0].length,m=e.slice(0,a+r.index+g+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 x=m.slice(2,-2);return{type:"strong",raw:m,text:x,tokens:this.lexer.inlineTokens(x)}}}}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 v2{tokens;options;state;tokenizer;inlineQueue;constructor(t){this.tokens=[],this.tokens.links=Object.create(null),this.options=t||Vl,this.options.tokenizer=this.options.tokenizer||new Af,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:ur,block:Nh.normal,inline:Sc.normal};this.options.pedantic?(n.block=Nh.pedantic,n.inline=Sc.pedantic):this.options.gfm&&(n.block=Nh.gfm,this.options.breaks?n.inline=Sc.breaks:n.inline=Sc.gfm),this.tokenizer.rules=n}static get rules(){return{block:Nh,inline:Sc}}static lex(t,n){return new v2(n).lex(t)}static lexInline(t,n){return new v2(n).inlineTokens(t)}lex(t){t=t.replace(ur.carriageReturn,`
817`),this.blockTokens(t,this.tokens);for(let n=0;
vendor: 11,918 bytes, lines 817-849
817n<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(ur.tabCharGlobal,"    ").replace(ur.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+=`
818`: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(`
819`)?"":`
820`)+a.raw,o.text+=`
821`+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(`
822`)?"":`
823`)+a.raw,o.text+=`
824`+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 i=t;if(this.options.extensions?.startBlock){let o=1/0,u=t.slice(1),c;this.options.extensions.startBlock.forEach(h=>{c=h.call({lexer:this},u),typeof c=="number"&&c>=0&&(o=Math.min(o,c))}),o<1/0&&o>=0&&(i=t.substring(0,o+1))}if(this.state.top&&(a=this.tokenizer.paragraph(i))){let o=n.at(-1);r&&o?.type==="paragraph"?(o.raw+=(o.raw.endsWith(`
825`)?"":`
826`)+a.raw,o.text+=`
827`+a.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=o.text):n.push(a),r=i.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(`
828`)?"":`
829`)+a.raw,o.text+=`
830`+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 i=!1,o="";for(;t;){i||(o=""),i=!1;let u;if(this.options.extensions?.inline?.some(h=>(u=h.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 h=n.at(-1);u.type==="text"&&h?.type==="text"?(h.raw+=u.raw,h.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 h=1/0,g=t.slice(1),m;this.options.extensions.startInline.forEach(x=>{m=x.call({lexer:this},g),typeof m=="number"&&m>=0&&(h=Math.min(h,m))}),h<1/0&&h>=0&&(c=t.substring(0,h+1))}if(u=this.tokenizer.inlineText(c)){t=t.substring(u.raw.length),u.raw.slice(-1)!=="_"&&(o=u.raw.slice(-1)),i=!0;let h=n.at(-1);h?.type==="text"?(h.raw+=u.raw,h.text+=u.text):n.push(u);continue}if(t){let h="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(h);break}else throw new Error(h)}}return n}},Nf=class{options;parser;constructor(t){this.options=t||Vl}space(t){return""}code({text:t,lang:n,escaped:r}){let a=(n||"").match(ur.notSpaceStart)?.[0],i=t.replace(ur.endingNewline,"")+`
831`;return a?'<pre><code class="language-'+$a(a)+'">'+(r?i:$a(i,!0))+`</code></pre>
832`:"<pre><code>"+(r?i:$a(i,!0))+`</code></pre>
833`}blockquote({tokens:t}){return`<blockquote>
834${this.parser.parse(t)}</blockquote>
835`}html({text:t}){return t}def(t){return""}heading({tokens:t,depth:n}){return`<h${n}>${this.parser.parseInline(t)}</h${n}>
836`}hr(t){return`<hr>
837`}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 i=n?"ol":"ul",o=n&&r!==1?' start="'+r+'"':"";return"<"+i+o+`>
838`+a+"</"+i+`>
839`}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+" "+$a(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>
840`}checkbox({checked:t}){return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:t}){return`<p>${this.parser.parseInline(t)}</p>
841`}table(t){let n="",r="";for(let i=0;i<t.header.length;i++)r+=this.tablecell(t.header[i]);n+=this.tablerow({text:r});let a="";for(let i=0;i<t.rows.length;i++){let o=t.rows[i];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>
842<thead>
843`+n+`</thead>
844`+a+`</table>
845`}tablerow({text:t}){return`<tr>
846${t}</tr>
847`}tablecell(t){let n=this.parser.parseInline(t.tokens),r=t.header?"th":"td";return(t.align?`<${r} align="${t.align}">`:`<${r}>`)+n+`</${r}>
848`}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>${$a(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),i=kE(t);if(i===null)return a;t=i;let o='<a href="'+t+'"';return n&&(o+=' title="'+$a(n)+'"'),o+=">"+a+"</a>",o}image({href:t,title:n,text:r,tokens:a}){a&&(r=this.parser.parseInline(a,this.parser.textRenderer));let i=kE(t);if(i===null)return $a(r);t=i;let o=`<img src="${t}" alt="${r}"`;return n&&(o+=` title="${$a(n)}"`),o+=">",o}text(t){return"tokens"in t&&t.tokens?this.parser.parseInline(t.tokens):"escaped"in t&&t.escaped?t.text:$a(t.text)}},E4=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""}},_a=class E2{options;renderer;textRenderer;constructor(t){this.options=t||Vl,this.options.renderer=this.options.renderer||new Nf,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new E4}static parse(t,n){return new E2(n).parse(t)}static parseInline(t,n){return new E2(n).parseInline(t)}parse(t,n=!0){let r="";for(let a=0;a<t.length;a++){let i=t[a];if(this.options.extensions?.renderers?.[i.type]){let u=i,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=i;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+=`
849`+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 i=t[a];if(this.options.extensions?.renderers?.[i.type]){let u=this.options.extensions.renderers[i.type].call({parser:this},i);if(u!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(i.type)){r+=u||"";continue}}let o=i;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}},Dc=class{options;block;constructor(e){this.options=e||Vl}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?_a.parse:_a.parseInline}},Jte=class{defaults=f4();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=_a;Renderer=Nf;TextRenderer=E4;Lexer=ua;Tokenizer=Af;Hooks=Dc;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 i of a.header)n=n.concat(this.walkTokens(i.tokens,t));for(let i of a.rows)for(let o of i)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(i=>{let o=a[i].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 i=t.renderers[a.name];i?t.renderers[a.name]=function(...o){let u=a.renderer.apply(this,o);return u===!1&&(u=i.apply(this,o)),u}:t.renderers[a.name]=a.renderer}
vendor: 4,194 bytes, lines 849-850
849if("tokenizer"in a){if(!a.level||a.level!=="block"&&a.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");let i=t[a.level];i?i.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 Nf(this.defaults);for(let i in n.renderer){if(!(i in a))throw new Error(`renderer '${i}' does not exist`);if(["options","parser"].includes(i))continue;let o=i,u=n.renderer[o],c=a[o];a[o]=(...h)=>{let g=u.apply(a,h);return g===!1&&(g=c.apply(a,h)),g||""}}r.renderer=a}if(n.tokenizer){let a=this.defaults.tokenizer||new Af(this.defaults);for(let i in n.tokenizer){if(!(i in a))throw new Error(`tokenizer '${i}' does not exist`);if(["options","rules","lexer"].includes(i))continue;let o=i,u=n.tokenizer[o],c=a[o];a[o]=(...h)=>{let g=u.apply(a,h);return g===!1&&(g=c.apply(a,h)),g}}r.tokenizer=a}if(n.hooks){let a=this.defaults.hooks||new Dc;for(let i in n.hooks){if(!(i in a))throw new Error(`hook '${i}' does not exist`);if(["options","block"].includes(i))continue;let o=i,u=n.hooks[o],c=a[o];Dc.passThroughHooks.has(i)?a[o]=h=>{if(this.defaults.async&&Dc.passThroughHooksRespectAsync.has(i))return(async()=>{let m=await u.call(a,h);return c.call(a,m)})();let g=u.call(a,h);return c.call(a,g)}:a[o]=(...h)=>{if(this.defaults.async)return(async()=>{let m=await u.apply(a,h);return m===!1&&(m=await c.apply(a,h)),m})();let g=u.apply(a,h);return g===!1&&(g=c.apply(a,h)),g}}r.hooks=a}if(n.walkTokens){let a=this.defaults.walkTokens,i=n.walkTokens;r.walkTokens=function(o){let u=[];return u.push(i.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 _a.parse(e,t??this.defaults)}parseMarkdown(e){return(t,n)=>{let r={...n},a={...this.defaults,...r},i=this.onError(!!a.silent,!!a.async);if(this.defaults.async===!0&&r.async===!1)return i(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 i(new Error("marked(): input parameter is undefined or null"));if(typeof t!="string")return i(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 h=await(a.hooks?await a.hooks.provideParser():e?_a.parse:_a.parseInline)(c,a);return a.hooks?await a.hooks.postprocess(h):h})().catch(i);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?_a.parse:_a.parseInline)(o,a);return a.hooks&&(u=a.hooks.postprocess(u)),u}catch(o){return i(o)}}}onError(e,t){return n=>{if(n.message+=`
850Please report this to https://github.com/markedjs/marked.`,e){let r="<p>An error occurred:</p><pre>"+$a(n.message+"",!0)+"</pre>";return t?Promise.resolve(r):r}if(t)return Promise.reject(n);throw n}}},jl=new Jte;function Pt(e,t){return jl.parse(e,t)}Pt.options=Pt.setOptions=function(e){return jl.setOptions(e),Pt.defaults=jl.defaults,xA(Pt.defaults),Pt};Pt.getDefaults=f4;Pt.defaults=Vl;Pt.use=function(...e){return jl.use(...e),Pt.defaults=jl.defaults,xA(Pt.defaults),Pt};Pt.walkTokens=function(e,t){return jl.walkTokens(e,t)};Pt.parseInline=jl.parseInline;Pt.Parser=_a;Pt.parser=_a.parse;Pt.Renderer=Nf;Pt.TextRenderer=E4;Pt.Lexer=ua;Pt.lexer=ua.lex;Pt.Tokenizer=Af;Pt.Hooks=Dc;Pt.parse=Pt;Pt.options;Pt.setOptions;Pt.use;Pt.walkTokens;Pt.parseInline;_a.parse;ua.lex;var vt=(...e)=>
850kT(q2(e)),w4=(e,t,n)=>{let r=typeof t=="string"?new Blob([t],{type:n}):t,a=URL.createObjectURL(r),i=document.createElement("a");i.href=a,i.download=e,document.body.appendChild(i),i.click(),document.body.removeChild(i),URL.revokeObjectURL(a)},ene=/<pre(\s|>)/,T4=R.createContext({code:""}),tne=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(VS,e)}getFallbackLanguage(){return"text"}async ensureHighlightersInitialized(e,t){var n,r;let[a,i]=e,o=bte({forgiving:!0}),u=!this.lightHighlighter||this.lightTheme!==a,c=!this.darkHighlighter||this.darkTheme!==i;(u||c)&&this.loadedLanguages.clear();let h=this.isLanguageSupported(t),g=!this.loadedLanguages.has(t)&&h;if(u?(this.lightHighlighter=await tE({themes:[a],langs:h?[t]:[],engine:o}),this.lightTheme=a,h&&this.loadedLanguages.add(t)):g&&await((n=this.lightHighlighter)==null?void 0:n.loadLanguage(t)),c){let m=g?[...this.loadedLanguages].concat(h?[t]:[]):Array.from(this.loadedLanguages);this.darkHighlighter=await tE({themes:[i],langs:m.length>0?m:h?[t]:[],engine:o}),this.darkTheme=i}else g&&await((r=this.darkHighlighter)==null?void 0:r.loadLanguage(t));g&&this.loadedLanguages.add(t)}async highlightCode(e,t,n,r){var a,i;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(),h=(a=this.lightHighlighter)==null?void 0:a.codeToHtml(e,{lang:c,theme:o}),g=(i=this.darkHighlighter)==null?void 0:i.codeToHtml(e,{lang:c,theme:u}),m=x=>r?x.replace(ene,`<pre class="${r}"$1`):x;return[m(h),m(g)]}},nne=new tne,rne=({code:e,language:t,className:n,children:r,preClassName:a,...i})=>{let[o,u]=R.useState(""),[c,h]=R.useState(""),g=R.useRef(!1),[m,x]=R.useContext(rN);return R.useEffect(()=>(g.current=!0,nne.highlightCode(e,t,[m,x],a).then(([y,E])=>{g.current&&(u(y),h(E))}),()=>{g.current=!1}),[e,t,m,x,a]),p.jsx(T4.Provider,{value:{code:e},children:p.jsxs("div",{className:"my-4 w-full overflow-hidden rounded-xl border","data-code-block-container":!0,"data-language":t,children:[p.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:[p.jsx("span",{className:"ml-1 font-mono lowercase",children:t}),p.jsx("div",{className:"flex items-center gap-2",children:r})]}),p.jsx("div",{className:"w-full",children:p.jsxs("div",{className:"min-w-full",children:[p.jsx("div",{className:vt("overflow-x-auto dark:hidden",n),dangerouslySetInnerHTML:{__html:o},"data-code-block":!0,"data-language":t,...i}),p.jsx("div",{className:vt("hidden overflow-x-auto dark:block",n),dangerouslySetInnerHTML:{__html:c},"data-code-block":!0,"data-language":t,...i})]})})]})})},NE={"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",dax:"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"},CE=({onDownload:e,onError:t,language:n,children:r,className:a,code:i,...o})=>{let{code:u}=R.useContext(T4),{isAnimating:c}=R.useContext(j0),h=i??u,g=`file.${n&&n in NE?NE[n]:"txt"}`,m="text/plain",x=()=>{try{w4(g,h,m),e?.()}catch(y){t?.(y)}};return p.jsx("button",{className:vt("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",a),disabled:c,onClick:x,title:"Download file",type:"button",...o,children:r??p.jsx(Jx,{size:14})})},OE=({onCopy:e,onError:t,timeout:n=2e3,children:r,className:a,code:i,...o})=>
850{let[u,c]=R.useState(!1),h=R.useRef(0),{code:g}=R.useContext(T4),{isAnimating:m}=R.useContext(j0),x=i??g,y=async()=>{var _;if(typeof window>"u"||!((_=navigator?.clipboard)!=null&&_.writeText)){t?.(new Error("Clipboard API not available"));return}try{u||(await navigator.clipboard.writeText(x),c(!0),e?.(),h.current=window.setTimeout(()=>c(!1),n))}catch(N){t?.(N)}};R.useEffect(()=>()=>{window.clearTimeout(h.current)},[]);let E=u?mS:pS;return p.jsx("button",{className:vt("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??p.jsx(E,{size:14})})},ane=({node:e,className:t,src:n,alt:r,...a})=>{let i=async()=>{var o;if(n)try{let u=await(await fetch(n)).blob(),c=new URL(n,window.location.origin).pathname.split("/").pop()||"",h=c.includes(".")&&((o=c.split(".").pop())==null?void 0:o.length)<=4,g="";if(h)g=c;else{let m=u.type,x="png";m.includes("jpeg")||m.includes("jpg")?x="jpg":m.includes("png")?x="png":m.includes("svg")?x="svg":m.includes("gif")?x="gif":m.includes("webp")&&(x="webp"),g=`${(r||c||"image").replace(/\.[^/.]+$/,"")}.${x}`}w4(g,u,u.type)}catch(u){console.error("Failed to download image:",u)}};return n?p.jsxs("div",{className:"group relative my-4 inline-block","data-streamdown":"image-wrapper",children:[p.jsx("img",{alt:r,className:vt("max-w-full rounded-lg",t),"data-streamdown":"image",src:n,...a}),p.jsx("div",{className:"pointer-events-none absolute inset-0 hidden rounded-lg bg-black/10 group-hover:block"}),p.jsx("button",{className:vt("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:i,title:"Download image",type:"button",children:p.jsx(Jx,{size:14})})]}):null},sne=async e=>{let t={startOnLoad:!1,theme:"default",securityLevel:"strict",fontFamily:"monospace",suppressErrorRendering:!0,...e},n=(await z(async()=>{const{default:r}=await import("./mermaid.core-CCN35RXy.js").then(a=>a.bC);return{default:r}},[])).default;return n.initialize(t),n},ine=({chart:e,className:t,config:n})=>{let[r,a]=R.useState(null),[i,o]=R.useState(!0),[u,c]=R.useState(""),[h,g]=R.useState("");if(R.useEffect(()=>{(async()=>{try{a(null),o(!0);let x=await sne(n),y=e.split("").reduce((N,A)=>(N<<5)-N+A.charCodeAt(0)|0,0),E=`mermaid-${Math.abs(y)}-${Date.now()}-${Math.random().toString(36).substring(2,9)}`,{svg:_}=await x.render(E,e);c(_),g(_)}catch(x){if(!(h||u)){let y=x instanceof Error?x.message:"Failed to render Mermaid chart";a(y)}}finally{o(!1)}})()},[e,n]),i&&!u&&!h)return p.jsx("div",{className:vt("my-4 flex justify-center p-4",t),children:p.jsxs("div",{className:"flex items-center space-x-2 text-muted-foreground",children:[p.jsx("div",{className:"h-4 w-4 animate-spin rounded-full border-current border-b-2"}),p.jsx("span",{className:"text-sm",children:"Loading diagram..."})]})});if(r&&!u&&!h)return p.jsxs("div",{className:vt("rounded-lg border border-red-200 bg-red-50 p-4",t),children:[p.jsxs("p",{className:"font-mono text-red-700 text-sm",children:["Mermaid Error: ",r]}),p.jsxs("details",{className:"mt-2",children:[p.jsx("summary",{className:"cursor-pointer text-red-600 text-xs",children:"Show Code"}),p.jsx("pre",{className:"mt-2 overflow-x-auto rounded bg-red-100 p-2 text-red-800 text-xs",children:e})]})]});let m=u||h;return p.jsx("div",{"aria-label":"Mermaid chart",className:vt("my-4 flex justify-center",t),dangerouslySetInnerHTML:{__html:m},role:"img"})};function CA(e){var t,n;let r=[],a=[],i=e.querySelectorAll("thead th");for(let u of i)r.push(((t=u.textContent)==null?void 0:t.trim())||"");let o=e.querySelectorAll("tbody tr");for(let u of o){let c=[],h=u.querySelectorAll("td");for(let g of h)c.push(((n=g.textContent)==null?void 0:n.trim())||"");a.push(c)}return{headers:r,rows:a}}function OA(e){let{headers:t,rows:n}=e,r=i=>i.includes(",")||i.includes('"')||i.includes(`
851`)?`"${i.replace(/"/g,'""')}"`:i,a=[];t.length>0&&a.push(t.map(r).join(","));for(let i of n)a.push(i.map(r).join(","));return a.join(`
852`)}function RA(e){let{headers:t,rows:n}=e;if(t.length===0)return"";let r=[],a=t.map(i=>i.replace(/\|/g,"\\|"));r.push(`| ${a.join(" | ")} |`),r.push(`| ${t.map(()=>"---").join(" | ")} |`);for(let i of n){let o=[...i];for(;o.length<t.length;)o.push("");let u=o.map(c=>c.replace(/\|/g,"\\|"));r.push(`| ${u.join(" | ")} |`)}return r.join(`
853`)}var lne=({children:e,className:t,onCopy:n,onError:r,timeout:a=2e3,format:i="markdown"})=>{let[o,u]=R.useState(!1),c=R.useRef(0),{isAnimating:h}=R.useContext(j0),g=async x=>{var y;if(typeof window>"u"||!((y=navigator?.clipboard)!=null&&y.write)){r?.(new Error("Clipboard API not available"));return}try{if(!o){let E=x.currentTarget.closest('[data-streamdown="table-wrapper"]'),_=E?.querySelector("table");if(!_){r?.(new Error("Table not found"));return}let N=CA(_),A=new ClipboardItem({"text/plain":i==="markdown"?RA(N):OA(N),"text/html":new Blob([_.outerHTML],{type:"text/html"})});await navigator.clipboard.write([A]),u(!0),n?.(),c.current=window.setTimeout(()=>u(!1),a)}}catch(E){r?.(E)}};R.useEffect(()=>()=>{window.clearTimeout(c.current)},[]);let m=o?mS:pS;return p.jsx("button",{className:vt("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",t),disabled:h,onClick:g,title:`Copy table as ${i}`,type:"button",children:e??p.jsx(m,{size:14})})},one=({children:e,className:t,onDownload:n,onError:r})=>
853{let[a,i]=R.useState(!1),o=R.useRef(null),{isAnimating:u}=R.useContext(j0),c=h=>{var g;try{let m=(g=o.current)==null?void 0:g.closest('[data-streamdown="table-wrapper"]'),x=m?.querySelector("table");if(!x){r?.(new Error("Table not found"));return}let y=CA(x),E=h==="csv"?OA(y):RA(y);w4(`table.${h==="csv"?"csv":"md"}`,E,h==="csv"?"text/csv":"text/markdown"),i(!1),n?.(h)}catch(m){r?.(m)}};return R.useEffect(()=>{let h=g=>{o.current&&!o.current.contains(g.target)&&i(!1)};return document.addEventListener("mousedown",h),()=>{document.removeEventListener("mousedown",h)}},[]),p.jsxs("div",{className:"relative",ref:o,children:[p.jsx("button",{className:vt("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",t),disabled:u,onClick:()=>i(!a),title:"Download table",type:"button",children:e??p.jsx(Jx,{size:14})}),a&&p.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:[p.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"}),p.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"})]})]})},une=/language-([^\s]+)/;function _m(e,t){if(!(e!=null&&e.position||t!=null&&t.position))return!0;if(!(e!=null&&e.position&&t!=null&&t.position))return!1;let n=e.position.start,r=t.position.start,a=e.position.end,i=t.position.end;return n?.line===r?.line&&n?.column===r?.column&&a?.line===i?.line&&a?.column===i?.column}function an(e,t){return e.className===t.className&&_m(e.node,t.node)}var w2=(e,t)=>typeof e=="boolean"?e:e[t]!==!1,_4=R.memo(({children:e,className:t,node:n,...r})=>p.jsx("ol",{className:vt("ml-4 list-outside list-decimal whitespace-normal",t),"data-streamdown":"ordered-list",...r,children:e}),(e,t)=>an(e,t));_4.displayName="MarkdownOl";var DA=R.memo(({children:e,className:t,node:n,...r})=>p.jsx("li",{className:vt("py-1",t),"data-streamdown":"list-item",...r,children:e}),(e,t)=>e.className===t.className&&_m(e.node,t.node));DA.displayName="MarkdownLi";var LA=R.memo(({children:e,className:t,node:n,...r})=>p.jsx("ul",{className:vt("ml-4 list-outside list-disc whitespace-normal",t),"data-streamdown":"unordered-list",...r,children:e}),(e,t)=>an(e,t));LA.displayName="MarkdownUl";var IA=R.memo(({className:e,node:t,...n})=>p.jsx("hr",{className:vt("my-6 border-border",e),"data-streamdown":"horizontal-rule",...n}),(e,t)=>an(e,t));IA.displayName="MarkdownHr";var MA=R.memo(({children:e,className:t,node:n,...r})=>p.jsx("span",{className:vt("font-semibold",t),"data-streamdown":"strong",...r,children:e}),(e,t)=>an(e,t));MA.displayName="MarkdownStrong";var PA=R.memo(({children:e,className:t,href:n,node:r,...a})=>{let i=n==="streamdown:incomplete-link";return p.jsx("a",{className:vt("wrap-anywhere font-medium text-primary underline",t),"data-incomplete":i,"data-streamdown":"link",href:n,rel:"noreferrer",target:"_blank",...a,children:e})},(e,t)=>an(e,t)&&e.href===t.href);PA.displayName="MarkdownA";var jA=R.memo(({children:e,className:t,node:n,...r})=>p.jsx("h1",{className:vt("mt-6 mb-2 font-semibold text-3xl",t),"data-streamdown":"heading-1",...r,children:e}),(e,t)=>an(e,t));jA.displayName="MarkdownH1";var HA=R.memo(({children:e,className:t,node:n,...r})=>p.jsx("h2",{className:vt("mt-6 mb-2 font-semibold text-2xl",t),"data-streamdown":"heading-2",...r,children:e}),(e,t)=>an(e,t));HA.displayName="MarkdownH2";var BA=R.memo(({children:e,className:t,node:n,...r})=>p.jsx("h3",{className:vt("mt-6 mb-2 font-semibold text-xl",t),"data-streamdown":"heading-3",...r,children:e}),(e,t)=>an(e,t));BA.displayName="MarkdownH3";var zA=R.memo(({children:e,className:t,node:n,...r})=>p.jsx("h4",{className:vt("mt-6 mb-2 font-semibold text-lg",t),"data-streamdown":"heading-4",...r,children:e}),(e,t)=>an(e,t));zA.displayName="MarkdownH4";var UA=R.memo(({children:e,className:t,node:n,...r})=>p.jsx("h5",{className:vt("mt-6 mb-2 font-semibold text-base",t),"data-streamdown":"heading-5",...r,children:e}),(e,t)=>an(e,t));UA.displayName="MarkdownH5";var FA=R.memo(({children:e,className:t,node:n,...r})=>p.jsx("h6",{className:vt("mt-6 mb-2 font-semibold text-sm",t),"data-streamdown":"heading-6",...r,children:e}),(e,t)=>an(e,t));FA.displayName="MarkdownH6";var qA=R.memo(({children:e,className:t,node:n,...r})=>{let a=R.useContext(k4),i=w2(a,"table");return p.jsxs("div",{className:"my-4 flex flex-col space-y-2","data-streamdown":"table-wrapper",children:[i&&p.jsxs("div",{className:"flex items-center justify-end gap-1",children:[p.jsx(lne,{}),p.jsx(one,{})]}),p.jsx("div",{className:"overflow-x-auto",children:p.jsx("table",{className:vt("w-full border-collapse border border-border",t),"data-streamdown":"table",...r,children:e})})]})},(e,t)=>an(e,t));qA.displayName="MarkdownTable";var GA=R.memo(({children:e,className:t,node:n,...r})=>p.jsx("thead",{className:vt("bg-muted/80",t),"data-streamdown":"table-header",...r,children:e}),(e,t)=>an(e,t));GA.displayName="MarkdownThead";var $A=R.memo(({children:e,className:t,node:n,...r})=>p.jsx("tbody",{className:vt("divide-y divide-border bg-muted/40",t),"data-streamdown":"table-body",...r,children:e}),(e,t)=>an(e,t));$A.displayName="MarkdownTbody";var VA=R.memo(({children:e,className:t,node:n,...r})=>p.jsx("tr",{className:vt("border-border border-b",t),"data-streamdown":"table-row",...r,children:e}),(e,t)=>an(e,t));
853VA.displayName="MarkdownTr";var YA=R.memo(({children:e,className:t,node:n,...r})=>p.jsx("th",{className:vt("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));YA.displayName="MarkdownTh";var QA=R.memo(({children:e,className:t,node:n,...r})=>p.jsx("td",{className:vt("px-4 py-2 text-sm",t),"data-streamdown":"table-cell",...r,children:e}),(e,t)=>an(e,t));QA.displayName="MarkdownTd";var WA=R.memo(({children:e,className:t,node:n,...r})=>p.jsx("blockquote",{className:vt("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));WA.displayName="MarkdownBlockquote";var KA=R.memo(({children:e,className:t,node:n,...r})=>p.jsx("sup",{className:vt("text-sm",t),"data-streamdown":"superscript",...r,children:e}),(e,t)=>an(e,t));KA.displayName="MarkdownSup";var XA=R.memo(({children:e,className:t,node:n,...r})=>p.jsx("sub",{className:vt("text-sm",t),"data-streamdown":"subscript",...r,children:e}),(e,t)=>an(e,t));XA.displayName="MarkdownSub";var ZA=R.memo(({children:e,className:t,node:n,...r})=>
853{if("data-footnotes"in r){let a=o=>{var u,c;if(!R.isValidElement(o))return!1;let h=Array.isArray(o.props.children)?o.props.children:[o.props.children],g=!1,m=!1;for(let x of h)if(x){if(typeof x=="string")x.trim()!==""&&(g=!0);else if(R.isValidElement(x))if(((u=x.props)==null?void 0:u["data-footnote-backref"])!==void 0)m=!0;else{let y=Array.isArray(x.props.children)?x.props.children:[x.props.children];for(let E of y){if(typeof E=="string"&&E.trim()!==""){g=!0;break}if(R.isValidElement(E)&&((c=E.props)==null?void 0:c["data-footnote-backref"])===void 0){g=!0;break}}}}return m&&!g},i=Array.isArray(e)?e.map(o=>{if(!R.isValidElement(o))return o;if(o.type===_4){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(i)?i.some(o=>o!==null):i!==null)?p.jsx("section",{className:t,...r,children:i}):null}return p.jsx("section",{className:t,...r,children:e})},(e,t)=>an(e,t));ZA.displayName="MarkdownSection";var cne=({node:e,className:t,children:n,...r})=>{var a,i,o;let u=((a=e?.position)==null?void 0:a.start.line)===((i=e?.position)==null?void 0:i.end.line),c=R.useContext(aN),h=R.useContext(k4);if(u)return p.jsx("code",{className:vt("rounded bg-muted px-1.5 py-0.5 font-mono text-sm",t),"data-streamdown":"inline-code",...r,children:n});let g=t?.match(une),m=(o=g?.at(1))!=null?o:"",x="";if(R.isValidElement(n)&&n.props&&typeof n.props=="object"&&"children"in n.props&&typeof n.props.children=="string"?x=n.props.children:typeof n=="string"&&(x=n),m==="mermaid"){let E=w2(h,"mermaid");return p.jsxs("div",{className:vt("group relative my-4 h-auto rounded-xl border p-4",t),"data-streamdown":"mermaid-block",children:[E&&p.jsxs("div",{className:"flex items-center justify-end gap-2",children:[p.jsx(CE,{code:x,language:m}),p.jsx(OE,{code:x})]}),p.jsx(ine,{chart:x,config:c})]})}let y=w2(h,"code");return p.jsx(rne,{className:vt("overflow-x-auto border-t",t),code:x,"data-language":m,"data-streamdown":"code-block",language:m,preClassName:"overflow-x-auto font-mono text-xs p-4 bg-muted/40",children:y&&p.jsxs(p.Fragment,{children:[p.jsx(CE,{code:x,language:m}),p.jsx(OE,{})]})})},JA=R.memo(cne,(e,t)=>e.className===t.className&&_m(e.node,t.node));JA.displayName="MarkdownCode";var eN=R.memo(ane,(e,t)=>e.className===t.className&&_m(e.node,t.node));eN.displayName="MarkdownImg";var tN=R.memo(({children:e,className:t,node:n,...r})=>{var a;let i=(Array.isArray(e)?e:[e]).filter(o=>o!=null&&o!=="");return i.length===1&&R.isValidElement(i[0])&&((a=i[0].props.node)==null?void 0:a.tagName)==="img"?p.jsx(p.Fragment,{children:e}):p.jsx("p",{className:t,...r,children:e})},(e,t)=>an(e,t));tN.displayName="MarkdownParagraph";var dne={ol:_4,li:DA,ul:LA,hr:IA,strong:MA,a:PA,h1:jA,h2:HA,h3:BA,h4:zA,h5:UA,h6:FA,table:qA,thead:GA,tbody:$A,tr:VA,th:YA,td:QA,blockquote:WA,code:JA,img:eN,pre:({children:e})=>e,sup:KA,sub:XA,p:tN,section:ZA},hne=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=[],i=[];for(let o=0;o<r.length;o++){let u=r[o],c=u.raw;if(i.length>0){if(a[a.length-1]+=c,u.type==="html"){let h=c.match(/<\/(\w+)>/);if(h){let g=h[1];i[i.length-1]===g&&i.pop()}}continue}if(u.type==="html"&&u.block){let h=c.match(/<(\w+)[\s>]/);if(h){let g=h[1];c.includes(`</${g}>`)||i.push(g)}}if(c.trim()==="$$"&&a.length>0){let h=a.at(-1);if(!h){a.push(c);continue}let g=h.trimStart().startsWith("$$"),m=(h.match(/\$\$/g)||[]).length;if(g&&m%2===1){a[a.length-1]=h+c;continue}}if(a.length>0&&c.trimEnd().endsWith("$$")){let h=a.at(-1);if(!h){a.push(c);continue}let g=h.trimStart().startsWith("$$"),m=(h.match(/\$\$/g)||[]).length,x=(c.match(/\$\$/g)||[]).length;if(g&&m%2===1&&!c.trimStart().startsWith("$$")&&x===1){a[a.length-1]=h+c;continue}}a.push(c)}return a},fne=/(!?\[)([^\]]*?)$/,mne=/(\*\*)([^*]*?)$/,pne=/(__)([^_]*?)$/,gne=/(\*\*\*)([^*]*?)$/,bne=/(\*)([^*]*?)$/,xne=/(_)([^_]*?)$/,yne=/(`)([^`]*?)$/,vne=/(~~)([^~]*?)$/,km=e=>{let t=(e.match(/```/g)||[]).length;return t>0&&t%2===0&&e.includes(`
854`)},Ene=e=>{let t=/(!?)\[([^\]]+)\]\(([^)]+)$/,n=e.match(t);if(n){let a=n[1]==="!",i=n[2],o=n[3],u=e.lastIndexOf(`${a?"!":""}[${i}](${o}`),c=e.substring(0,u);return a?c:`${c}[${i}](streamdown:incomplete-link)`}let r=e.match(fne);if(r){if(r[1].startsWith("!")){let a=e.lastIndexOf(r[1]);return e.substring(0,a)}return`${e}
854](streamdown:incomplete-link)`}return e},wne=e=>{if(km(e))return e;let t=e.match(mne);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(`
855`),i=a===-1?0:a+1,o=e.substring(i,r);if(/^[\s]*[-*+][\s]+$/.test(o)&&n.includes(`
856`))return e;if((e.match(/\*\*/g)||[]).length%2===1)return`${e}**`}return e},Tne=e=>{let t=e.match(pne);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(`
857`),i=a===-1?0:a+1,o=e.substring(i,r);if(/^[\s]*[-*+][\s]+$/.test(o)&&n.includes(`
858`))return e;if((e.match(/__/g)||[]).length%2===1)return`${e}__`}return e},_ne=e=>e.split("").reduce((t,n,r)=>{if(n==="*"){let a=e[r-1],i=e[r+1];if(a==="\\")return t;let o=r;for(let u=r-1;u>=0;u--){if(e[u]===`
859`){o=u+1;break}if(u===0){o=0;break}}if(e.substring(o,r).trim()===""&&(i===" "||i==="	"))return t;if(a!=="*"&&i!=="*")return t+1}return t},0),kne=e=>{if(km(e))return e;if(e.match(bne)){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(_ne(e)%2===1)return`${e}*`}return e},nN=(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},Sne=e=>e.split("").reduce((t,n,r)=>{if(n==="_"){let a=e[r-1],i=e[r+1];if(a==="\\"||nN(e,r)||a&&i&&/[\p{L}\p{N}_]/u.test(a)&&/[\p{L}\p{N}_]/u.test(i))return t;if(a!=="_"&&i!=="_")return t+1}return t},0),Ane=e=>{if(km(e))return e;if(e.match(xne)){let t=-1;for(let r=0;r<e.length;r++)if(e[r]==="_"&&e[r-1]!=="_"&&e[r+1]!=="_"&&e[r-1]!=="\\"&&!nN(e,r)){let a=r>0?e[r-1]:"",i=r<e.length-1?e[r+1]:"";if(a&&i&&/[\p{L}\p{N}_]/u.test(a)&&/[\p{L}\p{N}_]/u.test(i))continue;t=r;break}if(t===-1)return e;let n=e.substring(t+1);if(!n||/^[\s_~*`]*$/.test(n))return e;if(Sne(e)%2===1){let r=e.match(/\n+$/);return r?`${e.slice(0,-r[0].length)}_${r[0]}`:`${e}_`}}return e},Nne=(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},Cne=e=>{let t=0;for(let n=0;n<e.length;n++)e[n]==="`"&&!Nne(e,n)&&t++;return t},One=e=>{if(e.match(/^```[^`\n]*```?$/)&&!e.includes(`
860`))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(`
861`)||(e.endsWith("```\n")||e.endsWith("```"))&&t%2===0)return e;let r=e.match(yne);if(r&&!n){let a=r[2];if(!a||/^[\s_~*`]*$/.test(a))return e;if(Cne(e)%2===1)return`${e}\``}return e},Rne=e=>{let t=e.match(vne);
861if(t){let n=t[2];if(!n||/^[\s_~*`]*$/.test(n))return e;if((e.match(/~~/g)||[]).length%2===1)return`${e}~~`}return e},Dne=e=>{if((e.match(/\$\$/g)||[]).length%2===0)return e;let t=e.indexOf("$$");return t!==-1&&e.indexOf(`
862`,t)!==-1&&!e.endsWith(`
863`)?`${e}
864$$`:`${e}$$`},Lne=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},Ine=e=>{if(km(e)||/^\*{4,}$/.test(e))return e;let t=e.match(gne);if(t){let n=t[2];if(!n||/^[\s_~*`]*$/.test(n))return e;if(Lne(e)%2===1)return`${e}***`}return e},Mne=e=>{if(!e||typeof e!="string")return e;let t=e,n=Ene(t);return n.endsWith("](streamdown:incomplete-link)")?n:(t=n,t=Ine(t),t=wne(t),t=Tne(t),t=kne(t),t=Ane(t),t=One(t),t=Rne(t),t=Dne(t),t)},Pne={harden:[kK,{allowedImagePrefixes:["*"],allowedLinkPrefixes:["*"],defaultOrigin:void 0,allowDataImages:!0}],raw:sQ,katex:[VG,{errorColor:"var(--color-muted-foreground)"}]},jne={gfm:[fK,{}],math:[_K,{singleDollarTextMath:!1}]},rN=R.createContext(["github-light","github-dark"]),aN=R.createContext(void 0),k4=R.createContext(!0),j0=R.createContext({isAnimating:!1}),sN=R.memo(({content:e,shouldParseIncompleteMarkdown:t,...n})=>{let r=R.useMemo(()=>typeof e=="string"&&t?Mne(e.trim()):e,[e,t]);return p.jsx(yF,{...n,children:r})},(e,t)=>e.content===t.content);sN.displayName="Block";var iN=R.memo(({children:e,parseIncompleteMarkdown:t=!0,components:n,rehypePlugins:r=Object.values(Pne),remarkPlugins:a=Object.values(jne),className:i,shikiTheme:o=["github-light","github-dark"],mermaidConfig:u,controls:c=!0,isAnimating:h=!1,...g})=>{let m=R.useId(),x=R.useMemo(()=>hne(typeof e=="string"?e:""),[e]);return p.jsx(rN.Provider,{value:o,children:p.jsx(aN.Provider,{value:u,children:p.jsx(k4.Provider,{value:c,children:p.jsx(j0.Provider,{value:{isAnimating:h},children:p.jsx("div",{className:vt("space-y-4",i),children:x.map((y,E)=>p.jsx(sN,{components:{...dne,...n},content:y,rehypePlugins:r,remarkPlugins:a,shouldParseIncompleteMarkdown:t,...g},`${m}-block-${E}`))})})})})})},(e,t)=>e.children===t.children&&e.shikiTheme===t.shikiTheme&&e.isAnimating===t.isAnimating);iN.displayName="Streamdown";const Hne=["Was ist ein Hook und warum brauche ich einen?","Welcher Hook-Typ passt am besten fuer meinen Betrieb?","Wie schreibe ich einen Hook, der wirklich funktioniert?","Was ist der Unterschied zwischen Emotions-Hook und Statement-Hook?","Mein Hook funktioniert nicht - warum?","Wie lang sollte ein Hook maximal sein?","Kann ich den Hook auch auf LinkedIn nutzen?","Wie oft sollte ich Videos posten?","Wie lange dauert es, bis ich Ergebnisse sehe?","Was macht einen guten Recruiting-Hook aus?"];function Bne(){const[e,t]=R.useState(""),[n,r]=R.useState([]),a=R.useRef(null),i=R.useRef(null),o=R.useRef(null),u=ct.useUtils(),{data:c=[],isLoading:h}=ct.assistent.getVerlauf.useQuery(),g=ct.assistent.senden.useMutation({onSuccess:()=>{u.assistent.getVerlauf.invalidate(),r([])},onError:A=>{r([]),nn.error("Fehler: "+A.message)}}),m=ct.assistent.verlaufLoeschen.useMutation({onSuccess:()=>{u.assistent.getVerlauf.invalidate(),r([]),nn.success("Verlauf gelöscht")}});R.useEffect(()=>{a.current?.scrollIntoView({behavior:"smooth"})},[c,n]);const x=()=>{const A=e.trim();A&&(t(""),r([{rolle:"user",inhalt:A,optimistic:!0},{rolle:"assistant",inhalt:"__loading__",optimistic:!0}]),g.mutate({nachricht:A}))},y=A=>{A.key==="Enter"&&!A.shiftKey&&(A.preventDefault(),x())},E=A=>{navigator.clipboard.writeText(A),nn.success("Kopiert!")},_=[...c.map(A=>({rolle:A.rolle,inhalt:A.inhalt})),...n],N=!h&&_.length===0;return p.jsxs("div",{"data-loc":"client/src/pages/Assistent.tsx:91",className:"flex flex-col h-full overflow-hidden",children:[p.jsxs("div",{"data-loc":"client/src/pages/Assistent.tsx:93",className:"flex items-center justify-between px-4 md:px-6 py-4 border-b border-white/10 bg-[#1e293b]/50 flex-shrink-0",children:[p.jsxs("div",{"data-loc":"client/src/pages/Assistent.tsx:94",children:[p.jsxs("h1",{"data-loc":"client/src/pages/Assistent.tsx:95",className:"text-xl md:text-2xl font-bold text-white flex items-center gap-2",style:{fontFamily:"'DM Sans', sans-serif"},children:[p.jsx(NT,{"data-loc":"client/src/pages/Assistent.tsx:96",className:"w-5 h-5 text-yellow-400"})," Hook-Assistent"]}),p.jsx("p",{"data-loc":"client/src/pages/Assistent.tsx:98",className:"text-slate-400 text-xs mt-0.5",children:"Dein persönlicher Social-Media-Experte"})]}),c.length>0&&p.jsxs(tt,{"data-loc":"client/src/pages/Assistent.tsx:101",variant:"ghost",size:"sm",className:"text-slate-500 hover:text-red-400 hover:bg-red-400/10",onClick:()=>m.mutate(),children:[p.jsx(DT,{"data-loc":"client/src/pages/Assistent.tsx:107",className:"w-4 h-4 mr-1"})," Verlauf löschen"]})]}),p.jsxs("div",{"data-loc":"client/src/pages/Assistent.tsx:113",ref:o,className:"flex-1 overflow-y-auto px-4 md:px-6 py-4 space-y-4 min-h-0",children:[h&&p.jsx("div",{"data-loc":"client/src/pages/Assistent.tsx:118",className:"flex justify-center py-8",children:p.jsx(Xt,{"data-loc":"client/src/pages/Assistent.tsx:119",className:"w-6 h-6 text-slate-500 animate-spin"})}),N&&p.jsxs("div",{"data-loc":"client/src/pages/Assistent.tsx:125",className:"max-w-2xl mx-auto",children:[p.jsxs("div",{"data-loc":"client/src/pages/Assistent.tsx:126",className:"bg-white/5 border border-white/10 rounded-2xl p-6 mb-6",children:[p.jsxs("div",{"data-loc":"client/src/pages/Assistent.tsx:127",className:"flex items-center gap-3 mb-3",children:[p.jsx("div",{"data-loc":"client/src/pages/Assistent.tsx:128",className:"w-10 h-10 bg-yellow-400/10 rounded-xl flex items-center justify-center",children:p.jsx(qi,{"data-loc":"client/src/pages/Assistent.tsx:129",className:"w-5 h-5 text-yellow-400"})}),p.jsxs("div",{"data-loc":"client/src/pages/Assistent.tsx:131",children:[p.jsx("p",{"data-loc":"client/src/pages/Assistent.tsx:132",className:"text-white font-semibold",children:"Hook-Assistent"}),p.jsx("p",{"data-loc":"client/src/pages/Assistent.tsx:133",className:"text-slate-400 text-xs",children:"Powered by KI"})]})]}),p.jsx("p",{"data-loc":"client/src/pages/Assistent.tsx:136",className:"text-slate-300 text-sm leading-relaxed",children:"Stell mir deine Frage zu Hooks, Social-Media-Texten oder Videokonzepten – ich antworte direkt und praxisnah."}),p.jsx("p",{"data-loc":"client/src/pages/Assistent.tsx:139",className:"text-slate-400 text-sm mt-2",children:"Oder wähle eine der Starter-Fragen unten."})]}),p.jsxs("div",{"data-loc":"client/src/pages/Assistent.tsx:145",children:[p.jsx("p",{"data-loc":"client/src/pages/Assistent.tsx:146",className:"text-slate-500 text-xs mb-2",children:"Schnellstart – klicke auf eine Frage:"}),p.jsx("div",{"data-loc":"client/src/pages/Assistent.tsx:147",className:"space-y-1.5",children:Hne.map((A,C)=>p.jsx("button",{"data-loc":"client/src/pages/Assistent.tsx:149",onClick:()=>{t(A),i.current?.focus()},className:"w-full text-left px-3 py-1.5 bg-white/3 border border-white/5 rounded-lg text-slate-400 text-xs hover:bg-white/5 hover:text-slate-300 transition-all",children:A},C))})]})]}),_.map((A,C)=>p.jsxs("div",{"data-loc":"client/src/pages/Assistent.tsx:164",className:`flex ${A.rolle==="user"?"justify-end":"justify-start"} max-w-3xl mx-auto w-full`,children:[A.rolle==="assistant"&&p.jsx("div",{"data-loc":"client/src/pages/Assistent.tsx:169",className:"w-8 h-8 bg-yellow-400/10 rounded-full flex items-center justify-center flex-shrink-0 mr-2 mt-1",children:p.jsx(qi,{"data-loc":"client/src/pages/Assistent.tsx:170",className:"w-4 h-4 text-yellow-400"})}),p.jsxs("div",{"data-loc":"client/src/pages/Assistent.tsx:173",className:`max-w-[80%] ${A.rolle==="user"?"order-1":""}`,children:[p.jsx("div",{"data-loc":"client/src/pages/Assistent.tsx:174",className:`rounded-2xl px-4 py-3 ${A.rolle==="user"?"bg-yellow-400/10 border border-yellow-400/20 text-white":"bg-white/5 border border-white/10 text-slate-100"}`,children:A.inhalt==="__loading__"?p.jsxs("div",{"data-loc":"client/src/pages/Assistent.tsx:183",className:"flex items-center gap-1 py-0.5",children:[p.jsx("div",{"data-loc":"client/src/pages/Assistent.tsx:184",className:"w-2 h-2 bg-slate-400 rounded-full animate-bounce",style:{animationDelay:"0ms"}}),p.jsx("div",{"data-loc":"client/src/pages/Assistent.tsx:185",className:"w-2 h-2 bg-slate-400 rounded-full animate-bounce",style:{animationDelay:"150ms"}}),p.jsx("div",{"data-loc":"client/src/pages/Assistent.tsx:186",className:"w-2 h-2 bg-slate-400 rounded-full animate-bounce",style:{animationDelay:"300ms"}})]}):A.rolle==="assistant"?p.jsx("div",{"data-loc":"client/src/pages/Assistent.tsx:189",className:"text-sm leading-relaxed prose prose-invert prose-sm max-w-none",children:p.jsx(iN,{"data-loc":"client/src/pages/Assistent.tsx:190",children:A.inhalt})}):p.jsx("p",{"data-loc":"client/src/pages/Assistent.tsx:193",className:"text-sm",children:A.inhalt})}),A.rolle==="assistant"&&A.inhalt!=="__loading__"&&p.jsxs("button",{"data-loc":"client/src/pages/Assistent.tsx:197",onClick:()=>E(A.inhalt),className:"mt-1 ml-1 text-xs text-slate-600 hover:text-slate-400 flex items-center gap-1 transition-all",children:[p.jsx(Ll,{"data-loc":"client/src/pages/Assistent.tsx:201",className:"w-3 h-3"})," Kopieren"]})]})]},C)),p.jsx("div",{"data-loc":"client/src/pages/Assistent.tsx:209",ref:
864a})]}),p.jsxs("div",{"data-loc":"client/src/pages/Assistent.tsx:213",className:"flex-shrink-0 px-4 md:px-6 py-4 border-t border-white/10 bg-[#1e293b]/80 backdrop-blur-sm",children:[p.jsxs("div",{"data-loc":"client/src/pages/Assistent.tsx:214",className:"max-w-3xl mx-auto flex gap-2 items-end",children:[p.jsx(js,{"data-loc":"client/src/pages/Assistent.tsx:215",ref:i,value:e,onChange:A=>t(A),onKeyDown:y,placeholder:"Frag mich alles über Hooks...",className:"flex-1 bg-white/5 border border-white/20 text-white placeholder:text-slate-500 focus:border-yellow-400/50 rounded-xl px-3 py-2.5 text-sm",disabled:g.isPending,minRows:1,maxRows:6}),p.jsx(tt,{"data-loc":"client/src/pages/Assistent.tsx:226",onClick:x,className:"bg-yellow-400 hover:bg-yellow-300 text-[#0f172a] font-bold px-4",disabled:g.isPending||!e.trim(),children:g.isPending?p.jsx(Xt,{"data-loc":"client/src/pages/Assistent.tsx:232",className:"w-4 h-4 animate-spin"}):p.jsx(ij,{"data-loc":"client/src/pages/Assistent.tsx:234",className:"w-4 h-4"})})]}),p.jsx("p",{"data-loc":"client/src/pages/Assistent.tsx:238",className:"text-slate-600 text-xs text-center mt-2",children:"Enter zum Senden · Shift+Enter für neue Zeile"})]})]})}const zne=[{value:"handwerk",label:"Handwerk & Bau"},{value:"pflege",label:"Pflege & Soziales"},{value:"gastronomie",label:"Gastronomie & Hotel"},{value:"it",label:"IT & Software"},{value:"einzelhandel",label:"Einzelhandel & Verkauf"},{value:"logistik",label:"Logistik & Transport"},{value:"reinigung",label:"Reinigung & Facility"},{value:"gesundheit",label:"Gesundheit & Fitness"},{value:"bildung",label:"Bildung & Coaching"},{value:"immobilien",label:"Immobilien & Finanzberatung"},{value:"marketing",label:"Marketing & Agentur"},{value:"andere",label:"Andere Branche"}];function Wc({value:e,onChange:t,placeholder:n,className:r=""}){const a=R.useRef(null),i=R.useCallback(()=>{const o=a.current;o&&(o.style.height="auto",o.style.height=o.scrollHeight+"px")},[]);return R.useEffect(()=>{i()},[e,i]),p.jsx("textarea",{"data-loc":"client/src/pages/Profil.tsx:54",ref:a,value:e,onChange:o=>{t(o.target.value),i()},onInput:i,placeholder:n,rows:1,className:`w-full bg-white/5 border border-white/20 rounded-xl px-3 py-2.5 text-white text-sm resize-none overflow-hidden focus:outline-none focus:border-yellow-400/50 placeholder:text-slate-500 leading-relaxed ${r}`,style:{minHeight:"42px"}})}function RE({form:e,setForm:t}){return p.jsxs("div",{"data-loc":"client/src/pages/Profil.tsx:87",className:"space-y-4",children:[p.jsxs("div",{"data-loc":"client/src/pages/Profil.tsx:88",children:[p.jsx("label",{"data-loc":"client/src/pages/Profil.tsx:89",className:"block text-xs font-medium text-slate-400 mb-1.5",children:"Unternehmensname"}),p.jsx(Bs,{"data-loc":"client/src/pages/Profil.tsx:90",value:e.unternehmensname,onChange:n=>t({...e,unternehmensname:n.target.value}),placeholder:"z.B. Müller Handwerk GmbH",className:"bg-white/5 border-white/20 text-white placeholder:text-slate-500"})]}),p.jsxs("div",{"data-loc":"client/src/pages/Profil.tsx:97",children:[p.jsx("label",{"data-loc":"client/src/pages/Profil.tsx:98",className:"block text-xs font-medium text-slate-400 mb-2",children:"Branche"}),p.jsx("div",{"data-loc":"client/src/pages/Profil.tsx:99",className:"grid grid-cols-2 gap-1.5",children:zne.map(n=>p.jsx("button",{"data-loc":"client/src/pages/Profil.tsx:101",onClick:()=>t({...e,branche:n.value,brancheLabel:n.label}),className:`px-2.5 py-1.5 rounded-lg text-xs font-medium text-left transition-all ${e.branche===n.value?"bg-yellow-400 text-[#0f172a]":"bg-white/5 text-slate-300 hover:bg-white/10 border border-white/10"}`,children:n.label},n.value))})]}),p.jsxs("div",{"data-loc":"client/src/pages/Profil.tsx:114",children:[p.jsxs("label",{"data-loc":"client/src/pages/Profil.tsx:115",className:"block text-xs font-medium text-slate-400 mb-1.5 flex items-center gap-1.5",children:[p.jsx(AT,{"data-loc":"client/src/pages/Profil.tsx:116",className:"w-3 h-3"})," Website-URL"]}),p.jsx(Bs,{"data-loc":"client/src/pages/Profil.tsx:118",value:e.websiteUrl,onChange:n=>t({...e,websiteUrl:n.target.value}),placeholder:"https://deine-website.de",className:"bg-white/5 border-white/20 text-white placeholder:text-slate-500"})]})]})}function DE({form:e,setForm:t}){return p.jsxs("div",{"data-loc":"client/src/pages/Profil.tsx:131",className:"space-y-4",children:[p.jsxs("div",{"data-loc":"client/src/pages/Profil.tsx:132",children:[p.jsx("label",{"data-loc":"client/src/pages/Profil.tsx:133",className:"block text-xs font-medium text-slate-400 mb-1.5",children:"Zielgruppe"}),p.jsx(Wc,{"data-loc":"client/src/pages/Profil.tsx:134",value:e.zielgruppe,onChange:n=>t({...e,zielgruppe:n}),placeholder:"z.B. Selbstständige und KMU, 30–55 Jahre, die Social Media nutzen wollen"})]}),p.jsxs("div",{"data-loc":"client/src/pages/Profil.tsx:140",children:[p.jsx("label",{"data-loc":"client/src/pages/Profil.tsx:141",className:"block text-xs font-medium text-slate-400 mb-1.5",children:"Deine Leistung / dein Angebot"}),p.jsx(Wc,{"data-loc":"client/src/pages/Profil.tsx:142",value:e.dienstleistung,onChange:n=>
864t({...e,dienstleistung:n}),placeholder:"z.B. Malerarbeiten, Renovierungen, Fassadengestaltung"})]})]})}function LE({form:e,setForm:t}){return p.jsxs("div",{"data-loc":"client/src/pages/Profil.tsx:154",className:"space-y-4",children:[p.jsxs("div",{"data-loc":"client/src/pages/Profil.tsx:155",children:[p.jsx("label",{"data-loc":"client/src/pages/Profil.tsx:156",className:"block text-xs font-medium text-slate-400 mb-2",children:"Hauptziel"}),p.jsx("div",{"data-loc":"client/src/pages/Profil.tsx:157",className:"grid grid-cols-3 gap-2",children:[{value:"kunden",label:"Kunden"},{value:"mitarbeiter",label:"Mitarbeiter"},{value:"beide",label:"Beides"}].map(n=>p.jsx("button",{"data-loc":"client/src/pages/Profil.tsx:159",onClick:()=>t({...e,ziel:n.value}),className:`py-2 rounded-lg text-sm font-medium transition-all border ${e.ziel===n.value?"bg-yellow-400/10 border-yellow-400 text-yellow-400":"bg-white/5 border-white/10 text-slate-300 hover:bg-white/10"}`,children:n.label},n.value))})]}),p.jsxs("div",{"data-loc":"client/src/pages/Profil.tsx:172",children:[p.jsx("label",{"data-loc":"client/src/pages/Profil.tsx:173",className:"block text-xs font-medium text-slate-400 mb-2",children:"Hauptplattform"}),p.jsx("div",{"data-loc":"client/src/pages/Profil.tsx:174",className:"grid grid-cols-3 gap-2",children:["instagram","tiktok","youtube","linkedin","alle"].map(n=>p.jsx("button",{"data-loc":"client/src/pages/Profil.tsx:176",onClick:()=>t({...e,plattform:n}),className:`py-2 rounded-lg text-sm font-medium transition-all border capitalize ${e.plattform===n?"bg-yellow-400/10 border-yellow-400 text-yellow-400":"bg-white/5 border-white/10 text-slate-300 hover:bg-white/10"}`,children:n==="alle"?"Alle":n},n))})]})]})}function Une(){const{user:e,logout:t}=Wi(),n=ct.useUtils(),{data:r,isLoading:a}=ct.profil.get.useQuery(),[i,o]=R.useState({unternehmensname:"",branche:"",brancheLabel:"",zielgruppe:"",dienstleistung:"",plattform:"instagram",ziel:"kunden",websiteUrl:"",kiZusammenfassung:"",kiZielgruppeSummary:"",kiLeistungSummary:""});R.useEffect(()=>{r&&o({unternehmensname:r.unternehmensname||"",branche:r.branche||"",brancheLabel:r.brancheLabel||"",zielgruppe:r.zielgruppe||"",dienstleistung:r.dienstleistung||"",plattform:r.plattform||"instagram",ziel:r.ziel||"kunden",websiteUrl:r.websiteUrl||"",kiZusammenfassung:r.kiZusammenfassung||"",kiZielgruppeSummary:r.kiZielgruppeSummary||"",kiLeistungSummary:r.kiLeistungSummary||""})},[r]);const[u,c]=R.useState(null),[h,g]=R.useState(!1),[m,x]=R.useState(null),[y,E]=R.useState(!1),[_,N]=R.useState(null),[A,C]=R.useState(!1),M=ct.profil.save.useMutation({onSuccess:()=>{n.profil.get.invalidate(),nn.success("Profil gespeichert!")},onError:()=>nn.error("Fehler beim Speichern")}),X=ct.profil.generiereZusammenfassung.useMutation({onSuccess:()=>{n.profil.get.invalidate(),nn.success("KI-Zusammenfassung aktualisiert!")},onError:()=>nn.error("Fehler beim Generieren")}),G=ct.profil.save.useMutation({onSuccess:()=>{n.profil.get.invalidate(),g(!1),nn.success("Zusammenfassung gespeichert!")},onError:()=>nn.error("Fehler beim Speichern")}),P=()=>M.mutate(i),B=()=>{u!==null&&G.mutate({...i,kiZusammenfassung:u})},Z=()=>{m!==null&&(G.mutate({...i,kiZielgruppeSummary:m}),E(!1))},V=()=>{_!==null&&(G.mutate({...i,kiLeistungSummary:_}),C(!1))};return a?p.jsx("div",{"data-loc":"client/src/pages/Profil.tsx:281",className:"flex items-center justify-center h-64",children:p.jsx(Xt,{"data-loc":"client/src/pages/Profil.tsx:282",className:"w-6 h-6 text-yellow-400 animate-spin"})}):p.jsxs("div",{"data-loc":"client/src/pages/Profil.tsx:288",className:"p-4 md:p-6 max-w-2xl mx-auto",children:[p.jsxs("div",{"data-loc":"client/src/pages/Profil.tsx:289",className:"mb-5",children:[p.jsxs("h1",{"data-loc":"client/src/pages/Profil.tsx:290",className:"text-xl md:text-2xl font-bold text-white flex items-center gap-2",style:{fontFamily:"'DM Sans', sans-serif"},children:[p.jsx(K2,{"data-loc":"client/src/pages/Profil.tsx:291",className:"w-5 h-5 md:w-6 md:h-6 text-yellow-400"})," Mein Profil"]}),p.jsx("p",{"data-loc":"client/src/pages/Profil.tsx:293",className:"text-slate-400 text-xs md:text-sm mt-1",children:"Deine gespeicherten Infos für den KI-Generator"})]}),p.jsx("div",{"data-loc":"client/src/pages/Profil.tsx:297",className:"mb-4",children:p.jsxs("div",{"data-loc":"client/src/pages/Profil.tsx:298",className:"bg-gradient-to-br from-yellow-400/10 to-yellow-400/5 border border-yellow-400/20 rounded-2xl p-4",children:[p.jsxs("div",{"data-loc":"client/src/pages/Profil.tsx:299",className:"flex items-center justify-between mb-3",children:[p.jsxs("h2",{"data-loc":"client/src/pages/Profil.tsx:300",className:"text-white font-semibold flex items-center gap-2 text-sm",children:[p.jsx(qi,{"data-loc":"client/src/pages/Profil.tsx:301",className:"w-4 h-4 text-yellow-400"})," KI-Zusammenfassung"]}),p.jsx("div",{"data-loc":"client/src/pages/Profil.tsx:303",className:"flex gap-1",children:h?p.jsxs(p.Fragment,{children:[p.jsx("button",{"data-loc":"client/src/pages/Profil.tsx:317",onClick:B,disabled:G.isPending,className:"p-1.5 rounded-lg text-green-400 hover:bg-green-400/10 transition-all",children:G.isPending?p.jsx(Xt,{"data-loc":"client/src/pages/Profil.tsx:319",className:"w-3.5 h-3.5 animate-spin"}):p.jsx(Mh,{"data-loc":"client/src/pages/Profil.tsx:319",className:"w-3.5 h-3.5"})}),p.jsx("button",{"data-loc":"client/src/pages/Profil.tsx:321",onClick:()=>g(!1),className:"p-1.5 rounded-lg text-red-400 hover:bg-red-400/10 transition-all",children:p.jsx(jh,{"data-loc":"client/src/pages/Profil.tsx:323",className:"w-3.5 h-3.5"})})]}):p.jsxs(p.Fragment,{children:[p.jsx("button",{"data-loc":"client/src/pages/Profil.tsx:306",onClick:()=>{c(r?.kiZusammenfassung||""),g(!0)},className:"p-1.5 rounded-lg text-slate-400 hover:text-white hover:bg-white/10 transition-all",title:"Bearbeiten",children:p.jsx(Ph,{"data-loc":"client/src/pages/Profil.tsx:308",className:"w-3.5 h-3.5"})}),p.jsx("button",{"data-loc":"client/src/pages/Profil.tsx:310",onClick:()=>X.mutate(),disabled:X.isPending,className:"p-1.5 rounded-lg text-slate-400 hover:text-yellow-400 hover:bg-yellow-400/10 transition-all",title:"Neu generieren",children:X.isPending?p.jsx(Xt,{"data-loc":"client/src/pages/Profil.tsx:312",className:"w-3.5 h-3.5 animate-spin"}):p.jsx(Vf,{"data-loc":"client/src/pages/Profil.tsx:312",className:"w-3.5 h-3.5"})})]})})]}),h?p.jsx(Wc,{"data-loc":"client/src/pages/Profil.tsx:330",value:u||"",onChange:U=>c(U),placeholder:"Beschreibe dein Unternehmen in 1-2 Sätzen..."}):r?.kiZusammenfassung?p.jsx("p",{"data-loc":"client/src/pages/Profil.tsx:33
8646",className:"text-slate-200 text-sm leading-relaxed",children:r.kiZusammenfassung}):p.jsxs("div",{"data-loc":"client/src/pages/Profil.tsx:338",className:"text-center py-2",children:[p.jsx("p",{"data-loc":"client/src/pages/Profil.tsx:339",className:"text-slate-400 text-sm mb-2",children:"Noch keine Zusammenfassung"}),p.jsx("button",{"data-loc":"client/src/pages/Profil.tsx:340",onClick:()=>X.mutate(),disabled:X.isPending,className:"text-yellow-400 text-sm font-medium hover:text-yellow-300 flex items-center gap-1.5 mx-auto",children:X.isPending?p.jsxs(p.Fragment,{children:[p.jsx(Xt,{"data-loc":"client/src/pages/Profil.tsx:343",className:"w-3.5 h-3.5 animate-spin"})," Wird generiert..."]}):p.jsxs(p.Fragment,{children:[p.jsx(qi,{"data-loc":"client/src/pages/Profil.tsx:344",className:"w-3.5 h-3.5"})," Jetzt generieren"]})})]}),p.jsx("p",{"data-loc":"client/src/pages/Profil.tsx:348",className:"text-slate-500 text-xs mt-2",children:"Wird vom KI-Generator als Kontext verwendet"})]})}),p.jsx("div",{"data-loc":"client/src/pages/Profil.tsx:353",className:"mb-4",children:p.jsxs("div",{"data-loc":"client/src/pages/Profil.tsx:354",className:"bg-gradient-to-br from-blue-400/10 to-blue-400/5 border border-blue-400/20 rounded-2xl p-4",children:[p.jsxs("div",{"data-loc":"client/src/pages/Profil.tsx:355",className:"flex items-center justify-between mb-3",children:[p.jsxs("h2",{"data-loc":"client/src/pages/Profil.tsx:356",className:"text-white font-semibold flex items-center gap-2 text-sm",children:[p.jsx(Wo,{"data-loc":"client/src/pages/Profil.tsx:357",className:"w-4 h-4 text-blue-400"})," Zielgruppe - KI-Analyse"]}),p.jsx("div",{"data-loc":"client/src/pages/Profil.tsx:359",className:"flex gap-1",children:y?p.jsxs(p.Fragment,{children:[p.jsx("button",{"data-loc":"client/src/pages/Profil.tsx:367",onClick:Z,disabled:G.isPending,className:"p-1.5 rounded-lg text-green-400 hover:bg-green-400/10 transition-all",children:G.isPending?p.jsx(Xt,{"data-loc":"client/src/pages/Profil.tsx:369",className:"w-3.5 h-3.5 animate-spin"}):p.jsx(Mh,{"data-loc":"client/src/pages/Profil.tsx:369",className:"w-3.5 h-3.5"})}),p.jsx("button",{"data-loc":"client/src/pages/Profil.tsx:371",onClick:()=>E(!1),className:"p-1.5 rounded-lg text-red-400 hover:bg-red-400/10 transition-all",children:p.jsx(jh,{"data-loc":"client/src/pages/Profil.tsx:373",className:"w-3.5 h-3.5"})})]}):p.jsx("button",{"data-loc":"client/src/pages/Profil.tsx:361",onClick:()=>{x(r?.kiZielgruppeSummary||""),E(!0)},className:"p-1.5 rounded-lg text-slate-400 hover:text-white hover:bg-white/10 transition-all",title:"Bearbeiten",children:p.jsx(Ph,{"data-loc":"client/src/pages/Profil.tsx:363",className:"w-3.5 h-3.5"})})})]}),y?p.jsx(Wc,{"data-loc":"client/src/pages/Profil.tsx:380",value:m||"",onChange:U=>x(U),placeholder:"Beschreibe deine Zielgruppe genauer..."}):r?.kiZielgruppeSummary?p.jsx("p",{"data-loc":"client/src/pages/Profil.tsx:386",className:"text-slate-200 text-sm leading-relaxed",children:r.kiZielgruppeSummary}):p.jsx("p",{"data-loc":"client/src/pages/Profil.tsx:388",className:"text-slate-400 text-sm",children:"Noch keine Analyse. Generiere Hooks um diese automatisch zu füllen."}),p.jsx("p",{"data-loc":"client/src/pages/Profil.tsx:390",className:"text-slate-500 text-xs mt-2",children:"Wird für präzisere Hook-Generierung verwendet"})]})}),p.jsx("div",{"data-loc":"client/src/pages/Profil.tsx:395",className:"mb-4",children:p.jsxs("div",{"data-loc":"client/src/pages/Profil.tsx:396",className:"bg-gradient-to-br from-green-400/10 to-green-400/5 border border-green-400/20 rounded-2xl p-4",children:[p.jsxs("div",{"data-loc":"client/src/pages/Profil.tsx:397",className:"flex items-center justify-between mb-3",children:[p.jsxs("h2",{"data-loc":"client/src/pages/Profil.tsx:398",className:"text-white font-semibold flex items-center gap-2 text-sm",children:[p.jsx(Vn,{"data-loc":"client/src/pages/Profil.tsx:399",className:"w-4 h-4 text-green-400"})," Leistung - KI-Analyse"]}),p.jsx("div",{"data-loc":"client/src/pages/Profil.tsx:401",className:"flex gap-1",children:A?p.jsxs(p.Fragment,{children:[p.jsx("button",{"data-loc":"client/src/pages/Profil.tsx:409",onClick:V,disabled:G.isPending,className:"p-1.5 rounded-lg text-green-400 hover:bg-green-400/10 transition-all",children:G.isPending?p.jsx(Xt,{"data-loc":"client/src/pages/Profil.tsx:411",className:"w-3.5 h-3.5 animate-spin"}):p.jsx(Mh,{"data-loc":"client/src/pages/Profil.tsx:411",className:"w-3.5 h-3.5"})}),p.jsx("button",{"data-loc":"client/src/pages/Profil.tsx:413",onClick:()=>C(!1),className:"p-1.5 rounded-lg text-red-400 hover:bg-red-400/10 transition-all",children:p.jsx(jh,{"data-loc":"client/src/pages/Profil.tsx:415",className:"w-3.5 h-3.5"})})]}):p.jsx("button",{"data-loc":"client/src/pages/Profil.tsx:403",onClick:()=>{N(r?.kiLeistungSummary||""),C(!0)},className:"p-1.5 rounded-lg text-slate-400 hover:text-white hover:bg-white/10 transition-all",title:"Bearbeiten",children:p.jsx(Ph,{"data-loc":"client/src/pages/Profil.tsx:405",className:"w-3.5 h-3.5"})})})]}),A?p.jsx(Wc,{"data-loc":"client/src/pages/Profil.tsx:422",value:_||"",onChange:U=>
864N(U),placeholder:"Beschreibe deine Leistung und Besonderheiten..."}):r?.kiLeistungSummary?p.jsx("p",{"data-loc":"client/src/pages/Profil.tsx:428",className:"text-slate-200 text-sm leading-relaxed",children:r.kiLeistungSummary}):p.jsx("p",{"data-loc":"client/src/pages/Profil.tsx:430",className:"text-slate-400 text-sm",children:"Noch keine Analyse. Generiere Hooks um diese automatisch zu füllen."}),p.jsx("p",{"data-loc":"client/src/pages/Profil.tsx:432",className:"text-slate-500 text-xs mt-2",children:"Wird für präzisere Hook-Generierung verwendet"})]})}),p.jsx("div",{"data-loc":"client/src/pages/Profil.tsx:437",className:"block md:hidden space-y-2 mb-4",children:p.jsxs(Cb,{"data-loc":"client/src/pages/Profil.tsx:438",type:"single",collapsible:!0,children:[p.jsxs(Qa,{"data-loc":"client/src/pages/Profil.tsx:439",value:"unternehmen",className:"bg-white/5 border border-white/10 rounded-2xl px-4 overflow-hidden",children:[p.jsx(Wa,{"data-loc":"client/src/pages/Profil.tsx:440",className:"text-white font-semibold text-sm py-3 hover:no-underline",children:p.jsxs("span",{"data-loc":"client/src/pages/Profil.tsx:441",className:"flex items-center gap-2",children:[p.jsx(Tb,{"data-loc":"client/src/pages/Profil.tsx:442",className:"w-4 h-4 text-yellow-400"}),"Unternehmen",i.unternehmensname&&p.jsx("span",{"data-loc":"client/src/pages/Profil.tsx:445",className:"text-slate-500 text-xs font-normal truncate max-w-[100px]",children:i.unternehmensname})]})}),p.jsx(Ka,{"data-loc":"client/src/pages/Profil.tsx:449",className:"pb-4",children:p.jsx(RE,{"data-loc":"client/src/pages/Profil.tsx:450",form:i,setForm:o})})]}),p.jsxs(Qa,{"data-loc":"client/src/pages/Profil.tsx:454",value:"zielgruppe",className:"bg-white/5 border border-white/10 rounded-2xl px-4 overflow-hidden mt-2",children:[p.jsx(Wa,{"data-loc":"client/src/pages/Profil.tsx:455",className:"text-white font-semibold text-sm py-3 hover:no-underline",children:p.jsxs("span",{"data-loc":"client/src/pages/Profil.tsx:456",className:"flex items-center gap-2",children:[p.jsx(Wo,{"data-loc":"client/src/pages/Profil.tsx:457",className:"w-4 h-4 text-yellow-400"}),"Zielgruppe & Leistung",i.zielgruppe&&p.jsx("span",{"data-loc":"client/src/pages/Profil.tsx:459",className:"w-2 h-2 rounded-full bg-yellow-400"})]})}),p.jsx(Ka,{"data-loc":"client/src/pages/Profil.tsx:462",className:"pb-4",children:p.jsx(DE,{"data-loc":"client/src/pages/Profil.tsx:463",form:i,setForm:o})})]}),p.jsxs(Qa,{"data-loc":"client/src/pages/Profil.tsx:467",value:"ziel",className:"bg-white/5 border border-white/10 rounded-2xl px-4 overflow-hidden mt-2",children:[p.jsx(Wa,{"data-loc":"client/src/pages/Profil.tsx:468",className:"text-white font-semibold text-sm py-3 hover:no-underline",children:p.jsxs("span",{"data-loc":"client/src/pages/Profil.tsx:469",className:"flex items-center gap-2",children:[p.jsx(Vn,{"data-loc":"client/src/pages/Profil.tsx:470",className:"w-4 h-4 text-yellow-400"}),"Ziel & Plattform",p.jsxs("span",{"data-loc":"client/src/pages/Profil.tsx:472",className:"text-slate-500 text-xs font-normal capitalize",children:[i.ziel," · ",i.plattform]})]})}),p.jsx(Ka,{"data-loc":"client/src/pages/Profil.tsx:475",className:"pb-4",children:p.jsx(LE,{"data-loc":"client/src/pages/Profil.tsx:476",form:i,setForm:o})})]})]})}),p.jsxs("div",{"data-loc":"client/src/pages/Profil.tsx:483",className:"hidden md:block space-y-4 mb-5",children:[p.jsxs("div",{"data-loc":"client/src/pages/Profil.tsx:484",className:"bg-white/5 border border-white/10 rounded-2xl p-5",children:[p.jsxs("h2",{"data-loc":"client/src/pages/Profil.tsx:485",className:"text-white font-semibold mb-4 flex items-center gap-2",children:[p.jsx(Tb,{"data-loc":"client/src/pages/Profil.tsx:486",className:"w-4 h-4 text-yellow-400"})," Unternehmen"]}),p.jsx(RE,{"data-loc":"client/src/pages/Profil.tsx:488",form:i,setForm:o})]}),p.jsxs("div",{"data-loc":"client/src/pages/Profil.tsx:490",className:"bg-white/5 border border-white/10 rounded-2xl p-5",children:[p.jsxs("h2",{"data-loc":"client/src/pages/Profil.tsx:491",className:"text-white font-semibold mb-4 flex items-center gap-2",children:[p.jsx(Wo,{"data-loc":"client/src/pages/Profil.tsx:492",className:"w-4 h-4 text-yellow-400"})," Zielgruppe & Leistung"]}),p.jsx(DE,{"data-loc":"client/src/pages/Profil.tsx:494",form:i,setForm:o})]}),p.jsxs("div",{"data-loc":"client/src/pages/Profil.tsx:496",className:"bg-white/5 border border-white/10 rounded-2xl p-5",children:[p.jsxs("h2",{"data-loc":"client/src/pages/Profil.tsx:497",className:"text-white font-semibold mb-4 flex items-center gap-2",children:[p.jsx(Vn,{"data-loc":"client/src/pages/Profil.tsx:498",className:"w-4 h-4 text-yellow-400"})," Ziel & Plattform"]}),p.jsx(LE,{"data-loc":"client/src/pages/Profil.tsx:500",form:i,setForm:o})]})]}),p.jsx(tt,{"data-loc":"client/src/pages/Profil.tsx:505",className:"w-full bg-yellow-400 hover:bg-yellow-300 text-[#0f172a] font-bold h-11 mb-4",onClick:P,disabled:M.isPending,children:M.isPending?p.jsxs(p.Fragment,{children:[p.jsx(Xt,{"data-loc":"client/src/pages/Profil.tsx:511",className:"w-4 h-4 mr-2 animate-spin"})," Wird gespeichert..."]}):p.jsxs(p.Fragment,{children:[p.jsx(sj,{"data-loc":"client/src/pages/Profil.tsx:512",className:"w-4 h-4 mr-2"})," Profil speichern"]})}),p.jsx("div",{"data-loc":"client/src/pages/Profil.tsx:516",className:"bg-white/5 border border-white/10 rounded-2xl p-4 mb-4",children:p.jsxs("div",{"data-loc":"client/src/pages/Profil.tsx:517",className:"flex items-center gap-3",children:[p.jsx("div",{"data-loc":"client/src/pages/Profil.tsx:518",className:"w-10 h-10 rounded-full bg-yellow-400/20 flex items-center justify-center flex-shrink-0",children:p.jsx("span",{"data-loc":"client/src/pages/Profil.tsx:519",className:"text-yellow-400 font-bold",children:(e?.name||e?.email||"U")[0].toUpperCase()})}),p.jsxs("div",{"data-loc":"client/src/pages/Profil.tsx:523",className:"flex-1 min-w-0",children:[p.jsx("p",{"data-loc":"client/src/pages/Profil.tsx:524",className:"text-white font-semibold text-sm truncate",children:e?.name||"Nutzer"}),p.jsx("p",{"data-loc":"client/src/pages/Profil.tsx:525",className:"text-slate-400 text-xs truncate",children:e?.email||""}),e?.role==="admin"&&p.jsx("span",{"data-loc":"client/src/pages/Profil.tsx:527",className:"text-xs bg-yellow-400/10 text-yellow-400 border border-yellow-400/20 px-2 py-0.5 rounded-full",children:"Admin"})]}),p.jsxs(tt,{"data-loc":"client/src/pages/Profil.tsx:530",variant:"outline",size:"sm",className:"border-red-500/30 text-red-400 hover:bg-red-500/10 hover:border-red-500/50 flex-shrink-0",onClick:t,children:[p.jsx(W2,{"data-loc":"client/src/pages/Profil.tsx:536",className:"w-4 h-4 mr-1"})," Abmelden"]})]})}),p.jsxs("p",{"data-loc":"client/src/pages/Profil.tsx:541",className:"text-slate-600 text-xs text-center",children:[p.jsx("a",{"data-loc":"client/src/pages/Profil.tsx:542",href:"https://www.darvismedia.de/datenschutz",target:"_blank",rel:"noopener noreferrer",className:"hover:text-slate-400 underline",children:"Datenschutz"})," · ",p.jsx("a",{"data-loc":"client/src/pages/Profil.tsx:544",href:"https://www.darvismedia.de/impressum",target:"_blank",rel:"noopener noreferrer",className:"hover:text-slate-400 underline",children:"Impressum"})]})]})}function Fne(){const{user:e}
864=Wi(),[,t]=Ws(),[n,r]=R.useState("overview"),[a,i]=R.useState(""),[o,u]=R.useState(""),[c,h]=R.useState(null),[g,m]=R.useState(0),x=50,{data:y,isLoading:E,refetch:_}=ct.admin.getStats.useQuery(void 0,{enabled:e?.role==="admin"}),{data:N=[],isLoading:A}=ct.admin.getAllUsers.useQuery(void 0,{enabled:e?.role==="admin"}),{data:C,isLoading:M,refetch:X}=ct.admin.getChatFragen.useQuery({emailFilter:a||void 0,limit:x,offset:g*x},{enabled:e?.role==="admin"&&n==="fragen"}),G=C?.fragen??[],P=C?.total??0;if(e?.role!=="admin")return p.jsx("div",{"data-loc":"client/src/pages/AdminDashboard.tsx:38",className:"flex items-center justify-center h-full p-8",children:p.jsxs("div",{"data-loc":"client/src/pages/AdminDashboard.tsx:39",className:"text-center",children:[p.jsx(lj,{"data-loc":"client/src/pages/AdminDashboard.tsx:40",className:"w-12 h-12 text-red-400 mx-auto mb-3"}),p.jsx("h2",{"data-loc":"client/src/pages/AdminDashboard.tsx:41",className:"text-white font-bold text-xl mb-2",children:"Kein Zugriff"}),p.jsx("p",{"data-loc":"client/src/pages/AdminDashboard.tsx:42",className:"text-slate-400 text-sm mb-4",children:"Du hast keine Admin-Berechtigung."}),p.jsx(tt,{"data-loc":"client/src/pages/AdminDashboard.tsx:43",onClick:()=>t("/app/generator"),className:"bg-yellow-400 hover:bg-yellow-300 text-[#0f172a] font-bold",children:"Zum Generator"})]})});const B=()=>{if(!N.length)return;const V=["ID","Name","E-Mail","Rolle","Erstellt","Letzter Login"],U=N.map(me=>[me.id,me.name||"",me.email||"",me.role,me.createdAt?new Date(me.createdAt).toLocaleDateString("de-DE"):"",me.lastSignedIn?new Date(me.lastSignedIn).toLocaleDateString("de-DE"):""]),ae=[V,...U].map(me=>me.map($=>`"${$}"`).join(",")).join(`
865`),te=new Blob([ae],{type:"text/csv;charset=utf-8;"}),he=URL.createObjectURL(te),le=document.createElement("a");le.href=he,le.download=`nutzer_export_${new Date().toISOString().split("T")[0]}.csv`,le.click(),URL.revokeObjectURL(he)},Z=()=>{if(!y?.recentEvents?.length)return;const V=["Typ","Branche","Ziel","Hook-Typ","Datum"],U=y.recentEvents.map(me=>[me.eventType,me.branche||"",me.ziel||"",me.hookTyp||"",me.createdAt?new Date(me.createdAt).toLocaleDateString("de-DE"):""]),ae=[V,...U].map(me=>me.map($=>`"${$}"`).join(",")).join(`
866`),te=new Blob([ae],{type:"text/csv;charset=utf-8;"}),he=URL.createObjectURL(te),le=document.createElement("a");le.href=he,le.download=`events_export_${new Date().toISOString().split("T")[0]}.csv`,le.click(),URL.revokeObjectURL(he)};return p.jsxs("div",{"data-loc":"client/src/pages/AdminDashboard.tsx:93",className:"p-4 md:p-6 max-w-6xl mx-auto",children:[p.jsxs("div",{"data-loc":"client/src/pages/AdminDashboard.tsx:95",className:"flex items-center justify-between mb-6",children:[p.jsxs("div",{"data-loc":"client/src/pages/AdminDashboard.tsx:96",children:[p.jsxs("h1",{"data-loc":"client/src/pages/AdminDashboard.tsx:97",className:"text-xl md:text-2xl font-bold text-white flex items-center gap-2",style:{fontFamily:"'DM Sans', sans-serif"},children:[p.jsx($2,{"data-loc":"client/src/pages/AdminDashboard.tsx:98",className:"w-6 h-6 text-yellow-400"})," Admin-Dashboard"]}),p.jsx("p",{"data-loc":"client/src/pages/AdminDashboard.tsx:100",className:"text-slate-400 text-sm mt-1",children:"Nutzerübersicht, Analytics und Exports"})]}),p.jsxs(tt,{"data-loc":"client/src/pages/AdminDashboard.tsx:102",variant:"ghost",size:"sm",className:"text-slate-400 hover:text-white",onClick:()=>_(),children:[p.jsx(Vf,{"data-loc":"client/src/pages/AdminDashboard.tsx:108",className:"w-4 h-4 mr-1"})," Aktualisieren"]})]}),p.jsx("div",{"data-loc":"client/src/pages/AdminDashboard.tsx:113",className:"grid grid-cols-2 md:grid-cols-4 gap-3 mb-6",children:[{label:"Nutzer gesamt",value:y?.totalUsers??"–",icon:Wo,color:"text-blue-400",bg:"bg-blue-500/10"},{label:"Generierungen",value:y?.totalGenerations??"–",icon:Vn,color:"text-yellow-400",bg:"bg-yellow-500/10"},{label:"Kopierungen",value:y?.totalCopies??"–",icon:Ll,color:"text-green-400",bg:"bg-green-500/10"},{label:"Top-Branche",value:y?.topBranchen?.[0]?.branche||"–",icon:Sb,color:"text-purple-400",bg:"bg-purple-500/10"}].map(V=>p.jsxs("div",{"data-loc":"client/src/pages/AdminDashboard.tsx:120",className:"bg-white/5 border border-white/10 rounded-xl p-4",children:[p.jsx("div",{"data-loc":"client/src/pages/AdminDashboard.tsx:121",className:`w-8 h-8 ${V.bg} rounded-lg flex items-center justify-center mb-2`,children:p.jsx(V.icon,{"data-loc":"client/src/pages/AdminDashboard.tsx:122",className:`w-4 h-4 ${V.color}`})}),p.jsx("div",{"data-loc":"client/src/pages/AdminDashboard.tsx:124",className:"text-2xl font-bold text-white",children:E?"...":String(V.value)}),p.jsx("div",{"data-loc":"client/src/pages/AdminDashboard.tsx:125",className:"text-slate-400 text-xs mt-0.5",children:V.label})]},V.label))}),p.jsx("div",{"data-loc":"client/src/pages/AdminDashboard.tsx:131",className:"flex gap-2 mb-5 bg-white/5 p-1 rounded-xl w-fit",children:[{key:"overview",label:"Übersicht"},{key:"users",label:`Nutzer (${N.length})`},{key:"events",label:"Aktivitäten"},{key:"fragen",label:"Fragen"}].map(V=>p.jsx("button",{"data-loc":"client/src/pages/AdminDashboard.tsx:138",onClick:()=>r(V.key),className:`px-4 py-2 rounded-lg text-sm font-medium transition-all ${n===V.key?"bg-yellow-400 text-[#0f172a]":"text-slate-400 hover:text-white"}`,children:V.label},V.key))}),n==="overview"&&p.jsxs("div",{"data-loc":"client/src/pages/AdminDashboard.tsx:154",className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[p.jsxs("div",{"data-loc":"client/src/pages/AdminDashboard.tsx:156",className:"bg-white/5 border border-white/10 rounded-xl p-5",children:[p.jsxs("h3",{"data-loc":"client/src/pages/AdminDashboard.tsx:157",className:"text-white font-semibold mb-3 flex items-center gap-2",children:[p.jsx(XP,{"data-loc":"client/src/pages/AdminDashboard.tsx:158",className:"w-4 h-4 text-yellow-400"})," Generierungen nach Ziel"]}),E?p.jsx("div",{"data-loc":"client/src/pages/AdminDashboard.tsx:161",className:"text-slate-500 text-sm",children:"Lädt..."}):p.jsxs("div",{"data-loc":"client/src/pages/AdminDashboard.tsx:163",className:"space-y-2",children:[(y?.byZiel||[]).map(V=>p.jsxs("div",{"data-loc":"client/src/pages/AdminDashboard.tsx:165",className:"flex items-center justify-between",children:[p.jsx("span",{"data-loc":"client/src/pages/AdminDashboard.tsx:166",className:"text-slate-300 text-sm capitalize",children:V.ziel||"Unbekannt"}),p.jsxs("div",{"data-loc":"client/src/pages/AdminDashboard.tsx:167",className:"flex items-center gap-2",children:[p.jsx("div",{"data-loc":"client/src/pages/AdminDashboard.tsx:168",className:"w-24 h-2 bg-white/10 rounded-full overflow-hidden",children:p.jsx("div",{"data-loc":"client/src/pages/AdminDashboard.tsx:169",className:"h-full bg-yellow-400 rounded-full",style:{width:`${Math.min(100,V.count/(y?.totalGenerations||1)*100)}%`}})}),p.jsx("span",{"data-loc":"client/src/pages/AdminDashboard.tsx:174",className:"text-white text-sm font-semibold w-6 text-right",children:V.count})]})]},V.ziel)),!y?.byZiel?.length&&p.jsx("p",{"data-loc":"client/src/pages/AdminDashboard.tsx:178",className:"text-slate-500 text-sm",children:"Noch keine Daten"})]})]}),p.jsxs("div",{"data-loc":"client/src/pages/AdminDashboard.tsx:184",className:"bg-white/5 border border-white/10 rounded-xl p-5",children:[p.jsxs("h3",{"data-loc":"client/src/pages/AdminDashboard.tsx:185",className:"text-white font-semibold mb-3 flex items-center gap-2",children:[p.jsx(Sb,{"data-loc":"client/src/pages/AdminDashboard.tsx:186",className:"w-4 h-4 text-yellow-400"})," Top-Branchen"]}),E?p.jsx("div",{"data-loc":"client/src/pages/AdminDashboard.tsx:189",className:"text-slate-500 text-sm",children:"Lädt..."}):p.jsxs("div",{"data-loc":"client/src/pages/AdminDashboard.tsx:191",className:"space-y-2",children:[(y?.topBranchen||[]).map((V,U)=>p.jsxs("div",{"data-loc":"client/src/pages/AdminDashboard.tsx:193",className:"flex items-center gap-3",children:[p.jsxs("span",{"data-loc":"client/src/pages/AdminDashboard.tsx:194",className:"text-slate-500 text-xs w-4",children:[U+1,"."]}),p.jsx("span",{"data-loc":"client/src/pages/AdminDashboard.tsx:195",className:"text-slate-300 text-sm flex-1 capitalize",children:V.branche||"–"}),p.jsxs("span",{"data-loc":"client/src/pages/AdminDashboard.tsx:196",className:"text-yellow-400 text-sm font-semibold",children:[V.count,"x"]})]},V.branche)),!y?.topBranchen?.length&&p.jsx("p",{"data-loc":"client/src/pages/AdminDashboard.tsx:199",className:"text-slate-500 text-sm",children:"Noch keine Daten"})]})]}),p.jsxs("div",{"data-loc":"client/src/pages/AdminDashboard.tsx:205",className:"bg-white/5 border border-white/10 rounded-xl p-5",children:[p.jsxs("h3",{"data-loc":"client/src/pages/AdminDashboard.tsx:206",className:"text-white font-semibold mb-3 flex items-center gap-2",children:[p.jsx(Ll,{"data-loc":"client/src/pages/AdminDashboard.tsx:207",className:"w-4 h-4 text-yellow-400"})," Kopierungen nach Hook-Typ"]}),E?p.jsx("div",{"data-loc":"client/src/pages/AdminDashboard.tsx:210",className:"text-slate-500 text-sm",children:"Lädt..."}):p.jsxs("div",{"data-loc":"client/src/pages/AdminDashboard.tsx:212",className:"space-y-2",children:[(y?.copiesByTyp||[]).map(V=>p.jsxs("div",{"data-loc":"client/src/pages/AdminDashboard.tsx:214",className:"flex items-center justify-between",children:[p.jsx("span",{"data-loc":"client/src/pages/AdminDashboard.tsx:215",className:"text-slate-300 text-sm capitalize",children:V.hookTyp||"Unbekannt"}),p.jsxs("span",{"data-loc":"client/src/pages/AdminDashboard.tsx:216",className:"text-white text-sm font-semibold",children:[V.count,"x"]})]},V.hookTyp)),!y?.copiesByTyp?.length&&p.jsx("p",{"data-loc":"client/src/pages/AdminDashboard.tsx:219",className:"text-slate-500 text-sm",children:"Noch keine Daten"})]})]})]}),n==="users"&&p.jsxs("div",{"data-loc":"client/src/pages/AdminDashboard.tsx:228",children:[p.jsx("div",{"data-loc":"client/src/pages/AdminDashboard.tsx:229",className:"flex justify-end mb-3",children:p.jsxs(tt,{"data-loc":"client/src/pages/AdminDashboard.tsx:230",size:"sm",variant:"outline",className:"border-white/20 text-slate-300 hover:bg-white/5",onClick:B,children:[p.jsx(b6,{"data-loc":"client/src/pages/AdminDashboard.tsx:236",className:"w-4 h-4 mr-1"})," CSV Export"]})}),p.jsx("div",{"data-loc":"client/src/pages/AdminDashboard.tsx:239",className:"bg-white/5 border border-white/10 rounded-xl overflow-hidden",children:p.jsx("div",{"data-loc":"client/src/pages/AdminDashboard.tsx:240",className:"overflow-x-auto",children:p.jsxs("table",{"data-loc":"client/src/pages/AdminDashboard.tsx:241",className:"w-full text-sm",children:[p.jsx("thead",{"data-loc":"client/src/pages/AdminDashboard.tsx:242",children:p.jsxs("tr",{"data-loc":"client/src/pages/AdminDashboard.tsx:243",className:"border-b border-white/10",children:[p.jsx("th",{"data-loc":"client/src/pages/AdminDashboard.tsx:244",className:"text-left px-4 py-3 text-slate-400 font-medium",children:"Name"}),p.jsx("th",{"data-loc":"client/src/pages/AdminDashboard.tsx:245",className:"text-left px-4 py-3 text-slate-400 font-medium",children:"E-Mail"}),p.jsx("th",{"data-loc":"client/src/pages/AdminDashboard.tsx:246",className:"text-left px-4 py-3 text-slate-400 font-medium",children:"Rolle"}),p.jsx("th",{"data-loc":"client/src/pages/AdminDashboard.tsx:247",className:"text-left px-4 py-3 text-slate-400 font-medium",children:"Erstellt"}),p.jsx("th",{"data-loc":"client/src/pages/AdminDashboard.tsx:248",className:"text-left px-4 py-3 text-slate-400 font-medium",children:"Letzter Login"})]})}),p.jsx("tbody",{"data-loc":"client/src/pages/AdminDashboard.tsx:251",children:A?p.jsx("tr",{"data-loc":"client/src/pages/AdminDashboard.tsx:253",children:p.jsx("td",{"data-loc":"client/src/pages/AdminDashboard.tsx:253",colSpan:5,className:"px-4 py-8 text-center text-slate-500",children:"Lädt..."})}):N.length===0?p.jsx("tr",{"data-loc":"client/src/pages/AdminDashboard.tsx:255",children:p.jsx("td",{"data-loc":"client/src/pages/AdminDashboard.tsx:255",colSpan:5,className:"px-4 py-8 text-center text-slate-500",children:"Keine Nutzer gefunden"})}):N.map(V=>p.jsxs("tr",{"data-loc":"client/src/pages/AdminDashboard.tsx:258",className:"border-b border-white/5 hover:bg-white/5",children:[p.jsx("td",{"data-loc":"client/src/pages/AdminDashboard.tsx:259",className:"px-4 py-3 text-white",children:V.name||"–"}),p.jsx("td",{"data-loc":"client/src/pages/AdminDashboard.tsx:260",className:"px-4 py-3 text-slate-300",children:V.email||"–"}),p.jsx("td",{"data-loc":"client/src/pages/AdminDashboard.tsx:261",className:"px-4 py-3",children:p.jsx("span",{"data-loc":"client/src/pages/AdminDashboard.tsx:262",className:`text-xs px-2 py-0.5 rounded-full border ${V.role==="admin"?"bg-yellow-500/10 text-yellow-400 border-yellow-500/20":"bg-slate-500/10 text-slate-400 border-slate-500/20"}`,children:V.role})}),p.jsx("td",{"data-loc":"client/src/pages/AdminDashboard.tsx:270",className:"px-4 py-3 text-slate-400",children:V.createdAt?new Date(V.createdAt).toLocaleDateString("de-DE"):"–"}),p.jsx("td",{"data-loc":"client/src/pages/AdminDashboard.tsx:273",className:"px-4 py-3 text-slate-400",children:V.lastSignedIn?new Date(V.lastSignedIn).toLocaleDateString("de-DE"):"–"})]},V.id))})]})})})]}),n==="fragen"&&p.jsxs("div",{"data-loc":"client/src/pages/AdminDashboard.tsx:288",children:[p.jsxs("div",{"data-loc":"client/src/pages/AdminDashboard.tsx:290",className:"flex gap-2 mb-4",children:[p.jsxs("div",{"data-loc":"client/src/pages/AdminDashboard.tsx:291",className:"relative flex-1",children:[p.jsx(_b,{"data-loc":"client/src/pages/AdminDashboard.tsx:292",className:"absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-slate-500"}),p.jsx("input",{"data-loc":"client/src/pages/AdminDashboard.tsx:293",type:"text",placeholder:"Nach E-Mail filtern...",value:o,onChange:V=>u(V.target.value),onKeyDown:V=>{V.key==="Enter"&&(i(o),X())},className:"w-full pl-9 pr-4 py-2 bg-white/5 border border-white/10 rounded-xl text-white text-sm placeholder-slate-500 focus:outline-none focus:border-yellow-400/50"})]}),p.jsx(tt,{"data-loc":"client/src/pages/AdminDashboard.tsx:302",size:"sm",onClick:()=>{i(o),m(0),X()},className:"bg-yellow-400 hover:bg-yellow-300 text-[#0f172a] font-bold",children:"Filtern"}),a&&p.jsx(tt,{"data-loc":"client/src/pages/AdminDashboard.tsx:310",size:"sm",variant:"ghost",onClick:()=>{i(""),u(""),m(0)},className:"text-slate-400 hover:text-white",children:"Zurücksetzen"})]}),p.jsxs("div",{"data-loc":"client/src/pages/AdminDashboard.tsx:322",className:"flex items-center justify-between mb-3",children:[p.jsx("div",{"data-loc":"client/src/pages/AdminDashboard.tsx:323",className:"text-slate-400 text-sm",children:M?"Lädt...":`${P} Fragen insgesamt${a?` (gefiltert nach "${a}")`:""} – Seite ${g+1} von ${Math.max(1,Math.ceil(P/x))}`}),p.jsxs("div",{"data-loc":"client/src/pages/AdminDashboard.tsx:326",className:"flex gap-2",children:[p.jsx(tt,{"data-loc":"client/src/pages/AdminDashboard.tsx:327",size:"sm",variant:"ghost",disabled:g===0,onClick:()=>m(V=>
866Math.max(0,V-1)),className:"text-slate-400 hover:text-white disabled:opacity-30",children:"← Zurück"}),p.jsx(tt,{"data-loc":"client/src/pages/AdminDashboard.tsx:336",size:"sm",variant:"ghost",disabled:(g+1)*x>=P,onClick:()=>m(V=>V+1),className:"text-slate-400 hover:text-white disabled:opacity-30",children:"Weiter →"})]})]}),p.jsx("div",{"data-loc":"client/src/pages/AdminDashboard.tsx:349",className:"space-y-2",children:M?p.jsx("div",{"data-loc":"client/src/pages/AdminDashboard.tsx:351",className:"text-center py-8 text-slate-500",children:"Lädt..."}):G.length===0?p.jsxs("div",{"data-loc":"client/src/pages/AdminDashboard.tsx:353",className:"text-center py-8 text-slate-500",children:[p.jsx(CT,{"data-loc":"client/src/pages/AdminDashboard.tsx:354",className:"w-8 h-8 mx-auto mb-2 opacity-40"}),p.jsxs("p",{"data-loc":"client/src/pages/AdminDashboard.tsx:355",children:["Keine Fragen gefunden",a?` für "${a}"`:""]})]}):G.map(V=>p.jsxs("div",{"data-loc":"client/src/pages/AdminDashboard.tsx:359",className:"bg-white/5 border border-white/10 rounded-xl overflow-hidden",children:[p.jsxs("button",{"data-loc":"client/src/pages/AdminDashboard.tsx:363",className:"w-full flex items-start justify-between gap-3 px-4 py-3 text-left hover:bg-white/5 transition-all",onClick:()=>h(c===V.id?null:V.id),children:[p.jsxs("div",{"data-loc":"client/src/pages/AdminDashboard.tsx:367",className:"flex-1 min-w-0",children:[p.jsx("p",{"data-loc":"client/src/pages/AdminDashboard.tsx:368",className:"text-white text-sm line-clamp-2",children:V.inhalt}),p.jsxs("div",{"data-loc":"client/src/pages/AdminDashboard.tsx:369",className:"flex items-center gap-3 mt-1",children:[p.jsx("span",{"data-loc":"client/src/pages/AdminDashboard.tsx:370",className:"text-yellow-400/80 text-xs",children:V.email||V.userName||"Unbekannt"}),p.jsx("span",{"data-loc":"client/src/pages/AdminDashboard.tsx:371",className:"text-slate-500 text-xs",children:V.createdAt?new Date(V.createdAt).toLocaleDateString("de-DE",{day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit"}):"–"})]})]}),c===V.id?p.jsx(Y2,{"data-loc":"client/src/pages/AdminDashboard.tsx:377",className:"w-4 h-4 text-slate-400 flex-shrink-0 mt-0.5"}):p.jsx(fu,{"data-loc":"client/src/pages/AdminDashboard.tsx:378",className:"w-4 h-4 text-slate-400 flex-shrink-0 mt-0.5"})]}),c===V.id&&p.jsxs("div",{"data-loc":"client/src/pages/AdminDashboard.tsx:381",className:"px-4 pb-4 border-t border-white/5",children:[p.jsx("p",{"data-loc":"client/src/pages/AdminDashboard.tsx:382",className:"text-slate-200 text-sm mt-3 leading-relaxed whitespace-pre-wrap",children:V.inhalt}),p.jsxs("div",{"data-loc":"client/src/pages/AdminDashboard.tsx:383",className:"mt-3 pt-3 border-t border-white/5 flex items-center gap-4 text-xs text-slate-500",children:[p.jsxs("span",{"data-loc":"client/src/pages/AdminDashboard.tsx:384",children:["Von: ",p.jsx("span",{"data-loc":"client/src/pages/AdminDashboard.tsx:384",className:"text-slate-300",children:V.email||"–"})]}),p.jsxs("span",{"data-loc":"client/src/pages/AdminDashboard.tsx:385",children:["Name: ",p.jsx("span",{"data-loc":"client/src/pages/AdminDashboard.tsx:385",className:"text-slate-300",children:V.userName||"–"})]}),p.jsx("button",{"data-loc":"client/src/pages/AdminDashboard.tsx:386",onClick:()=>{u(V.email||""),i(V.email||"")},className:"text-yellow-400/70 hover:text-yellow-400 transition-colors",children:"Alle Fragen dieser Person anzeigen →"})]})]})]},V.id))})]}),n==="events"&&p.jsxs("div",{"data-loc":"client/src/pages/AdminDashboard.tsx:404",children:[p.jsx("div",{"data-loc":"client/src/pages/AdminDashboard.tsx:405",className:"flex justify-end mb-3",children:p.jsxs(tt,{"data-loc":"client/src/pages/AdminDashboard.tsx:406",size:"sm",variant:"outline",className:"border-white/20 text-slate-300 hover:bg-white/5",onClick:Z,children:[p.jsx(b6,{"data-loc":"client/src/pages/AdminDashboard.tsx:412",className:"w-4 h-4 mr-1"})," CSV Export"]})}),p.jsx("div",{"data-loc":"client/src/pages/AdminDashboard.tsx:415",className:"bg-white/5 border border-white/10 rounded-xl overflow-hidden",children:p.jsx("div",{"data-loc":"client/src/pages/AdminDashboard.tsx:416",className:"overflow-x-auto",children:p.jsxs("table",{"data-loc":"client/src/pages/AdminDashboard.tsx:417",className:"w-full text-sm",children:[p.jsx("thead",{"data-loc":"client/src/pages/AdminDashboard.tsx:418",children:p.jsxs("tr",{"data-loc":"client/src/pages/AdminDashboard.tsx:419",className:"border-b border-white/10",children:[p.jsx("th",{"data-loc":"client/src/pages/AdminDashboard.tsx:420",className:"text-left px-4 py-3 text-slate-400 font-medium",children:"Typ"}),p.jsx("th",{"data-loc":"client/src/pages/AdminDashboard.tsx:421",className:"text-left px-4 py-3 text-slate-400 font-medium",children:"Branche"}),p.jsx("th",{"data-loc":"client/src/pages/AdminDashboard.tsx:422",className:"text-left px-4 py-3 text-slate-400 font-medium",children:"Ziel"}),p.jsx("th",{"data-loc":"client/src/pages/AdminDashboard.tsx:423",className:"text-left px-4 py-3 text-slate-400 font-medium",children:"Hook-Typ"}),p.jsx("th",{"data-loc":"client/src/pages/AdminDashboard.tsx:424",className:"text-left px-4 py-3 text-slate-400 font-medium",children:"Datum"})]})}),p.jsx("tbody",{"data-loc":"client/src/pages/AdminDashboard.tsx:427",children:E?p.jsx("tr",{"data-loc":"client/src/pages/AdminDashboard.tsx:429",children:p.jsx("td",{"data-loc":"client/src/pages/AdminDashboard.tsx:429",colSpan:5,className:"px-4 py-8 text-center text-slate-500",children:"Lädt..."})}):y?.recentEvents?.length?y.recentEvents.map((V,U)=>p.jsxs("tr",{"data-loc":"client/src/pages/AdminDashboard.tsx:434",className:"border-b border-white/5 hover:bg-white/5",children:[p.jsx("td",{"data-loc":"client/src/pages/AdminDashboard.tsx:435",className:"px-4 py-3",children:p.jsx("span",{"data-loc":"client/src/pages/AdminDashboard.tsx:436",className:`text-xs px-2 py-0.5 rounded-full border ${V.eventType==="generation"?"bg-yellow-500/10 text-yellow-400 border-yellow-500/20":"bg-green-500/10 text-green-400 border-green-500/20"}`,children:V.eventType})}),p.jsx("td",{"data-loc":"client/src/pages/AdminDashboard.tsx:444",className:"px-4 py-3 text-slate-300 capitalize",children:V.branche||"–"}),p.jsx("td",{"data-loc":"client/src/pages/AdminDashboard.tsx:445",className:"px-4 py-3 text-slate-300 capitalize",children:V.ziel||"–"}),p.jsx("td",{"data-loc":"client/src/pages/AdminDashboard.tsx:446",className:"px-4 py-3 text-slate-300 capitalize",children:V.hookTyp||"–"}),p.jsx("td",{"data-loc":"client/src/pages/AdminDashboard.tsx:447",className:"px-4 py-3 text-slate-400",children:p.jsxs("div",{"data-loc":"client/src/pages/AdminDashboard.tsx:448",className:"flex items-center gap-1",children:[p.jsx(ZP,{"data-loc":"client/src/pages/AdminDashboard.tsx:449",className:"w-3 h-3"}),V.createdAt?new Date(V.createdAt).toLocaleDateString("de-DE"):"–"]})})]},U)):p.jsx("tr",{"data-loc":"client/src/pages/AdminDashboard.tsx:431",children:p.jsx("td",{"data-loc":"client/src/pages/AdminDashboard.tsx:431",colSpan:5,className:"px-4 py-8 text-center text-slate-500",children:"Noch keine Aktivitäten"})})})]})})})]})]})}function qne(){const[e,t]=R.useState(null),[,n]=Ws(),r=[{id:"what-is-hook",title:"Was ist ein Hook?",icon:p.jsx(Vn,{"data-loc":"client/src/pages/HelpPage.tsx:26",className:"w-5 h-5"}),content:p.jsxs("div",{"data-loc":"client/src/pages/HelpPage.tsx:28",className:"space-y-4",children:[p.jsxs("p",{"data-loc":"client/src/pages/HelpPage.tsx:29",children:["Ein Hook ist der ",p.jsx("strong",{"data-loc":"client/src/pages/HelpPage.tsx:30",children:"erste Satz"})," deines Videos – die erste Sekunde, die Leute zum Stehen bringt."]}),p.jsxs("p",{"data-loc":"client/src/pages/HelpPage.tsx:32",children:["Stell dir vor: Du scrollst durch Instagram. Hunderte Videos fliegen vorbei. Dein Daumen bewegt sich automatisch weiter – bis plötzlich ",p.jsx("strong",{"data-loc":"client/src/pages/HelpPage.tsx:33",children:"ein Video dich stoppt"}),". Das erste, das du siehst oder hörst, ist der Hook."]}),p.jsxs("div",{"data-loc":"client/src/pages/HelpPage.tsx:35",className:"bg-blue-900/30 border border-blue-700 rounded p-4",children:[p.jsx("p",{"data-loc":"client/src/pages/HelpPage.tsx:36",className:"font-semibold mb-2",children:"Beispiel:"}),p.jsx("p",{"data-loc":"client/src/pages/HelpPage.tsx:37",className:"text-sm",children:'Hook: „Kennst du das Gefühl, wenn Handwerker im Haus waren und du danach drei Tage putzen musst?"'}),p.jsx("p",{"data-loc":"client/src/pages/HelpPage.tsx:40",className:"text-sm mt-2",children:'Zuschauer denkt: „Ja! Genau! Das ist mein Problem!" → Schaut weiter'})]}),p.jsxs("p",{"data-loc":"client/src/pages/HelpPage.tsx:44",className:"text-sm text-gray-400",children:[p.jsx("strong",{"data-loc":"client/src/pages/HelpPage.tsx:45",children:"Ohne Hook:"})," Zuschauer scrollt vorbei, bevor er überhaupt merkt, dass das Video interessant ist."]})]})},{id:"why-hook",title:"Warum brauche ich einen guten Hook?",icon:p.jsx(x6,{"data-loc":"client/src/pages/HelpPage.tsx:54",className:"w-5 h-5"}),content:p.jsxs("div",{"data-loc":"client/src/pages/HelpPage.tsx:56",className:"space-y-4",children:[p.jsxs("p",{"data-loc":"client/src/pages/HelpPage.tsx:57",children:["Weil ",p.jsx("strong",{"data-loc":"client/src/pages/HelpPage.tsx:58",children:"ohne Hook funktioniert dein Video nicht"}),". Punkt."]}),p.jsx("p",{"data-loc":"client/src/pages/HelpPage.tsx:60",children:"Selbst wenn dein Video super interessant ist – wenn die erste Sekunde langweilig ist, sieht es niemand."}),p.jsxs("div",{"data-loc":"client/src/pages/HelpPage.tsx:63",className:"bg-green-900/30 border border-green-700 rounded p-4 space-y-2",children:[p.jsx("p",{"data-loc":"client/src/pages/HelpPage.tsx:64",className:"font-semibold",children:"Mit einem guten Hook:"}),p.jsxs("ul",{"data-loc":"client/src/pages/HelpPage.tsx:65",className:"text-sm space-y-1",children:[p.jsx("li",{"data-loc":"client/src/pages/HelpPage.tsx:66",children:"✅ Leute bleiben stehen und schauen dein Video"}),p.jsx("li",{"data-loc":"client/src/pages/HelpPage.tsx:67",children:"✅ Mehr Leute sehen dein Video (Algorithmus mag Videos, die Leute anschauen)"}),p.jsx("li",{"data-loc":"client/src/pages/HelpPage.tsx:68",children:"✅ Die richtigen Leute sehen dein Video (deine Zielgruppe, nicht irgendwer)"}),p.jsx("li",{"data-loc":"client/src/pages/HelpPage.tsx:69",children:"✅ Leute schreiben dir Nachrichten"}),p.jsx("li",{"data-loc":"client/src/pages/HelpPage.tsx:70",children:"✅ Du bekommst Anfragen und neue Kunden"})]})]})]})},{id:"how-generator",title:"Wie funktioniert der Hook-Generator?",icon:p.jsx(Vn,{"data-loc":"client/src/pages/HelpPage.tsx:80",className:"w-5 h-5"}),content:p.jsxs("div",{"data-loc":"client/src/pages/HelpPage.tsx:82",className:"space-y-4",children:[p.jsx("p",{"data-loc":"client/src/pages/HelpPage.tsx:83",children:"Der Hook-Generator funktioniert in 5 Schritten:"}),p.jsxs("div",{"data-loc":"client/src/pages/HelpPage.tsx:84",className:"space-y-3",children:[p.jsxs("div",{"data-loc":"client/src/pages/HelpPage.tsx:85",className:"bg-slate-800 rounded p-3",children:[p.jsx("p",{"data-loc":"client/src/pages/HelpPage.tsx:86",className:"font-semibold text-yellow-400",children:"Schritt 1: Dein Profil"}),p.jsx("p",{"data-loc":"client/src/pages/HelpPage.tsx:87",className:"text-sm",children:"Du füllst dein Unternehmensprofil aus (Branche, Zielgruppe, Dienstleistung)."})]}),p.jsxs("div",{"data-loc":"client/src/pages/HelpPage.tsx:89",className:"bg-slate-800 rounded p-3",children:[p.jsx("p",{"data-loc":"client/src/pages/HelpPage.tsx:90",className:"font-semibold text-yellow-400",children:"Schritt 2: KI-Zusammenfassung"}),p.jsx("p",{"data-loc":"client/src/pages/HelpPage.tsx:91",className:"text-sm",children:"Der Generator schreibt eine kurze Zusammenfassung deines Unternehmens."})]}),p.jsxs("div",{"data-loc":"client/src/pages/HelpPage.tsx:93",className:"bg-slate-800 rounded p-3",children:[p.jsx("p",{"data-loc":"client/src/pages/HelpPage.tsx:94",className:"font-semibold text-yellow-400",children:"Schritt 3: Deine aktuelle Aufgabe"}),p.jsx("p",{"data-loc":"client/src/pages/HelpPage.tsx:95",className:"text-sm",children:"Du gibst ein: Ziel (Kunden/Mitarbeiter), Hook-Typ, Reel-Idee."})]}),p.jsxs("div",{"data-loc":"client/src/pages/HelpPage.tsx:97",className:"bg-slate-800 rounded p-3",children:[p.jsx("p",{"data-loc":"client/src/pages/HelpPage.tsx:98",className:"font-semibold text-yellow-400",children:"Schritt 4: KI generiert 3 Hooks"}),p.jsx("p",{"data-loc":"client/src/pages/HelpPage.tsx:99",className:"text-sm",children:"Der Generator schreibt 3 komplett verschiedene Hooks."})]}),p.jsxs("div",{"data-loc":"client/src/pages/HelpPage.tsx:101",className:"bg-slate-800 rounded p-3",children:[p.jsx("p",{"data-loc":"client/src/pages/HelpPage.tsx:102",className:"font-semibold text-yellow-400",children:"Schritt 5: Du nutzt den Hook"}),p.jsx("p",{"data-loc":"client/src/pages/HelpPage.tsx:103",className:"text-sm",children:"Du kopierst einen Hook und nutzt ihn für dein Video."})]})]}),p.jsxs("p",{"data-loc":"client/src/pages/HelpPage.tsx:106",className:"text-sm text-gray-400",children:[p.jsx("strong",{"data-loc":"client/src/pages/HelpPage.tsx:107",children:"Das Wichtigste:"})," Der Generator kennt dein Unternehmen. Das ist die Basis für gute Hooks."]})]})},{id:"hook-types",title:"Die 3 Hook-Typen",icon:p.jsx(a0,{"data-loc":"client/src/pages/HelpPage.tsx:116",className:"w-5 h-5"}),content:p.jsxs("div",{"data-loc":"client/src/pages/HelpPage.tsx:118",className:"space-y-4",children:[p.jsxs("div",{"data-loc":"client/src/pages/HelpPage.tsx:119",className:"bg-purple-900/30 border border-purple-700 rounded p-4",children:[p.jsx("p",{"data-loc":"client/src/pages/HelpPage.tsx:120",className:"font-semibold text-purple-300 mb-2",children:'1. Emotions-Hook – „Kennst du das Gefühl...?"'}),p.jsx("p",{"data-loc":"client/src/pages/HelpPage.tsx:121",className:"text-sm mb-2",children:"Spricht ein Gefühl an, das deine Zielgruppe kennt."}),p.jsxs("p",{"data-loc":"client/src/pages/HelpPage.tsx:122",className:"text-sm",children:[p.jsx("strong",{"data-loc":"client/src/pages/HelpPage.tsx:123",children:"Nutze ihn:"})," Wenn du neue Kunden gewinnen willst und zeigen willst, dass du ihr Problem verstehst."]}),p.jsx("p",{"data-loc":"client/src/pages/HelpPage.tsx:125",className:"text-sm mt-2 italic",children:'Beispiel: „Kennst du das, wenn Handwerker im Haus waren und du danach drei Tage putzen musst?"'})]}),p.jsxs("div",{"data-loc":"client/src/pages/HelpPage.tsx:130",className:"bg-orange-900/30 border border-orange-700 rounded p-4",children:[p.jsx("p",{"data-loc":"client/src/pages/HelpPage.tsx:131",className:"font-semibold text-orange-300 mb-2",children:'2. Statement-Hook – „Das stimmt nicht, wie du denkst..."'}),p.jsx("p",{"data-loc":"client/src/pages/HelpPage.tsx:132",className:"text-sm mb-2",children:"Eine provokative Aussage, die überraschend ist."}),p.jsxs("p",{"data-loc":"client/src/pages/HelpPage.tsx:133",className:"text-sm",children:[p.jsx("strong",{"data-loc":"client/src/pages/HelpPage.tsx:134",children:"Nutze ihn:"})," Wenn du als Experte positioniert werden willst und neue Kunden gewinnen willst."]}),p.jsx("p",{"data-loc":"client/src/pages/HelpPage.tsx:136",className:"text-sm mt-2 italic",children:'Beispiel: „Wer beim Bodenbelag spart, zahlt am Ende dreimal."'})]}),p.jsxs("div",{"data-loc":"client/src/pages/HelpPage.tsx:141",className:"bg-cyan-900/30 border border-cyan-700 rounded p-4",children:[p.jsx("p",{"data-loc":"client/src/pages/HelpPage.tsx:142",className:"font-semibold text-cyan-300 mb-2",children:'3. Indirekter Hook – „Wer von euch hat auch...?"'}),p.jsx("p",{"data-loc":"client/src/pages/HelpPage.tsx:143",className:"text-sm mb-2",children:"Zeigt einen echten Alltagsmoment, klingt wie echtes Gespräch."}),p.jsxs("p",{"data-loc":"client/src/pages/HelpPage.tsx:144",className:"text-sm",children:[p.jsx("strong",{"data-loc":"client/src/pages/HelpPage.tsx:145",children:"Nutze ihn:"})," Wenn du neue Mitarbeiter finden willst und authentisch wirken willst."]}),p.jsx("p",{"data-loc":"client/src/pages/HelpPage.tsx:147",className:"text-sm mt-2 italic",children:'Beispiel: „Wer von euch hat auch keine Lust mehr, jeden zweiten Sonntag spontan einzuspringen?"'})]})]})},{id:"daily-usage",title:"Wie nutze ich den Generator im Alltag?",icon:p.jsx(Vn,{"data-loc":"cli
866ent/src/pages/HelpPage.tsx:158",className:"w-5 h-5"}),content:p.jsxs("div",{"data-loc":"client/src/pages/HelpPage.tsx:160",className:"space-y-4",children:[p.jsxs("div",{"data-loc":"client/src/pages/HelpPage.tsx:161",className:"bg-slate-800 rounded p-4",children:[p.jsx("p",{"data-loc":"client/src/pages/HelpPage.tsx:162",className:"font-semibold mb-3",children:"Szenario 1: Du willst neue Kunden gewinnen"}),p.jsxs("ol",{"data-loc":"client/src/pages/HelpPage.tsx:163",className:"text-sm space-y-2 list-decimal list-inside",children:[p.jsx("li",{"data-loc":"client/src/pages/HelpPage.tsx:164",children:"Öffne den Hook-Generator"}),p.jsx("li",{"data-loc":"client/src/pages/HelpPage.tsx:165",children:'Wähle: „Ziel: Kunden gewinnen"'}),p.jsx("li",{"data-loc":"client/src/pages/HelpPage.tsx:166",children:'Wähle: „Hook-Typ: Emotions-Hook"'}),p.jsx("li",{"data-loc":"client/src/pages/HelpPage.tsx:167",children:'Gib ein: „Reel-Idee: Vorher-Nachher-Aufnahme"'}),p.jsx("li",{"data-loc":"client/src/pages/HelpPage.tsx:168",children:"Generator schreibt 3 Hooks"}),p.jsx("li",{"data-loc":"client/src/pages/HelpPage.tsx:169",children:"Suchst dir den besten aus"}),p.jsx("li",{"data-loc":"client/src/pages/HelpPage.tsx:170",children:"Drehst dein Video mit diesem Hook am Anfang"})]})]}),p.jsxs("div",{"data-loc":"client/src/pages/HelpPage.tsx:174",className:"bg-slate-800 rounded p-4",children:[p.jsx("p",{"data-loc":"client/src/pages/HelpPage.tsx:175",className:"font-semibold mb-3",children:"Szenario 2: Du willst neue Mitarbeiter finden"}),p.jsxs("ol",{"data-loc":"client/src/pages/HelpPage.tsx:176",className:"text-sm space-y-2 list-decimal list-inside",children:[p.jsx("li",{"data-loc":"client/src/pages/HelpPage.tsx:177",children:"Öffne den Hook-Generator"}),p.jsx("li",{"data-loc":"client/src/pages/HelpPage.tsx:178",children:'Wähle: „Ziel: Mitarbeiter finden"'}),p.jsx("li",{"data-loc":"client/src/pages/HelpPage.tsx:179",children:'Wähle: „Hook-Typ: Indirekter Hook"'}),p.jsx("li",{"data-loc":"client/src/pages/HelpPage.tsx:180",children:'Gib ein: „Reel-Idee: Mein Alltag im Unternehmen"'}),p.jsx("li",{"data-loc":"client/src/pages/HelpPage.tsx:181",children:"Generator schreibt 3 Hooks"}),p.jsx("li",{"data-loc":"client/src/pages/HelpPage.tsx:182",children:"Suchst dir den besten aus"}),p.jsx("li",{"data-loc":"client/src/pages/HelpPage.tsx:183",children:"Drehst dein Video"})]})]}),p.jsxs("p",{"data-loc":"client/src/pages/HelpPage.tsx:187",className:"text-sm text-gray-400",children:[p.jsx("strong",{"data-loc":"client/src/pages/HelpPage.tsx:188",children:"Das Wichtigste:"})," Nutze den Generator jede Woche 1–2x. Dann hast du regelmäßig neue Hooks und neue Videos."]})]})},{id:"tips",title:"Die 5 wichtigsten Tipps",icon:p.jsx(x6,{"data-loc":"client/src/pages/HelpPage.tsx:197",className:"w-5 h-5"}),content:p.jsxs("div",{"data-loc":"client/src/pages/HelpPage.tsx:199",className:"space-y-3",children:[p.jsxs("div",{"data-loc":"client/src/pages/HelpPage.tsx:200",className:"bg-slate-800 rounded p-3",children:[p.jsx("p",{"data-loc":"client/src/pages/HelpPage.tsx:201",className:"font-semibold text-yellow-400 mb-1",children:"Tipp 1: Sei spitz, nicht breit"}),p.jsxs("p",{"data-loc":"client/src/pages/HelpPage.tsx:202",className:"text-sm",children:[p.jsx("strong",{"data-loc":"client/src/pages/HelpPage.tsx:203",children:"Falsch:"}),' „Schau dir mein Video an"',p.jsx("br",{"data-loc":"client/src/pages/HelpPage.tsx:203"}),p.jsx("strong",{"data-loc":"client/src/pages/HelpPage.tsx:204",children:"Richtig:"}),' „Kennst du das Gefühl, wenn..."']})]}),p.jsxs("div",{"data-loc":"client/src/pages/HelpPage.tsx:208",className:"bg-slate-800 rounded p-3",children:[p.jsx("p",{"data-loc":"client/src/pages/HelpPage.tsx:209",className:"font-semibold text-yellow-400 mb-1",children:"Tipp 2: Sei kurz"}),p.jsx("p",{"data-loc":"client/src/pages/HelpPage.tsx:210",className:"text-sm",children:"Ein Hook ist nicht länger als 1–2 Sätze."})]}),p.jsxs("div",{"data-loc":"client/src/pages/HelpPage.tsx:213",className:"bg-slate-800 rounded p-3",children:[p.jsx("p",{"data-loc":"client/src/pages/HelpPage.tsx:214",className:"font-semibold text-yellow-400 mb-1",children:"Tipp 3: Sei echt"}),p.jsx("p",{"data-loc":"client/src/pages/HelpPage.tsx:215",className:"text-sm",children:"Kein Marketing-Sprech. Klingt wie ein echtes Gespräch, nicht wie eine Anzeige."})]}),p.jsxs("div",{"data-loc":"client/src/pages/HelpPage.tsx:218",className:"bg-slate-800 rounded p-3",children:[p.jsx("p",{"data-loc":"client/src/pages/HelpPage.tsx:219",className:"font-semibold text-yellow-400 mb-1",children:"Tipp 4: Sprich ein Problem an"}),p.jsxs("p",{"data-loc":"client/src/pages/HelpPage.tsx:220",className:"text-sm",children:[p.jsx("strong",{"data-loc":"client/src/pages/HelpPage.tsx:221",children:"Falsch:"}),' „Wir machen dein Haus schön"',p.jsx("br",{"data-loc":"client/src/pages/HelpPage.tsx:221"}),p.jsx("strong",{"data-loc":"client/src/pages/HelpPage.tsx:222",children:"Richtig:"}),' „Kennst du das, wenn Handwerker im Haus waren..."']}
866)]}),p.jsxs("div",{"data-loc":"client/src/pages/HelpPage.tsx:226",className:"bg-slate-800 rounded p-3",children:[p.jsx("p",{"data-loc":"client/src/pages/HelpPage.tsx:227",className:"font-semibold text-yellow-400 mb-1",children:"Tipp 5: Nutze die Bibliothek"}),p.jsx("p",{"data-loc":"client/src/pages/HelpPage.tsx:228",className:"text-sm",children:"Schau dir die 30 Beispiele an. Lerne von ihnen. Nutze sie als Inspiration."})]})]})},{id:"faq",title:"Häufige Fragen",icon:p.jsx(Q2,{"data-loc":"client/src/pages/HelpPage.tsx:237",className:"w-5 h-5"}),content:p.jsxs("div",{"data-loc":"client/src/pages/HelpPage.tsx:239",className:"space-y-3",children:[p.jsxs("div",{"data-loc":"client/src/pages/HelpPage.tsx:240",className:"bg-slate-800 rounded p-3",children:[p.jsx("p",{"data-loc":"client/src/pages/HelpPage.tsx:241",className:"font-semibold mb-1",children:"F: Muss ich den Hook exakt so sprechen?"}),p.jsxs("p",{"data-loc":"client/src/pages/HelpPage.tsx:242",className:"text-sm",children:[p.jsx("strong",{"data-loc":"client/src/pages/HelpPage.tsx:243",children:"A:"}
866)," Nein! Der Generator schreibt einen Vorschlag. Du kannst ihn anpassen, wenn du möchtest. Wichtig ist nur, dass die Grundidee bleibt."]})]}),p.jsxs("div",{"data-loc":"client/src/pages/HelpPage.tsx:247",className:"bg-slate-800 rounded p-3",children:[p.jsx("p",{"data-loc":"client/src/pages/HelpPage.tsx:248",className:"font-semibold mb-1",children:"F: Wie lange dauert es, bis ich Ergebnisse sehe?"}),p.jsxs("p",{"data-loc":"client/src/pages/HelpPage.tsx:249",className:"text-sm",children:[p.jsx("strong",{"data-loc":"client/src/pages/HelpPage.tsx:250",children:"A:"})," Das hängt davon ab, wie oft du Videos postest. Wenn du 1x pro Woche einen guten Hook nutzt, solltest du nach 3–4 Wochen erste Ergebnisse sehen."]})]}),p.jsxs("div",{"data-loc":"client/src/pages/HelpPage.tsx:254",className:"bg-slate-800 rounded p-3",children:[p.jsx("p",{"data-loc":"client/src/pages/HelpPage.tsx:255",className:"font-semibold mb-1",children:"F: Kann ich den Hook auch für andere Plattformen nutzen?"}),p.jsxs("p",{"data-loc":"client/src/pages/HelpPage.tsx:256",className:"text-sm",children:[p.jsx("strong",{"data-loc":"client/src/pages/HelpPage.tsx:257",children:"A:"})," Ja! Der Hook funktioniert auf Instagram, TikTok, YouTube Shorts und LinkedIn."]})]}),p.jsxs("div",{"data-loc":"client/src/pages/HelpPage.tsx:261",className:"bg-slate-800 rounded p-3",children:[p.jsx("p",{"data-loc":"client/src/pages/HelpPage.tsx:262",className:"font-semibold mb-1",children:"F: Was ist, wenn mir die generierten Hooks nicht gefallen?"}),p.jsxs("p",{"data-loc":"client/src/pages/HelpPage.tsx:263",className:"text-sm",children:[p.jsx("strong",{"data-loc":"client/src/pages/HelpPage.tsx:264",children:"A:"})," Du kannst einen anderen Hook-Typ probieren, deine Zielgruppe präzisieren oder die Bibliothek als Inspiration nutzen."]})]}),p.jsxs("div",{"data-loc":"client/src/pages/HelpPage.tsx:268",className:"bg-slate-800 rounded p-3",children:[p.jsx("p",{"data-loc":"client/src/pages/HelpPage.tsx:269",className:"font-semibold mb-1",children:"F: Brauche ich Erfahrung mit Social Media?"}),p.jsxs("p",{"data-loc":"client/src/pages/HelpPage.tsx:270",className:"text-sm",children:[p.jsx("strong",{"data-loc":"client/src/pages/HelpPage.tsx:271",children:"A:"})," Nein! Der Hook-Generator ist genau für Anfänger gemacht. Du brauchst nur zu wissen: Ich habe ein Unternehmen. Ich will neue Kunden. Der Rest macht der Generator."]})]})]})},{id:"library",title:"Die Bibliothek",icon:p.jsx(a0,{"data-loc":"client/src/pages/HelpPage.tsx:281",className:"w-5 h-5"}),content:p.jsxs("div",{"data-loc":"client/src/pages/HelpPage.tsx:283",className:"space-y-4",children:[p.jsxs("p",{"data-loc":"client/src/pages/HelpPage.tsx:284",children:["Die Bibliothek ist dein ",p.jsx("strong",{"data-loc":"client/src/pages/HelpPage.tsx:284",children:"Lernbereich und deine Sammlung"}),"."]}),p.jsxs("div",{"data-loc":"client/src/pages/HelpPage.tsx:286",className:"bg-slate-800 rounded p-4",children:[p.jsx("p",{"data-loc":"client/src/pages/HelpPage.tsx:287",className:"font-semibold mb-2",children:"Teil 1: Meine Hooks"}),p.jsx("p",{"data-loc":"client/src/pages/HelpPage.tsx:288",className:"text-sm mb-2",children:"Hier findest du alle Hooks, die du selbst generiert oder gespeichert hast."}),p.jsx("p",{"data-loc":"client/src/pages/HelpPage.tsx:289",className:"text-sm",children:"Du kannst:"}),p.jsxs("ul",{"data-loc":"client/src/pages/HelpPage.tsx:290",className:"text-sm list-disc list-inside mt-1 space-y-1",children:[p.jsx("li",{"data-loc":"client/src/pages/HelpPage.tsx:291",children:"Sie sortieren (nach Hook-Typ, Ziel, Branche)"}),p.jsx("li",{"data-loc":"client/src/pages/HelpPage.tsx:292",children:"Sie durchsuchen"}),p.jsx("li",{"data-loc":"client/src/pages/HelpPage.tsx:293",children:"Mit Notizen versehen"}),p.jsx("li",{"data-loc":"client/src/pages/HelpPage.tsx:294",children:"Mit Favoriten markieren"}),p.jsx("li",{"data-loc":"client/src/pages/HelpPage.tsx:295",children:"Bewerten (Daumen hoch/runter)"})]})]}),p.jsxs("div",{"data-loc":"client/src/pages/HelpPage.tsx:299",className:"bg-slate-800 rounded p-4",children:[p.jsx("p",{"data-loc":"client/src/pages/HelpPage.tsx:300",className:"font-semibold mb-2",children:"Teil 2: 30 Praxisbeispiele"}),p.jsx("p",{"data-loc":"client/src/pages/HelpPage.tsx:301",className:"text-sm mb-2",children:"Hier findest du 30 e
866chte Hooks, die funktionieren."}),p.jsx("p",{"data-loc":"client/src/pages/HelpPage.tsx:302",className:"text-sm",children:"Du kannst:"}),p.jsxs("ul",{"data-loc":"client/src/pages/HelpPage.tsx:303",className:"text-sm list-disc list-inside mt-1 space-y-1",children:[p.jsx("li",{"data-loc":"client/src/pages/HelpPage.tsx:304",children:"Sie studieren und lernen"}),p.jsx("li",{"data-loc":"client/src/pages/HelpPage.tsx:305",children:"Sie in deine Sammlung übernehmen"}),p.jsx("li",{"data-loc":"client/src/pages/HelpPage.tsx:306",children:"Sie als Inspiration nutzen"})]})]})]})},{id:"assistant",title:"Der KI-Assistent",icon:p.jsx(Vn,{"data-loc":"client/src/pages/HelpPage.tsx:316",className:"w-5 h-5"}),content:p.jsxs("div",{"data-loc":"client/src/pages/HelpPage.tsx:318",className:"space-y-4",children:[p.jsxs("p",{"data-loc":"client/src/pages/HelpPage.tsx:319",children:["Der KI-Assistent ist wie ein ",p.jsx("strong",{"data-loc":"client/src/pages/HelpPage.tsx:320",children:"persönlicher Trainer"}),", der dir Fragen beantwortet."]}),p.jsxs("div",{"data-loc":"client/src/pages/HelpPage.tsx:323",className:"bg-slate-800 rounded p-4",children:[p.jsx("p",{"data-loc":"client/src/pages/HelpPage.tsx:324",className:"font-semibold mb-2",children:"Beispiele für Fragen, die du stellen kannst:"}),p.jsxs("ul",{"data-loc":"client/src/pages/HelpPage.tsx:325",className:"text-sm space-y-1 list-disc list-inside",children:[p.jsx("li",{"data-loc":"client/src/pages/HelpPage.tsx:326",children:'„Welcher Hook-Typ passt am besten für meinen Malerbetrieb?"'}),p.jsx("li",{"data-loc":"client/src/pages/HelpPage.tsx:327",children:'„Wie schreibe ich einen Hook, der wirklich funktioniert?"'}),p.jsx("li",{"data-loc":"client/src/pages/HelpPage.tsx:328",children:'„Mein Hook funktioniert nicht – warum?"'}),p.jsx("li",{"data-loc":"client/src/pages/HelpPage.tsx:329",children:'„Wie unterscheidet sich ein Emotions-Hook von einem Statement-Hook?"'}),p.jsx("li",{"data-loc":"client/src/pages/HelpPage.tsx:330",children:'„Kann ich den Hook auch auf LinkedIn nutzen?"'})]})]}),p.jsx("p",{"data-loc":"client/src/pages/HelpPage.tsx:334",className:"text-sm text-gray-400",children:"Der Assistent antwortet dir persönlich und erklärt dir alles, was du wissen musst."}),p.jsx(tt,{"data-loc":"client/src/pages/HelpPage.tsx:338",onClick:()=>n("/app/assistent"),className:"w-full bg-yellow-500 hover:bg-yellow-600 text-black font-semibold",children:"Zum Assistenten"})]})}],a=i=>{t(e===i?null:i)};return p.jsx("div",{"data-loc":"client/src/pages/HelpPage.tsx:354",className:"min-h-screen bg-gradient-to-br from-[#0f172a] to-[#1a1f3a] p-4 md:p-8",children:p.jsxs("div",{"data-loc":"client/src/pages/HelpPage.tsx:355",className:"max-w-3xl mx-auto",children:[p.jsxs("div",{"data-loc":"client/src/pages/HelpPage.tsx:357",className:"mb-6 md:mb-8",children:[p.jsx("h1",{"data-loc":"client/src/pages/HelpPage.tsx:358",className:"text-xl md:text-2xl font-bold text-white mb-2",style:{fontFamily:"'DM Sans', sans-serif"},children:"Hook-Generator: Vollständige Erklärung"}),p.jsx("p",{"data-loc":"client/src/pages/HelpPage.tsx:361",className:"text-sm md:text-base text-gray-400",children:"Alles, was du wissen musst, um gute Hooks zu schreiben und dein Unternehmen auf Social Media zu wachsen."})]}),p.jsx("div",{"data-loc":"client/src/pages/HelpPage.tsx:367",className:"space-y-3 md:space-y-4",children:r.map(i=>p.jsxs("div",{"data-loc":"client/src/pages/HelpPage.tsx:369",className:"bg-slate-800/50 border border-slate-700 rounded-lg overflow-hidden hover:border-yellow-500/50 transition-colors",children:[p.jsxs("button",{"data-loc":"client/src/pages/HelpPage.tsx:373",onClick:()=>a(i.id),className:"w-full px-4 md:px-6 py-3 md:py-4 flex items-center justify-between hover:bg-slate-700/50 transition-colors group",children:[p.jsxs("div",{"data-loc":"client/src/pages/HelpPage.tsx:377",className:"flex items-center gap-2 md:gap-3 min-w-0",children:[p.jsx("div",{"data-loc":"client/src/pages/HelpPage.tsx:378",className:"text-yellow-400 flex-shrink-0",children:i.icon}),p.jsx("h2",{"data-loc":"client/src/pages/HelpPage.tsx:379",className:"text-base md:text-lg font-semibold text-white text-left break-words",children:i.title})]}),e===i.id?p.jsx(Y2,{"data-loc":"client/src/pages/HelpPage.tsx:382",className:"w-5 h-5 text-gray-400 flex-shrink-0"}):p.jsx(fu,{"data-loc":"client/src/pages/HelpPage.tsx:384",className:"w-5 h-5 text-gray-400 flex-shrink-0"})]}),e===i.id&&p.jsx("div",{"data-loc":"client/src/pages/HelpPage.tsx:389",className:"px-4 md:px-6 py-3 md:py-4 border-t border-slate-700 bg-slate-900/30 text-gray-300 text-sm md:text-base",children:i.content})]},i.id))}),p.jsxs("div",{"data-loc":"client/src/pages/HelpPage.tsx:398",className:"mt-8 md:mt-12 bg-gradient-to-r from-yellow-500/20 to-orange-500/20 border border-yellow-500/50 rounded-lg p-4 md:p-6",children:[p.jsx("h3",{"data-loc":"client/src/pages/HelpPage.tsx:399",className:"text-lg md:text-xl font-bold text-yellow-400 mb-3 md:mb-4",children:"Zusammenfassung: Das Wichtigste in 30 Sekunden"}),p.jsxs("ul",{"data-loc":"client/src/pages/HelpPage.tsx:400",className:"space-y-2 text-xs md:text-sm text-gray-300",children:[p.jsxs("li",{"data-loc":"client/src/pages/HelpPage.tsx:401",children:[p.jsx("strong",{"data-loc":"client/src/pages/HelpPage.tsx:402",className:"text-yellow-400",children:"Hook"})," = Der erste Satz deines Videos, der Leute stoppt"]}),p.jsxs("li",{"data-loc":"client/src/pages/HelpPage.tsx:404",children:[p.jsx("strong",{"data-loc":"client/src/pages/HelpPage.tsx:405",className:"text-yellow-400",children:"Hook-Generator"})," = Ein Tool, das dir gute Hooks schreibt"]}),p.jsxs("li",{"data-loc":"client/src/pages/HelpPage.tsx:407",children:[p.jsx("strong",{"data-loc":"client/src/pages/HelpPage.tsx:408",className:"text-yellow-400",children:"3 Hook-Typen"})," = Emotions-Hook, Statement-Hook, Indirekter Hook"]}),p.jsxs("li",{"data-loc":"client/src/pages/HelpPage.tsx:410",children:[p.jsx("strong",{"data-loc":"client/src/pages/HelpPage.tsx:411",className:"text-yellow-400",children:"Dein Profil"})," = Die Basis für gute Hooks"]}),p.jsxs("li",{"data-loc":"client/src/pages/HelpPage.tsx:413",children:[p.jsx("strong",{"data-loc":"client/src/pages/HelpPage.tsx:414",className:"text-yellow-400",children:"Bibliothek"})," = Deine Sammlung von Hooks + 30 Beispiele"]}),p.jsxs("li",{"data-loc":"client/src/pages/HelpPage.tsx:416",children:[p.jsx("strong",{"data-loc":"client/src/pages/HelpPage.tsx:417",className:"text-yellow-400",children:"KI-Assistent"})," = Dein persönlicher Trainer für Fragen"]})]}),p.jsxs("p",{"data-loc":"client/src/pages/HelpPage.tsx:420",className:"mt-3 md:mt-4 text-xs md:text-sm text-gray-400",children:[p.jsx("strong",{"data-loc":"client/src/pages/HelpPage.tsx:421",children:"Das Ergebnis:"}
866)," Du brauchst nicht mehr zu raten, wie dein Video anfangen soll. Der Generator weiß es. Und du bekommst mehr Anfragen, weil die richtigen Leute dein Video sehen."]})]}),p.jsxs("div",{"data-loc":"client/src/pages/HelpPage.tsx:426",className:"mt-6 md:mt-8 flex gap-2 md:gap-3 flex-col sm:flex-row",children:[p.jsx(tt,{"data-loc":"client/src/pages/HelpPage.tsx:427",onClick:()=>n("/app/generator"),className:"flex-1 bg-yellow-500 hover:bg-yellow-600 text-black font-semibold py-2.5 md:py-3 text-sm md:text-base",children:"Zum Hook-Generator"}),p.jsx(tt,{"data-loc":"client/src/pages/HelpPage.tsx:433",onClick:()=>n("/app/bibliothek"),variant:"outline",className:"flex-1 border-yellow-500 text-yellow-400 hover:bg-yellow-500/10 font-semibold py-2.5 md:py-3 text-sm md:text-base",children:"Zur Bibliothek"})]})]})})}function Gne(){const[e,t]=R.useState(""),[n,r]=R.useState(!1),[a,i]=R.useState(""),[o,u]=R.useState(!1),c=ct.auth.sendMagicLink.useMutation(),h=c.isPending,g=async m=>{if(m.preventDefault(),i(""),!e){i("Bitte gib deine Email-Adresse ein");return}try{await c.mutateAsync({email:e}),u(!0),r(!0),t("")}catch{i("Fehler beim Versenden des Magic Links. Bitte versuche es später erneut.")}};return p.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:36",className:"min-h-screen bg-gradient-to-br from-[#0f172a] via-[#1e293b] to-[#0f172a]",children:[p.jsx("div",{"data-loc":"client/src/pages/Landing.tsx:38",className:"sticky top-0 z-50 border-b border-white/10 bg-[#1e293b]/50 backdrop-blur-sm",children:p.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:39",className:"container mx-auto px-4 py-4 flex items-center justify-between",children:[p.jsx("div",{"data-loc":"client/src/pages/Landing.tsx:40",className:"flex items-center gap-2",children:p.jsxs("span",{"data-loc":"client/src/pages/Landing.tsx:41",className:"text-2xl font-bold",children:[p.jsx("span",{"data-loc":"client/src/pages/Landing.tsx:42",className:"text-[#fbbf24]",children:"Hook"}),p.jsx("span",{"data-loc":"client/src/pages/Landing.tsx:43",className:"text-white",children:"-Generator"})]})}),p.jsx("a",{"data-loc":"client/src/pages/Landing.tsx:46",href:"/login",className:"text-white hover:text-[#fbbf24] transition-colors",children:"Einloggen"})]})}),p.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:56",className:"container mx-auto px-4 py-20 text-center",children:[p.jsx("h1",{"data-loc":"client/src/pages/Landing.tsx:57",className:"text-5xl md:text-6xl font-bold text-white mb-6 leading-tight",children:"Dein Handwerksbetrieb braucht mehr qualifizierte Anfragen?"}),p.jsx("p",{"data-loc":"client/src/pages/Landing.tsx:61",className:"text-xl md:text-2xl text-gray-300 mb-8 max-w-2xl mx-auto",children:"Statt stundenlang Videos zu drehen – generiere in 60 Minuten pro Woche 3-4 Beiträge, die deine Wunschkunden direkt ansprechen."}),p.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:65",className:"bg-[#fbbf24]/10 border border-[#fbbf24]/30 rounded-lg p-8 max-w-2xl mx-auto mb-12",children:[p.jsx("p",{"data-loc":"client/src/pages/Landing.tsx:66",className:"text-lg text-white mb-4",children:p.jsx("strong",{"data-loc":"client/src/pages/Landing.tsx:67",children:"Das Ergebnis:"})}),p.jsx("p",{"data-loc":"client/src/pages/Landing.tsx:69",className:"text-2xl font-bold text-[#fbbf24] mb-4",children:"3-4 professionelle Beiträge pro Woche in nur 60 Minuten"}),p.jsx("p",{"data-loc":"client/src/pages/Landing.tsx:72",className:"text-gray-300 mb-6",children:"Jeder Beitrag spricht gezielt deine Wunschkunden an – nicht irgendwelche Billig-Anfragen. Mit bewährten Hook-Formeln, die funktionieren."}),p.jsx("div",{"data-loc":"client/src/pages/Landing.tsx:73",className:"bg-white/5 rounded p-4 border border-white/10",children:p.jsxs("p",{"data-loc":"client/src/pages/Landing.tsx:74",className:"text-sm text-gray-300",children:[p.jsx("strong",{"data-loc":"client/src/pages/Landing.tsx:74",children:"Resultat:"})," 15-20 qualifizierte Anfragen pro Monat, die bereit sind zu zahlen."]})})]})]}),p.jsx("div",{"data-loc":"client/src/pages/Landing.tsx:80",className:"container mx-auto px-4 py-20",style:{marginTop:"-94px",paddingBottom:"83px",paddingTop:"0px"},children:p.jsx("div",{"data-loc":"client/src/pages/Landing.tsx:81",className:"max-w-2xl mx-auto bg-[#1e293b]/80 border border-white/10 rounded-lg p-12",children:n?p.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:83",className:"text-center",children:[p.jsx(Zh,{"data-loc":"client/src/pages/Landing.tsx:84",className:"w-20 h-20 text-[#fbbf24] mx-auto mb-6"}),p.jsx("h3",{"data-loc":"client/src/pages/Landing.tsx:85",className:"text-2xl font-bold text-white mb-4",children:"Magic Link versendet! ✨"}),p.jsxs("p",{"data-loc":"client/src/pages/Landing.tsx:86",className:"text-gray-300 mb-8 text-lg",children:["Wir haben dir einen Login-Link zu ",p.jsx("strong",{"data-loc":"client/src/pages/Landing.tsx:87",children:e})," gesendet."]}),p.jsx("p",{"data-loc":"client/src/pages/Landing.tsx:89",className:"text-gray-400 text-base mb-8",children:"Klick auf den Link, um dich einzuloggen und sofort Hooks zu generieren."}),p.jsx(tt,{"data-loc":"client/src/pages/Landing.tsx:92",onClick:()=>r(!1),className:"bg-[#fbbf24] text-black hover:bg-[#f59e0b] font-bold text-lg py-6 px-8",children:"Weitere Hooks generieren"})]}):p.jsxs("form",{"data-loc":"client/src/pages/Landing.tsx:100",onSubmit:g,className:"space-y-6",children:[p.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:101",children:[p.jsx("label",{"data-loc":"client/src/pages/Landing.tsx:102",className:"block text-lg font-bold text-white mb-4",children:"Deine Email-Adresse"}),p.jsx(Bs,{"data-loc":"client/src/pages/Landing.tsx:105",type:"email",placeholder:"[email protected]",value:e,onCh
866ange:m=>t(m.target.value),className:"w-full bg-[#0f172a] border-2 border-white/30 text-white placeholder:text-gray-400 text-lg py-4 px-4 rounded-lg focus:border-[#fbbf24] focus:outline-none transition-colors"})]}),a&&p.jsx("p",{"data-loc":"client/src/pages/Landing.tsx:115",className:"text-red-400 text-base font-medium",children:a}),p.jsx(tt,{"data-loc":"client/src/pages/Landing.tsx:118",type:"submit",disabled:h,className:"w-full bg-[#fbbf24] text-black hover:bg-[#f59e0b] font-bold text-xl py-8 rounded-lg transition-all",children:h?p.jsxs(p.Fragment,{children:[p.jsx(Xt,{"data-loc":"client/src/pages/Landing.tsx:125",className:"w-5 h-5 mr-2 animate-spin"}),"Wird versendet..."]}):"Magic Link senden"})]})})}),p.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:138",className:"container mx-auto px-4 py-20 text-center",children:[p.jsxs("h2",{"data-loc":"client/src/pages/Landing.tsx:139",className:"text-3xl md:text-4xl font-bold text-white mb-4",children:["Der ",p.jsx("span",{"data-loc":"client/src/pages/Landing.tsx:140",className:"text-[#fbbf24]",children:"Hook-Generator"})," macht es möglich"]}),p.jsx("p",{"data-loc":"client/src/pages/Landing.tsx:142",className:"text-lg text-gray-300 mb-12 max-w-2xl mx-auto",children:"Mit KI-gestützten Hook-Formeln, die speziell für Handwerksbetriebe entwickelt wurden"}),p.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:146",className:"grid md:grid-cols-3 gap-8 max-w-4xl mx-auto mb-12",children:[p.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:148",className:"bg-[#1e293b]/50 border border-white/10 rounded-lg p-8",children:[p.jsx("div",{"data-loc":"client/src/pages/Landing.tsx:149",className:"text-4xl font-bold text-[#fbbf24] mb-4",children:"3"}),p.jsx("h3",{"data-loc":"client/src/pages/Landing.tsx:150",className:"text-xl font-bold text-white mb-3",children:"Hook-Typen"}),p.jsxs("p",{"data-loc":"client/src/pages/Landing.tsx:151",className:"text-gray-300 text-sm",children:[p.jsx("strong",{"data-loc":"client/src/pages/Landing.tsx:152",children:"Emotions-Hook:"})," Trifft den 5-Sekunden-Moment deiner Zielgruppe – verletzlich, menschlich, echt."]}),p.jsxs("p",{"data-loc":"client/src/pages/Landing.tsx:154",className:"text-gray-300 text-sm mt-2",children:[p.jsx("strong",{"data-loc":"client/src/pages/Landing.tsx:155",children:"Statement-Hook:"})," Provokative These, bricht Erwartungen, positioniert dich als Experte."]}),p.jsxs("p",{"data-loc":"client/src/pages/Landing.tsx:157",className:"text-gray-300 text-sm mt-2",children:[p.jsx("strong",{"data-loc":"client/src/pages/Landing.tsx:158",children:"Indirekter Hook:"})," Alltagsmoment, Catalyst-Moment – perfekt für Recruiting."]})]}),p.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:163",className:"bg-[#1e293b]/50 border border-white/10 rounded-lg p-8",children:[p.jsx("div",{"data-loc":"client/src/pages/Landing.tsx:164",className:"text-4xl font-bold text-[#fbbf24] mb-4",children:"4"}),p.jsx("h3",{"data-loc":"client/src/pages/Landing.tsx:165",className:"text-xl font-bold text-white mb-3",children:"Plattformen"}),p.jsxs("p",{"data-loc":"client/src/pages/Landing.tsx:166",className:"text-gray-300 text-sm",children:[p.jsx("strong",{"data-loc":"client/src/pages/Landing.tsx:167",children:"Instagram/Reels:"})," Shortform (max 30 Wörter), schnell, visuell."]}),p.jsxs("p",{"data-loc":"client/src/pages/Landing.tsx:169",className:"text-gray-300 text-sm mt-2",children:[p.jsx("strong",{"data-loc":"client/src/pages/Landing.tsx:170",children:"TikTok:"})," Trends + Sounds, authentisch, Momentum."]}),p.jsxs("p",{"data-loc":"client/src/pages/Landing.tsx:172",className:"text-gray-300 text-sm mt-2",children:[p.jsx("strong",{"data-loc":"client/src/pages/Landing.tsx:173",children:"YouTube:"})," Longform (2-3 Sätze), Story-getrieben."]}),p.jsxs("p",{"data-loc":"client/src/pages/Landing.tsx:175",className:"text-gray-300 text-sm mt-2",children:[p.jsx("strong",{"data-loc":"client/src/pages/Landing.tsx:176",children:"LinkedIn:"})," 200-350 Wörter, professionell, CTA."]})]}),p.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:181",className:"bg-[#1e293b]/50 border border-white/10 rounded-lg p-8",children:[p.jsx("div",{"data-loc":"client/src/pages/Landing.tsx:182",className:"text-4xl font-bold text-[#fbbf24] mb-4",children:"+"}),p.jsx("h3",{"data-loc":"client/src/pages/Landing.tsx:183",className:"text-xl font-bold text-white mb-3",children:"KI-Analyse"}),p.jsx("p",{"data-loc":"client/src/pages/Landing.tsx:184",className:"text-gray-300 text-sm",children:"Zu jedem Hook erhältst du auch:"}),p.jsxs("ul",{"data-loc":"client/src/pages/Landing.tsx:187",className:"text-gray-300 text-sm mt-3 space-y-1",children:[p.jsx("li",{"data-loc":"client/src/pages/Landing.tsx:188",children:"✓ Zielgruppen-Zusammenfassung"}),p.jsx("li",{"data-loc":"client/src/pages/Landing.tsx:189",children:"✓ Hauptproblem der Zielgruppe"}),p.jsx("li",{"data-loc":"client/src/pages/Landing.tsx:190",children:"✓ Was 
866sie sich wirklich wünschen"}),p.jsx("li",{"data-loc":"client/src/pages/Landing.tsx:191",children:"✓ Wie du das Problem löst"})]})]})]}),p.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:197",className:"bg-[#fbbf24]/5 border border-[#fbbf24]/20 rounded-lg p-8 max-w-3xl mx-auto",children:[p.jsx("h3",{"data-loc":"client/src/pages/Landing.tsx:198",className:"text-2xl font-bold text-white mb-6",children:"So funktioniert der Hook-Generator:"}),p.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:199",className:"space-y-6 text-left",children:[p.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:201",className:"flex gap-4",children:[p.jsx("div",{"data-loc":"client/src/pages/Landing.tsx:202",className:"flex-shrink-0 w-8 h-8 bg-[#fbbf24] text-black rounded-full flex items-center justify-center font-bold",children:"1"}),p.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:203",children:[p.jsx("p",{"data-loc":"client/src/pages/Landing.tsx:204",className:"font-bold text-white mb-2",children:"Deine Infos eingeben (2 Minuten)"}),p.jsx("p",{"data-loc":"client/src/pages/Landing.tsx:205",className:"text-gray-300 text-sm",children:"Branche, Zielgruppe, Dienstleistung, Ziel (Kunden/Mitarbeiter). Optional: Website-URL, Video-Idee, Benefits."})]})]}),p.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:210",className:"flex gap-4",children:[p.jsx("div",{"data-loc":"client/src/pages/Landing.tsx:211",className:"flex-shrink-0 w-8 h-8 bg-[#fbbf24] text-black rounded-full flex items-center justify-center font-bold",children:"2"}),p.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:212",children:[p.jsx("p",{"data-loc":"client/src/pages/Landing.tsx:213",className:"font-bold text-white mb-2",children:"KI analysiert & generiert"}),p.jsx("p",{"data-loc":"client/src/pages/Landing.tsx:214",className:"text-gray-300 text-sm",children:"Die KI analysiert deine Zielgruppe, ihre Probleme und Wünsche. Falls Website angegeben: Kundenbewertungen & Testimonials werden analysiert. Dann generiert die KI 3 unterschiedliche Hooks (Emotions-Hook, Statement-Hook, Indirekter Hook)."})]})]}),p.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:219",className:"flex gap-4",children:[p.jsx("div",{"data-loc":"client/src/pages/Landing.tsx:220",className:"flex-shrink-0 w-8 h-8 bg-[#fbbf24] text-black rounded-full flex items-center justify-center font-bold",children:"3"}),p.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:221",children:[p.jsx("p",{"data-loc":"client/src/pages/Landing.tsx:222",className:"font-bold text-white mb-2",children:"Hooks kopieren, speichern, verbessern"}),p.jsx("p",{"data-loc":"client/src/pages/Landing.tsx:223",className:"text-gray-300 text-sm",children:"Jeder Hook kann kopiert, in deiner Bibliothek gespeichert, oder mit Feedback bewertet werden. Nicht zufrieden? Einfach neu generieren."})]})]})]}),p.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:229",className:"mt-8 pt-8 border-t border-white/10",children:[p.jsx("p",{"data-loc":"client/src/pages/Landing.tsx:230",className:"text-sm text-gray-400 mb-4",children:"Das bekommst du zusätzlich:"}),p.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:231",className:"grid grid-cols-2 gap-3 text-sm",children:[p.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:232",className:"flex items-start gap-2",children:[p.jsx("span",{"data-loc":"client/src/pages/Landing.tsx:233",className:"text-[#fbbf24] font-bold",children:"✓"}),p.jsx("span",{"data-loc":"client/src/pages/Landing.tsx:234",className:"text-gray-300",children:"Website-Analyse (falls URL angegeben)"})]}),p.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:236",className:"flex items-start gap-2",children:[p.jsx("span",{"data-loc":"client/src/pages/Landing.tsx:237",className:"text-[#fbbf24] font-bold",children:"✓"}),p.jsx("span",{"data-loc":"client/src/pages/Landing.tsx:238",className:"text-gray-300",children:"Plattform-optimiert (Instagram, TikTok, YouTube, LinkedIn)"})]}),p.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:240",className:"flex items-start gap-2",children:[p.jsx("span",{"data-loc":"client/src/pages/Landing.tsx:241",className:"text-[#fbbf24] font-bold",children:"✓"}),p.jsx("span",{"data-loc":"client/src/pages/Landing.tsx:242",className:"text-gray-300",children:"KI-Verständnis: Zielgruppe-Analyse"})]}),p.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:244",className:"flex items-start gap-2",children:[p.jsx("span",{"data-loc":"client/src/pages/Landing.tsx:245",className:"text-[#fbbf24] font-bold",children:"✓"}),p.jsx("span",{"data-loc":"client/src/pages/Landing.tsx:246",className:"text-gray-300",children:"Hook-Bibliothek zum Speichern & Wiederverwenden"})]}),p.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:248",className:"flex items-start gap-2",children:[p.jsx("span",{"data-loc":"client/src/pages/Landing.tsx:249",className:"text-[#fbbf24] font-bold",children:"✓"}),p.jsx("span",{"data-loc":"client/src/pages/Landing.tsx:250",className:"text-gray-300",children:"Profil-Speicherung (keine Wiederholung nötig)"})]}),p.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:252",className:"flex items-start gap-2",children:[p.jsx("span",{"data-loc":"client/src/pages/Landing.tsx:253",className:"text-[#fbbf24] font-bold",children:"✓"}),p.jsx("span",{"data-loc":"client/src/pages/Landing.tsx:254",className:"text-gray-300",children:"Daten jederzeit änderbar"})]})]})]})]}),p.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:261",className:"bg-gradient-to-r from-[#fbbf24]/10 to-[#f59e0b]/10 border border-[#fbbf24]/20 rounded-lg p-8 max-w-3xl mx-auto mt-8",children:[p.jsx("h3",{"data-loc":"client/src/pages/Landing.tsx:262",className:"text-2xl font-bold text-white mb-4",children:"🤖 Bonus: KI-Assistent"}),p.jsx("p",{"data-loc":"client/src/pages/Landing.tsx:263",className:"text-gray-300 mb-4",children:"Du brauchst mehr als nur Hooks? Der integrierte KI-Assistent hilft dir:"}),p.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:266",className:"space-y-3",children:[p.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:267",className:"flex items-start gap-3",children:[p.jsx("span",{"data-loc":"client/src/pages/Landing.tsx:268",className:"text-[#fbbf24] font-bold text-lg",children:"→"}),p.jsxs("span",{"data-loc":"client/src/pages/Landing.tsx:269",className:"text-gray-300 text-sm",children:[p.jsx("strong",{"data-loc":"client/src/pages/Landing.tsx:269",children:"Video-Skripte erstellen"})," – Komplette Drehbücher für deine Reels, TikToks und YouTube Videos"]})]}),p.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:271",className:"flex items-start gap-3",children:[p.jsx("span",{"data-loc":"client/src/pages/Landing.tsx:272",className:"text-[#fbbf24] font-bold text-lg",children:"→"}),p.jsxs("span",{"data-loc":"client/src/pages/Landing.tsx:273",className:"text-gray-300 text-sm",children:[p.jsx("strong",{"data-loc":"client/src/pages/Landing.tsx:273",children:"Fragen beantworten"})," – Alles rund um Social Media, Hook-Strategien, Content-Planung"]})]}),p.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:275",className:"flex items-start gap-3",children:[p.jsx("span",{"data-loc":"client/src/pages/Landing.tsx:276",className:"text-[#fbbf24] font-bold text-lg",children:"→"}),p.jsxs("span",{"data-loc":"client/src/pages/Landing.tsx:277",className:"text-gray-300 text-sm",children:[p.jsx("strong",{"data-loc":"client/src/pages/Landing.tsx:277",children:"Inhalte optimieren"})," – Feedback zu deinen Texten, Hooks und Content-Ideen"]})]}),p.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:279",className:"flex items-start gap-3",children:[p.jsx("span",{"data-loc":"client/src/pages/Landing.tsx:280",className:"text-[#fbbf24] font-bold text-lg",children:"→"}),p.jsxs("span",{"data-loc":"client/src/pages/Landing.tsx:281",className:"text-gray-300 text-sm",children:[p.jsx("strong",{"data-loc":"client/src/pages/Landing.tsx:281",children:"Strategieberatung"})," – Wie du Social Media richtig für dein Handwerk nutzt"]})]})]})]})]}),p.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:288",className:"container mx-auto px-4 py-16 text-center border-t border-white/10",children:[p.jsxs("h2",{"data-loc":"client/src/pages/Landing.tsx:289",className:"text-3xl font-bold text-white mb-8",children:["Bereits ",p.jsx("span",{"data-loc":"client/src/pages/Landing.tsx:290",className:"text-[#fbbf24]",children:"500+ Hooks"})," generiert"]}),p.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:292",className:"grid grid-cols-2 md:grid-cols-4 gap-6 max-w-2xl mx-auto",children:[p.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:293",className:"bg-[#1e293b]/50 rounded-lg p-4",children:[p.jsx("p",{"data-loc":"client/src/pages/Landing.tsx:294",className:"text-3xl font-bold text-[#fbbf24]",children:"500+"}),p.jsx("p",{"data-loc":"client/src/pages/Landing.tsx:295",className:"text-gray-300 text-sm",children:"Hooks generiert"})]}),p.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:297",className:"bg-[#1e293b]/50 rounded-lg p-4",children:[p.jsx("p",{"data-loc":"client/src/pages/Landing.tsx:298",className:"text-3xl font-bold text-[#fbbf24]",children:"50+"}),p.jsx("p",{"data-loc":"client/src/pages/Landing.tsx:299",className:"text-gray-300 text-sm",children:"Branchen"})]}),p.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:301",className:"bg-[#1e293b]/50 rounded-lg p-4",children:[p.jsx("p",{"data-loc":"client/src/pages/Landing.tsx:302",className:"text-3xl font-bold text-[#fbbf24]",children:"4.9★"}),p.jsx("p",{"data-loc":"client/src/pages/Landing.tsx:303",className:"text-gray-300 text-sm",children:"Bewertung"})]}),p.jsxs("div",{"data-loc":"client/src/pages/Landing.tsx:305",className:"bg-[#1e293b]/50 rounded-lg p-4",children:[p.jsx("p",{"data-loc":"client/src/pages/Landing.tsx:306",className:"text-3xl font-bold text-[#fbbf24]",children:"100%"}),p.jsx("p",{"data-loc":"client/src/pages/Landing.tsx:307",className:"text-gray-300 text-sm",children:"Kostenlos"})]})]})]}),p.jsx("div",{"data-loc":"client/src/pages/Landing.tsx:313",className:"container mx-auto px-4 py-8 border-t border-white/10 text-center text-gray-400",children:p.jsxs("p",{"data-loc":"client/src/pages/Landing.tsx:314",className:"text-sm",children:["© 2026 DARVISmedia. Alle Rechte vorbehalten. |"," ",p.jsx("a",{"data-loc":"client/src/pages/Landing.tsx:316",href:"/datenschutz",className:"hover:text-white",children:"Datenschutz"})]})})]})}const lN=[{href:"/app/generator",label:"Generator",icon:Vn},{href:"/app/bibliothek",label:"Bibliothek",icon:a0},{href:"/app/assistent",label:"Assistent",icon:NT},{href:"/app/profil",label:"Profil",icon:K2},{href:"/app/hilfe",label:"Hilfe",icon:Q2}];function $ne({children:e}){const[t]=Ws(),n=t.startsWith("/app/assistent"),{user:r,logout:a}=Wi(),[i,o]=R.useState(!1),{data:u}=ct.profil.get.useQuery(void 0,{enabled:!!r}),c=r?.role==="admin";return p.jsxs("div",{"data-loc":"client/src/components/AppLayout.t
866sx:33",className:"min-h-screen bg-[#0f172a] flex",children:[p.jsxs("aside",{"data-loc":"client/src/components/AppLayout.tsx:35",className:"w-64 bg-[#1e293b] border-r border-white/10 flex flex-col sticky top-0 h-screen",children:[p.jsxs("div",{"data-loc":"client/src/components/AppLayout.tsx:37",className:"px-5 py-5 border-b border-white/10",children:[p.jsxs(Mc,{"data-loc":"client/src/components/AppLayout.tsx:38",href:"/app/generator",className:"flex items-center gap-2",children:[p.jsxs("span",{"data-loc":"client/src/components/AppLayout.tsx:39",className:"text-xl font-extrabold tracking-tight",children:[p.jsx("span",{"data-loc":"client/src/components/AppLayout.tsx:40",className:"text-yellow-400",children:"DARVIS"}),p.jsx("span",{"data-loc":"client/src/components/AppLayout.tsx:41",className:"text-white",children:"media"})]}),p.jsx("span",{"data-loc":"client/src/components/AppLayout.tsx:43",className:"bg-yellow-400/10 text-yellow-400 text-xs font-semibold px-2 py-0.5 rounded-full border border-yellow-400/20",children:"PRO"})]}),u?.unternehmensname&&p.jsx("p",{"data-loc":"client/src/components/AppLayout.tsx:48",className:"text-slate-400 text-xs mt-1 truncate",children:u.unternehmensname})]}),p.jsxs("nav",{"data-loc":"client/src/components/AppLayout.tsx:53",className:"flex-1 px-3 py-4 space-y-1 overflow-y-auto",children:[lN.map(h=>{const g=h.icon,m=t.startsWith(h.href);return p.jsx(Mc,{"data-loc":"client/src/components/AppLayout.tsx:58",href:h.href,children:p.jsxs("div",{"data-loc":"client/src/components/AppLayout.tsx:59",className:`flex items-center gap-3 px-3 py-2.5 rounded-xl text-sm font-medium transition-all cursor-pointer ${m?"bg-yellow-400/10 text-yellow-400 border border-yellow-400/20":"text-slate-400 hover:text-white hover:bg-white/5"}`,children:[p.jsx(g,{"data-loc":"client/src/components/AppLayout.tsx:64",className:"w-4 h-4 flex-shrink-0"}),h.label==="Generator"?"KI-Generator":h.label==="Profil"?"Mein Profil":h.label==="Bibliothek"?"Meine Bibliothek":h.label==="Hilfe"?"Hilfe & Erklärung":h.label]})},h.href)}),c&&p.jsxs(p.Fragment,{children:[p.jsx("div",{"data-loc":"client/src/components/AppLayout.tsx:72",className:"border-t border-white/10 my-2"}),p.jsx(Mc,{"data-loc":"client/src/components/AppLayout.tsx:73",href:"/app/admin",children:p.jsxs("div",{"data-loc":"client/src/components/AppLayout.tsx:74",className:`flex items-center gap-3 px-3 py-2.5 rounded-xl text-sm font-medium transition-all cursor-pointer ${t.startsWith("/app/admin")?"bg-yellow-400/10 text-yellow-400 border border-yellow-400/20":"text-slate-400 hover:text-white hover:bg-white/5"}`,children:[p.jsx($2,{"data-loc":"client/src/components/AppLayout.tsx:79",className:"w-4 h-4 flex-shrink-0"}),"Admin-Dashboard"]})})]})]}),p.jsxs("div",{"data-loc":"client/src/components/AppLayout.tsx:88",className:"px-3 py-4 border-t border-white/10",children:[p.jsxs("button",{"data-loc":"client/src/components/AppLayout.tsx:89",className:"w-full flex items-center gap-3 px-3 py-2.5 rounded-xl hover:bg-white/5 transition-all",onClick:()=>o(!i),children:[p.jsx("div",{"data-loc":"client/src/components/AppLayout.tsx:93",className:"w-8 h-8 rounded-full bg-yellow-400/20 flex items-center justify-center flex-shrink-0",children:p.jsx("span",{"data-loc":"client/src/components/AppLayout.tsx:94",className:"text-yellow-400 text-sm font-bold",children:(r?.name||r?.email||"U")[0].toUpperCase()})}),p.jsxs("div",{"data-loc":"client/src/components/AppLayout.tsx:98",className:"flex-1 text-left min-w-0",children:[p.jsx("div",{"data-loc":"client/src/components/AppLayout.tsx:99",className:"text-white text-sm font-medium truncate",children:r?.name||"Nutzer"}),p.jsx("div",{"data-loc":"client/src/components/AppLayout.tsx:100",className:"text-slate-500 text-xs truncate",children:r?.email||""})]}),p.jsx(fu,{"data-loc":"client/src/components/AppLayout.tsx:102",className:`w-4 h-4 text-slate-400 transition-transform ${i?"rotate-180":""}`})]}),i&&p.jsx("div",{"data-loc":"client/src/components/AppLayout.tsx:105",className:"mt-1 bg-[#0f172a] border border-white/10 rounded-xl overflow-hidden",children:p.jsxs("button",{"data-loc":"client/src/components/AppLayout.t
866sx:106",className:"w-full flex items-center gap-2 px-4 py-2.5 text-sm text-red-400 hover:bg-red-500/10 transition-all",onClick:a,children:[p.jsx(W2,{"data-loc":"client/src/components/AppLayout.tsx:110",className:"w-4 h-4"})," Ausloggen"]})})]})]}),p.jsx("main",{"data-loc":"client/src/components/AppLayout.tsx:118",className:"flex-1 overflow-hidden h-screen flex flex-col",children:n?p.jsx("div",{"data-loc":"client/src/components/AppLayout.tsx:121",className:"flex-1 min-h-0 flex flex-col",children:e}):p.jsx("div",{"data-loc":"client/src/components/AppLayout.tsx:126",className:"flex-1 overflow-y-auto min-h-0",children:e})})]})}function Vne({children:e}){const[t,n]=Ws(),{user:r,logout:a}=Wi(),i=r?.role==="admin",o=[...lN,...i?[{href:"/app/admin",label:"Admin",icon:$2}]:[]],u=o.findIndex(U=>t.startsWith(U.href)),c=u>=0?u:0,h=R.useRef(null),[g,m]=R.useState(64);R.useLayoutEffect(()=>{const U=()=>{h.current&&m(h.current.offsetHeight)};return U(),window.addEventListener("resize",U),()=>window.removeEventListener("resize",U)},[]);const x=R.useRef(0),y=R.useRef(0),E=R.useRef(0),_=R.useRef(!1),[N,A]=R.useState(0),[C,M]=R.useState(!1),X=R.useCallback(U=>{U<0||U>=o.length||(M(!0),n(o[U].href),setTimeout(()=>M(!1),300))},[o,n]),G=U=>{x.current=U.touches[0].clientX,y.current=U.touches[0].clientY,E.current=Date.now(),_.current=!1,A(0)},P=U=>{const ae=U.touches[0].clientX-x.current,te=U.touches[0].clientY-y.current;if(!(!_.current&&Math.abs(te)>Math.abs(ae))&&(Math.abs(ae)>10&&(_.current=!0),_.current)){const he=window.innerWidth*.4,le=.3;let me=ae;(c===0&&ae>0||c===o.length-1&&ae<0)&&(me=ae*le),A(Math.max(-he,Math.min(he,me)))}},B=()=>{if(!_.current){A(0);return}const U=Date.now()-E.current,ae=Math.abs(N)/U,te=window.innerWidth*.25;N<-te||ae>.5&&N<-30?X(c+1):(N>te||ae>.5&&N>30)&&X(c-1),A(0),_.current=!1},V=Object.entries({"/app/generator":"KI-Generator","/app/bibliothek":"Meine Bibliothek","/app/assistent":"Assistent","/app/profil":"Mein Profil","/app/hilfe":"Lernen","/app/admin":"Admin"}).find(([U])=>t.startsWith(U))?.[1]||"Hook-Generator";return p.jsxs("div",{"data-loc":"client/src/components/AppLayout.tsx:243",className:"h-screen bg-[#0f172a]",style:{overflow:"hidden"},children:[p.jsxs("header",{"data-loc":"client/src/components/AppLayout.tsx:245",id:"mobile-header",ref:h,className:"fixed top-0 left-0 right-0 bg-[#1e293b] border-b border-white/10 z-50",style:{paddingTop:"max(env(safe-area-inset-top, 0px), 8px)"},children:[p.jsxs("div",{"data-loc":"client/src/components/AppLayout.tsx:252",className:"relative flex items-center px-4 pb-1.5 h-9",children:[p.jsxs("span",{"data-loc":"client/src/components/AppLayout.tsx:253",className:"text-white font-bold text-xs",children:[p.jsx("span",{"data-loc":"client/src/components/AppLayout.tsx:254",className:"text-yellow-400",children:"DARVIS"}),"media"]}),p.jsx("span",{"data-loc":"client/src/components/AppLayout.tsx:257",className:"absolute left-0 right-0 text-center text-white font-semibold text-sm pointer-events-none",children:V}),p.jsx("button",{"data-loc":"client/src/components/AppLayout.tsx:260",onClick:a,className:"ml-auto p-1 rounded-lg text-slate-500 hover:text-red-400 transition-all",title:"Ausloggen",children:p.jsx(W2,{"data-loc":"client/src/components/AppLayout.tsx:265",className:"w-3.5 h-3.5"})})]}),p.jsx("div",{"data-loc":"client/src/components/AppLayout.tsx:269",className:"flex justify-center gap-1.5 pb-1.5",children:o.slice(0,5).map((U,ae)=>p.jsx("div",{"data-loc":"client/src/components/AppLayout.tsx:271",className:`rounded-full transition-all duration-300 ${ae===c?"w-5 h-1 bg-yellow-400":"w-1 h-1 bg-white/20"}`},ae))})]}),p.jsx("main",{"data-loc":"client/src/components/AppLayout.tsx:284",className:"absolute inset-0 overflow-y-auto overflow-x-hidden",style:{top:`${g}px`,bottom:"calc(max(env(safe-area-inset-bottom, 0px), 4px) + 52px)"},onTouchStart:G,onTouchMove:P,onTouchEnd:B,children:e}),p.jsx("nav",{"data-loc":"client/src/components/AppLayout.tsx:298",className:"fixed bottom-0 left-0 right-0 bg-[#1e293b]/98 backdrop-blur-sm border-t border-white/10 z-50",style:{paddingBottom:"max(env(safe-area-inset-bottom, 0px), 4px)"},children:p.jsx("div",{"data-loc":"client/src/components/AppLayout.t
866sx:302",className:"flex items-center justify-around px-1 pt-0.5",children:o.slice(0,5).map((U,ae)=>{const te=U.icon,he=t.startsWith(U.href);return p.jsxs("button",{"data-loc":"client/src/components/AppLayout.tsx:307",onClick:()=>X(ae),className:`flex flex-col items-center gap-0.5 px-3 py-1.5 rounded-xl transition-all min-w-[60px] ${he?"text-yellow-400":"text-slate-500 hover:text-slate-300"}`,children:[p.jsx("div",{"data-loc":"client/src/components/AppLayout.tsx:314",className:`p-1 rounded-lg transition-all ${he?"bg-yellow-400/10":""}`,children:p.jsx(te,{"data-loc":"client/src/components/AppLayout.tsx:315",style:{width:"18px",height:"18px"}})}),p.jsx("span",{"data-loc":"client/src/components/AppLayout.tsx:317",className:"text-[11px] font-medium leading-none",children:U.label})]},U.href)})})})]})}function Yne({children:e}){const[t,n]=R.useState(!1);return R.useEffect(()=>{const r=()=>n(window.innerWidth<768);return r(),window.addEventListener("resize",r),()=>window.removeEventListener("resize",r)},[]),t?p.jsx(Vne,{"data-loc":"client/src/components/AppLayout.tsx:338",children:e}):p.jsx($ne,{"data-loc":"client/src/components/AppLayout.tsx:339",children:e})}const Qne=[{value:"handwerk",label:"Handwerk & Bau"},{value:"pflege",label:"Pflege & Soziales"},{value:"gastronomie",label:"Gastronomie & Hotel"},{value:"it",label:"IT & Software"},{value:"einzelhandel",label:"Einzelhandel & Verkauf"},{value:"logistik",label:"Logistik & Transport"},{value:"reinigung",label:"Reinigung & Facility"},{value:"gesundheit",label:"Gesundheit & Fitness"},{value:"bildung",label:"Bildung & Coaching"},{value:"immobilien",label:"Immobilien & Finanzberatung"},{value:"marketing",label:"Marketing & Agentur"},{value:"andere",label:"Andere Branche"}],Wne=[{value:"instagram",label:"Instagram"},{value:"tiktok",label:"TikTok"},{value:"youtube",label:"YouTube"},{value:"linkedin",label:"LinkedIn"},{value:"alle",label:"Alle Plattformen"}];function Kne({onComplete:e}){const[,t]=Ws(),[n,r]=R.useState(0),[a,i]=R.useState({unternehmensname:"",branche:"",brancheLabel:"",zielgruppe:"",dienstleistung:"",plattform:"instagram",ziel:"kunden"}),o=ct.useUtils(),u=ct.profil.save.useMutation(),c=ct.profil.generiereZusammenfassung.useMutation(),h=ct.profil.onboardingAbschliessen.useMutation({onSuccess:()=>{o.auth.me.invalidate(),o.profil.get.invalidate(),e()}}),g=[{icon:p.jsx(Tb,{"data-loc":"client/src/components/OnboardingWizard.tsx:71",className:"w-6 h-6 text-yellow-400"}),title:"Dein Unternehmen",subtitle:"Damit die KI passende Hooks erstellt",hint:"Je genauer du dein Unternehmen beschreibst, desto besser werden deine Hooks."},{icon:p.jsx(Wo,{"data-loc":"client/src/components/OnboardingWizard.tsx:77",className:"w-6 h-6 text-yellow-400"}),title:"Deine Zielgruppe",subtitle:"Wer soll deine Videos sehen?",hint:"Je spitzer deine Zielgruppe, desto bessere Hooks generiert die KI."},{icon:p.jsx(Vn,{"data-loc":"client/src/components/OnboardingWizard.tsx:83",className:"w-6 h-6 text-yellow-400"}),title:"Dein Ziel",subtitle:"Was willst du mit deinen Videos erreichen?",hint:"Unterschiedliche Ziele brauchen unterschiedliche Hooks."},{icon:p.jsx(AT,{"data-loc":"client/src/components/OnboardingWizard.tsx:89",className:"w-6 h-6 text-yellow-400"}),title:"Deine Plattform",subtitle:"Wo postest du hauptsächlich?",hint:"Der Hook funktioniert auf allen Plattformen – Instagram, TikTok, YouTube, LinkedIn."}],m=async()=>{await u.mutateAsync(a),c.mutate(),await h.mutateAsync()},x=u.isPending||h.isPending;return p.jsx("div",{"data-loc":"client/src/components/OnboardingWizard.tsx:106",className:"fixed inset-0 bg-[#0f172a]/95 backdrop-blur-sm z-50 flex items-center justify-center p-4",children:p.jsxs("div",{"data-loc":"client/src/components/OnboardingWizard.tsx:107",className:"w-full max-w-lg bg-[#1e293b] border border-white/10 rounded-2xl overflow-hidden shadow-2xl",children:[p.jsxs("div",{"data-loc":"client/src/components/OnboardingWizard.tsx:109",className:"bg-[#0f172a] px-6 py-4 flex items-center justify-between",children:[p.jsxs("div",{"data-loc":"client/src/components/OnboardingWizard.tsx:110",className:"flex items-center gap-3",children:[p.jsxs("span",{"data-loc":"client/src/components/OnboardingWizard.tsx:111",className:"text-yellow-400 font-extrabold text-lg",children:["DARVIS",p.jsx("span",{"data-loc":"client/src/components/OnboardingWizard.tsx:111",className:"text-white",children:"media"})]}),p.jsx("span",{"data-loc":"client/src/components/OnboardingWizard.tsx:112",className:"text-slate-400 text-sm",children:"Hook-Generator"})]}),p.jsx("div",{"data-loc":"client/src/components/OnboardingWizard.tsx:114",className:"flex gap-1.5",children:g.map((y,E)=>p.jsx("div",{"data-loc":"client/src/components/OnboardingWizard.tsx:116",className:`h-1.5 rounded-full transition-all duration-300 ${E<=n?"bg-yellow-400 w-6":"bg-white/20 w-3"}`},E))})]}),p.jsxs("div",{"data-loc":"client/src/components/OnboardingWizard.tsx:127",className:"p-6",children:[p.jsxs("div",{"data-loc":"client/src/components/OnboardingWizard.tsx:128",className:"flex items-center justify-between mb-5",children:[p.jsxs("div",{"data-loc":"client/src/components/OnboardingWizard.tsx:129",className:"flex items-center gap-3",children:[p.jsx("div",{"data-loc":"client/src/components/OnboardingWizard.tsx:130",className:"w-10 h-10 bg-yellow-400/10 rounded-xl flex items-center justify-center",children:g[n].icon}),p.jsxs("div",{"data-loc":"client/src/components/OnboardingWizard.tsx:133",children:[p.jsx("h2",{"data-loc":"client/src/components/OnboardingWizard.tsx:134",className:"text-white font-bold text-lg",children:g[n].title}),p.jsx("p",{"data-loc":"client/src/components/OnboardingWizard.tsx:135",className:"text-slate-400 text-sm",children:g[n].subtitle})]})]}),p.jsx("button",{"data-loc":"client/src/components/OnboardingWizard.tsx:138",onClick:()=>t("/app/hilfe"),className:"text-slate-400 hover:text-yellow-400 transition-colors p-2",title:"Zur Erklär-Seite",children:p.jsx(Q2,{"data-loc":"client/src/components/OnboardingWizard.tsx:143",className:"w-5 h-5"})})]}),g[n].hint&&p.jsx("div",{"data-loc":"client/src/components/OnboardingWizard.tsx:149",className:"bg-yellow-400/10 border border-yellow-400/30 rounded-lg p-3 mb-4",children:p.jsxs("p",{"data-loc":"client/src/components/OnboardingWizard.tsx:150",className:"text-sm text-yellow-300 flex items-start gap-2",children:[p.jsx("span",{"data-loc":"client/src/components/OnboardingWizard.tsx:151",className:"text-lg leading-none",children:"💡"}),p.jsx("span",{"data-loc":"client/src/components/OnboardingWizard.tsx:152",children:g[n].hint})]})}),n===0&&p.jsxs("div",{"data-loc":"client/src/components/OnboardingWizard.tsx:159",className:"space-y-4",children:[p.jsxs("div",{"data-loc":"client/src/components/OnboardingWizard.tsx:160",children:[p.jsx("label",{"data-loc":"client/src/components/OnboardingWizard.tsx:161",className:"block text-sm font-medium text-slate-300 mb-1.5",children:"Unternehmensname"}),p.jsx(Bs,{"data-loc":"client/src/components/OnboardingWizard.tsx:162",placeholder:"z.B. Müller Handwerk GmbH",value:a.unternehmensname,onChange:y=>i({...a,unternehmensname:y.target.value}),className:"bg-white/5 border-white/20 text-white placeholder:text-slate-500"})]}),p.jsxs("div",{"data-loc":"client/src/components/OnboardingWizard.tsx:169",children:[p.jsx("label",{"data-loc":"client/src/components/OnboardingWizard.tsx:170",className:"block text-sm font-medium text-slate-300 mb-2",children:"Branche"}),p.jsx("div",{"data-loc":"client/src/components/OnboardingWizard.tsx:171",className:"grid grid-cols-2 gap-2",children:Qne.map(y=>p.jsx("button",{"data-loc":"client/src/components/OnboardingWizard.tsx:173",onClick:()=>i({...a,branche:y.value,brancheLabel:y.label}),className:`px-3 py-2 rounded-lg text-sm font-medium text-left transition-all ${a.branche===y.value?"bg-yellow-400 text-[#0f172a]":"bg-white/5 text-slate-300 hover:bg-white/10 border border-white/10"}`,children:y.label},y.value))})]})]}),n===1&&p.jsxs("div",{"data-loc":"client/src/components/OnboardingWizard.tsx:192",className:"space-y-4",children:[p.jsxs("div",{"data-loc":"client/src/components/OnboardingWizard.tsx:193",children:[p.jsx("label",{"data-loc":"client/src/components/OnboardingWizard.tsx:194",className:"block text-sm font-medium text-slate-300 mb-1.5",children:"Wer ist deine Zielgruppe?"}),p.jsx(Bs,{"data-loc":"client/src/components/OnboardingWizard.tsx:195",placeholder:"z.B. Hausbesitzer 35-55 Jahre in der Region Freiburg",value:a.zielgruppe,onChange:y=>i({...a,zielgruppe:y.target.value}),className:"bg-white/5 border-white/20 text-white placeholder:text-slate-500"}),p.jsx("p",{"data-loc":"client/src/components/OnboardingWizard.tsx:201",className:"text-slate-500 text-xs mt-1.5",children:"Je konkreter, desto besser die Hooks"})]}),p.jsxs("div",{"data-loc":"client/src/components/OnboardingWizard.tsx:203",children:[p.jsx("label",{"data-loc":"client/src/components/OnboardingWizard.tsx:204",className:"block text-sm font-medium text-slate-300 mb-1.5",children:"Was bietest du an?"}),p.jsx(Bs,{"data-loc":"client/src/components/OnboardingWizard.tsx:205",placeholder:"z.B. Malerarbeiten, Renovierungen, Fassadengestaltung",value:a.dienstleistung,onChange:y=>i({...a,dienstleistung:y.target.value}),className:"bg-white/5 border-white/20 text-white placeholder:text-slate-500"})]})]}),n===2&&p.jsx("div",{"data-loc":"client/src/components/OnboardingWizard.tsx:217",className:"space-y-3",children:[{value:"kunden",label:"Neue Kunden gewinnen",desc:"Zeige was du kannst und überzeuge potenzielle Kunden"},{value:"mitarbeiter",label:"Mitarbeiter finden",desc:"Sprich Fachkräfte an und begeistere sie für dein Unternehmen"},{value:"beide",label:"Beides",desc:"Abwechselnd für Kunden und Mitarbeiter"}].map(y=>p.jsxs("button",{"data-loc":"client/src/components/OnboardingWizard.tsx:223",onClick:()=>i({...a,ziel:y.value}),className:`w-full px-4 py-3 rounded-xl text-left transition-all border ${a.ziel===y.value?"bg-yellow-400/10 border-yellow-400 text-white":"bg-white/5 border-white/10 text-slate-300 hover:bg-white/10"}`,children:[p.jsx("div",{"data-loc":"client/src/components/OnboardingWizard.tsx:232",className:"font-semibold text-sm",children:y.label}),p.jsx("div",{"data-loc":"client/src/components/OnboardingWizard.tsx:233",className:"text-xs text-slate-400 mt-0.5",children:y.desc})]},y.value))}),n===3&&p.jsx("div",{"data-loc":"client/src/components/OnboardingWizard.tsx:241",className:"space-y-2",children:Wne.map(y=>p.jsxs("button",{"data-loc":"client/src/components/OnboardingWizard.tsx:243",onClick:()=>i({...a,plattform:y.value}),className:`w-full px-4 py-3 rounded-xl text-left transition-all border flex items-center justify-between ${a.plattform===y.value?"bg-yellow-400/10 border-yellow-400 text-white":"bg-white/5 border-white/10 text-slate-300 hover:bg-white/10"}`,children:[p.jsx("span",{"data-loc":"client/src/components/OnboardingWizard.tsx:252",className:"font-medium text-sm",children:y.label}),a.plattform===y.value&&p.jsx(Zh,{"data-loc":"client/src/components/OnboardingWizard.tsx:253",className:"w-4 h-4 text-yellow-400"})]},y.value))})]}),p.jsxs("div",{"data-loc":"client/src/components/OnboardingWizard.tsx:261",className:"px-6 pb-6 flex items-center justify-between",children:[p.jsx(tt,{"data-loc":"client/src/components/OnboardingWizard.tsx:262",variant:"ghost",className:"text-slate-400 hover:text-white",onClick:()=>n===0?e():r(y=>y-1),children:n===0?"Überspringen":p.jsxs(p.Fragment,{children:[p.jsx(ej,{"data-loc":"client/src/components/OnboardingWizard.tsx:267",className:"w-4 h-4 mr-1"})," Zurück"]})}),n<g.length-1?p.jsxs(tt,{"data-loc":"client/src/components/OnboardingWizard.tsx:271",className:"bg-yellow-400 hover:bg-yellow-300 text-[#0f172a] font-bold",onClick:()=>r(y=>y+1),disabled:n===0&&!a.branche,children:["Weiter ",p.jsx(V2,{"data-loc":"client/src/components/OnboardingWizard.tsx:276",className:"w-4 h-4 ml-1"})]}):p.jsxs(tt,{"data-loc":"client/src/components/OnboardingWizard.tsx:279",className:"bg-yellow-400 hover:bg-yellow-300 text-[#0f172a] font-bold",onClick:m,disabled:x,children:[x?p.jsx(Xt,{"data-loc":"client/src/components/OnboardingWizard.tsx:284",className:"w-4 h-4 mr-2 animate-spin"}):p.jsx(Zh,{"data-loc":"client/src/components/OnboardingWizard.tsx:284",className:"w-4 h-4 mr-2"}),"Los geht's!"]})]})]})})}function Xne(){const{user:e,loading:t}=Wi(),[,n]=Ws(),[r,a]=R.useState(!1);return R.useEffect(()=>{!t&&!e&&n("/login")},[e,t,n]),R.useEffect(()=>{e&&!e.onboardingDone&&a(!0)},[e]),t?p.jsx("div",{"data-loc":"client/src/App.tsx:43",className:"min-h-screen bg-[#0f172a] flex items-center justify-center",children:p.jsx(Xt,{"data-loc":"client/src/App.tsx:44",className:"w-8 h-8 text-yellow-400 animate-spin"})}):e?p.jsxs(p.Fragment,{children:[r&&p.jsx(Kne,{"data-loc":"client/src/App.tsx:54",onComplete:()=>a(!1)}),p.jsx(Yne,{"data-loc":"client/src/App.tsx:56",children:p.jsxs(UT,{"data-loc":"client/src/App.tsx:57",children:[p.jsx(Sr,{"data-loc":"client/src/App.tsx:58",path:"/app/generator",component:dH}),p.jsx(Sr,{"data-loc":"client/src/App.tsx:59",path:"/app/bibliothek",component:fH}),p.jsx(Sr,{"data-loc":"client/src/App.tsx:60",path:"/app/assistent",component:Bne}),p.jsx(Sr,{"data-loc":"client/src/App.tsx:61",path:"/app/profil",component:Une}),p.jsx(Sr,{"data-loc":"client/src/App.tsx:62",path:"/app/hilfe",component:qne}),p.jsx(Sr,{"data-loc":"client/src/App.tsx:63",path:"/app/admin",component:Fne}),p.jsx(Sr,{"data-loc":"client/src/App.tsx:64",path:"/app",children:()=>(n("/app/generator"),null)}),p.jsx(Sr,{"data-loc":"client/src/App.tsx:67",component:FT})]})})]}):null}function Zne(){const{user:e,loading:t}=Wi(),[,n]=Ws();return R.useEffect(()=>{t||n(e?"/app/generator":"/login")},[e,t,n]),p.jsx("div",{"data-loc":"client/src/App.tsx:89",className:"min-h-screen bg-[#0f172a] flex items-center justify-center",children:p.jsx(Xt,{"data-loc":"client/src/App.tsx:90",className:"w-8 h-8 text-yellow-400 animate-spin"})})}function Jne({component:e}){const{user:t,loading:n}=Wi(),[,r]=Ws();return R.useEffect(()=>{!n&&!t&&r("/login")},[t,n,r]),n?p.jsx("div",{"data-loc":"client/src/App.tsx:105",className:"min-h-screen bg-[#0f172a] flex items-center justify-center",children:p.jsx(Xt,{"data-loc":"client/src/App.tsx:106",className:"w-8 h-8 text-yellow-400 animate-spin"})}):t?p.jsx(e,{"data-loc":"client/src/App.tsx:110"}):null}function ere(){return p.jsxs(UT,{"data-loc":"client/src/App.tsx:115",children:[p.jsx(Sr,{"data-loc":"client/src/App.tsx:116",path:"/",component:Zne}),p.jsx(Sr,{"data-loc":"client/src/App.tsx:117",path:"/landing",component:Gne}),p.jsx(Sr,{"data-loc":"client/src/App.tsx:118",path:"/login",component:Bj}),p.jsx(Sr,{"data-loc":"client/src/App.tsx:119",path:"/analytics",children:()=>p.jsx(Jne,{"data-loc":"client/src/App.tsx:119",component:Mj})}),p.jsx(Sr,{"data-loc":"client/src/App.tsx:120",path:"/app/:rest*",component:Xne}),p.jsx(Sr,{"data-loc":"client/src/App.tsx:121",component:FT})]})}function tre(){return R.useEffect(()=>{document.title="Hook-Training für Mitarbeiter | DARVISmedia"},[]),p.jsx(Dj,{"data-loc":"client/src/App.tsx:133",children:p.jsx(Ij,{"data-loc":"client/src/App.tsx:134",defaultTheme:"dark",children:p.jsxs(qP,{"data-loc":"client/src/App.tsx:135",children:[p.jsx(KL,{"data-loc":"client/src/App.tsx:136"}),p.jsx(ere,{"data-loc":"client/src/App.tsx:137"})]})})})}const Cf=new WO,oN=e=>{!(e instanceof eu)||typeof window>"u"||!(e.message===DD)||(window.location.href=qT())};Cf.getQueryCache().subscribe(e=>{if(e.type==="updated"&&e.action.type==="error"){const t=e.query.state.error;oN(t),console.error("[API Query Error]",t)}});Cf.getMutationCache().subscribe(e=>{if(e.type==="updated"&&e.action.type==="error"){const t=e.mutation.state.error;oN(t),console.error("[API Mutation Error]",t)}});const nre=ct.createClient({links:[sD({url:"/api/trpc",transformer:Qs,fetch(e,t){return globalThis.fetch(e,{...t??{},credentials:"include"})}})]});HD.createRoot(document.getElementById("root")).render(p.jsx(ct.Provider,{"data-loc":"client/src/main.tsx:56",client:nre,queryClient:Cf,children:p.jsx(XO,{"data-loc":"client/src/main.tsx:57",client:Cf,children:p.jsx(tre,{"data-loc":"client/src/main.tsx:58"})})}));export{z as _,cre as a,Of as g,Pt 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.